@aplus-frontend/ui 0.1.4 → 0.1.6

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 (339) hide show
  1. package/es/index.mjs +60 -59
  2. package/es/src/ap-action/group/index.vue.d.ts +3 -30
  3. package/es/src/ap-action/item/index.vue.d.ts +3 -30
  4. package/es/src/ap-action/item-dropdown/index.vue.d.ts +10 -39
  5. package/es/src/ap-action/item-modal/index.vue.d.ts +6 -33
  6. package/es/src/ap-action/item-popconfirm/index.vue.d.ts +7 -33
  7. package/es/src/ap-custom-column/column-select.vue.d.ts +5 -14
  8. package/es/src/ap-custom-column/column-select.vue.mjs +32 -32
  9. package/es/src/ap-custom-column/custom-column.vue.d.ts +5 -14
  10. package/es/src/ap-custom-column/custom-column.vue.mjs +46 -46
  11. package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +2 -11
  12. package/es/src/ap-descriptions/help-message/index.vue.d.ts +4 -13
  13. package/es/src/ap-download/ap-download.vue.d.ts +3 -28
  14. package/es/src/ap-field/checkbox/index.vue.d.ts +40 -31
  15. package/es/src/ap-field/date/index.vue.d.ts +19 -64
  16. package/es/src/ap-field/date-range/index.vue.d.ts +20 -66
  17. package/es/src/ap-field/interface.d.ts +4 -0
  18. package/es/src/ap-field/number/index.vue.d.ts +138 -42
  19. package/es/src/ap-field/radio/index.vue.d.ts +51 -31
  20. package/es/src/ap-field/rate/index.vue.d.ts +46 -39
  21. package/es/src/ap-field/segmented/index.vue.d.ts +47 -32
  22. package/es/src/ap-field/select/index.vue.d.ts +192 -59
  23. package/es/src/ap-field/select/index.vue.mjs +60 -53
  24. package/es/src/ap-field/slider/index.vue.d.ts +115 -40
  25. package/es/src/ap-field/switch/index.vue.d.ts +60 -35
  26. package/es/src/ap-field/text/index.vue.d.ts +105 -38
  27. package/es/src/ap-field/text/password.vue.d.ts +113 -45
  28. package/es/src/ap-field/text-area/index.vue.d.ts +117 -38
  29. package/es/src/ap-form/ap-form-item-group/index.vue.d.ts +50 -32
  30. package/es/src/ap-form/ap-form-item-group/index.vue.mjs +30 -28
  31. package/es/src/ap-form/ap-form-item.vue.d.ts +128 -38
  32. package/es/src/ap-form/ap-form-list.vue.d.ts +2 -11
  33. package/es/src/ap-form/ap-form.vue.d.ts +238 -36
  34. package/es/src/ap-form/hooks/use-watch.d.ts +1 -1
  35. package/es/src/ap-form/items/checkbox/index.vue.d.ts +7 -37
  36. package/es/src/ap-form/items/date/index.vue.d.ts +131 -37
  37. package/es/src/ap-form/items/date-range/index.vue.d.ts +131 -37
  38. package/es/src/ap-form/items/number/index.vue.d.ts +132 -38
  39. package/es/src/ap-form/items/radio/index.vue.d.ts +8 -38
  40. package/es/src/ap-form/items/select/index.vue.d.ts +132 -38
  41. package/es/src/ap-form/items/switch/index.vue.d.ts +7 -39
  42. package/es/src/ap-form/items/text/index.vue.d.ts +132 -38
  43. package/es/src/ap-form/items/text/password.vue.d.ts +132 -38
  44. package/es/src/ap-form/items/text-area/index.vue.d.ts +9 -38
  45. package/es/src/ap-form/modal-form/index.vue.d.ts +17 -52
  46. package/es/src/ap-form/search-form/index.vue.d.ts +254 -50
  47. package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +3 -26
  48. package/es/src/ap-list/index.vue.d.ts +3 -3
  49. package/es/src/ap-table/ap-table.vue.d.ts +2 -2
  50. package/es/src/ap-table/components/index/index.vue.d.ts +3 -24
  51. package/es/src/ap-table/components/status/index.vue.d.ts +2 -11
  52. package/es/src/ap-table/constants.d.ts +4014 -11845
  53. package/es/src/ap-table/hooks/use-table-content-height.d.ts +1 -1
  54. package/es/src/ap-table/hooks/use-table-paging.d.ts +7 -3
  55. package/es/src/ap-tag/ap-tag-group.vue.d.ts +3 -28
  56. package/es/src/ap-tag/ap-tag-group.vue.mjs +78 -78
  57. package/es/src/ap-tag/ap-tag.vue.d.ts +3 -28
  58. package/es/src/ap-upload/apUpload.vue.d.ts +23 -48
  59. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +2 -2
  60. package/es/src/ap-upload/components/Picture.vue.d.ts +2 -2
  61. package/es/src/ap-upload/components/SingleFile.vue.d.ts +2 -2
  62. package/es/src/base-button/button.vue.d.ts +3 -24
  63. package/es/src/base-button/index.d.ts +7 -110
  64. package/es/src/base-button/modal-button.vue.d.ts +8 -14
  65. package/es/src/base-button/pop-confirm-button.vue.d.ts +7 -10
  66. package/es/src/basic/arrow.vue.d.ts +2 -11
  67. package/es/src/basic/help.vue.d.ts +324 -50
  68. package/es/src/basic/index.d.ts +667 -202
  69. package/es/src/basic/title.vue.d.ts +3 -24
  70. package/es/src/business/ap-batch-action/ApBatchAction.vue.d.ts +14 -0
  71. package/es/src/business/ap-batch-action/ApBatchAction.vue.mjs +4 -0
  72. package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +46 -0
  73. package/es/src/business/ap-batch-action/index.css +24 -0
  74. package/es/src/business/ap-batch-action/interface.d.ts +10 -0
  75. package/es/src/business/ap-export-group/ApExportGroup.vue.d.ts +2 -11
  76. package/es/src/business/ap-input-radio/ApInputRadio.vue.d.ts +34 -31
  77. package/es/src/business/ap-label/ApLabel.vue.d.ts +43 -32
  78. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +6 -6
  79. package/es/src/business/ap-select-layout/select-layout.vue2.mjs +23 -23
  80. package/es/src/business/ap-status/ApStatus.vue.d.ts +3 -28
  81. package/es/src/business/ap-status/ApStatusGroup.vue.d.ts +3 -30
  82. package/es/src/business/expandAlert/ApExpandAlert.vue.d.ts +6 -73
  83. package/es/src/business/index.d.ts +211 -896
  84. package/es/src/business/index.mjs +14 -11
  85. package/es/src/business/title/ApTitle.vue.d.ts +3 -32
  86. package/es/src/button/button.vue.d.ts +2 -11
  87. package/es/src/button/index.d.ts +16 -32
  88. package/es/src/check-card/group.vue.d.ts +17 -41
  89. package/es/src/check-card/index.vue.d.ts +20 -35
  90. package/es/src/config-provider/config-provider.d.ts +41 -137
  91. package/es/src/config-provider/index.d.ts +161 -545
  92. package/es/src/container/collapse/header.vue.d.ts +11 -13
  93. package/es/src/container/collapse/index.vue.d.ts +11 -40
  94. package/es/src/container/index.d.ts +40 -119
  95. package/es/src/container/scroll-container.vue.d.ts +3 -12
  96. package/es/src/count-down/button.vue.d.ts +3 -24
  97. package/es/src/count-down/index.d.ts +12 -111
  98. package/es/src/count-down/input.vue.d.ts +3 -24
  99. package/es/src/cropper/cropper-avatar.vue.d.ts +6 -33
  100. package/es/src/cropper/cropper-image.vue.d.ts +5 -36
  101. package/es/src/cropper/cropper-modal.vue.d.ts +13 -21
  102. package/es/src/cropper/index.d.ts +24 -269
  103. package/es/src/description/description.vue.d.ts +15 -45
  104. package/es/src/description/index.d.ts +51 -171
  105. package/es/src/dropdown/dropdown.vue.d.ts +5 -30
  106. package/es/src/dropdown/index.d.ts +12 -76
  107. package/es/src/editable-table/form-item.vue.d.ts +4 -4
  108. package/es/src/editable-table/index.vue.d.ts +6 -7
  109. package/es/src/editable-table/utils.mjs +1 -1
  110. package/es/src/hooks/useControllableValue.d.ts +2 -2
  111. package/es/src/icon/icon.vue.d.ts +3 -29
  112. package/es/src/icon/index.d.ts +12 -159
  113. package/es/src/icon/svg-icon.vue.d.ts +3 -28
  114. package/es/src/icon-picker/icon-picker.vue.d.ts +5 -38
  115. package/es/src/icon-picker/index.d.ts +12 -139
  116. package/es/src/index.mjs +176 -175
  117. package/es/src/locale/lang/en.mjs +5 -0
  118. package/es/src/locale/lang/zh-cn.mjs +5 -0
  119. package/es/src/modal/basic.vue.d.ts +147 -117
  120. package/es/src/modal/components/modal-close.vue.d.ts +5 -26
  121. package/es/src/modal/components/modal-footer.vue.d.ts +146 -116
  122. package/es/src/modal/components/modal-header.vue.d.ts +2 -11
  123. package/es/src/modal/components/modal-wrapper.vue.d.ts +19 -43
  124. package/es/src/modal/components/modal.d.ts +145 -115
  125. package/es/src/modal/hooks/use-moda-full-screen.d.ts +1 -1
  126. package/es/src/modal/index.d.ts +287 -462
  127. package/es/src/pro-form/components/api-cascader.vue.d.ts +5 -38
  128. package/es/src/pro-form/components/api-radio-group.vue.d.ts +5 -36
  129. package/es/src/pro-form/components/api-select.vue.d.ts +5 -38
  130. package/es/src/pro-form/components/api-transfer.vue.d.ts +5 -40
  131. package/es/src/pro-form/components/api-tree-select.vue.d.ts +5 -36
  132. package/es/src/pro-form/components/api-tree.vue.d.ts +5 -28
  133. package/es/src/pro-form/components/form-action.vue.d.ts +5 -38
  134. package/es/src/pro-form/components/form-item.vue.d.ts +14 -34
  135. package/es/src/pro-form/components/radio-button-group.vue.d.ts +3 -24
  136. package/es/src/pro-form/hooks/use-break-point.d.ts +1 -1
  137. package/es/src/pro-form/pro-form.vue.d.ts +6 -57
  138. package/es/src/pro-form/table-form-inner.vue.d.ts +5 -34
  139. package/es/src/pro-form/table-form.vue.d.ts +4 -29
  140. package/es/src/pro-table/components/edit-table-header-icon.vue.d.ts +6 -9
  141. package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +96 -26
  142. package/es/src/pro-table/components/header-cell.vue.d.ts +726 -9
  143. package/es/src/pro-table/components/settings/column-setting.vue.d.ts +3 -3
  144. package/es/src/pro-table/components/settings/full-screen-setting.vue.d.ts +2 -2
  145. package/es/src/pro-table/components/settings/index.vue.d.ts +8 -11
  146. package/es/src/pro-table/components/settings/redo-setting.vue.d.ts +2 -2
  147. package/es/src/pro-table/components/settings/size-setting.vue.d.ts +2 -2
  148. package/es/src/pro-table/components/table-action.vue.d.ts +10 -24
  149. package/es/src/pro-table/components/table-footer.vue.d.ts +5 -30
  150. package/es/src/pro-table/components/table-header.vue.d.ts +15 -31
  151. package/es/src/pro-table/components/table-image.vue.d.ts +3 -32
  152. package/es/src/pro-table/components/table-selection-bar.vue.d.ts +5 -26
  153. package/es/src/pro-table/components/table-title.vue.d.ts +7 -13
  154. package/es/src/pro-table/pro-table.vue.d.ts +8 -61
  155. package/es/src/prompt/dialog.vue.d.ts +2 -11
  156. package/es/src/scroll-bar/bar-item.d.ts +10 -9
  157. package/es/src/scroll-bar/index.d.ts +12 -135
  158. package/es/src/scroll-bar/scroll-bar.vue.d.ts +5 -36
  159. package/es/src/strength-meter/index.d.ts +12 -55
  160. package/es/src/strength-meter/strength-meter.vue.d.ts +5 -26
  161. package/es/src/tests/wrapper.d.ts +3 -6
  162. package/es/src/theme/ap-batch-action/ap-batch-action.css +24 -0
  163. package/es/src/theme/css-var/index.mjs +17 -5
  164. package/es/src/transition/collapse-transition.vue.d.ts +2 -2
  165. package/es/src/transition/create-transition.d.ts +13 -25
  166. package/es/src/transition/index.d.ts +88 -193
  167. package/es/src/work-order-modal/help-message.vue.d.ts +2 -2
  168. package/es/src/work-order-modal/help-message.vue2.mjs +19 -19
  169. package/es/src/work-order-modal/work-order-modal.vue.d.ts +6 -15
  170. package/lib/index.js +1 -1
  171. package/lib/src/ap-action/group/index.vue.d.ts +3 -30
  172. package/lib/src/ap-action/item/index.vue.d.ts +3 -30
  173. package/lib/src/ap-action/item-dropdown/index.vue.d.ts +10 -39
  174. package/lib/src/ap-action/item-modal/index.vue.d.ts +6 -33
  175. package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +7 -33
  176. package/lib/src/ap-custom-column/column-select.vue.d.ts +5 -14
  177. package/lib/src/ap-custom-column/column-select.vue.js +1 -1
  178. package/lib/src/ap-custom-column/custom-column.vue.d.ts +5 -14
  179. package/lib/src/ap-custom-column/custom-column.vue.js +1 -1
  180. package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +2 -11
  181. package/lib/src/ap-descriptions/help-message/index.vue.d.ts +4 -13
  182. package/lib/src/ap-download/ap-download.vue.d.ts +3 -28
  183. package/lib/src/ap-field/checkbox/index.vue.d.ts +40 -31
  184. package/lib/src/ap-field/date/index.vue.d.ts +19 -64
  185. package/lib/src/ap-field/date-range/index.vue.d.ts +20 -66
  186. package/lib/src/ap-field/interface.d.ts +4 -0
  187. package/lib/src/ap-field/number/index.vue.d.ts +138 -42
  188. package/lib/src/ap-field/radio/index.vue.d.ts +51 -31
  189. package/lib/src/ap-field/rate/index.vue.d.ts +46 -39
  190. package/lib/src/ap-field/segmented/index.vue.d.ts +47 -32
  191. package/lib/src/ap-field/select/index.vue.d.ts +192 -59
  192. package/lib/src/ap-field/select/index.vue.js +1 -1
  193. package/lib/src/ap-field/slider/index.vue.d.ts +115 -40
  194. package/lib/src/ap-field/switch/index.vue.d.ts +60 -35
  195. package/lib/src/ap-field/text/index.vue.d.ts +105 -38
  196. package/lib/src/ap-field/text/password.vue.d.ts +113 -45
  197. package/lib/src/ap-field/text-area/index.vue.d.ts +117 -38
  198. package/lib/src/ap-form/ap-form-item-group/index.vue.d.ts +50 -32
  199. package/lib/src/ap-form/ap-form-item-group/index.vue.js +1 -1
  200. package/lib/src/ap-form/ap-form-item.vue.d.ts +128 -38
  201. package/lib/src/ap-form/ap-form-list.vue.d.ts +2 -11
  202. package/lib/src/ap-form/ap-form.vue.d.ts +238 -36
  203. package/lib/src/ap-form/hooks/use-watch.d.ts +1 -1
  204. package/lib/src/ap-form/items/checkbox/index.vue.d.ts +7 -37
  205. package/lib/src/ap-form/items/date/index.vue.d.ts +131 -37
  206. package/lib/src/ap-form/items/date-range/index.vue.d.ts +131 -37
  207. package/lib/src/ap-form/items/number/index.vue.d.ts +132 -38
  208. package/lib/src/ap-form/items/radio/index.vue.d.ts +8 -38
  209. package/lib/src/ap-form/items/select/index.vue.d.ts +132 -38
  210. package/lib/src/ap-form/items/switch/index.vue.d.ts +7 -39
  211. package/lib/src/ap-form/items/text/index.vue.d.ts +132 -38
  212. package/lib/src/ap-form/items/text/password.vue.d.ts +132 -38
  213. package/lib/src/ap-form/items/text-area/index.vue.d.ts +9 -38
  214. package/lib/src/ap-form/modal-form/index.vue.d.ts +17 -52
  215. package/lib/src/ap-form/search-form/index.vue.d.ts +254 -50
  216. package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +3 -26
  217. package/lib/src/ap-list/index.vue.d.ts +3 -3
  218. package/lib/src/ap-table/ap-table.vue.d.ts +2 -2
  219. package/lib/src/ap-table/components/index/index.vue.d.ts +3 -24
  220. package/lib/src/ap-table/components/status/index.vue.d.ts +2 -11
  221. package/lib/src/ap-table/constants.d.ts +4014 -11845
  222. package/lib/src/ap-table/hooks/use-table-content-height.d.ts +1 -1
  223. package/lib/src/ap-table/hooks/use-table-paging.d.ts +7 -3
  224. package/lib/src/ap-tag/ap-tag-group.vue.d.ts +3 -28
  225. package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
  226. package/lib/src/ap-tag/ap-tag.vue.d.ts +3 -28
  227. package/lib/src/ap-upload/apUpload.vue.d.ts +23 -48
  228. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +2 -2
  229. package/lib/src/ap-upload/components/Picture.vue.d.ts +2 -2
  230. package/lib/src/ap-upload/components/SingleFile.vue.d.ts +2 -2
  231. package/lib/src/base-button/button.vue.d.ts +3 -24
  232. package/lib/src/base-button/index.d.ts +7 -110
  233. package/lib/src/base-button/modal-button.vue.d.ts +8 -14
  234. package/lib/src/base-button/pop-confirm-button.vue.d.ts +7 -10
  235. package/lib/src/basic/arrow.vue.d.ts +2 -11
  236. package/lib/src/basic/help.vue.d.ts +324 -50
  237. package/lib/src/basic/index.d.ts +667 -202
  238. package/lib/src/basic/title.vue.d.ts +3 -24
  239. package/lib/src/business/ap-batch-action/ApBatchAction.vue.d.ts +14 -0
  240. package/lib/src/business/ap-batch-action/ApBatchAction.vue.js +1 -0
  241. package/lib/src/business/ap-batch-action/ApBatchAction.vue2.js +1 -0
  242. package/lib/src/business/ap-batch-action/index.css +24 -0
  243. package/lib/src/business/ap-batch-action/interface.d.ts +10 -0
  244. package/lib/src/business/ap-export-group/ApExportGroup.vue.d.ts +2 -11
  245. package/lib/src/business/ap-input-radio/ApInputRadio.vue.d.ts +34 -31
  246. package/lib/src/business/ap-label/ApLabel.vue.d.ts +43 -32
  247. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +6 -6
  248. package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
  249. package/lib/src/business/ap-status/ApStatus.vue.d.ts +3 -28
  250. package/lib/src/business/ap-status/ApStatusGroup.vue.d.ts +3 -30
  251. package/lib/src/business/expandAlert/ApExpandAlert.vue.d.ts +6 -73
  252. package/lib/src/business/index.d.ts +211 -896
  253. package/lib/src/business/index.js +1 -1
  254. package/lib/src/business/title/ApTitle.vue.d.ts +3 -32
  255. package/lib/src/button/button.vue.d.ts +2 -11
  256. package/lib/src/button/index.d.ts +16 -32
  257. package/lib/src/check-card/group.vue.d.ts +17 -41
  258. package/lib/src/check-card/index.vue.d.ts +20 -35
  259. package/lib/src/config-provider/config-provider.d.ts +41 -137
  260. package/lib/src/config-provider/index.d.ts +161 -545
  261. package/lib/src/container/collapse/header.vue.d.ts +11 -13
  262. package/lib/src/container/collapse/index.vue.d.ts +11 -40
  263. package/lib/src/container/index.d.ts +40 -119
  264. package/lib/src/container/scroll-container.vue.d.ts +3 -12
  265. package/lib/src/count-down/button.vue.d.ts +3 -24
  266. package/lib/src/count-down/index.d.ts +12 -111
  267. package/lib/src/count-down/input.vue.d.ts +3 -24
  268. package/lib/src/cropper/cropper-avatar.vue.d.ts +6 -33
  269. package/lib/src/cropper/cropper-image.vue.d.ts +5 -36
  270. package/lib/src/cropper/cropper-modal.vue.d.ts +13 -21
  271. package/lib/src/cropper/index.d.ts +24 -269
  272. package/lib/src/description/description.vue.d.ts +15 -45
  273. package/lib/src/description/index.d.ts +51 -171
  274. package/lib/src/dropdown/dropdown.vue.d.ts +5 -30
  275. package/lib/src/dropdown/index.d.ts +12 -76
  276. package/lib/src/editable-table/form-item.vue.d.ts +4 -4
  277. package/lib/src/editable-table/index.vue.d.ts +6 -7
  278. package/lib/src/editable-table/utils.js +1 -1
  279. package/lib/src/hooks/useControllableValue.d.ts +2 -2
  280. package/lib/src/icon/icon.vue.d.ts +3 -29
  281. package/lib/src/icon/index.d.ts +12 -159
  282. package/lib/src/icon/svg-icon.vue.d.ts +3 -28
  283. package/lib/src/icon-picker/icon-picker.vue.d.ts +5 -38
  284. package/lib/src/icon-picker/index.d.ts +12 -139
  285. package/lib/src/index.js +1 -1
  286. package/lib/src/locale/lang/en.js +1 -1
  287. package/lib/src/locale/lang/zh-cn.js +1 -1
  288. package/lib/src/modal/basic.vue.d.ts +147 -117
  289. package/lib/src/modal/components/modal-close.vue.d.ts +5 -26
  290. package/lib/src/modal/components/modal-footer.vue.d.ts +146 -116
  291. package/lib/src/modal/components/modal-header.vue.d.ts +2 -11
  292. package/lib/src/modal/components/modal-wrapper.vue.d.ts +19 -43
  293. package/lib/src/modal/components/modal.d.ts +145 -115
  294. package/lib/src/modal/hooks/use-moda-full-screen.d.ts +1 -1
  295. package/lib/src/modal/index.d.ts +287 -462
  296. package/lib/src/pro-form/components/api-cascader.vue.d.ts +5 -38
  297. package/lib/src/pro-form/components/api-radio-group.vue.d.ts +5 -36
  298. package/lib/src/pro-form/components/api-select.vue.d.ts +5 -38
  299. package/lib/src/pro-form/components/api-transfer.vue.d.ts +5 -40
  300. package/lib/src/pro-form/components/api-tree-select.vue.d.ts +5 -36
  301. package/lib/src/pro-form/components/api-tree.vue.d.ts +5 -28
  302. package/lib/src/pro-form/components/form-action.vue.d.ts +5 -38
  303. package/lib/src/pro-form/components/form-item.vue.d.ts +14 -34
  304. package/lib/src/pro-form/components/radio-button-group.vue.d.ts +3 -24
  305. package/lib/src/pro-form/hooks/use-break-point.d.ts +1 -1
  306. package/lib/src/pro-form/pro-form.vue.d.ts +6 -57
  307. package/lib/src/pro-form/table-form-inner.vue.d.ts +5 -34
  308. package/lib/src/pro-form/table-form.vue.d.ts +4 -29
  309. package/lib/src/pro-table/components/edit-table-header-icon.vue.d.ts +6 -9
  310. package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +96 -26
  311. package/lib/src/pro-table/components/header-cell.vue.d.ts +726 -9
  312. package/lib/src/pro-table/components/settings/column-setting.vue.d.ts +3 -3
  313. package/lib/src/pro-table/components/settings/full-screen-setting.vue.d.ts +2 -2
  314. package/lib/src/pro-table/components/settings/index.vue.d.ts +8 -11
  315. package/lib/src/pro-table/components/settings/redo-setting.vue.d.ts +2 -2
  316. package/lib/src/pro-table/components/settings/size-setting.vue.d.ts +2 -2
  317. package/lib/src/pro-table/components/table-action.vue.d.ts +10 -24
  318. package/lib/src/pro-table/components/table-footer.vue.d.ts +5 -30
  319. package/lib/src/pro-table/components/table-header.vue.d.ts +15 -31
  320. package/lib/src/pro-table/components/table-image.vue.d.ts +3 -32
  321. package/lib/src/pro-table/components/table-selection-bar.vue.d.ts +5 -26
  322. package/lib/src/pro-table/components/table-title.vue.d.ts +7 -13
  323. package/lib/src/pro-table/pro-table.vue.d.ts +8 -61
  324. package/lib/src/prompt/dialog.vue.d.ts +2 -11
  325. package/lib/src/scroll-bar/bar-item.d.ts +10 -9
  326. package/lib/src/scroll-bar/index.d.ts +12 -135
  327. package/lib/src/scroll-bar/scroll-bar.vue.d.ts +5 -36
  328. package/lib/src/strength-meter/index.d.ts +12 -55
  329. package/lib/src/strength-meter/strength-meter.vue.d.ts +5 -26
  330. package/lib/src/tests/wrapper.d.ts +3 -6
  331. package/lib/src/theme/ap-batch-action/ap-batch-action.css +24 -0
  332. package/lib/src/theme/css-var/index.js +1 -1
  333. package/lib/src/transition/collapse-transition.vue.d.ts +2 -2
  334. package/lib/src/transition/create-transition.d.ts +13 -25
  335. package/lib/src/transition/index.d.ts +88 -193
  336. package/lib/src/work-order-modal/help-message.vue.d.ts +2 -2
  337. package/lib/src/work-order-modal/help-message.vue2.js +1 -1
  338. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +6 -15
  339. package/package.json +4 -4
