@aplus-frontend/ui 7.2.0 → 7.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (240) hide show
  1. package/es/index.mjs +143 -143
  2. package/es/src/ag-grid/index.vue.mjs +247 -239
  3. package/es/src/ap-form/style/search-form-sorter.mjs +1 -1
  4. package/es/src/ap-grid/index.vue.mjs +197 -197
  5. package/es/src/ap-pro-card/components/statistic-card/index.vue.mjs +122 -2
  6. package/es/src/ap-pro-card/components/statistic-card/index.vue2.mjs +2 -122
  7. package/es/src/ap-pro-card/index.d.ts +1 -1
  8. package/es/src/ap-pro-card/index.mjs +2 -2
  9. package/es/src/ap-pro-card/statistic-card/index.d.ts +2 -0
  10. package/es/src/ap-pro-card/statistic-card/index.mjs +5 -0
  11. package/es/src/ap-table/ap-table.vue2.mjs +190 -190
  12. package/es/src/ap-table/hooks/use-table-column-state.mjs +18 -18
  13. package/es/src/ap-table/style/index.mjs +1 -1
  14. package/es/src/business/ag-grid-modal/hooks/use-modal-title.mjs +16 -13
  15. package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +2 -2
  16. package/es/src/business/ap-attachment/ApAttachment.mjs +2 -2
  17. package/es/src/business/ap-attachment/interface.d.ts +1 -1
  18. package/es/src/{ap-descriptions → business/ap-descriptions}/ap-descriptions.vue.mjs +3 -3
  19. package/es/src/{ap-descriptions → business/ap-descriptions}/help-message/index.vue2.mjs +2 -2
  20. package/es/src/{ap-descriptions → business/ap-descriptions}/style/index.mjs +1 -1
  21. package/es/src/{ap-download → business/ap-download}/ap-download.vue.mjs +3 -3
  22. package/es/src/{ap-download → business/ap-download}/hooks/useStyle.mjs +3 -3
  23. package/es/src/{ap-download → business/ap-download}/style/index.mjs +1 -1
  24. package/es/src/business/ap-label/group/ApLabelGroup.mjs +2 -2
  25. package/es/src/business/ap-label/interface.d.ts +1 -1
  26. package/es/src/{ap-tag → business/ap-tag}/ap-tag-group.vue.mjs +7 -7
  27. package/es/src/{ap-tag → business/ap-tag}/ap-tag.vue.mjs +2 -2
  28. package/es/src/{ap-tag → business/ap-tag}/style/group.d.ts +1 -1
  29. package/es/src/{ap-tag → business/ap-tag}/style/group.mjs +1 -1
  30. package/{lib/src → es/src/business}/ap-tag/style/index.d.ts +1 -1
  31. package/es/src/{ap-tag → business/ap-tag}/style/index.mjs +1 -1
  32. package/es/src/{ap-upload → business/ap-upload}/apUpload.vue.mjs +4 -4
  33. package/es/src/{ap-upload → business/ap-upload}/components/MultipleFile.vue2.mjs +4 -4
  34. package/es/src/{ap-upload → business/ap-upload}/components/Picture.vue2.mjs +3 -3
  35. package/es/src/{ap-upload → business/ap-upload}/components/SingleFile.vue2.mjs +4 -4
  36. package/es/src/{ap-upload → business/ap-upload}/hooks/useOss.d.ts +1 -1
  37. package/es/src/{ap-upload → business/ap-upload}/style/index.mjs +1 -1
  38. package/es/src/business/ap-upload/style/multiple-file.d.ts +2 -0
  39. package/es/src/business/ap-upload/style/picture.d.ts +2 -0
  40. package/es/src/business/ap-upload/style/single-file.d.ts +2 -0
  41. package/{lib/src → es/src/business}/ap-upload/utils/accept.d.ts +1 -1
  42. package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.d.ts +1 -1
  43. package/es/src/business/ap-value-select-card/style/index.mjs +4 -4
  44. package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +2 -2
  45. package/es/src/business/index.d.ts +4 -0
  46. package/es/src/business/index.mjs +58 -54
  47. package/es/src/config-provider/hooks/use-locale.d.ts +2 -2
  48. package/es/src/index.d.ts +0 -4
  49. package/es/src/index.mjs +297 -301
  50. package/es/src/version.d.ts +1 -1
  51. package/es/src/version.mjs +1 -1
  52. package/lib/index.js +1 -1
  53. package/lib/src/ag-grid/index.vue.js +1 -1
  54. package/lib/src/ap-form/style/search-form-sorter.js +1 -1
  55. package/lib/src/ap-grid/index.vue.js +1 -1
  56. package/lib/src/ap-pro-card/components/statistic-card/index.vue.js +1 -1
  57. package/lib/src/ap-pro-card/components/statistic-card/index.vue2.js +1 -1
  58. package/lib/src/ap-pro-card/index.d.ts +1 -1
  59. package/lib/src/ap-pro-card/index.js +1 -1
  60. package/lib/src/ap-pro-card/statistic-card/index.d.ts +2 -0
  61. package/lib/src/ap-pro-card/statistic-card/index.js +1 -0
  62. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  63. package/lib/src/ap-table/hooks/use-table-column-state.js +1 -1
  64. package/lib/src/ap-table/style/index.js +1 -1
  65. package/lib/src/business/ag-grid-modal/hooks/use-modal-title.js +1 -1
  66. package/lib/src/business/ap-appendix/ap-appendix.vue2.js +1 -1
  67. package/lib/src/business/ap-attachment/ApAttachment.js +1 -1
  68. package/lib/src/business/ap-attachment/interface.d.ts +1 -1
  69. package/lib/src/business/ap-descriptions/ap-descriptions.vue.js +1 -0
  70. package/lib/src/business/ap-descriptions/help-message/index.vue2.js +1 -0
  71. package/lib/src/business/ap-descriptions/style/index.js +1 -0
  72. package/lib/src/business/ap-download/ap-download.vue.js +1 -0
  73. package/lib/src/business/ap-download/hooks/useStyle.js +1 -0
  74. package/lib/src/business/ap-download/style/index.js +1 -0
  75. package/lib/src/business/ap-label/group/ApLabelGroup.js +1 -1
  76. package/lib/src/business/ap-label/interface.d.ts +1 -1
  77. package/lib/src/business/ap-tag/ap-tag-group.vue.js +1 -0
  78. package/lib/src/business/ap-tag/ap-tag.vue.js +1 -0
  79. package/lib/src/{ap-tag → business/ap-tag}/style/group.d.ts +1 -1
  80. package/lib/src/business/ap-tag/style/group.js +1 -0
  81. package/{es/src → lib/src/business}/ap-tag/style/index.d.ts +1 -1
  82. package/lib/src/business/ap-tag/style/index.js +1 -0
  83. package/lib/src/business/ap-upload/apUpload.vue.js +1 -0
  84. package/lib/src/business/ap-upload/components/MultipleFile.vue2.js +1 -0
  85. package/lib/src/business/ap-upload/components/Picture.vue2.js +1 -0
  86. package/lib/src/business/ap-upload/components/SingleFile.vue2.js +1 -0
  87. package/lib/src/{ap-upload → business/ap-upload}/hooks/useOss.d.ts +1 -1
  88. package/lib/src/business/ap-upload/style/index.js +1 -0
  89. package/lib/src/business/ap-upload/style/multiple-file.d.ts +2 -0
  90. package/lib/src/business/ap-upload/style/picture.d.ts +2 -0
  91. package/lib/src/business/ap-upload/style/single-file.d.ts +2 -0
  92. package/{es/src → lib/src/business}/ap-upload/utils/accept.d.ts +1 -1
  93. package/lib/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.d.ts +1 -1
  94. package/lib/src/business/ap-value-select-card/style/index.js +1 -1
  95. package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -1
  96. package/lib/src/business/index.d.ts +4 -0
  97. package/lib/src/business/index.js +1 -1
  98. package/lib/src/config-provider/hooks/use-locale.d.ts +2 -2
  99. package/lib/src/index.d.ts +0 -4
  100. package/lib/src/index.js +1 -1
  101. package/lib/src/version.d.ts +1 -1
  102. package/lib/src/version.js +1 -1
  103. package/package.json +4 -3
  104. package/es/src/ap-upload/style/multiple-file.d.ts +0 -2
  105. package/es/src/ap-upload/style/picture.d.ts +0 -2
  106. package/es/src/ap-upload/style/single-file.d.ts +0 -2
  107. package/lib/src/ap-descriptions/ap-descriptions.vue.js +0 -1
  108. package/lib/src/ap-descriptions/help-message/index.vue2.js +0 -1
  109. package/lib/src/ap-descriptions/style/index.js +0 -1
  110. package/lib/src/ap-download/ap-download.vue.js +0 -1
  111. package/lib/src/ap-download/hooks/useStyle.js +0 -1
  112. package/lib/src/ap-download/style/index.js +0 -1
  113. package/lib/src/ap-tag/ap-tag-group.vue.js +0 -1
  114. package/lib/src/ap-tag/ap-tag.vue.js +0 -1
  115. package/lib/src/ap-tag/style/group.js +0 -1
  116. package/lib/src/ap-tag/style/index.js +0 -1
  117. package/lib/src/ap-upload/apUpload.vue.js +0 -1
  118. package/lib/src/ap-upload/components/MultipleFile.vue2.js +0 -1
  119. package/lib/src/ap-upload/components/Picture.vue2.js +0 -1
  120. package/lib/src/ap-upload/components/SingleFile.vue2.js +0 -1
  121. package/lib/src/ap-upload/style/index.js +0 -1
  122. package/lib/src/ap-upload/style/multiple-file.d.ts +0 -2
  123. package/lib/src/ap-upload/style/picture.d.ts +0 -2
  124. package/lib/src/ap-upload/style/single-file.d.ts +0 -2
  125. package/es/src/{ap-descriptions → business/ap-descriptions}/ap-descriptions.vue.d.ts +0 -0
  126. package/es/src/{ap-descriptions → business/ap-descriptions}/ap-descriptions.vue2.mjs +0 -0
  127. package/es/src/{ap-descriptions → business/ap-descriptions}/formatter/index.d.ts +0 -0
  128. package/es/src/{ap-descriptions → business/ap-descriptions}/formatter/index.mjs +0 -0
  129. package/es/src/{ap-descriptions → business/ap-descriptions}/formatter/utils.d.ts +0 -0
  130. package/es/src/{ap-descriptions → business/ap-descriptions}/formatter/utils.mjs +0 -0
  131. package/es/src/{ap-descriptions → business/ap-descriptions}/help-message/index.vue.d.ts +0 -0
  132. package/es/src/{ap-descriptions → business/ap-descriptions}/help-message/index.vue.mjs +0 -0
  133. package/es/src/{ap-descriptions → business/ap-descriptions}/helper.d.ts +0 -0
  134. package/es/src/{ap-descriptions → business/ap-descriptions}/helper.mjs +0 -0
  135. package/es/src/{ap-descriptions → business/ap-descriptions}/index.d.ts +0 -0
  136. package/es/src/{ap-descriptions → business/ap-descriptions}/index.mjs +0 -0
  137. package/es/src/{ap-descriptions → business/ap-descriptions}/interface.d.ts +0 -0
  138. package/es/src/{ap-descriptions → business/ap-descriptions}/interface.mjs +0 -0
  139. package/es/src/{ap-descriptions → business/ap-descriptions}/style/index.d.ts +0 -0
  140. package/es/src/{ap-download → business/ap-download}/ap-download.vue.d.ts +0 -0
  141. package/es/src/{ap-download → business/ap-download}/ap-download.vue2.mjs +0 -0
  142. package/es/src/{ap-download → business/ap-download}/hooks/index.d.ts +0 -0
  143. package/es/src/{ap-download → business/ap-download}/hooks/index.mjs +0 -0
  144. package/es/src/{ap-download → business/ap-download}/hooks/useStyle.d.ts +0 -0
  145. package/es/src/{ap-download → business/ap-download}/index.d.ts +0 -0
  146. package/es/src/{ap-download → business/ap-download}/index.mjs +0 -0
  147. package/es/src/{ap-download → business/ap-download}/interface.d.ts +0 -0
  148. package/es/src/{ap-download → business/ap-download}/interface.mjs +0 -0
  149. package/es/src/{ap-download → business/ap-download}/style/index.d.ts +0 -0
  150. package/es/src/{ap-download → business/ap-download}/utils/getFileInfo.d.ts +0 -0
  151. package/es/src/{ap-download → business/ap-download}/utils/getFileInfo.mjs +0 -0
  152. package/es/src/{ap-tag → business/ap-tag}/ap-tag-group.vue.d.ts +0 -0
  153. package/es/src/{ap-tag → business/ap-tag}/ap-tag-group.vue2.mjs +0 -0
  154. package/es/src/{ap-tag → business/ap-tag}/ap-tag.vue.d.ts +0 -0
  155. package/es/src/{ap-tag → business/ap-tag}/ap-tag.vue2.mjs +0 -0
  156. package/es/src/{ap-tag → business/ap-tag}/index.d.ts +0 -0
  157. package/es/src/{ap-tag → business/ap-tag}/index.mjs +0 -0
  158. package/es/src/{ap-tag → business/ap-tag}/interface.d.ts +0 -0
  159. package/es/src/{ap-tag → business/ap-tag}/interface.mjs +0 -0
  160. package/es/src/{ap-tag → business/ap-tag}/utils.d.ts +0 -0
  161. package/es/src/{ap-tag → business/ap-tag}/utils.mjs +0 -0
  162. package/{lib/src → es/src/business}/ap-upload/apUpload.vue.d.ts +1 -1
  163. package/es/src/{ap-upload → business/ap-upload}/apUpload.vue2.mjs +0 -0
  164. package/es/src/{ap-upload → business/ap-upload}/apUploadTypes.d.ts +0 -0
  165. package/es/src/{ap-upload → business/ap-upload}/apUploadTypes.mjs +0 -0
  166. package/es/src/{ap-upload → business/ap-upload}/assets/single-file-icon.png.mjs +0 -0
  167. package/es/src/{ap-upload → business/ap-upload}/components/MultipleFile.vue.d.ts +0 -0
  168. package/es/src/{ap-upload → business/ap-upload}/components/MultipleFile.vue.mjs +0 -0
  169. package/es/src/{ap-upload → business/ap-upload}/components/Picture.vue.d.ts +0 -0
  170. package/es/src/{ap-upload → business/ap-upload}/components/Picture.vue.mjs +0 -0
  171. package/es/src/{ap-upload → business/ap-upload}/components/SingleFile.vue.d.ts +0 -0
  172. package/es/src/{ap-upload → business/ap-upload}/components/SingleFile.vue.mjs +0 -0
  173. package/es/src/{ap-upload → business/ap-upload}/hooks/useOss.mjs +0 -0
  174. package/es/src/{ap-upload → business/ap-upload}/index.d.ts +0 -0
  175. package/es/src/{ap-upload → business/ap-upload}/index.mjs +0 -0
  176. package/es/src/{ap-upload → business/ap-upload}/style/index.d.ts +0 -0
  177. package/es/src/{ap-upload → business/ap-upload}/style/multiple-file.mjs +0 -0
  178. package/es/src/{ap-upload → business/ap-upload}/style/picture.mjs +0 -0
  179. package/es/src/{ap-upload → business/ap-upload}/style/single-file.mjs +0 -0
  180. package/es/src/{ap-upload → business/ap-upload}/utils/accept.mjs +0 -0
  181. package/es/src/{ap-upload → business/ap-upload}/utils/returnData.d.ts +0 -0
  182. package/es/src/{ap-upload → business/ap-upload}/utils/returnData.mjs +0 -0
  183. package/lib/src/{ap-descriptions → business/ap-descriptions}/ap-descriptions.vue.d.ts +0 -0
  184. package/lib/src/{ap-descriptions → business/ap-descriptions}/ap-descriptions.vue2.js +0 -0
  185. package/lib/src/{ap-descriptions → business/ap-descriptions}/formatter/index.d.ts +0 -0
  186. package/lib/src/{ap-descriptions → business/ap-descriptions}/formatter/index.js +0 -0
  187. package/lib/src/{ap-descriptions → business/ap-descriptions}/formatter/utils.d.ts +0 -0
  188. package/lib/src/{ap-descriptions → business/ap-descriptions}/formatter/utils.js +0 -0
  189. package/lib/src/{ap-descriptions → business/ap-descriptions}/help-message/index.vue.d.ts +0 -0
  190. package/lib/src/{ap-descriptions → business/ap-descriptions}/help-message/index.vue.js +0 -0
  191. package/lib/src/{ap-descriptions → business/ap-descriptions}/helper.d.ts +0 -0
  192. package/lib/src/{ap-descriptions → business/ap-descriptions}/helper.js +0 -0
  193. package/lib/src/{ap-descriptions → business/ap-descriptions}/index.d.ts +0 -0
  194. package/lib/src/{ap-descriptions → business/ap-descriptions}/index.js +0 -0
  195. package/lib/src/{ap-descriptions → business/ap-descriptions}/interface.d.ts +0 -0
  196. package/lib/src/{ap-descriptions → business/ap-descriptions}/interface.js +0 -0
  197. package/lib/src/{ap-descriptions → business/ap-descriptions}/style/index.d.ts +0 -0
  198. package/lib/src/{ap-download → business/ap-download}/ap-download.vue.d.ts +0 -0
  199. package/lib/src/{ap-download → business/ap-download}/ap-download.vue2.js +0 -0
  200. package/lib/src/{ap-download → business/ap-download}/hooks/index.d.ts +0 -0
  201. package/lib/src/{ap-download → business/ap-download}/hooks/index.js +0 -0
  202. package/lib/src/{ap-download → business/ap-download}/hooks/useStyle.d.ts +0 -0
  203. package/lib/src/{ap-download → business/ap-download}/index.d.ts +0 -0
  204. package/lib/src/{ap-download → business/ap-download}/index.js +0 -0
  205. package/lib/src/{ap-download → business/ap-download}/interface.d.ts +0 -0
  206. package/lib/src/{ap-download → business/ap-download}/interface.js +0 -0
  207. package/lib/src/{ap-download → business/ap-download}/style/index.d.ts +0 -0
  208. package/lib/src/{ap-download → business/ap-download}/utils/getFileInfo.d.ts +0 -0
  209. package/lib/src/{ap-download → business/ap-download}/utils/getFileInfo.js +0 -0
  210. package/lib/src/{ap-tag → business/ap-tag}/ap-tag-group.vue.d.ts +0 -0
  211. package/lib/src/{ap-tag → business/ap-tag}/ap-tag-group.vue2.js +0 -0
  212. package/lib/src/{ap-tag → business/ap-tag}/ap-tag.vue.d.ts +0 -0
  213. package/lib/src/{ap-tag → business/ap-tag}/ap-tag.vue2.js +0 -0
  214. package/lib/src/{ap-tag → business/ap-tag}/index.d.ts +0 -0
  215. package/lib/src/{ap-tag → business/ap-tag}/index.js +0 -0
  216. package/lib/src/{ap-tag → business/ap-tag}/interface.d.ts +0 -0
  217. package/lib/src/{ap-tag → business/ap-tag}/interface.js +0 -0
  218. package/lib/src/{ap-tag → business/ap-tag}/utils.d.ts +0 -0
  219. package/lib/src/{ap-tag → business/ap-tag}/utils.js +0 -0
  220. package/{es/src → lib/src/business}/ap-upload/apUpload.vue.d.ts +1 -1
  221. /package/lib/src/{ap-upload → business/ap-upload}/apUpload.vue2.js +0 -0
  222. /package/lib/src/{ap-upload → business/ap-upload}/apUploadTypes.d.ts +0 -0
  223. /package/lib/src/{ap-upload → business/ap-upload}/apUploadTypes.js +0 -0
  224. /package/lib/src/{ap-upload → business/ap-upload}/assets/single-file-icon.png.js +0 -0
  225. /package/lib/src/{ap-upload → business/ap-upload}/components/MultipleFile.vue.d.ts +0 -0
  226. /package/lib/src/{ap-upload → business/ap-upload}/components/MultipleFile.vue.js +0 -0
  227. /package/lib/src/{ap-upload → business/ap-upload}/components/Picture.vue.d.ts +0 -0
  228. /package/lib/src/{ap-upload → business/ap-upload}/components/Picture.vue.js +0 -0
  229. /package/lib/src/{ap-upload → business/ap-upload}/components/SingleFile.vue.d.ts +0 -0
  230. /package/lib/src/{ap-upload → business/ap-upload}/components/SingleFile.vue.js +0 -0
  231. /package/lib/src/{ap-upload → business/ap-upload}/hooks/useOss.js +0 -0
  232. /package/lib/src/{ap-upload → business/ap-upload}/index.d.ts +0 -0
  233. /package/lib/src/{ap-upload → business/ap-upload}/index.js +0 -0
  234. /package/lib/src/{ap-upload → business/ap-upload}/style/index.d.ts +0 -0
  235. /package/lib/src/{ap-upload → business/ap-upload}/style/multiple-file.js +0 -0
  236. /package/lib/src/{ap-upload → business/ap-upload}/style/picture.js +0 -0
  237. /package/lib/src/{ap-upload → business/ap-upload}/style/single-file.js +0 -0
  238. /package/lib/src/{ap-upload → business/ap-upload}/utils/accept.js +0 -0
  239. /package/lib/src/{ap-upload → business/ap-upload}/utils/returnData.d.ts +0 -0
  240. /package/lib/src/{ap-upload → business/ap-upload}/utils/returnData.js +0 -0
