ss-component-new 1.1.891 → 1.1.892

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 (62) hide show
  1. package/dist/animationData-BT8fsQui.cjs +1 -0
  2. package/dist/{animationData-CN1EqF-r.js → animationData-to30M7Yz.js} +37 -34
  3. package/dist/{index-DAhaNlWY.cjs → index-4imHm2Qs.cjs} +1 -1
  4. package/dist/{index-Bx2hISzp.js → index-7y4MBk5X.js} +1 -1
  5. package/dist/{index-ne_aqcru.cjs → index-B4PFj0kC.cjs} +1 -1
  6. package/dist/{index-CaX0rbwO.cjs → index-BD7hrr9v.cjs} +1 -1
  7. package/dist/{index-BMU6yJAs.cjs → index-BGZqdbx4.cjs} +1 -1
  8. package/dist/{index-BXnPDv9r.js → index-BKOA5pMP.js} +2 -2
  9. package/dist/{index-SMWBbIoD.js → index-BPPlLhQE.js} +1 -1
  10. package/dist/{index-BEdZMjbU.cjs → index-BQ7XtyS3.cjs} +1 -1
  11. package/dist/{index-D7iiteFJ.js → index-ByxdO5yO.js} +4 -4
  12. package/dist/{index-louTzH4q.js → index-BzOBfN1g.js} +1 -1
  13. package/dist/{index-CAHf3xp3.cjs → index-C4FMqhyI.cjs} +1 -1
  14. package/dist/{index-Bu_pCURN.cjs → index-C4PsRile.cjs} +1 -1
  15. package/dist/{index-CkmlUFAW.cjs → index-C5AVKoS2.cjs} +1 -1
  16. package/dist/{index-dpiCdUIf.cjs → index-CBI9x50t.cjs} +1 -1
  17. package/dist/{index-B6NXww9I.cjs → index-CH9uzGln.cjs} +1 -1
  18. package/dist/{index-pMg79yh_.js → index-CMIt0OEW.js} +1 -1
  19. package/dist/{index-BaW_XB1O.js → index-CUByJUrx.js} +1 -1
  20. package/dist/{index-BBVnwd2m.js → index-CbQA1N89.js} +2 -2
  21. package/dist/{index-_wE-o_X9.cjs → index-D1fWMzgV.cjs} +1 -1
  22. package/dist/{index-CLFDFGZc.js → index-DFwSB32R.js} +1 -1
  23. package/dist/{index-Dng5mlpF.cjs → index-DSWZFF6X.cjs} +1 -1
  24. package/dist/{index-D3lyxIh-.cjs → index-DU9Mb8ZR.cjs} +1 -1
  25. package/dist/{index-0gTnWTYW.cjs → index-DVcjJJcy.cjs} +1 -1
  26. package/dist/{index-DzhP-dyJ.js → index-DWzUtupa.js} +1 -1
  27. package/dist/{index-CdMJ8AnN.js → index-DghEGyVe.js} +2 -2
  28. package/dist/{index-Cn0vVT9T.js → index-Dhr-9itd.js} +5 -5
  29. package/dist/{index-DkoH6z9u.js → index-Du00tTqx.js} +12 -12
  30. package/dist/{index-D16HkrFF.js → index-FuOCPE8C.js} +3 -3
  31. package/dist/{index-DXRKqeMU.js → index-NvUI1kdv.js} +1 -1
  32. package/dist/{index-CG4Zzbx3.cjs → index-Rpd0ATV5.cjs} +1 -1
  33. package/dist/{index-ByJCV46K.cjs → index-c-DWGxay.cjs} +1 -1
  34. package/dist/{index-BZCiuSvl.js → index-gu4q2eXY.js} +3 -3
  35. package/dist/{index-I0KcAC0Z.js → index-iXjv9PFY.js} +1 -1
  36. package/dist/{index-DHT-WlRk.js → index-kE5hWlEW.js} +1 -1
  37. package/dist/{index-Dqi5MYiH.cjs → index-mY20uUPd.cjs} +1 -1
  38. package/dist/{index-CyIxM6U1.cjs → index-okHz9k3S.cjs} +1 -1
  39. package/dist/{index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-DHpiH1uJ.cjs → index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-CK-poz_n.cjs} +1 -1
  40. package/dist/{index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-C3gxzLY6.js → index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-uM0_uFDi.js} +4 -4
  41. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-BbcLbsTo.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-BjtUNzWO.cjs} +1 -1
  42. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-qUzpgGfz.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-C-f9FDPb.js} +3 -3
  43. package/dist/{index.vue_vue_type_style_index_1_lang-BnQBd5DM.cjs → index.vue_vue_type_style_index_1_lang-3Z4bLyaN.cjs} +1 -1
  44. package/dist/{index.vue_vue_type_style_index_1_lang-eTR0ZfGF.js → index.vue_vue_type_style_index_1_lang-CWrCaPPj.js} +1 -1
  45. package/dist/{main-DnfkfecF.cjs → main-BdRnkn45.cjs} +1 -1
  46. package/dist/{main-DQ34hn70.js → main-DJnfz_SZ.js} +2 -2
  47. package/dist/ss-component.cjs +1 -1
  48. package/dist/ss-component.js +6 -6
  49. package/dist/ss-component2.cjs +1 -1
  50. package/dist/ss-component2.js +10 -10
  51. package/dist/{threeLatheView-Dfzvm6ky.cjs → threeLatheView-BnlYpCll.cjs} +1 -1
  52. package/dist/{threeLatheView-C6IPSqrJ.js → threeLatheView-BtHGCH4Q.js} +1 -1
  53. package/dist/{threeModel-CAf_Vsa6.js → threeModel-B2i3rAD0.js} +2 -2
  54. package/dist/{threeModel-CVVGPxdM.cjs → threeModel-BndtYu52.cjs} +1 -1
  55. package/dist/{threeSceneView-T-nJUjIF.js → threeSceneView-D9h7d8_K.js} +3 -3
  56. package/dist/{threeSceneView-BWuZ3bAE.cjs → threeSceneView-Rx2-W90u.cjs} +1 -1
  57. package/dist/{threeSceneViewForCPMPIP-KubITEuw.cjs → threeSceneViewForCPMPIP-BPdYtC2A.cjs} +1 -1
  58. package/dist/{threeSceneViewForCPMPIP-D92TDGhY.js → threeSceneViewForCPMPIP-Cp82l5Q_.js} +1 -1
  59. package/dist/{threeViewerHost-BeOR7ANr.cjs → threeViewerHost-Biuo1ilS.cjs} +1 -1
  60. package/dist/{threeViewerHost-C1PE7DZV.js → threeViewerHost-Ditcs1HD.js} +1 -1
  61. package/package.json +1 -1
  62. package/dist/animationData-CBhjOWFv.cjs +0 -1
