@aplus-frontend/ui 0.1.21 → 0.1.23

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 (331) 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/utils/createModal.mjs +4 -4
  47. package/es/src/ap-table/ap-table.vue.d.ts +5 -5
  48. package/es/src/ap-table/ap-table.vue.mjs +202 -198
  49. package/es/src/ap-table/components/index/index.vue.d.ts +4 -4
  50. package/es/src/ap-table/constants.d.ts +1071 -1072
  51. package/es/src/ap-table/hooks/use-table-paging.d.ts +2 -1
  52. package/es/src/ap-table/interface.d.ts +1 -1
  53. package/es/src/ap-table/style/ap-table.css +3 -0
  54. package/es/src/ap-table/utils.d.ts +586 -587
  55. package/es/src/ap-tag/ap-tag-group.vue.d.ts +18 -11
  56. package/es/src/ap-tag/ap-tag.vue.d.ts +5 -5
  57. package/es/src/base-button/button.vue.d.ts +17 -12
  58. package/es/src/base-button/index.d.ts +30 -30
  59. package/es/src/basic/index.d.ts +6 -6
  60. package/es/src/basic/title.vue.d.ts +16 -11
  61. package/es/src/business/ap-batch-action/ApBatchAction.vue.d.ts +13 -8
  62. package/es/src/business/ap-image/ApImage.vue.d.ts +22 -1
  63. package/es/src/business/ap-image/ApImage.vue2.mjs +23 -23
  64. package/es/src/business/ap-input-radio/ApInputRadio.vue.d.ts +4 -4
  65. package/es/src/business/ap-label/ApLabel.d.ts +2 -2
  66. package/es/src/business/ap-label/ApLabel.mjs +8 -7
  67. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +6 -6
  68. package/es/src/business/ap-status/ApStatus.vue.d.ts +5 -5
  69. package/es/src/business/ap-status/ApStatusGroup.vue.d.ts +5 -5
  70. package/es/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +7 -0
  71. package/es/src/business/ap-table-modal/hooks/use-create-table-modal.mjs +41 -0
  72. package/es/src/business/ap-table-modal/hooks/use-table-modal.d.ts +7 -0
  73. package/es/src/business/ap-table-modal/hooks/use-table-modal.mjs +29 -0
  74. package/es/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +6 -0
  75. package/es/src/business/ap-table-modal/hooks/use-table-select-modal.mjs +28 -0
  76. package/es/src/business/ap-table-modal/index.d.ts +538 -0
  77. package/es/src/business/ap-table-modal/index.mjs +11 -0
  78. package/es/src/business/ap-table-modal/interface.d.ts +63 -0
  79. package/es/src/business/ap-table-modal/interface.mjs +4 -0
  80. package/es/src/business/ap-table-modal/modal-title.vue.d.ts +46 -0
  81. package/es/src/business/ap-table-modal/modal-title.vue.mjs +4 -0
  82. package/es/src/business/ap-table-modal/modal-title.vue2.mjs +50 -0
  83. package/es/src/business/ap-table-modal/table-modal.vue.d.ts +79 -0
  84. package/es/src/business/ap-table-modal/table-modal.vue.mjs +4 -0
  85. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +177 -0
  86. package/es/src/business/expandAlert/ApExpandAlert.vue.d.ts +19 -12
  87. package/es/src/business/index.d.ts +140 -131
  88. package/es/src/business/index.mjs +18 -16
  89. package/es/src/business/title/ApTitle.vue.d.ts +17 -12
  90. package/es/src/button/button.vue.d.ts +12 -7
  91. package/es/src/button/index.d.ts +2 -2
  92. package/es/src/check-card/group.vue.d.ts +18 -13
  93. package/es/src/check-card/index.vue.d.ts +16 -11
  94. package/es/src/config-provider/config-provider-props.d.ts +6 -4
  95. package/es/src/config-provider/config-provider.d.ts +5 -5
  96. package/es/src/config-provider/hooks/use-global-config.d.ts +2 -1
  97. package/es/src/config-provider/index.d.ts +17 -17
  98. package/es/src/container/index.d.ts +4 -4
  99. package/es/src/container/scroll-container.vue.d.ts +181 -8
  100. package/es/src/count-down/button.vue.d.ts +4 -4
  101. package/es/src/count-down/index.d.ts +8 -8
  102. package/es/src/count-down/input.vue.d.ts +16 -11
  103. package/es/src/cropper/cropper-avatar.vue.d.ts +4 -4
  104. package/es/src/cropper/cropper-image.vue.d.ts +4 -4
  105. package/es/src/cropper/index.d.ts +4 -4
  106. package/es/src/description/index.d.ts +2 -2
  107. package/es/src/dropdown/dropdown.vue.d.ts +16 -11
  108. package/es/src/dropdown/index.d.ts +2 -2
  109. package/es/src/editable-table/form-item.vue.d.ts +5 -5
  110. package/es/src/editable-table/form-item.vue.mjs +48 -48
  111. package/es/src/editable-table/hooks/use-get-columns.mjs +64 -56
  112. package/es/src/editable-table/index.vue.d.ts +6 -6
  113. package/es/src/editable-table/interface.d.ts +2 -2
  114. package/es/src/editable-table/utils.mjs +17 -17
  115. package/es/src/icon/icon.vue.d.ts +4 -5
  116. package/es/src/icon/index.d.ts +16 -16
  117. package/es/src/icon/svg-icon.vue.d.ts +4 -4
  118. package/es/src/icon-picker/icon-picker.vue.d.ts +4 -4
  119. package/es/src/icon-picker/index.d.ts +2 -2
  120. package/es/src/index.mjs +69 -63
  121. package/es/src/locale/lang/en.mjs +25 -0
  122. package/es/src/locale/lang/zh-cn.mjs +25 -0
  123. package/es/src/modal/basic.vue.d.ts +210 -5
  124. package/es/src/modal/components/modal-close.vue.d.ts +4 -4
  125. package/es/src/modal/components/modal-footer.vue.d.ts +10 -5
  126. package/es/src/modal/components/modal-wrapper.vue.d.ts +77 -4
  127. package/es/src/modal/components/modal.d.ts +1 -1
  128. package/es/src/modal/index.d.ts +5 -5
  129. package/es/src/pro-form/components/api-cascader.vue.d.ts +4 -4
  130. package/es/src/pro-form/components/api-radio-group.vue.d.ts +4 -4
  131. package/es/src/pro-form/components/api-select.vue.d.ts +16 -11
  132. package/es/src/pro-form/components/api-transfer.vue.d.ts +5 -5
  133. package/es/src/pro-form/components/api-tree-select.vue.d.ts +16 -11
  134. package/es/src/pro-form/components/api-tree.vue.d.ts +16 -11
  135. package/es/src/pro-form/components/form-action.vue.d.ts +19 -14
  136. package/es/src/pro-form/components/radio-button-group.vue.d.ts +4 -4
  137. package/es/src/pro-form/hooks/use-label-width.d.ts +25 -25
  138. package/es/src/pro-form/pro-form.vue.d.ts +888 -15
  139. package/es/src/pro-form/table-form-inner.vue.d.ts +6 -5
  140. package/es/src/pro-form/table-form.vue.d.ts +6 -5
  141. package/es/src/pro-form/types/form.d.ts +4 -4
  142. package/es/src/pro-table/components/edit-table-header-icon.vue.d.ts +7 -2
  143. package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +1 -1
  144. package/es/src/pro-table/components/table-action.vue.d.ts +7 -2
  145. package/es/src/pro-table/components/table-footer.vue.d.ts +4 -4
  146. package/es/src/pro-table/components/table-header.vue.d.ts +9 -4
  147. package/es/src/pro-table/components/table-image.vue.d.ts +4 -4
  148. package/es/src/pro-table/components/table-selection-bar.vue.d.ts +4 -4
  149. package/es/src/pro-table/pro-table.vue.d.ts +2049 -28
  150. package/es/src/prompt/utils.d.ts +1 -1
  151. package/es/src/scroll-bar/index.d.ts +2 -2
  152. package/es/src/scroll-bar/scroll-bar.vue.d.ts +19 -11
  153. package/es/src/strength-meter/index.d.ts +2 -2
  154. package/es/src/strength-meter/strength-meter.vue.d.ts +16 -11
  155. package/es/src/theme/antd-global-overwrite/admin/index.css +1 -0
  156. package/es/src/theme/antd-global-overwrite/admin/table.css +1 -0
  157. package/es/src/theme/antd-global-overwrite/aplus/index.css +1 -0
  158. package/es/src/theme/antd-global-overwrite/aplus/table.css +1 -0
  159. package/es/src/theme/ap-table/ap-table.css +3 -0
  160. package/es/src/transition/collapse-transition.vue.d.ts +7 -2
  161. package/es/src/utils/config-provider-preset.d.ts +5 -5
  162. package/es/src/work-order-modal/createWorkOrder.mjs +20 -12
  163. package/es/src/work-order-modal/help-message.vue2.mjs +21 -18
  164. package/es/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
  165. package/es/src/work-order-modal/work-order-modal.vue.mjs +64 -62
  166. package/lib/index.js +1 -1
  167. package/lib/src/ap-action/group/index.vue.d.ts +7 -6
  168. package/lib/src/ap-action/item/index.vue.d.ts +20 -14
  169. package/lib/src/ap-action/item-dropdown/index.vue.d.ts +21 -15
  170. package/lib/src/ap-action/item-modal/index.vue.d.ts +20 -14
  171. package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +20 -14
  172. package/lib/src/ap-custom-column/column-select.vue.js +1 -1
  173. package/lib/src/ap-custom-column/custom-column.vue.js +1 -1
  174. package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +20 -15
  175. package/lib/src/ap-descriptions/help-message/index.vue.d.ts +12 -7
  176. package/lib/src/ap-download/ap-download.vue.d.ts +17 -12
  177. package/lib/src/ap-field/checkbox/index.vue.d.ts +6 -5
  178. package/lib/src/ap-field/date/index.vue.d.ts +18 -12
  179. package/lib/src/ap-field/date-range/index.vue.d.ts +25 -19
  180. package/lib/src/ap-field/number/index.vue.d.ts +459 -12
  181. package/lib/src/ap-field/radio/index.vue.d.ts +6 -5
  182. package/lib/src/ap-field/rate/index.vue.d.ts +138 -16
  183. package/lib/src/ap-field/segmented/index.vue.d.ts +25 -19
  184. package/lib/src/ap-field/select/index.vue.d.ts +597 -16
  185. package/lib/src/ap-field/select/index.vue.js +1 -1
  186. package/lib/src/ap-field/slider/index.vue.d.ts +375 -12
  187. package/lib/src/ap-field/switch/index.vue.d.ts +16 -11
  188. package/lib/src/ap-field/text/index.vue.d.ts +19 -13
  189. package/lib/src/ap-field/text/password.vue.d.ts +19 -13
  190. package/lib/src/ap-field/text-area/index.vue.d.ts +7 -6
  191. package/lib/src/ap-field/text-area/index.vue.js +1 -1
  192. package/lib/src/ap-form/ap-form-item-group/index.vue.d.ts +19 -14
  193. package/lib/src/ap-form/ap-form-item.vue.d.ts +1008 -12
  194. package/lib/src/ap-form/ap-form-item.vue.js +1 -1
  195. package/lib/src/ap-form/ap-form-list.vue.d.ts +12 -7
  196. package/lib/src/ap-form/ap-form.vue.d.ts +884 -13
  197. package/lib/src/ap-form/items/checkbox/index.vue.d.ts +17 -12
  198. package/lib/src/ap-form/items/date/index.vue.d.ts +40 -35
  199. package/lib/src/ap-form/items/date-range/index.vue.d.ts +39 -34
  200. package/lib/src/ap-form/items/number/index.vue.d.ts +583 -27
  201. package/lib/src/ap-form/items/radio/index.vue.d.ts +217 -13
  202. package/lib/src/ap-form/items/select/index.vue.d.ts +43 -38
  203. package/lib/src/ap-form/items/switch/index.vue.d.ts +24 -19
  204. package/lib/src/ap-form/items/text/index.vue.d.ts +591 -25
  205. package/lib/src/ap-form/items/text/password.vue.d.ts +658 -27
  206. package/lib/src/ap-form/items/text-area/index.vue.d.ts +486 -13
  207. package/lib/src/ap-form/modal-form/index.vue.d.ts +650 -16
  208. package/lib/src/ap-form/search-form/index.vue.d.ts +652 -18
  209. package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +20 -15
  210. package/lib/src/ap-list/index.vue.d.ts +5 -5
  211. package/lib/src/ap-modal/utils/createModal.js +1 -1
  212. package/lib/src/ap-table/ap-table.vue.d.ts +5 -5
  213. package/lib/src/ap-table/ap-table.vue.js +1 -1
  214. package/lib/src/ap-table/components/index/index.vue.d.ts +4 -4
  215. package/lib/src/ap-table/constants.d.ts +1071 -1072
  216. package/lib/src/ap-table/hooks/use-table-paging.d.ts +2 -1
  217. package/lib/src/ap-table/interface.d.ts +1 -1
  218. package/lib/src/ap-table/style/ap-table.css +3 -0
  219. package/lib/src/ap-table/utils.d.ts +586 -587
  220. package/lib/src/ap-tag/ap-tag-group.vue.d.ts +18 -11
  221. package/lib/src/ap-tag/ap-tag.vue.d.ts +5 -5
  222. package/lib/src/base-button/button.vue.d.ts +17 -12
  223. package/lib/src/base-button/index.d.ts +30 -30
  224. package/lib/src/basic/index.d.ts +6 -6
  225. package/lib/src/basic/title.vue.d.ts +16 -11
  226. package/lib/src/business/ap-batch-action/ApBatchAction.vue.d.ts +13 -8
  227. package/lib/src/business/ap-image/ApImage.vue.d.ts +22 -1
  228. package/lib/src/business/ap-image/ApImage.vue2.js +1 -1
  229. package/lib/src/business/ap-input-radio/ApInputRadio.vue.d.ts +4 -4
  230. package/lib/src/business/ap-label/ApLabel.d.ts +2 -2
  231. package/lib/src/business/ap-label/ApLabel.js +1 -1
  232. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +6 -6
  233. package/lib/src/business/ap-status/ApStatus.vue.d.ts +5 -5
  234. package/lib/src/business/ap-status/ApStatusGroup.vue.d.ts +5 -5
  235. package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +7 -0
  236. package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.js +1 -0
  237. package/lib/src/business/ap-table-modal/hooks/use-table-modal.d.ts +7 -0
  238. package/lib/src/business/ap-table-modal/hooks/use-table-modal.js +1 -0
  239. package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +6 -0
  240. package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.js +1 -0
  241. package/lib/src/business/ap-table-modal/index.d.ts +538 -0
  242. package/lib/src/business/ap-table-modal/index.js +1 -0
  243. package/lib/src/business/ap-table-modal/interface.d.ts +63 -0
  244. package/lib/src/business/ap-table-modal/interface.js +1 -0
  245. package/lib/src/business/ap-table-modal/modal-title.vue.d.ts +46 -0
  246. package/lib/src/business/ap-table-modal/modal-title.vue.js +1 -0
  247. package/lib/src/business/ap-table-modal/modal-title.vue2.js +1 -0
  248. package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +79 -0
  249. package/lib/src/business/ap-table-modal/table-modal.vue.js +1 -0
  250. package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -0
  251. package/lib/src/business/expandAlert/ApExpandAlert.vue.d.ts +19 -12
  252. package/lib/src/business/index.d.ts +140 -131
  253. package/lib/src/business/index.js +1 -1
  254. package/lib/src/business/title/ApTitle.vue.d.ts +17 -12
  255. package/lib/src/button/button.vue.d.ts +12 -7
  256. package/lib/src/button/index.d.ts +2 -2
  257. package/lib/src/check-card/group.vue.d.ts +18 -13
  258. package/lib/src/check-card/index.vue.d.ts +16 -11
  259. package/lib/src/config-provider/config-provider-props.d.ts +6 -4
  260. package/lib/src/config-provider/config-provider.d.ts +5 -5
  261. package/lib/src/config-provider/hooks/use-global-config.d.ts +2 -1
  262. package/lib/src/config-provider/index.d.ts +17 -17
  263. package/lib/src/container/index.d.ts +4 -4
  264. package/lib/src/container/scroll-container.vue.d.ts +181 -8
  265. package/lib/src/count-down/button.vue.d.ts +4 -4
  266. package/lib/src/count-down/index.d.ts +8 -8
  267. package/lib/src/count-down/input.vue.d.ts +16 -11
  268. package/lib/src/cropper/cropper-avatar.vue.d.ts +4 -4
  269. package/lib/src/cropper/cropper-image.vue.d.ts +4 -4
  270. package/lib/src/cropper/index.d.ts +4 -4
  271. package/lib/src/description/index.d.ts +2 -2
  272. package/lib/src/dropdown/dropdown.vue.d.ts +16 -11
  273. package/lib/src/dropdown/index.d.ts +2 -2
  274. package/lib/src/editable-table/form-item.vue.d.ts +5 -5
  275. package/lib/src/editable-table/form-item.vue.js +1 -1
  276. package/lib/src/editable-table/hooks/use-get-columns.js +1 -1
  277. package/lib/src/editable-table/index.vue.d.ts +6 -6
  278. package/lib/src/editable-table/interface.d.ts +2 -2
  279. package/lib/src/editable-table/utils.js +1 -1
  280. package/lib/src/icon/icon.vue.d.ts +4 -5
  281. package/lib/src/icon/index.d.ts +16 -16
  282. package/lib/src/icon/svg-icon.vue.d.ts +4 -4
  283. package/lib/src/icon-picker/icon-picker.vue.d.ts +4 -4
  284. package/lib/src/icon-picker/index.d.ts +2 -2
  285. package/lib/src/index.js +1 -1
  286. package/lib/src/locale/lang/en.js +1 -1
  287. package/lib/src/locale/lang/zh-cn.js +1 -1
  288. package/lib/src/modal/basic.vue.d.ts +210 -5
  289. package/lib/src/modal/components/modal-close.vue.d.ts +4 -4
  290. package/lib/src/modal/components/modal-footer.vue.d.ts +10 -5
  291. package/lib/src/modal/components/modal-wrapper.vue.d.ts +77 -4
  292. package/lib/src/modal/components/modal.d.ts +1 -1
  293. package/lib/src/modal/index.d.ts +5 -5
  294. package/lib/src/pro-form/components/api-cascader.vue.d.ts +4 -4
  295. package/lib/src/pro-form/components/api-radio-group.vue.d.ts +4 -4
  296. package/lib/src/pro-form/components/api-select.vue.d.ts +16 -11
  297. package/lib/src/pro-form/components/api-transfer.vue.d.ts +5 -5
  298. package/lib/src/pro-form/components/api-tree-select.vue.d.ts +16 -11
  299. package/lib/src/pro-form/components/api-tree.vue.d.ts +16 -11
  300. package/lib/src/pro-form/components/form-action.vue.d.ts +19 -14
  301. package/lib/src/pro-form/components/radio-button-group.vue.d.ts +4 -4
  302. package/lib/src/pro-form/hooks/use-label-width.d.ts +25 -25
  303. package/lib/src/pro-form/pro-form.vue.d.ts +888 -15
  304. package/lib/src/pro-form/table-form-inner.vue.d.ts +6 -5
  305. package/lib/src/pro-form/table-form.vue.d.ts +6 -5
  306. package/lib/src/pro-form/types/form.d.ts +4 -4
  307. package/lib/src/pro-table/components/edit-table-header-icon.vue.d.ts +7 -2
  308. package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +1 -1
  309. package/lib/src/pro-table/components/table-action.vue.d.ts +7 -2
  310. package/lib/src/pro-table/components/table-footer.vue.d.ts +4 -4
  311. package/lib/src/pro-table/components/table-header.vue.d.ts +9 -4
  312. package/lib/src/pro-table/components/table-image.vue.d.ts +4 -4
  313. package/lib/src/pro-table/components/table-selection-bar.vue.d.ts +4 -4
  314. package/lib/src/pro-table/pro-table.vue.d.ts +2049 -28
  315. package/lib/src/prompt/utils.d.ts +1 -1
  316. package/lib/src/scroll-bar/index.d.ts +2 -2
  317. package/lib/src/scroll-bar/scroll-bar.vue.d.ts +19 -11
  318. package/lib/src/strength-meter/index.d.ts +2 -2
  319. package/lib/src/strength-meter/strength-meter.vue.d.ts +16 -11
  320. package/lib/src/theme/antd-global-overwrite/admin/index.css +1 -0
  321. package/lib/src/theme/antd-global-overwrite/admin/table.css +1 -0
  322. package/lib/src/theme/antd-global-overwrite/aplus/index.css +1 -0
  323. package/lib/src/theme/antd-global-overwrite/aplus/table.css +1 -0
  324. package/lib/src/theme/ap-table/ap-table.css +3 -0
  325. package/lib/src/transition/collapse-transition.vue.d.ts +7 -2
  326. package/lib/src/utils/config-provider-preset.d.ts +5 -5
  327. package/lib/src/work-order-modal/createWorkOrder.js +1 -1
  328. package/lib/src/work-order-modal/help-message.vue2.js +1 -1
  329. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
  330. package/lib/src/work-order-modal/work-order-modal.vue.js +1 -1
  331. package/package.json +3 -3
