@aplus-frontend/ui 7.12.0 → 7.12.2

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 (41) hide show
  1. package/es/src/ag-grid/editable/form-item.vue.mjs +1 -1
  2. package/es/src/ag-grid/index.vue.mjs +124 -122
  3. package/es/src/ap-form/drawer-form/index.vue.d.ts +4 -1
  4. package/es/src/ap-grid/index.vue.mjs +95 -93
  5. package/es/src/ap-table/ap-table.vue2.mjs +73 -71
  6. package/es/src/ap-table/context.d.ts +1 -0
  7. package/es/src/ap-table/context.mjs +7 -6
  8. package/es/src/ap-table/hooks/use-table-paging-ng.d.ts +1 -0
  9. package/es/src/ap-table/hooks/use-table-paging-ng.mjs +60 -59
  10. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +117 -97
  11. package/es/src/business/ap-upload/apUpload.vue.d.ts +3 -3
  12. package/es/src/business/ap-upload/apUpload.vue.mjs +1 -1
  13. package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +13 -12
  14. package/es/src/config-provider/config-provider-props.d.ts +13 -1
  15. package/es/src/config-provider/config-provider.d.ts +28 -1
  16. package/es/src/config-provider/hooks/use-global-config.d.ts +13 -1
  17. package/es/src/config-provider/index.d.ts +46 -1
  18. package/es/src/utils/config-provider-preset.d.ts +7 -1
  19. package/es/src/version.d.ts +1 -1
  20. package/es/src/version.mjs +1 -1
  21. package/lib/src/ag-grid/editable/form-item.vue.js +1 -1
  22. package/lib/src/ag-grid/index.vue.js +1 -1
  23. package/lib/src/ap-form/drawer-form/index.vue.d.ts +4 -1
  24. package/lib/src/ap-grid/index.vue.js +1 -1
  25. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  26. package/lib/src/ap-table/context.d.ts +1 -0
  27. package/lib/src/ap-table/context.js +1 -1
  28. package/lib/src/ap-table/hooks/use-table-paging-ng.d.ts +1 -0
  29. package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
  30. package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
  31. package/lib/src/business/ap-upload/apUpload.vue.d.ts +3 -3
  32. package/lib/src/business/ap-upload/apUpload.vue.js +1 -1
  33. package/lib/src/business/batch-input-group/popover-input/index.vue2.js +3 -2
  34. package/lib/src/config-provider/config-provider-props.d.ts +13 -1
  35. package/lib/src/config-provider/config-provider.d.ts +28 -1
  36. package/lib/src/config-provider/hooks/use-global-config.d.ts +13 -1
  37. package/lib/src/config-provider/index.d.ts +46 -1
  38. package/lib/src/utils/config-provider-preset.d.ts +7 -1
  39. package/lib/src/version.d.ts +1 -1
  40. package/lib/src/version.js +1 -1
  41. package/package.json +5 -5
