bp-aicc-editor 1.2.507 → 1.2.511

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 (90) hide show
  1. package/lib/ScreenPreview-CV95NWOd.js +373 -0
  2. package/lib/{atlas-C3az-9Mm.js → atlas-DsmLq2V0.js} +1 -1
  3. package/lib/{button-base-_jCki568.js → button-base-DHNVBrQ9.js} +1 -1
  4. package/lib/{cache-Jvpyvvq5.js → cache-lsjsKZHu.js} +1 -1
  5. package/lib/{container-group-DTRMf-Lh.js → container-group-DqAcKEBy.js} +1 -1
  6. package/lib/{copy-JUmhZHJW.js → copy-C5Pi6nJh.js} +1 -1
  7. package/lib/{datav-DYcMOPlj.js → datav-BER95ty-.js} +27 -27
  8. package/lib/{delete-C0k5m-ed.js → delete-C2EW4JCs.js} +1 -1
  9. package/lib/{divider-CvWkiVUb.js → divider-BazBGRgV.js} +1 -1
  10. package/lib/edit-B2pfd2q1.js +24 -0
  11. package/lib/el-button-DvLKp6Ga.js +815 -0
  12. package/lib/el-form-item-BDdxk5F5.js +1175 -0
  13. package/lib/el-link-D2ol9BHQ.js +91 -0
  14. package/lib/el-loading-Cgwgez55.js +230 -0
  15. package/lib/el-overlay-BK0_UIU6.js +704 -0
  16. package/lib/el-tab-pane-DD2eM9rB.js +536 -0
  17. package/lib/{fullscreen-DOYyz7vQ.js → fullscreen-OChDsSnk.js} +1 -1
  18. package/lib/{image-BQIpsLBo.js → image-C5ZAY3yt.js} +1 -1
  19. package/lib/index-3pzVrvby.js +150 -0
  20. package/lib/{index-D9Iayd4l.js → index-B19lEYui.js} +6 -6
  21. package/lib/index-B1yAU2Cb.js +390 -0
  22. package/lib/index-BCFXuK7k.js +68 -0
  23. package/lib/index-BD4Jwo8Z.js +449 -0
  24. package/lib/{index-BvcqtFEY.js → index-BMWqf88L.js} +10 -10
  25. package/lib/{index-CI4vgOJL.js → index-BPcvYtHf.js} +8 -11
  26. package/lib/index-BWPVi43E.js +21 -0
  27. package/lib/{index-CSkWvBQG.js → index-BatyRVpL.js} +1 -1
  28. package/lib/{index-D7jQaJbo.js → index-Belsn8kt.js} +1 -1
  29. package/lib/{index-C7ZW2TdD.js → index-BfIEunKC.js} +13 -15
  30. package/lib/{index-DTbzx51-.js → index-BhP9eBCp.js} +2 -2
  31. package/lib/{index-BdQOzowp.js → index-BkdiXCRY.js} +1 -1
  32. package/lib/{index-B4Kg0SOl.js → index-Buoc0ISP.js} +60 -65
  33. package/lib/index-BwCQWH-N.js +439 -0
  34. package/lib/{index-KO7LIDgy.js → index-C7k49L2T.js} +1 -1
  35. package/lib/{index-BCisGpRV.js → index-CGFEhUh9.js} +21 -21
  36. package/lib/{index-BCZuzL9x.js → index-CGrR_i0u.js} +1 -1
  37. package/lib/index-CIADz1i0.js +8494 -0
  38. package/lib/{index-BiybAKLy.js → index-CJyYGViv.js} +1 -1
  39. package/lib/{index-Curd3Q_C.js → index-CVE37oE7.js} +1 -1
  40. package/lib/{index-BGT3NcHb.js → index-CVsy2qTh.js} +2 -2
  41. package/lib/{index-CEKpsQ73.js → index-CWbZmzNT.js} +20 -20
  42. package/lib/{index-r0p4Zsdn.js → index-CXQ258ID.js} +1 -1
  43. package/lib/{index-C17gkQC5.js → index-CX_Ghcb6.js} +2 -2
  44. package/lib/index-CZJriuFt.js +27215 -0
  45. package/lib/{index-UdJ7RS5C.js → index-Ci8AbyIq.js} +1 -1
  46. package/lib/{index-DzglmFul.js → index-Ck7uFsPE.js} +1 -1
  47. package/lib/{index-DfKVDhZo.js → index-D4X0_jbv.js} +4 -4
  48. package/lib/{index-Q9GLzAp6.js → index-DKTrbqcA.js} +2 -2
  49. package/lib/{index-DiSYhNaR.js → index-Ge_d2xqD.js} +1 -1
  50. package/lib/{index-D9qrFCLu.js → index-qVyixI57.js} +21 -24
  51. package/lib/{index-DrO2UeJx.js → index-tbhuYbb0.js} +1 -1
  52. package/lib/index.es.js +3 -3
  53. package/lib/index.umd.js +57 -34
  54. package/lib/{layer-setting-panel-Bjnt_eL7.js → layer-setting-panel-VvDSQ-cn.js} +2 -2
  55. package/lib/{line-show-C7Nn6vkO.js → line-show-Bp4G-LqO.js} +1 -1
  56. package/lib/{multi-layout-config-Cq3yMVHR.js → multi-layout-config-drSy7ezf.js} +5 -5
  57. package/lib/{multiline-text-20qZej5M.js → multiline-text-D89kYrA2.js} +1 -1
  58. package/lib/{navigation-CYYFLmhU.js → navigation-YAGxZ0OT.js} +1 -1
  59. package/lib/page-config-Cmsi8Vpr.js +582 -0
  60. package/lib/page-tabs-wFeNBY4c.js +185 -0
  61. package/lib/{plus-CLcKk5PN.js → plus-3mdO6yXY.js} +1 -1
  62. package/lib/{requestOld-UJ_IbJZV.js → requestOld-DRcjsmRQ.js} +1 -1
  63. package/lib/{schema-EG3DcRzW.js → schema-BavJE-SK.js} +2 -2
  64. package/lib/{schema-B8SVu2jj.js → schema-BflqDw-a.js} +1 -1
  65. package/lib/{schema-D6lT1sLt.js → schema-Bo30dbBx.js} +1 -1
  66. package/lib/{schema-Blmk8VpW.js → schema-BsnIOGBI.js} +1 -1
  67. package/lib/{schema-C1vqYLAm.js → schema-_APJMUW3.js} +24 -24
  68. package/lib/{schema-C4qS2kV8.js → schema-qKI1F8Bt.js} +1 -1
  69. package/lib/{setting-panel-CoVHYjPW.js → setting-panel-BgzN3BUP.js} +91 -93
  70. package/lib/{show-DWWTez5i.js → show-C4AeWlKj.js} +13 -32
  71. package/lib/{stepper-bfTmJIGg.js → stepper-D5EFeJWG.js} +1 -1
  72. package/lib/strings-_mHAdgA4.js +6 -0
  73. package/lib/style.css +1 -0
  74. package/lib/{switch-Dxeq_HHd.js → switch-B0dR4LM_.js} +1 -1
  75. package/lib/unlock-Cq9PLhBA.js +62 -0
  76. package/lib/{use-env-url-CP2GpMCY.js → use-env-url-BM9dgwx_.js} +1 -1
  77. package/lib/use-global-config-CflpFoxU.js +115 -0
  78. package/lib/vnode-B_Dj8zxu.js +14 -0
  79. package/package.json +3 -2
  80. package/lib/ScreenPreview-DGe9FXWu.js +0 -126
  81. package/lib/index-08FGmL4D.js +0 -3744
  82. package/lib/index-Bg2serjU.js +0 -155
  83. package/lib/index-CJbqu93z.js +0 -496
  84. package/lib/index-D-A44QLA.js +0 -228
  85. package/lib/index-D6ZS8SXJ.js +0 -22369
  86. package/lib/index-DgTMT-ZH.js +0 -71
  87. package/lib/index-noVQZPd6.js +0 -133
  88. package/lib/page-config-Bw-OZliO.js +0 -257
  89. package/lib/page-tabs-DM9zkW_X.js +0 -190
  90. package/lib/styles.css +0 -1
