@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
@@ -62,15 +62,15 @@ export declare const CountdownButton: {
62
62
  };
63
63
  }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
64
64
  count: number;
65
- }, {}, string, {}> & ( VNodeProps & ( AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
65
+ }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
66
66
  $props: {
67
67
  onClick?: () => void;
68
68
  };
69
- }))));
69
+ }));
70
70
  export declare const CountdownInput: {
71
71
  new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
72
72
  size: {
73
- type: PropType<"small" | "middle" | "large">;
73
+ type: PropType<"small" | "large" | "middle">;
74
74
  };
75
75
  value: {
76
76
  type: PropType<string>;
@@ -84,7 +84,7 @@ export declare const CountdownInput: {
84
84
  };
85
85
  }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
86
86
  size: {
87
- type: PropType<"small" | "middle" | "large">;
87
+ type: PropType<"small" | "large" | "middle">;
88
88
  };
89
89
  value: {
90
90
  type: PropType<string>;
@@ -107,7 +107,7 @@ export declare const CountdownInput: {
107
107
  Defaults: {};
108
108
  }, Readonly< ExtractPropTypes<{
109
109
  size: {
110
- type: PropType<"small" | "middle" | "large">;
110
+ type: PropType<"small" | "large" | "middle">;
111
111
  };
112
112
  value: {
113
113
  type: PropType<string>;
@@ -127,7 +127,7 @@ export declare const CountdownInput: {
127
127
  __isSuspense?: never;
128
128
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
129
129
  size: {
130
- type: PropType<"small" | "middle" | "large">;
130
+ type: PropType<"small" | "large" | "middle">;
131
131
  };
132
132
  value: {
133
133
  type: PropType<string>;
@@ -141,10 +141,10 @@ export declare const CountdownInput: {
141
141
  };
142
142
  }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
143
143
  count: number;
144
- }, {}, string, {}> & ( VNodeProps & AllowedComponentProps & ( ComponentCustomProps & (new () => {
144
+ }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
145
145
  $slots: Partial<Record<string, (_: any) => any>>;
146
146
  }) & ( Plugin & (new (...args: any[]) => {
147
147
  $props: {
148
148
  onClick?: () => void;
149
149
  };
150
- }))));
150
+ }));
@@ -1,6 +1,11 @@
1
1
  import { CountdownInputProps } from './interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
- declare function __VLS_template(): Partial<Record<string, (_: any) => any>>;
3
+ declare function __VLS_template(): {
4
+ slots: Partial<Record<string, (_: any) => any>>;
5
+ refs: {};
6
+ attrs: Partial<{}>;
7
+ };
8
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
4
9
  declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<CountdownInputProps>, {
5
10
  count: number;
6
11
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<CountdownInputProps>, {
@@ -8,21 +13,13 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
8
13
  }>>>, {
9
14
  count: number;
10
15
  }, {}>;
11
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
16
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
12
17
  export default _default;
13
18
  type __VLS_WithDefaults<P, D> = {
14
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
19
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
15
20
  default: D[K];
16
21
  }> : P[K];
17
22
  };
18
- type __VLS_Prettify<T> = {
19
- [K in keyof T]: T[K];
20
- } & {};
21
- type __VLS_WithTemplateSlots<T, S> = T & {
22
- new (): {
23
- $slots: S;
24
- };
25
- };
26
23
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
27
24
  type __VLS_TypePropsToOption<T> = {
28
25
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -32,3 +29,11 @@ type __VLS_TypePropsToOption<T> = {
32
29
  required: true;
33
30
  };
34
31
  };
32
+ type __VLS_WithTemplateSlots<T, S> = T & {
33
+ new (): {
34
+ $slots: S;
35
+ };
36
+ };
37
+ type __VLS_PrettifyLocal<T> = {
38
+ [K in keyof T]: T[K];
39
+ } & {};
@@ -27,13 +27,10 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOpti
27
27
  }, {}>;
