ss-component-new 1.1.997 → 1.1.999

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.
Files changed (65) hide show
  1. package/dist/{animationData-DDfGfAen.cjs → animationData-BC3qy1OT.cjs} +1 -1
  2. package/dist/{animationData-C5pi2lIy.js → animationData-Ckn-GYNQ.js} +2 -2
  3. package/dist/{index-EYli-3qC.cjs → index--VBhlLcy.cjs} +13 -13
  4. package/dist/{index-CB5BE7bO.cjs → index-0YXBXfYT.cjs} +1 -1
  5. package/dist/{index-6f0JMGW7.cjs → index-B16EzotC.cjs} +1 -1
  6. package/dist/{index-Cdia862Y.js → index-BGKfVrzK.js} +1 -1
  7. package/dist/{index-BP21mbz0.cjs → index-BI1cBfnF.cjs} +1 -1
  8. package/dist/{index-BGXWbLdb.js → index-BKf-_SeS.js} +827 -817
  9. package/dist/{index-DiBID4hr.cjs → index-BWexwL-3.cjs} +1 -1
  10. package/dist/{index-B5a9osLI.js → index-Be44P5XB.js} +1 -1
  11. package/dist/{index-BcIfiOYx.js → index-BeJNwc6n.js} +3 -3
  12. package/dist/{index-DAal1b48.js → index-BtL0D1Ws.js} +1 -1
  13. package/dist/{index-BH5m6pBR.js → index-C2ftG9Nr.js} +2 -2
  14. package/dist/{index-C9L2xhjA.cjs → index-CHIcnRUO.cjs} +1 -1
  15. package/dist/{index-CVxfKgua.js → index-CPsh-3gH.js} +2 -2
  16. package/dist/{index-C2QkjYno.cjs → index-CQ-rbNR8.cjs} +1 -1
  17. package/dist/{index-DL4abzUt.cjs → index-CY7JL5ux.cjs} +1 -1
  18. package/dist/index-Cfk_QFkB.js +7205 -0
  19. package/dist/{index-C2h9-aiO.js → index-CjosQLap.js} +1 -1
  20. package/dist/{index-B-0r0sPj.cjs → index-CnS4OGZb.cjs} +1 -1
  21. package/dist/{index-BhvnP2DD.js → index-D2nHfPcb.js} +12 -12
  22. package/dist/{index-ek5c8BWp.js → index-D2s3SYpc.js} +1 -1
  23. package/dist/{index-COIHDZfc.cjs → index-D5j3wepa.cjs} +1 -1
  24. package/dist/{index-DAxk-2Ui.cjs → index-D7R6fdOQ.cjs} +1 -1
  25. package/dist/{index-BsqTGGI6.js → index-DFepVHIw.js} +2 -2
  26. package/dist/{index-Ct-o4dTs.js → index-DGSLgeQH.js} +1 -1
  27. package/dist/{index-B14GRVkp.js → index-Dc7rK0a9.js} +3497 -3488
  28. package/dist/{index-v110SKLt.cjs → index-DeItfoIC.cjs} +1 -1
  29. package/dist/{index-BpMiG8Tm.cjs → index-Dj8MUWkp.cjs} +1 -1
  30. package/dist/{index-BiO7VTA4.js → index-Dk6jHMxU.js} +1 -1
  31. package/dist/{index-EzJFQqXc.js → index-Dr-aZSLE.js} +5 -5
  32. package/dist/{index-vYaP7sIx.js → index-DtoBwDk-.js} +1 -1
  33. package/dist/index-DwI2jQOC.cjs +1 -0
  34. package/dist/{index-Tq2KsdEZ.cjs → index-ZpF0utv0.cjs} +1 -1
  35. package/dist/{index-Bdq7wGzn.cjs → index-fu9ZjNU1.cjs} +1 -1
  36. package/dist/{index-DYefXbFi.cjs → index-g9xtyXqL.cjs} +1 -1
  37. package/dist/{index-Cclskz5B.js → index-gJrY8Wg1.js} +1 -1
  38. package/dist/index-oGaYo3wM.cjs +1 -0
  39. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-YZJ4CMDy.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-81DAglyS.js} +2 -2
  40. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-Bz988JlQ.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-Coj8S57y.cjs} +1 -1
  41. package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-DxtSedWY.js → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-CaPxvnCk.js} +4 -4
  42. package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-B9cnSzJY.cjs → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-CnsVUA0f.cjs} +1 -1
  43. package/dist/{index.vue_vue_type_style_index_1_lang-HCuuWFKi.js → index.vue_vue_type_style_index_1_lang-CbHeKpur.js} +1 -1
  44. package/dist/{index.vue_vue_type_style_index_1_lang-BLiejuEq.cjs → index.vue_vue_type_style_index_1_lang-DYMxcYJY.cjs} +1 -1
  45. package/dist/{main-OntNtM7O.js → main-Bbk3_qoH.js} +2 -2
  46. package/dist/{main-CfaBqevc.cjs → main-CdtEDEY4.cjs} +1 -1
  47. package/dist/ss-component.cjs +1 -1
  48. package/dist/ss-component.css +2 -2
  49. package/dist/ss-component.js +6 -6
  50. package/dist/ss-component2.cjs +1 -1
  51. package/dist/ss-component2.js +10 -10
  52. package/dist/{threeModel-IUDFJw0z.js → threeModel-D_-hPQl-.js} +2 -2
  53. package/dist/{threeModel-DE6_tsFz.cjs → threeModel-DpWdVmWr.cjs} +1 -1
  54. package/dist/{threeSceneView-CcgzFYDz.cjs → threeSceneView-C690njiw.cjs} +1 -1
  55. package/dist/{threeSceneView-Becn04pA.js → threeSceneView-NCEpcFqR.js} +3 -3
  56. package/dist/{threeSceneViewForCPMPIP-DLAuZT3j.cjs → threeSceneViewForCPMPIP-BTbB7tHo.cjs} +1 -1
  57. package/dist/{threeSceneViewForCPMPIP-DEZwvbl5.js → threeSceneViewForCPMPIP-CZ-ZhxNm.js} +4 -4
  58. package/dist/{threeViewerHost-Cx49qqyw.cjs → threeViewerHost-BZDMX6v1.cjs} +1 -1
  59. package/dist/{threeViewerHost-K7PwuJuM.js → threeViewerHost-BmCm1NIN.js} +1 -1
  60. package/dist/{useRayCaster-D0bkpJkY.js → useRayCaster-BEA3KqRS.js} +1 -1
  61. package/dist/{useRayCaster-OZWS-6aV.cjs → useRayCaster-DBXp6BMx.cjs} +1 -1
  62. package/package.json +1 -1
  63. package/dist/index-CNeGYVKy.js +0 -7181
  64. package/dist/index-PJjwDyTM.cjs +0 -1
  65. package/dist/index-TpocaFPp.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";const y=require("./index.vue_vue_type_style_index_1_lang-D1arceZL.cjs"),I=require("./index.vue_vue_type_style_index_1_lang-BLiejuEq.cjs"),U=require("./threeViewerHost-Cx49qqyw.cjs"),T=require("./index-d6tSWKtY.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 U.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=I.readSync(f,{type:"array"}),F=u.Sheets[u.SheetNames[0]],E=I.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 $=["夹持长度"],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 x=Number(k),w={},b=await y.getItemData(`${r}/仿真动画生成`,i,"");b==null||b.forEach(e=>{var s,o,l,a,_,R;if((e==null?void 0:e.comp)==="Table"){let L=[],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=(R=(_=(a=e==null?void 0:e.compData)==null?void 0:a.find(t=>(t==null?void 0:t.key)==="tableContents"))==null?void 0:_.contents)==null?void 0:R.map(t=>(t=t==null?void 0:t.filter(p=>!(p!=null&&p.id)),t));C==null||C.forEach(t=>{L.push(y.getValueToObjectValue(t,D==null?void 0:D.filter(p=>p!=="操作")))}),w[e.name]=L,w[e.name+"Content"]=e}});const A=T.cloneDeep(w);return c={initialPipeLength:F,pipeRadius:E,clampLength:x,animationData:A},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 $=["夹持位置"],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 x=Number(k),w={},b=await y.getItemData(`${r}/仿真动画生成`,i,"");b==null||b.forEach(e=>{var s,o,l,a,_,R;if((e==null?void 0:e.comp)==="Table"){let L=[],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=(R=(_=(a=e==null?void 0:e.compData)==null?void 0:a.find(t=>(t==null?void 0:t.key)==="tableContents"))==null?void 0:_.contents)==null?void 0:R.map(t=>(t=t==null?void 0:t.filter(p=>!(p!=null&&p.id)),t));C==null||C.forEach(t=>{L.push(y.getValueToObjectValue(t,D==null?void 0:D.filter(p=>p!=="操作")))}),w[e.name]=L,w[e.name+"Content"]=e}});const A=T.cloneDeep(w);return c={initialPipeLength:F,pipeRadius:E,clampLength:x,animationData:A},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
