ss-component-new 1.2.159 → 1.2.161

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.
@@ -2,7 +2,7 @@ import { resolveComponent as oA, createBlock as lA, openBlock as f, withCtx as C
2
2
  import { m as yn, a as jn, b as Hn } from "./index-fPZS6D_6.js";
3
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-CCTfS1Zw.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-TC84LfFb.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";
@@ -1 +1 @@
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;
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-DxCM24Nl.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;
@@ -5,7 +5,7 @@ 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
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";
8
+ import "./index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-TC84LfFb.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";