@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 j, ref as q, unref as n, computed as _, createBlock as y, openBlock as i, withCtx as g, createElementVNode as G, normalizeClass as b, normalizeStyle as J, createElementBlock as u, createCommentVNode as h, Fragment as d, renderList as k, createVNode as K, mergeProps as Q, resolveDynamicComponent as T } from "vue";
1
+ import { defineComponent as j, ref as q, unref as n, computed as _, openBlock as i, createBlock as y, withCtx as g, createElementVNode as G, normalizeStyle as J, normalizeClass as b, createElementBlock as u, Fragment as d, renderList as h, createVNode as K, mergeProps as Q, resolveDynamicComponent as T, createCommentVNode as k } from "vue";
2
2
  import { useItems as X } from "./hooks/useItems.mjs";
3
3
  import "../resize-observer/index.mjs";
4
4
  import { useSizes as Y } from "./hooks/useSizes.mjs";
@@ -79,12 +79,12 @@ const Ce = /* @__PURE__ */ j({
79
79
  style: J(e.style),
80
80
  class: b(H.value)
81
81
  }, [
82
- (i(!0), u(d, null, k(n(l), (s, t) => (i(), u(d, { key: t }, [
82
+ (i(!0), u(d, null, h(n(l), (s, t) => (i(), u(d, { key: t }, [
83
83
  K(ne, Q({ ref_for: !0 }, n(ee)(s, "_child"), {
84
84
  size: n(I)[t]
85
85
  }), {
86
86
  default: g(() => [
87
- (i(!0), u(d, null, k(s._child, (r, S) => (i(), y(T(r), { key: S }))), 128))
87
+ (i(!0), u(d, null, h(s._child, (r, S) => (i(), y(T(r), { key: S }))), 128))
88
88
  ]),
89
89
  _: 2
90
90
  }, 1040, ["size"]),
@@ -114,13 +114,13 @@ const Ce = /* @__PURE__ */ j({
114
114
  },
115
115
  onOffsetEnd: D,
116
116
  onCollapse: F
117
- }, null, 8, ["lazy", "index", "active", "vertical", "resizable", "aria-now", "aria-min", "aria-max", "start-collapsible", "end-collapsible", "container-size", "onOffsetUpdate"])) : h("", !0)
117
+ }, null, 8, ["lazy", "index", "active", "vertical", "resizable", "aria-now", "aria-min", "aria-max", "start-collapsible", "end-collapsible", "container-size", "onOffsetUpdate"])) : k("", !0)
118
118
  ], 64))), 128)),
119
119
  typeof n(C) == "number" ? (i(), u("div", {
120
120
  key: 0,
121
121
  "aria-hidden": "",
122
122
  class: b([n(f)("mask"), n(f)(`mask-${e.layout}`)])
123
- }, null, 2)) : h("", !0)
123
+ }, null, 2)) : k("", !0)
124
124
  ], 6)
125
125
  ]),
126
126
  _: 1
@@ -1,8 +1,8 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  export declare const Wrapper: DefineComponent<{
3
- uiMode?: "admin" | "aplus" | undefined;
4
- lang?: "en" | "zh-cn" | undefined;
3
+ uiMode?: ("admin" | "aplus") | undefined;
4
+ lang?: ("en" | "zh-cn") | undefined;
5
5
  }, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
6
- uiMode?: "admin" | "aplus" | undefined;
7
- lang?: "en" | "zh-cn" | undefined;
6
+ uiMode?: ("admin" | "aplus") | undefined;
7
+ lang?: ("en" | "zh-cn") | undefined;
8
8
  }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -1,4 +1,4 @@
1
- import { defineComponent as p, toRef as t, createBlock as n, openBlock as c, unref as o, mergeProps as s, withCtx as f, renderSlot as u } from "vue";
1
+ import { defineComponent as p, toRef as t, openBlock as n, createBlock as c, unref as o, mergeProps as s, withCtx as f, renderSlot as u } from "vue";
2
2
  import { useProvideApTextGroup as m } from "./context.mjs";
3
3
  import "../config-provider/index.mjs";
4
4
  import { Space as d } from "@aplus-frontend/antdv";
