@aplus-frontend/ui 0.1.20 → 0.1.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (335) hide show
  1. package/es/index.mjs +176 -170
  2. package/es/src/ap-action/group/index.vue.d.ts +7 -6
  3. package/es/src/ap-action/item/index.vue.d.ts +20 -14
  4. package/es/src/ap-action/item-dropdown/index.vue.d.ts +21 -15
  5. package/es/src/ap-action/item-modal/index.vue.d.ts +20 -14
  6. package/es/src/ap-action/item-popconfirm/index.vue.d.ts +20 -14
  7. package/es/src/ap-custom-column/column-select.vue.mjs +47 -46
  8. package/es/src/ap-custom-column/custom-column.vue.mjs +36 -35
  9. package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +20 -15
  10. package/es/src/ap-descriptions/help-message/index.vue.d.ts +12 -7
  11. package/es/src/ap-download/ap-download.vue.d.ts +17 -12
  12. package/es/src/ap-field/checkbox/index.vue.d.ts +6 -5
  13. package/es/src/ap-field/date/index.vue.d.ts +18 -12
  14. package/es/src/ap-field/date-range/index.vue.d.ts +25 -19
  15. package/es/src/ap-field/number/index.vue.d.ts +459 -12
  16. package/es/src/ap-field/radio/index.vue.d.ts +6 -5
  17. package/es/src/ap-field/rate/index.vue.d.ts +138 -16
  18. package/es/src/ap-field/segmented/index.vue.d.ts +25 -19
  19. package/es/src/ap-field/select/index.vue.d.ts +597 -16
  20. package/es/src/ap-field/select/index.vue.mjs +1 -1
  21. package/es/src/ap-field/slider/index.vue.d.ts +375 -12
  22. package/es/src/ap-field/switch/index.vue.d.ts +16 -11
  23. package/es/src/ap-field/text/index.vue.d.ts +19 -13
  24. package/es/src/ap-field/text/password.vue.d.ts +19 -13
  25. package/es/src/ap-field/text-area/index.vue.d.ts +7 -6
  26. package/es/src/ap-field/text-area/index.vue.mjs +1 -1
  27. package/es/src/ap-form/ap-form-item-group/index.vue.d.ts +19 -14
  28. package/es/src/ap-form/ap-form-item.vue.d.ts +1008 -12
  29. package/es/src/ap-form/ap-form-item.vue.mjs +47 -44
  30. package/es/src/ap-form/ap-form-list.vue.d.ts +12 -7
  31. package/es/src/ap-form/ap-form.vue.d.ts +884 -13
  32. package/es/src/ap-form/items/checkbox/index.vue.d.ts +17 -12
  33. package/es/src/ap-form/items/date/index.vue.d.ts +40 -35
  34. package/es/src/ap-form/items/date-range/index.vue.d.ts +39 -34
  35. package/es/src/ap-form/items/number/index.vue.d.ts +583 -27
  36. package/es/src/ap-form/items/radio/index.vue.d.ts +217 -13
  37. package/es/src/ap-form/items/select/index.vue.d.ts +43 -38
  38. package/es/src/ap-form/items/switch/index.vue.d.ts +24 -19
  39. package/es/src/ap-form/items/text/index.vue.d.ts +591 -25
  40. package/es/src/ap-form/items/text/password.vue.d.ts +658 -27
  41. package/es/src/ap-form/items/text-area/index.vue.d.ts +486 -13
  42. package/es/src/ap-form/modal-form/index.vue.d.ts +650 -16
  43. package/es/src/ap-form/search-form/index.vue.d.ts +652 -18
  44. package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +20 -15
  45. package/es/src/ap-list/index.vue.d.ts +5 -5
  46. package/es/src/ap-modal/interface.d.ts +3 -3
  47. package/es/src/ap-modal/utils/createModal.mjs +4 -4
  48. package/es/src/ap-table/ap-table.vue.d.ts +5 -5
  49. package/es/src/ap-table/ap-table.vue.mjs +107 -107
  50. package/es/src/ap-table/components/index/index.vue.d.ts +4 -4
  51. package/es/src/ap-table/constants.d.ts +1071 -1072
  52. package/es/src/ap-table/constants.mjs +11 -9
  53. package/es/src/ap-table/hooks/use-table-paging.d.ts +14 -3
  54. package/es/src/ap-table/hooks/use-table-paging.mjs +115 -103
  55. package/es/src/ap-table/interface.d.ts +13 -4
  56. package/es/src/ap-table/style/ap-table.css +9 -0
  57. package/es/src/ap-table/utils.d.ts +597 -598
  58. package/es/src/ap-table/utils.mjs +44 -39
  59. package/es/src/ap-tag/ap-tag-group.vue.d.ts +18 -11
  60. package/es/src/ap-tag/ap-tag.vue.d.ts +5 -5
  61. package/es/src/base-button/button.vue.d.ts +17 -12
  62. package/es/src/base-button/index.d.ts +30 -30
  63. package/es/src/basic/index.d.ts +6 -6
  64. package/es/src/basic/title.vue.d.ts +16 -11
  65. package/es/src/business/ap-batch-action/ApBatchAction.vue.d.ts +13 -8
  66. package/es/src/business/ap-image/ApImage.vue.d.ts +31 -62
  67. package/es/src/business/ap-image/ApImage.vue2.mjs +30 -26
  68. package/es/src/business/ap-image/interface.d.ts +17 -0
  69. package/es/src/business/ap-input-radio/ApInputRadio.vue.d.ts +4 -4
  70. package/es/src/business/ap-label/ApLabel.d.ts +2 -2
  71. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +6 -6
  72. package/es/src/business/ap-status/ApStatus.vue.d.ts +5 -5
  73. package/es/src/business/ap-status/ApStatusGroup.vue.d.ts +5 -5
  74. package/es/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +7 -0
  75. package/es/src/business/ap-table-modal/hooks/use-create-table-modal.mjs +41 -0
  76. package/es/src/business/ap-table-modal/hooks/use-table-modal.d.ts +7 -0
  77. package/es/src/business/ap-table-modal/hooks/use-table-modal.mjs +29 -0
  78. package/es/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +6 -0
  79. package/es/src/business/ap-table-modal/hooks/use-table-select-modal.mjs +28 -0
  80. package/es/src/business/ap-table-modal/index.d.ts +538 -0
  81. package/es/src/business/ap-table-modal/index.mjs +11 -0
  82. package/es/src/business/ap-table-modal/interface.d.ts +63 -0
  83. package/es/src/business/ap-table-modal/interface.mjs +4 -0
  84. package/es/src/business/ap-table-modal/modal-title.vue.d.ts +46 -0
  85. package/es/src/business/ap-table-modal/modal-title.vue.mjs +4 -0
  86. package/es/src/business/ap-table-modal/modal-title.vue2.mjs +50 -0
  87. package/es/src/business/ap-table-modal/table-modal.vue.d.ts +79 -0
  88. package/es/src/business/ap-table-modal/table-modal.vue.mjs +4 -0
  89. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +177 -0
  90. package/es/src/business/expandAlert/ApExpandAlert.vue.d.ts +19 -12
  91. package/es/src/business/index.d.ts +160 -152
  92. package/es/src/business/index.mjs +18 -16
  93. package/es/src/business/title/ApTitle.vue.d.ts +17 -12
  94. package/es/src/button/button.vue.d.ts +12 -7
  95. package/es/src/button/index.d.ts +2 -2
  96. package/es/src/check-card/group.vue.d.ts +18 -13
  97. package/es/src/check-card/index.vue.d.ts +16 -11
  98. package/es/src/config-provider/config-provider-props.d.ts +6 -4
  99. package/es/src/config-provider/config-provider.d.ts +5 -5
  100. package/es/src/config-provider/config-provider.mjs +9 -9
  101. package/es/src/config-provider/hooks/use-global-config.d.ts +2 -1
  102. package/es/src/config-provider/index.d.ts +17 -17
  103. package/es/src/container/index.d.ts +4 -4
  104. package/es/src/container/scroll-container.vue.d.ts +181 -8
  105. package/es/src/count-down/button.vue.d.ts +4 -4
  106. package/es/src/count-down/index.d.ts +8 -8
  107. package/es/src/count-down/input.vue.d.ts +16 -11
  108. package/es/src/cropper/cropper-avatar.vue.d.ts +4 -4
  109. package/es/src/cropper/cropper-image.vue.d.ts +4 -4
  110. package/es/src/cropper/index.d.ts +4 -4
  111. package/es/src/description/index.d.ts +2 -2
  112. package/es/src/dropdown/dropdown.vue.d.ts +16 -11
  113. package/es/src/dropdown/index.d.ts +2 -2
  114. package/es/src/editable-table/form-item.vue.d.ts +5 -5
  115. package/es/src/editable-table/index.vue.d.ts +6 -6
  116. package/es/src/icon/icon.vue.d.ts +4 -5
  117. package/es/src/icon/index.d.ts +16 -16
  118. package/es/src/icon/svg-icon.vue.d.ts +4 -4
  119. package/es/src/icon-picker/icon-picker.vue.d.ts +4 -4
  120. package/es/src/icon-picker/index.d.ts +2 -2
  121. package/es/src/index.mjs +69 -63
  122. package/es/src/locale/lang/en.mjs +29 -2
  123. package/es/src/locale/lang/zh-cn.mjs +29 -2
  124. package/es/src/modal/basic.vue.d.ts +210 -5
  125. package/es/src/modal/components/modal-close.vue.d.ts +4 -4
  126. package/es/src/modal/components/modal-footer.vue.d.ts +10 -5
  127. package/es/src/modal/components/modal-wrapper.vue.d.ts +77 -4
  128. package/es/src/modal/components/modal.d.ts +1 -1
  129. package/es/src/modal/index.d.ts +5 -5
  130. package/es/src/pro-form/components/api-cascader.vue.d.ts +4 -4
  131. package/es/src/pro-form/components/api-radio-group.vue.d.ts +4 -4
  132. package/es/src/pro-form/components/api-select.vue.d.ts +16 -11
  133. package/es/src/pro-form/components/api-transfer.vue.d.ts +5 -5
  134. package/es/src/pro-form/components/api-tree-select.vue.d.ts +16 -11
  135. package/es/src/pro-form/components/api-tree.vue.d.ts +16 -11
  136. package/es/src/pro-form/components/form-action.vue.d.ts +19 -14
  137. package/es/src/pro-form/components/radio-button-group.vue.d.ts +4 -4
  138. package/es/src/pro-form/hooks/use-label-width.d.ts +25 -25
  139. package/es/src/pro-form/pro-form.vue.d.ts +888 -15
  140. package/es/src/pro-form/table-form-inner.vue.d.ts +6 -5
  141. package/es/src/pro-form/table-form.vue.d.ts +6 -5
  142. package/es/src/pro-form/types/form.d.ts +4 -4
  143. package/es/src/pro-table/components/edit-table-header-icon.vue.d.ts +7 -2
  144. package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +1 -1
  145. package/es/src/pro-table/components/table-action.vue.d.ts +7 -2
  146. package/es/src/pro-table/components/table-footer.vue.d.ts +4 -4
  147. package/es/src/pro-table/components/table-header.vue.d.ts +9 -4
  148. package/es/src/pro-table/components/table-image.vue.d.ts +4 -4
  149. package/es/src/pro-table/components/table-selection-bar.vue.d.ts +4 -4
  150. package/es/src/pro-table/pro-table.vue.d.ts +2049 -28
  151. package/es/src/prompt/utils.d.ts +1 -1
  152. package/es/src/scroll-bar/index.d.ts +2 -2
  153. package/es/src/scroll-bar/scroll-bar.vue.d.ts +19 -11
  154. package/es/src/strength-meter/index.d.ts +2 -2
  155. package/es/src/strength-meter/strength-meter.vue.d.ts +16 -11
  156. package/es/src/theme/antd-global-overwrite/admin/index.css +1 -0
  157. package/es/src/theme/antd-global-overwrite/admin/table.css +1 -0
  158. package/es/src/theme/antd-global-overwrite/aplus/index.css +1 -0
  159. package/es/src/theme/antd-global-overwrite/aplus/table.css +1 -0
  160. package/es/src/theme/ap-table/ap-table.css +9 -0
  161. package/es/src/theme/css-var/index.mjs +23 -7
  162. package/es/src/transition/collapse-transition.vue.d.ts +7 -2
  163. package/es/src/utils/config-provider-preset.d.ts +5 -5
  164. package/es/src/work-order-modal/createWorkOrder.mjs +20 -12
  165. package/es/src/work-order-modal/help-message.vue2.mjs +21 -18
  166. package/es/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
  167. package/es/src/work-order-modal/work-order-modal.vue.mjs +64 -62
  168. package/lib/index.js +1 -1
  169. package/lib/src/ap-action/group/index.vue.d.ts +7 -6
  170. package/lib/src/ap-action/item/index.vue.d.ts +20 -14
  171. package/lib/src/ap-action/item-dropdown/index.vue.d.ts +21 -15
  172. package/lib/src/ap-action/item-modal/index.vue.d.ts +20 -14
  173. package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +20 -14
  174. package/lib/src/ap-custom-column/column-select.vue.js +1 -1
  175. package/lib/src/ap-custom-column/custom-column.vue.js +1 -1
  176. package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +20 -15
  177. package/lib/src/ap-descriptions/help-message/index.vue.d.ts +12 -7
  178. package/lib/src/ap-download/ap-download.vue.d.ts +17 -12
  179. package/lib/src/ap-field/checkbox/index.vue.d.ts +6 -5
  180. package/lib/src/ap-field/date/index.vue.d.ts +18 -12
  181. package/lib/src/ap-field/date-range/index.vue.d.ts +25 -19
  182. package/lib/src/ap-field/number/index.vue.d.ts +459 -12
  183. package/lib/src/ap-field/radio/index.vue.d.ts +6 -5
  184. package/lib/src/ap-field/rate/index.vue.d.ts +138 -16
  185. package/lib/src/ap-field/segmented/index.vue.d.ts +25 -19
  186. package/lib/src/ap-field/select/index.vue.d.ts +597 -16
  187. package/lib/src/ap-field/select/index.vue.js +1 -1
  188. package/lib/src/ap-field/slider/index.vue.d.ts +375 -12
  189. package/lib/src/ap-field/switch/index.vue.d.ts +16 -11
  190. package/lib/src/ap-field/text/index.vue.d.ts +19 -13
  191. package/lib/src/ap-field/text/password.vue.d.ts +19 -13
  192. package/lib/src/ap-field/text-area/index.vue.d.ts +7 -6
  193. package/lib/src/ap-field/text-area/index.vue.js +1 -1
  194. package/lib/src/ap-form/ap-form-item-group/index.vue.d.ts +19 -14
  195. package/lib/src/ap-form/ap-form-item.vue.d.ts +1008 -12
  196. package/lib/src/ap-form/ap-form-item.vue.js +1 -1
  197. package/lib/src/ap-form/ap-form-list.vue.d.ts +12 -7
  198. package/lib/src/ap-form/ap-form.vue.d.ts +884 -13
  199. package/lib/src/ap-form/items/checkbox/index.vue.d.ts +17 -12
  200. package/lib/src/ap-form/items/date/index.vue.d.ts +40 -35
  201. package/lib/src/ap-form/items/date-range/index.vue.d.ts +39 -34
  202. package/lib/src/ap-form/items/number/index.vue.d.ts +583 -27
  203. package/lib/src/ap-form/items/radio/index.vue.d.ts +217 -13
  204. package/lib/src/ap-form/items/select/index.vue.d.ts +43 -38
  205. package/lib/src/ap-form/items/switch/index.vue.d.ts +24 -19
  206. package/lib/src/ap-form/items/text/index.vue.d.ts +591 -25
  207. package/lib/src/ap-form/items/text/password.vue.d.ts +658 -27
  208. package/lib/src/ap-form/items/text-area/index.vue.d.ts +486 -13
  209. package/lib/src/ap-form/modal-form/index.vue.d.ts +650 -16
  210. package/lib/src/ap-form/search-form/index.vue.d.ts +652 -18
  211. package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +20 -15
  212. package/lib/src/ap-list/index.vue.d.ts +5 -5
  213. package/lib/src/ap-modal/interface.d.ts +3 -3
  214. package/lib/src/ap-modal/utils/createModal.js +1 -1
  215. package/lib/src/ap-table/ap-table.vue.d.ts +5 -5
  216. package/lib/src/ap-table/ap-table.vue.js +1 -1
  217. package/lib/src/ap-table/components/index/index.vue.d.ts +4 -4
  218. package/lib/src/ap-table/constants.d.ts +1071 -1072
  219. package/lib/src/ap-table/constants.js +1 -1
  220. package/lib/src/ap-table/hooks/use-table-paging.d.ts +14 -3
  221. package/lib/src/ap-table/hooks/use-table-paging.js +1 -1
  222. package/lib/src/ap-table/interface.d.ts +13 -4
  223. package/lib/src/ap-table/style/ap-table.css +9 -0
  224. package/lib/src/ap-table/utils.d.ts +597 -598
  225. package/lib/src/ap-table/utils.js +1 -1
  226. package/lib/src/ap-tag/ap-tag-group.vue.d.ts +18 -11
  227. package/lib/src/ap-tag/ap-tag.vue.d.ts +5 -5
  228. package/lib/src/base-button/button.vue.d.ts +17 -12
  229. package/lib/src/base-button/index.d.ts +30 -30
  230. package/lib/src/basic/index.d.ts +6 -6
  231. package/lib/src/basic/title.vue.d.ts +16 -11
  232. package/lib/src/business/ap-batch-action/ApBatchAction.vue.d.ts +13 -8
  233. package/lib/src/business/ap-image/ApImage.vue.d.ts +31 -62
  234. package/lib/src/business/ap-image/ApImage.vue2.js +1 -1
  235. package/lib/src/business/ap-image/interface.d.ts +17 -0
  236. package/lib/src/business/ap-input-radio/ApInputRadio.vue.d.ts +4 -4
  237. package/lib/src/business/ap-label/ApLabel.d.ts +2 -2
  238. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +6 -6
  239. package/lib/src/business/ap-status/ApStatus.vue.d.ts +5 -5
  240. package/lib/src/business/ap-status/ApStatusGroup.vue.d.ts +5 -5
  241. package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +7 -0
  242. package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.js +1 -0
  243. package/lib/src/business/ap-table-modal/hooks/use-table-modal.d.ts +7 -0
  244. package/lib/src/business/ap-table-modal/hooks/use-table-modal.js +1 -0
  245. package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +6 -0
  246. package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.js +1 -0
  247. package/lib/src/business/ap-table-modal/index.d.ts +538 -0
  248. package/lib/src/business/ap-table-modal/index.js +1 -0
  249. package/lib/src/business/ap-table-modal/interface.d.ts +63 -0
  250. package/lib/src/business/ap-table-modal/interface.js +1 -0
  251. package/lib/src/business/ap-table-modal/modal-title.vue.d.ts +46 -0
  252. package/lib/src/business/ap-table-modal/modal-title.vue.js +1 -0
  253. package/lib/src/business/ap-table-modal/modal-title.vue2.js +1 -0
  254. package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +79 -0
  255. package/lib/src/business/ap-table-modal/table-modal.vue.js +1 -0
  256. package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -0
  257. package/lib/src/business/expandAlert/ApExpandAlert.vue.d.ts +19 -12
  258. package/lib/src/business/index.d.ts +160 -152
  259. package/lib/src/business/index.js +1 -1
  260. package/lib/src/business/title/ApTitle.vue.d.ts +17 -12
  261. package/lib/src/button/button.vue.d.ts +12 -7
  262. package/lib/src/button/index.d.ts +2 -2
  263. package/lib/src/check-card/group.vue.d.ts +18 -13
  264. package/lib/src/check-card/index.vue.d.ts +16 -11
  265. package/lib/src/config-provider/config-provider-props.d.ts +6 -4
  266. package/lib/src/config-provider/config-provider.d.ts +5 -5
  267. package/lib/src/config-provider/config-provider.js +1 -1
  268. package/lib/src/config-provider/hooks/use-global-config.d.ts +2 -1
  269. package/lib/src/config-provider/index.d.ts +17 -17
  270. package/lib/src/container/index.d.ts +4 -4
  271. package/lib/src/container/scroll-container.vue.d.ts +181 -8
  272. package/lib/src/count-down/button.vue.d.ts +4 -4
  273. package/lib/src/count-down/index.d.ts +8 -8
  274. package/lib/src/count-down/input.vue.d.ts +16 -11
  275. package/lib/src/cropper/cropper-avatar.vue.d.ts +4 -4
  276. package/lib/src/cropper/cropper-image.vue.d.ts +4 -4
  277. package/lib/src/cropper/index.d.ts +4 -4
  278. package/lib/src/description/index.d.ts +2 -2
  279. package/lib/src/dropdown/dropdown.vue.d.ts +16 -11
  280. package/lib/src/dropdown/index.d.ts +2 -2
  281. package/lib/src/editable-table/form-item.vue.d.ts +5 -5
  282. package/lib/src/editable-table/index.vue.d.ts +6 -6
  283. package/lib/src/icon/icon.vue.d.ts +4 -5
  284. package/lib/src/icon/index.d.ts +16 -16
  285. package/lib/src/icon/svg-icon.vue.d.ts +4 -4
  286. package/lib/src/icon-picker/icon-picker.vue.d.ts +4 -4
  287. package/lib/src/icon-picker/index.d.ts +2 -2
  288. package/lib/src/index.js +1 -1
  289. package/lib/src/locale/lang/en.js +1 -1
  290. package/lib/src/locale/lang/zh-cn.js +1 -1
  291. package/lib/src/modal/basic.vue.d.ts +210 -5
  292. package/lib/src/modal/components/modal-close.vue.d.ts +4 -4
  293. package/lib/src/modal/components/modal-footer.vue.d.ts +10 -5
  294. package/lib/src/modal/components/modal-wrapper.vue.d.ts +77 -4
  295. package/lib/src/modal/components/modal.d.ts +1 -1
  296. package/lib/src/modal/index.d.ts +5 -5
  297. package/lib/src/pro-form/components/api-cascader.vue.d.ts +4 -4
  298. package/lib/src/pro-form/components/api-radio-group.vue.d.ts +4 -4
  299. package/lib/src/pro-form/components/api-select.vue.d.ts +16 -11
  300. package/lib/src/pro-form/components/api-transfer.vue.d.ts +5 -5
  301. package/lib/src/pro-form/components/api-tree-select.vue.d.ts +16 -11
  302. package/lib/src/pro-form/components/api-tree.vue.d.ts +16 -11
  303. package/lib/src/pro-form/components/form-action.vue.d.ts +19 -14
  304. package/lib/src/pro-form/components/radio-button-group.vue.d.ts +4 -4
  305. package/lib/src/pro-form/hooks/use-label-width.d.ts +25 -25
  306. package/lib/src/pro-form/pro-form.vue.d.ts +888 -15
  307. package/lib/src/pro-form/table-form-inner.vue.d.ts +6 -5
  308. package/lib/src/pro-form/table-form.vue.d.ts +6 -5
  309. package/lib/src/pro-form/types/form.d.ts +4 -4
  310. package/lib/src/pro-table/components/edit-table-header-icon.vue.d.ts +7 -2
  311. package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +1 -1
  312. package/lib/src/pro-table/components/table-action.vue.d.ts +7 -2
  313. package/lib/src/pro-table/components/table-footer.vue.d.ts +4 -4
  314. package/lib/src/pro-table/components/table-header.vue.d.ts +9 -4
  315. package/lib/src/pro-table/components/table-image.vue.d.ts +4 -4
  316. package/lib/src/pro-table/components/table-selection-bar.vue.d.ts +4 -4
  317. package/lib/src/pro-table/pro-table.vue.d.ts +2049 -28
  318. package/lib/src/prompt/utils.d.ts +1 -1
  319. package/lib/src/scroll-bar/index.d.ts +2 -2
  320. package/lib/src/scroll-bar/scroll-bar.vue.d.ts +19 -11
  321. package/lib/src/strength-meter/index.d.ts +2 -2
  322. package/lib/src/strength-meter/strength-meter.vue.d.ts +16 -11
  323. package/lib/src/theme/antd-global-overwrite/admin/index.css +1 -0
  324. package/lib/src/theme/antd-global-overwrite/admin/table.css +1 -0
  325. package/lib/src/theme/antd-global-overwrite/aplus/index.css +1 -0
  326. package/lib/src/theme/antd-global-overwrite/aplus/table.css +1 -0
  327. package/lib/src/theme/ap-table/ap-table.css +9 -0
  328. package/lib/src/theme/css-var/index.js +1 -1
  329. package/lib/src/transition/collapse-transition.vue.d.ts +7 -2
  330. package/lib/src/utils/config-provider-preset.d.ts +5 -5
  331. package/lib/src/work-order-modal/createWorkOrder.js +1 -1
  332. package/lib/src/work-order-modal/help-message.vue2.js +1 -1
  333. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
  334. package/lib/src/work-order-modal/work-order-modal.vue.js +1 -1
  335. package/package.json +4 -4
