@aplus-frontend/ui 7.19.0-beta.2 → 7.19.1

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,12 +1,12 @@
1
- import { defineComponent as xo, useSlots as Mo, ref as h, toRef as M, computed as i, unref as r, nextTick as A, watch as L, createElementBlock as U, openBlock as y, normalizeStyle as _, normalizeClass as v, createCommentVNode as pe, createElementVNode as T, createVNode as Fo, mergeProps as j, createSlots as ko, withCtx as fe, Fragment as Bo, renderList as Io, createBlock as $, resolveDynamicComponent as Ao, renderSlot as ge } from "vue";
1
+ import { defineComponent as xo, useSlots as Mo, ref as h, toRef as M, computed as i, unref as r, nextTick as A, watch as H, createElementBlock as U, openBlock as y, normalizeStyle as _, normalizeClass as v, createCommentVNode as fe, createElementVNode as T, createVNode as ko, mergeProps as j, createSlots as Fo, withCtx as ge, Fragment as Bo, renderList as Io, createBlock as $, resolveDynamicComponent as Ao, renderSlot as we } from "vue";
2
2
  import { AG_GRID_LOCALE_EN as To, AG_GRID_LOCALE_CN as Eo } from "@ag-grid-community/locale";
3
3
  import { Pagination as No } from "@aplus-frontend/antdv";
4
4
  import { useToken as Do } from "@aplus-frontend/antdv/es/theme/internal";
5
- import { ModuleRegistry as Po, ValidationModule as zo, ColumnAutoSizeModule as Oo, PinnedRowModule as Vo, RowAutoHeightModule as Ko, RowStyleModule as Go, CellSpanModule as Wo, CellStyleModule as Ho, TooltipModule as Lo, RowSelectionModule as Uo, LocaleModule as _o, ValueCacheModule as jo, GridStateModule as $o, ColumnApiModule as qo, RowApiModule as Jo, CellApiModule as Qo, RenderApiModule as Xo, EventApiModule as Yo, ScrollApiModule as Zo, ClientSideRowModelApiModule as et, ClientSideRowModelModule as ot } from "ag-grid-community";
5
+ import { ModuleRegistry as Po, ValidationModule as zo, ColumnAutoSizeModule as Oo, PinnedRowModule as Vo, RowAutoHeightModule as Ko, RowStyleModule as Go, CellSpanModule as Lo, CellStyleModule as Wo, TooltipModule as Ho, RowSelectionModule as Uo, LocaleModule as _o, ValueCacheModule as jo, GridStateModule as $o, ColumnApiModule as qo, RowApiModule as Jo, CellApiModule as Qo, RenderApiModule as Xo, EventApiModule as Yo, ScrollApiModule as Zo, ClientSideRowModelApiModule as et, ClientSideRowModelModule as ot } from "ag-grid-community";
6
6
  import { AgGridVue as tt } from "ag-grid-vue3";
7
- import { isUndefined as F, isFunction as E, omit as rt } from "lodash-unified";
8
- import { DEFAULT_ROW_SELECTION_CONFIG as we, sizeReverseMap as nt, sizeMap as lt } from "../ap-grid/constants.mjs";
9
- import { useProvideApTable as at } from "../ap-table/context.mjs";
7
+ import { isUndefined as k, isFunction as E, omit as rt } from "lodash-unified";
8
+ import { DEFAULT_ROW_SELECTION_CONFIG as Se, sizeReverseMap as nt, sizeMap as at } from "../ap-grid/constants.mjs";
9
+ import { useProvideApTable as lt } from "../ap-table/context.mjs";
10
10
  import { useTablePaging as st } from "../ap-table/hooks/use-table-paging-ng.mjs";
11
11
  import { recursionApColumns as it } from "../ap-table/utils.mjs";
12
12
  import "../config-provider/index.mjs";
@@ -29,8 +29,8 @@ import vt from "./style/index.mjs";
29
29
  import { useTheme as Rt } from "./theme.mjs";
