@aplus-frontend/ui 0.2.29 → 0.3.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 (453) hide show
  1. package/es/index.mjs +42 -40
  2. package/es/src/ap-action/group/index.vue.d.ts +3 -30
  3. package/es/src/ap-action/item/index.vue.d.ts +4 -36
  4. package/es/src/ap-action/item/index.vue2.mjs +29 -29
  5. package/es/src/ap-action/item-dropdown/index.vue.d.ts +5 -39
  6. package/es/src/ap-action/item-modal/index.vue.d.ts +5 -33
  7. package/es/src/ap-action/item-popconfirm/index.vue.d.ts +5 -33
  8. package/es/src/ap-action/item-popconfirm/index.vue.mjs +2 -2
  9. package/es/src/ap-button/ap-action-button.vue.d.ts +5 -31
  10. package/es/src/ap-button/ap-button.vue.d.ts +5 -31
  11. package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +4 -12
  12. package/es/src/ap-descriptions/ap-descriptions.vue.mjs +24 -24
  13. package/es/src/ap-descriptions/help-message/index.vue.d.ts +4 -15
  14. package/es/src/ap-download/ap-download.vue.d.ts +8 -31
  15. package/es/src/ap-drawer/utils/createDrawer.mjs +10 -10
  16. package/es/src/ap-field/checkbox/index.vue.d.ts +5 -32
  17. package/es/src/ap-field/checkbox/index.vue.mjs +3 -3
  18. package/es/src/ap-field/date/index.vue.d.ts +7 -65
  19. package/es/src/ap-field/date/index.vue.mjs +2 -2
  20. package/es/src/ap-field/date-range/index.vue.d.ts +7 -67
  21. package/es/src/ap-field/date-range/index.vue.mjs +2 -2
  22. package/es/src/ap-field/hooks/use-options.d.ts +1 -1
  23. package/es/src/ap-field/number/index.vue.d.ts +12 -169
  24. package/es/src/ap-field/number/index.vue.mjs +3 -3
  25. package/es/src/ap-field/radio/index.vue.d.ts +6 -33
  26. package/es/src/ap-field/radio/index.vue.mjs +5 -5
  27. package/es/src/ap-field/rate/index.vue.d.ts +12 -75
  28. package/es/src/ap-field/rate/index.vue.mjs +4 -4
  29. package/es/src/ap-field/segmented/index.vue.d.ts +7 -33
  30. package/es/src/ap-field/segmented/index.vue.mjs +3 -3
  31. package/es/src/ap-field/select/index.vue.d.ts +12 -234
  32. package/es/src/ap-field/select/index.vue.mjs +4 -4
  33. package/es/src/ap-field/slider/index.vue.d.ts +12 -144
  34. package/es/src/ap-field/slider/index.vue.mjs +3 -3
  35. package/es/src/ap-field/switch/index.vue.d.ts +7 -37
  36. package/es/src/ap-field/switch/index.vue.mjs +4 -4
  37. package/es/src/ap-field/text/index.vue.d.ts +8 -40
  38. package/es/src/ap-field/text/password.vue.d.ts +9 -47
  39. package/es/src/ap-field/text-area/index.vue.d.ts +6 -39
  40. package/es/src/ap-field/text-area/index.vue.mjs +3 -3
  41. package/es/src/ap-form/ap-form.vue.d.ts +21 -274
  42. package/es/src/ap-form/ap-form.vue2.mjs +2 -2
  43. package/es/src/ap-form/dependency/index.vue.d.ts +4 -12
  44. package/es/src/ap-form/drawer-form/index.vue.d.ts +37 -536
  45. package/es/src/ap-form/drawer-form/index.vue.mjs +2 -2
  46. package/es/src/ap-form/hooks/use-watch.d.ts +1 -1
  47. package/es/src/ap-form/item/index.vue.d.ts +37 -278
  48. package/es/src/ap-form/item-group/index.vue.d.ts +5 -29
  49. package/es/src/ap-form/items/checkbox/index.vue.d.ts +5 -37
  50. package/es/src/ap-form/items/date/index.vue.d.ts +5 -37
  51. package/es/src/ap-form/items/date-range/index.vue.d.ts +5 -37
  52. package/es/src/ap-form/items/number/index.vue.d.ts +53 -510
  53. package/es/src/ap-form/items/radio/index.vue.d.ts +14 -219
  54. package/es/src/ap-form/items/select/index.vue.d.ts +6 -38
  55. package/es/src/ap-form/items/switch/index.vue.d.ts +5 -39
  56. package/es/src/ap-form/items/text/group.vue.d.ts +5 -25
  57. package/es/src/ap-form/items/text/index.vue.d.ts +35 -522
  58. package/es/src/ap-form/items/text/password.vue.d.ts +44 -586
  59. package/es/src/ap-form/items/text-area/index.vue.d.ts +14 -507
  60. package/es/src/ap-form/list/index.vue.d.ts +4 -12
  61. package/es/src/ap-form/modal-form/index.vue.d.ts +37 -535
  62. package/es/src/ap-form/modal-form/index.vue.mjs +3 -3
  63. package/es/src/ap-form/render/control.vue.d.ts +4 -12
  64. package/es/src/ap-form/render/item.vue.d.ts +5 -37
  65. package/es/src/ap-form/search-form/index.vue.d.ts +37 -532
  66. package/es/src/ap-form/search-form/index.vue.mjs +2 -2
  67. package/es/src/ap-form/set/index.vue.d.ts +5 -25
  68. package/es/src/ap-info-layout/ApInfoLayout.vue.d.ts +4 -12
  69. package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +5 -27
  70. package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue2.mjs +6 -6
  71. package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.d.ts +7 -29
  72. package/es/src/ap-list/index.vue.d.ts +4 -6
  73. package/es/src/ap-list/index.vue.mjs +27 -27
  74. package/es/src/ap-modal/utils/createModal.mjs +10 -10
  75. package/es/src/ap-scroll-bar/ap-scroll-bar.vue.d.ts +3 -24
  76. package/es/src/ap-scroll-bar/ap-scroll-bar.vue2.mjs +3 -3
  77. package/es/src/ap-scroll-bar/index.d.ts +7 -42
  78. package/es/src/ap-table/ap-table.vue.d.ts +3 -5
  79. package/es/src/ap-table/ap-table.vue2.mjs +3 -3
  80. package/es/src/ap-table/components/index/index.vue.d.ts +3 -24
  81. package/es/src/ap-table/components/index/index.vue2.mjs +3 -3
  82. package/es/src/ap-table/components/paragraph-ellipsis/index.vue.d.ts +2 -11
  83. package/es/src/ap-table/components/setting/modal/index.vue.d.ts +5 -25
  84. package/es/src/ap-table/components/setting/modal/index.vue2.mjs +4 -4
  85. package/es/src/ap-table/components/setting/select-group/index.vue.d.ts +2 -11
  86. package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +2 -2
  87. package/es/src/ap-table/components/setting/sortable/index.vue.d.ts +2 -11
  88. package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +3 -3
  89. package/es/src/ap-table/components/setting/sortable/item.vue.d.ts +6 -15
  90. package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +8 -8
  91. package/es/src/ap-table/components/setting/sorter/index.vue.d.ts +5 -14
  92. package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +6 -6
  93. package/es/src/ap-table/components/setting/tree-select/index.vue.d.ts +2 -11
  94. package/es/src/ap-table/components/status/index.vue.d.ts +2 -11
  95. package/es/src/ap-table/components/status/index.vue2.mjs +4 -4
  96. package/es/src/ap-table/constants.d.ts +162 -13517
  97. package/es/src/ap-table/hooks/use-table-column-state.d.ts +11 -3
  98. package/es/src/ap-table/hooks/use-table-content-height.d.ts +1 -1
  99. package/es/src/ap-table/hooks/use-table-content-height.mjs +13 -11
  100. package/es/src/ap-table/hooks/use-table-paging.d.ts +7 -3
  101. package/es/src/ap-table/utils.d.ts +65 -7907
  102. package/es/src/ap-tag/ap-tag-group.vue.d.ts +5 -29
  103. package/es/src/ap-tag/ap-tag-group.vue.mjs +88 -88
  104. package/es/src/ap-tag/ap-tag.vue.d.ts +3 -28
  105. package/es/src/ap-upload/apUpload.vue.d.ts +66 -16
  106. package/es/src/ap-upload/apUpload.vue.mjs +56 -37
  107. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +2 -2
  108. package/es/src/ap-upload/components/MultipleFile.vue2.mjs +10 -10
  109. package/es/src/ap-upload/components/Picture.vue.d.ts +6 -10
  110. package/es/src/ap-upload/components/Picture.vue2.mjs +26 -26
  111. package/es/src/ap-upload/components/SingleFile.vue.d.ts +2 -2
  112. package/es/src/ap-upload/components/SingleFile.vue2.mjs +27 -27
  113. package/es/src/business/ap-appendix/ap-appendix.vue.d.ts +6 -29
  114. package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +49 -49
  115. package/es/src/business/ap-appendix/icons/file-icon.vue.d.ts +2 -2
  116. package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +10 -10
  117. package/es/src/business/ap-appendix/index.d.ts +7 -108
  118. package/es/src/business/ap-attachment/ApAttachment.d.ts +5 -5
  119. package/es/src/business/ap-attachment/index.d.ts +7 -48
  120. package/es/src/business/ap-batch-action/ApBatchAction.vue.d.ts +4 -12
  121. package/es/src/business/ap-batch-action/index.d.ts +5 -32
  122. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +3 -11
  123. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +10 -10
  124. package/es/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +4 -14
  125. package/es/src/business/ap-batch-action-group/index.d.ts +590 -905
  126. package/es/src/business/ap-button-group/ApButtonGroup.vue.d.ts +2 -19
  127. package/es/src/business/ap-button-group/index.d.ts +5 -603
  128. package/es/src/business/ap-card/ApCard.vue.d.ts +4 -12
  129. package/es/src/business/ap-card/index.d.ts +5 -33
  130. package/es/src/business/ap-card/interface.d.ts +1 -1
  131. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +5 -10
  132. package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +5 -5
  133. package/es/src/business/ap-expand-alert/index.d.ts +6 -8
  134. package/es/src/business/ap-export-group/ApExportGroup.vue.d.ts +3 -24
  135. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +11 -11
  136. package/es/src/business/ap-export-group/index.d.ts +7 -146
  137. package/es/src/business/ap-group-search/ap-group-search.vue.d.ts +8 -30
  138. package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +26 -26
  139. package/es/src/business/ap-group-search/extension-select/index.vue.d.ts +9 -356
  140. package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +15 -15
  141. package/es/src/business/ap-group-search/images/icon-down.vue.d.ts +2 -2
  142. package/es/src/business/ap-group-search/images/icon-down.vue.mjs +18 -18
  143. package/es/src/business/ap-group-search/images/icon-line-select.vue.d.ts +2 -2
  144. package/es/src/business/ap-group-search/images/icon-line-select.vue.mjs +34 -34
  145. package/es/src/business/ap-group-search/index.d.ts +711 -2447
  146. package/es/src/business/ap-group-search/popover-select/index.vue.d.ts +10 -357
  147. package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +15 -15
  148. package/es/src/business/ap-image/ApImage.vue.d.ts +5 -25
  149. package/es/src/business/ap-image/ApImage.vue2.mjs +28 -28
  150. package/es/src/business/ap-image/index.d.ts +7 -139
  151. package/es/src/business/ap-input-radio/ApInputRadio.vue.d.ts +6 -31
  152. package/es/src/business/ap-input-radio/index.d.ts +14 -339
  153. package/es/src/business/ap-label/ApLabel.d.ts +5 -5
  154. package/es/src/business/ap-label/group/ApLabelGroup.d.ts +5 -5
  155. package/es/src/business/ap-label/index.d.ts +13 -90
  156. package/es/src/business/ap-ladder/ApLadder.vue.d.ts +5 -71
  157. package/es/src/business/ap-ladder/index.d.ts +7 -479
  158. package/es/src/business/ap-select-layout/index.d.ts +5 -7
  159. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +6 -12
  160. package/es/src/business/ap-select-layout/select-layout.vue2.mjs +58 -58
  161. package/es/src/business/ap-size-input/ApSizeInput.d.ts +84 -0
  162. package/es/src/business/ap-size-input/ApSizeInput.mjs +62 -0
  163. package/es/src/business/ap-size-input/constans.d.ts +38 -0
  164. package/es/src/business/ap-size-input/constans.mjs +40 -0
  165. package/es/src/business/ap-size-input/index.d.ts +155 -0
  166. package/es/src/business/ap-size-input/index.mjs +7 -0
  167. package/es/src/business/ap-size-input/interface.d.ts +11 -0
  168. package/es/src/business/ap-size-input/interface.mjs +1 -0
  169. package/es/src/business/ap-size-input/style/css.d.ts +0 -0
  170. package/es/src/business/ap-size-input/style/css.js +1 -0
  171. package/es/src/business/ap-size-input/style/index.d.ts +0 -0
  172. package/es/src/business/ap-size-input/style/index.js +1 -0
  173. package/es/src/business/ap-status/ApStatus.vue.d.ts +3 -28
  174. package/es/src/business/ap-status/group/ApStatusGroup.vue.d.ts +3 -30
  175. package/es/src/business/ap-status/index.d.ts +12 -192
  176. package/es/src/business/ap-summary/ap-summary.vue.d.ts +3 -28
  177. package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
  178. package/es/src/business/ap-summary/index.d.ts +7 -87
  179. package/es/src/business/ap-table-modal/index.d.ts +15 -1056
  180. package/es/src/business/ap-table-modal/modal-title.vue.d.ts +6 -5
  181. package/es/src/business/ap-table-modal/table-layout/index.vue.d.ts +12 -37
  182. package/es/src/business/ap-table-modal/table-modal.vue.d.ts +8 -58
  183. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +8 -9
  184. package/es/src/business/ap-title/ApTitle.vue.d.ts +5 -33
  185. package/es/src/business/ap-title/index.d.ts +7 -110
  186. package/es/src/business/ap-title/interface.d.ts +4 -4
  187. package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.d.ts +13 -33
  188. package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +74 -70
  189. package/es/src/business/ap-upload-file/hook/useProps.mjs +8 -8
  190. package/es/src/business/ap-upload-file/icon/delete-icon.vue.d.ts +2 -2
  191. package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +18 -18
  192. package/es/src/business/ap-upload-file/icon/file-icon.vue.d.ts +2 -2
  193. package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +10 -10
  194. package/es/src/business/ap-upload-file/interface.d.ts +2 -0
  195. package/es/src/business/ap-upload-file/utils/fileList.d.ts +2 -2
  196. package/es/src/business/ap-upload-file/utils/fileList.mjs +12 -12
  197. package/es/src/business/ap-upload-file/utils/upload.d.ts +3 -0
  198. package/es/src/business/ap-upload-file/utils/upload.mjs +23 -23
  199. package/es/src/business/batch-input-group/index.vue.d.ts +5 -38
  200. package/es/src/business/batch-input-group/index.vue.mjs +5 -5
  201. package/es/src/business/batch-input-group/popover-input/index.vue.d.ts +4 -13
  202. package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +15 -15
  203. package/es/src/business/hooks/usePageListApTable.d.ts +1 -0
  204. package/es/src/business/hooks/usePageListApTable.mjs +41 -33
  205. package/es/src/business/index.d.ts +1 -0
  206. package/es/src/business/index.mjs +20 -18
  207. package/es/src/check-card/group.vue.d.ts +7 -45
  208. package/es/src/check-card/index.vue.d.ts +7 -37
  209. package/es/src/config-provider/config-provider.d.ts +5 -5
  210. package/es/src/config-provider/index.d.ts +7 -256
  211. package/es/src/editable-table/form-item.vue.d.ts +5 -7
  212. package/es/src/editable-table/form-item.vue.mjs +3 -3
  213. package/es/src/editable-table/index.vue.d.ts +4 -8
  214. package/es/src/editable-table/index.vue.mjs +6 -6
  215. package/es/src/hooks/useControllableValue.d.ts +1 -1
  216. package/es/src/index.mjs +40 -38
  217. package/es/src/locale/lang/en.mjs +5 -0
  218. package/es/src/locale/lang/zh-cn.mjs +5 -0
  219. package/es/src/path-map.mjs +1 -0
  220. package/es/src/tests/wrapper.d.ts +6 -6
  221. package/es/src/utils/ap-trans-data/index.d.ts +1 -1
  222. package/es/src/utils/ap-trans-data/index.mjs +26 -14
  223. package/es/src/work-order-modal/help-message.vue.d.ts +2 -2
  224. package/es/src/work-order-modal/help-message.vue2.mjs +19 -19
  225. package/es/src/work-order-modal/work-order-modal.vue.d.ts +6 -15
  226. package/es/src/work-order-modal/work-order-modal.vue.mjs +28 -28
  227. package/lib/index.js +1 -1
  228. package/lib/src/ap-action/group/index.vue.d.ts +3 -30
  229. package/lib/src/ap-action/item/index.vue.d.ts +4 -36
  230. package/lib/src/ap-action/item/index.vue2.js +1 -1
  231. package/lib/src/ap-action/item-dropdown/index.vue.d.ts +5 -39
  232. package/lib/src/ap-action/item-modal/index.vue.d.ts +5 -33
  233. package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +5 -33
  234. package/lib/src/ap-action/item-popconfirm/index.vue.js +1 -1
  235. package/lib/src/ap-button/ap-action-button.vue.d.ts +5 -31
  236. package/lib/src/ap-button/ap-button.vue.d.ts +5 -31
  237. package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +4 -12
  238. package/lib/src/ap-descriptions/ap-descriptions.vue.js +1 -1
  239. package/lib/src/ap-descriptions/help-message/index.vue.d.ts +4 -15
  240. package/lib/src/ap-download/ap-download.vue.d.ts +8 -31
  241. package/lib/src/ap-drawer/utils/createDrawer.js +1 -1
  242. package/lib/src/ap-field/checkbox/index.vue.d.ts +5 -32
  243. package/lib/src/ap-field/checkbox/index.vue.js +1 -1
  244. package/lib/src/ap-field/date/index.vue.d.ts +7 -65
  245. package/lib/src/ap-field/date/index.vue.js +1 -1
  246. package/lib/src/ap-field/date-range/index.vue.d.ts +7 -67
  247. package/lib/src/ap-field/date-range/index.vue.js +1 -1
  248. package/lib/src/ap-field/hooks/use-options.d.ts +1 -1
  249. package/lib/src/ap-field/number/index.vue.d.ts +12 -169
  250. package/lib/src/ap-field/number/index.vue.js +1 -1
  251. package/lib/src/ap-field/radio/index.vue.d.ts +6 -33
  252. package/lib/src/ap-field/radio/index.vue.js +1 -1
  253. package/lib/src/ap-field/rate/index.vue.d.ts +12 -75
  254. package/lib/src/ap-field/rate/index.vue.js +1 -1
  255. package/lib/src/ap-field/segmented/index.vue.d.ts +7 -33
  256. package/lib/src/ap-field/segmented/index.vue.js +1 -1
  257. package/lib/src/ap-field/select/index.vue.d.ts +12 -234
  258. package/lib/src/ap-field/select/index.vue.js +1 -1
  259. package/lib/src/ap-field/slider/index.vue.d.ts +12 -144
  260. package/lib/src/ap-field/slider/index.vue.js +1 -1
  261. package/lib/src/ap-field/switch/index.vue.d.ts +7 -37
  262. package/lib/src/ap-field/switch/index.vue.js +1 -1
  263. package/lib/src/ap-field/text/index.vue.d.ts +8 -40
  264. package/lib/src/ap-field/text/password.vue.d.ts +9 -47
  265. package/lib/src/ap-field/text-area/index.vue.d.ts +6 -39
  266. package/lib/src/ap-field/text-area/index.vue.js +1 -1
  267. package/lib/src/ap-form/ap-form.vue.d.ts +21 -274
  268. package/lib/src/ap-form/ap-form.vue2.js +1 -1
  269. package/lib/src/ap-form/dependency/index.vue.d.ts +4 -12
  270. package/lib/src/ap-form/drawer-form/index.vue.d.ts +37 -536
  271. package/lib/src/ap-form/drawer-form/index.vue.js +1 -1
  272. package/lib/src/ap-form/hooks/use-watch.d.ts +1 -1
  273. package/lib/src/ap-form/item/index.vue.d.ts +37 -278
  274. package/lib/src/ap-form/item-group/index.vue.d.ts +5 -29
  275. package/lib/src/ap-form/items/checkbox/index.vue.d.ts +5 -37
  276. package/lib/src/ap-form/items/date/index.vue.d.ts +5 -37
  277. package/lib/src/ap-form/items/date-range/index.vue.d.ts +5 -37
  278. package/lib/src/ap-form/items/number/index.vue.d.ts +53 -510
  279. package/lib/src/ap-form/items/radio/index.vue.d.ts +14 -219
  280. package/lib/src/ap-form/items/select/index.vue.d.ts +6 -38
  281. package/lib/src/ap-form/items/switch/index.vue.d.ts +5 -39
  282. package/lib/src/ap-form/items/text/group.vue.d.ts +5 -25
  283. package/lib/src/ap-form/items/text/index.vue.d.ts +35 -522
  284. package/lib/src/ap-form/items/text/password.vue.d.ts +44 -586
  285. package/lib/src/ap-form/items/text-area/index.vue.d.ts +14 -507
  286. package/lib/src/ap-form/list/index.vue.d.ts +4 -12
  287. package/lib/src/ap-form/modal-form/index.vue.d.ts +37 -535
  288. package/lib/src/ap-form/modal-form/index.vue.js +1 -1
  289. package/lib/src/ap-form/render/control.vue.d.ts +4 -12
  290. package/lib/src/ap-form/render/item.vue.d.ts +5 -37
  291. package/lib/src/ap-form/search-form/index.vue.d.ts +37 -532
  292. package/lib/src/ap-form/search-form/index.vue.js +1 -1
  293. package/lib/src/ap-form/set/index.vue.d.ts +5 -25
  294. package/lib/src/ap-info-layout/ApInfoLayout.vue.d.ts +4 -12
  295. package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +5 -27
  296. package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue2.js +1 -1
  297. package/lib/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.d.ts +7 -29
  298. package/lib/src/ap-list/index.vue.d.ts +4 -6
  299. package/lib/src/ap-list/index.vue.js +1 -1
  300. package/lib/src/ap-modal/utils/createModal.js +1 -1
  301. package/lib/src/ap-scroll-bar/ap-scroll-bar.vue.d.ts +3 -24
  302. package/lib/src/ap-scroll-bar/ap-scroll-bar.vue2.js +1 -1
  303. package/lib/src/ap-scroll-bar/index.d.ts +7 -42
  304. package/lib/src/ap-table/ap-table.vue.d.ts +3 -5
  305. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  306. package/lib/src/ap-table/components/index/index.vue.d.ts +3 -24
  307. package/lib/src/ap-table/components/index/index.vue2.js +1 -1
  308. package/lib/src/ap-table/components/paragraph-ellipsis/index.vue.d.ts +2 -11
  309. package/lib/src/ap-table/components/setting/modal/index.vue.d.ts +5 -25
  310. package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
  311. package/lib/src/ap-table/components/setting/select-group/index.vue.d.ts +2 -11
  312. package/lib/src/ap-table/components/setting/select-group/index.vue2.js +1 -1
  313. package/lib/src/ap-table/components/setting/sortable/index.vue.d.ts +2 -11
  314. package/lib/src/ap-table/components/setting/sortable/index.vue2.js +1 -1
  315. package/lib/src/ap-table/components/setting/sortable/item.vue.d.ts +6 -15
  316. package/lib/src/ap-table/components/setting/sortable/item.vue2.js +1 -1
  317. package/lib/src/ap-table/components/setting/sorter/index.vue.d.ts +5 -14
  318. package/lib/src/ap-table/components/setting/sorter/index.vue2.js +1 -1
  319. package/lib/src/ap-table/components/setting/tree-select/index.vue.d.ts +2 -11
  320. package/lib/src/ap-table/components/status/index.vue.d.ts +2 -11
  321. package/lib/src/ap-table/components/status/index.vue2.js +1 -1
  322. package/lib/src/ap-table/constants.d.ts +162 -13517
  323. package/lib/src/ap-table/hooks/use-table-column-state.d.ts +11 -3
  324. package/lib/src/ap-table/hooks/use-table-content-height.d.ts +1 -1
  325. package/lib/src/ap-table/hooks/use-table-content-height.js +1 -1
  326. package/lib/src/ap-table/hooks/use-table-paging.d.ts +7 -3
  327. package/lib/src/ap-table/utils.d.ts +65 -7907
  328. package/lib/src/ap-tag/ap-tag-group.vue.d.ts +5 -29
  329. package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
  330. package/lib/src/ap-tag/ap-tag.vue.d.ts +3 -28
  331. package/lib/src/ap-upload/apUpload.vue.d.ts +66 -16
  332. package/lib/src/ap-upload/apUpload.vue.js +1 -1
  333. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +2 -2
  334. package/lib/src/ap-upload/components/MultipleFile.vue2.js +1 -1
  335. package/lib/src/ap-upload/components/Picture.vue.d.ts +6 -10
  336. package/lib/src/ap-upload/components/Picture.vue2.js +1 -1
  337. package/lib/src/ap-upload/components/SingleFile.vue.d.ts +2 -2
  338. package/lib/src/ap-upload/components/SingleFile.vue2.js +1 -1
  339. package/lib/src/business/ap-appendix/ap-appendix.vue.d.ts +6 -29
  340. package/lib/src/business/ap-appendix/ap-appendix.vue2.js +1 -1
  341. package/lib/src/business/ap-appendix/icons/file-icon.vue.d.ts +2 -2
  342. package/lib/src/business/ap-appendix/icons/file-icon.vue.js +1 -1
  343. package/lib/src/business/ap-appendix/index.d.ts +7 -108
  344. package/lib/src/business/ap-attachment/ApAttachment.d.ts +5 -5
  345. package/lib/src/business/ap-attachment/index.d.ts +7 -48
  346. package/lib/src/business/ap-batch-action/ApBatchAction.vue.d.ts +4 -12
  347. package/lib/src/business/ap-batch-action/index.d.ts +5 -32
  348. package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +3 -11
  349. package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.js +1 -1
  350. package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +4 -14
  351. package/lib/src/business/ap-batch-action-group/index.d.ts +590 -905
  352. package/lib/src/business/ap-button-group/ApButtonGroup.vue.d.ts +2 -19
  353. package/lib/src/business/ap-button-group/index.d.ts +5 -603
  354. package/lib/src/business/ap-card/ApCard.vue.d.ts +4 -12
  355. package/lib/src/business/ap-card/index.d.ts +5 -33
  356. package/lib/src/business/ap-card/interface.d.ts +1 -1
  357. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +5 -10
  358. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
  359. package/lib/src/business/ap-expand-alert/index.d.ts +6 -8
  360. package/lib/src/business/ap-export-group/ApExportGroup.vue.d.ts +3 -24
  361. package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
  362. package/lib/src/business/ap-export-group/index.d.ts +7 -146
  363. package/lib/src/business/ap-group-search/ap-group-search.vue.d.ts +8 -30
  364. package/lib/src/business/ap-group-search/ap-group-search.vue2.js +1 -1
  365. package/lib/src/business/ap-group-search/extension-select/index.vue.d.ts +9 -356
  366. package/lib/src/business/ap-group-search/extension-select/index.vue2.js +1 -1
  367. package/lib/src/business/ap-group-search/images/icon-down.vue.d.ts +2 -2
  368. package/lib/src/business/ap-group-search/images/icon-down.vue.js +1 -1
  369. package/lib/src/business/ap-group-search/images/icon-line-select.vue.d.ts +2 -2
  370. package/lib/src/business/ap-group-search/images/icon-line-select.vue.js +1 -1
  371. package/lib/src/business/ap-group-search/index.d.ts +711 -2447
  372. package/lib/src/business/ap-group-search/popover-select/index.vue.d.ts +10 -357
  373. package/lib/src/business/ap-group-search/popover-select/index.vue2.js +2 -2
  374. package/lib/src/business/ap-image/ApImage.vue.d.ts +5 -25
  375. package/lib/src/business/ap-image/ApImage.vue2.js +1 -1
  376. package/lib/src/business/ap-image/index.d.ts +7 -139
  377. package/lib/src/business/ap-input-radio/ApInputRadio.vue.d.ts +6 -31
  378. package/lib/src/business/ap-input-radio/index.d.ts +14 -339
  379. package/lib/src/business/ap-label/ApLabel.d.ts +5 -5
  380. package/lib/src/business/ap-label/group/ApLabelGroup.d.ts +5 -5
  381. package/lib/src/business/ap-label/index.d.ts +13 -90
  382. package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +5 -71
  383. package/lib/src/business/ap-ladder/index.d.ts +7 -479
  384. package/lib/src/business/ap-select-layout/index.d.ts +5 -7
  385. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +6 -12
  386. package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
  387. package/lib/src/business/ap-size-input/ApSizeInput.d.ts +84 -0
  388. package/lib/src/business/ap-size-input/ApSizeInput.js +1 -0
  389. package/lib/src/business/ap-size-input/constans.d.ts +38 -0
  390. package/lib/src/business/ap-size-input/constans.js +1 -0
  391. package/lib/src/business/ap-size-input/index.d.ts +155 -0
  392. package/lib/src/business/ap-size-input/index.js +1 -0
  393. package/lib/src/business/ap-size-input/interface.d.ts +11 -0
  394. package/lib/src/business/ap-size-input/interface.js +1 -0
  395. package/lib/src/business/ap-size-input/style/css.d.ts +0 -0
  396. package/lib/src/business/ap-size-input/style/css.js +1 -0
  397. package/lib/src/business/ap-size-input/style/index.d.ts +0 -0
  398. package/lib/src/business/ap-size-input/style/index.js +1 -0
  399. package/lib/src/business/ap-status/ApStatus.vue.d.ts +3 -28
  400. package/lib/src/business/ap-status/group/ApStatusGroup.vue.d.ts +3 -30
  401. package/lib/src/business/ap-status/index.d.ts +12 -192
  402. package/lib/src/business/ap-summary/ap-summary.vue.d.ts +3 -28
  403. package/lib/src/business/ap-summary/ap-summary.vue2.js +1 -1
  404. package/lib/src/business/ap-summary/index.d.ts +7 -87
  405. package/lib/src/business/ap-table-modal/index.d.ts +15 -1056
  406. package/lib/src/business/ap-table-modal/modal-title.vue.d.ts +6 -5
  407. package/lib/src/business/ap-table-modal/table-layout/index.vue.d.ts +12 -37
  408. package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +8 -58
  409. package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
  410. package/lib/src/business/ap-title/ApTitle.vue.d.ts +5 -33
  411. package/lib/src/business/ap-title/index.d.ts +7 -110
  412. package/lib/src/business/ap-title/interface.d.ts +4 -4
  413. package/lib/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.d.ts +13 -33
  414. package/lib/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.js +1 -1
  415. package/lib/src/business/ap-upload-file/hook/useProps.js +1 -1
  416. package/lib/src/business/ap-upload-file/icon/delete-icon.vue.d.ts +2 -2
  417. package/lib/src/business/ap-upload-file/icon/delete-icon.vue.js +1 -1
  418. package/lib/src/business/ap-upload-file/icon/file-icon.vue.d.ts +2 -2
  419. package/lib/src/business/ap-upload-file/icon/file-icon.vue.js +1 -1
  420. package/lib/src/business/ap-upload-file/interface.d.ts +2 -0
  421. package/lib/src/business/ap-upload-file/utils/fileList.d.ts +2 -2
  422. package/lib/src/business/ap-upload-file/utils/fileList.js +1 -1
  423. package/lib/src/business/ap-upload-file/utils/upload.d.ts +3 -0
  424. package/lib/src/business/ap-upload-file/utils/upload.js +1 -1
  425. package/lib/src/business/batch-input-group/index.vue.d.ts +5 -38
  426. package/lib/src/business/batch-input-group/index.vue.js +1 -1
  427. package/lib/src/business/batch-input-group/popover-input/index.vue.d.ts +4 -13
  428. package/lib/src/business/batch-input-group/popover-input/index.vue2.js +2 -2
  429. package/lib/src/business/hooks/usePageListApTable.d.ts +1 -0
  430. package/lib/src/business/hooks/usePageListApTable.js +1 -1
  431. package/lib/src/business/index.d.ts +1 -0
  432. package/lib/src/business/index.js +1 -1
  433. package/lib/src/check-card/group.vue.d.ts +7 -45
  434. package/lib/src/check-card/index.vue.d.ts +7 -37
  435. package/lib/src/config-provider/config-provider.d.ts +5 -5
  436. package/lib/src/config-provider/index.d.ts +7 -256
  437. package/lib/src/editable-table/form-item.vue.d.ts +5 -7
  438. package/lib/src/editable-table/form-item.vue.js +1 -1
  439. package/lib/src/editable-table/index.vue.d.ts +4 -8
  440. package/lib/src/editable-table/index.vue.js +1 -1
  441. package/lib/src/hooks/useControllableValue.d.ts +1 -1
  442. package/lib/src/index.js +1 -1
  443. package/lib/src/locale/lang/en.js +1 -1
  444. package/lib/src/locale/lang/zh-cn.js +1 -1
  445. package/lib/src/path-map.js +1 -1
  446. package/lib/src/tests/wrapper.d.ts +6 -6
  447. package/lib/src/utils/ap-trans-data/index.d.ts +1 -1
  448. package/lib/src/utils/ap-trans-data/index.js +1 -1
  449. package/lib/src/work-order-modal/help-message.vue.d.ts +2 -2
  450. package/lib/src/work-order-modal/help-message.vue2.js +1 -1
  451. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +6 -15
  452. package/lib/src/work-order-modal/work-order-modal.vue.js +1 -1
  453. package/package.json +6 -6