+ "use strict";const y=require("./index.vue_vue_type_style_index_1_lang-D1arceZL.cjs"),I=require("./index.vue_vue_type_style_index_1_lang-DYMxcYJY.cjs"),U=require("./threeViewerHost-BZDMX6v1.cjs"),T=require("./index-d6tSWKtY.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 U.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=I.readSync(f,{type:"array"}),F=u.Sheets[u.SheetNames[0]],E=I.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 $=["夹持长度"],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 x=Number(k),w={},b=await y.getItemData(`${r}/仿真动画生成`,i,"");b==null||b.forEach(e=>{var s,o,l,a,_,R;if((e==null?void 0:e.comp)==="Table"){let L=[],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=(R=(_=(a=e==null?void 0:e.compData)==null?void 0:a.find(t=>(t==null?void 0:t.key)==="tableContents"))==null?void 0:_.contents)==null?void 0:R.map(t=>(t=t==null?void 0:t.filter(p=>!(p!=null&&p.id)),t));C==null||C.forEach(t=>{L.push(y.getValueToObjectValue(t,D==null?void 0:D.filter(p=>p!=="操作")))}),w[e.name]=L,w[e.name+"Content"]=e}});const A=T.cloneDeep(w);return c={initialPipeLength:F,pipeRadius:E,clampLength:x,animationData:A},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 $=["夹持位置"],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 x=Number(k),w={},b=await y.getItemData(`${r}/仿真动画生成`,i,"");b==null||b.forEach(e=>{var s,o,l,a,_,R;if((e==null?void 0:e.comp)==="Table"){let L=[],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=(R=(_=(a=e==null?void 0:e.compData)==null?void 0:a.find(t=>(t==null?void 0:t.key)==="tableContents"))==null?void 0:_.contents)==null?void 0:R.map(t=>(t=t==null?void 0:t.filter(p=>!(p!=null&&p.id)),t));C==null||C.forEach(t=>{L.push(y.getValueToObjectValue(t,D==null?void 0:D.filter(p=>p!=="操作")))}),w[e.name]=L,w[e.name+"Content"]=e}});const A=T.cloneDeep(w);return c={initialPipeLength:F,pipeRadius:E,clampLength:x,animationData:A},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-BIlRcspG.js";
2
- import { r as K, a as S } from "./index.vue_vue_type_style_index_1_lang-HCuuWFKi.js";
3
- import { d as I } from "./threeViewerHost-K7PwuJuM.js";
2
+ import { r as K, a as S } from "./index.vue_vue_type_style_index_1_lang-CbHeKpur.js";
3
+ import { d as I } from "./threeViewerHost-BmCm1NIN.js";
4
4
  import { c as P } from "./index-CZEK1c2_.js";
5
5
  function N(r) {
6
6
  try {