@aplus-frontend/ui 6.18.0 → 6.19.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (285) 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 +13 -13
  15. package/es/src/ap-field/date-range/index.vue.mjs +16 -16
  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 +7 -6
  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.d.ts +3 -3
  40. package/es/src/ap-form/items/number/index.vue.mjs +2 -2
  41. package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
  42. package/es/src/ap-form/items/select/index.vue.d.ts +11 -11
  43. package/es/src/ap-form/items/select/index.vue.mjs +2 -2
  44. package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
  45. package/es/src/ap-form/items/text/group.vue2.mjs +2 -2
  46. package/es/src/ap-form/items/text/index.vue2.mjs +2 -2
  47. package/es/src/ap-form/items/text/password.vue.mjs +2 -2
  48. package/es/src/ap-form/items/text-area/index.vue.mjs +2 -2
  49. package/es/src/ap-form/items/tree-select/index.vue.d.ts +3 -3
  50. package/es/src/ap-form/items/tree-select/index.vue.mjs +2 -2
  51. package/es/src/ap-form/modal-form/index.vue.d.ts +7 -6
  52. package/es/src/ap-form/modal-form/index.vue.mjs +7 -7
  53. package/es/src/ap-form/render/item.vue.mjs +2 -2
  54. package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +10 -10
  55. package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +23 -23
  56. package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.mjs +2 -2
  57. package/es/src/ap-form/search-form/index.vue.d.ts +7 -6
  58. package/es/src/ap-form/search-form/index.vue.mjs +1 -1
  59. package/es/src/ap-form/set/index.vue.mjs +1 -1
  60. package/es/src/ap-grid/editable/form-item.vue.d.ts +4 -2
  61. package/es/src/ap-grid/editable/form-item.vue.mjs +9 -9
  62. package/es/src/ap-grid/editable/index.vue.d.ts +4 -2
  63. package/es/src/ap-grid/editable/index.vue.mjs +3 -3
  64. package/es/src/ap-grid/index.vue.d.ts +4 -2
  65. package/es/src/ap-grid/index.vue.mjs +40 -40
  66. package/es/src/ap-list/index.vue.d.ts +4 -2
  67. package/es/src/ap-list/index.vue.mjs +1 -1
  68. package/es/src/ap-modal/utils/confirm.d.ts +1 -1
  69. package/es/src/ap-table/ap-table.vue.d.ts +4 -2
  70. package/es/src/ap-table/ap-table.vue2.mjs +14 -13
  71. package/es/src/ap-table/components/index/index.vue2.mjs +2 -2
  72. package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +3 -3
  73. package/es/src/ap-table/components/setting/modal/index.vue2.mjs +3 -3
  74. package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +1 -1
  75. package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +1 -1
  76. package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +1 -1
  77. package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +11 -11
  78. package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
  79. package/es/src/ap-table/components/status/index.vue2.mjs +2 -2
  80. package/es/src/ap-table/constants.d.ts +10 -10
  81. package/es/src/ap-table/constants.mjs +45 -45
  82. package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  83. package/es/src/ap-table/hooks/use-table-column-state.mjs +3 -3
  84. package/es/src/ap-tag/ap-tag-group.vue.mjs +73 -78
  85. package/es/src/ap-tag/ap-tag.vue.d.ts +1 -0
  86. package/es/src/ap-tag/ap-tag.vue.mjs +17 -18
  87. package/es/src/ap-tag/interface.d.ts +6 -0
  88. package/es/src/ap-tag/utils.d.ts +1 -0
  89. package/es/src/ap-tag/utils.mjs +12 -0
  90. package/es/src/ap-upload/apUpload.vue.mjs +5 -5
  91. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  92. package/es/src/ap-upload/components/MultipleFile.vue2.mjs +3 -3
  93. package/es/src/ap-upload/components/Picture.vue.d.ts +7 -2
  94. package/es/src/ap-upload/components/Picture.vue2.mjs +6 -6
  95. package/es/src/ap-upload/components/SingleFile.vue2.mjs +7 -7
  96. package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +1 -1
  97. package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +2 -2
  98. package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +6 -6
  99. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +9 -9
  100. package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +3 -4
  101. package/es/src/business/ap-batch-action-group/index.d.ts +3 -3
  102. package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
  103. package/es/src/business/ap-card/ApCard.vue2.mjs +9 -9
  104. package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +3 -2
  105. package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue2.mjs +212 -398
  106. package/es/src/business/ap-draggable-grid/constans.mjs +1 -1
  107. package/es/src/business/ap-draggable-grid/index.d.ts +5 -2
  108. package/es/src/business/ap-draggable-grid/interface.d.ts +3 -2
  109. package/es/src/business/ap-draggable-grid/utils/sortItemsByRowAndCol.d.ts +2 -0
  110. package/es/src/business/ap-draggable-grid/utils/sortItemsByRowAndCol.mjs +14 -0
  111. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
  112. package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +33 -33
  113. package/es/src/business/ap-expand-alert/index.d.ts +6 -4
  114. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +7 -7
  115. package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
  116. package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +2 -2
  117. package/es/src/business/ap-keep-alive/keep-alive.mjs +3 -3
  118. package/es/src/business/ap-ladder/components/RenderValue.mjs +2 -2
  119. package/es/src/business/ap-radio-group/ap-radio-group.vue2.mjs +1 -1
  120. package/es/src/business/ap-select-layout/index.d.ts +4 -2
  121. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
  122. package/es/src/business/ap-select-layout/select-layout.vue2.mjs +4 -4
  123. package/es/src/business/ap-status/ApStatus.vue2.mjs +8 -8
  124. package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +4 -4
  125. package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
  126. package/es/src/business/ap-table-modal/index.d.ts +5 -17
  127. package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
  128. package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +14 -14
  129. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +3 -3
  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/ap-view/ap-view.vue2.mjs +2 -2
  135. package/es/src/business/ap-view/components/main-button-content.vue.d.ts +5 -4
  136. package/es/src/business/ap-view/components/main-button-content.vue2.mjs +5 -5
  137. package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +5 -4
  138. package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +6 -6
  139. package/es/src/business/ap-view/icons/line-delete.vue.mjs +2 -2
  140. package/es/src/business/ap-view/icons/line-down.vue.mjs +2 -2
  141. package/es/src/business/ap-view/icons/line-eye.vue.mjs +2 -2
  142. package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
  143. package/es/src/business/batch-input-group/index.vue.mjs +1 -1
  144. package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
  145. package/es/src/check-card/index.vue2.mjs +3 -3
  146. package/es/src/config-provider/hooks/use-namespace.d.ts +1 -5
  147. package/es/src/editable-table/form-item.vue.d.ts +4 -2
  148. package/es/src/editable-table/form-item.vue.mjs +38 -37
  149. package/es/src/editable-table/index.vue.d.ts +4 -2
  150. package/es/src/editable-table/index.vue.mjs +16 -15
  151. package/es/src/full-screen/index.vue.mjs +3 -3
  152. package/es/src/hooks/useFullScreen.mjs +5 -5
  153. package/es/src/mask/index.vue.mjs +10 -10
  154. package/es/src/portal/index.vue.mjs +2 -2
  155. package/es/src/scroll-bar/index.vue.mjs +3 -3
  156. package/es/src/scroll-bar/internal.vue.mjs +2 -2
  157. package/es/src/scroll-view/index.vue.d.ts +5 -5
  158. package/es/src/scroll-view/index.vue.mjs +9 -9
  159. package/es/src/splitter/Panel.vue2.mjs +4 -4
  160. package/es/src/splitter/SplitBar.vue2.mjs +7 -7
  161. package/es/src/splitter/Splitter.vue2.mjs +5 -5
  162. package/es/src/tests/wrapper.d.ts +4 -4
  163. package/es/src/text/group.vue.mjs +2 -2
  164. package/es/src/text/index.vue.mjs +5 -5
  165. package/es/src/version.d.ts +1 -1
  166. package/es/src/version.mjs +1 -1
  167. package/es/src/work-order-modal/help-message.vue2.mjs +2 -2
  168. package/es/src/work-order-modal/work-order-modal.vue.d.ts +5 -4
  169. package/es/src/work-order-modal/work-order-modal.vue.mjs +2 -2
  170. package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
  171. package/lib/src/ap-field/date/index.vue.js +1 -1
  172. package/lib/src/ap-field/date-range/index.vue.js +1 -1
  173. package/lib/src/ap-field/index.js +1 -1
  174. package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
  175. package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
  176. package/lib/src/ap-form/ap-form.vue.d.ts +2 -1
  177. package/lib/src/ap-form/drawer-form/index.vue.d.ts +7 -6
  178. package/lib/src/ap-form/items/number/index.vue.d.ts +3 -3
  179. package/lib/src/ap-form/items/select/index.vue.d.ts +11 -11
  180. package/lib/src/ap-form/items/tree-select/index.vue.d.ts +3 -3
  181. package/lib/src/ap-form/modal-form/index.vue.d.ts +7 -6
  182. package/lib/src/ap-form/search-form/index.vue.d.ts +7 -6
  183. package/lib/src/ap-grid/editable/form-item.vue.d.ts +4 -2
  184. package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
  185. package/lib/src/ap-grid/editable/index.vue.d.ts +4 -2
  186. package/lib/src/ap-grid/editable/index.vue.js +1 -1
  187. package/lib/src/ap-grid/index.vue.d.ts +4 -2
  188. package/lib/src/ap-grid/index.vue.js +1 -1
  189. package/lib/src/ap-list/index.vue.d.ts +4 -2
  190. package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
  191. package/lib/src/ap-table/ap-table.vue.d.ts +4 -2
  192. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  193. package/lib/src/ap-table/constants.d.ts +10 -10
  194. package/lib/src/ap-table/constants.js +1 -1
  195. package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  196. package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
  197. package/lib/src/ap-tag/ap-tag.vue.d.ts +1 -0
  198. package/lib/src/ap-tag/ap-tag.vue.js +1 -1
  199. package/lib/src/ap-tag/interface.d.ts +6 -0
  200. package/lib/src/ap-tag/utils.d.ts +1 -0
  201. package/lib/src/ap-tag/utils.js +1 -0
  202. package/lib/src/ap-upload/apUpload.vue.js +1 -1
  203. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  204. package/lib/src/ap-upload/components/Picture.vue.d.ts +7 -2
  205. package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue2.js +1 -1
  206. package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
  207. package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +3 -2
  208. package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue2.js +1 -1
  209. package/lib/src/business/ap-draggable-grid/constans.js +1 -1
  210. package/lib/src/business/ap-draggable-grid/index.d.ts +5 -2
  211. package/lib/src/business/ap-draggable-grid/interface.d.ts +3 -2
  212. package/lib/src/business/ap-draggable-grid/utils/sortItemsByRowAndCol.d.ts +2 -0
  213. package/lib/src/business/ap-draggable-grid/utils/sortItemsByRowAndCol.js +1 -0
  214. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
  215. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
  216. package/lib/src/business/ap-expand-alert/index.d.ts +6 -4
  217. package/lib/src/business/ap-select-layout/index.d.ts +4 -2
  218. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
  219. package/lib/src/business/ap-table-modal/index.d.ts +5 -17
  220. package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +5 -4
  221. package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +5 -4
  222. package/lib/src/config-provider/hooks/use-namespace.d.ts +1 -5
  223. package/lib/src/editable-table/form-item.vue.d.ts +4 -2
  224. package/lib/src/editable-table/form-item.vue.js +1 -1
  225. package/lib/src/editable-table/index.vue.d.ts +4 -2
  226. package/lib/src/editable-table/index.vue.js +1 -1
  227. package/lib/src/scroll-view/index.vue.d.ts +5 -5
  228. package/lib/src/tests/wrapper.d.ts +4 -4
  229. package/lib/src/version.d.ts +1 -1
  230. package/lib/src/version.js +1 -1
  231. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +5 -4
  232. package/package.json +3 -3
  233. package/theme/antd-global-overwrite/admin/alert.css +37 -0
  234. package/theme/antd-global-overwrite/admin/alert.less +51 -0
  235. package/theme/antd-global-overwrite/admin/button.css +27 -0
  236. package/theme/antd-global-overwrite/admin/button.less +31 -0
  237. package/theme/antd-global-overwrite/admin/field.css +42 -0
  238. package/theme/antd-global-overwrite/admin/field.less +43 -0
  239. package/theme/antd-global-overwrite/admin/form.css +57 -0
  240. package/theme/antd-global-overwrite/admin/form.less +97 -0
  241. package/theme/antd-global-overwrite/admin/message.css +10 -0
  242. package/theme/antd-global-overwrite/admin/message.less +13 -0
  243. package/theme/antd-global-overwrite/admin/modal.css +94 -0
  244. package/theme/antd-global-overwrite/admin/modal.less +128 -0
  245. package/theme/antd-global-overwrite/admin/pagination.css +122 -0
  246. package/theme/antd-global-overwrite/admin/pagination.less +91 -0
  247. package/theme/antd-global-overwrite/admin/steps.css +127 -0
  248. package/theme/antd-global-overwrite/admin/steps.less +197 -0
  249. package/theme/antd-global-overwrite/admin/table.css +78 -0
  250. package/theme/antd-global-overwrite/admin/table.less +62 -0
  251. package/theme/antd-global-overwrite/admin/tooltip.css +3 -0
  252. package/theme/antd-global-overwrite/admin/tooltip.less +3 -0
  253. package/theme/antd-global-overwrite/aplus/alert.css +40 -0
  254. package/theme/antd-global-overwrite/aplus/alert.less +55 -0
  255. package/theme/antd-global-overwrite/aplus/button.css +27 -0
  256. package/theme/antd-global-overwrite/aplus/button.less +31 -0
  257. package/theme/antd-global-overwrite/aplus/field.css +42 -0
  258. package/theme/antd-global-overwrite/aplus/field.less +43 -0
  259. package/theme/antd-global-overwrite/aplus/form.css +87 -0
  260. package/theme/antd-global-overwrite/aplus/form.less +133 -0
  261. package/theme/antd-global-overwrite/aplus/message.css +10 -0
  262. package/theme/antd-global-overwrite/aplus/message.less +13 -0
  263. package/theme/antd-global-overwrite/aplus/modal.css +87 -0
  264. package/theme/antd-global-overwrite/aplus/modal.less +120 -0
  265. package/theme/antd-global-overwrite/aplus/pagination.css +147 -0
  266. package/theme/antd-global-overwrite/aplus/pagination.less +108 -0
  267. package/theme/antd-global-overwrite/aplus/steps.css +125 -0
  268. package/theme/antd-global-overwrite/aplus/steps.less +198 -0
  269. package/theme/antd-global-overwrite/aplus/table.css +78 -0
  270. package/theme/antd-global-overwrite/aplus/table.less +61 -0
  271. package/theme/antd-global-overwrite/aplus/tooltip.css +3 -0
  272. package/theme/antd-global-overwrite/aplus/tooltip.less +3 -0
  273. package/theme/antdv-override.css +2 -6
  274. package/theme/antdv-override.less +2 -6
  275. package/theme/ap-draggable-grid/ap-draggable-grid.css +3 -3
  276. package/theme/ap-draggable-grid/ap-draggable-grid.less +3 -4
  277. package/theme/ap-label/ap-label.css +1 -0
  278. package/theme/ap-label/ap-label.less +1 -0
  279. package/theme/ap-table/ap-table-pagination.css +12 -0
  280. package/theme/ap-table/ap-table-pagination.less +14 -0
  281. package/theme/ap-tag/ap-tag.css +5 -2
  282. package/theme/ap-tag/ap-tag.less +5 -2
  283. package/theme/index.css +11 -11
  284. package/theme/ui-mode.css +60 -0
  285. package/theme/ui-mode.less +109 -0
