@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 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("vue"),l=require("lodash-unified"),c=require("./constants.js"),T=require("@fruits-chain/utils");require("../ap-form/index.js");const g=require("ant-design-vue"),b=require("@ant-design/icons-vue"),y=require("../ap-form/ap-form-item.vue.js");function h(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!s.isVNode(e)}const d=(e,t,n)=>{let r={};return l.isObject(e)?Object.keys(e).forEach(u=>{l.isObject(e[u])?r[u]=d(e[u],t[u],n):r[u]=n(e[u],t)}):r=n(e,t),r},j=(e,t)=>{switch(e){case"dayjs":return t.valueOf();case"dayjsRange":return t.map(n=>n.valueOf());case"dayjsDayRange":{const[n,r]=t;return[n.startOf("day").valueOf(),r.endOf("day").valueOf()]}case"multiple":case"multipleNumber":return l.isArray(t)?t:[t];case"boolean":return t;case"object":return t;default:return t}};function F(e){return l.isArray(e)?e.join("."):e}function N(e){const t=Object.prototype.toString.call(e).match(/^\[object (.*)\]$/)[1].toLowerCase();return t==="string"&&typeof e=="object"?"object":e===null?"null":e===void 0?"undefined":t}const f=e=>N(e)==="map"?e:new Map(Object.entries(e||{})),a=e=>{const t=[],n=f(e);return n.forEach((r,u)=>{const o=n.get(u)||n.get(`${u}`);if(o){if(typeof o=="object"&&(o!=null&&o.text)){t.push({text:o==null?void 0:o.text,value:u,label:o==null?void 0:o.text,disabled:o.disabled});return}t.push({text:o,label:o,value:u})}}),t},O=e=>l.isUndefined(e)||e<0?0:e,S=(e,t,n)=>{if(n)return n;const r=["select","date"],u=["text","textArea","number"];if(t==="dateRange")return[e("ap.common.chooseText"),e("ap.common.chooseText")];if(r.includes(t))return e("ap.common.chooseText");if(u.includes(t))return e("ap.common.inputText")};function p(e,t){return!e||!l.isFunction(e)?e:e(t)}function V(e){let t=e.valueType||"text";return e.valueEnum&&(t="status"),t}function E(e,t,n,r){var i;const u=c.apTableRenderItemMap[e];if(u)return s.createVNode(u,s.mergeProps(t,{mode:"read"}),null);const o=r==null?void 0:r[e];return((i=o==null?void 0:o.render)==null?void 0:i.call(o,t.value,n,t))||t.value}function P(e,t){if(e.customRenderFormItem)return()=>{const u=e.customRenderFormItem(e);return s.cloneVNode(u,{...e.fieldProps,span:e.span,...u.props||{}})};const n=c.apTableFormItemMap[e.valueType];if(n)return n;const r=t==null?void 0:t[e.valueType];return()=>{var o;const u=(o=r==null?void 0:r.renderFormItem)==null?void 0:o.call(r,e.fieldProps.field);return u?s.createVNode(y.default,s.mergeProps(e.fieldProps,{span:e.span}),h(u)?u:{default:()=>[u]}):null}}function v(e,t){const n=p(e.fieldProps,t),r=(n==null?void 0:n.field)||n||{},u=e.valueType==="switch",o=e.valueType==="index",i=u?{checked:t.value}:{value:o?t.index+1:t.value};return e.valueEnum&&(r.valueEnum=e.valueEnum),{...l.omit(r,["request"]),...i}}function I(e){const t={...e};return l.isBoolean(e.filters)&&e.filters&&e.valueEnum&&(t.filters=a(e.valueEnum)),t}function C(e,t){var r;const n=t||{};return e.valueEnum&&!((r=n.field)!=null&&r.options)&&(n.field={...n.field,options:a(e.valueEnum)}),n}function q(e){if(!T.isType("Object")(e))return e;try{return JSON.stringify(e)}catch{return e}}function _(e,t,n){const r=t==null?void 0:t({title:e.title,column:e});if(r&&(r.length>1||r[0].children!=="v-if"))return r;const o=s.createVNode("span",{style:c.ellipsisTitleStyle,title:e.title},[e.title]),i=e.tooltip?l.isString(e.tooltip)?s.createVNode(s.Fragment,null,[e.tooltip]):e.tooltip(e):null,m=()=>s.createVNode(s.Fragment,null,[o,s.createVNode(g.Tooltip,{title:i,placement:"bottom"},{default:()=>[s.createVNode(b.QuestionCircleOutlined,{style:{padding:"4px",color:n,verticalAlign:"middle"}},null)]})]);return i?m:o}exports.apColumnToColumn=I;exports.dataIndexToStr=F;exports.formatParamsValueType=d;exports.getColumnOrder=O;exports.getFieldProps=p;exports.getPlaceholder=S;exports.getSearchFormItemRenderNode=P;exports.getTableCellRenderNode=E;exports.getTableRenderProps=v;exports.getTableRenderType=V;exports.getTableTitle=_;exports.objectToMap=f;exports.objectToString=q;exports.parseFieldValue=j;exports.updateFormProps=C;exports.valueEnumToArray=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("vue"),i=require("lodash-unified"),c=require("./constants.js"),T=require("@fruits-chain/utils");require("../ap-form/index.js");const g=require("ant-design-vue"),b=require("@ant-design/icons-vue"),y=require("../ap-form/ap-form-item.vue.js");function h(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!u.isVNode(e)}const d=(e,t,n)=>{let r={};return i.isObject(e)?Object.keys(e).forEach(s=>{i.isObject(e[s])?r[s]=d(e[s],t[s],n):r[s]=n(e[s],t)}):r=n(e,t),r},j=(e,t)=>{switch(e){case"dayjs":return t.valueOf();case"dayjsRange":return t.map(n=>n.valueOf());case"dayjsDayRange":{const[n,r]=t;return[n.startOf("day").valueOf(),r.endOf("day").valueOf()]}case"multiple":case"multipleNumber":return i.isArray(t)?t:[t];case"boolean":return t;case"object":return t;default:return t}};function F(e){return i.isArray(e)?e.join("."):e}function N(e){const t=Object.prototype.toString.call(e).match(/^\[object (.*)\]$/)[1].toLowerCase();return t==="string"&&typeof e=="object"?"object":e===null?"null":e===void 0?"undefined":t}const f=e=>N(e)==="map"?e:new Map(Object.entries(e||{})),a=e=>{const t=[],n=f(e);return n.forEach((r,s)=>{const o=n.get(s)||n.get(`${s}`);if(o){if(typeof o=="object"&&(o!=null&&o.text)){t.push({text:o==null?void 0:o.text,value:s,label:o==null?void 0:o.text,disabled:o.disabled});return}t.push({text:o,label:o,value:s})}}),t},O=e=>i.isUndefined(e)||e<0?0:e,S=(e,t,n)=>{if(n)return n;const r=["select","date"],s=["text","textArea","number"];if(t==="dateRange")return[e("ap.common.chooseText"),e("ap.common.chooseText")];if(r.includes(t))return e("ap.common.chooseText");if(s.includes(t))return e("ap.common.inputText")};function p(e,t){return!e||!i.isFunction(e)?e:e(t)}function V(e){let t=e.valueType||"text";return e.valueEnum&&(t="status"),t}function E(e,t,n,r){var l;const s=c.apTableRenderItemMap[e];if(s)return u.createVNode(s,u.mergeProps(t,{mode:"read"}),null);const o=r==null?void 0:r[e];return((l=o==null?void 0:o.render)==null?void 0:l.call(o,t.value,n,t))||t.value}function P(e,t){if(e.customRenderFormItem)return()=>{const s=e.customRenderFormItem(e);return u.cloneVNode(s,{...e.fieldProps,span:e.span,...s.props||{}})};const n=c.apTableFormItemMap[e.valueType];if(n)return n;const r=t==null?void 0:t[e.valueType];return()=>{var o;const s=(o=r==null?void 0:r.renderFormItem)==null?void 0:o.call(r,e.fieldProps.field);return s?u.createVNode(y.default,u.mergeProps(e.fieldProps,{span:e.span}),h(s)?s:{default:()=>[s]}):null}}function v(e,t){const n=p(e.fieldProps,t),r=(n==null?void 0:n.field)||n||{},s=e.valueType==="switch",o=e.valueType==="index",l=s?{checked:t.value}:{value:o?t.index+1:t.value};return e.valueEnum&&(r.valueEnum=e.valueEnum),{...i.omit(r,["request"]),...l}}function I(e){const t={...e};return i.isBoolean(e.filters)&&e.filters&&e.valueEnum&&(t.filters=a(e.valueEnum)),t}function C(e,t){var r;const n=t||{};return e.valueEnum&&!((r=n.field)!=null&&r.options)&&(n.field={...n.field,options:a(e.valueEnum)}),n}function q(e){if(!T.isType("Object")(e))return e;try{return JSON.stringify(e)}catch{return e}}function x(e,t,n){const r=t==null?void 0:t({title:e.title,column:e});if(r&&(r.length>1||r[0].children!=="v-if"))return r;const o=i.isString(e.title)?u.createVNode("span",{style:c.ellipsisTitleStyle,title:e.title},[e.title]):e.title,l=e.tooltip?i.isString(e.tooltip)?u.createVNode(u.Fragment,null,[e.tooltip]):e.tooltip(e):null,m=()=>u.createVNode("span",{style:{display:"inline-flex",alignItems:"center"}},[o,u.createVNode(g.Tooltip,{title:l,placement:"bottom"},{default:()=>[u.createVNode(b.QuestionCircleOutlined,{style:{padding:"4px",color:n,verticalAlign:"middle"}},null)]})]);return l?m:o}exports.apColumnToColumn=I;exports.dataIndexToStr=F;exports.formatParamsValueType=d;exports.getColumnOrder=O;exports.getFieldProps=p;exports.getPlaceholder=S;exports.getSearchFormItemRenderNode=P;exports.getTableCellRenderNode=E;exports.getTableRenderProps=v;exports.getTableRenderType=V;exports.getTableTitle=x;exports.objectToMap=f;exports.objectToString=q;exports.parseFieldValue=j;exports.updateFormProps=C;exports.valueEnumToArray=a;
@@ -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
+ } & {};
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),b=require("ant-design-vue"),t=require("./hooks/useOss.js");require("../../config-provider/index.js");const q=require("ant-design-vue/es/image"),k=require("./imgs/admin-fallback.jpg.js"),O=require("./imgs/aplus-fallback.jpg.js"),_=require("lodash-unified"),u=require("../../config-provider/hooks/use-global-config.js"),A=require("../../config-provider/hooks/use-locale.js"),h=e.defineComponent({__name:"ApImage",props:{...q.imageProps(),getOssAccess:Function},setup(l){const s=l,n={aplus:O.default,admin:k.default},i=u.useGlobalConfig("uiMode"),f=u.useGlobalConfig("apUpload"),{t:d,lang:g}=A.useLocale(),m=e.computed(()=>{var a;return s.getOssAccess||((a=f.value)==null?void 0:a.getOssAccess)}),p=e.computed(()=>n[i.value]||n.aplus),v=e.computed(()=>(s==null?void 0:s.fallback)||p.value),c=e.ref("");return t.injectLocaleToOss(d,g),e.watchEffect(async()=>{var a;if(s!=null&&s.src){if(!((a=s.src)!=null&&a.startsWith("Frontend-Upload"))){c.value=s.src;return}try{const o=await t.getOssInstance(m.value),r=await t.getSignatureUrl({oss:o,fileName:s.src});r&&(c.value=r)}catch{c.value=""}}}),(a,o)=>(e.openBlock(),e.createBlock(e.unref(b.Image),e.normalizeProps(e.guardReactiveProps({...e.unref(_.omit)(s,["src","getOssAccess"]),fallback:v.value,src:c.value})),null,16))}});exports.default=h;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),v=require("ant-design-vue"),c=require("./hooks/useOss.js");require("../../config-provider/index.js");const k=require("./imgs/admin-fallback.jpg.js"),O=require("./imgs/aplus-fallback.jpg.js"),q=require("lodash-unified"),o=require("../../config-provider/hooks/use-global-config.js"),h=require("../../config-provider/hooks/use-locale.js"),_=e.defineComponent({__name:"ApImage",props:{getOssAccess:{},width:{},height:{},alt:{},fallback:{},src:{},preview:{type:[Boolean,Object],default:!0}},setup(u){const s=u,l={aplus:O.default,admin:k.default},i=o.useGlobalConfig("uiMode"),f=o.useGlobalConfig("apUpload"),{t:d,lang:g}=h.useLocale(),p=e.computed(()=>{var a;return s.getOssAccess||((a=f.value)==null?void 0:a.getOssAccess)}),b=e.computed(()=>l[i.value]||l.aplus),m=e.computed(()=>(s==null?void 0:s.fallback)||b.value),t=e.ref("");return c.injectLocaleToOss(d,g),e.watchEffect(async()=>{var a;if(s!=null&&s.src){if(!((a=s.src)!=null&&a.startsWith("Frontend-Upload"))){t.value=s.src;return}try{const r=await c.getOssInstance(p.value),n=await c.getSignatureUrl({oss:r,fileName:s.src});n&&(t.value=n)}catch{t.value=""}}}),(a,r)=>(e.openBlock(),e.createBlock(e.unref(v.Image),e.normalizeProps(e.guardReactiveProps({...e.unref(q.omit)(s,["src","getOssAccess"]),fallback:m.value,src:t.value})),null,16))}});exports.default=_;
@@ -0,0 +1,17 @@
1
+ import { accessCreate } from '@aplus-frontend/oss';
2
+ export interface ApImageProps {
3
+ getOssAccess?: () => Promise<accessCreate>;
4
+ width?: number | string;
5
+ height?: number | string;
6
+ alt?: string;
7
+ fallback?: string;
8
+ src?: string;
9
+ preview?: boolean | {
10
+ visible?: boolean;
11
+ onVisibleChange?: (visible: boolean, prevVisible: boolean) => void;
12
+ getContainer: string | HTMLElement | (() => HTMLElement);
13
+ src?: string;
14
+ maskClassName?: string;
15
+ current?: number;
16
+ };
17
+ }
@@ -19,13 +19,10 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOpti
19
19
  }, {}>;
