ss-component-new 1.3.433 → 1.3.434
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,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { b as
|
|
3
|
-
import { l as
|
|
4
|
-
import { useRouter as
|
|
5
|
-
import { _ as
|
|
6
|
-
const
|
|
1
|
+
import { defineComponent as N, ref as G, computed as V, watch as y, nextTick as $, onMounted as A, onUnmounted as q, resolveComponent as J, createElementBlock as D, openBlock as C, createBlock as Q } from "vue";
|
|
2
|
+
import { b as X, p as h, s as v, d as Y, a as Z, u as p, v as ee } from "./index-BK-oz1IK.js";
|
|
3
|
+
import { l as te } from "./index-RF5qQdBY.js";
|
|
4
|
+
import { useRouter as ne } from "vue-router";
|
|
5
|
+
import { _ as oe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
+
const ie = { key: 0 }, ae = /* @__PURE__ */ N({
|
|
7
7
|
__name: "index",
|
|
8
8
|
props: {
|
|
9
9
|
windowConfig: {
|
|
@@ -72,123 +72,123 @@ const ee = { key: 0 }, te = /* @__PURE__ */ O({
|
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
74
|
emits: ["buildContent", "openThreeBuild", "threeData", "setLoginInfo", "projectLogin", "updateApiUrl", "clearFileContent", "systemContent", "getMenuPathValue", "executeWorkspace"],
|
|
75
|
-
setup(
|
|
76
|
-
const
|
|
75
|
+
setup(u, { emit: E }) {
|
|
76
|
+
const F = ne(), l = X(h), { loginUserInfo: f } = v(l), { initSystemInfo: j } = Y(), B = Z(h), { refreshLogin: M } = v(B), g = p(h), r = G(!0), { activeMenuPath: I } = v(g), e = u, o = E, T = V(() => {
|
|
77
77
|
var t, n;
|
|
78
78
|
return (e == null ? void 0 : e.showButton) || ((n = (t = f.value) == null ? void 0 : t.layer) == null ? void 0 : n.toUpperCase()) === "SUPERADMIN";
|
|
79
|
-
}),
|
|
79
|
+
}), x = (t) => {
|
|
80
80
|
o("systemContent", t);
|
|
81
|
-
},
|
|
81
|
+
}, H = () => {
|
|
82
82
|
o("clearFileContent");
|
|
83
83
|
};
|
|
84
|
-
|
|
84
|
+
y(
|
|
85
85
|
() => e == null ? void 0 : e.menuFiles,
|
|
86
86
|
() => {
|
|
87
87
|
var t;
|
|
88
|
-
((t = e == null ? void 0 : e.menuFiles) == null ? void 0 : t.length) > 0 &&
|
|
88
|
+
((t = e == null ? void 0 : e.menuFiles) == null ? void 0 : t.length) > 0 && g.setLocalFiles(e == null ? void 0 : e.menuFiles);
|
|
89
89
|
},
|
|
90
90
|
{ deep: !0, immediate: !0 }
|
|
91
|
-
),
|
|
91
|
+
), y(
|
|
92
92
|
() => I.value,
|
|
93
93
|
() => {
|
|
94
94
|
o("getMenuPathValue", I.value);
|
|
95
95
|
},
|
|
96
96
|
{ deep: !0, immediate: !0 }
|
|
97
|
-
),
|
|
97
|
+
), y(
|
|
98
98
|
() => e == null ? void 0 : e.loginContent,
|
|
99
99
|
async () => {
|
|
100
|
-
var n,
|
|
101
|
-
|
|
100
|
+
var n, a, c, d;
|
|
101
|
+
r.value = !0;
|
|
102
102
|
let t = e == null ? void 0 : e.loginContent;
|
|
103
|
-
if (t != null && t.account && (t != null && t.password) && !
|
|
104
|
-
let s = await
|
|
105
|
-
o("systemContent", s == null ? void 0 : s.allMenuContents),
|
|
103
|
+
if (t != null && t.account && (t != null && t.password) && !M.value && (await te(t), status)) {
|
|
104
|
+
let s = await ee();
|
|
105
|
+
o("systemContent", s == null ? void 0 : s.allMenuContents), F.push("/"), l.setLogRecordAsync({
|
|
106
106
|
type: "登录",
|
|
107
107
|
data: {
|
|
108
|
-
account: ((n = f.value) == null ? void 0 : n.account) ?? ((
|
|
109
|
-
userName: ((c = f.value) == null ? void 0 : c.姓名) || ((
|
|
108
|
+
account: ((n = f.value) == null ? void 0 : n.account) ?? ((a = f.value) == null ? void 0 : a.账号),
|
|
109
|
+
userName: ((c = f.value) == null ? void 0 : c.姓名) || ((d = f.value) == null ? void 0 : d.userName) || "未知"
|
|
110
110
|
}
|
|
111
|
-
}, "/login", "login"),
|
|
111
|
+
}, "/login", "login"), g.setHasClickEditComp(!1);
|
|
112
112
|
}
|
|
113
|
-
|
|
113
|
+
r.value = !1, await $();
|
|
114
114
|
},
|
|
115
115
|
{ deep: !0, immediate: !0 }
|
|
116
116
|
);
|
|
117
|
-
const
|
|
117
|
+
const K = (t) => {
|
|
118
118
|
o("projectLogin", t);
|
|
119
|
-
},
|
|
119
|
+
}, U = () => {
|
|
120
120
|
o("projectLogin", "");
|
|
121
121
|
};
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
}, { immediate: !0 }),
|
|
122
|
+
y(() => [e == null ? void 0 : e.systemKey, e == null ? void 0 : e.systemInfo], async ([t, n]) => {
|
|
123
|
+
l.setSystemKey(t), t !== "" && sessionStorage.setItem("systemKey", t);
|
|
124
|
+
}, { immediate: !0 }), y(
|
|
125
125
|
() => e == null ? void 0 : e.interfaceContent,
|
|
126
126
|
() => {
|
|
127
|
-
var
|
|
128
|
-
if (!(e != null && e.interfaceContent) || Array.isArray(e == null ? void 0 : e.interfaceContent) && ((
|
|
129
|
-
let t = (c = e == null ? void 0 : e.interfaceContent) == null ? void 0 : c.find((
|
|
130
|
-
n = (s = n == null ? void 0 : n.split("=")) == null ? void 0 : s[1], n = n == null ? void 0 : n.trim(), t = (m = t == null ? void 0 : t.split("=")) == null ? void 0 : m[1], t = t == null ? void 0 : t.trim(),
|
|
127
|
+
var a, c, d, s, m;
|
|
128
|
+
if (!(e != null && e.interfaceContent) || Array.isArray(e == null ? void 0 : e.interfaceContent) && ((a = e == null ? void 0 : e.interfaceContent) == null ? void 0 : a.length) === 0) return;
|
|
129
|
+
let t = (c = e == null ? void 0 : e.interfaceContent) == null ? void 0 : c.find((i) => i == null ? void 0 : i.includes("VITE_API_NEW_URL")), n = (d = e == null ? void 0 : e.interfaceContent) == null ? void 0 : d.find((i) => i == null ? void 0 : i.includes("VITE_FACE_RECOGNITION_API_URL"));
|
|
130
|
+
n = (s = n == null ? void 0 : n.split("=")) == null ? void 0 : s[1], n = n == null ? void 0 : n.trim(), t = (m = t == null ? void 0 : t.split("=")) == null ? void 0 : m[1], t = t == null ? void 0 : t.trim(), l.setExtraUrl(n ?? ""), l.setSystemUrl(t ?? "");
|
|
131
131
|
},
|
|
132
132
|
{ immediate: !0, deep: !0 }
|
|
133
|
-
),
|
|
134
|
-
e.systemInfo ?
|
|
133
|
+
), A(async () => {
|
|
134
|
+
e.systemInfo ? l.setSystemInfo(e.systemInfo) : await j();
|
|
135
135
|
});
|
|
136
|
-
const
|
|
136
|
+
const R = () => {
|
|
137
137
|
o("buildContent");
|
|
138
|
-
},
|
|
138
|
+
}, b = () => {
|
|
139
139
|
o("setLoginInfo");
|
|
140
|
-
},
|
|
140
|
+
}, O = (t) => {
|
|
141
141
|
o("openThreeBuild", t);
|
|
142
|
-
},
|
|
142
|
+
}, P = (t) => {
|
|
143
143
|
o("threeData", t);
|
|
144
|
-
},
|
|
144
|
+
}, W = (t) => {
|
|
145
145
|
o("updateApiUrl", t);
|
|
146
|
-
},
|
|
146
|
+
}, z = (t) => {
|
|
147
147
|
o("executeWorkspace", t);
|
|
148
|
-
},
|
|
149
|
-
var m,
|
|
150
|
-
const t = e != null && e.windowConfig ? (m = e == null ? void 0 : e.windowConfig) == null ? void 0 : m.width : window.innerWidth, n = e
|
|
151
|
-
console.log(232, n, e == null ? void 0 : e.windowConfig),
|
|
152
|
-
const
|
|
148
|
+
}, w = () => {
|
|
149
|
+
var m, i, S, k, L, _;
|
|
150
|
+
const t = e != null && e.windowConfig ? (m = e == null ? void 0 : e.windowConfig) == null ? void 0 : m.width : window.innerWidth, n = (i = e == null ? void 0 : e.windowConfig) != null && i.height ? (S = e == null ? void 0 : e.windowConfig) == null ? void 0 : S.height : window.innerHeight;
|
|
151
|
+
console.log(232, n, e == null ? void 0 : e.windowConfig, (k = e == null ? void 0 : e.windowConfig) == null ? void 0 : k.height, (L = e == null ? void 0 : e.windowConfig) != null && L.height ? (_ = e == null ? void 0 : e.windowConfig) == null ? void 0 : _.height : window.innerHeight, window.innerHeight), g.setSystemHeight(n);
|
|
152
|
+
const a = 1920, c = 16, d = t / a, s = c * d;
|
|
153
153
|
document.documentElement.style.fontSize = `${s}px`;
|
|
154
154
|
};
|
|
155
|
-
return
|
|
156
|
-
|
|
157
|
-
}),
|
|
158
|
-
window.removeEventListener("resize",
|
|
155
|
+
return A(() => {
|
|
156
|
+
w(), window.addEventListener("resize", w);
|
|
157
|
+
}), q(() => {
|
|
158
|
+
window.removeEventListener("resize", w);
|
|
159
159
|
}), (t, n) => {
|
|
160
|
-
const
|
|
161
|
-
return
|
|
162
|
-
|
|
160
|
+
const a = J("router-view");
|
|
161
|
+
return C(), D("div", null, [
|
|
162
|
+
r.value ? (C(), D("div", ie)) : (C(), Q(a, {
|
|
163
163
|
key: 1,
|
|
164
164
|
mode: e == null ? void 0 : e.mode,
|
|
165
165
|
content: e == null ? void 0 : e.content,
|
|
166
166
|
jsonContents: e == null ? void 0 : e.jsonContents,
|
|
167
167
|
pathContent: e == null ? void 0 : e.pathContent,
|
|
168
|
-
showButton:
|
|
168
|
+
showButton: T.value,
|
|
169
169
|
nodeDev: e == null ? void 0 : e.nodeDev,
|
|
170
|
-
windowConfig:
|
|
171
|
-
systemInfo:
|
|
172
|
-
"old-systemKey":
|
|
173
|
-
onBuildContent:
|
|
174
|
-
onProjectLogin:
|
|
175
|
-
onClearLogin:
|
|
176
|
-
onUpdateApiUrl:
|
|
177
|
-
onOpenThreeBuild:
|
|
178
|
-
pageKey:
|
|
179
|
-
onThreeData:
|
|
180
|
-
onSetLoginInfo:
|
|
170
|
+
windowConfig: u.windowConfig,
|
|
171
|
+
systemInfo: u.systemInfo,
|
|
172
|
+
"old-systemKey": u.systemKey,
|
|
173
|
+
onBuildContent: R,
|
|
174
|
+
onProjectLogin: K,
|
|
175
|
+
onClearLogin: U,
|
|
176
|
+
onUpdateApiUrl: W,
|
|
177
|
+
onOpenThreeBuild: O,
|
|
178
|
+
pageKey: u.pageKey,
|
|
179
|
+
onThreeData: P,
|
|
180
|
+
onSetLoginInfo: b,
|
|
181
181
|
loginContent: e == null ? void 0 : e.loginContent,
|
|
182
|
-
onClearFileContent:
|
|
183
|
-
onSystemContent:
|
|
184
|
-
onExecuteWorkspace:
|
|
182
|
+
onClearFileContent: H,
|
|
183
|
+
onSystemContent: x,
|
|
184
|
+
onExecuteWorkspace: z,
|
|
185
185
|
workspaceHistoryData: e == null ? void 0 : e.workspaceHistoryData,
|
|
186
186
|
workspaceInfo: e == null ? void 0 : e.workspaceInfo
|
|
187
187
|
}, null, 8, ["mode", "content", "jsonContents", "pathContent", "showButton", "nodeDev", "windowConfig", "systemInfo", "old-systemKey", "pageKey", "loginContent", "workspaceHistoryData", "workspaceInfo"]))
|
|
188
188
|
]);
|
|
189
189
|
};
|
|
190
190
|
}
|
|
191
|
-
}),
|
|
191
|
+
}), fe = /* @__PURE__ */ oe(ae, [["__scopeId", "data-v-c5efe3d4"]]);
|
|
192
192
|
export {
|
|
193
|
-
|
|
193
|
+
fe as default
|
|
194
194
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),a=require("./index-xN3pvlzo.cjs"),O=require("./index-DoorIpTj.cjs"),P=require("vue-router"),W=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),z={key:0},N=o.defineComponent({__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:""},interfaceContent:{type:Array,default:()=>[]},loginContent:{type:Object,default:()=>{}},menuFiles:{type:Array,default:()=>[]},workspaceHistoryData:{type:Array,default:()=>[]},workspaceInfo:{type:Object,default:()=>[]}},emits:["buildContent","openThreeBuild","threeData","setLoginInfo","projectLogin","updateApiUrl","clearFileContent","systemContent","getMenuPathValue","executeWorkspace"],setup(r,{emit:L}){const _=P.useRouter(),f=a.useLoginState(a.pinia),{loginUserInfo:y}=a.storeToRefs(f),{initSystemInfo:A}=a.useModelManagement(),B=a.useModelComp(a.pinia),{refreshLogin:E}=a.storeToRefs(B),g=a.useMenuState(a.pinia),w=o.ref(!0),{activeMenuPath:h}=a.storeToRefs(g),e=r,i=L,D=o.computed(()=>{var t,n;return(e==null?void 0:e.showButton)||((n=(t=y.value)==null?void 0:t.layer)==null?void 0:n.toUpperCase())==="SUPERADMIN"}),j=t=>{i("systemContent",t)},F=()=>{i("clearFileContent")};o.watch(()=>e==null?void 0:e.menuFiles,()=>{var t;((t=e==null?void 0:e.menuFiles)==null?void 0:t.length)>0&&g.setLocalFiles(e==null?void 0:e.menuFiles)},{deep:!0,immediate:!0}),o.watch(()=>h.value,()=>{i("getMenuPathValue",h.value)},{deep:!0,immediate:!0}),o.watch(()=>e==null?void 0:e.loginContent,async()=>{var n,s,l,d;w.value=!0;let t=e==null?void 0:e.loginContent;if(t!=null&&t.account&&(t!=null&&t.password)&&!E.value&&(await O.loginUp(t),status)){let u=await a.verifyStructureDataToStore();i("systemContent",u==null?void 0:u.allMenuContents),_.push("/"),f.setLogRecordAsync({type:"登录",data:{account:((n=y.value)==null?void 0:n.account)??((s=y.value)==null?void 0:s.账号),userName:((l=y.value)==null?void 0:l.姓名)||((d=y.value)==null?void 0:d.userName)||"未知"}},"/login","login"),g.setHasClickEditComp(!1)}w.value=!1,await o.nextTick()},{deep:!0,immediate:!0});const M=t=>{i("projectLogin",t)},T=()=>{i("projectLogin","")};o.watch(()=>[e==null?void 0:e.systemKey,e==null?void 0:e.systemInfo],async([t,n])=>{f.setSystemKey(t),t!==""&&sessionStorage.setItem("systemKey",t)},{immediate:!0}),o.watch(()=>e==null?void 0:e.interfaceContent,()=>{var s,l,d,u,m;if(!(e!=null&&e.interfaceContent)||Array.isArray(e==null?void 0:e.interfaceContent)&&((s=e==null?void 0:e.interfaceContent)==null?void 0:s.length)===0)return;let t=(l=e==null?void 0:e.interfaceContent)==null?void 0:l.find(c=>c==null?void 0:c.includes("VITE_API_NEW_URL")),n=(d=e==null?void 0:e.interfaceContent)==null?void 0:d.find(c=>c==null?void 0:c.includes("VITE_FACE_RECOGNITION_API_URL"));n=(u=n==null?void 0:n.split("="))==null?void 0:u[1],n=n==null?void 0:n.trim(),t=(m=t==null?void 0:t.split("="))==null?void 0:m[1],t=t==null?void 0:t.trim(),f.setExtraUrl(n??""),f.setSystemUrl(t??"")},{immediate:!0,deep:!0}),o.onMounted(async()=>{e.systemInfo?f.setSystemInfo(e.systemInfo):await A()});const x=()=>{i("buildContent")},R=()=>{i("setLoginInfo")},H=t=>{i("openThreeBuild",t)},K=t=>{i("threeData",t)},U=t=>{i("updateApiUrl",t)},b=t=>{i("executeWorkspace",t)},C=()=>{var m,c,v,S,I,k;const t=e!=null&&e.windowConfig?(m=e==null?void 0:e.windowConfig)==null?void 0:m.width:window.innerWidth,n=(c=e==null?void 0:e.windowConfig)!=null&&c.height?(v=e==null?void 0:e.windowConfig)==null?void 0:v.height:window.innerHeight;console.log(232,n,e==null?void 0:e.windowConfig,(S=e==null?void 0:e.windowConfig)==null?void 0:S.height,(I=e==null?void 0:e.windowConfig)!=null&&I.height?(k=e==null?void 0:e.windowConfig)==null?void 0:k.height:window.innerHeight,window.innerHeight),g.setSystemHeight(n);const s=1920,l=16,d=t/s,u=l*d;document.documentElement.style.fontSize=`${u}px`};return o.onMounted(()=>{C(),window.addEventListener("resize",C)}),o.onUnmounted(()=>{window.removeEventListener("resize",C)}),(t,n)=>{const s=o.resolveComponent("router-view");return o.openBlock(),o.createElementBlock("div",null,[w.value?(o.openBlock(),o.createElementBlock("div",z)):(o.openBlock(),o.createBlock(s,{key:1,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:D.value,nodeDev:e==null?void 0:e.nodeDev,windowConfig:r.windowConfig,systemInfo:r.systemInfo,"old-systemKey":r.systemKey,onBuildContent:x,onProjectLogin:M,onClearLogin:T,onUpdateApiUrl:U,onOpenThreeBuild:H,pageKey:r.pageKey,onThreeData:K,onSetLoginInfo:R,loginContent:e==null?void 0:e.loginContent,onClearFileContent:F,onSystemContent:j,onExecuteWorkspace:b,workspaceHistoryData:e==null?void 0:e.workspaceHistoryData,workspaceInfo:e==null?void 0:e.workspaceInfo},null,8,["mode","content","jsonContents","pathContent","showButton","nodeDev","windowConfig","systemInfo","old-systemKey","pageKey","loginContent","workspaceHistoryData","workspaceInfo"]))])}}}),q=W._export_sfc(N,[["__scopeId","data-v-c5efe3d4"]]);exports.default=q;
|
package/dist/ss-component.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("vue");require("./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-BGyDDkYS.cjs");const C=require("./index-BpPyaNFa.cjs"),v=require("./index-xN3pvlzo.cjs");require("./index-B9MP9Z_h.cjs");require("./request-Dl8yi2iS.cjs");;/* empty css */const s=require("./ss-component2.cjs"),t=require("./index-DKh4EyHV.cjs"),r=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./main-G0V83rc_.cjs")));r.install=e=>{e.component("ssComponent",r)};const i=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-DnwoeTr-.cjs")).then(e=>e.index$1));i.install=e=>{e.component("ssTab",i)};const c=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-DQD6jg8m.cjs")).then(e=>e.index));c.install=e=>{e.component("ssMenu",c)};const l=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("vue");require("./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-BGyDDkYS.cjs");const C=require("./index-BpPyaNFa.cjs"),v=require("./index-xN3pvlzo.cjs");require("./index-B9MP9Z_h.cjs");require("./request-Dl8yi2iS.cjs");;/* empty css */const s=require("./ss-component2.cjs"),t=require("./index-DKh4EyHV.cjs"),r=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./main-G0V83rc_.cjs")));r.install=e=>{e.component("ssComponent",r)};const i=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-DnwoeTr-.cjs")).then(e=>e.index$1));i.install=e=>{e.component("ssTab",i)};const c=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-DQD6jg8m.cjs")).then(e=>e.index));c.install=e=>{e.component("ssMenu",c)};const l=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-BOXQxtn3.cjs")));l.install=e=>{e.component("ssMenuComponent",l)};const m=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-CLLeUa5o.cjs")));m.install=e=>{e.component("ssCanvas",m)};const u=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-BVaHwt5f.cjs")));u.install=e=>{e.component("ssFold",u)};const a=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-C3JpBKyN.cjs")).then(e=>e.index));a.install=e=>{e.component("ssAvatar",a)};const h=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./threeModel-Df9F-OvR.cjs")));h.install=e=>{e.component("ssThree",h)};const f=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./threeViewerHost-D_4JNLXj.cjs")).then(e=>e.threeViewerHost));f.install=e=>{e.component("threeViewerHost",f)};const p=v.useMenuState(),q=[r,i,c,l,m,u,a,h,f],P=e=>{q.forEach(o=>{e.use(o)}),e.use(s),e.config.globalProperties.$router=s},g=e=>{switch(e){case"browser":return t.browserThemeConfig;case"client":return t.clientThemeConfig;case"three":return t.threeThemeConfig}},y=e=>{const o=document.documentElement;e==null||e.forEach(d=>{o.style.setProperty(d.name,d.value)})},A=e=>{p.setPlatform(e);const o=g(e);y(o)},T={getPlatform:p.getPlatform,setPlatform:p.setPlatform,initPlatform:A};exports.SvgIcon=C.SvgIcon;exports.router=s;exports.default=P;exports.platformApi=T;
|