ss-component-new 1.2.157 → 1.2.159

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.
Files changed (23) hide show
  1. package/dist/index-BI189L9f.js +12451 -0
  2. package/dist/{index-D-KmkWON.js → index-BN6q1mp6.js} +2 -2
  3. package/dist/{index-BZ8dVq9e.js → index-BuGSZUdn.js} +5 -5
  4. package/dist/{index-0VmT6NTQ.cjs → index-CCv3E1hu.cjs} +1 -1
  5. package/dist/{index-ChEYPVLw.js → index-CTdsm8Ah.js} +3 -3
  6. package/dist/{index-Be46NApR.cjs → index-DnR6vlBp.cjs} +1 -1
  7. package/dist/{index-3ObhKDQk.cjs → index-Dt8SqpFR.cjs} +1 -1
  8. package/dist/index-dEOKYtTi.cjs +1 -0
  9. package/dist/{index-BDnkp7Dt.js → index-fPZS6D_6.js} +1 -1
  10. package/dist/{index-BMDI-P3d.cjs → index-hVoewZt8.cjs} +1 -1
  11. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BE3hooPx.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BJy6SUjH.cjs} +1 -1
  12. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-3Rjpklkh.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-CCTfS1Zw.js} +2 -2
  13. package/dist/{index.vue_vue_type_style_index_0_scoped_140f5e74_lang-CaBx_tsr.js → index.vue_vue_type_style_index_0_scoped_140f5e74_lang-B-zgpxeQ.js} +1 -1
  14. package/dist/{index.vue_vue_type_style_index_0_scoped_140f5e74_lang-3cwCIRaO.cjs → index.vue_vue_type_style_index_0_scoped_140f5e74_lang-BP0Tacbw.cjs} +1 -1
  15. package/dist/{main-BBuE_qnM.js → main-ClisO4tc.js} +2 -2
  16. package/dist/{main-y7xxaKyn.cjs → main-Eaaucypj.cjs} +1 -1
  17. package/dist/ss-component.cjs +1 -1
  18. package/dist/ss-component.js +3 -3
  19. package/dist/ss-component2.cjs +1 -1
  20. package/dist/ss-component2.js +1 -1
  21. package/package.json +1 -1
  22. package/dist/index-HKpbTQLq.js +0 -12381
  23. package/dist/index-rC0ZXewZ.cjs +0 -1
@@ -1,5 +1,5 @@
1
- import { _ as I } from "./index.vue_vue_type_style_index_0_scoped_140f5e74_lang-CaBx_tsr.js";
2
- import { a as W, d as X, f as Y, s as Z } from "./index.vue_vue_type_style_index_0_scoped_140f5e74_lang-CaBx_tsr.js";
1
+ import { _ as I } from "./index.vue_vue_type_style_index_0_scoped_140f5e74_lang-B-zgpxeQ.js";
2
+ import { a as W, d as X, f as Y, s as Z } from "./index.vue_vue_type_style_index_0_scoped_140f5e74_lang-B-zgpxeQ.js";
3
3
  import { resolveComponent as r, createElementBlock as l, openBlock as n, Fragment as g, createVNode as s, createCommentVNode as d, withCtx as i, normalizeStyle as E, toDisplayString as c, createElementVNode as p, renderList as _, createTextVNode as M, createBlock as S, resolveDynamicComponent as L } from "vue";
