epic-designer-gold 0.0.31 → 0.0.32

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 (29) hide show
  1. package/dist/{attributeView-CkDUbzuR.cjs → attributeView-CkX6fubE.cjs} +1 -1
  2. package/dist/{attributeView-DpkfKqtd.js → attributeView-DVqMH1xY.js} +1 -1
  3. package/dist/core/components/builder/src/builder.vue.d.ts +2 -0
  4. package/dist/core/components/node/src/node.vue.d.ts +2 -0
  5. package/dist/{index-CiMLQy__.js → index-B07zwTz2.js} +1 -1
  6. package/dist/{index-FHGseiDc.js → index-BGKInHWa.js} +1 -1
  7. package/dist/{index-C5H0qK7d.cjs → index-BffcOK9E.cjs} +1 -1
  8. package/dist/{index-jV4vV6jn.cjs → index-Bl9bHpGb.cjs} +1 -1
  9. package/dist/{index-CpxsakMD.cjs → index-BqPBE6Y2.cjs} +1 -1
  10. package/dist/{index-DbioQCL7.cjs → index-BvRS3i9N.cjs} +1 -1
  11. package/dist/{index-ZbUi21VA.cjs → index-C7Rkr11-.cjs} +1 -1
  12. package/dist/{index-Bc7J-Fgw.js → index-C8_p36X3.js} +1 -1
  13. package/dist/{index-BhIZKk9i.cjs → index-CKl_FM23.cjs} +1 -1
  14. package/dist/{index-rE2p5Gmx.js → index-CY8bzSIr.js} +1 -1
  15. package/dist/{index-BPt8U8n9.js → index-CYyckZuN.js} +1 -1
  16. package/dist/{index-D8Dlr8aX.js → index-DQBowkLQ.js} +1 -1
  17. package/dist/{index-D0T4HwOl.cjs → index-DWA3Pa6_.cjs} +1 -1
  18. package/dist/{index-CH2IxHQE.js → index-QcfCoknU.js} +372 -368
  19. package/dist/{index-UQLDWqfT.js → index-bup0iSFb.js} +1 -1
  20. package/dist/{index-Bb8XSoYT.cjs → index-i26diW3P.cjs} +1 -1
  21. package/dist/index-rlyOYH5_.cjs +10 -0
  22. package/dist/index-zlm7L3aS.js +4 -0
  23. package/dist/index.cjs +1 -1
  24. package/dist/index.js +1 -1
  25. package/dist/{styleView-CEaoc1Q1.js → styleView-DNbMFObZ.js} +1 -1
  26. package/dist/{styleView-sGpDpZDg.cjs → styleView-D_DJWtjt.cjs} +1 -1
  27. package/package.json +1 -1
  28. package/dist/index-CTjIY8cx.cjs +0 -10
  29. package/dist/index-CtNfh-CD.js +0 -4
@@ -1,13 +1,13 @@
1
- import { ref as D, reactive as Z, defineComponent as G, openBlock as M, createBlock as L, unref as _, mergeProps as fe, withCtx as P, renderSlot as R, getCurrentInstance as ne, inject as H, watch as V, useAttrs as _e, provide as $, shallowRef as Pe, computed as U, watchEffect as re, onUnmounted as be, resolveComponent as Ve, resolveDynamicComponent as Oe, createVNode as T, createCommentVNode as Se, useSlots as Fe, createElementBlock as pe, Suspense as De, createElementVNode as z, Fragment as Me, renderList as Re, nextTick as Y, effectScope as $e, isRef as Ne, getCurrentScope as Be, onScopeDispose as Ue, onMounted as me, normalizeClass as Te, toRaw as ge } from "vue";
1
+ import { ref as D, reactive as Z, defineComponent as G, openBlock as M, createBlock as L, unref as _, mergeProps as fe, withCtx as P, renderSlot as R, getCurrentInstance as ne, inject as H, watch as V, useAttrs as _e, provide as $, shallowRef as Pe, computed as U, watchEffect as re, onUnmounted as be, resolveComponent as Ve, resolveDynamicComponent as Oe, createVNode as T, createCommentVNode as Se, useSlots as Fe, createElementBlock as pe, Suspense as De, createElementVNode as J, Fragment as Me, renderList as Re, nextTick as Y, effectScope as $e, isRef as Ne, getCurrentScope as Be, onScopeDispose as Ue, onMounted as me, normalizeClass as Te, toRaw as ge } from "vue";
2
2
  import { p as F, E as ee, a as we, l as q } from "./axios-ITY6Uw7A.js";
