{"version":3,"sources":["webpack:///./src/entity/FinancialModels/FinancialModelList.vue","webpack:///./src/entity/FinancialModels/components/ExportDbModal.vue","webpack:///src/entity/FinancialModels/components/ExportDbModal.vue","webpack:///./src/entity/FinancialModels/components/ExportDbModal.vue?be83","webpack:///./src/entity/FinancialModels/components/ExportDbModal.vue?8a6b","webpack:///src/entity/FinancialModels/FinancialModelList.vue","webpack:///./src/entity/FinancialModels/FinancialModelList.vue?7b35","webpack:///./src/entity/FinancialModels/FinancialModelList.vue?e91b","webpack:///./src/entity/FinancialModels/forms/FinancialModelForm.vue","webpack:///src/entity/FinancialModels/forms/FinancialModelForm.vue","webpack:///./src/entity/FinancialModels/forms/FinancialModelForm.vue?7a93","webpack:///./src/entity/FinancialModels/forms/FinancialModelForm.vue?087b","webpack:///./src/mixins.js"],"names":["render","_vm","this","_c","_self","attrs","$auth","can","$stringConstants","staticClass","on","$event","newItemModal","_v","has","directives","name","rawName","modifiers","_e","fields","dataList","scopedSlots","_u","key","fn","data","_l","item","accounts","id","_s","bank","iban","followToCurrentItem","deleteItem","model","value","callback","$$v","expression","okRemove","ref","staticRenderFns","databaseDump","methods","_this","api","then","$snotify","success","$bvModal","hide","catch","error","component","beforeRouteEnter","to","from","next","vm","components","ExportDbModal","FinancialModelForm","removeItem","label","created","$store","dispatch","computed","_objectSpread","mapGetters","allFinancialModels","meFinancialModels","filter","some","dataItem","itemId","$router","push","params","$root","$emit","_ref","handleSubmit","Object","keys","errors","length","index","e","i","stopPropagation","preventDefault","onSubmit","required","regex","_ref2","dirty","validated","valid","changed","setValidationState","form","usreou_code","$set","_ref3","types","type_id","_ref4","_ref5","short_name","_ref6","_ref7","_ref8","email_support","_ref9","phone_support","max","_ref10","site","_ref11","all","options","reports","map","customReportLabel","scope","option","hasOwnProperty","domProps","includes","$groupLabel","Multiselect","mixins","getChangedFields","$refs","formValidation","$parent","response","variable","description","setErrors","groupBy","find","validationFields","reduce","accumulator"],"mappings":"yHAAA,IAAIA,EAAS,WAAk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K9D,OAJsC,IAAlCyH,EAAiBzH,GAAK6E,SAAoB7E,KAAO+E,GACnD4C,EAAYpE,KAAKvD,GAGZ2H,IACN,IAEH,OAAO9D,OAAOC,KAAKiB,GAAM2C,QACvB,SAACC,EAAa3H,GAKZ,OAJI8D,EAAK6C,SAAS3G,KAChB2H,EAAY3H,GAAO+E,EAAK/E,IAGnB2H,IAET,CAAErH,GAAIyE,EAAKzE","file":"js/chunk-1d70a2a2.6075dd22.2.32.5.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('b-card',{attrs:{\"header\":\"Профілі СПФМ\"}},[(_vm.$auth.can(_vm.$stringConstants('PERMISSION_CREATE_FINANCIAL_MODEL')))?_c('b-row',[_c('b-col',{staticClass:\"mr-auto p-3\",attrs:{\"cols\":\"auto\"}},[_c('b-button',{staticClass:\"mb-2\",attrs:{\"variant\":\"success\",\"size\":\"sm\"},on:{\"click\":function($event){_vm.newItemModal = true}}},[_c('i',{staticClass:\"fa fa-dot-circle-o\"}),_vm._v(\" Додати \")])],1),(_vm.$auth.has(_vm.$stringConstants('ROLE_OWNER')))?_c('b-col',{staticClass:\"p-3\",attrs:{\"cols\":\"auto\"}},[_c('b-button',{directives:[{name:\"b-modal\",rawName:\"v-b-modal.modal-dump-sql\",modifiers:{\"modal-dump-sql\":true}}],attrs:{\"variant\":\"dark\",\"size\":\"sm\"}},[_c('i',{staticClass:\"fa fa-database\"})])],1):_vm._e()],1):_vm._e(),_c('b-table',{attrs:{\"dark\":false,\"fields\":_vm.fields,\"hover\":true,\"striped\":true,\"bordered\":true,\"small\":false,\"fixed\":true,\"responsive\":\"sm\",\"items\":_vm.dataList},scopedSlots:_vm._u([{key:\"cell(accounts)\",fn:function(data){return _vm._l((data.item.accounts),function(item){return _c('p',{key:item.id},[_vm._v(\" \"+_vm._s(item.bank + \" - \" + item.iban)+\" \")])})}},{key:\"cell(actions)\",fn:function(data){return [_c('b-button',{attrs:{\"variant\":\"ghost-info link\",\"size\":\"sm\"},on:{\"click\":function($event){return _vm.followToCurrentItem(data.item.id)}}},[_c('i',{staticClass:\"fa fa-edit\"})]),(\n _vm.$auth.can(_vm.$stringConstants('PERMISSION_CREATE_FINANCIAL_MODEL'))\n )?_c('b-button',{attrs:{\"variant\":\"ghost-danger\",\"size\":\"sm\"},on:{\"click\":function($event){return _vm.deleteItem(data.item)}}},[_c('i',{staticClass:\"fa fa-close\"})]):_vm._e()]}}])})],1),_c('b-modal',{attrs:{\"id\":\"cPartForm\",\"title\":\"Профіль СПФМ\",\"hide-footer\":\"\",\"size\":\"xl\"},on:{\"ok\":function($event){_vm.newItemModal = false}},model:{value:(_vm.newItemModal),callback:function ($$v) {_vm.newItemModal=$$v},expression:\"newItemModal\"}},[_c('financial-model-form')],1),_c('b-modal',{attrs:{\"id\":\"modalRemove\"},on:{\"ok\":_vm.okRemove}},[_c('p',{staticClass:\"my-4\"},[_vm._v(\"Впевнені ?\")])]),_c('ExportDbModal',{ref:\"exportDbModal\"})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('b-modal',{attrs:{\"id\":\"modal-dump-sql\",\"hide-footer\":\"\",\"title\":\"Вивантаження даних\"}},[_c('p',{staticClass:\"mb-4\"},[_vm._v(\" Ви отримаєте на свою пошту файл архіву з даними контрагентів та їх договорів. Натискаючи \"),_c('strong',[_vm._v(\"Замовити\")]),_vm._v(\", ви берете на себе відповідальність за збереження (захищеність) всієї вивантаженої інформації з AML.point \")]),_c('div',[_c('b-button',{attrs:{\"variant\":\"success\"},on:{\"click\":_vm.databaseDump}},[_vm._v(\"Замовити\")])],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ExportDbModal.vue?vue&type=script&lang=js\"; 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/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ExportDbModal.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ExportDbModal.vue?vue&type=template&id=17b3e91f\"\nimport script from \"./ExportDbModal.vue?vue&type=script&lang=js\"\nexport * from \"./ExportDbModal.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FinancialModelList.vue?vue&type=script&lang=js\"; 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/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FinancialModelList.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./FinancialModelList.vue?vue&type=template&id=7c5b41b4\"\nimport script from \"./FinancialModelList.vue?vue&type=script&lang=js\"\nexport * from \"./FinancialModelList.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('ValidationObserver',{ref:\"formValidation\",scopedSlots:_vm._u([{key:\"default\",fn:function({ handleSubmit }){return [_c('b-alert',{attrs:{\"show\":Object.keys(_vm.errors).length > 0,\"variant\":\"danger\"}},[_c('h4',{staticClass:\"alert-heading\"},[_vm._v(\" Виникла помилка при збереженні профілю СПФМ! \")]),_vm._l((_vm.errors),function(error,index){return _c('li',{key:index},_vm._l((error),function(e,i){return _c('span',{key:i},[_vm._v(\" \"+_vm._s(e)+\" \")])}),0)})],2),_c('b-form',{on:{\"submit\":function($event){$event.stopPropagation();$event.preventDefault();return handleSubmit(_vm.onSubmit)}}},[_c('ValidationProvider',{attrs:{\"name\":\"ЄДРПОУ\",\"rules\":{ required: true, regex: /^[\\d]{8}$/ },\"vid\":\"usreou_code\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors, dirty, validated, valid, changed }){return [_c('b-form-group',{attrs:{\"label\":\"ЄДРПОУ:\"}},[_c('b-form-input',{attrs:{\"type\":\"text\",\"state\":_vm.setValidationState(errors, dirty, validated, valid, changed),\"maxlength\":\"8\",\"placeholder\":\"8-ми значний номер\"},model:{value:(_vm.form.usreou_code),callback:function ($$v) {_vm.$set(_vm.form, \"usreou_code\", $$v)},expression:\"form.usreou_code\"}}),_vm._l((errors),function(error,index){return _c('b-form-invalid-feedback',{key:index,attrs:{\"state\":errors.length === 0}},[_vm._v(\" \"+_vm._s(error)+\" \")])})],2)]}}],null,true)}),_c('ValidationProvider',{attrs:{\"name\":\"Тип субʼєкта\",\"rules\":\"required\",\"vid\":\"type_id\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors, dirty, validated, valid, changed }){return [_c('b-form-group',{attrs:{\"label\":\"Тип субʼєкта\"}},[_c('b-form-select',{attrs:{\"text-field\":\"name\",\"value-field\":\"id\",\"options\":_vm.types,\"state\":_vm.setValidationState(errors, dirty, validated, valid, changed)},model:{value:(_vm.form.type_id),callback:function ($$v) {_vm.$set(_vm.form, \"type_id\", $$v)},expression:\"form.type_id\"}}),_vm._l((errors),function(error,index){return _c('b-form-invalid-feedback',{key:index,attrs:{\"state\":errors.length === 0}},[_vm._v(\" \"+_vm._s(error)+\" \")])})],2)]}}],null,true)}),_c('b-form-group',{attrs:{\"label\":\"Назва\",\"label-size\":\"lg\",\"label-class\":\"font-weight-bold\"}},[_c('ValidationProvider',{attrs:{\"name\":\"назва\",\"rules\":\"required|max:255\",\"vid\":\"name\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors, dirty, validated, valid, changed }){return [_c('b-form-group',{attrs:{\"label\":\"Повна:\"}},[_c('b-form-input',{attrs:{\"type\":\"text\",\"maxlength\":\"255\",\"state\":_vm.setValidationState(errors, dirty, validated, valid, changed)},model:{value:(_vm.form.name),callback:function ($$v) {_vm.$set(_vm.form, \"name\", $$v)},expression:\"form.name\"}}),_vm._l((errors),function(error,index){return _c('b-form-invalid-feedback',{key:index,attrs:{\"state\":errors.length === 0}},[_vm._v(\" \"+_vm._s(error)+\" \")])})],2)]}}],null,true)}),_c('ValidationProvider',{attrs:{\"name\":\"Скорочена\",\"rules\":\"max:255\",\"vid\":\"short_name\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors, dirty, validated, valid, changed }){return [_c('b-form-group',{attrs:{\"label\":\"Скорочена:\"}},[_c('b-form-input',{attrs:{\"type\":\"text\",\"maxlength\":\"255\",\"state\":_vm.setValidationState(errors, dirty, validated, valid, changed)},model:{value:(_vm.form.short_name),callback:function ($$v) {_vm.$set(_vm.form, \"short_name\", $$v)},expression:\"form.short_name\"}}),_vm._l((errors),function(error,index){return _c('b-form-invalid-feedback',{key:index,attrs:{\"state\":errors.length === 0}},[_vm._v(\" \"+_vm._s(error)+\" \")])})],2)]}}],null,true)})],1),_c('b-form-group',{attrs:{\"label\":\"Рахунок\",\"label-size\":\"lg\",\"label-class\":\"font-weight-bold\"}},[_c('ValidationProvider',{attrs:{\"name\":\"Банк\",\"rules\":\"max:255\",\"vid\":\"bank\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors, dirty, validated, valid, changed }){return [_c('b-form-group',{attrs:{\"label\":\"Банк:\"}},[_c('b-form-input',{attrs:{\"type\":\"text\",\"maxlength\":\"255\",\"state\":_vm.setValidationState(errors, dirty, validated, valid, changed)},model:{value:(_vm.form.bank),callback:function ($$v) {_vm.$set(_vm.form, \"bank\", $$v)},expression:\"form.bank\"}}),_vm._l((errors),function(error,index){return _c('b-form-invalid-feedback',{key:index,attrs:{\"state\":errors.length === 0}},[_vm._v(\" \"+_vm._s(error)+\" \")])})],2)]}}],null,true)}),_c('ValidationProvider',{attrs:{\"name\":\"Рахунок\",\"rules\":{ required: true, regex: /^[A-Z]{2}[\\d]{27}$/ },\"vid\":\"iban\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors, dirty, validated, valid, changed }){return [_c('b-form-group',{attrs:{\"label\":\"Номер рахунку:\",\"description\":\"UA000000000000000000000000000\"}},[_c('b-form-input',{attrs:{\"type\":\"text\",\"maxlength\":\"29\",\"state\":_vm.setValidationState(errors, dirty, validated, valid, changed)},model:{value:(_vm.form.iban),callback:function ($$v) {_vm.$set(_vm.form, \"iban\", $$v)},expression:\"form.iban\"}}),_vm._l((errors),function(error,index){return _c('b-form-invalid-feedback',{key:index,attrs:{\"state\":errors.length === 0}},[_vm._v(\" \"+_vm._s(error)+\" \")])})],2)]}}],null,true)})],1),_c('ValidationProvider',{attrs:{\"name\":\"адреса електронної пошти\",\"rules\":\"email\",\"vid\":\"email_support\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors, dirty, validated, valid, changed }){return [_c('b-form-group',{attrs:{\"label\":\"Адреса електронної пошти:\",\"description\":\"no-reply@example.com\"}},[_c('b-form-input',{attrs:{\"type\":\"email\",\"state\":_vm.setValidationState(errors, dirty, validated, valid, changed)},model:{value:(_vm.form.email_support),callback:function ($$v) {_vm.$set(_vm.form, \"email_support\", $$v)},expression:\"form.email_support\"}}),_vm._l((errors),function(error,index){return _c('b-form-invalid-feedback',{key:index,attrs:{\"state\":errors.length === 0}},[_vm._v(\" \"+_vm._s(error)+\" \")])})],2)]}}],null,true)}),_c('ValidationProvider',{attrs:{\"name\":\"номер телефону\",\"rules\":{ regex: /^\\+[\\d]{12}$/ },\"vid\":\"phone_support\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors, dirty, validated, valid, changed }){return [_c('b-form-group',{attrs:{\"label\":\"Номер телефону:\",\"description\":\"+380960000000\"}},[_c('b-form-input',{attrs:{\"type\":\"text\",\"maxlength\":\"13\",\"state\":_vm.setValidationState(errors, dirty, validated, valid, changed)},model:{value:(_vm.form.phone_support),callback:function ($$v) {_vm.$set(_vm.form, \"phone_support\", $$v)},expression:\"form.phone_support\"}}),_vm._l((errors),function(error,index){return _c('b-form-invalid-feedback',{key:index,attrs:{\"state\":errors.length === 0}},[_vm._v(\" \"+_vm._s(error)+\" \")])})],2)]}}],null,true)}),_c('ValidationProvider',{attrs:{\"name\":\"web посилання\",\"rules\":{\n regex:\n /^(http:\\/\\/www\\.|https:\\/\\/www\\.|http:\\/\\/|https:\\/\\/)?[a-z0-9]+([\\-\\.]{1}[a-z0-9]+)*\\.[a-z]{2,5}(:[0-9]{1,5})?(\\/.*)?$/,\n max: 255,\n },\"vid\":\"site\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors, dirty, validated, valid, changed }){return [_c('b-form-group',{attrs:{\"label\":\"WEB посилання:\",\"description\":\"www.example.com/uk\"}},[_c('b-form-input',{attrs:{\"type\":\"text\",\"maxlength\":\"255\",\"state\":_vm.setValidationState(errors, dirty, validated, valid, changed)},model:{value:(_vm.form.site),callback:function ($$v) {_vm.$set(_vm.form, \"site\", $$v)},expression:\"form.site\"}}),_vm._l((errors),function(error,index){return _c('b-form-invalid-feedback',{key:index,attrs:{\"state\":errors.length === 0}},[_vm._v(\" \"+_vm._s(error)+\" \")])})],2)]}}],null,true)}),_c('ValidationProvider',{attrs:{\"name\":\"звіти\",\"rules\":{ required: true },\"vid\":\"reports\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors, dirty, validated, valid, changed }){return [_c('b-form-group',{attrs:{\"label\":\"Звіти:\"}},[_c('multiselect',{attrs:{\"options\":[\n {\n all: 'Всі',\n options: _vm.reports.map((e) => e.value),\n },\n ],\"multiple\":true,\"close-on-select\":false,\"clear-on-select\":false,\"preserve-search\":true,\"group-values\":\"options\",\"group-label\":\"all\",\"group-select\":true,\"show-labels\":false,\"placeholder\":\"\",\"custom-label\":_vm.customReportLabel,\"state\":_vm.setValidationState(errors, dirty, validated, valid, changed)},scopedSlots:_vm._u([{key:\"option\",fn:function(scope){return [(!scope.option.hasOwnProperty('$groupLabel'))?_c('input',{attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":_vm.form.reports.includes(scope.option)},on:{\"focus\":function($event){$event.preventDefault();}}}):_vm._e(),(scope.option.hasOwnProperty('$groupLabel'))?[_vm._v(\" \"+_vm._s(scope.option.$groupLabel)+\" \")]:[_vm._v(\" \"+_vm._s(_vm.customReportLabel(scope.option))+\" \")]]}}],null,true),model:{value:(_vm.form.reports),callback:function ($$v) {_vm.$set(_vm.form, \"reports\", $$v)},expression:\"form.reports\"}}),_vm._l((errors),function(error,index){return _c('b-form-invalid-feedback',{key:index,attrs:{\"state\":errors.length === 0}},[_vm._v(\" \"+_vm._s(error)+\" \")])})],2)]}}],null,true)}),(_vm.$auth.can(_vm.$stringConstants('PERMISSION_CREATE_FINANCIAL_MODEL')))?_c('b-button',{attrs:{\"type\":\"submit\",\"size\":\"sm\",\"variant\":\"success\"}},[_c('i',{staticClass:\"fa fa-dot-circle-o\"}),_vm._v(\" Додати \")]):_vm._e()],1)]}}])})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FinancialModelForm.vue?vue&type=script&lang=js\"; 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/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FinancialModelForm.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./FinancialModelForm.vue?vue&type=template&id=11462236\"\nimport script from \"./FinancialModelForm.vue?vue&type=script&lang=js\"\nexport * from \"./FinancialModelForm.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export default {\n methods: {\n setValidationState(errors, dirty, validated, valid, changed) {\n return errors.length > 0 ? false : dirty && changed ? true : null;\n },\n getChangedFields(validationFields, form) {\n const keys = Object.keys(validationFields).reduce((accumulator, key) => {\n if (validationFields[key].changed === true && key in form) {\n accumulator.push(key);\n }\n\n return accumulator;\n }, []);\n\n return Object.keys(form).reduce(\n (accumulator, key) => {\n if (keys.includes(key)) {\n accumulator[key] = form[key];\n }\n\n return accumulator;\n },\n { id: form.id }\n );\n }\n }\n};\n"],"sourceRoot":""}