@@ -1,7 +1,13 @@
1
- import { ApActionItemModalProps, ApActionItemSlots, ActionColor } from '../interface';
1
+ import { ApActionItemModalProps, ApActionItemSlots } from '../interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
+ import { ActionColor } from '..';
3
4
  import { ModalFuncProps } from 'ant-design-vue';
4
- declare function __VLS_template(): Readonly<ApActionItemSlots> & ApActionItemSlots;
5
+ declare function __VLS_template(): {
6
+ slots: Readonly<ApActionItemSlots> & ApActionItemSlots;
7
+ refs: {};
8
+ attrs: Partial<{}>;
9
+ };
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
5
11
  declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionItemModalProps>, {
6
12
  color: string;
7
13
  disabled: boolean;
@@ -16,26 +22,18 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
16
22
  modalProps: () => {};
17
23
  }>>>, {
18
24
  visible: boolean;
19
- loading: boolean;
20
- disabled: boolean;
21
25
  color: ActionColor;
26
+ disabled: boolean;
27
+ loading: boolean;
22
28
  modalProps: Omit< ModalFuncProps, "type">;
23
29
  }, {}>;
24
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
30
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
25
31
  export default _default;
26
32
  type __VLS_WithDefaults<P, D> = {
27
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
33
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
28
34
  default: D[K];
29
35
  }> : P[K];
