@shaonq/vue 1.2.6 → 1.2.7

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 (2) hide show
  1. package/lib/index.js +815 -825
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import wo from "vxe-table";
2
2
  import "vxe-table/lib/style.css";
3
- import { ref as q, inject as bt, defineComponent as H, computed as Q, shallowRef as He, watch as ie, onUnmounted as ht, resolveComponent as y, openBlock as m, createElementBlock as z, createBlock as x, withCtx as f, renderSlot as Y, createElementVNode as i, toDisplayString as le, createVNode as d, createTextVNode as P, unref as _, createCommentVNode as L, Fragment as ne, renderList as pe, createSlots as Ft, mergeProps as T, resolveDynamicComponent as Ee, normalizeStyle as se, reactive as qt, provide as Et, toRefs as De, normalizeProps as xe, guardReactiveProps as lt, isRef as Ct, normalizeClass as ce, withModifiers as je, toRef as nt, Transition as Kt, onMounted as Me, useAttrs as Bo, Teleport as Lt, markRaw as ko, withDirectives as xo, vShow as $o, nextTick as Do } from "vue";
3
+ import { ref as q, inject as bt, defineComponent as H, computed as Q, shallowRef as He, watch as le, onUnmounted as ht, resolveComponent as y, openBlock as m, createElementBlock as z, createBlock as x, withCtx as f, renderSlot as Y, createElementVNode as i, toDisplayString as ne, createVNode as d, createTextVNode as P, unref as _, createCommentVNode as L, Fragment as te, renderList as ce, createSlots as Ft, mergeProps as I, resolveDynamicComponent as Ee, normalizeStyle as ie, reactive as qt, provide as Et, toRefs as De, normalizeProps as xe, guardReactiveProps as lt, isRef as Ct, normalizeClass as de, withModifiers as je, toRef as nt, Transition as Kt, onMounted as Me, useAttrs as Bo, Teleport as Lt, markRaw as ko, withDirectives as xo, vShow as $o, nextTick as Do } from "vue";
4
4
  import it from "xe-utils";
5
5
  import Ge from "vuedraggable";
6
6
  import { Modal as Ht, Message as So, Button as Oo, useFormItem as zo, Icon as Vo } from "@arco-design/web-vue";
@@ -42,10 +42,10 @@ function Wo(e, t) {
42
42
  const E = c.checkboxKey, F = s.filter((k) => k[E] && k[E] === r[E]);
43
43
  F.length && a.setCheckboxRow(F, l);
44
44
  }
45
- const g = a.getCheckboxRecords().concat(a.getCheckboxReserveRecords()), h = pt(e.option);
46
- h && t(
45
+ const g = a.getCheckboxRecords().concat(a.getCheckboxReserveRecords()), b = pt(e.option);
46
+ b && t(
47
47
  "update:selectedKeys",
48
- g.map((E) => E[h])
48
+ g.map((E) => E[b])
49
49
  );
50
50
  }, radioChangeEvent: ({ row: a }) => {
51
51
  const l = [a], r = pt(e.option);
@@ -55,43 +55,43 @@ function Wo(e, t) {
55
55
  );
56
56
  } };
57
57
  }
