@aplus-frontend/ui 0.5.16 → 0.5.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 (242) hide show
  1. package/es/src/ap-action/group/index.vue.mjs +3 -3
  2. package/es/src/ap-action/item/index.vue2.mjs +5 -5
  3. package/es/src/ap-action/item-dropdown/index.vue.mjs +7 -7
  4. package/es/src/ap-action/item-modal/index.vue.mjs +2 -2
  5. package/es/src/ap-action/item-popconfirm/index.vue.mjs +2 -2
  6. package/es/src/ap-button/ap-action-button.vue.mjs +2 -2
  7. package/es/src/ap-button/ap-button.vue.mjs +2 -2
  8. package/es/src/ap-button/ap-confirm-button.vue.mjs +2 -2
  9. package/es/src/ap-descriptions/ap-descriptions.vue.mjs +4 -4
  10. package/es/src/ap-descriptions/help-message/index.vue2.mjs +4 -4
  11. package/es/src/ap-download/ap-download.vue.mjs +1 -1
  12. package/es/src/ap-field/checkbox/index.vue.mjs +1 -1
  13. package/es/src/ap-field/date/index.vue.mjs +4 -4
  14. package/es/src/ap-field/date-range/index.vue.mjs +8 -8
  15. package/es/src/ap-field/index.mjs +30 -30
  16. package/es/src/ap-field/number/index.vue.mjs +8 -8
  17. package/es/src/ap-field/radio/index.vue.mjs +1 -1
  18. package/es/src/ap-field/rate/index.vue.mjs +2 -2
  19. package/es/src/ap-field/segmented/index.vue.mjs +1 -1
  20. package/es/src/ap-field/select/index.vue.mjs +2 -2
  21. package/es/src/ap-field/select/use-select-options.d.ts +2 -2
  22. package/es/src/ap-field/slider/index.vue.mjs +4 -4
  23. package/es/src/ap-field/switch/index.vue.mjs +3 -3
  24. package/es/src/ap-field/text/index.vue2.mjs +2 -2
  25. package/es/src/ap-field/text/password.vue.mjs +2 -2
  26. package/es/src/ap-field/text-area/index.vue.mjs +3 -3
  27. package/es/src/ap-form/ap-form.vue.d.ts +2 -1
  28. package/es/src/ap-form/ap-form.vue2.mjs +2 -2
  29. package/es/src/ap-form/drawer-form/index.vue.d.ts +4 -3
  30. package/es/src/ap-form/drawer-form/index.vue.mjs +9 -9
  31. package/es/src/ap-form/item/index.vue.mjs +7 -7
  32. package/es/src/ap-form/item-group/index.vue.mjs +3 -3
  33. package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
  34. package/es/src/ap-form/items/date/index.vue.mjs +2 -2
  35. package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
  36. package/es/src/ap-form/items/number/index.vue.mjs +2 -2
  37. package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
  38. package/es/src/ap-form/items/select/index.vue.mjs +2 -2
  39. package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
  40. package/es/src/ap-form/items/text/group.vue2.mjs +2 -2
  41. package/es/src/ap-form/items/text/index.vue2.mjs +2 -2
  42. package/es/src/ap-form/items/text/password.vue.mjs +2 -2
  43. package/es/src/ap-form/items/text-area/index.vue.mjs +2 -2
  44. package/es/src/ap-form/modal-form/index.vue.d.ts +4 -3
  45. package/es/src/ap-form/modal-form/index.vue.mjs +7 -7
  46. package/es/src/ap-form/render/item.vue.mjs +2 -2
  47. package/es/src/ap-form/search-form/index.vue.d.ts +4 -3
  48. package/es/src/ap-form/search-form/index.vue.mjs +1 -1
  49. package/es/src/ap-form/set/index.vue.mjs +1 -1
  50. package/es/src/ap-grid/editable/form-item.vue.d.ts +4 -2
  51. package/es/src/ap-grid/editable/form-item.vue.mjs +2 -2
  52. package/es/src/ap-grid/editable/index.vue.d.ts +4 -2
  53. package/es/src/ap-grid/editable/index.vue.mjs +2 -2
  54. package/es/src/ap-grid/hooks/use-inner-params.mjs +3 -3
  55. package/es/src/ap-grid/index.vue.d.ts +4 -2
  56. package/es/src/ap-grid/index.vue.mjs +110 -109
  57. package/es/src/ap-grid/interface.d.ts +10 -0
  58. package/es/src/ap-grid/utils/table.mjs +39 -32
  59. package/es/src/ap-info-layout/ApInfoLayout.vue.mjs +2 -2
  60. package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue2.mjs +2 -2
  61. package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue2.mjs +1 -1
  62. package/es/src/ap-list/index.vue.d.ts +4 -2
  63. package/es/src/ap-list/index.vue.mjs +4 -4
  64. package/es/src/ap-modal/utils/confirm.d.ts +1 -1
  65. package/es/src/ap-table/ap-table.vue.d.ts +4 -2
  66. package/es/src/ap-table/ap-table.vue2.mjs +26 -26
  67. package/es/src/ap-table/components/dynamic-component/index.vue2.mjs +2 -2
  68. package/es/src/ap-table/components/index/index.vue2.mjs +2 -2
  69. package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +3 -3
  70. package/es/src/ap-table/components/setting/modal/index.vue2.mjs +3 -3
  71. package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +1 -1
  72. package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +1 -1
  73. package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +1 -1
  74. package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +11 -11
  75. package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
  76. package/es/src/ap-table/components/status/index.vue2.mjs +2 -2
  77. package/es/src/ap-table/constants.mjs +40 -40
  78. package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  79. package/es/src/ap-table/hooks/use-table-column-state.mjs +3 -3
  80. package/es/src/ap-table/utils.mjs +27 -26
  81. package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -8
  82. package/es/src/ap-tag/ap-tag.vue.mjs +2 -2
  83. package/es/src/ap-upload/apUpload.vue.mjs +5 -5
  84. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  85. package/es/src/ap-upload/components/MultipleFile.vue2.mjs +3 -3
  86. package/es/src/ap-upload/components/Picture.vue.d.ts +7 -2
  87. package/es/src/ap-upload/components/Picture.vue2.mjs +6 -6
  88. package/es/src/ap-upload/components/SingleFile.vue2.mjs +7 -7
  89. package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +1 -1
  90. package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +2 -2
  91. package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +2 -2
  92. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +10 -10
  93. package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +1 -1
  94. package/es/src/business/ap-batch-action-group/index.d.ts +3 -3
  95. package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
  96. package/es/src/business/ap-card/ApCard.vue2.mjs +7 -7
  97. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
  98. package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +11 -11
  99. package/es/src/business/ap-expand-alert/index.d.ts +6 -4
  100. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +9 -9
  101. package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +5 -5
  102. package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +4 -4
  103. package/es/src/business/ap-group-search/images/icon-down.vue.mjs +2 -2
  104. package/es/src/business/ap-group-search/images/icon-line-select.vue.mjs +2 -2
  105. package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +2 -2
  106. package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
  107. package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +2 -2
  108. package/es/src/business/ap-ladder/ApLadder.vue.d.ts +2 -14
  109. package/es/src/business/ap-ladder/ApLadder.vue2.mjs +64 -266
  110. package/es/src/business/ap-ladder/components/SimpleMode.vue.d.ts +110 -0
  111. package/es/src/business/ap-ladder/components/SimpleMode.vue.mjs +4 -0
  112. package/es/src/business/ap-ladder/components/SimpleMode.vue2.mjs +119 -0
  113. package/es/src/business/ap-ladder/components/ValueGroupMode.vue.d.ts +118 -0
  114. package/es/src/business/ap-ladder/components/ValueGroupMode.vue.mjs +4 -0
  115. package/es/src/business/ap-ladder/components/ValueGroupMode.vue2.mjs +213 -0
  116. package/es/src/business/ap-ladder/index.d.ts +4 -35
  117. package/es/src/business/ap-ladder/interface.d.ts +26 -0
  118. package/es/src/business/ap-ladder/useWatchEllipsis.d.ts +1 -2
  119. package/es/src/business/ap-ladder/useWatchEllipsis.origin.d.ts +3 -0
  120. package/es/src/business/ap-ladder/utils.d.ts +2 -0
  121. package/es/src/business/ap-ladder/utils.mjs +5 -0
  122. package/es/src/business/ap-select-layout/index.d.ts +4 -2
  123. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
  124. package/es/src/business/ap-select-layout/select-layout.vue2.mjs +4 -4
  125. package/es/src/business/ap-status/ApStatus.vue2.mjs +8 -8
  126. package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +4 -4
  127. package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
  128. package/es/src/business/ap-table-modal/hooks/use-create-table-modal.mjs +1 -1
  129. package/es/src/business/ap-table-modal/interface.d.ts +1 -1
  130. package/es/src/business/ap-table-modal/modal-title.vue2.mjs +3 -3
  131. package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +20 -21
  132. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +17 -17
  133. package/es/src/business/ap-title/ApTitle.vue2.mjs +7 -7
  134. package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +1 -1
  135. package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +2 -2
  136. package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +2 -2
  137. package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
  138. package/es/src/business/batch-input-group/index.vue.mjs +1 -1
  139. package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
  140. package/es/src/check-card/index.vue2.mjs +3 -3
  141. package/es/src/config-provider/hooks/use-namespace.d.ts +1 -5
  142. package/es/src/editable-table/form-item.vue.d.ts +4 -2
  143. package/es/src/editable-table/form-item.vue.mjs +2 -2
  144. package/es/src/editable-table/index.vue.d.ts +4 -2
  145. package/es/src/editable-table/index.vue.mjs +2 -2
  146. package/es/src/full-screen/index.vue.mjs +3 -3
  147. package/es/src/hooks/useFullScreen.mjs +5 -5
  148. package/es/src/mask/index.vue.mjs +10 -10
  149. package/es/src/mask/style/css.d.ts +0 -0
  150. package/es/src/mask/style/css.js +1 -0
  151. package/es/src/mask/style/index.d.ts +0 -0
  152. package/es/src/mask/style/index.js +1 -0
  153. package/es/src/path-map.mjs +3 -1
  154. package/es/src/portal/index.vue.mjs +2 -2
  155. package/es/src/scroll-bar/index.vue.mjs +3 -3
  156. package/es/src/scroll-bar/internal.vue.mjs +2 -2
  157. package/es/src/scroll-view/index.vue.d.ts +5 -5
  158. package/es/src/scroll-view/index.vue.mjs +9 -9
  159. package/es/src/tests/wrapper.d.ts +4 -4
  160. package/es/src/text/group.vue.mjs +2 -2
  161. package/es/src/text/index.vue.mjs +4 -4
  162. package/es/src/text/style/css.d.ts +0 -0
  163. package/es/src/text/style/css.js +2 -0
  164. package/es/src/text/style/index.d.ts +0 -0
  165. package/es/src/text/style/index.js +2 -0
  166. package/es/src/work-order-modal/help-message.vue2.mjs +2 -2
  167. package/es/src/work-order-modal/work-order-modal.vue.d.ts +3 -2
  168. package/es/src/work-order-modal/work-order-modal.vue.mjs +2 -2
  169. package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
  170. package/lib/src/ap-field/index.js +1 -1
  171. package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
  172. package/lib/src/ap-form/ap-form.vue.d.ts +2 -1
  173. package/lib/src/ap-form/drawer-form/index.vue.d.ts +4 -3
  174. package/lib/src/ap-form/modal-form/index.vue.d.ts +4 -3
  175. package/lib/src/ap-form/search-form/index.vue.d.ts +4 -3
  176. package/lib/src/ap-grid/editable/form-item.vue.d.ts +4 -2
  177. package/lib/src/ap-grid/editable/index.vue.d.ts +4 -2
  178. package/lib/src/ap-grid/index.vue.d.ts +4 -2
  179. package/lib/src/ap-grid/index.vue.js +1 -1
  180. package/lib/src/ap-grid/interface.d.ts +10 -0
  181. package/lib/src/ap-grid/utils/table.js +1 -1
  182. package/lib/src/ap-list/index.vue.d.ts +4 -2
  183. package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
  184. package/lib/src/ap-table/ap-table.vue.d.ts +4 -2
  185. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  186. package/lib/src/ap-table/constants.js +1 -1
  187. package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  188. package/lib/src/ap-table/utils.js +1 -1
  189. package/lib/src/ap-upload/apUpload.vue.js +1 -1
  190. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  191. package/lib/src/ap-upload/components/Picture.vue.d.ts +7 -2
  192. package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
  193. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
  194. package/lib/src/business/ap-expand-alert/index.d.ts +6 -4
  195. package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +2 -14
  196. package/lib/src/business/ap-ladder/ApLadder.vue2.js +1 -1
  197. package/lib/src/business/ap-ladder/components/SimpleMode.vue.d.ts +110 -0
  198. package/lib/src/business/ap-ladder/components/SimpleMode.vue.js +1 -0
  199. package/lib/src/business/ap-ladder/components/SimpleMode.vue2.js +1 -0
  200. package/lib/src/business/ap-ladder/components/ValueGroupMode.vue.d.ts +118 -0
  201. package/lib/src/business/ap-ladder/components/ValueGroupMode.vue.js +1 -0
  202. package/lib/src/business/ap-ladder/components/ValueGroupMode.vue2.js +1 -0
  203. package/lib/src/business/ap-ladder/index.d.ts +4 -35
  204. package/lib/src/business/ap-ladder/interface.d.ts +26 -0
  205. package/lib/src/business/ap-ladder/useWatchEllipsis.d.ts +1 -2
  206. package/lib/src/business/ap-ladder/useWatchEllipsis.origin.d.ts +3 -0
  207. package/lib/src/business/ap-ladder/utils.d.ts +2 -0
  208. package/lib/src/business/ap-ladder/utils.js +1 -0
  209. package/lib/src/business/ap-select-layout/index.d.ts +4 -2
  210. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
  211. package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.js +1 -1
  212. package/lib/src/business/ap-table-modal/interface.d.ts +1 -1
  213. package/lib/src/business/ap-table-modal/modal-title.vue2.js +1 -1
  214. package/lib/src/business/ap-table-modal/table-layout/index.vue2.js +1 -1
  215. package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
  216. package/lib/src/config-provider/hooks/use-namespace.d.ts +1 -5
  217. package/lib/src/editable-table/form-item.vue.d.ts +4 -2
  218. package/lib/src/editable-table/index.vue.d.ts +4 -2
  219. package/lib/src/mask/style/css.cjs +1 -0
  220. package/lib/src/mask/style/css.d.ts +0 -0
  221. package/lib/src/mask/style/index.cjs +1 -0
  222. package/lib/src/mask/style/index.d.ts +0 -0
  223. package/lib/src/path-map.js +1 -1
  224. package/lib/src/scroll-view/index.vue.d.ts +5 -5
  225. package/lib/src/tests/wrapper.d.ts +4 -4
  226. package/lib/src/text/style/css.cjs +2 -0
  227. package/lib/src/text/style/css.d.ts +0 -0
  228. package/lib/src/text/style/index.cjs +2 -0
  229. package/lib/src/text/style/index.d.ts +0 -0
  230. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +3 -2
  231. package/package.json +3 -3
  232. package/theme/ap-ladder/ap-ladder.css +28 -1
  233. package/theme/ap-ladder/ap-ladder.less +32 -1
  234. package/theme/index.css +28 -1
  235. package/es/src/business/ap-ladder/HelpMessageIcon.vue.d.ts +0 -14
  236. package/es/src/business/ap-ladder/HelpMessageIcon.vue.mjs +0 -4
  237. package/es/src/business/ap-ladder/HelpMessageIcon.vue2.mjs +0 -35
  238. package/es/src/business/ap-ladder/useWatchEllipsis.mjs +0 -35
  239. package/lib/src/business/ap-ladder/HelpMessageIcon.vue.d.ts +0 -14
  240. package/lib/src/business/ap-ladder/HelpMessageIcon.vue.js +0 -1
  241. package/lib/src/business/ap-ladder/HelpMessageIcon.vue2.js +0 -1
  242. package/lib/src/business/ap-ladder/useWatchEllipsis.js +0 -1
