ss-component-new 1.1.885 → 1.1.887

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 (96) hide show
  1. package/dist/animationData-D4XGWwqk.cjs +1 -0
  2. package/dist/animationData-DiC7aE2H.js +186 -0
  3. package/dist/{array-DmJs0wDw.js → array-D5xVcPMv.js} +1 -1
  4. package/dist/{index-Do1CG9Wk.cjs → index-B7GI7bR2.cjs} +1 -1
  5. package/dist/{index-BmjbG31L.js → index-BA484QHN.js} +5 -5
  6. package/dist/{index-BOAFLNBb.js → index-BBLEwhTs.js} +3 -3
  7. package/dist/{index-BY4P9ixv.js → index-BBQWzAa9.js} +1 -1
  8. package/dist/{index-VaKoi5As.cjs → index-BF9zApmy.cjs} +1 -1
  9. package/dist/{index-Bc4Q45pX.cjs → index-BLYmI0kt.cjs} +1 -1
  10. package/dist/{index-C3CBBGph.cjs → index-BVeLZqql.cjs} +1 -1
  11. package/dist/{index-XcLpFckt.cjs → index-BWODScMP.cjs} +1 -1
  12. package/dist/{index-5LWV4Jiw.cjs → index-BconXmRS.cjs} +1 -1
  13. package/dist/{index-DKrQD7gL.js → index-Bp23Sud-.js} +4 -4
  14. package/dist/{index-CzDbknrQ.js → index-C-ozwryV.js} +3 -3
  15. package/dist/{index-BnHhP267.js → index-C0U4r_a-.js} +2 -2
  16. package/dist/{index-DSpO-BmB.js → index-C3zAbQiA.js} +3 -3
  17. package/dist/{index-BigTe71q.js → index-CAgyz256.js} +9 -9
  18. package/dist/{index-DbL5vr-k.js → index-CCejZfKd.js} +5 -5
  19. package/dist/{index-g3LnvNsM.js → index-CE-kGJp3.js} +2 -2
  20. package/dist/{index-BulADP8D.js → index-CGbXjzvE.js} +764 -732
  21. package/dist/{index-Bz7c9OHO.js → index-CHYW-QPN.js} +2 -2
  22. package/dist/{index-DmUiLEzU.js → index-CLiXVGmf.js} +1 -1
  23. package/dist/{index-C-4IkDsD.js → index-CN0BZyM6.js} +2 -2
  24. package/dist/{index-bVAJBaT7.js → index-CR48Ed8N.js} +1 -1
  25. package/dist/{index-CP56-tN4.cjs → index-CRS3aw2a.cjs} +1 -1
  26. package/dist/{index-nvRjpjvG.js → index-CVIm87Jv.js} +4 -4
  27. package/dist/{index-ApPQ34g1.cjs → index-C_klAW3Z.cjs} +1 -1
  28. package/dist/{index-DULWMclQ.cjs → index-CcKl2fKa.cjs} +1 -1
  29. package/dist/{index-DeppI0ma.js → index-Cldp_SBa.js} +5 -5
  30. package/dist/index-CngjfY5b.js +2340 -0
  31. package/dist/{index-BGl7uvuP.js → index-CsApMPSt.js} +2 -2
  32. package/dist/{index-F6DeS6Oa.js → index-Cti20XM2.js} +3 -3
  33. package/dist/index-CwgwsMmi.cjs +1 -0
  34. package/dist/{index-Cm0SnSXw.cjs → index-D1NPYx0_.cjs} +1 -1
  35. package/dist/{index-lDQWz-a5.js → index-D4kvz4W4.js} +8 -8
  36. package/dist/{index-D9tOGUJf.js → index-D6Ch-6w1.js} +2 -2
  37. package/dist/{index-Mg-XpgSS.cjs → index-D6s3IMA1.cjs} +1 -1
  38. package/dist/{index-DQEYZj1x.js → index-DH_9QXbX.js} +5 -5
  39. package/dist/{index-DRASXE_h.js → index-DKw_AWIV.js} +3 -3
  40. package/dist/{index-Ci1UPmbe.js → index-DRa_BRhO.js} +4 -4
  41. package/dist/index-DSJI4hq1.cjs +1 -0
  42. package/dist/{index-yboAixXv.cjs → index-DWiKXBJL.cjs} +1 -1
  43. package/dist/{index-DAhc1AaO.cjs → index-D_tPMzhj.cjs} +1 -1
  44. package/dist/{index-B6uTvd6O.cjs → index-DbAlxkas.cjs} +1 -1
  45. package/dist/{index-DbBgDtxm.cjs → index-DheVqKEU.cjs} +1 -1
  46. package/dist/{index-DYzmOwLa.js → index-DhzyAgWj.js} +2 -2
  47. package/dist/{index-CdzueTBm.cjs → index-DkgGX3kV.cjs} +1 -1
  48. package/dist/{index-CfxtntnY.cjs → index-IqXcl3IO.cjs} +1 -1
  49. package/dist/{index-CTHE8FNi.js → index-KA3JevQW.js} +6 -6
  50. package/dist/{index-CYK6uBiV.cjs → index-QcMBrsrW.cjs} +1 -1
  51. package/dist/{index-DJFIBYIR.js → index-Rc1QENyc.js} +11 -11
  52. package/dist/{index-gLZl1IO2.js → index-SsV-wC5M.js} +1 -1
  53. package/dist/{index-DccxY6Ue.cjs → index-j_fWG9DG.cjs} +1 -1
  54. package/dist/{index-ISomkgrw.js → index-pKc4RncM.js} +2 -2
  55. package/dist/{index-CQM6hgzF.js → index-tYvWH4AW.js} +2 -2
  56. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Df76dhhy.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-6P5R4E7q.cjs} +56 -56
  57. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D2KxDZJT.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DNGKK5em.js} +1715 -1720
  58. package/dist/{index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-B4xjuJ3b.js → index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-CdN5Nkdz.js} +14 -14
  59. package/dist/{index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-DqhDKpIC.cjs → index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-D0u2Zqce.cjs} +1 -1
  60. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-BRwVjBRt.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-B0jnMYQM.cjs} +1 -1
  61. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-D27h1Ta7.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-C5Lr8BZ4.js} +6 -6
  62. package/dist/{index.vue_vue_type_style_index_1_lang-PSEqjBRa.js → index.vue_vue_type_style_index_1_lang-C8yw6eX6.js} +1 -1
  63. package/dist/{index.vue_vue_type_style_index_1_lang-d_Yq59gb.cjs → index.vue_vue_type_style_index_1_lang-DQ3FqiEC.cjs} +1 -1
  64. package/dist/{index.vue_vue_type_style_index_1_lang-CFAy5O3Z.js → index.vue_vue_type_style_index_1_lang-Vcc4Fx7J.js} +3 -3
  65. package/dist/{isUndefined-DZw1o1P2.js → isUndefined-B9879yzJ.js} +1 -1
  66. package/dist/{main-CTXF7Wei.cjs → main-CjrBCq8q.cjs} +1 -1
  67. package/dist/{main-CCYoP17F.js → main-DfOpad66.js} +5 -5
  68. package/dist/ss-component.cjs +1 -1
  69. package/dist/ss-component.css +2 -2
  70. package/dist/ss-component.js +11 -11
  71. package/dist/ss-component2.cjs +1 -1
  72. package/dist/ss-component2.js +12 -12
  73. package/dist/{threeLatheView-BsGlu_9R.cjs → threeLatheView-B1wcrkbN.cjs} +1 -1
  74. package/dist/{threeLatheView-BJig5bH4.js → threeLatheView-yjzEOQyA.js} +5 -5
  75. package/dist/{threeModel-DxheOeXX.js → threeModel-B-0Ckao1.js} +3 -3
  76. package/dist/{threeModel-BAfCjXxJ.cjs → threeModel-Diw2b0hH.cjs} +1 -1
  77. package/dist/{threePreview-D9aGcgoM.js → threePreview-Bf5bm4hy.js} +1 -1
  78. package/dist/{threeSceneView-DVe0jC1h.cjs → threeSceneView-B6CsOzbk.cjs} +1 -1
  79. package/dist/{threeSceneView-DL_bwJVo.js → threeSceneView-BTQkQsZm.js} +6 -6
  80. package/dist/threeSceneViewForCPMPIP-CQlK-TM2.cjs +5 -0
  81. package/dist/threeSceneViewForCPMPIP-DcZKs_Te.js +553 -0
  82. package/dist/{threeViewerHost-B6WGMPg9.js → threeViewerHost-Cp1HNkCK.js} +9 -9
  83. package/dist/{threeViewerHost-C05aMJJw.cjs → threeViewerHost-DHhjHs_0.cjs} +1 -1
  84. package/dist/xlsx-BPHygxEf.cjs +104 -0
  85. package/dist/{index-CNtMumQ6.js → xlsx-ByPOQ6N_.js} +5509 -7844
  86. package/package.json +1 -1
  87. package/dist/animationData-BH-_pVGP.cjs +0 -1
  88. package/dist/animationData-D1YED3yR.js +0 -109
  89. package/dist/index-CO8_HZTc.cjs +0 -104
  90. package/dist/index-CvR3-qoT.cjs +0 -1
  91. package/dist/obj/model.mtl +0 -42
  92. package/dist/obj/model.obj +0 -26110
  93. package/dist/threeSceneViewForCPMPIP-CaAq7Jno.js +0 -532
  94. package/dist/threeSceneViewForCPMPIP-dxLpyuMG.cjs +0 -5
  95. package/public/obj/model.mtl +0 -42
  96. package/public/obj/model.obj +0 -26110
