ss-component-new 1.3.243 → 1.3.245

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 (54) hide show
  1. package/dist/{array-Bd2AWZvr.js → array-C-Wdbamm.js} +84 -84
  2. package/dist/{array-DlIVRSvi.cjs → array-CtbShznO.cjs} +1 -1
  3. package/dist/{index-DEtcLOxa.js → index-46cQMSVk.js} +4 -4
  4. package/dist/{index-DeqdUEKt.cjs → index-4rODEdKS.cjs} +1 -1
  5. package/dist/{index-BmlrF4d1.cjs → index-ARFlhSXY.cjs} +1 -1
  6. package/dist/{index-YeXQBC3q.cjs → index-B9FMdhhn.cjs} +1 -1
  7. package/dist/{index-D6nhqWQc.js → index-BDj0RVlD.js} +3806 -3919
  8. package/dist/{index-C2XR5hfZ.cjs → index-BUuMsrbA.cjs} +1 -1
  9. package/dist/{index-DmVkhLrg.cjs → index-BYcZNmHN.cjs} +1 -1
  10. package/dist/index-B_rsQUai.cjs +25 -0
  11. package/dist/{index-YGqnX2eJ.js → index-BaKWn3yc.js} +2 -2
  12. package/dist/{index-9gWLrl1V.js → index-BbxPz0Qc.js} +1 -1
  13. package/dist/{index-B0kgiZJs.cjs → index-BenvYj3k.cjs} +1 -1
  14. package/dist/{index-ep9suLd6.js → index-BfpcSb4Y.js} +1 -1
  15. package/dist/{index-BACjQdBw.js → index-BsPEzMfN.js} +3 -3
  16. package/dist/{index-CZcbkzvH.js → index-BwQLvsaX.js} +1 -1
  17. package/dist/{index-BkHzbGqN.js → index-C3PdW3qr.js} +2978 -2941
  18. package/dist/{index-Dbz5tht-.js → index-CER9z-ny.js} +2 -2
  19. package/dist/{index-DX5aLNef.cjs → index-D2KWldhL.cjs} +1 -1
  20. package/dist/{index-Cl4xUKaZ.cjs → index-D3msjc-o.cjs} +1 -1
  21. package/dist/{index-rVNAhcax.js → index-DFtf8z5V.js} +1 -1
  22. package/dist/index-DQNH9F0n.cjs +1 -0
  23. package/dist/{index-D7cFp636.js → index-DRpOvO5Q.js} +1 -1
  24. package/dist/{index-EVLpZ-qq.cjs → index-DWHEbcl7.cjs} +1 -1
  25. package/dist/{index-Ch05mccJ.js → index-DZr0hMXn.js} +3 -3
  26. package/dist/{index-C7HhtvKx.js → index-DmcwoZkh.js} +4 -4
  27. package/dist/{index-B0l7n3Cc.cjs → index-DqZuUwd2.cjs} +1 -1
  28. package/dist/{index-C7dufaRZ.js → index-O25H2fsk.js} +1 -1
  29. package/dist/{index-CeRlgXxi.cjs → index-TPQJPY1o.cjs} +1 -1
  30. package/dist/{index-B3X5IbbU.cjs → index-USqVCvZC.cjs} +1 -1
  31. package/dist/{index-BNDi70t0.cjs → index-c2duySlZ.cjs} +1 -1
  32. package/dist/{index-BQMt0C7Z.js → index-gHZa4zcQ.js} +3 -3
  33. package/dist/{index-BvMSWzZj.cjs → index-i9NNV4Zu.cjs} +1 -1
  34. package/dist/{index-B_-D__Ek.cjs → index-iBFFviYh.cjs} +1 -1
  35. package/dist/{index-B5r266Yq.js → index-kPB6QHV5.js} +3 -3
  36. package/dist/{index-Cxi75Fab.js → index-mD2nFCYv.js} +1 -1
  37. package/dist/{main-C-Ke63hx.cjs → main-CIEDh-yc.cjs} +1 -1
  38. package/dist/{main-BjbWxoI3.js → main-DqXjKoVm.js} +2 -2
  39. package/dist/ss-component.cjs +1 -1
  40. package/dist/ss-component.css +1 -1
  41. package/dist/ss-component.js +5 -5
  42. package/dist/ss-component2.cjs +1 -1
  43. package/dist/ss-component2.js +12 -12
  44. package/dist/{threeModel-BeaOtlps.js → threeModel-CSSdrJdz.js} +43 -43
  45. package/dist/{threeModel-BBgOIh9S.cjs → threeModel-GNFKbZhP.cjs} +1 -1
  46. package/dist/{threeSceneView-RTIGnNxW.js → threeSceneView-Bq2k_EcP.js} +4 -4
  47. package/dist/{threeSceneView-bu23_S4I.cjs → threeSceneView-BwDsS1JN.cjs} +1 -1
  48. package/dist/{threeSceneViewForCPMPIP-DO_4elsr.js → threeSceneViewForCPMPIP-B4J8iQ3Q.js} +1 -1
  49. package/dist/{threeSceneViewForCPMPIP-5C83O__c.cjs → threeSceneViewForCPMPIP-DWfdFakh.cjs} +1 -1
  50. package/dist/{threeViewerHost-DO8FqX4E.js → threeViewerHost-BTrC1P_r.js} +1 -1
  51. package/dist/{threeViewerHost-ChENKaGM.cjs → threeViewerHost-CKQjHN9B.cjs} +1 -1
  52. package/package.json +1 -1
  53. package/dist/index-C4ZxKaoY.cjs +0 -1
  54. package/dist/index-CPrQf6wX.cjs +0 -25