@@ -0,0 +1 @@
1
+ "use strict";const y=require("./index.vue_vue_type_style_index_1_lang-D9hEBoWU.cjs"),T=require("./xlsx-BPHygxEf.cjs"),_=require("./threeViewerHost-Biuo1ilS.cjs"),U=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,{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,7 +1,7 @@
1
- import { i as C, k as P } from "./index.vue_vue_type_style_index_1_lang-C8yw6eX6.js";
1
+ import { i as C, k as x } from "./index.vue_vue_type_style_index_1_lang-C8yw6eX6.js";
2
2
  import { r as K, u as S } from "./xlsx-ByPOQ6N_.js";
3
- import { d as I } from "./threeViewerHost-C1PE7DZV.js";
4
- import { c as T } from "./index-D4kvz4W4.js";
3
+ import { d as I } from "./threeViewerHost-Ditcs1HD.js";
4
+ import { c as P } from "./index-D4kvz4W4.js";
5
5
  function N(r) {
6
6
  try {
7
7
  const c = new URL(r).pathname, s = c.substring(c.lastIndexOf("/") + 1);
@@ -16,9 +16,9 @@ function B(r) {
16
16
  if (c) {
17
17
  let n = c[1].trim();
18
18
  n = n.replace(/^"(.*)"$/, "$1");
19
- const p = n.split("''");
20
- if (p.length === 2) {
21
- const l = p[0].toUpperCase(), f = p[1];
19
+ const h = n.split("''");
20
+ if (h.length === 2) {
21
+ const l = h[0].toUpperCase(), f = h[1];
22
22
  try {
23
23
  if (l === "UTF-8")
24
24
  return decodeURIComponent(f);
@@ -40,7 +40,10 @@ async function j(r) {
40
40
  let c, s;
41
41
  if (/^https?:\/\//.test(r))
42
42
  try {
43
- const n = await fetch(r);
43
+ const n = await fetch(r, {
44
+ method: "GET",
45
+ cache: "no-store"
46
+ });
44
47
  if (!n.ok)
45
48
  throw new Error(`下载文件失败: ${n.statusText} (URL: ${r})`);
46
49
  c = await n.blob(), s = N(r);
@@ -52,8 +55,8 @@ async function j(r) {
52
55
  const n = await I({ url: r });
53
56
  if (n.status !== 200)
54
57
  throw new Error(`下载失败: ${n.status}`);
55
- const p = n.headers["content-disposition"];
56
- s = B(p) || "无文件名", c = n.data;
58
+ const h = n.headers["content-disposition"];
59
+ s = B(h) || "无文件名", c = n.data;
57
60
  } catch (n) {
58
61
  throw console.error("通过 API 下载文件时出错:", n), n;
59
62
  }
@@ -62,34 +65,34 @@ async function j(r) {
62
65
  function V(r) {
63
66
  return new Promise((c, s) => {
64
67
  const n = new FileReader();
65
- n.onload = (p) => {
68
+ n.onload = (h) => {
66
69
  var l;
67
70
  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);
71
+ const f = (l = h.target) == null ? void 0 : l.result, u = K(f, { type: "array" }), E = u.Sheets[u.SheetNames[0]], k = S.sheet_to_json(E);
72
+ c(k);
70
73
  } catch (f) {
71
74
  s(f);
72
75
  }
73
76
  }, n.readAsArrayBuffer(r);
74
77
  });
75
78
  }
76
- const G = async () => {
79
+ const z = async () => {
77
80
  const r = "弯管仿真加工分析";
78
81
  let c = {};
79
82
  const s = sessionStorage.getItem("systemKey"), n = await C(`${r}/管件解析`, s, "");
80
- let p = ["管长", "外径"], l = {};
83
+ let h = ["管长", "外径"], l = {};
81
84
  n == null || n.forEach((e) => {
82
85
  var i;
83
86
  (e == null ? void 0 : e.comp) === "Form" && ((i = e == null ? void 0 : e.compData) == null || i.forEach((t) => {
84
87
  var m;
85
88
  (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);
89
+ h.includes(a == null ? void 0 : a.key) && (l[a.key] = a.value);
87
90
  }));
88
91
  }));
89
92
  });
90
93
  const f = l.管长, u = l.外径;
91
94
  console.log("管长", f, "外径", u, l);
92
- const k = f, E = u / 2, y = await C(`${r}/加工位姿生成`, s, "");
95
+ const E = f, k = u / 2, y = await C(`${r}/加工位姿生成`, s, "");
93
96
  let A = ["夹持长度"], d = {};
94
97
  y == null || y.forEach((e) => {
95
98
  var i;
@@ -106,41 +109,41 @@ const G = async () => {
106
109
  g == null || g.forEach((e) => {
107
110
  var i, t, m, a, R, D;
108
111
  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));
112
+ 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((p) => !(p != null && p.id)), o));
110
113
  F == null || F.forEach((o) => {
111
114
  $.push(
112
- P(
115
+ x(
113
116
  o,
114
- b == null ? void 0 : b.filter((h) => h !== "操作")
117
+ b == null ? void 0 : b.filter((p) => p !== "操作")
115
118
  )
116
119
  );
117
120
  }), w[e.name] = $, w[e.name + "Content"] = e;
118
121
  }
119
122
  });
120
- const x = T(w);
123
+ const T = P(w);
121
124
  return c = {
122
- initialPipeLength: k,
123
- pipeRadius: E,
125
+ initialPipeLength: E,
126
+ pipeRadius: k,
124
127
  clampLength: U,
125
- animationData: x
128
+ animationData: T
126
129
  }, c;
127
130
  }, H = async () => {
128
131
  const r = "双弯管仿真加工分析";
129
132
  let c = {};
130
133
  const s = sessionStorage.getItem("systemKey"), n = await C(`${r}/管件解析`, s, "");
131
- let p = ["管长", "外径"], l = {};
134
+ let h = ["管长", "外径"], l = {};
132
135
  n == null || n.forEach((e) => {
133
136
  var i;
134
137
  (e == null ? void 0 : e.comp) === "Form" && ((i = e == null ? void 0 : e.compData) == null || i.forEach((t) => {
135
138
  var m;
136
139
  (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);
140
+ h.includes(a == null ? void 0 : a.key) && (l[a.key] = a.value);
138
141
  }));
139
142
  }));
140
143
  });
141
144
  const f = l.管长, u = l.外径;
142
145
  console.log("管长", f, "外径", u, l);
143
- const k = f, E = u / 2, y = await C(`${r}/加工工艺生成`, s, "");
146
+ const E = f, k = u / 2, y = await C(`${r}/加工工艺生成`, s, "");
144
147
  let A = ["夹持位置"], d = {};
145
148
  y == null || y.forEach((e) => {
146
149
  var i;
@@ -157,23 +160,23 @@ const G = async () => {
157
160
  g == null || g.forEach((e) => {
158
161
  var i, t, m, a, R, D;
159
162
  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));
163
+ 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((p) => !(p != null && p.id)), o));
161
164
  F == null || F.forEach((o) => {
162
165
  $.push(
163
- P(
166
+ x(
164
167
  o,
165
- b == null ? void 0 : b.filter((h) => h !== "操作")
168
+ b == null ? void 0 : b.filter((p) => p !== "操作")
166
169
  )
167
170
  );
168
171
  }), w[e.name] = $, w[e.name + "Content"] = e;
169
172
  }
170
173
  });
171
- const x = T(w);
174
+ const T = P(w);
172
175
  return c = {
173
- initialPipeLength: k,
174
- pipeRadius: E,
176
+ initialPipeLength: E,
177
+ pipeRadius: k,
175
178
  clampLength: U,
176
- animationData: x
179
+ animationData: T
177
180
  }, c;
178
181
  }, X = async (r) => await j(r), Y = async (r) => await V(r), J = async (r) => {
179
182
  const c = await X(r);
@@ -181,6 +184,6 @@ const G = async () => {
181
184
  };
182
185
  export {
183
186
  H as a,
184
- G as f,
187
+ z as f,
185
188
  J as i
186
189
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("./index-D3lyxIh-.cjs"),m=require("./index-BMU6yJAs.cjs"),d=require("./index-dpiCdUIf.cjs"),h=require("./index.vue_vue_type_style_index_1_lang-D9hEBoWU.cjs"),u=require("./index-BLXMF7Kg.cjs"),C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),f={class:"menu-module"},k={class:"table-wrap","element-loading-text":"加载中..."},v={class:"module-dialog-default"},x=e.defineComponent({__name:"index",setup(b){const t=e.reactive({...p.State}),r=e.ref(null),a=h.useMenuState(u.pinia),{configMenu:n}=u.storeToRefs(a);return e.onMounted(()=>{var l;t.formatFormData(n.value),e.nextTick(()=>{var o,i;(i=r.value)==null||i.setCurrentKey((o=n.value)==null?void 0:o.path),a.setActiveMenuPath("/平台管理/菜单管理")}),n.value&&t.getInitialSubStructure((l=n.value)==null?void 0:l.path)}),(l,o)=>{const i=e.resolveComponent("el-tree"),c=e.resolveComponent("el-splitter-panel"),g=e.resolveComponent("el-splitter"),s=e.resolveComponent("el-button"),_=e.resolveDirective("loading");return e.openBlock(),e.createElementBlock("div",f,[e.createVNode(g,null,{default:e.withCtx(()=>[e.createVNode(c,{size:208,class:"tree-wrap",min:200},{default:e.withCtx(()=>[e.createVNode(i,{ref_key:"treeRef",ref:r,data:t.treeData,"expand-on-click-node":!1,"node-key":"path",props:{children:"children",label:"label",path:"path"},"highlight-current":"","default-expand-all":"","check-on-click-leaf":!1,"check-strictly":"",onNodeClick:t.clickNodeTrigger},null,8,["data","onNodeClick"])]),_:1}),e.createVNode(c,{min:500},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("div",k,[e.createVNode(m.ssTable,{itemData:t.menuPageData,changedContent:t.changedRow,operatingForm:t.operatingForm,onOnFormChange:t.changeTrigger,onChange:t.handleItemDataChange,onClickTrigger:t.clickTrigger,onOnButtonClick:t.clickRowButton},null,8,["itemData","changedContent","operatingForm","onOnFormChange","onChange","onClickTrigger","onOnButtonClick"])])),[[_,t.tableLoading]])]),_:1})]),_:1}),e.createVNode(d.ssDialog,{class:"module-dialog",title:t.dialogInfo.title,visible:t.dialogInfo.show,width:t.dialogInfo.width,onBeforeDestroy:t.beforeDialogDestroy},{default:e.withCtx(()=>[e.createElementVNode("div",v,[e.createVNode(d.ssForm,{rowContents:t.renderFormData,isEnableWrap:!1,isEdit:!0,onChange:t.changeTrigger,onClickTrigger:t.clickTrigger},null,8,["rowContents","onChange","onClickTrigger"])])]),footer:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(s,{onClick:t.beforeDialogDestroy,id:"themeBorderButton"},{default:e.withCtx(()=>o[0]||(o[0]=[e.createTextVNode("取消")])),_:1,__:[0]},8,["onClick"]),e.createVNode(s,{id:"themeButton",onClick:t.clickSubmitForm},{default:e.withCtx(()=>o[1]||(o[1]=[e.createTextVNode(" 确认 ")])),_:1,__:[1]},8,["onClick"])])]),_:1},8,["title","visible","width","onBeforeDestroy"])])}}}),w=C._export_sfc(x,[["__scopeId","data-v-74868a06"]]);exports.default=w;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("./index-DU9Mb8ZR.cjs"),m=require("./index-BGZqdbx4.cjs"),d=require("./index-CBI9x50t.cjs"),h=require("./index.vue_vue_type_style_index_1_lang-D9hEBoWU.cjs"),u=require("./index-BLXMF7Kg.cjs"),C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),f={class:"menu-module"},k={class:"table-wrap","element-loading-text":"加载中..."},v={class:"module-dialog-default"},x=e.defineComponent({__name:"index",setup(b){const t=e.reactive({...p.State}),r=e.ref(null),a=h.useMenuState(u.pinia),{configMenu:n}=u.storeToRefs(a);return e.onMounted(()=>{var l;t.formatFormData(n.value),e.nextTick(()=>{var o,i;(i=r.value)==null||i.setCurrentKey((o=n.value)==null?void 0:o.path),a.setActiveMenuPath("/平台管理/菜单管理")}),n.value&&t.getInitialSubStructure((l=n.value)==null?void 0:l.path)}),(l,o)=>{const i=e.resolveComponent("el-tree"),c=e.resolveComponent("el-splitter-panel"),g=e.resolveComponent("el-splitter"),s=e.resolveComponent("el-button"),_=e.resolveDirective("loading");return e.openBlock(),e.createElementBlock("div",f,[e.createVNode(g,null,{default:e.withCtx(()=>[e.createVNode(c,{size:208,class:"tree-wrap",min:200},{default:e.withCtx(()=>[e.createVNode(i,{ref_key:"treeRef",ref:r,data:t.treeData,"expand-on-click-node":!1,"node-key":"path",props:{children:"children",label:"label",path:"path"},"highlight-current":"","default-expand-all":"","check-on-click-leaf":!1,"check-strictly":"",onNodeClick:t.clickNodeTrigger},null,8,["data","onNodeClick"])]),_:1}),e.createVNode(c,{min:500},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("div",k,[e.createVNode(m.ssTable,{itemData:t.menuPageData,changedContent:t.changedRow,operatingForm:t.operatingForm,onOnFormChange:t.changeTrigger,onChange:t.handleItemDataChange,onClickTrigger:t.clickTrigger,onOnButtonClick:t.clickRowButton},null,8,["itemData","changedContent","operatingForm","onOnFormChange","onChange","onClickTrigger","onOnButtonClick"])])),[[_,t.tableLoading]])]),_:1})]),_:1}),e.createVNode(d.ssDialog,{class:"module-dialog",title:t.dialogInfo.title,visible:t.dialogInfo.show,width:t.dialogInfo.width,onBeforeDestroy:t.beforeDialogDestroy},{default:e.withCtx(()=>[e.createElementVNode("div",v,[e.createVNode(d.ssForm,{rowContents:t.renderFormData,isEnableWrap:!1,isEdit:!0,onChange:t.changeTrigger,onClickTrigger:t.clickTrigger},null,8,["rowContents","onChange","onClickTrigger"])])]),footer:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(s,{onClick:t.beforeDialogDestroy,id:"themeBorderButton"},{default:e.withCtx(()=>o[0]||(o[0]=[e.createTextVNode("取消")])),_:1,__:[0]},8,["onClick"]),e.createVNode(s,{id:"themeButton",onClick:t.clickSubmitForm},{default:e.withCtx(()=>o[1]||(o[1]=[e.createTextVNode(" 确认 ")])),_:1,__:[1]},8,["onClick"])])]),_:1},8,["title","visible","width","onBeforeDestroy"])])}}}),w=C._export_sfc(x,[["__scopeId","data-v-74868a06"]]);exports.default=w;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as n, reactive as o, onMounted as r, createElementBlock as s, openBlock as c, createVNode as m } from "vue";
2
- import { s as u } from "./index-D16HkrFF.js";
2
+ import { s as u } from "./index-FuOCPE8C.js";
3
3
  import { S as i } from "./index-CsApMPSt.js";
4
4
  import { u as p, aH as l } from "./index.vue_vue_type_style_index_1_lang-C8yw6eX6.js";
5
5
  import { s as d } from "./index-D4kvz4W4.js";
@@ -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-6P5R4E7q.cjs");const n=require("./index.vue_vue_type_style_index_1_lang-D9hEBoWU.cjs"),o=require("./index-BLXMF7Kg.cjs"),u=require("./index-BMU6yJAs.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-BGZqdbx4.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-BbcLbsTo.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-BjtUNzWO.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;