4
4
  import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const $ = ["title"], N = {
@@ -1,18 +1,18 @@
1
1
  import { resolveComponent as oA, createBlock as lA, openBlock as f, withCtx as C, createElementVNode as u, toDisplayString as CA, defineComponent as ln, ref as o, watch as xA, createElementBlock as Q, Fragment as hA, renderList as VA, createCommentVNode as W, normalizeStyle as Re, createVNode as a, unref as A, resolveDynamicComponent as Le, onMounted as On, computed as RA, provide as Fe, resolveDirective as $n, withDirectives as ne, vShow as je, createTextVNode as te, renderSlot as ke, normalizeClass as He, onUnmounted as ut, createSlots as st } from "vue";
2
- import { m as yn, a as jn, b as Hn } from "./index-BDnkp7Dt.js";
3
- import "./index.vue_vue_type_style_index_0_scoped_140f5e74_lang-CaBx_tsr.js";
2
+ import { m as yn, a as jn, b as Hn } from "./index-fPZS6D_6.js";
3
+ import "./index.vue_vue_type_style_index_0_scoped_140f5e74_lang-B-zgpxeQ.js";
4
4
  import { _ as Ie } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
- import { _ as gt, a as rt, b as dt, e as Pt, s as Ct } from "./index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-3Rjpklkh.js";
5
+ import { _ as gt, a as rt, b as dt, e as Pt, s as Ct } from "./index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-CCTfS1Zw.js";
6
6
  import { p as QA, s as BA, d as ot, c as fn, u as wn, b as Ee, g as ue, e as At, E as oe, f as Gn, h as Et } from "./index-DIUrwul5.js";
7
7
  import { a as vn, u as an } from "./index-AIq5wzuR.js";
8
8
  import { S as bA } from "./index-BHtNKL1L.js";
9
- import { a as he, s as se, b as It, c as it, r as wA, o as Je, d as Se, e as et, f as En, h as nt, i as In, j as tt, k as Bt, t as zt, l as Ge, m as Pn, n as Cn, p as Ve, q as sn, u as qe, v as _e, w as $e, x as An, y as en, z as gn, D as Qt, A as Xt, B as Ot, C as Fn, E as Vn, F as FA, G as yt, H as jt, I as qn } from "./index-HKpbTQLq.js";
9
+ import { a as he, s as se, b as It, c as it, r as wA, o as Je, d as Se, e as et, f as En, h as nt, i as In, j as tt, k as Bt, t as zt, l as Ge, m as Pn, n as Cn, p as Ve, q as sn, u as qe, v as _e, w as $e, x as An, y as en, z as gn, D as Qt, A as Xt, B as Ot, C as Fn, E as Vn, F as FA, G as yt, H as jt, I as qn } from "./index-BI189L9f.js";
10
10
  import { a as Ht } from "./array-NKj1u0mH.js";
11
11
  import { u as dn, a as bn, d as nn, g as we, b as ft, c as tn, o as lt, e as wt, l as bt, f as kt, h as vt } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Dv6oihNZ.js";
12
12
  import "./index.vue_vue_type_style_index_1_lang-BQ6hq9wH.js";
13
13
  import "./index-_lg-jrRI.js";
14
14
  import { useRouter as xt } from "vue-router";
15
- import pt from "./index-D-KmkWON.js";
15
+ import pt from "./index-BN6q1mp6.js";
16
16
  import { C as mt } from "./index-YXcguIZz.js";
17
17
  import Jt from "./threeModel-C7OjIcIi.js";
18
18
  import { _ as St, a as Bn } from "./index-Dv0vEhwk.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index.vue_vue_type_style_index_0_scoped_140f5e74_lang-3cwCIRaO.cjs"),e=require("vue"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),v=["title"],_={key:1,class:"menu-title",style:{display:"flex",width:"100px"}},B={key:2,class:"menu-operate-icon"},y={class:"menu-config-wrap"},M=["onClick"],m={class:"module-dialog-content"};function V(o,l,E,w,D,S){var a;const u=e.resolveComponent("ss-input"),s=e.resolveComponent("svg-icon"),C=e.resolveComponent("el-popover"),h=e.resolveComponent("ss-menu"),r=e.resolveComponent("el-button"),k=e.resolveComponent("ss-dialog");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(h,{class:"vertical-menu",mode:o.mode,menuList:o.renderMenuList,isCollapse:o.isCollapse,onClickMenu:o.clickMenu,onOpenMenu:o.openMenu,onCloseMenu:o.closeMenu},{title:e.withCtx(({menu:t})=>{var d,c,p,g;return[!o.fixElement||(t==null?void 0:t.path)!==((d=o.fixElement)==null?void 0:d.path)?(e.openBlock(),e.createElementBlock("span",{key:0,title:t.title,class:"menu-title",style:e.normalizeStyle({marginRight:t!=null&&t.config&&((c=t==null?void 0:t.config)==null?void 0:c.length)>0?"25px":"1px"})},e.toDisplayString(t.title??""),13,v)):e.createCommentVNode("",!0),o.fixElement&&(t==null?void 0:t.path)===((p=o.fixElement)==null?void 0:p.path)?(e.openBlock(),e.createElementBlock("span",_,[e.createVNode(u,{value:t.title,onBlur:n=>o.onBlur(n,t)},null,8,["value","onBlur"])])):e.createCommentVNode("",!0),t!=null&&t.config&&((g=t==null?void 0:t.config)==null?void 0:g.length)>0?(e.openBlock(),e.createElementBlock("span",B,[e.createVNode(C,{title:"",placement:"bottom-start",trigger:"hover","popper-class":"menu-operate-popover"},{reference:e.withCtx(()=>[e.createVNode(s,{name:"more",style:{cursor:"pointer",width:"15px",height:"15px"}})]),default:e.withCtx(()=>[e.createElementVNode("div",y,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t==null?void 0:t.config,n=>(e.openBlock(),e.createElementBlock("div",{class:"menu-config-item",key:n.id,onClick:b=>o.clickMenuIcon(t,n)},[e.createVNode(s,{name:n==null?void 0:n.operateIcon,style:{width:"15px",height:"15px","margin-right":"8px"}},null,8,["name"]),e.createElementVNode("span",null,e.toDisplayString(n==null?void 0:n.operateType),1)],8,M))),128))])]),_:2},1024)])):e.createCommentVNode("",!0)]}),_:1},8,["mode","menuList","isCollapse","onClickMenu","onOpenMenu","onCloseMenu"]),((a=o.renderMenuList)==null?void 0:a.length)>0?(e.openBlock(),e.createElementBlock("div",{key:0,class:"fold-icon",onClick:l[0]||(l[0]=(...t)=>o.handleMenuCollapse&&o.handleMenuCollapse(...t))},[e.createVNode(s,{name:o.isCollapse?"expand":"pack",style:{width:"15px",height:"15px"}},null,8,["name"])])):e.createCommentVNode("",!0),e.createVNode(k,{class:"module-dialog",title:o.dialogInfo.title,visible:o.dialogInfo.show,width:o.dialogInfo.width,onBeforeDestroy:o.beforeDialogDestroy},{default:e.withCtx(()=>[e.createElementVNode("div",m,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.dialogRenderComps,t=>(e.openBlock(),e.createElementBlock("div",{key:t.id},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.getComponents((t==null?void 0:t.comp)??"Input")),{itemData:t==null?void 0:t.compData,key:t==null?void 0:t.id,content:(t==null?void 0:t.contents)??[],config:t==null?void 0:t.config,onContentChange:o.handleCompChange},null,40,["itemData","content","config","onContentChange"]))]))),128))])]),footer:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(r,{id:"themeBorderButton",onClick:o.beforeDialogDestroy},{default:e.withCtx(()=>l[1]||(l[1]=[e.createTextVNode("取消")])),_:1,__:[1]},8,["onClick"]),e.createVNode(r,{id:"themeButton",onClick:o.clickSubmitForm},{default:e.withCtx(()=>l[2]||(l[2]=[e.createTextVNode(" 确认 ")])),_:1,__:[2]},8,["onClick"])])]),_:1},8,["title","visible","width","onBeforeDestroy"])],64)}const N=f._export_sfc(i._sfc_main,[["render",V],["__scopeId","data-v-140f5e74"]]);exports.addSelectMenu=i.addSelectMenu;exports.deleteSelectMenu=i.deleteSelectMenu;exports.fixSelectMenu=i.fixSelectMenu;exports.setComponent=i.setComponent;exports.default=N;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index.vue_vue_type_style_index_0_scoped_140f5e74_lang-BP0Tacbw.cjs"),e=require("vue"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),v=["title"],_={key:1,class:"menu-title",style:{display:"flex",width:"100px"}},B={key:2,class:"menu-operate-icon"},y={class:"menu-config-wrap"},M=["onClick"],m={class:"module-dialog-content"};function V(o,l,E,w,D,S){var a;const u=e.resolveComponent("ss-input"),s=e.resolveComponent("svg-icon"),C=e.resolveComponent("el-popover"),h=e.resolveComponent("ss-menu"),r=e.resolveComponent("el-button"),k=e.resolveComponent("ss-dialog");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(h,{class:"vertical-menu",mode:o.mode,menuList:o.renderMenuList,isCollapse:o.isCollapse,onClickMenu:o.clickMenu,onOpenMenu:o.openMenu,onCloseMenu:o.closeMenu},{title:e.withCtx(({menu:t})=>{var d,c,p,g;return[!o.fixElement||(t==null?void 0:t.path)!==((d=o.fixElement)==null?void 0:d.path)?(e.openBlock(),e.createElementBlock("span",{key:0,title:t.title,class:"menu-title",style:e.normalizeStyle({marginRight:t!=null&&t.config&&((c=t==null?void 0:t.config)==null?void 0:c.length)>0?"25px":"1px"})},e.toDisplayString(t.title??""),13,v)):e.createCommentVNode("",!0),o.fixElement&&(t==null?void 0:t.path)===((p=o.fixElement)==null?void 0:p.path)?(e.openBlock(),e.createElementBlock("span",_,[e.createVNode(u,{value:t.title,onBlur:n=>o.onBlur(n,t)},null,8,["value","onBlur"])])):e.createCommentVNode("",!0),t!=null&&t.config&&((g=t==null?void 0:t.config)==null?void 0:g.length)>0?(e.openBlock(),e.createElementBlock("span",B,[e.createVNode(C,{title:"",placement:"bottom-start",trigger:"hover","popper-class":"menu-operate-popover"},{reference:e.withCtx(()=>[e.createVNode(s,{name:"more",style:{cursor:"pointer",width:"15px",height:"15px"}})]),default:e.withCtx(()=>[e.createElementVNode("div",y,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t==null?void 0:t.config,n=>(e.openBlock(),e.createElementBlock("div",{class:"menu-config-item",key:n.id,onClick:b=>o.clickMenuIcon(t,n)},[e.createVNode(s,{name:n==null?void 0:n.operateIcon,style:{width:"15px",height:"15px","margin-right":"8px"}},null,8,["name"]),e.createElementVNode("span",null,e.toDisplayString(n==null?void 0:n.operateType),1)],8,M))),128))])]),_:2},1024)])):e.createCommentVNode("",!0)]}),_:1},8,["mode","menuList","isCollapse","onClickMenu","onOpenMenu","onCloseMenu"]),((a=o.renderMenuList)==null?void 0:a.length)>0?(e.openBlock(),e.createElementBlock("div",{key:0,class:"fold-icon",onClick:l[0]||(l[0]=(...t)=>o.handleMenuCollapse&&o.handleMenuCollapse(...t))},[e.createVNode(s,{name:o.isCollapse?"expand":"pack",style:{width:"15px",height:"15px"}},null,8,["name"])])):e.createCommentVNode("",!0),e.createVNode(k,{class:"module-dialog",title:o.dialogInfo.title,visible:o.dialogInfo.show,width:o.dialogInfo.width,onBeforeDestroy:o.beforeDialogDestroy},{default:e.withCtx(()=>[e.createElementVNode("div",m,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.dialogRenderComps,t=>(e.openBlock(),e.createElementBlock("div",{key:t.id},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.getComponents((t==null?void 0:t.comp)??"Input")),{itemData:t==null?void 0:t.compData,key:t==null?void 0:t.id,content:(t==null?void 0:t.contents)??[],config:t==null?void 0:t.config,onContentChange:o.handleCompChange},null,40,["itemData","content","config","onContentChange"]))]))),128))])]),footer:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(r,{id:"themeBorderButton",onClick:o.beforeDialogDestroy},{default:e.withCtx(()=>l[1]||(l[1]=[e.createTextVNode("取消")])),_:1,__:[1]},8,["onClick"]),e.createVNode(r,{id:"themeButton",onClick:o.clickSubmitForm},{default:e.withCtx(()=>l[2]||(l[2]=[e.createTextVNode(" 确认 ")])),_:1,__:[2]},8,["onClick"])])]),_:1},8,["title","visible","width","onBeforeDestroy"])],64)}const N=f._export_sfc(i._sfc_main,[["render",V],["__scopeId","data-v-140f5e74"]]);exports.addSelectMenu=i.addSelectMenu;exports.deleteSelectMenu=i.deleteSelectMenu;exports.fixSelectMenu=i.fixSelectMenu;exports.setComponent=i.setComponent;exports.default=N;
