ss-component-new 1.1.968 → 1.1.969
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-vIUPsax5.cjs → animationData-BZG9lh-5.cjs} +1 -1
- package/dist/{animationData-CgXg3aWP.js → animationData-BzwfbO1E.js} +2 -2
- package/dist/{index-ClbwQSnc.cjs → index-1UvadGzc.cjs} +1 -1
- package/dist/{index-HASvh5ZQ.js → index-B3iZsZcy.js} +1 -1
- package/dist/{index-CUwwHEzW.js → index-BAfmK04p.js} +1 -1
- package/dist/{index-4bnmiKnw.js → index-BN7-XdcI.js} +7 -7
- package/dist/{index-CRKAT5Xa.js → index-BNvrvkbV.js} +1 -1
- package/dist/{index-C_EQzYyN.js → index-BO44Q4LS.js} +2 -2
- package/dist/{index-B2rYLxXt.js → index-BOALGyin.js} +3 -3
- package/dist/{index-BxEki0jM.cjs → index-BQHrzmCG.cjs} +1 -1
- package/dist/{index-CP_TZr3w.cjs → index-BTMh94R1.cjs} +1 -1
- package/dist/{index-Cq3syoIX.js → index-BhNHfVZt.js} +802 -802
- package/dist/{index-Cn1CAT5v.js → index-BnPbMFf5.js} +1 -1
- package/dist/{index-iWe5mgri.cjs → index-BoXAueqF.cjs} +1 -1
- package/dist/{index-CdfTuxGb.cjs → index-BuRwiMmg.cjs} +1 -1
- package/dist/{index-EJijm_gT.cjs → index-BxSy_5mj.cjs} +1 -1
- package/dist/{index-U_9xRe4o.js → index-C1E0ePMc.js} +17 -17
- package/dist/{index-9_77UsVI.js → index-C887anL0.js} +1 -1
- package/dist/{index-BdHcdEnw.cjs → index-CCM10Lf1.cjs} +1 -1
- package/dist/{index-BwL4IL28.cjs → index-CCNG9rxG.cjs} +1 -1
- package/dist/{index-Cysq1-Lh.js → index-CCfcrz-7.js} +9 -9
- package/dist/{index-_lT_HEqC.js → index-CFVQ4fFE.js} +3 -3
- package/dist/{index-D5-da4-g.js → index-CJUsMn6e.js} +4 -4
- package/dist/{index-CHaodEQ4.cjs → index-CKvuYiDA.cjs} +1 -1
- package/dist/{index-BzwifOO1.js → index-CNpp9Jxq.js} +5 -5
- package/dist/{index-C_uHbUqr.cjs → index-COexAXkZ.cjs} +1 -1
- package/dist/{index-CIYgpADx.cjs → index-CQCva4Ta.cjs} +1 -1
- package/dist/{index-CcuOHcIO.cjs → index-CVhkKs5K.cjs} +1 -1
- package/dist/{index-Bt91L-4V.cjs → index-CWlkQGmT.cjs} +1 -1
- package/dist/{index-CP3-EZXr.js → index-CamhC7Es.js} +5 -5
- package/dist/{index-0VYkrhJG.cjs → index-CdU-hEbO.cjs} +1 -1
- package/dist/{index-DpsBCJ_W.js → index-CiqoPZ2t.js} +1 -1
- package/dist/index-CjzCgkjI.cjs +1 -0
- package/dist/{index-D0iUTRGH.js → index-ClMs7ZnB.js} +2 -2
- package/dist/{index-jsWJ1pPX.cjs → index-CrCWxpfi.cjs} +1 -1
- package/dist/{index-BKqNnsf0.cjs → index-Cvd_laua.cjs} +1 -1
- package/dist/{index-CBbAqPtN.js → index-CyQTxCzT.js} +2 -2
- package/dist/{index-rn9SX9Nl.cjs → index-Cyo82vKH.cjs} +1 -1
- package/dist/{index-BITQf-IP.js → index-CyzOsGIU.js} +2 -2
- package/dist/{index-CsQHODXt.js → index-D-JlQE1w.js} +1 -1
- package/dist/{index-D6KPdpP0.cjs → index-DGqXPd3O.cjs} +1 -1
- package/dist/{index-BbqNb19X.cjs → index-DHRUfmkT.cjs} +1 -1
- package/dist/{index-D9F8SKLx.cjs → index-DHr04jVV.cjs} +1 -1
- package/dist/{index-CdMRtchd.js → index-DPv-h-uj.js} +1 -1
- package/dist/{index-disrgkJ3.js → index-DSvteUH8.js} +2 -2
- package/dist/{index-VNfOCqKl.cjs → index-DT3QDuh9.cjs} +1 -1
- package/dist/{index-D5npP3EM.cjs → index-DYZEBwUA.cjs} +1 -1
- package/dist/{index-DjFfYbPX.js → index-Dd4jNyU7.js} +4 -4
- package/dist/{index-BPHEc-g6.cjs → index-DgbOyDqa.cjs} +1 -1
- package/dist/{index-De5eoiw8.js → index-DkrhnFZg.js} +5 -5
- package/dist/{index-DQ828YJ3.cjs → index-DpfKbRPo.cjs} +1 -1
- package/dist/{index-ChrTJ1W6.js → index-P_khFB7r.js} +1 -1
- package/dist/{index-i-G3yrP3.cjs → index-QWG_sRjX.cjs} +1 -1
- package/dist/{index-B1XIkz_I.js → index-QuOtHtfC.js} +1 -1
- package/dist/{index-DepJzm_V.js → index-UWHPvL4z.js} +2 -2
- package/dist/{index-CgJJ7PbV.cjs → index-aAgIDwUs.cjs} +1 -1
- package/dist/{index-Dedec4ge.cjs → index-d4L_TP9P.cjs} +1 -1
- package/dist/{index-C_rCUjYa.js → index-hE9KtrST.js} +1 -1
- package/dist/{index-BZFlG1sR.js → index-qbk1qk1-.js} +2 -2
- package/dist/{index-ZZPgG1-B.cjs → index-yYdIJKNm.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DBQPkAbZ.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BFDakkTf.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-9oJPX8GC.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D96OViUO.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-CC00QRwn.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-CLX47ovt.js} +5 -5
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-Cvm84UNX.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-DOzHXv8e.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-CQa0CS1h.cjs → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-7DXKSdZm.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-CzQC3P3d.js → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-CwjN7sTf.js} +10 -10
- package/dist/{index.vue_vue_type_style_index_1_lang-DnIBHMkQ.cjs → index.vue_vue_type_style_index_1_lang-BBuDY8E8.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-IgCzvgcg.cjs → index.vue_vue_type_style_index_1_lang-C5F2nLGQ.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-F_FjApJY.js → index.vue_vue_type_style_index_1_lang-Cc6Y-SuL.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_1_lang-ChD2Hmhy.js → index.vue_vue_type_style_index_1_lang-DUCxV5IA.js} +1 -1
- package/dist/{main-SYj23ymE.cjs → main-BMSPl6qR.cjs} +1 -1
- package/dist/{main-V_8TBVI5.js → main-DwhrREFf.js} +3 -3
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +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/{threeModel-wxWlWxtG.cjs → threeModel-BJanYuUt.cjs} +1 -1
- package/dist/{threeModel-84rNSik2.js → threeModel-gV6qLhQu.js} +2 -2
- package/dist/{threeSceneView-DRmiFIah.cjs → threeSceneView-CdgyNVWo.cjs} +1 -1
- package/dist/{threeSceneView-C1G0Mt5Y.js → threeSceneView-DAW7riiA.js} +7 -7
- package/dist/{threeSceneViewForCPMPIP-Dody72Vh.js → threeSceneViewForCPMPIP-CiuP8Xyj.js} +2 -2
- package/dist/{threeSceneViewForCPMPIP-DtZV5jVr.cjs → threeSceneViewForCPMPIP-CpFm-yqL.cjs} +1 -1
- package/dist/{threeViewerHost-DW1H-gNy.cjs → threeViewerHost-CNeUMcZQ.cjs} +1 -1
- package/dist/{threeViewerHost-DdFJuluc.js → threeViewerHost-DIBXzSig.js} +3 -3
- package/package.json +1 -1
- package/dist/index-D26u2Y9X.cjs +0 -1
|
@@ -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-C5F2nLGQ.cjs"),x=require("./URDFLoader-C6HnI6A2.cjs"),_=require("./threeViewerHost-CNeUMcZQ.cjs"),T=require("./index-x-j1smHg.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=x.readSync(f,{type:"array"}),C=u.Sheets[u.SheetNames[0]],E=x.utils.sheet_to_json(C);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 C=f,E=u/2,d=await y.getItemData(`${r}/加工位姿生成`,i,"");let $=["夹持长度"],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=>{$.includes(a==null?void 0:a.key)&&(g[a.key]=a.value)}))}))});const k=g.夹持长度;console.log("夹持长度",k,g);const I=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 A=[],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),F=(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));F==null||F.forEach(t=>{A.push(y.getValueToObjectValue(t,D==null?void 0:D.filter(p=>p!=="操作")))}),w[e.name]=A,w[e.name+"Content"]=e}});const U=T.cloneDeep(w);return c={initialPipeLength:C,pipeRadius:E,clampLength:I,animationData:U},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 C=f,E=u/2,d=await y.getItemData(`${r}/加工工艺生成`,i,"");let $=["夹持位置"],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=>{$.includes(a==null?void 0:a.key)&&(g[a.key]=a.value)}))}))});const k=g.夹持位置;console.log("夹持长度",k,g);const I=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 A=[],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),F=(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));F==null||F.forEach(t=>{A.push(y.getValueToObjectValue(t,D==null?void 0:D.filter(p=>p!=="操作")))}),w[e.name]=A,w[e.name+"Content"]=e}});const U=T.cloneDeep(w);return c={initialPipeLength:C,pipeRadius:E,clampLength:I,animationData:U},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, j as x } from "./index.vue_vue_type_style_index_1_lang-
|
|
1
|
+
import { i as C, j as x } from "./index.vue_vue_type_style_index_1_lang-DUCxV5IA.js";
|
|
2
2
|
import { r as K, u as S } from "./URDFLoader-CWayVfX0.js";
|
|
3
|
-
import { d as I } from "./threeViewerHost-
|
|
3
|
+
import { d as I } from "./threeViewerHost-DIBXzSig.js";
|
|
4
4
|
import { c as P } from "./index-DRTFRXRa.js";
|
|
5
5
|
function N(r) {
|
|
6
6
|
try {
|