@aplus-frontend/ui 0.5.37 → 0.6.0-beta.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 (329) hide show
  1. package/es/index.mjs +74 -72
  2. package/es/src/ap-field/select/index.vue.d.ts +2 -2
  3. package/es/src/ap-field/tree-select/index.vue.d.ts +3 -3
  4. package/es/src/ap-form/ap-form.vue2.mjs +57 -58
  5. package/es/src/ap-form/drawer-form/index.vue.d.ts +10 -10
  6. package/es/src/ap-form/interface.d.ts +35 -1
  7. package/es/src/ap-form/item/index.vue.d.ts +22 -22
  8. package/es/src/ap-form/item/index.vue.mjs +33 -28
  9. package/es/src/ap-form/items/checkbox/index.vue.d.ts +3 -3
  10. package/es/src/ap-form/items/checkbox/index.vue.mjs +1 -0
  11. package/es/src/ap-form/items/date/index.vue.d.ts +3 -3
  12. package/es/src/ap-form/items/date/index.vue.mjs +8 -7
  13. package/es/src/ap-form/items/date-range/index.vue.d.ts +3 -3
  14. package/es/src/ap-form/items/date-range/index.vue.mjs +1 -0
  15. package/es/src/ap-form/items/number/index.vue.d.ts +13 -13
  16. package/es/src/ap-form/items/number/index.vue.mjs +9 -8
  17. package/es/src/ap-form/items/radio/index.vue.d.ts +3 -3
  18. package/es/src/ap-form/items/radio/index.vue.mjs +1 -0
  19. package/es/src/ap-form/items/select/index.vue.d.ts +31 -31
  20. package/es/src/ap-form/items/select/index.vue.mjs +7 -6
  21. package/es/src/ap-form/items/switch/index.vue.d.ts +3 -3
  22. package/es/src/ap-form/items/switch/index.vue.mjs +1 -0
  23. package/es/src/ap-form/items/text/index.vue.d.ts +15 -15
  24. package/es/src/ap-form/items/text/index.vue2.mjs +8 -7
  25. package/es/src/ap-form/items/text/password.vue.d.ts +15 -15
  26. package/es/src/ap-form/items/text/password.vue.mjs +1 -0
  27. package/es/src/ap-form/items/text-area/index.vue.d.ts +3 -3
  28. package/es/src/ap-form/items/text-area/index.vue.mjs +1 -0
  29. package/es/src/ap-form/items/tree-select/index.vue.d.ts +35 -35
  30. package/es/src/ap-form/items/tree-select/index.vue.mjs +6 -5
  31. package/es/src/ap-form/modal-form/index.vue.d.ts +10 -10
  32. package/es/src/ap-form/render/item.vue.d.ts +2 -2
  33. package/es/src/ap-form/render/item.vue.mjs +5 -4
  34. package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +4 -0
  35. package/es/src/ap-form/search-form/components/popover-filter.vue.mjs +4 -0
  36. package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +102 -0
  37. package/es/src/ap-form/search-form/components/popover-sorter/index.vue.d.ts +4 -0
  38. package/es/src/ap-form/search-form/components/popover-sorter/index.vue.mjs +4 -0
  39. package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +128 -0
  40. package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue.d.ts +6 -0
  41. package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue.mjs +4 -0
  42. package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.mjs +39 -0
  43. package/es/src/ap-form/search-form/hooks/use-count-per-row.d.ts +3 -0
  44. package/es/src/ap-form/search-form/hooks/use-count-per-row.mjs +17 -0
  45. package/es/src/ap-form/search-form/index.vue.d.ts +14 -16
  46. package/es/src/ap-form/search-form/index.vue.mjs +128 -127
  47. package/es/src/ap-grid/editable/form-item.vue.mjs +1 -1
  48. package/es/src/ap-grid/editable/index.vue.mjs +1 -1
  49. package/es/src/ap-grid/index.vue.mjs +113 -108
  50. package/es/src/ap-grid/interface.d.ts +1 -1
  51. package/es/src/ap-info-layout/ApInfoLayout.vue.mjs +21 -16
  52. package/es/src/ap-table/ap-table.vue2.mjs +108 -104
  53. package/es/src/ap-table/constants.d.ts +161 -161
  54. package/es/src/ap-table/context.d.ts +5 -0
  55. package/es/src/ap-table/context.mjs +13 -5
  56. package/es/src/ap-table/utils.d.ts +147 -147
  57. package/es/src/ap-upload/apUpload.vue.d.ts +8 -8
  58. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +14 -1
  59. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +65 -51
  60. package/es/src/business/ap-batch-action-group/index.d.ts +3 -1
  61. package/es/src/business/ap-size-input/ApSizeInput.d.ts +1 -1
  62. package/es/src/business/ap-size-input/index.d.ts +3 -3
  63. package/es/src/business/ap-table-modal/index.d.ts +15 -15
  64. package/es/src/business/ap-table-modal/table-modal.vue.d.ts +5 -5
  65. package/es/src/business/ap-view/ap-view.vue.d.ts +6 -0
  66. package/es/src/business/ap-view/ap-view.vue.mjs +4 -0
  67. package/es/src/business/ap-view/ap-view.vue2.mjs +174 -0
  68. package/es/src/business/ap-view/components/main-button-content.vue.d.ts +831 -0
  69. package/es/src/business/ap-view/components/main-button-content.vue.mjs +4 -0
  70. package/es/src/business/ap-view/components/main-button-content.vue2.mjs +177 -0
  71. package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +832 -0
  72. package/es/src/business/ap-view/components/menu-list-content.vue.mjs +4 -0
  73. package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +156 -0
  74. package/es/src/business/ap-view/hooks/use-view-provide.d.ts +14 -0
  75. package/es/src/business/ap-view/hooks/use-view-provide.mjs +8 -0
  76. package/es/src/business/ap-view/icons/line-delete.vue.d.ts +3 -0
  77. package/es/src/business/ap-view/icons/line-delete.vue.mjs +29 -0
  78. package/es/src/business/ap-view/icons/line-down.vue.d.ts +3 -0
  79. package/es/src/business/ap-view/icons/line-down.vue.mjs +29 -0
  80. package/es/src/business/ap-view/icons/line-eye.vue.d.ts +3 -0
  81. package/es/src/business/ap-view/icons/line-eye.vue.mjs +29 -0
  82. package/es/src/business/ap-view/index.d.ts +27 -0
  83. package/es/src/business/ap-view/index.mjs +8 -0
  84. package/es/src/business/ap-view/interface.d.ts +54 -0
  85. package/es/src/business/ap-view/interface.mjs +1 -0
  86. package/es/src/business/ap-view/style/css.d.ts +0 -0
  87. package/es/src/business/ap-view/style/css.js +1 -0
  88. package/es/src/business/ap-view/style/index.d.ts +0 -0
  89. package/es/src/business/ap-view/style/index.js +1 -0
  90. package/es/src/business/ap-view/utils/enum.d.ts +1 -0
  91. package/es/src/business/ap-view/utils/enum.mjs +4 -0
  92. package/es/src/business/ap-view/utils/uuid.d.ts +5 -0
  93. package/es/src/business/ap-view/utils/uuid.mjs +22 -0
  94. package/es/src/business/batch-input-group/form-item.vue.d.ts +3 -3
  95. package/es/src/business/batch-input-group/form-item.vue.mjs +1 -0
  96. package/es/src/business/batch-input-group/index.vue.d.ts +6 -6
  97. package/es/src/business/index.d.ts +1 -0
  98. package/es/src/business/index.mjs +25 -23
  99. package/es/src/check-card/index.vue2.mjs +1 -1
  100. package/es/src/config-provider/config-provider-props.d.ts +5 -0
  101. package/es/src/config-provider/config-provider-props.mjs +4 -0
  102. package/es/src/config-provider/config-provider.d.ts +25 -1
  103. package/es/src/config-provider/config-provider.mjs +21 -20
  104. package/es/src/config-provider/css-var.d.ts +14 -0
  105. package/es/src/config-provider/css-var.mjs +40 -12
  106. package/es/src/config-provider/hooks/use-global-config.d.ts +5 -0
  107. package/es/src/config-provider/index.d.ts +89 -3
  108. package/es/src/design-token/index.mjs +9 -3
  109. package/es/src/editable-table/form-item.vue.mjs +1 -1
  110. package/es/src/editable-table/index.vue.mjs +27 -27
  111. package/es/src/full-screen/interface.d.ts +1 -1
  112. package/es/src/index.mjs +61 -59
  113. package/es/src/locale/lang/en.mjs +22 -1
  114. package/es/src/locale/lang/zh-cn.mjs +22 -1
  115. package/es/src/path-map.mjs +2 -1
  116. package/es/src/utils/config-provider-preset.d.ts +4 -4
  117. package/es/src/work-order-modal/work-order-modal.vue.d.ts +6 -6
  118. package/lib/index.js +1 -1
  119. package/lib/src/ap-field/select/index.vue.d.ts +2 -2
  120. package/lib/src/ap-field/tree-select/index.vue.d.ts +3 -3
  121. package/lib/src/ap-form/ap-form.vue2.js +1 -1
  122. package/lib/src/ap-form/drawer-form/index.vue.d.ts +10 -10
  123. package/lib/src/ap-form/interface.d.ts +35 -1
  124. package/lib/src/ap-form/item/index.vue.d.ts +22 -22
  125. package/lib/src/ap-form/item/index.vue.js +1 -1
  126. package/lib/src/ap-form/items/checkbox/index.vue.d.ts +3 -3
  127. package/lib/src/ap-form/items/checkbox/index.vue.js +1 -1
  128. package/lib/src/ap-form/items/date/index.vue.d.ts +3 -3
  129. package/lib/src/ap-form/items/date/index.vue.js +1 -1
  130. package/lib/src/ap-form/items/date-range/index.vue.d.ts +3 -3
  131. package/lib/src/ap-form/items/date-range/index.vue.js +1 -1
  132. package/lib/src/ap-form/items/number/index.vue.d.ts +13 -13
  133. package/lib/src/ap-form/items/number/index.vue.js +1 -1
  134. package/lib/src/ap-form/items/radio/index.vue.d.ts +3 -3
  135. package/lib/src/ap-form/items/radio/index.vue.js +1 -1
  136. package/lib/src/ap-form/items/select/index.vue.d.ts +31 -31
  137. package/lib/src/ap-form/items/select/index.vue.js +1 -1
  138. package/lib/src/ap-form/items/switch/index.vue.d.ts +3 -3
  139. package/lib/src/ap-form/items/switch/index.vue.js +1 -1
  140. package/lib/src/ap-form/items/text/index.vue.d.ts +15 -15
  141. package/lib/src/ap-form/items/text/index.vue2.js +1 -1
  142. package/lib/src/ap-form/items/text/password.vue.d.ts +15 -15
  143. package/lib/src/ap-form/items/text/password.vue.js +1 -1
  144. package/lib/src/ap-form/items/text-area/index.vue.d.ts +3 -3
  145. package/lib/src/ap-form/items/text-area/index.vue.js +1 -1
  146. package/lib/src/ap-form/items/tree-select/index.vue.d.ts +35 -35
  147. package/lib/src/ap-form/items/tree-select/index.vue.js +1 -1
  148. package/lib/src/ap-form/modal-form/index.vue.d.ts +10 -10
  149. package/lib/src/ap-form/render/item.vue.d.ts +2 -2
  150. package/lib/src/ap-form/render/item.vue.js +1 -1
  151. package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +4 -0
  152. package/lib/src/ap-form/search-form/components/popover-filter.vue.js +1 -0
  153. package/lib/src/ap-form/search-form/components/popover-filter.vue2.js +1 -0
  154. package/lib/src/ap-form/search-form/components/popover-sorter/index.vue.d.ts +4 -0
  155. package/lib/src/ap-form/search-form/components/popover-sorter/index.vue.js +1 -0
  156. package/lib/src/ap-form/search-form/components/popover-sorter/index.vue2.js +1 -0
  157. package/lib/src/ap-form/search-form/components/popover-sorter/sortable-item.vue.d.ts +6 -0
  158. package/lib/src/ap-form/search-form/components/popover-sorter/sortable-item.vue.js +1 -0
  159. package/lib/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.js +1 -0
  160. package/lib/src/ap-form/search-form/hooks/use-count-per-row.d.ts +3 -0
  161. package/lib/src/ap-form/search-form/hooks/use-count-per-row.js +1 -0
  162. package/lib/src/ap-form/search-form/index.vue.d.ts +14 -16
  163. package/lib/src/ap-form/search-form/index.vue.js +1 -1
  164. package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
  165. package/lib/src/ap-grid/editable/index.vue.js +1 -1
  166. package/lib/src/ap-grid/index.vue.js +1 -1
  167. package/lib/src/ap-grid/interface.d.ts +1 -1
  168. package/lib/src/ap-info-layout/ApInfoLayout.vue.js +1 -1
  169. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  170. package/lib/src/ap-table/constants.d.ts +161 -161
  171. package/lib/src/ap-table/context.d.ts +5 -0
  172. package/lib/src/ap-table/context.js +1 -1
  173. package/lib/src/ap-table/utils.d.ts +147 -147
  174. package/lib/src/ap-upload/apUpload.vue.d.ts +8 -8
  175. package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +14 -1
  176. package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.js +1 -1
  177. package/lib/src/business/ap-batch-action-group/index.d.ts +3 -1
  178. package/lib/src/business/ap-size-input/ApSizeInput.d.ts +1 -1
  179. package/lib/src/business/ap-size-input/index.d.ts +3 -3
  180. package/lib/src/business/ap-table-modal/index.d.ts +15 -15
  181. package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +5 -5
  182. package/lib/src/business/ap-view/ap-view.vue.d.ts +6 -0
  183. package/lib/src/business/ap-view/ap-view.vue.js +1 -0
  184. package/lib/src/business/ap-view/ap-view.vue2.js +1 -0
  185. package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +831 -0
  186. package/lib/src/business/ap-view/components/main-button-content.vue.js +1 -0
  187. package/lib/src/business/ap-view/components/main-button-content.vue2.js +1 -0
  188. package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +832 -0
  189. package/lib/src/business/ap-view/components/menu-list-content.vue.js +1 -0
  190. package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -0
  191. package/lib/src/business/ap-view/hooks/use-view-provide.d.ts +14 -0
  192. package/lib/src/business/ap-view/hooks/use-view-provide.js +1 -0
  193. package/lib/src/business/ap-view/icons/line-delete.vue.d.ts +3 -0
  194. package/lib/src/business/ap-view/icons/line-delete.vue.js +1 -0
  195. package/lib/src/business/ap-view/icons/line-down.vue.d.ts +3 -0
  196. package/lib/src/business/ap-view/icons/line-down.vue.js +1 -0
  197. package/lib/src/business/ap-view/icons/line-eye.vue.d.ts +3 -0
  198. package/lib/src/business/ap-view/icons/line-eye.vue.js +1 -0
  199. package/lib/src/business/ap-view/index.d.ts +27 -0
  200. package/lib/src/business/ap-view/index.js +1 -0
  201. package/lib/src/business/ap-view/interface.d.ts +54 -0
  202. package/lib/src/business/ap-view/interface.js +1 -0
  203. package/lib/src/business/ap-view/style/css.cjs +1 -0
  204. package/lib/src/business/ap-view/style/css.d.ts +0 -0
  205. package/lib/src/business/ap-view/style/index.cjs +1 -0
  206. package/lib/src/business/ap-view/style/index.d.ts +0 -0
  207. package/lib/src/business/ap-view/utils/enum.d.ts +1 -0
  208. package/lib/src/business/ap-view/utils/enum.js +1 -0
  209. package/lib/src/business/ap-view/utils/uuid.d.ts +5 -0
  210. package/lib/src/business/ap-view/utils/uuid.js +1 -0
  211. package/lib/src/business/batch-input-group/form-item.vue.d.ts +3 -3
  212. package/lib/src/business/batch-input-group/form-item.vue.js +1 -1
  213. package/lib/src/business/batch-input-group/index.vue.d.ts +6 -6
  214. package/lib/src/business/index.d.ts +1 -0
  215. package/lib/src/business/index.js +1 -1
  216. package/lib/src/check-card/index.vue2.js +1 -1
  217. package/lib/src/config-provider/config-provider-props.d.ts +5 -0
  218. package/lib/src/config-provider/config-provider-props.js +1 -1
  219. package/lib/src/config-provider/config-provider.d.ts +25 -1
  220. package/lib/src/config-provider/config-provider.js +1 -1
  221. package/lib/src/config-provider/css-var.d.ts +14 -0
  222. package/lib/src/config-provider/css-var.js +1 -1
  223. package/lib/src/config-provider/hooks/use-global-config.d.ts +5 -0
  224. package/lib/src/config-provider/index.d.ts +89 -3
  225. package/lib/src/design-token/index.js +1 -1
  226. package/lib/src/editable-table/form-item.vue.js +1 -1
  227. package/lib/src/editable-table/index.vue.js +1 -1
  228. package/lib/src/full-screen/interface.d.ts +1 -1
  229. package/lib/src/index.js +1 -1
  230. package/lib/src/locale/lang/en.js +1 -1
  231. package/lib/src/locale/lang/zh-cn.js +1 -1
  232. package/lib/src/path-map.js +1 -1
  233. package/lib/src/utils/config-provider-preset.d.ts +4 -4
  234. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +6 -6
  235. package/package.json +7 -7
  236. package/theme/ap-action/item-dropdown.css +30 -2
  237. package/theme/ap-action/item-dropdown.less +2 -2
  238. package/theme/ap-action/item.css +36 -2
  239. package/theme/ap-action/item.less +2 -3
  240. package/theme/ap-appendix/ap-appendix.css +28 -0
  241. package/theme/ap-attachment/ap-attachment.css +28 -0
  242. package/theme/ap-batch-action/ap-batch-action.css +28 -0
  243. package/theme/ap-button/ap-button.css +28 -0
  244. package/theme/ap-card/ap-card.css +28 -0
  245. package/theme/ap-descriptions/ap-descriptions.css +28 -0
  246. package/theme/ap-download/ap-download.css +28 -0
  247. package/theme/ap-expand-alert/ap-expand-alert.css +28 -0
  248. package/theme/ap-field/checkbox.css +29 -1
  249. package/theme/ap-field/checkbox.less +2 -1
  250. package/theme/ap-field/index.css +30 -2
  251. package/theme/ap-field/number.css +28 -0
  252. package/theme/ap-field/radio.css +29 -1
  253. package/theme/ap-field/radio.less +1 -1
  254. package/theme/ap-field/text-area.css +28 -0
  255. package/theme/ap-form/ap-form-item-group.css +28 -0
  256. package/theme/ap-form/ap-form-item.css +35 -5
  257. package/theme/ap-form/ap-form-item.less +8 -6
  258. package/theme/ap-form/drawer-form.css +28 -0
  259. package/theme/ap-form/index.css +177 -6
  260. package/theme/ap-form/item-text-group.css +28 -0
  261. package/theme/ap-form/item-text.css +28 -0
  262. package/theme/ap-form/modal-form.css +28 -0
  263. package/theme/ap-form/search-form-sorter.css +120 -0
  264. package/theme/ap-form/search-form-sorter.less +71 -0
  265. package/theme/ap-form/search-form.css +177 -6
  266. package/theme/ap-form/search-form.less +57 -1
  267. package/theme/ap-grid/editable.css +30 -2
  268. package/theme/ap-grid/editable.less +2 -2
  269. package/theme/ap-grid/index.css +206 -20
  270. package/theme/ap-grid/index.less +17 -8
  271. package/theme/ap-group-search/ap-extension-select.css +28 -0
  272. package/theme/ap-group-search/ap-group-search.css +28 -0
  273. package/theme/ap-group-search/ap-popover-select.css +28 -0
  274. package/theme/ap-image/ap-image.css +28 -0
  275. package/theme/ap-input-radio/ap-input-radio.css +28 -0
  276. package/theme/ap-label/ap-label.css +28 -0
  277. package/theme/ap-ladder/ap-ladder.css +28 -0
  278. package/theme/ap-layout/ap-info-layout.css +28 -0
  279. package/theme/ap-list/index.css +29 -1
  280. package/theme/ap-list/index.less +2 -1
  281. package/theme/ap-product-info/ap-product-info.css +28 -0
  282. package/theme/ap-select-layout/ap-select-layout.css +28 -0
  283. package/theme/ap-size-input/ap-size-input.css +28 -0
  284. package/theme/ap-status/ap-status.css +28 -0
  285. package/theme/ap-summary/index.css +28 -0
  286. package/theme/ap-table/ap-table-index.css +28 -0
  287. package/theme/ap-table/ap-table-paragraph-ellipsis.css +28 -0
  288. package/theme/ap-table/ap-table.css +217 -34
  289. package/theme/ap-table/ap-table.less +12 -9
  290. package/theme/ap-table/setting/index.css +44 -2
  291. package/theme/ap-table/setting/modal.css +36 -0
  292. package/theme/ap-table/setting/modal.less +1 -0
  293. package/theme/ap-table/setting/select-group.css +28 -0
  294. package/theme/ap-table/setting/sortable-item-meta.css +28 -0
  295. package/theme/ap-table/setting/sortable-item.css +28 -0
  296. package/theme/ap-table/setting/sorter.css +36 -2
  297. package/theme/ap-table/setting/sorter.less +1 -2
  298. package/theme/ap-table-modal/index.css +217 -34
  299. package/theme/ap-tag/ap-tag-group.css +28 -0
  300. package/theme/ap-tag/ap-tag.css +28 -0
  301. package/theme/ap-title/ap-title.css +28 -0
  302. package/theme/ap-upload/index.css +28 -0
  303. package/theme/ap-upload/multiple-file.css +28 -0
  304. package/theme/ap-upload/picture.css +28 -0
  305. package/theme/ap-upload/single-file.css +28 -0
  306. package/theme/ap-upload/upload.css +28 -0
  307. package/theme/ap-upload-single/index.css +28 -0
  308. package/theme/ap-view/ap-view.css +149 -0
  309. package/theme/ap-view/ap-view.less +128 -0
  310. package/theme/batch-input-group/index.css +30 -2
  311. package/theme/batch-input-group/popover-input.css +28 -0
  312. package/theme/check-card/index.css +65 -17
  313. package/theme/check-card/index.less +20 -19
  314. package/theme/editable-table/index.css +198 -19
  315. package/theme/editable-table/index.less +9 -7
  316. package/theme/full-screen/index.css +28 -0
  317. package/theme/index.css +417 -75
  318. package/theme/index.less +1 -0
  319. package/theme/mask/index.css +28 -0
  320. package/theme/mixins/config.less +26 -3
  321. package/theme/mixins/mixins.css +28 -0
  322. package/theme/mixins/mixins.less +35 -0
  323. package/theme/scroll-bar/index.css +28 -0
  324. package/theme/scroll-view/index.css +28 -0
  325. package/theme/splitter/index.css +33 -5
  326. package/theme/text/group.css +28 -0
  327. package/theme/text/index.css +36 -1
  328. package/theme/text/index.less +1 -1
  329. package/theme/work-order-modal/index.css +28 -0
