@aplus-frontend/ui 6.19.1 → 6.20.0

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 (301) 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.d.ts +31 -2
  6. package/es/src/ap-action/item-popconfirm/index.vue.mjs +2 -2
  7. package/es/src/ap-button/ap-action-button.vue.mjs +11 -7
  8. package/es/src/ap-button/ap-button.vue.mjs +24 -20
  9. package/es/src/ap-button/ap-confirm-button.vue.mjs +15 -11
  10. package/es/src/ap-descriptions/ap-descriptions.vue.mjs +4 -4
  11. package/es/src/ap-descriptions/help-message/index.vue2.mjs +4 -4
  12. package/es/src/ap-download/ap-download.vue.mjs +21 -18
  13. package/es/src/ap-drawer/components/ApDrawerClose.vue2.mjs +2 -2
  14. package/es/src/ap-field/checkbox/index.vue.mjs +1 -1
  15. package/es/src/ap-field/date/index.vue.mjs +13 -13
  16. package/es/src/ap-field/date-range/index.vue.mjs +16 -16
  17. package/es/src/ap-field/index.mjs +36 -36
  18. package/es/src/ap-field/number/index.vue.d.ts +29 -29
  19. package/es/src/ap-field/number/index.vue.mjs +8 -8
  20. package/es/src/ap-field/radio/index.vue.mjs +1 -1
  21. package/es/src/ap-field/rate/index.vue.d.ts +4 -4
  22. package/es/src/ap-field/rate/index.vue.mjs +2 -2
  23. package/es/src/ap-field/segmented/index.vue.mjs +17 -12
  24. package/es/src/ap-field/select/index.vue.d.ts +97 -97
  25. package/es/src/ap-field/select/index.vue.mjs +10 -10
  26. package/es/src/ap-field/select/use-select-options.d.ts +2 -2
  27. package/es/src/ap-field/slider/index.vue.d.ts +8 -8
  28. package/es/src/ap-field/slider/index.vue.mjs +4 -4
  29. package/es/src/ap-field/switch/index.vue.mjs +3 -3
  30. package/es/src/ap-field/text/index.vue2.mjs +2 -2
  31. package/es/src/ap-field/text/password.vue.mjs +2 -2
  32. package/es/src/ap-field/text-area/index.vue.d.ts +54 -54
  33. package/es/src/ap-field/text-area/index.vue.mjs +12 -12
  34. package/es/src/ap-field/tree-select/index.vue.d.ts +93 -93
  35. package/es/src/ap-field/tree-select/index.vue.mjs +19 -19
  36. package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
  37. package/es/src/ap-form/ap-form.vue.d.ts +14 -15
  38. package/es/src/ap-form/ap-form.vue2.mjs +2 -2
  39. package/es/src/ap-form/drawer-form/index.vue.d.ts +18 -19
  40. package/es/src/ap-form/drawer-form/index.vue.mjs +9 -9
  41. package/es/src/ap-form/item/index.vue.mjs +7 -7
  42. package/es/src/ap-form/item-group/index.vue.mjs +1 -1
  43. package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
  44. package/es/src/ap-form/items/date/index.vue.mjs +2 -2
  45. package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
  46. package/es/src/ap-form/items/number/index.vue.d.ts +31 -31
  47. package/es/src/ap-form/items/number/index.vue.mjs +2 -2
  48. package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
  49. package/es/src/ap-form/items/select/index.vue.d.ts +107 -107
  50. package/es/src/ap-form/items/select/index.vue.mjs +2 -2
  51. package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
  52. package/es/src/ap-form/items/text/group.vue2.mjs +2 -2
  53. package/es/src/ap-form/items/text/index.vue.d.ts +3 -3
  54. package/es/src/ap-form/items/text/index.vue2.mjs +2 -2
  55. package/es/src/ap-form/items/text/password.vue.d.ts +3 -3
  56. package/es/src/ap-form/items/text/password.vue.mjs +2 -2
  57. package/es/src/ap-form/items/text-area/index.vue.d.ts +106 -106
  58. package/es/src/ap-form/items/text-area/index.vue.mjs +2 -2
  59. package/es/src/ap-form/items/tree-select/index.vue.d.ts +95 -95
  60. package/es/src/ap-form/items/tree-select/index.vue.mjs +2 -2
  61. package/es/src/ap-form/modal-form/index.vue.d.ts +48 -20
  62. package/es/src/ap-form/modal-form/index.vue.mjs +7 -7
  63. package/es/src/ap-form/render/item.vue.mjs +2 -2
  64. package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +29 -10
  65. package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +10 -10
  66. package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +23 -23
  67. package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.mjs +2 -2
  68. package/es/src/ap-form/search-form/index.vue.d.ts +18 -19
  69. package/es/src/ap-form/search-form/index.vue.mjs +1 -1
  70. package/es/src/ap-form/set/index.vue.mjs +1 -1
  71. package/es/src/ap-grid/editable/form-item.vue.d.ts +2 -4
  72. package/es/src/ap-grid/editable/form-item.vue.mjs +9 -9
  73. package/es/src/ap-grid/editable/index.vue.d.ts +2 -4
  74. package/es/src/ap-grid/editable/index.vue.mjs +3 -3
  75. package/es/src/ap-grid/index.vue.d.ts +2 -4
  76. package/es/src/ap-grid/index.vue.mjs +41 -41
  77. package/es/src/ap-list/index.vue.d.ts +2 -4
  78. package/es/src/ap-list/index.vue.mjs +1 -1
  79. package/es/src/ap-modal/utils/confirm.d.ts +1 -1
  80. package/es/src/ap-table/ap-table.vue.d.ts +2 -4
  81. package/es/src/ap-table/ap-table.vue2.mjs +13 -14
  82. package/es/src/ap-table/components/index/index.vue2.mjs +2 -2
  83. package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +3 -3
  84. package/es/src/ap-table/components/setting/modal/index.vue2.mjs +3 -3
  85. package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +1 -1
  86. package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +1 -1
  87. package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +1 -1
  88. package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +11 -11
  89. package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
  90. package/es/src/ap-table/components/status/index.vue2.mjs +2 -2
  91. package/es/src/ap-table/constants.d.ts +332 -332
  92. package/es/src/ap-table/constants.mjs +45 -45
  93. package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  94. package/es/src/ap-table/hooks/use-table-column-state.mjs +3 -3
  95. package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -8
  96. package/es/src/ap-tag/ap-tag.vue.mjs +2 -2
  97. package/es/src/ap-upload/apUpload.vue.mjs +5 -5
  98. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +3 -3
  99. package/es/src/ap-upload/components/MultipleFile.vue2.mjs +3 -3
  100. package/es/src/ap-upload/components/Picture.vue.d.ts +2 -7
  101. package/es/src/ap-upload/components/Picture.vue2.mjs +6 -6
  102. package/es/src/ap-upload/components/SingleFile.vue2.mjs +7 -7
  103. package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +1 -1
  104. package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +2 -2
  105. package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +6 -6
  106. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +9 -9
  107. package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +4 -3
  108. package/es/src/business/ap-batch-action-group/index.d.ts +33 -11
  109. package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
  110. package/es/src/business/ap-card/ApCard.vue2.mjs +9 -9
  111. package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +1 -1
  112. package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue2.mjs +5 -5
  113. package/es/src/business/ap-draggable-grid/index.d.ts +1 -1
  114. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
  115. package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +33 -33
  116. package/es/src/business/ap-expand-alert/index.d.ts +4 -6
  117. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +7 -7
  118. package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
  119. package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +2 -2
  120. package/es/src/business/ap-keep-alive/keep-alive.mjs +3 -3
  121. package/es/src/business/ap-ladder/components/RenderValue.mjs +2 -2
  122. package/es/src/business/ap-radio-group/ap-radio-group.vue2.mjs +1 -1
  123. package/es/src/business/ap-select-layout/index.d.ts +2 -4
  124. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
  125. package/es/src/business/ap-select-layout/select-layout.vue2.mjs +4 -4
  126. package/es/src/business/ap-status/ApStatus.vue2.mjs +8 -8
  127. package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +4 -4
  128. package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
  129. package/es/src/business/ap-table-modal/index.d.ts +17 -5
  130. package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
  131. package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +14 -14
  132. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +3 -3
  133. package/es/src/business/ap-title/ApTitle.vue2.mjs +7 -7
  134. package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +1 -1
  135. package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +2 -2
  136. package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +2 -2
  137. package/es/src/business/ap-view/ap-view.vue2.mjs +2 -2
  138. package/es/src/business/ap-view/components/main-button-content.vue.d.ts +10 -11
  139. package/es/src/business/ap-view/components/main-button-content.vue2.mjs +5 -5
  140. package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +10 -11
  141. package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +6 -6
  142. package/es/src/business/ap-view/icons/line-delete.vue.mjs +2 -2
  143. package/es/src/business/ap-view/icons/line-down.vue.mjs +2 -2
  144. package/es/src/business/ap-view/icons/line-eye.vue.mjs +2 -2
  145. package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
  146. package/es/src/business/batch-input-group/index.vue.d.ts +2 -2
  147. package/es/src/business/batch-input-group/index.vue.mjs +1 -1
  148. package/es/src/business/batch-input-group/popover-input/index.vue.d.ts +54 -54
  149. package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
  150. package/es/src/check-card/index.vue2.mjs +3 -3
  151. package/es/src/config-provider/config-provider-props.d.ts +4 -5
  152. package/es/src/config-provider/config-provider.d.ts +8 -9
  153. package/es/src/config-provider/hooks/use-global-config.d.ts +4 -5
  154. package/es/src/config-provider/hooks/use-namespace.d.ts +5 -1
  155. package/es/src/config-provider/index.d.ts +13 -14
  156. package/es/src/editable-table/form-item.vue.d.ts +2 -4
  157. package/es/src/editable-table/form-item.vue.mjs +37 -38
  158. package/es/src/editable-table/index.vue.d.ts +2 -4
  159. package/es/src/editable-table/index.vue.mjs +15 -16
  160. package/es/src/full-screen/index.vue.mjs +3 -3
  161. package/es/src/hooks/useFullScreen.mjs +5 -5
  162. package/es/src/mask/index.vue.mjs +10 -10
  163. package/es/src/portal/index.vue.mjs +2 -2
  164. package/es/src/scroll-bar/index.vue.mjs +3 -3
  165. package/es/src/scroll-bar/internal.vue.mjs +2 -2
  166. package/es/src/scroll-view/index.vue.d.ts +5 -5
  167. package/es/src/scroll-view/index.vue.mjs +9 -9
  168. package/es/src/splitter/Panel.vue2.mjs +4 -4
  169. package/es/src/splitter/SplitBar.vue2.mjs +7 -7
  170. package/es/src/splitter/Splitter.vue2.mjs +5 -5
  171. package/es/src/tests/wrapper.d.ts +4 -4
  172. package/es/src/text/group.vue.mjs +2 -2
  173. package/es/src/text/index.vue.mjs +5 -5
  174. package/es/src/utils/config-provider-preset.d.ts +5 -6
  175. package/es/src/version.d.ts +1 -1
  176. package/es/src/version.mjs +1 -1
  177. package/es/src/work-order-modal/help-message.vue2.mjs +2 -2
  178. package/es/src/work-order-modal/work-order-modal.vue.d.ts +10 -11
  179. package/es/src/work-order-modal/work-order-modal.vue.mjs +2 -2
  180. package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
  181. package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +31 -2
  182. package/lib/src/ap-button/ap-action-button.vue.js +1 -1
  183. package/lib/src/ap-button/ap-button.vue.js +1 -1
  184. package/lib/src/ap-button/ap-confirm-button.vue.js +1 -1
  185. package/lib/src/ap-download/ap-download.vue.js +1 -1
  186. package/lib/src/ap-field/date/index.vue.js +1 -1
  187. package/lib/src/ap-field/date-range/index.vue.js +1 -1
  188. package/lib/src/ap-field/index.js +1 -1
  189. package/lib/src/ap-field/number/index.vue.d.ts +29 -29
  190. package/lib/src/ap-field/rate/index.vue.d.ts +4 -4
  191. package/lib/src/ap-field/segmented/index.vue.js +1 -1
  192. package/lib/src/ap-field/select/index.vue.d.ts +97 -97
  193. package/lib/src/ap-field/select/index.vue.js +1 -1
  194. package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
  195. package/lib/src/ap-field/slider/index.vue.d.ts +8 -8
  196. package/lib/src/ap-field/text-area/index.vue.d.ts +54 -54
  197. package/lib/src/ap-field/text-area/index.vue.js +1 -1
  198. package/lib/src/ap-field/tree-select/index.vue.d.ts +93 -93
  199. package/lib/src/ap-field/tree-select/index.vue.js +1 -1
  200. package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
  201. package/lib/src/ap-form/ap-form.vue.d.ts +14 -15
  202. package/lib/src/ap-form/drawer-form/index.vue.d.ts +18 -19
  203. package/lib/src/ap-form/items/number/index.vue.d.ts +31 -31
  204. package/lib/src/ap-form/items/select/index.vue.d.ts +107 -107
  205. package/lib/src/ap-form/items/text/index.vue.d.ts +3 -3
  206. package/lib/src/ap-form/items/text/password.vue.d.ts +3 -3
  207. package/lib/src/ap-form/items/text-area/index.vue.d.ts +106 -106
  208. package/lib/src/ap-form/items/tree-select/index.vue.d.ts +95 -95
  209. package/lib/src/ap-form/modal-form/index.vue.d.ts +48 -20
  210. package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +29 -10
  211. package/lib/src/ap-form/search-form/index.vue.d.ts +18 -19
  212. package/lib/src/ap-grid/editable/form-item.vue.d.ts +2 -4
  213. package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
  214. package/lib/src/ap-grid/editable/index.vue.d.ts +2 -4
  215. package/lib/src/ap-grid/editable/index.vue.js +1 -1
  216. package/lib/src/ap-grid/index.vue.d.ts +2 -4
  217. package/lib/src/ap-grid/index.vue.js +1 -1
  218. package/lib/src/ap-list/index.vue.d.ts +2 -4
  219. package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
  220. package/lib/src/ap-table/ap-table.vue.d.ts +2 -4
  221. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  222. package/lib/src/ap-table/constants.d.ts +332 -332
  223. package/lib/src/ap-table/constants.js +1 -1
  224. package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  225. package/lib/src/ap-upload/apUpload.vue.js +1 -1
  226. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +3 -3
  227. package/lib/src/ap-upload/components/Picture.vue.d.ts +2 -7
  228. package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue2.js +1 -1
  229. package/lib/src/business/ap-batch-action-group/index.d.ts +33 -11
  230. package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +1 -1
  231. package/lib/src/business/ap-draggable-grid/index.d.ts +1 -1
  232. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
  233. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
  234. package/lib/src/business/ap-expand-alert/index.d.ts +4 -6
  235. package/lib/src/business/ap-select-layout/index.d.ts +2 -4
  236. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
  237. package/lib/src/business/ap-table-modal/index.d.ts +17 -5
  238. package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +10 -11
  239. package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +10 -11
  240. package/lib/src/business/batch-input-group/index.vue.d.ts +2 -2
  241. package/lib/src/business/batch-input-group/popover-input/index.vue.d.ts +54 -54
  242. package/lib/src/config-provider/config-provider-props.d.ts +4 -5
  243. package/lib/src/config-provider/config-provider.d.ts +8 -9
  244. package/lib/src/config-provider/hooks/use-global-config.d.ts +4 -5
  245. package/lib/src/config-provider/hooks/use-namespace.d.ts +5 -1
  246. package/lib/src/config-provider/index.d.ts +13 -14
  247. package/lib/src/editable-table/form-item.vue.d.ts +2 -4
  248. package/lib/src/editable-table/form-item.vue.js +1 -1
  249. package/lib/src/editable-table/index.vue.d.ts +2 -4
  250. package/lib/src/editable-table/index.vue.js +1 -1
  251. package/lib/src/scroll-view/index.vue.d.ts +5 -5
  252. package/lib/src/tests/wrapper.d.ts +4 -4
  253. package/lib/src/utils/config-provider-preset.d.ts +5 -6
  254. package/lib/src/version.d.ts +1 -1
  255. package/lib/src/version.js +1 -1
  256. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +10 -11
  257. package/package.json +4 -4
  258. package/theme/antd-global-overwrite/admin/alert.css +0 -37
  259. package/theme/antd-global-overwrite/admin/alert.less +0 -51
  260. package/theme/antd-global-overwrite/admin/button.css +0 -27
  261. package/theme/antd-global-overwrite/admin/button.less +0 -31
  262. package/theme/antd-global-overwrite/admin/field.css +0 -42
  263. package/theme/antd-global-overwrite/admin/field.less +0 -43
  264. package/theme/antd-global-overwrite/admin/form.css +0 -57
  265. package/theme/antd-global-overwrite/admin/form.less +0 -97
  266. package/theme/antd-global-overwrite/admin/message.css +0 -10
  267. package/theme/antd-global-overwrite/admin/message.less +0 -13
  268. package/theme/antd-global-overwrite/admin/modal.css +0 -94
  269. package/theme/antd-global-overwrite/admin/modal.less +0 -128
  270. package/theme/antd-global-overwrite/admin/pagination.css +0 -122
  271. package/theme/antd-global-overwrite/admin/pagination.less +0 -91
  272. package/theme/antd-global-overwrite/admin/steps.css +0 -127
  273. package/theme/antd-global-overwrite/admin/steps.less +0 -197
  274. package/theme/antd-global-overwrite/admin/table.css +0 -78
  275. package/theme/antd-global-overwrite/admin/table.less +0 -62
  276. package/theme/antd-global-overwrite/admin/tooltip.css +0 -3
  277. package/theme/antd-global-overwrite/admin/tooltip.less +0 -3
  278. package/theme/antd-global-overwrite/aplus/alert.css +0 -40
  279. package/theme/antd-global-overwrite/aplus/alert.less +0 -55
  280. package/theme/antd-global-overwrite/aplus/button.css +0 -27
  281. package/theme/antd-global-overwrite/aplus/button.less +0 -31
  282. package/theme/antd-global-overwrite/aplus/field.css +0 -42
  283. package/theme/antd-global-overwrite/aplus/field.less +0 -43
  284. package/theme/antd-global-overwrite/aplus/form.css +0 -87
  285. package/theme/antd-global-overwrite/aplus/form.less +0 -133
  286. package/theme/antd-global-overwrite/aplus/message.css +0 -10
  287. package/theme/antd-global-overwrite/aplus/message.less +0 -13
  288. package/theme/antd-global-overwrite/aplus/modal.css +0 -87
  289. package/theme/antd-global-overwrite/aplus/modal.less +0 -120
  290. package/theme/antd-global-overwrite/aplus/pagination.css +0 -147
  291. package/theme/antd-global-overwrite/aplus/pagination.less +0 -108
  292. package/theme/antd-global-overwrite/aplus/steps.css +0 -125
  293. package/theme/antd-global-overwrite/aplus/steps.less +0 -198
  294. package/theme/antd-global-overwrite/aplus/table.css +0 -78
  295. package/theme/antd-global-overwrite/aplus/table.less +0 -61
  296. package/theme/antd-global-overwrite/aplus/tooltip.css +0 -3
  297. package/theme/antd-global-overwrite/aplus/tooltip.less +0 -3
  298. package/theme/ap-table/ap-table-pagination.css +0 -12
  299. package/theme/ap-table/ap-table-pagination.less +0 -14
  300. package/theme/ui-mode.css +0 -60
  301. package/theme/ui-mode.less +0 -109
