@aplus-frontend/ui 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (640) hide show
  1. package/es/index.d.ts +0 -1
  2. package/es/src/ap-action/group/index.vue.d.ts +12 -13
  3. package/es/src/ap-action/index.d.ts +0 -1
  4. package/es/src/ap-action/interface.d.ts +0 -1
  5. package/es/src/ap-action/item/index.vue.d.ts +16 -15
  6. package/es/src/ap-action/item/index.vue2.mjs +18 -19
  7. package/es/src/ap-action/item-dropdown/index.vue.d.ts +19 -18
  8. package/es/src/ap-action/item-modal/index.vue.d.ts +16 -15
  9. package/es/src/ap-action/item-popconfirm/index.vue.d.ts +26 -25
  10. package/es/src/ap-action/style/item.css +5 -5
  11. package/es/src/ap-custom-column/column-select.vue.d.ts +3 -4
  12. package/es/src/ap-custom-column/custom-column.vue.d.ts +3 -4
  13. package/es/src/ap-custom-column/index.d.ts +0 -1
  14. package/es/src/ap-custom-column/interfaces.d.ts +0 -1
  15. package/es/src/ap-custom-column/storage.mjs +11 -11
  16. package/es/src/ap-custom-column/useCacheColumnSetting.d.ts +0 -1
  17. package/es/src/ap-custom-column/utils.d.ts +0 -1
  18. package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +11 -10
  19. package/es/src/ap-descriptions/formatter/index.d.ts +0 -1
  20. package/es/src/ap-descriptions/help-message/index.vue.d.ts +14 -12
  21. package/es/src/ap-descriptions/helper.d.ts +0 -1
  22. package/es/src/ap-descriptions/index.d.ts +0 -1
  23. package/es/src/ap-descriptions/interface.d.ts +0 -1
  24. package/es/src/ap-download/ap-download.vue.d.ts +18 -17
  25. package/es/src/ap-download/ap-download.vue.mjs +4 -1
  26. package/es/src/ap-download/hooks/index.d.ts +0 -1
  27. package/es/src/ap-download/index.d.ts +0 -1
  28. package/es/src/ap-download/interface.d.ts +0 -1
  29. package/es/src/ap-field/checkbox/helper.d.ts +0 -1
  30. package/es/src/ap-field/checkbox/index.vue.d.ts +11 -12
  31. package/es/src/ap-field/date/constant.d.ts +0 -1
  32. package/es/src/ap-field/date/helper.d.ts +0 -1
  33. package/es/src/ap-field/date/index.vue.d.ts +25 -24
  34. package/es/src/ap-field/date/index.vue.mjs +4 -1
  35. package/es/src/ap-field/date-range/index.vue.d.ts +23 -22
  36. package/es/src/ap-field/date-range/index.vue.mjs +7 -1
  37. package/es/src/ap-field/hooks/use-default-placeholder.d.ts +3 -3
  38. package/es/src/ap-field/index.d.ts +0 -1
  39. package/es/src/ap-field/interface.d.ts +0 -1
  40. package/es/src/ap-field/number/helper.d.ts +0 -1
  41. package/es/src/ap-field/number/index.vue.d.ts +14 -13
  42. package/es/src/ap-field/radio/helper.d.ts +0 -1
  43. package/es/src/ap-field/radio/index.vue.d.ts +11 -12
  44. package/es/src/ap-field/rate/index.vue.d.ts +19 -18
  45. package/es/src/ap-field/segmented/index.vue.d.ts +23 -22
  46. package/es/src/ap-field/select/index.vue.d.ts +20 -19
  47. package/es/src/ap-field/slider/index.vue.d.ts +14 -13
  48. package/es/src/ap-field/slider/index.vue.mjs +1 -4
  49. package/es/src/ap-field/switch/index.vue.d.ts +15 -14
  50. package/es/src/ap-field/text/index.d.ts +0 -1
  51. package/es/src/ap-field/text/index.vue.d.ts +17 -16
  52. package/es/src/ap-field/text/input-password-props.d.ts +0 -1
  53. package/es/src/ap-field/text/password.vue.d.ts +18 -17
  54. package/es/src/ap-field/text-area/index.vue.d.ts +13 -14
  55. package/es/src/ap-form/ap-form-item-group/helper.d.ts +0 -1
  56. package/es/src/ap-form/ap-form-item-group/index.vue.d.ts +19 -18
  57. package/es/src/ap-form/ap-form-item.vue.d.ts +15 -14
  58. package/es/src/ap-form/ap-form-list.vue.d.ts +9 -8
  59. package/es/src/ap-form/ap-form.vue.d.ts +22 -21
  60. package/es/src/ap-form/constant.d.ts +0 -1
  61. package/es/src/ap-form/context.d.ts +0 -1
  62. package/es/src/ap-form/hooks/use-watch.d.ts +0 -1
  63. package/es/src/ap-form/hooks/use-watch.mjs +7 -7
  64. package/es/src/ap-form/index.d.ts +0 -1
  65. package/es/src/ap-form/interface.d.ts +0 -1
  66. package/es/src/ap-form/items/checkbox/index.vue.d.ts +17 -16
  67. package/es/src/ap-form/items/date/index.vue.d.ts +38 -37
  68. package/es/src/ap-form/items/date-range/index.vue.d.ts +38 -37
  69. package/es/src/ap-form/items/index.d.ts +0 -1
  70. package/es/src/ap-form/items/interface.d.ts +0 -1
  71. package/es/src/ap-form/items/number/index.vue.d.ts +31 -30
  72. package/es/src/ap-form/items/radio/index.vue.d.ts +17 -16
  73. package/es/src/ap-form/items/select/index.vue.d.ts +41 -40
  74. package/es/src/ap-form/items/switch/index.vue.d.ts +25 -24
  75. package/es/src/ap-form/items/text/index.d.ts +0 -1
  76. package/es/src/ap-form/items/text/index.vue.d.ts +31 -30
  77. package/es/src/ap-form/items/text/password.vue.d.ts +31 -30
  78. package/es/src/ap-form/items/text-area/index.vue.d.ts +18 -17
  79. package/es/src/ap-form/modal-form/index.vue.d.ts +30 -29
  80. package/es/src/ap-form/search-form/index.vue.d.ts +23 -22
  81. package/es/src/ap-form/search-form/utils.d.ts +0 -1
  82. package/es/src/ap-form/search-form/utils.mjs +1 -2
  83. package/es/src/ap-form/style/ap-form-item.css +6 -6
  84. package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +20 -19
  85. package/es/src/ap-layout/index.d.ts +0 -1
  86. package/es/src/ap-list/hooks/use-offline-list.d.ts +0 -1
  87. package/es/src/ap-list/index.d.ts +0 -1
  88. package/es/src/ap-list/index.vue.d.ts +9 -122
  89. package/es/src/ap-list/interface.d.ts +0 -1
  90. package/es/src/ap-modal/index.d.ts +0 -1
  91. package/es/src/ap-modal/type.d.ts +0 -1
  92. package/es/src/ap-modal/utils/createModal.d.ts +0 -1
  93. package/es/src/ap-table/ap-table.vue.d.ts +16 -2222
  94. package/es/src/ap-table/components/index/index.vue.d.ts +11 -12
  95. package/es/src/ap-table/components/interface.d.ts +0 -1
  96. package/es/src/ap-table/components/status/index.vue.d.ts +2 -3
  97. package/es/src/ap-table/constants.d.ts +4804 -6359
  98. package/es/src/ap-table/hooks/use-table-paging.d.ts +0 -1
  99. package/es/src/ap-table/hooks/use-table-row-selection.d.ts +0 -1
  100. package/es/src/ap-table/index.d.ts +0 -1
  101. package/es/src/ap-table/interface.d.ts +0 -1
  102. package/es/src/ap-table/style/ap-table.css +1 -1
  103. package/es/src/ap-table/utils.d.ts +1 -2
  104. package/es/src/ap-tag/ap-tag-group.vue.d.ts +14 -13
  105. package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -7
  106. package/es/src/ap-tag/ap-tag.vue.d.ts +13 -14
  107. package/es/src/ap-tag/index.d.ts +0 -1
  108. package/es/src/ap-tag/interface.d.ts +0 -1
  109. package/es/src/ap-upload/apUpload.vue.d.ts +2 -3
  110. package/es/src/ap-upload/apUpload.vue.mjs +4 -1
  111. package/es/src/ap-upload/apUploadTypes.d.ts +0 -1
  112. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +0 -1
  113. package/es/src/ap-upload/components/Picture.vue.d.ts +0 -1
  114. package/es/src/ap-upload/components/Picture.vue2.mjs +15 -5
  115. package/es/src/ap-upload/components/SingleFile.vue.d.ts +0 -1
  116. package/es/src/ap-upload/components/SingleFile.vue2.mjs +5 -1
  117. package/es/src/ap-upload/hooks/useOss.d.ts +0 -1
  118. package/es/src/ap-upload/index.d.ts +0 -1
  119. package/es/src/ap-upload/utils/accept.d.ts +0 -1
  120. package/es/src/ap-upload/utils/accept.mjs +1 -2
  121. package/es/src/base-button/button.vue.d.ts +17 -16
  122. package/es/src/base-button/constants.d.ts +0 -1
  123. package/es/src/base-button/index.d.ts +55 -55
  124. package/es/src/base-button/interface.d.ts +0 -1
  125. package/es/src/basic/arrow.vue.d.ts +2 -3
  126. package/es/src/basic/help.vue.d.ts +4 -9
  127. package/es/src/basic/index.d.ts +27 -35
  128. package/es/src/basic/interface.d.ts +0 -1
  129. package/es/src/basic/title.vue.d.ts +16 -15
  130. package/es/src/business/ap-export-group/ApExportGroup.vue.d.ts +2 -3
  131. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +1 -2
  132. package/es/src/business/ap-export-group/interface.d.ts +0 -1
  133. package/es/src/business/ap-label/ApLabel.vue.d.ts +17 -16
  134. package/es/src/business/ap-label/index.d.ts +0 -1
  135. package/es/src/business/ap-label/interface.d.ts +0 -1
  136. package/es/src/business/ap-select-layout/index.css +9 -0
  137. package/es/src/business/ap-select-layout/index.d.ts +0 -1
  138. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +16 -58
  139. package/es/src/business/ap-status/ApStatus.vue.d.ts +11 -12
  140. package/es/src/business/ap-status/ApStatusGroup.vue.d.ts +14 -17
  141. package/es/src/business/ap-status/index.d.ts +0 -1
  142. package/es/src/business/expandAlert/ApExpandAlert.vue.d.ts +18 -17
  143. package/es/src/business/index.d.ts +213 -248
  144. package/es/src/business/title/ApTitle.vue.d.ts +19 -18
  145. package/es/src/button/button.vue.d.ts +25 -0
  146. package/es/src/button/index.d.ts +7 -7
  147. package/es/src/check-card/checked.svg.mjs +2 -2
  148. package/es/src/check-card/context.d.ts +0 -1
  149. package/es/src/check-card/group.vue.d.ts +21 -20
  150. package/es/src/check-card/index.d.ts +0 -1
  151. package/es/src/check-card/index.vue.d.ts +16 -15
  152. package/es/src/check-card/index.vue2.mjs +16 -16
  153. package/es/src/check-card/interface.d.ts +0 -1
  154. package/es/src/check-card/style/index.css +5 -5
  155. package/es/src/config-provider/config-provider-props.d.ts +22 -23
  156. package/es/src/config-provider/config-provider.d.ts +59 -204
  157. package/es/src/config-provider/constants.d.ts +0 -1
  158. package/es/src/config-provider/hooks/use-global-config.d.ts +24 -25
  159. package/es/src/config-provider/hooks/use-locale.d.ts +0 -1
  160. package/es/src/config-provider/hooks/use-namespace.d.ts +0 -1
  161. package/es/src/config-provider/index.d.ts +129 -130
  162. package/es/src/container/collapse/header.vue.d.ts +4 -5
  163. package/es/src/container/collapse/index.vue.d.ts +5 -6
  164. package/es/src/container/index.d.ts +26 -26
  165. package/es/src/container/scroll-container.vue.d.ts +13 -12
  166. package/es/src/count-down/button.vue.d.ts +11 -12
  167. package/es/src/count-down/index.d.ts +13 -13
  168. package/es/src/count-down/input.vue.d.ts +14 -13
  169. package/es/src/count-down/interface.d.ts +0 -1
  170. package/es/src/cropper/cropper-avatar.vue.d.ts +12 -13
  171. package/es/src/cropper/cropper-image.vue.d.ts +12 -13
  172. package/es/src/cropper/cropper-modal.vue.d.ts +0 -1
  173. package/es/src/cropper/index.d.ts +63 -63
  174. package/es/src/cropper/interface.d.ts +0 -1
  175. package/es/src/description/description.vue.d.ts +1 -2
  176. package/es/src/description/index.d.ts +10 -10
  177. package/es/src/description/interface.d.ts +0 -1
  178. package/es/src/description/use-description.d.ts +0 -1
  179. package/es/src/design-token/index.d.ts +0 -1
  180. package/es/src/dropdown/dropdown.vue.d.ts +18 -17
  181. package/es/src/dropdown/index.d.ts +18 -18
  182. package/es/src/dropdown/interface.d.ts +0 -1
  183. package/es/src/editable-table/form-item.vue.d.ts +14 -915
  184. package/es/src/editable-table/hooks/use-get-columns.d.ts +0 -1
  185. package/es/src/editable-table/index.d.ts +0 -1
  186. package/es/src/editable-table/index.vue.d.ts +18 -568
  187. package/es/src/editable-table/interface.d.ts +0 -1
  188. package/es/src/editable-table/style/index.css +1 -1
  189. package/es/src/editable-table/utils.d.ts +0 -1
  190. package/es/src/hooks/useControllableValue.d.ts +0 -1
  191. package/es/src/hooks/useMessage.d.ts +0 -1
  192. package/es/src/icon/icon.vue.d.ts +12 -12
  193. package/es/src/icon/icon.vue2.mjs +3 -6
  194. package/es/src/icon/index.d.ts +36 -36
  195. package/es/src/icon/svg-icon.vue.d.ts +11 -12
  196. package/es/src/icon-picker/icon-picker.vue.d.ts +12 -13
  197. package/es/src/icon-picker/index.d.ts +25 -25
  198. package/es/src/locale/index.d.ts +0 -1
  199. package/es/src/locale/lang/en.d.ts +0 -1
  200. package/es/src/locale/lang/en.mjs +22 -22
  201. package/es/src/locale/lang/zh-cn.d.ts +0 -1
  202. package/es/src/locale/lang/zh-cn.mjs +22 -22
  203. package/es/src/modal/basic.vue.d.ts +18 -206
  204. package/es/src/modal/components/modal-close.vue.d.ts +11 -12
  205. package/es/src/modal/components/modal-footer.vue.d.ts +20 -209
  206. package/es/src/modal/components/modal-header.vue.d.ts +2 -3
  207. package/es/src/modal/components/modal-wrapper.vue.d.ts +7 -5
  208. package/es/src/modal/components/modal-wrapper.vue2.mjs +4 -8
  209. package/es/src/modal/components/modal.d.ts +11 -201
  210. package/es/src/modal/hooks/use-moda-full-screen.d.ts +0 -1
  211. package/es/src/modal/hooks/use-modal-drag.d.ts +0 -1
  212. package/es/src/modal/hooks/use-modal-drag.mjs +3 -6
  213. package/es/src/modal/hooks/use-modal.d.ts +0 -1
  214. package/es/src/modal/hooks/use-modal.mjs +1 -2
  215. package/es/src/modal/index.d.ts +37 -130
  216. package/es/src/modal/interface.d.ts +0 -1
  217. package/es/src/modal/props.d.ts +6 -103
  218. package/es/src/pro-form/component-map.d.ts +0 -1
  219. package/es/src/pro-form/components/api-cascader.vue.d.ts +11 -12
  220. package/es/src/pro-form/components/api-radio-group.vue.d.ts +12 -13
  221. package/es/src/pro-form/components/api-select.vue.d.ts +15 -14
  222. package/es/src/pro-form/components/api-transfer.vue.d.ts +14 -15
  223. package/es/src/pro-form/components/api-tree-select.vue.d.ts +14 -13
  224. package/es/src/pro-form/components/api-tree-select.vue.mjs +1 -2
  225. package/es/src/pro-form/components/api-tree.vue.d.ts +15 -14
  226. package/es/src/pro-form/components/api-tree.vue.mjs +1 -2
  227. package/es/src/pro-form/components/form-action.vue.d.ts +19 -18
  228. package/es/src/pro-form/components/form-item.vue.d.ts +0 -1
  229. package/es/src/pro-form/components/interface.d.ts +0 -1
  230. package/es/src/pro-form/components/radio-button-group.vue.d.ts +11 -12
  231. package/es/src/pro-form/helper.d.ts +1 -2
  232. package/es/src/pro-form/helper.mjs +4 -4
  233. package/es/src/pro-form/hooks/use-advanced.d.ts +0 -1
  234. package/es/src/pro-form/hooks/use-auto-focus.d.ts +0 -1
  235. package/es/src/pro-form/hooks/use-component-register.d.ts +0 -1
  236. package/es/src/pro-form/hooks/use-form-events.d.ts +0 -1
  237. package/es/src/pro-form/hooks/use-form-events.mjs +11 -11
  238. package/es/src/pro-form/hooks/use-form-item.d.ts +0 -1
  239. package/es/src/pro-form/hooks/use-form-values.d.ts +0 -1
  240. package/es/src/pro-form/hooks/use-form.d.ts +0 -1
  241. package/es/src/pro-form/hooks/use-label-width.d.ts +122 -123
  242. package/es/src/pro-form/index.d.ts +0 -1
  243. package/es/src/pro-form/pro-form.vue.d.ts +24 -23
  244. package/es/src/pro-form/table-form-inner.vue.d.ts +13 -14
  245. package/es/src/pro-form/table-form.vue.d.ts +12 -13
  246. package/es/src/pro-form/types/form-item.d.ts +0 -1
  247. package/es/src/pro-form/types/form.d.ts +0 -1
  248. package/es/src/pro-form/types/index.d.ts +37 -38
  249. package/es/src/pro-form/types/table-form.d.ts +0 -1
  250. package/es/src/pro-table/component-map.d.ts +0 -1
  251. package/es/src/pro-table/components/edit-table-header-icon.vue.d.ts +6 -4
  252. package/es/src/pro-table/components/editable/cell-component.d.ts +0 -1
  253. package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +7 -8
  254. package/es/src/pro-table/components/editable/editable-cell.vue2.mjs +38 -42
  255. package/es/src/pro-table/components/editable/helper.d.ts +0 -1
  256. package/es/src/pro-table/components/editable/index.d.ts +0 -1
  257. package/es/src/pro-table/components/header-cell.vue.d.ts +0 -1
  258. package/es/src/pro-table/components/settings/column-setting.vue.d.ts +0 -1
  259. package/es/src/pro-table/components/settings/index.vue.d.ts +0 -1
  260. package/es/src/pro-table/components/table-action.vue.d.ts +7 -6
  261. package/es/src/pro-table/components/table-action.vue.mjs +4 -3
  262. package/es/src/pro-table/components/table-footer.vue.d.ts +19 -20
  263. package/es/src/pro-table/components/table-header.vue.d.ts +11 -10
  264. package/es/src/pro-table/components/table-image.vue.d.ts +12 -13
  265. package/es/src/pro-table/components/table-selection-bar.vue.d.ts +15 -16
  266. package/es/src/pro-table/components/table-title.vue.d.ts +0 -1
  267. package/es/src/pro-table/const.d.ts +0 -1
  268. package/es/src/pro-table/directives/click-outside.d.ts +0 -1
  269. package/es/src/pro-table/helper.d.ts +0 -1
  270. package/es/src/pro-table/hooks/use-columns.d.ts +0 -1
  271. package/es/src/pro-table/hooks/use-columns.mjs +3 -6
  272. package/es/src/pro-table/hooks/use-custom-row.d.ts +0 -1
  273. package/es/src/pro-table/hooks/use-custom-row.mjs +4 -8
  274. package/es/src/pro-table/hooks/use-data-source.d.ts +1 -2
  275. package/es/src/pro-table/hooks/use-data-source.mjs +2 -4
  276. package/es/src/pro-table/hooks/use-loading.d.ts +0 -1
  277. package/es/src/pro-table/hooks/use-pagination.d.ts +0 -1
  278. package/es/src/pro-table/hooks/use-row-selection.d.ts +0 -1
  279. package/es/src/pro-table/hooks/use-scroll-to.d.ts +0 -1
  280. package/es/src/pro-table/hooks/use-scroll-to.mjs +1 -2
  281. package/es/src/pro-table/hooks/use-table-context.d.ts +0 -1
  282. package/es/src/pro-table/hooks/use-table-expand.d.ts +0 -1
  283. package/es/src/pro-table/hooks/use-table-footer.d.ts +0 -1
  284. package/es/src/pro-table/hooks/use-table-footer.mjs +1 -2
  285. package/es/src/pro-table/hooks/use-table-form.d.ts +0 -1
  286. package/es/src/pro-table/hooks/use-table-header.d.ts +0 -1
  287. package/es/src/pro-table/hooks/use-table-scroll.d.ts +3 -4
  288. package/es/src/pro-table/hooks/use-table-scroll.mjs +25 -27
  289. package/es/src/pro-table/hooks/use-table-style.d.ts +0 -1
  290. package/es/src/pro-table/hooks/use-table.d.ts +0 -1
  291. package/es/src/pro-table/interface.d.ts +0 -1
  292. package/es/src/pro-table/pro-table.vue.d.ts +43 -42
  293. package/es/src/pro-table/types/pagination.d.ts +0 -1
  294. package/es/src/pro-table/types/table-action.d.ts +0 -1
  295. package/es/src/pro-table/types/table.d.ts +0 -1
  296. package/es/src/prompt/dialog.vue.d.ts +2 -3
  297. package/es/src/prompt/index.d.ts +0 -1
  298. package/es/src/prompt/interface.d.ts +0 -1
  299. package/es/src/prompt/utils.d.ts +2 -2
  300. package/es/src/scroll-bar/bar-item.d.ts +0 -1
  301. package/es/src/scroll-bar/bar-item.mjs +2 -4
  302. package/es/src/scroll-bar/index.d.ts +27 -27
  303. package/es/src/scroll-bar/interface.d.ts +0 -1
  304. package/es/src/scroll-bar/scroll-bar.vue.d.ts +18 -17
  305. package/es/src/scroll-bar/scroll-bar.vue2.mjs +1 -2
  306. package/es/src/scroll-bar/utils.d.ts +0 -1
  307. package/es/src/strength-meter/index.d.ts +19 -19
  308. package/es/src/strength-meter/strength-meter.vue.d.ts +14 -13
  309. package/es/src/strength-meter/strength-meter.vue2.mjs +1 -2
  310. package/es/src/tests/wrapper.d.ts +8 -0
  311. package/es/src/theme/antd-global-overwrite/admin/index.css +5 -5
  312. package/es/src/theme/antd-global-overwrite/admin/steps.css +5 -5
  313. package/es/src/theme/antd-global-overwrite/aplus/form.css +1 -1
  314. package/es/src/theme/antd-global-overwrite/aplus/index.css +6 -6
  315. package/es/src/theme/antd-global-overwrite/aplus/steps.css +5 -5
  316. package/es/src/theme/ap-action/item.css +5 -5
  317. package/es/src/theme/ap-form/ap-form-item.css +6 -6
  318. package/es/src/theme/ap-select-layout/ap-select-layout.css +9 -0
  319. package/es/src/theme/ap-table/ap-table.css +1 -1
  320. package/es/src/theme/check-card/index.css +5 -5
  321. package/es/src/theme/editable-table/index.css +1 -1
  322. package/es/src/transition/collapse-transition.vue.d.ts +4 -3
  323. package/es/src/transition/create-transition.d.ts +0 -1
  324. package/es/src/type.d.ts +0 -1
  325. package/es/src/utils/config-provider-preset.d.ts +16 -17
  326. package/es/src/utils/index.d.ts +0 -1
  327. package/es/src/utils/slot.d.ts +0 -1
  328. package/es/src/utils/slot.mjs +1 -2
  329. package/es/src/utils/tree.d.ts +0 -1
  330. package/es/src/utils/tree.mjs +1 -2
  331. package/es/src/work-order-modal/createWorkOrder.d.ts +0 -1
  332. package/es/src/work-order-modal/index.d.ts +0 -1
  333. package/es/src/work-order-modal/interfaces.d.ts +0 -1
  334. package/es/src/work-order-modal/work-order-modal.vue.d.ts +3 -4
  335. package/lib/index.d.ts +0 -1
  336. package/lib/src/ap-action/group/index.vue.d.ts +12 -13
  337. package/lib/src/ap-action/index.d.ts +0 -1
  338. package/lib/src/ap-action/interface.d.ts +0 -1
  339. package/lib/src/ap-action/item/index.vue.d.ts +16 -15
  340. package/lib/src/ap-action/item/index.vue2.js +1 -1
  341. package/lib/src/ap-action/item-dropdown/index.vue.d.ts +19 -18
  342. package/lib/src/ap-action/item-modal/index.vue.d.ts +16 -15
  343. package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +26 -25
  344. package/lib/src/ap-action/style/item.css +5 -5
  345. package/lib/src/ap-custom-column/column-select.vue.d.ts +3 -4
  346. package/lib/src/ap-custom-column/custom-column.vue.d.ts +3 -4
  347. package/lib/src/ap-custom-column/index.d.ts +0 -1
  348. package/lib/src/ap-custom-column/interfaces.d.ts +0 -1
  349. package/lib/src/ap-custom-column/storage.js +1 -1
  350. package/lib/src/ap-custom-column/useCacheColumnSetting.d.ts +0 -1
  351. package/lib/src/ap-custom-column/utils.d.ts +0 -1
  352. package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +11 -10
  353. package/lib/src/ap-descriptions/formatter/index.d.ts +0 -1
  354. package/lib/src/ap-descriptions/help-message/index.vue.d.ts +14 -12
  355. package/lib/src/ap-descriptions/helper.d.ts +0 -1
  356. package/lib/src/ap-descriptions/index.d.ts +0 -1
  357. package/lib/src/ap-descriptions/interface.d.ts +0 -1
  358. package/lib/src/ap-download/ap-download.vue.d.ts +18 -17
  359. package/lib/src/ap-download/hooks/index.d.ts +0 -1
  360. package/lib/src/ap-download/index.d.ts +0 -1
  361. package/lib/src/ap-download/interface.d.ts +0 -1
  362. package/lib/src/ap-field/checkbox/helper.d.ts +0 -1
  363. package/lib/src/ap-field/checkbox/index.vue.d.ts +11 -12
  364. package/lib/src/ap-field/date/constant.d.ts +0 -1
  365. package/lib/src/ap-field/date/helper.d.ts +0 -1
  366. package/lib/src/ap-field/date/index.vue.d.ts +25 -24
  367. package/lib/src/ap-field/date-range/index.vue.d.ts +23 -22
  368. package/lib/src/ap-field/hooks/use-default-placeholder.d.ts +3 -3
  369. package/lib/src/ap-field/index.d.ts +0 -1
  370. package/lib/src/ap-field/interface.d.ts +0 -1
  371. package/lib/src/ap-field/number/helper.d.ts +0 -1
  372. package/lib/src/ap-field/number/index.vue.d.ts +14 -13
  373. package/lib/src/ap-field/radio/helper.d.ts +0 -1
  374. package/lib/src/ap-field/radio/index.vue.d.ts +11 -12
  375. package/lib/src/ap-field/rate/index.vue.d.ts +19 -18
  376. package/lib/src/ap-field/segmented/index.vue.d.ts +23 -22
  377. package/lib/src/ap-field/select/index.vue.d.ts +20 -19
  378. package/lib/src/ap-field/slider/index.vue.d.ts +14 -13
  379. package/lib/src/ap-field/switch/index.vue.d.ts +15 -14
  380. package/lib/src/ap-field/text/index.d.ts +0 -1
  381. package/lib/src/ap-field/text/index.vue.d.ts +17 -16
  382. package/lib/src/ap-field/text/input-password-props.d.ts +0 -1
  383. package/lib/src/ap-field/text/password.vue.d.ts +18 -17
  384. package/lib/src/ap-field/text-area/index.vue.d.ts +13 -14
  385. package/lib/src/ap-form/ap-form-item-group/helper.d.ts +0 -1
  386. package/lib/src/ap-form/ap-form-item-group/index.vue.d.ts +19 -18
  387. package/lib/src/ap-form/ap-form-item.vue.d.ts +15 -14
  388. package/lib/src/ap-form/ap-form-list.vue.d.ts +9 -8
  389. package/lib/src/ap-form/ap-form.vue.d.ts +22 -21
  390. package/lib/src/ap-form/constant.d.ts +0 -1
  391. package/lib/src/ap-form/context.d.ts +0 -1
  392. package/lib/src/ap-form/hooks/use-watch.d.ts +0 -1
  393. package/lib/src/ap-form/index.d.ts +0 -1
  394. package/lib/src/ap-form/interface.d.ts +0 -1
  395. package/lib/src/ap-form/items/checkbox/index.vue.d.ts +17 -16
  396. package/lib/src/ap-form/items/date/index.vue.d.ts +38 -37
  397. package/lib/src/ap-form/items/date-range/index.vue.d.ts +38 -37
  398. package/lib/src/ap-form/items/index.d.ts +0 -1
  399. package/lib/src/ap-form/items/interface.d.ts +0 -1
  400. package/lib/src/ap-form/items/number/index.vue.d.ts +31 -30
  401. package/lib/src/ap-form/items/radio/index.vue.d.ts +17 -16
  402. package/lib/src/ap-form/items/select/index.vue.d.ts +41 -40
  403. package/lib/src/ap-form/items/switch/index.vue.d.ts +25 -24
  404. package/lib/src/ap-form/items/text/index.d.ts +0 -1
  405. package/lib/src/ap-form/items/text/index.vue.d.ts +31 -30
  406. package/lib/src/ap-form/items/text/password.vue.d.ts +31 -30
  407. package/lib/src/ap-form/items/text-area/index.vue.d.ts +18 -17
  408. package/lib/src/ap-form/modal-form/index.vue.d.ts +30 -29
  409. package/lib/src/ap-form/search-form/index.vue.d.ts +23 -22
  410. package/lib/src/ap-form/search-form/utils.d.ts +0 -1
  411. package/lib/src/ap-form/style/ap-form-item.css +6 -6
  412. package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +20 -19
  413. package/lib/src/ap-layout/index.d.ts +0 -1
  414. package/lib/src/ap-list/hooks/use-offline-list.d.ts +0 -1
  415. package/lib/src/ap-list/index.d.ts +0 -1
  416. package/lib/src/ap-list/index.vue.d.ts +9 -122
  417. package/lib/src/ap-list/interface.d.ts +0 -1
  418. package/lib/src/ap-modal/index.d.ts +0 -1
  419. package/lib/src/ap-modal/type.d.ts +0 -1
  420. package/lib/src/ap-modal/utils/createModal.d.ts +0 -1
  421. package/lib/src/ap-table/ap-table.vue.d.ts +16 -2222
  422. package/lib/src/ap-table/components/index/index.vue.d.ts +11 -12
  423. package/lib/src/ap-table/components/interface.d.ts +0 -1
  424. package/lib/src/ap-table/components/status/index.vue.d.ts +2 -3
  425. package/lib/src/ap-table/constants.d.ts +4804 -6359
  426. package/lib/src/ap-table/hooks/use-table-paging.d.ts +0 -1
  427. package/lib/src/ap-table/hooks/use-table-row-selection.d.ts +0 -1
  428. package/lib/src/ap-table/index.d.ts +0 -1
  429. package/lib/src/ap-table/interface.d.ts +0 -1
  430. package/lib/src/ap-table/style/ap-table.css +1 -1
  431. package/lib/src/ap-table/utils.d.ts +1 -2
  432. package/lib/src/ap-tag/ap-tag-group.vue.d.ts +14 -13
  433. package/lib/src/ap-tag/ap-tag.vue.d.ts +13 -14
  434. package/lib/src/ap-tag/index.d.ts +0 -1
  435. package/lib/src/ap-tag/interface.d.ts +0 -1
  436. package/lib/src/ap-upload/apUpload.vue.d.ts +2 -3
  437. package/lib/src/ap-upload/apUploadTypes.d.ts +0 -1
  438. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +0 -1
  439. package/lib/src/ap-upload/components/Picture.vue.d.ts +0 -1
  440. package/lib/src/ap-upload/components/SingleFile.vue.d.ts +0 -1
  441. package/lib/src/ap-upload/hooks/useOss.d.ts +0 -1
  442. package/lib/src/ap-upload/index.d.ts +0 -1
  443. package/lib/src/ap-upload/utils/accept.d.ts +0 -1
  444. package/lib/src/base-button/button.vue.d.ts +17 -16
  445. package/lib/src/base-button/constants.d.ts +0 -1
  446. package/lib/src/base-button/index.d.ts +55 -55
  447. package/lib/src/base-button/interface.d.ts +0 -1
  448. package/lib/src/basic/arrow.vue.d.ts +2 -3
  449. package/lib/src/basic/help.vue.d.ts +4 -9
  450. package/lib/src/basic/index.d.ts +27 -35
  451. package/lib/src/basic/interface.d.ts +0 -1
  452. package/lib/src/basic/title.vue.d.ts +16 -15
  453. package/lib/src/business/ap-export-group/ApExportGroup.vue.d.ts +2 -3
  454. package/lib/src/business/ap-export-group/interface.d.ts +0 -1
  455. package/lib/src/business/ap-label/ApLabel.vue.d.ts +17 -16
  456. package/lib/src/business/ap-label/index.d.ts +0 -1
  457. package/lib/src/business/ap-label/interface.d.ts +0 -1
  458. package/lib/src/business/ap-select-layout/index.css +9 -0
  459. package/lib/src/business/ap-select-layout/index.d.ts +0 -1
  460. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +16 -58
  461. package/lib/src/business/ap-status/ApStatus.vue.d.ts +11 -12
  462. package/lib/src/business/ap-status/ApStatusGroup.vue.d.ts +14 -17
  463. package/lib/src/business/ap-status/index.d.ts +0 -1
  464. package/lib/src/business/expandAlert/ApExpandAlert.vue.d.ts +18 -17
  465. package/lib/src/business/index.d.ts +213 -248
  466. package/lib/src/business/title/ApTitle.vue.d.ts +19 -18
  467. package/lib/src/button/button.vue.d.ts +25 -0
  468. package/lib/src/button/index.d.ts +7 -7
  469. package/lib/src/check-card/checked.svg.js +1 -1
  470. package/lib/src/check-card/context.d.ts +0 -1
  471. package/lib/src/check-card/group.vue.d.ts +21 -20
  472. package/lib/src/check-card/index.d.ts +0 -1
  473. package/lib/src/check-card/index.vue.d.ts +16 -15
  474. package/lib/src/check-card/index.vue2.js +1 -1
  475. package/lib/src/check-card/interface.d.ts +0 -1
  476. package/lib/src/check-card/style/index.css +5 -5
  477. package/lib/src/config-provider/config-provider-props.d.ts +22 -23
  478. package/lib/src/config-provider/config-provider.d.ts +59 -204
  479. package/lib/src/config-provider/constants.d.ts +0 -1
  480. package/lib/src/config-provider/hooks/use-global-config.d.ts +24 -25
  481. package/lib/src/config-provider/hooks/use-locale.d.ts +0 -1
  482. package/lib/src/config-provider/hooks/use-namespace.d.ts +0 -1
  483. package/lib/src/config-provider/index.d.ts +129 -130
  484. package/lib/src/container/collapse/header.vue.d.ts +4 -5
  485. package/lib/src/container/collapse/index.vue.d.ts +5 -6
  486. package/lib/src/container/index.d.ts +26 -26
  487. package/lib/src/container/scroll-container.vue.d.ts +13 -12
  488. package/lib/src/count-down/button.vue.d.ts +11 -12
  489. package/lib/src/count-down/index.d.ts +13 -13
  490. package/lib/src/count-down/input.vue.d.ts +14 -13
  491. package/lib/src/count-down/interface.d.ts +0 -1
  492. package/lib/src/cropper/cropper-avatar.vue.d.ts +12 -13
  493. package/lib/src/cropper/cropper-image.vue.d.ts +12 -13
  494. package/lib/src/cropper/cropper-modal.vue.d.ts +0 -1
  495. package/lib/src/cropper/index.d.ts +63 -63
  496. package/lib/src/cropper/interface.d.ts +0 -1
  497. package/lib/src/description/description.vue.d.ts +1 -2
  498. package/lib/src/description/index.d.ts +10 -10
  499. package/lib/src/description/interface.d.ts +0 -1
  500. package/lib/src/description/use-description.d.ts +0 -1
  501. package/lib/src/design-token/index.d.ts +0 -1
  502. package/lib/src/dropdown/dropdown.vue.d.ts +18 -17
  503. package/lib/src/dropdown/index.d.ts +18 -18
  504. package/lib/src/dropdown/interface.d.ts +0 -1
  505. package/lib/src/editable-table/form-item.vue.d.ts +14 -915
  506. package/lib/src/editable-table/hooks/use-get-columns.d.ts +0 -1
  507. package/lib/src/editable-table/index.d.ts +0 -1
  508. package/lib/src/editable-table/index.vue.d.ts +18 -568
  509. package/lib/src/editable-table/interface.d.ts +0 -1
  510. package/lib/src/editable-table/style/index.css +1 -1
  511. package/lib/src/editable-table/utils.d.ts +0 -1
  512. package/lib/src/hooks/useControllableValue.d.ts +0 -1
  513. package/lib/src/hooks/useMessage.d.ts +0 -1
  514. package/lib/src/icon/icon.vue.d.ts +12 -12
  515. package/lib/src/icon/index.d.ts +36 -36
  516. package/lib/src/icon/svg-icon.vue.d.ts +11 -12
  517. package/lib/src/icon-picker/icon-picker.vue.d.ts +12 -13
  518. package/lib/src/icon-picker/index.d.ts +25 -25
  519. package/lib/src/locale/index.d.ts +0 -1
  520. package/lib/src/locale/lang/en.d.ts +0 -1
  521. package/lib/src/locale/lang/en.js +1 -1
  522. package/lib/src/locale/lang/zh-cn.d.ts +0 -1
  523. package/lib/src/locale/lang/zh-cn.js +1 -1
  524. package/lib/src/modal/basic.vue.d.ts +18 -206
  525. package/lib/src/modal/components/modal-close.vue.d.ts +11 -12
  526. package/lib/src/modal/components/modal-footer.vue.d.ts +20 -209
  527. package/lib/src/modal/components/modal-header.vue.d.ts +2 -3
  528. package/lib/src/modal/components/modal-wrapper.vue.d.ts +7 -5
  529. package/lib/src/modal/components/modal.d.ts +11 -201
  530. package/lib/src/modal/hooks/use-moda-full-screen.d.ts +0 -1
  531. package/lib/src/modal/hooks/use-modal-drag.d.ts +0 -1
  532. package/lib/src/modal/hooks/use-modal.d.ts +0 -1
  533. package/lib/src/modal/index.d.ts +37 -130
  534. package/lib/src/modal/interface.d.ts +0 -1
  535. package/lib/src/modal/props.d.ts +6 -103
  536. package/lib/src/pro-form/component-map.d.ts +0 -1
  537. package/lib/src/pro-form/components/api-cascader.vue.d.ts +11 -12
  538. package/lib/src/pro-form/components/api-radio-group.vue.d.ts +12 -13
  539. package/lib/src/pro-form/components/api-select.vue.d.ts +15 -14
  540. package/lib/src/pro-form/components/api-transfer.vue.d.ts +14 -15
  541. package/lib/src/pro-form/components/api-tree-select.vue.d.ts +14 -13
  542. package/lib/src/pro-form/components/api-tree.vue.d.ts +15 -14
  543. package/lib/src/pro-form/components/form-action.vue.d.ts +19 -18
  544. package/lib/src/pro-form/components/form-item.vue.d.ts +0 -1
  545. package/lib/src/pro-form/components/interface.d.ts +0 -1
  546. package/lib/src/pro-form/components/radio-button-group.vue.d.ts +11 -12
  547. package/lib/src/pro-form/helper.d.ts +1 -2
  548. package/lib/src/pro-form/helper.js +1 -1
  549. package/lib/src/pro-form/hooks/use-advanced.d.ts +0 -1
  550. package/lib/src/pro-form/hooks/use-auto-focus.d.ts +0 -1
  551. package/lib/src/pro-form/hooks/use-component-register.d.ts +0 -1
  552. package/lib/src/pro-form/hooks/use-form-events.d.ts +0 -1
  553. package/lib/src/pro-form/hooks/use-form-events.js +1 -1
  554. package/lib/src/pro-form/hooks/use-form-item.d.ts +0 -1
  555. package/lib/src/pro-form/hooks/use-form-values.d.ts +0 -1
  556. package/lib/src/pro-form/hooks/use-form.d.ts +0 -1
  557. package/lib/src/pro-form/hooks/use-label-width.d.ts +122 -123
  558. package/lib/src/pro-form/index.d.ts +0 -1
  559. package/lib/src/pro-form/pro-form.vue.d.ts +24 -23
  560. package/lib/src/pro-form/table-form-inner.vue.d.ts +13 -14
  561. package/lib/src/pro-form/table-form.vue.d.ts +12 -13
  562. package/lib/src/pro-form/types/form-item.d.ts +0 -1
  563. package/lib/src/pro-form/types/form.d.ts +0 -1
  564. package/lib/src/pro-form/types/index.d.ts +37 -38
  565. package/lib/src/pro-form/types/table-form.d.ts +0 -1
  566. package/lib/src/pro-table/component-map.d.ts +0 -1
  567. package/lib/src/pro-table/components/edit-table-header-icon.vue.d.ts +6 -4
  568. package/lib/src/pro-table/components/editable/cell-component.d.ts +0 -1
  569. package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +7 -8
  570. package/lib/src/pro-table/components/editable/editable-cell.vue2.js +1 -1
  571. package/lib/src/pro-table/components/editable/helper.d.ts +0 -1
  572. package/lib/src/pro-table/components/editable/index.d.ts +0 -1
  573. package/lib/src/pro-table/components/header-cell.vue.d.ts +0 -1
  574. package/lib/src/pro-table/components/settings/column-setting.vue.d.ts +0 -1
  575. package/lib/src/pro-table/components/settings/index.vue.d.ts +0 -1
  576. package/lib/src/pro-table/components/table-action.vue.d.ts +7 -6
  577. package/lib/src/pro-table/components/table-footer.vue.d.ts +19 -20
  578. package/lib/src/pro-table/components/table-header.vue.d.ts +11 -10
  579. package/lib/src/pro-table/components/table-image.vue.d.ts +12 -13
  580. package/lib/src/pro-table/components/table-selection-bar.vue.d.ts +15 -16
  581. package/lib/src/pro-table/components/table-title.vue.d.ts +0 -1
  582. package/lib/src/pro-table/const.d.ts +0 -1
  583. package/lib/src/pro-table/directives/click-outside.d.ts +0 -1
  584. package/lib/src/pro-table/helper.d.ts +0 -1
  585. package/lib/src/pro-table/hooks/use-columns.d.ts +0 -1
  586. package/lib/src/pro-table/hooks/use-custom-row.d.ts +0 -1
  587. package/lib/src/pro-table/hooks/use-data-source.d.ts +1 -2
  588. package/lib/src/pro-table/hooks/use-loading.d.ts +0 -1
  589. package/lib/src/pro-table/hooks/use-pagination.d.ts +0 -1
  590. package/lib/src/pro-table/hooks/use-row-selection.d.ts +0 -1
  591. package/lib/src/pro-table/hooks/use-scroll-to.d.ts +0 -1
  592. package/lib/src/pro-table/hooks/use-table-context.d.ts +0 -1
  593. package/lib/src/pro-table/hooks/use-table-expand.d.ts +0 -1
  594. package/lib/src/pro-table/hooks/use-table-footer.d.ts +0 -1
  595. package/lib/src/pro-table/hooks/use-table-form.d.ts +0 -1
  596. package/lib/src/pro-table/hooks/use-table-header.d.ts +0 -1
  597. package/lib/src/pro-table/hooks/use-table-scroll.d.ts +3 -4
  598. package/lib/src/pro-table/hooks/use-table-scroll.js +1 -1
  599. package/lib/src/pro-table/hooks/use-table-style.d.ts +0 -1
  600. package/lib/src/pro-table/hooks/use-table.d.ts +0 -1
  601. package/lib/src/pro-table/interface.d.ts +0 -1
  602. package/lib/src/pro-table/pro-table.vue.d.ts +43 -42
  603. package/lib/src/pro-table/types/pagination.d.ts +0 -1
  604. package/lib/src/pro-table/types/table-action.d.ts +0 -1
  605. package/lib/src/pro-table/types/table.d.ts +0 -1
  606. package/lib/src/prompt/dialog.vue.d.ts +2 -3
  607. package/lib/src/prompt/index.d.ts +0 -1
  608. package/lib/src/prompt/interface.d.ts +0 -1
  609. package/lib/src/prompt/utils.d.ts +2 -2
  610. package/lib/src/scroll-bar/bar-item.d.ts +0 -1
  611. package/lib/src/scroll-bar/index.d.ts +27 -27
  612. package/lib/src/scroll-bar/interface.d.ts +0 -1
  613. package/lib/src/scroll-bar/scroll-bar.vue.d.ts +18 -17
  614. package/lib/src/scroll-bar/utils.d.ts +0 -1
  615. package/lib/src/strength-meter/index.d.ts +19 -19
  616. package/lib/src/strength-meter/strength-meter.vue.d.ts +14 -13
  617. package/lib/src/tests/wrapper.d.ts +8 -0
  618. package/lib/src/theme/antd-global-overwrite/admin/index.css +5 -5
  619. package/lib/src/theme/antd-global-overwrite/admin/steps.css +5 -5
  620. package/lib/src/theme/antd-global-overwrite/aplus/form.css +1 -1
  621. package/lib/src/theme/antd-global-overwrite/aplus/index.css +6 -6
  622. package/lib/src/theme/antd-global-overwrite/aplus/steps.css +5 -5
  623. package/lib/src/theme/ap-action/item.css +5 -5
  624. package/lib/src/theme/ap-form/ap-form-item.css +6 -6
  625. package/lib/src/theme/ap-select-layout/ap-select-layout.css +9 -0
  626. package/lib/src/theme/ap-table/ap-table.css +1 -1
  627. package/lib/src/theme/check-card/index.css +5 -5
  628. package/lib/src/theme/editable-table/index.css +1 -1
  629. package/lib/src/transition/collapse-transition.vue.d.ts +4 -3
  630. package/lib/src/transition/create-transition.d.ts +0 -1
  631. package/lib/src/type.d.ts +0 -1
  632. package/lib/src/utils/config-provider-preset.d.ts +16 -17
  633. package/lib/src/utils/index.d.ts +0 -1
  634. package/lib/src/utils/slot.d.ts +0 -1
  635. package/lib/src/utils/tree.d.ts +0 -1
  636. package/lib/src/work-order-modal/createWorkOrder.d.ts +0 -1
  637. package/lib/src/work-order-modal/index.d.ts +0 -1
  638. package/lib/src/work-order-modal/interfaces.d.ts +0 -1
  639. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +3 -4
  640. package/package.json +5 -5
