ss-component-new 1.1.896 → 1.1.897
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/{animationData-DY_CbQlJ.cjs → animationData-DMDZPXvv.cjs} +1 -1
- package/dist/{animationData-BA5IxHEN.js → animationData-DYCgHrYF.js} +2 -2
- package/dist/array-BtdWJLv-.cjs +11 -0
- package/dist/{array-D5xVcPMv.js → array-DkTRkhnJ.js} +34 -34
- package/dist/{index-DGw2dzGF.js → index-636uR9Lx.js} +17 -17
- package/dist/{index-mCKHgqTy.cjs → index-BBjZB_Wo.cjs} +1 -1
- package/dist/{index-B4vYdR9_.cjs → index-BFEG1UD8.cjs} +1 -1
- package/dist/{index-DG9tQ_fs.js → index-BMiiyzjv.js} +4 -4
- package/dist/{index-DcCgxn9o.cjs → index-BRF1x6rF.cjs} +1 -1
- package/dist/{index-CbeAzxLL.cjs → index-BXJ8e_q_.cjs} +1 -1
- package/dist/{index-DY9F3RkB.cjs → index-BdGjK0Np.cjs} +1 -1
- package/dist/{index-Cti20XM2.js → index-Bh1kqf2p.js} +2 -2
- package/dist/{index-Ce_sWjaG.js → index-BjVJX2VG.js} +2 -2
- package/dist/{index-C2h7GGR-.cjs → index-BuyXWJfY.cjs} +1 -1
- package/dist/{index-Bcac58Xr.cjs → index-BwdQPTLn.cjs} +1 -1
- package/dist/{index-BFQtvfvY.cjs → index-ByoX0irR.cjs} +1 -1
- package/dist/{index-T1GpSJI2.js → index-C-vRYcfD.js} +2 -2
- package/dist/{index-BbjM-KCE.js → index-C2il62bC.js} +10 -10
- package/dist/{index-3--HwZjk.js → index-C8E-IhBb.js} +5 -5
- package/dist/{index-Ctg3U3XI.js → index-CB5iA7oy.js} +7 -7
- package/dist/{index-QylxEhFY.cjs → index-CHMMibPv.cjs} +1 -1
- package/dist/{index-B_eTUqc1.cjs → index-CLR0iebP.cjs} +1 -1
- package/dist/{index-Bl6ng_sb.cjs → index-CLyYI64X.cjs} +1 -1
- package/dist/{index-C4v_3tQK.cjs → index-CM0tjZAX.cjs} +1 -1
- package/dist/{index-DdW8M0b2.cjs → index-CMDW7tYm.cjs} +1 -1
- package/dist/{index-yDZ7Xznz.cjs → index-CSeVQTRv.cjs} +1 -1
- package/dist/{index-pKc4RncM.js → index-CX7kl_NX.js} +1 -1
- package/dist/{index-BuN5XIaX.js → index-CYWH-Gp9.js} +2 -2
- package/dist/{index-tYvWH4AW.js → index-CdcE9AWu.js} +1 -1
- package/dist/{index-CHYW-QPN.js → index-CfV3XCyh.js} +1 -1
- package/dist/{index-hFGA7G_X.cjs → index-CfkuxwZe.cjs} +1 -1
- package/dist/{index-lmO702ak.js → index-CfxVfCcY.js} +1 -1
- package/dist/{index-68psVuAn.cjs → index-CmaPbX8-.cjs} +1 -1
- package/dist/{index-NtKnNKCj.cjs → index-CoynWyjE.cjs} +1 -1
- package/dist/{index-BS2GneVb.js → index-CtWP58Ft.js} +6 -6
- package/dist/{index-C0U4r_a-.js → index-CtbsC0BG.js} +1 -1
- package/dist/{index-BccWnIlV.js → index-D3hOhztB.js} +2 -2
- package/dist/{index-CLiXVGmf.js → index-D8UoJUXf.js} +1 -1
- package/dist/{index-BHuj4KGm.js → index-DBPb4C-z.js} +3 -3
- package/dist/{index-DTJXK2yZ.js → index-DENa-xPL.js} +2 -2
- package/dist/{index-maClXqYL.cjs → index-DGq9tDSB.cjs} +1 -1
- package/dist/{index-uW04qoNr.js → index-DIgPgiTZ.js} +2 -2
- package/dist/{index-DbAlxkas.cjs → index-DePZqpX5.cjs} +1 -1
- package/dist/{index-CJsdDjpC.js → index-DhaHML8_.js} +4 -4
- package/dist/{index-sQv4sWC3.cjs → index-DjeDd2An.cjs} +1 -1
- package/dist/{index-CQr19P_T.cjs → index-DlGUFqeY.cjs} +1 -1
- package/dist/{index-doG8B7Gt.cjs → index-Dppy0_m4.cjs} +1 -1
- package/dist/{index-BKqfrkuj.cjs → index-Dyygod2G.cjs} +1 -1
- package/dist/{index-Dg2S1e6m.js → index-E-ZNV5Oi.js} +4 -4
- package/dist/{index-C-ozwryV.js → index-PLiig3sg.js} +1 -1
- package/dist/{index-CsApMPSt.js → index-QD6WfZ4I.js} +1 -1
- package/dist/{index-DoyZioxf.cjs → index-W3hKnVmm.cjs} +1 -1
- package/dist/{index-CcKl2fKa.cjs → index-ZTkOdi74.cjs} +1 -1
- package/dist/{index-Br3WN5Ri.js → index-g1HD5K4J.js} +4 -4
- package/dist/{index-rUemm2b0.cjs → index-i-DchVTl.cjs} +1 -1
- package/dist/{index-D6Ch-6w1.js → index-i6CD5jtT.js} +1 -1
- package/dist/{index-CE-kGJp3.js → index-noS-01A4.js} +1 -1
- package/dist/{index-DkCPunzn.js → index-t9S_yV-j.js} +3 -3
- package/dist/{index-IqXcl3IO.cjs → index-uZh6dlrA.cjs} +1 -1
- package/dist/{index-DqB0fCs2.cjs → index-xi0Wkyrm.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DNGKK5em.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BXZVEb4L.js} +1719 -1714
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-6P5R4E7q.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-LN5AslJ5.cjs} +57 -57
- package/dist/{index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-CZaDWajP.cjs → index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-D6O1q5lt.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-4fr1cXBD.js → index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-w3nIvRYY.js} +11 -11
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-CHMvQxQG.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-DvjCoETZ.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-DIc7i-SE.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-U-WhgM2C.js} +5 -5
- package/dist/{index.vue_vue_type_style_index_1_lang-D-f8Isol.cjs → index.vue_vue_type_style_index_1_lang-4kquXRWU.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-C8yw6eX6.js → index.vue_vue_type_style_index_1_lang-B6sQAgQL.js} +1498 -1463
- package/dist/{index.vue_vue_type_style_index_1_lang-C0NvjN2f.js → index.vue_vue_type_style_index_1_lang-BfrqvqTp.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_1_lang-D9hEBoWU.cjs → index.vue_vue_type_style_index_1_lang-StvjiRk4.cjs} +12 -12
- package/dist/{main-Ad5owWbz.cjs → main-BifhlUPN.cjs} +1 -1
- package/dist/{main-J_6sXDWE.js → main-BtfHGqn8.js} +4 -4
- package/dist/obj/model.mtl +42 -0
- package/dist/obj/model.obj +26110 -0
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.js +10 -10
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +11 -11
- package/dist/{threeLatheView-DVSaoJ1a.js → threeLatheView-Cpxb4ZEk.js} +4 -4
- package/dist/{threeLatheView-CmgU1wJm.cjs → threeLatheView-DXPYmM-p.cjs} +1 -1
- package/dist/{threeModel-DBWtDHdS.cjs → threeModel-CiGC8DRw.cjs} +1 -1
- package/dist/{threeModel-CwrK5Qry.js → threeModel-YOOMyj52.js} +2 -2
- package/dist/{threeSceneView-Dk6M-Fna.cjs → threeSceneView-3FlRftuO.cjs} +1 -1
- package/dist/{threeSceneView-D-8svxmb.js → threeSceneView-BDfcN_Ja.js} +5 -5
- package/dist/{threeSceneViewForCPMPIP-CpCIYPLp.cjs → threeSceneViewForCPMPIP-BmwhLiSc.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-CQ-EuJx6.js → threeSceneViewForCPMPIP-C3gquXkw.js} +1 -1
- package/dist/{threeViewerHost-CsgUQbCk.js → threeViewerHost-CAC1sXBr.js} +2 -2
- package/dist/{threeViewerHost-D8nwKlr5.cjs → threeViewerHost-DJ_x5c__.cjs} +1 -1
- package/package.json +1 -1
- package/public/obj/model.mtl +42 -0
- package/public/obj/model.obj +26110 -0
- package/dist/array-Gh8rGpd_.cjs +0 -11
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const y=require("./index.vue_vue_type_style_index_1_lang-
|
|
1
|
+
"use strict";const y=require("./index.vue_vue_type_style_index_1_lang-StvjiRk4.cjs"),T=require("./xlsx-BPHygxEf.cjs"),_=require("./threeViewerHost-DJ_x5c__.cjs"),U=require("./index-BLXMF7Kg.cjs");function P(r){try{const c=new URL(r).pathname,i=c.substring(c.lastIndexOf("/")+1);return decodeURIComponent(i)}catch(c){return console.error("无法解析URL以提取文件名:",r,c),"未知文件名"}}function S(r){if(!r)return;const c=r.match(/filename\*\s*=\s*([^;]+)/i);if(c){let n=c[1].trim();n=n.replace(/^"(.*)"$/,"$1");const h=n.split("''");if(h.length===2){const m=h[0].toUpperCase(),f=h[1];try{if(m==="UTF-8")return decodeURIComponent(f)}catch{}return f}try{return decodeURIComponent(n)}catch{return n}}const i=r.match(/filename\s*=\s*("?)([^";]+)\1/i);if(i)return i[2].trim()}async function K(r){let c,i;if(/^https?:\/\//.test(r))try{const n=await fetch(r,{method:"GET",cache:"no-store"});if(!n.ok)throw new Error(`下载文件失败: ${n.statusText} (URL: ${r})`);c=await n.blob(),i=P(r)}catch(n){throw console.error("使用 fetch 下载文件时出错:",n),n}else try{const n=await _.downloadAvatarApi({url:r});if(n.status!==200)throw new Error(`下载失败: ${n.status}`);const h=n.headers["content-disposition"];i=S(h)||"无文件名",c=n.data}catch(n){throw console.error("通过 API 下载文件时出错:",n),n}return new File([c],i,{type:c.type})}function N(r){return new Promise((c,i)=>{const n=new FileReader;n.onload=h=>{var m;try{const f=(m=h.target)==null?void 0:m.result,u=T.readSync(f,{type:"array"}),F=u.Sheets[u.SheetNames[0]],E=T.utils.sheet_to_json(F);c(E)}catch(f){i(f)}},n.readAsArrayBuffer(r)})}const V=async()=>{const r="弯管仿真加工分析";let c={};const i=sessionStorage.getItem("systemKey"),n=await y.getItemData(`${r}/管件解析`,i,"");let h=["管长","外径"],m={};n==null||n.forEach(e=>{var s;(e==null?void 0:e.comp)==="Form"&&((s=e==null?void 0:e.compData)==null||s.forEach(o=>{var l;(o==null?void 0:o.key)==="formContent"&&((l=o==null?void 0:o.contents)==null||l.forEach(a=>{h.includes(a==null?void 0:a.key)&&(m[a.key]=a.value)}))}))});const f=m.管长,u=m.外径;console.log("管长",f,"外径",u,m);const F=f,E=u/2,d=await y.getItemData(`${r}/加工位姿生成`,i,"");let A=["夹持长度"],g={};d==null||d.forEach(e=>{var s;(e==null?void 0:e.comp)==="Form"&&((s=e==null?void 0:e.compData)==null||s.forEach(o=>{var l;(o==null?void 0:o.key)==="formContent"&&((l=o==null?void 0:o.contents)==null||l.forEach(a=>{A.includes(a==null?void 0:a.key)&&(g[a.key]=a.value)}))}))});const k=g.夹持长度;console.log("夹持长度",k,g);const $=Number(k),w={},b=await y.getItemData(`${r}/仿真动画生成`,i,"");b==null||b.forEach(e=>{var s,o,l,a,R,L;if((e==null?void 0:e.comp)==="Table"){let x=[],D=(l=(o=(s=e==null?void 0:e.compData)==null?void 0:s.find(t=>(t==null?void 0:t.key)==="header"))==null?void 0:o.contents)==null?void 0:l.map(t=>t==null?void 0:t.label),C=(L=(R=(a=e==null?void 0:e.compData)==null?void 0:a.find(t=>(t==null?void 0:t.key)==="tableContents"))==null?void 0:R.contents)==null?void 0:L.map(t=>(t=t==null?void 0:t.filter(p=>!(p!=null&&p.id)),t));C==null||C.forEach(t=>{x.push(y.getValueToObjectValue(t,D==null?void 0:D.filter(p=>p!=="操作")))}),w[e.name]=x,w[e.name+"Content"]=e}});const I=U.cloneDeep(w);return c={initialPipeLength:F,pipeRadius:E,clampLength:$,animationData:I},c},q=async()=>{const r="双弯管仿真加工分析";let c={};const i=sessionStorage.getItem("systemKey"),n=await y.getItemData(`${r}/管件解析`,i,"");let h=["管长","外径"],m={};n==null||n.forEach(e=>{var s;(e==null?void 0:e.comp)==="Form"&&((s=e==null?void 0:e.compData)==null||s.forEach(o=>{var l;(o==null?void 0:o.key)==="formContent"&&((l=o==null?void 0:o.contents)==null||l.forEach(a=>{h.includes(a==null?void 0:a.key)&&(m[a.key]=a.value)}))}))});const f=m.管长,u=m.外径;console.log("管长",f,"外径",u,m);const F=f,E=u/2,d=await y.getItemData(`${r}/加工工艺生成`,i,"");let A=["夹持位置"],g={};d==null||d.forEach(e=>{var s;(e==null?void 0:e.comp)==="Form"&&((s=e==null?void 0:e.compData)==null||s.forEach(o=>{var l;(o==null?void 0:o.key)==="formContent"&&((l=o==null?void 0:o.contents)==null||l.forEach(a=>{A.includes(a==null?void 0:a.key)&&(g[a.key]=a.value)}))}))});const k=g.夹持位置;console.log("夹持长度",k,g);const $=Number(k),w={},b=await y.getItemData(`${r}/仿真动画生成`,i,"");b==null||b.forEach(e=>{var s,o,l,a,R,L;if((e==null?void 0:e.comp)==="Table"){let x=[],D=(l=(o=(s=e==null?void 0:e.compData)==null?void 0:s.find(t=>(t==null?void 0:t.key)==="header"))==null?void 0:o.contents)==null?void 0:l.map(t=>t==null?void 0:t.label),C=(L=(R=(a=e==null?void 0:e.compData)==null?void 0:a.find(t=>(t==null?void 0:t.key)==="tableContents"))==null?void 0:R.contents)==null?void 0:L.map(t=>(t=t==null?void 0:t.filter(p=>!(p!=null&&p.id)),t));C==null||C.forEach(t=>{x.push(y.getValueToObjectValue(t,D==null?void 0:D.filter(p=>p!=="操作")))}),w[e.name]=x,w[e.name+"Content"]=e}});const I=U.cloneDeep(w);return c={initialPipeLength:F,pipeRadius:E,clampLength:$,animationData:I},c},B=async r=>await K(r),j=async r=>await N(r),X=async r=>{const c=await B(r);return await j(c)};exports.fetchDoubleRobotAnimationData=q;exports.fetchSingleRobotAnimationData=V;exports.initXYZBCList=X;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as C, k as x } from "./index.vue_vue_type_style_index_1_lang-
|
|
1
|
+
import { i as C, k as x } from "./index.vue_vue_type_style_index_1_lang-B6sQAgQL.js";
|
|
2
2
|
import { r as K, u as S } from "./xlsx-ByPOQ6N_.js";
|
|
3
|
-
import { d as I } from "./threeViewerHost-
|
|
3
|
+
import { d as I } from "./threeViewerHost-CAC1sXBr.js";
|
|
4
4
|
import { c as P } from "./index-D4kvz4W4.js";
|
|
5
5
|
function N(r) {
|
|
6
6
|
try {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";const x=require("vue"),c=require("./index-BLXMF7Kg.cjs"),D=[{key:"FormName",value:"Form"},{key:"TableName",value:"Table"},{key:"MenuName",value:"Menu"},{key:"GroupName",value:"Group"},{key:"SystemKey",value:"System"}],b=[{key:"FormDirect",value:"formFlex"},{key:"Form",value:"formContent"},{key:"FormButton",value:"formButton"},{key:"FormFlex",value:"formWrap"},{key:"TableColumns",value:"header"},{key:"TableButton",value:"extraButton"},{key:"TableLineButton",value:"rowButton"},{key:"Table",value:"tableContents"},{key:"TableIndex",value:"tableIndex"},{key:"Menus",value:"menuContents"},{key:"GroupContents",value:"groupContents"}];x.ref(0);const I=l=>{var t,r;if(Array.isArray(Object.keys(l))&&((t=Object.keys(l))==null?void 0:t.length)>0){let e=[];return(r=Object.entries(l))==null||r.forEach(([s,n])=>{var y,$;let a=[];if(a.push(s),((y=Object.keys(n))==null?void 0:y.length)>0){let f=[];($=I(n))==null||$.forEach(T=>{f.push(T)}),f==null||f.forEach(T=>{a.push(T)})}e.push(a)}),e}},R=(l,t)=>{var e;let r=t;return Array.isArray(Object.keys(l))&&((e=Object.entries(l))==null||e.forEach(([s,n])=>{let a=[s];if(typeof n=="object"&&n!==null){let y=I(n);y==null||y.forEach($=>{a.push($)})}r.push(a)})),r},S=l=>{const t={};return l.forEach(e=>{const s=e.split("/");let n=t;s.forEach(a=>{n[a]||(n[a]={}),n=n[a]})}),R(t,[])},X=l=>S(l);x.ref(0);x.ref(1);const q=l=>{let t;l.replaceAll(" ",`\r
|
|
2
|
+
`).replaceAll(`
|
|
3
|
+
`,`\r
|
|
4
|
+
`).includes(`\r
|
|
5
|
+
`)?t=l.replaceAll(`
|
|
6
|
+
`,`\r
|
|
7
|
+
`).replaceAll(" ",`\r
|
|
8
|
+
`).split(`\r
|
|
9
|
+
`).filter(s=>s.trim()!==""):t=l.replaceAll(" ",`\r
|
|
10
|
+
`).split(`
|
|
11
|
+
`).filter(s=>s.trim()!=="");const r=[];let e="";for(const s of t)s.includes("{")||e.includes("{")||s.includes("[")||e.includes("[")||s.includes("【")||e.includes("【")||s.includes("(")||e.includes("(")||s.includes("(")||e.includes("(")||s.includes("/*")||e.includes("/*")?(e+=s.trim(),c.cloneDeep(e).split("{").length-1===c.cloneDeep(e).split("}").length-1&&c.cloneDeep(e).split("【").length-1===c.cloneDeep(e).split("】").length-1&&c.cloneDeep(e).split("[").length-1===c.cloneDeep(e).split("]").length-1&&c.cloneDeep(e).split("(").length-1===c.cloneDeep(e).split(")").length-1&&c.cloneDeep(e).split("(").length-1===c.cloneDeep(e).split(")").length-1&&c.cloneDeep(e).split("/*").length-1===c.cloneDeep(e).split("*/").length-1&&e[e.length-1]!==","?(r.push(e.replace(/\/\*[\s\S]*?\*\//g,"")),e=""):e!=null&&e.includes("*/")&&(r.push(e.replace(/\/\*[\s\S]*?\*\//g,"")),e="")):r.push(s.trim().replace(/\/\*[\s\S]*?\*\//g,""));return r},Y=l=>{const[t,r]=l.split(/=(.+)/),e=t.replace(/['"]/g,"").trim(),s=r.replace(/^['"]|['"]$/g,"");return{key:e,value:s}},K=l=>{let t;l!=null&&l.includes(":")?t=l.split(":").filter(s=>s.trim()!==""):t=l==null?void 0:l.split(":").filter(s=>s.trim()!=="");const r=[];let e="";for(const s of t)s.includes("{")||e.includes("{")||s.includes("[")||e.includes("[")||s.includes("【")||e.includes("【")||s.includes("(")||e.includes("(")||s.includes("(")||e.includes("(")||s.includes("/*")||e.includes("/*")?(e=e!==""?e+":"+s.trim():s.trim(),c.cloneDeep(e).split("{").length-1===c.cloneDeep(e).split("}").length-1&&c.cloneDeep(e).split("【").length-1===c.cloneDeep(e).split("】").length-1&&c.cloneDeep(e).split("[").length-1===c.cloneDeep(e).split("]").length-1&&c.cloneDeep(e).split("(").length-1===c.cloneDeep(e).split(")").length-1&&c.cloneDeep(e).split("(").length-1===c.cloneDeep(e).split(")").length-1&&c.cloneDeep(e).split("/*").length-1===c.cloneDeep(e).split("*/").length-1&&(r.push(e.replace(/\/\*[\s\S]*?\*\//g,"")),e="")):r.push(s.trim().replace(/\/\*[\s\S]*?\*\//g,""));return r},C=l=>{var r,e,s,n,a,y,$,f;const t=(e=(r=l.split("("))==null?void 0:r[1])==null?void 0:e.trim();return((s=K(t.slice(0,t.length-1)))==null?void 0:s.length)>0?t.slice(0,t.length-1):(f=($=(y=(a=(n=l.split("("))==null?void 0:n[1])==null?void 0:a.trim())==null?void 0:y.split(")"))==null?void 0:$[0])==null?void 0:f.trim()},Z=x.ref(0),P=x.ref(0),M=l=>{const t=l.trim().replace(/^'|'$/g,""),r=/((?:\$?[a-zA-Z_][a-zA-Z0-9_]*\$?\([^)]*\))|[a-zA-Z_][a-zA-Z0-9_]*)\s*=\s*(.*?)(?=\s*(?:(?:\$?[a-zA-Z_][a-zA-Z0-9_]*\$?\([^)]*\))|[a-zA-Z_][a-zA-Z0-9_]*)\s*=|$)/g,e={};let s;for(;(s=r.exec(t))!==null;){const n=s[1];let a=s[2].trim();(a.match(/\[/g)||[]).length!==(a.match(/\]/g)||[]).length&&(a=a==null?void 0:a.replace(/]$/,"")),e[n]?(e[n+P.value]&&P.value++,e[n+P.value]=n+"="+a):e[n]=n+"="+a}return e},H=l=>{const[t,r]=l.split("=").map(n=>n.trim()),e=t.replace(/['"]/g,""),s=r.replace(/^['"]|['"]$/g,"");return{key:e,value:s}},v=l=>{var a;let t=[];const[r,e]=l.split(/=(.+)/),s=r.replace(/['"]/g,"").trim(),n=e.replace(/^['"]|['"]$/g,"");return(a=Object.values(M(n)))==null||a.forEach(y=>{t.push(H(y))}),{key:s,value:t}},_=l=>{try{return JSON.parse(l),!0}catch{return!1}},Q=l=>{try{const t=l.replace(/[’]|[‘]|[']/g,'"').replace(/,/g,",").replace(/:/g,":").replace(/:\s*(?=,|}|$)/g,': ""');if(c.cloneDeep(t).split("{").length-1>1){let r=c.cloneDeep(t).replace(/^\{(.*)\}$/,"[$1]");if(_(r)&&!r.includes("$")||(r=r.replace(/"([^"]+)"\$([\w\u4e00-\u9fa5]+\([^)]*\))/g,'"$1$$$2"')),_(r)){const e=JSON.parse(r);let s=[];return e==null||e.forEach(n=>{var a;(a=Object.entries(c.cloneDeep(n)))==null||a.forEach(y=>{Z.value++,s.push({id:Z.value,key:(y==null?void 0:y[0])??"",value:(y==null?void 0:y[1])===""?"":y==null?void 0:y[1],width:Object.keys(c.cloneDeep(n)).length})})}),s}else return console.error("转换类型不正确:"),[]}else if(_(t)){const r=JSON.parse(t);return Object.entries(r).map(([e,s])=>(Z.value++,{id:Z.value,key:e,value:s===""?"":s,width:1}))}else return t}catch(t){return console.error("转换失败:",t),[]}},w=(l,t)=>{try{if(D!=null&&D.find(r=>(r==null?void 0:r.key)===t))return JSON.parse(l.replace(/[’]|[‘]|[']/g,'"'));if(c.cloneDeep(l).split("[").length-1>1){const r=c.cloneDeep(l).replace(/[’]|[‘]|[']/g,'"').replaceAll(/,/g,",").replaceAll("(","[").replaceAll(")","]").replaceAll("],]","]]");return JSON.parse(r)}else{const r=c.cloneDeep(l).replace(/[’]|[‘]|[']/g,'"').replace(/,/g,",");if(_(r)){const e=JSON.parse(r);return Array.isArray(e)?e.map(s=>({label:s})):e}else return Q(c.cloneDeep(l))}}catch(r){return console.error("解析失败:",r),l}},ee=l=>({[l==null?void 0:l.key]:w(l==null?void 0:l.value,l==null?void 0:l.key)}),le=l=>{try{if(c.cloneDeep(l).split("[").length-1>1){const t=c.cloneDeep(l).replace(/[’]|[‘]|[']/g,'"').replaceAll(/,/g,",").replaceAll("(","[").replaceAll(")","]").replaceAll("],]","]]");return JSON.parse(t)}else return JSON.parse(c.cloneDeep(l).replace(/[’]|[‘]|[']/g,'"').replace(/,/g,",")).map(r=>({label:r}))}catch(t){return console.error("解析失败:",t),l}},re=l=>{var t,r,e,s,n,a;try{const y=q((r=(t=c.cloneDeep(l))==null?void 0:t.replace("(","("))==null?void 0:r.replace(")",")")),$=(e=c.cloneDeep(y))==null?void 0:e.map(p=>{var o,u;let j=(u=(o=c.cloneDeep(p))==null?void 0:o.split("="))==null?void 0:u[0];return j!=null&&j.includes("GroupContents")?v(p):H(p)}),f=[];(s=c.cloneDeep($))==null||s.forEach(p=>{var j,o,u,U,d;D!=null&&D.find(m=>{var i,k;return((i=m==null?void 0:m.key)==null?void 0:i.toUpperCase())===((k=p==null?void 0:p.key)==null?void 0:k.toUpperCase())})?f.push({comp:((j=D==null?void 0:D.find(m=>{var i,k;return((i=m==null?void 0:m.key)==null?void 0:i.toUpperCase())===((k=p==null?void 0:p.key)==null?void 0:k.toUpperCase())}))==null?void 0:j.value)??"",name:(o=p==null?void 0:p.value)==null?void 0:o.replace(/[’]|[‘]|[']/g,""),compData:[]}):b!=null&&b.find(m=>{var i,k;return((i=m==null?void 0:m.key)==null?void 0:i.toUpperCase())===((k=p==null?void 0:p.key)==null?void 0:k.toUpperCase())})&&((f==null?void 0:f.length)===0&&(u=p.key)!=null&&u.includes("Menus")&&f.push({comp:"Menu",name:"",compData:[]}),(U=f==null?void 0:f[(f==null?void 0:f.length)-1])!=null&&U.compData&&f[(f==null?void 0:f.length)-1].compData.push({key:(d=b==null?void 0:b.find(m=>{var i,k;return((i=m==null?void 0:m.key)==null?void 0:i.toUpperCase())===((k=p==null?void 0:p.key)==null?void 0:k.toUpperCase())}))==null?void 0:d.value,contents:p==null?void 0:p.value}))});let T=(n=c.cloneDeep(f))==null?void 0:n.map(p=>{var j;return p!=null&&p.compData&&(p.compData=(j=p==null?void 0:p.compData)==null?void 0:j.map(o=>{var u,U,d,m,i,k,N,E,J,F,G;if((o==null?void 0:o.key)==="formFlex")o.contents=((U=(u=o.contents)==null?void 0:u.replace(/[’]|[‘]|[']/g,""))==null?void 0:U.toUpperCase())!=="Vertical".toUpperCase();else if((o==null?void 0:o.key)==="groupContents")o.contents=(d=c.cloneDeep(o.contents))==null?void 0:d.map(z=>ee(c.cloneDeep(z)));else if(((i=(m=o.contents)==null?void 0:m.trim())!=null&&i.startsWith("[")||(N=(k=o.contents)==null?void 0:k.trim())!=null&&N.startsWith("【"))&&((J=(E=o.contents)==null?void 0:E.trim())!=null&&J.endsWith("]")||(G=(F=o.contents)==null?void 0:F.trim())!=null&&G.endsWith("】")))o.contents=le(c.cloneDeep(o.contents));else{if(!o.contents)return;o.contents=Q(c.cloneDeep(o.contents))}return o})),p});return T=(a=c.cloneDeep(T))==null?void 0:a.map(p=>{var j;return(p==null?void 0:p.comp)==="Group"&&(p.compData=(j=p.compData)==null?void 0:j.map(o=>{var U;let u=[];return(U=o.contents)==null||U.forEach(d=>{var m,i,k,N,E,J,F,G,z,B,L,W;if(D!=null&&D.find(h=>{var g,A,O;return((g=h==null?void 0:h.key)==null?void 0:g.toUpperCase())===((O=(A=Object.keys(d))==null?void 0:A[0])==null?void 0:O.toUpperCase())}))u.push({comp:(m=D==null?void 0:D.find(h=>{var g,A,O;return((g=h==null?void 0:h.key)==null?void 0:g.toUpperCase())===((O=(A=Object.keys(d))==null?void 0:A[0])==null?void 0:O.toUpperCase())}))==null?void 0:m.value,name:(k=(i=Object.values(d))==null?void 0:i[0])==null?void 0:k.replace(/[’]|[‘]|[']/g,""),compData:[]});else if(b!=null&&b.find(h=>{var g,A,O;return((g=h==null?void 0:h.key)==null?void 0:g.toUpperCase())===((O=(A=Object.keys(d))==null?void 0:A[0])==null?void 0:O.toUpperCase())})){if((u==null?void 0:u.length)===0)return;(N=u==null?void 0:u[(u==null?void 0:u.length)-1])!=null&&N.compData&&u[(u==null?void 0:u.length)-1].compData.push({key:(E=b==null?void 0:b.find(h=>{var g,A,O;return((g=h==null?void 0:h.key)==null?void 0:g.toUpperCase())===((O=(A=Object.keys(d))==null?void 0:A[0])==null?void 0:O.toUpperCase())}))==null?void 0:E.value,contents:(J=Object.values(d))==null?void 0:J[0]})}else if((G=(F=Object.keys(d))==null?void 0:F[0])!=null&&G.includes("$")){const h=(B=(z=Object.keys(c.cloneDeep(d)))==null?void 0:z[0])==null?void 0:B.split("$");u[(u==null?void 0:u.length)-1].compData.push({key:(L=b==null?void 0:b.find(g=>{var A,O;return((A=g==null?void 0:g.key)==null?void 0:A.toUpperCase())===((O=h==null?void 0:h[0])==null?void 0:O.toUpperCase())}))==null?void 0:L.value,contents:(W=Object.values(d))==null?void 0:W[0],selectLabel:h==null?void 0:h[1]})}return d}),o.contents=u,o})),p}),T}catch{return!1}},se=l=>re(l),V=x.ref(0),te=l=>l.reduce((r,e)=>{var n,a;const s=Object.values(r);return(((n=Object.keys(r))==null?void 0:n.length)===0||s[s.length-1].length>=(e==null?void 0:e.width))&&(r[V.value]=[],V.value++),r[V.value-1].push(e),((a=Object.keys(r))==null?void 0:a.length)===(e==null?void 0:e.width)&&(r[V.value]=[],V.value++),r},{});exports.arrayToNumberArray=te;exports.contentTrans=K;exports.contentTransArray=q;exports.expandStringToJson=se;exports.getContentValue=C;exports.menuArray=X;exports.parseGroupValue=Y;
|
|
@@ -127,7 +127,7 @@ const X = (r) => {
|
|
|
127
127
|
const l = [];
|
|
128
128
|
let e = "";
|
|
129
129
|
for (const s of t)
|
|
130
|
-
s.includes("{") || e.includes("{") || s.includes("[") || e.includes("[") || s.includes("【") || e.includes("【") || s.includes("(") || e.includes("(") || s.includes("(") || e.includes("(") || s.includes("/*") || e.includes("/*") ? (e += s.trim(), a(e).split("{").length - 1 === a(e).split("}").length - 1 && a(e).split("【").length - 1 === a(e).split("】").length - 1 && a(e).split("[").length - 1 === a(e).split("]").length - 1 && a(e).split("(").length - 1 === a(e).split(")").length - 1 && a(e).split("(").length - 1 === a(e).split(")").length - 1 && a(e).split("/*").length - 1 === a(e).split("*/").length - 1 && e[e.length - 1] !== "," && (l.push(e.replace(/\/\*[\s\S]*?\*\//g, "")), e = "")) : l.push(s.trim().replace(/\/\*[\s\S]*?\*\//g, ""));
|
|
130
|
+
s.includes("{") || e.includes("{") || s.includes("[") || e.includes("[") || s.includes("【") || e.includes("【") || s.includes("(") || e.includes("(") || s.includes("(") || e.includes("(") || s.includes("/*") || e.includes("/*") ? (e += s.trim(), a(e).split("{").length - 1 === a(e).split("}").length - 1 && a(e).split("【").length - 1 === a(e).split("】").length - 1 && a(e).split("[").length - 1 === a(e).split("]").length - 1 && a(e).split("(").length - 1 === a(e).split(")").length - 1 && a(e).split("(").length - 1 === a(e).split(")").length - 1 && a(e).split("/*").length - 1 === a(e).split("*/").length - 1 && e[e.length - 1] !== "," ? (l.push(e.replace(/\/\*[\s\S]*?\*\//g, "")), e = "") : e != null && e.includes("*/") && (l.push(e.replace(/\/\*[\s\S]*?\*\//g, "")), e = "")) : l.push(s.trim().replace(/\/\*[\s\S]*?\*\//g, ""));
|
|
131
131
|
return l;
|
|
132
132
|
}, se = (r) => {
|
|
133
133
|
const [t, l] = r.split(/=(.+)/), e = t.replace(/['"]/g, "").trim(), s = l.replace(/^['"]|['"]$/g, "");
|
|
@@ -144,13 +144,13 @@ const X = (r) => {
|
|
|
144
144
|
var l, e, s, p, u, y, U, h;
|
|
145
145
|
const t = (e = (l = r.split("(")) == null ? void 0 : l[1]) == null ? void 0 : e.trim();
|
|
146
146
|
return ((s = Y(t.slice(0, t.length - 1))) == null ? void 0 : s.length) > 0 ? t.slice(0, t.length - 1) : (h = (U = (y = (u = (p = r.split("(")) == null ? void 0 : p[1]) == null ? void 0 : u.trim()) == null ? void 0 : y.split(")")) == null ? void 0 : U[0]) == null ? void 0 : h.trim();
|
|
147
|
-
},
|
|
147
|
+
}, P = E(0), B = E(0), S = (r) => {
|
|
148
148
|
const t = r.trim().replace(/^'|'$/g, ""), l = /((?:\$?[a-zA-Z_][a-zA-Z0-9_]*\$?\([^)]*\))|[a-zA-Z_][a-zA-Z0-9_]*)\s*=\s*(.*?)(?=\s*(?:(?:\$?[a-zA-Z_][a-zA-Z0-9_]*\$?\([^)]*\))|[a-zA-Z_][a-zA-Z0-9_]*)\s*=|$)/g, e = {};
|
|
149
149
|
let s;
|
|
150
150
|
for (; (s = l.exec(t)) !== null; ) {
|
|
151
151
|
const p = s[1];
|
|
152
152
|
let u = s[2].trim();
|
|
153
|
-
(u.match(/\[/g) || []).length !== (u.match(/\]/g) || []).length && (u = u == null ? void 0 : u.replace(/]$/, "")), e[p] ? (e[p +
|
|
153
|
+
(u.match(/\[/g) || []).length !== (u.match(/\]/g) || []).length && (u = u == null ? void 0 : u.replace(/]$/, "")), e[p] ? (e[p + B.value] && B.value++, e[p + B.value] = p + "=" + u) : e[p] = p + "=" + u;
|
|
154
154
|
}
|
|
155
155
|
return e;
|
|
156
156
|
}, H = (r) => {
|
|
@@ -163,7 +163,7 @@ const X = (r) => {
|
|
|
163
163
|
return (u = Object.values(S(p))) == null || u.forEach((y) => {
|
|
164
164
|
t.push(H(y));
|
|
165
165
|
}), { key: s, value: t };
|
|
166
|
-
},
|
|
166
|
+
}, V = (r) => {
|
|
167
167
|
try {
|
|
168
168
|
return JSON.parse(r), !0;
|
|
169
169
|
} catch {
|
|
@@ -174,14 +174,14 @@ const X = (r) => {
|
|
|
174
174
|
const t = r.replace(/[’]|[‘]|[']/g, '"').replace(/,/g, ",").replace(/:/g, ":").replace(/:\s*(?=,|}|$)/g, ': ""');
|
|
175
175
|
if (a(t).split("{").length - 1 > 1) {
|
|
176
176
|
let l = a(t).replace(/^\{(.*)\}$/, "[$1]");
|
|
177
|
-
if (
|
|
177
|
+
if (V(l) && !l.includes("$") || (l = l.replace(/"([^"]+)"\$([\w\u4e00-\u9fa5]+\([^)]*\))/g, '"$1$$$2"')), V(l)) {
|
|
178
178
|
const e = JSON.parse(l);
|
|
179
179
|
let s = [];
|
|
180
180
|
return e == null || e.forEach((p) => {
|
|
181
181
|
var u;
|
|
182
182
|
(u = Object.entries(a(p))) == null || u.forEach((y) => {
|
|
183
|
-
|
|
184
|
-
id:
|
|
183
|
+
P.value++, s.push({
|
|
184
|
+
id: P.value,
|
|
185
185
|
key: (y == null ? void 0 : y[0]) ?? "",
|
|
186
186
|
value: (y == null ? void 0 : y[1]) === "" ? "" : y == null ? void 0 : y[1],
|
|
187
187
|
// 如果值为空,则key设为空字符串,否则保留原值
|
|
@@ -191,10 +191,10 @@ const X = (r) => {
|
|
|
191
191
|
}), s;
|
|
192
192
|
} else
|
|
193
193
|
return console.error("转换类型不正确:"), [];
|
|
194
|
-
} else if (
|
|
194
|
+
} else if (V(t)) {
|
|
195
195
|
const l = JSON.parse(t);
|
|
196
|
-
return Object.entries(l).map(([e, s]) => (
|
|
197
|
-
id:
|
|
196
|
+
return Object.entries(l).map(([e, s]) => (P.value++, {
|
|
197
|
+
id: P.value,
|
|
198
198
|
key: e,
|
|
199
199
|
value: s === "" ? "" : s,
|
|
200
200
|
// 如果值为空,则key设为空字符串,否则保留原值
|
|
@@ -214,7 +214,7 @@ const X = (r) => {
|
|
|
214
214
|
return JSON.parse(l);
|
|
215
215
|
} else {
|
|
216
216
|
const l = a(r).replace(/[’]|[‘]|[']/g, '"').replace(/,/g, ",");
|
|
217
|
-
if (
|
|
217
|
+
if (V(l)) {
|
|
218
218
|
const e = JSON.parse(l);
|
|
219
219
|
return Array.isArray(e) ? e.map((s) => ({ label: s })) : e;
|
|
220
220
|
} else
|
|
@@ -243,27 +243,27 @@ const X = (r) => {
|
|
|
243
243
|
}), h = [];
|
|
244
244
|
(s = a(U)) == null || s.forEach((c) => {
|
|
245
245
|
var $, n, o, x, d;
|
|
246
|
-
A != null && A.find((
|
|
246
|
+
A != null && A.find((m) => {
|
|
247
247
|
var i, k;
|
|
248
|
-
return ((i =
|
|
248
|
+
return ((i = m == null ? void 0 : m.key) == null ? void 0 : i.toUpperCase()) === ((k = c == null ? void 0 : c.key) == null ? void 0 : k.toUpperCase());
|
|
249
249
|
}) ? h.push({
|
|
250
|
-
comp: (($ = A == null ? void 0 : A.find((
|
|
250
|
+
comp: (($ = A == null ? void 0 : A.find((m) => {
|
|
251
251
|
var i, k;
|
|
252
|
-
return ((i =
|
|
252
|
+
return ((i = m == null ? void 0 : m.key) == null ? void 0 : i.toUpperCase()) === ((k = c == null ? void 0 : c.key) == null ? void 0 : k.toUpperCase());
|
|
253
253
|
})) == null ? void 0 : $.value) ?? "",
|
|
254
254
|
name: (n = c == null ? void 0 : c.value) == null ? void 0 : n.replace(/[’]|[‘]|[']/g, ""),
|
|
255
255
|
compData: []
|
|
256
|
-
}) : b != null && b.find((
|
|
256
|
+
}) : b != null && b.find((m) => {
|
|
257
257
|
var i, k;
|
|
258
|
-
return ((i =
|
|
258
|
+
return ((i = m == null ? void 0 : m.key) == null ? void 0 : i.toUpperCase()) === ((k = c == null ? void 0 : c.key) == null ? void 0 : k.toUpperCase());
|
|
259
259
|
}) && ((h == null ? void 0 : h.length) === 0 && (o = c.key) != null && o.includes("Menus") && h.push({
|
|
260
260
|
comp: "Menu",
|
|
261
261
|
name: "",
|
|
262
262
|
compData: []
|
|
263
263
|
}), (x = h == null ? void 0 : h[(h == null ? void 0 : h.length) - 1]) != null && x.compData && h[(h == null ? void 0 : h.length) - 1].compData.push({
|
|
264
|
-
key: (d = b == null ? void 0 : b.find((
|
|
264
|
+
key: (d = b == null ? void 0 : b.find((m) => {
|
|
265
265
|
var i, k;
|
|
266
|
-
return ((i =
|
|
266
|
+
return ((i = m == null ? void 0 : m.key) == null ? void 0 : i.toUpperCase()) === ((k = c == null ? void 0 : c.key) == null ? void 0 : k.toUpperCase());
|
|
267
267
|
})) == null ? void 0 : d.value,
|
|
268
268
|
contents: c == null ? void 0 : c.value
|
|
269
269
|
}));
|
|
@@ -271,12 +271,12 @@ const X = (r) => {
|
|
|
271
271
|
let N = (p = a(h)) == null ? void 0 : p.map((c) => {
|
|
272
272
|
var $;
|
|
273
273
|
return c != null && c.compData && (c.compData = ($ = c == null ? void 0 : c.compData) == null ? void 0 : $.map((n) => {
|
|
274
|
-
var o, x, d,
|
|
274
|
+
var o, x, d, m, i, k, T, J, F, z, G;
|
|
275
275
|
if ((n == null ? void 0 : n.key) === "formFlex")
|
|
276
276
|
n.contents = ((x = (o = n.contents) == null ? void 0 : o.replace(/[’]|[‘]|[']/g, "")) == null ? void 0 : x.toUpperCase()) !== "Vertical".toUpperCase();
|
|
277
277
|
else if ((n == null ? void 0 : n.key) === "groupContents")
|
|
278
278
|
n.contents = (d = a(n.contents)) == null ? void 0 : d.map((_) => C(a(_)));
|
|
279
|
-
else if (((i = (
|
|
279
|
+
else if (((i = (m = n.contents) == null ? void 0 : m.trim()) != null && i.startsWith("[") || (T = (k = n.contents) == null ? void 0 : k.trim()) != null && T.startsWith("【")) && ((F = (J = n.contents) == null ? void 0 : J.trim()) != null && F.endsWith("]") || (G = (z = n.contents) == null ? void 0 : z.trim()) != null && G.endsWith("】")))
|
|
280
280
|
n.contents = v(a(n.contents));
|
|
281
281
|
else {
|
|
282
282
|
if (!n.contents) return;
|
|
@@ -291,40 +291,40 @@ const X = (r) => {
|
|
|
291
291
|
var x;
|
|
292
292
|
let o = [];
|
|
293
293
|
return (x = n.contents) == null || x.forEach((d) => {
|
|
294
|
-
var
|
|
295
|
-
if (A != null && A.find((
|
|
294
|
+
var m, i, k, T, J, F, z, G, _, L, W, I;
|
|
295
|
+
if (A != null && A.find((f) => {
|
|
296
296
|
var g, O, j;
|
|
297
|
-
return ((g =
|
|
297
|
+
return ((g = f == null ? void 0 : f.key) == null ? void 0 : g.toUpperCase()) === ((j = (O = Object.keys(d)) == null ? void 0 : O[0]) == null ? void 0 : j.toUpperCase());
|
|
298
298
|
}))
|
|
299
299
|
o.push({
|
|
300
|
-
comp: (
|
|
300
|
+
comp: (m = A == null ? void 0 : A.find((f) => {
|
|
301
301
|
var g, O, j;
|
|
302
|
-
return ((g =
|
|
303
|
-
})) == null ? void 0 :
|
|
302
|
+
return ((g = f == null ? void 0 : f.key) == null ? void 0 : g.toUpperCase()) === ((j = (O = Object.keys(d)) == null ? void 0 : O[0]) == null ? void 0 : j.toUpperCase());
|
|
303
|
+
})) == null ? void 0 : m.value,
|
|
304
304
|
name: (k = (i = Object.values(d)) == null ? void 0 : i[0]) == null ? void 0 : k.replace(/[’]|[‘]|[']/g, ""),
|
|
305
305
|
compData: []
|
|
306
306
|
});
|
|
307
|
-
else if (b != null && b.find((
|
|
307
|
+
else if (b != null && b.find((f) => {
|
|
308
308
|
var g, O, j;
|
|
309
|
-
return ((g =
|
|
309
|
+
return ((g = f == null ? void 0 : f.key) == null ? void 0 : g.toUpperCase()) === ((j = (O = Object.keys(d)) == null ? void 0 : O[0]) == null ? void 0 : j.toUpperCase());
|
|
310
310
|
})) {
|
|
311
311
|
if ((o == null ? void 0 : o.length) === 0) return;
|
|
312
312
|
(T = o == null ? void 0 : o[(o == null ? void 0 : o.length) - 1]) != null && T.compData && o[(o == null ? void 0 : o.length) - 1].compData.push({
|
|
313
|
-
key: (J = b == null ? void 0 : b.find((
|
|
313
|
+
key: (J = b == null ? void 0 : b.find((f) => {
|
|
314
314
|
var g, O, j;
|
|
315
|
-
return ((g =
|
|
315
|
+
return ((g = f == null ? void 0 : f.key) == null ? void 0 : g.toUpperCase()) === ((j = (O = Object.keys(d)) == null ? void 0 : O[0]) == null ? void 0 : j.toUpperCase());
|
|
316
316
|
})) == null ? void 0 : J.value,
|
|
317
317
|
contents: (F = Object.values(d)) == null ? void 0 : F[0]
|
|
318
318
|
});
|
|
319
319
|
} else if ((G = (z = Object.keys(d)) == null ? void 0 : z[0]) != null && G.includes("$")) {
|
|
320
|
-
const
|
|
320
|
+
const f = (L = (_ = Object.keys(a(d))) == null ? void 0 : _[0]) == null ? void 0 : L.split("$");
|
|
321
321
|
o[(o == null ? void 0 : o.length) - 1].compData.push({
|
|
322
322
|
key: (W = b == null ? void 0 : b.find((g) => {
|
|
323
323
|
var O, j;
|
|
324
|
-
return ((O = g == null ? void 0 : g.key) == null ? void 0 : O.toUpperCase()) === ((j =
|
|
324
|
+
return ((O = g == null ? void 0 : g.key) == null ? void 0 : O.toUpperCase()) === ((j = f == null ? void 0 : f[0]) == null ? void 0 : j.toUpperCase());
|
|
325
325
|
})) == null ? void 0 : W.value,
|
|
326
326
|
contents: (I = Object.values(d)) == null ? void 0 : I[0],
|
|
327
|
-
selectLabel:
|
|
327
|
+
selectLabel: f == null ? void 0 : f[1]
|
|
328
328
|
});
|
|
329
329
|
}
|
|
330
330
|
return d;
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { resolveComponent as ge, createBlock as ue, openBlock as d, withCtx as B, createElementVNode as c, toDisplayString as $, ref as Q, onMounted as Rt, watch as ye, createElementBlock as U, Fragment as Ee, renderList as Me, createCommentVNode as Z, normalizeStyle as At, defineComponent as bt, resolveDynamicComponent as Ut, unref as h, computed as Je, provide as xt, onUnmounted as Jt, resolveDirective as Wt, createVNode as u, withDirectives as Ge, createTextVNode as Se, renderSlot as gt, vShow as It, normalizeClass as vt } from "vue";
|
|
2
|
-
import { m as Dt, a as jt, b as Mt } from "./index-
|
|
3
|
-
import "./index.vue_vue_type_style_index_0_scoped_92477073_lang-
|
|
2
|
+
import { m as Dt, a as jt, b as Mt } from "./index-BMiiyzjv.js";
|
|
3
|
+
import "./index.vue_vue_type_style_index_0_scoped_92477073_lang-U-WhgM2C.js";
|
|
4
4
|
import { _ as Le } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
-
import { _ as Lt, e as Ot, s as Ht } from "./index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-
|
|
5
|
+
import { _ as Lt, e as Ot, s as Ht } from "./index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-w3nIvRYY.js";
|
|
6
6
|
import { c as Ye, i as Vt, p as Ie, s as Be, u as Pt, b as ze, E as je, g as _e, d as kt, e as qt, f as Xt } from "./index-D4kvz4W4.js";
|
|
7
|
-
import { i as ve, j as Zt, a as mt, u as Ct, k as Kt, l as zt, m as Yt } from "./index.vue_vue_type_style_index_1_lang-
|
|
7
|
+
import { i as ve, j as Zt, a as mt, u as Ct, k as Kt, l as zt, m as Yt } from "./index.vue_vue_type_style_index_1_lang-B6sQAgQL.js";
|
|
8
8
|
import { S as De } from "./index-BHtNKL1L.js";
|
|
9
|
-
import { a as Tt, s as xe, o as Et, b as St, c as _t, d as $t, e as ea, f as ta, h as aa, i as na, j as oa, k as sa, l as la, m as ia } from "./index-
|
|
10
|
-
import { a as ra } from "./array-
|
|
11
|
-
import { u as Ft, a as ca } from "./index-
|
|
12
|
-
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
9
|
+
import { a as Tt, s as xe, o as Et, b as St, c as _t, d as $t, e as ea, f as ta, h as aa, i as na, j as oa, k as sa, l as la, m as ia } from "./index-CB5iA7oy.js";
|
|
10
|
+
import { a as ra } from "./array-DkTRkhnJ.js";
|
|
11
|
+
import { u as Ft, a as ca } from "./index-CtWP58Ft.js";
|
|
12
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BXZVEb4L.js";
|
|
13
13
|
import "./STLLoader-CXf8uOlr.js";
|
|
14
|
-
import "./index.vue_vue_type_style_index_1_lang-
|
|
15
|
-
import "./index-
|
|
14
|
+
import "./index.vue_vue_type_style_index_1_lang-BfrqvqTp.js";
|
|
15
|
+
import "./index-noS-01A4.js";
|
|
16
16
|
import { useRouter as ua } from "vue-router";
|
|
17
|
-
import da from "./index-
|
|
18
|
-
import Aa from "./threeModel-
|
|
17
|
+
import da from "./index-CfxVfCcY.js";
|
|
18
|
+
import Aa from "./threeModel-YOOMyj52.js";
|
|
19
19
|
import { _ as We } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
20
|
-
import { s as yt, _ as $e } from "./index-
|
|
21
|
-
import { d as Qt, t as ga } from "./threeViewerHost-
|
|
22
|
-
import { s as rt } from "./index-
|
|
20
|
+
import { s as yt, _ as $e } from "./index-g1HD5K4J.js";
|
|
21
|
+
import { d as Qt, t as ga } from "./threeViewerHost-CAC1sXBr.js";
|
|
22
|
+
import { s as rt } from "./index-t9S_yV-j.js";
|
|
23
23
|
import { c as ya, b as ma } from "./index-CLCVb66q.js";
|
|
24
|
-
import { v as Ca } from "./index-
|
|
25
|
-
import { f as ha, a as pa } from "./animationData-
|
|
24
|
+
import { v as Ca } from "./index-CtbsC0BG.js";
|
|
25
|
+
import { f as ha, a as pa } from "./animationData-DYCgHrYF.js";
|
|
26
26
|
const fa = { class: "menu-title" };
|
|
27
27
|
function wa(I, V, e, v, D, W) {
|
|
28
28
|
const l = ge("ssMenu");
|