@aplus-frontend/ui 0.1.20 → 0.1.22

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 (335) hide show
  1. package/es/index.mjs +176 -170
  2. package/es/src/ap-action/group/index.vue.d.ts +7 -6
  3. package/es/src/ap-action/item/index.vue.d.ts +20 -14
  4. package/es/src/ap-action/item-dropdown/index.vue.d.ts +21 -15
  5. package/es/src/ap-action/item-modal/index.vue.d.ts +20 -14
  6. package/es/src/ap-action/item-popconfirm/index.vue.d.ts +20 -14
  7. package/es/src/ap-custom-column/column-select.vue.mjs +47 -46
  8. package/es/src/ap-custom-column/custom-column.vue.mjs +36 -35
  9. package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +20 -15
  10. package/es/src/ap-descriptions/help-message/index.vue.d.ts +12 -7
  11. package/es/src/ap-download/ap-download.vue.d.ts +17 -12
  12. package/es/src/ap-field/checkbox/index.vue.d.ts +6 -5
  13. package/es/src/ap-field/date/index.vue.d.ts +18 -12
  14. package/es/src/ap-field/date-range/index.vue.d.ts +25 -19
  15. package/es/src/ap-field/number/index.vue.d.ts +459 -12
  16. package/es/src/ap-field/radio/index.vue.d.ts +6 -5
  17. package/es/src/ap-field/rate/index.vue.d.ts +138 -16
  18. package/es/src/ap-field/segmented/index.vue.d.ts +25 -19
  19. package/es/src/ap-field/select/index.vue.d.ts +597 -16
  20. package/es/src/ap-field/select/index.vue.mjs +1 -1
  21. package/es/src/ap-field/slider/index.vue.d.ts +375 -12
  22. package/es/src/ap-field/switch/index.vue.d.ts +16 -11
  23. package/es/src/ap-field/text/index.vue.d.ts +19 -13
  24. package/es/src/ap-field/text/password.vue.d.ts +19 -13
  25. package/es/src/ap-field/text-area/index.vue.d.ts +7 -6
  26. package/es/src/ap-field/text-area/index.vue.mjs +1 -1
  27. package/es/src/ap-form/ap-form-item-group/index.vue.d.ts +19 -14
  28. package/es/src/ap-form/ap-form-item.vue.d.ts +1008 -12
  29. package/es/src/ap-form/ap-form-item.vue.mjs +47 -44
  30. package/es/src/ap-form/ap-form-list.vue.d.ts +12 -7
  31. package/es/src/ap-form/ap-form.vue.d.ts +884 -13
  32. package/es/src/ap-form/items/checkbox/index.vue.d.ts +17 -12
  33. package/es/src/ap-form/items/date/index.vue.d.ts +40 -35
  34. package/es/src/ap-form/items/date-range/index.vue.d.ts +39 -34
  35. package/es/src/ap-form/items/number/index.vue.d.ts +583 -27
  36. package/es/src/ap-form/items/radio/index.vue.d.ts +217 -13
  37. package/es/src/ap-form/items/select/index.vue.d.ts +43 -38
  38. package/es/src/ap-form/items/switch/index.vue.d.ts +24 -19
  39. package/es/src/ap-form/items/text/index.vue.d.ts +591 -25
  40. package/es/src/ap-form/items/text/password.vue.d.ts +658 -27
  41. package/es/src/ap-form/items/text-area/index.vue.d.ts +486 -13
  42. package/es/src/ap-form/modal-form/index.vue.d.ts +650 -16
  43. package/es/src/ap-form/search-form/index.vue.d.ts +652 -18
  44. package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +20 -15
  45. package/es/src/ap-list/index.vue.d.ts +5 -5
  46. package/es/src/ap-modal/interface.d.ts +3 -3
  47. package/es/src/ap-modal/utils/createModal.mjs +4 -4
  48. package/es/src/ap-table/ap-table.vue.d.ts +5 -5
  49. package/es/src/ap-table/ap-table.vue.mjs +107 -107
  50. package/es/src/ap-table/components/index/index.vue.d.ts +4 -4
  51. package/es/src/ap-table/constants.d.ts +1071 -1072
  52. package/es/src/ap-table/constants.mjs +11 -9
  53. package/es/src/ap-table/hooks/use-table-paging.d.ts +14 -3
  54. package/es/src/ap-table/hooks/use-table-paging.mjs +115 -103
  55. package/es/src/ap-table/interface.d.ts +13 -4
  56. package/es/src/ap-table/style/ap-table.css +9 -0
  57. package/es/src/ap-table/utils.d.ts +597 -598
  58. package/es/src/ap-table/utils.mjs +44 -39
  59. package/es/src/ap-tag/ap-tag-group.vue.d.ts +18 -11
  60. package/es/src/ap-tag/ap-tag.vue.d.ts +5 -5
  61. package/es/src/base-button/button.vue.d.ts +17 -12
  62. package/es/src/base-button/index.d.ts +30 -30
  63. package/es/src/basic/index.d.ts +6 -6
  64. package/es/src/basic/title.vue.d.ts +16 -11
  65. package/es/src/business/ap-batch-action/ApBatchAction.vue.d.ts +13 -8
  66. package/es/src/business/ap-image/ApImage.vue.d.ts +31 -62
  67. package/es/src/business/ap-image/ApImage.vue2.mjs +30 -26
  68. package/es/src/business/ap-image/interface.d.ts +17 -0
  69. package/es/src/business/ap-input-radio/ApInputRadio.vue.d.ts +4 -4
  70. package/es/src/business/ap-label/ApLabel.d.ts +2 -2
  71. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +6 -6
  72. package/es/src/business/ap-status/ApStatus.vue.d.ts +5 -5
  73. package/es/src/business/ap-status/ApStatusGroup.vue.d.ts +5 -5
  74. package/es/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +7 -0
  75. package/es/src/business/ap-table-modal/hooks/use-create-table-modal.mjs +41 -0
  76. package/es/src/business/ap-table-modal/hooks/use-table-modal.d.ts +7 -0
  77. package/es/src/business/ap-table-modal/hooks/use-table-modal.mjs +29 -0
  78. package/es/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +6 -0
  79. package/es/src/business/ap-table-modal/hooks/use-table-select-modal.mjs +28 -0
  80. package/es/src/business/ap-table-modal/index.d.ts +538 -0
  81. package/es/src/business/ap-table-modal/index.mjs +11 -0
  82. package/es/src/business/ap-table-modal/interface.d.ts +63 -0
  83. package/es/src/business/ap-table-modal/interface.mjs +4 -0
  84. package/es/src/business/ap-table-modal/modal-title.vue.d.ts +46 -0
  85. package/es/src/business/ap-table-modal/modal-title.vue.mjs +4 -0
  86. package/es/src/business/ap-table-modal/modal-title.vue2.mjs +50 -0
  87. package/es/src/business/ap-table-modal/table-modal.vue.d.ts +79 -0
  88. package/es/src/business/ap-table-modal/table-modal.vue.mjs +4 -0
  89. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +177 -0
  90. package/es/src/business/expandAlert/ApExpandAlert.vue.d.ts +19 -12
  91. package/es/src/business/index.d.ts +160 -152
  92. package/es/src/business/index.mjs +18 -16
  93. package/es/src/business/title/ApTitle.vue.d.ts +17 -12
  94. package/es/src/button/button.vue.d.ts +12 -7
  95. package/es/src/button/index.d.ts +2 -2
  96. package/es/src/check-card/group.vue.d.ts +18 -13
  97. package/es/src/check-card/index.vue.d.ts +16 -11
  98. package/es/src/config-provider/config-provider-props.d.ts +6 -4
  99. package/es/src/config-provider/config-provider.d.ts +5 -5
  100. package/es/src/config-provider/config-provider.mjs +9 -9
  101. package/es/src/config-provider/hooks/use-global-config.d.ts +2 -1
  102. package/es/src/config-provider/index.d.ts +17 -17
  103. package/es/src/container/index.d.ts +4 -4
  104. package/es/src/container/scroll-container.vue.d.ts +181 -8
  105. package/es/src/count-down/button.vue.d.ts +4 -4
  106. package/es/src/count-down/index.d.ts +8 -8
  107. package/es/src/count-down/input.vue.d.ts +16 -11
  108. package/es/src/cropper/cropper-avatar.vue.d.ts +4 -4
  109. package/es/src/cropper/cropper-image.vue.d.ts +4 -4
  110. package/es/src/cropper/index.d.ts +4 -4
  111. package/es/src/description/index.d.ts +2 -2
  112. package/es/src/dropdown/dropdown.vue.d.ts +16 -11
  113. package/es/src/dropdown/index.d.ts +2 -2
  114. package/es/src/editable-table/form-item.vue.d.ts +5 -5
  115. package/es/src/editable-table/index.vue.d.ts +6 -6
  116. package/es/src/icon/icon.vue.d.ts +4 -5
  117. package/es/src/icon/index.d.ts +16 -16
  118. package/es/src/icon/svg-icon.vue.d.ts +4 -4
  119. package/es/src/icon-picker/icon-picker.vue.d.ts +4 -4
  120. package/es/src/icon-picker/index.d.ts +2 -2
  121. package/es/src/index.mjs +69 -63
  122. package/es/src/locale/lang/en.mjs +29 -2
  123. package/es/src/locale/lang/zh-cn.mjs +29 -2
  124. package/es/src/modal/basic.vue.d.ts +210 -5
  125. package/es/src/modal/components/modal-close.vue.d.ts +4 -4
  126. package/es/src/modal/components/modal-footer.vue.d.ts +10 -5
  127. package/es/src/modal/components/modal-wrapper.vue.d.ts +77 -4
  128. package/es/src/modal/components/modal.d.ts +1 -1
  129. package/es/src/modal/index.d.ts +5 -5
  130. package/es/src/pro-form/components/api-cascader.vue.d.ts +4 -4
  131. package/es/src/pro-form/components/api-radio-group.vue.d.ts +4 -4
  132. package/es/src/pro-form/components/api-select.vue.d.ts +16 -11
  133. package/es/src/pro-form/components/api-transfer.vue.d.ts +5 -5
  134. package/es/src/pro-form/components/api-tree-select.vue.d.ts +16 -11
  135. package/es/src/pro-form/components/api-tree.vue.d.ts +16 -11
  136. package/es/src/pro-form/components/form-action.vue.d.ts +19 -14
  137. package/es/src/pro-form/components/radio-button-group.vue.d.ts +4 -4
  138. package/es/src/pro-form/hooks/use-label-width.d.ts +25 -25
  139. package/es/src/pro-form/pro-form.vue.d.ts +888 -15
  140. package/es/src/pro-form/table-form-inner.vue.d.ts +6 -5
  141. package/es/src/pro-form/table-form.vue.d.ts +6 -5
  142. package/es/src/pro-form/types/form.d.ts +4 -4
  143. package/es/src/pro-table/components/edit-table-header-icon.vue.d.ts +7 -2
  144. package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +1 -1
  145. package/es/src/pro-table/components/table-action.vue.d.ts +7 -2
  146. package/es/src/pro-table/components/table-footer.vue.d.ts +4 -4
  147. package/es/src/pro-table/components/table-header.vue.d.ts +9 -4
  148. package/es/src/pro-table/components/table-image.vue.d.ts +4 -4
  149. package/es/src/pro-table/components/table-selection-bar.vue.d.ts +4 -4
  150. package/es/src/pro-table/pro-table.vue.d.ts +2049 -28
  151. package/es/src/prompt/utils.d.ts +1 -1
  152. package/es/src/scroll-bar/index.d.ts +2 -2
  153. package/es/src/scroll-bar/scroll-bar.vue.d.ts +19 -11
  154. package/es/src/strength-meter/index.d.ts +2 -2
  155. package/es/src/strength-meter/strength-meter.vue.d.ts +16 -11
  156. package/es/src/theme/antd-global-overwrite/admin/index.css +1 -0
  157. package/es/src/theme/antd-global-overwrite/admin/table.css +1 -0
  158. package/es/src/theme/antd-global-overwrite/aplus/index.css +1 -0
  159. package/es/src/theme/antd-global-overwrite/aplus/table.css +1 -0
  160. package/es/src/theme/ap-table/ap-table.css +9 -0
  161. package/es/src/theme/css-var/index.mjs +23 -7
  162. package/es/src/transition/collapse-transition.vue.d.ts +7 -2
  163. package/es/src/utils/config-provider-preset.d.ts +5 -5
  164. package/es/src/work-order-modal/createWorkOrder.mjs +20 -12
  165. package/es/src/work-order-modal/help-message.vue2.mjs +21 -18
  166. package/es/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
  167. package/es/src/work-order-modal/work-order-modal.vue.mjs +64 -62
  168. package/lib/index.js +1 -1
  169. package/lib/src/ap-action/group/index.vue.d.ts +7 -6
  170. package/lib/src/ap-action/item/index.vue.d.ts +20 -14
  171. package/lib/src/ap-action/item-dropdown/index.vue.d.ts +21 -15
  172. package/lib/src/ap-action/item-modal/index.vue.d.ts +20 -14
  173. package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +20 -14
  174. package/lib/src/ap-custom-column/column-select.vue.js +1 -1
  175. package/lib/src/ap-custom-column/custom-column.vue.js +1 -1
  176. package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +20 -15
  177. package/lib/src/ap-descriptions/help-message/index.vue.d.ts +12 -7
  178. package/lib/src/ap-download/ap-download.vue.d.ts +17 -12
  179. package/lib/src/ap-field/checkbox/index.vue.d.ts +6 -5
  180. package/lib/src/ap-field/date/index.vue.d.ts +18 -12
  181. package/lib/src/ap-field/date-range/index.vue.d.ts +25 -19
  182. package/lib/src/ap-field/number/index.vue.d.ts +459 -12
  183. package/lib/src/ap-field/radio/index.vue.d.ts +6 -5
  184. package/lib/src/ap-field/rate/index.vue.d.ts +138 -16
  185. package/lib/src/ap-field/segmented/index.vue.d.ts +25 -19
  186. package/lib/src/ap-field/select/index.vue.d.ts +597 -16
  187. package/lib/src/ap-field/select/index.vue.js +1 -1
  188. package/lib/src/ap-field/slider/index.vue.d.ts +375 -12
  189. package/lib/src/ap-field/switch/index.vue.d.ts +16 -11
  190. package/lib/src/ap-field/text/index.vue.d.ts +19 -13
  191. package/lib/src/ap-field/text/password.vue.d.ts +19 -13
  192. package/lib/src/ap-field/text-area/index.vue.d.ts +7 -6
  193. package/lib/src/ap-field/text-area/index.vue.js +1 -1
  194. package/lib/src/ap-form/ap-form-item-group/index.vue.d.ts +19 -14
  195. package/lib/src/ap-form/ap-form-item.vue.d.ts +1008 -12
  196. package/lib/src/ap-form/ap-form-item.vue.js +1 -1
  197. package/lib/src/ap-form/ap-form-list.vue.d.ts +12 -7
  198. package/lib/src/ap-form/ap-form.vue.d.ts +884 -13
  199. package/lib/src/ap-form/items/checkbox/index.vue.d.ts +17 -12
  200. package/lib/src/ap-form/items/date/index.vue.d.ts +40 -35
  201. package/lib/src/ap-form/items/date-range/index.vue.d.ts +39 -34
  202. package/lib/src/ap-form/items/number/index.vue.d.ts +583 -27
  203. package/lib/src/ap-form/items/radio/index.vue.d.ts +217 -13
  204. package/lib/src/ap-form/items/select/index.vue.d.ts +43 -38
  205. package/lib/src/ap-form/items/switch/index.vue.d.ts +24 -19
  206. package/lib/src/ap-form/items/text/index.vue.d.ts +591 -25
  207. package/lib/src/ap-form/items/text/password.vue.d.ts +658 -27
  208. package/lib/src/ap-form/items/text-area/index.vue.d.ts +486 -13
  209. package/lib/src/ap-form/modal-form/index.vue.d.ts +650 -16
  210. package/lib/src/ap-form/search-form/index.vue.d.ts +652 -18
  211. package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +20 -15
  212. package/lib/src/ap-list/index.vue.d.ts +5 -5
  213. package/lib/src/ap-modal/interface.d.ts +3 -3
  214. package/lib/src/ap-modal/utils/createModal.js +1 -1
  215. package/lib/src/ap-table/ap-table.vue.d.ts +5 -5
  216. package/lib/src/ap-table/ap-table.vue.js +1 -1
  217. package/lib/src/ap-table/components/index/index.vue.d.ts +4 -4
  218. package/lib/src/ap-table/constants.d.ts +1071 -1072
  219. package/lib/src/ap-table/constants.js +1 -1
  220. package/lib/src/ap-table/hooks/use-table-paging.d.ts +14 -3
  221. package/lib/src/ap-table/hooks/use-table-paging.js +1 -1
  222. package/lib/src/ap-table/interface.d.ts +13 -4
  223. package/lib/src/ap-table/style/ap-table.css +9 -0
  224. package/lib/src/ap-table/utils.d.ts +597 -598
  225. package/lib/src/ap-table/utils.js +1 -1
  226. package/lib/src/ap-tag/ap-tag-group.vue.d.ts +18 -11
  227. package/lib/src/ap-tag/ap-tag.vue.d.ts +5 -5
  228. package/lib/src/base-button/button.vue.d.ts +17 -12
  229. package/lib/src/base-button/index.d.ts +30 -30
  230. package/lib/src/basic/index.d.ts +6 -6
  231. package/lib/src/basic/title.vue.d.ts +16 -11
  232. package/lib/src/business/ap-batch-action/ApBatchAction.vue.d.ts +13 -8
  233. package/lib/src/business/ap-image/ApImage.vue.d.ts +31 -62
  234. package/lib/src/business/ap-image/ApImage.vue2.js +1 -1
  235. package/lib/src/business/ap-image/interface.d.ts +17 -0
  236. package/lib/src/business/ap-input-radio/ApInputRadio.vue.d.ts +4 -4
  237. package/lib/src/business/ap-label/ApLabel.d.ts +2 -2
  238. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +6 -6
  239. package/lib/src/business/ap-status/ApStatus.vue.d.ts +5 -5
  240. package/lib/src/business/ap-status/ApStatusGroup.vue.d.ts +5 -5
  241. package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +7 -0
  242. package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.js +1 -0
  243. package/lib/src/business/ap-table-modal/hooks/use-table-modal.d.ts +7 -0
  244. package/lib/src/business/ap-table-modal/hooks/use-table-modal.js +1 -0
  245. package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +6 -0
  246. package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.js +1 -0
  247. package/lib/src/business/ap-table-modal/index.d.ts +538 -0
  248. package/lib/src/business/ap-table-modal/index.js +1 -0
  249. package/lib/src/business/ap-table-modal/interface.d.ts +63 -0
  250. package/lib/src/business/ap-table-modal/interface.js +1 -0
  251. package/lib/src/business/ap-table-modal/modal-title.vue.d.ts +46 -0
  252. package/lib/src/business/ap-table-modal/modal-title.vue.js +1 -0
  253. package/lib/src/business/ap-table-modal/modal-title.vue2.js +1 -0
  254. package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +79 -0
  255. package/lib/src/business/ap-table-modal/table-modal.vue.js +1 -0
  256. package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -0
  257. package/lib/src/business/expandAlert/ApExpandAlert.vue.d.ts +19 -12
  258. package/lib/src/business/index.d.ts +160 -152
  259. package/lib/src/business/index.js +1 -1
  260. package/lib/src/business/title/ApTitle.vue.d.ts +17 -12
  261. package/lib/src/button/button.vue.d.ts +12 -7
  262. package/lib/src/button/index.d.ts +2 -2
  263. package/lib/src/check-card/group.vue.d.ts +18 -13
  264. package/lib/src/check-card/index.vue.d.ts +16 -11
  265. package/lib/src/config-provider/config-provider-props.d.ts +6 -4
  266. package/lib/src/config-provider/config-provider.d.ts +5 -5
  267. package/lib/src/config-provider/config-provider.js +1 -1
  268. package/lib/src/config-provider/hooks/use-global-config.d.ts +2 -1
  269. package/lib/src/config-provider/index.d.ts +17 -17
  270. package/lib/src/container/index.d.ts +4 -4
  271. package/lib/src/container/scroll-container.vue.d.ts +181 -8
  272. package/lib/src/count-down/button.vue.d.ts +4 -4
  273. package/lib/src/count-down/index.d.ts +8 -8
  274. package/lib/src/count-down/input.vue.d.ts +16 -11
  275. package/lib/src/cropper/cropper-avatar.vue.d.ts +4 -4
  276. package/lib/src/cropper/cropper-image.vue.d.ts +4 -4
  277. package/lib/src/cropper/index.d.ts +4 -4
  278. package/lib/src/description/index.d.ts +2 -2
  279. package/lib/src/dropdown/dropdown.vue.d.ts +16 -11
  280. package/lib/src/dropdown/index.d.ts +2 -2
  281. package/lib/src/editable-table/form-item.vue.d.ts +5 -5
  282. package/lib/src/editable-table/index.vue.d.ts +6 -6
  283. package/lib/src/icon/icon.vue.d.ts +4 -5
  284. package/lib/src/icon/index.d.ts +16 -16
  285. package/lib/src/icon/svg-icon.vue.d.ts +4 -4
  286. package/lib/src/icon-picker/icon-picker.vue.d.ts +4 -4
  287. package/lib/src/icon-picker/index.d.ts +2 -2
  288. package/lib/src/index.js +1 -1
  289. package/lib/src/locale/lang/en.js +1 -1
  290. package/lib/src/locale/lang/zh-cn.js +1 -1
  291. package/lib/src/modal/basic.vue.d.ts +210 -5
  292. package/lib/src/modal/components/modal-close.vue.d.ts +4 -4
  293. package/lib/src/modal/components/modal-footer.vue.d.ts +10 -5
  294. package/lib/src/modal/components/modal-wrapper.vue.d.ts +77 -4
  295. package/lib/src/modal/components/modal.d.ts +1 -1
  296. package/lib/src/modal/index.d.ts +5 -5
  297. package/lib/src/pro-form/components/api-cascader.vue.d.ts +4 -4
  298. package/lib/src/pro-form/components/api-radio-group.vue.d.ts +4 -4
  299. package/lib/src/pro-form/components/api-select.vue.d.ts +16 -11
  300. package/lib/src/pro-form/components/api-transfer.vue.d.ts +5 -5
  301. package/lib/src/pro-form/components/api-tree-select.vue.d.ts +16 -11
  302. package/lib/src/pro-form/components/api-tree.vue.d.ts +16 -11
  303. package/lib/src/pro-form/components/form-action.vue.d.ts +19 -14
  304. package/lib/src/pro-form/components/radio-button-group.vue.d.ts +4 -4
  305. package/lib/src/pro-form/hooks/use-label-width.d.ts +25 -25
  306. package/lib/src/pro-form/pro-form.vue.d.ts +888 -15
  307. package/lib/src/pro-form/table-form-inner.vue.d.ts +6 -5
  308. package/lib/src/pro-form/table-form.vue.d.ts +6 -5
  309. package/lib/src/pro-form/types/form.d.ts +4 -4
  310. package/lib/src/pro-table/components/edit-table-header-icon.vue.d.ts +7 -2
  311. package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +1 -1
  312. package/lib/src/pro-table/components/table-action.vue.d.ts +7 -2
  313. package/lib/src/pro-table/components/table-footer.vue.d.ts +4 -4
  314. package/lib/src/pro-table/components/table-header.vue.d.ts +9 -4
  315. package/lib/src/pro-table/components/table-image.vue.d.ts +4 -4
  316. package/lib/src/pro-table/components/table-selection-bar.vue.d.ts +4 -4
  317. package/lib/src/pro-table/pro-table.vue.d.ts +2049 -28
  318. package/lib/src/prompt/utils.d.ts +1 -1
  319. package/lib/src/scroll-bar/index.d.ts +2 -2
  320. package/lib/src/scroll-bar/scroll-bar.vue.d.ts +19 -11
  321. package/lib/src/strength-meter/index.d.ts +2 -2
  322. package/lib/src/strength-meter/strength-meter.vue.d.ts +16 -11
  323. package/lib/src/theme/antd-global-overwrite/admin/index.css +1 -0
  324. package/lib/src/theme/antd-global-overwrite/admin/table.css +1 -0
  325. package/lib/src/theme/antd-global-overwrite/aplus/index.css +1 -0
  326. package/lib/src/theme/antd-global-overwrite/aplus/table.css +1 -0
  327. package/lib/src/theme/ap-table/ap-table.css +9 -0
  328. package/lib/src/theme/css-var/index.js +1 -1
  329. package/lib/src/transition/collapse-transition.vue.d.ts +7 -2
  330. package/lib/src/utils/config-provider-preset.d.ts +5 -5
  331. package/lib/src/work-order-modal/createWorkOrder.js +1 -1
  332. package/lib/src/work-order-modal/help-message.vue2.js +1 -1
  333. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
  334. package/lib/src/work-order-modal/work-order-modal.vue.js +1 -1
  335. package/package.json +4 -4