28
28
  export default _default;
29
29
  type __VLS_WithDefaults<P, D> = {
30
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
30
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
31
31
  default: D[K];
32
32
  }> : P[K];
33
33
  };
34
- type __VLS_Prettify<T> = {
35
- [K in keyof T]: T[K];
36
- } & {};
37
34
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
38
35
  type __VLS_TypePropsToOption<T> = {
39
36
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -43,3 +40,6 @@ type __VLS_TypePropsToOption<T> = {
43
40
  required: true;
44
41
  };
45
42
  };
43
+ type __VLS_PrettifyLocal<T> = {
44
+ [K in keyof T]: T[K];
45
+ } & {};
@@ -32,13 +32,10 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOpti
32
32
  }, {}>;
33
33
  export default _default;
34
34
  type __VLS_WithDefaults<P, D> = {
35
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
35
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
36
36
  default: D[K];
37
37
  }> : P[K];
38
38
  };
39
- type __VLS_Prettify<T> = {
40
- [K in keyof T]: T[K];
41
- } & {};
42
39
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
43
40
  type __VLS_TypePropsToOption<T> = {
44
41
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -48,3 +45,6 @@ type __VLS_TypePropsToOption<T> = {
48
45
  required: true;
49
46
  };
50
47
  };
48
+ type __VLS_PrettifyLocal<T> = {
49
+ [K in keyof T]: T[K];
50
+ } & {};
@@ -187,11 +187,11 @@ export declare const CropperImage: {
187
187
  circled: boolean;
188
188
  realTimePreview: boolean;
189
189
  crossorigin: "" | "anonymous" | "use-credentials";
190
- }, {}, string, {}> & ( VNodeProps & ( AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
190
+ }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
191
191
  $props: {
192
192
  onClick?: () => void;
193
193
  };
194
- }))));
194
+ }));
195
195
  export declare const CropperAvatar: {
196
196
  new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
197
197
  size: {
@@ -362,8 +362,8 @@ export declare const CropperAvatar: {
362
362
  width: string | number;
363
363
  showBtn: boolean;
364
364
  btnText: string;
365
- }, {}, string, {}> & ( VNodeProps & ( AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
365
+ }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
366
366
  $props: {
367
367
  onClick?: () => void;
368
368
  };
369
- }))));
369
+ }));
@@ -207,8 +207,8 @@ export declare const Description: {
207
207
  schema: DescItem[];
208
208
  useCollapse: boolean;
209
209
  collapseOptions: CollapseContainerOptions;
210
- }, {}, string, {}> & ( VNodeProps & ( AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
210
+ }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
211
211
  $props: {
212
212
  onClick?: () => void;
213
213
  };
214
- }))));
214
+ }));
@@ -2,8 +2,13 @@ import { DropdownProps, DropMenu } from './interface';
2
2
  import { Recordable } from '../type';
3
3
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
4
4
  declare function __VLS_template(): {
5
- default?(_: {}): any;
5
+ slots: {
6
+ default?(_: {}): 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<DropdownProps>, {
8
13
  trigger: () => string[];
9
14
  dropMenuList: () => never[];
@@ -21,21 +26,13 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
21
26
  selectedKeys: string[];
22
27
  dropMenuList: Array<DropMenu & Recordable<any>>;
23
28
  }, {}>;
24
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
29
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
25
30
  export default _default;
26
31
  type __VLS_WithDefaults<P, D> = {
27
- [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] & {
28
33
  default: D[K];
29
34
  }> : P[K];
30
35
  };
31
- type __VLS_Prettify<T> = {
32
- [K in keyof T]: T[K];
33
- } & {};
34
- type __VLS_WithTemplateSlots<T, S> = T & {
35
- new (): {
36
- $slots: S;
37
- };
38
- };
39
36
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
40
37
  type __VLS_TypePropsToOption<T> = {
41
38
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -45,3 +42,11 @@ type __VLS_TypePropsToOption<T> = {
45
42
  required: true;
46
43
  };
47
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
+ } & {};
@@ -102,7 +102,7 @@ export declare const Dropdown: {
102
102
  trigger: Array<"contextmenu" | "click" | "hover">;
103
103
  selectedKeys: string[];
104
104
  dropMenuList: Array< DropMenu & Recordable<any>>;
105
- }, {}, string, {}> & ( VNodeProps & AllowedComponentProps & ( ComponentCustomProps & (new () => {
105
+ }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
106
106
  $slots: {
107
107
  default?(_: {}): any;
108
108
  };
@@ -110,4 +110,4 @@ export declare const Dropdown: {
110
110
  $props: {
111
111
  onClick?: () => void;
112
112
  };
113
- }))));
113
+ }));
@@ -2,8 +2,8 @@ import { EditableColumnType, EditableTableFormItemProps } from './interface';
2
2
  import { StandardBehaviorOptions } from '../../node_modules/scroll-into-view-if-needed';
