@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,5 +1,9 @@
1
1
  import { ApFieldSliderProps } from '../interface';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
+ import { CreateComponentPublicInstance, ExtractPropTypes, PropType, CSSProperties, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, DefineComponent, PublicProps } from 'vue';
3
+ import { SliderRange, SliderMarks } from 'ant-design-vue/es/slider';
4
+ import { TooltipPlacement } from 'ant-design-vue/es/tooltip';
5
+ import { FocusEventHandler } from 'ant-design-vue/es/_util/EventInterface';
6
+ import { VueNode, CustomSlotsType } from 'ant-design-vue/es/_util/type';
3
7
  type ApFieldSliderSlots = {
4
8
  default?: any;
5
9
  mark?: (option: {
@@ -9,7 +13,366 @@ type ApFieldSliderSlots = {
9
13
  };
10
14
  declare function focus(): void;
11
15
  declare function blur(): void;
12
- declare function __VLS_template(): Readonly<ApFieldSliderSlots> & ApFieldSliderSlots;
16
+ declare function __VLS_template(): {
17
+ slots: Readonly<ApFieldSliderSlots> & ApFieldSliderSlots;
18
+ refs: {
19
+ sliderRef: CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
20
+ id: StringConstructor;
21
+ prefixCls: StringConstructor;
22
+ tooltipPrefixCls: StringConstructor;
23
+ range: {
24
+ type: PropType<boolean | SliderRange>;
25
+ default: boolean | SliderRange;
26
+ };
27
+ reverse: {
28
+ type: BooleanConstructor;
29
+ default: boolean;
30
+ };
31
+ min: NumberConstructor;
32
+ max: NumberConstructor;
33
+ step: {
34
+ type: PropType<number>;
35
+ default: number;
36
+ };
37
+ marks: {
38
+ type: PropType<SliderMarks>;
39
+ default: SliderMarks;
40
+ };
41
+ dots: {
42
+ type: BooleanConstructor;
43
+ default: boolean;
44
+ };
45
+ value: {
46
+ type: PropType<number | [number, number]>;
47
+ default: number | [number, number];
48
+ };
49
+ defaultValue: {
50
+ type: PropType<number | [number, number]>;
51
+ default: number | [number, number];
52
+ };
53
+ included: {
54
+ type: BooleanConstructor;
55
+ default: boolean;
56
+ };
57
+ disabled: {
58
+ type: BooleanConstructor;
59
+ default: boolean;
60
+ };
61
+ vertical: {
62
+ type: BooleanConstructor;
63
+ default: boolean;
64
+ };
65
+ tipFormatter: {
66
+ type: PropType<(value?: number) => any>;
67
+ default: (value?: number) => any;
68
+ };
69
+ tooltipOpen: {
70
+ type: BooleanConstructor;
71
+ default: boolean;
72
+ };
73
+ tooltipVisible: {
74
+ type: BooleanConstructor;
75
+ default: boolean;
76
+ };
77
+ tooltipPlacement: {
78
+ type: PropType<TooltipPlacement>;
79
+ default: TooltipPlacement;
80
+ };
81
+ getTooltipPopupContainer: {
82
+ type: PropType<(triggerNode: HTMLElement) => HTMLElement>;
83
+ default: (triggerNode: HTMLElement) => HTMLElement;
84
+ };
85
+ autofocus: {
86
+ type: BooleanConstructor;
87
+ default: boolean;
88
+ };
89
+ handleStyle: {
90
+ type: PropType< CSSProperties | CSSProperties[]>;
91
+ default: CSSProperties | CSSProperties[];
92
+ };
93
+ trackStyle: {
94
+ type: PropType< CSSProperties | CSSProperties[]>;
95
+ default: CSSProperties | CSSProperties[];
96
+ };
97
+ onChange: {
98
+ type: PropType<(value: number | [number, number]) => void>;
99
+ default: (value: number | [number, number]) => void;
100
+ };
101
+ onAfterChange: {
102
+ type: PropType<(value: number | [number, number]) => void>;
103
+ default: (value: number | [number, number]) => void;
104
+ };
105
+ onFocus: {
106
+ type: PropType<FocusEventHandler>;
107
+ default: FocusEventHandler;
108
+ };
109
+ onBlur: {
110
+ type: PropType<FocusEventHandler>;
111
+ default: FocusEventHandler;
112
+ };
113
+ 'onUpdate:value': {
114
+ type: PropType<(value: number | [number, number]) => void>;
115
+ default: (value: number | [number, number]) => void;
116
+ };
117
+ }>>, () => VueNode, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
118
+ id: StringConstructor;
119
+ prefixCls: StringConstructor;
120
+ tooltipPrefixCls: StringConstructor;
121
+ range: {
122
+ type: PropType<boolean | SliderRange>;
123
+ default: boolean | SliderRange;
124
+ };
125
+ reverse: {
126
+ type: BooleanConstructor;
127
+ default: boolean;
128
+ };
129
+ min: NumberConstructor;
130
+ max: NumberConstructor;
131
+ step: {
132
+ type: PropType<number>;
133
+ default: number;
134
+ };
135
+ marks: {
136
+ type: PropType<SliderMarks>;
137
+ default: SliderMarks;
138
+ };
139
+ dots: {
140
+ type: BooleanConstructor;
141
+ default: boolean;
142
+ };
143
+ value: {
144
+ type: PropType<number | [number, number]>;
145
+ default: number | [number, number];
146
+ };
147
+ defaultValue: {
148
+ type: PropType<number | [number, number]>;
149
+ default: number | [number, number];
150
+ };
151
+ included: {
152
+ type: BooleanConstructor;
153
+ default: boolean;
154
+ };
155
+ disabled: {
156
+ type: BooleanConstructor;
157
+ default: boolean;
158
+ };
159
+ vertical: {
160
+ type: BooleanConstructor;
161
+ default: boolean;
162
+ };
163
+ tipFormatter: {
164
+ type: PropType<(value?: number) => any>;
165
+ default: (value?: number) => any;
166
+ };
167
+ tooltipOpen: {
168
+ type: BooleanConstructor;
169
+ default: boolean;
170
+ };
171
+ tooltipVisible: {
172
+ type: BooleanConstructor;
173
+ default: boolean;
174
+ };
175
+ tooltipPlacement: {
176
+ type: PropType<TooltipPlacement>;
177
+ default: TooltipPlacement;
178
+ };
179
+ getTooltipPopupContainer: {
180
+ type: PropType<(triggerNode: HTMLElement) => HTMLElement>;
181
+ default: (triggerNode: HTMLElement) => HTMLElement;
182
+ };
183
+ autofocus: {
184
+ type: BooleanConstructor;
185
+ default: boolean;
186
+ };
187
+ handleStyle: {
188
+ type: PropType< CSSProperties | CSSProperties[]>;
189
+ default: CSSProperties | CSSProperties[];
190
+ };
191
+ trackStyle: {
192
+ type: PropType< CSSProperties | CSSProperties[]>;
193
+ default: CSSProperties | CSSProperties[];
194
+ };
195
+ onChange: {
196
+ type: PropType<(value: number | [number, number]) => void>;
197
+ default: (value: number | [number, number]) => void;
198
+ };
199
+ onAfterChange: {
200
+ type: PropType<(value: number | [number, number]) => void>;
201
+ default: (value: number | [number, number]) => void;
202
+ };
203
+ onFocus: {
204
+ type: PropType<FocusEventHandler>;
205
+ default: FocusEventHandler;
206
+ };
207
+ onBlur: {
208
+ type: PropType<FocusEventHandler>;
209
+ default: FocusEventHandler;
210
+ };
211
+ 'onUpdate:value': {
212
+ type: PropType<(value: number | [number, number]) => void>;
213
+ default: (value: number | [number, number]) => void;
214
+ };
215
+ }>>, {
216
+ value: number | [number, number];
217
+ vertical: boolean;
218
+ trackStyle: CSSProperties | CSSProperties[];
219
+ dots: boolean;
220
+ reverse: boolean;
221
+ onFocus: FocusEventHandler;
222
+ onBlur: FocusEventHandler;
223
+ onChange: (value: number | [number, number]) => void;
224
+ range: boolean | SliderRange;
225
+ disabled: boolean;
226
+ autofocus: boolean;
227
+ defaultValue: number | [number, number];
228
+ 'onUpdate:value': (value: number | [number, number]) => void;
229
+ step: number;
230
+ included: boolean;
231
+ marks: SliderMarks;
232
+ handleStyle: CSSProperties | CSSProperties[];
233
+ onAfterChange: (value: number | [number, number]) => void;
234
+ tipFormatter: (value?: number) => any;
235
+ tooltipOpen: boolean;
236
+ tooltipVisible: boolean;
237
+ tooltipPlacement: TooltipPlacement;
238
+ getTooltipPopupContainer: (triggerNode: HTMLElement) => HTMLElement;
239
+ }, true, {}, CustomSlotsType<{
240
+ mark?: any;
241
+ default?: any;
242
+ }>, {
243
+ P: {};
244
+ B: {};
245
+ D: {};
246
+ C: {};
247
+ M: {};
248
+ Defaults: {};
249
+ }, Readonly< ExtractPropTypes<{
250
+ id: StringConstructor;
251
+ prefixCls: StringConstructor;
252
+ tooltipPrefixCls: StringConstructor;
253
+ range: {
254
+ type: PropType<boolean | SliderRange>;
255
+ default: boolean | SliderRange;
256
+ };
257
+ reverse: {
258
+ type: BooleanConstructor;
259
+ default: boolean;
260
+ };
261
+ min: NumberConstructor;
262
+ max: NumberConstructor;
263
+ step: {
264
+ type: PropType<number>;
265
+ default: number;
266
+ };
267
+ marks: {
268
+ type: PropType<SliderMarks>;
269
+ default: SliderMarks;
270
+ };
271
+ dots: {
272
+ type: BooleanConstructor;
273
+ default: boolean;
274
+ };
275
+ value: {
276
+ type: PropType<number | [number, number]>;
277
+ default: number | [number, number];
278
+ };
279
+ defaultValue: {
280
+ type: PropType<number | [number, number]>;
281
+ default: number | [number, number];
282
+ };
283
+ included: {
284
+ type: BooleanConstructor;
285
+ default: boolean;
286
+ };
287
+ disabled: {
288
+ type: BooleanConstructor;
289
+ default: boolean;
290
+ };
291
+ vertical: {
292
+ type: BooleanConstructor;
293
+ default: boolean;
294
+ };
295
+ tipFormatter: {
296
+ type: PropType<(value?: number) => any>;
297
+ default: (value?: number) => any;
298
+ };
299
+ tooltipOpen: {
300
+ type: BooleanConstructor;
301
+ default: boolean;
302
+ };
303
+ tooltipVisible: {
304
+ type: BooleanConstructor;
305
+ default: boolean;
306
+ };
307
+ tooltipPlacement: {
308
+ type: PropType<TooltipPlacement>;
309
+ default: TooltipPlacement;
310
+ };
311
+ getTooltipPopupContainer: {
312
+ type: PropType<(triggerNode: HTMLElement) => HTMLElement>;
313
+ default: (triggerNode: HTMLElement) => HTMLElement;
314
+ };
315
+ autofocus: {
316
+ type: BooleanConstructor;
317
+ default: boolean;
318
+ };
319
+ handleStyle: {
320
+ type: PropType< CSSProperties | CSSProperties[]>;
321
+ default: CSSProperties | CSSProperties[];
322
+ };
323
+ trackStyle: {
324
+ type: PropType< CSSProperties | CSSProperties[]>;
325
+ default: CSSProperties | CSSProperties[];
326
+ };
327
+ onChange: {
328
+ type: PropType<(value: number | [number, number]) => void>;
329
+ default: (value: number | [number, number]) => void;
330
+ };
331
+ onAfterChange: {
332
+ type: PropType<(value: number | [number, number]) => void>;
333
+ default: (value: number | [number, number]) => void;
334
+ };
335
+ onFocus: {
336
+ type: PropType<FocusEventHandler>;
337
+ default: FocusEventHandler;
338
+ };
339
+ onBlur: {
340
+ type: PropType<FocusEventHandler>;
341
+ default: FocusEventHandler;
342
+ };
343
+ 'onUpdate:value': {
344
+ type: PropType<(value: number | [number, number]) => void>;
345
+ default: (value: number | [number, number]) => void;
346
+ };
347
+ }>>, () => VueNode, {}, {}, {}, {
348
+ value: number | [number, number];
349
+ vertical: boolean;
350
+ trackStyle: CSSProperties | CSSProperties[];
351
+ dots: boolean;
352
+ reverse: boolean;
353
+ onFocus: FocusEventHandler;
354
+ onBlur: FocusEventHandler;
355
+ onChange: (value: number | [number, number]) => void;
356
+ range: boolean | SliderRange;
357
+ disabled: boolean;
358
+ autofocus: boolean;
359
+ defaultValue: number | [number, number];
360
+ 'onUpdate:value': (value: number | [number, number]) => void;
361
+ step: number;
362
+ included: boolean;
363
+ marks: SliderMarks;
364
+ handleStyle: CSSProperties | CSSProperties[];
365
+ onAfterChange: (value: number | [number, number]) => void;
366
+ tipFormatter: (value?: number) => any;
367
+ tooltipOpen: boolean;
368
+ tooltipVisible: boolean;
369
+ tooltipPlacement: TooltipPlacement;
370
+ getTooltipPopupContainer: (triggerNode: HTMLElement) => HTMLElement;
371
+ }> | null;
372
+ };
373
+ attrs: Partial<{}>;
374
+ };
375
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
376
  declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldSliderProps>, {
14
377
  included: boolean;
15
378
  min: number;
@@ -42,21 +405,13 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
42
405
  tooltipVisible: boolean;
43
406
  emptyText: string;
44
407
  }, {}>;
45
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
408
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
46
409
  export default _default;
47
410
  type __VLS_WithDefaults<P, D> = {
48
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
411
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
49
412
  default: D[K];
50
413
  }> : P[K];
51
414
  };
