{"version":3,"sources":["webpack:///./src/modules/formulaires/FormulaireReponseAdministration.vue?605a","webpack:///./node_modules/@capacitor/core/dist/index.js","webpack:///./src/modules/formulaires/FormulaireReponseAdministration.vue?1fa4","webpack:///./src/domain/Formulaire_Reponse_Statut.ts","webpack:///./src/modules/formulaires/formulaireReponseAdministrationMixin.ts","webpack:///./src/modules/formulaires/FormulaireReponseAdministration.vue","webpack:///./src/modules/formulaires/FormulaireReponseAdministration.vue?9093","webpack:///./src/modules/formulaires/FormulaireReponseAdministration.vue?a935","webpack:///./src/modules/formulaires/FormulaireReponseAdministration.vue?b2bf","webpack:///./src/plugins/mixins/mobileTypeMixin.ts","webpack:///./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","webpack:///./src/layout/model/SendMailModel.ts","webpack:///./src/global/viewmodels/openable.ts"],"names":["createCapacitorPlatforms","win","defaultPlatformMap","Map","set","name","capPlatforms","CapacitorPlatforms","currentPlatform","platforms","addPlatform","platform","setPlatform","has","get","initPlatforms","globalThis","self","window","global","ExceptionCode","CapacitorException","Error","message","code","super","this","getPlatformId","_a","_b","androidBridge","webkit","messageHandlers","bridge","createCapacitor","_c","_d","_e","capCustomPlatform","CapacitorCustomPlatform","cap","Capacitor","Plugins","defaultGetPlatform","getPlatform","defaultIsNativePlatform","isNativePlatform","defaultIsPluginAvailable","pluginName","plugin","registeredPlugins","getPluginHeader","isPluginAvailable","defaultGetPluginHeader","PluginHeaders","find","h","handleError","err","console","error","pluginMethodNoop","_target","prop","Promise","reject","defaultRegisterPlugin","jsImplementations","registeredPlugin","warn","proxy","pluginHeader","jsImplementation","loadPluginImplementation","async","createPluginMethod","impl","bind","Unimplemented","methodHeader","methods","m","rtype","options","nativePromise","toString","callback","nativeCallback","createPluginMethodWrapper","remove","wrapper","args","p","then","fn","Object","defineProperty","value","writable","configurable","addListener","removeListener","addListenerNative","eventName","call","callbackId","resolve","Proxy","_","Set","keys","registerPlugin","convertFileSrc","filePath","Exception","DEBUG","isLoggingEnabled","isNative","initCapacitorGlobal","WebPlugin","config","listeners","windowListeners","listenerFunc","push","windowListener","registered","addWindowListener","listener","removeWindowListener","data","forEach","length","windowEventName","pluginEventName","handler","event","notifyListeners","msg","Unavailable","index","indexOf","splice","handle","addEventListener","removeEventListener","Formulaire_Reponse_Statut","render","_vm","_h","$createElement","_self","class","isMobileDevice","attrs","staticClass","headers","formulairesReponses","page","on","$event","pageCount","scopedSlots","_u","key","_v","selectListModeles","loadAllReponses","model","$$v","idModele","expression","filterOrtho","filterDentaire","_s","ref","item","formatDate","dateCreation","downloadFichierReponsesExcel","id","changeCommentaire","openEnvoiMail","_g","enumToColor","statut","enumToText","setStatutWithText","reponsesRepondues","repondues","_l","reponse","question","reponsesNonRepondues","nonRepondues","collapseEmptyReponses","isCollapsed","slot","dialogFormulaire","$set","commentaireFormulaire","close","saveNewCommentaire","dialogMail","mail","envoyerMail","staticRenderFns","Formulaire_Reponse_Statut_ToText","input","EnCoursDeTraitement","ValideParDirection","Envoyee","Traitee","globalMixin","extend","formulairesModeles","$route","params","idFormulaire","SendMailModel","$loader","go","$http","api","x","catch","$swal","toast","errorApi","finally","stop","loadAllModelesFormulaires","setStatut","post","idFormulaireReponse","success","loadPastilles","formulaireReponse","commentaire","open","patch","location","href","baseUrl","date","Date","toLocaleDateString","demande","userMail","formData","FormData","append","corps","files","file","mounted","connection","HubConnectionBuilder","withUrl","build","start","computed","res","map","modele","text","nom","unshift","watch","mobileTypeMixin","components","DialogMail","align","emptyReponsesVisible","enum_","reponses","filter","component","isAndroid","navigator","userAgent","match","isBlackBerry","isiOS","isOpera","isWindows","_createForOfIteratorHelper","o","Symbol","iterator","Array","isArray","unsupportedIterableToArray","i","F","s","n","done","e","f","TypeError","it","normalCompletion","didErr","step","next","_e2","Openable","isOpen"],"mappings":"kHAAA,W,mCCAA;;AACA,MAAMA,EAA4BC,IAC9B,MAAMC,EAAqB,IAAIC,IAC/BD,EAAmBE,IAAI,MAAO,CAAEC,KAAM,QACtC,MAA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E,EAAKP,KACjBO,GAETN,EAAG,SAAWQ,GACZH,GAAS,EACTrP,EAAMwP,GAERP,EAAG,WACD,IACOG,GAAoC,MAAhBD,EAAG,WAAmBA,EAAG,YADpD,QAGE,GAAIE,EAAQ,MAAMrP,O,oFClDLiK,EAArB,oCACW,KAAAvC,GAAK,EACL,KAAAwB,KAAO,GACP,KAAAgD,MAAQ,GACR,KAAAC,MAAQ,K,gGCJEsD,E,WAArB,oCACW,KAAAC,QAAS,E,sDAGZ1R,KAAK0R,QAAS,I,8BAGd1R,KAAK0R,QAAS,I,+BAId1R,KAAK0R,QAAU1R,KAAK0R,W","file":"js/chunk-68e8da81.00c70126.js","sourcesContent":["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!./FormulaireReponseAdministration.vue?vue&type=style&index=1&lang=scss&\"","/*! Capacitor: https://capacitorjs.com/ - MIT License */\nconst createCapacitorPlatforms = (win) => {\n const defaultPlatformMap = new Map();\n defaultPlatformMap.set('web', { name: 'web' });\n const capPlatforms = win.CapacitorPlatforms || {\n currentPlatform: { name: 'web' },\n platforms: defaultPlatformMap,\n };\n const addPlatform = (name, platform) => {\n capPlatforms.platforms.set(name, platform);\n };\n const setPlatform = (name) => {\n if (capPlatforms.platforms.has(name)) {\n capPlatforms.currentPlatform = capPlatforms.platforms.get(name);\n }\n };\n capPlatforms.addPlatform = addPlatform;\n capPlatforms.setPlatform = setPlatform;\n return capPlatforms;\n};\nconst initPlatforms = (win) => (win.CapacitorPlatforms = createCapacitorPlatforms(win));\n/**\n * @deprecated Set `CapacitorCustomPlatform` on the window object prior to runtime executing in the web app instead\n */\nconst CapacitorPlatforms = /*#__PURE__*/ initPlatforms((typeof globalThis !== 'undefined'\n ? globalThis\n : typeof self !== 'undefined'\n ? self\n : typeof window !== 'undefined'\n ? window\n : typeof global !== 'undefined'\n ? global\n : {}));\n/**\n * @deprecated Set `CapacitorCustomPlatform` on the window object prior to runtime executing in the web app instead\n */\nconst addPlatform = CapacitorPlatforms.addPlatform;\n/**\n * @deprecated Set `CapacitorCustomPlatform` on the window object prior to runtime executing in the web app instead\n */\nconst setPlatform = CapacitorPlatforms.setPlatform;\n\nconst legacyRegisterWebPlugin = (cap, webPlugin) => {\n var _a;\n const config = webPlugin.config;\n const Plugins = cap.Plugins;\n if (!config || !config.name) {\n // TODO: add link to upgrade guide\n throw new Error(`Capacitor WebPlugin is using the deprecated \"registerWebPlugin()\" function, but without the config. Please use \"registerPlugin()\" instead to register this web plugin.\"`);\n }\n // TODO: add link to upgrade guide\n console.warn(`Capacitor plugin \"${config.name}\" is using the deprecated \"registerWebPlugin()\" function`);\n if (!Plugins[config.name] || ((_a = config === null || config === void 0 ? void 0 : config.platforms) === null || _a === void 0 ? void 0 : _a.includes(cap.getPlatform()))) {\n // Add the web plugin into the plugins registry if there already isn't\n // an existing one. If it doesn't already exist, that means\n // there's no existing native implementation for it.\n // - OR -\n // If we already have a plugin registered (meaning it was defined in the native layer),\n // then we should only overwrite it if the corresponding web plugin activates on\n // a certain platform. For example: Geolocation uses the WebPlugin on Android but not iOS\n Plugins[config.name] = webPlugin;\n }\n};\n\nvar ExceptionCode;\n(function (ExceptionCode) {\n /**\n * API is not implemented.\n *\n * This usually means the API can't be used because it is not implemented for\n * the current platform.\n */\n ExceptionCode[\"Unimplemented\"] = \"UNIMPLEMENTED\";\n /**\n * API is not available.\n *\n * This means the API can't be used right now because:\n * - it is currently missing a prerequisite, such as network connectivity\n * - it requires a particular platform or browser version\n */\n ExceptionCode[\"Unavailable\"] = \"UNAVAILABLE\";\n})(ExceptionCode || (ExceptionCode = {}));\nclass CapacitorException extends Error {\n constructor(message, code) {\n super(message);\n this.message = message;\n this.code = code;\n }\n}\nconst getPlatformId = (win) => {\n var _a, _b;\n if (win === null || win === void 0 ? void 0 : win.androidBridge) {\n return 'android';\n }\n else if ((_b = (_a = win === null || win === void 0 ? void 0 : win.webkit) === null || _a === void 0 ? void 0 : _a.messageHandlers) === null || _b === void 0 ? void 0 : _b.bridge) {\n return 'ios';\n }\n else {\n return 'web';\n }\n};\n\nconst createCapacitor = (win) => {\n var _a, _b, _c, _d, _e;\n const capCustomPlatform = win.CapacitorCustomPlatform || null;\n const cap = win.Capacitor || {};\n const Plugins = (cap.Plugins = cap.Plugins || {});\n /**\n * @deprecated Use `capCustomPlatform` instead, default functions like registerPlugin will function with the new object.\n */\n const capPlatforms = win.CapacitorPlatforms;\n const defaultGetPlatform = () => {\n return capCustomPlatform !== null\n ? capCustomPlatform.name\n : getPlatformId(win);\n };\n const getPlatform = ((_a = capPlatforms === null || capPlatforms === void 0 ? void 0 : capPlatforms.currentPlatform) === null || _a === void 0 ? void 0 : _a.getPlatform) || defaultGetPlatform;\n const defaultIsNativePlatform = () => getPlatform() !== 'web';\n const isNativePlatform = ((_b = capPlatforms === null || capPlatforms === void 0 ? void 0 : capPlatforms.currentPlatform) === null || _b === void 0 ? void 0 : _b.isNativePlatform) || defaultIsNativePlatform;\n const defaultIsPluginAvailable = (pluginName) => {\n const plugin = registeredPlugins.get(pluginName);\n if (plugin === null || plugin === void 0 ? void 0 : plugin.platforms.has(getPlatform())) {\n // JS implementation available for the current platform.\n return true;\n }\n if (getPluginHeader(pluginName)) {\n // Native implementation available.\n return true;\n }\n return false;\n };\n const isPluginAvailable = ((_c = capPlatforms === null || capPlatforms === void 0 ? void 0 : capPlatforms.currentPlatform) === null || _c === void 0 ? void 0 : _c.isPluginAvailable) ||\n defaultIsPluginAvailable;\n const defaultGetPluginHeader = (pluginName) => { var _a; return (_a = cap.PluginHeaders) === null || _a === void 0 ? void 0 : _a.find(h => h.name === pluginName); };\n const getPluginHeader = ((_d = capPlatforms === null || capPlatforms === void 0 ? void 0 : capPlatforms.currentPlatform) === null || _d === void 0 ? void 0 : _d.getPluginHeader) || defaultGetPluginHeader;\n const handleError = (err) => win.console.error(err);\n const pluginMethodNoop = (_target, prop, pluginName) => {\n return Promise.reject(`${pluginName} does not have an implementation of \"${prop}\".`);\n };\n const registeredPlugins = new Map();\n const defaultRegisterPlugin = (pluginName, jsImplementations = {}) => {\n const registeredPlugin = registeredPlugins.get(pluginName);\n if (registeredPlugin) {\n console.warn(`Capacitor plugin \"${pluginName}\" already registered. Cannot register plugins twice.`);\n return registeredPlugin.proxy;\n }\n const platform = getPlatform();\n const pluginHeader = getPluginHeader(pluginName);\n let jsImplementation;\n const loadPluginImplementation = async () => {\n if (!jsImplementation && platform in jsImplementations) {\n jsImplementation =\n typeof jsImplementations[platform] === 'function'\n ? (jsImplementation = await jsImplementations[platform]())\n : (jsImplementation = jsImplementations[platform]);\n }\n else if (capCustomPlatform !== null &&\n !jsImplementation &&\n 'web' in jsImplementations) {\n jsImplementation =\n typeof jsImplementations['web'] === 'function'\n ? (jsImplementation = await jsImplementations['web']())\n : (jsImplementation = jsImplementations['web']);\n }\n return jsImplementation;\n };\n const createPluginMethod = (impl, prop) => {\n var _a, _b;\n if (pluginHeader) {\n const methodHeader = pluginHeader === null || pluginHeader === void 0 ? void 0 : pluginHeader.methods.find(m => prop === m.name);\n if (methodHeader) {\n if (methodHeader.rtype === 'promise') {\n return (options) => cap.nativePromise(pluginName, prop.toString(), options);\n }\n else {\n return (options, callback) => cap.nativeCallback(pluginName, prop.toString(), options, callback);\n }\n }\n else if (impl) {\n return (_a = impl[prop]) === null || _a === void 0 ? void 0 : _a.bind(impl);\n }\n }\n else if (impl) {\n return (_b = impl[prop]) === null || _b === void 0 ? void 0 : _b.bind(impl);\n }\n else {\n throw new CapacitorException(`\"${pluginName}\" plugin is not implemented on ${platform}`, ExceptionCode.Unimplemented);\n }\n };\n const createPluginMethodWrapper = (prop) => {\n let remove;\n const wrapper = (...args) => {\n const p = loadPluginImplementation().then(impl => {\n const fn = createPluginMethod(impl, prop);\n if (fn) {\n const p = fn(...args);\n remove = p === null || p === void 0 ? void 0 : p.remove;\n return p;\n }\n else {\n throw new CapacitorException(`\"${pluginName}.${prop}()\" is not implemented on ${platform}`, ExceptionCode.Unimplemented);\n }\n });\n if (prop === 'addListener') {\n p.remove = async () => remove();\n }\n return p;\n };\n // Some flair ✨\n wrapper.toString = () => `${prop.toString()}() { [capacitor code] }`;\n Object.defineProperty(wrapper, 'name', {\n value: prop,\n writable: false,\n configurable: false,\n });\n return wrapper;\n };\n const addListener = createPluginMethodWrapper('addListener');\n const removeListener = createPluginMethodWrapper('removeListener');\n const addListenerNative = (eventName, callback) => {\n const call = addListener({ eventName }, callback);\n const remove = async () => {\n const callbackId = await call;\n removeListener({\n eventName,\n callbackId,\n }, callback);\n };\n const p = new Promise(resolve => call.then(() => resolve({ remove })));\n p.remove = async () => {\n console.warn(`Using addListener() without 'await' is deprecated.`);\n await remove();\n };\n return p;\n };\n const proxy = new Proxy({}, {\n get(_, prop) {\n switch (prop) {\n // https://github.com/facebook/react/issues/20030\n case '$$typeof':\n return undefined;\n case 'toJSON':\n return () => ({});\n case 'addListener':\n return pluginHeader ? addListenerNative : addListener;\n case 'removeListener':\n return removeListener;\n default:\n return createPluginMethodWrapper(prop);\n }\n },\n });\n Plugins[pluginName] = proxy;\n registeredPlugins.set(pluginName, {\n name: pluginName,\n proxy,\n platforms: new Set([\n ...Object.keys(jsImplementations),\n ...(pluginHeader ? [platform] : []),\n ]),\n });\n return proxy;\n };\n const registerPlugin = ((_e = capPlatforms === null || capPlatforms === void 0 ? void 0 : capPlatforms.currentPlatform) === null || _e === void 0 ? void 0 : _e.registerPlugin) || defaultRegisterPlugin;\n // Add in convertFileSrc for web, it will already be available in native context\n if (!cap.convertFileSrc) {\n cap.convertFileSrc = filePath => filePath;\n }\n cap.getPlatform = getPlatform;\n cap.handleError = handleError;\n cap.isNativePlatform = isNativePlatform;\n cap.isPluginAvailable = isPluginAvailable;\n cap.pluginMethodNoop = pluginMethodNoop;\n cap.registerPlugin = registerPlugin;\n cap.Exception = CapacitorException;\n cap.DEBUG = !!cap.DEBUG;\n cap.isLoggingEnabled = !!cap.isLoggingEnabled;\n // Deprecated props\n cap.platform = cap.getPlatform();\n cap.isNative = cap.isNativePlatform();\n return cap;\n};\nconst initCapacitorGlobal = (win) => (win.Capacitor = createCapacitor(win));\n\nconst Capacitor = /*#__PURE__*/ initCapacitorGlobal(typeof globalThis !== 'undefined'\n ? globalThis\n : typeof self !== 'undefined'\n ? self\n : typeof window !== 'undefined'\n ? window\n : typeof global !== 'undefined'\n ? global\n : {});\nconst registerPlugin = Capacitor.registerPlugin;\n/**\n * @deprecated Provided for backwards compatibility for Capacitor v2 plugins.\n * Capacitor v3 plugins should import the plugin directly. This \"Plugins\"\n * export is deprecated in v3, and will be removed in v4.\n */\nconst Plugins = Capacitor.Plugins;\n/**\n * Provided for backwards compatibility. Use the registerPlugin() API\n * instead, and provide the web plugin as the \"web\" implmenetation.\n * For example\n *\n * export const Example = registerPlugin('Example', {\n * web: () => import('./web').then(m => new m.Example())\n * })\n *\n * @deprecated Deprecated in v3, will be removed from v4.\n */\nconst registerWebPlugin = (plugin) => legacyRegisterWebPlugin(Capacitor, plugin);\n\n/**\n * Base class web plugins should extend.\n */\nclass WebPlugin {\n constructor(config) {\n this.listeners = {};\n this.windowListeners = {};\n if (config) {\n // TODO: add link to upgrade guide\n console.warn(`Capacitor WebPlugin \"${config.name}\" config object was deprecated in v3 and will be removed in v4.`);\n this.config = config;\n }\n }\n addListener(eventName, listenerFunc) {\n const listeners = this.listeners[eventName];\n if (!listeners) {\n this.listeners[eventName] = [];\n }\n this.listeners[eventName].push(listenerFunc);\n // If we haven't added a window listener for this event and it requires one,\n // go ahead and add it\n const windowListener = this.windowListeners[eventName];\n if (windowListener && !windowListener.registered) {\n this.addWindowListener(windowListener);\n }\n const remove = async () => this.removeListener(eventName, listenerFunc);\n const p = Promise.resolve({ remove });\n Object.defineProperty(p, 'remove', {\n value: async () => {\n console.warn(`Using addListener() without 'await' is deprecated.`);\n await remove();\n },\n });\n return p;\n }\n async removeAllListeners() {\n this.listeners = {};\n for (const listener in this.windowListeners) {\n this.removeWindowListener(this.windowListeners[listener]);\n }\n this.windowListeners = {};\n }\n notifyListeners(eventName, data) {\n const listeners = this.listeners[eventName];\n if (listeners) {\n listeners.forEach(listener => listener(data));\n }\n }\n hasListeners(eventName) {\n return !!this.listeners[eventName].length;\n }\n registerWindowListener(windowEventName, pluginEventName) {\n this.windowListeners[pluginEventName] = {\n registered: false,\n windowEventName,\n pluginEventName,\n handler: event => {\n this.notifyListeners(pluginEventName, event);\n },\n };\n }\n unimplemented(msg = 'not implemented') {\n return new Capacitor.Exception(msg, ExceptionCode.Unimplemented);\n }\n unavailable(msg = 'not available') {\n return new Capacitor.Exception(msg, ExceptionCode.Unavailable);\n }\n async removeListener(eventName, listenerFunc) {\n const listeners = this.listeners[eventName];\n if (!listeners) {\n return;\n }\n const index = listeners.indexOf(listenerFunc);\n this.listeners[eventName].splice(index, 1);\n // If there are no more listeners for this type of event,\n // remove the window listener\n if (!this.listeners[eventName].length) {\n this.removeWindowListener(this.windowListeners[eventName]);\n }\n }\n addWindowListener(handle) {\n window.addEventListener(handle.windowEventName, handle.handler);\n handle.registered = true;\n }\n removeWindowListener(handle) {\n if (!handle) {\n return;\n }\n window.removeEventListener(handle.windowEventName, handle.handler);\n handle.registered = false;\n }\n}\n\nconst WebView = /*#__PURE__*/ registerPlugin('WebView');\n\nexport { Capacitor, CapacitorException, CapacitorPlatforms, ExceptionCode, Plugins, WebPlugin, WebView, addPlatform, registerPlugin, registerWebPlugin, setPlatform };\n//# sourceMappingURL=index.js.map\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{class:_vm.isMobileDevice() ? 'ma-0 pa-0' : '',attrs:{\"fluid\":\"\"}},[_c('section',{attrs:{\"name\":\"Table Réponses Formulaires\"}},[_c('v-data-table',{staticClass:\"form--datatable bordered--top\",attrs:{\"show-expand\":\"\",\"single-expand\":\"\",\"expand-icon\":\"mdi-arrow-down-drop-circle-outline\",\"locale\":\"fr-FR\",\"headers\":_vm.headers,\"items\":_vm.formulairesReponses,\"sort-by\":\"dateCreation\",\"sort-desc\":\"\",\"item-key\":\"id\",\"mobile-breakpoint\":\"100\",\"hide-default-footer\":\"\",\"page\":_vm.page},on:{\"update:page\":function($event){_vm.page=$event},\"page-count\":function($event){_vm.pageCount = $event}},scopedSlots:_vm._u([{key:\"top\",fn:function(){return [_c('v-toolbar',{attrs:{\"flat\":\"\"}},[_c('v-toolbar-title',[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"fa-file-alt\")]),_vm._v(\" Réponse aux formulaires \")],1),_c('v-spacer')],1),_c('v-row',{staticClass:\"px-4 pt-2\",attrs:{\"dense\":\"\",\"no-gutters\":\"\",\"justify\":\"space-between\"}},[_c('v-select',{staticClass:\"rounded-pill\",attrs:{\"items\":_vm.selectListModeles,\"label\":\"Filtrage modèle\",\"dense\":\"\",\"outlined\":\"\",\"clearable\":\"\",\"clear-icon\":\"mdi-close-circle-outline\"},on:{\"change\":_vm.loadAllReponses},model:{value:(_vm.idModele),callback:function ($$v) {_vm.idModele=$$v},expression:\"idModele\"}})],1),_c('v-row',{staticClass:\"px-4\"},[(!_vm.isMobileDevice())?_c('v-switch',{staticClass:\"mx-5\",attrs:{\"inset\":\"\",\"label\":\"Modèles ortho\"},model:{value:(_vm.filterOrtho),callback:function ($$v) {_vm.filterOrtho=$$v},expression:\"filterOrtho\"}}):_vm._e(),(!_vm.isMobileDevice())?_c('v-switch',{staticClass:\"mx-5\",attrs:{\"inset\":\"\",\"label\":\"Modèles dentaires\"},model:{value:(_vm.filterDentaire),callback:function ($$v) {_vm.filterDentaire=$$v},expression:\"filterDentaire\"}}):_vm._e()],1),_c('v-row',{staticClass:\"px-4 pt-2\",attrs:{\"dense\":\"\",\"no-gutters\":\"\",\"justify\":\"space-between\"}},[_c('small',{staticClass:\"col-10\"},[_c('em',[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-information-variant\")]),_vm._v(\"Sur cette page, toutes les réponses aux formulaires (par les clients et les agents sur l'application ainsi que les visiteurs du site) sont répertoriées. \")],1)]),_c('v-chip',{attrs:{\"outlined\":\"\",\"color\":\"primary\"}},[_vm._v(_vm._s(_vm.formulairesReponses.length)+\" Réponses\")])],1)]},proxy:true},{key:\"item.dateCreation\",fn:function(ref){\nvar item = ref.item;\nreturn [_vm._v(\" \"+_vm._s(_vm.formatDate(item.dateCreation))+\" \")]}},{key:\"item.id\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('v-btn',{staticClass:\"rounded-pill\",attrs:{\"color\":\"success\",\"outlined\":\"\"},on:{\"click\":function($event){return _vm.downloadFichierReponsesExcel(item.id)}}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-file-excel\")])],1),_vm._v(\" \"),_c('v-btn',{staticClass:\"rounded-pill\",attrs:{\"sm\":\"\",\"small\":\"\",\"color\":\"primary\",\"outlined\":\"\"},on:{\"click\":function($event){return _vm.changeCommentaire(item)}}},[_vm._v(\"Commentaire\")]),_vm._v(\" \"),_c('v-btn',{staticClass:\"rounded-pill\",attrs:{\"small\":\"\",\"color\":\"primary\",\"outlined\":\"\"},on:{\"click\":function($event){return _vm.openEnvoiMail(item)}}},[_vm._v(\"Mail\")])]}},{key:\"item.actions\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('v-menu',{attrs:{\"offset-y\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({attrs:{\"small\":\"\",\"color\":_vm.enumToColor(item.statut)}},'v-btn',attrs,false),on),[_vm._v(\" \"+_vm._s(_vm.enumToText(item.statut))+\" \")])]}}],null,true)},[_c('v-list',[_c('v-list-item',{on:{\"click\":function($event){return _vm.setStatutWithText(item.id, 'Envoyee')}}},[_c('v-list-item-title',[_vm._v(\"Nouveau\")])],1),_c('v-list-item',{on:{\"click\":function($event){return _vm.setStatutWithText(item.id, 'ValideParDirection')}}},[_c('v-list-item-title',[_vm._v(\"Validé par la direction\")])],1),_c('v-list-item',{on:{\"click\":function($event){return _vm.setStatutWithText(item.id, 'EnCoursDeTraitement')}}},[_c('v-list-item-title',[_vm._v(\"En cours de traitement\")])],1),_c('v-list-item',{on:{\"click\":function($event){return _vm.setStatutWithText(item.id, 'Traitee')}}},[_c('v-list-item-title',[_vm._v(\"Traité\")])],1)],1)],1)]}},{key:\"expanded-item\",fn:function(ref){\nvar headers = ref.headers;\nvar item = ref.item;\nreturn [_c('td',{staticClass:\"px-0\",attrs:{\"colspan\":headers.length}},[_c('v-card',{staticClass:\"py-2\",attrs:{\"width\":\"100%\",\"tile\":\"\"}},[(!_vm.isMobileDevice())?_c('v-row',{attrs:{\"dense\":\"\",\"no-gutters\":\"\",\"justify\":\"space-around\"}},[(_vm.reponsesRepondues(item).length)?_c('v-expansion-panels',{staticClass:\"col-5\",model:{value:(_vm.repondues),callback:function ($$v) {_vm.repondues=$$v},expression:\"repondues\"}},[_c('v-expansion-panel',[_c('v-expansion-panel-header',{staticClass:\"white--text\",attrs:{\"color\":\"primary\",\"expand-icon\":\"mdi-arrow-down-drop-circle-outline mdi-light\"}},[_vm._v(\"Questions Repondues\")]),_c('v-expansion-panel-content',{staticClass:\"pt-3\"},_vm._l((_vm.reponsesRepondues(item)),function(reponse){return _c('div',{key:reponse.id},[_c('strong',[_vm._v(_vm._s(reponse.question))]),_vm._v(\" : \"+_vm._s(reponse.reponse)+\" \")])}),0)],1)],1):_vm._e(),(_vm.reponsesNonRepondues(item).length)?_c('v-expansion-panels',{staticClass:\"col-5\",model:{value:(_vm.nonRepondues),callback:function ($$v) {_vm.nonRepondues=$$v},expression:\"nonRepondues\"}},[_c('v-expansion-panel',[_c('v-expansion-panel-header',{staticClass:\"white--text\",attrs:{\"color\":\"primary\",\"expand-icon\":\"mdi-arrow-down-drop-circle-outline mdi-light\"},on:{\"click\":function($event){return _vm.collapseEmptyReponses(item)}}},[_vm._v(\"Questions Non Répondues\")]),(_vm.isCollapsed(item))?_c('v-expansion-panel-content',{staticClass:\"pt-3\"},_vm._l((_vm.reponsesNonRepondues(item)),function(reponse){return _c('div',{key:reponse.id},[_c('strong',[_vm._v(_vm._s(reponse.question))])])}),0):_vm._e()],1)],1):_vm._e(),(!_vm.reponsesRepondues(item).length && !_vm.reponsesNonRepondues(item).length)?_c('v-alert',{staticClass:\"mt-3\",attrs:{\"type\":\"info\",\"outlined\":\"\"}},[_vm._v(\"Il n'y pas d'informations concernant ce formulaire pour l'instant.\")]):_vm._e()],1):_c('v-row',{staticClass:\"py-2\",attrs:{\"dense\":\"\",\"no-gutters\":\"\",\"justify\":\"center\"}},[(_vm.reponsesRepondues(item).length)?_c('v-expansion-panels',{staticClass:\"mb-1\",model:{value:(_vm.repondues),callback:function ($$v) {_vm.repondues=$$v},expression:\"repondues\"}},[_c('v-expansion-panel',[_c('v-expansion-panel-header',{staticClass:\"white--text\",attrs:{\"color\":\"primary\",\"expand-icon\":\"mdi-arrow-down-drop-circle-outline mdi-light\"}},[_vm._v(\"Questions Repondues\")]),(_vm.repondues != null)?_c('v-expansion-panel-content',{staticClass:\"pt-3\"},_vm._l((_vm.reponsesRepondues(item)),function(reponse){return _c('div',{key:reponse.id},[_c('strong',[_vm._v(_vm._s(reponse.question))]),_vm._v(\" : \"+_vm._s(reponse.reponse)+\" \")])}),0):_vm._e()],1)],1):_vm._e(),(_vm.reponsesNonRepondues(item).length)?_c('v-expansion-panels',{staticClass:\"mb-1\",model:{value:(_vm.nonRepondues),callback:function ($$v) {_vm.nonRepondues=$$v},expression:\"nonRepondues\"}},[_c('v-expansion-panel',[_c('v-expansion-panel-header',{staticClass:\"white--text\",attrs:{\"color\":\"primary\",\"expand-icon\":\"mdi-arrow-down-drop-circle-outline mdi-light\"},on:{\"click\":function($event){return _vm.collapseEmptyReponses(item)}}},[_vm._v(\"Questions Non Répondues\")]),_c('v-expansion-panel-content',{staticClass:\"pt-3\"},_vm._l((_vm.reponsesNonRepondues(item)),function(reponse){return _c('div',{key:reponse.id},[_c('strong',[_vm._v(_vm._s(reponse.question))])])}),0)],1)],1):_vm._e(),(!_vm.reponsesRepondues(item).length && !_vm.reponsesNonRepondues(item).length)?_c('v-alert',{staticClass:\"mt-3 mx-5\",attrs:{\"type\":\"info\",\"outlined\":\"\"}},[_vm._v(\"Il n'y pas d'informations concernant ce formulaire pour l'instant.\")]):_vm._e()],1)],1)],1)]}}],null,true)},[_c('v-pagination',{staticClass:\"pagination\",attrs:{\"slot\":\"footer\",\"length\":_vm.pageCount,\"prev-icon\":\"mdi-arrow-left-drop-circle-outline\",\"next-icon\":\"mdi-arrow-right-drop-circle-outline\",\"circle\":\"\",\"color\":\"primary\"},slot:\"footer\",model:{value:(_vm.page),callback:function ($$v) {_vm.page=$$v},expression:\"page\"}})],1)],1),_c('v-dialog',{attrs:{\"fullscreen\":_vm.isMobileDevice() ? true : false,\"persistent\":\"\",\"max-width\":\"600\"},model:{value:(_vm.dialogFormulaire.isOpen),callback:function ($$v) {_vm.$set(_vm.dialogFormulaire, \"isOpen\", $$v)},expression:\"dialogFormulaire.isOpen\"}},[_c('v-card',{attrs:{\"tile\":\"\",\"width\":\"100%\"}},[_c('v-app-bar',{staticClass:\"dialog--header\",attrs:{\"color\":\"primary\",\"flat\":\"\",\"dark\":\"\"}},[_c('v-spacer'),_c('span',{staticClass:\"text-h5\"},[_vm._v(\"Commentaire sur la réponse au formulaire\")]),_c('v-spacer')],1),_c('v-container',{staticClass:\"pb-10 pt-3\",attrs:{\"fluid\":\"\"}},[_c('v-textarea',{model:{value:(_vm.commentaireFormulaire),callback:function ($$v) {_vm.commentaireFormulaire=$$v},expression:\"commentaireFormulaire\"}})],1),_c('v-card-actions',[_c('v-footer',{staticClass:\"dialog--footer\",attrs:{\"absolute\":\"\",\"color\":\"primary\"}},[_c('v-btn',{staticClass:\"rounded-pill\",class:_vm.isMobileDevice() ? 'col-5' : 'col-4',attrs:{\"outlined\":\"\",\"dark\":\"\"},on:{\"click\":function($event){return _vm.dialogFormulaire.close()}}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-close-circle-outline\")]),_vm._v(\" Annuler \")],1),_c('v-spacer'),_c('v-btn',{staticClass:\"rounded-pill\",class:_vm.isMobileDevice() ? 'col-6' : 'col-4',attrs:{\"outlined\":\"\",\"dark\":\"\"},on:{\"click\":function($event){return _vm.saveNewCommentaire()}}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-content-save\")]),_vm._v(\" Envoyer \")],1)],1)],1)],1)],1),_c('DialogMail',{attrs:{\"dialog\":_vm.dialogMail,\"mail\":_vm.mail},on:{\"send-mail\":_vm.envoyerMail}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export enum Formulaire_Reponse_Statut {\r\n Envoyee,\r\n ValideParDirection,\r\n EnCoursDeTraitement,\r\n Traitee\r\n}\r\n\r\nexport function Formulaire_Reponse_Statut_ToText(input: Formulaire_Reponse_Statut) {\r\n switch (input) {\r\n case Formulaire_Reponse_Statut.EnCoursDeTraitement:\r\n return 'En cours'\r\n case Formulaire_Reponse_Statut.ValideParDirection:\r\n return 'Validé par la direction'\r\n case Formulaire_Reponse_Statut.Envoyee:\r\n return 'Nouveau'\r\n case Formulaire_Reponse_Statut.Traitee:\r\n return 'Traité'\r\n }\r\n}\r\n","import { FormulaireReponduAdmin } from '@/domain/FormulaireReponseAdmin'\r\nimport { Formulaire_Reponse_Statut } from '@/domain/Formulaire_Reponse_Statut'\r\nimport _ from 'lodash'\r\nimport mixins from 'vue-typed-mixins'\r\nimport globalMixin from '../globalMixin'\r\nimport { FormulaireOutput } from './models/formulaire'\r\nimport { HubConnectionBuilder } from '@microsoft/signalr'\r\nimport { Files } from '@/global/requesting/requester'\r\nimport { Capacitor } from '@capacitor/core'\r\nimport { Filesystem, Directory, Encoding } from '@capacitor/filesystem'\r\nimport Openable from '@/global/viewmodels/openable'\r\nimport SendMailModel from '@/layout/model/SendMailModel'\r\n\r\nexport default mixins(globalMixin).extend({\r\n data() {\r\n return {\r\n formulairesReponses: [] as FormulaireReponduAdmin[],\r\n formulairesModeles: [] as FormulaireOutput[],\r\n idModele: this.$route.params.idModele || ('' as string),\r\n filterOrtho: true,\r\n filterDentaire: true,\r\n commentaireFormulaire: null as null | string,\r\n idFormulaire: null as null | number,\r\n dialogFormulaire: new Openable(),\r\n dialogMail: new Openable(),\r\n mail: new SendMailModel(),\r\n }\r\n },\r\n methods: {\r\n loadAllReponses() {\r\n this.$loader.go()\r\n this.$http\r\n .api(`formulaireReponse/all?idModeleFormulaire=${this.idModele || ''}&ortho=${this.filterOrtho}&dentaire=${this.filterDentaire}`)\r\n .get()\r\n .then(x => {\r\n this.formulairesReponses = x.data\r\n })\r\n .catch(x => this.$swal.toast.errorApi(x))\r\n .finally(() => this.$loader.stop())\r\n },\r\n loadAllModelesFormulaires() {\r\n this.$loader.go()\r\n this.$http\r\n .api(`formulaire/all`)\r\n .get()\r\n .then(x => {\r\n this.formulairesModeles = x.data\r\n })\r\n .catch(x => this.$swal.toast.errorApi(x))\r\n .finally(() => this.$loader.stop())\r\n },\r\n setStatut(id: number, statut: Formulaire_Reponse_Statut) {\r\n this.$loader.go()\r\n this.$http\r\n .api(`formulaireReponse/change-statut`)\r\n .post({ idFormulaireReponse: id, statut: statut })\r\n .then(x => {\r\n this.$swal.toast.success()\r\n this.loadAllReponses()\r\n this.loadPastilles()\r\n })\r\n .catch(x => this.$swal.toast.errorApi(x))\r\n .finally(() => this.$loader.stop())\r\n },\r\n changeCommentaire(formulaireReponse: FormulaireReponduAdmin) {\r\n this.idFormulaire = formulaireReponse.id\r\n this.commentaireFormulaire = formulaireReponse.commentaire\r\n this.dialogFormulaire.open()\r\n },\r\n saveNewCommentaire() {\r\n this.$loader.go()\r\n this.$http\r\n .api(`formulaireReponse/change-commentaire`)\r\n .patch({ id: this.idFormulaire, commentaire: this.commentaireFormulaire })\r\n .then(x => {\r\n this.$swal.toast.success()\r\n this.loadAllReponses()\r\n this.dialogFormulaire.close()\r\n })\r\n .catch(x => this.$swal.toast.errorApi(x))\r\n .finally(() => this.$loader.stop())\r\n },\r\n downloadFichierReponsesExcel(id: number) {\r\n this.$http\r\n .api(`formulairereponse/get-url-fichier-excel?input=${id}`)\r\n .get()\r\n .then(x => {\r\n if (Capacitor.isNativePlatform()) {\r\n window.location.href = this.$http.baseUrl + `/formulairereponse/get-excel?input=${x.data}`\r\n } else {\r\n window.location.href = this.$http.baseUrl + `/formulairereponse/get-excel?input=${x.data}`\r\n }\r\n })\r\n .catch(x => this.$swal.toast.errorApi(x))\r\n .finally(() => this.$loader.stop())\r\n },\r\n formatDate(date: string) {\r\n return new Date(date).toLocaleDateString('fr-FR')\r\n },\r\n openEnvoiMail(demande: FormulaireReponduAdmin) {\r\n // this.modalEnvoiMailDemandeReeditionFacture(demande) // OLD version\r\n\r\n this.mail = new SendMailModel()\r\n this.mail.mail = demande.userMail\r\n this.mail.id = demande.id\r\n this.dialogMail.open()\r\n },\r\n envoyerMail(mail: SendMailModel) {\r\n const formData = new FormData()\r\n\r\n if (!mail) return\r\n\r\n formData.append('idFormulaireReponse', mail.id.toString())\r\n if (!mail.mail) {\r\n this.$swal.toast.error('Aucun mail renseigné.')\r\n return\r\n }\r\n formData.append('mail', mail.mail)\r\n\r\n if (!mail.corps) {\r\n this.$swal.toast.error('Aucun corps renseigné.')\r\n return\r\n }\r\n formData.append('corps', mail.corps)\r\n\r\n\r\n for (const file of mail.files) {\r\n formData.append('files', file)\r\n }\r\n\r\n this.$loader.go()\r\n\r\n this.$http\r\n .api('formulairereponse/send-mail')\r\n .post(formData)\r\n .then(x => {\r\n this.$swal.toast.success(\"Le mail a bien été envoyé.\")\r\n })\r\n .catch(x => this.$swal.toast.errorApi(x))\r\n .finally(() => this.$loader.stop())\r\n }\r\n },\r\n mounted() {\r\n this.loadAllModelesFormulaires()\r\n this.loadAllReponses()\r\n\r\n const connection = new HubConnectionBuilder().withUrl(process.env.VUE_APP_API_URL + '/hubs/refresh').build()\r\n connection.start().then(() => {\r\n connection.on('RefreshReponsesFormulaires', () => {\r\n this.loadAllReponses()\r\n })\r\n })\r\n },\r\n computed: {\r\n selectListModeles(): { text: string; value: string }[] {\r\n const res = _.map(this.formulairesModeles, modele => {\r\n return {\r\n value: modele.id.toString(),\r\n text: modele.nom\r\n }\r\n })\r\n res.unshift({ text: 'Tous', value: '' })\r\n\r\n return res\r\n }\r\n },\r\n watch: {\r\n filterOrtho() {\r\n this.loadAllReponses()\r\n },\r\n filterDentaire() {\r\n this.loadAllReponses()\r\n }\r\n }\r\n})\r\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\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\n\n\n\n\n\n\n\n\n\n\n\r\nimport { FormulaireRepondu } from '@/domain/FormulaireRepondu'\r\nimport { Formulaire_Reponse_Statut, Formulaire_Reponse_Statut_ToText } from '@/domain/Formulaire_Reponse_Statut'\r\nimport Openable from '@/global/viewmodels/openable'\r\nimport SendMailModel from '@/layout/model/SendMailModel'\r\nimport mobileTypeMixin from '@/plugins/mixins/mobileTypeMixin'\r\nimport mixins from 'vue-typed-mixins'\r\nimport FormulaireReponseAdministrationMixin from './formulaireReponseAdministrationMixin'\r\n\r\nexport default mixins(FormulaireReponseAdministrationMixin, mobileTypeMixin).extend({\r\n components: {\r\n DialogMail: () => import('../../layout/components/DialogMail.vue'),\r\n },\r\n data() {\r\n return {\r\n headers: this.isMobileDevice()\r\n ? [\r\n { text: 'Code', value: 'codeClientBiobank' },\r\n { text: 'Actions', value: 'actions', align: 'center' },\r\n { text: '', value: 'id' },\r\n ]\r\n : [\r\n { text: 'Date', value: 'dateCreation' },\r\n { text: 'Formulaire utilisé', value: 'nomModeleFormulaire' },\r\n { text: 'Utilisateur', value: 'user' },\r\n { text: 'Code', value: 'codeClientBiobank' },\r\n { text: 'Actions', value: 'actions', align: 'center' },\r\n { text: 'Dernière action', value: 'lastUserTraitement' },\r\n { text: '', value: 'id' },\r\n ],\r\n emptyReponsesVisible: [] as number[],\r\n page: 1,\r\n pageCount: 0,\r\n repondues: 0,\r\n nonRepondues: 0,\r\n }\r\n },\r\n methods: {\r\n enumToText(statut: Formulaire_Reponse_Statut) {\r\n return Formulaire_Reponse_Statut_ToText(statut)\r\n },\r\n enumToColor(statut: Formulaire_Reponse_Statut) {\r\n switch (statut) {\r\n case Formulaire_Reponse_Statut.Envoyee:\r\n return 'info'\r\n case Formulaire_Reponse_Statut.ValideParDirection:\r\n return 'deep-purple lighten-4'\r\n case Formulaire_Reponse_Statut.EnCoursDeTraitement:\r\n return 'warning'\r\n case Formulaire_Reponse_Statut.Traitee:\r\n return 'success'\r\n }\r\n },\r\n setStatutWithText(id: number, enum_: string) {\r\n const value = enum_ == 'Envoyee' ? Formulaire_Reponse_Statut.Envoyee : enum_ == 'EnCoursDeTraitement' ? Formulaire_Reponse_Statut.EnCoursDeTraitement : enum_ == 'ValideParDirection' ? Formulaire_Reponse_Statut.ValideParDirection : Formulaire_Reponse_Statut.Traitee\r\n\r\n return this.setStatut(id, value)\r\n },\r\n isCollapsed(item: FormulaireRepondu) {\r\n return this.emptyReponsesVisible.indexOf(item.id) !== -1\r\n },\r\n collapseEmptyReponses(item: FormulaireRepondu) {\r\n const index = this.emptyReponsesVisible.indexOf(item.id)\r\n if (index === -1) this.emptyReponsesVisible.push(item.id)\r\n else this.emptyReponsesVisible.splice(index, 1)\r\n },\r\n reponsesRepondues(item: FormulaireRepondu) {\r\n return item.reponses.filter((x) => x.reponse !== null && x.reponse !== '')\r\n },\r\n reponsesNonRepondues(item: FormulaireRepondu) {\r\n return item.reponses.filter((x) => x.reponse === null || x.reponse === '')\r\n },\r\n },\r\n})\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormulaireReponseAdministration.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormulaireReponseAdministration.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./FormulaireReponseAdministration.vue?vue&type=template&id=89b43830&scoped=true&\"\nimport script from \"./FormulaireReponseAdministration.vue?vue&type=script&lang=ts&\"\nexport * from \"./FormulaireReponseAdministration.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./FormulaireReponseAdministration.vue?vue&type=style&index=0&id=89b43830&scoped=true&lang=css&\"\nimport style1 from \"./FormulaireReponseAdministration.vue?vue&type=style&index=1&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 \"89b43830\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormulaireReponseAdministration.vue?vue&type=style&index=0&id=89b43830&scoped=true&lang=css&\"","// Pour le mixin :https://stackoverflow.com/questions/48515023/display-different-vuejs-components-for-mobile-browsers\r\n\r\nimport Vue from 'vue'\r\n\r\n// Pour la détection : https://stackoverflow.com/questions/11381673/detecting-a-mobile-browser\r\nexport default Vue.extend({\r\n methods: {\r\n isAndroid() {\r\n return navigator.userAgent.match(/Android/i)\r\n },\r\n isBlackBerry: function() {\r\n return navigator.userAgent.match(/BlackBerry/i)\r\n },\r\n isiOS: function() {\r\n return navigator.userAgent.match(/iPhone|iPad|iPod/i)\r\n },\r\n isOpera: function() {\r\n return navigator.userAgent.match(/Opera Mini/i)\r\n },\r\n isWindows: function() {\r\n return navigator.userAgent.match(/IEMobile/i) || navigator.userAgent.match(/WPDesktop/i)\r\n },\r\n isMobileDevice() {\r\n return this.isAndroid() || this.isBlackBerry() || this.isiOS() || this.isOpera() || this.isWindows()\r\n }\r\n }\r\n})\r\n","import unsupportedIterableToArray from \"./unsupportedIterableToArray\";\nexport default function _createForOfIteratorHelper(o) {\n if (typeof Symbol === \"undefined\" || o[Symbol.iterator] == null) {\n if (Array.isArray(o) || (o = unsupportedIterableToArray(o))) {\n var i = 0;\n\n var F = function F() {};\n\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n\n var it,\n normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = o[Symbol.iterator]();\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","export default class SendMailModel {\r\n public id = 0\r\n public mail = ''\r\n public corps = ''\r\n public files = [] as Blob[]\r\n}\r\n","export default class Openable {\r\n public isOpen = false\r\n\r\n public open() {\r\n this.isOpen = true\r\n }\r\n public close() {\r\n this.isOpen = false\r\n }\r\n\r\n public change() {\r\n this.isOpen = !this.isOpen\r\n }\r\n}\r\n"],"sourceRoot":""}