@aspire-ui/element-component-pro 1.0.22 → 1.0.24

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.
@@ -1,4 +1,4 @@
1
- import { reactive as et, defineComponent as ne, h as de, useSlots as he, ref as D, computed as w, onMounted as me, nextTick as Le, onUnmounted as Be, watch as U, unref as pe } from "vue";
1
+ import { reactive as et, defineComponent as ne, h as de, useSlots as he, ref as D, computed as w, onMounted as me, nextTick as Le, onUnmounted as Be, watch as J, unref as pe } from "vue";
2
2
  import { MessageBox as tt } from "element-ui";
3
3
  const fe = et({});
4
4
  function Te(s, e) {
@@ -7,14 +7,14 @@ function Te(s, e) {
7
7
  for (const n in e)
8
8
  if (Object.prototype.hasOwnProperty.call(e, n)) {
9
9
  const t = s[n], o = e[n];
10
- Oe(o) ? Oe(t) ? s[n] = Te(
10
+ Ie(o) || n !== "components" ? Ie(t) ? s[n] = Te(
11
11
  t,
12
12
  o
13
13
  ) : s[n] = { ...o } : s[n] = o;
14
14
  }
15
15
  return s;
16
16
  }
17
- function Oe(s) {
17
+ function Ie(s) {
18
18
  if (!s || typeof s != "object")
19
19
  return !1;
20
20
  const e = Object.getPrototypeOf(s);
@@ -22,7 +22,7 @@ function Oe(s) {
22
22
  }
23
23
  function Re() {
24
24
  return {
25
- getSetting: (t) => JSON.parse(JSON.stringify(t === void 0 ? fe : fe[t] ?? {})),
25
+ getSetting: (t) => t === void 0 ? { ...fe } : { ...fe[t] ?? {} },
26
26
  setSetting: (t, o) => {
27
27
  const r = fe[t];
28
28
  r ? fe[t] = Te({ ...r }, o) : fe[t] = { ...o };
@@ -187,10 +187,10 @@ const st = at.exports, rt = /* @__PURE__ */ ne({
187
187
  setup(s, { expose: e, emit: n }) {
188
188
  const t = s, o = he(), r = D(), a = D(), f = D(0), m = D(t.loading ?? !1), _ = D([]), z = w(() => {
189
189
  const l = _.value;
190
- if (!l.length)
190
+ if (!k.value || !l.length)
191
191
  return l;
192
- const { page: c, pageSize: g } = E.value, C = (c - 1) * g;
193
- return l.slice(C, C + g);
192
+ const { page: c, pageSize: b } = E.value, C = (c - 1) * b;
193
+ return l.slice(C, C + b);
194
194
  }), S = D({}), x = D([]), p = D({}), v = D([]), B = D(null), { mergeSettings: V } = Re(), F = w(() => V("ProTable", { ...t, ...p.value })), A = w(() => {
195
195
  const l = F.value.pagination;
196
196
  return l && typeof l == "object" ? {
@@ -202,71 +202,69 @@ const st = at.exports, rt = /* @__PURE__ */ ne({
202
202
  pageSize: A.value.pageSize,
203
203
  pageSizes: A.value.pageSizes,
204
204
  total: 0
205
- }), I = w(() => !!F.value.title || !!o.tableTitle || !!o.toolbar), k = w(() => B.value !== null ? B.value : !!t.pagination && typeof t.pagination == "object"), u = w(() => F.value.pagination && typeof F.value.pagination == "object" ? !!F.value.pagination.small : !1), W = w(() => F.value.pagination && typeof F.value.pagination == "object" ? !!F.value.pagination.background : !1), y = w(() => F.value.rowKey || "id"), j = w(() => new Set(v.value.map((l) => l[y.value]))), q = w(
206
- () => x.value.filter((l) => !l.hideInTable && !l.defaultHidden)
207
- ), X = w(() => {
208
- const l = /* @__PURE__ */ new Map(), c = (g) => {
209
- for (const C of g)
210
- C.children && C.children.length > 0 ? c(C.children) : C.id && l.set(C.id, C);
205
+ }), N = w(() => !!F.value.title || !!o.tableTitle || !!o.toolbar), k = w(() => B.value !== null ? B.value : !!t.pagination && typeof t.pagination == "object"), u = w(() => F.value.pagination && typeof F.value.pagination == "object" ? !!F.value.pagination.small : !1), W = w(() => F.value.pagination && typeof F.value.pagination == "object" ? !!F.value.pagination.background : !1), y = w(() => F.value.rowKey || "id"), j = w(() => new Set(v.value.map((l) => l[y.value]))), q = w(() => (console.log(x.value), x.value.filter((l) => !l.hideInTable && !l.defaultHidden))), X = w(() => {
206
+ const l = /* @__PURE__ */ new Map(), c = (b) => {
207
+ for (const C of b)
208
+ C.children && C.children.length > 0 ? c(C.children) : C.dataIndex && l.set(C.dataIndex, C);
211
209
  };
212
210
  return c(q.value), l;
213
211
  }), G = w(() => Array.from(X.value.values())), ee = w(() => {
214
- var c, g;
212
+ var c, b;
215
213
  let l = 0;
216
- return F.value.rowSelection && (l += Number(F.value.rowSelection.width) || 48), F.value.showIndexColumn && (l += Number((c = F.value.indexColumnProps) == null ? void 0 : c.width) || 60), F.value.actionColumn && (l += Number((g = F.value.actionColumn) == null ? void 0 : g.width) || 150), l;
217
- }), Z = (l) => typeof l == "number" && l > 0, Y = w(() => G.value.filter((c) => O(c) && Z(c.width)).reduce((c, g) => c + (typeof g.width == "number" ? g.width : 0), 0)), te = w(() => G.value.filter((c) => O(c) && typeof c.width == "string").reduce((c, g) => c + (Number(b(g)) || 80), 0)), J = (l) => l == null ? null : typeof l == "number" ? l : parseInt(String(l).replace(/px$/i, ""), 10) || null, le = (l) => {
214
+ return F.value.rowSelection && (l += Number(F.value.rowSelection.width) || 48), F.value.showIndexColumn && (l += Number((c = F.value.indexColumnProps) == null ? void 0 : c.width) || 60), F.value.actionColumn && (l += Number((b = F.value.actionColumn) == null ? void 0 : b.width) || 150), l;
215
+ }), Z = (l) => typeof l == "number" && l > 0, Y = w(() => G.value.filter((c) => I(c) && Z(c.width)).reduce((c, b) => c + (typeof b.width == "number" ? b.width : 0), 0)), te = w(() => G.value.filter((c) => I(c) && typeof c.width == "string").reduce((c, b) => c + (Number(g(b)) || 80), 0)), U = (l) => l == null ? null : typeof l == "number" ? l : parseInt(String(l).replace(/px$/i, ""), 10) || null, le = (l) => {
218
216
  if (!F.value.spanMethod)
219
217
  return [1, 1];
220
- const c = X.value.get(l.column.id);
218
+ const c = X.value.get(l.column.property);
221
219
  return F.value.spanMethod({
222
220
  ...l,
223
- column: { ...c, dataIndex: l.column.property, title: l.column.label }
221
+ column: c ? { ...c, ...l.column } : { ...l.column, dataIndex: l.column.property, title: l.column.label }
224
222
  });
225
- }, b = (l) => {
223
+ }, g = (l) => {
226
224
  const c = l.width;
227
225
  if (Z(c) && Y.value > 0 && f.value > 0 && typeof c == "number") {
228
- const g = f.value - ee.value - te.value;
229
- let C = Math.floor(g * c / Y.value);
230
- const H = J(l.minWidth) ?? 60, N = J(l.maxWidth);
231
- return C = Math.max(H, C), N != null && (C = Math.min(N, C)), C;
226
+ const b = f.value - ee.value - te.value;
227
+ let C = Math.floor(b * c / Y.value);
228
+ const H = U(l.minWidth) ?? 60, O = U(l.maxWidth);
229
+ return C = Math.max(H, C), O != null && (C = Math.min(O, C)), C;
232
230
  }
233
231
  if (typeof c == "string") {
234
- const g = J(c) ?? 80, C = J(l.minWidth), H = J(l.maxWidth);
235
- let N = g;
236
- return C != null && (N = Math.max(C, N)), H != null && (N = Math.min(H, N)), N;
232
+ const b = U(c) ?? 80, C = U(l.minWidth), H = U(l.maxWidth);
233
+ let O = b;
234
+ return C != null && (O = Math.max(C, O)), H != null && (O = Math.min(H, O)), O;
237
235
  }
238
236
  return l.minWidth;
239
- }, O = (l) => l.ifShow === !1 ? !1 : typeof l.ifShow == "function" ? l.ifShow({ column: l }) : !0, $ = w(() => {
237
+ }, I = (l) => l.ifShow === !1 ? !1 : typeof l.ifShow == "function" ? l.ifShow({ column: l }) : !0, $ = w(() => {
240
238
  var c;
241
239
  const l = (c = F.value.rowSelection) == null ? void 0 : c.getCheckboxProps;
242
- return l ? z.value.filter((g) => {
240
+ return l ? z.value.filter((b) => {
243
241
  var C;
244
- return !((C = l(g)) != null && C.disabled);
242
+ return !((C = l(b)) != null && C.disabled);
245
243
  }) : z.value;
246
244
  }), i = w(() => $.value.length > 0), h = w(() => $.value.length === 0 ? !1 : $.value.every((l) => j.value.has(l[y.value]))), M = w(() => {
247
245
  const l = $.value.filter((c) => j.value.has(c[y.value])).length;
248
246
  return l > 0 && l < $.value.length;
249
247
  }), K = (l) => j.value.has(l[y.value]), L = (l) => {
250
- var c, g, C;
251
- return ((C = (g = (c = F.value.rowSelection) == null ? void 0 : c.getCheckboxProps) == null ? void 0 : g.call(c, l)) == null ? void 0 : C.disabled) ?? !1;
248
+ var c, b, C;
249
+ return ((C = (b = (c = F.value.rowSelection) == null ? void 0 : c.getCheckboxProps) == null ? void 0 : b.call(c, l)) == null ? void 0 : C.disabled) ?? !1;
252
250
  }, Q = (l) => {
253
- var c, g, C;
254
- return ((C = (g = (c = F.value.rowSelection) == null ? void 0 : c.getRadioProps) == null ? void 0 : g.call(c, l)) == null ? void 0 : C.disabled) ?? !1;
251
+ var c, b, C;
252
+ return ((C = (b = (c = F.value.rowSelection) == null ? void 0 : c.getRadioProps) == null ? void 0 : b.call(c, l)) == null ? void 0 : C.disabled) ?? !1;
255
253
  }, ae = () => {
256
254
  const l = v.value.map((c) => c[y.value]);
257
255
  n("selection-change", { keys: l, rows: v.value });
258
256
  }, _e = (l, c) => {
259
- const g = l[y.value];
260
- c ? v.value = [...v.value.filter((C) => C[y.value] !== g), l] : v.value = v.value.filter((C) => C[y.value] !== g), ae();
257
+ const b = l[y.value];
258
+ c ? v.value = [...v.value.filter((C) => C[y.value] !== b), l] : v.value = v.value.filter((C) => C[y.value] !== b), ae();
261
259
  }, ge = (l) => {
262
260
  v.value = [l], ae();
263
261
  }, be = (l) => {
264
262
  if (l) {
265
- const c = new Set(v.value.map((C) => C[y.value])), g = $.value.filter((C) => !c.has(C[y.value]));
266
- v.value = [...v.value, ...g];
263
+ const c = new Set(v.value.map((C) => C[y.value])), b = $.value.filter((C) => !c.has(C[y.value]));
264
+ v.value = [...v.value, ...b];
267
265
  } else {
268
- const c = new Set(z.value.map((g) => g[y.value]));
269
- v.value = v.value.filter((g) => !c.has(g[y.value]));
266
+ const c = new Set(z.value.map((b) => b[y.value]));
267
+ v.value = v.value.filter((b) => !c.has(b[y.value]));
270
268
  }
271
269
  ae();
272
270
  }, re = async (l) => {
@@ -278,8 +276,8 @@ const st = at.exports, rt = /* @__PURE__ */ ne({
278
276
  }
279
277
  m.value = !0;
280
278
  try {
281
- const c = F.value.fetchSetting ?? {}, g = c.pageField ?? "page", C = c.sizeField ?? "pageSize", H = c.listField ?? "list", N = c.totalField ?? "total", oe = {
282
- [g]: (l == null ? void 0 : l.page) ?? E.value.page,
279
+ const c = F.value.fetchSetting ?? {}, b = c.pageField ?? "page", C = c.sizeField ?? "pageSize", H = c.listField ?? "list", O = c.totalField ?? "total", oe = {
280
+ [b]: (l == null ? void 0 : l.page) ?? E.value.page,
283
281
  [C]: (l == null ? void 0 : l.pageSize) ?? E.value.pageSize,
284
282
  ...t.searchInfo,
285
283
  ...l == null ? void 0 : l.searchInfo
@@ -287,7 +285,7 @@ const st = at.exports, rt = /* @__PURE__ */ ne({
287
285
  (l == null ? void 0 : l.page) != null && (E.value.page = l.page), (l == null ? void 0 : l.pageSize) != null && (E.value.pageSize = l.pageSize);
288
286
  const ie = t.beforeFetch ? t.beforeFetch(oe) : oe, $e = await t.api(ie);
289
287
  S.value = $e || {};
290
- const Fe = t.afterFetch ? t.afterFetch($e) : $e, ze = Fe[H] ?? Fe.items ?? Fe.list ?? [], Ee = Fe[N] ?? 0;
288
+ const Fe = t.afterFetch ? t.afterFetch($e) : $e, ze = Fe[H] ?? Fe.items ?? Fe.list ?? [], Ee = Fe[O] ?? 0;
291
289
  _.value = ze, E.value.total = Ee, n("fetch-success", { items: ze, total: Ee });
292
290
  } catch (c) {
293
291
  _.value = [], n("fetch-error", c);
@@ -296,9 +294,9 @@ const st = at.exports, rt = /* @__PURE__ */ ne({
296
294
  }
297
295
  }, ye = () => re(void 0), we = (l) => {
298
296
  F.value.clearSelectOnPageChange && (v.value = []), E.value.pageSize = l, E.value.page = 1, re(void 0);
299
- }, Ce = (l) => {
297
+ }, xe = (l) => {
300
298
  F.value.clearSelectOnPageChange && (v.value = []), E.value.page = l, re(void 0);
301
- }, xe = (l, c, g) => n("row-click", l, g), Pe = (l, c, g) => n("row-dblclick", l, g), Se = ({ prop: l, order: c }) => n("sort-change", { prop: l, order: c }), ve = (l, c) => n("expand-change", l, c), ce = {
299
+ }, Ce = (l, c, b) => n("row-click", l, b), Pe = (l, c, b) => n("row-dblclick", l, b), Se = ({ prop: l, order: c }) => n("sort-change", { prop: l, order: c }), ve = (l, c) => n("expand-change", l, c), ce = {
302
300
  setProps: (l) => {
303
301
  p.value = { ...p.value, ...l };
304
302
  },
@@ -320,7 +318,7 @@ const st = at.exports, rt = /* @__PURE__ */ ne({
320
318
  getColumns: () => x.value,
321
319
  setColumns: (l) => {
322
320
  if (Array.isArray(l) && l.length > 0 && typeof l[0] == "string") {
323
- const c = l, g = (t.columns ?? []).filter((H) => c.includes(H.key ?? H.dataIndex)), C = c.map((H) => g.find((N) => (N.key ?? N.dataIndex) === H)).filter(Boolean);
321
+ const c = l, b = (t.columns ?? []).filter((H) => c.includes(H.key ?? H.dataIndex)), C = c.map((H) => b.find((O) => (O.key ?? O.dataIndex) === H)).filter(Boolean);
324
322
  C.length && (x.value = C);
325
323
  } else
326
324
  x.value = l ?? [];
@@ -334,31 +332,31 @@ const st = at.exports, rt = /* @__PURE__ */ ne({
334
332
  v.value = [], ae();
335
333
  },
336
334
  setSelectedRowKeys: (l) => {
337
- const c = new Set(l), g = _.value.filter((C) => c.has(C[y.value]));
335
+ const c = new Set(l), b = _.value.filter((C) => c.has(C[y.value]));
338
336
  l.forEach((C) => {
339
- g.some((H) => H[y.value] === C) || g.push({ [y.value]: C });
340
- }), v.value = g, ae();
337
+ b.some((H) => H[y.value] === C) || b.push({ [y.value]: C });
338
+ }), v.value = b, ae();
341
339
  },
342
340
  deleteSelectRowByKey: (l) => {
343
341
  v.value = v.value.filter((c) => c[y.value] !== l), ae();
344
342
  },
345
343
  /** index 为当前页索引,自动转换为全量索引 */
346
- updateTableData: (l, c, g) => {
347
- const { page: C, pageSize: H } = E.value, N = (C - 1) * H + l;
348
- N < 0 || N >= _.value.length || (_.value = [..._.value], _.value[N] = { ..._.value[N], [c]: g });
344
+ updateTableData: (l, c, b) => {
345
+ const { page: C, pageSize: H } = E.value, O = (C - 1) * H + l;
346
+ O < 0 || O >= _.value.length || (_.value = [..._.value], _.value[O] = { ..._.value[O], [c]: b });
349
347
  },
350
348
  updateTableDataRecord: (l, c) => {
351
- const g = _.value.findIndex((C) => C[y.value] === l);
352
- if (!(g < 0))
353
- return _.value = [..._.value], _.value[g] = { ..._.value[g], ...c }, _.value[g];
349
+ const b = _.value.findIndex((C) => C[y.value] === l);
350
+ if (!(b < 0))
351
+ return _.value = [..._.value], _.value[b] = { ..._.value[b], ...c }, _.value[b];
354
352
  },
355
353
  deleteTableDataRecord: (l) => {
356
- const c = Array.isArray(l) ? l : [l], g = new Set(c);
357
- _.value = _.value.filter((C) => !g.has(C[y.value])), t.pagination !== !1 && (E.value.total = _.value.length);
354
+ const c = Array.isArray(l) ? l : [l], b = new Set(c);
355
+ _.value = _.value.filter((C) => !b.has(C[y.value])), t.pagination !== !1 && (E.value.total = _.value.length);
358
356
  },
359
357
  insertTableDataRecord: (l, c) => {
360
- const g = [..._.value];
361
- return c == null || c >= g.length ? g.push(l) : g.splice(c, 0, l), _.value = g, t.pagination !== !1 && (E.value.total = _.value.length), l;
358
+ const b = [..._.value];
359
+ return c == null || c >= b.length ? b.push(l) : b.splice(c, 0, l), _.value = b, t.pagination !== !1 && (E.value.total = _.value.length), l;
362
360
  },
363
361
  getPaginationRef: () => k.value ? { page: E.value.page, pageSize: Number(E.value.pageSize) || 10, total: E.value.total } : !1,
364
362
  getShowPagination: () => k.value,
@@ -369,42 +367,42 @@ const st = at.exports, rt = /* @__PURE__ */ ne({
369
367
  expandAll: () => {
370
368
  var C;
371
369
  const l = ((C = F.value.treeProps) == null ? void 0 : C.children) ?? "children", c = (H) => {
372
- const N = [];
370
+ const O = [];
373
371
  return H.forEach((oe) => {
374
- N.push(oe);
372
+ O.push(oe);
375
373
  const ie = oe[l];
376
- Array.isArray(ie) && ie.length > 0 && N.push(...c(ie));
377
- }), N;
374
+ Array.isArray(ie) && ie.length > 0 && O.push(...c(ie));
375
+ }), O;
378
376
  };
379
377
  c(_.value).forEach((H) => {
380
- var N, oe;
381
- return (oe = (N = r.value) == null ? void 0 : N.toggleRowExpansion) == null ? void 0 : oe.call(N, H, !0);
378
+ var O, oe;
379
+ return (oe = (O = r.value) == null ? void 0 : O.toggleRowExpansion) == null ? void 0 : oe.call(O, H, !0);
382
380
  });
383
381
  },
384
382
  collapseAll: () => {
385
383
  var C;
386
384
  const l = ((C = F.value.treeProps) == null ? void 0 : C.children) ?? "children", c = (H) => {
387
- const N = [];
385
+ const O = [];
388
386
  return H.forEach((oe) => {
389
- N.push(oe);
387
+ O.push(oe);
390
388
  const ie = oe[l];
391
- Array.isArray(ie) && ie.length > 0 && N.push(...c(ie));
392
- }), N;
389
+ Array.isArray(ie) && ie.length > 0 && O.push(...c(ie));
390
+ }), O;
393
391
  };
394
392
  c(_.value).forEach((H) => {
395
- var N, oe;
396
- return (oe = (N = r.value) == null ? void 0 : N.toggleRowExpansion) == null ? void 0 : oe.call(N, H, !1);
393
+ var O, oe;
394
+ return (oe = (O = r.value) == null ? void 0 : O.toggleRowExpansion) == null ? void 0 : oe.call(O, H, !1);
397
395
  });
398
396
  }
399
397
  };
400
398
  e(ce);
401
399
  const ue = () => {
402
- const l = (c, g = "") => c.map((C, H) => {
403
- const N = `${g}-${H}`;
400
+ const l = (c, b = "") => c.map((C, H) => {
401
+ const O = `${C.dataIndex}`;
404
402
  return {
405
403
  ...C,
406
- id: C.id || N,
407
- children: C.children ? l(C.children, N) : void 0
404
+ dataIndex: O,
405
+ children: C.children ? l(C.children, O) : void 0
408
406
  };
409
407
  });
410
408
  x.value = l(t.columns ?? []);
@@ -420,11 +418,11 @@ const st = at.exports, rt = /* @__PURE__ */ ne({
420
418
  }));
421
419
  }), Be(() => {
422
420
  typeof window < "u" && (window.removeEventListener("resize", P), R && T && (R.unobserve(T), T = null));
423
- }), U(() => t.columns, ue, { deep: !0 }), U(() => t.dataSource, () => {
421
+ }), J(() => t.columns, ue, { deep: !0 }), J(() => t.dataSource, () => {
424
422
  !t.api && t.dataSource && (_.value = [...t.dataSource], t.pagination !== !1 && (E.value.total = t.dataSource.length));
425
- }, { deep: !0 }), U(() => t.loading, (l) => {
423
+ }, { deep: !0 }), J(() => t.loading, (l) => {
426
424
  m.value = l ?? !1;
427
- }), { __sfc: !0, props: t, emit: n, slots: o, tableRef: r, tableWrapRef: a, containerWidth: f, loading: m, localFullData: _, innerData: z, rawDataSource: S, innerColumns: x, innerProps: p, selectedRows: v, showPaginationRef: B, mergeSettings: V, effectiveProps: F, defaultPagination: A, pagination: E, showTitleBar: I, showPagination: k, paginationSmall: u, paginationBackground: W, rowKeyField: y, selectedKeysSet: j, displayColumns: q, flatColumnsMap: X, allFlatColumns: G, fixedColumnsWidth: ee, isRatioWidth: Z, totalRatio: Y, fixedDataColumnsWidth: te, parseWidthPx: J, spanMethodAdapter: le, getColumnWidth: b, shouldShowColumn: O, selectableRows: $, hasSelectableRows: i, isAllCurrentPageSelected: h, isIndeterminate: M, isRowSelected: K, getCheckboxDisabled: L, getRadioDisabled: Q, emitSelectionChange: ae, handleCheckboxChange: _e, handleRadioSelect: ge, handleSelectAll: be, fetchData: re, handleReload: ye, handleSizeChange: we, handleCurrentChange: Ce, handleRowClick: xe, handleRowDblclick: Pe, handleSortChange: Se, handleExpandChange: ve, tableAction: ce, syncColumns: ue, loadData: d, updateContainerWidth: P, resizeObserver: R, observedEl: T, TableColumnGroup: st, BodyCellRenderer: qe };
425
+ }), { __sfc: !0, props: t, emit: n, slots: o, tableRef: r, tableWrapRef: a, containerWidth: f, loading: m, localFullData: _, innerData: z, rawDataSource: S, innerColumns: x, innerProps: p, selectedRows: v, showPaginationRef: B, mergeSettings: V, effectiveProps: F, defaultPagination: A, pagination: E, showTitleBar: N, showPagination: k, paginationSmall: u, paginationBackground: W, rowKeyField: y, selectedKeysSet: j, displayColumns: q, flatColumnsMap: X, allFlatColumns: G, fixedColumnsWidth: ee, isRatioWidth: Z, totalRatio: Y, fixedDataColumnsWidth: te, parseWidthPx: U, spanMethodAdapter: le, getColumnWidth: g, shouldShowColumn: I, selectableRows: $, hasSelectableRows: i, isAllCurrentPageSelected: h, isIndeterminate: M, isRowSelected: K, getCheckboxDisabled: L, getRadioDisabled: Q, emitSelectionChange: ae, handleCheckboxChange: _e, handleRadioSelect: ge, handleSelectAll: be, fetchData: re, handleReload: ye, handleSizeChange: we, handleCurrentChange: xe, handleRowClick: Ce, handleRowDblclick: Pe, handleSortChange: Se, handleExpandChange: ve, tableAction: ce, syncColumns: ue, loadData: d, updateContainerWidth: P, resizeObserver: R, observedEl: T, TableColumnGroup: st, BodyCellRenderer: qe };
428
426
  }
429
427
  });
430
428
  var it = function() {
@@ -457,19 +455,19 @@ var it = function() {
457
455
  ct,
458
456
  !1,
459
457
  null,
460
- "ffeb78c4",
458
+ "3d780f58",
461
459
  null,
462
460
  null
463
461
  );
464
- const He = ut.exports, Ne = (s) => Array.isArray(s) ? s.length > 0 : s != null && String(s).trim() !== "", Ie = (s) => Array.isArray(s) ? s.map((e) => String(e)).join(", ") : s == null ? "" : typeof s == "object" ? JSON.stringify(s) : String(s), De = (s, e) => {
462
+ const He = ut.exports, Oe = (s) => Array.isArray(s) ? s.length > 0 : s != null && String(s).trim() !== "", Ne = (s) => Array.isArray(s) ? s.map((e) => String(e)).join(", ") : s == null ? "" : typeof s == "object" ? JSON.stringify(s) : String(s), De = (s, e) => {
465
463
  if (!s)
466
464
  return null;
467
465
  if (s === !0)
468
466
  return {
469
- content: Ie(e),
467
+ content: Ne(e),
470
468
  placement: "top",
471
469
  effect: "dark",
472
- disabled: !Ne(e)
470
+ disabled: !Oe(e)
473
471
  };
474
472
  if (typeof s == "string")
475
473
  return {
@@ -478,7 +476,7 @@ const He = ut.exports, Ne = (s) => Array.isArray(s) ? s.length > 0 : s != null &
478
476
  effect: "dark"
479
477
  };
480
478
  const n = { ...s };
481
- return Object.prototype.hasOwnProperty.call(n, "content") || (n.content = Ie(e)), Object.prototype.hasOwnProperty.call(n, "placement") || (n.placement = "top"), Object.prototype.hasOwnProperty.call(n, "effect") || (n.effect = "dark"), Object.prototype.hasOwnProperty.call(n, "disabled") || (n.disabled = !Ne(n.content)), n;
479
+ return Object.prototype.hasOwnProperty.call(n, "content") || (n.content = Ne(e)), Object.prototype.hasOwnProperty.call(n, "placement") || (n.placement = "top"), Object.prototype.hasOwnProperty.call(n, "effect") || (n.effect = "dark"), Object.prototype.hasOwnProperty.call(n, "disabled") || (n.disabled = !Oe(n.content)), n;
482
480
  }, dt = /* @__PURE__ */ ne({
483
481
  __name: "TableAction",
484
482
  props: {
@@ -514,11 +512,11 @@ const He = ut.exports, Ne = (s) => Array.isArray(s) ? s.length > 0 : s != null &
514
512
  cancelButtonText: E,
515
513
  type: "warning"
516
514
  }).then(() => {
517
- var I, k;
518
- return (k = (I = B.popConfirm) == null ? void 0 : I.confirm) == null ? void 0 : k.call(I);
515
+ var N, k;
516
+ return (k = (N = B.popConfirm) == null ? void 0 : N.confirm) == null ? void 0 : k.call(N);
519
517
  }).catch(() => {
520
- var I, k;
521
- return (k = (I = B.popConfirm) == null ? void 0 : I.cancel) == null ? void 0 : k.call(I);
518
+ var N, k;
519
+ return (k = (N = B.popConfirm) == null ? void 0 : N.cancel) == null ? void 0 : k.call(N);
522
520
  });
523
521
  return;
524
522
  }
@@ -564,7 +562,7 @@ function un(s) {
564
562
  const f = n();
565
563
  f && Object.keys(f).length > 0 && a.setProps(f);
566
564
  };
567
- return s && U(
565
+ return s && J(
568
566
  () => n(),
569
567
  (a) => {
570
568
  a && e.value && e.value.setProps(a);
@@ -649,13 +647,13 @@ const vt = /* @__PURE__ */ ne({
649
647
  fetchOptions: z
650
648
  }), me(() => {
651
649
  n.lazy || z();
652
- }), U(
650
+ }), J(
653
651
  () => n.api,
654
652
  () => {
655
653
  n.lazy ? (o.value = [], r.value = []) : z();
656
654
  },
657
655
  { deep: !0 }
658
- ), U(() => n.params, () => {
656
+ ), J(() => n.params, () => {
659
657
  a(n.params ?? null) !== m.value && (n.lazy ? (o.value = [], r.value = []) : z());
660
658
  }, { deep: !0 }), { __sfc: !0, props: n, loading: t, options: o, rawOptions: r, sortStringify: a, sortKeys: f, lastFetchedParamsKey: m, onVisibleChange: _, fetchOptions: z };
661
659
  }
@@ -728,7 +726,7 @@ function We(s, e, n) {
728
726
  const t = wt(e, n), o = s < 0 ? -1 : 1;
729
727
  return Math.abs(s) <= t ? s : o * t;
730
728
  }
731
- function Ct(s, e, n) {
729
+ function xt(s, e, n) {
732
730
  if (e <= 0)
733
731
  switch (n) {
734
732
  case "floor":
@@ -754,9 +752,9 @@ function Ct(s, e, n) {
754
752
  }
755
753
  function ke(s, e, n, t) {
756
754
  let o = We(s, e, n);
757
- return o = Ct(o, n, t), o = We(o, e, n), o;
755
+ return o = xt(o, n, t), o = We(o, e, n), o;
758
756
  }
759
- function xt(s, e) {
757
+ function Ct(s, e) {
760
758
  return Number.isNaN(s) || !Number.isFinite(s) ? "" : s.toFixed(Math.max(0, e));
761
759
  }
762
760
  function Ke(s, e) {
@@ -809,13 +807,13 @@ const St = /* @__PURE__ */ ne({
809
807
  a()
810
808
  );
811
809
  }
812
- U(
810
+ J(
813
811
  () => [n.value, n.integerDigits, n.decimalPlaces, n.rounding],
814
812
  () => m(),
815
813
  { immediate: !0, deep: !0 }
816
814
  );
817
815
  function _(p) {
818
- e("input", xt(p, a()));
816
+ e("input", Ct(p, a()));
819
817
  }
820
818
  function z(p) {
821
819
  let v = Ve(p);
@@ -901,8 +899,8 @@ const Me = Bt.exports, Rt = /* @__PURE__ */ ne({
901
899
  for (const Z of y) {
902
900
  const Y = String(Z[X] ?? Z.label ?? ""), te = Z[G] ?? Z.value;
903
901
  te != null && (q[String(te)] = j ? j + " / " + Y : Y);
904
- const J = Z[ee] ?? Z.children;
905
- Array.isArray(J) && J.length && Object.assign(q, x(J, Y));
902
+ const U = Z[ee] ?? Z.children;
903
+ Array.isArray(U) && U.length && Object.assign(q, x(U, Y));
906
904
  }
907
905
  return q;
908
906
  }
@@ -926,7 +924,7 @@ const Me = Bt.exports, Rt = /* @__PURE__ */ ne({
926
924
  const q = n.labelField ?? "label";
927
925
  return String(j[q] ?? j.label ?? "").toLowerCase().includes(y.toLowerCase());
928
926
  };
929
- U(f, (y) => {
927
+ J(f, (y) => {
930
928
  var j;
931
929
  (j = o.value) == null || j.filter(y);
932
930
  });
@@ -934,11 +932,11 @@ const Me = Bt.exports, Rt = /* @__PURE__ */ ne({
934
932
  function E() {
935
933
  n.disabled || (r.value = !0, n.lazy && !p() && W(), Le(() => {
936
934
  A = (y) => {
937
- t.value && !t.value.contains(y.target) && I();
935
+ t.value && !t.value.contains(y.target) && N();
938
936
  }, document.addEventListener("click", A);
939
937
  }));
940
938
  }
941
- function I() {
939
+ function N() {
942
940
  r.value = !1, f.value = "", A && (document.removeEventListener("click", A), A = null);
943
941
  }
944
942
  function k() {
@@ -946,7 +944,7 @@ const Me = Bt.exports, Rt = /* @__PURE__ */ ne({
946
944
  }
947
945
  function u(y) {
948
946
  const j = n.valueField ?? "value", q = y[j] ?? y.value;
949
- e("input", q), I();
947
+ e("input", q), N();
950
948
  }
951
949
  async function W() {
952
950
  if (!(!n.api || p())) {
@@ -961,13 +959,13 @@ const Me = Bt.exports, Rt = /* @__PURE__ */ ne({
961
959
  }
962
960
  return me(() => {
963
961
  p() ? B() : n.lazy || W();
964
- }), U(() => n.treeData, () => {
962
+ }), J(() => n.treeData, () => {
965
963
  p() ? B() : (m.value = [], _.value = {}, !n.lazy && n.api && W());
966
- }, { deep: !0 }), U(() => n.api, () => {
964
+ }, { deep: !0 }), J(() => n.api, () => {
967
965
  p() || (n.lazy ? (m.value = [], _.value = {}) : W());
968
- }, { deep: !0 }), U(() => n.params, () => {
966
+ }, { deep: !0 }), J(() => n.params, () => {
969
967
  p() || (n.lazy ? (m.value = [], _.value = {}) : W());
970
- }, { deep: !0 }), { __sfc: !0, props: n, emit: e, rootRef: t, treeRef: o, dropdownVisible: r, loading: a, filterText: f, treeData: m, flatLabelMap: _, treeProps: z, normalizeNode: S, buildFlatLabelMap: x, hasTreeDataProp: p, applyTreeData: v, syncFromTreeDataProp: B, displayText: V, filterNodeMethod: F, clickOutsideHandler: A, openDropdown: E, closeDropdown: I, clearValue: k, onNodeClick: u, fetchData: W };
968
+ }, { deep: !0 }), { __sfc: !0, props: n, emit: e, rootRef: t, treeRef: o, dropdownVisible: r, loading: a, filterText: f, treeData: m, flatLabelMap: _, treeProps: z, normalizeNode: S, buildFlatLabelMap: x, hasTreeDataProp: p, applyTreeData: v, syncFromTreeDataProp: B, displayText: V, filterNodeMethod: F, clickOutsideHandler: A, openDropdown: E, closeDropdown: N, clearValue: k, onNodeClick: u, fetchData: W };
971
969
  }
972
970
  });
973
971
  var Mt = function() {
@@ -1068,7 +1066,7 @@ const Tt = At.exports, Dt = /* @__PURE__ */ ne({
1068
1066
  }, E = w(() => {
1069
1067
  const u = e.schema.component;
1070
1068
  return u == null ? null : typeof u == "string" ? n.has(u) ? null : e.customComponents && e.customComponents[u] || u : u;
1071
- }), I = (u) => {
1069
+ }), N = (u) => {
1072
1070
  var W;
1073
1071
  (W = e.onFieldChange) == null || W.call(e, e.schema.field, u);
1074
1072
  }, k = w(() => {
@@ -1080,7 +1078,7 @@ const Tt = At.exports, Dt = /* @__PURE__ */ ne({
1080
1078
  }
1081
1079
  } : null;
1082
1080
  });
1083
- return { __sfc: !0, BUILT_IN_COMPONENTS: n, props: e, apiSelectRef: t, slots: o, renderParams: r, shouldRender: a, shouldShow: f, effectiveDisabled: m, effectiveRules: _, effectiveComponentPropsAndListeners: z, effectiveComponentProps: S, effectiveComponentListeners: x, showColon: p, normalizedTooltip: v, fieldWrapperComponent: B, fieldWrapperProps: V, hasSlot: F, getOptions: A, resolvedCustomComponent: E, setFieldValue: I, renderComponent: k, ApiSelect: bt, FormattedNumberInput: Me, TreeSelect: Tt };
1081
+ return { __sfc: !0, BUILT_IN_COMPONENTS: n, props: e, apiSelectRef: t, slots: o, renderParams: r, shouldRender: a, shouldShow: f, effectiveDisabled: m, effectiveRules: _, effectiveComponentPropsAndListeners: z, effectiveComponentProps: S, effectiveComponentListeners: x, showColon: p, normalizedTooltip: v, fieldWrapperComponent: B, fieldWrapperProps: V, hasSlot: F, getOptions: A, resolvedCustomComponent: E, setFieldValue: N, renderComponent: k, ApiSelect: bt, FormattedNumberInput: Me, TreeSelect: Tt };
1084
1082
  }
1085
1083
  });
1086
1084
  var zt = function() {
@@ -1112,7 +1110,7 @@ var zt = function() {
1112
1110
  }, expression: "formModel[schema.field]" } }, "el-radio-group", t.effectiveComponentProps, !1), t.effectiveComponentListeners), e._l(t.getOptions(t.effectiveComponentProps) || [], function(o) {
1113
1111
  return n("el-radio", { key: String(o.value), attrs: { label: o.value } }, [e._v(" " + e._s(o.label) + " ")]);
1114
1112
  }), 1) : e._e()], 1)]], 2) : e._e();
1115
- }, Et = [], Ot = /* @__PURE__ */ se(
1113
+ }, Et = [], It = /* @__PURE__ */ se(
1116
1114
  Dt,
1117
1115
  zt,
1118
1116
  Et,
@@ -1122,7 +1120,7 @@ var zt = function() {
1122
1120
  null,
1123
1121
  null
1124
1122
  );
1125
- const Je = Ot.exports, Nt = /* @__PURE__ */ ne({
1123
+ const Ue = It.exports, Ot = /* @__PURE__ */ ne({
1126
1124
  __name: "FormActions",
1127
1125
  props: {
1128
1126
  showActionButtonGroup: { type: Boolean, default: !0 },
@@ -1143,7 +1141,7 @@ const Je = Ot.exports, Nt = /* @__PURE__ */ ne({
1143
1141
  return { __sfc: !0 };
1144
1142
  }
1145
1143
  });
1146
- var It = function() {
1144
+ var Nt = function() {
1147
1145
  var e = this, n = e._self._c;
1148
1146
  return e._self._setupProxy, n("div", { staticClass: "ecp-form-actions" }, [e._t("submitBefore"), e.showSubmitButton ? n("el-button", { attrs: { type: "primary", icon: e.submitButtonIcon, loading: e.submitLoading }, on: { click: function(t) {
1149
1147
  return e.$emit("submit");
@@ -1151,8 +1149,8 @@ var It = function() {
1151
1149
  return e.$emit("reset");
1152
1150
  } } }, [e._v(" " + e._s(e.resetButtonText) + " ")]) : e._e(), e._t("actions")], 2);
1153
1151
  }, Vt = [], Wt = /* @__PURE__ */ se(
1152
+ Ot,
1154
1153
  Nt,
1155
- It,
1156
1154
  Vt,
1157
1155
  !1,
1158
1156
  null,
@@ -1160,7 +1158,7 @@ var It = function() {
1160
1158
  null,
1161
1159
  null
1162
1160
  );
1163
- const Ue = Wt.exports, Kt = /* @__PURE__ */ ne({
1161
+ const Je = Wt.exports, Kt = /* @__PURE__ */ ne({
1164
1162
  __name: "ProForm",
1165
1163
  props: {
1166
1164
  schemas: null,
@@ -1195,14 +1193,14 @@ const Ue = Wt.exports, Kt = /* @__PURE__ */ ne({
1195
1193
  emits: ["submit", "reset", "register", "update:modelValue"],
1196
1194
  setup(s, { expose: e, emit: n }) {
1197
1195
  const t = s, o = he(), r = D(), a = D(), f = D(!1), m = D(!0), _ = D({}), z = D({}), S = D([]), x = D({}), p = D(/* @__PURE__ */ new Map()), v = { xl: 1920, lg: 1200, md: 992, sm: 768 }, B = (d, P, R) => {
1198
- const T = R ?? (typeof window < "u" ? window.innerWidth : 1920), l = d ?? {}, c = P ?? {}, g = c.span ?? 8;
1199
- return T >= v.xl ? l.xl ?? c.xl ?? l.lg ?? c.lg ?? l.md ?? c.md ?? l.sm ?? c.sm ?? l.xs ?? c.xs ?? l.span ?? g : T >= v.lg ? l.lg ?? c.lg ?? l.md ?? c.md ?? l.sm ?? c.sm ?? l.xs ?? c.xs ?? l.span ?? g : T >= v.md ? l.md ?? c.md ?? l.sm ?? c.sm ?? l.xs ?? c.xs ?? l.span ?? g : T >= v.sm ? l.sm ?? c.sm ?? l.xs ?? c.xs ?? l.span ?? g : l.xs ?? c.xs ?? l.span ?? g;
1200
- }, { getSetting: V } = Re(), F = w(() => ({ ...V("ProForm"), ...t, ...x.value })), A = w(() => F.value.modelValue), E = w(() => A.value !== void 0), I = w(() => E.value ? A.value ?? {} : _.value), k = w(() => ({
1196
+ const T = R ?? (typeof window < "u" ? window.innerWidth : 1920), l = d ?? {}, c = P ?? {}, b = c.span ?? 8;
1197
+ return T >= v.xl ? l.xl ?? c.xl ?? l.lg ?? c.lg ?? l.md ?? c.md ?? l.sm ?? c.sm ?? l.xs ?? c.xs ?? l.span ?? b : T >= v.lg ? l.lg ?? c.lg ?? l.md ?? c.md ?? l.sm ?? c.sm ?? l.xs ?? c.xs ?? l.span ?? b : T >= v.md ? l.md ?? c.md ?? l.sm ?? c.sm ?? l.xs ?? c.xs ?? l.span ?? b : T >= v.sm ? l.sm ?? c.sm ?? l.xs ?? c.xs ?? l.span ?? b : l.xs ?? c.xs ?? l.span ?? b;
1198
+ }, { getSetting: V } = Re(), F = w(() => ({ ...V("ProForm"), ...t, ...x.value })), A = w(() => F.value.modelValue), E = w(() => A.value !== void 0), N = w(() => E.value ? A.value ?? {} : _.value), k = w(() => ({
1201
1199
  ...V("ProForm").components ?? {},
1202
1200
  ...F.value.components ?? {},
1203
1201
  ...x.value.components ?? {}
1204
1202
  })), u = w(() => F.value.actionColOptions ?? { span: 24 }), W = D(typeof window < "u" ? window.innerWidth : 1920), y = (d, P, R, T) => {
1205
- let l = 24, c = 1, g = 0;
1203
+ let l = 24, c = 1, b = 0;
1206
1204
  for (const C of d) {
1207
1205
  const H = B(C.colProps, P, T);
1208
1206
  if (H > l) {
@@ -1211,9 +1209,9 @@ const Ue = Wt.exports, Kt = /* @__PURE__ */ ne({
1211
1209
  l = 24 - H;
1212
1210
  } else
1213
1211
  l -= H;
1214
- g++;
1212
+ b++;
1215
1213
  }
1216
- return g;
1214
+ return b;
1217
1215
  }, j = w(() => {
1218
1216
  const d = S.value.filter((l) => G(l));
1219
1217
  if (!F.value.showAdvancedButton)
@@ -1228,7 +1226,7 @@ const Ue = Wt.exports, Kt = /* @__PURE__ */ ne({
1228
1226
  return d.slice(0, T);
1229
1227
  }), G = (d) => {
1230
1228
  let P = !0, R = !0;
1231
- return typeof d.ifShow == "function" && (P = d.ifShow({ schema: d, values: I.value, model: I.value, field: d.field })), typeof d.ifShow == "boolean" && (P = d.ifShow), typeof d.show == "function" && (R = d.show({ schema: d, values: I.value, model: I.value, field: d.field })), typeof d.show == "boolean" && (R = d.show), P && R;
1229
+ return typeof d.ifShow == "function" && (P = d.ifShow({ schema: d, values: N.value, model: N.value, field: d.field })), typeof d.ifShow == "boolean" && (P = d.ifShow), typeof d.show == "function" && (R = d.show({ schema: d, values: N.value, model: N.value, field: d.field })), typeof d.show == "boolean" && (R = d.show), P && R;
1232
1230
  }, ee = (d) => d.colProps ?? F.value.baseColProps ?? {}, Z = (d) => d.slot || d.field, Y = (d, P = !0) => {
1233
1231
  const R = P ? { ...d ?? {} } : {}, T = F.value.initialValues ?? t.initialValues;
1234
1232
  return S.value.forEach((l) => {
@@ -1242,16 +1240,16 @@ const Ue = Wt.exports, Kt = /* @__PURE__ */ ne({
1242
1240
  }), R;
1243
1241
  }, te = (d, P = !0) => {
1244
1242
  _.value = d, P && n("update:modelValue", d);
1245
- }, J = (d) => {
1246
- const P = Y({ ...I.value, ...d });
1243
+ }, U = (d) => {
1244
+ const P = Y({ ...N.value, ...d });
1247
1245
  return te(P), P;
1248
1246
  }, le = () => {
1249
1247
  const d = {};
1250
1248
  S.value.forEach((P) => {
1251
1249
  var R;
1252
1250
  (R = P.rules) != null && R.length && (d[P.field] = P.rules);
1253
- }), te(Y(I.value), !1), z.value = d;
1254
- }, b = (d) => {
1251
+ }), te(Y(N.value), !1), z.value = d;
1252
+ }, g = (d) => {
1255
1253
  const P = { ...d };
1256
1254
  return S.value.forEach((R) => {
1257
1255
  const T = R.ifShow;
@@ -1259,19 +1257,19 @@ const Ue = Wt.exports, Kt = /* @__PURE__ */ ne({
1259
1257
  return;
1260
1258
  (typeof T == "boolean" ? T : T({ schema: R, values: d, model: d, field: R.field })) || delete P[R.field];
1261
1259
  }), P;
1262
- }, O = (d) => {
1263
- const P = b(d), R = x.value.fieldMapToTime;
1260
+ }, I = (d) => {
1261
+ const P = g(d), R = x.value.fieldMapToTime;
1264
1262
  if (!(R != null && R.length))
1265
1263
  return P;
1266
1264
  const T = { ...P };
1267
- return R.forEach(([l, [c, g]]) => {
1265
+ return R.forEach(([l, [c, b]]) => {
1268
1266
  const C = T[l];
1269
- Array.isArray(C) && C.length === 2 && (delete T[l], T[c] = C[0], T[g] = C[1]);
1267
+ Array.isArray(C) && C.length === 2 && (delete T[l], T[c] = C[0], T[b] = C[1]);
1270
1268
  }), T;
1271
1269
  }, $ = async () => {
1272
1270
  var d;
1273
1271
  try {
1274
- await ((d = r.value) == null ? void 0 : d.validate()), F.value.submitFunc ? await F.value.submitFunc() : (f.value = !0, n("submit", O({ ...I.value })));
1272
+ await ((d = r.value) == null ? void 0 : d.validate()), F.value.submitFunc ? await F.value.submitFunc() : (f.value = !0, n("submit", I({ ...N.value })));
1275
1273
  } catch (P) {
1276
1274
  console.error("Form validation failed:", P);
1277
1275
  } finally {
@@ -1280,11 +1278,11 @@ const Ue = Wt.exports, Kt = /* @__PURE__ */ ne({
1280
1278
  }, i = async () => {
1281
1279
  var d;
1282
1280
  F.value.resetFunc ? await F.value.resetFunc() : ((d = r.value) == null || d.resetFields(), le(), n("reset"), F.value.submitOnReset && await $());
1283
- }, h = (d) => (J(d), Promise.resolve()), M = () => O({ ...I.value }), K = async () => {
1281
+ }, h = (d) => (U(d), Promise.resolve()), M = () => I({ ...N.value }), K = async () => {
1284
1282
  var d;
1285
1283
  (d = r.value) == null || d.resetFields(), te(Y(void 0, !1));
1286
1284
  }, L = (d, P) => {
1287
- J({ [d]: P });
1285
+ U({ [d]: P });
1288
1286
  }, Q = (d) => {
1289
1287
  var P;
1290
1288
  return ((P = r.value) == null ? void 0 : P.validate(d)) ?? Promise.resolve();
@@ -1316,9 +1314,9 @@ const Ue = Wt.exports, Kt = /* @__PURE__ */ ne({
1316
1314
  S.value = S.value.filter((R) => !P.includes(R.field));
1317
1315
  }, we = async (d) => {
1318
1316
  x.value = { ...x.value, ...d }, d.schemas && (S.value = [...d.schemas], le());
1319
- }, Ce = (d, P) => {
1317
+ }, xe = (d, P) => {
1320
1318
  P ? p.value.set(d, P) : p.value.delete(d);
1321
- }, xe = (d) => p.value.get(d) ?? null;
1319
+ }, Ce = (d) => p.value.get(d) ?? null;
1322
1320
  function Pe(d, P = !1) {
1323
1321
  const R = p.value.get(d);
1324
1322
  if (!R)
@@ -1345,13 +1343,13 @@ const Ue = Wt.exports, Kt = /* @__PURE__ */ ne({
1345
1343
  appendSchemaByField: re,
1346
1344
  removeSchemaByField: ye,
1347
1345
  setProps: we,
1348
- getComponentInstance: xe,
1346
+ getComponentInstance: Ce,
1349
1347
  getFieldOptions: Pe,
1350
1348
  isFieldLoading: Se
1351
1349
  };
1352
1350
  e({
1353
1351
  ...ve,
1354
- registerFieldInstance: Ce
1352
+ registerFieldInstance: xe
1355
1353
  });
1356
1354
  const ce = () => {
1357
1355
  S.value = [...t.schemas ?? []], le();
@@ -1362,9 +1360,9 @@ const Ue = Wt.exports, Kt = /* @__PURE__ */ ne({
1362
1360
  ce(), n("register", ve), typeof window < "u" && window.addEventListener("resize", ue);
1363
1361
  }), Be(() => {
1364
1362
  typeof window < "u" && window.removeEventListener("resize", ue);
1365
- }), U(() => A.value, (d) => {
1363
+ }), J(() => A.value, (d) => {
1366
1364
  !E.value || d === void 0 || te(Y(d), !1);
1367
- }, { deep: !0, immediate: !0 }), U(() => [t.schemas, t.initialValues], ce, { deep: !0 }), { __sfc: !0, props: t, emit: n, slots: o, formRef: r, formWrapRef: a, submitLoading: f, collapsed: m, formModel: _, formRules: z, innerSchemas: S, innerProps: x, fieldInstanceMap: p, BREAKPOINTS: v, getEffectiveSpan: B, getComponentSetting: V, effectiveProps: F, controlledModelValue: A, isControlled: E, currentFormModel: I, formCustomComponents: k, effectiveActionColOptions: u, windowWidth: W, getVisibleSchemaCount: y, hasMoreFields: j, formListeners: q, displaySchemas: X, shouldShow: G, getColProps: ee, getSlotName: Z, resolveSchemaModel: Y, applyFormModel: te, updateFormModel: J, initForm: le, filterByIfShow: b, processFieldMapToTime: O, handleSubmit: $, handleReset: i, setFieldsValue: h, getFieldsValue: M, resetFields: K, handleFieldChange: L, validate: Q, validateFields: ae, scrollToField: _e, clearValidate: ge, updateSchema: be, appendSchemaByField: re, removeSchemaByField: ye, setProps: we, registerFieldInstance: Ce, getComponentInstance: xe, getFieldOptions: Pe, isFieldLoading: Se, formActionRef: ve, syncSchemas: ce, handleResize: ue, ProFormItem: Je, FormActions: Ue };
1365
+ }, { deep: !0, immediate: !0 }), J(() => [t.schemas, t.initialValues], ce, { deep: !0 }), { __sfc: !0, props: t, emit: n, slots: o, formRef: r, formWrapRef: a, submitLoading: f, collapsed: m, formModel: _, formRules: z, innerSchemas: S, innerProps: x, fieldInstanceMap: p, BREAKPOINTS: v, getEffectiveSpan: B, getComponentSetting: V, effectiveProps: F, controlledModelValue: A, isControlled: E, currentFormModel: N, formCustomComponents: k, effectiveActionColOptions: u, windowWidth: W, getVisibleSchemaCount: y, hasMoreFields: j, formListeners: q, displaySchemas: X, shouldShow: G, getColProps: ee, getSlotName: Z, resolveSchemaModel: Y, applyFormModel: te, updateFormModel: U, initForm: le, filterByIfShow: g, processFieldMapToTime: I, handleSubmit: $, handleReset: i, setFieldsValue: h, getFieldsValue: M, resetFields: K, handleFieldChange: L, validate: Q, validateFields: ae, scrollToField: _e, clearValidate: ge, updateSchema: be, appendSchemaByField: re, removeSchemaByField: ye, setProps: we, registerFieldInstance: xe, getComponentInstance: Ce, getFieldOptions: Pe, isFieldLoading: Se, formActionRef: ve, syncSchemas: ce, handleResize: ue, ProFormItem: Ue, FormActions: Je };
1368
1366
  }
1369
1367
  });
1370
1368
  var Lt = function() {
@@ -1394,7 +1392,7 @@ function dn(s) {
1394
1392
  const u = t();
1395
1393
  u && Object.keys(u).length > 0 && k.setProps(u);
1396
1394
  };
1397
- s && U(
1395
+ s && J(
1398
1396
  () => t(),
1399
1397
  (k) => {
1400
1398
  n.value = k, k && e.value && e.value.setProps(k);
@@ -1491,97 +1489,97 @@ const Ht = /* @__PURE__ */ ne({
1491
1489
  record: { type: Object, required: !0 },
1492
1490
  emptyText: { type: String, default: "-" }
1493
1491
  },
1494
- setup(b) {
1492
+ setup(g) {
1495
1493
  return () => {
1496
- const O = b.schema, $ = b.record, i = b.value, h = (M) => {
1497
- const K = z(O, M === b.emptyText ? i : M, $), L = de("span", M);
1494
+ const I = g.schema, $ = g.record, i = g.value, h = (M) => {
1495
+ const K = z(I, M === g.emptyText ? i : M, $), L = de("span", M);
1498
1496
  return K ? de("el-tooltip", { props: K }, [L]) : L;
1499
1497
  };
1500
- if (O.render) {
1501
- const M = O.render(i, $);
1502
- return M == null || M === "" ? h(b.emptyText) : typeof M == "string" || typeof M == "number" ? h(String(M)) : M;
1498
+ if (I.render) {
1499
+ const M = I.render(i, $);
1500
+ return M == null || M === "" ? h(g.emptyText) : typeof M == "string" || typeof M == "number" ? h(String(M)) : M;
1503
1501
  }
1504
- return Array.isArray(i) ? h(i.length ? i.join(", ") : b.emptyText) : i == null || i === "" ? h(b.emptyText) : h(typeof i == "object" ? JSON.stringify(i) : String(i));
1502
+ return Array.isArray(i) ? h(i.length ? i.join(", ") : g.emptyText) : i == null || i === "" ? h(g.emptyText) : h(typeof i == "object" ? JSON.stringify(i) : String(i));
1505
1503
  };
1506
1504
  }
1507
- }), z = (b, O, $) => {
1508
- const i = b.tooltip;
1505
+ }), z = (g, I, $) => {
1506
+ const i = g.tooltip;
1509
1507
  if (!i)
1510
1508
  return null;
1511
- const h = typeof i == "function" ? i({ value: O, record: $, schema: b }) : i;
1512
- return De(h, O);
1513
- }, { mergeSettings: S } = Re(), x = w(() => S("ProDescriptions", { ...t, ...o.value })), p = { xxl: 1920, xl: 1200, lg: 992, md: 768, sm: 576 }, v = (b, O) => {
1514
- if (typeof b == "number")
1515
- return Math.max(1, b);
1516
- const $ = b ?? {};
1517
- return O >= p.xxl ? $.xxl ?? $.xl ?? $.lg ?? $.md ?? $.sm ?? $.xs ?? 3 : O >= p.xl ? $.xl ?? $.lg ?? $.md ?? $.sm ?? $.xs ?? 3 : O >= p.lg ? $.lg ?? $.md ?? $.sm ?? $.xs ?? 3 : O >= p.md ? $.md ?? $.sm ?? $.xs ?? 3 : O >= p.sm ? $.sm ?? $.xs ?? 2 : $.xs ?? 1;
1518
- }, B = w(() => v(x.value.column, f.value)), V = w(() => x.value.data ?? r.value ?? {}), F = w(() => (a.value.length ? a.value : x.value.schema ?? []).filter((b) => b.dataIndex || b.field ? typeof b.show == "function" ? b.show(V.value) : b.show !== !1 : !1).map((b) => ({
1519
- ...b,
1520
- dataIndex: b.dataIndex || b.field || ""
1509
+ const h = typeof i == "function" ? i({ value: I, record: $, schema: g }) : i;
1510
+ return De(h, I);
1511
+ }, { mergeSettings: S } = Re(), x = w(() => S("ProDescriptions", { ...t, ...o.value })), p = { xxl: 1920, xl: 1200, lg: 992, md: 768, sm: 576 }, v = (g, I) => {
1512
+ if (typeof g == "number")
1513
+ return Math.max(1, g);
1514
+ const $ = g ?? {};
1515
+ return I >= p.xxl ? $.xxl ?? $.xl ?? $.lg ?? $.md ?? $.sm ?? $.xs ?? 3 : I >= p.xl ? $.xl ?? $.lg ?? $.md ?? $.sm ?? $.xs ?? 3 : I >= p.lg ? $.lg ?? $.md ?? $.sm ?? $.xs ?? 3 : I >= p.md ? $.md ?? $.sm ?? $.xs ?? 3 : I >= p.sm ? $.sm ?? $.xs ?? 2 : $.xs ?? 1;
1516
+ }, B = w(() => v(x.value.column, f.value)), V = w(() => x.value.data ?? r.value ?? {}), F = w(() => (a.value.length ? a.value : x.value.schema ?? []).filter((g) => g.dataIndex || g.field ? typeof g.show == "function" ? g.show(V.value) : g.show !== !1 : !1).map((g) => ({
1517
+ ...g,
1518
+ dataIndex: g.dataIndex || g.field || ""
1521
1519
  }))), A = w(() => {
1522
- const b = [];
1523
- let O = { items: [] }, $ = 0;
1520
+ const g = [];
1521
+ let I = { items: [] }, $ = 0;
1524
1522
  const i = B.value;
1525
1523
  return F.value.forEach((h, M) => {
1526
1524
  const K = F.value.length - M, L = Math.max(1, Math.min(h.span ?? 1, i)), Q = K === 1 ? i - $ || i : L;
1527
- $ + Q > i && (b.push(O), O = { items: [] }, $ = 0);
1525
+ $ + Q > i && (g.push(I), I = { items: [] }, $ = 0);
1528
1526
  const ae = K === 1 && $ < i ? Math.max(1, i - $) : Q;
1529
- O.items.push({ ...h, _span: ae }), $ += ae, $ >= i && (b.push(O), O = { items: [] }, $ = 0);
1530
- }), O.items.length > 0 && b.push(O), b;
1527
+ I.items.push({ ...h, _span: ae }), $ += ae, $ >= i && (g.push(I), I = { items: [] }, $ = 0);
1528
+ }), I.items.length > 0 && g.push(I), g;
1531
1529
  }), E = w(() => {
1532
- var O;
1533
- if (!I.value || m.value)
1530
+ var I;
1531
+ if (!N.value || m.value)
1534
1532
  return A.value;
1535
- const b = Math.max(1, ((O = x.value.collapseOptions) == null ? void 0 : O.visibleRows) ?? 1);
1536
- return A.value.slice(0, b);
1537
- }), I = w(() => {
1538
- var O, $;
1539
- const b = Math.max(1, ((O = x.value.collapseOptions) == null ? void 0 : O.visibleRows) ?? 1);
1540
- return !!x.value.useCollapse && !!(($ = x.value.collapseOptions) != null && $.canExpand) && A.value.length > b;
1541
- }), k = w(() => !!x.value.title || !!x.value.helpMessage || I.value), u = w(() => {
1542
- var b, O;
1533
+ const g = Math.max(1, ((I = x.value.collapseOptions) == null ? void 0 : I.visibleRows) ?? 1);
1534
+ return A.value.slice(0, g);
1535
+ }), N = w(() => {
1536
+ var I, $;
1537
+ const g = Math.max(1, ((I = x.value.collapseOptions) == null ? void 0 : I.visibleRows) ?? 1);
1538
+ return !!x.value.useCollapse && !!(($ = x.value.collapseOptions) != null && $.canExpand) && A.value.length > g;
1539
+ }), k = w(() => !!x.value.title || !!x.value.helpMessage || N.value), u = w(() => {
1540
+ var g, I;
1543
1541
  return {
1544
- expand: ((b = x.value.collapseOptions) == null ? void 0 : b.expandButtonText) ?? "展开",
1545
- collapse: ((O = x.value.collapseOptions) == null ? void 0 : O.collapseButtonText) ?? "收起"
1542
+ expand: ((g = x.value.collapseOptions) == null ? void 0 : g.expandButtonText) ?? "展开",
1543
+ collapse: ((I = x.value.collapseOptions) == null ? void 0 : I.collapseButtonText) ?? "收起"
1546
1544
  };
1547
1545
  }), W = w(() => ({
1548
1546
  gridTemplateColumns: `repeat(${B.value}, minmax(0, 1fr))`
1549
- })), y = (b) => ({
1550
- gridColumn: `span ${b._span}`
1551
- }), j = (b) => ({
1552
- minWidth: b.labelMinWidth ? `${b.labelMinWidth}px` : void 0,
1553
- ...b.labelStyle ?? {}
1554
- }), q = (b) => ({
1555
- minWidth: b.contentMinWidth ? `${b.contentMinWidth}px` : void 0,
1556
- ...b.contentStyle ?? {}
1557
- }), X = (b) => V.value[b.dataIndex], G = () => {
1547
+ })), y = (g) => ({
1548
+ gridColumn: `span ${g._span}`
1549
+ }), j = (g) => ({
1550
+ minWidth: g.labelMinWidth ? `${g.labelMinWidth}px` : void 0,
1551
+ ...g.labelStyle ?? {}
1552
+ }), q = (g) => ({
1553
+ minWidth: g.contentMinWidth ? `${g.contentMinWidth}px` : void 0,
1554
+ ...g.contentStyle ?? {}
1555
+ }), X = (g) => V.value[g.dataIndex], G = () => {
1558
1556
  a.value = [...x.value.schema ?? []];
1559
1557
  }, ee = () => {
1560
1558
  r.value = { ...x.value.data ?? {} };
1561
- }, Z = async (b) => {
1562
- o.value = { ...o.value, ...b }, b.schema && (a.value = [...b.schema]), b.data && (r.value = { ...b.data });
1563
- }, Y = async (b) => {
1564
- r.value = { ...r.value, ...b }, o.value = { ...o.value, data: r.value };
1565
- }, te = () => ({ ...x.value.data ?? r.value ?? {} }), J = {
1559
+ }, Z = async (g) => {
1560
+ o.value = { ...o.value, ...g }, g.schema && (a.value = [...g.schema]), g.data && (r.value = { ...g.data });
1561
+ }, Y = async (g) => {
1562
+ r.value = { ...r.value, ...g }, o.value = { ...o.value, data: r.value };
1563
+ }, te = () => ({ ...x.value.data ?? r.value ?? {} }), U = {
1566
1564
  setProps: Z,
1567
1565
  setData: Y,
1568
1566
  getData: te
1569
1567
  };
1570
- e(J);
1568
+ e(U);
1571
1569
  const le = () => {
1572
1570
  typeof window < "u" && (f.value = window.innerWidth);
1573
1571
  };
1574
1572
  return me(() => {
1575
- var b;
1576
- G(), ee(), m.value = ((b = x.value.collapseOptions) == null ? void 0 : b.defaultExpand) !== !1, n("register", J), typeof window < "u" && window.addEventListener("resize", le);
1573
+ var g;
1574
+ G(), ee(), m.value = ((g = x.value.collapseOptions) == null ? void 0 : g.defaultExpand) !== !1, n("register", U), typeof window < "u" && window.addEventListener("resize", le);
1577
1575
  }), Be(() => {
1578
1576
  typeof window < "u" && window.removeEventListener("resize", le);
1579
- }), U(() => x.value.schema, G, { deep: !0 }), U(() => x.value.data, ee, { deep: !0 }), U(() => {
1580
- var b;
1581
- return (b = x.value.collapseOptions) == null ? void 0 : b.defaultExpand;
1582
- }, (b) => {
1583
- b !== void 0 && (m.value = b);
1584
- }), { __sfc: !0, props: t, emit: n, innerProps: o, innerData: r, innerSchema: a, windowWidth: f, expanded: m, DescriptionValueRenderer: _, normalizeTooltip: z, mergeSettings: S, effectiveProps: x, breakpoints: p, resolveColumn: v, currentColumn: B, effectiveData: V, visibleSchema: F, normalizedRows: A, renderedRows: E, showCollapseButton: I, showHeader: k, collapseButtonText: u, bodyStyle: W, getItemStyle: y, getLabelStyle: j, getContentStyle: q, getItemValue: X, syncSchema: G, syncData: ee, setProps: Z, setData: Y, getData: te, descriptionAction: J, updateWindowWidth: le };
1577
+ }), J(() => x.value.schema, G, { deep: !0 }), J(() => x.value.data, ee, { deep: !0 }), J(() => {
1578
+ var g;
1579
+ return (g = x.value.collapseOptions) == null ? void 0 : g.defaultExpand;
1580
+ }, (g) => {
1581
+ g !== void 0 && (m.value = g);
1582
+ }), { __sfc: !0, props: t, emit: n, innerProps: o, innerData: r, innerSchema: a, windowWidth: f, expanded: m, DescriptionValueRenderer: _, normalizeTooltip: z, mergeSettings: S, effectiveProps: x, breakpoints: p, resolveColumn: v, currentColumn: B, effectiveData: V, visibleSchema: F, normalizedRows: A, renderedRows: E, showCollapseButton: N, showHeader: k, collapseButtonText: u, bodyStyle: W, getItemStyle: y, getLabelStyle: j, getContentStyle: q, getItemValue: X, syncSchema: G, syncData: ee, setProps: Z, setData: Y, getData: te, descriptionAction: U, updateWindowWidth: le };
1585
1583
  }
1586
1584
  });
1587
1585
  var Gt = function() {
@@ -1601,17 +1599,17 @@ var Gt = function() {
1601
1599
  return [n("div", { key: `${a}-${f.dataIndex || f.field}`, staticClass: "ecp-pro-descriptions__item", style: t.getItemStyle(f) }, [n("div", { staticClass: "ecp-pro-descriptions__label", style: t.getLabelStyle(f) }, [e._v(" " + e._s(f.label) + " ")]), n("div", { staticClass: "ecp-pro-descriptions__content", style: t.getContentStyle(f) }, [e.$scopedSlots[f.slot || f.dataIndex] ? e._t(f.slot || f.dataIndex, null, { value: t.getItemValue(f), record: t.effectiveData, schema: f }) : n(t.DescriptionValueRenderer, { attrs: { schema: f, value: t.getItemValue(f), record: t.effectiveData, "empty-text": t.effectiveProps.emptyText || "-" } })], 2)])];
1602
1600
  })];
1603
1601
  })], 2)]);
1604
- }, Jt = [], Ut = /* @__PURE__ */ se(
1602
+ }, Ut = [], Jt = /* @__PURE__ */ se(
1605
1603
  Ht,
1606
1604
  Gt,
1607
- Jt,
1605
+ Ut,
1608
1606
  !1,
1609
1607
  null,
1610
1608
  "656036f6",
1611
1609
  null,
1612
1610
  null
1613
1611
  );
1614
- const Ze = Ut.exports;
1612
+ const Ze = Jt.exports;
1615
1613
  function fn(s) {
1616
1614
  const e = D(null), n = () => s ? pe(s) : void 0, t = () => {
1617
1615
  const a = pe(e);
@@ -1623,7 +1621,7 @@ function fn(s) {
1623
1621
  const f = n();
1624
1622
  f && Object.keys(f).length > 0 && a.setProps(f);
1625
1623
  };
1626
- return s && U(
1624
+ return s && J(
1627
1625
  () => n(),
1628
1626
  (a) => {
1629
1627
  a && e.value && e.value.setProps(a);
@@ -1658,11 +1656,11 @@ const Xt = /* @__PURE__ */ ne({
1658
1656
  emits: ["update:expanded", "change", "collapse", "expand"],
1659
1657
  setup(s, { expose: e, emit: n }) {
1660
1658
  const t = s, o = he(), { mergeSettings: r } = Re(), a = D(t.expanded ?? t.defaultExpand), f = w(() => r("CollapseContainer", { ...t })), m = w(() => f.value.canExpand ?? f.value.canExpan ?? !0), _ = w(() => f.value.expanded !== void 0), z = w(() => _.value ? !!f.value.expanded : a.value), S = w(() => !!o.title || !!o.action || !!f.value.title || !!f.value.helpMessage || m.value), x = w(() => m.value), p = w(() => {
1661
- const A = f.value.wrapperProps ?? {}, E = A.class, I = A.style, k = { ...A };
1659
+ const A = f.value.wrapperProps ?? {}, E = A.class, N = A.style, k = { ...A };
1662
1660
  return delete k.class, delete k.style, {
1663
1661
  ...k,
1664
1662
  class: E,
1665
- style: I
1663
+ style: N
1666
1664
  };
1667
1665
  }), v = () => {
1668
1666
  !f.value.triggerWindowResize || typeof window > "u" || window.setTimeout(() => {
@@ -1675,9 +1673,9 @@ const Xt = /* @__PURE__ */ ne({
1675
1673
  }, F = () => {
1676
1674
  x.value && V();
1677
1675
  };
1678
- return U(() => t.expanded, (A) => {
1676
+ return J(() => t.expanded, (A) => {
1679
1677
  A !== void 0 && (a.value = A);
1680
- }), U(() => t.defaultExpand, (A) => {
1678
+ }), J(() => t.defaultExpand, (A) => {
1681
1679
  t.expanded === void 0 && (a.value = A);
1682
1680
  }), e({
1683
1681
  setExpanded: B,
@@ -1810,7 +1808,7 @@ const Qe = Yt.exports, en = {
1810
1808
  const h = A()[i], M = a();
1811
1809
  return h ? String(h[M] ?? "") : "";
1812
1810
  }
1813
- function I(i, h) {
1811
+ function N(i, h) {
1814
1812
  const M = p(), K = [...A()], L = { ...K[i] || {} };
1815
1813
  L[a()] = h, K[i] = L, M[r()] = K, B(M);
1816
1814
  }
@@ -1859,7 +1857,7 @@ const Qe = Yt.exports, en = {
1859
1857
  function te(i) {
1860
1858
  return i.component === "formatted-number" ? Me : "el-input";
1861
1859
  }
1862
- function J(i) {
1860
+ function U(i) {
1863
1861
  const h = i.componentProps || {};
1864
1862
  return i.component === "formatted-number" ? {
1865
1863
  integerDigits: 5,
@@ -1884,10 +1882,10 @@ const Qe = Yt.exports, en = {
1884
1882
  rowType: "competitor",
1885
1883
  rowIndex: M,
1886
1884
  value: E(M),
1887
- updateValue: (K) => I(M, K)
1885
+ updateValue: (K) => N(M, K)
1888
1886
  };
1889
1887
  }
1890
- const b = w(() => {
1888
+ const g = w(() => {
1891
1889
  const i = {}, h = (K) => [{ required: !0, message: `请输入${K}`, trigger: "blur" }];
1892
1890
  for (const K of t.fixedRows)
1893
1891
  for (const L of t.columns)
@@ -1898,7 +1896,7 @@ const Qe = Yt.exports, en = {
1898
1896
  Q.rules ? i[`${r()}.${L}.${Q.key}`] = Q.rules : Q.required && (i[`${r()}.${L}.${Q.key}`] = h(Q.title));
1899
1897
  }), { ...i, ...t.rules || {} };
1900
1898
  });
1901
- function O() {
1899
+ function I() {
1902
1900
  return new Promise((i) => {
1903
1901
  const h = o.value;
1904
1902
  if (!h || typeof h.validate != "function") {
@@ -1915,11 +1913,11 @@ const Qe = Yt.exports, en = {
1915
1913
  (M = (h = o.value) == null ? void 0 : h.clearValidate) == null || M.call(h, i);
1916
1914
  }
1917
1915
  return e({
1918
- validate: O,
1916
+ validate: I,
1919
1917
  clearValidate: $,
1920
1918
  addCompetitor: X,
1921
1919
  removeCompetitor: G
1922
- }), { __sfc: !0, props: t, emit: n, formRef: o, ck: r, nk: a, showFirstColumnComputed: f, firstColumnFixed: m, actionColumnBind: _, rowKeyFn: z, tableRows: S, canDeleteCompetitor: x, cloneModel: p, ensureFixedBlock: v, emitNext: B, getFixedMetric: V, setFixedMetric: F, competitorList: A, getCompetitorName: E, setCompetitorName: I, getCompetitorMetric: k, setCompetitorMetric: u, getCellValue: W, setCellValue: y, slotUpdateHandler: j, emptyCompetitorRow: q, addCompetitor: X, removeCompetitor: G, fixedMetricProp: ee, competitorNameProp: Z, competitorMetricProp: Y, cellComponent: te, cellBind: J, firstColumnScope: le, mergedRules: b, validate: O, clearValidate: $ };
1920
+ }), { __sfc: !0, props: t, emit: n, formRef: o, ck: r, nk: a, showFirstColumnComputed: f, firstColumnFixed: m, actionColumnBind: _, rowKeyFn: z, tableRows: S, canDeleteCompetitor: x, cloneModel: p, ensureFixedBlock: v, emitNext: B, getFixedMetric: V, setFixedMetric: F, competitorList: A, getCompetitorName: E, setCompetitorName: N, getCompetitorMetric: k, setCompetitorMetric: u, getCellValue: W, setCellValue: y, slotUpdateHandler: j, emptyCompetitorRow: q, addCompetitor: X, removeCompetitor: G, fixedMetricProp: ee, competitorNameProp: Z, competitorMetricProp: Y, cellComponent: te, cellBind: U, firstColumnScope: le, mergedRules: g, validate: I, clearValidate: $ };
1923
1921
  }
1924
1922
  });
1925
1923
  var nn = function() {
@@ -1972,8 +1970,8 @@ const Ye = ln.exports, an = [
1972
1970
  { name: "ProTable", component: He },
1973
1971
  { name: "TableAction", component: Ge },
1974
1972
  { name: "ProForm", component: Xe },
1975
- { name: "ProFormItem", component: Je },
1976
- { name: "FormActions", component: Ue },
1973
+ { name: "ProFormItem", component: Ue },
1974
+ { name: "FormActions", component: Je },
1977
1975
  { name: "FormattedNumberInput", component: Me },
1978
1976
  { name: "ProDescriptions", component: Ze },
1979
1977
  { name: "CollapseContainer", component: Qe },
@@ -1996,11 +1994,11 @@ const pn = {
1996
1994
  };
1997
1995
  export {
1998
1996
  Qe as CollapseContainer,
1999
- Ue as FormActions,
1997
+ Je as FormActions,
2000
1998
  Me as FormattedNumberInput,
2001
1999
  Ze as ProDescriptions,
2002
2000
  Xe as ProForm,
2003
- Je as ProFormItem,
2001
+ Ue as ProFormItem,
2004
2002
  He as ProTable,
2005
2003
  Ye as ProTableForm,
2006
2004
  Ge as TableAction,
@@ -2011,10 +2009,10 @@ export {
2011
2009
  sn as install,
2012
2010
  ke as normalizeNumericValue,
2013
2011
  Pt as numberToEditString,
2014
- Ct as roundToDecimals,
2012
+ xt as roundToDecimals,
2015
2013
  Ve as sanitizeNumericInput,
2016
2014
  Ae as stripNumberGrouping,
2017
- xt as toFixedDecimalString,
2015
+ Ct as toFixedDecimalString,
2018
2016
  Re as useComponentSetting,
2019
2017
  fn as useDescription,
2020
2018
  dn as useForm,