20
20
  export default _default;
21
21
  type __VLS_WithDefaults<P, D> = {
22
- [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] & {
23
23
  default: D[K];
24
24
  }> : P[K];
25
25
  };
26
- type __VLS_Prettify<T> = {
27
- [K in keyof T]: T[K];
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,6 @@ type __VLS_TypePropsToOption<T> = {
35
32
  required: true;
36
33
  };
37
34
  };
35
+ type __VLS_PrettifyLocal<T> = {
36
+ [K in keyof T]: T[K];
37
+ } & {};
@@ -125,10 +125,10 @@ declare const _default: DefineComponent<{
125
125
  }>>, {
126
126
  size: "small" | "default";
127
127
  placement: TooltipPlacement;
128
- iconType: "ellipsis" | "success" | "warning" | "question";
129
- iconSize: number;
130
128
  show: boolean;
131
129
  dot: boolean;
130
+ iconType: "ellipsis" | "success" | "warning" | "question";
131
+ iconSize: number;
132
132
  helpMessage: string | VNode< RendererNode, RendererElement, {
133
133
  [key: string]: any;
134
134
  }> | undefined;
@@ -1,7 +1,7 @@
1
1
  import { ApSelectItem, ApSelectLayoutProps } from './interface';
2
2
  import { VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
3
- declare const _default: <T extends ApSelectItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
- props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
3
+ declare const _default: <T extends ApSelectItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
5
5
  onAfterLeave?: ((el: Element) => any) | undefined;
6
6
  onAfterEnter?: ((el: Element) => any) | undefined;
7
7
  onOnSelect?: ((value: T) => any) | undefined;
@@ -12,23 +12,23 @@ declare const _default: <T extends ApSelectItem>(__VLS_props: NonNullable<Awaite
12
12
  }, never>, "onAfterLeave" | "onAfterEnter" | "onOnSelect"> & ApSelectLayoutProps<T>> & PublicProps;
13
13
  expose(exposed: ShallowUnwrapRef<{}>): void;
14
14
  attrs: any;
15
- slots: ReturnType<() => {
15
+ slots: {
16
16
  itemRender?(_: {
17
17
  item: T;
18
18
  }): any;
19
19
  default?(_: {}): any;
20
- }>;
20
+ };
21
21
  emit: {
22
22
  (event: "onSelect", value: T): void;
23
23
  (event: "afterEnter", el: Element): void;
24
24
  (event: "afterLeave", el: Element): void;
25
- } & {};
25
+ };
26
26
  }>) => VNode<RendererNode, RendererElement, {
27
27
  [key: string]: any;
28
28
  }> & {
29
29
  __ctx?: Awaited<typeof __VLS_setup>;
30
30
  };