package/es/index.mjs CHANGED
@@ -7,11 +7,11 @@ import { keysOf as c, provideGlobalConfig as F, useGlobalConfig as I } from "./s
7
7
  import { buildLocaleContext as S, buildTranslator as b, localeContextKey as C, translate as D, useLocale as g } from "./src/config-provider/hooks/use-locale.mjs";
8
8
  import { defaultNamespace as h, namespaceContextKey as E, useGetDerivedNamespace as P, useNamespace as R } from "./src/config-provider/hooks/use-namespace.mjs";
9
9
  import { ConfigProvider as M, globalConfigCached as N } from "./src/config-provider/config-provider.mjs";
10
- import { APConfigProvider as w } from "./src/config-provider/index.mjs";
10
+ import { APConfigProvider as y } from "./src/config-provider/index.mjs";
11
11
  import { ApFormItemText as v } from "./src/ap-form/items/text/index.mjs";
12
12
  import { default as O } from "./src/ap-form/items/text-area/index.vue.mjs";
13
13
  import { default as U } from "./src/ap-form/items/number/index.vue.mjs";
14
- import { default as z } from "./src/ap-form/items/date/index.vue.mjs";
14
+ import { default as _ } from "./src/ap-form/items/date/index.vue.mjs";
15
15
  import { default as W } from "./src/ap-form/items/date-range/index.vue.mjs";
