@aplus-frontend/ui 0.5.23 → 0.5.25

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 (227) 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 +36 -36
  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-field/tree-select/index.vue.mjs +3 -3
  28. package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
  29. package/es/src/ap-form/ap-form.vue.d.ts +4 -3
  30. package/es/src/ap-form/ap-form.vue2.mjs +124 -124
  31. package/es/src/ap-form/drawer-form/index.vue.d.ts +9 -8
  32. package/es/src/ap-form/drawer-form/index.vue.mjs +9 -9
  33. package/es/src/ap-form/interface.d.ts +3 -2
  34. package/es/src/ap-form/item/index.vue.mjs +7 -7
  35. package/es/src/ap-form/item-group/index.vue.mjs +3 -3
  36. package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
  37. package/es/src/ap-form/items/date/index.vue.mjs +2 -2
  38. package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
  39. package/es/src/ap-form/items/number/index.vue.mjs +2 -2
  40. package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
  41. package/es/src/ap-form/items/select/index.vue.d.ts +6 -6
  42. package/es/src/ap-form/items/select/index.vue.mjs +2 -2
  43. package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
  44. package/es/src/ap-form/items/text/group.vue2.mjs +2 -2
  45. package/es/src/ap-form/items/text/index.vue2.mjs +2 -2
  46. package/es/src/ap-form/items/text/password.vue.mjs +2 -2
  47. package/es/src/ap-form/items/text-area/index.vue.mjs +2 -2
  48. package/es/src/ap-form/items/tree-select/index.vue.mjs +2 -2
  49. package/es/src/ap-form/modal-form/index.vue.d.ts +9 -8
  50. package/es/src/ap-form/modal-form/index.vue.mjs +7 -7
  51. package/es/src/ap-form/render/item.vue.mjs +2 -2
  52. package/es/src/ap-form/search-form/index.vue.d.ts +9 -8
  53. package/es/src/ap-form/search-form/index.vue.mjs +1 -1
  54. package/es/src/ap-form/set/index.vue.mjs +1 -1
  55. package/es/src/ap-grid/editable/form-item.vue.d.ts +4 -2
  56. package/es/src/ap-grid/editable/form-item.vue.mjs +65 -61
  57. package/es/src/ap-grid/editable/index.vue.d.ts +4 -2
  58. package/es/src/ap-grid/editable/index.vue.mjs +86 -81
  59. package/es/src/ap-grid/hooks/use-inner-params.mjs +3 -3
  60. package/es/src/ap-grid/index.vue.d.ts +4 -2
  61. package/es/src/ap-grid/index.vue.mjs +25 -25
  62. package/es/src/ap-grid/interface.d.ts +4 -0
  63. package/es/src/ap-grid/utils/table.d.ts +1 -1
  64. package/es/src/ap-grid/utils/table.mjs +42 -41
  65. package/es/src/ap-info-layout/ApInfoLayout.vue.mjs +2 -2
  66. package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue2.mjs +2 -2
  67. package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue2.mjs +1 -1
  68. package/es/src/ap-list/index.vue.d.ts +4 -2
  69. package/es/src/ap-list/index.vue.mjs +4 -4
  70. package/es/src/ap-modal/utils/confirm.d.ts +1 -1
  71. package/es/src/ap-table/ap-table.vue.d.ts +4 -2
  72. package/es/src/ap-table/ap-table.vue2.mjs +13 -13
  73. package/es/src/ap-table/components/dynamic-component/index.vue2.mjs +2 -2
  74. package/es/src/ap-table/components/index/index.vue2.mjs +2 -2
  75. package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +3 -3
  76. package/es/src/ap-table/components/setting/modal/index.vue2.mjs +3 -3
  77. package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +1 -1
  78. package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +1 -1
  79. package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +1 -1
  80. package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +11 -11
  81. package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
  82. package/es/src/ap-table/components/status/index.vue2.mjs +2 -2
  83. package/es/src/ap-table/constants.d.ts +5 -5
  84. package/es/src/ap-table/constants.mjs +45 -45
  85. package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  86. package/es/src/ap-table/hooks/use-table-column-state.mjs +3 -3
  87. package/es/src/ap-table/hooks/use-table-paging-ng.mjs +108 -102
  88. package/es/src/ap-table/utils.d.ts +5 -5
  89. package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -8
  90. package/es/src/ap-tag/ap-tag.vue.mjs +2 -2
  91. package/es/src/ap-upload/apUpload.vue.mjs +5 -5
  92. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  93. package/es/src/ap-upload/components/MultipleFile.vue2.mjs +3 -3
  94. package/es/src/ap-upload/components/Picture.vue.d.ts +7 -2
  95. package/es/src/ap-upload/components/Picture.vue2.mjs +6 -6
  96. package/es/src/ap-upload/components/SingleFile.vue2.mjs +7 -7
  97. package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +1 -1
  98. package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +2 -2
  99. package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +2 -2
  100. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +10 -10
  101. package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +1 -1
  102. package/es/src/business/ap-batch-action-group/index.d.ts +3 -3
  103. package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
  104. package/es/src/business/ap-card/ApCard.vue2.mjs +7 -7
  105. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
  106. package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +11 -11
  107. package/es/src/business/ap-expand-alert/index.d.ts +6 -4
  108. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +9 -9
  109. package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +5 -5
  110. package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +4 -4
  111. package/es/src/business/ap-group-search/images/icon-down.vue.mjs +2 -2
  112. package/es/src/business/ap-group-search/images/icon-line-select.vue.mjs +2 -2
  113. package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +2 -2
  114. package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
  115. package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +2 -2
  116. package/es/src/business/ap-ladder/ApLadder.vue.d.ts +1 -83
  117. package/es/src/business/ap-ladder/ApLadder.vue2.mjs +34 -59
  118. package/es/src/business/ap-ladder/components/SimpleMode.vue.d.ts +3 -65
  119. package/es/src/business/ap-ladder/components/SimpleMode.vue2.mjs +34 -99
  120. package/es/src/business/ap-ladder/components/ValueGroupMode.vue.d.ts +3 -75
  121. package/es/src/business/ap-ladder/components/ValueGroupMode.vue2.mjs +68 -195
  122. package/es/src/business/ap-ladder/index.d.ts +1 -235
  123. package/es/src/business/ap-ladder/interface.d.ts +4 -114
  124. package/es/src/business/ap-ladder/utils.d.ts +5 -0
  125. package/es/src/business/ap-ladder/utils.mjs +38 -3
  126. package/es/src/business/ap-product-info/ApProductInfo.d.ts +46 -0
  127. package/es/src/business/ap-product-info/constans.d.ts +23 -0
  128. package/es/src/business/ap-product-info/index.d.ts +1 -0
  129. package/es/src/business/ap-product-info/interface.d.ts +11 -0
  130. package/es/src/business/ap-select-layout/index.d.ts +4 -2
  131. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
  132. package/es/src/business/ap-select-layout/select-layout.vue2.mjs +4 -4
  133. package/es/src/business/ap-status/ApStatus.vue2.mjs +8 -8
  134. package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +4 -4
  135. package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
  136. package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
  137. package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +14 -14
  138. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +3 -3
  139. package/es/src/business/ap-title/ApTitle.vue2.mjs +7 -7
  140. package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +1 -1
  141. package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +2 -2
  142. package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +2 -2
  143. package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
  144. package/es/src/business/batch-input-group/index.vue.mjs +1 -1
  145. package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
  146. package/es/src/check-card/index.vue2.mjs +3 -3
  147. package/es/src/config-provider/hooks/use-namespace.d.ts +1 -5
  148. package/es/src/editable-table/form-item.vue.d.ts +4 -2
  149. package/es/src/editable-table/form-item.vue.mjs +2 -2
  150. package/es/src/editable-table/index.vue.d.ts +4 -2
  151. package/es/src/editable-table/index.vue.mjs +2 -2
  152. package/es/src/full-screen/index.vue.mjs +3 -3
  153. package/es/src/hooks/useFullScreen.mjs +5 -5
  154. package/es/src/mask/index.vue.mjs +10 -10
  155. package/es/src/portal/index.vue.mjs +2 -2
  156. package/es/src/scroll-bar/index.vue.mjs +3 -3
  157. package/es/src/scroll-bar/internal.vue.mjs +2 -2
  158. package/es/src/scroll-view/index.vue.d.ts +5 -5
  159. package/es/src/scroll-view/index.vue.mjs +9 -9
  160. package/es/src/tests/wrapper.d.ts +4 -4
  161. package/es/src/text/group.vue.mjs +2 -2
  162. package/es/src/text/index.vue.mjs +4 -4
  163. package/es/src/work-order-modal/help-message.vue2.mjs +2 -2
  164. package/es/src/work-order-modal/work-order-modal.vue.d.ts +6 -5
  165. package/es/src/work-order-modal/work-order-modal.vue.mjs +2 -2
  166. package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
  167. package/lib/src/ap-field/index.js +1 -1
  168. package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
  169. package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
  170. package/lib/src/ap-form/ap-form.vue.d.ts +4 -3
  171. package/lib/src/ap-form/ap-form.vue2.js +1 -1
  172. package/lib/src/ap-form/drawer-form/index.vue.d.ts +9 -8
  173. package/lib/src/ap-form/interface.d.ts +3 -2
  174. package/lib/src/ap-form/items/select/index.vue.d.ts +6 -6
  175. package/lib/src/ap-form/modal-form/index.vue.d.ts +9 -8
  176. package/lib/src/ap-form/search-form/index.vue.d.ts +9 -8
  177. package/lib/src/ap-grid/editable/form-item.vue.d.ts +4 -2
  178. package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
  179. package/lib/src/ap-grid/editable/index.vue.d.ts +4 -2
  180. package/lib/src/ap-grid/editable/index.vue.js +1 -1
  181. package/lib/src/ap-grid/index.vue.d.ts +4 -2
  182. package/lib/src/ap-grid/index.vue.js +1 -1
  183. package/lib/src/ap-grid/interface.d.ts +4 -0
  184. package/lib/src/ap-grid/utils/table.d.ts +1 -1
  185. package/lib/src/ap-grid/utils/table.js +1 -1
  186. package/lib/src/ap-list/index.vue.d.ts +4 -2
  187. package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
  188. package/lib/src/ap-table/ap-table.vue.d.ts +4 -2
  189. package/lib/src/ap-table/constants.d.ts +5 -5
  190. package/lib/src/ap-table/constants.js +1 -1
  191. package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  192. package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
  193. package/lib/src/ap-table/utils.d.ts +5 -5
  194. package/lib/src/ap-upload/apUpload.vue.js +1 -1
  195. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  196. package/lib/src/ap-upload/components/Picture.vue.d.ts +7 -2
  197. package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
  198. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
  199. package/lib/src/business/ap-expand-alert/index.d.ts +6 -4
  200. package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +1 -83
  201. package/lib/src/business/ap-ladder/ApLadder.vue2.js +1 -1
  202. package/lib/src/business/ap-ladder/components/SimpleMode.vue.d.ts +3 -65
  203. package/lib/src/business/ap-ladder/components/SimpleMode.vue2.js +1 -1
  204. package/lib/src/business/ap-ladder/components/ValueGroupMode.vue.d.ts +3 -75
  205. package/lib/src/business/ap-ladder/components/ValueGroupMode.vue2.js +1 -1
  206. package/lib/src/business/ap-ladder/index.d.ts +1 -235
  207. package/lib/src/business/ap-ladder/interface.d.ts +4 -114
  208. package/lib/src/business/ap-ladder/utils.d.ts +5 -0
  209. package/lib/src/business/ap-ladder/utils.js +1 -1
  210. package/lib/src/business/ap-product-info/ApProductInfo.d.ts +46 -0
  211. package/lib/src/business/ap-product-info/constans.d.ts +23 -0
  212. package/lib/src/business/ap-product-info/index.d.ts +1 -0
  213. package/lib/src/business/ap-product-info/interface.d.ts +11 -0
  214. package/lib/src/business/ap-select-layout/index.d.ts +4 -2
  215. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
  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/scroll-view/index.vue.d.ts +5 -5
  220. package/lib/src/tests/wrapper.d.ts +4 -4
  221. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +6 -5
  222. package/package.json +3 -3
  223. package/theme/ap-grid/index.css +3 -0
  224. package/theme/ap-grid/index.less +3 -0
  225. package/theme/ap-ladder/ap-ladder.css +14 -5
  226. package/theme/ap-ladder/ap-ladder.less +16 -7
  227. package/theme/index.css +17 -5