3
3
  import { VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
4
4
  import { UnwrapRefSimple } from '@vue/reactivity';
5
- declare const _default: <RecordType = 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<{
6
- props: __VLS_Prettify<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{}>>, never>, never> & EditableTableFormItemProps<RecordType>> & PublicProps;
5
+ declare const _default: <RecordType = 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<{
6
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{}>>, never>, never> & EditableTableFormItemProps<RecordType>> & PublicProps;
7
7
  expose(exposed: ShallowUnwrapRef<{
8
8
  add: (defaultValue?: any, insertIndex?: number) => void;
9
9
  remove: (index: number | number[]) => void;
@@ -14,7 +14,7 @@ declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<type
14
14
  scrollTo: (index: number | "end", options?: StandardBehaviorOptions) => void;
15
15
  }>): void;
16
16
  attrs: any;
17
- slots: ReturnType<() => Readonly<{
17
+ slots: Readonly<{
18
18
  default: any;
19
19
  emptyText?: any;
20
20
  expandIcon?: any;
@@ -44,7 +44,7 @@ declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<type
44
44
  title: any;
45
45
  column: EditableColumnType;
46
46
  }) => void;
47
- }>;
47
+ };
48
48
  emit: {};
49
49
  }>) => VNode<RendererNode, RendererElement, {
50
50
  [key: string]: any;
@@ -52,6 +52,6 @@ declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<type
52
52
  __ctx?: Awaited<typeof __VLS_setup>;
53
53
  };
54
54
  export default _default;