16
16
  import { default as $ } from "./src/ap-form/items/radio/index.vue.mjs";
17
17
  import { default as q } from "./src/ap-form/items/select/index.vue.mjs";
@@ -34,11 +34,11 @@ import { default as he } from "./src/ap-form/provider/index.vue.mjs";
34
34
  import { ApField as Pe } from "./src/ap-field/index.mjs";
35
35
  import { ApFieldText as Le } from "./src/ap-field/text/index.mjs";
36
36
  import { default as Ne } from "./src/ap-field/checkbox/index.vue.mjs";
37
- import { default as we } from "./src/ap-field/date/index.vue.mjs";
37
+ import { default as ye } from "./src/ap-field/date/index.vue.mjs";
38
38
  import { default as ve } from "./src/ap-field/number/index.vue.mjs";
39
39
  import { default as Oe } from "./src/ap-field/radio/index.vue.mjs";
40
40
  import { default as Ue } from "./src/ap-field/switch/index.vue.mjs";
41
- import { default as ze } from "./src/ap-field/text-area/index.vue.mjs";
41
+ import { default as _e } from "./src/ap-field/text-area/index.vue.mjs";
42
42
  import { default as We } from "./src/ap-field/date-range/index.vue.mjs";
43
43
  import { default as $e } from "./src/ap-field/select/index.vue.mjs";