@@ -23,7 +23,7 @@ const z = /* @__PURE__ */ p({
23
23
  colon: t(e.colon),
24
24
  vertical: t(e.vertical),
25
25
  labelStyle: t(e.labelStyle)
26
- }), (l, b) => (c(), n(o(d), s({
26
+ }), (l, b) => (n(), c(o(d), s({
27
27
  class: [o(r)(), l.direction === "horizontal" ? o(i)("horizontal") : null]
28
28
  }, o(v)(e, ["colon", "vertical", "labelStyle"])), {
29
29
  default: f(() => [
@@ -1,6 +1,6 @@
1
- import { defineComponent as L, useSlots as O, computed as n, unref as o, createVNode as $, isVNode as z, Fragment as D, createElementBlock as d, openBlock as t, normalizeClass as s, createCommentVNode as v, createElementVNode as x, normalizeStyle as E, createBlock as u, resolveDynamicComponent as U, mergeProps as C, withCtx as m, renderSlot as i, createSlots as w, createTextVNode as F, toDisplayString as G, renderList as I, normalizeProps as R, guardReactiveProps as _ } from "vue";
1
+ import { defineComponent as L, useSlots as O, computed as n, unref as o, isVNode as $, createVNode as z, Fragment as D, openBlock as t, createElementBlock as d, normalizeClass as s, normalizeStyle as x, createBlock as u, resolveDynamicComponent as E, createCommentVNode as v, createElementVNode as U, mergeProps as C, withCtx as m, renderSlot as i, createSlots as w, createTextVNode as F, toDisplayString as G, renderList as I, normalizeProps as R, guardReactiveProps as _ } from "vue";
2
2
  import { TypographyLink as q, TypographyText as H } from "@aplus-frontend/antdv";
3
- import { isUndefined as p, omit as f, isString as J } from "lodash-unified";
3
+ import { isUndefined as p, isString as J, omit as f } from "lodash-unified";
4
4
  import "../config-provider/index.mjs";
5
5
  import { useInjectApTextGroup as K } from "./context.mjs";
6
6
  import { isDef as M } from "../utils/index.mjs";
@@ -80,7 +80,7 @@ const ae = /* @__PURE__ */ L({
80
80
  return Object.assign(l, e.labelStyle || {}), l;
81
81
  }), k = n(() => {
82
82
  if (e.label)
83
- return z(e.label) ? e.label : $(D, null, [e.label]);
83
+ return $(e.label) ? e.label : z(D, null, [e.label]);
84
84
  }), j = n(() => {
85
85
  const l = M(e.linkProps.ellipsis) ? e.linkProps.ellipsis : !!e.ellipsis;
86
86
  return {
@@ -99,8 +99,8 @@ const ae = /* @__PURE__ */ L({
99
99
  class: s([o(c)("label"), {
100
100
  [o(S)("label", "no-colon")]: !T.value
101
101
  }]),
102
- style: E(h.value)
103
- }, [(t(), u(U(k.value)))], 6)) : v("", !0), x("div", {
102
+ style: x(h.value)
103
+ }, [(t(), u(E(k.value)))], 6)) : v("", !0), U("div", {
104
104
  class: s(o(c)("content"))
105
105
  }, [l.link ? (t(), u(o(q), C({
106
106
  key: 0
@@ -1,2 +1,2 @@
1
- declare const _default: "6.18.0";
1
+ declare const _default: "6.19.1";
2
2
  export default _default;
@@ -1,4 +1,4 @@
1
- const e = "6.18.0";
1
+ const e = "6.19.1";
2
2
  export {
3
3
  e as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as n, createBlock as s, openBlock as a, unref as o, withCtx as r, createVNode as d, createElementVNode as t, toDisplayString as i } from "vue";
1
+ import { defineComponent as n, openBlock as s, createBlock as a, unref as o, withCtx as r, createElementVNode as t, toDisplayString as i, createVNode as d } from "vue";
2
2
  import { QuestionCircleOutlined as p } from "@ant-design/icons-vue";
3
3
  import { Tooltip as m } from "@aplus-frontend/antdv";
4
4
  import "../config-provider/index.mjs";
@@ -7,7 +7,7 @@ const u = { class: "title" }, c = { class: "flex" }, _ = { class: "flex" }, w =
7
7
  __name: "help-message",
8
8
  setup(x) {
9
9
  const { t: l } = f();
10
- return (v, e) => (a(), s(o(m), { placement: "right" }, {
10
+ return (v, e) => (s(), a(o(m), { placement: "right" }, {
11
11
  title: r(() => [
12
12
  t("div", u, [
13
13
  t("div", c, [
@@ -1,13 +1,14 @@
1
1
  import { WorkOrderModalProps } from './interfaces';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
3
- import { ButtonSize, SizeType } from '@aplus-frontend/antdv/es/button';
4
3
  import { ColSize } from '@aplus-frontend/antdv/es/grid';
5
- import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
4
+ import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, RuleObject, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
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 } from '..';
13
14
  import { OnCleanup } from '@vue/reactivity';
@@ -22,7 +23,7 @@ declare const _default: DefineComponent<WorkOrderModalProps, {}, {}, {}, {}, Com
22
23
  $: ComponentInternalInstance;
23
24
  $data: {};
24
25
  $props: {
25
- readonly size?: ButtonSize;
26
+ readonly size?: "small" | "large" | "middle" | undefined;
26
27
  readonly onSubmit?: ((e: Event) => void) | undefined;
27
28
  readonly layout?: string | undefined;
28
29
  readonly disabled?: boolean | undefined;
@@ -112,7 +113,7 @@ declare const _default: DefineComponent<WorkOrderModalProps, {}, {}, {}, {}, Com
112
113
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
113
114
  readonly initialValues?: Recordable | undefined;
114
115
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
115
- readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
116
+ readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
116
117
  readonly syncToUrlPriority?: boolean | undefined;
117
118
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
118
119
  $attrs: {
@@ -1,4 +1,4 @@
1
- import { defineComponent as F, ref as b, computed as M, createElementBlock as L, openBlock as N, createVNode as o, unref as e, mergeProps as P, withCtx as p, h as V } from "vue";
1
+ import { defineComponent as F, ref as b, computed as M, openBlock as L, createElementBlock as N, createVNode as o, unref as e, mergeProps as P, withCtx as p, h as V } from "vue";
2
2
  import { message as q, Modal as E, Input as I, Textarea as A } from "@aplus-frontend/antdv";
3
3
  import { ApForm as d } from "../ap-form/index.mjs";
4
4
  import "./help-message.vue.mjs";
@@ -87,7 +87,7 @@ const ie = /* @__PURE__ */ F({
87
87
  }, y = () => {
88
88
  T(!1), f.value = !1, m("modalClose");
89
89
  };
90
- return (i, s) => (N(), L("div", null, [
90
+ return (i, s) => (L(), N("div", null, [
91
91
  o(e(E), P(a, {
92
92
  width: 600,
93
93
  centered: !0,
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("@aplus-frontend/antdv");require("../item/index.vue.js");require("../item-modal/index.vue2.js");require("../item-popconfirm/index.vue2.js");const f=require("@aplus-frontend/icon");require("../../config-provider/index.js");const s=require("lodash-unified"),m=require("../../config-provider/hooks/use-namespace.js"),i=require("../item/index.vue2.js"),_=require("../item-modal/index.vue.js"),g=require("../item-popconfirm/index.vue.js"),k=e.defineComponent({name:"ApActionItemDropDown",__name:"index",props:{trigger:{default:()=>["hover"]},placement:{default:"bottomLeft"},actions:{default:()=>[]},showIcon:{type:Boolean,default:!0},text:{},color:{default:"primary"},disabled:{type:Boolean,default:!1},visible:{type:Boolean,default:!0},onClick:{},loading:{type:Boolean,default:!1}},setup(c){const a=c,n=e.ref(!1),{e:l}=m.useNamespace("action-item-dropdown"),p=e.computed(()=>a.actions.filter(r=>r.visible||s.isUndefined(r.visible)).map(r=>({...r,onAction:async o=>{var t;try{await((t=r.onAction)==null?void 0:t.call(r,o))}finally{n.value=!1}}})));return(r,o)=>(e.openBlock(),e.createBlock(e.unref(u.Dropdown),{open:n.value,"onUpdate:open":o[0]||(o[0]=t=>n.value=t),trigger:r.trigger,placement:r.placement},{overlay:e.withCtx(()=>[e.createVNode(e.unref(u.Menu),null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,(t,d)=>(e.openBlock(),e.createBlock(e.unref(u.MenuItem),{key:d,class:e.normalizeClass(e.unref(l)("item"))},{default:e.withCtx(()=>[t.modalProps?(e.openBlock(),e.createBlock(_.default,e.mergeProps({key:0,ref_for:!0},t),null,16)):t.popconfirmProps?(e.openBlock(),e.createBlock(g.default,e.mergeProps({key:1,ref_for:!0},t),null,16)):(e.openBlock(),e.createBlock(i.default,e.mergeProps({key:2,ref_for:!0},t),null,16))]),_:2},1032,["class"]))),128))]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass(e.unref(l)("wrapper"))},[e.createVNode(i.default,e.normalizeProps(e.guardReactiveProps(e.unref(s.omit)(a,["actions","trigger","placement"]))),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16),r.showIcon?(e.openBlock(),e.createBlock(e.unref(f.IconApAdLineDown),{key:0,class:e.normalizeClass(e.unref(l)("icon"))},null,8,["class"])):e.createCommentVNode("",!0)],2)]),_:3},8,["open","trigger","placement"]))}});exports.default=k;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("@aplus-frontend/antdv");require("../item/index.vue.js");require("../item-modal/index.vue2.js");require("../item-popconfirm/index.vue2.js");const f=require("@aplus-frontend/icon");require("../../config-provider/index.js");const s=require("lodash-unified"),m=require("../../config-provider/hooks/use-namespace.js"),_=require("../item-modal/index.vue.js"),g=require("../item-popconfirm/index.vue.js"),i=require("../item/index.vue2.js"),k=e.defineComponent({name:"ApActionItemDropDown",__name:"index",props:{trigger:{default:()=>["hover"]},placement:{default:"bottomLeft"},actions:{default:()=>[]},showIcon:{type:Boolean,default:!0},text:{},color:{default:"primary"},disabled:{type:Boolean,default:!1},visible:{type:Boolean,default:!0},onClick:{},loading:{type:Boolean,default:!1}},setup(c){const a=c,n=e.ref(!1),{e:l}=m.useNamespace("action-item-dropdown"),p=e.computed(()=>a.actions.filter(r=>r.visible||s.isUndefined(r.visible)).map(r=>({...r,onAction:async o=>{var t;try{await((t=r.onAction)==null?void 0:t.call(r,o))}finally{n.value=!1}}})));return(r,o)=>(e.openBlock(),e.createBlock(e.unref(u.Dropdown),{open:n.value,"onUpdate:open":o[0]||(o[0]=t=>n.value=t),trigger:r.trigger,placement:r.placement},{overlay:e.withCtx(()=>[e.createVNode(e.unref(u.Menu),null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,(t,d)=>(e.openBlock(),e.createBlock(e.unref(u.MenuItem),{key:d,class:e.normalizeClass(e.unref(l)("item"))},{default:e.withCtx(()=>[t.modalProps?(e.openBlock(),e.createBlock(_.default,e.mergeProps({key:0,ref_for:!0},t),null,16)):t.popconfirmProps?(e.openBlock(),e.createBlock(g.default,e.mergeProps({key:1,ref_for:!0},t),null,16)):(e.openBlock(),e.createBlock(i.default,e.mergeProps({key:2,ref_for:!0},t),null,16))]),_:2},1032,["class"]))),128))]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass(e.unref(l)("wrapper"))},[e.createVNode(i.default,e.normalizeProps(e.guardReactiveProps(e.unref(s.omit)(a,["actions","trigger","placement"]))),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16),r.showIcon?(e.openBlock(),e.createBlock(e.unref(f.IconApAdLineDown),{key:0,class:e.normalizeClass(e.unref(l)("icon"))},null,8,["class"])):e.createCommentVNode("",!0)],2)]),_:3},8,["open","trigger","placement"]))}});exports.default=k;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("dayjs"),f=require("@aplus-frontend/antdv"),d=require("./constant.js");require("../../hooks/index.js");const y=require("lodash-unified"),O=require("./helper.js"),F=require("@aplus-frontend/utils"),A=require("../hooks/use-default-placeholder.js"),M=require("../hooks/use-date-timezone.js"),R=require("../../hooks/useControllableValue.js"),D=e.defineComponent({name:"ApFieldDate",__name:"index",props:{mode:{default:"edit"},class:{},style:{},dropdownClassName:{},dropdownAlign:{},popupStyle:{},transitionName:{},placeholder:{},allowClear:{type:Boolean,default:!0},autofocus:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},tabindex:{},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:void 0},inputReadOnly:{type:Boolean,default:void 0},id:{},presets:{},suffixIcon:{type:[Object,String,Number,Boolean,null,Array],default:void 0},clearIcon:{type:[Object,String,Number,Boolean,null,Array],default:void 0},getPopupContainer:{},panelRender:{},inputRender:{},onOpenChange:{},onPanelChange:{},onFocus:{},onBlur:{},onMousedown:{},onMouseup:{},onMouseenter:{},onMouseleave:{},onClick:{},onContextmenu:{},onKeydown:{},role:{},name:{},autocomplete:{},direction:{},showToday:{type:Boolean,default:void 0},showTime:{type:Boolean,default:void 0},picker:{},prefixCls:{},defaultPickerValue:{},disabledDate:{},dateRender:{},monthCellRender:{},renderExtraFooter:{},onSelect:{},locale:{},size:{},bordered:{type:Boolean,default:void 0},showNow:{type:Boolean,default:void 0},disabledTime:{},defaultOpenValue:{},showHour:{type:Boolean,default:void 0},showMinute:{type:Boolean,default:void 0},showSecond:{type:Boolean,default:void 0},use12Hours:{type:Boolean,default:void 0},hourStep:{},minuteStep:{},secondStep:{},hideDisabledOptions:{type:Boolean,default:void 0},disabledHours:{},disabledMinutes:{},disabledSeconds:{},valueFormat:{},emptyText:{default:"--"},value:{},defaultValue:{},onChange:{},onOk:{},format:{default:"Y-D"},shownFormat:{},formatBegins:{type:Boolean,default:!0},timezone:{}},emits:["update:value"],setup(B,{emit:k}){const o=B,g=k,{value:m,updateValue:h}=R.useControllableValue(o,g),P=A.useDefaultPlaceholder("Date",o),{currentTimezone:i}=M.useDateTimezone(o),l=e.computed(()=>d.ApFieldDatePresetFormats.indexOf(o.format)>-1),w=e.computed(()=>o.shownFormat?o.shownFormat:l.value?d.PRESET_FORMAT_MAP[o.format]:o.format),s=e.computed(()=>l.value?d.PRESET_FORMAT_MAP[o.format]:o.format),p=e.computed(()=>{if(y.isNil(e.unref(m)))return;let n=u(e.unref(m));return o.timezone&&(n=u(F.getTimeFormatToZone(e.unref(m),i.value))),n}),C=e.computed(()=>e.unref(l)?o.picker??d.PRESET_FORMAT_PICK_MAP[o.format]:o.picker),T=e.computed(()=>{const n=e.unref(l)?d.PRESET_FORMAT_TIME_MAP[o.format]:{};return{...y.omit(o,["value","defaultValue","onChange","onOk","format","onUpdate:value","mode"]),placeholder:e.unref(P),...n}}),v=(n,a,t=!0)=>O.formatDayWithTimezone(i.value)(n,a,t);function S(n){if(y.isNil(n)){h(null);return}const a=u(n);h(v(a,e.unref(l)?e.unref(s):void 0,o.formatBegins))}function _(n,a){var c;const t=u(n),r=n?v(t,e.unref(l)?e.unref(s):void 0,o.formatBegins):null;(c=o.onChange)==null||c.call(o,r,a)}function b(n){var r;const a=u(n),t=n?v(a,e.unref(l)?e.unref(s):void 0,o.formatBegins):null;(r=o.onOk)==null||r.call(o,t)}return(n,a)=>n.mode==="read"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(p.value?e.unref(u)(p.value).format(s.value):n.emptyText),1)],64)):(e.openBlock(),e.createBlock(e.unref(f.InputGroup),{key:1,compact:"",style:e.normalizeStyle({display:Array.isArray(o.timezone)&&o.timezone.length?"flex":"block"})},{default:e.withCtx(()=>[Array.isArray(o.timezone)&&o.timezone.length?(e.openBlock(),e.createBlock(e.unref(f.Select),{key:0,value:e.unref(i),"onUpdate:value":a[0]||(a[0]=t=>e.isRef(i)?i.value=t:null),"default-active-first-option":"","dropdown-match-select-width":!1,style:{"max-width":"50%"}},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.timezone,t=>(e.openBlock(),e.createBlock(e.unref(f.SelectOption),{key:t==null?void 0:t.value,value:t==null?void 0:t.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString((t==null?void 0:t.label)??(t==null?void 0:t.value)),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value"])):e.createCommentVNode("",!0),e.createVNode(e.unref(f.DatePicker),e.mergeProps(T.value,{value:p.value,format:w.value,picker:C.value,"onUpdate:value":S,onChange:_,onOk:b}),e.createSlots({_:2},[e.renderList(n.$slots,(t,r)=>({name:r,fn:e.withCtx(c=>[e.renderSlot(n.$slots,r,e.normalizeProps(e.guardReactiveProps(c||{})))])}))]),1040,["value","format","picker"])]),_:3},8,["style"]))}});exports.default=D;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("dayjs"),f=require("@aplus-frontend/antdv"),d=require("./constant.js");require("../../hooks/index.js");const y=require("lodash-unified"),_=require("./helper.js"),F=require("@aplus-frontend/utils"),A=require("../hooks/use-default-placeholder.js"),M=require("../hooks/use-date-timezone.js"),R=require("../../hooks/useControllableValue.js"),D=e.defineComponent({name:"ApFieldDate",__name:"index",props:{mode:{default:"edit"},class:{},style:{},dropdownClassName:{},dropdownAlign:{},popupStyle:{},transitionName:{},placeholder:{},allowClear:{type:Boolean,default:!0},autofocus:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},tabindex:{},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:void 0},inputReadOnly:{type:Boolean,default:void 0},id:{},presets:{},suffixIcon:{type:[Object,String,Number,Boolean,null,Array],default:void 0},clearIcon:{type:[Object,String,Number,Boolean,null,Array],default:void 0},getPopupContainer:{},panelRender:{},inputRender:{},onOpenChange:{},onPanelChange:{},onFocus:{},onBlur:{},onMousedown:{},onMouseup:{},onMouseenter:{},onMouseleave:{},onClick:{},onContextmenu:{},onKeydown:{},role:{},name:{},autocomplete:{},direction:{},showToday:{type:Boolean,default:void 0},showTime:{type:[Boolean,Object],default:void 0},picker:{},prefixCls:{},defaultPickerValue:{},disabledDate:{},dateRender:{},monthCellRender:{},renderExtraFooter:{},onSelect:{},locale:{},size:{},bordered:{type:Boolean,default:void 0},showNow:{type:Boolean,default:void 0},disabledTime:{},defaultOpenValue:{},showHour:{type:Boolean,default:void 0},showMinute:{type:Boolean,default:void 0},showSecond:{type:Boolean,default:void 0},use12Hours:{type:Boolean,default:void 0},hourStep:{},minuteStep:{},secondStep:{},hideDisabledOptions:{type:Boolean,default:void 0},disabledHours:{},disabledMinutes:{},disabledSeconds:{},valueFormat:{},emptyText:{default:"--"},value:{},defaultValue:{},onChange:{},onOk:{},format:{default:"Y-D"},shownFormat:{},formatBegins:{type:Boolean,default:!0},timezone:{}},emits:["update:value"],setup(B,{emit:k}){const o=B,g=k,{value:m,updateValue:h}=R.useControllableValue(o,g),P=A.useDefaultPlaceholder("Date",o),{currentTimezone:i}=M.useDateTimezone(o),l=e.computed(()=>d.ApFieldDatePresetFormats.indexOf(o.format)>-1),w=e.computed(()=>o.shownFormat?o.shownFormat:l.value?d.PRESET_FORMAT_MAP[o.format]:o.format),s=e.computed(()=>l.value?d.PRESET_FORMAT_MAP[o.format]:o.format),p=e.computed(()=>{if(y.isNil(e.unref(m)))return;let n=u(e.unref(m));return o.timezone&&(n=u(F.getTimeFormatToZone(e.unref(m),i.value))),n}),C=e.computed(()=>e.unref(l)?o.picker??d.PRESET_FORMAT_PICK_MAP[o.format]:o.picker),T=e.computed(()=>{const n=e.unref(l)?d.PRESET_FORMAT_TIME_MAP[o.format]:{};return{...y.omit(o,["value","defaultValue","onChange","onOk","format","onUpdate:value","mode"]),placeholder:e.unref(P),...n}}),v=(n,a,t=!0)=>_.formatDayWithTimezone(i.value)(n,a,t);function S(n){if(y.isNil(n)){h(null);return}const a=u(n);h(v(a,e.unref(l)?e.unref(s):void 0,o.formatBegins))}function b(n,a){var c;const t=u(n),r=n?v(t,e.unref(l)?e.unref(s):void 0,o.formatBegins):null;(c=o.onChange)==null||c.call(o,r,a)}function O(n){var r;const a=u(n),t=n?v(a,e.unref(l)?e.unref(s):void 0,o.formatBegins):null;(r=o.onOk)==null||r.call(o,t)}return(n,a)=>n.mode==="read"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(p.value?e.unref(u)(p.value).format(s.value):n.emptyText),1)],64)):(e.openBlock(),e.createBlock(e.unref(f.InputGroup),{key:1,compact:"",style:e.normalizeStyle({display:Array.isArray(o.timezone)&&o.timezone.length?"flex":"block"})},{default:e.withCtx(()=>[Array.isArray(o.timezone)&&o.timezone.length?(e.openBlock(),e.createBlock(e.unref(f.Select),{key:0,value:e.unref(i),"onUpdate:value":a[0]||(a[0]=t=>e.isRef(i)?i.value=t:null),"default-active-first-option":"","dropdown-match-select-width":!1,style:{"max-width":"50%"}},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.timezone,t=>(e.openBlock(),e.createBlock(e.unref(f.SelectOption),{key:t==null?void 0:t.value,value:t==null?void 0:t.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString((t==null?void 0:t.label)??(t==null?void 0:t.value)),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value"])):e.createCommentVNode("",!0),e.createVNode(e.unref(f.DatePicker),e.mergeProps(T.value,{value:p.value,format:w.value,picker:C.value,"onUpdate:value":S,onChange:b,onOk:O}),e.createSlots({_:2},[e.renderList(n.$slots,(t,r)=>({name:r,fn:e.withCtx(c=>[e.renderSlot(n.$slots,r,e.normalizeProps(e.guardReactiveProps(c||{})))])}))]),1040,["value","format","picker"])]),_:3},8,["style"]))}});exports.default=D;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),g=require("../date/constant.js");require("../../hooks/index.js");const u=require("lodash-unified"),d=require("dayjs"),v=require("@aplus-frontend/antdv"),E=require("../date/helper.js"),I=require("@ant-design/icons-vue"),U=require("../../utils/index.js"),T=require("@aplus-frontend/utils"),j=require("../hooks/use-default-placeholder.js"),H=require("../hooks/use-default-presets.js"),K=require("../hooks/use-date-timezone.js"),L=require("../../hooks/useControllableValue.js"),Z=e.defineComponent({name:"ApFieldDateRange",__name:"index",props:{mode:{default:"edit"},class:{},style:{},id:{},defaultPickerValue:{},placeholder:{},disabled:{type:[Boolean,Array],default:void 0},disabledTime:{},ranges:{},separator:{type:[Object,String,Number,Boolean,null,Array],default:void 0},allowEmpty:{},onCalendarChange:{},onFocus:{},onBlur:{},onMousedown:{},onMouseup:{},onMouseenter:{},onMouseleave:{},onClick:{},direction:{},autocomplete:{},activePickerIndex:{},dateRender:{},panelRender:{},dropdownClassName:{},dropdownAlign:{},popupStyle:{},transitionName:{},allowClear:{type:Boolean,default:!0},autofocus:{type:Boolean,default:void 0},tabindex:{},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:void 0},inputReadOnly:{type:Boolean,default:void 0},suffixIcon:{type:[Object,String,Number,Boolean,null,Array],default:void 0},clearIcon:{type:[Object,String,Number,Boolean,null,Array],default:void 0},getPopupContainer:{},inputRender:{},onOpenChange:{},onContextmenu:{},onKeydown:{},role:{},name:{},picker:{},prefixCls:{},disabledDate:{},monthCellRender:{},locale:{},size:{},bordered:{type:Boolean,default:void 0},showTime:{type:Boolean,default:void 0},showNow:{type:Boolean,default:void 0},order:{type:Boolean,default:void 0},defaultOpenValue:{},showHour:{type:Boolean,default:void 0},showMinute:{type:Boolean,default:void 0},showSecond:{type:Boolean,default:void 0},use12Hours:{type:Boolean,default:void 0},hourStep:{},minuteStep:{},secondStep:{},hideDisabledOptions:{type:Boolean,default:void 0},disabledHours:{},disabledMinutes:{},disabledSeconds:{},valueFormat:{},emptyText:{default:"--"},value:{},defaultValue:{},onChange:{},onOk:{},format:{default:"Y-D"},shownFormat:{},timezone:{},readModeSeparator:{},presets:{type:[Array,Boolean]}},emits:["update:value"],setup(D,{emit:P}){const t=D,F=P,k=e.useSlots(),s=e.computed(()=>g.ApFieldDatePresetFormats.indexOf(t.format)>-1),m=e.computed(()=>s.value?g.PRESET_FORMAT_MAP[t.format]:t.format),{value:y,updateValue:S}=L.useControllableValue(t,F),M=e.computed(()=>t.shownFormat?t.shownFormat:s.value?g.PRESET_FORMAT_MAP[t.format]:t.format),O=j.useDefaultPlaceholder("DateRange",t),{currentTimezone:i}=K.useDateTimezone(t),{presets:w,changeCurrentDate:b}=H.useDefaultPresets({...t,timezone:i}),c=(n,a,r=!0)=>E.formatDayWithTimezone(i.value)(n,a,r),h=e.computed(()=>{var l,o;const n=e.unref(y);if(u.isNil(n)||!(n!=null&&n.length))return n;const a=i.value?T.getTimeFormatToZone(e.unref(y)[0],i.value):(l=e.unref(y))==null?void 0:l[0],r=t.timezone?T.getTimeFormatToZone(e.unref(y)[1],i.value):(o=e.unref(y))==null?void 0:o[1];return[d(a),d(r)]}),A=e.computed(()=>e.unref(s)?t.picker??g.PRESET_FORMAT_PICK_MAP[t.format]:t.picker),R=e.computed(()=>{const n=e.unref(s)?g.PRESET_FORMAT_TIME_MAP[t.format]:{};return{...U.omitUndefined(u.omit(t,["value","onUpdate:value","onChange","onOk","format","mode","presets"])),placeholder:e.unref(O),presets:e.unref(w),...n}});function _(n){if(!n){S(n);return}let a=u.isString(n[0])?d(n[0]):n[0],r=u.isString(n[1])?d(n[1]):n[1];const l=e.unref(s)?e.unref(m):void 0;S([c(a,l),c(r,l,!1)])}function N(n){var p;const a=u.isString(n[0])?d(n[0]):n[0],r=u.isString(n[1])?d(n[1]):n[1],l=e.unref(s)?e.unref(m):void 0,o=n[0]?c(a,l):null,f=n[1]?c(r,l,!1):null;(p=t.onOk)==null||p.call(t,[o,f])}function x(n){var a;n&&b(),(a=t.onOpenChange)==null||a.call(t,n)}function V(n,a){var B,C;if(u.isNil(n)){(B=t.onChange)==null||B.call(t,n,a);return}const r=u.isString(n[0])?d(n[0]):n[0],l=u.isString(n[1])?d(n[1]):n[1],o=e.unref(s)?e.unref(m):void 0,f=n[0]?c(r,o):null,p=n[1]?c(l,o,!1):null;(C=t.onChange)==null||C.call(t,[f,p],a)}const q=e.computed(()=>{var r;const n=t.readModeSeparator;if(n)return e.isVNode(n)||u.isFunction(n)?t.readModeSeparator:e.createVNode(e.Fragment,null,[t.readModeSeparator]);const a=(r=k.readModeSeparator)==null?void 0:r.call(k);return a?e.createVNode(e.Fragment,null,[a]):I.SwapRightOutlined});return(n,a)=>{var r,l;return n.mode==="read"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[h.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString((r=h.value[0])==null?void 0:r.format(m.value))+" ",1),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(q.value))),e.createTextVNode(" "+e.toDisplayString((l=h.value[1])==null?void 0:l.format(m.value)),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(n.emptyText),1)],64))],64)):(e.openBlock(),e.createBlock(e.unref(v.InputGroup),{key:1,compact:"",style:e.normalizeStyle({display:Array.isArray(t.timezone)&&t.timezone.length?"flex":"block"})},{default:e.withCtx(()=>[Array.isArray(t.timezone)&&t.timezone.length?(e.openBlock(),e.createBlock(e.unref(v.Select),{key:0,value:e.unref(i),"onUpdate:value":a[0]||(a[0]=o=>e.isRef(i)?i.value=o:null),"default-active-first-option":"","dropdown-match-select-width":!1},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.timezone,o=>(e.openBlock(),e.createBlock(e.unref(v.SelectOption),{key:o==null?void 0:o.value,value:o==null?void 0:o.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString((o==null?void 0:o.label)??(o==null?void 0:o.value)),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value"])):e.createCommentVNode("",!0),e.createVNode(e.unref(v.DatePicker).RangePicker,e.mergeProps(R.value,{value:h.value,picker:A.value,format:M.value,"onUpdate:value":_,onChange:V,onOk:N,onOpenChange:x}),e.createSlots({_:2},[e.renderList(e.unref(u.omit)(n.$slots,"readModeSeparator"),(o,f)=>({name:f,fn:e.withCtx(p=>[e.renderSlot(n.$slots,f,e.normalizeProps(e.guardReactiveProps(p||{})))])}))]),1040,["value","picker","format"])]),_:3},8,["style"]))}}});exports.default=Z;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),g=require("../date/constant.js");require("../../hooks/index.js");const u=require("lodash-unified"),d=require("dayjs"),v=require("@aplus-frontend/antdv"),E=require("../date/helper.js"),I=require("@ant-design/icons-vue"),j=require("../../utils/index.js"),T=require("@aplus-frontend/utils"),U=require("../hooks/use-default-placeholder.js"),H=require("../hooks/use-default-presets.js"),K=require("../hooks/use-date-timezone.js"),L=require("../../hooks/useControllableValue.js"),Z=e.defineComponent({name:"ApFieldDateRange",__name:"index",props:{mode:{default:"edit"},class:{},style:{},id:{},defaultPickerValue:{},placeholder:{},disabled:{type:[Boolean,Array],default:void 0},disabledTime:{},ranges:{},separator:{type:[Object,String,Number,Boolean,null,Array],default:void 0},allowEmpty:{},onCalendarChange:{},onFocus:{},onBlur:{},onMousedown:{},onMouseup:{},onMouseenter:{},onMouseleave:{},onClick:{},direction:{},autocomplete:{},activePickerIndex:{},dateRender:{},panelRender:{},dropdownClassName:{},dropdownAlign:{},popupStyle:{},transitionName:{},allowClear:{type:Boolean,default:!0},autofocus:{type:Boolean,default:void 0},tabindex:{},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:void 0},inputReadOnly:{type:Boolean,default:void 0},suffixIcon:{type:[Object,String,Number,Boolean,null,Array],default:void 0},clearIcon:{type:[Object,String,Number,Boolean,null,Array],default:void 0},getPopupContainer:{},inputRender:{},onOpenChange:{},onContextmenu:{},onKeydown:{},role:{},name:{},picker:{},prefixCls:{},disabledDate:{},monthCellRender:{},locale:{},size:{},bordered:{type:Boolean,default:void 0},showTime:{type:[Boolean,Object],default:void 0},showNow:{type:Boolean,default:void 0},order:{type:Boolean,default:void 0},defaultOpenValue:{},showHour:{type:Boolean,default:void 0},showMinute:{type:Boolean,default:void 0},showSecond:{type:Boolean,default:void 0},use12Hours:{type:Boolean,default:void 0},hourStep:{},minuteStep:{},secondStep:{},hideDisabledOptions:{type:Boolean,default:void 0},disabledHours:{},disabledMinutes:{},disabledSeconds:{},valueFormat:{},emptyText:{default:"--"},value:{},defaultValue:{},onChange:{},onOk:{},format:{default:"Y-D"},shownFormat:{},timezone:{},readModeSeparator:{},presets:{type:[Array,Boolean]}},emits:["update:value"],setup(D,{emit:P}){const t=D,O=P,k=e.useSlots(),s=e.computed(()=>g.ApFieldDatePresetFormats.indexOf(t.format)>-1),m=e.computed(()=>s.value?g.PRESET_FORMAT_MAP[t.format]:t.format),{value:y,updateValue:S}=L.useControllableValue(t,O),F=e.computed(()=>t.shownFormat?t.shownFormat:s.value?g.PRESET_FORMAT_MAP[t.format]:t.format),M=U.useDefaultPlaceholder("DateRange",t),{currentTimezone:i}=K.useDateTimezone(t),{presets:w,changeCurrentDate:b}=H.useDefaultPresets({...t,timezone:i}),c=(n,a,r=!0)=>E.formatDayWithTimezone(i.value)(n,a,r),h=e.computed(()=>{var l,o;const n=e.unref(y);if(u.isNil(n)||!(n!=null&&n.length))return n;const a=i.value?T.getTimeFormatToZone(e.unref(y)[0],i.value):(l=e.unref(y))==null?void 0:l[0],r=t.timezone?T.getTimeFormatToZone(e.unref(y)[1],i.value):(o=e.unref(y))==null?void 0:o[1];return[d(a),d(r)]}),A=e.computed(()=>e.unref(s)?t.picker??g.PRESET_FORMAT_PICK_MAP[t.format]:t.picker),R=e.computed(()=>{const n=e.unref(s)?g.PRESET_FORMAT_TIME_MAP[t.format]:{};return{...j.omitUndefined(u.omit(t,["value","onUpdate:value","onChange","onOk","format","mode","presets"])),placeholder:e.unref(M),presets:e.unref(w),...n}});function _(n){if(!n){S(n);return}let a=u.isString(n[0])?d(n[0]):n[0],r=u.isString(n[1])?d(n[1]):n[1];const l=e.unref(s)?e.unref(m):void 0;S([c(a,l),c(r,l,!1)])}function N(n){var p;const a=u.isString(n[0])?d(n[0]):n[0],r=u.isString(n[1])?d(n[1]):n[1],l=e.unref(s)?e.unref(m):void 0,o=n[0]?c(a,l):null,f=n[1]?c(r,l,!1):null;(p=t.onOk)==null||p.call(t,[o,f])}function x(n){var a;n&&b(),(a=t.onOpenChange)==null||a.call(t,n)}function V(n,a){var B,C;if(u.isNil(n)){(B=t.onChange)==null||B.call(t,n,a);return}const r=u.isString(n[0])?d(n[0]):n[0],l=u.isString(n[1])?d(n[1]):n[1],o=e.unref(s)?e.unref(m):void 0,f=n[0]?c(r,o):null,p=n[1]?c(l,o,!1):null;(C=t.onChange)==null||C.call(t,[f,p],a)}const q=e.computed(()=>{var r;const n=t.readModeSeparator;if(n)return e.isVNode(n)||u.isFunction(n)?t.readModeSeparator:e.createVNode(e.Fragment,null,[t.readModeSeparator]);const a=(r=k.readModeSeparator)==null?void 0:r.call(k);return a?e.createVNode(e.Fragment,null,[a]):I.SwapRightOutlined});return(n,a)=>{var r,l;return n.mode==="read"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[h.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString((r=h.value[0])==null?void 0:r.format(m.value))+" ",1),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(q.value))),e.createTextVNode(" "+e.toDisplayString((l=h.value[1])==null?void 0:l.format(m.value)),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(n.emptyText),1)],64))],64)):(e.openBlock(),e.createBlock(e.unref(v.InputGroup),{key:1,compact:"",style:e.normalizeStyle({display:Array.isArray(t.timezone)&&t.timezone.length?"flex":"block"})},{default:e.withCtx(()=>[Array.isArray(t.timezone)&&t.timezone.length?(e.openBlock(),e.createBlock(e.unref(v.Select),{key:0,value:e.unref(i),"onUpdate:value":a[0]||(a[0]=o=>e.isRef(i)?i.value=o:null),"default-active-first-option":"","dropdown-match-select-width":!1},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.timezone,o=>(e.openBlock(),e.createBlock(e.unref(v.SelectOption),{key:o==null?void 0:o.value,value:o==null?void 0:o.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString((o==null?void 0:o.label)??(o==null?void 0:o.value)),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value"])):e.createCommentVNode("",!0),e.createVNode(e.unref(v.DatePicker).RangePicker,e.mergeProps(R.value,{value:h.value,picker:A.value,format:F.value,"onUpdate:value":_,onChange:V,onOk:N,onOpenChange:x}),e.createSlots({_:2},[e.renderList(e.unref(u.omit)(n.$slots,"readModeSeparator"),(o,f)=>({name:f,fn:e.withCtx(p=>[e.renderSlot(n.$slots,f,e.normalizeProps(e.guardReactiveProps(p||{})))])}))]),1040,["value","picker","format"])]),_:3},8,["style"]))}}});exports.default=Z;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./text/index.js");require("./checkbox/index.vue2.js");require("./date/index.vue2.js");require("./number/index.vue2.js");require("./radio/index.vue2.js");require("./switch/index.vue2.js");require("./text-area/index.vue2.js");require("./date-range/index.vue2.js");require("./select/index.vue2.js");require("./slider/index.vue2.js");require("./segmented/index.vue2.js");require("./rate/index.vue2.js");require("./tree-select/index.vue2.js");require("./interface.js");const t=require("./tree-select/index.vue.js"),u=require("./rate/index.vue.js"),r=require("./segmented/index.vue.js"),_=require("./slider/index.vue.js"),i=require("./switch/index.vue.js"),d=require("./select/index.vue.js"),l=require("./checkbox/index.vue.js"),p=require("./radio/index.vue.js"),a=require("./date-range/index.vue.js"),n=require("./date/index.vue.js"),s=require("./number/index.vue.js"),c=require("./text-area/index.vue.js"),q={Text:e.ApFieldText,TextArea:c.default,Number:s.default,Date:n.default,DateRange:a.default,Radio:p.default,Checkbox:l.default,Select:d.default,Switch:i.default,Slider:_.default,Segmented:r.default,Rate:u.default,TreeSelect:t.default};exports.ApFieldText=e.ApFieldText;exports.ApFieldTreeSelect=t.default;exports.ApFieldRate=u.default;exports.ApFieldSegmented=r.default;exports.ApFieldSlider=_.default;exports.ApFieldSwitch=i.default;exports.ApFieldSelect=d.default;exports.ApFieldCheckbox=l.default;exports.ApFieldRadio=p.default;exports.ApFieldDateRange=a.default;exports.ApFieldDate=n.default;exports.ApFieldNumber=s.default;exports.ApFieldTextArea=c.default;exports.ApField=q;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./text/index.js");require("./checkbox/index.vue2.js");require("./date/index.vue2.js");require("./number/index.vue2.js");require("./radio/index.vue2.js");require("./switch/index.vue2.js");require("./text-area/index.vue2.js");require("./date-range/index.vue2.js");require("./select/index.vue2.js");require("./slider/index.vue2.js");require("./segmented/index.vue2.js");require("./rate/index.vue2.js");require("./tree-select/index.vue2.js");require("./interface.js");const t=require("./text-area/index.vue.js"),u=require("./number/index.vue.js"),r=require("./date/index.vue.js"),_=require("./date-range/index.vue.js"),i=require("./radio/index.vue.js"),d=require("./checkbox/index.vue.js"),l=require("./select/index.vue.js"),p=require("./switch/index.vue.js"),a=require("./slider/index.vue.js"),n=require("./segmented/index.vue.js"),s=require("./rate/index.vue.js"),c=require("./tree-select/index.vue.js"),q={Text:e.ApFieldText,TextArea:t.default,Number:u.default,Date:r.default,DateRange:_.default,Radio:i.default,Checkbox:d.default,Select:l.default,Switch:p.default,Slider:a.default,Segmented:n.default,Rate:s.default,TreeSelect:c.default};exports.ApFieldText=e.ApFieldText;exports.ApFieldTextArea=t.default;exports.ApFieldNumber=u.default;exports.ApFieldDate=r.default;exports.ApFieldDateRange=_.default;exports.ApFieldRadio=i.default;exports.ApFieldCheckbox=d.default;exports.ApFieldSelect=l.default;exports.ApFieldSwitch=p.default;exports.ApFieldSlider=a.default;exports.ApFieldSegmented=n.default;exports.ApFieldRate=s.default;exports.ApFieldTreeSelect=c.default;exports.ApField=q;
@@ -6,13 +6,13 @@ export declare const useSelectOptions: (props: ApFieldSelectProps) => {
6
6
  options: Ref<{
7
7
  [x: string]: any;
8
8
  label?: any;
9
- value?: string | number | null | undefined;
9
+ value?: (string | number | null) | undefined;
10
10
  children?: Omit<DefaultOptionType, "children">[] | undefined;
11
11
  disabled?: boolean | undefined;
12
12
  }[], DefaultOptionType[] | {
13
13
  [x: string]: any;
14
14
  label?: any;
15
- value?: string | number | null | undefined;
15
+ value?: (string | number | null) | undefined;
16
16
  children?: Omit<DefaultOptionType, "children">[] | undefined;
17
17
  disabled?: boolean | undefined;
18
18
  }[]>;
@@ -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,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: {
@@ -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;
@@ -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;
@@ -3,7 +3,6 @@ import { ApFormItemSlots } from '../../interface';
3
3
  import { LegacyDataNode, FieldNames, Key } from '@aplus-frontend/antdv/es/vc-tree-select/interface';
4
4
  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';
5
5
  import { FieldMode, ApFieldTreeSelectProps } from '../../../ap-field';
6
- import { ButtonSize } from '@aplus-frontend/antdv/es/button';
7
6
  import { ChangeEventExtra, FieldNames, DefaultOptionType, BaseOptionType, SimpleModeConfig, LegacyDataNode } from '@aplus-frontend/antdv/es/vc-tree-select/TreeSelect';
8
7
  import { SelectHandler } from '@aplus-frontend/antdv/es/vc-select/Select';
9
8
  import { BaseOptionType } from '@aplus-frontend/antdv/es/select';
@@ -15,6 +14,7 @@ import { ExpandAction } from '@aplus-frontend/antdv/es/vc-tree/props';
15
14
  import { Recordable } from '../../../type';
16
15
  import { TreeSelectProps } from '@aplus-frontend/antdv';
17
16
  import { VueTypeValidableDef } from '../../../../node_modules/vue-types';
17
+ import { ButtonSize } from '@aplus-frontend/antdv/es/button';
18
18
  import { OnCleanup } from '@vue/reactivity';
19
19
  declare function __VLS_template(): {
20
20
  attrs: Partial<{}>;
@@ -51,7 +51,7 @@ declare function __VLS_template(): {
51
51
  readonly mode?: FieldMode | undefined;
52
52
  readonly class?: unknown;
53
53
  readonly style?: unknown;
54
- readonly size?: ButtonSize;
54
+ readonly size?: "small" | "large" | "middle" | undefined;
55
55
  readonly onBlur?: ((e: FocusEvent) => void) | undefined;
56
56
  readonly onChange?: ((value: unknown, labelList: any[], extra: ChangeEventExtra) => void) | undefined;
57
57
  readonly onClick?: ((e: MouseEvent) => void) | undefined;
@@ -825,7 +825,7 @@ declare const __VLS_component: DefineComponent<ApFormItemTreeSelectProps, {
825
825
  readonly mode?: FieldMode | undefined;
826
826
  readonly class?: unknown;
827
827
  readonly style?: unknown;
828
- readonly size?: ButtonSize;
828
+ readonly size?: "small" | "large" | "middle" | undefined;
829
829
  readonly onBlur?: ((e: FocusEvent) => void) | undefined;
830
830
  readonly onChange?: ((value: unknown, labelList: any[], extra: ChangeEventExtra) => void) | undefined;
831
831
  readonly onClick?: ((e: MouseEvent) => void) | undefined;
@@ -1,13 +1,14 @@
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 } from '@aplus-frontend/antdv/es/form/interface';
3
+ import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, RuleObject } from '@aplus-frontend/antdv/es/form/interface';
4
4
  import { Recordable } from '../../type';
5
- import { ButtonSize, SizeType, ButtonType, ButtonShape } from '@aplus-frontend/antdv/es/button';
6
5
  import { ColSize } from '@aplus-frontend/antdv/es/grid';
7
6
  import { RuleObject } from '@aplus-frontend/antdv/es/form';
8
7
  import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
9
8
  import { Options } from '../../../node_modules/scroll-into-view-if-needed';
10
9
  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';
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: {
@@ -1159,7 +1160,7 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
1159
1160
  $: ComponentInternalInstance;
1160
1161
  $data: {};
1161
1162
  $props: {
1162
- readonly size?: ButtonSize;
1163
+ readonly size?: "small" | "large" | "middle" | undefined;
1163
1164
  readonly onSubmit?: ((e: Event) => void) | undefined;
1164
1165
  readonly layout?: string | undefined;
1165
1166
  readonly disabled?: boolean | undefined;
@@ -1249,7 +1250,7 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
1249
1250
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
1250
1251
  readonly initialValues?: Recordable | undefined;
1251
1252
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
1252
- readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
1253
+ readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
1253
1254
  readonly syncToUrlPriority?: boolean | undefined;
1254
1255
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1255
1256
  $attrs: {