30
36
  };
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
37
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
40
38
  type __VLS_TypePropsToOption<T> = {
41
39
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -45,3 +43,11 @@ type __VLS_TypePropsToOption<T> = {
45
43
  required: true;
46
44
  };
47
45
  };
46
+ type __VLS_WithTemplateSlots<T, S> = T & {
47
+ new (): {
48
+ $slots: S;
49
+ };
50
+ };
51
+ type __VLS_PrettifyLocal<T> = {
52
+ [K in keyof T]: T[K];
53
+ } & {};
@@ -1,5 +1,6 @@
1
- import { ApActionItemPopconfirmProps, ApActionItemSlots, ActionColor } from '../interface';
1
+ import { ApActionItemPopconfirmProps, ApActionItemSlots } from '../interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, HTMLAttributes, CSSProperties } from 'vue';
3
+ import { ActionColor } from '..';
3
4
  import { LegacyButtonType, ButtonHTMLType } from 'ant-design-vue/es/button/buttonTypes';
4
5
  import { ButtonType, ButtonShape, ButtonSize } from 'ant-design-vue/es/button';
5
6
  import { VueTypeValidableDef } from '../../../node_modules/vue-types';
@@ -9,7 +10,12 @@ import { TooltipPlacement, AdjustOverflow } from 'ant-design-vue/es/tooltip';
9
10
  import { LiteralUnion } from 'ant-design-vue/es/_util/type';
