ss-component-new 1.1.926 → 1.1.928
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-Dpl9kGkG.cjs → animationData-BoIqoIat.cjs} +1 -1
- package/dist/{animationData-CFbAMYsA.js → animationData-DRWDDVdo.js} +1 -1
- package/dist/{index-BKnlF_yn.cjs → index-9W8VSEKm.cjs} +1 -1
- package/dist/{index-D0uHh3Yg.js → index-B-2kmSUB.js} +4 -4
- package/dist/{index-HBR4go38.cjs → index-B2mOIaq-.cjs} +1 -1
- package/dist/{index-Bm61rGsj.cjs → index-BRP_vHs7.cjs} +1 -1
- package/dist/{index-BkPs92hG.cjs → index-B_1itzP9.cjs} +1 -1
- package/dist/{index-C4HW9pFq.cjs → index-B_xw1HaI.cjs} +1 -1
- package/dist/{index-xv1vOQiG.cjs → index-BrWlrpu4.cjs} +1 -1
- package/dist/{index-CcYO4EGE.js → index-BuQRkXlV.js} +1 -1
- package/dist/{index-BnArscXJ.cjs → index-CFPdEQUa.cjs} +1 -1
- package/dist/{index-BcpjS-He.cjs → index-CFosaZBk.cjs} +1 -1
- package/dist/{index-5zD8SnuT.cjs → index-CG_tcHPV.cjs} +1 -1
- package/dist/{index-CJPV4Til.js → index-CLFpxVmz.js} +3 -3
- package/dist/{index-BRqcOTUO.cjs → index-CNtd56yr.cjs} +1 -1
- package/dist/{index-BIU36EXf.cjs → index-CScmibSM.cjs} +1 -1
- package/dist/{index-D1dY0Ep4.js → index-CTVT_SUO.js} +1 -1
- package/dist/{index-B4xvxZ9d.js → index-CZG6ZfXi.js} +2 -2
- package/dist/{index-DGov42vi.js → index-CkiWmni5.js} +1 -1
- package/dist/{index-DEhJtCeQ.cjs → index-CyBa207M.cjs} +1 -1
- package/dist/{index-DLZA_fTD.js → index-D5JeoVWh.js} +1 -1
- package/dist/{index-BRfl3dfM.js → index-D7PhbpWA.js} +1 -1
- package/dist/{index-8l05j5ZL.js → index-D8JL3r_w.js} +12 -12
- package/dist/{index-COhimGUX.js → index-DB9BLLOx.js} +3 -3
- package/dist/{index-5e2Z7W5u.cjs → index-DEnQtTkR.cjs} +1 -1
- package/dist/{index-qsf8bfnK.js → index-DKKZQ2ZE.js} +5 -5
- package/dist/{index-CQoWubw3.cjs → index-DOwIgwH6.cjs} +1 -1
- package/dist/{index-CSvrSWZF.js → index-DQt0oYSt.js} +1 -1
- package/dist/{index-D75xNKBg.cjs → index-DV4TEajM.cjs} +1 -1
- package/dist/{index-BtB-4GWb.js → index-DpzoMpJk.js} +1 -1
- package/dist/{index-Bl7Y7KXB.cjs → index-DxAd9PgV.cjs} +1 -1
- package/dist/{index-CIQbtHSA.js → index-Unr1ucTS.js} +1 -1
- package/dist/{index-suoEHPhC.js → index-hu14OAEw.js} +3 -3
- package/dist/{index-C7e5HLDz.js → index-qF1Q6x6S.js} +1 -1
- package/dist/{index-BiJIdvTy.cjs → index-tGzZjpFW.cjs} +1 -1
- package/dist/{index-zczbm9ff.js → index-tvLUxcQ4.js} +2 -2
- package/dist/{index-DQ5oLldi.cjs → index-u74QzB0V.cjs} +1 -1
- package/dist/{index-B5kCHIym.js → index-xsOzQtSU.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-DQHks5CJ.js → index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-DD9cD46a.js} +6 -6
- package/dist/{index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-CLJqDrWb.cjs → index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-DqWEJH7q.cjs} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-Dt6skXpk.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-D4M3hPSc.js} +3 -3
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-C0080Ru7.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-dv9Y2nGD.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-Cp4sUvc9.js → index.vue_vue_type_style_index_1_lang-Ba2X4By3.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-D1KQr1Lx.cjs → index.vue_vue_type_style_index_1_lang-Bkbw0_1F.cjs} +1 -1
- package/dist/{main-zzSSbwkN.cjs → main-CLfF0Bvt.cjs} +1 -1
- package/dist/{main-DwegVau1.js → main-CV6pm_xV.js} +2 -2
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +6 -6
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +10 -10
- package/dist/{threeLatheView-CwjpTGrP.js → threeLatheView-64q0p7kz.js} +1 -1
- package/dist/{threeLatheView-Kp-prDVj.cjs → threeLatheView-bfw_W8D2.cjs} +1 -1
- package/dist/{threeModel-9sk6Woi9.js → threeModel-B5q4K6xa.js} +2 -2
- package/dist/{threeModel-BJODWbrJ.cjs → threeModel-B_se1uiD.cjs} +1 -1
- package/dist/{threeSceneView-CpQVjFNI.js → threeSceneView-BcCXHa08.js} +3 -3
- package/dist/{threeSceneView-Ba-mM8oK.cjs → threeSceneView-DI_GweON.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-DiEodBpS.js → threeSceneViewForCPMPIP-D9lpHxkR.js} +1 -1
- package/dist/{threeSceneViewForCPMPIP-mXGVHWoo.cjs → threeSceneViewForCPMPIP-DiGMCPdZ.cjs} +1 -1
- package/dist/{threeViewerHost-K9kl6uzK.cjs → threeViewerHost-BF06T__5.cjs} +1 -1
- package/dist/{threeViewerHost-B754jiIl.js → threeViewerHost-CcZwepTc.js} +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const y=require("./index.vue_vue_type_style_index_1_lang-CWXvUeB2.cjs"),T=require("./xlsx-BPHygxEf.cjs"),_=require("./threeViewerHost-
|
|
1
|
+
"use strict";const y=require("./index.vue_vue_type_style_index_1_lang-CWXvUeB2.cjs"),T=require("./xlsx-BPHygxEf.cjs"),_=require("./threeViewerHost-BF06T__5.cjs"),U=require("./index-1z9RrjZc.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
1
|
import { i as C, j as x } from "./index.vue_vue_type_style_index_1_lang-BxhwL7ff.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-CcZwepTc.js";
|
|
4
4
|
import { c as P } from "./index-BQYjK74w.js";
|
|
5
5
|
function N(r) {
|
|
6
6
|
try {
|