@@ -1,11 +1,11 @@
1
1
  import { computed as v, watch as u, onMounted as S, onUnmounted as B, resolveComponent as I, createElementBlock as D, openBlock as K, createVNode as p } from "vue";
2
- import "./index-HKpbTQLq.js";
2
+ import "./index-BI189L9f.js";
3
3
  import { u as T, p as j, s as x } from "./index-DIUrwul5.js";
4
4
  import "./array-NKj1u0mH.js";
5
5
  import { _ as z } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Dv6oihNZ.js";
7
- import "./index.vue_vue_type_style_index_0_scoped_140f5e74_lang-CaBx_tsr.js";
8
- import "./index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-3Rjpklkh.js";
7
+ import "./index.vue_vue_type_style_index_0_scoped_140f5e74_lang-B-zgpxeQ.js";
8
+ import "./index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-CCTfS1Zw.js";
9
9
  import "./index-BHtNKL1L.js";
10
10
  import "./index.vue_vue_type_style_index_1_lang-BQ6hq9wH.js";
11
11
  import "./index-_lg-jrRI.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue");require("./index-rC0ZXewZ.cjs");const a=require("./index-C8qRkCgn.cjs");require("./array-B7tQHAQO.cjs");const S=require("./_plugin-vue_export-helper-BHFhmbuH.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CttArv-I.cjs");require("./index.vue_vue_type_style_index_0_scoped_140f5e74_lang-3cwCIRaO.cjs");require("./index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BE3hooPx.cjs");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_1_lang-DIJc8zJY.cjs");require("./index-BIkQWptd.cjs");require("./index-DOCHgBta.cjs");require("vue-router");require("./index-DBArZP7q.cjs");;/* empty css */require("./index-D_tbgi5B.cjs");const q={__name:"index",props:{windowConfig:{type:Object,default:()=>{}},systemInfo:{type:Object,default:()=>{}},systemKey:{type:String,default:""},pathContent:{type:String,default:""},mode:{type:String,default:"view"},content:{type:String,default:""},jsonContents:{type:Array,default:()=>[]},showButton:{type:Boolean,default:!1},nodeDev:{type:String,default:""},pageKey:{type:String,default:""}},emits:["buildContent","openThreeBuild","threeData"],setup(o,{emit:c}){const u=a.useLoginState(a.pinia),{loginUserInfo:m}=a.storeToRefs(u),e=o,s=c,y=n.computed(()=>{var t,i;return(e==null?void 0:e.showButton)||((i=(t=m.value)==null?void 0:t.layer)==null?void 0:i.toUpperCase())==="SUPERADMIN"});n.watch(()=>e==null?void 0:e.systemKey,t=>{u.setSystemKey(t),t!==""&&sessionStorage.setItem("systemKey",t)},{immediate:!0}),n.watch(()=>e==null?void 0:e.systemInfo,t=>{u.setSystemInfo(t)},{immediate:!0});const f=()=>{s("buildContent")},w=()=>{s("setLoginInfo")},g=t=>{s("openThreeBuild",t)},h=t=>{s("threeData",t)},d=()=>{var l;const t=e!=null&&e.windowConfig?(l=e==null?void 0:e.windowConfig)==null?void 0:l.width:window.innerWidth,i=1920,r=16,C=t/i,v=r*C;document.documentElement.style.fontSize=`${v}px`};return n.onMounted(()=>{d(),window.addEventListener("resize",d)}),n.onUnmounted(()=>{window.removeEventListener("resize",d)}),(t,i)=>{const r=n.resolveComponent("router-view");return n.openBlock(),n.createElementBlock("div",null,[n.createVNode(r,{mode:e==null?void 0:e.mode,content:e==null?void 0:e.content,jsonContents:e==null?void 0:e.jsonContents,pathContent:e==null?void 0:e.pathContent,showButton:y.value,nodeDev:e==null?void 0:e.nodeDev,windowConfig:o.windowConfig,systemInfo:o.systemInfo,"old-systemKey":o.systemKey,onBuildContent:f,onOpenThreeBuild:g,pageKey:o.pageKey,onThreeData:h,onSetLoginInfo:w},null,8,["mode","content","jsonContents","pathContent","showButton","nodeDev","windowConfig","systemInfo","old-systemKey","pageKey"])])}}},B=S._export_sfc(q,[["__scopeId","data-v-a9684a30"]]);exports.default=B;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue");require("./index-dEOKYtTi.cjs");const a=require("./index-C8qRkCgn.cjs");require("./array-B7tQHAQO.cjs");const S=require("./_plugin-vue_export-helper-BHFhmbuH.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CttArv-I.cjs");require("./index.vue_vue_type_style_index_0_scoped_140f5e74_lang-BP0Tacbw.cjs");require("./index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BJy6SUjH.cjs");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_1_lang-DIJc8zJY.cjs");require("./index-BIkQWptd.cjs");require("./index-DOCHgBta.cjs");require("vue-router");require("./index-DBArZP7q.cjs");;/* empty css */require("./index-D_tbgi5B.cjs");const q={__name:"index",props:{windowConfig:{type:Object,default:()=>{}},systemInfo:{type:Object,default:()=>{}},systemKey:{type:String,default:""},pathContent:{type:String,default:""},mode:{type:String,default:"view"},content:{type:String,default:""},jsonContents:{type:Array,default:()=>[]},showButton:{type:Boolean,default:!1},nodeDev:{type:String,default:""},pageKey:{type:String,default:""}},emits:["buildContent","openThreeBuild","threeData"],setup(o,{emit:c}){const u=a.useLoginState(a.pinia),{loginUserInfo:m}=a.storeToRefs(u),e=o,s=c,y=n.computed(()=>{var t,i;return(e==null?void 0:e.showButton)||((i=(t=m.value)==null?void 0:t.layer)==null?void 0:i.toUpperCase())==="SUPERADMIN"});n.watch(()=>e==null?void 0:e.systemKey,t=>{u.setSystemKey(t),t!==""&&sessionStorage.setItem("systemKey",t)},{immediate:!0}),n.watch(()=>e==null?void 0:e.systemInfo,t=>{u.setSystemInfo(t)},{immediate:!0});const f=()=>{s("buildContent")},w=()=>{s("setLoginInfo")},g=t=>{s("openThreeBuild",t)},h=t=>{s("threeData",t)},d=()=>{var l;const t=e!=null&&e.windowConfig?(l=e==null?void 0:e.windowConfig)==null?void 0:l.width:window.innerWidth,i=1920,r=16,C=t/i,v=r*C;document.documentElement.style.fontSize=`${v}px`};return n.onMounted(()=>{d(),window.addEventListener("resize",d)}),n.onUnmounted(()=>{window.removeEventListener("resize",d)}),(t,i)=>{const r=n.resolveComponent("router-view");return n.openBlock(),n.createElementBlock("div",null,[n.createVNode(r,{mode:e==null?void 0:e.mode,content:e==null?void 0:e.content,jsonContents:e==null?void 0:e.jsonContents,pathContent:e==null?void 0:e.pathContent,showButton:y.value,nodeDev:e==null?void 0:e.nodeDev,windowConfig:o.windowConfig,systemInfo:o.systemInfo,"old-systemKey":o.systemKey,onBuildContent:f,onOpenThreeBuild:g,pageKey:o.pageKey,onThreeData:h,onSetLoginInfo:w},null,8,["mode","content","jsonContents","pathContent","showButton","nodeDev","windowConfig","systemInfo","old-systemKey","pageKey"])])}}},B=S._export_sfc(q,[["__scopeId","data-v-a9684a30"]]);exports.default=B;