@@ -141,7 +141,7 @@ const _e = /* @__PURE__ */ A({
141
141
  } = te();
142
142
  function I(e) {
143
143
  const t = ue(o.columns || []);
144
- if (!Object.keys(t).length)
144
+ if (!Object.keys(t).length || !e?.length)
145
145
  return e;
146
146
  let a = [];
147
147
  for (const m of e)
@@ -1,38 +1,38 @@
1
- import { defineComponent as po, useSlots as fo, ref as M, toRef as F, unref as t, computed as n, nextTick as z, watch as G, createElementBlock as O, openBlock as C, normalizeStyle as L, normalizeClass as g, createCommentVNode as se, createElementVNode as B, createVNode as ie, mergeProps as W, createSlots as go, withCtx as ue, Fragment as wo, renderList as So, createBlock as H, resolveDynamicComponent as ho, renderSlot as de, withDirectives as Co, vShow as yo } from "vue";
2
- import { AG_GRID_LOCALE_EN as Ro, AG_GRID_LOCALE_CN as vo } from "@ag-grid-community/locale";
3
- import { Spin as bo, Pagination as Mo } from "@aplus-frontend/antdv";
4
- import { useToken as Fo } from "@aplus-frontend/antdv/es/theme/internal";
5
- import { ModuleRegistry as Bo, ValidationModule as ko, ColumnAutoSizeModule as xo, PinnedRowModule as Io, RowAutoHeightModule as Ao, RowStyleModule as No, CellSpanModule as To, CellStyleModule as Do, TooltipModule as Eo, RowSelectionModule as Po, LocaleModule as Ko, ValueCacheModule as Vo, GridStateModule as zo, ColumnApiModule as Go, RowApiModule as Oo, CellApiModule as Lo, RenderApiModule as Wo, EventApiModule as Ho, ScrollApiModule as Uo, ClientSideRowModelApiModule as _o, ClientSideRowModelModule as jo } from "ag-grid-community";
6
- import { AgGridVue as $o } from "ag-grid-vue3";
1
+ import { defineComponent as fo, useSlots as go, ref as M, toRef as F, unref as t, computed as n, nextTick as z, watch as G, createElementBlock as L, openBlock as C, normalizeStyle as O, normalizeClass as g, createCommentVNode as se, createElementVNode as B, createVNode as ie, mergeProps as W, createSlots as wo, withCtx as ue, Fragment as So, renderList as ho, createBlock as H, resolveDynamicComponent as Co, renderSlot as de, withDirectives as yo, vShow as Ro } from "vue";
2
+ import { AG_GRID_LOCALE_EN as vo, AG_GRID_LOCALE_CN as bo } from "@ag-grid-community/locale";
3
+ import { Spin as Mo, Pagination as Fo } from "@aplus-frontend/antdv";
4
+ import { useToken as Bo } from "@aplus-frontend/antdv/es/theme/internal";
5
+ import { ModuleRegistry as ko, ValidationModule as xo, ColumnAutoSizeModule as Io, PinnedRowModule as Ao, RowAutoHeightModule as No, RowStyleModule as To, CellSpanModule as Do, CellStyleModule as Eo, TooltipModule as Po, RowSelectionModule as Ko, LocaleModule as Vo, ValueCacheModule as zo, GridStateModule as Go, ColumnApiModule as Lo, RowApiModule as Oo, CellApiModule as Wo, RenderApiModule as Ho, EventApiModule as Uo, ScrollApiModule as _o, ClientSideRowModelApiModule as jo, ClientSideRowModelModule as $o } from "ag-grid-community";
6
+ import { AgGridVue as qo } from "ag-grid-vue3";
7
7
  import { isUndefined as k, isFunction as N } from "lodash-unified";
8
- import { DEFAULT_ROW_SELECTION_CONFIG as ce, sizeReverseMap as qo, sizeMap as Jo } from "../ap-grid/constants.mjs";
9
- import { useProvideApTable as Qo } from "../ap-table/context.mjs";
10
- import { useTablePaging as Xo } from "../ap-table/hooks/use-table-paging-ng.mjs";
11
- import { recursionApColumns as Yo } from "../ap-table/utils.mjs";
8
+ import { DEFAULT_ROW_SELECTION_CONFIG as ce, sizeReverseMap as Jo, sizeMap as Qo } from "../ap-grid/constants.mjs";
9
+ import { useProvideApTable as Xo } from "../ap-table/context.mjs";
10
+ import { useTablePaging as Yo } from "../ap-table/hooks/use-table-paging-ng.mjs";
11
+ import { recursionApColumns as Zo } from "../ap-table/utils.mjs";
12
12
  import "../config-provider/index.mjs";
13
13
  import "../utils/index.mjs";
14
- import { getValidVNodeList as Zo } from "../utils/slot.mjs";
15
- import { ApForm as et } from "../ap-form/index.mjs";
14
+ import { getValidVNodeList as et } from "../utils/slot.mjs";
15
+ import { ApForm as ot } from "../ap-form/index.mjs";
16
16
  import "./components/empty/index.vue.mjs";
17
17
  import "./components/row/index.vue.mjs";
18
- import { useProvideSorter as ot } from "./context.mjs";
19
- import { useColumns as tt } from "./hooks/use-columns.mjs";
20
- import { useColumnsDef as rt } from "./hooks/use-columns-def.mjs";
21
- import { usePinnedRow as lt } from "./hooks/use-pinned-row.mjs";
22
- import at from "./hooks/use-row-selection.mjs";
23
- import { useSearchForm as nt } from "./hooks/use-search-form.mjs";
24
- import st from "./hooks/use-selection-col-def.mjs";
25
- import it from "./hooks/use-virtual-config.mjs";
26
- import ut from "./style/index.mjs";
27
- import { useTheme as dt } from "./theme.mjs";
28
- import { mergeProps as ct } from "./utils.mjs";
29
- import { useNamespace as mt } from "../config-provider/hooks/use-namespace.mjs";
30
- import { useLocale as pt } from "../config-provider/hooks/use-locale.mjs";
31
- import { useGlobalConfig as ft } from "../config-provider/hooks/use-global-config.mjs";
32
- import { isDef as gt } from "../utils/is.mjs";
33
- import wt from "./components/row/index.vue2.mjs";
34
- import St from "./components/empty/index.vue2.mjs";
35
- const Yt = /* @__PURE__ */ po({
18
+ import { useProvideSorter as tt } from "./context.mjs";
19
+ import { useColumns as rt } from "./hooks/use-columns.mjs";
20
+ import { useColumnsDef as lt } from "./hooks/use-columns-def.mjs";
21
+ import { usePinnedRow as at } from "./hooks/use-pinned-row.mjs";
22
+ import nt from "./hooks/use-row-selection.mjs";
23
+ import { useSearchForm as st } from "./hooks/use-search-form.mjs";
24
+ import it from "./hooks/use-selection-col-def.mjs";
25
+ import ut from "./hooks/use-virtual-config.mjs";
26
+ import dt from "./style/index.mjs";
27
+ import { useTheme as ct } from "./theme.mjs";
28
+ import { mergeProps as mt } from "./utils.mjs";
29
+ import { useNamespace as pt } from "../config-provider/hooks/use-namespace.mjs";
30
+ import { useLocale as ft } from "../config-provider/hooks/use-locale.mjs";
31
+ import { useGlobalConfig as gt } from "../config-provider/hooks/use-global-config.mjs";
32
+ import { isDef as wt } from "../utils/is.mjs";
33
+ import St from "./components/row/index.vue2.mjs";
34
+ import ht from "./components/empty/index.vue2.mjs";
35
+ const Zt = /* @__PURE__ */ fo({
36
36
  name: "AgGrid",
37
37
  __name: "index",
38
38
  props: {
@@ -110,11 +110,10 @@ const Yt = /* @__PURE__ */ po({
110
110
  },
111
111
  setup(me, { expose: pe }) {
112
112
  const fe = {
113
- "zh-cn": vo,
114
- en: Ro
113
+ "zh-cn": bo,
114
+ en: vo
115
115
  };
116
- Bo.registerModules([
117
- ko,
116
+ ko.registerModules([
118
117
  xo,
119
118
  Io,
120
119
  Ao,
@@ -127,24 +126,25 @@ const Yt = /* @__PURE__ */ po({
127
126
  Vo,
128
127
  zo,
129
128
  Go,
130
- Oo,
131
129
  Lo,
130
+ Oo,
132
131
  Wo,
133
132
  Ho,
134
133
  Uo,
135
134
  _o,
136
- jo
135
+ jo,
136
+ $o
137
137
  ]);
138
- const o = me, U = fo(), { e: x, b: d, be: ge } = mt("ag-grid"), { lang: _ } = pt(), we = ut("ag-grid"), y = M(o.size), Se = dt(
138
+ const o = me, U = go(), { e: x, b: d, be: ge } = pt("ag-grid"), { lang: _ } = ft(), we = dt("ag-grid"), y = M(o.size), Se = ct(
139
139
  y,
140
140
  F(o, "rowHeight"),
141
141
  F(o, "theme")
142
- ), he = it(F(o, "virtual")), { rowPinnedGridConfig: j, getRowPinnedCellClass: Ce } = lt(
142
+ ), he = ut(F(o, "virtual")), { rowPinnedGridConfig: j, getRowPinnedCellClass: Ce } = at(
143
143
  F(o, "summary")
144
- ), ye = ft("apGrid"), s = M(), [, Re] = Fo();
144
+ ), ye = gt("apGrid"), s = M(), [, Re] = Bo();
145
145
  let R = !!o.dataSource;
146
- const $ = nt(o), { shownColumns: w, columns: q, columnKeys: ve, getTargetColumnByKey: be } = tt(o), { defaultColDef: Me, columnDefs: Fe, gridWrapperRef: Be } = rt(q, o, Ce), I = M({});
147
- ot({
146
+ const $ = st(o), { shownColumns: w, columns: q, columnKeys: ve, getTargetColumnByKey: be } = rt(o), { defaultColDef: Me, columnDefs: Fe, gridWrapperRef: Be } = lt(q, o, Ce), I = M({});
147
+ tt({
148
148
  sorter: I,
149
149
  setSorter(e) {
150
150
  I.value = e;
@@ -171,7 +171,7 @@ const Yt = /* @__PURE__ */ po({
171
171
  order: p ? ke[p] : null
172
172
  });
173
173
  }
174
- const Ie = n(() => Yo(t(w), (e) => {
174
+ const Ie = n(() => Zo(t(w), (e) => {
175
175
  if (e.sorter === !0)
176
176
  return e.field ?? e.dataIndex ?? e.key;
177
177
  }).filter(Boolean)), Ae = () => {
@@ -181,7 +181,7 @@ const Yt = /* @__PURE__ */ po({
181
181
  return;
182
182
  const r = e.getColumnState()?.map((l) => ({ ...l, sort: null }));
183
183
  e.applyColumnState({ state: r });
184
- }, T = M(!0), Ne = n(() => gt(o.manual) ? o.manual : Zo(U.searchFormExtra?.() || []).some((r) => r.type?.name === "ApView")), {
184
+ }, T = M(!0), Ne = n(() => wt(o.manual) ? o.manual : et(U.searchFormExtra?.() || []).some((r) => r.type?.name === "ApView")), {
185
185
  formRef: S,
186
186
  submit: D,
187
187
  reset: E,
@@ -192,8 +192,9 @@ const Yt = /* @__PURE__ */ po({
192
192
  refresh: Y,
193
193
  getPaging: Te,
194
194
  setPaging: De,
195
- setDataSource: Ee
196
- } = Xo({
195
+ setDataSource: Ee,
196
+ getLastParams: Pe
197
+ } = Yo({
197
198
  async request(e) {
198
199
  if (R = !1, h.value && !h.value.preserveSelectedRowKeys && k(o.dataSource) && !T.value && V(), T.value && (T.value = !1), !k(o.dataSource)) {
199
200
  const l = e.pageSize * (e.current - 1);
@@ -224,31 +225,31 @@ const Yt = /* @__PURE__ */ po({
224
225
  ...ce,
225
226
  ...e
226
227
  };
227
- }), Pe = st(o, w), Ke = n(
228
+ }), Ke = it(o, w), Ve = n(
228
229
  () => k(o.dataSource) ? m.records : o.dataSource
229
230
  ), {
230
- select: Ve,
231
- unSelect: ze,
231
+ select: ze,
232
+ unSelect: Ge,
232
233
  selectedRows: P,
233
- selectedRowKeys: Ge,
234
+ selectedRowKeys: Le,
234
235
  clearAll: Oe,
235
- selectMultiByKeys: Le,
236
- selectMulti: We,
237
- unSelectMulti: He
238
- } = at({
236
+ selectMultiByKeys: We,
237
+ selectMulti: He,
238
+ unSelectMulti: Ue
239
+ } = nt({
239
240
  ...h.value,
240
- dataSource: Ke,
241
+ dataSource: Ve,
241
242
  rowKey: o.rowKey
242
- }), Ue = {
243
+ }), _e = {
243
244
  checkbox: "multiRow",
244
245
  radio: "singleRow"
245
- }, _e = n(() => {
246
+ }, je = n(() => {
246
247
  const e = h.value;
247
248
  if (!e)
248
249
  return;
249
250
  const { type: r = "checkbox", disabled: l } = e;
250
251
  return {
251
- mode: Ue[r],
252
+ mode: _e[r],
252
253
  isRowSelectable: (i) => l ? !l(i.data) : !0,
253
254
  hideDisabledCheckboxes: e.hideDisabled ?? !1
254
255
  };
@@ -270,40 +271,40 @@ const Yt = /* @__PURE__ */ po({
270
271
  }), e.setNodesSelected({ nodes: l, newValue: !0 }), setTimeout(() => {
271
272
  R = !0;
272
273
  }, 0);
273
- }, je = (e) => {
274
- R && (e.node.isSelected() ? Ve(e.data) : ze(e.data), N(h.value?.tooltip) && e.api.refreshCells({
274
+ }, $e = (e) => {
275
+ R && (e.node.isSelected() ? ze(e.data) : Ge(e.data), N(h.value?.tooltip) && e.api.refreshCells({
275
276
  rowNodes: [e.node],
276
277
  // todo: 取消硬编码
277
278
  columns: ["ag-Grid-SelectionColumn"],
278
279
  force: !0
279
280
  }));
280
- }, $e = () => {
281
+ }, qe = () => {
281
282
  R = !0;
282
283
  }, V = () => {
283
284
  Oe(), s.value?.deselectAll();
284
285
  };
285
- function qe(e) {
286
- Le(e), z(() => {
286
+ function Je(e) {
287
+ We(e), z(() => {
287
288
  A({});
288
289
  });
289
290
  }
290
- const Je = n(() => {
291
+ const Qe = n(() => {
291
292
  const e = o.customRow;
292
293
  return e ? {
293
294
  isFullWidthRow: e.isCustomRow,
294
- fullWidthCellRenderer: wt,
295
+ fullWidthCellRenderer: St,
295
296
  fullWidthCellRendererParams: {
296
297
  render: e.render
297
298
  }
298
299
  } : {};
299
300
  });
300
- function Qe(e) {
301
- We(e), z(() => {
301
+ function Xe(e) {
302
+ He(e), z(() => {
302
303
  A({});
303
304
  });
304
305
  }
305
- function Xe(e) {
306
- He(e), z(() => {
306
+ function Ye(e) {
307
+ Ue(e), z(() => {
307
308
  A({});
308
309
  });
309
310
  }
@@ -326,7 +327,7 @@ const Yt = /* @__PURE__ */ po({
326
327
  function le(e) {
327
328
  return e && String(e);
328
329
  }
329
- function Ye(e) {
330
+ function Ze(e) {
330
331
  const r = s.value;
331
332
  if (!r)
332
333
  return;
@@ -337,7 +338,7 @@ const Yt = /* @__PURE__ */ po({
337
338
  ...a,
338
339
  hide: b
339
340
  }, ne = e.find(
340
- (mo) => le(mo.key) === a.colId
341
+ (po) => le(po.key) === a.colId
341
342
  );
342
343
  return ne && (ae.pinned = ne.fixed || null), ae;
343
344
  }), u = new Map(
@@ -353,15 +354,15 @@ const Yt = /* @__PURE__ */ po({
353
354
  applyOrder: !0
354
355
  });
355
356
  }
356
- Qo({
357
+ Xo({
357
358
  columns: n(() => w.value),
358
359
  columnsBackup: n(() => q.value),
359
- size: n(() => Jo[y.value]),
360
+ size: n(() => Qo[y.value]),
360
361
  updateColumns(e) {
361
- w.value = e, o.onShownColumnsChange?.(e), Ye(e);
362
+ w.value = e, o.onShownColumnsChange?.(e), Ze(e);
362
363
  },
363
364
  updateSize(e) {
364
- y.value = qo[e];
365
+ y.value = Jo[e];
365
366
  },
366
367
  renderConfig: n(() => ({
367
368
  className: ge("table-header", "title"),
@@ -376,46 +377,47 @@ const Yt = /* @__PURE__ */ po({
376
377
  refresh: Y,
377
378
  getSearchFormSorterItems: oe,
378
379
  setSearchFormSorterItems: te,
379
- resetSearchFormSorterItems: re
380
+ resetSearchFormSorterItems: re,
381
+ getLastParams: Pe
380
382
  });
381
- const Ze = n(
383
+ const eo = n(
382
384
  () => k(o.loading) ? m.loading : o.loading
383
- ), eo = n(() => [
385
+ ), oo = n(() => [
384
386
  d(),
385
387
  o.card ? null : d("wrapper"),
386
388
  d("adaptive"),
387
389
  d(`size-${y.value}`),
388
390
  o.autoHeight && m.records.length ? d("auto-height") : null,
389
391
  we.value
390
- ].filter(Boolean)), oo = n(() => ({
392
+ ].filter(Boolean)), to = n(() => ({
391
393
  height: "100%",
392
394
  ...o.tableStyle || {}
393
- })), to = (e, r) => {
395
+ })), ro = (e, r) => {
394
396
  Q({ current: e, pageSize: r });
395
397
  };
396
- function ro(e) {
398
+ function lo(e) {
397
399
  const r = e.data;
398
400
  return K(r);
399
401
  }
400
- function lo(e, r) {
402
+ function ao(e, r) {
401
403
  (N(e) ? s.value?.ensureNodeVisible : s.value?.ensureIndexVisible)?.(e, r);
402
404
  }
403
- function ao(e, r) {
405
+ function no(e, r) {
404
406
  s.value?.ensureColumnVisible(e, r);
405
407
  }
406
- function no(e) {
408
+ function so(e) {
407
409
  o.onRowClicked?.(e.data, e.event);
408
410
  }
409
- function so(e) {
411
+ function io(e) {
410
412
  o.onScrollEnd?.(e.direction);
411
413
  }
412
- function io(e) {
414
+ function uo(e) {
413
415
  return s.value?.refreshCells(e);
414
416
  }
415
- function uo(e) {
417
+ function co(e) {
416
418
  return s.value?.redrawRows(e);
417
419
  }
418
- const co = (e) => {
420
+ const mo = (e) => {
419
421
  const r = [
420
422
  j.value.getRowClass?.(e)
421
423
  ];
@@ -451,41 +453,41 @@ const Yt = /* @__PURE__ */ po({
451
453
  getShowColumns: () => t(w),
452
454
  rowSelection: {
453
455
  selectedRows: n(() => P.value),
454
- setSelectedRowKeys: qe,
455
- setSelectedRows: Qe,
456
+ setSelectedRowKeys: Je,
457
+ setSelectedRows: Xe,
456
458
  clearAll: V,
457
- unSelectRows: Xe
459
+ unSelectRows: Ye
458
460
  },
459
- scrollToRow: lo,
460
- scrollToColumn: ao,
461
+ scrollToRow: ao,
462
+ scrollToColumn: no,
461
463
  getDataSource: () => t(m.records),
462
464
  getPaging: Te,
463
465
  setPaging: De,
464
466
  getSearchFormSorterItems: oe,
465
467
  setSearchFormSorterItems: te,
466
468
  resetSearchFormSorterItems: re,
467
- refreshCells: io,
468
- redrawRows: uo,
469
+ refreshCells: uo,
470
+ redrawRows: co,
469
471
  _internalGridApi: n(() => s.value)
470
- }), (e, r) => (C(), O("div", {
471
- class: g(eo.value),
472
- style: L(e.wrapperStyle)
472
+ }), (e, r) => (C(), L("div", {
473
+ class: g(oo.value),
474
+ style: O(e.wrapperStyle)
473
475
  }, [
474
- t(k)(e.dataSource) && e.searchForm !== !1 && t($).length > 0 ? (C(), O("div", {
476
+ t(k)(e.dataSource) && e.searchForm !== !1 && t($).length > 0 ? (C(), L("div", {
475
477
  key: 0,
476
478
  class: g(e.card ? t(x)("search-wrapper") : null),
477
- style: L(e.searchFormWrapperStyle)
479
+ style: O(e.searchFormWrapperStyle)
478
480
  }, [
479
- ie(t(et).SearchForm, W(e.searchForm || {}, {
481
+ ie(t(ot).SearchForm, W(e.searchForm || {}, {
480
482
  ref_key: "formRef",
481
483
  ref: S,
482
484
  "custom-reset": "",
483
485
  "submit-loading": t(J).loading,
484
486
  onSubmit: t(D),
485
487
  onReset: t(E)
486
- }), go({
488
+ }), wo({
487
489
  default: ue(() => [
488
- (C(!0), O(wo, null, So(t($), (l) => (C(), H(ho(l.renderNode), {
490
+ (C(!0), L(So, null, ho(t($), (l) => (C(), H(Co(l.renderNode), {
489
491
  key: l.dataIndex
490
492
  }))), 128))
491
493
  ]),
@@ -502,14 +504,14 @@ const Yt = /* @__PURE__ */ po({
502
504
  ], 6)) : se("", !0),
503
505
  B("div", {
504
506
  class: g([t(x)("table-wrapper"), e.card ? t(x)("table-wrapper-card") : null]),
505
- style: L(e.tableWrapperStyle)
507
+ style: O(e.tableWrapperStyle)
506
508
  }, [
507
509
  B("div", {
508
510
  class: g(t(d)("header-wrapper"))
509
511
  }, [
510
512
  de(e.$slots, "title", {
511
513
  selectedRows: t(P),
512
- selectedRowKeys: t(Ge),
514
+ selectedRowKeys: t(Le),
513
515
  shownColumns: t(w),
514
516
  clearAll: V
515
517
  })
@@ -519,26 +521,26 @@ const Yt = /* @__PURE__ */ po({
519
521
  ref: Be,
520
522
  class: g(t(d)("grid-wrapper"))
521
523
  }, [
522
- (C(), H(t($o), W(
523
- t(ct)(t(he), t(j), Je.value),
524
+ (C(), H(t(qo), W(
525
+ t(mt)(t(he), t(j), Qe.value),
524
526
  {
525
527
  key: t(_),
526
- "get-row-class": co,
527
- style: oo.value,
528
+ "get-row-class": mo,
529
+ style: to.value,
528
530
  "row-data": t(m).records,
529
531
  "column-defs": t(Fe),
530
532
  "default-col-def": t(Me),
531
533
  "suppress-loading-overlay": "",
532
- "row-selection": _e.value,
533
- "selection-column-def": t(Pe),
534
- "get-row-id": ro,
534
+ "row-selection": je.value,
535
+ "selection-column-def": t(Ke),
536
+ "get-row-id": lo,
535
537
  "get-row-height": o.getRowHeight,
536
538
  theme: t(Se),
537
539
  "tooltip-show-delay": 500,
538
540
  "enable-browser-tooltips": e.browserTooltips,
539
541
  "tooltip-interaction": "",
540
542
  "row-class-rules": e.rowClassRules,
541
- "no-rows-overlay-component": St,
543
+ "no-rows-overlay-component": ht,
542
544
  "suppress-cell-focus": "",
543
545
  "enable-cell-span": "",
544
546
  "dom-layout": e.autoHeight ? "autoHeight" : "normal",
@@ -546,32 +548,32 @@ const Yt = /* @__PURE__ */ po({
546
548
  onSortChanged: xe,
547
549
  onGridReady: r[0] || (r[0] = (l) => s.value = l.api),
548
550
  onRowDataUpdated: A,
549
- onRowSelected: je,
550
- onFirstDataRendered: $e,
551
- onRowClicked: no,
552
- onBodyScrollEnd: so
551
+ onRowSelected: $e,
552
+ onFirstDataRendered: qe,
553
+ onRowClicked: so,
554
+ onBodyScrollEnd: io
553
555
  }
554
556
  ), null, 16, ["style", "row-data", "column-defs", "default-col-def", "row-selection", "selection-column-def", "get-row-height", "theme", "enable-browser-tooltips", "row-class-rules", "dom-layout", "locale-text"])),
555
- Co(B("div", {
557
+ yo(B("div", {
556
558
  class: g(t(x)("table-loading-wrapper"))
557
559
  }, [
558
- ie(t(bo), { delay: 300 })
560
+ ie(t(Mo), { delay: 300 })
559
561
  ], 2), [
560
- [yo, Ze.value]
562
+ [Ro, eo.value]
561
563
  ])
562
564
  ], 2),
563
565
  B("div", {
564
566
  class: g(t(d)("pagination-wrapper"))
565
567
  }, [
566
- e.pagination !== !1 ? (C(), H(t(Mo), W({
568
+ e.pagination !== !1 ? (C(), H(t(Fo), W({
567
569
  key: 0,
568
570
  class: t(d)("pagination")
569
- }, t(J).pagination, { onChange: to }), null, 16, ["class"])) : se("", !0)
571
+ }, t(J).pagination, { onChange: ro }), null, 16, ["class"])) : se("", !0)
570
572
  ], 2)
571
573
  ], 6)
572
574
  ], 6));
573
575
  }
574
576
  });
575
577
  export {
576
- Yt as default
578
+ Zt as default
577
579
  };
@@ -904,7 +904,10 @@ declare const __VLS_component: DefineComponent<ApFormDrawerFormProps, {
904
904
  type: BooleanConstructor;
905
905
  default: any;
906
906
  };
907
- mask: PropType<MaskType>;
907
+ mask: {
908
+ type: PropType<MaskType>;
909
+ default: MaskType;
910
+ };
908
911
  maskStyle: {
909
912
  type: PropType<CSSProperties>;
910
913
  default: CSSProperties;