58
- const ue = q(/* @__PURE__ */ Object.create({}));
58
+ const oe = q(/* @__PURE__ */ Object.create({}));
59
59
  function Gt(e) {
60
60
  const t = {
61
61
  ...e,
62
62
  ref: (o) => {
63
- o && (ue.value = o);
63
+ o && (oe.value = o);
64
64
  }
65
65
  };
66
66
  return {
67
67
  tableOption: t,
68
- $grid: ue,
68
+ $grid: oe,
69
69
  $gridTwo: {
70
70
  getRowKey() {
71
71
  return pt(e);
72
72
  },
73
73
  getRowIndex(o) {
74
- return ue.value.getRowIndex(o);
74
+ return oe.value.getRowIndex(o);
75
75
  },
76
76
  getRowSeq(o) {
77
- return ue.value.getRowSeq(o);
77
+ return oe.value.getRowSeq(o);
78
78
  },
79
79
  getTableData() {
80
80
  var o, u;
81
- return ue.value ? (u = (o = ue.value) == null ? void 0 : o.getTableData().fullData) != null ? u : [] : [];
81
+ return oe.value ? (u = (o = oe.value) == null ? void 0 : o.getTableData().fullData) != null ? u : [] : [];
82
82
  },
83
83
  getSelection() {
84
- return ue.value ? t.selectedType === "checkbox" ? ue.value.getCheckboxRecords() : t.selectedType === "radio" ? [ue.value.getRadioRecord()] : [] : [];
84
+ return oe.value ? t.selectedType === "checkbox" ? oe.value.getCheckboxRecords() : t.selectedType === "radio" ? [oe.value.getRadioRecord()] : [] : [];
85
85
  },
86
86
  getReserveSelection() {
87
- if (ue.value) {
87
+ if (oe.value) {
88
88
  if (t.selectedType === "checkbox") {
89
- const o = ue.value.getCheckboxRecords();
90
- return e.reserve ? o.concat(ue.value.getCheckboxReserveRecords()) : o;
89
+ const o = oe.value.getCheckboxRecords();
90
+ return e.reserve ? o.concat(oe.value.getCheckboxReserveRecords()) : o;
91
91
  }
92
92
  if (t.selectedType === "radio") {
93
- let o = ue.value.getRadioRecord();
94
- return e.reserve && !o && (o = ue.value.getRadioReserveRecord()), o ? [o] : [];
93
+ let o = oe.value.getRadioRecord();
94
+ return e.reserve && !o && (o = oe.value.getRadioReserveRecord()), o ? [o] : [];
95
95
  }
96
96
  return [];
97
97
  }
@@ -102,30 +102,30 @@ function Gt(e) {
102
102
  return o || (o = this.getSelection().map((l) => l[u])), this.getTableData().filter((l) => o && o.includes(l[u]));
103
103
  },
104
104
  clearSelection() {
105
- ue.value && (t.selectedType === "checkbox" && (e.reserve && ue.value.clearCheckboxReserve(), ue.value.clearCheckboxRow()), t.selectedType === "radio" && (e.reserve && ue.value.clearRadioReserve(), ue.value.clearRadioRow()));
105
+ oe.value && (t.selectedType === "checkbox" && (e.reserve && oe.value.clearCheckboxReserve(), oe.value.clearCheckboxRow()), t.selectedType === "radio" && (e.reserve && oe.value.clearRadioReserve(), oe.value.clearRadioRow()));
106
106
  },
107
107
  insertRow(o, u, a = !0) {
108
108
  var c;
109
109
  const l = this.getRowKey();
110
110
  if (u && typeof u == "object" && a) {
111
- const s = ue.value.getRowIndex(u);
111
+ const s = oe.value.getRowIndex(u);
112
112
  s >= 0 && (u = (c = this.getTableData()[s + 1]) != null ? c : -1);
113
113
  }
114
- return o[l] && delete o[l], ue.value.insertAt(o, u);
114
+ return o[l] && delete o[l], oe.value.insertAt(o, u);
115
115
  },
116
116
  removeRows() {
117
- ue.value && (t.selectedType === "checkbox" && ue.value.removeCheckboxRow(), t.selectedType === "radio" && ue.value.removeRadioRow());
117
+ oe.value && (t.selectedType === "checkbox" && oe.value.removeCheckboxRow(), t.selectedType === "radio" && oe.value.removeRadioRow());
118
118
  },
119
119
  removerRowIndex(o) {
120
- if (ue.value) {
120
+ if (oe.value) {
121
121
  const u = this.getTableData();
122
- u.splice(o, 1), ue.value.reloadData(u);
122
+ u.splice(o, 1), oe.value.reloadData(u);
123
123
  }
124
124
  },
125
125
  async validate(o = void 0) {
126
126
  o = o != null ? o : this.getSelection();
127
127
  let u = "";
128
- const a = await ue.value.validate(o);
128
+ const a = await oe.value.validate(o);
129
129
  return a && Object.values(a).forEach((l) => {
130
130
  l.forEach(({ rowIndex: r, column: c, rules: s }) => {
131
131
  s.forEach((g) => {
@@ -183,186 +183,186 @@ const No = { class: "orc-table" }, qo = { class: "arco-card-header-title" }, Ko
183
183
  setup(e, { expose: t, emit: n }) {
184
184
  var xt;
185
185
  const o = Uo(), u = Q(() => o.useErrData);
186
- function a(S) {
187
- return !!(S && typeof S == "object" && ["setup", "props"].some((V) => V in S));
186
+ function a(O) {
187
+ return !!(O && typeof O == "object" && ["setup", "props"].some((V) => V in O));
188
188
  }
189
189
  const l = e;
190
- function r(S) {
191
- return Ce(S) ? S() : S;
190
+ function r(O) {
191
+ return Ce(O) ? O() : O;
192
192
  }
193
193
  const c = n;
194
- function s(S, V) {
195
- return (te) => {
196
- typeof te == "object" ? Object.keys(te).forEach((N) => {
197
- S[N] = te[N];
198
- }) : S[V] = te;
194
+ function s(O, V) {
195
+ return (ee) => {
196
+ typeof ee == "object" ? Object.keys(ee).forEach((N) => {
197
+ O[N] = ee[N];
198
+ }) : O[V] = ee;
199
199
  };
200
200
  }
201
- function g(S, V, te, N) {
202
- const { dataIndex: Z } = S, de = V[Z];
203
- return { record: V, dataIndex: Z, rowIndex: te, columnIndex: N, value: de, updateValue: s(V, Z), formatValue: Ne(V, S) };
201
+ function g(O, V, ee, N) {
202
+ const { dataIndex: Z } = O, re = V[Z];
203
+ return { record: V, dataIndex: Z, rowIndex: ee, columnIndex: N, value: re, updateValue: s(V, Z), formatValue: Ne(V, O) };
204
204
  }
205
- function h(S, V, te, N) {
206
- const Z = { ...S.cellAttr }, de = g(S, V, te, N);
205
+ function b(O, V, ee, N) {
206
+ const Z = { ...O.cellAttr }, re = g(O, V, ee, N);
207
207
  return Object.keys(Z).forEach((_e) => {
208
208
  const we = Z[_e];
209
209
  if (typeof we == "function")
210
210
  try {
211
- Z[_e] = we(de);
211
+ Z[_e] = we(re);
212
212
  } catch {
213
213
  }
214
214
  }), Z;
215
215
  }
216
216
  const E = Q(() => {
217
- var S, V;
218
- return (V = (S = l.option) == null ? void 0 : S.pageSize) != null ? V : 20;
217
+ var O, V;
218
+ return (V = (O = l.option) == null ? void 0 : O.pageSize) != null ? V : 20;
219
219
  }), F = Q(() => {
220
- var S, V;
221
- return (V = (S = l.option) == null ? void 0 : S.pageSizeOptions) != null ? V : [10, 20, 50, 100, 200];
222
- }), k = q({ page: 1, size: E.value }), { disabledList: $, selectChangeEvent: A, radioChangeEvent: C } = Wo(l, c), { $grid: b, $gridTwo: p } = Gt(l.option);
223
- function v(S, V, te) {
224
- var de, _e;
225
- const N = (de = S[V]) != null ? de : {}, Z = (_e = S[V - 1]) != null ? _e : {};
226
- return ["string", "number"].includes(typeof N[te]) ? l.option.skinRow && typeof l.option.skinRow == "string" ? N[l.option.skinRow] === Z[l.option.skinRow] && N[te] === Z[te] : N[te] === Z[te] : !1;
220
+ var O, V;
221
+ return (V = (O = l.option) == null ? void 0 : O.pageSizeOptions) != null ? V : [10, 20, 50, 100, 200];
222
+ }), k = q({ page: 1, size: E.value }), { disabledList: $, selectChangeEvent: A, radioChangeEvent: C } = Wo(l, c), { $grid: h, $gridTwo: p } = Gt(l.option);
223
+ function v(O, V, ee) {
224
+ var re, _e;
225
+ const N = (re = O[V]) != null ? re : {}, Z = (_e = O[V - 1]) != null ? _e : {};
226
+ return ["string", "number"].includes(typeof N[ee]) ? l.option.skinRow && typeof l.option.skinRow == "string" ? N[l.option.skinRow] === Z[l.option.skinRow] && N[ee] === Z[ee] : N[ee] === Z[ee] : !1;
227
227
  }
228
- function B(S, V, te) {
228
+ function B(O, V, ee) {
229
229
  let N = {};
230
230
  if (l.option.skinRowStyle)
231
231
  try {
232
- N = V > 0 && !v(S, V, te) && l.option.skinRow && S[V][String(l.option.skinRow)] === S[V - 1][String(l.option.skinRow)] ? l.option.skinRowStyle : {};
232
+ N = V > 0 && !v(O, V, ee) && l.option.skinRow && O[V][String(l.option.skinRow)] === O[V - 1][String(l.option.skinRow)] ? l.option.skinRowStyle : {};
233
233
  } catch {
234
234
  }
235
235
  return N;
236
236
  }
237
- const M = q([]);
238
- function j() {
239
- const S = [...l.option.columns], V = l.option.resolveColumns && Ce(l.option.resolveColumns) ? l.option.resolveColumns(S) : S;
237
+ const T = q([]);
238
+ function R() {
239
+ const O = [...l.option.columns], V = l.option.resolveColumns && Ce(l.option.resolveColumns) ? l.option.resolveColumns(O) : O;
240
240
  return Object.assign([], V).filter((N) => Boolean(N)).map((N) => {
241
241
  var Z;
242
242
  return N.show = (Z = N.show) != null ? Z : !0, N.tooltip && (N.ellipsis = !0), N;
243
243
  });
244
244
  }
245
- const O = Q(() => {
246
- const S = j(), V = Object.assign([], M.value);
245
+ const D = Q(() => {
246
+ const O = R(), V = Object.assign([], T.value);
247
247
  return [
248
248
  ...new Set(
249
- [...V].map((N) => N.dataIndex).filter((N) => S.find((Z) => Z.dataIndex === N)).concat([...S].map((N) => N.dataIndex)).filter((N) => !!N)
249
+ [...V].map((N) => N.dataIndex).filter((N) => O.find((Z) => Z.dataIndex === N)).concat([...O].map((N) => N.dataIndex)).filter((N) => !!N)
250
250
  )
251
251
  ].map((N) => {
252
252
  var _e;
253
- const Z = S.find((we) => we.dataIndex === N), de = (_e = V.find((we) => we.dataIndex === N)) != null ? _e : /* @__PURE__ */ Object.create({});
254
- return { ...Z, ...de };
253
+ const Z = O.find((we) => we.dataIndex === N), re = (_e = V.find((we) => we.dataIndex === N)) != null ? _e : /* @__PURE__ */ Object.create({});
254
+ return { ...Z, ...re };
255
255
  });
256
- }), G = Q(() => l.option.resolvePage && Ce(l.option.resolvePage) ? l.option.resolvePage(k.value) : l.option.resolvePage), U = Q(() => Boolean(l.option.url)), K = q(!1), w = q(!1), D = q(0), R = He((xt = l.data) != null ? xt : []);
257
- ie(
256
+ }), G = Q(() => l.option.resolvePage && Ce(l.option.resolvePage) ? l.option.resolvePage(k.value) : l.option.resolvePage), J = Q(() => Boolean(l.option.url)), K = q(!1), w = q(!1), S = q(0), j = He((xt = l.data) != null ? xt : []);
257
+ le(
258
258
  () => l.data,
259
259
  () => {
260
- U.value || (R.value = Object.assign([], l.data));
260
+ J.value || (j.value = Object.assign([], l.data));
261
261
  },
262
262
  { deep: !0 }
263
263
  );
264
- const oe = new AbortController();
265
- function me() {
266
- var Z, de;
267
- const S = (Z = l.option.useErrData) != null ? Z : u.value;
268
- if (typeof S != "function")
264
+ const ue = new AbortController();
265
+ function fe() {
266
+ var Z, re;
267
+ const O = (Z = l.option.useErrData) != null ? Z : u.value;
268
+ if (typeof O != "function")
269
269
  return console.error("useErrData not declared"), [!0, { rows: [] }];
270
270
  let V = /* @__PURE__ */ Object.create({});
271
271
  G.value ? Ce(l.option.resolvePage) ? V = { ...G.value } : V = { page: k.value } : V = {};
272
- const te = {
272
+ const ee = {
273
273
  [String(l.option.method).toUpperCase() === "GET" ? "params" : "data"]: { ...V, ...l.option.data }
274
- }, N = { url: l.option.url, method: (de = l.option.method) != null ? de : "GET", ...te, signal: oe.signal };
275
- return l.option.timeout && (N.timeout = l.option.timeout), S(N);
274
+ }, N = { url: l.option.url, method: (re = l.option.method) != null ? re : "GET", ...ee, signal: ue.signal };
275
+ return l.option.timeout && (N.timeout = l.option.timeout), O(N);
276
276
  }
277
277
  const be = Q({
278
278
  get: () => l.selectedKeys,
279
- set: (S) => {
280
- c("update:selectedKeys", S);
279
+ set: (O) => {
280
+ c("update:selectedKeys", O);
281
281
  }
282
282
  });
283
- function J(S = !0) {
284
- K.value = S;
283
+ function ve(O = !0) {
284
+ K.value = O;
285
285
  }
286
- const ee = async () => {
287
- var S, V, te, N, Z, de, _e;
288
- if (U.value) {
289
- J(!0);
290
- const [we, ve] = await me();
291
- if (J(!1), we)
292
- Ce(l.option.error) && ((_e = (de = l.option).error) == null || _e.call(de, ve));
286
+ const W = async () => {
287
+ var O, V, ee, N, Z, re, _e;
288
+ if (J.value) {
289
+ ve(!0);
290
+ const [we, ge] = await fe();
291
+ if (ve(!1), we)
292
+ Ce(l.option.error) && ((_e = (re = l.option).error) == null || _e.call(re, ge));
293
293
  else {
294
- const Ye = l.option.resolveData && Ce(l.option.resolveData) ? l.option.resolveData(ve, { ...k.value }) : (V = (S = ve == null ? void 0 : ve.rows) != null ? S : ve) != null ? V : [];
295
- Object.prototype.toString.call(Ye).slice(8, -1) !== "Array" && console.warn(new Error("[orc-table] :Not in Array format data ")), R.value = Object.assign([], Ye), D.value = l.option.resolveTotal && Ce(l.option.resolveTotal) ? l.option.resolveTotal(ve) : (te = ve == null ? void 0 : ve.total) != null ? te : 0, Ce(l.option.success) && ((Z = (N = l.option).success) == null || Z.call(N, ve));
294
+ const Ye = l.option.resolveData && Ce(l.option.resolveData) ? l.option.resolveData(ge, { ...k.value }) : (V = (O = ge == null ? void 0 : ge.rows) != null ? O : ge) != null ? V : [];
295
+ Object.prototype.toString.call(Ye).slice(8, -1) !== "Array" && console.warn(new Error("[orc-table] :Not in Array format data ")), j.value = Object.assign([], Ye), S.value = l.option.resolveTotal && Ce(l.option.resolveTotal) ? l.option.resolveTotal(ge) : (ee = ge == null ? void 0 : ge.total) != null ? ee : 0, Ce(l.option.success) && ((Z = (N = l.option).success) == null || Z.call(N, ge));
296
296
  }
297
297
  }
298
298
  };
299
- async function re() {
300
- K.value || (c("onReset"), U.value ? await ee() : (J(!0), await new Promise((S) => {
301
- setTimeout(S, 99);
302
- }), J(!1)));
299
+ async function ae() {
300
+ K.value || (c("onReset"), J.value ? await W() : (ve(!0), await new Promise((O) => {
301
+ setTimeout(O, 99);
302
+ }), ve(!1)));
303
303
  }
304
- function W(S, V = !1) {
305
- S && (k.value.page = S), (!l.option.reserve || V) && (be.value = [], p.clearSelection()), ee();
304
+ function M(O, V = !1) {
305
+ O && (k.value.page = O), (!l.option.reserve || V) && (be.value = [], p.clearSelection()), W();
306
306
  }
307
- async function Se(S) {
308
- k.value.size = S, W(1, !0);
307
+ async function Se(O) {
308
+ k.value.size = O, M(1, !0);
309
309
  }
310
- const Ae = q(/* @__PURE__ */ Object.create({})), ge = q({
310
+ const Ae = q(/* @__PURE__ */ Object.create({})), me = q({
311
311
  loading: !1,
312
312
  columns: [],
313
313
  tempWidth: /* @__PURE__ */ Object.create({})
314
314
  });
315
315
  async function Xe() {
316
- var S;
317
- if (typeof ((S = l.hook) == null ? void 0 : S.getColumn) == "function") {
318
- const [V, te] = await l.hook.getColumn();
319
- !V && te && (M.value = te);
316
+ var O;
317
+ if (typeof ((O = l.hook) == null ? void 0 : O.getColumn) == "function") {
318
+ const [V, ee] = await l.hook.getColumn();
319
+ !V && ee && (T.value = ee);
320
320
  }
321
321
  }
322
322
  Xe();
323
- const Ie = (S = !1) => {
324
- var V, te;
325
- !Ae.value || (S ? (V = Ae.value) == null || V.togglePanel() : (te = Ae.value) == null || te.showPanel(), ge.value.columns = Object.assign([], [...O.value]).map((N) => {
326
- const Z = ge.value.tempWidth[N.dataIndex];
323
+ const Ie = (O = !1) => {
324
+ var V, ee;
325
+ !Ae.value || (O ? (V = Ae.value) == null || V.togglePanel() : (ee = Ae.value) == null || ee.showPanel(), me.value.columns = Object.assign([], [...D.value]).map((N) => {
326
+ const Z = me.value.tempWidth[N.dataIndex];
327
327
  return Z && (N.width = Z), N;
328
328
  }));
329
329
  }, Oe = () => {
330
- var S;
331
- !Ae.value || (S = Ae.value) == null || S.hidePanel();
330
+ var O;
331
+ !Ae.value || (O = Ae.value) == null || O.hidePanel();
332
332
  };
333
333
  function We() {
334
- ge.value.loading = !0, M.value = [], ge.value.tempWidth = /* @__PURE__ */ Object.create({}), ge.value.columns = j(), Ie(), setTimeout(() => {
335
- ge.value.loading = !1;
334
+ me.value.loading = !0, T.value = [], me.value.tempWidth = /* @__PURE__ */ Object.create({}), me.value.columns = R(), Ie(), setTimeout(() => {
335
+ me.value.loading = !1;
336
336
  }, 500);
337
337
  }
338
- function go(S) {
339
- let V = S.column.property;
340
- !V && S.column.type === "seq" && (V = "index"), V && S.column.resizeWidth > 0 && (ge.value.tempWidth[V] = S.column.resizeWidth, Oe());
338
+ function go(O) {
339
+ let V = O.column.property;
340
+ !V && O.column.type === "seq" && (V = "index"), V && O.column.resizeWidth > 0 && (me.value.tempWidth[V] = O.column.resizeWidth, Oe());
341
341
  }
342
342
  const vo = () => {
343
- var S;
344
- !Ae.value || (M.value = ge.value.columns, c("confirm", O.value), typeof ((S = l.hook) == null ? void 0 : S.setColumn) == "function" && l.hook.setColumn(O.value), ge.value.tempWidth = /* @__PURE__ */ Object.create({}), Oe());
343
+ var O;
344
+ !Ae.value || (T.value = me.value.columns, c("confirm", D.value), typeof ((O = l.hook) == null ? void 0 : O.setColumn) == "function" && l.hook.setColumn(D.value), me.value.tempWidth = /* @__PURE__ */ Object.create({}), Oe());
345
345
  };
346
- return l.option.firstLoad !== !1 && ee(), ie(
346
+ return l.option.firstLoad !== !1 && W(), le(
347
347
  () => l.option.firstLoad,
348
- (S) => {
349
- S === !0 && ee();
348
+ (O) => {
349
+ O === !0 && W();
350
350
  }
351
351
  ), ht(() => {
352
- oe.abort();
352
+ ue.abort();
353
353
  }), t({
354
354
  loading: K,
355
- setLoading: J,
356
- dataInit(S) {
357
- return S !== !1 && (k.value.page = 1), be.value = [], p.clearSelection(), ee();
355
+ setLoading: ve,
356
+ dataInit(O) {
357
+ return O !== !1 && (k.value.page = 1), be.value = [], p.clearSelection(), W();
358
358
  },
359
- loadData(S) {
360
- b.value && (b.value.reloadData(S), R.value = S);
359
+ loadData(O) {
360
+ h.value && (h.value.reloadData(O), j.value = O);
361
361
  },
362
362
  ...p
363
- }), (S, V) => {
363
+ }), (O, V) => {
364
364
  var St;
365
- const te = y("a-switch"), N = y("a-tooltip"), Z = y("icon-refresh"), de = y("a-button"), _e = y("icon-settings"), we = y("icon-drag-dot-vertical"), ve = y("a-checkbox"), Ye = y("a-input-number"), _o = y("a-divider"), $t = y("vxe-button"), yo = y("vxe-pulldown"), Dt = y("a-space"), bo = y("vxe-toolbar"), Ze = y("vxe-column"), ho = y("a-empty"), Fo = y("a-spin"), Eo = y("vxe-table"), Co = y("a-pagination");
365
+ const ee = y("a-switch"), N = y("a-tooltip"), Z = y("icon-refresh"), re = y("a-button"), _e = y("icon-settings"), we = y("icon-drag-dot-vertical"), ge = y("a-checkbox"), Ye = y("a-input-number"), _o = y("a-divider"), $t = y("vxe-button"), yo = y("vxe-pulldown"), Dt = y("a-space"), bo = y("vxe-toolbar"), Ze = y("vxe-column"), ho = y("a-empty"), Fo = y("a-spin"), Eo = y("vxe-table"), Co = y("a-pagination");
366
366
  return m(), z("div", No, [
367
367
  l.hideToolbar ? L("", !0) : (m(), x(bo, {
368
368
  key: 0,
@@ -370,22 +370,22 @@ const No = { class: "orc-table" }, qo = { class: "arco-card-header-title" }, Ko
370
370
  "class-name": "orc-table__toolbar"
371
371
  }, {
372
372
  buttons: f(() => [
373
- Y(S.$slots, "default", {}, () => [
374
- i("div", qo, le(l.title), 1)
373
+ Y(O.$slots, "default", {}, () => [
374
+ i("div", qo, ne(l.title), 1)
375
375
  ])
376
376
  ]),
377
377
  tools: f(() => [
378
378
  d(Dt, { size: "mini" }, {
379
379
  default: f(() => [
380
- Y(S.$slots, "tools"),
380
+ Y(O.$slots, "tools"),
381
381
  d(N, {
382
382
  content: "\u8868\u683C\u6591\u9A6C\u7EB9",
383
383
  mini: ""
384
384
  }, {
385
385
  default: f(() => [
386
- d(te, {
386
+ d(ee, {
387
387
  modelValue: w.value,
388
- "onUpdate:modelValue": V[0] || (V[0] = (ae) => w.value = ae),
388
+ "onUpdate:modelValue": V[0] || (V[0] = (se) => w.value = se),
389
389
  size: "small"
390
390
  }, {
391
391
  checked: f(() => V[8] || (V[8] = [
@@ -404,12 +404,12 @@ const No = { class: "orc-table" }, qo = { class: "arco-card-header-title" }, Ko
404
404
  mini: ""
405
405
  }, {
406
406
  default: f(() => [
407
- d(de, {
407
+ d(re, {
408
408
  loading: K.value,
409
409
  size: "small",
410
410
  class: "arco-btn-light",
411
411
  style: { border: "0" },
412
- onClick: V[1] || (V[1] = (ae) => re())
412
+ onClick: V[1] || (V[1] = (se) => ae())
413
413
  }, {
414
414
  icon: f(() => [
415
415
  d(Z, { size: 16 })
@@ -431,7 +431,7 @@ const No = { class: "orc-table" }, qo = { class: "arco-card-header-title" }, Ko
431
431
  mini: ""
432
432
  }, {
433
433
  default: f(() => [
434
- d(de, {
434
+ d(re, {
435
435
  size: "small",
436
436
  class: "arco-btn-light",
437
437
  style: { border: "0" }
@@ -439,7 +439,7 @@ const No = { class: "orc-table" }, qo = { class: "arco-card-header-title" }, Ko
439
439
  icon: f(() => [
440
440
  d(_e, {
441
441
  size: 16,
442
- onClick: V[2] || (V[2] = (ae) => Ie(!0))
442
+ onClick: V[2] || (V[2] = (se) => Ie(!0))
443
443
  })
444
444
  ]),
445
445
  _: 1
@@ -457,12 +457,12 @@ const No = { class: "orc-table" }, qo = { class: "arco-card-header-title" }, Ko
457
457
  mini: ""
458
458
  }, {
459
459
  default: f(() => [
460
- d(de, {
460
+ d(re, {
461
461
  size: "small",
462
462
  class: "arco-btn-light",
463
463
  style: { border: "0" },
464
- loading: ge.value.loading,
465
- onClick: V[3] || (V[3] = (ae) => We())
464
+ loading: me.value.loading,
465
+ onClick: V[3] || (V[3] = (se) => We())
466
466
  }, {
467
467
  icon: f(() => [
468
468
  d(Z)
@@ -476,7 +476,7 @@ const No = { class: "orc-table" }, qo = { class: "arco-card-header-title" }, Ko
476
476
  i("div", Ho, [
477
477
  i("div", Go, [
478
478
  d(_(Ge), {
479
- list: ge.value.columns,
479
+ list: me.value.columns,
480
480
  style: { "user-select": "none" },
481
481
  class: "orc-table__draggable-list",
482
482
  group: "toolsGroup",
@@ -487,23 +487,23 @@ const No = { class: "orc-table" }, qo = { class: "arco-card-header-title" }, Ko
487
487
  "item-key": "id",
488
488
  handle: ".orc-table__draggable-moving"
489
489
  }, {
490
- item: f(({ element: ae }) => [
490
+ item: f(({ element: se }) => [
491
491
  i("div", Jo, [
492
- ae.title ? (m(), z("div", Qo, [
492
+ se.title ? (m(), z("div", Qo, [
493
493
  d(we, { class: "orc-table__draggable-moving" }),
494
- d(ve, {
495
- modelValue: ae.show,
496
- "onUpdate:modelValue": (ze) => ae.show = ze
494
+ d(ge, {
495
+ modelValue: se.show,
496
+ "onUpdate:modelValue": (ze) => se.show = ze
497
497
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
498
498
  i("label", {
499
499
  class: "u-flex__item u-clamp",
500
- title: ae.title
500
+ title: se.title
501
501
  }, [
502
- i("span", Yo, le(ae.title), 1)
502
+ i("span", Yo, ne(se.title), 1)
503
503
  ], 8, Xo),
504
504
  d(Ye, {
505
- modelValue: ae.width,
506
- "onUpdate:modelValue": (ze) => ae.width = ze,
505
+ modelValue: se.width,
506
+ "onUpdate:modelValue": (ze) => se.width = ze,
507
507
  size: "mini",
508
508
  style: { width: "50px" }
509
509
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
@@ -525,7 +525,7 @@ const No = { class: "orc-table" }, qo = { class: "arco-card-header-title" }, Ko
525
525
  class: "u-flex__item",
526
526
  type: "text",
527
527
  status: "info",
528
- onClick: V[4] || (V[4] = (ae) => Oe())
528
+ onClick: V[4] || (V[4] = (se) => Oe())
529
529
  }, {
530
530
  default: f(() => V[11] || (V[11] = [
531
531
  P("\u53D6\u6D88")
@@ -537,7 +537,7 @@ const No = { class: "orc-table" }, qo = { class: "arco-card-header-title" }, Ko
537
537
  class: "u-flex__item",
538
538
  type: "text",
539
539
  status: "primary",
540
- onClick: V[5] || (V[5] = (ae) => vo())
540
+ onClick: V[5] || (V[5] = (se) => vo())
541
541
  }, {
542
542
  default: f(() => V[12] || (V[12] = [
543
543
  P("\u786E\u8BA4")
@@ -557,7 +557,7 @@ const No = { class: "orc-table" }, qo = { class: "arco-card-header-title" }, Ko
557
557
  })),
558
558
  d(Eo, {
559
559
  ref: l.option.ref,
560
- data: R.value,
560
+ data: j.value,
561
561
  height: l.height,
562
562
  stripe: w.value,
563
563
  "keep-source": !1,
@@ -586,8 +586,8 @@ const No = { class: "orc-table" }, qo = { class: "arco-card-header-title" }, Ko
586
586
  onCheckboxAll: _(A),
587
587
  onRadioChange: _(C),
588
588
  onResizableChange: go,
589
- onCellClick: V[6] || (V[6] = (ae) => c("cellClick", ae)),
590
- onCellDblclick: V[7] || (V[7] = (ae) => c("cellDblclick", ae)),
589
+ onCellClick: V[6] || (V[6] = (se) => c("cellClick", se)),
590
+ onCellDblclick: V[7] || (V[7] = (se) => c("cellDblclick", se)),
591
591
  onFooterCellClick: l.option.onFooterCellClick
592
592
  }, {
593
593
  empty: f(() => [
@@ -597,10 +597,10 @@ const No = { class: "orc-table" }, qo = { class: "arco-card-header-title" }, Ko
597
597
  d(Fo)
598
598
  ]),
599
599
  default: f(() => [
600
- Y(S.$slots, "columns", {}, () => {
601
- var ae, ze;
600
+ Y(O.$slots, "columns", {}, () => {
601
+ var se, ze;
602
602
  return [
603
- ["checkbox"].includes((ae = l.option.selectedType) != null ? ae : "") ? (m(), x(Ze, {
603
+ ["checkbox"].includes((se = l.option.selectedType) != null ? se : "") ? (m(), x(Ze, {
604
604
  key: 0,
605
605
  type: "checkbox",
606
606
  width: "30",
@@ -613,83 +613,83 @@ const No = { class: "orc-table" }, qo = { class: "arco-card-header-title" }, Ko
613
613
  fixed: "left",
614
614
  align: l.option.selectedAlign
615
615
  }, null, 8, ["align"])) : L("", !0),
616
- (m(!0), z(ne, null, pe(O.value.filter((I) => I.show), (I, Ao) => (m(), z(ne, { key: Ao }, [
617
- ["index"].includes(I.dataIndex) ? (m(), x(Ze, {
616
+ (m(!0), z(te, null, ce(D.value.filter((U) => U.show), (U, Ao) => (m(), z(te, { key: Ao }, [
617
+ ["index"].includes(U.dataIndex) ? (m(), x(Ze, {
618
618
  key: 0,
619
619
  type: "seq",
620
- field: I.dataIndex,
621
- width: I.width,
622
- title: I.title,
623
- sortable: I.sort,
624
- "header-align": I.headerAlign,
625
- "footer-align": I.footerAlign,
626
- align: I.align,
627
- "show-header-overflow": I.tooltip,
628
- "show-overflow": I.tooltip,
629
- fixed: I.fixed,
630
- "title-prefix": I.help,
631
- filters: I.filters,
632
- "filter-multiple": I.filterMultiple,
633
- "filter-method": I.filterMethod
620
+ field: U.dataIndex,
621
+ width: U.width,
622
+ title: U.title,
623
+ sortable: U.sort,
624
+ "header-align": U.headerAlign,
625
+ "footer-align": U.footerAlign,
626
+ align: U.align,
627
+ "show-header-overflow": U.tooltip,
628
+ "show-overflow": U.tooltip,
629
+ fixed: U.fixed,
630
+ "title-prefix": U.help,
631
+ filters: U.filters,
632
+ "filter-multiple": U.filterMultiple,
633
+ "filter-method": U.filterMethod
634
634
  }, null, 8, ["field", "width", "title", "sortable", "header-align", "footer-align", "align", "show-header-overflow", "show-overflow", "fixed", "title-prefix", "filters", "filter-multiple", "filter-method"])) : (m(), x(Ze, {
635
635
  key: 1,
636
- field: I.dataIndex,
637
- width: I.width,
638
- title: I.title,
639
- sortable: I.sort,
640
- "header-align": I.headerAlign,
641
- "footer-align": I.footerAlign,
642
- align: I.align,
643
- "show-header-overflow": I.tooltip,
644
- "show-overflow": I.tooltip,
645
- fixed: I.fixed,
646
- "title-prefix": I.help,
647
- filters: I.filters,
648
- "filter-multiple": I.filterMultiple,
649
- "filter-method": I.filterMethod,
650
- "edit-render": { enabled: Boolean(I.cell), placeholder: I.placeholder }
636
+ field: U.dataIndex,
637
+ width: U.width,
638
+ title: U.title,
639
+ sortable: U.sort,
640
+ "header-align": U.headerAlign,
641
+ "footer-align": U.footerAlign,
642
+ align: U.align,
643
+ "show-header-overflow": U.tooltip,
644
+ "show-overflow": U.tooltip,
645
+ fixed: U.fixed,
646
+ "title-prefix": U.help,
647
+ filters: U.filters,
648
+ "filter-multiple": U.filterMultiple,
649
+ "filter-method": U.filterMethod,
650
+ "edit-render": { enabled: Boolean(U.cell), placeholder: U.placeholder }
651
651
  }, Ft({ _: 2 }, [
652
- I.cell ? {
652
+ U.cell ? {
653
653
  name: "edit",
654
654
  fn: f(({ row: ye, rowIndex: Be, columnIndex: Ue }) => [
655
- Y(S.$slots, "cell", T({ ref_for: !0 }, g(I, ye, Be, Ue)), () => [
656
- a(I.cell) ? (m(), x(Ee(I.cell), T({
655
+ Y(O.$slots, "cell", I({ ref_for: !0 }, g(U, ye, Be, Ue)), () => [
656
+ a(U.cell) ? (m(), x(Ee(U.cell), I({
657
657
  key: 0,
658
658
  ref_for: !0
659
- }, h(I, ye, Be, Ue)), null, 16)) : (m(), z("span", {
659
+ }, b(U, ye, Be, Ue)), null, 16)) : (m(), z("span", {
660
660
  key: 1,
661
- style: se(_(st)(ye, I))
662
- }, le(_(Ne)(ye, I)), 5))
661
+ style: ie(_(st)(ye, U))
662
+ }, ne(_(Ne)(ye, U)), 5))
663
663
  ])
664
664
  ]),
665
665
  key: "0"
666
666
  } : void 0,
667
- I.cell && I.div ? {
667
+ U.cell && U.div ? {
668
668
  name: "default",
669
669
  fn: f(({ row: ye, rowIndex: Be, columnIndex: Ue }) => [
670
- Y(S.$slots, "cell", T({ ref_for: !0 }, g(I, ye, Be, Ue)), () => [
671
- a(I.cell) ? (m(), x(Ee(I.cell), T({
670
+ Y(O.$slots, "cell", I({ ref_for: !0 }, g(U, ye, Be, Ue)), () => [
671
+ a(U.cell) ? (m(), x(Ee(U.cell), I({
672
672
  key: 0,
673
673
  ref_for: !0
674
- }, h(I, ye, Be, Ue)), null, 16)) : (m(), z("span", {
674
+ }, b(U, ye, Be, Ue)), null, 16)) : (m(), z("span", {
675
675
  key: 1,
676
- style: se(_(st)(ye, I))
677
- }, le(_(Ne)(ye, I)), 5))
676
+ style: ie(_(st)(ye, U))
677
+ }, ne(_(Ne)(ye, U)), 5))
678
678
  ])
679
679
  ]),
680
680
  key: "1"
681
681
  } : {
682
682
  name: "default",
683
683
  fn: f(({ row: ye, rowIndex: Be }) => [
684
- l.option.skinRow && !I.cell ? (m(), z(ne, { key: 0 }, [
685
- Be > 0 && v(R.value, Be, I.dataIndex) && I.width ? (m(), z("span", tn, le(l.option.skinRowText), 1)) : (m(), z("span", {
684
+ l.option.skinRow && !U.cell ? (m(), z(te, { key: 0 }, [
685
+ Be > 0 && v(j.value, Be, U.dataIndex) && U.width ? (m(), z("span", tn, ne(l.option.skinRowText), 1)) : (m(), z("span", {
686
686
  key: 1,
687
- style: se(B(R.value, Be, I.dataIndex))
688
- }, le(_(Ne)(ye, I)), 5))
687
+ style: ie(B(j.value, Be, U.dataIndex))
688
+ }, ne(_(Ne)(ye, U)), 5))
689
689
  ], 64)) : (m(), z("span", {
690
690
  key: 1,
691
- style: se(_(st)(ye, I))
692
- }, le(_(Ne)(ye, I)), 5))
691
+ style: ie(_(st)(ye, U))
692
+ }, ne(_(Ne)(ye, U)), 5))
693
693
  ]),
694
694
  key: "2"
695
695
  }
@@ -700,10 +700,10 @@ const No = { class: "orc-table" }, qo = { class: "arco-card-header-title" }, Ko
700
700
  ]),
701
701
  _: 3
702
702
  }, 8, ["data", "height", "stripe", "row-config", "show-overflow", "show-header-overflow", "size", "loading", "radio-config", "checkbox-config", "header-cell-style", "border", "show-footer", "footer-method", "footer-cell-style", "cell-style", "merge-footer-items", "show-footer-overflow", "filter-config", "edit-rules", "scroll-y", "scroll-x", "onCheckboxChange", "onCheckboxAll", "onRadioChange", "onFooterCellClick"]),
703
- U.value && !l.hidePagination ? (m(), z("div", on, [
703
+ J.value && !l.hidePagination ? (m(), z("div", on, [
704
704
  i("div", nn, [
705
705
  i("div", un, [
706
- Y(S.$slots, "footer")
706
+ Y(O.$slots, "footer")
707
707
  ]),
708
708
  i("div", ln, [
709
709
  d(Dt, {
@@ -715,20 +715,20 @@ const No = { class: "orc-table" }, qo = { class: "arco-card-header-title" }, Ko
715
715
  d(Co, {
716
716
  current: k.value.page,
717
717
  "default-page-size": k.value.size,
718
- total: D.value,
718
+ total: S.value,
719
719
  "auto-adjust": !1,
720
720
  size: l.size,
721
721
  "show-total": "",
722
722
  "show-page-size": "",
723
723
  "page-size-options": F.value,
724
724
  onPageSizeChange: Se,
725
- onChange: W
725
+ onChange: M
726
726
  }, {
727
727
  total: f(() => [
728
- be.value.length ? (m(), z(ne, { key: 0 }, [
729
- P(" \u9009 " + le(be.value.length), 1)
728
+ be.value.length ? (m(), z(te, { key: 0 }, [
729
+ P(" \u9009 " + ne(be.value.length), 1)
730
730
  ], 64)) : L("", !0),
731
- P(" \u5171 " + le(D.value) + " \u6761 ", 1)
731
+ P(" \u5171 " + ne(S.value) + " \u6761 ", 1)
732
732
  ]),
733
733
  _: 1
734
734
  }, 8, ["current", "default-page-size", "total", "size", "page-size-options"])
@@ -762,7 +762,7 @@ const li = {
762
762
  var g;
763
763
  const s = a.getTableData()[r];
764
764
  if (!s.disabled && u.value) {
765
- const h = a.getRowKey();
765
+ const b = a.getRowKey();
766
766
  if (o.selectedType === "checkbox") {
767
767
  const E = u.value, { fullData: F } = E.getTableData();
768
768
  if (e.checkboxKey) {
@@ -770,9 +770,9 @@ const li = {
770
770
  $.length && E.setCheckboxRow($, !0);
771
771
  } else
772
772
  u.value.setCheckboxRow(s, !0);
773
- h && (n.value = ((g = u.value.getCheckboxRecords()) != null ? g : []).map((k) => k[h]));
773
+ b && (n.value = ((g = u.value.getCheckboxRecords()) != null ? g : []).map((k) => k[b]));
774
774
  }
775
- o.selectedType === "radio" && (u.value.setRadioRow(s), u.value.getRadioRecord() && h && (n.value = [u.value.getRadioRecord()].map((E) => E[h])));
775
+ o.selectedType === "radio" && (u.value.setRadioRow(s), u.value.getRadioRecord() && b && (n.value = [u.value.getRadioRecord()].map((E) => E[b])));
776
776
  }
777
777
  },
778
778
  setTableData(r) {
@@ -781,8 +781,8 @@ const li = {
781
781
  setTableRow(r, c, s) {
782
782
  if (u.value) {
783
783
  const g = a.getTableData();
784
- typeof c == "string" ? g[r][c] = s : Object.keys({ ...c }).forEach((h) => {
785
- g[r][h] = c[h];
784
+ typeof c == "string" ? g[r][c] = s : Object.keys({ ...c }).forEach((b) => {
785
+ g[r][b] = c[b];
786
786
  }), l.addKey(r), typeof e.footerMethod == "function" && u.value.updateFooter();
787
787
  }
788
788
  }
@@ -899,7 +899,7 @@ const ke = {
899
899
  top: "px",
900
900
  options: "select"
901
901
  };
902
- function fe() {
902
+ function pe() {
903
903
  const { children: e, models: t, config: n, remoteFuncs: o, selectPath: u } = Je(), a = () => ({ children: e.value });
904
904
  function l(F, k) {
905
905
  if (F) {
@@ -923,12 +923,12 @@ function fe() {
923
923
  A[C] = typeof A[C] != "object" ? { type: A[C], model: C } : A[C];
924
924
  }), Object.keys(k).forEach((C) => {
925
925
  var v, B;
926
- let b = { type: "string", model: C }, p = A[C] || pn[C] || typeof k[C];
927
- (!p || p === "undefined") && (p = "string"), typeof p == "object" ? b = { ...b, ...p } : b.type = p, A[C] = {
928
- ...b,
929
- show: b.show !== !1,
930
- tooltip: (v = k.tooltip) != null ? v : b.tooltip,
931
- options: (B = k.options) != null ? B : b.options
926
+ let h = { type: "string", model: C }, p = A[C] || pn[C] || typeof k[C];
927
+ (!p || p === "undefined") && (p = "string"), typeof p == "object" ? h = { ...h, ...p } : h.type = p, A[C] = {
928
+ ...h,
929
+ show: h.show !== !1,
930
+ tooltip: (v = k.tooltip) != null ? v : h.tooltip,
931
+ options: (B = k.options) != null ? B : h.options
932
932
  };
933
933
  }), A;
934
934
  }
@@ -944,16 +944,16 @@ function fe() {
944
944
  const k = He(), $ = (p) => {
945
945
  k.value = p;
946
946
  }, A = Q(() => r(F.value)), C = () => {
947
- var v, B, M;
947
+ var v, B, T;
948
948
  const p = A.value;
949
- p && p.model ? $((M = (B = t.value[p.model]) != null ? B : (v = p.options) == null ? void 0 : v.defaultValue) != null ? M : void 0) : $(void 0);
950
- }, b = () => {
949
+ p && p.model ? $((T = (B = t.value[p.model]) != null ? B : (v = p.options) == null ? void 0 : v.defaultValue) != null ? T : void 0) : $(void 0);
950
+ }, h = () => {
951
951
  const p = A.value;
952
952
  p && p.model && (t.value[p.model] = k.value);
953
953
  };
954
- return ie(F, C, { immediate: !0 }), ie(() => A.value && A.value.model && t.value[A.value.model], $), ie(k, (p) => {
954
+ return le(F, C, { immediate: !0 }), le(() => A.value && A.value.model && t.value[A.value.model], $), le(k, (p) => {
955
955
  const v = A.value;
956
- (v == null ? void 0 : v.model) && v.options && (v.options.defaultValue = p), b();
956
+ (v == null ? void 0 : v.model) && v.options && (v.options.defaultValue = p), h();
957
957
  }), [k];
958
958
  }, useWidgetOperation: () => {
959
959
  const F = (v, B) => {
@@ -968,49 +968,49 @@ function fe() {
968
968
  models: { ...t.value },
969
969
  remoteFuncs: { ...o.value }
970
970
  });
971
- function b(v) {
971
+ function h(v) {
972
972
  if (!v)
973
973
  return;
974
- const [B, M = 0] = at(v), j = r(B);
975
- j && Array.isArray(j) && (j.splice(M, 1), l(B, j), j.length > 0 && k(`${B}[${Math.min(M, j.length - 1)}]`));
974
+ const [B, T = 0] = at(v), R = r(B);
975
+ R && Array.isArray(R) && (R.splice(T, 1), l(B, R), R.length > 0 && k(`${B}[${Math.min(T, R.length - 1)}]`));
976
976
  }
977
977
  function p(v) {
978
978
  if (!v)
979
979
  return;
980
- const B = r(v), [M, j = 0] = at(v), O = r(M);
981
- if (B && O && Array.isArray(O)) {
980
+ const B = r(v), [T, R = 0] = at(v), D = r(T);
981
+ if (B && D && Array.isArray(D)) {
982
982
  const G = Pt(B, {});
983
- O.splice(j, 0, G), l(M, O), k(`${M}[${j + 1}]`);
983
+ D.splice(R, 0, G), l(T, D), k(`${T}[${R + 1}]`);
984
984
  }
985
985
  }
986
- return { setConfig: F, onSelected: k, hasSelected: $, onReset: A, toJson: C, onDelete: b, onCopy: p };
986
+ return { setConfig: F, onSelected: k, hasSelected: $, onReset: A, toJson: C, onDelete: h, onCopy: p };
987
987
  }, useDraggableOperation: (F) => {
988
- function k(b) {
988
+ function k(h) {
989
989
  if (!(F != null && F.value))
990
990
  return {};
991
- const { originalEvent: p } = b, { clientX: v, clientY: B } = p, { top: M, left: j } = F.value.getBoundingClientRect();
992
- return { left: `${v - j}px`, top: `${B - M}px` };
991
+ const { originalEvent: p } = h, { clientX: v, clientY: B } = p, { top: T, left: R } = F.value.getBoundingClientRect();
992
+ return { left: `${v - R}px`, top: `${B - T}px` };
993
993
  }
994
- const $ = (b, p) => {
995
- l(b, p), u.value = b;
994
+ const $ = (h, p) => {
995
+ l(h, p), u.value = h;
996
996
  };
997
- function A(b, p = null) {
998
- var j, O;
999
- if (!b)
997
+ function A(h, p = null) {
998
+ var R, D;
999
+ if (!h)
1000
1000
  return;
1001
- const v = b.newIndex, B = ft(p ? (O = (j = r(p)) == null ? void 0 : j.children) != null ? O : [] : e.value);
1002
- B[v] = Pt(B[v], { options: k(b) }), B[v].children && (B[v] = { ...B[v], children: [...B[v].children] });
1003
- const M = $e(p, v);
1004
- $(`${M}`, B[v]);
1001
+ const v = h.newIndex, B = ft(p ? (D = (R = r(p)) == null ? void 0 : R.children) != null ? D : [] : e.value);
1002
+ B[v] = Pt(B[v], { options: k(h) }), B[v].children && (B[v] = { ...B[v], children: [...B[v].children] });
1003
+ const T = $e(p, v);
1004
+ $(`${T}`, B[v]);
1005
1005
  }
1006
- function C(b, p = null) {
1007
- var j, O;
1008
- if (!b)
1006
+ function C(h, p = null) {
1007
+ var R, D;
1008
+ if (!h)
1009
1009
  return;
1010
- const v = b.newIndex, B = ft(p ? (O = (j = r(p)) == null ? void 0 : j.children) != null ? O : [] : e.value);
1011
- B[v].options = { ...B[v].options, ...k(b) };
1012
- const M = $e(p, v);
1013
- $(`${M}`, B[v]);
1010
+ const v = h.newIndex, B = ft(p ? (D = (R = r(p)) == null ? void 0 : R.children) != null ? D : [] : e.value);
1011
+ B[v].options = { ...B[v].options, ...k(h) };
1012
+ const T = $e(p, v);
1013
+ $(`${T}`, B[v]);
1014
1014
  }
1015
1015
  return {
1016
1016
  onAddWidget: A,
@@ -1166,7 +1166,7 @@ async function vn(e, { concurrency: t = 3, delayTime: n = 3 } = {}) {
1166
1166
  return await Promise.all(l), o;
1167
1167
  }
1168
1168
  async function _n(e, t, n) {
1169
- var h;
1169
+ var b;
1170
1170
  if (!t)
1171
1171
  throw new Error("downLoadPdf not element");
1172
1172
  const o = `${e || "\u65B0\u5EFA PDF\u6587\u6863"}.pdf`;
@@ -1180,7 +1180,7 @@ async function _n(e, t, n) {
1180
1180
  function s() {
1181
1181
  c += 1, typeof (n == null ? void 0 : n.progress) == "function" && n.progress(c, r.length);
1182
1182
  }
1183
- const g = (h = n == null ? void 0 : n.paddingBuffer) != null ? h : 5;
1183
+ const g = (b = n == null ? void 0 : n.paddingBuffer) != null ? b : 5;
1184
1184
  r.forEach((E, F) => {
1185
1185
  F > 0 && a.addPage();
1186
1186
  const k = E.width / 210, $ = E.height / k;
@@ -1217,7 +1217,7 @@ const bn = ["src", "onerror"], jt = "data:image/gif;base64,R0lGODlhAQABAAAAACH5B
1217
1217
  isEdit: { type: Boolean }
1218
1218
  },
1219
1219
  setup(e) {
1220
- const t = e, { path: n } = De(t), { useField: o, getWidget: u } = fe(), a = Q(() => u(n.value)), [l] = o(n), r = Q(() => {
1220
+ const t = e, { path: n } = De(t), { useField: o, getWidget: u } = pe(), a = Q(() => u(n.value)), [l] = o(n), r = Q(() => {
1221
1221
  var s;
1222
1222
  return (s = a == null ? void 0 : a.value) == null ? void 0 : s.options;
1223
1223
  });
@@ -1228,14 +1228,14 @@ const bn = ["src", "onerror"], jt = "data:image/gif;base64,R0lGODlhAQABAAAAACH5B
1228
1228
  return "";
1229
1229
  try {
1230
1230
  return yn({ ...s, defaultValue: l == null ? void 0 : l.value });
1231
- } catch (h) {
1232
- return console.error(String(h)), jt;
1231
+ } catch (b) {
1232
+ return console.error(String(b)), jt;
1233
1233
  }
1234
1234
  }
1235
1235
  return (s, g) => r.value ? (m(), z("img", {
1236
1236
  key: 0,
1237
1237
  src: c(),
1238
- style: se({ display: "block", background: "#fff", width: r.value.width + "px", height: r.value.height + "px" }),
1238
+ style: ie({ display: "block", background: "#fff", width: r.value.width + "px", height: r.value.height + "px" }),
1239
1239
  draggable: "false",
1240
1240
  onerror: `this.src='${jt}'`
1241
1241
  }, null, 12, bn)) : L("", !0);
@@ -1259,11 +1259,11 @@ const bn = ["src", "onerror"], jt = "data:image/gif;base64,R0lGODlhAQABAAAAACH5B
1259
1259
  isView: { type: Boolean }
1260
1260
  },
1261
1261
  setup(e) {
1262
- const t = e, { getWidget: n, useDraggableOperation: o } = fe(), u = Q(() => n(t.path)), { onAddWidget: a } = o(), l = (r, c, s) => {
1262
+ const t = e, { getWidget: n, useDraggableOperation: o } = pe(), u = Q(() => n(t.path)), { onAddWidget: a } = o(), l = (r, c, s) => {
1263
1263
  var g;
1264
1264
  return t.isView ? !0 : ((g = s == null ? void 0 : s.dataset) == null ? void 0 : g.category) === "basic";
1265
1265
  };
1266
- return (r, c) => u.value && u.value.children ? (m(), x(_(Ge), T({
1266
+ return (r, c) => u.value && u.value.children ? (m(), x(_(Ge), I({
1267
1267
  key: 0,
1268
1268
  list: u.value.children,
1269
1269
  class: { "fe--widget-list": !0, "fe--widget-list--border": t.isEdit },
@@ -1298,7 +1298,7 @@ const bn = ["src", "onerror"], jt = "data:image/gif;base64,R0lGODlhAQABAAAAACH5B
1298
1298
  isEdit: { type: Boolean }
1299
1299
  },
1300
1300
  setup(e) {
1301
- const t = e, { getWidget: n } = fe(), o = Q(() => n(t.path));
1301
+ const t = e, { getWidget: n } = pe(), o = Q(() => n(t.path));
1302
1302
  return (u, a) => {
1303
1303
  const l = y("ACard");
1304
1304
  return o.value && o.value.children ? (m(), x(l, {
@@ -1328,7 +1328,7 @@ const bn = ["src", "onerror"], jt = "data:image/gif;base64,R0lGODlhAQABAAAAACH5B
1328
1328
  isEdit: { type: Boolean }
1329
1329
  },
1330
1330
  setup(e) {
1331
- const t = e, { getWidget: n } = fe(), o = Q(() => n(t.path));
1331
+ const t = e, { getWidget: n } = pe(), o = Q(() => n(t.path));
1332
1332
  return (u, a) => {
1333
1333
  const l = y("ACard");
1334
1334
  return o.value && o.value.children ? (m(), x(l, {
@@ -1368,7 +1368,7 @@ const bn = ["src", "onerror"], jt = "data:image/gif;base64,R0lGODlhAQABAAAAACH5B
1368
1368
  isEdit: { type: Boolean }
1369
1369
  },
1370
1370
  setup(e) {
1371
- const t = e, { getWidget: n } = fe(), o = Q(() => n(t.path));
1371
+ const t = e, { getWidget: n } = pe(), o = Q(() => n(t.path));
1372
1372
  return (u, a) => {
1373
1373
  const l = y("a-col"), r = y("a-row");
1374
1374
  return o.value && o.value.key && o.value.children ? (m(), x(r, {
@@ -1376,7 +1376,7 @@ const bn = ["src", "onerror"], jt = "data:image/gif;base64,R0lGODlhAQABAAAAACH5B
1376
1376
  gutter: 8
1377
1377
  }, {
1378
1378
  default: f(() => [
1379
- (m(!0), z(ne, null, pe(o.value.children, (c, s) => (m(), x(l, {
1379
+ (m(!0), z(te, null, ce(o.value.children, (c, s) => (m(), x(l, {
1380
1380
  key: s,
1381
1381
  span: 12
1382
1382
  }, {
@@ -1403,10 +1403,10 @@ const bn = ["src", "onerror"], jt = "data:image/gif;base64,R0lGODlhAQABAAAAACH5B
1403
1403
  isEdit: { type: Boolean }
1404
1404
  },
1405
1405
  setup(e) {
1406
- const t = e, { getWidget: n } = fe(), o = Q(() => n(t.path));
1406
+ const t = e, { getWidget: n } = pe(), o = Q(() => n(t.path));
1407
1407
  return (u, a) => o.value && o.value.options ? (m(), z("div", {
1408
1408
  key: 0,
1409
- style: se(o.value.options)
1409
+ style: ie(o.value.options)
1410
1410
  }, null, 4)) : L("", !0);
1411
1411
  }
1412
1412
  }), Sn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -1419,13 +1419,13 @@ const bn = ["src", "onerror"], jt = "data:image/gif;base64,R0lGODlhAQABAAAAACH5B
1419
1419
  isEdit: { type: Boolean }
1420
1420
  },
1421
1421
  setup(e) {
1422
- const t = e, { path: n } = De(t), { useField: o, getWidget: u } = fe(), a = Q(() => u(n.value)), [l] = o(n);
1422
+ const t = e, { path: n } = De(t), { useField: o, getWidget: u } = pe(), a = Q(() => u(n.value)), [l] = o(n);
1423
1423
  return (r, c) => {
1424
1424
  var s;
1425
1425
  return a.value && a.value.options && a.value.model ? (m(), z("img", {
1426
1426
  key: 0,
1427
1427
  src: (s = _(l)) != null ? s : Mt,
1428
- style: se({ width: a.value.options.width, height: a.value.options.height }),
1428
+ style: ie({ width: a.value.options.width, height: a.value.options.height }),
1429
1429
  alt: a.value.name,
1430
1430
  draggable: "false",
1431
1431
  onerror: `this.src='${Mt}'`
@@ -1445,7 +1445,7 @@ const bn = ["src", "onerror"], jt = "data:image/gif;base64,R0lGODlhAQABAAAAACH5B
1445
1445
  isEdit: { type: Boolean }
1446
1446
  },
1447
1447
  setup(e) {
1448
- const t = e, { getWidget: n, useDraggableOperation: o } = fe(), u = Q(() => n(t.path)), { onAddWidget: a } = o(), l = (r, c, s) => {
1448
+ const t = e, { getWidget: n, useDraggableOperation: o } = pe(), u = Q(() => n(t.path)), { onAddWidget: a } = o(), l = (r, c, s) => {
1449
1449
  var g;
1450
1450
  return ((g = s == null ? void 0 : s.dataset) == null ? void 0 : g.category) === "basic";
1451
1451
  };
@@ -1470,18 +1470,18 @@ const bn = ["src", "onerror"], jt = "data:image/gif;base64,R0lGODlhAQABAAAAACH5B
1470
1470
  _: 1
1471
1471
  }),
1472
1472
  i("div", Rn, [
1473
- d(_(Ge), T({
1473
+ d(_(Ge), I({
1474
1474
  list: u.value.children,
1475
1475
  class: { "fe--widget-list": !0, "fe--widget-list--border": t.isEdit },
1476
1476
  style: { paddingBottom: "0px", minHeight: "50px" },
1477
1477
  disabled: !t.isEdit,
1478
1478
  group: { name: "orchisky", put: l }
1479
1479
  }, _(ke), {
1480
- onAdd: c[0] || (c[0] = (h) => _(a)(h, t.path))
1480
+ onAdd: c[0] || (c[0] = (b) => _(a)(b, t.path))
1481
1481
  }), {
1482
- item: f(({ index: h }) => [
1482
+ item: f(({ index: b }) => [
1483
1483
  d(Qe, {
1484
- path: _($e)(t.path, h),
1484
+ path: _($e)(t.path, b),
1485
1485
  "is-edit": t.isEdit
1486
1486
  }, null, 8, ["path", "is-edit"])
1487
1487
  ]),
@@ -1503,7 +1503,7 @@ const Mn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1503
1503
  isEdit: { type: Boolean }
1504
1504
  },
1505
1505
  setup(e) {
1506
- const t = e, { path: n } = De(t), { getWidget: o } = fe(), u = Q(() => o(n.value)), a = Q(() => {
1506
+ const t = e, { path: n } = De(t), { getWidget: o } = pe(), u = Q(() => o(n.value)), a = Q(() => {
1507
1507
  var r, c;
1508
1508
  return (c = (r = u == null ? void 0 : u.value) == null ? void 0 : r.options) != null ? c : {};
1509
1509
  }), l = Q(() => {
@@ -1517,10 +1517,10 @@ const Mn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1517
1517
  });
1518
1518
  return (r, c) => u.value && a.value ? (m(), z("table", {
1519
1519
  key: 0,
1520
- style: se([l.value, { width: "100%", height: "100%", "table-layout": "fixed", "border-collapse": "collapse" }])
1520
+ style: ie([l.value, { width: "100%", height: "100%", "table-layout": "fixed", "border-collapse": "collapse" }])
1521
1521
  }, [
1522
- (m(!0), z(ne, null, pe(a.value.rowspan, (s) => (m(), z("tr", { key: s }, [
1523
- (m(!0), z(ne, null, pe(a.value.colspan, (g) => (m(), z("td", {
1522
+ (m(!0), z(te, null, ce(a.value.rowspan, (s) => (m(), z("tr", { key: s }, [
1523
+ (m(!0), z(te, null, ce(a.value.colspan, (g) => (m(), z("td", {
1524
1524
  key: g,
1525
1525
  style: { border: "1px solid #000" }
1526
1526
  }))), 128))
@@ -1537,7 +1537,7 @@ const Mn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1537
1537
  isEdit: { type: Boolean }
1538
1538
  },
1539
1539
  setup(e) {
1540
- const t = e, { path: n } = De(t), { useField: o, getWidget: u } = fe(), a = Q(() => u(n.value)), [l] = o(n), r = Q(() => {
1540
+ const t = e, { path: n } = De(t), { useField: o, getWidget: u } = pe(), a = Q(() => u(n.value)), [l] = o(n), r = Q(() => {
1541
1541
  var s;
1542
1542
  return (s = a == null ? void 0 : a.value) == null ? void 0 : s.options;
1543
1543
  }), c = Q(() => {
@@ -1551,8 +1551,8 @@ const Mn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1551
1551
  });
1552
1552
  return (s, g) => a.value ? (m(), z("div", {
1553
1553
  key: 0,
1554
- style: se(c.value)
1555
- }, le(a.value.name) + " " + le(_(l)), 5)) : L("", !0);
1554
+ style: ie(c.value)
1555
+ }, ne(a.value.name) + " " + ne(_(l)), 5)) : L("", !0);
1556
1556
  }
1557
1557
  }), Un = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1558
1558
  __proto__: null,
@@ -1564,9 +1564,9 @@ const Mn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1564
1564
  isEdit: { type: Boolean }
1565
1565
  },
1566
1566
  setup(e) {
1567
- const t = e, { path: n } = De(t), { config: o } = Je(), { useField: u, getWidget: a } = fe(), l = Q(() => a(n.value)), [r] = u(n), c = Q(() => {
1568
- var h, E, F, k, $;
1569
- return ((h = l.value) == null ? void 0 : h.options) ? {
1567
+ const t = e, { path: n } = De(t), { config: o } = Je(), { useField: u, getWidget: a } = pe(), l = Q(() => a(n.value)), [r] = u(n), c = Q(() => {
1568
+ var b, E, F, k, $;
1569
+ return ((b = l.value) == null ? void 0 : b.options) ? {
1570
1570
  field: l.value.model,
1571
1571
  label: l.value.name,
1572
1572
  rules: l.value.rules || ((E = l.value.options) != null && E.required ? [{ required: !0, message: `\u8BF7\u8F93\u5165${l.value.name}` }] : []),
@@ -1574,8 +1574,8 @@ const Mn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1574
1574
  labelColFlex: ($ = (k = l.value.options) == null ? void 0 : k.labelWidth) != null ? $ : o.value.labelWidth
1575
1575
  } : {};
1576
1576
  }), s = Q(() => {
1577
- var h;
1578
- const g = (h = l.value) == null ? void 0 : h.options;
1577
+ var b;
1578
+ const g = (b = l.value) == null ? void 0 : b.options;
1579
1579
  return g ? {
1580
1580
  size: "small",
1581
1581
  placeholder: g.placeholder,
@@ -1584,13 +1584,13 @@ const Mn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1584
1584
  style: { width: "100%" }
1585
1585
  } : {};
1586
1586
  });
1587
- return (g, h) => {
1587
+ return (g, b) => {
1588
1588
  const E = y("AFormItem");
1589
- return l.value ? (m(), x(E, xe(T({ key: 0 }, c.value)), {
1589
+ return l.value ? (m(), x(E, xe(I({ key: 0 }, c.value)), {
1590
1590
  default: f(() => [
1591
- (m(), x(Ee(l.value.type), T({
1591
+ (m(), x(Ee(l.value.type), I({
1592
1592
  modelValue: _(r),
1593
- "onUpdate:modelValue": h[0] || (h[0] = (F) => Ct(r) ? r.value = F : null),
1593
+ "onUpdate:modelValue": b[0] || (b[0] = (F) => Ct(r) ? r.value = F : null),
1594
1594
  size: "small"
1595
1595
  }, s.value), null, 16, ["modelValue"]))
1596
1596
  ]),
@@ -1619,10 +1619,10 @@ const qn = {
1619
1619
  isEdit: { type: Boolean }
1620
1620
  },
1621
1621
  setup(e) {
1622
- const t = e, { useWidgetOperation: n } = fe(), { onDelete: o, onSelected: u, hasSelected: a, onCopy: l } = n(), { getWidget: r, getWidgetProperty: c } = fe(), s = Q(() => r(t.path)), g = () => {
1622
+ const t = e, { useWidgetOperation: n } = pe(), { onDelete: o, onSelected: u, hasSelected: a, onCopy: l } = n(), { getWidget: r, getWidgetProperty: c } = pe(), s = Q(() => r(t.path)), g = () => {
1623
1623
  var C;
1624
1624
  return ((C = s.value) == null ? void 0 : C.category) === "only";
1625
- }, h = () => a(t.path);
1625
+ }, b = () => a(t.path);
1626
1626
  function E(C) {
1627
1627
  return { "data-type": C.type, "data-category": C.category };
1628
1628
  }
@@ -1634,11 +1634,11 @@ const qn = {
1634
1634
  height: C.options.height,
1635
1635
  left: C.options.left,
1636
1636
  top: C.options.top,
1637
- zIndex: h() ? "9" : "2"
1637
+ zIndex: b() ? "9" : "2"
1638
1638
  };
1639
1639
  }
1640
1640
  function k(C = !1) {
1641
- return { "fe--widget-view": !0, "is-selected": h(), "fe--widget-view-fixed": C };
1641
+ return { "fe--widget-view": !0, "is-selected": b(), "fe--widget-view-fixed": C };
1642
1642
  }
1643
1643
  function $(C = !1) {
1644
1644
  return t.isEdit ? { "fe--widget-item": !0, "fe-cl": !0, "fe--widget-item-fixed": C } : {};
@@ -1646,26 +1646,26 @@ const qn = {
1646
1646
  function A() {
1647
1647
  return t.isEdit ? {} : F();
1648
1648
  }
1649
- return (C, b) => {
1649
+ return (C, h) => {
1650
1650
  const p = y("icon-drag-dot-vertical"), v = y("icon-copy"), B = y("icon-delete");
1651
- return s.value ? (m(), z("div", T({ key: 0 }, E(s.value), {
1651
+ return s.value ? (m(), z("div", I({ key: 0 }, E(s.value), {
1652
1652
  class: $(s.value.fixed),
1653
1653
  style: A()
1654
1654
  }), [
1655
1655
  t.isEdit ? (m(), z("div", {
1656
1656
  key: 0,
1657
- style: se(F()),
1658
- class: ce(k(s.value.fixed)),
1659
- onClick: b[3] || (b[3] = je((M) => _(u)(t.path), ["stop"]))
1657
+ style: ie(F()),
1658
+ class: de(k(s.value.fixed)),
1659
+ onClick: h[3] || (h[3] = je((T) => _(u)(t.path), ["stop"]))
1660
1660
  }, [
1661
- h() ? (m(), z("div", {
1661
+ b() ? (m(), z("div", {
1662
1662
  key: 0,
1663
1663
  class: "fe--widget-tool",
1664
- onClick: b[2] || (b[2] = je(() => {
1664
+ onClick: h[2] || (h[2] = je(() => {
1665
1665
  }, ["stop"]))
1666
1666
  }, [
1667
1667
  i("div", {
1668
- class: ce(["fe--widget-tool-lt", { "fe-moving": !g() }])
1668
+ class: de(["fe--widget-tool-lt", { "fe-moving": !g() }])
1669
1669
  }, [
1670
1670
  g() ? L("", !0) : (m(), z("span", qn, [
1671
1671
  d(p)
@@ -1674,21 +1674,21 @@ const qn = {
1674
1674
  g() ? L("", !0) : (m(), z("div", Kn, [
1675
1675
  i("span", {
1676
1676
  class: "fe--widget-tool-btn",
1677
- onClick: b[0] || (b[0] = (M) => _(l)(t.path))
1677
+ onClick: h[0] || (h[0] = (T) => _(l)(t.path))
1678
1678
  }, [
1679
1679
  d(v)
1680
1680
  ]),
1681
1681
  _(c)(t.path).isDelete ? (m(), z("span", {
1682
1682
  key: 0,
1683
1683
  class: "fe--widget-tool-btn",
1684
- onClick: b[1] || (b[1] = (M) => _(o)(t.path))
1684
+ onClick: h[1] || (h[1] = (T) => _(o)(t.path))
1685
1685
  }, [
1686
1686
  d(B)
1687
1687
  ])) : L("", !0)
1688
1688
  ]))
1689
1689
  ])) : L("", !0),
1690
1690
  (m(), x(Ee(_(Tt)(s.value.type)), xe(lt(t)), null, 16))
1691
- ], 6)) : (m(), x(Ee(_(Tt)(s.value.type)), xe(T({ key: 1 }, t)), null, 16))
1691
+ ], 6)) : (m(), x(Ee(_(Tt)(s.value.type)), xe(I({ key: 1 }, t)), null, 16))
1692
1692
  ], 16)) : L("", !0);
1693
1693
  };
1694
1694
  }
@@ -1698,10 +1698,10 @@ const qn = {
1698
1698
  isEdit: { type: Boolean, default: !1 }
1699
1699
  },
1700
1700
  setup(e) {
1701
- const t = e, { useDraggableOperation: n } = fe(), o = q(), { onAddWidget: u, onUpdateWidget: a } = n(o), { children: l, config: r, models: c } = Je();
1701
+ const t = e, { useDraggableOperation: n } = pe(), o = q(), { onAddWidget: u, onUpdateWidget: a } = n(o), { children: l, config: r, models: c } = Je();
1702
1702
  return (s, g) => {
1703
- const h = y("AForm");
1704
- return m(), x(h, {
1703
+ const b = y("AForm");
1704
+ return m(), x(b, {
1705
1705
  class: "fe--widget-form",
1706
1706
  model: _(c),
1707
1707
  "label-col-props": { flex: _(r).labelWidth },
@@ -1714,9 +1714,9 @@ const qn = {
1714
1714
  i("div", {
1715
1715
  ref_key: "form$",
1716
1716
  ref: o,
1717
- style: se([{ display: "block", height: "100%", "min-height": "0", "box-shadow": "0 0 5px rgba(0, 0, 0, 0.08)" }, { width: `${_(r).width}`, height: `${_(r).height}`, margin: "0 auto" }])
1717
+ style: ie([{ display: "block", height: "100%", "min-height": "0", "box-shadow": "0 0 5px rgba(0, 0, 0, 0.08)" }, { width: `${_(r).width}`, height: `${_(r).height}`, margin: "0 auto" }])
1718
1718
  }, [
1719
- d(_(Ge), T({
1719
+ d(_(Ge), I({
1720
1720
  modelValue: _(l),
1721
1721
  "onUpdate:modelValue": g[0] || (g[0] = (E) => Ct(l) ? l.value = E : null),
1722
1722
  class: { "fe--widget-content": !0, "fe--widget-list": !0, "fe--widget-list--border": t.isEdit },
@@ -1755,18 +1755,18 @@ function io() {
1755
1755
  }
1756
1756
  const u = (r) => r.name || "[\u672A\u547D\u540D]", a = Q(() => {
1757
1757
  const r = [], c = (s, g) => {
1758
- s.forEach((h, E) => {
1758
+ s.forEach((b, E) => {
1759
1759
  var k;
1760
1760
  const F = $e(g != null ? g : null, E);
1761
- h.model && r.push({ ...h, key: F, title: u(h) }), (k = h.children) != null && k.length && c(h.children, F);
1761
+ b.model && r.push({ ...b, key: F, title: u(b) }), (k = b.children) != null && k.length && c(b.children, F);
1762
1762
  });
1763
1763
  };
1764
1764
  return c(n().children), r;
1765
1765
  }), l = Q(() => {
1766
1766
  if (t.value) {
1767
1767
  const r = String(t.value).split("."), c = [];
1768
- return r.reduce((s, g, h) => {
1769
- const E = [...r].slice(-h).join("."), F = o(E);
1768
+ return r.reduce((s, g, b) => {
1769
+ const E = [...r].slice(-b).join("."), F = o(E);
1770
1770
  return F && s.push({ ...F, path: E, name: u(F) }), s;
1771
1771
  }, c).reverse();
1772
1772
  }
@@ -1781,16 +1781,16 @@ const Ln = { class: "u-h u-card" }, Hn = { class: "u-card__hd u-aside__hd" }, Gn
1781
1781
  __name: "main",
1782
1782
  emits: ["save"],
1783
1783
  setup(e, { emit: t }) {
1784
- const { useWidgetOperation: n } = fe(), { selectedArrayWidget: o } = io(), { setConfig: u, toJson: a, onSelected: l, onReset: r } = n(), c = q(!1);
1784
+ const { useWidgetOperation: n } = pe(), { selectedArrayWidget: o } = io(), { setConfig: u, toJson: a, onSelected: l, onReset: r } = n(), c = q(!1);
1785
1785
  function s([k, $]) {
1786
1786
  u("width", k), u("height", $);
1787
1787
  }
1788
1788
  function g(k) {
1789
1789
  k === "A4" && s(["210mm", "297mm"]), k === "PC" && s(["1920px", "1080px"]), k === "Auto" && s(["100%", "100%"]), k === "Mobile" && s(["375px", "100%"]);
1790
1790
  }
1791
- const h = t;
1791
+ const b = t;
1792
1792
  function E() {
1793
- h("save", a());
1793
+ b("save", a());
1794
1794
  }
1795
1795
  function F() {
1796
1796
  Ht.warning({
@@ -1807,7 +1807,7 @@ const Ln = { class: "u-h u-card" }, Hn = { class: "u-card__hd u-aside__hd" }, Gn
1807
1807
  });
1808
1808
  }
1809
1809
  return (k, $) => {
1810
- const A = y("icon-desktop"), C = y("a-button"), b = y("icon-computer"), p = y("icon-drive-file"), v = y("icon-mobile"), B = y("a-space"), M = y("icon-save"), j = y("icon-eye"), O = y("icon-eraser"), G = y("icon-right"), U = y("a-link"), K = y("a-breadcrumb-item"), w = y("a-breadcrumb"), D = y("a-drawer");
1810
+ const A = y("icon-desktop"), C = y("a-button"), h = y("icon-computer"), p = y("icon-drive-file"), v = y("icon-mobile"), B = y("a-space"), T = y("icon-save"), R = y("icon-eye"), D = y("icon-eraser"), G = y("icon-right"), J = y("a-link"), K = y("a-breadcrumb-item"), w = y("a-breadcrumb"), S = y("a-drawer");
1811
1811
  return m(), z("div", Ln, [
1812
1812
  i("div", Hn, [
1813
1813
  i("div", Gn, [
@@ -1818,7 +1818,7 @@ const Ln = { class: "u-h u-card" }, Hn = { class: "u-card__hd u-aside__hd" }, Gn
1818
1818
  d(C, {
1819
1819
  size: "mini",
1820
1820
  title: "\u81EA\u52A8",
1821
- onClick: $[0] || ($[0] = (R) => g("Auto"))
1821
+ onClick: $[0] || ($[0] = (j) => g("Auto"))
1822
1822
  }, {
1823
1823
  icon: f(() => [
1824
1824
  d(A, { size: 14 })
@@ -1828,17 +1828,17 @@ const Ln = { class: "u-h u-card" }, Hn = { class: "u-card__hd u-aside__hd" }, Gn
1828
1828
  d(C, {
1829
1829
  size: "mini",
1830
1830
  title: " \u62A5\u8868",
1831
- onClick: $[1] || ($[1] = (R) => g("PC"))
1831
+ onClick: $[1] || ($[1] = (j) => g("PC"))
1832
1832
  }, {
1833
1833
  icon: f(() => [
1834
- d(b, { size: 14 })
1834
+ d(h, { size: 14 })
1835
1835
  ]),
1836
1836
  _: 1
1837
1837
  }),
1838
1838
  d(C, {
1839
1839
  title: "A4",
1840
1840
  size: "mini",
1841
- onClick: $[2] || ($[2] = (R) => g("A4"))
1841
+ onClick: $[2] || ($[2] = (j) => g("A4"))
1842
1842
  }, {
1843
1843
  icon: f(() => [
1844
1844
  d(p, { size: 14 })
@@ -1848,7 +1848,7 @@ const Ln = { class: "u-h u-card" }, Hn = { class: "u-card__hd u-aside__hd" }, Gn
1848
1848
  d(C, {
1849
1849
  size: "mini",
1850
1850
  title: "\u624B\u673A",
1851
- onClick: $[3] || ($[3] = (R) => g("Mobile"))
1851
+ onClick: $[3] || ($[3] = (j) => g("Mobile"))
1852
1852
  }, {
1853
1853
  icon: f(() => [
1854
1854
  d(v, { size: 14 })
@@ -1866,30 +1866,30 @@ const Ln = { class: "u-h u-card" }, Hn = { class: "u-card__hd u-aside__hd" }, Gn
1866
1866
  d(C, {
1867
1867
  size: "mini",
1868
1868
  title: "\u4FDD\u5B58",
1869
- onClick: $[4] || ($[4] = (R) => E())
1869
+ onClick: $[4] || ($[4] = (j) => E())
1870
1870
  }, {
1871
1871
  icon: f(() => [
1872
- d(M, { size: 14 })
1872
+ d(T, { size: 14 })
1873
1873
  ]),
1874
1874
  _: 1
1875
1875
  }),
1876
1876
  d(C, {
1877
1877
  size: "mini",
1878
1878
  title: "\u9884\u89C8",
1879
- onClick: $[5] || ($[5] = (R) => c.value = !0)
1879
+ onClick: $[5] || ($[5] = (j) => c.value = !0)
1880
1880
  }, {
1881
1881
  icon: f(() => [
1882
- d(j, { size: 14 })
1882
+ d(R, { size: 14 })
1883
1883
  ]),
1884
1884
  _: 1
1885
1885
  }),
1886
1886
  d(C, {
1887
1887
  size: "mini",
1888
1888
  title: "\u6E05\u7A7A",
1889
- onClick: $[6] || ($[6] = (R) => F())
1889
+ onClick: $[6] || ($[6] = (j) => F())
1890
1890
  }, {
1891
1891
  icon: f(() => [
1892
- d(O, { size: 14 })
1892
+ d(D, { size: 14 })
1893
1893
  ]),
1894
1894
  _: 1
1895
1895
  })
@@ -1912,11 +1912,11 @@ const Ln = { class: "u-h u-card" }, Hn = { class: "u-card__hd u-aside__hd" }, Gn
1912
1912
  d(G)
1913
1913
  ]),
1914
1914
  default: f(() => {
1915
- var R;
1915
+ var j;
1916
1916
  return [
1917
1917
  d(K, null, {
1918
1918
  default: f(() => [
1919
- d(U, null, {
1919
+ d(J, null, {
1920
1920
  default: f(() => $[9] || ($[9] = [
1921
1921
  P("\u7ED3\u6784\u5BFC\u822A")
1922
1922
  ])),
@@ -1925,14 +1925,14 @@ const Ln = { class: "u-h u-card" }, Hn = { class: "u-card__hd u-aside__hd" }, Gn
1925
1925
  ]),
1926
1926
  _: 1
1927
1927
  }),
1928
- (R = _(o)) != null && R.length ? (m(!0), z(ne, { key: 0 }, pe(_(o), (oe, me) => (m(), x(K, { key: me }, {
1928
+ (j = _(o)) != null && j.length ? (m(!0), z(te, { key: 0 }, ce(_(o), (ue, fe) => (m(), x(K, { key: fe }, {
1929
1929
  default: f(() => [
1930
- oe ? (m(), x(U, {
1930
+ ue ? (m(), x(J, {
1931
1931
  key: 0,
1932
- onClick: (be) => _(l)(oe.path)
1932
+ onClick: (be) => _(l)(ue.path)
1933
1933
  }, {
1934
1934
  default: f(() => [
1935
- P(le(oe.name), 1)
1935
+ P(ne(ue.name), 1)
1936
1936
  ]),
1937
1937
  _: 2
1938
1938
  }, 1032, ["onClick"])) : L("", !0)
@@ -1945,9 +1945,9 @@ const Ln = { class: "u-h u-card" }, Hn = { class: "u-card__hd u-aside__hd" }, Gn
1945
1945
  })
1946
1946
  ])
1947
1947
  ]),
1948
- d(D, {
1948
+ d(S, {
1949
1949
  visible: c.value,
1950
- "onUpdate:visible": $[8] || ($[8] = (R) => c.value = R),
1950
+ "onUpdate:visible": $[8] || ($[8] = (j) => c.value = j),
1951
1951
  placement: "bottom",
1952
1952
  height: "80%",
1953
1953
  footer: !1,
@@ -1995,7 +1995,7 @@ const tu = { class: "u-card u-h" }, ou = {
1995
1995
  function l(r) {
1996
1996
  u.value = r, n("update:tab-index", u.value);
1997
1997
  }
1998
- return ie(
1998
+ return le(
1999
1999
  () => o.tabIndex,
2000
2000
  (r) => {
2001
2001
  u.value = r;
@@ -2003,14 +2003,14 @@ const tu = { class: "u-card u-h" }, ou = {
2003
2003
  ), (r, c) => (m(), z("div", tu, [
2004
2004
  i("div", ou, [
2005
2005
  i("div", nu, [
2006
- (m(!0), z(ne, null, pe(o.list, (s, g) => (m(), z("div", {
2006
+ (m(!0), z(te, null, ce(o.list, (s, g) => (m(), z("div", {
2007
2007
  key: g,
2008
2008
  class: "u-tabs__item",
2009
- onClick: (h) => l(g)
2009
+ onClick: (b) => l(g)
2010
2010
  }, [
2011
2011
  i("div", {
2012
- class: ce(["u-tabs__link", a(g)])
2013
- }, le(s), 3)
2012
+ class: de(["u-tabs__link", a(g)])
2013
+ }, ne(s), 3)
2014
2014
  ], 8, uu))), 128))
2015
2015
  ])
2016
2016
  ]),
@@ -2274,11 +2274,11 @@ const pu = { class: "u-nos" }, fu = {
2274
2274
  return m(), z("div", pu, [
2275
2275
  i("div", {
2276
2276
  class: "u-card__hd u-aside__hd",
2277
- style: se([{ borderBottomWidth: n.value ? "0px" : "1px" }, { "line-height": "36px", height: "36px", "border-bottom-color": "var(--color-neutral-2)" }])
2277
+ style: ie([{ borderBottomWidth: n.value ? "0px" : "1px" }, { "line-height": "36px", height: "36px", "border-bottom-color": "var(--color-neutral-2)" }])
2278
2278
  }, [
2279
2279
  i("div", null, [
2280
2280
  Y(u.$slots, "title", {}, () => [
2281
- i("strong", null, le(t.title), 1)
2281
+ i("strong", null, ne(t.title), 1)
2282
2282
  ])
2283
2283
  ]),
2284
2284
  i("span", {
@@ -2309,7 +2309,7 @@ const pu = { class: "u-nos" }, fu = {
2309
2309
  }
2310
2310
  return (o, u) => {
2311
2311
  const a = y("icon-drag-arrow"), l = y("a-button");
2312
- return m(!0), z(ne, null, pe(n(), ({ title: r, children: c }, s) => (m(), x(et, {
2312
+ return m(!0), z(te, null, ce(n(), ({ title: r, children: c }, s) => (m(), x(et, {
2313
2313
  key: s,
2314
2314
  title: r,
2315
2315
  "is-first": !s
@@ -2326,7 +2326,7 @@ const pu = { class: "u-nos" }, fu = {
2326
2326
  }, {
2327
2327
  item: f(({ element: g }) => [
2328
2328
  d(l, {
2329
- class: ce(["fe--side-button", { "fe-ghost-fixed": g.fixed }]),
2329
+ class: de(["fe--side-button", { "fe-ghost-fixed": g.fixed }]),
2330
2330
  "data-type": g.type,
2331
2331
  "data-category": g.category,
2332
2332
  size: "mini"
@@ -2340,7 +2340,7 @@ const pu = { class: "u-nos" }, fu = {
2340
2340
  }, 1024))
2341
2341
  ]),
2342
2342
  default: f(() => [
2343
- P(" " + le(g.name), 1)
2343
+ P(" " + ne(g.name), 1)
2344
2344
  ]),
2345
2345
  _: 2
2346
2346
  }, 1032, ["class", "data-type", "data-category"])
@@ -2364,12 +2364,12 @@ const gu = { key: 1 }, vu = {
2364
2364
  __name: "side",
2365
2365
  props: { moduleConfig: Array },
2366
2366
  setup(e) {
2367
- const { widgetArray: t } = io(), n = e, o = q(!1), { useWidgetOperation: u } = fe(), { onSelected: a, hasSelected: l } = u();
2367
+ const { widgetArray: t } = io(), n = e, o = q(!1), { useWidgetOperation: u } = pe(), { onSelected: a, hasSelected: l } = u();
2368
2368
  return (r, c) => {
2369
- const s = y("icon-drag-arrow"), g = y("a-empty"), h = y("icon-right"), E = y("icon-left"), F = y("a-button");
2369
+ const s = y("icon-drag-arrow"), g = y("a-empty"), b = y("icon-right"), E = y("icon-left"), F = y("a-button");
2370
2370
  return m(), z("div", {
2371
2371
  class: "fe--side u-page__side",
2372
- style: se({ width: o.value ? "0px" : "219px" })
2372
+ style: ie({ width: o.value ? "0px" : "219px" })
2373
2373
  }, [
2374
2374
  o.value ? L("", !0) : (m(), x(so, {
2375
2375
  key: 0,
@@ -2381,9 +2381,9 @@ const gu = { key: 1 }, vu = {
2381
2381
  "module-config": n.moduleConfig
2382
2382
  }, null, 8, ["module-config"])) : k === 1 ? (m(), z("div", gu, [
2383
2383
  _(t).length ? (m(), z("div", vu, [
2384
- (m(!0), z(ne, null, pe(_(t), ($, A) => (m(), z("div", {
2384
+ (m(!0), z(te, null, ce(_(t), ($, A) => (m(), z("div", {
2385
2385
  key: A,
2386
- class: ce(["arco-tree-node arco-tree-node-is-leaf", {
2386
+ class: de(["arco-tree-node arco-tree-node-is-leaf", {
2387
2387
  "arco-tree-node-selected": _(l)($.key)
2388
2388
  }]),
2389
2389
  onClick: je((C) => _(a)($.key), ["stop"])
@@ -2397,8 +2397,8 @@ const gu = { key: 1 }, vu = {
2397
2397
  _: 2
2398
2398
  }, 1024))
2399
2399
  ]),
2400
- i("div", hu, le($.title) + le($.title) + le($.title), 1),
2401
- i("code", Fu, le($.model), 1)
2400
+ i("div", hu, ne($.title) + ne($.title) + ne($.title), 1),
2401
+ i("code", Fu, ne($.model), 1)
2402
2402
  ])
2403
2403
  ], 10, _u))), 128))
2404
2404
  ])) : (m(), x(g, { key: 1 }))
@@ -2411,11 +2411,11 @@ const gu = { key: 1 }, vu = {
2411
2411
  status: "normal",
2412
2412
  size: "mini",
2413
2413
  class: "arco-btn-light u-page__arrow",
2414
- style: se({ borderLeftWidth: o.value ? "1px" : "0" }),
2414
+ style: ie({ borderLeftWidth: o.value ? "1px" : "0" }),
2415
2415
  onClick: c[0] || (c[0] = (k) => o.value = !o.value)
2416
2416
  }, {
2417
2417
  icon: f(() => [
2418
- o.value ? (m(), x(h, { key: 0 })) : (m(), x(E, { key: 1 }))
2418
+ o.value ? (m(), x(b, { key: 0 })) : (m(), x(E, { key: 1 }))
2419
2419
  ]),
2420
2420
  _: 1
2421
2421
  }, 8, ["style"])
@@ -2438,22 +2438,22 @@ const gu = { key: 1 }, vu = {
2438
2438
  var r;
2439
2439
  return (r = o.modelValue) != null ? r : void 0;
2440
2440
  }, a = q(u());
2441
- return ie(() => o.modelValue, () => {
2441
+ return le(() => o.modelValue, () => {
2442
2442
  a.value = u();
2443
- }), ie(a, (r) => n("update:model-value", r)), (r, c) => {
2444
- const s = y("AInputNumber"), g = y("AInput"), h = y("AFormItem");
2445
- return m(), x(h, T({
2443
+ }), le(a, (r) => n("update:model-value", r)), (r, c) => {
2444
+ const s = y("AInputNumber"), g = y("AInput"), b = y("AFormItem");
2445
+ return m(), x(b, I({
2446
2446
  field: r.field,
2447
2447
  label: r.label
2448
2448
  }, r.formProps), {
2449
2449
  default: f(() => [
2450
- typeof a.value == "number" ? (m(), x(s, T({
2450
+ typeof a.value == "number" ? (m(), x(s, I({
2451
2451
  key: 0,
2452
2452
  modelValue: a.value,
2453
2453
  "onUpdate:modelValue": c[0] || (c[0] = (E) => a.value = E),
2454
2454
  mode: "button",
2455
2455
  size: "mini"
2456
- }, r.elementProps), null, 16, ["modelValue"])) : (m(), x(g, T({
2456
+ }, r.elementProps), null, 16, ["modelValue"])) : (m(), x(g, I({
2457
2457
  key: 1,
2458
2458
  modelValue: a.value,
2459
2459
  "onUpdate:modelValue": c[1] || (c[1] = (E) => a.value = E),
@@ -2480,18 +2480,18 @@ const gu = { key: 1 }, vu = {
2480
2480
  var r;
2481
2481
  return (r = o.modelValue) != null ? r : void 0;
2482
2482
  }, a = q(u());
2483
- return ie(() => o.modelValue, () => {
2483
+ return le(() => o.modelValue, () => {
2484
2484
  a.value = u();
2485
- }), ie(a, (r) => n("update:model-value", r)), (r, c) => {
2485
+ }), le(a, (r) => n("update:model-value", r)), (r, c) => {
2486
2486
  const s = y("AInputNumber"), g = y("AFormItem");
2487
- return m(), x(g, T({
2487
+ return m(), x(g, I({
2488
2488
  field: r.field,
2489
2489
  label: r.label
2490
2490
  }, r.formProps), {
2491
2491
  default: f(() => [
2492
- d(s, T({
2492
+ d(s, I({
2493
2493
  modelValue: a.value,
2494
- "onUpdate:modelValue": c[0] || (c[0] = (h) => a.value = h),
2494
+ "onUpdate:modelValue": c[0] || (c[0] = (b) => a.value = b),
2495
2495
  mode: "button",
2496
2496
  size: "mini"
2497
2497
  }, r.elementProps), null, 16, ["modelValue"])
@@ -2513,7 +2513,7 @@ const gu = { key: 1 }, vu = {
2513
2513
  emits: ["update:model-value"],
2514
2514
  setup(e, { emit: t }) {
2515
2515
  const n = t, o = e, u = ["px", "pt", "mm"], a = q("px"), l = q();
2516
- return ie(
2516
+ return le(
2517
2517
  () => o.modelValue,
2518
2518
  (r) => {
2519
2519
  if (typeof r == "number")
@@ -2528,14 +2528,14 @@ const gu = { key: 1 }, vu = {
2528
2528
  {
2529
2529
  immediate: !0
2530
2530
  }
2531
- ), ie([l, a], () => n("update:model-value", `${l.value}${a.value}`)), (r, c) => {
2532
- const s = y("AInput"), g = y("AInputNumber"), h = y("ASelect"), E = y("AInputGroup"), F = y("AFormItem");
2533
- return m(), x(F, T({
2531
+ ), le([l, a], () => n("update:model-value", `${l.value}${a.value}`)), (r, c) => {
2532
+ const s = y("AInput"), g = y("AInputNumber"), b = y("ASelect"), E = y("AInputGroup"), F = y("AFormItem");
2533
+ return m(), x(F, I({
2534
2534
  field: r.field,
2535
2535
  label: r.label
2536
2536
  }, r.formProps), {
2537
2537
  label: f(() => [
2538
- P(le(o.label), 1)
2538
+ P(ne(o.label), 1)
2539
2539
  ]),
2540
2540
  default: f(() => [
2541
2541
  o.modelValue === "100%" ? (m(), x(s, {
@@ -2545,13 +2545,13 @@ const gu = { key: 1 }, vu = {
2545
2545
  "model-value": "100%"
2546
2546
  })) : (m(), x(E, { key: 1 }, {
2547
2547
  default: f(() => [
2548
- d(g, T({
2548
+ d(g, I({
2549
2549
  modelValue: l.value,
2550
2550
  "onUpdate:modelValue": c[0] || (c[0] = (k) => l.value = k),
2551
2551
  size: "mini",
2552
2552
  mode: "button"
2553
2553
  }, r.elementProps), null, 16, ["modelValue"]),
2554
- d(h, {
2554
+ d(b, {
2555
2555
  modelValue: a.value,
2556
2556
  "onUpdate:modelValue": c[1] || (c[1] = (k) => a.value = k),
2557
2557
  size: "mini",
@@ -2584,18 +2584,18 @@ const gu = { key: 1 }, vu = {
2584
2584
  var r;
2585
2585
  return (r = o.modelValue) != null ? r : void 0;
2586
2586
  }, a = q(u());
2587
- return ie(() => o.modelValue, () => {
2587
+ return le(() => o.modelValue, () => {
2588
2588
  a.value = u();
2589
- }), ie(a, (r) => n("update:model-value", r)), (r, c) => {
2589
+ }), le(a, (r) => n("update:model-value", r)), (r, c) => {
2590
2590
  const s = y("ARadioGroup"), g = y("AFormItem");
2591
- return m(), x(g, T({
2591
+ return m(), x(g, I({
2592
2592
  field: r.field,
2593
2593
  label: r.label
2594
2594
  }, r.formProps), {
2595
2595
  default: f(() => [
2596
- d(s, T({
2596
+ d(s, I({
2597
2597
  modelValue: a.value,
2598
- "onUpdate:modelValue": c[0] || (c[0] = (h) => a.value = h),
2598
+ "onUpdate:modelValue": c[0] || (c[0] = (b) => a.value = b),
2599
2599
  type: "button",
2600
2600
  size: "mini"
2601
2601
  }, r.elementProps), null, 16, ["modelValue"])
@@ -2620,18 +2620,18 @@ const gu = { key: 1 }, vu = {
2620
2620
  var r;
2621
2621
  return (r = o.modelValue) != null ? r : void 0;
2622
2622
  }, a = q(u());
2623
- return ie(() => o.modelValue, () => {
2623
+ return le(() => o.modelValue, () => {
2624
2624
  a.value = u();
2625
- }), ie(a, (r) => n("update:model-value", r)), (r, c) => {
2625
+ }), le(a, (r) => n("update:model-value", r)), (r, c) => {
2626
2626
  const s = y("ASelect"), g = y("AFormItem");
2627
- return m(), x(g, T({
2627
+ return m(), x(g, I({
2628
2628
  field: r.field,
2629
2629
  label: r.label
2630
2630
  }, r.formProps), {
2631
2631
  default: f(() => [
2632
- d(s, T({
2632
+ d(s, I({
2633
2633
  modelValue: a.value,
2634
- "onUpdate:modelValue": c[0] || (c[0] = (h) => a.value = h),
2634
+ "onUpdate:modelValue": c[0] || (c[0] = (b) => a.value = b),
2635
2635
  size: "mini",
2636
2636
  "trigger-props": { autoFitPopupMinWidth: !0, contentClass: "arco-trigger-content-size-small" }
2637
2637
  }, r.elementProps), null, 16, ["modelValue"])
@@ -2657,19 +2657,19 @@ const gu = { key: 1 }, vu = {
2657
2657
  var l;
2658
2658
  u.value = (l = { string: Wt, number: Cu, px: Au, radio: wu, select: Bu }[n.elementType]) != null ? l : Wt;
2659
2659
  }
2660
- return Me(a), ie(() => n.elementType, a), (l, r) => u.value ? (m(), x(Ee(u.value), T({ key: 0 }, n, {
2660
+ return Me(a), le(() => n.elementType, a), (l, r) => u.value ? (m(), x(Ee(u.value), I({ key: 0 }, n, {
2661
2661
  "onUpdate:modelValue": r[0] || (r[0] = (c) => o("update:model-value", c))
2662
2662
  }), null, 16)) : L("", !0);
2663
2663
  }
2664
2664
  }), ku = /* @__PURE__ */ H({
2665
2665
  __name: "panel",
2666
2666
  setup(e) {
2667
- const { getWidgetPanelProperty: t, getWidget: n, updateRootPathValue: o } = fe(), { t: u } = Mo(), a = q(!1), l = q(0), { config: r, selectPath: c, models: s } = Je(), g = (A) => {
2667
+ const { getWidgetPanelProperty: t, getWidget: n, updateRootPathValue: o } = pe(), { t: u } = Mo(), a = q(!1), l = q(0), { config: r, selectPath: c, models: s } = Je(), g = (A) => {
2668
2668
  l.value = A ? 0 : 1;
2669
2669
  };
2670
2670
  g(c.value);
2671
- const h = Q(() => n(c.value)), E = (A) => (C) => o(`${c.value}.${A}`, C), F = (A, C) => {
2672
- h.value && A && (A === "defaultValue" && h.value.model && (s.value[h.value.model] = C), E(`options.${A}`)(C));
2671
+ const b = Q(() => n(c.value)), E = (A) => (C) => o(`${c.value}.${A}`, C), F = (A, C) => {
2672
+ b.value && A && (A === "defaultValue" && b.value.model && (s.value[b.value.model] = C), E(`options.${A}`)(C));
2673
2673
  }, k = Q(
2674
2674
  () => {
2675
2675
  var A;
@@ -2691,7 +2691,7 @@ const gu = { key: 1 }, vu = {
2691
2691
  })) != null ? A : {};
2692
2692
  }
2693
2693
  ), $ = Q(() => {
2694
- const A = t(h.value);
2694
+ const A = t(b.value);
2695
2695
  if (A) {
2696
2696
  const C = [
2697
2697
  {
@@ -2699,43 +2699,43 @@ const gu = { key: 1 }, vu = {
2699
2699
  sort: 1,
2700
2700
  type: "base",
2701
2701
  list: [],
2702
- filterFunc: (b) => ["defaultValue"].includes(b)
2702
+ filterFunc: (h) => ["defaultValue"].includes(h)
2703
2703
  },
2704
2704
  {
2705
2705
  title: "\u5C5E\u6027\u8BBE\u7F6E",
2706
2706
  sort: 2,
2707
2707
  type: "boolean",
2708
2708
  list: [],
2709
- filterFunc: (b, p) => p.type === "boolean"
2709
+ filterFunc: (h, p) => p.type === "boolean"
2710
2710
  },
2711
2711
  {
2712
2712
  title: "\u4F4D\u7F6E\u8BBE\u7F6E",
2713
2713
  sort: 99,
2714
2714
  type: "position",
2715
2715
  list: [],
2716
- filterFunc: (b) => ["left", "top"].includes(b),
2716
+ filterFunc: (h) => ["left", "top"].includes(h),
2717
2717
  showFunc: () => {
2718
- var b;
2719
- return ((b = h.value) == null ? void 0 : b.fixed) === !0;
2718
+ var h;
2719
+ return ((h = b.value) == null ? void 0 : h.fixed) === !0;
2720
2720
  }
2721
2721
  },
2722
- { title: "\u9AD8\u7EA7\u8BBE\u7F6E", sort: 9, list: [], filterFunc: (b) => !!b }
2722
+ { title: "\u9AD8\u7EA7\u8BBE\u7F6E", sort: 9, list: [], filterFunc: (h) => !!h }
2723
2723
  ];
2724
- return Object.keys(A).forEach((b) => {
2724
+ return Object.keys(A).forEach((h) => {
2725
2725
  let p = !1;
2726
- const v = A[b];
2726
+ const v = A[h];
2727
2727
  C.forEach((B) => {
2728
- !p && B.filterFunc(b, v) && (B.list.push(v), p = !0);
2728
+ !p && B.filterFunc(h, v) && (B.list.push(v), p = !0);
2729
2729
  });
2730
- }), [...C].filter((b) => typeof b.showFunc != "function" || b.showFunc()).sort((b, p) => b.sort - p.sort).map((b) => (delete b.filterFunc, delete b.showFunc, b));
2730
+ }), [...C].filter((h) => typeof h.showFunc != "function" || h.showFunc()).sort((h, p) => h.sort - p.sort).map((h) => (delete h.filterFunc, delete h.showFunc, h));
2731
2731
  }
2732
2732
  return null;
2733
2733
  });
2734
- return ie(c, g), (A, C) => {
2735
- const b = y("AForm"), p = y("a-checkbox"), v = y("a-space"), B = y("a-empty"), M = y("icon-right"), j = y("icon-left"), O = y("a-button");
2734
+ return le(c, g), (A, C) => {
2735
+ const h = y("AForm"), p = y("a-checkbox"), v = y("a-space"), B = y("a-empty"), T = y("icon-right"), R = y("icon-left"), D = y("a-button");
2736
2736
  return m(), z("div", {
2737
2737
  class: "u-page__panel fe--panels",
2738
- style: se({ width: a.value ? "0px" : "219px" })
2738
+ style: ie({ width: a.value ? "0px" : "219px" })
2739
2739
  }, [
2740
2740
  a.value ? L("", !0) : (m(), x(so, {
2741
2741
  key: 0,
@@ -2744,19 +2744,19 @@ const gu = { key: 1 }, vu = {
2744
2744
  list: ["\u7EC4\u4EF6\u5C5E\u6027", "\u5168\u5C40\u5C5E\u6027"]
2745
2745
  }, {
2746
2746
  default: f(({ index: G }) => {
2747
- var U;
2747
+ var J;
2748
2748
  return [
2749
2749
  G ? (m(), x(et, {
2750
2750
  key: 0,
2751
2751
  title: "\u5168\u5C40\u5C5E\u6027"
2752
2752
  }, {
2753
2753
  default: f(() => [
2754
- d(b, {
2754
+ d(h, {
2755
2755
  model: _(r),
2756
2756
  layout: "vertical"
2757
2757
  }, {
2758
2758
  default: f(() => [
2759
- (m(!0), z(ne, null, pe(k.value, (K, w) => (m(), z(ne, { key: w }, [
2759
+ (m(!0), z(te, null, ce(k.value, (K, w) => (m(), z(te, { key: w }, [
2760
2760
  K.show ? (m(), x(qe, {
2761
2761
  key: 0,
2762
2762
  "model-value": _(r)[w],
@@ -2764,7 +2764,7 @@ const gu = { key: 1 }, vu = {
2764
2764
  "element-type": K.type,
2765
2765
  "element-props": { options: K.options },
2766
2766
  label: A.$t(`fe.config.${w}`),
2767
- "onUpdate:modelValue": (D) => _(r)[w] = D
2767
+ "onUpdate:modelValue": (S) => _(r)[w] = S
2768
2768
  }, null, 8, ["model-value", "type", "element-type", "element-props", "label", "onUpdate:modelValue"])) : L("", !0)
2769
2769
  ], 64))), 128))
2770
2770
  ]),
@@ -2772,15 +2772,15 @@ const gu = { key: 1 }, vu = {
2772
2772
  }, 8, ["model"])
2773
2773
  ]),
2774
2774
  _: 1
2775
- })) : (m(), z(ne, { key: 1 }, [
2776
- (U = h.value) != null && U.options ? (m(), x(b, {
2775
+ })) : (m(), z(te, { key: 1 }, [
2776
+ (J = b.value) != null && J.options ? (m(), x(h, {
2777
2777
  key: 0,
2778
- model: h.value,
2778
+ model: b.value,
2779
2779
  layout: "vertical"
2780
2780
  }, {
2781
2781
  default: f(() => [
2782
- (m(!0), z(ne, null, pe($.value, (K, w) => (m(), z(ne, { key: w }, [
2783
- K.list.length || K.type === "base" ? (m(), z(ne, { key: 0 }, [
2782
+ (m(!0), z(te, null, ce($.value, (K, w) => (m(), z(te, { key: w }, [
2783
+ K.list.length || K.type === "base" ? (m(), z(te, { key: 0 }, [
2784
2784
  K.type === "boolean" ? (m(), x(et, {
2785
2785
  key: 0,
2786
2786
  title: K.title
@@ -2788,13 +2788,13 @@ const gu = { key: 1 }, vu = {
2788
2788
  default: f(() => [
2789
2789
  d(v, { wrap: "" }, {
2790
2790
  default: f(() => [
2791
- (m(!0), z(ne, null, pe(K.list, (D) => (m(), x(p, {
2792
- key: D.model,
2793
- "model-value": h.value.options[D.model],
2794
- "onUpdate:modelValue": (R) => E(`options.${D.model}`)(R)
2791
+ (m(!0), z(te, null, ce(K.list, (S) => (m(), x(p, {
2792
+ key: S.model,
2793
+ "model-value": b.value.options[S.model],
2794
+ "onUpdate:modelValue": (j) => E(`options.${S.model}`)(j)
2795
2795
  }, {
2796
2796
  default: f(() => [
2797
- P(le(_(u)(`fe.panel.${D.model}`)), 1)
2797
+ P(ne(_(u)(`fe.panel.${S.model}`)), 1)
2798
2798
  ]),
2799
2799
  _: 2
2800
2800
  }, 1032, ["model-value", "onUpdate:modelValue"]))), 128))
@@ -2808,38 +2808,38 @@ const gu = { key: 1 }, vu = {
2808
2808
  title: K.title
2809
2809
  }, {
2810
2810
  default: f(() => [
2811
- K.type === "base" ? (m(), z(ne, { key: 0 }, [
2811
+ K.type === "base" ? (m(), z(te, { key: 0 }, [
2812
2812
  d(qe, {
2813
- "model-value": h.value.type,
2813
+ "model-value": b.value.type,
2814
2814
  field: "type",
2815
2815
  "element-type": "input",
2816
2816
  label: "\u7C7B\u578B",
2817
2817
  disabled: ""
2818
2818
  }, null, 8, ["model-value"]),
2819
2819
  d(qe, {
2820
- "model-value": h.value.name,
2820
+ "model-value": b.value.name,
2821
2821
  field: "name",
2822
2822
  "element-type": "input",
2823
2823
  label: "\u6807\u9898",
2824
- "onUpdate:modelValue": C[0] || (C[0] = (D) => E("name")(D))
2824
+ "onUpdate:modelValue": C[0] || (C[0] = (S) => E("name")(S))
2825
2825
  }, null, 8, ["model-value"]),
2826
- h.value.category === "basic" ? (m(), x(qe, {
2826
+ b.value.category === "basic" ? (m(), x(qe, {
2827
2827
  key: 0,
2828
- "model-value": h.value.model,
2828
+ "model-value": b.value.model,
2829
2829
  field: "model",
2830
2830
  "element-type": "input",
2831
2831
  label: "\u6570\u636E\u6E90",
2832
2832
  "form-props": { tooltip: "\u91CD\u8981\u9009\u9879" },
2833
- "onUpdate:modelValue": C[1] || (C[1] = (D) => E("model")(D))
2833
+ "onUpdate:modelValue": C[1] || (C[1] = (S) => E("model")(S))
2834
2834
  }, null, 8, ["model-value"])) : L("", !0)
2835
2835
  ], 64)) : L("", !0),
2836
- (m(!0), z(ne, null, pe(K.list, (D, R) => (m(), x(qe, {
2837
- key: R,
2838
- label: _(u)(`fe.panel.${D.model}`),
2839
- "model-value": h.value.options[D.model],
2840
- "element-type": D.type,
2841
- "element-props": { options: D.options },
2842
- "onUpdate:modelValue": (oe) => F(D.model, oe)
2836
+ (m(!0), z(te, null, ce(K.list, (S, j) => (m(), x(qe, {
2837
+ key: j,
2838
+ label: _(u)(`fe.panel.${S.model}`),
2839
+ "model-value": b.value.options[S.model],
2840
+ "element-type": S.type,
2841
+ "element-props": { options: S.options },
2842
+ "onUpdate:modelValue": (ue) => F(S.model, ue)
2843
2843
  }, null, 8, ["label", "model-value", "element-type", "element-props", "onUpdate:modelValue"]))), 128))
2844
2844
  ]),
2845
2845
  _: 2
@@ -2854,16 +2854,16 @@ const gu = { key: 1 }, vu = {
2854
2854
  }),
2855
2855
  _: 1
2856
2856
  }, 8, ["tab-index"])),
2857
- d(O, {
2857
+ d(D, {
2858
2858
  type: "secondary",
2859
2859
  status: "normal",
2860
2860
  size: "mini",
2861
2861
  class: "arco-btn-light u-page__arrow",
2862
- style: se({ borderRightWidth: a.value ? "1px" : "0" }),
2862
+ style: ie({ borderRightWidth: a.value ? "1px" : "0" }),
2863
2863
  onClick: C[3] || (C[3] = (G) => a.value = !a.value)
2864
2864
  }, {
2865
2865
  icon: f(() => [
2866
- a.value ? (m(), x(j, { key: 1 })) : (m(), x(M, { key: 0 }))
2866
+ a.value ? (m(), x(R, { key: 1 })) : (m(), x(T, { key: 0 }))
2867
2867
  ]),
2868
2868
  _: 1
2869
2869
  }, 8, ["style"])
@@ -2933,7 +2933,7 @@ const kt = (e, t) => {
2933
2933
  function Ou(e, t) {
2934
2934
  const n = y("a-date-picker"), o = y("a-range-picker");
2935
2935
  return m(), z("div", null, [
2936
- e.$attrs.multiple !== !0 ? (m(), x(n, xe(T({ key: 0 }, e.$attrs)), null, 16)) : (m(), x(o, xe(T({ key: 1 }, e.$attrs)), null, 16))
2936
+ e.$attrs.multiple !== !0 ? (m(), x(n, xe(I({ key: 0 }, e.$attrs)), null, 16)) : (m(), x(o, xe(I({ key: 1 }, e.$attrs)), null, 16))
2937
2937
  ]);
2938
2938
  }
2939
2939
  const zu = /* @__PURE__ */ kt(Su, [["render", Ou]]), Vu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -2968,23 +2968,23 @@ const _t = /* @__PURE__ */ kt(Pu, [["render", Ru]]), ju = /* @__PURE__ */ Object
2968
2968
  const g = y("a-input-number");
2969
2969
  return m(), z("span", null, [
2970
2970
  e.multiple === !0 ? (m(), z("div", Mu, [
2971
- d(g, T(c.$attrs, {
2971
+ d(g, I(c.$attrs, {
2972
2972
  style: { width: "auto" },
2973
2973
  "model-value": l.value,
2974
- "onUpdate:modelValue": s[0] || (s[0] = (h) => n("update:model-value", [h, r.value]))
2974
+ "onUpdate:modelValue": s[0] || (s[0] = (b) => n("update:model-value", [b, r.value]))
2975
2975
  }), null, 16, ["model-value"]),
2976
2976
  s[3] || (s[3] = i("span", {
2977
2977
  class: "arco-picker-separator",
2978
2978
  style: { "min-width": "8px" }
2979
2979
  }, " - ", -1)),
2980
- d(g, T(c.$attrs, {
2980
+ d(g, I(c.$attrs, {
2981
2981
  style: { width: "auto" },
2982
2982
  "model-value": r.value,
2983
- "onUpdate:modelValue": s[1] || (s[1] = (h) => n("update:model-value", [l.value, h]))
2983
+ "onUpdate:modelValue": s[1] || (s[1] = (b) => n("update:model-value", [l.value, b]))
2984
2984
  }), null, 16, ["model-value"])
2985
- ])) : (m(), x(g, T({ key: 1 }, c.$attrs, {
2985
+ ])) : (m(), x(g, I({ key: 1 }, c.$attrs, {
2986
2986
  "model-value": Number(o.modelValue),
2987
- "onUpdate:modelValue": s[2] || (s[2] = (h) => n("update:model-value", h))
2987
+ "onUpdate:modelValue": s[2] || (s[2] = (b) => n("update:model-value", b))
2988
2988
  }), null, 16, ["model-value"]))
2989
2989
  ]);
2990
2990
  };
@@ -2995,7 +2995,7 @@ const _t = /* @__PURE__ */ kt(Pu, [["render", Ru]]), ju = /* @__PURE__ */ Object
2995
2995
  }, Symbol.toStringTag, { value: "Module" })), Wu = {};
2996
2996
  function Uu(e, t) {
2997
2997
  const n = y("a-select");
2998
- return m(), x(n, T(e.$attrs, { "trigger-props": { autoFitPopupMinWidth: !0, contentClass: "arco-trigger-content-size-small" } }), null, 16);
2998
+ return m(), x(n, I(e.$attrs, { "trigger-props": { autoFitPopupMinWidth: !0, contentClass: "arco-trigger-content-size-small" } }), null, 16);
2999
2999
  }
3000
3000
  const Nu = /* @__PURE__ */ kt(Wu, [["render", Uu]]), qu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3001
3001
  __proto__: null,
@@ -3044,174 +3044,174 @@ const Lu = { class: "u-flex u-flex--start" }, Hu = { class: "u-flex__item" }, Gu
3044
3044
  return Object.assign([], o.options).map(tt);
3045
3045
  }
3046
3046
  function l() {
3047
- return a().filter((j) => j.show !== !1);
3047
+ return a().filter((R) => R.show !== !1);
3048
3048
  }
3049
3049
  function r() {
3050
- const j = {};
3051
- return l().forEach((O) => {
3052
- j[O.name] = tt(O).defaultValue;
3053
- }), j;
3050
+ const R = {};
3051
+ return l().forEach((D) => {
3052
+ R[D.name] = tt(D).defaultValue;
3053
+ }), R;
3054
3054
  }
3055
3055
  const c = Q(() => o.size), s = q({ ...r(), ...o.modelValue });
3056
3056
  function g() {
3057
3057
  return { "shaonq--search": !0, [`shaonq--search-${c.value}`]: !0 };
3058
3058
  }
3059
- const h = q(l());
3059
+ const b = q(l());
3060
3060
  function E() {
3061
- return Object.assign([], h.value);
3061
+ return Object.assign([], b.value);
3062
3062
  }
3063
3063
  function F() {
3064
- h.value.push({ type: "input", name: "", label: "" });
3064
+ b.value.push({ type: "input", name: "", label: "" });
3065
3065
  }
3066
- function k(j, O) {
3067
- h.value.splice(j, 1), delete s.value[O];
3066
+ function k(R, D) {
3067
+ b.value.splice(R, 1), delete s.value[D];
3068
3068
  }
3069
3069
  const $ = q(!1);
3070
3070
  function A() {
3071
3071
  u.value && u.value.clearValidate();
3072
3072
  }
3073
3073
  function C() {
3074
- $.value = !0, h.value = l(), s.value = { ...r() }, setTimeout(() => {
3074
+ $.value = !0, b.value = l(), s.value = { ...r() }, setTimeout(() => {
3075
3075
  A(), $.value = !1;
3076
3076
  }, 200);
3077
3077
  }
3078
- const b = Q(() => a().map((j) => ({
3079
- label: j.label,
3080
- value: j.name,
3081
- disabled: E().some((O) => O.name === j.name)
3078
+ const h = Q(() => a().map((R) => ({
3079
+ label: R.label,
3080
+ value: R.name,
3081
+ disabled: E().some((D) => D.name === R.name)
3082
3082
  })));
3083
- function p(j, O) {
3084
- const G = a().find((U) => U.name === O);
3085
- G && (h.value[j] = tt(G), s.value[G.name] = h.value[j].defaultValue), s.value = to(
3083
+ function p(R, D) {
3084
+ const G = a().find((J) => J.name === D);
3085
+ G && (b.value[R] = tt(G), s.value[G.name] = b.value[R].defaultValue), s.value = to(
3086
3086
  s.value,
3087
- E().map((U) => U.name)
3087
+ E().map((J) => J.name)
3088
3088
  ), A();
3089
3089
  }
3090
3090
  function v() {
3091
- return Object.keys(s.value).reduce((j, O) => {
3092
- const G = s.value[O];
3093
- return fn(G) ? j[O] = G.some((U) => !!U) ? G.join(",") : "" : j[O] = G, j;
3091
+ return Object.keys(s.value).reduce((R, D) => {
3092
+ const G = s.value[D];
3093
+ return fn(G) ? R[D] = G.some((J) => !!J) ? G.join(",") : "" : R[D] = G, R;
3094
3094
  }, {});
3095
3095
  }
3096
3096
  function B() {
3097
3097
  n("update:modelValue", v());
3098
3098
  }
3099
- async function M() {
3100
- u.value && await new Promise((O) => {
3099
+ async function T() {
3100
+ u.value && await new Promise((D) => {
3101
3101
  var G;
3102
- (G = u.value) == null || G.validate((U) => {
3103
- var w, D;
3104
- const K = (D = (w = Object.values({ ...U })) == null ? void 0 : w[0]) == null ? void 0 : D.label;
3105
- K && So.warning(`\u8BF7\u8F93\u5165${K}`), O(!U);
3102
+ (G = u.value) == null || G.validate((J) => {
3103
+ var w, S;
3104
+ const K = (S = (w = Object.values({ ...J })) == null ? void 0 : w[0]) == null ? void 0 : S.label;
3105
+ K && So.warning(`\u8BF7\u8F93\u5165${K}`), D(!J);
3106
3106
  });
3107
3107
  }) && n("onSearch", v());
3108
3108
  }
3109
- return (j, O) => {
3110
- const G = y("icon-refresh"), U = y("a-button"), K = y("a-select"), w = y("a-form-item"), D = y("icon-plus-circle"), R = y("icon-delete"), oe = y("a-space"), me = y("a-input-group"), be = y("icon-search"), J = y("a-form");
3109
+ return (R, D) => {
3110
+ const G = y("icon-refresh"), J = y("a-button"), K = y("a-select"), w = y("a-form-item"), S = y("icon-plus-circle"), j = y("icon-delete"), ue = y("a-space"), fe = y("a-input-group"), be = y("icon-search"), ve = y("a-form");
3111
3111
  return m(), z("div", {
3112
- class: ce(g())
3112
+ class: de(g())
3113
3113
  }, [
3114
- Y(j.$slots, "head"),
3114
+ Y(R.$slots, "head"),
3115
3115
  i("div", Lu, [
3116
3116
  i("div", Hu, [
3117
- d(oe, {
3117
+ d(ue, {
3118
3118
  size: 1,
3119
3119
  align: "start"
3120
3120
  }, {
3121
3121
  default: f(() => [
3122
- o.readonly ? L("", !0) : (m(), x(U, {
3122
+ o.readonly ? L("", !0) : (m(), x(J, {
3123
3123
  key: 0,
3124
3124
  type: "outline",
3125
3125
  class: "arco-btn-light",
3126
3126
  size: c.value,
3127
3127
  title: "\u91CD\u7F6E\u641C\u7D22\u6761\u4EF6",
3128
3128
  loading: $.value,
3129
- onClick: O[0] || (O[0] = (ee) => C())
3129
+ onClick: D[0] || (D[0] = (W) => C())
3130
3130
  }, {
3131
3131
  icon: f(() => [
3132
3132
  d(G)
3133
3133
  ]),
3134
3134
  _: 1
3135
3135
  }, 8, ["size", "loading"])),
3136
- d(J, {
3136
+ d(ve, {
3137
3137
  ref_key: "formRef",
3138
3138
  ref: u,
3139
3139
  model: s.value
3140
3140
  }, {
3141
3141
  default: f(() => [
3142
- d(oe, {
3142
+ d(ue, {
3143
3143
  size: c.value,
3144
3144
  wrap: ""
3145
3145
  }, {
3146
3146
  default: f(() => [
3147
- (m(!0), z(ne, null, pe(h.value, (ee, re) => (m(), x(me, {
3148
- key: re,
3147
+ (m(!0), z(te, null, ce(b.value, (W, ae) => (m(), x(fe, {
3148
+ key: ae,
3149
3149
  size: c.value
3150
3150
  }, {
3151
3151
  default: f(() => [
3152
- d(oe, { size: 1 }, {
3152
+ d(ue, { size: 1 }, {
3153
3153
  default: f(() => [
3154
3154
  o.readonly ? (m(), z("div", {
3155
3155
  key: 1,
3156
- style: se({ width: o.labelWidth })
3157
- }, le(ee.label), 5)) : (m(), x(K, {
3156
+ style: ie({ width: o.labelWidth })
3157
+ }, ne(W.label), 5)) : (m(), x(K, {
3158
3158
  key: 0,
3159
- "model-value": ee.name,
3160
- options: b.value,
3161
- style: se({ width: o.labelWidth }),
3159
+ "model-value": W.name,
3160
+ options: h.value,
3161
+ style: ie({ width: o.labelWidth }),
3162
3162
  placeholder: "\u5B57\u6BB5\u540D\u79F0",
3163
3163
  "allow-search": "",
3164
3164
  size: c.value,
3165
3165
  "trigger-props": { autoFitPopupMinWidth: !0, contentClass: "arco-trigger-content-size-small" },
3166
- onChange: (W) => p(re, W)
3166
+ onChange: (M) => p(ae, M)
3167
3167
  }, null, 8, ["model-value", "options", "style", "size", "onChange"])),
3168
3168
  d(w, {
3169
3169
  "no-style": "",
3170
- field: ee.name,
3171
- label: ee.label,
3172
- required: ee.required,
3173
- rules: ee.rules
3170
+ field: W.name,
3171
+ label: W.label,
3172
+ required: W.required,
3173
+ rules: W.rules
3174
3174
  }, {
3175
3175
  default: f(() => [
3176
- (m(), x(Ee(_(Ku)(ee.type)), T({
3177
- modelValue: s.value[ee.name],
3178
- "onUpdate:modelValue": (W) => s.value[ee.name] = W,
3176
+ (m(), x(Ee(_(Ku)(W.type)), I({
3177
+ modelValue: s.value[W.name],
3178
+ "onUpdate:modelValue": (M) => s.value[W.name] = M,
3179
3179
  size: c.value,
3180
3180
  style: { width: o.inputWidth },
3181
3181
  autocomplete: "off",
3182
- readonly: !ee.name,
3182
+ readonly: !W.name,
3183
3183
  "allow-clear": "",
3184
3184
  ref_for: !0
3185
- }, _(eo)(ee, ["label", "defaultValue", "type", "show"]), {
3186
- onChange: O[1] || (O[1] = (W) => B()),
3187
- onPressEnter: O[2] || (O[2] = (W) => M())
3185
+ }, _(eo)(W, ["label", "defaultValue", "type", "show"]), {
3186
+ onChange: D[1] || (D[1] = (M) => B()),
3187
+ onPressEnter: D[2] || (D[2] = (M) => T())
3188
3188
  }), null, 16, ["modelValue", "onUpdate:modelValue", "size", "style", "readonly"]))
3189
3189
  ]),
3190
3190
  _: 2
3191
3191
  }, 1032, ["field", "label", "required", "rules"]),
3192
- o.readonly ? L("", !0) : (m(), z(ne, { key: 2 }, [
3193
- re ? (m(), x(U, {
3192
+ o.readonly ? L("", !0) : (m(), z(te, { key: 2 }, [
3193
+ ae ? (m(), x(J, {
3194
3194
  key: 1,
3195
3195
  type: "primary",
3196
3196
  class: "arco-btn-light",
3197
3197
  title: "\u5220\u9664",
3198
3198
  size: c.value,
3199
- onClick: (W) => k(re, ee.name)
3199
+ onClick: (M) => k(ae, W.name)
3200
3200
  }, {
3201
3201
  icon: f(() => [
3202
- d(R)
3202
+ d(j)
3203
3203
  ]),
3204
3204
  _: 2
3205
- }, 1032, ["size", "onClick"])) : (m(), x(U, {
3205
+ }, 1032, ["size", "onClick"])) : (m(), x(J, {
3206
3206
  key: 0,
3207
3207
  type: "primary",
3208
3208
  class: "arco-btn-light",
3209
3209
  title: "\u6DFB\u52A0",
3210
3210
  size: c.value,
3211
- onClick: O[3] || (O[3] = (W) => F())
3211
+ onClick: D[3] || (D[3] = (M) => F())
3212
3212
  }, {
3213
3213
  icon: f(() => [
3214
- d(D)
3214
+ d(S)
3215
3215
  ]),
3216
3216
  _: 1
3217
3217
  }, 8, ["size"]))
@@ -3222,21 +3222,21 @@ const Lu = { class: "u-flex u-flex--start" }, Hu = { class: "u-flex__item" }, Gu
3222
3222
  ]),
3223
3223
  _: 2
3224
3224
  }, 1032, ["size"]))), 128)),
3225
- Y(j.$slots, "default"),
3226
- d(oe, { size: c.value }, {
3225
+ Y(R.$slots, "default"),
3226
+ d(ue, { size: c.value }, {
3227
3227
  default: f(() => [
3228
- d(U, {
3228
+ d(J, {
3229
3229
  type: "primary",
3230
3230
  loading: o.loading,
3231
3231
  title: "\u641C\u7D22",
3232
3232
  size: c.value,
3233
- onClick: O[4] || (O[4] = (ee) => M())
3233
+ onClick: D[4] || (D[4] = (W) => T())
3234
3234
  }, {
3235
3235
  icon: f(() => [
3236
3236
  d(be)
3237
3237
  ]),
3238
3238
  default: f(() => [
3239
- O[5] || (O[5] = P(" \u641C\u7D22 "))
3239
+ D[5] || (D[5] = P(" \u641C\u7D22 "))
3240
3240
  ]),
3241
3241
  _: 1
3242
3242
  }, 8, ["loading", "size"])
@@ -3377,30 +3377,30 @@ const ro = /* @__PURE__ */ H({
3377
3377
  setup(e, { expose: t, emit: n }) {
3378
3378
  const o = e;
3379
3379
  function u(w) {
3380
- const D = { ...w };
3381
- return o.config.forEach((R) => {
3382
- R.dotNotation && R.model && (D[R.model] = ao(D[R.model]));
3383
- }), D;
3380
+ const S = { ...w };
3381
+ return o.config.forEach((j) => {
3382
+ j.dotNotation && j.model && (S[j.model] = ao(S[j.model]));
3383
+ }), S;
3384
3384
  }
3385
3385
  function a(w) {
3386
- const D = { ...w };
3387
- return o.config.forEach((R) => {
3388
- R.dotNotation && R.model && (D[R.model] = yt(D[R.model]));
3389
- }), D;
3386
+ const S = { ...w };
3387
+ return o.config.forEach((j) => {
3388
+ j.dotNotation && j.model && (S[j.model] = yt(S[j.model]));
3389
+ }), S;
3390
3390
  }
3391
3391
  const l = n, r = q(), c = (w) => typeof w == "string" && ["a-input", "a-textarea"].includes(w) ? { autocomplete: "new-password" } : null;
3392
3392
  function s(w) {
3393
3393
  return Object.fromEntries(
3394
- Object.values(o.config).filter((D) => D.model).map((D) => {
3395
- var R;
3396
- return [D.model, w ? w(D) : (R = D.defaultValue) != null ? R : null];
3394
+ Object.values(o.config).filter((S) => S.model).map((S) => {
3395
+ var j;
3396
+ return [S.model, w ? w(S) : (j = S.defaultValue) != null ? j : null];
3397
3397
  })
3398
3398
  );
3399
3399
  }
3400
- const [g, h] = Re(
3400
+ const [g, b] = Re(
3401
3401
  s((w) => {
3402
- var D, R;
3403
- return (R = (D = w == null ? void 0 : w.options) == null ? void 0 : D.options) != null ? R : [];
3402
+ var S, j;
3403
+ return (j = (S = w == null ? void 0 : w.options) == null ? void 0 : S.options) != null ? j : [];
3404
3404
  })
3405
3405
  ), [E] = Re(s((w) => (w == null ? void 0 : w.show) !== !1)), [F, k] = Re(u({ ...s(), ...o.modelValue }), r);
3406
3406
  function $(w) {
@@ -3415,10 +3415,10 @@ const ro = /* @__PURE__ */ H({
3415
3415
  if (w.customClass)
3416
3416
  return typeof w.customClass == "function" ? w.customClass(w, F.value) : w;
3417
3417
  }
3418
- const b = {
3419
- getModelOption(w, D) {
3420
- const R = g.value[w];
3421
- return D ? R == null ? void 0 : R.find((oe) => oe.value === D) : R;
3418
+ const h = {
3419
+ getModelOption(w, S) {
3420
+ const j = g.value[w];
3421
+ return S ? j == null ? void 0 : j.find((ue) => ue.value === S) : j;
3422
3422
  },
3423
3423
  getModels() {
3424
3424
  return F.value;
@@ -3429,44 +3429,44 @@ const ro = /* @__PURE__ */ H({
3429
3429
  getShow(w) {
3430
3430
  return E.value[w];
3431
3431
  },
3432
- setModelOption(w, D) {
3433
- g.value[w] = D;
3432
+ setModelOption(w, S) {
3433
+ g.value[w] = S;
3434
3434
  },
3435
- setModel(w, D) {
3436
- !w || (typeof w == "string" ? F.value[w] = D : F.value = { ...F.value, ...w }, A());
3435
+ setModel(w, S) {
3436
+ !w || (typeof w == "string" ? F.value[w] = S : F.value = { ...F.value, ...w }, A());
3437
3437
  },
3438
- setShow(w, D) {
3439
- (Array.isArray(w) ? w : [w]).forEach((oe) => {
3440
- E.value[oe] = D;
3438
+ setShow(w, S) {
3439
+ (Array.isArray(w) ? w : [w]).forEach((ue) => {
3440
+ E.value[ue] = S;
3441
3441
  });
3442
3442
  }
3443
- }, p = (w) => ({ ...b, model: w.model, ...w.events, getFormItem: () => w }), v = ({ options: w }) => o.disabled || !!(w != null && w.disabled), B = (w) => {
3444
- const { options: D, rules: R, name: oe } = w;
3445
- return typeof R == "function" ? R({ ...w }, p(w)) : R || (D != null && D.required ? [{ required: !0, message: `\u8BF7\u8F93\u5165${oe}` }] : []);
3446
- }, { setModel: M, setModelOption: j } = b;
3447
- function O(w) {
3448
- return (D) => M(w, D);
3443
+ }, p = (w) => ({ ...h, model: w.model, ...w.events, getFormItem: () => w }), v = ({ options: w }) => o.disabled || !!(w != null && w.disabled), B = (w) => {
3444
+ const { options: S, rules: j, name: ue } = w;
3445
+ return typeof j == "function" ? j({ ...w }, p(w)) : j || (S != null && S.required ? [{ required: !0, message: `\u8BF7\u8F93\u5165${ue}` }] : []);
3446
+ }, { setModel: T, setModelOption: R } = h;
3447
+ function D(w) {
3448
+ return (S) => T(w, S);
3449
3449
  }
3450
3450
  function G() {
3451
3451
  o.config.forEach(async (w) => {
3452
- var D;
3453
- if (typeof ((D = w == null ? void 0 : w.events) == null ? void 0 : D.onMounted) == "function") {
3454
- const R = await w.events.onMounted(p(w));
3455
- R && w.model && j(w.model, R);
3452
+ var S;
3453
+ if (typeof ((S = w == null ? void 0 : w.events) == null ? void 0 : S.onMounted) == "function") {
3454
+ const j = await w.events.onMounted(p(w));
3455
+ j && w.model && R(w.model, j);
3456
3456
  }
3457
3457
  });
3458
3458
  }
3459
- async function U(w, D) {
3460
- var R;
3461
- typeof ((R = D.events) == null ? void 0 : R.onChange) == "function" && await D.events.onChange(w, p(D));
3459
+ async function J(w, S) {
3460
+ var j;
3461
+ typeof ((j = S.events) == null ? void 0 : j.onChange) == "function" && await S.events.onChange(w, p(S));
3462
3462
  }
3463
- ie(
3463
+ le(
3464
3464
  () => o.modelValue,
3465
3465
  () => {
3466
3466
  F.value = u(o.modelValue);
3467
3467
  },
3468
3468
  { deep: !1, immediate: !0 }
3469
- ), ie(
3469
+ ), le(
3470
3470
  () => o.config,
3471
3471
  () => {
3472
3472
  E.value = s((w) => (w == null ? void 0 : w.show) !== !1);
@@ -3474,18 +3474,18 @@ const ro = /* @__PURE__ */ H({
3474
3474
  );
3475
3475
  async function K() {
3476
3476
  return new Promise((w) => {
3477
- r.value.validate((D) => {
3478
- if (D)
3479
- w([!0, D]), l("error", D);
3477
+ r.value.validate((S) => {
3478
+ if (S)
3479
+ w([!0, S]), l("error", S);
3480
3480
  else {
3481
- const R = a(F.value);
3482
- w([!1, R]), l("update:modelValue", R), l("submit", R);
3481
+ const j = a(F.value);
3482
+ w([!1, j]), l("update:modelValue", j), l("submit", j);
3483
3483
  }
3484
3484
  });
3485
3485
  });
3486
3486
  }
3487
3487
  return Me(() => {
3488
- k(), h(), G();
3488
+ k(), b(), G();
3489
3489
  }), t({
3490
3490
  onSubmit: K,
3491
3491
  onReset: k,
@@ -3493,9 +3493,9 @@ const ro = /* @__PURE__ */ H({
3493
3493
  var w;
3494
3494
  (w = r.value) == null || w.resetFields();
3495
3495
  }
3496
- }), (w, D) => {
3497
- const R = y("a-form-item"), oe = y("a-col"), me = y("a-row"), be = y("icon-save"), J = y("a-button"), ee = y("a-space"), re = y("a-form");
3498
- return m(), x(re, T({
3496
+ }), (w, S) => {
3497
+ const j = y("a-form-item"), ue = y("a-col"), fe = y("a-row"), be = y("icon-save"), ve = y("a-button"), W = y("a-space"), ae = y("a-form");
3498
+ return m(), x(ae, I({
3499
3499
  ref_key: "formRef",
3500
3500
  ref: r,
3501
3501
  model: _(F),
@@ -3506,60 +3506,60 @@ const ro = /* @__PURE__ */ H({
3506
3506
  class: "orc-form"
3507
3507
  }, o.formAttr, { size: "small" }), {
3508
3508
  default: f(() => [
3509
- d(me, {
3509
+ d(fe, {
3510
3510
  gutter: o.gutter
3511
3511
  }, {
3512
3512
  default: f(() => [
3513
- (m(!0), z(ne, null, pe(o.config, (W, Se) => {
3514
- var Ae, ge;
3515
- return m(), z(ne, { key: Se }, [
3516
- $(W) ? (m(), x(oe, T({
3513
+ (m(!0), z(te, null, ce(o.config, (M, Se) => {
3514
+ var Ae, me;
3515
+ return m(), z(te, { key: Se }, [
3516
+ $(M) ? (m(), x(ue, I({
3517
3517
  key: 0,
3518
3518
  ref_for: !0
3519
3519
  }, o.grid, {
3520
- span: ((Ae = W.options) == null ? void 0 : Ae.span) || o.span,
3521
- offset: (ge = W.options) == null ? void 0 : ge.offset
3520
+ span: ((Ae = M.options) == null ? void 0 : Ae.span) || o.span,
3521
+ offset: (me = M.options) == null ? void 0 : me.offset
3522
3522
  }), {
3523
3523
  default: f(() => {
3524
3524
  var Xe, Ie;
3525
3525
  return [
3526
- d(R, T({
3527
- field: W.model,
3528
- "row-class": C(W),
3529
- label: W.name,
3530
- "validate-trigger": W.validateTrigger,
3531
- rules: B(W),
3532
- disabled: v(W),
3533
- help: (Xe = W.options) == null ? void 0 : Xe.help,
3534
- tooltip: (Ie = W.options) == null ? void 0 : Ie.tooltip,
3526
+ d(j, I({
3527
+ field: M.model,
3528
+ "row-class": C(M),
3529
+ label: M.name,
3530
+ "validate-trigger": M.validateTrigger,
3531
+ rules: B(M),
3532
+ disabled: v(M),
3533
+ help: (Xe = M.options) == null ? void 0 : Xe.help,
3534
+ tooltip: (Ie = M.options) == null ? void 0 : Ie.tooltip,
3535
3535
  "label-col-flex": o.labelWidth,
3536
3536
  "asterisk-position": o.labelAlign === "right" ? "start" : "end",
3537
3537
  ref_for: !0
3538
- }, W.itemAttr), {
3538
+ }, M.itemAttr), {
3539
3539
  default: f(() => [
3540
- Y(w.$slots, W.model, T({
3541
- utils: p(W),
3542
- componentAttr: _(ut)(W, p(W)),
3540
+ Y(w.$slots, M.model, I({
3541
+ utils: p(M),
3542
+ componentAttr: _(ut)(M, p(M)),
3543
3543
  ref_for: !0
3544
- }, { ...W.model ? { value: _(F)[W.model], setValue: O(W.model), options: _(g)[W.model] } : {} }, {
3545
- disabled: v(W)
3544
+ }, { ...M.model ? { value: _(F)[M.model], setValue: D(M.model), options: _(g)[M.model] } : {} }, {
3545
+ disabled: v(M)
3546
3546
  }), () => {
3547
3547
  var Oe;
3548
3548
  return [
3549
- (m(), x(Ee(W.type), T({
3549
+ (m(), x(Ee(M.type), I({
3550
3550
  size: "small",
3551
- "input-attrs": c(W),
3552
- placeholder: (Oe = W == null ? void 0 : W.options) == null ? void 0 : Oe.placeholder,
3553
- disabled: v(W),
3551
+ "input-attrs": c(M),
3552
+ placeholder: (Oe = M == null ? void 0 : M.options) == null ? void 0 : Oe.placeholder,
3553
+ disabled: v(M),
3554
3554
  style: { width: "100%" },
3555
3555
  ref_for: !0
3556
3556
  }, {
3557
- ...W.model ? { modelValue: _(F)[W.model], options: _(g)[W.model] } : {},
3558
- ..._(ut)(W, p(W)),
3559
- ...typeof W.type != "string" ? { utils: p(W) } : {}
3557
+ ...M.model ? { modelValue: _(F)[M.model], options: _(g)[M.model] } : {},
3558
+ ..._(ut)(M, p(M)),
3559
+ ...typeof M.type != "string" ? { utils: p(M) } : {}
3560
3560
  }, {
3561
- onChange: (We) => U(We, W),
3562
- "onUpdate:modelValue": (We) => _(M)(`${W.model}`, We)
3561
+ onChange: (We) => J(We, M),
3562
+ "onUpdate:modelValue": (We) => _(T)(`${M.model}`, We)
3563
3563
  }), null, 16, ["input-attrs", "placeholder", "disabled", "onChange", "onUpdate:modelValue"]))
3564
3564
  ];
3565
3565
  })
@@ -3577,20 +3577,20 @@ const ro = /* @__PURE__ */ H({
3577
3577
  _: 3
3578
3578
  }, 8, ["gutter"]),
3579
3579
  Y(w.$slots, "default", { onSubmit: K }, () => [
3580
- o.hideSubmit ? L("", !0) : (m(), x(R, { key: 0 }, {
3580
+ o.hideSubmit ? L("", !0) : (m(), x(j, { key: 0 }, {
3581
3581
  default: f(() => [
3582
- d(ee, null, {
3582
+ d(W, null, {
3583
3583
  default: f(() => [
3584
- d(J, {
3584
+ d(ve, {
3585
3585
  type: "primary",
3586
3586
  loading: o.loading,
3587
- onClick: D[0] || (D[0] = (W) => K())
3587
+ onClick: S[0] || (S[0] = (M) => K())
3588
3588
  }, {
3589
3589
  icon: f(() => [
3590
3590
  d(be)
3591
3591
  ]),
3592
3592
  default: f(() => [
3593
- D[1] || (D[1] = P(" \u4FDD\u5B58 "))
3593
+ S[1] || (S[1] = P(" \u4FDD\u5B58 "))
3594
3594
  ]),
3595
3595
  _: 1
3596
3596
  }, 8, ["loading"])
@@ -3635,7 +3635,7 @@ const ro = /* @__PURE__ */ H({
3635
3635
  return o.isView ? E : { ...E, disabled: o.disabled, type: "primary", size: "small", ...o.buttonAttrs, onClick: () => c() };
3636
3636
  }
3637
3637
  const g = q();
3638
- async function h() {
3638
+ async function b() {
3639
3639
  const [E, F] = await g.value.onSubmit();
3640
3640
  E || u("submit", {
3641
3641
  data: F,
@@ -3654,13 +3654,13 @@ const ro = /* @__PURE__ */ H({
3654
3654
  return m(), x(Ee(o.isView ? "div" : _(Oo)), xe(lt(s())), Ft({
3655
3655
  default: f(() => [
3656
3656
  Y(E.$slots, "default", {
3657
- onSubmit: h,
3657
+ onSubmit: b,
3658
3658
  onShow: c
3659
3659
  }, () => [
3660
- P(le(o.title), 1)
3660
+ P(ne(o.title), 1)
3661
3661
  ]),
3662
3662
  (m(), x(Lt, { to: "body" }, [
3663
- d($, T({
3663
+ d($, I({
3664
3664
  visible: _(a).visible,
3665
3665
  title: o.title,
3666
3666
  "title-align": "start",
@@ -3686,7 +3686,7 @@ const ro = /* @__PURE__ */ H({
3686
3686
  type: "primary",
3687
3687
  size: o.size,
3688
3688
  loading: _(a).loading,
3689
- onClick: F[3] || (F[3] = (A) => h())
3689
+ onClick: F[3] || (F[3] = (A) => b())
3690
3690
  }, {
3691
3691
  default: f(() => F[5] || (F[5] = [
3692
3692
  P("\u786E\u8BA4 ")
@@ -3695,7 +3695,7 @@ const ro = /* @__PURE__ */ H({
3695
3695
  }, 8, ["size", "loading"])
3696
3696
  ]),
3697
3697
  default: f(() => [
3698
- d(ro, T({
3698
+ d(ro, I({
3699
3699
  ref_key: "formRef",
3700
3700
  ref: g,
3701
3701
  "hide-submit": "",
@@ -3760,8 +3760,8 @@ const ro = /* @__PURE__ */ H({
3760
3760
  l().forEach(async (A) => {
3761
3761
  var C;
3762
3762
  if (typeof ((C = A == null ? void 0 : A.events) == null ? void 0 : C.onMounted) == "function") {
3763
- const b = await A.events.onMounted(n.utils);
3764
- b && A.model && (a.value = b);
3763
+ const h = await A.events.onMounted(n.utils);
3764
+ h && A.model && (a.value = h);
3765
3765
  }
3766
3766
  });
3767
3767
  }
@@ -3775,32 +3775,32 @@ const ro = /* @__PURE__ */ H({
3775
3775
  const g = (A) => {
3776
3776
  var C;
3777
3777
  return n.disabled || !!((C = A == null ? void 0 : A.options) != null && C.disabled);
3778
- }, h = () => {
3779
- const A = l().reduce((b, p) => {
3778
+ }, b = () => {
3779
+ const A = l().reduce((h, p) => {
3780
3780
  var v;
3781
- return p.model && (b[p.model] = (v = p.defaultValue) != null ? v : null), b;
3781
+ return p.model && (h[p.model] = (v = p.defaultValue) != null ? v : null), h;
3782
3782
  }, {}), C = c();
3783
3783
  C.push(A), s(C);
3784
3784
  }, E = () => {
3785
3785
  const A = "_X_ROW_KEY", C = c();
3786
- s([...C].filter((b) => !u.value.includes(b[A]))), u.value = [], o("update:selectedKeys", u.value);
3786
+ s([...C].filter((h) => !u.value.includes(h[A]))), u.value = [], o("update:selectedKeys", u.value);
3787
3787
  };
3788
3788
  async function F(A, C) {
3789
- var b;
3790
- typeof ((b = C.events) == null ? void 0 : b.onChange) == "function" && await C.events.onChange(A, n.utils);
3789
+ var h;
3790
+ typeof ((h = C.events) == null ? void 0 : h.onChange) == "function" && await C.events.onChange(A, n.utils);
3791
3791
  }
3792
- async function k(A, C, b) {
3792
+ async function k(A, C, h) {
3793
3793
  if (C) {
3794
- const { rowIndex: p } = A, v = l().find((M) => M.model === C);
3795
- v && await F([b, A], v);
3794
+ const { rowIndex: p } = A, v = l().find((T) => T.model === C);
3795
+ v && await F([h, A], v);
3796
3796
  const B = c();
3797
- B[p][C] = b, s(B);
3797
+ B[p][C] = h, s(B);
3798
3798
  }
3799
3799
  }
3800
3800
  return Me(() => {
3801
3801
  r();
3802
3802
  }), (A, C) => {
3803
- const b = y("a-link"), p = y("ASpace"), v = y("vxe-column");
3803
+ const h = y("a-link"), p = y("ASpace"), v = y("vxe-column");
3804
3804
  return m(), x(_(At), {
3805
3805
  ref: "tableRef",
3806
3806
  "selected-keys": u.value,
@@ -3837,9 +3837,9 @@ const ro = /* @__PURE__ */ H({
3837
3837
  align: n.hideTools === !0 ? "center" : "left",
3838
3838
  "show-overflow": ""
3839
3839
  }, null, 8, ["align"])) : L("", !0),
3840
- (m(!0), z(ne, null, pe(l(), (B, M) => {
3841
- var j;
3842
- return m(), z(ne, { key: M }, [
3840
+ (m(!0), z(te, null, ce(l(), (B, T) => {
3841
+ var R;
3842
+ return m(), z(te, { key: T }, [
3843
3843
  B.show !== !1 ? (m(), x(v, {
3844
3844
  key: 0,
3845
3845
  field: B.model,
@@ -3847,28 +3847,28 @@ const ro = /* @__PURE__ */ H({
3847
3847
  width: B.width,
3848
3848
  align: B.align,
3849
3849
  "show-overflow": B.tooltip,
3850
- "title-prefix": (j = B.options) != null && j.required ? { icon: "vxe-cell--required-icon" } : void 0
3850
+ "title-prefix": (R = B.options) != null && R.required ? { icon: "vxe-cell--required-icon" } : void 0
3851
3851
  }, Ft({ _: 2 }, [
3852
3852
  B.div !== !1 ? {
3853
3853
  name: "default",
3854
- fn: f((O) => [
3854
+ fn: f((D) => [
3855
3855
  Y(A.$slots, B.model, {
3856
- row: O.row,
3856
+ row: D.row,
3857
3857
  model: B.model
3858
3858
  }, () => [
3859
- !B.type && B.model ? (m(), z("span", T({
3859
+ !B.type && B.model ? (m(), z("span", I({
3860
3860
  key: 0,
3861
3861
  ref_for: !0
3862
- }, _(ut)(B, n.utils)), le(typeof B.format == "function" ? B.format(O.row[B.model], O.row) : O.row[B.model]), 17)) : (m(), x(Ee(B.type), T({
3862
+ }, _(ut)(B, n.utils)), ne(typeof B.format == "function" ? B.format(D.row[B.model], D.row) : D.row[B.model]), 17)) : (m(), x(Ee(B.type), I({
3863
3863
  key: 1,
3864
3864
  size: "mini",
3865
3865
  ref_for: !0
3866
3866
  }, {
3867
- ...B.model ? { "model-value": O.row[B.model], options: a.value } : {},
3867
+ ...B.model ? { "model-value": D.row[B.model], options: a.value } : {},
3868
3868
  ..._(ut)(B, n.utils)
3869
3869
  }, {
3870
3870
  disabled: g(B),
3871
- "onUpdate:modelValue": (G) => k(O, B.model, G)
3871
+ "onUpdate:modelValue": (G) => k(D, B.model, G)
3872
3872
  }), null, 16, ["disabled", "onUpdate:modelValue"]))
3873
3873
  ])
3874
3874
  ]),
@@ -3886,16 +3886,16 @@ const ro = /* @__PURE__ */ H({
3886
3886
  d(p, { size: "mini" }, {
3887
3887
  default: f(() => [
3888
3888
  n.hideTools !== !0 ? Y(A.$slots, "default", { key: 0 }, () => [
3889
- d(b, {
3889
+ d(h, {
3890
3890
  disabled: g(),
3891
- onClick: C[0] || (C[0] = (B) => h())
3891
+ onClick: C[0] || (C[0] = (B) => b())
3892
3892
  }, {
3893
3893
  default: f(() => C[6] || (C[6] = [
3894
3894
  P("\u65B0\u589E\u884C")
3895
3895
  ])),
3896
3896
  _: 1
3897
3897
  }, 8, ["disabled"]),
3898
- d(b, {
3898
+ d(h, {
3899
3899
  status: "danger",
3900
3900
  disabled: g() || !u.value.length,
3901
3901
  onClick: C[1] || (C[1] = (B) => E())
@@ -3932,8 +3932,8 @@ const ro = /* @__PURE__ */ H({
3932
3932
  emits: ["update:modelValue", "change"],
3933
3933
  setup(e, { emit: t }) {
3934
3934
  const n = e, { mergedDisabled: o, eventHandlers: u } = zo(), a = Q(() => {
3935
- var b;
3936
- return (b = n.disabled) != null ? b : o.value;
3935
+ var h;
3936
+ return (h = n.disabled) != null ? h : o.value;
3937
3937
  }), l = t, [r, c] = Re({ visible: !1, keyword: "" });
3938
3938
  function s() {
3939
3939
  c({ visible: !1 });
@@ -3941,31 +3941,31 @@ const ro = /* @__PURE__ */ H({
3941
3941
  function g() {
3942
3942
  a.value || c({ visible: !0 });
3943
3943
  }
3944
- const { tableRef: h, selectedKeys: E, tableOptions: F } = sn(n.options);
3945
- function k(b) {
3946
- const p = { [n.keyword]: r.value.keyword, page: b };
3944
+ const { tableRef: b, selectedKeys: E, tableOptions: F } = sn(n.options);
3945
+ function k(h) {
3946
+ const p = { [n.keyword]: r.value.keyword, page: h };
3947
3947
  return typeof (F == null ? void 0 : F.resolvePage) == "function" && F.resolvePage(p) ? F.resolvePage(p) : p;
3948
3948
  }
3949
3949
  function $() {
3950
- var b;
3951
- (b = h.value) == null || b.dataInit();
3950
+ var h;
3951
+ (h = b.value) == null || h.dataInit();
3952
3952
  }
3953
- function A(b) {
3954
- var B, M;
3955
- const p = Object.assign([], b), v = [...p].map((j) => {
3956
- var O;
3957
- return j[(O = n.nameKey) != null ? O : "name"];
3953
+ function A(h) {
3954
+ var B, T;
3955
+ const p = Object.assign([], h), v = [...p].map((R) => {
3956
+ var D;
3957
+ return R[(D = n.nameKey) != null ? D : "name"];
3958
3958
  });
3959
- l("update:modelValue", yt(v)), l("change", { name: yt(v), data: p }), (M = (B = u.value) == null ? void 0 : B.onChange) == null || M.call(B), s();
3959
+ l("update:modelValue", yt(v)), l("change", { name: yt(v), data: p }), (T = (B = u.value) == null ? void 0 : B.onChange) == null || T.call(B), s();
3960
3960
  }
3961
- function C({ row: b }) {
3962
- n.options.selectedType === "radio" && A([b]);
3961
+ function C({ row: h }) {
3962
+ n.options.selectedType === "radio" && A([h]);
3963
3963
  }
3964
- return (b, p) => {
3965
- const v = y("a-input-search"), B = y("a-button"), M = y("AModal");
3964
+ return (h, p) => {
3965
+ const v = y("a-input-search"), B = y("a-button"), T = y("AModal");
3966
3966
  return m(), x(Xu, null, {
3967
3967
  default: f(() => [
3968
- Y(b.$slots, "default", {
3968
+ Y(h.$slots, "default", {
3969
3969
  value: n.modelValue,
3970
3970
  disabled: a.value,
3971
3971
  onShow: g
@@ -3979,9 +3979,9 @@ const ro = /* @__PURE__ */ H({
3979
3979
  }, null, 8, ["size", "model-value"])
3980
3980
  ]),
3981
3981
  (m(), x(Lt, { to: "body" }, [
3982
- d(M, {
3982
+ d(T, {
3983
3983
  visible: _(r).visible,
3984
- title: b.title,
3984
+ title: h.title,
3985
3985
  "title-align": "start",
3986
3986
  "mask-closable": !1,
3987
3987
  size: n.size,
@@ -3995,7 +3995,7 @@ const ro = /* @__PURE__ */ H({
3995
3995
  footer: f(() => [
3996
3996
  d(B, {
3997
3997
  size: n.size,
3998
- onClick: p[4] || (p[4] = (j) => s())
3998
+ onClick: p[4] || (p[4] = (R) => s())
3999
3999
  }, {
4000
4000
  default: f(() => p[6] || (p[6] = [
4001
4001
  P("\u53D6\u6D88 ")
@@ -4006,7 +4006,7 @@ const ro = /* @__PURE__ */ H({
4006
4006
  type: "primary",
4007
4007
  size: n.size,
4008
4008
  disabled: !_(E).length,
4009
- onClick: p[5] || (p[5] = (j) => A(_(h).getSelection()))
4009
+ onClick: p[5] || (p[5] = (R) => A(_(b).getSelection()))
4010
4010
  }, {
4011
4011
  default: f(() => p[7] || (p[7] = [
4012
4012
  P("\u786E\u8BA4 ")
@@ -4015,14 +4015,14 @@ const ro = /* @__PURE__ */ H({
4015
4015
  }, 8, ["size", "disabled"])
4016
4016
  ]),
4017
4017
  default: f(() => {
4018
- var j;
4018
+ var R;
4019
4019
  return [
4020
4020
  d(_(At), {
4021
4021
  ref_key: "tableRef",
4022
- ref: h,
4022
+ ref: b,
4023
4023
  "selected-keys": _(E),
4024
- "onUpdate:selectedKeys": p[3] || (p[3] = (O) => Ct(E) ? E.value = O : null),
4025
- data: (j = n.tableData) != null ? j : [],
4024
+ "onUpdate:selectedKeys": p[3] || (p[3] = (D) => Ct(E) ? E.value = D : null),
4025
+ data: (R = n.tableData) != null ? R : [],
4026
4026
  "hide-setting": "",
4027
4027
  option: { ..._(F), resolvePage: k },
4028
4028
  height: 330,
@@ -4033,13 +4033,13 @@ const ro = /* @__PURE__ */ H({
4033
4033
  n.pagination ? (m(), x(v, {
4034
4034
  key: 0,
4035
4035
  modelValue: _(r).keyword,
4036
- "onUpdate:modelValue": p[0] || (p[0] = (O) => _(r).keyword = O),
4036
+ "onUpdate:modelValue": p[0] || (p[0] = (D) => _(r).keyword = D),
4037
4037
  style: { width: "192px" },
4038
4038
  placeholder: "\u6A21\u7CCA\u641C\u7D22",
4039
4039
  "allow-clear": "",
4040
4040
  size: n.size,
4041
- onPressEnter: p[1] || (p[1] = (O) => $()),
4042
- onSearch: p[2] || (p[2] = (O) => $())
4041
+ onPressEnter: p[1] || (p[1] = (D) => $()),
4042
+ onSearch: p[2] || (p[2] = (D) => $())
4043
4043
  }, null, 8, ["modelValue", "size"])) : L("", !0)
4044
4044
  ]),
4045
4045
  _: 1
@@ -4067,9 +4067,9 @@ const hi = co(Yu), Fi = co(Zu), Ei = /* @__PURE__ */ H({
4067
4067
  },
4068
4068
  setup(e) {
4069
4069
  return (t, n) => (m(), z("div", {
4070
- style: se(t.isShow ? { display: "block" } : { position: "absolute", clip: "rect(0px, 0px, 0px, 0px)", height: "0px", overflow: "auto" })
4070
+ style: ie(t.isShow ? { display: "block" } : { position: "absolute", clip: "rect(0px, 0px, 0px, 0px)", height: "0px", overflow: "auto" })
4071
4071
  }, [
4072
- i("div", T({
4072
+ i("div", I({
4073
4073
  ref: "print$",
4074
4074
  style: [{ position: "relative", width: "100%" }, { maxWidth: t.isDirection ? "297mm" : "210mm" }]
4075
4075
  }, t.formProps), [
@@ -4301,11 +4301,11 @@ const tl = { class: "u-nos" }, ol = {
4301
4301
  return m(), z("div", tl, [
4302
4302
  i("div", {
4303
4303
  class: "u-card__hd u-aside__hd",
4304
- style: se([{ borderBottomWidth: n.value ? "0px" : "1px" }, { height: "36px", "line-height": "36px", "border-bottom-color": "var(--color-neutral-2)" }])
4304
+ style: ie([{ borderBottomWidth: n.value ? "0px" : "1px" }, { height: "36px", "line-height": "36px", "border-bottom-color": "var(--color-neutral-2)" }])
4305
4305
  }, [
4306
4306
  i("div", null, [
4307
4307
  Y(u.$slots, "title", {}, () => [
4308
- i("strong", null, le(t.title), 1)
4308
+ i("strong", null, ne(t.title), 1)
4309
4309
  ])
4310
4310
  ]),
4311
4311
  i("span", {
@@ -4354,7 +4354,7 @@ const tl = { class: "u-nos" }, ol = {
4354
4354
  lineColor: "#bec2c7",
4355
4355
  textColor: "#999999",
4356
4356
  displayDragPos: !0,
4357
- dragPosFormat: (h) => `${h}px`
4357
+ dragPosFormat: (b) => `${b}px`
4358
4358
  }, g = document.querySelector(o);
4359
4359
  !g || (u = new zt(g, {
4360
4360
  ...s,
@@ -4372,18 +4372,18 @@ const tl = { class: "u-nos" }, ol = {
4372
4372
  if (u && a) {
4373
4373
  const s = n.zoom * 1;
4374
4374
  u.zoom = s, a.zoom = s, s < 0.9 && (u.unit = Math.floor(1 / s), a.unit = Math.floor(1 / s)), setTimeout(() => {
4375
- var g, h;
4375
+ var g, b;
4376
4376
  if (u && a && n.warpContainer) {
4377
4377
  const E = document.querySelector(n.warpContainer);
4378
4378
  if (!E)
4379
4379
  return;
4380
- const F = n.leftOffset + ((g = E == null ? void 0 : E.offsetLeft) != null ? g : 0), k = n.topOffset + ((h = E == null ? void 0 : E.offsetTop) != null ? h : 0);
4380
+ const F = n.leftOffset + ((g = E == null ? void 0 : E.offsetLeft) != null ? g : 0), k = n.topOffset + ((b = E == null ? void 0 : E.offsetTop) != null ? b : 0);
4381
4381
  u.scroll(-F / s), u.scrollGuides(-k / s), a.scroll(-k / s), a.scrollGuides(-(F - 30) / s);
4382
4382
  }
4383
4383
  }, 90);
4384
4384
  }
4385
4385
  }
4386
- return ie(() => n.show, r), ie(() => n.zoom, c), Me(() => {
4386
+ return le(() => n.show, r), le(() => n.zoom, c), Me(() => {
4387
4387
  r(), window.addEventListener("resize", c, !1);
4388
4388
  }), ht(() => {
4389
4389
  window.removeEventListener("resize", c, !1);
@@ -4413,11 +4413,11 @@ const ul = {
4413
4413
  }
4414
4414
  }
4415
4415
  );
4416
- }, h = () => {
4416
+ }, b = () => {
4417
4417
  _n("\u6253\u5370\u9884\u89C8", Pe("#preview_content_design")[0]);
4418
4418
  };
4419
4419
  return t({ show: s, hideModal: c }), (E, F) => {
4420
- const k = y("a-spin"), $ = y("icon-printer"), A = y("a-button"), C = y("icon-download"), b = y("ASpace"), p = y("AModal");
4420
+ const k = y("a-spin"), $ = y("icon-printer"), A = y("a-button"), C = y("icon-download"), h = y("ASpace"), p = y("AModal");
4421
4421
  return m(), x(p, {
4422
4422
  title: "\u6253\u5370\u9884\u89C8",
4423
4423
  visible: n.value,
@@ -4434,7 +4434,7 @@ const ul = {
4434
4434
  i("strong", null, "\u6253\u5370\u9884\u89C8")
4435
4435
  ], -1)),
4436
4436
  i("div", null, [
4437
- d(b, null, {
4437
+ d(h, null, {
4438
4438
  default: f(() => [
4439
4439
  d(A, {
4440
4440
  loading: u.value,
@@ -4453,7 +4453,7 @@ const ul = {
4453
4453
  d(A, {
4454
4454
  type: "primary",
4455
4455
  icon: "printer",
4456
- onClick: je(h, ["stop"])
4456
+ onClick: je(b, ["stop"])
4457
4457
  }, {
4458
4458
  icon: f(() => [
4459
4459
  d(C)
@@ -4489,7 +4489,7 @@ const ul = {
4489
4489
  }, {
4490
4490
  default: f(() => [
4491
4491
  i("div", {
4492
- style: se([{ width: a.value + "mm", overflow: "hidden" }, { margin: "0 auto", background: "#fff", "box-shadow": "rgb(0 0 0 / 12%) 0 0 20px" }])
4492
+ style: ie([{ width: a.value + "mm", overflow: "hidden" }, { margin: "0 auto", background: "#fff", "box-shadow": "rgb(0 0 0 / 12%) 0 0 20px" }])
4493
4493
  }, F[0] || (F[0] = [
4494
4494
  i("div", { id: "preview_content_design" }, null, -1)
4495
4495
  ]), 4)
@@ -4510,7 +4510,7 @@ const ul = {
4510
4510
  return t({ show: (c, s) => {
4511
4511
  n.value = !0, u.value = c, a.value = s;
4512
4512
  }, hideModal: l }), (c, s) => {
4513
- const g = y("icon-lock"), h = y("icon-to-top"), E = y("icon-to-bottom"), F = y("ACard"), k = y("a-spin"), $ = y("a-button"), A = y("AModal");
4513
+ const g = y("icon-lock"), b = y("icon-to-top"), E = y("icon-to-bottom"), F = y("ACard"), k = y("a-spin"), $ = y("a-button"), A = y("AModal");
4514
4514
  return m(), x(A, {
4515
4515
  title: "\u5E2E\u52A9\u6587\u6863",
4516
4516
  visible: n.value,
@@ -4552,7 +4552,7 @@ const ul = {
4552
4552
  }, {
4553
4553
  default: f(() => [
4554
4554
  i("div", {
4555
- style: se([{ width: o.value + "mm", overflow: "hidden" }, { margin: "0 auto" }])
4555
+ style: ie([{ width: o.value + "mm", overflow: "hidden" }, { margin: "0 auto" }])
4556
4556
  }, [
4557
4557
  d(F, null, {
4558
4558
  default: f(() => [
@@ -4670,7 +4670,7 @@ const ul = {
4670
4670
  i("tr", null, [
4671
4671
  i("td", null, [
4672
4672
  i("kbd", null, [
4673
- d(h, { title: "\u7F6E\u4E0E\u9876\u5C42" })
4673
+ d(b, { title: "\u7F6E\u4E0E\u9876\u5C42" })
4674
4674
  ])
4675
4675
  ]),
4676
4676
  s[1] || (s[1] = i("td", null, "\u7B49\u6548\u8BBE\u7F6E \u6837\u5F0F-\u5143\u7D20\u5C42\u7EA7 = 9", -1))
@@ -4901,44 +4901,44 @@ const dl = {
4901
4901
  function u() {
4902
4902
  return t.tpl ? t.tpl.getSelectEls() : [];
4903
4903
  }
4904
- function a(b = !1) {
4905
- var v, B, M, j, O, G, U, K, w;
4904
+ function a(h = !1) {
4905
+ var v, B, T, R, D, G, J, K, w;
4906
4906
  const p = u();
4907
4907
  if (p.length > 1) {
4908
- const D = b ? "top" : "left", R = b ? "height" : "width", oe = p.reduce((ee, re) => {
4909
- var W, Se;
4910
- return ee += (Se = (W = re == null ? void 0 : re.options) == null ? void 0 : W[R]) != null ? Se : 0, ee;
4911
- }, 0), me = p.length - 1, J = ((M = (B = (v = p[me]) == null ? void 0 : v.options) == null ? void 0 : B[D]) != null ? M : 0) + ((G = (O = (j = p[me]) == null ? void 0 : j.options) == null ? void 0 : O[R]) != null ? G : 0) - ((w = (K = (U = p[0]) == null ? void 0 : U.options) == null ? void 0 : K[D]) != null ? w : 0);
4912
- return Math.max(10, +((J - oe) / me).toFixed(2));
4908
+ const S = h ? "top" : "left", j = h ? "height" : "width", ue = p.reduce((W, ae) => {
4909
+ var M, Se;
4910
+ return W += (Se = (M = ae == null ? void 0 : ae.options) == null ? void 0 : M[j]) != null ? Se : 0, W;
4911
+ }, 0), fe = p.length - 1, ve = ((T = (B = (v = p[fe]) == null ? void 0 : v.options) == null ? void 0 : B[S]) != null ? T : 0) + ((G = (D = (R = p[fe]) == null ? void 0 : R.options) == null ? void 0 : D[j]) != null ? G : 0) - ((w = (K = (J = p[0]) == null ? void 0 : J.options) == null ? void 0 : K[S]) != null ? w : 0);
4912
+ return Math.max(10, +((ve - ue) / fe).toFixed(2));
4913
4913
  }
4914
4914
  }
4915
4915
  const l = () => {
4916
- const b = u(), p = b[b.length - 1];
4916
+ const h = u(), p = h[h.length - 1];
4917
4917
  p ? o.value = {
4918
4918
  ...p.options,
4919
4919
  printElementType: p.printElementType.type
4920
4920
  } : o.value = t.elementOptions;
4921
4921
  };
4922
- function r(b, p, v = !0) {
4923
- n.value.updateOption(b, p), v && l();
4922
+ function r(h, p, v = !0) {
4923
+ n.value.updateOption(h, p), v && l();
4924
4924
  }
4925
- function c(b, p) {
4925
+ function c(h, p) {
4926
4926
  const v = { shape: "square", size: "small" };
4927
- return b && o.value && o.value[b] === p ? { ...v, style: { color: "rgb(var(--primary-6))" } } : v;
4927
+ return h && o.value && o.value[h] === p ? { ...v, style: { color: "rgb(var(--primary-6))" } } : v;
4928
4928
  }
4929
- ie(() => t.elementOptions, l);
4929
+ le(() => t.elementOptions, l);
4930
4930
  function s() {
4931
4931
  r("fontWeight", "line-through", !1), r("textDecoration", "none", !1), r("fontSize", "9", !1), r("fontWeight", "400");
4932
4932
  }
4933
- function g(b) {
4933
+ function g(h) {
4934
4934
  if (u().length === 1) {
4935
- let p = b;
4936
- b === "vertical" && (p = "center"), ["left", "vertical", "right"].includes(b) ? r("textAlign", p, !1) : r("textContentVerticalAlign", p, !1);
4935
+ let p = h;
4936
+ h === "vertical" && (p = "center"), ["left", "vertical", "right"].includes(h) ? r("textAlign", p, !1) : r("textContentVerticalAlign", p, !1);
4937
4937
  } else
4938
- t.tpl && t.tpl.setElsAlign(b);
4938
+ t.tpl && t.tpl.setElsAlign(h);
4939
4939
  l();
4940
4940
  }
4941
- const [h] = Re({
4941
+ const [b] = Re({
4942
4942
  visible: !1,
4943
4943
  fields: [],
4944
4944
  list: [],
@@ -4946,122 +4946,112 @@ const dl = {
4946
4946
  { value: "field", label: "\u5B57\u6BB5\u540D" },
4947
4947
  { value: "string", label: "\u56FA\u5B9A\u503C " }
4948
4948
  ]
4949
- }), E = (b) => {
4950
- h.value.list.length > 1 && h.value.list.splice(b, 1);
4949
+ }), E = (h) => {
4950
+ b.value.list.length > 1 && b.value.list.splice(h, 1);
4951
4951
  }, F = () => {
4952
- h.value.list.push({ type: "field", field: "", value: "" });
4952
+ b.value.list.push({ type: "field", field: "", value: "" });
4953
4953
  }, k = () => {
4954
- const b = JSON.stringify(h.value.list);
4955
- r("dataType", "format", !1), r("format", b), Pe(".hiprint-option-item-datatype-input-format").addClass("hiprint-option-item-datatype-format").val(b).trigger("change").show().siblings().hide().removeClass("hiprint-option-item-datatype-format");
4954
+ const h = JSON.stringify(b.value.list);
4955
+ r("dataType", "format", !1), r("format", h), Pe(".hiprint-option-item-datatype-input-format").addClass("hiprint-option-item-datatype-format").val(h).trigger("change").show().siblings().hide().removeClass("hiprint-option-item-datatype-format");
4956
4956
  };
4957
4957
  function $() {
4958
4958
  var p;
4959
- const { printElementType: b } = (p = t.elementOptions) != null ? p : {};
4960
- return String(b) !== "text";
4959
+ const { printElementType: h } = (p = t.elementOptions) != null ? p : {};
4960
+ return String(h) !== "text";
4961
4961
  }
4962
4962
  function A() {
4963
- var B, M;
4964
- const { format: b = "[]", printElementType: p } = (B = t.elementOptions) != null ? B : {};
4963
+ var B, T;
4964
+ const { format: h = "[]", printElementType: p } = (B = t.elementOptions) != null ? B : {};
4965
4965
  if (String(p) !== "text")
4966
4966
  return;
4967
- h.value.visible = !0;
4968
- function v(j, O) {
4969
- return j.reduce((G, U) => {
4970
- var K, w, D;
4971
- if (!U.field)
4972
- return G;
4973
- if (U.type !== "table") {
4974
- const R = (K = O == null ? void 0 : O.text) != null ? K : "", oe = R ? `[${R}.${(w = U.text) != null ? w : U.field}]` : U.text, me = R ? `${O == null ? void 0 : O.field}.${U.field}` : U.field;
4975
- G.push({ label: oe, value: me });
4976
- }
4977
- if (U.type === "object" && ((D = U.fields) == null ? void 0 : D.length)) {
4978
- const R = v(U.fields, U);
4979
- G = G.concat(R);
4980
- }
4981
- return G;
4982
- }, []);
4967
+ b.value.visible = !0;
4968
+ function v(R = []) {
4969
+ return R.filter((D) => D.field && D.type !== "table").map((D) => {
4970
+ var w, S;
4971
+ const G = D.field, K = { label: (w = D.text) != null ? w : G, value: G };
4972
+ return D.type === "object" && ((S = D.fields) == null ? void 0 : S.length) && (K.children = v(D.fields)), K;
4973
+ });
4983
4974
  }
4984
- h.value.fields = v((M = t.tpl) == null ? void 0 : M.fields), h.value.list = [];
4975
+ b.value.fields = v((T = t.tpl) == null ? void 0 : T.fields), b.value.list = [];
4985
4976
  try {
4986
- if (h.value.list = JSON.parse(b), !Array.isArray(h.value.list))
4977
+ if (b.value.list = JSON.parse(h), !Array.isArray(b.value.list))
4987
4978
  throw new Error("not array");
4988
- } catch (j) {
4989
- console.warn(j), h.value.list = [];
4979
+ } catch (R) {
4980
+ console.warn(R), b.value.list = [];
4990
4981
  }
4991
- h.value.list.length || F();
4982
+ b.value.list.length || F();
4992
4983
  }
4993
- function C(b) {
4994
- console.log(b);
4984
+ function C() {
4995
4985
  }
4996
- return (b, p) => {
4997
- const v = y("AButton"), B = y("AButtonGroup"), M = y("ADivider"), j = y("icon-lock"), O = y("icon-to-top"), G = y("icon-to-bottom"), U = y("icon-code"), K = y("ASpace"), w = y("a-select"), D = y("a-input"), R = y("icon-plus"), oe = y("a-button"), me = y("icon-minus"), be = y("AModal");
4986
+ return (h, p) => {
4987
+ const v = y("AButton"), B = y("AButtonGroup"), T = y("ADivider"), R = y("icon-lock"), D = y("icon-to-top"), G = y("icon-to-bottom"), J = y("icon-code"), K = y("ASpace"), w = y("a-select"), S = y("a-cascader"), j = y("a-input"), ue = y("icon-plus"), fe = y("a-button"), be = y("icon-minus"), ve = y("AModal");
4998
4988
  return m(), z("div", dl, [
4999
4989
  i("div", cl, [
5000
- Y(b.$slots, "left", { tools: n.value })
4990
+ Y(h.$slots, "left", { tools: n.value })
5001
4991
  ]),
5002
4992
  i("div", pl, [
5003
4993
  d(K, { size: "mini" }, {
5004
4994
  default: f(() => [
5005
4995
  d(B, { size: "mini" }, {
5006
4996
  default: f(() => [
5007
- d(v, T({ title: "\u9760\u5DE6\u5BF9\u9F50" }, c(), {
5008
- onClick: p[0] || (p[0] = (J) => g("left"))
4997
+ d(v, I({ title: "\u9760\u5DE6\u5BF9\u9F50" }, c(), {
4998
+ onClick: p[0] || (p[0] = (W) => g("left"))
5009
4999
  }), {
5010
5000
  icon: f(() => [
5011
5001
  d(_(X), { type: "icon-24gl-textAlignLeft" })
5012
5002
  ]),
5013
5003
  _: 1
5014
5004
  }, 16),
5015
- d(v, T({ title: "\u5C45\u4E2D\u5BF9\u9F50" }, c(), {
5016
- onClick: p[1] || (p[1] = (J) => g("vertical"))
5005
+ d(v, I({ title: "\u5C45\u4E2D\u5BF9\u9F50" }, c(), {
5006
+ onClick: p[1] || (p[1] = (W) => g("vertical"))
5017
5007
  }), {
5018
5008
  icon: f(() => [
5019
5009
  d(_(X), { type: "icon-24gl-textAlignCenter" })
5020
5010
  ]),
5021
5011
  _: 1
5022
5012
  }, 16),
5023
- d(v, T({ title: "\u9760\u5DE6\u5BF9\u9F50" }, c(), {
5024
- onClick: p[2] || (p[2] = (J) => g("right"))
5013
+ d(v, I({ title: "\u9760\u5DE6\u5BF9\u9F50" }, c(), {
5014
+ onClick: p[2] || (p[2] = (W) => g("right"))
5025
5015
  }), {
5026
5016
  icon: f(() => [
5027
5017
  d(_(X), { type: "icon-24gl-textAlignRight" })
5028
5018
  ]),
5029
5019
  _: 1
5030
5020
  }, 16),
5031
- d(v, T({ title: "\u9876\u7AEF\u5BF9\u9F50" }, c(), {
5032
- onClick: p[3] || (p[3] = (J) => g("top"))
5021
+ d(v, I({ title: "\u9876\u7AEF\u5BF9\u9F50" }, c(), {
5022
+ onClick: p[3] || (p[3] = (W) => g("top"))
5033
5023
  }), {
5034
5024
  icon: f(() => [
5035
5025
  d(_(X), { type: "icon-v-textAlignTop" })
5036
5026
  ]),
5037
5027
  _: 1
5038
5028
  }, 16),
5039
- d(v, T({ title: "\u5C45\u4E2D\u5BF9\u9F50" }, c(), {
5040
- onClick: p[4] || (p[4] = (J) => g("horizontal"))
5029
+ d(v, I({ title: "\u5C45\u4E2D\u5BF9\u9F50" }, c(), {
5030
+ onClick: p[4] || (p[4] = (W) => g("horizontal"))
5041
5031
  }), {
5042
5032
  icon: f(() => [
5043
5033
  d(_(X), { type: "icon-v-textAlignCenter" })
5044
5034
  ]),
5045
5035
  _: 1
5046
5036
  }, 16),
5047
- d(v, T({ title: "\u5E95\u90E8\u5BF9\u9F50" }, c(), {
5048
- onClick: p[5] || (p[5] = (J) => g("bottom"))
5037
+ d(v, I({ title: "\u5E95\u90E8\u5BF9\u9F50" }, c(), {
5038
+ onClick: p[5] || (p[5] = (W) => g("bottom"))
5049
5039
  }), {
5050
5040
  icon: f(() => [
5051
5041
  d(_(X), { type: "icon-v-textAlignBottom" })
5052
5042
  ]),
5053
5043
  _: 1
5054
5044
  }, 16),
5055
- d(v, T({ title: "\u6C34\u5E73\u6392\u7248" }, c(), {
5056
- onClick: p[6] || (p[6] = (J) => n.value.setElsSpace(!0, a()))
5045
+ d(v, I({ title: "\u6C34\u5E73\u6392\u7248" }, c(), {
5046
+ onClick: p[6] || (p[6] = (W) => n.value.setElsSpace(!0, a()))
5057
5047
  }), {
5058
5048
  icon: f(() => [
5059
5049
  d(_(X), { type: "icon-v-lineSpacing" })
5060
5050
  ]),
5061
5051
  _: 1
5062
5052
  }, 16),
5063
- d(v, T({ title: "\u5782\u76F4\u6392\u7248" }, c(), {
5064
- onClick: p[7] || (p[7] = (J) => n.value.setElsSpace(!1, a(!0)))
5053
+ d(v, I({ title: "\u5782\u76F4\u6392\u7248" }, c(), {
5054
+ onClick: p[7] || (p[7] = (W) => n.value.setElsSpace(!1, a(!0)))
5065
5055
  }), {
5066
5056
  icon: f(() => [
5067
5057
  d(_(X), { type: "icon-24gl-lineSpacing" })
@@ -5071,54 +5061,54 @@ const dl = {
5071
5061
  ]),
5072
5062
  _: 1
5073
5063
  }),
5074
- d(M, {
5064
+ d(T, {
5075
5065
  direction: "vertical",
5076
5066
  margin: 2
5077
5067
  }),
5078
5068
  d(B, { size: "mini" }, {
5079
5069
  default: f(() => [
5080
- d(v, T({ title: "\u6807\u9898" }, c(), {
5081
- onClick: p[8] || (p[8] = (J) => r("fontSize", "19"))
5070
+ d(v, I({ title: "\u6807\u9898" }, c(), {
5071
+ onClick: p[8] || (p[8] = (W) => r("fontSize", "19"))
5082
5072
  }), {
5083
5073
  icon: f(() => [
5084
5074
  d(_(X), { type: "icon-24gl-title" })
5085
5075
  ]),
5086
5076
  _: 1
5087
5077
  }, 16),
5088
- d(v, T({ title: "\u6B63\u6587" }, c(), {
5089
- onClick: p[9] || (p[9] = (J) => r("fontSize", "9"))
5078
+ d(v, I({ title: "\u6B63\u6587" }, c(), {
5079
+ onClick: p[9] || (p[9] = (W) => r("fontSize", "9"))
5090
5080
  }), {
5091
5081
  icon: f(() => [
5092
5082
  d(_(X), { type: "icon-24gl-fontSize" })
5093
5083
  ]),
5094
5084
  _: 1
5095
5085
  }, 16),
5096
- d(v, T({ title: "\u52A0\u7C97" }, c(), {
5097
- onClick: p[10] || (p[10] = (J) => r("fontWeight", "bold"))
5086
+ d(v, I({ title: "\u52A0\u7C97" }, c(), {
5087
+ onClick: p[10] || (p[10] = (W) => r("fontWeight", "bold"))
5098
5088
  }), {
5099
5089
  icon: f(() => [
5100
5090
  d(_(X), { type: "icon-24gl-bold" })
5101
5091
  ]),
5102
5092
  _: 1
5103
5093
  }, 16),
5104
- d(v, T({ title: "\u4E0B\u5212\u7EBF" }, c(), {
5105
- onClick: p[11] || (p[11] = (J) => r("textDecoration", "underline"))
5094
+ d(v, I({ title: "\u4E0B\u5212\u7EBF" }, c(), {
5095
+ onClick: p[11] || (p[11] = (W) => r("textDecoration", "underline"))
5106
5096
  }), {
5107
5097
  icon: f(() => [
5108
5098
  d(_(X), { type: "icon-24gl-underline" })
5109
5099
  ]),
5110
5100
  _: 1
5111
5101
  }, 16),
5112
- d(v, T({ title: "\u5220\u9664\u7EBF" }, c(), {
5113
- onClick: p[12] || (p[12] = (J) => r("textDecoration", "line-through"))
5102
+ d(v, I({ title: "\u5220\u9664\u7EBF" }, c(), {
5103
+ onClick: p[12] || (p[12] = (W) => r("textDecoration", "line-through"))
5114
5104
  }), {
5115
5105
  icon: f(() => [
5116
5106
  d(_(X), { type: "icon-24gl-strikethrough2" })
5117
5107
  ]),
5118
5108
  _: 1
5119
5109
  }, 16),
5120
- d(v, T({ title: "\u6E05\u9664\u683C\u5F0F" }, c(), {
5121
- onClick: p[13] || (p[13] = (J) => s())
5110
+ d(v, I({ title: "\u6E05\u9664\u683C\u5F0F" }, c(), {
5111
+ onClick: p[13] || (p[13] = (W) => s())
5122
5112
  }), {
5123
5113
  icon: f(() => [
5124
5114
  d(_(X), { type: "icon-24gl-formatClear" })
@@ -5128,36 +5118,36 @@ const dl = {
5128
5118
  ]),
5129
5119
  _: 1
5130
5120
  }),
5131
- d(M, {
5121
+ d(T, {
5132
5122
  direction: "vertical",
5133
5123
  margin: 2
5134
5124
  }),
5135
5125
  d(B, null, {
5136
5126
  default: f(() => [
5137
- d(v, T(c("draggable", !1), {
5127
+ d(v, I(c("draggable", !1), {
5138
5128
  title: "\u9501\u5B9A/\u53D6\u6D88",
5139
- onClick: p[14] || (p[14] = (J) => {
5140
- var ee;
5141
- return r("draggable", ((ee = o.value) == null ? void 0 : ee.draggable) === !1);
5129
+ onClick: p[14] || (p[14] = (W) => {
5130
+ var ae;
5131
+ return r("draggable", ((ae = o.value) == null ? void 0 : ae.draggable) === !1);
5142
5132
  })
5143
5133
  }), {
5144
5134
  icon: f(() => [
5145
- d(j)
5135
+ d(R)
5146
5136
  ]),
5147
5137
  _: 1
5148
5138
  }, 16),
5149
- d(v, T(c("zIndex", "9"), {
5139
+ d(v, I(c("zIndex", "9"), {
5150
5140
  title: "\u7F6E\u4E8E\u9876\u5C42",
5151
- onClick: p[15] || (p[15] = (J) => r("zIndex", "9"))
5141
+ onClick: p[15] || (p[15] = (W) => r("zIndex", "9"))
5152
5142
  }), {
5153
5143
  icon: f(() => [
5154
- d(O)
5144
+ d(D)
5155
5145
  ]),
5156
5146
  _: 1
5157
5147
  }, 16),
5158
- d(v, T(c("zIndex", "1"), {
5148
+ d(v, I(c("zIndex", "1"), {
5159
5149
  title: "\u7F6E\u4E8E\u5E95\u5C42",
5160
- onClick: p[16] || (p[16] = (J) => r("zIndex", "1"))
5150
+ onClick: p[16] || (p[16] = (W) => r("zIndex", "1"))
5161
5151
  }), {
5162
5152
  icon: f(() => [
5163
5153
  d(G)
@@ -5167,17 +5157,17 @@ const dl = {
5167
5157
  ]),
5168
5158
  _: 1
5169
5159
  }),
5170
- d(M, {
5160
+ d(T, {
5171
5161
  direction: "vertical",
5172
5162
  margin: 2
5173
5163
  }),
5174
- d(v, T(c(), {
5164
+ d(v, I(c(), {
5175
5165
  title: "\u9AD8\u7EA7",
5176
5166
  disabled: $(),
5177
- onClick: p[17] || (p[17] = (J) => A())
5167
+ onClick: p[17] || (p[17] = (W) => A())
5178
5168
  }), {
5179
5169
  icon: f(() => [
5180
- d(U)
5170
+ d(J)
5181
5171
  ]),
5182
5172
  _: 1
5183
5173
  }, 16, ["disabled"])
@@ -5186,65 +5176,65 @@ const dl = {
5186
5176
  })
5187
5177
  ]),
5188
5178
  i("div", fl, [
5189
- Y(b.$slots, "right", { tools: n.value })
5179
+ Y(h.$slots, "right", { tools: n.value })
5190
5180
  ]),
5191
- d(be, {
5192
- visible: _(h).visible,
5193
- "onUpdate:visible": p[19] || (p[19] = (J) => _(h).visible = J),
5181
+ d(ve, {
5182
+ visible: _(b).visible,
5183
+ "onUpdate:visible": p[19] || (p[19] = (W) => _(b).visible = W),
5194
5184
  width: 960,
5195
5185
  title: "\u81EA\u5B9A\u4E49\u683C\u5F0F",
5196
5186
  "title-align": "start",
5197
5187
  "unmount-on-close": "",
5198
- onOk: p[20] || (p[20] = (J) => k())
5188
+ onOk: p[20] || (p[20] = (W) => k())
5199
5189
  }, {
5200
5190
  default: f(() => [
5201
5191
  i("div", ml, [
5202
- (m(!0), z(ne, null, pe(_(h).list, (J, ee) => (m(), z("div", {
5203
- key: ee,
5192
+ (m(!0), z(te, null, ce(_(b).list, (W, ae) => (m(), z("div", {
5193
+ key: ae,
5204
5194
  class: "u-flex u-mt"
5205
5195
  }, [
5206
5196
  i("div", gl, [
5207
5197
  p[21] || (p[21] = i("span", { style: { width: "5em", padding: "0 0.5em" } }, "\u7C7B\u578B", -1)),
5208
5198
  d(w, {
5209
- modelValue: J.type,
5210
- "onUpdate:modelValue": (re) => J.type = re,
5211
- options: _(h).types
5199
+ modelValue: W.type,
5200
+ "onUpdate:modelValue": (M) => W.type = M,
5201
+ options: _(b).types
5212
5202
  }, null, 8, ["modelValue", "onUpdate:modelValue", "options"])
5213
5203
  ]),
5214
- J.type === "field" ? (m(), z("div", vl, [
5204
+ W.type === "field" ? (m(), z("div", vl, [
5215
5205
  p[22] || (p[22] = i("span", { style: { width: "5em", padding: "0 0.5em" } }, "\u5B57\u6BB5", -1)),
5216
- d(w, {
5217
- modelValue: J.field,
5218
- "onUpdate:modelValue": (re) => J.field = re,
5219
- options: _(h).fields,
5206
+ d(S, {
5207
+ "model-value": Array.isArray(W.field) ? W.field : String(W.field).split("."),
5208
+ options: _(b).fields,
5220
5209
  "allow-search": "",
5221
5210
  "allow-create": "",
5222
- "trigger-props": { autoFitPopupMinWidth: !0 },
5211
+ "path-mode": "",
5212
+ "onUpdate:modelValue": (M) => W.field = Array.isArray(M) ? M.join(".") : M,
5223
5213
  onChange: C
5224
- }, null, 8, ["modelValue", "onUpdate:modelValue", "options"])
5214
+ }, null, 8, ["model-value", "options", "onUpdate:modelValue"])
5225
5215
  ])) : (m(), z("div", _l, [
5226
5216
  p[23] || (p[23] = i("span", { style: { width: "5em", padding: "0 0.5em" } }, "\u5185\u5BB9", -1)),
5227
- d(D, {
5228
- modelValue: J.value,
5229
- "onUpdate:modelValue": (re) => J.value = re
5217
+ d(j, {
5218
+ modelValue: W.value,
5219
+ "onUpdate:modelValue": (M) => W.value = M
5230
5220
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
5231
5221
  ])),
5232
5222
  i("div", yl, [
5233
- d(oe, {
5234
- onClick: p[18] || (p[18] = (re) => F())
5223
+ d(fe, {
5224
+ onClick: p[18] || (p[18] = (M) => F())
5235
5225
  }, {
5236
5226
  icon: f(() => [
5237
- d(R)
5227
+ d(ue)
5238
5228
  ]),
5239
5229
  _: 1
5240
5230
  })
5241
5231
  ]),
5242
5232
  i("div", bl, [
5243
- d(oe, {
5244
- onClick: (re) => E(ee)
5233
+ d(fe, {
5234
+ onClick: (M) => E(ae)
5245
5235
  }, {
5246
5236
  icon: f(() => [
5247
- d(me)
5237
+ d(be)
5248
5238
  ]),
5249
5239
  _: 2
5250
5240
  }, 1032, ["onClick"])
@@ -5324,7 +5314,7 @@ const fo = "\u901A\u7528\u63A7\u4EF6", Le = "defaultModule", Fl = () => {
5324
5314
  options: { ...c, field: a }
5325
5315
  };
5326
5316
  if (r === "table") {
5327
- const g = [Nt(u.fields).map((h) => ({ title: h.text, align: "center", field: h.field, width: 100 }))];
5317
+ const g = [Nt(u.fields).map((b) => ({ title: b.text, align: "center", field: b.field, width: 100 }))];
5328
5318
  s.columns = g, s.options.width = null;
5329
5319
  }
5330
5320
  return {
@@ -5416,7 +5406,7 @@ const fo = "\u901A\u7528\u63A7\u4EF6", Le = "defaultModule", Fl = () => {
5416
5406
  settingContainer: l.panelContainer
5417
5407
  }), a.design(l.mainContainer, { grid: !1 }), Pe(".hiprint_rul_wrapper").remove(), { hiprintTemplate: a, providers: p };
5418
5408
  }
5419
- const s = q(), g = q(), h = q(), E = q(), F = q(), k = q();
5409
+ const s = q(), g = q(), b = q(), E = q(), F = q(), k = q();
5420
5410
  function $() {
5421
5411
  const { hiprintTemplate: p, providers: v } = c();
5422
5412
  F.value = v[1].list, r(), E.value = p, rl(p, {
@@ -5430,12 +5420,12 @@ const fo = "\u901A\u7528\u63A7\u4EF6", Le = "defaultModule", Fl = () => {
5430
5420
  k.value = null;
5431
5421
  },
5432
5422
  onData(B) {
5433
- var M;
5434
- B === "\u8C03\u6574\u5927\u5C0F" && typeof ((M = s.value) == null ? void 0 : M.onResize) == "function" && s.value.onResize();
5423
+ var T;
5424
+ B === "\u8C03\u6574\u5927\u5C0F" && typeof ((T = s.value) == null ? void 0 : T.onResize) == "function" && s.value.onResize();
5435
5425
  }
5436
5426
  });
5437
5427
  }
5438
- ie(() => o.fields, $), ie(
5428
+ le(() => o.fields, $), le(
5439
5429
  () => o.template,
5440
5430
  () => {
5441
5431
  E.value && E.value.update(o.template);
@@ -5446,13 +5436,13 @@ const fo = "\u901A\u7528\u63A7\u4EF6", Le = "defaultModule", Fl = () => {
5446
5436
  }
5447
5437
  function C() {
5448
5438
  var p;
5449
- (p = h.value) != null && p.show && h.value.show(E.value, o.printData);
5439
+ (p = b.value) != null && p.show && b.value.show(E.value, o.printData);
5450
5440
  }
5451
- function b() {
5441
+ function h() {
5452
5442
  E.value && u("onSave", E.value.getJson());
5453
5443
  }
5454
5444
  return Me($), t({ hiprintTemplate: E, selectedOptions: k }), (p, v) => {
5455
- const B = y("icon-folder"), M = y("AEmpty"), j = y("icon-question-circle"), O = y("AButton"), G = y("AButtonGroup");
5445
+ const B = y("icon-folder"), T = y("AEmpty"), R = y("icon-question-circle"), D = y("AButton"), G = y("AButtonGroup");
5456
5446
  return m(), z("div", Al, [
5457
5447
  i("div", wl, [
5458
5448
  i("div", Bl, [
@@ -5465,7 +5455,7 @@ const fo = "\u901A\u7528\u63A7\u4EF6", Le = "defaultModule", Fl = () => {
5465
5455
  d(ct, { title: "\u57FA\u7840" }, {
5466
5456
  default: f(() => [
5467
5457
  i("a", {
5468
- class: ce(`ep-draggable-item ${Fe}`),
5458
+ class: de(`ep-draggable-item ${Fe}`),
5469
5459
  tid: "defaultModule.text"
5470
5460
  }, [
5471
5461
  d(_(X), {
@@ -5474,7 +5464,7 @@ const fo = "\u901A\u7528\u63A7\u4EF6", Le = "defaultModule", Fl = () => {
5474
5464
  v[0] || (v[0] = P(" \u6587\u672C "))
5475
5465
  ], 2),
5476
5466
  i("a", {
5477
- class: ce(`ep-draggable-item ${Fe}`),
5467
+ class: de(`ep-draggable-item ${Fe}`),
5478
5468
  tid: "defaultModule.number"
5479
5469
  }, [
5480
5470
  d(_(X), {
@@ -5483,7 +5473,7 @@ const fo = "\u901A\u7528\u63A7\u4EF6", Le = "defaultModule", Fl = () => {
5483
5473
  v[1] || (v[1] = P(" \u6570\u503C "))
5484
5474
  ], 2),
5485
5475
  i("a", {
5486
- class: ce(`ep-draggable-item ${Fe}`),
5476
+ class: de(`ep-draggable-item ${Fe}`),
5487
5477
  tid: "defaultModule.table"
5488
5478
  }, [
5489
5479
  d(_(X), {
@@ -5492,7 +5482,7 @@ const fo = "\u901A\u7528\u63A7\u4EF6", Le = "defaultModule", Fl = () => {
5492
5482
  v[2] || (v[2] = P(" \u8868\u683C "))
5493
5483
  ], 2),
5494
5484
  i("a", {
5495
- class: ce(`ep-draggable-item ${Fe}`),
5485
+ class: de(`ep-draggable-item ${Fe}`),
5496
5486
  tid: "defaultModule.image"
5497
5487
  }, [
5498
5488
  d(_(X), {
@@ -5501,7 +5491,7 @@ const fo = "\u901A\u7528\u63A7\u4EF6", Le = "defaultModule", Fl = () => {
5501
5491
  v[3] || (v[3] = P(" \u56FE\u7247 "))
5502
5492
  ], 2),
5503
5493
  i("a", {
5504
- class: ce(`ep-draggable-item ${Fe}`),
5494
+ class: de(`ep-draggable-item ${Fe}`),
5505
5495
  tid: "defaultModule.longText"
5506
5496
  }, [
5507
5497
  d(_(X), {
@@ -5510,7 +5500,7 @@ const fo = "\u901A\u7528\u63A7\u4EF6", Le = "defaultModule", Fl = () => {
5510
5500
  v[4] || (v[4] = P(" \u957F\u6587\u672C "))
5511
5501
  ], 2),
5512
5502
  i("a", {
5513
- class: ce(`ep-draggable-item ${Fe}`),
5503
+ class: de(`ep-draggable-item ${Fe}`),
5514
5504
  tid: "defaultModule.hline"
5515
5505
  }, [
5516
5506
  d(_(X), {
@@ -5519,7 +5509,7 @@ const fo = "\u901A\u7528\u63A7\u4EF6", Le = "defaultModule", Fl = () => {
5519
5509
  v[5] || (v[5] = P(" \u6C34\u5E73\u7EBF "))
5520
5510
  ], 2),
5521
5511
  i("a", {
5522
- class: ce(`ep-draggable-item ${Fe}`),
5512
+ class: de(`ep-draggable-item ${Fe}`),
5523
5513
  tid: "defaultModule.vline"
5524
5514
  }, [
5525
5515
  d(_(X), {
@@ -5528,7 +5518,7 @@ const fo = "\u901A\u7528\u63A7\u4EF6", Le = "defaultModule", Fl = () => {
5528
5518
  v[6] || (v[6] = P(" \u5782\u76F4\u7EBF "))
5529
5519
  ], 2),
5530
5520
  i("a", {
5531
- class: ce(`ep-draggable-item ${Fe}`),
5521
+ class: de(`ep-draggable-item ${Fe}`),
5532
5522
  tid: "defaultModule.rect"
5533
5523
  }, [
5534
5524
  d(_(X), {
@@ -5537,7 +5527,7 @@ const fo = "\u901A\u7528\u63A7\u4EF6", Le = "defaultModule", Fl = () => {
5537
5527
  v[7] || (v[7] = P(" \u77E9\u5F62 "))
5538
5528
  ], 2),
5539
5529
  i("a", {
5540
- class: ce(`ep-draggable-item ${Fe}`),
5530
+ class: de(`ep-draggable-item ${Fe}`),
5541
5531
  tid: "defaultModule.oval"
5542
5532
  }, [
5543
5533
  d(_(X), {
@@ -5551,7 +5541,7 @@ const fo = "\u901A\u7528\u63A7\u4EF6", Le = "defaultModule", Fl = () => {
5551
5541
  d(ct, { title: "\u6761\u7801" }, {
5552
5542
  default: f(() => [
5553
5543
  i("a", {
5554
- class: ce(`ep-draggable-item ${Fe}`),
5544
+ class: de(`ep-draggable-item ${Fe}`),
5555
5545
  tid: "defaultModule.barcode"
5556
5546
  }, [
5557
5547
  d(_(X), {
@@ -5560,7 +5550,7 @@ const fo = "\u901A\u7528\u63A7\u4EF6", Le = "defaultModule", Fl = () => {
5560
5550
  v[9] || (v[9] = P(" \u6761\u5F62\u7801 "))
5561
5551
  ], 2),
5562
5552
  i("a", {
5563
- class: ce(`ep-draggable-item ${Fe}`),
5553
+ class: de(`ep-draggable-item ${Fe}`),
5564
5554
  tid: "defaultModule.qrcode"
5565
5555
  }, [
5566
5556
  d(_(X), {
@@ -5573,24 +5563,24 @@ const fo = "\u901A\u7528\u63A7\u4EF6", Le = "defaultModule", Fl = () => {
5573
5563
  }),
5574
5564
  d(ct, { title: "\u4E1A\u52A1\u7EC4\u4EF6" }, {
5575
5565
  default: f(() => {
5576
- var U;
5566
+ var J;
5577
5567
  return [
5578
- (m(!0), z(ne, null, pe(F.value, (K) => (m(), z("a", {
5568
+ (m(!0), z(te, null, ce(F.value, (K) => (m(), z("a", {
5579
5569
  key: K.tid,
5580
- class: ce(`ep-draggable-item ${Fe}`),
5570
+ class: de(`ep-draggable-item ${Fe}`),
5581
5571
  tid: K.tid
5582
5572
  }, [
5583
5573
  K.sourceType === "object" ? (m(), z("div", Sl, [
5584
5574
  d(B),
5585
- P(" " + le(K.title), 1)
5575
+ P(" " + ne(K.title), 1)
5586
5576
  ])) : (m(), z("div", Ol, [
5587
5577
  d(_(X), {
5588
5578
  type: _(he)(K.type)
5589
5579
  }, null, 8, ["type"]),
5590
- P(" " + le(K.title), 1)
5580
+ P(" " + ne(K.title), 1)
5591
5581
  ]))
5592
5582
  ], 10, Dl))), 128)),
5593
- (U = F.value) != null && U.length ? L("", !0) : (m(), x(M, { key: 0 }, {
5583
+ (J = F.value) != null && J.length ? L("", !0) : (m(), x(T, { key: 0 }, {
5594
5584
  default: f(() => v[11] || (v[11] = [
5595
5585
  i("div", { style: { "font-size": "12px" } }, "\u6682\u65E0\u6570\u636E", -1)
5596
5586
  ])),
@@ -5611,24 +5601,24 @@ const fo = "\u901A\u7528\u63A7\u4EF6", Le = "defaultModule", Fl = () => {
5611
5601
  tpl: E.value,
5612
5602
  "element-options": k.value
5613
5603
  }, {
5614
- left: f(({ tools: U }) => [
5615
- Y(p.$slots, "toolbar-left", { tools: U })
5604
+ left: f(({ tools: J }) => [
5605
+ Y(p.$slots, "toolbar-left", { tools: J })
5616
5606
  ]),
5617
- right: f(({ tools: U }) => [
5618
- Y(p.$slots, "toolbar-right", { tools: U }),
5607
+ right: f(({ tools: J }) => [
5608
+ Y(p.$slots, "toolbar-right", { tools: J }),
5619
5609
  d(G, { size: "small" }, {
5620
5610
  default: f(() => [
5621
- d(O, {
5611
+ d(D, {
5622
5612
  shape: "square",
5623
5613
  title: "\u5E2E\u52A9",
5624
5614
  onClick: C
5625
5615
  }, {
5626
5616
  icon: f(() => [
5627
- d(j)
5617
+ d(R)
5628
5618
  ]),
5629
5619
  _: 1
5630
5620
  }),
5631
- d(O, {
5621
+ d(D, {
5632
5622
  shape: "square",
5633
5623
  title: "\u9884\u89C8",
5634
5624
  onClick: A
@@ -5638,10 +5628,10 @@ const fo = "\u901A\u7528\u63A7\u4EF6", Le = "defaultModule", Fl = () => {
5638
5628
  ]),
5639
5629
  _: 1
5640
5630
  }),
5641
- d(O, {
5631
+ d(D, {
5642
5632
  shape: "square",
5643
5633
  title: "\u4FDD\u5B58",
5644
- onClick: b
5634
+ onClick: h
5645
5635
  }, {
5646
5636
  icon: f(() => [
5647
5637
  d(_(X), { type: "icon-24gl-floppyDisk" })
@@ -5677,7 +5667,7 @@ const fo = "\u901A\u7528\u63A7\u4EF6", Le = "defaultModule", Fl = () => {
5677
5667
  ], -1)),
5678
5668
  i("div", Tl, [
5679
5669
  i("div", Il, [
5680
- d(M)
5670
+ d(T)
5681
5671
  ])
5682
5672
  ])
5683
5673
  ])
@@ -5688,7 +5678,7 @@ const fo = "\u901A\u7528\u63A7\u4EF6", Le = "defaultModule", Fl = () => {
5688
5678
  }, null, 512),
5689
5679
  d(sl, {
5690
5680
  ref_key: "kbdRef",
5691
- ref: h
5681
+ ref: b
5692
5682
  }, null, 512)
5693
5683
  ]);
5694
5684
  };