@aplus-frontend/ui 0.6.0-beta.16 → 0.6.0-beta.18

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 (234) hide show
  1. package/es/index.mjs +118 -109
  2. package/es/src/ap-field/date-range/index.vue.mjs +8 -7
  3. package/es/src/ap-field/number/index.vue.d.ts +2 -4
  4. package/es/src/ap-field/radio/index.vue.d.ts +2 -4
  5. package/es/src/ap-field/rate/index.vue.d.ts +2 -4
  6. package/es/src/ap-field/select/index.vue.d.ts +3 -6
  7. package/es/src/ap-field/slider/index.vue.d.ts +2 -4
  8. package/es/src/ap-field/text/index.vue2.mjs +42 -44
  9. package/es/src/ap-field/text/password.vue.mjs +15 -17
  10. package/es/src/ap-field/text-area/index.vue.d.ts +2 -2
  11. package/es/src/ap-field/tree-select/index.vue.mjs +31 -30
  12. package/es/src/ap-form/ap-form.vue2.mjs +18 -17
  13. package/es/src/ap-form/dependency/index.vue.mjs +24 -23
  14. package/es/src/ap-form/drawer-form/index.vue.d.ts +9 -7
  15. package/es/src/ap-form/drawer-form/index.vue.mjs +58 -49
  16. package/es/src/ap-form/interface.d.ts +2 -2
  17. package/es/src/ap-form/item/index.vue.d.ts +5 -10
  18. package/es/src/ap-form/items/select/index.vue.mjs +12 -14
  19. package/es/src/ap-form/items/text/password.vue.mjs +9 -9
  20. package/es/src/ap-form/items/text-area/index.vue.d.ts +5 -5
  21. package/es/src/ap-form/items/tree-select/index.vue.mjs +12 -14
  22. package/es/src/ap-form/modal-form/index.vue.d.ts +9 -7
  23. package/es/src/ap-form/modal-form/index.vue.mjs +64 -55
  24. package/es/src/ap-form/provider/index.vue.mjs +6 -5
  25. package/es/src/ap-form/search-form/index.vue.d.ts +4 -8
  26. package/es/src/ap-form/search-form/index.vue.mjs +50 -50
  27. package/es/src/ap-form/set/index.vue.mjs +7 -6
  28. package/es/src/ap-grid/editable/form-item.vue.mjs +1 -1
  29. package/es/src/ap-grid/hooks/use-editable-columns.mjs +17 -17
  30. package/es/src/ap-grid/index.vue.mjs +79 -75
  31. package/es/src/ap-grid/interface.d.ts +13 -0
  32. package/es/src/ap-list/index.vue.d.ts +2 -9
  33. package/es/src/ap-list/index.vue.mjs +116 -106
  34. package/es/src/ap-list/interface.d.ts +20 -0
  35. package/es/src/ap-table/ap-table.vue.d.ts +10 -2
  36. package/es/src/ap-table/ap-table.vue2.mjs +87 -83
  37. package/es/src/ap-table/components/setting/modal/index.vue2.mjs +12 -11
  38. package/es/src/ap-table/constants.d.ts +4 -4
  39. package/es/src/ap-table/hooks/use-table-paging-ng.d.ts +9 -2
  40. package/es/src/ap-table/hooks/use-table-paging-ng.mjs +113 -105
  41. package/es/src/ap-table/interface.d.ts +14 -1
  42. package/es/src/ap-table/utils.d.ts +3 -3
  43. package/es/src/business/ap-card/ApCard.vue2.mjs +1 -1
  44. package/es/src/business/ap-keep-alive/cacher/cacher.d.ts +10 -0
  45. package/es/src/business/ap-keep-alive/cacher/lru-cacher.d.ts +16 -0
  46. package/es/src/business/ap-keep-alive/cacher/lru-cacher.mjs +43 -0
  47. package/es/src/business/ap-keep-alive/hook.d.ts +10 -0
  48. package/es/src/business/ap-keep-alive/hook.mjs +31 -0
  49. package/es/src/business/ap-keep-alive/index.d.ts +101 -0
  50. package/es/src/business/ap-keep-alive/index.mjs +13 -0
  51. package/es/src/business/ap-keep-alive/interface.d.ts +35 -0
  52. package/es/src/business/ap-keep-alive/interface.mjs +54 -0
  53. package/es/src/business/ap-keep-alive/keep-alive.d.ts +51 -0
  54. package/es/src/business/ap-keep-alive/keep-alive.mjs +154 -0
  55. package/es/src/business/ap-keep-alive/keeper/ap-form-keeper.d.ts +7 -0
  56. package/es/src/business/ap-keep-alive/keeper/ap-form-keeper.mjs +21 -0
  57. package/es/src/business/ap-keep-alive/keeper/ap-grid-keeper.d.ts +14 -0
  58. package/es/src/business/ap-keep-alive/keeper/ap-grid-keeper.mjs +27 -0
  59. package/es/src/business/ap-keep-alive/keeper/ap-list-keeper.d.ts +13 -0
  60. package/es/src/business/ap-keep-alive/keeper/ap-list-keeper.mjs +18 -0
  61. package/es/src/business/ap-keep-alive/keeper/ap-radio-group-keeper.d.ts +6 -0
  62. package/es/src/business/ap-keep-alive/keeper/ap-radio-group-keeper.mjs +17 -0
  63. package/es/src/business/ap-keep-alive/keeper/ap-search-form-keeper.d.ts +7 -0
  64. package/es/src/business/ap-keep-alive/keeper/ap-search-form-keeper.mjs +18 -0
  65. package/es/src/business/ap-keep-alive/keeper/ap-table-keeper.d.ts +13 -0
  66. package/es/src/business/ap-keep-alive/keeper/ap-table-keeper.mjs +18 -0
  67. package/es/src/business/ap-keep-alive/keeper/ap-view-keeper.d.ts +6 -0
  68. package/es/src/business/ap-keep-alive/keeper/ap-view-keeper.mjs +12 -0
  69. package/es/src/business/ap-keep-alive/keeper/edit-grid-keeper.d.ts +6 -0
  70. package/es/src/business/ap-keep-alive/keeper/edit-grid-keeper.mjs +18 -0
  71. package/es/src/business/ap-keep-alive/keeper/edit-table-keeper.d.ts +6 -0
  72. package/es/src/business/ap-keep-alive/keeper/edit-table-keeper.mjs +18 -0
  73. package/es/src/business/ap-keep-alive/keeper/index.d.ts +3 -0
  74. package/es/src/business/ap-keep-alive/keeper/index.mjs +27 -0
  75. package/es/src/business/ap-keep-alive/keeper/step-keeper.d.ts +6 -0
  76. package/es/src/business/ap-keep-alive/keeper/step-keeper.mjs +17 -0
  77. package/es/src/business/ap-keep-alive/keeper/tab-keeper.d.ts +6 -0
  78. package/es/src/business/ap-keep-alive/keeper/tab-keeper.mjs +17 -0
  79. package/es/src/business/ap-keep-alive/utils.d.ts +22 -0
  80. package/es/src/business/ap-keep-alive/utils.mjs +41 -0
  81. package/es/src/business/ap-radio-group/ap-radio-group.vue2.mjs +23 -23
  82. package/es/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +4 -1
  83. package/es/src/business/ap-table-modal/hooks/use-table-modal.d.ts +4 -1
  84. package/es/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +4 -1
  85. package/es/src/business/ap-table-modal/index.d.ts +32 -5
  86. package/es/src/business/ap-table-modal/table-modal.vue.d.ts +14 -3
  87. package/es/src/business/ap-view/components/main-button-content.vue.d.ts +1 -1
  88. package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +1 -1
  89. package/es/src/business/batch-input-group/form-item.vue.mjs +14 -13
  90. package/es/src/business/batch-input-group/index.vue.mjs +10 -9
  91. package/es/src/business/hooks/usePageListApTable.d.ts +4 -1
  92. package/es/src/business/index.d.ts +1 -0
  93. package/es/src/business/index.mjs +18 -16
  94. package/es/src/editable-table/form-item.vue.mjs +23 -23
  95. package/es/src/full-screen/interface.d.ts +5 -6
  96. package/es/src/index.mjs +199 -190
  97. package/es/src/mask/index.vue.mjs +21 -20
  98. package/es/src/resize-observer/interface.d.ts +2 -3
  99. package/es/src/scroll-bar/interface.d.ts +7 -7
  100. package/es/src/scroll-view/interface.d.ts +2 -3
  101. package/es/src/splitter/SplitBar.vue2.mjs +1 -0
  102. package/es/src/splitter/Splitter.vue2.mjs +1 -0
  103. package/es/src/text/group.vue.mjs +7 -6
  104. package/es/src/text/index.vue.mjs +20 -19
  105. package/es/src/version.d.ts +1 -1
  106. package/es/src/version.mjs +1 -1
  107. package/es/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
  108. package/lib/index.js +1 -1
  109. package/lib/src/ap-field/date-range/index.vue.js +1 -1
  110. package/lib/src/ap-field/number/index.vue.d.ts +2 -4
  111. package/lib/src/ap-field/radio/index.vue.d.ts +2 -4
  112. package/lib/src/ap-field/rate/index.vue.d.ts +2 -4
  113. package/lib/src/ap-field/select/index.vue.d.ts +3 -6
  114. package/lib/src/ap-field/slider/index.vue.d.ts +2 -4
  115. package/lib/src/ap-field/text/index.vue2.js +1 -1
  116. package/lib/src/ap-field/text/password.vue.js +1 -1
  117. package/lib/src/ap-field/text-area/index.vue.d.ts +2 -2
  118. package/lib/src/ap-field/tree-select/index.vue.js +1 -1
  119. package/lib/src/ap-form/ap-form.vue2.js +1 -1
  120. package/lib/src/ap-form/dependency/index.vue.js +1 -1
  121. package/lib/src/ap-form/drawer-form/index.vue.d.ts +9 -7
  122. package/lib/src/ap-form/drawer-form/index.vue.js +1 -1
  123. package/lib/src/ap-form/interface.d.ts +2 -2
  124. package/lib/src/ap-form/item/index.vue.d.ts +5 -10
  125. package/lib/src/ap-form/items/select/index.vue.js +1 -1
  126. package/lib/src/ap-form/items/text/password.vue.js +1 -1
  127. package/lib/src/ap-form/items/text-area/index.vue.d.ts +5 -5
  128. package/lib/src/ap-form/items/tree-select/index.vue.js +1 -1
  129. package/lib/src/ap-form/modal-form/index.vue.d.ts +9 -7
  130. package/lib/src/ap-form/modal-form/index.vue.js +1 -1
  131. package/lib/src/ap-form/provider/index.vue.js +1 -1
  132. package/lib/src/ap-form/search-form/index.vue.d.ts +4 -8
  133. package/lib/src/ap-form/search-form/index.vue.js +1 -1
  134. package/lib/src/ap-form/set/index.vue.js +1 -1
  135. package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
  136. package/lib/src/ap-grid/hooks/use-editable-columns.js +1 -1
  137. package/lib/src/ap-grid/index.vue.js +1 -1
  138. package/lib/src/ap-grid/interface.d.ts +13 -0
  139. package/lib/src/ap-list/index.vue.d.ts +2 -9
  140. package/lib/src/ap-list/index.vue.js +1 -1
  141. package/lib/src/ap-list/interface.d.ts +20 -0
  142. package/lib/src/ap-table/ap-table.vue.d.ts +10 -2
  143. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  144. package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
  145. package/lib/src/ap-table/constants.d.ts +4 -4
  146. package/lib/src/ap-table/hooks/use-table-paging-ng.d.ts +9 -2
  147. package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
  148. package/lib/src/ap-table/interface.d.ts +14 -1
  149. package/lib/src/ap-table/utils.d.ts +3 -3
  150. package/lib/src/business/ap-card/ApCard.vue2.js +1 -1
  151. package/lib/src/business/ap-keep-alive/cacher/cacher.d.ts +10 -0
  152. package/lib/src/business/ap-keep-alive/cacher/lru-cacher.d.ts +16 -0
  153. package/lib/src/business/ap-keep-alive/cacher/lru-cacher.js +1 -0
  154. package/lib/src/business/ap-keep-alive/hook.d.ts +10 -0
  155. package/lib/src/business/ap-keep-alive/hook.js +1 -0
  156. package/lib/src/business/ap-keep-alive/index.d.ts +101 -0
  157. package/lib/src/business/ap-keep-alive/index.js +1 -0
  158. package/lib/src/business/ap-keep-alive/interface.d.ts +35 -0
  159. package/lib/src/business/ap-keep-alive/interface.js +1 -0
  160. package/lib/src/business/ap-keep-alive/keep-alive.d.ts +51 -0
  161. package/lib/src/business/ap-keep-alive/keep-alive.js +1 -0
  162. package/lib/src/business/ap-keep-alive/keeper/ap-form-keeper.d.ts +7 -0
  163. package/lib/src/business/ap-keep-alive/keeper/ap-form-keeper.js +1 -0
  164. package/lib/src/business/ap-keep-alive/keeper/ap-grid-keeper.d.ts +14 -0
  165. package/lib/src/business/ap-keep-alive/keeper/ap-grid-keeper.js +1 -0
  166. package/lib/src/business/ap-keep-alive/keeper/ap-list-keeper.d.ts +13 -0
  167. package/lib/src/business/ap-keep-alive/keeper/ap-list-keeper.js +1 -0
  168. package/lib/src/business/ap-keep-alive/keeper/ap-radio-group-keeper.d.ts +6 -0
  169. package/lib/src/business/ap-keep-alive/keeper/ap-radio-group-keeper.js +1 -0
  170. package/lib/src/business/ap-keep-alive/keeper/ap-search-form-keeper.d.ts +7 -0
  171. package/lib/src/business/ap-keep-alive/keeper/ap-search-form-keeper.js +1 -0
  172. package/lib/src/business/ap-keep-alive/keeper/ap-table-keeper.d.ts +13 -0
  173. package/lib/src/business/ap-keep-alive/keeper/ap-table-keeper.js +1 -0
  174. package/lib/src/business/ap-keep-alive/keeper/ap-view-keeper.d.ts +6 -0
  175. package/lib/src/business/ap-keep-alive/keeper/ap-view-keeper.js +1 -0
  176. package/lib/src/business/ap-keep-alive/keeper/edit-grid-keeper.d.ts +6 -0
  177. package/lib/src/business/ap-keep-alive/keeper/edit-grid-keeper.js +1 -0
  178. package/lib/src/business/ap-keep-alive/keeper/edit-table-keeper.d.ts +6 -0
  179. package/lib/src/business/ap-keep-alive/keeper/edit-table-keeper.js +1 -0
  180. package/lib/src/business/ap-keep-alive/keeper/index.d.ts +3 -0
  181. package/lib/src/business/ap-keep-alive/keeper/index.js +1 -0
  182. package/lib/src/business/ap-keep-alive/keeper/step-keeper.d.ts +6 -0
  183. package/lib/src/business/ap-keep-alive/keeper/step-keeper.js +1 -0
  184. package/lib/src/business/ap-keep-alive/keeper/tab-keeper.d.ts +6 -0
  185. package/lib/src/business/ap-keep-alive/keeper/tab-keeper.js +1 -0
  186. package/lib/src/business/ap-keep-alive/utils.d.ts +22 -0
  187. package/lib/src/business/ap-keep-alive/utils.js +1 -0
  188. package/lib/src/business/ap-radio-group/ap-radio-group.vue2.js +1 -1
  189. package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +4 -1
  190. package/lib/src/business/ap-table-modal/hooks/use-table-modal.d.ts +4 -1
  191. package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +4 -1
  192. package/lib/src/business/ap-table-modal/index.d.ts +32 -5
  193. package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +14 -3
  194. package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +1 -1
  195. package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +1 -1
  196. package/lib/src/business/batch-input-group/form-item.vue.js +1 -1
  197. package/lib/src/business/batch-input-group/index.vue.js +2 -2
  198. package/lib/src/business/hooks/usePageListApTable.d.ts +4 -1
  199. package/lib/src/business/index.d.ts +1 -0
  200. package/lib/src/business/index.js +1 -1
  201. package/lib/src/editable-table/form-item.vue.js +1 -1
  202. package/lib/src/full-screen/interface.d.ts +5 -6
  203. package/lib/src/index.js +1 -1
  204. package/lib/src/mask/index.vue.js +1 -1
  205. package/lib/src/resize-observer/interface.d.ts +2 -3
  206. package/lib/src/scroll-bar/interface.d.ts +7 -7
  207. package/lib/src/scroll-view/interface.d.ts +2 -3
  208. package/lib/src/splitter/SplitBar.vue2.js +1 -1
  209. package/lib/src/splitter/Splitter.vue2.js +1 -1
  210. package/lib/src/text/group.vue.js +1 -1
  211. package/lib/src/text/index.vue.js +1 -1
  212. package/lib/src/version.d.ts +1 -1
  213. package/lib/src/version.js +1 -1
  214. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
  215. package/package.json +7 -6
  216. package/theme/antd-global-overwrite/admin/field.css +12 -0
  217. package/theme/antd-global-overwrite/admin/field.less +16 -0
  218. package/theme/antd-global-overwrite/admin/index.css +12 -0
  219. package/theme/antd-global-overwrite/aplus/field.css +12 -0
  220. package/theme/antd-global-overwrite/aplus/field.less +16 -0
  221. package/theme/antd-global-overwrite/aplus/index.css +12 -0
  222. package/theme/ap-action/item.css +1 -1
  223. package/theme/ap-action/item.less +1 -1
  224. package/theme/ap-card/ap-card.css +1 -1
  225. package/theme/ap-card/ap-card.less +1 -1
  226. package/theme/ap-grid/index.css +6 -1
  227. package/theme/ap-grid/index.less +5 -0
  228. package/theme/ap-table/ap-table.css +6 -1
  229. package/theme/ap-table/ap-table.less +5 -0
  230. package/theme/ap-table-modal/index.css +6 -1
  231. package/theme/editable-table/index.css +1 -1
  232. package/theme/index.css +14 -2
  233. package/theme/ui-mode.css +2 -0
  234. package/theme/ui-mode.less +4 -0
@@ -1,27 +1,27 @@
1
- import { defineComponent as Le, useSlots as Oe, ref as w, computed as s, unref as l, createVNode as m, Fragment as re, watch as k, createElementBlock as B, openBlock as y, normalizeStyle as K, normalizeClass as b, createCommentVNode as oe, createElementVNode as L, mergeProps as v, createSlots as ae, withCtx as R, renderList as te, createBlock as le, resolveDynamicComponent as Ae, renderSlot as C, normalizeProps as $e, guardReactiveProps as De } from "vue";
2
- import { Divider as je, Table as We } from "@aplus-frontend/antdv";
3
- import { useToken as _e } from "@aplus-frontend/antdv/es/theme/internal";
4
- import { ApForm as He } from "../ap-form/index.mjs";
1
+ import { defineComponent as Ae, useSlots as $e, ref as w, computed as s, unref as l, createVNode as m, Fragment as re, watch as k, createElementBlock as B, openBlock as y, normalizeStyle as K, normalizeClass as g, createCommentVNode as oe, createElementVNode as L, mergeProps as v, createSlots as ae, withCtx as R, renderList as te, createBlock as le, resolveDynamicComponent as De, renderSlot as C, normalizeProps as je, guardReactiveProps as We } from "vue";
2
+ import { Divider as _e, Table as He } from "@aplus-frontend/antdv";
3
+ import { useToken as Ue } from "@aplus-frontend/antdv/es/theme/internal";
4
+ import { ApForm as qe } from "../ap-form/index.mjs";
5
5
  import { noRenderAsFormItemValueList as ne } from "./constants.mjs";