@@ -1,17 +1,17 @@
1
- import { defineComponent as Q, computed as y, openBlock as c, createBlock as k, unref as e, mergeProps as W, withCtx as u, renderSlot as X, createElementVNode as s, normalizeClass as l, createElementBlock as g, createVNode as n, createTextVNode as p, toDisplayString as f, resolveDynamicComponent as S, h as $, Fragment as q } from "vue";
2
- import { clearAllFile as I } from "../utils/fileList.mjs";
3
- import C from "../icon/file-icon.vue.mjs";
4
- import L from "../icon/delete-icon.vue.mjs";
5
- import { Form as Y, UploadDragger as Z, TypographyParagraph as N, Progress as ee, Tooltip as B } from "@aplus-frontend/antdv";
6
- import { FormItemInputContext as te } from "@aplus-frontend/antdv/es/form/FormItemContext";
7
- import { useSingleProps as oe } from "../hook/useProps.mjs";
8
- import { useInjectContext as le } from "../hook/useInjectContext.mjs";
9
- import { omit as se } from "lodash-unified";
1
+ import { defineComponent as Q, computed as C, openBlock as m, createBlock as k, unref as e, mergeProps as W, withCtx as u, renderSlot as X, normalizeProps as Y, guardReactiveProps as Z, createElementVNode as s, normalizeClass as l, createElementBlock as g, createVNode as n, createTextVNode as p, toDisplayString as f, resolveDynamicComponent as E, h as P, Fragment as $ } from "vue";
2
+ import { clearSingleFile as ee, clearAllFile as x } from "../utils/fileList.mjs";
3
+ import b from "../icon/file-icon.vue.mjs";
4
+ import F from "../icon/delete-icon.vue.mjs";
5
+ import { Form as te, UploadDragger as oe, TypographyParagraph as I, Progress as le, Tooltip as q } from "@aplus-frontend/antdv";
6
+ import { FormItemInputContext as se } from "@aplus-frontend/antdv/es/form/FormItemContext";
7
+ import { useSingleProps as ne } from "../hook/useProps.mjs";
8
+ import { useInjectContext as ae } from "../hook/useInjectContext.mjs";
9
+ import { omit as ie } from "lodash-unified";
10
10
  import "../../../config-provider/index.mjs";
