{"version":3,"sources":["webpack:///./src/views/Components/User2/AddUser/Index.vue","webpack:///src/views/Components/User2/AddUser/Index.vue","webpack:///./src/views/Components/User2/AddUser/Index.vue?e8a7","webpack:///./src/views/Components/User2/AddUser/Index.vue?44a3","webpack:///./src/views/Components/User2/List/Index.vue?2451","webpack:///./src/views/Components/User2/AddUser/IndexControlled.vue","webpack:///./node_modules/@babel/runtime-corejs2/helpers/esm/arrayWithHoles.js","webpack:///./node_modules/@babel/runtime-corejs2/helpers/esm/nonIterableRest.js","webpack:///./node_modules/@babel/runtime-corejs2/helpers/esm/toArray.js","webpack:///src/views/Components/User2/AddUser/IndexControlled.vue","webpack:///./src/views/Components/User2/AddUser/IndexControlled.vue?36d7","webpack:///./src/views/Components/User2/AddUser/IndexControlled.vue?d26b","webpack:///./src/views/Components/User2/AddUser/Role.vue?ba91","webpack:///./src/views/Components/User2/List/Index.vue","webpack:///./src/constants/statusConstants.js","webpack:///src/views/Components/User2/List/Index.vue","webpack:///./src/views/Components/User2/List/Index.vue?94a8","webpack:///./src/views/Components/User2/List/Index.vue?0681","webpack:///./src/views/Components/User2/AddUser/Role.vue","webpack:///./src/constants/rolesConstants.js","webpack:///src/views/Components/User2/AddUser/Role.vue","webpack:///./src/views/Components/User2/AddUser/Role.vue?a1c0","webpack:///./src/views/Components/User2/AddUser/Role.vue?7d84"],"names":["render","_vm","this","_c","_self","directives","name","rawName","value","showUserSttings","expression","staticClass","_v","_s","getAddUserTitle","attrs","model","innerName","callback","$$v","innerEmail","innerBcc","availableRoles","roles","innerRoles","isAdmin","on","_e","handleCancel","validationErrors","handleSubmit","staticRenderFns","components","Role","props","email","bcc","addUserTitle","type","String","required","default","isEdit","Boolean","created","$devLog","computed","_this$innerName","_this$innerEmail","trim","validateEmail","methods","_this$innerEmail2","$emit","event","stopPropagation","re","test","data","component","userId","submit","close","_arrayWithHoles","r","_nonIterableRest","TypeError","_toArray","iterableToArray","unsupportedIterableToArray","Number","getUserUrl","upsertUserUrl","Index","_created","_asyncToGenerator","regeneratorRuntime","mark","_callee","u","wrap","_context","prev","next","$client","get","sent","stop","apply","arguments","_submit","_callee2","e","_e$name$trim$split","_e$name$trim$split2","_e$name$trim$split2$","firstName","lastNameParts","lastName","payload","_context2","split","slice","join","post","isSuccess","$emitter","emit","title","message","_x","_this","ref","deactivateUserId","cancelInviteUserId","clerkUserId","modelUserTitle","$refs","addUserModal","hide","titleLbl","show","btnTxtLbl","_m","_l","users","user","key","id","imageUrl","staticStyle","bccOnSystemEmail","$event","handleEnabled","modifiers","handleDisabled","class","getStatusClass","status","currentUser","setSettledAction","row","scopedSlots","_u","fn","proxy","activeStatus","edit","askDelete","ask","invitedStatus","askCancel","StatusConstants","ACTIVE","INACTIVE","PENDING","SUSPENDED","ARCHIVED","BANNED","LOCKED","AddUserIndexControlled","btnTxt","lockedStatus","window","Clerk","isAdminFromStorage","localStorage","getItem","INVITED","unlockedStatus","UNLOCKED","statusClass","Active","Invited","Lockedout","filteredCategories","category","label","formattedRoles","ROLES","VIEW_PAYMENT_PLANS","VIEW_MEMBERSHIPS","MANAGE_SETTINGS","VIEW_PAYMENT_REQUESTS","VIEW_DASHBOARDCHART","SORT_IDS","TRANSACTIONS","PAYMENTS","PAYMENT_PLANS","MEMBERSHIPS","PAYMENT_REQUESTS","REIMBURSEMENTS","ADMINISTRATION","DASHBOARD","CATEGORIES","sortIds","conditionalRoles","_defineProperty","showIf","some","role","includes","sortId","Array","innerAvailableRoles","categories","filter","map","text","description","_objectSpread","disabled","watch"],"mappings":"yRAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACA,EAAG,QAAQ,CAACA,EAAG,QAAQ,CAACE,WAAW,CAAC,CAACC,KAAK,OAAOC,QAAQ,SAASC,MAAOP,EAAIQ,kBAAmBC,WAAW,uBAAuB,CAACP,EAAG,MAAM,CAACQ,YAAY,kEAAkE,CAACR,EAAG,KAAK,CAACQ,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ue.e46ea82a.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('b-row',[_c('b-col',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showUserSttings()),expression:\"showUserSttings()\"}]},[_c('div',{staticClass:\"card shadow-sm border card-body mb-0 d-flex h-100 user-profile\"},[_c('h2',{staticClass:\"pb-4\"},[_vm._v(_vm._s(_vm.getAddUserTitle))]),_c('base-input',{attrs:{\"name\":\"Name\",\"mode\":\"lazy\",\"rules\":\"required\",\"label\":\"Name\"},model:{value:(_vm.innerName),callback:function ($$v) {_vm.innerName=$$v},expression:\"innerName\"}}),_c('base-input',{attrs:{\"name\":\"E-Mail Address\",\"mode\":\"lazy\",\"rules\":\"required|email\",\"label\":\"Email Address\"},model:{value:(_vm.innerEmail),callback:function ($$v) {_vm.innerEmail=$$v},expression:\"innerEmail\"}}),_c('b-form-checkbox',{staticClass:\"mt-3 d-flex align-items-start\",attrs:{\"name\":\"check-button\"},model:{value:(_vm.innerBcc),callback:function ($$v) {_vm.innerBcc=$$v},expression:\"innerBcc\"}},[_c('div',[_c('span',{staticClass:\"h5\"},[_vm._v(\"Email Notifications\")]),_c('p',{staticClass:\"small text-gray mb-0\"},[_vm._v(\"\\n User will be copied on all notifications and receipts.\\n \")])])])],1)]),_c('b-col',[_c('div',{staticClass:\"card shadow-sm border card-body mb-0\"},[_c('h2',{staticClass:\"pb-4\"},[_vm._v(\"Permissions\")]),(_vm.availableRoles && _vm.roles)?_c('Role',{attrs:{\"availableRoles\":_vm.availableRoles,\"roles\":_vm.innerRoles,\"isAdmin\":_vm.isAdmin},on:{\"rolesUpdated\":(roles) => { _vm.innerRoles = roles; }}}):_vm._e()],1)])],1),_c('b-row',{staticClass:\"mt-4\"},[_c('b-col',{staticClass:\"d-flex justify-content-end\"},[_c('b-button',{staticClass:\"mr-2\",attrs:{\"variant\":\"secondary\"},on:{\"click\":_vm.handleCancel}},[_vm._v(\"Cancel\")]),_c('b-button',{attrs:{\"variant\":\"primary\",\"disabled\":_vm.validationErrors},on:{\"click\":_vm.handleSubmit}},[_vm._v(\"Save\")])],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Index.vue?vue&type=template&id=c3778db8\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.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 * 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!./Index.vue?vue&type=style&index=0&id=079d0fbe&prod&scoped=true&lang=css\"","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.availableRoles)?_c('Index',{attrs:{\"roles\":_vm.roles,\"availableRoles\":_vm.availableRoles,\"userId\":_vm.userId,\"email\":_vm.email,\"bcc\":_vm.bcc,\"name\":_vm.name,\"addUserTitle\":_vm.addUserTitle,\"isEdit\":_vm.isEdit},on:{\"submit\":_vm.submit,\"close\":_vm.close}}):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import _Array$isArray from \"core-js/library/fn/array/is-array.js\";\nfunction _arrayWithHoles(r) {\n if (_Array$isArray(r)) return r;\n}\nexport { _arrayWithHoles as default };","function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nexport { _nonIterableRest as default };","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nfunction _toArray(r) {\n return arrayWithHoles(r) || iterableToArray(r) || unsupportedIterableToArray(r) || nonIterableRest();\n}\nexport { _toArray as default };","\n\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./IndexControlled.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./IndexControlled.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./IndexControlled.vue?vue&type=template&id=72252b88\"\nimport script from \"./IndexControlled.vue?vue&type=script&lang=js\"\nexport * from \"./IndexControlled.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 * 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!./Role.vue?vue&type=style&index=0&id=930691cc&prod&lang=css\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('ask',{ref:\"askAdmin\",attrs:{\"title\":\"Make Administrator User\",\"message\":\"Are you sure you want to make this users an administrator?\"},on:{\"ok\":() => {\n _vm.$emit('makeAdmin', _vm.userId);\n }}}),_c('ask',{ref:\"askDelete\",attrs:{\"title\":\"Remove User\",\"message\":\"Are you sure you want to remove this user?\"},on:{\"ok\":() => {\n _vm.$emit('deactivate', _vm.deactivateUserId);\n }}}),_c('ask',{ref:\"askCancel\",attrs:{\"title\":\"Cancel Invite\",\"message\":\"Are you sure you want to cancel this invite?\"},on:{\"ok\":() => {\n _vm.$emit('cancelInvite', _vm.cancelInviteUserId);\n }}}),_c('ask',{ref:\"askUnlock\",attrs:{\"title\":\"Unlock User\",\"message\":\"Are you sure you want to unlock this user? This will unlock them from all accounts.\"},on:{\"ok\":() => {\n _vm.$emit('unLockUser', _vm.clerkUserId);\n }}}),_c('b-modal',{ref:\"addUserModal\",attrs:{\"title\":_vm.modelUserTitle,\"shadow\":\"\",\"backdrop\":\"\",\"bg-variant\":\"light\",\"right\":\"\",\"lazy\":\"\",\"backdrop-variant\":\"dark\",\"size\":\"xl\",\"hide-footer\":\"\"}},[_c('div',{staticClass:\"px-3 py-2\"},[_c('AddUserIndexControlled',{attrs:{\"isAdmin\":_vm.isAdmin,\"getUserUrl\":_vm.getUserUrl,\"userId\":_vm.userId,\"upsertUserUrl\":_vm.upsertUserUrl,\"addUserTitle\":_vm.addUserTitle,\"isEdit\":_vm.isEdit},on:{\"close\":() => {\n _vm.$refs.addUserModal.hide();\n _vm.$emit('getUsers');\n }}})],1)]),_c('b-row',{staticClass:\"mb-4\"},[_c('b-col',[_c('h3',[_vm._v(_vm._s(_vm.titleLbl))])]),_c('b-col',{staticClass:\"text-right\"},[_c('b-button',{on:{\"click\":() => {\n _vm.userId = null;\n this.isEdit = false;\n this.modelUserTitle = 'New User';\n _vm.$refs.addUserModal.show();\n }}},[_vm._v(_vm._s(_vm.btnTxtLbl))])],1)],1),_c('table',{staticClass:\"table border\"},[_vm._m(0),_c('tbody',_vm._l((_vm.users),function(user){return _c('tr',{key:user.id},[_c('td',[(user.imageUrl)?[_c('img',{staticStyle:{\"width\":\"30px\",\"height\":\"30px\",\"border-radius\":\"50%\",\"object-fit\":\"cover\"},attrs:{\"src\":user.imageUrl,\"alt\":\"Avatar\"}})]:[_c('i',{staticClass:\"fas fa-user-circle\",staticStyle:{\"font-size\":\"30px\",\"top\":\"6px\",\"position\":\"relative\",\"line-height\":\"0\",\"object-fit\":\"cover\"}})],_c('span',{staticClass:\"pl-3\"},[_vm._v(_vm._s(user.name))])],2),_c('td',[_vm._v(\"\\n \"+_vm._s(user.email)+\"\\n \")]),_c('td',{staticClass:\"text-center\"},[(!user.bccOnSystemEmail)?_c('button',{staticStyle:{\"border\":\"none\",\"background-color\":\"transparent\",\"outline\":\"none\"},on:{\"click\":function($event){return _vm.handleEnabled(user)}}},[_c('i',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover\",modifiers:{\"hover\":true}}],staticClass:\"fa-solid fa-envelope\",staticStyle:{\"font-size\":\"20px\",\"color\":\"lightgray\"},attrs:{\"aria-describedby\":\"Email Notifaction Disabled\",\"title\":\"Enable this user to be copied on all notifications and receipts.\"}})]):_vm._e(),(user.bccOnSystemEmail)?_c('button',{staticStyle:{\"border\":\"none\",\"background-color\":\"transparent\",\"outline\":\"none\"},on:{\"click\":function($event){return _vm.handleDisabled(user)}}},[_c('i',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover\",modifiers:{\"hover\":true}}],staticClass:\"fa-solid fa-envelope-open\",staticStyle:{\"color\":\"#2dc89c\",\"font-size\":\"20px\"},attrs:{\"aria-describedby\":\"Email Notifaction Enabled\",\"title\":\"Disable this user from being copied on all notifications and receipts.\"}})]):_vm._e()]),_c('td',{staticClass:\"text-c\"},[_c('span',{class:['status-pill mb-0 mr-0', _vm.getStatusClass(user.status)]},[_vm._v(\"\\n \"+_vm._s(user.status)+\"\\n \")])]),_c('td',{staticClass:\"text-right\"},[_c('b-dropdown',{staticClass:\"p-0 m-0\",attrs:{\"dropleft\":\"\",\"variant\":\"link\",\"toggle-class\":\"text-decoration-none\",\"no-caret\":\"\",\"size\":\"lg\",\"id\":\"dropdown-1\",\"text\":\"Action\",\"disabled\":_vm.currentUser(user.clerkUserId)},on:{\"show\":function($event){return _vm.setSettledAction(_vm.row)}},scopedSlots:_vm._u([{key:\"button-content\",fn:function(){return [_c('i',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.currentUser(user.clerkUserId)),expression:\"!currentUser(user.clerkUserId)\"}],staticClass:\"fas fa-ellipsis-h mr-0\"}),_c('i',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.currentUser(user.clerkUserId)),expression:\"currentUser(user.clerkUserId)\"},{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover\",modifiers:{\"hover\":true}}],staticClass:\"fas fa-ellipsis-h mr-0 text-light\",attrs:{\"title\":\"Current user cannot be edited.\"}})]},proxy:true}],null,true)},[(user.status === _vm.activeStatus)?_c('b-dropdown-item',{attrs:{\"disabled\":_vm.currentUser(user.clerkUserId)},on:{\"click\":function($event){return _vm.edit(user.id)}}},[_c('i',{staticClass:\"fa-solid fa-pen\"}),_vm._v(\"\\n Edit Permissions\\n \")]):_vm._e(),(user.status === _vm.activeStatus)?_c('b-dropdown-item',{attrs:{\"disabled\":_vm.currentUser(user.clerkUserId)},on:{\"click\":() => {\n _vm.deactivateUserId = user.id;\n _vm.$refs.askDelete.ask();\n }}},[_c('i',{staticClass:\"fa-solid fa-trash-can\"}),_vm._v(\"\\n Remove User\\n \")]):_vm._e(),(user.status === _vm.invitedStatus)?_c('b-dropdown-item',{on:{\"click\":function($event){return _vm.$emit('resendUserInvite', user.id)}}},[_c('i',{staticClass:\"fa-solid fa-paper-plane\"}),_vm._v(\"\\n Resend Invite\\n \")]):_vm._e(),(user.status === _vm.invitedStatus)?_c('b-dropdown-item',{on:{\"click\":() => {\n _vm.cancelInviteUserId = user.id;\n _vm.$refs.askCancel.ask();\n }}},[_c('i',{staticClass:\"fa-solid fa-user-slash\"}),_vm._v(\"\\n Revoke Invite\\n \")]):_vm._e()],1)],1)])}),0)])],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('thead',[_c('tr',[_c('th',{attrs:{\"width\":\"50%\"}},[_vm._v(\"Name\")]),_c('th',{attrs:{\"width\":\"50%\"}},[_vm._v(\"E-Mail\")]),_c('th',{attrs:{\"width\":\"50%\"}},[_vm._v(\"E-Mail Notifications\")]),_c('th',{staticClass:\"text-right\"},[_vm._v(\"Status\")]),_c('th',{staticClass:\"text-right\"},[_vm._v(\"Action\")])])])\n}]\n\nexport { render, staticRenderFns }","export const StatusConstants = {\n ACTIVE: \"ACTIVE\",\n INACTIVE: \"INACTIVE\",\n PENDING: \"PENDING\",\n SUSPENDED: \"SUSPENDED\",\n ARCHIVED: \"ARCHIVED\",\n BANNED: \"BANNED\",\n LOCKED: \"LOCKED\"\n };","\n\n\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Index.vue?vue&type=template&id=079d0fbe&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\nimport style0 from \"./Index.vue?vue&type=style&index=0&id=079d0fbe&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 \"079d0fbe\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"perms\"},_vm._l((_vm.filteredCategories),function(category){return _c('div',{key:category.name,staticClass:\"mb-5\"},[_c('div',{staticClass:\"mb-3\"},[_c('b',[_vm._v(_vm._s(category.label))])]),_c('b-form-checkbox-group',{staticClass:\"perms-switch\",attrs:{\"options\":_vm.formattedRoles(category),\"stacked\":\"\",\"switches\":\"\",\"name\":\"options\"},model:{value:(_vm.innerRoles),callback:function ($$v) {_vm.innerRoles=$$v},expression:\"innerRoles\"}})],1)}),0)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export const ROLES = {\n VIEW_PAYMENT_PLANS: \"VIEWPAYMENTPLANS\",\n VIEW_MEMBERSHIPS: \"VIEWMEMBERSHIPS\",\n MANAGE_SETTINGS: \"MANAGESETTINGS\",\n VIEW_PAYMENT_REQUESTS: \"VIEWPAYMENTREQUESTS\",\n VIEW_DASHBOARDCHART: \"VIEWDASHBOARDCHART\"\n};\n\nexport const SORT_IDS = {\n TRANSACTIONS: 14,\n PAYMENTS: [2, 3],\n PAYMENT_PLANS: [4, 5, 6],\n MEMBERSHIPS: [7, 8, 9, 10],\n PAYMENT_REQUESTS: [11, 12, 13],\n REIMBURSEMENTS: [20, 21],\n ADMINISTRATION: [15, 16, 17],\n DASHBOARD: [0, 22]\n};\n\nexport const CATEGORIES = [\n {\n name: \"dashboard\",\n label: \"Dashboard\",\n sortIds: SORT_IDS.DASHBOARD,\n conditionalRoles: { [SORT_IDS.DASHBOARD[1]] : ROLES.VIEW_DASHBOARDCHART },\n },\n {\n name: \"transactions\",\n label: \"Transactions\",\n sortIds: [SORT_IDS.TRANSACTIONS],\n },\n { name: \"payments\", label: \"Payments\", sortIds: SORT_IDS.PAYMENTS },\n {\n name: \"paymentPlans\",\n label: \"Payment Plans\",\n sortIds: SORT_IDS.PAYMENT_PLANS,\n conditionalRoles: { [SORT_IDS.PAYMENT_PLANS[2]]: ROLES.VIEW_PAYMENT_PLANS },\n },\n {\n name: \"memberships\",\n label: \"Memberships\",\n sortIds: SORT_IDS.MEMBERSHIPS,\n conditionalRoles: { [SORT_IDS.MEMBERSHIPS[2]]: ROLES.VIEW_MEMBERSHIPS },\n },\n {\n name: \"paymentRequests\",\n label: \"Payment Requests\",\n sortIds: SORT_IDS.PAYMENT_REQUESTS,\n conditionalRoles: {\n [SORT_IDS.PAYMENT_REQUESTS[2]]: ROLES.VIEW_PAYMENT_REQUESTS,\n },\n },\n {\n name: \"reimbursements\",\n label: \"Reimbursements\",\n sortIds: SORT_IDS.REIMBURSEMENTS,\n showIf: (isAdmin, roles) =>\n isAdmin || roles.some((role) => SORT_IDS.REIMBURSEMENTS.includes(role.sortId)),\n },\n {\n name: \"administration\",\n label: \"Administration\",\n sortIds: SORT_IDS.ADMINISTRATION,\n conditionalRoles: { [SORT_IDS.ADMINISTRATION[1]]: ROLES.MANAGE_SETTINGS },\n },\n];\n","\n\n\n\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Role.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Role.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Role.vue?vue&type=template&id=930691cc\"\nimport script from \"./Role.vue?vue&type=script&lang=js\"\nexport * from \"./Role.vue?vue&type=script&lang=js\"\nimport style0 from \"./Role.vue?vue&type=style&index=0&id=930691cc&prod&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 null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}