@@ -0,0 +1 @@
1
+ "use strict";const y=require("./index.vue_vue_type_style_index_1_lang-D9hEBoWU.cjs"),U=require("./xlsx-BPHygxEf.cjs"),T=require("./threeViewerHost-DHhjHs_0.cjs"),_=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);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 T.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=U.readSync(f,{type:"array"}),F=u.Sheets[u.SheetNames[0]],E=U.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=_.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=_.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;
@@ -0,0 +1,186 @@
1
+ import { i as C, k as P } from "./index.vue_vue_type_style_index_1_lang-C8yw6eX6.js";
2
+ import { r as K, u as S } from "./xlsx-ByPOQ6N_.js";
3
+ import { d as I } from "./threeViewerHost-Cp1HNkCK.js";
4
+ import { c as T } from "./index-D4kvz4W4.js";
5
+ function N(r) {
6
+ try {
7
+ const c = new URL(r).pathname, s = c.substring(c.lastIndexOf("/") + 1);
8
+ return decodeURIComponent(s);
9
+ } catch (c) {
10
+ return console.error("无法解析URL以提取文件名:", r, c), "未知文件名";
11
+ }
12
+ }
13
+ function B(r) {
14
+ if (!r) return;
15
+ const c = r.match(/filename\*\s*=\s*([^;]+)/i);
16
+ if (c) {
17
+ let n = c[1].trim();
18
+ n = n.replace(/^"(.*)"$/, "$1");
19
+ const p = n.split("''");
20
+ if (p.length === 2) {
21
+ const l = p[0].toUpperCase(), f = p[1];
22
+ try {
23
+ if (l === "UTF-8")
24
+ return decodeURIComponent(f);
25
+ } catch {
26
+ }
27
+ return f;
28
+ }
29
+ try {
30
+ return decodeURIComponent(n);
31
+ } catch {
32
+ return n;
33
+ }
34
+ }
35
+ const s = r.match(/filename\s*=\s*("?)([^";]+)\1/i);
36
+ if (s)
37
+ return s[2].trim();
38
+ }
39
+ async function j(r) {
40
+ let c, s;
41
+ if (/^https?:\/\//.test(r))
42
+ try {
43
+ const n = await fetch(r);
44
+ if (!n.ok)
45
+ throw new Error(`下载文件失败: ${n.statusText} (URL: ${r})`);
46
+ c = await n.blob(), s = N(r);
47
+ } catch (n) {
48
+ throw console.error("使用 fetch 下载文件时出错:", n), n;
49
+ }
50
+ else
51
+ try {
52
+ const n = await I({ url: r });
53
+ if (n.status !== 200)
54
+ throw new Error(`下载失败: ${n.status}`);
55
+ const p = n.headers["content-disposition"];
56
+ s = B(p) || "无文件名", c = n.data;
57
+ } catch (n) {
58
+ throw console.error("通过 API 下载文件时出错:", n), n;
59
+ }
60
+ return new File([c], s, { type: c.type });
61
+ }
62
+ function V(r) {
63
+ return new Promise((c, s) => {
64
+ const n = new FileReader();
65
+ n.onload = (p) => {
66
+ var l;
67
+ try {
68
+ const f = (l = p.target) == null ? void 0 : l.result, u = K(f, { type: "array" }), k = u.Sheets[u.SheetNames[0]], E = S.sheet_to_json(k);
69
+ c(E);
70
+ } catch (f) {
71
+ s(f);
72
+ }
73
+ }, n.readAsArrayBuffer(r);
74
+ });
75
+ }
76
+ const G = async () => {
77
+ const r = "弯管仿真加工分析";
78
+ let c = {};
79
+ const s = sessionStorage.getItem("systemKey"), n = await C(`${r}/管件解析`, s, "");
80
+ let p = ["管长", "外径"], l = {};
81
+ n == null || n.forEach((e) => {
82
+ var i;
83
+ (e == null ? void 0 : e.comp) === "Form" && ((i = e == null ? void 0 : e.compData) == null || i.forEach((t) => {
84
+ var m;
85
+ (t == null ? void 0 : t.key) === "formContent" && ((m = t == null ? void 0 : t.contents) == null || m.forEach((a) => {
86
+ p.includes(a == null ? void 0 : a.key) && (l[a.key] = a.value);
87
+ }));
88
+ }));
89
+ });
90
+ const f = l.管长, u = l.外径;
91
+ console.log("管长", f, "外径", u, l);
92
+ const k = f, E = u / 2, y = await C(`${r}/加工位姿生成`, s, "");
93
+ let A = ["夹持长度"], d = {};
94
+ y == null || y.forEach((e) => {
95
+ var i;
96
+ (e == null ? void 0 : e.comp) === "Form" && ((i = e == null ? void 0 : e.compData) == null || i.forEach((t) => {
97
+ var m;
98
+ (t == null ? void 0 : t.key) === "formContent" && ((m = t == null ? void 0 : t.contents) == null || m.forEach((a) => {
99
+ A.includes(a == null ? void 0 : a.key) && (d[a.key] = a.value);
100
+ }));
101
+ }));
102
+ });
103
+ const L = d.夹持长度;
104
+ console.log("夹持长度", L, d);
105
+ const U = Number(L), w = {}, g = await C(`${r}/仿真动画生成`, s, "");
106
+ g == null || g.forEach((e) => {
107
+ var i, t, m, a, R, D;
108
+ if ((e == null ? void 0 : e.comp) === "Table") {
109
+ let $ = [], b = (m = (t = (i = e == null ? void 0 : e.compData) == null ? void 0 : i.find((o) => (o == null ? void 0 : o.key) === "header")) == null ? void 0 : t.contents) == null ? void 0 : m.map((o) => o == null ? void 0 : o.label), F = (D = (R = (a = e == null ? void 0 : e.compData) == null ? void 0 : a.find((o) => (o == null ? void 0 : o.key) === "tableContents")) == null ? void 0 : R.contents) == null ? void 0 : D.map((o) => (o = o == null ? void 0 : o.filter((h) => !(h != null && h.id)), o));
110
+ F == null || F.forEach((o) => {
111
+ $.push(
112
+ P(
113
+ o,
114
+ b == null ? void 0 : b.filter((h) => h !== "操作")
115
+ )
116
+ );
117
+ }), w[e.name] = $, w[e.name + "Content"] = e;
118
+ }
119
+ });
120
+ const x = T(w);
121
+ return c = {
122
+ initialPipeLength: k,
123
+ pipeRadius: E,
124
+ clampLength: U,
125
+ animationData: x
126
+ }, c;
127
+ }, H = async () => {
128
+ const r = "双弯管仿真加工分析";
129
+ let c = {};
130
+ const s = sessionStorage.getItem("systemKey"), n = await C(`${r}/管件解析`, s, "");
131
+ let p = ["管长", "外径"], l = {};
132
+ n == null || n.forEach((e) => {
133
+ var i;
134
+ (e == null ? void 0 : e.comp) === "Form" && ((i = e == null ? void 0 : e.compData) == null || i.forEach((t) => {
135
+ var m;
136
+ (t == null ? void 0 : t.key) === "formContent" && ((m = t == null ? void 0 : t.contents) == null || m.forEach((a) => {
137
+ p.includes(a == null ? void 0 : a.key) && (l[a.key] = a.value);
138
+ }));
139
+ }));
140
+ });
141
+ const f = l.管长, u = l.外径;
142
+ console.log("管长", f, "外径", u, l);
143
+ const k = f, E = u / 2, y = await C(`${r}/加工工艺生成`, s, "");
144
+ let A = ["夹持位置"], d = {};
145
+ y == null || y.forEach((e) => {
146
+ var i;
147
+ (e == null ? void 0 : e.comp) === "Form" && ((i = e == null ? void 0 : e.compData) == null || i.forEach((t) => {
148
+ var m;
149
+ (t == null ? void 0 : t.key) === "formContent" && ((m = t == null ? void 0 : t.contents) == null || m.forEach((a) => {
150
+ A.includes(a == null ? void 0 : a.key) && (d[a.key] = a.value);
151
+ }));
152
+ }));
153
+ });
154
+ const L = d.夹持位置;
155
+ console.log("夹持长度", L, d);
156
+ const U = Number(L), w = {}, g = await C(`${r}/仿真动画生成`, s, "");
157
+ g == null || g.forEach((e) => {
158
+ var i, t, m, a, R, D;
159
+ if ((e == null ? void 0 : e.comp) === "Table") {
160
+ let $ = [], b = (m = (t = (i = e == null ? void 0 : e.compData) == null ? void 0 : i.find((o) => (o == null ? void 0 : o.key) === "header")) == null ? void 0 : t.contents) == null ? void 0 : m.map((o) => o == null ? void 0 : o.label), F = (D = (R = (a = e == null ? void 0 : e.compData) == null ? void 0 : a.find((o) => (o == null ? void 0 : o.key) === "tableContents")) == null ? void 0 : R.contents) == null ? void 0 : D.map((o) => (o = o == null ? void 0 : o.filter((h) => !(h != null && h.id)), o));
161
+ F == null || F.forEach((o) => {
162
+ $.push(
163
+ P(
164
+ o,
165
+ b == null ? void 0 : b.filter((h) => h !== "操作")
166
+ )
167
+ );
168
+ }), w[e.name] = $, w[e.name + "Content"] = e;
169
+ }
170
+ });
171
+ const x = T(w);
172
+ return c = {
173
+ initialPipeLength: k,
174
+ pipeRadius: E,
175
+ clampLength: U,
176
+ animationData: x
177
+ }, c;
178
+ }, X = async (r) => await j(r), Y = async (r) => await V(r), J = async (r) => {
179
+ const c = await X(r);
180
+ return await Y(c);
181
+ };
182
+ export {
183
+ H as a,
184
+ G as f,
185
+ J as i
186
+ };
@@ -1,5 +1,5 @@
1
1
  import { ref as E } from "vue";
2
- import { c as a } from "./index-lDQWz-a5.js";
2
+ import { c as a } from "./index-D4kvz4W4.js";
3
3
  const A = [
4
4
  {
5
5
  key: "FormName",
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./index-CO8_HZTc.cjs"),o=require("./index-CbeAzxLL.cjs"),n=require("./index.vue_vue_type_style_index_1_lang-D9hEBoWU.cjs"),c=require("./index-BLXMF7Kg.cjs"),i=e.defineComponent({__name:"index",setup(s){const t=e.reactive({...o.State}),a=n.useMenuState(),{activeMenuPath:r}=c.storeToRefs(a);return e.onMounted(async()=>{t.structureId=await n.getActivePageStructureId(r.value)}),(d,l)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(u.ssTable,{itemData:t.pageData,onChange:t.handleItemDataChange},null,8,["itemData","onChange"])]))}});exports.default=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./index-CwgwsMmi.cjs"),o=require("./index-CbeAzxLL.cjs"),n=require("./index.vue_vue_type_style_index_1_lang-D9hEBoWU.cjs"),c=require("./index-BLXMF7Kg.cjs"),i=e.defineComponent({__name:"index",setup(s){const t=e.reactive({...o.State}),a=n.useMenuState(),{activeMenuPath:r}=c.storeToRefs(a);return e.onMounted(async()=>{t.structureId=await n.getActivePageStructureId(r.value)}),(d,l)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(u.ssTable,{itemData:t.pageData,onChange:t.handleItemDataChange},null,8,["itemData","onChange"])]))}});exports.default=i;
@@ -1,11 +1,11 @@
1
1
  import { resolveComponent as J, createElementBlock as k, openBlock as h, Fragment as K, renderList as Q, unref as te, createElementVNode as m, createVNode as w, toDisplayString as x, ref as I, watch as W, withCtx as H, createBlock as X, resolveDynamicComponent as Y, createCommentVNode as S, normalizeStyle as ne, withModifiers as E } from "vue";