3
3
  function se(e = 10) {
4
4
  const a = "abcdefghijklmnopqrstuvwxyz0123456789";
5
- let n = "";
6
- for (let o = 0; o < e; o++) {
7
- const t = Math.floor(Math.random() * a.length);
8
- n += a[t];
5
+ let o = "";
6
+ for (let t = 0; t < e; t++) {
7
+ const n = Math.floor(Math.random() * a.length);
8
+ o += a[n];
9
9
  }
10
- return n;
10
+ return o;
11
11
  }
12
12
  function Le(e) {
13
13
  return e.charAt(0).toUpperCase() + e.slice(1);
@@ -18,165 +18,165 @@ function N(e, a = /* @__PURE__ */ new WeakMap()) {
18
18
  if (a.has(e))
19
19
  return a.get(e);
20
20
  if (Array.isArray(e)) {
21
- const o = e.map((t) => N(t, a));
22
- return a.set(e, o), o;
21
+ const t = e.map((n) => N(n, a));
22
+ return a.set(e, t), t;
23
23
  }
24
- const n = {};
25
- return a.set(e, n), Object.keys(e).forEach((o) => {
26
- n[o] = N(e[o], a);
27
- }), n;
24
+ const o = {};
25
+ return a.set(e, o), Object.keys(e).forEach((t) => {
26
+ o[t] = N(e[t], a);
27
+ }), o;
28
28
  }
29
29
  function Vt(e) {
30
- const [a] = We([N(e)], (n) => {
31
- var t, r;
32
- const o = {
33
- ...n,
34
- id: `${n.type}_${se(8)}`
30
+ const [a] = We([N(e)], (o) => {
31
+ var n, r;
32
+ const t = {
33
+ ...o,
34
+ id: `${o.type}_${se(8)}`
35
35
  };
36
- return (o.field || o.input) && !((r = (t = F.getComponentConfingByType(o.type)) == null ? void 0 : t.editConstraints) != null && r.fixedField) && (o.field = o.id), o;
36
+ return (t.field || t.input) && !((r = (n = F.getComponentConfingByType(t.type)) == null ? void 0 : n.editConstraints) != null && r.fixedField) && (t.field = t.id), t;
37
37
  });
38
38
  return a;
39
39
  }
40
- function J(e, a, n = !0) {
41
- for (const [o, t] of Object.entries(a)) {
42
- let r = e == null ? void 0 : e[o];
43
- r && t && typeof r == "object" && typeof t == "object" ? (Array.isArray(r) && !Array.isArray(t) ? r = e[o] = {} : !Array.isArray(r) && Array.isArray(t) && (r = e[o] = []), J(r, t, n)) : e[o] = t;
40
+ function z(e, a, o = !0) {
41
+ for (const [t, n] of Object.entries(a)) {
42
+ let r = e == null ? void 0 : e[t];
43
+ r && n && typeof r == "object" && typeof n == "object" ? (Array.isArray(r) && !Array.isArray(n) ? r = e[t] = {} : !Array.isArray(r) && Array.isArray(n) && (r = e[t] = []), z(r, n, o)) : e[t] = n;
44
44
  }
45
- n && Object.keys(e).reverse().forEach((o) => {
46
- a.hasOwnProperty(o) || (Array.isArray(e) ? e.splice(Number(o), 1) : delete e[o]);
45
+ o && Object.keys(e).reverse().forEach((t) => {
46
+ a.hasOwnProperty(t) || (Array.isArray(e) ? e.splice(Number(t), 1) : delete e[t]);
47
47
  });
48
48
  }
49
- function Ae(e, a, n = [], o = /* @__PURE__ */ new WeakMap()) {
50
- const t = (r) => {
49
+ function Ae(e, a, o = [], t = /* @__PURE__ */ new WeakMap()) {
50
+ const n = (r) => {
51
51
  if (Array.isArray(r))
52
- return r.map(t);
52
+ return r.map(n);
53
53
  if (typeof r == "object" && r !== null) {
54
- if (o.has(r))
54
+ if (t.has(r))
55
55
  return "[Circular]";
56
- o.set(r, !0);
56
+ t.set(r, !0);
57
57
  const l = Object.keys(r).sort(), i = {};
58
58
  return l.forEach((u) => {
59
- n.includes(u) || (i[u] = t(r[u]));
60
- }), o.delete(r), i;
59
+ o.includes(u) || (i[u] = n(r[u]));
60
+ }), t.delete(r), i;
61
61
  } else
62
62
  return r;
63
63
  };
64
- return JSON.stringify(t(e)) === JSON.stringify(t(a));
64
+ return JSON.stringify(n(e)) === JSON.stringify(n(a));
65
65
  }
66
- function ze(e, a) {
67
- const n = [];
68
- let o = !1;
69
- function t(r) {
70
- if (n.push(r), r.id === a && (o = !0), !o && r.children != null && r.children.length > 0)
71
- for (let l = 0; l < r.children.length && (t(r.children[l]), !o); l++)
66
+ function Je(e, a) {
67
+ const o = [];
68
+ let t = !1;
69
+ function n(r) {
70
+ if (o.push(r), r.id === a && (t = !0), !t && r.children != null && r.children.length > 0)
71
+ for (let l = 0; l < r.children.length && (n(r.children[l]), !t); l++)
72
72
  ;
73
- if (!o && r.slots)
73
+ if (!t && r.slots)
74
74
  for (let l in r.slots)
75
- for (let i = 0; i < r.slots[l].length && (t(r.slots[l][i]), !o); i++)
75
+ for (let i = 0; i < r.slots[l].length && (n(r.slots[l][i]), !t); i++)
76
76
  ;
77
- o || n.pop();
77
+ t || o.pop();
78
78
  }
79
- return e.forEach(t), o || console.error(`没有查询到id为${a}的节点`), n;
79
+ return e.forEach(n), t || console.error(`没有查询到id为${a}的节点`), o;
80
80
  }
81
- function Ot(e, a, n) {
82
- const o = a.split(".");
83
- let t = e;
84
- for (let r = 0; r < o.length; r++) {
85
- if (t == null)
86
- return n;
87
- t = t[o[r]];
81
+ function Ot(e, a, o) {
82
+ const t = a.split(".");
83
+ let n = e;
84
+ for (let r = 0; r < t.length; r++) {
85
+ if (n == null)
86
+ return o;
87
+ n = n[t[r]];
88
88
  }
89
- return t === void 0 ? n : t;
89
+ return n === void 0 ? o : n;
90
90
  }
91
- function Ft(e, a, n) {
92
- const o = a.replace(/\[(\d+)\]/g, ".$1").split(".").filter(Boolean);
93
- let t = e;
94
- for (let r = 0; r < o.length - 1; r++) {
95
- const l = o[r];
96
- t[l] == null && (t[l] = isNaN(Number(o[r + 1])) ? {} : []), t = t[l];
91
+ function Ft(e, a, o) {
92
+ const t = a.replace(/\[(\d+)\]/g, ".$1").split(".").filter(Boolean);
93
+ let n = e;
94
+ for (let r = 0; r < t.length - 1; r++) {
95
+ const l = t[r];
96
+ n[l] == null && (n[l] = isNaN(Number(t[r + 1])) ? {} : []), n = n[l];
97
97
  }
98
- return t[o[o.length - 1]] = n, e;
98
+ return n[t[t.length - 1]] = o, e;
99
99
  }
100
100
  function Mt(e, a = "default") {
101
- return Je(e, a).map((o) => o.field);
101
+ return ze(e, a).map((t) => t.field);
102
102
  }
103
- function Je(e, a = "default") {
104
- const n = te(
103
+ function ze(e, a = "default") {
104
+ const o = te(
105
105
  e,
106
- (t) => {
106
+ (n) => {
107
107
  var r;
108
- return t.type === "form" && (((r = t.componentProps) == null ? void 0 : r.name) ?? t.name === a);
108
+ return n.type === "form" && (((r = n.componentProps) == null ? void 0 : r.name) ?? n.name === a);
109
109
  },
110
110
  !0
111
111
  );
112
112
  return te(
113
- (n == null ? void 0 : n.children) ?? [],
114
- (t) => !!t.input,
113
+ (o == null ? void 0 : o.children) ?? [],
114
+ (n) => !!n.input,
115
115
  !1,
116
- (t) => t.type !== "subform"
116
+ (n) => n.type !== "subform"
117
117
  );
118
118
  }
119
- function te(e, a, n = !1, o) {
120
- const t = [], r = [...e];
119
+ function te(e, a, o = !1, t) {
120
+ const n = [], r = [...e];
121
121
  for (; r.length; ) {
122
122
  const l = r.pop();
123
- if (l != null && l.children && (!o || o(l)) && r.push(...l.children), l != null && l.slots && (!o || o(l)))
123
+ if (l != null && l.children && (!t || t(l)) && r.push(...l.children), l != null && l.slots && (!t || t(l)))
124
124
  for (let i in l.slots)
125
125
  r.push(...l.slots[i]);
126
- if (a(l) && (t.push(l), n))
126
+ if (a(l) && (n.push(l), o))
127
127
  return l;
128
128
  }
129
- return n ? !1 : t;
129
+ return o ? !1 : n;
130
130
  }
131
- function We(e, a, n) {
132
- const o = [...e];
133
- for (; o.length; ) {
134
- const t = o.pop();
135
- if (t != null && t.children && (!n || n(t)) && o.push(...t.children), t != null && t.slots && (!n || n(t)))
136
- for (let r in t.slots)
137
- o.push(...t.slots[r]);
138
- J(t, a(t));
131
+ function We(e, a, o) {
132
+ const t = [...e];
133
+ for (; t.length; ) {
134
+ const n = t.pop();
135
+ if (n != null && n.children && (!o || o(n)) && t.push(...n.children), n != null && n.slots && (!o || o(n)))
136
+ for (let r in n.slots)
137
+ t.push(...n.slots[r]);
138
+ z(n, a(n));
139
139
  }
140
140
  return e;
141
141
  }
142
142
  function Rt(e, a) {
143
- const n = te(
143
+ const o = te(
144
144
  e,
145
- (o) => o.id === a,
145
+ (t) => t.id === a,
146
146
  !0
147
147
  );
148
- if (!n)
148
+ if (!o)
149
149
  throw new Error(`没有查询到id为${a}的节点`);
150
- return n;
150
+ return o;
151
151
  }
152
152
  function $t(e, a) {
153
- const n = [{ type: "", children: e }];
154
- let o = 0, t = null;
153
+ const o = [{ type: "", children: e }];
154
+ let t = 0, n = null;
155
155
  if (te(
156
- n,
156
+ o,
157
157
  (r) => {
158
- if (t = r.children ?? null, !t) {
158
+ if (n = r.children ?? null, !n) {
159
159
  if (r != null && r.slots)
160
160
  for (let l in r.slots) {
161
- t = r.slots[l];
162
- for (let i = 0; i < t.length; i++)
163
- if (t[i].id === a)
164
- return o = i, !0;
161
+ n = r.slots[l];
162
+ for (let i = 0; i < n.length; i++)
163
+ if (n[i].id === a)
164
+ return t = i, !0;
165
165
  }
166
166
  return !1;
167
167
  }
168
- for (let l = 0; l < t.length; l++)
169
- if (t[l].id === a)
170
- return o = l, !0;
168
+ for (let l = 0; l < n.length; l++)
169
+ if (n[l].id === a)
170
+ return t = l, !0;
171
171
  return !1;
172
172
  },
173
173
  !0
174
- ), !t)
174
+ ), !n)
175
175
  throw new Error(`没有查询到id为${a}的节点`);
176
176
  return {
177
- list: t,
178
- schema: t[o],
179
- index: o
177
+ list: n,
178
+ schema: n[t],
179
+ index: t
180
180
  };
181
181
  }
182
182
  function Nt(e) {
@@ -220,26 +220,26 @@ function Nt(e) {
220
220
  return a.schemas[0].children[0].children = j(e.list), a;
221
221
  }
222
222
  function j(e, a) {
223
- return e.map((n) => {
224
- var u, w, v;
225
- let o = n.type ?? "";
226
- const t = n.options ?? {}, r = (s, y) => {
227
- o === s && (o = y, t.defaultValue && (t.defaultValue = JSON.parse(t.defaultValue)));
223
+ return e.map((o) => {
224
+ var u, w, h;
225
+ let t = o.type ?? "";
226
+ const n = o.options ?? {}, r = (s, y) => {
227
+ t === s && (t = y, n.defaultValue && (n.defaultValue = JSON.parse(n.defaultValue)));
228
228
  };
229
- if (r("uploadImg", "upload-image"), r("uploadFile", "upload-file"), o === "date" && t.range && (t.type = "daterange", delete t.range), (o === "date" || o === "time") && (t.valueFormat = t.format), o === "textarea") {
230
- const { minRows: s, maxRows: y } = t;
231
- t.autoSize = { minRows: s, maxRows: y }, delete t.minRows, delete t.maxRows;
229
+ if (r("uploadImg", "upload-image"), r("uploadFile", "upload-file"), t === "date" && n.range && (n.type = "daterange", delete n.range), (t === "date" || t === "time") && (n.valueFormat = n.format), t === "textarea") {
230
+ const { minRows: s, maxRows: y } = n;
231
+ n.autoSize = { minRows: s, maxRows: y }, delete n.minRows, delete n.maxRows;
232
232
  }
233
- o === "number" && !t.precision && delete t.precision, t.width && (t.style = { width: t.width }, delete t.width), o === "grid" && (o = "row"), a && a.type === "grid" && (o = "col", t.span = n.span, n.key = se());
233
+ t === "number" && !n.precision && delete n.precision, n.width && (n.style = { width: n.width }, delete n.width), t === "grid" && (t = "row"), a && a.type === "grid" && (t = "col", n.span = o.span, o.key = se());
234
234
  const l = {
235
- label: n.label,
236
- type: o,
237
- icon: n.icon || "",
238
- field: n.model,
239
- componentProps: t,
240
- id: n.key
235
+ label: o.label,
236
+ type: t,
237
+ icon: o.icon || "",
238
+ field: o.model,
239
+ componentProps: n,
240
+ id: o.key
241
241
  };
242
- return (t.noFormItem || !t.showLabel) && (l.noFormItem = !0, delete t.noFormItem, delete t.showLabel), t.clearable && (t.allowClear = !0, delete t.clearable), [
242
+ return (n.noFormItem || !n.showLabel) && (l.noFormItem = !0, delete n.noFormItem, delete n.showLabel), n.clearable && (n.allowClear = !0, delete n.clearable), [
243
243
  "input",
244
244
  "textarea",
245
245
  "number",
@@ -255,19 +255,19 @@ function j(e, a) {
255
255
  "color-picker",
256
256
  "upload-file",
257
257
  "upload-image"
258
- ].includes(o) && (l.input = !0, ((w = (u = n.rules) == null ? void 0 : u[0]) == null ? void 0 : w.required) === !1 && n.rules.shift(), ((v = n.rules) == null ? void 0 : v.length) > 0 && (l.rules = n.rules)), n.list && (l.children = j(n.list, n)), n.columns && (l.children = j(n.columns, n)), n.trs && (l.children = j(n.trs, n)), n.tds && (l.children = j(n.tds, n)), l;
258
+ ].includes(t) && (l.input = !0, ((w = (u = o.rules) == null ? void 0 : u[0]) == null ? void 0 : w.required) === !1 && o.rules.shift(), ((h = o.rules) == null ? void 0 : h.length) > 0 && (l.rules = o.rules)), o.list && (l.children = j(o.list, o)), o.columns && (l.children = j(o.columns, o)), o.trs && (l.children = j(o.trs, o)), o.tds && (l.children = j(o.tds, o)), l;
259
259
  });
260
260
  }
261
261
  function Bt(e, a) {
262
- let n = null;
263
- return (...o) => {
264
- n && clearTimeout(n), n = setTimeout(() => {
265
- e(...o);
262
+ let o = null;
263
+ return (...t) => {
264
+ o && clearTimeout(o), o = setTimeout(() => {
265
+ e(...t);
266
266
  }, a);
267
267
  };
268
268
  }
269
269
  function Ee() {
270
- const e = D({}), a = D({}), n = D(!1), o = D([]), t = Z({});
270
+ const e = D({}), a = D({}), o = D(!1), t = D([]), n = Z({});
271
271
  function r(m) {
272
272
  return e.value[m];
273
273
  }
@@ -278,17 +278,17 @@ function Ee() {
278
278
  delete e.value[m];
279
279
  }
280
280
  function u(m, g = !1) {
281
- const h = Object.entries(F.publicMethods).reduce(
281
+ const v = Object.entries(F.publicMethods).reduce(
282
282
  (I, [O, B]) => (I[O] = B.handler, I),
283
283
  {}
284
284
  );
285
285
  try {
286
286
  new Function(`const epic = this;${m}`).bind({
287
- ...h,
287
+ ...v,
288
288
  getComponent: r,
289
289
  find: r,
290
290
  defineExpose: w,
291
- publicMethods: h,
291
+ publicMethods: v,
292
292
  pluginManager: F
293
293
  })();
294
294
  } catch (I) {
@@ -298,84 +298,84 @@ function Ee() {
298
298
  function w(m) {
299
299
  m != null && (a.value = m);
300
300
  }
301
- function v(m, ...g) {
301
+ function h(m, ...g) {
302
302
  if (!m || m.length === 0) {
303
303
  console.warn("未提供任何动作");
304
304
  return;
305
305
  }
306
- m.forEach((h) => {
307
- const I = h.args ? JSON.parse(h.args) : g;
308
- switch (h.type) {
306
+ m.forEach((v) => {
307
+ const I = v.args ? JSON.parse(v.args) : g;
308
+ switch (v.type) {
309
309
  case "public":
310
- s(h, I);
310
+ s(v, I);
311
311
  break;
312
312
  case "custom":
313
- y(h, I);
313
+ y(v, I);
314
314
  break;
315
315
  case "component":
316
- d(h, I);
316
+ d(v, I);
317
317
  break;
318
318
  default:
319
- console.warn(`未知的动作类型: ${h.type}`);
319
+ console.warn(`未知的动作类型: ${v.type}`);
320
320
  break;
321
321
  }
322
322
  });
323
323
  }
324
324
  function s(m, g) {
325
- var h;
325
+ var v;
326
326
  try {
327
- (h = F.publicMethods[m.methodName]) == null || h.handler(...g);
327
+ (v = F.publicMethods[m.methodName]) == null || v.handler(...g);
328
328
  } catch (I) {
329
329
  console.error(`[Epic:公共函数(${m.methodName})]执行异常:`, I);
330
330
  }
331
331
  }
332
332
  function y(m, g) {
333
- var h, I;
333
+ var v, I;
334
334
  try {
335
- (I = (h = a.value)[m.methodName]) == null || I.call(h, ...g);
335
+ (I = (v = a.value)[m.methodName]) == null || I.call(v, ...g);
336
336
  } catch (O) {
337
337
  console.error(`[Epic:自定义函数(${m.methodName})]执行异常:`, O);
338
338
  }
339
339
  }
340
340
  function d(m, g) {
341
- const h = m.componentId != null && r(m.componentId);
342
- if (!h) {
341
+ const v = m.componentId != null && r(m.componentId);
342
+ if (!v) {
343
343
  console.warn(`[Epic:组件${m.componentId}]未找到`);
344
344
  return;
345
345
  }
346
346
  try {
347
- h[m.methodName](...g);
347
+ v[m.methodName](...g);
348
348
  } catch (I) {
349
349
  console.error(`[Epic:组件${m.componentId}函数(${m.methodName})]执行异常:`, I);
350
350
  }
351
351
  }
352
352
  function f(m = !0) {
353
- n.value = m;
353
+ o.value = m;
354
354
  }
355
355
  function c(m) {
356
356
  const g = te(m, () => !0);
357
- o.value = g.map((h) => h.id);
357
+ t.value = g.map((v) => v.id);
358
358
  }
359
359
  function A(m, g = "default") {
360
- if (t[g]) {
361
- const h = t[g];
362
- J(m, h);
360
+ if (n[g]) {
361
+ const v = n[g];
362
+ z(m, v);
363
363
  }
364
- t[g] = m;
364
+ n[g] = m;
365
365
  }
366
366
  function x(m, g = "default") {
367
- if (t[g]) {
368
- J(t[g], m, !1);
367
+ if (n[g]) {
368
+ z(n[g], m, !1);
369
369
  return;
370
370
  }
371
- t[g] = m;
371
+ n[g] = m;
372
372
  }
373
373
  return {
374
374
  componentInstances: e,
375
375
  funcs: a,
376
- isDesignMode: n,
377
- defaultComponentIds: o,
378
- forms: t,
376
+ isDesignMode: o,
377
+ defaultComponentIds: t,
378
+ forms: n,
379
379
  addFormData: A,
380
380
  setFormData: x,
381
381
  getComponentInstance: r,
@@ -384,17 +384,17 @@ function Ee() {
384
384
  addComponentInstance: l,
385
385
  removeComponentInstance: i,
386
386
  setMethods: u,
387
- doActions: v,
387
+ doActions: h,
388
388
  setDesignMode: f,
389
389
  setDefaultComponentIds: c
390
390
  };
391
391
  }
392
392
  function He() {
393
- const e = D([]), a = D([]), n = D(null);
394
- let o = 0;
395
- function t(u, w = "插入组件") {
396
- const v = Date.now();
397
- o + 150 > v || (o = v, n.value != null && (e.value.push(n.value), a.value.splice(0, a.value.length)), n.value = {
393
+ const e = D([]), a = D([]), o = D(null);
394
+ let t = 0;
395
+ function n(u, w = "插入组件") {
396
+ const h = Date.now();
397
+ t + 150 > h || (t = h, o.value != null && (e.value.push(o.value), a.value.splice(0, a.value.length)), o.value = {
398
398
  type: w,
399
399
  componentSchema: JSON.stringify(u)
400
400
  }, e.value.length > 60 && e.value.unshift());
@@ -403,22 +403,22 @@ function He() {
403
403
  if (e.value.length === 0)
404
404
  return !1;
405
405
  const u = e.value.pop();
406
- return n.value != null && a.value.push(n.value), n.value = u, JSON.parse(u.componentSchema);
406
+ return o.value != null && a.value.push(o.value), o.value = u, JSON.parse(u.componentSchema);
407
407
  }
408
408
  function l() {
409
409
  if (a.value.length === 0)
410
410
  return !1;
411
411
  const u = a.value.pop();
412
- return n.value != null && e.value.push(n.value), n.value = u, JSON.parse(u.componentSchema);
412
+ return o.value != null && e.value.push(o.value), o.value = u, JSON.parse(u.componentSchema);
413
413
  }
414
414
  function i() {
415
- e.value = [], a.value = [], n.value = null;
415
+ e.value = [], a.value = [], o.value = null;
416
416
  }
417
417
  return {
418
418
  recordList: e,
419
419
  undoList: a,
420
- currentRecord: n,
421
- push: t,
420
+ currentRecord: o,
421
+ push: n,
422
422
  undo: r,
423
423
  redo: l,
424
424
  reset: i
@@ -432,15 +432,15 @@ const Ke = /* @__PURE__ */ G({
432
432
  },
433
433
  emits: ["updateFormItemRef"],
434
434
  setup(e, { emit: a }) {
435
- const n = F.getComponent("form-item"), o = e, t = a, r = D(), l = () => {
436
- t("updateFormItemRef", r.value);
435
+ const o = F.getComponent("form-item"), t = e, n = a, r = D(), l = () => {
436
+ n("updateFormItemRef", r.value);
437
437
  };
438
- return (i, u) => o.hasFormItem ? (M(), L(_(n), fe({
438
+ return (i, u) => t.hasFormItem ? (M(), L(_(o), fe({
439
439
  key: 0,
440
440
  ref_key: "formItemRef",
441
441
  ref: r,
442
442
  onVnodeMounted: l
443
- }, o.formItemProps), {
443
+ }, t.formItemProps), {
444
444
  default: P(() => [
445
445
  R(i.$slots, "default")
446
446
  ]),
@@ -457,20 +457,21 @@ const Ke = /* @__PURE__ */ G({
457
457
  resetFormData: { type: Boolean },
458
458
  name: {},
459
459
  dynamicId: {},
460
- sourceDateUrl: {}
460
+ sourceDateUrl: {},
461
+ id: {}
461
462
  },
462
463
  emits: ["update:modelValue", "change", "update:dynamicId"],
463
464
  setup(e, { emit: a }) {
464
- const { proxy: n } = ne(), o = e, t = D(null);
465
+ const { proxy: o } = ne(), t = e, n = D(null);
465
466
  let r = H("formData", Z({}));
466
- const l = H("slots", {}), i = H("pageManager", {}), u = H("disabled", { value: !1 }), w = H("ruleFieldPrefix", null), v = H("resetFormData", !1);
467
- let s = Z(N(o.componentSchema));
467
+ const l = H("slots", {}), i = H("pageManager", {}), u = H("disabled", { value: !1 }), w = H("ruleFieldPrefix", null), h = H("resetFormData", !1);
468
+ let s = Z(N(t.componentSchema));
468
469
  f();
469
470
  async function y(p) {
470
- if (["cascader", "checkbox", "select", "radio"].includes(p.type) && p.componentProps.dynamicId && o.sourceDateUrl) {
471
+ if (["cascader", "checkbox", "select", "radio"].includes(p.type) && p.componentProps.dynamicId && t.sourceDateUrl) {
471
472
  const S = (await we({
472
473
  // || "http://192.168.28.205:3000/dev-api/data-source
473
- url: o.sourceDateUrl,
474
+ url: t.sourceDateUrl,
474
475
  method: "get",
475
476
  params: {
476
477
  id: p.componentProps.dynamicId
@@ -503,9 +504,9 @@ const Ke = /* @__PURE__ */ G({
503
504
  }) : [];
504
505
  }
505
506
  V(
506
- () => o.componentSchema,
507
+ () => t.componentSchema,
507
508
  (p) => {
508
- Ae(s, p, ["children"]) || (J(s, N(p)), f());
509
+ Ae(s, p, ["children"]) || (z(s, N(p)), f());
509
510
  },
510
511
  {
511
512
  deep: !0
@@ -514,12 +515,12 @@ const Ke = /* @__PURE__ */ G({
514
515
  function f() {
515
516
  i.isDesignMode.value && typeof s.field == "string" && (s.field += "-design-mode");
516
517
  }
517
- (o.resetFormData || v) && (r = {});
518
+ (t.resetFormData || h) && (r = {});
518
519
  const c = a, A = D(), x = D(), m = (p) => {
519
520
  x.value = p;
520
521
  }, g = _e();
521
522
  Object.keys(g).length && $("nodeAttrs", g);
522
- const h = Pe(null), I = U(() => {
523
+ const v = Pe(null), I = U(() => {
523
524
  var p, E;
524
525
  return (p = s.componentProps) != null && p.hidden ? !1 : typeof s.show == "boolean" ? s.show : ((E = s.show) == null ? void 0 : E.call(s, { values: r })) ?? !0;
525
526
  }), O = U(() => {
@@ -530,7 +531,7 @@ const Ke = /* @__PURE__ */ G({
530
531
  // 自定义校验函数
531
532
  })));
532
533
  let E = s.field;
533
- o.ruleField ? E = o.ruleField : w && s.field && (E = N(w), E.push(s.field));
534
+ t.ruleField ? E = t.ruleField : w && s.field && (E = N(w), E.push(s.field));
534
535
  const k = {
535
536
  ...s,
536
537
  rules: p,
@@ -544,7 +545,7 @@ const Ke = /* @__PURE__ */ G({
544
545
  return s.on && Object.keys(s.on).forEach((C) => {
545
546
  E[`on${Le(C)}`] = (...ye) => i.doActions(s.on[C], ...ye);
546
547
  }), {
547
- ...o,
548
+ ...t,
548
549
  ...s.componentProps,
549
550
  disabled: (u == null ? void 0 : u.value) || ((S = s.componentProps) == null ? void 0 : S.disabled),
550
551
  bindModel: p,
@@ -552,11 +553,11 @@ const Ke = /* @__PURE__ */ G({
552
553
  };
553
554
  }), W = U(() => F.getComponentConfingByType(s.type) ?? null);
554
555
  re(() => {
555
- t.value = o.modelValue ?? r[s.field ?? ""];
556
+ n.value = t.modelValue ?? r[s.field ?? ""];
556
557
  }), V(
557
- () => t.value,
558
+ () => n.value,
558
559
  () => {
559
- t.value !== (o.modelValue ?? r[s.field ?? ""]) && b(t.value);
560
+ n.value !== (t.modelValue ?? r[s.field ?? ""]) && b(n.value);
560
561
  }
561
562
  ), V(
562
563
  () => A.value,
@@ -567,8 +568,8 @@ const Ke = /* @__PURE__ */ G({
567
568
  );
568
569
  function oe() {
569
570
  var E;
570
- const p = A.value || n;
571
- s.id && p && (s.input && (p.setValue = b, p.getValue = () => r[s.field] || o.modelValue), p.setAttr = (k, S) => (s.componentProps || (s.componentProps = {}), s.componentProps[k] = S), p.getAttr = (k) => s.componentProps[k], i.addComponentInstance(s.id, p), (E = W.value) != null && E.defaultSchema.input && s.noFormItem !== !0 && x.value && i.addComponentInstance(s.id + "formItem", x.value));
571
+ const p = A.value || o;
572
+ s.id && p && (s.input && (p.setValue = b, p.getValue = () => r[s.field] || t.modelValue), p.setAttr = (k, S) => (s.componentProps || (s.componentProps = {}), s.componentProps[k] = S), p.getAttr = (k) => s.componentProps[k], i.addComponentInstance(s.id, p), (E = W.value) != null && E.defaultSchema.input && s.noFormItem !== !0 && x.value && i.addComponentInstance(s.id + "formItem", x.value));
572
573
  }
573
574
  function ce() {
574
575
  var p;
@@ -583,7 +584,7 @@ const Ke = /* @__PURE__ */ G({
583
584
  if (s.type === "slot") {
584
585
  const C = s.slotName;
585
586
  if (!C) return;
586
- h.value = G({
587
+ v.value = G({
587
588
  setup() {
588
589
  return () => R(l, C, {
589
590
  componentSchema: s,
@@ -600,12 +601,12 @@ const Ke = /* @__PURE__ */ G({
600
601
  }
601
602
  if (typeof p == "function") {
602
603
  const C = await p();
603
- h.value = C.default ?? C;
604
+ v.value = C.default ?? C;
604
605
  } else
605
- h.value = p;
606
+ v.value = p;
606
607
  }
607
608
  function b(p) {
608
- c("update:modelValue", p), c("change", p), s.field && (r[s.field] = p), ee.emit("updateformData", r);
609
+ c("update:modelValue", p), c("change", p), s.field && (r[s.field] = p), ee.emit("updateformData" + t.id, r);
609
610
  }
610
611
  function X(p) {
611
612
  c("update:dynamicId", p);
@@ -633,28 +634,30 @@ const Ke = /* @__PURE__ */ G({
633
634
  ), be(ce), (p, E) => {
634
635
  var S;
635
636
  const k = Ve("ENode");
636
- return h.value && I.value ? (M(), L(Ke, {
637
+ return v.value && I.value ? (M(), L(Ke, {
637
638
  key: 0,
638
639
  hasFormItem: _(s).noFormItem !== !0 && ((S = W.value) == null ? void 0 : S.defaultSchema.input),
639
640
  formItemProps: O.value,
640
641
  onUpdateFormItemRef: m
641
642
  }, {
642
643
  default: P(() => [
643
- (M(), L(Oe(h.value), fe({
644
+ (M(), L(Oe(v.value), fe({
644
645
  ref_key: "componentInstance",
645
646
  ref: A,
646
647
  onVnodeMounted: oe,
647
648
  model: _(r)
648
649
  }, { ...B.value }, {
649
- [B.value.bindModel]: t.value,
650
- ["onUpdate:" + B.value.bindModel]: E[0] || (E[0] = (C) => t.value = C),
650
+ [B.value.bindModel]: n.value,
651
+ ["onUpdate:" + B.value.bindModel]: E[0] || (E[0] = (C) => n.value = C),
651
652
  [`onUpdate:${B.value.bindModel}` || ""]: b,
652
653
  "onUpdate:dynamicId": X
653
654
  }), {
654
655
  node: P((C) => [
655
- T(k, fe(C, {
656
- sourceDateUrl: o.sourceDateUrl
657
- }), null, 16, ["sourceDateUrl"])
656
+ T(k, fe({
657
+ id: t.id
658
+ }, C, {
659
+ sourceDateUrl: t.sourceDateUrl
660
+ }), null, 16, ["id", "sourceDateUrl"])
658
661
  ]),
659
662
  "edit-node": P(() => [
660
663
  R(p.$slots, "edit-node")
@@ -668,8 +671,8 @@ const Ke = /* @__PURE__ */ G({
668
671
  }
669
672
  });
670
673
  function Ze() {
671
- const e = D(!1), a = Ee(), n = D({});
672
- function o() {
674
+ const e = D(!1), a = Ee(), o = D({});
675
+ function t() {
673
676
  return new Promise((d) => {
674
677
  if (e.value)
675
678
  d();
@@ -680,15 +683,15 @@ function Ze() {
680
683
  }
681
684
  });
682
685
  }
683
- async function t(d = "default") {
686
+ async function n(d = "default") {
684
687
  var c;
685
- await o();
686
- const f = (c = n.value) == null ? void 0 : c[d];
688
+ await t();
689
+ const f = (c = o.value) == null ? void 0 : c[d];
687
690
  if (!f) throw new Error(`表单 [name=${d}] 不存在`);
688
691
  return f;
689
692
  }
690
693
  async function r(d, f) {
691
- const c = await t(d);
694
+ const c = await n(d);
692
695
  return N(await f(c));
693
696
  }
694
697
  async function l(d = "default") {
@@ -697,22 +700,22 @@ function Ze() {
697
700
  function i(d, f = "default") {
698
701
  var A;
699
702
  a.setFormData(d, f);
700
- const c = (A = n.value) == null ? void 0 : A[f];
701
- console.log("%c [ form ]-63", "font-size:13px; background:pink; color:#bf2c9f;", c), c == null || c.clearValidate();
703
+ const c = (A = o.value) == null ? void 0 : A[f];
704
+ c == null || c.clearValidate();
702
705
  }
703
706
  async function u(d = "default") {
704
707
  return await r(d, async (f) => (await f.validate(), await f.getData()));
705
708
  }
706
709
  async function w(d) {
707
- await o();
710
+ await t();
708
711
  const f = {};
709
- for (const c in n.value) {
710
- const A = n.value[c];
712
+ for (const c in o.value) {
713
+ const A = o.value[c];
711
714
  A && (f[c] = N(await d(A)));
712
715
  }
713
716
  return f;
714
717
  }
715
- async function v() {
718
+ async function h() {
716
719
  return await w((d) => d.getData());
717
720
  }
718
721
  function s(d) {
@@ -725,14 +728,14 @@ function Ze() {
725
728
  return {
726
729
  ready: e,
727
730
  pageManager: a,
728
- forms: n,
731
+ forms: o,
729
732
  getData: l,
730
733
  setData: i,
731
734
  validate: u,
732
- getForms: v,
735
+ getForms: h,
733
736
  setForms: s,
734
737
  validateAll: y,
735
- getFormInstance: t
738
+ getFormInstance: n
736
739
  };
737
740
  }
738
741
  const Ge = {
@@ -744,17 +747,18 @@ const Ge = {
744
747
  pageSchema: {},
745
748
  formData: {},
746
749
  disabled: { type: Boolean },
747
- sourceDateUrl: {}
750
+ sourceDateUrl: {},
751
+ id: {}
748
752
  },
749
753
  emits: ["change", "ready"],
750
- setup(e, { expose: a, emit: n }) {
751
- const o = q(() => import("./index-DgcFxYFp.js")), t = n, { ready: r, pageManager: l, forms: i, getData: u, setData: w, validate: v, getForms: s, setForms: y, validateAll: d, getFormInstance: f } = Ze(), c = e, A = Z({
754
+ setup(e, { expose: a, emit: o }) {
755
+ const t = q(() => import("./index-DgcFxYFp.js")), n = o, { ready: r, pageManager: l, forms: i, getData: u, setData: w, validate: h, getForms: s, setForms: y, validateAll: d, getFormInstance: f } = Ze(), c = e, A = Z({
752
756
  schemas: []
753
757
  });
754
758
  V(
755
759
  () => c.pageSchema,
756
- (h) => {
757
- J(A, h);
760
+ (v) => {
761
+ z(A, v);
758
762
  },
759
763
  {
760
764
  immediate: !0,
@@ -762,8 +766,8 @@ const Ge = {
762
766
  }
763
767
  ), V(
764
768
  () => c.formData,
765
- (h) => {
766
- h && w(h);
769
+ (v) => {
770
+ v && w(v);
767
771
  },
768
772
  {
769
773
  immediate: !0,
@@ -771,8 +775,8 @@ const Ge = {
771
775
  }
772
776
  ), V(
773
777
  () => A.script,
774
- (h) => {
775
- h && l.setMethods(h, !0);
778
+ (v) => {
779
+ v && l.setMethods(v, !0);
776
780
  },
777
781
  {
778
782
  immediate: !0
@@ -784,38 +788,38 @@ const Ge = {
784
788
  const x = ne(), m = x == null ? void 0 : x.proxy;
785
789
  function g() {
786
790
  Y(() => {
787
- r.value = !0, t("ready", l), m && l.addComponentInstance("builder", m);
791
+ r.value = !0, n("ready", l), m && l.addComponentInstance("builder", m);
788
792
  });
789
793
  }
790
- return ee.on("updateformData", (h) => {
791
- console.log("%c [ e ]-122", "font-size:13px; background:pink; color:#bf2c9f;", h), t("change", h);
794
+ return ee.on("updateformData" + c.id, (v) => {
795
+ n("change", v);
792
796
  }), a({
793
797
  ready: r,
794
798
  pageManager: l,
795
799
  getData: u,
796
800
  setData: w,
797
- validate: v,
801
+ validate: h,
798
802
  getForms: s,
799
803
  setForms: y,
800
804
  validateAll: d,
801
805
  getFormInstance: f
802
- }), (h, I) => _(F).initialized.value ? (M(), L(De, {
806
+ }), (v, I) => _(F).initialized.value ? (M(), L(De, {
803
807
  key: 1,
804
808
  onResolve: g
805
809
  }, {
806
810
  default: P(() => [
807
- z("div", Qe, [
811
+ J("div", Qe, [
808
812
  (M(!0), pe(Me, null, Re(A.schemas, (O, B) => (M(), L(_(qe), {
813
+ id: c.id,
809
814
  key: B,
810
815
  sourceDateUrl: c.sourceDateUrl,
811
- componentSchema: O,
812
- onChange: h.getDataChange
813
- }, null, 8, ["sourceDateUrl", "componentSchema", "onChange"]))), 128))
816
+ componentSchema: O
817
+ }, null, 8, ["id", "sourceDateUrl", "componentSchema"]))), 128))
814
818
  ])
815
819
  ]),
816
820
  fallback: P(() => [
817
- z("div", Ye, [
818
- T(_(o))
821
+ J("div", Ye, [
822
+ T(_(t))
819
823
  ])
820
824
  ]),
821
825
  _: 1
@@ -826,11 +830,11 @@ function he(e) {
826
830
  return Be() ? (Ue(e), !0) : !1;
827
831
  }
828
832
  function je(e) {
829
- let a = 0, n, o;
830
- const t = () => {
831
- a -= 1, o && a <= 0 && (o.stop(), n = void 0, o = void 0);
833
+ let a = 0, o, t;
834
+ const n = () => {
835
+ a -= 1, t && a <= 0 && (t.stop(), o = void 0, t = void 0);
832
836
  };
833
- return (...r) => (a += 1, o || (o = $e(!0), n = o.run(() => e(...r))), he(t), n);
837
+ return (...r) => (a += 1, t || (t = $e(!0), o = t.run(() => e(...r))), he(n), o);
834
838
  }
835
839
  function Q(e) {
836
840
  return typeof e == "function" ? e() : _(e);
@@ -842,49 +846,49 @@ const tt = (e) => typeof e < "u", nt = Object.prototype.toString, ot = (e) => nt
842
846
  function rt(e) {
843
847
  return ne();
844
848
  }
845
- function st(e, a = !0, n) {
846
- rt() ? me(e, n) : a ? e() : Y(e);
849
+ function st(e, a = !0, o) {
850
+ rt() ? me(e, o) : a ? e() : Y(e);
847
851
  }
848
852
  function lt(e = !1, a = {}) {
849
853
  const {
850
- truthyValue: n = !0,
851
- falsyValue: o = !1
852
- } = a, t = Ne(e), r = D(e);
854
+ truthyValue: o = !0,
855
+ falsyValue: t = !1
856
+ } = a, n = Ne(e), r = D(e);
853
857
  function l(i) {
854
858
  if (arguments.length)
855
859
  return r.value = i, r.value;
856
860
  {
857
- const u = Q(n);
858
- return r.value = r.value === u ? Q(o) : u, r.value;
861
+ const u = Q(o);
862
+ return r.value = r.value === u ? Q(t) : u, r.value;
859
863
  }
860
864
  }
861
- return t ? l : [r, l];
865
+ return n ? l : [r, l];
862
866
  }
863
- function Ut(e, a, n) {
864
- const o = V(e, (...t) => (Y(() => o()), a(...t)), n);
865
- return o;
867
+ function Ut(e, a, o) {
868
+ const t = V(e, (...n) => (Y(() => t()), a(...n)), o);
869
+ return t;
866
870
  }
867
871
  const le = et ? window : void 0;
868
872
  function K(e) {
869
873
  var a;
870
- const n = Q(e);
871
- return (a = n == null ? void 0 : n.$el) != null ? a : n;
874
+ const o = Q(e);
875
+ return (a = o == null ? void 0 : o.$el) != null ? a : o;
872
876
  }
873
877
  function it(...e) {
874
- let a, n, o, t;
875
- if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([n, o, t] = e, a = le) : [a, n, o, t] = e, !a)
878
+ let a, o, t, n;
879
+ if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([o, t, n] = e, a = le) : [a, o, t, n] = e, !a)
876
880
  return at;
877
- Array.isArray(n) || (n = [n]), Array.isArray(o) || (o = [o]);
881
+ Array.isArray(o) || (o = [o]), Array.isArray(t) || (t = [t]);
878
882
  const r = [], l = () => {
879
- r.forEach((v) => v()), r.length = 0;
880
- }, i = (v, s, y, d) => (v.addEventListener(s, y, d), () => v.removeEventListener(s, y, d)), u = V(
881
- () => [K(a), Q(t)],
882
- ([v, s]) => {
883
- if (l(), !v)
883
+ r.forEach((h) => h()), r.length = 0;
884
+ }, i = (h, s, y, d) => (h.addEventListener(s, y, d), () => h.removeEventListener(s, y, d)), u = V(
885
+ () => [K(a), Q(n)],
886
+ ([h, s]) => {
887
+ if (l(), !h)
884
888
  return;
885
889
  const y = ot(s) ? { ...s } : s;
886
890
  r.push(
887
- ...n.flatMap((d) => o.map((f) => i(v, d, f, y)))
891
+ ...o.flatMap((d) => t.map((f) => i(h, d, f, y)))
888
892
  );
889
893
  },
890
894
  { immediate: !0, flush: "post" }
@@ -897,23 +901,23 @@ function ct(e) {
897
901
  return typeof e == "function" ? e : typeof e == "string" ? (a) => a.key === e : Array.isArray(e) ? (a) => e.includes(a.key) : () => !0;
898
902
  }
899
903
  function Ie(...e) {
900
- let a, n, o = {};
901
- e.length === 3 ? (a = e[0], n = e[1], o = e[2]) : e.length === 2 ? typeof e[1] == "object" ? (a = !0, n = e[0], o = e[1]) : (a = e[0], n = e[1]) : (a = !0, n = e[0]);
904
+ let a, o, t = {};
905
+ e.length === 3 ? (a = e[0], o = e[1], t = e[2]) : e.length === 2 ? typeof e[1] == "object" ? (a = !0, o = e[0], t = e[1]) : (a = e[0], o = e[1]) : (a = !0, o = e[0]);
902
906
  const {
903
- target: t = le,
907
+ target: n = le,
904
908
  eventName: r = "keydown",
905
909
  passive: l = !1,
906
910
  dedupe: i = !1
907
- } = o, u = ct(a);
908
- return it(t, r, (v) => {
909
- v.repeat && Q(i) || u(v) && n(v);
911
+ } = t, u = ct(a);
912
+ return it(n, r, (h) => {
913
+ h.repeat && Q(i) || u(h) && o(h);
910
914
  }, l);
911
915
  }
912
- function ue(e, a, n = {}) {
913
- return Ie(e, a, { ...n, eventName: "keydown" });
916
+ function ue(e, a, o = {}) {
917
+ return Ie(e, a, { ...o, eventName: "keydown" });
914
918
  }
915
- function de(e, a, n = {}) {
916
- return Ie(e, a, { ...n, eventName: "keyup" });
919
+ function de(e, a, o = {}) {
920
+ return Ie(e, a, { ...o, eventName: "keyup" });
917
921
  }
918
922
  function ut() {
919
923
  const e = D(!1), a = ne();
@@ -928,10 +932,10 @@ function dt(e) {
928
932
  function ft(e) {
929
933
  return JSON.parse(JSON.stringify(e));
930
934
  }
931
- function pt(e, a, n = {}) {
932
- const { window: o = le, ...t } = n;
935
+ function pt(e, a, o = {}) {
936
+ const { window: t = le, ...n } = o;
933
937
  let r;
934
- const l = dt(() => o && "ResizeObserver" in o), i = () => {
938
+ const l = dt(() => t && "ResizeObserver" in t), i = () => {
935
939
  r && (r.disconnect(), r = void 0);
936
940
  }, u = U(() => {
937
941
  const s = Q(e);
@@ -939,30 +943,30 @@ function pt(e, a, n = {}) {
939
943
  }), w = V(
940
944
  u,
941
945
  (s) => {
942
- if (i(), l.value && o) {
946
+ if (i(), l.value && t) {
943
947
  r = new ResizeObserver(a);
944
948
  for (const y of s)
945
- y && r.observe(y, t);
949
+ y && r.observe(y, n);
946
950
  }
947
951
  },
948
952
  { immediate: !0, flush: "post" }
949
- ), v = () => {
953
+ ), h = () => {
950
954
  i(), w();
951
955
  };
952
- return he(v), {
956
+ return he(h), {
953
957
  isSupported: l,
954
- stop: v
958
+ stop: h
955
959
  };
956
960
  }
957
- function Tt(e, a = { width: 0, height: 0 }, n = {}) {
958
- const { window: o = le, box: t = "content-box" } = n, r = U(() => {
961
+ function Tt(e, a = { width: 0, height: 0 }, o = {}) {
962
+ const { window: t = le, box: n = "content-box" } = o, r = U(() => {
959
963
  var s, y;
960
964
  return (y = (s = K(e)) == null ? void 0 : s.namespaceURI) == null ? void 0 : y.includes("svg");
961
965
  }), l = D(a.width), i = D(a.height), { stop: u } = pt(
962
966
  e,
963
967
  ([s]) => {
964
- const y = t === "border-box" ? s.borderBoxSize : t === "content-box" ? s.contentBoxSize : s.devicePixelContentBoxSize;
965
- if (o && r.value) {
968
+ const y = n === "border-box" ? s.borderBoxSize : n === "content-box" ? s.contentBoxSize : s.devicePixelContentBoxSize;
969
+ if (t && r.value) {
966
970
  const d = K(e);
967
971
  if (d) {
968
972
  const f = d.getBoundingClientRect();
@@ -974,7 +978,7 @@ function Tt(e, a = { width: 0, height: 0 }, n = {}) {
974
978
  } else
975
979
  l.value = s.contentRect.width, i.value = s.contentRect.height;
976
980
  },
977
- n
981
+ o
978
982
  );
979
983
  st(() => {
980
984
  const s = K(e);
@@ -986,45 +990,45 @@ function Tt(e, a = { width: 0, height: 0 }, n = {}) {
986
990
  l.value = s ? a.width : 0, i.value = s ? a.height : 0;
987
991
  }
988
992
  );
989
- function v() {
993
+ function h() {
990
994
  u(), w();
991
995
  }
992
996
  return {
993
997
  width: l,
994
998
  height: i,
995
- stop: v
999
+ stop: h
996
1000
  };
997
1001
  }
998
- function Lt(e, a, n, o = {}) {
999
- var t, r, l;
1002
+ function Lt(e, a, o, t = {}) {
1003
+ var n, r, l;
1000
1004
  const {
1001
1005
  clone: i = !1,
1002
1006
  passive: u = !1,
1003
1007
  eventName: w,
1004
- deep: v = !1,
1008
+ deep: h = !1,
1005
1009
  defaultValue: s,
1006
1010
  shouldEmit: y
1007
- } = o, d = ne(), f = n || (d == null ? void 0 : d.emit) || ((t = d == null ? void 0 : d.$emit) == null ? void 0 : t.bind(d)) || ((l = (r = d == null ? void 0 : d.proxy) == null ? void 0 : r.$emit) == null ? void 0 : l.bind(d == null ? void 0 : d.proxy));
1011
+ } = t, d = ne(), f = o || (d == null ? void 0 : d.emit) || ((n = d == null ? void 0 : d.$emit) == null ? void 0 : n.bind(d)) || ((l = (r = d == null ? void 0 : d.proxy) == null ? void 0 : r.$emit) == null ? void 0 : l.bind(d == null ? void 0 : d.proxy));
1008
1012
  let c = w;
1009
1013
  a || (a = "modelValue"), c = c || `update:${a.toString()}`;
1010
1014
  const A = (g) => i ? typeof i == "function" ? i(g) : ft(g) : g, x = () => tt(e[a]) ? A(e[a]) : s, m = (g) => {
1011
1015
  y ? y(g) && f(c, g) : f(c, g);
1012
1016
  };
1013
1017
  if (u) {
1014
- const g = x(), h = D(g);
1018
+ const g = x(), v = D(g);
1015
1019
  let I = !1;
1016
1020
  return V(
1017
1021
  () => e[a],
1018
1022
  (O) => {
1019
- I || (I = !0, h.value = A(O), Y(() => I = !1));
1023
+ I || (I = !0, v.value = A(O), Y(() => I = !1));
1020
1024
  }
1021
1025
  ), V(
1022
- h,
1026
+ v,
1023
1027
  (O) => {
1024
- !I && (O !== e[a] || v) && m(O);
1028
+ !I && (O !== e[a] || h) && m(O);
1025
1029
  },
1026
- { deep: v }
1027
- ), h;
1030
+ { deep: h }
1031
+ ), v;
1028
1032
  } else
1029
1033
  return U({
1030
1034
  get() {
@@ -1035,7 +1039,7 @@ function Lt(e, a, n, o = {}) {
1035
1039
  }
1036
1040
  });
1037
1041
  }
1038
- function zt() {
1042
+ function Jt() {
1039
1043
  const { isDark: e } = ie(), a = lt(e);
1040
1044
  return {
1041
1045
  isDark: e,
@@ -1060,61 +1064,61 @@ function ht(e) {
1060
1064
  a && (a.classList.contains("dark") ? e.value = !0 : e.value = !1);
1061
1065
  }
1062
1066
  function vt(e) {
1063
- var a = document.querySelector("html"), n = new MutationObserver(function(o) {
1064
- for (var t of o)
1065
- if (t.type === "attributes" && t.attributeName === "class") {
1066
- const r = t.target;
1067
+ var a = document.querySelector("html"), o = new MutationObserver(function(t) {
1068
+ for (var n of t)
1069
+ if (n.type === "attributes" && n.attributeName === "class") {
1070
+ const r = n.target;
1067
1071
  new Array(...r.classList).includes("dark") ? e.value = !0 : e.value = !1;
1068
1072
  }
1069
1073
  });
1070
- n.observe(a, {
1074
+ o.observe(a, {
1071
1075
  attributes: !0,
1072
1076
  attributeFilter: ["class"]
1073
1077
  }), be(() => {
1074
- n.disconnect();
1078
+ o.disconnect();
1075
1079
  });
1076
1080
  }
1077
1081
  function yt() {
1078
- const e = D(1), a = D(!1), { isDark: n } = mt(), { pressSpace: o, pressShift: t, pressCtrl: r } = gt();
1082
+ const e = D(1), a = D(!1), { isDark: o } = mt(), { pressSpace: t, pressShift: n, pressCtrl: r } = gt();
1079
1083
  return {
1080
1084
  canvasScale: e,
1081
- pressSpace: o,
1082
- pressShift: t,
1085
+ pressSpace: t,
1086
+ pressShift: n,
1083
1087
  pressCtrl: r,
1084
1088
  disabledZoom: a,
1085
- isDark: n
1089
+ isDark: o
1086
1090
  };
1087
1091
  }
1088
1092
  const ie = je(yt);
1089
1093
  function gt() {
1090
- const e = D(!1), a = D(!1), n = D(!1);
1094
+ const e = D(!1), a = D(!1), o = D(!1);
1091
1095
  return ue(" ", () => {
1092
1096
  e.value = !0;
1093
1097
  }), de(" ", () => {
1094
1098
  e.value = !1;
1095
- }), ue("Shift", (o) => {
1096
- o.preventDefault(), a.value = !0;
1099
+ }), ue("Shift", (t) => {
1100
+ t.preventDefault(), a.value = !0;
1097
1101
  }), de("Shift", () => {
1098
1102
  a.value = !1;
1099
- }), ue("Control", (o) => {
1100
- o.preventDefault(), n.value = !0;
1103
+ }), ue("Control", (t) => {
1104
+ t.preventDefault(), o.value = !0;
1101
1105
  }), de("Control", () => {
1102
- n.value = !1;
1103
- }), { pressSpace: e, pressShift: a, pressCtrl: n };
1106
+ o.value = !1;
1107
+ }), { pressSpace: e, pressShift: a, pressCtrl: o };
1104
1108
  }
1105
- function Jt(e) {
1106
- const { pressSpace: a } = ie(), n = new Image(1, 1);
1107
- n.src = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg==";
1108
- let o = 0, t = 0;
1109
+ function zt(e) {
1110
+ const { pressSpace: a } = ie(), o = new Image(1, 1);
1111
+ o.src = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg==";
1112
+ let t = 0, n = 0;
1109
1113
  function r(u) {
1110
1114
  var w;
1111
- a.value && (o = u.x, t = u.y, (w = u.dataTransfer) == null || w.setDragImage(document.createElement("div"), 0, 0));
1115
+ a.value && (t = u.x, n = u.y, (w = u.dataTransfer) == null || w.setDragImage(document.createElement("div"), 0, 0));
1112
1116
  }
1113
1117
  function l(u) {
1114
1118
  if (u.preventDefault(), !u.x || !u.y || !a.value)
1115
1119
  return;
1116
- const w = u.x - o, v = u.y - t;
1117
- o = u.x, t = u.y, e.value && (e.value.scrollTop -= v, e.value.scrollLeft -= w);
1120
+ const w = u.x - t, h = u.y - n;
1121
+ t = u.x, n = u.y, e.value && (e.value.scrollTop -= h, e.value.scrollLeft -= w);
1118
1122
  }
1119
1123
  function i() {
1120
1124
  a.value = !1;
@@ -1122,38 +1126,38 @@ function Jt(e) {
1122
1126
  return { handleElementDragStart: r, handleElementDrag: l, handleElementDragEnd: i };
1123
1127
  }
1124
1128
  function Wt(e) {
1125
- const { pressCtrl: a, canvasScale: n, disabledZoom: o } = ie();
1126
- function t(r) {
1127
- if (!a.value || o.value)
1129
+ const { pressCtrl: a, canvasScale: o, disabledZoom: t } = ie();
1130
+ function n(r) {
1131
+ if (!a.value || t.value)
1128
1132
  return;
1129
1133
  r.preventDefault();
1130
1134
  let l = 0;
1131
- r.deltaY < 0 ? l = n.value + 0.05 : l = n.value - 0.05, !(l > 150 || l < 0.5) && (n.value = l);
1135
+ r.deltaY < 0 ? l = o.value + 0.05 : l = o.value - 0.05, !(l > 150 || l < 0.5) && (o.value = l);
1132
1136
  }
1133
1137
  return V(
1134
- () => n.value,
1138
+ () => o.value,
1135
1139
  (r) => {
1136
- e.value && !o.value && (e.value.style.transform = `scale(${r})`);
1140
+ e.value && !t.value && (e.value.style.transform = `scale(${r})`);
1137
1141
  }
1138
- ), { handleZoom: t, canvasScale: n };
1142
+ ), { handleZoom: n, canvasScale: o };
1139
1143
  }
1140
1144
  function Ht(e, a = 16.66) {
1141
- let n;
1142
- function o() {
1143
- t(), n = window.setInterval(e, a);
1144
- }
1145
+ let o;
1145
1146
  function t() {
1146
- window.clearInterval(n);
1147
+ n(), o = window.setInterval(e, a);
1148
+ }
1149
+ function n() {
1150
+ window.clearInterval(o);
1147
1151
  }
1148
1152
  return {
1149
- startTimedQuery: o,
1150
- stopTimedQuery: t
1153
+ startTimedQuery: t,
1154
+ stopTimedQuery: n
1151
1155
  };
1152
1156
  }
1153
1157
  const wt = { class: "min-w-750px rounded" }, bt = { class: "h-full rounded" }, St = /* @__PURE__ */ G({
1154
1158
  __name: "index",
1155
1159
  setup(e, { expose: a }) {
1156
- const n = F.getComponent("monacoEditor"), o = F.getComponent("modal"), t = D(null), r = D(!1), l = D(!1), i = D({}), u = H("pageSchema"), w = D(null), v = D("");
1160
+ const o = F.getComponent("monacoEditor"), t = F.getComponent("modal"), n = D(null), r = D(!1), l = D(!1), i = D({}), u = H("pageSchema"), w = D(null), h = D("");
1157
1161
  function s() {
1158
1162
  l.value = !1;
1159
1163
  }
@@ -1161,7 +1165,7 @@ const wt = { class: "min-w-750px rounded" }, bt = { class: "h-full rounded" }, S
1161
1165
  r.value = !1;
1162
1166
  }
1163
1167
  function d() {
1164
- r.value = !0, v.value = se();
1168
+ r.value = !0, h.value = se();
1165
1169
  }
1166
1170
  async function f() {
1167
1171
  try {
@@ -1172,7 +1176,7 @@ const wt = { class: "min-w-750px rounded" }, bt = { class: "h-full rounded" }, S
1172
1176
  }
1173
1177
  Object.keys(c).length === 1 && (c = c.default), i.value = JSON.stringify(c, null, 2), Y(() => {
1174
1178
  var A;
1175
- (A = t.value) == null || A.setValue(i.value);
1179
+ (A = n.value) == null || A.setValue(i.value);
1176
1180
  }), l.value = !0;
1177
1181
  } catch (c) {
1178
1182
  console.error(c);
@@ -1180,7 +1184,7 @@ const wt = { class: "min-w-750px rounded" }, bt = { class: "h-full rounded" }, S
1180
1184
  }
1181
1185
  return a({
1182
1186
  handleOpen: d
1183
- }), (c, A) => (M(), L(_(o), {
1187
+ }), (c, A) => (M(), L(_(t), {
1184
1188
  modelValue: r.value,
1185
1189
  "onUpdate:modelValue": A[1] || (A[1] = (x) => r.value = x),
1186
1190
  title: "预览",
@@ -1191,14 +1195,14 @@ const wt = { class: "min-w-750px rounded" }, bt = { class: "h-full rounded" }, S
1191
1195
  okText: "表单数据"
1192
1196
  }, {
1193
1197
  default: P(() => [
1194
- z("div", wt, [
1198
+ J("div", wt, [
1195
1199
  (M(), L(_(Xe), {
1196
- key: v.value,
1200
+ key: h.value,
1197
1201
  ref_key: "kb",
1198
1202
  ref: w,
1199
1203
  "page-schema": _(u)
1200
1204
  }, null, 8, ["page-schema"])),
1201
- T(_(o), {
1205
+ T(_(t), {
1202
1206
  modelValue: l.value,
1203
1207
  "onUpdate:modelValue": A[0] || (A[0] = (x) => l.value = x),
1204
1208
  title: "表单数据",
@@ -1208,10 +1212,10 @@ const wt = { class: "min-w-750px rounded" }, bt = { class: "h-full rounded" }, S
1208
1212
  onOk: s
1209
1213
  }, {
1210
1214
  default: P(() => [
1211
- z("div", bt, [
1212
- T(_(n), {
1215
+ J("div", bt, [
1216
+ T(_(o), {
1213
1217
  ref_key: "monacoEditorRef",
1214
- ref: t,
1218
+ ref: n,
1215
1219
  autoToggleTheme: "",
1216
1220
  readOnly: "",
1217
1221
  class: "h-full editor",
@@ -1251,8 +1255,8 @@ const wt = { class: "min-w-750px rounded" }, bt = { class: "h-full rounded" }, S
1251
1255
  "deleteSourceData",
1252
1256
  "updateSourceData"
1253
1257
  ],
1254
- setup(e, { expose: a, emit: n }) {
1255
- const o = q(() => import("./index-C-XUgjda.js")), t = q(() => import("./index-ASoFJnMl.js")), r = q(() => import("./index-CiMLQy__.js")), l = q(() => import("./index-ooVzYa5L.js")), i = q(() => import("./index-DgcFxYFp.js")), u = Ee(), w = He(), v = e;
1258
+ setup(e, { expose: a, emit: o }) {
1259
+ const t = q(() => import("./index-C-XUgjda.js")), n = q(() => import("./index-ASoFJnMl.js")), r = q(() => import("./index-B07zwTz2.js")), l = q(() => import("./index-ooVzYa5L.js")), i = q(() => import("./index-DgcFxYFp.js")), u = Ee(), w = He(), h = e;
1256
1260
  let s = {
1257
1261
  schemas: [
1258
1262
  {
@@ -1300,13 +1304,13 @@ defineExpose({
1300
1304
  })`
1301
1305
  };
1302
1306
  re(() => {
1303
- if (v.defaultSchema) {
1304
- s = v.defaultSchema;
1307
+ if (h.defaultSchema) {
1308
+ s = h.defaultSchema;
1305
1309
  return;
1306
1310
  }
1307
- v.source && F.setSourceData(v.source), v.formMode && (s.schemas = F.formSchemas);
1311
+ h.source && F.setSourceData(h.source), h.formMode && (s.schemas = F.formSchemas);
1308
1312
  }), u.setDesignMode(), u.setDefaultComponentIds(s.schemas);
1309
- const y = n, d = D(null), f = Z({
1313
+ const y = o, d = D(null), f = Z({
1310
1314
  checkedNode: null,
1311
1315
  hoverNode: null,
1312
1316
  disableHover: !1,
@@ -1316,13 +1320,13 @@ defineExpose({
1316
1320
  script: s.script
1317
1321
  }), { disabledZoom: A } = ie();
1318
1322
  re(() => {
1319
- A.value = v.disabledZoom;
1323
+ A.value = h.disabledZoom;
1320
1324
  }), re(() => {
1321
1325
  const b = c.script;
1322
1326
  b && b !== "" && u.setMethods(b);
1323
1327
  }), $("pageSchema", c), $("revoke", w), $("pageManager", u), $(
1324
1328
  "designerProps",
1325
- U(() => v)
1329
+ U(() => h)
1326
1330
  ), $("designer", {
1327
1331
  setCheckedNode: m,
1328
1332
  setHoverNode: g,
@@ -1341,7 +1345,7 @@ defineExpose({
1341
1345
  c.schemas = N(s.schemas), m(c.schemas[0]), w.push(c.schemas, "初始化撤销功能");
1342
1346
  }
1343
1347
  async function m(b = c.schemas[0]) {
1344
- f.checkedNode = b, f.matched = ze(c.schemas, b.id);
1348
+ f.checkedNode = b, f.matched = Je(c.schemas, b.id);
1345
1349
  }
1346
1350
  async function g(b = null) {
1347
1351
  var X;
@@ -1351,7 +1355,7 @@ defineExpose({
1351
1355
  return !1;
1352
1356
  f.hoverNode = b;
1353
1357
  }
1354
- function h() {
1358
+ function v() {
1355
1359
  Y(() => {
1356
1360
  y("ready", { pageManager: u });
1357
1361
  });
@@ -1360,13 +1364,13 @@ defineExpose({
1360
1364
  f.disableHover = b;
1361
1365
  }
1362
1366
  function O(b) {
1363
- J(c, N(b));
1367
+ z(c, N(b));
1364
1368
  }
1365
1369
  function B() {
1366
1370
  return ge(c);
1367
1371
  }
1368
1372
  function W() {
1369
- Ae(c.schemas, s.schemas) && c.script === s.script || (J(c.schemas, s.schemas), c.script = s.script, m(c.schemas[0]), w.push(c.schemas, "重置操作"), y("reset", c));
1373
+ Ae(c.schemas, s.schemas) && c.script === s.script || (z(c.schemas, s.schemas), c.script = s.script, m(c.schemas[0]), w.push(c.schemas, "重置操作"), y("reset", c));
1370
1374
  }
1371
1375
  function oe() {
1372
1376
  y("save", ge(c));
@@ -1385,13 +1389,13 @@ defineExpose({
1385
1389
  preview: ae
1386
1390
  }), (b, X) => _(F).initialized.value ? (M(), L(De, {
1387
1391
  key: 1,
1388
- onResolve: h
1392
+ onResolve: v
1389
1393
  }, {
1390
1394
  default: P(() => [
1391
- z("div", At, [
1392
- z("div", Et, [
1395
+ J("div", At, [
1396
+ J("div", Et, [
1393
1397
  R(b.$slots, "header", {}, () => [
1394
- v.hiddenHeader ? Se("", !0) : (M(), L(_(o), {
1398
+ h.hiddenHeader ? Se("", !0) : (M(), L(_(t), {
1395
1399
  key: 0,
1396
1400
  onPreview: ae,
1397
1401
  onSave: oe
@@ -1418,10 +1422,10 @@ defineExpose({
1418
1422
  }))
1419
1423
  ])
1420
1424
  ]),
1421
- z("div", {
1425
+ J("div", {
1422
1426
  class: Te(["epic-split-view-container", { "hidden-header": b.hiddenHeader }])
1423
1427
  }, [
1424
- T(_(t)),
1428
+ T(_(n)),
1425
1429
  T(_(r)),
1426
1430
  T(_(l))
1427
1431
  ], 2),
@@ -1432,7 +1436,7 @@ defineExpose({
1432
1436
  ])
1433
1437
  ]),
1434
1438
  fallback: P(() => [
1435
- z("div", It, [
1439
+ J("div", It, [
1436
1440
  T(_(i))
1437
1441
  ])
1438
1442
  ]),
@@ -1440,7 +1444,7 @@ defineExpose({
1440
1444
  })) : (M(), pe("div", Dt));
1441
1445
  }
1442
1446
  }), Ct = {
1443
- component: async () => await import("./index-D8Dlr8aX.js"),
1447
+ component: async () => await import("./index-DQBowkLQ.js"),
1444
1448
  defaultSchema: {
1445
1449
  label: "代码编辑器",
1446
1450
  type: "monacoEditor",
@@ -1490,11 +1494,11 @@ defineExpose({
1490
1494
  }
1491
1495
  };
1492
1496
  function xt(e) {
1493
- e.component("EInputSize", async () => await import("./index-C4sdhgF2.js")), e.component("EColEditor", async () => await import("./index-FHGseiDc.js")), e.component("EActionEditor", async () => await import("./index-UQLDWqfT.js")), e.component("ERuleEditor", async () => await import("./index-Bc7J-Fgw.js")), e.component("EOptionsEditor", async () => await import("./index-BPt8U8n9.js")), e.component("ENode", async () => await import("./index-CtNfh-CD.js")), e.component("EDataSource", async () => await import("./index-CCTMCqiz.js")), e.registerActivitybar({
1497
+ e.component("EInputSize", async () => await import("./index-C4sdhgF2.js")), e.component("EColEditor", async () => await import("./index-BGKInHWa.js")), e.component("EActionEditor", async () => await import("./index-bup0iSFb.js")), e.component("ERuleEditor", async () => await import("./index-C8_p36X3.js")), e.component("EOptionsEditor", async () => await import("./index-CYyckZuN.js")), e.component("ENode", async () => await import("./index-zlm7L3aS.js")), e.component("EDataSource", async () => await import("./index-CCTMCqiz.js")), e.registerActivitybar({
1494
1498
  id: "component_view",
1495
1499
  title: "组件",
1496
1500
  icon: "icon--epic--extension-outline",
1497
- component: async () => await import("./index-rE2p5Gmx.js")
1501
+ component: async () => await import("./index-CY8bzSIr.js")
1498
1502
  }), e.registerActivitybar({
1499
1503
  id: "outline_view",
1500
1504
  title: "大纲",
@@ -1503,18 +1507,18 @@ function xt(e) {
1503
1507
  }), e.registerRightSidebar({
1504
1508
  id: "attribute_view",
1505
1509
  title: "属性",
1506
- component: async () => await import("./attributeView-DpkfKqtd.js")
1510
+ component: async () => await import("./attributeView-DVqMH1xY.js")
1507
1511
  }), e.registerRightSidebar({
1508
1512
  id: "style_view",
1509
1513
  title: "样式",
1510
- component: async () => await import("./styleView-CEaoc1Q1.js")
1511
- }), [Ct, kt].forEach((n) => {
1512
- e.registerComponent(n);
1514
+ component: async () => await import("./styleView-DNbMFObZ.js")
1515
+ }), [Ct, kt].forEach((o) => {
1516
+ e.registerComponent(o);
1513
1517
  });
1514
1518
  }
1515
1519
  xt(F);
1516
1520
  export {
1517
- Je as A,
1521
+ ze as A,
1518
1522
  te as B,
1519
1523
  We as C,
1520
1524
  j as D,
@@ -1527,8 +1531,8 @@ export {
1527
1531
  Ht as a,
1528
1532
  pt as b,
1529
1533
  Nt as c,
1530
- J as d,
1531
- Jt as e,
1534
+ z as d,
1535
+ zt as e,
1532
1536
  $t as f,
1533
1537
  Vt as g,
1534
1538
  Tt as h,
@@ -1539,7 +1543,7 @@ export {
1539
1543
  N as m,
1540
1544
  Lt as n,
1541
1545
  Ot as o,
1542
- zt as p,
1546
+ Jt as p,
1543
1547
  Xe as q,
1544
1548
  Kt as r,
1545
1549
  Ft as s,
@@ -1548,6 +1552,6 @@ export {
1548
1552
  He as v,
1549
1553
  Ut as w,
1550
1554
  Ae as x,
1551
- ze as y,
1555
+ Je as y,
1552
1556
  Mt as z
1553
1557
  };