52
- type __VLS_Prettify<T> = {
53
- [K in keyof T]: T[K];
54
- } & {};
55
- type __VLS_WithTemplateSlots<T, S> = T & {
56
- new (): {
57
- $slots: S;
58
- };
59
- };
60
415
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
61
416
  type __VLS_TypePropsToOption<T> = {
62
417
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -66,3 +421,11 @@ type __VLS_TypePropsToOption<T> = {
66
421
  required: true;
67
422
  };
68
423
  };
424
+ type __VLS_WithTemplateSlots<T, S> = T & {
425
+ new (): {
426
+ $slots: S;
427
+ };
428
+ };
429
+ type __VLS_PrettifyLocal<T> = {
430
+ [K in keyof T]: T[K];
431
+ } & {};
@@ -5,7 +5,12 @@ type ApFieldSwitchSlots = {
5
5
  unCheckedChildren: any;
6
6
  default: any;
7
7
  };
8
- declare function __VLS_template(): Readonly<ApFieldSwitchSlots> & ApFieldSwitchSlots;
8
+ declare function __VLS_template(): {
9
+ slots: Readonly<ApFieldSwitchSlots> & ApFieldSwitchSlots;
10
+ refs: {};
11
+ attrs: Partial<{}>;
12
+ };
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
14
  declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldSwitchProps>, {
10
15
  emptyText: string;
11
16
  checkedValue: boolean;
@@ -29,21 +34,13 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
29
34
  unCheckedValue: string | number | boolean;
30
35
  emptyText: string;
31
36
  }, {}>;
