epic-designer-gold 1.0.24 → 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 (27) hide show
  1. package/dist/{attributeView-BBN4W9TM.js → attributeView-CFfmxcU9.js} +1 -1
  2. package/dist/{attributeView-gzxLavkO.cjs → attributeView-DZE3sT--.cjs} +1 -1
  3. package/dist/{index-BokMTYeM.js → index-BA7FMts9.js} +1 -1
  4. package/dist/{index-D50jfb6U.cjs → index-BLihjCNa.cjs} +1 -1
  5. package/dist/{index-ClvhnVWp.cjs → index-Bhxsxvjz.cjs} +1 -1
  6. package/dist/index-Btz7ejRx.cjs +10 -0
  7. package/dist/{index-CSX7EJ3h.cjs → index-C6FCo-HH.cjs} +1 -1
  8. package/dist/{index-4GSgwHdx.cjs → index-Cdk7yCxQ.cjs} +1 -1
  9. package/dist/{index-hOLbkmql.js → index-CjOFrMw5.js} +1 -1
  10. package/dist/{index-CItH08Va.js → index-CzAoXJXL.js} +1 -1
  11. package/dist/{index-DrBumgPi.js → index-D0AvdGjo.js} +1 -1
  12. package/dist/{index-BBYobbqk.cjs → index-D79BnQLI.cjs} +1 -1
  13. package/dist/{index-rQwg6K9E.js → index-D83uXkXA.js} +314 -308
  14. package/dist/index-DGRQyNXm.js +4 -0
  15. package/dist/{index-BAUyJdDp.cjs → index-DOZDUgRO.cjs} +1 -1
  16. package/dist/{index-B7wRhLwc.js → index-Dk08eIJW.js} +1 -1
  17. package/dist/{index-Cy4M38xz.cjs → index-DzGAy8Ku.cjs} +1 -1
  18. package/dist/{index-CKI_3hdd.cjs → index-LMTPTgvs.cjs} +1 -1
  19. package/dist/{index-CNtDbtWP.js → index-jj4e1UZY.js} +1 -1
  20. package/dist/{index-BUt-kkII.js → index-y2l3KPim.js} +1 -1
  21. package/dist/index.cjs +1 -1
  22. package/dist/index.js +1 -1
  23. package/dist/{styleView-DN0aAYgR.js → styleView-BqdHZS9i.js} +1 -1
  24. package/dist/{styleView-D3pbuMzI.cjs → styleView-BymvZDlS.cjs} +1 -1
  25. package/package.json +1 -1
  26. package/dist/index-5XsDINLZ.js +0 -4
  27. package/dist/index-CDH3QO51.cjs +0 -10
@@ -1,17 +1,17 @@
1
- import { ref as P, reactive as re, defineComponent as le, openBlock as H, createBlock as Y, unref as U, 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, R]) => (C[m] = R.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(U(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,
@@ -297,32 +297,38 @@ const je = /* @__PURE__ */ le({
297
297
  field: l
298
298
  };
299
299
  return $.children && delete $.children, $;
300
- }), R = W(() => {
301
- var $, u, _;
300
+ }), U = W(() => {
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
- });
318
- console.log("%c [ ]-324", "font-size:13px; background:pink; color:#bf2c9f;", R.value);
319
- const L = W(() => z.getComponentConfingByType(t.type) ?? null);
325
+ }), L = W(() => z.getComponentConfingByType(t.type) ?? null);
320
326
  he(() => {
321
- c.value = r.modelValue ?? a[t.field ?? ""];
327
+ c.value = s.modelValue ?? a[t.field ?? ""];
322
328
  }), B(
323
329
  () => c.value,
324
330
  () => {
325
- c.value !== (r.modelValue ?? a[t.field ?? ""]) && i(c.value);
331
+ c.value !== (s.modelValue ?? a[t.field ?? ""]) && i(c.value);
326
332
  }
327
333
  ), B(
328
334
  () => E.value,
@@ -333,8 +339,8 @@ const je = /* @__PURE__ */ le({
333
339
  );
334
340
  function A() {
335
341
  var l;
336
- const o = E.value || s;
337
- 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));
338
344
  }
