芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/www/cloud.pulsehost.co.uk/adminpanel/js/597.4f6a2f86.js
(globalThis["webpackChunkadmin_panel_vue_webclient"]=globalThis["webpackChunkadmin_panel_vue_webclient"]||[]).push([[597],{6722:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>Ct});s(9665);var a=s(1385),n=s(4409),i=s.n(n),r=s(7214),o=s(9835),l=s(1957),d=s(6970);const u=e=>((0,o.dD)("data-v-400859f8"),e=e(),(0,o.Cn)(),e),p={class:"q-pa-lg"},h={class:"row q-mb-md"},c={key:0,class:"col text-h5"},m={key:1,class:"col text-h5"},E={class:"row q-mb-md"},g={class:"col-2"},N={class:"col-5 text-weight-medium"},T={class:"row q-mb-md"},A=u((()=>(0,o._)("div",{class:"col-2"},null,-1))),_={class:"col-5"},I={key:0,class:"row q-mb-md"},C={class:"col-2"},w={class:"col-5 text-weight-medium"},L={key:1,class:"row q-mb-md"},v={class:"col-2"},R={class:"col-5 text-weight-medium"},b={key:0},f={key:1},D={key:2,class:"row"},j=u((()=>(0,o._)("div",{class:"col-2"},null,-1))),U={class:"col-5"},S={key:3,class:"row q-mt-md"},y=u((()=>(0,o._)("div",{class:"col-2"},null,-1))),M={class:"col-5"},O={key:4,class:"row q-mt-md"},k={class:"col-2 q-mt-sm"},q={class:"col-10"},P={key:0,class:"groups-container"},G={class:"ellipsis"},$={class:"q-pt-md text-right"};function B(e,t,s,a,n,i){const r=(0,o.up)("q-input"),u=(0,o.up)("q-checkbox"),B=(0,o.up)("q-chip"),W=(0,o.up)("q-item-section"),Z=(0,o.up)("q-item"),V=(0,o.up)("q-item-label"),x=(0,o.up)("q-select"),F=(0,o.up)("q-card-section"),z=(0,o.up)("q-card"),Q=(0,o.up)("q-btn"),Y=(0,o.up)("q-linear-progress"),H=(0,o.up)("q-inner-loading"),K=(0,o.up)("q-scroll-area"),J=(0,o.Q2)("t"),X=(0,o.Q2)("close-popup");return(0,o.wg)(),(0,o.j4)(K,{class:"full-height full-width relative-position"},{default:(0,o.w5)((()=>[(0,o._)("div",p,[(0,o._)("div",h,[s.createMode?(0,o.kq)("",!0):(0,o.wy)(((0,o.wg)(),(0,o.iD)("div",c,null,512)),[[J,"COREWEBCLIENT.HEADING_COMMON_SETTINGS"]]),s.createMode?(0,o.wy)(((0,o.wg)(),(0,o.iD)("div",m,null,512)),[[J,"ADMINPANELWEBCLIENT.HEADING_CREATE_USER"]]):(0,o.kq)("",!0)]),(0,o.Wm)(z,{flat:"",bordered:"",class:"card-edit-settings"},{default:(0,o.w5)((()=>[(0,o.Wm)(F,null,{default:(0,o.w5)((()=>[((0,o.wg)(),(0,o.j4)((0,o.LL)(n.mainDataComponent),{ref:"mainDataComponent",currentTenantId:i.currentTenantId,user:n.user,createMode:s.createMode,onSave:i.handleSave},null,40,["currentTenantId","user","createMode","onSave"])),(0,o._)("div",E,[(0,o.wy)((0,o._)("div",g,null,512),[[J,"ADMINPANELWEBCLIENT.LABEL_USER_NOTE"]]),(0,o._)("div",N,[(0,o.Wm)(r,{outlined:"",dense:"","bg-color":"white",autogrow:"",modelValue:n.note,"onUpdate:modelValue":t[0]||(t[0]=e=>n.note=e),onKeyup:(0,l.D2)((0,l.iM)(i.save,["exact"]),["enter"])},null,8,["modelValue","onKeyup"])])]),(0,o._)("div",T,[A,(0,o._)("div",_,[(0,o.Wm)(u,{dense:"",modelValue:n.isDisabled,"onUpdate:modelValue":t[1]||(t[1]=e=>n.isDisabled=e),label:e.$t("ADMINPANELWEBCLIENT.ACTION_DEACTIVATE")},null,8,["modelValue","label"])])]),i.userCreatedAtString?((0,o.wg)(),(0,o.iD)("div",I,[(0,o.wy)((0,o._)("div",C,null,512),[[J,"ADMINPANELWEBCLIENT.LABEL_USER_CREATED"]]),(0,o._)("div",w,[(0,o._)("span",null,(0,d.zw)(i.userCreatedAtString),1)])])):(0,o.kq)("",!0),s.createMode?(0,o.kq)("",!0):((0,o.wg)(),(0,o.iD)("div",L,[(0,o.wy)((0,o._)("div",v,null,512),[[J,"ADMINPANELWEBCLIENT.LABEL_USER_LAST_LOGIN"]]),(0,o._)("div",R,[i.userLastLoginAtString?((0,o.wg)(),(0,o.iD)("span",b,(0,d.zw)(i.userLastLoginAtString),1)):(0,o.wy)(((0,o.wg)(),(0,o.iD)("span",f,null,512)),[[J,"ADMINPANELWEBCLIENT.LABEL_USER_NEVER_LOGIN"]])])])),i.allowMakeTenant?((0,o.wg)(),(0,o.iD)("div",D,[j,(0,o._)("div",U,[(0,o.Wm)(u,{dense:"",modelValue:n.isTenantAdmin,"onUpdate:modelValue":t[2]||(t[2]=e=>n.isTenantAdmin=e),label:e.$t("ADMINPANELWEBCLIENT.LABEL_USER_IS_TENANT_ADMIN")},null,8,["modelValue","label"])])])):(0,o.kq)("",!0),!s.createMode&&i.isUserSuperAdmin?((0,o.wg)(),(0,o.iD)("div",S,[y,(0,o._)("div",M,[(0,o.Wm)(u,{dense:"",modelValue:n.writeSeparateLog,"onUpdate:modelValue":t[3]||(t[3]=e=>n.writeSeparateLog=e),label:e.$t("ADMINPANELWEBCLIENT.LABEL_LOGGING_SEPARATE_LOG_FOR_USER")},null,8,["modelValue","label"])])])):(0,o.kq)("",!0),((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(n.otherDataComponents,(e=>((0,o.wg)(),(0,o.j4)((0,o.LL)(e),{key:e.name,ref_for:!0,ref:"otherDataComponents",currentTenantId:i.currentTenantId,user:n.user,createMode:s.createMode,onSave:i.handleSave},null,40,["currentTenantId","user","createMode","onSave"])))),128)),!s.createMode&&i.allTenantGroups.length>0&&i.isUserSuperAdmin?((0,o.wg)(),(0,o.iD)("div",O,[(0,o.wy)((0,o._)("div",k,null,512),[[J,"ADMINPANELWEBCLIENT.LABEL_USER_GROUPS"]]),(0,o._)("div",q,[(0,o.Wm)(x,{dense:"",outlined:"","bg-color":"white","use-input":"","use-chips":"",multiple:"",modelValue:n.selectedGroupOptions,"onUpdate:modelValue":t[4]||(t[4]=e=>n.selectedGroupOptions=e),options:n.groupOptions,onFilter:i.getGroupOptions},{selected:(0,o.w5)((()=>[n.selectedGroupOptions?((0,o.wg)(),(0,o.iD)("span",P,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(n.selectedGroupOptions,(e=>((0,o.wg)(),(0,o.j4)(B,{flat:"",key:e.value,removable:"",onRemove:t=>i.removeFromSelectedGroups(e.value)},{default:(0,o.w5)((()=>[(0,o._)("div",G,(0,d.zw)(e.label),1)])),_:2},1032,["onRemove"])))),128))])):(0,o.kq)("",!0)])),"no-option":(0,o.w5)((()=>[(0,o.Wm)(Z,null,{default:(0,o.w5)((()=>[(0,o.wy)((0,o.Wm)(W,{class:"text-grey"},null,512),[[J,"ADMINPANELWEBCLIENT.LABEL_GROUPS_NO_OPTIONS"]])])),_:1})])),option:(0,o.w5)((e=>[(0,o.wy)(((0,o.wg)(),(0,o.j4)(Z,(0,o.dG)(e.itemProps,(0,o.mx)(e.itemEvents)),{default:(0,o.w5)((()=>[(0,o.Wm)(W,{class:"non-selectable"},{default:(0,o.w5)((()=>[(0,o.Wm)(V,null,{default:(0,o.w5)((()=>[(0,o.Uk)((0,d.zw)(e.opt.label),1)])),_:2},1024)])),_:2},1024)])),_:2},1040)),[[X]])])),_:1},8,["modelValue","options","onFilter"])])])):(0,o.kq)("",!0)])),_:1})])),_:1}),(0,o._)("div",$,[s.createMode?(0,o.kq)("",!0):((0,o.wg)(),(0,o.j4)(Q,{key:0,unelevated:"","no-caps":"",dense:"",class:"q-px-sm",ripple:!1,color:"negative",onClick:i.deleteUser,label:e.$t("ADMINPANELWEBCLIENT.ACTION_DELETE_USER")},null,8,["onClick","label"])),s.createMode?(0,o.kq)("",!0):((0,o.wg)(),(0,o.j4)(Q,{key:1,unelevated:"","no-caps":"",dense:"",class:"q-px-sm q-ml-sm",ripple:!1,color:"primary",onClick:i.handleSave,label:e.$t("COREWEBCLIENT.ACTION_SAVE")},null,8,["onClick","label"])),s.createMode?((0,o.wg)(),(0,o.j4)(Q,{key:2,unelevated:"","no-caps":"",dense:"",class:"q-px-sm q-ml-sm",ripple:!1,color:"primary",onClick:i.handleSave,label:e.$t("COREWEBCLIENT.ACTION_CREATE")},null,8,["onClick","label"])):(0,o.kq)("",!0),s.createMode?((0,o.wg)(),(0,o.j4)(Q,{key:3,unelevated:"","no-caps":"",dense:"",class:"q-px-sm q-ml-sm",ripple:!1,color:"secondary",onClick:i.cancel,label:e.$t("COREWEBCLIENT.ACTION_CANCEL")},null,8,["onClick","label"])):(0,o.kq)("",!0)])]),(0,o.Wm)(H,{style:{"justify-content":"flex-start"},showing:n.loading||i.deleting||n.saving},{default:(0,o.w5)((()=>[(0,o.Wm)(Y,{query:""})])),_:1},8,["showing"])])),_:1})}var W=s(9336),Z=s(1427),V=s(4089),x=s(2456),F=s(9706),z=s(1088),Q=s(3878),Y=s.n(Q),H=s(7064);let K={};const J={name:"EditUser",props:{deletingIds:Array,createMode:Boolean},data(){return{mainDataComponent:null,otherDataComponents:[],user:null,publicId:"",isDisabled:!1,isTenantAdmin:!1,writeSeparateLog:!1,note:"",selectedGroupOptions:[],groupOptions:[],loading:!1,saving:!1}},computed:{createModeForEditUser(){const e=this.$route.path.indexOf("/create");return-1!==e&&e===this.$route.path.length-7},userCreatedAtString(){return this.user?.completeData?.CreatedAt?Y()(this.user?.completeData?.CreatedAt).format("L HH:mm"):null},userLastLoginAtString(){return this.user?.completeData?.LastLogin?Y()(this.user?.completeData?.LastLogin).format("L HH:mm"):null},currentTenantId(){return this.$store.getters["tenants/getCurrentTenantId"]},allTenantGroups(){const e=this.$store.getters["groups/getGroups"],t=V.Z.pArray(e[this.currentTenantId]);return t.filter((e=>!e.isTeam))},deleting(){return-1!==this.deletingIds.indexOf(this.user?.id)},isUserSuperAdmin(){const e=this.$store.getters["user/isUserSuperAdmin"];return e},allowMakeTenant(){const e=this.$store.getters["user/isUserSuperAdmin"];return e&&(z.Z.getEnableMultiTenant()||!0)}},watch:{$route(){this.parseRoute()},"user.groups"(){i().isArray(this.user.groups)&&(this.selectedGroupOptions=this.user.groups.map((e=>({label:e.name,value:e.id}))))}},beforeRouteLeave(e,t,s){this.$root.doBeforeRouteLeave(e,t,s)},beforeRouteUpdate(e,t,s){this.$root.doBeforeRouteLeave(e,t,s)},mounted(){K=a.Z.getUserRoles(),this.getUserMainDataComponent(),this.getUserOtherDataComponents(),this.loading=!1,this.saving=!1,this.parseRoute()},methods:{async getUserMainDataComponent(){this.mainDataComponent=await r.Z.getUserMainDataComponent()},async getUserOtherDataComponents(){this.otherDataComponents=await r.Z.getUserOtherDataComponents()},parseRoute(){if("/users"!==this.$route.path&&"/users/"!==this.$route.path)if(this.createMode||this.createModeForEditUser){const e=new H.Z(this.currentTenantId,{});this.fillUp(e)}else{const e=V.Z.pPositiveInt(this.$route?.params?.id);this.user?.id!==e&&(this.user={id:e},this.populate(),this.getUserMainDataComponent())}},clear(){this.publicId="",this.isDisabled=!1,this.isTenantAdmin=!1,this.writeSeparateLog=!1,this.note=""},fillUp(e){this.user=e,this.publicId=e.publicId,this.isDisabled=e.disabled,this.isTenantAdmin=e.role===K.TenantAdmin,this.writeSeparateLog=e.writeSeparateLog,this.note=e.note,this.selectedGroupOptions=e.groups.map((e=>({label:e.name,value:e.id})))},populate(){this.clear(),this.loading=!0,F.Z.getUser(this.currentTenantId,this.user.id).then((({user:e,userId:t})=>{t===this.user.id&&(this.loading=!1,e?this.fillUp(e):this.$emit("no-user-found"))}))},getGroupOptions(e,t,s){const a=e.toLowerCase(),n=this.selectedGroupOptions.map((e=>e.value));let i=this.allTenantGroups.filter((e=>-1===n.indexOf(e.id)));""!==a&&(i=i.filter((e=>-1!==e.name.toLowerCase().indexOf(a)))),t((()=>{this.groupOptions=i.map((e=>({label:e.name,value:e.id}))).slice(0,100)}))},removeFromSelectedGroups(e){this.selectedGroupOptions=this.selectedGroupOptions.filter((t=>t.value!==e))},hasChanges(){if(this.loading)return!1;const e=!!i().isFunction(this.$refs?.mainDataComponent?.hasChanges)&&this.$refs.mainDataComponent.hasChanges(),t=()=>!!Array.isArray(this.$refs?.otherDataComponents)&&this.$refs.otherDataComponents.some((e=>"function"===typeof e.hasChanges&&e.hasChanges()));return e||t()||this.isDisabled!==this.user?.disabled||this.isTenantAdmin!==(this.user?.role===K.TenantAdmin)||this.writeSeparateLog!==this.user?.writeSeparateLog||this.note!==this.user?.note||this.hasGroupChanges()},hasGroupChanges(){const e=this.selectedGroupOptions.map((e=>e.value)).sort(),t=(this.user.groups||[]).map((e=>e.id)).sort();return!i().isEqual(e,t)},revertChanges(){i().isFunction(this.$refs?.mainDataComponent?.revertChanges)&&this.$refs.mainDataComponent.revertChanges(),i().isFunction(this.$refs?.otherDataComponents?.forEach)&&this.$refs.otherDataComponents.forEach((e=>{i().isFunction(e.revertChanges)&&e.revertChanges()})),this.isDisabled=this.user?.disabled,this.isTenantAdmin=this.user?.role===K.TenantAdmin,this.writeSeparateLog=this.user?.writeSeparateLog,this.note=this.user?.note},isDataValid(){const e=!i().isFunction(this.$refs?.mainDataComponent?.isDataValid)||this.$refs.mainDataComponent.isDataValid(),t=()=>!Array.isArray(this.$refs?.otherDataComponents)||this.$refs.otherDataComponents.every((e=>!i().isFunction(e.isDataValid)||e.isDataValid()));return e&&t()},isUserEmailValid(){const e=this.$refs.mainDataComponent.getSaveParameters(),t=e.PublicId,s=t.slice(0,t.lastIndexOf("@")),a=/[@\s]/;return!a.test(s)&&s.length},handleSave(){this.isUserEmailValid()?this.save():Z.Z.showError(this.$t("ADMINPANELWEBCLIENT.ERROR_INVALID_EMAIL_USERNAME_PART"))},save(){if(!this.saving&&this.isDataValid()){this.saving=!0;const e=i().isFunction(this.$refs?.mainDataComponent?.getSaveParameters)?this.$refs.mainDataComponent.getSaveParameters():{},t=this.$store.getters["user/isUserSuperAdmin"];let s=i().extend({UserId:this.user.id,TenantId:this.user.tenantId,Role:t&&this.isTenantAdmin?K.TenantAdmin:K.NormalUser,IsDisabled:this.isDisabled,WriteSeparateLog:this.writeSeparateLog,Note:this.note,Forced:!0,GroupIds:t?this.selectedGroupOptions.map((e=>e.value)):null},e);i().isFunction(this.$refs?.otherDataComponents?.forEach)&&this.$refs.otherDataComponents.forEach((e=>{const t=i().isFunction(e.getSaveParameters)?e.getSaveParameters():{};s=i().extend(s,t)})),x.Z.sendRequest({moduleName:"Core",methodName:this.createMode?"CreateUser":"UpdateUser",parameters:s}).then((e=>{this.saving=!1,this.createMode?this.handleCreateResult(e,s):this.handleUpdateResult(e,s)}),(e=>{this.saving=!1;const t=this.createMode?"ERROR_CREATE_ENTITY_USER":"ERROR_UPDATE_ENTITY_USER";Z.Z.showError(W.Z.getTextFromResponse(e,this.$t("ADMINPANELWEBCLIENT."+t)))}))}},handleCreateResult(e,t){i().isSafeInteger(e)?(Z.Z.showReport(this.$t("ADMINPANELWEBCLIENT.REPORT_CREATE_ENTITY_USER")),this.user.update(t),this.$emit("user-created",e)):Z.Z.showError(this.$t("ADMINPANELWEBCLIENT.ERROR_CREATE_ENTITY_USER"))},handleUpdateResult(e,t){!0===e?(F.Z.getUser(t.TenantId,t.UserId).then((({user:e})=>{e.update(t,this.allTenantGroups),this.populate(),this.$emit("user-updated",e.Id)})),Z.Z.showReport(this.$t("ADMINPANELWEBCLIENT.REPORT_UPDATE_ENTITY_USER"))):Z.Z.showError(this.$t("ADMINPANELWEBCLIENT.ERROR_UPDATE_ENTITY_USER"))},cancel(){this.revertChanges(),this.$emit("cancel-create")},deleteUser(){this.$emit("delete-user",this.user.id)}}};var X=s(1639),ee=s(6663),te=s(4458),se=s(3190),ae=s(6611),ne=s(6937),ie=s(8401),re=s(7691),oe=s(490),le=s(1233),de=s(3115),ue=s(8879),pe=s(854),he=s(8289),ce=s(2146),me=s(9984),Ee=s.n(me);const ge=(0,X.Z)(J,[["render",B],["__scopeId","data-v-400859f8"]]),Ne=ge;function Te(e,t,s,a,n,i){return(0,o.wg)(),(0,o.iD)("div")}Ee()(J,"components",{QScrollArea:ee.Z,QCard:te.Z,QCardSection:se.Z,QInput:ae.Z,QCheckbox:ne.Z,QSelect:ie.Z,QChip:re.Z,QItem:oe.Z,QItemSection:le.Z,QItemLabel:de.Z,QBtn:ue.Z,QInnerLoading:pe.Z,QLinearProgress:he.Z}),Ee()(J,"directives",{ClosePopup:ce.Z});const Ae={name:"Empty"},_e=(0,X.Z)(Ae,[["render",Te]]),Ie=_e,Ce={getAllUserRoutes(){let e=this.getUserRoutes();const t=this.getRouteChildren("User"),s=this.getUserFiltersRoutes(t);return s.forEach((s=>{const a=this.getUserRoutes(`${s.path}/`);e=e.concat(a),t.forEach((t=>{e.push({path:`${s.path}/${t.path}`,component:t.component})}))})),e=e.concat(t,s),e},getRouteChildren(e){const t=r.Z.getAdminEntityTabs(`getAdmin${e}Tabs`);let s=[];return t.forEach((e=>{i().isArray(e.tabRouteChildren)&&(s=s.concat(e.tabRouteChildren))})),s},getUserRoutes(e=""){const t=[{path:e+"create",component:Ne},{path:e+"id/:id",component:Ne},{path:e+"search/:search",component:Ie},{path:e+"search/:search/id/:id",component:Ne},{path:e+"page/:page",component:Ie},{path:e+"page/:page/id/:id",component:Ne},{path:e+"search/:search/page/:page",component:Ie},{path:e+"search/:search/page/:page/id/:id",component:Ne}];return""===e&&t.push({path:"create",component:Ne}),t},getUserFiltersRoutes(){const e=r.Z.getFiltersForUsers(),t=[];return e.forEach((e=>{t.push({path:e.filterRoute,component:Ie})})),e.length>1&&e.forEach((s=>{e.forEach((e=>{if(s.filterRoute!==e.filterRoute){const a=`${s.filterRoute}/${e.filterRoute}`;t.push({path:a,component:Ie})}}))})),t}};var we=s(8936);function Le(e,t){const s=localStorage.getItem(e);s&&(localStorage.removeItem(e),t&&localStorage.setItem(t,s))}function ve(){const e=[{old:"groups-list-splitter-width",new:"aurora_admin_groups_splitter-width"},{old:"system-splitter-width",new:"aurora_admin_system_splitter-width"},{old:"tenants-list-splitter-width",new:"aurora_admin_tenants_splitter-width"},{old:"tenants-tabs-splitter-width",new:"aurora_admin_tenants_tabs_splitter-width"},{old:"users-list-splitter-width",new:"aurora_admin_users_splitter-width"},{old:"users-tabs-splitter-width",new:"aurora_admin_users_tabs_splitter-width"},{old:"domains-list-splitter-width",new:"aurora_admin_domains_splitter-width"},{old:"domains-tabs-splitter-width",new:"aurora_admin_domains_tabs_splitter-width"},{old:"mailing-lists-list-splitter-width",new:"aurora_admin_mailing_lists_splitter-width"},{old:"adminpanelResizerWidth",new:""}];e.forEach((e=>{Le(e.old,e.new)}))}const Re={class:"q-pa-lg"},be={class:"row q-mb-md"},fe={key:0,class:"col text-h5"},De={key:1,class:"col text-h5"},je={class:"row q-mb-md"},Ue={class:"col-2 q-mt-sm"},Se={key:0,class:"col-5"},ye={key:1,class:"col-5 q-mt-sm"},Me={class:"row q-mb-md"},Oe={class:"col-2 q-mt-sm"},ke={class:"col-5"},qe={class:"row q-mb-md"},Pe={class:"col-2 q-mt-sm"},Ge={class:"col-5"},$e={class:"row"},Be={class:"col-2 q-mt-sm"},We={class:"col-5"},Ze={class:"q-py-md text-right"};function Ve(e,t,s,a,n,i){const r=(0,o.up)("q-input"),l=(0,o.up)("q-card-section"),u=(0,o.up)("q-card"),p=(0,o.up)("q-btn"),h=(0,o.up)("q-linear-progress"),c=(0,o.up)("q-inner-loading"),m=(0,o.up)("q-scroll-area"),E=(0,o.Q2)("t");return(0,o.wg)(),(0,o.j4)(m,{class:"full-height full-width relative-position"},{default:(0,o.w5)((()=>[(0,o._)("div",Re,[(0,o._)("div",be,[i.createMode?(0,o.kq)("",!0):(0,o.wy)(((0,o.wg)(),(0,o.iD)("div",fe,null,512)),[[E,"COREWEBCLIENT.HEADING_COMMON_SETTINGS"]]),i.createMode?(0,o.wy)(((0,o.wg)(),(0,o.iD)("div",De,null,512)),[[E,"ADMINPANELWEBCLIENT.HEADING_CREATE_TENANT"]]):(0,o.kq)("",!0)]),(0,o.Wm)(u,{flat:"",bordered:"",class:"card-edit-settings"},{default:(0,o.w5)((()=>[(0,o.Wm)(l,null,{default:(0,o.w5)((()=>[(0,o._)("div",je,[(0,o.wy)((0,o._)("div",Ue,null,512),[[E,"ADMINPANELWEBCLIENT.LABEL_PRODUCT_NAME"]]),i.createMode?((0,o.wg)(),(0,o.iD)("div",Se,[(0,o.Wm)(r,{outlined:"",dense:"","bg-color":"white",modelValue:n.tenantName,"onUpdate:modelValue":t[0]||(t[0]=e=>n.tenantName=e)},null,8,["modelValue"])])):(0,o.kq)("",!0),i.createMode?(0,o.kq)("",!0):((0,o.wg)(),(0,o.iD)("div",ye,(0,d.zw)(n.tenantName),1))]),(0,o._)("div",Me,[(0,o.wy)((0,o._)("div",Oe,null,512),[[E,"ADMINPANELWEBCLIENT.LABEL_DESCRIPTION"]]),(0,o._)("div",ke,[(0,o.Wm)(r,{outlined:"",dense:"","bg-color":"white",modelValue:n.description,"onUpdate:modelValue":t[1]||(t[1]=e=>n.description=e)},null,8,["modelValue"])])]),(0,o._)("div",qe,[(0,o.wy)((0,o._)("div",Pe,null,512),[[E,"ADMINPANELWEBCLIENT.LABEL_WEB_DOMAIN"]]),(0,o._)("div",Ge,[(0,o.Wm)(r,{outlined:"",dense:"","bg-color":"white",modelValue:n.webDomain,"onUpdate:modelValue":t[2]||(t[2]=e=>n.webDomain=e)},null,8,["modelValue"])])]),(0,o._)("div",$e,[(0,o.wy)((0,o._)("div",Be,null,512),[[E,"COREWEBCLIENT.LABEL_SITENAME"]]),(0,o._)("div",We,[(0,o.Wm)(r,{outlined:"",dense:"","bg-color":"white",modelValue:n.tenantSiteName,"onUpdate:modelValue":t[3]||(t[3]=e=>n.tenantSiteName=e)},null,8,["modelValue"])])]),((0,o.wg)(),(0,o.j4)((0,o.LL)(n.otherDataComponents),{onUpdateParent:i.getTenantData},null,40,["onUpdateParent"]))])),_:1})])),_:1}),(0,o._)("div",Ze,[!i.createMode&&i.isUserSuperAdmin?((0,o.wg)(),(0,o.j4)(p,{key:0,unelevated:"","no-caps":"",dense:"",class:"q-px-sm",ripple:!1,color:"negative",onClick:i.deleteTenant,label:e.$t("ADMINPANELWEBCLIENT.ACTION_DELETE_TENANT")},null,8,["onClick","label"])):(0,o.kq)("",!0),i.createMode?(0,o.kq)("",!0):((0,o.wg)(),(0,o.j4)(p,{key:1,unelevated:"","no-caps":"",dense:"",class:"q-px-sm q-ml-sm",ripple:!1,color:"primary",onClick:i.save,label:e.$t("COREWEBCLIENT.ACTION_SAVE")},null,8,["onClick","label"])),i.createMode?((0,o.wg)(),(0,o.j4)(p,{key:2,unelevated:"","no-caps":"",dense:"",class:"q-px-sm q-ml-sm",ripple:!1,color:"primary",onClick:i.save,label:e.$t("COREWEBCLIENT.ACTION_CREATE")},null,8,["onClick","label"])):(0,o.kq)("",!0),i.createMode?((0,o.wg)(),(0,o.j4)(p,{key:3,unelevated:"","no-caps":"",dense:"",class:"q-px-sm q-ml-sm",ripple:!1,color:"secondary",onClick:i.cancel,label:e.$t("COREWEBCLIENT.ACTION_CANCEL")},null,8,["onClick","label"])):(0,o.kq)("",!0)])]),(0,o.Wm)(c,{style:{"justify-content":"flex-start"},showing:n.loading||i.deleting||n.saving},{default:(0,o.w5)((()=>[(0,o.Wm)(h,{query:""})])),_:1},8,["showing"])])),_:1})}var xe=s(3907);const Fe={name:"EditTenant",props:{deletingIds:Array},data(){return{tenant:null,tenantId:0,tenantName:"",tenantSiteName:"",description:"",webDomain:"",saving:!1,loading:!1,otherDataComponents:null,enableBusinessTenant:!1,enableGroupWare:!1}},computed:{currentTenantId(){return this.$store.getters["tenants/getCurrentTenantId"]},createMode(){return 0===this.tenant?.id},deleting(){return-1!==this.deletingIds.indexOf(this.tenant?.id)},isUserSuperAdmin(){return this.$store.getters["user/isUserSuperAdmin"]}},beforeRouteLeave(e,t,s){this.$root.doBeforeRouteLeave(e,t,s)},beforeRouteUpdate(e,t,s){this.$root.doBeforeRouteLeave(e,t,s)},async mounted(){this.loading=!1,this.saving=!1,this.parseRoute(),this.otherDataComponents=await r.Z.getTenantOtherDataComponents()},watch:{$route(){this.parseRoute()},"$store.state.tenants.tenants":{handler:function(){this.populate()},deep:!0}},methods:{getTenantData(e){this.enableBusinessTenant=e.enableBusinessTenant,this.enableGroupWare=e.enableGroupWare},parseRoute(){if("/tenants/create"===this.$route.path){const e=new xe.Z;this.fillUp(e)}else{const e=V.Z.pPositiveInt(this.$route?.params?.id);this.tenant?.id!==e&&(this.tenant={id:e},this.populate())}},populate(){this.$store.dispatch("tenants/completeTenantData",this.tenant.id);const e=this.$store.getters["tenants/getTenant"](this.tenant.id);e&&(this.fillUp(e),this.loading=void 0===e.completeData.Description)},fillUp(e){this.tenant=e,this.tenantId=e.id,this.tenantName=e.name,this.tenantSiteName=e.siteName,this.description=e.completeData?.Description,this.webDomain=e.completeData?.WebDomain},hasChanges(){return!this.loading&&(this.tenant?.name!==this.tenantName||this.tenant?.siteName!==this.tenantSiteName||this.tenant?.completeData?.Description!==this.description||this.tenant?.completeData?.WebDomain!==this.webDomain)},revertChanges(){this.fillUp(this.tenant)},cancel(){this.revertChanges(),this.$emit("cancel-create")},isValid(){return""===this.tenantName?(Z.Z.showError(this.$t("ADMINPANELWEBCLIENT.ERROR_TENANT_NAME_EMPTY")),!1):!/[\\/:*?"<>|]/gi.test(this.tenantName)||(Z.Z.showError(this.$t("ADMINPANELWEBCLIENT.ERROR_TENANT_NAME_INVALID")),!1)},save(){if(!this.saving&&this.isValid()){this.saving=!0;const e={Name:this.tenantName,Description:this.description,WebDomain:this.webDomain,SiteName:this.tenantSiteName,"CoreUserGroupsLimits::IsBusiness":this.enableBusinessTenant,"CoreUserGroupsLimits::EnableGroupware":this.enableGroupWare},t=this.createMode;t||(e.TenantId=this.currentTenantId),x.Z.sendRequest({moduleName:"Core",methodName:t?"CreateTenant":"UpdateTenant",parameters:e}).then((s=>{t?this.handleCreateResult(s,e):this.handleUpdateResult(s,e),this.saving=!1}),(e=>{this.saving=!1;const s=t?"ERROR_CREATE_ENTITY_TENANT":"ERROR_UPDATE_ENTITY_TENANT";Z.Z.showError(W.Z.getTextFromResponse(e,this.$t("ADMINPANELWEBCLIENT."+s)))}))}},handleCreateResult(e){i().isSafeInteger(e)?(Z.Z.showReport(this.$t("ADMINPANELWEBCLIENT.REPORT_CREATE_ENTITY_TENANT")),this.loading=!1,this.revertChanges(),this.$emit("tenant-created",e)):Z.Z.showError(this.$t("ADMINPANELWEBCLIENT.ERROR_CREATE_ENTITY_TENANT"))},handleUpdateResult(e,t){!0===e?(this.$store.commit("tenants/updateTenant",{id:this.tenantId,data:t}),Z.Z.showReport(this.$t("ADMINPANELWEBCLIENT.REPORT_UPDATE_ENTITY_TENANT"))):Z.Z.showError(this.$t("ADMINPANELWEBCLIENT.ERROR_UPDATE_ENTITY_TENANT"))},deleteTenant(){this.$emit("delete-tenant",this.tenant.id)}}},ze=(0,X.Z)(Fe,[["render",Ve]]),Qe=ze;Ee()(Fe,"components",{QScrollArea:ee.Z,QCard:te.Z,QCardSection:se.Z,QInput:ae.Z,QBtn:ue.Z,QInnerLoading:pe.Z,QLinearProgress:he.Z});const Ye=e=>((0,o.dD)("data-v-b7b5ee0c"),e=e(),(0,o.Cn)(),e),He={class:"q-pa-lg"},Ke={class:"row q-mb-md"},Je={key:0,class:"col text-h5"},Xe={key:1,class:"col text-h5"},et={key:0,class:"row q-mb-md"},tt={class:"col-7 q-mt-sm"},st={class:"row q-mb-md"},at={class:"col-2 q-mt-sm"},nt={class:"col-5"},it={key:1,class:"row q-mb-md"},rt=Ye((()=>(0,o._)("div",{class:"col-2 q-mt-sm"},null,-1))),ot={class:"col-5"},lt={class:"q-py-md text-right"};function dt(e,t,s,a,n,i){const r=(0,o.up)("q-item-label"),d=(0,o.up)("q-input"),u=(0,o.up)("q-card-section"),p=(0,o.up)("q-card"),h=(0,o.up)("q-btn"),c=(0,o.up)("q-linear-progress"),m=(0,o.up)("q-inner-loading"),E=(0,o.up)("q-scroll-area"),g=(0,o.Q2)("t");return(0,o.wg)(),(0,o.j4)(E,{class:"full-height full-width relative-position"},{default:(0,o.w5)((()=>[(0,o._)("div",He,[(0,o._)("div",Ke,[i.createMode?(0,o.kq)("",!0):(0,o.wy)(((0,o.wg)(),(0,o.iD)("div",Je,null,512)),[[g,"COREWEBCLIENT.HEADING_COMMON_SETTINGS"]]),i.createMode?(0,o.wy)(((0,o.wg)(),(0,o.iD)("div",Xe,null,512)),[[g,"ADMINPANELWEBCLIENT.HEADING_CREATE_GROUP"]]):(0,o.kq)("",!0)]),(0,o.Wm)(p,{flat:"",bordered:"",class:"card-edit-settings"},{default:(0,o.w5)((()=>[(0,o.Wm)(u,null,{default:(0,o.w5)((()=>[n.isTeamGroup?((0,o.wg)(),(0,o.iD)("div",et,[(0,o._)("div",tt,[n.enableMultiTenant?(0,o.wy)(((0,o.wg)(),(0,o.j4)(r,{key:0,caption:""},null,512)),[[g,"ADMINPANELWEBCLIENT.INFO_TEAM_GROUP_IN_TENANT"]]):(0,o.wy)(((0,o.wg)(),(0,o.j4)(r,{key:1,caption:""},null,512)),[[g,"ADMINPANELWEBCLIENT.INFO_TEAM_GROUP_IN_SYSTEM"]])])])):(0,o.kq)("",!0),(0,o._)("div",st,[(0,o.wy)((0,o._)("div",at,null,512),[[g,"ADMINPANELWEBCLIENT.LABEL_GROUP_NAME"]]),(0,o._)("div",nt,[(0,o.Wm)(d,{outlined:"",dense:"","bg-color":"white",modelValue:n.groupName,"onUpdate:modelValue":t[0]||(t[0]=e=>n.groupName=e),disable:n.isTeamGroup,onKeyup:(0,l.D2)(i.save,["enter"])},null,8,["modelValue","disable","onKeyup"])])]),i.createMode?(0,o.kq)("",!0):((0,o.wg)(),(0,o.iD)("div",it,[rt,(0,o._)("div",ot,[(0,o.wy)((0,o._)("a",{href:"javascript:void(0)",onClick:t[1]||(t[1]=(...e)=>i.showGroupUsers&&i.showGroupUsers(...e))},null,512),[[g,"ADMINPANELWEBCLIENT.ACTION_SHOW_GROUP_USERS"]])])]))])),_:1})])),_:1}),(0,o._)("div",lt,[i.createMode||n.isTeamGroup?(0,o.kq)("",!0):((0,o.wg)(),(0,o.j4)(h,{key:0,unelevated:"","no-caps":"",dense:"",class:"q-px-sm",ripple:!1,color:"negative",onClick:i.deleteGroup,label:e.$t("ADMINPANELWEBCLIENT.ACTION_DELETE_GROUP")},null,8,["onClick","label"])),i.createMode||n.isTeamGroup?(0,o.kq)("",!0):((0,o.wg)(),(0,o.j4)(h,{key:1,unelevated:"","no-caps":"",dense:"",class:"q-px-sm q-ml-sm",ripple:!1,color:"primary",onClick:i.save,label:e.$t("COREWEBCLIENT.ACTION_SAVE")},null,8,["onClick","label"])),i.createMode?((0,o.wg)(),(0,o.j4)(h,{key:2,unelevated:"","no-caps":"",dense:"",class:"q-px-sm q-ml-sm",ripple:!1,color:"primary",onClick:i.save,label:e.$t("COREWEBCLIENT.ACTION_CREATE")},null,8,["onClick","label"])):(0,o.kq)("",!0),i.createMode?((0,o.wg)(),(0,o.j4)(h,{key:3,unelevated:"","no-caps":"",dense:"",class:"q-px-sm q-ml-sm",ripple:!1,color:"secondary",onClick:i.cancel,label:e.$t("COREWEBCLIENT.ACTION_CANCEL")},null,8,["onClick","label"])):(0,o.kq)("",!0)])]),(0,o.Wm)(m,{style:{"justify-content":"flex-start"},showing:n.loading||i.deleting||n.saving},{default:(0,o.w5)((()=>[(0,o.Wm)(c,{query:""})])),_:1},8,["showing"])])),_:1})}var ut=s(4406);const pt={name:"EditGroup",props:{deletingIds:Array},data(){return{enableMultiTenant:z.Z.getEnableMultiTenant(),group:null,groupId:0,groupName:"",isTeamGroup:!1,saving:!1,loading:!1}},computed:{currentTenantId(){return this.$store.getters["tenants/getCurrentTenantId"]},allGroups(){return this.$store.getters["groups/getGroups"]},createMode(){return 0===this.group?.id},deleting(){return-1!==this.deletingIds.indexOf(this.group?.id)}},beforeRouteLeave(e,t,s){this.$root.doBeforeRouteLeave(e,t,s)},beforeRouteUpdate(e,t,s){this.$root.doBeforeRouteLeave(e,t,s)},async mounted(){this.loading=!1,this.saving=!1,this.parseRoute()},watch:{$route(){this.parseRoute()},allGroups(){this.populate()}},methods:{parseRoute(){if("/groups/create"===this.$route.path){const e=new ut.Z({TenantId:this.currentTenantId});this.fillUp(e)}else{const e=V.Z.pPositiveInt(this.$route?.params?.id);this.group?.id!==e&&(this.group={id:e},this.populate())}},populate(){const e=this.$store.getters["groups/getGroup"](this.currentTenantId,this.group.id);e&&this.fillUp(e)},fillUp(e){this.group=e,this.groupId=e.id,this.groupName=e.name,this.isTeamGroup=e.isTeam},cancel(){this.revertChanges(),this.$emit("cancel-create")},hasChanges(){return!this.loading&&this.group?.name!==this.groupName},revertChanges(){this.groupName=this.group?.name},isValid(){return""!==i().trim(this.groupName)||(Z.Z.showError(this.$t("ADMINPANELWEBCLIENT.ERROR_GROUP_NAME_EMPTY")),!1)},getSaveParameters(){const e={Name:this.groupName,TenantId:this.group.tenantId};return this.createMode||(e.GroupId=this.group.id),e},save(){if(this.isTeamGroup||this.saving||!this.isValid())return;this.saving=!0;const e=this.createMode,t=this.getSaveParameters();x.Z.sendRequest({moduleName:"Core",methodName:e?"CreateGroup":"UpdateGroup",parameters:t}).then((s=>{this.saving=!1,e?this.handleCreateResult(s,t):this.handleUpdateResult(s,t)}),(t=>{this.saving=!1;const s=e?"ERROR_CREATE_ENTITY_GROUP":"ERROR_UPDATE_ENTITY_GROUP";Z.Z.showError(W.Z.getTextFromResponse(t,this.$t("ADMINPANELWEBCLIENT."+s)))}))},handleCreateResult(e){i().isSafeInteger(e)?(Z.Z.showReport(this.$t("ADMINPANELWEBCLIENT.REPORT_CREATE_ENTITY_GROUP")),this.loading=!1,this.revertChanges(),this.$emit("group-created",e)):Z.Z.showError(this.$t("ADMINPANELWEBCLIENT.ERROR_CREATE_ENTITY_GROUP"))},handleUpdateResult(e,t){!0===e?(this.$store.commit("groups/updateGroup",{tenantId:this.currentTenantId,id:this.groupId,data:t}),this.populate(),Z.Z.showReport(this.$t("ADMINPANELWEBCLIENT.REPORT_UPDATE_ENTITY_GROUP"))):Z.Z.showError(this.$t("ADMINPANELWEBCLIENT.ERROR_UPDATE_ENTITY_GROUP"))},deleteGroup(){this.$emit("delete-group",this.group.id)},showGroupUsers(){this.$router.push(`/users/group/${this.group.id}`)}}},ht=(0,X.Z)(pt,[["render",dt],["__scopeId","data-v-b7b5ee0c"]]),ct=ht;Ee()(pt,"components",{QScrollArea:ee.Z,QCard:te.Z,QCardSection:se.Z,QItemLabel:de.Z,QInput:ae.Z,QBtn:ue.Z,QInnerLoading:pe.Z,QLinearProgress:he.Z});const mt={key:0},Et={class:"ellipsis",style:{"max-width":"250px"}};function gt(e,t,s,a,n,i){const r=(0,o.up)("team-group-icon"),l=(0,o.up)("q-item-label"),u=(0,o.up)("q-item-section"),p=(0,o.up)("q-item"),h=(0,o.up)("q-select"),c=(0,o.Q2)("close-popup");return n.filterOptions.length>0?((0,o.wg)(),(0,o.iD)("div",mt,[(0,o.Wm)(h,{outlined:"",dense:"",class:"bg-white",modelValue:n.currentFilter,"onUpdate:modelValue":t[0]||(t[0]=e=>n.currentFilter=e),options:n.filterOptions},{selected:(0,o.w5)((()=>[(0,o._)("div",Et,(0,d.zw)(n.currentFilter.label),1)])),option:(0,o.w5)((e=>[(0,o.wy)(((0,o.wg)(),(0,o.j4)(p,(0,o.dG)(e.itemProps,(0,o.mx)(e.itemEvents)),{default:(0,o.w5)((()=>[(0,o.Wm)(u,{class:"non-selectable"},{default:(0,o.w5)((()=>[(0,o.Wm)(l,null,{default:(0,o.w5)((()=>[(0,o._)("span",null,(0,d.zw)(e.opt.label),1),e.opt.isTeam?((0,o.wg)(),(0,o.j4)(r,{key:0,class:"on-right vertical-bottom",size:18})):(0,o.kq)("",!0)])),_:2},1024)])),_:2},1024)])),_:2},1040)),[[c]])])),_:1},8,["modelValue","options"])])):(0,o.kq)("",!0)}s(6890);var Nt=s(4598);const Tt={name:"GroupFilterForUsers",filterRoute:"group/:group",data(){return{allowGroups:z.Z.getAllowGroups(),filterOptions:[],filterValue:null,currentFilter:null}},components:{TeamGroupIcon:Nt.Z},computed:{currentTenantId(){return this.$store.getters["tenants/getCurrentTenantId"]},visible(){return this.filterOptions.length>0},allGroupLists(){return this.$store.getters["groups/getGroups"]},groups(){return V.Z.pArray(this.allGroupLists[this.currentTenantId])}},watch:{$route(e,t){this.fillUpFilterValue(),this.currentFilter=this.findCurrentFilter()},filterOptions(){this.fillUpFilterValue(),this.currentFilter=this.findCurrentFilter()},currentTenantId(){this.requestGroups()},currentFilter(e){this.selectFilter(e.value)},groups(){this.fillUpFilterOptions()}},mounted(){this.fillUpFilterOptions(),this.requestGroups()},methods:{requestGroups(){this.allowGroups&&this.$store.dispatch("groups/requestGroups",{tenantId:this.currentTenantId})},fillUpFilterOptions(){const e=this.groups.map((e=>({label:e.name,value:e.id,isTeam:e.isTeam})));e.length>0&&(e.unshift({label:this.$t("ADMINPANELWEBCLIENT.LABEL_ALL_GROUPS"),value:-1,isTeam:!1}),e.push({label:this.$t("ADMINPANELWEBCLIENT.LABEL_NOT_IN_ANY_GROUP"),value:0,isTeam:!1})),this.filterOptions=e,this.currentFilter=this.findCurrentFilter()},findCurrentFilter(){if(this.filterOptions.length){const e=this.filterOptions.find((e=>e.value===this.filterValue));return e||this.filterOptions[0]}return""},fillUpFilterValue(){this.filterValue=V.Z.pInt(this.$route?.params?.group,-1),this.$emit("filter-filled-up",{GroupId:this.filterValue})},selectFilter(e){-1===e?this.$emit("filter-selected",{routeName:"group"}):this.$emit("filter-selected",{routeName:"group",routeValue:e})}}},At=(0,X.Z)(Tt,[["render",gt]]),_t=At;Ee()(Tt,"components",{QSelect:ie.Z,QItem:oe.Z,QItemSection:le.Z,QItemLabel:de.Z}),Ee()(Tt,"directives",{ClosePopup:ce.Z});const It=a.Z.getUserRoles(),Ct={moduleName:"AdminPanelWebclient",requiredModules:[],init(e){ve(),z.Z.init(e);const t=z.Z?.getCommonSettingData()?.siteName;t&&(document.title=t)},getRoutes(){const e=[{name:"login",path:"/",component:()=>Promise.all([s.e(4736),s.e(1317)]).then(s.bind(s,1317)),pageUserRoles:[It.Anonymous]},{name:"system",path:"/system",component:()=>Promise.all([s.e(4736),s.e(3064),s.e(5066)]).then(s.bind(s,1297)),children:Ce.getRouteChildren("System"),pageUserRoles:[It.SuperAdmin],pageTitle:"ADMINPANELWEBCLIENT.HEADING_SYSTEM_SETTINGS_TABNAME"}];return z.Z.getAllowGroups()&&e.push({name:"groups",path:"/groups",component:()=>Promise.all([s.e(4736),s.e(3064),s.e(4182)]).then(s.bind(s,8815)),children:[{path:"id/:id",component:ct},{path:"create",component:ct},{path:"search/:search",component:Ie},{path:"search/:search/id/:id",component:ct},{path:"page/:page",component:Ie},{path:"page/:page/id/:id",component:ct},{path:"search/:search/page/:page",component:Ie},{path:"search/:search/page/:page/id/:id",component:ct}],pageUserRoles:[It.SuperAdmin],pageTitle:"ADMINPANELWEBCLIENT.HEADING_GROUPS_SETTINGS_TABNAME"}),e},getUserRoutes(){return{name:"users",path:"/users",component:()=>Promise.all([s.e(4736),s.e(3064),s.e(682)]).then(s.bind(s,6396)),children:Ce.getAllUserRoutes(),pageUserRoles:[It.SuperAdmin,It.TenantAdmin],pageTitle:"ADMINPANELWEBCLIENT.HEADING_USERS_SETTINGS_TABNAME"}},getTenantRoutes(){return{name:"tenants",path:"/tenants",component:()=>Promise.all([s.e(4736),s.e(3064),s.e(6941)]).then(s.bind(s,5472)),children:[{path:"id/:id",component:Qe},{path:"create",component:Qe},{path:"search/:search",component:Ie},{path:"search/:search/id/:id",component:Qe},{path:"page/:page",component:Ie},{path:"page/:page/id/:id",component:Qe},{path:"search/:search/page/:page",component:Ie},{path:"search/:search/page/:page/id/:id",component:Qe}].concat(Ce.getRouteChildren("Tenant")),pageUserRoles:[It.SuperAdmin,It.TenantAdmin],pageTitle:"ADMINPANELWEBCLIENT.HEADING_TENANTS_SETTINGS_TABNAME"}},getAdminSystemTabs(){return[{tabName:"admin-security",tabTitle:"ADMINPANELWEBCLIENT.LABEL_SECURITY_SETTINGS_TAB",tabRouteChildren:[{path:"admin-security",component:()=>s.e(2484).then(s.bind(s,2484))}]},{tabName:"admin-db",tabTitle:"ADMINPANELWEBCLIENT.HEADING_DB_SETTINGS",tabRouteChildren:[{path:"admin-db",component:()=>Promise.all([s.e(3064),s.e(7999)]).then(s.bind(s,7999))}]},{tabName:"about",tabTitle:"ADMINPANELWEBCLIENT.LABEL_ABOUT_SETTINGS_TAB",tabRouteChildren:[{path:"about",component:()=>s.e(7185).then(s.bind(s,7185))}]}]},getFiltersForUsers(){const e=we["default"].getters["user/isUserSuperAdmin"];return e?[_t]:[]}}},4598:(e,t,s)=>{"use strict";s.d(t,{Z:()=>u});var a=s(9835);const n=["width","height"],i=["fill"];function r(e,t,s,r,o,l){return(0,a.wg)(),(0,a.iD)("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",viewBox:"0 0 1024 1024",width:s.size,height:s.size},[(0,a._)("path",{fill:s.color,d:"M510.687 147.375c-59.743 0-107.353 23.892-139.25 62.438-28.45 34.381-44.181 79.901-49.75 130-1.312 2.271-2.085 4.994-2.085 7.899 0 1.527 0.214 3.003 0.613 4.402-0.031-0.071-0.024-0.030-0.028 0.012-11.117 12.446-17.188 29.707-17.188 48.938 0 23.166 10.003 42.515 26.25 54.25 13.986 53.199 42.283 100.998 79.5 133.312-1.162 33.441-10.747 56.671-26.063 74.5-16.32 18.999-39.792 32.465-67.375 42.938-30.092 11.403-67.308 29.141-99.875 54.688s-60.952 59.404-69.812 102.75c-0.211 0.976-0.333 2.097-0.333 3.247 0 8.844 7.17 16.014 16.014 16.014 7.715 0 14.156-5.456 15.675-12.72 6.837-33.462 29.357-61.475 58.206-84.104s63.576-39.356 91.5-49.938c30.402-11.543 59.049-27.247 80.313-52 16.447-19.146 27.716-43.807 32.062-73.938 21.946 12.25 45.858 19.938 71.625 19.938 30.748 0 59.073-10.322 84.188-27.313 3.477 33.426 14.894 60.676 32.625 81.313 21.268 24.753 49.894 40.457 80.312 52 27.909 10.581 62.647 27.307 91.5 49.938s51.368 50.644 58.188 84c1.537 7.368 7.978 12.823 15.693 12.823 8.844 0 16.014-7.17 16.014-16.014 0-1.15-0.121-2.271-0.351-3.352-8.842-43.243-37.223-77.099-69.794-102.645s-69.8-43.285-99.875-54.688c-27.598-10.473-51.051-23.939-67.375-42.938s-26.5-43.667-26.5-80.812c0.002-0.082 0.002-0.178 0.002-0.275 0-1.412-0.183-2.782-0.527-4.086 31.017-31.404 54.404-74.458 66.963-121.326 17.937-11.017 29.25-31.211 29.25-55.562 0-20.347-7.717-37.757-20.25-50.25-4.318-54.827-20.492-104.846-51.437-141.812-31.889-38.093-79.262-61.625-138.625-61.625zM510.687 179.375c51.197 0 87.808 18.825 114.063 50.187 17.716 21.162 30.037 48.863 37.5 80.313-30.984 2.865-53.466-6.867-74.062-31.188-2.953-3.456-7.316-5.633-12.188-5.633-0.176 0-0.351 0.003-0.525 0.008-5.461 0.161-10.236 3.061-12.999 7.373-31.894 50.755-84.994 63.862-133.101 64.439-36.026 0.431-61.518-5.45-75.062-9 5.795-42.099 19.622-78.947 41.75-105.687 26.28-31.758 63.104-50.812 114.625-50.812zM578.625 310c24.671 22.015 54.412 34.951 89.125 31.875 0.618 5.283 1.648 10.309 2 15.75 0.334 5.068 2.98 9.455 6.884 12.153 5.337 3.651 12.366 15.811 12.366 31.285 0 19.011-10.397 31.355-15.375 32.625-5.663 1.502-10.028 5.888-11.475 11.451-21.879 85.925-83.742 152.861-151.462 152.861-67.971 0-130.076-67.453-151.687-153.687-1.278-5.041-4.822-9.057-9.456-10.961-5.233-2.077-14.544-14.505-14.544-32.289 0-14.134 5.797-25.642 10.938-30.062 1.154-1.026 2.147-2.199 2.959-3.495 16.503 4.11 43.178 9.822 80.852 9.37 49.615-0.595 109.038-16.222 148.875-66.875z"},null,8,i)],8,n)}const o={name:"TeamGroup",props:{size:{type:Number,default:32},color:{type:String,default:"#000"}}};var l=s(1639);const d=(0,l.Z)(o,[["render",r]]),u=d},6700:(e,t,s)=>{var a={"./af":3902,"./af.js":3902,"./ar":6314,"./ar-dz":5666,"./ar-dz.js":5666,"./ar-kw":6591,"./ar-kw.js":6591,"./ar-ly":7900,"./ar-ly.js":7900,"./ar-ma":5667,"./ar-ma.js":5667,"./ar-sa":4092,"./ar-sa.js":4092,"./ar-tn":1379,"./ar-tn.js":1379,"./ar.js":6314,"./az":1699,"./az.js":1699,"./be":8988,"./be.js":8988,"./bg":7437,"./bg.js":7437,"./bm":7947,"./bm.js":7947,"./bn":2851,"./bn-bd":4905,"./bn-bd.js":4905,"./bn.js":2851,"./bo":7346,"./bo.js":7346,"./br":1711,"./br.js":1711,"./bs":3706,"./bs.js":3706,"./ca":112,"./ca.js":112,"./cs":6406,"./cs.js":6406,"./cv":1853,"./cv.js":1853,"./cy":9766,"./cy.js":9766,"./da":6836,"./da.js":6836,"./de":9320,"./de-at":4904,"./de-at.js":4904,"./de-ch":6710,"./de-ch.js":6710,"./de.js":9320,"./dv":3274,"./dv.js":3274,"./el":286,"./el.js":286,"./en-au":143,"./en-au.js":143,"./en-ca":237,"./en-ca.js":237,"./en-gb":2428,"./en-gb.js":2428,"./en-ie":3349,"./en-ie.js":3349,"./en-il":3764,"./en-il.js":3764,"./en-in":7809,"./en-in.js":7809,"./en-nz":9851,"./en-nz.js":9851,"./en-sg":5594,"./en-sg.js":5594,"./eo":4483,"./eo.js":4483,"./es":2184,"./es-do":5777,"./es-do.js":5777,"./es-mx":9356,"./es-mx.js":9356,"./es-us":8496,"./es-us.js":8496,"./es.js":2184,"./et":7578,"./et.js":7578,"./eu":2092,"./eu.js":2092,"./fa":5927,"./fa.js":5927,"./fi":171,"./fi.js":171,"./fil":2416,"./fil.js":2416,"./fo":9937,"./fo.js":9937,"./fr":5172,"./fr-ca":8249,"./fr-ca.js":8249,"./fr-ch":7541,"./fr-ch.js":7541,"./fr.js":5172,"./fy":7907,"./fy.js":7907,"./ga":6361,"./ga.js":6361,"./gd":2282,"./gd.js":2282,"./gl":2630,"./gl.js":2630,"./gom-deva":680,"./gom-deva.js":680,"./gom-latn":6220,"./gom-latn.js":6220,"./gu":6272,"./gu.js":6272,"./he":5540,"./he.js":5540,"./hi":6067,"./hi.js":6067,"./hr":9669,"./hr.js":9669,"./hu":3396,"./hu.js":3396,"./hy-am":6678,"./hy-am.js":6678,"./id":4812,"./id.js":4812,"./is":4193,"./is.js":4193,"./it":7863,"./it-ch":959,"./it-ch.js":959,"./it.js":7863,"./ja":1809,"./ja.js":1809,"./jv":8657,"./jv.js":8657,"./ka":3290,"./ka.js":3290,"./kk":8418,"./kk.js":8418,"./km":7687,"./km.js":7687,"./kn":1375,"./kn.js":1375,"./ko":2641,"./ko.js":2641,"./ku":3518,"./ku.js":3518,"./ky":5459,"./ky.js":5459,"./lb":1978,"./lb.js":1978,"./lo":6915,"./lo.js":6915,"./lt":8948,"./lt.js":8948,"./lv":2548,"./lv.js":2548,"./me":8608,"./me.js":8608,"./mi":333,"./mi.js":333,"./mk":1876,"./mk.js":1876,"./ml":999,"./ml.js":999,"./mn":4098,"./mn.js":4098,"./mr":6111,"./mr.js":6111,"./ms":3717,"./ms-my":265,"./ms-my.js":265,"./ms.js":3717,"./mt":8980,"./mt.js":8980,"./my":6895,"./my.js":6895,"./nb":5348,"./nb.js":5348,"./ne":1493,"./ne.js":1493,"./nl":4419,"./nl-be":5576,"./nl-be.js":5576,"./nl.js":4419,"./nn":6907,"./nn.js":6907,"./oc-lnc":2321,"./oc-lnc.js":2321,"./pa-in":9239,"./pa-in.js":9239,"./pl":7627,"./pl.js":7627,"./pt":5703,"./pt-br":1623,"./pt-br.js":1623,"./pt.js":5703,"./ro":2747,"./ro.js":2747,"./ru":4420,"./ru.js":4420,"./sd":2148,"./sd.js":2148,"./se":2461,"./se.js":2461,"./si":2783,"./si.js":2783,"./sk":3306,"./sk.js":3306,"./sl":341,"./sl.js":341,"./sq":2768,"./sq.js":2768,"./sr":2451,"./sr-cyrl":3371,"./sr-cyrl.js":3371,"./sr.js":2451,"./ss":8812,"./ss.js":8812,"./sv":3820,"./sv.js":3820,"./sw":3615,"./sw.js":3615,"./ta":2869,"./ta.js":2869,"./te":2044,"./te.js":2044,"./tet":5861,"./tet.js":5861,"./tg":6999,"./tg.js":6999,"./th":926,"./th.js":926,"./tk":7443,"./tk.js":7443,"./tl-ph":9786,"./tl-ph.js":9786,"./tlh":2812,"./tlh.js":2812,"./tr":6952,"./tr.js":6952,"./tzl":9573,"./tzl.js":9573,"./tzm":5990,"./tzm-latn":6961,"./tzm-latn.js":6961,"./tzm.js":5990,"./ug-cn":2610,"./ug-cn.js":2610,"./uk":9498,"./uk.js":9498,"./ur":3970,"./ur.js":3970,"./uz":9006,"./uz-latn":26,"./uz-latn.js":26,"./uz.js":9006,"./vi":9962,"./vi.js":9962,"./x-pseudo":8407,"./x-pseudo.js":8407,"./yo":1962,"./yo.js":1962,"./zh-cn":8909,"./zh-cn.js":8909,"./zh-hk":4014,"./zh-hk.js":4014,"./zh-mo":996,"./zh-mo.js":996,"./zh-tw":6327,"./zh-tw.js":6327};function n(e){var t=i(e);return s(t)}function i(e){if(!s.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}n.keys=function(){return Object.keys(a)},n.resolve=i,e.exports=n,n.id=6700}}]);