32
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
37
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
33
38
  export default _default;
34
39
  type __VLS_WithDefaults<P, D> = {
35
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
40
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
36
41
  default: D[K];
37
42
  }> : P[K];
38
43
  };
39
- type __VLS_Prettify<T> = {
40
- [K in keyof T]: T[K];
41
- } & {};
42
- type __VLS_WithTemplateSlots<T, S> = T & {
43
- new (): {
44
- $slots: S;
45
- };
46
- };
47
44
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
48
45
  type __VLS_TypePropsToOption<T> = {
49
46
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -53,3 +50,11 @@ type __VLS_TypePropsToOption<T> = {
53
50
  required: true;
54
51
  };
55
52
  };
53
+ type __VLS_WithTemplateSlots<T, S> = T & {
54
+ new (): {
55
+ $slots: S;
56
+ };
57
+ };
58
+ type __VLS_PrettifyLocal<T> = {
59
+ [K in keyof T]: T[K];
60
+ } & {};
@@ -1,6 +1,7 @@
1
- import { ApFieldTextProps, FieldMode } from '../interface';
1
+ import { ApFieldTextProps } from '../interface';
2
2
  import { InputFocusOptions } from 'ant-design-vue/es/vc-input/utils/commonUtils';
3
3
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
4
+ import { FieldMode } from '..';
4
5
  type ApFieldTextSlots = {
5
6
  addonAfter?: any;
6
7
  addonBefore?: any;
@@ -8,7 +9,12 @@ type ApFieldTextSlots = {
8
9
  suffix?: any;
9
10
  clearIcon?: any;
10
11
  };
11
- declare function __VLS_template(): Readonly<ApFieldTextSlots> & ApFieldTextSlots;
12
+ declare function __VLS_template(): {
13
+ slots: Readonly<ApFieldTextSlots> & ApFieldTextSlots;
14
+ refs: {};
15
+ attrs: Partial<{}>;
16
+ };
17
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
18
  declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldTextProps>, {
13
19
  emptyText: string;
14
20
  mode: string;
@@ -34,28 +40,20 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
34
40
  }>>> & {
35
41
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
36
42
  }, {
37
- type: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "text" | "image" | "color" | "tel" | "url" | "email" | "checkbox" | "radio" | "range" | "datetime-local" | "file" | "password";
43
+ type: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "checkbox" | "radio" | "color" | "text" | "range" | "image" | "tel" | "url" | "email" | "datetime-local" | "file" | "password";
38
44
  mode: FieldMode;
39
45
  bordered: boolean;
40
46
  allowClear: boolean;
41
47
  lazy: boolean;
42
48
  emptyText: string;
43
49
  }, {}>;
44
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
50
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
45
51
  export default _default;
46
52
  type __VLS_WithDefaults<P, D> = {
47
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
53
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
48
54
  default: D[K];
49
55
  }> : P[K];
50
56
  };