@@ -1,20 +1,20 @@
1
- import { defineComponent as ke, useSlots as Fe, getCurrentInstance as Be, ref as R, computed as n, unref as o, watch as N, createElementBlock as k, openBlock as s, normalizeStyle as z, normalizeClass as f, createCommentVNode as C, createElementVNode as F, createVNode as q, mergeProps as g, createSlots as U, withCtx as v, Fragment as G, renderList as T, createBlock as u, resolveDynamicComponent as A, renderSlot as _, normalizeProps as X, guardReactiveProps as Ie } from "vue";
2
- import { VxeTable as Pe, VxeColumn as J } from "vxe-table";
1
+ import { defineComponent as ke, useSlots as Fe, getCurrentInstance as Be, ref as R, computed as n, unref as o, watch as z, openBlock as s, createElementBlock as k, normalizeClass as f, normalizeStyle as T, createVNode as U, mergeProps as g, createSlots as G, withCtx as h, Fragment as X, renderList as A, createBlock as u, resolveDynamicComponent as _, renderSlot as V, createCommentVNode as C, createElementVNode as F, normalizeProps as J, guardReactiveProps as Ie } from "vue";
2
+ import { VxeTable as Pe, VxeColumn as Q } from "vxe-table";
3
3
  import "vxe-table/es/style.css";