@@ -1,4 +1,4 @@
1
- import { defineComponent as x, useSlots as g, ref as k, computed as C, unref as o, createElementBlock as S, createBlock as _, openBlock as u, Fragment as P, createTextVNode as T, toDisplayString as V, mergeProps as b, createSlots as h, renderList as F, withCtx as R, renderSlot as U, normalizeProps as A, guardReactiveProps as $ } from "vue";
1
+ import { defineComponent as x, useSlots as g, ref as k, computed as C, unref as o, openBlock as u, createElementBlock as S, Fragment as _, createTextVNode as P, toDisplayString as T, createBlock as V, mergeProps as b, createSlots as h, renderList as F, withCtx as R, renderSlot as U, normalizeProps as A, guardReactiveProps as $ } from "vue";
2
2
  import { Slider as N } from "@aplus-frontend/antdv";
3
3
  import "../../hooks/index.mjs";
4
4
  import { isNil as w, isArray as z, omit as D } from "lodash-unified";
@@ -57,9 +57,9 @@ const I = /* @__PURE__ */ x({
57
57
  return p({
58
58
  focus: v,
59
59
  blur: y
60
- }), (e, t) => e.mode === "read" ? (u(), S(P, { key: 0 }, [
61
- T(V(c.value), 1)
62
- ], 64)) : (u(), _(o(N), b(
60
+ }), (e, t) => e.mode === "read" ? (u(), S(_, { key: 0 }, [
61
+ P(T(c.value), 1)
62
+ ], 64)) : (u(), V(o(N), b(
63
63
  { key: 1 },
64
64
  o(D)(a, [
65
65
  "value",
@@ -1,4 +1,4 @@
1
- import { defineComponent as z, useSlots as D, ref as T, unref as o, computed as g, createVNode as s, Fragment as f, createBlock as k, createElementBlock as E, openBlock as h, resolveDynamicComponent as K, mergeProps as p, createSlots as v, renderList as V, withCtx as C, renderSlot as B, normalizeProps as b, guardReactiveProps as w } from "vue";
1
+ import { defineComponent as z, useSlots as D, ref as T, unref as o, computed as g, createVNode as s, Fragment as f, openBlock as h, createBlock as k, resolveDynamicComponent as E, createElementBlock as K, mergeProps as p, createSlots as v, renderList as V, withCtx as C, renderSlot as B, normalizeProps as b, guardReactiveProps as w } from "vue";
2
2
  import { Switch as A, Popconfirm as L } from "@aplus-frontend/antdv";
3
3
  import "../../hooks/index.mjs";
4
4
  import { isNil as M, isFunction as R, omit as P } from "lodash-unified";
@@ -86,9 +86,9 @@ const O = /* @__PURE__ */ z({
86
86
  const n = o(d);
87
87
  return M(n) ? s(f, null, [e.emptyText]) : n === e.checkedValue ? s(f, null, [e.checkedChildren || ((i = c.checkedChildren) == null ? void 0 : i.call(c)) || `${e.checkedValue}`]) : s(f, null, [e.unCheckedChildren || ((t = c.unCheckedChildren) == null ? void 0 : t.call(c)) || `${e.unCheckedValue}`]);
88
88
  }), U = g(() => r(e.confirm) ? R(e.confirm) ? e.confirm(o(d)) : e.confirm : {});
89
- return (n, u) => n.mode === "read" ? (h(), k(K($.value), {
89
+ return (n, u) => n.mode === "read" ? (h(), k(E($.value), {
90
90
  key: 0
91
- })) : (h(), E(f, {
91
+ })) : (h(), K(f, {
92
92
  key: 1
93
93
  }, [!o(r)(n.confirm) || n.disabled ? (h(), k(o(A), p({
94
94
  key: 0
@@ -1,4 +1,4 @@
1
- import { isVNode as _, defineComponent as V, ref as w, useSlots as R, createVNode as s, mergeProps as T, unref as p, computed as j, createBlock as U, openBlock as z, resolveDynamicComponent as F } from "vue";
1
+ import { isVNode as _, defineComponent as V, ref as w, useSlots as R, createVNode as s, mergeProps as T, unref as p, computed as j, openBlock as U, createBlock as z, resolveDynamicComponent as F } from "vue";
2
2
  import { Input as M } from "@aplus-frontend/antdv";
3
3
  import "../../hooks/index.mjs";
4
4
  import { omit as N } from "lodash-unified";
@@ -137,7 +137,7 @@ const G = /* @__PURE__ */ V({
137
137
  var e;
138
138
  return (e = u.value) == null ? void 0 : e.input;
139
139
  })
140
- }), (e, n) => (z(), U(F(S())));
140
+ }), (e, n) => (U(), z(F(S())));
141
141
  }
142
142
  });
143
143
  export {
@@ -1,4 +1,4 @@
1
- import { isVNode as x, defineComponent as h, useSlots as C, ref as g, unref as i, createVNode as o, mergeProps as w, Fragment as P, createBlock as U, openBlock as V, resolveDynamicComponent as _ } from "vue";
1
+ import { isVNode as x, defineComponent as h, useSlots as C, ref as g, unref as i, createVNode as o, mergeProps as w, Fragment as P, openBlock as U, createBlock as V, resolveDynamicComponent as _ } from "vue";
2
2
  import { Input as S, Space as T } from "@aplus-frontend/antdv";
3
3
  import "../../hooks/index.mjs";
4
4
  import { omit as I } from "lodash-unified";
@@ -150,7 +150,7 @@ const G = /* @__PURE__ */ h({
150
150
  var e;
151
151
  (e = u.value) == null || e.blur();
152
152
  }
153
- }), (e, n) => (V(), U(_(B())));
153
+ }), (e, n) => (U(), V(_(B())));
154
154
  }
155
155
  });
156
156
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as h, ref as I, computed as A, createElementBlock as C, createBlock as g, openBlock as d, normalizeClass as z, unref as t, toDisplayString as T, mergeProps as k } from "vue";
1
+ import { defineComponent as h, ref as I, computed as A, openBlock as d, createElementBlock as C, normalizeClass as g, unref as t, toDisplayString as z, createBlock as T, mergeProps as k } from "vue";
2
2
  import { isNil as w, omit as R } from "lodash-unified";
3
3
  import "../../hooks/index.mjs";
4
4
  import "../../config-provider/index.mjs";
@@ -82,8 +82,8 @@ const O = /* @__PURE__ */ h({
82
82
  })
83
83
  }), (e, a) => e.mode === "read" ? (d(), C("span", {
84
84
  key: 0,
85
- class: z(t(v)())
86
- }, T(t(w)(t(n)) || t(n) === "" ? e.emptyText : t(n)), 3)) : (d(), g(t(_).TextArea, k({ key: 1 }, t(R)(o, ["onUpdate:value", "value", "beforeInput"]), {
85
+ class: g(t(v)())
86
+ }, z(t(w)(t(n)) || t(n) === "" ? e.emptyText : t(n)), 3)) : (d(), T(t(_).TextArea, k({ key: 1 }, t(R)(o, ["onUpdate:value", "value", "beforeInput"]), {
87
87
  ref_key: "textAreaRef",
88
88
  ref: l,
89
89
  placeholder: t(B),
@@ -1,4 +1,4 @@
1
- import { isVNode as _, defineComponent as E, useSlots as K, ref as U, computed as z, unref as n, createVNode as d, Fragment as B, createBlock as w, openBlock as C, resolveDynamicComponent as M, mergeProps as j, createSlots as q, renderList as O, withCtx as x, renderSlot as $, normalizeProps as H, guardReactiveProps as W } from "vue";
1
+ import { isVNode as _, defineComponent as E, useSlots as K, ref as U, computed as z, unref as n, createVNode as d, Fragment as B, openBlock as w, createBlock as C, resolveDynamicComponent as M, mergeProps as j, createSlots as q, renderList as O, withCtx as x, renderSlot as $, normalizeProps as H, guardReactiveProps as W } from "vue";
2
2
  import { Space as G, Tag as J, TreeSelect as Q, Spin as X } from "@aplus-frontend/antdv";
3
3
  import "../../hooks/index.mjs";
4
4
  import { isArray as Y, omit as Z } from "lodash-unified";
@@ -221,9 +221,9 @@ const ie = /* @__PURE__ */ E({
221
221
  request: h,
222
222
  focus: P,
223
223
  blur: A
224
- }), (e, t) => e.mode === "read" ? (C(), w(M(I.value), {
224
+ }), (e, t) => e.mode === "read" ? (w(), C(M(I.value), {
225
225
  key: 0
226
- })) : (C(), w(n(Q), j({
226
+ })) : (w(), C(n(Q), j({
227
227
  key: 1
228
228
  }, n(Z)(a, ["onUpdate:value", "value", "treeData", "loadData"]), {
229
229
  ref_key: "treeSelectRef",
@@ -8,14 +8,14 @@ export declare const useRequest: (props: ApFieldTreeSelectProps) => {
8
8
  disabled?: boolean | undefined;
9
9
  checkable?: boolean | undefined;
10
10
  disableCheckbox?: boolean | undefined;
11
- children?: /*elided*/ any[] | undefined;
11
+ children?: any[] | undefined;
12
12
  } | {
13
13
  [x: string]: any;
14
14
  value?: RawValueType | undefined;
15
15
  title?: any;
16
16
  label?: any;
17
17
  key?: Key | undefined;
18
- children?: /*elided*/ any[] | undefined;
18
+ children?: any[] | undefined;
19
19
  disabled?: boolean | undefined;
20
20
  checkable?: boolean | undefined;
21
21
  disableCheckbox?: boolean | undefined;
@@ -24,14 +24,14 @@ export declare const useRequest: (props: ApFieldTreeSelectProps) => {
24
24
  disabled?: boolean | undefined;
25
25
  checkable?: boolean | undefined;
26
26
  disableCheckbox?: boolean | undefined;
27
- children?: /*elided*/ any[] | undefined;
27
+ children?: any[] | undefined;
28
28
  } | {
29
29
  [x: string]: any;
30
30
  value?: RawValueType | undefined;
31
31
  title?: any;
32
32
  label?: any;
33
33
  key?: Key | undefined;
34
- children?: /*elided*/ any[] | undefined;
34
+ children?: any[] | undefined;
35
35
  disabled?: boolean | undefined;
36
36
  checkable?: boolean | undefined;
37
37
  disableCheckbox?: boolean | undefined;
@@ -1,5 +1,5 @@
1
1
  import { ApFormProps, UpdateModelOptimizeFn, WatchFunc, ApFormInternalInstance } from './interface';
2
- import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
2
+ import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, RuleObject, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
3
3
  import { Recordable } from '../type';
4
4
  import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, HTMLAttributes, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent } from 'vue';
5
5
  import { VueTypeDef, VueTypeValidableDef } from '../../node_modules/vue-types';
@@ -7,6 +7,7 @@ import { ColSize } from '@aplus-frontend/antdv/es/grid';
7
7
  import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
8
8
  import { RuleObject } from '@aplus-frontend/antdv/es/form';
9
9
  import { Options } from '../../node_modules/scroll-into-view-if-needed';
10
+ import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
10
11
  import { SizeType } from '@aplus-frontend/antdv/es/button';
11
12
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
12
13
  declare function __VLS_template(): {
@@ -1,4 +1,4 @@
1
- import { defineComponent as z, reactive as ee, ref as x, unref as p, nextTick as te, toRaw as R, watch as re, onWatcherCleanup as le, computed as oe, createBlock as ie, openBlock as ne, mergeProps as se, withCtx as ae, renderSlot as ue } from "vue";
1
+ import { defineComponent as z, ref as x, reactive as ee, unref as p, nextTick as te, toRaw as R, watch as re, onWatcherCleanup as le, computed as oe, openBlock as ie, createBlock as ne, mergeProps as se, withCtx as ae, renderSlot as ue } from "vue";
2
2
  import { Form as ce } from "@aplus-frontend/antdv";
3
3
  import { useProvideForm as fe } from "./context.mjs";
4
4
  import { isArray as d, cloneDeep as de, isEqual as ge, isFunction as B, isPlainObject as _, omit as me } from "lodash-unified";
@@ -233,7 +233,7 @@ const Ee = /* @__PURE__ */ z({
233
233
  setFieldValue: P,
234
234
  getInitialValues: j
235
235
  }
236
- }), W(A), (e, t) => (ne(), ie(p(ce), se(
236
+ }), W(A), (e, t) => (ie(), ne(p(ce), se(
237
237
  {
238
238
  ref_key: "formRef",
239
239
  ref: a
@@ -1,13 +1,14 @@
1
1
  import { ApFormDrawerFormProps, CustomizeResizeType } from '../interface';
2
2
  import { VNode, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, CSSProperties } from 'vue';
3
- import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
4
- import { ButtonSize, SizeType } from '@aplus-frontend/antdv/es/button';
3
+ import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, RuleObject } from '@aplus-frontend/antdv/es/form/interface';
5
4
  import { ColSize } from '@aplus-frontend/antdv/es/grid';
6
5
  import { RuleObject } from '@aplus-frontend/antdv/es/form';
7
6
  import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
8
7
  import { Options } from '../../../node_modules/scroll-into-view-if-needed';
9
8
  import { Recordable } from '../../type';
10
9
  import { VueTypeDef, VueTypeValidableDef } from '../../../node_modules/vue-types';
10
+ import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
11
+ import { SizeType } from '@aplus-frontend/antdv/es/button';
11
12
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
12
13
  import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc, ApFormSubmitterConfig } from '..';
13
14
  import { OnCleanup } from '@vue/reactivity';
@@ -27,7 +28,7 @@ declare function __VLS_template(): {
27
28
  $: ComponentInternalInstance;
28
29
  $data: {};
29
30
  $props: {
30
- readonly size?: ButtonSize;
31
+ readonly size?: "small" | "large" | "middle" | undefined;
31
32
  readonly onSubmit?: ((e: Event) => void) | undefined;
32
33
  readonly layout?: string | undefined;
33
34
  readonly disabled?: boolean | undefined;
@@ -117,7 +118,7 @@ declare function __VLS_template(): {
117
118
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
118
119
  readonly initialValues?: Recordable | undefined;
119
120
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
120
- readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
121
+ readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
121
122
  readonly syncToUrlPriority?: boolean | undefined;
122
123
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
123
124
  $attrs: {
@@ -975,7 +976,7 @@ declare const __VLS_component: DefineComponent<ApFormDrawerFormProps, {
975
976
  $: ComponentInternalInstance;
976
977
  $data: {};
977
978
  $props: {
978
- readonly size?: ButtonSize;
979
+ readonly size?: "small" | "large" | "middle" | undefined;
979
980
  readonly onSubmit?: ((e: Event) => void) | undefined;
980
981
  readonly layout?: string | undefined;
981
982
  readonly disabled?: boolean | undefined;
@@ -1065,7 +1066,7 @@ declare const __VLS_component: DefineComponent<ApFormDrawerFormProps, {
1065
1066
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
1066
1067
  readonly initialValues?: Recordable | undefined;
1067
1068
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
1068
- readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
1069
+ readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
1069
1070
  readonly syncToUrlPriority?: boolean | undefined;
1070
1071
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1071
1072
  $attrs: {
@@ -1,4 +1,4 @@
1
- import { isVNode as K, defineComponent as Q, useSlots as Y, ref as h, computed as V, unref as l, watch as P, cloneVNode as Z, createVNode as d, mergeProps as b, createElementBlock as N, openBlock as F, Fragment as ee, createBlock as M, createCommentVNode as S, withCtx as g, renderSlot as _, withModifiers as te, normalizeClass as ie, resolveDynamicComponent as L, createTextVNode as ne, toDisplayString as oe } from "vue";
1
+ import { isVNode as K, defineComponent as Q, useSlots as Y, ref as h, computed as V, unref as l, watch as P, cloneVNode as Z, createVNode as d, mergeProps as b, openBlock as F, createElementBlock as N, Fragment as ee, withCtx as g, renderSlot as M, createTextVNode as te, toDisplayString as ie, createBlock as S, resolveDynamicComponent as _, normalizeClass as ne, withModifiers as oe, createCommentVNode as L } from "vue";
2
2
  import { Button as w, Flex as ae, Space as le, Drawer as se } from "@aplus-frontend/antdv";
3
3
  import "../ap-form.vue.mjs";
4
4
  import "../../hooks/index.mjs";
@@ -283,23 +283,23 @@ const je = /* @__PURE__ */ Q({
283
283
  "onUpdate:open": H,
284
284
  onCancel: O
285
285
  }), {
286
- title: g(() => [_(e.$slots, "title", {}, () => [ne(oe(n.title), 1)])]),
287
- footer: g(() => [(F(), M(L(A.value)))]),
286
+ title: g(() => [M(e.$slots, "title", {}, () => [te(ie(n.title), 1)])]),
287
+ footer: g(() => [(F(), S(_(A.value)))]),
288
288
  default: g(() => [d(he, b({
289
289
  ref_key: "formRef",
290
290
  ref: a
291
291
  }, l(me)(n, ["drawerProps", "open", "onUpdate:open", "title", "width", "onFinish", "submitter"])), {
292
- default: g(() => [_(e.$slots, "default")]),
292
+ default: g(() => [M(e.$slots, "default")]),
293
293
  _: 3
294
294
  }, 16), e.resize ? (F(), N("div", {
295
295
  key: 0,
296
- class: ie(q.value),
297
- onMousedown: te(I, ["stop", "prevent"])
298
- }, null, 34)) : S("", !0)]),
296
+ class: ne(q.value),
297
+ onMousedown: oe(I, ["stop", "prevent"])
298
+ }, null, 34)) : L("", !0)]),
299
299
  _: 3
300
- }, 16, ["open", "width"]), l(x) ? (F(), M(L(l(x)), {
300
+ }, 16, ["open", "width"]), l(x) ? (F(), S(_(l(x)), {
301
301
  key: 0
302
- })) : S("", !0)], 64));
302
+ })) : L("", !0)], 64));
303
303
  }
304
304
  });
305
305
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as D, useSlots as L, ref as b, onMounted as _, computed as $, unref as l, cloneVNode as j, createBlock as v, openBlock as F, mergeProps as q, createSlots as E, withCtx as i, resolveDynamicComponent as K, renderList as O, createElementVNode as Q, normalizeClass as U, createVNode as p, normalizeStyle as Y, renderSlot as G, normalizeProps as H, guardReactiveProps as J } from "vue";
1
+ import { defineComponent as D, useSlots as L, ref as b, onMounted as _, computed as $, unref as l, cloneVNode as j, openBlock as v, createBlock as F, mergeProps as q, createSlots as E, withCtx as i, resolveDynamicComponent as K, createElementVNode as O, normalizeClass as Q, createVNode as p, normalizeStyle as U, renderList as Y, renderSlot as G, normalizeProps as H, guardReactiveProps as J } from "vue";
2
2
  import { Form as M, Tooltip as W, TypographyText as X } from "@aplus-frontend/antdv";
3
3
  import { useToken as Z } from "@aplus-frontend/antdv/es/theme/internal";
4
4
  import { isFunction as V, cloneDeep as ee, isArray as oe, omit as g } from "lodash-unified";
@@ -118,7 +118,7 @@ const Ve = /* @__PURE__ */ D({
118
118
  clearValidate: I,
119
119
  resetField: z,
120
120
  getFieldValue: R
121
- }), (e, t) => (F(), v(l(M).Item, q(
121
+ }), (e, t) => (v(), F(l(M).Item, q(
122
122
  {
123
123
  ref_key: "formItemRef",
124
124
  ref: a
@@ -134,22 +134,22 @@ const Ve = /* @__PURE__ */ D({
134
134
  }
135
135
  ), E({
136
136
  default: i(() => [
137
- (F(), v(K(k())))
137
+ (v(), F(K(k())))
138
138
  ]),
139
139
  _: 2
140
140
  }, [
141
141
  o.tooltip ? {
142
142
  name: "tooltip",
143
143
  fn: i(({ class: r }) => [
144
- Q("span", {
145
- class: U(r)
144
+ O("span", {
145
+ class: Q(r)
146
146
  }, [
147
147
  p(l(W), {
148
148
  title: o.tooltip
149
149
  }, {
150
150
  default: i(() => [
151
151
  p(l(te), {
152
- style: Y({
152
+ style: U({
153
153
  color: l(C).colorTextTertiary,
154
154
  fontSize: "14px",
155
155
  transform: "translateY(1px)"
@@ -173,7 +173,7 @@ const Ve = /* @__PURE__ */ D({
173
173
  ]),
174
174
  key: "1"
175
175
  } : void 0,
176
- O(l(g)(s, "default"), (r, n) => ({
176
+ Y(l(g)(s, "default"), (r, n) => ({
177
177
  name: n,
178
178
  fn: i((A) => [
179
179
  G(e.$slots, n, H(J(A || {})))
@@ -1,4 +1,4 @@
1
- import { isVNode as _, defineComponent as k, useSlots as w, ref as h, onBeforeUpdate as B, watch as N, unref as a, createVNode as P, mergeProps as d, createBlock as f, openBlock as p, withCtx as R, createElementBlock as S, Fragment as b, renderList as x, resolveDynamicComponent as j } from "vue";
1
+ import { isVNode as _, defineComponent as k, useSlots as w, ref as h, onBeforeUpdate as B, watch as N, unref as a, createVNode as P, mergeProps as d, openBlock as p, createBlock as f, withCtx as R, createElementBlock as S, Fragment as b, renderList as x, resolveDynamicComponent as j } from "vue";
2
2
  import { Col as v, Row as F } from "@aplus-frontend/antdv";
3
3
  import { pick as D, isBoolean as I, omit as O } from "lodash-unified";
4
4
  import { apFormItemColPropKeys as V } from "../constant.mjs";
@@ -1,4 +1,4 @@
1
- import { defineComponent as f, useSlots as m, createBlock as u, openBlock as c, normalizeProps as a, guardReactiveProps as t, unref as o, createSlots as b, withCtx as r, createVNode as B, mergeProps as _, renderList as v, renderSlot as x } from "vue";
1
+ import { defineComponent as f, useSlots as m, openBlock as u, createBlock as c, normalizeProps as a, guardReactiveProps as t, unref as o, createSlots as b, withCtx as r, createVNode as B, mergeProps as _, renderList as v, renderSlot as x } from "vue";
2
2
  import "../../item/index.vue2.mjs";
3
3
  import "../../../ap-field/index.mjs";
4
4
  import { omit as i } from "lodash-unified";
@@ -53,7 +53,7 @@ const w = /* @__PURE__ */ f({
53
53
  },
54
54
  setup(d) {
55
55
  const s = d, n = m();
56
- return (e, h) => (c(), u(y, a(t(o(i)(s, ["field", "disabled"]))), b({
56
+ return (e, h) => (u(), c(y, a(t(o(i)(s, ["field", "disabled"]))), b({
57
57
  default: r(() => [
58
58
  B(o(g), _({ disabled: e.disabled }, e.field), null, 16, ["disabled"])
59
59
  ]),
@@ -1,4 +1,4 @@
1
- import { defineComponent as h, useSlots as B, computed as v, createBlock as y, openBlock as x, normalizeProps as a, guardReactiveProps as t, unref as r, createSlots as s, withCtx as i, createVNode as g, renderList as p, renderSlot as f } from "vue";
1
+ import { defineComponent as h, useSlots as B, computed as v, openBlock as y, createBlock as x, normalizeProps as a, guardReactiveProps as t, unref as r, createSlots as s, withCtx as i, createVNode as g, renderList as p, renderSlot as f } from "vue";
2
2
  import "../../item/index.vue2.mjs";
3
3
  import "../../../ap-field/date/index.vue2.mjs";
4
4
  import { isUndefined as F, omit as m, pick as S } from "lodash-unified";
@@ -64,7 +64,7 @@ const L = /* @__PURE__ */ h({
64
64
  bordered: e.bordered ? !1 : F((o = e.field) == null ? void 0 : o.bordered) ? !0 : e.field.bordered
65
65
  };
66
66
  });
67
- return (o, P) => (x(), y(k, a(t(r(m)(e, ["field", "placeholder", "disabled"]))), s({
67
+ return (o, P) => (y(), x(k, a(t(r(m)(e, ["field", "placeholder", "disabled"]))), s({
68
68
  default: i(() => [
69
69
  g(C, a(t(b.value)), s({ _: 2 }, [
70
70
  p(r(m)(n, r(u)), (_, l) => ({
@@ -1,4 +1,4 @@
1
- import { defineComponent as B, useSlots as g, computed as v, createBlock as y, openBlock as x, normalizeProps as r, guardReactiveProps as t, unref as o, createSlots as p, withCtx as n, createVNode as F, renderList as f, renderSlot as m } from "vue";
1
+ import { defineComponent as B, useSlots as g, computed as v, openBlock as y, createBlock as x, normalizeProps as r, guardReactiveProps as t, unref as o, createSlots as p, withCtx as n, createVNode as F, renderList as f, renderSlot as m } from "vue";
2
2
  import "../../item/index.vue2.mjs";
3
3
  import "../../../ap-field/index.mjs";
4
4
  import { isUndefined as S, omit as u, pick as k } from "lodash-unified";
@@ -64,7 +64,7 @@ const I = /* @__PURE__ */ B({
64
64
  bordered: e.bordered ? !1 : S((l = e.field) == null ? void 0 : l.bordered) ? !0 : (d = e.field) == null ? void 0 : d.bordered
65
65
  };
66
66
  });
67
- return (l, d) => (x(), y(C, r(t(o(u)(e, ["field", "placeholder", "disabled"]))), p({
67
+ return (l, d) => (y(), x(C, r(t(o(u)(e, ["field", "placeholder", "disabled"]))), p({
68
68
  default: n(() => [
69
69
  F(o(P), r(t(_.value)), p({ _: 2 }, [
70
70
  f(o(u)(s, o(c)), (h, a) => ({
@@ -2,9 +2,9 @@ import { ApFormItemNumberProps } from '../interface';
2
2
  import { ApFormItemSlots } from '../../interface';
3
3
  import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent } from 'vue';
4
4
  import { FieldMode, ApFieldNumberProps } from '../../..';
5
- import { ButtonSize } from '@aplus-frontend/antdv/es/button';
6
5
  import { ValueType } from '@aplus-frontend/antdv/es/input-number/src/utils/MiniDecimal';
7
6
  import { KeyboardEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
7
+ import { ButtonSize } from '@aplus-frontend/antdv/es/button';
8
8
  import { VueTypeValidableDef } from '../../../../node_modules/vue-types';
9
9
  import { VueNode, CustomSlotsType } from '@aplus-frontend/antdv/es/_util/type';
10
10
  import { OnCleanup } from '@vue/reactivity';
@@ -33,7 +33,7 @@ declare function __VLS_template(): {
33
33
  readonly mode?: FieldMode | undefined;
34
34
  readonly class?: unknown;
35
35
  readonly style?: unknown;
36
- readonly size?: ButtonSize;
36
+ readonly size?: "small" | "large" | "middle" | undefined;
37
37
  readonly step?: ValueType | undefined;
38
38
  readonly onBlur?: ((e: FocusEvent) => void) | undefined;
39
39
  readonly onChange?: ((value: ValueType) => void) | undefined;
@@ -506,7 +506,7 @@ declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
506
506
  readonly mode?: FieldMode | undefined;
507
507
  readonly class?: unknown;
508
508
  readonly style?: unknown;
509
- readonly size?: ButtonSize;
509
+ readonly size?: "small" | "large" | "middle" | undefined;
510
510
  readonly step?: ValueType | undefined;
511
511
  readonly onBlur?: ((e: FocusEvent) => void) | undefined;
512
512
  readonly onChange?: ((value: ValueType) => void) | undefined;
@@ -1,4 +1,4 @@
1
- import { defineComponent as y, useSlots as B, ref as _, createBlock as g, openBlock as x, normalizeProps as t, guardReactiveProps as s, unref as l, createSlots as p, withCtx as d, createVNode as k, mergeProps as F, renderList as i, renderSlot as u } from "vue";
1
+ import { defineComponent as y, useSlots as B, ref as _, openBlock as g, createBlock as x, normalizeProps as t, guardReactiveProps as s, unref as l, createSlots as p, withCtx as d, createVNode as k, mergeProps as F, renderList as i, renderSlot as u } from "vue";
2
2
  import "../../item/index.vue2.mjs";
3
3
  import "../../../ap-field/number/index.vue2.mjs";
4
4
  import { omit as f, pick as N } from "lodash-unified";
@@ -65,7 +65,7 @@ const T = /* @__PURE__ */ y({
65
65
  var e;
66
66
  (e = r.value) == null || e.blur();
67
67
  }
68
- }), (e, R) => (x(), g(S, t(s(l(f)(h, ["field", "placeholder", "disabled"]))), p({
68
+ }), (e, R) => (g(), x(S, t(s(l(f)(h, ["field", "placeholder", "disabled"]))), p({
69
69
  default: d(() => [
70
70
  k(C, F({
71
71
  ref_key: "inputNumberRef",
@@ -1,4 +1,4 @@
1
- import { defineComponent as u, useSlots as m, ref as c, createBlock as b, openBlock as v, normalizeProps as a, guardReactiveProps as t, unref as r, createSlots as _, withCtx as s, createVNode as y, mergeProps as B, renderList as x, renderSlot as g } from "vue";
1
+ import { defineComponent as u, useSlots as m, ref as c, openBlock as b, createBlock as v, normalizeProps as a, guardReactiveProps as t, unref as r, createSlots as _, withCtx as s, createVNode as y, mergeProps as B, renderList as x, renderSlot as g } from "vue";
2
2
  import "../../item/index.vue2.mjs";
3
3
  import "../../../ap-field/index.mjs";
4
4
  import { omit as h } from "lodash-unified";
@@ -62,7 +62,7 @@ const q = /* @__PURE__ */ u({
62
62
  var e;
63
63
  (e = o.value) == null || e.blur();
64
64
  }
65
- }), (e, P) => (v(), b(k, a(t(r(h)(n, ["field", "disabled"]))), _({
65
+ }), (e, P) => (b(), v(k, a(t(r(h)(n, ["field", "disabled"]))), _({
66
66
  default: s(() => [
67
67
  y(r(C), B({
68
68
  ref_key: "radioRef",
@@ -2,7 +2,6 @@ import { ApFormItemSelectProps } from '../interface';
2
2
  import { ApFormItemSlots } from '../../interface';
3
3
  import { ComponentInternalInstance, CSSProperties, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent } from 'vue';
4
4
  import { FieldMode, ApFieldSelectProps } from '../../..';
5
- import { ButtonSize } from '@aplus-frontend/antdv/es/button';
6
5
  import { SelectValue, DefaultOptionType, LabeledValue } from '@aplus-frontend/antdv/es/select';
7
6
  import { SelectHandler, FieldNames, FilterFunc } from '@aplus-frontend/antdv/es/vc-select/Select';
8
7
  import { VueNode, CustomSlotsType } from '@aplus-frontend/antdv/es/_util/type';
@@ -11,6 +10,7 @@ import { AlignType } from '@aplus-frontend/antdv/es/vc-trigger/interface';
11
10
  import { Recordable } from '../../../type';
12
11
  import { SelectProps } from '@aplus-frontend/antdv';
13
12
  import { VueTypeValidableDef } from '../../../../node_modules/vue-types';
13
+ import { ButtonSize } from '@aplus-frontend/antdv/es/button';
14
14
  import { OnCleanup } from '@vue/reactivity';
15
15
  declare function __VLS_template(): {
16
16
  attrs: Partial<{}>;
@@ -49,7 +49,7 @@ declare function __VLS_template(): {
49
49
  readonly mode?: FieldMode | undefined;
50
50
  readonly class?: unknown;
51
51
  readonly style?: unknown;
52
- readonly size?: ButtonSize;
52
+ readonly size?: "small" | "large" | "middle" | undefined;
53
53
  readonly onBlur?: ((e: FocusEvent) => void) | undefined;
54
54
  readonly onChange?: ((value: SelectValue, option: DefaultOptionType | DefaultOptionType[]) => void) | undefined;
55
55
  readonly onClick?: ((e: MouseEvent) => void) | undefined;
@@ -74,7 +74,7 @@ declare function __VLS_template(): {
74
74
  readonly getPopupContainer?: RenderDOMFunc | undefined;
75
75
  readonly virtual?: boolean | undefined;
76
76
  readonly dropdownMatchSelectWidth?: number | boolean | undefined;
77
- readonly defaultValue?: SelectValue;
77
+ readonly defaultValue?: (string | number) | LabeledValue | (string | number)[] | LabeledValue[] | undefined;
78
78
  readonly id?: string | undefined;
79
79
  readonly placeholder?: any;
80
80
  readonly status?: "" | "error" | "warning" | undefined;
@@ -124,12 +124,12 @@ declare function __VLS_template(): {
124
124
  readonly emptyText?: string | undefined;
125
125
  readonly request?: ((value?: string, extraParams?: Recordable) => Promise< SelectProps["options"]>) | undefined;
126
126
  readonly multiple?: boolean | undefined;
127
- readonly value?: SelectValue;
127
+ readonly value?: SelectProps["value"];
128
128
  readonly 'onUpdate:value'?: (((val: SelectValue) => void) & ((...args: any[]) => any)) | undefined;
129
- readonly searchMode?: "filter" | "request" | undefined;
129
+ readonly searchMode?: ("filter" | "request") | undefined;
130
130
  readonly refetchOnFocus?: boolean | undefined;
131
131
  readonly lazy?: boolean | undefined;
132
- readonly addAll?: boolean | number | undefined;
132
+ readonly addAll?: (boolean | number) | undefined;
133
133
  readonly params?: Recordable | undefined;
134
134
  readonly searchDelay?: number | undefined;
135
135
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
@@ -680,7 +680,7 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
680
680
  readonly mode?: FieldMode | undefined;
681
681
  readonly class?: unknown;
682
682
  readonly style?: unknown;
683
- readonly size?: ButtonSize;
683
+ readonly size?: "small" | "large" | "middle" | undefined;
684
684
  readonly onBlur?: ((e: FocusEvent) => void) | undefined;
685
685
  readonly onChange?: ((value: SelectValue, option: DefaultOptionType | DefaultOptionType[]) => void) | undefined;
686
686
  readonly onClick?: ((e: MouseEvent) => void) | undefined;
@@ -705,7 +705,7 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
705
705
  readonly getPopupContainer?: RenderDOMFunc | undefined;
706
706
  readonly virtual?: boolean | undefined;
707
707
  readonly dropdownMatchSelectWidth?: number | boolean | undefined;
708
- readonly defaultValue?: SelectValue;
708
+ readonly defaultValue?: (string | number) | LabeledValue | (string | number)[] | LabeledValue[] | undefined;
709
709
  readonly id?: string | undefined;
710
710
  readonly placeholder?: any;
711
711
  readonly status?: "" | "error" | "warning" | undefined;
@@ -755,12 +755,12 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
755
755
  readonly emptyText?: string | undefined;
756
756
  readonly request?: ((value?: string, extraParams?: Recordable) => Promise< SelectProps["options"]>) | undefined;
757
757
  readonly multiple?: boolean | undefined;
758
- readonly value?: SelectValue;
758
+ readonly value?: SelectProps["value"];
759
759
  readonly 'onUpdate:value'?: (((val: SelectValue) => void) & ((...args: any[]) => any)) | undefined;
760
- readonly searchMode?: "filter" | "request" | undefined;
760
+ readonly searchMode?: ("filter" | "request") | undefined;
761
761
  readonly refetchOnFocus?: boolean | undefined;
762
762
  readonly lazy?: boolean | undefined;
763
- readonly addAll?: boolean | number | undefined;
763
+ readonly addAll?: (boolean | number) | undefined;
764
764
  readonly params?: Recordable | undefined;
765
765
  readonly searchDelay?: number | undefined;
766
766
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
@@ -1,4 +1,4 @@
1
- import { defineComponent as B, useSlots as x, ref as g, computed as S, createBlock as F, openBlock as k, normalizeProps as d, guardReactiveProps as n, unref as l, createSlots as u, withCtx as i, createVNode as C, mergeProps as P, renderList as f, renderSlot as c } from "vue";
1
+ import { defineComponent as B, useSlots as x, ref as g, computed as S, openBlock as F, createBlock as k, normalizeProps as d, guardReactiveProps as n, unref as l, createSlots as u, withCtx as i, createVNode as C, mergeProps as P, renderList as f, renderSlot as c } from "vue";
2
2
  import "../../item/index.vue2.mjs";
3
3
  import "../../../ap-field/index.mjs";
4
4
  import { isUndefined as q, omit as m, pick as $ } from "lodash-unified";
@@ -77,7 +77,7 @@ const E = /* @__PURE__ */ B({
77
77
  var e;
78
78
  (e = t.value) == null || e.request();
79
79
  }
80
- }), (e, a) => (k(), F(N, d(n(l(m)(o, ["field", "placeholder", "disabled"]))), u({
80
+ }), (e, a) => (F(), k(N, d(n(l(m)(o, ["field", "placeholder", "disabled"]))), u({
81
81
  default: i(() => [
82
82
  C(l(R), P(h.value, {
83
83
  ref_key: "selectRef",
@@ -1,4 +1,4 @@
1
- import { defineComponent as b, useSlots as B, createBlock as h, openBlock as v, normalizeProps as t, guardReactiveProps as r, unref as o, createSlots as d, withCtx as i, createVNode as y, mergeProps as g, renderList as n, renderSlot as p } from "vue";
1
+ import { defineComponent as b, useSlots as B, openBlock as h, createBlock as v, normalizeProps as t, guardReactiveProps as r, unref as o, createSlots as d, withCtx as i, createVNode as y, mergeProps as g, renderList as n, renderSlot as p } from "vue";
2
2
  import "../../item/index.vue2.mjs";
3
3
  import "../../../ap-field/switch/index.vue2.mjs";
4
4
  import { omit as m, pick as x } from "lodash-unified";
@@ -54,7 +54,7 @@ const I = /* @__PURE__ */ b({
54
54
  },
55
55
  setup(u) {
56
56
  const c = u, s = B();
57
- return (l, F) => (v(), h(S, t(r(o(m)(c, ["field", "disabled"]))), d({
57
+ return (l, F) => (h(), v(S, t(r(o(m)(c, ["field", "disabled"]))), d({
58
58
  default: i(() => [
59
59
  y(k, g({ disabled: l.disabled }, l.field), d({ _: 2 }, [
60
60
  n(o(m)(s, o(f)), (_, e) => ({
@@ -1,4 +1,4 @@
1
- import { defineComponent as a, createBlock as m, openBlock as s, unref as o, mergeProps as c, withCtx as n, renderSlot as u } from "vue";
1
+ import { defineComponent as a, openBlock as m, createBlock as s, unref as o, mergeProps as c, withCtx as n, renderSlot as u } from "vue";
2
2
  import { Input as l } from "@aplus-frontend/antdv";
3
3
  import "../../../config-provider/index.mjs";
4
4
  import { useNamespace as f } from "../../../config-provider/hooks/use-namespace.mjs";
@@ -11,7 +11,7 @@ const B = /* @__PURE__ */ a({
11
11
  },
12
12
  setup(t) {
13
13
  const { b: p } = f("ap-form-item-text-group"), r = t;
14
- return (e, i) => (s(), m(o(l).Group, c({
14
+ return (e, i) => (m(), s(o(l).Group, c({
15
15
  class: e.$props.compact ? o(p)("compact") : null
16
16
  }, r), {
17
17
  default: n(() => [
@@ -1,4 +1,4 @@
1
- import { defineComponent as B, useSlots as x, ref as S, computed as _, createBlock as F, openBlock as k, normalizeProps as n, guardReactiveProps as i, unref as t, createSlots as u, withCtx as p, createVNode as R, mergeProps as C, renderList as f, renderSlot as c } from "vue";
1
+ import { defineComponent as B, useSlots as x, ref as S, computed as _, openBlock as F, createBlock as k, normalizeProps as n, guardReactiveProps as i, unref as t, createSlots as u, withCtx as p, createVNode as R, mergeProps as C, renderList as f, renderSlot as c } from "vue";
2
2
  import "../../item/index.vue2.mjs";
3
3
  import { ApField as P } from "../../../ap-field/index.mjs";
4
4
  import { omit as m, pick as A } from "lodash-unified";
@@ -76,7 +76,7 @@ const E = /* @__PURE__ */ B({
76
76
  var e;
77
77
  return (e = l.value) == null ? void 0 : e.input;
78
78
  })
79
- }), (e, a) => (k(), F(N, n(i(t(m)(y, ["field", "disabled", "placeholder"]))), u({
79
+ }), (e, a) => (F(), k(N, n(i(t(m)(y, ["field", "disabled", "placeholder"]))), u({
80
80
  default: p(() => [
81
81
  R(t(g), C({
82
82
  ref_key: "inputRef",
@@ -1,4 +1,4 @@
1
- import { defineComponent as B, useSlots as _, ref as g, createBlock as x, openBlock as F, normalizeProps as t, guardReactiveProps as s, unref as o, createSlots as n, withCtx as d, createVNode as k, mergeProps as P, renderList as i, renderSlot as f } from "vue";
1
+ import { defineComponent as B, useSlots as _, ref as g, openBlock as x, createBlock as F, normalizeProps as t, guardReactiveProps as s, unref as o, createSlots as n, withCtx as d, createVNode as k, mergeProps as P, renderList as i, renderSlot as f } from "vue";
2
2
  import "../../item/index.vue2.mjs";
3
3
  import { ApField as S } from "../../../ap-field/index.mjs";
4
4
  import { omit as u, pick as w } from "lodash-unified";
@@ -64,7 +64,7 @@ const z = /* @__PURE__ */ B({
64
64
  var e;
65
65
  (e = a.value) == null || e.blur();
66
66
  }
67
- }), (e, R) => (F(), x(C, t(s(o(u)(v, ["field", "disabled", "placeholder"]))), n({
67
+ }), (e, R) => (x(), F(C, t(s(o(u)(v, ["field", "disabled", "placeholder"]))), n({
68
68
  default: d(() => [
69
69
  k(o(h).Password, P({
70
70
  ref_key: "inputRef",