epic-designer-gold 1.0.23 → 1.0.25

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 (33) hide show
  1. package/dist/{attributeView-BNUb6_IW.js → attributeView-CFfmxcU9.js} +1 -1
  2. package/dist/{attributeView-DWt2LmYW.cjs → attributeView-DZE3sT--.cjs} +1 -1
  3. package/dist/{index-DMK88APm.js → index-BA7FMts9.js} +1 -1
  4. package/dist/{index-BFvmsqbe.cjs → index-BLihjCNa.cjs} +1 -1
  5. package/dist/{index-BHOIdcXu.cjs → index-Bhxsxvjz.cjs} +1 -1
  6. package/dist/index-Btz7ejRx.cjs +10 -0
  7. package/dist/{index-DiOxIVVT.cjs → index-C6FCo-HH.cjs} +1 -1
  8. package/dist/{index-gBxflsvp.cjs → index-Cdk7yCxQ.cjs} +1 -1
  9. package/dist/{index-CiD7TDSJ.js → index-CjOFrMw5.js} +1 -1
  10. package/dist/{index-BUqQozMa.js → index-CzAoXJXL.js} +1 -1
  11. package/dist/{index-DOoGneHO.js → index-D0AvdGjo.js} +1 -1
  12. package/dist/{index-CKwY7AEV.cjs → index-D79BnQLI.cjs} +1 -1
  13. package/dist/{index-C2a8y8Ga.js → index-D83uXkXA.js} +298 -290
  14. package/dist/index-DGRQyNXm.js +4 -0
  15. package/dist/{index-8d-o3NGf.cjs → index-DOZDUgRO.cjs} +1 -1
  16. package/dist/{index-DOa-ZTwb.js → index-Dk08eIJW.js} +1 -1
  17. package/dist/{index-BVlZScLX.cjs → index-DzGAy8Ku.cjs} +1 -1
  18. package/dist/{index-CJwoNKC6.cjs → index-LMTPTgvs.cjs} +1 -1
  19. package/dist/{index-rjUej4xS.js → index-jj4e1UZY.js} +1 -1
  20. package/dist/{index-G5QRu6oQ.js → index-y2l3KPim.js} +1 -1
  21. package/dist/index.cjs +1 -1
  22. package/dist/index.js +1 -1
  23. package/dist/{selectPage-CzRf24Dg.js → selectPage-DU5m5Bop.js} +17 -17
  24. package/dist/selectPage-DoF_EREC.cjs +1 -0
  25. package/dist/style.css +1 -1
  26. package/dist/{styleView-C8AriP_c.js → styleView-BqdHZS9i.js} +1 -1
  27. package/dist/{styleView-BCUpAdf3.cjs → styleView-BymvZDlS.cjs} +1 -1
  28. package/dist/ui/elementPlus/index.cjs +1 -1
  29. package/dist/ui/elementPlus/index.js +1 -1
  30. package/package.json +1 -1
  31. package/dist/index-CqmFt57U.js +0 -4
  32. package/dist/index-XixK3NVo.cjs +0 -10
  33. package/dist/selectPage-DPd8j93L.cjs +0 -1
@@ -1,17 +1,17 @@
1
- import { ref as P, reactive as re, defineComponent as le, openBlock as H, createBlock as Y, unref as R, mergeProps as be, withCtx as T, renderSlot as K, getCurrentInstance as ue, inject as ne, watch as B, useAttrs as Re, provide as Z, shallowRef as Ue, computed as W, watchEffect as he, onUnmounted as $e, resolveComponent as Te, resolveDynamicComponent as Be, createVNode as Q, createCommentVNode as Ne, useSlots as Le, createElementBlock as Ee, Suspense as Fe, createElementVNode as k, Fragment as Je, renderList as ze, nextTick as ce, effectScope as He, isRef as Ke, getCurrentScope as Ze, onScopeDispose as We, onMounted as Ae, normalizeClass as Ge, toRaw as Ie } from "vue";
2
- import { p as z, f as Qe, d as ae, a as G, b as Ve, c as Ye, E as j, l as se, g as qe, e as Xe } from "./pluginManager-BCnrHPYv.js";
1
+ import { ref as V, reactive as ae, defineComponent as ie, openBlock as H, createBlock as q, unref as R, mergeProps as be, withCtx as T, renderSlot as K, getCurrentInstance as fe, inject as oe, watch as B, useAttrs as Re, provide as Z, shallowRef as Ue, computed as W, watchEffect as he, onUnmounted as $e, resolveComponent as Te, resolveDynamicComponent as Be, createVNode as Y, createCommentVNode as Ne, useSlots as Le, createElementBlock as Ee, Suspense as Pe, createElementVNode as k, Fragment as Je, renderList as ze, nextTick as de, effectScope as He, isRef as Ke, getCurrentScope as Ze, onScopeDispose as We, onMounted as Ae, normalizeClass as Ge, toRaw as Ie } from "vue";
2
+ import { p as z, f as Qe, d as ce, a as G, b as Fe, c as Ye, E as j, l as le, g as qe, e as Xe } from "./pluginManager-BCnrHPYv.js";
3
3
  import { a as pe, u as Oe } from "./index-B1s67XDZ.js";
4
4
  import { a as _e } from "./axios-CXDYiOMX.js";