@@ -1,14 +1,21 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
- helpMessage?: string | undefined;
4
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
5
- helpMessage?: string | undefined;
6
- }>>>, {}, {}>, {
2
+ declare function __VLS_template(): {
7
3
  default?(_: {}): any;
8
- }>;
4
+ };
5
+ declare const __VLS_component: DefineComponent<__VLS_TypePropsToOption<{
6
+ helpMessage?: string;
7
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<{
8
+ helpMessage?: string;
9
+ }>>>, {}, {}>;
10
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
9
11
  export default _default;
12
+ type __VLS_WithTemplateSlots<T, S> = T & {
13
+ new (): {
14
+ $slots: S;
15
+ };
16
+ };
10
17
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
11
- type __VLS_TypePropsToRuntimeProps<T> = {
18
+ type __VLS_TypePropsToOption<T> = {
12
19
  [K in keyof T]-?: {} extends Pick<T, K> ? {
13
20
  type: PropType<__VLS_NonUndefinedable<T[K]>>;
14
21
  } : {
@@ -16,8 +23,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
16
23
  required: true;
17
24
  };
18
25
  };
19
- type __VLS_WithTemplateSlots<T, S> = T & {
20
- new (): {
21
- $slots: S;
22
- };
23
- };
@@ -1,6 +1,5 @@
1
1
  import { FormatOptions, FormatterValueType, TransformOptionType } from './interface';
2
2
  import { VNode, VNodeChild } from 'vue';
3
-
4
3
  export declare function transformValue(data: FormatOptions, opt: TransformOptionType): VNodeChild | VNode;
5
4
  /**
6
5
  * 根据type判断是否为空
@@ -1,4 +1,3 @@
1
1
  import { default as ApDescriptions } from './ap-descriptions.vue';
2
-
3
2
  export * from './interface';
4
3
  export { ApDescriptions };
@@ -1,7 +1,6 @@
1
1
  import { DescriptionsProps } from 'ant-design-vue';
2
2
  import { CSSProperties, StyleValue, VNode, VNodeChild } from 'vue';
3
3
  import { formatterMap } from './formatter';
4
-
5
4
  /** 字段路径 */
6
5
  export type FieldPath = string | string[];
7
6
  type FormatterMapType = typeof formatterMap;
@@ -1,31 +1,23 @@
1
1
  import { ApDownLoadProps } from './interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
-
4
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApDownLoadProps>, {
3
+ declare function __VLS_template(): {
4
+ icon?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApDownLoadProps>, {
5
7
  size: string;
6
8
  color: string;
7
9
  disabled: boolean;
8
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApDownLoadProps>, {
10
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApDownLoadProps>, {
9
11
  size: string;
10
12
  color: string;
11
13
  disabled: boolean;
12
14
  }>>>, {
13
- color: string;
14
- disabled: boolean;
15
15
  size: "small" | "middle" | "large";
16
- }, {}>, {
17
- icon?(_: {}): any;
18
- }>;
16
+ disabled: boolean;
17
+ color: string;
18
+ }, {}>;
19
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
19
20
  export default _default;
20
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
21
- type __VLS_TypePropsToRuntimeProps<T> = {
22
- [K in keyof T]-?: {} extends Pick<T, K> ? {
23
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
24
- } : {
25
- type: PropType<T[K]>;
26
- required: true;
27
- };
28
- };
29
21
  type __VLS_WithDefaults<P, D> = {
30
22
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
31
23
  default: D[K];
@@ -39,3 +31,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
39
31
  $slots: S;
40
32
  };
41
33
  };
34
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
35
+ type __VLS_TypePropsToOption<T> = {
36
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
37
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
38
+ } : {
39
+ type: PropType<T[K]>;
40
+ required: true;
41
+ };
42
+ };
@@ -30,7 +30,10 @@ const W = { class: "icon" }, D = { class: "text" }, j = /* @__PURE__ */ y({
30
30
  const e = [r("inner-wrapper"), a("inner-wrapper", t.size)];
31
31
  return t.disabled && (d.value === "aplus" ? e.push(a("inner-wrapper", "disabled")) : e.push(a("inner-wrapper", "disabled-admin"))), e;
32
32
  }), w = async () => {
33
- t.disabled || await (await k(t.getOssAccess, z(c))).downloadFile(t.fileName);
33
+ t.disabled || await (await k(
34
+ t.getOssAccess,
35
+ z(c)
36
+ )).downloadFile(t.fileName);
34
37
  };
35
38
  return (e, o) => (v(), I("span", {
36
39
  style: N(m.value),
@@ -1,4 +1,3 @@
1
1
  import { Oss } from '@aplus-frontend/oss';
2
-
3
2
  export type { Oss } from '@aplus-frontend/oss';
4
3
  export declare function useOssInit(getOssAccess: any, Locale: 'zh_CN' | 'en_US'): Promise<Oss | null>;
@@ -1,4 +1,3 @@
1
1
  import { default as ApDownload } from './ap-download.vue';
2
-
3
2
  export * from './interface';
4
3
  export { ApDownload };
@@ -1,5 +1,4 @@
1
1
  import { accessCreate } from '@aplus-frontend/oss';
2
-
3
2
  export interface ApDownLoadProps {
4
3
  /**
5
4
  * 标签内容
@@ -1,6 +1,5 @@
1
1
  import { CheckboxOptionType } from 'ant-design-vue';
2
2
  import { CheckboxValueType } from 'ant-design-vue/es/checkbox/interface';
3
3
  import { VueNode } from 'ant-design-vue/es/_util/type';
4
-
5
4
  export declare const getOptionValue: (v: CheckboxOptionType | string | number) => CheckboxValueType;
6
5
  export declare const getOptionLabel: (v: CheckboxOptionType | string | number) => VueNode;
@@ -1,14 +1,13 @@
1
1
  import { ApFieldCheckboxProps, FieldMode } from '../interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
3
  import { CheckboxOptionType } from 'ant-design-vue';
4
-
5
- declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFieldCheckboxProps>, {
4
+ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldCheckboxProps>, {
6
5
  emptyText: string;
7
6
  mode: string;
8
7
  options: () => never[];
9
8
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
10
9
  "update:value": (...args: any[]) => void;
11
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFieldCheckboxProps>, {
10
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldCheckboxProps>, {
12
11
  emptyText: string;
13
12
  mode: string;
14
13
  options: () => never[];
@@ -20,15 +19,6 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
20
19
  emptyText: string;
21
20
  }, {}>;
22
21
  export default _default;
23
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
24
- type __VLS_TypePropsToRuntimeProps<T> = {
25
- [K in keyof T]-?: {} extends Pick<T, K> ? {
26
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
27
- } : {
28
- type: PropType<T[K]>;
29
- required: true;
30
- };
31
- };
32
22
  type __VLS_WithDefaults<P, D> = {
33
23
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
34
24
  default: D[K];
@@ -37,3 +27,12 @@ type __VLS_WithDefaults<P, D> = {
37
27
  type __VLS_Prettify<T> = {
38
28
  [K in keyof T]: T[K];
39
29
  } & {};
30
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
31
+ type __VLS_TypePropsToOption<T> = {
32
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
33
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
34
+ } : {
35
+ type: PropType<T[K]>;
36
+ required: true;
37
+ };
38
+ };
@@ -1,6 +1,5 @@
1
1
  import { PickerMode } from 'ant-design-vue/es/vc-picker/interface';
2
2
  import { ApFormatPresetType } from './interface';
3
-
4
3
  export declare const ApFieldDatePresetFormats: string[];
5
4
  export declare const PRESET_FORMAT_MAP: Record<ApFormatPresetType, string>;
6
5
  export declare const PRESET_FORMAT_PICK_MAP: Record<ApFormatPresetType, PickerMode>;
@@ -1,7 +1,6 @@
1
1
  import { ZoneAlias } from '@aplus-frontend/utils';
2
2
  import { EventValue } from 'ant-design-vue/es/vc-picker/interface';
3
3
  import { Dayjs } from 'dayjs';
4
-
5
4
  export declare const formatDay: (d: Dayjs, f: string, begin?: boolean) => number | null;
6
5
  /**
7
6
  * 带timezone的日期格式化生成函数
@@ -2,9 +2,8 @@ import { default as dayjs } from 'dayjs';
2
2
  import { ApFieldDateProps, FieldMode } from '../interface';
3
3
  import { ApFormatPresetType } from './interface';
4
4
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, VNode, RendererNode, RendererElement, PropType } from 'vue';
5
+ import { LiteralUnion } from '../../type';
5
6
  import { SharedTimeProps } from 'ant-design-vue/es/vc-picker/panels/TimePanel';
6
- import { LiteralUnion } from 'src/type';
7
-
8
7
  type ApFieldDataSlots = {
9
8
  dateRender: any;
10
9
  suffixIcon?: any;
@@ -18,7 +17,8 @@ type ApFieldDataSlots = {
18
17
  clearIcon?: any;
19
18
  default?: any;
20
19
  };
21
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFieldDateProps>, {
20
+ declare function __VLS_template(): Readonly<ApFieldDataSlots> & ApFieldDataSlots;
21
+ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldDateProps>, {
22
22
  format: string;
23
23
  mode: string;
24
24
  emptyText: string;
@@ -41,7 +41,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
41
41
  use12Hours: undefined;
42
42
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
43
43
  "update:value": (...args: any[]) => void;
44
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFieldDateProps>, {
44
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldDateProps>, {
45
45
  format: string;
46
46
  mode: string;
47
47
  emptyText: string;
@@ -65,17 +65,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
65
65
  }>>> & {
66
66
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
67
67
  }, {
68
- disabled: boolean;
69
- open: boolean;
70
- autofocus: boolean;
71
68
  mode: FieldMode;
72
- bordered: boolean;
73
- showToday: boolean;
74
- showTime: boolean | SharedTimeProps<dayjs.Dayjs>;
75
- format: LiteralUnion<ApFormatPresetType, string>;
76
- allowClear: boolean;
77
- defaultOpen: boolean;
78
- inputReadOnly: boolean;
69
+ open: boolean;
70
+ disabled: boolean;
79
71
  suffixIcon: string | number | boolean | void | VNode<RendererNode, RendererElement, {
80
72
  [key: string]: any;
81
73
  }> | (string | number | boolean | void | VNode<RendererNode, RendererElement, {
@@ -83,6 +75,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
83
75
  }> | null | undefined)[] | VNode<RendererNode, RendererElement, {
84
76
  [key: string]: any;
85
77
  }> | null;
78
+ bordered: boolean;
79
+ autofocus: boolean;
86
80
  clearIcon: string | number | boolean | void | VNode<RendererNode, RendererElement, {
87
81
  [key: string]: any;
88
82
  }> | (string | number | boolean | void | VNode<RendererNode, RendererElement, {
@@ -90,18 +84,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
90
84
  }> | null | undefined)[] | VNode<RendererNode, RendererElement, {
91
85
  [key: string]: any;
92
86
  }> | null;
87
+ allowClear: boolean;
88
+ defaultOpen: boolean;
89
+ format: LiteralUnion<ApFormatPresetType, string>;
90
+ inputReadOnly: boolean;
91
+ showToday: boolean;
92
+ showTime: boolean | SharedTimeProps<dayjs.Dayjs>;
93
93
  emptyText: string;
94
- }, {}>, Readonly<ApFieldDataSlots> & ApFieldDataSlots>;
94
+ }, {}>;
95
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
95
96
  export default _default;
96
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
97
- type __VLS_TypePropsToRuntimeProps<T> = {
98
- [K in keyof T]-?: {} extends Pick<T, K> ? {
99
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
100
- } : {
101
- type: PropType<T[K]>;
102
- required: true;
103
- };
104
- };
105
97
  type __VLS_WithDefaults<P, D> = {
106
98
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
107
99
  default: D[K];
@@ -115,3 +107,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
115
107
  $slots: S;
116
108
  };
117
109
  };
110
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
111
+ type __VLS_TypePropsToOption<T> = {
112
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
113
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
114
+ } : {
115
+ type: PropType<T[K]>;
116
+ required: true;
117
+ };
118
+ };
@@ -87,7 +87,10 @@ const le = /* @__PURE__ */ b({
87
87
  },
88
88
  emits: ["update:value"],
89
89
  setup(h, { emit: B }) {
90
- const e = h, k = B, { value: p, updateValue: m } = Z(e, k), P = Y("Date", e), l = i(
90
+ const e = h, k = B, { value: p, updateValue: m } = Z(
91
+ e,
92
+ k
93
+ ), P = Y("Date", e), l = i(
91
94
  () => I.indexOf(e.format) > -1
92
95
  ), d = i(
93
96
  () => l.value ? H[e.format] : e.format
@@ -1,8 +1,7 @@
1
1
  import { ApFieldDateRangeProps, FieldMode } from '../interface';
2
2
  import { ApFormatPresetType } from '../date/interface';
3
3
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, VNode, RendererNode, RendererElement, PropType } from 'vue';
4
- import { LiteralUnion } from 'src/type';
5
-
4
+ import { LiteralUnion } from '../../type';
6
5
  type ApFieldDateRangeSlots = {
7
6
  suffixIcon?: any;
8
7
  prevIcon?: any;
@@ -19,7 +18,8 @@ type ApFieldDateRangeSlots = {
19
18
  readModeSeparator?: any;
20
19
  clearIcon?: any;
21
20
  };
22
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFieldDateRangeProps>, {
21
+ declare function __VLS_template(): Readonly<ApFieldDateRangeSlots> & ApFieldDateRangeSlots;
22
+ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldDateRangeProps>, {
23
23
  emptyText: string;
24
24
  mode: string;
25
25
  format: string;
@@ -43,7 +43,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
43
43
  bordered: undefined;
44
44
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
45
45
  "update:value": (...args: any[]) => void;
46
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFieldDateRangeProps>, {
46
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldDateRangeProps>, {
47
47
  emptyText: string;
48
48
  mode: string;
49
49
  format: string;
@@ -68,15 +68,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
68
68
  }>>> & {
69
69
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
70
70
  }, {
71
- disabled: boolean | [boolean, boolean];
72
- open: boolean;
73
- autofocus: boolean;
74
71
  mode: FieldMode;
75
- bordered: boolean;
76
- format: LiteralUnion<ApFormatPresetType, string>;
77
- allowClear: boolean;
78
- defaultOpen: boolean;
79
- inputReadOnly: boolean;
72
+ open: boolean;
73
+ disabled: boolean | [boolean, boolean];
80
74
  suffixIcon: string | number | boolean | void | VNode<RendererNode, RendererElement, {
81
75
  [key: string]: any;
82
76
  }> | (string | number | boolean | void | VNode<RendererNode, RendererElement, {
@@ -84,6 +78,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
84
78
  }> | null | undefined)[] | VNode<RendererNode, RendererElement, {
85
79
  [key: string]: any;
86
80
  }> | null;
81
+ bordered: boolean;
82
+ autofocus: boolean;
87
83
  clearIcon: string | number | boolean | void | VNode<RendererNode, RendererElement, {
88
84
  [key: string]: any;
89
85
  }> | (string | number | boolean | void | VNode<RendererNode, RendererElement, {
@@ -91,6 +87,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
91
87
  }> | null | undefined)[] | VNode<RendererNode, RendererElement, {
92
88
  [key: string]: any;
93
89
  }> | null;
90
+ allowClear: boolean;
91
+ defaultOpen: boolean;
94
92
  separator: string | number | boolean | void | VNode<RendererNode, RendererElement, {
95
93
  [key: string]: any;
96
94
  }> | (string | number | boolean | void | VNode<RendererNode, RendererElement, {
@@ -98,18 +96,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
98
96
  }> | null | undefined)[] | VNode<RendererNode, RendererElement, {
99
97
  [key: string]: any;
100
98
  }> | null;
99
+ format: LiteralUnion<ApFormatPresetType, string>;
100
+ inputReadOnly: boolean;
101
101
  emptyText: string;
102
- }, {}>, Readonly<ApFieldDateRangeSlots> & ApFieldDateRangeSlots>;
102
+ }, {}>;
103
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
103
104
  export default _default;
104
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
105
- type __VLS_TypePropsToRuntimeProps<T> = {
106
- [K in keyof T]-?: {} extends Pick<T, K> ? {
107
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
108
- } : {
109
- type: PropType<T[K]>;
110
- required: true;
111
- };
112
- };
113
105
  type __VLS_WithDefaults<P, D> = {
114
106
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
115
107
  default: D[K];
@@ -123,3 +115,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
123
115
  $slots: S;
124
116
  };
125
117
  };
118
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
119
+ type __VLS_TypePropsToOption<T> = {
120
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
121
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
122
+ } : {
123
+ type: PropType<T[K]>;
124
+ required: true;
125
+ };
126
+ };
@@ -102,7 +102,13 @@ const ve = /* @__PURE__ */ V({
102
102
  const e = t(p);
103
103
  if (D(e) || !(e != null && e.length))
104
104
  return e;
105
- const n = o.timezone ? R(t(p)[0], o.timezone) : (l = t(p)) == null ? void 0 : l[0], a = o.timezone ? R(t(p)[1], o.timezone) : (d = t(p)) == null ? void 0 : d[1];
105
+ const n = o.timezone ? R(
106
+ t(p)[0],
107
+ o.timezone
108
+ ) : (l = t(p)) == null ? void 0 : l[0], a = o.timezone ? R(
109
+ t(p)[1],
110
+ o.timezone
111
+ ) : (d = t(p)) == null ? void 0 : d[1];
106
112
  return [i(n), i(a)];
107
113
  }), F = c(() => t(u) ? o.picker ?? q[o.format] : o.picker), z = c(() => {
108
114
  const e = t(u) ? G[o.format] : {};
@@ -1,6 +1,5 @@
1
1
  import { ComputedRef } from 'vue';
2
2
  import { ApFieldTextPasswordProps, ApFieldTextProps, ApFieldTextAreaProps, ApFieldNumberProps, ApFieldDateProps, ApFieldDateRangeProps, ApFieldSelectProps, BasicApFieldProps } from '../interface';
3
-
4
3
  type FieldType = {
5
4
  Text: ApFieldTextProps;
6
5
  TextArea: ApFieldTextAreaProps;
@@ -10,7 +9,8 @@ type FieldType = {
10
9
  Select: ApFieldSelectProps;
11
10
  TextPassword: ApFieldTextPasswordProps;
12
11
  };
13
- export declare const useDefaultPlaceholder: <FieldName extends keyof FieldType>(fieldName: FieldName, props: BasicApFieldProps<{
14
- placeholder?: FieldType[FieldName]['placeholder'];
12
+ type FieldNames = keyof FieldType;
13
+ export declare const useDefaultPlaceholder: <FieldName extends FieldNames>(fieldName: FieldName, props: BasicApFieldProps<{
14
+ placeholder?: FieldType[FieldName]["placeholder"];
15
15
  }>) => ComputedRef<FieldType[FieldName]["placeholder"] | undefined>;
16
16
  export {};
@@ -10,7 +10,6 @@ import { default as ApFieldSelect } from './select/index.vue';
10
10
  import { default as ApFieldSlider } from './slider/index.vue';
11
11
  import { default as ApFieldSegmented } from './segmented/index.vue';
12
12
  import { default as ApFieldRate } from './rate/index.vue';
13
-
14
13
  export type FieldType = {
15
14
  Text: typeof ApFieldText;
16
15
  TextArea: typeof ApFieldTextArea;
@@ -6,7 +6,6 @@ import { RangePickerProps } from 'ant-design-vue/es/date-picker/dayjs';
6
6
  import { LiteralUnion } from '../type';
7
7
  import { InputPasswordProps } from './text/input-password-props';
8
8
  import { ZoneAlias } from '@aplus-frontend/utils';
9
-
10
9
  export type FieldMode = 'read' | 'edit';
11
10
  export type BasicApFieldProps<FieldPropsType = any> = {
12
11
  mode?: FieldMode;
@@ -1,5 +1,4 @@
1
1
  import { ApFieldNumberProps } from '../interface';
2
-
3
2
  export declare function addZeroToDecimalPlaces(numStr: string, precision?: number): string;
4
3
  /**
5
4
  * 获取字符串类型的值
@@ -1,7 +1,6 @@
1
1
  import { ApFieldNumberProps } from '../interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
3
  import { ValueType } from 'ant-design-vue/es/input-number/src/utils/MiniDecimal';
4
-
5
4
  type ApFieldNumberSlots = {
6
5
  addonBefore?: any;
7
6
  addonAfter?: any;
@@ -12,7 +11,8 @@ type ApFieldNumberSlots = {
12
11
  };
13
12
  declare function focus(): void;
14
13
  declare function blur(): void;
15
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFieldNumberProps>, {
14
+ declare function __VLS_template(): Readonly<ApFieldNumberSlots> & ApFieldNumberSlots;
15
+ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldNumberProps>, {
16
16
  emptyText: string;
17
17
  thousands: boolean;
18
18
  bordered: boolean;
@@ -26,7 +26,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
26
26
  blur: typeof blur;
27
27
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
28
28
  "update:value": (...args: any[]) => void;
29
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFieldNumberProps>, {
29
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldNumberProps>, {
30
30
  emptyText: string;
31
31
  thousands: boolean;
32
32
  bordered: boolean;
@@ -46,17 +46,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
46
46
  controls: boolean;
47
47
  emptyText: string;
48
48
  thousands: boolean;
49
- }, {}>, Readonly<ApFieldNumberSlots> & ApFieldNumberSlots>;
49
+ }, {}>;
50
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
50
51
  export default _default;
51
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
52
- type __VLS_TypePropsToRuntimeProps<T> = {
53
- [K in keyof T]-?: {} extends Pick<T, K> ? {
54
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
55
- } : {
56
- type: PropType<T[K]>;
57
- required: true;
58
- };
59
- };
60
52
  type __VLS_WithDefaults<P, D> = {
61
53
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
62
54
  default: D[K];
@@ -70,3 +62,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
70
62
  $slots: S;
71
63
  };
72
64
  };
65
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
66
+ type __VLS_TypePropsToOption<T> = {
67
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
68
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
69
+ } : {
70
+ type: PropType<T[K]>;
71
+ required: true;
72
+ };
73
+ };
@@ -1,4 +1,3 @@
1
1
  import { RadioGroupChildOption } from 'ant-design-vue/es/radio/Group';
2
-
3
2
  export declare const getOptionValue: (v: RadioGroupChildOption | string | number) => any;
4
3
  export declare const getOptionLabel: (v: RadioGroupChildOption | string | number) => any;
@@ -1,9 +1,8 @@
1
1
  import { ApFieldRadioProps, FieldMode } from '../interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
-
4
3
  declare function focus(): void;
5
4
  declare function blur(): void;
6
- declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFieldRadioProps>, {
5
+ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldRadioProps>, {
7
6
  emptyText: string;
8
7
  mode: string;
9
8
  vertical: boolean;
@@ -12,7 +11,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
12
11
  blur: typeof blur;
13
12
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
14
13
  "update:value": (...args: any[]) => void;
15
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFieldRadioProps>, {
14
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldRadioProps>, {
16
15
  emptyText: string;
17
16
  mode: string;
18
17
  vertical: boolean;
@@ -24,15 +23,6 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
24
23
  emptyText: string;
25
24
  }, {}>;
26
25
  export default _default;
27
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
28
- type __VLS_TypePropsToRuntimeProps<T> = {
29
- [K in keyof T]-?: {} extends Pick<T, K> ? {
30
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
31
- } : {
32
- type: PropType<T[K]>;
33
- required: true;
34
- };
35
- };
36
26
  type __VLS_WithDefaults<P, D> = {
37
27
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
38
28
  default: D[K];
@@ -41,3 +31,12 @@ type __VLS_WithDefaults<P, D> = {
41
31
  type __VLS_Prettify<T> = {
42
32
  [K in keyof T]: T[K];
43
33
  } & {};
34
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
35
+ type __VLS_TypePropsToOption<T> = {
36
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
37
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
38
+ } : {
39
+ type: PropType<T[K]>;
40
+ required: true;
41
+ };
42
+ };