Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cnamts/vue-dot

Package Overview
Dependencies
Maintainers
2
Versions
164
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cnamts/vue-dot - npm Package Compare versions

Comparing version 2.0.0-alpha.21 to 2.0.0-alpha.22

src/functions/calcHumanFileSize.ts

4

dist/src/components/index.js

@@ -15,3 +15,2 @@ "use strict";

var PaginatedTable_vue_1 = __importDefault(require("./PaginatedTable.vue"));
var UploadWorkflow_vue_1 = __importDefault(require("./UploadWorkflow.vue"));
var components = {

@@ -26,4 +25,3 @@ CopyBtn: CopyBtn_vue_1.default,

NotificationBar: NotificationBar_vue_1.default,
PaginatedTable: PaginatedTable_vue_1.default,
UploadWorkflow: UploadWorkflow_vue_1.default
PaginatedTable: PaginatedTable_vue_1.default
};

@@ -30,0 +28,0 @@ /** Globally register all components */

@@ -1,1 +0,1 @@

(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("vuetify/lib/components/VMenu"),require("vuetify/lib/components/VDatePicker"),require("vuetify/lib/components/VForm"),require("vuetify/lib/components/VIcon"),require("vuetify/lib/components/VDialog"),require("@mdi/js"),require("vuetify/lib/components/VSnackbar"),require("vuex"),require("vuetify/lib/components/VGrid"),require("vuetify/lib/components/VTextField"),require("dayjs"),require("vuetify/lib/components/VBtn"),require("vue"),require("vuetify/lib/components/VDataTable"),require("vuetify/lib/directives/ripple"),require("vuetify/lib/components/VCard"),require("vuetify/lib/components/VSelect"),require("dayjs/plugin/customParseFormat"),require("languages"),require("vuetify/lib/components/VTooltip"),require("vuetify/lib/components/VList"),require("vuetify/lib/components/VDivider")):"function"===typeof define&&define.amd?define(["vuetify/lib/components/VMenu","vuetify/lib/components/VDatePicker","vuetify/lib/components/VForm","vuetify/lib/components/VIcon","vuetify/lib/components/VDialog","@mdi/js","vuetify/lib/components/VSnackbar","vuex","vuetify/lib/components/VGrid","vuetify/lib/components/VTextField","dayjs","vuetify/lib/components/VBtn","vue","vuetify/lib/components/VDataTable","vuetify/lib/directives/ripple","vuetify/lib/components/VCard","vuetify/lib/components/VSelect","dayjs/plugin/customParseFormat","languages","vuetify/lib/components/VTooltip","vuetify/lib/components/VList","vuetify/lib/components/VDivider"],e):"object"===typeof exports?exports["vue-dot"]=e(require("vuetify/lib/components/VMenu"),require("vuetify/lib/components/VDatePicker"),require("vuetify/lib/components/VForm"),require("vuetify/lib/components/VIcon"),require("vuetify/lib/components/VDialog"),require("@mdi/js"),require("vuetify/lib/components/VSnackbar"),require("vuex"),require("vuetify/lib/components/VGrid"),require("vuetify/lib/components/VTextField"),require("dayjs"),require("vuetify/lib/components/VBtn"),require("vue"),require("vuetify/lib/components/VDataTable"),require("vuetify/lib/directives/ripple"),require("vuetify/lib/components/VCard"),require("vuetify/lib/components/VSelect"),require("dayjs/plugin/customParseFormat"),require("languages"),require("vuetify/lib/components/VTooltip"),require("vuetify/lib/components/VList"),require("vuetify/lib/components/VDivider")):t["vue-dot"]=e(t["vuetify/lib/components/VMenu"],t["vuetify/lib/components/VDatePicker"],t["vuetify/lib/components/VForm"],t["vuetify/lib/components/VIcon"],t["vuetify/lib/components/VDialog"],t["@mdi/js"],t["vuetify/lib/components/VSnackbar"],t["vuex"],t["vuetify/lib/components/VGrid"],t["vuetify/lib/components/VTextField"],t["dayjs"],t["vuetify/lib/components/VBtn"],t["Vue"],t["vuetify/lib/components/VDataTable"],t["vuetify/lib/directives/ripple"],t["vuetify/lib/components/VCard"],t["vuetify/lib/components/VSelect"],t["dayjs/plugin/customParseFormat"],t["languages"],t["vuetify/lib/components/VTooltip"],t["vuetify/lib/components/VList"],t["vuetify/lib/components/VDivider"])})("undefined"!==typeof self?self:this,function(t,e,n,o,r,i,a,u,c,l,s,f,d,p,y,v,b,m,h,_,g,O){return function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"05b9":function(t,e,n){},"05e5":function(t,e,n){"use strict";var o=n("5afb"),r=n.n(o);r.a},"079e":function(e,n){e.exports=t},"082c":function(t,e,n){"use strict";n.r(e);var o=n("9740"),r=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,function(){return o[t]})}(i);e["default"]=r.a},"0a9a":function(t,e,n){"use strict";var o=n("e8e5"),r=n.n(o);r.a},"0c7c":function(t,e,n){"use strict";function o(t,e,n,o,r,i,a,u){var c,l="function"===typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),o&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),a?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},l._ssrRegister=c):r&&(c=u?function(){r.call(this,this.$root.$options.shadowRoot)}:r),c)if(l.functional){l._injectStyles=c;var s=l.render;l.render=function(t,e){return c.call(e),s(t,e)}}else{var f=l.beforeCreate;l.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:l}}n.d(e,"a",function(){return o})},1543:function(t,e,n){"use strict";var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"upload-workflow"},[t._t("title",[n("h4",{staticClass:"title mb-2"},[t._v("\n\t\t\t"+t._s(t.sectionTitle)+"\n\t\t")])]),n("FileList",{attrs:{files:t.fileList},on:{"delete-file":t.deleteFile,retry:t.retry}}),n("FileUpload",{ref:"fileUpload",staticClass:"mt-6",on:{change:t.fileSelected,error:t.uploadError},model:{value:t.uploadedFile,callback:function(e){t.uploadedFile=e},expression:"uploadedFile"}}),n("VDialog",{attrs:{persistent:"",width:"550"},model:{value:t.dialog,callback:function(e){t.dialog=e},expression:"dialog"}},[n("VCard",{staticClass:"pa-4"},[n("VForm",{ref:"form"},[n("h4",{staticClass:"mb-4"},[t._v("\n\t\t\t\t\tFichier transmis\n\t\t\t\t")]),n("VSelect",{attrs:{items:t.selectItems,rules:t.selectRules,color:t.$vuetify.theme.dark?"accent":null,filled:"","validate-on-blur":"","item-text":"title","item-value":"value",label:"Nature du fichier"},model:{value:t.selectedItem,callback:function(e){t.selectedItem=e},expression:"selectedItem"}}),n("VLayout",{staticClass:"mt-2",attrs:{wrap:""}},[n("VSpacer"),n("VBtn",{staticClass:"mr-4",attrs:{text:"",color:"accent"},on:{click:function(e){t.dialog=!1}}},[t._v("\n\t\t\t\t\t\tRetour\n\t\t\t\t\t")]),n("VBtn",{attrs:{color:"accent"},on:{click:t.confirmAction}},[t._v("\n\t\t\t\t\t\tConfirmer\n\t\t\t\t\t")])],1)],1)],1)],1)],2)},r=[];n.d(e,"a",function(){return o}),n.d(e,"b",function(){return r})},1547:function(t,e,n){"use strict";n.r(e);var o=n("9e4b"),r=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,function(){return o[t]})}(i);e["default"]=r.a},"170f":function(t,n){t.exports=e},1724:function(t,e,n){"use strict";n.r(e);var o=n("4b66"),r=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,function(){return o[t]})}(i);e["default"]=r.a},"1b42":function(t,e){t.exports=n},"1eb2":function(t,e,n){"use strict";var o;"undefined"!==typeof window&&(n("f6fd"),(o=window.document.currentScript)&&(o=o.src.match(/(.+\/)[^\/]+\.js(\?.*)?$/))&&(n.p=o[1]))},"21f2":function(t,e,n){"use strict";var o=n("eaa4"),r=n.n(o);r.a},2263:function(t,e,n){"use strict";var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("VList",{staticClass:"vd-file-list"},[t._l(t.files,function(e,o){return[n("VListItem",{key:o},[n("VListItemAvatar",[n("VIcon",{attrs:{size:24,color:t.getIconInfo(e.state).color}},[t._v("\n\t\t\t\t\t"+t._s(t.getIconInfo(e.state).icon)+"\n\t\t\t\t")])],1),n("VListItemContent",[n("VListItemTitle",{class:t.getItemColor(e.state)},[t._v("\n\t\t\t\t\t"+t._s(e.title)+"\n\t\t\t\t")]),e.name?n("VListItemSubtitle",[t._v("\n\t\t\t\t\t"+t._s(e.name)+"\n\t\t\t\t")]):t._e()],1),n("VListItemAction",[n("VLayout",{attrs:{"justify-end":""}},["error"===e.state?n("VBtn",{attrs:{icon:"",small:""},on:{click:function(n){return t.$emit("retry",e.id)}}},[n("VIcon",{attrs:{color:t.iconColor}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.refreshIcon)+"\n\t\t\t\t\t\t")])],1):t._e(),t.showViewBtn&&"success"===e.state?n("VBtn",{staticClass:"mr-2",attrs:{icon:"",small:""},on:{click:function(n){return t.$emit("view-file",e)}}},[n("VIcon",{attrs:{color:t.iconColor}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.eyeIcon)+"\n\t\t\t\t\t\t")])],1):t._e(),"success"===e.state?n("VBtn",{attrs:{icon:"",small:""},on:{click:function(n){return t.$emit("delete-file",e.id)}}},[n("VIcon",{attrs:{color:t.iconColor}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.deleteIcon)+"\n\t\t\t\t\t\t")])],1):t._e()],1)],1)],1),o+1!==t.files.length?n("VDivider",{key:"divider-"+o,attrs:{inset:""}}):t._e()]})],2)},r=[];n.d(e,"a",function(){return o}),n.d(e,"b",function(){return r})},"256d":function(t,e,n){"use strict";function o(t){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=this&&this.__decorate||function(t,e,n,r){var i,a=arguments.length,u=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"===("undefined"===typeof Reflect?"undefined":o(Reflect))&&"function"===typeof Reflect.decorate)u=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(u=(a<3?i(u):a>3?i(e,n,u):i(e,n))||u);return a>3&&u&&Object.defineProperty(e,n,u),u},a=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var u=a(n("8bbf")),c=a(n("2fe1")),l=u.default.extend({props:{list:{type:[Array,Object],required:!0},titleClass:{type:String,default:"mb-3 headline"},listTitle:{type:String,default:void 0},labelColor:{type:String,default:"#757575"},valueColor:{type:String,default:"currentColor"},column:{type:Boolean,default:!1},flex:{type:Boolean,default:!1},placeholder:{type:String,default:"…"},minWidth:{type:String,default:void 0},width:{type:String,default:"200px"}}}),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e=i([c.default],e),e}(l);e.default=s},"269a":function(t,e){t.exports=function(t,e){var n="function"===typeof t.exports?t.exports.extendOptions:t.options;for(var o in"function"===typeof t.exports&&(n.directives=t.exports.options.directives),n.directives=n.directives||{},e)n.directives[o]=n.directives[o]||e[o]}},2760:function(t,e,n){"use strict";var o=n("05b9"),r=n.n(o);r.a},2790:function(t,e,n){"use strict";function o(t){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=this&&this.__decorate||function(t,e,n,r){var i,a=arguments.length,u=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"===("undefined"===typeof Reflect?"undefined":o(Reflect))&&"function"===typeof Reflect.decorate)u=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(u=(a<3?i(u):a>3?i(e,n,u):i(e,n))||u);return a>3&&u&&Object.defineProperty(e,n,u),u},a=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var u=a(n("8bbf")),c=a(n("2fe1")),l=u.default.extend({props:{color:{type:String,default:"currentColor"},icon:{type:String,default:void 0},large:{type:Boolean,default:!1},medium:{type:Boolean,default:!1},small:{type:Boolean,default:!1},xLarge:{type:Boolean,default:!1},size:{type:String,default:void 0}}}),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),Object.defineProperty(e.prototype,"themeIcon",{get:function(){var t=this;if(this.$theme&&this.$theme.config&&this.$theme.config.icons){var e=this.$theme.config.icons.find(function(e){return t.icon===e.name});return e}},enumerable:!0,configurable:!0}),e=i([c.default],e),e}(l);e.default=s},"2c41":function(t,e,n){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var r=o(n("a626"));function i(t,e,n){void 0===t&&(t=""),void 0===e&&(e=""),void 0===n&&(n=!0);var o=0,i=0,a="",u="";while(o<e.length&&i<t.length){u=e[o];var c=r.default[u],l=t[i];c&&c.pattern&&!c.escape?(c.pattern.test(l)&&(a+=c.transform?c.transform(l):l,o++),i++):(c&&c.escape&&(o++,u=e[o]),n&&(a+=u),l===u&&i++,o++)}var s="";while(o<e.length&&n){if(u=e[o],r.default[u]){s="";break}s+=u,o++}return a+s}e.default=i},"2d5d":function(t,e,n){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}},r=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e};Object.defineProperty(e,"__esModule",{value:!0});var i=o(n("8bbf")),a=r(n("3c4e"));function u(t){return i.default.extend({props:{vuetifyOptions:{type:Object,default:void 0}},computed:{options:function(){return this.vuetifyOptions?a.all([t,this.vuetifyOptions]):t}}})}e.default=u},"2fe1":function(t,e,n){"use strict";n.r(e),n.d(e,"createDecorator",function(){return s}),n.d(e,"mixins",function(){return f});var o=n("8bbf"),r=n.n(o),i="undefined"!==typeof Reflect&&Reflect.defineMetadata&&Reflect.getOwnMetadataKeys;function a(t,e){u(t,e),Object.getOwnPropertyNames(e.prototype).forEach(function(n){u(t.prototype,e.prototype,n)}),Object.getOwnPropertyNames(e).forEach(function(n){u(t,e,n)})}function u(t,e,n){var o=n?Reflect.getOwnMetadataKeys(e,n):Reflect.getOwnMetadataKeys(e);o.forEach(function(o){var r=n?Reflect.getOwnMetadata(o,e,n):Reflect.getOwnMetadata(o,e);n?Reflect.defineMetadata(o,r,t,n):Reflect.defineMetadata(o,r,t)})}var c={__proto__:[]},l=c instanceof Array;function s(t){return function(e,n,o){var r="function"===typeof e?e:e.constructor;r.__decorators__||(r.__decorators__=[]),"number"!==typeof o&&(o=void 0),r.__decorators__.push(function(e){return t(e,n,o)})}}function f(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return r.a.extend({mixins:t})}function d(t){var e=typeof t;return null==t||"object"!==e&&"function"!==e}function p(t,e){var n=e.prototype._init;e.prototype._init=function(){var e=this,n=Object.getOwnPropertyNames(t);if(t.$options.props)for(var o in t.$options.props)t.hasOwnProperty(o)||n.push(o);n.forEach(function(n){"_"!==n.charAt(0)&&Object.defineProperty(e,n,{get:function(){return t[n]},set:function(e){t[n]=e},configurable:!0})})};var o=new e;e.prototype._init=n;var r={};return Object.keys(o).forEach(function(t){void 0!==o[t]&&(r[t]=o[t])}),r}var y=["data","beforeCreate","created","beforeMount","mounted","beforeDestroy","destroyed","beforeUpdate","updated","activated","deactivated","render","errorCaptured","serverPrefetch"];function v(t,e){void 0===e&&(e={}),e.name=e.name||t._componentTag||t.name;var n=t.prototype;Object.getOwnPropertyNames(n).forEach(function(t){if("constructor"!==t)if(y.indexOf(t)>-1)e[t]=n[t];else{var o=Object.getOwnPropertyDescriptor(n,t);void 0!==o.value?"function"===typeof o.value?(e.methods||(e.methods={}))[t]=o.value:(e.mixins||(e.mixins=[])).push({data:function(){var e;return e={},e[t]=o.value,e}}):(o.get||o.set)&&((e.computed||(e.computed={}))[t]={get:o.get,set:o.set})}}),(e.mixins||(e.mixins=[])).push({data:function(){return p(this,t)}});var o=t.__decorators__;o&&(o.forEach(function(t){return t(e)}),delete t.__decorators__);var u=Object.getPrototypeOf(t.prototype),c=u instanceof r.a?u.constructor:r.a,l=c.extend(e);return m(l,t,c),i&&a(l,t),l}var b={prototype:!0,arguments:!0,callee:!0,caller:!0};function m(t,e,n){Object.getOwnPropertyNames(e).forEach(function(o){if(!b[o]){var r=Object.getOwnPropertyDescriptor(t,o);if(!r||r.configurable){var i=Object.getOwnPropertyDescriptor(e,o);if(!l){if("cid"===o)return;var a=Object.getOwnPropertyDescriptor(n,o);if(!d(i.value)&&a&&a.value===i.value)return}0,Object.defineProperty(t,o,i)}}})}function h(t){return"function"===typeof t?v(t):function(e){return v(e,t)}}h.registerHooks=function(t){y.push.apply(y,t)},e["default"]=h},"354e":function(t,e){t.exports=o},3617:function(t,e,n){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var r=o(n("b2a6")),i=o(n("b092")),a=o(n("c618")),u=o(n("e94a")),c=o(n("504e")),l=o(n("68f8")),s=o(n("891a")),f=o(n("3b62")),d=o(n("b52b")),p=o(n("4909")),y={CopyBtn:r.default,CustomIcon:i.default,DataList:a.default,DatePicker:u.default,FileList:c.default,FileUpload:l.default,LangBtn:s.default,NotificationBar:f.default,PaginatedTable:d.default,UploadWorkflow:p.default};e.default=function(t){Object.keys(y).forEach(function(e){t.component(e,y[e])})}},3699:function(t,e){t.exports=r},"3b62":function(t,e,n){"use strict";n.r(e);var o=n("fabf"),r=n("4037");for(var i in r)"default"!==i&&function(t){n.d(e,t,function(){return r[t]})}(i);n("21f2");var a=n("0c7c"),u=n("6544"),c=n.n(u),l=n("863d"),s=n("354e"),f=n("5f3c"),d=n("49f4"),p=Object(a["a"])(r["default"],o["a"],o["b"],!1,null,"b349f5ea",null);e["default"]=p.exports,c()(p,{VBtn:l["VBtn"],VIcon:s["VIcon"],VLayout:f["VLayout"],VSnackbar:d["VSnackbar"]})},"3b64":function(t,e,n){"use strict";var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("VBtn",t._b({attrs:{"aria-label":t.label},on:{click:t.btnClicked}},"VBtn",t.options.btn,!1),[t._t("icon",[n("VIcon",[t._v("\n\t\t\t\t"+t._s(t.copyIcon)+"\n\t\t\t")])])],2),t.showTooltip?n("VTooltip",t._b({attrs:{activator:".copy-tooltip-activator"},model:{value:t.tooltip,callback:function(e){t.tooltip=e},expression:"tooltip"}},"VTooltip",t.options.tooltip,!1),[t._t("tooltip",[t._v("\n\t\t\tTexte copié !\n\t\t")])],2):t._e()],1)},r=[];n.d(e,"a",function(){return o}),n.d(e,"b",function(){return r})},"3c4e":function(t,e,n){"use strict";var o=function(t){return r(t)&&!i(t)};function r(t){return!!t&&"object"===typeof t}function i(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||c(t)}var a="function"===typeof Symbol&&Symbol.for,u=a?Symbol.for("react.element"):60103;function c(t){return t.$$typeof===u}function l(t){return Array.isArray(t)?[]:{}}function s(t,e){return!1!==e.clone&&e.isMergeableObject(t)?b(l(t),t,e):t}function f(t,e,n){return t.concat(e).map(function(t){return s(t,n)})}function d(t,e){if(!e.customMerge)return b;var n=e.customMerge(t);return"function"===typeof n?n:b}function p(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]}function y(t){return Object.keys(t).concat(p(t))}function v(t,e,n){var o={};return n.isMergeableObject(t)&&y(t).forEach(function(e){o[e]=s(t[e],n)}),y(e).forEach(function(r){n.isMergeableObject(e[r])&&t[r]?o[r]=d(r,n)(t[r],e[r],n):o[r]=s(e[r],n)}),o}function b(t,e,n){n=n||{},n.arrayMerge=n.arrayMerge||f,n.isMergeableObject=n.isMergeableObject||o;var r=Array.isArray(e),i=Array.isArray(t),a=r===i;return a?r?n.arrayMerge(t,e,n):v(t,e,n):s(e,n)}b.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(t,n){return b(t,n,e)},{})};var m=b;t.exports=m},4037:function(t,e,n){"use strict";n.r(e);var o=n("7835"),r=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,function(){return o[t]})}(i);e["default"]=r.a},4200:function(t,e,n){"use strict";n.r(e);var o=n("256d"),r=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,function(){return o[t]})}(i);e["default"]=r.a},"44bf":function(t,e){t.exports=i},4757:function(t,e,n){"use strict";n.r(e);var o=n("5413"),r=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,function(){return o[t]})}(i);e["default"]=r.a},4909:function(t,e,n){"use strict";n.r(e);var o=n("1543"),r=n("082c");for(var i in r)"default"!==i&&function(t){n.d(e,t,function(){return r[t]})}(i);n("0a9a");var a=n("0c7c"),u=n("6544"),c=n.n(u),l=n("863d"),s=n("b7cf"),f=n("3699"),d=n("1b42"),p=n("5f3c"),y=n("bfa4"),v=Object(a["a"])(r["default"],o["a"],o["b"],!1,null,"73a29273",null);e["default"]=v.exports,c()(v,{VBtn:l["VBtn"],VCard:s["VCard"],VDialog:f["VDialog"],VForm:d["VForm"],VLayout:p["VLayout"],VSelect:y["VSelect"],VSpacer:p["VSpacer"]})},"49f4":function(t,e){t.exports=a},"4b66":function(t,e,n){"use strict";function o(t){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=this&&this.__decorate||function(t,e,n,r){var i,a=arguments.length,u=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"===("undefined"===typeof Reflect?"undefined":o(Reflect))&&"function"===typeof Reflect.decorate)u=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(u=(a<3?i(u):a>3?i(e,n,u):i(e,n))||u);return a>3&&u&&Object.defineProperty(e,n,u),u},a=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var u=a(n("8bbf")),c=a(n("2fe1")),l=a(n("2d5d")),s=a(n("6e85")),f=a(n("2c41")),d=a(n("8b70")),p=n("44bf"),y="YYYY-MM-DD",v=u.default.extend({props:{noCalendar:{type:Boolean,default:!1},noPrependIcon:{type:Boolean,default:!1},appendIcon:{type:Boolean,default:!1},mask:{type:[String,Boolean],default:void 0},dateFormat:{type:String,default:"DD/MM/YYYY"},dateFormatReturn:{type:String,default:"DD/MM/YYYY"},birthdate:{type:Boolean,default:!1},warningRules:{type:[Array,Object],default:function(){return[]}},value:{type:String,default:""}}}),b=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.calendarIcon=p.mdiCalendar,e.menu=!1,e.date=e.value?e.parseDateForModel(e.value):"",e.textFieldDate="",e.max=e.birthdate?(new Date).toISOString().substr(0,10):null,e.min=e.birthdate?"1950-01-01":null,e.successMessages=[],e}return r(e,t),e.prototype.parseDateForModel=function(t){return d.default(t,this.dateFormatReturn).format(y)},e.prototype.setTextFieldModel=function(){this.textFieldDate=d.default(this.date,"DDMMYYYY").format(this.dateFormat)},Object.defineProperty(e.prototype,"maskValue",{get:function(){if(!1!==this.mask){if("string"===typeof this.mask)return this.mask;var t=/[a-z]/gim;return this.dateFormat.replace(t,"#")}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateFormatted",{get:function(){if(""===this.date)return"";var t=s.default(this.date).format(this.dateFormat);return t},set:function(t){this.textFieldDate=t,this.saveFromTextField()},enumerable:!0,configurable:!0}),e.prototype.saveFromCalendar=function(){this.$refs.menu.save(this.date),this.setTextFieldModel(),this.validate(this.textFieldDate),this.emitChangeEvent()},e.prototype.saveFromTextField=function(){if(this.textFieldDate){var t=this.formatDate(this.textFieldDate,this.maskValue);if(t){var e=t.split("/"),n=e[0],o=e[1],r=e[2];this.date=r+"-"+o.padStart(2,"0")+"-"+n.padStart(2,"0"),this.emitChangeEvent()}}else this.$emit("change","")},e.prototype.emitChangeEvent=function(){this.$emit("change",d.default(this.date,y).format(this.dateFormatReturn))},e.prototype.formatDate=function(t,e){void 0===e&&(e="##/##/####");var n=f.default(t,e,!0),o=d.default(n,this.dateFormat).format("DD/MM/YYYY"),r=/(0[1-9]|[12][0-9]|3[01])[- \/.](0[1-9]|1[012])[- \/.](19|20)\d\d/;return o.match(r)?o:""},e.prototype.validate=function(t){var e=this;this.successMessages=[],this.warningRules.forEach(function(n){var o=n(t);"string"===typeof o&&e.successMessages.push(o)})},Object.defineProperty(e.prototype,"textFieldClasses",{get:function(){return[{"warning-rules":this.warningRules.length}].concat(this.options.textField.class)},enumerable:!0,configurable:!0}),e.prototype.textFieldBlur=function(){this.saveFromTextField(),this.options.textField.validateOnBlur&&this.validate(this.textFieldDate)},e=i([c.default({mixins:[l.default({textField:{hint:"Format JJ/MM/AAAA",label:"Date",persistentHint:!0,validateOnBlur:!0,class:"vd-date-picker-text-field"},menu:{closeOnContentClick:!1,minWidth:"290px",nudgeBottom:45,nudgeRight:50,zIndex:1,contentClass:"vd-date-picker-menu"},btn:{icon:!0,small:!0},datePicker:{firstDayOfWeek:1,noTitle:!0,locale:"fr"},icon:{color:"#808080"}})],model:{prop:"value",event:"change"},watch:{menu:function(t){var e=this;this.birthdate&&t&&setTimeout(function(){e.$refs.picker.activePicker="YEAR"})},value:function(t){if(!t)return this.date="",void(this.textFieldDate="");this.date=this.parseDateForModel(t),this.setTextFieldModel(),this.validate(this.textFieldDate)},textFieldDate:function(t){this.options.textField.validateOnBlur||this.validate(t)}}})],e),e}(v);e.default=b},"504e":function(t,e,n){"use strict";n.r(e);var o=n("2263"),r=n("4757");for(var i in r)"default"!==i&&function(t){n.d(e,t,function(){return r[t]})}(i);n("a558");var a=n("0c7c"),u=n("6544"),c=n.n(u),l=n("863d"),s=n("ffda"),f=n("354e"),d=n("5f3c"),p=n("ec68"),y=Object(a["a"])(r["default"],o["a"],o["b"],!1,null,"22dbb4a2",null);e["default"]=y.exports,c()(y,{VBtn:l["VBtn"],VDivider:s["VDivider"],VIcon:f["VIcon"],VLayout:d["VLayout"],VList:p["VList"],VListItem:p["VListItem"],VListItemAction:p["VListItemAction"],VListItemAvatar:p["VListItemAvatar"],VListItemContent:p["VListItemContent"],VListItemSubtitle:p["VListItemSubtitle"],VListItemTitle:p["VListItemTitle"]})},5413:function(t,e,n){"use strict";function o(t){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=this&&this.__decorate||function(t,e,n,r){var i,a=arguments.length,u=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"===("undefined"===typeof Reflect?"undefined":o(Reflect))&&"function"===typeof Reflect.decorate)u=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(u=(a<3?i(u):a>3?i(e,n,u):i(e,n))||u);return a>3&&u&&Object.defineProperty(e,n,u),u},a=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var u=a(n("8bbf")),c=a(n("2fe1")),l=n("44bf"),s=u.default.extend({props:{showViewBtn:{type:Boolean,default:!1},files:{type:[Array,Object],required:!0}}}),f=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.refreshIcon=l.mdiRefresh,e.eyeIcon=l.mdiEye,e.deleteIcon=l.mdiDelete,e}return r(e,t),e.prototype.getIconInfo=function(t){switch(t){case"error":return{icon:l.mdiAlertCircle,color:"error"};case"success":return{icon:l.mdiCheckCircle,color:"success"};default:return{icon:l.mdiFile,color:"grey"}}},e.prototype.getItemColor=function(t){var e="grey--text ";return e+=this.$vuetify.theme.dark?"text--lighten-1":"text--darken-1","success"!==t?e:null},Object.defineProperty(e.prototype,"iconColor",{get:function(){return this.$vuetify.theme.dark?"grey lighten-1":"grey darken-1"},enumerable:!0,configurable:!0}),e=i([c.default],e),e}(s);e.default=f},5822:function(t,e,n){"use strict";var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",{directives:[{name:"ripple",rawName:"v-ripple",value:t.ripple,expression:"ripple"}],staticClass:"file-upload d-block pa-4",class:[{dragover:t.dragover,"dark-mode":t.$vuetify.theme.dark},t.colors.label],on:{dragover:function(e){e.preventDefault(),t.dragover=!0},dragleave:function(e){t.dragover=!1},drop:function(e){return e.preventDefault(),t.dropHandler(e)}}},[n("input",{ref:t.inputRef,staticClass:"file-upload-input",attrs:{type:"file",disabled:t.disabled,multiple:t.multiple,accept:t.computedAccept},on:{change:t.inputValueChanged}}),t._t("placeholder",[n("span",{staticClass:"file-upload-placeholder"},[t._t("icon",[n("VIcon",{attrs:{size:"40",color:"primary"}},[t._v("\n\t\t\t\t\t"+t._s(t.uploadIcon)+"\n\t\t\t\t")])]),n("span",{staticClass:"mt-1 font-weight-medium",class:t.colors.multiple},[t._t("action-text",[t._v("\n\t\t\t\t\t"+t._s(t.multiple?"Placez vos fichiers ici":"Placez votre fichier ici")+"\n\t\t\t\t")],{multiple:t.multiple})],2),n("span",{staticClass:"mb-2",class:t.colors.info},[t._t("or",[t._v("\n\t\t\t\t\tOu\n\t\t\t\t")])],2),n("span",{staticClass:"file-upload-btn primary white--text text-uppercase py-2 px-4 elevation-2",class:{"primary lighten-1":t.hover},on:{mouseover:function(e){t.hover=!0},mouseleave:function(e){t.hover=!1}}},[t._t("button-text",[t._v("\n\t\t\t\t\tChoisir un fichier\n\t\t\t\t")])],2),n("span",{staticClass:"mt-4 body-2 font-weight-regular",class:t.colors.info},[t._t("info-text",[t._v("\n\t\t\t\t\t(Taille max. : "+t._s(t.maxSizeReadable)+". Formats acceptés : "+t._s(t.extensions)+")\n\t\t\t\t")],{maxSize:t.maxSizeReadable,extensions:t.extensions})],2)],2)])],2)},r=[];n.d(e,"a",function(){return o}),n.d(e,"b",function(){return r})},5880:function(t,e){t.exports=u},"5afb":function(t,e,n){},"5f38":function(t,e,n){"use strict";function o(t){var e=document.createElement("textarea");e.value=t,e.setAttribute("readonly",""),e.style.position="absolute",e.style.left="-9999px",document.body.appendChild(e);var n=document.getSelection();if(n){var o=n.rangeCount>0&&n.getRangeAt(0);e.select(),document.execCommand("copy"),document.body.removeChild(e),o&&(n.removeAllRanges(),n.addRange(o))}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=o},"5f3c":function(t,e){t.exports=c},6544:function(t,e){t.exports=function(t,e){var n="function"===typeof t.exports?t.exports.extendOptions:t.options;for(var o in"function"===typeof t.exports&&(n.components=t.exports.options.components),n.components=n.components||{},e)n.components[o]=n.components[o]||e[o]}},6881:function(t,e){t.exports=l},"68f8":function(t,e,n){"use strict";n.r(e);var o=n("5822"),r=n("86c2");for(var i in r)"default"!==i&&function(t){n.d(e,t,function(){return r[t]})}(i);n("f2e3");var a=n("0c7c"),u=n("6544"),c=n.n(u),l=n("354e"),s=n("269a"),f=n.n(s),d=n("b5d3"),p=n.n(d),y=Object(a["a"])(r["default"],o["a"],o["b"],!1,null,"c0a496fc",null);e["default"]=y.exports,c()(y,{VIcon:l["VIcon"]}),f()(y,{Ripple:p()})},"6e85":function(t,e){t.exports=s},"6f1a":function(t,e,n){},7835:function(t,e,n){"use strict";function o(t){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=this&&this.__decorate||function(t,e,n,r){var i,a=arguments.length,u=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"===("undefined"===typeof Reflect?"undefined":o(Reflect))&&"function"===typeof Reflect.decorate)u=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(u=(a<3?i(u):a>3?i(e,n,u):i(e,n))||u);return a>3&&u&&Object.defineProperty(e,n,u),u},a=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var u=a(n("8bbf")),c=a(n("2fe1")),l=n("5880"),s=a(n("2d5d")),f=u.default.extend({props:{closeText:{type:String,default:"Fermer"}}}),d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.created=function(){this.notification&&this.rmNotif()},e.prototype.beforeDestroy=function(){this.rmNotif()},e=i([c.default({computed:l.mapState("notification",["notification"]),methods:l.mapActions("notification",["rmNotif"]),mixins:[s.default({snackBar:{value:!0,timeout:0,top:!0},icon:{color:"white",class:"mr-2"},btn:{color:"white",text:!0}})]})],e),e}(f);e.default=d},"7db4":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o={default:"Le champ est requis."};function r(t){return void 0===t&&(t=o),function(e){return Boolean(e)||t.default}}e.required=r,e.default=r()},"7ecc":function(t,e,n){},8023:function(t,e,n){},"842f":function(t,e,n){"use strict";var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("VMenu",t._b({ref:"menu",attrs:{"return-value":t.date},on:{"update:returnValue":function(e){t.date=e},"update:return-value":function(e){t.date=e}},scopedSlots:t._u([{key:"activator",fn:function(e){e.on;return[n("VTextField",t._b({ref:"input",class:t.textFieldClasses,attrs:{"success-messages":t.options.textField.successMessages||t.successMessages},on:{blur:t.textFieldBlur},scopedSlots:t._u([{key:"prepend",fn:function(){return[t.noPrependIcon||t.appendIcon?t._e():n("VBtn",t._b({on:{click:function(e){t.menu=!0}}},"VBtn",t.options.btn,!1),[t._t("prepend-icon",[n("VIcon",t._b({},"VIcon",t.options.icon,!1),[t._v("\n\t\t\t\t\t\t\t"+t._s(t.calendarIcon)+"\n\t\t\t\t\t\t")])])],2)]},proxy:!0},{key:"append",fn:function(){return[t.appendIcon?n("VBtn",t._b({on:{click:function(e){t.menu=!0}}},"VBtn",t.options.btn,!1),[t._t("append-icon",[n("VIcon",t._b({},"VIcon",t.options.icon,!1),[t._v("\n\t\t\t\t\t\t\t"+t._s(t.calendarIcon)+"\n\t\t\t\t\t\t")])])],2):t._e()]},proxy:!0}],null,!0),model:{value:t.dateFormatted,callback:function(e){t.dateFormatted=e},expression:"dateFormatted"}},"VTextField",t.options.textField,!1))]}}]),model:{value:t.menu,callback:function(e){t.menu=e},expression:"menu"}},"VMenu",t.options.menu,!1),[t.noCalendar?t._e():n("VDatePicker",t._b({ref:"picker",attrs:{max:t.options.datePicker.max||t.max,min:t.options.datePicker.min||t.min},on:{change:t.saveFromCalendar},model:{value:t.date,callback:function(e){t.date=e},expression:"date"}},"VDatePicker",t.options.datePicker,!1))],1)},r=[];n.d(e,"a",function(){return o}),n.d(e,"b",function(){return r})},"863d":function(t,e){t.exports=f},"86c2":function(t,e,n){"use strict";n.r(e);var o=n("b815"),r=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,function(){return o[t]})}(i);e["default"]=r.a},"88ba":function(t,e,n){"use strict";var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{staticClass:"vd-custom-icon",class:{"vd-large":t.large,"vd-medium":t.medium,"vd-small":t.small,"vd-x-large":t.xLarge,"vd-custom-color":t.color},style:{color:t.color,width:t.size,height:t.size},attrs:{"aria-hidden":"true"}},[t._t("default",[t.themeIcon?n("span",{domProps:{innerHTML:t._s(t.themeIcon.svg)}}):t._e()])],2)},r=[];n.d(e,"a",function(){return o}),n.d(e,"b",function(){return r})},"891a":function(t,e,n){"use strict";n.r(e);var o=n("c122"),r=n("1547");for(var i in r)"default"!==i&&function(t){n.d(e,t,function(){return r[t]})}(i);n("2760");var a=n("0c7c"),u=n("6544"),c=n.n(u),l=n("863d"),s=n("354e"),f=n("ec68"),d=n("079e"),p=Object(a["a"])(r["default"],o["a"],o["b"],!1,null,"16a30931",null);e["default"]=p.exports,c()(p,{VBtn:l["VBtn"],VIcon:s["VIcon"],VList:f["VList"],VListItem:f["VListItem"],VListItemAvatar:f["VListItemAvatar"],VListItemTitle:f["VListItemTitle"],VMenu:d["VMenu"]})},"8b70":function(t,e,n){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var r=o(n("6e85")),i=o(n("e2f0"));function a(t,e){return void 0===e&&(e="DD/MM/YYYY"),r.default(t,e)}r.default.extend(i.default),e.default=a},"8bbf":function(t,e){t.exports=d},9289:function(t,e,n){"use strict";function o(t){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=this&&this.__decorate||function(t,e,n,r){var i,a=arguments.length,u=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"===("undefined"===typeof Reflect?"undefined":o(Reflect))&&"function"===typeof Reflect.decorate)u=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(u=(a<3?i(u):a>3?i(e,n,u):i(e,n))||u);return a>3&&u&&Object.defineProperty(e,n,u),u},a=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var u=a(n("8bbf")),c=a(n("2fe1")),l=a(n("2d5d")),s=a(n("5f38")),f=n("44bf"),d=u.default.extend({props:{label:{type:String,required:!0},textToCopy:{type:String,required:!0},showTooltip:{type:Boolean,default:!0},tooltipDuration:{type:Number,default:2500}}}),p=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.copyIcon=f.mdiContentCopy,e.tooltip=!1,e}return r(e,t),e.prototype.activateTooltip=function(){var t=this;this.tooltip=!0,setTimeout(function(){t.tooltip=!1},this.tooltipDuration)},e.prototype.btnClicked=function(){s.default(this.textToCopy),this.showTooltip&&this.activateTooltip()},e=i([c.default({mixins:[l.default({btn:{icon:!0,small:!0,class:"grey--text text--darken-3 copy-tooltip-activator"},tooltip:{right:!0,openOnClick:!0,openOnHover:!1,closeDelay:2500}})]})],e),e}(d);e.default=p},9740:function(t,e,n){"use strict";function o(t){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=this&&this.__assign||function(){return i=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},i.apply(this,arguments)},a=this&&this.__decorate||function(t,e,n,r){var i,a=arguments.length,u=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"===("undefined"===typeof Reflect?"undefined":o(Reflect))&&"function"===typeof Reflect.decorate)u=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(u=(a<3?i(u):a>3?i(e,n,u):i(e,n))||u);return a>3&&u&&Object.defineProperty(e,n,u),u},u=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var c=u(n("8bbf")),l=u(n("2fe1")),s=u(n("7db4")),f=c.default.extend({props:{files:{type:[Array,Object],default:function(){return[{id:"rib",title:"RIB"},{id:"cni",title:"Carte d'identité recto / verso"},{id:"pass",title:"Passeport"},{id:"attest",title:"Attestation"}]}},sectionTitle:{type:String,default:function(){var t=this.files.length>1;return"Document"+(t?"s":"")+" à nous transmettre"}}}}),d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.dialog=!1,e.selectedItem="",e.uploadedFile=null,e.fileList=[],e.error=!1,e.selectRules=[s.default],e}return r(e,t),e.prototype.fileSelected=function(){this.files.length>1?this.dialog=!0:(this.selectedItem=this.selectItems[0].value,this.setFileInList())},Object.defineProperty(e.prototype,"selectItems",{get:function(){var t=[];return this.files.forEach(function(e){t.push({title:e.title,value:e.id})}),t},enumerable:!0,configurable:!0}),e.prototype.confirmAction=function(){this.$refs.form.validate()&&(this.dialog=!1,this.setFileInList(),this.$refs.form.reset())},e.prototype.setFileInList=function(){this.updateFileState(),this.uploadedFile&&(this.updateFileModel(this.selectedItem,"name",this.uploadedFile.name),this.updateFileModel(this.selectedItem,"file",this.uploadedFile))},e.prototype.updateFileState=function(){this.updateFileModel(this.selectedItem,"state",this.error?"error":"success"),this.error=!1},e.prototype.getFileIndex=function(t){var e=this.fileList.findIndex(function(e){return e.id===t});return e},e.prototype.updateFileModel=function(t,e,n){var o=this.getFileIndex(t);-1!==o&&c.default.set(this.fileList[o],e,n)},e.prototype.deleteFile=function(t){this.updateFileModel(t,"state","initial"),this.updateFileModel(t,"name",void 0)},e.prototype.uploadError=function(){this.dialog=!0,this.error=!0,this.uploadedFile=null},e.prototype.retry=function(t){this.selectedItem=t,this.$refs.fileUpload.$refs.vdInputEl.click()},e.prototype.mounted=function(){var t=this;this.files.forEach(function(e){t.fileList.push(i({},e,{state:"initial"}))})},e=a([l.default],e),e}(f);e.default=d},"99cb":function(t,e,n){"use strict";function o(t){return t.slice(t.lastIndexOf(".")+1)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=o},"9ccd":function(t,e,n){"use strict";n.r(e);var o=n("9e0d"),r=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,function(){return o[t]})}(i);e["default"]=r.a},"9e0d":function(t,e,n){"use strict";function o(t){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=this&&this.__decorate||function(t,e,n,r){var i,a=arguments.length,u=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"===("undefined"===typeof Reflect?"undefined":o(Reflect))&&"function"===typeof Reflect.decorate)u=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(u=(a<3?i(u):a>3?i(e,n,u):i(e,n))||u);return a>3&&u&&Object.defineProperty(e,n,u),u},a=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var u=a(n("8bbf")),c=a(n("2fe1")),l=u.default.extend({inheritAttrs:!1,props:{options:{type:[Array,Object],required:!0},serverItemsLength:{type:Number,required:!0},prefix:{type:String,default:""}}}),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.localOptions={},e}return r(e,t),Object.defineProperty(e.prototype,"optionsCalc",{get:function(){return Object.keys(this.localOptions).length?this.localOptions:this.options},set:function(t){Object.keys(this.localOptions).length&&(this.localOptions={}),this.$emit("pagination:updated",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this.prefix?"-"+this.prefix:""},enumerable:!0,configurable:!0}),e.prototype.created=function(){this.localOptions=JSON.parse(localStorage.getItem("vd-pagination"+this.id)||"{}")},e=i([c.default({watch:{options:function(){localStorage.setItem("vd-pagination"+this.id,JSON.stringify(this.options))}}})],e),e}(l);e.default=s},"9e4b":function(t,e,n){"use strict";function o(t){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=this&&this.__decorate||function(t,e,n,r){var i,a=arguments.length,u=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"===("undefined"===typeof Reflect?"undefined":o(Reflect))&&"function"===typeof Reflect.decorate)u=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(u=(a<3?i(u):a>3?i(e,n,u):i(e,n))||u);return a>3&&u&&Object.defineProperty(e,n,u),u},a=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var u=a(n("8bbf")),c=a(n("2fe1")),l=a(n("e36e")),s=a(n("2d5d")),f=n("44bf"),d=u.default.extend({props:{availableLanguages:{type:[Array,Object,String],default:"*"},downArrow:{type:Boolean,default:!0},flags:{type:Boolean,default:!1},flagsUrl:{type:String,default:"/img/flags/"},flagsExt:{type:String,default:"svg"},currentLangTextBtn:{type:Boolean,default:!0},ariaLabel:{type:String,default:"Choix de la langue. Actuellement :"},value:{type:String,default:"fr"}}}),p=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.downArrowIcon=f.mdiChevronDown,e.currentLang=e.value,e}return r(e,t),Object.defineProperty(e.prototype,"languages",{get:function(){var t={};return"*"!==this.availableLanguages?this.availableLanguages.forEach(function(e){t[e]=l.default.getLanguageInfo(e)}):t=this.getFormattedLanguages(),t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"currentLangData",{get:function(){return this.currentLang?{name:this.languages[this.currentLang].nativeName,flagUrl:""+this.flagsUrl+this.currentLang+"."+this.flagsExt,ariaLabel:this.ariaLabel+" "+this.languages[this.currentLang].nativeName}:null},enumerable:!0,configurable:!0}),e.prototype.getFormattedLanguages=function(){var t={};return l.default.getAllLanguageCode().forEach(function(e){var n=l.default.getLanguageInfo(e);t[e]=n}),t},e.prototype.updateLang=function(t){this.currentLang=t,this.$emit("change",t)},e=i([c.default({mixins:[s.default({menu:{offsetY:!0},btn:{color:"currentColor",depressed:!0,outlined:!0,ripple:!0},icon:{class:"ml-1"}})],model:{prop:"value",event:"change"}})],e),e}(d);e.default=p},"9ec7":function(t,e,n){"use strict";n.r(e);var o=n("9289"),r=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,function(){return o[t]})}(i);e["default"]=r.a},a558:function(t,e,n){"use strict";var o=n("7ecc"),r=n.n(o);r.a},a626:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o={"#":{pattern:/\d/},X:{pattern:/[0-9a-zA-Z]/},S:{pattern:/[a-zA-Z]/},A:{pattern:/[a-zA-Z]/,transform:function(t){return t.toLocaleUpperCase()}},a:{pattern:/[a-zA-Z]/,transform:function(t){return t.toLocaleLowerCase()}},"!":{escape:!0}};e.default=o},a685:function(t,e,n){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var r=o(n("cb58")),i={inserted:function(t,e){if("INPUT"!==t.tagName){var n=t.querySelector("input");n&&(t=n)}var o=Object.keys(e.modifiers),i=o.length>0?o[0]:e.value;i!==e.oldValue&&(t.oninput=r.default(function(){if("function"===typeof e.value){var n=t.value;e.value(n)}else t.dispatchEvent(new Event("change"))},parseInt(i,10)))}};e.default=i},b092:function(t,e,n){"use strict";n.r(e);var o=n("88ba"),r=n("d4aa");for(var i in r)"default"!==i&&function(t){n.d(e,t,function(){return r[t]})}(i);n("e07f");var a=n("0c7c"),u=Object(a["a"])(r["default"],o["a"],o["b"],!1,null,"244d0747",null);e["default"]=u.exports},b1bf:function(t,e){t.exports=p},b2a6:function(t,e,n){"use strict";n.r(e);var o=n("3b64"),r=n("9ec7");for(var i in r)"default"!==i&&function(t){n.d(e,t,function(){return r[t]})}(i);var a=n("0c7c"),u=n("6544"),c=n.n(u),l=n("863d"),s=n("354e"),f=n("e8e3"),d=Object(a["a"])(r["default"],o["a"],o["b"],!1,null,null,null);e["default"]=d.exports,c()(d,{VBtn:l["VBtn"],VIcon:s["VIcon"],VTooltip:f["VTooltip"]})},b52b:function(t,e,n){"use strict";n.r(e);var o=n("c611"),r=n("9ccd");for(var i in r)"default"!==i&&function(t){n.d(e,t,function(){return r[t]})}(i);var a=n("0c7c"),u=n("6544"),c=n.n(u),l=n("b1bf"),s=Object(a["a"])(r["default"],o["a"],o["b"],!1,null,null,null);e["default"]=s.exports,c()(s,{VDataTable:l["VDataTable"]})},b5d3:function(t,e){t.exports=y},b7cf:function(t,e){t.exports=v},b815:function(t,e,n){"use strict";function o(t){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=this&&this.__decorate||function(t,e,n,r){var i,a=arguments.length,u=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"===("undefined"===typeof Reflect?"undefined":o(Reflect))&&"function"===typeof Reflect.decorate)u=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(u=(a<3?i(u):a>3?i(e,n,u):i(e,n))||u);return a>3&&u&&Object.defineProperty(e,n,u),u},a=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var u,c=a(n("8bbf")),l=a(n("2fe1")),s=a(n("99cb")),f=n("44bf");(function(t){t["MULTIPLE_FILES_SELECTED"]="MULTIPLE_FILES_SELECTED",t["FILE_TOO_LARGE"]="FILE_TOO_LARGE",t["FILE_EXT_NOT_ALLOWED"]="FILE_EXT_NOT_ALLOWED"})(u||(u={}));var d=c.default.extend({props:{multiple:{type:Boolean,default:!1},value:{type:[Array,Object,File],default:function(){return[]}},ripple:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},fileSizeMax:{type:Number,default:4194304},fileSizeUnits:{type:[Array,Object],default:function(){return["o","Ko","Mo","Go","To"]}},allowedExtensions:{type:[Array,Object],default:function(){return["pdf","jpg","jpeg","png"]}},accept:{type:String,default:void 0},inputRef:{type:String,default:"vdInputEl"}}}),p=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.uploadIcon=f.mdiCloudUpload,e.files=[],e.hover=!1,e.dragover=!1,e.error=!1,e}return r(e,t),Object.defineProperty(e.prototype,"colors",{get:function(){var t=this.$vuetify.theme.dark;return{label:t?"white--text":"primary--text",multiple:t?"white--text":"black--text",info:"grey--text "+(t?"text--lighten-1":"text--darken-1")}},enumerable:!0,configurable:!0}),e.prototype.selfReset=function(){this.dragover=!1,this.error=!1,this.files=[]},e.prototype.validateFile=function(t){if(t.size>=this.fileSizeMax)return this.error=!0,this.$emit("error",{file:t,code:u.FILE_TOO_LARGE}),!1;var e=s.default(t.name);return this.allowedExtensions.includes(e)?(this.files.push(t),!0):(this.error=!0,this.$emit("error",{file:t,code:u.FILE_EXT_NOT_ALLOWED}),!1)},Object.defineProperty(e.prototype,"extensions",{get:function(){return this.allowedExtensions.join(", ").toUpperCase()},enumerable:!0,configurable:!0}),e.prototype.emitChangeEvent=function(){if(!this.error){var t=this.multiple?this.files:this.files[0];this.$emit("change",t)}var e=this.$refs[this.inputRef];e.value=""},e.prototype.dropHandler=function(t){this.selfReset();var e=t.dataTransfer;if(e){var n=e.items||e.files;if(!this.ifTooMuchfiles(n)){if(e.items){for(var o=0;o<e.items.length;o++)if("file"===e.items[o].kind){var r=e.items[o].getAsFile();if(!r)return;this.validateFile(r)}}else for(o=0;o<e.files.length;o++)this.validateFile(e.files[o]);this.emitChangeEvent()}}},e.prototype.inputValueChanged=function(t){if(t.target){var e=t.target.files;if(this.selfReset(),e&&e.length&&!this.ifTooMuchfiles(e)){for(var n=0;n<e.length;n++)this.validateFile(e[n]);this.emitChangeEvent()}}},e.prototype.ifTooMuchfiles=function(t){return!this.multiple&&t.length>1&&(this.$emit("error",{file:t,code:u.MULTIPLE_FILES_SELECTED}),!0)},e.prototype.calcHumanFileSize=function(t,e){var n=Math.floor(Math.log(t)/Math.log(1024)),o=1*Number((t/Math.pow(1024,n)).toFixed(2));return o+" "+e[n]},Object.defineProperty(e.prototype,"maxSizeReadable",{get:function(){return this.calcHumanFileSize(this.fileSizeMax,this.fileSizeUnits)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"computedAccept",{get:function(){if(this.accept)return this.accept;var t=[];return this.allowedExtensions.forEach(function(e){t.push("."+e+",")}),t.join()},enumerable:!0,configurable:!0}),e=i([l.default({model:{prop:"value",event:"change"}})],e),e}(d);e.default=p},bfa4:function(t,e){t.exports=b},c122:function(t,e,n){"use strict";var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return Object.keys(t.languages).length?n("VMenu",t._b({staticClass:"vd-lang-btn",attrs:{"content-class":"vd-lang-menu"},scopedSlots:t._u([{key:"activator",fn:function(e){var o=e.on;return[t.currentLangData?n("VBtn",t._g(t._b({},"VBtn",t.options.btn,!1),o),[t.flags?n("img",{staticClass:"vd-current-flag",attrs:{src:t.currentLangData.flagUrl,alt:""}}):t._e(),t.currentLangTextBtn?n("span",{staticClass:"ml-2"},[t._v("\n\t\t\t\t"+t._s(t.currentLangData.name)+"\n\t\t\t")]):t._e(),t.downArrow?n("VIcon",t._b({},"VIcon",t.options.icon,!1),[t._v("\n\t\t\t\t"+t._s(t.downArrowIcon)+"\n\t\t\t")]):t._e()],1):t._e()]}}],null,!1,3661253679)},"VMenu",t.options.menu,!1),[n("VList",t._b({},"VList",t.options.list,!1),t._l(t.languages,function(e,o){return n("VListItem",t._b({key:o,on:{click:function(e){return t.updateLang(o)}}},"VListItem",t.options.listTile,!1),[t.flags?n("VListItemAvatar",t._b({},"VListItemAvatar",t.options.listItemAvatar,!1),[n("img",{staticClass:"vd-flag-img",attrs:{src:""+t.flagsUrl+o+".svg",alt:""}})]):t._e(),n("VListItemTitle",t._b({},"VListItemTitle",t.options.listTileTitle,!1),[t._v("\n\t\t\t\t"+t._s(e.nativeName)+"\n\t\t\t")])],1)}),1)],1):t._e()},r=[];n.d(e,"a",function(){return o}),n.d(e,"b",function(){return r})},c332:function(t,e,n){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var r=o(n("a685")),i={debounce:r.default};e.default=function(t){Object.keys(i).forEach(function(e){t.directive(e,i[e])})}},c611:function(t,e,n){"use strict";var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.$attrs?n("VDataTable",t._g(t._b({attrs:{options:t.optionsCalc,"server-items-length":t.serverItemsLength},on:{"update:options":function(e){t.optionsCalc=e}},scopedSlots:t._u([t._l(Object.keys(t.$scopedSlots),function(e){return{key:e,fn:function(n){return[t._t(e,null,null,n)]}}})],null,!0)},"VDataTable",t.$attrs,!1),t.$listeners)):t._e()},r=[];n.d(e,"a",function(){return o}),n.d(e,"b",function(){return r})},c618:function(t,e,n){"use strict";n.r(e);var o=n("fcfc"),r=n("4200");for(var i in r)"default"!==i&&function(t){n.d(e,t,function(){return r[t]})}(i);n("05e5");var a=n("0c7c"),u=Object(a["a"])(r["default"],o["a"],o["b"],!1,null,"9dd4c204",null);e["default"]=u.exports},cb58:function(t,e,n){"use strict";function o(t,e){var n;return void 0===e&&(e=500),function(){n&&clearTimeout(n),n=setTimeout(function(){n=null,t(arguments)},e)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=o},cd06:function(t,e,n){},d4aa:function(t,e,n){"use strict";n.r(e);var o=n("2790"),r=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,function(){return o[t]})}(i);e["default"]=r.a},e07f:function(t,e,n){"use strict";var o=n("6f1a"),r=n.n(o);r.a},e2f0:function(t,e){t.exports=m},e36e:function(t,e){t.exports=h},e8e3:function(t,e){t.exports=_},e8e5:function(t,e,n){},e94a:function(t,e,n){"use strict";n.r(e);var o=n("842f"),r=n("1724");for(var i in r)"default"!==i&&function(t){n.d(e,t,function(){return r[t]})}(i);n("ec71");var a=n("0c7c"),u=n("6544"),c=n.n(u),l=n("863d"),s=n("170f"),f=n("354e"),d=n("079e"),p=n("6881"),y=Object(a["a"])(r["default"],o["a"],o["b"],!1,null,"16816f1a",null);e["default"]=y.exports,c()(y,{VBtn:l["VBtn"],VDatePicker:s["VDatePicker"],VIcon:f["VIcon"],VMenu:d["VMenu"],VTextField:p["VTextField"]})},eaa4:function(t,e,n){},ec68:function(t,e){t.exports=g},ec71:function(t,e,n){"use strict";var o=n("cd06"),r=n.n(o);r.a},f2e3:function(t,e,n){"use strict";var o=n("8023"),r=n.n(o);r.a},f6fd:function(t,e){(function(t){var e="currentScript",n=t.getElementsByTagName("script");e in t||Object.defineProperty(t,e,{get:function(){try{throw new Error}catch(o){var t,e=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(o.stack)||[!1])[1];for(t in n)if(n[t].src==e||"interactive"==n[t].readyState)return n[t];return null}}})})(document)},fabf:function(t,e,n){"use strict";var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.notification?n("VSnackbar",t._b({attrs:{color:t.options.snackBar.color||t.notification.type}},"VSnackbar",t.options.snackBar,!1),[n("VLayout",{attrs:{"align-center":""}},[n("VIcon",t._b({staticClass:"vd-notification-icon"},"VIcon",t.options.icon,!1),[t._v("\n\t\t\t"+t._s(t.notification.icon)+"\n\t\t")]),t._v("\n\n\t\t"+t._s(t.notification.message)+"\n\t")],1),n("VBtn",t._b({on:{click:t.rmNotif}},"VBtn",t.options.btn,!1),[t._v("\n\t\t"+t._s(t.closeText)+"\n\t")])],1):t._e()},r=[];n.d(e,"a",function(){return o}),n.d(e,"b",function(){return r})},fb15:function(t,e,n){"use strict";n.r(e);n("1eb2");var o=n("ffb4"),r=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,function(){return o[t]})}(i);e["default"]=r.a},fcfc:function(t,e,n){"use strict";var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vd-data-list"},[t._t("title",[t.listTitle?n("h4",{class:t.titleClass},[t._v("\n\t\t\t"+t._s(t.listTitle)+"\n\t\t")]):t._e()]),t.list.length?n("dl",{staticClass:"vd-field",class:{"vd-column":t.column||t.$vuetify.breakpoint.xs||t.flex,"vd-flex":t.flex},style:{minWidth:t.minWidth}},t._l(t.list,function(e,o){return n("div",{key:o,staticClass:"vd-row mb-2"},[e.key?n("dt",{staticClass:"vd-key body-1",style:{width:t.width,color:t.labelColor}},[t._v("\n\t\t\t\t"+t._s(e.key)+"\n\t\t\t")]):t._e(),n("dd",{staticClass:"vd-value body-1",style:{color:t.valueColor}},[t._v("\n\t\t\t\t"+t._s(e.value||t.placeholder)+"\n\t\t\t")])])}),0):t._e()],2)},r=[];n.d(e,"a",function(){return o}),n.d(e,"b",function(){return r})},ffb4:function(t,e,n){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var r=o(n("3617")),i=o(n("c332")),a={install:function(t,e){r.default(t),i.default(t);var n=e?e.theme:void 0;n&&(t.prototype.$theme=n)}};"undefined"!==typeof window&&window.Vue&&window.Vue.use(a),e.default=a},ffda:function(t,e){t.exports=O}})["default"]});
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("vuetify/lib/components/VMenu"),require("vuetify/lib/components/VDatePicker"),require("vuetify/lib/components/VIcon"),require("@mdi/js"),require("vuetify/lib/components/VSnackbar"),require("vuex"),require("vuetify/lib/components/VGrid"),require("vuetify/lib/components/VTextField"),require("dayjs"),require("vuetify/lib/components/VBtn"),require("vue"),require("vuetify/lib/components/VDataTable"),require("vuetify/lib/directives/ripple"),require("dayjs/plugin/customParseFormat"),require("languages"),require("vuetify/lib/components/VTooltip"),require("vuetify/lib/components/VList"),require("vuetify/lib/components/VDivider")):"function"===typeof define&&define.amd?define(["vuetify/lib/components/VMenu","vuetify/lib/components/VDatePicker","vuetify/lib/components/VIcon","@mdi/js","vuetify/lib/components/VSnackbar","vuex","vuetify/lib/components/VGrid","vuetify/lib/components/VTextField","dayjs","vuetify/lib/components/VBtn","vue","vuetify/lib/components/VDataTable","vuetify/lib/directives/ripple","dayjs/plugin/customParseFormat","languages","vuetify/lib/components/VTooltip","vuetify/lib/components/VList","vuetify/lib/components/VDivider"],e):"object"===typeof exports?exports["vue-dot"]=e(require("vuetify/lib/components/VMenu"),require("vuetify/lib/components/VDatePicker"),require("vuetify/lib/components/VIcon"),require("@mdi/js"),require("vuetify/lib/components/VSnackbar"),require("vuex"),require("vuetify/lib/components/VGrid"),require("vuetify/lib/components/VTextField"),require("dayjs"),require("vuetify/lib/components/VBtn"),require("vue"),require("vuetify/lib/components/VDataTable"),require("vuetify/lib/directives/ripple"),require("dayjs/plugin/customParseFormat"),require("languages"),require("vuetify/lib/components/VTooltip"),require("vuetify/lib/components/VList"),require("vuetify/lib/components/VDivider")):t["vue-dot"]=e(t["vuetify/lib/components/VMenu"],t["vuetify/lib/components/VDatePicker"],t["vuetify/lib/components/VIcon"],t["@mdi/js"],t["vuetify/lib/components/VSnackbar"],t["vuex"],t["vuetify/lib/components/VGrid"],t["vuetify/lib/components/VTextField"],t["dayjs"],t["vuetify/lib/components/VBtn"],t["Vue"],t["vuetify/lib/components/VDataTable"],t["vuetify/lib/directives/ripple"],t["dayjs/plugin/customParseFormat"],t["languages"],t["vuetify/lib/components/VTooltip"],t["vuetify/lib/components/VList"],t["vuetify/lib/components/VDivider"])})("undefined"!==typeof self?self:this,function(t,e,n,o,r,i,a,u,c,f,s,l,p,d,y,v,b,m){return function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"05b9":function(t,e,n){},"05e5":function(t,e,n){"use strict";var o=n("5afb"),r=n.n(o);r.a},"079e":function(e,n){e.exports=t},"0c7c":function(t,e,n){"use strict";function o(t,e,n,o,r,i,a,u){var c,f="function"===typeof t?t.options:t;if(e&&(f.render=e,f.staticRenderFns=n,f._compiled=!0),o&&(f.functional=!0),i&&(f._scopeId="data-v-"+i),a?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},f._ssrRegister=c):r&&(c=u?function(){r.call(this,this.$root.$options.shadowRoot)}:r),c)if(f.functional){f._injectStyles=c;var s=f.render;f.render=function(t,e){return c.call(e),s(t,e)}}else{var l=f.beforeCreate;f.beforeCreate=l?[].concat(l,c):[c]}return{exports:t,options:f}}n.d(e,"a",function(){return o})},1547:function(t,e,n){"use strict";n.r(e);var o=n("9e4b"),r=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,function(){return o[t]})}(i);e["default"]=r.a},"170f":function(t,n){t.exports=e},1724:function(t,e,n){"use strict";n.r(e);var o=n("4b66"),r=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,function(){return o[t]})}(i);e["default"]=r.a},"1eb2":function(t,e,n){"use strict";var o;"undefined"!==typeof window&&(n("f6fd"),(o=window.document.currentScript)&&(o=o.src.match(/(.+\/)[^\/]+\.js(\?.*)?$/))&&(n.p=o[1]))},"21f2":function(t,e,n){"use strict";var o=n("eaa4"),r=n.n(o);r.a},2263:function(t,e,n){"use strict";var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("VList",{staticClass:"vd-file-list"},[t._l(t.files,function(e,o){return[n("VListItem",{key:o},[n("VListItemAvatar",[n("VIcon",{attrs:{size:24,color:t.getIconInfo(e.state).color}},[t._v("\n\t\t\t\t\t"+t._s(t.getIconInfo(e.state).icon)+"\n\t\t\t\t")])],1),n("VListItemContent",[n("VListItemTitle",{class:t.getItemColor(e.state)},[t._v("\n\t\t\t\t\t"+t._s(e.title)+"\n\t\t\t\t")]),e.name?n("VListItemSubtitle",[t._v("\n\t\t\t\t\t"+t._s(e.name)+"\n\t\t\t\t")]):t._e()],1),n("VListItemAction",[n("VLayout",{attrs:{"justify-end":""}},["error"===e.state?n("VBtn",{attrs:{icon:"",small:""},on:{click:function(n){return t.$emit("retry",e.id)}}},[n("VIcon",{attrs:{color:t.iconColor}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.refreshIcon)+"\n\t\t\t\t\t\t")])],1):t._e(),t.showViewBtn&&"success"===e.state?n("VBtn",{staticClass:"mr-2",attrs:{icon:"",small:""},on:{click:function(n){return t.$emit("view-file",e)}}},[n("VIcon",{attrs:{color:t.iconColor}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.eyeIcon)+"\n\t\t\t\t\t\t")])],1):t._e(),"success"===e.state?n("VBtn",{attrs:{icon:"",small:""},on:{click:function(n){return t.$emit("delete-file",e.id)}}},[n("VIcon",{attrs:{color:t.iconColor}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.deleteIcon)+"\n\t\t\t\t\t\t")])],1):t._e()],1)],1)],1),o+1!==t.files.length?n("VDivider",{key:"divider-"+o,attrs:{inset:""}}):t._e()]})],2)},r=[];n.d(e,"a",function(){return o}),n.d(e,"b",function(){return r})},"256d":function(t,e,n){"use strict";function o(t){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=this&&this.__decorate||function(t,e,n,r){var i,a=arguments.length,u=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"===("undefined"===typeof Reflect?"undefined":o(Reflect))&&"function"===typeof Reflect.decorate)u=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(u=(a<3?i(u):a>3?i(e,n,u):i(e,n))||u);return a>3&&u&&Object.defineProperty(e,n,u),u},a=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var u=a(n("8bbf")),c=a(n("2fe1")),f=u.default.extend({props:{list:{type:[Array,Object],required:!0},titleClass:{type:String,default:"mb-3 headline"},listTitle:{type:String,default:void 0},labelColor:{type:String,default:"#757575"},valueColor:{type:String,default:"currentColor"},column:{type:Boolean,default:!1},flex:{type:Boolean,default:!1},placeholder:{type:String,default:"…"},minWidth:{type:String,default:void 0},width:{type:String,default:"200px"}}}),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e=i([c.default],e),e}(f);e.default=s},"269a":function(t,e){t.exports=function(t,e){var n="function"===typeof t.exports?t.exports.extendOptions:t.options;for(var o in"function"===typeof t.exports&&(n.directives=t.exports.options.directives),n.directives=n.directives||{},e)n.directives[o]=n.directives[o]||e[o]}},2760:function(t,e,n){"use strict";var o=n("05b9"),r=n.n(o);r.a},2790:function(t,e,n){"use strict";function o(t){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=this&&this.__decorate||function(t,e,n,r){var i,a=arguments.length,u=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"===("undefined"===typeof Reflect?"undefined":o(Reflect))&&"function"===typeof Reflect.decorate)u=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(u=(a<3?i(u):a>3?i(e,n,u):i(e,n))||u);return a>3&&u&&Object.defineProperty(e,n,u),u},a=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var u=a(n("8bbf")),c=a(n("2fe1")),f=u.default.extend({props:{color:{type:String,default:"currentColor"},icon:{type:String,default:void 0},large:{type:Boolean,default:!1},medium:{type:Boolean,default:!1},small:{type:Boolean,default:!1},xLarge:{type:Boolean,default:!1},size:{type:String,default:void 0}}}),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),Object.defineProperty(e.prototype,"themeIcon",{get:function(){var t=this;if(this.$theme&&this.$theme.config&&this.$theme.config.icons){var e=this.$theme.config.icons.find(function(e){return t.icon===e.name});return e}},enumerable:!0,configurable:!0}),e=i([c.default],e),e}(f);e.default=s},"2c41":function(t,e,n){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var r=o(n("a626"));function i(t,e,n){void 0===t&&(t=""),void 0===e&&(e=""),void 0===n&&(n=!0);var o=0,i=0,a="",u="";while(o<e.length&&i<t.length){u=e[o];var c=r.default[u],f=t[i];c&&c.pattern&&!c.escape?(c.pattern.test(f)&&(a+=c.transform?c.transform(f):f,o++),i++):(c&&c.escape&&(o++,u=e[o]),n&&(a+=u),f===u&&i++,o++)}var s="";while(o<e.length&&n){if(u=e[o],r.default[u]){s="";break}s+=u,o++}return a+s}e.default=i},"2d5d":function(t,e,n){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}},r=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e};Object.defineProperty(e,"__esModule",{value:!0});var i=o(n("8bbf")),a=r(n("3c4e"));function u(t){return i.default.extend({props:{vuetifyOptions:{type:Object,default:void 0}},computed:{options:function(){return this.vuetifyOptions?a.all([t,this.vuetifyOptions]):t}}})}e.default=u},"2fe1":function(t,e,n){"use strict";n.r(e),n.d(e,"createDecorator",function(){return s}),n.d(e,"mixins",function(){return l});var o=n("8bbf"),r=n.n(o),i="undefined"!==typeof Reflect&&Reflect.defineMetadata&&Reflect.getOwnMetadataKeys;function a(t,e){u(t,e),Object.getOwnPropertyNames(e.prototype).forEach(function(n){u(t.prototype,e.prototype,n)}),Object.getOwnPropertyNames(e).forEach(function(n){u(t,e,n)})}function u(t,e,n){var o=n?Reflect.getOwnMetadataKeys(e,n):Reflect.getOwnMetadataKeys(e);o.forEach(function(o){var r=n?Reflect.getOwnMetadata(o,e,n):Reflect.getOwnMetadata(o,e);n?Reflect.defineMetadata(o,r,t,n):Reflect.defineMetadata(o,r,t)})}var c={__proto__:[]},f=c instanceof Array;function s(t){return function(e,n,o){var r="function"===typeof e?e:e.constructor;r.__decorators__||(r.__decorators__=[]),"number"!==typeof o&&(o=void 0),r.__decorators__.push(function(e){return t(e,n,o)})}}function l(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return r.a.extend({mixins:t})}function p(t){var e=typeof t;return null==t||"object"!==e&&"function"!==e}function d(t,e){var n=e.prototype._init;e.prototype._init=function(){var e=this,n=Object.getOwnPropertyNames(t);if(t.$options.props)for(var o in t.$options.props)t.hasOwnProperty(o)||n.push(o);n.forEach(function(n){"_"!==n.charAt(0)&&Object.defineProperty(e,n,{get:function(){return t[n]},set:function(e){t[n]=e},configurable:!0})})};var o=new e;e.prototype._init=n;var r={};return Object.keys(o).forEach(function(t){void 0!==o[t]&&(r[t]=o[t])}),r}var y=["data","beforeCreate","created","beforeMount","mounted","beforeDestroy","destroyed","beforeUpdate","updated","activated","deactivated","render","errorCaptured","serverPrefetch"];function v(t,e){void 0===e&&(e={}),e.name=e.name||t._componentTag||t.name;var n=t.prototype;Object.getOwnPropertyNames(n).forEach(function(t){if("constructor"!==t)if(y.indexOf(t)>-1)e[t]=n[t];else{var o=Object.getOwnPropertyDescriptor(n,t);void 0!==o.value?"function"===typeof o.value?(e.methods||(e.methods={}))[t]=o.value:(e.mixins||(e.mixins=[])).push({data:function(){var e;return e={},e[t]=o.value,e}}):(o.get||o.set)&&((e.computed||(e.computed={}))[t]={get:o.get,set:o.set})}}),(e.mixins||(e.mixins=[])).push({data:function(){return d(this,t)}});var o=t.__decorators__;o&&(o.forEach(function(t){return t(e)}),delete t.__decorators__);var u=Object.getPrototypeOf(t.prototype),c=u instanceof r.a?u.constructor:r.a,f=c.extend(e);return m(f,t,c),i&&a(f,t),f}var b={prototype:!0,arguments:!0,callee:!0,caller:!0};function m(t,e,n){Object.getOwnPropertyNames(e).forEach(function(o){if(!b[o]){var r=Object.getOwnPropertyDescriptor(t,o);if(!r||r.configurable){var i=Object.getOwnPropertyDescriptor(e,o);if(!f){if("cid"===o)return;var a=Object.getOwnPropertyDescriptor(n,o);if(!p(i.value)&&a&&a.value===i.value)return}0,Object.defineProperty(t,o,i)}}})}function h(t){return"function"===typeof t?v(t):function(e){return v(e,t)}}h.registerHooks=function(t){y.push.apply(y,t)},e["default"]=h},"354e":function(t,e){t.exports=n},3617:function(t,e,n){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var r=o(n("b2a6")),i=o(n("b092")),a=o(n("c618")),u=o(n("e94a")),c=o(n("504e")),f=o(n("68f8")),s=o(n("891a")),l=o(n("3b62")),p=o(n("b52b")),d={CopyBtn:r.default,CustomIcon:i.default,DataList:a.default,DatePicker:u.default,FileList:c.default,FileUpload:f.default,LangBtn:s.default,NotificationBar:l.default,PaginatedTable:p.default};e.default=function(t){Object.keys(d).forEach(function(e){t.component(e,d[e])})}},"3b62":function(t,e,n){"use strict";n.r(e);var o=n("fabf"),r=n("4037");for(var i in r)"default"!==i&&function(t){n.d(e,t,function(){return r[t]})}(i);n("21f2");var a=n("0c7c"),u=n("6544"),c=n.n(u),f=n("863d"),s=n("354e"),l=n("5f3c"),p=n("49f4"),d=Object(a["a"])(r["default"],o["a"],o["b"],!1,null,"b349f5ea",null);e["default"]=d.exports,c()(d,{VBtn:f["VBtn"],VIcon:s["VIcon"],VLayout:l["VLayout"],VSnackbar:p["VSnackbar"]})},"3b64":function(t,e,n){"use strict";var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("VBtn",t._b({attrs:{"aria-label":t.label},on:{click:t.btnClicked}},"VBtn",t.options.btn,!1),[t._t("icon",[n("VIcon",[t._v("\n\t\t\t\t"+t._s(t.copyIcon)+"\n\t\t\t")])])],2),t.showTooltip?n("VTooltip",t._b({attrs:{activator:".copy-tooltip-activator"},model:{value:t.tooltip,callback:function(e){t.tooltip=e},expression:"tooltip"}},"VTooltip",t.options.tooltip,!1),[t._t("tooltip",[t._v("\n\t\t\tTexte copié !\n\t\t")])],2):t._e()],1)},r=[];n.d(e,"a",function(){return o}),n.d(e,"b",function(){return r})},"3c4e":function(t,e,n){"use strict";var o=function(t){return r(t)&&!i(t)};function r(t){return!!t&&"object"===typeof t}function i(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||c(t)}var a="function"===typeof Symbol&&Symbol.for,u=a?Symbol.for("react.element"):60103;function c(t){return t.$$typeof===u}function f(t){return Array.isArray(t)?[]:{}}function s(t,e){return!1!==e.clone&&e.isMergeableObject(t)?b(f(t),t,e):t}function l(t,e,n){return t.concat(e).map(function(t){return s(t,n)})}function p(t,e){if(!e.customMerge)return b;var n=e.customMerge(t);return"function"===typeof n?n:b}function d(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]}function y(t){return Object.keys(t).concat(d(t))}function v(t,e,n){var o={};return n.isMergeableObject(t)&&y(t).forEach(function(e){o[e]=s(t[e],n)}),y(e).forEach(function(r){n.isMergeableObject(e[r])&&t[r]?o[r]=p(r,n)(t[r],e[r],n):o[r]=s(e[r],n)}),o}function b(t,e,n){n=n||{},n.arrayMerge=n.arrayMerge||l,n.isMergeableObject=n.isMergeableObject||o;var r=Array.isArray(e),i=Array.isArray(t),a=r===i;return a?r?n.arrayMerge(t,e,n):v(t,e,n):s(e,n)}b.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(t,n){return b(t,n,e)},{})};var m=b;t.exports=m},4037:function(t,e,n){"use strict";n.r(e);var o=n("7835"),r=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,function(){return o[t]})}(i);e["default"]=r.a},4200:function(t,e,n){"use strict";n.r(e);var o=n("256d"),r=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,function(){return o[t]})}(i);e["default"]=r.a},"44bf":function(t,e){t.exports=o},4757:function(t,e,n){"use strict";n.r(e);var o=n("5413"),r=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,function(){return o[t]})}(i);e["default"]=r.a},"49f4":function(t,e){t.exports=r},"4b66":function(t,e,n){"use strict";function o(t){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=this&&this.__decorate||function(t,e,n,r){var i,a=arguments.length,u=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"===("undefined"===typeof Reflect?"undefined":o(Reflect))&&"function"===typeof Reflect.decorate)u=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(u=(a<3?i(u):a>3?i(e,n,u):i(e,n))||u);return a>3&&u&&Object.defineProperty(e,n,u),u},a=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var u=a(n("8bbf")),c=a(n("2fe1")),f=a(n("2d5d")),s=a(n("6e85")),l=a(n("2c41")),p=a(n("8b70")),d=n("44bf"),y="YYYY-MM-DD",v=u.default.extend({props:{noCalendar:{type:Boolean,default:!1},noPrependIcon:{type:Boolean,default:!1},appendIcon:{type:Boolean,default:!1},mask:{type:[String,Boolean],default:void 0},dateFormat:{type:String,default:"DD/MM/YYYY"},dateFormatReturn:{type:String,default:"DD/MM/YYYY"},birthdate:{type:Boolean,default:!1},warningRules:{type:[Array,Object],default:function(){return[]}},value:{type:String,default:""}}}),b=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.calendarIcon=d.mdiCalendar,e.menu=!1,e.date=e.value?e.parseDateForModel(e.value):"",e.textFieldDate="",e.max=e.birthdate?(new Date).toISOString().substr(0,10):null,e.min=e.birthdate?"1950-01-01":null,e.successMessages=[],e}return r(e,t),e.prototype.parseDateForModel=function(t){return p.default(t,this.dateFormatReturn).format(y)},e.prototype.setTextFieldModel=function(){this.textFieldDate=p.default(this.date,"DDMMYYYY").format(this.dateFormat)},Object.defineProperty(e.prototype,"maskValue",{get:function(){if(!1!==this.mask){if("string"===typeof this.mask)return this.mask;var t=/[a-z]/gim;return this.dateFormat.replace(t,"#")}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateFormatted",{get:function(){if(""===this.date)return"";var t=s.default(this.date).format(this.dateFormat);return t},set:function(t){this.textFieldDate=t,this.saveFromTextField()},enumerable:!0,configurable:!0}),e.prototype.saveFromCalendar=function(){this.$refs.menu.save(this.date),this.setTextFieldModel(),this.validate(this.textFieldDate),this.emitChangeEvent()},e.prototype.saveFromTextField=function(){if(this.textFieldDate){var t=this.formatDate(this.textFieldDate,this.maskValue);if(t){var e=t.split("/"),n=e[0],o=e[1],r=e[2];this.date=r+"-"+o.padStart(2,"0")+"-"+n.padStart(2,"0"),this.emitChangeEvent()}}else this.$emit("change","")},e.prototype.emitChangeEvent=function(){this.$emit("change",p.default(this.date,y).format(this.dateFormatReturn))},e.prototype.formatDate=function(t,e){void 0===e&&(e="##/##/####");var n=l.default(t,e,!0),o=p.default(n,this.dateFormat).format("DD/MM/YYYY"),r=/(0[1-9]|[12][0-9]|3[01])[- \/.](0[1-9]|1[012])[- \/.](19|20)\d\d/;return o.match(r)?o:""},e.prototype.validate=function(t){var e=this;this.successMessages=[],this.warningRules.forEach(function(n){var o=n(t);"string"===typeof o&&e.successMessages.push(o)})},Object.defineProperty(e.prototype,"textFieldClasses",{get:function(){return[{"warning-rules":this.warningRules.length}].concat(this.options.textField.class)},enumerable:!0,configurable:!0}),e.prototype.textFieldBlur=function(){this.saveFromTextField(),this.options.textField.validateOnBlur&&this.validate(this.textFieldDate)},e=i([c.default({mixins:[f.default({textField:{hint:"Format JJ/MM/AAAA",label:"Date",persistentHint:!0,validateOnBlur:!0,class:"vd-date-picker-text-field"},menu:{closeOnContentClick:!1,minWidth:"290px",nudgeBottom:45,nudgeRight:50,zIndex:1,contentClass:"vd-date-picker-menu"},btn:{icon:!0,small:!0},datePicker:{firstDayOfWeek:1,noTitle:!0,locale:"fr"},icon:{color:"#808080"}})],model:{prop:"value",event:"change"},watch:{menu:function(t){var e=this;this.birthdate&&t&&setTimeout(function(){e.$refs.picker.activePicker="YEAR"})},value:function(t){if(!t)return this.date="",void(this.textFieldDate="");this.date=this.parseDateForModel(t),this.setTextFieldModel(),this.validate(this.textFieldDate)},textFieldDate:function(t){this.options.textField.validateOnBlur||this.validate(t)}}})],e),e}(v);e.default=b},"504e":function(t,e,n){"use strict";n.r(e);var o=n("2263"),r=n("4757");for(var i in r)"default"!==i&&function(t){n.d(e,t,function(){return r[t]})}(i);n("a558");var a=n("0c7c"),u=n("6544"),c=n.n(u),f=n("863d"),s=n("ffda"),l=n("354e"),p=n("5f3c"),d=n("ec68"),y=Object(a["a"])(r["default"],o["a"],o["b"],!1,null,"22dbb4a2",null);e["default"]=y.exports,c()(y,{VBtn:f["VBtn"],VDivider:s["VDivider"],VIcon:l["VIcon"],VLayout:p["VLayout"],VList:d["VList"],VListItem:d["VListItem"],VListItemAction:d["VListItemAction"],VListItemAvatar:d["VListItemAvatar"],VListItemContent:d["VListItemContent"],VListItemSubtitle:d["VListItemSubtitle"],VListItemTitle:d["VListItemTitle"]})},5413:function(t,e,n){"use strict";function o(t){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=this&&this.__decorate||function(t,e,n,r){var i,a=arguments.length,u=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"===("undefined"===typeof Reflect?"undefined":o(Reflect))&&"function"===typeof Reflect.decorate)u=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(u=(a<3?i(u):a>3?i(e,n,u):i(e,n))||u);return a>3&&u&&Object.defineProperty(e,n,u),u},a=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var u=a(n("8bbf")),c=a(n("2fe1")),f=n("44bf"),s=u.default.extend({props:{showViewBtn:{type:Boolean,default:!1},files:{type:[Array,Object],required:!0}}}),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.refreshIcon=f.mdiRefresh,e.eyeIcon=f.mdiEye,e.deleteIcon=f.mdiDelete,e}return r(e,t),e.prototype.getIconInfo=function(t){switch(t){case"error":return{icon:f.mdiAlertCircle,color:"error"};case"success":return{icon:f.mdiCheckCircle,color:"success"};default:return{icon:f.mdiFile,color:"grey"}}},e.prototype.getItemColor=function(t){var e="grey--text ";return e+=this.$vuetify.theme.dark?"text--lighten-1":"text--darken-1","success"!==t?e:null},Object.defineProperty(e.prototype,"iconColor",{get:function(){return this.$vuetify.theme.dark?"grey lighten-1":"grey darken-1"},enumerable:!0,configurable:!0}),e=i([c.default],e),e}(s);e.default=l},5822:function(t,e,n){"use strict";var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",{directives:[{name:"ripple",rawName:"v-ripple",value:t.ripple,expression:"ripple"}],staticClass:"file-upload d-block pa-4",class:[{dragover:t.dragover,"dark-mode":t.$vuetify.theme.dark},t.colors.label],on:{dragover:function(e){e.preventDefault(),t.dragover=!0},dragleave:function(e){t.dragover=!1},drop:function(e){return e.preventDefault(),t.dropHandler(e)}}},[n("input",{ref:t.inputRef,staticClass:"file-upload-input",attrs:{type:"file",disabled:t.disabled,multiple:t.multiple,accept:t.computedAccept},on:{change:t.inputValueChanged}}),t._t("placeholder",[n("span",{staticClass:"file-upload-placeholder"},[t._t("icon",[n("VIcon",{attrs:{size:"40",color:"primary"}},[t._v("\n\t\t\t\t\t"+t._s(t.uploadIcon)+"\n\t\t\t\t")])]),n("span",{staticClass:"mt-1 font-weight-medium",class:t.colors.multiple},[t._t("action-text",[t._v("\n\t\t\t\t\t"+t._s(t.multiple?"Placez vos fichiers ici":"Placez votre fichier ici")+"\n\t\t\t\t")],{multiple:t.multiple})],2),n("span",{staticClass:"mb-2",class:t.colors.info},[t._t("or",[t._v("\n\t\t\t\t\tOu\n\t\t\t\t")])],2),n("span",{staticClass:"file-upload-btn primary white--text text-uppercase py-2 px-4 elevation-2",class:{"primary lighten-1":t.hover},on:{mouseover:function(e){t.hover=!0},mouseleave:function(e){t.hover=!1}}},[t._t("button-text",[t._v("\n\t\t\t\t\tChoisir un fichier\n\t\t\t\t")])],2),n("span",{staticClass:"mt-4 body-2 font-weight-regular",class:t.colors.info},[t._t("info-text",[t._v("\n\t\t\t\t\t(Taille max. : "+t._s(t.maxSizeReadable)+". Formats acceptés : "+t._s(t.extensions)+")\n\t\t\t\t")],{maxSize:t.maxSizeReadable,extensions:t.extensions})],2)],2)])],2)},r=[];n.d(e,"a",function(){return o}),n.d(e,"b",function(){return r})},5880:function(t,e){t.exports=i},"5afb":function(t,e,n){},"5f38":function(t,e,n){"use strict";function o(t){var e=document.createElement("textarea");e.value=t,e.setAttribute("readonly",""),e.style.position="absolute",e.style.left="-9999px",document.body.appendChild(e);var n=document.getSelection();if(n){var o=n.rangeCount>0&&n.getRangeAt(0);e.select(),document.execCommand("copy"),document.body.removeChild(e),o&&(n.removeAllRanges(),n.addRange(o))}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=o},"5f3c":function(t,e){t.exports=a},6544:function(t,e){t.exports=function(t,e){var n="function"===typeof t.exports?t.exports.extendOptions:t.options;for(var o in"function"===typeof t.exports&&(n.components=t.exports.options.components),n.components=n.components||{},e)n.components[o]=n.components[o]||e[o]}},6881:function(t,e){t.exports=u},"68f8":function(t,e,n){"use strict";n.r(e);var o=n("5822"),r=n("86c2");for(var i in r)"default"!==i&&function(t){n.d(e,t,function(){return r[t]})}(i);n("f2e3");var a=n("0c7c"),u=n("6544"),c=n.n(u),f=n("354e"),s=n("269a"),l=n.n(s),p=n("b5d3"),d=n.n(p),y=Object(a["a"])(r["default"],o["a"],o["b"],!1,null,"c0a496fc",null);e["default"]=y.exports,c()(y,{VIcon:f["VIcon"]}),l()(y,{Ripple:d()})},"6e85":function(t,e){t.exports=c},"6f1a":function(t,e,n){},7835:function(t,e,n){"use strict";function o(t){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=this&&this.__decorate||function(t,e,n,r){var i,a=arguments.length,u=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"===("undefined"===typeof Reflect?"undefined":o(Reflect))&&"function"===typeof Reflect.decorate)u=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(u=(a<3?i(u):a>3?i(e,n,u):i(e,n))||u);return a>3&&u&&Object.defineProperty(e,n,u),u},a=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var u=a(n("8bbf")),c=a(n("2fe1")),f=n("5880"),s=a(n("2d5d")),l=u.default.extend({props:{closeText:{type:String,default:"Fermer"}}}),p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.created=function(){this.notification&&this.rmNotif()},e.prototype.beforeDestroy=function(){this.rmNotif()},e=i([c.default({computed:f.mapState("notification",["notification"]),methods:f.mapActions("notification",["rmNotif"]),mixins:[s.default({snackBar:{value:!0,timeout:0,top:!0},icon:{color:"white",class:"mr-2"},btn:{color:"white",text:!0}})]})],e),e}(l);e.default=p},"7ecc":function(t,e,n){},8023:function(t,e,n){},"842f":function(t,e,n){"use strict";var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("VMenu",t._b({ref:"menu",attrs:{"return-value":t.date},on:{"update:returnValue":function(e){t.date=e},"update:return-value":function(e){t.date=e}},scopedSlots:t._u([{key:"activator",fn:function(e){e.on;return[n("VTextField",t._b({ref:"input",class:t.textFieldClasses,attrs:{"success-messages":t.options.textField.successMessages||t.successMessages},on:{blur:t.textFieldBlur},scopedSlots:t._u([{key:"prepend",fn:function(){return[t.noPrependIcon||t.appendIcon?t._e():n("VBtn",t._b({on:{click:function(e){t.menu=!0}}},"VBtn",t.options.btn,!1),[t._t("prepend-icon",[n("VIcon",t._b({},"VIcon",t.options.icon,!1),[t._v("\n\t\t\t\t\t\t\t"+t._s(t.calendarIcon)+"\n\t\t\t\t\t\t")])])],2)]},proxy:!0},{key:"append",fn:function(){return[t.appendIcon?n("VBtn",t._b({on:{click:function(e){t.menu=!0}}},"VBtn",t.options.btn,!1),[t._t("append-icon",[n("VIcon",t._b({},"VIcon",t.options.icon,!1),[t._v("\n\t\t\t\t\t\t\t"+t._s(t.calendarIcon)+"\n\t\t\t\t\t\t")])])],2):t._e()]},proxy:!0}],null,!0),model:{value:t.dateFormatted,callback:function(e){t.dateFormatted=e},expression:"dateFormatted"}},"VTextField",t.options.textField,!1))]}}]),model:{value:t.menu,callback:function(e){t.menu=e},expression:"menu"}},"VMenu",t.options.menu,!1),[t.noCalendar?t._e():n("VDatePicker",t._b({ref:"picker",attrs:{max:t.options.datePicker.max||t.max,min:t.options.datePicker.min||t.min},on:{change:t.saveFromCalendar},model:{value:t.date,callback:function(e){t.date=e},expression:"date"}},"VDatePicker",t.options.datePicker,!1))],1)},r=[];n.d(e,"a",function(){return o}),n.d(e,"b",function(){return r})},"863d":function(t,e){t.exports=f},"86c2":function(t,e,n){"use strict";n.r(e);var o=n("b815"),r=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,function(){return o[t]})}(i);e["default"]=r.a},"88ba":function(t,e,n){"use strict";var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{staticClass:"vd-custom-icon",class:{"vd-large":t.large,"vd-medium":t.medium,"vd-small":t.small,"vd-x-large":t.xLarge,"vd-custom-color":t.color},style:{color:t.color,width:t.size,height:t.size},attrs:{"aria-hidden":"true"}},[t._t("default",[t.themeIcon?n("span",{domProps:{innerHTML:t._s(t.themeIcon.svg)}}):t._e()])],2)},r=[];n.d(e,"a",function(){return o}),n.d(e,"b",function(){return r})},"891a":function(t,e,n){"use strict";n.r(e);var o=n("c122"),r=n("1547");for(var i in r)"default"!==i&&function(t){n.d(e,t,function(){return r[t]})}(i);n("2760");var a=n("0c7c"),u=n("6544"),c=n.n(u),f=n("863d"),s=n("354e"),l=n("ec68"),p=n("079e"),d=Object(a["a"])(r["default"],o["a"],o["b"],!1,null,"16a30931",null);e["default"]=d.exports,c()(d,{VBtn:f["VBtn"],VIcon:s["VIcon"],VList:l["VList"],VListItem:l["VListItem"],VListItemAvatar:l["VListItemAvatar"],VListItemTitle:l["VListItemTitle"],VMenu:p["VMenu"]})},"8b70":function(t,e,n){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var r=o(n("6e85")),i=o(n("e2f0"));function a(t,e){return void 0===e&&(e="DD/MM/YYYY"),r.default(t,e)}r.default.extend(i.default),e.default=a},"8bbf":function(t,e){t.exports=s},9289:function(t,e,n){"use strict";function o(t){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=this&&this.__decorate||function(t,e,n,r){var i,a=arguments.length,u=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"===("undefined"===typeof Reflect?"undefined":o(Reflect))&&"function"===typeof Reflect.decorate)u=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(u=(a<3?i(u):a>3?i(e,n,u):i(e,n))||u);return a>3&&u&&Object.defineProperty(e,n,u),u},a=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var u=a(n("8bbf")),c=a(n("2fe1")),f=a(n("2d5d")),s=a(n("5f38")),l=n("44bf"),p=u.default.extend({props:{label:{type:String,required:!0},textToCopy:{type:String,required:!0},showTooltip:{type:Boolean,default:!0},tooltipDuration:{type:Number,default:2500}}}),d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.copyIcon=l.mdiContentCopy,e.tooltip=!1,e}return r(e,t),e.prototype.activateTooltip=function(){var t=this;this.tooltip=!0,setTimeout(function(){t.tooltip=!1},this.tooltipDuration)},e.prototype.btnClicked=function(){s.default(this.textToCopy),this.showTooltip&&this.activateTooltip()},e=i([c.default({mixins:[f.default({btn:{icon:!0,small:!0,class:"grey--text text--darken-3 copy-tooltip-activator"},tooltip:{right:!0,openOnClick:!0,openOnHover:!1,closeDelay:2500}})]})],e),e}(p);e.default=d},"99cb":function(t,e,n){"use strict";function o(t){return t.slice(t.lastIndexOf(".")+1)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=o},"9ccd":function(t,e,n){"use strict";n.r(e);var o=n("9e0d"),r=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,function(){return o[t]})}(i);e["default"]=r.a},"9e0d":function(t,e,n){"use strict";function o(t){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=this&&this.__decorate||function(t,e,n,r){var i,a=arguments.length,u=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"===("undefined"===typeof Reflect?"undefined":o(Reflect))&&"function"===typeof Reflect.decorate)u=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(u=(a<3?i(u):a>3?i(e,n,u):i(e,n))||u);return a>3&&u&&Object.defineProperty(e,n,u),u},a=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var u=a(n("8bbf")),c=a(n("2fe1")),f=u.default.extend({inheritAttrs:!1,props:{options:{type:[Array,Object],required:!0},serverItemsLength:{type:Number,required:!0},prefix:{type:String,default:""}}}),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.localOptions={},e}return r(e,t),Object.defineProperty(e.prototype,"optionsCalc",{get:function(){return Object.keys(this.localOptions).length?this.localOptions:this.options},set:function(t){Object.keys(this.localOptions).length&&(this.localOptions={}),this.$emit("pagination:updated",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this.prefix?"-"+this.prefix:""},enumerable:!0,configurable:!0}),e.prototype.created=function(){this.localOptions=JSON.parse(localStorage.getItem("vd-pagination"+this.id)||"{}")},e=i([c.default({watch:{options:function(){localStorage.setItem("vd-pagination"+this.id,JSON.stringify(this.options))}}})],e),e}(f);e.default=s},"9e4b":function(t,e,n){"use strict";function o(t){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=this&&this.__decorate||function(t,e,n,r){var i,a=arguments.length,u=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"===("undefined"===typeof Reflect?"undefined":o(Reflect))&&"function"===typeof Reflect.decorate)u=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(u=(a<3?i(u):a>3?i(e,n,u):i(e,n))||u);return a>3&&u&&Object.defineProperty(e,n,u),u},a=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var u=a(n("8bbf")),c=a(n("2fe1")),f=a(n("e36e")),s=a(n("2d5d")),l=n("44bf"),p=u.default.extend({props:{availableLanguages:{type:[Array,Object,String],default:"*"},downArrow:{type:Boolean,default:!0},flags:{type:Boolean,default:!1},flagsUrl:{type:String,default:"/img/flags/"},flagsExt:{type:String,default:"svg"},currentLangTextBtn:{type:Boolean,default:!0},ariaLabel:{type:String,default:"Choix de la langue. Actuellement :"},value:{type:String,default:"fr"}}}),d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.downArrowIcon=l.mdiChevronDown,e.currentLang=e.value,e}return r(e,t),Object.defineProperty(e.prototype,"languages",{get:function(){var t={};return"*"!==this.availableLanguages?this.availableLanguages.forEach(function(e){t[e]=f.default.getLanguageInfo(e)}):t=this.getFormattedLanguages(),t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"currentLangData",{get:function(){return this.currentLang?{name:this.languages[this.currentLang].nativeName,flagUrl:""+this.flagsUrl+this.currentLang+"."+this.flagsExt,ariaLabel:this.ariaLabel+" "+this.languages[this.currentLang].nativeName}:null},enumerable:!0,configurable:!0}),e.prototype.getFormattedLanguages=function(){var t={};return f.default.getAllLanguageCode().forEach(function(e){var n=f.default.getLanguageInfo(e);t[e]=n}),t},e.prototype.updateLang=function(t){this.currentLang=t,this.$emit("change",t)},e=i([c.default({mixins:[s.default({menu:{offsetY:!0},btn:{color:"currentColor",depressed:!0,outlined:!0,ripple:!0},icon:{class:"ml-1"}})],model:{prop:"value",event:"change"}})],e),e}(p);e.default=d},"9ec7":function(t,e,n){"use strict";n.r(e);var o=n("9289"),r=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,function(){return o[t]})}(i);e["default"]=r.a},a558:function(t,e,n){"use strict";var o=n("7ecc"),r=n.n(o);r.a},a626:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o={"#":{pattern:/\d/},X:{pattern:/[0-9a-zA-Z]/},S:{pattern:/[a-zA-Z]/},A:{pattern:/[a-zA-Z]/,transform:function(t){return t.toLocaleUpperCase()}},a:{pattern:/[a-zA-Z]/,transform:function(t){return t.toLocaleLowerCase()}},"!":{escape:!0}};e.default=o},a685:function(t,e,n){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var r=o(n("cb58")),i={inserted:function(t,e){if("INPUT"!==t.tagName){var n=t.querySelector("input");n&&(t=n)}var o=Object.keys(e.modifiers),i=o.length>0?o[0]:e.value;i!==e.oldValue&&(t.oninput=r.default(function(){if("function"===typeof e.value){var n=t.value;e.value(n)}else t.dispatchEvent(new Event("change"))},parseInt(i,10)))}};e.default=i},b092:function(t,e,n){"use strict";n.r(e);var o=n("88ba"),r=n("d4aa");for(var i in r)"default"!==i&&function(t){n.d(e,t,function(){return r[t]})}(i);n("e07f");var a=n("0c7c"),u=Object(a["a"])(r["default"],o["a"],o["b"],!1,null,"244d0747",null);e["default"]=u.exports},b1bf:function(t,e){t.exports=l},b2a6:function(t,e,n){"use strict";n.r(e);var o=n("3b64"),r=n("9ec7");for(var i in r)"default"!==i&&function(t){n.d(e,t,function(){return r[t]})}(i);var a=n("0c7c"),u=n("6544"),c=n.n(u),f=n("863d"),s=n("354e"),l=n("e8e3"),p=Object(a["a"])(r["default"],o["a"],o["b"],!1,null,null,null);e["default"]=p.exports,c()(p,{VBtn:f["VBtn"],VIcon:s["VIcon"],VTooltip:l["VTooltip"]})},b52b:function(t,e,n){"use strict";n.r(e);var o=n("c611"),r=n("9ccd");for(var i in r)"default"!==i&&function(t){n.d(e,t,function(){return r[t]})}(i);var a=n("0c7c"),u=n("6544"),c=n.n(u),f=n("b1bf"),s=Object(a["a"])(r["default"],o["a"],o["b"],!1,null,null,null);e["default"]=s.exports,c()(s,{VDataTable:f["VDataTable"]})},b5d3:function(t,e){t.exports=p},b815:function(t,e,n){"use strict";function o(t){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=this&&this.__decorate||function(t,e,n,r){var i,a=arguments.length,u=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"===("undefined"===typeof Reflect?"undefined":o(Reflect))&&"function"===typeof Reflect.decorate)u=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(u=(a<3?i(u):a>3?i(e,n,u):i(e,n))||u);return a>3&&u&&Object.defineProperty(e,n,u),u},a=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var u,c=a(n("8bbf")),f=a(n("2fe1")),s=a(n("99cb")),l=n("44bf");(function(t){t["MULTIPLE_FILES_SELECTED"]="MULTIPLE_FILES_SELECTED",t["FILE_TOO_LARGE"]="FILE_TOO_LARGE",t["FILE_EXT_NOT_ALLOWED"]="FILE_EXT_NOT_ALLOWED"})(u||(u={}));var p=c.default.extend({props:{multiple:{type:Boolean,default:!1},value:{type:[Array,Object,File],default:function(){return[]}},ripple:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},fileSizeMax:{type:Number,default:4194304},fileSizeUnits:{type:[Array,Object],default:function(){return["o","Ko","Mo","Go","To"]}},allowedExtensions:{type:[Array,Object],default:function(){return["pdf","jpg","jpeg","png"]}},accept:{type:String,default:void 0},inputRef:{type:String,default:"vdInputEl"}}}),d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.uploadIcon=l.mdiCloudUpload,e.files=[],e.hover=!1,e.dragover=!1,e.error=!1,e}return r(e,t),Object.defineProperty(e.prototype,"colors",{get:function(){var t=this.$vuetify.theme.dark;return{label:t?"white--text":"primary--text",multiple:t?"white--text":"black--text",info:"grey--text "+(t?"text--lighten-1":"text--darken-1")}},enumerable:!0,configurable:!0}),e.prototype.selfReset=function(){this.dragover=!1,this.error=!1,this.files=[]},e.prototype.validateFile=function(t){if(t.size>=this.fileSizeMax)return this.error=!0,this.$emit("error",{file:t,code:u.FILE_TOO_LARGE}),!1;var e=s.default(t.name);return this.allowedExtensions.includes(e)?(this.files.push(t),!0):(this.error=!0,this.$emit("error",{file:t,code:u.FILE_EXT_NOT_ALLOWED}),!1)},Object.defineProperty(e.prototype,"extensions",{get:function(){return this.allowedExtensions.join(", ").toUpperCase()},enumerable:!0,configurable:!0}),e.prototype.emitChangeEvent=function(){if(!this.error){var t=this.multiple?this.files:this.files[0];this.$emit("change",t)}var e=this.$refs[this.inputRef];e.value=""},e.prototype.dropHandler=function(t){this.selfReset();var e=t.dataTransfer;if(e){var n=e.items||e.files;if(!this.ifTooMuchfiles(n)){if(e.items){for(var o=0;o<e.items.length;o++)if("file"===e.items[o].kind){var r=e.items[o].getAsFile();if(!r)return;this.validateFile(r)}}else for(o=0;o<e.files.length;o++)this.validateFile(e.files[o]);this.emitChangeEvent()}}},e.prototype.inputValueChanged=function(t){if(t.target){var e=t.target.files;if(this.selfReset(),e&&e.length&&!this.ifTooMuchfiles(e)){for(var n=0;n<e.length;n++)this.validateFile(e[n]);this.emitChangeEvent()}}},e.prototype.ifTooMuchfiles=function(t){return!this.multiple&&t.length>1&&(this.$emit("error",{file:t,code:u.MULTIPLE_FILES_SELECTED}),!0)},e.prototype.calcHumanFileSize=function(t,e){var n=Math.floor(Math.log(t)/Math.log(1024)),o=1*Number((t/Math.pow(1024,n)).toFixed(2));return o+" "+e[n]},Object.defineProperty(e.prototype,"maxSizeReadable",{get:function(){return this.calcHumanFileSize(this.fileSizeMax,this.fileSizeUnits)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"computedAccept",{get:function(){if(this.accept)return this.accept;var t=[];return this.allowedExtensions.forEach(function(e){t.push("."+e+",")}),t.join()},enumerable:!0,configurable:!0}),e=i([f.default({model:{prop:"value",event:"change"}})],e),e}(p);e.default=d},c122:function(t,e,n){"use strict";var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return Object.keys(t.languages).length?n("VMenu",t._b({staticClass:"vd-lang-btn",attrs:{"content-class":"vd-lang-menu"},scopedSlots:t._u([{key:"activator",fn:function(e){var o=e.on;return[t.currentLangData?n("VBtn",t._g(t._b({},"VBtn",t.options.btn,!1),o),[t.flags?n("img",{staticClass:"vd-current-flag",attrs:{src:t.currentLangData.flagUrl,alt:""}}):t._e(),t.currentLangTextBtn?n("span",{staticClass:"ml-2"},[t._v("\n\t\t\t\t"+t._s(t.currentLangData.name)+"\n\t\t\t")]):t._e(),t.downArrow?n("VIcon",t._b({},"VIcon",t.options.icon,!1),[t._v("\n\t\t\t\t"+t._s(t.downArrowIcon)+"\n\t\t\t")]):t._e()],1):t._e()]}}],null,!1,3661253679)},"VMenu",t.options.menu,!1),[n("VList",t._b({},"VList",t.options.list,!1),t._l(t.languages,function(e,o){return n("VListItem",t._b({key:o,on:{click:function(e){return t.updateLang(o)}}},"VListItem",t.options.listTile,!1),[t.flags?n("VListItemAvatar",t._b({},"VListItemAvatar",t.options.listItemAvatar,!1),[n("img",{staticClass:"vd-flag-img",attrs:{src:""+t.flagsUrl+o+".svg",alt:""}})]):t._e(),n("VListItemTitle",t._b({},"VListItemTitle",t.options.listTileTitle,!1),[t._v("\n\t\t\t\t"+t._s(e.nativeName)+"\n\t\t\t")])],1)}),1)],1):t._e()},r=[];n.d(e,"a",function(){return o}),n.d(e,"b",function(){return r})},c332:function(t,e,n){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var r=o(n("a685")),i={debounce:r.default};e.default=function(t){Object.keys(i).forEach(function(e){t.directive(e,i[e])})}},c611:function(t,e,n){"use strict";var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.$attrs?n("VDataTable",t._g(t._b({attrs:{options:t.optionsCalc,"server-items-length":t.serverItemsLength},on:{"update:options":function(e){t.optionsCalc=e}},scopedSlots:t._u([t._l(Object.keys(t.$scopedSlots),function(e){return{key:e,fn:function(n){return[t._t(e,null,null,n)]}}})],null,!0)},"VDataTable",t.$attrs,!1),t.$listeners)):t._e()},r=[];n.d(e,"a",function(){return o}),n.d(e,"b",function(){return r})},c618:function(t,e,n){"use strict";n.r(e);var o=n("fcfc"),r=n("4200");for(var i in r)"default"!==i&&function(t){n.d(e,t,function(){return r[t]})}(i);n("05e5");var a=n("0c7c"),u=Object(a["a"])(r["default"],o["a"],o["b"],!1,null,"9dd4c204",null);e["default"]=u.exports},cb58:function(t,e,n){"use strict";function o(t,e){var n;return void 0===e&&(e=500),function(){n&&clearTimeout(n),n=setTimeout(function(){n=null,t(arguments)},e)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=o},cd06:function(t,e,n){},d4aa:function(t,e,n){"use strict";n.r(e);var o=n("2790"),r=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,function(){return o[t]})}(i);e["default"]=r.a},e07f:function(t,e,n){"use strict";var o=n("6f1a"),r=n.n(o);r.a},e2f0:function(t,e){t.exports=d},e36e:function(t,e){t.exports=y},e8e3:function(t,e){t.exports=v},e94a:function(t,e,n){"use strict";n.r(e);var o=n("842f"),r=n("1724");for(var i in r)"default"!==i&&function(t){n.d(e,t,function(){return r[t]})}(i);n("ec71");var a=n("0c7c"),u=n("6544"),c=n.n(u),f=n("863d"),s=n("170f"),l=n("354e"),p=n("079e"),d=n("6881"),y=Object(a["a"])(r["default"],o["a"],o["b"],!1,null,"16816f1a",null);e["default"]=y.exports,c()(y,{VBtn:f["VBtn"],VDatePicker:s["VDatePicker"],VIcon:l["VIcon"],VMenu:p["VMenu"],VTextField:d["VTextField"]})},eaa4:function(t,e,n){},ec68:function(t,e){t.exports=b},ec71:function(t,e,n){"use strict";var o=n("cd06"),r=n.n(o);r.a},f2e3:function(t,e,n){"use strict";var o=n("8023"),r=n.n(o);r.a},f6fd:function(t,e){(function(t){var e="currentScript",n=t.getElementsByTagName("script");e in t||Object.defineProperty(t,e,{get:function(){try{throw new Error}catch(o){var t,e=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(o.stack)||[!1])[1];for(t in n)if(n[t].src==e||"interactive"==n[t].readyState)return n[t];return null}}})})(document)},fabf:function(t,e,n){"use strict";var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.notification?n("VSnackbar",t._b({attrs:{color:t.options.snackBar.color||t.notification.type}},"VSnackbar",t.options.snackBar,!1),[n("VLayout",{attrs:{"align-center":""}},[n("VIcon",t._b({staticClass:"vd-notification-icon"},"VIcon",t.options.icon,!1),[t._v("\n\t\t\t"+t._s(t.notification.icon)+"\n\t\t")]),t._v("\n\n\t\t"+t._s(t.notification.message)+"\n\t")],1),n("VBtn",t._b({on:{click:t.rmNotif}},"VBtn",t.options.btn,!1),[t._v("\n\t\t"+t._s(t.closeText)+"\n\t")])],1):t._e()},r=[];n.d(e,"a",function(){return o}),n.d(e,"b",function(){return r})},fb15:function(t,e,n){"use strict";n.r(e);n("1eb2");var o=n("ffb4"),r=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,function(){return o[t]})}(i);e["default"]=r.a},fcfc:function(t,e,n){"use strict";var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vd-data-list"},[t._t("title",[t.listTitle?n("h4",{class:t.titleClass},[t._v("\n\t\t\t"+t._s(t.listTitle)+"\n\t\t")]):t._e()]),t.list.length?n("dl",{staticClass:"vd-field",class:{"vd-column":t.column||t.$vuetify.breakpoint.xs||t.flex,"vd-flex":t.flex},style:{minWidth:t.minWidth}},t._l(t.list,function(e,o){return n("div",{key:o,staticClass:"vd-row mb-2"},[e.key?n("dt",{staticClass:"vd-key body-1",style:{width:t.width,color:t.labelColor}},[t._v("\n\t\t\t\t"+t._s(e.key)+"\n\t\t\t")]):t._e(),n("dd",{staticClass:"vd-value body-1",style:{color:t.valueColor}},[t._v("\n\t\t\t\t"+t._s(e.value||t.placeholder)+"\n\t\t\t")])])}),0):t._e()],2)},r=[];n.d(e,"a",function(){return o}),n.d(e,"b",function(){return r})},ffb4:function(t,e,n){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var r=o(n("3617")),i=o(n("c332")),a={install:function(t,e){r.default(t),i.default(t);var n=e?e.theme:void 0;n&&(t.prototype.$theme=n)}};"undefined"!==typeof window&&window.Vue&&window.Vue.use(a),e.default=a},ffda:function(t,e){t.exports=m}})["default"]});
{
"name": "@cnamts/vue-dot",
"version": "2.0.0-alpha.21",
"version": "2.0.0-alpha.22",
"description": "Official CNAM component library",

@@ -47,10 +47,10 @@ "keywords": [

"@cnamts/cli-helpers": "^2.0.0-alpha.21",
"@mdi/js": "^3.8.95",
"@mdi/js": "^3.8.97",
"@types/jest": "^23.3.14",
"@typescript-eslint/parser": "^1.13.0",
"@vue/cli-plugin-babel": "^3.9.2",
"@vue/cli-plugin-eslint": "^3.9.2",
"@vue/cli-plugin-typescript": "^3.9.0",
"@vue/cli-plugin-unit-jest": "^3.9.0",
"@vue/cli-service": "^3.9.3",
"@vue/cli-plugin-babel": "^3.10.0",
"@vue/cli-plugin-eslint": "^3.10.0",
"@vue/cli-plugin-typescript": "^3.10.0",
"@vue/cli-plugin-unit-jest": "^3.10.0",
"@vue/cli-service": "^3.10.0",
"@vue/eslint-config-standard": "^4.0.0",

@@ -79,6 +79,6 @@ "@vue/eslint-config-typescript": "^4.0.0",

"vue-template-compiler": "^2.6.10",
"vuetify": "^2.0.2",
"vuetify": "^2.0.5",
"vuetify-loader": "^1.3.0",
"vuex": "^3.1.1",
"webpack": "^4.38.0",
"webpack": "^4.39.1",
"webpack-node-externals": "^1.7.2"

@@ -147,3 +147,3 @@ },

},
"gitHead": "5740f9247036271af1d0083864468f14a42af2bb"
"gitHead": "e9bfe7a14d87838ad5c74553493ab1f7440a341f"
}
import { DirectiveOptions } from 'vue';
import debounceFn from '../functions/debounce';
/**
* v-debounce directive
*/
/** v-debounce directive */
const debounce: DirectiveOptions = {

@@ -8,0 +6,0 @@ inserted(el, binding) {

@@ -8,4 +8,6 @@ /**

export default function copyToClipboard(textToCopy: string) {
/** Use a text area, so we can use execCommand */
const el = document.createElement('textarea');
// Configure the element to be readonly and hidden
el.value = textToCopy;

@@ -16,20 +18,24 @@ el.setAttribute('readonly', '');

// Append the element
document.body.appendChild(el);
// Check if there is any content selected previously
// Store selection if found
// Mark as false to know that no selection existed before
// Document selection
const selection = document.getSelection();
if (!selection) {
return;
let selected: Range | false = false;
if (selection) {
// Store previous selection (or false) to restore it after
selected = selection.rangeCount > 0 ? selection.getRangeAt(0) : false;
}
const selected = selection.rangeCount > 0 ? selection.getRangeAt(0) : false;
// Select the text
el.select();
// Copy it
document.execCommand('copy');
// Then remove the element from the DOM
document.body.removeChild(el);
if (selected) { // If a selection existed before copying
// If a selection existed before copying
if (selection && selected) {
selection.removeAllRanges(); // Unselect everything on the HTML document

@@ -36,0 +42,0 @@ selection.addRange(selected); // Restore the original selection

@@ -1,2 +0,6 @@

/** Returns the extension of a file (without the dot) */
/**
* Returns the extension of a file (without the dot)
*
* @param {string} fileName The name of the file (with extension)
*/
export default function getFileExtension(fileName: string): string {

@@ -3,0 +7,0 @@ // lastIndexOf returns '.xxx', add 1 to slice the dot

@@ -19,3 +19,3 @@ import Vue from 'vue';

*/
export default function customizable(defaultOptions: object) {
export default function customizable(defaultOptions: Options) {
return Vue.extend({

@@ -30,3 +30,3 @@ props: {

computed: {
options(): object {
options(): Options {
// If we have custom options

@@ -39,3 +39,3 @@ if (this.vuetifyOptions) {

this.vuetifyOptions
]);
]) as Options;
}

@@ -42,0 +42,0 @@

@@ -8,2 +8,7 @@ const defaultErrorMessages = {

return (value: string) => {
// If the value is empty, return true (valid)
if (!value) {
return true;
}
const emailRegex = /^\w+([.-]?\w+)*@\w+([.-]?\w+)*(\.\w{2,3})+$/;

@@ -10,0 +15,0 @@

@@ -23,2 +23,7 @@ import dayjs from 'dayjs';

return (value: string) => {
// If the value is empty, return true (valid)
if (!value) {
return true;
}
// If the date is before now, it's a past date, it's valid,

@@ -25,0 +30,0 @@ // else, the date is after today, it's invalid

@@ -23,2 +23,7 @@ import dayjs from 'dayjs';

return (value: string) => {
// If the value is empty, return true (valid)
if (!value) {
return true;
}
// If the date is after now, it's a future date, it's valid,

@@ -25,0 +30,0 @@ // else, the date is before today, it's invalid

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc