@aplus-frontend/ui 0.3.8 → 0.3.10

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 (244) hide show
  1. package/es/src/ap-action/item/index.vue.d.ts +2 -1
  2. package/es/src/ap-action/item-dropdown/index.vue.d.ts +2 -1
  3. package/es/src/ap-action/item-modal/index.vue.d.ts +2 -1
  4. package/es/src/ap-action/item-popconfirm/index.vue.d.ts +2 -1
  5. package/es/src/ap-button/ap-action-button.vue.d.ts +4 -3
  6. package/es/src/ap-button/ap-action-button.vue.mjs +11 -11
  7. package/es/src/ap-button/ap-button.vue.d.ts +4 -3
  8. package/es/src/ap-button/ap-button.vue.mjs +36 -36
  9. package/es/src/ap-button/interface.d.ts +4 -0
  10. package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +3 -2
  11. package/es/src/ap-descriptions/help-message/index.vue.d.ts +3 -5
  12. package/es/src/ap-download/ap-download.vue.d.ts +5 -3
  13. package/es/src/ap-field/date/index.vue.d.ts +2 -1
  14. package/es/src/ap-field/date-range/index.vue.d.ts +2 -1
  15. package/es/src/ap-field/number/index.vue.d.ts +2 -1
  16. package/es/src/ap-field/rate/index.vue.d.ts +2 -1
  17. package/es/src/ap-field/segmented/index.vue.d.ts +2 -1
  18. package/es/src/ap-field/select/index.vue.d.ts +2 -1
  19. package/es/src/ap-field/slider/index.vue.d.ts +2 -1
  20. package/es/src/ap-field/switch/index.vue.d.ts +2 -1
  21. package/es/src/ap-field/text/index.vue.d.ts +2 -1
  22. package/es/src/ap-field/text/password.vue.d.ts +2 -1
  23. package/es/src/ap-form/ap-form.vue.d.ts +6 -4
  24. package/es/src/ap-form/dependency/index.vue.d.ts +2 -1
  25. package/es/src/ap-form/drawer-form/index.vue.d.ts +3 -2
  26. package/es/src/ap-form/item/index.vue.d.ts +2 -1
  27. package/es/src/ap-form/item-group/index.vue.d.ts +2 -1
  28. package/es/src/ap-form/items/checkbox/index.vue.d.ts +2 -1
  29. package/es/src/ap-form/items/date/index.vue.d.ts +2 -1
  30. package/es/src/ap-form/items/date-range/index.vue.d.ts +2 -1
  31. package/es/src/ap-form/items/number/index.vue.d.ts +2 -1
  32. package/es/src/ap-form/items/radio/index.vue.d.ts +2 -1
  33. package/es/src/ap-form/items/select/index.vue.d.ts +2 -1
  34. package/es/src/ap-form/items/switch/index.vue.d.ts +2 -1
  35. package/es/src/ap-form/items/text/group.vue.d.ts +2 -1
  36. package/es/src/ap-form/items/text/index.vue.d.ts +2 -1
  37. package/es/src/ap-form/items/text/password.vue.d.ts +2 -1
  38. package/es/src/ap-form/items/text-area/index.vue.d.ts +2 -1
  39. package/es/src/ap-form/list/index.vue.d.ts +2 -1
  40. package/es/src/ap-form/modal-form/index.vue.d.ts +3 -2
  41. package/es/src/ap-form/modal-form/index.vue.mjs +61 -57
  42. package/es/src/ap-form/render/control.vue.d.ts +2 -1
  43. package/es/src/ap-form/render/item.vue.d.ts +2 -1
  44. package/es/src/ap-form/search-form/index.vue.d.ts +3 -2
  45. package/es/src/ap-form/set/index.vue.d.ts +2 -1
  46. package/es/src/ap-info-layout/ApInfoLayout.vue.d.ts +3 -2
  47. package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +3 -2
  48. package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.d.ts +3 -2
  49. package/es/src/ap-list/index.vue.d.ts +3 -5
  50. package/es/src/ap-list/index.vue.mjs +37 -39
  51. package/es/src/ap-list/interface.d.ts +3 -3
  52. package/es/src/ap-scroll-bar/ap-scroll-bar.vue.d.ts +1 -1
  53. package/es/src/ap-scroll-bar/index.d.ts +1 -1
  54. package/es/src/ap-table/ap-table.vue.d.ts +3 -5
  55. package/es/src/ap-table/ap-table.vue2.mjs +75 -78
  56. package/es/src/ap-table/components/index/index.vue.d.ts +1 -1
  57. package/es/src/ap-table/components/paragraph-ellipsis/index.vue.d.ts +1 -1
  58. package/es/src/ap-table/components/setting/modal/index.vue.d.ts +2 -1
  59. package/es/src/ap-table/components/setting/select-group/index.vue.d.ts +1 -1
  60. package/es/src/ap-table/components/setting/sortable/index.vue.d.ts +1 -1
  61. package/es/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
  62. package/es/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
  63. package/es/src/ap-table/components/setting/tree-select/index.vue.d.ts +1 -1
  64. package/es/src/ap-table/constants.d.ts +1 -1
  65. package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  66. package/es/src/ap-table/hooks/use-table-paging-ng.d.ts +87 -0
  67. package/es/src/ap-table/hooks/use-table-paging-ng.mjs +209 -0
  68. package/es/src/ap-table/hooks/use-table-paging.d.ts +13 -3
  69. package/es/src/ap-table/hooks/use-table-paging.mjs +131 -126
  70. package/es/src/ap-table/interface.d.ts +4 -3
  71. package/es/src/ap-table/utils.d.ts +1 -0
  72. package/es/src/ap-table/utils.mjs +10 -5
  73. package/es/src/ap-tag/ap-tag-group.vue.d.ts +2 -1
  74. package/es/src/ap-tag/ap-tag.vue.d.ts +1 -1
  75. package/es/src/ap-upload/apUpload.vue.d.ts +3 -2
  76. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  77. package/es/src/ap-upload/components/Picture.vue.d.ts +5 -9
  78. package/es/src/ap-upload/components/SingleFile.vue.d.ts +1 -1
  79. package/es/src/business/ap-appendix/ap-appendix.vue.d.ts +5 -3
  80. package/es/src/business/ap-appendix/icons/file-icon.vue.d.ts +1 -1
  81. package/es/src/business/ap-appendix/index.d.ts +1 -1
  82. package/es/src/business/ap-batch-action/ApBatchAction.vue.d.ts +3 -2
  83. package/es/src/business/ap-batch-action/index.d.ts +1 -1
  84. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +2 -1
  85. package/es/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +3 -4
  86. package/es/src/business/ap-batch-action-group/index.d.ts +887 -5
  87. package/es/src/business/ap-card/ApCard.vue.d.ts +3 -2
  88. package/es/src/business/ap-card/index.d.ts +1 -1
  89. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -5
  90. package/es/src/business/ap-expand-alert/index.d.ts +4 -6
  91. package/es/src/business/ap-group-search/ap-group-search.vue.d.ts +3 -2
  92. package/es/src/business/ap-group-search/extension-select/index.vue.d.ts +8 -346
  93. package/es/src/business/ap-group-search/images/icon-down.vue.d.ts +1 -1
  94. package/es/src/business/ap-group-search/images/icon-line-select.vue.d.ts +1 -1
  95. package/es/src/business/ap-group-search/index.d.ts +3 -3
  96. package/es/src/business/ap-group-search/popover-select/index.vue.d.ts +8 -346
  97. package/es/src/business/ap-image/ApImage.vue.d.ts +2 -1
  98. package/es/src/business/ap-input-radio/ApInputRadio.vue.d.ts +1 -1
  99. package/es/src/business/ap-input-radio/index.d.ts +1 -1
  100. package/es/src/business/ap-ladder/ApLadder.vue.d.ts +3 -2
  101. package/es/src/business/ap-ladder/index.d.ts +1 -1
  102. package/es/src/business/ap-select-layout/index.d.ts +3 -4
  103. package/es/src/business/ap-select-layout/interface.d.ts +1 -0
  104. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +3 -5
  105. package/es/src/business/ap-select-layout/select-layout.vue2.mjs +58 -56
  106. package/es/src/business/ap-table-modal/modal-title.vue.d.ts +3 -2
  107. package/es/src/business/ap-table-modal/table-layout/index.vue.d.ts +8 -8
  108. package/es/src/business/ap-table-modal/table-modal.vue.d.ts +3 -2
  109. package/es/src/business/ap-title/ApTitle.vue.d.ts +3 -2
  110. package/es/src/business/ap-title/index.d.ts +1 -1
  111. package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.d.ts +5 -3
  112. package/es/src/business/ap-upload-file/icon/delete-icon.vue.d.ts +1 -1
  113. package/es/src/business/ap-upload-file/icon/file-icon.vue.d.ts +1 -1
  114. package/es/src/business/batch-input-group/index.vue.d.ts +1 -1
  115. package/es/src/business/batch-input-group/popover-input/index.vue.d.ts +1 -1
  116. package/es/src/check-card/group.vue.d.ts +2 -1
  117. package/es/src/check-card/index.vue.d.ts +3 -2
  118. package/es/src/editable-table/form-item.vue.d.ts +3 -5
  119. package/es/src/editable-table/index.vue.d.ts +3 -5
  120. package/es/src/tests/wrapper.d.ts +4 -4
  121. package/es/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
  122. package/lib/src/ap-action/item/index.vue.d.ts +2 -1
  123. package/lib/src/ap-action/item-dropdown/index.vue.d.ts +2 -1
  124. package/lib/src/ap-action/item-modal/index.vue.d.ts +2 -1
  125. package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +2 -1
  126. package/lib/src/ap-button/ap-action-button.vue.d.ts +4 -3
  127. package/lib/src/ap-button/ap-action-button.vue.js +1 -1
  128. package/lib/src/ap-button/ap-button.vue.d.ts +4 -3
  129. package/lib/src/ap-button/ap-button.vue.js +1 -1
  130. package/lib/src/ap-button/interface.d.ts +4 -0
  131. package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +3 -2
  132. package/lib/src/ap-descriptions/help-message/index.vue.d.ts +3 -5
  133. package/lib/src/ap-download/ap-download.vue.d.ts +5 -3
  134. package/lib/src/ap-field/date/index.vue.d.ts +2 -1
  135. package/lib/src/ap-field/date-range/index.vue.d.ts +2 -1
  136. package/lib/src/ap-field/number/index.vue.d.ts +2 -1
  137. package/lib/src/ap-field/rate/index.vue.d.ts +2 -1
  138. package/lib/src/ap-field/segmented/index.vue.d.ts +2 -1
  139. package/lib/src/ap-field/select/index.vue.d.ts +2 -1
  140. package/lib/src/ap-field/slider/index.vue.d.ts +2 -1
  141. package/lib/src/ap-field/switch/index.vue.d.ts +2 -1
  142. package/lib/src/ap-field/text/index.vue.d.ts +2 -1
  143. package/lib/src/ap-field/text/password.vue.d.ts +2 -1
  144. package/lib/src/ap-form/ap-form.vue.d.ts +6 -4
  145. package/lib/src/ap-form/dependency/index.vue.d.ts +2 -1
  146. package/lib/src/ap-form/drawer-form/index.vue.d.ts +3 -2
  147. package/lib/src/ap-form/item/index.vue.d.ts +2 -1
  148. package/lib/src/ap-form/item-group/index.vue.d.ts +2 -1
  149. package/lib/src/ap-form/items/checkbox/index.vue.d.ts +2 -1
  150. package/lib/src/ap-form/items/date/index.vue.d.ts +2 -1
  151. package/lib/src/ap-form/items/date-range/index.vue.d.ts +2 -1
  152. package/lib/src/ap-form/items/number/index.vue.d.ts +2 -1
  153. package/lib/src/ap-form/items/radio/index.vue.d.ts +2 -1
  154. package/lib/src/ap-form/items/select/index.vue.d.ts +2 -1
  155. package/lib/src/ap-form/items/switch/index.vue.d.ts +2 -1
  156. package/lib/src/ap-form/items/text/group.vue.d.ts +2 -1
  157. package/lib/src/ap-form/items/text/index.vue.d.ts +2 -1
  158. package/lib/src/ap-form/items/text/password.vue.d.ts +2 -1
  159. package/lib/src/ap-form/items/text-area/index.vue.d.ts +2 -1
  160. package/lib/src/ap-form/list/index.vue.d.ts +2 -1
  161. package/lib/src/ap-form/modal-form/index.vue.d.ts +3 -2
  162. package/lib/src/ap-form/modal-form/index.vue.js +1 -1
  163. package/lib/src/ap-form/render/control.vue.d.ts +2 -1
  164. package/lib/src/ap-form/render/item.vue.d.ts +2 -1
  165. package/lib/src/ap-form/search-form/index.vue.d.ts +3 -2
  166. package/lib/src/ap-form/set/index.vue.d.ts +2 -1
  167. package/lib/src/ap-info-layout/ApInfoLayout.vue.d.ts +3 -2
  168. package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +3 -2
  169. package/lib/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.d.ts +3 -2
  170. package/lib/src/ap-list/index.vue.d.ts +3 -5
  171. package/lib/src/ap-list/index.vue.js +1 -1
  172. package/lib/src/ap-list/interface.d.ts +3 -3
  173. package/lib/src/ap-scroll-bar/ap-scroll-bar.vue.d.ts +1 -1
  174. package/lib/src/ap-scroll-bar/index.d.ts +1 -1
  175. package/lib/src/ap-table/ap-table.vue.d.ts +3 -5
  176. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  177. package/lib/src/ap-table/components/index/index.vue.d.ts +1 -1
  178. package/lib/src/ap-table/components/paragraph-ellipsis/index.vue.d.ts +1 -1
  179. package/lib/src/ap-table/components/setting/modal/index.vue.d.ts +2 -1
  180. package/lib/src/ap-table/components/setting/select-group/index.vue.d.ts +1 -1
  181. package/lib/src/ap-table/components/setting/sortable/index.vue.d.ts +1 -1
  182. package/lib/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
  183. package/lib/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
  184. package/lib/src/ap-table/components/setting/tree-select/index.vue.d.ts +1 -1
  185. package/lib/src/ap-table/constants.d.ts +1 -1
  186. package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  187. package/lib/src/ap-table/hooks/use-table-paging-ng.d.ts +87 -0
  188. package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -0
  189. package/lib/src/ap-table/hooks/use-table-paging.d.ts +13 -3
  190. package/lib/src/ap-table/hooks/use-table-paging.js +1 -1
  191. package/lib/src/ap-table/interface.d.ts +4 -3
  192. package/lib/src/ap-table/utils.d.ts +1 -0
  193. package/lib/src/ap-table/utils.js +1 -1
  194. package/lib/src/ap-tag/ap-tag-group.vue.d.ts +2 -1
  195. package/lib/src/ap-tag/ap-tag.vue.d.ts +1 -1
  196. package/lib/src/ap-upload/apUpload.vue.d.ts +3 -2
  197. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  198. package/lib/src/ap-upload/components/Picture.vue.d.ts +5 -9
  199. package/lib/src/ap-upload/components/SingleFile.vue.d.ts +1 -1
  200. package/lib/src/business/ap-appendix/ap-appendix.vue.d.ts +5 -3
  201. package/lib/src/business/ap-appendix/icons/file-icon.vue.d.ts +1 -1
  202. package/lib/src/business/ap-appendix/index.d.ts +1 -1
  203. package/lib/src/business/ap-batch-action/ApBatchAction.vue.d.ts +3 -2
  204. package/lib/src/business/ap-batch-action/index.d.ts +1 -1
  205. package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +2 -1
  206. package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +3 -4
  207. package/lib/src/business/ap-batch-action-group/index.d.ts +887 -5
  208. package/lib/src/business/ap-card/ApCard.vue.d.ts +3 -2
  209. package/lib/src/business/ap-card/index.d.ts +1 -1
  210. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -5
  211. package/lib/src/business/ap-expand-alert/index.d.ts +4 -6
  212. package/lib/src/business/ap-group-search/ap-group-search.vue.d.ts +3 -2
  213. package/lib/src/business/ap-group-search/extension-select/index.vue.d.ts +8 -346
  214. package/lib/src/business/ap-group-search/images/icon-down.vue.d.ts +1 -1
  215. package/lib/src/business/ap-group-search/images/icon-line-select.vue.d.ts +1 -1
  216. package/lib/src/business/ap-group-search/index.d.ts +3 -3
  217. package/lib/src/business/ap-group-search/popover-select/index.vue.d.ts +8 -346
  218. package/lib/src/business/ap-image/ApImage.vue.d.ts +2 -1
  219. package/lib/src/business/ap-input-radio/ApInputRadio.vue.d.ts +1 -1
  220. package/lib/src/business/ap-input-radio/index.d.ts +1 -1
  221. package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +3 -2
  222. package/lib/src/business/ap-ladder/index.d.ts +1 -1
  223. package/lib/src/business/ap-select-layout/index.d.ts +3 -4
  224. package/lib/src/business/ap-select-layout/interface.d.ts +1 -0
  225. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +3 -5
  226. package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
  227. package/lib/src/business/ap-table-modal/modal-title.vue.d.ts +3 -2
  228. package/lib/src/business/ap-table-modal/table-layout/index.vue.d.ts +8 -8
  229. package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +3 -2
  230. package/lib/src/business/ap-title/ApTitle.vue.d.ts +3 -2
  231. package/lib/src/business/ap-title/index.d.ts +1 -1
  232. package/lib/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.d.ts +5 -3
  233. package/lib/src/business/ap-upload-file/icon/delete-icon.vue.d.ts +1 -1
  234. package/lib/src/business/ap-upload-file/icon/file-icon.vue.d.ts +1 -1
  235. package/lib/src/business/batch-input-group/index.vue.d.ts +1 -1
  236. package/lib/src/business/batch-input-group/popover-input/index.vue.d.ts +1 -1
  237. package/lib/src/check-card/group.vue.d.ts +2 -1
  238. package/lib/src/check-card/index.vue.d.ts +3 -2
  239. package/lib/src/editable-table/form-item.vue.d.ts +3 -5
  240. package/lib/src/editable-table/index.vue.d.ts +3 -5
  241. package/lib/src/tests/wrapper.d.ts +4 -4
  242. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
  243. package/package.json +1 -1
  244. package/index.ts +0 -19
@@ -1,13 +1,12 @@
1
- import { defineComponent as H, ref as J, unref as t, computed as c, watch as Q, openBlock as i, createBlock as S, normalizeClass as u, withCtx as f, createElementVNode as X, normalizeStyle as v, renderSlot as l, createVNode as h, createElementBlock as p, Fragment as I, renderList as Y, mergeProps as Z, createCommentVNode as _ } from "vue";
1
+ import { defineComponent as H, ref as J, unref as t, computed as d, watch as Q, openBlock as i, createBlock as S, normalizeClass as u, withCtx as f, createElementVNode as X, normalizeStyle as h, renderSlot as l, createVNode as v, createElementBlock as p, Fragment as I, renderList as Y, mergeProps as Z, createCommentVNode as _ } from "vue";
2
2
  import { Empty as E, Spin as x, Pagination as ee } from "@aplus-frontend/antdv";
3
- import "../ap-table/index.mjs";
3
+ import { useTablePaging as te } from "../ap-table/hooks/use-table-paging-ng.mjs";
4
4
  import "../config-provider/index.mjs";
5
- import { isUndefined as O, isNumber as te, omit as ae } from "lodash-unified";
6
- import { useOfflineList as ne } from "./hooks/use-offline-list.mjs";
5
+ import { isUndefined as O, isNumber as ae, omit as ne } from "lodash-unified";
6
+ import { useOfflineList as re } from "./hooks/use-offline-list.mjs";
7
7
  import "vue-virtual-scroller/dist/vue-virtual-scroller.css";
