@aplus-frontend/ui 6.17.0 → 6.17.2

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 (253) 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-drawer/components/ApDrawerClose.vue2.mjs +2 -2
  13. package/es/src/ap-field/checkbox/index.vue.mjs +1 -1
  14. package/es/src/ap-field/date/index.vue.mjs +4 -4
  15. package/es/src/ap-field/date-range/index.vue.mjs +8 -8
  16. package/es/src/ap-field/index.mjs +36 -36
  17. package/es/src/ap-field/number/index.vue.mjs +8 -8
  18. package/es/src/ap-field/radio/index.vue.mjs +1 -1
  19. package/es/src/ap-field/rate/index.vue.mjs +2 -2
  20. package/es/src/ap-field/segmented/index.vue.mjs +1 -1
  21. package/es/src/ap-field/select/index.vue.mjs +2 -2
  22. package/es/src/ap-field/select/use-select-options.d.ts +2 -2
  23. package/es/src/ap-field/slider/index.vue.mjs +4 -4
  24. package/es/src/ap-field/switch/index.vue.mjs +3 -3
  25. package/es/src/ap-field/text/index.vue2.mjs +2 -2
  26. package/es/src/ap-field/text/password.vue.mjs +2 -2
  27. package/es/src/ap-field/text-area/index.vue.mjs +3 -3
  28. package/es/src/ap-field/tree-select/index.vue.mjs +3 -3
  29. package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
  30. package/es/src/ap-form/ap-form.vue.d.ts +2 -1
  31. package/es/src/ap-form/ap-form.vue2.mjs +2 -2
  32. package/es/src/ap-form/drawer-form/index.vue.d.ts +4 -3
  33. package/es/src/ap-form/drawer-form/index.vue.mjs +9 -9
  34. package/es/src/ap-form/item/index.vue.mjs +7 -7
  35. package/es/src/ap-form/item-group/index.vue.mjs +1 -1
  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 +4 -3
  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/components/popover-filter.vue2.mjs +10 -10
  53. package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +23 -23
  54. package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.mjs +2 -2
  55. package/es/src/ap-form/search-form/index.vue.d.ts +4 -3
  56. package/es/src/ap-form/search-form/index.vue.mjs +1 -1
  57. package/es/src/ap-form/set/index.vue.mjs +1 -1
  58. package/es/src/ap-grid/editable/form-item.vue.d.ts +4 -2
  59. package/es/src/ap-grid/editable/form-item.vue.mjs +2 -2
  60. package/es/src/ap-grid/editable/index.vue.d.ts +4 -2
  61. package/es/src/ap-grid/editable/index.vue.mjs +2 -2
  62. package/es/src/ap-grid/index.vue.d.ts +4 -2
  63. package/es/src/ap-grid/index.vue.mjs +19 -19
  64. package/es/src/ap-grid/utils/table.mjs +59 -41
  65. package/es/src/ap-list/index.vue.d.ts +4 -2
  66. package/es/src/ap-list/index.vue.mjs +1 -1
  67. package/es/src/ap-modal/utils/confirm.d.ts +1 -1
  68. package/es/src/ap-table/ap-table.vue.d.ts +4 -2
  69. package/es/src/ap-table/ap-table.vue2.mjs +13 -13
  70. package/es/src/ap-table/components/index/index.vue2.mjs +2 -2
  71. package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +3 -3
  72. package/es/src/ap-table/components/setting/modal/index.vue2.mjs +3 -3
  73. package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +1 -1
  74. package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +1 -1
  75. package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +1 -1
  76. package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +11 -11
  77. package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
  78. package/es/src/ap-table/components/status/index.vue2.mjs +2 -2
  79. package/es/src/ap-table/constants.d.ts +5 -5
  80. package/es/src/ap-table/constants.mjs +45 -45
  81. package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  82. package/es/src/ap-table/hooks/use-table-column-state.mjs +3 -3
  83. package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -8
  84. package/es/src/ap-tag/ap-tag.vue.mjs +2 -2
  85. package/es/src/ap-upload/apUpload.vue.mjs +5 -5
  86. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  87. package/es/src/ap-upload/components/MultipleFile.vue2.mjs +3 -3
  88. package/es/src/ap-upload/components/Picture.vue.d.ts +7 -2
  89. package/es/src/ap-upload/components/Picture.vue2.mjs +6 -6
  90. package/es/src/ap-upload/components/SingleFile.vue2.mjs +7 -7
  91. package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +1 -1
  92. package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +2 -2
  93. package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +6 -6
  94. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +9 -9
  95. package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +1 -1
  96. package/es/src/business/ap-batch-action-group/index.d.ts +3 -3
  97. package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
  98. package/es/src/business/ap-card/ApCard.vue2.mjs +9 -9
  99. package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +10 -1
  100. package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue2.mjs +105 -104
  101. package/es/src/business/ap-draggable-grid/constans.d.ts +4 -0
  102. package/es/src/business/ap-draggable-grid/constans.mjs +4 -0
  103. package/es/src/business/ap-draggable-grid/index.d.ts +16 -1
  104. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
  105. package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +11 -11
  106. package/es/src/business/ap-expand-alert/index.d.ts +6 -4
  107. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +7 -7
  108. package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
  109. package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +2 -2
  110. package/es/src/business/ap-keep-alive/keep-alive.mjs +3 -3
  111. package/es/src/business/ap-ladder/components/RenderValue.mjs +2 -2
  112. package/es/src/business/ap-radio-group/ap-radio-group.vue2.mjs +1 -1
  113. package/es/src/business/ap-select-layout/index.d.ts +4 -2
  114. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
  115. package/es/src/business/ap-select-layout/select-layout.vue2.mjs +4 -4
  116. package/es/src/business/ap-status/ApStatus.vue2.mjs +8 -8
  117. package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +4 -4
  118. package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
  119. package/es/src/business/ap-table-modal/index.d.ts +5 -17
  120. package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
  121. package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +14 -14
  122. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +3 -3
  123. package/es/src/business/ap-title/ApTitle.vue2.mjs +7 -7
  124. package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +1 -1
  125. package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +2 -2
  126. package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +2 -2
  127. package/es/src/business/ap-view/ap-view.vue2.mjs +2 -2
  128. package/es/src/business/ap-view/components/main-button-content.vue.d.ts +3 -2
  129. package/es/src/business/ap-view/components/main-button-content.vue2.mjs +5 -5
  130. package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +3 -2
  131. package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +6 -6
  132. package/es/src/business/ap-view/icons/line-delete.vue.mjs +2 -2
  133. package/es/src/business/ap-view/icons/line-down.vue.mjs +2 -2
  134. package/es/src/business/ap-view/icons/line-eye.vue.mjs +2 -2
  135. package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
  136. package/es/src/business/batch-input-group/index.vue.mjs +1 -1
  137. package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
  138. package/es/src/check-card/index.vue2.mjs +3 -3
  139. package/es/src/config-provider/hooks/use-namespace.d.ts +1 -5
  140. package/es/src/editable-table/form-item.vue.d.ts +4 -2
  141. package/es/src/editable-table/form-item.vue.mjs +2 -2
  142. package/es/src/editable-table/index.vue.d.ts +4 -2
  143. package/es/src/editable-table/index.vue.mjs +2 -2
  144. package/es/src/full-screen/index.vue.mjs +3 -3
  145. package/es/src/hooks/useFullScreen.mjs +5 -5
  146. package/es/src/mask/index.vue.mjs +10 -10
  147. package/es/src/portal/index.vue.mjs +2 -2
  148. package/es/src/scroll-bar/index.vue.mjs +3 -3
  149. package/es/src/scroll-bar/internal.vue.mjs +2 -2
  150. package/es/src/scroll-view/index.vue.d.ts +5 -5
  151. package/es/src/scroll-view/index.vue.mjs +9 -9
  152. package/es/src/splitter/Panel.vue2.mjs +4 -4
  153. package/es/src/splitter/SplitBar.vue2.mjs +7 -7
  154. package/es/src/splitter/Splitter.vue2.mjs +5 -5
  155. package/es/src/tests/wrapper.d.ts +4 -4
  156. package/es/src/text/group.vue.mjs +2 -2
  157. package/es/src/text/index.vue.mjs +5 -5
  158. package/es/src/version.d.ts +1 -1
  159. package/es/src/version.mjs +1 -1
  160. package/es/src/work-order-modal/help-message.vue2.mjs +2 -2
  161. package/es/src/work-order-modal/work-order-modal.vue.d.ts +3 -2
  162. package/es/src/work-order-modal/work-order-modal.vue.mjs +2 -2
  163. package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
  164. package/lib/src/ap-field/index.js +1 -1
  165. package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
  166. package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
  167. package/lib/src/ap-form/ap-form.vue.d.ts +2 -1
  168. package/lib/src/ap-form/drawer-form/index.vue.d.ts +4 -3
  169. package/lib/src/ap-form/items/select/index.vue.d.ts +6 -6
  170. package/lib/src/ap-form/modal-form/index.vue.d.ts +4 -3
  171. package/lib/src/ap-form/search-form/index.vue.d.ts +4 -3
  172. package/lib/src/ap-grid/editable/form-item.vue.d.ts +4 -2
  173. package/lib/src/ap-grid/editable/index.vue.d.ts +4 -2
  174. package/lib/src/ap-grid/index.vue.d.ts +4 -2
  175. package/lib/src/ap-grid/utils/table.js +1 -1
  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/constants.d.ts +5 -5
  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-draggable-grid/ApDraggableGrid.vue.d.ts +10 -1
  187. package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue2.js +1 -1
  188. package/lib/src/business/ap-draggable-grid/constans.d.ts +4 -0
  189. package/lib/src/business/ap-draggable-grid/constans.js +1 -1
  190. package/lib/src/business/ap-draggable-grid/index.d.ts +16 -1
  191. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
  192. package/lib/src/business/ap-expand-alert/index.d.ts +6 -4
  193. package/lib/src/business/ap-select-layout/index.d.ts +4 -2
  194. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
  195. package/lib/src/business/ap-table-modal/index.d.ts +5 -17
  196. package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +3 -2
  197. package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +3 -2
  198. package/lib/src/config-provider/hooks/use-namespace.d.ts +1 -5
  199. package/lib/src/editable-table/form-item.vue.d.ts +4 -2
  200. package/lib/src/editable-table/index.vue.d.ts +4 -2
  201. package/lib/src/scroll-view/index.vue.d.ts +5 -5
  202. package/lib/src/tests/wrapper.d.ts +4 -4
  203. package/lib/src/version.d.ts +1 -1
  204. package/lib/src/version.js +1 -1
  205. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +3 -2
  206. package/package.json +3 -3
  207. package/theme/antd-global-overwrite/admin/alert.css +37 -0
  208. package/theme/antd-global-overwrite/admin/alert.less +51 -0
  209. package/theme/antd-global-overwrite/admin/button.css +27 -0
  210. package/theme/antd-global-overwrite/admin/button.less +31 -0
  211. package/theme/antd-global-overwrite/admin/field.css +42 -0
  212. package/theme/antd-global-overwrite/admin/field.less +43 -0
  213. package/theme/antd-global-overwrite/admin/form.css +57 -0
  214. package/theme/antd-global-overwrite/admin/form.less +97 -0
  215. package/theme/antd-global-overwrite/admin/message.css +10 -0
  216. package/theme/antd-global-overwrite/admin/message.less +13 -0
  217. package/theme/antd-global-overwrite/admin/modal.css +94 -0
  218. package/theme/antd-global-overwrite/admin/modal.less +128 -0
  219. package/theme/antd-global-overwrite/admin/pagination.css +122 -0
  220. package/theme/antd-global-overwrite/admin/pagination.less +91 -0
  221. package/theme/antd-global-overwrite/admin/steps.css +127 -0
  222. package/theme/antd-global-overwrite/admin/steps.less +197 -0
  223. package/theme/antd-global-overwrite/admin/table.css +78 -0
  224. package/theme/antd-global-overwrite/admin/table.less +62 -0
  225. package/theme/antd-global-overwrite/admin/tooltip.css +3 -0
  226. package/theme/antd-global-overwrite/admin/tooltip.less +3 -0
  227. package/theme/antd-global-overwrite/aplus/alert.css +40 -0
  228. package/theme/antd-global-overwrite/aplus/alert.less +55 -0
  229. package/theme/antd-global-overwrite/aplus/button.css +27 -0
  230. package/theme/antd-global-overwrite/aplus/button.less +31 -0
  231. package/theme/antd-global-overwrite/aplus/field.css +42 -0
  232. package/theme/antd-global-overwrite/aplus/field.less +43 -0
  233. package/theme/antd-global-overwrite/aplus/form.css +87 -0
  234. package/theme/antd-global-overwrite/aplus/form.less +133 -0
  235. package/theme/antd-global-overwrite/aplus/message.css +10 -0
  236. package/theme/antd-global-overwrite/aplus/message.less +13 -0
  237. package/theme/antd-global-overwrite/aplus/modal.css +87 -0
  238. package/theme/antd-global-overwrite/aplus/modal.less +120 -0
  239. package/theme/antd-global-overwrite/aplus/pagination.css +147 -0
  240. package/theme/antd-global-overwrite/aplus/pagination.less +108 -0
  241. package/theme/antd-global-overwrite/aplus/steps.css +125 -0
  242. package/theme/antd-global-overwrite/aplus/steps.less +198 -0
  243. package/theme/antd-global-overwrite/aplus/table.css +78 -0
  244. package/theme/antd-global-overwrite/aplus/table.less +61 -0
  245. package/theme/antd-global-overwrite/aplus/tooltip.css +3 -0
  246. package/theme/antd-global-overwrite/aplus/tooltip.less +3 -0
  247. package/theme/ap-draggable-grid/ap-draggable-grid.css +4 -2
  248. package/theme/ap-draggable-grid/ap-draggable-grid.less +6 -2
  249. package/theme/ap-table/ap-table-pagination.css +12 -0
  250. package/theme/ap-table/ap-table-pagination.less +14 -0
  251. package/theme/index.css +4 -2
  252. package/theme/ui-mode.css +60 -0
  253. package/theme/ui-mode.less +109 -0