11
- import { useGlobalConfig as O } from "../../../config-provider/hooks/use-global-config.mjs";
12
- import { useLocale as ne } from "../../../config-provider/hooks/use-locale.mjs";
13
- import { useNamespace as ie } from "../../../config-provider/hooks/use-namespace.mjs";
14
- const ke = /* @__PURE__ */ Q({
11
+ import { useGlobalConfig as B } from "../../../config-provider/hooks/use-global-config.mjs";
12
+ import { useLocale as re } from "../../../config-provider/hooks/use-locale.mjs";
13
+ import { useNamespace as ue } from "../../../config-provider/hooks/use-namespace.mjs";
14
+ const Ie = /* @__PURE__ */ Q({
15
15
  __name: "ap-upload-single",
16
16
  props: {
17
17
  dirName: {},
@@ -22,36 +22,38 @@ const ke = /* @__PURE__ */ Q({
22
22
  accept: { default: "*" },
23
23
  beforeUpload: {},
24
24
  customRequest: {},
25
+ maxSizeErrorMsg: {},
26
+ acceptErrorMsg: {},
25
27
  title: { type: [Object, String, Number, Boolean, null, Array] },
26
28
  subTitle: { type: [Object, String, Number, Boolean, null, Array] }
27
29
  },
28
30
  emits: ["update:fileList"],
29
- setup(R, { emit: T }) {
31
+ setup(O, { emit: T }) {
30
32
  var D;
31
- const j = te.useInject(), E = y(() => j.status), d = R, P = T, b = Y.useInjectFormItemContext(), m = y({
33
+ const U = se.useInject(), j = C(() => U.status), d = O, z = T, y = te.useInjectFormItemContext(), c = C({
32
34
  get() {
33
35
  return d.fileList || [];
34
36
  },
35
- set(i) {
36
- P("update:fileList", i), b == null || b.onFieldChange();
37
+ set(a) {
38
+ z("update:fileList", a), y == null || y.onFieldChange();
37
39
  }
38
- }), o = y(() => {
39
- var i;
40
- return (i = m.value) == null ? void 0 : i[0];
41
- }), z = O("apUpload"), { t: V, lang: _ } = ne(), {
42
- title: M,
40
+ }), o = C(() => {
41
+ var a;
42
+ return (a = c.value) == null ? void 0 : a[0];
43
+ }), R = B("apUpload"), { t: M, lang: V } = re(), {
44
+ title: _,
43
45
  subTitle: h,
44
46
  beforeUpload: G,
45
47
  customRequest: H
46
- } = oe(d), J = H;
47
- le(
48
+ } = ne(d), J = H;
49
+ ae(
50
+ M,
48
51
  V,
49
- _,
50
- (d == null ? void 0 : d.getOssAccess) ?? ((D = z.value) == null ? void 0 : D.getOssAccess)
52
+ (d == null ? void 0 : d.getOssAccess) ?? ((D = R.value) == null ? void 0 : D.getOssAccess)
51
53
  );
52
- const { b: U, e: t } = ie("ap-upload-single"), x = O("uiMode");
53
- function K(i) {
54
- return se(i, [
54
+ const { b: N, e: t } = ue("ap-upload-single"), S = B("uiMode");
55
+ function K(a) {
56
+ return ie(a, [
55
57
  "dirName",
56
58
  "needName",
57
59
  "getOssAccess",
@@ -60,40 +62,42 @@ const ke = /* @__PURE__ */ Q({
60
62
  "subTitle"
61
63
  ]);
62
64
  }
63
- return (i, a) => (c(), k(e(Z), W({
64
- maxCount: 1,
65
- showUploadList: !1,
66
- disabled: !!o.value && [void 0, "uploading", "error", "success", "done"].includes(o.value.status)
67
- }, {
68
- ...i.$attrs,
65
+ return (a, i) => (m(), k(e(oe), W({
66
+ ...a.$attrs,
69
67
  ...K(d)
70
68
  }, {
71
- "file-list": m.value,
72
- "onUpdate:fileList": a[3] || (a[3] = (v) => m.value = v),
73
- class: [e(U)(), `${e(U)()}-affix-wrapper-status-${E.value}`],
74
- beforeUpload: e(G),
75
- customRequest: e(J)
69
+ "file-list": c.value,
70
+ "onUpdate:fileList": i[3] || (i[3] = (v) => c.value = v),
71
+ "max-count": 1,
72
+ "show-upload-list": !1,
73
+ disabled: !!o.value && [void 0, "uploading", "error", "success", "done"].includes(o.value.status),
74
+ class: [e(N)(), `${e(N)()}-affix-wrapper-status-${j.value}`],
75
+ "before-upload": e(G),
76
+ "custom-request": e(J)
76
77
  }), {
77
78
  default: u(() => [
78
- X(i.$slots, "default", {}, () => {
79
- var v, F, w, A;
79
+ X(a.$slots, "default", Y(Z({
80
+ file: o.value,
81
+ clear: () => o.value && e(ee)(o.value, c.value, { maxCount: 1 })
82
+ })), () => {
83
+ var v, L, w, A;
80
84
  return [
81
85
  s("div", {
82
86
  class: l([e(t)("content")])
83
87
  }, [
84
- (v = o.value) != null && v.status && ["uploading"].includes(o.value.status) ? (c(), g("div", {
88
+ (v = o.value) != null && v.status && ["uploading"].includes(o.value.status) ? (m(), g("div", {
85
89
  key: 0,
86
90
  class: l([e(t)("content-file"), e(t)("content-ing")])
87
91
  }, [
88
92
  s("div", {
89
93
  class: l([e(t)("content-file-icon")])
90
94
  }, [
91
- n(C)
95
+ n(b)
92
96
  ], 2),
93
97
  s("div", {
94
98
  class: l([e(t)("content-file-name"), e(t)("content-ing-name")])
95
99
  }, [
96
- n(e(N), {
100
+ n(e(I), {
97
101
  ellipsis: { rows: 2 },
98
102
  tooltip: o.value.error
99
103
  }, {
@@ -102,33 +106,33 @@ const ke = /* @__PURE__ */ Q({
102
106
  ]),
103
107
  _: 1
104
108
  }, 8, ["tooltip"]),
105
- n(e(ee), {
109
+ n(e(le), {
106
110
  percent: o.value.percent || 0,
107
111
  size: 4,
108
- showInfo: !1,
109
- trailColor: e(x) === "admin" ? "#D9D9D9" : "#DEE4ED",
110
- strokeColor: e(x) === "admin" ? "#34B77C" : "#0070FF"
111
- }, null, 8, ["percent", "trailColor", "strokeColor"])
112
+ "show-info": !1,
113
+ "trail-color": e(S) === "admin" ? "#D9D9D9" : "#DEE4ED",
114
+ "stroke-color": e(S) === "admin" ? "#34B77C" : "#0070FF"
115
+ }, null, 8, ["percent", "trail-color", "stroke-color"])
112
116
  ], 2),
113
117
  s("div", {
114
118
  class: l([e(t)("content-file-delete")]),
115
- onClick: a[0] || (a[0] = (r) => e(I)(m.value))
119
+ onClick: i[0] || (i[0] = (r) => e(x)(c.value))
116
120
  }, [
117
- n(L)
121
+ n(F)
118
122
  ], 2)
119
- ], 2)) : (F = o.value) != null && F.status && ["error"].includes(o.value.status) ? (c(), g("div", {
123
+ ], 2)) : (L = o.value) != null && L.status && ["error"].includes(o.value.status) ? (m(), g("div", {
120
124
  key: 1,
121
125
  class: l([e(t)("content-file"), e(t)("content-error")])
122
126
  }, [
123
127
  s("div", {
124
128
  class: l([e(t)("content-file-icon")])
125
129
  }, [
126
- n(C)
130
+ n(b)
127
131
  ], 2),
128
132
  s("div", {
129
133
  class: l([e(t)("content-file-name"), e(t)("content-error-name")])
130
134
  }, [
131
- n(e(B), null, {
135
+ n(e(q), null, {
132
136
  title: u(() => {
133
137
  var r;
134
138
  return [
@@ -136,7 +140,7 @@ const ke = /* @__PURE__ */ Q({
136
140
  ];
137
141
  }),
138
142
  default: u(() => [
139
- n(e(N), {
143
+ n(e(I), {
140
144
  ellipsis: { rows: 2 },
141
145
  tooltip: o.value.error
142
146
  }, {
@@ -151,23 +155,23 @@ const ke = /* @__PURE__ */ Q({
151
155
  ], 2),
152
156
  s("div", {
153
157
  class: l([e(t)("content-file-delete")]),
154
- onClick: a[1] || (a[1] = (r) => e(I)(m.value))
158
+ onClick: i[1] || (i[1] = (r) => e(x)(c.value))
155
159
  }, [
156
- n(L)
160
+ n(F)
157
161
  ], 2)
158
- ], 2)) : o.value && ((w = o.value) == null ? void 0 : w.status) === void 0 || (A = o.value) != null && A.status && ["success", "done"].includes(o.value.status) ? (c(), g("div", {
162
+ ], 2)) : o.value && ((w = o.value) == null ? void 0 : w.status) === void 0 || (A = o.value) != null && A.status && ["success", "done"].includes(o.value.status) ? (m(), g("div", {
159
163
  key: 2,
160
164
  class: l([e(t)("content-file"), e(t)("content-done")])
161
165
  }, [
162
166
  s("div", {
163
167
  class: l([e(t)("content-file-icon")])
164
168
  }, [
165
- n(C)
169
+ n(b)
166
170
  ], 2),
167
171
  s("div", {
168
172
  class: l([e(t)("content-file-name"), e(t)("content-done-name")])
169
173
  }, [
170
- n(e(B), null, {
174
+ n(e(q), null, {
171
175
  title: u(() => {
172
176
  var r;
173
177
  return [
@@ -175,7 +179,7 @@ const ke = /* @__PURE__ */ Q({
175
179
  ];
176
180
  }),
177
181
  default: u(() => [
178
- n(e(N), {
182
+ n(e(I), {
179
183
  ellipsis: { rows: 2 },
180
184
  tooltip: o.value.error
181
185
  }, {
@@ -190,28 +194,28 @@ const ke = /* @__PURE__ */ Q({
190
194
  ], 2),
191
195
  s("div", {
192
196
  class: l([e(t)("content-file-delete")]),
193
- onClick: a[2] || (a[2] = (r) => e(I)(m.value))
197
+ onClick: i[2] || (i[2] = (r) => e(x)(c.value))
194
198
  }, [
195
- n(L)
199
+ n(F)
196
200
  ], 2)
197
- ], 2)) : (c(), g("div", {
201
+ ], 2)) : (m(), g("div", {
198
202
  key: 3,
199
203
  class: l([e(t)("content-empty")])
200
204
  }, [
201
205
  s("div", {
202
206
  class: l([e(t)("content-empty-icon")])
203
207
  }, [
204
- n(C)
208
+ n(b)
205
209
  ], 2),
206
210
  s("div", {
207
211
  class: l([e(t)("content-empty-title")])
208
212
  }, [
209
- (c(), k(S($(q, [e(M)]))))
213
+ (m(), k(E(P($, [e(_)]))))
210
214
  ], 2),
211
215
  s("div", {
212
216
  class: l([e(t)("content-empty-sub-title")])
213
217
  }, [
214
- (c(), k(S($(q, [e(h)]))))
218
+ (m(), k(E(P($, [e(h)]))))
215
219
  ], 2)
216
220
  ], 2))
217
221
  ], 2)
@@ -219,9 +223,9 @@ const ke = /* @__PURE__ */ Q({
219
223
  })
220
224
  ]),
221
225
  _: 3
222
- }, 16, ["disabled", "file-list", "class", "beforeUpload", "customRequest"]));
226
+ }, 16, ["file-list", "disabled", "class", "before-upload", "custom-request"]));
223
227
  }
224
228
  });
225
229
  export {
226
- ke as default
230
+ Ie as default
227
231
  };
@@ -1,12 +1,12 @@
1
- import { computed as l } from "vue";
1
+ import { computed as m } from "vue";
2
2
  import { getAcceptText as d } from "../utils/accept.mjs";
3
3
  import "../../../config-provider/index.mjs";
4
- import { uploadBeforeUpload as f, uploadCustomRequest as U } from "../utils/upload.mjs";
5
- import { useLocale as o } from "../../../config-provider/hooks/use-locale.mjs";
4
+ import { uploadBeforeUpload as o, uploadCustomRequest as f } from "../utils/upload.mjs";
5
+ import { useLocale as U } from "../../../config-provider/hooks/use-locale.mjs";
6
6
  function z(e) {
7
- const { t: c } = o(), m = l(
7
+ const { t: c } = U(), l = m(
8
8
  () => e.title || c("ap.apUpload.clickOrDragUpload")
9
- ), i = l(
9
+ ), i = m(
10
10
  () => e.subTitle || `${c("ap.apUpload.supportExtension")}:${d(e.accept)},${c(
11
11
  "ap.apUpload.maxWarnUploadFileSize",
12
12
  {
@@ -16,11 +16,11 @@ function z(e) {
16
16
  );
17
17
  function n(t, a) {
18
18
  var u;
19
- return e != null && e.beforeUpload ? (u = e == null ? void 0 : e.beforeUpload) == null ? void 0 : u.call(e, t, a) : f(t, a, e);
19
+ return o(t, a, e) && (((u = e == null ? void 0 : e.beforeUpload) == null ? void 0 : u.call(e, t, a)) ?? !0);
20
20
  }
21
- return { title: m, subTitle: i, beforeUpload: n, customRequest: (t) => {
21
+ return { title: l, subTitle: i, beforeUpload: n, customRequest: (t) => {
22
22
  var a, u;
23
- e != null && e.customRequest ? (a = e == null ? void 0 : e.customRequest) == null || a.call(e, t) : (u = U) == null || u(t, e);
23
+ e != null && e.customRequest ? (a = e == null ? void 0 : e.customRequest) == null || a.call(e, t) : (u = f) == null || u(t, e);
24
24
  } };
25
25
  }
26
26
  export {
@@ -1,3 +1,3 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{}>>, {}, {}>;
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
3
3
  export default _default;
@@ -1,27 +1,27 @@
1
- import { createElementVNode as e, openBlock as o, createElementBlock as t } from "vue";
2
- import n from "../../../../_virtual/_plugin-vue_export-helper.mjs";
3
- const l = {}, r = {
1
+ import { openBlock as l, createElementBlock as n, createElementVNode as e } from "vue";
2
+ import t from "../../../../_virtual/_plugin-vue_export-helper.mjs";
3
+ const r = {}, L = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
6
6
  fill: "none",
7
7
  version: "1.1",
8
8
  viewBox: "0 0 20 20"
9
- }, L = /* @__PURE__ */ e("g", null, [
10
- /* @__PURE__ */ e("g", null, [
11
- /* @__PURE__ */ e("path", {
12
- d: "M14.2913,4.375L16.875,4.375C17.2202,4.375,17.5,4.65482,17.5,5C17.5,5.34518,17.2202,5.625,16.875,5.625L15.9375,5.625L15.9375,15.625Q15.9375,16.401699999999998,15.3883,16.9508Q14.8392,17.5,14.0625,17.5L5.9375,17.5Q5.16085,17.5,4.61167,16.9508Q4.0625,16.401699999999998,4.0625,15.625L4.0625,5.625L3.125,5.625C2.7798220000000002,5.625,2.5,5.34518,2.5,5C2.5,4.65482,2.7798220000000002,4.375,3.125,4.375L5.70873,4.375C5.71225,4.3689,5.71588,4.3628599999999995,5.719609999999999,4.35687L6.71624,2.75811Q7.26675,1.875,8.307400000000001,1.875L11.6926,1.875Q12.7332,1.875,13.2838,2.75811L14.2802,4.3565000000000005C14.284,4.36261,14.2877,4.36878,14.2913,4.375ZM12.8187,4.375L12.22299,3.41937Q12.03948,3.125,11.6926,3.125L8.307400000000001,3.125Q7.96052,3.125,7.77702,3.41937L7.1813,4.375L12.8187,4.375ZM5.3125,5.625L14.6875,5.625L14.6875,15.625Q14.6875,15.8839,14.5044,16.0669Q14.3214,16.25,14.0625,16.25L5.9375,16.25Q5.6786200000000004,16.25,5.495559999999999,16.0669Q5.3125,15.8839,5.3125,15.625L5.3125,5.625ZM9.375,8.75C9.375,8.40482,9.65482,8.125,10,8.125C10.34518,8.125,10.625,8.40482,10.625,8.75L10.625,13.125C10.625,13.4702,10.34518,13.75,10,13.75C9.65482,13.75,9.375,13.4702,9.375,13.125L9.375,8.75Z",
13
- "fill-rule": "evenodd",
14
- fill: "currentColor",
15
- "fill-opacity": "1"
16
- })
17
- ])
18
- ], -1), c = [
19
- L
20
- ];
21
- function s(i, _) {
22
- return o(), t("svg", r, c);
9
+ };
10
+ function i(c, o) {
11
+ return l(), n("svg", L, o[0] || (o[0] = [
12
+ e("g", null, [
13
+ e("g", null, [
14
+ e("path", {
15
+ d: "M14.2913,4.375L16.875,4.375C17.2202,4.375,17.5,4.65482,17.5,5C17.5,5.34518,17.2202,5.625,16.875,5.625L15.9375,5.625L15.9375,15.625Q15.9375,16.401699999999998,15.3883,16.9508Q14.8392,17.5,14.0625,17.5L5.9375,17.5Q5.16085,17.5,4.61167,16.9508Q4.0625,16.401699999999998,4.0625,15.625L4.0625,5.625L3.125,5.625C2.7798220000000002,5.625,2.5,5.34518,2.5,5C2.5,4.65482,2.7798220000000002,4.375,3.125,4.375L5.70873,4.375C5.71225,4.3689,5.71588,4.3628599999999995,5.719609999999999,4.35687L6.71624,2.75811Q7.26675,1.875,8.307400000000001,1.875L11.6926,1.875Q12.7332,1.875,13.2838,2.75811L14.2802,4.3565000000000005C14.284,4.36261,14.2877,4.36878,14.2913,4.375ZM12.8187,4.375L12.22299,3.41937Q12.03948,3.125,11.6926,3.125L8.307400000000001,3.125Q7.96052,3.125,7.77702,3.41937L7.1813,4.375L12.8187,4.375ZM5.3125,5.625L14.6875,5.625L14.6875,15.625Q14.6875,15.8839,14.5044,16.0669Q14.3214,16.25,14.0625,16.25L5.9375,16.25Q5.6786200000000004,16.25,5.495559999999999,16.0669Q5.3125,15.8839,5.3125,15.625L5.3125,5.625ZM9.375,8.75C9.375,8.40482,9.65482,8.125,10,8.125C10.34518,8.125,10.625,8.40482,10.625,8.75L10.625,13.125C10.625,13.4702,10.34518,13.75,10,13.75C9.65482,13.75,9.375,13.4702,9.375,13.125L9.375,8.75Z",
16
+ "fill-rule": "evenodd",
17
+ fill: "currentColor",
18
+ "fill-opacity": "1"
19
+ })
20
+ ])
21
+ ], -1)
22
+ ]));
23
23
  }
24
- const f = /* @__PURE__ */ n(l, [["render", s]]);
24
+ const f = /* @__PURE__ */ t(r, [["render", i]]);
25
25
  export {
26
26
  f as default
27
27
  };
@@ -1,3 +1,3 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{}>>, {}, {}>;
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
3
3
  export default _default;
@@ -1,18 +1,18 @@
1
- import { createStaticVNode as t, openBlock as o, createElementBlock as i } from "vue";
2
- import e from "../../../../_virtual/_plugin-vue_export-helper.mjs";
3
- const s = {}, l = {
1
+ import { openBlock as o, createElementBlock as i, createStaticVNode as e } from "vue";
2
+ import l from "../../../../_virtual/_plugin-vue_export-helper.mjs";
3
+ const r = {}, s = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
6
6
  fill: "none",
7
7
  version: "1.1",
8
8
  viewBox: "0 0 56 56"
9
- }, r = /* @__PURE__ */ t('<defs><clipPath id="master_svg0_693_19001"><rect x="0" y="0" width="56" height="56" rx="7"></rect></clipPath><linearGradient x1="0.5" y1="0" x2="0.5" y2="0.7987817525863647" id="master_svg1_693_19025"><stop offset="0%" stop-color="#AED1FF" stop-opacity="1"></stop><stop offset="100%" stop-color="#74B1FF" stop-opacity="1"></stop></linearGradient><linearGradient x1="0.5" y1="0" x2="0.5" y2="1" id="master_svg2_693_19014"><stop offset="0.7142857182770967%" stop-color="#DBEBFF" stop-opacity="1"></stop><stop offset="100%" stop-color="#98C5FF" stop-opacity="1"></stop></linearGradient></defs><g clip-path="url(#master_svg0_693_19001)"><g><g><path d="M49.4644,10.22729L35.1706,10.22729C34.2282,10.22729,33.316,9.89456,32.595,9.287759999999999L29.1746,6.4093C28.0931,5.499102,26.7249,5,25.3113,5L5.5,5C3.29086,5,1.5,6.79086,1.5,9L1.5,45L54.4995,45L54.5,15.2852C54.5,12.49165,52.2455,10.22729,49.4644,10.22729Z" fill="url(#master_svg1_693_19025)" fill-opacity="1"></path></g><g><path d="M10.5,13L45.5,13C46.6046,13,47.5,13.895431,47.5,15L47.5,35.9999L8.5,36L8.5,15C8.5,13.895431,9.395431,13,10.5,13" fill="#FFFFFF" fill-opacity="0.30000001192092896"></path></g><g><path d="M8.5,17L47.5,17C48.6046,17,49.5,17.895431,49.5,19L49.5,41.9998L6.5,42L6.5,19C6.5,17.895431,7.395431,17,8.5,17" fill="#F9FCFF" fill-opacity="1"></path></g><g><rect x="14.5" y="21" width="15" height="2" rx="1" fill="#8DBFFF" fill-opacity="0.30000001192092896"></rect></g><g><rect x="14.5" y="27" width="28" height="2" rx="1" fill="#8DBFFF" fill-opacity="0.6000000238418579"></rect></g><g><path d="M1.5,37L1.5,48C1.5,50.2091,3.29086,52,5.5,52L50.5,52C52.7091,52,54.5,50.2091,54.5,48L54.5,37C54.5,35.34315,53.1569,34,51.5,34L4.5,34C2.84315,34,1.5,35.34315,1.5,37Z" fill="url(#master_svg2_693_19014)" fill-opacity="1"></path></g></g></g>', 2), p = [
10
- r
11
- ];
12
- function a(c, _) {
13
- return o(), i("svg", l, p);
9
+ };
10
+ function p(a, t) {
11
+ return o(), i("svg", s, t[0] || (t[0] = [
12
+ e('<defs><clipPath id="master_svg0_693_19001"><rect x="0" y="0" width="56" height="56" rx="7"></rect></clipPath><linearGradient id="master_svg1_693_19025" x1="0.5" y1="0" x2="0.5" y2="0.7987817525863647"><stop offset="0%" stop-color="#AED1FF" stop-opacity="1"></stop><stop offset="100%" stop-color="#74B1FF" stop-opacity="1"></stop></linearGradient><linearGradient id="master_svg2_693_19014" x1="0.5" y1="0" x2="0.5" y2="1"><stop offset="0.7142857182770967%" stop-color="#DBEBFF" stop-opacity="1"></stop><stop offset="100%" stop-color="#98C5FF" stop-opacity="1"></stop></linearGradient></defs><g clip-path="url(#master_svg0_693_19001)"><g><g><path d="M49.4644,10.22729L35.1706,10.22729C34.2282,10.22729,33.316,9.89456,32.595,9.287759999999999L29.1746,6.4093C28.0931,5.499102,26.7249,5,25.3113,5L5.5,5C3.29086,5,1.5,6.79086,1.5,9L1.5,45L54.4995,45L54.5,15.2852C54.5,12.49165,52.2455,10.22729,49.4644,10.22729Z" fill="url(#master_svg1_693_19025)" fill-opacity="1"></path></g><g><path d="M10.5,13L45.5,13C46.6046,13,47.5,13.895431,47.5,15L47.5,35.9999L8.5,36L8.5,15C8.5,13.895431,9.395431,13,10.5,13" fill="#FFFFFF" fill-opacity="0.30000001192092896"></path></g><g><path d="M8.5,17L47.5,17C48.6046,17,49.5,17.895431,49.5,19L49.5,41.9998L6.5,42L6.5,19C6.5,17.895431,7.395431,17,8.5,17" fill="#F9FCFF" fill-opacity="1"></path></g><g><rect x="14.5" y="21" width="15" height="2" rx="1" fill="#8DBFFF" fill-opacity="0.30000001192092896"></rect></g><g><rect x="14.5" y="27" width="28" height="2" rx="1" fill="#8DBFFF" fill-opacity="0.6000000238418579"></rect></g><g><path d="M1.5,37L1.5,48C1.5,50.2091,3.29086,52,5.5,52L50.5,52C52.7091,52,54.5,50.2091,54.5,48L54.5,37C54.5,35.34315,53.1569,34,51.5,34L4.5,34C2.84315,34,1.5,35.34315,1.5,37Z" fill="url(#master_svg2_693_19014)" fill-opacity="1"></path></g></g></g>', 2)
13
+ ]));
14
14
  }
15
- const n = /* @__PURE__ */ e(s, [["render", a]]);
15
+ const g = /* @__PURE__ */ l(r, [["render", p]]);
16
16
  export {
17
- n as default
17
+ g as default
18
18
  };
@@ -21,6 +21,8 @@ export type ApUploadBaseProps<T = any> = {
21
21
  accept?: string;
22
22
  beforeUpload?: (file: ApUploadFile<T>, fileList: ApUploadFile<T>[]) => boolean | Promise<boolean>;
23
23
  customRequest?: ApUploadCustomRequest;
24
+ maxSizeErrorMsg?: string;
25
+ acceptErrorMsg?: string;
24
26
  };
25
27
  export type ApUploadSingleProps<T = any> = ApUploadBaseProps<T> & {
26
28
  title?: VNodeChild;
@@ -1,5 +1,5 @@
1
1
  import { ApUploadFile } from '../interface';
2
- export declare function clearSingleFile(file: ApUploadFile, fileList: ApUploadFile[], props?: {
2
+ export declare function clearSingleFile(file?: ApUploadFile | undefined, fileList?: ApUploadFile[], props?: {
3
3
  maxCount?: number;
4
4
  }): void;
5
- export declare function clearAllFile(fileList: ApUploadFile[]): void;
5
+ export declare function clearAllFile(fileList?: ApUploadFile[]): void;
@@ -1,16 +1,16 @@
1
- function e(t, n, u) {
2
- var c;
3
- t.status === "uploading" && ((c = t.ossDestroy) == null || c.call(t));
4
- const a = n.findIndex((d) => d.uid === t.uid);
5
- a > -1 && (n.splice(a, 1), u != null && u.maxCount && n.length >= u.maxCount && n.splice(u.maxCount));
1
+ function x(n, u, a) {
2
+ var d;
3
+ (n == null ? void 0 : n.status) === "uploading" && ((d = n == null ? void 0 : n.ossDestroy) == null || d.call(n));
4
+ const c = u == null ? void 0 : u.findIndex((o) => o.uid === (n == null ? void 0 : n.uid));
5
+ c !== void 0 && c > -1 && (u == null || u.splice(c, 1), a != null && a.maxCount && u && (u == null ? void 0 : u.length) >= a.maxCount && (u == null || u.splice(a.maxCount)));
6
6
  }
7
- function o(t) {
8
- t.forEach((n) => {
9
- var u;
10
- n.status === "uploading" && ((u = n.ossDestroy) == null || u.call(n));
11
- }), t.splice(0);
7
+ function g(n) {
8
+ n == null || n.forEach((u) => {
9
+ var a;
10
+ u.status === "uploading" && ((a = u.ossDestroy) == null || a.call(u));
11
+ }), n == null || n.splice(0);
12
12
  }
13
13
  export {
14
- o as clearAllFile,
15
- e as clearSingleFile
14
+ g as clearAllFile,
15
+ x as clearSingleFile
16
16
  };
@@ -6,5 +6,8 @@ export declare function uploadBeforeUpload(file: ApUploadFile, fileList: ApUploa
6
6
  maxSize?: number;
7
7
  maxCount?: number;
8
8
  accept?: string;
9
+ maxCountErrorMsg?: string;
10
+ maxSizeErrorMsg?: string;
11
+ acceptErrorMsg?: string;
9
12
  }): boolean;
10
13
  export declare const uploadCustomRequest: ApUploadCustomRequest;
@@ -1,52 +1,52 @@
1
- import { message as r } from "@aplus-frontend/antdv";
2
- import { fileMatchesAccept as g } from "./accept.mjs";
3
- import { getOssInstance as U } from "../hook/useOss.mjs";
1
+ import { message as g } from "@aplus-frontend/antdv";
2
+ import { fileMatchesAccept as U } from "./accept.mjs";
3
+ import { getOssInstance as C } from "../hook/useOss.mjs";
4
4
  let u;
5
- function w(e) {
5
+ function S(e) {
6
6
  u = e;
7
7
  }
8
8
  function x(e, n, a) {
9
9
  e.status = n, e.error = a;
10
10
  }
11
- function z(e, n, a) {
11
+ function w(e, n, a) {
12
12
  if (a != null && a.maxCount && a.maxCount > 1 && n.length >= a.maxCount) {
13
- const t = u("ap.apUpload.maxUploadPicture", {
13
+ const t = (a == null ? void 0 : a.maxCountErrorMsg) || u("ap.apUpload.maxUploadFiles", {
14
14
  maxCount: a.maxCount
15
15
  });
16
- return r.warning(t), x(e, "error", t), !1;
16
+ return g.warning(t), x(e, "error", t), !1;
17
17
  }
18
18
  if (a != null && a.maxSize && ((e == null ? void 0 : e.size) || 0) > (a == null ? void 0 : a.maxSize) * 1024 * 1024) {
19
- const t = u("ap.apUpload.maxUploadFileSize", {
19
+ const t = (a == null ? void 0 : a.maxSizeErrorMsg) || u("ap.apUpload.maxUploadFileSize", {
20
20
  maxSize: a == null ? void 0 : a.maxSize
21
21
  });
22
- return r.warning(t), x(e, "error", t), !1;
22
+ return g.warning(t), x(e, "error", t), !1;
23
23
  }
24
- if (!g(e, a.accept)) {
25
- const t = u("ap.apUpload.fileFormatNotSupported");
26
- return r.warning(t), x(e, "error", t), !1;
24
+ if (!U(e, a.accept)) {
25
+ const t = (a == null ? void 0 : a.acceptErrorMsg) || u("ap.apUpload.fileFormatNotSupported");
26
+ return g.warning(t), x(e, "error", t), !1;
27
27
  }
28
28
  return !0;
29
29
  }
30
- const S = async (e, n) => {
31
- const { file: a, onError: t, onProgress: i, onSuccess: d } = e;
30
+ const h = async (e, n) => {
31
+ const { file: a, onError: t, onProgress: i, onSuccess: l } = e;
32
32
  try {
33
- const c = await U(), m = await (c == null ? void 0 : c.put({
33
+ const c = await C(), m = await (c == null ? void 0 : c.put({
34
34
  dirName: n == null ? void 0 : n.dirName,
35
35
  fileName: a == null ? void 0 : a.name,
36
36
  data: a,
37
- progressCallBack: (l) => {
37
+ progressCallBack: (d) => {
38
38
  i == null || i({
39
- percent: l
39
+ percent: d
40
40
  });
41
41
  }
42
42
  }));
43
43
  if (m.status === 204)
44
44
  return;
45
45
  if (m.status === 200) {
46
- const { saveUrl: l } = m;
47
- d == null || d({
46
+ const { saveUrl: d } = m;
47
+ l == null || l({
48
48
  fileName: a == null ? void 0 : a.name,
49
- path: l
49
+ path: d
50
50
  });
51
51
  } else
52
52
  t == null || t((m == null ? void 0 : m.message) || u("ap.apUpload.networkAnomaly"));
@@ -56,7 +56,7 @@ const S = async (e, n) => {
56
56
  };
57
57
  export {
58
58
  x as changeFileStatus,
59
- w as injectUtilUpload,
60
- z as uploadBeforeUpload,
61
- S as uploadCustomRequest
59
+ S as injectUtilUpload,
60
+ w as uploadBeforeUpload,
61
+ h as uploadCustomRequest
62
62
  };
@@ -1,27 +1,11 @@
1
1
  import { BatchInputGroupProps } from './interface';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  import { FieldMode } from '../../ap-field';
4
- declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<BatchInputGroupProps>, {
5
- hasAll: boolean;
6
- emptyText: string;
7
- mode: string;
8
- bordered: boolean;
9
- type: string;
10
- lazy: boolean;
11
- allowClear: boolean;
12
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
4
+ declare const _default: DefineComponent<BatchInputGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
13
5
  "update:value": (...args: any[]) => void;
14
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<BatchInputGroupProps>, {
15
- hasAll: boolean;
16
- emptyText: string;
17
- mode: string;
18
- bordered: boolean;
19
- type: string;
20
- lazy: boolean;
21
- allowClear: boolean;
22
- }>>> & {
6
+ }, string, PublicProps, Readonly<BatchInputGroupProps> & Readonly<{
23
7
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
24
- }, {
8
+ }>, {
25
9
  type: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "checkbox" | "radio" | "color" | "text" | "range" | "tel" | "url" | "email" | "image" | "datetime-local" | "file" | "password";
26
10
  mode: FieldMode;
27
11
  bordered: boolean;
@@ -29,22 +13,5 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOpti
29
13
  allowClear: boolean;
30
14
  emptyText: string;
31
15
  hasAll: boolean;
32
- }, {}>;
16
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
33
17
  export default _default;
34
- type __VLS_WithDefaults<P, D> = {
35
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
36
- default: D[K];
37
- }> : P[K];
38
- };
39
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
40
- type __VLS_TypePropsToOption<T> = {
41
- [K in keyof T]-?: {} extends Pick<T, K> ? {
42
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
43
- } : {
44
- type: PropType<T[K]>;
45
- required: true;
46
- };
47
- };
48
- type __VLS_PrettifyLocal<T> = {
49
- [K in keyof T]: T[K];
50
- } & {};