4
4
  import "vxe-pc-ui/es/style.css";
5
- import { VxeUI as Q } from "vxe-pc-ui";
5
+ import { VxeUI as Y } from "vxe-pc-ui";
6
6
  import { isUndefined as B, omit as Ee } from "lodash-unified";
7
7
  import { ApForm as Ne } from "../ap-form/index.mjs";
8
8
  import "../config-provider/index.mjs";
9
9
  import { noRenderAsFormItemValueList as ze } from "../ap-table/constants.mjs";
10
- import { getColumnOrder as Y, updateFormProps as Te, getFieldProps as Ae, getSearchFormItemRenderNode as _e, recursionApColumns as Z } from "../ap-table/utils.mjs";
10
+ import { getColumnOrder as Z, updateFormProps as Te, getFieldProps as Ae, getSearchFormItemRenderNode as _e, recursionApColumns as ee } from "../ap-table/utils.mjs";
11
11
  import { useTablePaging as Ve } from "../ap-table/hooks/use-table-paging-ng.mjs";
12
- import { Empty as ee, Pagination as Le } from "@aplus-frontend/antdv";
12
+ import { Empty as oe, Pagination as Le } from "@aplus-frontend/antdv";
13
13
  import { useInnerParams as Oe } from "./hooks/use-inner-params.mjs";
14
14
  import { toVxeProps as De, getRowExpandProps as Ke, getRowSelectionProps as $e } from "./utils/table.mjs";
15
15
  import je from "../ap-table/hooks/use-table-row-selection.mjs";