51
- type __VLS_Prettify<T> = {
52
- [K in keyof T]: T[K];
53
- } & {};
54
- type __VLS_WithTemplateSlots<T, S> = T & {
55
- new (): {
56
- $slots: S;
57
- };
58
- };
59
57
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
60
58
  type __VLS_TypePropsToOption<T> = {
61
59
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -65,3 +63,11 @@ type __VLS_TypePropsToOption<T> = {
65
63
  required: true;
66
64
  };
67
65
  };
66
+ type __VLS_WithTemplateSlots<T, S> = T & {
67
+ new (): {
68
+ $slots: S;
69
+ };
70
+ };
71
+ type __VLS_PrettifyLocal<T> = {
72
+ [K in keyof T]: T[K];
73
+ } & {};
@@ -1,5 +1,6 @@
1
- import { ApFieldTextPasswordProps, FieldMode } from '../interface';
1
+ import { ApFieldTextPasswordProps } from '../interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
+ import { FieldMode } from '..';
3
4
  type ApFieldTextPasswordSlots = {
4
5
  addonAfter: any;
5
6
  addonBefore: any;
@@ -8,7 +9,12 @@ type ApFieldTextPasswordSlots = {
8
9
  clearIcon: any;
9
10
  iconRender: any;
10
11
  };
11
- declare function __VLS_template(): Readonly<ApFieldTextPasswordSlots> & ApFieldTextPasswordSlots;
12
+ declare function __VLS_template(): {
13
+ slots: Readonly<ApFieldTextPasswordSlots> & ApFieldTextPasswordSlots;
14
+ refs: {};
15
+ attrs: Partial<{}>;
16
+ };
17
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
18
  declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldTextPasswordProps>, {
13
19
  emptyText: string;
14
20
  mode: string;
@@ -39,7 +45,7 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
39
45
  "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
40
46
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
41
47
  }, {
42
- type: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "text" | "image" | "color" | "tel" | "url" | "email" | "checkbox" | "radio" | "range" | "datetime-local" | "file" | "password";
48
+ type: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "checkbox" | "radio" | "color" | "text" | "range" | "image" | "tel" | "url" | "email" | "datetime-local" | "file" | "password";
43
49
  mode: FieldMode;
44
50
  visible: boolean;
45
51
  bordered: boolean;
@@ -49,21 +55,13 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
49
55
  visibilityToggle: boolean;
50
56
  emptyText: string;
51
57
  }, {}>;
52
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
58
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
53
59
  export default _default;
54
60
  type __VLS_WithDefaults<P, D> = {
55
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
61
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
56
62
  default: D[K];
57
63
  }> : P[K];
58
64
  };