@@ -1,4 +1,4 @@
1
- import { defineComponent as Fe, useSlots as Be, getCurrentInstance as Ie, ref as k, computed as n, unref as o, watch as T, createElementBlock as F, openBlock as s, normalizeStyle as z, normalizeClass as f, createCommentVNode as C, createElementVNode as B, createVNode as U, mergeProps as g, createSlots as G, withCtx as v, Fragment as X, renderList as A, createBlock as u, resolveDynamicComponent as _, renderSlot as V, normalizeProps as J, guardReactiveProps as Pe } from "vue";
1
+ import { defineComponent as Fe, useSlots as Be, getCurrentInstance as Ie, ref as k, computed as n, unref as o, watch as T, openBlock as s, createElementBlock as F, normalizeClass as f, normalizeStyle as z, createVNode as U, mergeProps as g, createSlots as G, withCtx as v, Fragment as X, renderList as A, createBlock as c, resolveDynamicComponent as _, renderSlot as V, createCommentVNode as C, createElementVNode as B, normalizeProps as J, guardReactiveProps as Pe } from "vue";
2
2
  import { VxeTable as Ee, VxeColumn as Q } from "vxe-table";
3
3
  import "vxe-table/es/style.css";
4
4
  import "vxe-pc-ui/es/style.css";