2
- import { n as oe, g as Z } from "./index-BigTe71q.js";
3
- import { p as O, s as R, c as d, E as se } from "./index-lDQWz-a5.js";
4
- import { a as U, E as ae } from "./index.vue_vue_type_style_index_1_lang-PSEqjBRa.js";
5
- import "./array-DmJs0wDw.js";
2
+ import { n as oe, g as Z } from "./index-CAgyz256.js";
3
+ import { p as O, s as R, c as d, E as se } from "./index-D4kvz4W4.js";
4
+ import { a as U, E as ae } from "./index.vue_vue_type_style_index_1_lang-C8yw6eX6.js";
5
+ import "./array-D5xVcPMv.js";
6
6
  import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
7
  import le from "./index-DiRBJiMW.js";
8
- import { a as ce, b as ie } from "./index-DeppI0ma.js";
8
+ import { a as ce, b as ie } from "./index-Cldp_SBa.js";
9
9
  const re = { class: "type-select" }, ue = ["onClick"], pe = { class: "list-icon" }, de = {
10
10
  __name: "index",
11
11
  setup(F) {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as z, reactive as R, onMounted as T, watch as A, nextTick as U, resolveComponent as i, createElementBlock as k, openBlock as u, createVNode as c, withCtx as l, createElementVNode as _, toDisplayString as g, Fragment as v, renderList as B, createBlock as b, createTextVNode as f, withDirectives as I, vShow as P } from "vue";
2
- import { s as E } from "./index-CNtMumQ6.js";
3
- import { u as F, aK as x } from "./index.vue_vue_type_style_index_1_lang-PSEqjBRa.js";
4
- import { s as O, c as H } from "./index-lDQWz-a5.js";
2
+ import { s as E } from "./index-CngjfY5b.js";
3
+ import { u as F, aK as x } from "./index.vue_vue_type_style_index_1_lang-C8yw6eX6.js";
4
+ import { s as O, c as H } from "./index-D4kvz4W4.js";
5
5
  import { _ as K } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const L = { class: "routerPage-wrapper" }, W = { class: "role-dialog-header" }, j = ["title"], q = { title: "更多" }, G = { class: "dialog-footer" }, J = /* @__PURE__ */ z({
7
7
  __name: "index",
@@ -1,4 +1,4 @@
1
- import { _ as b } from "./index.vue_vue_type_style_index_0_scoped_92477073_lang-D27h1Ta7.js";
1
+ import { _ as b } from "./index.vue_vue_type_style_index_0_scoped_92477073_lang-C5Lr8BZ4.js";
2
2
  import { resolveComponent as r, createElementBlock as i, openBlock as n, Fragment as p, createVNode as l, createCommentVNode as k, withCtx as s, createElementVNode as d, normalizeStyle as w, toDisplayString as c, renderList as v, createTextVNode as _, createBlock as B, resolveDynamicComponent as I } from "vue";
3
3
  import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  const V = ["title"], $ = {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Df76dhhy.cjs");const n=require("./index.vue_vue_type_style_index_1_lang-D9hEBoWU.cjs"),o=require("./index-BLXMF7Kg.cjs"),u=require("./index-CO8_HZTc.cjs"),c=require("./index-B_eTUqc1.cjs"),s={class:"role-wrapper"},i=e.defineComponent({__name:"index",setup(d){const t=e.reactive({...c.State}),a=n.useMenuState(),{activeMenuPath:r}=o.storeToRefs(a);return e.onMounted(async()=>{t.structureId=await n.getActivePageStructureId(r.value)}),(_,l)=>(e.openBlock(),e.createElementBlock("div",s,[e.createVNode(u.ssTable,{itemData:t.pageData,onChange:t.handleItemDataChange},null,8,["itemData","onChange"])]))}});exports.default=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-6P5R4E7q.cjs");const n=require("./index.vue_vue_type_style_index_1_lang-D9hEBoWU.cjs"),o=require("./index-BLXMF7Kg.cjs"),u=require("./index-CwgwsMmi.cjs"),c=require("./index-B_eTUqc1.cjs"),s={class:"role-wrapper"},i=e.defineComponent({__name:"index",setup(d){const t=e.reactive({...c.State}),a=n.useMenuState(),{activeMenuPath:r}=o.storeToRefs(a);return e.onMounted(async()=>{t.structureId=await n.getActivePageStructureId(r.value)}),(_,l)=>(e.openBlock(),e.createElementBlock("div",s,[e.createVNode(u.ssTable,{itemData:t.pageData,onChange:t.handleItemDataChange},null,8,["itemData","onChange"])]))}});exports.default=i;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("./index.vue_vue_type_style_index_0_scoped_92477073_lang-BRwVjBRt.cjs"),e=require("vue"),u=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),k=["title"],f={key:0,class:"menu-operate-icon"},h={class:"menu-config-wrap"},_=["onClick"],v={class:"module-dialog-content"};function y(o,l,V,M,N,m){var s;const i=e.resolveComponent("svg-icon"),c=e.resolveComponent("el-popover"),p=e.resolveComponent("ssMenu"),r=e.resolveComponent("el-button"),g=e.resolveComponent("ssDialog");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(p,{class:"vertical-menu",mode:o.mode,menuList:o.renderMenuList,isCollapse:o.isCollapse,onClickMenu:o.clickMenu,onOpenMenu:o.openMenu,onCloseMenu:o.closeMenu},{title:e.withCtx(({menu:t})=>{var a,d;return[e.createElementVNode("span",{title:t.title,class:"menu-title",style:e.normalizeStyle({marginRight:t!=null&&t.config&&((a=t==null?void 0:t.config)==null?void 0:a.length)>0?"25px":"1px"})},e.toDisplayString(t.title??""),13,k),t!=null&&t.config&&((d=t==null?void 0:t.config)==null?void 0:d.length)>0?(e.openBlock(),e.createElementBlock("span",f,[e.createVNode(c,{title:"",placement:"bottom-start",trigger:"click","popper-class":"menu-operate-popover"},{reference:e.withCtx(()=>[e.createVNode(i,{name:"config"})]),default:e.withCtx(()=>[e.createElementVNode("div",h,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t==null?void 0:t.config,n=>(e.openBlock(),e.createElementBlock("div",{class:"menu-config-item",key:n.id,onClick:w=>o.clickMenuIcon(t,n)},[e.createVNode(i,{name:n==null?void 0:n.operateIcon,style:{width:"15px",height:"15px","margin-right":"8px"}},null,8,["name"]),e.createElementVNode("span",null,e.toDisplayString(n==null?void 0:n.operateType),1)],8,_))),128))])]),_:2},1024)])):e.createCommentVNode("",!0)]}),_:1},8,["mode","menuList","isCollapse","onClickMenu","onOpenMenu","onCloseMenu"]),((s=o.renderMenuList)==null?void 0:s.length)>0?(e.openBlock(),e.createElementBlock("div",{key:0,class:"fold-icon",onClick:l[0]||(l[0]=(...t)=>o.handleMenuCollapse&&o.handleMenuCollapse(...t))},[e.createVNode(i,{name:o.isCollapse?"expand":"pack",style:{width:"15px",height:"15px"}},null,8,["name"])])):e.createCommentVNode("",!0),e.createVNode(g,{class:"module-dialog",title:o.dialogInfo.title,visible:o.dialogInfo.show,width:o.dialogInfo.width,onBeforeDestroy:o.beforeDialogDestroy},{default:e.withCtx(()=>[e.createElementVNode("div",v,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.dialogRenderComps,t=>(e.openBlock(),e.createElementBlock("div",{key:t.id},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.getComponents((t==null?void 0:t.comp)??"Input")),{itemData:t==null?void 0:t.compData,key:t==null?void 0:t.id,content:(t==null?void 0:t.contents)??[],config:t==null?void 0:t.config,onContentChange:o.handleCompChange},null,40,["itemData","content","config","onContentChange"]))]))),128))])]),footer:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(r,{id:"themeBorderButton",onClick:o.beforeDialogDestroy},{default:e.withCtx(()=>l[1]||(l[1]=[e.createTextVNode("取消")])),_:1,__:[1]},8,["onClick"]),e.createVNode(r,{id:"themeButton",onClick:o.clickSubmitForm},{default:e.withCtx(()=>l[2]||(l[2]=[e.createTextVNode(" 确认 ")])),_:1,__:[2]},8,["onClick"])])]),_:1},8,["title","visible","width","onBeforeDestroy"])],64)}const B=u._export_sfc(C._sfc_main,[["render",y],["__scopeId","data-v-92477073"]]);exports.default=B;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("./index.vue_vue_type_style_index_0_scoped_92477073_lang-B0jnMYQM.cjs"),e=require("vue"),u=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),k=["title"],f={key:0,class:"menu-operate-icon"},h={class:"menu-config-wrap"},_=["onClick"],v={class:"module-dialog-content"};function y(o,l,V,M,N,m){var s;const i=e.resolveComponent("svg-icon"),c=e.resolveComponent("el-popover"),p=e.resolveComponent("ssMenu"),r=e.resolveComponent("el-button"),g=e.resolveComponent("ssDialog");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(p,{class:"vertical-menu",mode:o.mode,menuList:o.renderMenuList,isCollapse:o.isCollapse,onClickMenu:o.clickMenu,onOpenMenu:o.openMenu,onCloseMenu:o.closeMenu},{title:e.withCtx(({menu:t})=>{var a,d;return[e.createElementVNode("span",{title:t.title,class:"menu-title",style:e.normalizeStyle({marginRight:t!=null&&t.config&&((a=t==null?void 0:t.config)==null?void 0:a.length)>0?"25px":"1px"})},e.toDisplayString(t.title??""),13,k),t!=null&&t.config&&((d=t==null?void 0:t.config)==null?void 0:d.length)>0?(e.openBlock(),e.createElementBlock("span",f,[e.createVNode(c,{title:"",placement:"bottom-start",trigger:"click","popper-class":"menu-operate-popover"},{reference:e.withCtx(()=>[e.createVNode(i,{name:"config"})]),default:e.withCtx(()=>[e.createElementVNode("div",h,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t==null?void 0:t.config,n=>(e.openBlock(),e.createElementBlock("div",{class:"menu-config-item",key:n.id,onClick:w=>o.clickMenuIcon(t,n)},[e.createVNode(i,{name:n==null?void 0:n.operateIcon,style:{width:"15px",height:"15px","margin-right":"8px"}},null,8,["name"]),e.createElementVNode("span",null,e.toDisplayString(n==null?void 0:n.operateType),1)],8,_))),128))])]),_:2},1024)])):e.createCommentVNode("",!0)]}),_:1},8,["mode","menuList","isCollapse","onClickMenu","onOpenMenu","onCloseMenu"]),((s=o.renderMenuList)==null?void 0:s.length)>0?(e.openBlock(),e.createElementBlock("div",{key:0,class:"fold-icon",onClick:l[0]||(l[0]=(...t)=>o.handleMenuCollapse&&o.handleMenuCollapse(...t))},[e.createVNode(i,{name:o.isCollapse?"expand":"pack",style:{width:"15px",height:"15px"}},null,8,["name"])])):e.createCommentVNode("",!0),e.createVNode(g,{class:"module-dialog",title:o.dialogInfo.title,visible:o.dialogInfo.show,width:o.dialogInfo.width,onBeforeDestroy:o.beforeDialogDestroy},{default:e.withCtx(()=>[e.createElementVNode("div",v,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.dialogRenderComps,t=>(e.openBlock(),e.createElementBlock("div",{key:t.id},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.getComponents((t==null?void 0:t.comp)??"Input")),{itemData:t==null?void 0:t.compData,key:t==null?void 0:t.id,content:(t==null?void 0:t.contents)??[],config:t==null?void 0:t.config,onContentChange:o.handleCompChange},null,40,["itemData","content","config","onContentChange"]))]))),128))])]),footer:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(r,{id:"themeBorderButton",onClick:o.beforeDialogDestroy},{default:e.withCtx(()=>l[1]||(l[1]=[e.createTextVNode("取消")])),_:1,__:[1]},8,["onClick"]),e.createVNode(r,{id:"themeButton",onClick:o.clickSubmitForm},{default:e.withCtx(()=>l[2]||(l[2]=[e.createTextVNode(" 确认 ")])),_:1,__:[2]},8,["onClick"])])]),_:1},8,["title","visible","width","onBeforeDestroy"])],64)}const B=u._export_sfc(C._sfc_main,[["render",y],["__scopeId","data-v-92477073"]]);exports.default=B;