6
6
  import "../config-provider/index.mjs";
7
- import { useTablePaging as Ue } from "./hooks/use-table-paging-ng.mjs";
8
- import { isUndefined as g, omit as se, isBoolean as qe } from "lodash-unified";
9
- import { getColumnOrder as de, updateFormProps as Me, getFieldProps as Ge, getSearchFormItemRenderNode as Je, recursionApColumns as ue, getTableTitle as Qe, getTableRenderType as Xe, getTableRenderProps as Ye, getTableCellRenderNode as Ze, apColumnToColumn as er, falseToUndefined as rr, objectToString as or } from "./utils.mjs";
10
- import ar from "./hooks/use-table-content-height.mjs";
11
- import tr from "./hooks/use-table-row-selection.mjs";
12
- import { getScrollbarSize as lr, isDef as ie } from "../utils/index.mjs";
7
+ import { useTablePaging as Me } from "./hooks/use-table-paging-ng.mjs";
8
+ import { isUndefined as b, omit as se, isBoolean as Ge } from "lodash-unified";
9
+ import { getColumnOrder as de, updateFormProps as Je, getFieldProps as Qe, getSearchFormItemRenderNode as Xe, recursionApColumns as ue, getTableTitle as Ye, getTableRenderType as Ze, getTableRenderProps as er, getTableCellRenderNode as rr, apColumnToColumn as or, falseToUndefined as ar, objectToString as tr } from "./utils.mjs";
10
+ import lr from "./hooks/use-table-content-height.mjs";
11
+ import nr from "./hooks/use-table-row-selection.mjs";
12
+ import { getScrollbarSize as sr, isDef as ie } from "../utils/index.mjs";
13
13
  import "./components/setting/modal/index.vue.mjs";
