@aplus-frontend/ui 7.13.6 → 7.13.8

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 (215) hide show
  1. package/es/src/ag-grid/components/body-cell/index.vue2.mjs +7 -7
  2. package/es/src/ag-grid/components/empty/index.vue2.mjs +10 -10
  3. package/es/src/ag-grid/components/header-cell/index.vue2.mjs +37 -37
  4. package/es/src/ag-grid/components/row/index.vue2.mjs +5 -5
  5. package/es/src/ag-grid/components/tooltip/index.vue2.mjs +12 -12
  6. package/es/src/ag-grid/editable/form-item.vue.mjs +49 -49
  7. package/es/src/ag-grid/editable/index.vue.mjs +27 -27
  8. package/es/src/ag-grid/index.vue.mjs +249 -249
  9. package/es/src/ap-action/group/index.vue.mjs +15 -15
  10. package/es/src/ap-action/item/index.vue2.mjs +28 -28
  11. package/es/src/ap-action/item-dropdown/index.vue.mjs +39 -39
  12. package/es/src/ap-field/checkbox/index.vue.mjs +19 -19
  13. package/es/src/ap-field/checkbox/read.vue2.mjs +9 -9
  14. package/es/src/ap-field/date/index.vue.mjs +50 -50
  15. package/es/src/ap-field/date/read.vue2.mjs +7 -7
  16. package/es/src/ap-field/date-range/index.vue.mjs +30 -30
  17. package/es/src/ap-field/date-range/read.vue2.mjs +20 -20
  18. package/es/src/ap-field/number/index.vue.mjs +24 -24
  19. package/es/src/ap-field/radio/index.vue.mjs +24 -24
  20. package/es/src/ap-field/second/index.vue.mjs +15 -15
  21. package/es/src/ap-field/second/read.vue2.mjs +7 -7
  22. package/es/src/ap-field/segmented/index.vue.mjs +24 -24
  23. package/es/src/ap-field/select/index.vue.d.ts +1 -1
  24. package/es/src/ap-field/select/index.vue.mjs +246 -206
  25. package/es/src/ap-field/select/read.vue2.mjs +6 -6
  26. package/es/src/ap-field/slider/index.vue.mjs +11 -11
  27. package/es/src/ap-field/style/select.mjs +17 -4
  28. package/es/src/ap-field/switch/index.vue.mjs +45 -45
  29. package/es/src/ap-field/text/read-password.vue2.mjs +13 -13
  30. package/es/src/ap-field/text/read.vue2.mjs +3 -3
  31. package/es/src/ap-field/text-area/index.vue.mjs +29 -29
  32. package/es/src/ap-field/text-area/read.vue2.mjs +12 -12
  33. package/es/src/ap-field/tree-select/index.vue.mjs +31 -31
  34. package/es/src/ap-form/ap-form.vue2.mjs +46 -46
  35. package/es/src/ap-form/drawer-form/index.vue.mjs +30 -30
  36. package/es/src/ap-form/item/index.vue.mjs +75 -75
  37. package/es/src/ap-form/items/checkbox/index.vue.mjs +10 -10
  38. package/es/src/ap-form/items/number/index.vue.mjs +17 -17
  39. package/es/src/ap-form/items/radio/index.vue.mjs +13 -13
  40. package/es/src/ap-form/items/select/index.vue.d.ts +4 -4
  41. package/es/src/ap-form/items/switch/index.vue.mjs +14 -14
  42. package/es/src/ap-form/items/text/index.vue2.mjs +26 -26
  43. package/es/src/ap-form/items/text/password.vue.mjs +19 -19
  44. package/es/src/ap-form/items/text-area/index.vue.mjs +17 -17
  45. package/es/src/ap-form/modal-form/index.vue.mjs +34 -34
  46. package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +39 -39
  47. package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.mjs +7 -7
  48. package/es/src/ap-grid/editable/form-item.vue.mjs +46 -46
  49. package/es/src/ap-grid/editable/index.vue.mjs +19 -19
  50. package/es/src/ap-grid/index.vue.mjs +212 -212
  51. package/es/src/ap-list/index.vue.mjs +116 -116
  52. package/es/src/ap-table/ap-table.vue2.mjs +217 -217
  53. package/es/src/ap-table/components/index/index.vue2.mjs +9 -9
  54. package/es/src/ap-table/components/setting/modal/index.vue2.mjs +42 -42
  55. package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +21 -21
  56. package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +15 -15
  57. package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +69 -69
  58. package/es/src/ap-table/components/setting/template/edit-form.vue2.mjs +22 -22
  59. package/es/src/ap-table/components/setting/template/index.vue2.mjs +25 -25
  60. package/es/src/ap-table/components/setting/template/item.vue2.mjs +40 -40
  61. package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +13 -13
  62. package/es/src/ap-table/constants.d.ts +2 -2
  63. package/es/src/business/ag-grid-modal/modal-layout/index.vue2.mjs +54 -54
  64. package/es/src/business/ag-grid-modal/selected-items/default.vue2.mjs +13 -13
  65. package/es/src/business/ag-grid-modal/wrapper/index.vue2.mjs +20 -20
  66. package/es/src/business/ap-descriptions/ap-descriptions.vue.mjs +33 -33
  67. package/es/src/business/ap-descriptions/help-message/index.vue2.mjs +13 -13
  68. package/es/src/business/ap-download/ap-download.vue.mjs +24 -24
  69. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.mjs +77 -77
  70. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +168 -157
  71. package/es/src/business/ap-radio-group/ap-radio-group.vue2.mjs +33 -33
  72. package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +12 -12
  73. package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +43 -43
  74. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +57 -57
  75. package/es/src/business/ap-tag/ap-tag-group.vue.mjs +37 -37
  76. package/es/src/business/ap-tag/ap-tag.vue.mjs +24 -24
  77. package/es/src/business/ap-title/ApTitle.vue2.mjs +27 -27
  78. package/es/src/business/ap-value-select-card/index.vue2.mjs +98 -98
  79. package/es/src/business/ap-view/components/main-button-content.vue.d.ts +1 -1
  80. package/es/src/business/batch-input-group/form-item.vue.mjs +25 -25
  81. package/es/src/business/batch-input-group/index.vue.mjs +60 -60
  82. package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +29 -29
  83. package/es/src/editable-table/form-item.vue.mjs +35 -35
  84. package/es/src/editable-table/index.vue.mjs +19 -19
  85. package/es/src/full-screen/index.vue.mjs +46 -46
  86. package/es/src/mask/index.vue.mjs +48 -48
  87. package/es/src/portal/index.vue.mjs +5 -5
  88. package/es/src/scroll-bar/internal.vue.mjs +62 -62
  89. package/es/src/scroll-view/index.vue.mjs +66 -66
  90. package/es/src/skeleton/components/desc/index.vue2.mjs +9 -9
  91. package/es/src/skeleton/components/desc/item-large.vue2.mjs +25 -25
  92. package/es/src/skeleton/components/desc/item.vue2.mjs +13 -13
  93. package/es/src/skeleton/components/list/index.vue2.mjs +14 -14
  94. package/es/src/skeleton/components/list/item.vue2.mjs +12 -12
  95. package/es/src/skeleton/components/page-header/index.vue2.mjs +8 -8
  96. package/es/src/skeleton/components/search-form/index.vue2.mjs +35 -35
  97. package/es/src/skeleton/components/table/index.vue2.mjs +17 -17
  98. package/es/src/skeleton/components/table/item.vue2.mjs +23 -23
  99. package/es/src/skeleton/descriptions.vue2.mjs +15 -15
  100. package/es/src/skeleton/list-page.vue2.mjs +12 -12
  101. package/es/src/splitter/Panel.vue2.mjs +11 -11
  102. package/es/src/splitter/SplitBar.vue2.mjs +79 -79
  103. package/es/src/splitter/Splitter.vue2.mjs +50 -50
  104. package/es/src/text/group.vue.mjs +8 -8
  105. package/es/src/text/index.vue.mjs +48 -48
  106. package/es/src/version.d.ts +1 -1
  107. package/es/src/version.mjs +1 -1
  108. package/lib/src/ag-grid/components/body-cell/index.vue2.js +1 -1
  109. package/lib/src/ag-grid/components/empty/index.vue2.js +1 -1
  110. package/lib/src/ag-grid/components/header-cell/index.vue2.js +1 -1
  111. package/lib/src/ag-grid/components/row/index.vue2.js +1 -1
  112. package/lib/src/ag-grid/components/tooltip/index.vue2.js +1 -1
  113. package/lib/src/ag-grid/editable/form-item.vue.js +1 -1
  114. package/lib/src/ag-grid/editable/index.vue.js +1 -1
  115. package/lib/src/ag-grid/index.vue.js +1 -1
  116. package/lib/src/ap-action/group/index.vue.js +1 -1
  117. package/lib/src/ap-action/item/index.vue2.js +1 -1
  118. package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
  119. package/lib/src/ap-field/checkbox/index.vue.js +1 -1
  120. package/lib/src/ap-field/checkbox/read.vue2.js +1 -1
  121. package/lib/src/ap-field/date/index.vue.js +1 -1
  122. package/lib/src/ap-field/date/read.vue2.js +1 -1
  123. package/lib/src/ap-field/date-range/index.vue.js +1 -1
  124. package/lib/src/ap-field/date-range/read.vue2.js +1 -1
  125. package/lib/src/ap-field/number/index.vue.js +1 -1
  126. package/lib/src/ap-field/radio/index.vue.js +1 -1
  127. package/lib/src/ap-field/second/index.vue.js +1 -1
  128. package/lib/src/ap-field/second/read.vue2.js +1 -1
  129. package/lib/src/ap-field/segmented/index.vue.js +1 -1
  130. package/lib/src/ap-field/select/index.vue.d.ts +1 -1
  131. package/lib/src/ap-field/select/index.vue.js +1 -1
  132. package/lib/src/ap-field/select/read.vue2.js +1 -1
  133. package/lib/src/ap-field/slider/index.vue.js +1 -1
  134. package/lib/src/ap-field/style/select.js +1 -1
  135. package/lib/src/ap-field/switch/index.vue.js +1 -1
  136. package/lib/src/ap-field/text/read-password.vue2.js +1 -1
  137. package/lib/src/ap-field/text/read.vue2.js +1 -1
  138. package/lib/src/ap-field/text-area/index.vue.js +1 -1
  139. package/lib/src/ap-field/text-area/read.vue2.js +1 -1
  140. package/lib/src/ap-field/tree-select/index.vue.js +1 -1
  141. package/lib/src/ap-form/ap-form.vue2.js +1 -1
  142. package/lib/src/ap-form/drawer-form/index.vue.js +1 -1
  143. package/lib/src/ap-form/item/index.vue.js +1 -1
  144. package/lib/src/ap-form/items/checkbox/index.vue.js +1 -1
  145. package/lib/src/ap-form/items/number/index.vue.js +1 -1
  146. package/lib/src/ap-form/items/radio/index.vue.js +1 -1
  147. package/lib/src/ap-form/items/select/index.vue.d.ts +4 -4
  148. package/lib/src/ap-form/items/switch/index.vue.js +1 -1
  149. package/lib/src/ap-form/items/text/index.vue2.js +1 -1
  150. package/lib/src/ap-form/items/text/password.vue.js +1 -1
  151. package/lib/src/ap-form/items/text-area/index.vue.js +1 -1
  152. package/lib/src/ap-form/modal-form/index.vue.js +1 -1
  153. package/lib/src/ap-form/search-form/components/popover-filter.vue2.js +1 -1
  154. package/lib/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.js +1 -1
  155. package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
  156. package/lib/src/ap-grid/editable/index.vue.js +1 -1
  157. package/lib/src/ap-grid/index.vue.js +1 -1
  158. package/lib/src/ap-list/index.vue.js +1 -1
  159. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  160. package/lib/src/ap-table/components/index/index.vue2.js +1 -1
  161. package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
  162. package/lib/src/ap-table/components/setting/select-group/index.vue2.js +1 -1
  163. package/lib/src/ap-table/components/setting/sortable/index.vue2.js +1 -1
  164. package/lib/src/ap-table/components/setting/sortable/item.vue2.js +1 -1
  165. package/lib/src/ap-table/components/setting/template/edit-form.vue2.js +1 -1
  166. package/lib/src/ap-table/components/setting/template/index.vue2.js +1 -1
  167. package/lib/src/ap-table/components/setting/template/item.vue2.js +1 -1
  168. package/lib/src/ap-table/components/setting/tree-select/index.vue2.js +1 -1
  169. package/lib/src/ap-table/constants.d.ts +2 -2
  170. package/lib/src/business/ag-grid-modal/modal-layout/index.vue2.js +1 -1
  171. package/lib/src/business/ag-grid-modal/selected-items/default.vue2.js +1 -1
  172. package/lib/src/business/ag-grid-modal/wrapper/index.vue2.js +1 -1
  173. package/lib/src/business/ap-descriptions/ap-descriptions.vue.js +1 -1
  174. package/lib/src/business/ap-descriptions/help-message/index.vue2.js +1 -1
  175. package/lib/src/business/ap-download/ap-download.vue.js +1 -1
  176. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.js +1 -1
  177. package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
  178. package/lib/src/business/ap-radio-group/ap-radio-group.vue2.js +1 -1
  179. package/lib/src/business/ap-status/group/ApStatusGroup.vue2.js +1 -1
  180. package/lib/src/business/ap-table-modal/table-layout/index.vue2.js +1 -1
  181. package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
  182. package/lib/src/business/ap-tag/ap-tag-group.vue.js +1 -1
  183. package/lib/src/business/ap-tag/ap-tag.vue.js +1 -1
  184. package/lib/src/business/ap-title/ApTitle.vue2.js +1 -1
  185. package/lib/src/business/ap-value-select-card/index.vue2.js +1 -1
  186. package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +1 -1
  187. package/lib/src/business/batch-input-group/form-item.vue.js +1 -1
  188. package/lib/src/business/batch-input-group/index.vue.js +2 -2
  189. package/lib/src/business/batch-input-group/popover-input/index.vue2.js +2 -2
  190. package/lib/src/editable-table/form-item.vue.js +1 -1
  191. package/lib/src/editable-table/index.vue.js +1 -1
  192. package/lib/src/full-screen/index.vue.js +1 -1
  193. package/lib/src/mask/index.vue.js +1 -1
  194. package/lib/src/portal/index.vue.js +1 -1
  195. package/lib/src/scroll-bar/internal.vue.js +1 -1
  196. package/lib/src/scroll-view/index.vue.js +1 -1
  197. package/lib/src/skeleton/components/desc/index.vue2.js +1 -1
  198. package/lib/src/skeleton/components/desc/item-large.vue2.js +1 -1
  199. package/lib/src/skeleton/components/desc/item.vue2.js +1 -1
  200. package/lib/src/skeleton/components/list/index.vue2.js +1 -1
  201. package/lib/src/skeleton/components/list/item.vue2.js +1 -1
  202. package/lib/src/skeleton/components/page-header/index.vue2.js +1 -1
  203. package/lib/src/skeleton/components/search-form/index.vue2.js +1 -1
  204. package/lib/src/skeleton/components/table/index.vue2.js +1 -1
  205. package/lib/src/skeleton/components/table/item.vue2.js +1 -1
  206. package/lib/src/skeleton/descriptions.vue2.js +1 -1
  207. package/lib/src/skeleton/list-page.vue2.js +1 -1
  208. package/lib/src/splitter/Panel.vue2.js +1 -1
  209. package/lib/src/splitter/SplitBar.vue2.js +1 -1
  210. package/lib/src/splitter/Splitter.vue2.js +1 -1
  211. package/lib/src/text/group.vue.js +1 -1
  212. package/lib/src/text/index.vue.js +1 -1
  213. package/lib/src/version.d.ts +1 -1
  214. package/lib/src/version.js +1 -1
  215. package/package.json +1 -1