@@ -1,24 +1,22 @@
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 I, renderList as z, normalizeClass as N, toDisplayString as K, createTextVNode as J, 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 A } from "vue";
2
- import { _ as T, a as ae, J as de, K as ue, q as pe, C as W, u as me, L as ge } from "./index-D6ZS8SXJ.js";
3
- import { ElPopover as ne, ElButton as he, ElIcon as V, ElMessage as te, ElMessageBox as ve } from "element-plus";
4
- import { c as fe, a as _e } from "./datav-DYcMOPlj.js";
5
- import { I as ye } from "./copy-JUmhZHJW.js";
6
- import { I as ke } from "./delete-C0k5m-ed.js";
7
- import { a as be, I as Ce, b as Se } from "./show-DWWTez5i.js";
8
- import { I as oe } from "./plus-CLcKk5PN.js";
9
- import { c as X } from "./index-DgTMT-ZH.js";
10
- import { ElIcon as $e } from "element-plus/es";
11
- import "element-plus/es/components/base/style/css";
12
- import "element-plus/es/components/icon/style/css";
13
- import we from "./schema-Blmk8VpW.js";
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";
14
12
  import Ie from "./schema-mKILiNny.js";
15
13
  import Ve from "./schema-xTyU9nfp.js";
16
- import Me from "./schema-B8SVu2jj.js";
14
+ import Me from "./schema-BflqDw-a.js";
17
15
  import xe from "./schema-BYHwNOUT.js";
18
- import De from "./schema-C1vqYLAm.js";
19
- import Be from "./schema-C4qS2kV8.js";
20
- import Te from "./schema-D6lT1sLt.js";
21
- import Ee from "./schema-EG3DcRzW.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";
22
20
  import { storeToRefs as Pe } from "pinia";
23
21
  import { F as h } from "./types-Byowp4FT.js";
