{"version":3,"sources":["webpack:///./src/pages/user/index.vue","webpack:///./src/pages/user/UserModal.vue","webpack:///./src/pages/user/UserForm.vue","webpack:///src/pages/user/UserForm.vue","webpack:///./src/pages/user/UserForm.vue?bd06","webpack:///./src/pages/user/UserForm.vue?ec85","webpack:///src/pages/user/UserModal.vue","webpack:///./src/pages/user/UserModal.vue?7a93","webpack:///./src/pages/user/UserModal.vue?de2d","webpack:///src/pages/user/index.vue","webpack:///./src/pages/user/index.vue?7222","webpack:///./src/pages/user/index.vue?8113","webpack:///./src/shared/constants/snotify/index.js","webpack:///./src/api/scopes.api.js","webpack:///./src/api/role.api.js"],"names":["render","_vm","this","_c","_self","attrs","$getConst","pages","pageUsers","users","hasPermission","permissions","addUser","list_of_users","button","add","icons","on","openUserAddModal","scopedSlots","_u","key","fn","staticClass","exportExcel","svgIcons","excel","_v","_s","_f","$t","proxy","ref","fields","actions","edit","logAs","data","row","$event","goToUserDetails","id","name","item","toLowerCase","signup_completed","invitation_sent","invitation_expired","_e","action","rowData","hasAnyOfPermissions","variant","isInSameScope","isSuperAdmin","role","class","icon","isSignUpCompleted","isResendingInvitation","resendInvitation","isLocalAdmin","$store","getters","confirmDeleteUser","enableDisableUser","enablingUserId","enableOrDisableUser","power_off","enabled","disabled","userAddModal","userAssignModal","userToEdit","profile","are_you_sure","cancelDeleteUser","deleteUser","staticRenderFns","affect_role_scopes","personalDetails","first_name","$v","user","firstName","$error","firstName_placeholder","model","value","$model","callback","$$v","$set","trim","expression","last_name","lastName","lastName_placeholder","email","userExist","email_placeholder","form","exist_field_error","userEdited","roles","length","_l","role_id","select_option","allRole","updateListOfScopes","slot","alerts","no_results_found","scopes","scopesOfSelectedRole","onChangeScopes","default_scope","scope_id","scopeExistInList","notAssigned_scope_error","nav_id","nav_id_placeholder","vendor_gp_id","vendorIds","add_new_vendor","debounceVendors","changeVendorName","addNewVendor","vendor_id","vendor_name","components","AppFormFeedback","isLoading","allScope","userScopes","isSubmited","vendors","getVendorsIsLoading","props","modal_id","validations","required","computed","rolesList","created","mounted","methods","closeModal","getScopes","getAllScopes","getRoles","getAllRoles","isFormInvalid","errorFromServerTreatment","formValidTreatment","assignUserRoleScopes","assignUsersRoleScopes","addUserByAdmin","getVendorsByScope","query","watch","component","UserForm","AppAddUpdateModal","AppSection","AppDataTable","UserModal","AppConfirmationModal","endPoint","label","sortable","filterable","sortKey","userToDelete","text","resendSignUpInvitationEmail","resolve","title","body","config","reject","openAssignUserModal","onAssignUserToleScope","onAddUser","sessionStorage","timeout","showProgressBar","closeOnClick","pauseOnHover","buttons","toastClosed","location","scopesUserConnected","isFound","updateRoleField","updateScopeField","updateStatusField","exportUsers","responseType","headers","link","document","window","usersHasSameScopeAsOrigin","params","user_id","beforeDestroy","snotifyConfig","titleMaxLength","END_POINT","httpClient","get","getOneScope","addScope","scopeData","post","editScope","put","deleteScope","delete","usersInScopes","getScopeLanguages","scopeId","getDefaultScopeIdForList","getScopeNavCredentials","updateScopeNavCredentials","navCredentials","checkNavStatus","testNavCredentials","smsLogs","monitoringJobs","launchJobs","jobIds","getAllowedMobileCountriesPerScope","getAllowedMobileCountries","httpClientWithoutToken","addAllowedMobileCountries","countries","getCronConfig","getTimezonesList","updateCronConfig","cronConfigId","getOneCronConfig","enableOrDisableScope","addPermissionToRole","permission","removePermissionFromRole"],"mappings":"uIAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,aAAa,CAACE,MAAM,CAAC,GAAK,SAAS,MAAQJ,EAAIK,UAAUC,MAAMC,UAAUC,MAAM,KAAO,SAAS,CAACN,EAAG,aAAa,CAACE,MAAM,CAAC,GAAK,aAAa,KAAO,UAAU,OAASJ,EAAIS,cAAcT,EAAIK,UAAUK,YAAYC,SAAS,MAAQX,EAAIK,UAAUC,MAAMC,UAAUK,cAAc,cAAcZ,EAAIK,UAAUC,MAAMO,OAAOC,IAAI,cAAcd,EAAIK,UAAUU,MAAMD,IAAI,gBAA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ACA,CAAAsC,4BAAAG,0BAAAK,qCAAA9C,0DACA,CAAAsC,sBAAAG,yBAAAK,iCAAA9C,sDAEAmK,oBAGA7B,mBACA,gBAEA,6DACA,yBAEA,2BACA,CAAAzD,UAAAuF,sDACA,CAAAvF,UAAAuF,yDAGA7B,mBAAA,WACA,wBACA,yCACA,8BAEA,wCACA,oBAIAC,SACAhH,iBACA,kBACA,4BAEAyB,6BAAA,WACA,8BACA,oBACA,6DACA,kDACA,6CACAoH,wBACA,YACA,oCACA,2BACAC,GACAC,6CACAC,sDACAC,mBAGA,YACA,2BACA,+BACAC,GACAH,aACAC,eACAC,0BAOAlK,4BACA,uCAEAoK,+BACA,0CAEAC,kCACA,4EACA,mCAEAC,sBACA,0EACA,kCAEApJ,kBAAA,WACA,qCACAA,2BACA,YACAqJ,0DACA,uCACA,uBACA,4BACA,8EACA,8BAEA,2CAEA,YACA,wCACA,2BAGA,CACA,mDAEA,KAEA,uGACAC,YACAC,mBACAC,gBACAC,gBACAC,SACA,CAAAf,WAAA9H,kBAAA,6BACA,CAAA8H,UAAA9H,mBACA,wBACA8I,UAGA,4BACA,GACAC,yBAKA3I,0BACA,4CACA,KAQA,OAPA4I,uBACA,oDAEA,OADAC,MACA,KAIA,GAEA3C,oBAAA,WACAC,mCACA,oBACA,+BAGA2C,4BACA,6CACA,OAAA3G,aAAAuF,iBAGAqB,6BACA,6CACA,OAAA5G,aAAAuF,iBAIAsB,6BACA,2BACA,CACA7G,kBAAAuF,+DAEA,CACAvF,gBAAAuF,iEAEA,CACAvF,gBAAAuF,gEAKAvJ,uBAAA,WACA8K,gBACAC,oBACAC,SACA,8EAEA,kBACA,qDACA,8BACAC,SACA,eACA,uDACA,qDACA,UACAA,8CACAC,6BACAD,UACAE,iCAEA,YACA,wBAIAC,sCACA,4EAGApK,4BACA,mBAAAE,2DAAAmK,QAAAC,cAGA9I,8BACA,oBACA,0CAEAY,4BACA,wBAEAC,sBAAA,WACAA,2CACA,WACA,8CACA,8BACA,sE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AWC,IAAIF,EAAY,IAAMa,EAAU,gBACzES,EAAa,SAACC,GAAM,OAAKtB,OAAWK,KAAKN,EAAY,UAAW,CAACuB,YAGjEC,EAAoC,SAACX,GAAO,OAAKZ,OAAWC,IAAIF,EAAY,IAAMa,EAAU,sBAC5FY,EAA4B,WAAH,OAASC,OAAuBxB,IAAIF,EAAY,sBACzE2B,EAA4B,SAACd,EAASe,GAAS,OAAK3B,OAAWK,KAAKN,EAAY,IAAMa,EAAU,oBAAoB,CAACe,UAAWA,KAEhIC,EAAgB,SAAChB,GAAO,OAAKZ,OAAWC,IAAIF,EAAY,IAAMa,EAAU,kBACxEiB,EAAmB,WAAH,OAAS7B,OAAWC,IAAI,mBACxC6B,EAAmB,SAACC,EAAc7M,GAAI,OAAK8K,OAAWO,IAAIR,EAAY,gBAAkBgC,EAAc7M,IACtG8M,EAAmB,SAACD,GAAY,OAAK/B,OAAWC,IAAIF,EAAY,gBAAkBgC,IAElFE,EAAuB,SAACrB,GAAO,OAAKZ,OAAWK,KAAKN,EAAY,yBAA2Ba,K,kCClCjG,sHAEMb,EAAY,SAEZ1D,EAAc,WAAH,OAAS2D,OAAWC,IAAIF,IACnCmC,EACJ,SAAC9L,EAAM+L,GAAU,OAAKnC,OAAWK,KAAKN,EAAY,eAAgB,CAAC3J,OAAM+L,gBACrEC,EACJ,SAAChM,EAAM+L,GAAU,OAAKnC,OAAWS,OAAOV,EAAY,eAAgB,CAACL,OAAQ,CAACtJ,OAAM+L","file":"js/chunk-a701e8aa.284a2ded.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('AppSection',{attrs:{\"id\":\"scopes\",\"title\":_vm.$getConst.pages.pageUsers.users,\"type\":\"page\"}},[_c('AppSection',{attrs:{\"id\":\"list-users\",\"type\":\"section\",\"button\":_vm.hasPermission(_vm.$getConst.permissions.addUser),\"title\":_vm.$getConst.pages.pageUsers.list_of_users,\"button-text\":_vm.$getConst.pages.button.add,\"button-icon\":_vm.$getConst.icons.add,\"second-button\":\"\"},on:{\"onClick\":_vm.openUserAddModal},scopedSlots:_vm._u([{key:\"secondButton\",fn:function(){return [_c('b-button',{staticClass:\"ml-auto text-success font-weight-bold\",attrs:{\"variant\":\"link\"},on:{\"click\":_vm.exportExcel}},[_c('AppSvgIcon',{staticClass:\"mr-2\",attrs:{\"icon\":_vm.$getConst.svgIcons.excel}}),_vm._v(_vm._s(_vm._f(\"capitalize\")(_vm.$t(_vm.$getConst.pages.excel.excel)))+\"\\n \")],1)]},proxy:true}])},[_c('AppDataTable',{ref:\"usersTable\",attrs:{\"fields\":_vm.fields,\"actions\":_vm.actions,\"end-point\":\"users\"},on:{\"onEdit\":_vm.edit,\"onLogAs\":_vm.logAs},scopedSlots:_vm._u([{key:\"name\",fn:function({data,row}){return [_c('b-link',{on:{\"click\":function($event){return _vm.goToUserDetails(row.id)}}},[_vm._v(_vm._s(row.name)),_c('i',{staticClass:\"fa fa-external-link ml-2\"})])]}},{key:\"isSignUpCompleted\",fn:function(item){return [(item.data.toLowerCase() === 'completed')?_c('b-badge',{staticClass:\"gradient\",attrs:{\"pill\":\"\",\"variant\":\"secondary\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(_vm.$getConst.pages.pageUsers.signup_completed))+\"\\n \")]):(item.data.toLowerCase() === 'waiting')?_c('b-badge',{staticClass:\"gradient\",attrs:{\"pill\":\"\",\"variant\":\"warning\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(_vm.$getConst.pages.pageUsers.invitation_sent))+\"\\n \")]):(item.data.toLowerCase() === 'expired')?_c('b-badge',{staticClass:\"gradient\",attrs:{\"pill\":\"\",\"variant\":\"danger\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(_vm.$getConst.pages.pageUsers.invitation_expired))+\"\\n \")]):_vm._e()]}},{key:\"button-onLogAs\",fn:function({action, rowData}){return [(_vm.hasAnyOfPermissions(action.permissions))?_c('b-button',{staticClass:\"ml-2 border-0\",attrs:{\"variant\":action.variant,\"size\":\"sm\",\"disabled\":!_vm.isInSameScope(rowData) || _vm.isSuperAdmin(rowData.role.name)},on:{\"click\":function($event){return _vm.logAs(rowData)}}},[_c('i',{class:action.icon})]):_vm._e()]}},{key:\"button-onResendInvitation\",fn:function({action, rowData}){return [(_vm.hasAnyOfPermissions(action.permissions))?_c('b-button',{staticClass:\"ml-2 border-0\",attrs:{\"variant\":action.variant,\"size\":\"sm\",\"disabled\":rowData.isSignUpCompleted.toLowerCase() !== 'expired'|| _vm.isResendingInvitation},on:{\"click\":function($event){return _vm.resendInvitation(rowData.id)}}},[_c('i',{class:action.icon})]):_vm._e()]}},{key:\"button-onDeleteUser\",fn:function({action, rowData}){return [_c('b-button',{staticClass:\"ml-2 border-0\",attrs:{\"variant\":action.variant,\"size\":\"sm\",\"disabled\":_vm.isSuperAdmin(rowData.role.name) || (_vm.isLocalAdmin(_vm.$store.getters['auth/role']) && (_vm.isLocalAdmin(rowData.role.name)))},on:{\"click\":function($event){return _vm.confirmDeleteUser(rowData)}}},[_c('i',{class:action.icon})])]}},{key:\"is_enabled\",fn:function(item){return [(_vm.hasPermission(_vm.$getConst.permissions.enableDisableUser) && _vm.$store.getters['auth/id'] != item.row.id && item.row.role.name != 'Super Admin')?[(_vm.enablingUserId == item.row.id)?_c('b-spinner',{attrs:{\"small\":\"\",\"type\":\"grow\",\"label\":\"Spinning\"}}):[(item.data)?_c('b-button',{staticClass:\"border-0\",attrs:{\"size\":\"sm\",\"variant\":\"outline-success\"},on:{\"click\":function($event){return _vm.enableOrDisableUser(item.row.id)}}},[_c('i',{class:_vm.$getConst.icons.power_off})]):_c('b-button',{staticClass:\"border-0\",attrs:{\"size\":\"sm\",\"variant\":\"outline-danger\"},on:{\"click\":function($event){return _vm.enableOrDisableUser(item.row.id)}}},[_c('i',{class:_vm.$getConst.icons.power_off})])]]:[(item.data)?_c('span',{staticClass:\"text-success\"},[_vm._v(_vm._s(_vm._f(\"capitalize\")(_vm.$t(_vm.$getConst.pages.pageUsers.enabled))))]):_c('span',{staticClass:\"text-danger\"},[_vm._v(_vm._s(_vm._f(\"capitalize\")(_vm.$t(_vm.$getConst.pages.pageUsers.disabled))))])]]}}])}),_c('UserModal',{attrs:{\"id\":_vm.userAddModal}}),_c('UserModal',{attrs:{\"id\":_vm.userAssignModal,\"user-to-edit\":_vm.userToEdit}}),_c('AppConfirmationModal',{ref:\"confirmDelete\",attrs:{\"id\":\"confirmation-modal\",\"title\":_vm.$t(_vm.$getConst.pages.profile.are_you_sure),\"|\":\"\",\"capitalize\":\"\"},on:{\"onCancel\":_vm.cancelDeleteUser,\"onConfirm\":_vm.deleteUser}})],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('AppAddUpdateModal',{attrs:{\"id\":_vm.id,\"title\":_vm._f(\"capitalize\")(_vm.$t(_vm.$getConst.pages.pageUsers.affect_role_scopes))},scopedSlots:_vm._u([{key:\"form\",fn:function(){return [_c('UserForm',{attrs:{\"modal_id\":_vm.id,\"userToEdit\":_vm.userToEdit}})]},proxy:true}])})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('form',{staticClass:\"my-5 mx-5\"},[(!_vm.userToEdit)?_c('b-form-group',{attrs:{\"id\":\"first_name\",\"label\":_vm.$t(_vm.$getConst.pages.personalDetails.first_name),\"label-for\":\"first_name-input\"}},[_c('b-form-input',{class:{ 'is-invalid': _vm.$v.user.firstName.$error },attrs:{\"id\":\"first_name-input\",\"placeholder\":_vm.$t(this.$getConst.pages.personalDetails.firstName_placeholder),\"size\":\"lg\",\"required\":\"\"},model:{value:(_vm.$v.user.firstName.$model),callback:function ($$v) {_vm.$set(_vm.$v.user.firstName, \"$model\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"$v.user.firstName.$model\"}}),_c('AppFormFeedback',{attrs:{\"errors\":_vm.$v.user.firstName}})],1):_vm._e(),(!_vm.userToEdit)?_c('b-form-group',{attrs:{\"id\":\"last_name\",\"label\":_vm.$t(_vm.$getConst.pages.personalDetails.last_name),\"label-for\":\"last_name-input\"}},[_c('b-form-input',{class:{ 'is-invalid': _vm.$v.user.lastName.$error },attrs:{\"id\":\"last_name-input\",\"placeholder\":_vm.$t(this.$getConst.pages.personalDetails.lastName_placeholder),\"size\":\"lg\",\"required\":\"\"},model:{value:(_vm.$v.user.lastName.$model),callback:function ($$v) {_vm.$set(_vm.$v.user.lastName, \"$model\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"$v.user.lastName.$model\"}}),_c('AppFormFeedback',{attrs:{\"errors\":_vm.$v.user.lastName}})],1):_vm._e(),(!_vm.userToEdit)?_c('b-form-group',{attrs:{\"id\":\"email\",\"label\":_vm.$t(_vm.$getConst.pages.pageUsers.email),\"label-for\":\"email-input\"}},[_c('b-form-input',{class:{ 'is-invalid': _vm.$v.user.email.$error || _vm.userExist },attrs:{\"id\":\"email-input\",\"placeholder\":_vm.$t(this.$getConst.pages.personalDetails.email_placeholder),\"size\":\"lg\",\"required\":\"\"},model:{value:(_vm.$v.user.email.$model),callback:function ($$v) {_vm.$set(_vm.$v.user.email, \"$model\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"$v.user.email.$model\"}}),_c('AppFormFeedback',{attrs:{\"errors\":_vm.$v.user.email}}),(_vm.userExist)?_c('b-form-invalid-feedback',[_vm._v(\"\\n \"+_vm._s(_vm.$t(this.$getConst.pages.form.exist_field_error))+\".\\n \")]):_vm._e()],1):_vm._e(),(_vm.userToEdit)?_c('div',[_c('label',[_vm._v(_vm._s(_vm.$t(_vm.$getConst.pages.pageUsers.id)))]),_c('p',[_vm._v(_vm._s(_vm.userEdited.id))]),_c('label',[_vm._v(_vm._s(_vm.$t(_vm.$getConst.pages.pageUsers.name)))]),_c('p',[_vm._v(_vm._s(_vm.userEdited.name))]),_c('label',[_vm._v(_vm._s(_vm.$t(_vm.$getConst.pages.pageUsers.email)))]),_c('p',[_vm._v(_vm._s(_vm.userEdited.email))])]):_vm._e(),_c('label',[_vm._v(_vm._s(_vm.$t(_vm.$getConst.pages.pageUsers.role)))]),(_vm.userToEdit)?_c('div',[(_vm.userToEdit.roles.length > 1)?_c('ul',_vm._l((_vm.userToEdit.roles),function(role){return _c('li',[_vm._v(\"\\n \"+_vm._s(role.name)+\"\\n \")])}),0):(_vm.userToEdit.role.name==='Worker'||_vm.userToEdit.role.name==='Approver'||_vm.userToEdit.role.name==='Vendor'||_vm.userToEdit.role.name==='Freelancer')?[_c('p',[_vm._v(_vm._s(_vm.userEdited.role.name))])]:_vm._e()],2):_vm._e(),(!((_vm.userToEdit)&&(_vm.userToEdit.role.name==='Worker'||_vm.userToEdit.role.name==='Approver'||_vm.userToEdit.role.name==='Vendor'||_vm.userToEdit.role.name==='Freelancer')))?_c('b-form-group',{attrs:{\"id\":\"role\",\"label-for\":\"role-input\"}},[_c('multiselect',{class:{ 'is-invalid': _vm.$v.user.role_id.$error },attrs:{\"track-by\":\"id\",\"label\":\"name\",\"placeholder\":_vm.$t(this.$getConst.pages.form.select_option),\"options\":_vm.allRole},on:{\"input\":function($event){return _vm.updateListOfScopes(true)}},model:{value:(_vm.$v.user.role_id.$model),callback:function ($$v) {_vm.$set(_vm.$v.user.role_id, \"$model\", $$v)},expression:\"$v.user.role_id.$model\"}},[_c('span',{attrs:{\"slot\":\"noResult\"},slot:\"noResult\"},[_vm._v(_vm._s(_vm.$t(_vm.$getConst.pages.alerts.no_results_found)))])]),_c('AppFormFeedback',{attrs:{\"errors\":_vm.$v.user.role_id}})],1):_vm._e(),_c('b-form-group',{attrs:{\"id\":\"scopes\",\"label\":_vm.$t(_vm.$getConst.pages.pageUsers.scopes)+':',\"label-for\":\"scope-input\"}},[_c('multiselect',{class:{ 'is-invalid': _vm.$v.user.scopes.$error },attrs:{\"track-by\":\"id\",\"label\":\"name\",\"placeholder\":_vm.$t(this.$getConst.pages.form.select_option),\"options\":_vm.scopesOfSelectedRole,\"multiple\":true},on:{\"input\":_vm.onChangeScopes},model:{value:(_vm.$v.user.scopes.$model),callback:function ($$v) {_vm.$set(_vm.$v.user.scopes, \"$model\", $$v)},expression:\"$v.user.scopes.$model\"}},[_c('span',{attrs:{\"slot\":\"noResult\"},slot:\"noResult\"},[_vm._v(_vm._s(_vm.$t(_vm.$getConst.pages.alerts.no_results_found)))])]),_c('AppFormFeedback',{attrs:{\"errors\":_vm.$v.user.scopes}})],1),_c('b-form-group',{attrs:{\"id\":\"default_scope\",\"label\":_vm.$t(_vm.$getConst.pages.pageUsers.default_scope)+':',\"label-for\":\"scope-input\"}},[_c('multiselect',{class:{ 'is-invalid': _vm.$v.user.scope_id.$error || _vm.scopeExistInList},attrs:{\"track-by\":\"id\",\"label\":\"name\",\"placeholder\":_vm.$t(this.$getConst.pages.form.select_option),\"options\":_vm.$v.user.scopes.$model},model:{value:(_vm.$v.user.scope_id.$model),callback:function ($$v) {_vm.$set(_vm.$v.user.scope_id, \"$model\", $$v)},expression:\"$v.user.scope_id.$model\"}},[_c('span',{attrs:{\"slot\":\"noResult\"},slot:\"noResult\"},[_vm._v(_vm._s(_vm.$t(_vm.$getConst.pages.alerts.no_results_found)))])]),_c('AppFormFeedback',{attrs:{\"errors\":_vm.$v.user.scope_id}}),(_vm.scopeExistInList)?_c('b-form-invalid-feedback',[_vm._v(\"\\n \"+_vm._s(_vm.$t(this.$getConst.pages.personalDetails.notAssigned_scope_error))+\"\\n \")]):_vm._e()],1),(!_vm.userToEdit && _vm.user.scope_id && _vm.user.role_id && (_vm.user.role_id.id === 3 || _vm.user.role_id.id === 4))?_c('b-form-group',{attrs:{\"id\":\"nav\",\"label\":_vm.$t(_vm.$getConst.pages.personalDetails.nav_id) + ' ' + _vm.user.scope_id.name,\"label-for\":\"nav-input\"}},[_c('b-form-input',{attrs:{\"id\":\"nav-input\",\"placeholder\":_vm.$t(this.$getConst.pages.personalDetails.nav_id_placeholder),\"size\":\"lg\"},model:{value:(_vm.user.nav_id),callback:function ($$v) {_vm.$set(_vm.user, \"nav_id\", $$v)},expression:\"user.nav_id\"}})],1):_vm._e(),(_vm.user.scope_id && _vm.user.role_id && _vm.user.role_id.id === 5)?[_c('b-form-group',{attrs:{\"id\":\"vendor_gp_id\",\"label\":_vm.$t(_vm.$getConst.pages.personalDetails.vendor_gp_id) + ' ' + _vm.user.scope_id.name,\"label-for\":\"vendor_gp_id-input\"}},[_c('multiselect',{attrs:{\"placeholder\":_vm.$t(_vm.$getConst.pages.form.select_option),\"options\":_vm.vendorIds,\"multiple\":false,\"openDirection\":\"top\",\"searchable\":true,\"close-on-select\":true,\"options-limit\":300,\"limit\":3,\"max-height\":300,\"show-no-results\":false,\"tag-placeholder\":_vm.$t(_vm.$getConst.pages.personalDetails.add_new_vendor),\"taggable\":true},on:{\"search-change\":_vm.debounceVendors,\"input\":_vm.changeVendorName,\"tag\":_vm.addNewVendor},model:{value:(_vm.user.vendor_id),callback:function ($$v) {_vm.$set(_vm.user, \"vendor_id\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"user.vendor_id\"}},[_c('span',{attrs:{\"slot\":\"noResult\"},slot:\"noResult\"},[_vm._v(_vm._s(_vm.$t(_vm.$getConst.pages.alerts.no_results_found)))])])],1),(_vm.user.vendor_name)?_c('b-form-group',{attrs:{\"id\":\"vendor_name\",\"label\":_vm.$t(_vm.$getConst.pages.personalDetails.vendor_name) + ' ' + _vm.user.scope_id.name}},[_vm._v(\"\\n \"+_vm._s(_vm.user.vendor_name)+\"\\n \")]):_vm._e()]:_vm._e()],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n {{$t($getConst.pages.alerts.no_results_found)}}\n \n \n \n\n \n \n {{$t($getConst.pages.alerts.no_results_found)}}\n \n \n \n \n \n {{$t($getConst.pages.alerts.no_results_found)}}\n \n \n \n {{$t(this.$getConst.pages.personalDetails.notAssigned_scope_error)}}\n \n \n \n \n \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!./UserForm.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!./UserForm.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./UserForm.vue?vue&type=template&id=3d8c3f72&scoped=true&\"\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 \"3d8c3f72\",\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--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!./UserModal.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!./UserModal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./UserModal.vue?vue&type=template&id=664129aa&scoped=true&\"\nimport script from \"./UserModal.vue?vue&type=script&lang=js&\"\nexport * from \"./UserModal.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 \"664129aa\",\n null\n \n)\n\nexport default component.exports","\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=64515a27&\"\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 const snotifyConfig = {\n timeout: 5000,\n titleMaxLength: 40,\n showProgressBar: true,\n closeOnClick: true,\n pauseOnHover: true,\n}\n","import httpClient from './_httpClient';\nimport httpClientWithoutToken from \"./_httpClientWithoutToken\";\n\nconst END_POINT = '/scopes';\n\nconst getAllScopes = () => httpClient.get(END_POINT + '?paginated=false');\nconst getOneScope = (id) => httpClient.get( 'oneScope/' + id);\nconst addScope = (scopeData) => httpClient.post(END_POINT, scopeData);\nconst editScope = (id, scopeData) => httpClient.put(END_POINT + '/' + id, scopeData);\nconst deleteScope = (id) => httpClient.delete(END_POINT + '/' + id);\nconst usersInScopes = (id) => httpClient.get('/usersInScopes/' + id);\nconst getScopeLanguages = (scopeId) => httpClient.get(END_POINT + '/' + scopeId + '/languages');\nconst getDefaultScopeIdForList = () => httpClient.get(END_POINT + '/defaultScopeIdForList');\n\n// Nav credentials APIs\nconst getScopeNavCredentials = (scopeId) => httpClient.get(END_POINT + '/' + scopeId + '/nav-credentials');\nconst updateScopeNavCredentials = (scopeId, navCredentials) => httpClient.put(END_POINT + '/' + scopeId + '/nav-credentials', navCredentials);\nconst checkNavStatus = (scopeId) => httpClient.post(END_POINT + '/' + scopeId + '/nav-status');\nconst getNavStatusHistory = (scopeId) => httpClient.get(END_POINT + '/' + scopeId + '/nav-status');\nconst testNavCredentials = (scopeId,navCredentials) => httpClient.post(END_POINT + '/' + scopeId + \"/test-nav-credentials\",navCredentials);\nconst smsLogs = (scopeId, config) => httpClient.get( '/excel/' + scopeId, config);\nconst monitoringJobs = (scopeId) => httpClient.get(END_POINT + '/' + scopeId + '/monitoring');\nconst launchJobs = (jobIds) => httpClient.post(END_POINT + '/launch', {jobIds});\n\n// Allowed mobile countries\nconst getAllowedMobileCountriesPerScope = (scopeId) => httpClient.get(END_POINT + '/' + scopeId + '/mobile-countries');\nconst getAllowedMobileCountries = () => httpClientWithoutToken.get(END_POINT + '/mobile-countries');\nconst addAllowedMobileCountries = (scopeId, countries) => httpClient.post(END_POINT + '/' + scopeId + '/mobile-countries',{countries: countries});\n\nconst getCronConfig = (scopeId) => httpClient.get(END_POINT + '/' + scopeId + '/cron_config/');\nconst getTimezonesList = () => httpClient.get('timezones_list');\nconst updateCronConfig = (cronConfigId, data) => httpClient.put(END_POINT + '/cron_config/' + cronConfigId, data);\nconst getOneCronConfig = (cronConfigId) => httpClient.get(END_POINT + '/cron_config/' + cronConfigId);\n\nconst enableOrDisableScope = (scopeId) => httpClient.post(END_POINT + '/enableOrDisableScope/' + scopeId);\n\nexport {\n getAllScopes,\n addScope,\n editScope,\n deleteScope,\n getOneScope,\n usersInScopes,\n getScopeNavCredentials,\n updateScopeNavCredentials,\n checkNavStatus,\n testNavCredentials,\n getScopeLanguages,\n getNavStatusHistory,\n smsLogs,\n monitoringJobs,\n launchJobs,\n getAllowedMobileCountriesPerScope,\n getAllowedMobileCountries,\n addAllowedMobileCountries,\n getCronConfig,\n getTimezonesList,\n updateCronConfig,\n getOneCronConfig,\n getDefaultScopeIdForList,\n enableOrDisableScope\n}\n","import httpClient from './_httpClient';\n\nconst END_POINT = '/roles';\n\nconst getAllRoles = () => httpClient.get(END_POINT);\nconst addPermissionToRole =\n (role, permission) => httpClient.post(END_POINT + '/permissions', {role, permission});\nconst removePermissionFromRole =\n (role, permission) => httpClient.delete(END_POINT + '/permissions', {params: {role, permission}});\n\nexport {\n getAllRoles,\n addPermissionToRole,\n removePermissionFromRole\n}\n"],"sourceRoot":""}