@@ -1,27 +1,27 @@
1
- import { defineComponent as po, useSlots as fo, ref as M, toRef as F, unref as t, computed as n, nextTick as I, watch as G, createElementBlock as L, openBlock as y, normalizeStyle as O, normalizeClass as C, createCommentVNode as se, createElementVNode as A, createVNode as go, mergeProps as W, createSlots as wo, withCtx as ie, Fragment as So, renderList as yo, createBlock as H, resolveDynamicComponent as Co, renderSlot as ue } from "vue";
1
+ import { defineComponent as po, useSlots as fo, ref as M, toRef as F, unref as t, computed as n, nextTick as A, watch as L, createElementBlock as O, openBlock as C, normalizeStyle as W, normalizeClass as h, createCommentVNode as ie, createElementVNode as T, createVNode as go, mergeProps as H, createSlots as wo, withCtx as ue, Fragment as So, renderList as yo, createBlock as U, resolveDynamicComponent as Co, renderSlot as de } from "vue";
2
2
  import { AG_GRID_LOCALE_EN as ho, AG_GRID_LOCALE_CN as Ro } from "@ag-grid-community/locale";
3
3
  import { Pagination as vo } from "@aplus-frontend/antdv";
4
4
  import { useToken as bo } from "@aplus-frontend/antdv/es/theme/internal";