@@ -1,18 +1,18 @@
1
1
  import { ApFormModalFormProps } 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, RuleObject } from '@aplus-frontend/antdv/es/form/interface';
3
+ import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
4
4
  import { Recordable } from '../../type';
5
+ import { SizeType, ButtonSize } from '@aplus-frontend/antdv/es/config-provider';
5
6
  import { ColSize } from '@aplus-frontend/antdv/es/grid';
6
7
  import { RuleObject } from '@aplus-frontend/antdv/es/form';
7
8
  import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
8
9
  import { Options } from '../../../node_modules/scroll-into-view-if-needed';
9
10
  import { VueTypeDef, VueTypeValidableDef } from '../../../node_modules/vue-types';
10
- import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
11
- import { SizeType, ButtonType, ButtonShape, ButtonSize } from '@aplus-frontend/antdv/es/button';
12
11
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
13
12
  import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc, ApFormSubmitterConfig } from '..';
14
13
  import { OnCleanup } from '@vue/reactivity';
15
- import { LegacyButtonType, ButtonHTMLType } from '@aplus-frontend/antdv/es/button/buttonTypes';
14
+ import { LegacyButtonType, ButtonHTMLType, ButtonIconPosition, ButtonVariantType } from '@aplus-frontend/antdv/es/button/buttonTypes';
15
+ import { ButtonType, ButtonShape } from '@aplus-frontend/antdv/es/button';
16
16
  import { MouseEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
17
17
  type ApModalFormSlots = {
18
18
  trigger: any;
@@ -28,7 +28,7 @@ declare function __VLS_template(): {
28
28
  $: ComponentInternalInstance;
29
29
  $data: {};
30
30
  $props: {
31
- readonly size?: "small" | "large" | "middle" | undefined;
31
+ readonly size?: SizeType;
32
32
  readonly onSubmit?: ((e: Event) => void) | undefined;
33
33
  readonly layout?: string | undefined;
34
34
  readonly disabled?: boolean | undefined;
@@ -118,7 +118,7 @@ declare function __VLS_template(): {
118
118
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
119
119
  readonly initialValues?: Recordable | undefined;
120
120
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
121
- readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
121
+ readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
122
122
  readonly syncToUrlPriority?: boolean | undefined;
123
123
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
124
124
  $attrs: {
@@ -323,8 +323,8 @@ declare function __VLS_template(): {
323
323
  default: string | string[];
324
324
  };
325
325
  size: {
326
- type: PropType<SizeType>;
327
- default: SizeType;
326
+ type: PropType<ButtonSize>;
327
+ default: ButtonSize;
328
328
  };
329
329
  disabled: {
330
330
  type: BooleanConstructor;
@@ -351,7 +351,7 @@ declare function __VLS_template(): {
351
351
  default: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
352
352
  };
353
353
  }>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
354
- size: SizeType;
354
+ size: ButtonSize;
355
355
  onSubmit: (e: Event) => void;
356
356
  disabled: boolean;
357
357
  validateTrigger: string | string[];
@@ -643,8 +643,8 @@ declare function __VLS_template(): {
643
643
  default: string | string[];
644
644
  };
645
645
  size: {
646
- type: PropType<SizeType>;
647
- default: SizeType;
646
+ type: PropType<ButtonSize>;
647
+ default: ButtonSize;
648
648
  };
649
649
  disabled: {
650
650
  type: BooleanConstructor;
@@ -671,7 +671,7 @@ declare function __VLS_template(): {
671
671
  default: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
672
672
  };
673
673
  }>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
674
- size: SizeType;
674
+ size: ButtonSize;
675
675
  onSubmit: (e: Event) => void;
676
676
  disabled: boolean;
677
677
  validateTrigger: string | string[];
@@ -958,6 +958,13 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
958
958
  onMousedown: {
959
959
  type: PropType< MouseEventHandler | MouseEventHandler[]>;
960
960
  };
961
+ autoInsertSpace: BooleanConstructor;
962
+ iconPosition: {
963
+ type: PropType<ButtonIconPosition>;
964
+ default: string;
965
+ };
966
+ color: PropType<"default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue" | "primary" | "danger">;
967
+ variant: PropType<ButtonVariantType>;
961
968
  }>>>;
962
969
  default: Partial< ExtractPropTypes<{
963
970
  prefixCls: StringConstructor;
@@ -1006,6 +1013,13 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
1006
1013
  onMousedown: {
1007
1014
  type: PropType< MouseEventHandler | MouseEventHandler[]>;
1008
1015
  };
1016
+ autoInsertSpace: BooleanConstructor;
1017
+ iconPosition: {
1018
+ type: PropType<ButtonIconPosition>;
1019
+ default: string;
1020
+ };
1021
+ color: PropType<"default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue" | "primary" | "danger">;
1022
+ variant: PropType<ButtonVariantType>;
1009
1023
  }>>;
1010
1024
  };
1011
1025
  cancelButtonProps: {
@@ -1056,6 +1070,13 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
1056
1070
  onMousedown: {
1057
1071
  type: PropType< MouseEventHandler | MouseEventHandler[]>;
1058
1072
  };
1073
+ autoInsertSpace: BooleanConstructor;
1074
+ iconPosition: {
1075
+ type: PropType<ButtonIconPosition>;
1076
+ default: string;
1077
+ };
1078
+ color: PropType<"default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue" | "primary" | "danger">;
1079
+ variant: PropType<ButtonVariantType>;
1059
1080
  }>>>;
1060
1081
  default: Partial< ExtractPropTypes<{
1061
1082
  prefixCls: StringConstructor;
@@ -1104,6 +1125,13 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
1104
1125
  onMousedown: {
1105
1126
  type: PropType< MouseEventHandler | MouseEventHandler[]>;
1106
1127
  };
1128
+ autoInsertSpace: BooleanConstructor;
1129
+ iconPosition: {
1130
+ type: PropType<ButtonIconPosition>;
1131
+ default: string;
1132
+ };
1133
+ color: PropType<"default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue" | "primary" | "danger">;
1134
+ variant: PropType<ButtonVariantType>;
1107
1135
  }>>;
1108
1136
  };
1109
1137
  destroyOnClose: {
@@ -1160,7 +1188,7 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
1160
1188
  $: ComponentInternalInstance;
1161
1189
  $data: {};
1162
1190
  $props: {
1163
- readonly size?: "small" | "large" | "middle" | undefined;
1191
+ readonly size?: SizeType;
1164
1192
  readonly onSubmit?: ((e: Event) => void) | undefined;
1165
1193
  readonly layout?: string | undefined;
1166
1194
  readonly disabled?: boolean | undefined;
@@ -1250,7 +1278,7 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
1250
1278
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
1251
1279
  readonly initialValues?: Recordable | undefined;
1252
1280
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
1253
- readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
1281
+ readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
1254
1282
  readonly syncToUrlPriority?: boolean | undefined;
1255
1283
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1256
1284
  $attrs: {
@@ -1455,8 +1483,8 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
1455
1483
  default: string | string[];
1456
1484
  };
1457
1485
  size: {
1458
- type: PropType<SizeType>;
1459
- default: SizeType;
1486
+ type: PropType<ButtonSize>;
1487
+ default: ButtonSize;
1460
1488
  };
1461
1489
  disabled: {
1462
1490
  type: BooleanConstructor;
@@ -1483,7 +1511,7 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
1483
1511
  default: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
1484
1512
  };
1485
1513
  }>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
1486
- size: SizeType;
1514
+ size: ButtonSize;
1487
1515
  onSubmit: (e: Event) => void;
1488
1516
  disabled: boolean;
1489
1517
  validateTrigger: string | string[];
@@ -1775,8 +1803,8 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
1775
1803
  default: string | string[];
1776
1804
  };
1777
1805
  size: {
1778
- type: PropType<SizeType>;
1779
- default: SizeType;
1806
+ type: PropType<ButtonSize>;
1807
+ default: ButtonSize;
1780
1808
  };
1781
1809
  disabled: {
1782
1810
  type: BooleanConstructor;
@@ -1803,7 +1831,7 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
1803
1831
  default: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
1804
1832
  };
1805
1833
  }>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
1806
- size: SizeType;
1834
+ size: ButtonSize;
1807
1835
  onSubmit: (e: Event) => void;
1808
1836
  disabled: boolean;
1809
1837
  validateTrigger: string | string[];
@@ -1,4 +1,4 @@
1
- import { isVNode as A, defineComponent as D, useSlots as L, ref as p, watch as G, cloneVNode as I, computed as K, createVNode as u, mergeProps as b, unref as s, openBlock as g, createElementBlock as W, Fragment as H, withCtx as h, renderSlot as P, createTextVNode as J, toDisplayString as Q, createElementVNode as X, normalizeStyle as Y, normalizeClass as Z, createBlock as w, resolveDynamicComponent as N, createCommentVNode as ee } from "vue";
1
+ import { isVNode as A, defineComponent as D, useSlots as L, ref as p, watch as G, cloneVNode as I, computed as K, createVNode as u, mergeProps as b, unref as s, createElementBlock as W, openBlock as g, Fragment as H, createBlock as P, createCommentVNode as J, withCtx as h, createElementVNode as Q, normalizeClass as X, normalizeStyle as Y, renderSlot as w, resolveDynamicComponent as N, createTextVNode as Z, toDisplayString as ee } from "vue";
2
2
  import { Button as V, Flex as te, Space as le, Modal as ae } from "@aplus-frontend/antdv";
3
3
  import "../ap-form.vue.mjs";
4
4
  import "../../hooks/index.mjs";
@@ -250,7 +250,7 @@ const Re = /* @__PURE__ */ D({
250
250
  "onUpdate:open": $,
251
251
  onCancel: k
252
252
  }), {
253
- title: h(() => [P(e.$slots, "title", {}, () => [J(Q(a.title), 1)])]),
253
+ title: h(() => [w(e.$slots, "title", {}, () => [Z(ee(a.title), 1)])]),
254
254
  default: h(() => [u(de, b({
255
255
  ref_key: "formRef",
256
256
  ref: o
@@ -259,17 +259,17 @@ const Re = /* @__PURE__ */ D({
259
259
  }), {
260
260
  default: h(() => {
261
261
  var l;
262
- return [X("div", {
262
+ return [Q("div", {
263
263
  style: Y((l = e.modalProps) == null ? void 0 : l.bodyStyle),
264
- class: Z(s(F)("content"))
265
- }, [P(e.$slots, "default")], 6), (g(), w(N(O.value)))];
264
+ class: X(s(F)("content"))
265
+ }, [w(e.$slots, "default")], 6), (g(), P(N(O.value)))];
266
266
  }),
267
267
  _: 3
268
268
  }, 16)]),
269
269
  _: 3
270
- }, 16, ["open", "width", "class"]), s(B) ? (g(), w(N(s(B)), {
270
+ }, 16, ["open", "width", "class"]), s(B) ? (g(), P(N(s(B)), {
271
271
  key: 0
272
- })) : ee("", !0)], 64));
272
+ })) : J("", !0)], 64));
273
273
  }
