bp-aicc-editor 1.2.521 → 1.2.523

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 (112) hide show
  1. package/lib/{ScreenPreview-CV95NWOd.js → ScreenPreview-yUHo60be.js} +51 -105
  2. package/lib/atlas-BMjKIOwk.js +3891 -0
  3. package/lib/{button-base-DHNVBrQ9.js → button-base-CXl1z-_m.js} +1 -1
  4. package/lib/{cache-lsjsKZHu.js → cache-DbHSDjJy.js} +1 -1
  5. package/lib/config-provider-Bui8m4GV.js +62 -0
  6. package/lib/{container-group-DqAcKEBy.js → container-group-D6Extorz.js} +1 -1
  7. package/lib/{copy-C5Pi6nJh.js → copy-CsCmPy4J.js} +1 -1
  8. package/lib/{datav-BER95ty-.js → datav-BTD-HJhV.js} +27 -27
  9. package/lib/{delete-C2EW4JCs.js → delete-COj0ilHh.js} +1 -1
  10. package/lib/{divider-BazBGRgV.js → divider-B3K_URZc.js} +1 -1
  11. package/lib/dropdown-CWvnuJsO.js +105 -0
  12. package/lib/{edit-B2pfd2q1.js → edit-vdJaEine.js} +1 -1
  13. package/lib/{el-form-item-BDdxk5F5.js → el-form-item-BbaNohQv.js} +51 -51
  14. package/lib/{el-link-D2ol9BHQ.js → el-link-Dq721Q7-.js} +12 -12
  15. package/lib/{el-loading-Cgwgez55.js → el-loading-DOxnN3bm.js} +17 -17
  16. package/lib/{fullscreen-OChDsSnk.js → fullscreen-DXSogbcG.js} +1 -1
  17. package/lib/{image-C5ZAY3yt.js → image-Cu7JTK9-.js} +1 -1
  18. package/lib/{index-Ci8AbyIq.js → index-68soBnbK.js} +8 -8
  19. package/lib/{index-BatyRVpL.js → index-B-d8WIg1.js} +7 -7
  20. package/lib/{index-BfIEunKC.js → index-B4zV3cxV.js} +18 -17
  21. package/lib/{index-CZJriuFt.js → index-B8QqTLfg.js} +4974 -4898
  22. package/lib/index-BBMItxtW.js +619 -0
  23. package/lib/{index-CGrR_i0u.js → index-BMm0MRz5.js} +14 -15
  24. package/lib/index-BMn8EzMD.js +1027 -0
  25. package/lib/index-BNTW8F-9.js +322 -0
  26. package/lib/index-BTI518b1.js +69 -0
  27. package/lib/{index-BWPVi43E.js → index-BZxUAT4z.js} +4 -4
  28. package/lib/{index-Ck7uFsPE.js → index-BdYTc41r.js} +24 -24
  29. package/lib/index-BfI55Ioc.js +404 -0
  30. package/lib/{index-BhP9eBCp.js → index-BmAcetSf.js} +19 -20
  31. package/lib/index-C35Yp3i8.js +545 -0
  32. package/lib/{index-B19lEYui.js → index-C6GUNRx9.js} +2 -2
  33. package/lib/index-CC28_8Jl.js +567 -0
  34. package/lib/index-CDhmvVt8.js +338 -0
  35. package/lib/index-CDx0y0fp.js +144 -0
  36. package/lib/{el-button-DvLKp6Ga.js → index-CJjljoJG.js} +106 -106
  37. package/lib/index-CNCgXPiO.js +235 -0
  38. package/lib/{index-CWbZmzNT.js → index-CPa_MnOD.js} +30 -29
  39. package/lib/index-CW6ljdNf.js +1582 -0
  40. package/lib/index-C_WopEui.js +513 -0
  41. package/lib/{index-CX_Ghcb6.js → index-CejowjGd.js} +56 -53
  42. package/lib/{index-BwCQWH-N.js → index-CfZXOvi-.js} +42 -40
  43. package/lib/{index-CVsy2qTh.js → index-CgzRTmPh.js} +16 -15
  44. package/lib/index-CmzuNM9v.js +32 -0
  45. package/lib/index-CrxcAFt8.js +5343 -0
  46. package/lib/{index-C7k49L2T.js → index-CuHA7QXu.js} +10 -10
  47. package/lib/{index-qVyixI57.js → index-CyBGAB7D.js} +21 -20
  48. package/lib/index-D6J7coU0.js +129 -0
  49. package/lib/index-DDHxrdAo.js +1773 -0
  50. package/lib/index-DDL-yqq0.js +1401 -0
  51. package/lib/{index-BPcvYtHf.js → index-DOxy-bey.js} +6 -6
  52. package/lib/{index-CVE37oE7.js → index-DOyr0BHr.js} +7 -7
  53. package/lib/index-DPOanmXI.js +887 -0
  54. package/lib/{index-3pzVrvby.js → index-DR_husZg.js} +46 -46
  55. package/lib/{el-tab-pane-DD2eM9rB.js → index-DUzOCQrW.js} +125 -124
  56. package/lib/{index-CGFEhUh9.js → index-DVYI-g8Q.js} +53 -52
  57. package/lib/index-DVyjilLy.js +51 -0
  58. package/lib/{index-CJyYGViv.js → index-DWAJ9GyC.js} +9 -9
  59. package/lib/index-Dj2qCwPD.js +178 -0
  60. package/lib/{index-D4X0_jbv.js → index-Dx2Gld1J.js} +32 -32
  61. package/lib/{index-C2XeCqtq.js → index-E9T-y2Yz.js} +3 -3
  62. package/lib/{index-Buoc0ISP.js → index-FlmXAW0Z.js} +60 -58
  63. package/lib/index-NqqOvc6V.js +169 -0
  64. package/lib/{index-BkdiXCRY.js → index-ObKRNOmJ.js} +6 -7
  65. package/lib/index-bOWjoplU.js +448 -0
  66. package/lib/{index-CXQ258ID.js → index-buU8mDzi.js} +15 -16
  67. package/lib/{index-tbhuYbb0.js → index-mGKAWDJZ.js} +11 -12
  68. package/lib/index.es.js +4 -4
  69. package/lib/index.umd.js +46 -40
  70. package/lib/{layer-setting-panel-VvDSQ-cn.js → layer-setting-panel-BGPj32nP.js} +2 -2
  71. package/lib/{line-show-Bp4G-LqO.js → line-show-DUn1bu_P.js} +1 -1
  72. package/lib/{multi-layout-config-drSy7ezf.js → multi-layout-config-BTWxJeuc.js} +7 -8
  73. package/lib/{multiline-text-D89kYrA2.js → multiline-text-CPJdCWJ7.js} +1 -1
  74. package/lib/{navigation-YAGxZ0OT.js → navigation-ZLJaBOUj.js} +1 -1
  75. package/lib/page-config-CHP07Ndf.js +253 -0
  76. package/lib/{page-tabs-wFeNBY4c.js → page-tabs-CKLhgrip.js} +45 -41
  77. package/lib/{plus-3mdO6yXY.js → plus-xgpQU22I.js} +1 -1
  78. package/lib/raf-CJog_tcv.js +6 -0
  79. package/lib/refs-DZMysoBI.js +8 -0
  80. package/lib/{requestOld-DRcjsmRQ.js → requestOld-CaGzCXrV.js} +97 -96
  81. package/lib/{schema-BsnIOGBI.js → schema-BaFWGeFt.js} +1 -1
  82. package/lib/{schema-_APJMUW3.js → schema-CUR-UK2S.js} +44 -41
  83. package/lib/{schema-BavJE-SK.js → schema-WUk7XVq7.js} +58 -54
  84. package/lib/{schema-qKI1F8Bt.js → schema-geZfujv8.js} +1 -1
  85. package/lib/{schema-BflqDw-a.js → schema-iosjRxCC.js} +1 -1
  86. package/lib/{schema-Bo30dbBx.js → schema-tuPllxn6.js} +1 -1
  87. package/lib/scroll-CWfl60Tu.js +58 -0
  88. package/lib/{setting-panel-BgzN3BUP.js → setting-panel-0qLcwYyT.js} +154 -151
  89. package/lib/{show-C4AeWlKj.js → show-BCwE3hGY.js} +1 -1
  90. package/lib/{stepper-D5EFeJWG.js → stepper-Bud1Jppr.js} +1 -1
  91. package/lib/strings-BvUQWzDM.js +6 -0
  92. package/lib/style.css +1 -1
  93. package/lib/{switch-B0dR4LM_.js → switch-VlaUmSpJ.js} +1 -1
  94. package/lib/{unlock-Cq9PLhBA.js → unlock-B2FVPQlm.js} +1 -1
  95. package/lib/{use-env-url-BM9dgwx_.js → use-env-url-D1p8ib2L.js} +1 -1
  96. package/lib/use-global-config-D_yoqf3Q.js +90 -0
  97. package/lib/validator-BOXH2OMA.js +5 -0
  98. package/lib/{vnode-B_Dj8zxu.js → vnode-Bxs1g06p.js} +1 -1
  99. package/package.json +1 -1
  100. package/lib/atlas-DsmLq2V0.js +0 -38
  101. package/lib/el-overlay-BK0_UIU6.js +0 -704
  102. package/lib/index-B1yAU2Cb.js +0 -390
  103. package/lib/index-BCFXuK7k.js +0 -68
  104. package/lib/index-BD4Jwo8Z.js +0 -449
  105. package/lib/index-BMWqf88L.js +0 -356
  106. package/lib/index-Belsn8kt.js +0 -107
  107. package/lib/index-CIADz1i0.js +0 -8494
  108. package/lib/index-DKTrbqcA.js +0 -56
  109. package/lib/index-Ge_d2xqD.js +0 -127
  110. package/lib/page-config-Cmsi8Vpr.js +0 -582
  111. package/lib/strings-_mHAdgA4.js +0 -6
  112. package/lib/use-global-config-CflpFoxU.js +0 -115
