ss-component-new 1.3.702 → 1.3.704

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 (89) hide show
  1. package/dist/JSEncrypt-B36c1iN5.js +1983 -0
  2. package/dist/MTLLoader-CkNZudBE.js +657 -0
  3. package/dist/URDFLoader-DIzEVzUD.js +2299 -0
  4. package/dist/animationData-DvL_4GZ5.js +83 -0
  5. package/dist/array-jbiWLnR-.js +1045 -0
  6. package/dist/clone-Dp_gc9ll.js +8 -0
  7. package/dist/config.js +1 -1
  8. package/dist/eleIcon-qStmsM1q.js +29 -0
  9. package/dist/fileUtil-UOt_otFo.js +20 -0
  10. package/dist/iconfont-C9LP7Z-d.js +1026 -0
  11. package/dist/icons/svg/functionList.svg +1 -0
  12. package/dist/icons/svg/method.svg +1 -0
  13. package/dist/index-11kpzK0A.js +209 -0
  14. package/dist/index-6kpIJwSG.js +98 -0
  15. package/dist/index-B0H3C7WG.js +103 -0
  16. package/dist/index-B0l2_9Pc.js +30 -0
  17. package/dist/index-BFnTZBOW.js +93 -0
  18. package/dist/index-BHtNKL1L.js +27 -0
  19. package/dist/index-BbyrFzEO.js +93 -0
  20. package/dist/index-BooO2Bml.js +78 -0
  21. package/dist/index-Bw3sTXPI.js +8993 -0
  22. package/dist/index-BzUgGzuc.js +48 -0
  23. package/dist/index-CGi0g-VN.js +627 -0
  24. package/dist/index-CSD3bL5o.js +83 -0
  25. package/dist/index-CV_jQDcg.js +9 -0
  26. package/dist/index-CWOXvFfD.js +44 -0
  27. package/dist/index-Ch8te5LO.js +411 -0
  28. package/dist/{index-BKoAuSBh.js → index-ChNfRlIP.js} +18 -223
  29. package/dist/index-CydXQbtX.js +622 -0
  30. package/dist/index-DAJxL40d.js +55 -0
  31. package/dist/index-DBsEVMiM.js +201 -0
  32. package/dist/index-DG4hoOWt.js +665 -0
  33. package/dist/index-DUbk5m5P.js +99 -0
  34. package/dist/index-Da5qIKd6.js +119 -0
  35. package/dist/index-Ds6m_4JJ.js +28500 -0
  36. package/dist/index-DupTchhl.js +1000 -0
  37. package/dist/index-DyCq_odP.js +331 -0
  38. package/dist/index-OGTnqUDW.js +20578 -0
  39. package/dist/index-PV2PkfRE.js +63008 -0
  40. package/dist/index-Ru-cNTPj.js +84 -0
  41. package/dist/index-SohCFB2I.js +107 -0
  42. package/dist/index-UB_oCdlo.js +62 -0
  43. package/dist/index-YcuQhWbw.js +25297 -0
  44. package/dist/index-YjBTGOkO.js +61 -0
  45. package/dist/index-d9yiC1Rr.js +572 -0
  46. package/dist/index-eunh_06c.js +873 -0
  47. package/dist/index-jbOjjV0j.js +447 -0
  48. package/dist/index-l3g33MKM.js +470 -0
  49. package/dist/index-rlStojTL.js +52 -0
  50. package/dist/index-uF-ibwG0.js +9 -0
  51. package/dist/{index-DXYV8CAc.js → index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-C2itW9KG.js} +111121 -112354
  52. package/dist/isString-0ZglyOfu.js +8 -0
  53. package/dist/localIcon-D5UoFBU5.js +76 -0
  54. package/dist/main-Dqoc5YbP.js +502 -0
  55. package/dist/menuIndex-BB0uVPRX.js +159 -0
  56. package/dist/obj/model.mtl +42 -0
  57. package/dist/obj/model.obj +26110 -0
  58. package/dist/request-1RPa2bBn.js +9048 -0
  59. package/dist/ss-component.css +8 -8
  60. package/dist/ss-component.js +64 -28
  61. package/dist/ss-component2.js +75 -15
  62. package/dist/ss-component3.js +1 -1
  63. package/dist/threeModel-BI3l0-99.js +1109 -0
  64. package/dist/threePreview-BkYkq6k4.js +2918 -0
  65. package/dist/threeSceneView-ChFhJWgw.js +1290 -0
  66. package/dist/threeSceneViewForCPMPIP-DE5Oil86.js +539 -0
  67. package/dist/threeTrackPathView-BxUqwu4s.js +620 -0
  68. package/dist/threeViewerHost-Dc7tuhCy.js +233 -0
  69. package/dist/urdfTree-VRms7Vm3.js +254 -0
  70. package/dist/workpieceTreePanel-Bnhv3-BB.js +559 -0
  71. package/package.json +7 -8
  72. package/public/config.js +1 -1
  73. package/public/icons/svg/functionList.svg +1 -0
  74. package/public/icons/svg/method.svg +1 -0
  75. package/public/obj/model.mtl +42 -0
  76. package/public/obj/model.obj +26110 -0
  77. package/dist/index-BZ6XZp4O.js +0 -182
  78. package/dist/index-DMqUY4yR.js +0 -27
  79. package/dist/index-Dad_IdSm.js +0 -213
  80. package/dist/index-Nxu5ivW5.js +0 -1044
  81. package/dist/index-T_MmKXF1.js +0 -50
  82. package/dist/menu-BYmz2cKN.js +0 -5229
  83. package/dist/platform-C9131Sg-.js +0 -11490
  84. /package/dist/icons/svg/{update.svg → Update.svg} +0 -0
  85. /package/dist/icons/svg/{table-close.svg → tableClose.svg} +0 -0
  86. /package/dist/icons/svg/{table-expand.svg → tableExpand.svg} +0 -0
  87. /package/public/icons/svg/{update.svg → Update.svg} +0 -0
  88. /package/public/icons/svg/{table-close.svg → tableClose.svg} +0 -0
  89. /package/public/icons/svg/{table-expand.svg → tableExpand.svg} +0 -0