24
22
  const Ge = {}, Ue = {
@@ -62,13 +60,13 @@ function ze(l, r) {
62
60
  const Ne = /* @__PURE__ */ T(Ge, [["render", ze]]), Ke = {
63
61
  key: 0,
64
62
  class: "children-manager"
65
- }, Le = { class: "children-manager-title" }, Ze = {
63
+ }, Ze = { class: "children-manager-title" }, Fe = {
66
64
  class: "add-child-icon-wrapper",
67
65
  title: "添加子组件"
68
- }, Fe = { class: "children-manager-selector" }, He = { class: "children-manager-selector-component" }, Re = ["onClick"], je = ["src"], Oe = { class: "children-manager-selector-option-name" }, qe = { class: "children-manager-selector-info" }, Je = { class: "children-manager-selector-count" }, Ae = { 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 = {
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
67
  key: 1,
70
68
  class: "children-manager-child-not-exist"
71
- }, gn = /* @__PURE__ */ H({
69
+ }, gn = /* @__PURE__ */ L({
72
70
  __name: "children-manager",
73
71
  setup(l) {
74
72
  const r = [
@@ -79,53 +77,53 @@ const Ne = /* @__PURE__ */ T(Ge, [["render", ze]]), Ke = {
79
77
  "background: rgb(255, 59, 45);",
80
78
  "background: rgb(178, 215, 127);",
81
79
  "background: rgb(0, 127, 255);"
82
- ], v = Q(X), b = ae(), x = U(!1), D = U(!1), g = U(-1), u = U([]), _ = U({
80
+ ], v = Q(X), k = ae(), x = U(!1), B = U(!1), g = U(-1), u = U([]), _ = U({
83
81
  from: "",
84
82
  to: "",
85
83
  toIdx: -1
86
- }), R = L(() => !!v?.value && de.includes(v.value.name)), B = L(() => {
84
+ }), R = Z(() => !!v?.value && de.includes(v.value.name)), D = Z(() => {
87
85
  if (!v?.value)
88
86
  return [];
89
- const t = b.subComs.filter((s) => s.parentId === v.value.id);
87
+ const t = k.subComs.filter((s) => s.parentId === v.value.id);
90
88
  return g.value > -1 ? g.value === 0 ? t.filter((s) => !s.tag) : t.filter((s) => s.tag === g.value) : t;
91
- }), i = L(() => v?.value ? ue(v.value.name) : []);
89
+ }), i = Z(() => v?.value ? ue(v.value.name) : []);
92
90
  function G(t) {
93
91
  u.value.includes(t) ? u.value = u.value.filter((s) => s !== t) : u.value.push(t);
94
92
  }
95
- function k(t) {
93
+ function b(t) {
96
94
  g.value = g.value === t ? -1 : t;
97
95
  }
98
96
  async function C() {
99
97
  if (v?.value)
100
98
  try {
101
- D.value = !0;
102
- const t = await Promise.all(u.value.map((s) => fe(s)));
103
- await _e(v.value, t), x.value = !1, u.value = [];
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 = [];
104
102
  } catch (t) {
105
103
  te.error(t.message);
106
104
  } finally {
107
- D.value = !1;
105
+ B.value = !1;
108
106
  }
109
107
  }
110
108
  function S(t) {
111
- ve.confirm(`删除后可能无法恢复,是否删除${t.alias}`, "提示", {
109
+ fe.confirm(`删除后可能无法恢复,是否删除${t.alias}`, "提示", {
112
110
  confirmButtonText: "确定",
113
111
  cancelButtonText: "取消",
114
112
  type: "warning",
115
113
  appendTo: ".screen-editor-root"
116
114
  }).then(async () => {
117
115
  try {
118
- await b.delete(t);
116
+ await k.delete(t);
119
117
  } catch (s) {
120
118
  te.error(s.message);
121
119
  }
122
120
  });
123
121
  }
124
122
  function j(t) {
125
- b.copy(t, W.subCom);
123
+ k.copy(t, W.subCom);
126
124
  }
127
125
  function n(t) {
128
- b.selectSubCom(t.id);
126
+ k.selectSubCom(t.id);
129
127
  }
130
128
  function O(t, s) {
131
129
  _.value.from = s;
@@ -133,8 +131,8 @@ const Ne = /* @__PURE__ */ T(Ge, [["render", ze]]), Ke = {
133
131
  t.dataTransfer?.setDragImage(E, 308, 15);
134
132
  }
135
133
  function $() {
136
- const { from: t, to: s, toIdx: E } = _.value, a = E === B.value.length, w = a ? B.value[E - 1].id : s;
137
- b.sortSubCom(t, w, a), _.value = {
134
+ const { from: t, to: s, toIdx: E } = _.value, a = E === D.value.length, w = a ? D.value[E - 1].id : s;
135
+ k.sortSubCom(t, w, a), _.value = {
138
136
  from: "",
139
137
  to: "",
140
138
  toIdx: -1
@@ -149,7 +147,7 @@ const Ne = /* @__PURE__ */ T(Ge, [["render", ze]]), Ke = {
149
147
  return (t, s) => {
150
148
  const E = le("focus");
151
149
  return R.value ? (o(), c("div", Ke, [
152
- e("div", Le, [
150
+ e("div", Ze, [
153
151
  e("div", null, [
154
152
  d(p(ne), {
155
153
  visible: x.value,
@@ -160,7 +158,7 @@ const Ne = /* @__PURE__ */ T(Ge, [["render", ze]]), Ke = {
160
158
  "popper-style": "padding: 0;"
161
159
  }, {
162
160
  reference: m(() => [
163
- e("div", Ze, [
161
+ e("div", Fe, [
164
162
  d(p(V), { size: 13 }, {
165
163
  default: m(() => [
166
164
  d(oe)
@@ -170,8 +168,8 @@ const Ne = /* @__PURE__ */ T(Ge, [["render", ze]]), Ke = {
170
168
  ])
171
169
  ]),
172
170
  default: m(() => [
173
- e("div", Fe, [
174
- e("div", He, [
171
+ e("div", He, [
172
+ e("div", Le, [
175
173
  (o(!0), c(I, null, z(i.value, (a) => (o(), c("div", {
176
174
  key: a.name,
177
175
  class: N(["children-manager-selector-option", u.value.includes(a.name) ? "selected" : ""]),
@@ -185,17 +183,17 @@ const Ne = /* @__PURE__ */ T(Ge, [["render", ze]]), Ke = {
185
183
  ], 10, Re))), 128))
186
184
  ]),
187
185
  e("div", qe, [
188
- e("div", Je, [
189
- s[2] || (s[2] = J(" 已选择 ", -1)),
190
- e("span", Ae, K(u.value.length), 1),
191
- s[3] || (s[3] = J(" 个子组件 ", -1))
186
+ e("div", Ae, [
187
+ s[2] || (s[2] = A(" 已选择 ", -1)),
188
+ e("span", Je, K(u.value.length), 1),
189
+ s[3] || (s[3] = A(" 个子组件 ", -1))
192
190
  ])
193
191
  ]),
194
192
  e("div", Qe, [
195
- d(p(he), {
193
+ d(p(ve), {
196
194
  size: "small",
197
195
  disabled: u.value.length === 0,
198
- loading: D.value,
196
+ loading: B.value,
199
197
  onClick: C
200
198
  }, {
201
199
  icon: m(() => [
@@ -207,7 +205,7 @@ const Ne = /* @__PURE__ */ T(Ge, [["render", ze]]), Ke = {
207
205
  })
208
206
  ]),
209
207
  default: m(() => [
210
- s[4] || (s[4] = J(" 添加子组件 ", -1))
208
+ s[4] || (s[4] = A(" 添加子组件 ", -1))
211
209
  ]),
212
210
  _: 1
213
211
  }, 8, ["disabled", "loading"])
@@ -222,18 +220,18 @@ const Ne = /* @__PURE__ */ T(Ge, [["render", ze]]), Ke = {
222
220
  (o(), c(I, null, z(r, (a, w) => e("span", {
223
221
  key: w,
224
222
  class: N(["children-manager-color-tag-wrapper --anormal", { "--selected": g.value === w }]),
225
- onClick: (f) => k(w)
223
+ onClick: (f) => b(w)
226
224
  }, [
227
225
  e("i", {
228
226
  class: "children-manager-color-tag",
229
- style: Z(a)
227
+ style: F(a)
230
228
  }, null, 4)
231
229
  ], 10, We)), 64))
232
230
  ])
233
231
  ]),
234
232
  e("div", Xe, [
235
233
  e("div", Ye, [
236
- (o(!0), c(I, null, z(B.value, (a, w) => (o(), c("div", {
234
+ (o(!0), c(I, null, z(D.value, (a, w) => (o(), c("div", {
237
235
  key: a.id,
238
236
  class: N(["children-item", { entering: _.value.toIdx === w }]),
239
237
  onDragenter: (f) => Y(a.id, w),
@@ -252,7 +250,7 @@ const Ne = /* @__PURE__ */ T(Ge, [["render", ze]]), Ke = {
252
250
  a.tag !== void 0 ? (o(), c("i", {
253
251
  key: 0,
254
252
  class: "children-manager-color-tag",
255
- style: Z(r[a.tag])
253
+ style: F(r[a.tag])
256
254
  }, null, 4)) : P("", !0)
257
255
  ])
258
256
  ]),
@@ -265,7 +263,7 @@ const Ne = /* @__PURE__ */ T(Ge, [["render", ze]]), Ke = {
265
263
  }, [
266
264
  e("i", {
267
265
  class: "children-manager-color-tag",
268
- style: Z(r[q])
266
+ style: F(r[q])
269
267
  }, null, 4)
270
268
  ], 8, an)), 64))
271
269
  ])
@@ -303,7 +301,7 @@ const Ne = /* @__PURE__ */ T(Ge, [["render", ze]]), Ke = {
303
301
  class: "child-status-btn"
304
302
  }, {
305
303
  default: m(() => [
306
- d(be)
304
+ d(Se)
307
305
  ]),
308
306
  _: 1
309
307
  })) : (o(), y(p(V), {
@@ -311,7 +309,7 @@ const Ne = /* @__PURE__ */ T(Ge, [["render", ze]]), Ke = {
311
309
  class: "child-status-btn"
312
310
  }, {
313
311
  default: m(() => [
314
- d(Ce)
312
+ d($e)
315
313
  ]),
316
314
  _: 1
317
315
  }))
@@ -326,7 +324,7 @@ const Ne = /* @__PURE__ */ T(Ge, [["render", ze]]), Ke = {
326
324
  }, [
327
325
  d(p(V), null, {
328
326
  default: m(() => [
329
- d(ye)
327
+ d(be)
330
328
  ]),
331
329
  _: 1
332
330
  })
@@ -338,7 +336,7 @@ const Ne = /* @__PURE__ */ T(Ge, [["render", ze]]), Ke = {
338
336
  }, [
339
337
  d(p(V), null, {
340
338
  default: m(() => [
341
- d(Se)
339
+ d(Ce)
342
340
  ]),
343
341
  _: 1
344
342
  })
@@ -371,10 +369,10 @@ const Ne = /* @__PURE__ */ T(Ge, [["render", ze]]), Ke = {
371
369
  ], 40, pn)
372
370
  ])
373
371
  ], 42, en))), 128)),
374
- B.value.length > 0 ? (o(), c("div", {
372
+ D.value.length > 0 ? (o(), c("div", {
375
373
  key: 0,
376
- class: N(["children-item last-placeholder", { entering: _.value.toIdx === B.value.length }]),
377
- onDragenter: s[1] || (s[1] = (a) => Y("", B.value.length)),
374
+ class: N(["children-item last-placeholder", { entering: _.value.toIdx === D.value.length }]),
375
+ onDragenter: s[1] || (s[1] = (a) => Y("", D.value.length)),
378
376
  onDragover: ee
379
377
  }, null, 34)) : (o(), c("div", mn, K(g.value > -1 ? "过滤结果为空" : "子组件列表为空"), 1))
380
378
  ])
@@ -400,7 +398,7 @@ function _n(l, r) {
400
398
  }, null, -1)
401
399
  ])]);
402
400
  }
403
- const yn = /* @__PURE__ */ T(vn, [["render", _n]]), kn = {}, bn = {
401
+ const yn = /* @__PURE__ */ T(vn, [["render", _n]]), bn = {}, kn = {
404
402
  t: "1629565933736",
405
403
  class: "icon",
406
404
  viewBox: "0 0 1024 1024",
@@ -412,7 +410,7 @@ const yn = /* @__PURE__ */ T(vn, [["render", _n]]), kn = {}, bn = {
412
410
  height: "64"
413
411
  };
414
412
  function Cn(l, r) {
415
- return o(), c("svg", bn, [...r[0] || (r[0] = [
413
+ return o(), c("svg", kn, [...r[0] || (r[0] = [
416
414
  e("path", {
417
415
  d: "M543.68 288.64h320v64h-320zM320 512h384v64H320z",
418
416
  "p-id": "5092"
@@ -427,7 +425,7 @@ function Cn(l, r) {
427
425
  }, null, -1)
428
426
  ])]);
429
427
  }
430
- const Sn = /* @__PURE__ */ T(kn, [["render", Cn]]), $n = H({
428
+ const Sn = /* @__PURE__ */ T(bn, [["render", Cn]]), $n = L({
431
429
  name: "SettingPanel",
432
430
  components: {
433
431
  IconBack: yn,
@@ -444,8 +442,8 @@ const Sn = /* @__PURE__ */ T(kn, [["render", Cn]]), $n = H({
444
442
  };
445
443
  }
446
444
  }), wn = { class: "com-title-wp" };
447
- function In(l, r, v, b, x, D) {
448
- const g = M("IconBack"), u = $e;
445
+ function In(l, r, v, k, x, B) {
446
+ const g = M("IconBack"), u = me;
449
447
  return o(), c("div", wn, [
450
448
  l.com.type === l.ComType.subCom ? (o(), y(u, {
451
449
  key: 0,
@@ -467,15 +465,15 @@ const Vn = /* @__PURE__ */ T($n, [["render", In], ["__scopeId", "data-v-f1bd51b5
467
465
  VMultilineText: xe,
468
466
  VStepper: Te,
469
467
  VSwitch: Ee,
470
- VNavigation: De,
468
+ VNavigation: Be,
471
469
  VContainerGroup: Ie,
472
- VSlider: Be
470
+ VSlider: De
473
471
  };
474
472
  function xn(l) {
475
473
  const r = Mn[l];
476
474
  return r || [];
477
475
  }
478
- const Dn = { class: "schema-renderer" }, Bn = { class: "schema-container" }, Tn = /* @__PURE__ */ H({
476
+ const Bn = { class: "schema-renderer" }, Dn = { class: "schema-container" }, Tn = /* @__PURE__ */ L({
479
477
  __name: "SchemaRenderer",
480
478
  props: {
481
479
  schema: {},
@@ -483,7 +481,7 @@ const Dn = { class: "schema-renderer" }, Bn = { class: "schema-container" }, Tn
483
481
  level: { default: 0 }
484
482
  },
485
483
  setup(l) {
486
- const r = l, v = me(), { pageConfig: b } = Pe(v), x = {
484
+ const r = l, v = ge(), { pageConfig: k } = Pe(v), x = {
487
485
  [h.input]: "GInput",
488
486
  [h.textarea]: "GInput",
489
487
  [h.number]: "GInputNumber",
@@ -493,43 +491,43 @@ const Dn = { class: "schema-renderer" }, Bn = { class: "schema-container" }, Tn
493
491
  [h.image]: "GUploadImage",
494
492
  [h.iconList]: "GIconPicker",
495
493
  [h.slider]: "GSlider"
496
- }, D = (i) => x[i] || "GInput";
494
+ }, B = (i) => x[i] || "GInput";
497
495
  function g(i) {
498
496
  if (i)
499
- return ge(r.data, i);
497
+ return he(r.data, i);
500
498
  }
501
499
  function u(i, G) {
502
500
  if (!i)
503
501
  return;
504
- const k = i.split(".");
502
+ const b = i.split(".");
505
503
  let C = r.data;
506
- for (let S = 0; S < k.length - 1; S++)
507
- C[k[S]] === void 0 && (C[k[S]] = {}), C = C[k[S]];
508
- C[k[k.length - 1]] = G;
504
+ for (let S = 0; S < b.length - 1; S++)
505
+ C[b[S]] === void 0 && (C[b[S]] = {}), C = C[b[S]];
506
+ C[b[b.length - 1]] = G;
509
507
  }
510
- const _ = L(() => ({
511
- allPages: (b.value.allPages || []).map((i) => ({ id: i.id, value: i.name }))
508
+ const _ = Z(() => ({
509
+ allPages: (k.value.allPages || []).map((i) => ({ id: i.id, value: i.name }))
512
510
  }));
513
511
  function R(i) {
514
512
  return i.optionsKey && _.value[i.optionsKey] ? _.value[i.optionsKey] : i.props?.data || i.props?.options || [];
515
513
  }
516
- function B(i, G) {
514
+ function D(i, G) {
517
515
  }
518
516
  return (i, G) => {
519
- const k = M("schema-renderer", !0), C = M("g-upload-image"), S = M("g-select"), j = M("g-field");
520
- return o(), c("div", Dn, [
521
- e("div", Bn, [
517
+ 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, [
519
+ e("div", Dn, [
522
520
  (o(!0), c(I, null, z(l.schema, (n, O) => (o(), c(I, { key: O }, [
523
521
  !n.visible || n.visible(l.data) ? (o(), c(I, { key: 0 }, [
524
522
  n.type === p(h).group ? (o(), c("div", {
525
523
  key: 0,
526
524
  class: "schema-group",
527
- style: Z({ gridColumn: n.col ? `span ${n.col}` : "span 2" })
525
+ style: F({ gridColumn: n.col ? `span ${n.col}` : "span 2" })
528
526
  }, [
529
527
  e("p", {
530
528
  class: N(["group-title", { "sub-group-title": l.level > 0 }])
531
529
  }, K(n.label), 3),
532
- n.children ? (o(), y(k, {
530
+ n.children ? (o(), y(b, {
533
531
  key: 0,
534
532
  schema: n.children,
535
533
  data: l.data,
@@ -541,25 +539,25 @@ const Dn = { class: "schema-renderer" }, Bn = { class: "schema-container" }, Tn
541
539
  tooltip: n.tooltip,
542
540
  "is-flat": n.isFlat,
543
541
  "label-span": n.label ? n.labelSpan ?? 7 : 0,
544
- style: Z({ gridColumn: n.col ? `span ${n.col}` : "span 2" })
542
+ style: F({ gridColumn: n.col ? `span ${n.col}` : "span 2" })
545
543
  }, {
546
544
  default: m(() => [
547
- n.type === p(h).image ? (o(), y(C, F({
545
+ n.type === p(h).image ? (o(), y(C, H({
548
546
  key: 0,
549
547
  "model-value": g(n.key)
550
548
  }, { ref_for: !0 }, n.props, {
551
549
  "onUpdate:modelValue": ($) => u(n.key, $)
552
- }), null, 16, ["model-value", "onUpdate:modelValue"])) : n.type === p(h).custom ? (o(), y(A(n.component), F({
550
+ }), null, 16, ["model-value", "onUpdate:modelValue"])) : n.type === p(h).custom ? (o(), y(J(n.component), H({
553
551
  key: 1,
554
552
  com: l.data
555
- }, { ref_for: !0 }, n.props), null, 16, ["com"])) : n.type === p(h).select ? (o(), y(S, F({
553
+ }, { ref_for: !0 }, n.props), null, 16, ["com"])) : n.type === p(h).select ? (o(), y(S, H({
556
554
  key: 2,
557
555
  "model-value": g(n.key),
558
556
  data: R(n)
559
557
  }, { ref_for: !0 }, n.props, {
560
558
  "onUpdate:modelValue": ($) => u(n.key, $),
561
559
  onChange: ($) => void 0
562
- }), null, 16, ["model-value", "data", "onUpdate:modelValue", "onChange"])) : (o(), y(A(D(n.type)), F({
560
+ }), null, 16, ["model-value", "data", "onUpdate:modelValue", "onChange"])) : (o(), y(J(B(n.type)), H({
563
561
  key: 3,
564
562
  "model-value": g(n.key)
565
563
  }, { ref_for: !0 }, n.type === p(h).textarea ? { type: "textarea", ...n.props } : n.props, {
@@ -575,7 +573,7 @@ const Dn = { class: "schema-renderer" }, Bn = { class: "schema-container" }, Tn
575
573
  ]);
576
574
  };
577
575
  }
578
- }), En = /* @__PURE__ */ T(Tn, [["__scopeId", "data-v-5a0421f2"]]), Pn = H({
576
+ }), En = /* @__PURE__ */ T(Tn, [["__scopeId", "data-v-5a0421f2"]]), Pn = L({
579
577
  name: "SettingPanel",
580
578
  components: {
581
579
  ConfigTitle: Vn,
@@ -583,7 +581,7 @@ const Dn = { class: "schema-renderer" }, Bn = { class: "schema-container" }, Tn
583
581
  SchemaRenderer: En
584
582
  },
585
583
  setup() {
586
- const l = Q(X), r = L(() => l?.value ? xn(l.value.name) : []);
584
+ const l = Q(X), r = Z(() => l?.value ? xn(l.value.name) : []);
587
585
  return {
588
586
  ComType: W,
589
587
  com: l,
@@ -594,7 +592,7 @@ const Dn = { class: "schema-renderer" }, Bn = { class: "schema-container" }, Tn
594
592
  key: 0,
595
593
  class: "setting-panel"
596
594
  }, Un = { class: "setting-panel-content" }, zn = { class: "scroll-container" };
597
- function Nn(l, r, v, b, x, D) {
595
+ function Nn(l, r, v, k, x, B) {
598
596
  const g = M("ConfigTitle"), u = M("ChildrenManager"), _ = M("SchemaRenderer");
599
597
  return l.com ? (o(), c("div", Gn, [
600
598
  d(g),
@@ -610,7 +608,7 @@ function Nn(l, r, v, b, x, D) {
610
608
  class: "title",
611
609
  style: { "margin-bottom": "10px" }
612
610
  }, " 组件属性 ", -1)),
613
- (o(), y(A(`${l.com.name}Prop`), {
611
+ (o(), y(J(`${l.com.name}Prop`), {
614
612
  key: l.com.id,
615
613
  com: l.com
616
614
  }, null, 8, ["com"])),
@@ -620,7 +618,7 @@ function Nn(l, r, v, b, x, D) {
620
618
  ])
621
619
  ])) : P("", !0);
622
620
  }
623
- const it = /* @__PURE__ */ T(Pn, [["render", Nn], ["__scopeId", "data-v-52879e89"]]);
621
+ const rt = /* @__PURE__ */ T(Pn, [["render", Nn], ["__scopeId", "data-v-52879e89"]]);
624
622
  export {
625
- it as default
623
+ rt as default
626
624
  };
@@ -1,24 +1,6 @@
1
- import { createElementBlock as t, openBlock as n, createElementVNode as s } from "vue";
2
- import { _ as o } from "./index-D6ZS8SXJ.js";
3
- const e = {}, i = {
4
- t: "1640066119610",
5
- class: "icon",
6
- viewBox: "0 0 1024 1024",
7
- version: "1.1",
8
- xmlns: "http://www.w3.org/2000/svg",
9
- "p-id": "3996",
10
- width: "64",
11
- height: "64"
12
- };
13
- function r(l, c) {
14
- return n(), t("svg", i, [...c[0] || (c[0] = [
15
- s("path", {
16
- d: "M881.90000001 853.10000001H142.09999999c-17.10000001 0-28.8 11.70000001-28.79999998 28.79999998s11.70000001 28.8 28.8 28.8h739.8c17.10000001 0 28.8-11.70000001 28.8-28.8s-11.70000001-28.8-28.8-28.8zM146.6 823.4l243-57.6 419.4-423c9.90000001-9.90000001 15.30000001-22.50000001 15.30000001-36s-5.4-26.10000001-15.30000001-36l-144-144c-10.8-10.8-25.2-15.30000001-35.10000001-15.30000001-14.4 0-25.2 4.50000001-35.99999998 15.30000001L170 551.6 113.29999999 789.2v0.90000001c0 10.8 5.4 21.6 10.80000002 26.99999998 6.30000001 6.30000001 17.10000001 6.30000001 22.49999999 6.30000001zM675.8 395L381.49999999 689.30000001 248.29999999 555.2l289.80000002-289.8L675.8 395zM336.49999999 725.30000001l-162.89999999 37.79999998 37.8-162.89999999 125.10000001 125.10000001zM575 229.4l54.90000001-54.90000001 133.19999998 133.20000002-51.29999999 51.29999999L575 229.4z",
17
- "p-id": "3997"
18
- }, null, -1)
19
- ])]);
20
- }
21
- const v = /* @__PURE__ */ o(e, [["render", r]]), a = {}, d = {
1
+ import { createElementBlock as t, openBlock as l, createElementVNode as n } from "vue";
2
+ import { _ as o } from "./index-CZJriuFt.js";
3
+ const s = {}, a = {
22
4
  t: "1640066257565",
23
5
  class: "icon",
24
6
  viewBox: "0 0 1024 1024",
@@ -28,15 +10,15 @@ const v = /* @__PURE__ */ o(e, [["render", r]]), a = {}, d = {
28
10
  width: "64",
29
11
  height: "64"
30
12
  };
31
- function _(l, c) {
32
- return n(), t("svg", d, [...c[0] || (c[0] = [
33
- s("path", {
13
+ function r(e, c) {
14
+ return l(), t("svg", a, [...c[0] || (c[0] = [
15
+ n("path", {
34
16
  d: "M942.53 70.64l0.72 0.72a30 30 0 0 1 0 42.15L114.97999999 953.09a29.82000001 29.82000001 0 0 1-39.32999999 2.76l-3.57-3.21a30 30 0 0 1 0-42.15l158.55-160.65c-54.45-46.2-105.24-107.25-152.43-183.15l-7.35-12a61.56 61.56 0 0 1 0-63.6c122.04-201.93 268.74000001-302.91 440.1-302.91000001 76.23 0 147.75 19.98000001 214.5 60l174.9-177.26999999a29.82000001 29.82000001 0 0 1 42.18-0.3zM808.79 310.69999999c48.36 44.10000001 93.90000001 100.05 136.62 167.91000001l7.59 12.21000001c12 19.65 12 44.52 0 64.16999999-123.45 201.75-270.81 302.61-442.05 302.61-68.58000001 0-133.2-16.17-193.86-48.48l44.85000001-45.45a346.77 346.77 0 0 0 149.00999999 33.09c148.26000001 0 277.68-88.62000001 391.02-273.84l-7.2-11.58000001c-40.71-64.74000001-83.52-117.15-128.46-157.61999999l42.48-43.02000001z m-297.84-61.67999998c-148.23 0-276.93 88.59-388.92 273.89999999l6.96 11.31c45.30000001 72.90000001 93.33 130.2 144.24 172.41l85.32-86.49a183.54000001 183.54000001 0 0 1-27.66-97.26c0-100.83 80.64-182.58000001 180.12-182.58 35.25 0 68.16 10.29 95.94 28.05l74.46-75.51a350.4 350.4 0 0 0-170.46-43.8z m163.74 197.60999999c10.56 23.22000001 16.41 49.05 16.41000001 76.26 0 100.83-80.61 182.58000001-180.09000001 182.58a177.42000001 177.42000001 0 0 1-75.24-16.65000001l46.95-47.60999999c9.09 2.21999999 18.54000001 3.39 28.29 3.39 66.30000001 0 120.06000001-54.48 120.06-121.71a123.6 123.6 0 0 0-3.32999999-28.65l46.94999999-47.61z m-163.68-45.45000001c-66.30000001 0-120.09 54.48-120.09 121.71000001 0 18.81 4.2 36.6 11.70000001 52.5l160.2-162.33000001a118.26000001 118.26000001 0 0 0-51.81000001-11.87999998z",
35
17
  "p-id": "3997"
36
18
  }, null, -1)
37
19
  ])]);
38
20
  }
39
- const f = /* @__PURE__ */ o(a, [["render", _]]), w = {}, m = {
21
+ const w = /* @__PURE__ */ o(s, [["render", r]]), i = {}, d = {
40
22
  t: "1640066217655",
41
23
  class: "icon",
42
24
  viewBox: "0 0 1024 1024",
@@ -46,17 +28,16 @@ const f = /* @__PURE__ */ o(a, [["render", _]]), w = {}, m = {
46
28
  width: "64",
47
29
  height: "64"
48
30
  };
49
- function h(l, c) {
50
- return n(), t("svg", m, [...c[0] || (c[0] = [
51
- s("path", {
31
+ function m(e, c) {
32
+ return l(), t("svg", d, [...c[0] || (c[0] = [
33
+ n("path", {
52
34
  d: "M510.95 182c167.76 0 312.6 95.46 434.46 286.35l7.59 12.06c12 19.35 12 43.86 0 63.24C829.52 742.55 682.16 842 510.92 842c-167.94 0-312.18-95.61-432.75-286.8l-7.35-11.85a59.97 59.97 0 0 1 0-62.7C192.89 281.6 339.59 182 510.95 182z m0 60C362.72 242 234.02 329.33 122 512l6.96 11.19C239.39 698.27 365.72 782 510.95 782c148.26 0 277.68-87.36 391.02-270l-7.2-11.4C783.17 325.7 656.15 242 510.98 242z m0.06 90a180.06 180.06 0 0 1 180.09 180c0 99.42-80.61 180-180.09 180a180.06 180.06 0 0 1-180.12-180c0-99.42 80.64-180 180.12-180z m0 60a120.03 120.03 0 1 0 0 240 120.03 120.03 0 1 0 0-240z",
53
35
  "p-id": "3997"
54
36
  }, null, -1)
55
37
  ])]);
56
38
  }
57
- const g = /* @__PURE__ */ o(w, [["render", h]]);
39
+ const h = /* @__PURE__ */ o(i, [["render", m]]);
58
40
  export {
59
- g as I,
60
- f as a,
61
- v as b
41
+ h as I,
42
+ w as a
62
43
  };
@@ -1,4 +1,4 @@
1
- import { F as t } from "./index-D6ZS8SXJ.js";
1
+ import { bw as t } from "./index-CZJriuFt.js";
2
2
  class i extends t {
3
3
  config = {
4
4
  visible: !0,
@@ -0,0 +1,6 @@
1
+ import { bj as a } from "./index-CZJriuFt.js";
2
+ const p = (e = "") => e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d"), t = (e) => a(e);
3
+ export {
4
+ t as c,
5
+ p as e
6
+ };