5
- import { ModuleRegistry as Mo, ValidationModule as Fo, ColumnAutoSizeModule as Bo, PinnedRowModule as xo, RowAutoHeightModule as ko, RowStyleModule as Io, CellSpanModule as Ao, CellStyleModule as To, TooltipModule as No, RowSelectionModule as Do, LocaleModule as Eo, ValueCacheModule as Po, GridStateModule as Ko, ColumnApiModule as Vo, RowApiModule as zo, CellApiModule as Go, RenderApiModule as Lo, EventApiModule as Oo, ScrollApiModule as Wo, ClientSideRowModelApiModule as Ho, ClientSideRowModelModule as Uo } from "ag-grid-community";
6
- import { AgGridVue as _o } from "ag-grid-vue3";
7
- import { isUndefined as B, isFunction as T } from "lodash-unified";
8
- import { DEFAULT_ROW_SELECTION_CONFIG as de, sizeReverseMap as jo, sizeMap as $o } from "../ap-grid/constants.mjs";
9
- import { useProvideApTable as qo } from "../ap-table/context.mjs";
10
- import { useTablePaging as Jo } from "../ap-table/hooks/use-table-paging-ng.mjs";
11
- import { recursionApColumns as Qo } from "../ap-table/utils.mjs";
5
+ import { ModuleRegistry as xo, ValidationModule as Mo, ColumnAutoSizeModule as Fo, PinnedRowModule as Bo, RowAutoHeightModule as ko, RowStyleModule as Io, CellSpanModule as Ao, CellStyleModule as To, TooltipModule as No, RowSelectionModule as Do, LocaleModule as Eo, ValueCacheModule as Po, GridStateModule as Ko, ColumnApiModule as Vo, RowApiModule as zo, CellApiModule as Go, RenderApiModule as Lo, EventApiModule as Oo, ScrollApiModule as Wo, ClientSideRowModelApiModule as Ho, ClientSideRowModelModule as Uo } from "ag-grid-community";
6
+ import { AgGridVue as jo } from "ag-grid-vue3";
7
+ import { isUndefined as B, isFunction as N } from "lodash-unified";
8
+ import { DEFAULT_ROW_SELECTION_CONFIG as ce, sizeReverseMap as $o, sizeMap as qo } from "../ap-grid/constants.mjs";
9
+ import { useProvideApTable as Jo } from "../ap-table/context.mjs";
10
+ import { useTablePaging as Qo } from "../ap-table/hooks/use-table-paging-ng.mjs";
11
+ import { recursionApColumns as Xo } from "../ap-table/utils.mjs";
12
12
  import "../config-provider/index.mjs";