@@ -1,4 +1,4 @@
1
- import { defineComponent as q, ref as y, unref as o, useSlots as G, watch as H, openBlock as d, createBlock as C, mergeProps as b, withCtx as m, createVNode as w, createSlots as I, createElementBlock as M, normalizeClass as W, createCommentVNode as R, createElementVNode as $, toDisplayString as Q, normalizeStyle as U, renderList as J, renderSlot as X, normalizeProps as Y, guardReactiveProps as Z } from "vue";
1
+ import { defineComponent as q, ref as y, unref as t, useSlots as G, watch as H, openBlock as m, createBlock as C, mergeProps as b, withCtx as d, createVNode as w, createSlots as I, createElementBlock as M, normalizeClass as W, createCommentVNode as R, createElementVNode as $, toDisplayString as Q, normalizeStyle as U, renderList as J, renderSlot as X, normalizeProps as Y, guardReactiveProps as Z } from "vue";
2
2
  import { Table as ee, Tooltip as oe } from "ant-design-vue";
3
3
  import { ApForm as B } from "../ap-form/index.mjs";
4
4
  import { isNumber as i, cloneDeep as f, omit as te } from "lodash-unified";
@@ -10,8 +10,8 @@ import le from "./hooks/use-get-columns.mjs";
10
10
  import { scrollToRowIndex as ne, getColumnIsRequired as re } from "./utils.mjs";
