epic-designer-gold 1.0.35 → 1.0.36

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 (44) hide show
  1. package/dist/{attributeView-CDOlTCej.cjs → attributeView-BTH9azyB.cjs} +1 -1
  2. package/dist/{attributeView-BsBiqVGu.js → attributeView-CDem_ES8.js} +1 -1
  3. package/dist/{form-BaNhucdK.js → form-DDcaeFok.js} +16 -14
  4. package/dist/form-sr_OUKVG.cjs +1 -0
  5. package/dist/{index-lkwgM-Nx.js → index-B-CXu5E4.js} +1 -1
  6. package/dist/{index-CBKTyKT5.cjs → index-B9Wg0OhT.cjs} +1 -1
  7. package/dist/{index-C0sL_Cow.cjs → index-BEh2QNCv.cjs} +1 -1
  8. package/dist/{index-u1-3v7J4.js → index-BcqJCHqF.js} +1 -1
  9. package/dist/{index-zxpOBir-.js → index-BtHv1yZo.js} +1 -1
  10. package/dist/{index-CqmYHiDr.cjs → index-C9azM5P0.cjs} +1 -1
  11. package/dist/{index-Ch0kn_uQ.js → index-CTeq7qi8.js} +1 -1
  12. package/dist/index-CXkyECv6.cjs +10 -0
  13. package/dist/{index-Bv6UOkMb.cjs → index-C_yxhoSP.cjs} +1 -1
  14. package/dist/{index-BCfsLh0H.js → index-CjRCetGY.js} +237 -238
  15. package/dist/{index-PjUZVUx6.cjs → index-DCixZvy_.cjs} +1 -1
  16. package/dist/{index-D8diDndG.js → index-DWNK2WbN.js} +1 -1
  17. package/dist/{index-EU7IKyES.cjs → index-DYItQsu1.cjs} +1 -1
  18. package/dist/{index-wjKD4mBu.cjs → index-Dgm8C1cw.cjs} +1 -1
  19. package/dist/{index-BelKUDOu.js → index-DhC_pgAC.js} +1 -1
  20. package/dist/{index-Dh-5bgQx.cjs → index-Dk-o3v2v.cjs} +1 -1
  21. package/dist/{index-BK6ipjbo.cjs → index-Dz2rmUzG.cjs} +1 -1
  22. package/dist/{index-6ehvFk8m.js → index-PJBBvGIL.js} +1 -1
  23. package/dist/{index-CP9mOhqZ.cjs → index-U1_FTPaZ.cjs} +1 -1
  24. package/dist/{index-57Jo44dB.js → index-Zf435cWW.js} +1 -1
  25. package/dist/{index-nvc1uY17.js → index-aPG4tpxN.js} +1 -1
  26. package/dist/index-edBSFxZI.js +4 -0
  27. package/dist/{index-Ce2UbX3P.cjs → index-i1OdHmT9.cjs} +1 -1
  28. package/dist/{index-BQGUEUhF.js → index-q9yvq5KO.js} +1 -1
  29. package/dist/index.cjs +1 -1
  30. package/dist/index.js +1 -1
  31. package/dist/ocrUpload-BoJVjq3M.cjs +1 -0
  32. package/dist/{ocrUpload-Cxxs1GtD.js → ocrUpload-DFAe83gW.js} +36 -34
  33. package/dist/{sign-B1wFFef_.cjs → sign-BWCF3Rru.cjs} +1 -1
  34. package/dist/{sign-mjic2rIw.js → sign-D5uFYJi9.js} +1 -1
  35. package/dist/style.css +1 -1
  36. package/dist/{styleView-sZrNBCuS.cjs → styleView-BgS1xwp3.cjs} +1 -1
  37. package/dist/{styleView-DXePdHW5.js → styleView-NkYOpZPH.js} +1 -1
  38. package/dist/ui/elementPlus/index.cjs +1 -1
  39. package/dist/ui/elementPlus/index.js +3 -3
  40. package/package.json +1 -1
  41. package/dist/form-DvdMrtVG.cjs +0 -1
  42. package/dist/index-4NyY4OrM.cjs +0 -10
  43. package/dist/index-BNgMDVXO.js +0 -4
  44. package/dist/ocrUpload-CMskfGHX.cjs +0 -1
@@ -1,5 +1,5 @@
1
- import { ref as F, reactive as de, defineComponent as fe, createBlock as ae, renderSlot as X, openBlock as Y, unref as W, mergeProps as xe, withCtx as Z, getCurrentInstance as ye, inject as se, watch as K, useAttrs as Ze, provide as k, shallowRef as Re, computed as ee, watchEffect as Ee, onUnmounted as Ue, resolveComponent as Ge, createElementBlock as ge, Fragment as Te, createCommentVNode as Ne, createElementVNode as te, createStaticVNode as Qe, toDisplayString as Ye, resolveDynamicComponent as qe, createVNode as oe, useSlots as Xe, Suspense as Be, renderList as ke, nextTick as ce, onMounted as Fe, effectScope as je, isRef as et, readonly as tt, getCurrentScope as nt, onScopeDispose as ot, normalizeClass as at, toRaw as Ve } from "vue";
2
- import { f as rt, p as q, d as pe, a as ne, b as Je, c as st, E as re, l as ue, g as lt, e as it } from "./pluginManager-B0y107-1.js";
1
+ import { ref as F, reactive as de, defineComponent as fe, createBlock as ae, renderSlot as q, openBlock as Y, unref as W, mergeProps as xe, withCtx as Z, getCurrentInstance as ye, inject as se, watch as K, useAttrs as Ze, provide as X, shallowRef as Re, computed as ee, watchEffect as Ee, onUnmounted as Ue, resolveComponent as Ge, createElementBlock as ge, Fragment as Te, createCommentVNode as Ne, createElementVNode as te, createStaticVNode as Qe, toDisplayString as Ye, resolveDynamicComponent as ke, createVNode as oe, useSlots as qe, Suspense as Be, renderList as Xe, nextTick as ce, onMounted as Fe, effectScope as je, isRef as et, readonly as tt, getCurrentScope as nt, onScopeDispose as ot, normalizeClass as at, toRaw as Ve } from "vue";
2
+ import { f as rt, p as k, d as pe, a as ne, b as ze, c as st, E as re, l as ue, g as lt, e as it } from "./pluginManager-B0y107-1.js";
3
3
  import { a as j, u as Pe } from "./index-B1s67XDZ.js";
4
4
  import { ElMessage as ct } from "element-plus";
5
5
  import { a as ve, _ as ut } from "./_plugin-vue_export-helper-8DRKdUfJ.js";
@@ -11,8 +11,8 @@ function fn(e, n) {
11
11
  }, n);
12
12
  };
13
13
  }