16
16
  import { useProvideApTable as He } from "../ap-table/context.mjs";
17
- import { sizeReverseMap as We, sizeMap as Me } from "./constants.mjs";
17
+ import { sizeMap as We, sizeReverseMap as Me } from "./constants.mjs";
18
18
  import { useRenderColumns as qe } from "./hooks/use-render-columns.mjs";
19
19
  import { useToken as Ue } from "@aplus-frontend/antdv/es/theme/internal";
20
20
  import "../scroll-bar/index.mjs";
@@ -106,28 +106,28 @@ const Ro = /* @__PURE__ */ ke({
106
106
  expandable: {},
107
107
  value: {}
108
108
  },
109
- setup(oe, { expose: ae }) {
110
- var M;
111
- const V = Fe(), a = oe, w = (M = Be()) == null ? void 0 : M.appContext.app;
112
- w && !w.__VXE_PC_UI_INSTALLED__ && (w.use(Q), w.__VXE_PC_UI_INSTALLED__ = !0);
113
- const { e: I, b: i, be: re } = Ge("ap-grid"), te = Xe("valueTypeMap"), d = R([]), L = R([]), p = R(), b = R(a.size), [, m] = Ue(), { t: le } = Je();
114
- Q.setConfig({
115
- i18n: (e, l) => le(`ap.${e}`, l)
109
+ setup(ae, { expose: re }) {
110
+ var q;
111
+ const L = Fe(), a = ae, b = (q = Be()) == null ? void 0 : q.appContext.app;
112
+ b && !b.__VXE_PC_UI_INSTALLED__ && (b.use(Y), b.__VXE_PC_UI_INSTALLED__ = !0);
113
+ const { e: I, b: d, be: te } = Ge("ap-grid"), le = Xe("valueTypeMap"), i = R([]), O = R([]), p = R(), w = R(a.size), [, m] = Ue(), { t: ne } = Je();
114
+ Y.setConfig({
115
+ i18n: (e, l) => ne(`ap.${e}`, l)
116
116
  });
117
- const { renderConfig: ne, updateSignal: se } = qe(d);
118
- let O = 0;
117
+ const { renderConfig: se, updateSignal: ie } = qe(i);
118
+ let D = 0;
119
119
  const de = n(() => {
120
120
  if (p.value)
121
121
  return p.value.$el.querySelector(
122
122
  ".vxe-table--header-inner-wrapper"
123
123
  );
124
- }), D = n(() => {
124
+ }), K = n(() => {
125
125
  var e, l, t;
126
- return O++, ((t = (l = (e = a.columns) == null ? void 0 : e.filter(
126
+ return D++, ((t = (l = (e = a.columns) == null ? void 0 : e.filter(
127
127
  (r) => !r.hideInSearch && r.dataIndex && (r.valueType || r.customRenderFormItem) && !ze.includes(r.valueType)
128
128
  )) == null ? void 0 : l.sort((r, c) => {
129
- let y = Y(r.order);
130
- return Y(c.order) - y;
129
+ let y = Z(r.order);
130
+ return Z(c.order) - y;
131
131
  })) == null ? void 0 : t.map((r) => {
132
132
  const c = Te(
133
133
  r,
@@ -138,39 +138,39 @@ const Ro = /* @__PURE__ */ ke({
138
138
  label: r.title,
139
139
  name: r.dataIndex,
140
140
  ...c || {},
141
- _signal: O
141
+ _signal: D
142
142
  },
143
143
  renderNode: void 0
144
144
  };
145
145
  return y.renderNode = _e(
146
146
  y,
147
- o(te)
147
+ o(le)
148
148
  ), y;
149
149
  })) || [];
150
- }), ie = n(() => [
151
- i(),
152
- a.card ? null : i("wrapper"),
153
- a.adaptive ? i("adaptive") : null,
154
- a.sticky ? i("sticky") : null
155
- ].filter(Boolean)), K = n(() => Z(o(d), (e) => {
150
+ }), ce = n(() => [
151
+ d(),
152
+ a.card ? null : d("wrapper"),
153
+ a.adaptive ? d("adaptive") : null,
154
+ a.sticky ? d("sticky") : null
155
+ ].filter(Boolean)), $ = n(() => ee(o(i), (e) => {
156
156
  if (e.sorter === !0)
157
157
  return e.key || e.dataIndex;
158
- }).filter(Boolean)), $ = n(() => Z(o(d), (e) => {
158
+ }).filter(Boolean)), j = n(() => ee(o(i), (e) => {
159
159
  if (e.filters && !e.onFilter)
160
160
  return e.key || e.dataIndex;
161
161
  }).filter(Boolean)), {
162
162
  formRef: P,
163
- submit: j,
164
- reset: H,
165
- refresh: ce,
166
- data: h,
167
- tableProps: ue,
163
+ submit: H,
164
+ reset: W,
165
+ refresh: ue,
166
+ data: v,
167
+ tableProps: M,
168
168
  setDataSource: pe,
169
169
  handleTableChange: me
170
170
  } = Ve({
171
171
  async request(e) {
172
172
  var t;
173
- if (!x.value.preserveSelectedRowKeys && B(a.dataSource) && E(), !B(a.dataSource)) {
173
+ if (!x.value.preserveSelectedRowKeys && B(a.dataSource) && N(), !B(a.dataSource)) {
174
174
  const r = e.pageSize * (e.current - 1);
175
175
  return {
176
176
  data: (a.pagination === !1 ? a.dataSource : a.dataSource.slice(r, r + e.pageSize)) || [],
@@ -184,50 +184,50 @@ const Ro = /* @__PURE__ */ ke({
184
184
  };
185
185
  },
186
186
  namespace: "ap-grid",
187
- filterFields: $,
188
- sortFields: K,
187
+ filterFields: j,
188
+ sortFields: $,
189
189
  defaultParams: a.params,
190
190
  defaultData: a.defaultData,
191
191
  manual: a.manual,
192
192
  formatParams: a.beforeSearchSubmit,
193
193
  pagination: a.pagination
194
- }), { sortChangeEvent: fe, filterChangeEvent: ge, paginationChangeEvent: ve } = Oe(me);
194
+ }), { sortChangeEvent: fe, filterChangeEvent: ge, paginationChangeEvent: he } = Oe(me);
195
195
  He({
196
- columns: n(() => d.value),
197
- columnsBackup: n(() => L.value),
198
- size: n(() => b.value ? Me[b.value] : "middle"),
196
+ columns: n(() => i.value),
197
+ columnsBackup: n(() => O.value),
198
+ size: n(() => w.value ? We[w.value] : "middle"),
199
199
  updateColumns(e) {
200
- d.value = e;
200
+ i.value = e;
201
201
  },
202
202
  updateSize(e) {
203
- b.value = We[e];
203
+ w.value = Me[e];
204
204
  },
205
205
  renderConfig: n(() => ({
206
- className: re("table-header", "title"),
206
+ className: te("table-header", "title"),
207
207
  color: m.value.colorPrimary
208
208
  }))
209
209
  });
210
- const he = n(
211
- () => d.value.some(
210
+ const ve = n(
211
+ () => i.value.some(
212
212
  (e) => e.fixed === "left" || e.fixed === !0
213
213
  ) ? "left" : void 0
214
214
  ), ye = n(
215
- () => B(a.dataSource) ? h.records : a.dataSource
215
+ () => B(a.dataSource) ? v.records : a.dataSource
216
216
  ), { selectedRows: S, rowSelection: x, ...Ce } = je({
217
217
  ...a.rowSelection === !0 ? {} : a.rowSelection,
218
218
  dataSource: ye,
219
219
  rowKey: a.rowKey
220
- }), W = () => {
220
+ }), E = () => {
221
221
  const e = p.value;
222
222
  e && (S.value = [
223
223
  ...e.getCheckboxReserveRecords(),
224
224
  ...e.getCheckboxRecords()
225
225
  ]);
226
- }, we = () => {
226
+ }, be = () => {
227
227
  const e = p.value;
228
228
  e && (S.value = [e.getRadioRecord()]);
229
229
  };
230
- function be() {
230
+ function we() {
231
231
  var e;
232
232
  return ((e = a.columns) == null ? void 0 : e.filter((l) => !l.hideInTable)) || [];
233
233
  }
@@ -240,70 +240,70 @@ const Ro = /* @__PURE__ */ ke({
240
240
  const l = e ? "getFieldsValueTransformed" : "getFieldsValue";
241
241
  return (c = (r = (t = P.value) == null ? void 0 : t.apForm) == null ? void 0 : r[l]) == null ? void 0 : c.call(r, !0);
242
242
  }
243
- function E() {
243
+ function N() {
244
244
  Ce.clearAll();
245
245
  const e = p.value;
246
246
  e && (x.value.type === "radio" ? (e.clearRadioRow(), e.clearRadioReserve()) : (e.clearCheckboxRow(), e.clearCheckboxReserve()));
247
247
  }
248
248
  async function Re(e, l) {
249
249
  var r;
250
- const t = h.records[e];
250
+ const t = v.records[e];
251
251
  if (t)
252
252
  return (r = p.value) == null ? void 0 : r.scrollToRow(t, l);
253
253
  }
254
- return N(
254
+ return z(
255
255
  () => [a.columnResizable, a.columns],
256
256
  () => {
257
- const e = be();
258
- d.value = e, L.value = e;
257
+ const e = we();
258
+ i.value = e, O.value = e;
259
259
  },
260
260
  {
261
261
  deep: !0,
262
262
  immediate: !0
263
263
  }
264
- ), N(
264
+ ), z(
265
265
  () => a.dataSource,
266
266
  (e) => {
267
267
  pe(e);
268
268
  },
269
269
  { immediate: !0 }
270
- ), N(
271
- () => o(h).loading,
270
+ ), z(
271
+ () => o(v).loading,
272
272
  (e) => {
273
273
  var l;
274
274
  (l = a.onLoadingChange) == null || l.call(a, e);
275
275
  }
276
- ), ae({
277
- submit: j,
278
- reset: H,
279
- refresh: ce,
276
+ ), re({
277
+ submit: H,
278
+ reset: W,
279
+ refresh: ue,
280
280
  setSearchFormValues: Se,
281
281
  getSearchFormValues: xe,
282
- getShowColumns: () => o(d),
282
+ getShowColumns: () => o(i),
283
283
  rowSelection: {
284
284
  selectedRows: n(() => S.value),
285
- clearAll: E
285
+ clearAll: N
286
286
  },
287
287
  scrollToRow: Re
288
288
  }), (e, l) => (s(), k("div", {
289
- class: f(ie.value),
290
- style: z(e.wrapperStyle)
289
+ class: f(ce.value),
290
+ style: T(e.wrapperStyle)
291
291
  }, [
292
- o(B)(e.dataSource) && e.searchForm !== !1 && D.value.length > 0 ? (s(), k("div", {
292
+ o(B)(e.dataSource) && e.searchForm !== !1 && K.value.length > 0 ? (s(), k("div", {
293
293
  key: 0,
294
294
  class: f(e.card ? o(I)("search-wrapper") : null),
295
- style: z(e.searchFormWrapperStyle)
295
+ style: T(e.searchFormWrapperStyle)
296
296
  }, [
297
- q(o(Ne).SearchForm, g(e.searchForm || {}, {
297
+ U(o(Ne).SearchForm, g(e.searchForm || {}, {
298
298
  ref_key: "formRef",
299
299
  ref: P,
300
300
  "custom-reset": "",
301
- "submit-loading": !1,
302
- onSubmit: o(j),
303
- onReset: o(H)
304
- }), U({
305
- default: v(() => [
306
- (s(!0), k(G, null, T(D.value, (t) => (s(), u(A(t.renderNode.Comp), g({
301
+ "submit-loading": o(M).loading,
302
+ onSubmit: o(H),
303
+ onReset: o(W)
304
+ }), G({
305
+ default: h(() => [
306
+ (s(!0), k(X, null, A(K.value, (t) => (s(), u(_(t.renderNode.Comp), g({
307
307
  key: t.dataIndex,
308
308
  item: t,
309
309
  ref_for: !0
@@ -314,40 +314,40 @@ const Ro = /* @__PURE__ */ ke({
314
314
  ]),
315
315
  _: 2
316
316
  }, [
317
- V.searchFormExtra ? {
317
+ L.searchFormExtra ? {
318
318
  name: "extra",
319
- fn: v(() => [
320
- _(e.$slots, "searchFormExtra")
319
+ fn: h(() => [
320
+ V(e.$slots, "searchFormExtra")
321
321
  ]),
322
322
  key: "0"
323
323
  } : void 0
324
- ]), 1040, ["onSubmit", "onReset"])
324
+ ]), 1040, ["submit-loading", "onSubmit", "onReset"])
325
325
  ], 6)) : C("", !0),
326
326
  F("div", {
327
327
  class: f([o(I)("table-wrapper"), e.card ? o(I)("table-wrapper-card") : null]),
328
- style: z(e.tableWrapperStyle)
328
+ style: T(e.tableWrapperStyle)
329
329
  }, [
330
330
  F("div", {
331
- class: f(o(i)("header-wrapper"))
331
+ class: f(o(d)("header-wrapper"))
332
332
  }, [
333
- _(e.$slots, "title", {
333
+ V(e.$slots, "title", {
334
334
  selectedRows: o(S),
335
335
  selectedRowKeys: o(x).selectedRowKeys,
336
- shownColumns: d.value,
337
- clearAll: E
336
+ shownColumns: i.value,
337
+ clearAll: N
338
338
  })
339
339
  ], 2),
340
340
  F("div", {
341
- class: f(o(i)("vxe-wrapper"))
341
+ class: f(o(d)("vxe-wrapper"))
342
342
  }, [
343
343
  (s(), u(o(Pe), g(o(De)(a), {
344
344
  ref_key: "tableRef",
345
345
  ref: p,
346
- key: o(se),
347
- data: o(h).records,
348
- "sort-config": { remote: K.value.length > 0 },
349
- "filter-config": { remote: $.value.length > 0 },
350
- loading: o(h).loading,
346
+ key: o(ie),
347
+ data: o(v).records,
348
+ "sort-config": { remote: $.value.length > 0 },
349
+ "filter-config": { remote: j.value.length > 0 },
350
+ loading: o(v).loading,
351
351
  "row-config": {
352
352
  isHover: !0,
353
353
  keyField: a.rowKey
@@ -362,42 +362,43 @@ const Ro = /* @__PURE__ */ ke({
362
362
  "--vxe-ui-table-row-radio-checked-background-color": o(m).controlItemBgActive,
363
363
  "--vxe-ui-table-row-hover-radio-checked-background-color": o(m).controlItemBgActiveHover
364
364
  },
365
- size: b.value,
365
+ size: w.value,
366
366
  onSortChange: o(fe),
367
367
  onFilterChange: o(ge),
368
- onCheckboxChange: W,
369
- onCheckboxAll: W,
370
- onRadioChange: we
371
- }), U({
372
- empty: v(() => [
373
- q(o(ee), {
374
- image: o(ee).PRESENTED_IMAGE_SIMPLE
368
+ onCheckboxChange: E,
369
+ onCheckboxRangeChange: E,
370
+ onCheckboxAll: E,
371
+ onRadioChange: be
372
+ }), G({
373
+ empty: h(() => [
374
+ U(o(oe), {
375
+ image: o(oe).PRESENTED_IMAGE_SIMPLE
375
376
  }, null, 8, ["image"])
376
377
  ]),
377
- default: v(() => [
378
- a.expandable ? (s(), u(o(J), g({ key: 0 }, o(Ke)(e.expandable), { fixed: he.value }), {
379
- content: v((t) => [
380
- (s(), u(A(a.expandable.renderContent(t))))
378
+ default: h(() => [
379
+ a.expandable ? (s(), u(o(Q), g({ key: 0 }, o(Ke)(e.expandable), { fixed: ve.value }), {
380
+ content: h((t) => [
381
+ (s(), u(_(a.expandable.renderContent(t))))
381
382
  ]),
382
383
  _: 1
383
384
  }, 16, ["fixed"])) : C("", !0),
384
- a.rowSelection ? (s(), u(o(J), X(g({ key: 1 }, o($e)(o(x), d.value))), null, 16)) : C("", !0),
385
- (s(!0), k(G, null, T(o(ne), (t) => (s(), u(A(t), {
385
+ a.rowSelection ? (s(), u(o(Q), J(g({ key: 1 }, o($e)(o(x), i.value))), null, 16)) : C("", !0),
386
+ (s(!0), k(X, null, A(o(se), (t) => (s(), u(_(t), {
386
387
  key: t.props.colId
387
388
  }))), 128))
388
389
  ]),
389
390
  _: 2
390
391
  }, [
391
- T(o(Ee)(V, ["searchFormExtra"]), (t, r) => ({
392
+ A(o(Ee)(L, ["searchFormExtra"]), (t, r) => ({
392
393
  name: r,
393
- fn: v((c) => [
394
- _(e.$slots, r, X(Ie(c || {})))
394
+ fn: h((c) => [
395
+ V(e.$slots, r, J(Ie(c || {})))
395
396
  ])
396
397
  }))
397
398
  ]), 1040, ["data", "sort-config", "filter-config", "loading", "row-config", "style", "size", "onSortChange", "onFilterChange"]))
398
399
  ], 2),
399
400
  F("div", {
400
- class: f(o(i)("pagination-wrapper"))
401
+ class: f(o(d)("pagination-wrapper"))
401
402
  }, [
402
403
  e.sticky ? (s(), u(o(Qe), {
403
404
  key: 0,
@@ -406,8 +407,8 @@ const Ro = /* @__PURE__ */ ke({
406
407
  }, null, 8, ["scroll-container"])) : C("", !0),
407
408
  e.pagination !== !1 ? (s(), u(o(Le), g({
408
409
  key: 1,
409
- class: o(i)("pagination")
410
- }, o(ue).pagination, { onChange: o(ve) }), null, 16, ["class", "onChange"])) : C("", !0)
410
+ class: o(d)("pagination")
411
+ }, o(M).pagination, { onChange: o(he) }), null, 16, ["class", "onChange"])) : C("", !0)
411
412
  ], 2)
412
413
  ], 6)
413
414
  ], 6));
@@ -104,6 +104,16 @@ export type ApGridRowSelection<RecordType> = Pick<TableRowSelection<RecordType>,
104
104
  * @returns
105
105
  */
106
106
  disabled?: (row: RecordType) => boolean;
107
+ /**
108
+ * 是否显示选择框的方法,返回false将显示
109
+ * @param row
110
+ * @returns
111
+ */
112
+ shown?: (row: RecordType) => boolean;
113
+ /**
114
+ * 是否开启鼠标滑动的范围选择(仅复选有效)
115
+ */
116
+ range?: boolean;
107
117
  };
108
118
  export type ApGridProps<RecordType = any, ParamsType = any> = Omit<TableProps<RecordType>, 'columns' | 'pagination' | 'dataSource' | 'size' | 'rowSelection' | 'rowKey' | 'rowClassName' | 'footer'> & Pick<VxeTableProps<RecordType>, 'rowClassName' | 'stripe' | 'headerRowClassName' | 'footerRowClassName' | 'cellClassName' | 'headerCellClassName' | 'footerCellClassName' | 'rowStyle' | 'headerRowStyle' | 'footerRowStyle' | 'cellStyle' | 'headerCellStyle' | 'footerCellStyle' | 'height' | 'minHeight' | 'maxHeight' | 'mergeCells' | 'mergeFooterItems' | 'cellConfig'> & {
109
119
  /**
@@ -1,9 +1,9 @@
1
- import { omit as d, isUndefined as n, isFunction as f, isNumber as c } from "lodash-unified";
2
- const h = 30, v = 50;
3
- function R(e) {
4
- var r, l, o;
1
+ import { omit as u, isUndefined as d, isFunction as f, isNumber as c } from "lodash-unified";
2
+ const h = 20, v = 50;
3
+ function y(e) {
4
+ var l, n, i;
5
5
  const t = {
6
- ...d(e, [
6
+ ...u(e, [
7
7
  "columns",
8
8
  "request",
9
9
  "searchForm",
@@ -15,24 +15,31 @@ function R(e) {
15
15
  if (e.adaptive && (t.autoResize = !0, t.height = "100%"), e.columnResizable && (t.columnConfig ? t.columnConfig.resizable = !0 : t.columnConfig = {
16
16
  resizable: !0
17
17
  }), e.rowSelection) {
18
- const i = e.rowSelection === !0 ? {} : e.rowSelection;
19
- i.type === "radio" ? t.radioConfig = {
18
+ const r = e.rowSelection === !0 ? {} : e.rowSelection;
19
+ r.type === "radio" ? t.radioConfig = {
20
20
  highlight: !0,
21
- checkMethod({ row: u }) {
22
- return i.disabled ? !i.disabled(u) : !0;
21
+ checkMethod({ row: o }) {
22
+ return r.disabled ? !r.disabled(o) : !0;
23
23
  },
24
- checkRowKey: (r = i.defaultSelectedRowKeys) == null ? void 0 : r[0],
25
- reserve: n(i.preserveSelectedRowKeys) ? !0 : i.preserveSelectedRowKeys
24
+ visibleMethod({ row: o }) {
25
+ return r.shown ? r.shown(o) : !0;
26
+ },
27
+ checkRowKey: (l = r.defaultSelectedRowKeys) == null ? void 0 : l[0],
28
+ reserve: d(r.preserveSelectedRowKeys) ? !0 : r.preserveSelectedRowKeys
26
29
  } : t.checkboxConfig = {
27
30
  highlight: !0,
28
- checkMethod({ row: u }) {
29
- return i.disabled ? !i.disabled(u) : !0;
31
+ checkMethod({ row: o }) {
32
+ return r.disabled ? !r.disabled(o) : !0;
33
+ },
34
+ visibleMethod({ row: o }) {
35
+ return r.shown ? r.shown(o) : !0;
30
36
  },
31
- checkRowKeys: i.defaultSelectedRowKeys,
32
- reserve: n(i.preserveSelectedRowKeys) ? !0 : i.preserveSelectedRowKeys
37
+ checkRowKeys: r.defaultSelectedRowKeys,
38
+ reserve: d(r.preserveSelectedRowKeys) ? !0 : r.preserveSelectedRowKeys,
39
+ range: r.range || !1
33
40
  };
34
41
  }
35
- return t.border = e.bordered, e.expandable && (t.expandConfig = d(e.expandable, [
42
+ return t.border = e.bordered, e.expandable && (t.expandConfig = u(e.expandable, [
36
43
  "renderContent",
37
44
  "width",
38
45
  "title"
@@ -40,27 +47,27 @@ function R(e) {
40
47
  enabled: !1
41
48
  }, t.virtualYConfig = {
42
49
  enabled: !1
43
- }) : (a(t, "X", (l = e.virtual) == null ? void 0 : l.x), a(t, "Y", (o = e.virtual) == null ? void 0 : o.y)), t;
50
+ }) : (s(t, "X", (n = e.virtual) == null ? void 0 : n.x), s(t, "Y", (i = e.virtual) == null ? void 0 : i.y)), t;
44
51
  }
45
- function a(e, t, r) {
46
- const l = t === "X", o = l ? "virtualXConfig" : "virtualYConfig", i = r !== !1, u = l ? h : v, s = c(r) && r >= 0 ? r : u;
47
- e[o] = {
48
- enabled: i,
49
- gt: s
52
+ function s(e, t, l) {
53
+ const n = t === "X", i = n ? "virtualXConfig" : "virtualYConfig", r = l !== !1, o = n ? h : v, a = c(l) && l >= 0 ? l : o;
54
+ e[i] = {
55
+ enabled: r,
56
+ gt: a
50
57
  };
51
58
  }
52
59
  function b(e) {
53
60
  return e === !0 ? "left" : e;
54
61
  }
55
- function w(e, t) {
56
- const r = e === !0 || !e.type ? "checkbox" : e.type, l = e === !0 ? 60 : e.columnWidth || 60;
57
- let o = e === !0 ? void 0 : b(e.fixed);
58
- return o || (o === !1 ? o = void 0 : o = t.some(
59
- (i) => i.fixed === "left" || i.fixed === !0
62
+ function R(e, t) {
63
+ const l = e === !0 || !e.type ? "checkbox" : e.type, n = e === !0 ? 60 : e.columnWidth || 60;
64
+ let i = e === !0 ? void 0 : b(e.fixed);
65
+ return i || (i === !1 ? i = void 0 : i = t.some(
66
+ (r) => r.fixed === "left" || r.fixed === !0
60
67
  ) ? "left" : void 0), {
61
- type: r,
62
- width: l,
63
- fixed: o
68
+ type: l,
69
+ width: n,
70
+ fixed: i
64
71
  };
65
72
  }
66
73
  function x(e) {
@@ -73,6 +80,6 @@ function x(e) {
73
80
  }
74
81
  export {
75
82
  x as getRowExpandProps,
76
- w as getRowSelectionProps,
77
- R as toVxeProps
83
+ R as getRowSelectionProps,
84
+ y as toVxeProps
78
85
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as a, computed as n, createBlock as p, openBlock as s, resolveDynamicComponent as i, normalizeProps as l, guardReactiveProps as m, createSlots as c, renderList as u, withCtx as d, renderSlot as f } from "vue";
1
+ import { defineComponent as a, computed as n, openBlock as p, createBlock as s, resolveDynamicComponent as i, normalizeProps as l, guardReactiveProps as m, createSlots as c, renderList as u, withCtx as d, renderSlot as f } from "vue";
2
2
  import "./ap-info-layout-aplus/ap-info-layout.vue.mjs";
3
3
  import "./ap-info-layout-admin/ApInfoLayoutAdmin.vue.mjs";
4
4
  import "../config-provider/index.mjs";
@@ -26,7 +26,7 @@ const D = /* @__PURE__ */ a({
26
26
  }
27
27
  return e;
28
28
  });
29
- return (e, h) => (s(), p(i(t.value), l(m(e.$props)), c({ _: 2 }, [
29
+ return (e, h) => (p(), s(i(t.value), l(m(e.$props)), c({ _: 2 }, [
30
30
  u(e.$slots, (k, o) => ({
31
31
  name: o,
32
32
  fn: d(() => [
@@ -1,4 +1,4 @@
1
- import { defineComponent as u, ref as t, createElementBlock as p, openBlock as y, normalizeClass as s, unref as e, createElementVNode as n, normalizeStyle as h, renderSlot as d } from "vue";
1
+ import { defineComponent as u, ref as t, openBlock as p, createElementBlock as y, normalizeClass as s, unref as e, createElementVNode as n, normalizeStyle as h, renderSlot as d } from "vue";
2
2
  import "../../config-provider/index.mjs";
3
3
  import { useNamespace as v } from "../../config-provider/hooks/use-namespace.mjs";
4
4
  import { useGlobalConfig as _ } from "../../config-provider/hooks/use-global-config.mjs";
@@ -12,7 +12,7 @@ const L = /* @__PURE__ */ u({
12
12
  const l = t(), a = t(), f = () => {
13
13
  l.value && a.value && (l.value.scrollTop > 0 ? a.value.classList.add(o("header-shadow")) : a.value.classList.remove(o("header-shadow")));
14
14
  }, { b: i, e: o, m: c } = v("ap-info-layout-admin"), m = _("uiMode", "admin");
15
- return (r, k) => (y(), p("div", {
15
+ return (r, k) => (p(), y("div", {
16
16
  ref_key: "containerRef",
17
17
  ref: l,
18
18
  class: s([e(i)(), `${e(c)(e(m))}`]),
@@ -1,4 +1,4 @@
1
- import { defineComponent as $, computed as t, onActivated as y, onDeactivated as B, createElementBlock as E, openBlock as d, normalizeClass as a, createBlock as H, createElementVNode as o, Teleport as k, renderSlot as s, createVNode as A, unref as N } from "vue";
1
+ import { defineComponent as $, computed as t, onActivated as y, onDeactivated as B, openBlock as d, createElementBlock as E, normalizeClass as a, createBlock as H, Teleport as k, renderSlot as s, createElementVNode as o, createVNode as A, unref as N } from "vue";
2
2
  import { Divider as T } from "@aplus-frontend/antdv";
3
3
  import "../../config-provider/index.mjs";
4
4
  import { useNamespace as V } from "../../config-provider/hooks/use-namespace.mjs";
@@ -1,6 +1,6 @@
1
1
  import { ApListProps } from './interface';
2
2
  import { Recordable } from '../type';
3
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, Ref, VNode } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, Ref, VNode, RendererNode, RendererElement } from 'vue';
4
4
  import { ApFormSearchFormExpose } from '..';
5
5
  declare const _default: <RecordType extends Recordable>(__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
6
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & ApListProps<RecordType> & Partial<{}>> & PublicProps;
@@ -41,7 +41,9 @@ declare const _default: <RecordType extends Recordable>(__VLS_props: NonNullable
41
41
  }): any;
42
42
  };
43
43
  emit: {};
44
- }>) => VNode & {
44
+ }>) => VNode<RendererNode, RendererElement, {
45
+ [key: string]: any;
46
+ }> & {
45
47
  __ctx?: Awaited<typeof __VLS_setup>;
46
48
  };
47
49
  export default _default;
@@ -1,4 +1,4 @@
1
- import { defineComponent as H, ref as J, unref as t, computed as d, watch as Q, createBlock as S, openBlock as i, normalizeClass as u, withCtx as f, createElementVNode as X, normalizeStyle as h, renderSlot as l, createElementBlock as p, createCommentVNode as Y, createVNode as v, Fragment as I, renderList as Z, mergeProps 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
3
  import { useTablePaging as te } from "../ap-table/hooks/use-table-paging-ng.mjs";
4
4
  import "../config-provider/index.mjs";
@@ -165,7 +165,7 @@ const he = /* @__PURE__ */ H({
165
165
  key: 1,
166
166
  dataSource: s.value
167
167
  }, () => [
168
- (i(!0), p(I, null, Z(s.value, (r, o) => l(e.$slots, "renderItem", {
168
+ (i(!0), p(I, null, Y(s.value, (r, o) => l(e.$slots, "renderItem", {
169
169
  item: r,
170
170
  index: o
171
171
  })), 256))
@@ -176,11 +176,11 @@ const he = /* @__PURE__ */ H({
176
176
  class: u(t(N)("footer")),
177
177
  style: h(e.footerWarpperStyle)
178
178
  }, [
179
- v(t(ee), _(
179
+ v(t(ee), Z(
180
180
  c.value ? t(B) : t(ne)(t(z).pagination, ["showTotal"]),
181
181
  { onChange: K }
182
182
  ), null, 16)
183
- ], 6)) : Y("", !0)
183
+ ], 6)) : _("", !0)
184
184
  ], 6)
185
185
  ]),
186
186
  _: 3
@@ -6,7 +6,7 @@ export type ModalFunc = (props: ModalFuncProps) => {
6
6
  update: (configUpdate: ConfigUpdate) => void;
7
7
  };
8
8
  declare const confirm: (config: ModalFuncProps) => {
9
- destroy: (this: /*elided*/ any, ...args: any[]) => void;
9
+ destroy: (this: any, ...args: any[]) => void;
10
10
  update: (configUpdate: ConfigUpdate) => void;
11
11
  };
12
12
  export default confirm;