31
31
  export default _default;
32
- type __VLS_Prettify<T> = {
32
+ type __VLS_PrettifyLocal<T> = {
33
33
  [K in keyof T]: T[K];
34
34
  } & {};
@@ -10,18 +10,15 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOpti
10
10
  show: boolean;
11
11
  }>>>, {
12
12
  color: string;
13
- padding: number;
14
13
  show: boolean;
14
+ padding: number;
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
+ } & {};
@@ -11,20 +11,17 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOpti
11
11
  statusList: null;
12
12
  show: boolean;
13
13
  }>>>, {
14
- padding: number;
15
14
  show: boolean;
15
+ padding: number;
16
16
  currentValue: number | string;
17
17
  statusList: ApStatusGroupItemProps[] | null;
18
18
  }, {}>;
19
19
  export default _default;
20
20
  type __VLS_WithDefaults<P, D> = {
21
- [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] & {
22
22
  default: D[K];
23
23
  }> : P[K];
24
24
  };
25
- type __VLS_Prettify<T> = {
26
- [K in keyof T]: T[K];
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,6 @@ type __VLS_TypePropsToOption<T> = {
34
31
  required: true;
35
32
  };
36
33
  };
34
+ type __VLS_PrettifyLocal<T> = {
35
+ [K in keyof T]: T[K];
36
+ } & {};