@@ -1,48 +1,48 @@
1
- import { defineComponent as W, ref as O, computed as C, useTemplateRef as z, reactive as H, watch as M, onMounted as U, onUnmounted as V, createBlock as J, openBlock as w, unref as u, withCtx as X, createElementVNode as Y, normalizeStyle as A, normalizeClass as G, createElementBlock as $, Fragment as j, renderList as K, renderSlot as Q, createTextVNode as Z, toDisplayString as L } from "vue";
2
- import { ApDraggableGridProps as ee } from "./constans.mjs";
3
- import { Spin as re } from "@aplus-frontend/antdv";
1
+ import { defineComponent as H, ref as $, computed as w, useTemplateRef as M, reactive as U, watch as V, onMounted as J, onUnmounted as X, openBlock as D, createBlock as Y, unref as d, withCtx as j, createElementVNode as K, normalizeClass as L, normalizeStyle as W, createElementBlock as k, Fragment as Q, renderList as Z, renderSlot as ee, createTextVNode as re, toDisplayString as T } from "vue";
2
+ import { ApDraggableGridProps as te } from "./constans.mjs";
3
+ import { Spin as ae } from "@aplus-frontend/antdv";
4
4
  import "../../config-provider/index.mjs";
5
- import { useNamespace as ae } from "../../config-provider/hooks/use-namespace.mjs";
6
- const te = ["data-span", "draggable", "onDragstart"], ce = /* @__PURE__ */ W({
5
+ import { useNamespace as ne } from "../../config-provider/hooks/use-namespace.mjs";
6
+ const oe = ["data-span", "draggable", "onDragstart"], ue = /* @__PURE__ */ H({
7
7
  __name: "ApDraggableGrid",
8
- props: ee(),
8
+ props: te(),
9
9
  emits: ["onGridListChange"],
10
- setup(k, { expose: T, emit: N }) {
11
- const l = k, { b: D, e: f, m: R } = ae("ap-draggable-grid"), p = O(!1), v = C(() => f("item")), E = C(() => f("dragging")), B = N, d = z("gridContainer"), i = O(null), o = H([]);
12
- M(
13
- () => l.gridList,
10
+ setup(N, { expose: R, emit: B }) {
11
+ const o = N, { b, e: p, m: E } = ne("ap-draggable-grid"), f = $(!1), m = w(() => p("item")), S = w(() => p("dragging")), I = w(() => o.customWrapper ? `.${o.customWrapper} .${m.value}` : `.${m.value}`), O = w(() => o.customWrapper ? `.${o.customWrapper} .${m.value}:not(.${S.value})` : `.${m.value}:not(.${S.value})`), F = B, u = M("gridContainer"), i = $(null), s = U([]);
12
+ V(
13
+ () => o.gridList,
14
14
  (e) => {
15
- Array.isArray(e) && h(e);
15
+ Array.isArray(e) && v(e);
16
16
  },
17
17
  { deep: !0, immediate: !0 }
18
18
  );
19
- function h(e) {
20
- o.splice(0, o.length), e.forEach((r) => {
21
- o.push({
19
+ function v(e) {
20
+ s.splice(0, s.length), e.forEach((r) => {
21
+ s.push({
22
22
  ...r,
23
23
  isDragging: !1,
24
24
  isOverlay: !1
25
25
  });
26
26
  });
27
27
  }
28
- const F = (e) => ({
28
+ const q = (e) => ({
29
29
  gridColumn: `${e.col} / span ${e.span}`,
30
30
  gridRow: e.row,
31
- minHeight: `${l.gridItemHeight}px`,
32
- boxShadow: l.gridItemShadow ? l.gridItemShadow : "none"
33
- }), q = (e) => {
31
+ minHeight: `${o.gridItemHeight}px`,
32
+ boxShadow: o.gridItemShadow ? o.gridItemShadow : "none"
33
+ }), x = (e) => {
34
34
  if (e.isOverlay) {
35
35
  const r = {};
36
- return l.dragOverlayColor && (r.backgroundColor = l.dragOverlayColor), l.dragOverlayBorderColor && (r.border = `2px dashed ${l.dragOverlayBorderColor}`, r.boxSizing = "border-box"), r;
36
+ return o.dragOverlayColor && (r.backgroundColor = o.dragOverlayColor), o.dragOverlayBorderColor && (r.border = `2px dashed ${o.dragOverlayBorderColor}`, r.boxSizing = "border-box"), r;
37
37
  }
38
38
  return {};
39
- }, x = (e, r) => {
40
- i.value = r, o[r].isDragging = !0, e.dataTransfer && (e.dataTransfer.setData("text/plain", String(r)), e.dataTransfer.effectAllowed = "move");
41
- }, _ = () => {
42
- i.value !== null && (o[i.value].isDragging = !1, m(), i.value = null), o.forEach((e) => e.isOverlay = !1);
39
+ }, _ = (e, r) => {
40
+ i.value = r, s[r].isDragging = !0, e.dataTransfer && (e.dataTransfer.setData("text/plain", String(r)), e.dataTransfer.effectAllowed = "move");
41
+ }, P = () => {
42
+ i.value !== null && (s[i.value].isDragging = !1, h(), i.value = null), s.forEach((e) => e.isOverlay = !1);
43
43
  };
44
- function m() {
45
- const e = o.map(
44
+ function h() {
45
+ const e = s.map(
46
46
  (r) => ({
47
47
  span: r.span,
48
48
  row: r.row,
@@ -50,139 +50,140 @@ const te = ["data-span", "draggable", "onDragstart"], ce = /* @__PURE__ */ W({
50
50
  height: r.height ? r.height : ""
51
51
  })
52
52
  );
53
- B("onGridListChange", e);
53
+ F("onGridListChange", e);
54
54
  }
55
- async function b() {
56
- if (h([]), typeof l.request == "function")
55
+ async function C() {
56
+ if (v([]), typeof o.request == "function")
57
57
  try {
58
- p.value = !0;
59
- const e = await l.request();
60
- Array.isArray(e) ? h(e) : console.warn(
58
+ f.value = !0;
59
+ const e = await o.request();
60
+ Array.isArray(e) ? v(e) : console.warn(
61
61
  "ApDraggableGrid: 请求函数必须返回一个符合 ApDraggableGridItemBase 数组的格式"
62
62
  );
63
63
  } catch (e) {
64
64
  console.error("ApDraggableGrid: 请求错误:", e);
65
65
  } finally {
66
- p.value = !1;
66
+ f.value = !1;
67
67
  }
68
68
  }
69
- U(async () => {
70
- if (await b(), y(), l.disableDrag || !d.value) return;
71
- const e = (a) => {
72
- if (a.preventDefault(), i.value === null || !a.target) return;
73
- const t = document.elementFromPoint(a.clientX, a.clientY);
74
- if (!t) return;
75
- const n = t.closest(
76
- `.${v.value}:not(.${E.value})`
69
+ J(async () => {
70
+ if (await C(), y(), o.disableDrag || !u.value) return;
71
+ const e = (t) => {
72
+ if (t.preventDefault(), i.value === null || !t.target) return;
73
+ const a = document.elementFromPoint(t.clientX, t.clientY);
74
+ if (!a) return;
75
+ const n = a.closest(
76
+ O.value
77
77
  );
78
78
  if (!n) return;
79
- const s = Array.from(
80
- document.querySelectorAll(`.${v.value}`)
79
+ const l = Array.from(
80
+ document.querySelectorAll(I.value)
81
81
  ).indexOf(n);
82
- s >= 0 && s !== i.value && (o.forEach((c) => c.isOverlay = !1), o[s].isOverlay = !0, S(i.value, s) ? a.dataTransfer.dropEffect = "move" : a.dataTransfer.dropEffect = "none");
83
- }, r = (a) => {
84
- if (a.preventDefault(), i.value === null) return;
85
- const t = document.elementFromPoint(a.clientX, a.clientY);
86
- if (!t) return;
87
- const n = t.closest(
88
- `.${v.value}:not(.${E.value})`
82
+ l >= 0 && l !== i.value && (s.forEach((c) => c.isOverlay = !1), s[l].isOverlay = !0, A(i.value, l) ? t.dataTransfer.dropEffect = "move" : t.dataTransfer.dropEffect = "none");
83
+ }, r = (t) => {
84
+ if (t.preventDefault(), i.value === null) return;
85
+ const a = document.elementFromPoint(t.clientX, t.clientY);
86
+ if (!a) return;
87
+ const n = a.closest(
88
+ O.value
89
89
  );
90
90
  if (!n) return;
91
- const s = Array.from(
92
- document.querySelectorAll(`.${v.value}`)
91
+ const l = Array.from(
92
+ document.querySelectorAll(I.value)
93
93
  ).indexOf(n);
94
- s >= 0 && S(i.value, s) && (P(i.value, s), y(), m()), o.forEach((c) => {
94
+ l >= 0 && A(i.value, l) && (z(i.value, l), y(), h()), s.forEach((c) => {
95
95
  c.isDragging = !1, c.isOverlay = !1;
96
96
  }), i.value = null;
97
97
  };
98
- d.value.addEventListener("dragover", e), d.value.addEventListener("drop", r), V(() => {
99
- d.value && (d.value.removeEventListener("dragover", e), d.value.removeEventListener("drop", r));
98
+ u.value.addEventListener("dragover", e), u.value.addEventListener("drop", r), X(() => {
99
+ u.value && (u.value.removeEventListener("dragover", e), u.value.removeEventListener("drop", r));
100
100
  });
101
101
  });
102
- function S(e, r) {
103
- const a = JSON.parse(
104
- JSON.stringify(o)
105
- ), t = a[e], n = a[r], g = t.height === n.height, s = I(
106
- t.span,
102
+ function A(e, r) {
103
+ const t = JSON.parse(
104
+ JSON.stringify(s)
105
+ ), a = t[e], n = t[r], g = a.height === n.height, l = G(
106
+ a.span,
107
107
  n.row,
108
108
  e,
109
109
  r
110
- ), c = I(
110
+ ), c = G(
111
111
  n.span,
112
- t.row,
112
+ a.row,
113
113
  r,
114
114
  e
115
115
  );
116
- return s && c && g;
116
+ return l && c && g;
117
117
  }
118
- function I(e, r, a, t) {
118
+ function G(e, r, t, a) {
119
119
  let n = 0, g = 1;
120
- return o.forEach((s, c) => {
121
- s.row === r && c !== t && c !== a && (n += s.span, s.col <= g && (g = s.col + s.span));
120
+ return s.forEach((l, c) => {
121
+ l.row === r && c !== a && c !== t && (n += l.span, l.col <= g && (g = l.col + l.span));
122
122
  }), n + e <= 24;
123
123
  }
124
- function P(e, r) {
125
- const a = o[e], t = o[r], n = a.row, g = a.col;
126
- a.row = t.row, a.col = t.col, t.row = n, t.col = g;
124
+ function z(e, r) {
125
+ const t = s[e], a = s[r], n = t.row, g = t.col;
126
+ t.row = a.row, t.col = a.col, a.row = n, a.col = g;
127
127
  }
128
128
  function y() {
129
129
  const e = {};
130
- o.forEach((r) => {
130
+ s.forEach((r) => {
131
131
  e[r.row] || (e[r.row] = []), e[r.row].push(r);
132
132
  }), Object.keys(e).forEach((r) => {
133
- const a = parseInt(r);
134
- e[a].sort((n, g) => n.col - g.col);
135
- let t = 1;
136
- e[a].forEach((n) => {
137
- n.col = t, t += n.span;
133
+ const t = parseInt(r);
134
+ e[t].sort((n, g) => n.col - g.col);
135
+ let a = 1;
136
+ e[t].forEach((n) => {
137
+ n.col = a, a += n.span;
138
138
  });
139
139
  });
140
140
  }
141
- return T({
141
+ return R({
142
142
  setGridItems: (e) => {
143
- h(e), y(), m();
143
+ v(e), y(), h();
144
144
  },
145
145
  refreshGrid: () => {
146
146
  (async () => {
147
- await b(), y(), m();
147
+ await C(), y(), h();
148
148
  })();
149
149
  }
150
- }), (e, r) => (w(), J(u(re), { spinning: p.value }, {
151
- default: X(() => [
152
- Y("div", {
150
+ }), (e, r) => (D(), Y(d(ae), { spinning: f.value }, {
151
+ default: j(() => [
152
+ K("div", {
153
153
  ref_key: "gridContainer",
154
- ref: d,
155
- class: G([p.value ? u(D)("loading") : u(D)()]),
156
- style: A({
154
+ ref: u,
155
+ class: L([f.value ? d(b)("loading") : d(b)(), o.customWrapper]),
156
+ style: W({
157
157
  width: typeof e.gridWidth == "number" ? `${e.gridWidth}px` : e.gridWidth,
158
158
  gap: `${e.gapWidth}px`
159
159
  })
160
160
  }, [
161
- (w(!0), $(j, null, K(o, (a, t) => (w(), $("div", {
162
- key: t,
163
- class: G([
164
- u(f)("item"),
165
- l.disableDrag ? "" : u(R)("dragging"),
166
- a.isDragging ? u(f)("dragging") : "",
167
- a.isOverlay ? u(f)("overlay") : ""
161
+ (D(!0), k(Q, null, Z(s, (t, a) => (D(), k("div", {
162
+ key: a,
163
+ class: L([
164
+ d(p)("item"),
165
+ o.disableDrag ? "" : d(E)("dragging"),
166
+ t.isDragging ? d(p)("dragging") : "",
167
+ t.isOverlay ? d(p)("overlay") : "",
168
+ o.disableDrag ? "" : d(E)("canDrag")
168
169
  ]),
169
- "data-span": a.span,
170
- style: A([
171
- F(a),
172
- q(a),
173
- { height: a.height ? a.height + "px" : "" }
170
+ "data-span": t.span,
171
+ style: W([
172
+ q(t),
173
+ x(t),
174
+ { height: t.height ? t.height + "px" : "" }
174
175
  ]),
175
- draggable: !l.disableDrag,
176
- onDragstart: (n) => x(n, t),
177
- onDragend: _
176
+ draggable: !o.disableDrag,
177
+ onDragstart: (n) => _(n, a),
178
+ onDragend: P
178
179
  }, [
179
- Q(e.$slots, "item", {
180
- item: a,
181
- index: t
180
+ ee(e.$slots, "item", {
181
+ item: t,
182
+ index: a
182
183
  }, () => [
183
- Z(L(Math.round(a.span / 24 * 100)) + "% (" + L(a.span) + "/24) ", 1)
184
+ re(T(Math.round(t.span / 24 * 100)) + "% (" + T(t.span) + "/24) ", 1)
184
185
  ])
185
- ], 46, te))), 128))
186
+ ], 46, oe))), 128))
186
187
  ], 6)
187
188
  ]),
188
189
  _: 3
@@ -190,5 +191,5 @@ const te = ["data-span", "draggable", "onDragstart"], ce = /* @__PURE__ */ W({
190
191
  }
191
192
  });
192
193
  export {
193
- ce as default
194
+ ue as default
194
195
  };
@@ -37,4 +37,8 @@ export declare const ApDraggableGridProps: () => {
37
37
  type: BooleanConstructor;
38
38
  default: boolean;
39
39
  };
40
+ customWrapper: {
41
+ type: StringConstructor;
42
+ default: string;
43
+ };
40
44
  };
@@ -34,6 +34,10 @@ const e = () => ({
34
34
  disableDrag: {
35
35
  type: Boolean,
36
36
  default: !1
37
+ },
38
+ customWrapper: {
39
+ type: String,
40
+ default: "ap-draggable-grid"
37
41
  }
38
42
  });
39
43
  export {
@@ -39,6 +39,10 @@ declare const ApDraggableGrid: {
39
39
  type: BooleanConstructor;
40
40
  default: boolean;
41
41
  };
42
+ customWrapper: {
43
+ type: StringConstructor;
44
+ default: string;
45
+ };
42
46
  }>> & Readonly<{
43
47
  onOnGridListChange?: ((args_0: ApDraggableGridItemBase[]) => any) | undefined;
44
48
  }>, {
@@ -56,6 +60,7 @@ declare const ApDraggableGrid: {
56
60
  dragOverlayColor: string;
57
61
  dragOverlayBorderColor: string;
58
62
  disableDrag: boolean;
63
+ customWrapper: string;
59
64
  }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
60
65
  gridContainer: HTMLDivElement;
61
66
  }, any, ComponentProvideOptions, {
@@ -102,6 +107,10 @@ declare const ApDraggableGrid: {
102
107
  type: BooleanConstructor;
103
108
  default: boolean;
104
109
  };
110
+ customWrapper: {
111
+ type: StringConstructor;
112
+ default: string;
113
+ };
105
114
  }>> & Readonly<{
106
115
  onOnGridListChange?: ((args_0: ApDraggableGridItemBase[]) => any) | undefined;
107
116
  }>, {
@@ -117,6 +126,7 @@ declare const ApDraggableGrid: {
117
126
  dragOverlayColor: string;
118
127
  dragOverlayBorderColor: string;
119
128
  disableDrag: boolean;
129
+ customWrapper: string;
120
130
  }>;
121
131
  __isFragment?: never;
122
132
  __isTeleport?: never;
@@ -158,6 +168,10 @@ declare const ApDraggableGrid: {
158
168
  type: BooleanConstructor;
159
169
  default: boolean;
160
170
  };
171
+ customWrapper: {
172
+ type: StringConstructor;
173
+ default: string;
174
+ };
161
175
  }>> & Readonly<{
162
176
  onOnGridListChange?: ((args_0: ApDraggableGridItemBase[]) => any) | undefined;
163
177
  }>, {
@@ -175,6 +189,7 @@ declare const ApDraggableGrid: {
175
189
  dragOverlayColor: string;
176
190
  dragOverlayBorderColor: string;
177
191
  disableDrag: boolean;
192
+ customWrapper: string;
178
193
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
179
194
  $slots: {
180
195
  item?(_: {
@@ -184,7 +199,7 @@ declare const ApDraggableGrid: {
184
199
  span: number;
185
200
  row: number;
186
201
  col: number;
187
- height?: number | string | undefined;
202
+ height?: (number | string) | undefined;
188
203
  };
189
204
  index: number;
190
205
  }): any;
@@ -1,5 +1,5 @@
1
1
  import { ApExpandAlertProps } from './interface';
2
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
2
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
3
3
  declare const _default: <T extends Record<string, any>>(__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<{
4
4
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
5
5
  readonly onExpand?: ((args_0: "collapse" | "expand") => any) | undefined;
@@ -23,7 +23,9 @@ declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable
23
23
  }): any;
24
24
  };
25
25
  emit: ((evt: "expand", args_0: "collapse" | "expand") => void) & ((evt: "choose", args_0: T) => void);
26
- }>) => VNode & {
26
+ }>) => VNode<RendererNode, RendererElement, {
27
+ [key: string]: any;
28
+ }> & {
27
29
  __ctx?: Awaited<typeof __VLS_setup>;
28
30
  };
29
31
  export default _default;
@@ -1,4 +1,4 @@
1
- import { defineComponent as K, computed as c, ref as g, watch as x, nextTick as f, onMounted as W, createElementBlock as i, openBlock as a, normalizeClass as n, unref as t, createVNode as b, withCtx as m, createElementVNode as S, normalizeStyle as y, renderSlot as H, createBlock as $, toDisplayString as u, resolveDynamicComponent as I, Fragment as C, renderList as j, createCommentVNode as L, createTextVNode as J } from "vue";
1
+ import { defineComponent as K, computed as c, ref as g, watch as x, nextTick as f, onMounted as W, openBlock as a, createElementBlock as i, normalizeClass as n, unref as t, createVNode as b, withCtx as m, createBlock as S, createElementVNode as $, toDisplayString as u, createCommentVNode as H, normalizeStyle as y, renderSlot as I, resolveDynamicComponent as L, Fragment as C, renderList as j, createTextVNode as J } from "vue";
2
2
  import { DownOutlined as P } from "@ant-design/icons-vue";
3
3
  import { Alert as Q, Tooltip as U } from "@aplus-frontend/antdv";
4
4
  import { ApActionItem as X } from "../../ap-action/index.mjs";
@@ -102,14 +102,14 @@ const te = ["onClick"], ce = /* @__PURE__ */ K({
102
102
  class: n([t(o)("antAlert"), e.type == "card" ? "card-alert" : ""])
103
103
  }, {
104
104
  action: m(() => [
105
- h.value ? (a(), $(t(X), {
105
+ h.value ? (a(), S(t(X), {
106
106
  key: 0,
107
107
  size: "small",
108
108
  style: { "font-size": "12px", "padding-left": "16px" },
109
109
  onClick: r[0] || (r[0] = (s) => q())
110
110
  }, {
111
111
  default: m(() => [
112
- S("span", {
112
+ $("span", {
113
113
  class: n(t(o)("expandText"))
114
114
  }, u(F.value), 3),
115
115
  b(t(P), {
@@ -117,21 +117,21 @@ const te = ["onClick"], ce = /* @__PURE__ */ K({
117
117
  }, null, 8, ["class"])
118
118
  ]),
119
119
  _: 1
120
- })) : L("", !0)
120
+ })) : H("", !0)
121
121
  ]),
122
122
  message: m(() => [
123
- S("div", {
123
+ $("div", {
124
124
  ref_key: "ellipsisBoxRef",
125
125
  ref: d,
126
126
  style: y({ ...R.value, ...e.contentStyle }),
127
127
  class: n(t(o)("alertContent"))
128
128
  }, [
129
- H(e.$slots, "default", {}, () => [
129
+ I(e.$slots, "default", {}, () => [
130
130
  t(E)(e.prefix) ? (a(), i("span", {
131
131
  key: 0,
132
132
  class: n(t(o)("prefix")),
133
133
  style: y(e.prefixStyle)
134
- }, u(e.prefix), 7)) : (a(), $(I(e.prefix), {
134
+ }, u(e.prefix), 7)) : (a(), S(L(e.prefix), {
135
135
  key: 1,
136
136
  style: y(e.prefixStyle)
137
137
  }, null, 8, ["style"])),
@@ -143,11 +143,11 @@ const te = ["onClick"], ce = /* @__PURE__ */ K({
143
143
  title: e.tipTitle ? e.tipTitle : null
144
144
  }, {
145
145
  default: m(() => [
146
- H(e.$slots, "item", {
146
+ I(e.$slots, "item", {
147
147
  record: s,
148
148
  index: w
149
149
  }, () => [
150
- S("span", {
150
+ $("span", {
151
151
  class: n(t(o)("showItem")),
152
152
  onClick: (ae) => e.$emit("choose", s)
153
153
  }, u(e.mapLabel ? s[e.mapLabel] : s), 11, te)
@@ -162,8 +162,8 @@ const te = ["onClick"], ce = /* @__PURE__ */ K({
162
162
  }, [
163
163
  t(E)(e.separator) ? (a(), i(C, { key: 0 }, [
164
164
  J(u(e.separator), 1)
165
- ], 64)) : (a(), $(I(e.separator), { key: 1 }))
166
- ], 6)) : L("", !0)
165
+ ], 64)) : (a(), S(L(e.separator), { key: 1 }))
166
+ ], 6)) : H("", !0)
167
167
  ], 64))), 128))
168
168
  ])
169
169
  ], 6)
@@ -1,4 +1,4 @@
1
- import { Component, VNode, CSSProperties, PublicProps, ShallowUnwrapRef, Plugin } from 'vue';
1
+ import { Component, VNode, CSSProperties, PublicProps, ShallowUnwrapRef, RendererNode, RendererElement, Plugin } from 'vue';
2
2
  export * from './interface';
3
3
  declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
4
4
  attrs: any;
@@ -20,7 +20,7 @@ declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNu
20
20
  props: {
21
21
  readonly onExpand?: ((args_0: "collapse" | "expand") => any) | undefined;
22
22
  readonly onChoose?: ((args_0: T) => any) | undefined;
23
- type?: "warning" | "error" | "success" | "info" | "card" | undefined | undefined;
23
+ type?: "warning" | "error" | "success" | "info" | "card" | undefined;
24
24
  data?: string | T[] | undefined;
25
25
  prefix?: string | undefined;
26
26
  tipTitle?: string | undefined;
@@ -29,7 +29,7 @@ declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNu
29
29
  separatorStyle?: CSSProperties | undefined;
30
30
  contentStyle?: Omit< CSSProperties, "wordBreak" | "overflow" | "display" | "webkitLineClamp" | "webkitBoxOrient"> | undefined;
31
31
  prefixStyle?: CSSProperties | undefined;
32
- rows?: string | number | undefined;
32
+ rows?: (string | number) | undefined;
33
33
  defaultExpand?: boolean | undefined;
34
34
  showIcon?: boolean | undefined;
35
35
  } & PublicProps;
@@ -51,7 +51,9 @@ declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNu
51
51
  }): any;
52
52
  };
53
53
  emit: ((evt: "expand", args_0: "collapse" | "expand") => void) & ((evt: "choose", args_0: T) => void);
54
- }>) => VNode & {
54
+ }>) => VNode<RendererNode, RendererElement, {
55
+ [key: string]: any;
56
+ }> & {
55
57
  __ctx?: Awaited<typeof __VLS_setup>;
56
58
  }) & ( Plugin & (new (...args: any[]) => {
57
59
  $props: {
@@ -1,4 +1,4 @@
1
- import { defineComponent as z, ref as M, computed as v, watch as U, createElementBlock as H, openBlock as c, Fragment as J, createBlock as m, createCommentVNode as S, unref as o, mergeProps as A, withCtx as u, createTextVNode as h, toDisplayString as E, normalizeClass as Q, createVNode as F } from "vue";
1
+ import { defineComponent as z, ref as M, computed as v, watch as U, openBlock as c, createElementBlock as H, Fragment as J, createBlock as m, unref as o, mergeProps as S, withCtx as u, createTextVNode as h, toDisplayString as E, createCommentVNode as A, normalizeClass as Q, createVNode as F } from "vue";
2
2
  import { DownOutlined as W } from "@ant-design/icons-vue";
3
3
  import { message as X, Dropdown as Y, Menu as Z, MenuItem as T } from "@aplus-frontend/antdv";
4
4
  import "../../config-provider/index.mjs";
@@ -114,7 +114,7 @@ const Ee = /* @__PURE__ */ z({
114
114
  return (l, a) => {
115
115
  var t, i;
116
116
  return c(), H(J, null, [
117
- L.value && e.type === "button" ? (c(), m(o(K), A({ key: 0 }, {
117
+ L.value && e.type === "button" ? (c(), m(o(K), S({ key: 0 }, {
118
118
  ...l.$attrs
119
119
  }, {
120
120
  disabled: f.value,
@@ -126,7 +126,7 @@ const Ee = /* @__PURE__ */ z({
126
126
  h(E((e == null ? void 0 : e.text) ?? o(n)("ap.apExportGroup.export")), 1)
127
127
  ]),
128
128
  _: 1
129
- }, 16, ["disabled", "loading"])) : S("", !0),
129
+ }, 16, ["disabled", "loading"])) : A("", !0),
130
130
  L.value && e.type === "dropdown" ? (c(), m(o(Y), {
131
131
  key: 1,
132
132
  open: w.value,
@@ -163,7 +163,7 @@ const Ee = /* @__PURE__ */ z({
163
163
  })
164
164
  ]),
165
165
  default: u(() => [
166
- F(o(K), A({
166
+ F(o(K), S({
167
167
  ...l.$attrs
168
168
  }, { loading: d.value }), {
169
169
  default: u(() => [
@@ -174,8 +174,8 @@ const Ee = /* @__PURE__ */ z({
174
174
  }, 16, ["loading"])
175
175
  ]),
176
176
  _: 1
177
- }, 8, ["open", "class", "disabled"])) : S("", !0),
178
- L.value && e.type === "group" ? (c(), m(o(le), A({ key: 2 }, {
177
+ }, 8, ["open", "class", "disabled"])) : A("", !0),
178
+ L.value && e.type === "group" ? (c(), m(o(le), S({ key: 2 }, {
179
179
  ...l.$attrs
180
180
  }, {
181
181
  disabled: f.value,
@@ -186,7 +186,7 @@ const Ee = /* @__PURE__ */ z({
186
186
  type: ((i = e == null ? void 0 : e.buttonProps) == null ? void 0 : i.type) ?? "default"
187
187
  },
188
188
  "menu-list": V.value
189
- }), null, 16, ["disabled", "loading", "button-props", "menu-list"])) : S("", !0)
189
+ }), null, 16, ["disabled", "loading", "button-props", "menu-list"])) : A("", !0)
190
190
  ], 64);
191
191
  };
192
192
  }
@@ -1,4 +1,4 @@
1
- import { defineComponent as S, computed as c, ref as U, watchEffect as j, createBlock as p, openBlock as i, unref as n, mergeProps as g, withCtx as B, renderSlot as E, normalizeProps as I, guardReactiveProps as L, createElementVNode as b, normalizeClass as D, createElementBlock as M, Fragment as P, renderList as R, resolveDynamicComponent as T, createVNode as x } from "vue";
1
+ import { defineComponent as S, computed as c, ref as U, watchEffect as j, openBlock as i, createBlock as p, unref as n, mergeProps as g, withCtx as B, renderSlot as E, normalizeProps as I, guardReactiveProps as L, createElementVNode as b, normalizeClass as D, createElementBlock as M, Fragment as P, renderList as R, resolveDynamicComponent as T, createVNode as x } from "vue";
2
2
  import { Image as z } from "@aplus-frontend/antdv";
3
3
  import { DownloadOutlined as V } from "@ant-design/icons-vue";
4
4
  import { injectLocaleToOss as W, getOssInstance as G, getSignatureUrl as $ } from "./hooks/useOss.mjs";
@@ -1,4 +1,4 @@
1
- import { defineComponent as g, onMounted as R, createElementBlock as V, openBlock as h, normalizeClass as b, unref as t, createVNode as i, mergeProps as I } from "vue";
1
+ import { defineComponent as g, onMounted as R, openBlock as V, createElementBlock as h, normalizeClass as b, unref as t, createVNode as i, mergeProps as I } from "vue";
2
2
  import "../../config-provider/index.mjs";
3
3
  import { Form as B, InputNumber as k, RadioGroup as x } from "@aplus-frontend/antdv";
4
4
  import { omit as _ } from "lodash-unified";
@@ -52,7 +52,7 @@ const S = /* @__PURE__ */ g({
52
52
  }
53
53
  }), (o, a) => {
54
54
  var l, r;
55
- return h(), V("div", {
55
+ return V(), h("div", {
56
56
  class: b([t(m)()])
57
57
  }, [
58
58
  i(t(k), I({
@@ -3,17 +3,17 @@ import I from "./keeper/index.mjs";
3
3
  import { matches as D, getAliveKey as T, isNoValue as W, getVNodeObjByVNodeChild as b, getVNodeObjByVNodeArrayChildren as K, getVNodeChirldren as w, getFirstVNodeChirldren as x } from "./utils.mjs";
4
4
  import { catchWrapper as B, measureWrapper as A } from "@aplus-frontend/utils";
5
5
  import { LruCacher as C } from "./cacher/lru-cacher.mjs";
6
- import { forceStopTags as R, ApKeepAliveProps as _ } from "./interface.mjs";
6
+ import { ApKeepAliveProps as R, forceStopTags as _ } from "./interface.mjs";
7
7
  import { throttle as S } from "lodash-unified";
8
8
  import { useApKeepAliveProvide as $ } from "./hook.mjs";
9
9
  const c = console, a = "|", te = j({
10
10
  name: "ApKeepAlive",
11
11
  inheritAttrs: !1,
12
- props: _(),
12
+ props: R(),
13
13
  setup(o, { slots: h }) {
14
14
  const g = M(), v = (e) => !(o.include && (!e || !D(o.include, e)) || o.exclude && e && D(o.exclude, e)), d = o.store || new C(o.max), u = E("");
15
15
  let m = "";
16
- const k = /* @__PURE__ */ new Set([...R, ...o.stopTags]), p = (e, n = "") => {
16
+ const k = /* @__PURE__ */ new Set([..._, ...o.stopTags]), p = (e, n = "") => {
17
17
  var f;
18
18
  const t = [];
19
19
  if (!e) return t;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as c, createVNode as e, Fragment as t } from "vue";
2
- import { convertValue as n, renderValue as p, isVNodeOrFunction as d } from "../utils.mjs";
2
+ import { convertValue as n, isVNodeOrFunction as p, renderValue as d } from "../utils.mjs";
3
3
  import "../../../config-provider/index.mjs";
4
4
  import { useNamespace as v } from "../../../config-provider/hooks/use-namespace.mjs";
5
5
  const f = /* @__PURE__ */ c({
@@ -38,7 +38,7 @@ const f = /* @__PURE__ */ c({
38
38
  title: String(n(l.value, {
39
39
  ...l
40
40
  }))
41
- }, [d(l.value) ? p(l.value) : l.link ? e("a", {
41
+ }, [p(l.value) ? d(l.value) : l.link ? e("a", {
42
42
  href: l.link,
43
43
  target: "_blank",
44
44
  class: a("value-group-link"),
@@ -1,4 +1,4 @@
1
- import { defineComponent as b, ref as V, isVNode as _, h as r, watch as w, createElementBlock as n, openBlock as a, normalizeClass as h, unref as l, createVNode as B, withCtx as N, Fragment as z, renderList as F, normalizeStyle as L, createBlock as x, resolveDynamicComponent as A } from "vue";
1
+ import { defineComponent as b, ref as V, isVNode as _, h as r, watch as w, openBlock as a, createElementBlock as n, normalizeClass as h, unref as l, createVNode as B, withCtx as N, Fragment as z, renderList as F, normalizeStyle as L, createBlock as x, resolveDynamicComponent as A } from "vue";
2
2
  import { Flex as D } from "@aplus-frontend/antdv";
3
3
  import "../../config-provider/index.mjs";
4
4
  import "../../hooks/index.mjs";