5
5
  function Lt(e, n) {
6
- let s = null;
7
- return (...r) => {
8
- s && clearTimeout(s), s = setTimeout(() => {
9
- e(...r);
6
+ let r = null;
7
+ return (...s) => {
8
+ r && clearTimeout(r), r = setTimeout(() => {
9
+ e(...s);
10
10
  }, n);
11
11
  };
12
12
  }
13
- function Pe() {
14
- const e = P({}), n = P({}), s = P(!1), r = P([]), c = re({});
13
+ function Ve() {
14
+ const e = V({}), n = V({}), r = V(!1), s = V([]), c = ae({});
15
15
  function a(p) {
16
16
  return e.value[p];
17
17
  }
@@ -21,9 +21,9 @@ function Pe() {
21
21
  function g(p) {
22
22
  delete e.value[p];
23
23
  }
24
- function h(p, D = !1) {
24
+ function m(p, D = !1) {
25
25
  const I = Object.entries(z.publicMethods).reduce(
26
- (C, [m, U]) => (C[m] = U.handler, C),
26
+ (C, [h, U]) => (C[h] = U.handler, C),
27
27
  {}
28
28
  );
29
29
  try {
@@ -77,8 +77,8 @@ function Pe() {
77
77
  var I, C;
78
78
  try {
79
79
  (C = (I = n.value)[p.methodName]) == null || C.call(I, ...D);
80
- } catch (m) {
81
- console.error(`[Epic:自定义函数(${p.methodName})]执行异常:`, m);
80
+ } catch (h) {
81
+ console.error(`[Epic:自定义函数(${p.methodName})]执行异常:`, h);
82
82
  }
83
83
  }
84
84
  function d(p, D) {
@@ -94,22 +94,22 @@ function Pe() {
94
94
  }
95
95
  }
96
96
  function S(p = !0) {
97
- s.value = p;
97
+ r.value = p;
98
98
  }
99
99
  function y(p) {
100
100
  const D = Qe(p, () => !0);
101
- r.value = D.map((I) => I.id);
101
+ s.value = D.map((I) => I.id);
102
102
  }
103
103
  function E(p, D = "default") {
104
104
  if (c[D]) {
105
105
  const I = c[D];
106
- ae(p, I);
106
+ ce(p, I);
107
107
  }
108
108
  c[D] = p;
109
109
  }
110
110
  function M(p, D = "default") {
111
111
  if (c[D]) {
112
- ae(c[D], p, !1);
112
+ ce(c[D], p, !1);
113
113
  return;
114
114
  }
115
115
  c[D] = p;
@@ -117,8 +117,8 @@ function Pe() {
117
117
  return {
118
118
  componentInstances: e,
119
119
  funcs: n,
120
- isDesignMode: s,
121
- defaultComponentIds: r,
120
+ isDesignMode: r,
121
+ defaultComponentIds: s,
122
122
  forms: c,
123
123
  addFormData: E,
124
124
  setFormData: M,
@@ -127,48 +127,48 @@ function Pe() {
127
127
  find: a,
128
128
  addComponentInstance: w,
129
129
  removeComponentInstance: g,
130
- setMethods: h,
130
+ setMethods: m,
131
131
  doActions: O,
132
132
  setDesignMode: S,
133
133
  setDefaultComponentIds: y
134
134
  };
135
135
  }
136
136
  function ke() {
137
- const e = P([]), n = P([]), s = P(null);
138
- let r = 0;
139
- function c(h, N = "插入组件") {
137
+ const e = V([]), n = V([]), r = V(null);
138
+ let s = 0;
139
+ function c(m, N = "插入组件") {
140
140
  const O = Date.now();
141
- r + 150 > O || (r = O, s.value != null && (e.value.push(s.value), n.value.splice(0, n.value.length)), s.value = {
141
+ s + 150 > O || (s = O, r.value != null && (e.value.push(r.value), n.value.splice(0, n.value.length)), r.value = {
142
142
  type: N,
143
- componentSchema: JSON.stringify(h)
143
+ componentSchema: JSON.stringify(m)
144
144
  }, e.value.length > 60 && e.value.unshift());
145
145
  }
146
146
  function a() {
147
147
  if (e.value.length === 0)
148
148
  return !1;
149
- const h = e.value.pop();
150
- return s.value != null && n.value.push(s.value), s.value = h, JSON.parse(h.componentSchema);
149
+ const m = e.value.pop();
150
+ return r.value != null && n.value.push(r.value), r.value = m, JSON.parse(m.componentSchema);
151
151
  }
152
152
  function w() {
153
153
  if (n.value.length === 0)
154
154
  return !1;
155
- const h = n.value.pop();
156
- return s.value != null && e.value.push(s.value), s.value = h, JSON.parse(h.componentSchema);
155
+ const m = n.value.pop();
156
+ return r.value != null && e.value.push(r.value), r.value = m, JSON.parse(m.componentSchema);
157
157
  }
158
158
  function g() {
159
- e.value = [], n.value = [], s.value = null;
159
+ e.value = [], n.value = [], r.value = null;
160
160
  }
161
161
  return {
162
162
  recordList: e,
163
163
  undoList: n,
164
- currentRecord: s,
164
+ currentRecord: r,
165
165
  push: c,
166
166
  undo: a,
167
167
  redo: w,
168
168
  reset: g
169
169
  };
170
170
  }
171
- const je = /* @__PURE__ */ le({
171
+ const je = /* @__PURE__ */ ie({
172
172
  __name: "dynamicFormItem",
173
173
  props: {
174
174
  hasFormItem: { type: Boolean },
@@ -176,22 +176,22 @@ const je = /* @__PURE__ */ le({
176
176
  },
177
177
  emits: ["updateFormItemRef"],
178
178
  setup(e, { emit: n }) {
179
- const s = z.getComponent("form-item"), r = e, c = n, a = P(), w = () => {
179
+ const r = z.getComponent("form-item"), s = e, c = n, a = V(), w = () => {
180
180
  c("updateFormItemRef", a.value);
181
181
  };
182
- return (g, h) => r.hasFormItem ? (H(), Y(R(s), be({
182
+ return (g, m) => s.hasFormItem ? (H(), q(R(r), be({
183
183
  key: 0,
184
184
  ref_key: "formItemRef",
185
185
  ref: a,
186
186
  onVnodeMounted: w
187
- }, r.formItemProps), {
187
+ }, s.formItemProps), {
188
188
  default: T(() => [
189
189
  K(g.$slots, "default")
190
190
  ]),
191
191
  _: 3
192
192
  }, 16, ["onVnodeMounted"])) : K(g.$slots, "default", { key: 1 });
193
193
  }
194
- }), et = /* @__PURE__ */ le({
194
+ }), et = /* @__PURE__ */ ie({
195
195
  name: "ENode",
196
196
  __name: "node",
197
197
  props: {
@@ -206,16 +206,16 @@ const je = /* @__PURE__ */ le({
206
206
  },
207
207
  emits: ["update:modelValue", "change", "update:dynamicId"],
208
208
  setup(e, { emit: n }) {
209
- const { proxy: s } = ue(), r = e, c = P(null);
210
- let a = ne("formData", re({}));
211
- const w = ne("slots", {}), g = ne("pageManager", {}), h = ne("disabled", { value: !1 }), N = ne("ruleFieldPrefix", null), O = ne("resetFormData", !1);
212
- let t = re(G(r.componentSchema));
209
+ const { proxy: r } = fe(), s = e, c = V(null);
210
+ let a = oe("formData", ae({}));
211
+ const w = oe("slots", {}), g = oe("pageManager", {}), m = oe("disabled", { value: !1 }), N = oe("ruleFieldPrefix", null), O = oe("resetFormData", !1);
212
+ let t = ae(G(s.componentSchema));
213
213
  S();
214
214
  async function x(o) {
215
- if (["cascader", "checkbox", "select", "radio"].includes(o.type) && o.componentProps.dynamicId && r.sourceDateUrl) {
215
+ if (["cascader", "checkbox", "select", "radio"].includes(o.type) && o.componentProps.dynamicId && s.sourceDateUrl) {
216
216
  const u = (await _e({
217
217
  // || "http://192.168.28.205:3000/dev-api/data-source
218
- url: r.sourceDateUrl,
218
+ url: s.sourceDateUrl,
219
219
  method: "get",
220
220
  params: {
221
221
  id: o.componentProps.dynamicId
@@ -243,8 +243,8 @@ const je = /* @__PURE__ */ le({
243
243
  }
244
244
  });
245
245
  if (u && (u != null && u.dataPath)) {
246
- const q = u.dataPath.split(".").reduce((de, fe) => de[fe], _.data);
247
- o.componentProps.options = d(q, u.dataKey, u.dataValue);
246
+ const Q = u.dataPath.split(".").reduce((te, re) => te[re], _.data);
247
+ o.componentProps.options = d(Q, u.dataKey, u.dataValue);
248
248
  } else
249
249
  o.componentProps.options = d(_.data, u.dataKey, u.dataValue);
250
250
  return o;
@@ -262,9 +262,9 @@ const je = /* @__PURE__ */ le({
262
262
  }) : [];
263
263
  }
264
264
  B(
265
- () => r.componentSchema,
265
+ () => s.componentSchema,
266
266
  (o) => {
267
- Ve(t, o, ["children"]) || (ae(t, G(o)), S());
267
+ Fe(t, o, ["children"]) || (ce(t, G(o)), S());
268
268
  },
269
269
  {
270
270
  deep: !0
@@ -273,15 +273,15 @@ const je = /* @__PURE__ */ le({
273
273
  function S() {
274
274
  g.isDesignMode.value && typeof t.field == "string" && (t.field += "-design-mode");
275
275
  }
276
- (r.resetFormData || O) && (a = {});
277
- const y = n, E = P(), M = P(), p = (o) => {
276
+ (s.resetFormData || O) && (a = {});
277
+ const y = n, E = V(), M = V(), p = (o) => {
278
278
  M.value = o;
279
279
  }, D = Re();
280
280
  Object.keys(D).length && Z("nodeAttrs", D);
281
281
  const I = Ue(null), C = W(() => {
282
282
  var o, l;
283
283
  return (o = t.componentProps) != null && o.hidden ? !1 : typeof t.show == "boolean" ? t.show : ((l = t.show) == null ? void 0 : l.call(t, { values: a })) ?? !0;
284
- }), m = W(() => {
284
+ }), h = W(() => {
285
285
  var u;
286
286
  const o = C.value && ((u = t.rules) == null ? void 0 : u.map((_) => ({
287
287
  ..._,
@@ -289,7 +289,7 @@ const je = /* @__PURE__ */ le({
289
289
  // 自定义校验函数
290
290
  })));
291
291
  let l = t.field;
292
- r.ruleField ? l = r.ruleField : N && t.field && (l = G(N), l.push(t.field));
292
+ s.ruleField ? l = s.ruleField : N && t.field && (l = G(N), l.push(t.field));
293
293
  const $ = {
294
294
  ...t,
295
295
  rules: o,
@@ -298,29 +298,37 @@ const je = /* @__PURE__ */ le({
298
298
  };
299
299
  return $.children && delete $.children, $;
300
300
  }), U = W(() => {
301
- var $, u, _;
301
+ var $, u, _, J, Q;
302
302
  const o = (($ = L.value) == null ? void 0 : $.bindModel) ?? "modelValue", l = {};
303
- return t.on && Object.keys(t.on).forEach((J) => {
304
- l[`on${Ye(J)}`] = (...q) => g.doActions(t.on[J], ...q);
303
+ return t.on && Object.keys(t.on).forEach((te) => {
304
+ l[`on${Ye(te)}`] = (...re) => g.doActions(t.on[te], ...re);
305
305
  }), t.type === "selectpage" && (t.componentProps.defaultData = {
306
306
  value: a[t.field],
307
307
  label: a[a[t.field]]
308
+ }), console.log("%c [ ]-309", "font-size:13px; background:pink; color:#bf2c9f;", {
309
+ ...s,
310
+ ...t.componentProps,
311
+ sourceDateUrl: s.sourceDateUrl,
312
+ // 为了避免禁用对超链接输入框点击的影响
313
+ disabled: s.componentSchema.type === "input" && s.componentSchema.componentProps && ((u = s.componentSchema.componentProps) != null && u.isLink) ? !1 : (m == null ? void 0 : m.value) || ((_ = t.componentProps) == null ? void 0 : _.disabled),
314
+ bindModel: o,
315
+ ...l
308
316
  }), {
309
- ...r,
317
+ ...s,
310
318
  ...t.componentProps,
311
- sourceDateUrl: r.sourceDateUrl,
319
+ sourceDateUrl: s.sourceDateUrl,
312
320
  // 为了避免禁用对超链接输入框点击的影响
313
- disabled: r.componentSchema.type === "input" && r.componentSchema.componentProps && ((u = r.componentSchema.componentProps) != null && u.isLink) ? !1 : (h == null ? void 0 : h.value) || ((_ = t.componentProps) == null ? void 0 : _.disabled),
321
+ disabled: s.componentSchema.type === "input" && s.componentSchema.componentProps && ((J = s.componentSchema.componentProps) != null && J.isLink) ? !1 : (m == null ? void 0 : m.value) || ((Q = t.componentProps) == null ? void 0 : Q.disabled),
314
322
  bindModel: o,
315
323
  ...l
316
324
  };
317
325
  }), L = W(() => z.getComponentConfingByType(t.type) ?? null);
318
326
  he(() => {
319
- c.value = r.modelValue ?? a[t.field ?? ""];
327
+ c.value = s.modelValue ?? a[t.field ?? ""];
320
328
  }), B(
321
329
  () => c.value,
322
330
  () => {
323
- c.value !== (r.modelValue ?? a[t.field ?? ""]) && i(c.value);
331
+ c.value !== (s.modelValue ?? a[t.field ?? ""]) && i(c.value);
324
332
  }
325
333
  ), B(
326
334
  () => E.value,
@@ -331,8 +339,8 @@ const je = /* @__PURE__ */ le({
331
339
  );
332
340
  function A() {
333
341
  var l;
334
- const o = E.value || s;
335
- t.id && o && ((t.input || t.type === "table" && t.field || t.type === "card" && t.field && t.multiple) && (o.setValue = i, o.getValue = () => a[t.field] || r.modelValue), o.setAttr = ($, u) => (t.componentProps || (t.componentProps = {}), t.componentProps[$] = u), o.getAttr = ($) => t.componentProps[$], g.addComponentInstance(t.id, o), (l = L.value) != null && l.defaultSchema.input && t.noFormItem !== !0 && M.value && g.addComponentInstance(t.id + "formItem", M.value));
342
+ const o = E.value || r;
343
+ t.id && o && ((t.input || t.type === "table" && t.field || t.type === "card" && t.field && t.multiple) && (o.setValue = i, o.getValue = () => a[t.field] || s.modelValue), o.setAttr = ($, u) => (t.componentProps || (t.componentProps = {}), t.componentProps[$] = u), o.getAttr = ($) => t.componentProps[$], g.addComponentInstance(t.id, o), (l = L.value) != null && l.defaultSchema.input && t.noFormItem !== !0 && M.value && g.addComponentInstance(t.id + "formItem", M.value));
336
344
  }
337
345
  function v() {
338
346
  var o;
@@ -347,7 +355,7 @@ const je = /* @__PURE__ */ le({
347
355
  if (t.type === "slot") {
348
356
  const _ = t.slotName;
349
357
  if (!_) return;
350
- I.value = le({
358
+ I.value = ie({
351
359
  setup() {
352
360
  return () => K(w, _, {
353
361
  componentSchema: t,
@@ -371,15 +379,15 @@ const je = /* @__PURE__ */ le({
371
379
  function f(o) {
372
380
  console.log("%c [ v ]-462", "font-size:13px; background:pink; color:#bf2c9f;", o), Object.prototype.toString.call(o) === "[object Array]" ? o.forEach((l) => {
373
381
  a[l.value] = l.label;
374
- }) : a[o.value] = o.label, r.id ? j.emit("updateformData" + r.id, a) : j.emit("updateformData", a);
382
+ }) : a[o.value] = o.label, s.id ? j.emit("updateformData" + s.id, a) : j.emit("updateformData", a);
375
383
  }
376
384
  function i(o) {
377
- y("update:modelValue", o), y("change", o), t.field && (a[t.field] = o), r.id ? j.emit("updateformData" + r.id, a) : j.emit("updateformData", a);
385
+ y("update:modelValue", o), y("change", o), t.field && (a[t.field] = o), s.id ? j.emit("updateformData" + s.id, a) : j.emit("updateformData", a);
378
386
  }
379
- function F(o) {
387
+ function P(o) {
380
388
  y("update:dynamicId", o);
381
389
  }
382
- let V = null;
390
+ let F = null;
383
391
  return B(
384
392
  () => t,
385
393
  async (o) => {
@@ -391,9 +399,9 @@ const je = /* @__PURE__ */ le({
391
399
  options: null
392
400
  }
393
401
  });
394
- if (l === V)
402
+ if (l === F)
395
403
  return !1;
396
- V = l, ee();
404
+ F = l, ee();
397
405
  },
398
406
  {
399
407
  immediate: !0,
@@ -402,14 +410,14 @@ const je = /* @__PURE__ */ le({
402
410
  ), $e(v), (o, l) => {
403
411
  var u;
404
412
  const $ = Te("ENode");
405
- return I.value && C.value ? (H(), Y(je, {
413
+ return I.value && C.value ? (H(), q(je, {
406
414
  key: 0,
407
415
  hasFormItem: R(t).noFormItem !== !0 && ((u = L.value) == null ? void 0 : u.defaultSchema.input),
408
- formItemProps: m.value,
416
+ formItemProps: h.value,
409
417
  onUpdateFormItemRef: p
410
418
  }, {
411
419
  default: T(() => [
412
- (H(), Y(Be(I.value), be({
420
+ (H(), q(Be(I.value), be({
413
421
  ref_key: "componentInstance",
414
422
  ref: E,
415
423
  onVnodeMounted: A,
@@ -419,13 +427,13 @@ const je = /* @__PURE__ */ le({
419
427
  ["onUpdate:" + U.value.bindModel]: l[0] || (l[0] = (_) => c.value = _),
420
428
  [`onUpdate:${U.value.bindModel}` || ""]: i,
421
429
  "onUpdate:modelValueLabel": f,
422
- "onUpdate:dynamicId": F
430
+ "onUpdate:dynamicId": P
423
431
  }), {
424
432
  node: T((_) => [
425
- Q($, be({
426
- id: r.id
433
+ Y($, be({
434
+ id: s.id
427
435
  }, _, {
428
- sourceDateUrl: r.sourceDateUrl
436
+ sourceDateUrl: s.sourceDateUrl
429
437
  }), null, 16, ["id", "sourceDateUrl"])
430
438
  ]),
431
439
  "edit-node": T(() => [
@@ -440,8 +448,8 @@ const je = /* @__PURE__ */ le({
440
448
  }
441
449
  });
442
450
  function tt() {
443
- const e = P(!1), n = Pe(), s = P({});
444
- function r() {
451
+ const e = V(!1), n = Ve(), r = V({});
452
+ function s() {
445
453
  return new Promise((d) => {
446
454
  if (e.value)
447
455
  d();
@@ -454,8 +462,8 @@ function tt() {
454
462
  }
455
463
  async function c(d = "default") {
456
464
  var y;
457
- await r();
458
- const S = (y = s.value) == null ? void 0 : y[d];
465
+ await s();
466
+ const S = (y = r.value) == null ? void 0 : y[d];
459
467
  if (!S) throw new Error(`表单 [name=${d}] 不存在`);
460
468
  return S;
461
469
  }
@@ -469,49 +477,49 @@ function tt() {
469
477
  function g(d, S = "default", y = void 0) {
470
478
  var E, M;
471
479
  if (y && Object.keys(y).length) {
472
- let p = function(m) {
480
+ let p = function(h) {
473
481
  let U = [];
474
- return m.forEach((L) => {
482
+ return h.forEach((L) => {
475
483
  L.children && (U = [...U, ...p(L.children)]), U.push(L);
476
484
  }), U;
477
- }, I = function(m) {
485
+ }, I = function(h) {
478
486
  var L;
479
487
  let U = p((L = y == null ? void 0 : y.schemas[0]) == null ? void 0 : L.children);
480
- return Object.keys(m).forEach((A) => {
481
- var f, i, F, V, o, l, $;
488
+ return Object.keys(h).forEach((A) => {
489
+ var f, i, P, F, o, l, $;
482
490
  const v = U.find((u) => u.field === A), ee = ["datetimerange", "daterange", "monthrange", "dates"];
483
- if ((v && (v == null ? void 0 : v.type) === "checkbox" || (v == null ? void 0 : v.type) === "select" && ((f = v == null ? void 0 : v.componentProps) != null && f.multiple) || (v == null ? void 0 : v.type) === "cascader" && !((F = (i = v == null ? void 0 : v.componentProps) == null ? void 0 : i.props) != null && F.multiple) || (v == null ? void 0 : v.type) === "date" && ee.includes((V = v == null ? void 0 : v.componentProps) == null ? void 0 : V.type)) && typeof m[A] == "string")
484
- m[A] = (o = m[A]) == null ? void 0 : o.split(",");
485
- else if ((v == null ? void 0 : v.type) === "cascader" && (($ = (l = v == null ? void 0 : v.componentProps) == null ? void 0 : l.props) != null && $.multiple) && typeof m[A] == "string")
486
- m[A].indexOf(";") === -1 && m[A].indexOf(";") === -1 ? m[A][m[A]] : m[A].indexOf(";") > -1 ? m[A] = m[A].split(";").map((u) => u.split(",")) : m[A].indexOf(";") === -1 ? m[A] = m[A].split(",") : m[A].indexOf(";") > -1 ? m[A] = m[A].split(";").map((u) => u.split(",")) : m[A].indexOf(";") === -1 && (m[A] = m[A].split(","));
487
- else if (((v == null ? void 0 : v.type) === "upload-image" || (v == null ? void 0 : v.type) === "upload-file") && typeof m[A] == "string") {
491
+ if ((v && (v == null ? void 0 : v.type) === "checkbox" || (v == null ? void 0 : v.type) === "select" && ((f = v == null ? void 0 : v.componentProps) != null && f.multiple) || (v == null ? void 0 : v.type) === "cascader" && !((P = (i = v == null ? void 0 : v.componentProps) == null ? void 0 : i.props) != null && P.multiple) || (v == null ? void 0 : v.type) === "date" && ee.includes((F = v == null ? void 0 : v.componentProps) == null ? void 0 : F.type)) && typeof h[A] == "string")
492
+ h[A] = (o = h[A]) == null ? void 0 : o.split(",");
493
+ else if ((v == null ? void 0 : v.type) === "cascader" && (($ = (l = v == null ? void 0 : v.componentProps) == null ? void 0 : l.props) != null && $.multiple) && typeof h[A] == "string")
494
+ h[A].indexOf(";") === -1 && h[A].indexOf(";") === -1 ? h[A][h[A]] : h[A].indexOf(";") > -1 ? h[A] = h[A].split(";").map((u) => u.split(",")) : h[A].indexOf(";") === -1 ? h[A] = h[A].split(",") : h[A].indexOf(";") > -1 ? h[A] = h[A].split(";").map((u) => u.split(",")) : h[A].indexOf(";") === -1 && (h[A] = h[A].split(","));
495
+ else if (((v == null ? void 0 : v.type) === "upload-image" || (v == null ? void 0 : v.type) === "upload-file") && typeof h[A] == "string") {
488
496
  let u = [];
489
- Object.entries(m).forEach(([_, J]) => {
490
- m[A] === J && _ !== v.field && _.indexOf("@") > -1 && _.indexOf(A) > -1 && (u = _.split("@")[1].split(","));
491
- }), m[A] = m[A].split(",").map((_, J) => ({
497
+ Object.entries(h).forEach(([_, J]) => {
498
+ h[A] === J && _ !== v.field && _.indexOf("@") > -1 && _.indexOf(A) > -1 && (u = _.split("@")[1].split(","));
499
+ }), h[A] = h[A].split(",").map((_, J) => ({
492
500
  url: _,
493
501
  name: u[J] || _
494
502
  }));
495
- } else (v == null ? void 0 : v.type) === "number" || (v == null ? void 0 : v.type) === "slider" ? m[A] = Number(m[A]) : (v == null ? void 0 : v.type) === "switch" && (m[A] = typeof m[A] == "boolean" ? m[A] : m[A].indexOf("true") > -1);
496
- }), m;
503
+ } else (v == null ? void 0 : v.type) === "number" || (v == null ? void 0 : v.type) === "slider" ? h[A] = Number(h[A]) : (v == null ? void 0 : v.type) === "switch" && (h[A] = typeof h[A] == "boolean" ? h[A] : h[A].indexOf("true") > -1);
504
+ }), h;
497
505
  }(d);
498
506
  n.setFormData(I, S);
499
- const C = (E = s.value) == null ? void 0 : E[S];
507
+ const C = (E = r.value) == null ? void 0 : E[S];
500
508
  C == null || C.clearValidate();
501
509
  } else {
502
510
  n.setFormData(d, S);
503
- const p = (M = s.value) == null ? void 0 : M[S];
511
+ const p = (M = r.value) == null ? void 0 : M[S];
504
512
  p == null || p.clearValidate();
505
513
  }
506
514
  }
507
- async function h(d = "default") {
515
+ async function m(d = "default") {
508
516
  return await a(d, async (S) => (await S.validate(), await S.getData()));
509
517
  }
510
518
  async function N(d) {
511
- await r();
519
+ await s();
512
520
  const S = {};
513
- for (const y in s.value) {
514
- const E = s.value[y];
521
+ for (const y in r.value) {
522
+ const E = r.value[y];
515
523
  E && (S[y] = G(await d(E)));
516
524
  }
517
525
  return S;
@@ -529,10 +537,10 @@ function tt() {
529
537
  return {
530
538
  ready: e,
531
539
  pageManager: n,
532
- forms: s,
540
+ forms: r,
533
541
  getData: w,
534
542
  setData: g,
535
- validate: h,
543
+ validate: m,
536
544
  getForms: O,
537
545
  setForms: t,
538
546
  validateAll: x,
@@ -542,7 +550,7 @@ function tt() {
542
550
  const nt = {
543
551
  key: 0,
544
552
  class: "epic-loading-box"
545
- }, ot = { class: "epic-builder-main" }, st = { class: "epic-loading-box" }, rt = /* @__PURE__ */ le({
553
+ }, ot = { class: "epic-builder-main" }, st = { class: "epic-loading-box" }, rt = /* @__PURE__ */ ie({
546
554
  __name: "builder",
547
555
  props: {
548
556
  pageSchema: {},
@@ -552,14 +560,14 @@ const nt = {
552
560
  id: {}
553
561
  },
554
562
  emits: ["change", "ready"],
555
- setup(e, { expose: n, emit: s }) {
556
- const r = se(() => import("./index-DgcFxYFp.js")), c = s, a = P([]), w = P({}), { ready: g, pageManager: h, forms: N, getData: O, setData: t, validate: x, getForms: d, setForms: S, validateAll: y, getFormInstance: E } = tt(), M = e, p = re({
563
+ setup(e, { expose: n, emit: r }) {
564
+ const s = le(() => import("./index-DgcFxYFp.js")), c = r, a = V([]), w = V({}), { ready: g, pageManager: m, forms: N, getData: O, setData: t, validate: x, getForms: d, setForms: S, validateAll: y, getFormInstance: E } = tt(), M = e, p = ae({
557
565
  schemas: []
558
566
  });
559
567
  B(
560
568
  () => M.pageSchema,
561
569
  (f) => {
562
- ae(p, f);
570
+ ce(p, f);
563
571
  },
564
572
  {
565
573
  immediate: !0,
@@ -580,82 +588,82 @@ const nt = {
580
588
  );
581
589
  function D(f) {
582
590
  let i = [];
583
- return f.forEach((F) => {
584
- F.children && (i = [...i, ...D(F.children)]), i.push(F);
591
+ return f.forEach((P) => {
592
+ P.children && (i = [...i, ...D(P.children)]), i.push(P);
585
593
  }), i;
586
594
  }
587
595
  function I(f, i) {
588
- function F(o) {
596
+ function P(o) {
589
597
  return JSON.parse(JSON.stringify(o));
590
598
  }
591
- function V(o, l) {
599
+ function F(o, l) {
592
600
  if (o.type === "card" && o.multiple && o.field && Array.isArray(l[o.field]))
593
601
  return l[o.field].map((u) => {
594
602
  var J;
595
- const _ = F({ ...o, multiple: !0 });
596
- return _.children = (J = _.children) == null ? void 0 : J.map((q) => V(q, u)).flat(), _;
603
+ const _ = P({ ...o, multiple: !0 });
604
+ return _.children = (J = _.children) == null ? void 0 : J.map((Q) => F(Q, u)).flat(), _;
597
605
  });
598
- const $ = F(o);
599
- return Array.isArray($.children) && ($.children = $.children.map((u) => V(u, l)).flat()), $;
606
+ const $ = P(o);
607
+ return Array.isArray($.children) && ($.children = $.children.map((u) => F(u, l)).flat()), $;
600
608
  }
601
- return f.map((o) => V(o, i)).flat();
609
+ return f.map((o) => F(o, i)).flat();
602
610
  }
603
- function C(f, i = "", F = { root: 0 }) {
604
- const V = i || "root";
605
- return i || (F.root = 0), F[V] === void 0 && (F[V] = 0), f.map((o) => {
611
+ function C(f, i = "", P = { root: 0 }) {
612
+ const F = i || "root";
613
+ return i || (P.root = 0), P[F] === void 0 && (P[F] = 0), f.map((o) => {
606
614
  o.field && (o.oldField = JSON.parse(JSON.stringify(o.field)));
607
615
  const l = { ...o };
608
616
  if (o.type === "card") {
609
617
  const $ = o.field || "";
610
- o.multiple ? (l.field = i ? `${i}.${$}[${F[V]}]` : `${$}[${F[V]}]`, F[V]++) : o.field && i && (l.field = `${i}.${$}`);
618
+ o.multiple ? (l.field = i ? `${i}.${$}[${P[F]}]` : `${$}[${P[F]}]`, P[F]++) : o.field && i && (l.field = `${i}.${$}`);
611
619
  const u = l.field || i;
612
- F[u] = 0;
620
+ P[u] = 0;
613
621
  } else o.field && i && (l.field = `${i}.${o.field}`);
614
- return o.children && (l.children = C(o.children, l.field || i, F)), l;
622
+ return o.children && (l.children = C(o.children, l.field || i, P)), l;
615
623
  });
616
624
  }
617
- function m(f, i, F = "", V = {}) {
618
- const o = F || "root";
619
- return V[o] === void 0 && (V[o] = 0), f.forEach((l) => {
625
+ function h(f, i, P = "", F = {}) {
626
+ const o = P || "root";
627
+ return F[o] === void 0 && (F[o] = 0), f.forEach((l) => {
620
628
  const $ = l.field || "";
621
- let u = F ? `${F}.${$}` : `${$}`;
622
- l.type === "card" && l.multiple ? (typeof i[u][`${V[o]}`] == "object" ? Object.keys(i[u][`${V[o]}`]).forEach((_) => {
623
- i[`${u}[${V[o]}].${_}`] = i[u][`${V[o]}`][_];
624
- }) : i[`${u}[${V[o]}]`] = i[u][`${V[o]}`], l.children && (l.children = m(
629
+ let u = P ? `${P}.${$}` : `${$}`;
630
+ l.type === "card" && l.multiple ? (typeof i[u][`${F[o]}`] == "object" ? Object.keys(i[u][`${F[o]}`]).forEach((_) => {
631
+ i[`${u}[${F[o]}].${_}`] = i[u][`${F[o]}`][_];
632
+ }) : i[`${u}[${F[o]}]`] = i[u][`${F[o]}`], l.children && (l.children = h(
625
633
  l.children,
626
634
  i,
627
- `${u}[${V[o]}]` || F,
628
- V
629
- )), V[o]++) : l.children && (l.children = m(l.children, i, F, V));
630
- }), V[o] = 0, i;
635
+ `${u}[${F[o]}]` || P,
636
+ F
637
+ )), F[o]++) : l.children && (l.children = h(l.children, i, P, F));
638
+ }), F[o] = 0, i;
631
639
  }
632
- function U(f, i, F) {
633
- let V = m(G(f), G(i));
640
+ function U(f, i, P) {
641
+ let F = h(G(f), G(i));
634
642
  return {
635
643
  obj: C(f),
636
- dataObj: V
644
+ dataObj: F
637
645
  };
638
646
  }
639
647
  function L(f) {
640
648
  let i = D(M.pageSchema.schemas[0].children);
641
649
  a.value = i.filter((l) => l.type === "card" && l.multiple);
642
- const F = I(M.pageSchema.schemas[0].children, f);
643
- let { obj: V, dataObj: o } = U(F, f, a.value);
644
- return f = o, M.pageSchema.schemas[0].children = V, Object.keys(f).forEach((l) => {
645
- var $, u, _, J, q, de, fe;
650
+ const P = I(M.pageSchema.schemas[0].children, f);
651
+ let { obj: F, dataObj: o } = U(P, f, a.value);
652
+ return f = o, M.pageSchema.schemas[0].children = F, Object.keys(f).forEach((l) => {
653
+ var $, u, _, J, Q, te, re;
646
654
  if (l.indexOf("@") < 0) {
647
655
  const b = i.find((X) => X.field === l), Me = ["datetimerange", "daterange", "monthrange", "dates"];
648
656
  if ((b && (b == null ? void 0 : b.type) === "checkbox" || (b == null ? void 0 : b.type) === "select" && (($ = b == null ? void 0 : b.componentProps) != null && $.multiple) || (b == null ? void 0 : b.type) === "cascader" && !((_ = (u = b == null ? void 0 : b.componentProps) == null ? void 0 : u.props) != null && _.multiple) || (b == null ? void 0 : b.type) === "date" && Me.includes((J = b == null ? void 0 : b.componentProps) == null ? void 0 : J.type)) && typeof f[l] == "string")
649
- f[l] = (q = f[l]) == null ? void 0 : q.split(",");
650
- else if ((b == null ? void 0 : b.type) === "cascader" && ((fe = (de = b == null ? void 0 : b.componentProps) == null ? void 0 : de.props) != null && fe.multiple) && typeof f[l] == "string")
657
+ f[l] = (Q = f[l]) == null ? void 0 : Q.split(",");
658
+ else if ((b == null ? void 0 : b.type) === "cascader" && ((re = (te = b == null ? void 0 : b.componentProps) == null ? void 0 : te.props) != null && re.multiple) && typeof f[l] == "string")
651
659
  f[l].indexOf(";") > -1 ? f[l] = f[l].split(";").map((X) => X.split(",")) : f[l] = f[l].split(","), f[l].indexOf(";") > -1 ? f[l] = f[l].split(";").map((X) => X.split(",")) : f[l] = f[l].split(",");
652
660
  else if (((b == null ? void 0 : b.type) === "upload-image" || (b == null ? void 0 : b.type) === "upload-file") && typeof f[l] == "string") {
653
661
  let X = [];
654
- Object.entries(f).forEach(([te, ye]) => {
655
- f[l] === ye && te !== b.field && te.indexOf("@") > -1 && te.indexOf(l) > -1 && (X = te.split("@")[1].split(","));
656
- }), f[l] = f[l].split(",").map((te, ye) => ({
657
- url: te,
658
- name: X[ye] || te
662
+ Object.entries(f).forEach(([ne, ye]) => {
663
+ f[l] === ye && ne !== b.field && ne.indexOf("@") > -1 && ne.indexOf(l) > -1 && (X = ne.split("@")[1].split(","));
664
+ }), f[l] = f[l].split(",").map((ne, ye) => ({
665
+ url: ne,
666
+ name: X[ye] || ne
659
667
  }));
660
668
  } else (b == null ? void 0 : b.type) === "number" || (b == null ? void 0 : b.type) === "slider" ? f[l] = Number(f[l]) : (b == null ? void 0 : b.type) === "switch" && (f[l] = typeof f[l] == "boolean" ? f[l] : f[l].indexOf("true") > -1);
661
669
  }
@@ -664,26 +672,26 @@ const nt = {
664
672
  B(
665
673
  () => p.script,
666
674
  (f) => {
667
- f && h.setMethods(f, !0);
675
+ f && m.setMethods(f, !0);
668
676
  },
669
677
  {
670
678
  immediate: !0
671
679
  }
672
- ), Z("slots", Le()), Z("pageManager", h), Z("forms", N), Z("pageSchema", p), Z(
680
+ ), Z("slots", Le()), Z("pageManager", m), Z("forms", N), Z("pageSchema", p), Z(
673
681
  "disabled",
674
682
  W(() => M.disabled)
675
683
  );
676
- const A = ue(), v = A == null ? void 0 : A.proxy;
684
+ const A = fe(), v = A == null ? void 0 : A.proxy;
677
685
  function ee() {
678
- ce(() => {
679
- g.value = !0, c("ready", h), v && h.addComponentInstance("builder", v);
686
+ de(() => {
687
+ g.value = !0, c("ready", m), v && m.addComponentInstance("builder", v);
680
688
  });
681
689
  }
682
690
  return j.on("updateformData" + (M.id ? M.id : ""), (f) => {
683
691
  c("change", f);
684
692
  }), n({
685
693
  ready: g,
686
- pageManager: h,
694
+ pageManager: m,
687
695
  getData: O,
688
696
  setData: t,
689
697
  validate: x,
@@ -691,23 +699,23 @@ const nt = {
691
699
  setForms: S,
692
700
  validateAll: y,
693
701
  getFormInstance: E
694
- }), (f, i) => R(z).initialized.value ? (H(), Y(Fe, {
702
+ }), (f, i) => R(z).initialized.value ? (H(), q(Pe, {
695
703
  key: 1,
696
704
  onResolve: ee
697
705
  }, {
698
706
  default: T(() => [
699
707
  k("div", ot, [
700
- (H(!0), Ee(Je, null, ze(p.schemas, (F, V) => (H(), Y(R(et), {
708
+ (H(!0), Ee(Je, null, ze(p.schemas, (P, F) => (H(), q(R(et), {
701
709
  id: M.id,
702
- key: V,
710
+ key: F,
703
711
  sourceDateUrl: M.sourceDateUrl,
704
- componentSchema: F
712
+ componentSchema: P
705
713
  }, null, 8, ["id", "sourceDateUrl", "componentSchema"]))), 128))
706
714
  ])
707
715
  ]),
708
716
  fallback: T(() => [
709
717
  k("div", st, [
710
- Q(R(r))
718
+ Y(R(s))
711
719
  ])
712
720
  ]),
713
721
  _: 1
@@ -718,13 +726,13 @@ function xe(e) {
718
726
  return Ze() ? (We(e), !0) : !1;
719
727
  }
720
728
  function lt(e) {
721
- let n = 0, s, r;
729
+ let n = 0, r, s;
722
730
  const c = () => {
723
- n -= 1, r && n <= 0 && (r.stop(), s = void 0, r = void 0);
731
+ n -= 1, s && n <= 0 && (s.stop(), r = void 0, s = void 0);
724
732
  };
725
- return (...a) => (n += 1, r || (r = He(!0), s = r.run(() => e(...a))), xe(c), s);
733
+ return (...a) => (n += 1, s || (s = He(!0), r = s.run(() => e(...a))), xe(c), r);
726
734
  }
727
- function ie(e) {
735
+ function ue(e) {
728
736
  return typeof e == "function" ? e() : R(e);
729
737
  }
730
738
  const at = typeof window < "u" && typeof document < "u";
@@ -732,56 +740,56 @@ typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
732
740
  const it = (e) => typeof e < "u", ct = Object.prototype.toString, ut = (e) => ct.call(e) === "[object Object]", dt = () => {
733
741
  };
734
742
  function ft(e) {
735
- return ue();
743
+ return fe();
736
744
  }
737
- function pt(e, n = !0, s) {
738
- ft() ? Ae(e, s) : n ? e() : ce(e);
745
+ function pt(e, n = !0, r) {
746
+ ft() ? Ae(e, r) : n ? e() : de(e);
739
747
  }
740
748
  function mt(e = !1, n = {}) {
741
749
  const {
742
- truthyValue: s = !0,
743
- falsyValue: r = !1
744
- } = n, c = Ke(e), a = P(e);
750
+ truthyValue: r = !0,
751
+ falsyValue: s = !1
752
+ } = n, c = Ke(e), a = V(e);
745
753
  function w(g) {
746
754
  if (arguments.length)
747
755
  return a.value = g, a.value;
748
756
  {
749
- const h = ie(s);
750
- return a.value = a.value === h ? ie(r) : h, a.value;
757
+ const m = ue(r);
758
+ return a.value = a.value === m ? ue(s) : m, a.value;
751
759
  }
752
760
  }
753
761
  return c ? w : [a, w];
754
762
  }
755
- function Jt(e, n, s) {
756
- const r = B(e, (...c) => (ce(() => r()), n(...c)), s);
757
- return r;
763
+ function Jt(e, n, r) {
764
+ const s = B(e, (...c) => (de(() => s()), n(...c)), r);
765
+ return s;
758
766
  }
759
767
  const ve = at ? window : void 0;
760
- function oe(e) {
768
+ function se(e) {
761
769
  var n;
762
- const s = ie(e);
763
- return (n = s == null ? void 0 : s.$el) != null ? n : s;
770
+ const r = ue(e);
771
+ return (n = r == null ? void 0 : r.$el) != null ? n : r;
764
772
  }
765
773
  function ht(...e) {
766
- let n, s, r, c;
767
- if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([s, r, c] = e, n = ve) : [n, s, r, c] = e, !n)
774
+ let n, r, s, c;
775
+ if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([r, s, c] = e, n = ve) : [n, r, s, c] = e, !n)
768
776
  return dt;
769
- Array.isArray(s) || (s = [s]), Array.isArray(r) || (r = [r]);
777
+ Array.isArray(r) || (r = [r]), Array.isArray(s) || (s = [s]);
770
778
  const a = [], w = () => {
771
779
  a.forEach((O) => O()), a.length = 0;
772
- }, g = (O, t, x, d) => (O.addEventListener(t, x, d), () => O.removeEventListener(t, x, d)), h = B(
773
- () => [oe(n), ie(c)],
780
+ }, g = (O, t, x, d) => (O.addEventListener(t, x, d), () => O.removeEventListener(t, x, d)), m = B(
781
+ () => [se(n), ue(c)],
774
782
  ([O, t]) => {
775
783
  if (w(), !O)
776
784
  return;
777
785
  const x = ut(t) ? { ...t } : t;
778
786
  a.push(
779
- ...s.flatMap((d) => r.map((S) => g(O, d, S, x)))
787
+ ...r.flatMap((d) => s.map((S) => g(O, d, S, x)))
780
788
  );
781
789
  },
782
790
  { immediate: !0, flush: "post" }
783
791
  ), N = () => {
784
- h(), w();
792
+ m(), w();
785
793
  };
786
794
  return xe(N), N;
787
795
  }
@@ -789,26 +797,26 @@ function vt(e) {
789
797
  return typeof e == "function" ? e : typeof e == "string" ? (n) => n.key === e : Array.isArray(e) ? (n) => e.includes(n.key) : () => !0;
790
798
  }
791
799
  function Ce(...e) {
792
- let n, s, r = {};
793
- e.length === 3 ? (n = e[0], s = e[1], r = e[2]) : e.length === 2 ? typeof e[1] == "object" ? (n = !0, s = e[0], r = e[1]) : (n = e[0], s = e[1]) : (n = !0, s = e[0]);
800
+ let n, r, s = {};
801
+ e.length === 3 ? (n = e[0], r = e[1], s = e[2]) : e.length === 2 ? typeof e[1] == "object" ? (n = !0, r = e[0], s = e[1]) : (n = e[0], r = e[1]) : (n = !0, r = e[0]);
794
802
  const {
795
803
  target: c = ve,
796
804
  eventName: a = "keydown",
797
805
  passive: w = !1,
798
806
  dedupe: g = !1
799
- } = r, h = vt(n);
807
+ } = s, m = vt(n);
800
808
  return ht(c, a, (O) => {
801
- O.repeat && ie(g) || h(O) && s(O);
809
+ O.repeat && ue(g) || m(O) && r(O);
802
810
  }, w);
803
811
  }
804
- function we(e, n, s = {}) {
805
- return Ce(e, n, { ...s, eventName: "keydown" });
812
+ function we(e, n, r = {}) {
813
+ return Ce(e, n, { ...r, eventName: "keydown" });
806
814
  }
807
- function Se(e, n, s = {}) {
808
- return Ce(e, n, { ...s, eventName: "keyup" });
815
+ function Se(e, n, r = {}) {
816
+ return Ce(e, n, { ...r, eventName: "keyup" });
809
817
  }
810
818
  function gt() {
811
- const e = P(!1), n = ue();
819
+ const e = V(!1), n = fe();
812
820
  return n && Ae(() => {
813
821
  e.value = !0;
814
822
  }, n), e;
@@ -820,18 +828,18 @@ function yt(e) {
820
828
  function wt(e) {
821
829
  return JSON.parse(JSON.stringify(e));
822
830
  }
823
- function St(e, n, s = {}) {
824
- const { window: r = ve, ...c } = s;
831
+ function St(e, n, r = {}) {
832
+ const { window: s = ve, ...c } = r;
825
833
  let a;
826
- const w = yt(() => r && "ResizeObserver" in r), g = () => {
834
+ const w = yt(() => s && "ResizeObserver" in s), g = () => {
827
835
  a && (a.disconnect(), a = void 0);
828
- }, h = W(() => {
829
- const t = ie(e);
830
- return Array.isArray(t) ? t.map((x) => oe(x)) : [oe(t)];
836
+ }, m = W(() => {
837
+ const t = ue(e);
838
+ return Array.isArray(t) ? t.map((x) => se(x)) : [se(t)];
831
839
  }), N = B(
832
- h,
840
+ m,
833
841
  (t) => {
834
- if (g(), w.value && r) {
842
+ if (g(), w.value && s) {
835
843
  a = new ResizeObserver(n);
836
844
  for (const x of t)
837
845
  x && a.observe(x, c);
@@ -846,16 +854,16 @@ function St(e, n, s = {}) {
846
854
  stop: O
847
855
  };
848
856
  }
849
- function zt(e, n = { width: 0, height: 0 }, s = {}) {
850
- const { window: r = ve, box: c = "content-box" } = s, a = W(() => {
857
+ function zt(e, n = { width: 0, height: 0 }, r = {}) {
858
+ const { window: s = ve, box: c = "content-box" } = r, a = W(() => {
851
859
  var t, x;
852
- return (x = (t = oe(e)) == null ? void 0 : t.namespaceURI) == null ? void 0 : x.includes("svg");
853
- }), w = P(n.width), g = P(n.height), { stop: h } = St(
860
+ return (x = (t = se(e)) == null ? void 0 : t.namespaceURI) == null ? void 0 : x.includes("svg");
861
+ }), w = V(n.width), g = V(n.height), { stop: m } = St(
854
862
  e,
855
863
  ([t]) => {
856
864
  const x = c === "border-box" ? t.borderBoxSize : c === "content-box" ? t.contentBoxSize : t.devicePixelContentBoxSize;
857
- if (r && a.value) {
858
- const d = oe(e);
865
+ if (s && a.value) {
866
+ const d = se(e);
859
867
  if (d) {
860
868
  const S = d.getBoundingClientRect();
861
869
  w.value = S.width, g.value = S.height;
@@ -866,20 +874,20 @@ function zt(e, n = { width: 0, height: 0 }, s = {}) {
866
874
  } else
867
875
  w.value = t.contentRect.width, g.value = t.contentRect.height;
868
876
  },
869
- s
877
+ r
870
878
  );
871
879
  pt(() => {
872
- const t = oe(e);
880
+ const t = se(e);
873
881
  t && (w.value = "offsetWidth" in t ? t.offsetWidth : n.width, g.value = "offsetHeight" in t ? t.offsetHeight : n.height);
874
882
  });
875
883
  const N = B(
876
- () => oe(e),
884
+ () => se(e),
877
885
  (t) => {
878
886
  w.value = t ? n.width : 0, g.value = t ? n.height : 0;
879
887
  }
880
888
  );
881
889
  function O() {
882
- h(), N();
890
+ m(), N();
883
891
  }
884
892
  return {
885
893
  width: w,
@@ -887,33 +895,33 @@ function zt(e, n = { width: 0, height: 0 }, s = {}) {
887
895
  stop: O
888
896
  };
889
897
  }
890
- function Ht(e, n, s, r = {}) {
898
+ function Ht(e, n, r, s = {}) {
891
899
  var c, a, w;
892
900
  const {
893
901
  clone: g = !1,
894
- passive: h = !1,
902
+ passive: m = !1,
895
903
  eventName: N,
896
904
  deep: O = !1,
897
905
  defaultValue: t,
898
906
  shouldEmit: x
899
- } = r, d = ue(), S = s || (d == null ? void 0 : d.emit) || ((c = d == null ? void 0 : d.$emit) == null ? void 0 : c.bind(d)) || ((w = (a = d == null ? void 0 : d.proxy) == null ? void 0 : a.$emit) == null ? void 0 : w.bind(d == null ? void 0 : d.proxy));
907
+ } = s, d = fe(), S = r || (d == null ? void 0 : d.emit) || ((c = d == null ? void 0 : d.$emit) == null ? void 0 : c.bind(d)) || ((w = (a = d == null ? void 0 : d.proxy) == null ? void 0 : a.$emit) == null ? void 0 : w.bind(d == null ? void 0 : d.proxy));
900
908
  let y = N;
901
909
  n || (n = "modelValue"), y = y || `update:${n.toString()}`;
902
910
  const E = (D) => g ? typeof g == "function" ? g(D) : wt(D) : D, M = () => it(e[n]) ? E(e[n]) : t, p = (D) => {
903
911
  x ? x(D) && S(y, D) : S(y, D);
904
912
  };
905
- if (h) {
906
- const D = M(), I = P(D);
913
+ if (m) {
914
+ const D = M(), I = V(D);
907
915
  let C = !1;
908
916
  return B(
909
917
  () => e[n],
910
- (m) => {
911
- C || (C = !0, I.value = E(m), ce(() => C = !1));
918
+ (h) => {
919
+ C || (C = !0, I.value = E(h), de(() => C = !1));
912
920
  }
913
921
  ), B(
914
922
  I,
915
- (m) => {
916
- !C && (m !== e[n] || O) && p(m);
923
+ (h) => {
924
+ !C && (h !== e[n] || O) && p(h);
917
925
  },
918
926
  { deep: O }
919
927
  ), I;
@@ -935,7 +943,7 @@ function Kt() {
935
943
  };
936
944
  }
937
945
  function Dt() {
938
- const e = P(!1);
946
+ const e = V(!1);
939
947
  return Ae(() => {
940
948
  bt(e), Et(e);
941
949
  }), B(
@@ -952,61 +960,61 @@ function bt(e) {
952
960
  n && (n.classList.contains("dark") ? e.value = !0 : e.value = !1);
953
961
  }
954
962
  function Et(e) {
955
- var n = document.querySelector("html"), s = new MutationObserver(function(r) {
956
- for (var c of r)
963
+ var n = document.querySelector("html"), r = new MutationObserver(function(s) {
964
+ for (var c of s)
957
965
  if (c.type === "attributes" && c.attributeName === "class") {
958
966
  const a = c.target;
959
967
  new Array(...a.classList).includes("dark") ? e.value = !0 : e.value = !1;
960
968
  }
961
969
  });
962
- s.observe(n, {
970
+ r.observe(n, {
963
971
  attributes: !0,
964
972
  attributeFilter: ["class"]
965
973
  }), $e(() => {
966
- s.disconnect();
974
+ r.disconnect();
967
975
  });
968
976
  }
969
977
  function At() {
970
- const e = P(1), n = P(!1), { isDark: s } = Dt(), { pressSpace: r, pressShift: c, pressCtrl: a } = Ot();
978
+ const e = V(1), n = V(!1), { isDark: r } = Dt(), { pressSpace: s, pressShift: c, pressCtrl: a } = Ot();
971
979
  return {
972
980
  canvasScale: e,
973
- pressSpace: r,
981
+ pressSpace: s,
974
982
  pressShift: c,
975
983
  pressCtrl: a,
976
984
  disabledZoom: n,
977
- isDark: s
985
+ isDark: r
978
986
  };
979
987
  }
980
988
  const ge = lt(At);
981
989
  function Ot() {
982
- const e = P(!1), n = P(!1), s = P(!1);
990
+ const e = V(!1), n = V(!1), r = V(!1);
983
991
  return we(" ", () => {
984
992
  e.value = !0;
985
993
  }), Se(" ", () => {
986
994
  e.value = !1;
987
- }), we("Shift", (r) => {
988
- r.preventDefault(), n.value = !0;
995
+ }), we("Shift", (s) => {
996
+ s.preventDefault(), n.value = !0;
989
997
  }), Se("Shift", () => {
990
998
  n.value = !1;
991
- }), we("Control", (r) => {
992
- r.preventDefault(), s.value = !0;
999
+ }), we("Control", (s) => {
1000
+ s.preventDefault(), r.value = !0;
993
1001
  }), Se("Control", () => {
994
- s.value = !1;
995
- }), { pressSpace: e, pressShift: n, pressCtrl: s };
1002
+ r.value = !1;
1003
+ }), { pressSpace: e, pressShift: n, pressCtrl: r };
996
1004
  }
997
1005
  function Zt(e) {
998
- const { pressSpace: n } = ge(), s = new Image(1, 1);
999
- s.src = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg==";
1000
- let r = 0, c = 0;
1001
- function a(h) {
1006
+ const { pressSpace: n } = ge(), r = new Image(1, 1);
1007
+ r.src = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg==";
1008
+ let s = 0, c = 0;
1009
+ function a(m) {
1002
1010
  var N;
1003
- n.value && (r = h.x, c = h.y, (N = h.dataTransfer) == null || N.setDragImage(document.createElement("div"), 0, 0));
1011
+ n.value && (s = m.x, c = m.y, (N = m.dataTransfer) == null || N.setDragImage(document.createElement("div"), 0, 0));
1004
1012
  }
1005
- function w(h) {
1006
- if (h.preventDefault(), !h.x || !h.y || !n.value)
1013
+ function w(m) {
1014
+ if (m.preventDefault(), !m.x || !m.y || !n.value)
1007
1015
  return;
1008
- const N = h.x - r, O = h.y - c;
1009
- r = h.x, c = h.y, e.value && (e.value.scrollTop -= O, e.value.scrollLeft -= N);
1016
+ const N = m.x - s, O = m.y - c;
1017
+ s = m.x, c = m.y, e.value && (e.value.scrollTop -= O, e.value.scrollLeft -= N);
1010
1018
  }
1011
1019
  function g() {
1012
1020
  n.value = !1;
@@ -1014,38 +1022,38 @@ function Zt(e) {
1014
1022
  return { handleElementDragStart: a, handleElementDrag: w, handleElementDragEnd: g };
1015
1023
  }
1016
1024
  function Wt(e) {
1017
- const { pressCtrl: n, canvasScale: s, disabledZoom: r } = ge();
1025
+ const { pressCtrl: n, canvasScale: r, disabledZoom: s } = ge();
1018
1026
  function c(a) {
1019
- if (!n.value || r.value)
1027
+ if (!n.value || s.value)
1020
1028
  return;
1021
1029
  a.preventDefault();
1022
1030
  let w = 0;
1023
- a.deltaY < 0 ? w = s.value + 0.05 : w = s.value - 0.05, !(w > 150 || w < 0.5) && (s.value = w);
1031
+ a.deltaY < 0 ? w = r.value + 0.05 : w = r.value - 0.05, !(w > 150 || w < 0.5) && (r.value = w);
1024
1032
  }
1025
1033
  return B(
1026
- () => s.value,
1034
+ () => r.value,
1027
1035
  (a) => {
1028
- e.value && !r.value && (e.value.style.transform = `scale(${a})`);
1036
+ e.value && !s.value && (e.value.style.transform = `scale(${a})`);
1029
1037
  }
1030
- ), { handleZoom: c, canvasScale: s };
1038
+ ), { handleZoom: c, canvasScale: r };
1031
1039
  }
1032
1040
  function Gt(e, n = 16.66) {
1033
- let s;
1034
- function r() {
1035
- c(), s = window.setInterval(e, n);
1041
+ let r;
1042
+ function s() {
1043
+ c(), r = window.setInterval(e, n);
1036
1044
  }
1037
1045
  function c() {
1038
- window.clearInterval(s);
1046
+ window.clearInterval(r);
1039
1047
  }
1040
1048
  return {
1041
- startTimedQuery: r,
1049
+ startTimedQuery: s,
1042
1050
  stopTimedQuery: c
1043
1051
  };
1044
1052
  }
1045
- const xt = { class: "min-w-750px rounded" }, It = { class: "h-full rounded" }, _t = /* @__PURE__ */ le({
1053
+ const xt = { class: "min-w-750px rounded" }, It = { class: "h-full rounded" }, _t = /* @__PURE__ */ ie({
1046
1054
  __name: "index",
1047
1055
  setup(e, { expose: n }) {
1048
- const s = z.getComponent("monacoEditor"), r = z.getComponent("modal"), c = P(null), a = P(!1), w = P(!1), g = P({}), h = ne("pageSchema"), N = P(null), O = P("");
1056
+ const r = z.getComponent("monacoEditor"), s = z.getComponent("modal"), c = V(null), a = V(!1), w = V(!1), g = V({}), m = oe("pageSchema"), N = V(null), O = V("");
1049
1057
  function t() {
1050
1058
  w.value = !1;
1051
1059
  }
@@ -1062,7 +1070,7 @@ const xt = { class: "min-w-750px rounded" }, It = { class: "h-full rounded" }, _
1062
1070
  alert("请添加表单组件后再尝试!");
1063
1071
  return;
1064
1072
  }
1065
- Object.keys(y).length === 1 && (y = y.default), g.value = JSON.stringify(y, null, 2), ce(() => {
1073
+ Object.keys(y).length === 1 && (y = y.default), g.value = JSON.stringify(y, null, 2), de(() => {
1066
1074
  var E;
1067
1075
  (E = c.value) == null || E.setValue(g.value);
1068
1076
  }), w.value = !0;
@@ -1072,7 +1080,7 @@ const xt = { class: "min-w-750px rounded" }, It = { class: "h-full rounded" }, _
1072
1080
  }
1073
1081
  return n({
1074
1082
  handleOpen: d
1075
- }), (y, E) => (H(), Y(R(r), {
1083
+ }), (y, E) => (H(), q(R(s), {
1076
1084
  modelValue: a.value,
1077
1085
  "onUpdate:modelValue": E[1] || (E[1] = (M) => a.value = M),
1078
1086
  title: "预览",
@@ -1084,13 +1092,13 @@ const xt = { class: "min-w-750px rounded" }, It = { class: "h-full rounded" }, _
1084
1092
  }, {
1085
1093
  default: T(() => [
1086
1094
  k("div", xt, [
1087
- (H(), Y(R(rt), {
1095
+ (H(), q(R(rt), {
1088
1096
  key: O.value,
1089
1097
  ref_key: "kb",
1090
1098
  ref: N,
1091
- "page-schema": R(h)
1099
+ "page-schema": R(m)
1092
1100
  }, null, 8, ["page-schema"])),
1093
- Q(R(r), {
1101
+ Y(R(s), {
1094
1102
  modelValue: w.value,
1095
1103
  "onUpdate:modelValue": E[0] || (E[0] = (M) => w.value = M),
1096
1104
  title: "表单数据",
@@ -1101,7 +1109,7 @@ const xt = { class: "min-w-750px rounded" }, It = { class: "h-full rounded" }, _
1101
1109
  }, {
1102
1110
  default: T(() => [
1103
1111
  k("div", It, [
1104
- Q(R(s), {
1112
+ Y(R(r), {
1105
1113
  ref_key: "monacoEditorRef",
1106
1114
  ref: c,
1107
1115
  autoToggleTheme: "",
@@ -1121,7 +1129,7 @@ const xt = { class: "min-w-750px rounded" }, It = { class: "h-full rounded" }, _
1121
1129
  }), $t = {
1122
1130
  key: 0,
1123
1131
  class: "epic-loading-box"
1124
- }, Nt = { class: "epic-designer-main" }, Ft = { class: "epic-header-container" }, Vt = { class: "epic-loading-box" }, Qt = /* @__PURE__ */ le({
1132
+ }, Nt = { class: "epic-designer-main" }, Pt = { class: "epic-header-container" }, Ft = { class: "epic-loading-box" }, Qt = /* @__PURE__ */ ie({
1125
1133
  __name: "designer",
1126
1134
  props: {
1127
1135
  disabledZoom: { type: Boolean, default: !1 },
@@ -1143,17 +1151,17 @@ const xt = { class: "min-w-750px rounded" }, It = { class: "h-full rounded" }, _
1143
1151
  "deleteSourceData",
1144
1152
  "updateSourceData"
1145
1153
  ],
1146
- setup(e, { expose: n, emit: s }) {
1147
- const { t: r } = Oe(), c = se(() => import("./index-IGxCNti8.js")), a = se(() => import("./index-WkZdU_zw.js")), w = se(() => import("./index-CiD7TDSJ.js")), g = se(() => import("./index-Cln9MN7u.js")), h = se(() => import("./index-DgcFxYFp.js")), N = Pe(), O = ke(), t = e;
1154
+ setup(e, { expose: n, emit: r }) {
1155
+ const { t: s } = Oe(), c = le(() => import("./index-IGxCNti8.js")), a = le(() => import("./index-WkZdU_zw.js")), w = le(() => import("./index-CjOFrMw5.js")), g = le(() => import("./index-Cln9MN7u.js")), m = le(() => import("./index-DgcFxYFp.js")), N = Ve(), O = ke(), t = e;
1148
1156
  let x = {
1149
1157
  schemas: [
1150
1158
  {
1151
1159
  type: "form",
1152
1160
  id: "root",
1153
- label: r("page"),
1161
+ label: s("page"),
1154
1162
  children: [],
1155
1163
  componentProps: {
1156
- name: r("form"),
1164
+ name: s("form"),
1157
1165
  style: {
1158
1166
  padding: "16px"
1159
1167
  }
@@ -1198,12 +1206,12 @@ defineExpose({
1198
1206
  }
1199
1207
  t.source && z.setSourceData(t.source), t.formMode && (x.schemas = z.formSchemas);
1200
1208
  }), N.setDesignMode(), N.setDefaultComponentIds(x.schemas);
1201
- const d = s, S = P(null), y = re({
1209
+ const d = r, S = V(null), y = ae({
1202
1210
  checkedNode: null,
1203
1211
  hoverNode: null,
1204
1212
  disableHover: !1,
1205
1213
  matched: []
1206
- }), E = re({
1214
+ }), E = ae({
1207
1215
  schemas: [],
1208
1216
  script: x.script
1209
1217
  }), { disabledZoom: M } = ge();
@@ -1218,7 +1226,7 @@ defineExpose({
1218
1226
  ), Z("designer", {
1219
1227
  setCheckedNode: D,
1220
1228
  setHoverNode: I,
1221
- setDisableHover: m,
1229
+ setDisableHover: h,
1222
1230
  handleToggleDeviceMode: ee,
1223
1231
  reset: A,
1224
1232
  state: y
@@ -1236,29 +1244,29 @@ defineExpose({
1236
1244
  y.checkedNode = i, y.matched = Xe(E.schemas, i.id);
1237
1245
  }
1238
1246
  async function I(i = null) {
1239
- var F;
1247
+ var P;
1240
1248
  if (!i || y.disableHover)
1241
1249
  return y.hoverNode = null, !1;
1242
- if ((i == null ? void 0 : i.id) === ((F = y.hoverNode) == null ? void 0 : F.id))
1250
+ if ((i == null ? void 0 : i.id) === ((P = y.hoverNode) == null ? void 0 : P.id))
1243
1251
  return !1;
1244
1252
  y.hoverNode = i;
1245
1253
  }
1246
1254
  function C() {
1247
- ce(() => {
1255
+ de(() => {
1248
1256
  d("ready", { pageManager: N });
1249
1257
  });
1250
1258
  }
1251
- async function m(i = !1) {
1259
+ async function h(i = !1) {
1252
1260
  y.disableHover = i;
1253
1261
  }
1254
1262
  function U(i) {
1255
- ae(E, G(i));
1263
+ ce(E, G(i));
1256
1264
  }
1257
1265
  function L() {
1258
1266
  return Ie(E);
1259
1267
  }
1260
1268
  function A() {
1261
- Ve(E.schemas, x.schemas) && E.script === x.script || (ae(E.schemas, x.schemas), E.script = x.script, D(E.schemas[0]), O.push(E.schemas, "重置操作"), d("reset", E));
1269
+ Fe(E.schemas, x.schemas) && E.script === x.script || (ce(E.schemas, x.schemas), E.script = x.script, D(E.schemas[0]), O.push(E.schemas, "重置操作"), d("reset", E));
1262
1270
  }
1263
1271
  function v() {
1264
1272
  d("save", Ie(E));
@@ -1275,15 +1283,15 @@ defineExpose({
1275
1283
  getData: L,
1276
1284
  reset: A,
1277
1285
  preview: f
1278
- }), (i, F) => R(z).initialized.value ? (H(), Y(Fe, {
1286
+ }), (i, P) => R(z).initialized.value ? (H(), q(Pe, {
1279
1287
  key: 1,
1280
1288
  onResolve: C
1281
1289
  }, {
1282
1290
  default: T(() => [
1283
1291
  k("div", Nt, [
1284
- k("div", Ft, [
1292
+ k("div", Pt, [
1285
1293
  K(i.$slots, "header", {}, () => [
1286
- t.hiddenHeader ? Ne("", !0) : (H(), Y(R(c), {
1294
+ t.hiddenHeader ? Ne("", !0) : (H(), q(R(c), {
1287
1295
  key: 0,
1288
1296
  onPreview: f,
1289
1297
  onSave: v
@@ -1313,26 +1321,26 @@ defineExpose({
1313
1321
  k("div", {
1314
1322
  class: Ge(["epic-split-view-container", { "hidden-header": i.hiddenHeader }])
1315
1323
  }, [
1316
- Q(R(a)),
1317
- Q(R(w)),
1318
- Q(R(g))
1324
+ Y(R(a)),
1325
+ Y(R(w)),
1326
+ Y(R(g))
1319
1327
  ], 2),
1320
- Q(_t, {
1328
+ Y(_t, {
1321
1329
  ref_key: "previewRef",
1322
1330
  ref: S
1323
1331
  }, null, 512)
1324
1332
  ])
1325
1333
  ]),
1326
1334
  fallback: T(() => [
1327
- k("div", Vt, [
1328
- Q(R(h))
1335
+ k("div", Ft, [
1336
+ Y(R(m))
1329
1337
  ])
1330
1338
  ]),
1331
1339
  _: 3
1332
1340
  })) : (H(), Ee("div", $t));
1333
1341
  }
1334
- }), Pt = {
1335
- component: async () => await import("./index-DOa-ZTwb.js"),
1342
+ }), Vt = {
1343
+ component: async () => await import("./index-Dk08eIJW.js"),
1336
1344
  defaultSchema: {
1337
1345
  label: "代码编辑器",
1338
1346
  type: "monacoEditor",
@@ -1382,7 +1390,7 @@ defineExpose({
1382
1390
  }
1383
1391
  }, { t: me } = Oe();
1384
1392
  function Mt(e) {
1385
- e.component("EInputSize", async () => await import("./index-Cx7gKpkD.js")), e.component("EColEditor", async () => await import("./index-CpTA2IRB.js")), e.component("EActionEditor", async () => await import("./index-G5QRu6oQ.js")), e.component("ERuleEditor", async () => await import("./index-BUqQozMa.js")), e.component("EOptionsEditor", async () => await import("./index-DOoGneHO.js")), e.component("ENode", async () => await import("./index-CqmFt57U.js")), e.component("EDataSource", async () => await import("./index-B0OgKtuT.js")), e.component("EColumnEditor", async () => await import("./index-DMK88APm.js")), e.component("PaddingMarginControl", async () => await import("./index-CdnV7DS4.js")), e.component("ESourceDataSelect", async () => await import("./index-rjUej4xS.js")), e.registerActivitybar({
1393
+ e.component("EInputSize", async () => await import("./index-Cx7gKpkD.js")), e.component("EColEditor", async () => await import("./index-CpTA2IRB.js")), e.component("EActionEditor", async () => await import("./index-y2l3KPim.js")), e.component("ERuleEditor", async () => await import("./index-CzAoXJXL.js")), e.component("EOptionsEditor", async () => await import("./index-D0AvdGjo.js")), e.component("ENode", async () => await import("./index-DGRQyNXm.js")), e.component("EDataSource", async () => await import("./index-B0OgKtuT.js")), e.component("EColumnEditor", async () => await import("./index-BA7FMts9.js")), e.component("PaddingMarginControl", async () => await import("./index-CdnV7DS4.js")), e.component("ESourceDataSelect", async () => await import("./index-jj4e1UZY.js")), e.registerActivitybar({
1386
1394
  id: "component_view",
1387
1395
  title: me("component"),
1388
1396
  icon: "icon--epic--extension-outline",
@@ -1395,17 +1403,17 @@ function Mt(e) {
1395
1403
  }), e.registerRightSidebar({
1396
1404
  id: "attribute_view",
1397
1405
  title: me("attribute"),
1398
- component: async () => await import("./attributeView-BNUb6_IW.js")
1406
+ component: async () => await import("./attributeView-CFfmxcU9.js")
1399
1407
  }), e.registerRightSidebar({
1400
1408
  id: "style_view",
1401
1409
  title: me("style"),
1402
- component: async () => await import("./styleView-C8AriP_c.js")
1410
+ component: async () => await import("./styleView-BqdHZS9i.js")
1403
1411
  }), e.registerRightSidebar({
1404
1412
  id: "event_view",
1405
1413
  title: "事件",
1406
1414
  component: async () => await import("./eventView-C2wKhfU_.js")
1407
- }), [Pt, Ct].forEach((s) => {
1408
- e.registerComponent(s);
1415
+ }), [Vt, Ct].forEach((r) => {
1416
+ e.registerComponent(r);
1409
1417
  });
1410
1418
  }
1411
1419
  Mt(z);
@@ -1421,7 +1429,7 @@ export {
1421
1429
  Kt as h,
1422
1430
  rt as i,
1423
1431
  Qt as j,
1424
- Pe as k,
1432
+ Ve as k,
1425
1433
  ke as l,
1426
1434
  Ot as m,
1427
1435
  Dt as n,