30
30
  import { runPipelineHooks as bt, runEffectHooks as q, mergeProps as xt } from "./utils.mjs";
31
31
  import { useNamespace as Mt } from "../config-provider/hooks/use-namespace.mjs";
32
- import { useLocale as Ft } from "../config-provider/hooks/use-locale.mjs";
33
- import { useGlobalConfig as kt } from "../config-provider/hooks/use-global-config.mjs";
32
+ import { useLocale as kt } from "../config-provider/hooks/use-locale.mjs";
33
+ import { useGlobalConfig as Ft } from "../config-provider/hooks/use-global-config.mjs";
34
34
  import { isDef as Bt } from "../utils/is.mjs";
35
35
  import It from "./components/row/index.vue2.mjs";
36
36
  import At from "./components/loading/index.vue2.mjs";
@@ -116,8 +116,8 @@ const gr = /* @__PURE__ */ xo({
116
116
  animateRows: { type: Boolean, default: !0 },
117
117
  plugins: { default: () => [] }
118
118
  },
119
- setup(Se, { expose: Ce }) {
120
- const he = {
119
+ setup(Ce, { expose: he }) {
120
+ const ye = {
121
121
  "zh-cn": Eo,
122
122
  en: To
123
123
  };
@@ -127,9 +127,9 @@ const gr = /* @__PURE__ */ xo({
127
127
  Vo,
128
128
  Ko,
129
129
  Go,
130
+ Lo,
130
131
  Wo,
131
132
  Ho,
132
- Lo,
133
133
  Uo,
134
134
  _o,
135
135
  jo,
@@ -143,48 +143,48 @@ const gr = /* @__PURE__ */ xo({
143
143
  et,
144
144
  ot
145
145
  ]);
146
- const t = Se, N = Mo(), { e: D, b: d, be: ye } = Mt("ag-grid"), { lang: J } = Ft(), ve = vt("ag-grid"), R = h(t.size), Re = Rt(
146
+ const t = Ce, N = Mo(), { e: D, b: d, be: ve } = Mt("ag-grid"), { lang: J } = kt(), Re = vt("ag-grid"), R = h(t.size), be = Rt(
147
147
  R,
148
148
  M(t, "rowHeight"),
149
149
  M(t, "theme")
150
- ), be = yt(M(t, "virtual")), { rowPinnedGridConfig: Q, getRowPinnedCellClass: xe } = wt(
150
+ ), xe = yt(M(t, "virtual")), { rowPinnedGridConfig: Q, getRowPinnedCellClass: Me } = wt(
151
151
  M(t, "summary")
152
- ), Me = kt("apGrid"), s = h(), [, Fe] = Do();
152
+ ), ke = Ft("apGrid"), s = h(), [, Fe] = Do();
153
153
  let b = !!t.dataSource;
154
154
  async function P(e, o = {}) {
155
155
  const n = await bt(
156
156
  t.plugins,
157
157
  e,
158
- (l) => l.beforeApplyColumnState?.bind(l)
158
+ (a) => a.beforeApplyColumnState?.bind(a)
159
159
  );
160
160
  s.value.applyColumnState({ state: n, ...o });
161
161
  }
162
162
  const X = Ct(t), {
163
163
  shownColumns: w,
164
164
  columns: Y,
165
- columnKeys: ke,
166
- getTargetColumnByKey: Be,
167
- defaultSortOrder: k
168
- } = ft(t), { defaultColDef: Ie, columnDefs: Ae, gridWrapperRef: Te } = gt(
165
+ columnKeys: Be,
166
+ getTargetColumnByKey: Ie,
167
+ defaultSortOrder: F
168
+ } = ft(t), { defaultColDef: Ae, columnDefs: Z, gridWrapperRef: Te } = gt(
169
169
  Y,
170
170
  t,
171
- xe,
171
+ Me,
172
172
  N.headerCell
173
173
  ), Ee = {
174
174
  asc: "ascend",
175
175
  desc: "descend"
176
- }, Z = {
176
+ }, ee = {
177
177
  ascend: "asc",
178
178
  descend: "desc"
179
179
  };
180
180
  function Ne() {
181
- const e = k.value;
181
+ const e = F.value;
182
182
  return e ? {
183
- [e.colKey]: Z[e.order]
183
+ [e.colKey]: ee[e.order]
184
184
  } : {};
185
185
  }
186
186
  function De() {
187
- const e = ee.value, o = k.value;
187
+ const e = oe.value, o = F.value;
188
188
  if (o && e.includes(o.field))
189
189
  return o;
190
190
  }
@@ -198,21 +198,21 @@ const gr = /* @__PURE__ */ xo({
198
198
  function Pe() {
199
199
  const e = s.value.getColumns()?.filter((c) => c.getSort() != null), o = r(B) || {};
200
200
  let n = e?.[0];
201
- const l = Object.keys(o);
202
- if (l.length && l.every((c) => o[c] === null)) {
201
+ const a = Object.keys(o);
202
+ if (a.length && a.every((c) => o[c] === null)) {
203
203
  const c = Object.keys(o)[0];
204
204
  c && (n = s.value?.getColumn(c));
205
205
  }
206
206
  if (!n)
207
207
  return;
208
- const u = n.getColDef(), f = n.getSort(), g = Be(u.colId);
209
- te(void 0, void 0, {
208
+ const u = n.getColDef(), f = n.getSort(), g = Ie(u.colId);
209
+ re(void 0, void 0, {
210
210
  column: u,
211
211
  field: g?.field ?? u.field ?? u.colId,
212
212
  order: f ? Ee[f] : null
213
213
  });
214
214
  }
215
- const ee = i(() => it(r(w), (e) => {
215
+ const oe = i(() => it(r(w), (e) => {
216
216
  if (e.sorter === !0)
217
217
  return e.field ?? e.dataIndex ?? e.key;
218
218
  }).filter(Boolean)), ze = () => {
@@ -236,17 +236,17 @@ const gr = /* @__PURE__ */ xo({
236
236
  submit: V,
237
237
  reset: K,
238
238
  data: m,
239
- tableProps: oe,
240
- handleTableChangeOptional: te,
241
- submitWith: re,
242
- refresh: ne,
239
+ tableProps: te,
240
+ handleTableChangeOptional: re,
241
+ submitWith: ne,
242
+ refresh: ae,
243
243
  getPaging: Ke,
244
244
  setPaging: Ge,
245
- setDataSource: We,
246
- getLastParams: He
245
+ setDataSource: Le,
246
+ getLastParams: We
247
247
  } = st({
248
248
  async request(e) {
249
- if (b = !1, C.value && !C.value.preserveSelectedRowKeys && F(t.dataSource) && !O.value && H(), O.value && (O.value = !1), !F(t.dataSource)) {
249
+ if (b = !1, C.value && !C.value.preserveSelectedRowKeys && k(t.dataSource) && !O.value && W(), O.value && (O.value = !1), !k(t.dataSource)) {
250
250
  const n = e.pageSize * (e.current - 1);
251
251
  return {
252
252
  data: (t.pagination === !1 ? t.dataSource : t.dataSource.slice(n, n + e.pageSize)) || [],
@@ -266,18 +266,18 @@ const gr = /* @__PURE__ */ xo({
266
266
  manual: r(Ve),
267
267
  formatParams: t.beforeSearchSubmit,
268
268
  pagination: t.pagination,
269
- sortFields: ee,
269
+ sortFields: oe,
270
270
  onClickReset: ze,
271
271
  defaultSortOrder: De()
272
272
  }), C = i(() => {
273
- const e = t.rowSelection || Me.value?.rowSelection;
273
+ const e = t.rowSelection || ke.value?.rowSelection;
274
274
  if (e)
275
- return e === !0 ? we : {
276
- ...we,
275
+ return e === !0 ? Se : {
276
+ ...Se,
277
277
  ...e
278
278
  };
279
- }), Le = ht(t, w), Ue = i(
280
- () => F(t.dataSource) ? m.records : t.dataSource
279
+ }), He = ht(t, w), Ue = i(
280
+ () => k(t.dataSource) ? m.records : t.dataSource
281
281
  ), {
282
282
  select: _e,
283
283
  unSelect: je,
@@ -301,11 +301,11 @@ const gr = /* @__PURE__ */ xo({
301
301
  const { type: o = "checkbox", disabled: n } = e;
302
302
  return {
303
303
  mode: Ye[o],
304
- isRowSelectable: (l) => n ? !n(l.data) : !0,
304
+ isRowSelectable: (a) => n ? !n(a.data) : !0,
305
305
  hideDisabledCheckboxes: e.hideDisabled ?? !1
306
306
  };
307
307
  });
308
- function W(e) {
308
+ function L(e) {
309
309
  return E(t.rowKey) ? t.rowKey(e) : e[t.rowKey];
310
310
  }
311
311
  const I = ({
@@ -316,9 +316,9 @@ const gr = /* @__PURE__ */ xo({
316
316
  const o = G.value || [];
317
317
  b = !1;
318
318
  const n = [];
319
- e.forEachNode((l) => {
320
- const p = l.data, u = W(p), f = l.isSelected();
321
- o.find((g) => W(g) === u) ? !f && n.push(l) : f && l.setSelected(!1);
319
+ e.forEachNode((a) => {
320
+ const p = a.data, u = L(p), f = a.isSelected();
321
+ o.find((g) => L(g) === u) ? !f && n.push(a) : f && a.setSelected(!1);
322
322
  }), e.setNodesSelected({ nodes: n, newValue: !0 }), setTimeout(() => {
323
323
  b = !0;
324
324
  }, 0);
@@ -332,14 +332,14 @@ const gr = /* @__PURE__ */ xo({
332
332
  }, oo = () => {
333
333
  b = !0;
334
334
  const e = s.value;
335
- if (!e || !k.value)
335
+ if (!e || !F.value)
336
336
  return;
337
- const o = e.getColumnState(), { colKey: n, order: l } = k.value, p = o.map((u) => ({
337
+ const o = e.getColumnState(), { colKey: n, order: a } = F.value, p = o.map((u) => ({
338
338
  ...u,
339
- sort: u.colId === n ? Z[l] : null
339
+ sort: u.colId === n ? ee[a] : null
340
340
  }));
341
341
  P(p);
342
- }, H = () => {
342
+ }, W = () => {
343
343
  qe(), s.value?.deselectAll();
344
344
  };
345
345
  function to(e) {
@@ -362,7 +362,7 @@ const gr = /* @__PURE__ */ xo({
362
362
  I({});
363
363
  });
364
364
  }
365
- function lo(e) {
365
+ function ao(e) {
366
366
  Xe(e), A(() => {
367
367
  I({});
368
368
  });
@@ -371,57 +371,58 @@ const gr = /* @__PURE__ */ xo({
371
371
  const o = e ? "getFieldsValueTransformed" : "getFieldsValue";
372
372
  return S.value?.apForm?.[o]?.(!0);
373
373
  }
374
- function ae(e) {
374
+ function se(e) {
375
375
  S.value?.apForm?.setFieldsValue?.(e);
376
376
  }
377
- function se() {
377
+ function ie() {
378
378
  return S.value?.getSorterItems() || [];
379
379
  }
380
- function ie(e) {
380
+ function ue(e) {
381
381
  S.value?.setSorterItems(e);
382
382
  }
383
- function ue() {
383
+ function de() {
384
384
  S.value?.resetSorterItems();
385
385
  }
386
- function de(e) {
386
+ function ce(e) {
387
387
  return e && String(e);
388
388
  }
389
- function ao(e) {
389
+ function lo(e) {
390
390
  const o = s.value;
391
391
  if (!o)
392
392
  return;
393
- const n = o.getColumnState() || [], l = e.map((a) => a.key ? String(a.key) : a.key).filter(Boolean), p = n.map((a) => {
394
- if (!ke.value.includes(a.colId))
395
- return a;
396
- const x = !l.includes(a.colId), ce = {
397
- ...a,
393
+ const n = o.getColumnState() || [], a = e.map((l) => l.key ? String(l.key) : l.key).filter(Boolean), p = n.map((l) => {
394
+ if (!Be.value.includes(l.colId))
395
+ return l;
396
+ const x = !a.includes(l.colId), me = {
397
+ ...l,
398
398
  hide: x
399
- }, me = e.find(
400
- (bo) => de(bo.key) === a.colId
399
+ }, pe = e.find(
400
+ (bo) => ce(bo.key) === l.colId
401
401
  );
402
- return me && (ce.pinned = me.fixed || null), ce;
402
+ return pe && (me.pinned = pe.fixed || null), me;
403
403
  }), u = new Map(
404
- e.map((a, x) => [de(a.key), x])
405
- ), f = p.filter((a) => u.has(a.colId)).sort(
406
- (a, x) => u.get(a.colId) - u.get(x.colId)
404
+ e.map((l, x) => [ce(l.key), x])
405
+ ), f = p.filter((l) => u.has(l.colId)).sort(
406
+ (l, x) => u.get(l.colId) - u.get(x.colId)
407
407
  ), g = [];
408
408
  let c = 0;
409
- for (const a of p)
410
- u.has(a.colId) ? g.push(f[c++]) : g.push(a);
409
+ for (const l of p)
410
+ u.has(l.colId) ? g.push(f[c++]) : g.push(l);
411
411
  P(g, { applyOrder: !0 });
412
412
  }
413
- at({
413
+ lt({
414
414
  columns: i(() => w.value),
415
415
  columnsBackup: i(() => Y.value),
416
- size: i(() => lt[R.value]),
416
+ size: i(() => at[R.value]),
417
417
  updateColumns(e) {
418
418
  w.value = e, t.onShownColumnsChange?.(e), ut(
419
- () => s.value,
419
+ () => s.value?.getColumnState(),
420
420
  () => {
421
- ao(e);
421
+ lo(e);
422
422
  },
423
423
  {
424
- interval: 17
424
+ interval: 17,
425
+ check: (o) => !!(o && o.length > 0)
425
426
  }
426
427
  );
427
428
  },
@@ -429,39 +430,37 @@ const gr = /* @__PURE__ */ xo({
429
430
  R.value = nt[e];
430
431
  },
431
432
  renderConfig: i(() => ({
432
- className: ye("table-header", "title"),
433
+ className: ve("table-header", "title"),
433
434
  color: Fe.value.colorTextTertiary
434
435
  })),
435
436
  dataSource: i(() => r(m).records),
436
437
  getSearchFormValues: le,
437
- setSearchFormValues: ae,
438
+ setSearchFormValues: se,
438
439
  submit: V,
439
- submitWith: re,
440
+ submitWith: ne,
440
441
  reset: K,
441
- refresh: ne,
442
- getSearchFormSorterItems: se,
443
- setSearchFormSorterItems: ie,
444
- resetSearchFormSorterItems: ue,
445
- getLastParams: He
442
+ refresh: ae,
443
+ getSearchFormSorterItems: ie,
444
+ setSearchFormSorterItems: ue,
445
+ resetSearchFormSorterItems: de,
446
+ getLastParams: We
446
447
  });
447
- const so = i(
448
- () => F(t.loading) ? m.loading : t.loading
449
- ), io = i(() => [
448
+ const so = i(() => (k(t.loading) ? m.loading : t.loading) || Z.value.length === 0), io = i(() => [
450
449
  d(),
451
450
  t.card ? null : d("wrapper"),
452
451
  d("adaptive"),
453
452
  d(`size-${R.value}`),
454
453
  t.autoHeight && m.records.length ? d("auto-height") : null,
455
- ve.value
454
+ Re.value
456
455
  ].filter(Boolean)), uo = i(() => ({
457
456
  height: "100%",
458
457
  ...t.tableStyle || {}
459
458
  })), co = (e, o) => {
460
- te({ current: e, pageSize: o });
459
+ re({ current: e, pageSize: o });
461
460
  };
462
461
  function mo(e) {
463
462
  const o = e.data;
464
- return W(o);
463
+ return L(o);
465
464
  }
466
465
  function po(e, o) {
467
466
  (E(e) ? s.value?.ensureNodeVisible : s.value?.ensureIndexVisible)?.(e, o);
@@ -503,51 +502,51 @@ const gr = /* @__PURE__ */ xo({
503
502
  }, Ro = (e, o, n) => {
504
503
  q(
505
504
  t.plugins,
506
- (l) => l.searchParamsChange?.bind(this),
505
+ (a) => a.searchParamsChange?.bind(this),
507
506
  o
508
507
  ), t.searchForm && t.searchForm.onValuesChange?.(e, o, n);
509
508
  };
510
- return L(
509
+ return H(
511
510
  () => t.dataSource,
512
511
  (e) => {
513
512
  A(() => {
514
- We(e, !0);
513
+ Le(e, !0);
515
514
  });
516
515
  },
517
516
  { immediate: !0, deep: !0 }
518
- ), L(
517
+ ), H(
519
518
  () => t.size,
520
519
  (e) => {
521
520
  R.value = e;
522
521
  }
523
- ), L(
522
+ ), H(
524
523
  () => r(m).loading,
525
524
  (e) => {
526
525
  t.onLoadingChange?.(e);
527
526
  }
528
- ), Ce({
527
+ ), he({
529
528
  submit: V,
530
529
  reset: K,
531
- refresh: ne,
532
- submitWith: re,
533
- setSearchFormValues: ae,
530
+ refresh: ae,
531
+ submitWith: ne,
532
+ setSearchFormValues: se,
534
533
  getSearchFormValues: le,
535
534
  getShowColumns: () => r(w),
536
535
  rowSelection: {
537
536
  selectedRows: i(() => G.value),
538
537
  setSelectedRowKeys: to,
539
538
  setSelectedRows: no,
540
- clearAll: H,
541
- unSelectRows: lo
539
+ clearAll: W,
540
+ unSelectRows: ao
542
541
  },
543
542
  scrollToRow: po,
544
543
  scrollToColumn: fo,
545
544
  getDataSource: () => r(m.records),
546
545
  getPaging: Ke,
547
546
  setPaging: Ge,
548
- getSearchFormSorterItems: se,
549
- setSearchFormSorterItems: ie,
550
- resetSearchFormSorterItems: ue,
547
+ getSearchFormSorterItems: ie,
548
+ setSearchFormSorterItems: ue,
549
+ resetSearchFormSorterItems: de,
551
550
  refreshCells: So,
552
551
  redrawRows: Co,
553
552
  _internalGridApi: i(() => s.value)
@@ -555,21 +554,21 @@ const gr = /* @__PURE__ */ xo({
555
554
  class: v(io.value),
556
555
  style: _(e.wrapperStyle)
557
556
  }, [
558
- r(F)(e.dataSource) && e.searchForm !== !1 && r(X).length > 0 ? (y(), U("div", {
557
+ r(k)(e.dataSource) && e.searchForm !== !1 && r(X).length > 0 ? (y(), U("div", {
559
558
  key: 0,
560
559
  class: v(e.card ? r(D)("search-wrapper") : null),
561
560
  style: _(e.searchFormWrapperStyle)
562
561
  }, [
563
- Fo(r(ct).SearchForm, j(r(rt)(e.searchForm || {}, ["onValuesChange"]), {
562
+ ko(r(ct).SearchForm, j(r(rt)(e.searchForm || {}, ["onValuesChange"]), {
564
563
  ref_key: "formRef",
565
564
  ref: S,
566
565
  "custom-reset": "",
567
- "submit-loading": r(oe).loading,
566
+ "submit-loading": r(te).loading,
568
567
  onSubmit: r(V),
569
568
  onReset: r(K),
570
569
  onValuesChange: Ro
571
- }), ko({
572
- default: fe(() => [
570
+ }), Fo({
571
+ default: ge(() => [
573
572
  (y(!0), U(Bo, null, Io(r(X), (n) => (y(), $(Ao(n.renderNode), {
574
573
  key: n.dataIndex
575
574
  }))), 128))
@@ -578,13 +577,13 @@ const gr = /* @__PURE__ */ xo({
578
577
  }, [
579
578
  N.searchFormExtra ? {
580
579
  name: "extra",
581
- fn: fe(() => [
582
- ge(e.$slots, "searchFormExtra")
580
+ fn: ge(() => [
581
+ we(e.$slots, "searchFormExtra")
583
582
  ]),
584
583
  key: "0"
585
584
  } : void 0
586
585
  ]), 1040, ["submit-loading", "onSubmit", "onReset"])
587
- ], 6)) : pe("", !0),
586
+ ], 6)) : fe("", !0),
588
587
  T("div", {
589
588
  class: v([r(D)("table-wrapper"), e.card ? r(D)("table-wrapper-card") : null]),
590
589
  style: _(e.tableWrapperStyle)
@@ -592,11 +591,11 @@ const gr = /* @__PURE__ */ xo({
592
591
  T("div", {
593
592
  class: v(r(d)("header-wrapper"))
594
593
  }, [
595
- ge(e.$slots, "title", {
594
+ we(e.$slots, "title", {
596
595
  selectedRows: r(G),
597
596
  selectedRowKeys: r($e),
598
597
  shownColumns: r(w),
599
- clearAll: H
598
+ clearAll: W
600
599
  })
601
600
  ], 2),
602
601
  T("div", {
@@ -605,21 +604,21 @@ const gr = /* @__PURE__ */ xo({
605
604
  class: v(r(d)("grid-wrapper"))
606
605
  }, [
607
606
  (y(), $(r(tt), j(
608
- r(xt)(r(be), r(Q), ro.value),
607
+ r(xt)(r(xe), r(Q), ro.value),
609
608
  {
610
609
  key: r(J),
611
610
  "animate-rows": e.animateRows,
612
611
  "get-row-class": yo,
613
612
  style: uo.value,
614
613
  "row-data": r(m).records,
615
- "column-defs": r(Ae),
616
- "default-col-def": r(Ie),
614
+ "column-defs": r(Z),
615
+ "default-col-def": r(Ae),
617
616
  "suppress-loading-overlay": "",
618
617
  "row-selection": Ze.value,
619
- "selection-column-def": r(Le),
618
+ "selection-column-def": r(He),
620
619
  "get-row-id": mo,
621
620
  "get-row-height": t.getRowHeight,
622
- theme: r(Re),
621
+ theme: r(be),
623
622
  "tooltip-show-delay": 500,
624
623
  "enable-browser-tooltips": e.browserTooltips,
625
624
  "tooltip-interaction": "",
@@ -632,7 +631,7 @@ const gr = /* @__PURE__ */ xo({
632
631
  "tab-to-next-cell": () => !1,
633
632
  "enable-cell-span": "",
634
633
  "dom-layout": e.autoHeight ? "autoHeight" : "normal",
635
- "locale-text": he[r(J)],
634
+ "locale-text": ye[r(J)],
636
635
  onSortChanged: Pe,
637
636
  onGridReady: vo,
638
637
  onRowDataUpdated: I,
@@ -651,7 +650,7 @@ const gr = /* @__PURE__ */ xo({
651
650
  e.pagination !== !1 ? (y(), $(r(No), j({
652
651
  key: 0,
653
652
  class: r(d)("pagination")
654
- }, r(oe).pagination, { onChange: co }), null, 16, ["class"])) : pe("", !0)
653
+ }, r(te).pagination, { onChange: co }), null, 16, ["class"])) : fe("", !0)
655
654
  ], 2)
656
655
  ], 6)
657
656
  ], 6));