@@ -1,10 +1,10 @@
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, D as oa, F as sa, G as Je, c as ra } from "./index-BkHzbGqN.js";
1
+ import { ref as k, computed as ae, resolveComponent as te, createElementBlock as H, 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 { V as Ie, g as aa, E as oa, G as sa, H as Je, e as ra } from "./index-C3PdW3qr.js";
3
3
  import { a as Ce, p as he, s as ie, c as K, u as ke, E as ua } from "./index-Bx871P8u.js";
4
4
  import { _ as we } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  import ca from "./index-rlStojTL.js";
6
- import { d as ia, c as da } from "./index-Dbz5tht-.js";
7
- import { s as va } from "./index-Cxi75Fab.js";
6
+ import { d as ia, c as da } from "./index-CER9z-ny.js";
7
+ import { s as va } from "./index-mD2nFCYv.js";
8
8
  import { E as pa } from "./request-DHW6ycUJ.js";
9
9
  const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class: "group-items" }, ma = ["onDragstart"], ba = {
10
10
  __name: "index",
@@ -15,19 +15,19 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
15
15
  setup(a, { emit: n }) {
16
16
  const i = Ce(he), { itemData: s, activeItemIndex: C } = ie(i), r = n, x = k(null), f = ae(() => {
17
17
  var ee, P, U;
18
- const $ = { 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((A) => {
18
+ const M = { 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
19
  var c, t;
20
- return (t = $ == null ? void 0 : $.items) == null ? void 0 : t.includes((c = A == null ? void 0 : A.type) == null ? void 0 : c.toUpperCase());
21
- }), Z = (P = Ie.value) == null ? void 0 : P.filter((A) => {
20
+ return (t = M == null ? void 0 : M.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
22
  var c, t;
23
- return (t = O == null ? void 0 : O.items) == null ? void 0 : t.includes((c = A == null ? void 0 : A.type) == null ? void 0 : c.toUpperCase());
24
- }), B = (U = Ie.value) == null ? void 0 : U.filter((A) => {
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
25
  var c, t;
26
- return (t = F == null ? void 0 : F.items) == null ? void 0 : t.includes((c = A == null ? void 0 : A.type) == null ? void 0 : c.toUpperCase());
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
27
  });
28
28
  return [
29
29
  {
30
- ...$,
30
+ ...M,
31
31
  items: D
32
32
  },
33
33
  {
@@ -39,29 +39,29 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
39
39
  items: B
40
40
  }
41
41
  ];
42
- }), H = ($, O) => {
42
+ }), $ = (M, O) => {
43
43
  try {
44
- $.dataTransfer.clearData();
44
+ M.dataTransfer.clearData();
45
45
  const F = {
46
46
  ...O,
47
47
  timestamp: Date.now()
48
48
  // 添加时间戳确保唯一性
49
49
  };
50
- $.dataTransfer.setData("application/json", JSON.stringify(F)), $.dataTransfer.effectAllowed = "copyMove", $.target.classList.add("dragging"), r("handleDragStart", O);
50
+ M.dataTransfer.setData("application/json", JSON.stringify(F)), M.dataTransfer.effectAllowed = "copyMove", M.target.classList.add("dragging"), r("handleDragStart", O);
51
51
  } catch (F) {
52
52
  console.error("Drag start error:", F);
53
53
  }
54
54
  };
55
- return ($, O) => {
55
+ return (M, O) => {
56
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", {
57
+ return p(), H("div", fa, [
58
+ (p(!0), H(ue, null, ce(f.value, (D) => (p(), H("div", {
59
59
  class: "group-item",
60
60
  key: D == null ? void 0 : D.label
61
61
  }, [
62
62
  w("div", ha, re(D == null ? void 0 : D.label), 1),
63
63
  w("div", ga, [
64
- (p(!0), M(ue, null, ce(D == null ? void 0 : D.items, (Z, B) => (p(), M("div", {
64
+ (p(!0), H(ue, null, ce(D == null ? void 0 : D.items, (Z, B) => (p(), H("div", {
65
65
  class: "type-list",
66
66
  title: "鼠标拖动",
67
67
  ref_for: !0,
@@ -69,7 +69,7 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
69
69
  ref: x,
70
70
  key: B,
71
71
  draggable: !0,
72
- onDragstart: (ee) => H(ee, Z)
72
+ onDragstart: (ee) => $(ee, Z)
73
73
  }, [
74
74
  R(F, {
75
75
  name: Z.icon,
@@ -306,7 +306,7 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
306
306
  }), Da = () => {
307
307
  W.show = !1;
308
308
  }, Ia = (a, n) => {
309
- var s, C, r, x, f, H, $, O, F;
309
+ var s, C, r, x, f, $, M, O, F;
310
310
  if (fe.value = K(n), a === "删除")
311
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
312
  任务配置: {
@@ -321,7 +321,7 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
321
321
  }
322
322
  });
323
323
  const i = n ? (f = Object.keys(n)) == null ? void 0 : f[1] : "";
324
- oe.value === "任务配置" ? W.title = `当前配置:${(H = X.value) == null ? void 0 : H.name}>任务配置>【${(n == null ? void 0 : n[i]) || a}】` : oe.value === "任务关联" && (W.title = `当前配置:${($ = X.value) == null ? void 0 : $.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 === "访问";
324
+ oe.value === "任务配置" ? W.title = `当前配置:${($ = X.value) == null ? void 0 : $.name}>任务配置>【${(n == null ? void 0 : n[i]) || a}】` : oe.value === "任务关联" && (W.title = `当前配置:${(M = X.value) == null ? void 0 : M.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
325
  }, ka = (a) => {
326
326
  var n;
327
327
  typeof a == "number" && (X.value = (n = N.value) == null ? void 0 : n[a], Sa()), _e.value = "data";
@@ -378,7 +378,7 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
378
378
  var r, x;
379
379
  const { target: i, styleConfigs: s } = a;
380
380
  if (!s) return;
381
- const C = s == null ? void 0 : s.reduce((f, H) => (f[H.prop] = H.value, f), {});
381
+ const C = s == null ? void 0 : s.reduce((f, $) => (f[$.prop] = $.value, f), {});
382
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
383
  ...f,
384
384
  ...C
@@ -390,8 +390,8 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
390
390
  }, ea = (a, n) => {
391
391
  var i;
392
392
  return (i = a == null ? void 0 : a.filter((s) => {
393
- var C, r, x, f, H;
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) === ((H = X.value) == null ? void 0 : H.id);
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
395
  })) == null ? void 0 : i.map((s) => {
396
396
  var C;
397
397
  return {
@@ -406,22 +406,22 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
406
406
  return ((C = s == null ? void 0 : s.key) == null ? void 0 : C.type) === "extend";
407
407
  });
408
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 = {
409
+ }, Ra = { class: "fill-content" }, La = { class: "overall-config-wrapper" }, Ha = { class: "operate-content" }, Ma = ["onClick"], $a = {
410
410
  class: "collapse-title-item",
411
411
  title: "编辑"
412
412
  }, Ba = { key: 1 }, Ea = ["onClick"], Oa = { class: "icon-content" }, Fa = {
413
413
  key: 0,
414
414
  class: "edit-content"
415
- }, Aa = ["onClick"], Va = { 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 = {
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
416
  __name: "index",
417
417
  setup(a) {
418
418
  const n = Ce(he), { itemData: i, originalData: s } = ie(n), C = ke(), { activeMenuPath: r } = ie(C);
419
419
  k([]);
420
- const x = k([]), f = k([]), H = k([]), $ = ae(() => {
420
+ const x = k([]), f = k([]), $ = k([]), M = ae(() => {
421
421
  var c, t, g, v;
422
422
  return ((c = N.value) == null ? void 0 : c.length) > 0 && (t = N.value) != null && t.every((h) => {
423
- var V, G;
424
- return (h == null ? void 0 : h.comp) === ((G = (V = N.value) == null ? void 0 : V[0]) == null ? void 0 : G.comp);
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
425
  }) ? (v = (g = N.value) == null ? void 0 : g[0]) == null ? void 0 : v.comp : null;
426
426
  }), O = (c) => {
427
427
  var g;
@@ -432,8 +432,8 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
432
432
  let t = (g = K(f.value)) == null ? void 0 : g.map((v, h) => (c === h && (v.content = !1), v));
433
433
  f.value = t, N.value = K(i.value);
434
434
  }, D = (c, t) => {
435
- var V;
436
- let g = (V = K(f.value)) == null ? void 0 : V.map((G, u) => (c === u && (G.content = !1), G));
435
+ var A;
436
+ let g = (A = K(f.value)) == null ? void 0 : A.map((G, u) => (c === u && (G.content = !1), G));
437
437
  f.value = g;
438
438
  const v = K(i.value), h = v == null ? void 0 : v.filter((G, u) => (u === c && (G.name = t), G));
439
439
  n.setOriginalData(h), n.setItemData(h);
@@ -445,27 +445,27 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
445
445
  () => i.value,
446
446
  () => {
447
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, V) => ({
449
- id: 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
450
  content: !1
451
- })), H.value = (v = K(x.value)) == null ? void 0 : v.map((h, V) => ({
452
- id: V,
451
+ })), $.value = (v = K(x.value)) == null ? void 0 : v.map((h, A) => ({
452
+ id: A,
453
453
  isShow: h == null ? void 0 : h.isShow
454
454
  }));
455
455
  },
456
456
  { deep: !0, immediate: !0 }
457
457
  );
458
458
  const B = (c) => aa(c), ee = (c, t, g, v) => {
459
- var V, G;
459
+ var A, G;
460
460
  if (!c) return;
461
461
  let h = K(i.value);
462
- h = (V = h == null ? void 0 : h.map((u, y) => {
462
+ h = (A = h == null ? void 0 : h.map((u, y) => {
463
463
  if (v && y === g) {
464
464
  const { compData: d, itemChildData: Y } = c;
465
465
  return u.compData = d, u.itemChildData = Y, u;
466
466
  }
467
467
  return y === g && (u.compData = c), u;
468
- })) == null ? void 0 : V.filter((u) => (u == null ? void 0 : u.comp) !== "methodButton"), f.value = (G = K(h)) == null ? void 0 : G.map((u, y) => ({
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
469
  id: y,
470
470
  content: !1
471
471
  })), n.setOriginalData(h), n.setItemData(h);
@@ -475,7 +475,7 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
475
475
  return;
476
476
  }
477
477
  n.setActiveItemIndex(-1);
478
- }, A = (c) => {
478
+ }, V = (c) => {
479
479
  ua.confirm("是否确认要删除", "", {
480
480
  confirmButtonText: "确认",
481
481
  cancelButtonText: "取消",
@@ -493,19 +493,19 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
493
493
  };
494
494
  return (c, t) => {
495
495
  var G;
496
- const g = te("svg-icon"), v = te("el-tab-pane"), h = te("el-card"), V = te("el-tabs");
497
- return p(), M("div", Ra, [
496
+ const g = te("svg-icon"), v = te("el-tab-pane"), h = te("el-card"), A = te("el-tabs");
497
+ return p(), H("div", Ra, [
498
498
  t[10] || (t[10] = w("div", { class: "fill-operate" }, "操作栏", -1)),
499
499
  w("div", La, [
500
- (p(), j(le(B($.value + "style")), {
500
+ (p(), j(le(B(M.value + "style")), {
501
501
  target: "overall",
502
502
  optionItems: _(Xe),
503
- compType: $.value,
503
+ compType: M.value,
504
504
  comp: (G = _(N)) == null ? void 0 : G[0],
505
505
  onChange: _(Qe)
506
506
  }, null, 40, ["optionItems", "compType", "comp", "onChange"]))
507
507
  ]),
508
- w("div", Ma, [
508
+ w("div", Ha, [
509
509
  R(ca, {
510
510
  class: "collapse-content",
511
511
  collapseContents: _(N),
@@ -521,13 +521,13 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
521
521
  class: "collapse-title-content",
522
522
  onClick: (T) => U(y, d)
523
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", {
524
+ w("div", $a, [
525
+ (E = (Y = f.value) == null ? void 0 : Y.find((T) => T.id === y)) != null && E.content ? q("", !0) : (p(), H("div", {
526
526
  key: 0,
527
527
  class: "collapse-title",
528
528
  style: ta({ marginRight: u.name && u.name !== "" ? "8px" : "0px" })
529
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, [
530
+ (l = (z = f.value) == null ? void 0 : z.find((T) => T.id === y)) != null && l.content ? (p(), H("div", Ba, [
531
531
  R(da, {
532
532
  modelValue: u.name,
533
533
  "onUpdate:modelValue": (T) => u.name = T,
@@ -535,7 +535,7 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
535
535
  }, ["stop"]))
536
536
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
537
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", {
538
+ (m = (o = f.value) == null ? void 0 : o.find((T) => T.id === y)) != null && m.content ? q("", !0) : (p(), H("div", {
539
539
  key: 2,
540
540
  onClick: ve((T) => O(y), ["stop"]),
541
541
  class: "icon-content"
@@ -547,7 +547,7 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
547
547
  ], 8, Ea))
548
548
  ]),
549
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, [
550
+ (b = (I = f.value) == null ? void 0 : I.find((T) => T.id === y)) != null && b.content ? (p(), H("div", Fa, [
551
551
  R(g, {
552
552
  name: "Cancel",
553
553
  style: { width: "16px", height: "16px" },
@@ -561,22 +561,22 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
561
561
  class: "icon-content"
562
562
  }, null, 8, ["onClick"])
563
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", {
564
+ (se = (Q = f.value) == null ? void 0 : Q.find((T) => T.id === y)) != null && se.content ? q("", !0) : (p(), H("div", {
565
565
  key: 1,
566
- onClick: ve((T) => A(y), ["stop"]),
566
+ onClick: ve((T) => V(y), ["stop"]),
567
567
  class: "icon-content"
568
568
  }, [
569
569
  R(g, {
570
570
  name: "Delete",
571
571
  style: { width: "16px", height: "16px" }
572
572
  })
573
- ], 8, Aa))
573
+ ], 8, Va))
574
574
  ])
575
- ], 8, $a)
575
+ ], 8, Ma)
576
576
  ];
577
577
  }),
578
578
  content: L(({ item: u, index: y }) => [
579
- R(V, {
579
+ R(A, {
580
580
  modelValue: _(_e),
581
581
  "onUpdate:modelValue": t[2] || (t[2] = (d) => Ye(_e) ? _e.value = d : null),
582
582
  class: "config-tabs",
@@ -588,7 +588,7 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
588
588
  name: "data"
589
589
  }, {
590
590
  label: L(() => [
591
- w("span", Va, [
591
+ w("span", Aa, [
592
592
  R(g, {
593
593
  name: "LowCodeSetting",
594
594
  style: { width: "15px", height: "15px", "margin-right": "5px" }
@@ -617,8 +617,8 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
617
617
  w("div", Ga, [
618
618
  t[4] || (t[4] = w("div", { class: "operate-center-content" }, re("是否显示"), -1)),
619
619
  R(ia, {
620
- value: H.value.find((E) => E.id === y).isShow,
621
- "onUpdate:value": (E) => H.value.find((z) => z.id === y).isShow = E,
620
+ value: $.value.find((E) => E.id === y).isShow,
621
+ "onUpdate:value": (E) => $.value.find((z) => z.id === y).isShow = E,
622
622
  onClick: (E) => Z(u)
623
623
  }, null, 8, ["value", "onUpdate:value", "onClick"])
624
624
  ])
@@ -684,7 +684,7 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
684
684
  ])
685
685
  ]),
686
686
  default: L(() => [
687
- R(V, {
687
+ R(A, {
688
688
  "tab-position": "left",
689
689
  modelValue: _(oe),
690
690
  "onUpdate:modelValue": t[1] || (t[1] = (d) => Ye(oe) ? oe.value = d : null),
@@ -692,7 +692,7 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
692
692
  onTabChange: _(wa)
693
693
  }, {
694
694
  default: L(() => [
695
- (p(!0), M(ue, null, ce(_(ya), (d, Y) => (p(), j(v, {
695
+ (p(!0), H(ue, null, ce(_(ya), (d, Y) => (p(), j(v, {
696
696
  key: d == null ? void 0 : d.name,
697
697
  label: d == null ? void 0 : d.label,
698
698
  name: d == null ? void 0 : d.name
@@ -767,18 +767,18 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
767
767
  }, Qa = {
768
768
  __name: "index",
769
769
  setup(a) {
770
- const n = Ce(he), { itemData: i, activeItemIndex: s, pageMapState: C } = ie(n), r = k([]), x = k(0), f = k(""), H = ke(he), { activeMenuPath: $ } = ie(H), O = k(null), F = k(null), D = k(24), Z = k(2), B = k([]), ee = k([]), P = ae(() => {
770
+ const n = Ce(he), { itemData: i, activeItemIndex: s, pageMapState: C } = ie(n), r = k([]), x = k(0), f = k(""), $ = ke(he), { activeMenuPath: M } = ie($), O = k(null), F = k(null), D = k(24), Z = k(2), B = k([]), ee = k([]), P = ae(() => {
771
771
  var l, o, m;
772
772
  return {
773
- default: !c.value && !A.value && U.value === "vertical" && ((l = r.value) == null ? void 0 : l.length) > 0,
774
- grid: c.value && !A.value && U.value === "vertical",
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
775
  tab: U.value === "horizontal" && ((o = r.value) == null ? void 0 : o.length) > 0,
776
- step: A.value && U.value === "vertical" && ((m = r.value) == null ? void 0 : m.length) > 0
776
+ step: V.value && U.value === "vertical" && ((m = r.value) == null ? void 0 : m.length) > 0
777
777
  };
778
778
  }), U = ae(() => {
779
779
  var l, o, m, I;
780
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
- }), A = ae(() => {
781
+ }), V = ae(() => {
782
782
  var l, o;
783
783
  return (o = (l = r.value) == null ? void 0 : l[0]) == null ? void 0 : o.isStepLayout;
784
784
  }), c = ae(() => {
@@ -812,7 +812,7 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
812
812
  name: l.name,
813
813
  compData: []
814
814
  }), n.setItemData(I), E(I);
815
- }, V = (l) => {
815
+ }, A = (l) => {
816
816
  l.preventDefault(), l.dataTransfer.dropEffect = "copy";
817
817
  }, G = async (l) => {
818
818
  try {
@@ -855,9 +855,9 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
855
855
  });
856
856
  }, E = (l, o) => {
857
857
  B.value = o ? l : ra(l), n.setItemGridData({
858
- pageKey: $.value,
858
+ pageKey: M.value,
859
859
  results: B.value
860
- }), H.setContentLoading(!1);
860
+ }), $.setContentLoading(!1);
861
861
  };
862
862
  be(() => P.value.step, (l) => {
863
863
  var o;
@@ -865,26 +865,26 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
865
865
  }, { immediate: !0 }), be(() => P.value.grid, (l) => {
866
866
  var o, m;
867
867
  !l && ((o = B.value) == null ? void 0 : o.length) > 0 && n.setItemGridData({
868
- pageKey: $.value,
868
+ pageKey: M.value,
869
869
  results: (m = B.value) == null ? void 0 : m.map((I) => I == null ? void 0 : I.id),
870
870
  isDelete: !0
871
871
  });
872
872
  }, { immediate: !0 }), be(() => i.value, (l) => {
873
873
  var o, m, I;
874
- H.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);
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);
875
875
  }, { deep: !0, immediate: !0 });
876
876
  const z = (l) => aa(l);
877
877
  return (l, o) => {
878
- var se, T, me, xe, Te, Se, Re, Le, Me, $e, He, Be;
878
+ var se, T, me, xe, Te, Se, Re, Le, He, Me, $e, Be;
879
879
  const m = te("el-tab-pane"), I = te("el-tabs"), b = te("el-step"), Q = te("el-steps");
880
- return p(), M("div", {
880
+ return p(), H("div", {
881
881
  ref_key: "containerRef",
882
882
  ref: O,
883
883
  class: "low-code-wrapper",
884
- onDragover: V,
884
+ onDragover: A,
885
885
  onDrop: G
886
886
  }, [
887
- (se = P.value) != null && se.default ? (p(!0), M(ue, { key: 0 }, ce(r.value, (e, S) => (p(), M("div", {
887
+ (se = P.value) != null && se.default ? (p(!0), H(ue, { key: 0 }, ce(r.value, (e, S) => (p(), H("div", {
888
888
  class: "item-content",
889
889
  key: S
890
890
  }, [
@@ -918,7 +918,7 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
918
918
  margin: [8, 16]
919
919
  }, {
920
920
  default: L(() => [
921
- (p(!0), M(ue, null, ce(B.value, (e, S) => {
921
+ (p(!0), H(ue, null, ce(B.value, (e, S) => {
922
922
  var De, Ee;
923
923
  return p(), j(_(sa), {
924
924
  key: e.i,
@@ -933,13 +933,13 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
933
933
  class: qe(_(Je)((Ee = r.value[S]) == null ? void 0 : Ee.comp) ? "grid-method-button" : "")
934
934
  }, {
935
935
  default: L(() => {
936
- var Oe, Fe, Ae, Ve, Ne, Ue, Ge, ze, Ke, je, Pe, We;
936
+ var Oe, Fe, Ve, Ae, Ne, Ue, Ge, ze, Ke, je, Pe, We;
937
937
  return [
938
938
  w("div", {
939
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
940
  }, [
941
- w("div", qa, re((Ae = r.value[S]) == null ? void 0 : Ae.name), 1),
942
- (p(), j(le(z((Ve = r.value[S]) == null ? void 0 : Ve.comp)), {
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
943
  pageLayout: U.value,
944
944
  itemData: (Ne = r.value[S]) == null ? void 0 : Ne.compData,
945
945
  childItemData: (Ue = r.value[S]) == null ? void 0 : Ue.itemChildData,
@@ -962,7 +962,7 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
962
962
  ]),
963
963
  _: 1
964
964
  }, 8, ["layout"])) : q("", !0),
965
- (me = P.value) != null && me.tab ? (p(), M("div", Ja, [
965
+ (me = P.value) != null && me.tab ? (p(), H("div", Ja, [
966
966
  R(I, {
967
967
  modelValue: g.value,
968
968
  "onUpdate:modelValue": o[1] || (o[1] = (e) => g.value = e),
@@ -970,7 +970,7 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
970
970
  class: "display-tabs"
971
971
  }, {
972
972
  default: L(() => [
973
- (p(!0), M(ue, null, ce(r.value, (e, S) => (p(), j(m, {
973
+ (p(!0), H(ue, null, ce(r.value, (e, S) => (p(), j(m, {
974
974
  key: e.i,
975
975
  label: e == null ? void 0 : e.name,
976
976
  name: e == null ? void 0 : e.name
@@ -1002,7 +1002,7 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
1002
1002
  class: "display-steps"
1003
1003
  }, {
1004
1004
  default: L(() => [
1005
- (p(!0), M(ue, null, ce(r.value, (e, S) => (p(), j(b, {
1005
+ (p(!0), H(ue, null, ce(r.value, (e, S) => (p(), j(b, {
1006
1006
  key: S,
1007
1007
  class: "step-item",
1008
1008
  status: f.value,
@@ -1016,15 +1016,15 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
1016
1016
  ]),
1017
1017
  _: 1
1018
1018
  }, 8, ["active"])) : q("", !0),
1019
- (Te = P.value) != null && Te.step ? (p(), M("div", Xa, [
1019
+ (Te = P.value) != null && Te.step ? (p(), H("div", Xa, [
1020
1020
  (p(), j(le(z((Se = t.value) == null ? void 0 : Se.comp)), {
1021
1021
  pageLayout: U.value,
1022
1022
  itemData: (Re = t.value) == null ? void 0 : Re.compData,
1023
1023
  childItemData: (Le = t.value) == null ? void 0 : Le.itemChildData,
1024
- key: (Me = t.value) == null ? void 0 : Me.id,
1024
+ key: (He = t.value) == null ? void 0 : He.id,
1025
1025
  config: {
1026
- showIndex: ($e = t.value) == null ? void 0 : $e.showIndex,
1027
- allowMove: (He = t.value) == null ? void 0 : He.allowMove,
1026
+ showIndex: (Me = t.value) == null ? void 0 : Me.showIndex,
1027
+ allowMove: ($e = t.value) == null ? void 0 : $e.allowMove,
1028
1028
  viewport: (Be = t.value) == null ? void 0 : Be.viewport
1029
1029
  }
1030
1030
  }, null, 8, ["pageLayout", "itemData", "childItemData", "config"]))