10
11
  import { PresetColorType } from 'ant-design-vue/es/_util/colors';
11
12
  import { AlignType, BuildInPlacements } from 'ant-design-vue/es/vc-trigger/interface';
12
- declare function __VLS_template(): Readonly<ApActionItemSlots> & ApActionItemSlots;
13
+ declare function __VLS_template(): {
14
+ slots: Readonly<ApActionItemSlots> & ApActionItemSlots;
15
+ refs: {};
16
+ attrs: Partial<{}>;
17
+ };
18
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
19
  declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionItemPopconfirmProps>, {
14
20
  color: string;
15
21
  disabled: boolean;
@@ -24,9 +30,9 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
24
30
  popconfirmProps: () => {};
25
31
  }>>>, {
26
32
  visible: boolean;
27
- loading: boolean;
28
- disabled: boolean;
29
33
  color: ActionColor;
34
+ disabled: boolean;
35
+ loading: boolean;
30
36
  popconfirmProps: Partial< ExtractPropTypes<{
31
37
  prefixCls: StringConstructor;
32
38
  content: {
@@ -323,21 +329,13 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
323
329
  'onUpdate:open': PropType<(vis: boolean) => void>;
324
330
  }>>;
325
331
  }, {}>;
326
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
332
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
327
333
  export default _default;
328
334
  type __VLS_WithDefaults<P, D> = {
329
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
335
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
330
336
  default: D[K];
331
337
  }> : P[K];
332
338
  };
