{"version":3,"sources":["webpack:///./src/mixins.js","webpack:///./src/entity/Users/UserTabs.vue","webpack:///./src/entity/Users/UserList.vue","webpack:///./src/entity/Users/forms/UserForm.vue","webpack:///./src/entity/Users/mixins/mapper.js","webpack:///src/entity/Users/forms/UserForm.vue","webpack:///./src/entity/Users/forms/UserForm.vue?c338","webpack:///./src/entity/Users/forms/UserForm.vue?0b95","webpack:///src/entity/Users/UserList.vue","webpack:///./src/entity/Users/UserList.vue?dfeb","webpack:///./src/entity/Users/UserList.vue?a06d","webpack:///./src/entity/Users/RolePermissionList.vue","webpack:///./src/entity/Users/forms/RoleForm.vue","webpack:///src/entity/Users/forms/RoleForm.vue","webpack:///./src/entity/Users/forms/RoleForm.vue?0e90","webpack:///./src/entity/Users/forms/RoleForm.vue?c5da","webpack:///src/entity/Users/RolePermissionList.vue","webpack:///./src/entity/Users/RolePermissionList.vue?f991","webpack:///./src/entity/Users/RolePermissionList.vue?4601","webpack:///src/entity/Users/UserTabs.vue","webpack:///./src/entity/Users/UserTabs.vue?56ff","webpack:///./src/entity/Users/UserTabs.vue?42ca"],"names":["methods","setValidationState","errors","dirty","validated","valid","changed","length","getChangedFields","validationFields","form","keys","Object","reduce","accumulator","key","push","includes","id","render","_vm","this","_c","_self","attrs","staticRenderFns","$auth","can","staticClass","on","$event","createUser","_v","_e","fields","users","scopedSlots","_u","fn","data","_l","item","permissions","permission","_s","permissionMapper","name","financial_models","financial_model","editUser","index","$store","getters","deleteUser","user","ref","_ref","handleSubmit","error","e","i","preventDefault","onSubmit","_ref2","model","value","email","callback","$$v","$set","expression","_ref3","phone","_ref4","role_id","roles","role","domProps","roleMapper","_ref5","financialModels","slot","submitting","propUser","ROLE_GUEST","ROLE_OWNER","ROLE_INSPECTOR","ROLE_EMPLOYEE","PERMISSION_VIEW_COUNTERPART","PERMISSION_VIEW_COUNTERPART_HISTORY","PERMISSION_CREATE_COUNTERPART","PERMISSION_PRINT_COUNTERPART","PERMISSION_VIEW_CONTRACT","PERMISSION_CREATE_CONTRACT","PERMISSION_VIEW_FINANCIAL_MODEL","PERMISSION_CREATE_FINANCIAL_MODEL","PERMISSION_SET_FINANCIAL_MODEL_NBU_CREDENTIALS","PERMISSION_VIEW_USER","PERMISSION_CREATE_USER","PERMISSION_VIEW_OPERATION","PERMISSION_VIEW_OPERATION_ID","PERMISSION_VIEW_OPERATION_FINANCIAL_MODEL_ID","PERMISSION_VIEW_OPERATION_PAYSYSTEM_ID","PERMISSION_VIEW_OPERATION_PAYSYSTEM_NAME","PERMISSION_VIEW_OPERATION_TERMINAL_ID","PERMISSION_VIEW_OPERATION_TERMINAL_NAME","PERMISSION_VIEW_OPERATION_AUTH_CODE","PERMISSION_VIEW_OPERATION_REGISTRY_REFERENCE_NUMBER","PERMISSION_VIEW_OPERATION_MCC","PERMISSION_VIEW_OPERATION_MERCHANT_ID","PERMISSION_VIEW_OPERATION_INITIATOR_IP","PERMISSION_VIEW_OPERATION_INITIATOR_EMAIL","PERMISSION_VIEW_OPERATION_INITIATOR_ACCOUNT_NUMBER","PERMISSION_VIEW_OPERATION_ORDER_DESCRIPTION","PERMISSION_VIEW_OPERATION_BANK_TERMINAL_NAME","PERMISSION_VIEW_OPERATION_BANK_TERMINAL_ID","PERMISSION_CREATE_OPERATION","PERMISSION_EXPORT_OPERATION","PERMISSION_VIEW_DECLINED_PAYMENT","PERMISSION_CREATE_DECLINED_PAYMENT","PERMISSION_VIEW_MONITORING","PERMISSION_EXPORT_MONITORING","PERMISSION_CREATE_REPORT","PERMISSION_VIEW_REPORT","PERMISSION_SEND_REPORT_TO_NBU","PERMISSION_CREATE_TASK","PERMISSION_VIEW_TASK","mixins","mapper","props","type","required","computed","_objectSpread","mapGetters","_this","dispatch","$refs","formValidationUser","then","$root","$emit","catch","response","variable","$snotify","description","setErrors","watch","immediate","deep","handler","_value$role","_this2","map","requestAnimationFrame","reset","component","beforeRouteEnter","to","from","next","vm","components","UserForm","created","label","formatter","confirm","createRole","is_system","editRole","deleteRole","roleForEdit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eACd,EACA,EACA,GACA,EACA,KACA,KACA,MAIa,I,olBCgDA,OACf/F,KAAA,qBACAiF,OAAA,CAAAC,GACAmC,WAAA,CACAc,YAEAZ,QAAA,WACA,KAAAlH,OAAAqF,SAAA,yBAEAjG,KAAA,eAAAgG,EAAA,KACA,OACAsC,eAAA,KACA3I,OAAA,CACA,CACAnB,IAAA,OACAuJ,MAAA,OACAC,UAAA,SAAAzH,GAAA,OAAAyF,EAAAzD,WAAAhC,KAEA,CACA/B,IAAA,cACAuJ,MAAA,SAEA,CACAvJ,IAAA,UACAuJ,MAAA,UAKAlC,SAAAC,EAAA,GACAC,eAAA,CACA3D,MAAA,gBAGA3E,QAAA,CACAyK,WAAA,WACA,KAAAI,eAAA,KACA,KAAAjC,MAAAC,MAAA,gCAEA8B,SAAA,SAAA/F,GACA,KAAAiG,eAAAjG,EACA,KAAAgE,MAAAC,MAAA,gCAEA+B,WAAA,SAAAhG,GACA4F,QAAA,4CACA,KAAArH,OAAAqF,SAAA,kBAAA5D,MC/G0W,ICOtW,EAAY,eACd,EACA,EACA,GACA,EACA,KACA,WACA,MAIa,I,QCDA,GACfkF,iBAAA,SAAAC,EAAAC,EAAAC,GACAA,GAAA,SAAAC,GACAA,EAAAxI,MAAAC,IAAA,aAAAsI,IACAA,EAAA,CAAAnH,KAAA,gBAGAA,KAAA,WACAqH,WAAA,CACAe,WACAC,uBC3BgW,ICO5V,EAAY,eACd,EACAhK,EACAM,GACA,EACA,KACA,WACA,MAIa,e","file":"js/chunk-c15bfeb8.1b943285.2.32.5.js","sourcesContent":["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","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('b-card',[_c('b-tabs',{attrs:{\"content-class\":\"mt-3\"}},[_c('b-tab',{attrs:{\"title\":\"Користувачі\",\"active\":\"\"}},[_c('user-list')],1),_c('b-tab',{attrs:{\"title\":\"Ролі та дозволи\"}},[_c('role-permission-list')],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[(_vm.$auth.can('create user'))?_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){return _vm.createUser()}}},[_c('i',{staticClass:\"fa fa-dot-circle-o\"}),_vm._v(\" Додати користувача \")])],1)],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.users},scopedSlots:_vm._u([{key:\"cell(permissions)\",fn:function(data){return [_c('ul',_vm._l((data.item.permissions),function(permission){return _c('li',{key:permission.id},[_vm._v(\" \"+_vm._s(_vm.permissionMapper(permission.name))+\" \")])}),0)]}},{key:\"cell(financial_models)\",fn:function(data){return [_c('ul',_vm._l((data.item.financial_models),function(financial_model){return _c('li',{key:financial_model.id},[_vm._v(\" \"+_vm._s(financial_model.name)+\" \")])}),0)]}},{key:\"cell(actions)\",fn:function(data){return [_c('b-button',{attrs:{\"variant\":\"ghost-info link\",\"size\":\"sm\"},on:{\"click\":function($event){return _vm.editUser(data.index)}}},[_c('i',{staticClass:\"fa fa-edit\"})]),(_vm.$store.getters['auth/me'].id !== data.item.id)?_c('b-button',{attrs:{\"variant\":\"ghost-danger\",\"size\":\"sm\"},on:{\"click\":function($event){return _vm.deleteUser(data.index)}}},[_c('i',{staticClass:\"fa fa-close\"})]):_vm._e()]}}])}),_c('b-modal',{attrs:{\"id\":\"modalUser\",\"title\":\"Форма користувача\",\"hide-footer\":\"\",\"size\":\"lg\"}},[_c('user-form',{attrs:{\"prop-user\":_vm.user}})],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('ValidationObserver',{ref:\"formValidationUser\",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.preventDefault();return handleSubmit(_vm.onSubmit)}}},[_c('b-form-group',{attrs:{\"label-size\":\"lg\"}},[_c('ValidationProvider',{attrs:{\"name\":\"адреса електронної пошти\",\"rules\":\"required|email\",\"vid\":\"email\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors, dirty, validated, valid, changed }){return [_c('b-form-group',{attrs:{\"label-class\":\"font-weight-bold\",\"label\":\"Адреса електронної пошти:\",\"label-cols\":\"4\",\"horizontal\":true}},[_c('b-form-input',{attrs:{\"type\":\"email\",\"state\":_vm.setValidationState(errors, dirty, validated, valid, changed)},model:{value:(_vm.form.email),callback:function ($$v) {_vm.$set(_vm.form, \"email\", $$v)},expression:\"form.email\"}}),_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\":\"length:13\",\"vid\":\"phone\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors, dirty, validated, valid, changed }){return [_c('b-form-group',{attrs:{\"label-class\":\"font-weight-bold\",\"label\":\"Номер телефону:\",\"label-cols\":\"4\",\"horizontal\":true}},[_c('b-form-input',{attrs:{\"type\":\"text\",\"state\":_vm.setValidationState(errors, dirty, validated, valid, changed)},model:{value:(_vm.form.phone),callback:function ($$v) {_vm.$set(_vm.form, \"phone\", $$v)},expression:\"form.phone\"}}),_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\":\"role_id\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors, dirty, validated, valid, changed }){return [_c('b-form-group',{attrs:{\"label-class\":\"font-weight-bold\",\"label\":\"Роль:\",\"label-cols\":\"4\",\"horizontal\":true}},[_c('b-select',{attrs:{\"state\":_vm.setValidationState(errors, dirty, validated, valid, changed)},model:{value:(_vm.form.role_id),callback:function ($$v) {_vm.$set(_vm.form, \"role_id\", $$v)},expression:\"form.role_id\"}},_vm._l((_vm.roles),function(role){return _c('option',{key:role.id,domProps:{\"value\":role.id}},[_vm._v(_vm._s(_vm.roleMapper(role.name)))])}),0),_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\":\"Профіль СПФМ\",\"vid\":\"financial_models\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors, dirty, validated, valid, changed }){return [_c('b-form-group',{attrs:{\"label-class\":\"font-weight-bold\",\"label\":\"Профілі СПФМ:\",\"label-cols\":\"4\",\"horizontal\":true}},[_c('b-form-checkbox-group',{attrs:{\"options\":_vm.financialModels,\"value-field\":\"id\",\"text-field\":\"name\",\"stacked\":\"\",\"state\":_vm.setValidationState(errors, dirty, validated, valid, changed)},model:{value:(_vm.form.financial_models),callback:function ($$v) {_vm.$set(_vm.form, \"financial_models\", $$v)},expression:\"form.financial_models\"}},_vm._l((errors),function(error,index){return _c('b-form-invalid-feedback',{key:index,attrs:{\"state\":errors.length === 0}},[_vm._v(\" \"+_vm._s(error)+\" \")])}),1)],1)]}}],null,true)})],1),_c('div',{attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('b-button',{attrs:{\"type\":\"submit\",\"size\":\"sm\",\"disabled\":_vm.submitting,\"variant\":_vm.propUser !== null ? 'primary' : 'success'}},[_c('i',{staticClass:\"fa fa-dot-circle-o\"}),_vm._v(\" \"+_vm._s(_vm.propUser !== null ? \"Зберегти\" : \"Додати\")+\" \")])],1)],1)]}}])})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import {\n ROLE_GUEST,\n ROLE_OWNER,\n ROLE_INSPECTOR,\n ROLE_EMPLOYEE,\n PERMISSION_VIEW_COUNTERPART,\n PERMISSION_VIEW_COUNTERPART_HISTORY,\n PERMISSION_CREATE_COUNTERPART,\n PERMISSION_PRINT_COUNTERPART,\n PERMISSION_VIEW_CONTRACT,\n PERMISSION_CREATE_CONTRACT,\n PERMISSION_VIEW_FINANCIAL_MODEL,\n PERMISSION_CREATE_FINANCIAL_MODEL,\n PERMISSION_SET_FINANCIAL_MODEL_NBU_CREDENTIALS,\n PERMISSION_VIEW_USER,\n PERMISSION_CREATE_USER,\n PERMISSION_VIEW_OPERATION,\n PERMISSION_VIEW_OPERATION_ID,\n PERMISSION_VIEW_OPERATION_FINANCIAL_MODEL_ID,\n PERMISSION_VIEW_OPERATION_PAYSYSTEM_ID,\n PERMISSION_VIEW_OPERATION_PAYSYSTEM_NAME,\n PERMISSION_VIEW_OPERATION_TERMINAL_ID,\n PERMISSION_VIEW_OPERATION_TERMINAL_NAME,\n PERMISSION_VIEW_OPERATION_AUTH_CODE,\n PERMISSION_VIEW_OPERATION_REGISTRY_REFERENCE_NUMBER,\n PERMISSION_VIEW_OPERATION_MCC,\n PERMISSION_VIEW_OPERATION_MERCHANT_ID,\n PERMISSION_VIEW_OPERATION_INITIATOR_IP,\n PERMISSION_VIEW_OPERATION_INITIATOR_EMAIL,\n PERMISSION_VIEW_OPERATION_INITIATOR_ACCOUNT_NUMBER,\n PERMISSION_VIEW_OPERATION_ORDER_DESCRIPTION,\n PERMISSION_CREATE_OPERATION,\n PERMISSION_EXPORT_OPERATION,\n PERMISSION_VIEW_DECLINED_PAYMENT,\n PERMISSION_CREATE_DECLINED_PAYMENT,\n PERMISSION_VIEW_MONITORING,\n PERMISSION_EXPORT_MONITORING,\n PERMISSION_CREATE_REPORT,\n PERMISSION_VIEW_REPORT,\n PERMISSION_SEND_REPORT_TO_NBU,\n PERMISSION_CREATE_TASK,\n PERMISSION_VIEW_TASK,\n PERMISSION_VIEW_OPERATION_BANK_TERMINAL_NAME,\n PERMISSION_VIEW_OPERATION_BANK_TERMINAL_ID,\n} from \"@/constants\";\nexport default {\n methods: {\n roleMapper(name) {\n switch (name) {\n case ROLE_GUEST:\n return \"Гість\";\n case ROLE_OWNER:\n return \"Власник\";\n case ROLE_INSPECTOR:\n return \"Перевіряючий\";\n case ROLE_EMPLOYEE:\n return \"Співробітник\";\n default:\n return name;\n }\n },\n permissionMapper(name) {\n switch (name) {\n case PERMISSION_VIEW_COUNTERPART:\n return \"Переглядати контрагента\";\n case PERMISSION_VIEW_COUNTERPART_HISTORY:\n return \"Переглядати історію контрагента\";\n case PERMISSION_CREATE_COUNTERPART:\n return \"Додавати контрагента\";\n case PERMISSION_PRINT_COUNTERPART:\n return \"Друк паперових форм анкет контрагента\";\n case PERMISSION_VIEW_CONTRACT:\n return \"Переглядати контракт\";\n case PERMISSION_CREATE_CONTRACT:\n return \"Додавати контракт\";\n case PERMISSION_VIEW_FINANCIAL_MODEL:\n return \"Переглядати профіль СПФМ\";\n case PERMISSION_CREATE_FINANCIAL_MODEL:\n return \"Додавати профіль СПФМ\";\n case PERMISSION_SET_FINANCIAL_MODEL_NBU_CREDENTIALS:\n return \"Додавати облікові дані у НБУ профіля СПФМ\";\n case PERMISSION_VIEW_USER:\n return \"Переглядати користувача\";\n case PERMISSION_CREATE_USER:\n return \"Додавати користувача\";\n case PERMISSION_VIEW_OPERATION:\n return \"Переглядати операції\";\n case PERMISSION_VIEW_OPERATION_ID:\n return \"Переглядати ідентифікатор операції\";\n case PERMISSION_VIEW_OPERATION_FINANCIAL_MODEL_ID:\n return \"Переглядати ідентифікатор профілю СПФМ операції\";\n case PERMISSION_VIEW_OPERATION_PAYSYSTEM_ID:\n return \"Переглядати ідентифікатор платіжної системи операції\";\n case PERMISSION_VIEW_OPERATION_PAYSYSTEM_NAME:\n return \"Переглядати назву платіжної системи операції\";\n case PERMISSION_VIEW_OPERATION_TERMINAL_ID:\n return \"Переглядати ідентифікатор терміналу операції\";\n case PERMISSION_VIEW_OPERATION_TERMINAL_NAME:\n return \"Переглядати назву терміналу операції\";\n case PERMISSION_VIEW_OPERATION_AUTH_CODE:\n return \"Переглядати авторизаційний код операції\";\n case PERMISSION_VIEW_OPERATION_REGISTRY_REFERENCE_NUMBER:\n return \"Переглядати реєстраційний номер операції\";\n case PERMISSION_VIEW_OPERATION_MCC:\n return \"Переглядати код категорії продавця операції\";\n case PERMISSION_VIEW_OPERATION_MERCHANT_ID:\n return \"Переглядати ідентифікатор продавця операції\";\n case PERMISSION_VIEW_OPERATION_INITIATOR_IP:\n return \"Переглядати ip-адресу ініціатора операції\";\n case PERMISSION_VIEW_OPERATION_INITIATOR_EMAIL:\n return \"Переглядати email-адресу ініціатора операції\";\n case PERMISSION_VIEW_OPERATION_INITIATOR_ACCOUNT_NUMBER:\n return \"Переглядати номер рахунку ініціатора операції\";\n case PERMISSION_VIEW_OPERATION_ORDER_DESCRIPTION:\n return \"Переглядати опис замовлення операції\";\n case PERMISSION_VIEW_OPERATION_BANK_TERMINAL_NAME:\n return \"Переглядати банківський термінал\";\n case PERMISSION_VIEW_OPERATION_BANK_TERMINAL_ID:\n return \"Переглядати id банківського терміналу\";\n case PERMISSION_CREATE_OPERATION:\n return \"Додавати операції\";\n case PERMISSION_EXPORT_OPERATION:\n return \"Вивантажити операції\";\n case PERMISSION_VIEW_DECLINED_PAYMENT:\n return \"Переглядати заблоковані платежі\";\n case PERMISSION_CREATE_DECLINED_PAYMENT:\n return \"Додавати заблоковані платежі\";\n case PERMISSION_VIEW_MONITORING:\n return \"Переглядати поточний моніторинг\";\n case PERMISSION_EXPORT_MONITORING:\n return \"Вивантажити з моніторингу\";\n case PERMISSION_CREATE_REPORT:\n return \"Створювати нову звітність\";\n case PERMISSION_VIEW_REPORT:\n return \"Переглядати звітність\";\n case PERMISSION_SEND_REPORT_TO_NBU:\n return \"Відправляти звіт до НБУ\";\n case PERMISSION_CREATE_TASK:\n return \"Створювати нові завдання (Дії над контрагентами)\";\n case PERMISSION_VIEW_TASK:\n return \"Переглядати завдання (Дії над контрагентами)\";\n default:\n return name;\n }\n },\n },\n};\n","\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!./UserForm.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!./UserForm.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./UserForm.vue?vue&type=template&id=61323f95\"\nimport script from \"./UserForm.vue?vue&type=script&lang=js\"\nexport * from \"./UserForm.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!./UserList.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!./UserList.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./UserList.vue?vue&type=template&id=67969808\"\nimport script from \"./UserList.vue?vue&type=script&lang=js\"\nexport * from \"./UserList.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('div',[(_vm.$auth.can('create user'))?_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){return _vm.createRole()}}},[_c('i',{staticClass:\"fa fa-dot-circle-o\"}),_vm._v(\" Додати роль \")])],1)],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.roles},scopedSlots:_vm._u([{key:\"cell(permissions)\",fn:function(data){return [_c('ul',_vm._l((data.item.permissions),function(permission){return _c('li',{key:permission.id},[_vm._v(\" \"+_vm._s(_vm.permissionMapper(permission.name))+\" \")])}),0)]}},{key:\"cell(actions)\",fn:function(data){return [(!data.item.is_system)?_c('b-button',{attrs:{\"variant\":\"ghost-info link\",\"size\":\"sm\"},on:{\"click\":function($event){return _vm.editRole(data.item)}}},[_c('i',{staticClass:\"fa fa-edit\"})]):_vm._e(),(!data.item.is_system)?_c('b-button',{attrs:{\"variant\":\"ghost-danger\",\"size\":\"sm\"},on:{\"click\":function($event){return _vm.deleteRole(data.item)}}},[_c('i',{staticClass:\"fa fa-close\"})]):_vm._e()]}}])}),_c('b-modal',{attrs:{\"id\":\"modalRole\",\"title\":\"Форма ролі\",\"hide-footer\":\"\",\"size\":\"lg\"}},[_c('role-form',{attrs:{\"role\":_vm.roleForEditing}})],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('ValidationObserver',{scopedSlots:_vm._u([{key:\"default\",fn:function({ handleSubmit }){return [_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return handleSubmit(_vm.role ? _vm.onUpdate : _vm.onCreate)}}},[_c('ValidationProvider',{attrs:{\"name\":\"назва\",\"rules\":\"required|max:255\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('b-form-group',{attrs:{\"label-class\":\"font-weight-bold\",\"label\":\"Назва:\",\"label-cols\":\"4\",\"horizontal\":true}},[_c('b-form-input',{attrs:{\"type\":\"text\",\"state\":errors.length > 0 ? false : null,\"disabled\":_vm.role !== null},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('b-form-group',{attrs:{\"label-class\":\"font-weight-bold\",\"label\":\"Дозволи:\",\"label-cols\":\"4\",\"horizontal\":true}},_vm._l((_vm.permissions),function(permission){return _c('b-form-checkbox',{key:permission.id,attrs:{\"value\":permission.id},model:{value:(_vm.form.permissions),callback:function ($$v) {_vm.$set(_vm.form, \"permissions\", $$v)},expression:\"form.permissions\"}},[_vm._v(\" \"+_vm._s(_vm.permissionMapper(permission.name))+\" \")])}),1),_c('div',{attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('b-button',{attrs:{\"type\":\"submit\",\"size\":\"sm\",\"variant\":_vm.role !== null ? 'primary' : 'success'}},[_c('i',{staticClass:\"fa fa-dot-circle-o\"}),_vm._v(\" \"+_vm._s(_vm.role !== null ? \"Зберегти\" : \"Додати\")+\" \")])],1)],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!./RoleForm.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!./RoleForm.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./RoleForm.vue?vue&type=template&id=76e7385b\"\nimport script from \"./RoleForm.vue?vue&type=script&lang=js\"\nexport * from \"./RoleForm.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\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!./RolePermissionList.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!./RolePermissionList.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./RolePermissionList.vue?vue&type=template&id=0b440805&scoped=true\"\nimport script from \"./RolePermissionList.vue?vue&type=script&lang=js\"\nexport * from \"./RolePermissionList.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 \"0b440805\",\n null\n \n)\n\nexport default component.exports","\n\n\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!./UserTabs.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!./UserTabs.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./UserTabs.vue?vue&type=template&id=4c2ea94a&scoped=true\"\nimport script from \"./UserTabs.vue?vue&type=script&lang=js\"\nexport * from \"./UserTabs.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 \"4c2ea94a\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}