ss-component-new 1.1.956 → 1.1.957

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 (76) hide show
  1. package/dist/{animationData-BMSHh_H8.js → animationData-CwuD_y3q.js} +1 -1
  2. package/dist/{animationData-v3bdla0w.cjs → animationData-X1zkZB0g.cjs} +1 -1
  3. package/dist/{index-DZ8o_2zb.js → index-1EQEJMYZ.js} +1 -1
  4. package/dist/{index-D1coV4m7.js → index-341tRdU2.js} +3867 -3816
  5. package/dist/{index-D_XZ8q5S.js → index-41XQ56tA.js} +1 -1
  6. package/dist/{index-BKwErFD6.js → index-B7MmZoqx.js} +3 -3
  7. package/dist/{index-D__2yt3R.cjs → index-BYEytUbP.cjs} +1 -1
  8. package/dist/{index-Dfmlkuci.js → index-BnerBMu_.js} +1 -1
  9. package/dist/{index-Bb0-IX0r.cjs → index-Br_XIlom.cjs} +1 -1
  10. package/dist/index-C0UaW1GD.cjs +1 -0
  11. package/dist/{index-Dyh7A_6h.js → index-CDZibnLu.js} +1 -1
  12. package/dist/{index-D9KtrXwF.js → index-CFTAfccv.js} +13 -13
  13. package/dist/{index-BJE58rSZ.cjs → index-CN6U3HU3.cjs} +1 -1
  14. package/dist/{index-Dh4EvKbD.cjs → index-CO-29ZBD.cjs} +1 -1
  15. package/dist/{index-i-8mVauO.js → index-CSDpiLQd.js} +1 -1
  16. package/dist/{index-DZsSIZOn.cjs → index-CYs8rpcx.cjs} +1 -1
  17. package/dist/{index-CMAV_VWo.cjs → index-Ce0Z8gIC.cjs} +1 -1
  18. package/dist/{index-CMDcx3lf.js → index-Ckwefggy.js} +4 -4
  19. package/dist/{index-BRlSaGzU.cjs → index-ClZDPu5h.cjs} +13 -13
  20. package/dist/{index-D499wbNQ.cjs → index-Cr3k8wQx.cjs} +1 -1
  21. package/dist/{index-DL8o6FQO.cjs → index-CxuGq7dR.cjs} +1 -1
  22. package/dist/index-D0pYIFRt.js +7166 -0
  23. package/dist/{index-DLFmAi1l.cjs → index-D41V6mxr.cjs} +1 -1
  24. package/dist/{index-DnGyp3NF.js → index-D7OrQ3th.js} +1 -1
  25. package/dist/{index-DF4OBU77.js → index-D993BNE7.js} +1 -1
  26. package/dist/{index-BEtogGbS.js → index-DEvd3GtQ.js} +1 -1
  27. package/dist/{index-DGzio6sU.cjs → index-DIo3Bw3J.cjs} +1 -1
  28. package/dist/{index-CfxqvOQm.js → index-DJp7YKGU.js} +1 -1
  29. package/dist/{index-Cxiyz3EB.js → index-DKA8GsR4.js} +2 -2
  30. package/dist/{index-JW2BX547.cjs → index-DT5ot7Gf.cjs} +1 -1
  31. package/dist/{index-CEDDj03T.cjs → index-DVoZp73o.cjs} +1 -1
  32. package/dist/{index-RItWdWBU.js → index-DacAqfx4.js} +1 -1
  33. package/dist/{index-DHKZv2PT.js → index-DbFVbbxn.js} +3 -3
  34. package/dist/{index-BpzN2e4j.cjs → index-DjaBCj2u.cjs} +1 -1
  35. package/dist/{index-CsH-Kpkb.cjs → index-DkSl59be.cjs} +1 -1
  36. package/dist/{index-D2G_f0il.cjs → index-Dkh3VNfD.cjs} +1 -1
  37. package/dist/{index-HzqQ31ky.cjs → index-DpsBIWQH.cjs} +1 -1
  38. package/dist/{index-B7lMpQUv.js → index-Du3ibq43.js} +6 -6
  39. package/dist/{index-BWT1USFF.cjs → index-N2mbo-DB.cjs} +1 -1
  40. package/dist/{index-yf8L7KUB.js → index-hYYGetxR.js} +1 -1
  41. package/dist/{index-Csme8Efe.js → index-sDHuatS4.js} +3 -3
  42. package/dist/{index-CrtLhUZW.cjs → index-uMdXy93V.cjs} +1 -1
  43. package/dist/{index-BHfUsWfZ.cjs → index-ugqLwW2F.cjs} +1 -1
  44. package/dist/{index-JvTpPB0Q.js → index-vSU-N6Zt.js} +3 -3
  45. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-C2rot3ZW.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BS7gtj9z.js} +23730 -23309
  46. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-aKBwlWY2.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BTebW3yr.cjs} +183 -169
  47. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-BoQaCN4N.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-3uDrWn2v.js} +3 -3
  48. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-BVCprQ5M.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-BCbalr14.cjs} +1 -1
  49. package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-QteFVUcJ.js → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-DN319isq.js} +6 -6
  50. package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-Clk_K-KZ.cjs → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-SDySJMrU.cjs} +1 -1
  51. package/dist/{index.vue_vue_type_style_index_1_lang-C_W1rsb-.js → index.vue_vue_type_style_index_1_lang-DCsz4x4w.js} +1 -1
  52. package/dist/{index.vue_vue_type_style_index_1_lang-BjEBunTw.cjs → index.vue_vue_type_style_index_1_lang-DVtDTPDV.cjs} +1 -1
  53. package/dist/{main-CDKU88vl.cjs → main-DrulMAou.cjs} +1 -1
  54. package/dist/{main-DD-u-hQm.js → main-DwjN9rxj.js} +2 -2
  55. package/dist/ss-component.cjs +1 -1
  56. package/dist/ss-component.css +2 -2
  57. package/dist/ss-component.js +9 -9
  58. package/dist/ss-component2.cjs +1 -1
  59. package/dist/ss-component2.js +10 -10
  60. package/dist/{threeLatheView-ByfH7Owi.js → threeLatheView-BUxHWK60.js} +3 -3
  61. package/dist/{threeLatheView-CktYOF67.cjs → threeLatheView-CVbYFPtl.cjs} +1 -1
  62. package/dist/{threeModel-CZgugRv1.js → threeModel-BgqiLcvK.js} +2 -2
  63. package/dist/{threeModel-BnvK0yQS.cjs → threeModel-IzBdIfZb.cjs} +1 -1
  64. package/dist/{threePreview-Da9Cd9uY.cjs → threePreview-BO7IMBnd.cjs} +1 -1
  65. package/dist/{threePreview-DHQIAoon.js → threePreview-DdD0V1nl.js} +2 -2
  66. package/dist/{threeSceneView-DX9_dcQb.js → threeSceneView-CPHGoEyz.js} +4 -4
  67. package/dist/{threeSceneView-Wxk1s4wF.cjs → threeSceneView-DZdxXdrb.cjs} +1 -1
  68. package/dist/{threeSceneViewForCPMPIP-DJxkqSQi.cjs → threeSceneViewForCPMPIP-CyPzGzH2.cjs} +1 -1
  69. package/dist/{threeSceneViewForCPMPIP-DtzD1Xgw.js → threeSceneViewForCPMPIP-yYWZ92JI.js} +3 -3
  70. package/dist/{threeViewerHost-DIhKhtKC.cjs → threeViewerHost-Dj-MZ8hD.cjs} +1 -1
  71. package/dist/{threeViewerHost-CJRW5OB6.js → threeViewerHost-LSUUszEw.js} +2 -2
  72. package/dist/{useClipping-BJYpFuIR.js → useClipping-DgpKnOBg.js} +1 -1
  73. package/dist/{useClipping-BonADCtK.cjs → useClipping-RC0qAaWW.cjs} +1 -1
  74. package/package.json +2 -1
  75. package/dist/index-DecN9a5Y.cjs +0 -1
  76. package/dist/index-SsuBfBX4.js +0 -7197