59
- type __VLS_Prettify<T> = {
60
- [K in keyof T]: T[K];
61
- } & {};
62
- type __VLS_WithTemplateSlots<T, S> = T & {
63
- new (): {
64
- $slots: S;
65
- };
66
- };
67
65
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
68
66
  type __VLS_TypePropsToOption<T> = {
69
67
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -73,3 +71,11 @@ type __VLS_TypePropsToOption<T> = {
73
71
  required: true;
74
72
  };
75
73
  };
74
+ type __VLS_WithTemplateSlots<T, S> = T & {
75
+ new (): {
76
+ $slots: S;
77
+ };
78
+ };
79
+ type __VLS_PrettifyLocal<T> = {
80
+ [K in keyof T]: T[K];
81
+ } & {};
@@ -1,6 +1,7 @@
1
- import { ApFieldTextAreaProps, FieldMode } from '../interface';
1
+ import { ApFieldTextAreaProps } from '../interface';
2
2
  import { InputFocusOptions } from 'ant-design-vue/es/vc-input/utils/commonUtils';
3
3
  import { DefineComponent, ComputedRef, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
4
+ import { FieldMode } from '..';
4
5
  declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldTextAreaProps>, {
5
6
  emptyText: string;
6
7
  bordered: boolean;
@@ -24,7 +25,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOpti
24
25
  }>>> & {
25
26
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
26
27
  }, {
27
- type: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "text" | "image" | "color" | "tel" | "url" | "email" | "checkbox" | "radio" | "range" | "datetime-local" | "file" | "password";
28
+ type: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "checkbox" | "radio" | "color" | "text" | "range" | "image" | "tel" | "url" | "email" | "datetime-local" | "file" | "password";
28
29
  mode: FieldMode;
29
30
  bordered: boolean;
30
31
  allowClear: boolean;
@@ -33,13 +34,10 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOpti
33
34
  }, {}>;
34
35
  export default _default;
35
36
  type __VLS_WithDefaults<P, D> = {
36
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
37
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
37
38
  default: D[K];
38
39
  }> : P[K];
39
40
  };