8
- import { RecycleScroller as re, DynamicScroller as oe, DynamicScrollerItem as ie } from "vue-virtual-scroller";
9
- import { useNamespace as le } from "../config-provider/hooks/use-namespace.mjs";
10
- import { useTablePaging as se } from "../ap-table/hooks/use-table-paging.mjs";
8
+ import { RecycleScroller as oe, DynamicScroller as ie, DynamicScrollerItem as le } from "vue-virtual-scroller";
9
+ import { useNamespace as se } from "../config-provider/hooks/use-namespace.mjs";
11
10
  const he = /* @__PURE__ */ H({
12
11
  __name: "index",
13
12
  props: {
@@ -28,16 +27,16 @@ const he = /* @__PURE__ */ H({
28
27
  rowKey: {}
29
28
  },
30
29
  setup(V, { expose: F }) {
31
- const L = E.PRESENTED_IMAGE_SIMPLE, n = V, { b: d, e: N } = le("ap-list"), b = J(), {
30
+ const L = E.PRESENTED_IMAGE_SIMPLE, n = V, { b: m, e: N } = se("ap-list"), b = J(), {
32
31
  formRef: k,
33
- submit: z,
34
- reset: C,
32
+ submit: D,
33
+ reset: w,
35
34
  handleTableChange: R,
36
35
  data: g,
37
36
  refresh: T,
38
37
  refreshByDelete: $,
39
- tableProps: P
40
- } = se({
38
+ tableProps: z
39
+ } = te({
41
40
  async request(e) {
42
41
  var r;
43
42
  const a = await ((r = n.request) == null ? void 0 : r.call(n, e));
@@ -49,16 +48,15 @@ const he = /* @__PURE__ */ H({
49
48
  defaultParams: n.params,
50
49
  defaultData: n.defaultData,
51
50
  manual: n.manual,
52
- defaultCurrent: n.pagination ? n.pagination.defaultCurrent : void 0,
53
- defaultPageSize: n.pagination ? n.pagination.defaultPageSize : void 0,
51
+ pagination: n.pagination,
54
52
  formatParams: n.beforeSearchSubmit
55
53
  }), j = { form: k }, {
56
- pagination: D,
54
+ pagination: B,
57
55
  dataSource: q,
58
56
  onChange: A
59
- } = ne(n);
57
+ } = re(n);
60
58
  function K(e, a) {
61
- if (t(m)) {
59
+ if (t(c)) {
62
60
  A(e, a);
63
61
  return;
64
62
  }
@@ -69,10 +67,10 @@ const he = /* @__PURE__ */ H({
69
67
  { currentDataSource: [], action: "paginate" }
70
68
  );
71
69
  }
72
- const s = c(() => t(m) ? t(q) : t(g).records), y = c(() => O(n.loading) ? t(g).loading : n.loading), M = c(() => {
70
+ const s = d(() => t(c) ? t(q) : t(g).records), y = d(() => O(n.loading) ? t(g).loading : n.loading), M = d(() => {
73
71
  var e, a;
74
- return n.pagination === !1 || n.virtual ? !1 : ((e = n.pagination) == null ? void 0 : e.hideOnSinglePage) !== !0 ? !0 : t(m) ? (((a = n.dataSource) == null ? void 0 : a.length) || 0) > t(D).pageSize : t(g).total > t(P).pagination.pageSize;
75
- }), m = c(() => !O(n.dataSource));
72
+ return n.pagination === !1 || n.virtual ? !1 : ((e = n.pagination) == null ? void 0 : e.hideOnSinglePage) !== !0 ? !0 : t(c) ? (((a = n.dataSource) == null ? void 0 : a.length) || 0) > t(B).pageSize : t(g).total > t(z).pagination.pageSize;
73
+ }), c = d(() => !O(n.dataSource));
76
74
  Q(
77
75
  () => t(y),
78
76
  (e) => {
@@ -90,41 +88,41 @@ const he = /* @__PURE__ */ H({
90
88
  return (r == null ? void 0 : r()) || {};
91
89
  }
92
90
  return F({
93
- submit: () => z(),
94
- reset: () => C(),
91
+ submit: () => D(),
92
+ reset: () => w(),
95
93
  refresh: () => T(),
96
94
  refreshByDelete: (e) => $(e),
97
95
  scrollToFirstRow: W,
98
96
  getSearchFormValuesIfSetted: G
99
97
  }), (e, a) => (i(), S(t(x), {
100
98
  spinning: y.value,
101
- class: u(t(d)("spin"))
99
+ class: u(t(m)("spin"))
102
100
  }, {
103
101
  default: f(() => [
104
102
  X("div", {
105
- class: u(t(d)()),
106
- style: v(e.containerStyle)
103
+ class: u(t(m)()),
104
+ style: h(e.containerStyle)
107
105
  }, [
108
106
  l(e.$slots, "header", {
109
107
  formIns: j,
110
- submit: t(z),
111
- reset: t(C)
108
+ submit: t(D),
109
+ reset: t(w)
112
110
  }),
113
111
  s.value.length === 0 ? l(e.$slots, "empty", {
114
112
  key: 0,
115
113
  loading: y.value
116
114
  }, () => [
117
- h(t(E), { image: t(L) }, null, 8, ["image"])
115
+ v(t(E), { image: t(L) }, null, 8, ["image"])
118
116
  ]) : (i(), p("div", {
119
117
  key: 1,
120
118
  ref_key: "contentRef",
121
119
  ref: b,
122
- style: v(e.contentStyle)
120
+ style: h(e.contentStyle)
123
121
  }, [
124
122
  e.virtual ? (i(), p(I, { key: 0 }, [
125
- t(te)(e.virtual) ? (i(), S(t(re), {
123
+ t(ae)(e.virtual) ? (i(), S(t(oe), {
126
124
  key: 0,
127
- class: u(t(d)("scroll-wrapper")),
125
+ class: u(t(m)("scroll-wrapper")),
128
126
  items: s.value,
129
127
  "item-size": e.virtual,
130
128
  "key-field": n.rowKey || "id"
@@ -136,20 +134,20 @@ const he = /* @__PURE__ */ H({
136
134
  })
137
135
  ]),
138
136
  _: 3
139
- }, 8, ["class", "items", "item-size", "key-field"])) : (i(), S(t(oe), {
137
+ }, 8, ["class", "items", "item-size", "key-field"])) : (i(), S(t(ie), {
140
138
  key: 1,
141
139
  items: s.value,
142
140
  "min-item-size": e.virtual.minItemSize,
143
- class: u(t(d)("scroll-wrapper"))
141
+ class: u(t(m)("scroll-wrapper"))
144
142
  }, {
145
143
  default: f(({ item: r, index: o, active: U }) => {
146
- var w, B;
144
+ var C, P;
147
145
  return [
148
- h(t(ie), {
146
+ v(t(le), {
149
147
  item: r,
150
148
  active: U,
151
149
  "data-index": o,
152
- "size-dependencies": (B = (w = e.virtual).sizeDependencies) == null ? void 0 : B.call(w, r)
150
+ "size-dependencies": (P = (C = e.virtual).sizeDependencies) == null ? void 0 : P.call(C, r)
153
151
  }, {
154
152
  default: f(() => [
155
153
  l(e.$slots, "renderItem", {
@@ -176,10 +174,10 @@ const he = /* @__PURE__ */ H({
176
174
  M.value ? (i(), p("div", {
177
175
  key: 2,
178
176
  class: u(t(N)("footer")),
179
- style: v(e.footerWarpperStyle)
177
+ style: h(e.footerWarpperStyle)
180
178
  }, [
181
- h(t(ee), Z(
182
- m.value ? t(D) : t(ae)(t(P).pagination, ["showTotal"]),
179
+ v(t(ee), Z(
180
+ c.value ? t(B) : t(ne)(t(z).pagination, ["showTotal"]),
183
181
  { onChange: K }
184
182
  ), null, 16)
185
183
  ], 6)) : _("", !0)
@@ -1,4 +1,4 @@
1
- import { StyleValue } from 'vue';
1
+ import { Ref, StyleValue } from 'vue';
2
2
  import { RequestData } from '../ap-table';
3
3
  import { Recordable } from '../type';
4
4
  export type ApListProps<RecordType = any, ParamsType = Recordable> = {
@@ -16,9 +16,9 @@ export type ApListProps<RecordType = any, ParamsType = Recordable> = {
16
16
  */
17
17
  onItem?: (record: RecordType, index: number) => void;
18
18
  /**
19
- * 依赖的额外的参数(该参数变更不会触发网络请求)
19
+ * 依赖的额外的参数,传入响应式参数会在变更后重新执行
20
20
  */
21
- params?: ParamsType;
21
+ params?: ParamsType | Ref<ParamsType>;
22
22
  /**
23
23
  * 请求数据
24
24
  * @param params
@@ -2,5 +2,5 @@ import { ApScrollBarProps } from './interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  declare const _default: DefineComponent<ApScrollBarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApScrollBarProps> & Readonly<{}>, {
4
4
  type: "horizontal" | "vertical";
5
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
5
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
6
6
  export default _default;
@@ -4,7 +4,7 @@ export * from './interface';
4
4
  declare const ApScrollBar: {
5
5
  new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ApScrollBarProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
6
6
  type: "horizontal" | "vertical";
7
- }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
7
+ }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
8
8
  P: {};
9
9
  B: {};
10
10
  D: {};
@@ -1,9 +1,9 @@
1
1
  import { ApColumnType, ApTableProps } from './interface';
2
2
  import { ColumnsType, ColumnType } from '@aplus-frontend/antdv/es/table';
3
3
  import { RowSelectionReturnType } from './hooks/use-table-row-selection';
4
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, ComputedRef, VNode, RendererNode, RendererElement } from 'vue';
4
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, ComputedRef, VNode } from 'vue';
5
5
  declare const _default: <RecordType>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
6
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & ApTableProps<RecordType>> & PublicProps;
6
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & Partial<{}> & ApTableProps<RecordType>> & PublicProps;
7
7
  expose(exposed: ShallowUnwrapRef<{
8
8
  submit: () => void;
9
9
  reset: () => void;
@@ -76,9 +76,7 @@ declare const _default: <RecordType>(__VLS_props: NonNullable<Awaited<typeof __V
76
76
  }) => void;
77
77
  };
78
78
  emit: {};
79
- }>) => VNode<RendererNode, RendererElement, {
80
- [key: string]: any;
81
- }> & {
79
+ }>) => VNode & {
82
80
  __ctx?: Awaited<typeof __VLS_setup>;
83
81
  };
84
82
  export default _default;
@@ -1,23 +1,23 @@
1
- import { defineComponent as Te, useSlots as Fe, ref as P, computed as s, unref as l, createVNode as y, Fragment as U, watchEffect as xe, watch as G, openBlock as p, createElementBlock as T, normalizeClass as f, normalizeStyle as M, mergeProps as w, createSlots as _, withCtx as F, renderList as J, createBlock as Q, resolveDynamicComponent as Be, renderSlot as h, createCommentVNode as X, createElementVNode as I, normalizeProps as ke, guardReactiveProps as ze } from "vue";
1
+ import { defineComponent as Te, useSlots as Fe, ref as P, computed as s, unref as l, createVNode as g, Fragment as q, watchEffect as xe, watch as G, openBlock as p, createElementBlock as T, normalizeClass as f, normalizeStyle as M, mergeProps as w, createSlots as _, withCtx as F, renderList as J, createBlock as Q, resolveDynamicComponent as Be, renderSlot as b, createCommentVNode as X, createElementVNode as I, normalizeProps as ke, guardReactiveProps as ze } from "vue";
2
2
  import { Divider as Pe, Table as Ie } from "@aplus-frontend/antdv";
3
3
  import { useToken as Ne } from "@aplus-frontend/antdv/es/theme/internal";
4
4
  import { ApForm as Ee } from "../ap-form/index.mjs";
5
5
  import { noRenderAsFormItemValueList as Y } from "./constants.mjs";
6
6
  import "../config-provider/index.mjs";
7
- import { useTablePaging as Ke } from "./hooks/use-table-paging.mjs";
8
- import { isUndefined as m, omit as Z, isBoolean as Le } from "lodash-unified";
9
- import { getColumnOrder as ee, updateFormProps as Oe, getFieldProps as Ve, getSearchFormItemRenderNode as Ae, recursionApColumns as ae, apColumnToColumn as De, getTableTitle as je, getTableRenderType as $e, getTableRenderProps as We, getTableCellRenderNode as He } from "./utils.mjs";
7
+ import { useTablePaging as Ke } from "./hooks/use-table-paging-ng.mjs";
8
+ import { isUndefined as m, omit as Z, isBoolean as Oe } from "lodash-unified";
9
+ import { getColumnOrder as ee, updateFormProps as Le, getFieldProps as Ve, getSearchFormItemRenderNode as Ae, recursionApColumns as ae, apColumnToColumn as De, getTableTitle as je, getTableRenderType as $e, getTableRenderProps as We, getTableCellRenderNode as He, falseToUndefined as Ue } from "./utils.mjs";
10
10
  import qe from "./hooks/use-table-content-height.mjs";
11
- import Ue from "./hooks/use-table-row-selection.mjs";
12
- import { isDef as Ge } from "../utils/index.mjs";
11
+ import Ge from "./hooks/use-table-row-selection.mjs";
12
+ import { isDef as Me } 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 Me } from "./context.mjs";
16
- import { useNamespace as _e } from "../config-provider/hooks/use-namespace.mjs";
17
- import { useGlobalConfig as Je } from "../config-provider/hooks/use-global-config.mjs";
18
- import Qe from "./components/paragraph-ellipsis/index.vue2.mjs";
19
- import Xe from "./components/setting/modal/index.vue2.mjs";
20
- const wa = /* @__PURE__ */ Te({
15
+ import { useProvideApTable as _e } from "./context.mjs";
16
+ import { useNamespace as Je } from "../config-provider/hooks/use-namespace.mjs";
17
+ import { useGlobalConfig as Qe } from "../config-provider/hooks/use-global-config.mjs";
18
+ import Xe from "./components/paragraph-ellipsis/index.vue2.mjs";
19
+ import Ye from "./components/setting/modal/index.vue2.mjs";
20
+ const ba = /* @__PURE__ */ Te({
21
21
  name: "ApTable",
22
22
  __name: "ap-table",
23
23
  props: {
@@ -146,17 +146,17 @@ const wa = /* @__PURE__ */ Te({
146
146
  }) {
147
147
  const a = oe;
148
148
  let N = 0;
149
- const S = Fe(), [, re] = Ne(), {
149
+ const h = Fe(), [, re] = Ne(), {
150
150
  e: x,
151
151
  b: i,
152
152
  be: E
153
- } = _e("ap-table"), K = Je("valueTypeMap"), {
153
+ } = Je("ap-table"), K = Qe("valueTypeMap"), {
154
154
  height: le,
155
155
  contentRef: ne
156
- } = qe(), B = P(a.size), u = P([]), L = P([]);
157
- Me({
156
+ } = qe(), B = P(a.size), u = P([]), O = P([]);
157
+ _e({
158
158
  columns: s(() => u.value),
159
- columnsBackup: s(() => L.value),
159
+ columnsBackup: s(() => O.value),
160
160
  size: s(() => B.value),
161
161
  updateColumns(e) {
162
162
  u.value = e;
@@ -165,13 +165,13 @@ const wa = /* @__PURE__ */ Te({
165
165
  B.value = e;
166
166
  }
167
167
  });
168
- const O = s(() => {
168
+ const L = s(() => {
169
169
  var e, t, o;
170
170
  return N++, ((o = (t = (e = a.columns) == null ? void 0 : e.filter((r) => !r.hideInSearch && r.dataIndex && (r.valueType || r.customRenderFormItem) && !Y.includes(r.valueType))) == null ? void 0 : t.sort((r, d) => {
171
171
  let n = ee(r.order);
172
172
  return ee(d.order) - n;
173
173
  })) == null ? void 0 : o.map((r) => {
174
- const d = Oe(r, Ve(r.fieldProps, {})), n = {
174
+ const d = Le(r, Ve(r.fieldProps, {})), n = {
175
175
  ...r,
176
176
  fieldProps: {
177
177
  label: r.title,
@@ -189,11 +189,11 @@ const wa = /* @__PURE__ */ Te({
189
189
  }).filter(Boolean)), de = s(() => ae(l(u), (e) => {
190
190
  if (e.filters && !e.onFilter)
191
191
  return e.key || e.dataIndex;
192
- }).filter(Boolean)), ue = s(() => m(a.dataSource) ? v.value.records : a.dataSource), {
193
- rowSelection: b,
194
- selectedRows: C,
195
- ...R
196
- } = Ue({
192
+ }).filter(Boolean)), ue = s(() => m(a.dataSource) ? v.records : a.dataSource), {
193
+ rowSelection: S,
194
+ selectedRows: R,
195
+ ...C
196
+ } = Ge({
197
197
  fixed: !0,
198
198
  ...a.rowSelection === !0 ? {} : a.rowSelection,
199
199
  rowKey: a.rowKey,
@@ -210,7 +210,7 @@ const wa = /* @__PURE__ */ Te({
210
210
  } = Ke({
211
211
  async request(e) {
212
212
  var o, r;
213
- if (!b.value.preserveSelectedRowKeys && m(a.dataSource) && R.clearAll(), !m(a.dataSource))
213
+ if (!S.value.preserveSelectedRowKeys && m(a.dataSource) && C.clearAll(), !m(a.dataSource))
214
214
  return {
215
215
  data: a.dataSource || [],
216
216
  total: a.dataSource.length || 0
@@ -226,43 +226,40 @@ const wa = /* @__PURE__ */ Te({
226
226
  defaultParams: a.params,
227
227
  defaultData: a.defaultData,
228
228
  manual: a.manual,
229
- defaultCurrent: a.pagination ? a.pagination.defaultCurrent : void 0,
230
- defaultPageSize: a.pagination ? a.pagination.defaultPageSize : void 0,
231
229
  formatParams: a.beforeSearchSubmit,
232
- showLessItems: a.pagination ? a.pagination.showLessItems : void 0,
233
- showTotal: a.pagination ? a.pagination.showTotal : void 0
230
+ pagination: a.pagination
234
231
  }), fe = () => {
235
232
  var o;
236
233
  let e = ((o = a.columns) == null ? void 0 : o.filter((r) => !r.hideInTable)) || [];
237
234
  function t(r, d) {
238
235
  return r.map((n) => ({
239
- resizable: Ge(n.resizable) ? n.resizable : a.columnResizable,
236
+ resizable: Me(n.resizable) ? n.resizable : a.columnResizable,
240
237
  ...Z(De(n), ["ellipsis"]),
241
238
  ...pe(n),
242
239
  fixed: d ? d.fixed : n.fixed,
243
- title: je(n, E("table-header", "title"), S.headerCell, l(re).colorPrimary),
240
+ title: je(n, E("table-header", "title"), h.headerCell, l(re).colorPrimary),
244
241
  customRender({
245
242
  value: c,
246
- ...g
243
+ ...y
247
244
  }) {
248
- var H, q;
249
- const $ = $e(n), Ce = We({
245
+ var H, U;
246
+ const $ = $e(n), Re = We({
250
247
  ...n,
251
248
  valueType: $
252
249
  }, {
253
250
  value: c,
254
- ...g
255
- }), Re = He($, Ce, g.record, l(K)), W = ((H = n.renderText) == null ? void 0 : H.call(n, {
251
+ ...y
252
+ }), Ce = He($, Re, y.record, l(K)), W = ((H = n.renderText) == null ? void 0 : H.call(n, {
256
253
  value: c,
257
- ...g
258
- })) || c, ve = n.renderText ? y(U, null, [(q = n.renderText) == null ? void 0 : q.call(n, {
254
+ ...y
255
+ })) || c, ve = n.renderText ? g(q, null, [(U = n.renderText) == null ? void 0 : U.call(n, {
259
256
  value: c,
260
- ...g
261
- })]) : Re;
257
+ ...y
258
+ })]) : Ce;
262
259
  let z = we(n, W, ve);
263
260
  return n.customRender && (z = n.customRender({
264
261
  value: c,
265
- ...g,
262
+ ...y,
266
263
  column: n,
267
264
  originalNode: z,
268
265
  originalText: W
@@ -275,18 +272,18 @@ const wa = /* @__PURE__ */ Te({
275
272
  };
276
273
  xe(() => {
277
274
  const e = fe();
278
- u.value = e, L.value = e;
275
+ u.value = e, O.value = e;
279
276
  });
280
277
  const me = s(() => {
281
278
  var t, o;
282
- if (a.adaptive && (v.value.total > 0 || ((t = a.dataSource) == null ? void 0 : t.length)))
279
+ if (a.adaptive && (v.total > 0 || ((t = a.dataSource) == null ? void 0 : t.length)))
283
280
  return {
284
281
  y: l(le),
285
282
  x: ((o = a.scroll) == null ? void 0 : o.x) || "100%"
286
283
  };
287
284
  if (a.scroll)
288
285
  return a.scroll;
289
- }), ge = s(() => {
286
+ }), ye = s(() => {
290
287
  var e;
291
288
  if (a.tableLayout)
292
289
  return a.tableLayout;
@@ -294,7 +291,7 @@ const wa = /* @__PURE__ */ Te({
294
291
  return "fixed";
295
292
  }), j = s(() => {
296
293
  var o;
297
- const e = l(D), t = l(b);
294
+ const e = l(D), t = l(S);
298
295
  return {
299
296
  ...a,
300
297
  ...e,
@@ -302,16 +299,16 @@ const wa = /* @__PURE__ */ Te({
302
299
  ...t,
303
300
  // tips 如果是前端分页,则默认会走缓存
304
301
  preserveSelectedRowKeys: m(a.dataSource) ? t.preserveSelectedRowKeys : !0
305
- } : a.rowSelection,
302
+ } : Ue(a.rowSelection),
306
303
  loading: m(a.loading) ? e.loading : a.loading,
307
304
  pagination: a.pagination === !1 ? !1 : e.pagination,
308
305
  scroll: l(me)
309
306
  };
310
- }), ye = s(() => [i(), a.card ? null : i("wrapper"), a.adaptive ? i("adaptive") : null].filter(Boolean));
307
+ }), ge = s(() => [i(), a.card ? null : i("wrapper"), a.adaptive ? i("adaptive") : null].filter(Boolean));
311
308
  function we(e, t, o) {
312
- return Y.includes(e.valueType) ? o : e.copyable || e.ellipsis ? y(Qe, {
309
+ return Y.includes(e.valueType) ? o : e.copyable || e.ellipsis ? g(Xe, {
313
310
  copyable: e.copyable,
314
- ellipsis: e.ellipsis ? Le(e.ellipsis) ? {
311
+ ellipsis: e.ellipsis ? Oe(e.ellipsis) ? {
315
312
  tooltip: o,
316
313
  rows: 1
317
314
  } : {
@@ -329,37 +326,37 @@ const wa = /* @__PURE__ */ Te({
329
326
  }, {
330
327
  immediate: !0
331
328
  });
332
- function he(e) {
329
+ function be(e) {
333
330
  var t, o, r;
334
331
  (r = (o = (t = k.value) == null ? void 0 : t.apForm) == null ? void 0 : o.setFieldsValue) == null || r.call(o, e);
335
332
  }
336
- function Se(e = !1) {
333
+ function he(e = !1) {
337
334
  var o, r, d;
338
335
  const t = e ? "getFieldsValueTransformed" : "getFieldsValue";
339
336
  return (d = (r = (o = k.value) == null ? void 0 : o.apForm) == null ? void 0 : r[t]) == null ? void 0 : d.call(r, !0);
340
337
  }
341
- function be() {
338
+ function Se() {
342
339
  return l(u);
343
340
  }
344
341
  return te({
345
342
  submit: () => V(),
346
343
  reset: () => A(),
347
344
  refresh: () => ie(),
348
- setSearchFormValues: he,
349
- getSearchFormValues: Se,
350
- getShownColumns: be,
345
+ setSearchFormValues: be,
346
+ getSearchFormValues: he,
347
+ getShownColumns: Se,
351
348
  dataSource: s(() => l(v).records),
352
349
  rowSelection: {
353
- selectedRows: s(() => l(C)),
354
- ...R
350
+ selectedRows: s(() => l(R)),
351
+ ...C
355
352
  }
356
353
  }), (e, t) => (p(), T("div", {
357
- class: f(ye.value)
358
- }, [l(m)(e.dataSource) && e.searchForm !== !1 && O.value.length > 0 ? (p(), T("div", {
354
+ class: f(ge.value)
355
+ }, [l(m)(e.dataSource) && e.searchForm !== !1 && L.value.length > 0 ? (p(), T("div", {
359
356
  key: 0,
360
357
  class: f(e.card ? l(x)("search-wrapper") : null),
361
358
  style: M(e.searchFormWrapperStyle)
362
- }, [y(l(Ee).SearchForm, w(e.searchForm || {}, {
359
+ }, [g(l(Ee).SearchForm, w(e.searchForm || {}, {
363
360
  ref_key: "formRef",
364
361
  ref: k,
365
362
  "custom-reset": "",
@@ -367,16 +364,16 @@ const wa = /* @__PURE__ */ Te({
367
364
  onSubmit: l(V),
368
365
  onReset: l(A)
369
366
  }), _({
370
- default: F(() => [(p(!0), T(U, null, J(O.value, (o) => (p(), Q(Be(o.renderNode), w({
367
+ default: F(() => [(p(!0), T(q, null, J(L.value, (o) => (p(), Q(Be(o.renderNode), w({
371
368
  key: o.dataIndex,
372
369
  ref_for: !0
373
370
  }, o.fieldProps || {}, {
374
371
  span: o.span
375
372
  }), null, 16, ["span"]))), 128))]),
376
373
  _: 2
377
- }, [S.searchFormExtra ? {
374
+ }, [h.searchFormExtra ? {
378
375
  name: "extra",
379
- fn: F(() => [h(e.$slots, "searchFormExtra")]),
376
+ fn: F(() => [b(e.$slots, "searchFormExtra")]),
380
377
  key: "0"
381
378
  } : void 0]), 1040, ["submit-loading", "onSubmit", "onReset"])], 6)) : X("", !0), I("div", {
382
379
  ref_key: "contentRef",
@@ -390,40 +387,40 @@ const wa = /* @__PURE__ */ Te({
390
387
  class: f(l(i)("header"))
391
388
  }, [I("div", {
392
389
  class: f(l(E)("header", "title"))
393
- }, [h(e.$slots, "title", w({
394
- selectedRows: l(C),
395
- selectedRowKeys: l(b).selectedRowKeys,
390
+ }, [b(e.$slots, "title", w({
391
+ selectedRows: l(R),
392
+ selectedRowKeys: l(S).selectedRowKeys,
396
393
  shownColumns: u.value
397
- }, R))], 2), S.title ? (p(), Q(l(Pe), {
394
+ }, C))], 2), h.title ? (p(), Q(l(Pe), {
398
395
  key: 0,
399
396
  type: "vertical"
400
- })) : X("", !0), y(Xe, {
397
+ })) : X("", !0), g(Ye, {
401
398
  config: e.settings === !0 ? {} : e.settings
402
- }, null, 8, ["config"])], 2)) : h(e.$slots, "title", w({
399
+ }, null, 8, ["config"])], 2)) : b(e.$slots, "title", w({
403
400
  key: 1,
404
- selectedRows: l(C),
405
- selectedRowKeys: l(b).selectedRowKeys,
401
+ selectedRows: l(R),
402
+ selectedRowKeys: l(S).selectedRowKeys,
406
403
  shownColumns: u.value
407
- }, R))], 2), y(l(Ie), w({
404
+ }, C))], 2), g(l(Ie), w({
408
405
  class: l(i)("table")
409
406
  }, j.value, {
410
407
  size: B.value,
411
- "table-layout": ge.value,
408
+ "table-layout": ye.value,
412
409
  columns: u.value,
413
410
  onResizeColumn: t[0] || (t[0] = (o, r) => r.width = o)
414
411
  }), _({
415
- summary: F(() => [h(e.$slots, "summary", {
412
+ summary: F(() => [b(e.$slots, "summary", {
416
413
  columns: u.value,
417
414
  records: j.value.dataSource,
418
- selectedRows: l(C)
415
+ selectedRows: l(R)
419
416
  })]),
420
417
  _: 2
421
- }, [J(l(Z)(S, ["title", "searchFormExtra", "headerCell", "summary"]), (o, r) => ({
418
+ }, [J(l(Z)(h, ["title", "searchFormExtra", "headerCell", "summary"]), (o, r) => ({
422
419
  name: r,
423
- fn: F((d) => [h(e.$slots, r, ke(ze(d || {})))])
420
+ fn: F((d) => [b(e.$slots, r, ke(ze(d || {})))])
424
421
  }))]), 1040, ["class", "size", "table-layout", "columns"])], 6)], 2));
425
422
  }
426
423
  });
427
424
  export {
428
- wa as default
425
+ ba as default
429
426
  };
@@ -2,5 +2,5 @@ import { ApTableIndexProps } from '../interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  declare const _default: DefineComponent<ApTableIndexProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApTableIndexProps> & Readonly<{}>, {
4
4
  bordered: boolean;
5
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
5
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
6
6
  export default _default;
@@ -7,5 +7,5 @@ interface Props {
7
7
  tooltip?: VNodeChild;
8
8
  };
9
9
  }
10
- declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
10
+ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
11
11
  export default _default;
@@ -5,9 +5,10 @@ type TableSettingModalSlots = {
5
5
  trigger?: any;
6
6
  };
7
7
  declare function __VLS_template(): {
8
+ attrs: Partial<{}>;
8
9
  slots: Readonly<TableSettingModalSlots> & TableSettingModalSlots;
9
10
  refs: {};
10
- attrs: Partial<{}>;
11
+ rootEl: any;
11
12
  };
12
13
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
14
  declare const __VLS_component: DefineComponent<ApTableSettingModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApTableSettingModalProps> & Readonly<{}>, {
@@ -1,4 +1,4 @@
1
1
  import { ApTableSettingSelectGroupProps } from '../../interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- declare const _default: DefineComponent<ApTableSettingSelectGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApTableSettingSelectGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
3
+ declare const _default: DefineComponent<ApTableSettingSelectGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApTableSettingSelectGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
1
  import { SortableItemProps } from '../../interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- declare const _default: DefineComponent<SortableItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SortableItemProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
3
+ declare const _default: DefineComponent<SortableItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SortableItemProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
4
4
  export default _default;
@@ -7,5 +7,5 @@ declare const _default: DefineComponent<SortableItemMetaProps, {}, {}, {}, {}, C
7
7
  }, string, PublicProps, Readonly<SortableItemMetaProps> & Readonly<{
8
8
  "onUpdate:open"?: ((open: boolean) => any) | undefined;
9
9
  "onUpdate:value"?: ((open: ApColumnState) => any) | undefined;
10
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
10
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
11
11
  export default _default;
@@ -5,5 +5,5 @@ declare const _default: DefineComponent<ApTableSettingSorterProps, {}, {}, {}, {
5
5
  "update:value": (value: ApColumnState[]) => any;
6
6
  }, string, PublicProps, Readonly<ApTableSettingSorterProps> & Readonly<{
7
7
  "onUpdate:value"?: ((value: ApColumnState[]) => any) | undefined;
8
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
8
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
9
9
  export default _default;
@@ -1,4 +1,4 @@
1
1
  import { ApTableSettingTreeSelectProps } from '../../interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- declare const _default: DefineComponent<ApTableSettingTreeSelectProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApTableSettingTreeSelectProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
3
+ declare const _default: DefineComponent<ApTableSettingTreeSelectProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApTableSettingTreeSelectProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
4
4
  export default _default;
@@ -1290,7 +1290,7 @@ export declare const apTableRenderItemMap: {
1290
1290
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1291
1291
  index: DefineComponent<ApTableIndexProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ApTableIndexProps> & Readonly<{}>, {
1292
1292
  bordered: boolean;
1293
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1293
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1294
1294
  status: DefineComponent<ApTableStatusProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ApTableStatusProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1295
1295
  password: {
1296
1296
  new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ApFieldTextPasswordProps> & Readonly<{