{"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/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/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","_l","filteredCategories","category","key","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":"8NAAA,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,YAAY,QAAQ,CAACV,EAAIW,GAAGX,EAAIY,GAAGZ,EAAIa,oBAAoBX,EAAG,aAAa,CAACY,MAAM,CAAC,KAAO,OAAO,KAAO,OAAO,MAAQ,WAAW,MAAQ,QAAQC,MAAM,CAACR,MAAOP,EAAIgB,UAAWC,SAAS,SAAUC,GAAMlB,EAAIgB,UAAUE,GAAKT,WAAW,eAAeP,EAAG,aAAa,CAACY,MAAM,CAAC,KAAO,iBAAiB,KAAO,OAAO,MAAQ,iBAAiB,MAAQ,iBAAiBC,MAAM,CAACR,MAAOP,EAAImB,WAAYF,SAAS,SAAUC,GAAMlB,EAAImB,WAAWD,GAAKT,WAAW,gBAAgBP,EAAG,kBAAkB,CAACQ,YAAY,gCAAgCI,MAAM,CAAC,KAAO,gBAAgBC,MAAM,CAACR,MAAOP,EAAIoB,SAAUH,SAAS,SAAUC,GAAMlB,EAAIoB,SAASF,GAAKT,WAAW,aAAa,CAACP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ser-IndexControlled-vue.429394b7.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 \n \n {{ getAddUserTitle }}\n \n \n \n \n Email Notifications\n \n User will be copied on all notifications and receipts.\n \n \n \n \n \n\n \n \n Permissions\n { innerRoles = roles; }\"\n :isAdmin=\"isAdmin\" v-if=\"availableRoles && roles\" />\n \n \n \n\n \n \n \n Cancel\n Save\n \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!./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","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',{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 {{ category.label }}\n \n \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":""}
\n User will be copied on all notifications and receipts.\n