333
- type __VLS_Prettify<T> = {
334
- [K in keyof T]: T[K];
335
- } & {};
336
- type __VLS_WithTemplateSlots<T, S> = T & {
337
- new (): {
338
- $slots: S;
339
- };
340
- };
341
339
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
342
340
  type __VLS_TypePropsToOption<T> = {
343
341
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -347,3 +345,11 @@ type __VLS_TypePropsToOption<T> = {
347
345
  required: true;
348
346
  };
349
347
  };
348
+ type __VLS_WithTemplateSlots<T, S> = T & {
349
+ new (): {
350
+ $slots: S;
351
+ };
352
+ };
353
+ type __VLS_PrettifyLocal<T> = {
354
+ [K in keyof T]: T[K];
355
+ } & {};
@@ -1,95 +1,96 @@
1
- import { defineComponent as w, ref as i, watch as m, computed as V, openBlock as A, createBlock as B, unref as a, normalizeClass as c, withCtx as r, createElementVNode as p, createVNode as d, createTextVNode as D, toDisplayString as h } from "vue";
2
- import { Flex as f, Checkbox as G, Divider as M, CheckboxGroup as S } from "ant-design-vue";
1
+ import { defineComponent as D, ref as m, watch as p, computed as S, openBlock as V, createBlock as A, unref as t, normalizeClass as o, withCtx as r, createElementVNode as v, toDisplayString as u, createVNode as d, createTextVNode as B } from "vue";
2
+ import { Flex as g, Checkbox as G, Divider as L, CheckboxGroup as M } from "ant-design-vue";
3
3
  import "../config-provider/index.mjs";
4
4
  import "./styles/column-select.css";