13
13
  import "../utils/index.mjs";
14
- import { retryUntil as Xo } from "../utils/retry.mjs";
15
- import { getValidVNodeList as Yo } from "../utils/slot.mjs";
16
- import { ApForm as Zo } from "../ap-form/index.mjs";
14
+ import { retryUntil as Yo } from "../utils/retry.mjs";
15
+ import { getValidVNodeList as Zo } from "../utils/slot.mjs";
16
+ import { ApForm as _o } from "../ap-form/index.mjs";
17
17
  import "./components/empty/index.vue.mjs";
18
18
  import "./components/loading/index.vue.mjs";
19
19
  import "./components/row/index.vue.mjs";
20
20
  import { useProvideSorter as et } from "./context.mjs";
21
21
  import { useColumns as ot } from "./hooks/use-columns.mjs";
22
22
  import { useColumnsDef as tt } from "./hooks/use-columns-def.mjs";
23
- import { usePinnedRow as rt } from "./hooks/use-pinned-row.mjs";
24
- import lt from "./hooks/use-row-selection.mjs";
23
+ import { usePinnedRow as lt } from "./hooks/use-pinned-row.mjs";
24
+ import rt from "./hooks/use-row-selection.mjs";
25
25
  import { useSearchForm as at } from "./hooks/use-search-form.mjs";
26
26
  import nt from "./hooks/use-selection-col-def.mjs";
27
27
  import st from "./hooks/use-virtual-config.mjs";
@@ -35,7 +35,7 @@ import { isDef as ft } from "../utils/is.mjs";
35
35
  import gt from "./components/row/index.vue2.mjs";
36
36
  import wt from "./components/loading/index.vue2.mjs";
37
37
  import St from "./components/empty/index.vue2.mjs";