14
14
  import "./components/paragraph-ellipsis/index.vue.mjs";
15
- import { useProvideApTable as nr } from "./context.mjs";
15
+ import { useProvideApTable as dr } from "./context.mjs";
16
16
  import "../scroll-bar/index.mjs";
17
- import { useStickyScroll as sr } from "./hooks/use-sticky-scroll.mjs";
18
- import { getValidVNodeList as dr } from "../utils/slot.mjs";
19
- import { useNamespace as ur } from "../config-provider/hooks/use-namespace.mjs";
20
- import { useGlobalConfig as ir } from "../config-provider/hooks/use-global-config.mjs";
21
- import cr from "./components/paragraph-ellipsis/index.vue2.mjs";
22
- import fr from "./components/setting/modal/index.vue2.mjs";
23
- import pr from "../scroll-bar/index.vue.mjs";
24
- const Or = /* @__PURE__ */ Le({
17
+ import { useStickyScroll as ur } from "./hooks/use-sticky-scroll.mjs";
18
+ import { getValidVNodeList as ir } from "../utils/slot.mjs";
19
+ import { useNamespace as cr } from "../config-provider/hooks/use-namespace.mjs";
20
+ import { useGlobalConfig as fr } from "../config-provider/hooks/use-global-config.mjs";
21
+ import pr from "./components/paragraph-ellipsis/index.vue2.mjs";
22
+ import mr from "./components/setting/modal/index.vue2.mjs";
23
+ import yr from "../scroll-bar/index.vue.mjs";
24
+ const $r = /* @__PURE__ */ Ae({
25
25
  name: "ApTable",
26
26
  __name: "ap-table",
27
27
  props: {
@@ -150,28 +150,28 @@ const Or = /* @__PURE__ */ Le({
150
150
  }) {
151
151
  const r = ce;
152
152
  let O = 0;
153
- const c = Oe(), [, pe] = _e(), {
153
+ const c = $e(), [, pe] = Ue(), {
154
154
  e: z,
155
155
  b: f,
156
156
  be: A,
157
157
  m: me,
158
158
  cssVar: ye
159
- } = ur("ap-table"), $ = ir("valueTypeMap"), {
160
- height: be,
161
- contentRef: ge
162
- } = ar(), D = w(), j = w(), {
159
+ } = cr("ap-table"), $ = fr("valueTypeMap"), {
160
+ height: ge,
161
+ contentRef: be
162
+ } = lr(), D = w(), j = w(), {
163
163
  isStickyMode: W,
164
164
  scrollBarRef: i
165
- } = sr(D), N = w(r.size), u = w([]), _ = w([]), H = lr();
166
- nr({
165
+ } = ur(D), P = w(r.size), u = w([]), _ = w([]), H = sr();
166
+ dr({
167
167
  columns: s(() => u.value),
168
168
  columnsBackup: s(() => _.value),
169
- size: s(() => N.value),
169
+ size: s(() => P.value),
170
170
  updateColumns(e) {
171
171
  u.value = e;
172
172
  },
173
173
  updateSize(e) {
174
- N.value = e;
174
+ P.value = e;
175
175
  },
176
176
  dataSource: s(() => l(S).records),
177
177
  getSearchFormValues: Q,
@@ -185,7 +185,7 @@ const Or = /* @__PURE__ */ Le({
185
185
  let n = de(t.order);
186
186
  return de(d.order) - n;
187
187
  })) == null ? void 0 : o.map((t) => {
188
- const d = Me(t, Ge(t.fieldProps, {})), n = {
188
+ const d = Je(t, Qe(t.fieldProps, {})), n = {
189
189
  ...t,
190
190
  fieldProps: {
191
191
  label: t.title,
@@ -197,7 +197,7 @@ const Or = /* @__PURE__ */ Le({
197
197
  },
198
198
  renderNode: void 0
199
199
  };
200
- return n.renderNode = Je(n, l($)), n;
200
+ return n.renderNode = Xe(n, l($)), n;
201
201
  })) || [];
202
202
  }), Se = s(() => ue(l(u), (e) => {
203
203
  if (e.sorter === !0)
@@ -205,9 +205,9 @@ const Or = /* @__PURE__ */ Le({
205
205
  }).filter(Boolean)), he = s(() => ue(l(u), (e) => {
206
206
  if (e.filters && !e.onFilter)
207
207
  return e.key || (e == null ? void 0 : e.dataIndex);
208
- }).filter(Boolean)), we = s(() => g(r.dataSource) ? S.records : r.dataSource), ve = s(() => {
208
+ }).filter(Boolean)), we = s(() => b(r.dataSource) ? S.records : r.dataSource), ve = s(() => {
209
209
  var a;
210
- return ie(r.manual) ? r.manual : dr(((a = c.searchFormExtra) == null ? void 0 : a.call(c)) || []).some((o) => {
210
+ return ie(r.manual) ? r.manual : ir(((a = c.searchFormExtra) == null ? void 0 : a.call(c)) || []).some((o) => {
211
211
  var t;
212
212
  return ((t = o.type) == null ? void 0 : t.name) === "ApView";
213
213
  });
@@ -215,13 +215,13 @@ const Or = /* @__PURE__ */ Le({
215
215
  rowSelection: T,
216
216
  selectedRows: x,
217
217
  ...F
218
- } = tr({
218
+ } = nr({
219
219
  fixed: !0,
220
220
  ...r.rowSelection === !0 ? {} : r.rowSelection,
221
221
  rowKey: r.rowKey,
222
222
  dataSource: we
223
223
  }), {
224
- formRef: P,
224
+ formRef: N,
225
225
  submit: I,
226
226
  reset: V,
227
227
  tableProps: q,
@@ -230,11 +230,13 @@ const Or = /* @__PURE__ */ Le({
230
230
  setDataSource: Ce,
231
231
  getColumnSFConfig: M,
232
232
  sortedInfo: Te,
233
- filteredInfo: xe
234
- } = Ue({
233
+ filteredInfo: xe,
234
+ setPaging: Fe,
235
+ getPaging: ke
236
+ } = Me({
235
237
  async request(e) {
236
238
  var o, t;
237
- if (!T.value.preserveSelectedRowKeys && g(r.dataSource) && F.clearAll(), !g(r.dataSource))
239
+ if (!T.value.preserveSelectedRowKeys && b(r.dataSource) && F.clearAll(), !b(r.dataSource))
238
240
  return {
239
241
  data: r.dataSource || [],
240
242
  total: r.dataSource.length || 0
@@ -252,36 +254,36 @@ const Or = /* @__PURE__ */ Le({
252
254
  manual: l(ve),
253
255
  formatParams: r.beforeSearchSubmit,
254
256
  pagination: r.pagination
255
- }), Fe = () => {
257
+ }), Be = () => {
256
258
  var o;
257
259
  let e = ((o = r.columns) == null ? void 0 : o.filter((t) => !t.hideInTable)) || [];
258
260
  function a(t, d) {
259
261
  return t.map((n) => ({
260
262
  resizable: ie(n.resizable) ? n.resizable : r.columnResizable,
261
- ...se(er(n), ["ellipsis"]),
263
+ ...se(or(n), ["ellipsis"]),
262
264
  // tips: 此函数内部依赖查询&筛选的相应式值
263
265
  ...M(n),
264
266
  fixed: d ? d.fixed : n.fixed,
265
- title: Qe(n, A("table-header", "title"), c.headerCell, l(pe).colorTextTertiary),
267
+ title: Ye(n, A("table-header", "title"), c.headerCell, l(pe).colorTextTertiary),
266
268
  customRender({
267
269
  value: p,
268
270
  ...h
269
271
  }) {
270
272
  var Z, ee;
271
- const X = Xe(n), Ve = Ye({
273
+ const X = Ze(n), Ke = er({
272
274
  ...n,
273
275
  valueType: X
274
276
  }, {
275
277
  value: p,
276
278
  ...h
277
- }), Ee = Ze(X, Ve, h.record, l($)), Y = ((Z = n.renderText) == null ? void 0 : Z.call(n, {
279
+ }), Le = rr(X, Ke, h.record, l($)), Y = ((Z = n.renderText) == null ? void 0 : Z.call(n, {
278
280
  value: p,
279
281
  ...h
280
- })) || p, Ke = n.renderText ? m(re, null, [(ee = n.renderText) == null ? void 0 : ee.call(n, {
282
+ })) || p, Oe = n.renderText ? m(re, null, [(ee = n.renderText) == null ? void 0 : ee.call(n, {
281
283
  value: p,
282
284
  ...h
283
- })]) : Ee;
284
- let E = Pe(n, Y, Ke);
285
+ })]) : Le;
286
+ let E = Ve(n, Y, Oe);
285
287
  return n.customRender && (E = n.customRender({
286
288
  value: p,
287
289
  ...h,
@@ -294,7 +296,7 @@ const Or = /* @__PURE__ */ Le({
294
296
  }));
295
297
  }
296
298
  return a(e);
297
- }, ke = () => {
299
+ }, ze = () => {
298
300
  function e(a) {
299
301
  var o;
300
302
  for (const t of a)
@@ -303,26 +305,26 @@ const Or = /* @__PURE__ */ Le({
303
305
  e(u.value);
304
306
  };
305
307
  k(() => [r.columns, r.columnResizable], () => {
306
- const e = Fe();
308
+ const e = Be();
307
309
  u.value = e, _.value = e;
308
310
  }, {
309
311
  deep: !0,
310
312
  immediate: !0
311
313
  }), k(() => [Te.value, xe.value], () => {
312
- ke();
314
+ ze();
313
315
  }, {
314
316
  deep: !0
315
317
  });
316
- const Be = s(() => {
318
+ const Pe = s(() => {
317
319
  var a, o;
318
320
  if (r.adaptive && (S.total > 0 || ((a = r.dataSource) == null ? void 0 : a.length)))
319
321
  return {
320
- y: l(be),
322
+ y: l(ge),
321
323
  x: ((o = r.scroll) == null ? void 0 : o.x) || "100%"
322
324
  };
323
325
  if (r.scroll)
324
326
  return r.scroll;
325
- }), ze = s(() => {
327
+ }), Ne = s(() => {
326
328
  var e;
327
329
  if (r.tableLayout)
328
330
  return r.tableLayout;
@@ -337,24 +339,24 @@ const Or = /* @__PURE__ */ Le({
337
339
  rowSelection: r.rowSelection === !0 || ((o = r.rowSelection) == null ? void 0 : o.mode) === "internal" ? {
338
340
  ...a,
339
341
  // tips 如果是前端分页,则默认会走缓存
340
- preserveSelectedRowKeys: g(r.dataSource) ? a.preserveSelectedRowKeys : !0
341
- } : rr(r.rowSelection),
342
- loading: g(r.loading) ? e.loading : r.loading,
342
+ preserveSelectedRowKeys: b(r.dataSource) ? a.preserveSelectedRowKeys : !0
343
+ } : ar(r.rowSelection),
344
+ loading: b(r.loading) ? e.loading : r.loading,
343
345
  pagination: r.pagination === !1 ? !1 : e.pagination,
344
- scroll: l(Be)
346
+ scroll: l(Pe)
345
347
  };
346
- }), Ne = s(() => {
348
+ }), Ie = s(() => {
347
349
  var e;
348
350
  return [f(), r.card ? null : f("wrapper"), r.adaptive ? f("adaptive") : null, W.value && ((e = i.value) != null && e.visible) ? me(`sticky-${H === 0 ? "absolute" : "relative"}`) : null].filter(Boolean);
349
351
  });
350
- function Pe(e, a, o) {
352
+ function Ve(e, a, o) {
351
353
  if (ne.includes(e.valueType))
352
354
  return o;
353
- const t = or(a);
354
- return e.copyable || e.ellipsis ? m(cr, {
355
+ const t = tr(a);
356
+ return e.copyable || e.ellipsis ? m(pr, {
355
357
  copyable: e.copyable,
356
358
  rawValue: t,
357
- ellipsis: e.ellipsis ? qe(e.ellipsis) ? {
359
+ ellipsis: e.ellipsis ? Ge(e.ellipsis) ? {
358
360
  tooltip: o,
359
361
  rows: 1
360
362
  } : {
@@ -374,14 +376,14 @@ const Or = /* @__PURE__ */ Le({
374
376
  });
375
377
  function J(e) {
376
378
  var a, o, t;
377
- (t = (o = (a = P.value) == null ? void 0 : a.apForm) == null ? void 0 : o.setFieldsValue) == null || t.call(o, e);
379
+ (t = (o = (a = N.value) == null ? void 0 : a.apForm) == null ? void 0 : o.setFieldsValue) == null || t.call(o, e);
378
380
  }
379
381
  function Q(e = !1) {
380
382
  var o, t, d;
381
383
  const a = e ? "getFieldsValueTransformed" : "getFieldsValue";
382
- return (d = (t = (o = P.value) == null ? void 0 : o.apForm) == null ? void 0 : t[a]) == null ? void 0 : d.call(t, !0);
384
+ return (d = (t = (o = N.value) == null ? void 0 : o.apForm) == null ? void 0 : t[a]) == null ? void 0 : d.call(t, !0);
383
385
  }
384
- function Ie() {
386
+ function Ee() {
385
387
  return l(u);
386
388
  }
387
389
  return fe({
@@ -390,7 +392,9 @@ const Or = /* @__PURE__ */ Le({
390
392
  refresh: () => Re(),
391
393
  setSearchFormValues: J,
392
394
  getSearchFormValues: Q,
393
- getShownColumns: Ie,
395
+ setPaging: Fe,
396
+ getPaging: ke,
397
+ getShownColumns: Ee,
394
398
  dataSource: s(() => l(S).records),
395
399
  rowSelection: {
396
400
  selectedRows: s(() => l(x)),
@@ -412,23 +416,23 @@ const Or = /* @__PURE__ */ Le({
412
416
  }), (e, a) => (y(), B("div", {
413
417
  ref_key: "tableWrapperRef",
414
418
  ref: D,
415
- class: b(Ne.value),
419
+ class: g(Ie.value),
416
420
  style: K(l(ye)({
417
421
  "scroll-bar-width": `${l(H)}px`
418
422
  }))
419
- }, [l(g)(e.dataSource) && e.searchForm !== !1 && U.value.length > 0 ? (y(), B("div", {
423
+ }, [l(b)(e.dataSource) && e.searchForm !== !1 && U.value.length > 0 ? (y(), B("div", {
420
424
  key: 0,
421
- class: b(e.card ? l(z)("search-wrapper") : null),
425
+ class: g(e.card ? l(z)("search-wrapper") : null),
422
426
  style: K(e.searchFormWrapperStyle)
423
- }, [m(l(He).SearchForm, v(e.searchForm || {}, {
427
+ }, [m(l(qe).SearchForm, v(e.searchForm || {}, {
424
428
  ref_key: "formRef",
425
- ref: P,
429
+ ref: N,
426
430
  "custom-reset": "",
427
431
  "submit-loading": l(q).loading,
428
432
  onSubmit: l(I),
429
433
  onReset: l(V)
430
434
  }), ae({
431
- default: R(() => [(y(!0), B(re, null, te(U.value, (o) => (y(), le(Ae(o.renderNode.Comp), v({
435
+ default: R(() => [(y(!0), B(re, null, te(U.value, (o) => (y(), le(De(o.renderNode.Comp), v({
432
436
  key: o.dataIndex,
433
437
  item: o,
434
438
  ref_for: !0
@@ -443,37 +447,37 @@ const Or = /* @__PURE__ */ Le({
443
447
  key: "0"
444
448
  } : void 0]), 1040, ["submit-loading", "onSubmit", "onReset"])], 6)) : oe("", !0), L("div", {
445
449
  ref_key: "contentRef",
446
- ref: ge,
447
- class: b([l(z)("table-wrapper"), e.card ? l(z)("table-wrapper-card") : null]),
450
+ ref: be,
451
+ class: g([l(z)("table-wrapper"), e.card ? l(z)("table-wrapper-card") : null]),
448
452
  style: K(e.tableWrapperStyle)
449
453
  }, [L("div", {
450
- class: b(l(f)("header-wrapper"))
454
+ class: g(l(f)("header-wrapper"))
451
455
  }, [e.settings ? (y(), B("div", {
452
456
  key: 0,
453
- class: b(l(f)("header"))
457
+ class: g(l(f)("header"))
454
458
  }, [L("div", {
455
- class: b(l(A)("header", "title"))
459
+ class: g(l(A)("header", "title"))
456
460
  }, [C(e.$slots, "title", v({
457
461
  selectedRows: l(x),
458
462
  selectedRowKeys: l(T).selectedRowKeys,
459
463
  shownColumns: u.value
460
- }, F))], 2), c.title ? (y(), le(l(je), {
464
+ }, F))], 2), c.title ? (y(), le(l(_e), {
461
465
  key: 0,
462
466
  type: "vertical"
463
- })) : oe("", !0), m(fr, {
467
+ })) : oe("", !0), m(mr, {
464
468
  config: e.settings === !0 ? {} : e.settings
465
469
  }, null, 8, ["config"])], 2)) : C(e.$slots, "title", v({
466
470
  key: 1,
467
471
  selectedRows: l(x),
468
472
  selectedRowKeys: l(T).selectedRowKeys,
469
473
  shownColumns: u.value
470
- }, F))], 2), m(l(We), v({
474
+ }, F))], 2), m(l(He), v({
471
475
  ref_key: "antdTableRef",
472
476
  ref: j,
473
477
  class: l(f)("table")
474
478
  }, G.value, {
475
- size: N.value,
476
- "table-layout": ze.value,
479
+ size: P.value,
480
+ "table-layout": Ne.value,
477
481
  columns: u.value,
478
482
  onResizeColumn: a[0] || (a[0] = (o, t) => t.width = o)
479
483
  }), ae({
@@ -487,7 +491,7 @@ const Or = /* @__PURE__ */ Le({
487
491
  name: "bottomPaginationTop",
488
492
  fn: R(() => {
489
493
  var o, t;
490
- return [m(l(pr), {
494
+ return [m(l(yr), {
491
495
  ref_key: "scrollBarRef",
492
496
  ref: i,
493
497
  "scroll-container": (t = (o = j.value) == null ? void 0 : o.table) == null ? void 0 : t.scrollBodyRef,
@@ -499,10 +503,10 @@ const Or = /* @__PURE__ */ Le({
499
503
  key: "0"
500
504
  } : void 0, te(l(se)(c, ["title", "searchFormExtra", "headerCell", "summary"]), (o, t) => ({
501
505
  name: t,
502
- fn: R((d) => [C(e.$slots, t, $e(De(d || {})))])
506
+ fn: R((d) => [C(e.$slots, t, je(We(d || {})))])
503
507
  }))]), 1040, ["class", "size", "table-layout", "columns"])], 6)], 6));
504
508
  }
505
509
  });
506
510
  export {
507
- Or as default
511
+ $r as default
508
512
  };
@@ -1,5 +1,5 @@
1
- import { defineComponent as G, ref as y, unref as e, computed as L, useSlots as M, createVNode as l, cloneVNode as P, createElementBlock as q, openBlock as x, Fragment as H, createBlock as J, createCommentVNode as Q, resolveDynamicComponent as W, withCtx as r, createElementVNode as s, normalizeClass as i, toDisplayString as c, createTextVNode as S, isRef as X } from "vue";
2
- import { Button as B, Modal as Y, RadioGroup as Z, RadioButton as N, Divider as T } from "@aplus-frontend/antdv";
1
+ import { defineComponent as G, ref as y, unref as e, computed as L, useSlots as M, createVNode as l, cloneVNode as P, createElementBlock as q, openBlock as T, Fragment as H, createBlock as J, createCommentVNode as Q, resolveDynamicComponent as W, withCtx as r, createElementVNode as s, normalizeClass as i, toDisplayString as c, createTextVNode as S, isRef as X } from "vue";
2
+ import { Button as x, Modal as Y, RadioGroup as Z, RadioButton as B, Divider as N } from "@aplus-frontend/antdv";
3
3
  import { getSingleVNode as ee } from "../../../../utils/slot.mjs";
4
4
  import { useInjectApTable as te } from "../../../context.mjs";
5
5
  import "../tree-select/index.vue.mjs";
@@ -12,7 +12,8 @@ import { useLocale as ae } from "../../../../config-provider/hooks/use-locale.mj
12
12
  import { useNamespace as _ } from "../../../../config-provider/hooks/use-namespace.mjs";
13
13
  import se from "../tree-select/index.vue2.mjs";
14
14
  import ie from "../sorter/index.vue2.mjs";
15
- const xe = /* @__PURE__ */ G({
15
+ const Te = /* @__PURE__ */ G({
16
+ name: "ApTableSetting",
16
17
  __name: "index",
17
18
  props: {
18
19
  config: {
@@ -40,7 +41,7 @@ const xe = /* @__PURE__ */ G({
40
41
  be: C
41
42
  } = _("ap-column-setting"), {
42
43
  b: K
43
- } = _("ap-table"), u = y(!1), $ = M(), b = ee($.trigger) || l(B, {
44
+ } = _("ap-table"), u = y(!1), $ = M(), b = ee($.trigger) || l(x, {
44
45
  icon: l(oe, null, null),
45
46
  class: K("setting-trigger-button")
46
47
  }, null), k = b ? P(b, {
@@ -57,7 +58,7 @@ const xe = /* @__PURE__ */ G({
57
58
  const p = h(o.value);
58
59
  E(p), I(p), (n = (t = m.config) == null ? void 0 : t.onChange) == null || n.call(t, p);
59
60
  }
60
- return (p, t) => (x(), q(H, null, [e(k) ? (x(), J(W(e(k)), {
61
+ return (p, t) => (T(), q(H, null, [e(k) ? (T(), J(W(e(k)), {
61
62
  key: 0
62
63
  })) : Q("", !0), l(e(Y), {
63
64
  open: u.value,
@@ -79,7 +80,7 @@ const xe = /* @__PURE__ */ G({
79
80
  class: i(e(C)("left", "header"))
80
81
  }, [s("div", null, [s("span", {
81
82
  class: i(e(C)("left", "header-tips"))
82
- }, c(e(a)("ap.apTable.setting.selectAllTip")), 3), l(e(B), {
83
+ }, c(e(a)("ap.apTable.setting.selectAllTip")), 3), l(e(x), {
83
84
  type: "link",
84
85
  size: "small",
85
86
  onClick: e(O)
@@ -90,19 +91,19 @@ const xe = /* @__PURE__ */ G({
90
91
  value: g.value,
91
92
  "onUpdate:value": t[0] || (t[0] = (n) => g.value = n)
92
93
  }, {
93
- default: r(() => [l(e(N), {
94
+ default: r(() => [l(e(B), {
94
95
  value: "small"
95
96
  }, {
96
97
  default: r(() => [S(c(e(a)("ap.apTable.setting.sizeSmall")), 1)]),
97
98
  _: 1
98
- }), l(e(N), {
99
+ }), l(e(B), {
99
100
  value: "middle"
100
101
  }, {
101
102
  default: r(() => [S(c(e(a)("ap.apTable.setting.sizeNormal")), 1)]),
102
103
  _: 1
103
104
  })]),
104
105
  _: 1
105
- }, 8, ["value"])], 2), l(e(T), {
106
+ }, 8, ["value"])], 2), l(e(N), {
106
107
  dashed: "",
107
108
  style: {
108
109
  margin: "0px"
@@ -110,7 +111,7 @@ const xe = /* @__PURE__ */ G({
110
111
  }), l(se, {
111
112
  class: i(e(C)("left", "content")),
112
113
  value: e(o)
113
- }, null, 8, ["class", "value"])], 2), l(e(T), {
114
+ }, null, 8, ["class", "value"])], 2), l(e(N), {
114
115
  type: "vertical",
115
116
  style: {
116
117
  height: "100%",
@@ -128,5 +129,5 @@ const xe = /* @__PURE__ */ G({
128
129
  }
129
130
  });
130
131
  export {
131
- xe as default
132
+ Te as default
132
133
  };
@@ -1,6 +1,6 @@
1
1
  import { ApFieldPassword } from '../ap-field';
2
2
  import { ApTableValueFields } from './interface';
3
- import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentInternalInstance, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, CSSProperties, ComputedRef, VNode, RendererNode, RendererElement, DefineComponent } from 'vue';
3
+ import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentInternalInstance, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, CSSProperties, VNode, RendererNode, RendererElement, DefineComponent } from 'vue';
4
4
  import { ApFormItemDateProps, ApFormItemDateRangeProps, ApFormItemNumberProps, ApFormItemRadioProps, ApFormItemSelectProps, ApFormItemSwitchProps, ApFormItemTextProps, ApFormItemTextAreaProps, ApFormItemCheckboxProps, ApFormItemTextPasswordProps, ApFormItemTreeSelectProps } from '../ap-form/items/interface';
5
5
  import { ApFieldDateProps, ApFormItemSlots, ApFieldDateRangeProps, ApFieldNumberProps, FieldMode, ApFieldRadioProps, ApFieldSelectProps, ApFieldSwitchProps, ApFieldTextProps, ApFormItemTextPassword, ApFieldTextAreaProps, ApFieldCheckboxProps, ApFieldTextPasswordProps, ApFieldTreeSelectProps, ApActionGroupProps, GroupActionTypes } from '..';
6
6
  import { ButtonSize, SizeType } from '@aplus-frontend/antdv/es/button';
@@ -1827,7 +1827,7 @@ export declare const apTableFormItemMap: {
1827
1827
  }>, {
1828
1828
  focus: (options?: InputFocusOptions) => void;
1829
1829
  blur: () => void;
1830
- resizableTextArea: ComputedRef<any>;
1830
+ resizableTextArea: any;
1831
1831
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1832
1832
  "update:value": (...args: any[]) => void;
1833
1833
  }, PublicProps, {
@@ -2109,7 +2109,7 @@ export declare const apTableFormItemMap: {
2109
2109
  }>, {
2110
2110
  focus: (options?: InputFocusOptions) => void;
2111
2111
  blur: () => void;
2112
- resizableTextArea: ComputedRef<any>;
2112
+ resizableTextArea: any;
2113
2113
  }, {}, {}, {}, {
2114
2114
  type: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "checkbox" | "radio" | "color" | "text" | "range" | "tel" | "url" | "email" | "image" | "datetime-local" | "file" | "password";
2115
2115
  mode: FieldMode;
@@ -4708,7 +4708,7 @@ export declare const apTableRenderItemMap: {
4708
4708
  textArea: DefineComponent<ApFieldTextAreaProps, {
4709
4709
  focus: (options?: InputFocusOptions) => void;
4710
4710
  blur: () => void;
4711
- resizableTextArea: ComputedRef<any>;
4711
+ resizableTextArea: any;
4712
4712
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
4713
4713
  "update:value": (...args: any[]) => void;
4714
4714
  }, string, PublicProps, Readonly< ApFieldTextAreaProps> & Readonly<{
@@ -64,6 +64,10 @@ export type UseTablePagingParams<DataType, ParamsType> = {
64
64
  */
65
65
  onAfterRequest?: () => void;
66
66
  };
67
+ export type InternalPagingType = Partial<{
68
+ current: number;
69
+ pageSize: number;
70
+ }>;
67
71
  type InternalDataType<DataType = Recordable> = {
68
72
  total: number;
69
73
  records: DataType[];
@@ -79,8 +83,6 @@ export declare const useTablePaging: <DataType = any, ParamsType = Record<string
79
83
  refresh: () => void;
80
84
  refreshByDelete: (n: number) => void;
81
85
  data: InternalDataType<DataType>;
82
- current: number | undefined;
83
- pageSize: number | undefined;
84
86
  handleTableChange: (pagination: TablePaginationConfig, filters: Record<string, FilterValue | null>, sorter: SorterResult<any> | SorterResult<any>[], extra: TableCurrentDataSource<any>) => void;
85
87
  handleTableChangeOptional: OptionalOnTableChange<(pagination: TablePaginationConfig, filters: Record<string, FilterValue | null>, sorter: SorterResult<any> | SorterResult<any>[], extra: TableCurrentDataSource<any>) => void>;
86
88
  tableProps: ComputedRef<{
@@ -104,5 +106,10 @@ export declare const useTablePaging: <DataType = any, ParamsType = Record<string
104
106
  getColumnSFConfig: (column: ApColumnType, append?: boolean) => Recordable;
105
107
  sortedInfo: Ref<any, any>;
106
108
  filteredInfo: Ref<any, any>;
109
+ getPaging: () => {
110
+ current?: number | undefined;
111
+ pageSize?: number | undefined;
112
+ };
113
+ setPaging: (nextPaging: InternalPagingType, refreshImmediately?: boolean) => void;
107
114
  };
108
115
  export {};