40
- type __VLS_Prettify<T> = {
41
- [K in keyof T]: T[K];
42
- } & {};
43
41
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
44
42
  type __VLS_TypePropsToOption<T> = {
45
43
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -49,3 +47,6 @@ type __VLS_TypePropsToOption<T> = {
49
47
  required: true;
50
48
  };
51
49
  };
50
+ type __VLS_PrettifyLocal<T> = {
51
+ [K in keyof T]: T[K];
52
+ } & {};
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("lodash-unified");require("../../hooks/index.js");require("../../config-provider/index.js");const m=require("ant-design-vue");require("./style.css");const y=require("../hooks/use-default-placeholder.js"),v=require("../../hooks/useControllableValue.js"),B=require("../../config-provider/hooks/use-namespace.js"),h=e.defineComponent({name:"ApFieldTextArea",__name:"index",props:{mode:{default:"edit"},class:{},style:{},rows:{},autoSize:{type:[Boolean,Object]},onResize:{},onCompositionstart:{},onCompositionend:{},valueModifiers:{},size:{},value:{},name:{},type:{default:"text"},onFocus:{},onBlur:{},onChange:{},onInput:{},onKeydown:{},onKeyup:{},focused:{type:Boolean},hidden:{type:Boolean},disabled:{type:Boolean},prefixCls:{},id:{},autofocus:{type:Boolean},autocomplete:{},readonly:{type:Boolean},status:{},defaultValue:{},"onUpdate:value":{},placeholder:{},loading:{type:Boolean},lazy:{type:Boolean,default:!0},maxlength:{},bordered:{type:Boolean,default:!0},showCount:{type:[Boolean,Object]},htmlSize:{},onPressEnter:{},inputElement:{},triggerFocus:{},handleReset:{},clearIcon:{},allowClear:{type:Boolean,default:!0},emptyText:{default:"--"}},emits:["update:value"],setup(r,{expose:s,emit:i}){const t=e.ref(),l=r,p=i,{value:a,updateValue:d}=v.useControllableValue(l,p),{b:c}=B.useNamespace("field-text-area"),f=y.useDefaultPlaceholder("TextArea",l);return s({focus:o=>{var n;(n=t.value)==null||n.focus(o)},blur:()=>{var o;(o=t.value)==null||o.blur()},resizableTextArea:e.computed(()=>{var o;return(o=t.value)==null?void 0:o.resizableTextArea})}),(o,n)=>o.mode==="read"?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(c)())},e.toDisplayString(e.unref(u.isNil)(e.unref(a))||e.unref(a)===""?o.emptyText:e.unref(a)),3)):(e.openBlock(),e.createBlock(e.unref(m.Input).TextArea,e.mergeProps({key:1},e.unref(u.omit)(l,["onUpdate:value","value"]),{placeholder:e.unref(f),value:e.unref(a),"onUpdate:value":e.unref(d),ref_key:"textAreaRef",ref:t}),null,16,["placeholder","value","onUpdate:value"]))}});exports.default=h;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("lodash-unified");require("../../hooks/index.js");require("../../config-provider/index.js");const m=require("ant-design-vue");require("./style.css");const y=require("../hooks/use-default-placeholder.js"),v=require("../../hooks/useControllableValue.js"),B=require("../../config-provider/hooks/use-namespace.js"),h=e.defineComponent({name:"ApFieldTextArea",__name:"index",props:{mode:{default:"edit"},class:{},style:{},rows:{},autoSize:{type:[Boolean,Object]},onResize:{},onCompositionstart:{},onCompositionend:{},valueModifiers:{},size:{},value:{},name:{},type:{default:"text"},onFocus:{},onBlur:{},onChange:{},onInput:{},onKeydown:{},onKeyup:{},focused:{type:Boolean},hidden:{type:Boolean},disabled:{type:Boolean},prefixCls:{},id:{},autofocus:{type:Boolean},autocomplete:{},readonly:{type:Boolean},status:{},defaultValue:{},"onUpdate:value":{},loading:{type:Boolean},placeholder:{},lazy:{type:Boolean,default:!0},maxlength:{},bordered:{type:Boolean,default:!0},showCount:{type:[Boolean,Object]},htmlSize:{},onPressEnter:{},inputElement:{},triggerFocus:{},handleReset:{},clearIcon:{},allowClear:{type:Boolean,default:!0},emptyText:{default:"--"}},emits:["update:value"],setup(r,{expose:s,emit:i}){const t=e.ref(),l=r,p=i,{value:a,updateValue:d}=v.useControllableValue(l,p),{b:c}=B.useNamespace("field-text-area"),f=y.useDefaultPlaceholder("TextArea",l);return s({focus:o=>{var n;(n=t.value)==null||n.focus(o)},blur:()=>{var o;(o=t.value)==null||o.blur()},resizableTextArea:e.computed(()=>{var o;return(o=t.value)==null?void 0:o.resizableTextArea})}),(o,n)=>o.mode==="read"?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(c)())},e.toDisplayString(e.unref(u.isNil)(e.unref(a))||e.unref(a)===""?o.emptyText:e.unref(a)),3)):(e.openBlock(),e.createBlock(e.unref(m.Input).TextArea,e.mergeProps({key:1},e.unref(u.omit)(l,["onUpdate:value","value"]),{placeholder:e.unref(f),value:e.unref(a),"onUpdate:value":e.unref(d),ref_key:"textAreaRef",ref:t}),null,16,["placeholder","value","onUpdate:value"]))}});exports.default=h;