274
274
  });
275
275
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as m, useSlots as c, openBlock as B, createBlock as v, unref as e, normalizeProps as o, guardReactiveProps as l, createSlots as y, withCtx as t, createVNode as x, renderSlot as s, renderList as _ } from "vue";
1
+ import { defineComponent as m, useSlots as c, createBlock as B, openBlock as v, unref as e, normalizeProps as o, guardReactiveProps as l, createSlots as y, withCtx as t, createVNode as x, renderSlot as s, renderList as _ } from "vue";
2
2
  import { omit as g } from "lodash-unified";
3
3
  import { ApForm as d } from "../index.mjs";
4
4
  const S = /* @__PURE__ */ m({
@@ -49,7 +49,7 @@ const S = /* @__PURE__ */ m({
49
49
  },
50
50
  setup(p) {
51
51
  const i = p, u = c();
52
- return (a, h) => (B(), v(e(d).FormItem, o(l(i)), y({
52
+ return (a, h) => (v(), B(e(d).FormItem, o(l(i)), y({
53
53
  default: t(() => [
54
54
  x(e(d).ControlRender, null, {
55
55
  default: t((r) => [
@@ -1,7 +1,8 @@
1
1
  import { ApFormSearchFormPopoverFilterProps } from '../../interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives } from 'vue';
3
- import { ButtonType, ButtonShape, ButtonSize } from '@aplus-frontend/antdv/es/button';
4
- import { ButtonHTMLType } from '@aplus-frontend/antdv/es/button/buttonTypes';
3
+ import { ButtonType, ButtonShape } from '@aplus-frontend/antdv/es/button';
4
+ import { ButtonHTMLType, ButtonIconPosition, ButtonVariantType } from '@aplus-frontend/antdv/es/button/buttonTypes';
5
+ import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
5
6
  import { VueTypeValidableDef } from '../../../../node_modules/vue-types';
6
7
  import { MouseEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
7
8
  import { VueNode, CustomSlotsType } from '@aplus-frontend/antdv/es/_util/type';
@@ -17,7 +18,7 @@ declare const _default: DefineComponent<ApFormSearchFormPopoverFilterProps, {},
17
18
  type: PropType<ButtonShape>;
18
19
  };
19
20
  size: {
20
- type: PropType<ButtonSize>;
21
+ type: PropType<SizeType>;
21
22
  };
22
23
  loading: {
23
24
  type: PropType<boolean | {
@@ -53,15 +54,24 @@ declare const _default: DefineComponent<ApFormSearchFormPopoverFilterProps, {},
53
54
  onMousedown: {
54
55
  type: PropType< MouseEventHandler | MouseEventHandler[]>;
55
56
  };
57
+ autoInsertSpace: BooleanConstructor;
58
+ iconPosition: {
59
+ type: PropType<ButtonIconPosition>;
60
+ default: string;
61
+ };
62
+ color: PropType<"default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue" | "primary" | "danger">;
63
+ variant: PropType<ButtonVariantType>;
56
64
  }>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
57
65
  block: boolean;
58
66
  disabled: boolean;
59
- danger: boolean;
60
- ghost: boolean;
61
- htmlType: ButtonHTMLType;
67
+ autoInsertSpace: boolean;
62
68
  loading: boolean | {
63
69
  delay?: number;
64
70
  };
71
+ danger: boolean;
72
+ htmlType: ButtonHTMLType;
73
+ ghost: boolean;
74
+ iconPosition: ButtonIconPosition;
65
75
  }, true, {}, CustomSlotsType<{
66
76
  icon: any;
67
77
  default: any;
@@ -83,7 +93,7 @@ declare const _default: DefineComponent<ApFormSearchFormPopoverFilterProps, {},
83
93
  type: PropType<ButtonShape>;
84
94
  };
85
95
  size: {
86
- type: PropType<ButtonSize>;
96
+ type: PropType<SizeType>;
87
97
  };
88
98
  loading: {
89
99
  type: PropType<boolean | {
@@ -119,15 +129,24 @@ declare const _default: DefineComponent<ApFormSearchFormPopoverFilterProps, {},
119
129
  onMousedown: {
120
130
  type: PropType< MouseEventHandler | MouseEventHandler[]>;
121
131
  };
132
+ autoInsertSpace: BooleanConstructor;
133
+ iconPosition: {
134
+ type: PropType<ButtonIconPosition>;
135
+ default: string;
136
+ };
137
+ color: PropType<"default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue" | "primary" | "danger">;
138
+ variant: PropType<ButtonVariantType>;
122
139
  }>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
123
140
  block: boolean;
124
141
  disabled: boolean;
125
- danger: boolean;
126
- ghost: boolean;
127
- htmlType: ButtonHTMLType;
142
+ autoInsertSpace: boolean;
128
143
  loading: boolean | {
129
144
  delay?: number;
130
145
  };
146
+ danger: boolean;
147
+ htmlType: ButtonHTMLType;
148
+ ghost: boolean;
149
+ iconPosition: ButtonIconPosition;
131
150
  }> | null;
132
151
  }, any>;
133
152
  export default _default;
@@ -1,5 +1,5 @@
1
- import { defineComponent as h, ref as y, toRef as w, openBlock as s, createBlock as u, unref as e, withCtx as o, createElementVNode as f, normalizeClass as a, createVNode as t, createElementBlock as x, Fragment as R, renderList as S, resolveDynamicComponent as D, createTextVNode as b, toDisplayString as g, withDirectives as L, vShow as N } from "vue";
2
- import { Popover as P, Row as T, Col as V, Divider as z, Flex as A, Button as d, Tooltip as E } from "@aplus-frontend/antdv";
1
+ import { defineComponent as h, ref as y, toRef as w, createBlock as u, openBlock as s, unref as e, withCtx as o, createVNode as t, normalizeClass as a, withDirectives as x, createElementVNode as f, toDisplayString as g, vShow as R, createElementBlock as S, Fragment as D, renderList as L, resolveDynamicComponent as N, createTextVNode as b } from "vue";
2
+ import { Popover as P, Tooltip as T, Button as d, Row as V, Col as z, Divider as A, Flex as E } from "@aplus-frontend/antdv";
3
3
  import { IconApFilterOutlined as I } from "@aplus-frontend/icon";
4
4
  import "../../../config-provider/index.mjs";
5
5
  import { useCollapseInputCount as j } from "../hooks/use-collapse-input-count.mjs";
@@ -34,14 +34,14 @@ const Q = /* @__PURE__ */ h({
34
34
  class: a([e(i)("popover-content")]),
35
35
  style: { paddingBottom: "4px", width: "825px" }
36
36
  }, [
37
- t(e(T), { gutter: 8 }, {
37
+ t(e(V), { gutter: 8 }, {
38
38
  default: o(() => [
39
- (s(!0), x(R, null, S(r.config, (n) => (s(), u(e(V), {
39
+ (s(!0), S(D, null, L(r.config, (n) => (s(), u(e(z), {
40
40
  key: n.key,
41
41
  span: 8
42
42
  }, {
43
43
  default: o(() => [
44
- (s(), u(D(n.node)))
44
+ (s(), u(N(n.node)))
45
45
  ]),
46
46
  _: 2
47
47
  }, 1024))), 128))
@@ -49,11 +49,11 @@ const Q = /* @__PURE__ */ h({
49
49
  _: 1
50
50
  })
51
51
  ], 2),
52
- t(e(z), { style: { margin: "0" } }),
52
+ t(e(A), { style: { margin: "0" } }),
53
53
  f("div", {
54
54
  class: a(e(i)("popover-footer"))
55
55
  }, [
56
- t(e(A), { justify: "end" }, {
56
+ t(e(E), { justify: "end" }, {
57
57
  default: o(() => [
58
58
  t(e(d), {
59
59
  onClick: l[0] || (l[0] = (n) => p.value = !1)
@@ -80,7 +80,7 @@ const Q = /* @__PURE__ */ h({
80
80
  ], 2)
81
81
  ]),
82
82
  default: o(() => [
83
- t(e(E), {
83
+ t(e(T), {
84
84
  title: e(m)("ap.apForm.search.moreFilter"),
85
85
  placement: "top"
86
86
  }, {
@@ -91,10 +91,10 @@ const Q = /* @__PURE__ */ h({
91
91
  class: a([e(c)("trigger-btn"), { [e(c)("trigger-btn-active")]: p.value }])
92
92
  }, {
93
93
  icon: o(() => [
94
- L(f("sup", {
94
+ x(f("sup", {
95
95
  class: a(e(c)("trigger-btn-badge"))
96
96
  }, g(e(v)), 3), [
97
- [N, e(v) !== 0]
97
+ [R, e(v) !== 0]
98
98
  ]),
99
99
  t(e(I), { size: 14 })
100
100
  ]),
@@ -1,5 +1,5 @@
1
- import { defineComponent as D, ref as y, watch as k, unref as e, openBlock as L, createBlock as P, withCtx as r, createElementVNode as n, normalizeClass as t, toDisplayString as m, createVNode as o, createTextVNode as b } from "vue";
2
- import { Popover as S, Flex as _, Divider as V, Button as g, Tooltip as j } from "@aplus-frontend/antdv";
1
+ import { defineComponent as D, ref as y, watch as k, unref as e, createBlock as L, openBlock as P, withCtx as r, createVNode as t, normalizeClass as o, createElementVNode as n, toDisplayString as m, createTextVNode as b } from "vue";
2
+ import { Popover as S, Tooltip as V, Button as g, Flex as _, Divider as j } from "@aplus-frontend/antdv";
3
3
  import { IconApLayoutOutlined as z } from "@aplus-frontend/icon";
4
4
  import "../../../../config-provider/index.mjs";
5
5
  import A from "vuedraggable";
@@ -41,7 +41,7 @@ const M = /* @__PURE__ */ D({
41
41
  }
42
42
  ), w({
43
43
  getCachedList: () => h
44
- }), (a, u) => (L(), P(e(S), {
44
+ }), (a, u) => (P(), L(e(S), {
45
45
  open: p.value,
46
46
  "onUpdate:open": u[1] || (u[1] = (d) => p.value = d),
47
47
  "overlay-class-name": e(f)("popover"),
@@ -53,25 +53,25 @@ const M = /* @__PURE__ */ D({
53
53
  }, {
54
54
  content: r(() => [
55
55
  n("div", {
56
- class: t(e(s)("header"))
56
+ class: o(e(s)("header"))
57
57
  }, [
58
58
  n("span", {
59
- class: t(e(s)("header-title"))
59
+ class: o(e(s)("header-title"))
60
60
  }, m(e(c)("ap.apForm.search.sorterTitle")), 3),
61
- o(e(_), {
61
+ t(e(_), {
62
62
  justify: "space-between",
63
63
  align: "center"
64
64
  }, {
65
65
  default: r(() => [
66
66
  n("span", {
67
- class: t(e(s)("header-desc"))
67
+ class: o(e(s)("header-desc"))
68
68
  }, m(e(c)("ap.apForm.search.sorterDesc")), 3),
69
69
  n("div", {
70
- class: t(e(s)("header-action-wrapper")),
70
+ class: o(e(s)("header-action-wrapper")),
71
71
  onClick: N
72
72
  }, [
73
73
  n("span", {
74
- class: t(e(s)("header-reset-btn"))
74
+ class: o(e(s)("header-reset-btn"))
75
75
  }, m(e(c)("ap.apForm.search.sorterReset")), 3)
76
76
  ], 2)
77
77
  ]),
@@ -79,26 +79,26 @@ const M = /* @__PURE__ */ D({
79
79
  })
80
80
  ], 2),
81
81
  n("div", {
82
- class: t([e(f)("popover-content"), e(s)("content")])
82
+ class: o([e(f)("popover-content"), e(s)("content")])
83
83
  }, [
84
- o(e(A), {
84
+ t(e(A), {
85
85
  list: i.value,
86
- class: t(e(s)("sorter-wrapper")),
86
+ class: o(e(s)("sorter-wrapper")),
87
87
  "item-key": "name"
88
88
  }, {
89
89
  item: r(({ element: d }) => [
90
- o($, { item: d }, null, 8, ["item"])
90
+ t($, { item: d }, null, 8, ["item"])
91
91
  ]),
92
92
  _: 1
93
93
  }, 8, ["list", "class"])
94
94
  ], 2),
95
- o(e(V), { style: { margin: "0" } }),
95
+ t(e(j), { style: { margin: "0" } }),
96
96
  n("div", {
97
- class: t(e(f)("popover-footer"))
97
+ class: o(e(f)("popover-footer"))
98
98
  }, [
99
- o(e(_), { justify: "end" }, {
99
+ t(e(_), { justify: "end" }, {
100
100
  default: r(() => [
101
- o(e(g), {
101
+ t(e(g), {
102
102
  onClick: u[0] || (u[0] = (d) => p.value = !1)
103
103
  }, {
104
104
  default: r(() => [
@@ -106,8 +106,8 @@ const M = /* @__PURE__ */ D({
106
106
  ]),
107
107
  _: 1
108
108
  }),
109
- o(e(g), {
110
- class: t(e(f)("popover-footer-confirm-btn")),
109
+ t(e(g), {
110
+ class: o(e(f)("popover-footer-confirm-btn")),
111
111
  type: "primary",
112
112
  onClick: T
113
113
  }, {
@@ -122,16 +122,16 @@ const M = /* @__PURE__ */ D({
122
122
  ], 2)
123
123
  ]),
124
124
  default: r(() => [
125
- o(e(j), {
125
+ t(e(V), {
126
126
  title: e(c)("ap.apForm.search.sorterTitle"),
127
127
  placement: "top"
128
128
  }, {
129
129
  default: r(() => [
130
- o(e(g), {
131
- class: t([e(C)("trigger-btn"), { [e(C)("trigger-btn-active")]: p.value }])
130
+ t(e(g), {
131
+ class: o([e(C)("trigger-btn"), { [e(C)("trigger-btn-active")]: p.value }])
132
132
  }, {
133
133
  icon: r(() => [
134
- o(e(z), { size: 14 })
134
+ t(e(z), { size: 14 })
135
135
  ]),
136
136
  _: 1
137
137
  }, 8, ["class"])
@@ -1,4 +1,4 @@
1
- import { defineComponent as i, openBlock as l, createElementBlock as m, normalizeClass as o, unref as e, createElementVNode as s, createVNode as a, toDisplayString as n } from "vue";
1
+ import { defineComponent as i, createElementBlock as l, openBlock as m, normalizeClass as o, unref as e, createElementVNode as s, createVNode as a, toDisplayString as n } from "vue";
2
2
  import { HolderOutlined as c } from "@ant-design/icons-vue";
3
3
  import "../../../../config-provider/index.mjs";
4
4
  import { useNamespace as p } from "../../../../config-provider/hooks/use-namespace.mjs";
@@ -10,7 +10,7 @@ const d = ["title"], N = /* @__PURE__ */ i({
10
10
  },
11
11
  setup(f) {
12
12
  const { b: t } = p("search-form-sorter");
13
- return (r, u) => (l(), m("div", {
13
+ return (r, u) => (m(), l("div", {
14
14
  class: o([e(t)("sorter-item"), { [e(t)("sorter-item--hidden")]: r.item.isHidden }])
15
15
  }, [
16
16
  s("div", null, [