14
- function ze() {
15
- const e = F({}), n = F({}), o = F(!1), s = F([]), d = de({});
14
+ function Je() {
15
+ const e = F({}), n = F({}), o = F(!1), s = F([]), f = de({});
16
16
  function a(p) {
17
17
  return e.value[p];
18
18
  }
@@ -23,7 +23,7 @@ function ze() {
23
23
  delete e.value[p];
24
24
  }
25
25
  function w(p, E = !1) {
26
- const $ = Object.entries(q.publicMethods).reduce(
26
+ const $ = Object.entries(k.publicMethods).reduce(
27
27
  (P, [y, H]) => (P[y] = H.handler, P),
28
28
  {}
29
29
  );
@@ -34,7 +34,7 @@ function ze() {
34
34
  find: a,
35
35
  defineExpose: A,
36
36
  publicMethods: $,
37
- pluginManager: q
37
+ pluginManager: k
38
38
  })();
39
39
  } catch (P) {
40
40
  E && console.error("[epic:自定义函数]异常:", P);
@@ -69,7 +69,7 @@ function ze() {
69
69
  function m(p, E) {
70
70
  var $;
71
71
  try {
72
- ($ = q.publicMethods[p.methodName]) == null || $.handler(...E);
72
+ ($ = k.publicMethods[p.methodName]) == null || $.handler(...E);
73
73
  } catch (P) {
74
74
  console.error(`[Epic:公共函数(${p.methodName})]执行异常:`, P);
75
75
  }
@@ -94,7 +94,7 @@ function ze() {
94
94
  console.error(`[Epic:组件${p.componentId}函数(${p.methodName})]执行异常:`, P);
95
95
  }
96
96
  }
97
- function S(p = !0) {
97
+ function b(p = !0) {
98
98
  o.value = p;
99
99
  }
100
100
  function g(p) {
@@ -102,25 +102,25 @@ function ze() {
102
102
  s.value = E.map(($) => $.id);
103
103
  }
104
104
  function D(p, E = "default") {
105
- if (d[E]) {
106
- const $ = d[E];
105
+ if (f[E]) {
106
+ const $ = f[E];
107
107
  pe(p, $);
108
108
  }
109
- d[E] = p;
109
+ f[E] = p;
110
110
  }
111
111
  function M(p, E = "default") {
112
- if (d[E]) {
113
- pe(d[E], p, !1);
112
+ if (f[E]) {
113
+ pe(f[E], p, !1);
114
114
  return;
115
115
  }
116
- d[E] = p;
116
+ f[E] = p;
117
117
  }
118
118
  return {
119
119
  componentInstances: e,
120
120
  funcs: n,
121
121
  isDesignMode: o,
122
122
  defaultComponentIds: s,
123
- forms: d,
123
+ forms: f,
124
124
  addFormData: D,
125
125
  setFormData: M,
126
126
  getComponentInstance: a,
@@ -130,14 +130,14 @@ function ze() {
130
130
  removeComponentInstance: i,
131
131
  setMethods: w,
132
132
  doActions: _,
133
- setDesignMode: S,
133
+ setDesignMode: b,
134
134
  setDefaultComponentIds: g
135
135
  };
136
136
  }
137
137
  function dt() {
138
138
  const e = F([]), n = F([]), o = F(null);
139
139
  let s = 0;
140
- function d(w, A = "插入组件") {
140
+ function f(w, A = "插入组件") {
141
141
  const _ = Date.now();
142
142
  s + 150 > _ || (s = _, o.value != null && (e.value.push(o.value), n.value.splice(0, n.value.length)), o.value = {
143
143
  type: A,
@@ -163,7 +163,7 @@ function dt() {
163
163
  recordList: e,
164
164
  undoList: n,
165
165
  currentRecord: o,
166
- push: d,
166
+ push: f,
167
167
  undo: a,
168
168
  redo: v,
169
169
  reset: i
@@ -177,8 +177,8 @@ const ft = /* @__PURE__ */ fe({
177
177
  },
178
178
  emits: ["updateFormItemRef"],
179
179
  setup(e, { emit: n }) {
180
- const o = q.getComponent("form-item"), s = e, d = n, a = F(), v = () => {
181
- d("updateFormItemRef", a.value);
180
+ const o = k.getComponent("form-item"), s = e, f = n, a = F(), v = () => {
181
+ f("updateFormItemRef", a.value);
182
182
  };
183
183
  return (i, w) => s.hasFormItem ? (Y(), ae(W(o), xe({
184
184
  key: 0,
@@ -187,10 +187,10 @@ const ft = /* @__PURE__ */ fe({
187
187
  onVnodeMounted: v
188
188
  }, s.formItemProps), {
189
189
  default: Z(() => [
190
- X(i.$slots, "default")
190
+ q(i.$slots, "default")
191
191
  ]),
192
192
  _: 3
193
- }, 16, ["onVnodeMounted"])) : X(i.$slots, "default", { key: 1 });
193
+ }, 16, ["onVnodeMounted"])) : q(i.$slots, "default", { key: 1 });
194
194
  }
195
195
  }), pt = {
196
196
  key: 0,
@@ -210,15 +210,15 @@ const ft = /* @__PURE__ */ fe({
210
210
  },
211
211
  emits: ["update:modelValue", "change", "update:dynamicId"],
212
212
  setup(e, { emit: n }) {
213
- const o = F(!1), s = F("加载中"), { proxy: d } = ye(), a = e, v = F(null);
213
+ const o = F(!1), s = F("加载中"), { proxy: f } = ye(), a = e, v = F(null);
214
214
  let i = se("formData", de({}));
215
215
  const w = se("slots", {}), A = se("pageManager", {}), _ = se("disabled", { value: !1 }), m = se("ruleFieldPrefix", null), N = se("resetFormData", !1);
216
216
  let t = de(ne(a.componentSchema));
217
217
  p();
218
- async function S(r) {
218
+ async function b(r) {
219
219
  try {
220
220
  o.value = !0, s.value = "正在识别中...请稍等";
221
- const b = {
221
+ const S = {
222
222
  url: r.callBackUrl,
223
223
  headers: {
224
224
  Authorization: "Bearer " + j.get("Admin-Token"),
@@ -226,23 +226,23 @@ const ft = /* @__PURE__ */ fe({
226
226
  zone: Intl.DateTimeFormat().resolvedOptions().timeZone
227
227
  }
228
228
  }, R = (r.callBackMethod || "").toLowerCase(), O = { [r.callBackField]: r.url.join(",") };
229
- R === "get" ? (b.method = "get", b.params = O) : (b.method = R || "post", b.data = O);
230
- let U = await ve(b), f = {};
231
- r.callBackDataPath ? f = r.callBackDataPath.split(".").reduce((G, Q) => G[Q], U.data) : f = U.data, r.validate && (r.validateParams.forEach((J) => {
232
- i[J.value] = i.orcWarningInfo__copy_data[J.value];
233
- }), i[r.field + "-orcWarningInfo"] = "", r.validateParams.forEach((J) => {
234
- i[J.value] && f[J.value] !== i[J.value] && f[J.value] && (a.componentSchema.componentProps.validateStatus = !0, i[r.field + "-orcWarningInfo"] ? i[r.field + "-orcWarningInfo"] = i[r.field + "-orcWarningInfo"] + "," + J.label + "已从" + i[J.value] + "改为" + f[J.value] : i[r.field + "-orcWarningInfo"] = J.label + "已从" + i[J.value] + "改为" + f[J.value]);
235
- })), Object.assign(i, f);
236
- } catch (b) {
237
- ct.error("OCR 识别回调处理失败:" + b.message);
229
+ R === "get" ? (S.method = "get", S.params = O) : (S.method = R || "post", S.data = O);
230
+ let U = await ve(S), d = {};
231
+ r.callBackDataPath ? d = r.callBackDataPath.split(".").reduce((G, Q) => G[Q], U.data) : d = U.data, r.validate && (r.validateParams.forEach((z) => {
232
+ i[z.value] = i.orcWarningInfo__copy_data[z.value];
233
+ }), i[r.field + "-orcWarningInfo"] = "", r.validateParams.forEach((z) => {
234
+ i[z.value] && d[z.value] !== i[z.value] && d[z.value] && (a.componentSchema.componentProps.validateStatus = !0, i[r.field + "-orcWarningInfo"] ? i[r.field + "-orcWarningInfo"] = i[r.field + "-orcWarningInfo"] + "," + z.label + "已从" + i[z.value] + "改为" + d[z.value] : i[r.field + "-orcWarningInfo"] = z.label + "已从" + i[z.value] + "改为" + d[z.value]);
235
+ })), Object.assign(i, d);
236
+ } catch (S) {
237
+ ct.error("OCR 识别回调处理失败:" + S.message);
238
238
  } finally {
239
239
  o.value = !1, s.value = "加载中";
240
240
  }
241
241
  }
242
- async function g({ value: r, field: b, fillDataSource: R, fillDataParams: O }) {
242
+ async function g({ value: r, field: S, fillDataSource: R, fillDataParams: O }) {
243
243
  try {
244
244
  o.value = !0;
245
- const f = (await ve({
245
+ const d = (await ve({
246
246
  url: a.sourceDateUrl,
247
247
  method: "get",
248
248
  params: {
@@ -256,16 +256,16 @@ const ft = /* @__PURE__ */ fe({
256
256
  //时区
257
257
  }
258
258
  })).data.data;
259
- let J = await ve({
260
- url: f.url,
261
- method: f.method,
262
- data: f.body ? JSON.parse(f.body) : {},
263
- params: f.params ? {
264
- ...JSON.parse(f.params),
265
- [b]: r
266
- } : { [b]: r },
259
+ let z = await ve({
260
+ url: d.url,
261
+ method: d.method,
262
+ data: d.body ? JSON.parse(d.body) : {},
263
+ params: d.params ? {
264
+ ...JSON.parse(d.params),
265
+ [S]: r
266
+ } : { [S]: r },
267
267
  headers: {
268
- ...JSON.parse(f.headers),
268
+ ...JSON.parse(d.headers),
269
269
  Authorization: "Bearer " + j.get("Admin-Token"),
270
270
  lang: j.get("saas-locale") || "zh-CN",
271
271
  //语言
@@ -273,13 +273,13 @@ const ft = /* @__PURE__ */ fe({
273
273
  //时区
274
274
  }
275
275
  });
276
- if (f && (f != null && f.dataPath)) {
277
- let he = f.dataPath.split(".").reduce((we, Ke) => we[Ke], J.data);
276
+ if (d && (d != null && d.dataPath)) {
277
+ let he = d.dataPath.split(".").reduce((we, Ke) => we[Ke], z.data);
278
278
  O.split(",").forEach((we) => {
279
279
  i[we] = he[we];
280
280
  });
281
281
  } else {
282
- let G = J.data;
282
+ let G = z.data;
283
283
  O.split(",").forEach((Q) => {
284
284
  i[Q] = G[Q];
285
285
  });
@@ -294,7 +294,6 @@ const ft = /* @__PURE__ */ fe({
294
294
  async function D(r) {
295
295
  if (["cascader", "checkbox", "select", "radio", "ocr-select-page"].includes(r.type) && r.componentProps.dynamicId && a.sourceDateUrl) {
296
296
  const O = (await ve({
297
- // || "http://192.168.28.205:3000/dev-api/data-source
298
297
  url: a.sourceDateUrl,
299
298
  method: "get",
300
299
  params: {
@@ -323,28 +322,28 @@ const ft = /* @__PURE__ */ fe({
323
322
  }
324
323
  });
325
324
  if (O && (O != null && O.dataPath)) {
326
- const J = O.dataPath.split(".").reduce((G, Q) => G[Q], U.data);
327
- r.componentProps.options = M(J, O.dataKey, O.dataValue);
325
+ const z = O.dataPath.split(".").reduce((G, Q) => G[Q], U.data);
326
+ r.componentProps.options = M(z, O.dataKey, O.dataValue);
328
327
  } else
329
328
  r.componentProps.options = M(U.data, O.dataKey, O.dataValue);
330
329
  return r;
331
330
  }
332
331
  return r;
333
332
  }
334
- function M(r, b, R) {
333
+ function M(r, S, R) {
335
334
  return r && Object.prototype.toString.call(r) === "[object Array]" ? r.map((O) => O.children && O.children.length ? {
336
- label: O[b],
335
+ label: O[S],
337
336
  value: O[R] + "",
338
- children: M(O.children, b, R)
337
+ children: M(O.children, S, R)
339
338
  } : {
340
- label: O[b],
339
+ label: O[S],
341
340
  value: O[R] + ""
342
341
  }) : [];
343
342
  }
344
343
  K(
345
344
  () => a.componentSchema,
346
345
  (r) => {
347
- Je(t, r, ["children"]) || (pe(t, ne(r)), p());
346
+ ze(t, r, ["children"]) || (pe(t, ne(r)), p());
348
347
  },
349
348
  {
350
349
  deep: !0
@@ -357,10 +356,10 @@ const ft = /* @__PURE__ */ fe({
357
356
  const E = n, $ = F(), P = F(), y = (r) => {
358
357
  P.value = r;
359
358
  }, H = Ze();
360
- Object.keys(H).length && k("nodeAttrs", H);
361
- const z = Re(null), I = ee(() => {
362
- var r, b;
363
- return (r = t.componentProps) != null && r.hidden ? !1 : typeof t.show == "boolean" ? t.show : ((b = t.show) == null ? void 0 : b.call(t, { values: i })) ?? !0;
359
+ Object.keys(H).length && X("nodeAttrs", H);
360
+ const J = Re(null), I = ee(() => {
361
+ var r, S;
362
+ return (r = t.componentProps) != null && r.hidden ? !1 : typeof t.show == "boolean" ? t.show : ((S = t.show) == null ? void 0 : S.call(t, { values: i })) ?? !0;
364
363
  }), l = ee(() => {
365
364
  var O;
366
365
  const r = I.value && ((O = t.rules) == null ? void 0 : O.map((U) => ({
@@ -368,20 +367,20 @@ const ft = /* @__PURE__ */ fe({
368
367
  validator: U.validator && A.funcs.value[U.validator]
369
368
  // 自定义校验函数
370
369
  })));
371
- let b = t.field;
372
- a.ruleField ? b = a.ruleField : m && t.field && (b = ne(m), b.push(t.field));
370
+ let S = t.field;
371
+ a.ruleField ? S = a.ruleField : m && t.field && (S = ne(m), S.push(t.field));
373
372
  const R = {
374
373
  ...t,
375
374
  rules: r,
376
375
  rule: r,
377
- field: b
376
+ field: S
378
377
  };
379
378
  return R.children && delete R.children, R;
380
379
  }), B = ee(() => {
381
380
  var R, O, U;
382
- const r = ((R = c.value) == null ? void 0 : R.bindModel) ?? "modelValue", b = {};
383
- return t.on && Object.keys(t.on).forEach((f) => {
384
- b[`on${st(f)}`] = (...J) => A.doActions(t.on[f], ...J);
381
+ const r = ((R = c.value) == null ? void 0 : R.bindModel) ?? "modelValue", S = {};
382
+ return t.on && Object.keys(t.on).forEach((d) => {
383
+ S[`on${st(d)}`] = (...z) => A.doActions(t.on[d], ...z);
385
384
  }), t.type === "selectpage" && (t.componentProps.defaultData = {
386
385
  value: i[t.field],
387
386
  label: i[i[t.field]]
@@ -392,9 +391,9 @@ const ft = /* @__PURE__ */ fe({
392
391
  // 为了避免禁用对超链接输入框点击的影响
393
392
  disabled: a.componentSchema.type === "input" && a.componentSchema.componentProps && ((O = a.componentSchema.componentProps) != null && O.isLink) ? !1 : (_ == null ? void 0 : _.value) || ((U = t.componentProps) == null ? void 0 : U.disabled),
394
393
  bindModel: r,
395
- ...b
394
+ ...S
396
395
  };
397
- }), c = ee(() => q.getComponentConfingByType(t.type) ?? null);
396
+ }), c = ee(() => k.getComponentConfingByType(t.type) ?? null);
398
397
  Ee(() => {
399
398
  v.value = a.modelValue ?? i[t.field ?? ""];
400
399
  }), K(
@@ -410,26 +409,26 @@ const ft = /* @__PURE__ */ fe({
410
409
  { immediate: !0 }
411
410
  );
412
411
  function u() {
413
- var b;
414
- const r = $.value || d;
415
- t != null && t.id && r && ((t.input || t.type === "table" && t.field || t.type === "card" && t.field && t.multiple) && (r.setValue = h, r.getValue = () => i[t.field] || a.modelValue), r.setAttr = (R, O) => (t.componentProps || (t.componentProps = {}), t.componentProps[R] = O), r.getAttr = (R) => t.componentProps[R], A.addComponentInstance(t == null ? void 0 : t.id, r), (b = c.value) != null && b.defaultSchema.input && t.noFormItem !== !0 && P.value && A.addComponentInstance((t == null ? void 0 : t.id) + "formItem", P.value));
412
+ var S;
413
+ const r = $.value || f;
414
+ t != null && t.id && r && ((t.input || t.type === "table" && t.field || t.type === "card" && t.field && t.multiple) && (r.setValue = h, r.getValue = () => i[t.field] || a.modelValue), r.setAttr = (R, O) => (t.componentProps || (t.componentProps = {}), t.componentProps[R] = O), r.getAttr = (R) => t.componentProps[R], A.addComponentInstance(t == null ? void 0 : t.id, r), (S = c.value) != null && S.defaultSchema.input && t.noFormItem !== !0 && P.value && A.addComponentInstance((t == null ? void 0 : t.id) + "formItem", P.value));
416
415
  }
417
416
  function C() {
418
417
  var r;
419
418
  t.id && (A.removeComponentInstance(t == null ? void 0 : t.id), (r = c.value) != null && r.defaultSchema.input && t.noFormItem !== !0 && A.removeComponentInstance((t == null ? void 0 : t.id) + "formItem"));
420
419
  }
421
420
  async function V() {
422
- var b, R, O;
423
- if (t = await D(t), typeof ((b = t.componentProps) == null ? void 0 : b.defaultValue) < "u") {
421
+ var S, R, O;
422
+ if (t = await D(t), typeof ((S = t.componentProps) == null ? void 0 : S.defaultValue) < "u") {
424
423
  const U = A.isDesignMode.value ? (R = t.componentProps) == null ? void 0 : R.defaultValue : i[t.field] ?? ((O = t.componentProps) == null ? void 0 : O.defaultValue);
425
424
  h(ne(U));
426
425
  }
427
426
  if (t.type === "slot") {
428
427
  const U = t.slotName;
429
428
  if (!U) return;
430
- z.value = fe({
429
+ J.value = fe({
431
430
  setup() {
432
- return () => X(w, U, {
431
+ return () => q(w, U, {
433
432
  componentSchema: t,
434
433
  model: i
435
434
  });
@@ -437,20 +436,20 @@ const ft = /* @__PURE__ */ fe({
437
436
  });
438
437
  return;
439
438
  }
440
- const r = q.getComponent(t.type);
439
+ const r = k.getComponent(t.type);
441
440
  if (!r) {
442
441
  console.error(`组件${t.type}未注册`);
443
442
  return;
444
443
  }
445
444
  if (typeof r == "function") {
446
445
  const U = await r();
447
- z.value = U.default ?? U;
446
+ J.value = U.default ?? U;
448
447
  } else
449
- r && (z.value = r);
448
+ r && (J.value = r);
450
449
  }
451
450
  function x(r) {
452
- Object.prototype.toString.call(r) === "[object Array]" ? r.forEach((b) => {
453
- i[b.value] = b.label;
451
+ Object.prototype.toString.call(r) === "[object Array]" ? r.forEach((S) => {
452
+ i[S.value] = S.label;
454
453
  }) : i[r.value] = r.label, a != null && a.id ? re.emit("updateformData" + (a == null ? void 0 : a.id), i) : re.emit("updateformData", i);
455
454
  }
456
455
  function h(r) {
@@ -463,7 +462,7 @@ const ft = /* @__PURE__ */ fe({
463
462
  return K(
464
463
  () => t,
465
464
  async (r) => {
466
- const b = JSON.stringify({
465
+ const S = JSON.stringify({
467
466
  ...r,
468
467
  children: void 0,
469
468
  componentProps: {
@@ -471,32 +470,32 @@ const ft = /* @__PURE__ */ fe({
471
470
  options: null
472
471
  }
473
472
  });
474
- if (b === T)
473
+ if (S === T)
475
474
  return !1;
476
- T = b, V();
475
+ T = S, V();
477
476
  },
478
477
  {
479
478
  immediate: !0,
480
479
  deep: !0
481
480
  }
482
- ), Ue(C), (r, b) => {
481
+ ), Ue(C), (r, S) => {
483
482
  var O;
484
483
  const R = Ge("ENode");
485
484
  return Y(), ge(Te, null, [
486
485
  o.value ? (Y(), ge("div", pt, [
487
486
  te("div", mt, [
488
- b[1] || (b[1] = Qe('<div class="epic-loading-wave" data-v-936adbeb><div class="wave" data-v-936adbeb></div><div class="wave" data-v-936adbeb></div><div class="wave" data-v-936adbeb></div><div class="wave" data-v-936adbeb></div><div class="wave" data-v-936adbeb></div></div>', 1)),
487
+ S[1] || (S[1] = Qe('<div class="epic-loading-wave" data-v-9341bca4><div class="wave" data-v-9341bca4></div><div class="wave" data-v-9341bca4></div><div class="wave" data-v-9341bca4></div><div class="wave" data-v-9341bca4></div><div class="wave" data-v-9341bca4></div></div>', 1)),
489
488
  te("span", ht, Ye(s.value), 1)
490
489
  ])
491
490
  ])) : Ne("", !0),
492
- z.value && I.value ? (Y(), ae(ft, {
491
+ J.value && I.value ? (Y(), ae(ft, {
493
492
  key: 1,
494
493
  hasFormItem: W(t).noFormItem !== !0 && ((O = c.value) == null ? void 0 : O.defaultSchema.input),
495
494
  formItemProps: l.value,
496
495
  onUpdateFormItemRef: y
497
496
  }, {
498
497
  default: Z(() => [
499
- (Y(), ae(qe(z.value), xe({
498
+ (Y(), ae(ke(J.value), xe({
500
499
  ref_key: "componentInstance",
501
500
  ref: $,
502
501
  onVnodeMounted: u,
@@ -504,11 +503,11 @@ const ft = /* @__PURE__ */ fe({
504
503
  sourceDateUrl: a.sourceDateUrl
505
504
  }, { ...B.value }, {
506
505
  [B.value.bindModel]: v.value,
507
- ["onUpdate:" + B.value.bindModel]: b[0] || (b[0] = (U) => v.value = U),
506
+ ["onUpdate:" + B.value.bindModel]: S[0] || (S[0] = (U) => v.value = U),
508
507
  [`onUpdate:${B.value.bindModel}` || ""]: h,
509
508
  "onUpdate:modelValueLabel": x,
510
509
  "onUpdate:dynamicId": L,
511
- "onUpdate:ocrData": S,
510
+ "onUpdate:ocrData": b,
512
511
  "onUpdate:selectFillData": g
513
512
  }), {
514
513
  node: Z((U) => [
@@ -519,7 +518,7 @@ const ft = /* @__PURE__ */ fe({
519
518
  }), null, 16, ["id", "sourceDateUrl"])
520
519
  ]),
521
520
  "edit-node": Z(() => [
522
- X(r.$slots, "edit-node", {}, void 0, !0)
521
+ q(r.$slots, "edit-node", {}, void 0, !0)
523
522
  ]),
524
523
  _: 3
525
524
  }, 16, ["model", "sourceDateUrl"]))
@@ -529,45 +528,45 @@ const ft = /* @__PURE__ */ fe({
529
528
  ], 64);
530
529
  };
531
530
  }
532
- }), gt = /* @__PURE__ */ ut(vt, [["__scopeId", "data-v-936adbeb"]]);
531
+ }), gt = /* @__PURE__ */ ut(vt, [["__scopeId", "data-v-9341bca4"]]);
533
532
  function yt() {
534
- const e = F(!1), n = ze(), o = F({});
533
+ const e = F(!1), n = Je(), o = F({});
535
534
  function s() {
536
535
  return new Promise((t) => {
537
536
  if (e.value)
538
537
  t();
539
538
  else {
540
- const S = K(e, () => {
541
- S(), t();
539
+ const b = K(e, () => {
540
+ b(), t();
542
541
  });
543
542
  }
544
543
  });
545
544
  }
546
- async function d(t = "default") {
545
+ async function f(t = "default") {
547
546
  var g;
548
547
  await s();
549
- const S = (g = o.value) == null ? void 0 : g[t];
550
- if (!S) throw new Error(`表单 [name=${t}] 不存在`);
551
- return S;
548
+ const b = (g = o.value) == null ? void 0 : g[t];
549
+ if (!b) throw new Error(`表单 [name=${t}] 不存在`);
550
+ return b;
552
551
  }
553
- async function a(t, S) {
554
- const g = await d(t);
555
- return ne(await S(g));
552
+ async function a(t, b) {
553
+ const g = await f(t);
554
+ return ne(await b(g));
556
555
  }
557
556
  async function v(t = "default") {
558
- return await a(t, (S) => S.getData());
557
+ return await a(t, (b) => b.getData());
559
558
  }
560
- function i(t, S = "default", g = void 0) {
559
+ function i(t, b = "default", g = void 0) {
561
560
  var D, M;
562
561
  if (g && Object.keys(g).length) {
563
562
  let p = function(y) {
564
563
  let H = [];
565
- return y.forEach((z) => {
566
- z.children && (H = [...H, ...p(z.children)]), H.push(z);
564
+ return y.forEach((J) => {
565
+ J.children && (H = [...H, ...p(J.children)]), H.push(J);
567
566
  }), H;
568
567
  }, $ = function(y) {
569
- var z;
570
- let H = p((z = g == null ? void 0 : g.schemas[0]) == null ? void 0 : z.children);
568
+ var J;
569
+ let H = p((J = g == null ? void 0 : g.schemas[0]) == null ? void 0 : J.children);
571
570
  return Object.keys(y).forEach((I) => {
572
571
  var c, u, C, V, x, h, L;
573
572
  const l = H.find((T) => T.field === I), B = ["datetimerange", "daterange", "monthrange", "dates"];
@@ -575,44 +574,44 @@ function yt() {
575
574
  y[I] = (x = y[I]) == null ? void 0 : x.split(",");
576
575
  else if ((l == null ? void 0 : l.type) === "cascader" && ((L = (h = l == null ? void 0 : l.componentProps) == null ? void 0 : h.props) != null && L.multiple) && typeof y[I] == "string")
577
576
  y[I].indexOf(";") === -1 && y[I].indexOf(";") === -1 ? y[I][y[I]] : y[I].indexOf(";") > -1 ? y[I] = y[I].split(";").map((T) => T.split(",")) : y[I].indexOf(";") === -1 ? y[I] = y[I].split(",") : y[I].indexOf(";") > -1 ? y[I] = y[I].split(";").map((T) => T.split(",")) : y[I].indexOf(";") === -1 && (y[I] = y[I].split(","));
578
- else if (((l == null ? void 0 : l.type) === "upload-image" || (l == null ? void 0 : l.type) === "upload-file") && typeof y[I] == "string") {
577
+ else if (((l == null ? void 0 : l.type) === "upload-image" || (l == null ? void 0 : l.type) === "upload-file" || (l == null ? void 0 : l.type) === "ocr-upload") && typeof y[I] == "string") {
579
578
  let T = [];
580
- Object.entries(y).forEach(([r, b]) => {
581
- y[I] === b && r !== l.field && r.indexOf("@") > -1 && r.indexOf(I) > -1 && (T = r.split("@")[1].split(","));
582
- }), y[I] = y[I].split(",").map((r, b) => ({
579
+ Object.entries(y).forEach(([r, S]) => {
580
+ y[I] === S && r !== l.field && r.indexOf("@") > -1 && r.indexOf(I) > -1 && (T = r.split("@")[1].split(","));
581
+ }), y[I] = y[I].split(",").map((r, S) => ({
583
582
  url: r,
584
- name: T[b] || r
583
+ name: T[S] || r
585
584
  }));
586
585
  } else (l == null ? void 0 : l.type) === "number" || (l == null ? void 0 : l.type) === "slider" ? y[I] = Number(y[I]) : (l == null ? void 0 : l.type) === "switch" && (y[I] = typeof y[I] == "boolean" ? y[I] : y[I].indexOf("true") > -1);
587
586
  }), y;
588
587
  }(t);
589
- n.setFormData($, S);
590
- const P = (D = o.value) == null ? void 0 : D[S];
588
+ console.log("%c [ data1 ]-131", "font-size:13px; background:pink; color:#bf2c9f;", $), n.setFormData($, b);
589
+ const P = (D = o.value) == null ? void 0 : D[b];
591
590
  P == null || P.clearValidate();
592
591
  } else {
593
- n.setFormData(t, S);
594
- const p = (M = o.value) == null ? void 0 : M[S];
592
+ n.setFormData(t, b);
593
+ const p = (M = o.value) == null ? void 0 : M[b];
595
594
  p == null || p.clearValidate();
596
595
  }
597
596
  }
598
597
  async function w(t = "default") {
599
- return await a(t, async (S) => (await S.validate(), await S.getData()));
598
+ return await a(t, async (b) => (await b.validate(), await b.getData()));
600
599
  }
601
600
  async function A(t) {
602
601
  await s();
603
- const S = {};
602
+ const b = {};
604
603
  for (const g in o.value) {
605
604
  const D = o.value[g];
606
- D && (S[g] = ne(await t(D)));
605
+ D && (b[g] = ne(await t(D)));
607
606
  }
608
- return S;
607
+ return b;
609
608
  }
610
609
  async function _() {
611
610
  return await A((t) => t.getData());
612
611
  }
613
612
  function m(t) {
614
- for (const S in t)
615
- i(t[S], S);
613
+ for (const b in t)
614
+ i(t[b], b);
616
615
  }
617
616
  async function N() {
618
617
  return await A(async (t) => (await t.validate(), await t.getData()));
@@ -627,13 +626,13 @@ function yt() {
627
626
  getForms: _,
628
627
  setForms: m,
629
628
  validateAll: N,
630
- getFormInstance: d
629
+ getFormInstance: f
631
630
  };
632
631
  }
633
632
  const wt = {
634
633
  key: 0,
635
634
  class: "epic-loading-box"
636
- }, bt = { class: "epic-builder-main" }, St = { class: "epic-loading-box" }, Dt = /* @__PURE__ */ fe({
635
+ }, St = { class: "epic-builder-main" }, bt = { class: "epic-loading-box" }, Dt = /* @__PURE__ */ fe({
637
636
  __name: "builder",
638
637
  props: {
639
638
  pageSchema: {},
@@ -644,7 +643,7 @@ const wt = {
644
643
  },
645
644
  emits: ["change", "ready"],
646
645
  setup(e, { expose: n, emit: o }) {
647
- const s = ue(() => import("./index-Dz39c928.js")), d = o, a = F([]), v = F({}), { ready: i, pageManager: w, forms: A, getData: _, setData: m, validate: N, getForms: t, setForms: S, validateAll: g, getFormInstance: D } = yt(), M = e, p = de({
646
+ const s = ue(() => import("./index-Dz39c928.js")), f = o, a = F([]), v = F({}), { ready: i, pageManager: w, forms: A, getData: _, setData: m, validate: N, getForms: t, setForms: b, validateAll: g, getFormInstance: D } = yt(), M = e, p = de({
648
647
  schemas: []
649
648
  });
650
649
  K(
@@ -660,7 +659,7 @@ const wt = {
660
659
  () => M.formData,
661
660
  (c) => {
662
661
  if (c) {
663
- let u = z(c);
662
+ let u = J(c);
664
663
  v.value = u, m(u);
665
664
  }
666
665
  },
@@ -682,9 +681,9 @@ const wt = {
682
681
  function V(x, h) {
683
682
  if (x.type === "card" && x.multiple && x.field && Array.isArray(h[x.field]))
684
683
  return h[x.field].map((T) => {
685
- var b;
684
+ var S;
686
685
  const r = C({ ...x, multiple: !0 });
687
- return r.children = (b = r.children) == null ? void 0 : b.map((R) => V(R, T)).flat(), r;
686
+ return r.children = (S = r.children) == null ? void 0 : S.map((R) => V(R, T)).flat(), r;
688
687
  });
689
688
  const L = C(x);
690
689
  return Array.isArray(L.children) && (L.children = L.children.map((T) => V(T, h)).flat()), L;
@@ -727,28 +726,28 @@ const wt = {
727
726
  dataObj: V
728
727
  };
729
728
  }
730
- function z(c) {
729
+ function J(c) {
731
730
  let u = E(M.pageSchema.schemas[0].children);
732
731
  a.value = u.filter((h) => h.type === "card" && h.multiple);
733
732
  const C = $(M.pageSchema.schemas[0].children, c);
734
733
  let { obj: V, dataObj: x } = H(C, c, a.value);
735
734
  return c = x, M.pageSchema.schemas[0].children = V, Object.keys(c).forEach((h) => {
736
- var L, T, r, b, R, O, U;
735
+ var L, T, r, S, R, O, U;
737
736
  if (h.indexOf("@") < 0) {
738
- const f = u.find((G) => G.field === h), J = ["datetimerange", "daterange", "monthrange", "dates"];
739
- if ((f && (f == null ? void 0 : f.type) === "checkbox" || (f == null ? void 0 : f.type) === "select" && ((L = f == null ? void 0 : f.componentProps) != null && L.multiple) || (f == null ? void 0 : f.type) === "cascader" && !((r = (T = f == null ? void 0 : f.componentProps) == null ? void 0 : T.props) != null && r.multiple) || (f == null ? void 0 : f.type) === "date" && J.includes((b = f == null ? void 0 : f.componentProps) == null ? void 0 : b.type)) && typeof c[h] == "string")
737
+ const d = u.find((G) => G.field === h), z = ["datetimerange", "daterange", "monthrange", "dates"];
738
+ if ((d && (d == null ? void 0 : d.type) === "checkbox" || (d == null ? void 0 : d.type) === "select" && ((L = d == null ? void 0 : d.componentProps) != null && L.multiple) || (d == null ? void 0 : d.type) === "cascader" && !((r = (T = d == null ? void 0 : d.componentProps) == null ? void 0 : T.props) != null && r.multiple) || (d == null ? void 0 : d.type) === "date" && z.includes((S = d == null ? void 0 : d.componentProps) == null ? void 0 : S.type)) && typeof c[h] == "string")
740
739
  c[h] = (R = c[h]) == null ? void 0 : R.split(",");
741
- else if ((f == null ? void 0 : f.type) === "cascader" && ((U = (O = f == null ? void 0 : f.componentProps) == null ? void 0 : O.props) != null && U.multiple) && typeof c[h] == "string")
740
+ else if ((d == null ? void 0 : d.type) === "cascader" && ((U = (O = d == null ? void 0 : d.componentProps) == null ? void 0 : O.props) != null && U.multiple) && typeof c[h] == "string")
742
741
  c[h].indexOf(";") > -1 ? c[h] = c[h].split(";").map((G) => G.split(",")) : c[h] = c[h].split(","), c[h].indexOf(";") > -1 ? c[h] = c[h].split(";").map((G) => G.split(",")) : c[h] = c[h].split(",");
743
- else if (((f == null ? void 0 : f.type) === "upload-image" || (f == null ? void 0 : f.type) === "upload-file") && typeof c[h] == "string") {
742
+ else if (((d == null ? void 0 : d.type) === "upload-image" || (d == null ? void 0 : d.type) === "upload-file" || (d == null ? void 0 : d.type) === "ocr-upload") && typeof c[h] == "string") {
744
743
  let G = [];
745
744
  Object.entries(c).forEach(([Q, he]) => {
746
- c[h] === he && Q !== f.field && Q.indexOf("@") > -1 && Q.indexOf(h) > -1 && (G = Q.split("@")[1].split(","));
745
+ c[h] === he && Q !== d.field && Q.indexOf("@") > -1 && Q.indexOf(h) > -1 && (G = Q.split("@")[1].split(","));
747
746
  }), c[h] = c[h].split(",").map((Q, he) => ({
748
747
  url: Q,
749
748
  name: G[he] || Q
750
749
  }));
751
- } else (f == null ? void 0 : f.type) === "number" || (f == null ? void 0 : f.type) === "slider" ? c[h] = Number(c[h]) : (f == null ? void 0 : f.type) === "switch" && (c[h] = typeof c[h] == "boolean" ? c[h] : c[h].indexOf("true") > -1);
750
+ } else (d == null ? void 0 : d.type) === "number" || (d == null ? void 0 : d.type) === "slider" ? c[h] = Number(c[h]) : (d == null ? void 0 : d.type) === "switch" && (c[h] = typeof c[h] == "boolean" ? c[h] : c[h].indexOf("true") > -1);
752
751
  }
753
752
  }), c;
754
753
  }
@@ -760,18 +759,18 @@ const wt = {
760
759
  {
761
760
  immediate: !0
762
761
  }
763
- ), k("slots", Xe()), k("pageManager", w), k("forms", A), k("pageSchema", p), k(
762
+ ), X("slots", qe()), X("pageManager", w), X("forms", A), X("pageSchema", p), X(
764
763
  "disabled",
765
764
  ee(() => M.disabled)
766
765
  );
767
766
  const I = ye(), l = I == null ? void 0 : I.proxy;
768
767
  function B() {
769
768
  ce(() => {
770
- i.value = !0, d("ready", w), l && w.addComponentInstance("builder", l);
769
+ i.value = !0, f("ready", w), l && w.addComponentInstance("builder", l);
771
770
  });
772
771
  }
773
772
  return re.on("updateformData" + (M.id ? M.id : ""), (c) => {
774
- d("change", c);
773
+ f("change", c);
775
774
  }), n({
776
775
  ready: i,
777
776
  pageManager: w,
@@ -779,16 +778,16 @@ const wt = {
779
778
  setData: m,
780
779
  validate: N,
781
780
  getForms: t,
782
- setForms: S,
781
+ setForms: b,
783
782
  validateAll: g,
784
783
  getFormInstance: D
785
- }), (c, u) => W(q).initialized.value ? (Y(), ae(Be, {
784
+ }), (c, u) => W(k).initialized.value ? (Y(), ae(Be, {
786
785
  key: 1,
787
786
  onResolve: B
788
787
  }, {
789
788
  default: Z(() => [
790
- te("div", bt, [
791
- (Y(!0), ge(Te, null, ke(p.schemas, (C, V) => (Y(), ae(W(gt), {
789
+ te("div", St, [
790
+ (Y(!0), ge(Te, null, Xe(p.schemas, (C, V) => (Y(), ae(W(gt), {
792
791
  id: M.id,
793
792
  key: V,
794
793
  sourceDateUrl: M.sourceDateUrl,
@@ -797,7 +796,7 @@ const wt = {
797
796
  ])
798
797
  ]),
799
798
  fallback: Z(() => [
800
- te("div", St, [
799
+ te("div", bt, [
801
800
  oe(W(s))
802
801
  ])
803
802
  ]),
@@ -810,10 +809,10 @@ function Ce(e) {
810
809
  }
811
810
  function Et(e) {
812
811
  let n = 0, o, s;
813
- const d = () => {
812
+ const f = () => {
814
813
  n -= 1, s && n <= 0 && (s.stop(), o = void 0, s = void 0);
815
814
  };
816
- return (...a) => (n += 1, s || (s = je(!0), o = s.run(() => e(...a))), Ce(d), o);
815
+ return (...a) => (n += 1, s || (s = je(!0), o = s.run(() => e(...a))), Ce(f), o);
817
816
  }
818
817
  function ie(e) {
819
818
  return typeof e == "function" ? e() : W(e);
@@ -824,8 +823,8 @@ const At = (e) => typeof e < "u", _t = Object.prototype.toString, It = (e) => _t
824
823
  };
825
824
  function Nt(e, n) {
826
825
  function o(...s) {
827
- return new Promise((d, a) => {
828
- Promise.resolve(e(() => n.apply(this, s), { fn: n, thisArg: this, args: s })).then(d).catch(a);
826
+ return new Promise((f, a) => {
827
+ Promise.resolve(e(() => n.apply(this, s), { fn: n, thisArg: this, args: s })).then(f).catch(a);
829
828
  });
830
829
  }
831
830
  return o;
@@ -839,10 +838,10 @@ function $t(e = Le) {
839
838
  function s() {
840
839
  n.value = !0;
841
840
  }
842
- const d = (...a) => {
841
+ const f = (...a) => {
843
842
  n.value && e(...a);
844
843
  };
845
- return { isActive: tt(n), pause: o, resume: s, eventFilter: d };
844
+ return { isActive: tt(n), pause: o, resume: s, eventFilter: f };
846
845
  }
847
846
  function Ft(e) {
848
847
  return ye();
@@ -850,7 +849,7 @@ function Ft(e) {
850
849
  function Pt(e, n, o = {}) {
851
850
  const {
852
851
  eventFilter: s = Le,
853
- ...d
852
+ ...f
854
853
  } = o;
855
854
  return K(
856
855
  e,
@@ -858,19 +857,19 @@ function Pt(e, n, o = {}) {
858
857
  s,
859
858
  n
860
859
  ),
861
- d
860
+ f
862
861
  );
863
862
  }
864
863
  function Ct(e, n, o = {}) {
865
864
  const {
866
865
  eventFilter: s,
867
- ...d
866
+ ...f
868
867
  } = o, { eventFilter: a, pause: v, resume: i, isActive: w } = $t(s);
869
868
  return { stop: Pt(
870
869
  e,
871
870
  n,
872
871
  {
873
- ...d,
872
+ ...f,
874
873
  eventFilter: a
875
874
  }
876
875
  ), pause: v, resume: i, isActive: w };
@@ -882,7 +881,7 @@ function Vt(e = !1, n = {}) {
882
881
  const {
883
882
  truthyValue: o = !0,
884
883
  falsyValue: s = !1
885
- } = n, d = et(e), a = F(e);
884
+ } = n, f = et(e), a = F(e);
886
885
  function v(i) {
887
886
  if (arguments.length)
888
887
  return a.value = i, a.value;
@@ -891,10 +890,10 @@ function Vt(e = !1, n = {}) {
891
890
  return a.value = a.value === w ? ie(s) : w, a.value;
892
891
  }
893
892
  }
894
- return d ? v : [a, v];
893
+ return f ? v : [a, v];
895
894
  }
896
895
  function pn(e, n, o) {
897
- const s = K(e, (...d) => (ce(() => s()), n(...d)), o);
896
+ const s = K(e, (...f) => (ce(() => s()), n(...f)), o);
898
897
  return s;
899
898
  }
900
899
  const me = Ot ? window : void 0;
@@ -904,20 +903,20 @@ function le(e) {
904
903
  return (n = o == null ? void 0 : o.$el) != null ? n : o;
905
904
  }
906
905
  function $e(...e) {
907
- let n, o, s, d;
908
- if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([o, s, d] = e, n = me) : [n, o, s, d] = e, !n)
906
+ let n, o, s, f;
907
+ if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([o, s, f] = e, n = me) : [n, o, s, f] = e, !n)
909
908
  return xt;
910
909
  Array.isArray(o) || (o = [o]), Array.isArray(s) || (s = [s]);
911
910
  const a = [], v = () => {
912
911
  a.forEach((_) => _()), a.length = 0;
913
912
  }, i = (_, m, N, t) => (_.addEventListener(m, N, t), () => _.removeEventListener(m, N, t)), w = K(
914
- () => [le(n), ie(d)],
913
+ () => [le(n), ie(f)],
915
914
  ([_, m]) => {
916
915
  if (v(), !_)
917
916
  return;
918
917
  const N = It(m) ? { ...m } : m;
919
918
  a.push(
920
- ...o.flatMap((t) => s.map((S) => i(_, t, S, N)))
919
+ ...o.flatMap((t) => s.map((b) => i(_, t, b, N)))
921
920
  );
922
921
  },
923
922
  { immediate: !0, flush: "post" }
@@ -933,12 +932,12 @@ function He(...e) {
933
932
  let n, o, s = {};
934
933
  e.length === 3 ? (n = e[0], o = e[1], s = e[2]) : e.length === 2 ? typeof e[1] == "object" ? (n = !0, o = e[0], s = e[1]) : (n = e[0], o = e[1]) : (n = !0, o = e[0]);
935
934
  const {
936
- target: d = me,
935
+ target: f = me,
937
936
  eventName: a = "keydown",
938
937
  passive: v = !1,
939
938
  dedupe: i = !1
940
939
  } = s, w = Mt(n);
941
- return $e(d, a, (_) => {
940
+ return $e(f, a, (_) => {
942
941
  _.repeat && ie(i) || w(_) && o(_);
943
942
  }, v);
944
943
  }
@@ -961,11 +960,11 @@ function Ut(e) {
961
960
  function Tt(e) {
962
961
  return JSON.parse(JSON.stringify(e));
963
962
  }
964
- const be = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Se = "__vueuse_ssr_handlers__", Bt = /* @__PURE__ */ Jt();
965
- function Jt() {
966
- return Se in be || (be[Se] = be[Se] || {}), be[Se];
963
+ const Se = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, be = "__vueuse_ssr_handlers__", Bt = /* @__PURE__ */ zt();
964
+ function zt() {
965
+ return be in Se || (Se[be] = Se[be] || {}), Se[be];
967
966
  }
968
- function zt(e, n) {
967
+ function Jt(e, n) {
969
968
  return Bt[e] || n;
970
969
  }
971
970
  function Lt(e) {
@@ -1006,7 +1005,7 @@ const Wt = {
1006
1005
  }
1007
1006
  }, Me = "vueuse-storage";
1008
1007
  function mn(e, n, o, s = {}) {
1009
- var d;
1008
+ var f;
1010
1009
  const {
1011
1010
  flush: a = "pre",
1012
1011
  deep: v = !0,
@@ -1019,11 +1018,11 @@ function mn(e, n, o, s = {}) {
1019
1018
  onError: t = (l) => {
1020
1019
  console.error(l);
1021
1020
  },
1022
- initOnMounted: S
1021
+ initOnMounted: b
1023
1022
  } = s, g = (_ ? Re : F)(typeof n == "function" ? n() : n);
1024
1023
  if (!o)
1025
1024
  try {
1026
- o = zt("getDefaultStorage", () => {
1025
+ o = Jt("getDefaultStorage", () => {
1027
1026
  var l;
1028
1027
  return (l = me) == null ? void 0 : l.localStorage;
1029
1028
  })();
@@ -1032,14 +1031,14 @@ function mn(e, n, o, s = {}) {
1032
1031
  }
1033
1032
  if (!o)
1034
1033
  return g;
1035
- const D = ie(n), M = Lt(D), p = (d = s.serializer) != null ? d : Wt[M], { pause: E, resume: $ } = Ct(
1034
+ const D = ie(n), M = Lt(D), p = (f = s.serializer) != null ? f : Wt[M], { pause: E, resume: $ } = Ct(
1036
1035
  g,
1037
1036
  () => y(g.value),
1038
1037
  { flush: a, deep: v, eventFilter: N }
1039
1038
  );
1040
1039
  m && i && We(() => {
1041
- o instanceof Storage ? $e(m, "storage", z) : $e(m, Me, I), S && z();
1042
- }), S || z();
1040
+ o instanceof Storage ? $e(m, "storage", J) : $e(m, Me, I), b && J();
1041
+ }), b || J();
1043
1042
  function P(l, B) {
1044
1043
  if (m) {
1045
1044
  const c = {
@@ -1075,7 +1074,7 @@ function mn(e, n, o, s = {}) {
1075
1074
  return typeof A == "function" ? A(c, D) : M === "object" && !Array.isArray(c) ? { ...D, ...c } : c;
1076
1075
  } else return typeof B != "string" ? B : p.read(B);
1077
1076
  }
1078
- function z(l) {
1077
+ function J(l) {
1079
1078
  if (!(l && l.storageArea !== o)) {
1080
1079
  if (l && l.key == null) {
1081
1080
  g.value = D;
@@ -1094,12 +1093,12 @@ function mn(e, n, o, s = {}) {
1094
1093
  }
1095
1094
  }
1096
1095
  function I(l) {
1097
- z(l.detail);
1096
+ J(l.detail);
1098
1097
  }
1099
1098
  return g;
1100
1099
  }
1101
1100
  function Ht(e, n, o = {}) {
1102
- const { window: s = me, ...d } = o;
1101
+ const { window: s = me, ...f } = o;
1103
1102
  let a;
1104
1103
  const v = Ut(() => s && "ResizeObserver" in s), i = () => {
1105
1104
  a && (a.disconnect(), a = void 0);
@@ -1112,7 +1111,7 @@ function Ht(e, n, o = {}) {
1112
1111
  if (i(), v.value && s) {
1113
1112
  a = new ResizeObserver(n);
1114
1113
  for (const N of m)
1115
- N && a.observe(N, d);
1114
+ N && a.observe(N, f);
1116
1115
  }
1117
1116
  },
1118
1117
  { immediate: !0, flush: "post" }
@@ -1125,22 +1124,22 @@ function Ht(e, n, o = {}) {
1125
1124
  };
1126
1125
  }
1127
1126
  function hn(e, n = { width: 0, height: 0 }, o = {}) {
1128
- const { window: s = me, box: d = "content-box" } = o, a = ee(() => {
1127
+ const { window: s = me, box: f = "content-box" } = o, a = ee(() => {
1129
1128
  var m, N;
1130
1129
  return (N = (m = le(e)) == null ? void 0 : m.namespaceURI) == null ? void 0 : N.includes("svg");
1131
1130
  }), v = F(n.width), i = F(n.height), { stop: w } = Ht(
1132
1131
  e,
1133
1132
  ([m]) => {
1134
- const N = d === "border-box" ? m.borderBoxSize : d === "content-box" ? m.contentBoxSize : m.devicePixelContentBoxSize;
1133
+ const N = f === "border-box" ? m.borderBoxSize : f === "content-box" ? m.contentBoxSize : m.devicePixelContentBoxSize;
1135
1134
  if (s && a.value) {
1136
1135
  const t = le(e);
1137
1136
  if (t) {
1138
- const S = t.getBoundingClientRect();
1139
- v.value = S.width, i.value = S.height;
1137
+ const b = t.getBoundingClientRect();
1138
+ v.value = b.width, i.value = b.height;
1140
1139
  }
1141
1140
  } else if (N) {
1142
1141
  const t = Array.isArray(N) ? N : [N];
1143
- v.value = t.reduce((S, { inlineSize: g }) => S + g, 0), i.value = t.reduce((S, { blockSize: g }) => S + g, 0);
1142
+ v.value = t.reduce((b, { inlineSize: g }) => b + g, 0), i.value = t.reduce((b, { blockSize: g }) => b + g, 0);
1144
1143
  } else
1145
1144
  v.value = m.contentRect.width, i.value = m.contentRect.height;
1146
1145
  },
@@ -1166,7 +1165,7 @@ function hn(e, n = { width: 0, height: 0 }, o = {}) {
1166
1165
  };
1167
1166
  }
1168
1167
  function vn(e, n, o, s = {}) {
1169
- var d, a, v;
1168
+ var f, a, v;
1170
1169
  const {
1171
1170
  clone: i = !1,
1172
1171
  passive: w = !1,
@@ -1174,11 +1173,11 @@ function vn(e, n, o, s = {}) {
1174
1173
  deep: _ = !1,
1175
1174
  defaultValue: m,
1176
1175
  shouldEmit: N
1177
- } = s, t = ye(), S = o || (t == null ? void 0 : t.emit) || ((d = t == null ? void 0 : t.$emit) == null ? void 0 : d.bind(t)) || ((v = (a = t == null ? void 0 : t.proxy) == null ? void 0 : a.$emit) == null ? void 0 : v.bind(t == null ? void 0 : t.proxy));
1176
+ } = s, t = ye(), b = o || (t == null ? void 0 : t.emit) || ((f = t == null ? void 0 : t.$emit) == null ? void 0 : f.bind(t)) || ((v = (a = t == null ? void 0 : t.proxy) == null ? void 0 : a.$emit) == null ? void 0 : v.bind(t == null ? void 0 : t.proxy));
1178
1177
  let g = A;
1179
1178
  n || (n = "modelValue"), g = g || `update:${n.toString()}`;
1180
1179
  const D = (E) => i ? typeof i == "function" ? i(E) : Tt(E) : E, M = () => At(e[n]) ? D(e[n]) : m, p = (E) => {
1181
- N ? N(E) && S(g, E) : S(g, E);
1180
+ N ? N(E) && b(g, E) : b(g, E);
1182
1181
  };
1183
1182
  if (w) {
1184
1183
  const E = M(), $ = F(E);
@@ -1231,9 +1230,9 @@ function Zt(e) {
1231
1230
  }
1232
1231
  function Gt(e) {
1233
1232
  var n = document.querySelector("html"), o = new MutationObserver(function(s) {
1234
- for (var d of s)
1235
- if (d.type === "attributes" && d.attributeName === "class") {
1236
- const a = d.target;
1233
+ for (var f of s)
1234
+ if (f.type === "attributes" && f.attributeName === "class") {
1235
+ const a = f.target;
1237
1236
  new Array(...a.classList).includes("dark") ? e.value = !0 : e.value = !1;
1238
1237
  }
1239
1238
  });
@@ -1245,11 +1244,11 @@ function Gt(e) {
1245
1244
  });
1246
1245
  }
1247
1246
  function Qt() {
1248
- const e = F(1), n = F(!1), { isDark: o } = Kt(), { pressSpace: s, pressShift: d, pressCtrl: a } = Yt();
1247
+ const e = F(1), n = F(!1), { isDark: o } = Kt(), { pressSpace: s, pressShift: f, pressCtrl: a } = Yt();
1249
1248
  return {
1250
1249
  canvasScale: e,
1251
1250
  pressSpace: s,
1252
- pressShift: d,
1251
+ pressShift: f,
1253
1252
  pressCtrl: a,
1254
1253
  disabledZoom: n,
1255
1254
  isDark: o
@@ -1275,16 +1274,16 @@ function Yt() {
1275
1274
  function yn(e) {
1276
1275
  const { pressSpace: n } = Oe(), o = new Image(1, 1);
1277
1276
  o.src = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg==";
1278
- let s = 0, d = 0;
1277
+ let s = 0, f = 0;
1279
1278
  function a(w) {
1280
1279
  var A;
1281
- n.value && (s = w.x, d = w.y, (A = w.dataTransfer) == null || A.setDragImage(document.createElement("div"), 0, 0));
1280
+ n.value && (s = w.x, f = w.y, (A = w.dataTransfer) == null || A.setDragImage(document.createElement("div"), 0, 0));
1282
1281
  }
1283
1282
  function v(w) {
1284
1283
  if (w.preventDefault(), !w.x || !w.y || !n.value)
1285
1284
  return;
1286
- const A = w.x - s, _ = w.y - d;
1287
- s = w.x, d = w.y, e.value && (e.value.scrollTop -= _, e.value.scrollLeft -= A);
1285
+ const A = w.x - s, _ = w.y - f;
1286
+ s = w.x, f = w.y, e.value && (e.value.scrollTop -= _, e.value.scrollLeft -= A);
1288
1287
  }
1289
1288
  function i() {
1290
1289
  n.value = !1;
@@ -1293,7 +1292,7 @@ function yn(e) {
1293
1292
  }
1294
1293
  function wn(e) {
1295
1294
  const { pressCtrl: n, canvasScale: o, disabledZoom: s } = Oe();
1296
- function d(a) {
1295
+ function f(a) {
1297
1296
  if (!n.value || s.value)
1298
1297
  return;
1299
1298
  a.preventDefault();
@@ -1305,25 +1304,25 @@ function wn(e) {
1305
1304
  (a) => {
1306
1305
  e.value && !s.value && (e.value.style.transform = `scale(${a})`);
1307
1306
  }
1308
- ), { handleZoom: d, canvasScale: o };
1307
+ ), { handleZoom: f, canvasScale: o };
1309
1308
  }
1310
- function bn(e, n = 16.66) {
1309
+ function Sn(e, n = 16.66) {
1311
1310
  let o;
1312
1311
  function s() {
1313
- d(), o = window.setInterval(e, n);
1312
+ f(), o = window.setInterval(e, n);
1314
1313
  }
1315
- function d() {
1314
+ function f() {
1316
1315
  window.clearInterval(o);
1317
1316
  }
1318
1317
  return {
1319
1318
  startTimedQuery: s,
1320
- stopTimedQuery: d
1319
+ stopTimedQuery: f
1321
1320
  };
1322
1321
  }
1323
- const qt = { class: "min-w-750px rounded" }, Xt = { class: "h-full rounded" }, kt = /* @__PURE__ */ fe({
1322
+ const kt = { class: "min-w-750px rounded" }, qt = { class: "h-full rounded" }, Xt = /* @__PURE__ */ fe({
1324
1323
  __name: "index",
1325
1324
  setup(e, { expose: n }) {
1326
- const o = q.getComponent("monacoEditor"), s = q.getComponent("modal"), d = F(null), a = F(!1), v = F(!1), i = F({}), w = se("pageSchema"), A = F(null), _ = F("");
1325
+ const o = k.getComponent("monacoEditor"), s = k.getComponent("modal"), f = F(null), a = F(!1), v = F(!1), i = F({}), w = se("pageSchema"), A = F(null), _ = F("");
1327
1326
  function m() {
1328
1327
  v.value = !1;
1329
1328
  }
@@ -1333,7 +1332,7 @@ const qt = { class: "min-w-750px rounded" }, Xt = { class: "h-full rounded" }, k
1333
1332
  function t() {
1334
1333
  a.value = !0, _.value = lt();
1335
1334
  }
1336
- async function S() {
1335
+ async function b() {
1337
1336
  try {
1338
1337
  let g = await A.value.validateAll();
1339
1338
  if (!Object.keys(g).length) {
@@ -1342,7 +1341,7 @@ const qt = { class: "min-w-750px rounded" }, Xt = { class: "h-full rounded" }, k
1342
1341
  }
1343
1342
  Object.keys(g).length === 1 && (g = g.default), i.value = JSON.stringify(g, null, 2), ce(() => {
1344
1343
  var D;
1345
- (D = d.value) == null || D.setValue(i.value);
1344
+ (D = f.value) == null || D.setValue(i.value);
1346
1345
  }), v.value = !0;
1347
1346
  } catch (g) {
1348
1347
  console.error(g);
@@ -1357,11 +1356,11 @@ const qt = { class: "min-w-750px rounded" }, Xt = { class: "h-full rounded" }, k
1357
1356
  class: "w-900px",
1358
1357
  width: "900px",
1359
1358
  onClose: N,
1360
- onOk: S,
1359
+ onOk: b,
1361
1360
  okText: "表单数据"
1362
1361
  }, {
1363
1362
  default: Z(() => [
1364
- te("div", qt, [
1363
+ te("div", kt, [
1365
1364
  (Y(), ae(W(Dt), {
1366
1365
  key: _.value,
1367
1366
  ref_key: "kb",
@@ -1378,10 +1377,10 @@ const qt = { class: "min-w-750px rounded" }, Xt = { class: "h-full rounded" }, k
1378
1377
  onOk: m
1379
1378
  }, {
1380
1379
  default: Z(() => [
1381
- te("div", Xt, [
1380
+ te("div", qt, [
1382
1381
  oe(W(o), {
1383
1382
  ref_key: "monacoEditorRef",
1384
- ref: d,
1383
+ ref: f,
1385
1384
  autoToggleTheme: "",
1386
1385
  readOnly: "",
1387
1386
  class: "h-full editor",
@@ -1399,7 +1398,7 @@ const qt = { class: "min-w-750px rounded" }, Xt = { class: "h-full rounded" }, k
1399
1398
  }), jt = {
1400
1399
  key: 0,
1401
1400
  class: "epic-loading-box"
1402
- }, en = { class: "epic-designer-main" }, tn = { class: "epic-header-container" }, nn = { class: "epic-loading-box" }, Sn = /* @__PURE__ */ fe({
1401
+ }, en = { class: "epic-designer-main" }, tn = { class: "epic-header-container" }, nn = { class: "epic-loading-box" }, bn = /* @__PURE__ */ fe({
1403
1402
  __name: "designer",
1404
1403
  props: {
1405
1404
  disabledZoom: { type: Boolean, default: !1 },
@@ -1422,7 +1421,7 @@ const qt = { class: "min-w-750px rounded" }, Xt = { class: "h-full rounded" }, k
1422
1421
  "updateSourceData"
1423
1422
  ],
1424
1423
  setup(e, { expose: n, emit: o }) {
1425
- const { t: s } = Pe(), d = ue(() => import("./index-syyNmnFq.js")), a = ue(() => import("./index-BTaKazMR.js")), v = ue(() => import("./index-nvc1uY17.js")), i = ue(() => import("./index-ocw8DZly.js")), w = ue(() => import("./index-Dz39c928.js")), A = ze(), _ = dt(), m = e;
1424
+ const { t: s } = Pe(), f = ue(() => import("./index-syyNmnFq.js")), a = ue(() => import("./index-BTaKazMR.js")), v = ue(() => import("./index-aPG4tpxN.js")), i = ue(() => import("./index-ocw8DZly.js")), w = ue(() => import("./index-Dz39c928.js")), A = Je(), _ = dt(), m = e;
1426
1425
  let N = {
1427
1426
  schemas: [
1428
1427
  {
@@ -1474,9 +1473,9 @@ defineExpose({
1474
1473
  N = m.defaultSchema;
1475
1474
  return;
1476
1475
  }
1477
- m.source && q.setSourceData(m.source), m.formMode && (N.schemas = q.formSchemas);
1476
+ m.source && k.setSourceData(m.source), m.formMode && (N.schemas = k.formSchemas);
1478
1477
  }), A.setDesignMode(), A.setDefaultComponentIds(N.schemas);
1479
- const t = o, S = F(null), g = de({
1478
+ const t = o, b = F(null), g = de({
1480
1479
  checkedNode: null,
1481
1480
  hoverNode: null,
1482
1481
  disableHover: !1,
@@ -1490,10 +1489,10 @@ defineExpose({
1490
1489
  }), Ee(() => {
1491
1490
  const u = D.script;
1492
1491
  u && u !== "" && A.setMethods(u);
1493
- }), k("pageSchema", D), k("revoke", _), k("pageManager", A), k(
1492
+ }), X("pageSchema", D), X("revoke", _), X("pageManager", A), X(
1494
1493
  "designerProps",
1495
1494
  ee(() => m)
1496
- ), k("designer", {
1495
+ ), X("designer", {
1497
1496
  setCheckedNode: E,
1498
1497
  setHoverNode: $,
1499
1498
  setDisableHover: y,
@@ -1532,11 +1531,11 @@ defineExpose({
1532
1531
  function H(u) {
1533
1532
  pe(D, ne(u));
1534
1533
  }
1535
- function z() {
1534
+ function J() {
1536
1535
  return Ve(D);
1537
1536
  }
1538
1537
  function I() {
1539
- Je(D.schemas, N.schemas) && D.script === N.script || (pe(D.schemas, N.schemas), D.script = N.script, E(D.schemas[0]), _.push(D.schemas, "重置操作"), t("reset", D));
1538
+ ze(D.schemas, N.schemas) && D.script === N.script || (pe(D.schemas, N.schemas), D.script = N.script, E(D.schemas[0]), _.push(D.schemas, "重置操作"), t("reset", D));
1540
1539
  }
1541
1540
  function l() {
1542
1541
  t("save", Ve(D));
@@ -1545,44 +1544,44 @@ defineExpose({
1545
1544
  t("toggleDeviceMode", u);
1546
1545
  }
1547
1546
  function c() {
1548
- S.value.handleOpen();
1547
+ b.value.handleOpen();
1549
1548
  }
1550
1549
  return p(), n({
1551
1550
  revoke: _,
1552
1551
  setData: H,
1553
- getData: z,
1552
+ getData: J,
1554
1553
  reset: I,
1555
1554
  preview: c
1556
- }), (u, C) => W(q).initialized.value ? (Y(), ae(Be, {
1555
+ }), (u, C) => W(k).initialized.value ? (Y(), ae(Be, {
1557
1556
  key: 1,
1558
1557
  onResolve: P
1559
1558
  }, {
1560
1559
  default: Z(() => [
1561
1560
  te("div", en, [
1562
1561
  te("div", tn, [
1563
- X(u.$slots, "header", {}, () => [
1564
- m.hiddenHeader ? Ne("", !0) : (Y(), ae(W(d), {
1562
+ q(u.$slots, "header", {}, () => [
1563
+ m.hiddenHeader ? Ne("", !0) : (Y(), ae(W(f), {
1565
1564
  key: 0,
1566
1565
  onPreview: c,
1567
1566
  onSave: l
1568
1567
  }, {
1569
1568
  header: Z(() => [
1570
- X(u.$slots, "header-prefix")
1569
+ q(u.$slots, "header-prefix")
1571
1570
  ]),
1572
1571
  prefix: Z(() => [
1573
- X(u.$slots, "header-prefix")
1572
+ q(u.$slots, "header-prefix")
1574
1573
  ]),
1575
1574
  title: Z(() => [
1576
- X(u.$slots, "header-title")
1575
+ q(u.$slots, "header-title")
1577
1576
  ]),
1578
1577
  "right-prefix": Z(() => [
1579
- X(u.$slots, "header-right-prefix")
1578
+ q(u.$slots, "header-right-prefix")
1580
1579
  ]),
1581
1580
  "right-action": Z(() => [
1582
- X(u.$slots, "header-right-action")
1581
+ q(u.$slots, "header-right-action")
1583
1582
  ]),
1584
1583
  "right-suffix": Z(() => [
1585
- X(u.$slots, "header-right-suffix")
1584
+ q(u.$slots, "header-right-suffix")
1586
1585
  ]),
1587
1586
  _: 3
1588
1587
  }))
@@ -1595,9 +1594,9 @@ defineExpose({
1595
1594
  oe(W(v)),
1596
1595
  oe(W(i))
1597
1596
  ], 2),
1598
- oe(kt, {
1597
+ oe(Xt, {
1599
1598
  ref_key: "previewRef",
1600
- ref: S
1599
+ ref: b
1601
1600
  }, null, 512)
1602
1601
  ])
1603
1602
  ]),
@@ -1610,7 +1609,7 @@ defineExpose({
1610
1609
  })) : (Y(), ge("div", jt));
1611
1610
  }
1612
1611
  }), on = {
1613
- component: async () => await import("./index-D8diDndG.js"),
1612
+ component: async () => await import("./index-DWNK2WbN.js"),
1614
1613
  defaultSchema: {
1615
1614
  label: "代码编辑器",
1616
1615
  type: "monacoEditor",
@@ -1660,11 +1659,11 @@ defineExpose({
1660
1659
  }
1661
1660
  }, { t: De } = Pe();
1662
1661
  function rn(e) {
1663
- e.component("EInputSize", async () => await import("./index-DMnyvgEN.js")), e.component("EColEditor", async () => await import("./index-CAYHjLKP.js")), e.component("EActionEditor", async () => await import("./index-BQGUEUhF.js")), e.component("ERuleEditor", async () => await import("./index-6ehvFk8m.js")), e.component("EOptionsEditor", async () => await import("./index-u1-3v7J4.js")), e.component("ENode", async () => await import("./index-BNgMDVXO.js")), e.component("EDataSource", async () => await import("./index-7Z6k5ElN.js")), e.component("EColumnEditor", async () => await import("./index-lkwgM-Nx.js")), e.component("PaddingMarginControl", async () => await import("./index-B2L9CYN8.js")), e.component("ESourceDataSelect", async () => await import("./index-Ch0kn_uQ.js")), e.component("EValidateParam", async () => await import("./index-57Jo44dB.js")), e.component("EDescribe", async () => await import("./index-zxpOBir-.js")), e.registerActivitybar({
1662
+ e.component("EInputSize", async () => await import("./index-DMnyvgEN.js")), e.component("EColEditor", async () => await import("./index-CAYHjLKP.js")), e.component("EActionEditor", async () => await import("./index-q9yvq5KO.js")), e.component("ERuleEditor", async () => await import("./index-PJBBvGIL.js")), e.component("EOptionsEditor", async () => await import("./index-BcqJCHqF.js")), e.component("ENode", async () => await import("./index-edBSFxZI.js")), e.component("EDataSource", async () => await import("./index-7Z6k5ElN.js")), e.component("EColumnEditor", async () => await import("./index-B-CXu5E4.js")), e.component("PaddingMarginControl", async () => await import("./index-B2L9CYN8.js")), e.component("ESourceDataSelect", async () => await import("./index-CTeq7qi8.js")), e.component("EValidateParam", async () => await import("./index-Zf435cWW.js")), e.component("EDescribe", async () => await import("./index-BtHv1yZo.js")), e.registerActivitybar({
1664
1663
  id: "component_view",
1665
1664
  title: De("component"),
1666
1665
  icon: "icon--epic--extension-outline",
1667
- component: async () => await import("./index-BelKUDOu.js")
1666
+ component: async () => await import("./index-DhC_pgAC.js")
1668
1667
  }), e.registerActivitybar({
1669
1668
  id: "outline_view",
1670
1669
  title: De("outline"),
@@ -1673,11 +1672,11 @@ function rn(e) {
1673
1672
  }), e.registerRightSidebar({
1674
1673
  id: "attribute_view",
1675
1674
  title: De("attribute"),
1676
- component: async () => await import("./attributeView-BsBiqVGu.js")
1675
+ component: async () => await import("./attributeView-CDem_ES8.js")
1677
1676
  }), e.registerRightSidebar({
1678
1677
  id: "style_view",
1679
1678
  title: De("style"),
1680
- component: async () => await import("./styleView-DXePdHW5.js")
1679
+ component: async () => await import("./styleView-NkYOpZPH.js")
1681
1680
  }), e.registerRightSidebar({
1682
1681
  id: "event_view",
1683
1682
  title: "事件",
@@ -1686,11 +1685,11 @@ function rn(e) {
1686
1685
  e.registerComponent(o);
1687
1686
  });
1688
1687
  }
1689
- rn(q);
1688
+ rn(k);
1690
1689
  export {
1691
1690
  gt as E,
1692
1691
  Dt as _,
1693
- bn as a,
1692
+ Sn as a,
1694
1693
  Ht as b,
1695
1694
  yn as c,
1696
1695
  hn as d,
@@ -1699,8 +1698,8 @@ export {
1699
1698
  vn as g,
1700
1699
  mn as h,
1701
1700
  gn as i,
1702
- Sn as j,
1703
- ze as k,
1701
+ bn as j,
1702
+ Je as k,
1704
1703
  dt as l,
1705
1704
  Yt as m,
1706
1705
  Kt as n,