@@ -14,7 +14,7 @@ import { useInnerParams as Oe } from "./hooks/use-inner-params.mjs";
14
14
  import { toVxeProps as Ke, getRowExpandProps as $e, getRowSelectionProps as He } from "./utils/table.mjs";
15
15
  import je from "../ap-table/hooks/use-table-row-selection.mjs";
16
16
  import { useProvideApTable as We } from "../ap-table/context.mjs";
17
- import { sizeReverseMap as Me, sizeMap as qe } from "./constants.mjs";
17
+ import { sizeMap as Me, sizeReverseMap as qe } from "./constants.mjs";
18
18
  import { useRenderColumns as Ue } from "./hooks/use-render-columns.mjs";
19
19
  import { useToken as Ge } from "@aplus-frontend/antdv/es/theme/internal";
20
20
  import "../scroll-bar/index.mjs";
@@ -126,11 +126,11 @@ const ko = /* @__PURE__ */ Fe({
126
126
  var e, l, t;
127
127
  return O++, ((t = (l = (e = a.columns) == null ? void 0 : e.filter(
128
128
  (r) => !r.hideInSearch && r.dataIndex && (r.valueType || r.customRenderFormItem) && !ze.includes(r.valueType)
129
- )) == null ? void 0 : l.sort((r, c) => {
129
+ )) == null ? void 0 : l.sort((r, u) => {
130
130
  let y = Z(r.order);
131
- return Z(c.order) - y;
131
+ return Z(u.order) - y;
132
132
  })) == null ? void 0 : t.map((r) => {
133
- const c = Ae(
133
+ const u = Ae(
134
134
  r,
135
135
  _e(r.fieldProps, {})
136
136
  ), y = {
@@ -138,7 +138,7 @@ const ko = /* @__PURE__ */ Fe({
138
138
  fieldProps: {
139
139
  label: r.title,
140
140
  name: r.dataIndex,
141
- ...c || {},
141
+ ...u || {},
142
142
  _signal: O
143
143
  },
144
144
  renderNode: void 0
@@ -148,7 +148,7 @@ const ko = /* @__PURE__ */ Fe({
148
148
  o(le)
149
149
  ), y;
150
150
  })) || [];
151
- }), ce = n(() => [
151
+ }), ue = n(() => [
152
152
  d(),
153
153
  a.card ? null : d("wrapper"),
154
154
  a.adaptive ? d("adaptive") : null,
@@ -163,7 +163,7 @@ const ko = /* @__PURE__ */ Fe({
163
163
  formRef: P,
164
164
  submit: j,
165
165
  reset: W,
166
- refresh: ue,
166
+ refresh: ce,
167
167
  data: h,
168
168
  tableProps: M,
169
169
  setDataSource: pe,
@@ -196,12 +196,12 @@ const ko = /* @__PURE__ */ Fe({
196
196
  We({
197
197
  columns: n(() => i.value),
198
198
  columnsBackup: n(() => D.value),
199
- size: n(() => S.value ? qe[S.value] : "middle"),
199
+ size: n(() => S.value ? Me[S.value] : "middle"),
200
200
  updateColumns(e) {
201
201
  i.value = e;
202
202
  },
203
203
  updateSize(e) {
204
- S.value = Me[e];
204
+ S.value = qe[e];
205
205
  },
206
206
  renderConfig: n(() => ({
207
207
  className: te("table-header", "title"),
@@ -239,9 +239,9 @@ const ko = /* @__PURE__ */ Fe({
239
239
  (r = (t = (l = P.value) == null ? void 0 : l.apForm) == null ? void 0 : t.setFieldsValue) == null || r.call(t, e);
240
240
  }
241
241
  function Re(e = !1) {
242
- var t, r, c;
242
+ var t, r, u;
243
243
  const l = e ? "getFieldsValueTransformed" : "getFieldsValue";
244
- return (c = (r = (t = P.value) == null ? void 0 : t.apForm) == null ? void 0 : r[l]) == null ? void 0 : c.call(r, !0);
244
+ return (u = (r = (t = P.value) == null ? void 0 : t.apForm) == null ? void 0 : r[l]) == null ? void 0 : u.call(r, !0);
245
245
  }
246
246
  function N() {
247
247
  be.clearAll();
@@ -269,7 +269,7 @@ const ko = /* @__PURE__ */ Fe({
269
269
  (e) => {
270
270
  pe(e);
271
271
  },
272
- { immediate: !0 }
272
+ { immediate: !0, deep: !0 }
273
273
  ), T(
274
274
  () => o(h).loading,
275
275
  (e) => {
@@ -279,7 +279,7 @@ const ko = /* @__PURE__ */ Fe({
279
279
  ), re({
280
280
  submit: j,
281
281
  reset: W,
282
- refresh: ue,
282
+ refresh: ce,
283
283
  setSearchFormValues: xe,
284
284
  getSearchFormValues: Re,
285
285
  getShowColumns: () => o(i),
@@ -289,7 +289,7 @@ const ko = /* @__PURE__ */ Fe({
289
289
  },
290
290
  scrollToRow: ke
291
291
  }), (e, l) => (s(), F("div", {
292
- class: f(ce.value),
292
+ class: f(ue.value),
293
293
  style: z(e.wrapperStyle)
294
294
  }, [
295
295
  o(b)(e.dataSource) && e.searchForm !== !1 && K.value.length > 0 ? (s(), F("div", {
@@ -306,7 +306,7 @@ const ko = /* @__PURE__ */ Fe({
306
306
  onReset: o(W)
307
307
  }), G({
308
308
  default: v(() => [
309
- (s(!0), F(X, null, A(K.value, (t) => (s(), u(_(t.renderNode.Comp), g({
309
+ (s(!0), F(X, null, A(K.value, (t) => (s(), c(_(t.renderNode.Comp), g({
310
310
  key: t.dataIndex,
311
311
  item: t,
312
312
  ref_for: !0
@@ -343,7 +343,7 @@ const ko = /* @__PURE__ */ Fe({
343
343
  B("div", {
344
344
  class: f(o(d)("vxe-wrapper"))
345
345
  }, [
346
- (s(), u(o(Ee), g(o(Ke)(a), {
346
+ (s(), c(o(Ee), g(o(Ke)(a), {
347
347
  ref_key: "tableRef",
348
348
  ref: p,
349
349
  key: o(ie),
@@ -379,14 +379,14 @@ const ko = /* @__PURE__ */ Fe({
379
379
  }, null, 8, ["image"])
380
380
  ]),
381
381
  default: v(() => [
382
- a.expandable ? (s(), u(o(Q), g({ key: 0 }, o($e)(e.expandable), { fixed: he.value }), {
382
+ a.expandable ? (s(), c(o(Q), g({ key: 0 }, o($e)(e.expandable), { fixed: he.value }), {
383
383
  content: v((t) => [
384
- (s(), u(_(a.expandable.renderContent(t))))
384
+ (s(), c(_(a.expandable.renderContent(t))))
385
385
  ]),
386
386
  _: 1
387
387
  }, 16, ["fixed"])) : C("", !0),
388
- a.rowSelection ? (s(), u(o(Q), J(g({ key: 1 }, o(He)(o(R), i.value))), null, 16)) : C("", !0),
389
- (s(!0), F(X, null, A(o(se), (t) => (s(), u(_(t), {
388
+ a.rowSelection ? (s(), c(o(Q), J(g({ key: 1 }, o(He)(o(R), i.value))), null, 16)) : C("", !0),
389
+ (s(!0), F(X, null, A(o(se), (t) => (s(), c(_(t), {
390
390
  key: t.props.colId
391
391
  }))), 128))
392
392
  ]),
@@ -394,8 +394,8 @@ const ko = /* @__PURE__ */ Fe({
394
394
  }, [
395
395
  A(o(Ne)(L, ["searchFormExtra"]), (t, r) => ({
396
396
  name: r,
397
- fn: v((c) => [
398
- V(e.$slots, r, J(Pe(c || {})))
397
+ fn: v((u) => [
398
+ V(e.$slots, r, J(Pe(u || {})))
399
399
  ])
400
400
  }))
401
401
  ]), 1040, ["data", "sort-config", "filter-config", "loading", "row-config", "style", "size", "onSortChange", "onFilterChange"]))
@@ -403,12 +403,12 @@ const ko = /* @__PURE__ */ Fe({
403
403
  B("div", {
404
404
  class: f(o(d)("pagination-wrapper"))
405
405
  }, [
406
- e.sticky ? (s(), u(o(Ye), {
406
+ e.sticky ? (s(), c(o(Ye), {
407
407
  key: 0,
408
408
  direction: "horizontal",
409
409
  "scroll-container": de.value
410
410
  }, null, 8, ["scroll-container"])) : C("", !0),
411
- e.pagination !== !1 ? (s(), u(o(De), g({
411
+ e.pagination !== !1 ? (s(), c(o(De), g({
412
412
  key: 1,
413
413
  class: o(d)("pagination")
414
414
  }, o(M).pagination, { onChange: o(ve) }), null, 16, ["class", "onChange"])) : C("", !0)
@@ -234,6 +234,10 @@ export type ApGridProps<RecordType = any, ParamsType = any> = Omit<TableProps<Re
234
234
  export type ApGridVirtualConfig = {
235
235
  x?: false | number;
236
236
  y?: false | number;
237
+ /**
238
+ * 指定每次渲染更多的数据,值越大渲染耗时就越久
239
+ */
240
+ oSize?: number;
237
241
  };
238
242
  export type ApGridColumnProps<RecordType> = {
239
243
  column: ApGridColumnType<RecordType>;
@@ -1,7 +1,7 @@
1
1
  import { VxeTableEventProps, VxeTableProps } from 'vxe-table';
2
2
  import { ApGridColumnType, ApGridProps, ApGridRowSelection } from '../interface';
3
3
  import { RowSelectionType } from '@aplus-frontend/antdv/es/table/interface';
4
- export declare function toVxeProps<RecordType>(props: any): VxeTableProps<RecordType> & VxeTableEventProps<RecordType>;
4
+ export declare function toVxeProps<RecordType>(props: ApGridProps): VxeTableProps<RecordType> & VxeTableEventProps<RecordType>;
5
5
  export declare function getRowSelectionProps(rowSelection: ApGridRowSelection<any> | true, columns: ApGridColumnType[]): {
6
6
  type: RowSelectionType;
7
7
  width: string | number;
@@ -1,9 +1,9 @@
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;
1
+ import { omit as l, isUndefined as u, isFunction as h, isNumber as b } from "lodash-unified";
2
+ const w = 20, x = 50;
3
+ function m(e) {
4
+ var i;
5
5
  const t = {
6
- ...u(e, [
6
+ ...l(e, [
7
7
  "columns",
8
8
  "request",
9
9
  "searchForm",
@@ -15,62 +15,63 @@ function y(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 r = e.rowSelection === !0 ? {} : e.rowSelection;
19
- r.type === "radio" ? t.radioConfig = {
18
+ const o = e.rowSelection === !0 ? {} : e.rowSelection;
19
+ o.type === "radio" ? t.radioConfig = {
20
20
  highlight: !0,
21
- checkMethod({ row: o }) {
22
- return r.disabled ? !r.disabled(o) : !0;
21
+ checkMethod({ row: r }) {
22
+ return o.disabled ? !o.disabled(r) : !0;
23
23
  },
24
- visibleMethod({ row: o }) {
25
- return r.shown ? r.shown(o) : !0;
24
+ visibleMethod({ row: r }) {
25
+ return o.shown ? o.shown(r) : !0;
26
26
  },
27
- checkRowKey: (l = r.defaultSelectedRowKeys) == null ? void 0 : l[0],
28
- reserve: d(r.preserveSelectedRowKeys) ? !0 : r.preserveSelectedRowKeys
27
+ checkRowKey: (i = o.defaultSelectedRowKeys) == null ? void 0 : i[0],
28
+ reserve: u(o.preserveSelectedRowKeys) ? !0 : o.preserveSelectedRowKeys
29
29
  } : t.checkboxConfig = {
30
30
  highlight: !0,
31
- checkMethod({ row: o }) {
32
- return r.disabled ? !r.disabled(o) : !0;
31
+ checkMethod({ row: r }) {
32
+ return o.disabled ? !o.disabled(r) : !0;
33
33
  },
34
- visibleMethod({ row: o }) {
35
- return r.shown ? r.shown(o) : !0;
34
+ visibleMethod({ row: r }) {
35
+ return o.shown ? o.shown(r) : !0;
36
36
  },
37
- checkRowKeys: r.defaultSelectedRowKeys,
38
- reserve: d(r.preserveSelectedRowKeys) ? !0 : r.preserveSelectedRowKeys,
39
- range: r.range || !1
37
+ checkRowKeys: o.defaultSelectedRowKeys,
38
+ reserve: u(o.preserveSelectedRowKeys) ? !0 : o.preserveSelectedRowKeys,
39
+ range: o.range || !1
40
40
  };
41
41
  }
42
- return t.border = e.bordered, e.expandable && (t.expandConfig = u(e.expandable, [
42
+ return t.border = e.bordered, e.expandable && (t.expandConfig = l(e.expandable, [
43
43
  "renderContent",
44
44
  "width",
45
45
  "title"
46
- ])), e.footer && (t.showFooter = !0, f(e.footer) ? t.footerMethod = e.footer : t.footerData = e.footer), e.virtual === !1 ? (t.virtualXConfig = {
46
+ ])), e.footer && (t.showFooter = !0, h(e.footer) ? t.footerMethod = e.footer : t.footerData = e.footer), e.virtual === !1 ? (t.virtualXConfig = {
47
47
  enabled: !1
48
48
  }, t.virtualYConfig = {
49
49
  enabled: !1
50
- }) : (s(t, "X", (n = e.virtual) == null ? void 0 : n.x), s(t, "Y", (i = e.virtual) == null ? void 0 : i.y)), t;
50
+ }) : (a(t, "X", e.virtual), a(t, "Y", e.virtual)), t;
51
51
  }
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
52
+ function a(e, t, i) {
53
+ const o = t === "X", r = o ? "x" : "y", n = o ? "virtualXConfig" : "virtualYConfig", s = i == null ? void 0 : i[r], f = s !== !1, d = o ? w : x, c = b(s) && s >= 0 ? s : d;
54
+ e[n] = {
55
+ enabled: f,
56
+ gt: c,
57
+ oSize: (i == null ? void 0 : i.oSize) || 0
57
58
  };
58
59
  }
59
- function b(e) {
60
+ function y(e) {
60
61
  return e === !0 ? "left" : e;
61
62
  }
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
63
+ function C(e, t) {
64
+ const i = e === !0 || !e.type ? "checkbox" : e.type, o = e === !0 ? 60 : e.columnWidth || 60;
65
+ let r = e === !0 ? void 0 : y(e.fixed);
66
+ return r || (r === !1 ? r = void 0 : r = t.some(
67
+ (n) => n.fixed === "left" || n.fixed === !0
67
68
  ) ? "left" : void 0), {
68
- type: l,
69
- width: n,
70
- fixed: i
69
+ type: i,
70
+ width: o,
71
+ fixed: r
71
72
  };
72
73
  }
73
- function x(e) {
74
+ function g(e) {
74
75
  const t = (e == null ? void 0 : e.width) || "auto";
75
76
  return {
76
77
  type: "expand",
@@ -79,7 +80,7 @@ function x(e) {
79
80
  };
80
81
  }
81
82
  export {
82
- x as getRowExpandProps,
83
- R as getRowSelectionProps,
84
- y as toVxeProps
83
+ g as getRowExpandProps,
84
+ C as getRowSelectionProps,
85
+ m as toVxeProps
85
86
  };
@@ -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;
@@ -1,7 +1,7 @@
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, Ref, VNode } from 'vue';
4
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, ComputedRef, Ref, VNode, RendererNode, RendererElement } 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
6
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & ApTableProps<RecordType> & Partial<{}>> & PublicProps;
7
7
  expose(exposed: ShallowUnwrapRef<{
@@ -85,7 +85,9 @@ declare const _default: <RecordType>(__VLS_props: NonNullable<Awaited<typeof __V
85
85
  }) => void;
86
86
  };
87
87
  emit: {};
88
- }>) => VNode & {
88
+ }>) => VNode<RendererNode, RendererElement, {
89
+ [key: string]: any;
90
+ }> & {
89
91
  __ctx?: Awaited<typeof __VLS_setup>;
90
92
  };
91
93
  export default _default;
@@ -1,4 +1,4 @@
1
- import { defineComponent as Ke, useSlots as Ee, ref as h, computed as s, unref as l, createVNode as p, Fragment as Z, watch as k, createElementBlock as B, openBlock as m, normalizeStyle as V, normalizeClass as y, createCommentVNode as ee, createElementVNode as K, mergeProps as w, createSlots as oe, withCtx as v, renderList as re, createBlock as ae, resolveDynamicComponent as Oe, renderSlot as R, normalizeProps as Le, guardReactiveProps as $e } from "vue";
1
+ import { defineComponent as Ke, useSlots as Ee, ref as h, computed as s, unref as l, createVNode as p, Fragment as Z, watch as k, openBlock as m, createElementBlock as B, normalizeClass as y, normalizeStyle as V, mergeProps as w, createSlots as ee, withCtx as v, renderList as oe, createBlock as re, resolveDynamicComponent as Oe, renderSlot as R, createCommentVNode as ae, createElementVNode as K, normalizeProps as Le, guardReactiveProps as $e } from "vue";
2
2
  import { Divider as Ae, Table as De } from "@aplus-frontend/antdv";
3
3
  import { useToken as je } from "@aplus-frontend/antdv/es/theme/internal";
4
4
  import { ApForm as We } from "../ap-form/index.mjs";
@@ -6,7 +6,7 @@ import { noRenderAsFormItemValueList as te } from "./constants.mjs";
6
6
  import "../config-provider/index.mjs";
7
7
  import { useTablePaging as _e } from "./hooks/use-table-paging-ng.mjs";
8
8
  import { isUndefined as g, omit as le, isBoolean as He } from "lodash-unified";
9
- import { getColumnOrder as ne, updateFormProps as Ue, getFieldProps as qe, getSearchFormItemRenderNode as Me, recursionApColumns as se, getTableTitle as Ge, getTableRenderType as Je, getTableRenderProps as Qe, getTableCellRenderNode as Xe, apColumnToColumn as Ye, falseToUndefined as Ze, objectToString as eo } from "./utils.mjs";
9
+ import { getColumnOrder as ne, updateFormProps as Ue, getFieldProps as qe, getSearchFormItemRenderNode as Me, recursionApColumns as se, apColumnToColumn as Ge, getTableTitle as Je, getTableRenderType as Qe, getTableRenderProps as Xe, getTableCellRenderNode as Ye, falseToUndefined as Ze, objectToString as eo } from "./utils.mjs";
10
10
  import oo from "./hooks/use-table-content-height.mjs";
11
11
  import ro from "./hooks/use-table-row-selection.mjs";
12
12
  import { getScrollbarSize as ao, isDef as to } from "../utils/index.mjs";
@@ -245,23 +245,23 @@ const Eo = /* @__PURE__ */ Ke({
245
245
  function a(t, d) {
246
246
  return t.map((n) => ({
247
247
  resizable: to(n.resizable) ? n.resizable : o.columnResizable,
248
- ...le(Ye(n), ["ellipsis"]),
248
+ ...le(Ge(n), ["ellipsis"]),
249
249
  // tips: 此函数内部依赖查询&筛选的相应式值
250
250
  ...M(n),
251
251
  fixed: d ? d.fixed : n.fixed,
252
- title: Ge(n, O("table-header", "title"), C.headerCell, l(ie).colorPrimary),
252
+ title: Je(n, O("table-header", "title"), C.headerCell, l(ie).colorPrimary),
253
253
  customRender({
254
254
  value: f,
255
255
  ...S
256
256
  }) {
257
257
  var X, Y;
258
- const J = Je(n), Ie = Qe({
258
+ const J = Qe(n), Ie = Xe({
259
259
  ...n,
260
260
  valueType: J
261
261
  }, {
262
262
  value: f,
263
263
  ...S
264
- }), Ne = Xe(J, Ie, S.record, l(L)), Q = ((X = n.renderText) == null ? void 0 : X.call(n, {
264
+ }), Ne = Ye(J, Ie, S.record, l(L)), Q = ((X = n.renderText) == null ? void 0 : X.call(n, {
265
265
  value: f,
266
266
  ...S
267
267
  })) || f, Ve = n.renderText ? p(Z, null, [(Y = n.renderText) == null ? void 0 : Y.call(n, {
@@ -414,8 +414,8 @@ const Eo = /* @__PURE__ */ Ke({
414
414
  "submit-loading": l(q).loading,
415
415
  onSubmit: l(H),
416
416
  onReset: l(U)
417
- }), oe({
418
- default: v(() => [(m(!0), B(Z, null, re(_.value, (r) => (m(), ae(Oe(r.renderNode.Comp), w({
417
+ }), ee({
418
+ default: v(() => [(m(!0), B(Z, null, oe(_.value, (r) => (m(), re(Oe(r.renderNode.Comp), w({
419
419
  key: r.dataIndex,
420
420
  item: r,
421
421
  ref_for: !0
@@ -428,7 +428,7 @@ const Eo = /* @__PURE__ */ Ke({
428
428
  name: "extra",
429
429
  fn: v(() => [R(e.$slots, "searchFormExtra")]),
430
430
  key: "0"
431
- } : void 0]), 1040, ["submit-loading", "onSubmit", "onReset"])], 6)) : ee("", !0), K("div", {
431
+ } : void 0]), 1040, ["submit-loading", "onSubmit", "onReset"])], 6)) : ae("", !0), K("div", {
432
432
  ref_key: "contentRef",
433
433
  ref: me,
434
434
  class: y([l(z)("table-wrapper"), e.card ? l(z)("table-wrapper-card") : null]),
@@ -444,10 +444,10 @@ const Eo = /* @__PURE__ */ Ke({
444
444
  selectedRows: l(F),
445
445
  selectedRowKeys: l(T).selectedRowKeys,
446
446
  shownColumns: u.value
447
- }, x))], 2), C.title ? (m(), ae(l(Ae), {
447
+ }, x))], 2), C.title ? (m(), re(l(Ae), {
448
448
  key: 0,
449
449
  type: "vertical"
450
- })) : ee("", !0), p(co, {
450
+ })) : ae("", !0), p(co, {
451
451
  config: e.settings === !0 ? {} : e.settings
452
452
  }, null, 8, ["config"])], 2)) : R(e.$slots, "title", w({
453
453
  key: 1,
@@ -463,7 +463,7 @@ const Eo = /* @__PURE__ */ Ke({
463
463
  "table-layout": Fe.value,
464
464
  columns: u.value,
465
465
  onResizeColumn: a[0] || (a[0] = (r, t) => t.width = r)
466
- }), oe({
466
+ }), ee({
467
467
  summary: v(() => [R(e.$slots, "summary", {
468
468
  columns: u.value,
469
469
  records: G.value.dataSource,
@@ -482,7 +482,7 @@ const Eo = /* @__PURE__ */ Ke({
482
482
  }, null, 8, ["scroll-container"])];
483
483
  }),
484
484
  key: "0"
485
- } : void 0, re(l(le)(C, ["title", "searchFormExtra", "headerCell", "summary"]), (r, t) => ({
485
+ } : void 0, oe(l(le)(C, ["title", "searchFormExtra", "headerCell", "summary"]), (r, t) => ({
486
486
  name: t,
487
487
  fn: v((d) => [R(e.$slots, t, Le($e(d || {})))])
488
488
  }))]), 1040, ["class", "size", "table-layout", "columns"])], 6)], 6));
@@ -1,4 +1,4 @@
1
- import { defineComponent as n, createBlock as o, openBlock as t, resolveDynamicComponent as r } from "vue";
1
+ import { defineComponent as n, openBlock as o, createBlock as t, resolveDynamicComponent as r } from "vue";
2
2
  const s = /* @__PURE__ */ n({
3
3
  name: "ApTableDynamicComponent",
4
4
  inheritAttrs: !1,
@@ -7,7 +7,7 @@ const s = /* @__PURE__ */ n({
7
7
  customRender: { type: Function }
8
8
  },
9
9
  setup(p) {
10
- return (e, a) => (t(), o(r(e.customRender(e.$attrs))));
10
+ return (e, a) => (o(), t(r(e.customRender(e.$attrs))));
11
11
  }
12
12
  });
13
13
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as n, computed as l, createElementBlock as s, openBlock as p, normalizeClass as d, toDisplayString as m } from "vue";
1
+ import { defineComponent as n, computed as l, openBlock as s, createElementBlock as p, normalizeClass as d, toDisplayString as m } from "vue";
2
2
  import "../../../config-provider/index.mjs";
3
3
  import { useNamespace as c } from "../../../config-provider/hooks/use-namespace.mjs";
4
4
  const _ = /* @__PURE__ */ n({
@@ -10,7 +10,7 @@ const _ = /* @__PURE__ */ n({
10
10
  },
11
11
  setup(e) {
12
12
  const o = e, { m: a } = c("ap-table-index"), r = l(() => [o.bordered ? a("bordered") : null].filter(Boolean));
13
- return (t, i) => (p(), s("div", {
13
+ return (t, i) => (s(), p("div", {
14
14
  class: d(r.value)
15
15
  }, m(t.value), 3));
16
16
  }
@@ -1,4 +1,4 @@
1
- import { defineComponent as x, ref as _, computed as B, createElementBlock as f, openBlock as i, mergeProps as E, unref as o, createElementVNode as O, createCommentVNode as N, normalizeClass as y, createVNode as b, createSlots as V, withCtx as m, createBlock as c, resolveDynamicComponent as v, h as w } from "vue";
1
+ import { defineComponent as x, ref as _, computed as B, openBlock as i, createElementBlock as f, mergeProps as E, unref as o, createElementVNode as O, normalizeClass as y, createVNode as b, createSlots as N, withCtx as m, createBlock as c, resolveDynamicComponent as v, h as w, createCommentVNode as V } from "vue";
2
2
  import "../../../config-provider/index.mjs";
3
3
  import { Tooltip as h } from "@aplus-frontend/antdv";
4
4
  import { CopyOutlined as j, CheckOutlined as S } from "@ant-design/icons-vue";
@@ -65,7 +65,7 @@ const G = /* @__PURE__ */ x({
65
65
  O("div", {
66
66
  class: y([o(u)("content")])
67
67
  }, [
68
- b(o(h), null, V({
68
+ b(o(h), null, N({
69
69
  default: m(() => {
70
70
  var s;
71
71
  return [
@@ -98,7 +98,7 @@ const G = /* @__PURE__ */ x({
98
98
  ]),
99
99
  _: 1
100
100
  }, 8, ["title"])
101
- ], 2)) : N("", !0)
101
+ ], 2)) : V("", !0)
102
102
  ], 16);
103
103
  };
104
104
  }
@@ -1,4 +1,4 @@
1
- import { defineComponent as G, ref as y, unref as e, computed as H, useSlots as L, createVNode as l, cloneVNode as M, createElementBlock as P, openBlock as x, Fragment as q, createBlock as J, createCommentVNode as Q, resolveDynamicComponent as W, withCtx as i, createElementVNode as s, normalizeClass as r, toDisplayString as c, createTextVNode as C, isRef as X } from "vue";
1
+ import { defineComponent as G, ref as y, unref as e, computed as H, useSlots as L, createVNode as l, cloneVNode as M, openBlock as x, createElementBlock as P, Fragment as q, createBlock as J, resolveDynamicComponent as Q, createCommentVNode as W, withCtx as i, createElementVNode as s, normalizeClass as r, toDisplayString as c, createTextVNode as C, isRef as X } from "vue";
2
2
  import { Button as B, Modal as Y, RadioGroup as Z, RadioButton as _, Divider as h } from "@aplus-frontend/antdv";
3
3
  import { getSingleVNode as ee } from "../../../../utils/slot.mjs";
4
4
  import { useInjectApTable as te } from "../../../context.mjs";
@@ -62,9 +62,9 @@ const re = {
62
62
  const p = N(n.value);
63
63
  E(p), I(p), (o = (t = m.config) == null ? void 0 : t.onChange) == null || o.call(t, p);
64
64
  }
65
- return (p, t) => (x(), P(q, null, [e(k) ? (x(), J(W(e(k)), {
65
+ return (p, t) => (x(), P(q, null, [e(k) ? (x(), J(Q(e(k)), {
66
66
  key: 0
67
- })) : Q("", !0), l(e(Y), {
67
+ })) : W("", !0), l(e(Y), {
68
68
  open: u.value,
69
69
  "onUpdate:open": t[2] || (t[2] = (o) => u.value = o),
70
70
  title: e(a)("ap.apTable.setting.title"),
@@ -1,4 +1,4 @@
1
- import { defineComponent as P, ref as U, computed as p, unref as l, watch as x, createElementBlock as v, openBlock as s, createElementVNode as k, normalizeClass as D, createVNode as u, withCtx as i, createBlock as h, resolveDynamicComponent as w, Fragment as L, renderList as j, mergeProps as z } from "vue";
1
+ import { defineComponent as P, ref as U, computed as p, unref as l, watch as x, openBlock as s, createElementBlock as v, createElementVNode as k, normalizeClass as D, createVNode as u, withCtx as i, createBlock as h, resolveDynamicComponent as w, Fragment as L, renderList as j, mergeProps as z } from "vue";
2
2
  import { Checkbox as b, Row as F, Col as I } from "@aplus-frontend/antdv";
3
3
  import "../../../../config-provider/index.mjs";
4
4
  import { useInjectApTable as R } from "../../../context.mjs";
@@ -1,4 +1,4 @@
1
- import { defineComponent as f, ref as c, createElementBlock as u, openBlock as n, normalizeClass as m, unref as r, createVNode as i, createCommentVNode as p, withCtx as k, createBlock as y } from "vue";
1
+ import { defineComponent as f, ref as c, openBlock as n, createElementBlock as u, normalizeClass as m, unref as r, createVNode as i, withCtx as k, createBlock as y, createCommentVNode as p } from "vue";
2
2
  import "./item.vue.mjs";
3
3
  import "../../../../config-provider/index.mjs";
4
4
  import V from "vuedraggable";
@@ -1,4 +1,4 @@
1
- import { defineComponent as E, createElementBlock as g, openBlock as s, normalizeClass as t, unref as e, createElementVNode as p, createVNode as c, createCommentVNode as r, createBlock as u, resolveDynamicComponent as I, withCtx as d } from "vue";
1
+ import { defineComponent as E, openBlock as s, createElementBlock as g, normalizeClass as t, unref as e, createElementVNode as p, createVNode as c, createCommentVNode as r, createBlock as u, resolveDynamicComponent as I, withCtx as d } from "vue";
2
2
  import { Space as O, Tooltip as m } from "@aplus-frontend/antdv";
3
3
  import { HolderOutlined as D, VerticalAlignTopOutlined as k, VerticalAlignMiddleOutlined as z, DeleteOutlined as A } from "@ant-design/icons-vue";
4
4
  import "../../../../config-provider/index.mjs";