11
11
  import { QuestionCircleOutlined as se } from "@ant-design/icons-vue";
12
12
  import { useToken as ue } from "ant-design-vue/es/theme/internal";
13
- import { useNamespace as me } from "../config-provider/hooks/use-namespace.mjs";
14
- import { useGlobalConfig as de } from "../config-provider/hooks/use-global-config.mjs";
13
+ import { useNamespace as de } from "../config-provider/hooks/use-namespace.mjs";
14
+ import { useGlobalConfig as me } from "../config-provider/hooks/use-global-config.mjs";
15
15
  const ve = /* @__PURE__ */ q({
16
16
  name: "EditableTableInner",
17
17
  __name: "form-item",
@@ -119,102 +119,102 @@ const ve = /* @__PURE__ */ q({
119
119
  const l = k, {
120
120
  internalInstance: n,
121
121
  model: D
122
- } = ae(), r = y(((h = o(D)) == null ? void 0 : h[l.name]) || []), L = G(), T = B.useWatch(l.name);
122
+ } = ae(), s = y(((h = t(D)) == null ? void 0 : h[l.name]) || []), L = G(), T = B.useWatch(l.name);
123
123
  H(() => T.value, (e) => {
124
- var t;
125
- r.value = e, (t = l.onChange) == null || t.call(l, e);
124
+ var o;
125
+ s.value = e, (o = l.onChange) == null || o.call(l, e);
126
126
  }, {
127
127
  deep: !0
128
128
  });
129
129
  const {
130
130
  b: E,
131
131
  em: F
132
- } = me("editable-table"), c = y(), N = de("valueTypeMap"), [, S] = ue(), _ = le(l, N);
133
- function z(e, t) {
132
+ } = de("editable-table"), c = y(), N = me("valueTypeMap"), [, S] = ue(), _ = le(l, N);
133
+ function V(e, o) {
134
134
  var u;
135
- const a = ((u = o(r)) == null ? void 0 : u.length) || 0;
135
+ const a = ((u = t(s)) == null ? void 0 : u.length) || 0;
136
136
  if (p(l.maxLength) && a >= l.maxLength)
137
137
  return;
138
- const s = [...o(r) || []];
139
- p(t) ? s.splice(t, 0, {
138
+ const r = [...t(s) || []];
139
+ p(o) ? r.splice(o, 0, {
140
140
  ...e || {}
141
- }) : s.push({
141
+ }) : r.push({
142
142
  ...e || {}
143
- }), n == null || n.setFieldValue(l.name, [...o(r) || [], e || {}]);
143
+ }), n == null || n.setFieldValue(l.name, r);
144
144
  }
145
- function P(e, t = "suffix") {
145
+ function z(e, o = "suffix") {
146
146
  var g;
147
- const a = ((g = o(r)) == null ? void 0 : g.length) || 0, s = i(e) ? e : e.length;
148
- if (p(l.maxLength) && a + s > l.maxLength)
147
+ const a = ((g = t(s)) == null ? void 0 : g.length) || 0, r = i(e) ? e : e.length;
148
+ if (p(l.maxLength) && a + r > l.maxLength)
149
149
  return;
150
- const u = [...o(r) || []], x = i(e) ? new Array(e).fill({}) : f(e);
151
- t === "suffix" ? u.push(...x) : u.unshift(...x), n == null || n.setFieldValue(l.name, u);
150
+ const u = [...t(s) || []], x = i(e) ? new Array(e).fill({}) : f(e);
151
+ o === "suffix" ? u.push(...x) : u.unshift(...x), n == null || n.setFieldValue(l.name, u);
152
152
  }
153
- function V(e) {
154
- let t = f(o(r) || []);
153
+ function P(e) {
154
+ let o = f(t(s) || []);
155
155
  const a = i(e) ? [e] : e;
156
- t = t.filter((s, u) => !a.includes(u)), n == null || n.setFieldValue(l.name, t);
156
+ o = o.filter((r, u) => !a.includes(u)), n == null || n.setFieldValue(l.name, o);
157
157
  }
158
158
  function j() {
159
- return o(r);
159
+ return t(s);
160
160
  }
161
161
  function O(e) {
162
- var t;
163
- return (t = o(r)) == null ? void 0 : t[e];
162
+ var o;
163
+ return (o = t(s)) == null ? void 0 : o[e];
164
164
  }
165
- function A(e, t) {
166
- const a = f(o(r));
165
+ function A(e, o) {
166
+ const a = f(t(s));
167
167
  a[e] && (a[e] = {
168
168
  ...a[e],
169
- ...t
169
+ ...o
170
170
  }, n == null || n.setFieldValue(l.name, [...a]));
171
171
  }
172
- function K(e, t) {
173
- var s;
174
- const a = e === "end" ? r.value.length - 1 : e;
175
- ne(a, (s = c.value) == null ? void 0 : s.$el, t);
172
+ function K(e, o) {
173
+ var r;
174
+ const a = e === "end" ? s.value.length - 1 : e;
175
+ ne(a, (r = c.value) == null ? void 0 : r.$el, o);
176
176
  }
177
177
  return v({
178
- add: z,
179
- remove: V,
178
+ add: V,
179
+ remove: P,
180
180
  getRowData: O,
181
181
  getRowsData: j,
182
182
  setRowData: A,
183
- addMultiple: P,
183
+ addMultiple: z,
184
184
  scrollTo: K
185
- }), (e, t) => (d(), C(o(B).FormItem, b(e.formItem, {
185
+ }), (e, o) => (m(), C(t(B).FormItem, b(e.formItem, {
186
186
  name: e.name,
187
187
  label: e.label
188
188
  }), {
189
- default: m(() => [w(o(ee), b(o(te)(l, ["name", "maxLength", "onChange"]), {
190
- class: o(E)(),
191
- columns: o(_),
192
- "data-source": r.value,
189
+ default: d(() => [w(t(ee), b(t(te)(l, ["name", "maxLength", "onChange"]), {
190
+ class: t(E)(),
191
+ columns: t(_),
192
+ "data-source": s.value,
193
193
  ref_key: "tableRef",
194
194
  ref: c
195
195
  }), I({
196
- headerCell: m(({
196
+ headerCell: d(({
197
197
  column: a
198
- }) => [o(re)(a) ? (d(), M("span", {
198
+ }) => [t(re)(a) ? (m(), M("span", {
199
199
  key: 0,
200
- class: W(o(F)("header-cell", "required"))
201
- }, "*", 2)) : R("", !0), $("span", null, Q(a.title), 1), a.tooltip ? (d(), C(o(oe), {
200
+ class: W(t(F)("header-cell", "required"))
201
+ }, "*", 2)) : R("", !0), $("span", null, Q(a.title), 1), a.tooltip ? (m(), C(t(oe), {
202
202
  key: 1,
203
203
  title: a.tooltip,
204
204
  placement: "bottom"
205
205
  }, {
206
- default: m(() => [w(o(se), {
206
+ default: d(() => [w(t(se), {
207
207
  style: U({
208
208
  paddingLeft: "4px",
209
- color: o(S).colorPrimary
209
+ color: t(S).colorPrimary
210
210
  })
211
211
  }, null, 8, ["style"])]),
212
212
  _: 2
213
213
  }, 1032, ["title"])) : R("", !0)]),
214
214
  _: 2
215
- }, [J(L, (a, s) => ({
216
- name: s,
217
- fn: m((u) => [X(e.$slots, s, Y(Z(u || {})))])
215
+ }, [J(L, (a, r) => ({
216
+ name: r,
217
+ fn: d((u) => [X(e.$slots, r, Y(Z(u || {})))])
218
218
  }))]), 1040, ["class", "columns", "data-source"])]),
219
219
  _: 3
220
220
  }, 16, ["name", "label"]));
@@ -1,63 +1,71 @@
1
- import { computed as g, unref as F } from "vue";
2
- import { omit as b, isFunction as x } from "lodash-unified";
3
- import { mergeClass as R, getFinalNode as h } from "../utils.mjs";
4
- import { updateFormProps as C, getFieldProps as I, getPlaceholder as y, getTableRenderProps as T } from "../../ap-table/utils.mjs";
1
+ import { computed as b, unref as h } from "vue";
2
+ import { omit as I, isFunction as R, isArray as C } from "lodash-unified";
3
+ import { mergeClass as y, getFinalNode as T } from "../utils.mjs";
4
+ import { updateFormProps as N, getFieldProps as v, getPlaceholder as w, getTableRenderProps as A } from "../../ap-table/utils.mjs";
5
5
  import "../../config-provider/index.mjs";
6
- import { useLocale as N } from "../../config-provider/hooks/use-locale.mjs";
7
- const k = (o, i) => {
6
+ import { useLocale as G } from "../../config-provider/hooks/use-locale.mjs";
7
+ const B = (l, m) => {
8
8
  const {
9
- t: s
10
- } = N();
11
- return g(() => {
12
- let d = o.columns;
13
- return d ? (d = d.map((e) => ({
14
- ...b(e, ["ellipsis"]),
15
- customRender({
16
- value: a,
17
- ...n
18
- }) {
19
- const t = x(e.editable) ? e.editable(n.text, n.record, n.index) : !!e.editable;
20
- if (!e.valueType && !e.customRender && !e.customRenderFormItem)
21
- return console.warn("can not render table cell because no `valueType` / `customRender` / `customRenderFormItem`"), null;
22
- let c;
23
- if (t) {
24
- const l = C(e, I(e.fieldProps, {
25
- value: a,
26
- ...n
27
- })), u = {};
28
- o.onFieldChange && (u[`onUpdate:${l.valuePropName || "value"}`] = (f) => {
29
- var m;
30
- return (m = o.onFieldChange) == null ? void 0 : m.call(o, n.index, e.dataIndex, f);
31
- }), c = {
32
- name: [o.name, n.index, e.dataIndex],
33
- ...l || {},
34
- // 格式化placeholder
35
- placeholder: y(s, e.valueType, l == null ? void 0 : l.placeholder),
36
- field: {
37
- style: "width: 100%",
38
- ...(l == null ? void 0 : l.field) || {},
39
- ...u,
40
- class: R("is-editable", l.class)
41
- }
42
- };
43
- } else
44
- c = {
45
- field: T(e, {
46
- value: a,
9
+ t: f
10
+ } = G();
11
+ return b(() => {
12
+ const t = l.columns;
13
+ if (!t)
14
+ return [];
15
+ function c(x) {
16
+ return x.map((e) => ({
17
+ ...I(e, ["ellipsis"]),
18
+ children: c(e.children || []),
19
+ customRender({
20
+ value: o,
21
+ ...n
22
+ }) {
23
+ const a = R(e.editable) ? e.editable(n.text, n.record, n.index) : !!e.editable;
24
+ if (!e.valueType && !e.customRender && !e.customRenderFormItem)
25
+ return console.warn("can not render table cell because no `valueType` / `customRender` / `customRenderFormItem`"), null;
26
+ let r;
27
+ if (a) {
28
+ const d = N(e, v(e.fieldProps, {
29
+ value: o,
47
30
  ...n
48
- })
49
- };
50
- const r = h(e, t, c, a, n.record, F(i));
51
- return e.customRender ? e.customRender({
52
- value: a,
53
- ...n,
54
- editable: t,
55
- originalNode: r
56
- }) : r;
57
- }
58
- })), d) : [];
31
+ })), i = {};
32
+ l.onFieldChange && (i[`onUpdate:${d.valuePropName || "value"}`] = (F) => {
33
+ var s;
34
+ return (s = l.onFieldChange) == null ? void 0 : s.call(l, n.index, e.dataIndex, F);
35
+ });
36
+ const g = C(e.dataIndex) ? e.dataIndex : [e.dataIndex];
37
+ r = {
38
+ name: [l.name, n.index, ...g],
39
+ ...d || {},
40
+ // 格式化placeholder
41
+ placeholder: w(f, e.valueType, d == null ? void 0 : d.placeholder),
42
+ field: {
43
+ style: "width: 100%",
44
+ ...(d == null ? void 0 : d.field) || {},
45
+ ...i,
46
+ class: y("is-editable", d.class)
47
+ }
48
+ };
49
+ } else
50
+ r = {
51
+ field: A(e, {
52
+ value: o,
53
+ ...n
54
+ })
55
+ };
56
+ const u = T(e, a, r, o, n.record, h(m));
57
+ return e.customRender ? e.customRender({
58
+ value: o,
59
+ ...n,
60
+ editable: a,
61
+ originalNode: u
62
+ }) : u;
63
+ }
64
+ }));
65
+ }
66
+ return c(t);
59
67
  });
60
68
  };
61
69
  export {
62
- k as default
70
+ B as default
63
71
  };
@@ -3,8 +3,8 @@ import { NamePath, ValidateOptions } from 'ant-design-vue/es/form/interface';
3
3
  import { Recordable } from '../type';
4
4
  import { StandardBehaviorOptions } from '../../node_modules/scroll-into-view-if-needed';
5
5
  import { VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
6
- declare const _default: <RecordType extends Recordable = any>(__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<{
7
- props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
6
+ declare const _default: <RecordType extends Recordable = any>(__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<{
7
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
8
8
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
9
9
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{}>> & {
10
10
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
@@ -22,7 +22,7 @@ declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNu
22
22
  clear: () => void;
23
23
  }>): void;
24
24
  attrs: any;
25
- slots: ReturnType<() => Readonly<{
25
+ slots: Readonly<{
26
26
  default: any;
27
27
  emptyText?: any;
28
28
  expandIcon?: any;
@@ -52,14 +52,14 @@ declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNu
52
52
  title: any;
53
53
  column: EditableColumnType;
54
54
  }) => void;
55
- }>;
56
- emit: ((event: "update:value", ...args: any[]) => void) & {};
55
+ };
56
+ emit: (event: "update:value", ...args: any[]) => void;
57
57
  }>) => VNode<RendererNode, RendererElement, {
58
58
  [key: string]: any;
59
59
  }> & {
60
60
  __ctx?: Awaited<typeof __VLS_setup>;
61
61
  };
62
62
  export default _default;
63
- type __VLS_Prettify<T> = {
63
+ type __VLS_PrettifyLocal<T> = {
64
64
  [K in keyof T]: T[K];
65
65
  } & {};
@@ -8,7 +8,7 @@ import { EllipsisConfig } from 'ant-design-vue/es/typography/Base';
8
8
  import { StandardBehaviorOptions } from '../../node_modules/scroll-into-view-if-needed';
9
9
  import { Recordable } from '../type';
10
10
  export type EditableColumnType<RecordType = any, ExtraValueType = 'text', ValueType extends ApTableValueTypes = ApTableValueTypes, MergedValueType extends ExtraValueType | ValueType = ExtraValueType | ValueType> = MergedValueType extends ExtraValueType | ValueType ? Omit<ColumnType<RecordType>, 'children' | 'customRender' | 'ellipsis'> & {
11
- children?: EditableColumnType<RecordType, ExtraValueType, ValueType, MergedValueType>;
11
+ children?: EditableColumnType<RecordType, ExtraValueType, ValueType, MergedValueType>[];
12
12
  /**
13
13
  * 在title之后展示一个icon并触发tooltip
14
14
  */
@@ -32,7 +32,7 @@ export type EditableColumnType<RecordType = any, ExtraValueType = 'text', ValueT
32
32
  /**
33
33
  * 自定义表单,适用于内置`valueType`不满足的情况下使用
34
34
  */
35
- customRenderFormItem?: (config: EditableColumnType<RecordType>, fieldProps: Recordable, editable: boolean) => any;
35
+ customRenderFormItem?: (config: EditableColumnType<RecordType>, fieldProps: Recordable, editable: boolean, record: RecordType) => any;
36
36
  /**
37
37
  * 指定值类型(将会用于普通列和可编辑表格的渲染)
38
38
  */
@@ -1,5 +1,5 @@
1
1
  import { isVNode as F, createVNode as f, mergeProps as g } from "vue";
2
- import { isFunction as b, isArray as T, isBoolean as h, omit as P } from "lodash-unified";
2
+ import { isFunction as T, isArray as I, isBoolean as h, omit as P } from "lodash-unified";
3
3
  import { apTableFormItemMap as V, noRenderAsFormItemValueList as j, apTableRenderItemMap as q } from "../ap-table/constants.mjs";
4
4
  import { isDef as w } from "../utils/index.mjs";
5
5
  import { getValueStr as S } from "../ap-field/number/helper.mjs";
@@ -7,8 +7,8 @@ import A from "scroll-into-view-if-needed";
7
7
  import { Typography as v } from "ant-design-vue";
8
8
  import "../ap-form/index.mjs";
9
9
  import { objectToString as C } from "../ap-table/utils.mjs";
10
- import m from "../ap-form/ap-form-item.vue.mjs";
11
- function y(e) {
10
+ import y from "../ap-form/ap-form-item.vue.mjs";
11
+ function b(e) {
12
12
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !F(e);
13
13
  }
14
14
  function N(e) {
@@ -17,14 +17,14 @@ function N(e) {
17
17
  function Q(e) {
18
18
  if (!e.fieldProps)
19
19
  return !1;
20
- const t = b(e.fieldProps) ? e.fieldProps({}) : e.fieldProps;
21
- return w(t.required) ? t.required : (T(t.rules) ? t.rules : t.rules ? [t.rules] : []).some((r) => r.required);
20
+ const t = T(e.fieldProps) ? e.fieldProps({}) : e.fieldProps;
21
+ return w(t.required) ? t.required : (I(t.rules) ? t.rules : t.rules ? [t.rules] : []).some((r) => r.required);
22
22
  }
23
23
  function _(e, t) {
24
24
  if (e.valueType === "text" || e.valueType === "textArea")
25
25
  return t || "--";
26
26
  if (e.valueType === "number") {
27
- const o = e.fieldProps ? b(e.fieldProps) ? e.fieldProps({}) : e.fieldProps : {};
27
+ const o = e.fieldProps ? T(e.fieldProps) ? e.fieldProps({}) : e.fieldProps : {};
28
28
  return S(t, o) || "--";
29
29
  }
30
30
  return C(t);
@@ -32,7 +32,7 @@ function _(e, t) {
32
32
  function R(e, t) {
33
33
  const o = [e];
34
34
  if (t) {
35
- const r = T(t) ? t : [t];
35
+ const r = I(t) ? t : [t];
36
36
  o.unshift(...r);
37
37
  }
38
38
  return o.join(" ");
@@ -61,32 +61,32 @@ function D(e, t, o) {
61
61
  content: e.ellipsis ? _(e, t) : o
62
62
  }, null) : o;
63
63
  }
64
- function W(e, t, o, r, I, i) {
65
- var c, a;
64
+ function W(e, t, o, r, d, i) {
65
+ var a, m;
66
66
  if (t) {
67
67
  if (e.customRenderFormItem) {
68
- const n = e.customRenderFormItem(e, o.field, t);
69
- return f(m, P(o, ["field"]), y(n) ? n : {
68
+ const n = e.customRenderFormItem(e, o.field, t, d);
69
+ return f(y, P(o, ["field"]), b(n) ? n : {
70
70
  default: () => [n]
71
71
  });
72
72
  }
73
73
  const l = N(e.valueType);
74
74
  if (l)
75
75
  return f(l, o, null);
76
- const s = i == null ? void 0 : i[e.valueType], u = (c = s == null ? void 0 : s.renderFormItem) == null ? void 0 : c.call(s, o.field);
77
- return u ? f(m, o, y(u) ? u : {
76
+ const s = i == null ? void 0 : i[e.valueType], u = (a = s == null ? void 0 : s.renderFormItem) == null ? void 0 : a.call(s, o.field);
77
+ return u ? f(y, o, b(u) ? u : {
78
78
  default: () => [u]
79
79
  }) : null;
80
80
  }
81
81
  let p;
82
- const d = q[e.valueType];
83
- if (d)
84
- p = f(d, g(o.field, {
82
+ const c = q[e.valueType];
83
+ if (c)
84
+ p = f(c, g(o.field, {
85
85
  mode: "read"
86
86
  }), null);
87
87
  else {
88
88
  const l = i == null ? void 0 : i[e.valueType];
89
- p = (a = l == null ? void 0 : l.render) == null ? void 0 : a.call(l, r, I, o.field);
89
+ p = (m = l == null ? void 0 : l.render) == null ? void 0 : m.call(l, r, d, o.field);
90
90
  }
91
91
  return p ? D(e, r, p) : null;
92
92
  }
@@ -14,15 +14,11 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOpti
14
14
  spin: boolean;
15
15
  }, {}>;
16
16
  export default _default;
17
-
18
17
  type __VLS_WithDefaults<P, D> = {
19
- [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] & {
20
19
  default: D[K];
21
20
  }> : P[K];
22
21
  };
23
- type __VLS_Prettify<T> = {
24
- [K in keyof T]: T[K];
25
- } & {};
26
22
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
27
23
  type __VLS_TypePropsToOption<T> = {
28
24
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -32,3 +28,6 @@ type __VLS_TypePropsToOption<T> = {
32
28
  required: true;
33
29
  };
34
30
  };
31
+ type __VLS_PrettifyLocal<T> = {
32
+ [K in keyof T]: T[K];
33
+ } & {};
@@ -6,6 +6,9 @@ export declare const Icon: {
6
6
  type: PropType<string | number>;
7
7
  default: number;
8
8
  };
9
+ color: {
10
+ type: PropType<string>;
11
+ };
9
12
  icon: {
10
13
  type: PropType<string>;
11
14
  required: true;
@@ -14,9 +17,6 @@ export declare const Icon: {
14
17
  type: PropType<string>;
15
18
  default: string;
16
19
  };
17
- color: {
18
- type: PropType<string>;
19
- };
20
20
  spin: {
21
21
  type: PropType<boolean>;
22
22
  default: boolean;
@@ -26,6 +26,9 @@ export declare const Icon: {
26
26
  type: PropType<string | number>;
27
27
  default: number;
28
28
  };
29
+ color: {
30
+ type: PropType<string>;
31
+ };
29
32
  icon: {
30
33
  type: PropType<string>;
31
34
  required: true;
@@ -34,9 +37,6 @@ export declare const Icon: {
34
37
  type: PropType<string>;
35
38
  default: string;
36
39
  };
37
- color: {
38
- type: PropType<string>;
39
- };
40
40
  spin: {
41
41
  type: PropType<boolean>;
42
42
  default: boolean;
@@ -57,6 +57,9 @@ export declare const Icon: {
57
57
  type: PropType<string | number>;
58
58
  default: number;
59
59
  };
60
+ color: {
61
+ type: PropType<string>;
62
+ };
60
63
  icon: {
61
64
  type: PropType<string>;
62
65
  required: true;
@@ -65,9 +68,6 @@ export declare const Icon: {
65
68
  type: PropType<string>;
66
69
  default: string;
67
70
  };
68
- color: {
69
- type: PropType<string>;
70
- };
71
71
  spin: {
72
72
  type: PropType<boolean>;
73
73
  default: boolean;
@@ -85,6 +85,9 @@ export declare const Icon: {
85
85
  type: PropType<string | number>;
86
86
  default: number;
87
87
  };
88
+ color: {
89
+ type: PropType<string>;
90
+ };
88
91
  icon: {
89
92
  type: PropType<string>;
90
93
  required: true;
@@ -93,9 +96,6 @@ export declare const Icon: {
93
96
  type: PropType<string>;
94
97
  default: string;
95
98
  };
96
- color: {
97
- type: PropType<string>;
98
- };
99
99
  spin: {
100
100
  type: PropType<boolean>;
101
101
  default: boolean;
@@ -104,11 +104,11 @@ export declare const Icon: {
104
104
  size: string | number;
105
105
  prefix: string;
106
106
  spin: boolean;
107
- }, {}, string, {}> & ( VNodeProps & ( AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
107
+ }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
108
108
  $props: {
109
109
  onClick?: () => void;
110
110
  };
111
- }))));
111
+ }));
112
112
  export declare const SvgIcon: {
113
113
  new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
114
114
  size: {
@@ -201,8 +201,8 @@ export declare const SvgIcon: {
201
201
  size: string | number;
202
202
  prefix: string;
203
203
  spin: boolean;
204
- }, {}, string, {}> & ( VNodeProps & ( AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
204
+ }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
205
205
  $props: {
206
206
  onClick?: () => void;
207
207
  };
208
- }))));
208
+ }));
@@ -15,13 +15,10 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOpti
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
+ } & {};
@@ -33,13 +33,10 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOpti
33
33
  }, {}>;
34
34
  export default _default;
35
35
  type __VLS_WithDefaults<P, D> = {
36
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
36
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
37
37
  default: D[K];
38
38
  }> : P[K];
39
39
  };
40
- type __VLS_Prettify<T> = {
41
- [K in keyof T]: T[K];
42
- } & {};
43
40
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
44
41
  type __VLS_TypePropsToOption<T> = {
45
42
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -49,3 +46,6 @@ type __VLS_TypePropsToOption<T> = {
49
46
  required: true;
50
47
  };
51
48
  };
49
+ type __VLS_PrettifyLocal<T> = {
50
+ [K in keyof T]: T[K];
51
+ } & {};
@@ -182,9 +182,9 @@ export declare const IconPicker: {
182
182
  readonly: boolean;
183
183
  allowClear: boolean;
184
184
  pageSize: number;
185
- }, {}, string, {}> & ( VNodeProps & ( AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
185
+ }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
186
186
  $props: {
187
187
  onClick?: () => void;
188
188
  };
189
- }))));
189
+ }));
190
190
  export default IconPicker;