5
- import { useGlobalConfig as U } from "../config-provider/hooks/use-global-config.mjs";
6
- import { useNamespace as j } from "../config-provider/hooks/use-namespace.mjs";
7
- const H = /* @__PURE__ */ w({
5
+ import { useLocale as U } from "../config-provider/hooks/use-locale.mjs";
6
+ import { useGlobalConfig as j } from "../config-provider/hooks/use-global-config.mjs";
7
+ import { useNamespace as z } from "../config-provider/hooks/use-namespace.mjs";
8
+ const O = /* @__PURE__ */ D({
8
9
  __name: "column-select",
9
10
  props: {
10
11
  columns: {}
11
12
  },
12
13
  emits: ["updateColumns"],
13
- setup(g, { emit: x }) {
14
- const u = i(!1), v = i(!1), t = i([]), C = U("uiMode"), { b: k, e: o } = j(
15
- C.value === "aplus" ? "column-select" : "column-select-admin"
16
- ), { columns: n } = g, b = x, _ = (e) => {
14
+ setup(C, { emit: x }) {
15
+ const i = m(!1), h = m(!1), a = m([]), { t: f } = U(), k = j("uiMode"), { b, e: c } = z(
16
+ k.value === "aplus" ? "column-select" : "column-select-admin"
17
+ ), { columns: n } = C, _ = x, I = (e) => {
17
18
  const s = e.target.checked;
18
- t.value = s ? n.map((l) => l.dataIndex) : n.filter((l) => l.disabled && l.selected).map((l) => l.dataIndex);
19
- }, I = (e) => {
20
- t.value = e;
19
+ a.value = s ? n.map((l) => l.dataIndex) : n.filter((l) => l.disabled && l.selected).map((l) => l.dataIndex);
20
+ }, y = (e) => {
21
+ a.value = e;
21
22
  };
22
- m(
23
+ p(
23
24
  () => n,
24
25
  () => {
25
- t.value = n.filter((e) => e.selected).map((e) => e.dataIndex);
26
+ a.value = n.filter((e) => e.selected).map((e) => e.dataIndex);
26
27
  },
27
28
  { deep: !0, immediate: !0 }
28
- ), m(
29
- t,
29
+ ), p(
30
+ a,
30
31
  () => {
31
- v.value = t.value.length > 0 && t.value.length !== n.length, u.value = t.value.length === n.length;
32
+ h.value = a.value.length > 0 && a.value.length !== n.length, i.value = a.value.length === n.length;
32
33
  },
33
34
  { deep: !0, immediate: !0 }
34
- ), m(
35
- t,
35
+ ), p(
36
+ a,
36
37
  () => {
37
38
  const e = n.map((s) => ({
38
39
  ...s,
39
- selected: t.value.includes(s.dataIndex)
40
+ selected: a.value.includes(s.dataIndex)
40
41
  }));
41
- b("updateColumns", e);
42
+ _("updateColumns", e);
42
43
  },
43
44
  { deep: !0 }
44
45
  );
45
- const y = V(() => n.map((e) => ({
46
+ const N = S(() => n.map((e) => ({
46
47
  label: e.title,
47
48
  value: e.dataIndex,
48
49
  disabled: e.disabled
49
50
  })));
50
- return (e, s) => (A(), B(a(f), {
51
+ return (e, s) => (V(), A(t(g), {
51
52
  vertical: "",
52
- class: c(a(k)())
53
+ class: o(t(b)())
53
54
  }, {
54
55
  default: r(() => [
55
- p("p", {
56
- class: c(a(o)("des"))
57
- }, "请选择需要展示在表格的字段", 2),
58
- d(a(f), {
59
- class: c(a(o)("all")),
56
+ v("p", {
57
+ class: o(t(c)("des"))
58
+ }, u(t(f)("ap.apCustomColumn.selectDes")), 3),
59
+ d(t(g), {
60
+ class: o(t(c)("all")),
60
61
  justify: "space-between",
61
62
  align: "center"
62
63
  }, {
63
64
  default: r(() => {
64
65
  var l;
65
66
  return [
66
- d(a(G), {
67
+ d(t(G), {
67
68
  style: { padding: "0 6px;" },
68
- checked: u.value,
69
- "onUpdate:checked": s[0] || (s[0] = (N) => u.value = N),
70
- indeterminate: v.value,
71
- onChange: _
69
+ checked: i.value,
70
+ "onUpdate:checked": s[0] || (s[0] = (w) => i.value = w),
71
+ indeterminate: h.value,
72
+ onChange: I
72
73
  }, {
73
74
  default: r(() => [
74
- D("全选")
75
+ B(u(t(f)("ap.apCustomColumn.allSelect")), 1)
75
76
  ]),
76
77
  _: 1
77
78
  }, 8, ["checked", "indeterminate"]),
78
- p("span", {
79
- class: c(a(o)("statistics"))
80
- }, h((l = t.value) == null ? void 0 : l.length) + "/" + h(e.columns.length), 3)
79
+ v("span", {
80
+ class: o(t(c)("statistics"))
81
+ }, u((l = a.value) == null ? void 0 : l.length) + "/" + u(e.columns.length), 3)
81
82
  ];
82
83
  }),
83
84
  _: 1
84
85
  }, 8, ["class"]),
85
- d(a(M), { style: { margin: "12px 0 4px 0" } }),
86
- p("div", {
87
- class: c(a(o)("content"))
86
+ d(t(L), { style: { margin: "12px 0 4px 0" } }),
87
+ v("div", {
88
+ class: o(t(c)("content"))
88
89
  }, [
89
- d(a(S), {
90
- value: t.value,
91
- "onUpdate:value": I,
92
- options: y.value
90
+ d(t(M), {
91
+ value: a.value,
92
+ "onUpdate:value": y,
93
+ options: N.value
93
94
  }, null, 8, ["value", "options"])
94
95
  ], 2)
95
96
  ]),
@@ -98,5 +99,5 @@ const H = /* @__PURE__ */ w({
98
99
  }
99
100
  });
100
101
  export {
101
- H as default
102
+ O as default
102
103
  };
@@ -1,13 +1,14 @@
1
- import { defineComponent as D, ref as m, computed as x, openBlock as H, createElementBlock as w, normalizeClass as B, unref as t, createVNode as o, withCtx as n, createTextVNode as E, normalizeStyle as b } from "vue";
2
- import { SettingOutlined as k, CloseOutlined as G } from "@ant-design/icons-vue";
3
- import { Tooltip as N, Button as T, Drawer as A } from "ant-design-vue";
1
+ import { defineComponent as x, ref as p, computed as H, openBlock as w, createElementBlock as B, normalizeClass as E, unref as e, createVNode as o, withCtx as n, createTextVNode as b, toDisplayString as k, normalizeStyle as G } from "vue";
2
+ import { SettingOutlined as N, CloseOutlined as T } from "@ant-design/icons-vue";
3
+ import { Tooltip as A, Button as I, Drawer as O } from "ant-design-vue";
4
4
  import "./column-select.vue2.mjs";
5
5
  import "./styles/custom-column.css";
6
6
  import "../config-provider/index.mjs";
7
- import { useGlobalConfig as I } from "../config-provider/hooks/use-global-config.mjs";
8
- import { useNamespace as O } from "../config-provider/hooks/use-namespace.mjs";
9
- import R from "./column-select.vue.mjs";
10
- const F = /* @__PURE__ */ D({
7
+ import { useGlobalConfig as R } from "../config-provider/hooks/use-global-config.mjs";
8
+ import { useLocale as M } from "../config-provider/hooks/use-locale.mjs";
9
+ import { useNamespace as W } from "../config-provider/hooks/use-namespace.mjs";
10
+ import $ from "./column-select.vue.mjs";
11
+ const Q = /* @__PURE__ */ x({
11
12
  __name: "custom-column",
12
13
  props: {
13
14
  columns: {},
@@ -15,72 +16,72 @@ const F = /* @__PURE__ */ D({
15
16
  fullContentSelector: {}
16
17
  },
17
18
  emits: ["update:columns"],
18
- setup(p, { emit: d }) {
19
- const f = I("uiMode"), { b: C, e: h } = O(
20
- f.value === "aplus" ? "custom-column" : "custom-column-admin"
21
- ), { baseContainerSelector: r, columns: M, fullContentSelector: _ } = p, g = d, v = (e) => {
22
- g("update:columns", e);
23
- }, c = m(!1), l = m(0), S = () => {
24
- var e, s;
19
+ setup(d, { emit: f }) {
20
+ const C = R("uiMode"), { t: i } = M(), { b: h, e: _ } = W(
21
+ C.value === "aplus" ? "custom-column" : "custom-column-admin"
22
+ ), { baseContainerSelector: r, columns: q, fullContentSelector: g } = d, S = f, v = (t) => {
23
+ S("update:columns", t);
24
+ }, c = p(!1), l = p(0), y = () => {
25
+ var t, s;
25
26
  if (r) {
26
27
  const a = document.querySelector(r), u = document.querySelector(
27
- _
28
+ g
28
29
  );
29
30
  a ? l.value = Math.max(
30
- (e = a == null ? void 0 : a.getBoundingClientRect()) == null ? void 0 : e.top,
31
+ (t = a == null ? void 0 : a.getBoundingClientRect()) == null ? void 0 : t.top,
31
32
  ((s = u == null ? void 0 : u.getBoundingClientRect()) == null ? void 0 : s.top) || 0
32
33
  ) : l.value = 0;
33
34
  }
34
35
  c.value = !0;
35
- }, i = () => {
36
+ }, m = () => {
36
37
  c.value = !1;
37
- }, y = x(() => window.innerHeight - l.value - 57 - 40);
38
- return (e, s) => (H(), w("div", {
39
- class: B(t(C)())
38
+ }, D = H(() => window.innerHeight - l.value - 57 - 40);
39
+ return (t, s) => (w(), B("div", {
40
+ class: E(e(h)())
40
41
  }, [
41
- o(t(N), null, {
42
+ o(e(A), null, {
42
43
  title: n(() => [
43
- E("自定义表格")
44
+ b(k(e(i)("ap.apCustomColumn.title")), 1)
44
45
  ]),
45
46
  default: n(() => [
46
- o(t(T), {
47
+ o(e(I), {
47
48
  style: { minWidth: "auto" },
48
- onClick: S
49
+ onClick: y
49
50
  }, {
50
51
  icon: n(() => [
51
- o(t(k))
52
+ o(e(N))
52
53
  ]),
53
54
  _: 1
54
55
  })
55
56
  ]),
56
57
  _: 1
57
58
  }),
58
- o(t(A), {
59
+ o(e(O), {
59
60
  open: c.value,
60
61
  width: 280,
61
- title: "自定义表格",
62
+ title: e(i)("ap.apCustomColumn.title"),
62
63
  closable: !1,
63
64
  contentWrapperStyle: { top: `${l.value}px` },
64
65
  bodyStyle: { overflow: "hidden", padding: "20px" },
65
66
  mask: !0,
66
- "root-class-name": t(h)("drawer"),
67
- onClose: i
67
+ "root-class-name": e(_)("drawer"),
68
+ onClose: m
68
69
  }, {
69
70
  extra: n(() => [
70
- o(t(G), { onClick: i })
71
+ o(e(T), { onClick: m })
71
72
  ]),
72
73
  default: n(() => [
73
- o(R, {
74
- style: b({ height: `${y.value}px` }),
75
- columns: e.columns,
74
+ o($, {
75
+ style: G({ height: `${D.value}px` }),
76
+ columns: t.columns,
76
77
  onUpdateColumns: v
77
78
  }, null, 8, ["style", "columns"])
78
79
  ]),
79
80
  _: 1
80
- }, 8, ["open", "contentWrapperStyle", "root-class-name"])
81
+ }, 8, ["open", "title", "contentWrapperStyle", "root-class-name"])
81
82
  ], 2));
82
83
  }
83
84
  });
84
85
  export {
85
- F as default
86
+ Q as default
86
87
  };
@@ -1,22 +1,22 @@
1
1
  import { DisplayInfoProps } from './interface';
2
2
  import { VNode, RendererNode, RendererElement, VNodeChild, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
- declare function __VLS_template(): Partial<Record<string, (_: {
4
- index: number;
5
- item: VNode<RendererNode, RendererElement, {
6
- [key: string]: any;
7
- }> | VNodeChild;
8
- record: {
9
- [x: string]: any;
10
- } | undefined;
11
- }) => any>>;
3
+ declare function __VLS_template(): {
4
+ slots: Partial<Record<string, (_: {
5
+ index: number;
6
+ item: VNode<RendererNode, RendererElement, {
7
+ [key: string]: any;
8
+ }> | VNodeChild;
9
+ record: {
10
+ [x: string]: any;
11
+ } | undefined;
12
+ }) => any>>;
13
+ refs: {};
14
+ attrs: Partial<{}>;
15
+ };
16
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
17
  declare const __VLS_component: DefineComponent<__VLS_TypePropsToOption<DisplayInfoProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<DisplayInfoProps>>>, {}, {}>;
13
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
18
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
14
19
  export default _default;
15
- type __VLS_WithTemplateSlots<T, S> = T & {
16
- new (): {
17
- $slots: S;
18
- };
19
- };
20
20
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
21
21
  type __VLS_TypePropsToOption<T> = {
22
22
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -26,3 +26,8 @@ type __VLS_TypePropsToOption<T> = {
26
26
  required: true;
27
27
  };
28
28
  };
29
+ type __VLS_WithTemplateSlots<T, S> = T & {
30
+ new (): {
31
+ $slots: S;
32
+ };
33
+ };
@@ -1,19 +1,19 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
2
  declare function __VLS_template(): {
3
- default?(_: {}): any;
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ attrs: Partial<{}>;
4
8
  };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
5
10
  declare const __VLS_component: DefineComponent<__VLS_TypePropsToOption<{
6
11
  helpMessage?: string;
7
12
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<{
8
13
  helpMessage?: string;
9
14
  }>>>, {}, {}>;
10
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
15
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
11
16
  export default _default;
12
- type __VLS_WithTemplateSlots<T, S> = T & {
13
- new (): {
14
- $slots: S;
15
- };
16
- };
17
17
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
18
18
  type __VLS_TypePropsToOption<T> = {
19
19
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -23,3 +23,8 @@ type __VLS_TypePropsToOption<T> = {
23
23
  required: true;
24
24
  };
25
25
  };
26
+ type __VLS_WithTemplateSlots<T, S> = T & {
27
+ new (): {
28
+ $slots: S;
29
+ };
30
+ };
@@ -1,8 +1,13 @@
1
1
  import { ApDownLoadProps } from './interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
3
  declare function __VLS_template(): {
4
- icon?(_: {}): any;
4
+ slots: {
5
+ icon?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ attrs: Partial<{}>;
5
9
  };
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
6
11
  declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApDownLoadProps<Record<string, string>>>, {
7
12
  size: string;
8
13
  color: string;
@@ -13,24 +18,16 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
13
18
  disabled: boolean;
14
19
  }>>>, {
15
20
  size: "small" | "middle" | "large";
16
- disabled: boolean;
17
21
  color: string;
22
+ disabled: boolean;
18
23
  }, {}>;
19
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
24
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
20
25
  export default _default;
21
26
  type __VLS_WithDefaults<P, D> = {
22
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
27
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
23
28
  default: D[K];
24
29
  }> : P[K];
25
30
  };
26
- type __VLS_Prettify<T> = {
27
- [K in keyof T]: T[K];
28
- } & {};
29
- type __VLS_WithTemplateSlots<T, S> = T & {
30
- new (): {
31
- $slots: S;
32
- };
33
- };
34
31
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
35
32
  type __VLS_TypePropsToOption<T> = {
36
33
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -40,3 +37,11 @@ type __VLS_TypePropsToOption<T> = {
40
37
  required: true;
41
38
  };
42
39
  };
40
+ type __VLS_WithTemplateSlots<T, S> = T & {
41
+ new (): {
42
+ $slots: S;
43
+ };
44
+ };
45
+ type __VLS_PrettifyLocal<T> = {
46
+ [K in keyof T]: T[K];
47
+ } & {};
@@ -1,5 +1,6 @@
1
- import { ApFieldCheckboxProps, FieldMode } from '../interface';
1
+ import { ApFieldCheckboxProps } from '../interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
+ import { FieldMode } from '..';
3
4
  import { CheckboxOptionType } from 'ant-design-vue';
4
5
  declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldCheckboxProps>, {
5
6
  emptyText: string;
@@ -20,13 +21,10 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOpti
20
21
  }, {}>;
21
22
  export default _default;
22
23
  type __VLS_WithDefaults<P, D> = {
23
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
24
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
24
25
  default: D[K];
25
26
  }> : P[K];
26
27
  };
27
- type __VLS_Prettify<T> = {
28
- [K in keyof T]: T[K];
29
- } & {};
30
28
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
31
29
  type __VLS_TypePropsToOption<T> = {
32
30
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -36,3 +34,6 @@ type __VLS_TypePropsToOption<T> = {
36
34
  required: true;
37
35
  };
38
36
  };
37
+ type __VLS_PrettifyLocal<T> = {
38
+ [K in keyof T]: T[K];
39
+ } & {};
@@ -1,7 +1,8 @@
1
1
  import { default as dayjs } from 'dayjs';
2
- import { ApFieldDateProps, FieldMode } from '../interface';
2
+ import { ApFieldDateProps } from '../interface';
3
3
  import { ApFormatPresetType } from './interface';
4
4
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, VNode, RendererNode, RendererElement, PropType } from 'vue';
5
+ import { FieldMode } from '..';
5
6
  import { LiteralUnion } from '../../type';
6
7
  import { SharedTimeProps } from 'ant-design-vue/es/vc-picker/panels/TimePanel';
7
8
  type ApFieldDataSlots = {
@@ -17,7 +18,12 @@ type ApFieldDataSlots = {
17
18
  clearIcon?: any;
18
19
  default?: any;
19
20
  };
20
- declare function __VLS_template(): Readonly<ApFieldDataSlots> & ApFieldDataSlots;
21
+ declare function __VLS_template(): {
22
+ slots: Readonly<ApFieldDataSlots> & ApFieldDataSlots;
23
+ refs: {};
24
+ attrs: Partial<{}>;
25
+ };
26
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
21
27
  declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldDateProps>, {
22
28
  format: string;
23
29
  mode: string;
@@ -92,21 +98,13 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
92
98
  showTime: boolean | SharedTimeProps<dayjs.Dayjs>;
93
99
  emptyText: string;
94
100
  }, {}>;
95
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
101
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
96
102
  export default _default;
97
103
  type __VLS_WithDefaults<P, D> = {
98
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
104
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
99
105
  default: D[K];
100
106
  }> : P[K];
101
107
  };
102
- type __VLS_Prettify<T> = {
103
- [K in keyof T]: T[K];
104
- } & {};
105
- type __VLS_WithTemplateSlots<T, S> = T & {
106
- new (): {
107
- $slots: S;
108
- };
109
- };
110
108
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
111
109
  type __VLS_TypePropsToOption<T> = {
112
110
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -116,3 +114,11 @@ type __VLS_TypePropsToOption<T> = {
116
114
  required: true;
117
115
  };
118
116
  };
117
+ type __VLS_WithTemplateSlots<T, S> = T & {
118
+ new (): {
119
+ $slots: S;
120
+ };
121
+ };
122
+ type __VLS_PrettifyLocal<T> = {
123
+ [K in keyof T]: T[K];
124
+ } & {};