@@ -1,18 +1,18 @@
1
- import { isVNode as d, createVNode as s, mergeProps as f, cloneVNode as T, Fragment as l } from "vue";
2
- import { isObject as c, isArray as a, isUndefined as b, isFunction as y, omit as g, isBoolean as h, isString as j } from "lodash-unified";
1
+ import { isVNode as d, createVNode as u, mergeProps as a, cloneVNode as T, Fragment as b } from "vue";
2
+ import { isObject as l, isArray as f, isUndefined as y, isFunction as g, omit as h, isBoolean as j, isString as c } from "lodash-unified";
3
3
  import { apTableRenderItemMap as F, apTableFormItemMap as O, ellipsisTitleStyle as E } from "./constants.mjs";
4
4
  import { isType as S } from "@fruits-chain/utils";
5
5
  import "../ap-form/index.mjs";
6
- import { Tooltip as N } from "ant-design-vue";
7
- import { QuestionCircleOutlined as x } from "@ant-design/icons-vue";
8
- import v from "../ap-form/ap-form-item.vue.mjs";
9
- function I(t) {
6
+ import { Tooltip as x } from "ant-design-vue";
7
+ import { QuestionCircleOutlined as N } from "@ant-design/icons-vue";
8
+ import I from "../ap-form/ap-form-item.vue.mjs";
9
+ function v(t) {
10
10
  return typeof t == "function" || Object.prototype.toString.call(t) === "[object Object]" && !d(t);
11
11
  }
12
12
  const C = (t, e, n) => {
13
13
  let o = {};
14
- return c(t) ? Object.keys(t).forEach((u) => {
15
- c(t[u]) ? o[u] = C(t[u], e[u], n) : o[u] = n(t[u], e);
14
+ return l(t) ? Object.keys(t).forEach((i) => {
15
+ l(t[i]) ? o[i] = C(t[i], e[i], n) : o[i] = n(t[i], e);
16
16
  }) : o = n(t, e), o;
17
17
  }, J = (t, e) => {
18
18
  switch (t) {
@@ -26,7 +26,7 @@ const C = (t, e, n) => {
26
26
  }
27
27
  case "multiple":
28
28
  case "multipleNumber":
29
- return a(e) ? e : [e];
29
+ return f(e) ? e : [e];
30
30
  case "boolean":
31
31
  return e;
32
32
  case "object":
@@ -36,7 +36,7 @@ const C = (t, e, n) => {
36
36
  }
37
37
  };
38
38
  function L(t) {
39
- return a(t) ? t.join(".") : t;
39
+ return f(t) ? t.join(".") : t;
40
40
  }
41
41
  function P(t) {
42
42
  const e = Object.prototype.toString.call(t).match(/^\[object (.*)\]$/)[1].toLowerCase();
@@ -44,13 +44,13 @@ function P(t) {
44
44
  }
45
45
  const V = (t) => P(t) === "map" ? t : new Map(Object.entries(t || {})), p = (t) => {
46
46
  const e = [], n = V(t);
47
- return n.forEach((o, u) => {
48
- const r = n.get(u) || n.get(`${u}`);
47
+ return n.forEach((o, i) => {
48
+ const r = n.get(i) || n.get(`${i}`);
49
49
  if (r) {
50
50
  if (typeof r == "object" && (r != null && r.text)) {
51
51
  e.push({
52
52
  text: r == null ? void 0 : r.text,
53
- value: u,
53
+ value: i,
54
54
  label: r == null ? void 0 : r.text,
55
55
  disabled: r.disabled
56
56
  });
@@ -59,46 +59,46 @@ const V = (t) => P(t) === "map" ? t : new Map(Object.entries(t || {})), p = (t)
59
59
  e.push({
60
60
  text: r,
61
61
  label: r,
62
- value: u
62
+ value: i
63
63
  });
64
64
  }
65
65
  }), e;
66
- }, Q = (t) => b(t) || t < 0 ? 0 : t, U = (t, e, n) => {
66
+ }, Q = (t) => y(t) || t < 0 ? 0 : t, U = (t, e, n) => {
67
67
  if (n)
68
68
  return n;
69
- const o = ["select", "date"], u = ["text", "textArea", "number"];
69
+ const o = ["select", "date"], i = ["text", "textArea", "number"];
70
70
  if (e === "dateRange")
71
71
  return [t("ap.common.chooseText"), t("ap.common.chooseText")];
72
72
  if (o.includes(e))
73
73
  return t("ap.common.chooseText");
74
- if (u.includes(e))
74
+ if (i.includes(e))
75
75
  return t("ap.common.inputText");
76
76
  };
77
77
  function w(t, e) {
78
- return !t || !y(t) ? t : t(e);
78
+ return !t || !g(t) ? t : t(e);
79
79
  }
80
80
  function z(t) {
81
81
  let e = t.valueType || "text";
82
82
  return t.valueEnum && (e = "status"), e;
83
83
  }
84
84
  function G(t, e, n, o) {
85
- var i;
86
- const u = F[t];
87
- if (u)
88
- return s(u, f(e, {
85
+ var s;
86
+ const i = F[t];
87
+ if (i)
88
+ return u(i, a(e, {
89
89
  mode: "read"
90
90
  }), null);
91
91
  const r = o == null ? void 0 : o[t];
92
- return ((i = r == null ? void 0 : r.render) == null ? void 0 : i.call(r, e.value, n, e)) || e.value;
92
+ return ((s = r == null ? void 0 : r.render) == null ? void 0 : s.call(r, e.value, n, e)) || e.value;
93
93
  }
94
94
  function K(t, e) {
95
95
  if (t.customRenderFormItem)
96
96
  return () => {
97
- const u = t.customRenderFormItem(t);
98
- return T(u, {
97
+ const i = t.customRenderFormItem(t);
98
+ return T(i, {
99
99
  ...t.fieldProps,
100
100
  span: t.span,
101
- ...u.props || {}
101
+ ...i.props || {}
102
102
  });
103
103
  };
104
104
  const n = O[t.valueType];
@@ -107,30 +107,30 @@ function K(t, e) {
107
107
  const o = e == null ? void 0 : e[t.valueType];
108
108
  return () => {
109
109
  var r;
110
- const u = (r = o == null ? void 0 : o.renderFormItem) == null ? void 0 : r.call(o, t.fieldProps.field);
111
- return u ? s(v, f(t.fieldProps, {
110
+ const i = (r = o == null ? void 0 : o.renderFormItem) == null ? void 0 : r.call(o, t.fieldProps.field);
111
+ return i ? u(I, a(t.fieldProps, {
112
112
  span: t.span
113
- }), I(u) ? u : {
114
- default: () => [u]
113
+ }), v(i) ? i : {
114
+ default: () => [i]
115
115
  }) : null;
116
116
  };
117
117
  }
118
118
  function W(t, e) {
119
- const n = w(t.fieldProps, e), o = (n == null ? void 0 : n.field) || n || {}, u = t.valueType === "switch", r = t.valueType === "index", i = u ? {
119
+ const n = w(t.fieldProps, e), o = (n == null ? void 0 : n.field) || n || {}, i = t.valueType === "switch", r = t.valueType === "index", s = i ? {
120
120
  checked: e.value
121
121
  } : {
122
122
  value: r ? e.index + 1 : e.value
123
123
  };
124
124
  return t.valueEnum && (o.valueEnum = t.valueEnum), {
125
- ...g(o, ["request"]),
126
- ...i
125
+ ...h(o, ["request"]),
126
+ ...s
127
127
  };
128
128
  }
129
129
  function X(t) {
130
130
  const e = {
131
131
  ...t
132
132
  };
133
- return h(t.filters) && t.filters && t.valueEnum && (e.filters = p(t.valueEnum)), e;
133
+ return j(t.filters) && t.filters && t.valueEnum && (e.filters = p(t.valueEnum)), e;
134
134
  }
135
135
  function Y(t, e) {
136
136
  var o;
@@ -156,14 +156,19 @@ function k(t, e, n) {
156
156
  });
157
157
  if (o && (o.length > 1 || o[0].children !== "v-if"))
158
158
  return o;
159
- const r = s("span", {
159
+ const r = c(t.title) ? u("span", {
160
160
  style: E,
161
161
  title: t.title
162
- }, [t.title]), i = t.tooltip ? j(t.tooltip) ? s(l, null, [t.tooltip]) : t.tooltip(t) : null, m = () => s(l, null, [r, s(N, {
163
- title: i,
162
+ }, [t.title]) : t.title, s = t.tooltip ? c(t.tooltip) ? u(b, null, [t.tooltip]) : t.tooltip(t) : null, m = () => u("span", {
163
+ style: {
164
+ display: "inline-flex",
165
+ alignItems: "center"
166
+ }
167
+ }, [r, u(x, {
168
+ title: s,
164
169
  placement: "bottom"
165
170
  }, {
166
- default: () => [s(x, {
171
+ default: () => [u(N, {
167
172
  style: {
168
173
  padding: "4px",
169
174
  color: n,
@@ -171,7 +176,7 @@ function k(t, e, n) {
171
176
  }
172
177
  }, null)]
173
178
  })]);
174
- return i ? m : r;
179
+ return s ? m : r;
175
180
  }
176
181
  export {
177
182
  X as apColumnToColumn,
@@ -5,7 +5,14 @@ type ApTagGroupSlots = {
5
5
  tags: ApTagProps[];
6
6
  }) => void;
7
7
  };
8
- declare function __VLS_template(): Readonly<ApTagGroupSlots> & ApTagGroupSlots;
8
+ declare function __VLS_template(): {
9
+ slots: Readonly<ApTagGroupSlots> & ApTagGroupSlots;
10
+ refs: {
11
+ container: HTMLDivElement;
12
+ };
13
+ attrs: Partial<{}>;
14
+ };
15
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
16
  declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApTagGroupProps>, {
10
17
  list: () => ApTagProps[];
11
18
  space: number;
@@ -19,21 +26,13 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
19
26
  space: number;
20
27
  list: ApTagProps[];
21
28
  }, {}>;
22
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
29
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
23
30
  export default _default;
24
31
  type __VLS_WithDefaults<P, D> = {
25
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
32
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
26
33
  default: D[K];
27
34
  }> : P[K];
28
35
  };
29
- type __VLS_Prettify<T> = {
30
- [K in keyof T]: T[K];
31
- } & {};
32
- type __VLS_WithTemplateSlots<T, S> = T & {
33
- new (): {
34
- $slots: S;
35
- };
36
- };
37
36
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
38
37
  type __VLS_TypePropsToOption<T> = {
39
38
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -43,3 +42,11 @@ type __VLS_TypePropsToOption<T> = {
43
42
  required: true;
44
43
  };
45
44
  };
45
+ type __VLS_WithTemplateSlots<T, S> = T & {
46
+ new (): {
47
+ $slots: S;
48
+ };
49
+ };
50
+ type __VLS_PrettifyLocal<T> = {
51
+ [K in keyof T]: T[K];
52
+ } & {};
@@ -10,18 +10,15 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOpti
10
10
  disabled: boolean;
11
11
  }>>>, {
12
12
  size: "small" | "middle" | "large";
13
- disabled: boolean;
14
13
  color: string;
14
+ disabled: boolean;
15
15
  }, {}>;
16
16
  export default _default;
17
17
  type __VLS_WithDefaults<P, D> = {
18
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
18
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
19
19
  default: D[K];
20
20
  }> : P[K];
21
21
  };
22
- type __VLS_Prettify<T> = {
23
- [K in keyof T]: T[K];
24
- } & {};
25
22
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
26
23
  type __VLS_TypePropsToOption<T> = {
27
24
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -31,3 +28,6 @@ type __VLS_TypePropsToOption<T> = {
31
28
  required: true;
32
29
  };
33
30
  };
31
+ type __VLS_PrettifyLocal<T> = {
32
+ [K in keyof T]: T[K];
33
+ } & {};
@@ -1,9 +1,14 @@
1
1
  import { ComponentOptionsMixin, DefineComponent, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
2
  import { ButtonProps } from './interface';
3
3
  declare function __VLS_template(): {
4
- icon?(_: {}): any;
5
- default?(_: any): any;
4
+ slots: {
5
+ icon?(_: {}): any;
6
+ default?(_: any): any;
7
+ };
8
+ refs: {};
9
+ attrs: Partial<{}>;
6
10
  };
11
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
7
12
  declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ButtonProps>, {
8
13
  iconSize: number;
9
14
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ButtonProps>, {
@@ -11,21 +16,13 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
11
16
  }>>>, {
12
17
  iconSize: number;
13
18
  }, {}>;
14
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
19
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
15
20
  export default _default;
16
21
  type __VLS_WithDefaults<P, D> = {
17
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
22
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
18
23
  default: D[K];
19
24
  }> : P[K];
20
25
  };
21
- type __VLS_Prettify<T> = {
22
- [K in keyof T]: T[K];
23
- } & {};
24
- type __VLS_WithTemplateSlots<T, S> = T & {
25
- new (): {
26
- $slots: S;
27
- };
28
- };
29
26
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
30
27
  type __VLS_TypePropsToOption<T> = {
31
28
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -35,3 +32,11 @@ type __VLS_TypePropsToOption<T> = {
35
32
  required: true;
36
33
  };
37
34
  };
35
+ type __VLS_WithTemplateSlots<T, S> = T & {
36
+ new (): {
37
+ $slots: S;
38
+ };
39
+ };
40
+ type __VLS_PrettifyLocal<T> = {
41
+ [K in keyof T]: T[K];
42
+ } & {};
@@ -8,17 +8,17 @@ export declare const BaseButton: {
8
8
  onClick: {
9
9
  type: PropType<() => void>;
10
10
  };
11
- loading: {
12
- type: PropType<boolean>;
13
- };
14
- disabled: {
15
- type: PropType<boolean>;
11
+ color: {
12
+ type: PropType<"error" | "success" | "warning" | "primary">;
16
13
  };
17
14
  text: {
18
15
  type: PropType<string>;
19
16
  };
20
- color: {
21
- type: PropType<"error" | "success" | "warning" | "primary">;
17
+ disabled: {
18
+ type: PropType<boolean>;
19
+ };
20
+ loading: {
21
+ type: PropType<boolean>;
22
22
  };
23
23
  preIcon: {
24
24
  type: PropType<string>;
@@ -34,17 +34,17 @@ export declare const BaseButton: {
34
34
  onClick: {
35
35
  type: PropType<() => void>;
36
36
  };
37
- loading: {
38
- type: PropType<boolean>;
39
- };
40
- disabled: {
41
- type: PropType<boolean>;
37
+ color: {
38
+ type: PropType<"error" | "success" | "warning" | "primary">;
42
39
  };
43
40
  text: {
44
41
  type: PropType<string>;
45
42
  };
46
- color: {
47
- type: PropType<"error" | "success" | "warning" | "primary">;
43
+ disabled: {
44
+ type: PropType<boolean>;
45
+ };
46
+ loading: {
47
+ type: PropType<boolean>;
48
48
  };
49
49
  preIcon: {
50
50
  type: PropType<string>;
@@ -69,17 +69,17 @@ export declare const BaseButton: {
69
69
  onClick: {
70
70
  type: PropType<() => void>;
71
71
  };
72
- loading: {
73
- type: PropType<boolean>;
74
- };
75
- disabled: {
76
- type: PropType<boolean>;
72
+ color: {
73
+ type: PropType<"error" | "success" | "warning" | "primary">;
77
74
  };
78
75
  text: {
79
76
  type: PropType<string>;
80
77
  };
81
- color: {
82
- type: PropType<"error" | "success" | "warning" | "primary">;
78
+ disabled: {
79
+ type: PropType<boolean>;
80
+ };
81
+ loading: {
82
+ type: PropType<boolean>;
83
83
  };
84
84
  preIcon: {
85
85
  type: PropType<string>;
@@ -101,17 +101,17 @@ export declare const BaseButton: {
101
101
  onClick: {
102
102
  type: PropType<() => void>;
103
103
  };
104
- loading: {
105
- type: PropType<boolean>;
106
- };
107
- disabled: {
108
- type: PropType<boolean>;
104
+ color: {
105
+ type: PropType<"error" | "success" | "warning" | "primary">;
109
106
  };
110
107
  text: {
111
108
  type: PropType<string>;
112
109
  };
113
- color: {
114
- type: PropType<"error" | "success" | "warning" | "primary">;
110
+ disabled: {
111
+ type: PropType<boolean>;
112
+ };
113
+ loading: {
114
+ type: PropType<boolean>;
115
115
  };
116
116
  preIcon: {
117
117
  type: PropType<string>;
@@ -125,7 +125,7 @@ export declare const BaseButton: {
125
125
  };
126
126
  }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
127
127
  iconSize: number;
128
- }, {}, string, {}> & ( VNodeProps & AllowedComponentProps & ( ComponentCustomProps & (new () => {
128
+ }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
129
129
  $slots: {
130
130
  icon?(_: {}): any;
131
131
  default?(_: any): any;
@@ -134,4 +134,4 @@ export declare const BaseButton: {
134
134
  $props: {
135
135
  onClick?: () => void;
136
136
  };
137
- }))));
137
+ }));
@@ -123,11 +123,11 @@ export declare const BasicHelp: {
123
123
  fontSize: string;
124
124
  maxWidth: string;
125
125
  showIndex: boolean;
126
- }, {}, string, {}> & ( VNodeProps & ( AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
126
+ }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
127
127
  $props: {
128
128
  onClick?: () => void;
129
129
  };
130
- }))));
130
+ }));
131
131
  export declare const BasicTitle: {
132
132
  new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
133
133
  span: {
@@ -190,7 +190,7 @@ export declare const BasicTitle: {
190
190
  };
191
191
  }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
192
192
  helpMessage: string | string[];
193
- }, {}, string, {}> & ( VNodeProps & AllowedComponentProps & ( ComponentCustomProps & (new () => {
193
+ }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
194
194
  $slots: {
195
195
  default?(_: {}): any;
196
196
  };
@@ -198,7 +198,7 @@ export declare const BasicTitle: {
198
198
  $props: {
199
199
  onClick?: () => void;
200
200
  };
201
- }))));
201
+ }));
202
202
  export declare const BasicArrow: {
203
203
  new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
204
204
  expand: {
@@ -263,8 +263,8 @@ export declare const BasicArrow: {
263
263
  inset: {
264
264
  type: PropType<boolean>;
265
265
  };
266
- }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & ( VNodeProps & ( AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
266
+ }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
267
267
  $props: {
268
268
  onClick?: () => void;
269
269
  };
270
- }))));
270
+ }));
@@ -1,8 +1,13 @@
1
1
  import { BasicTitleProps } from './interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
3
  declare function __VLS_template(): {
4
- default?(_: {}): any;
4
+ slots: {
5
+ default?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ attrs: Partial<{}>;
5
9
  };
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
6
11
  declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<BasicTitleProps>, {
7
12
  helpMessage: string;
8
13
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<BasicTitleProps>, {
@@ -10,21 +15,13 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
10
15
  }>>>, {
11
16
  helpMessage: string | string[];
12
17
  }, {}>;
13
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
18
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
14
19
  export default _default;
15
20
  type __VLS_WithDefaults<P, D> = {
16
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
21
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
17
22
  default: D[K];
18
23
  }> : P[K];
19
24
  };
20
- type __VLS_Prettify<T> = {
21
- [K in keyof T]: T[K];
22
- } & {};
23
- type __VLS_WithTemplateSlots<T, S> = T & {
24
- new (): {
25
- $slots: S;
26
- };
27
- };
28
25
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
29
26
  type __VLS_TypePropsToOption<T> = {
30
27
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -34,3 +31,11 @@ type __VLS_TypePropsToOption<T> = {
34
31
  required: true;
35
32
  };
36
33
  };
34
+ type __VLS_WithTemplateSlots<T, S> = T & {
35
+ new (): {
36
+ $slots: S;
37
+ };
38
+ };
39
+ type __VLS_PrettifyLocal<T> = {
40
+ [K in keyof T]: T[K];
41
+ } & {};
@@ -1,17 +1,17 @@
1
1
  import { ApBatchActionProps } from './interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
3
  declare function __VLS_template(): {
4
- prefix?(_: {}): any;
5
- suffix?(_: {}): any;
4
+ slots: {
5
+ prefix?(_: {}): any;
6
+ suffix?(_: {}): any;
7
+ };
8
+ refs: {};
9
+ attrs: Partial<{}>;
6
10
  };
11
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
7
12
  declare const __VLS_component: DefineComponent<__VLS_TypePropsToOption<ApBatchActionProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<ApBatchActionProps>>>, {}, {}>;
8
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
13
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
9
14
  export default _default;
10
- type __VLS_WithTemplateSlots<T, S> = T & {
11
- new (): {
12
- $slots: S;
13
- };
14
- };
15
15
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
16
  type __VLS_TypePropsToOption<T> = {
17
17
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -21,3 +21,8 @@ type __VLS_TypePropsToOption<T> = {
21
21
  required: true;
22
22
  };
23
23
  };
24
+ type __VLS_WithTemplateSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
27
+ };
28
+ };
@@ -1,65 +1,34 @@
1
- import { accessCreate } from '@aplus-frontend/oss';
2
- import { PropType, DefineComponent, CSSProperties, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
3
- import { VueTypeValidableDef } from '../../../node_modules/vue-types';
4
- import { ImagePreviewType } from 'ant-design-vue/es/vc-image';
5
- import { MouseEventHandler } from 'ant-design-vue/es/_util/EventInterface';
6
- declare const _default: DefineComponent<{
7
- getOssAccess: PropType<() => Promise<accessCreate>>;
8
- src: StringConstructor;
9
- wrapperClassName: StringConstructor;
10
- wrapperStyle: {
11
- type: PropType< CSSProperties>;
12
- default: CSSProperties;
1
+ import { ApImageProps } from './interface';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
+ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApImageProps>, {
4
+ preview: boolean;
5
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApImageProps>, {
6
+ preview: boolean;
7
+ }>>>, {
8
+ preview: boolean | {
9
+ visible?: boolean;
10
+ onVisibleChange?: (visible: boolean, prevVisible: boolean) => void;
11
+ getContainer: string | HTMLElement | (() => HTMLElement);
12
+ src?: string;
13
+ maskClassName?: string;
14
+ current?: number;
13
15
  };
14
- rootClassName: StringConstructor;
15
- prefixCls: StringConstructor;
16
- previewPrefixCls: StringConstructor;
17
- previewMask: {
18
- type: PropType<false | (() => any)>;
19
- default: any;
20
- };
21
- placeholder: VueTypeValidableDef<any>;
22
- fallback: StringConstructor;
23
- preview: {
24
- type: PropType<boolean | ImagePreviewType>;
25
- default: boolean | ImagePreviewType;
26
- };
27
- onClick: {
28
- type: PropType< MouseEventHandler>;
29
- };
30
- onError: {
31
- type: PropType<OnErrorEventHandlerNonNull>;
32
- };
33
- }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
34
- getOssAccess: PropType<() => Promise<accessCreate>>;
35
- src: StringConstructor;
36
- wrapperClassName: StringConstructor;
37
- wrapperStyle: {
38
- type: PropType< CSSProperties>;
39
- default: CSSProperties;
40
- };
41
- rootClassName: StringConstructor;
42
- prefixCls: StringConstructor;
43
- previewPrefixCls: StringConstructor;
44
- previewMask: {
45
- type: PropType<false | (() => any)>;
46
- default: any;
47
- };
48
- placeholder: VueTypeValidableDef<any>;
49
- fallback: StringConstructor;
50
- preview: {
51
- type: PropType<boolean | ImagePreviewType>;
52
- default: boolean | ImagePreviewType;
53
- };
54
- onClick: {
55
- type: PropType< MouseEventHandler>;
56
- };
57
- onError: {
58
- type: PropType<OnErrorEventHandlerNonNull>;
59
- };
60
- }>>, {
61
- preview: boolean | ImagePreviewType;
62
- wrapperStyle: CSSProperties;
63
- previewMask: false | (() => any);
64
16
  }, {}>;
65
17
  export default _default;
18
+ type __VLS_WithDefaults<P, D> = {
19
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
20
+ default: D[K];
21
+ }> : P[K];
22
+ };
23
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
24
+ type __VLS_TypePropsToOption<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
+ type __VLS_PrettifyLocal<T> = {
33
+ [K in keyof T]: T[K];
34
+ } & {};