@@ -0,0 +1,1045 @@
1
+ import { ref as k, computed as ae, resolveComponent as te, createElementBlock as M, openBlock as p, Fragment as ue, renderList as ce, createElementVNode as w, toDisplayString as re, createVNode as R, reactive as la, watch as be, createBlock as j, resolveDynamicComponent as le, unref as _, withCtx as L, isRef as Ye, createTextVNode as de, createCommentVNode as q, normalizeStyle as ta, withModifiers as ve, normalizeClass as qe, nextTick as na } from "vue";
2
+ import { U as Ie, g as aa, E as oa, F as sa, G as Je, V as ra } from "./index-PV2PkfRE.js";
3
+ import { a as Ce, p as he, s as ie, c as K, u as ke, E as ua } from "./index-Bw3sTXPI.js";
4
+ import { _ as we } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
+ import ca from "./index-rlStojTL.js";
6
+ import { e as ia, d as da } from "./index-YcuQhWbw.js";
7
+ import { s as va } from "./index-11kpzK0A.js";
8
+ import { E as pa } from "./request-1RPa2bBn.js";
9
+ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class: "group-items" }, ma = ["onDragstart"], ba = {
10
+ __name: "index",
11
+ props: {
12
+ compContainerRef: Object
13
+ },
14
+ emits: [""],
15
+ setup(a, { emit: n }) {
16
+ const i = Ce(he), { itemData: s, activeItemIndex: C } = ie(i), r = n, x = k(null), f = ae(() => {
17
+ var ee, P, U;
18
+ const H = { label: "布局", items: ["TABS", "LAYOUT"] }, O = { label: "常用", items: ["FORM", "TABLE"] }, F = { label: "高级", items: ["STEP", "TIMELINE", "CHART", "SIGNATURE", "AVATAR", "FOLD"] }, D = (ee = Ie.value) == null ? void 0 : ee.filter((V) => {
19
+ var c, t;
20
+ return (t = H == null ? void 0 : H.items) == null ? void 0 : t.includes((c = V == null ? void 0 : V.type) == null ? void 0 : c.toUpperCase());
21
+ }), Z = (P = Ie.value) == null ? void 0 : P.filter((V) => {
22
+ var c, t;
23
+ return (t = O == null ? void 0 : O.items) == null ? void 0 : t.includes((c = V == null ? void 0 : V.type) == null ? void 0 : c.toUpperCase());
24
+ }), B = (U = Ie.value) == null ? void 0 : U.filter((V) => {
25
+ var c, t;
26
+ return (t = F == null ? void 0 : F.items) == null ? void 0 : t.includes((c = V == null ? void 0 : V.type) == null ? void 0 : c.toUpperCase());
27
+ });
28
+ return [
29
+ {
30
+ ...H,
31
+ items: D
32
+ },
33
+ {
34
+ ...O,
35
+ items: Z
36
+ },
37
+ {
38
+ ...F,
39
+ items: B
40
+ }
41
+ ];
42
+ }), $ = (H, O) => {
43
+ try {
44
+ H.dataTransfer.clearData();
45
+ const F = {
46
+ ...O,
47
+ timestamp: Date.now()
48
+ // 添加时间戳确保唯一性
49
+ };
50
+ H.dataTransfer.setData("application/json", JSON.stringify(F)), H.dataTransfer.effectAllowed = "copyMove", H.target.classList.add("dragging"), r("handleDragStart", O);
51
+ } catch (F) {
52
+ console.error("Drag start error:", F);
53
+ }
54
+ };
55
+ return (H, O) => {
56
+ const F = te("svg-icon");
57
+ return p(), M("div", fa, [
58
+ (p(!0), M(ue, null, ce(f.value, (D) => (p(), M("div", {
59
+ class: "group-item",
60
+ key: D == null ? void 0 : D.label
61
+ }, [
62
+ w("div", ha, re(D == null ? void 0 : D.label), 1),
63
+ w("div", ga, [
64
+ (p(!0), M(ue, null, ce(D == null ? void 0 : D.items, (Z, B) => (p(), M("div", {
65
+ class: "type-list",
66
+ title: "鼠标拖动",
67
+ ref_for: !0,
68
+ ref_key: "dragItem",
69
+ ref: x,
70
+ key: B,
71
+ draggable: !0,
72
+ onDragstart: (ee) => $(ee, Z)
73
+ }, [
74
+ R(F, {
75
+ name: Z.icon,
76
+ style: { width: "15px", height: "15px" }
77
+ }, null, 8, ["name"]),
78
+ w("div", null, re(Z.name), 1)
79
+ ], 40, ma))), 128))
80
+ ])
81
+ ]))), 128))
82
+ ]);
83
+ };
84
+ }
85
+ }, rl = /* @__PURE__ */ we(ba, [["__scopeId", "data-v-d9fa1a24"]]), ye = Ce(he), { pageMapState: _a } = ie(ye), Ca = ke(), { activeMenuPath: ge } = ie(Ca), J = k([
86
+ // [
87
+ // {
88
+ // "id": 732285669982280
89
+ // },
90
+ // '测试任务',
91
+ // ['列名称', '试验名称'],
92
+ // ['时间限制', '开始时'],
93
+ // "界面显示",
94
+ // "启动",
95
+ // "2025-10-21"
96
+ // ]
97
+ ]), ne = k([
98
+ // [
99
+ // {
100
+ // "id": 732285669982280
101
+ // },
102
+ // "进度监督",
103
+ // "启用",
104
+ // "2025-10-21"
105
+ // ]
106
+ ]), ya = ae(() => [
107
+ {
108
+ label: "任务配置",
109
+ name: "任务配置",
110
+ component: {
111
+ comp: "Table",
112
+ name: "任务配置",
113
+ isShow: !0,
114
+ compData: [
115
+ {
116
+ key: "header",
117
+ contents: [
118
+ {
119
+ prop: "任务名称",
120
+ align: "center",
121
+ isRun: !1,
122
+ label: "任务名称",
123
+ isRoute: !1,
124
+ isTableColHidden: !1,
125
+ isFormColHidden: !1
126
+ },
127
+ {
128
+ prop: "任务关键词",
129
+ align: "center",
130
+ isRun: !1,
131
+ label: "任务关键词",
132
+ isRoute: !1,
133
+ isTableColHidden: !1,
134
+ isFormColHidden: !1
135
+ },
136
+ {
137
+ prop: "执行任务",
138
+ align: "center",
139
+ isRun: !1,
140
+ label: "执行任务",
141
+ isRoute: !1,
142
+ isTableColHidden: !1,
143
+ isFormColHidden: !1
144
+ },
145
+ {
146
+ prop: "执行交互",
147
+ align: "center",
148
+ isRun: !1,
149
+ label: "执行交互",
150
+ isRoute: !1,
151
+ isTableColHidden: !1,
152
+ isFormColHidden: !1
153
+ },
154
+ {
155
+ prop: "任务状态",
156
+ align: "center",
157
+ isRun: !1,
158
+ label: "任务状态",
159
+ isRoute: !1,
160
+ isTableColHidden: !1,
161
+ isFormColHidden: !1
162
+ },
163
+ {
164
+ prop: "创建时间",
165
+ align: "center",
166
+ isRun: !1,
167
+ label: "创建时间",
168
+ isRoute: !1,
169
+ isTableColHidden: !1,
170
+ isFormColHidden: !1
171
+ },
172
+ {
173
+ label: "操作"
174
+ }
175
+ ]
176
+ },
177
+ {
178
+ key: "rowButton",
179
+ contents: [
180
+ {
181
+ label: "访问"
182
+ },
183
+ {
184
+ label: "删除"
185
+ }
186
+ ]
187
+ },
188
+ {
189
+ key: "extraButton",
190
+ contents: [
191
+ {
192
+ label: "创建"
193
+ },
194
+ {
195
+ label: "批量删除"
196
+ }
197
+ ]
198
+ },
199
+ {
200
+ key: "tableFilter",
201
+ contents: []
202
+ },
203
+ {
204
+ key: "tableContents",
205
+ contents: J.value
206
+ }
207
+ ]
208
+ }
209
+ },
210
+ {
211
+ label: "任务关联",
212
+ name: "任务关联",
213
+ component: {
214
+ comp: "Table",
215
+ name: "任务关联",
216
+ isShow: !0,
217
+ compData: [
218
+ {
219
+ key: "header",
220
+ contents: [
221
+ {
222
+ prop: "关联名称",
223
+ align: "center",
224
+ isRun: !1,
225
+ label: "关联名称",
226
+ isRoute: !1,
227
+ isTableColHidden: !1,
228
+ isFormColHidden: !1
229
+ },
230
+ {
231
+ prop: "关联形式",
232
+ align: "center",
233
+ isRun: !1,
234
+ label: "关联形式",
235
+ isRoute: !1,
236
+ isTableColHidden: !1,
237
+ isFormColHidden: !1
238
+ },
239
+ {
240
+ prop: "关联任务集合",
241
+ align: "center",
242
+ isRun: !1,
243
+ label: "关联任务集合",
244
+ isRoute: !1,
245
+ isTableColHidden: !0,
246
+ isFormColHidden: !1
247
+ },
248
+ {
249
+ prop: "关联状态",
250
+ align: "center",
251
+ isRun: !1,
252
+ label: "关联状态",
253
+ isRoute: !1,
254
+ isTableColHidden: !1,
255
+ isFormColHidden: !1
256
+ },
257
+ {
258
+ label: "操作"
259
+ }
260
+ ]
261
+ },
262
+ {
263
+ key: "rowButton",
264
+ contents: [
265
+ {
266
+ label: "访问"
267
+ },
268
+ {
269
+ label: "删除"
270
+ }
271
+ ]
272
+ },
273
+ {
274
+ key: "extraButton",
275
+ contents: [
276
+ {
277
+ label: "创建"
278
+ },
279
+ {
280
+ label: "批量删除"
281
+ }
282
+ ]
283
+ },
284
+ {
285
+ key: "tableFilter",
286
+ contents: []
287
+ },
288
+ {
289
+ key: "tableContents",
290
+ contents: ne.value
291
+ }
292
+ ]
293
+ }
294
+ }
295
+ ]), N = k([]), Xe = ae(() => {
296
+ var a;
297
+ return (a = N.value) == null ? void 0 : a.map((n, i) => ({
298
+ value: n == null ? void 0 : n.id,
299
+ label: n == null ? void 0 : n.name
300
+ }));
301
+ }), _e = k("data"), oe = k("任务配置"), fe = k({}), X = k(null), W = la({
302
+ width: "30%",
303
+ title: "任务配置",
304
+ type: "创建",
305
+ show: !1
306
+ }), Da = () => {
307
+ W.show = !1;
308
+ }, Ia = (a, n) => {
309
+ var s, C, r, x, f, $, H, O, F;
310
+ if (fe.value = K(n), a === "删除")
311
+ return oe.value === "任务配置" ? J.value = (s = J.value) == null ? void 0 : s.filter((D) => (D == null ? void 0 : D.id) !== (n == null ? void 0 : n.id)) : oe.value === "任务关联" && (ne.value = (C = ne.value) == null ? void 0 : C.filter((D) => (D == null ? void 0 : D.id) !== (n == null ? void 0 : n.id))), ye.setItemExtendData({
312
+ 任务配置: {
313
+ pageKey: ge.value,
314
+ compId: (r = X.value) == null ? void 0 : r.id,
315
+ results: J.value
316
+ },
317
+ 任务关联: {
318
+ pageKey: ge.value,
319
+ compId: (x = X.value) == null ? void 0 : x.id,
320
+ results: ne.value
321
+ }
322
+ });
323
+ const i = n ? (f = Object.keys(n)) == null ? void 0 : f[1] : "";
324
+ oe.value === "任务配置" ? W.title = `当前配置:${($ = X.value) == null ? void 0 : $.name}>任务配置>【${(n == null ? void 0 : n[i]) || a}】` : oe.value === "任务关联" && (W.title = `当前配置:${(H = X.value) == null ? void 0 : H.name}>任务关联>【${(n == null ? void 0 : n[i]) || a}】`), W.type = typeof ((O = fe.value) == null ? void 0 : O.id) == "string" || !((F = fe.value) != null && F.id) ? "创建" : "编辑", W.show = a === "创建" || a === "访问";
325
+ }, ka = (a) => {
326
+ var n;
327
+ typeof a == "number" && (X.value = (n = N.value) == null ? void 0 : n[a], Sa()), _e.value = "data";
328
+ }, wa = (a) => {
329
+ }, xa = (a) => {
330
+ var n, i;
331
+ switch (oe.value) {
332
+ case "任务配置":
333
+ W.type === "创建" ? J.value.push(a == null ? void 0 : a.data) : J.value = (n = J.value) == null ? void 0 : n.map((s) => {
334
+ var C;
335
+ return (s == null ? void 0 : s.id) === ((C = a == null ? void 0 : a.data) == null ? void 0 : C.id) ? {
336
+ ...s,
337
+ ...a == null ? void 0 : a.data
338
+ } : s;
339
+ });
340
+ break;
341
+ case "任务关联":
342
+ W.type === "创建" ? ne.value.push(a == null ? void 0 : a.data) : ne.value = (i = ne.value) == null ? void 0 : i.map((s) => {
343
+ var C;
344
+ return (s == null ? void 0 : s.id) === ((C = a == null ? void 0 : a.data) == null ? void 0 : C.id) ? {
345
+ ...s,
346
+ ...a == null ? void 0 : a.data
347
+ } : s;
348
+ });
349
+ break;
350
+ }
351
+ console.log("handleTableData:", J.value, a, W.type), ye.setItemExtendData({
352
+ 任务配置: {
353
+ pageKey: ge.value,
354
+ compId: a == null ? void 0 : a.compId,
355
+ results: J.value
356
+ },
357
+ 任务关联: {
358
+ pageKey: ge.value,
359
+ compId: a == null ? void 0 : a.compId,
360
+ results: ne.value
361
+ }
362
+ }), W.show = !1;
363
+ }, Ta = (a) => {
364
+ var n, i;
365
+ if ((a == null ? void 0 : a.buttonName) === "取消")
366
+ W.show = !1;
367
+ else if ((a == null ? void 0 : a.buttonName) === "保存") {
368
+ const s = {
369
+ compId: (n = X.value) == null ? void 0 : n.id,
370
+ data: {
371
+ ...a == null ? void 0 : a.content,
372
+ id: (i = fe.value) == null ? void 0 : i.id
373
+ }
374
+ };
375
+ xa(s);
376
+ }
377
+ }, Qe = (a, n) => {
378
+ var r, x;
379
+ const { target: i, styleConfigs: s } = a;
380
+ if (!s) return;
381
+ const C = s == null ? void 0 : s.reduce((f, $) => (f[$.prop] = $.value, f), {});
382
+ n ? N.value = (x = N.value) == null ? void 0 : x.map((f) => (f == null ? void 0 : f.id) === (n == null ? void 0 : n.id) ? {
383
+ ...f,
384
+ ...C
385
+ } : f) : N.value = (r = N.value) == null ? void 0 : r.map((f) => ({
386
+ ...f,
387
+ ...C
388
+ })), ye.setItemData(N.value);
389
+ }, Ze = (a) => {
390
+ }, ea = (a, n) => {
391
+ var i;
392
+ return (i = a == null ? void 0 : a.filter((s) => {
393
+ var C, r, x, f, $;
394
+ return ((r = (C = s == null ? void 0 : s.key) == null ? void 0 : C.relatedInfo) == null ? void 0 : r.target) === n && ((f = (x = s == null ? void 0 : s.key) == null ? void 0 : x.relatedInfo) == null ? void 0 : f.compId) === (($ = X.value) == null ? void 0 : $.id);
395
+ })) == null ? void 0 : i.map((s) => {
396
+ var C;
397
+ return {
398
+ ...(C = s == null ? void 0 : s.value) == null ? void 0 : C.tableData,
399
+ id: s == null ? void 0 : s.id
400
+ };
401
+ });
402
+ }, Sa = () => {
403
+ var n, i;
404
+ const a = (i = (n = _a.value) == null ? void 0 : n[ge.value]) == null ? void 0 : i.filter((s) => {
405
+ var C;
406
+ return ((C = s == null ? void 0 : s.key) == null ? void 0 : C.type) === "extend";
407
+ });
408
+ (a == null ? void 0 : a.length) !== 0 && (J.value = ea(a, "任务配置"), ne.value = ea(a, "任务关联"));
409
+ }, Ra = { class: "fill-content" }, La = { class: "overall-config-wrapper" }, Ma = { class: "operate-content" }, $a = ["onClick"], Ha = {
410
+ class: "collapse-title-item",
411
+ title: "编辑"
412
+ }, Ba = { key: 1 }, Ea = ["onClick"], Oa = { class: "icon-content" }, Fa = {
413
+ key: 0,
414
+ class: "edit-content"
415
+ }, Va = ["onClick"], Aa = { title: "设置" }, Na = ["onClick"], Ua = { class: "parent-main" }, Ga = { style: { display: "flex", "justify-content": "space-between" } }, za = { title: "样式" }, Ka = { title: "交互" }, ja = { title: "扩展" }, Pa = { style: { width: "100%", "max-height": "500px", overflow: "auto" } }, Wa = {
416
+ __name: "index",
417
+ setup(a) {
418
+ const n = Ce(he), { itemData: i, originalData: s } = ie(n), C = ke(), { activeMenuPath: r } = ie(C);
419
+ k([]);
420
+ const x = k([]), f = k([]), $ = k([]), H = ae(() => {
421
+ var c, t, g, v;
422
+ return ((c = N.value) == null ? void 0 : c.length) > 0 && (t = N.value) != null && t.every((h) => {
423
+ var A, G;
424
+ return (h == null ? void 0 : h.comp) === ((G = (A = N.value) == null ? void 0 : A[0]) == null ? void 0 : G.comp);
425
+ }) ? (v = (g = N.value) == null ? void 0 : g[0]) == null ? void 0 : v.comp : null;
426
+ }), O = (c) => {
427
+ var g;
428
+ let t = (g = K(f.value)) == null ? void 0 : g.map((v, h) => (c === h && (v.content = !0), v));
429
+ f.value = t;
430
+ }, F = (c) => {
431
+ var g;
432
+ let t = (g = K(f.value)) == null ? void 0 : g.map((v, h) => (c === h && (v.content = !1), v));
433
+ f.value = t, N.value = K(i.value);
434
+ }, D = (c, t) => {
435
+ var A;
436
+ let g = (A = K(f.value)) == null ? void 0 : A.map((G, u) => (c === u && (G.content = !1), G));
437
+ f.value = g;
438
+ const v = K(i.value), h = v == null ? void 0 : v.filter((G, u) => (u === c && (G.name = t), G));
439
+ n.setOriginalData(h), n.setItemData(h);
440
+ }, Z = (c) => {
441
+ const t = K(i.value), g = t == null ? void 0 : t.map((v, h) => ((v == null ? void 0 : v.name) === (c == null ? void 0 : c.name) ? v.isShow = !(c != null && c.isShow) : v.isShow = v.isShow, v));
442
+ i.value = g;
443
+ };
444
+ be(
445
+ () => i.value,
446
+ () => {
447
+ var c, t, g, v;
448
+ !i.value || ((c = i.value) == null ? void 0 : c.length) === 0 ? N.value = [] : N.value = (t = i.value) == null ? void 0 : t.filter((h) => (h == null ? void 0 : h.comp) !== "methodButton"), x.value = N.value, f.value = (g = K(x.value)) == null ? void 0 : g.map((h, A) => ({
449
+ id: A,
450
+ content: !1
451
+ })), $.value = (v = K(x.value)) == null ? void 0 : v.map((h, A) => ({
452
+ id: A,
453
+ isShow: h == null ? void 0 : h.isShow
454
+ }));
455
+ },
456
+ { deep: !0, immediate: !0 }
457
+ );
458
+ const B = (c) => aa(c), ee = (c, t, g, v) => {
459
+ var A, G;
460
+ if (!c) return;
461
+ let h = K(i.value);
462
+ h = (A = h == null ? void 0 : h.map((u, y) => {
463
+ if (v && y === g) {
464
+ const { compData: d, itemChildData: Y } = c;
465
+ return u.compData = d, u.itemChildData = Y, u;
466
+ }
467
+ return y === g && (u.compData = c), u;
468
+ })) == null ? void 0 : A.filter((u) => (u == null ? void 0 : u.comp) !== "methodButton"), f.value = (G = K(h)) == null ? void 0 : G.map((u, y) => ({
469
+ id: y,
470
+ content: !1
471
+ })), n.setOriginalData(h), n.setItemData(h);
472
+ }, P = k(null), U = (c, t) => {
473
+ if (!t) {
474
+ n.setActiveItemIndex(c);
475
+ return;
476
+ }
477
+ n.setActiveItemIndex(-1);
478
+ }, V = (c) => {
479
+ ua.confirm("是否确认要删除", "", {
480
+ confirmButtonText: "确认",
481
+ cancelButtonText: "取消",
482
+ type: "warning"
483
+ }).then(
484
+ () => {
485
+ const t = K(i.value), g = t == null ? void 0 : t.filter((v, h) => h !== c);
486
+ n.setOriginalData(g), n.setItemData(g), n.setActiveItemIndex(-1), pa({
487
+ type: "success",
488
+ message: "删除成功"
489
+ });
490
+ }
491
+ ).catch(() => {
492
+ });
493
+ };
494
+ return (c, t) => {
495
+ var G;
496
+ const g = te("svg-icon"), v = te("el-tab-pane"), h = te("el-card"), A = te("el-tabs");
497
+ return p(), M("div", Ra, [
498
+ t[10] || (t[10] = w("div", { class: "fill-operate" }, "操作栏", -1)),
499
+ w("div", La, [
500
+ (p(), j(le(B(H.value + "style")), {
501
+ target: "overall",
502
+ optionItems: _(Xe),
503
+ compType: H.value,
504
+ comp: (G = _(N)) == null ? void 0 : G[0],
505
+ onChange: _(Qe)
506
+ }, null, 40, ["optionItems", "compType", "comp", "onChange"]))
507
+ ]),
508
+ w("div", Ma, [
509
+ R(ca, {
510
+ class: "collapse-content",
511
+ collapseContents: _(N),
512
+ accordion: !0,
513
+ onChange: _(ka),
514
+ ref_key: "ssCollapseRef",
515
+ ref: P
516
+ }, {
517
+ title: L(({ item: u, index: y, isActive: d }) => {
518
+ var Y, E, z, l, o, m, I, b, Q, se;
519
+ return [
520
+ w("div", {
521
+ class: "collapse-title-content",
522
+ onClick: (T) => U(y, d)
523
+ }, [
524
+ w("div", Ha, [
525
+ (E = (Y = f.value) == null ? void 0 : Y.find((T) => T.id === y)) != null && E.content ? q("", !0) : (p(), M("div", {
526
+ key: 0,
527
+ class: "collapse-title",
528
+ style: ta({ marginRight: u.name && u.name !== "" ? "8px" : "0px" })
529
+ }, re(u.name), 5)),
530
+ (l = (z = f.value) == null ? void 0 : z.find((T) => T.id === y)) != null && l.content ? (p(), M("div", Ba, [
531
+ R(da, {
532
+ modelValue: u.name,
533
+ "onUpdate:modelValue": (T) => u.name = T,
534
+ onClick: t[0] || (t[0] = ve(() => {
535
+ }, ["stop"]))
536
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])
537
+ ])) : q("", !0),
538
+ (m = (o = f.value) == null ? void 0 : o.find((T) => T.id === y)) != null && m.content ? q("", !0) : (p(), M("div", {
539
+ key: 2,
540
+ onClick: ve((T) => O(y), ["stop"]),
541
+ class: "icon-content"
542
+ }, [
543
+ R(g, {
544
+ name: "Edit",
545
+ style: { width: "13px", height: "13px" }
546
+ })
547
+ ], 8, Ea))
548
+ ]),
549
+ w("div", Oa, [
550
+ (b = (I = f.value) == null ? void 0 : I.find((T) => T.id === y)) != null && b.content ? (p(), M("div", Fa, [
551
+ R(g, {
552
+ name: "Cancel",
553
+ style: { width: "16px", height: "16px" },
554
+ class: "icon-content",
555
+ onClick: ve((T) => F(y), ["stop"])
556
+ }, null, 8, ["onClick"]),
557
+ R(g, {
558
+ name: "Save",
559
+ onClick: ve((T) => D(y, u.name), ["stop"]),
560
+ style: { width: "16px", height: "16px", fill: "var(--ssComponent-primary-color)" },
561
+ class: "icon-content"
562
+ }, null, 8, ["onClick"])
563
+ ])) : q("", !0),
564
+ (se = (Q = f.value) == null ? void 0 : Q.find((T) => T.id === y)) != null && se.content ? q("", !0) : (p(), M("div", {
565
+ key: 1,
566
+ onClick: ve((T) => V(y), ["stop"]),
567
+ class: "icon-content"
568
+ }, [
569
+ R(g, {
570
+ name: "Delete",
571
+ style: { width: "16px", height: "16px" }
572
+ })
573
+ ], 8, Va))
574
+ ])
575
+ ], 8, $a)
576
+ ];
577
+ }),
578
+ content: L(({ item: u, index: y }) => [
579
+ R(A, {
580
+ modelValue: _(_e),
581
+ "onUpdate:modelValue": t[2] || (t[2] = (d) => Ye(_e) ? _e.value = d : null),
582
+ class: "config-tabs",
583
+ onTabClick: U
584
+ }, {
585
+ default: L(() => [
586
+ R(v, {
587
+ label: "设置",
588
+ name: "data"
589
+ }, {
590
+ label: L(() => [
591
+ w("span", Aa, [
592
+ R(g, {
593
+ name: "LowCodeSetting",
594
+ style: { width: "15px", height: "15px", "margin-right": "5px" }
595
+ }),
596
+ t[3] || (t[3] = de("设置"))
597
+ ])
598
+ ]),
599
+ default: L(() => {
600
+ var d, Y;
601
+ return [
602
+ w("div", {
603
+ class: "comp-child",
604
+ onClick: (E) => U(y)
605
+ }, [
606
+ (p(), j(le(B(u.comp + "Operate")), {
607
+ itemContents: u == null ? void 0 : u.compData,
608
+ originalItemContents: (Y = (d = x.value) == null ? void 0 : d.find((E, z) => z === y)) == null ? void 0 : Y.compData,
609
+ itemChildData: u == null ? void 0 : u.itemChildData,
610
+ onChange: (E, z) => ee(E, u, y, z)
611
+ }, null, 40, ["itemContents", "originalItemContents", "itemChildData", "onChange"]))
612
+ ], 8, Na),
613
+ w("div", Ua, [
614
+ t[5] || (t[5] = w("div", { class: "operate-title" }, [
615
+ w("div", null, re("显隐控制"))
616
+ ], -1)),
617
+ w("div", Ga, [
618
+ t[4] || (t[4] = w("div", { class: "operate-center-content" }, re("是否显示"), -1)),
619
+ R(ia, {
620
+ value: $.value.find((E) => E.id === y).isShow,
621
+ "onUpdate:value": (E) => $.value.find((z) => z.id === y).isShow = E,
622
+ onClick: (E) => Z(u)
623
+ }, null, 8, ["value", "onUpdate:value", "onClick"])
624
+ ])
625
+ ])
626
+ ];
627
+ }),
628
+ _: 2
629
+ }, 1024),
630
+ R(v, {
631
+ label: "样式",
632
+ name: "style"
633
+ }, {
634
+ label: L(() => [
635
+ w("span", za, [
636
+ R(g, {
637
+ name: "LowCodeStyle",
638
+ style: { width: "15px", height: "15px", "margin-right": "5px" }
639
+ }),
640
+ t[6] || (t[6] = de("样式"))
641
+ ])
642
+ ]),
643
+ default: L(() => [
644
+ (p(), j(le(B((u == null ? void 0 : u.comp) + "style")), {
645
+ target: "alone",
646
+ compType: u == null ? void 0 : u.comp,
647
+ comp: u,
648
+ optionItems: _(Xe),
649
+ onChange: (d) => _(Qe)(d, u)
650
+ }, null, 40, ["compType", "comp", "optionItems", "onChange"]))
651
+ ]),
652
+ _: 2
653
+ }, 1024),
654
+ R(v, {
655
+ label: "交互",
656
+ name: "event"
657
+ }, {
658
+ label: L(() => [
659
+ w("span", Ka, [
660
+ R(g, {
661
+ name: "LowCodeEvent",
662
+ style: { width: "15px", height: "15px", "margin-right": "5px" }
663
+ }),
664
+ t[7] || (t[7] = de("交互"))
665
+ ])
666
+ ]),
667
+ default: L(() => [
668
+ t[8] || (t[8] = de(" 交互 "))
669
+ ]),
670
+ _: 1,
671
+ __: [8]
672
+ }),
673
+ R(v, {
674
+ label: "扩展",
675
+ name: "extend"
676
+ }, {
677
+ label: L(() => [
678
+ w("span", ja, [
679
+ R(g, {
680
+ name: "LowCodeExtend",
681
+ style: { width: "15px", height: "15px", "margin-right": "5px" }
682
+ }),
683
+ t[9] || (t[9] = de("扩展"))
684
+ ])
685
+ ]),
686
+ default: L(() => [
687
+ R(A, {
688
+ "tab-position": "left",
689
+ modelValue: _(oe),
690
+ "onUpdate:modelValue": t[1] || (t[1] = (d) => Ye(oe) ? oe.value = d : null),
691
+ class: "extend-tabs",
692
+ onTabChange: _(wa)
693
+ }, {
694
+ default: L(() => [
695
+ (p(!0), M(ue, null, ce(_(ya), (d, Y) => (p(), j(v, {
696
+ key: d == null ? void 0 : d.name,
697
+ label: d == null ? void 0 : d.label,
698
+ name: d == null ? void 0 : d.name
699
+ }, {
700
+ default: L(() => [
701
+ R(h, null, {
702
+ default: L(() => {
703
+ var E, z, l;
704
+ return [
705
+ (p(), j(le(B((E = d == null ? void 0 : d.component) == null ? void 0 : E.comp)), {
706
+ compItem: d == null ? void 0 : d.component,
707
+ itemData: (z = d == null ? void 0 : d.component) == null ? void 0 : z.compData,
708
+ childItemData: (l = d == null ? void 0 : d.component) == null ? void 0 : l.itemChildData,
709
+ key: Y,
710
+ level: 1,
711
+ onChange: _(Ze),
712
+ onOnButtonClick: _(Ia)
713
+ }, null, 40, ["compItem", "itemData", "childItemData", "onChange", "onOnButtonClick"]))
714
+ ];
715
+ }),
716
+ _: 2
717
+ }, 1024)
718
+ ]),
719
+ _: 2
720
+ }, 1032, ["label", "name"]))), 128))
721
+ ]),
722
+ _: 1
723
+ }, 8, ["modelValue", "onTabChange"])
724
+ ]),
725
+ _: 1
726
+ })
727
+ ]),
728
+ _: 2
729
+ }, 1032, ["modelValue"])
730
+ ]),
731
+ _: 1
732
+ }, 8, ["collapseContents", "onChange"])
733
+ ]),
734
+ R(va, {
735
+ class: "task-dialog-wrapper",
736
+ visible: _(W).show,
737
+ title: _(W).title,
738
+ dialogWidth: _(W).width,
739
+ onBeforeDestroy: _(Da)
740
+ }, {
741
+ default: L(() => {
742
+ var u, y;
743
+ return [
744
+ w("div", Pa, [
745
+ _(X) ? (p(), j(le(B(((u = _(X)) == null ? void 0 : u.comp) + "extend")), {
746
+ key: 0,
747
+ target: "alone",
748
+ comp: _(X),
749
+ extendItem: _(fe),
750
+ compType: (y = _(X)) == null ? void 0 : y.comp,
751
+ activeTabName: _(oe),
752
+ relatedData: _(J),
753
+ onChange: _(Ze),
754
+ onOnButtonClick: _(Ta)
755
+ }, null, 40, ["comp", "extendItem", "compType", "activeTabName", "relatedData", "onChange", "onOnButtonClick"])) : q("", !0)
756
+ ])
757
+ ];
758
+ }),
759
+ _: 1
760
+ }, 8, ["visible", "title", "dialogWidth", "onBeforeDestroy"])
761
+ ]);
762
+ };
763
+ }
764
+ }, ul = /* @__PURE__ */ we(Wa, [["__scopeId", "data-v-2ea026b9"]]), Ya = { style: { display: "flex" } }, qa = { style: { display: "flex" } }, Ja = { key: 2 }, Xa = {
765
+ key: 4,
766
+ style: { "margin-top": "30px" }
767
+ }, Qa = {
768
+ __name: "index",
769
+ setup(a) {
770
+ const n = Ce(he), { itemData: i, activeItemIndex: s, pageMapState: C } = ie(n), r = k([]), x = k(0), f = k(""), $ = ke(he), { activeMenuPath: H } = ie($), O = k(null), F = k(null), D = k(24), Z = k(2), B = k([]), ee = k([]), P = ae(() => {
771
+ var l, o, m;
772
+ return {
773
+ default: !c.value && !V.value && U.value === "vertical" && ((l = r.value) == null ? void 0 : l.length) > 0,
774
+ grid: c.value && !V.value && U.value === "vertical",
775
+ tab: U.value === "horizontal" && ((o = r.value) == null ? void 0 : o.length) > 0,
776
+ step: V.value && U.value === "vertical" && ((m = r.value) == null ? void 0 : m.length) > 0
777
+ };
778
+ }), U = ae(() => {
779
+ var l, o, m, I;
780
+ return ((l = r.value) == null ? void 0 : l.length) > 0 && ((o = r.value) != null && o.every((b) => b == null ? void 0 : b.layout)) ? (I = (m = r.value) == null ? void 0 : m[0]) == null ? void 0 : I.layout : "vertical";
781
+ }), V = ae(() => {
782
+ var l, o;
783
+ return (o = (l = r.value) == null ? void 0 : l[0]) == null ? void 0 : o.isStepLayout;
784
+ }), c = ae(() => {
785
+ var l, o;
786
+ return (o = (l = r.value) == null ? void 0 : l[0]) == null ? void 0 : o.isGridLayout;
787
+ }), t = k(null), g = ae(() => {
788
+ var l, o, m;
789
+ return ((l = r.value) == null ? void 0 : l.length) > 0 && U.value === "horizontal" ? (m = (o = r.value) == null ? void 0 : o[0]) == null ? void 0 : m.name : "";
790
+ }), v = (l, o) => {
791
+ x.value = o, t.value = l;
792
+ }, h = (l) => {
793
+ var b;
794
+ if (!l) return;
795
+ let o = null;
796
+ const m = K(r.value);
797
+ if (s.value >= 0 && (o = m == null ? void 0 : m[s.value]), o && o.comp === "Layout") {
798
+ const { compData: Q = [] } = o;
799
+ ((b = Q == null ? void 0 : Q.find((T) => {
800
+ const { key: me } = T;
801
+ return me === "children";
802
+ })) == null ? void 0 : b.contents).push({
803
+ comp: l.comp,
804
+ name: l.name,
805
+ compData: []
806
+ }), n.setItemData(m);
807
+ return;
808
+ }
809
+ const I = K(r.value);
810
+ I.push({
811
+ comp: l.comp,
812
+ name: l.name,
813
+ compData: []
814
+ }), n.setItemData(I), E(I);
815
+ }, A = (l) => {
816
+ l.preventDefault(), l.dataTransfer.dropEffect = "copy";
817
+ }, G = async (l) => {
818
+ try {
819
+ const o = l.dataTransfer.getData("application/json");
820
+ if (!o) return;
821
+ const m = JSON.parse(o), I = await u(l), b = y(m, I);
822
+ await na(), d(b), h(JSON.parse(o || "")), console.log("drop"), Y();
823
+ } catch (o) {
824
+ console.error("Drop error:", o), Y();
825
+ }
826
+ }, u = async (l) => O.value ? new Promise((o) => {
827
+ requestAnimationFrame(() => {
828
+ const m = O.value.getBoundingClientRect(), I = l.clientX - m.left, b = l.clientY, Q = Math.floor(I / (m.width / D.value)), se = Math.floor(b / (m.width / D.value));
829
+ o({
830
+ x: Math.max(0, Q),
831
+ y: Math.max(0, se),
832
+ w: D.value,
833
+ h: Z.value
834
+ });
835
+ });
836
+ }) : { x: 0, y: 0 }, y = (l, o) => {
837
+ var I, b;
838
+ const m = `item_${Date.now()}_${(b = (I = Math.random()) == null ? void 0 : I.toString(36)) == null ? void 0 : b.substring(2, 9)}`;
839
+ return {
840
+ i: m,
841
+ id: m,
842
+ x: o.x,
843
+ y: o.y,
844
+ w: o.w,
845
+ h: o.h,
846
+ component: l,
847
+ minW: 2,
848
+ minH: 2
849
+ };
850
+ }, d = (l) => {
851
+ E([...B.value, l], !0);
852
+ }, Y = () => {
853
+ document.querySelectorAll(".dragging").forEach((l) => {
854
+ l.classList.remove("dragging");
855
+ });
856
+ }, E = (l, o) => {
857
+ B.value = o ? l : ra(l), n.setItemGridData({
858
+ pageKey: H.value,
859
+ results: B.value
860
+ }), $.setContentLoading(!1);
861
+ };
862
+ be(() => P.value.step, (l) => {
863
+ var o;
864
+ l && v((o = r.value) == null ? void 0 : o[0], 1);
865
+ }, { immediate: !0 }), be(() => P.value.grid, (l) => {
866
+ var o, m;
867
+ !l && ((o = B.value) == null ? void 0 : o.length) > 0 && n.setItemGridData({
868
+ pageKey: H.value,
869
+ results: (m = B.value) == null ? void 0 : m.map((I) => I == null ? void 0 : I.id),
870
+ isDelete: !0
871
+ });
872
+ }, { immediate: !0 }), be(() => i.value, (l) => {
873
+ var o, m, I;
874
+ $.setContentLoading(!0), r.value = !l || (l == null ? void 0 : l.length) === 0 ? [] : (o = K(l)) == null ? void 0 : o.filter((b) => !(b != null && b.affix) || (b == null ? void 0 : b.affix) === "default"), ee.value = !l || (l == null ? void 0 : l.length) === 0 ? [] : (m = K(l)) == null ? void 0 : m.filter((b) => (b == null ? void 0 : b.affix) && (b == null ? void 0 : b.affix) !== "default"), (I = P.value) != null && I.grid ? E(r.value) : $.setContentLoading(!1);
875
+ }, { deep: !0, immediate: !0 });
876
+ const z = (l) => aa(l);
877
+ return (l, o) => {
878
+ var se, T, me, xe, Te, Se, Re, Le, Me, $e, He, Be;
879
+ const m = te("el-tab-pane"), I = te("el-tabs"), b = te("el-step"), Q = te("el-steps");
880
+ return p(), M("div", {
881
+ ref_key: "containerRef",
882
+ ref: O,
883
+ class: "low-code-wrapper",
884
+ onDragover: A,
885
+ onDrop: G
886
+ }, [
887
+ (se = P.value) != null && se.default ? (p(!0), M(ue, { key: 0 }, ce(r.value, (e, S) => (p(), M("div", {
888
+ class: "item-content",
889
+ key: S
890
+ }, [
891
+ w("div", Ya, re(e.name), 1),
892
+ (p(), j(le(z(e.comp)), {
893
+ itemData: e == null ? void 0 : e.compData,
894
+ childItemData: e == null ? void 0 : e.itemChildData,
895
+ key: S,
896
+ config: {
897
+ showIndex: e == null ? void 0 : e.showIndex,
898
+ allowMove: e == null ? void 0 : e.allowMove,
899
+ viewport: e == null ? void 0 : e.viewport
900
+ },
901
+ pageLayout: U.value,
902
+ parentTableId: e == null ? void 0 : e.tableId,
903
+ children: e == null ? void 0 : e.children,
904
+ level: 1
905
+ }, null, 8, ["itemData", "childItemData", "config", "pageLayout", "parentTableId", "children"]))
906
+ ]))), 128)) : q("", !0),
907
+ (T = P.value) != null && T.grid ? (p(), j(_(oa), {
908
+ key: 1,
909
+ ref_key: "gridLayoutRef",
910
+ ref: F,
911
+ layout: B.value,
912
+ "onUpdate:layout": o[0] || (o[0] = (e) => B.value = e),
913
+ "prevent-collision": !1,
914
+ "is-draggable": !0,
915
+ "is-resizable": !0,
916
+ responsive: !1,
917
+ "col-num": 24,
918
+ margin: [8, 16]
919
+ }, {
920
+ default: L(() => [
921
+ (p(!0), M(ue, null, ce(B.value, (e, S) => {
922
+ var De, Ee;
923
+ return p(), j(_(sa), {
924
+ key: e.i,
925
+ x: e.x,
926
+ y: e.y,
927
+ "min-h": e.minH,
928
+ "max-h": e.maxH,
929
+ "min-w": e.minW,
930
+ w: e.w,
931
+ h: _(Je)((De = r.value[S]) == null ? void 0 : De.comp) ? 0 : e.h,
932
+ i: e.i,
933
+ class: qe(_(Je)((Ee = r.value[S]) == null ? void 0 : Ee.comp) ? "grid-method-button" : "")
934
+ }, {
935
+ default: L(() => {
936
+ var Oe, Fe, Ve, Ae, Ne, Ue, Ge, ze, Ke, je, Pe, We;
937
+ return [
938
+ w("div", {
939
+ class: qe((Fe = ee.value) != null && Fe.includes((Oe = e == null ? void 0 : e.component) == null ? void 0 : Oe.id) ? "comp-wrapper affix-content" : "comp-wrapper")
940
+ }, [
941
+ w("div", qa, re((Ve = r.value[S]) == null ? void 0 : Ve.name), 1),
942
+ (p(), j(le(z((Ae = r.value[S]) == null ? void 0 : Ae.comp)), {
943
+ pageLayout: U.value,
944
+ itemData: (Ne = r.value[S]) == null ? void 0 : Ne.compData,
945
+ childItemData: (Ue = r.value[S]) == null ? void 0 : Ue.itemChildData,
946
+ index: ((Ge = r.value[S]) == null ? void 0 : Ge.id) ?? S,
947
+ parentTableId: (ze = r.value[S]) == null ? void 0 : ze.tableId,
948
+ children: (Ke = r.value[S]) == null ? void 0 : Ke.children,
949
+ level: 1,
950
+ config: {
951
+ showIndex: (je = r.value[S]) == null ? void 0 : je.showIndex,
952
+ allowMove: (Pe = r.value[S]) == null ? void 0 : Pe.allowMove,
953
+ viewport: (We = r.value[S]) == null ? void 0 : We.viewport
954
+ }
955
+ }, null, 8, ["pageLayout", "itemData", "childItemData", "index", "parentTableId", "children", "config"]))
956
+ ], 2)
957
+ ];
958
+ }),
959
+ _: 2
960
+ }, 1032, ["x", "y", "min-h", "max-h", "min-w", "w", "h", "i", "class"]);
961
+ }), 128))
962
+ ]),
963
+ _: 1
964
+ }, 8, ["layout"])) : q("", !0),
965
+ (me = P.value) != null && me.tab ? (p(), M("div", Ja, [
966
+ R(I, {
967
+ modelValue: g.value,
968
+ "onUpdate:modelValue": o[1] || (o[1] = (e) => g.value = e),
969
+ type: "card",
970
+ class: "display-tabs"
971
+ }, {
972
+ default: L(() => [
973
+ (p(!0), M(ue, null, ce(r.value, (e, S) => (p(), j(m, {
974
+ key: e.i,
975
+ label: e == null ? void 0 : e.name,
976
+ name: e == null ? void 0 : e.name
977
+ }, {
978
+ default: L(() => [
979
+ (p(), j(le(z(e == null ? void 0 : e.comp)), {
980
+ pageLayout: U.value,
981
+ itemData: e == null ? void 0 : e.compData,
982
+ childItemData: e == null ? void 0 : e.itemChildData,
983
+ key: S,
984
+ config: {
985
+ showIndex: e == null ? void 0 : e.showIndex,
986
+ allowMove: e == null ? void 0 : e.allowMove,
987
+ viewport: e == null ? void 0 : e.viewport
988
+ }
989
+ }, null, 8, ["pageLayout", "itemData", "childItemData", "config"]))
990
+ ]),
991
+ _: 2
992
+ }, 1032, ["label", "name"]))), 128))
993
+ ]),
994
+ _: 1
995
+ }, 8, ["modelValue"])
996
+ ])) : q("", !0),
997
+ (xe = P.value) != null && xe.step ? (p(), j(Q, {
998
+ key: 3,
999
+ direction: "horizontal",
1000
+ active: x.value,
1001
+ "align-center": !0,
1002
+ class: "display-steps"
1003
+ }, {
1004
+ default: L(() => [
1005
+ (p(!0), M(ue, null, ce(r.value, (e, S) => (p(), j(b, {
1006
+ key: S,
1007
+ class: "step-item",
1008
+ status: f.value,
1009
+ onClick: (De) => v(e, S + 1)
1010
+ }, {
1011
+ title: L(() => [
1012
+ de(re(e == null ? void 0 : e.name), 1)
1013
+ ]),
1014
+ _: 2
1015
+ }, 1032, ["status", "onClick"]))), 128))
1016
+ ]),
1017
+ _: 1
1018
+ }, 8, ["active"])) : q("", !0),
1019
+ (Te = P.value) != null && Te.step ? (p(), M("div", Xa, [
1020
+ (p(), j(le(z((Se = t.value) == null ? void 0 : Se.comp)), {
1021
+ pageLayout: U.value,
1022
+ itemData: (Re = t.value) == null ? void 0 : Re.compData,
1023
+ childItemData: (Le = t.value) == null ? void 0 : Le.itemChildData,
1024
+ key: (Me = t.value) == null ? void 0 : Me.id,
1025
+ config: {
1026
+ showIndex: ($e = t.value) == null ? void 0 : $e.showIndex,
1027
+ allowMove: (He = t.value) == null ? void 0 : He.allowMove,
1028
+ viewport: (Be = t.value) == null ? void 0 : Be.viewport
1029
+ }
1030
+ }, null, 8, ["pageLayout", "itemData", "childItemData", "config"]))
1031
+ ])) : q("", !0)
1032
+ ], 544);
1033
+ };
1034
+ }
1035
+ }, cl = /* @__PURE__ */ we(Qa, [["__scopeId", "data-v-b160c09f"]]), pe = k(0), il = (a) => a.reduce((i, s) => {
1036
+ var r, x;
1037
+ const C = Object.values(i);
1038
+ return (((r = Object.keys(i)) == null ? void 0 : r.length) === 0 || C[C.length - 1].length >= (s == null ? void 0 : s.width)) && (i[pe.value] = [], pe.value++), i[pe.value - 1].push(s), ((x = Object.keys(i)) == null ? void 0 : x.length) === (s == null ? void 0 : s.width) && (i[pe.value] = [], pe.value++), i;
1039
+ }, {});
1040
+ export {
1041
+ cl as a,
1042
+ ul as b,
1043
+ il as c,
1044
+ rl as m
1045
+ };