@vancone/console-component 0.1.0-beta.21 → 0.1.0-beta.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1,11 @@
|
|
|
1
|
-
(function(w,e){typeof exports=="object"&&typeof module!="undefined"?e(exports,require("vue"),require("vue-router"),require("axios"),require("element-plus"),require("vue-i18n"),require("@element-plus/icons-vue"),require("lodash")):typeof define=="function"&&define.amd?define(["exports","vue","vue-router","axios","element-plus","vue-i18n","@element-plus/icons-vue","lodash"],e):(w=typeof globalThis!="undefined"?globalThis:w||self,e(w["console-component"]={},w.Vue,w.vueRouter,w.axios,w.ElementPlus,w.VueI18n,w.iconsVue,w.lodash))})(this,function(w,e,P,Ge,he,re,oe,se){"use strict";var to=Object.defineProperty,oo=Object.defineProperties;var no=Object.getOwnPropertyDescriptors;var De=Object.getOwnPropertySymbols;var ao=Object.prototype.hasOwnProperty,lo=Object.prototype.propertyIsEnumerable;var Ue=(w,e,P)=>e in w?to(w,e,{enumerable:!0,configurable:!0,writable:!0,value:P}):w[e]=P,ge=(w,e)=>{for(var P in e||(e={}))ao.call(e,P)&&Ue(w,P,e[P]);if(De)for(var P of De(e))lo.call(e,P)&&Ue(w,P,e[P]);return w},Fe=(w,e)=>oo(w,no(e));const Y=(c,a)=>{const n=c.__vccOpts||c;for(const[m,t]of a)n[m]=t;return n},Oe={},Te={class:"building"};function Re(c,a){return e.openBlock(),e.createElementBlock("div",Te)}const ke=Y(Oe,[["render",Re],["__scopeId","data-v-07bd45d2"]]),Le="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAcIAAAHDCAYAAAC3RBrgAAAACXBIWXMAAAsSAAALEgHS3X78AAAgAElEQVR4nO3d21IcV77n8R9VCIGEDDrZtGRLaMIde7wnWpKD2Bf7SvQTlPoJTF/VZTOhB2j0AI6hL7kZl2MeoFVP0GhudsTMrrak3W5rtxQGrIPpBiFKQhwrq/ZFZiIEFNQhM9fKXN9Ph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l3hYjGIhfOPpwj+7PPpZe6N00BCU9JAgRuXKleFP+sultEYqIxoKke/L3/h4c98Ew7+Wjr2/KD0TT+4dHhaAklQlCxIpQRBcIvwwwfKH3cSEoSf+TIERiCEW0gPDLKAMXercSgpJ0jSCEEUEojssPRm6xcdtD+R3DLOGXbcH+4ZSk38X8pVoNwfKl63duE4QwLrjr9Lb8YLwtO0+cITpV+V3frPwDL9z16ZiYL/RuNQQl6deXrt+ZJQhhnaBbDIPR9EY7onFf74OPrg+SYrnQu50QLF+6fue2xPgEUiC49zT8h2BMhzD4ZrnfE8cJBvKn1d1qUDshWJU0eun6nVWJIEQK7QnGcJ+RpVSzqvJD74EIPnSoywu92wlBKVgSDX9CECL1gmH+m3ofjDdFOMalqiDwgn8/YKgdUergQu92Q/C3l67fKe39BYIQmbQvHMN/GNloz4KCsBOhh4S1eKF3u8uhE5eu37m3/zcIQjglWFYdDf65KWlY7Dvel7QqP+zmJc2zvAlbHHGhdzsheF9+CM4f9psEIaDdEY4wGPf+W0p/UN4P/v1A7wNvVX6Hx+gCUmHfhd6thuCCpKn9S6H7EYRAi4Ll1tHgp2FYSh+Gpvb8ftT7lOH+3F5hqElBNxf+mGVMZE1woOb/SPqVmm91PJS/h126dP1OS6M6BCEAIJWCfcTQaqvBt99/AbvQE87h1n5GAAAAAElFTkSuQmCC",Z=Ge.create({timeout:2*60*1e3,withCredentials:!0});Z.interceptors.request.use(c=>c),Z.interceptors.response.use(c=>{const{headers:a,method:n}=c.config,{code:m,message:t}=c.data,{"No-Success-Message":o}=a,h=n!=="get";return m===0?(h&&!o&&he.ElMessage({message:t,type:"success"}),Promise.resolve(c)):(he.ElMessage({type:"error",message:t}),Promise.reject(new Error(`${m}`)))},c=>{var m;const{config:a,response:n}=c;if(n){const{status:t}=n;if(t===401){const r=window.escape(window.location.href);let g=(m=n.data.data)!=null?m:"https://passport.vancone.com";window.location.href=`${g}/?from=${r}`}const{message:o,error:h}=n.data;he.ElMessage({type:"error",message:o||h})}return Promise.reject(new Error(c.message||"Response Error"))});const we=()=>{const{origin:c}=window.location;return c.includes("beta")||c.includes("localhost")?"passport.beta.vancone.com":"passport.vancone.com"},ye=we();function Pe(){return Z.get(`//${ye}/api/passport/service/v1/account`)}function Ke(){return Z.delete(`//${ye}/api/passport/service/v1/login`)}function je(){return Z.get("https://console.vancone.com/api/console/app-group?pageSize=1000")}function Xe(){return Z.get("https://console.vancone.com/api/console/app?pageSize=1000")}const qe={class:"app-catalog-wrapper"},Ye={style:{width:"calc(100% - 330px)"}},ze={class:"catalog-wrapper"},He={class:"service-list"},Je=["href"],Ze=Y(e.defineComponent({__name:"AppCatalog",props:{visible:{type:Boolean}},setup(c){const a=c,n=e.reactive([]);function m(){je().then(({data:t})=>{n.splice(0,n.length,...t.data.list),Xe().then(({data:o})=>{const h=o.data.list;n.forEach(r=>{r.apps=h.filter(g=>g.appGroupId===r.id)})})})}return m(),(t,o)=>{const h=e.resolveComponent("el-input"),r=e.resolveComponent("el-drawer");return e.openBlock(),e.createElementBlock("div",qe,[e.createVNode(r,{"modal-class":"drawer-modal","with-header":!1,direction:"ttb",modelValue:a.visible,"onUpdate:modelValue":o[0]||(o[0]=g=>a.visible=g)},{default:e.withCtx(()=>[o[2]||(o[2]=e.createElementVNode("div",{class:"favorite-list"},[e.createElementVNode("h1",null,"Favorites")],-1)),e.createElementVNode("div",Ye,[e.createVNode(h,{class:"search-box",placeholder:"Search by App name"}),o[1]||(o[1]=e.createElementVNode("div",{class:"recently-visit-wrapper"},[e.createElementVNode("span",{class:"label"},"Recently visited:"),e.createElementVNode("span",{class:"service-name"},"Passport"),e.createElementVNode("span",{class:"service-name"},"Flow"),e.createElementVNode("span",{class:"service-name"},"Datable")],-1)),e.createElementVNode("div",ze,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n,g=>(e.openBlock(),e.createElementBlock("div",He,[e.createElementVNode("h1",null,e.toDisplayString(g.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.apps,u=>{var N,I;return e.openBlock(),e.createElementBlock("a",{style:e.normalizeStyle([{"text-decoration":"none"},{pointerEvents:((N=u.homepageUrl)==null?void 0:N.length)>0?"auto":"none"}]),target:"_blank",href:u.homepageUrl},[e.createElementVNode("h2",{style:e.normalizeStyle({color:((I=u.homepageUrl)==null?void 0:I.length)>0?"#555":"#bbb"})},e.toDisplayString(u.name),5)],12,Je)}),256))]))),256))])])]),_:1},8,["modelValue"])])}}}),[["__scopeId","data-v-c3d195cb"]]),Be={common:{header:{product:"Products",help:"Help",message:"Message",userCenter:"User Center",switchLanguage:"Languages",signOut:"Sign out"},table:{create:"Create",delete:"Delete",add:"Add",remove:"Remove",search:"Search",edit:"Edit",operation:"Operations",viewSelected:"View Selected",warning:"Warning",select:"Select"},basic:{cancel:"Cancel",confirm:"Confirm",createdTime:"Created Time",description:"Description",detail:"Details",more:"More",name:"Name",no:"No",save:"Save",summary:"Summary",type:"Type",updatedTime:"Updated Time",yes:"Yes"}}},Ee={common:{header:{product:"产品",help:"帮助",message:"消息",userCenter:"用户中心",switchLanguage:"语言",signOut:"退出登录"},table:{create:"创建",delete:"删除",add:"添加",remove:"移除",search:"搜索",edit:"编辑",operation:"操作",viewSelected:"查看已选",warning:"风险提示",select:"选择"},basic:{cancel:"取消",confirm:"确认",createdTime:"创建时间",description:"描述",detail:"详情",more:"更多",name:"名称",no:"否",save:"保存",summary:"基本信息",type:"类型",updatedTime:"更新时间",yes:"是"}}},ce=re.createI18n({legacy:!1,locale:localStorage.getItem("locale")||navigator.language.slice(0,2),messages:{en:Be,zh:Ee}}),We={xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 32 32"};function $e(c,a){return e.openBlock(),e.createElementBlock("svg",We,a[0]||(a[0]=[e.createElementVNode("path",{d:"M22.6 29.1h6.6v-6.6h-6.6m0-3.2h6.6v-6.6h-6.6m-9.9-3.3h6.6V2.9h-6.6m9.9 6.5h6.6V2.9h-6.6m-9.9 16.4h6.6v-6.6h-6.6m-9.8 6.6h6.6v-6.6H2.9m0 16.4h6.6v-6.6H2.9m9.8 6.6h6.6v-6.6h-6.6M2.9 9.4h6.6V2.9H2.9z"},null,-1)]))}const ve={render:$e},et={xmlns:"http://www.w3.org/2000/svg",width:"200",height:"200",class:"icon",viewBox:"0 0 1024 1024"};function tt(c,a){return e.openBlock(),e.createElementBlock("svg",et,a[0]||(a[0]=[e.createElementVNode("path",{d:"M651.404 284.363c-14.446-23.404-34.322-43.717-58.832-56.969A164.4 164.4 0 0 0 512 206.328a157.8 157.8 0 0 0-63.864 12.893 163.8 163.8 0 0 0-52.22 35.105c-14.77 14.405-26.455 32.338-35.04 51.895a164 164 0 0 0-12.829 63.958c0 15.233 6.615 28.88 15.993 39.036 10.063 9.363 23.72 15.988 38.92 15.988a56.73 56.73 0 0 0 38.528-15.988c10.134-10.155 16.747-23.803 16.747-39.036a54.8 54.8 0 0 1 3.918-21.066c3.126-6.232 6.614-12.495 11.643-17.17a60.4 60.4 0 0 1 17.143-11.703c6.614-2.304 14.053-4.646 21.061-4.646a53.95 53.95 0 0 1 38.167 16.35c18.652 18.364 21.384 49.946 7.759 71.803-5.47 7.779-12.83 13.685-19.443 19.915-19.874 16.78-39.748 33.96-55.31 62.045-15.598 27.258-25.733 65.537-25.733 122.47a55.76 55.76 0 0 0 16.352 39.035c9.38 9.758 23.36 15.591 38.204 15.591 15.167 0 29.578-5.833 38.921-15.591a55.6 55.6 0 0 0 16.354-39.036c0-32.769 5.067-53.803 13.228-68.635 8.59-14.873 18.687-24.198 28.822-32.806 9.74-8.57 19.048-16.383 27.638-25.35 8.158-8.966 15.992-18.69 22.21-30.825 5.462-9.327 9.344-21.03 12.435-34.318 7.008-29.276 7.008-63.197-2.3-92.47-4.313-13.647-10.136-27.69-17.899-39.394zM512 706.508a53.51 53.51 0 0 0-38.204 15.988 54.725 54.725 0 0 0 0 78.035A53.51 53.51 0 0 0 512 816.519c15.167 0 29.578-6.232 38.921-15.988a54.72 54.72 0 0 0 0-78.035c-9.343-9.758-23.754-15.988-38.921-15.988m350.046-543.104c-88.409-88.95-211.463-144.363-347.744-145.12-137.826-.792-260.887 54.627-351.194 144.365-89.598 89.7-144.835 213-144.835 348.757a528.6 528.6 0 0 0 10.099 100.288c7.008 31.581 16.352 63.597 28.788 92.47 37.808 90.493 102.03 165.394 180.305 218.113a493.11 493.11 0 0 0 623.435-61.29c90.315-89.34 144.798-213.035 144.798-349.585 0-135.362-54.483-258.228-143.649-348.001zm-137.86 668.742a383.537 383.537 0 0 1-565.784-170.902c-10.135-22.614-17.106-46.814-22.57-71.768-4.636-25.388-7.758-51.132-7.758-78.07a381.15 381.15 0 0 1 112.92-271.516c69.29-69.463 165.86-112.387 272.562-112.387a385.85 385.85 0 0 1 352.768 234.1 398 398 0 0 1 29.58 149.803 393.7 393.7 0 0 1-29.58 149.834 387.25 387.25 0 0 1-142.137 170.906"},null,-1)]))}const ot={render:tt},nt={xmlns:"http://www.w3.org/2000/svg",width:"200",height:"200",class:"icon",viewBox:"0 0 1024 1024"};function at(c,a){return e.openBlock(),e.createElementBlock("svg",nt,a[0]||(a[0]=[e.createElementVNode("path",{d:"M358.4 871.2H45.152C19.936 871.2 0 843.904 0 819.2s19.936-50.624 45.152-50.624h56.64l-1.088-283.168c0-204.608 164.032-374.56 337.056-412.576v-1.28C437.76 32.032 470.496 0 510.848 0s73.088 32.032 73.088 71.552v1.28C756.96 110.848 922.08 280.8 922.08 485.408v283.168h55.008c25.216 0 46.944 25.92 46.944 50.624s-21.696 52-46.944 52H665.632c-.416 84.48-69.024 152.8-153.6 152.8s-153.184-68.352-153.6-152.8zm102.4 0c.416 27.904 23.168 50.4 51.2 50.4s50.784-22.496 51.2-50.4zm357.216-103.328v-282.56c0-179.808-149.536-329.984-307.104-329.984S204.544 305.472 204.544 485.312v282.56z"},null,-1)]))}const lt={render:at},rt={class:"header"},st={class:"right"},ct={class:"icon-wrapper"},it={class:"user-wrapper"},dt={style:{"font-size":"11px","font-weight":"bold"}},pt={class:"user-popover-header"},ft={style:{"font-size":"15px","font-weight":"bold"}},mt=["onClick"],ue=Y(e.defineComponent({__name:"Header",props:{title:{},helpDocUrl:{}},setup(c){const{t:a}=re.useI18n(),n=e.ref(),m=e.ref(),t=e.ref(),o=c,h=e.ref(!1),r=e.ref(""),g=e.ref(ce.global.locale),u=e.reactive([{id:"en",name:"English"},{id:"zh",name:"简体中文"}]);e.onMounted(()=>{r.value=decodeURIComponent(escape(window.atob(N("passport_username")))),r.value===""&&Pe().then(({data:_})=>{var k;_.code==0&&(r.value=(k=_.data.name)!=null?k:_.data.displayId)})});function N(_){for(var k=_+"=",j=document.cookie.split(";"),D=0;D<j.length;D++){for(var G=j[D];G.charAt(0)==" ";)G=G.substring(1);if(G.indexOf(k)!=-1)return G.substring(k.length,G.length)}return""}function I(){Ke().then(()=>{const _=escape(window.location.href);window.location.href=`//${we()}/?from=${_}#login`})}function T(_){ce.global.locale.value=_,g.value=_,localStorage.setItem("locale",_)}function Q(){window.open("https://portal.vancone.com/","_blank")}function L(){window.open("https://passport.vancone.com/#/account/profile","_blank")}function x(){window.open(o.helpDocUrl,"_blank")}return(_,k)=>{const j=e.resolveComponent("el-tooltip"),D=e.resolveComponent("el-avatar"),G=e.resolveComponent("el-menu-item"),ee=e.resolveComponent("el-icon"),p=e.resolveComponent("el-popover"),M=e.resolveComponent("el-menu");return e.openBlock(),e.createElementBlock("div",rt,[e.createElementVNode("div",{class:"title",onClick:Q},[k[1]||(k[1]=e.createElementVNode("img",{src:Le,class:"logo"},null,-1)),k[2]||(k[2]=e.createElementVNode("h1",null,"VanCone",-1)),e.createElementVNode("span",null,e.toDisplayString(_.title),1)]),e.createVNode(Ze,{visible:h.value},null,8,["visible"]),e.createElementVNode("div",st,[e.createVNode(j,{effect:"dark",content:e.unref(a)("common.header.product"),placement:"bottom"},{default:e.withCtx(()=>[e.createElementVNode("div",{class:"icon-wrapper",onClick:k[0]||(k[0]=f=>h.value=!h.value)},[e.createVNode(e.unref(ve))])]),_:1},8,["content"]),e.createVNode(j,{effect:"dark",content:e.unref(a)("common.header.help"),placement:"bottom"},{default:e.withCtx(()=>[o.helpDocUrl!==void 0?(e.openBlock(),e.createElementBlock("div",{key:0,class:"icon-wrapper",onClick:x},[e.createVNode(e.unref(ot))])):e.createCommentVNode("",!0)]),_:1},8,["content"]),e.createVNode(j,{effect:"dark",content:e.unref(a)("common.header.message"),placement:"bottom"},{default:e.withCtx(()=>[e.createElementVNode("div",ct,[e.createVNode(e.unref(lt))])]),_:1},8,["content"]),e.createElementVNode("div",it,[e.createVNode(D,{size:30,src:"",ref_key:"avatarRef",ref:n},{default:e.withCtx(()=>[e.createElementVNode("span",dt,e.toDisplayString(r.value.substring(0,2)),1)]),_:1},512),e.createVNode(p,{teleported:!1,width:"280",effect:"dark",ref_key:"popoverRef",ref:m,"virtual-ref":n.value,trigger:"hover","virtual-triggering":""},{default:e.withCtx(()=>[e.createElementVNode("div",pt,[e.createVNode(D,{size:48,src:""},{default:e.withCtx(()=>[e.createElementVNode("span",ft,e.toDisplayString(r.value.substring(0,2)),1)]),_:1}),e.createElementVNode("span",null,e.toDisplayString(r.value),1)]),e.createVNode(M,{class:"user-menu"},{default:e.withCtx(()=>[e.createVNode(G,{onClick:L},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("common.header.userCenter")),1)]),_:1}),e.createVNode(G,{ref_key:"switchLanguageRef",ref:t,style:{display:"flext","justify-content":"space-between"}},{default:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(e.unref(a)("common.header.switchLanguage")),1),e.createVNode(ee,{style:{left:"15px"}},{default:e.withCtx(()=>[e.createVNode(e.unref(oe.ArrowRight))]),_:1})]),_:1},512),e.createVNode(p,{teleported:!1,width:"150",effect:"dark",ref:"popover2Ref",placement:"left-start","virtual-ref":t.value,trigger:"hover","virtual-triggering":"","popper-style":"height: 80px; left: -165px"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u,f=>(e.openBlock(),e.createElementBlock("div",{class:"select-list",onClick:V=>T(f.id)},[e.createElementVNode("span",null,e.toDisplayString(f.name),1),f.id===g.value?(e.openBlock(),e.createBlock(ee,{key:0,style:{color:"#8ba74f"}},{default:e.withCtx(()=>[e.createVNode(e.unref(oe.Check))]),_:1})):e.createCommentVNode("",!0)],8,mt))),256))]),_:1},8,["virtual-ref"]),e.createVNode(G,{onClick:I},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("common.header.signOut")),1)]),_:1})]),_:1})]),_:1},8,["virtual-ref"])])])])}}}),[["__scopeId","data-v-a9821cf9"]]),ht={class:"menu-icon-wrapper"},gt={class:"menu-icon-wrapper"},ut=Y(e.defineComponent({__name:"SideMenuItem",props:{menu:{}},setup(c){const a=c;return(n,m)=>{const t=e.resolveComponent("SideMenuItem",!0),o=e.resolveComponent("el-sub-menu"),h=e.resolveComponent("el-menu-item");return n.menu.children&&n.menu.children.length>0?(e.openBlock(),e.createBlock(o,{key:0,index:n.menu.path},{title:e.withCtx(()=>{var r,g,u;return[e.createElementVNode("div",ht,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent((r=n.menu.meta)==null?void 0:r.icon),{class:"menu-icon"}))]),e.createElementVNode("span",null,e.toDisplayString(n.$t((u=(g=n.menu.meta)==null?void 0:g.title)!=null?u:"")),1)]}),default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.menu.children,r=>(e.openBlock(),e.createBlock(t,{key:r.path,route:r},null,8,["route"]))),128))]),_:1},8,["index"])):(e.openBlock(),e.createBlock(h,{key:1,index:a.menu.path,style:{height:"40px"}},{title:e.withCtx(()=>{var r;return[e.createElementVNode("span",null,e.toDisplayString(n.$t((r=n.menu.title)!=null?r:"")),1)]}),default:e.withCtx(()=>[e.createElementVNode("div",gt,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.$props.menu.icon),{class:"menu-icon"}))])]),_:1},8,["index"]))}}}),[["__scopeId","data-v-e3b5500a"]]),W=e.ref({}),Ae={},Ve=e.ref([]),Ct={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",class:"icon",viewBox:"0 0 1024 1024"};function bt(c,a){return e.openBlock(),e.createElementBlock("svg",Ct,a[0]||(a[0]=[e.createElementVNode("path",{fill:"#2c3e50",d:"M958.06 237.681c0 9.612-7.792 17.405-17.404 17.405H79.092c-9.612 0-17.404-7.793-17.404-17.405v-90.03c0-9.612 7.792-17.405 17.404-17.405h861.563c9.612 0 17.404 7.793 17.404 17.405zM958.06 557.488c0 9.612-7.792 17.404-17.404 17.404H79.092c-9.612 0-17.404-7.792-17.404-17.404v-90.03c0-9.612 7.792-17.405 17.404-17.405h861.563c9.612 0 17.404 7.793 17.404 17.405zM958.06 877.295c0 9.612-7.792 17.404-17.404 17.404H79.092c-9.612 0-17.404-7.792-17.404-17.404v-90.03c0-9.613 7.792-17.405 17.404-17.405h861.563c9.612 0 17.404 7.792 17.404 17.404z"},null,-1)]))}const kt={render:bt},wt={class:"menu-wrapper"},yt={class:"menu-button-wrapper"},Ce=Y(e.defineComponent({__name:"SideMenu",props:{menuCollapsed:{type:Boolean}},emits:["update:menuCollapsed"],setup(c,{emit:a}){const n=c,m=a,t=P.useRoute(),o=e.ref(),h=e.computed(()=>{var N;const u=t.meta.activeMenu;if(u==="{model}"){let I=t.params.app?`${t.params.app}/${t.params.model}`:t.params.model;return"/"+((N=Ae[t.params.model])!=null?N:I)}else return u}),r=e.ref(!1);function g(){m("update:menuCollapsed",!n.menuCollapsed)}return e.watch(r,()=>{r.value&&o.value.style.width&&(o.value.style.width+="200")}),(u,N)=>{const I=e.resolveComponent("el-menu");return e.openBlock(),e.createElementBlock("div",wt,[e.createElementVNode("div",yt,[e.createVNode(e.unref(kt),{class:"menu-button",onClick:g})]),e.createVNode(I,{class:"menu","default-active":h.value,"default-openeds":["table"],router:"",collapse:n.menuCollapsed},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(Ve),T=>(e.openBlock(),e.createBlock(ut,{key:T.path,menu:T},null,8,["menu"]))),128))]),_:1},8,["default-active","collapse"])])}}}),[["__scopeId","data-v-317c394a"]]),Bt={class:"container"},_e=e.defineComponent({__name:"ConsoleApp",props:{title:{},helpDocUrl:{}},setup(c){const a=P.useRoute(),n=e.ref(!1),m=e.ref(),t=c;return e.watch(n,()=>{n.value?m.value.style.width="100%":(m.value.style.transition="width 0.5s ease",m.value.style.width="calc(100% - 250px)")}),(o,h)=>{const r=e.resolveComponent("router-view"),g=e.resolveComponent("el-scrollbar");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.unref(a).query.embedded!=="true"?(e.openBlock(),e.createBlock(ue,{key:0,title:t.title,helpDocUrl:t.helpDocUrl},null,8,["title","helpDocUrl"])):e.createCommentVNode("",!0),e.createElementVNode("div",Bt,[e.unref(a).query.embedded!=="true"?(e.openBlock(),e.createBlock(Ce,{key:0,menuCollapsed:n.value,"onUpdate:menuCollapsed":h[0]||(h[0]=u=>n.value=u)},null,8,["menuCollapsed"])):e.createCommentVNode("",!0),e.createVNode(g,{class:"scrollbar"},{default:e.withCtx(()=>[e.createElementVNode("main",{ref_key:"mainWrapperRef",ref:m,class:"wrapper"},[e.createVNode(r)],512)]),_:1})])],64)}}}),Et={xmlns:"http://www.w3.org/2000/svg",width:"800",height:"800"};function At(c,a){return e.openBlock(),e.createElementBlock("svg",Et,a[0]||(a[0]=[e.createStaticVNode('<defs><linearGradient id="a" x1="399.126" x2="399.126" y1="159.978" y2="715.47" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#f4f2fb"></stop><stop offset="1" stop-color="#e1eef5"></stop></linearGradient><linearGradient id="b" x1="481.607" x2="481.607" y1="594.251" y2="423.306" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".362" stop-color="#b4c9db"></stop><stop offset=".898" stop-color="#ecf0f9"></stop></linearGradient><linearGradient id="c" x1="114.87" x2="114.87" y1="540.843" y2="403.668" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".227" stop-color="#d0dceb"></stop><stop offset=".789" stop-color="#ecf1fb"></stop></linearGradient><linearGradient id="d" x1="114.872" x2="114.872" y1="418.9" y2="570.033" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#ecf1fb"></stop><stop offset=".818" stop-color="#b6c9dd"></stop></linearGradient><linearGradient id="e" x1="615.999" x2="615.999" y1="449.321" y2="360.996" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".227" stop-color="#d0dceb"></stop><stop offset=".789" stop-color="#ecf1fb"></stop></linearGradient><linearGradient id="f" x1="616" x2="616" y1="370.804" y2="468.116" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#ecf1fb"></stop><stop offset=".818" stop-color="#b6c9dd"></stop></linearGradient><linearGradient id="g" x1="672.709" x2="672.709" y1="544.867" y2="510.536" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".227" stop-color="#d0dceb"></stop><stop offset=".789" stop-color="#ecf1fb"></stop></linearGradient><linearGradient id="h" x1="672.77" x2="672.77" y1="514.871" y2="570.135" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#ecf1fb"></stop><stop offset=".818" stop-color="#b6c9dd"></stop></linearGradient><linearGradient id="i" x1="461.917" x2="427.163" y1="86.714" y2="146.91" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#ffdb80"></stop><stop offset="1" stop-color="#ffbb24"></stop></linearGradient><linearGradient id="j" x1="419.58" x2="419.58" y1="117.18" y2="174.634" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#f9fafe"></stop><stop offset="1" stop-color="#e5edf7"></stop></linearGradient><linearGradient id="k" x1="-1967.352" x2="-2213.626" y1="525.737" y2="279.463" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".15" stop-color="#9fb6cc"></stop><stop offset="1" stop-color="#d5e1f2"></stop></linearGradient><linearGradient id="l" x1="-1980.099" x2="-2214.789" y1="526.438" y2="291.748" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".15" stop-color="#b6cadc"></stop><stop offset="1" stop-color="#dfe8f9"></stop></linearGradient><linearGradient id="m" x1="441.358" x2="329.96" y1="472.657" y2="361.259" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".15" stop-color="#9fb6cc"></stop><stop offset="1" stop-color="#bccde1"></stop></linearGradient><linearGradient id="n" x1="569.328" x2="454.912" y1="597.606" y2="483.19" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".15" stop-color="#afc5d8"></stop><stop offset="1" stop-color="#dfe8f9"></stop></linearGradient><linearGradient id="o" x1="562.331" x2="453.712" y1="598.807" y2="490.188" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#c7d4e5"></stop><stop offset=".687" stop-color="#e8eff8"></stop></linearGradient><linearGradient id="p" x1="219.375" x2="219.375" y1="553.783" y2="478.333" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#fad96e"></stop><stop offset="1" stop-color="#ffb32c"></stop></linearGradient><linearGradient id="q" x1="220.421" x2="220.421" y1="465.465" y2="489.367" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#f4ae98"></stop><stop offset="1" stop-color="#fad1bb"></stop></linearGradient><linearGradient id="r" x1="-840.016" x2="-828.333" y1="946.367" y2="864.11" gradientTransform="rotate(-8.082 -3028.264 -6569.32)" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#fad96e"></stop><stop offset="1" stop-color="#ffa91f"></stop></linearGradient><linearGradient id="s" x1="-7035.52" x2="-7023.838" y1="66.46" y2="-15.798" gradientTransform="scale(-1 1)rotate(-8.082 -118.132 -47761.005)" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#fad96e"></stop><stop offset="1" stop-color="#ffa91f"></stop></linearGradient><linearGradient id="t" x1="219.375" x2="219.375" y1="526.535" y2="574.482" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#275c89"></stop><stop offset="1" stop-color="#013f7c"></stop></linearGradient><linearGradient id="u" x1="6174.812" x2="6157.838" y1="595.174" y2="595.174" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#f4b9a4"></stop><stop offset=".652" stop-color="#fad1bb"></stop></linearGradient><linearGradient id="v" x1="196.36" x2="283.925" y1="576.466" y2="576.466" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#18264b"></stop><stop offset=".652" stop-color="#2d3c65"></stop></linearGradient><linearGradient id="w" x1="176.617" x2="176.617" y1="604.946" y2="586.928" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#4673bc"></stop><stop offset=".652" stop-color="#6a94e0"></stop></linearGradient><linearGradient id="x" x1="238.667" x2="255.641" y1="595.174" y2="595.174" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#f4b9a4"></stop><stop offset=".652" stop-color="#fad1bb"></stop></linearGradient><linearGradient id="y" x1="158.041" x2="245.606" y1="576.466" y2="576.466" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#445677"></stop><stop offset="1" stop-color="#293861"></stop></linearGradient><linearGradient id="z" x1="265.35" x2="265.35" y1="604.946" y2="586.928" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#4673bc"></stop><stop offset=".652" stop-color="#6a94e0"></stop></linearGradient><linearGradient id="A" x1="236.065" x2="204.828" y1="459.983" y2="459.983" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#f4b9a4"></stop><stop offset=".652" stop-color="#fad1bb"></stop></linearGradient><linearGradient id="B" x1="200.53" x2="236.795" y1="447.908" y2="447.908" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#4f5c7c"></stop><stop offset="1" stop-color="#274168"></stop></linearGradient></defs><path fill="url(#a)" d="M482.38 201.33c-38.37 30.29-120.74 33.81-181.17-2.22s-172-31.38-202.22 34.87 37.19 131.33 12.78 178.98S6.01 528.01 61.8 609.36s126.6 60.62 169.22 52.45c84.17-16.13 189.79 115.67 308.62 16.13 68.47-57.35 170.44 42.09 210.17-81.36 32.78-101.86-85.67-139.5-49.97-208.03 37.96-72.88 30.67-159.24-10.46-201.06-38.31-38.96-140.75-38.46-207 13.84"></path><path fill="url(#b)" d="M393.48 423.31h216.44l-22.53 49.03s59.19 57.86-14.13 121.91c-134.28-44.17-221.74-37.1-219.98-38.87 1.77-1.77 40.2-132.07 40.2-132.07"></path><path fill="url(#c)" d="M115.65 403.91s-.22-.57-.52.04c-2.7 5.49-27.15 64.96-29.09 110.86 0 0-4.08 26.37 30.11 26.02 28.54-.29 27.78-24.6 27.68-32.79-.38-33.22-28.18-104.13-28.18-104.13"></path><path fill="url(#d)" d="M114.87 570.03c-.55 0-1-.45-1-1V419.9c0-.55.45-1 1-1s1 .45 1 1v149.13c0 .56-.45 1-1 1"></path><path fill="url(#e)" d="M616.5 361.15s-.14-.37-.33.03c-1.74 3.53-17.48 41.83-18.73 71.38 0 0-2.63 16.98 19.39 16.76 18.38-.18 17.89-15.84 17.82-21.11-.25-21.4-18.15-67.06-18.15-67.06"></path><path fill="url(#f)" d="M616 468.12c-.36 0-.64-.29-.64-.64v-96.02c0-.36.29-.64.64-.64.36 0 .64.29.64.64v96.02c0 .35-.28.64-.64.64"></path><path fill="url(#g)" d="M689.88 527.7c0 9.48-7.69 17.17-17.17 17.17s-17.17-7.69-17.17-17.17 7.69-17.17 17.17-17.17 17.17 7.69 17.17 17.17"></path><path fill="url(#h)" d="M672.77 570.13c-.29 0-.53-.24-.53-.53v-54.2c0-.29.24-.53.53-.53s.53.24.53.53v54.21c0 .29-.24.52-.53.52"></path><path fill="url(#i)" d="M479.29 116.81c0 19.19-15.56 34.75-34.75 34.75s-34.75-15.56-34.75-34.75 15.56-34.75 34.75-34.75 34.75 15.56 34.75 34.75"></path><path fill="url(#j)" d="M464.32 135.76h-34.57c-2.23-10.61-11.65-18.58-22.93-18.58s-20.69 7.97-22.93 18.58h-9.05c-10.73 0-19.44 8.7-19.44 19.44 0 10.73 8.7 19.44 19.44 19.44h89.47c10.73 0 19.44-8.7 19.44-19.44s-8.7-19.44-19.43-19.44"></path><path fill="url(#k)" d="M235.65 388.64c0-24.52-.03-49.03.01-73.54.02-14.37 4.24-18.36 17.97-20.53 41.87-6.61 82.03-18.72 117.91-42.29 10.38-6.82 18.3-7.59 29.06-.47 34.85 23.06 73.26 37.11 114.55 42.8 13.12 1.81 16.84 5.88 16.85 19.25.04 45.72-.4 91.44.18 137.15.34 26.77-8.17 49.99-24.02 70.73-31.46 41.17-74.88 63.76-122.21 80.03-2.5.86-5.83.67-8.36-.23-38.47-13.74-74.58-31.84-104.15-61.09-22.97-22.73-37.84-49.56-37.79-83.22.03-22.87 0-45.73 0-68.59"></path><path fill="url(#l)" d="M234.76 396.09c0-23.21-.03-46.42.01-69.63.02-13.61 4.06-17.38 17.23-19.43 40.15-6.26 78.67-17.72 113.07-40.04 9.95-6.46 17.55-7.18 27.86-.44 33.42 21.83 70.25 35.14 109.84 40.52 12.58 1.71 16.14 5.56 16.15 18.22.03 43.28-.38 86.57.18 129.84.33 25.34-7.83 47.33-23.03 66.96-30.17 38.98-71.81 60.36-117.19 75.77-2.4.81-5.59.64-8.01-.22-36.89-13.01-71.52-30.14-99.87-57.84-22.03-21.52-36.28-46.91-36.23-78.78.02-21.65 0-43.29-.01-64.93"></path><path fill="url(#m)" d="M398.42 430.39c23.18-5.61 40.41-26.11 40.41-50.49 0-28.68-23.85-52.01-53.17-52.01s-53.17 23.33-53.17 52.01c0 24.38 17.24 44.88 40.41 50.49v85.2h25.52v-36.38h32.67v-24.96h-32.67zM358 379.91c0-14.91 12.41-27.05 27.65-27.05S413.3 365 413.3 379.91s-12.41 27.05-27.65 27.05S358 394.82 358 379.91"></path><path fill="#fff" d="M394.5 433.67c21.8-5.39 38.01-25.1 38.01-48.54 0-27.58-22.43-50.01-50.01-50.01s-50.01 22.43-50.01 50.01c0 23.44 16.21 43.15 38.01 48.54v81.92h24v-34.98h30.73v-24H394.5zm-38.01-48.54c0-14.34 11.67-26.01 26.01-26.01s26.01 11.67 26.01 26.01-11.67 26.01-26.01 26.01-26.01-11.67-26.01-26.01"></path><path fill="url(#n)" d="M593.02 540.4c0 44.68-36.22 80.9-80.9 80.9s-80.9-36.22-80.9-80.9 36.22-80.9 80.9-80.9 80.9 36.22 80.9 80.9"></path><path fill="url(#o)" d="M584.83 544.5c0 42.42-34.39 76.81-76.81 76.81s-76.81-34.39-76.81-76.81 34.39-76.81 76.81-76.81 76.81 34.39 76.81 76.81"></path><path fill="#fff" d="m525.32 542.26 23.01-23.01c4.44-4.44 4.44-11.63 0-16.06-4.44-4.44-11.63-4.44-16.06 0l-23.01 23.01-23.01-23.01c-4.44-4.44-11.63-4.44-16.06 0-4.44 4.44-4.44 11.63 0 16.06l23.01 23.01-23.01 23.01c-4.44 4.44-4.44 11.63 0 16.06 2.22 2.22 5.13 3.33 8.03 3.33s5.81-1.11 8.03-3.33l23.01-23.01 23.01 23.01c2.22 2.22 5.13 3.33 8.03 3.33s5.81-1.11 8.03-3.33c4.44-4.44 4.44-11.63 0-16.06z"></path><path fill="url(#p)" d="M211.59 478.69s-18.31-2.53-24.25 5.88c-5.95 8.41-8.12 29.95-8.12 29.95l13.78-.73-1.16 25.09 25.42 14.9 36.22-19.48-5.51-22.73 11.57-3.02s-3.45-32.99-19.55-28.12c-8.27.89-10.88.74-10.88.74s-2.18 6.94-9.65 6.35-7.87-8.83-7.87-8.83"></path><path fill="url(#q)" d="m213.42 468.32-3.8 16.97c-.18.8.24 1.61.99 1.92 1.97.8 5.9 2.16 9.95 2.16 4.2 0 8.16-2.3 9.98-3.53.63-.42.89-1.21.65-1.93l-5.82-17.31a1.68 1.68 0 0 0-1.88-1.12l-8.72 1.55c-.67.12-1.2.63-1.35 1.29"></path><path fill="url(#r)" d="M190.69 481.63c5.33-1.77 12.55-.59 12.85 11.37.29 11.95-11.42 31-7.22 37.63 4.25 6.71 13.34 16.25 19.12 21.68-1.34 6.38-4.98 11.75-4.98 11.75s-21.31-9.83-30.59-19.68-4.6-32.43-.3-48.5c3.24-12.12 11.12-14.25 11.12-14.25"></path><path fill="url(#s)" d="M246.53 481.63c-5.33-1.77-12.55-.59-12.85 11.37-.29 11.95 11.42 31 7.22 37.63-4.25 6.71-13.34 16.25-19.12 21.68 1.34 6.38 4.98 11.75 4.98 11.75s21.31-9.83 30.59-19.68 4.6-32.43.3-48.5c-3.24-12.12-11.12-14.25-11.12-14.25"></path><path fill="url(#t)" d="M193.27 574.48h51.74c2.34 0 4.44-1.78 5.25-4.45l10.43-34.31c1.35-4.45-1.35-9.19-5.25-9.19h-72.12c-3.86 0-6.57 4.65-5.28 9.09l9.96 34.31c.79 2.73 2.9 4.55 5.27 4.55"></path><path fill="#fff" d="M191.21 590.26s-.8-1.76-1.41-1.95c-.62-.19-9.46-.54-12.69-1.38s-12.54-2.16-16.52 1.61c-3.47 3.29-4.62 10.97.67 15.39 1.98 1.72 3.93 2.23 11.28 1.89s18-.27 20.34-3.67c-.09-5.63-1.67-11.89-1.67-11.89"></path><path fill="url(#u)" d="M199.42 588.31s-8.54 1.92-11.6 1.64c-3.05-.28-.5 12.02-.5 12.02s8.16.56 15.37-1.52c2.44-9.43-3.27-12.14-3.27-12.14"></path><path fill="url(#v)" d="m196.36 587.86 4.44 13.81s95.43-12.57 81.79-43.54c-11.4-25.89-86.23 29.73-86.23 29.73"></path><path fill="url(#w)" d="M190.1 588.93s3.5 1.37 3.94 6.24-1 8.15-8.43 9.05-9.32.56-13.98.68c-4.66.11-11.43.56-12.43-8.3s8.06-11.12 17.46-8.86c2.95.57 13.44 1.19 13.44 1.19"></path><path fill="#fff" d="M250.76 590.26s.8-1.76 1.41-1.95c.62-.19 9.46-.54 12.69-1.38s11.9-2.23 16.28 1.51c4.06 3.47 4.33 11.14-.3 15.37-1.98 1.72-4.07 2.35-11.42 2.01s-18-.27-20.34-3.67c.09-5.63 1.68-11.89 1.68-11.89"></path><path fill="url(#x)" d="M242.55 588.31s8.54 1.92 11.6 1.64.5 12.02.5 12.02-8.16.56-15.37-1.52c-2.45-9.43 3.27-12.14 3.27-12.14"></path><path fill="url(#y)" d="m245.61 587.86-4.44 13.81s-95.43-12.57-81.79-43.54c11.4-25.89 86.23 29.73 86.23 29.73"></path><path fill="url(#z)" d="M251.87 588.93s-3.5 1.37-3.94 6.24 1 8.15 8.43 9.05 9.32.56 13.98.68c4.66.11 11.43.56 12.43-8.3s-8.06-11.12-17.46-8.86c-2.96.57-13.44 1.19-13.44 1.19"></path><path fill="url(#A)" d="M235.39 461.53c.57-.81.93-2.88.46-3.48-.84-.68-1.63-.29-2.23.3.14-4.94-.31-9.05-.42-10.09-.31-3.03-3.39-8.58-13.46-8.58s-12.03 7.27-12.03 7.27-.66 5.14-.46 11.38c-.6-.57-1.39-.95-2.21-.28-.46.61-.1 2.68.46 3.48.57.81.93 2.73 1.03 3.79.1 1.01-.63 3.69 2.02 3.35 1.58 6.33 7.99 11.61 11.96 11.61 4.35 0 10.13-5.32 11.77-11.62 2.71.37 1.97-2.33 2.07-3.35.12-1.05.48-2.97 1.04-3.78"></path><path fill="url(#B)" d="M227 437.52s-1.97-6.19-9.5-4.71c-7.54 1.48-8.05 5.04-11 5.18-5.05.24-9.09 6.53-2.61 13.19 2.88 2.97.45 4.24 1.82 6.87s1.36 5.18 1.36 5.18 2.41-7.69.82-10.97c-.82-1.69 2.81-2.15 7.33-1.75s11.65-1.09 12.21-4.17c1.34 6.31 2.67 6.97 4.37 7.93s1.8 8.58 1.8 8.58.3-5.6 1.48-6.87c.98-2.07 2.88-10.2.73-12.17s-.35-8.29-8.81-6.29"></path>',33)]))}const Vt={render:At},_t={},xt={class:"wrapper"},St={class:"content"};function It(c,a){const n=e.resolveComponent("el-button");return e.openBlock(),e.createElementBlock("div",xt,[a[4]||(a[4]=e.createElementVNode("img",{src:Vt},null,-1)),e.createElementVNode("div",St,[a[3]||(a[3]=e.createElementVNode("h1",null,"You have no permission to access the page.",-1)),e.createVNode(n,{type:"primary"},{default:e.withCtx(()=>a[1]||(a[1]=[e.createTextVNode("Apply")])),_:1}),e.createVNode(n,{onClick:a[0]||(a[0]=m=>c.$router.go(-1))},{default:e.withCtx(()=>a[2]||(a[2]=[e.createTextVNode("Go Back")])),_:1})])])}const xe=Y(_t,[["render",It],["__scopeId","data-v-0155b361"]]),Nt={};function Mt(c,a){const n=e.resolveComponent("router-view");return e.openBlock(),e.createBlock(n)}const Se=Y(Nt,[["render",Mt]]),Qt={class:"card-wrapper"},Dt=["onClick"],Ut={class:"card-inner-wrapper"},Ft={class:"card-title"},Gt={class:"icon"},be=Y(e.defineComponent({__name:"TabCard",props:{cards:{},tableRef:{}},setup(c){const{t:a}=re.useI18n(),n=P.useRoute(),m=P.useRouter(),t=c,o=e.ref(t.cards[0].key);function h(r){r.disabled||(o.value=r.key,t.tableRef.updateConfigAndRefresh(r.model),m.push({path:n.path,query:Fe(ge({},n.query),{tab:r.key})}))}return e.onMounted(()=>{let r;if(n.query.tab!==void 0){for(let g of t.cards)if(g.key===n.query.tab){o.value=g.key,r=g;break}}e.nextTick(()=>{t.tableRef&&t.cards&&t.cards.length>0&&t.tableRef.updateConfigAndRefresh((r!=null?r:t.cards[0]).model)})}),e.watch(()=>t.cards,r=>{if(n.query.tab!==void 0){for(let g of t.cards)if(g.key===n.query.tab){o.value=g.key;break}}else r&&r.length>0&&(o.value=r[0].key,t.tableRef.updateConfigAndRefresh(t.cards[0].model))},{deep:!0}),(r,g)=>(e.openBlock(),e.createElementBlock("div",Qt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.cards,u=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["card",{"card-selected":o.value===u.key}]),onClick:N=>h(u)},[e.createElementVNode("div",Ut,[e.createElementVNode("div",Ft,[e.createElementVNode("div",Gt,[u.icon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(u.icon),{key:0,class:"svg-icon"})):e.createCommentVNode("",!0)]),e.createElementVNode("span",{style:e.normalizeStyle({color:u.disabled?"#aaa":"black"})},e.toDisplayString(e.unref(a)(u.label)),5)]),e.createElementVNode("span",null,e.toDisplayString(u.count),1)])],10,Dt))),256))]))}}),[["__scopeId","data-v-047a86e6"]]);function ne(c,a,n){switch(a){case"POST":return Z.post(c,n);case"PUT":return Z.put(c,n);case"DELETE":return Z.delete(c+"/"+n);default:return Z.get(c,{params:n})}}const ie=c=>{const a=Object.keys(c);let n={};a.forEach(m=>{n[m]=void 0}),Object.assign(c,n)},Ot={key:1,class:"view-span"},Ie=Y(e.defineComponent({__name:"FormView",props:{id:{},sessionId:{},mode:{},model:{},closeDialogFunc:{type:Function},afterSubmitFunc:{type:Function}},emits:["update:id"],setup(c,{expose:a,emit:n}){const{t:m}=ce.global,t=c,o=e.reactive({}),h=e.ref(!1),r=e.ref(),g=e.reactive({}),u=e.ref(!0),N=p=>t.mode==="view"&&(G(p,void 0)||G(p,"input")||G(p,"select")||G(p,"password")),I=e.computed(()=>t.model.fields?t.model.fields.filter(p=>{var V,C,b,E;let M=p.visible!==!1&&((V=p.formItemAttributes)==null?void 0:V.visible)!==!1;if(t.mode!=="view"&&((C=p.formItemAttributes)==null?void 0:C.editable)===!1||t.mode==="view"&&((b=p.formItemAttributes)==null?void 0:b.type)==="password")return!1;let f=(E=p.formItemAttributes)==null?void 0:E.showCondition;return f&&f.field&&f.value?o[f.field]===f.value:M}):[]);e.watch([()=>t.id,()=>t.sessionId],()=>{Q()});function T(){const p=t.model.fields;let M={};p==null||p.forEach(f=>{var V,C,b,E,B,S,U,s,y;if(o[f.prop]=null,f.visible!==!1&&((V=f.formItemAttributes)==null?void 0:V.visible)!==!1){if(((C=f.formItemAttributes)==null?void 0:C.defaultValue)!==void 0?o[f.prop]=(b=f.formItemAttributes)==null?void 0:b.defaultValue:o[f.prop]=void 0,t.mode!=="view"){let O=(E=f.formItemAttributes)==null?void 0:E.validationRule;O!==void 0&&(M[f.prop]=O),Object.assign(g,M)}const i=f.formItemAttributes,l=i==null?void 0:i.type,d=(B=i==null?void 0:i.selectAttributes)==null?void 0:B.api,A=(S=i==null?void 0:i.selectAttributes)==null?void 0:S.valueMappingField,K=(U=i==null?void 0:i.selectAttributes)==null?void 0:U.labelMappingField;if(l==="select"&&d){let O=d;const z=(s=i==null?void 0:i.selectAttributes)==null?void 0:s.queryParamName,$=(y=i==null?void 0:i.selectAttributes)==null?void 0:y.queryParamValueField;z&&(O=`${O}?${z}=${t.id}`),$||ne(O,"GET",{}).then(({data:H})=>{var J;if((J=f.formItemAttributes)!=null&&J.selectAttributes){let X=[];Array.isArray(H.data)?X=H.data:H.data.list&&Array.isArray(H.data.list)&&(X=H.data.list),f.formItemAttributes.selectAttributes.options=X.map(F=>({value:A?F[A]:F.value,label:K?F[K]:F.label}))}})}}})}function Q(){var p;console.log("init form",t.id,t.model),x(),u.value=(p=t.model.useI18n)!=null?p:!0,T(),(t.mode==="update"||t.mode==="view")&&t.id!==void 0&&t.id!==""&&t.model.api!==""&&(h.value=!0,ne(`${t.model.api}/${t.id}`,"GET",{}).then(({data:M})=>{ie(o),Object.assign(o,M.data),h.value=!1}))}function L(){return new Promise((p,M)=>{var V,C,b,E;((C=(V=t.model.formConfig)==null?void 0:V.functions)==null?void 0:C.beforeSubmit)!==void 0&&Object.assign(o,(E=(b=t.model.formConfig)==null?void 0:b.functions)==null?void 0:E.beforeSubmit(o));let f=t.mode==="create"?"POST":"PUT";t.model.api&&ne(t.model.api,f,o).then(({data:B})=>{var S,U,s,y;B.code===0&&(t.closeDialogFunc&&t.closeDialogFunc(),((U=(S=t.model.formConfig)==null?void 0:S.functions)==null?void 0:U.afterSubmit)!==void 0&&((y=(s=t.model.formConfig)==null?void 0:s.functions)==null||y.afterSubmit(B.data)),t.afterSubmitFunc&&t.afterSubmitFunc(),p())})})}function x(){var p;(p=r.value)==null||p.resetFields()}function _(p){return p.label?u?m(p.label):p.label:p.prop.slice(0,1).toUpperCase()+p.prop.slice(1).toLowerCase()}function k(p){var M,f,V,C;if(p){if(G(p,"select")){const b=(f=(M=p.tableColumnAttributes)==null?void 0:M.functions)==null?void 0:f.transformValue;if(b)return b(o[p.prop]);const E=(C=(V=p.formItemAttributes)==null?void 0:V.selectAttributes)==null?void 0:C.viewModeLabelField;if(E)return o[E]}return o[p.prop]}}function j(p){var M;return((M=p.formItemAttributes)==null?void 0:M.updatable)===!1&&t.mode==="update"}function D(p,M){var V,C;const f=(C=(V=M.formItemAttributes)==null?void 0:V.type)!=null?C:"input";switch(p){case"input":return t.mode==="view"?!1:f==="input"||f==="password";case"select":return!0;default:return console.log("Error: unrecognized form component type: ",p),!0}}function G(p,M){var f;return((f=p.formItemAttributes)==null?void 0:f.type)===M}function ee(p){var M;for(let f of t.model.fields){const V=(M=f.formItemAttributes)==null?void 0:M.selectAttributes;if(!(!f.formItemAttributes||f.formItemAttributes.type!=="select"||!V||!V.queryParamValueField)&&V.queryParamValueField===p.prop){const C=V.api;if(C){let b=C;const E=V.queryParamName;E&&(b=`${b}?${E}=${o[V.queryParamValueField]}`),ne(b,"GET",{}).then(({data:B})=>{if(V){let S=[];Array.isArray(B.data)?S=B.data:B.data.list&&Array.isArray(B.data.list)&&(S=B.data.list),V.options=S.map(U=>({value:V.valueMappingField?U[V.valueMappingField]:U.value,label:V.labelMappingField?U[V.labelMappingField]:U.label}))}})}}}}return e.onMounted(()=>{Q()}),a({refresh:Q,reset:x,submit:L,formData:o}),(p,M)=>{const f=e.resolveComponent("el-input"),V=e.resolveComponent("el-switch"),C=e.resolveComponent("el-date-picker"),b=e.resolveComponent("el-option"),E=e.resolveComponent("el-select"),B=e.resolveComponent("el-form-item"),S=e.resolveComponent("el-form"),U=e.resolveDirective("loading");return e.withDirectives((e.openBlock(),e.createBlock(S,{ref_key:"formRef",ref:r,model:o,rules:g,"label-width":"auto","label-position":"left","require-asterisk-position":"right",inline:!0},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(I.value,s=>(e.openBlock(),e.createBlock(B,{class:"form-item",prop:s.prop,label:_(s)},{default:e.withCtx(()=>{var y;return[D("input",s)?(e.openBlock(),e.createBlock(f,{key:0,type:G(s,"password")?"password":"text",modelValue:o[s.prop],"onUpdate:modelValue":i=>o[s.prop]=i,placeholder:(y=s.formItemAttributes)==null?void 0:y.placeholder,disabled:j(s)},null,8,["type","modelValue","onUpdate:modelValue","placeholder","disabled"])):e.createCommentVNode("",!0),N(s)?(e.openBlock(),e.createElementBlock("span",Ot,e.toDisplayString(k(s)),1)):e.createCommentVNode("",!0),G(s,"switch")?(e.openBlock(),e.createBlock(V,{key:2,modelValue:o[s.prop],"onUpdate:modelValue":i=>o[s.prop]=i},null,8,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0),G(s,"datepicker")?(e.openBlock(),e.createBlock(C,{key:3,type:"date",modelValue:o[s.prop],"onUpdate:modelValue":i=>o[s.prop]=i},null,8,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0),G(s,"select")&&p.mode!=="view"?(e.openBlock(),e.createBlock(E,{key:4,modelValue:o[s.prop],"onUpdate:modelValue":i=>o[s.prop]=i,disabled:j(s),onChange:i=>ee(s)},{default:e.withCtx(()=>{var i,l;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((l=(i=s.formItemAttributes)==null?void 0:i.selectAttributes)==null?void 0:l.options,d=>(e.openBlock(),e.createBlock(b,{value:d.value,label:d.label},null,8,["value","label"]))),256))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])):e.createCommentVNode("",!0)]}),_:2},1032,["prop","label"]))),256))]),_:1},8,["model","rules"])),[[U,h.value]])}}}),[["__scopeId","data-v-aeba890e"]]),Tt={class:"dialog-footer"},Rt={class:"operation-button-wrapper"},Ne=Y(e.defineComponent({__name:"FormDialog",props:{id:{},mode:{},model:{},visible:{type:Boolean},afterSubmitFunc:{type:Function}},emits:["update:visible","update:id"],setup(c,{expose:a,emit:n}){const{t:m}=re.useI18n(),t=c,o=e.ref(0),h=n,r=e.ref();e.watch(()=>t.visible,()=>{t.visible&&o.value++});function g(){r.value&&r.value.refresh()}function u(){h("update:visible",!1),r.value.reset()}function N(){r.value.submit()}return a({close:u,refresh:g}),(I,T)=>{const Q=e.resolveComponent("el-button"),L=e.resolveComponent("el-dialog");return e.openBlock(),e.createBlock(L,{title:"Edit","model-value":t.visible,width:"800px",onClose:u},{footer:e.withCtx(()=>{var x;return[e.createElementVNode("div",Tt,[e.createElementVNode("div",Rt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((x=t.model.formConfig)==null?void 0:x.dialogButtons,_=>(e.openBlock(),e.createBlock(Q,{onClick:k=>_.function(r.value.formData)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(m)(_.label)),1)]),_:2},1032,["onClick"]))),256))]),e.createElementVNode("div",null,[e.createVNode(Q,{onClick:u},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(m)("common.basic.cancel")),1)]),_:1}),e.createVNode(Q,{type:"primary",onClick:N},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(m)("common.basic.save")),1)]),_:1})])])]}),default:e.withCtx(()=>[e.createVNode(Ie,{ref_key:"formViewRef",ref:r,id:t.id,sessionId:o.value,mode:t.mode,model:t.model,afterSubmitFunc:t.afterSubmitFunc,closeDialogFunc:u},null,8,["id","sessionId","mode","model","afterSubmitFunc"])]),_:1},8,["model-value"])}}}),[["__scopeId","data-v-d1628662"]]),Lt={class:"toolbar"},Pt={class:"tool-buttons"},Kt={class:"tool-buttons"},jt={key:1},de=Y(e.defineComponent({__name:"TableView",props:{model:{}},setup(c,{expose:a}){const{t:n}=ce.global,m=c,t=e.reactive([]),o=e.reactive({showPane:!0}),h=e.ref(""),r=e.ref(!0),g=e.ref(!1),u=P.useRouter(),N=e.ref(""),I=e.reactive([]),T=e.reactive([]),Q=e.ref(),L=e.ref([]),x=e.ref("create"),_=e.ref(!0),k=e.ref(!1),j=e.ref(""),D=e.reactive({pageSize:10,pageNo:1,totalElements:0}),G=e.computed(()=>t.filter(l=>{var d,A;return((d=l.formItemAttributes)==null?void 0:d.type)!=="password"&&l.visible!==!1&&((A=l.tableColumnAttributes)==null?void 0:A.visible)!==!1}));function ee(l,d){var z,$,H,J;let A=d.row[l.prop];const K=($=(z=l.tableColumnAttributes)==null?void 0:z.functions)==null?void 0:$.transformValue,O=(H=l.tableColumnAttributes)==null?void 0:H.transformValueMappings;if(K)A=K(A);else if(O&&O.length>0){for(let X of O)if(A===X.value){A=n(X.label);break}}else if(((J=l.formItemAttributes)==null?void 0:J.type)==="select"){const X=l.formItemAttributes.selectAttributes;if(X){if(X.viewModeLabelField)A=d.row[X.viewModeLabelField];else if(X.options&&X.options.length>0){for(let F of X.options)if(F.value===d.row[l.prop]){A=F.label;break}}}}return A}function p(l,d){var A,K;return l.label?n(l.label):(K=(A=l.functions)==null?void 0:A.transformLabel)==null?void 0:K.call(A,d.$index,d.row)}function M(l){ie(m.model),Object.assign(m.model,l)}function f(){var d,A,K;if(_.value=!0,!m.model||!m.model.api)return;ie(o),o.showPane=!0,Object.assign(o,(d=m.model.tableConfig)!=null?d:{}),t.splice(0,t.length,...m.model.fields),h.value=(A=m.model.route)!=null?A:"",r.value=(K=m.model.useI18n)!=null?K:!0;let l=ge({},o.queryParams);l.pageSize=D.pageSize,l.pageNo=D.pageNo,l.search=N.value,ne(m.model.api,"GET",l).then(({data:O})=>{const{list:z,totalCount:$}=O.data;I.splice(0,I.length,...z),D.totalElements=$,_.value=!1})}function V(){var l,d;o.createPageRoutePath!==void 0?u.push(o.createPageRoutePath):((l=o.functions)==null?void 0:l.create)!==void 0?(d=o.functions)==null||d.create():(x.value="create",j.value="",g.value=!0)}function C(l,d){m.model.api&&ne(m.model.api,"DELETE",d.id).then(({data:A})=>{A.code===0&&(g.value=!1,f())})}function b(){he.ElMessageBox.confirm("The selected items will be deleted. Continue?",n("common.table.warning"),{confirmButtonText:n("common.basic.confirm"),cancelButtonText:n("common.basic.cancel"),type:"warning"}).then(()=>{var l,d;if(((l=o.functions)==null?void 0:l.batchDelete)!==void 0)(d=o.functions)==null||d.batchDelete(L.value);else{const A=L.value.map(K=>K.id);Z.delete(`${m.model.api}/${A.join(",")}`).then(({data:K})=>{K.code===0&&(g.value=!1,f())})}Q.value.clearSelection()}).catch(()=>{Q.value.clearSelection()})}function E(l){D.pageSize=l,f()}function B(l){D.pageNo=l,f()}function S(l,d){o.editPageRoutePath!==void 0?u.push({path:o.editPageRoutePath,query:{id:d.id}}):(j.value=d.id,x.value="update",g.value=!0)}function U(){let l=window.location.origin+m.model.api+"/export";const d=o.queryParams;d!==void 0&&Object.keys(d).length>0&&(l+="?",Object.entries(o.queryParams).map(A=>{l+=`${A[0]}=${A[1]}&`})),window.open(l)}function s(l){L.value=l}function y(l){return l.label?r.value?n(l.label):l.label:l.prop.slice(0,1).toUpperCase()+l.prop.slice(1).toLowerCase()}function i(l){l?(k.value=!0,T.splice(0,T.length,...I),I.splice(0,I.length,...L.value)):(k.value=!1,I.splice(0,I.length,...T))}return e.watch(()=>m.model,()=>{f()},{deep:!0,immediate:!0}),a({multipleSelection:L,refresh:f,updateConfigAndRefresh:M}),(l,d)=>{const A=e.resolveComponent("el-checkbox"),K=e.resolveComponent("el-badge"),O=e.resolveComponent("el-button"),z=e.resolveComponent("el-icon"),$=e.resolveComponent("el-tooltip"),H=e.resolveComponent("el-input"),J=e.resolveComponent("el-table-column"),X=e.resolveComponent("router-link"),F=e.resolveComponent("el-tag"),v=e.resolveComponent("el-popconfirm"),te=e.resolveComponent("el-table"),pe=e.resolveComponent("el-pagination"),eo=e.resolveDirective("loading");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass({"table-view-wrapper":o.showPane})},[e.createElementVNode("div",Lt,[e.createElementVNode("div",Pt,[o.selectMode?(e.openBlock(),e.createBlock(K,{key:0,value:L.value.length,type:"primary",class:"selected-badge"},{default:e.withCtx(()=>[e.createVNode(A,{class:"selected-checkbox",border:!0,label:e.unref(n)("common.table.viewSelected"),onChange:i},null,8,["label"])]),_:1},8,["value"])):e.createCommentVNode("",!0),!o.selectMode&&!o.readOnly?(e.openBlock(),e.createBlock(O,{key:1,type:"primary",onClick:V},{default:e.withCtx(()=>{var q,R;return[e.createTextVNode(e.toDisplayString(((q=o.labels)==null?void 0:q.create)!=null?e.unref(n)((R=o.labels)==null?void 0:R.create):e.unref(n)("common.table.create")),1)]}),_:1})):e.createCommentVNode("",!0),!o.selectMode&&!o.readOnly?(e.openBlock(),e.createBlock(O,{key:2,disabled:L.value.length==0,type:"danger",plain:"",onClick:b},{default:e.withCtx(()=>{var q,R;return[e.createTextVNode(e.toDisplayString(((q=o.labels)==null?void 0:q.delete)!=null?e.unref(n)((R=o.labels)==null?void 0:R.delete):e.unref(n)("common.table.delete")),1)]}),_:1},8,["disabled"])):e.createCommentVNode("",!0),e.createVNode(O,{icon:e.unref(oe.Refresh),onClick:f},null,8,["icon"]),o.tooltip?(e.openBlock(),e.createBlock($,{key:3,effect:"dark",content:e.unref(n)(o.tooltip),placement:"right"},{default:e.withCtx(()=>[e.createVNode(z,{style:{color:"#8ba74f"}},{default:e.withCtx(()=>[e.createVNode(e.unref(oe.QuestionFilled))]),_:1})]),_:1},8,["content"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Kt,[o.export?(e.openBlock(),e.createBlock(O,{key:0,class:"button-export",onClick:U},{default:e.withCtx(()=>[e.createVNode(z,null,{default:e.withCtx(()=>[e.createVNode(e.unref(oe.Download))]),_:1})]),_:1})):e.createCommentVNode("",!0),e.createVNode(H,{placeholder:`${e.unref(n)("common.table.search")}...`,modelValue:N.value,"onUpdate:modelValue":d[0]||(d[0]=q=>N.value=q)},{append:e.withCtx(()=>[e.createVNode(O,{style:{"margin-left":"-20px"},icon:e.unref(oe.Search),onClick:f},null,8,["icon"])]),_:1},8,["placeholder","modelValue"])])]),e.withDirectives((e.openBlock(),e.createBlock(te,{border:!0,ref_key:"tableRef",ref:Q,data:I,onSelectionChange:s,class:"table"},{default:e.withCtx(()=>{var q;return[o.readOnly?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(J,{key:0,type:"selection",width:"50"})),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(G.value,R=>{var ae;return e.openBlock(),e.createBlock(J,{prop:R.prop,label:y(R),width:(ae=R.tableColumnAttributes)==null?void 0:ae.width,"show-overflow-tooltip":""},{default:e.withCtx(fe=>{var le,me;return[(le=R.tableColumnAttributes)!=null&&le.link?(e.openBlock(),e.createBlock(X,{key:0,class:"router-link",to:`/${h.value}/detail?id=${fe.row.id}`},{default:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(ee(R,fe)),1)]),_:2},1032,["to"])):(e.openBlock(),e.createElementBlock("span",jt,e.toDisplayString(ee(R,fe)),1)),((me=R.tableColumnAttributes)==null?void 0:me.type)==="tag"?(e.openBlock(),e.createBlock(F,{key:2},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(fe.row[R.prop]),1)]),_:2},1024)):e.createCommentVNode("",!0)]}),_:2},1032,["prop","label","width"])}),256)),o.operations===void 0&&!((q=o.selectMode)!=null&&q)&&!o.readOnly?(e.openBlock(),e.createBlock(J,{key:1,label:e.unref(n)("common.table.operation"),width:"120"},{default:e.withCtx(R=>[e.createVNode(O,{link:"",type:"primary",class:"operation-button",onClick:ae=>S(R.$index,R.row)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.table.edit")),1)]),_:2},1032,["onClick"]),e.createVNode(v,{title:"Are you sure to delete this?",onConfirm:ae=>C(R.$index,R.row)},{reference:e.withCtx(()=>[e.createVNode(O,{link:"",type:"primary",class:"operation-button"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.table.delete")),1)]),_:1})]),_:2},1032,["onConfirm"])]),_:1},8,["label"])):e.createCommentVNode("",!0),o.operations!==void 0&&!o.readOnly?(e.openBlock(),e.createBlock(J,{key:2,label:e.unref(n)("common.table.operation"),width:"120"},{default:e.withCtx(R=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.operations,ae=>(e.openBlock(),e.createBlock(O,{class:"operation-button",link:"",type:"primary",key:ae.label,onClick:fe=>{var le,me;return((me=(le=ae.functions)==null?void 0:le.click)==null?void 0:me.call(le,R.$index,R.row))&&f()}},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(p(ae,R)),1)]),_:2},1032,["onClick"]))),128))]),_:1},8,["label"])):e.createCommentVNode("",!0)]}),_:1},8,["data"])),[[eo,_.value]]),k.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(pe,{key:0,size:"small",background:"",onSizeChange:E,onCurrentChange:B,currentPage:D.pageNo,"onUpdate:currentPage":d[1]||(d[1]=q=>D.pageNo=q),"page-sizes":[10,20,50,100],"page-size":D.pageSize,layout:"total, sizes, prev, pager, next",total:D.totalElements},null,8,["currentPage","page-size","total"])),e.createVNode(Ne,{model:l.model,mode:x.value,id:j.value,afterSubmitFunc:f,visible:g.value,"onUpdate:visible":d[2]||(d[2]=q=>g.value=q)},null,8,["model","mode","id","visible"])],2)}}}),[["__scopeId","data-v-9c7312a1"]]),Xt={class:"nav-bar"},qt={key:0,class:"info-card-wrapper"},Yt={class:"icon-wrapper"},zt={class:"info-wrapper"},Ht={class:"title-wrapper"},Jt={class:"tabs-wrapper"},Zt={class:"dialog-footer"},Me=Y(e.defineComponent({__name:"DetailPage",setup(c){const{t:a}=re.useI18n(),n=P.useRoute(),m=P.useRouter(),t=e.computed(()=>n.query.id),o=e.ref(!1),h=e.ref(!1),r=e.ref("view"),g=e.ref(),u=e.ref(-1),N=e.ref(),I=e.ref(),T=e.ref("summary"),Q=e.ref(""),L=e.ref(""),x=e.ref(""),_=e.ref(0),k=e.reactive({api:"",fields:[]}),j=e.reactive([]);let D=[];e.watch([()=>m.currentRoute.value,W],()=>{M()},{immediate:!0,deep:!0});function G(C){u.value=parseInt(C.index)-1,console.log(u.value,j[u.value])}function ee(){var B;let C=(B=D[u.value].api)==null?void 0:B.replace("/select","");C=C==null?void 0:C.substring(C.lastIndexOf("/"));const b=k.api+"/"+t.value+C,E=I.value.multipleSelection.map(S=>S.id);ne(b,"POST",E).then(()=>{N.value.refresh(),h.value=!1})}function p(C,b,E){var U;E.functions||(E.functions={}),E.functions.create=()=>{h.value=!0,I.value&&I.value.refresh()};let B=se.cloneDeep(b);B.tableConfig||(B.tableConfig={}),B.tableConfig.selectMode=!0,B.tableConfig.queryParams={},C.queryParamName&&(B.tableConfig.queryParams[C.queryParamName]=t.value);for(var S in B.fields)B.fields[S].tableColumnAttributes&&(U=B.fields[S].tableColumnAttributes)!=null&&U.link&&(B.fields[S].tableColumnAttributes.link=!1);D.push(B),E.labels={create:"common.table.add",delete:"common.table.remove"},E.functions.batchDelete=s=>{var d;let y=(d=D[u.value].api)==null?void 0:d.replace("/select","");y=y==null?void 0:y.substring(y.lastIndexOf("/"));const i=k.api+"/"+t.value+y,l=s.map(A=>A.id);Z.delete(`${i}/${l.join(",")}`).then(({data:A})=>{A.code===0&&N.value.refresh()})},E.operations=[{label:"common.table.remove",functions:{click:(s,y)=>{var d;let i=(d=D[u.value].api)==null?void 0:d.replace("/select","");i=i==null?void 0:i.substring(i.lastIndexOf("/"));const l=k.api+"/"+t.value+i;ne(l,"DELETE",y.id).then(()=>{N.value.refresh()})}}}],B.api+="/select"}function M(){var B,S,U;j.splice(0);const C=n.params.model;if(W.value[C]===void 0){console.warn("Detail page model not exist:",C);return}else console.debug("Detail page model found:",C,W.value[C]);ie(k);const b=se.cloneDeep(W.value[C]);Object.assign(k,b),_.value++,u.value=-1,T.value="summary";const E=(S=(B=k.pageConfig)==null?void 0:B.detailPage)==null?void 0:S.tabs;if(E)for(let s of E){const y=se.cloneDeep(W.value[s.modelKey]);if(j.push(y),s.type==="table"){y.tableConfig||(y.tableConfig={});let i=y.tableConfig;i.showPane=!1,s.modelRelationType==="associated"?p(s,y,i):s.modelRelationType==="child"&&(D.push({fields:[]}),y.formConfig===void 0&&(y.formConfig={}),y.formConfig.functions===void 0&&(y.formConfig.functions={}),s.queryParamName&&(y.formConfig.functions.beforeSubmit=l=>{l[s.queryParamName]=t.value})),i.queryParams||(i.queryParams={}),s.queryParamName&&(i.queryParams[s.queryParamName]=t.value),s.queryParams&&Object.assign(i.queryParams,s.queryParams),i.readOnly=(U=s.readOnly)!=null?U:!1,s.includeFields&&(y.fields=y.fields.filter(l=>{var d;return(d=s.includeFields)==null?void 0:d.includes(l.prop)})),s.excludeFields&&(y.fields=y.fields.filter(l=>{var d;return!((d=s.excludeFields)!=null&&d.includes(l.prop))})),s.tooltip&&(i.tooltip=s.tooltip)}}}e.watch([()=>{var C,b;return(b=(C=k.pageConfig)==null?void 0:C.detailPage)==null?void 0:b.infoCard},()=>{var C;return(C=g.value)==null?void 0:C.formData}],C=>{e.nextTick(()=>{var E,B,S;const b=(B=(E=k.pageConfig)==null?void 0:E.detailPage)==null?void 0:B.infoCard;b&&(Q.value=b.titleFieldProp?g.value.formData[b.titleFieldProp]:"",L.value=b.subtitleFieldProp?g.value.formData[b.subtitleFieldProp]:"",x.value=b.tagFieldProp?g.value.formData[b.tagFieldProp]:"",(S=k.fields)==null||S.forEach(U=>{var s,y;if(U.prop===b.tagFieldProp){const i=(y=(s=U.tableColumnAttributes)==null?void 0:s.functions)==null?void 0:y.transformValue;i&&(x.value=i(x.value))}}))})},{immediate:!0,deep:!0});function f(){o.value=!0}function V(){g.value.refresh()}return(C,b)=>{var O,z,$,H,J,X;const E=e.resolveComponent("el-breadcrumb-item"),B=e.resolveComponent("el-breadcrumb"),S=e.resolveComponent("el-button"),U=e.resolveComponent("el-icon"),s=e.resolveComponent("el-dropdown-item"),y=e.resolveComponent("el-dropdown-menu"),i=e.resolveComponent("el-dropdown"),l=e.resolveComponent("el-tag"),d=e.resolveComponent("el-tab-pane"),A=e.resolveComponent("el-tabs"),K=e.resolveComponent("el-dialog");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",Xt,[e.createVNode(B,null,{default:e.withCtx(()=>{var F,v;return[e.createVNode(E,{to:{path:`/${(v=(F=k==null?void 0:k.breadcrumbRoute)!=null?F:k==null?void 0:k.route)!=null?v:""}`}},{default:e.withCtx(()=>{var te;return[e.createTextVNode(e.toDisplayString(e.unref(a)((te=k==null?void 0:k.name)!=null?te:"")),1)]}),_:1},8,["to"]),e.createVNode(E,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("common.basic.detail")),1)]),_:1})]}),_:1}),e.createElementVNode("div",null,[e.createVNode(S,{type:"primary",onClick:f},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("common.table.edit")),1)]),_:1}),e.createVNode(S,{type:"danger",plain:"",disabled:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("common.table.delete")),1)]),_:1}),((z=(O=k.pageConfig)==null?void 0:O.detailPage)==null?void 0:z.operationButtons)!==void 0?(e.openBlock(),e.createBlock(i,{key:0},{dropdown:e.withCtx(()=>[e.createVNode(y,null,{default:e.withCtx(()=>{var F,v;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((v=(F=k.pageConfig)==null?void 0:F.detailPage)==null?void 0:v.operationButtons,te=>(e.openBlock(),e.createBlock(s,{onClick:pe=>te.function(g.value.formData)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)(te.label)),1)]),_:2},1032,["onClick"]))),256))]}),_:1})]),default:e.withCtx(()=>[e.createVNode(S,{style:{margin:"0 10px"}},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("common.basic.more")),1),e.createVNode(U,{class:"el-icon--right"},{default:e.withCtx(()=>[e.createVNode(e.unref(oe.ArrowDown))]),_:1})]),_:1})]),_:1})):e.createCommentVNode("",!0),e.createVNode(S,{icon:e.unref(oe.Refresh),onClick:V},null,8,["icon"])])]),(H=($=k.pageConfig)==null?void 0:$.detailPage)!=null&&H.infoCard?(e.openBlock(),e.createElementBlock("div",qt,[e.createElementVNode("div",Yt,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent((J=k.pageConfig.detailPage.infoCard.icon)!=null?J:""),{class:"icon"}))]),e.createElementVNode("div",zt,[e.createElementVNode("div",Ht,[e.createElementVNode("h1",null,e.toDisplayString(Q.value),1),((X=x.value)==null?void 0:X.length)>0?(e.openBlock(),e.createBlock(l,{key:0,size:"small"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(x.value),1)]),_:1})):e.createCommentVNode("",!0)]),e.createElementVNode("span",null,e.toDisplayString(L.value),1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",Jt,[e.createVNode(A,{modelValue:T.value,"onUpdate:modelValue":b[0]||(b[0]=F=>T.value=F),onTabClick:G},{default:e.withCtx(()=>{var F,v;return[e.createVNode(d,{label:e.unref(a)("common.basic.summary"),name:"summary"},{default:e.withCtx(()=>[e.createVNode(Ie,{ref_key:"formViewRef",ref:g,id:t.value,sessionId:_.value,mode:r.value,model:k},null,8,["id","sessionId","mode","model"])]),_:1},8,["label"]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((v=(F=k.pageConfig)==null?void 0:F.detailPage)==null?void 0:v.tabs,te=>{var pe;return e.openBlock(),e.createBlock(d,{label:e.unref(a)((pe=te.name)!=null?pe:"")},null,8,["label"])}),256))]}),_:1},8,["modelValue"]),u.value>=0?(e.openBlock(),e.createBlock(de,{key:0,ref_key:"tabPaneTableRef",ref:N,model:j[u.value]},null,8,["model"])):e.createCommentVNode("",!0),e.createVNode(K,{modelValue:h.value,"onUpdate:modelValue":b[2]||(b[2]=F=>h.value=F),title:e.unref(a)("common.table.select"),width:"800px"},{footer:e.withCtx(()=>[e.createElementVNode("span",Zt,[e.createVNode(S,{onClick:b[1]||(b[1]=F=>h.value=!1)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("common.basic.cancel")),1)]),_:1}),e.createVNode(S,{type:"primary",onClick:ee},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("common.basic.save")),1)]),_:1})])]),default:e.withCtx(()=>[u.value>=0?(e.openBlock(),e.createBlock(de,{key:0,ref_key:"selectTableRef",ref:I,model:e.unref(D)[u.value]},null,8,["model"])):e.createCommentVNode("",!0)]),_:1},8,["modelValue","title"])]),e.createVNode(Ne,{id:t.value,mode:"update",visible:o.value,"onUpdate:visible":b[3]||(b[3]=F=>o.value=F),model:k,afterSubmitFunc:V},null,8,["id","visible","model"])],64)}}}),[["__scopeId","data-v-25243c4f"]]),Wt={class:"page-title"},Qe=Y(e.defineComponent({__name:"TablePage",setup(c){const{t:a}=re.useI18n(),n=P.useRoute(),m=P.useRouter(),t=e.ref(),o=e.ref([]),h=e.reactive({api:"",fields:[]}),r=e.reactive(ge({},h));function g(){var N,I,T,Q,L;o.value=[],h.pageConfig&&((I=(N=h.pageConfig)==null?void 0:N.tablePage)!=null&&I.tabViewAttributes)&&(o.value=(L=(Q=(T=h.pageConfig)==null?void 0:T.tablePage)==null?void 0:Q.tabViewAttributes)==null?void 0:L.map(x=>{let _;return x.modelKey&&W.value[x.modelKey]?_=se.cloneDeep(W.value[x.modelKey]):_=se.cloneDeep(h),x.queryParams&&(_.tableConfig||(_.tableConfig={}),_.tableConfig.queryParams=x.queryParams),x.fields&&(_.fields=x.fields),x.modelKey&&(_.breadcrumbRoute=h.route),{key:x.key,label:x.label,icon:x.icon,disabled:x.disabled,model:_}}))}function u(){var T,Q;console.log("Init table page, loading model:",n.params.model),console.log("Current model list",W.value);const N=n.params.model;if(W.value[N]===void 0){console.warn("Model not found",N);return}ie(h);const I=se.cloneDeep(W.value[N]);Object.assign(h,I),(Q=(T=h.pageConfig)==null?void 0:T.tablePage)!=null&&Q.tabViewAttributes||Object.assign(r,h),g()}return e.watch([()=>m.currentRoute.value,W],()=>{u()},{immediate:!0,deep:!0}),(N,I)=>{var Q;const T=e.resolveComponent("el-scrollbar");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("h1",Wt,e.toDisplayString(e.unref(a)((Q=h.name)!=null?Q:"")),1),e.createVNode(T,null,{default:e.withCtx(()=>{var L,x;return[(x=(L=h.pageConfig)==null?void 0:L.tablePage)!=null&&x.tabViewAttributes?(e.openBlock(),e.createBlock(be,{key:0,class:"tabs-wrapper",cards:o.value,tableRef:t.value},null,8,["cards","tableRef"])):e.createCommentVNode("",!0)]}),_:1}),e.createVNode(de,{class:"table-wrapper",ref_key:"tableRef",ref:t,model:r},null,8,["model"])],64)}}}),[["__scopeId","data-v-c42fb84c"]]),$t=[ke,_e,ue,xe,Se,Ce,be,de,Me,Qe],vt=c=>{c&&c.component&&$t.forEach(a=>{console.log("component",a.__name,a),c.component(a.__name,a)})};w.Building=ke,w.ConsoleApp=_e,w.DetailPage=Me,w.Header=ue,w.NoPermission=xe,w.Secondary=Se,w.SideMenu=Ce,w.TabCard=be,w.TablePage=Qe,w.TableView=de,w.activeMenuMapping=Ae,w.default=vt,w.en=Be,w.i18n=ce,w.menuList=Ve,w.modelList=W,w.zh=Ee,Object.defineProperties(w,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
1
|
+
(function(V,e){typeof exports=="object"&&typeof module!="undefined"?e(exports,require("vue"),require("vue-router"),require("axios"),require("element-plus"),require("vue-i18n"),require("@element-plus/icons-vue"),require("lodash")):typeof define=="function"&&define.amd?define(["exports","vue","vue-router","axios","element-plus","vue-i18n","@element-plus/icons-vue","lodash"],e):(V=typeof globalThis!="undefined"?globalThis:V||self,e(V["console-component"]={},V.Vue,V.vueRouter,V.axios,V.ElementPlus,V.VueI18n,V.iconsVue,V.lodash))})(this,function(V,e,Q,Le,he,pe,re,se){"use strict";var Yn=Object.defineProperty,qn=Object.defineProperties;var Jn=Object.getOwnPropertyDescriptors;var Qt=Object.getOwnPropertySymbols;var zn=Object.prototype.hasOwnProperty,Hn=Object.prototype.propertyIsEnumerable;var Ft=(V,e,Q)=>e in V?Yn(V,e,{enumerable:!0,configurable:!0,writable:!0,value:Q}):V[e]=Q,Fe=(V,e)=>{for(var Q in e||(e={}))zn.call(e,Q)&&Ft(V,Q,e[Q]);if(Qt)for(var Q of Qt(e))Hn.call(e,Q)&&Ft(V,Q,e[Q]);return V},Lt=(V,e)=>qn(V,Jn(e));var de=(V,e,Q)=>new Promise((Le,he)=>{var pe=j=>{try{se(Q.next(j))}catch(ke){he(ke)}},re=j=>{try{se(Q.throw(j))}catch(ke){he(ke)}},se=j=>j.done?Le(j.value):Promise.resolve(j.value).then(pe,re);se((Q=Q.apply(V,e)).next())});const j=(t,n)=>{const o=t.__vccOpts||t;for(const[r,s]of n)o[r]=s;return o},ke={},Gt={class:"building"};function jt(t,n){return e.openBlock(),e.createElementBlock("div",Gt)}const ve=j(ke,[["render",jt],["__scopeId","data-v-07bd45d2"]]),Kt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAcIAAAHDCAYAAAC3RBrgAAAACXBIWXMAAAsSAAALEgHS3X78AAAgAElEQVR4nO3d21IcV77n8R9VCIGEDDrZtGRLaMIde7wnWpKD2Bf7SvQTlPoJTF/VZTOhB2j0AI6hL7kZl2MeoFVP0GhudsTMrrak3W5rtxQGrIPpBiFKQhwrq/ZFZiIEFNQhM9fKXN9PhMM6QPEPG9VP/7XWf2VPo9EQgOOVK8VRSaPBT29KGg5+PBz8fK+bkoZiKOP+vp8/kLQa/Hg1+LkkzRfGZuZj+PpA5vQQhIBUrhTDMNv/b0m6ZaquiIThGYbm7r8LYzOrTT8LcARBCKeUK8Vx+V3dqN4HXtqDrlv39T4g5+V3k7MmCwKSRBAik4JlzJvBP+Pyg++quYpSaUF+MM7KD8kH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wDL9z16ZiYL/RuNQQl6deXrt+ZJQhhnaBbDIPR9EY7onFf74OPrg+SYrnQu50QLF+6fue2xPgEUiC49zT8h2BMhzD4ZrnfE8cJBvKn1d1qUDshWJU0eun6nVWJIEQK7QnGcJ+RpVSzqvJD74EIPnSoywu92wlBKVgSDX9CECL1gmH+m3ofjDdFOMalqiDwgn8/YKgdUergQu92Q/C3l67fKe39BYIQmbQvHMN/GNloz4KCsBOhh4S1eKF3u8uhE5eu37m3/zcIQjglWFYdDf65KWlY7Dvel7QqP+zmJc2zvAlbHHGhdzsheF9+CM4f9psEIaDdEY4wGPf+W0p/UN4P/v1A7wNvVX6Hx+gCUmHfhd6thuCCpKn9S6H7EYRAi4Ll1tHgp2FYSh+Gpvb8ftT7lOH+3F5hqElBNxf+mGVMZE1woOb/SPqVmm91PJS/h126dP1OS6M6BCEAIJWCfcTQaqvBt99/AbvQE87h1n5GAAAAAElFTkSuQmCC",v=Le.create({timeout:2*60*1e3,withCredentials:!0});v.interceptors.request.use(t=>t),v.interceptors.response.use(t=>{const{headers:n,method:o}=t.config,{code:r,message:s}=t.data,{"No-Success-Message":a}=n,i=o!=="get";return r===0?(i&&!a&&he.ElMessage({message:s,type:"success"}),Promise.resolve(t)):(he.ElMessage({type:"error",message:s}),Promise.reject(new Error(`${r}`)))},t=>{var r;const{config:n,response:o}=t;if(o){const{status:s}=o;if(s===401){const l=window.escape(window.location.href);let c=(r=o.data.data)!=null?r:"https://passport.vancone.com";window.location.href=`${c}/?from=${l}`}const{message:a,error:i}=o.data;he.ElMessage({type:"error",message:a||i})}return Promise.reject(new Error(t.message||"Response Error"))});const et=()=>{const{origin:t}=window.location;return t.includes("beta")||t.includes("localhost")?"passport.beta.vancone.com":"passport.vancone.com"},tt=et();function Xt(){return v.get(`//${tt}/api/passport/service/v1/account`)}function Yt(){return v.delete(`//${tt}/api/passport/service/v1/login`)}function qt(){return v.get("https://console.vancone.com/api/console/app-group?pageSize=1000")}function Jt(){return v.get("https://console.vancone.com/api/console/app?pageSize=1000")}const zt={class:"app-catalog-wrapper"},Ht={style:{width:"calc(100% - 330px)"}},Zt={class:"catalog-wrapper"},Wt={class:"service-list"},$t=["href"],vt=j(e.defineComponent({__name:"AppCatalog",props:{visible:{type:Boolean}},setup(t){const n=t,o=e.reactive([]);function r(){qt().then(({data:s})=>{o.splice(0,o.length,...s.data.list),Jt().then(({data:a})=>{const i=a.data.list;o.forEach(l=>{l.apps=i.filter(c=>c.appGroupId===l.id)})})})}return r(),(s,a)=>{const i=e.resolveComponent("el-input"),l=e.resolveComponent("el-drawer");return e.openBlock(),e.createElementBlock("div",zt,[e.createVNode(l,{"modal-class":"drawer-modal","with-header":!1,direction:"ttb",modelValue:n.visible,"onUpdate:modelValue":a[0]||(a[0]=c=>n.visible=c)},{default:e.withCtx(()=>[a[2]||(a[2]=e.createElementVNode("div",{class:"favorite-list"},[e.createElementVNode("h1",null,"Favorites")],-1)),e.createElementVNode("div",Ht,[e.createVNode(i,{class:"search-box",placeholder:"Search by App name"}),a[1]||(a[1]=e.createElementVNode("div",{class:"recently-visit-wrapper"},[e.createElementVNode("span",{class:"label"},"Recently visited:"),e.createElementVNode("span",{class:"service-name"},"Passport"),e.createElementVNode("span",{class:"service-name"},"Flow"),e.createElementVNode("span",{class:"service-name"},"Datable")],-1)),e.createElementVNode("div",Zt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o,c=>(e.openBlock(),e.createElementBlock("div",Wt,[e.createElementVNode("h1",null,e.toDisplayString(c.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.apps,f=>{var y,h;return e.openBlock(),e.createElementBlock("a",{style:e.normalizeStyle([{"text-decoration":"none"},{pointerEvents:((y=f.homepageUrl)==null?void 0:y.length)>0?"auto":"none"}]),target:"_blank",href:f.homepageUrl},[e.createElementVNode("h2",{style:e.normalizeStyle({color:((h=f.homepageUrl)==null?void 0:h.length)>0?"#555":"#bbb"})},e.toDisplayString(f.name),5)],12,$t)}),256))]))),256))])])]),_:1},8,["modelValue"])])}}}),[["__scopeId","data-v-c3d195cb"]]),ot={common:{header:{product:"Products",help:"Help",message:"Message",userCenter:"User Center",switchLanguage:"Languages",signOut:"Sign out"},table:{create:"Create",delete:"Delete",add:"Add",remove:"Remove",search:"Search",edit:"Edit",operation:"Operations",viewSelected:"View Selected",warning:"Warning",select:"Select"},basic:{cancel:"Cancel",confirm:"Confirm",createdTime:"Created Time",description:"Description",detail:"Details",more:"More",name:"Name",no:"No",save:"Save",summary:"Summary",type:"Type",updatedTime:"Updated Time",yes:"Yes"}}},nt={common:{header:{product:"产品",help:"帮助",message:"消息",userCenter:"用户中心",switchLanguage:"语言",signOut:"退出登录"},table:{create:"创建",delete:"删除",add:"添加",remove:"移除",search:"搜索",edit:"编辑",operation:"操作",viewSelected:"查看已选",warning:"风险提示",select:"选择"},basic:{cancel:"取消",confirm:"确认",createdTime:"创建时间",description:"描述",detail:"详情",more:"更多",name:"名称",no:"否",save:"保存",summary:"基本信息",type:"类型",updatedTime:"更新时间",yes:"是"}}},Se=pe.createI18n({legacy:!1,locale:localStorage.getItem("locale")||navigator.language.slice(0,2),messages:{en:ot,zh:nt}}),eo={xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 32 32"};function to(t,n){return e.openBlock(),e.createElementBlock("svg",eo,n[0]||(n[0]=[e.createElementVNode("path",{d:"M22.6 29.1h6.6v-6.6h-6.6m0-3.2h6.6v-6.6h-6.6m-9.9-3.3h6.6V2.9h-6.6m9.9 6.5h6.6V2.9h-6.6m-9.9 16.4h6.6v-6.6h-6.6m-9.8 6.6h6.6v-6.6H2.9m0 16.4h6.6v-6.6H2.9m9.8 6.6h6.6v-6.6h-6.6M2.9 9.4h6.6V2.9H2.9z"},null,-1)]))}const oo={render:to},no={xmlns:"http://www.w3.org/2000/svg",width:"200",height:"200",class:"icon",viewBox:"0 0 1024 1024"};function ro(t,n){return e.openBlock(),e.createElementBlock("svg",no,n[0]||(n[0]=[e.createElementVNode("path",{d:"M651.404 284.363c-14.446-23.404-34.322-43.717-58.832-56.969A164.4 164.4 0 0 0 512 206.328a157.8 157.8 0 0 0-63.864 12.893 163.8 163.8 0 0 0-52.22 35.105c-14.77 14.405-26.455 32.338-35.04 51.895a164 164 0 0 0-12.829 63.958c0 15.233 6.615 28.88 15.993 39.036 10.063 9.363 23.72 15.988 38.92 15.988a56.73 56.73 0 0 0 38.528-15.988c10.134-10.155 16.747-23.803 16.747-39.036a54.8 54.8 0 0 1 3.918-21.066c3.126-6.232 6.614-12.495 11.643-17.17a60.4 60.4 0 0 1 17.143-11.703c6.614-2.304 14.053-4.646 21.061-4.646a53.95 53.95 0 0 1 38.167 16.35c18.652 18.364 21.384 49.946 7.759 71.803-5.47 7.779-12.83 13.685-19.443 19.915-19.874 16.78-39.748 33.96-55.31 62.045-15.598 27.258-25.733 65.537-25.733 122.47a55.76 55.76 0 0 0 16.352 39.035c9.38 9.758 23.36 15.591 38.204 15.591 15.167 0 29.578-5.833 38.921-15.591a55.6 55.6 0 0 0 16.354-39.036c0-32.769 5.067-53.803 13.228-68.635 8.59-14.873 18.687-24.198 28.822-32.806 9.74-8.57 19.048-16.383 27.638-25.35 8.158-8.966 15.992-18.69 22.21-30.825 5.462-9.327 9.344-21.03 12.435-34.318 7.008-29.276 7.008-63.197-2.3-92.47-4.313-13.647-10.136-27.69-17.899-39.394zM512 706.508a53.51 53.51 0 0 0-38.204 15.988 54.725 54.725 0 0 0 0 78.035A53.51 53.51 0 0 0 512 816.519c15.167 0 29.578-6.232 38.921-15.988a54.72 54.72 0 0 0 0-78.035c-9.343-9.758-23.754-15.988-38.921-15.988m350.046-543.104c-88.409-88.95-211.463-144.363-347.744-145.12-137.826-.792-260.887 54.627-351.194 144.365-89.598 89.7-144.835 213-144.835 348.757a528.6 528.6 0 0 0 10.099 100.288c7.008 31.581 16.352 63.597 28.788 92.47 37.808 90.493 102.03 165.394 180.305 218.113a493.11 493.11 0 0 0 623.435-61.29c90.315-89.34 144.798-213.035 144.798-349.585 0-135.362-54.483-258.228-143.649-348.001zm-137.86 668.742a383.537 383.537 0 0 1-565.784-170.902c-10.135-22.614-17.106-46.814-22.57-71.768-4.636-25.388-7.758-51.132-7.758-78.07a381.15 381.15 0 0 1 112.92-271.516c69.29-69.463 165.86-112.387 272.562-112.387a385.85 385.85 0 0 1 352.768 234.1 398 398 0 0 1 29.58 149.803 393.7 393.7 0 0 1-29.58 149.834 387.25 387.25 0 0 1-142.137 170.906"},null,-1)]))}const so={render:ro},ao={xmlns:"http://www.w3.org/2000/svg",width:"200",height:"200",class:"icon",viewBox:"0 0 1024 1024"};function lo(t,n){return e.openBlock(),e.createElementBlock("svg",ao,n[0]||(n[0]=[e.createElementVNode("path",{d:"M358.4 871.2H45.152C19.936 871.2 0 843.904 0 819.2s19.936-50.624 45.152-50.624h56.64l-1.088-283.168c0-204.608 164.032-374.56 337.056-412.576v-1.28C437.76 32.032 470.496 0 510.848 0s73.088 32.032 73.088 71.552v1.28C756.96 110.848 922.08 280.8 922.08 485.408v283.168h55.008c25.216 0 46.944 25.92 46.944 50.624s-21.696 52-46.944 52H665.632c-.416 84.48-69.024 152.8-153.6 152.8s-153.184-68.352-153.6-152.8zm102.4 0c.416 27.904 23.168 50.4 51.2 50.4s50.784-22.496 51.2-50.4zm357.216-103.328v-282.56c0-179.808-149.536-329.984-307.104-329.984S204.544 305.472 204.544 485.312v282.56z"},null,-1)]))}const io={render:lo},co={class:"header"},po={class:"right"},fo={class:"icon-wrapper"},mo={class:"user-wrapper"},uo={style:{"font-size":"11px","font-weight":"bold"}},ho={class:"user-popover-header"},go={style:{"font-size":"15px","font-weight":"bold"}},bo=["onClick"],Ge=j(e.defineComponent({__name:"Header",props:{title:{},helpDocUrl:{}},setup(t){const{t:n}=pe.useI18n(),o=e.ref(),r=e.ref(),s=e.ref(),a=t,i=e.ref(!1),l=e.ref(""),c=e.ref(Se.global.locale),f=e.reactive([{id:"en",name:"English"},{id:"zh",name:"简体中文"}]);e.onMounted(()=>{l.value=decodeURIComponent(escape(window.atob(y("passport_username")))),l.value===""&&Xt().then(({data:D})=>{var S;D.code==0&&(l.value=(S=D.data.name)!=null?S:D.data.displayId)})});function y(D){for(var S=D+"=",K=document.cookie.split(";"),R=0;R<K.length;R++){for(var P=K[R];P.charAt(0)==" ";)P=P.substring(1);if(P.indexOf(S)!=-1)return P.substring(S.length,P.length)}return""}function h(){Yt().then(()=>{const D=escape(window.location.href);window.location.href=`//${et()}/?from=${D}#login`})}function I(D){Se.global.locale.value=D,c.value=D,localStorage.setItem("locale",D)}function N(){window.open("https://portal.vancone.com/","_blank")}function T(){window.open("https://passport.vancone.com/#/account/profile","_blank")}function O(){window.open(a.helpDocUrl,"_blank")}return(D,S)=>{const K=e.resolveComponent("el-tooltip"),R=e.resolveComponent("el-avatar"),P=e.resolveComponent("el-menu-item"),z=e.resolveComponent("el-icon"),w=e.resolveComponent("el-popover"),u=e.resolveComponent("el-menu");return e.openBlock(),e.createElementBlock("div",co,[e.createElementVNode("div",{class:"title",onClick:N},[S[1]||(S[1]=e.createElementVNode("img",{src:Kt,class:"logo"},null,-1)),S[2]||(S[2]=e.createElementVNode("h1",null,"VanCone",-1)),e.createElementVNode("span",null,e.toDisplayString(D.title),1)]),e.createVNode(vt,{visible:i.value},null,8,["visible"]),e.createElementVNode("div",po,[e.createVNode(K,{effect:"dark",content:e.unref(n)("common.header.product"),placement:"bottom"},{default:e.withCtx(()=>[e.createElementVNode("div",{class:"icon-wrapper",onClick:S[0]||(S[0]=_=>i.value=!i.value)},[e.createVNode(e.unref(oo))])]),_:1},8,["content"]),e.createVNode(K,{effect:"dark",content:e.unref(n)("common.header.help"),placement:"bottom"},{default:e.withCtx(()=>[a.helpDocUrl!==void 0?(e.openBlock(),e.createElementBlock("div",{key:0,class:"icon-wrapper",onClick:O},[e.createVNode(e.unref(so))])):e.createCommentVNode("",!0)]),_:1},8,["content"]),e.createVNode(K,{effect:"dark",content:e.unref(n)("common.header.message"),placement:"bottom"},{default:e.withCtx(()=>[e.createElementVNode("div",fo,[e.createVNode(e.unref(io))])]),_:1},8,["content"]),e.createElementVNode("div",mo,[e.createVNode(R,{size:30,src:"",ref_key:"avatarRef",ref:o},{default:e.withCtx(()=>[e.createElementVNode("span",uo,e.toDisplayString(l.value.substring(0,2)),1)]),_:1},512),e.createVNode(w,{teleported:!1,width:"280",effect:"dark",ref_key:"popoverRef",ref:r,"virtual-ref":o.value,trigger:"hover","virtual-triggering":""},{default:e.withCtx(()=>[e.createElementVNode("div",ho,[e.createVNode(R,{size:48,src:""},{default:e.withCtx(()=>[e.createElementVNode("span",go,e.toDisplayString(l.value.substring(0,2)),1)]),_:1}),e.createElementVNode("span",null,e.toDisplayString(l.value),1)]),e.createVNode(u,{class:"user-menu"},{default:e.withCtx(()=>[e.createVNode(P,{onClick:T},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.header.userCenter")),1)]),_:1}),e.createVNode(P,{ref_key:"switchLanguageRef",ref:s,style:{display:"flext","justify-content":"space-between"}},{default:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(e.unref(n)("common.header.switchLanguage")),1),e.createVNode(z,{style:{left:"15px"}},{default:e.withCtx(()=>[e.createVNode(e.unref(re.ArrowRight))]),_:1})]),_:1},512),e.createVNode(w,{teleported:!1,width:"150",effect:"dark",ref:"popover2Ref",placement:"left-start","virtual-ref":s.value,trigger:"hover","virtual-triggering":"","popper-style":"height: 80px; left: -165px"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f,_=>(e.openBlock(),e.createElementBlock("div",{class:"select-list",onClick:A=>I(_.id)},[e.createElementVNode("span",null,e.toDisplayString(_.name),1),_.id===c.value?(e.openBlock(),e.createBlock(z,{key:0,style:{color:"#8ba74f"}},{default:e.withCtx(()=>[e.createVNode(e.unref(re.Check))]),_:1})):e.createCommentVNode("",!0)],8,bo))),256))]),_:1},8,["virtual-ref"]),e.createVNode(P,{onClick:h},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.header.signOut")),1)]),_:1})]),_:1})]),_:1},8,["virtual-ref"])])])])}}}),[["__scopeId","data-v-a9821cf9"]]),yo={class:"menu-icon-wrapper"},Co={class:"menu-icon-wrapper"},wo=j(e.defineComponent({__name:"SideMenuItem",props:{menu:{}},setup(t){const n=t;return(o,r)=>{const s=e.resolveComponent("SideMenuItem",!0),a=e.resolveComponent("el-sub-menu"),i=e.resolveComponent("el-menu-item");return o.menu.children&&o.menu.children.length>0?(e.openBlock(),e.createBlock(a,{key:0,index:o.menu.path},{title:e.withCtx(()=>{var l,c,f;return[e.createElementVNode("div",yo,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent((l=o.menu.meta)==null?void 0:l.icon),{class:"menu-icon"}))]),e.createElementVNode("span",null,e.toDisplayString(o.$t((f=(c=o.menu.meta)==null?void 0:c.title)!=null?f:"")),1)]}),default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.menu.children,l=>(e.openBlock(),e.createBlock(s,{key:l.path,route:l},null,8,["route"]))),128))]),_:1},8,["index"])):(e.openBlock(),e.createBlock(i,{key:1,index:n.menu.path,style:{height:"40px"}},{title:e.withCtx(()=>{var l;return[e.createElementVNode("span",null,e.toDisplayString(o.$t((l=o.menu.title)!=null?l:"")),1)]}),default:e.withCtx(()=>[e.createElementVNode("div",Co,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.$props.menu.icon),{class:"menu-icon"}))])]),_:1},8,["index"]))}}}),[["__scopeId","data-v-e3b5500a"]]),ee=e.ref({}),rt={},je=e.ref([]),_o={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",class:"icon",viewBox:"0 0 1024 1024"};function Eo(t,n){return e.openBlock(),e.createElementBlock("svg",_o,n[0]||(n[0]=[e.createElementVNode("path",{fill:"#2c3e50",d:"M958.06 237.681c0 9.612-7.792 17.405-17.404 17.405H79.092c-9.612 0-17.404-7.793-17.404-17.405v-90.03c0-9.612 7.792-17.405 17.404-17.405h861.563c9.612 0 17.404 7.793 17.404 17.405zM958.06 557.488c0 9.612-7.792 17.404-17.404 17.404H79.092c-9.612 0-17.404-7.792-17.404-17.404v-90.03c0-9.612 7.792-17.405 17.404-17.405h861.563c9.612 0 17.404 7.793 17.404 17.405zM958.06 877.295c0 9.612-7.792 17.404-17.404 17.404H79.092c-9.612 0-17.404-7.792-17.404-17.404v-90.03c0-9.613 7.792-17.405 17.404-17.405h861.563c9.612 0 17.404 7.792 17.404 17.404z"},null,-1)]))}const ko={render:Eo};var st=!1;function De(t,n,o){return Array.isArray(t)?(t.length=Math.max(t.length,n),t.splice(n,1,o),o):(t[n]=o,o)}function Ke(t,n){if(Array.isArray(t)){t.splice(n,1);return}delete t[n]}function So(){return at().__VUE_DEVTOOLS_GLOBAL_HOOK__}function at(){return typeof navigator!="undefined"&&typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:{}}const Ao=typeof Proxy=="function",Vo="devtools-plugin:setup",No="plugin:settings:set";let we,Xe;function Bo(){var t;return we!==void 0||(typeof window!="undefined"&&window.performance?(we=!0,Xe=window.performance):typeof globalThis!="undefined"&&(!((t=globalThis.perf_hooks)===null||t===void 0)&&t.performance)?(we=!0,Xe=globalThis.perf_hooks.performance):we=!1),we}function Io(){return Bo()?Xe.now():Date.now()}class xo{constructor(n,o){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=n,this.hook=o;const r={};if(n.settings)for(const i in n.settings){const l=n.settings[i];r[i]=l.defaultValue}const s=`__vue-devtools-plugin-settings__${n.id}`;let a=Object.assign({},r);try{const i=localStorage.getItem(s),l=JSON.parse(i);Object.assign(a,l)}catch(i){}this.fallbacks={getSettings(){return a},setSettings(i){try{localStorage.setItem(s,JSON.stringify(i))}catch(l){}a=i},now(){return Io()}},o&&o.on(No,(i,l)=>{i===this.plugin.id&&this.fallbacks.setSettings(l)}),this.proxiedOn=new Proxy({},{get:(i,l)=>this.target?this.target.on[l]:(...c)=>{this.onQueue.push({method:l,args:c})}}),this.proxiedTarget=new Proxy({},{get:(i,l)=>this.target?this.target[l]:l==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(l)?(...c)=>(this.targetQueue.push({method:l,args:c,resolve:()=>{}}),this.fallbacks[l](...c)):(...c)=>new Promise(f=>{this.targetQueue.push({method:l,args:c,resolve:f})})})}setRealTarget(n){return de(this,null,function*(){this.target=n;for(const o of this.onQueue)this.target.on[o.method](...o.args);for(const o of this.targetQueue)o.resolve(yield this.target[o.method](...o.args))})}}function lt(t,n){const o=t,r=at(),s=So(),a=Ao&&o.enableEarlyProxy;if(s&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!a))s.emit(Vo,t,n);else{const i=a?new xo(o,s):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:o,setupFn:n,proxy:i}),i&&n(i.proxiedTarget)}}/*!
|
|
2
|
+
* pinia v2.2.6
|
|
3
|
+
* (c) 2024 Eduardo San Martin Morote
|
|
4
|
+
* @license MIT
|
|
5
|
+
*/let Ae;const Ve=t=>Ae=t,it=process.env.NODE_ENV!=="production"?Symbol("pinia"):Symbol();function ge(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var ae;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(ae||(ae={}));const be=typeof window!="undefined",ct=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof global=="object"&&global.global===global?global:typeof globalThis=="object"?globalThis:{HTMLElement:null};function Oo(t,{autoBom:n=!1}={}){return n&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob(["\uFEFF",t],{type:t.type}):t}function Ye(t,n,o){const r=new XMLHttpRequest;r.open("GET",t),r.responseType="blob",r.onload=function(){ft(r.response,n,o)},r.onerror=function(){console.error("could not download file")},r.send()}function dt(t){const n=new XMLHttpRequest;n.open("HEAD",t,!1);try{n.send()}catch(o){}return n.status>=200&&n.status<=299}function Me(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(n){const o=document.createEvent("MouseEvents");o.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(o)}}const Te=typeof navigator=="object"?navigator:{userAgent:""},pt=/Macintosh/.test(Te.userAgent)&&/AppleWebKit/.test(Te.userAgent)&&!/Safari/.test(Te.userAgent),ft=be?typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype&&!pt?Do:"msSaveOrOpenBlob"in Te?Mo:To:()=>{};function Do(t,n="download",o){const r=document.createElement("a");r.download=n,r.rel="noopener",typeof t=="string"?(r.href=t,r.origin!==location.origin?dt(r.href)?Ye(t,n,o):(r.target="_blank",Me(r)):Me(r)):(r.href=URL.createObjectURL(t),setTimeout(function(){URL.revokeObjectURL(r.href)},4e4),setTimeout(function(){Me(r)},0))}function Mo(t,n="download",o){if(typeof t=="string")if(dt(t))Ye(t,n,o);else{const r=document.createElement("a");r.href=t,r.target="_blank",setTimeout(function(){Me(r)})}else navigator.msSaveOrOpenBlob(Oo(t,o),n)}function To(t,n,o,r){if(r=r||open("","_blank"),r&&(r.document.title=r.document.body.innerText="downloading..."),typeof t=="string")return Ye(t,n,o);const s=t.type==="application/octet-stream",a=/constructor/i.test(String(ct.HTMLElement))||"safari"in ct,i=/CriOS\/[\d]+/.test(navigator.userAgent);if((i||s&&a||pt)&&typeof FileReader!="undefined"){const l=new FileReader;l.onloadend=function(){let c=l.result;if(typeof c!="string")throw r=null,new Error("Wrong reader.result type");c=i?c:c.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=c:location.assign(c),r=null},l.readAsDataURL(t)}else{const l=URL.createObjectURL(t);r?r.location.assign(l):location.href=l,r=null,setTimeout(function(){URL.revokeObjectURL(l)},4e4)}}function Y(t,n){const o="🍍 "+t;typeof __VUE_DEVTOOLS_TOAST__=="function"?__VUE_DEVTOOLS_TOAST__(o,n):n==="error"?console.error(o):n==="warn"?console.warn(o):console.log(o)}function qe(t){return"_a"in t&&"install"in t}function mt(){if(!("clipboard"in navigator))return Y("Your browser doesn't support the Clipboard API","error"),!0}function ut(t){return t instanceof Error&&t.message.toLowerCase().includes("document is not focused")?(Y('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.',"warn"),!0):!1}function Uo(t){return de(this,null,function*(){if(!mt())try{yield navigator.clipboard.writeText(JSON.stringify(t.state.value)),Y("Global state copied to clipboard.")}catch(n){if(ut(n))return;Y("Failed to serialize the state. Check the console for more details.","error"),console.error(n)}})}function Po(t){return de(this,null,function*(){if(!mt())try{ht(t,JSON.parse(yield navigator.clipboard.readText())),Y("Global state pasted from clipboard.")}catch(n){if(ut(n))return;Y("Failed to deserialize the state from clipboard. Check the console for more details.","error"),console.error(n)}})}function Ro(t){return de(this,null,function*(){try{ft(new Blob([JSON.stringify(t.state.value)],{type:"text/plain;charset=utf-8"}),"pinia-state.json")}catch(n){Y("Failed to export the state as JSON. Check the console for more details.","error"),console.error(n)}})}let ie;function Qo(){ie||(ie=document.createElement("input"),ie.type="file",ie.accept=".json");function t(){return new Promise((n,o)=>{ie.onchange=()=>de(this,null,function*(){const r=ie.files;if(!r)return n(null);const s=r.item(0);return n(s?{text:yield s.text(),file:s}:null)}),ie.oncancel=()=>n(null),ie.onerror=o,ie.click()})}return t}function Fo(t){return de(this,null,function*(){try{const o=yield Qo()();if(!o)return;const{text:r,file:s}=o;ht(t,JSON.parse(r)),Y(`Global state imported from "${s.name}".`)}catch(n){Y("Failed to import the state from JSON. Check the console for more details.","error"),console.error(n)}})}function ht(t,n){for(const o in n){const r=t.state.value[o];r?Object.assign(r,n[o]):t.state.value[o]=n[o]}}function oe(t){return{_custom:{display:t}}}const gt="🍍 Pinia (root)",Ue="_root";function Lo(t){return qe(t)?{id:Ue,label:gt}:{id:t.$id,label:t.$id}}function Go(t){if(qe(t)){const o=Array.from(t._s.keys()),r=t._s;return{state:o.map(a=>({editable:!0,key:a,value:t.state.value[a]})),getters:o.filter(a=>r.get(a)._getters).map(a=>{const i=r.get(a);return{editable:!1,key:a,value:i._getters.reduce((l,c)=>(l[c]=i[c],l),{})}})}}const n={state:Object.keys(t.$state).map(o=>({editable:!0,key:o,value:t.$state[o]}))};return t._getters&&t._getters.length&&(n.getters=t._getters.map(o=>({editable:!1,key:o,value:t[o]}))),t._customProperties.size&&(n.customProperties=Array.from(t._customProperties).map(o=>({editable:!0,key:o,value:t[o]}))),n}function jo(t){return t?Array.isArray(t)?t.reduce((n,o)=>(n.keys.push(o.key),n.operations.push(o.type),n.oldValue[o.key]=o.oldValue,n.newValue[o.key]=o.newValue,n),{oldValue:{},keys:[],operations:[],newValue:{}}):{operation:oe(t.type),key:oe(t.key),oldValue:t.oldValue,newValue:t.newValue}:{}}function Ko(t){switch(t){case ae.direct:return"mutation";case ae.patchFunction:return"$patch";case ae.patchObject:return"$patch";default:return"unknown"}}let _e=!0;const Pe=[],ye="pinia:mutations",J="pinia",{assign:Xo}=Object,Re=t=>"🍍 "+t;function Yo(t,n){lt({id:"dev.esm.pinia",label:"Pinia 🍍",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:Pe,app:t},o=>{typeof o.now!="function"&&Y("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),o.addTimelineLayer({id:ye,label:"Pinia 🍍",color:15064968}),o.addInspector({id:J,label:"Pinia 🍍",icon:"storage",treeFilterPlaceholder:"Search stores",actions:[{icon:"content_copy",action:()=>{Uo(n)},tooltip:"Serialize and copy the state"},{icon:"content_paste",action:()=>de(this,null,function*(){yield Po(n),o.sendInspectorTree(J),o.sendInspectorState(J)}),tooltip:"Replace the state with the content of your clipboard"},{icon:"save",action:()=>{Ro(n)},tooltip:"Save the state as a JSON file"},{icon:"folder_open",action:()=>de(this,null,function*(){yield Fo(n),o.sendInspectorTree(J),o.sendInspectorState(J)}),tooltip:"Import the state from a JSON file"}],nodeActions:[{icon:"restore",tooltip:'Reset the state (with "$reset")',action:r=>{const s=n._s.get(r);s?typeof s.$reset!="function"?Y(`Cannot reset "${r}" store because it doesn't have a "$reset" method implemented.`,"warn"):(s.$reset(),Y(`Store "${r}" reset.`)):Y(`Cannot reset "${r}" store because it wasn't found.`,"warn")}}]}),o.on.inspectComponent((r,s)=>{const a=r.componentInstance&&r.componentInstance.proxy;if(a&&a._pStores){const i=r.componentInstance.proxy._pStores;Object.values(i).forEach(l=>{r.instanceData.state.push({type:Re(l.$id),key:"state",editable:!0,value:l._isOptionsAPI?{_custom:{value:e.toRaw(l.$state),actions:[{icon:"restore",tooltip:"Reset the state of this store",action:()=>l.$reset()}]}}:Object.keys(l.$state).reduce((c,f)=>(c[f]=l.$state[f],c),{})}),l._getters&&l._getters.length&&r.instanceData.state.push({type:Re(l.$id),key:"getters",editable:!1,value:l._getters.reduce((c,f)=>{try{c[f]=l[f]}catch(y){c[f]=y}return c},{})})})}}),o.on.getInspectorTree(r=>{if(r.app===t&&r.inspectorId===J){let s=[n];s=s.concat(Array.from(n._s.values())),r.rootNodes=(r.filter?s.filter(a=>"$id"in a?a.$id.toLowerCase().includes(r.filter.toLowerCase()):gt.toLowerCase().includes(r.filter.toLowerCase())):s).map(Lo)}}),globalThis.$pinia=n,o.on.getInspectorState(r=>{if(r.app===t&&r.inspectorId===J){const s=r.nodeId===Ue?n:n._s.get(r.nodeId);if(!s)return;s&&(r.nodeId!==Ue&&(globalThis.$store=e.toRaw(s)),r.state=Go(s))}}),o.on.editInspectorState((r,s)=>{if(r.app===t&&r.inspectorId===J){const a=r.nodeId===Ue?n:n._s.get(r.nodeId);if(!a)return Y(`store "${r.nodeId}" not found`,"error");const{path:i}=r;qe(a)?i.unshift("state"):(i.length!==1||!a._customProperties.has(i[0])||i[0]in a.$state)&&i.unshift("$state"),_e=!1,r.set(a,i,r.state.value),_e=!0}}),o.on.editComponentState(r=>{if(r.type.startsWith("🍍")){const s=r.type.replace(/^🍍\s*/,""),a=n._s.get(s);if(!a)return Y(`store "${s}" not found`,"error");const{path:i}=r;if(i[0]!=="state")return Y(`Invalid path for store "${s}":
|
|
6
|
+
${i}
|
|
7
|
+
Only state can be modified.`);i[0]="$state",_e=!1,r.set(a,i,r.state.value),_e=!0}})})}function qo(t,n){Pe.includes(Re(n.$id))||Pe.push(Re(n.$id)),lt({id:"dev.esm.pinia",label:"Pinia 🍍",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:Pe,app:t,settings:{logStoreChanges:{label:"Notify about new/deleted stores",type:"boolean",defaultValue:!0}}},o=>{const r=typeof o.now=="function"?o.now.bind(o):Date.now;n.$onAction(({after:i,onError:l,name:c,args:f})=>{const y=bt++;o.addTimelineEvent({layerId:ye,event:{time:r(),title:"🛫 "+c,subtitle:"start",data:{store:oe(n.$id),action:oe(c),args:f},groupId:y}}),i(h=>{fe=void 0,o.addTimelineEvent({layerId:ye,event:{time:r(),title:"🛬 "+c,subtitle:"end",data:{store:oe(n.$id),action:oe(c),args:f,result:h},groupId:y}})}),l(h=>{fe=void 0,o.addTimelineEvent({layerId:ye,event:{time:r(),logType:"error",title:"💥 "+c,subtitle:"end",data:{store:oe(n.$id),action:oe(c),args:f,error:h},groupId:y}})})},!0),n._customProperties.forEach(i=>{e.watch(()=>e.unref(n[i]),(l,c)=>{o.notifyComponentUpdate(),o.sendInspectorState(J),_e&&o.addTimelineEvent({layerId:ye,event:{time:r(),title:"Change",subtitle:i,data:{newValue:l,oldValue:c},groupId:fe}})},{deep:!0})}),n.$subscribe(({events:i,type:l},c)=>{if(o.notifyComponentUpdate(),o.sendInspectorState(J),!_e)return;const f={time:r(),title:Ko(l),data:Xo({store:oe(n.$id)},jo(i)),groupId:fe};l===ae.patchFunction?f.subtitle="⤵️":l===ae.patchObject?f.subtitle="🧩":i&&!Array.isArray(i)&&(f.subtitle=i.type),i&&(f.data["rawEvent(s)"]={_custom:{display:"DebuggerEvent",type:"object",tooltip:"raw DebuggerEvent[]",value:i}}),o.addTimelineEvent({layerId:ye,event:f})},{detached:!0,flush:"sync"});const s=n._hotUpdate;n._hotUpdate=e.markRaw(i=>{s(i),o.addTimelineEvent({layerId:ye,event:{time:r(),title:"🔥 "+n.$id,subtitle:"HMR update",data:{store:oe(n.$id),info:oe("HMR update")}}}),o.notifyComponentUpdate(),o.sendInspectorTree(J),o.sendInspectorState(J)});const{$dispose:a}=n;n.$dispose=()=>{a(),o.notifyComponentUpdate(),o.sendInspectorTree(J),o.sendInspectorState(J),o.getSettings().logStoreChanges&&Y(`Disposed "${n.$id}" store 🗑`)},o.notifyComponentUpdate(),o.sendInspectorTree(J),o.sendInspectorState(J),o.getSettings().logStoreChanges&&Y(`"${n.$id}" store installed 🆕`)})}let bt=0,fe;function yt(t,n,o){const r=n.reduce((s,a)=>(s[a]=e.toRaw(t)[a],s),{});for(const s in r)t[s]=function(){const a=bt,i=o?new Proxy(t,{get(...c){return fe=a,Reflect.get(...c)},set(...c){return fe=a,Reflect.set(...c)}}):t;fe=a;const l=r[s].apply(i,arguments);return fe=void 0,l}}function Jo({app:t,store:n,options:o}){if(!n.$id.startsWith("__hot:")){if(n._isOptionsAPI=!!o.state,!n._p._testing){yt(n,Object.keys(o.actions),n._isOptionsAPI);const r=n._hotUpdate;e.toRaw(n)._hotUpdate=function(s){r.apply(this,arguments),yt(n,Object.keys(s._hmrPayload.actions),!!n._isOptionsAPI)}}qo(t,n)}}function zo(){const t=e.effectScope(!0),n=t.run(()=>e.ref({}));let o=[],r=[];const s=e.markRaw({install(a){Ve(s),s._a=a,a.provide(it,s),a.config.globalProperties.$pinia=s,process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&be&&Yo(a,s),r.forEach(i=>o.push(i)),r=[]},use(a){return!this._a&&!st?r.push(a):o.push(a),this},_p:o,_a:null,_e:t,_s:new Map,state:n});return process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof Proxy!="undefined"&&s.use(Jo),s}function Ct(t,n){for(const o in n){const r=n[o];if(!(o in t))continue;const s=t[o];ge(s)&&ge(r)&&!e.isRef(r)&&!e.isReactive(r)?t[o]=Ct(s,r):t[o]=r}return t}const wt=()=>{};function _t(t,n,o,r=wt){t.push(n);const s=()=>{const a=t.indexOf(n);a>-1&&(t.splice(a,1),r())};return!o&&e.getCurrentScope()&&e.onScopeDispose(s),s}function Ee(t,...n){t.slice().forEach(o=>{o(...n)})}const Ho=t=>t(),Et=Symbol(),Je=Symbol();function ze(t,n){t instanceof Map&&n instanceof Map?n.forEach((o,r)=>t.set(r,o)):t instanceof Set&&n instanceof Set&&n.forEach(t.add,t);for(const o in n){if(!n.hasOwnProperty(o))continue;const r=n[o],s=t[o];ge(s)&&ge(r)&&t.hasOwnProperty(o)&&!e.isRef(r)&&!e.isReactive(r)?t[o]=ze(s,r):t[o]=r}return t}const Zo=process.env.NODE_ENV!=="production"?Symbol("pinia:skipHydration"):Symbol();function Wo(t){return!ge(t)||!t.hasOwnProperty(Zo)}const{assign:te}=Object;function kt(t){return!!(e.isRef(t)&&t.effect)}function St(t,n,o,r){const{state:s,actions:a,getters:i}=n,l=o.state.value[t];let c;function f(){!l&&(process.env.NODE_ENV==="production"||!r)&&(o.state.value[t]=s?s():{});const y=process.env.NODE_ENV!=="production"&&r?e.toRefs(e.ref(s?s():{}).value):e.toRefs(o.state.value[t]);return te(y,a,Object.keys(i||{}).reduce((h,I)=>(process.env.NODE_ENV!=="production"&&I in y&&console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${I}" in store "${t}".`),h[I]=e.markRaw(e.computed(()=>{Ve(o);const N=o._s.get(t);return i[I].call(N,N)})),h),{}))}return c=He(t,f,n,o,r,!0),c}function He(t,n,o={},r,s,a){let i;const l=te({actions:{}},o);if(process.env.NODE_ENV!=="production"&&!r._e.active)throw new Error("Pinia destroyed");const c={deep:!0};process.env.NODE_ENV!=="production"&&!st&&(c.onTrigger=p=>{f?N=p:f==!1&&!u._hotUpdating&&(Array.isArray(N)?N.push(p):console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."))});let f,y,h=[],I=[],N;const T=r.state.value[t];!a&&!T&&(process.env.NODE_ENV==="production"||!s)&&(r.state.value[t]={});const O=e.ref({});let D;function S(p){let d;f=y=!1,process.env.NODE_ENV!=="production"&&(N=[]),typeof p=="function"?(p(r.state.value[t]),d={type:ae.patchFunction,storeId:t,events:N}):(ze(r.state.value[t],p),d={type:ae.patchObject,payload:p,storeId:t,events:N});const g=D=Symbol();e.nextTick().then(()=>{D===g&&(f=!0)}),y=!0,Ee(h,d,r.state.value[t])}const K=a?function(){const{state:d}=o,g=d?d():{};this.$patch(k=>{te(k,g)})}:process.env.NODE_ENV!=="production"?()=>{throw new Error(`🍍: Store "${t}" is built using the setup syntax and does not implement $reset().`)}:wt;function R(){i.stop(),h=[],I=[],r._s.delete(t)}const P=(p,d="")=>{if(Et in p)return p[Je]=d,p;const g=function(){Ve(r);const k=Array.from(arguments),x=[],U=[];function C(m){x.push(m)}function B(m){U.push(m)}Ee(I,{args:k,name:g[Je],store:u,after:C,onError:B});let b;try{b=p.apply(this&&this.$id===t?this:u,k)}catch(m){throw Ee(U,m),m}return b instanceof Promise?b.then(m=>(Ee(x,m),m)).catch(m=>(Ee(U,m),Promise.reject(m))):(Ee(x,b),b)};return g[Et]=!0,g[Je]=d,g},z=e.markRaw({actions:{},getters:{},state:[],hotState:O}),w={_p:r,$id:t,$onAction:_t.bind(null,I),$patch:S,$reset:K,$subscribe(p,d={}){const g=_t(h,p,d.detached,()=>k()),k=i.run(()=>e.watch(()=>r.state.value[t],x=>{(d.flush==="sync"?y:f)&&p({storeId:t,type:ae.direct,events:N},x)},te({},c,d)));return g},$dispose:R},u=e.reactive(process.env.NODE_ENV!=="production"||process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&be?te({_hmrPayload:z,_customProperties:e.markRaw(new Set)},w):w);r._s.set(t,u);const A=(r._a&&r._a.runWithContext||Ho)(()=>r._e.run(()=>(i=e.effectScope()).run(()=>n({action:P}))));for(const p in A){const d=A[p];if(e.isRef(d)&&!kt(d)||e.isReactive(d))process.env.NODE_ENV!=="production"&&s?De(O.value,p,e.toRef(A,p)):a||(T&&Wo(d)&&(e.isRef(d)?d.value=T[p]:ze(d,T[p])),r.state.value[t][p]=d),process.env.NODE_ENV!=="production"&&z.state.push(p);else if(typeof d=="function"){const g=process.env.NODE_ENV!=="production"&&s?d:P(d,p);A[p]=g,process.env.NODE_ENV!=="production"&&(z.actions[p]=d),l.actions[p]=d}else process.env.NODE_ENV!=="production"&&kt(d)&&(z.getters[p]=a?o.getters[p]:d,be&&(A._getters||(A._getters=e.markRaw([]))).push(p))}if(te(u,A),te(e.toRaw(u),A),Object.defineProperty(u,"$state",{get:()=>process.env.NODE_ENV!=="production"&&s?O.value:r.state.value[t],set:p=>{if(process.env.NODE_ENV!=="production"&&s)throw new Error("cannot set hotState");S(d=>{te(d,p)})}}),process.env.NODE_ENV!=="production"&&(u._hotUpdate=e.markRaw(p=>{u._hotUpdating=!0,p._hmrPayload.state.forEach(d=>{if(d in u.$state){const g=p.$state[d],k=u.$state[d];typeof g=="object"&&ge(g)&&ge(k)?Ct(g,k):p.$state[d]=k}De(u,d,e.toRef(p.$state,d))}),Object.keys(u.$state).forEach(d=>{d in p.$state||Ke(u,d)}),f=!1,y=!1,r.state.value[t]=e.toRef(p._hmrPayload,"hotState"),y=!0,e.nextTick().then(()=>{f=!0});for(const d in p._hmrPayload.actions){const g=p[d];De(u,d,P(g,d))}for(const d in p._hmrPayload.getters){const g=p._hmrPayload.getters[d],k=a?e.computed(()=>(Ve(r),g.call(u,u))):g;De(u,d,k)}Object.keys(u._hmrPayload.getters).forEach(d=>{d in p._hmrPayload.getters||Ke(u,d)}),Object.keys(u._hmrPayload.actions).forEach(d=>{d in p._hmrPayload.actions||Ke(u,d)}),u._hmrPayload=p._hmrPayload,u._getters=p._getters,u._hotUpdating=!1})),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&be){const p={writable:!0,configurable:!0,enumerable:!1};["_p","_hmrPayload","_getters","_customProperties"].forEach(d=>{Object.defineProperty(u,d,te({value:u[d]},p))})}return r._p.forEach(p=>{if(process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&be){const d=i.run(()=>p({store:u,app:r._a,pinia:r,options:l}));Object.keys(d||{}).forEach(g=>u._customProperties.add(g)),te(u,d)}else te(u,i.run(()=>p({store:u,app:r._a,pinia:r,options:l})))}),process.env.NODE_ENV!=="production"&&u.$state&&typeof u.$state=="object"&&typeof u.$state.constructor=="function"&&!u.$state.constructor.toString().includes("[native code]")&&console.warn(`[🍍]: The "state" must be a plain object. It cannot be
|
|
8
|
+
state: () => new MyClass()
|
|
9
|
+
Found in store "${u.$id}".`),T&&a&&o.hydrate&&o.hydrate(u.$state,T),f=!0,y=!0,u}/*! #__NO_SIDE_EFFECTS__ */function $o(t,n,o){let r,s;const a=typeof n=="function";r=t,s=a?o:n;function i(l,c){const f=e.hasInjectionContext();if(l=(process.env.NODE_ENV==="test"&&Ae&&Ae._testing?null:l)||(f?e.inject(it,null):null),l&&Ve(l),process.env.NODE_ENV!=="production"&&!Ae)throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
|
|
10
|
+
See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
|
|
11
|
+
This will fail in production.`);l=Ae,l._s.has(r)||(a?He(r,n,s,l):St(r,s,l),process.env.NODE_ENV!=="production"&&(i._pinia=l));const y=l._s.get(r);if(process.env.NODE_ENV!=="production"&&c){const h="__hot:"+r,I=a?He(h,n,s,l,!0):St(h,te({},s),l,!0);c._hotUpdate(I),delete l.state.value[h],l._s.delete(h)}if(process.env.NODE_ENV!=="production"&&be){const h=e.getCurrentInstance();if(h&&h.proxy&&!c){const I=h.proxy,N="_pStores"in I?I._pStores:I._pStores={};N[r]=y}}return y}return i.$id=r,i}const vo=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,en=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,tn=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function on(t,n){if(t==="__proto__"||t==="constructor"&&n&&typeof n=="object"&&"prototype"in n){nn(t);return}return n}function nn(t){console.warn(`[destr] Dropping "${t}" key to prevent prototype pollution.`)}function rn(t,n={}){if(typeof t!="string")return t;const o=t.trim();if(t[0]==='"'&&t.endsWith('"')&&!t.includes("\\"))return o.slice(1,-1);if(o.length<=9){const r=o.toLowerCase();if(r==="true")return!0;if(r==="false")return!1;if(r==="undefined")return;if(r==="null")return null;if(r==="nan")return Number.NaN;if(r==="infinity")return Number.POSITIVE_INFINITY;if(r==="-infinity")return Number.NEGATIVE_INFINITY}if(!tn.test(t)){if(n.strict)throw new SyntaxError("[destr] Invalid JSON");return t}try{if(vo.test(t)||en.test(t)){if(n.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(t,on)}return JSON.parse(t)}catch(r){if(n.strict)throw r;return t}}function sn(t,n){if(t==null)return;let o=t;for(let r=0;r<n.length;r++){if(o==null||o[n[r]]==null)return;o=o[n[r]]}return o}function Ze(t,n,o){if(o.length===0)return n;const r=o[0];return o.length>1&&(n=Ze(typeof t!="object"||t===null||!Object.prototype.hasOwnProperty.call(t,r)?Number.isInteger(Number(o[1]))?[]:{}:t[r],n,Array.prototype.slice.call(o,1))),Number.isInteger(Number(r))&&Array.isArray(t)?t.slice()[r]:Object.assign({},t,{[r]:n})}function At(t,n){if(t==null||n.length===0)return t;if(n.length===1){if(t==null)return t;if(Number.isInteger(n[0])&&Array.isArray(t))return Array.prototype.slice.call(t,0).splice(n[0],1);const o={};for(const r in t)o[r]=t[r];return delete o[n[0]],o}if(t[n[0]]==null){if(Number.isInteger(n[0])&&Array.isArray(t))return Array.prototype.concat.call([],t);const o={};for(const r in t)o[r]=t[r];return o}return Ze(t,At(t[n[0]],Array.prototype.slice.call(n,1)),[n[0]])}function Vt(t,n){return n.map(o=>o.split(".")).map(o=>[o,sn(t,o)]).filter(o=>o[1]!==void 0).reduce((o,r)=>Ze(o,r[1],r[0]),{})}function Nt(t,n){return n.map(o=>o.split(".")).reduce((o,r)=>At(o,r),t)}function Bt(t,{storage:n,serializer:o,key:r,debug:s,pick:a,omit:i,beforeHydrate:l,afterHydrate:c},f,y=!0){try{y&&(l==null||l(f));const h=n.getItem(r);if(h){const I=o.deserialize(h),N=a?Vt(I,a):I,T=i?Nt(N,i):N;t.$patch(T)}y&&(c==null||c(f))}catch(h){s&&console.error("[pinia-plugin-persistedstate]",h)}}function It(t,{storage:n,serializer:o,key:r,debug:s,pick:a,omit:i}){try{const l=a?Vt(t,a):t,c=i?Nt(l,i):l,f=o.serialize(c);n.setItem(r,f)}catch(l){s&&console.error("[pinia-plugin-persistedstate]",l)}}function an(t,n,o){const{pinia:r,store:s,options:{persist:a=o}}=t;if(!a)return;if(!(s.$id in r.state.value)){const c=r._s.get(s.$id.replace("__hot:",""));c&&Promise.resolve().then(()=>c.$persist());return}const l=(Array.isArray(a)?a:a===!0?[{}]:[a]).map(n);s.$hydrate=({runHooks:c=!0}={})=>{l.forEach(f=>{Bt(s,f,t,c)})},s.$persist=()=>{l.forEach(c=>{It(s.$state,c)})},l.forEach(c=>{Bt(s,c,t),s.$subscribe((f,y)=>It(y,c),{detached:!0})})}function ln(t={}){return function(n){var o;an(n,r=>{var s,a,i,l,c,f,y;return{key:(t.key?t.key:h=>h)((s=r.key)!=null?s:n.store.$id),debug:(i=(a=r.debug)!=null?a:t.debug)!=null?i:!1,serializer:(c=(l=r.serializer)!=null?l:t.serializer)!=null?c:{serialize:h=>JSON.stringify(h),deserialize:h=>rn(h)},storage:(y=(f=r.storage)!=null?f:t.storage)!=null?y:window.localStorage,beforeHydrate:r.beforeHydrate,afterHydrate:r.afterHydrate,pick:r.pick,omit:r.omit}},(o=t.auto)!=null?o:!1)}}var cn=ln();const Qe=zo();Qe.use(cn);const xt=$o("console",{state:()=>({menu:{collapsed:!0}}),persist:!0}),dn={key:0,class:"menu-wrapper"},pn={class:"menu-button-wrapper"},We=j(e.defineComponent({__name:"SideMenu",props:{menuCollapsed:{type:Boolean}},emits:["update:menuCollapsed"],setup(t,{emit:n}){const o=xt(Qe),r=t,s=n,a=Q.useRoute(),i=e.computed(()=>{var f;const c=a.meta.activeMenu;if(c==="{model}"){let y=a.params.app?`${a.params.app}/${a.params.model}`:a.params.model;return"/"+((f=rt[a.params.model])!=null?f:y)}else return c});function l(){const c=r.menuCollapsed;s("update:menuCollapsed",!c),o.menu.collapsed=!c}return(c,f)=>{const y=e.resolveComponent("el-menu");return e.unref(je).length>0?(e.openBlock(),e.createElementBlock("div",dn,[e.createElementVNode("div",pn,[e.createVNode(e.unref(ko),{class:"menu-button",onClick:l})]),e.createVNode(y,{class:"menu","default-active":i.value,"default-openeds":["table"],router:"",collapse:r.menuCollapsed},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(je),h=>(e.openBlock(),e.createBlock(wo,{key:h.path,menu:h},null,8,["menu"]))),128))]),_:1},8,["default-active","collapse"])])):e.createCommentVNode("",!0)}}}),[["__scopeId","data-v-df0704d4"]]),fn={class:"container"},Ot=e.defineComponent({__name:"ConsoleApp",props:{title:{},helpDocUrl:{}},setup(t){const n=xt(Qe),o=Q.useRoute(),r=e.ref(n.menu.collapsed),s=e.ref(),a=t;return(i,l)=>{const c=e.resolveComponent("router-view"),f=e.resolveComponent("el-scrollbar");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.unref(o).query.embedded!=="true"?(e.openBlock(),e.createBlock(Ge,{key:0,title:a.title,helpDocUrl:a.helpDocUrl},null,8,["title","helpDocUrl"])):e.createCommentVNode("",!0),e.createElementVNode("div",fn,[e.unref(o).query.embedded!=="true"?(e.openBlock(),e.createBlock(We,{key:0,menuCollapsed:r.value,"onUpdate:menuCollapsed":l[0]||(l[0]=y=>r.value=y)},null,8,["menuCollapsed"])):e.createCommentVNode("",!0),e.createVNode(f,{class:"scrollbar"},{default:e.withCtx(()=>[e.createElementVNode("main",{ref_key:"mainWrapperRef",ref:s,class:"main-wrapper"},[e.createVNode(c)],512)]),_:1})])],64)}}}),mn={xmlns:"http://www.w3.org/2000/svg",width:"800",height:"800"};function un(t,n){return e.openBlock(),e.createElementBlock("svg",mn,n[0]||(n[0]=[e.createStaticVNode('<defs><linearGradient id="a" x1="399.126" x2="399.126" y1="159.978" y2="715.47" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#f4f2fb"></stop><stop offset="1" stop-color="#e1eef5"></stop></linearGradient><linearGradient id="b" x1="481.607" x2="481.607" y1="594.251" y2="423.306" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".362" stop-color="#b4c9db"></stop><stop offset=".898" stop-color="#ecf0f9"></stop></linearGradient><linearGradient id="c" x1="114.87" x2="114.87" y1="540.843" y2="403.668" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".227" stop-color="#d0dceb"></stop><stop offset=".789" stop-color="#ecf1fb"></stop></linearGradient><linearGradient id="d" x1="114.872" x2="114.872" y1="418.9" y2="570.033" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#ecf1fb"></stop><stop offset=".818" stop-color="#b6c9dd"></stop></linearGradient><linearGradient id="e" x1="615.999" x2="615.999" y1="449.321" y2="360.996" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".227" stop-color="#d0dceb"></stop><stop offset=".789" stop-color="#ecf1fb"></stop></linearGradient><linearGradient id="f" x1="616" x2="616" y1="370.804" y2="468.116" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#ecf1fb"></stop><stop offset=".818" stop-color="#b6c9dd"></stop></linearGradient><linearGradient id="g" x1="672.709" x2="672.709" y1="544.867" y2="510.536" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".227" stop-color="#d0dceb"></stop><stop offset=".789" stop-color="#ecf1fb"></stop></linearGradient><linearGradient id="h" x1="672.77" x2="672.77" y1="514.871" y2="570.135" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#ecf1fb"></stop><stop offset=".818" stop-color="#b6c9dd"></stop></linearGradient><linearGradient id="i" x1="461.917" x2="427.163" y1="86.714" y2="146.91" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#ffdb80"></stop><stop offset="1" stop-color="#ffbb24"></stop></linearGradient><linearGradient id="j" x1="419.58" x2="419.58" y1="117.18" y2="174.634" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#f9fafe"></stop><stop offset="1" stop-color="#e5edf7"></stop></linearGradient><linearGradient id="k" x1="-1967.352" x2="-2213.626" y1="525.737" y2="279.463" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".15" stop-color="#9fb6cc"></stop><stop offset="1" stop-color="#d5e1f2"></stop></linearGradient><linearGradient id="l" x1="-1980.099" x2="-2214.789" y1="526.438" y2="291.748" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".15" stop-color="#b6cadc"></stop><stop offset="1" stop-color="#dfe8f9"></stop></linearGradient><linearGradient id="m" x1="441.358" x2="329.96" y1="472.657" y2="361.259" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".15" stop-color="#9fb6cc"></stop><stop offset="1" stop-color="#bccde1"></stop></linearGradient><linearGradient id="n" x1="569.328" x2="454.912" y1="597.606" y2="483.19" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset=".15" stop-color="#afc5d8"></stop><stop offset="1" stop-color="#dfe8f9"></stop></linearGradient><linearGradient id="o" x1="562.331" x2="453.712" y1="598.807" y2="490.188" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#c7d4e5"></stop><stop offset=".687" stop-color="#e8eff8"></stop></linearGradient><linearGradient id="p" x1="219.375" x2="219.375" y1="553.783" y2="478.333" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#fad96e"></stop><stop offset="1" stop-color="#ffb32c"></stop></linearGradient><linearGradient id="q" x1="220.421" x2="220.421" y1="465.465" y2="489.367" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#f4ae98"></stop><stop offset="1" stop-color="#fad1bb"></stop></linearGradient><linearGradient id="r" x1="-840.016" x2="-828.333" y1="946.367" y2="864.11" gradientTransform="rotate(-8.082 -3028.264 -6569.32)" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#fad96e"></stop><stop offset="1" stop-color="#ffa91f"></stop></linearGradient><linearGradient id="s" x1="-7035.52" x2="-7023.838" y1="66.46" y2="-15.798" gradientTransform="scale(-1 1)rotate(-8.082 -118.132 -47761.005)" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#fad96e"></stop><stop offset="1" stop-color="#ffa91f"></stop></linearGradient><linearGradient id="t" x1="219.375" x2="219.375" y1="526.535" y2="574.482" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#275c89"></stop><stop offset="1" stop-color="#013f7c"></stop></linearGradient><linearGradient id="u" x1="6174.812" x2="6157.838" y1="595.174" y2="595.174" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#f4b9a4"></stop><stop offset=".652" stop-color="#fad1bb"></stop></linearGradient><linearGradient id="v" x1="196.36" x2="283.925" y1="576.466" y2="576.466" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#18264b"></stop><stop offset=".652" stop-color="#2d3c65"></stop></linearGradient><linearGradient id="w" x1="176.617" x2="176.617" y1="604.946" y2="586.928" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#4673bc"></stop><stop offset=".652" stop-color="#6a94e0"></stop></linearGradient><linearGradient id="x" x1="238.667" x2="255.641" y1="595.174" y2="595.174" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#f4b9a4"></stop><stop offset=".652" stop-color="#fad1bb"></stop></linearGradient><linearGradient id="y" x1="158.041" x2="245.606" y1="576.466" y2="576.466" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#445677"></stop><stop offset="1" stop-color="#293861"></stop></linearGradient><linearGradient id="z" x1="265.35" x2="265.35" y1="604.946" y2="586.928" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#4673bc"></stop><stop offset=".652" stop-color="#6a94e0"></stop></linearGradient><linearGradient id="A" x1="236.065" x2="204.828" y1="459.983" y2="459.983" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#f4b9a4"></stop><stop offset=".652" stop-color="#fad1bb"></stop></linearGradient><linearGradient id="B" x1="200.53" x2="236.795" y1="447.908" y2="447.908" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" stop-color="#4f5c7c"></stop><stop offset="1" stop-color="#274168"></stop></linearGradient></defs><path fill="url(#a)" d="M482.38 201.33c-38.37 30.29-120.74 33.81-181.17-2.22s-172-31.38-202.22 34.87 37.19 131.33 12.78 178.98S6.01 528.01 61.8 609.36s126.6 60.62 169.22 52.45c84.17-16.13 189.79 115.67 308.62 16.13 68.47-57.35 170.44 42.09 210.17-81.36 32.78-101.86-85.67-139.5-49.97-208.03 37.96-72.88 30.67-159.24-10.46-201.06-38.31-38.96-140.75-38.46-207 13.84"></path><path fill="url(#b)" d="M393.48 423.31h216.44l-22.53 49.03s59.19 57.86-14.13 121.91c-134.28-44.17-221.74-37.1-219.98-38.87 1.77-1.77 40.2-132.07 40.2-132.07"></path><path fill="url(#c)" d="M115.65 403.91s-.22-.57-.52.04c-2.7 5.49-27.15 64.96-29.09 110.86 0 0-4.08 26.37 30.11 26.02 28.54-.29 27.78-24.6 27.68-32.79-.38-33.22-28.18-104.13-28.18-104.13"></path><path fill="url(#d)" d="M114.87 570.03c-.55 0-1-.45-1-1V419.9c0-.55.45-1 1-1s1 .45 1 1v149.13c0 .56-.45 1-1 1"></path><path fill="url(#e)" d="M616.5 361.15s-.14-.37-.33.03c-1.74 3.53-17.48 41.83-18.73 71.38 0 0-2.63 16.98 19.39 16.76 18.38-.18 17.89-15.84 17.82-21.11-.25-21.4-18.15-67.06-18.15-67.06"></path><path fill="url(#f)" d="M616 468.12c-.36 0-.64-.29-.64-.64v-96.02c0-.36.29-.64.64-.64.36 0 .64.29.64.64v96.02c0 .35-.28.64-.64.64"></path><path fill="url(#g)" d="M689.88 527.7c0 9.48-7.69 17.17-17.17 17.17s-17.17-7.69-17.17-17.17 7.69-17.17 17.17-17.17 17.17 7.69 17.17 17.17"></path><path fill="url(#h)" d="M672.77 570.13c-.29 0-.53-.24-.53-.53v-54.2c0-.29.24-.53.53-.53s.53.24.53.53v54.21c0 .29-.24.52-.53.52"></path><path fill="url(#i)" d="M479.29 116.81c0 19.19-15.56 34.75-34.75 34.75s-34.75-15.56-34.75-34.75 15.56-34.75 34.75-34.75 34.75 15.56 34.75 34.75"></path><path fill="url(#j)" d="M464.32 135.76h-34.57c-2.23-10.61-11.65-18.58-22.93-18.58s-20.69 7.97-22.93 18.58h-9.05c-10.73 0-19.44 8.7-19.44 19.44 0 10.73 8.7 19.44 19.44 19.44h89.47c10.73 0 19.44-8.7 19.44-19.44s-8.7-19.44-19.43-19.44"></path><path fill="url(#k)" d="M235.65 388.64c0-24.52-.03-49.03.01-73.54.02-14.37 4.24-18.36 17.97-20.53 41.87-6.61 82.03-18.72 117.91-42.29 10.38-6.82 18.3-7.59 29.06-.47 34.85 23.06 73.26 37.11 114.55 42.8 13.12 1.81 16.84 5.88 16.85 19.25.04 45.72-.4 91.44.18 137.15.34 26.77-8.17 49.99-24.02 70.73-31.46 41.17-74.88 63.76-122.21 80.03-2.5.86-5.83.67-8.36-.23-38.47-13.74-74.58-31.84-104.15-61.09-22.97-22.73-37.84-49.56-37.79-83.22.03-22.87 0-45.73 0-68.59"></path><path fill="url(#l)" d="M234.76 396.09c0-23.21-.03-46.42.01-69.63.02-13.61 4.06-17.38 17.23-19.43 40.15-6.26 78.67-17.72 113.07-40.04 9.95-6.46 17.55-7.18 27.86-.44 33.42 21.83 70.25 35.14 109.84 40.52 12.58 1.71 16.14 5.56 16.15 18.22.03 43.28-.38 86.57.18 129.84.33 25.34-7.83 47.33-23.03 66.96-30.17 38.98-71.81 60.36-117.19 75.77-2.4.81-5.59.64-8.01-.22-36.89-13.01-71.52-30.14-99.87-57.84-22.03-21.52-36.28-46.91-36.23-78.78.02-21.65 0-43.29-.01-64.93"></path><path fill="url(#m)" d="M398.42 430.39c23.18-5.61 40.41-26.11 40.41-50.49 0-28.68-23.85-52.01-53.17-52.01s-53.17 23.33-53.17 52.01c0 24.38 17.24 44.88 40.41 50.49v85.2h25.52v-36.38h32.67v-24.96h-32.67zM358 379.91c0-14.91 12.41-27.05 27.65-27.05S413.3 365 413.3 379.91s-12.41 27.05-27.65 27.05S358 394.82 358 379.91"></path><path fill="#fff" d="M394.5 433.67c21.8-5.39 38.01-25.1 38.01-48.54 0-27.58-22.43-50.01-50.01-50.01s-50.01 22.43-50.01 50.01c0 23.44 16.21 43.15 38.01 48.54v81.92h24v-34.98h30.73v-24H394.5zm-38.01-48.54c0-14.34 11.67-26.01 26.01-26.01s26.01 11.67 26.01 26.01-11.67 26.01-26.01 26.01-26.01-11.67-26.01-26.01"></path><path fill="url(#n)" d="M593.02 540.4c0 44.68-36.22 80.9-80.9 80.9s-80.9-36.22-80.9-80.9 36.22-80.9 80.9-80.9 80.9 36.22 80.9 80.9"></path><path fill="url(#o)" d="M584.83 544.5c0 42.42-34.39 76.81-76.81 76.81s-76.81-34.39-76.81-76.81 34.39-76.81 76.81-76.81 76.81 34.39 76.81 76.81"></path><path fill="#fff" d="m525.32 542.26 23.01-23.01c4.44-4.44 4.44-11.63 0-16.06-4.44-4.44-11.63-4.44-16.06 0l-23.01 23.01-23.01-23.01c-4.44-4.44-11.63-4.44-16.06 0-4.44 4.44-4.44 11.63 0 16.06l23.01 23.01-23.01 23.01c-4.44 4.44-4.44 11.63 0 16.06 2.22 2.22 5.13 3.33 8.03 3.33s5.81-1.11 8.03-3.33l23.01-23.01 23.01 23.01c2.22 2.22 5.13 3.33 8.03 3.33s5.81-1.11 8.03-3.33c4.44-4.44 4.44-11.63 0-16.06z"></path><path fill="url(#p)" d="M211.59 478.69s-18.31-2.53-24.25 5.88c-5.95 8.41-8.12 29.95-8.12 29.95l13.78-.73-1.16 25.09 25.42 14.9 36.22-19.48-5.51-22.73 11.57-3.02s-3.45-32.99-19.55-28.12c-8.27.89-10.88.74-10.88.74s-2.18 6.94-9.65 6.35-7.87-8.83-7.87-8.83"></path><path fill="url(#q)" d="m213.42 468.32-3.8 16.97c-.18.8.24 1.61.99 1.92 1.97.8 5.9 2.16 9.95 2.16 4.2 0 8.16-2.3 9.98-3.53.63-.42.89-1.21.65-1.93l-5.82-17.31a1.68 1.68 0 0 0-1.88-1.12l-8.72 1.55c-.67.12-1.2.63-1.35 1.29"></path><path fill="url(#r)" d="M190.69 481.63c5.33-1.77 12.55-.59 12.85 11.37.29 11.95-11.42 31-7.22 37.63 4.25 6.71 13.34 16.25 19.12 21.68-1.34 6.38-4.98 11.75-4.98 11.75s-21.31-9.83-30.59-19.68-4.6-32.43-.3-48.5c3.24-12.12 11.12-14.25 11.12-14.25"></path><path fill="url(#s)" d="M246.53 481.63c-5.33-1.77-12.55-.59-12.85 11.37-.29 11.95 11.42 31 7.22 37.63-4.25 6.71-13.34 16.25-19.12 21.68 1.34 6.38 4.98 11.75 4.98 11.75s21.31-9.83 30.59-19.68 4.6-32.43.3-48.5c-3.24-12.12-11.12-14.25-11.12-14.25"></path><path fill="url(#t)" d="M193.27 574.48h51.74c2.34 0 4.44-1.78 5.25-4.45l10.43-34.31c1.35-4.45-1.35-9.19-5.25-9.19h-72.12c-3.86 0-6.57 4.65-5.28 9.09l9.96 34.31c.79 2.73 2.9 4.55 5.27 4.55"></path><path fill="#fff" d="M191.21 590.26s-.8-1.76-1.41-1.95c-.62-.19-9.46-.54-12.69-1.38s-12.54-2.16-16.52 1.61c-3.47 3.29-4.62 10.97.67 15.39 1.98 1.72 3.93 2.23 11.28 1.89s18-.27 20.34-3.67c-.09-5.63-1.67-11.89-1.67-11.89"></path><path fill="url(#u)" d="M199.42 588.31s-8.54 1.92-11.6 1.64c-3.05-.28-.5 12.02-.5 12.02s8.16.56 15.37-1.52c2.44-9.43-3.27-12.14-3.27-12.14"></path><path fill="url(#v)" d="m196.36 587.86 4.44 13.81s95.43-12.57 81.79-43.54c-11.4-25.89-86.23 29.73-86.23 29.73"></path><path fill="url(#w)" d="M190.1 588.93s3.5 1.37 3.94 6.24-1 8.15-8.43 9.05-9.32.56-13.98.68c-4.66.11-11.43.56-12.43-8.3s8.06-11.12 17.46-8.86c2.95.57 13.44 1.19 13.44 1.19"></path><path fill="#fff" d="M250.76 590.26s.8-1.76 1.41-1.95c.62-.19 9.46-.54 12.69-1.38s11.9-2.23 16.28 1.51c4.06 3.47 4.33 11.14-.3 15.37-1.98 1.72-4.07 2.35-11.42 2.01s-18-.27-20.34-3.67c.09-5.63 1.68-11.89 1.68-11.89"></path><path fill="url(#x)" d="M242.55 588.31s8.54 1.92 11.6 1.64.5 12.02.5 12.02-8.16.56-15.37-1.52c-2.45-9.43 3.27-12.14 3.27-12.14"></path><path fill="url(#y)" d="m245.61 587.86-4.44 13.81s-95.43-12.57-81.79-43.54c11.4-25.89 86.23 29.73 86.23 29.73"></path><path fill="url(#z)" d="M251.87 588.93s-3.5 1.37-3.94 6.24 1 8.15 8.43 9.05 9.32.56 13.98.68c4.66.11 11.43.56 12.43-8.3s-8.06-11.12-17.46-8.86c-2.96.57-13.44 1.19-13.44 1.19"></path><path fill="url(#A)" d="M235.39 461.53c.57-.81.93-2.88.46-3.48-.84-.68-1.63-.29-2.23.3.14-4.94-.31-9.05-.42-10.09-.31-3.03-3.39-8.58-13.46-8.58s-12.03 7.27-12.03 7.27-.66 5.14-.46 11.38c-.6-.57-1.39-.95-2.21-.28-.46.61-.1 2.68.46 3.48.57.81.93 2.73 1.03 3.79.1 1.01-.63 3.69 2.02 3.35 1.58 6.33 7.99 11.61 11.96 11.61 4.35 0 10.13-5.32 11.77-11.62 2.71.37 1.97-2.33 2.07-3.35.12-1.05.48-2.97 1.04-3.78"></path><path fill="url(#B)" d="M227 437.52s-1.97-6.19-9.5-4.71c-7.54 1.48-8.05 5.04-11 5.18-5.05.24-9.09 6.53-2.61 13.19 2.88 2.97.45 4.24 1.82 6.87s1.36 5.18 1.36 5.18 2.41-7.69.82-10.97c-.82-1.69 2.81-2.15 7.33-1.75s11.65-1.09 12.21-4.17c1.34 6.31 2.67 6.97 4.37 7.93s1.8 8.58 1.8 8.58.3-5.6 1.48-6.87c.98-2.07 2.88-10.2.73-12.17s-.35-8.29-8.81-6.29"></path>',33)]))}const hn={render:un},gn={},bn={class:"wrapper"},yn={class:"content"};function Cn(t,n){const o=e.resolveComponent("el-button");return e.openBlock(),e.createElementBlock("div",bn,[n[4]||(n[4]=e.createElementVNode("img",{src:hn},null,-1)),e.createElementVNode("div",yn,[n[3]||(n[3]=e.createElementVNode("h1",null,"You have no permission to access the page.",-1)),e.createVNode(o,{type:"primary"},{default:e.withCtx(()=>n[1]||(n[1]=[e.createTextVNode("Apply")])),_:1}),e.createVNode(o,{onClick:n[0]||(n[0]=r=>t.$router.go(-1))},{default:e.withCtx(()=>n[2]||(n[2]=[e.createTextVNode("Go Back")])),_:1})])])}const Dt=j(gn,[["render",Cn],["__scopeId","data-v-0155b361"]]),wn={};function _n(t,n){const o=e.resolveComponent("router-view");return e.openBlock(),e.createBlock(o)}const Mt=j(wn,[["render",_n]]),En={class:"card-wrapper"},kn=["onClick"],Sn={class:"card-inner-wrapper"},An={class:"card-title"},Vn={class:"icon"},$e=j(e.defineComponent({__name:"TabCard",props:{cards:{},tableRef:{}},setup(t){const{t:n}=pe.useI18n(),o=Q.useRoute(),r=Q.useRouter(),s=t,a=e.ref(s.cards[0].key);function i(l){l.disabled||(a.value=l.key,s.tableRef.updateConfigAndRefresh(l.model),r.push({path:o.path,query:Lt(Fe({},o.query),{tab:l.key})}))}return e.onMounted(()=>{let l;if(o.query.tab!==void 0){for(let c of s.cards)if(c.key===o.query.tab){a.value=c.key,l=c;break}}e.nextTick(()=>{s.tableRef&&s.cards&&s.cards.length>0&&s.tableRef.updateConfigAndRefresh((l!=null?l:s.cards[0]).model)})}),e.watch(()=>s.cards,l=>{if(o.query.tab!==void 0){for(let c of s.cards)if(c.key===o.query.tab){a.value=c.key;break}}else l&&l.length>0&&(a.value=l[0].key,s.tableRef.updateConfigAndRefresh(s.cards[0].model))},{deep:!0}),(l,c)=>(e.openBlock(),e.createElementBlock("div",En,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.cards,f=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["card",{"card-selected":a.value===f.key}]),onClick:y=>i(f)},[e.createElementVNode("div",Sn,[e.createElementVNode("div",An,[e.createElementVNode("div",Vn,[f.icon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(f.icon),{key:0,class:"svg-icon"})):e.createCommentVNode("",!0)]),e.createElementVNode("span",{style:e.normalizeStyle({color:f.disabled?"#aaa":"black"})},e.toDisplayString(e.unref(n)(f.label)),5)]),e.createElementVNode("span",null,e.toDisplayString(f.count),1)])],10,kn))),256))]))}}),[["__scopeId","data-v-047a86e6"]]);function me(t,n,o){switch(n){case"POST":return v.post(t,o);case"PUT":return v.put(t,o);case"DELETE":return v.delete(t+"/"+o);default:return v.get(t,{params:o})}}const Ne=t=>{const n=Object.keys(t);let o={};n.forEach(r=>{o[r]=void 0}),Object.assign(t,o)},Nn={key:1,class:"view-span"},Tt=j(e.defineComponent({__name:"FormView",props:{id:{},sessionId:{},mode:{},model:{},closeDialogFunc:{type:Function},afterSubmitFunc:{type:Function}},emits:["update:id"],setup(t,{expose:n,emit:o}){const{t:r}=Se.global,s=t,a=e.reactive({}),i=e.ref(!1),l=e.ref(),c=e.reactive({}),f=e.ref(!0),y=w=>s.mode==="view"&&(P(w,void 0)||P(w,"input")||P(w,"select")||P(w,"password")),h=e.computed(()=>s.model.fields?s.model.fields.filter(w=>{var A,p,d,g;let u=w.visible!==!1&&((A=w.formItemAttributes)==null?void 0:A.visible)!==!1;if(s.mode!=="view"&&((p=w.formItemAttributes)==null?void 0:p.editable)===!1||s.mode==="view"&&((d=w.formItemAttributes)==null?void 0:d.type)==="password")return!1;let _=(g=w.formItemAttributes)==null?void 0:g.showCondition;return _&&_.field&&_.value?a[_.field]===_.value:u}):[]);e.watch([()=>s.id,()=>s.sessionId],()=>{N()});function I(){const w=s.model.fields;let u={};w==null||w.forEach(_=>{var A,p,d,g,k,x,U,C,B;if(a[_.prop]=null,_.visible!==!1&&((A=_.formItemAttributes)==null?void 0:A.visible)!==!1){if(((p=_.formItemAttributes)==null?void 0:p.defaultValue)!==void 0?a[_.prop]=(d=_.formItemAttributes)==null?void 0:d.defaultValue:a[_.prop]=void 0,s.mode!=="view"){let L=(g=_.formItemAttributes)==null?void 0:g.validationRule;L!==void 0&&(u[_.prop]=L),Object.assign(c,u)}const b=_.formItemAttributes,m=b==null?void 0:b.type,E=(k=b==null?void 0:b.selectAttributes)==null?void 0:k.api,M=(x=b==null?void 0:b.selectAttributes)==null?void 0:x.valueMappingField,X=(U=b==null?void 0:b.selectAttributes)==null?void 0:U.labelMappingField;if(m==="select"&&E){let L=E;const Z=(C=b==null?void 0:b.selectAttributes)==null?void 0:C.queryParamName,ne=(B=b==null?void 0:b.selectAttributes)==null?void 0:B.queryParamValueField;Z&&(L=`${L}?${Z}=${s.id}`),ne||me(L,"GET",{}).then(({data:W})=>{var $;if(($=_.formItemAttributes)!=null&&$.selectAttributes){let q=[];Array.isArray(W.data)?q=W.data:W.data.list&&Array.isArray(W.data.list)&&(q=W.data.list),_.formItemAttributes.selectAttributes.options=q.map(F=>({value:M?F[M]:F.value,label:X?F[X]:F.label}))}})}}})}function N(){var w;console.log("init form",s.id,s.model),O(),f.value=(w=s.model.useI18n)!=null?w:!0,I(),(s.mode==="update"||s.mode==="view")&&s.id!==void 0&&s.id!==""&&s.model.api!==""&&(i.value=!0,me(`${s.model.api}/${s.id}`,"GET",{}).then(({data:u})=>{Ne(a),Object.assign(a,u.data),i.value=!1}))}function T(){return new Promise((w,u)=>{var A,p,d,g;((p=(A=s.model.formConfig)==null?void 0:A.functions)==null?void 0:p.beforeSubmit)!==void 0&&Object.assign(a,(g=(d=s.model.formConfig)==null?void 0:d.functions)==null?void 0:g.beforeSubmit(a));let _=s.mode==="create"?"POST":"PUT";s.model.api&&me(s.model.api,_,a).then(({data:k})=>{var x,U,C,B;k.code===0&&(s.closeDialogFunc&&s.closeDialogFunc(),((U=(x=s.model.formConfig)==null?void 0:x.functions)==null?void 0:U.afterSubmit)!==void 0&&((B=(C=s.model.formConfig)==null?void 0:C.functions)==null||B.afterSubmit(k.data)),s.afterSubmitFunc&&s.afterSubmitFunc(),w())})})}function O(){var w;(w=l.value)==null||w.resetFields()}function D(w){return w.label?f?r(w.label):w.label:w.prop.slice(0,1).toUpperCase()+w.prop.slice(1).toLowerCase()}function S(w){var u,_,A,p;if(w){if(P(w,"select")){const d=(_=(u=w.tableColumnAttributes)==null?void 0:u.functions)==null?void 0:_.transformValue;if(d)return d(a[w.prop]);const g=(p=(A=w.formItemAttributes)==null?void 0:A.selectAttributes)==null?void 0:p.viewModeLabelField;if(g)return a[g]}return a[w.prop]}}function K(w){var u;return((u=w.formItemAttributes)==null?void 0:u.updatable)===!1&&s.mode==="update"}function R(w,u){var A,p;const _=(p=(A=u.formItemAttributes)==null?void 0:A.type)!=null?p:"input";switch(w){case"input":return s.mode==="view"?!1:_==="input"||_==="password";case"select":return!0;default:return console.log("Error: unrecognized form component type: ",w),!0}}function P(w,u){var _;return((_=w.formItemAttributes)==null?void 0:_.type)===u}function z(w){var u;for(let _ of s.model.fields){const A=(u=_.formItemAttributes)==null?void 0:u.selectAttributes;if(!(!_.formItemAttributes||_.formItemAttributes.type!=="select"||!A||!A.queryParamValueField)&&A.queryParamValueField===w.prop){const p=A.api;if(p){let d=p;const g=A.queryParamName;g&&(d=`${d}?${g}=${a[A.queryParamValueField]}`),me(d,"GET",{}).then(({data:k})=>{if(A){let x=[];Array.isArray(k.data)?x=k.data:k.data.list&&Array.isArray(k.data.list)&&(x=k.data.list),A.options=x.map(U=>({value:A.valueMappingField?U[A.valueMappingField]:U.value,label:A.labelMappingField?U[A.labelMappingField]:U.label}))}})}}}}return e.onMounted(()=>{N()}),n({refresh:N,reset:O,submit:T,formData:a}),(w,u)=>{const _=e.resolveComponent("el-input"),A=e.resolveComponent("el-switch"),p=e.resolveComponent("el-date-picker"),d=e.resolveComponent("el-option"),g=e.resolveComponent("el-select"),k=e.resolveComponent("el-form-item"),x=e.resolveComponent("el-form"),U=e.resolveDirective("loading");return e.withDirectives((e.openBlock(),e.createBlock(x,{ref_key:"formRef",ref:l,model:a,rules:c,"label-width":"auto","label-position":"left","require-asterisk-position":"right",inline:!0},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value,C=>(e.openBlock(),e.createBlock(k,{class:"form-item",prop:C.prop,label:D(C)},{default:e.withCtx(()=>{var B;return[R("input",C)?(e.openBlock(),e.createBlock(_,{key:0,type:P(C,"password")?"password":"text",modelValue:a[C.prop],"onUpdate:modelValue":b=>a[C.prop]=b,placeholder:(B=C.formItemAttributes)==null?void 0:B.placeholder,disabled:K(C)},null,8,["type","modelValue","onUpdate:modelValue","placeholder","disabled"])):e.createCommentVNode("",!0),y(C)?(e.openBlock(),e.createElementBlock("span",Nn,e.toDisplayString(S(C)),1)):e.createCommentVNode("",!0),P(C,"switch")?(e.openBlock(),e.createBlock(A,{key:2,modelValue:a[C.prop],"onUpdate:modelValue":b=>a[C.prop]=b},null,8,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0),P(C,"datepicker")?(e.openBlock(),e.createBlock(p,{key:3,type:"date",modelValue:a[C.prop],"onUpdate:modelValue":b=>a[C.prop]=b},null,8,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0),P(C,"select")&&w.mode!=="view"?(e.openBlock(),e.createBlock(g,{key:4,modelValue:a[C.prop],"onUpdate:modelValue":b=>a[C.prop]=b,disabled:K(C),onChange:b=>z(C)},{default:e.withCtx(()=>{var b,m;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((m=(b=C.formItemAttributes)==null?void 0:b.selectAttributes)==null?void 0:m.options,E=>(e.openBlock(),e.createBlock(d,{value:E.value,label:E.label},null,8,["value","label"]))),256))]}),_:2},1032,["modelValue","onUpdate:modelValue","disabled","onChange"])):e.createCommentVNode("",!0)]}),_:2},1032,["prop","label"]))),256))]),_:1},8,["model","rules"])),[[U,i.value]])}}}),[["__scopeId","data-v-aeba890e"]]),Bn={class:"dialog-footer"},In={class:"operation-button-wrapper"},Ut=j(e.defineComponent({__name:"FormDialog",props:{id:{},mode:{},model:{},visible:{type:Boolean},afterSubmitFunc:{type:Function}},emits:["update:visible","update:id"],setup(t,{expose:n,emit:o}){const{t:r}=pe.useI18n(),s=t,a=e.ref(0),i=o,l=e.ref();e.watch(()=>s.visible,()=>{s.visible&&a.value++});function c(){l.value&&l.value.refresh()}function f(){i("update:visible",!1),l.value.reset()}function y(){l.value.submit()}return n({close:f,refresh:c}),(h,I)=>{const N=e.resolveComponent("el-button"),T=e.resolveComponent("el-dialog");return e.openBlock(),e.createBlock(T,{title:"Edit","model-value":s.visible,width:"800px",onClose:f},{footer:e.withCtx(()=>{var O;return[e.createElementVNode("div",Bn,[e.createElementVNode("div",In,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((O=s.model.formConfig)==null?void 0:O.dialogButtons,D=>(e.openBlock(),e.createBlock(N,{onClick:S=>D.function(l.value.formData)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)(D.label)),1)]),_:2},1032,["onClick"]))),256))]),e.createElementVNode("div",null,[e.createVNode(N,{onClick:f},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("common.basic.cancel")),1)]),_:1}),e.createVNode(N,{type:"primary",onClick:y},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("common.basic.save")),1)]),_:1})])])]}),default:e.withCtx(()=>[e.createVNode(Tt,{ref_key:"formViewRef",ref:l,id:s.id,sessionId:a.value,mode:s.mode,model:s.model,afterSubmitFunc:s.afterSubmitFunc,closeDialogFunc:f},null,8,["id","sessionId","mode","model","afterSubmitFunc"])]),_:1},8,["model-value"])}}}),[["__scopeId","data-v-d1628662"]]),xn={class:"toolbar"},On={class:"tool-buttons"},Dn={class:"tool-buttons"},Mn={key:1},Be=j(e.defineComponent({__name:"TableView",props:{model:{}},setup(t,{expose:n}){const{t:o}=Se.global,r=t,s=e.reactive([]),a=e.reactive({showPane:!0}),i=e.ref(""),l=e.ref(!0),c=e.ref(!1),f=Q.useRouter(),y=e.ref(""),h=e.reactive([]),I=e.reactive([]),N=e.ref(),T=e.ref([]),O=e.ref("create"),D=e.ref(!0),S=e.ref(!1),K=e.ref(""),R=e.reactive({pageSize:10,pageNo:1,totalElements:0}),P=e.computed(()=>s.filter(m=>{var E,M;return((E=m.formItemAttributes)==null?void 0:E.type)!=="password"&&m.visible!==!1&&((M=m.tableColumnAttributes)==null?void 0:M.visible)!==!1}));function z(m,E){var Z,ne,W,$;let M=E.row[m.prop];const X=(ne=(Z=m.tableColumnAttributes)==null?void 0:Z.functions)==null?void 0:ne.transformValue,L=(W=m.tableColumnAttributes)==null?void 0:W.transformValueMappings;if(X)M=X(M);else if(L&&L.length>0){for(let q of L)if(M===q.value){M=o(q.label);break}}else if((($=m.formItemAttributes)==null?void 0:$.type)==="select"){const q=m.formItemAttributes.selectAttributes;if(q){if(q.viewModeLabelField)M=E.row[q.viewModeLabelField];else if(q.options&&q.options.length>0){for(let F of q.options)if(F.value===E.row[m.prop]){M=F.label;break}}}}return M}function w(m,E){var M,X;return m.label?o(m.label):(X=(M=m.functions)==null?void 0:M.transformLabel)==null?void 0:X.call(M,E.$index,E.row)}function u(m){Ne(r.model),Object.assign(r.model,m)}function _(){var E,M,X;if(D.value=!0,!r.model||!r.model.api)return;Ne(a),a.showPane=!0,Object.assign(a,(E=r.model.tableConfig)!=null?E:{}),s.splice(0,s.length,...r.model.fields),i.value=(M=r.model.route)!=null?M:"",l.value=(X=r.model.useI18n)!=null?X:!0;let m=Fe({},a.queryParams);m.pageSize=R.pageSize,m.pageNo=R.pageNo,m.search=y.value,me(r.model.api,"GET",m).then(({data:L})=>{const{list:Z,totalCount:ne}=L.data;h.splice(0,h.length,...Z),R.totalElements=ne,D.value=!1})}function A(){var m,E;a.createPageRoutePath!==void 0?f.push(a.createPageRoutePath):((m=a.functions)==null?void 0:m.create)!==void 0?(E=a.functions)==null||E.create():(O.value="create",K.value="",c.value=!0)}function p(m,E){r.model.api&&me(r.model.api,"DELETE",E.id).then(({data:M})=>{M.code===0&&(c.value=!1,_())})}function d(){he.ElMessageBox.confirm("The selected items will be deleted. Continue?",o("common.table.warning"),{confirmButtonText:o("common.basic.confirm"),cancelButtonText:o("common.basic.cancel"),type:"warning"}).then(()=>{var m,E;if(((m=a.functions)==null?void 0:m.batchDelete)!==void 0)(E=a.functions)==null||E.batchDelete(T.value);else{const M=T.value.map(X=>X.id);v.delete(`${r.model.api}/${M.join(",")}`).then(({data:X})=>{X.code===0&&(c.value=!1,_())})}N.value.clearSelection()}).catch(()=>{N.value.clearSelection()})}function g(m){R.pageSize=m,_()}function k(m){R.pageNo=m,_()}function x(m,E){a.editPageRoutePath!==void 0?f.push({path:a.editPageRoutePath,query:{id:E.id}}):(K.value=E.id,O.value="update",c.value=!0)}function U(){let m=window.location.origin+r.model.api+"/export";const E=a.queryParams;E!==void 0&&Object.keys(E).length>0&&(m+="?",Object.entries(a.queryParams).map(M=>{m+=`${M[0]}=${M[1]}&`})),window.open(m)}function C(m){T.value=m}function B(m){return m.label?l.value?o(m.label):m.label:m.prop.slice(0,1).toUpperCase()+m.prop.slice(1).toLowerCase()}function b(m){m?(S.value=!0,I.splice(0,I.length,...h),h.splice(0,h.length,...T.value)):(S.value=!1,h.splice(0,h.length,...I))}return e.watch(()=>r.model,()=>{_()},{deep:!0,immediate:!0}),n({multipleSelection:T,refresh:_,updateConfigAndRefresh:u}),(m,E)=>{const M=e.resolveComponent("el-checkbox"),X=e.resolveComponent("el-badge"),L=e.resolveComponent("el-button"),Z=e.resolveComponent("el-icon"),ne=e.resolveComponent("el-tooltip"),W=e.resolveComponent("el-input"),$=e.resolveComponent("el-table-column"),q=e.resolveComponent("router-link"),F=e.resolveComponent("el-tag"),le=e.resolveComponent("el-popconfirm"),ce=e.resolveComponent("el-table"),Ie=e.resolveComponent("el-pagination"),Xn=e.resolveDirective("loading");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass({"table-view-wrapper":a.showPane})},[e.createElementVNode("div",xn,[e.createElementVNode("div",On,[a.selectMode?(e.openBlock(),e.createBlock(X,{key:0,value:T.value.length,type:"primary",class:"selected-badge"},{default:e.withCtx(()=>[e.createVNode(M,{class:"selected-checkbox",border:!0,label:e.unref(o)("common.table.viewSelected"),onChange:b},null,8,["label"])]),_:1},8,["value"])):e.createCommentVNode("",!0),!a.selectMode&&!a.readOnly?(e.openBlock(),e.createBlock(L,{key:1,type:"primary",onClick:A},{default:e.withCtx(()=>{var H,G;return[e.createTextVNode(e.toDisplayString(((H=a.labels)==null?void 0:H.create)!=null?e.unref(o)((G=a.labels)==null?void 0:G.create):e.unref(o)("common.table.create")),1)]}),_:1})):e.createCommentVNode("",!0),!a.selectMode&&!a.readOnly?(e.openBlock(),e.createBlock(L,{key:2,disabled:T.value.length==0,type:"danger",plain:"",onClick:d},{default:e.withCtx(()=>{var H,G;return[e.createTextVNode(e.toDisplayString(((H=a.labels)==null?void 0:H.delete)!=null?e.unref(o)((G=a.labels)==null?void 0:G.delete):e.unref(o)("common.table.delete")),1)]}),_:1},8,["disabled"])):e.createCommentVNode("",!0),e.createVNode(L,{icon:e.unref(re.Refresh),onClick:_},null,8,["icon"]),a.tooltip?(e.openBlock(),e.createBlock(ne,{key:3,effect:"dark",content:e.unref(o)(a.tooltip),placement:"right"},{default:e.withCtx(()=>[e.createVNode(Z,{style:{color:"#8ba74f"}},{default:e.withCtx(()=>[e.createVNode(e.unref(re.QuestionFilled))]),_:1})]),_:1},8,["content"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Dn,[a.export?(e.openBlock(),e.createBlock(L,{key:0,class:"button-export",onClick:U},{default:e.withCtx(()=>[e.createVNode(Z,null,{default:e.withCtx(()=>[e.createVNode(e.unref(re.Download))]),_:1})]),_:1})):e.createCommentVNode("",!0),e.createVNode(W,{placeholder:`${e.unref(o)("common.table.search")}...`,modelValue:y.value,"onUpdate:modelValue":E[0]||(E[0]=H=>y.value=H)},{append:e.withCtx(()=>[e.createVNode(L,{style:{"margin-left":"-20px"},icon:e.unref(re.Search),onClick:_},null,8,["icon"])]),_:1},8,["placeholder","modelValue"])])]),e.withDirectives((e.openBlock(),e.createBlock(ce,{border:!0,ref_key:"tableRef",ref:N,data:h,onSelectionChange:C,class:"table"},{default:e.withCtx(()=>{var H;return[a.readOnly?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock($,{key:0,type:"selection",width:"50"})),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(P.value,G=>{var ue;return e.openBlock(),e.createBlock($,{prop:G.prop,label:B(G),width:(ue=G.tableColumnAttributes)==null?void 0:ue.width,"show-overflow-tooltip":""},{default:e.withCtx(xe=>{var Ce,Oe;return[(Ce=G.tableColumnAttributes)!=null&&Ce.link?(e.openBlock(),e.createBlock(q,{key:0,class:"router-link",to:`/${i.value}/detail?id=${xe.row.id}`},{default:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(z(G,xe)),1)]),_:2},1032,["to"])):(e.openBlock(),e.createElementBlock("span",Mn,e.toDisplayString(z(G,xe)),1)),((Oe=G.tableColumnAttributes)==null?void 0:Oe.type)==="tag"?(e.openBlock(),e.createBlock(F,{key:2},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(xe.row[G.prop]),1)]),_:2},1024)):e.createCommentVNode("",!0)]}),_:2},1032,["prop","label","width"])}),256)),a.operations===void 0&&!((H=a.selectMode)!=null&&H)&&!a.readOnly?(e.openBlock(),e.createBlock($,{key:1,label:e.unref(o)("common.table.operation"),width:"120"},{default:e.withCtx(G=>[e.createVNode(L,{link:"",type:"primary",class:"operation-button",onClick:ue=>x(G.$index,G.row)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)("common.table.edit")),1)]),_:2},1032,["onClick"]),e.createVNode(le,{title:"Are you sure to delete this?",onConfirm:ue=>p(G.$index,G.row)},{reference:e.withCtx(()=>[e.createVNode(L,{link:"",type:"primary",class:"operation-button"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)("common.table.delete")),1)]),_:1})]),_:2},1032,["onConfirm"])]),_:1},8,["label"])):e.createCommentVNode("",!0),a.operations!==void 0&&!a.readOnly?(e.openBlock(),e.createBlock($,{key:2,label:e.unref(o)("common.table.operation"),width:"120"},{default:e.withCtx(G=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.operations,ue=>(e.openBlock(),e.createBlock(L,{class:"operation-button",link:"",type:"primary",key:ue.label,onClick:xe=>{var Ce,Oe;return((Oe=(Ce=ue.functions)==null?void 0:Ce.click)==null?void 0:Oe.call(Ce,G.$index,G.row))&&_()}},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(w(ue,G)),1)]),_:2},1032,["onClick"]))),128))]),_:1},8,["label"])):e.createCommentVNode("",!0)]}),_:1},8,["data"])),[[Xn,D.value]]),S.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Ie,{key:0,size:"small",background:"",onSizeChange:g,onCurrentChange:k,currentPage:R.pageNo,"onUpdate:currentPage":E[1]||(E[1]=H=>R.pageNo=H),"page-sizes":[10,20,50,100],"page-size":R.pageSize,layout:"total, sizes, prev, pager, next",total:R.totalElements},null,8,["currentPage","page-size","total"])),e.createVNode(Ut,{model:m.model,mode:O.value,id:K.value,afterSubmitFunc:_,visible:c.value,"onUpdate:visible":E[2]||(E[2]=H=>c.value=H)},null,8,["model","mode","id","visible"])],2)}}}),[["__scopeId","data-v-d37a3022"]]),Tn={class:"nav-bar"},Un={key:0,class:"info-card-wrapper"},Pn={class:"icon-wrapper"},Rn={class:"info-wrapper"},Qn={class:"title-wrapper"},Fn={class:"tabs-wrapper"},Ln={class:"dialog-footer"},Pt=j(e.defineComponent({__name:"DetailPage",setup(t){const{t:n}=pe.useI18n(),o=Q.useRoute(),r=Q.useRouter(),s=e.computed(()=>o.query.id),a=e.ref(!1),i=e.ref(!1),l=e.ref("view"),c=e.ref(),f=e.ref(-1),y=e.ref(),h=e.ref(),I=e.ref("summary"),N=e.ref(""),T=e.ref(""),O=e.ref(""),D=e.ref(0),S=e.reactive({api:"",fields:[]}),K=e.reactive([]);let R=[];e.watch([()=>r.currentRoute.value,ee],()=>{u()},{immediate:!0,deep:!0});function P(p){f.value=parseInt(p.index)-1}function z(){var k;let p=(k=R[f.value].api)==null?void 0:k.replace("/select","");p=p==null?void 0:p.substring(p.lastIndexOf("/"));const d=S.api+"/"+s.value+p,g=h.value.multipleSelection.map(x=>x.id);me(d,"POST",g).then(()=>{y.value.refresh(),i.value=!1})}function w(p,d,g){var U;g.functions||(g.functions={}),g.functions.create=()=>{i.value=!0,h.value&&h.value.refresh()};let k=se.cloneDeep(d);k.tableConfig||(k.tableConfig={}),k.tableConfig.selectMode=!0,k.tableConfig.queryParams={},p.queryParamName&&(k.tableConfig.queryParams[p.queryParamName]=s.value);for(var x in k.fields)k.fields[x].tableColumnAttributes&&(U=k.fields[x].tableColumnAttributes)!=null&&U.link&&(k.fields[x].tableColumnAttributes.link=!1);R.push(k),g.labels={create:"common.table.add",delete:"common.table.remove"},g.functions.batchDelete=C=>{var E;let B=(E=R[f.value].api)==null?void 0:E.replace("/select","");B=B==null?void 0:B.substring(B.lastIndexOf("/"));const b=S.api+"/"+s.value+B,m=C.map(M=>M.id);v.delete(`${b}/${m.join(",")}`).then(({data:M})=>{M.code===0&&y.value.refresh()})},g.operations=[{label:"common.table.remove",functions:{click:(C,B)=>{var E;let b=(E=R[f.value].api)==null?void 0:E.replace("/select","");b=b==null?void 0:b.substring(b.lastIndexOf("/"));const m=S.api+"/"+s.value+b;me(m,"DELETE",B.id).then(()=>{y.value.refresh()})}}}],k.api+="/select"}function u(){var k,x,U;K.splice(0);const p=o.params.model;if(ee.value[p]===void 0){console.warn("Detail page model not exist:",p);return}else console.debug("Detail page model found:",p,ee.value[p]);Ne(S);const d=se.cloneDeep(ee.value[p]);Object.assign(S,d),D.value++,f.value=-1,I.value="summary";const g=(x=(k=S.pageConfig)==null?void 0:k.detailPage)==null?void 0:x.tabs;if(g)for(let C of g){const B=se.cloneDeep(ee.value[C.modelKey]);if(K.push(B),C.type==="table"){B.tableConfig||(B.tableConfig={});let b=B.tableConfig;b.showPane=!1,C.modelRelationType==="associated"?w(C,B,b):C.modelRelationType==="child"&&(R.push({fields:[]}),B.formConfig===void 0&&(B.formConfig={}),B.formConfig.functions===void 0&&(B.formConfig.functions={}),C.queryParamName&&(B.formConfig.functions.beforeSubmit=m=>{m[C.queryParamName]=s.value})),b.queryParams||(b.queryParams={}),C.queryParamName&&(b.queryParams[C.queryParamName]=s.value),C.queryParams&&Object.assign(b.queryParams,C.queryParams),b.readOnly=(U=C.readOnly)!=null?U:!1,C.includeFields&&(B.fields=B.fields.filter(m=>{var E;return(E=C.includeFields)==null?void 0:E.includes(m.prop)})),C.excludeFields&&(B.fields=B.fields.filter(m=>{var E;return!((E=C.excludeFields)!=null&&E.includes(m.prop))})),C.tooltip&&(b.tooltip=C.tooltip)}}}e.watch([()=>{var p,d;return(d=(p=S.pageConfig)==null?void 0:p.detailPage)==null?void 0:d.infoCard},()=>{var p;return(p=c.value)==null?void 0:p.formData}],p=>{e.nextTick(()=>{var g,k,x;const d=(k=(g=S.pageConfig)==null?void 0:g.detailPage)==null?void 0:k.infoCard;d&&(N.value=d.titleFieldProp?c.value.formData[d.titleFieldProp]:"",T.value=d.subtitleFieldProp?c.value.formData[d.subtitleFieldProp]:"",O.value=d.tagFieldProp?c.value.formData[d.tagFieldProp]:"",(x=S.fields)==null||x.forEach(U=>{var C,B;if(U.prop===d.tagFieldProp){const b=(B=(C=U.tableColumnAttributes)==null?void 0:C.functions)==null?void 0:B.transformValue;b&&(O.value=b(O.value))}}))})},{immediate:!0,deep:!0});function _(){a.value=!0}function A(){c.value.refresh()}return(p,d)=>{var L,Z,ne,W,$,q;const g=e.resolveComponent("el-breadcrumb-item"),k=e.resolveComponent("el-breadcrumb"),x=e.resolveComponent("el-button"),U=e.resolveComponent("el-icon"),C=e.resolveComponent("el-dropdown-item"),B=e.resolveComponent("el-dropdown-menu"),b=e.resolveComponent("el-dropdown"),m=e.resolveComponent("el-tag"),E=e.resolveComponent("el-tab-pane"),M=e.resolveComponent("el-tabs"),X=e.resolveComponent("el-dialog");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",Tn,[e.createVNode(k,null,{default:e.withCtx(()=>{var F,le;return[e.createVNode(g,{to:{path:`/${(le=(F=S==null?void 0:S.breadcrumbRoute)!=null?F:S==null?void 0:S.route)!=null?le:""}`}},{default:e.withCtx(()=>{var ce;return[e.createTextVNode(e.toDisplayString(e.unref(n)((ce=S==null?void 0:S.name)!=null?ce:"")),1)]}),_:1},8,["to"]),e.createVNode(g,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.basic.detail")),1)]),_:1})]}),_:1}),e.createElementVNode("div",null,[e.createVNode(x,{type:"primary",onClick:_},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.table.edit")),1)]),_:1}),e.createVNode(x,{type:"danger",plain:"",disabled:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.table.delete")),1)]),_:1}),((Z=(L=S.pageConfig)==null?void 0:L.detailPage)==null?void 0:Z.operationButtons)!==void 0?(e.openBlock(),e.createBlock(b,{key:0},{dropdown:e.withCtx(()=>[e.createVNode(B,null,{default:e.withCtx(()=>{var F,le;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((le=(F=S.pageConfig)==null?void 0:F.detailPage)==null?void 0:le.operationButtons,ce=>(e.openBlock(),e.createBlock(C,{onClick:Ie=>ce.function(c.value.formData)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)(ce.label)),1)]),_:2},1032,["onClick"]))),256))]}),_:1})]),default:e.withCtx(()=>[e.createVNode(x,{style:{margin:"0 10px"}},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.basic.more")),1),e.createVNode(U,{class:"el-icon--right"},{default:e.withCtx(()=>[e.createVNode(e.unref(re.ArrowDown))]),_:1})]),_:1})]),_:1})):e.createCommentVNode("",!0),e.createVNode(x,{icon:e.unref(re.Refresh),onClick:A},null,8,["icon"])])]),(W=(ne=S.pageConfig)==null?void 0:ne.detailPage)!=null&&W.infoCard?(e.openBlock(),e.createElementBlock("div",Un,[e.createElementVNode("div",Pn,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(($=S.pageConfig.detailPage.infoCard.icon)!=null?$:""),{class:"icon"}))]),e.createElementVNode("div",Rn,[e.createElementVNode("div",Qn,[e.createElementVNode("h1",null,e.toDisplayString(N.value),1),((q=O.value)==null?void 0:q.length)>0?(e.openBlock(),e.createBlock(m,{key:0,size:"small"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(O.value),1)]),_:1})):e.createCommentVNode("",!0)]),e.createElementVNode("span",null,e.toDisplayString(T.value),1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",Fn,[e.createVNode(M,{modelValue:I.value,"onUpdate:modelValue":d[0]||(d[0]=F=>I.value=F),onTabClick:P},{default:e.withCtx(()=>{var F,le;return[e.createVNode(E,{label:e.unref(n)("common.basic.summary"),name:"summary"},{default:e.withCtx(()=>[e.createVNode(Tt,{ref_key:"formViewRef",ref:c,id:s.value,sessionId:D.value,mode:l.value,model:S},null,8,["id","sessionId","mode","model"])]),_:1},8,["label"]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((le=(F=S.pageConfig)==null?void 0:F.detailPage)==null?void 0:le.tabs,ce=>{var Ie;return e.openBlock(),e.createBlock(E,{label:e.unref(n)((Ie=ce.name)!=null?Ie:"")},null,8,["label"])}),256))]}),_:1},8,["modelValue"]),f.value>=0?(e.openBlock(),e.createBlock(Be,{key:0,ref_key:"tabPaneTableRef",ref:y,model:K[f.value]},null,8,["model"])):e.createCommentVNode("",!0),e.createVNode(X,{modelValue:i.value,"onUpdate:modelValue":d[2]||(d[2]=F=>i.value=F),title:e.unref(n)("common.table.select"),width:"800px"},{footer:e.withCtx(()=>[e.createElementVNode("span",Ln,[e.createVNode(x,{onClick:d[1]||(d[1]=F=>i.value=!1)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.basic.cancel")),1)]),_:1}),e.createVNode(x,{type:"primary",onClick:z},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.basic.save")),1)]),_:1})])]),default:e.withCtx(()=>[f.value>=0?(e.openBlock(),e.createBlock(Be,{key:0,ref_key:"selectTableRef",ref:h,model:e.unref(R)[f.value]},null,8,["model"])):e.createCommentVNode("",!0)]),_:1},8,["modelValue","title"])]),e.createVNode(Ut,{id:s.value,mode:"update",visible:a.value,"onUpdate:visible":d[3]||(d[3]=F=>a.value=F),model:S,afterSubmitFunc:A},null,8,["id","visible","model"])],64)}}}),[["__scopeId","data-v-f9250724"]]),Gn={class:"page-title"},Rt=j(e.defineComponent({__name:"TablePage",setup(t){const{t:n}=pe.useI18n(),o=Q.useRoute(),r=Q.useRouter(),s=e.ref(),a=e.ref([]),i=e.reactive({api:"",fields:[]}),l=e.reactive(Fe({},i));function c(){var y,h,I,N,T;a.value=[],i.pageConfig&&((h=(y=i.pageConfig)==null?void 0:y.tablePage)!=null&&h.tabViewAttributes)&&(a.value=(T=(N=(I=i.pageConfig)==null?void 0:I.tablePage)==null?void 0:N.tabViewAttributes)==null?void 0:T.map(O=>{let D;return O.modelKey&&ee.value[O.modelKey]?D=se.cloneDeep(ee.value[O.modelKey]):D=se.cloneDeep(i),O.queryParams&&(D.tableConfig||(D.tableConfig={}),D.tableConfig.queryParams=O.queryParams),O.fields&&(D.fields=O.fields),O.modelKey&&(D.breadcrumbRoute=i.route),{key:O.key,label:O.label,icon:O.icon,disabled:O.disabled,model:D}}))}function f(){var I,N;console.log("Init table page, loading model:",o.params.model),console.log("Current model list",ee.value);const y=o.params.model;if(ee.value[y]===void 0){console.warn("Model not found",y);return}Ne(i);const h=se.cloneDeep(ee.value[y]);Object.assign(i,h),(N=(I=i.pageConfig)==null?void 0:I.tablePage)!=null&&N.tabViewAttributes||Object.assign(l,i),c()}return e.watch([()=>r.currentRoute.value,ee],()=>{f()},{immediate:!0,deep:!0}),(y,h)=>{var N;const I=e.resolveComponent("el-scrollbar");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("h1",Gn,e.toDisplayString(e.unref(n)((N=i.name)!=null?N:"")),1),e.createVNode(I,null,{default:e.withCtx(()=>{var T,O;return[(O=(T=i.pageConfig)==null?void 0:T.tablePage)!=null&&O.tabViewAttributes?(e.openBlock(),e.createBlock($e,{key:0,class:"tabs-wrapper",cards:a.value,tableRef:s.value},null,8,["cards","tableRef"])):e.createCommentVNode("",!0)]}),_:1}),e.createVNode(Be,{class:"table-wrapper",ref_key:"tableRef",ref:s,model:l},null,8,["model"])],64)}}}),[["__scopeId","data-v-c42fb84c"]]),jn=[ve,Ot,Ge,Dt,Mt,We,$e,Be,Pt,Rt],Kn=t=>{t&&t.component&&jn.forEach(n=>{console.log("component",n.__name,n),t.component(n.__name,n)})};V.Building=ve,V.ConsoleApp=Ot,V.DetailPage=Pt,V.Header=Ge,V.NoPermission=Dt,V.Secondary=Mt,V.SideMenu=We,V.TabCard=$e,V.TablePage=Rt,V.TableView=Be,V.activeMenuMapping=rt,V.default=Kn,V.en=ot,V.i18n=Se,V.menuList=je,V.modelList=ee,V.pinia=Qe,V.zh=nt,Object.defineProperties(V,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|