{"version":3,"sources":["webpack:///./src/shared/utils/usernameRegex.ts","webpack:///./node_modules/core-js/modules/es.array.join.js","webpack:///./src/views/account/users/Users.vue?bc4f","webpack:///./src/views/account/users/Users.vue?3ae9","webpack:///./src/views/account/users/Users.vue","webpack:///./src/views/account/users/Users.vue?37bf"],"names":["isValidUsername","str","regex","test","$","uncurryThis","IndexedObject","toIndexedObject","arrayMethodIsStrict","un$Join","join","ES3_STRINGS","Object","STRICT_METHOD","target","proto","forced","separator","this","undefined","_withScopeId","n","_pushScopeId","_popScopeId","_hoisted_1","class","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","key","_hoisted_8","_createElementVNode","id","_hoisted_9","_hoisted_10","_hoisted_11","_toDisplayString","_hoisted_12","style","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","_hoisted_29","_hoisted_30","_hoisted_31","_hoisted_32","_hoisted_33","_hoisted_34","_hoisted_35","_hoisted_36","_hoisted_37","_hoisted_38","_hoisted_39","_hoisted_40","_hoisted_41","_hoisted_42","_hoisted_43","_hoisted_44","_hoisted_45","_hoisted_46","_hoisted_47","_hoisted_48","_hoisted_49","_hoisted_50","_hoisted_51","_hoisted_52","_hoisted_53","_hoisted_54","_hoisted_55","render","_ctx","_cache","$props","$setup","$data","$options","_component_PageTitle","_resolveComponent","_component_SearchInput","_component_BaseIcon","_component_FilterPanel","_component_vue_excel_xlsx","_component_OrderByArrow","_component_TableGhost","_component_Pagination","_component_InviteUser","_component_BaseModal","_component_Datepicker","_directive_maska","_resolveDirective","_openBlock","_createElementBlock","_Fragment","_createVNode","title","placeholder","$t","modelValue","searchValue","$event","onClick","showFilterModal","name","filters","onClose","_createCommentVNode","isSuperAdmin","_createBlock","data","exportData","columns","exportColumn","default","_withCtx","disabled","exportLoading","exportUsers","_","showModal","classNames","_createTextVNode","_normalizeStyle","height","onSort","clickSort","sortField","sortFields","loading","_renderList","users","user","username","userEmail","userPhoneNumber","birthDateFormatted","role","value","createdAtFormatted","lastLoginFormatted","type","checked","activated","toggleActivate","openEditUserModal","row","col","length","pagination","totalItems","current","total","pageSize","onPageChanged","width","onRefresh","getUserList","showUserEditModal","closeEditUserModal","_normalizeClass","activeEditTab","changeActive","onSubmit","editUserInfo","_withDirectives","error","v$","userInfo","firstName","$error","onBlur","$touch","_vModelText","lastName","userName","mask","tokens","pattern","mobile","minLength","$invalid","format","birthDate","changePassword","changePass","pass","showPassword","_vModelDynamic","confirm_pass","showConfirmPassword","toast","useToast","defineComponent","components","SearchInput","defineAsyncComponent","OrderByArrow","FilterPanel","TableGhost","InviteUser","Pagination","BaseModal","PageTitle","BaseIcon","setup","useVuelidate","currentSort","sort","superAdmin","admin","driver","selectedUser","model","calendarType","label","field","validations","required","email","sameAs","mounted","document","documentElement","clientHeight","addEventListener","computed","$store","getters","getExportUsers","methods","currentSortName","map","el","queries","$route","query","router","push","orderBy","togglePassword","tabName","dispatch","UsersActions","ACTIVATE_USER","userId","DEACTIVATE_USER","event","preventDefault","payload","new_password","confirm_new_password","CHANGE_PASSWORD","then","res","success","timeout","catch","assign","first_name","last_name","user_email","user_phone_number","birthdate","keys","UPDATE_USER","params","JSON","parse","stringify","pageNumber","FETCH_USERS","resetForm","$reset","export","button","getElementById","$nextTick","click","watch","val","search","immediate","handler","Number","split","strArry","pop","__exports__"],"mappings":"0MAAc,SAAUA,EAAiBC,GACvC,IAAMC,EAAQ,iDACd,OAAOA,EAAMC,KAAKF,K,kCCDpB,IAAIG,EAAI,EAAQ,QACZC,EAAc,EAAQ,QACtBC,EAAgB,EAAQ,QACxBC,EAAkB,EAAQ,QAC1BC,EAAsB,EAAQ,QAE9BC,EAAUJ,EAAY,GAAGK,MAEzBC,EAAcL,GAAiBM,OAC/BC,EAAgBL,EAAoB,OAAQ,KAIhDJ,EA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EAAS,iBAAEjH,SAAU,GAAIqH,WAAYU,EAAI5C,MAAMkC,WAAaU,EAAI5C,MAAMkC,WAAa,GAAMJ,GACzFtQ,KAAK+N,OAAOe,SAAZ,gBAA8BC,QAAa4B,aAAeL,MAIhE,oBAvBK,SAuBgBc,GACnB,IAAKtS,gBAAgBsS,GACnB,GAAIpR,KAAKoK,SAASO,SAAS8G,MAAM,KAAKzI,OAAS,EAC7ChJ,KAAKoK,SAASO,SAAW3K,KAAKoK,SAASO,SAAS8G,MAAM,KAAKjS,KAAK,SAC3D,CACL,IAAMkS,EAAU1R,KAAKoK,SAASO,SAAS8G,MAAM,IAC7CC,EAAQC,MACR3R,KAAKoK,SAASO,SAAW+G,EAAQlS,KAAK,S,oCCzThD,MAAMoS,GAA2B,KAAgB,GAAQ,CAAC,CAAC,SAASzN,IAAQ,CAAC,YAAY,qBAE1E,iB","file":"js/chunk-424f1110.b2220773.js","sourcesContent":["export default function isValidUsername (str: string): boolean {\n const regex = /^[~`!@#$%^&*()_+=[\\]{}|;':\",./<>?a-zA-Z0-9-]+$/\n return regex.test(str)\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IndexedObject = require('../internals/indexed-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar un$Join = uncurryThis([].join);\n\nvar ES3_STRINGS = IndexedObject != Object;\nvar STRICT_METHOD = arrayMethodIsStrict('join', ',');\n\n// `Array.prototype.join` method\n// https://tc39.es/ecma262/#sec-array.prototype.join\n$({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD }, {\n join: function join(separator) {\n return un$Join(toIndexedObject(this), separator === undefined ? ',' : separator);\n }\n});\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./Users.vue?vue&type=style&index=0&id=c0d8a86a&scoped=true&lang=scss\"","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, toDisplayString as _toDisplayString, withCtx as _withCtx, createTextVNode as _createTextVNode, renderList as _renderList, Fragment as _Fragment, normalizeStyle as _normalizeStyle, normalizeClass as _normalizeClass, vModelText as _vModelText, withDirectives as _withDirectives, resolveDirective as _resolveDirective, vModelDynamic as _vModelDynamic, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-c0d8a86a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"pt-14 pb-5 px-5\" }\nconst _hoisted_2 = { class: \"flex justify-between mb-7\" }\nconst _hoisted_3 = { class: \"flex justify-start\" }\nconst _hoisted_4 = { class: \"flex justify-between\" }\nconst _hoisted_5 = { class: \"relative h-42 w-288 me-3\" }\nconst _hoisted_6 = { class: \"w-full\" }\nconst _hoisted_7 = { key: 0 }\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"button\", { id: \"excel-export\" }, null, -1))\nconst _hoisted_9 = [\"disabled\"]\nconst _hoisted_10 = {\n key: 1,\n class: \"spinner\"\n}\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"ms-2\" }, /*#__PURE__*/_toDisplayString('Export'), -1))\nconst _hoisted_12 = {\n class: \"bg-white opacity-100 z-40\",\n style: {\"width\":\"18%\"}\n}\nconst _hoisted_13 = {\n class: \"bg-white opacity-100 z-40\",\n style: {\"width\":\"18%\"}\n}\nconst _hoisted_14 = {\n class: \"bg-white opacity-100 z-40\",\n style: {\"width\":\"13%\"}\n}\nconst _hoisted_15 = {\n class: \"bg-white opacity-100 z-40\",\n style: {\"width\":\"13%\"}\n}\nconst _hoisted_16 = {\n class: \"bg-white opacity-100 z-40\",\n style: {\"width\":\"10%\"}\n}\nconst _hoisted_17 = {\n class: \"bg-white opacity-100 z-40\",\n style: {\"width\":\"9%\"}\n}\nconst _hoisted_18 = { class: \"flex justify-start items-center\" }\nconst _hoisted_19 = { class: \"me-2\" }\nconst _hoisted_20 = {\n class: \"bg-white opacity-100 z-40\",\n style: {\"width\":\"9%\"}\n}\nconst _hoisted_21 = { class: \"flex justify-start items-center\" }\nconst _hoisted_22 = { class: \"me-2\" }\nconst _hoisted_23 = {\n class: \"bg-white opacity-100 z-40\",\n style: {\"width\":\"10%\"}\n}\nconst _hoisted_24 = { key: 0 }\nconst _hoisted_25 = { class: \"switch\" }\nconst _hoisted_26 = [\"checked\", \"onClick\"]\nconst _hoisted_27 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"slider\" }, null, -1))\nconst _hoisted_28 = [\"onClick\"]\nconst _hoisted_29 = {\n key: 0,\n class: \"text-center text-darkText text-lg px-4 mt-32 font-bold\"\n}\nconst _hoisted_30 = { class: \"border-borderColor border-b-2 text-darkText text-md mx-8 pt-3\" }\nconst _hoisted_31 = { class: \"flex bg-transparent tab justify-between\" }\nconst _hoisted_32 = { class: \"p-8\" }\nconst _hoisted_33 = { class: \"form-group\" }\nconst _hoisted_34 = {\n key: 0,\n class: \"form-error\"\n}\nconst _hoisted_35 = { class: \"form-group\" }\nconst _hoisted_36 = {\n key: 0,\n class: \"form-error\"\n}\nconst _hoisted_37 = { class: \"form-group\" }\nconst _hoisted_38 = {\n key: 0,\n class: \"form-error\"\n}\nconst _hoisted_39 = { class: \"form-group\" }\nconst _hoisted_40 = {\n key: 0,\n class: \"form-error\"\n}\nconst _hoisted_41 = { class: \"form-group\" }\nconst _hoisted_42 = {\n key: 0,\n class: \"form-error\"\n}\nconst _hoisted_43 = { class: \"form-group\" }\nconst _hoisted_44 = { class: \"text-sm\" }\nconst _hoisted_45 = {\n key: 0,\n class: \"form-error\"\n}\nconst _hoisted_46 = { class: \"flex flex-wrap items-center justify-end w-full pt-4\" }\nconst _hoisted_47 = [\"disabled\"]\nconst _hoisted_48 = { class: \"relative h-42 mb-8\" }\nconst _hoisted_49 = [\"type\"]\nconst _hoisted_50 = {\n key: 2,\n class: \"flex items-center absolute start-0 -bottom-6 text-10px text-textError\"\n}\nconst _hoisted_51 = { class: \"relative h-42 mb-7\" }\nconst _hoisted_52 = [\"type\"]\nconst _hoisted_53 = {\n key: 2,\n class: \"flex items-center absolute start-0 -bottom-6 text-10px text-textError\"\n}\nconst _hoisted_54 = { class: \"flex flex-wrap items-center justify-end w-full pt-4\" }\nconst _hoisted_55 = [\"disabled\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_PageTitle = _resolveComponent(\"PageTitle\")!\n const _component_SearchInput = _resolveComponent(\"SearchInput\")!\n const _component_BaseIcon = _resolveComponent(\"BaseIcon\")!\n const _component_FilterPanel = _resolveComponent(\"FilterPanel\")!\n const _component_vue_excel_xlsx = _resolveComponent(\"vue-excel-xlsx\")!\n const _component_OrderByArrow = _resolveComponent(\"OrderByArrow\")!\n const _component_TableGhost = _resolveComponent(\"TableGhost\")!\n const _component_Pagination = _resolveComponent(\"Pagination\")!\n const _component_InviteUser = _resolveComponent(\"InviteUser\")!\n const _component_BaseModal = _resolveComponent(\"BaseModal\")!\n const _component_Datepicker = _resolveComponent(\"Datepicker\")!\n const _directive_maska = _resolveDirective(\"maska\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_PageTitle, { title: \"users.title\" }),\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_SearchInput, {\n placeholder: _ctx.$t('users.search'),\n modelValue: _ctx.searchValue,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.searchValue) = $event))\n }, null, 8, [\"placeholder\", \"modelValue\"])\n ]),\n _createElementVNode(\"button\", {\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.showFilterModal = true)),\n class: \"border border-inputBorder w-42 h-42\"\n }, [\n _createElementVNode(\"span\", _hoisted_6, [\n _createVNode(_component_BaseIcon, { name: \"filter\" })\n ])\n ]),\n (_ctx.showFilterModal)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, [\n _createVNode(_component_FilterPanel, {\n filters: _ctx.filters,\n onClose: _cache[2] || (_cache[2] = ($event: any) => (_ctx.showFilterModal = false))\n }, null, 8, [\"filters\"])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.isSuperAdmin)\n ? (_openBlock(), _createBlock(_component_vue_excel_xlsx, {\n key: 1,\n data: _ctx.exportData,\n columns: _ctx.exportColumn,\n \"file-name\": \"users\",\n \"file-type\": 'xlsx',\n \"sheet-name\": 'sheetname'\n }, {\n default: _withCtx(() => [\n _hoisted_8,\n _createElementVNode(\"button\", {\n disabled: _ctx.exportLoading,\n onClick: _cache[3] || (_cache[3] = \n//@ts-ignore\n(...args) => (_ctx.exportUsers && _ctx.exportUsers(...args))),\n class: \"flex items-center primary px-4 py-3 rounded-md mx-3\"\n }, [\n (!_ctx.exportLoading)\n ? (_openBlock(), _createBlock(_component_BaseIcon, {\n key: 0,\n name: \"file-white\"\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.exportLoading)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_10))\n : _createCommentVNode(\"\", true),\n _hoisted_11\n ], 8, _hoisted_9)\n ]),\n _: 1\n }, 8, [\"data\", \"columns\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"button\", {\n onClick: _cache[4] || (_cache[4] = ($event: any) => (_ctx.showModal = true)),\n class: \"primary flex items-center px-5 py-3\"\n }, [\n _createVNode(_component_BaseIcon, {\n name: \"plus\",\n classNames: \"text-xl me-1\"\n }),\n _createTextVNode(\" \" + _toDisplayString(_ctx.$t('buttons.inviteUser')), 1)\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", {\n class: \"px-5 tableFixHead\",\n style: _normalizeStyle({height: _ctx.height + 'px'})\n }, [\n _createElementVNode(\"table\", null, [\n _createElementVNode(\"thead\", null, [\n _createElementVNode(\"tr\", null, [\n _createElementVNode(\"th\", _hoisted_12, _toDisplayString(_ctx.$t('table.userName')), 1),\n _createElementVNode(\"th\", _hoisted_13, _toDisplayString(_ctx.$t('table.email')), 1),\n _createElementVNode(\"th\", _hoisted_14, _toDisplayString(_ctx.$t('table.mobile')), 1),\n _createElementVNode(\"th\", _hoisted_15, _toDisplayString(_ctx.$t('table.birthDate')), 1),\n _createElementVNode(\"th\", _hoisted_16, _toDisplayString(_ctx.$t('table.role')), 1),\n _createElementVNode(\"th\", _hoisted_17, [\n _createElementVNode(\"div\", _hoisted_18, [\n _createElementVNode(\"span\", _hoisted_19, _toDisplayString(_ctx.$t('table.joiningDate')), 1),\n _createVNode(_component_OrderByArrow, {\n onSort: _cache[5] || (_cache[5] = ($event: any) => (_ctx.clickSort($event, 'created_at'))),\n sortField: _ctx.sortFields[0]\n }, null, 8, [\"sortField\"])\n ])\n ]),\n _createElementVNode(\"th\", _hoisted_20, [\n _createElementVNode(\"div\", _hoisted_21, [\n _createElementVNode(\"span\", _hoisted_22, _toDisplayString(_ctx.$t('table.lastLogin')), 1),\n _createVNode(_component_OrderByArrow, {\n onSort: _cache[6] || (_cache[6] = ($event: any) => (_ctx.clickSort($event, 'last_login'))),\n sortField: _ctx.sortFields[1]\n }, null, 8, [\"sortField\"])\n ])\n ]),\n _createElementVNode(\"th\", _hoisted_23, _toDisplayString(_ctx.$t('table.status')), 1)\n ])\n ]),\n (!_ctx.loading)\n ? (_openBlock(), _createElementBlock(\"tbody\", _hoisted_24, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.users, (user) => {\n return (_openBlock(), _createElementBlock(\"tr\", {\n key: user.id\n }, [\n _createElementVNode(\"td\", null, _toDisplayString(user.username), 1),\n _createElementVNode(\"td\", null, _toDisplayString(user.userEmail), 1),\n _createElementVNode(\"td\", null, _toDisplayString(user.userPhoneNumber), 1),\n _createElementVNode(\"td\", null, _toDisplayString(user.birthDateFormatted), 1),\n _createElementVNode(\"td\", null, _toDisplayString(user.role.value), 1),\n _createElementVNode(\"td\", null, _toDisplayString(user.createdAtFormatted), 1),\n _createElementVNode(\"td\", null, _toDisplayString(user.lastLoginFormatted), 1),\n _createElementVNode(\"td\", null, [\n _createElementVNode(\"label\", _hoisted_25, [\n _createElementVNode(\"input\", {\n type: \"checkbox\",\n checked: user.activated,\n onClick: ($event: any) => (_ctx.toggleActivate(user.id, user.activated ? 'deactivate' : 'activate'))\n }, null, 8, _hoisted_26),\n _hoisted_27\n ])\n ]),\n _createElementVNode(\"td\", null, [\n _createElementVNode(\"button\", {\n onClick: ($event: any) => (_ctx.openEditUserModal(user))\n }, [\n _createVNode(_component_BaseIcon, { name: \"edit\" })\n ], 8, _hoisted_28)\n ])\n ]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.loading)\n ? (_openBlock(), _createBlock(_component_TableGhost, {\n key: 1,\n \"col-margin\": \"my-0\",\n row: 10,\n col: 6\n }))\n : _createCommentVNode(\"\", true)\n ]),\n (!_ctx.users.length && !_ctx.loading)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_29, _toDisplayString(_ctx.$t('validation.noItemsToShow')), 1))\n : _createCommentVNode(\"\", true)\n ], 4),\n (_ctx.pagination && _ctx.pagination.totalItems)\n ? (_openBlock(), _createBlock(_component_Pagination, {\n key: 0,\n current: _ctx.current,\n total: _ctx.pagination.totalItems,\n \"page-range\": 2,\n \"per-page\": _ctx.pagination.pageSize,\n onPageChanged: _cache[7] || (_cache[7] = ($event: any) => (_ctx.current = $event)),\n \"text-before-input\": \"Go to page\"\n }, null, 8, [\"current\", \"total\", \"per-page\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.showModal)\n ? (_openBlock(), _createBlock(_component_BaseModal, {\n key: 1,\n title: _ctx.$t('users.inviteModalHeader'),\n width: '488',\n onClose: _cache[10] || (_cache[10] = ($event: any) => (_ctx.showModal = $event))\n }, {\n default: _withCtx(() => [\n _createVNode(_component_InviteUser, {\n onRefresh: _cache[8] || (_cache[8] = ($event: any) => (_ctx.getUserList())),\n onClose: _cache[9] || (_cache[9] = ($event: any) => (_ctx.showModal = false))\n })\n ]),\n _: 1\n }, 8, [\"title\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.showUserEditModal)\n ? (_openBlock(), _createBlock(_component_BaseModal, {\n key: 2,\n title: _ctx.$t('users.editUserModalHeader'),\n width: '488',\n onClose: _cache[36] || (_cache[36] = ($event: any) => (_ctx.closeEditUserModal()))\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_30, [\n _createElementVNode(\"ul\", _hoisted_31, [\n _createElementVNode(\"li\", {\n class: _normalizeClass([\"pb-3 text-md px-10 relative cursor-pointer hover:text-black hover:border-black\", {'tab-active': _ctx.activeEditTab === 'userInfo'}]),\n onClick: _cache[11] || (_cache[11] = ($event: any) => (_ctx.changeActive('userInfo')))\n }, _toDisplayString(_ctx.$t('users.userInfo')), 3),\n _createElementVNode(\"li\", {\n class: _normalizeClass([\"pb-3 text-md px-10 relative cursor-pointer hover:text-black hover:border-black\", {'tab-active': _ctx.activeEditTab === 'changePass'}]),\n onClick: _cache[12] || (_cache[12] = ($event: any) => (_ctx.changeActive('changePass')))\n }, _toDisplayString(_ctx.$t('users.changePass')), 3)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_32, [\n (_ctx.activeEditTab === 'userInfo')\n ? (_openBlock(), _createElementBlock(\"form\", {\n key: 0,\n onSubmit: _cache[25] || (_cache[25] = ($event: any) => (_ctx.editUserInfo($event))),\n class: \"w-full\"\n }, [\n _createElementVNode(\"div\", _hoisted_33, [\n _withDirectives(_createElementVNode(\"input\", {\n class: _normalizeClass([{error: _ctx.v$.userInfo.firstName.$error}, \"h-42 form-control\"]),\n type: \"text\",\n placeholder: \" \",\n \"onUpdate:modelValue\": _cache[13] || (_cache[13] = ($event: any) => ((_ctx.userInfo.firstName) = $event)),\n onBlur: _cache[14] || (_cache[14] = \n//@ts-ignore\n(...args) => (_ctx.v$.userInfo.firstName.$touch && _ctx.v$.userInfo.firstName.$touch(...args)))\n }, null, 34), [\n [_vModelText, _ctx.userInfo.firstName]\n ]),\n _createElementVNode(\"label\", {\n class: _normalizeClass([{error: _ctx.v$.userInfo.firstName.$error}, \"floating-label\"])\n }, _toDisplayString(_ctx.$t('placeholders.firstName')), 3),\n (_ctx.v$.userInfo.firstName.$error)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_34, [\n _createVNode(_component_BaseIcon, {\n class: \"me-1\",\n name: \"alert\"\n }),\n _createTextVNode(_toDisplayString(_ctx.$t('validation.required')), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_35, [\n _withDirectives(_createElementVNode(\"input\", {\n class: _normalizeClass([{error: _ctx.v$.userInfo.lastName.$error}, \"h-42 form-control\"]),\n type: \"text\",\n placeholder: \" \",\n \"onUpdate:modelValue\": _cache[15] || (_cache[15] = ($event: any) => ((_ctx.userInfo.lastName) = $event)),\n onBlur: _cache[16] || (_cache[16] = \n//@ts-ignore\n(...args) => (_ctx.v$.userInfo.lastName.$touch && _ctx.v$.userInfo.lastName.$touch(...args)))\n }, null, 34), [\n [_vModelText, _ctx.userInfo.lastName]\n ]),\n _createElementVNode(\"label\", {\n class: _normalizeClass([{error: _ctx.v$.userInfo.lastName.$error}, \"floating-label\"])\n }, _toDisplayString(_ctx.$t('placeholders.lastName')), 3),\n (_ctx.v$.userInfo.lastName.$error)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_36, [\n _createVNode(_component_BaseIcon, {\n class: \"me-1\",\n name: \"alert\"\n }),\n _createTextVNode(_toDisplayString(_ctx.$t('validation.required')), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_37, [\n _withDirectives(_createElementVNode(\"input\", {\n class: _normalizeClass([{error: _ctx.v$.userInfo.userName.$error}, \"h-42 form-control\"]),\n type: \"text\",\n placeholder: \" \",\n \"onUpdate:modelValue\": _cache[17] || (_cache[17] = ($event: any) => ((_ctx.userInfo.userName) = $event)),\n onBlur: _cache[18] || (_cache[18] = \n//@ts-ignore\n(...args) => (_ctx.v$.userInfo.userName.$touch && _ctx.v$.userInfo.userName.$touch(...args)))\n }, null, 34), [\n [_vModelText, _ctx.userInfo.userName]\n ]),\n _createElementVNode(\"label\", {\n class: _normalizeClass([{error: _ctx.v$.userInfo.userName.$error}, \"floating-label\"])\n }, _toDisplayString(_ctx.$t('placeholders.username')), 3),\n (_ctx.v$.userInfo.userName.$error)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_38, [\n _createVNode(_component_BaseIcon, {\n class: \"me-1\",\n name: \"alert\"\n }),\n _createTextVNode(_toDisplayString(_ctx.$t('validation.required')), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_39, [\n _withDirectives(_createElementVNode(\"input\", {\n class: _normalizeClass([{error: _ctx.v$.userInfo.userEmail.$error}, \"h-42 form-control\"]),\n type: \"text\",\n placeholder: \" \",\n \"onUpdate:modelValue\": _cache[19] || (_cache[19] = ($event: any) => ((_ctx.userInfo.userEmail) = $event)),\n onBlur: _cache[20] || (_cache[20] = \n//@ts-ignore\n(...args) => (_ctx.v$.userInfo.userEmail.$touch && _ctx.v$.userInfo.userEmail.$touch(...args)))\n }, null, 34), [\n [_vModelText, _ctx.userInfo.userEmail]\n ]),\n _createElementVNode(\"label\", {\n class: _normalizeClass([{error: _ctx.v$.userInfo.userEmail.$error}, \"floating-label\"])\n }, _toDisplayString(_ctx.$t('placeholders.email')), 3),\n (_ctx.v$.userInfo.userEmail.$error)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_40, [\n _createVNode(_component_BaseIcon, {\n class: \"me-1\",\n name: \"alert\"\n }),\n _createTextVNode(_toDisplayString(_ctx.$t('validation.required')), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_41, [\n _withDirectives(_createElementVNode(\"input\", {\n class: _normalizeClass([{error: _ctx.v$.userInfo.userPhoneNumber.$error}, \"h-42 form-control\"]),\n type: \"text\",\n placeholder: \" \",\n \"onUpdate:modelValue\": _cache[21] || (_cache[21] = ($event: any) => ((_ctx.userInfo.userPhoneNumber) = $event)),\n onBlur: _cache[22] || (_cache[22] = \n//@ts-ignore\n(...args) => (_ctx.v$.userPhoneNumber.$touch && _ctx.v$.userPhoneNumber.$touch(...args)))\n }, null, 34), [\n [_directive_maska, { mask: '07H# ### ####', tokens: { 'H': { pattern: /[3-9]/ }}}],\n [_vModelText, _ctx.userInfo.userPhoneNumber]\n ]),\n _createElementVNode(\"label\", {\n class: _normalizeClass([{error: _ctx.v$.userInfo.userPhoneNumber.$error}, \"floating-label\"])\n }, _toDisplayString(_ctx.$t('placeholders.userPhoneNumber')), 3),\n (_ctx.v$.userInfo.userPhoneNumber.$error)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_42, [\n _createVNode(_component_BaseIcon, {\n class: \"me-1\",\n name: \"alert\"\n }),\n _createTextVNode(_toDisplayString(_ctx.v$.mobile.minLength.$invalid ? _ctx.$t('validation.min_length', {length: 11}) : _ctx.$t('validation.required')), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_43, [\n _createElementVNode(\"label\", _hoisted_44, _toDisplayString(_ctx.$t('placeholders.birthDate')), 1),\n _createVNode(_component_Datepicker, {\n format: 'MM/dd/yyyy',\n modelValue: _ctx.userInfo.birthDate,\n \"onUpdate:modelValue\": _cache[23] || (_cache[23] = ($event: any) => ((_ctx.userInfo.birthDate) = $event)),\n placeholder: _ctx.$t('placeholders.birthDate')\n }, null, 8, [\"modelValue\", \"placeholder\"]),\n (_ctx.v$.userInfo.birthDate.$error)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_45, [\n _createVNode(_component_BaseIcon, {\n class: \"me-1\",\n name: \"alert\"\n }),\n _createTextVNode(_toDisplayString(_ctx.$t('validation.required')), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_46, [\n _createElementVNode(\"button\", {\n type: \"button\",\n onClick: _cache[24] || (_cache[24] = ($event: any) => (_ctx.closeEditUserModal())),\n class: \"secondary m-1 w-32 px-4 py-2\"\n }, _toDisplayString(_ctx.$t('buttons.close')), 1),\n _createElementVNode(\"button\", {\n disabled: _ctx.v$.userInfo.$invalid,\n type: \"submit\",\n class: \"primary m-1 w-32 px-4 py-2\"\n }, _toDisplayString(_ctx.$t('buttons.update')), 9, _hoisted_47)\n ])\n ], 32))\n : _createCommentVNode(\"\", true),\n (_ctx.activeEditTab === 'changePass')\n ? (_openBlock(), _createElementBlock(\"form\", {\n key: 1,\n onSubmit: _cache[35] || (_cache[35] = ($event: any) => (_ctx.changePassword($event))),\n class: \"w-full\"\n }, [\n _createElementVNode(\"div\", _hoisted_48, [\n _withDirectives(_createElementVNode(\"input\", {\n class: _normalizeClass([{error: _ctx.v$.changePass.pass.$error}, \"h-42 absolute p-3.5 top-0 start-0 w-full h-full block appearance-none bg-transparent\"]),\n type: this.showPassword ? 'text' : 'password',\n placeholder: \" \",\n \"onUpdate:modelValue\": _cache[26] || (_cache[26] = ($event: any) => ((_ctx.changePass.pass) = $event)),\n onBlur: _cache[27] || (_cache[27] = \n//@ts-ignore\n(...args) => (_ctx.v$.changePass.pass.$touch && _ctx.v$.changePass.pass.$touch(...args)))\n }, null, 42, _hoisted_49), [\n [_vModelDynamic, _ctx.changePass.pass]\n ]),\n _createElementVNode(\"label\", {\n class: _normalizeClass([{error: _ctx.v$.changePass.pass.$error}, \"absolute text-placeholder top-3 start-4 text-xs bg-white py-0 px-1 -z-1 duration-300 origin-0 cursor-text\"])\n }, _toDisplayString(_ctx.$t('auth.password')), 3),\n (_ctx.showPassword)\n ? (_openBlock(), _createBlock(_component_BaseIcon, {\n key: 0,\n onClick: _cache[28] || (_cache[28] = ($event: any) => (_ctx.showPassword = false)),\n class: \"input-icon absolute end-3.5 top-3 cursor-pointer z-30\",\n name: \"eye\"\n }))\n : _createCommentVNode(\"\", true),\n (!_ctx.showPassword)\n ? (_openBlock(), _createBlock(_component_BaseIcon, {\n key: 1,\n onClick: _cache[29] || (_cache[29] = ($event: any) => (_ctx.showPassword = true)),\n class: \"input-icon absolute end-3.5 top-3 cursor-pointer z-30\",\n name: \"eyeoff\"\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.v$.changePass.pass.$error)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_50, [\n _createVNode(_component_BaseIcon, {\n class: \"me-1\",\n name: \"alert\"\n }),\n _createTextVNode(\" \" + _toDisplayString(_ctx.$t('validation.required')), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_51, [\n _withDirectives(_createElementVNode(\"input\", {\n class: _normalizeClass([{error: _ctx.v$.changePass.confirm_pass.$error}, \"h-42 absolute p-3.5 top-0 start-0 w-full h-full block appearance-none bg-transparent\"]),\n type: this.showConfirmPassword ? 'text' : 'password',\n placeholder: \" \",\n \"onUpdate:modelValue\": _cache[30] || (_cache[30] = ($event: any) => ((_ctx.changePass.confirm_pass) = $event)),\n onBlur: _cache[31] || (_cache[31] = \n//@ts-ignore\n(...args) => (_ctx.v$.changePass.confirm_pass.$touch && _ctx.v$.changePass.confirm_pass.$touch(...args)))\n }, null, 42, _hoisted_52), [\n [_vModelDynamic, _ctx.changePass.confirm_pass]\n ]),\n _createElementVNode(\"label\", {\n class: _normalizeClass([{error: _ctx.v$.changePass.confirm_pass.$error}, \"absolute text-placeholder top-3 start-4 text-xs bg-white py-0 px-1 -z-1 duration-300 origin-0 cursor-text\"])\n }, _toDisplayString(_ctx.$t('auth.password_confirm')), 3),\n (_ctx.showConfirmPassword)\n ? (_openBlock(), _createBlock(_component_BaseIcon, {\n key: 0,\n onClick: _cache[32] || (_cache[32] = ($event: any) => (_ctx.showConfirmPassword = false)),\n class: \"input-icon absolute end-3.5 top-3 cursor-pointer z-30\",\n name: \"eye\"\n }))\n : _createCommentVNode(\"\", true),\n (!_ctx.showConfirmPassword)\n ? (_openBlock(), _createBlock(_component_BaseIcon, {\n key: 1,\n onClick: _cache[33] || (_cache[33] = ($event: any) => (_ctx.showConfirmPassword = true)),\n class: \"input-icon absolute end-3.5 top-3 cursor-pointer z-30\",\n name: \"eyeoff\"\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.v$.changePass.confirm_pass.$error)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_53, [\n _createVNode(_component_BaseIcon, {\n class: \"me-1\",\n name: \"alert\"\n }),\n _createTextVNode(\" \" + _toDisplayString(_ctx.$t('validation.same_as')), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_54, [\n _createElementVNode(\"button\", {\n type: \"button\",\n onClick: _cache[34] || (_cache[34] = ($event: any) => (_ctx.closeEditUserModal())),\n class: \"secondary m-1 w-32 px-4 py-2\"\n }, _toDisplayString(_ctx.$t('buttons.close')), 1),\n _createElementVNode(\"button\", {\n disabled: _ctx.v$.changePass.$invalid,\n type: \"submit\",\n class: \"primary m-1 w-32 px-4 py-2\"\n }, _toDisplayString(_ctx.$t('buttons.update')), 9, _hoisted_55)\n ])\n ], 32))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }, 8, [\"title\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","\nimport { defineAsyncComponent, defineComponent } from 'vue'\nimport { UsersActions } from '@/store/modules/users/actions'\nimport router from '@/router'\nimport { User } from '@/shared/interfaces/user.interface'\nimport { PaginationInterface } from '@/shared/interfaces/pagination.interface'\nimport useVuelidate from '@vuelidate/core'\nimport { required, email, minLength, sameAs } from '@/customValidators'\nimport isValidUsername from '@/shared/utils/usernameRegex'\nimport { useToast } from 'vue-toastification'\nconst toast = useToast()\nexport default defineComponent({\n components: {\n SearchInput: defineAsyncComponent(() => import('@/shared/components/SearchInput.vue')),\n OrderByArrow: defineAsyncComponent(() => import('@/shared/OrderByArrow.vue')),\n FilterPanel: defineAsyncComponent(() => import('@/shared/components/filter/FilterPanel.vue')),\n TableGhost: defineAsyncComponent(() => import('@/shared/components/ghosts/TableGhost.vue')),\n InviteUser: defineAsyncComponent(() => import('@/views/shared/InviteUser.vue')),\n Pagination: defineAsyncComponent(() => import('@/shared/components/Pagination.vue')),\n BaseModal: defineAsyncComponent(() => import('@/shared/components/modals/BaseModal.vue')),\n PageTitle: defineAsyncComponent(() => import('@/shared/components/PageTitle.vue')),\n BaseIcon: defineAsyncComponent(() => import('@/shared/components/base-icon/BaseIcon.vue'))\n },\n setup: () => ({ v$: useVuelidate() }),\n data () {\n return {\n showPassword: false,\n // showOldPassword: false,\n showConfirmPassword: false,\n sortFields: [\n { id: 'created_at', currentSort: false, sort: null },\n { id: 'last_login', currentSort: false, sort: null }\n ],\n userInfo: {\n userPhoneNumber: null as any,\n firstName: null as any,\n lastName: null as any,\n birthDate: null as any,\n userName: null as any,\n userEmail: null as any\n },\n changePass: {\n // oldPass: null as any,\n pass: null as any,\n confirm_pass: null as any\n },\n showModal: false,\n height: 400,\n current: 1,\n superAdmin: false,\n showFilterModal: false,\n searchValue: null as any,\n admin: false,\n driver: false,\n showUserEditModal: false,\n selectedUser: null as any,\n activeEditTab: 'userInfo',\n filters: [\n // {\n // name: this.$t('filters.orderBy'),\n // model: '',\n // type: 'order',\n // default: { id: 'created_at', value: this.$t('filters.createdAt') },\n // data: [\n // { id: 'created_at', value: this.$t('filters.createdAt') },\n // { id: 'modified_at', value: this.$t('filters.modifiedAt') },\n // { id: 'username', value: this.$t('filters.username') },\n // { id: 'last_login', value: this.$t('filters.lastLogin') }\n // ]\n // },\n { name: this.$t('filters.joiningDate'), model: 'joiningDate', type: 'date', calendarType: 'range' },\n {\n name: this.$t('filters.role'),\n model: 'role',\n type: 'radio',\n data: [\n { id: 'is_admin', label: 'Admin' },\n { id: 'is_super_admin', label: 'SuperAdmin' },\n { id: 'is_driver', label: 'Driver' },\n { id: 'is_viewer', label: 'Viewer' }\n ]\n },\n {\n name: this.$t('filters.status'),\n model: 'active',\n type: 'radio',\n data: [\n { id: null, label: 'All Users' },\n { id: 'true', label: 'Active Users' },\n { id: 'false', label: 'Deactivated Users' }\n ]\n }\n ],\n exportColumn: [\n { field: 'username', label: 'Username' },\n { field: 'userEmail', label: 'Email' },\n { field: 'birthDateFormatted', label: 'Birth Date' },\n { field: 'userPhoneNumber', label: 'Mobile' },\n { field: 'role', label: 'Role' },\n { field: 'createdAtFormatted', label: 'Joining Date' },\n { field: 'lastLoginFormatted', label: 'Last Login Date' },\n { field: 'activated', label: 'Is Active' }\n ],\n exportData: [] as any,\n exportLoading: false\n }\n },\n validations: function () {\n return {\n userInfo: {\n userPhoneNumber: { required, minLength: minLength(13) },\n firstName: { required },\n lastName: { required },\n birthDate: { required },\n userName: { required },\n userEmail: { required, email }\n },\n changePass: {\n // oldPass: { required, minLength: minLength(8) },\n pass: { required, minLength: minLength(8) },\n confirm_pass: { required, sameAs: sameAs(this.changePass.pass, this.$t('auth.password')) }\n }\n }\n },\n mounted () {\n this.height = document.documentElement.clientHeight - 280\n addEventListener('resize', () => {\n this.height = document.documentElement.clientHeight - 280\n })\n },\n computed: {\n users (): User[] {\n return this.$store.getters['users/getUsers']\n },\n pagination (): PaginationInterface {\n return this.$store.getters['users/getPagination']\n },\n loading (): boolean {\n return this.$store.getters['users/getLoading']\n },\n getExportUsers (): User[] {\n return this.$store.getters['users/getExportUsers']\n },\n isSuperAdmin (): boolean {\n return this.$store.getters.isSuperAdmin\n }\n },\n methods: {\n clickSort (field: any, currentSortName: string): void {\n this.sortFields.map((el: any) => {\n if (el.id === currentSortName) {\n el.currentSort = true\n if (el.sort === null) {\n el.sort = 'asc'\n } else if (el.sort === 'asc') {\n el.sort = 'desc'\n } else if (el.sort === 'desc') {\n el.sort = null\n }\n } else {\n el.currentSort = false\n el.sort = null\n }\n return el\n })\n const queries = this.$route.query\n router.push({ query: { ...queries, orderBy: field.id, sort: field.sort } })\n },\n togglePassword () {\n this.showPassword = !this.showPassword\n },\n changeActive (tabName: string): void {\n this.activeEditTab = tabName\n },\n toggleActivate (id: number, type: 'activate' | 'deactivate'): void {\n if (type === 'activate') {\n this.$store.dispatch(`users/${UsersActions.ACTIVATE_USER}`, { userId: id })\n } else {\n this.$store.dispatch(`users/${UsersActions.DEACTIVATE_USER}`, { userId: id })\n }\n },\n changePassword (event: any): void {\n event.preventDefault()\n const payload = {\n // old_password: this.changePass.oldPass,\n new_password: this.changePass.pass,\n confirm_new_password: this.changePass.confirm_pass\n }\n this.$store.dispatch(`users/${UsersActions.CHANGE_PASSWORD}`, { data: payload, userId: this.selectedUser.id }).then((res: any) => {\n toast.success('User password has been updated successfully', {\n timeout: 3000\n })\n this.closeEditUserModal()\n // let params = JSON.parse(JSON.stringify(this.$route.query))\n // params = { pageSize: 10, pageNumber: this.$route.query.pageNumber ? this.$route.query.pageNumber : 1, ...params }\n // this.$store.dispatch(`users/${UsersActions.FETCH_USERS}`, params)\n })\n .catch(() => {\n toast.error('Something went wrong, please try again!', {\n timeout: 3000\n })\n })\n },\n editUserInfo (event: any): void {\n event.preventDefault()\n const payload = {}\n if (this.userInfo.userName !== this.selectedUser.username) {\n Object.assign(payload, { username: this.userInfo.userName })\n }\n if (this.userInfo.firstName !== this.selectedUser.firstName) {\n Object.assign(payload, { first_name: this.userInfo.firstName })\n }\n if (this.userInfo.lastName !== this.selectedUser.lastName) {\n Object.assign(payload, { last_name: this.userInfo.lastName })\n }\n if (this.userInfo.userEmail !== this.selectedUser.userEmail) {\n Object.assign(payload, { user_email: this.userInfo.userEmail })\n }\n if (this.userInfo.userPhoneNumber !== this.selectedUser.userPhoneNumber) {\n Object.assign(payload, { user_phone_number: this.userInfo.userPhoneNumber })\n }\n if (this.userInfo.birthDate !== this.selectedUser.birthdate) {\n Object.assign(payload, { birthdate: this.userInfo.birthDate })\n }\n if (Object.keys(payload).length) {\n const toast = useToast()\n this.$store.dispatch(`users/${UsersActions.UPDATE_USER}`, { data: payload, userId: this.selectedUser.id }).then((res: any) => {\n this.closeEditUserModal()\n toast.success('User has been updated successfully', {\n timeout: 3000\n })\n let params = JSON.parse(JSON.stringify(this.$route.query))\n params = { pageSize: 10, pageNumber: this.$route.query.pageNumber ? this.$route.query.pageNumber : 1, ...params }\n this.$store.dispatch(`users/${UsersActions.FETCH_USERS}`, params)\n }).catch(() => {\n toast.error('Something went wrong, please try again!', {\n timeout: 3000\n })\n this.closeEditUserModal()\n })\n }\n },\n closeEditUserModal (): void {\n this.resetForm()\n this.selectedUser = null\n this.showUserEditModal = false\n },\n resetForm (): void {\n this.userInfo.userName = null\n this.userInfo.firstName = null\n this.userInfo.lastName = null\n this.userInfo.birthDate = null\n this.userInfo.userPhoneNumber = null\n this.userInfo.userEmail = null\n this.changePass.pass = null\n this.changePass.confirm_pass = null\n // this.changePass.oldPass = null\n this.v$.$reset()\n },\n openEditUserModal (user: User): void {\n this.showUserEditModal = true\n this.userInfo.userName = user.username\n this.userInfo.firstName = user.firstName\n this.userInfo.lastName = user.lastName\n this.userInfo.userEmail = user.userEmail\n this.userInfo.userPhoneNumber = user.userPhoneNumber\n this.userInfo.birthDate = user.birthdate\n this.selectedUser = user\n },\n getUserList (): void {\n router.push({ query: { ...this.$route.query, pageNumber: 1 } })\n },\n async exportUsers () {\n this.exportLoading = true\n let params = JSON.parse(JSON.stringify(this.$route.query))\n params = { ...params, pageSize: this.pagination.totalItems, pageNumber: 1, export: true }\n await this.$store.dispatch(`users/${UsersActions.FETCH_USERS}`, params)\n this.exportData = this.getExportUsers.map((user: User) => {\n return { ...user, role: user.role.value }\n })\n const button = document.getElementById('excel-export')\n if (button) {\n this.$nextTick(() => {\n button.click()\n this.exportData = []\n this.exportLoading = false\n })\n }\n }\n },\n watch: {\n current (val) {\n router.push({ query: { ...this.$route.query, pageNumber: val } })\n },\n searchValue (val) {\n const queries = this.$route.query\n queries.pageNumber = '1'\n router.push({ query: { ...queries, search: this.searchValue } })\n },\n $route: {\n immediate: true,\n handler (val) {\n if (val.name === 'Users') {\n this.current = this.$route.query.pageNumber ? Number(this.$route.query.pageNumber) : 1\n if (val.query.search) {\n this.searchValue = val.query.search\n }\n let params = JSON.parse(JSON.stringify(val.query))\n params = { pageSize: 10, pageNumber: val.query.pageNumber ? val.query.pageNumber : 1, ...params }\n this.$store.dispatch(`users/${UsersActions.FETCH_USERS}`, params)\n }\n }\n },\n 'userInfo.userName' (val) {\n if (!isValidUsername(val)) {\n if (this.userInfo.userName.split(' ').length > 1) {\n this.userInfo.userName = this.userInfo.userName.split(' ').join('_')\n } else {\n const strArry = this.userInfo.userName.split('')\n strArry.pop()\n this.userInfo.userName = strArry.join('')\n }\n }\n }\n }\n})\n","import { render } from \"./Users.vue?vue&type=template&id=c0d8a86a&scoped=true&ts=true\"\nimport script from \"./Users.vue?vue&type=script&lang=ts\"\nexport * from \"./Users.vue?vue&type=script&lang=ts\"\n\nimport \"./Users.vue?vue&type=style&index=0&id=c0d8a86a&scoped=true&lang=scss\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-c0d8a86a\"]])\n\nexport default __exports__"],"sourceRoot":""}