@aplus-frontend/ui 0.5.17 → 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 (235) 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 +4 -4
  57. package/es/src/ap-info-layout/ApInfoLayout.vue.mjs +2 -2
  58. package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue2.mjs +2 -2
  59. package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue2.mjs +1 -1
  60. package/es/src/ap-list/index.vue.d.ts +4 -2
  61. package/es/src/ap-list/index.vue.mjs +4 -4
  62. package/es/src/ap-modal/utils/confirm.d.ts +1 -1
  63. package/es/src/ap-table/ap-table.vue.d.ts +4 -2
  64. package/es/src/ap-table/ap-table.vue2.mjs +26 -26
  65. package/es/src/ap-table/components/dynamic-component/index.vue2.mjs +2 -2
  66. package/es/src/ap-table/components/index/index.vue2.mjs +2 -2
  67. package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +3 -3
  68. package/es/src/ap-table/components/setting/modal/index.vue2.mjs +3 -3
  69. package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +1 -1
  70. package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +1 -1
  71. package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +1 -1
  72. package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +11 -11
  73. package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
  74. package/es/src/ap-table/components/status/index.vue2.mjs +2 -2
  75. package/es/src/ap-table/constants.mjs +40 -40
  76. package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  77. package/es/src/ap-table/hooks/use-table-column-state.mjs +3 -3
  78. package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -8
  79. package/es/src/ap-tag/ap-tag.vue.mjs +2 -2
  80. package/es/src/ap-upload/apUpload.vue.mjs +5 -5
  81. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  82. package/es/src/ap-upload/components/MultipleFile.vue2.mjs +3 -3
  83. package/es/src/ap-upload/components/Picture.vue.d.ts +7 -2
  84. package/es/src/ap-upload/components/Picture.vue2.mjs +6 -6
  85. package/es/src/ap-upload/components/SingleFile.vue2.mjs +7 -7
  86. package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +1 -1
  87. package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +2 -2
  88. package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +2 -2
  89. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +10 -10
  90. package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +1 -1
  91. package/es/src/business/ap-batch-action-group/index.d.ts +3 -3
  92. package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
  93. package/es/src/business/ap-card/ApCard.vue2.mjs +7 -7
  94. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
  95. package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +11 -11
  96. package/es/src/business/ap-expand-alert/index.d.ts +6 -4
  97. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +9 -9
  98. package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +5 -5
  99. package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +4 -4
  100. package/es/src/business/ap-group-search/images/icon-down.vue.mjs +2 -2
  101. package/es/src/business/ap-group-search/images/icon-line-select.vue.mjs +2 -2
  102. package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +2 -2
  103. package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
  104. package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +2 -2
  105. package/es/src/business/ap-ladder/ApLadder.vue.d.ts +2 -14
  106. package/es/src/business/ap-ladder/ApLadder.vue2.mjs +64 -266
  107. package/es/src/business/ap-ladder/components/SimpleMode.vue.d.ts +110 -0
  108. package/es/src/business/ap-ladder/components/SimpleMode.vue.mjs +4 -0
  109. package/es/src/business/ap-ladder/components/SimpleMode.vue2.mjs +119 -0
  110. package/es/src/business/ap-ladder/components/ValueGroupMode.vue.d.ts +118 -0
  111. package/es/src/business/ap-ladder/components/ValueGroupMode.vue.mjs +4 -0
  112. package/es/src/business/ap-ladder/components/ValueGroupMode.vue2.mjs +213 -0
  113. package/es/src/business/ap-ladder/index.d.ts +4 -35
  114. package/es/src/business/ap-ladder/interface.d.ts +26 -0
  115. package/es/src/business/ap-ladder/useWatchEllipsis.d.ts +1 -2
  116. package/es/src/business/ap-ladder/useWatchEllipsis.origin.d.ts +3 -0
  117. package/es/src/business/ap-ladder/utils.d.ts +2 -0
  118. package/es/src/business/ap-ladder/utils.mjs +5 -0
  119. package/es/src/business/ap-select-layout/index.d.ts +4 -2
  120. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
  121. package/es/src/business/ap-select-layout/select-layout.vue2.mjs +4 -4
  122. package/es/src/business/ap-status/ApStatus.vue2.mjs +8 -8
  123. package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +4 -4
  124. package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
  125. package/es/src/business/ap-table-modal/hooks/use-create-table-modal.mjs +1 -1
  126. package/es/src/business/ap-table-modal/interface.d.ts +1 -1
  127. package/es/src/business/ap-table-modal/modal-title.vue2.mjs +3 -3
  128. package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +20 -21
  129. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +17 -17
  130. package/es/src/business/ap-title/ApTitle.vue2.mjs +7 -7
  131. package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +1 -1
  132. package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +2 -2
  133. package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +2 -2
  134. package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
  135. package/es/src/business/batch-input-group/index.vue.mjs +1 -1
  136. package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
  137. package/es/src/check-card/index.vue2.mjs +3 -3
  138. package/es/src/config-provider/hooks/use-namespace.d.ts +1 -5
  139. package/es/src/editable-table/form-item.vue.d.ts +4 -2
  140. package/es/src/editable-table/form-item.vue.mjs +2 -2
  141. package/es/src/editable-table/index.vue.d.ts +4 -2
  142. package/es/src/editable-table/index.vue.mjs +2 -2
  143. package/es/src/full-screen/index.vue.mjs +3 -3
  144. package/es/src/hooks/useFullScreen.mjs +5 -5
  145. package/es/src/mask/index.vue.mjs +10 -10
  146. package/es/src/mask/style/css.d.ts +0 -0
  147. package/es/src/mask/style/css.js +1 -0
  148. package/es/src/mask/style/index.d.ts +0 -0
  149. package/es/src/mask/style/index.js +1 -0
  150. package/es/src/path-map.mjs +3 -1
  151. package/es/src/portal/index.vue.mjs +2 -2
  152. package/es/src/scroll-bar/index.vue.mjs +3 -3
  153. package/es/src/scroll-bar/internal.vue.mjs +2 -2
  154. package/es/src/scroll-view/index.vue.d.ts +5 -5
  155. package/es/src/scroll-view/index.vue.mjs +9 -9
  156. package/es/src/tests/wrapper.d.ts +4 -4
  157. package/es/src/text/group.vue.mjs +2 -2
  158. package/es/src/text/index.vue.mjs +4 -4
  159. package/es/src/text/style/css.d.ts +0 -0
  160. package/es/src/text/style/css.js +2 -0
  161. package/es/src/text/style/index.d.ts +0 -0
  162. package/es/src/text/style/index.js +2 -0
  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 +3 -2
  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-form/ap-form.vue.d.ts +2 -1
  170. package/lib/src/ap-form/drawer-form/index.vue.d.ts +4 -3
  171. package/lib/src/ap-form/modal-form/index.vue.d.ts +4 -3
  172. package/lib/src/ap-form/search-form/index.vue.d.ts +4 -3
  173. package/lib/src/ap-grid/editable/form-item.vue.d.ts +4 -2
  174. package/lib/src/ap-grid/editable/index.vue.d.ts +4 -2
  175. package/lib/src/ap-grid/index.vue.d.ts +4 -2
  176. package/lib/src/ap-list/index.vue.d.ts +4 -2
  177. package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
  178. package/lib/src/ap-table/ap-table.vue.d.ts +4 -2
  179. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  180. package/lib/src/ap-table/constants.js +1 -1
  181. package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  182. package/lib/src/ap-upload/apUpload.vue.js +1 -1
  183. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  184. package/lib/src/ap-upload/components/Picture.vue.d.ts +7 -2
  185. package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
  186. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
  187. package/lib/src/business/ap-expand-alert/index.d.ts +6 -4
  188. package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +2 -14
  189. package/lib/src/business/ap-ladder/ApLadder.vue2.js +1 -1
  190. package/lib/src/business/ap-ladder/components/SimpleMode.vue.d.ts +110 -0
  191. package/lib/src/business/ap-ladder/components/SimpleMode.vue.js +1 -0
  192. package/lib/src/business/ap-ladder/components/SimpleMode.vue2.js +1 -0
  193. package/lib/src/business/ap-ladder/components/ValueGroupMode.vue.d.ts +118 -0
  194. package/lib/src/business/ap-ladder/components/ValueGroupMode.vue.js +1 -0
  195. package/lib/src/business/ap-ladder/components/ValueGroupMode.vue2.js +1 -0
  196. package/lib/src/business/ap-ladder/index.d.ts +4 -35
  197. package/lib/src/business/ap-ladder/interface.d.ts +26 -0
  198. package/lib/src/business/ap-ladder/useWatchEllipsis.d.ts +1 -2
  199. package/lib/src/business/ap-ladder/useWatchEllipsis.origin.d.ts +3 -0
  200. package/lib/src/business/ap-ladder/utils.d.ts +2 -0
  201. package/lib/src/business/ap-ladder/utils.js +1 -0
  202. package/lib/src/business/ap-select-layout/index.d.ts +4 -2
  203. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
  204. package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.js +1 -1
  205. package/lib/src/business/ap-table-modal/interface.d.ts +1 -1
  206. package/lib/src/business/ap-table-modal/modal-title.vue2.js +1 -1
  207. package/lib/src/business/ap-table-modal/table-layout/index.vue2.js +1 -1
  208. package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
  209. package/lib/src/config-provider/hooks/use-namespace.d.ts +1 -5
  210. package/lib/src/editable-table/form-item.vue.d.ts +4 -2
  211. package/lib/src/editable-table/index.vue.d.ts +4 -2
  212. package/lib/src/mask/style/css.cjs +1 -0
  213. package/lib/src/mask/style/css.d.ts +0 -0
  214. package/lib/src/mask/style/index.cjs +1 -0
  215. package/lib/src/mask/style/index.d.ts +0 -0
  216. package/lib/src/path-map.js +1 -1
  217. package/lib/src/scroll-view/index.vue.d.ts +5 -5
  218. package/lib/src/tests/wrapper.d.ts +4 -4
  219. package/lib/src/text/style/css.cjs +2 -0
  220. package/lib/src/text/style/css.d.ts +0 -0
  221. package/lib/src/text/style/index.cjs +2 -0
  222. package/lib/src/text/style/index.d.ts +0 -0
  223. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +3 -2
  224. package/package.json +1 -1
  225. package/theme/ap-ladder/ap-ladder.css +28 -1
  226. package/theme/ap-ladder/ap-ladder.less +32 -1
  227. package/theme/index.css +28 -1
  228. package/es/src/business/ap-ladder/HelpMessageIcon.vue.d.ts +0 -14
  229. package/es/src/business/ap-ladder/HelpMessageIcon.vue.mjs +0 -4
  230. package/es/src/business/ap-ladder/HelpMessageIcon.vue2.mjs +0 -35
  231. package/es/src/business/ap-ladder/useWatchEllipsis.mjs +0 -35
  232. package/lib/src/business/ap-ladder/HelpMessageIcon.vue.d.ts +0 -14
  233. package/lib/src/business/ap-ladder/HelpMessageIcon.vue.js +0 -1
  234. package/lib/src/business/ap-ladder/HelpMessageIcon.vue2.js +0 -1
  235. package/lib/src/business/ap-ladder/useWatchEllipsis.js +0 -1
