{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/components/Minuteur.vue?a55d","webpack:///./src/store/applicatif/index.ts","webpack:///./src/models/Pilotage.ts","webpack:///./src/models/VariableEnvironnementDefinition.ts","webpack:///./src/models/VariableEnvironnementValue.ts","webpack:///./src/store/models.ts","webpack:///./src/store/cds/mutations.ts","webpack:///./src/store/utilisateur/index.ts","webpack:///./src/store/cds/actions.ts","webpack:///./src/store/cds/index.ts","webpack:///./src/store/minuteur/index.ts","webpack:///./src/store/index.ts","webpack:///./src/App.vue?615a","webpack:///./src/store/trainProgression/index.ts","webpack:///./src/plugins/delai.ts","webpack:///./src/models/Casier.ts","webpack:///D:/a/1/s/node_modules/@ulaval/modul-components/node_modules/moment/locale sync en-ca|fr-ca","webpack:///./src/models/Niveau.ts","webpack:///./src/models/TypeClientele.ts","webpack:///./src/router/index.ts","webpack:///./src/components/Minuteur.vue?de05","webpack:///./src/components/Minuteur.vue?a50f","webpack:///./src/components/Minuteur.vue?5b31","webpack:///./src/components/Minuteur.vue","webpack:///./src/models/Pavillon.ts","webpack:///./src/components/EnteteULaval.vue?20d5","webpack:///../shared/src/logger/appInsightsTransport.ts","webpack:///./src/App.vue?e303","webpack:///./src/components/EnteteULaval.vue?babe","webpack:///./src/components/EnteteULaval.vue?13d5","webpack:///./src/components/EnteteULaval.vue","webpack:///./src/components/EnteteULaval.vue?5fca","webpack:///./src/components/PiedPageULaval.vue?1b70","webpack:///./src/components/PiedPageULaval.vue?8763","webpack:///./src/components/PiedPageULaval.vue","webpack:///./src/components/PiedPageULaval.vue?6b71","webpack:///./src/components/MessageErreur.vue?e379","webpack:///./src/components/MessageErreur.vue?47d5","webpack:///./src/components/MessageErreur.vue","webpack:///./src/components/MessageErreur.vue?50dd","webpack:///./src/App.vue?fbac","webpack:///./src/App.vue?a323","webpack:///./src/App.vue","webpack:///./src/plugins/icons.ts","webpack:///./src/plugins/langage.ts","webpack:///./src/plugins/logger.ts","webpack:///./src/main.ts","webpack:///./src/models/Location.ts","webpack:///./src/components/PiedPageULaval.vue?28db","webpack:///./src/models/Periode.ts","webpack:///./src/models/ModeleDeBase.ts","webpack:///D:/a/1/s/node_modules/moment/locale sync en-ca|fr-ca"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","exports","module","l","e","promises","Promise","resolve","reject","href","fullhref","p","existingLinkTags","document","getElementsByTagName","tag","dataHref","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","code","parentNode","removeChild","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","jsonpScriptSrc","error","clearTimeout","chunk","errorType","realSrc","message","name","setTimeout","head","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice","state","variableEnvCleCourrielContact","variableEnvCleOptionCasierDisponible","variableEnvCleDelaiVerrou","pilotageCleConditionsUtilisation","pilotageCleModalitesLocation","pilotageCleSiteSIAide","messageErreurParDefaut","messageErreur","mutations","modifierMessageErreur","ModeleDeBase","entity","super","si_pilotageid","this","nomParametre","si_parametresdepilotage","valeurTexteCourt","si_valeur_texte_court","valeurTexteLong","si_valeur_texte_long","id","environmentvariabledefinitionid","nomVariableEnv","schemaname","environmentvariablevalueid","definitionId","_environmentvariabledefinitionid_value","valeur","recupererLocationsSucces","payload","locations","recupererLocationsEchec","recupererTypesClienteleSucces","typesClientele","recupererTypesClienteleEchec","recupererPeriodesSucces","periodes","recupererPeriodesEchec","recupererPavillonsAvecCasiersDisposSucces","pavillons","recupererPavillonsAvecCasiersDisposEchec","recupererNiveauxAvecCasiersDisposSucces","niveaux","recupererNiveauxAvecCasiersDisposEchec","recupererCasiersDisposEtBonEtatParNiveauSucces","casiers","recupererCasiersDisposEtBonEtatParNiveauEchec","recupererValeursVariablesEnvSucces","valeursVariablesEnv","recupererValeursVariablesEnvEchec","recupererDefinitionsVariablesEnvSucces","definitionsVariablesEnv","recupererDefinitionsVariablesEnvEchec","recupererParametresPilotageSucces","parametresPilotage","recupererParametresPilotageEchec","effacerStateCDS","assign","initialiserDebutCreationLocation","dateDebutCreationLocation","Date","recupererLocationsUtilisateurSucces","recupererLocationsUtilisateurEchec","creerNouvelleLocationSucces","nouvelleLocation","sauvegarderTypeClientele","typeClientele","periode","pavillon","niveau","casier","acceptationModalites","sauvegarderPeriode","sauvegarderPavillon","sauvegarderNiveau","sauvegarderCasier","effacerStateUtilisateur","montant","courriel","isDelaiLocationDepasse","sauvegarderMontant","sauvegarderCourriel","sauvegarderAcceptationModalites","acceptation","interrogerCDS","vm","chemin","$msal","query","headers","Accept","method","responseType","scopes","scopeProxy","mettreAJourEntiteCDS","corps","actions","context","idUtilisateur","map","location","Location","commit","TypeClientele","typePeriodeId","Periode","rootState","applicatif","Pavillon","pavillonId","Niveau","niveauId","Casier","idCasier","variableEnvironnementDefinition","variableEnvironnementValue","pilotage","delaiVerrou","dateFinVerrou","utc","add","format","si_verrouutilisateur","si_datefinverrou","resp","urlProxy","Prefer","creerEntiteCDS","demarrerMinuteurSucces","identifiantMinuteur","verrouDateFin","now","arreterMinuteurSucces","clearInterval","tempsRestantEnSeconde","diminuerTempsRestant","tempsAlloueEchu","effacerStateMinuteur","setInterval","tempsRestant","Math","ceil","use","effacerState","cds","minuteur","trainProgression","effacerStateTrainProgression","utilisateur","store","Store","plugins","strict","debug","Etapes","stateDeBase","precedentActive","suivantActive","suivantCache","etapeCourante","toString","surAnnuler","choisirEtape","etape","activerPrecedent","desactiverPrecedent","activerSuivant","desactiverSuivant","cacherSuivant","afficherSuivant","lancerAnnulation","cacherAnnulation","index","etapeDepart","debuterLocation","DelaiLocationPlugin","dateDebut","getTime","addMinutes","delaiEnMinutes","date","minutes","setTime","si_casiersiid","numero","si_nocasier","si_ImmeubleSI","si_NiveauSI","webpackContext","req","webpackContextResolve","keys","si_niveausiid","nombreCasiersDispos","si_CasierSI_si_NiveauSI_si_NiveauSI","nomNiveau","si_niveau","si_Typedeclientele","nomPlan","si_nomplan","si_message","si_typedeclienteleid","ordretri","si_ordretri","taxable","si_taxable","_si_typedeperiodedelocation_value","nomTypeClientele","si_clientele","enFermetureComplete","VUE_APP_FERMETURE_COMPLETE","routes","path","component","meta","auth","children","redirect","beforeEnter","_to","_from","next","router","beforeEach","to","route","matched","app","isAuthenticated","parent","indexOf","filter","temps","_vm","_h","$createElement","_c","_self","staticClass","attrs","_v","_s","_f","tempsRestantEnSecondes","_e","staticRenderFns","si_immeublesiid","si_CasierSI_si_ImmeubleSI_si_ImmeubleSI","nomPavillon","si_nomimmeuble","sigle","si_sigleimmeuble","LogLevel","winstonLogLevelMapping","SeverityLevel","warning","Warning","info","Information","Verbose","options","appInsights","_client","config","instrumentationKey","loadAppInsights","callback","setImmediate","emit","trackTrace","severityLevel","level","properties","flush","dispatch","casierUtilisateur","retirerVerrouUtilisateur","logout","user","components","MLink","Minuteur","_m","nomUtilisateur","on","$event","deconnecter","afficherPiedPageUlaval","afficherPopUpConditions","recupererDefinitionsVariablesEnv","recupererValeursVariablesEnv","recupererParametresPilotage","_","definitionsVariable","find","definition","valeursVariable","variableEnv","recupererDonneePilotage","cle","retournerTexteCourt","donnee","parametre","preventDefault","MModal","MRichText","urlAide","afficherConditionsUtilisation","slot","numeroVersion","conditionsUtilisation","MToast","afficherMessageErreur","initialiserMessageErreur","applicationPrete","messageAuxUtilisateurs","hints","url","agent","navigator","userAgent","test","MErrorResourceUnavailable","EnteteULaval","PiedPageULaval","MessageErreur","v","$svg","addExternalSprites","langue","default","Vue","$logger","appInsightsConfig","onReady","baseName","startTrackPage","afterEach","protocol","host","fullPath","stopTrackPage","createLogger","transports","productionTip","silent","hideAll","i18PluginOptions","curLang","propagateVueParserErrors","currentLang","localStorage","getItem","clientId","redirectUri","postLogoutRedirectUri","logger","errorHandler","log","stack","render","h","$mount","si_locationcasierid","TPSBase","si_tps_base","TVQBase","si_tvq_base","totalBase","si_total_base","tarifBase","si_tariflocation_base","TPS","si_tps","TVQ","si_tvq","total","si_total","tarif","si_tariflocation","si_acceptationconditionslocation","adresseCourriel","si_adressedecourriel","prenom","si_prenomdulocateur","nom","si_nomdulocateur","si_CasierSI","si_Periodedelocation","serialiser","NouvelleLocation","codePostal","jeton","identifiant","si_identifiant_locateur","casierId","periodeId","typeClienteleId","si_codepostal","si_jeton","si_periodedelocationid","nomPeriode","si_nomdelaperiodedelocation","si_datedebutlocation","dateFin","si_datefinlocation","tauxTPS","si_tauxtps","tauxTVQ","si_tauxtvq","tarifLocation"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAKlC,IAFGe,GAAqBA,EAAoBhB,GAEtCO,EAASC,QACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,KACIC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,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AK,Q","file":"js/app.5dc289f3.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t\"app\": 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"js/\" + ({\"accueil\":\"accueil\",\"casier\":\"casier\",\"clientele\":\"clientele\",\"connexion\":\"connexion\",\"emplacement\":\"emplacement\",\"paiement\":\"paiement\",\"periode\":\"periode\",\"revision\":\"revision\",\"test\":\"test\",\"train\":\"train\"}[chunkId]||chunkId) + \".\" + {\"accueil\":\"2d06d11e\",\"casier\":\"5495eaa9\",\"clientele\":\"c28f77d0\",\"connexion\":\"8a767d48\",\"emplacement\":\"631e8270\",\"paiement\":\"7b0a887d\",\"periode\":\"fd77b4d0\",\"revision\":\"cfc8e2dc\",\"test\":\"f722567e\",\"train\":\"ca7ab6ee\"}[chunkId] + \".js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"accueil\":1,\"casier\":1,\"clientele\":1,\"connexion\":1,\"emplacement\":1,\"paiement\":1,\"periode\":1,\"revision\":1,\"test\":1,\"train\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"css/\" + ({\"accueil\":\"accueil\",\"casier\":\"casier\",\"clientele\":\"clientele\",\"connexion\":\"connexion\",\"emplacement\":\"emplacement\",\"paiement\":\"paiement\",\"periode\":\"periode\",\"revision\":\"revision\",\"test\":\"test\",\"train\":\"train\"}[chunkId]||chunkId) + \".\" + {\"accueil\":\"5d64be7f\",\"casier\":\"145becdd\",\"clientele\":\"abbb32ed\",\"connexion\":\"140b9ace\",\"emplacement\":\"f2a47221\",\"paiement\":\"791c2595\",\"periode\":\"abbb32ed\",\"revision\":\"731c69b0\",\"test\":\"04aba7cf\",\"train\":\"9db34e10\"}[chunkId] + \".css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Minuteur.vue?vue&type=style&index=0&id=47f6217e&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Minuteur.vue?vue&type=style&index=0&id=47f6217e&scoped=true&lang=scss&\"","import { MutationTree } from \"vuex\";\nimport { IApplicatifState } from \"../models\";\n\nexport const state: IApplicatifState = {\n variableEnvCleCourrielContact: \"si_Adressedecourriel\",\n variableEnvCleOptionCasierDisponible: \"157420000\",\n variableEnvCleDelaiVerrou: \"si_DelaiVerrou\",\n pilotageCleConditionsUtilisation: \"CONDITIONS_UTILISATION_UL\",\n pilotageCleModalitesLocation: \"MODALITES_LOCATION\",\n pilotageCleSiteSIAide: \"SITE_SI_AIDE\",\n messageErreurParDefaut:\n \"Nous sommes désolés, une erreur est survenue qui empêche l'application de fonctionner.\" +\n \" Veuillez revenir un peu plus tard ou contacter un responsable à l'aide des liens du pied de page.\",\n messageErreur: \"\",\n};\n\ninterface IMutations {\n modifierMessageErreur: (\n state: IApplicatifState,\n messageErreur: string\n ) => void;\n}\n\nexport const mutations: IMutations & MutationTree = {\n modifierMessageErreur: (state: IApplicatifState, messageErreur: string) => {\n state.messageErreur = messageErreur;\n },\n};\n\nexport default {\n state,\n mutations,\n};\n","import { ModeleDeBase } from \"./ModeleDeBase\";\n\nexport interface IPilotageCDS {\n si_parametresdepilotage: string;\n si_valeur_texte_court: string;\n si_valeur_texte_long: string;\n si_pilotageid: string;\n}\n\nexport class Pilotage extends ModeleDeBase {\n nomParametre: string;\n valeurTexteCourt: string;\n valeurTexteLong: string;\n\n constructor(entity: IPilotageCDS) {\n super(entity.si_pilotageid);\n\n this.nomParametre = entity.si_parametresdepilotage;\n this.valeurTexteCourt = entity.si_valeur_texte_court;\n this.valeurTexteLong = entity.si_valeur_texte_long;\n }\n\n serialiser(): IPilotageCDS {\n return {\n si_pilotageid: this.id,\n si_parametresdepilotage: this.nomParametre,\n si_valeur_texte_court: this.valeurTexteCourt,\n si_valeur_texte_long: this.valeurTexteLong,\n };\n }\n}\n","import { ModeleDeBase } from \"./ModeleDeBase\";\n\nexport interface IVariableEnvironnementDefinitionCDS {\n environmentvariabledefinitionid: string;\n schemaname: string;\n}\n\nexport class VariableEnvironnementDefinition extends ModeleDeBase {\n nomVariableEnv: string;\n\n constructor(entity: IVariableEnvironnementDefinitionCDS) {\n super(entity.environmentvariabledefinitionid);\n\n this.nomVariableEnv = entity.schemaname;\n }\n\n serialiser(): IVariableEnvironnementDefinitionCDS {\n return {\n environmentvariabledefinitionid: this.id,\n schemaname: this.nomVariableEnv,\n };\n }\n}\n","import { ModeleDeBase } from \"./ModeleDeBase\";\n\nexport interface IVariableEnvironnementValueCDS {\n environmentvariablevalueid: string;\n _environmentvariabledefinitionid_value: string;\n value: string;\n}\n\nexport class VariableEnvironnementValue extends ModeleDeBase {\n definitionId: string; // fk\n valeur: string;\n\n constructor(entity: IVariableEnvironnementValueCDS) {\n super(entity.environmentvariablevalueid);\n\n // TODO: Utiliser le nom \"final\" du champ lorsqu'il sera connu\n this.definitionId = entity._environmentvariabledefinitionid_value;\n this.valeur = entity.value;\n }\n\n serialiser(): IVariableEnvironnementValueCDS {\n return {\n environmentvariablevalueid: this.id,\n _environmentvariabledefinitionid_value: this.definitionId,\n value: this.valeur,\n };\n }\n}\n","import { Casier } from \"../models/Casier\";\nimport { Location } from \"../models/Location\";\nimport { Niveau } from \"../models/Niveau\";\nimport { Pavillon } from \"../models/Pavillon\";\nimport { Periode } from \"../models/Periode\";\nimport { Pilotage } from \"../models/Pilotage\";\nimport { TypeClientele } from \"../models/TypeClientele\";\nimport { VariableEnvironnementDefinition } from \"../models/VariableEnvironnementDefinition\";\nimport { VariableEnvironnementValue } from \"../models/VariableEnvironnementValue\";\nimport { NomEtapes } from \"./trainProgression\";\n\nexport interface IUtilisateurState {\n locations: Location[];\n nouvelleLocation: Location | null;\n typeClientele: TypeClientele | null;\n periode: Periode | null;\n pavillon: Pavillon | null;\n niveau: Niveau | null;\n casier: Casier | null;\n montant: number | null;\n courriel: string | null;\n acceptationModalites: boolean | null;\n dateDebutCreationLocation: Date | null;\n isDelaiLocationDepasse: boolean | null;\n}\n\nexport interface ITrainProgressionState {\n precedentActive: boolean;\n suivantActive: boolean;\n suivantCache: boolean;\n etapeCourante: NomEtapes;\n surAnnuler: boolean;\n}\n\nexport interface IMinuteurState {\n verrouDateFin: number | null;\n tempsRestantEnSeconde: number | null;\n tempsAlloueEchu: boolean;\n identifiantMinuteur: number | null;\n}\n\nexport interface IApplicatifState {\n variableEnvCleCourrielContact: string;\n variableEnvCleOptionCasierDisponible: string;\n variableEnvCleDelaiVerrou: string;\n pilotageCleConditionsUtilisation: string;\n pilotageCleModalitesLocation: string;\n pilotageCleSiteSIAide: string;\n messageErreurParDefaut: string;\n messageErreur: string;\n}\n\nexport interface ICDSState {\n typesClientele: TypeClientele[];\n periodes: Periode[];\n pavillons: Pavillon[];\n niveaux: Niveau[];\n definitionsVariablesEnv: VariableEnvironnementDefinition[];\n valeursVariablesEnv: VariableEnvironnementValue[];\n parametresPilotage: Pilotage[];\n locations: Location[];\n casiers: Casier[];\n}\n\nexport interface IRacineState {\n utilisateur: IUtilisateurState;\n cds: ICDSState;\n trainProgression: ITrainProgressionState;\n minuteur: IMinuteurState;\n applicatif: IApplicatifState;\n}\n\nexport const stateDeBase = (): ICDSState => {\n return {\n definitionsVariablesEnv: [],\n valeursVariablesEnv: [],\n typesClientele: [],\n periodes: [],\n pavillons: [],\n niveaux: [],\n casiers: [],\n parametresPilotage: [],\n locations: [],\n };\n};\n","import { MutationTree } from \"vuex\";\nimport { Casier } from \"../../models/Casier\";\nimport { Location } from \"../../models/Location\";\nimport { Niveau } from \"../../models/Niveau\";\nimport { Pavillon } from \"../../models/Pavillon\";\nimport { Periode } from \"../../models/Periode\";\nimport { Pilotage } from \"../../models/Pilotage\";\nimport { TypeClientele } from \"../../models/TypeClientele\";\nimport { VariableEnvironnementDefinition } from \"../../models/VariableEnvironnementDefinition\";\nimport { VariableEnvironnementValue } from \"../../models/VariableEnvironnementValue\";\nimport { ICDSState, stateDeBase } from \"../models\";\n\ninterface IMutations {\n recupererLocationsSucces: (state: ICDSState, payload: Location[]) => void;\n recupererLocationsEchec: (state: ICDSState) => void;\n\n recupererTypesClienteleSucces: (\n state: ICDSState,\n payload: TypeClientele[]\n ) => void;\n recupererTypesClienteleEchec: (state: ICDSState) => void;\n\n recupererPeriodesSucces: (state: ICDSState, payload: Periode[]) => void;\n recupererPeriodesEchec: (state: ICDSState) => void;\n\n recupererPavillonsAvecCasiersDisposSucces: (\n state: ICDSState,\n payload: Pavillon[]\n ) => void;\n recupererPavillonsAvecCasiersDisposEchec: (state: ICDSState) => void;\n\n recupererNiveauxAvecCasiersDisposSucces: (\n state: ICDSState,\n payload: Niveau[]\n ) => void;\n recupererNiveauxAvecCasiersDisposEchec: (state: ICDSState) => void;\n\n recupererCasiersDisposEtBonEtatParNiveauSucces: (\n state: ICDSState,\n payload: Casier[]\n ) => void;\n recupererCasiersDisposEtBonEtatParNiveauEchec: (state: ICDSState) => void;\n\n recupererDefinitionsVariablesEnvSucces: (\n state: ICDSState,\n payload: VariableEnvironnementDefinition[]\n ) => void;\n recupererDefinitionsVariablesEnvEchec: (state: ICDSState) => void;\n\n recupererValeursVariablesEnvSucces: (\n state: ICDSState,\n payload: VariableEnvironnementValue[]\n ) => void;\n recupererValeursVariablesEnvEchec: (state: ICDSState) => void;\n\n recupererParametresPilotageSucces: (\n state: ICDSState,\n payload: Pilotage[]\n ) => void;\n recupererParametresPilotageEchec: (state: ICDSState) => void;\n\n effacerStateCDS: (state: ICDSState) => void;\n}\n\nexport const mutations: IMutations & MutationTree = {\n recupererLocationsSucces: (state: ICDSState, payload: Location[]) => {\n state.locations = payload;\n },\n recupererLocationsEchec: (state: ICDSState) => {\n state.locations = [];\n },\n\n recupererTypesClienteleSucces: (\n state: ICDSState,\n payload: TypeClientele[]\n ) => {\n state.typesClientele = payload;\n },\n recupererTypesClienteleEchec: (state: ICDSState) => {\n state.typesClientele = [];\n },\n\n recupererPeriodesSucces: (state: ICDSState, payload: Periode[]) => {\n state.periodes = payload;\n },\n recupererPeriodesEchec: (state: ICDSState) => {\n state.periodes = [];\n },\n\n recupererPavillonsAvecCasiersDisposSucces: (\n state: ICDSState,\n payload: Pavillon[]\n ) => {\n state.pavillons = payload;\n },\n recupererPavillonsAvecCasiersDisposEchec: (state: ICDSState) => {\n state.pavillons = [];\n },\n\n recupererNiveauxAvecCasiersDisposSucces: (\n state: ICDSState,\n payload: Niveau[]\n ) => {\n state.niveaux = payload;\n },\n recupererNiveauxAvecCasiersDisposEchec: (state: ICDSState) => {\n state.niveaux = [];\n },\n\n recupererCasiersDisposEtBonEtatParNiveauSucces: (\n state: ICDSState,\n payload: Casier[]\n ) => {\n state.casiers = payload;\n },\n recupererCasiersDisposEtBonEtatParNiveauEchec: (state: ICDSState) => {\n state.casiers = [];\n },\n\n recupererValeursVariablesEnvSucces: (\n state: ICDSState,\n payload: VariableEnvironnementValue[]\n ) => {\n state.valeursVariablesEnv = payload;\n },\n recupererValeursVariablesEnvEchec: (state: ICDSState) => {\n state.valeursVariablesEnv = [];\n },\n\n recupererDefinitionsVariablesEnvSucces: (\n state: ICDSState,\n payload: VariableEnvironnementDefinition[]\n ) => {\n state.definitionsVariablesEnv = payload;\n },\n recupererDefinitionsVariablesEnvEchec: (state: ICDSState) => {\n state.definitionsVariablesEnv = [];\n },\n\n recupererParametresPilotageSucces: (\n state: ICDSState,\n payload: Pilotage[]\n ) => {\n state.parametresPilotage = payload;\n },\n recupererParametresPilotageEchec: (state: ICDSState) => {\n state.parametresPilotage = [];\n },\n\n effacerStateCDS: (state: ICDSState) => {\n Object.assign(state, stateDeBase());\n },\n};\n","import { MutationTree } from \"vuex\";\nimport { Casier } from \"../../models/Casier\";\nimport { Location } from \"../../models/Location\";\nimport { Niveau } from \"../../models/Niveau\";\nimport { Pavillon } from \"../../models/Pavillon\";\nimport { Periode } from \"../../models/Periode\";\nimport { TypeClientele } from \"../../models/TypeClientele\";\nimport { IUtilisateurState } from \"../models\";\n\nexport const stateDeBase = (): IUtilisateurState => {\n return {\n locations: [],\n nouvelleLocation: null,\n typeClientele: null,\n periode: null,\n niveau: null,\n pavillon: null,\n casier: null,\n montant: null,\n courriel: null,\n acceptationModalites: null,\n dateDebutCreationLocation: null,\n isDelaiLocationDepasse: null,\n };\n};\n\nexport const state: IUtilisateurState = stateDeBase();\n\ninterface IMutations {\n initialiserDebutCreationLocation: (state: IUtilisateurState) => void;\n recupererLocationsUtilisateurSucces: (\n state: IUtilisateurState,\n payload: Location[]\n ) => void;\n recupererLocationsUtilisateurEchec: (state: IUtilisateurState) => void;\n creerNouvelleLocationSucces: (\n state: IUtilisateurState,\n payload: Location\n ) => void;\n sauvegarderTypeClientele: (\n state: IUtilisateurState,\n typeClientele: TypeClientele\n ) => void;\n sauvegarderPeriode: (state: IUtilisateurState, periode: Periode) => void;\n sauvegarderPavillon: (state: IUtilisateurState, pavillon: Pavillon) => void;\n sauvegarderNiveau: (state: IUtilisateurState, niveau: Niveau) => void;\n sauvegarderCasier: (state: IUtilisateurState, casier: Casier) => void;\n effacerStateUtilisateur: (state: IUtilisateurState) => void;\n sauvegarderMontant: (state: IUtilisateurState, montant: number) => void;\n sauvegarderCourriel: (state: IUtilisateurState, courriel: string) => void;\n sauvegarderAcceptationModalites: (\n state: IUtilisateurState,\n acceptation: boolean\n ) => void;\n}\n\nexport const mutations: IMutations & MutationTree = {\n initialiserDebutCreationLocation: (state: IUtilisateurState) => {\n state.dateDebutCreationLocation = new Date();\n },\n recupererLocationsUtilisateurSucces: (\n state: IUtilisateurState,\n payload: Location[]\n ) => {\n state.locations = payload;\n },\n recupererLocationsUtilisateurEchec: (state: IUtilisateurState) => {\n state.locations = [];\n },\n creerNouvelleLocationSucces: (\n state: IUtilisateurState,\n payload: Location\n ) => {\n state.nouvelleLocation = payload;\n },\n sauvegarderTypeClientele: (\n state: IUtilisateurState,\n typeClientele: TypeClientele\n ) => {\n state.typeClientele = typeClientele;\n state.periode = null;\n state.pavillon = null;\n state.niveau = null;\n state.casier = null;\n state.acceptationModalites = null;\n },\n sauvegarderPeriode: (state: IUtilisateurState, periode: Periode) => {\n state.periode = periode;\n state.pavillon = null;\n state.niveau = null;\n state.casier = null;\n state.acceptationModalites = null;\n },\n sauvegarderPavillon: (state: IUtilisateurState, pavillon: Pavillon) => {\n state.pavillon = pavillon;\n state.niveau = null;\n state.casier = null;\n state.acceptationModalites = null;\n },\n sauvegarderNiveau: (state: IUtilisateurState, niveau: Niveau) => {\n state.niveau = niveau;\n state.casier = null;\n state.acceptationModalites = null;\n },\n sauvegarderCasier: (state: IUtilisateurState, casier: Casier) => {\n state.casier = casier;\n state.acceptationModalites = null;\n },\n effacerStateUtilisateur: (state: IUtilisateurState) => {\n Object.assign(state, stateDeBase());\n },\n sauvegarderMontant: (state: IUtilisateurState, montant: number) => {\n state.montant = montant;\n },\n sauvegarderCourriel: (state: IUtilisateurState, courriel: string) => {\n state.courriel = courriel;\n },\n sauvegarderAcceptationModalites: (\n state: IUtilisateurState,\n acceptation: boolean\n ) => {\n state.acceptationModalites = acceptation;\n },\n};\n\nexport default {\n state,\n mutations,\n};\n","import moment from \"moment\";\nimport { ActionContext, ActionTree } from \"vuex\";\nimport { Casier, ICasierCDS } from \"../../models/Casier\";\nimport {\n ILocationCDS,\n INouvelleLocation,\n Location,\n} from \"../../models/Location\";\nimport { INiveauCDS, Niveau } from \"../../models/Niveau\";\nimport { IPavillonCDS, Pavillon } from \"../../models/Pavillon\";\nimport { IPeriodeCDS, Periode } from \"../../models/Periode\";\nimport { IPilotageCDS, Pilotage } from \"../../models/Pilotage\";\nimport { ITypeClienteleCDS, TypeClientele } from \"../../models/TypeClientele\";\nimport {\n IVariableEnvironnementDefinitionCDS,\n VariableEnvironnementDefinition,\n} from \"../../models/VariableEnvironnementDefinition\";\nimport {\n IVariableEnvironnementValueCDS,\n VariableEnvironnementValue,\n} from \"../../models/VariableEnvironnementValue\";\nimport { mutations } from \"../cds/mutations\";\nimport { ICDSState, IRacineState } from \"../models\";\nimport { vm } from \"../types\";\nimport { mutations as mutationsUtilisateur } from \"../utilisateur/index\";\n\nexport interface IActions {\n recupererLocations: (\n context: ActionContext,\n options: {\n vm: vm;\n idUtilisateur: string;\n }\n ) => void;\n recupererTypesClientele: (\n context: ActionContext,\n options: {\n vm: vm;\n }\n ) => void;\n recupererPeriodes: (\n context: ActionContext,\n options: {\n typePeriodeId: string;\n vm: vm;\n }\n ) => void;\n recupererPavillonsAvecCasiersDispos: (\n context: ActionContext,\n options: {\n idUtilisateur: string;\n vm: vm;\n }\n ) => void;\n recupererNiveauxAvecCasiersDispos: (\n context: ActionContext,\n options: {\n pavillonId: string;\n idUtilisateur: string;\n vm: vm;\n }\n ) => void;\n recupererCasiersDisposEtBonEtatParNiveau: (\n context: ActionContext,\n options: {\n niveauId: string;\n idUtilisateur: string;\n vm: vm;\n }\n ) => void;\n recupererDisponibiliteCasier: (\n context: ActionContext,\n options: {\n vm: vm;\n idCasier: string;\n idUtilisateur: string;\n }\n ) => Promise;\n recupererDefinitionsVariablesEnv: (\n context: ActionContext,\n options: {\n vm: vm;\n }\n ) => void;\n recupererValeursVariablesEnv: (\n context: ActionContext,\n options: {\n vm: vm;\n }\n ) => void;\n recupererParametresPilotage: (\n context: ActionContext,\n options: {\n vm: vm;\n }\n ) => void;\n actualiserVerrouUtilisateur: (\n context: ActionContext,\n options: {\n vm: vm;\n idCasier: string;\n idUtilisateur: string;\n delaiVerrou: number;\n }\n ) => void;\n retirerVerrouUtilisateur: (\n context: ActionContext,\n options: {\n vm: vm;\n idCasier: string;\n }\n ) => void;\n creerLocation: (\n context: ActionContext,\n options: { vm: vm; location: INouvelleLocation }\n ) => void;\n}\n\nexport const actions: IActions & ActionTree = {\n async recupererLocations(context, { vm, idUtilisateur }) {\n const resp = await interrogerCDS(\n vm,\n `si_locationcasiers` +\n `?$expand=si_Typedeclientele($select=si_typedeclienteleid),` +\n `si_CasierSI($select=si_casiersiid, si_nocasier, si_ImmeubleSI),` +\n `si_NiveauSI,` +\n `si_ImmeubleSI,` +\n `si_Periodedelocation($select=si_periodedelocationid, si_datedebutlocation, si_datefinlocation)` +\n `&$filter=si_identifiant_locateur eq '${idUtilisateur}'` +\n `&$orderby=createdon desc`\n );\n const locations = resp.data.value.map((location) => new Location(location));\n context.commit(mutations.recupererLocationsSucces.name, locations);\n },\n\n async recupererTypesClientele(context, { vm }) {\n const resp = await interrogerCDS(\n vm,\n \"si_typedeclienteles?$orderby=si_ordretri asc\"\n );\n\n const typesClientele = resp.data.value.map(\n (typeClientele) => new TypeClientele(typeClientele)\n );\n context.commit(\n mutations.recupererTypesClienteleSucces.name,\n typesClientele\n );\n },\n\n async recupererPeriodes(context, { typePeriodeId, vm }) {\n const resp = await interrogerCDS(\n vm,\n `si_periodedelocations` +\n `?$filter=si_periodeactive eq true` +\n (typePeriodeId !== null\n ? ` and si_Typedeperiodedelocation/si_typedeperiodedelocationid eq ${typePeriodeId}`\n : \"\") +\n `&$orderby=si_ordretri asc`\n );\n\n const periodes = resp.data.value.map((periode) => new Periode(periode));\n context.commit(mutations.recupererPeriodesSucces.name, periodes);\n },\n\n async recupererPavillonsAvecCasiersDispos(context, { idUtilisateur, vm }) {\n const resp = await interrogerCDS(\n vm,\n `si_immeublesis` +\n `?$expand=si_CasierSI_si_ImmeubleSI_si_ImmeubleSI($filter=si_disponibiliteducasier eq ${context.rootState.applicatif.variableEnvCleOptionCasierDisponible}` +\n ` and (si_verrouutilisateur eq null or si_verrouutilisateur eq ${idUtilisateur}) ` +\n ` and si_EtatcasierSI/si_locationautorisee eq true)` +\n `&$filter=si_NiveauSI_si_ImmeubleSI_si_ImmeubleSI/any(o:o/si_niveau ne null)` +\n `&$orderby=si_nomimmeuble asc`\n );\n\n const pavillons = resp.data.value.map((pavillon) => new Pavillon(pavillon));\n context.commit(\n mutations.recupererPavillonsAvecCasiersDisposSucces.name,\n pavillons\n );\n },\n async recupererNiveauxAvecCasiersDispos(\n context,\n { pavillonId, idUtilisateur, vm }\n ) {\n const resp = await interrogerCDS(\n vm,\n `si_niveausis` +\n `?$expand=si_Typedeclientele($select=si_typedeclienteleid),` +\n `si_CasierSI_si_NiveauSI_si_NiveauSI($filter=si_disponibiliteducasier eq ${context.rootState.applicatif.variableEnvCleOptionCasierDisponible}` +\n ` and (si_verrouutilisateur eq null or si_verrouutilisateur eq ${idUtilisateur})` +\n ` and si_EtatcasierSI/si_locationautorisee eq true)` +\n `&$select=si_niveau,si_message,si_Typedeclientele,si_nomplan` +\n `&$filter=si_ImmeubleSI/si_immeublesiid eq ${pavillonId}` +\n `&$orderby=si_niveau asc`\n );\n\n const niveaux = resp.data.value.map((niveau) => new Niveau(niveau));\n context.commit(\n mutations.recupererNiveauxAvecCasiersDisposSucces.name,\n niveaux\n );\n },\n\n async recupererCasiersDisposEtBonEtatParNiveau(\n context,\n { niveauId, idUtilisateur, vm }\n ) {\n const resp = await interrogerCDS(\n vm,\n `si_casiersis?$filter=si_NiveauSI/si_niveausiid eq ${niveauId}` +\n ` and si_EtatcasierSI/si_locationautorisee eq true` +\n ` and si_disponibiliteducasier eq ${context.rootState.applicatif.variableEnvCleOptionCasierDisponible}` +\n ` and (si_verrouutilisateur eq null or si_verrouutilisateur eq ${idUtilisateur}) ` +\n `&$expand=si_ImmeubleSI($select=si_immeublesiid, si_nomimmeuble),` +\n ` si_NiveauSI($select=si_niveausiid, si_niveau)` +\n `&$orderby=si_nocasier asc`\n );\n\n const casiers = resp.data.value.map((casier) => new Casier(casier));\n context.commit(\n mutations.recupererCasiersDisposEtBonEtatParNiveauSucces.name,\n casiers\n );\n },\n async recupererDisponibiliteCasier(\n context,\n { vm, idCasier, idUtilisateur }\n ): Promise {\n const resp = await interrogerCDS(\n vm,\n `si_casiersis?$filter=si_casiersiid eq '${idCasier}'` +\n ` and si_EtatcasierSI/si_locationautorisee eq true` +\n ` and si_disponibiliteducasier eq ${context.rootState.applicatif.variableEnvCleOptionCasierDisponible}` +\n ` and (si_verrouutilisateur eq null or si_verrouutilisateur eq ${idUtilisateur})`\n );\n return resp.data.value.length > 0;\n },\n\n async recupererDefinitionsVariablesEnv(context, { vm }) {\n const resp = await interrogerCDS(\n vm,\n \"environmentvariabledefinitions\"\n );\n\n const definitionsVariablesEnv = resp.data.value.map(\n (variableEnvironnementDefinition) =>\n new VariableEnvironnementDefinition(variableEnvironnementDefinition)\n );\n context.commit(\n mutations.recupererDefinitionsVariablesEnvSucces.name,\n definitionsVariablesEnv\n );\n },\n async recupererValeursVariablesEnv(context, { vm }) {\n const resp = await interrogerCDS(\n vm,\n \"environmentvariablevalues\"\n );\n\n const valeursVariablesEnv = resp.data.value.map(\n (variableEnvironnementValue) =>\n new VariableEnvironnementValue(variableEnvironnementValue)\n );\n context.commit(\n mutations.recupererValeursVariablesEnvSucces.name,\n valeursVariablesEnv\n );\n },\n\n async recupererParametresPilotage(context, { vm }) {\n const resp = await interrogerCDS(vm, \"si_pilotages\");\n\n const parametresPilotage = resp.data.value.map(\n (pilotage) => new Pilotage(pilotage)\n );\n context.commit(\n mutations.recupererParametresPilotageSucces.name,\n parametresPilotage\n );\n },\n\n async actualiserVerrouUtilisateur(\n context,\n { vm, idCasier, idUtilisateur, delaiVerrou }\n ) {\n const dateFinVerrou: string = moment\n .utc()\n .add(delaiVerrou, \"minutes\")\n .format(\"YYYY-MM-DD HH:mm:ss\");\n await mettreAJourEntiteCDS(vm, `si_casiersis(${idCasier})`, {\n si_verrouutilisateur: idUtilisateur,\n si_datefinverrou: dateFinVerrou,\n });\n },\n\n async retirerVerrouUtilisateur(context, { vm, idCasier }) {\n await mettreAJourEntiteCDS(vm, `si_casiersis(${idCasier})`, {\n si_verrouutilisateur: null,\n si_datefinverrou: null,\n });\n },\n\n async creerLocation(context, { vm, location }) {\n const resp = await creerEntiteCDS(\n vm,\n `si_locationcasiers` +\n `?$expand=si_Typedeclientele,` +\n `si_CasierSI($select=si_nocasier),` +\n `si_NiveauSI,` +\n `si_ImmeubleSI,` +\n `si_Periodedelocation($select=si_nomdelaperiodedelocation)`,\n location\n );\n\n context.commit(\n mutationsUtilisateur.creerNouvelleLocationSucces.name,\n new Location(resp.data)\n );\n },\n};\n\nfunction interrogerCDS(vm: vm, chemin: string) {\n const scopeProxy = process.env[\"VUE_APP_PROXY_BASE_SCOPE\"] || \"\";\n const urlProxy = process.env[\"VUE_APP_PROXY_BASE_URL\"] || \"\";\n\n return vm.$msal.query<{\n value: Array;\n }>(\n `${urlProxy}/api/data/v9.1/${chemin}`,\n {\n headers: {\n Accept: \"application/json\",\n \"Content-Type\": \"application/json; charset=utf-8\",\n \"OData-MaxVersion\": \"4.0\",\n \"OData-Version\": \"4.0\",\n },\n data: {}, // Permet de conserver l'en-tête \"Content-Type\" (bug contenu dans la lib axios - https://github.com/axios/axios)\n method: \"GET\",\n responseType: \"json\",\n },\n {\n // Query tentera de récupérer un token avec les accès requis pour envoyer des requêtes vers le CDS\n scopes: [`${scopeProxy}/Access`],\n }\n );\n}\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction mettreAJourEntiteCDS(vm: vm, chemin: string, corps: any) {\n const scopeProxy = process.env[\"VUE_APP_PROXY_BASE_SCOPE\"] || \"\";\n const urlProxy = process.env[\"VUE_APP_PROXY_BASE_URL\"] || \"\";\n\n return vm.$msal.query<{\n value: Array;\n }>(\n `${urlProxy}/api/data/v9.1/${chemin}`,\n {\n headers: {\n Accept: \"application/json\",\n \"Content-Type\": \"application/json; charset=utf-8\",\n \"OData-MaxVersion\": \"4.0\",\n \"OData-Version\": \"4.0\",\n },\n data: corps,\n method: \"PATCH\",\n responseType: \"json\",\n },\n {\n // Query tentera de récupérer un token avec les accès requis pour envoyer des requêtes vers le CDS\n scopes: [`${scopeProxy}/Access`],\n }\n );\n}\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction creerEntiteCDS(vm: vm, chemin: string, corps: any) {\n const scopeProxy = process.env[\"VUE_APP_PROXY_BASE_SCOPE\"] || \"\";\n const urlProxy = process.env[\"VUE_APP_PROXY_BASE_URL\"] || \"\";\n\n return vm.$msal.query(\n `${urlProxy}/api/data/v9.1/${chemin}`,\n {\n headers: {\n Accept: \"application/json\",\n \"Content-Type\": \"application/json; charset=utf-8\",\n \"OData-MaxVersion\": \"4.0\",\n \"OData-Version\": \"4.0\",\n mode: \"cors\",\n Prefer: \"return=representation\",\n },\n data: corps,\n method: \"POST\",\n responseType: \"json\",\n },\n {\n // Query tentera de récupérer un token avec les accès requis pour envoyer des requêtes vers le CDS\n scopes: [`${scopeProxy}/Access`],\n }\n );\n}\n","import { actions } from \"../cds/actions\";\nimport { mutations } from \"../cds/mutations\";\nimport { ICDSState, stateDeBase } from \"../models\";\n\nexport const state: ICDSState = stateDeBase();\n\nexport default {\n state,\n actions,\n mutations,\n};\n","import { ActionContext, ActionTree, MutationTree } from \"vuex\";\nimport { IMinuteurState, IRacineState } from \"../models\";\n\nexport const stateDeBase = (): IMinuteurState => {\n return {\n verrouDateFin: null,\n tempsRestantEnSeconde: null,\n tempsAlloueEchu: false,\n identifiantMinuteur: null,\n };\n};\n\nexport const state: IMinuteurState = stateDeBase();\n\ninterface demarrageMinuteur {\n identifiantMinuteur: number;\n delaiVerrou: number;\n}\n\ninterface IMutations {\n demarrerMinuteurSucces: (\n state: IMinuteurState,\n corps: demarrageMinuteur\n ) => void;\n arreterMinuteurSucces: (state: IMinuteurState) => void;\n diminuerTempsRestant: (state: IMinuteurState, secondes: number) => void;\n tempsAlloueEchu: (state: IMinuteurState, tempsAlloueEchu: boolean) => void;\n effacerStateMinuteur: (state: IMinuteurState) => void;\n}\n\nexport const mutations: IMutations & MutationTree = {\n demarrerMinuteurSucces: (state: IMinuteurState, corps: demarrageMinuteur) => {\n state.identifiantMinuteur = corps.identifiantMinuteur;\n state.verrouDateFin = Date.now() + corps.delaiVerrou * 60 * 1000; // X minutes\n },\n arreterMinuteurSucces: (state: IMinuteurState) => {\n if (state.identifiantMinuteur !== null) {\n clearInterval(state.identifiantMinuteur);\n }\n\n state.identifiantMinuteur = null;\n state.verrouDateFin = null;\n state.tempsRestantEnSeconde = null;\n },\n diminuerTempsRestant: (\n state: IMinuteurState,\n tempsRestantEnSeconde: number\n ) => {\n state.tempsRestantEnSeconde = tempsRestantEnSeconde;\n },\n tempsAlloueEchu: (state: IMinuteurState, tempsAlloueEchu: boolean) => {\n state.tempsAlloueEchu = tempsAlloueEchu;\n },\n effacerStateMinuteur: (state: IMinuteurState) => {\n Object.assign(state, stateDeBase());\n },\n};\n\ninterface IActions {\n demarrerMinuteur: (\n context: ActionContext,\n options: {\n delaiVerrou: number;\n }\n ) => void;\n}\n\nexport const actions: IActions & ActionTree = {\n demarrerMinuteur(context, { delaiVerrou }) {\n const identifiantMinuteur = window.setInterval(() => {\n if (context.state.verrouDateFin !== null) {\n const tempsRestant = Math.ceil(\n (context.state.verrouDateFin - Date.now()) / 1000\n );\n\n if (tempsRestant <= 0) {\n context.commit(mutations.tempsAlloueEchu.name, true);\n context.commit(mutations.arreterMinuteurSucces.name);\n } else {\n context.commit(mutations.diminuerTempsRestant.name, tempsRestant);\n }\n }\n }, 1000);\n\n if (context.state.verrouDateFin === null) {\n context.commit(mutations.demarrerMinuteurSucces.name, {\n identifiantMinuteur: identifiantMinuteur,\n delaiVerrou: delaiVerrou,\n });\n }\n },\n};\n\nexport default {\n state,\n actions,\n mutations,\n};\n","import Vue from \"vue\";\nimport Vuex, { ActionContext, ActionTree } from \"vuex\";\nimport createPersistedState from \"vuex-persistedstate\";\nimport applicatif from \"./applicatif\";\nimport cds from \"./cds\";\nimport minuteur from \"./minuteur\";\nimport { IRacineState } from \"./models\";\nimport trainProgression from \"./trainProgression\";\nimport utilisateur from \"./utilisateur\";\n\nVue.use(Vuex);\n\ninterface IActions {\n effacerState: (context: ActionContext) => void;\n}\n\nexport const actions: IActions & ActionTree = {\n effacerState: (context) => {\n context.commit(modules.cds.mutations.effacerStateCDS.name);\n context.commit(modules.minuteur.mutations.effacerStateMinuteur.name);\n context.commit(\n modules.trainProgression.mutations.effacerStateTrainProgression.name\n );\n context.commit(modules.utilisateur.mutations.effacerStateUtilisateur.name);\n },\n};\n\nexport const modules = {\n utilisateur,\n cds,\n trainProgression,\n minuteur,\n applicatif,\n};\nconst debug = process.env.NODE_ENV !== \"production\";\n\nexport const store = new Vuex.Store({\n actions,\n modules,\n plugins: [createPersistedState()],\n strict: debug,\n});\n\nexport default store;\n","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&id=d1ff47e4&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&id=d1ff47e4&lang=scss&scoped=true&\"","import { ActionContext, ActionTree, MutationTree } from \"vuex\";\nimport { IRacineState, ITrainProgressionState } from \"../models\";\n\nexport enum Etapes {\n \"Accueil\",\n \"Clientele\",\n \"Periode\",\n \"Emplacement\",\n \"Casier\",\n \"Revision\",\n \"Paiement\",\n}\nexport type NomEtapes = keyof typeof Etapes;\n\nexport const stateDeBase = (): ITrainProgressionState => {\n return {\n precedentActive: false,\n suivantActive: false,\n suivantCache: false,\n etapeCourante: Etapes[0].toString() as NomEtapes,\n surAnnuler: false,\n };\n};\n\nexport const state: ITrainProgressionState = stateDeBase();\n\ninterface IMutations {\n choisirEtape: (state: ITrainProgressionState, etape: Etapes) => void;\n activerPrecedent: (state: ITrainProgressionState) => void;\n desactiverPrecedent: (state: ITrainProgressionState) => void;\n activerSuivant: (state: ITrainProgressionState) => void;\n desactiverSuivant: (state: ITrainProgressionState) => void;\n cacherSuivant: (state: ITrainProgressionState) => void;\n afficherSuivant: (state: ITrainProgressionState) => void;\n effacerStateTrainProgression: (state: ITrainProgressionState) => void;\n lancerAnnulation: (state: ITrainProgressionState) => void;\n cacherAnnulation: (state: ITrainProgressionState) => void;\n}\n\nexport const mutations: IMutations & MutationTree = {\n choisirEtape: (state: ITrainProgressionState, etape: Etapes) => {\n state.etapeCourante = etape.toString() as NomEtapes;\n },\n activerPrecedent: (state: ITrainProgressionState) => {\n state.precedentActive = true;\n },\n desactiverPrecedent: (state: ITrainProgressionState) => {\n state.precedentActive = false;\n },\n activerSuivant: (state: ITrainProgressionState) => {\n state.suivantActive = true;\n },\n desactiverSuivant: (state: ITrainProgressionState) => {\n state.suivantActive = false;\n },\n cacherSuivant: (state: ITrainProgressionState) => {\n state.suivantCache = true;\n },\n afficherSuivant: (state: ITrainProgressionState) => {\n state.suivantCache = false;\n },\n effacerStateTrainProgression: (state: ITrainProgressionState) => {\n Object.assign(state, stateDeBase());\n },\n lancerAnnulation: (state: ITrainProgressionState) => {\n state.surAnnuler = true;\n },\n cacherAnnulation: (state: ITrainProgressionState) => {\n state.surAnnuler = false;\n },\n};\n\ninterface IActions {\n etapeSuivante: (\n context: ActionContext\n ) => string;\n etapePrecedente: (\n context: ActionContext\n ) => string;\n etapeDepart: (\n context: ActionContext\n ) => string;\n choisirEtape: (\n context: ActionContext,\n etape: Etapes\n ) => string;\n debuterLocation: (\n context: ActionContext\n ) => string;\n}\n\nexport const actions: IActions &\n ActionTree = {\n etapeSuivante(context) {\n let index = Etapes[context.state.etapeCourante];\n index++;\n\n context.commit(mutations.choisirEtape.name, Etapes[index]);\n context.commit(mutations.desactiverSuivant.name);\n\n return context.state.etapeCourante.toString();\n },\n etapePrecedente(context) {\n let index = Etapes[context.state.etapeCourante];\n index--;\n\n context.commit(mutations.choisirEtape.name, Etapes[index]);\n context.commit(mutations.desactiverSuivant.name);\n context.commit(mutations.afficherSuivant.name);\n\n return context.state.etapeCourante.toString();\n },\n etapeDepart(context) {\n context.commit(mutations.choisirEtape.name, Etapes[0]);\n context.commit(mutations.desactiverSuivant.name);\n context.commit(mutations.afficherSuivant.name);\n\n return context.state.etapeCourante.toString();\n },\n choisirEtape(context, etape) {\n context.commit(mutations.choisirEtape.name, etape);\n context.commit(mutations.desactiverSuivant.name);\n context.commit(mutations.afficherSuivant.name);\n\n return context.state.etapeCourante.toString();\n },\n debuterLocation(context) {\n context.commit(mutations.choisirEtape.name, Etapes[1]);\n context.commit(mutations.desactiverSuivant.name);\n context.commit(mutations.afficherSuivant.name);\n\n return context.state.etapeCourante.toString();\n },\n};\n\nexport default {\n state,\n actions,\n mutations,\n};\n","import store from \"../store\";\n\nexport default class DelaiLocationPlugin {\n public static delaiEnMinutes: number = 30;\n\n /* Retourne vrai si le délai écoulé depuis le début de la location\n dépasse delaiEnMinutes\n */\n public static isDelaiLocationDepasse(): boolean {\n const dateDebut: Date | null =\n store.state.utilisateur.dateDebutCreationLocation;\n if (dateDebut == null) {\n return true;\n }\n\n const isDelaiLocationDepasse: boolean =\n new Date().getTime() >\n this.addMinutes(dateDebut, this.delaiEnMinutes).getTime();\n\n //console.log(\"isDelaiLocationDepasse : \" + isDelaiLocationDepasse);\n\n return isDelaiLocationDepasse;\n }\n\n private static addMinutes(date: Date, minutes: number): Date {\n const result: Date = new Date(date);\n result.setTime(result.getTime() + minutes * 60000);\n\n return result;\n }\n}\n","import { ModeleDeBase } from \"./ModeleDeBase\";\nimport { INiveauCDS, Niveau } from \"./Niveau\";\nimport { IPavillonCDS, Pavillon } from \"./Pavillon\";\n\nexport interface ICasierCDS {\n si_casiersiid: string;\n si_nocasier: string;\n si_ImmeubleSI?: IPavillonCDS;\n si_NiveauSI?: INiveauCDS;\n}\n\nexport class Casier extends ModeleDeBase {\n numero: string;\n pavillon?: Pavillon;\n niveau?: Niveau;\n verrou?: string;\n\n constructor(entity: ICasierCDS) {\n super(entity.si_casiersiid);\n\n this.numero = entity.si_nocasier;\n\n if (entity.si_ImmeubleSI) {\n this.pavillon = new Pavillon(entity.si_ImmeubleSI);\n }\n if (entity.si_NiveauSI) {\n this.niveau = new Niveau(entity.si_NiveauSI);\n }\n }\n\n serialiser(): ICasierCDS {\n return {\n si_casiersiid: this.id,\n si_nocasier: this.numero,\n };\n }\n}\n","var map = {\n\t\"./en-ca\": \"9f9b\",\n\t\"./en-ca.js\": \"9f9b\",\n\t\"./fr-ca\": \"6e99\",\n\t\"./fr-ca.js\": \"6e99\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"5555\";","import { Casier } from \"./Casier\";\nimport { ModeleDeBase } from \"./ModeleDeBase\";\nimport { ITypeClienteleCDS, TypeClientele } from \"./TypeClientele\";\n\nexport interface INiveauCDS {\n createdon?: string;\n si_message: string;\n si_niveausiid: string;\n si_niveau: string;\n si_Typedeclientele?: ITypeClienteleCDS;\n si_nomplan: string;\n si_CasierSI_si_NiveauSI_si_NiveauSI?: Casier[];\n}\n\nexport class Niveau extends ModeleDeBase {\n nomNiveau: string;\n typeClientele?: TypeClientele;\n message: string;\n nombreCasiersDispos: number = 0;\n nomPlan: string;\n\n constructor(entity: INiveauCDS) {\n super(entity.si_niveausiid);\n if (entity.si_CasierSI_si_NiveauSI_si_NiveauSI !== undefined) {\n this.nombreCasiersDispos =\n entity.si_CasierSI_si_NiveauSI_si_NiveauSI.length;\n }\n\n this.nomNiveau = entity.si_niveau;\n if (entity.si_Typedeclientele) {\n this.typeClientele = new TypeClientele(entity.si_Typedeclientele);\n }\n this.nomPlan = entity.si_nomplan;\n this.message = entity.si_message;\n }\n\n serialiser(): INiveauCDS {\n return {\n si_niveausiid: this.id,\n si_niveau: this.nomNiveau,\n si_message: this.message,\n si_nomplan: this.nomPlan,\n };\n }\n}\n","import { ModeleDeBase } from \"./ModeleDeBase\";\n\nexport interface ITypeClienteleCDS {\n si_typedeclienteleid: string;\n si_ordretri: number;\n si_taxable: boolean;\n si_clientele: string;\n _si_typedeperiodedelocation_value: string;\n}\n\nexport class TypeClientele extends ModeleDeBase {\n ordretri: number;\n taxable: boolean;\n typePeriodeId: string;\n nomTypeClientele: string;\n\n constructor(entity: ITypeClienteleCDS) {\n super(entity.si_typedeclienteleid);\n\n this.ordretri = entity.si_ordretri;\n this.taxable = entity.si_taxable;\n this.typePeriodeId = entity._si_typedeperiodedelocation_value;\n this.nomTypeClientele = entity.si_clientele;\n }\n\n serialiser(): ITypeClienteleCDS {\n return {\n si_typedeclienteleid: this.id,\n si_ordretri: this.ordretri,\n si_taxable: this.taxable,\n _si_typedeperiodedelocation_value: this.typePeriodeId,\n si_clientele: this.nomTypeClientele,\n };\n }\n}\n","import Vue from \"vue\";\nimport VueRouter, { NavigationGuardNext, Route, RouteConfig } from \"vue-router\";\nimport DelaiLocationPlugin from \"../plugins/delai\";\nimport store from \"../store\";\n\nVue.use(VueRouter);\n\ntype ModuleType = typeof import(\"*.vue\");\n\nconst Clientele = (): Promise =>\n import(/* webpackChunkName: \"clientele\" */ \"../views/Clientele.vue\");\nconst Periode = (): Promise =>\n import(/* webpackChunkName: \"periode\" */ \"../views/Periode.vue\");\nconst Emplacement = (): Promise =>\n import(/* webpackChunkName: \"emplacement\" */ \"../views/Emplacement.vue\");\nconst Casier = (): Promise =>\n import(/* webpackChunkName: \"casier\" */ \"../views/Casier.vue\");\nconst Revision = (): Promise =>\n import(/* webpackChunkName: \"revision\" */ \"../views/Revision.vue\");\nconst Paiement = (): Promise =>\n import(/* webpackChunkName: \"paiement\" */ \"../views/Paiement.vue\");\nconst TrainProgression = (): Promise =>\n import(/* webpackChunkName: \"train\" */ \"../components/TrainProgression.vue\");\nconst Connexion = (): Promise =>\n import(/* webpackChunkName: \"connexion\" */ \"../views/Connexion.vue\");\nconst Accueil = (): Promise =>\n import(/* webpackChunkName: \"accueil\" */ \"../views/Accueil.vue\");\n\nconst Test = (): Promise =>\n import(/* webpackChunkName: \"test\" */ \"../views/Test.vue\");\n\nconst enFermetureComplete = process.env.VUE_APP_FERMETURE_COMPLETE === \"true\";\nconst enProduction = process.env.NODE_ENV === \"production\";\n\nexport const routes: RouteConfig[] = [\n {\n path: \"/\",\n name: \"Accueil\",\n component: Accueil,\n meta: {\n auth: true,\n },\n },\n {\n path: \"/connexion\",\n name: \"Connexion\",\n component: Connexion,\n meta: {\n auth: false,\n },\n },\n {\n path: \"/location\",\n component: TrainProgression,\n meta: {\n auth: true,\n },\n children: [\n { path: \"\", name: \"Location\", redirect: \"clientele\" },\n {\n path: \"clientele\",\n name: \"Clientele\",\n component: Clientele,\n },\n {\n path: \"periode\",\n name: \"Periode\",\n component: Periode,\n },\n {\n path: \"emplacement\",\n name: \"Emplacement\",\n component: Emplacement,\n },\n {\n path: \"casier\",\n name: \"Casier\",\n component: Casier,\n },\n {\n path: \"revision\",\n name: \"Revision\",\n component: Revision,\n },\n {\n path: \"paiement\",\n name: \"Paiement\",\n component: Paiement,\n },\n ],\n },\n {\n path: \"/test\",\n name: \"Test\",\n component: Test,\n meta: {\n auth: true,\n },\n beforeEnter: (\n _to: Route,\n _from: Route,\n next: NavigationGuardNext\n ): void => {\n // Empêcher l'accès à la page de test en production\n if (enProduction) {\n return next({ name: \"Accueil\" });\n } else {\n next();\n }\n },\n },\n { path: \"*\", name: \"NotFound\", redirect: \"/\" },\n];\n\nconst router: VueRouter = new VueRouter({\n routes,\n});\n\nrouter.beforeEach((to, _from, next): void => {\n if (enFermetureComplete) {\n // Empêcher l'accès aux autres pages dans le cas où le site est en fermeture complète\n for (const route of to.matched) {\n if (route.name !== \"Accueil\") {\n next({ name: \"Accueil\" });\n }\n }\n } else {\n for (const route of to.matched) {\n if (\n route.meta?.auth === true &&\n router.app.$msal.data.isAuthenticated === false\n ) {\n // Renvoyer à la connexion une page qui nécessite l'authentification\n return next({ name: \"Connexion\" });\n }\n\n if (\n route.meta?.auth === false &&\n router.app.$msal.data.isAuthenticated === true\n ) {\n // Renvoyer à l'accueil une page qui ne nécessite pas une authentification\n return next({ name: \"Accueil\" });\n }\n\n if (\n route.parent &&\n route.parent.path &&\n route.parent.path.indexOf(\"location\") > -1\n ) {\n store.state.utilisateur.isDelaiLocationDepasse = DelaiLocationPlugin.isDelaiLocationDepasse();\n }\n }\n\n next();\n }\n});\n\nexport default router;\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.verrouDateFin)?_c('div',{staticClass:\"minuteur\"},[_c('svg',{attrs:{\"viewBox\":\"0 0 100 100\",\"xmlns\":\"http://www.w3.org/2000/svg\"}},[_c('g',{staticClass:\"minuteur__cercle\"},[_c('circle',{attrs:{\"cx\":\"50\",\"cy\":\"50\",\"r\":\"46.5\"}})])]),_c('span',{staticClass:\"minuteur__texte\"},[_vm._v(\" \"+_vm._s(_vm._f(\"formatTemps\")(_vm.tempsRestantEnSecondes))+\" \")])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport store from \"../store\";\n\nVue.filter(\"formatTemps\", function (temps?: number) {\n if (temps) {\n return (temps - (temps %= 60)) / 60 + (9 < temps ? \":\" : \":0\") + temps;\n }\n});\n\n@Component\nexport default class Minuteur extends Vue {\n get verrouDateFin(): number | null {\n return store.state.minuteur.verrouDateFin;\n }\n\n get tempsRestantEnSecondes(): number | null {\n return store.state.minuteur.tempsRestantEnSeconde;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Minuteur.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Minuteur.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Minuteur.vue?vue&type=template&id=47f6217e&scoped=true&\"\nimport script from \"./Minuteur.vue?vue&type=script&lang=ts&\"\nexport * from \"./Minuteur.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Minuteur.vue?vue&type=style&index=0&id=47f6217e&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"47f6217e\",\n null\n \n)\n\nexport default component.exports","import { Casier } from \"./Casier\";\nimport { ModeleDeBase } from \"./ModeleDeBase\";\n\nexport interface IPavillonCDS {\n si_codeimmeuble?: string;\n si_sigleetnomdelimmeuble?: string;\n si_sigleimmeuble: string;\n si_immeublesiid: string;\n createdon?: string;\n si_nomimmeuble: string;\n si_surcampus?: boolean;\n si_CasierSI_si_ImmeubleSI_si_ImmeubleSI?: Casier[];\n}\n\nexport class Pavillon extends ModeleDeBase {\n nomPavillon: string;\n sigle: string;\n nombreCasiersDispos: number = 0;\n\n constructor(entity: IPavillonCDS) {\n super(entity.si_immeublesiid);\n\n if (entity.si_CasierSI_si_ImmeubleSI_si_ImmeubleSI !== undefined) {\n this.nombreCasiersDispos =\n entity.si_CasierSI_si_ImmeubleSI_si_ImmeubleSI.length;\n }\n this.nomPavillon = entity.si_nomimmeuble;\n this.sigle = entity.si_sigleimmeuble;\n }\n\n serialiser(): IPavillonCDS {\n return {\n si_immeublesiid: this.id,\n si_nomimmeuble: this.nomPavillon,\n si_sigleimmeuble: this.sigle,\n };\n }\n}\n","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EnteteULaval.vue?vue&type=style&index=0&id=5f485114&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EnteteULaval.vue?vue&type=style&index=0&id=5f485114&lang=scss&scoped=true&\"","import { ICustomProperties } from \"@microsoft/applicationinsights-core-js\";\nimport {\n ApplicationInsights,\n SeverityLevel,\n} from \"@microsoft/applicationinsights-web\";\nimport Transport from \"winston-transport\";\n\ninterface ApplicationInsightTransportOptions\n extends Transport.TransportStreamOptions {\n key?: string;\n silent?: boolean;\n level?: Level;\n handleExceptions?: boolean;\n appInsights?: ApplicationInsights;\n}\n\nenum LogLevel {\n error,\n warning,\n info,\n debug,\n}\nexport type Level = keyof typeof LogLevel;\n\nconst winstonLogLevelMapping: { [level in Level]: SeverityLevel } = {\n error: SeverityLevel.Error,\n warning: SeverityLevel.Warning,\n info: SeverityLevel.Information,\n debug: SeverityLevel.Verbose,\n};\n\nexport class ApplicationInsightsTransport extends Transport {\n private _client: ApplicationInsights;\n\n constructor(options: ApplicationInsightTransportOptions = {}) {\n super(options);\n\n if (options.appInsights) {\n this._client = options.appInsights;\n } else {\n this._client = new ApplicationInsights({\n config: { instrumentationKey: options.key },\n });\n\n this._client.loadAppInsights();\n }\n }\n\n log(\n info: {\n level: Level;\n message: string;\n meta?: ICustomProperties;\n },\n callback: () => void\n ): void {\n setImmediate(() => {\n this.emit(\"logged\", info);\n });\n\n this._client.trackTrace({\n message: info.message,\n severityLevel: winstonLogLevelMapping[info.level],\n properties: info.meta,\n });\n // Envoie des informations vers Application Insights\n this._client.flush();\n\n callback();\n }\n\n close(): void {\n this._client.flush();\n }\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.estInternetExplorer)?_c('div',[_c('b',[_vm._v(\"Vous utilisez un navigateur non supporté.\")]),_c('p',[_vm._v(\" Afin d'offrir une meilleure expérience à nos usagers sur ordinateurs traditionnels et appareils mobiles, l'application de location de casiers ne supporte pas les navigateurs désuets. \")]),_vm._m(0)]):(_vm.applicationPrete)?_c('div',{attrs:{\"id\":\"app\"}},[_c('div',{attrs:{\"id\":\"app-content\"}},[_c('EnteteULaval'),(_vm.enFermetureComplete)?_c('m-error-resource-unavailable',{staticClass:\"m-u--padding\",attrs:{\"title\":\"Fermeture temporaire\",\"links\":[],\"hints\":_vm.hints}}):_c('router-view')],1),_c('PiedPageULaval',{attrs:{\"id\":\"app-pied\"}}),_c('MessageErreur')],1):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('p',[_vm._v(\" S'il vous plait, utilisez une version récente d'un des navigateurs suivants: \")]),_c('ul',[_c('li',[_vm._v(\"Chrome ou Chrome Mobile;\")]),_c('li',[_vm._v(\"Firefox;\")]),_c('li',[_vm._v(\"Safari pour Mac ou iOS;\")]),_c('li',[_vm._v(\"Edge;\")])])])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from \"vue-property-decorator\";\nimport { MLink } from \"@ulaval/modul-components\";\nimport Minuteur from \"../components/Minuteur.vue\";\nimport store, { actions, modules } from \"../store\";\nimport { Casier } from \"../models/Casier\";\n\n@Component({ components: { MLink, Minuteur } })\nexport default class EnteteULaval extends Vue {\n public async deconnecter(): Promise {\n // On efface le state complet de l'application avant de déconnecter l'utilisateur.\n await store.dispatch(actions.effacerState.name);\n\n // Retrait du verrou si nécessaire\n if (this.casierUtilisateur !== null) {\n await store.dispatch(modules.cds.actions.retirerVerrouUtilisateur.name, {\n vm: this,\n idCasier: this.casierUtilisateur.id,\n });\n }\n\n this.$msal.logout();\n }\n\n get estAuthentifie(): boolean {\n return this.$msal.data.isAuthenticated;\n }\n\n get nomUtilisateur(): string | null {\n if (this.$msal.data.isAuthenticated && this.$msal.data.user) {\n return this.$msal.data.user.name;\n } else {\n return null;\n }\n }\n\n private get casierUtilisateur(): Casier | null {\n return store.state.utilisateur.casier;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EnteteULaval.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EnteteULaval.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./EnteteULaval.vue?vue&type=template&id=5f485114&scoped=true&\"\nimport script from \"./EnteteULaval.vue?vue&type=script&lang=ts&\"\nexport * from \"./EnteteULaval.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./EnteteULaval.vue?vue&type=style&index=0&id=5f485114&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5f485114\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('header',{staticClass:\"normes-ul-entete-ul\"},[_c('div',{staticClass:\"entete-contenu\"},[_vm._m(0),_c('div',{staticClass:\"rouge\"},[(_vm.estAuthentifie)?_c('div',{staticClass:\"navigation\"},[(_vm.nomUtilisateur)?_c('div',{staticClass:\"alignementNom\"},[_c('h5',{staticClass:\"m-u--h5\"},[_vm._v(_vm._s(_vm.nomUtilisateur))])]):_vm._e(),_c('nav',{staticClass:\"navigation-generale\"},[_c('ul',[_c('li',[_c('m-link',{attrs:{\"mode\":\"link\",\"href\":\"#\"},on:{\"click\":function($event){return _vm.deconnecter()}}},[_vm._v(\" Déconnecter \")])],1),_c('li',[_c('m-link',{attrs:{\"mode\":\"link\",\"href\":\"#\"},on:{\"click\":function($event){return _vm.deconnecter()}}},[_c('svg',{staticClass:\"m-svg\",attrs:{\"data-v-4e3bf404\":\"\",\"width\":\"1em\",\"height\":\"1em\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"-1 -1 26 26\",\"data-svg-id\":\"m-svg__logout\",\"aria-hidden\":\"true\"},on:{\"click\":function($event){return _vm.deconnecter()}}},[_c('g',{attrs:{\"fill\":\"none\",\"stroke\":\"currentColor\",\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-miterlimit\":\"10\"}},[_c('path',{attrs:{\"d\":\"M12.2,21.6H2.9 c-1.3,0-2.4-1.1-2.4-2.4V4.8c0-1.3,1.1-2.4,2.4-2.4h9.3\"}}),_c('polyline',{attrs:{\"points\":\"5.1,12 23.5,12 17.8,17.7 23.5,12 17.7,6.3 \"}})])])])],1)])])]):_vm._e()])])]),_c('div',{staticClass:\"mw-highlighted-title\"},[_c('div',{staticClass:\"gauche\"},[_vm._v(\"Location de casiers\")]),_c('div',{staticClass:\"droite\"},[_c('minuteur',{staticClass:\"positionMinuteur\"})],1)])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"or\"},[_c('object',{staticClass:\"logo-complet\",attrs:{\"type\":\"image/svg+xml\",\"data\":\"https://contenu.monportail.ulaval.ca/mpo/ressources/pages/v1/images/publique/mpo-logo-ulaval.svg\",\"width\":\"144\",\"height\":\"60\"}},[_vm._v(\" Logo Université Laval \")])])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { MLink, MModal, MRichText } from \"@ulaval/modul-components\";\nimport { Component, Vue } from \"vue-property-decorator\";\nimport store, { modules } from \"../store\";\n\n@Component({\n components: {\n MLink,\n MModal,\n MRichText,\n },\n})\nexport default class PiedPageULaval extends Vue {\n private afficherPiedPageUlaval: boolean = false;\n private afficherPopUpConditions: boolean = false;\n\n protected async mounted(): Promise {\n if (this.$msal.data.isAuthenticated) {\n try {\n // Récupère des items contenus dans une entité (table) du CDS\n await store.dispatch(\n modules.cds.actions.recupererDefinitionsVariablesEnv.name,\n { vm: this }\n );\n await store.dispatch(\n modules.cds.actions.recupererValeursVariablesEnv.name,\n { vm: this }\n );\n await store.dispatch(\n modules.cds.actions.recupererParametresPilotage.name,\n { vm: this }\n );\n } catch (_) {\n // Ne rien faire et n'afficher que l'aide et le copyright\n }\n }\n\n this.afficherPiedPageUlaval = true;\n }\n\n get courriel(): string | null {\n //Obtenir la clé de la définition de la variable d'environnement\n const definitionsVariable = store.state.cds.definitionsVariablesEnv.find(\n (definition) =>\n definition.nomVariableEnv ===\n store.state.applicatif.variableEnvCleCourrielContact\n );\n\n if (definitionsVariable !== undefined) {\n //Obtenir la valeur de la variable d'environnement pour le courriel\n const valeursVariable = store.state.cds.valeursVariablesEnv.find(\n (variableEnv) => variableEnv.definitionId === definitionsVariable.id\n );\n\n if (valeursVariable !== undefined) {\n return `mailto:${valeursVariable.valeur}?subject=Location de casier - Aide`;\n }\n }\n\n return null;\n }\n\n get urlAide(): string {\n return (\n this.recupererDonneePilotage(\n store.state.applicatif.pilotageCleSiteSIAide,\n true\n ) || \"https://www.ulaval.ca/etudiants-actuels/etudes/location-de-casiers\"\n );\n }\n\n get conditionsUtilisation(): string {\n return this.recupererDonneePilotage(\n store.state.applicatif.pilotageCleConditionsUtilisation,\n false\n );\n }\n\n get numeroVersion(): string {\n return process.env.VUE_APP_NUMERO_VERSION || \"\";\n }\n\n // TODO: Refactor (utilisé ailleurs)\n private recupererDonneePilotage(\n cle: string,\n retournerTexteCourt: boolean\n ): string {\n let donnee: string = \"\";\n\n const parametre = store.state.cds.parametresPilotage.find(\n (parametre) => parametre.nomParametre === cle\n );\n\n if (parametre !== undefined) {\n donnee = retournerTexteCourt\n ? parametre.valeurTexteCourt\n : parametre.valeurTexteLong;\n }\n\n return donnee;\n }\n\n private afficherConditionsUtilisation(event: Event): void {\n this.afficherPopUpConditions = true;\n\n event.preventDefault();\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PiedPageULaval.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PiedPageULaval.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./PiedPageULaval.vue?vue&type=template&id=3573943e&scoped=true&\"\nimport script from \"./PiedPageULaval.vue?vue&type=script&lang=ts&\"\nexport * from \"./PiedPageULaval.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./PiedPageULaval.vue?vue&type=style&index=0&id=3573943e&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3573943e\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.afficherPiedPageUlaval)?_c('div',[_c('nav',[_c('ul',{attrs:{\"id\":\"liens-pied-page\"}},[(_vm.courriel)?_c('li',[_c('m-link',{attrs:{\"unvisited\":true,\"mode\":\"link\",\"url\":_vm.courriel}},[_vm._v(\" Contactez-nous \")])],1):_vm._e(),(_vm.urlAide)?_c('li',[_c('m-link',{attrs:{\"target\":\"_blank\",\"mode\":\"link\",\"unvisited\":true,\"url\":_vm.urlAide}},[_vm._v(\" Aide \")])],1):_vm._e(),(_vm.conditionsUtilisation)?_c('li',[_c('m-link',{attrs:{\"slot\":\"trigger\",\"mode\":\"link\",\"unvisited\":true},on:{\"click\":_vm.afficherConditionsUtilisation},slot:\"trigger\"},[_vm._v(\" Conditions d'utilisation \")])],1):_vm._e()])]),_c('div',[_c('a',{attrs:{\"target\":\"_blank\",\"href\":\"http://www.ulaval.ca\"}},[_vm._v(\"@ Université Laval\")]),_c('span',[_vm._v(\", 2020. Tous droits réservés. \"+_vm._s(_vm.numeroVersion))])]),(_vm.conditionsUtilisation)?_c('m-modal',{attrs:{\"title\":\"Conditions d'utilisation\",\"size\":\"regular\",\"open\":_vm.afficherPopUpConditions},on:{\"update:open\":function($event){_vm.afficherPopUpConditions=$event}}},[_c('div',[_c('m-rich-text',{attrs:{\"value\":_vm.conditionsUtilisation}})],1)]):_vm._e()],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Vue, Component } from \"vue-property-decorator\";\nimport { MToast } from \"@ulaval/modul-components\";\nimport store, { modules } from \"../store\";\n\n@Component({ components: { MToast } })\nexport default class MessageErreur extends Vue {\n get messageErreur(): string {\n return store.state.applicatif.messageErreur;\n }\n\n get afficherMessageErreur(): boolean {\n return this.messageErreur !== \"\";\n }\n\n private initialiserMessageErreur(): void {\n store.commit(modules.applicatif.mutations.modifierMessageErreur.name, \"\");\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MessageErreur.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MessageErreur.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./MessageErreur.vue?vue&type=template&id=c0cd7f70&\"\nimport script from \"./MessageErreur.vue?vue&type=script&lang=ts&\"\nexport * from \"./MessageErreur.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('m-toast',{attrs:{\"position\":\"bottom-center\",\"title\":\"Erreur\",\"open\":_vm.afficherMessageErreur,\"state\":\"error\",\"timeout\":\"long\"},on:{\"close\":_vm.initialiserMessageErreur}},[_vm._v(\" \"+_vm._s(_vm.messageErreur)+\" \")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from \"vue-property-decorator\";\nimport { MErrorResourceUnavailable } from \"@ulaval/modul-components\";\nimport EnteteULaval from \"./components/EnteteULaval.vue\";\nimport PiedPageULaval from \"./components/PiedPageULaval.vue\";\nimport MessageErreur from \"./components/MessageErreur.vue\";\n\n@Component({\n components: {\n MErrorResourceUnavailable,\n EnteteULaval,\n PiedPageULaval,\n MessageErreur,\n },\n})\nexport default class App extends Vue {\n private applicationPrete: boolean = false;\n\n private enFermetureComplete: boolean =\n process.env.VUE_APP_EN_FERMETURE_COMPLETE === \"true\";\n private messageAuxUtilisateurs: string =\n process.env.VUE_APP_MESSAGE_AUX_UTILISATEURS || \"\";\n\n private hints: [string] = [this.messageAuxUtilisateurs];\n\n private async mounted(): Promise {\n if (this.$msal.data.isAuthenticated) {\n await this.$msal.query(\n { id: \"profile\", url: \"/me\" },\n {\n method: \"GET\",\n responseType: \"json\",\n }\n );\n }\n\n // On s'assure d'avoir récupéré les informations de profil de l'utilisateur avant tout.\n this.applicationPrete = true;\n }\n\n get estInternetExplorer(): boolean {\n const agent = window.navigator.userAgent;\n const estIE = /MSIE|Trident/.test(agent);\n\n return estIE;\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=d1ff47e4&scoped=true&\"\nimport script from \"./App.vue?vue&type=script&lang=ts&\"\nexport * from \"./App.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&id=d1ff47e4&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d1ff47e4\",\n null\n \n)\n\nexport default component.exports","import { SpritesService } from \"@ulaval/modul-components\";\nimport Vue, { PluginObject, VueConstructor } from \"vue\";\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst IconPlugin: PluginObject = {\n install(v: VueConstructor): void {\n const svg: SpritesService = v.prototype.$svg;\n svg.addExternalSprites(\n // eslint-disable-next-line @typescript-eslint/no-var-requires\n require(\"@ulaval/modul-components/dist/assets/icons/sprites-default.svg\"),\n \"m\"\n );\n },\n};\n\nexport default IconPlugin;\n","import { ENGLISH } from \"@ulaval/modul-components\";\nimport { PluginObject, VueConstructor } from \"vue\";\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst creerPluginLangage = (langue: string): PluginObject => {\n return {\n install(v: VueConstructor): void {\n if (langue === ENGLISH) {\n // eslint-disable-next-line @typescript-eslint/no-var-requires\n v.use(require(\"@ulaval/modul-components/lib/en\").default);\n } else {\n // eslint-disable-next-line @typescript-eslint/no-var-requires\n v.use(require(\"@ulaval/modul-components/lib/fr\").default);\n }\n },\n };\n};\n\nexport default creerPluginLangage;\n","import {\n ApplicationInsights,\n Snippet,\n} from \"@microsoft/applicationinsights-web\";\nimport { VueConstructor } from \"vue\";\nimport VueRouter from \"vue-router\";\nimport winston from \"winston\";\nimport {\n ApplicationInsightsTransport,\n Level,\n} from \"../../../shared/src/logger/appInsightsTransport\";\n\nexport interface IOptions {\n appInsightsConfig?: Snippet;\n appInsights?: ApplicationInsights;\n router?: VueRouter;\n level?: Level;\n baseName: string;\n}\n\nexport default class LoggerPlugin {\n static install(Vue: VueConstructor, options: IOptions): void {\n Vue.prototype.$logger = new LoggerPlugin(options);\n }\n\n constructor(options: IOptions) {\n let appInsights: ApplicationInsights;\n\n if (options.appInsights !== undefined) {\n appInsights = options.appInsights;\n } else if (options.appInsightsConfig !== undefined) {\n appInsights = new ApplicationInsights(options.appInsightsConfig);\n\n appInsights.loadAppInsights();\n } else {\n throw new Error(\n \"Erreur lors de la configuration du logger. Vous devez soit passer une instance de ApplicationInsights ou passer les configurations de premier.\"\n );\n }\n\n // Watch route event if router option is defined.\n if (options.router !== undefined) {\n options.router.onReady(() => {\n if (options.router !== undefined) {\n options.baseName = options.baseName || \"(Vue App)\";\n\n options.router.beforeEach((route, _from, next) => {\n const name = options.baseName + \" / \" + route.name;\n\n appInsights.startTrackPage(name);\n\n next();\n });\n\n options.router.afterEach((route) => {\n const name = options.baseName + \" / \" + route.name;\n const url =\n location.protocol + \"//\" + location.host + route.fullPath;\n\n appInsights.stopTrackPage(name, url);\n appInsights.flush();\n });\n }\n });\n }\n\n return winston.createLogger({\n transports: [\n new ApplicationInsightsTransport({\n appInsights,\n level: options.level || \"info\",\n }),\n ],\n });\n }\n}\n","import { ApplicationInsights } from \"@microsoft/applicationinsights-web\";\nimport {\n FRENCH,\n LoggerPlugin as ModulLoggerPlugin,\n UtilsPlugin,\n} from \"@ulaval/modul-components\";\nimport \"@ulaval/modul-components/lib/modul.min.css\";\nimport msal from \"ulaval-modul-auth-msal\";\nimport Vue, { VNode } from \"vue\";\nimport winston from \"winston\";\nimport { ApplicationInsightsTransport } from \"../../shared/src/logger/appInsightsTransport\";\nimport App from \"./App.vue\";\nimport IconPlugin from \"./plugins/icons\";\nimport creerPluginLangage from \"./plugins/langage\";\nimport LoggerPlugin from \"./plugins/logger\";\nimport router from \"./router\";\nimport store from \"./store\";\nimport \"./styles/main.scss\";\n\nconst debug = process.env.NODE_ENV !== \"production\";\n\nVue.config.productionTip = debug;\n// Ne pas afficher les logs (warnings, erros, infos) de vue\nVue.config.silent = !debug;\n\nVue.use(ModulLoggerPlugin, {\n hideAll: !debug,\n});\nVue.use(UtilsPlugin, {\n i18PluginOptions: {\n curLang: FRENCH,\n },\n propagateVueParserErrors: false,\n});\nVue.use(IconPlugin);\n\n// TODO: Tester avec un navigateur en anglais?\nconst currentLang: string = localStorage.getItem(\"lang\") || FRENCH;\nVue.use(creerPluginLangage(currentLang));\n\nconst appInsights = new ApplicationInsights({\n config: {\n instrumentationKey:\n process.env[\"VUE_APP_APP_INSIGHTS_INSTRUMENTATION_KEY\"] || \"\",\n },\n});\nappInsights.loadAppInsights();\n\nVue.use(LoggerPlugin, {\n appInsights,\n router,\n baseName: \"slc\",\n level: debug ? \"debug\" : \"error\",\n});\n\nVue.use(msal, {\n auth: {\n clientId: process.env[\"VUE_APP_MODUL_AUTH_MSAL_CLIENT_ID\"] || \"\",\n redirectUri: process.env[\"VUE_APP_MODUL_AUTH_MSAL_REDIRECT_URI\"] || \"\",\n postLogoutRedirectUri:\n process.env[\"VUE_APP_MODUL_AUTH_MSAL_REDIRECT_URI\"] || \"\",\n },\n logger: winston.createLogger({\n transports: [\n new ApplicationInsightsTransport({\n appInsights,\n level: debug ? \"debug\" : \"error\",\n }),\n ],\n }),\n});\n\n// Gestion globale des erreurs VueJS\nVue.config.errorHandler = (err, vm, info) => {\n vm.$logger.log({\n level: \"error\",\n message: err.message,\n meta: { error: err.stack, info },\n });\n};\n\nnew Vue({\n router,\n store,\n render: (h): VNode => h(App),\n}).$mount(\"#app\");\n","import { Casier, ICasierCDS } from \"./Casier\";\nimport { ModeleDeBase } from \"./ModeleDeBase\";\nimport { INiveauCDS, Niveau } from \"./Niveau\";\nimport { IPavillonCDS, Pavillon } from \"./Pavillon\";\nimport { IPeriodeCDS, Periode } from \"./Periode\";\nimport { ITypeClienteleCDS, TypeClientele } from \"./TypeClientele\";\n\nexport interface ILocationCDS {\n si_locationcasierid: string;\n si_tps_base: number;\n si_tvq_base: number;\n si_total_base: number;\n si_tariflocation_base: number;\n si_tps: number;\n si_tvq: number;\n si_total: number;\n si_tariflocation: number;\n si_acceptationconditionslocation: boolean;\n si_adressedecourriel: string;\n si_prenomdulocateur: string;\n si_nomdulocateur: string;\n si_CasierSI: ICasierCDS;\n si_NiveauSI: INiveauCDS;\n si_ImmeubleSI: IPavillonCDS;\n si_Periodedelocation: IPeriodeCDS;\n si_Typedeclientele: ITypeClienteleCDS;\n}\n\nexport class Location extends ModeleDeBase {\n TPSBase: number;\n TVQBase: number;\n totalBase: number;\n tarifBase: number;\n TPS: number;\n TVQ: number;\n total: number;\n tarif: number;\n conditionsUtilisation: boolean;\n adresseCourriel: string;\n prenom: string;\n nom: string;\n casier: Casier;\n pavillon: Pavillon;\n niveau: Niveau;\n periode: Periode;\n typeClientele: TypeClientele;\n\n constructor(entity: ILocationCDS) {\n super(entity.si_locationcasierid);\n\n this.TPSBase = entity.si_tps_base;\n this.TVQBase = entity.si_tvq_base;\n this.totalBase = entity.si_total_base;\n this.tarifBase = entity.si_tariflocation_base;\n this.TPS = entity.si_tps;\n this.TVQ = entity.si_tvq;\n this.total = entity.si_total;\n this.tarif = entity.si_tariflocation;\n this.conditionsUtilisation = entity.si_acceptationconditionslocation;\n this.adresseCourriel = entity.si_adressedecourriel;\n this.prenom = entity.si_prenomdulocateur;\n this.nom = entity.si_nomdulocateur;\n this.pavillon = new Pavillon(entity.si_ImmeubleSI);\n this.niveau = new Niveau(entity.si_NiveauSI);\n this.casier = new Casier(entity.si_CasierSI);\n this.periode = new Periode(entity.si_Periodedelocation);\n this.typeClientele = new TypeClientele(entity.si_Typedeclientele);\n }\n\n serialiser(): ILocationCDS {\n return {\n si_locationcasierid: this.id,\n si_tps_base: this.TPSBase,\n si_tvq_base: this.TVQBase,\n si_total_base: this.totalBase,\n si_tariflocation_base: this.tarifBase,\n si_tps: this.TPS,\n si_tvq: this.TVQ,\n si_total: this.total,\n si_tariflocation: this.tarif,\n si_acceptationconditionslocation: this.conditionsUtilisation,\n si_adressedecourriel: this.adresseCourriel,\n si_prenomdulocateur: this.prenom,\n si_nomdulocateur: this.nom,\n si_ImmeubleSI: this.pavillon.serialiser(),\n si_NiveauSI: this.niveau.serialiser(),\n si_CasierSI: this.casier.serialiser(),\n si_Periodedelocation: this.periode.serialiser(),\n si_Typedeclientele: this.typeClientele.serialiser(),\n };\n }\n}\n\nexport interface INouvelleLocation {\n si_tps: number;\n si_tvq: number;\n si_total: number | null;\n si_tariflocation: number;\n si_acceptationconditionslocation: boolean;\n si_adressedecourriel: string;\n si_prenomdulocateur: string;\n si_nomdulocateur: string;\n si_identifiant_locateur: string;\n casierId: string;\n pavillonId: string;\n niveauId: string;\n periodeId: string;\n typeClienteleId: string;\n}\n\nexport interface INouvelleLocationCDS {\n si_tps: number;\n si_tvq: number;\n si_total: number | null;\n si_tariflocation: number;\n si_acceptationconditionslocation: boolean;\n si_adressedecourriel: string;\n si_prenomdulocateur: string;\n si_nomdulocateur: string;\n si_identifiant_locateur: string;\n si_codepostal: string;\n si_jeton: string;\n \"si_Typedeclientele@odata.bind\"?: string;\n \"si_NiveauSI@odata.bind\"?: string;\n \"si_Periodedelocation@odata.bind\"?: string;\n \"si_CasierSI@odata.bind\"?: string;\n \"si_ImmeubleSI@odata.bind\"?: string;\n}\n\nexport class NouvelleLocation extends ModeleDeBase {\n TPS: number;\n TVQ: number;\n total: number | null;\n tarif: number;\n conditionsUtilisation: boolean;\n adresseCourriel: string;\n prenom: string;\n nom: string;\n identifiant: string;\n casierId: string;\n pavillonId: string;\n niveauId: string;\n periodeId: string;\n typeClienteleId: string;\n codePostal: string;\n jeton: string;\n\n constructor(\n entity: INouvelleLocation,\n codePostal: string = \"\",\n jeton: string = \"\"\n ) {\n super(\"\");\n\n this.TPS = entity.si_tps;\n this.TVQ = entity.si_tvq;\n this.total = entity.si_total;\n this.tarif = entity.si_tariflocation;\n this.conditionsUtilisation = entity.si_acceptationconditionslocation;\n this.adresseCourriel = entity.si_adressedecourriel;\n this.prenom = entity.si_prenomdulocateur;\n this.nom = entity.si_nomdulocateur;\n this.identifiant = entity.si_identifiant_locateur;\n this.casierId = entity.casierId;\n this.pavillonId = entity.pavillonId;\n this.niveauId = entity.niveauId;\n this.periodeId = entity.periodeId;\n this.typeClienteleId = entity.typeClienteleId;\n this.codePostal = codePostal;\n this.jeton = jeton;\n }\n\n serialiser(): INouvelleLocationCDS {\n return {\n si_tps: this.TPS,\n si_tvq: this.TVQ,\n si_total: this.total,\n si_tariflocation: this.tarif,\n si_acceptationconditionslocation: this.conditionsUtilisation,\n si_adressedecourriel: this.adresseCourriel,\n si_prenomdulocateur: this.prenom,\n si_nomdulocateur: this.nom,\n si_identifiant_locateur: this.identifiant,\n si_codepostal: this.codePostal,\n si_jeton: this.jeton,\n \"si_Typedeclientele@odata.bind\": `/si_typedeclienteles(${this.typeClienteleId})`,\n \"si_NiveauSI@odata.bind\": `/si_niveausis(${this.niveauId})`,\n \"si_Periodedelocation@odata.bind\": `/si_periodedelocations(${this.periodeId})`,\n \"si_CasierSI@odata.bind\": `/si_casiersis(${this.casierId})`,\n \"si_ImmeubleSI@odata.bind\": `/si_immeublesis(${this.pavillonId})`,\n };\n }\n}\n","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PiedPageULaval.vue?vue&type=style&index=0&id=3573943e&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PiedPageULaval.vue?vue&type=style&index=0&id=3573943e&lang=scss&scoped=true&\"","import { ModeleDeBase } from \"./ModeleDeBase\";\n\nexport interface IPeriodeCDS {\n si_tariflocation: number;\n createdon?: string;\n si_periodeactive?: boolean;\n si_sequenceperiodelocation?: string;\n si_tariflocation_base?: number;\n si_nomcourtperiode?: string;\n si_periodedelocationid: string;\n si_ordretri: number;\n si_datedebutlocation: string;\n si_tauxtps: number;\n si_tauxtvq: number;\n si_datefinlocation: string;\n si_periodetermine?: boolean;\n si_nomdelaperiodedelocation: string;\n}\n\nexport class Periode extends ModeleDeBase {\n ordretri: number;\n nomPeriode: string;\n dateDebut: string;\n dateFin: string;\n tauxTPS: number;\n tauxTVQ: number;\n tarifLocation: number;\n\n constructor(entity: IPeriodeCDS) {\n super(entity.si_periodedelocationid);\n\n this.ordretri = entity.si_ordretri;\n this.nomPeriode = entity.si_nomdelaperiodedelocation;\n this.dateDebut = entity.si_datedebutlocation;\n this.dateFin = entity.si_datefinlocation;\n this.tauxTPS = entity.si_tauxtps;\n this.tauxTVQ = entity.si_tauxtvq;\n this.tarifLocation = entity.si_tariflocation;\n }\n\n serialiser(): IPeriodeCDS {\n return {\n si_periodedelocationid: this.id,\n si_ordretri: this.ordretri,\n si_nomdelaperiodedelocation: this.nomPeriode,\n si_datedebutlocation: this.dateDebut,\n si_datefinlocation: this.dateFin,\n si_tauxtps: this.tauxTPS,\n si_tauxtvq: this.tauxTVQ,\n si_tariflocation: this.tarifLocation,\n };\n }\n}\n","export abstract class ModeleDeBase {\n id: string;\n\n constructor(id: string) {\n this.id = id;\n }\n\n abstract serialiser(): unknown;\n}\n","var map = {\n\t\"./en-ca\": \"6724\",\n\t\"./en-ca.js\": \"6724\",\n\t\"./fr-ca\": \"b7e6\",\n\t\"./fr-ca.js\": \"b7e6\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"ea44\";"],"sourceRoot":""}