@@ -1,6 +1,6 @@
1
1
  import { i as C, j as x } from "./index.vue_vue_type_style_index_1_lang-BFN_wEiJ.js";
2
2
  import { r as K, u as S } from "./xlsx-ByPOQ6N_.js";
3
- import { d as I } from "./threeViewerHost-CJRW5OB6.js";
3
+ import { d as I } from "./threeViewerHost-LSUUszEw.js";
4
4
  import { c as P } from "./index-BqTVXNQ3.js";
5
5
  function N(r) {
6
6
  try {
@@ -1 +1 @@
1
- "use strict";const y=require("./index.vue_vue_type_style_index_1_lang-BSnjJW4H.cjs"),T=require("./xlsx-BPHygxEf.cjs"),_=require("./threeViewerHost-DIhKhtKC.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
+ "use strict";const y=require("./index.vue_vue_type_style_index_1_lang-BSnjJW4H.cjs"),T=require("./xlsx-BPHygxEf.cjs"),_=require("./threeViewerHost-Dj-MZ8hD.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,5 +1,5 @@
1
1
  import { defineComponent as k, ref as C, reactive as T, resolveComponent as m, createElementBlock as x, openBlock as B, createVNode as u, withCtx as d, createElementVNode as l, createTextVNode as w, toDisplayString as z, nextTick as N, Fragment as q, withDirectives as H, renderSlot as V, vShow as $ } from "vue";
2
- import { C as M } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-C2rot3ZW.js";
2
+ import { C as M } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BS7gtj9z.js";
3
3
  import { G as X, V as G, aj as J, z as E, A as c, ai as I, Q as g } from "./index-BqTVXNQ3.js";
4
4
  import { _ as U } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const Q = "ElUpload";