@@ -44,7 +44,7 @@ const l = (r) => {
44
44
  maxWidth: a,
45
45
  paddingInline: r.calc(r.searchFormSorterItemGap).div(2).equal(),
46
46
  "> div": {
47
- border: `1px solid ${r.colorBg1}`,
47
+ border: `1px solid ${r.borderColorBase}`,
48
48
  borderRadius: r.borderRadius,
49
49
  padding: "8px",
50
50
  display: "flex",
@@ -1,31 +1,31 @@
1
- import { defineComponent as Je, useSlots as Qe, getCurrentInstance as Ye, ref as F, computed as n, unref as t, toRef as Ze, nextTick as oe, watch as E, createElementBlock as I, openBlock as s, normalizeStyle as _, normalizeClass as m, createCommentVNode as y, createElementVNode as w, createVNode as K, mergeProps as S, createSlots as L, withCtx as c, Fragment as ae, renderList as V, createBlock as d, resolveDynamicComponent as B, renderSlot as O, normalizeProps as et, guardReactiveProps as tt } from "vue";
2
- import { VxeUI as re, VxeTable as ot, VxeColumn as ne } from "vxe-table";
1
+ import { defineComponent as Qe, useSlots as Ye, getCurrentInstance as Ze, ref as y, computed as n, unref as t, toRef as et, nextTick as ae, watch as E, createElementBlock as I, openBlock as s, normalizeStyle as K, normalizeClass as m, createCommentVNode as w, createElementVNode as S, createVNode as L, mergeProps as R, createSlots as V, withCtx as c, Fragment as re, renderList as O, createBlock as d, resolveDynamicComponent as B, renderSlot as D, normalizeProps as tt, guardReactiveProps as ot } from "vue";
2
+ import { VxeUI as ne, VxeTable as at, VxeColumn as le } from "vxe-table";
3
3
  import "vxe-table/es/style.css";
4
- import { isUndefined as R, isFunction as D, isArray as at, omit as rt } from "lodash-unified";
5
- import { ApForm as nt } from "../ap-form/index.mjs";
4
+ import { isUndefined as b, isFunction as $, isArray as rt, omit as nt } from "lodash-unified";
5
+ import { ApForm as lt } from "../ap-form/index.mjs";
6
6
  import "../config-provider/index.mjs";
7
- import { noRenderAsFormItemValueList as lt } from "../ap-table/constants.mjs";
8
- import { getColumnOrder as le, updateFormProps as st, getFieldProps as it, getSearchFormItemRenderNode as dt, recursionApColumns as se } from "../ap-table/utils.mjs";
9
- import { useTablePaging as ut } from "../ap-table/hooks/use-table-paging-ng.mjs";
10
- import { Spin as ct, Empty as ie, Pagination as pt } from "@aplus-frontend/antdv";
11
- import { useInnerParams as ft } from "./hooks/use-inner-params.mjs";
12
- import { toVxeProps as mt, getRowExpandProps as gt, getRowSelectionProps as ht } from "./utils/table.mjs";
13
- import Ct from "./hooks/use-row-selection.mjs";
14
- import { useProvideApTable as vt } from "../ap-table/context.mjs";
15
- import { DEFAULT_ROW_SELECTION_CONFIG as de, sizeReverseMap as yt, sizeMap as wt, ROW_SELECTION_FIELD as St } from "./constants.mjs";
16
- import { useRenderColumns as Rt } from "./hooks/use-render-columns.mjs";
17
- import { useToken as bt } from "@aplus-frontend/antdv/es/theme/internal";
7
+ import { noRenderAsFormItemValueList as st } from "../ap-table/constants.mjs";
8
+ import { getColumnOrder as se, updateFormProps as it, getFieldProps as dt, getSearchFormItemRenderNode as ut, recursionApColumns as ie } from "../ap-table/utils.mjs";
9
+ import { useTablePaging as ct } from "../ap-table/hooks/use-table-paging-ng.mjs";
10
+ import { Spin as pt, Empty as de, Pagination as ft } from "@aplus-frontend/antdv";
11
+ import { useInnerParams as mt } from "./hooks/use-inner-params.mjs";
12
+ import { toVxeProps as gt, getRowExpandProps as ht, getRowSelectionProps as Ct } from "./utils/table.mjs";
13
+ import vt from "./hooks/use-row-selection.mjs";
14
+ import { useProvideApTable as yt } from "../ap-table/context.mjs";
15
+ import { DEFAULT_ROW_SELECTION_CONFIG as ue, sizeReverseMap as wt, sizeMap as St, ROW_SELECTION_FIELD as Rt } from "./constants.mjs";
16
+ import { useRenderColumns as bt } from "./hooks/use-render-columns.mjs";
17
+ import { useToken as xt } from "@aplus-frontend/antdv/es/theme/internal";
18
18
  import "../scroll-bar/index.mjs";
19
- import { isDef as xt } from "../utils/index.mjs";
20
- import { getValidVNodeList as kt } from "../utils/slot.mjs";
21
- import { useTableStyle as Ft } from "./hooks/use-table-style.mjs";
22
- import { useDevWarning as Et } from "../utils/warning.mjs";
23
- import It from "./style/index.mjs";
24
- import { useNamespace as Bt } from "../config-provider/hooks/use-namespace.mjs";
25
- import { useGlobalConfig as ue } from "../config-provider/hooks/use-global-config.mjs";
26
- import { useLocale as Tt } from "../config-provider/hooks/use-locale.mjs";
27
- import Nt from "../scroll-bar/index.vue.mjs";
28
- const lo = /* @__PURE__ */ Je({
19
+ import { isDef as kt } from "../utils/index.mjs";
20
+ import { getValidVNodeList as Ft } from "../utils/slot.mjs";
21
+ import { useTableStyle as Et } from "./hooks/use-table-style.mjs";
22
+ import { useDevWarning as It } from "../utils/warning.mjs";
23
+ import Bt from "./style/index.mjs";
24
+ import { useNamespace as Tt } from "../config-provider/hooks/use-namespace.mjs";
25
+ import { useGlobalConfig as ce } from "../config-provider/hooks/use-global-config.mjs";
26
+ import { useLocale as Nt } from "../config-provider/hooks/use-locale.mjs";
27
+ import Pt from "../scroll-bar/index.vue.mjs";
28
+ const so = /* @__PURE__ */ Qe({
29
29
  name: "ApGrid",
30
30
  __name: "index",
31
31
  props: {
@@ -117,40 +117,40 @@ const lo = /* @__PURE__ */ Je({
117
117
  treeConfig: {},
118
118
  onReady: {}
119
119
  },
120
- setup(ce, { expose: pe }) {
121
- const T = Qe(), o = ce, b = Ye()?.appContext.app;
122
- b && !b.__VXE_PC_UI_INSTALLED__ && (b.use(re), b.__VXE_PC_UI_INSTALLED__ = !0), Et("ApGrid")(
120
+ setup(pe, { expose: fe }) {
121
+ const T = Ye(), o = pe, x = Ze()?.appContext.app;
122
+ x && !x.__VXE_PC_UI_INSTALLED__ && (x.use(ne), x.__VXE_PC_UI_INSTALLED__ = !0), It("ApGrid")(
123
123
  !1,
124
124
  "breaking",
125
125
  "AgGrid has been EOL, Please use AgGrid(https://aplus.aplnk.com/aplus-ui/components/ag-grid/) instead."
126
126
  );
127
- const { e: x, b: u, be: fe } = Bt("ap-grid"), me = It("ap-grid"), ge = ue("valueTypeMap"), he = ue("apGrid"), i = F([]), $ = F([]), l = F(), k = F(o.size), Ce = Ft(), [, ve] = bt(), { t: ye } = Tt();
128
- re.setConfig({
129
- i18n: (e, a) => ye(`ap.${e}`, a)
127
+ const { e: k, b: u, be: me } = Tt("ap-grid"), ge = Bt("ap-grid"), he = ce("valueTypeMap"), Ce = ce("apGrid"), i = y([]), W = y([]), l = y(), F = y(o.size), ve = Et(), [, ye] = xt(), { t: we } = Nt(), N = y(!0);
128
+ ne.setConfig({
129
+ i18n: (e, a) => we(`ap.${e}`, a)
130
130
  });
131
- const { renderConfig: we, updateSignal: Se } = Rt(i);
132
- let W = 0;
131
+ const { renderConfig: Se, updateSignal: Re } = bt(i);
132
+ let G = 0;
133
133
  const C = n(() => {
134
- let e = o.rowSelection || he.value?.rowSelection;
134
+ let e = o.rowSelection || Ce.value?.rowSelection;
135
135
  if (e)
136
- return e === !0 ? de : {
137
- ...de,
136
+ return e === !0 ? ue : {
137
+ ...ue,
138
138
  ...e
139
139
  };
140
- }), Re = n(() => {
140
+ }), be = n(() => {
141
141
  if (l.value)
142
142
  return l.value.$el.querySelector(
143
143
  ".vxe-table--header-inner-wrapper"
144
144
  );
145
- }), G = n(() => (W++, o.columns?.filter(
146
- (e) => !e.hideInSearch && e.dataIndex && (e.valueType || e.customRenderFormItem) && !lt.includes(e.valueType)
145
+ }), M = n(() => (G++, o.columns?.filter(
146
+ (e) => !e.hideInSearch && e.dataIndex && (e.valueType || e.customRenderFormItem) && !st.includes(e.valueType)
147
147
  )?.sort((e, a) => {
148
- let r = le(e.order);
149
- return le(a.order) - r;
148
+ let r = se(e.order);
149
+ return se(a.order) - r;
150
150
  })?.map((e) => {
151
- const a = st(
151
+ const a = it(
152
152
  e,
153
- it(e.fieldProps, {})
153
+ dt(e.fieldProps, {})
154
154
  ), r = {
155
155
  ...e,
156
156
  fieldProps: {
@@ -159,41 +159,41 @@ const lo = /* @__PURE__ */ Je({
159
159
  // tips: 在表格中的查询表单项默认是带边框的
160
160
  bordered: !0,
161
161
  ...a || {},
162
- _signal: W
162
+ _signal: G
163
163
  },
164
164
  renderNode: void 0
165
165
  };
166
- return r.renderNode = dt(
166
+ return r.renderNode = ut(
167
167
  r,
168
- t(ge)
168
+ t(he)
169
169
  ), r;
170
- }) || [])), be = n(() => xt(o.manual) ? o.manual : kt(T.searchFormExtra?.() || []).some((a) => a.type?.name === "ApView")), xe = n(() => [
170
+ }) || [])), xe = n(() => kt(o.manual) ? o.manual : Ft(T.searchFormExtra?.() || []).some((a) => a.type?.name === "ApView")), ke = n(() => [
171
171
  u(),
172
172
  o.card ? null : u("wrapper"),
173
173
  o.adaptive ? u("adaptive") : null,
174
174
  o.sticky ? u("sticky") : null,
175
- me.value
176
- ].filter(Boolean)), M = n(() => se(t(i), (e) => {
175
+ ge.value
176
+ ].filter(Boolean)), j = n(() => ie(t(i), (e) => {
177
177
  if (e.sorter === !0)
178
178
  return e.key || e.dataIndex;
179
- }).filter(Boolean)), j = n(() => se(t(i), (e) => {
179
+ }).filter(Boolean)), q = n(() => ie(t(i), (e) => {
180
180
  if (e.filters && !e.onFilter)
181
181
  return e.key || e.dataIndex;
182
182
  }).filter(Boolean)), {
183
183
  formRef: g,
184
- submit: N,
185
- reset: P,
186
- refresh: q,
184
+ submit: P,
185
+ reset: A,
186
+ refresh: H,
187
187
  data: p,
188
- tableProps: H,
189
- setDataSource: ke,
190
- handleTableChangeOptional: Fe,
191
- getPaging: Ee,
192
- setPaging: Ie,
193
- submitWith: U
194
- } = ut({
188
+ tableProps: U,
189
+ setDataSource: Fe,
190
+ handleTableChangeOptional: Ee,
191
+ getPaging: Ie,
192
+ setPaging: Be,
193
+ submitWith: X
194
+ } = ct({
195
195
  async request(e) {
196
- if (C.value && !C.value.preserveSelectedRowKeys && R(o.dataSource) && z(), !R(o.dataSource)) {
196
+ if (C.value && !C.value.preserveSelectedRowKeys && b(o.dataSource) && !N.value && _(), N.value && (N.value = !1), !b(o.dataSource)) {
197
197
  const r = e.pageSize * (e.current - 1);
198
198
  return {
199
199
  data: (o.pagination === !1 ? o.dataSource : o.dataSource.slice(r, r + e.pageSize)) || [],
@@ -207,54 +207,54 @@ const lo = /* @__PURE__ */ Je({
207
207
  };
208
208
  },
209
209
  namespace: "ap-grid",
210
- filterFields: j,
211
- sortFields: M,
212
- params: Ze(o, "params"),
210
+ filterFields: q,
211
+ sortFields: j,
212
+ params: et(o, "params"),
213
213
  defaultData: o.defaultData,
214
- manual: t(be),
214
+ manual: t(xe),
215
215
  formatParams: o.beforeSearchSubmit,
216
216
  pagination: o.pagination,
217
- onClickReset: Ge,
218
- onAfterRequest: Me
219
- }), { sortChangeEvent: Be, filterChangeEvent: Te, paginationChangeEvent: Ne } = ft(Fe);
220
- vt({
217
+ onClickReset: Me,
218
+ onAfterRequest: je
219
+ }), { sortChangeEvent: Te, filterChangeEvent: Ne, paginationChangeEvent: Pe } = mt(Ee);
220
+ yt({
221
221
  columns: n(() => i.value),
222
- columnsBackup: n(() => $.value),
223
- size: n(() => wt[k.value]),
222
+ columnsBackup: n(() => W.value),
223
+ size: n(() => St[F.value]),
224
224
  updateColumns(e) {
225
225
  i.value = e, o.onShownColumnsChange?.(e);
226
226
  },
227
227
  updateSize(e) {
228
- k.value = yt[e];
228
+ F.value = wt[e];
229
229
  },
230
230
  renderConfig: n(() => ({
231
- className: fe("table-header", "title"),
232
- color: ve.value.colorTextTertiary
231
+ className: me("table-header", "title"),
232
+ color: ye.value.colorTextTertiary
233
233
  })),
234
234
  dataSource: n(() => t(p).records),
235
- getSearchFormValues: J,
236
- setSearchFormValues: X,
237
- submit: N,
238
- submitWith: U,
239
- reset: P,
240
- refresh: q,
241
- getSearchFormSorterItems: Q,
242
- setSearchFormSorterItems: Y,
243
- resetSearchFormSorterItems: Z
235
+ getSearchFormValues: Q,
236
+ setSearchFormValues: J,
237
+ submit: P,
238
+ submitWith: X,
239
+ reset: A,
240
+ refresh: H,
241
+ getSearchFormSorterItems: Y,
242
+ setSearchFormSorterItems: Z,
243
+ resetSearchFormSorterItems: ee
244
244
  });
245
- const Pe = n(
245
+ const Ae = n(
246
246
  () => i.value.some(
247
247
  (e) => e.fixed === "left" || e.fixed === !0
248
248
  ) ? "left" : void 0
249
- ), Ae = n(
250
- () => R(o.loading) ? p.loading : o.loading
251
249
  ), ze = n(
252
- () => R(o.dataSource) ? p.records : o.dataSource
253
- ), { selectedRows: A, rowSelection: h, ...v } = Ct({
250
+ () => b(o.loading) ? p.loading : o.loading
251
+ ), _e = n(
252
+ () => b(o.dataSource) ? p.records : o.dataSource
253
+ ), { selectedRows: z, rowSelection: h, ...v } = vt({
254
254
  ...C.value,
255
- dataSource: ze,
255
+ dataSource: _e,
256
256
  rowKey: o.rowKey
257
- }), _e = ({
257
+ }), Ke = ({
258
258
  checked: e
259
259
  }) => {
260
260
  const a = l.value;
@@ -263,7 +263,7 @@ const lo = /* @__PURE__ */ Je({
263
263
  a.getCheckboxRecords(),
264
264
  a.getCheckboxReserveRecords()
265
265
  );
266
- }, Ke = ({
266
+ }, Le = ({
267
267
  checked: e
268
268
  }) => {
269
269
  const a = l.value;
@@ -271,92 +271,92 @@ const lo = /* @__PURE__ */ Je({
271
271
  ...a.getCheckboxReserveRecords(),
272
272
  ...a.getCheckboxRecords()
273
273
  ]);
274
- }, Le = () => {
274
+ }, Ve = () => {
275
275
  const e = l.value;
276
276
  e && v.selectRangeChange(e.getCheckboxRecords(), [
277
277
  ...e.getCheckboxReserveRecords(),
278
278
  ...e.getCheckboxRecords()
279
279
  ]);
280
- }, Ve = () => {
280
+ }, Oe = () => {
281
281
  const e = l.value;
282
- e && (A.value = [e.getRadioRecord()]);
283
- }, Oe = ({
282
+ e && (z.value = [e.getRadioRecord()]);
283
+ }, De = ({
284
284
  row: e
285
285
  }) => {
286
286
  const a = o.rowHighlightable;
287
- D(a) && a(e);
287
+ $(a) && a(e);
288
288
  };
289
- function De() {
289
+ function $e() {
290
290
  return o.columns?.filter((e) => !e.hideInTable) || [];
291
291
  }
292
- function X(e) {
292
+ function J(e) {
293
293
  g.value?.apForm?.setFieldsValue?.(e);
294
294
  }
295
- function J(e = !1) {
295
+ function Q(e = !1) {
296
296
  const a = e ? "getFieldsValueTransformed" : "getFieldsValue";
297
297
  return g.value?.apForm?.[a]?.(!0);
298
298
  }
299
- function Q() {
299
+ function Y() {
300
300
  return g.value?.getSorterItems() || [];
301
301
  }
302
- function Y(e) {
302
+ function Z(e) {
303
303
  g.value?.setSorterItems(e);
304
304
  }
305
- function Z() {
305
+ function ee() {
306
306
  g.value?.resetSorterItems();
307
307
  }
308
- function z() {
308
+ function _() {
309
309
  v.clearAll();
310
310
  const e = l.value;
311
311
  e && (h.value.type === "radio" ? (e.clearRadioRow(), e.clearRadioReserve()) : (e.clearCheckboxRow(), e.clearCheckboxReserve()));
312
312
  }
313
- function $e(e) {
314
- D(o.rowKey) || (v.selectMultiByKeys(e), ee());
315
- }
316
313
  function We(e) {
314
+ $(o.rowKey) || (v.selectMultiByKeys(e), te());
315
+ }
316
+ function Ge(e) {
317
317
  const a = l.value;
318
318
  if (!a)
319
319
  return;
320
320
  const r = String(e[o.rowKey]), f = a.getRowById(r);
321
321
  a.setCurrentRow(f);
322
322
  }
323
- function Ge() {
323
+ function Me() {
324
324
  const e = l.value;
325
325
  e && (e.clearSort(), e.clearFilter());
326
326
  }
327
- function ee() {
328
- oe(() => {
327
+ function te() {
328
+ ae(() => {
329
329
  h.value.type === "radio" ? l.value?.setRadioRowKey(h.value.selectedRowKeys[0]) : l.value?.setCheckboxRowKey(
330
330
  h.value.selectedRowKeys,
331
331
  !0
332
332
  );
333
333
  });
334
334
  }
335
- function Me(e) {
336
- ee(), o.onReady && oe(() => {
335
+ function je(e) {
336
+ te(), o.onReady && ae(() => {
337
337
  o.onReady(e);
338
338
  });
339
339
  }
340
- async function je(e, a) {
340
+ async function qe(e, a) {
341
341
  const r = p.records[e];
342
342
  if (r)
343
343
  return l.value?.scrollToRow(r, a);
344
344
  }
345
- const qe = (e) => D(o.rowKey) ? o.rowKey(e) : e[o.rowKey];
346
- async function He(e, a = !0) {
345
+ const He = (e) => $(o.rowKey) ? o.rowKey(e) : e[o.rowKey];
346
+ async function Ue(e, a = !0) {
347
347
  const r = l.value;
348
348
  if (!r)
349
349
  return;
350
- const f = at(e) ? e : [e], Ue = (r.getData() || []).filter(
351
- (Xe) => f.includes(qe(Xe))
350
+ const f = rt(e) ? e : [e], Xe = (r.getData() || []).filter(
351
+ (Je) => f.includes(He(Je))
352
352
  );
353
- r.setRowExpand(Ue, a);
353
+ r.setRowExpand(Xe, a);
354
354
  }
355
355
  return E(
356
356
  () => [o.columnResizable, o.columns],
357
357
  () => {
358
- const e = De();
359
- i.value = e, o.onShownColumnsChange?.(e), $.value = e;
358
+ const e = $e();
359
+ i.value = e, o.onShownColumnsChange?.(e), W.value = e;
360
360
  },
361
361
  {
362
362
  deep: !0,
@@ -365,7 +365,7 @@ const lo = /* @__PURE__ */ Je({
365
365
  ), E(
366
366
  () => o.dataSource,
367
367
  (e) => {
368
- ke(e);
368
+ Fe(e);
369
369
  },
370
370
  { immediate: !0, deep: !0 }
371
371
  ), E(
@@ -376,49 +376,49 @@ const lo = /* @__PURE__ */ Je({
376
376
  ), E(
377
377
  () => o.size,
378
378
  (e) => {
379
- k.value = e;
379
+ F.value = e;
380
380
  }
381
- ), pe({
382
- submit: N,
383
- reset: P,
384
- refresh: q,
385
- submitWith: U,
386
- setSearchFormValues: X,
387
- getSearchFormValues: J,
381
+ ), fe({
382
+ submit: P,
383
+ reset: A,
384
+ refresh: H,
385
+ submitWith: X,
386
+ setSearchFormValues: J,
387
+ getSearchFormValues: Q,
388
388
  getShowColumns: () => t(i),
389
389
  rowSelection: {
390
- selectedRows: n(() => A.value),
391
- setSelectedRowKeys: $e,
392
- clearAll: z
390
+ selectedRows: n(() => z.value),
391
+ setSelectedRowKeys: We,
392
+ clearAll: _
393
393
  },
394
- scrollToRow: je,
394
+ scrollToRow: qe,
395
395
  getDataSource: () => t(p.records),
396
- setCurrentRow: We,
397
- getPaging: Ee,
398
- setPaging: Ie,
399
- getSearchFormSorterItems: Q,
400
- setSearchFormSorterItems: Y,
401
- resetSearchFormSorterItems: Z,
402
- setRowExpand: He
396
+ setCurrentRow: Ge,
397
+ getPaging: Ie,
398
+ setPaging: Be,
399
+ getSearchFormSorterItems: Y,
400
+ setSearchFormSorterItems: Z,
401
+ resetSearchFormSorterItems: ee,
402
+ setRowExpand: Ue
403
403
  }), (e, a) => (s(), I("div", {
404
- class: m(xe.value),
405
- style: _(e.wrapperStyle)
404
+ class: m(ke.value),
405
+ style: K(e.wrapperStyle)
406
406
  }, [
407
- t(R)(e.dataSource) && e.searchForm !== !1 && G.value.length > 0 ? (s(), I("div", {
407
+ t(b)(e.dataSource) && e.searchForm !== !1 && M.value.length > 0 ? (s(), I("div", {
408
408
  key: 0,
409
- class: m(e.card ? t(x)("search-wrapper") : null),
410
- style: _(e.searchFormWrapperStyle)
409
+ class: m(e.card ? t(k)("search-wrapper") : null),
410
+ style: K(e.searchFormWrapperStyle)
411
411
  }, [
412
- K(t(nt).SearchForm, S(e.searchForm || {}, {
412
+ L(t(lt).SearchForm, R(e.searchForm || {}, {
413
413
  ref_key: "formRef",
414
414
  ref: g,
415
415
  "custom-reset": "",
416
- "submit-loading": t(H).loading,
417
- onSubmit: t(N),
418
- onReset: t(P)
419
- }), L({
416
+ "submit-loading": t(U).loading,
417
+ onSubmit: t(P),
418
+ onReset: t(A)
419
+ }), V({
420
420
  default: c(() => [
421
- (s(!0), I(ae, null, V(G.value, (r) => (s(), d(B(r.renderNode), {
421
+ (s(!0), I(re, null, O(M.value, (r) => (s(), d(B(r.renderNode), {
422
422
  key: r.dataIndex
423
423
  }))), 128))
424
424
  ]),
@@ -427,66 +427,66 @@ const lo = /* @__PURE__ */ Je({
427
427
  T.searchFormExtra ? {
428
428
  name: "extra",
429
429
  fn: c(() => [
430
- O(e.$slots, "searchFormExtra")
430
+ D(e.$slots, "searchFormExtra")
431
431
  ]),
432
432
  key: "0"
433
433
  } : void 0
434
434
  ]), 1040, ["submit-loading", "onSubmit", "onReset"])
435
- ], 6)) : y("", !0),
436
- w("div", {
437
- class: m([t(x)("table-wrapper"), e.card ? t(x)("table-wrapper-card") : null]),
438
- style: _(e.tableWrapperStyle)
435
+ ], 6)) : w("", !0),
436
+ S("div", {
437
+ class: m([t(k)("table-wrapper"), e.card ? t(k)("table-wrapper-card") : null]),
438
+ style: K(e.tableWrapperStyle)
439
439
  }, [
440
- w("div", {
440
+ S("div", {
441
441
  class: m(t(u)("header-wrapper"))
442
442
  }, [
443
- O(e.$slots, "title", {
444
- selectedRows: t(A),
443
+ D(e.$slots, "title", {
444
+ selectedRows: t(z),
445
445
  selectedRowKeys: t(h).selectedRowKeys,
446
446
  shownColumns: i.value,
447
- clearAll: z
447
+ clearAll: _
448
448
  })
449
449
  ], 2),
450
- w("div", {
450
+ S("div", {
451
451
  class: m(t(u)("vxe-wrapper"))
452
452
  }, [
453
- (s(), d(t(ot), S(t(mt)(o, C.value), {
453
+ (s(), d(t(at), R(t(gt)(o, C.value), {
454
454
  ref_key: "tableRef",
455
455
  ref: l,
456
- key: t(Se),
456
+ key: t(Re),
457
457
  data: t(p).records,
458
458
  "sort-config": {
459
- remote: M.value.length > 0,
459
+ remote: j.value.length > 0,
460
460
  trigger: "cell"
461
461
  },
462
462
  "filter-config": {
463
- remote: j.value.length > 0
463
+ remote: q.value.length > 0
464
464
  },
465
- loading: Ae.value,
466
- style: t(Ce),
467
- size: k.value,
468
- onSortChange: t(Be),
469
- onFilterChange: t(Te),
470
- onCheckboxChange: _e,
471
- onCheckboxRangeChange: Le,
472
- onCheckboxAll: Ke,
473
- onRadioChange: Ve,
474
- onCurrentRowChange: Oe
475
- }), L({
465
+ loading: ze.value,
466
+ style: t(ve),
467
+ size: F.value,
468
+ onSortChange: t(Te),
469
+ onFilterChange: t(Ne),
470
+ onCheckboxChange: Ke,
471
+ onCheckboxRangeChange: Ve,
472
+ onCheckboxAll: Le,
473
+ onRadioChange: Oe,
474
+ onCurrentRowChange: De
475
+ }), V({
476
476
  empty: c(() => [
477
- K(t(ie), {
478
- image: t(ie).PRESENTED_IMAGE_SIMPLE
477
+ L(t(de), {
478
+ image: t(de).PRESENTED_IMAGE_SIMPLE
479
479
  }, null, 8, ["image"])
480
480
  ]),
481
481
  loading: c(() => [
482
- w("div", {
483
- class: m(t(x)("table-loading-wrapper"))
482
+ S("div", {
483
+ class: m(t(k)("table-loading-wrapper"))
484
484
  }, [
485
- K(t(ct))
485
+ L(t(pt))
486
486
  ], 2)
487
487
  ]),
488
488
  default: c(() => [
489
- o.expandable && i.value.length ? (s(), d(t(ne), S({ key: 0 }, t(gt)(e.expandable), { fixed: Pe.value }), L({
489
+ o.expandable && i.value.length ? (s(), d(t(le), R({ key: 0 }, t(ht)(e.expandable), { fixed: Ae.value }), V({
490
490
  content: c((r) => [
491
491
  (s(), d(B(o.expandable.renderContent(r))))
492
492
  ]),
@@ -504,49 +504,49 @@ const lo = /* @__PURE__ */ Je({
504
504
  ]),
505
505
  key: "0"
506
506
  } : void 0
507
- ]), 1040, ["fixed"])) : y("", !0),
508
- C.value && i.value.length ? (s(), d(t(ne), S(
507
+ ]), 1040, ["fixed"])) : w("", !0),
508
+ C.value && i.value.length ? (s(), d(t(le), R(
509
509
  { key: 1 },
510
- t(ht)(t(h), i.value, o.size),
510
+ t(Ct)(t(h), i.value, o.size),
511
511
  {
512
512
  resizable: !1,
513
- field: t(St)
513
+ field: t(Rt)
514
514
  }
515
- ), null, 16, ["field"])) : y("", !0),
516
- (s(!0), I(ae, null, V(t(we), (r) => (s(), d(B(r), {
515
+ ), null, 16, ["field"])) : w("", !0),
516
+ (s(!0), I(re, null, O(t(Se), (r) => (s(), d(B(r), {
517
517
  key: r.props.colId
518
518
  }))), 128))
519
519
  ]),
520
520
  _: 2
521
521
  }, [
522
- V(t(rt)(T, ["searchFormExtra"]), (r, f) => ({
522
+ O(t(nt)(T, ["searchFormExtra"]), (r, f) => ({
523
523
  name: f,
524
- fn: c((te) => [
525
- O(e.$slots, f, et(tt(te || {})))
524
+ fn: c((oe) => [
525
+ D(e.$slots, f, tt(ot(oe || {})))
526
526
  ])
527
527
  }))
528
528
  ]), 1040, ["data", "sort-config", "filter-config", "loading", "style", "size", "onSortChange", "onFilterChange"]))
529
529
  ], 2),
530
- w("div", {
530
+ S("div", {
531
531
  class: m(t(u)("pagination-wrapper"))
532
532
  }, [
533
- e.sticky ? (s(), d(t(Nt), {
533
+ e.sticky ? (s(), d(t(Pt), {
534
534
  key: 0,
535
535
  direction: "horizontal",
536
- "scroll-container": Re.value,
536
+ "scroll-container": be.value,
537
537
  "extra-size": -4.2,
538
538
  "bar-color": "var(--scrollbar-thumb-color-base)",
539
539
  "track-color": "var(--table-header-bg, #f2f6f9)"
540
- }, null, 8, ["scroll-container"])) : y("", !0),
541
- e.pagination !== !1 ? (s(), d(t(pt), S({
540
+ }, null, 8, ["scroll-container"])) : w("", !0),
541
+ e.pagination !== !1 ? (s(), d(t(ft), R({
542
542
  key: 1,
543
543
  class: t(u)("pagination")
544
- }, t(H).pagination, { onChange: t(Ne) }), null, 16, ["class", "onChange"])) : y("", !0)
544
+ }, t(U).pagination, { onChange: t(Pe) }), null, 16, ["class", "onChange"])) : w("", !0)
545
545
  ], 2)
546
546
  ], 6)
547
547
  ], 6));
548
548
  }
549
549
  });
550
550
  export {
551
- lo as default
551
+ so as default
552
552
  };