@@ -1,25 +1,28 @@
1
- import { createElementBlock as c, openBlock as o, createElementVNode as e, defineComponent as L, inject as Q, ref as U, computed as Z, resolveDirective as le, createCommentVNode as P, createVNode as d, unref as p, withCtx as m, Fragment as I, renderList as z, normalizeClass as N, toDisplayString as K, createTextVNode as A, normalizeStyle as F, withDirectives as se, withKeys as re, vModelText as ce, createBlock as y, resolveComponent as M, renderSlot as ie, mergeProps as H, resolveDynamicComponent as J } from "vue";
2
- import { _ as T, a as ae, bB as de, bC as ue, b3 as pe, b6 as W, E as me, u as ge, a9 as he } from "./index-CZJriuFt.js";
3
- import { ElPopover as ne, ElButton as ve, ElIcon as V, ElMessage as te, ElMessageBox as fe } from "element-plus";
4
- import { c as _e, a as ye } from "./datav-BER95ty-.js";
5
- import { I as be } from "./copy-C5Pi6nJh.js";
6
- import { I as ke } from "./delete-C2EW4JCs.js";
7
- import { I as Ce } from "./edit-B2pfd2q1.js";
8
- import { a as Se, I as $e } from "./show-C4AeWlKj.js";
9
- import { I as oe } from "./plus-3mdO6yXY.js";
10
- import { c as X } from "./index-BCFXuK7k.js";
11
- import we from "./schema-BsnIOGBI.js";
12
- import Ie from "./schema-mKILiNny.js";
13
- import Ve from "./schema-xTyU9nfp.js";
14
- import Me from "./schema-BflqDw-a.js";
15
- import xe from "./schema-BYHwNOUT.js";
16
- import Be from "./schema-_APJMUW3.js";
17
- import De from "./schema-qKI1F8Bt.js";
18
- import Te from "./schema-Bo30dbBx.js";
19
- import Ee from "./schema-BavJE-SK.js";
20
- import { storeToRefs as Pe } from "pinia";
1
+ import { createElementBlock as c, openBlock as o, createElementVNode as e, defineComponent as H, inject as Q, ref as U, computed as L, resolveDirective as le, createCommentVNode as P, createVNode as d, unref as p, withCtx as m, Fragment as V, renderList as z, normalizeClass as N, toDisplayString as K, createTextVNode as A, normalizeStyle as Z, withDirectives as se, withKeys as re, vModelText as ce, createBlock as y, resolveComponent as M, renderSlot as ie, mergeProps as F, resolveDynamicComponent as J } from "vue";
2
+ import { _ as T, a as ae, b_ as de, b$ as ue, b8 as pe, E as I, bb as W, u as me, aL as ge } from "./index-B8QqTLfg.js";
3
+ import { c as he, a as ve } from "./datav-BTD-HJhV.js";
4
+ import { I as fe } from "./copy-CsCmPy4J.js";
5
+ import { I as _e } from "./delete-COj0ilHh.js";
6
+ import { I as ye } from "./edit-vdJaEine.js";
7
+ import { a as be, I as ke } from "./show-BCwE3hGY.js";
8
+ import { I as ne } from "./plus-xgpQU22I.js";
9
+ import { c as X } from "./index-BTI518b1.js";
10
+ import { E as te } from "./index-NqqOvc6V.js";
11
+ import { E as Ce } from "./index-CJjljoJG.js";
12
+ import { E as oe } from "./index-bOWjoplU.js";
13
+ import { E as Se } from "./index-CC28_8Jl.js";
14
+ import $e from "./schema-BaFWGeFt.js";
15
+ import we from "./schema-mKILiNny.js";
16
+ import Ie from "./schema-xTyU9nfp.js";
17
+ import Ve from "./schema-iosjRxCC.js";
18
+ import Me from "./schema-BYHwNOUT.js";
19
+ import xe from "./schema-CUR-UK2S.js";
20
+ import De from "./schema-geZfujv8.js";
21
+ import Be from "./schema-tuPllxn6.js";
22
+ import Te from "./schema-WUk7XVq7.js";
23
+ import { storeToRefs as Ee } from "pinia";
21
24
  import { F as h } from "./types-Byowp4FT.js";
