\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!./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\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 $emit('makeAdmin', userId);\n }\n \" title=\"Make Administrator User\" message=\"Are you sure you want to make this users an administrator?\">\n\n {\n $emit('deactivate', deactivateUserId);\n }\n \" title=\"Remove User\" message=\"Are you sure you want to remove this user?\">\n\n {\n $emit('cancelInvite', cancelInviteUserId);\n }\n \" title=\"Cancel Invite\" message=\"Are you sure you want to cancel this invite?\">\n\n {\n $emit('unLockUser', clerkUserId);\n }\n \" title=\"Unlock User\"\n message=\"Are you sure you want to unlock this user? This will unlock them from all accounts.\">\n\n \n