339
345
  function v() {
340
346
  var o;
@@ -349,7 +355,7 @@ const je = /* @__PURE__ */ le({
349
355
  if (t.type === "slot") {
350
356
  const _ = t.slotName;
351
357
  if (!_) return;
352
- I.value = le({
358
+ I.value = ie({
353
359
  setup() {
354
360
  return () => K(w, _, {
355
361
  componentSchema: t,
@@ -373,15 +379,15 @@ const je = /* @__PURE__ */ le({
373
379
  function f(o) {
374
380
  console.log("%c [ v ]-462", "font-size:13px; background:pink; color:#bf2c9f;", o), Object.prototype.toString.call(o) === "[object Array]" ? o.forEach((l) => {
375
381
  a[l.value] = l.label;
376
- }) : 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);
377
383
  }
378
384
  function i(o) {
379
- 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);
380
386
  }
381
- function F(o) {
387
+ function P(o) {
382
388
  y("update:dynamicId", o);
383
389
  }
384
- let V = null;
390
+ let F = null;
385
391
  return B(
386
392
  () => t,
387
393
  async (o) => {
@@ -393,9 +399,9 @@ const je = /* @__PURE__ */ le({
393
399
  options: null
394
400
  }
395
401
  });
396
- if (l === V)
402
+ if (l === F)
397
403
  return !1;
398
- V = l, ee();
404
+ F = l, ee();
399
405
  },
400
406
  {
401
407
  immediate: !0,
@@ -404,30 +410,30 @@ const je = /* @__PURE__ */ le({
404
410
  ), $e(v), (o, l) => {
405
411
  var u;
406
412
  const $ = Te("ENode");
407
- return I.value && C.value ? (H(), Y(je, {
413
+ return I.value && C.value ? (H(), q(je, {
408
414
  key: 0,
409
- hasFormItem: U(t).noFormItem !== !0 && ((u = L.value) == null ? void 0 : u.defaultSchema.input),
410
- formItemProps: m.value,
415
+ hasFormItem: R(t).noFormItem !== !0 && ((u = L.value) == null ? void 0 : u.defaultSchema.input),
416
+ formItemProps: h.value,
411
417
  onUpdateFormItemRef: p
412
418
  }, {
413
419
  default: T(() => [
414
- (H(), Y(Be(I.value), be({
420
+ (H(), q(Be(I.value), be({
415
421
  ref_key: "componentInstance",
416
422
  ref: E,
417
423
  onVnodeMounted: A,
418
- model: U(a)
419
- }, { ...R.value }, {
420
- [R.value.bindModel]: c.value,
421
- ["onUpdate:" + R.value.bindModel]: l[0] || (l[0] = (_) => c.value = _),
422
- [`onUpdate:${R.value.bindModel}` || ""]: i,
424
+ model: R(a)
425
+ }, { ...U.value }, {
426
+ [U.value.bindModel]: c.value,
427
+ ["onUpdate:" + U.value.bindModel]: l[0] || (l[0] = (_) => c.value = _),
428
+ [`onUpdate:${U.value.bindModel}` || ""]: i,
423
429
  "onUpdate:modelValueLabel": f,
424
- "onUpdate:dynamicId": F
430
+ "onUpdate:dynamicId": P
425
431
  }), {
426
432
  node: T((_) => [
427
- Q($, be({
428
- id: r.id
433
+ Y($, be({
434
+ id: s.id
429
435
  }, _, {
430
- sourceDateUrl: r.sourceDateUrl
436
+ sourceDateUrl: s.sourceDateUrl
431
437
  }), null, 16, ["id", "sourceDateUrl"])
432
438
  ]),
433
439
  "edit-node": T(() => [
@@ -442,8 +448,8 @@ const je = /* @__PURE__ */ le({
442
448
  }
443
449
  });
444
450
  function tt() {
445
- const e = P(!1), n = Pe(), s = P({});
446
- function r() {
451
+ const e = V(!1), n = Ve(), r = V({});
452
+ function s() {
447
453
  return new Promise((d) => {
448
454
  if (e.value)
449
455
  d();
@@ -456,8 +462,8 @@ function tt() {
456
462
  }
457
463
  async function c(d = "default") {
458
464
  var y;
459
- await r();
460
- const S = (y = s.value) == null ? void 0 : y[d];
465
+ await s();
466
+ const S = (y = r.value) == null ? void 0 : y[d];
461
467
  if (!S) throw new Error(`表单 [name=${d}] 不存在`);
462
468
  return S;
463
469
  }
@@ -471,49 +477,49 @@ function tt() {
471
477
  function g(d, S = "default", y = void 0) {
472
478
  var E, M;
473
479
  if (y && Object.keys(y).length) {
474
- let p = function(m) {
475
- let R = [];
476
- return m.forEach((L) => {
477
- L.children && (R = [...R, ...p(L.children)]), R.push(L);
478
- }), R;
479
- }, I = function(m) {
480
+ let p = function(h) {
481
+ let U = [];
482
+ return h.forEach((L) => {
483
+ L.children && (U = [...U, ...p(L.children)]), U.push(L);
484
+ }), U;
485
+ }, I = function(h) {
480
486
  var L;
481
- let R = p((L = y == null ? void 0 : y.schemas[0]) == null ? void 0 : L.children);
482
- return Object.keys(m).forEach((A) => {
483
- var f, i, F, V, o, l, $;
484
- const v = R.find((u) => u.field === A), ee = ["datetimerange", "daterange", "monthrange", "dates"];
485
- 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")
486
- m[A] = (o = m[A]) == null ? void 0 : o.split(",");
487
- 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")
488
- 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(","));
489
- else if (((v == null ? void 0 : v.type) === "upload-image" || (v == null ? void 0 : v.type) === "upload-file") && typeof m[A] == "string") {
487
+ let U = p((L = y == null ? void 0 : y.schemas[0]) == null ? void 0 : L.children);
488
+ return Object.keys(h).forEach((A) => {
489
+ var f, i, P, F, o, l, $;
490
+ const v = U.find((u) => u.field === A), ee = ["datetimerange", "daterange", "monthrange", "dates"];
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") {
490
496
  let u = [];
491
- Object.entries(m).forEach(([_, J]) => {
492
- m[A] === J && _ !== v.field && _.indexOf("@") > -1 && _.indexOf(A) > -1 && (u = _.split("@")[1].split(","));
493
- }), 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) => ({
494
500
  url: _,
495
501
  name: u[J] || _
496
502
  }));
497
- } 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);
498
- }), 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;
499
505
  }(d);
500
506
  n.setFormData(I, S);
501
- const C = (E = s.value) == null ? void 0 : E[S];
507
+ const C = (E = r.value) == null ? void 0 : E[S];
502
508
  C == null || C.clearValidate();
503
509
  } else {
504
510
  n.setFormData(d, S);
505
- const p = (M = s.value) == null ? void 0 : M[S];
511
+ const p = (M = r.value) == null ? void 0 : M[S];
506
512
  p == null || p.clearValidate();
507
513
  }
508
514
  }
509
- async function h(d = "default") {
515
+ async function m(d = "default") {
510
516
  return await a(d, async (S) => (await S.validate(), await S.getData()));
511
517
  }
512
518
  async function N(d) {
513
- await r();
519
+ await s();
514
520
  const S = {};
515
- for (const y in s.value) {
516
- const E = s.value[y];
521
+ for (const y in r.value) {
522
+ const E = r.value[y];
517
523
  E && (S[y] = G(await d(E)));
518
524
  }
519
525
  return S;
@@ -531,10 +537,10 @@ function tt() {
531
537
  return {
532
538
  ready: e,
533
539
  pageManager: n,
534
- forms: s,
540
+ forms: r,
535
541
  getData: w,
536
542
  setData: g,
537
- validate: h,
543
+ validate: m,
538
544
  getForms: O,
539
545
  setForms: t,
540
546
  validateAll: x,
@@ -544,7 +550,7 @@ function tt() {
544
550
  const nt = {
545
551
  key: 0,
546
552
  class: "epic-loading-box"
547
- }, 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({
548
554
  __name: "builder",
549
555
  props: {
550
556
  pageSchema: {},
@@ -554,14 +560,14 @@ const nt = {
554
560
  id: {}
555
561
  },
556
562
  emits: ["change", "ready"],
557
- setup(e, { expose: n, emit: s }) {
558
- 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({
559
565
  schemas: []
560
566
  });
561
567
  B(
562
568
  () => M.pageSchema,
563
569
  (f) => {
564
- ae(p, f);
570
+ ce(p, f);
565
571
  },
566
572
  {
567
573
  immediate: !0,
@@ -582,82 +588,82 @@ const nt = {
582
588
  );
583
589
  function D(f) {
584
590
  let i = [];
585
- return f.forEach((F) => {
586
- 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);
587
593
  }), i;
588
594
  }
589
595
  function I(f, i) {
590
- function F(o) {
596
+ function P(o) {
591
597
  return JSON.parse(JSON.stringify(o));
592
598
  }
593
- function V(o, l) {
599
+ function F(o, l) {
594
600
  if (o.type === "card" && o.multiple && o.field && Array.isArray(l[o.field]))
595
601
  return l[o.field].map((u) => {
596
602
  var J;
597
- const _ = F({ ...o, multiple: !0 });
598
- 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(), _;
599
605
  });
600
- const $ = F(o);
601
- 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()), $;
602
608
  }
603
- return f.map((o) => V(o, i)).flat();
609
+ return f.map((o) => F(o, i)).flat();
604
610
  }
605
- function C(f, i = "", F = { root: 0 }) {
606
- const V = i || "root";
607
- 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) => {
608
614
  o.field && (o.oldField = JSON.parse(JSON.stringify(o.field)));
609
615
  const l = { ...o };
610
616
  if (o.type === "card") {
611
617
  const $ = o.field || "";
612
- 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}.${$}`);
613
619
  const u = l.field || i;
614
- F[u] = 0;
620
+ P[u] = 0;
615
621
  } else o.field && i && (l.field = `${i}.${o.field}`);
616
- 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;
617
623
  });
618
624
  }
619
- function m(f, i, F = "", V = {}) {
620
- const o = F || "root";
621
- 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) => {
622
628
  const $ = l.field || "";
623
- let u = F ? `${F}.${$}` : `${$}`;
624
- l.type === "card" && l.multiple ? (typeof i[u][`${V[o]}`] == "object" ? Object.keys(i[u][`${V[o]}`]).forEach((_) => {
625
- i[`${u}[${V[o]}].${_}`] = i[u][`${V[o]}`][_];
626
- }) : 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(
627
633
  l.children,
628
634
  i,
629
- `${u}[${V[o]}]` || F,
630
- V
631
- )), V[o]++) : l.children && (l.children = m(l.children, i, F, V));
632
- }), 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;
633
639
  }
634
- function R(f, i, F) {
635
- let V = m(G(f), G(i));
640
+ function U(f, i, P) {
641
+ let F = h(G(f), G(i));
636
642
  return {
637
643
  obj: C(f),
638
- dataObj: V
644
+ dataObj: F
639
645
  };
640
646
  }
641
647
  function L(f) {
642
648
  let i = D(M.pageSchema.schemas[0].children);
643
649
  a.value = i.filter((l) => l.type === "card" && l.multiple);
644
- const F = I(M.pageSchema.schemas[0].children, f);
645
- let { obj: V, dataObj: o } = R(F, f, a.value);
646
- return f = o, M.pageSchema.schemas[0].children = V, Object.keys(f).forEach((l) => {
647
- 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;
648
654
  if (l.indexOf("@") < 0) {
649
655
  const b = i.find((X) => X.field === l), Me = ["datetimerange", "daterange", "monthrange", "dates"];
650
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")
651
- f[l] = (q = f[l]) == null ? void 0 : q.split(",");
652
- 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")
653
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(",");
654
660
  else if (((b == null ? void 0 : b.type) === "upload-image" || (b == null ? void 0 : b.type) === "upload-file") && typeof f[l] == "string") {
655
661
  let X = [];
656
- Object.entries(f).forEach(([te, ye]) => {
657
- f[l] === ye && te !== b.field && te.indexOf("@") > -1 && te.indexOf(l) > -1 && (X = te.split("@")[1].split(","));
658
- }), f[l] = f[l].split(",").map((te, ye) => ({
659
- url: te,
660
- 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
661
667
  }));
662
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);
663
669
  }
@@ -666,26 +672,26 @@ const nt = {
666
672
  B(
667
673
  () => p.script,
668
674
  (f) => {
669
- f && h.setMethods(f, !0);
675
+ f && m.setMethods(f, !0);
670
676
  },
671
677
  {
672
678
  immediate: !0
673
679
  }
674
- ), 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(
675
681
  "disabled",
676
682
  W(() => M.disabled)
677
683
  );
678
- const A = ue(), v = A == null ? void 0 : A.proxy;
684
+ const A = fe(), v = A == null ? void 0 : A.proxy;
679
685
  function ee() {
680
- ce(() => {
681
- 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);
682
688
  });
683
689
  }
684
690
  return j.on("updateformData" + (M.id ? M.id : ""), (f) => {
685
691
  c("change", f);
686
692
  }), n({
687
693
  ready: g,
688
- pageManager: h,
694
+ pageManager: m,
689
695
  getData: O,
690
696
  setData: t,
691
697
  validate: x,
@@ -693,23 +699,23 @@ const nt = {
693
699
  setForms: S,
694
700
  validateAll: y,
695
701
  getFormInstance: E
696
- }), (f, i) => U(z).initialized.value ? (H(), Y(Fe, {
702
+ }), (f, i) => R(z).initialized.value ? (H(), q(Pe, {
697
703
  key: 1,
698
704
  onResolve: ee
699
705
  }, {
700
706
  default: T(() => [
701
707
  k("div", ot, [
702
- (H(!0), Ee(Je, null, ze(p.schemas, (F, V) => (H(), Y(U(et), {
708
+ (H(!0), Ee(Je, null, ze(p.schemas, (P, F) => (H(), q(R(et), {
703
709
  id: M.id,
704
- key: V,
710
+ key: F,
705
711
  sourceDateUrl: M.sourceDateUrl,
706
- componentSchema: F
712
+ componentSchema: P
707
713
  }, null, 8, ["id", "sourceDateUrl", "componentSchema"]))), 128))
708
714
  ])
709
715
  ]),
710
716
  fallback: T(() => [
711
717
  k("div", st, [
712
- Q(U(r))
718
+ Y(R(s))
713
719
  ])
714
720
  ]),
715
721
  _: 1
@@ -720,70 +726,70 @@ function xe(e) {
720
726
  return Ze() ? (We(e), !0) : !1;
721
727
  }
722
728
  function lt(e) {
723
- let n = 0, s, r;
729
+ let n = 0, r, s;
724
730
  const c = () => {
725
- 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);
726
732
  };
727
- 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);
728
734
  }
729
- function ie(e) {
730
- return typeof e == "function" ? e() : U(e);
735
+ function ue(e) {
736
+ return typeof e == "function" ? e() : R(e);
731
737
  }
732
738
  const at = typeof window < "u" && typeof document < "u";
733
739
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
734
740
  const it = (e) => typeof e < "u", ct = Object.prototype.toString, ut = (e) => ct.call(e) === "[object Object]", dt = () => {
735
741
  };
736
742
  function ft(e) {
737
- return ue();
743
+ return fe();
738
744
  }
739
- function pt(e, n = !0, s) {
740
- ft() ? Ae(e, s) : n ? e() : ce(e);
745
+ function pt(e, n = !0, r) {
746
+ ft() ? Ae(e, r) : n ? e() : de(e);
741
747
  }
742
748
  function mt(e = !1, n = {}) {
743
749
  const {
744
- truthyValue: s = !0,
745
- falsyValue: r = !1
746
- } = n, c = Ke(e), a = P(e);
750
+ truthyValue: r = !0,
751
+ falsyValue: s = !1
752
+ } = n, c = Ke(e), a = V(e);
747
753
  function w(g) {
748
754
  if (arguments.length)
749
755
  return a.value = g, a.value;
750
756
  {
751
- const h = ie(s);
752
- 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;
753
759
  }
754
760
  }
755
761
  return c ? w : [a, w];
756
762
  }
757
- function Jt(e, n, s) {
758
- const r = B(e, (...c) => (ce(() => r()), n(...c)), s);
759
- return r;
763
+ function Jt(e, n, r) {
764
+ const s = B(e, (...c) => (de(() => s()), n(...c)), r);
765
+ return s;
760
766
  }
761
767
  const ve = at ? window : void 0;
762
- function oe(e) {
768
+ function se(e) {
763
769
  var n;
764
- const s = ie(e);
765
- 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;
766
772
  }
767
773
  function ht(...e) {
768
- let n, s, r, c;
769
- 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)
770
776
  return dt;
771
- Array.isArray(s) || (s = [s]), Array.isArray(r) || (r = [r]);
777
+ Array.isArray(r) || (r = [r]), Array.isArray(s) || (s = [s]);
772
778
  const a = [], w = () => {
773
779
  a.forEach((O) => O()), a.length = 0;
774
- }, g = (O, t, x, d) => (O.addEventListener(t, x, d), () => O.removeEventListener(t, x, d)), h = B(
775
- () => [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)],
776
782
  ([O, t]) => {
777
783
  if (w(), !O)
778
784
  return;
779
785
  const x = ut(t) ? { ...t } : t;
780
786
  a.push(
781
- ...s.flatMap((d) => r.map((S) => g(O, d, S, x)))
787
+ ...r.flatMap((d) => s.map((S) => g(O, d, S, x)))
782
788
  );
783
789
  },
784
790
  { immediate: !0, flush: "post" }
785
791
  ), N = () => {
786
- h(), w();
792
+ m(), w();
787
793
  };
788
794
  return xe(N), N;
789
795
  }
@@ -791,26 +797,26 @@ function vt(e) {
791
797
  return typeof e == "function" ? e : typeof e == "string" ? (n) => n.key === e : Array.isArray(e) ? (n) => e.includes(n.key) : () => !0;
792
798
  }
793
799
  function Ce(...e) {
794
- let n, s, r = {};
795
- 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]);
796
802
  const {
797
803
  target: c = ve,
798
804
  eventName: a = "keydown",
799
805
  passive: w = !1,
800
806
  dedupe: g = !1
801
- } = r, h = vt(n);
807
+ } = s, m = vt(n);
802
808
  return ht(c, a, (O) => {
803
- O.repeat && ie(g) || h(O) && s(O);
809
+ O.repeat && ue(g) || m(O) && r(O);
804
810
  }, w);
805
811
  }
806
- function we(e, n, s = {}) {
807
- return Ce(e, n, { ...s, eventName: "keydown" });
812
+ function we(e, n, r = {}) {
813
+ return Ce(e, n, { ...r, eventName: "keydown" });
808
814
  }
809
- function Se(e, n, s = {}) {
810
- return Ce(e, n, { ...s, eventName: "keyup" });
815
+ function Se(e, n, r = {}) {
816
+ return Ce(e, n, { ...r, eventName: "keyup" });
811
817
  }
812
818
  function gt() {
813
- const e = P(!1), n = ue();
819
+ const e = V(!1), n = fe();
814
820
  return n && Ae(() => {
815
821
  e.value = !0;
816
822
  }, n), e;
@@ -822,18 +828,18 @@ function yt(e) {
822
828
  function wt(e) {
823
829
  return JSON.parse(JSON.stringify(e));
824
830
  }
825
- function St(e, n, s = {}) {
826
- const { window: r = ve, ...c } = s;
831
+ function St(e, n, r = {}) {
832
+ const { window: s = ve, ...c } = r;
827
833
  let a;
828
- const w = yt(() => r && "ResizeObserver" in r), g = () => {
834
+ const w = yt(() => s && "ResizeObserver" in s), g = () => {
829
835
  a && (a.disconnect(), a = void 0);
830
- }, h = W(() => {
831
- const t = ie(e);
832
- 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)];
833
839
  }), N = B(
834
- h,
840
+ m,
835
841
  (t) => {
836
- if (g(), w.value && r) {
842
+ if (g(), w.value && s) {
837
843
  a = new ResizeObserver(n);
838
844
  for (const x of t)
839
845
  x && a.observe(x, c);
@@ -848,16 +854,16 @@ function St(e, n, s = {}) {
848
854
  stop: O
849
855
  };
850
856
  }
851
- function zt(e, n = { width: 0, height: 0 }, s = {}) {
852
- 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(() => {
853
859
  var t, x;
854
- return (x = (t = oe(e)) == null ? void 0 : t.namespaceURI) == null ? void 0 : x.includes("svg");
855
- }), 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(
856
862
  e,
857
863
  ([t]) => {
858
864
  const x = c === "border-box" ? t.borderBoxSize : c === "content-box" ? t.contentBoxSize : t.devicePixelContentBoxSize;
859
- if (r && a.value) {
860
- const d = oe(e);
865
+ if (s && a.value) {
866
+ const d = se(e);
861
867
  if (d) {
862
868
  const S = d.getBoundingClientRect();
863
869
  w.value = S.width, g.value = S.height;
@@ -868,20 +874,20 @@ function zt(e, n = { width: 0, height: 0 }, s = {}) {
868
874
  } else
869
875
  w.value = t.contentRect.width, g.value = t.contentRect.height;
870
876
  },
871
- s
877
+ r
872
878
  );
873
879
  pt(() => {
874
- const t = oe(e);
880
+ const t = se(e);
875
881
  t && (w.value = "offsetWidth" in t ? t.offsetWidth : n.width, g.value = "offsetHeight" in t ? t.offsetHeight : n.height);
876
882
  });
877
883
  const N = B(
878
- () => oe(e),
884
+ () => se(e),
879
885
  (t) => {
880
886
  w.value = t ? n.width : 0, g.value = t ? n.height : 0;
881
887
  }
882
888
  );
883
889
  function O() {
884
- h(), N();
890
+ m(), N();
885
891
  }
886
892
  return {
887
893
  width: w,
@@ -889,33 +895,33 @@ function zt(e, n = { width: 0, height: 0 }, s = {}) {
889
895
  stop: O
890
896
  };
891
897
  }
892
- function Ht(e, n, s, r = {}) {
898
+ function Ht(e, n, r, s = {}) {
893
899
  var c, a, w;
894
900
  const {
895
901
  clone: g = !1,
896
- passive: h = !1,
902
+ passive: m = !1,
897
903
  eventName: N,
898
904
  deep: O = !1,
899
905
  defaultValue: t,
900
906
  shouldEmit: x
901
- } = 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));
902
908
  let y = N;
903
909
  n || (n = "modelValue"), y = y || `update:${n.toString()}`;
904
910
  const E = (D) => g ? typeof g == "function" ? g(D) : wt(D) : D, M = () => it(e[n]) ? E(e[n]) : t, p = (D) => {
905
911
  x ? x(D) && S(y, D) : S(y, D);
906
912
  };
907
- if (h) {
908
- const D = M(), I = P(D);
913
+ if (m) {
914
+ const D = M(), I = V(D);
909
915
  let C = !1;
910
916
  return B(
911
917
  () => e[n],
912
- (m) => {
913
- C || (C = !0, I.value = E(m), ce(() => C = !1));
918
+ (h) => {
919
+ C || (C = !0, I.value = E(h), de(() => C = !1));
914
920
  }
915
921
  ), B(
916
922
  I,
917
- (m) => {
918
- !C && (m !== e[n] || O) && p(m);
923
+ (h) => {
924
+ !C && (h !== e[n] || O) && p(h);
919
925
  },
920
926
  { deep: O }
921
927
  ), I;
@@ -937,7 +943,7 @@ function Kt() {
937
943
  };
938
944
  }
939
945
  function Dt() {
940
- const e = P(!1);
946
+ const e = V(!1);
941
947
  return Ae(() => {
942
948
  bt(e), Et(e);
943
949
  }), B(
@@ -954,61 +960,61 @@ function bt(e) {
954
960
  n && (n.classList.contains("dark") ? e.value = !0 : e.value = !1);
955
961
  }
956
962
  function Et(e) {
957
- var n = document.querySelector("html"), s = new MutationObserver(function(r) {
958
- for (var c of r)
963
+ var n = document.querySelector("html"), r = new MutationObserver(function(s) {
964
+ for (var c of s)
959
965
  if (c.type === "attributes" && c.attributeName === "class") {
960
966
  const a = c.target;
961
967
  new Array(...a.classList).includes("dark") ? e.value = !0 : e.value = !1;
962
968
  }
963
969
  });
964
- s.observe(n, {
970
+ r.observe(n, {
965
971
  attributes: !0,
966
972
  attributeFilter: ["class"]
967
973
  }), $e(() => {
968
- s.disconnect();
974
+ r.disconnect();
969
975
  });
970
976
  }
971
977
  function At() {
972
- 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();
973
979
  return {
974
980
  canvasScale: e,
975
- pressSpace: r,
981
+ pressSpace: s,
976
982
  pressShift: c,
977
983
  pressCtrl: a,
978
984
  disabledZoom: n,
979
- isDark: s
985
+ isDark: r
980
986
  };
981
987
  }
982
988
  const ge = lt(At);
983
989
  function Ot() {
984
- const e = P(!1), n = P(!1), s = P(!1);
990
+ const e = V(!1), n = V(!1), r = V(!1);
985
991
  return we(" ", () => {
986
992
  e.value = !0;
987
993
  }), Se(" ", () => {
988
994
  e.value = !1;
989
- }), we("Shift", (r) => {
990
- r.preventDefault(), n.value = !0;
995
+ }), we("Shift", (s) => {
996
+ s.preventDefault(), n.value = !0;
991
997
  }), Se("Shift", () => {
992
998
  n.value = !1;
993
- }), we("Control", (r) => {
994
- r.preventDefault(), s.value = !0;
999
+ }), we("Control", (s) => {
1000
+ s.preventDefault(), r.value = !0;
995
1001
  }), Se("Control", () => {
996
- s.value = !1;
997
- }), { pressSpace: e, pressShift: n, pressCtrl: s };
1002
+ r.value = !1;
1003
+ }), { pressSpace: e, pressShift: n, pressCtrl: r };
998
1004
  }
999
1005
  function Zt(e) {
1000
- const { pressSpace: n } = ge(), s = new Image(1, 1);
1001
- s.src = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg==";
1002
- let r = 0, c = 0;
1003
- 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) {
1004
1010
  var N;
1005
- 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));
1006
1012
  }
1007
- function w(h) {
1008
- if (h.preventDefault(), !h.x || !h.y || !n.value)
1013
+ function w(m) {
1014
+ if (m.preventDefault(), !m.x || !m.y || !n.value)
1009
1015
  return;
1010
- const N = h.x - r, O = h.y - c;
1011
- 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);
1012
1018
  }
1013
1019
  function g() {
1014
1020
  n.value = !1;
@@ -1016,38 +1022,38 @@ function Zt(e) {
1016
1022
  return { handleElementDragStart: a, handleElementDrag: w, handleElementDragEnd: g };
1017
1023
  }
1018
1024
  function Wt(e) {
1019
- const { pressCtrl: n, canvasScale: s, disabledZoom: r } = ge();
1025
+ const { pressCtrl: n, canvasScale: r, disabledZoom: s } = ge();
1020
1026
  function c(a) {
1021
- if (!n.value || r.value)
1027
+ if (!n.value || s.value)
1022
1028
  return;
1023
1029
  a.preventDefault();
1024
1030
  let w = 0;
1025
- 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);
1026
1032
  }
1027
1033
  return B(
1028
- () => s.value,
1034
+ () => r.value,
1029
1035
  (a) => {
1030
- e.value && !r.value && (e.value.style.transform = `scale(${a})`);
1036
+ e.value && !s.value && (e.value.style.transform = `scale(${a})`);
1031
1037
  }
1032
- ), { handleZoom: c, canvasScale: s };
1038
+ ), { handleZoom: c, canvasScale: r };
1033
1039
  }
1034
1040
  function Gt(e, n = 16.66) {
1035
- let s;
1036
- function r() {
1037
- c(), s = window.setInterval(e, n);
1041
+ let r;
1042
+ function s() {
1043
+ c(), r = window.setInterval(e, n);
1038
1044
  }
1039
1045
  function c() {
1040
- window.clearInterval(s);
1046
+ window.clearInterval(r);
1041
1047
  }
1042
1048
  return {
1043
- startTimedQuery: r,
1049
+ startTimedQuery: s,
1044
1050
  stopTimedQuery: c
1045
1051
  };
1046
1052
  }
1047
- 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({
1048
1054
  __name: "index",
1049
1055
  setup(e, { expose: n }) {
1050
- 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("");
1051
1057
  function t() {
1052
1058
  w.value = !1;
1053
1059
  }
@@ -1064,7 +1070,7 @@ const xt = { class: "min-w-750px rounded" }, It = { class: "h-full rounded" }, _
1064
1070
  alert("请添加表单组件后再尝试!");
1065
1071
  return;
1066
1072
  }
1067
- 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(() => {
1068
1074
  var E;
1069
1075
  (E = c.value) == null || E.setValue(g.value);
1070
1076
  }), w.value = !0;
@@ -1074,7 +1080,7 @@ const xt = { class: "min-w-750px rounded" }, It = { class: "h-full rounded" }, _
1074
1080
  }
1075
1081
  return n({
1076
1082
  handleOpen: d
1077
- }), (y, E) => (H(), Y(U(r), {
1083
+ }), (y, E) => (H(), q(R(s), {
1078
1084
  modelValue: a.value,
1079
1085
  "onUpdate:modelValue": E[1] || (E[1] = (M) => a.value = M),
1080
1086
  title: "预览",
@@ -1086,13 +1092,13 @@ const xt = { class: "min-w-750px rounded" }, It = { class: "h-full rounded" }, _
1086
1092
  }, {
1087
1093
  default: T(() => [
1088
1094
  k("div", xt, [
1089
- (H(), Y(U(rt), {
1095
+ (H(), q(R(rt), {
1090
1096
  key: O.value,
1091
1097
  ref_key: "kb",
1092
1098
  ref: N,
1093
- "page-schema": U(h)
1099
+ "page-schema": R(m)
1094
1100
  }, null, 8, ["page-schema"])),
1095
- Q(U(r), {
1101
+ Y(R(s), {
1096
1102
  modelValue: w.value,
1097
1103
  "onUpdate:modelValue": E[0] || (E[0] = (M) => w.value = M),
1098
1104
  title: "表单数据",
@@ -1103,7 +1109,7 @@ const xt = { class: "min-w-750px rounded" }, It = { class: "h-full rounded" }, _
1103
1109
  }, {
1104
1110
  default: T(() => [
1105
1111
  k("div", It, [
1106
- Q(U(s), {
1112
+ Y(R(r), {
1107
1113
  ref_key: "monacoEditorRef",
1108
1114
  ref: c,
1109
1115
  autoToggleTheme: "",
@@ -1123,7 +1129,7 @@ const xt = { class: "min-w-750px rounded" }, It = { class: "h-full rounded" }, _
1123
1129
  }), $t = {
1124
1130
  key: 0,
1125
1131
  class: "epic-loading-box"
1126
- }, 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({
1127
1133
  __name: "designer",
1128
1134
  props: {
1129
1135
  disabledZoom: { type: Boolean, default: !1 },
@@ -1145,17 +1151,17 @@ const xt = { class: "min-w-750px rounded" }, It = { class: "h-full rounded" }, _
1145
1151
  "deleteSourceData",
1146
1152
  "updateSourceData"
1147
1153
  ],
1148
- setup(e, { expose: n, emit: s }) {
1149
- const { t: r } = Oe(), c = se(() => import("./index-IGxCNti8.js")), a = se(() => import("./index-WkZdU_zw.js")), w = se(() => import("./index-hOLbkmql.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;
1150
1156
  let x = {
1151
1157
  schemas: [
1152
1158
  {
1153
1159
  type: "form",
1154
1160
  id: "root",
1155
- label: r("page"),
1161
+ label: s("page"),
1156
1162
  children: [],
1157
1163
  componentProps: {
1158
- name: r("form"),
1164
+ name: s("form"),
1159
1165
  style: {
1160
1166
  padding: "16px"
1161
1167
  }
@@ -1200,12 +1206,12 @@ defineExpose({
1200
1206
  }
1201
1207
  t.source && z.setSourceData(t.source), t.formMode && (x.schemas = z.formSchemas);
1202
1208
  }), N.setDesignMode(), N.setDefaultComponentIds(x.schemas);
1203
- const d = s, S = P(null), y = re({
1209
+ const d = r, S = V(null), y = ae({
1204
1210
  checkedNode: null,
1205
1211
  hoverNode: null,
1206
1212
  disableHover: !1,
1207
1213
  matched: []
1208
- }), E = re({
1214
+ }), E = ae({
1209
1215
  schemas: [],
1210
1216
  script: x.script
1211
1217
  }), { disabledZoom: M } = ge();
@@ -1220,7 +1226,7 @@ defineExpose({
1220
1226
  ), Z("designer", {
1221
1227
  setCheckedNode: D,
1222
1228
  setHoverNode: I,
1223
- setDisableHover: m,
1229
+ setDisableHover: h,
1224
1230
  handleToggleDeviceMode: ee,
1225
1231
  reset: A,
1226
1232
  state: y
@@ -1238,29 +1244,29 @@ defineExpose({
1238
1244
  y.checkedNode = i, y.matched = Xe(E.schemas, i.id);
1239
1245
  }
1240
1246
  async function I(i = null) {
1241
- var F;
1247
+ var P;
1242
1248
  if (!i || y.disableHover)
1243
1249
  return y.hoverNode = null, !1;
1244
- 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))
1245
1251
  return !1;
1246
1252
  y.hoverNode = i;
1247
1253
  }
1248
1254
  function C() {
1249
- ce(() => {
1255
+ de(() => {
1250
1256
  d("ready", { pageManager: N });
1251
1257
  });
1252
1258
  }
1253
- async function m(i = !1) {
1259
+ async function h(i = !1) {
1254
1260
  y.disableHover = i;
1255
1261
  }
1256
- function R(i) {
1257
- ae(E, G(i));
1262
+ function U(i) {
1263
+ ce(E, G(i));
1258
1264
  }
1259
1265
  function L() {
1260
1266
  return Ie(E);
1261
1267
  }
1262
1268
  function A() {
1263
- 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));
1264
1270
  }
1265
1271
  function v() {
1266
1272
  d("save", Ie(E));
@@ -1273,19 +1279,19 @@ defineExpose({
1273
1279
  }
1274
1280
  return p(), n({
1275
1281
  revoke: O,
1276
- setData: R,
1282
+ setData: U,
1277
1283
  getData: L,
1278
1284
  reset: A,
1279
1285
  preview: f
1280
- }), (i, F) => U(z).initialized.value ? (H(), Y(Fe, {
1286
+ }), (i, P) => R(z).initialized.value ? (H(), q(Pe, {
1281
1287
  key: 1,
1282
1288
  onResolve: C
1283
1289
  }, {
1284
1290
  default: T(() => [
1285
1291
  k("div", Nt, [
1286
- k("div", Ft, [
1292
+ k("div", Pt, [
1287
1293
  K(i.$slots, "header", {}, () => [
1288
- t.hiddenHeader ? Ne("", !0) : (H(), Y(U(c), {
1294
+ t.hiddenHeader ? Ne("", !0) : (H(), q(R(c), {
1289
1295
  key: 0,
1290
1296
  onPreview: f,
1291
1297
  onSave: v
@@ -1315,26 +1321,26 @@ defineExpose({
1315
1321
  k("div", {
1316
1322
  class: Ge(["epic-split-view-container", { "hidden-header": i.hiddenHeader }])
1317
1323
  }, [
1318
- Q(U(a)),
1319
- Q(U(w)),
1320
- Q(U(g))
1324
+ Y(R(a)),
1325
+ Y(R(w)),
1326
+ Y(R(g))
1321
1327
  ], 2),
1322
- Q(_t, {
1328
+ Y(_t, {
1323
1329
  ref_key: "previewRef",
1324
1330
  ref: S
1325
1331
  }, null, 512)
1326
1332
  ])
1327
1333
  ]),
1328
1334
  fallback: T(() => [
1329
- k("div", Vt, [
1330
- Q(U(h))
1335
+ k("div", Ft, [
1336
+ Y(R(m))
1331
1337
  ])
1332
1338
  ]),
1333
1339
  _: 3
1334
1340
  })) : (H(), Ee("div", $t));
1335
1341
  }
1336
- }), Pt = {
1337
- component: async () => await import("./index-B7wRhLwc.js"),
1342
+ }), Vt = {
1343
+ component: async () => await import("./index-Dk08eIJW.js"),
1338
1344
  defaultSchema: {
1339
1345
  label: "代码编辑器",
1340
1346
  type: "monacoEditor",
@@ -1384,7 +1390,7 @@ defineExpose({
1384
1390
  }
1385
1391
  }, { t: me } = Oe();
1386
1392
  function Mt(e) {
1387
- 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-BUt-kkII.js")), e.component("ERuleEditor", async () => await import("./index-CItH08Va.js")), e.component("EOptionsEditor", async () => await import("./index-DrBumgPi.js")), e.component("ENode", async () => await import("./index-5XsDINLZ.js")), e.component("EDataSource", async () => await import("./index-B0OgKtuT.js")), e.component("EColumnEditor", async () => await import("./index-BokMTYeM.js")), e.component("PaddingMarginControl", async () => await import("./index-CdnV7DS4.js")), e.component("ESourceDataSelect", async () => await import("./index-CNtDbtWP.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({
1388
1394
  id: "component_view",
1389
1395
  title: me("component"),
1390
1396
  icon: "icon--epic--extension-outline",
@@ -1397,17 +1403,17 @@ function Mt(e) {
1397
1403
  }), e.registerRightSidebar({
1398
1404
  id: "attribute_view",
1399
1405
  title: me("attribute"),
1400
- component: async () => await import("./attributeView-BBN4W9TM.js")
1406
+ component: async () => await import("./attributeView-CFfmxcU9.js")
1401
1407
  }), e.registerRightSidebar({
1402
1408
  id: "style_view",
1403
1409
  title: me("style"),
1404
- component: async () => await import("./styleView-DN0aAYgR.js")
1410
+ component: async () => await import("./styleView-BqdHZS9i.js")
1405
1411
  }), e.registerRightSidebar({
1406
1412
  id: "event_view",
1407
1413
  title: "事件",
1408
1414
  component: async () => await import("./eventView-C2wKhfU_.js")
1409
- }), [Pt, Ct].forEach((s) => {
1410
- e.registerComponent(s);
1415
+ }), [Vt, Ct].forEach((r) => {
1416
+ e.registerComponent(r);
1411
1417
  });
1412
1418
  }
1413
1419
  Mt(z);
@@ -1423,7 +1429,7 @@ export {
1423
1429
  Kt as h,
1424
1430
  rt as i,
1425
1431
  Qt as j,
1426
- Pe as k,
1432
+ Ve as k,
1427
1433
  ke as l,
1428
1434
  Ot as m,
1429
1435
  Dt as n,