{"version":3,"sources":["webpack:///./src/components/vModal-test.vue?732f","webpack:///./src/components/vModal-test.vue","webpack:///./src/components/vModal-test.vue?6dee","webpack:///./src/components/vModal-test.vue?bdcf","webpack:///./src/components/vModal-test.vue?fc01"],"names":["render","_vm","this","_c","_self","_setupProxy","attrs","show","staticClass","_v","_s","modalTitle","on","cancelModal","$event","preventDefault","submitForm","apply","arguments","editMode","_e","class","errors","has","translations","get","directives","name","rawName","value","customer","expression","domProps","target","composing","$set","first","phone","ownerFirstName","ownerLastName","ownerEmail","ownerPassword","ref","passwordMismatch","confirmOwnerPassword","staticStyle","accountType","_q","chosenNutrientSource","error","$$selectedVal","Array","prototype","filter","call","options","o","selected","map","val","_value","multiple","subscriptionPackageId","_l","packages","pck","key","id","cycle","customerSpecialUnlimited","model","specialSubscriptionEndDate","callback","$$v","isArray","_i","$$a","$$el","$$c","checked","$$i","concat","slice","toggleCustomer","currentCustomerEnabled","$emit","downloadedLabels","labelsLimit","nextResetDate","staticRenderFns","vModal","_Vue","_this","_classCallCheck","disableCustomer","subscriptionPackages","subscriptionPackage","_inherits","_createClass","oldVal","newVal","bodee","document","getElementsByTagName","classList","add","remove","_this2","$validator","validateAll","then","result","isSpecial","$snotify","_this3","addEventListener","e","keyCode","_this4","SubscriptionRepository","displaySubscriptionPackages","response","data","length","catch","errorMessages","userVisibleMessage","localizationState","Vue","__decorate","Prop","Watch","Component","components","vToggleSwitch","computed","_objectSpread","mapState","state","LocalizationModule","component"],"mappings":"gHAAA,W,yCCAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,aAAa,CAACG,MAAM,CAAC,KAAO,UAAU,CAAEL,EAAIM,KAAMJ,EAAG,MAAM,CAACK,YAAY,cAAc,CAACL,EAAG,MAAM,CAACK,YAAY,iBAAiB,CAACL,EAAG,MAAM,CAACK,YAAY,4BAA4B,CAACL,EAAG,MAAM,CAACK,Y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CAAAyC,IAAA,eAAAzC,IAED,WACE,OAAOvB,KAAK6H,kBAAkBvG,iBA5FP,CAASwG,QAC1BC,eAAA,CAAPC,kB,2BACOD,eAAA,CAAPC,kB,iCACOD,eAAA,CAAPC,kB,+BACOD,eAAA,CAAPC,kB,6CACOD,eAAA,CAAPC,kB,+BAeDD,eAAA,CADCE,eAAM,6B,+CAMPF,eAAA,CADCE,eAAM,S,8BAxBYzC,EAAMuC,eAAA,CAV1BG,eAAU,CACTC,WAAY,CACVC,sBAEFC,SAAQC,EAAA,GACHC,eAAS,CACVV,kBAAmB,SAACW,GAAU,OAAKA,EAAMC,0BAI1BjD,WCnBgX,I,wBCQjYkD,EAAY,eACd,EACA5I,EACAyF,GACA,EACA,KACA,WACA,MAIa,aAAAmD,E","file":"js/chunk-63e38442.c3a8be43.js","sourcesContent":["export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./vModal-test.vue?vue&type=style&index=0&id=6bce0bba&prod&scoped=true&lang=css\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('transition',{attrs:{\"name\":\"modal\"}},[(_vm.show)?_c('div',{staticClass:\"modal-mask\"},[_c('div',{staticClass:\"modal-wrapper\"},[_c('div',{staticClass:\"modal-dialog modal-small\"},[_c('div',{staticClass:\"modal-content\"},[_c('div',{staticClass:\"modal-header\"},[_c('h3',{staticClass:\"modal-title\"},[_vm._v(_vm._s(_vm.modalTitle))]),_c('button',{staticClass:\"close\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.cancelModal}},[_c('span',{attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"×\")])])]),_c('div',{staticClass:\"modal-body\"},[_c('form',{staticClass:\"p-t-15\",attrs:{\"role\":\"form\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.submitForm.apply(null, arguments)}}},[(!_vm.editMode)?_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-md-6\"},[_c('div',{staticClass:\"form-group form-group-default required\",class:{ 'has-error': _vm.errors.has('companyName') }},[_c('label',[_vm._v(_vm._s(_vm.translations.get(\"customers_restaurant_name\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.customer.name),expression:\"customer.name\"},{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"placeholder\":_vm.translations.get(\n 'customers_restaurant_name_placeholder'\n ),\"name\":\"companyName\",\"data-vv-as\":_vm.translations.get('customers_restaurant_name')},domProps:{\"value\":(_vm.customer.name)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.customer, \"name\", $event.target.value)}}}),(_vm.errors.has('companyName'))?_c('span',{staticClass:\"error col-12\"},[_vm._v(_vm._s(_vm.errors.first(\"companyName\")))]):_vm._e()])]),_c('div',{staticClass:\"col-md-6\"},[_c('div',{staticClass:\"form-group form-group-default required\",class:{ 'has-error': _vm.errors.has('phone') }},[_c('label',[_vm._v(_vm._s(_vm.translations.get(\"customers_restaurant_phone\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.customer.phone),expression:\"customer.phone\"},{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"placeholder\":_vm.translations.get(\n 'customers_restaurant_phone_placeholder'\n ),\"name\":\"phone\",\"data-vv-as\":_vm.translations.get('customers_restaurant_phone')},domProps:{\"value\":(_vm.customer.phone)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.customer, \"phone\", $event.target.value)}}}),(_vm.errors.has('phone'))?_c('span',{staticClass:\"error col-12\"},[_vm._v(_vm._s(_vm.errors.first(\"phone\")))]):_vm._e()])])]):_vm._e(),(!_vm.editMode)?_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-md-6\"},[_c('div',{staticClass:\"form-group form-group-default required\",class:{ 'has-error': _vm.errors.has('firstName') }},[_c('label',[_vm._v(_vm._s(_vm.translations.get(\"customers_owner_first_name\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.customer.ownerFirstName),expression:\"customer.ownerFirstName\"},{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"placeholder\":_vm.translations.get(\n 'customers_owner_first_name_placeholder'\n ),\"name\":\"firstName\",\"data-vv-as\":_vm.translations.get('customers_owner_first_name')},domProps:{\"value\":(_vm.customer.ownerFirstName)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.customer, \"ownerFirstName\", $event.target.value)}}}),(_vm.errors.has('firstName'))?_c('span',{staticClass:\"error col-12\"},[_vm._v(_vm._s(_vm.errors.first(\"firstName\")))]):_vm._e()])]),_c('div',{staticClass:\"col-md-6\"},[_c('div',{staticClass:\"form-group form-group-default required\",class:{ 'has-error': _vm.errors.has('lastName') }},[_c('label',[_vm._v(_vm._s(_vm.translations.get(\"customers_owner_last_name\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.customer.ownerLastName),expression:\"customer.ownerLastName\"},{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"placeholder\":_vm.translations.get(\n 'customers_owner_last_name_placeholder'\n ),\"name\":\"lastName\",\"data-vv-as\":_vm.translations.get('customers_owner_last_name')},domProps:{\"value\":(_vm.customer.ownerLastName)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.customer, \"ownerLastName\", $event.target.value)}}}),(_vm.errors.has('lastName'))?_c('span',{staticClass:\"error col-12\"},[_vm._v(_vm._s(_vm.errors.first(\"lastName\")))]):_vm._e()])])]):_vm._e(),(!_vm.editMode)?_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-md-12\"},[_c('div',{staticClass:\"form-group form-group-default required\",class:{ 'has-error': _vm.errors.has('restEmail') }},[_c('label',[_vm._v(_vm._s(_vm.translations.get(\"customers_owner_email_address\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.customer.ownerEmail),expression:\"customer.ownerEmail\"},{name:\"validate\",rawName:\"v-validate\",value:('required|email'),expression:\"'required|email'\"}],staticClass:\"form-control\",attrs:{\"type\":\"email\",\"placeholder\":_vm.translations.get(\n 'customers_owner_email_address_placeholder'\n ),\"name\":\"restEmail\",\"data-vv-as\":_vm.translations.get('customers_owner_email_address')},domProps:{\"value\":(_vm.customer.ownerEmail)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.customer, \"ownerEmail\", $event.target.value)}}}),(_vm.errors.has('restEmail'))?_c('span',{staticClass:\"error col-12\"},[_vm._v(_vm._s(_vm.errors.first(\"restEmail\")))]):_vm._e()])])]):_vm._e(),(!_vm.editMode)?_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-md-6\"},[_c('div',{staticClass:\"form-group form-group-default required\",class:{ 'has-error': _vm.errors.has('restPass') }},[_c('label',[_vm._v(_vm._s(_vm.translations.get(\"customers_owner_password\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.customer.ownerPassword),expression:\"customer.ownerPassword\"},{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],ref:\"restPassword\",staticClass:\"form-control\",class:{ 'form-wrong': _vm.passwordMismatch },attrs:{\"type\":\"password\",\"placeholder\":_vm.translations.get(\n 'customers_owner_password_placeholder'\n ),\"name\":\"restPass\",\"data-vv-as\":_vm.translations.get('customers_owner_password')},domProps:{\"value\":(_vm.customer.ownerPassword)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.customer, \"ownerPassword\", $event.target.value)}}}),(_vm.errors.has('restPass'))?_c('span',{staticClass:\"error col-12\"},[_vm._v(_vm._s(_vm.errors.first(\"restPass\")))]):_vm._e()])]),_c('div',{staticClass:\"col-md-6\"},[_c('div',{staticClass:\"form-group form-group-default required\",class:{ 'has-error': _vm.errors.has('confPass') }},[_c('label',[_vm._v(_vm._s(_vm.translations.get(\"customers_confirm_password\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.customer.confirmOwnerPassword),expression:\"customer.confirmOwnerPassword\"},{name:\"validate\",rawName:\"v-validate\",value:('required|confirmed:restPassword'),expression:\"'required|confirmed:restPassword'\"}],staticClass:\"form-control\",class:{ 'form-wrong': _vm.passwordMismatch },attrs:{\"type\":\"password\",\"placeholder\":_vm.translations.get(\n 'customers_confirm_password_placeholder'\n ),\"name\":\"confPass\",\"data-vv-as\":_vm.translations.get('customers_confirm_password')},domProps:{\"value\":(_vm.customer.confirmOwnerPassword)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.customer, \"confirmOwnerPassword\", $event.target.value)}}}),(_vm.errors.has('confPass'))?_c('span',{staticClass:\"error col-12\"},[_vm._v(_vm._s(_vm.errors.first(\"confPass\")))]):_vm._e(),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.passwordMismatch),expression:\"passwordMismatch\"}],staticClass:\"form-control-feedback\"},[_vm._v(\"\\n \"+_vm._s(_vm.translations.get(\"password_mismatch_message\"))+\"\\n \")])])])]):_vm._e(),(!_vm.editMode)?_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"form-group col-md-12\"},[_c('label',{staticStyle:{\"margin-bottom\":\"0\"}},[_vm._v(\"Account type\")]),_c('br'),_c('div',{staticClass:\"radio radio-primary\",staticStyle:{\"display\":\"inline-block\",\"margin-top\":\"0\"}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.customer.accountType),expression:\"customer.accountType\"}],attrs:{\"id\":\"accountTypeTrial\",\"name\":\"accountType\",\"type\":\"radio\"},domProps:{\"value\":0,\"checked\":_vm._q(_vm.customer.accountType,0)},on:{\"change\":function($event){return _vm.$set(_vm.customer, \"accountType\", 0)}}}),_c('label',{attrs:{\"for\":\"accountTypeTrial\"}},[_vm._v(\"Trial\")])]),_c('div',{staticClass:\"radio radio-primary\",staticStyle:{\"display\":\"inline-block\"}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.customer.accountType),expression:\"customer.accountType\"}],attrs:{\"id\":\"accountTypeSpecial\",\"type\":\"radio\",\"name\":\"accountType\"},domProps:{\"value\":1,\"checked\":_vm._q(_vm.customer.accountType,1)},on:{\"change\":function($event){return _vm.$set(_vm.customer, \"accountType\", 1)}}}),_c('label',{attrs:{\"for\":\"accountTypeSpecial\"}},[_vm._v(\"Special\")])])])]):_vm._e(),(!_vm.editMode && _vm.customer.accountType == 0)?_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-md-6\"},[_c('div',{staticClass:\"form-group form-group-default form-group-default-select required\",class:{\n 'has-error': _vm.errors.has('accCreate.nutrSource'),\n },staticStyle:{\"border\":\"1px solid white !important\",\"margin-left\":\"-12px\"}},[_c('label',[_vm._v(\"Choose nutrient source database\")]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.customer.chosenNutrientSource),expression:\"customer.chosenNutrientSource\"},{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],staticClass:\"custom-select referrer-input\",class:{ error: _vm.errors.has('accCreate.nutrSource') },staticStyle:{\"width\":\"107% !important\"},attrs:{\"name\":\"nutrSource\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.customer, \"chosenNutrientSource\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":null}},[_vm._v(\"\\n \"+_vm._s(_vm.translations.get(\"customers_referrer_placeholder\"))+\"\\n \")]),_c('option',{domProps:{\"value\":0}},[_vm._v(\"\\n \"+_vm._s(_vm.translations.get(\"nutrient_source_0\"))+\"\\n \")]),_c('option',{domProps:{\"value\":1}},[_vm._v(\"\\n \"+_vm._s(_vm.translations.get(\"nutrient_source_1\"))+\"\\n \")]),_c('option',{domProps:{\"value\":2}},[_vm._v(\"\\n \"+_vm._s(_vm.translations.get(\"nutrient_source_2\"))+\"\\n \")])]),(_vm.errors.has('accCreate.nutrSource'))?_c('span',{staticClass:\"error col-12\"},[_vm._v(\"\\n \"+_vm._s(_vm.errors.first(\"accCreate.nutrSource\"))+\"\\n \")]):_vm._e()])])]):_vm._e(),(!_vm.editMode && _vm.customer.accountType == 1)?_c('div',{staticClass:\"form-row\"},[_c('hr'),_c('div',{staticClass:\"col-6\"},[_c('div',{staticClass:\"form-group\"},[_c('label',[_vm._v(\"Subscription package\")]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.customer.subscriptionPackageId),expression:\"customer.subscriptionPackageId\"}],staticClass:\"form-control\",on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.customer, \"subscriptionPackageId\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},_vm._l((_vm.packages),function(pck){return _c('option',{key:'package' + pck.id,domProps:{\"value\":pck.id}},[_vm._v(\"\\n \"+_vm._s(pck.cycle == 0\n ? pck.name + \" [Monthly]\"\n : pck.name + \" [Yearly]\")+\"\\n \")])}),0)])]),_c('div',{staticClass:\"col-6\"},[_c('div',{staticClass:\"form-group\"},[_c('label',[_vm._v(_vm._s(_vm.translations.get(\"customers_new_expiry_label\")))]),_c('datepicker',{attrs:{\"bootstrap-styling\":\"\",\"calendar-button-icon\":\"fa fa-calendar\",\"calendar-button\":\"\",\"monday-first\":\"\",\"disabled\":_vm.customerSpecialUnlimited,\"typeable\":\"\"},model:{value:(_vm.customer.specialSubscriptionEndDate),callback:function ($$v) {_vm.$set(_vm.customer, \"specialSubscriptionEndDate\", $$v)},expression:\"customer.specialSubscriptionEndDate\"}}),_c('div',{staticClass:\"checkbox check-primary\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.customerSpecialUnlimited),expression:\"customerSpecialUnlimited\"}],attrs:{\"id\":\"expiryUnlimited\",\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.customerSpecialUnlimited)?_vm._i(_vm.customerSpecialUnlimited,null)>-1:(_vm.customerSpecialUnlimited)},on:{\"change\":function($event){var $$a=_vm.customerSpecialUnlimited,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.customerSpecialUnlimited=$$a.concat([$$v]))}else{$$i>-1&&(_vm.customerSpecialUnlimited=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.customerSpecialUnlimited=$$c}}}}),_c('label',{attrs:{\"for\":\"expiryUnlimited\"}},[_vm._v(_vm._s(_vm.translations.get(\"unlimited\")))])])],1)])]):_vm._e(),(_vm.editMode)?_c('div',{staticClass:\"form-row\"},[_c('div',{staticClass:\"col-md-6\"},[_c('div',{staticClass:\"col-12\"},[_c('div',{staticClass:\"form-group form-group-default required\",class:{ 'has-error': _vm.errors.has('companyName') }},[_c('label',[_vm._v(_vm._s(_vm.translations.get(\"customers_restaurant_name\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.customer.name),expression:\"customer.name\"},{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"placeholder\":_vm.translations.get(\n 'customers_restaurant_name_placeholder'\n ),\"name\":\"companyName\",\"data-vv-as\":_vm.translations.get('customers_restaurant_name')},domProps:{\"value\":(_vm.customer.name)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.customer, \"name\", $event.target.value)}}}),(_vm.errors.has('companyName'))?_c('span',{staticClass:\"error col-12\"},[_vm._v(_vm._s(_vm.errors.first(\"companyName\")))]):_vm._e()])]),_c('div',{staticClass:\"col-12\"},[_c('div',{staticClass:\"form-group form-group-default required\",class:{ 'has-error': _vm.errors.has('phone') }},[_c('label',[_vm._v(_vm._s(_vm.translations.get(\"customers_restaurant_phone\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.customer.phone),expression:\"customer.phone\"},{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"placeholder\":_vm.translations.get(\n 'customers_restaurant_phone_placeholder'\n ),\"name\":\"phone\",\"data-vv-as\":_vm.translations.get('customers_restaurant_phone')},domProps:{\"value\":(_vm.customer.phone)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.customer, \"phone\", $event.target.value)}}}),(_vm.errors.has('phone'))?_c('span',{staticClass:\"error col-12\"},[_vm._v(_vm._s(_vm.errors.first(\"phone\")))]):_vm._e()])]),_c('div',{staticClass:\"col-12\"},[_c('div',{staticClass:\"text-left\"},[_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"col-md-3\"},[_c('label',[_vm._v(_vm._s(_vm.translations.get(\"enabled\")))])]),_c('div',{staticClass:\"col-md-3\"},[_c('vToggleSwitch',{on:{\"toggled\":_vm.toggleCustomer},model:{value:(_vm.currentCustomerEnabled),callback:function ($$v) {_vm.currentCustomerEnabled=$$v},expression:\"currentCustomerEnabled\"}})],1)])]),_c('div',{staticClass:\"text-right\"},[_c('div',{staticClass:\"form-group\"},[_c('label',{staticStyle:{\"visibility\":\"hidden\",\"display\":\"block\"}},[_vm._v(\"XXX\")]),_c('button',{staticClass:\"btn btn-link\",on:{\"click\":function($event){$event.preventDefault();return _vm.$emit('remove')}}},[_vm._v(\"\\n \"+_vm._s(_vm.translations.get(\"delete\"))+\"\\n \")])])])])]),_c('div',{staticClass:\"col-md-6\"},[_c('div',{staticClass:\"col-12\"},[_c('div',{staticClass:\"form-group form-group-default required\",class:{ 'has-error': _vm.errors.has('numberOfLabels') }},[_c('label',[_vm._v(_vm._s(_vm.translations.get(\"number-of-downloaded-labels\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.customer.downloadedLabels),expression:\"customer.downloadedLabels\"},{name:\"validate\",rawName:\"v-validate\",value:('required|min_value:0'),expression:\"'required|min_value:0'\"}],staticClass:\"form-control\",attrs:{\"type\":\"number\",\"min\":0,\"placeholder\":_vm.translations.get('number-of-downloaded-labels'),\"name\":\"numberOfLabels\",\"data-vv-as\":_vm.translations.get('number-of-downloaded-labels')},domProps:{\"value\":(_vm.customer.downloadedLabels)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.customer, \"downloadedLabels\", $event.target.value)}}}),(_vm.errors.has('numberOfLabels'))?_c('span',{staticClass:\"error col-12\"},[_vm._v(_vm._s(_vm.errors.first(\"numberOfLabels\")))]):_vm._e()])]),_c('div',{staticClass:\"col-12\"},[_c('div',{staticClass:\"form-group form-group-default\"},[_c('label',[_vm._v(_vm._s(_vm.translations.get(\"customers-limit-of-labels\")))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.customer.labelsLimit),expression:\"customer.labelsLimit\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"placeholder\":_vm.translations.get('customers-limit-of-labels'),\"disabled\":true},domProps:{\"value\":(_vm.customer.labelsLimit)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.customer, \"labelsLimit\", $event.target.value)}}})])]),_c('div',{staticClass:\"col-12 mt--5\"},[_c('div',{staticClass:\"form-group\"},[_c('label',{staticClass:\"mb-0\"},[_vm._v(_vm._s(_vm.translations.get(\"labels-reset-date\")))]),_c('datepicker',{attrs:{\"bootstrap-styling\":\"\",\"disabled\":\"\",\"calendar-button-icon\":\"fa fa-calendar\",\"calendar-button\":\"\",\"monday-first\":\"\"},model:{value:(_vm.customer.nextResetDate),callback:function ($$v) {_vm.$set(_vm.customer, \"nextResetDate\", $$v)},expression:\"customer.nextResetDate\"}})],1)])])]):_vm._e(),_c('div',{staticClass:\"form-row\"},[(!_vm.editMode)?_c('button',{staticClass:\"btn btn-primary btn-cons m-t-10\",staticStyle:{\"margin-left\":\"7px\"},attrs:{\"type\":\"submit\"}},[_vm._v(\"\\n \"+_vm._s(_vm.translations.get(\"submit\"))+\"\\n \")]):_vm._e(),(_vm.editMode)?_c('button',{staticClass:\"btn btn-primary btn-cons m-t-10\",attrs:{\"type\":\"submit\"}},[_vm._v(\"\\n \"+_vm._s(_vm.translations.get(\"save\"))+\"\\n \")]):_vm._e(),_c('button',{staticClass:\"btn btn-cons m-t-10\",attrs:{\"type\":\"reset\"},on:{\"click\":_vm.cancelModal}},[_vm._v(\"\\n \"+_vm._s(_vm.translations.get(\"cancel\"))+\"\\n \")])])])])])])])]):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\nimport { Vue, Component, Prop, Watch } from \"vue-property-decorator\";\r\nimport CustomerNew from \"@/models/Customer/CustomerNew\";\r\nimport vToggleSwitch from \"@/components/vToggleSwitch.vue\";\r\nimport { mapState } from \"vuex\";\r\nimport { TRANSLATIONS_FETCH } from \"@/store/ActionTypes\";\r\nimport Package from \"../models/Subscriptions/SubscriptionPackages/Package\";\r\nimport SubscriptionRepository from \"../utils/API/SubscriptionRepository\";\r\n\r\n@Component({\r\n components: {\r\n vToggleSwitch,\r\n },\r\n computed: {\r\n ...mapState({\r\n localizationState: (state: any) => state.LocalizationModule,\r\n }),\r\n },\r\n})\r\nexport default class vModal extends Vue {\r\n @Prop() show!: boolean;\r\n @Prop() modalTitle!: string;\r\n @Prop() customer!: CustomerNew;\r\n @Prop() currentCustomerEnabled!: boolean;\r\n @Prop() editMode!: boolean;\r\n\r\n passwordMismatch = false;\r\n disableCustomer = false;\r\n\r\n packages: any[] = [];\r\n\r\n localizationState: any;\r\n\r\n customerSpecialUnlimited: boolean = false;\r\n\r\n subscriptionPackages: Package[] = [];\r\n subscriptionPackage: Package | null = null;\r\n\r\n @Watch(\"customerSpecialUnlimited\")\r\n specialSubscriptionEndDate(oldVal: boolean, newVal: boolean) {\r\n this.customer.specialSubscriptionEndDate = null;\r\n }\r\n\r\n @Watch(\"show\")\r\n showModal(oldVal: boolean, newVal: boolean) {\r\n let bodee = document.getElementsByTagName(\"body\")[0];\r\n if (this.show) bodee.classList.add(\"modalOpen\");\r\n else bodee.classList.remove(\"modalOpen\");\r\n }\r\n\r\n hideModal() {\r\n this.$emit(\"hideModal\");\r\n }\r\n\r\n cancelModal() {\r\n this.$emit(\"cancelModal\");\r\n this.passwordMismatch = false;\r\n }\r\n\r\n toggleCustomer(value: boolean) {\r\n this.$emit(\"toggledCustomer\", value);\r\n }\r\n\r\n submitForm() {\r\n this.$validator.validateAll().then((result) => {\r\n if (result) {\r\n if (this.editMode) {\r\n this.$emit(\"submitEdit\");\r\n } else {\r\n if (\r\n this.customer.ownerPassword !== this.customer.confirmOwnerPassword\r\n ) {\r\n this.passwordMismatch = true;\r\n return;\r\n }\r\n this.customer.isSpecial = this.customer.accountType == 1;\r\n this.passwordMismatch = false;\r\n this.$emit(\"submitForm\");\r\n }\r\n return;\r\n }\r\n this.$snotify.error(this.translations.get(\"validation-error-message\"));\r\n });\r\n }\r\n\r\n mounted() {\r\n document.addEventListener(\"keydown\", (e) => {\r\n if (this.show && e.keyCode == 27) {\r\n this.cancelModal();\r\n }\r\n });\r\n }\r\n\r\n created() {\r\n SubscriptionRepository.displaySubscriptionPackages()\r\n .then((response) => {\r\n this.packages = response.data.result;\r\n if (this.packages.length > 0) {\r\n this.customer.subscriptionPackageId = this.packages[0].id;\r\n }\r\n })\r\n .catch((error) => {\r\n if (error.response)\r\n this.$snotify.error(\r\n error.response.errorMessages[0].userVisibleMessage\r\n );\r\n else this.$snotify.error(this.translations.get(\"network-error\"));\r\n });\r\n }\r\n\r\n get translations() {\r\n return this.localizationState.translations;\r\n }\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./vModal-test.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./vModal-test.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./vModal-test.vue?vue&type=template&id=6bce0bba&scoped=true\"\nimport script from \"./vModal-test.vue?vue&type=script&lang=ts\"\nexport * from \"./vModal-test.vue?vue&type=script&lang=ts\"\nimport style0 from \"./vModal-test.vue?vue&type=style&index=0&id=6bce0bba&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6bce0bba\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}