44
44
  import { default as qe } from "./src/ap-field/text/password.vue.mjs";
@@ -59,12 +59,12 @@ import { default as Go } from "./src/ap-tag/ap-tag.vue.mjs";
59
59
  import { default as Eo } from "./src/ap-tag/ap-tag-group.vue.mjs";
60
60
  import { default as Ro } from "./src/ap-info-layout/ApInfoLayout.vue.mjs";
61
61
  import { NeedNameKeyDefault as Mo } from "./src/ap-upload/apUploadTypes.mjs";
62
- import { default as yo } from "./src/ap-upload/apUpload.vue.mjs";
62
+ import { default as wo } from "./src/ap-upload/apUpload.vue.mjs";
63
63
  import { ApDownLoadNeedNameKeyDefault as ko } from "./src/ap-download/interface.mjs";
64
64
  import { default as Bo } from "./src/ap-download/ap-download.vue.mjs";
65
65
  import { CheckCard as Ko } from "./src/check-card/index.mjs";
66
- import { default as _o } from "./src/check-card/group.vue.mjs";
67
- import { ApModal as Vo } from "./src/ap-modal/index.mjs";
66
+ import { default as Vo } from "./src/check-card/group.vue.mjs";
67
+ import { ApModal as zo } from "./src/ap-modal/index.mjs";
68
68
  import { default as Ho } from "./src/ap-list/index.vue.mjs";
69
69
  import { default as jo } from "./src/ap-button/ap-button.vue.mjs";
70
70
  import { default as Jo } from "./src/ap-button/ap-action-button.vue.mjs";
@@ -86,11 +86,11 @@ import { handleExportDownload as Gr } from "./src/business/ap-export-group/handl
86
86
  import { convertExportField as Er } from "./src/business/ap-export-group/convertExportField.mjs";
87
87
  import { ApImage as Rr } from "./src/business/ap-image/index.mjs";
88
88
  import { ApInputRadio as Mr } from "./src/business/ap-input-radio/index.mjs";
89
- import { ApLabel as yr, ApLabelGroup as wr } from "./src/business/ap-label/index.mjs";
89
+ import { ApLabel as wr, ApLabelGroup as yr } from "./src/business/ap-label/index.mjs";
90
90
  import { locales as vr } from "./src/business/ap-ladder/interface.mjs";
91
91
  import { ApLadder as Or } from "./src/business/ap-ladder/index.mjs";
