ss-component-new 1.2.6 → 1.2.8
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.
- package/dist/OrbitControls-BoyGapft.js +419 -0
- package/dist/OrbitControls-D1lM0xvz.cjs +1 -0
- package/dist/STLLoader-BBRISxpD.js +609 -0
- package/dist/STLLoader-KxFIlfhN.cjs +6 -0
- package/dist/{animationData-GqECkAbz.js → animationData-B7Ho3YRJ.js} +6 -6
- package/dist/{animationData-B0K2ghu6.cjs → animationData-DZb0nCA7.cjs} +1 -1
- package/dist/{array-D65aMM6H.js → array-A59WrroX.js} +1 -1
- package/dist/{array-DMPAgNcb.cjs → array-BtZq8qON.cjs} +1 -1
- package/dist/{iconfont-ljBfzBSE.js → iconfont-B9HCA4uh.js} +2 -2
- package/dist/{iconfont-t5epssvu.cjs → iconfont-CsuwJCas.cjs} +1 -1
- package/dist/{index-BOJUyAaV.cjs → index-1z9RrjZc.cjs} +1 -1
- package/dist/{index-BsM9qdbC.cjs → index-9VmYR-Tw.cjs} +1 -1
- package/dist/{index-CZaBF851.cjs → index-B1umuIRK.cjs} +1 -1
- package/dist/{index-D9oqICYV.cjs → index-B7R-snbI.cjs} +1 -1
- package/dist/{index-Bw_JtuzR.js → index-BCbxnJnH.js} +152 -152
- package/dist/{index-DWs7-g1h.cjs → index-BDRBkDJA.cjs} +1 -1
- package/dist/{index-Bs2K1FVH.js → index-BLgbZvdb.js} +2 -2
- package/dist/{index-CRrAiL5l.js → index-BTbyRzT-.js} +4 -4
- package/dist/{index-67QO-qDa.cjs → index-B_poZQZb.cjs} +1 -1
- package/dist/{index-HvKjB6_P.js → index-BbgLINMj.js} +3 -3
- package/dist/{index-D-WcrLQv.js → index-BhZsNq8s.js} +4 -4
- package/dist/{index-_66uQhcl.js → index-BmnY6J1z.js} +6 -6
- package/dist/{index-DGepdvRW.js → index-BvApH9cT.js} +2 -2
- package/dist/{index-CTkF2kl_.js → index-BwjuTBrR.js} +1 -1
- package/dist/{index-BpR7F1Fp.cjs → index-C1oE8qIa.cjs} +1 -1
- package/dist/{index-C1FOuBuy.js → index-C461j30b.js} +1 -1
- package/dist/{index-BNvpuVyw.cjs → index-C5z5UbxK.cjs} +1 -1
- package/dist/{index-D6mwkqWY.cjs → index-C7gejN5b.cjs} +1 -1
- package/dist/{index-DGi-ANHr.js → index-CCk4wLVh.js} +5 -5
- package/dist/{index--rLSLEk3.js → index-CIH_h4z2.js} +2 -2
- package/dist/{index-_uyv24Pt.cjs → index-CJK74ski.cjs} +1 -1
- package/dist/{index-FK1YYpjN.cjs → index-CSgKl9XW.cjs} +1 -1
- package/dist/{index-g4qw0jRy.js → index-CXDE4hkn.js} +6 -6
- package/dist/{index-DvpVQvAe.js → index-CX_HTfbe.js} +2 -2
- package/dist/{index-DV_ZZQBO.js → index-CYp77kPp.js} +1 -1
- package/dist/{index-CA-FC_OL.cjs → index-C_ti3XV8.cjs} +1 -1
- package/dist/{index-CePZE-QA.cjs → index-CjE91R_G.cjs} +1 -1
- package/dist/{index-tttYIzsn.cjs → index-CjI5pDiU.cjs} +1 -1
- package/dist/{index-9zEdW6xv.js → index-CwnxmCht.js} +2 -2
- package/dist/{index-8yRiF_z8.cjs → index-CxOoKysB.cjs} +1 -1
- package/dist/{index-DSchKIyh.cjs → index-CxnH4vfV.cjs} +1 -1
- package/dist/{index-DVmoPvzr.cjs → index-D8WF1ILq.cjs} +1 -1
- package/dist/{index-CArSUfnV.js → index-DEqQrElM.js} +20 -20
- package/dist/{index-DPBmAgEA.cjs → index-DF5Pi3ni.cjs} +1 -1
- package/dist/{index-B14iwpkN.cjs → index-DFGb7whK.cjs} +1 -1
- package/dist/{index-D8510-YQ.cjs → index-DGlPPiil.cjs} +1 -1
- package/dist/{index-BYUPvuvs.cjs → index-DKfCN6-m.cjs} +1 -1
- package/dist/{index-BHJ-tVLT.cjs → index-DLBS_tgM.cjs} +1 -1
- package/dist/{index-DJGsDpDp.js → index-DORLBXry.js} +3 -3
- package/dist/{index-C8UOMPgt.js → index-DR77gDZR.js} +2 -2
- package/dist/{index-BNOx3XL5.js → index-DSb6SjE3.js} +1 -1
- package/dist/{index-CbA74tCL.js → index-DTCYk2wI.js} +2 -2
- package/dist/{index-CBuqdsPh.js → index-DUeesiV8.js} +4 -4
- package/dist/{index-BMMYAqF1.js → index-DX6yycjK.js} +1 -1
- package/dist/{index-BaRkv5oc.cjs → index-DYSG1zs3.cjs} +1 -1
- package/dist/{index-CMCrQ36H.js → index-Da1wDO-s.js} +3 -3
- package/dist/{index-B7hLDNQ6.cjs → index-De5HlcQy.cjs} +1 -1
- package/dist/{index-DPWc4No_.js → index-DeBhlCUZ.js} +2 -2
- package/dist/{index-CbDu4gfZ.js → index-DgymXtI4.js} +2 -2
- package/dist/{index-C5CKSB0e.cjs → index-DrYODxS9.cjs} +1 -1
- package/dist/{index-LADv0t0E.js → index-Duk-i7rO.js} +12 -12
- package/dist/{index-mtuIEfrj.cjs → index-GmZ7sLUW.cjs} +1 -1
- package/dist/{index-DZ8a7BZ1.cjs → index-HvKkM5Lq.cjs} +1 -1
- package/dist/{index-CedgKpsz.cjs → index-PSFAyPDK.cjs} +1 -1
- package/dist/{index-8Dyi4QCI.js → index-RztQL2pV.js} +10 -10
- package/dist/{index-BEoEUXZe.js → index-UAR7Rrcy.js} +10 -10
- package/dist/{index-DcUUpSE1.cjs → index-Y6CA0bCm.cjs} +1 -1
- package/dist/{index-CShBWCYm.js → index-grNn6QlX.js} +1 -1
- package/dist/{index-87kRWJv8.cjs → index-jXcCmzjf.cjs} +1 -1
- package/dist/{index-CRj9VM12.js → index-kthhSPBL.js} +6 -6
- package/dist/{index-BsfJJu0R.js → index-oD3MoCYB.js} +6 -6
- package/dist/{index-Cm3z0Vmi.cjs → index-ydHaHhIm.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DIMJusrg.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BhLzDN6s.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BSOYWm_U.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DLUx599w.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-D2VLEzGB.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-C0nr97YM.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-D58IzjOR.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-DUQ6JlgC.js} +6 -6
- package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-BnNwKutS.cjs → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-CQTa8bTF.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-CJCvJvBM.js → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-DQMzwdx6.js} +13 -13
- package/dist/{index.vue_vue_type_style_index_1_lang-N-_9ZJEf.cjs → index.vue_vue_type_style_index_1_lang-BcYTED7W.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-D5Hjs-g0.js → index.vue_vue_type_style_index_1_lang-CFvcnWO4.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-H_pReDxj.cjs → index.vue_vue_type_style_index_1_lang-CfAaw5Oq.cjs} +45 -46
- package/dist/{index.vue_vue_type_style_index_1_lang-hBa3nAgx.js → index.vue_vue_type_style_index_1_lang-DLO5Vd6g.js} +5012 -5100
- package/dist/{isString--ZVOCy4V.js → isString-BNK38WbE.js} +1 -1
- package/dist/{isString-CELwppr9.cjs → isString-BmAegMGI.cjs} +1 -1
- package/dist/{main-CygliYyN.js → main-B7KvM2Mo.js} +5 -5
- package/dist/{main-C6Iw-pcH.cjs → main-BVrZ-TOJ.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +11 -11
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +12 -12
- package/dist/three-viewport-gizmo-BlxFLyPm.js +18587 -0
- package/dist/three-viewport-gizmo-CwaL5sMV.cjs +4195 -0
- package/dist/{threeLatheView-CdUoB0Te.cjs → threeLatheView-BzHB-t_G.cjs} +1 -1
- package/dist/{threeLatheView-DzpPpdDr.js → threeLatheView-arWFYuHh.js} +4 -4
- package/dist/{threeModel-BUCLJlE5.cjs → threeModel-D9BMlyjW.cjs} +1 -1
- package/dist/{threeModel-BfMMeZCc.js → threeModel-cQGFkPhn.js} +5 -5
- package/dist/threePreview-Cy7NY-gw.cjs +1 -0
- package/dist/threePreview-DKlyIJKv.js +1873 -0
- package/dist/threeSceneView-C-8QVXZL.js +1413 -0
- package/dist/threeSceneView-LorxQ4CB.cjs +5 -0
- package/dist/{threeSceneViewForCPMPIP-Bexwqkry.js → threeSceneViewForCPMPIP-DWzYs6dv.js} +27 -27
- package/dist/{threeSceneViewForCPMPIP-DwLWGNUd.cjs → threeSceneViewForCPMPIP-X9rajWCF.cjs} +2 -2
- package/dist/{threeViewerHost-CRqcYbJE.cjs → threeViewerHost-C77kS_JK.cjs} +1 -1
- package/dist/{threeViewerHost-CTjd2V1D.js → threeViewerHost-QFIxDBay.js} +4 -4
- package/dist/{useRayCaster-DN56HpNP.cjs → useRayCaster-DNSFv7lN.cjs} +1 -1
- package/dist/{useRayCaster-D0_7oJan.js → useRayCaster-DwVmFKhR.js} +12 -12
- package/package.json +1 -1
- package/dist/OrbitControls-Co_9huz0.cjs +0 -1
- package/dist/OrbitControls-DA4VpOM_.js +0 -458
- package/dist/STLLoader-DmGTF0Nv.js +0 -657
- package/dist/STLLoader-RU7KqloS.cjs +0 -6
- package/dist/three-viewport-gizmo-BHznJ6W3.js +0 -26015
- package/dist/three-viewport-gizmo-BV37JzRa.cjs +0 -4197
- package/dist/threePreview-BEqzg370.js +0 -1972
- package/dist/threePreview-C-JW_pcY.cjs +0 -1
- package/dist/threeSceneView-BTsG2QJg.cjs +0 -5
- package/dist/threeSceneView-DV5dsTZZ.js +0 -1471
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("./index-
|
|
1
|
+
"use strict";const t=require("./index-1z9RrjZc.cjs");var r="[object String]";function n(i){return typeof i=="string"||!t.isArray(i)&&t.isObjectLike(i)&&t.baseGetTag(i)==r}exports.isString=n;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ref as _, watch as V, createElementBlock as C, createCommentVNode as I, openBlock as f, Fragment as le, renderList as se, createElementVNode as O, createBlock as Z, toDisplayString as v, resolveDynamicComponent as ue, onMounted as ce, onUnmounted as ie, createVNode as A } from "vue";
|
|
2
|
-
import { m as me, a as de, b as ye } from "./index-
|
|
3
|
-
import { p as E, s as ee, c as k } from "./index-
|
|
4
|
-
import { a as te, u as fe } from "./index.vue_vue_type_style_index_1_lang-
|
|
5
|
-
import { g as ge } from "./index-
|
|
6
|
-
import { e as he, a as ke } from "./array-
|
|
2
|
+
import { m as me, a as de, b as ye } from "./index-kthhSPBL.js";
|
|
3
|
+
import { p as E, s as ee, c as k } from "./index-CYp77kPp.js";
|
|
4
|
+
import { a as te, u as fe } from "./index.vue_vue_type_style_index_1_lang-CFvcnWO4.js";
|
|
5
|
+
import { g as ge } from "./index-RztQL2pV.js";
|
|
6
|
+
import { e as he, a as ke } from "./array-A59WrroX.js";
|
|
7
7
|
import { _ as ne } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
8
|
const x = [
|
|
9
9
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),O=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),O=require("./index-CSgKl9XW.cjs"),i=require("./index-1z9RrjZc.cjs"),T=require("./index.vue_vue_type_style_index_1_lang-BcYTED7W.cjs"),Z=require("./index-DGlPPiil.cjs"),G=require("./array-BtZq8qON.cjs"),K=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),V=[{key:"FormName",value:"Form"},{key:"TableName",value:"Table"}],s=[{key:"FormDirect",value:"formFlex"},{key:"Form",value:"formContent"},{key:"FormButton",value:"formButton"},{key:"TableColumns",value:"header"},{key:"TableButton",value:"extraButton"},{key:"LineButton",value:"rowButton"},{key:"Table",value:"tableContents"},{key:"TableIndex",value:"tableIndex"}],v={key:0,class:"show-content"},ee={class:"item-view-group"},te={__name:"index",props:{content:String,jsonContents:Array},emits:["change"],setup(x,{emit:E}){const t=x,j=E,h=T.useModelComp(i.pinia),{itemData:_}=i.storeToRefs(h),p=e.ref([]),C=e.ref([]),I=c=>{j("change",{wholeValue:p.value,editValue:c})},S=c=>{const g=i.cloneDeep(p.value),B=g==null?void 0:g.map((d,b)=>(b===(c==null?void 0:c.index)&&(d.compData=c==null?void 0:c.contents),d));p.value=B};e.watch(()=>_.value,()=>{var c;!_.value||((c=_.value)==null?void 0:c.length)===0||(C.value=_.value,p.value=_.value)},{deep:!0,immediate:!0}),e.watch(()=>[t==null?void 0:t.content,t==null?void 0:t.jsonContents],()=>{var g;if(((g=t==null?void 0:t.jsonContents)==null?void 0:g.length)>0){h.setOriginalData(t==null?void 0:t.jsonContents),h.setItemData(t==null?void 0:t.jsonContents);return}if(!(t!=null&&t.content)||(t==null?void 0:t.content)==="")return;const c=G.expandStringToJson(t==null?void 0:t.content);h.setOriginalData(c),h.setItemData(c)},{deep:!0,immediate:!0});const w=c=>Z.getComponent(c);return(c,g)=>{var B;return((B=C.value)==null?void 0:B.length)>0?(e.openBlock(),e.createElementBlock("div",v,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(C.value,(d,b)=>(e.openBlock(),e.createElementBlock("div",{class:"item-content",key:b},[e.createElementVNode("div",ee,e.toDisplayString(d.name),1),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(w(d.comp)),{itemData:d==null?void 0:d.compData,childItemData:d==null?void 0:d.itemChildData,key:b,onChange:I,index:b,onContentChange:S},null,40,["itemData","childItemData","index"]))]))),128))])):e.createCommentVNode("",!0)}}},ne=K._export_sfc(te,[["__scopeId","data-v-1c04adc8"]]),oe={class:"add-model-content"},ae={key:0,class:"model-import-data"},re={class:"import-button"},le={key:0},ce={key:1,class:"model-operate"},se={class:"model-select"},ue={class:"model-fill"},ie={key:2,class:"model-view ssComponent"},de={__name:"main",props:{mode:{type:String,default:"view"},content:{type:String,default:""},jsonContents:{type:Array,default:()=>[]},showButton:{type:Boolean,default:!0}},emits:["change"],setup(x,{emit:E}){const t=x,j=E,h=e.ref(""),_=e.ref([]),p=e.ref(0),C=T.useModelComp(i.pinia);T.useMenuState(i.pinia);const{itemData:I,originalData:S}=i.storeToRefs(C),w=e.ref(null),c=e.ref(0),g=e.ref(""),B=()=>{p.value=window.innerWidth},d=async r=>{var u;const a=(u=i.cloneDeep(r==null?void 0:r.wholeValue))==null?void 0:u.map(o=>{var f;return(o==null?void 0:o.comp)==="Form"&&(o.compData=(f=o.compData)==null?void 0:f.map(k=>((k==null?void 0:k.key)==="formContent"&&(k.contents=G.arrayToNumberArray(k==null?void 0:k.contents)),k))),o});j("change",{originalContents:S.value,currentContents:r==null?void 0:r.wholeValue,editContent:r==null?void 0:r.editValue,stringContent:b(i.cloneDeep(r==null?void 0:r.wholeValue)),arrayToContents:a})},b=r=>{var u;let a=[];return(u=i.cloneDeep(r))==null||u.forEach(o=>{var f,k;V!=null&&V.find(n=>(n==null?void 0:n.value)===(o==null?void 0:o.comp))&&a.push(((f=V==null?void 0:V.find(n=>(n==null?void 0:n.value)===(o==null?void 0:o.comp)))==null?void 0:f.key)+"="+o.name+"/r/n"),(k=o==null?void 0:o.compData)==null||k.forEach(n=>{var F,$,J,A,q,M,L,R,z,W,H,P;if(s!=null&&s.find(m=>(m==null?void 0:m.value)===(n==null?void 0:n.key)))if(!((F=n==null?void 0:n.contents)!=null&&F.length))a.push((($=s==null?void 0:s.find(m=>(m==null?void 0:m.value)===(n==null?void 0:n.key)))==null?void 0:$.key)+"="+(n.contents===!0?'""':"Vertical")+"/r/n");else{let m=(J=n==null?void 0:n.contents)==null?void 0:J[0];if(!m)return;if(Object.keys(m).includes("label")&&Object.keys(m).includes("key")&&Object.keys(m).includes("width"))if(((q=(A=n.contents)==null?void 0:A.filter(y=>y.width!==1))==null?void 0:q.length)===0){const y=(M=i.cloneDeep(n==null?void 0:n.contents))==null?void 0:M.map(l=>({[l.label]:l.value}));a.push(((L=s==null?void 0:s.find(l=>(l==null?void 0:l.value)===(n==null?void 0:n.key)))==null?void 0:L.key)+"="+JSON.stringify(y)+"/r/n")}else{let y=[];(R=i.cloneDeep(n==null?void 0:n.contents))==null||R.reduce((l,D)=>{var U;return l[D.label]=D.key,((U=Object.keys(i.cloneDeep(l)))==null?void 0:U.length)>=D.width&&(y.push(i.cloneDeep(l)),l={}),l},{}),a.push(((z=s==null?void 0:s.find(l=>(l==null?void 0:l.value)===(n==null?void 0:n.key)))==null?void 0:z.key)+"="+JSON.stringify(y)+"/r/n")}else if(Object.keys(m).includes("label")){const y=(W=i.cloneDeep(n==null?void 0:n.contents))==null?void 0:W.map(l=>l.label);a.push(((H=s==null?void 0:s.find(l=>(l==null?void 0:l.value)===(n==null?void 0:n.key)))==null?void 0:H.key)+"="+JSON.stringify(y)+"/r/n")}else a.push(((P=s==null?void 0:s.find(y=>(y==null?void 0:y.value)===(n==null?void 0:n.key)))==null?void 0:P.key)+"="+JSON.stringify(n==null?void 0:n.contents)+"/r/n")}})}),JSON.stringify(a)},N=e.ref([]),Q=()=>{w.value.click()},X=r=>{const a=r.target.files[0];if(!a)return;const u=new FileReader;u.onload=o=>{try{h.value=o.target.result,N.value=Y(o.target.result),c.value++}catch(f){console.error("解析失败:",f)}},u.onerror=o=>{console.error("文件读取错误:",o)},u.readAsText(a)};e.onMounted(()=>{window.addEventListener("resize",B)}),e.onUnmounted(()=>{window.removeEventListener("resize",B)}),e.watch(()=>[t==null?void 0:t.content,t==null?void 0:t.jsonContents],()=>{h.value=t==null?void 0:t.content,_.value=t==null?void 0:t.jsonContents},{deep:!0,immediate:!0}),e.watch(()=>c.value,()=>{var r;((r=N.value)==null?void 0:r.length)!==0&&(C.setOriginalData(N.value),C.setItemData(N.value))},{deep:!0,immediate:!0});const Y=r=>{let a=r.replace(/,/g,",").replace(/;/g,";").replace(/:/g,":");a=a.replace(/(\w+)\s*:/g,"$1:"),a=a.replace(/\r\n/g,"").replace(/\n/g,"").replace(/\t/g,"").replace(/\s+/g," ").trim(),a=a.replace(/,\s*([}\]])/g,"$1"),a=a.replace(/:(\s*)([^"{}\[\],\s]+)(\s*)([,}])/g,": $2$4");try{return JSON.parse(a)}catch(u){try{const f=new Function(`return ${a}`)();if(Array.isArray(f)||typeof f=="object")return f;throw new Error(`解析结果不是有效的数组或对象: ${u}`)}catch(o){throw new Error(`无法解析JSON: ${o.message}`)}}};return(r,a)=>{var u;return e.openBlock(),e.createElementBlock("div",oe,[((u=t==null?void 0:t.jsonContents)==null?void 0:u.length)===0?(e.openBlock(),e.createElementBlock("div",ae,[e.createElementVNode("div",re,[e.createElementVNode("input",{type:"file",ref_key:"fileInput",ref:w,accept:".txt",onChange:X,style:{display:"none"}},null,544),e.createElementVNode("button",{onClick:Q,class:"import-button-content"},"导入文件"),g.value?(e.openBlock(),e.createElementBlock("span",le,e.toDisplayString(g.value),1)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),(t==null?void 0:t.mode)==="edit"?(e.openBlock(),e.createElementBlock("div",ce,[e.createElementVNode("div",se,[e.createVNode(O.modelSelect)]),(e.openBlock(),e.createElementBlock("div",{class:"model-show",key:p.value},[e.createVNode(O.modelShow)])),e.createElementVNode("div",ue,[e.createVNode(O.modelFill)])])):e.createCommentVNode("",!0),(t==null?void 0:t.mode)==="view"?(e.openBlock(),e.createElementBlock("div",ie,[(e.openBlock(),e.createBlock(ne,{content:h.value,onChange:d,jsonContents:_.value,key:p.value},null,8,["content","jsonContents"]))])):e.createCommentVNode("",!0)])}}},me=K._export_sfc(de,[["__scopeId","data-v-91ce80be"]]);exports.default=me;
|
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"),v=require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("vue"),v=require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DLUx599w.cjs");const C=require("./index.vue_vue_type_style_index_1_lang-BcYTED7W.cjs");require("./index-1z9RrjZc.cjs");const s=require("./ss-component2.cjs"),t=require("./index-9hspBVrQ.cjs"),r=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./main-BVrZ-TOJ.cjs")));r.install=e=>{e.component("ssComponent",r)};const i=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-C7gejN5b.cjs")).then(e=>e.index$1));i.install=e=>{e.component("ssTab",i)};const c=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-DYSG1zs3.cjs")));c.install=e=>{e.component("ssMenu",c)};const l=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-BDRBkDJA.cjs")));l.install=e=>{e.component("ssMenuComponent",l)};const m=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-HvKkM5Lq.cjs")));m.install=e=>{e.component("ssCanvas",m)};const u=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-DEEZPcpU.cjs")));u.install=e=>{e.component("ssFold",u)};const a=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-D8WF1ILq.cjs")).then(e=>e.index));a.install=e=>{e.component("ssAvatar",a)};const h=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./threeModel-D9BMlyjW.cjs")));h.install=e=>{e.component("ssThree",h)};const f=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./threeViewerHost-C77kS_JK.cjs")).then(e=>e.threeViewerHost));f.install=e=>{e.component("threeViewerHost",f)};const p=C.useMenuState(),P=[r,i,c,l,m,u,a,h,f],q=e=>{P.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=v.SvgIcon;exports.router=s;exports.default=q;exports.platformApi=T;
|