@@ -1,36 +1,15 @@
1
1
  import { BasicTitleProps } from './interface';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  declare function __VLS_template(): {
4
4
  default?(_: {}): any;
5
5
  };
6
- declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<BasicTitleProps>, {
7
- helpMessage: string;
8
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<BasicTitleProps>, {
9
- helpMessage: string;
10
- }>>>, {
6
+ declare const __VLS_component: DefineComponent<BasicTitleProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BasicTitleProps & {}>, {
11
7
  helpMessage: string | string[];
12
- }, {}>;
8
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
13
9
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
14
10
  export default _default;
15
- type __VLS_WithDefaults<P, D> = {
16
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
17
- default: D[K];
18
- }> : P[K];
19
- };
20
- type __VLS_Prettify<T> = {
21
- [K in keyof T]: T[K];
22
- } & {};
23
11
  type __VLS_WithTemplateSlots<T, S> = T & {
24
12
  new (): {
25
13
  $slots: S;
26
14
  };
27
15
  };
28
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
29
- type __VLS_TypePropsToOption<T> = {
30
- [K in keyof T]-?: {} extends Pick<T, K> ? {
31
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
32
- } : {
33
- type: PropType<T[K]>;
34
- required: true;
35
- };
36
- };
@@ -0,0 +1,14 @@
1
+ import { ApBatchActionProps } from './interface';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ declare function __VLS_template(): {
4
+ prefix?(_: {}): any;
5
+ suffix?(_: {}): any;
6
+ };
7
+ declare const __VLS_component: DefineComponent<ApBatchActionProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApBatchActionProps & {}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
8
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
9
+ export default _default;
10
+ type __VLS_WithTemplateSlots<T, S> = T & {
11
+ new (): {
12
+ $slots: S;
13
+ };
14
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./ApBatchAction.vue2.js");exports.default=e.default;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./index.css");const r=require("ant-design-vue");require("../../config-provider/index.js");const i=require("../../config-provider/hooks/use-namespace.js"),u=require("../../config-provider/hooks/use-locale.js"),d={class:"selected-desc"},p={class:"selected-desc-conut"},f={class:"selected-desc-clean"},m=e.defineComponent({__name:"ApBatchAction",props:{selectedRowKeys:{},clearAll:{type:Function}},setup(o){const{b:a}=i.useNamespace("ap-batch-action"),{t:s}=u.useLocale(),c=o,l=e.computed(()=>{var t;return((t=c.selectedRowKeys)==null?void 0:t.length)||0});return(t,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(a)()])},[e.renderSlot(t.$slots,"prefix"),e.createElementVNode("div",d,[e.createElementVNode("div",p,[e.createTextVNode(e.toDisplayString(e.unref(s)("ap.apBatchAction.selected"))+" ",1),e.createElementVNode("span",null,e.toDisplayString(l.value),1),e.createTextVNode(" "+e.toDisplayString(e.unref(s)("ap.apBatchAction.piecesOfData")),1)]),e.createElementVNode("div",f,[e.createVNode(e.unref(r.Button),{type:"link",onClick:n[0]||(n[0]=_=>c.clearAll&&c.clearAll())},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("ap.apBatchAction.empty")),1)]),_:1})])]),e.renderSlot(t.$slots,"suffix")],2))}});exports.default=m;
@@ -0,0 +1,24 @@
1
+ .aplus-ap-batch-action {
2
+ width: 100%;
3
+ display: flex;
4
+ align-items: center;
5
+ }
6
+ .aplus-ap-batch-action .selected-desc {
7
+ display: flex;
8
+ align-items: center;
9
+ margin-right: 16px;
10
+ }
11
+ .aplus-ap-batch-action .selected-desc-conut {
12
+ font-size: 14px;
13
+ color: var(--ap-batch-action-color-font, #8896b0);
14
+ }
15
+ .aplus-ap-batch-action .selected-desc-conut span {
16
+ color: var(--ap-batch-action-color-active, #0070ff);
17
+ font-weight: bold;
18
+ }
19
+ .aplus-ap-batch-action .selected-desc-clean {
20
+ margin-left: 8px;
21
+ }
22
+ .aplus-ap-batch-action .selected-desc-clean > * {
23
+ padding: 0;
24
+ }
@@ -0,0 +1,10 @@
1
+ export interface ApBatchActionProps {
2
+ /**
3
+ * 选中行的Key列表
4
+ */
5
+ selectedRowKeys?: any[];
6
+ /**
7
+ * 清空
8
+ */
9
+ clearAll?: () => void;
10
+ }
@@ -1,13 +1,4 @@
1
1
  import { Props } from './interface';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
- declare const _default: DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<Props>>>, {}, {}>;
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props & {}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
4
4
  export default _default;
5
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
6
- type __VLS_TypePropsToOption<T> = {
7
- [K in keyof T]-?: {} extends Pick<T, K> ? {
8
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
9
- } : {
10
- type: PropType<T[K]>;
11
- required: true;
12
- };
13
- };
@@ -1,37 +1,40 @@
1
- import { ApInputRadioProps } from './interface';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
- declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApInputRadioProps>, {
4
- bordered: boolean;
5
- controls: boolean;
6
- stringMode: boolean;
7
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1
+ import { ApInputRadioProps, ApInputValType, ApInputRadioOptions } from './interface';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ import { ValueType } from 'ant-design-vue/es/input-number/src/utils/MiniDecimal';
4
+ import { KeyboardEventHandler } from 'ant-design-vue/es/_util/EventInterface';
5
+ declare const _default: DefineComponent<ApInputRadioProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
8
6
  "update:value": (...args: any[]) => void;
9
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApInputRadioProps>, {
10
- bordered: boolean;
11
- controls: boolean;
12
- stringMode: boolean;
13
- }>>> & {
7
+ }, string, PublicProps, Readonly<{
8
+ onBlur?: ((e: FocusEvent) => void) | undefined;
9
+ onChange?: ((value: ValueType) => void) | undefined;
10
+ onFocus?: ((e: FocusEvent) => void) | undefined;
11
+ onInput?: ((text: string) => void) | undefined;
12
+ disabled?: boolean | undefined;
13
+ bordered?: boolean | undefined;
14
+ autofocus?: boolean | undefined;
15
+ onPressEnter?: KeyboardEventHandler | undefined;
16
+ stringMode?: boolean | undefined;
17
+ min?: ValueType | undefined;
18
+ max?: ValueType | undefined;
19
+ step?: ValueType | undefined;
20
+ controls?: boolean | undefined;
21
+ formatter?: ((value: ValueType, info: {
22
+ userTyping: boolean;
23
+ input: string;
24
+ }) => string) | undefined;
25
+ precision?: number | undefined;
26
+ decimalSeparator?: string | undefined;
27
+ onStep?: ((value: ValueType, info: {
28
+ offset: ValueType;
29
+ type: "up" | "down";
30
+ }) => void) | undefined;
31
+ } & ApInputValType & {
32
+ options: ApInputRadioOptions;
33
+ } & {
14
34
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
15
- }, {
35
+ }>, {
16
36
  bordered: boolean;
17
37
  stringMode: boolean;
18
38
  controls: boolean;
19
- }, {}>;
39
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
20
40
  export default _default;
21
- type __VLS_WithDefaults<P, D> = {
22
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
23
- default: D[K];
24
- }> : P[K];
25
- };
26
- type __VLS_Prettify<T> = {
27
- [K in keyof T]: T[K];
28
- } & {};
29
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
30
- type __VLS_TypePropsToOption<T> = {
31
- [K in keyof T]-?: {} extends Pick<T, K> ? {
32
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
33
- } : {
34
- type: PropType<T[K]>;
35
- required: true;
36
- };
37
- };
@@ -1,50 +1,61 @@
1
1
  import { ApLabelProps } from './interface';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, CSSProperties, ComponentProvideOptions } from 'vue';
3
+ import { VueTypeValidableDef } from '../../../node_modules/vue-types';
4
+ import { LiteralUnion } from 'ant-design-vue/es/_util/type';
3
5
  import { TooltipPlacement } from 'ant-design-vue/es/tooltip';
4
6
  declare function __VLS_template(): Partial<Record<string, (_: {}) => any>>;
5
- declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApLabelProps>, {
6
- status: string;
7
- placement: string;
8
- iconColor: string;
9
- iconType: string;
10
- iconSize: number;
11
- text: string;
12
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApLabelProps>, {
13
- status: string;
14
- placement: string;
7
+ declare const __VLS_component: DefineComponent<ApLabelProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Partial< ExtractPropTypes<{
8
+ count: VueTypeValidableDef<any> & {
9
+ default: any;
10
+ };
11
+ showZero: {
12
+ type: BooleanConstructor;
13
+ default: any;
14
+ };
15
+ overflowCount: {
16
+ type: NumberConstructor;
17
+ default: number;
18
+ };
19
+ dot: {
20
+ type: BooleanConstructor;
21
+ default: any;
22
+ };
23
+ prefixCls: StringConstructor;
24
+ scrollNumberPrefixCls: StringConstructor;
25
+ status: {
26
+ type: PropType<"error" | "default" | "success" | "processing" | "warning">;
27
+ };
28
+ size: {
29
+ type: PropType<"default" | "small">;
30
+ default: string;
31
+ };
32
+ color: PropType<LiteralUnion<"blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue">>;
33
+ text: VueTypeValidableDef<any>;
34
+ offset: PropType<[string | number, string | number]>;
35
+ numberStyle: {
36
+ type: PropType<CSSProperties>;
37
+ default: CSSProperties;
38
+ };
39
+ title: StringConstructor;
40
+ }>> & Partial<{
41
+ helpMessage: string;
42
+ placement: TooltipPlacement;
15
43
  iconColor: string;
16
- iconType: string;
44
+ iconType: "question" | "warning" | "ellipsis";
17
45
  iconSize: number;
18
- text: string;
19
- }>>>, {
46
+ slotName: string;
47
+ }> & {}>, {
20
48
  placement: TooltipPlacement;
21
49
  iconType: "question" | "warning" | "ellipsis";
22
50
  text: any;
23
51
  iconSize: number;
24
52
  status: "error" | "default" | "success" | "warning" | "processing";
25
53
  iconColor: string;
26
- }, {}>;
54
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
27
55
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
28
56
  export default _default;
29
- type __VLS_WithDefaults<P, D> = {
30
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
31
- default: D[K];
32
- }> : P[K];
33
- };
34
- type __VLS_Prettify<T> = {
35
- [K in keyof T]: T[K];
36
- } & {};
37
57
  type __VLS_WithTemplateSlots<T, S> = T & {
38
58
  new (): {
39
59
  $slots: S;
40
60
  };
41
61
  };
42
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
43
- type __VLS_TypePropsToOption<T> = {
44
- [K in keyof T]-?: {} extends Pick<T, K> ? {
45
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
46
- } : {
47
- type: PropType<T[K]>;
48
- required: true;
49
- };
50
- };
@@ -1,15 +1,15 @@
1
1
  import { ApSelectItem, ApSelectLayoutProps } from './interface';
2
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
2
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
3
3
  declare const _default: <T extends ApSelectItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
4
  props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
5
- onAfterLeave?: ((el: Element) => any) | undefined;
6
- onAfterEnter?: ((el: Element) => any) | undefined;
5
+ readonly onOnSelect?: ((value: T) => any) | undefined;
6
+ readonly onAfterLeave?: ((el: Element) => any) | undefined;
7
+ readonly onAfterEnter?: ((el: Element) => any) | undefined;
8
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<{
7
9
  onOnSelect?: ((value: T) => any) | undefined;
8
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{}>> & {
9
10
  onAfterLeave?: ((el: Element) => any) | undefined;
10
11
  onAfterEnter?: ((el: Element) => any) | undefined;
11
- onOnSelect?: ((value: T) => any) | undefined;
12
- }, never>, "onAfterLeave" | "onAfterEnter" | "onOnSelect"> & ApSelectLayoutProps<T>> & PublicProps;
12
+ }>, never>, "onAfterLeave" | "onAfterEnter" | "onOnSelect"> & ApSelectLayoutProps<T>> & PublicProps;
13
13
  expose(exposed: ShallowUnwrapRef<{}>): void;
14
14
  attrs: any;
15
15
  slots: ReturnType<() => {
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../ap-field/index.js");const E=require("@aplus-frontend/icon");require("../../config-provider/index.js");const p=require("ant-design-vue"),S=require("lodash-unified");require("./index.css");const b=require("../../config-provider/hooks/use-namespace.js"),w=require("../../ap-field/text/index.js"),x=["onClick"],B=e.defineComponent({__name:"select-layout",props:{title:{},request:{},defaultFold:{type:Boolean,default:!1}},emits:["onSelect","afterEnter","afterLeave"],setup(k,{emit:y}){const{b:s,be:c,bem:a}=b.useNamespace("ap-select-layout"),o=k,i=y,u=e.ref(),r=e.ref(o.defaultFold),d=e.ref(!o.defaultFold),f=e.ref(),v=e.ref(),m=e.ref(),h=e.ref(""),C=()=>{r.value=!r.value,f.value=!1,v.value=!1},N=t=>{m.value=t,i("onSelect",t)},g=S.debounce(t=>{var n;h.value=(n=t.target)==null?void 0:n.value},500),z=e.computed(()=>{var t;return(t=u.value)==null?void 0:t.filter(n=>n.name.includes(h.value))}),T=t=>{d.value=!0,i("afterEnter",t)},q=t=>{d.value=!1,i("afterLeave",t)};return e.onMounted(()=>{o.request().then(t=>{var n;u.value=t,N((n=u.value)==null?void 0:n[0])})}),(t,n)=>{var V;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)())},[e.createVNode(e.Transition,{mode:"out-in",onAfterEnter:T,onAfterLeave:q},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass(e.unref(s)("side"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(c)("side","header"))},[e.createElementVNode("h3",null,e.toDisplayString(o.title),1),e.createElementVNode("div",{class:e.normalizeClass(e.unref(a)("side","header","imgWrap"))},[e.createVNode(e.unref(p.Tooltip),{open:f.value,"onUpdate:open":n[0]||(n[0]=l=>f.value=l)},{title:e.withCtx(()=>[e.createTextVNode("收起")]),default:e.withCtx(()=>[e.createVNode(e.unref(E.IconApLeftarrow),{onClick:C})]),_:1},8,["open"])],2)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(c)("side","body"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(a)("side","body","search"))},[e.createVNode(e.unref(w.ApFieldText),{placeholder:"请输入",onChange:e.unref(g)},null,8,["onChange"])],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(a)("side","body","scroll"))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(z.value,l=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:l.value,class:e.normalizeClass(`${e.unref(a)("side","body","scroll-item")} ${m.value===l?"active":""}`),onClick:L=>N(l)},[e.renderSlot(t.$slots,"itemRender",{item:l},()=>[e.createVNode(e.unref(p.TypographyText),{ellipsis:{tooltip:l.name},content:`${l.name}`},null,8,["ellipsis","content"])])],10,x)),[[e.vShow,d.value]])),128))],2)],2)],2),[[e.vShow,!r.value]])]),_:3}),e.createElementVNode("div",{class:e.normalizeClass(e.unref(s)("content"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(c)("content","header"))},[r.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(a)("content","header","imgWrap"))},[e.createVNode(e.unref(p.Tooltip),{open:v.value,"onUpdate:open":n[1]||(n[1]=l=>v.value=l)},{title:e.withCtx(()=>[e.createTextVNode("展开")]),default:e.withCtx(()=>[e.createVNode(e.unref(E.IconApMenu),{onClick:C})]),_:1},8,["open"])],2)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(e.unref(a)("content","header","title"))},e.toDisplayString((V=m.value)==null?void 0:V.name),3)],2),e.renderSlot(t.$slots,"default")],2)],2)}}});exports.default=B;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../ap-field/index.js");const E=require("@aplus-frontend/icon");require("../../config-provider/index.js");const p=require("ant-design-vue"),S=require("lodash-unified");require("./index.css");const b=require("../../config-provider/hooks/use-namespace.js"),w=require("../../ap-field/text/index.js"),x=["onClick"],B=e.defineComponent({__name:"select-layout",props:{title:{},request:{},defaultFold:{type:Boolean,default:!1}},emits:["onSelect","afterEnter","afterLeave"],setup(k,{emit:y}){const{b:s,be:i,bem:o}=b.useNamespace("ap-select-layout"),a=k,u=y,d=e.ref(),r=e.ref(a.defaultFold),c=e.ref(!a.defaultFold),f=e.ref(),v=e.ref(),m=e.ref(),C=e.ref(""),h=()=>{r.value=!r.value,f.value=!1,v.value=!1},N=t=>{m.value=t,u("onSelect",t)},g=S.debounce(t=>{var n;C.value=(n=t.target)==null?void 0:n.value},500),z=e.computed(()=>{var t;return(t=d.value)==null?void 0:t.filter(n=>n.name.includes(C.value))}),T=t=>{c.value=!0,u("afterEnter",t)},q=t=>{c.value=!1,u("afterLeave",t)};return e.onMounted(()=>{a.request().then(t=>{var n;d.value=t,N((n=d.value)==null?void 0:n[0])})}),(t,n)=>{var V;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)())},[e.createVNode(e.Transition,{mode:"out-in",onAfterEnter:T,onAfterLeave:q},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass(e.unref(s)("side"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(i)("side","header"))},[e.createElementVNode("h3",null,e.toDisplayString(a.title),1),e.createElementVNode("div",{class:e.normalizeClass(e.unref(o)("side","header","imgWrap"))},[e.createVNode(e.unref(p.Tooltip),{open:f.value,"onUpdate:open":n[0]||(n[0]=l=>f.value=l)},{title:e.withCtx(()=>n[2]||(n[2]=[e.createTextVNode("收起")])),default:e.withCtx(()=>[e.createVNode(e.unref(E.IconApLeftarrow),{onClick:h})]),_:1},8,["open"])],2)],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(i)("side","body"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(o)("side","body","search"))},[e.createVNode(e.unref(w.ApFieldText),{placeholder:"请输入",onChange:e.unref(g)},null,8,["onChange"])],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(o)("side","body","scroll"))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(z.value,l=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:l.value,class:e.normalizeClass(`${e.unref(o)("side","body","scroll-item")} ${m.value===l?"active":""}`),onClick:L=>N(l)},[e.renderSlot(t.$slots,"itemRender",{item:l},()=>[e.createVNode(e.unref(p.TypographyText),{ellipsis:{tooltip:l.name},content:`${l.name}`},null,8,["ellipsis","content"])])],10,x)),[[e.vShow,c.value]])),128))],2)],2)],2),[[e.vShow,!r.value]])]),_:3}),e.createElementVNode("div",{class:e.normalizeClass(e.unref(s)("content"))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(i)("content","header"))},[r.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(o)("content","header","imgWrap"))},[e.createVNode(e.unref(p.Tooltip),{open:v.value,"onUpdate:open":n[1]||(n[1]=l=>v.value=l)},{title:e.withCtx(()=>n[3]||(n[3]=[e.createTextVNode("展开")])),default:e.withCtx(()=>[e.createVNode(e.unref(E.IconApMenu),{onClick:h})]),_:1},8,["open"])],2)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(e.unref(o)("content","header","title"))},e.toDisplayString((V=m.value)==null?void 0:V.name),3)],2),e.renderSlot(t.$slots,"default")],2)],2)}}});exports.default=B;
@@ -1,33 +1,8 @@
1
1
  import { ApStatusProps } from './interface';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
- declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApStatusProps>, {
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ declare const _default: DefineComponent<ApStatusProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApStatusProps & {}>, {
4
4
  color: string;
5
5
  padding: number;
6
6
  show: boolean;
7
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApStatusProps>, {
8
- color: string;
9
- padding: number;
10
- show: boolean;
11
- }>>>, {
12
- color: string;
13
- padding: number;
14
- show: boolean;
15
- }, {}>;
7
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
16
8
  export default _default;
17
- type __VLS_WithDefaults<P, D> = {
18
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
19
- default: D[K];
20
- }> : P[K];
21
- };
22
- type __VLS_Prettify<T> = {
23
- [K in keyof T]: T[K];
24
- } & {};
25
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
26
- type __VLS_TypePropsToOption<T> = {
27
- [K in keyof T]-?: {} extends Pick<T, K> ? {
28
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
29
- } : {
30
- type: PropType<T[K]>;
31
- required: true;
32
- };
33
- };
@@ -1,36 +1,9 @@
1
1
  import { ApStatusGroupProps, ApStatusGroupItemProps } from './interface';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
- declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApStatusGroupProps>, {
4
- currentValue: number;
5
- padding: number;
6
- statusList: null;
7
- show: boolean;
8
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApStatusGroupProps>, {
9
- currentValue: number;
10
- padding: number;
11
- statusList: null;
12
- show: boolean;
13
- }>>>, {
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ declare const _default: DefineComponent<ApStatusGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApStatusGroupProps & {}>, {
14
4
  padding: number;
15
5
  show: boolean;
16
6
  currentValue: number | string;
17
7
  statusList: ApStatusGroupItemProps[] | null;
18
- }, {}>;
8
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
19
9
  export default _default;
20
- type __VLS_WithDefaults<P, D> = {
21
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
22
- default: D[K];
23
- }> : P[K];
24
- };
25
- type __VLS_Prettify<T> = {
26
- [K in keyof T]: T[K];
27
- } & {};
28
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
29
- type __VLS_TypePropsToOption<T> = {
30
- [K in keyof T]-?: {} extends Pick<T, K> ? {
31
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
32
- } : {
33
- type: PropType<T[K]>;
34
- required: true;
35
- };
36
- };
@@ -1,5 +1,5 @@
1
1
  import { ApExpandAlertProps } from './interface';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  /**
4
4
  * @description: 手动调用收起展开
5
5
  * @param {boolean} state true 展开 false 收起
@@ -8,93 +8,26 @@ declare function setExpand(state?: boolean): void;
8
8
  declare function __VLS_template(): {
9
9
  default?(_: {}): any;
10
10
  };
11
- declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApExpandAlertProps>, {
12
- /**
13
- * Alert类型
14
- */
15
- type: string;
16
- /**
17
- * 数据
18
- */
19
- data: () => never[];
20
- /**
21
- * 前缀
22
- */
23
- prefix: string;
24
- /**
25
- * Tooltip 提示标题
26
- */
27
- tipTitle: string;
28
- /**
29
- * 分隔符
30
- */
31
- separator: string;
32
- /**
33
- * 内容达到几行显示展开收起
34
- */
35
- rows: number;
36
- }>, {
11
+ declare const __VLS_component: DefineComponent<ApExpandAlertProps, {
37
12
  setExpand: typeof setExpand;
38
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
13
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
39
14
  expand: (...args: any[]) => void;
40
15
  choose: (...args: any[]) => void;
41
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApExpandAlertProps>, {
42
- /**
43
- * Alert类型
44
- */
45
- type: string;
46
- /**
47
- * 数据
48
- */
49
- data: () => never[];
50
- /**
51
- * 前缀
52
- */
53
- prefix: string;
54
- /**
55
- * Tooltip 提示标题
56
- */
57
- tipTitle: string;
58
- /**
59
- * 分隔符
60
- */
61
- separator: string;
62
- /**
63
- * 内容达到几行显示展开收起
64
- */
65
- rows: number;
66
- }>>> & {
16
+ }, string, PublicProps, Readonly<ApExpandAlertProps & {
67
17
  onExpand?: ((...args: any[]) => any) | undefined;
68
18
  onChoose?: ((...args: any[]) => any) | undefined;
69
- }, {
19
+ }>, {
70
20
  type: "warning" | "error" | "success" | "info" | undefined;
71
21
  data: Array<any> | string;
72
22
  prefix: string;
73
23
  separator: string;
74
24
  rows: string | number;
75
25
  tipTitle: string;
76
- }, {}>;
26
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
77
27
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
78
28
  export default _default;
79
- type __VLS_WithDefaults<P, D> = {
80
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
81
- default: D[K];
82
- }> : P[K];
83
- };
84
- type __VLS_Prettify<T> = {
85
- [K in keyof T]: T[K];
86
- } & {};
87
29
  type __VLS_WithTemplateSlots<T, S> = T & {
88
30
  new (): {
89
31
  $slots: S;
90
32
  };
91
33
  };
92
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
93
- type __VLS_TypePropsToOption<T> = {
94
- [K in keyof T]-?: {} extends Pick<T, K> ? {
95
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
96
- } : {
97
- type: PropType<T[K]>;
98
- required: true;
99
- };
100
- };