22
- const Ge = {}, Ue = {
25
+ const Pe = {}, Ge = {
23
26
  t: "1632575311693",
24
27
  class: "icon",
25
28
  viewBox: "0 0 1024 1024",
@@ -29,8 +32,8 @@ const Ge = {}, Ue = {
29
32
  width: "64",
30
33
  height: "64"
31
34
  };
32
- function ze(l, r) {
33
- return o(), c("svg", Ue, [...r[0] || (r[0] = [
35
+ function Ue(l, r) {
36
+ return o(), c("svg", Ge, [...r[0] || (r[0] = [
34
37
  e("path", {
35
38
  d: "M362.666667 192m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z",
36
39
  "p-id": "3932"
@@ -57,16 +60,16 @@ function ze(l, r) {
57
60
  }, null, -1)
58
61
  ])]);
59
62
  }
60
- const Ne = /* @__PURE__ */ T(Ge, [["render", ze]]), Ke = {
63
+ const ze = /* @__PURE__ */ T(Pe, [["render", Ue]]), Ne = {
61
64
  key: 0,
62
65
  class: "children-manager"
63
- }, Ze = { class: "children-manager-title" }, Fe = {
66
+ }, Ke = { class: "children-manager-title" }, Le = {
64
67
  class: "add-child-icon-wrapper",
65
68
  title: "添加子组件"
66
- }, He = { class: "children-manager-selector" }, Le = { class: "children-manager-selector-component" }, Re = ["onClick"], je = ["src"], Oe = { class: "children-manager-selector-option-name" }, qe = { class: "children-manager-selector-info" }, Ae = { class: "children-manager-selector-count" }, Je = { style: { color: "rgb(36 131 255)" } }, Qe = { class: "add-child" }, We = ["onClick"], Xe = { class: "children-manager-list" }, Ye = { class: "children-list-container" }, en = ["onDragenter"], nn = { title: "更改标签" }, tn = { class: "children-manager-color-tag-wrapper" }, on = { class: "children-manager-tag-panel" }, an = ["onClick"], ln = ["onUpdate:modelValue", "onBlur", "onKeydown"], sn = ["onClick"], rn = ["onClick"], cn = ["onClick"], dn = ["onClick"], un = ["onClick"], pn = ["onDragstart"], mn = {
69
+ }, Ze = { class: "children-manager-selector" }, Fe = { class: "children-manager-selector-component" }, He = ["onClick"], Re = ["src"], je = { class: "children-manager-selector-option-name" }, Oe = { class: "children-manager-selector-info" }, qe = { class: "children-manager-selector-count" }, Ae = { style: { color: "rgb(36 131 255)" } }, Je = { class: "add-child" }, Qe = ["onClick"], We = { class: "children-manager-list" }, Xe = { class: "children-list-container" }, Ye = ["onDragenter"], en = { title: "更改标签" }, nn = { class: "children-manager-color-tag-wrapper" }, tn = { class: "children-manager-tag-panel" }, on = ["onClick"], an = ["onUpdate:modelValue", "onBlur", "onKeydown"], ln = ["onClick"], sn = ["onClick"], rn = ["onClick"], cn = ["onClick"], dn = ["onClick"], un = ["onDragstart"], pn = {
67
70
  key: 1,
68
71
  class: "children-manager-child-not-exist"
69
- }, gn = /* @__PURE__ */ L({
72
+ }, mn = /* @__PURE__ */ H({
70
73
  __name: "children-manager",
71
74
  setup(l) {
72
75
  const r = [
@@ -77,16 +80,16 @@ const Ne = /* @__PURE__ */ T(Ge, [["render", ze]]), Ke = {
77
80
  "background: rgb(255, 59, 45);",
78
81
  "background: rgb(178, 215, 127);",
79
82
  "background: rgb(0, 127, 255);"
80
- ], v = Q(X), k = ae(), x = U(!1), B = U(!1), g = U(-1), u = U([]), _ = U({
83
+ ], v = Q(X), k = ae(), x = U(!1), D = U(!1), g = U(-1), u = U([]), _ = U({
81
84
  from: "",
82
85
  to: "",
83
86
  toIdx: -1
84
- }), R = Z(() => !!v?.value && de.includes(v.value.name)), D = Z(() => {
87
+ }), R = L(() => !!v?.value && de.includes(v.value.name)), B = L(() => {
85
88
  if (!v?.value)
86
89
  return [];
87
90
  const t = k.subComs.filter((s) => s.parentId === v.value.id);
88
91
  return g.value > -1 ? g.value === 0 ? t.filter((s) => !s.tag) : t.filter((s) => s.tag === g.value) : t;
89
- }), i = Z(() => v?.value ? ue(v.value.name) : []);
92
+ }), i = L(() => v?.value ? ue(v.value.name) : []);
90
93
  function G(t) {
91
94
  u.value.includes(t) ? u.value = u.value.filter((s) => s !== t) : u.value.push(t);
92
95
  }
@@ -96,17 +99,17 @@ const Ne = /* @__PURE__ */ T(Ge, [["render", ze]]), Ke = {
96
99
  async function C() {
97
100
  if (v?.value)
98
101
  try {
99
- B.value = !0;
100
- const t = await Promise.all(u.value.map((s) => _e(s)));
101
- await ye(v.value, t), x.value = !1, u.value = [];
102
+ D.value = !0;
103
+ const t = await Promise.all(u.value.map((s) => he(s)));
104
+ await ve(v.value, t), x.value = !1, u.value = [];
102
105
  } catch (t) {
103
- te.error(t.message);
106
+ oe.error(t.message);
104
107
  } finally {
105
- B.value = !1;
108
+ D.value = !1;
106
109
  }
107
110
  }
108
111
  function S(t) {
109
- fe.confirm(`删除后可能无法恢复,是否删除${t.alias}`, "提示", {
112
+ Se.confirm(`删除后可能无法恢复,是否删除${t.alias}`, "提示", {
110
113
  confirmButtonText: "确定",
111
114
  cancelButtonText: "取消",
112
115
  type: "warning",
@@ -115,7 +118,7 @@ const Ne = /* @__PURE__ */ T(Ge, [["render", ze]]), Ke = {
115
118
  try {
116
119
  await k.delete(t);
117
120
  } catch (s) {
118
- te.error(s.message);
121
+ oe.error(s.message);
119
122
  }
120
123
  });
121
124
  }
@@ -131,7 +134,7 @@ const Ne = /* @__PURE__ */ T(Ge, [["render", ze]]), Ke = {
131
134
  t.dataTransfer?.setDragImage(E, 308, 15);
132
135
  }
133
136
  function $() {
134
- const { from: t, to: s, toIdx: E } = _.value, a = E === D.value.length, w = a ? D.value[E - 1].id : s;
137
+ const { from: t, to: s, toIdx: E } = _.value, a = E === B.value.length, w = a ? B.value[E - 1].id : s;
135
138
  k.sortSubCom(t, w, a), _.value = {
136
139
  from: "",
137
140
  to: "",
@@ -146,10 +149,10 @@ const Ne = /* @__PURE__ */ T(Ge, [["render", ze]]), Ke = {
146
149
  }
147
150
  return (t, s) => {
148
151
  const E = le("focus");
149
- return R.value ? (o(), c("div", Ke, [
150
- e("div", Ze, [
152
+ return R.value ? (o(), c("div", Ne, [
153
+ e("div", Ke, [
151
154
  e("div", null, [
152
- d(p(ne), {
155
+ d(p(te), {
153
156
  visible: x.value,
154
157
  "onUpdate:visible": s[0] || (s[0] = (a) => x.value = a),
155
158
  "show-arrow": !1,
@@ -158,19 +161,19 @@ const Ne = /* @__PURE__ */ T(Ge, [["render", ze]]), Ke = {
158
161
  "popper-style": "padding: 0;"
159
162
  }, {
160
163
  reference: m(() => [
161
- e("div", Fe, [
162
- d(p(V), { size: 13 }, {
164
+ e("div", Le, [
165
+ d(p(I), { size: 13 }, {
163
166
  default: m(() => [
164
- d(oe)
167
+ d(ne)
165
168
  ]),
166
169
  _: 1
167
170
  })
168
171
  ])
169
172
  ]),
170
173
  default: m(() => [
171
- e("div", He, [
172
- e("div", Le, [
173
- (o(!0), c(I, null, z(i.value, (a) => (o(), c("div", {
174
+ e("div", Ze, [
175
+ e("div", Fe, [
176
+ (o(!0), c(V, null, z(i.value, (a) => (o(), c("div", {
174
177
  key: a.name,
175
178
  class: N(["children-manager-selector-option", u.value.includes(a.name) ? "selected" : ""]),
176
179
  onClick: (w) => G(a.name)
@@ -178,28 +181,28 @@ const Ne = /* @__PURE__ */ T(Ge, [["render", ze]]), Ke = {
178
181
  e("img", {
179
182
  src: p(pe)(a.img),
180
183
  class: "children-manager-selector-option-image"
181
- }, null, 8, je),
182
- e("span", Oe, K(a.alias), 1)
183
- ], 10, Re))), 128))
184
+ }, null, 8, Re),
185
+ e("span", je, K(a.alias), 1)
186
+ ], 10, He))), 128))
184
187
  ]),
185
- e("div", qe, [
186
- e("div", Ae, [
188
+ e("div", Oe, [
189
+ e("div", qe, [
187
190
  s[2] || (s[2] = A(" 已选择 ", -1)),
188
- e("span", Je, K(u.value.length), 1),
191
+ e("span", Ae, K(u.value.length), 1),
189
192
  s[3] || (s[3] = A(" 个子组件 ", -1))
190
193
  ])
191
194
  ]),
192
- e("div", Qe, [
193
- d(p(ve), {
195
+ e("div", Je, [
196
+ d(p(Ce), {
194
197
  size: "small",
195
198
  disabled: u.value.length === 0,
196
- loading: B.value,
199
+ loading: D.value,
197
200
  onClick: C
198
201
  }, {
199
202
  icon: m(() => [
200
- d(p(V), null, {
203
+ d(p(I), null, {
201
204
  default: m(() => [
202
- d(oe)
205
+ d(ne)
203
206
  ]),
204
207
  _: 1
205
208
  })
@@ -217,55 +220,55 @@ const Ne = /* @__PURE__ */ T(Ge, [["render", ze]]), Ke = {
217
220
  s[5] || (s[5] = e("span", { class: "children-manager-name" }, "子组件管理", -1))
218
221
  ]),
219
222
  e("div", null, [
220
- (o(), c(I, null, z(r, (a, w) => e("span", {
223
+ (o(), c(V, null, z(r, (a, w) => e("span", {
221
224
  key: w,
222
225
  class: N(["children-manager-color-tag-wrapper --anormal", { "--selected": g.value === w }]),
223
226
  onClick: (f) => b(w)
224
227
  }, [
225
228
  e("i", {
226
229
  class: "children-manager-color-tag",
227
- style: F(a)
230
+ style: Z(a)
228
231
  }, null, 4)
229
- ], 10, We)), 64))
232
+ ], 10, Qe)), 64))
230
233
  ])
231
234
  ]),
232
- e("div", Xe, [
233
- e("div", Ye, [
234
- (o(!0), c(I, null, z(D.value, (a, w) => (o(), c("div", {
235
+ e("div", We, [
236
+ e("div", Xe, [
237
+ (o(!0), c(V, null, z(B.value, (a, w) => (o(), c("div", {
235
238
  key: a.id,
236
239
  class: N(["children-item", { entering: _.value.toIdx === w }]),
237
240
  onDragenter: (f) => Y(a.id, w),
238
241
  onDragover: ee
239
242
  }, [
240
243
  e("div", null, [
241
- e("div", nn, [
242
- d(p(ne), {
244
+ e("div", en, [
245
+ d(p(te), {
243
246
  "show-arrow": !1,
244
247
  trigger: "click",
245
248
  placement: "bottom-start",
246
249
  "popper-style": "padding: 0;"
247
250
  }, {
248
251
  reference: m(() => [
249
- e("span", tn, [
252
+ e("span", nn, [
250
253
  a.tag !== void 0 ? (o(), c("i", {
251
254
  key: 0,
252
255
  class: "children-manager-color-tag",
253
- style: F(r[a.tag])
256
+ style: Z(r[a.tag])
254
257
  }, null, 4)) : P("", !0)
255
258
  ])
256
259
  ]),
257
260
  default: m(() => [
258
- e("div", on, [
259
- (o(), c(I, null, z(r, (f, q) => e("span", {
261
+ e("div", tn, [
262
+ (o(), c(V, null, z(r, (f, q) => e("span", {
260
263
  key: q,
261
264
  class: "children-manager-color-tag-wrapper",
262
- onClick: (Kn) => a.tag = q
265
+ onClick: (Nn) => a.tag = q
263
266
  }, [
264
267
  e("i", {
265
268
  class: "children-manager-color-tag",
266
- style: F(r[q])
269
+ style: Z(r[q])
267
270
  }, null, 4)
268
- ], 8, an)), 64))
271
+ ], 8, on)), 64))
269
272
  ])
270
273
  ]),
271
274
  _: 2
@@ -277,7 +280,7 @@ const Ne = /* @__PURE__ */ T(Ge, [["render", ze]]), Ke = {
277
280
  class: "com-alias-ipt",
278
281
  onBlur: (f) => a.renameing = !1,
279
282
  onKeydown: re((f) => a.renameing = !1, ["enter"])
280
- }, null, 40, ln)), [
283
+ }, null, 40, an)), [
281
284
  [
282
285
  ce,
283
286
  a.alias,
@@ -285,35 +288,35 @@ const Ne = /* @__PURE__ */ T(Ge, [["render", ze]]), Ke = {
285
288
  { trim: !0 }
286
289
  ],
287
290
  [E]
288
- ]) : (o(), c(I, { key: 1 }, [
291
+ ]) : (o(), c(V, { key: 1 }, [
289
292
  e("a", {
290
293
  draggable: "false",
291
294
  href: "javascript:;",
292
295
  class: "com-alias-text",
293
296
  onClick: (f) => n(a)
294
- }, K(a.alias), 9, sn),
297
+ }, K(a.alias), 9, ln),
295
298
  e("div", {
296
299
  title: "点击隐藏",
297
300
  onClick: (f) => a.hided = !a.hided
298
301
  }, [
299
- a.hided ? (o(), y(p(V), {
302
+ a.hided ? (o(), y(p(I), {
300
303
  key: 0,
301
304
  class: "child-status-btn"
302
305
  }, {
303
306
  default: m(() => [
304
- d(Se)
307
+ d(be)
305
308
  ]),
306
309
  _: 1
307
- })) : (o(), y(p(V), {
310
+ })) : (o(), y(p(I), {
308
311
  key: 1,
309
312
  class: "child-status-btn"
310
313
  }, {
311
314
  default: m(() => [
312
- d($e)
315
+ d(ke)
313
316
  ]),
314
317
  _: 1
315
318
  }))
316
- ], 8, rn)
319
+ ], 8, sn)
317
320
  ], 64))
318
321
  ]),
319
322
  e("div", null, [
@@ -322,37 +325,37 @@ const Ne = /* @__PURE__ */ T(Ge, [["render", ze]]), Ke = {
322
325
  class: "child-btn",
323
326
  onClick: (f) => j(a.id)
324
327
  }, [
325
- d(p(V), null, {
328
+ d(p(I), null, {
326
329
  default: m(() => [
327
- d(be)
330
+ d(fe)
328
331
  ]),
329
332
  _: 1
330
333
  })
331
- ], 8, cn),
334
+ ], 8, rn),
332
335
  e("span", {
333
336
  title: "重命名",
334
337
  class: "child-btn",
335
338
  onClick: (f) => a.renameing = !0
336
339
  }, [
337
- d(p(V), null, {
340
+ d(p(I), null, {
338
341
  default: m(() => [
339
- d(Ce)
342
+ d(ye)
340
343
  ]),
341
344
  _: 1
342
345
  })
343
- ], 8, dn),
346
+ ], 8, cn),
344
347
  e("span", {
345
348
  title: "删除",
346
349
  class: "child-btn",
347
350
  onClick: (f) => S(a)
348
351
  }, [
349
- d(p(V), null, {
352
+ d(p(I), null, {
350
353
  default: m(() => [
351
- d(ke)
354
+ d(_e)
352
355
  ]),
353
356
  _: 1
354
357
  })
355
- ], 8, un),
358
+ ], 8, dn),
356
359
  e("span", {
357
360
  title: "排序",
358
361
  class: "child-btn",
@@ -360,27 +363,27 @@ const Ne = /* @__PURE__ */ T(Ge, [["render", ze]]), Ke = {
360
363
  onDragstart: (f) => O(f, a.id),
361
364
  onDragend: $
362
365
  }, [
363
- d(p(V), null, {
366
+ d(p(I), null, {
364
367
  default: m(() => [
365
- d(Ne)
368
+ d(ze)
366
369
  ]),
367
370
  _: 1
368
371
  })
369
- ], 40, pn)
372
+ ], 40, un)
370
373
  ])
371
- ], 42, en))), 128)),
372
- D.value.length > 0 ? (o(), c("div", {
374
+ ], 42, Ye))), 128)),
375
+ B.value.length > 0 ? (o(), c("div", {
373
376
  key: 0,
374
- class: N(["children-item last-placeholder", { entering: _.value.toIdx === D.value.length }]),
375
- onDragenter: s[1] || (s[1] = (a) => Y("", D.value.length)),
377
+ class: N(["children-item last-placeholder", { entering: _.value.toIdx === B.value.length }]),
378
+ onDragenter: s[1] || (s[1] = (a) => Y("", B.value.length)),
376
379
  onDragover: ee
377
- }, null, 34)) : (o(), c("div", mn, K(g.value > -1 ? "过滤结果为空" : "子组件列表为空"), 1))
380
+ }, null, 34)) : (o(), c("div", pn, K(g.value > -1 ? "过滤结果为空" : "子组件列表为空"), 1))
378
381
  ])
379
382
  ])
380
383
  ])) : P("", !0);
381
384
  };
382
385
  }
383
- }), hn = /* @__PURE__ */ T(gn, [["__scopeId", "data-v-74aa2d08"]]), vn = {}, fn = {
386
+ }), gn = /* @__PURE__ */ T(mn, [["__scopeId", "data-v-74aa2d08"]]), hn = {}, vn = {
384
387
  t: "1639130074033",
385
388
  class: "icon",
386
389
  viewBox: "0 0 1024 1024",
@@ -390,15 +393,15 @@ const Ne = /* @__PURE__ */ T(Ge, [["render", ze]]), Ke = {
390
393
  width: "64",
391
394
  height: "64"
392
395
  };
393
- function _n(l, r) {
394
- return o(), c("svg", fn, [...r[0] || (r[0] = [
396
+ function fn(l, r) {
397
+ return o(), c("svg", vn, [...r[0] || (r[0] = [
395
398
  e("path", {
396
399
  d: "M376.9089195 511.98903867l334.2350451-318.28295435c11.91663967-11.32219885 11.91663967-29.72372224 0-41.06868668-11.91663967-11.34412151-31.22036416-11.34412151-43.13531635 0L312.8560354 490.86067596c-6.11978797 5.82636237-9.08777582 13.50771652-8.92251288 21.13848029-0.16610587 7.63160669 2.80188116 15.31296167 8.92251288 21.13932404l355.17537844 338.22243539c5.9562117 5.67290369 13.76067014 8.50935553 21.54573552 8.50935553 7.80277258 0 15.60891687-2.83645184 21.56681524-8.50935553 11.91663967-11.34327777 11.91663967-29.72372224 0-41.06784375L376.9089195 511.98903867z",
397
400
  "p-id": "3986"
398
401
  }, null, -1)
399
402
  ])]);
400
403
  }
401
- const yn = /* @__PURE__ */ T(vn, [["render", _n]]), bn = {}, kn = {
404
+ const _n = /* @__PURE__ */ T(hn, [["render", fn]]), yn = {}, bn = {
402
405
  t: "1629565933736",
403
406
  class: "icon",
404
407
  viewBox: "0 0 1024 1024",
@@ -409,8 +412,8 @@ const yn = /* @__PURE__ */ T(vn, [["render", _n]]), bn = {}, kn = {
409
412
  width: "64",
410
413
  height: "64"
411
414
  };
412
- function Cn(l, r) {
413
- return o(), c("svg", kn, [...r[0] || (r[0] = [
415
+ function kn(l, r) {
416
+ return o(), c("svg", bn, [...r[0] || (r[0] = [
414
417
  e("path", {
415
418
  d: "M543.68 288.64h320v64h-320zM320 512h384v64H320z",
416
419
  "p-id": "5092"
@@ -425,11 +428,11 @@ function Cn(l, r) {
425
428
  }, null, -1)
426
429
  ])]);
427
430
  }
428
- const Sn = /* @__PURE__ */ T(bn, [["render", Cn]]), $n = L({
431
+ const Cn = /* @__PURE__ */ T(yn, [["render", kn]]), Sn = H({
429
432
  name: "SettingPanel",
430
433
  components: {
431
- IconBack: yn,
432
- IconDocument: Sn
434
+ IconBack: _n,
435
+ IconDocument: Cn
433
436
  },
434
437
  setup() {
435
438
  const l = Q(X), r = ae();
@@ -441,10 +444,10 @@ const Sn = /* @__PURE__ */ T(bn, [["render", Cn]]), $n = L({
441
444
  }
442
445
  };
443
446
  }
444
- }), wn = { class: "com-title-wp" };
445
- function In(l, r, v, k, x, B) {
446
- const g = M("IconBack"), u = me;
447
- return o(), c("div", wn, [
447
+ }), $n = { class: "com-title-wp" };
448
+ function wn(l, r, v, k, x, D) {
449
+ const g = M("IconBack"), u = I;
450
+ return o(), c("div", $n, [
448
451
  l.com.type === l.ComType.subCom ? (o(), y(u, {
449
452
  key: 0,
450
453
  class: "back-icon",
@@ -458,22 +461,22 @@ function In(l, r, v, k, x, B) {
458
461
  ie(l.$slots, "default", {}, void 0, !0)
459
462
  ]);
460
463
  }
461
- const Vn = /* @__PURE__ */ T($n, [["render", In], ["__scopeId", "data-v-f1bd51b5"]]), Mn = {
462
- VButtonBase: we,
463
- VDivider: Ve,
464
- VImage: Me,
465
- VMultilineText: xe,
466
- VStepper: Te,
467
- VSwitch: Ee,
468
- VNavigation: Be,
469
- VContainerGroup: Ie,
464
+ const In = /* @__PURE__ */ T(Sn, [["render", wn], ["__scopeId", "data-v-f1bd51b5"]]), Vn = {
465
+ VButtonBase: $e,
466
+ VDivider: Ie,
467
+ VImage: Ve,
468
+ VMultilineText: Me,
469
+ VStepper: Be,
470
+ VSwitch: Te,
471
+ VNavigation: xe,
472
+ VContainerGroup: we,
470
473
  VSlider: De
471
474
  };
472
- function xn(l) {
473
- const r = Mn[l];
475
+ function Mn(l) {
476
+ const r = Vn[l];
474
477
  return r || [];
475
478
  }
476
- const Bn = { class: "schema-renderer" }, Dn = { class: "schema-container" }, Tn = /* @__PURE__ */ L({
479
+ const xn = { class: "schema-renderer" }, Dn = { class: "schema-container" }, Bn = /* @__PURE__ */ H({
477
480
  __name: "SchemaRenderer",
478
481
  props: {
479
482
  schema: {},
@@ -481,7 +484,7 @@ const Bn = { class: "schema-renderer" }, Dn = { class: "schema-container" }, Tn
481
484
  level: { default: 0 }
482
485
  },
483
486
  setup(l) {
484
- const r = l, v = ge(), { pageConfig: k } = Pe(v), x = {
487
+ const r = l, v = me(), { pageConfig: k } = Ee(v), x = {
485
488
  [h.input]: "GInput",
486
489
  [h.textarea]: "GInput",
487
490
  [h.number]: "GInputNumber",
@@ -491,10 +494,10 @@ const Bn = { class: "schema-renderer" }, Dn = { class: "schema-container" }, Tn
491
494
  [h.image]: "GUploadImage",
492
495
  [h.iconList]: "GIconPicker",
493
496
  [h.slider]: "GSlider"
494
- }, B = (i) => x[i] || "GInput";
497
+ }, D = (i) => x[i] || "GInput";
495
498
  function g(i) {
496
499
  if (i)
497
- return he(r.data, i);
500
+ return ge(r.data, i);
498
501
  }
499
502
  function u(i, G) {
500
503
  if (!i)
@@ -505,24 +508,24 @@ const Bn = { class: "schema-renderer" }, Dn = { class: "schema-container" }, Tn
505
508
  C[b[S]] === void 0 && (C[b[S]] = {}), C = C[b[S]];
506
509
  C[b[b.length - 1]] = G;
507
510
  }
508
- const _ = Z(() => ({
511
+ const _ = L(() => ({
509
512
  allPages: (k.value.allPages || []).map((i) => ({ id: i.id, value: i.name }))
510
513
  }));
511
514
  function R(i) {
512
515
  return i.optionsKey && _.value[i.optionsKey] ? _.value[i.optionsKey] : i.props?.data || i.props?.options || [];
513
516
  }
514
- function D(i, G) {
517
+ function B(i, G) {
515
518
  }
516
519
  return (i, G) => {
517
520
  const b = M("schema-renderer", !0), C = M("g-upload-image"), S = M("g-select"), j = M("g-field");
518
- return o(), c("div", Bn, [
521
+ return o(), c("div", xn, [
519
522
  e("div", Dn, [
520
- (o(!0), c(I, null, z(l.schema, (n, O) => (o(), c(I, { key: O }, [
521
- !n.visible || n.visible(l.data) ? (o(), c(I, { key: 0 }, [
523
+ (o(!0), c(V, null, z(l.schema, (n, O) => (o(), c(V, { key: O }, [
524
+ !n.visible || n.visible(l.data) ? (o(), c(V, { key: 0 }, [
522
525
  n.type === p(h).group ? (o(), c("div", {
523
526
  key: 0,
524
527
  class: "schema-group",
525
- style: F({ gridColumn: n.col ? `span ${n.col}` : "span 2" })
528
+ style: Z({ gridColumn: n.col ? `span ${n.col}` : "span 2" })
526
529
  }, [
527
530
  e("p", {
528
531
  class: N(["group-title", { "sub-group-title": l.level > 0 }])
@@ -539,25 +542,25 @@ const Bn = { class: "schema-renderer" }, Dn = { class: "schema-container" }, Tn
539
542
  tooltip: n.tooltip,
540
543
  "is-flat": n.isFlat,
541
544
  "label-span": n.label ? n.labelSpan ?? 7 : 0,
542
- style: F({ gridColumn: n.col ? `span ${n.col}` : "span 2" })
545
+ style: Z({ gridColumn: n.col ? `span ${n.col}` : "span 2" })
543
546
  }, {
544
547
  default: m(() => [
545
- n.type === p(h).image ? (o(), y(C, H({
548
+ n.type === p(h).image ? (o(), y(C, F({
546
549
  key: 0,
547
550
  "model-value": g(n.key)
548
551
  }, { ref_for: !0 }, n.props, {
549
552
  "onUpdate:modelValue": ($) => u(n.key, $)
550
- }), null, 16, ["model-value", "onUpdate:modelValue"])) : n.type === p(h).custom ? (o(), y(J(n.component), H({
553
+ }), null, 16, ["model-value", "onUpdate:modelValue"])) : n.type === p(h).custom ? (o(), y(J(n.component), F({
551
554
  key: 1,
552
555
  com: l.data
553
- }, { ref_for: !0 }, n.props), null, 16, ["com"])) : n.type === p(h).select ? (o(), y(S, H({
556
+ }, { ref_for: !0 }, n.props), null, 16, ["com"])) : n.type === p(h).select ? (o(), y(S, F({
554
557
  key: 2,
555
558
  "model-value": g(n.key),
556
559
  data: R(n)
557
560
  }, { ref_for: !0 }, n.props, {
558
561
  "onUpdate:modelValue": ($) => u(n.key, $),
559
562
  onChange: ($) => void 0
560
- }), null, 16, ["model-value", "data", "onUpdate:modelValue", "onChange"])) : (o(), y(J(B(n.type)), H({
563
+ }), null, 16, ["model-value", "data", "onUpdate:modelValue", "onChange"])) : (o(), y(J(D(n.type)), F({
561
564
  key: 3,
562
565
  "model-value": g(n.key)
563
566
  }, { ref_for: !0 }, n.type === p(h).textarea ? { type: "textarea", ...n.props } : n.props, {
@@ -573,37 +576,37 @@ const Bn = { class: "schema-renderer" }, Dn = { class: "schema-container" }, Tn
573
576
  ]);
574
577
  };
575
578
  }
576
- }), En = /* @__PURE__ */ T(Tn, [["__scopeId", "data-v-5a0421f2"]]), Pn = L({
579
+ }), Tn = /* @__PURE__ */ T(Bn, [["__scopeId", "data-v-5a0421f2"]]), En = H({
577
580
  name: "SettingPanel",
578
581
  components: {
579
- ConfigTitle: Vn,
580
- ChildrenManager: hn,
581
- SchemaRenderer: En
582
+ ConfigTitle: In,
583
+ ChildrenManager: gn,
584
+ SchemaRenderer: Tn
582
585
  },
583
586
  setup() {
584
- const l = Q(X), r = Z(() => l?.value ? xn(l.value.name) : []);
587
+ const l = Q(X), r = L(() => l?.value ? Mn(l.value.name) : []);
585
588
  return {
586
589
  ComType: W,
587
590
  com: l,
588
591
  currentSchema: r
589
592
  };
590
593
  }
591
- }), Gn = {
594
+ }), Pn = {
592
595
  key: 0,
593
596
  class: "setting-panel"
594
- }, Un = { class: "setting-panel-content" }, zn = { class: "scroll-container" };
595
- function Nn(l, r, v, k, x, B) {
597
+ }, Gn = { class: "setting-panel-content" }, Un = { class: "scroll-container" };
598
+ function zn(l, r, v, k, x, D) {
596
599
  const g = M("ConfigTitle"), u = M("ChildrenManager"), _ = M("SchemaRenderer");
597
- return l.com ? (o(), c("div", Gn, [
600
+ return l.com ? (o(), c("div", Pn, [
598
601
  d(g),
599
- e("div", Un, [
602
+ e("div", Gn, [
600
603
  d(u),
601
- e("div", zn, [
604
+ e("div", Un, [
602
605
  l.currentSchema.length ? (o(), y(_, {
603
606
  key: 0,
604
607
  schema: l.currentSchema,
605
608
  data: l.com
606
- }, null, 8, ["schema", "data"])) : (o(), c(I, { key: 1 }, [
609
+ }, null, 8, ["schema", "data"])) : (o(), c(V, { key: 1 }, [
607
610
  r[0] || (r[0] = e("p", {
608
611
  class: "title",
609
612
  style: { "margin-bottom": "10px" }
@@ -618,7 +621,7 @@ function Nn(l, r, v, k, x, B) {
618
621
  ])
619
622
  ])) : P("", !0);
620
623
  }
621
- const rt = /* @__PURE__ */ T(Pn, [["render", Nn], ["__scopeId", "data-v-52879e89"]]);
624
+ const it = /* @__PURE__ */ T(En, [["render", zn], ["__scopeId", "data-v-52879e89"]]);
622
625
  export {
623
- rt as default
626
+ it as default
624
627
  };