38
- const or = /* @__PURE__ */ po({
38
+ const ol = /* @__PURE__ */ po({
39
39
  name: "AgGrid",
40
40
  __name: "index",
41
41
  props: {
@@ -113,15 +113,15 @@ const or = /* @__PURE__ */ po({
113
113
  emptyComponent: {},
114
114
  emptyText: {}
115
115
  },
116
- setup(ce, { expose: me }) {
116
+ setup(s, { expose: me }) {
117
117
  const pe = {
118
118
  "zh-cn": Ro,
119
119
  en: ho
120
120
  };
121
- Mo.registerModules([
121
+ xo.registerModules([
122
+ Mo,
122
123
  Fo,
123
124
  Bo,
124
- xo,
125
125
  ko,
126
126
  Io,
127
127
  Ao,
@@ -140,78 +140,78 @@ const or = /* @__PURE__ */ po({
140
140
  Ho,
141
141
  Uo
142
142
  ]);
143
- const o = ce, U = fo(), { e: N, b: d, be: fe } = ct("ag-grid"), { lang: _ } = mt(), ge = it("ag-grid"), h = M(o.size), we = ut(
144
- h,
143
+ const o = s, j = fo(), { e: D, b: c, be: fe } = ct("ag-grid"), { lang: $ } = mt(), ge = it("ag-grid"), R = M(o.size), we = ut(
144
+ R,
145
145
  F(o, "rowHeight"),
146
146
  F(o, "theme")
147
- ), Se = st(F(o, "virtual")), { rowPinnedGridConfig: j, getRowPinnedCellClass: ye } = rt(
147
+ ), Se = st(F(o, "virtual")), { rowPinnedGridConfig: q, getRowPinnedCellClass: ye } = lt(
148
148
  F(o, "summary")
149
- ), Ce = pt("apGrid"), s = M(), [, he] = bo();
150
- let R = !!o.dataSource;
151
- const $ = at(o), { shownColumns: g, columns: q, columnKeys: Re, getTargetColumnByKey: ve } = ot(o), { defaultColDef: be, columnDefs: Me, gridWrapperRef: Fe } = tt(q, o, ye), x = M({});
149
+ ), Ce = pt("apGrid"), i = M(), [, he] = bo();
150
+ let v = !!o.dataSource;
151
+ const J = at(o), { shownColumns: w, columns: Q, columnKeys: Re, getTargetColumnByKey: ve } = ot(o), { defaultColDef: be, columnDefs: xe, gridWrapperRef: Me } = tt(Q, o, ye), k = M({});
152
152
  et({
153
- sorter: x,
153
+ sorter: k,
154
154
  setSorter(e) {
155
- x.value = e;
155
+ k.value = e;
156
156
  }
157
157
  });
158
- const Be = {
158
+ const Fe = {
159
159
  asc: "ascend",
160
160
  desc: "descend"
161
161
  };
162
- function xe() {
163
- const e = s.value.getColumns()?.filter((c) => c.getSort() !== void 0), r = t(x) || {};
164
- let l = e?.[0];
165
- const i = Object.keys(r);
166
- if (i.length && i.every((c) => r[c] === null)) {
167
- const c = Object.keys(r)[0];
168
- c && (l = s.value?.getColumn(c));
162
+ function Be() {
163
+ const e = i.value.getColumns()?.filter((m) => m.getSort() !== void 0), l = t(k) || {};
164
+ let r = e?.[0];
165
+ const u = Object.keys(l);
166
+ if (u.length && u.every((m) => l[m] === null)) {
167
+ const m = Object.keys(l)[0];
168
+ m && (r = i.value?.getColumn(m));
169
169
  }
170
- if (!l)
170
+ if (!r)
171
171
  return;
172
- const u = l.getColDef(), p = l.getSort(), f = ve(u.colId);
173
- Q(void 0, void 0, {
174
- column: u,
175
- field: f?.field ?? u.field ?? u.colId,
176
- order: p ? Be[p] : null
172
+ const d = r.getColDef(), f = r.getSort(), g = ve(d.colId);
173
+ Y(void 0, void 0, {
174
+ column: d,
175
+ field: g?.field ?? d.field ?? d.colId,
176
+ order: f ? Fe[f] : null
177
177
  });
178
178
  }
179
- const ke = n(() => Qo(t(g), (e) => {
179
+ const ke = n(() => Xo(t(w), (e) => {
180
180
  if (e.sorter === !0)
181
181
  return e.field ?? e.dataIndex ?? e.key;
182
182
  }).filter(Boolean)), Ie = () => {
183
- x.value = {};
184
- const e = s.value;
183
+ k.value = {};
184
+ const e = i.value;
185
185
  if (!e)
186
186
  return;
187
- const r = e.getColumnState()?.map((l) => ({ ...l, sort: null }));
188
- e.applyColumnState({ state: r });
189
- }, D = M(!0), Ae = n(() => ft(o.manual) ? o.manual : Yo(U.searchFormExtra?.() || []).some((r) => r.type?.name === "ApView")), {
190
- formRef: w,
191
- submit: E,
192
- reset: P,
193
- data: m,
194
- tableProps: J,
195
- handleTableChangeOptional: Q,
196
- submitWith: X,
197
- refresh: Y,
187
+ const l = e.getColumnState()?.map((r) => ({ ...r, sort: null }));
188
+ e.applyColumnState({ state: l });
189
+ }, E = M(!0), Ae = n(() => ft(o.manual) ? o.manual : Zo(j.searchFormExtra?.() || []).some((l) => l.type?.name === "ApView")), {
190
+ formRef: S,
191
+ submit: P,
192
+ reset: K,
193
+ data: p,
194
+ tableProps: X,
195
+ handleTableChangeOptional: Y,
196
+ submitWith: Z,
197
+ refresh: _,
198
198
  getPaging: Te,
199
199
  setPaging: Ne,
200
200
  setDataSource: De,
201
201
  getLastParams: Ee
202
- } = Jo({
202
+ } = Qo({
203
203
  async request(e) {
204
- if (R = !1, S.value && !S.value.preserveSelectedRowKeys && B(o.dataSource) && !D.value && z(), D.value && (D.value = !1), !B(o.dataSource)) {
205
- const l = e.pageSize * (e.current - 1);
204
+ if (v = !1, y.value && !y.value.preserveSelectedRowKeys && B(o.dataSource) && !E.value && G(), E.value && (E.value = !1), !B(o.dataSource)) {
205
+ const r = e.pageSize * (e.current - 1);
206
206
  return {
207
- data: (o.pagination === !1 ? o.dataSource : o.dataSource.slice(l, l + e.pageSize)) || [],
207
+ data: (o.pagination === !1 ? o.dataSource : o.dataSource.slice(r, r + e.pageSize)) || [],
208
208
  total: o.dataSource.length || 0
209
209
  };
210
210
  }
211
- const r = await o.request?.(e);
211
+ const l = await o.request?.(e);
212
212
  return {
213
- data: r?.data || [],
214
- total: r?.total || 0
213
+ data: l?.data || [],
214
+ total: l?.total || 0
215
215
  };
216
216
  },
217
217
  namespace: "ap-grid",
@@ -223,77 +223,77 @@ const or = /* @__PURE__ */ po({
223
223
  pagination: o.pagination,
224
224
  sortFields: ke,
225
225
  onClickReset: Ie
226
- }), S = n(() => {
226
+ }), y = n(() => {
227
227
  const e = o.rowSelection || Ce.value?.rowSelection;
228
228
  if (e)
229
- return e === !0 ? de : {
230
- ...de,
229
+ return e === !0 ? ce : {
230
+ ...ce,
231
231
  ...e
232
232
  };
233
- }), Pe = nt(o, g), Ke = n(
234
- () => B(o.dataSource) ? m.records : o.dataSource
233
+ }), Pe = nt(o, w), Ke = n(
234
+ () => B(o.dataSource) ? p.records : o.dataSource
235
235
  ), {
236
236
  select: Ve,
237
237
  unSelect: ze,
238
- selectedRows: K,
238
+ selectedRows: V,
239
239
  selectedRowKeys: Ge,
240
240
  clearAll: Le,
241
241
  selectMultiByKeys: Oe,
242
242
  selectMulti: We,
243
243
  unSelectMulti: He
244
- } = lt({
245
- ...S.value,
244
+ } = rt({
245
+ ...y.value,
246
246
  dataSource: Ke,
247
247
  rowKey: o.rowKey
248
248
  }), Ue = {
249
249
  checkbox: "multiRow",
250
250
  radio: "singleRow"
251
- }, _e = n(() => {
252
- const e = S.value;
251
+ }, je = n(() => {
252
+ const e = y.value;
253
253
  if (!e)
254
254
  return;
255
- const { type: r = "checkbox", disabled: l } = e;
255
+ const { type: l = "checkbox", disabled: r } = e;
256
256
  return {
257
- mode: Ue[r],
258
- isRowSelectable: (i) => l ? !l(i.data) : !0,
257
+ mode: Ue[l],
258
+ isRowSelectable: (u) => r ? !r(u.data) : !0,
259
259
  hideDisabledCheckboxes: e.hideDisabled ?? !1
260
260
  };
261
261
  });
262
- function V(e) {
263
- return T(o.rowKey) ? o.rowKey(e) : e[o.rowKey];
262
+ function z(e) {
263
+ return N(o.rowKey) ? o.rowKey(e) : e[o.rowKey];
264
264
  }
265
- const k = ({
266
- api: e = s.value
265
+ const I = ({
266
+ api: e = i.value
267
267
  }) => {
268
- if (o.onUpdate?.(), !S.value)
268
+ if (o.onUpdate?.(), !y.value)
269
269
  return;
270
- const r = K.value || [];
271
- R = !1;
272
- const l = [];
273
- e.forEachNode((i) => {
274
- const v = i.data, u = V(v), p = i.isSelected();
275
- r.find((f) => V(f) === u) ? !p && l.push(i) : p && i.setSelected(!1);
276
- }), e.setNodesSelected({ nodes: l, newValue: !0 }), setTimeout(() => {
277
- R = !0;
270
+ const l = V.value || [];
271
+ v = !1;
272
+ const r = [];
273
+ e.forEachNode((u) => {
274
+ const b = u.data, d = z(b), f = u.isSelected();
275
+ l.find((g) => z(g) === d) ? !f && r.push(u) : f && u.setSelected(!1);
276
+ }), e.setNodesSelected({ nodes: r, newValue: !0 }), setTimeout(() => {
277
+ v = !0;
278
278
  }, 0);
279
- }, je = (e) => {
280
- R && (e.node.isSelected() ? Ve(e.data) : ze(e.data), T(S.value?.tooltip) && e.api.refreshCells({
279
+ }, $e = (e) => {
280
+ v && (e.node.isSelected() ? Ve(e.data) : ze(e.data), N(y.value?.tooltip) && e.api.refreshCells({
281
281
  rowNodes: [e.node],
282
282
  // todo: 取消硬编码
283
283
  columns: ["ag-Grid-SelectionColumn"],
284
284
  force: !0
285
285
  }));
286
- }, $e = () => {
287
- R = !0;
288
- }, z = () => {
289
- Le(), s.value?.deselectAll();
286
+ }, qe = () => {
287
+ v = !0;
288
+ }, G = () => {
289
+ Le(), i.value?.deselectAll();
290
290
  };
291
- function qe(e) {
292
- Oe(e), I(() => {
293
- k({});
291
+ function Je(e) {
292
+ Oe(e), A(() => {
293
+ I({});
294
294
  });
295
295
  }
296
- const Je = n(() => {
296
+ const Qe = n(() => {
297
297
  const e = o.customRow;
298
298
  return e ? {
299
299
  isFullWidthRow: e.isCustomRow,
@@ -303,71 +303,71 @@ const or = /* @__PURE__ */ po({
303
303
  }
304
304
  } : {};
305
305
  });
306
- function Qe(e) {
307
- We(e), I(() => {
308
- k({});
306
+ function Xe(e) {
307
+ We(e), A(() => {
308
+ I({});
309
309
  });
310
310
  }
311
- function Xe(e) {
312
- He(e), I(() => {
313
- k({});
311
+ function Ye(e) {
312
+ He(e), A(() => {
313
+ I({});
314
314
  });
315
315
  }
316
- function Z(e = !1) {
317
- const r = e ? "getFieldsValueTransformed" : "getFieldsValue";
318
- return w.value?.apForm?.[r]?.(!0);
316
+ function ee(e = !1) {
317
+ const l = e ? "getFieldsValueTransformed" : "getFieldsValue";
318
+ return S.value?.apForm?.[l]?.(!0);
319
319
  }
320
- function ee(e) {
321
- w.value?.apForm?.setFieldsValue?.(e);
320
+ function oe(e) {
321
+ S.value?.apForm?.setFieldsValue?.(e);
322
322
  }
323
- function oe() {
324
- return w.value?.getSorterItems() || [];
323
+ function te() {
324
+ return S.value?.getSorterItems() || [];
325
325
  }
326
- function te(e) {
327
- w.value?.setSorterItems(e);
326
+ function le(e) {
327
+ S.value?.setSorterItems(e);
328
328
  }
329
329
  function re() {
330
- w.value?.resetSorterItems();
330
+ S.value?.resetSorterItems();
331
331
  }
332
- function le(e) {
332
+ function ae(e) {
333
333
  return e && String(e);
334
334
  }
335
- function Ye(e) {
336
- const r = s.value;
337
- if (!r)
335
+ function Ze(e) {
336
+ const l = i.value;
337
+ if (!l)
338
338
  return;
339
- const l = r.getColumnState() || [], i = e.map((a) => a.key ? String(a.key) : a.key).filter(Boolean), v = l.map((a) => {
339
+ const r = l.getColumnState() || [], u = e.map((a) => a.key ? String(a.key) : a.key).filter(Boolean), b = r.map((a) => {
340
340
  if (!Re.value.includes(a.colId))
341
341
  return a;
342
- const b = !i.includes(a.colId), ae = {
342
+ const x = !u.includes(a.colId), ne = {
343
343
  ...a,
344
- hide: b
345
- }, ne = e.find(
346
- (mo) => le(mo.key) === a.colId
344
+ hide: x
345
+ }, se = e.find(
346
+ (mo) => ae(mo.key) === a.colId
347
347
  );
348
- return ne && (ae.pinned = ne.fixed || null), ae;
349
- }), u = new Map(
350
- e.map((a, b) => [le(a.key), b])
351
- ), p = v.filter((a) => u.has(a.colId)).sort(
352
- (a, b) => u.get(a.colId) - u.get(b.colId)
353
- ), f = [];
354
- let c = 0;
355
- for (const a of v)
356
- u.has(a.colId) ? f.push(p[c++]) : f.push(a);
357
- r.applyColumnState({
358
- state: f,
348
+ return se && (ne.pinned = se.fixed || null), ne;
349
+ }), d = new Map(
350
+ e.map((a, x) => [ae(a.key), x])
351
+ ), f = b.filter((a) => d.has(a.colId)).sort(
352
+ (a, x) => d.get(a.colId) - d.get(x.colId)
353
+ ), g = [];
354
+ let m = 0;
355
+ for (const a of b)
356
+ d.has(a.colId) ? g.push(f[m++]) : g.push(a);
357
+ l.applyColumnState({
358
+ state: g,
359
359
  applyOrder: !0
360
360
  });
361
361
  }
362
- qo({
363
- columns: n(() => g.value),
364
- columnsBackup: n(() => q.value),
365
- size: n(() => $o[h.value]),
362
+ Jo({
363
+ columns: n(() => w.value),
364
+ columnsBackup: n(() => Q.value),
365
+ size: n(() => qo[R.value]),
366
366
  updateColumns(e) {
367
- g.value = e, o.onShownColumnsChange?.(e), Xo(
368
- () => s.value,
367
+ w.value = e, o.onShownColumnsChange?.(e), Yo(
368
+ () => i.value,
369
369
  () => {
370
- Ye(e);
370
+ Ze(e);
371
371
  },
372
372
  {
373
373
  interval: 17
@@ -375,48 +375,48 @@ const or = /* @__PURE__ */ po({
375
375
  );
376
376
  },
377
377
  updateSize(e) {
378
- h.value = jo[e];
378
+ R.value = $o[e];
379
379
  },
380
380
  renderConfig: n(() => ({
381
381
  className: fe("table-header", "title"),
382
382
  color: he.value.colorTextTertiary
383
383
  })),
384
- dataSource: n(() => t(m).records),
385
- getSearchFormValues: Z,
386
- setSearchFormValues: ee,
387
- submit: E,
388
- submitWith: X,
389
- reset: P,
390
- refresh: Y,
391
- getSearchFormSorterItems: oe,
392
- setSearchFormSorterItems: te,
384
+ dataSource: n(() => t(p).records),
385
+ getSearchFormValues: ee,
386
+ setSearchFormValues: oe,
387
+ submit: P,
388
+ submitWith: Z,
389
+ reset: K,
390
+ refresh: _,
391
+ getSearchFormSorterItems: te,
392
+ setSearchFormSorterItems: le,
393
393
  resetSearchFormSorterItems: re,
394
394
  getLastParams: Ee
395
395
  });
396
- const Ze = n(
397
- () => B(o.loading) ? m.loading : o.loading
396
+ const _e = n(
397
+ () => B(o.loading) ? p.loading : o.loading
398
398
  ), eo = n(() => [
399
- d(),
400
- o.card ? null : d("wrapper"),
401
- d("adaptive"),
402
- d(`size-${h.value}`),
403
- o.autoHeight && m.records.length ? d("auto-height") : null,
399
+ c(),
400
+ o.card ? null : c("wrapper"),
401
+ c("adaptive"),
402
+ c(`size-${R.value}`),
403
+ o.autoHeight && p.records.length ? c("auto-height") : null,
404
404
  ge.value
405
405
  ].filter(Boolean)), oo = n(() => ({
406
406
  height: "100%",
407
407
  ...o.tableStyle || {}
408
- })), to = (e, r) => {
409
- Q({ current: e, pageSize: r });
408
+ })), to = (e, l) => {
409
+ Y({ current: e, pageSize: l });
410
410
  };
411
- function ro(e) {
412
- const r = e.data;
413
- return V(r);
411
+ function lo(e) {
412
+ const l = e.data;
413
+ return z(l);
414
414
  }
415
- function lo(e, r) {
416
- (T(e) ? s.value?.ensureNodeVisible : s.value?.ensureIndexVisible)?.(e, r);
415
+ function ro(e, l) {
416
+ (N(e) ? i.value?.ensureNodeVisible : i.value?.ensureIndexVisible)?.(e, l);
417
417
  }
418
- function ao(e, r) {
419
- s.value?.ensureColumnVisible(e, r);
418
+ function ao(e, l) {
419
+ i.value?.ensureColumnVisible(e, l);
420
420
  }
421
421
  function no(e) {
422
422
  o.onRowClicked?.(e.data, e.event);
@@ -425,167 +425,167 @@ const or = /* @__PURE__ */ po({
425
425
  o.onScrollEnd?.(e.direction);
426
426
  }
427
427
  function io(e) {
428
- return s.value?.refreshCells(e);
428
+ return i.value?.refreshCells(e);
429
429
  }
430
430
  function uo(e) {
431
- return s.value?.redrawRows(e);
431
+ return i.value?.redrawRows(e);
432
432
  }
433
433
  const co = (e) => {
434
- const r = [
435
- j.value.getRowClass?.(e)
434
+ const l = [
435
+ q.value.getRowClass?.(e)
436
436
  ];
437
437
  if (!e.node.rowPinned) {
438
- const l = T(o.rowClassName) ? o.rowClassName(e.data, e.rowIndex) : o.rowClassName;
439
- r.push(l);
438
+ const r = N(o.rowClassName) ? o.rowClassName(e.data, e.rowIndex) : o.rowClassName;
439
+ l.push(r);
440
440
  }
441
- return r.flat().filter(Boolean);
441
+ return l.flat().filter(Boolean);
442
442
  };
443
- return G(
443
+ return L(
444
444
  () => o.dataSource,
445
445
  (e) => {
446
- I(() => {
446
+ A(() => {
447
447
  De(e);
448
448
  });
449
449
  },
450
450
  { immediate: !0, deep: !0 }
451
- ), G(
451
+ ), L(
452
452
  () => o.size,
453
453
  (e) => {
454
- h.value = e;
454
+ R.value = e;
455
455
  }
456
- ), G(
457
- () => t(m).loading,
456
+ ), L(
457
+ () => t(p).loading,
458
458
  (e) => {
459
459
  o.onLoadingChange?.(e);
460
460
  }
461
461
  ), me({
462
- submit: E,
463
- reset: P,
464
- refresh: Y,
465
- submitWith: X,
466
- setSearchFormValues: ee,
467
- getSearchFormValues: Z,
468
- getShowColumns: () => t(g),
462
+ submit: P,
463
+ reset: K,
464
+ refresh: _,
465
+ submitWith: Z,
466
+ setSearchFormValues: oe,
467
+ getSearchFormValues: ee,
468
+ getShowColumns: () => t(w),
469
469
  rowSelection: {
470
- selectedRows: n(() => K.value),
471
- setSelectedRowKeys: qe,
472
- setSelectedRows: Qe,
473
- clearAll: z,
474
- unSelectRows: Xe
470
+ selectedRows: n(() => V.value),
471
+ setSelectedRowKeys: Je,
472
+ setSelectedRows: Xe,
473
+ clearAll: G,
474
+ unSelectRows: Ye
475
475
  },
476
- scrollToRow: lo,
476
+ scrollToRow: ro,
477
477
  scrollToColumn: ao,
478
- getDataSource: () => t(m.records),
478
+ getDataSource: () => t(p.records),
479
479
  getPaging: Te,
480
480
  setPaging: Ne,
481
- getSearchFormSorterItems: oe,
482
- setSearchFormSorterItems: te,
481
+ getSearchFormSorterItems: te,
482
+ setSearchFormSorterItems: le,
483
483
  resetSearchFormSorterItems: re,
484
484
  refreshCells: io,
485
485
  redrawRows: uo,
486
- _internalGridApi: n(() => s.value)
487
- }), (e, r) => (y(), L("div", {
488
- class: C(eo.value),
489
- style: O(e.wrapperStyle)
486
+ _internalGridApi: n(() => i.value)
487
+ }), (e, l) => (C(), O("div", {
488
+ class: h(eo.value),
489
+ style: W(s.wrapperStyle)
490
490
  }, [
491
- t(B)(e.dataSource) && e.searchForm !== !1 && t($).length > 0 ? (y(), L("div", {
491
+ t(B)(s.dataSource) && s.searchForm !== !1 && t(J).length > 0 ? (C(), O("div", {
492
492
  key: 0,
493
- class: C(e.card ? t(N)("search-wrapper") : null),
494
- style: O(e.searchFormWrapperStyle)
493
+ class: h(s.card ? t(D)("search-wrapper") : null),
494
+ style: W(s.searchFormWrapperStyle)
495
495
  }, [
496
- go(t(Zo).SearchForm, W(e.searchForm || {}, {
496
+ go(t(_o).SearchForm, H(s.searchForm || {}, {
497
497
  ref_key: "formRef",
498
- ref: w,
498
+ ref: S,
499
499
  "custom-reset": "",
500
- "submit-loading": t(J).loading,
501
- onSubmit: t(E),
502
- onReset: t(P)
500
+ "submit-loading": t(X).loading,
501
+ onSubmit: t(P),
502
+ onReset: t(K)
503
503
  }), wo({
504
- default: ie(() => [
505
- (y(!0), L(So, null, yo(t($), (l) => (y(), H(Co(l.renderNode), {
506
- key: l.dataIndex
504
+ default: ue(() => [
505
+ (C(!0), O(So, null, yo(t(J), (r) => (C(), U(Co(r.renderNode), {
506
+ key: r.dataIndex
507
507
  }))), 128))
508
508
  ]),
509
509
  _: 2
510
510
  }, [
511
- U.searchFormExtra ? {
511
+ j.searchFormExtra ? {
512
512
  name: "extra",
513
- fn: ie(() => [
514
- ue(e.$slots, "searchFormExtra")
513
+ fn: ue(() => [
514
+ de(e.$slots, "searchFormExtra")
515
515
  ]),
516
516
  key: "0"
517
517
  } : void 0
518
518
  ]), 1040, ["submit-loading", "onSubmit", "onReset"])
519
- ], 6)) : se("", !0),
520
- A("div", {
521
- class: C([t(N)("table-wrapper"), e.card ? t(N)("table-wrapper-card") : null]),
522
- style: O(e.tableWrapperStyle)
519
+ ], 6)) : ie("", !0),
520
+ T("div", {
521
+ class: h([t(D)("table-wrapper"), s.card ? t(D)("table-wrapper-card") : null]),
522
+ style: W(s.tableWrapperStyle)
523
523
  }, [
524
- A("div", {
525
- class: C(t(d)("header-wrapper"))
524
+ T("div", {
525
+ class: h(t(c)("header-wrapper"))
526
526
  }, [
527
- ue(e.$slots, "title", {
528
- selectedRows: t(K),
527
+ de(e.$slots, "title", {
528
+ selectedRows: t(V),
529
529
  selectedRowKeys: t(Ge),
530
- shownColumns: t(g),
531
- clearAll: z
530
+ shownColumns: t(w),
531
+ clearAll: G
532
532
  })
533
533
  ], 2),
534
- A("div", {
534
+ T("div", {
535
535
  ref_key: "gridWrapperRef",
536
- ref: Fe,
537
- class: C(t(d)("grid-wrapper"))
536
+ ref: Me,
537
+ class: h(t(c)("grid-wrapper"))
538
538
  }, [
539
- (y(), H(t(_o), W(
540
- t(dt)(t(Se), t(j), Je.value),
539
+ (C(), U(t(jo), H(
540
+ t(dt)(t(Se), t(q), Qe.value),
541
541
  {
542
- key: t(_),
542
+ key: t($),
543
543
  "get-row-class": co,
544
544
  style: oo.value,
545
- "row-data": t(m).records,
546
- "column-defs": t(Me),
545
+ "row-data": t(p).records,
546
+ "column-defs": t(xe),
547
547
  "default-col-def": t(be),
548
548
  "suppress-loading-overlay": "",
549
- "row-selection": _e.value,
549
+ "row-selection": je.value,
550
550
  "selection-column-def": t(Pe),
551
- "get-row-id": ro,
551
+ "get-row-id": lo,
552
552
  "get-row-height": o.getRowHeight,
553
553
  theme: t(we),
554
554
  "tooltip-show-delay": 500,
555
- "enable-browser-tooltips": e.browserTooltips,
555
+ "enable-browser-tooltips": s.browserTooltips,
556
556
  "tooltip-interaction": "",
557
- "row-class-rules": e.rowClassRules,
557
+ "row-class-rules": s.rowClassRules,
558
558
  "no-rows-overlay-component": St,
559
- "no-rows-overlay-component-params": { emptyComponent: e.emptyComponent, emptyText: e.emptyText },
559
+ "no-rows-overlay-component-params": { emptyComponent: s.emptyComponent, emptyText: s.emptyText },
560
560
  "loading-overlay-component": wt,
561
- loading: Ze.value,
561
+ loading: _e.value,
562
562
  "suppress-cell-focus": "",
563
563
  "tab-to-next-cell": () => !1,
564
564
  "enable-cell-span": "",
565
- "dom-layout": e.autoHeight ? "autoHeight" : "normal",
566
- "locale-text": pe[t(_)],
567
- onSortChanged: xe,
568
- onGridReady: r[0] || (r[0] = (l) => s.value = l.api),
569
- onRowDataUpdated: k,
570
- onRowSelected: je,
571
- onFirstDataRendered: $e,
565
+ "dom-layout": s.autoHeight ? "autoHeight" : "normal",
566
+ "locale-text": pe[t($)],
567
+ onSortChanged: Be,
568
+ onGridReady: l[0] || (l[0] = (r) => i.value = r.api),
569
+ onRowDataUpdated: I,
570
+ onRowSelected: $e,
571
+ onFirstDataRendered: qe,
572
572
  onRowClicked: no,
573
573
  onBodyScrollEnd: so
574
574
  }
575
575
  ), 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", "no-rows-overlay-component-params", "loading", "dom-layout", "locale-text"]))
576
576
  ], 2),
577
- A("div", {
578
- class: C(t(d)("pagination-wrapper"))
577
+ T("div", {
578
+ class: h(t(c)("pagination-wrapper"))
579
579
  }, [
580
- e.pagination !== !1 ? (y(), H(t(vo), W({
580
+ s.pagination !== !1 ? (C(), U(t(vo), H({
581
581
  key: 0,
582
- class: t(d)("pagination")
583
- }, t(J).pagination, { onChange: to }), null, 16, ["class"])) : se("", !0)
582
+ class: t(c)("pagination")
583
+ }, t(X).pagination, { onChange: to }), null, 16, ["class"])) : ie("", !0)
584
584
  ], 2)
585
585
  ], 6)
586
586
  ], 6));
587
587
  }
588
588
  });
589
589
  export {
590
- or as default
590
+ ol as default
591
591
  };