@@ -1,4 +1,4 @@
1
- import { defineComponent as ke, useSlots as Fe, getCurrentInstance as Be, ref as R, computed as n, unref as o, watch as z, createElementBlock as k, openBlock as s, normalizeStyle as T, normalizeClass as f, createCommentVNode as C, createElementVNode as F, 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, normalizeProps as J, guardReactiveProps as Ie } from "vue";
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
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";
@@ -14,7 +14,7 @@ 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";
@@ -195,12 +195,12 @@ const Ro = /* @__PURE__ */ ke({
195
195
  He({
196
196
  columns: n(() => i.value),
197
197
  columnsBackup: n(() => O.value),
198
- size: n(() => w.value ? Me[w.value] : "middle"),
198
+ size: n(() => w.value ? We[w.value] : "middle"),
199
199
  updateColumns(e) {
200
200
  i.value = e;
201
201
  },
202
202
  updateSize(e) {
203
- w.value = We[e];
203
+ w.value = Me[e];
204
204
  },
205
205
  renderConfig: n(() => ({
206
206
  className: te("table-header", "title"),
@@ -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, watch as k, createElementBlock as B, openBlock as p, normalizeStyle as V, normalizeClass as m, createCommentVNode as Z, createElementVNode as K, createVNode as y, mergeProps as w, createSlots as ee, withCtx as v, Fragment as oe, 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, falseToUndefined as Ge, getTableTitle as Je, getTableRenderType as Qe, getTableRenderProps as Xe, getTableCellRenderNode as Ye, apColumnToColumn 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";
@@ -17,9 +17,9 @@ import "../scroll-bar/index.mjs";
17
17
  import { useStickyScroll as no } from "./hooks/use-sticky-scroll.mjs";
18
18
  import { useNamespace as so } from "../config-provider/hooks/use-namespace.mjs";
19
19
  import { useGlobalConfig as uo } from "../config-provider/hooks/use-global-config.mjs";
20
- import io from "./components/setting/modal/index.vue2.mjs";
21
- import co from "../scroll-bar/index.vue.mjs";
22
- import fo from "./components/paragraph-ellipsis/index.vue2.mjs";
20
+ import io from "./components/paragraph-ellipsis/index.vue2.mjs";
21
+ import co from "./components/setting/modal/index.vue2.mjs";
22
+ import fo from "../scroll-bar/index.vue.mjs";
23
23
  const Eo = /* @__PURE__ */ Ke({
24
24
  name: "ApTable",
25
25
  __name: "ap-table",
@@ -245,7 +245,7 @@ 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(Ze(n), ["ellipsis"]),
248
+ ...le(Ge(n), ["ellipsis"]),
249
249
  // tips: 此函数内部依赖查询&筛选的相应式值
250
250
  ...M(n),
251
251
  fixed: d ? d.fixed : n.fixed,
@@ -264,7 +264,7 @@ const Eo = /* @__PURE__ */ Ke({
264
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
- })) || f, Ve = n.renderText ? y(oe, null, [(Y = n.renderText) == null ? void 0 : Y.call(n, {
267
+ })) || f, Ve = n.renderText ? p(Z, null, [(Y = n.renderText) == null ? void 0 : Y.call(n, {
268
268
  value: f,
269
269
  ...S
270
270
  })]) : Ne;
@@ -325,7 +325,7 @@ const Eo = /* @__PURE__ */ Ke({
325
325
  ...a,
326
326
  // tips 如果是前端分页,则默认会走缓存
327
327
  preserveSelectedRowKeys: g(o.dataSource) ? a.preserveSelectedRowKeys : !0
328
- } : Ge(o.rowSelection),
328
+ } : Ze(o.rowSelection),
329
329
  loading: g(o.loading) ? e.loading : o.loading,
330
330
  pagination: o.pagination === !1 ? !1 : e.pagination,
331
331
  scroll: l(Te)
@@ -338,7 +338,7 @@ const Eo = /* @__PURE__ */ Ke({
338
338
  if (te.includes(e.valueType))
339
339
  return r;
340
340
  const t = eo(a);
341
- return e.copyable || e.ellipsis ? y(fo, {
341
+ return e.copyable || e.ellipsis ? p(io, {
342
342
  copyable: e.copyable,
343
343
  rawValue: t,
344
344
  ellipsis: e.ellipsis ? He(e.ellipsis) ? {
@@ -396,18 +396,18 @@ const Eo = /* @__PURE__ */ Ke({
396
396
  },
397
397
  y: void 0
398
398
  }
399
- }), (e, a) => (p(), B("div", {
399
+ }), (e, a) => (m(), B("div", {
400
400
  ref_key: "tableWrapperRef",
401
401
  ref: $,
402
- class: m(xe.value),
402
+ class: y(xe.value),
403
403
  style: V(l(fe)({
404
404
  "scroll-bar-width": `${l(W)}px`
405
405
  }))
406
- }, [l(g)(e.dataSource) && e.searchForm !== !1 && _.value.length > 0 ? (p(), B("div", {
406
+ }, [l(g)(e.dataSource) && e.searchForm !== !1 && _.value.length > 0 ? (m(), B("div", {
407
407
  key: 0,
408
- class: m(e.card ? l(z)("search-wrapper") : null),
408
+ class: y(e.card ? l(z)("search-wrapper") : null),
409
409
  style: V(e.searchFormWrapperStyle)
410
- }, [y(l(We).SearchForm, w(e.searchForm || {}, {
410
+ }, [p(l(We).SearchForm, w(e.searchForm || {}, {
411
411
  ref_key: "formRef",
412
412
  ref: I,
413
413
  "custom-reset": "",
@@ -415,7 +415,7 @@ const Eo = /* @__PURE__ */ Ke({
415
415
  onSubmit: l(H),
416
416
  onReset: l(U)
417
417
  }), ee({
418
- default: v(() => [(p(!0), B(oe, null, re(_.value, (r) => (p(), ae(Oe(r.renderNode.Comp), w({
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,33 +428,33 @@ 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)) : Z("", !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
- class: m([l(z)("table-wrapper"), e.card ? l(z)("table-wrapper-card") : null]),
434
+ class: y([l(z)("table-wrapper"), e.card ? l(z)("table-wrapper-card") : null]),
435
435
  style: V(e.tableWrapperStyle)
436
436
  }, [K("div", {
437
- class: m(l(c)("header-wrapper"))
438
- }, [e.settings ? (p(), B("div", {
437
+ class: y(l(c)("header-wrapper"))
438
+ }, [e.settings ? (m(), B("div", {
439
439
  key: 0,
440
- class: m(l(c)("header"))
440
+ class: y(l(c)("header"))
441
441
  }, [K("div", {
442
- class: m(l(O)("header", "title"))
442
+ class: y(l(O)("header", "title"))
443
443
  }, [R(e.$slots, "title", w({
444
444
  selectedRows: l(F),
445
445
  selectedRowKeys: l(T).selectedRowKeys,
446
446
  shownColumns: u.value
447
- }, x))], 2), C.title ? (p(), ae(l(Ae), {
447
+ }, x))], 2), C.title ? (m(), re(l(Ae), {
448
448
  key: 0,
449
449
  type: "vertical"
450
- })) : Z("", !0), y(io, {
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,
454
454
  selectedRows: l(F),
455
455
  selectedRowKeys: l(T).selectedRowKeys,
456
456
  shownColumns: u.value
457
- }, x))], 2), y(l(De), w({
457
+ }, x))], 2), p(l(De), w({
458
458
  ref_key: "antdTableRef",
459
459
  ref: A,
460
460
  class: l(c)("table")
@@ -474,7 +474,7 @@ const Eo = /* @__PURE__ */ Ke({
474
474
  name: "bottomPaginationTop",
475
475
  fn: v(() => {
476
476
  var r, t;
477
- return [y(l(co), {
477
+ return [p(l(fo), {
478
478
  ref_key: "scrollBarRef",
479
479
  ref: i,
480
480
  "scroll-container": (t = (r = A.value) == null ? void 0 : r.table) == null ? void 0 : t.scrollBodyRef,
@@ -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";
@@ -1,4 +1,4 @@
1
- import { defineComponent as A, ref as L, computed as O, watch as $, createElementBlock as y, openBlock as c, normalizeClass as d, unref as n, createVNode as m, createElementVNode as v, withCtx as g, toDisplayString as k, createTextVNode as q, createCommentVNode as p, createBlock as b } from "vue";
1
+ import { defineComponent as A, ref as L, unref as n, computed as O, watch as $, openBlock as c, createElementBlock as y, normalizeClass as d, createVNode as m, withCtx as v, createElementVNode as g, toDisplayString as k, createTextVNode as q, createBlock as b, createCommentVNode as p } from "vue";
2
2
  import { Flex as G, Button as H, Divider as J } from "@aplus-frontend/antdv";
3
3
  import N from "vuedraggable";
4
4
  import "../sortable/index.vue.mjs";
@@ -112,8 +112,8 @@ const W = { key: 0 }, X = { key: 1 }, Y = { key: 2 }, re = /* @__PURE__ */ A({
112
112
  align: "center",
113
113
  justify: "space-between"
114
114
  }, {
115
- default: g(() => [
116
- v("span", {
115
+ default: v(() => [
116
+ g("span", {
117
117
  class: d(n(r)("header-title"))
118
118
  }, k(n(h)("ap.apTable.setting.selectCount", { count: z.value })), 3),
119
119
  m(n(H), {
@@ -122,7 +122,7 @@ const W = { key: 0 }, X = { key: 1 }, Y = { key: 2 }, re = /* @__PURE__ */ A({
122
122
  style: { padding: "0" },
123
123
  onClick: x.onReset
124
124
  }, {
125
- default: g(() => [
125
+ default: v(() => [
126
126
  q(k(n(h)("ap.apTable.setting.reset")), 1)
127
127
  ]),
128
128
  _: 1
@@ -131,11 +131,11 @@ const W = { key: 0 }, X = { key: 1 }, Y = { key: 2 }, re = /* @__PURE__ */ A({
131
131
  _: 1
132
132
  }, 8, ["class"]),
133
133
  m(n(J), { style: { margin: "0px" } }),
134
- v("div", {
134
+ g("div", {
135
135
  class: d(n(r)("content"))
136
136
  }, [
137
137
  i.value.length ? (c(), y("div", W, [
138
- v("span", {
138
+ g("span", {
139
139
  class: d(n(r)("section-title"))
140
140
  }, k(n(h)("ap.apTable.setting.fixToLeft")), 3),
141
141
  m(n(N), {
@@ -143,7 +143,7 @@ const W = { key: 0 }, X = { key: 1 }, Y = { key: 2 }, re = /* @__PURE__ */ A({
143
143
  "item-key": "key",
144
144
  "onUpdate:modelValue": D
145
145
  }, {
146
- item: g(({ element: o }) => [
146
+ item: v(({ element: o }) => [
147
147
  C(o) ? (c(), b(R, {
148
148
  key: 0,
149
149
  value: o
@@ -153,7 +153,7 @@ const W = { key: 0 }, X = { key: 1 }, Y = { key: 2 }, re = /* @__PURE__ */ A({
153
153
  }, 8, ["model-value"])
154
154
  ])) : p("", !0),
155
155
  s.value.length ? (c(), y("div", X, [
156
- v("span", {
156
+ g("span", {
157
157
  class: d(n(r)("section-title"))
158
158
  }, k(n(h)("ap.apTable.setting.unFixed")), 3),
159
159
  m(n(N), {
@@ -161,7 +161,7 @@ const W = { key: 0 }, X = { key: 1 }, Y = { key: 2 }, re = /* @__PURE__ */ A({
161
161
  "item-key": "key",
162
162
  "onUpdate:modelValue": E
163
163
  }, {
164
- item: g(({ element: o }) => [
164
+ item: v(({ element: o }) => [
165
165
  C(o) ? (c(), b(R, {
166
166
  key: 0,
167
167
  value: o
@@ -171,7 +171,7 @@ const W = { key: 0 }, X = { key: 1 }, Y = { key: 2 }, re = /* @__PURE__ */ A({
171
171
  }, 8, ["model-value"])
172
172
  ])) : p("", !0),
173
173
  u.value.length ? (c(), y("div", Y, [
174
- v("span", {
174
+ g("span", {
175
175
  class: d(n(r)("section-title"))
176
176
  }, k(n(h)("ap.apTable.setting.fixToRight")), 3),
177
177
  m(n(N), {
@@ -179,7 +179,7 @@ const W = { key: 0 }, X = { key: 1 }, Y = { key: 2 }, re = /* @__PURE__ */ A({
179
179
  "item-key": "key",
180
180
  "onUpdate:modelValue": j
181
181
  }, {
182
- item: g(({ element: o }) => [
182
+ item: v(({ element: o }) => [
183
183
  C(o) ? (c(), b(R, {
184
184
  key: 0,
185
185
  value: o
@@ -1,4 +1,4 @@
1
- import { defineComponent as x, computed as w, unref as o, createElementBlock as i, openBlock as c, createVNode as s, withCtx as d, Fragment as m, renderList as B, createBlock as u, mergeProps as I, resolveDynamicComponent as L } from "vue";
1
+ import { defineComponent as x, computed as w, unref as o, openBlock as c, createElementBlock as i, createVNode as s, withCtx as d, Fragment as m, renderList as B, createBlock as u, mergeProps as I, resolveDynamicComponent as L } from "vue";
2
2
  import { Row as N, Col as k, Checkbox as P } from "@aplus-frontend/antdv";
3
3
  import "../select-group/index.vue.mjs";
4
4
  import { useInjectApTable as U } from "../../../context.mjs";
@@ -1,4 +1,4 @@
1
- import { defineComponent as n, computed as o, createBlock as u, createCommentVNode as a, openBlock as m, unref as p, normalizeProps as l, mergeProps as c } from "vue";
1
+ import { defineComponent as n, computed as o, openBlock as u, createBlock as a, unref as m, normalizeProps as p, mergeProps as l, createCommentVNode as c } from "vue";
2
2
  import { Badge as s } from "@aplus-frontend/antdv";
3
3
  const _ = /* @__PURE__ */ n({
4
4
  name: "ApTableStatus",
@@ -9,7 +9,7 @@ const _ = /* @__PURE__ */ n({
9
9
  },
10
10
  setup(t) {
11
11
  const e = t, r = o(() => e.valueEnum[e.value]);
12
- return (d, f) => r.value ? (m(), u(p(s), l(c({ key: 0 }, r.value)), null, 16)) : a("", !0);
12
+ return (d, f) => r.value ? (u(), a(m(s), p(l({ key: 0 }, r.value)), null, 16)) : c("", !0);
13
13
  }
14
14
  });
15
15
  export {
@@ -3,53 +3,53 @@ import "../ap-field/index.mjs";
3
3
  import "../ap-form/index.mjs";
4
4
  import "./components/index/index.vue.mjs";
5
5
  import "./components/status/index.vue.mjs";
6
+ import o from "../ap-form/items/date/index.vue.mjs";
7
+ import r from "../ap-form/items/date-range/index.vue.mjs";
8
+ import i from "../ap-form/items/number/index.vue.mjs";
9
+ import t from "../ap-form/items/radio/index.vue.mjs";
10
+ import a from "../ap-form/items/select/index.vue.mjs";
11
+ import f from "../ap-form/items/switch/index.vue.mjs";
6
12
  import { ApFormItemText as m } from "../ap-form/items/text/index.mjs";
7
- import o from "../ap-form/items/checkbox/index.vue.mjs";
8
- import r from "../ap-form/items/text-area/index.vue.mjs";
9
- import i from "../ap-form/items/switch/index.vue.mjs";
10
- import t from "../ap-form/items/select/index.vue.mjs";
11
- import a from "../ap-form/items/radio/index.vue.mjs";
12
- import f from "../ap-form/items/number/index.vue.mjs";
13
- import _ from "../ap-form/items/date-range/index.vue.mjs";
14
- import e from "../ap-form/items/date/index.vue.mjs";
15
- import s from "../ap-field/text/password.vue.mjs";
16
- import p from "./components/status/index.vue2.mjs";
17
- import c from "./components/index/index.vue2.mjs";
18
- import n from "../ap-action/group/index.vue.mjs";
19
- import $ from "../ap-field/checkbox/index.vue.mjs";
20
- import d from "../ap-field/text-area/index.vue.mjs";
13
+ import _ from "../ap-form/items/text-area/index.vue.mjs";
14
+ import e from "../ap-form/items/checkbox/index.vue.mjs";
15
+ import s from "../ap-field/date/index.vue.mjs";
16
+ import p from "../ap-field/date-range/index.vue.mjs";
17
+ import c from "../ap-field/number/index.vue.mjs";
18
+ import n from "../ap-field/radio/index.vue.mjs";
19
+ import $ from "../ap-field/select/index.vue.mjs";
20
+ import d from "../ap-field/switch/index.vue.mjs";
21
21
  import { ApFieldText as x } from "../ap-field/text/index.mjs";
22
- import b from "../ap-field/switch/index.vue.mjs";
23
- import l from "../ap-field/select/index.vue.mjs";
24
- import h from "../ap-field/radio/index.vue.mjs";
25
- import w from "../ap-field/number/index.vue.mjs";
26
- import A from "../ap-field/date-range/index.vue.mjs";
27
- import u from "../ap-field/date/index.vue.mjs";
22
+ import b from "../ap-field/text-area/index.vue.mjs";
23
+ import l from "../ap-field/checkbox/index.vue.mjs";
24
+ import h from "../ap-action/group/index.vue.mjs";
25
+ import w from "./components/index/index.vue2.mjs";
26
+ import A from "./components/status/index.vue2.mjs";
27
+ import u from "../ap-field/text/password.vue.mjs";
28
28
  const U = {
29
- date: e,
30
- dateRange: _,
31
- number: f,
32
- radio: a,
33
- select: t,
34
- switch: i,
29
+ date: o,
30
+ dateRange: r,
31
+ number: i,
32
+ radio: t,
33
+ select: a,
34
+ switch: f,
35
35
  text: m,
36
- textArea: r,
37
- checkbox: o,
36
+ textArea: _,
37
+ checkbox: e,
38
38
  password: m.Password
39
39
  }, W = {
40
- date: u,
41
- dateRange: A,
42
- number: w,
43
- radio: h,
44
- select: l,
45
- switch: b,
40
+ date: s,
41
+ dateRange: p,
42
+ number: c,
43
+ radio: n,
44
+ select: $,
45
+ switch: d,
46
46
  text: x,
47
- textArea: d,
48
- checkbox: $,
49
- action: n,
50
- index: c,
51
- status: p,
52
- password: s
47
+ textArea: b,
48
+ checkbox: l,
49
+ action: h,
50
+ index: w,
51
+ status: A,
52
+ password: u
53
53
  }, X = [
54
54
  "action",
55
55
  "index"