92
92
  import { ApSelectLayout as Ur } from "./src/business/ap-select-layout/index.mjs";
93
- import { ApStatus as zr, ApStatusGroup as Vr } from "./src/business/ap-status/index.mjs";
93
+ import { ApStatus as _r, ApStatusGroup as zr } from "./src/business/ap-status/index.mjs";
94
94
  import { ApTitle as Hr } from "./src/business/ap-title/index.mjs";
95
95
  import { usePageListApTable as jr } from "./src/business/hooks/usePageListApTable.mjs";
96
96
  import { useTableRefresh as Jr } from "./src/business/hooks/useTableRefresh.mjs";
@@ -106,32 +106,33 @@ import { default as It } from "./src/business/batch-input-group/index.vue.mjs";
106
106
  import { default as St } from "./src/business/batch-input-group/form-item.vue.mjs";
107
107
  import { ApSizeInput as Ct } from "./src/business/ap-size-input/index.mjs";
108
108
  import { ApProductInfo as gt } from "./src/business/ap-product-info/index.mjs";
109
- import { useTablePaging as ht } from "./src/ap-table/hooks/use-table-paging.mjs";
110
- import { ApTable as Pt } from "./src/ap-table/index.mjs";
111
- import { default as Lt } from "./src/editable-table/index.vue.mjs";
112
- import { default as Nt } from "./src/editable-table/form-item.vue.mjs";
113
- import { default as wt } from "./src/ap-descriptions/ap-descriptions.vue.mjs";
114
- import { ensureRangeValue as vt } from "./src/scroll-bar/utils/index.mjs";
115
- import { default as Ot } from "./src/scroll-bar/index.vue.mjs";
116
- import { default as Ut } from "./src/scroll-bar/internal.vue.mjs";
117
- import { default as zt } from "./src/scroll-view/index.vue.mjs";
118
- import { default as Wt } from "./src/portal/index.vue.mjs";
119
- import { default as $t } from "./src/full-screen/index.vue.mjs";
120
- import { default as qt } from "./src/resize-observer/index.vue.mjs";
121
- import { ROW_SELECTION_FIELD as Qt } from "./src/ap-grid/constants.mjs";
122
- import { default as Yt } from "./src/ap-grid/index.vue.mjs";
123
- import { default as ep } from "./src/ap-grid/editable/index.vue.mjs";
124
- import { default as rp } from "./src/ap-grid/editable/form-item.vue.mjs";
125
- import { default as pp } from "./src/text/index.vue.mjs";
126
- import { default as fp } from "./src/text/group.vue.mjs";
127
- import { default as lp } from "./src/mask/index.vue.mjs";
128
- import { Splitter as dp } from "./src/splitter/index.mjs";
129
- import { useMessage as sp } from "./src/hooks/useMessage.mjs";
130
- import { useControllableValue as ip } from "./src/hooks/useControllableValue.mjs";
131
- import { useManualRef as cp } from "./src/hooks/useManualRef.mjs";
132
- import { useThrottleRef as Ip } from "./src/hooks/useThrottleRef.mjs";
133
- import { useFullScreen as Sp } from "./src/hooks/useFullScreen.mjs";
134
- import { useResize as Cp } from "./src/hooks/useResize.mjs";
109
+ import { ApView as ht } from "./src/business/ap-view/index.mjs";
110
+ import { useTablePaging as Pt } from "./src/ap-table/hooks/use-table-paging.mjs";
111
+ import { ApTable as Lt } from "./src/ap-table/index.mjs";
112
+ import { default as Nt } from "./src/editable-table/index.vue.mjs";
113
+ import { default as yt } from "./src/editable-table/form-item.vue.mjs";
114
+ import { default as vt } from "./src/ap-descriptions/ap-descriptions.vue.mjs";
115
+ import { ensureRangeValue as Ot } from "./src/scroll-bar/utils/index.mjs";
116
+ import { default as Ut } from "./src/scroll-bar/index.vue.mjs";
117
+ import { default as _t } from "./src/scroll-bar/internal.vue.mjs";
118
+ import { default as Wt } from "./src/scroll-view/index.vue.mjs";
119
+ import { default as $t } from "./src/portal/index.vue.mjs";
120
+ import { default as qt } from "./src/full-screen/index.vue.mjs";
121
+ import { default as Qt } from "./src/resize-observer/index.vue.mjs";
122
+ import { ROW_SELECTION_FIELD as Yt } from "./src/ap-grid/constants.mjs";
123
+ import { default as ep } from "./src/ap-grid/index.vue.mjs";
124
+ import { default as rp } from "./src/ap-grid/editable/index.vue.mjs";
125
+ import { default as pp } from "./src/ap-grid/editable/form-item.vue.mjs";
126
+ import { default as fp } from "./src/text/index.vue.mjs";
127
+ import { default as lp } from "./src/text/group.vue.mjs";
128
+ import { default as dp } from "./src/mask/index.vue.mjs";
129
+ import { Splitter as sp } from "./src/splitter/index.mjs";
130
+ import { useMessage as ip } from "./src/hooks/useMessage.mjs";
131
+ import { useControllableValue as cp } from "./src/hooks/useControllableValue.mjs";
132
+ import { useManualRef as Ip } from "./src/hooks/useManualRef.mjs";
133
+ import { useThrottleRef as Sp } from "./src/hooks/useThrottleRef.mjs";
134
+ import { useFullScreen as Cp } from "./src/hooks/useFullScreen.mjs";
135
+ import { useResize as gp } from "./src/hooks/useResize.mjs";
135
136
  const a = {
136
137
  install: (r) => {
137
138
  for (const t in o) {
@@ -141,7 +142,7 @@ const a = {
141
142
  }
142
143
  };
143
144
  export {
144
- w as APConfigProvider,
145
+ y as APConfigProvider,
145
146
  Jo as ApActionButton,
146
147
  co as ApActionGroup,
147
148
  mo as ApActionItem,
@@ -156,7 +157,7 @@ export {
156
157
  nr as ApButtonGroup,
157
158
  Fr as ApCard,
158
159
  Xo as ApConfirmButton,
159
- wt as ApDescriptions,
160
+ vt as ApDescriptions,
160
161
  ko as ApDownLoadNeedNameKeyDefault,
161
162
  Bo as ApDownload,
162
163
  Zo as ApDrawer,
@@ -166,7 +167,7 @@ export {
166
167
  st as ApExtensionSelect,
167
168
  Pe as ApField,
168
169
  Ne as ApFieldCheckbox,
169
- we as ApFieldDate,
170
+ ye as ApFieldDate,
170
171
  We as ApFieldDateRange,
171
172
  ve as ApFieldNumber,
172
173
  qe as ApFieldPassword,
@@ -177,7 +178,7 @@ export {
177
178
  Qe as ApFieldSlider,
178
179
  Ue as ApFieldSwitch,
179
180
  Le as ApFieldText,
180
- ze as ApFieldTextArea,
181
+ _e as ApFieldTextArea,
181
182
  ro as ApFieldTreeSelect,
182
183
  pe as ApForm,
183
184
  Ce as ApFormControlRender,
@@ -186,7 +187,7 @@ export {
186
187
  fe as ApFormItem,
187
188
  St as ApFormItemBatchInput,
188
189
  Y as ApFormItemCheckbox,
189
- z as ApFormItemDate,
190
+ _ as ApFormItemDate,
190
191
  W as ApFormItemDateRange,
191
192
  le as ApFormItemGroup,
192
193
  U as ApFormItemNumber,
@@ -203,55 +204,56 @@ export {
203
204
  he as ApFormProvider,
204
205
  se as ApFormSearchForm,
205
206
  Ie as ApFormSet,
206
- Yt as ApGrid,
207
+ ep as ApGrid,
207
208
  At as ApGroupSearch,
208
209
  Rr as ApImage,
209
210
  Ro as ApInfoLayout,
210
211
  Mr as ApInputRadio,
211
- yr as ApLabel,
212
- wr as ApLabelGroup,
212
+ wr as ApLabel,
213
+ yr as ApLabelGroup,
213
214
  Or as ApLadder,
214
215
  Ho as ApList,
215
- Vo as ApModal,
216
+ zo as ApModal,
216
217
  lt as ApNeedNameKeyDefault,
217
218
  it as ApPopoverSelect,
218
219
  gt as ApProductInfo,
219
220
  Ur as ApSelectLayout,
220
221
  Ct as ApSizeInput,
221
- zr as ApStatus,
222
- Vr as ApStatusGroup,
222
+ _r as ApStatus,
223
+ zr as ApStatusGroup,
223
224
  ft as ApSummary,
224
- Pt as ApTable,
225
+ Lt as ApTable,
225
226
  tr as ApTableModal,
226
227
  Go as ApTag,
227
228
  Eo as ApTagGroup,
228
- pp as ApText,
229
- fp as ApTextGroup,
229
+ fp as ApText,
230
+ lp as ApTextGroup,
230
231
  Hr as ApTitle,
231
232
  or as ApTransformDataHelper,
232
- yo as ApUpload,
233
+ wo as ApUpload,
233
234
  ct as ApUploadSingle,
235
+ ht as ApView,
234
236
  It as BatchInputGroup,
235
237
  Ko as CheckCard,
236
- _o as CheckCardGroup,
238
+ Vo as CheckCardGroup,
237
239
  M as ConfigProvider,
238
240
  s as DEFAULT_NAMESPACE,
239
241
  A as DEFAULT_UIMODE,
240
242
  Io as DictCode,
241
- ep as EditableGrid,
242
- rp as EditableGridFormItem,
243
- Lt as EditableTable,
244
- Nt as EditableTableFormItem,
245
- $t as FullScreen,
246
- Ut as InternalScrollBar,
247
- lp as Mask,
243
+ rp as EditableGrid,
244
+ pp as EditableGridFormItem,
245
+ Nt as EditableTable,
246
+ yt as EditableTableFormItem,
247
+ qt as FullScreen,
248
+ _t as InternalScrollBar,
249
+ dp as Mask,
248
250
  Mo as NeedNameKeyDefault,
249
- Wt as Portal,
250
- Qt as ROW_SELECTION_FIELD,
251
- qt as ResizeObserver,
252
- Ot as ScrollBar,
253
- zt as ScrollView,
254
- dp as Splitter,
251
+ $t as Portal,
252
+ Yt as ROW_SELECTION_FIELD,
253
+ Qt as ResizeObserver,
254
+ Ut as ScrollBar,
255
+ Wt as ScrollView,
256
+ sp as Splitter,
255
257
  Do as WorkOrderModal,
256
258
  po as adminToken,
257
259
  ao as aplusToken,
@@ -264,7 +266,7 @@ export {
264
266
  bo as createWorkOrderModal,
265
267
  a as default,
266
268
  h as defaultNamespace,
267
- vt as ensureRangeValue,
269
+ Ot as ensureRangeValue,
268
270
  rt as flattenColumns,
269
271
  tt as formatDataIndex,
270
272
  pt as formatNumber,
@@ -278,21 +280,21 @@ export {
278
280
  l as pathMap,
279
281
  F as provideGlobalConfig,
280
282
  D as translate,
281
- ip as useControllableValue,
282
- Sp as useFullScreen,
283
+ cp as useControllableValue,
284
+ Cp as useFullScreen,
283
285
  P as useGetDerivedNamespace,
284
286
  I as useGlobalConfig,
285
287
  Zr as useGridRefresh,
286
288
  g as useLocale,
287
- cp as useManualRef,
288
- sp as useMessage,
289
+ Ip as useManualRef,
290
+ ip as useMessage,
289
291
  R as useNamespace,
290
292
  Xr as usePageListApGrid,
291
293
  jr as usePageListApTable,
292
- Cp as useResize,
294
+ gp as useResize,
293
295
  ar as useTableModal,
294
- ht as useTablePaging,
296
+ Pt as useTablePaging,
295
297
  Jr as useTableRefresh,
296
298
  mr as useTableSelectModal,
297
- Ip as useThrottleRef
299
+ Sp as useThrottleRef
298
300
  };
@@ -450,13 +450,13 @@ declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
450
450
  multiple: boolean;
451
451
  disabled: boolean;
452
452
  bordered: boolean;
453
- virtual: boolean;
454
- showSearch: boolean;
455
453
  loading: boolean;
456
454
  autofocus: boolean;
455
+ virtual: boolean;
457
456
  lazy: boolean;
458
457
  allowClear: boolean;
459
458
  defaultOpen: boolean;
459
+ showSearch: boolean;
460
460
  showArrow: boolean;
461
461
  autoClearSearchValue: boolean;
462
462
  defaultActiveFirstOption: boolean;
@@ -594,13 +594,13 @@ declare const __VLS_component: DefineComponent<ApFieldTreeSelectProps, {
594
594
  multiple: boolean;
595
595
  disabled: boolean;
596
596
  bordered: boolean;
597
- virtual: boolean;
598
- dropdownMatchSelectWidth: number | boolean;
599
- showSearch: boolean;
600
597
  loading: boolean;
601
598
  autofocus: boolean;
599
+ virtual: boolean;
600
+ dropdownMatchSelectWidth: number | boolean;
602
601
  allowClear: boolean;
603
602
  defaultOpen: boolean;
603
+ showSearch: boolean;
604
604
  showArrow: boolean;
605
605
  autoClearSearchValue: boolean;
606
606
  labelInValue: boolean;
@@ -1,13 +1,13 @@
1
- import { defineComponent as Q, reactive as X, ref as j, unref as p, nextTick as Y, toRaw as x, watch as Z, onWatcherCleanup as z, computed as ee, createBlock as te, openBlock as re, mergeProps as le, withCtx as oe, renderSlot as se } from "vue";
2
- import { Form as ie } from "@aplus-frontend/antdv";
3
- import { useProvideForm as ne } from "./context.mjs";
4
- import { isArray as f, cloneDeep as ae, isFunction as _, isPlainObject as B, omit as ue } from "lodash-unified";
1
+ import { defineComponent as Q, reactive as X, ref as E, unref as p, nextTick as Y, toRaw as _, watch as Z, onWatcherCleanup as z, computed as ee, createBlock as te, openBlock as re, mergeProps as le, withCtx as oe, renderSlot as se } from "vue";
2
+ import { Form as ne } from "@aplus-frontend/antdv";
3
+ import { useProvideForm as ie } from "./context.mjs";
4
+ import { isArray as f, cloneDeep as ae, isFunction as B, isPlainObject as M, omit as ue } from "lodash-unified";
5
5
  import { useUrlSearchParams as ce } from "@vueuse/core";
6
6
  import { INTERNAL_FORM_INSTANCE_MARK as fe } from "./constant.mjs";
7
7
  import { getRouteType as de, isDef as V } from "../utils/index.mjs";
8
8
  import ge from "./utils/set.mjs";
9
- import { genParams as M, setToParams as E } from "./utils/params.mjs";
10
- import { useInjectFormProvider as Fe } from "./provider/context.mjs";
9
+ import { genParams as b, setToParams as A } from "./utils/params.mjs";
10
+ import { useInjectFormProvider as he } from "./provider/context.mjs";
11
11
  const Re = /* @__PURE__ */ Q({
12
12
  __name: "ap-form",
13
13
  props: {
@@ -38,11 +38,11 @@ const Re = /* @__PURE__ */ Q({
38
38
  syncToUrl: { type: [Boolean, Function], default: !1 },
39
39
  syncToUrlPriority: { type: Boolean }
40
40
  },
41
- setup(A, { expose: C }) {
42
- function N(e, t) {
41
+ setup(C, { expose: N }) {
42
+ function S(e, t) {
43
43
  return f(t) ? t.reduce((r, o) => r == null ? void 0 : r[o], e) : e == null ? void 0 : e[t];
44
44
  }
45
- const l = A;
45
+ const l = C;
46
46
  function v(e, t, r = !0, o) {
47
47
  var s;
48
48
  if (f(e)) {
@@ -59,13 +59,13 @@ const Re = /* @__PURE__ */ Q({
59
59
  }
60
60
  T();
61
61
  }
62
- const u = j(), I = ce(de()), y = Fe(), P = j(
63
- l.syncToUrl ? M(l.syncToUrl, I, "get") : {}
62
+ const u = E(), I = ce(de()), y = he(), P = E(
63
+ l.syncToUrl ? b(l.syncToUrl, I, "get") : {}
64
64
  );
65
- let m = ae(b()), g = {};
66
- const n = X(b());
67
- let F = [];
68
- function b() {
65
+ let m = ae(w()), g = {};
66
+ const n = X(w());
67
+ let h = [];
68
+ function w() {
69
69
  const e = l.initialValues || {};
70
70
  return l.syncToUrlPriority ? {
71
71
  ...e,
@@ -75,43 +75,42 @@ const Re = /* @__PURE__ */ Q({
75
75
  ...e
76
76
  };
77
77
  }
78
- function S(e) {
78
+ function W(e) {
79
79
  var r;
80
- const t = h(e, g);
81
- y.triggerFormFinish(l.name, e), l.syncToUrl && E(I, M(l.syncToUrl, t, "set")), (r = l.onFinish) == null || r.call(l, t);
80
+ const t = F(e, g);
81
+ y.triggerFormFinish(l.name, e), l.syncToUrl && A(I, b(l.syncToUrl, t, "set")), (r = l.onFinish) == null || r.call(l, t);
82
82
  }
83
- const W = async () => {
83
+ const q = async () => {
84
84
  var e;
85
85
  (e = u.value) == null || e.resetFields(), await Y(() => {
86
- Object.keys(n).forEach((t) => delete n[t]), Object.assign(n, m), T(), l.syncToUrl && E(
86
+ Object.keys(n).forEach((t) => delete n[t]), Object.assign(n, m), T(), l.syncToUrl && A(
87
87
  I,
88
- M(
88
+ b(
89
89
  l.syncToUrl,
90
- h(m, g),
90
+ F(m, g),
91
91
  "set"
92
92
  )
93
93
  );
94
94
  });
95
- }, q = (e) => {
95
+ }, D = (e) => {
96
96
  var t;
97
97
  (t = u.value) == null || t.clearValidate(e);
98
- }, D = (e, t) => {
98
+ }, k = (e, t) => {
99
99
  var r;
100
100
  return (r = u.value) == null ? void 0 : r.validateFields(e, t);
101
- }, L = async (e, t) => {
101
+ }, K = async (e, t) => {
102
102
  var o;
103
103
  const r = await ((o = u.value) == null ? void 0 : o.validateFields(
104
104
  e,
105
105
  t
106
106
  ));
107
- return h(r, g);
108
- }, k = (e) => {
107
+ return F(r, g);
108
+ }, O = (e) => {
109
109
  var t;
110
- return (t = u.value) == null ? void 0 : t.getFieldsValue(e);
111
- }, K = (e) => {
112
- var r;
113
- const t = (r = u.value) == null ? void 0 : r.getFieldsValue(e);
114
- return h(t, g);
110
+ return e === !0 ? _(n) : (t = u.value) == null ? void 0 : t.getFieldsValue(e);
111
+ }, L = (e) => {
112
+ const t = O(e);
113
+ return F(t, g);
115
114
  }, $ = (e, t) => {
116
115
  var r;
117
116
  return (r = u.value) == null ? void 0 : r.validate(e, t);
@@ -124,13 +123,13 @@ const Re = /* @__PURE__ */ Q({
124
123
  v(e, t, r, o), T();
125
124
  };
126
125
  function R(e, t) {
127
- return t || e(x(n)), F.push(e), () => {
128
- F = F.filter((r) => r !== e);
126
+ return t || e(_(n)), h.push(e), () => {
127
+ h = h.filter((r) => r !== e);
129
128
  };
130
129
  }
131
- function w({ initialValue: e, name: t, transform: r }) {
130
+ function j({ initialValue: e, name: t, transform: r }) {
132
131
  if (V(e) && V(t)) {
133
- const o = N(p(P), t);
132
+ const o = S(p(P), t);
134
133
  if (!V(o) || !l.syncToUrlPriority)
135
134
  if (v(t, e, !1), f(t)) {
136
135
  let i = m;
@@ -153,33 +152,33 @@ const Re = /* @__PURE__ */ Q({
153
152
  return;
154
153
  }
155
154
  return {
156
- registerField: w,
155
+ registerField: j,
157
156
  registerWatch: R,
158
157
  setFieldValue: U
159
158
  };
160
159
  }
161
160
  function T() {
162
- if (F.length) {
163
- const e = x(n);
164
- F.forEach((t) => {
161
+ if (h.length) {
162
+ const e = _(n);
163
+ h.forEach((t) => {
165
164
  t(e);
166
165
  });
167
166
  }
168
167
  }
169
- function h(e, t) {
168
+ function F(e, t) {
170
169
  if (e == null)
171
170
  return;
172
171
  let r = f(e) ? [] : {};
173
172
  return Object.keys(e).forEach((o) => {
174
- const i = e[o], s = t == null ? void 0 : t[o], a = _(s) ? s : s == null ? void 0 : s.transformer, d = _(s) ? !0 : s == null ? void 0 : s.flat;
175
- if (_(a)) {
173
+ const i = e[o], s = t == null ? void 0 : t[o], a = B(s) ? s : s == null ? void 0 : s.transformer, d = B(s) ? !0 : s == null ? void 0 : s.flat;
174
+ if (B(a)) {
176
175
  const c = a(i);
177
- d ? f(c) && f(r) ? r = [...r, ...c] : B(c) && B(r) ? r = {
176
+ d ? f(c) && f(r) ? r = [...r, ...c] : M(c) && M(r) ? r = {
178
177
  ...r,
179
178
  ...c
180
179
  } : r[o] = c : r[o] = c;
181
- } else if (B(i) || f(i)) {
182
- const c = h(
180
+ } else if (M(i) || f(i)) {
181
+ const c = F(
183
182
  i,
184
183
  s
185
184
  );
@@ -188,44 +187,44 @@ const Re = /* @__PURE__ */ Q({
188
187
  r[o] = i;
189
188
  }), r;
190
189
  }
191
- const O = {
192
- resetFields: W,
193
- clearValidate: q,
194
- validateFields: D,
195
- getFieldsValue: k,
190
+ const x = {
191
+ resetFields: q,
192
+ clearValidate: D,
193
+ validateFields: k,
194
+ getFieldsValue: O,
196
195
  validate: $,
197
196
  scrollToField: G,
198
197
  setFieldsValue: H,
199
198
  setFieldValue: U,
200
199
  registerWatch: R,
201
- validateFieldsReturnTransformed: L,
202
- getFieldsValueTransformed: K,
200
+ validateFieldsReturnTransformed: K,
201
+ getFieldsValueTransformed: L,
203
202
  getInternalInstance: J
204
203
  };
205
204
  return Z(
206
205
  () => l.name,
207
206
  (e) => {
208
- e && (y.registerForm(e, O), z(() => {
207
+ e && (y.registerForm(e, x), z(() => {
209
208
  y.unregisterForm(l.name);
210
209
  }));
211
210
  },
212
211
  {
213
212
  immediate: !0
214
213
  }
215
- ), ne({
214
+ ), ie({
216
215
  model: ee(() => n),
217
216
  updateModel: v,
218
217
  internalInstance: {
219
218
  registerWatch: R,
220
- registerField: w,
219
+ registerField: j,
221
220
  setFieldValue: U
222
221
  }
223
- }), C(O), (e, t) => (re(), te(p(ie), le({
222
+ }), N(x), (e, t) => (re(), te(p(ne), le({
224
223
  ref_key: "formRef",
225
224
  ref: u
226
225
  }, p(ue)(l, ["initialValues", "onValuesChange", "onFinish"]), {
227
226
  model: n,
228
- onFinish: S
227
+ onFinish: W
229
228
  }), {
230
229
  default: oe(() => [
231
230
  se(e.$slots, "default")
@@ -1,10 +1,10 @@
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, ValidateMessages, FormLabelAlign, FieldData, ValidateErrorEntity } 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 { ButtonSize, SizeType } from '@aplus-frontend/antdv/es/button';
5
- import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
6
5
  import { ColSize } from '@aplus-frontend/antdv/es/grid';
7
6
  import { RuleObject } from '@aplus-frontend/antdv/es/form';
7
+ import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
8
8
  import { Options } from '../../../node_modules/scroll-into-view-if-needed';
9
9
  import { Recordable } from '../../type';
10
10
  import { VueTypeDef, VueTypeValidableDef } from '../../../node_modules/vue-types';
@@ -32,10 +32,6 @@ declare function __VLS_template(): {
32
32
  readonly layout?: string | undefined;
33
33
  readonly disabled?: boolean | undefined;
34
34
  readonly prefixCls?: string | undefined;
35
- readonly name?: string | undefined;
36
- readonly validateMessages?: ValidateMessages | undefined;
37
- readonly requiredMark?: "" | RequiredMark | undefined;
38
- readonly colon?: boolean | undefined;
39
35
  readonly labelCol?: (Partial< ExtractPropTypes<{
40
36
  span: (StringConstructor | NumberConstructor)[];
41
37
  order: (StringConstructor | NumberConstructor)[];
@@ -102,13 +98,17 @@ declare function __VLS_template(): {
102
98
  prefixCls: StringConstructor;
103
99
  flex: (StringConstructor | NumberConstructor)[];
104
100
  }>> & HTMLAttributes) | undefined;
101
+ readonly colon?: boolean | undefined;
105
102
  readonly labelAlign?: FormLabelAlign | undefined;
103
+ readonly name?: string | undefined;
106
104
  readonly rules?: {
107
105
  [k: string]: RuleObject | RuleObject[];
108
106
  } | undefined;
109
107
  readonly validateTrigger?: string | string[] | undefined;
110
108
  readonly labelWrap?: boolean | undefined;
109
+ readonly requiredMark?: "" | RequiredMark | undefined;
111
110
  readonly hideRequiredMark?: boolean | undefined;
111
+ readonly validateMessages?: ValidateMessages | undefined;
112
112
  readonly validateOnRuleChange?: boolean | undefined;
113
113
  readonly scrollToFirstError?: boolean | Options<any> | undefined;
114
114
  readonly onFieldsChange?: ((changedFields: FieldData[], allFields: FieldData[]) => void) | undefined;
@@ -974,10 +974,6 @@ declare const __VLS_component: DefineComponent<ApFormDrawerFormProps, {
974
974
  readonly layout?: string | undefined;
975
975
  readonly disabled?: boolean | undefined;
976
976
  readonly prefixCls?: string | undefined;
977
- readonly name?: string | undefined;
978
- readonly validateMessages?: ValidateMessages | undefined;
979
- readonly requiredMark?: "" | RequiredMark | undefined;
980
- readonly colon?: boolean | undefined;
981
977
  readonly labelCol?: (Partial< ExtractPropTypes<{
982
978
  span: (StringConstructor | NumberConstructor)[];
983
979
  order: (StringConstructor | NumberConstructor)[];
@@ -1044,13 +1040,17 @@ declare const __VLS_component: DefineComponent<ApFormDrawerFormProps, {
1044
1040
  prefixCls: StringConstructor;
1045
1041
  flex: (StringConstructor | NumberConstructor)[];
1046
1042
  }>> & HTMLAttributes) | undefined;
1043
+ readonly colon?: boolean | undefined;
1047
1044
  readonly labelAlign?: FormLabelAlign | undefined;
1045
+ readonly name?: string | undefined;
1048
1046
  readonly rules?: {
1049
1047
  [k: string]: RuleObject | RuleObject[];
1050
1048
  } | undefined;
1051
1049
  readonly validateTrigger?: string | string[] | undefined;
1052
1050
  readonly labelWrap?: boolean | undefined;
1051
+ readonly requiredMark?: "" | RequiredMark | undefined;
1053
1052
  readonly hideRequiredMark?: boolean | undefined;
1053
+ readonly validateMessages?: ValidateMessages | undefined;
1054
1054
  readonly validateOnRuleChange?: boolean | undefined;
1055
1055
  readonly scrollToFirstError?: boolean | Options<any> | undefined;
1056
1056
  readonly onFieldsChange?: ((changedFields: FieldData[], allFields: FieldData[]) => void) | undefined;