55
- type __VLS_Prettify<T> = {
55
+ type __VLS_PrettifyLocal<T> = {
56
56
  [K in keyof T]: T[K];
57
57
  } & {};
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),h=require("ant-design-vue"),x=require("../ap-form/index.js"),d=require("lodash-unified");require("../config-provider/index.js");const V=require("../ap-form/context.js");require("./style/index.css");const i=require("../utils/index.js"),P=require("./hooks/use-get-columns.js"),g=require("./utils.js"),j=require("@ant-design/icons-vue"),z=require("ant-design-vue/es/theme/internal"),O=require("../config-provider/hooks/use-namespace.js"),A=require("../config-provider/hooks/use-global-config.js"),M=e.defineComponent({name:"EditableTableInner",__name:"form-item",props:{dropdownPrefixCls:{},pagination:{type:[Boolean,Object],default:!1},loading:{type:[Boolean,Object],default:void 0},size:{default:"middle"},bordered:{type:Boolean,default:!1},locale:{},onResizeColumn:{},rowSelection:{},getPopupContainer:{},scroll:{},sortDirections:{default:()=>["ascend","descend"]},showSorterTooltip:{type:[Boolean,Object],default:!0},prefixCls:{},rowKey:{default:"key"},tableLayout:{default:"fixed"},rowClassName:{},title:{},footer:{},id:{},showHeader:{type:Boolean,default:!0},components:{},customRow:{},customHeaderRow:{},direction:{},expandFixed:{type:[String,Boolean],default:!1},expandColumnWidth:{},expandedRowKeys:{},defaultExpandedRowKeys:{},expandedRowRender:{},expandRowByClick:{type:Boolean,default:!1},expandIcon:{},onExpand:{},onExpandedRowsChange:{},defaultExpandAllRows:{type:Boolean,default:!1},indentSize:{default:15},expandIconColumnIndex:{},showExpandColumn:{type:Boolean,default:!0},expandedRowClassName:{},childrenColumnName:{default:"children"},rowExpandable:{},sticky:{type:[Boolean,Object]},transformCellText:{},columns:{},value:{},defaultValue:{},"onUpdate:value":{},onChange:{},maxLength:{},onFieldChange:{},label:{},name:{},formItem:{default:()=>({})}},setup(C,{expose:b}){var f;const a=C,{internalInstance:l,model:y}=V.useInjectForm(),r=e.ref(((f=e.unref(y))==null?void 0:f[a.name])||[]),w=e.useSlots(),R=x.ApForm.useWatch(a.name);e.watch(()=>R.value,t=>{var o;r.value=t,(o=a.onChange)==null||o.call(a,t)},{deep:!0});const{b:B,em:q}=O.useNamespace("editable-table"),c=e.ref(),D=A.useGlobalConfig("valueTypeMap"),[,k]=z.useToken(),v=P.default(a,D);function N(t,o){var s;const n=((s=e.unref(r))==null?void 0:s.length)||0;if(i.isDef(a.maxLength)&&n>=a.maxLength)return;const u=[...e.unref(r)||[]];i.isDef(o)?u.splice(o,0,{...t||{}}):u.push({...t||{}}),l==null||l.setFieldValue(a.name,[...e.unref(r)||[],t||{}])}function S(t,o="suffix"){var p;const n=((p=e.unref(r))==null?void 0:p.length)||0,u=d.isNumber(t)?t:t.length;if(i.isDef(a.maxLength)&&n+u>a.maxLength)return;const s=[...e.unref(r)||[]],m=d.isNumber(t)?new Array(t).fill({}):d.cloneDeep(t);o==="suffix"?s.push(...m):s.unshift(...m),l==null||l.setFieldValue(a.name,s)}function T(t){let o=d.cloneDeep(e.unref(r)||[]);const n=d.isNumber(t)?[t]:t;o=o.filter((u,s)=>!n.includes(s)),l==null||l.setFieldValue(a.name,o)}function F(){return e.unref(r)}function L(t){var o;return(o=e.unref(r))==null?void 0:o[t]}function _(t,o){const n=d.cloneDeep(e.unref(r));n[t]&&(n[t]={...n[t],...o},l==null||l.setFieldValue(a.name,[...n]))}function E(t,o){var u;const n=t==="end"?r.value.length-1:t;g.scrollToRowIndex(n,(u=c.value)==null?void 0:u.$el,o)}return b({add:N,remove:T,getRowData:L,getRowsData:F,setRowData:_,addMultiple:S,scrollTo:E}),(t,o)=>(e.openBlock(),e.createBlock(e.unref(x.ApForm).FormItem,e.mergeProps(t.formItem,{name:t.name,label:t.label}),{default:e.withCtx(()=>[e.createVNode(e.unref(h.Table),e.mergeProps(e.unref(d.omit)(a,["name","maxLength","onChange"]),{class:e.unref(B)(),columns:e.unref(v),"data-source":r.value,ref_key:"tableRef",ref:c}),e.createSlots({headerCell:e.withCtx(({column:n})=>[e.unref(g.getColumnIsRequired)(n)?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(q)("header-cell","required"))},"*",2)):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.title),1),n.tooltip?(e.openBlock(),e.createBlock(e.unref(h.Tooltip),{key:1,title:n.tooltip,placement:"bottom"},{default:e.withCtx(()=>[e.createVNode(e.unref(j.QuestionCircleOutlined),{style:e.normalizeStyle({paddingLeft:"4px",color:e.unref(k).colorPrimary})},null,8,["style"])]),_:2},1032,["title"])):e.createCommentVNode("",!0)]),_:2},[e.renderList(w,(n,u)=>({name:u,fn:e.withCtx(s=>[e.renderSlot(t.$slots,u,e.normalizeProps(e.guardReactiveProps(s||{})))])}))]),1040,["class","columns","data-source"])]),_:3},16,["name","label"]))}});exports.default=M;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),h=require("ant-design-vue"),x=require("../ap-form/index.js"),d=require("lodash-unified");require("../config-provider/index.js");const E=require("../ap-form/context.js");require("./style/index.css");const i=require("../utils/index.js"),P=require("./hooks/use-get-columns.js"),g=require("./utils.js"),j=require("@ant-design/icons-vue"),z=require("ant-design-vue/es/theme/internal"),O=require("../config-provider/hooks/use-namespace.js"),A=require("../config-provider/hooks/use-global-config.js"),M=e.defineComponent({name:"EditableTableInner",__name:"form-item",props:{dropdownPrefixCls:{},pagination:{type:[Boolean,Object],default:!1},loading:{type:[Boolean,Object],default:void 0},size:{default:"middle"},bordered:{type:Boolean,default:!1},locale:{},onResizeColumn:{},rowSelection:{},getPopupContainer:{},scroll:{},sortDirections:{default:()=>["ascend","descend"]},showSorterTooltip:{type:[Boolean,Object],default:!0},prefixCls:{},rowKey:{default:"key"},tableLayout:{default:"fixed"},rowClassName:{},title:{},footer:{},id:{},showHeader:{type:Boolean,default:!0},components:{},customRow:{},customHeaderRow:{},direction:{},expandFixed:{type:[String,Boolean],default:!1},expandColumnWidth:{},expandedRowKeys:{},defaultExpandedRowKeys:{},expandedRowRender:{},expandRowByClick:{type:Boolean,default:!1},expandIcon:{},onExpand:{},onExpandedRowsChange:{},defaultExpandAllRows:{type:Boolean,default:!1},indentSize:{default:15},expandIconColumnIndex:{},showExpandColumn:{type:Boolean,default:!0},expandedRowClassName:{},childrenColumnName:{default:"children"},rowExpandable:{},sticky:{type:[Boolean,Object]},transformCellText:{},columns:{},value:{},defaultValue:{},"onUpdate:value":{},onChange:{},maxLength:{},onFieldChange:{},label:{},name:{},formItem:{default:()=>({})}},setup(C,{expose:b}){var f;const a=C,{internalInstance:l,model:y}=E.useInjectForm(),u=e.ref(((f=e.unref(y))==null?void 0:f[a.name])||[]),w=e.useSlots(),R=x.ApForm.useWatch(a.name);e.watch(()=>R.value,t=>{var o;u.value=t,(o=a.onChange)==null||o.call(a,t)},{deep:!0});const{b:B,em:q}=O.useNamespace("editable-table"),c=e.ref(),D=A.useGlobalConfig("valueTypeMap"),[,k]=z.useToken(),v=P.default(a,D);function N(t,o){var s;const n=((s=e.unref(u))==null?void 0:s.length)||0;if(i.isDef(a.maxLength)&&n>=a.maxLength)return;const r=[...e.unref(u)||[]];i.isDef(o)?r.splice(o,0,{...t||{}}):r.push({...t||{}}),l==null||l.setFieldValue(a.name,r)}function S(t,o="suffix"){var p;const n=((p=e.unref(u))==null?void 0:p.length)||0,r=d.isNumber(t)?t:t.length;if(i.isDef(a.maxLength)&&n+r>a.maxLength)return;const s=[...e.unref(u)||[]],m=d.isNumber(t)?new Array(t).fill({}):d.cloneDeep(t);o==="suffix"?s.push(...m):s.unshift(...m),l==null||l.setFieldValue(a.name,s)}function T(t){let o=d.cloneDeep(e.unref(u)||[]);const n=d.isNumber(t)?[t]:t;o=o.filter((r,s)=>!n.includes(s)),l==null||l.setFieldValue(a.name,o)}function F(){return e.unref(u)}function L(t){var o;return(o=e.unref(u))==null?void 0:o[t]}function V(t,o){const n=d.cloneDeep(e.unref(u));n[t]&&(n[t]={...n[t],...o},l==null||l.setFieldValue(a.name,[...n]))}function _(t,o){var r;const n=t==="end"?u.value.length-1:t;g.scrollToRowIndex(n,(r=c.value)==null?void 0:r.$el,o)}return b({add:N,remove:T,getRowData:L,getRowsData:F,setRowData:V,addMultiple:S,scrollTo:_}),(t,o)=>(e.openBlock(),e.createBlock(e.unref(x.ApForm).FormItem,e.mergeProps(t.formItem,{name:t.name,label:t.label}),{default:e.withCtx(()=>[e.createVNode(e.unref(h.Table),e.mergeProps(e.unref(d.omit)(a,["name","maxLength","onChange"]),{class:e.unref(B)(),columns:e.unref(v),"data-source":u.value,ref_key:"tableRef",ref:c}),e.createSlots({headerCell:e.withCtx(({column:n})=>[e.unref(g.getColumnIsRequired)(n)?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(q)("header-cell","required"))},"*",2)):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(n.title),1),n.tooltip?(e.openBlock(),e.createBlock(e.unref(h.Tooltip),{key:1,title:n.tooltip,placement:"bottom"},{default:e.withCtx(()=>[e.createVNode(e.unref(j.QuestionCircleOutlined),{style:e.normalizeStyle({paddingLeft:"4px",color:e.unref(k).colorPrimary})},null,8,["style"])]),_:2},1032,["title"])):e.createCommentVNode("",!0)]),_:2},[e.renderList(w,(n,r)=>({name:r,fn:e.withCtx(s=>[e.renderSlot(t.$slots,r,e.normalizeProps(e.guardReactiveProps(s||{})))])}))]),1040,["class","columns","data-source"])]),_:3},16,["name","label"]))}});exports.default=M;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const g=require("vue"),b=require("lodash-unified"),f=require("../utils.js"),o=require("../../ap-table/utils.js");require("../../config-provider/index.js");const h=require("../../config-provider/hooks/use-locale.js"),x=(u,m)=>{const{t:F}=h.useLocale();return g.computed(()=>{let d=u.columns;return d?(d=d.map(e=>({...b.omit(e,["ellipsis"]),customRender({value:t,...n}){const a=b.isFunction(e.editable)?e.editable(n.text,n.record,n.index):!!e.editable;if(!e.valueType&&!e.customRender&&!e.customRenderFormItem)return console.warn("can not render table cell because no `valueType` / `customRender` / `customRenderFormItem`"),null;let c;if(a){const l=o.updateFormProps(e,o.getFieldProps(e.fieldProps,{value:t,...n})),s={};u.onFieldChange&&(s[`onUpdate:${l.valuePropName||"value"}`]=R=>{var i;return(i=u.onFieldChange)==null?void 0:i.call(u,n.index,e.dataIndex,R)}),c={name:[u.name,n.index,e.dataIndex],...l||{},placeholder:o.getPlaceholder(F,e.valueType,l==null?void 0:l.placeholder),field:{style:"width: 100%",...(l==null?void 0:l.field)||{},...s,class:f.mergeClass("is-editable",l.class)}}}else c={field:o.getTableRenderProps(e,{value:t,...n})};const r=f.getFinalNode(e,a,c,t,n.record,g.unref(m));return e.customRender?e.customRender({value:t,...n,editable:a,originalNode:r}):r}})),d):[]})};exports.default=x;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const b=require("vue"),t=require("lodash-unified"),x=require("../utils.js"),a=require("../../ap-table/utils.js");require("../../config-provider/index.js");const q=require("../../config-provider/hooks/use-locale.js"),y=(d,h)=>{const{t:F}=q.useLocale();return b.computed(()=>{const c=d.columns;if(!c)return[];function s(I){return I.map(e=>({...t.omit(e,["ellipsis"]),children:s(e.children||[]),customRender({value:u,...n}){const o=t.isFunction(e.editable)?e.editable(n.text,n.record,n.index):!!e.editable;if(!e.valueType&&!e.customRender&&!e.customRenderFormItem)return console.warn("can not render table cell because no `valueType` / `customRender` / `customRenderFormItem`"),null;let r;if(o){const l=a.updateFormProps(e,a.getFieldProps(e.fieldProps,{value:u,...n})),g={};d.onFieldChange&&(g[`onUpdate:${l.valuePropName||"value"}`]=m=>{var f;return(f=d.onFieldChange)==null?void 0:f.call(d,n.index,e.dataIndex,m)});const R=t.isArray(e.dataIndex)?e.dataIndex:[e.dataIndex];r={name:[d.name,n.index,...R],...l||{},placeholder:a.getPlaceholder(F,e.valueType,l==null?void 0:l.placeholder),field:{style:"width: 100%",...(l==null?void 0:l.field)||{},...g,class:x.mergeClass("is-editable",l.class)}}}else r={field:a.getTableRenderProps(e,{value:u,...n})};const i=x.getFinalNode(e,o,r,u,n.record,b.unref(h));return e.customRender?e.customRender({value:u,...n,editable:o,originalNode:i}):i}}))}return s(c)})};exports.default=y;
@@ -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 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("vue"),u=require("lodash-unified"),a=require("../ap-table/constants.js"),F=require("../utils/index.js"),h=require("../ap-field/number/helper.js"),N=require("scroll-into-view-if-needed"),_=require("ant-design-vue");require("../ap-form/index.js");const v=require("../ap-table/utils.js"),q=require("../ap-form/ap-form-item.vue.js");function g(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!i.isVNode(e)}function T(e){return a.apTableFormItemMap[e]}function w(e){if(!e.fieldProps)return!1;const t=u.isFunction(e.fieldProps)?e.fieldProps({}):e.fieldProps;return F.isDef(t.required)?t.required:(u.isArray(t.rules)?t.rules:t.rules?[t.rules]:[]).some(r=>r.required)}function I(e,t){if(e.valueType==="text"||e.valueType==="textArea")return t||"--";if(e.valueType==="number"){const o=e.fieldProps?u.isFunction(e.fieldProps)?e.fieldProps({}):e.fieldProps:{};return h.getValueStr(t,o)||"--"}return v.objectToString(t)}function P(e,t){const o=[e];if(t){const r=u.isArray(t)?t:[t];o.unshift(...r)}return o.join(" ")}function S(e,t=document.body,o={}){const r=t.querySelectorAll("tr.ant-table-row")[e];r&&N(r,{scrollMode:"if-needed",block:"nearest",behavior:"smooth",...o})}function j(e,t,o){return a.noRenderAsFormItemValueList.includes(e.valueType)?o:e.copyable||e.ellipsis?i.createVNode(_.Typography.Paragraph,{copyable:e.copyable?{text:t,tooltip:!1}:!1,ellipsis:e.ellipsis?u.isBoolean(e.ellipsis)?{tooltip:t}:{...e.ellipsis,tooltip:t}:!1,content:e.ellipsis?I(e,t):o},null):o}function m(e,t,o,r,V,s){var y,b;if(t){if(e.customRenderFormItem){const c=e.customRenderFormItem(e,o.field,t);return i.createVNode(q.default,u.omit(o,["field"]),g(c)?c:{default:()=>[c]})}const l=T(e.valueType);if(l)return i.createVNode(l,o,null);const n=s==null?void 0:s[e.valueType],f=(y=n==null?void 0:n.renderFormItem)==null?void 0:y.call(n,o.field);return f?i.createVNode(q.default,o,g(f)?f:{default:()=>[f]}):null}let d;const p=a.apTableRenderItemMap[e.valueType];if(p)d=i.createVNode(p,i.mergeProps(o.field,{mode:"read"}),null);else{const l=s==null?void 0:s[e.valueType];d=(b=l==null?void 0:l.render)==null?void 0:b.call(l,r,V,o.field)}return d?j(e,r,d):null}exports.getColumnIsRequired=w;exports.getEditableComponent=T;exports.getFinalNode=m;exports.getRawDisplayValue=I;exports.mergeClass=P;exports.scrollToRowIndex=S;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("vue"),u=require("lodash-unified"),a=require("../ap-table/constants.js"),F=require("../utils/index.js"),h=require("../ap-field/number/helper.js"),N=require("scroll-into-view-if-needed"),_=require("ant-design-vue");require("../ap-form/index.js");const v=require("../ap-table/utils.js"),g=require("../ap-form/ap-form-item.vue.js");function T(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!i.isVNode(e)}function I(e){return a.apTableFormItemMap[e]}function w(e){if(!e.fieldProps)return!1;const t=u.isFunction(e.fieldProps)?e.fieldProps({}):e.fieldProps;return F.isDef(t.required)?t.required:(u.isArray(t.rules)?t.rules:t.rules?[t.rules]:[]).some(r=>r.required)}function V(e,t){if(e.valueType==="text"||e.valueType==="textArea")return t||"--";if(e.valueType==="number"){const o=e.fieldProps?u.isFunction(e.fieldProps)?e.fieldProps({}):e.fieldProps:{};return h.getValueStr(t,o)||"--"}return v.objectToString(t)}function P(e,t){const o=[e];if(t){const r=u.isArray(t)?t:[t];o.unshift(...r)}return o.join(" ")}function S(e,t=document.body,o={}){const r=t.querySelectorAll("tr.ant-table-row")[e];r&&N(r,{scrollMode:"if-needed",block:"nearest",behavior:"smooth",...o})}function j(e,t,o){return a.noRenderAsFormItemValueList.includes(e.valueType)?o:e.copyable||e.ellipsis?i.createVNode(_.Typography.Paragraph,{copyable:e.copyable?{text:t,tooltip:!1}:!1,ellipsis:e.ellipsis?u.isBoolean(e.ellipsis)?{tooltip:t}:{...e.ellipsis,tooltip:t}:!1,content:e.ellipsis?V(e,t):o},null):o}function m(e,t,o,r,p,s){var b,q;if(t){if(e.customRenderFormItem){const c=e.customRenderFormItem(e,o.field,t,p);return i.createVNode(g.default,u.omit(o,["field"]),T(c)?c:{default:()=>[c]})}const l=I(e.valueType);if(l)return i.createVNode(l,o,null);const n=s==null?void 0:s[e.valueType],d=(b=n==null?void 0:n.renderFormItem)==null?void 0:b.call(n,o.field);return d?i.createVNode(g.default,o,T(d)?d:{default:()=>[d]}):null}let f;const y=a.apTableRenderItemMap[e.valueType];if(y)f=i.createVNode(y,i.mergeProps(o.field,{mode:"read"}),null);else{const l=s==null?void 0:s[e.valueType];f=(q=l==null?void 0:l.render)==null?void 0:q.call(l,r,p,o.field)}return f?j(e,r,f):null}exports.getColumnIsRequired=w;exports.getEditableComponent=I;exports.getFinalNode=m;exports.getRawDisplayValue=V;exports.mergeClass=P;exports.scrollToRowIndex=S;
@@ -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;