@aplus-frontend/ui 0.2.29 → 0.3.1

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 (453) hide show
  1. package/es/index.mjs +42 -40
  2. package/es/src/ap-action/group/index.vue.d.ts +3 -30
  3. package/es/src/ap-action/item/index.vue.d.ts +4 -36
  4. package/es/src/ap-action/item/index.vue2.mjs +29 -29
  5. package/es/src/ap-action/item-dropdown/index.vue.d.ts +5 -39
  6. package/es/src/ap-action/item-modal/index.vue.d.ts +5 -33
  7. package/es/src/ap-action/item-popconfirm/index.vue.d.ts +5 -33
  8. package/es/src/ap-action/item-popconfirm/index.vue.mjs +2 -2
  9. package/es/src/ap-button/ap-action-button.vue.d.ts +5 -31
  10. package/es/src/ap-button/ap-button.vue.d.ts +5 -31
  11. package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +4 -12
  12. package/es/src/ap-descriptions/ap-descriptions.vue.mjs +24 -24
  13. package/es/src/ap-descriptions/help-message/index.vue.d.ts +4 -15
  14. package/es/src/ap-download/ap-download.vue.d.ts +8 -31
  15. package/es/src/ap-drawer/utils/createDrawer.mjs +10 -10
  16. package/es/src/ap-field/checkbox/index.vue.d.ts +5 -32
  17. package/es/src/ap-field/checkbox/index.vue.mjs +3 -3
  18. package/es/src/ap-field/date/index.vue.d.ts +7 -65
  19. package/es/src/ap-field/date/index.vue.mjs +2 -2
  20. package/es/src/ap-field/date-range/index.vue.d.ts +7 -67
  21. package/es/src/ap-field/date-range/index.vue.mjs +2 -2
  22. package/es/src/ap-field/hooks/use-options.d.ts +1 -1
  23. package/es/src/ap-field/number/index.vue.d.ts +12 -169
  24. package/es/src/ap-field/number/index.vue.mjs +3 -3
  25. package/es/src/ap-field/radio/index.vue.d.ts +6 -33
  26. package/es/src/ap-field/radio/index.vue.mjs +5 -5
  27. package/es/src/ap-field/rate/index.vue.d.ts +12 -75
  28. package/es/src/ap-field/rate/index.vue.mjs +4 -4
  29. package/es/src/ap-field/segmented/index.vue.d.ts +7 -33
  30. package/es/src/ap-field/segmented/index.vue.mjs +3 -3
  31. package/es/src/ap-field/select/index.vue.d.ts +12 -234
  32. package/es/src/ap-field/select/index.vue.mjs +4 -4
  33. package/es/src/ap-field/slider/index.vue.d.ts +12 -144
  34. package/es/src/ap-field/slider/index.vue.mjs +3 -3
  35. package/es/src/ap-field/switch/index.vue.d.ts +7 -37
  36. package/es/src/ap-field/switch/index.vue.mjs +4 -4
  37. package/es/src/ap-field/text/index.vue.d.ts +8 -40
  38. package/es/src/ap-field/text/password.vue.d.ts +9 -47
  39. package/es/src/ap-field/text-area/index.vue.d.ts +6 -39
  40. package/es/src/ap-field/text-area/index.vue.mjs +3 -3
  41. package/es/src/ap-form/ap-form.vue.d.ts +21 -274
  42. package/es/src/ap-form/ap-form.vue2.mjs +2 -2
  43. package/es/src/ap-form/dependency/index.vue.d.ts +4 -12
  44. package/es/src/ap-form/drawer-form/index.vue.d.ts +37 -536
  45. package/es/src/ap-form/drawer-form/index.vue.mjs +2 -2
  46. package/es/src/ap-form/hooks/use-watch.d.ts +1 -1
  47. package/es/src/ap-form/item/index.vue.d.ts +37 -278
  48. package/es/src/ap-form/item-group/index.vue.d.ts +5 -29
  49. package/es/src/ap-form/items/checkbox/index.vue.d.ts +5 -37
  50. package/es/src/ap-form/items/date/index.vue.d.ts +5 -37
  51. package/es/src/ap-form/items/date-range/index.vue.d.ts +5 -37
  52. package/es/src/ap-form/items/number/index.vue.d.ts +53 -510
  53. package/es/src/ap-form/items/radio/index.vue.d.ts +14 -219
  54. package/es/src/ap-form/items/select/index.vue.d.ts +6 -38
  55. package/es/src/ap-form/items/switch/index.vue.d.ts +5 -39
  56. package/es/src/ap-form/items/text/group.vue.d.ts +5 -25
  57. package/es/src/ap-form/items/text/index.vue.d.ts +35 -522
  58. package/es/src/ap-form/items/text/password.vue.d.ts +44 -586
  59. package/es/src/ap-form/items/text-area/index.vue.d.ts +14 -507
  60. package/es/src/ap-form/list/index.vue.d.ts +4 -12
  61. package/es/src/ap-form/modal-form/index.vue.d.ts +37 -535
  62. package/es/src/ap-form/modal-form/index.vue.mjs +3 -3
  63. package/es/src/ap-form/render/control.vue.d.ts +4 -12
  64. package/es/src/ap-form/render/item.vue.d.ts +5 -37
  65. package/es/src/ap-form/search-form/index.vue.d.ts +37 -532
  66. package/es/src/ap-form/search-form/index.vue.mjs +2 -2
  67. package/es/src/ap-form/set/index.vue.d.ts +5 -25
  68. package/es/src/ap-info-layout/ApInfoLayout.vue.d.ts +4 -12
  69. package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +5 -27
  70. package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue2.mjs +6 -6
  71. package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.d.ts +7 -29
  72. package/es/src/ap-list/index.vue.d.ts +4 -6
  73. package/es/src/ap-list/index.vue.mjs +27 -27
  74. package/es/src/ap-modal/utils/createModal.mjs +10 -10
  75. package/es/src/ap-scroll-bar/ap-scroll-bar.vue.d.ts +3 -24
  76. package/es/src/ap-scroll-bar/ap-scroll-bar.vue2.mjs +3 -3
  77. package/es/src/ap-scroll-bar/index.d.ts +7 -42
  78. package/es/src/ap-table/ap-table.vue.d.ts +3 -5
  79. package/es/src/ap-table/ap-table.vue2.mjs +3 -3
  80. package/es/src/ap-table/components/index/index.vue.d.ts +3 -24
  81. package/es/src/ap-table/components/index/index.vue2.mjs +3 -3
  82. package/es/src/ap-table/components/paragraph-ellipsis/index.vue.d.ts +2 -11
  83. package/es/src/ap-table/components/setting/modal/index.vue.d.ts +5 -25
  84. package/es/src/ap-table/components/setting/modal/index.vue2.mjs +4 -4
  85. package/es/src/ap-table/components/setting/select-group/index.vue.d.ts +2 -11
  86. package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +2 -2
  87. package/es/src/ap-table/components/setting/sortable/index.vue.d.ts +2 -11
  88. package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +3 -3
  89. package/es/src/ap-table/components/setting/sortable/item.vue.d.ts +6 -15
  90. package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +8 -8
  91. package/es/src/ap-table/components/setting/sorter/index.vue.d.ts +5 -14
  92. package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +6 -6
  93. package/es/src/ap-table/components/setting/tree-select/index.vue.d.ts +2 -11
  94. package/es/src/ap-table/components/status/index.vue.d.ts +2 -11
  95. package/es/src/ap-table/components/status/index.vue2.mjs +4 -4
  96. package/es/src/ap-table/constants.d.ts +162 -13517
  97. package/es/src/ap-table/hooks/use-table-column-state.d.ts +11 -3
  98. package/es/src/ap-table/hooks/use-table-content-height.d.ts +1 -1
  99. package/es/src/ap-table/hooks/use-table-content-height.mjs +13 -11
  100. package/es/src/ap-table/hooks/use-table-paging.d.ts +7 -3
  101. package/es/src/ap-table/utils.d.ts +65 -7907
  102. package/es/src/ap-tag/ap-tag-group.vue.d.ts +5 -29
  103. package/es/src/ap-tag/ap-tag-group.vue.mjs +88 -88
  104. package/es/src/ap-tag/ap-tag.vue.d.ts +3 -28
  105. package/es/src/ap-upload/apUpload.vue.d.ts +66 -16
  106. package/es/src/ap-upload/apUpload.vue.mjs +56 -37
  107. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +2 -2
  108. package/es/src/ap-upload/components/MultipleFile.vue2.mjs +10 -10
  109. package/es/src/ap-upload/components/Picture.vue.d.ts +6 -10
  110. package/es/src/ap-upload/components/Picture.vue2.mjs +26 -26
  111. package/es/src/ap-upload/components/SingleFile.vue.d.ts +2 -2
  112. package/es/src/ap-upload/components/SingleFile.vue2.mjs +27 -27
  113. package/es/src/business/ap-appendix/ap-appendix.vue.d.ts +6 -29
  114. package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +49 -49
  115. package/es/src/business/ap-appendix/icons/file-icon.vue.d.ts +2 -2
  116. package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +10 -10
  117. package/es/src/business/ap-appendix/index.d.ts +7 -108
  118. package/es/src/business/ap-attachment/ApAttachment.d.ts +5 -5
  119. package/es/src/business/ap-attachment/index.d.ts +7 -48
  120. package/es/src/business/ap-batch-action/ApBatchAction.vue.d.ts +4 -12
  121. package/es/src/business/ap-batch-action/index.d.ts +5 -32
  122. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +3 -11
  123. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +10 -10
  124. package/es/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +4 -14
  125. package/es/src/business/ap-batch-action-group/index.d.ts +590 -905
  126. package/es/src/business/ap-button-group/ApButtonGroup.vue.d.ts +2 -19
  127. package/es/src/business/ap-button-group/index.d.ts +5 -603
  128. package/es/src/business/ap-card/ApCard.vue.d.ts +4 -12
  129. package/es/src/business/ap-card/index.d.ts +5 -33
  130. package/es/src/business/ap-card/interface.d.ts +1 -1
  131. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +5 -10
  132. package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +5 -5
  133. package/es/src/business/ap-expand-alert/index.d.ts +6 -8
  134. package/es/src/business/ap-export-group/ApExportGroup.vue.d.ts +3 -24
  135. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +11 -11
  136. package/es/src/business/ap-export-group/index.d.ts +7 -146
  137. package/es/src/business/ap-group-search/ap-group-search.vue.d.ts +8 -30
  138. package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +26 -26
  139. package/es/src/business/ap-group-search/extension-select/index.vue.d.ts +9 -356
  140. package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +15 -15
  141. package/es/src/business/ap-group-search/images/icon-down.vue.d.ts +2 -2
  142. package/es/src/business/ap-group-search/images/icon-down.vue.mjs +18 -18
  143. package/es/src/business/ap-group-search/images/icon-line-select.vue.d.ts +2 -2
  144. package/es/src/business/ap-group-search/images/icon-line-select.vue.mjs +34 -34
  145. package/es/src/business/ap-group-search/index.d.ts +711 -2447
  146. package/es/src/business/ap-group-search/popover-select/index.vue.d.ts +10 -357
  147. package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +15 -15
  148. package/es/src/business/ap-image/ApImage.vue.d.ts +5 -25
  149. package/es/src/business/ap-image/ApImage.vue2.mjs +28 -28
  150. package/es/src/business/ap-image/index.d.ts +7 -139
  151. package/es/src/business/ap-input-radio/ApInputRadio.vue.d.ts +6 -31
  152. package/es/src/business/ap-input-radio/index.d.ts +14 -339
  153. package/es/src/business/ap-label/ApLabel.d.ts +5 -5
  154. package/es/src/business/ap-label/group/ApLabelGroup.d.ts +5 -5
  155. package/es/src/business/ap-label/index.d.ts +13 -90
  156. package/es/src/business/ap-ladder/ApLadder.vue.d.ts +5 -71
  157. package/es/src/business/ap-ladder/index.d.ts +7 -479
  158. package/es/src/business/ap-select-layout/index.d.ts +5 -7
  159. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +6 -12
  160. package/es/src/business/ap-select-layout/select-layout.vue2.mjs +58 -58
  161. package/es/src/business/ap-size-input/ApSizeInput.d.ts +84 -0
  162. package/es/src/business/ap-size-input/ApSizeInput.mjs +62 -0
  163. package/es/src/business/ap-size-input/constans.d.ts +38 -0
  164. package/es/src/business/ap-size-input/constans.mjs +40 -0
  165. package/es/src/business/ap-size-input/index.d.ts +155 -0
  166. package/es/src/business/ap-size-input/index.mjs +7 -0
  167. package/es/src/business/ap-size-input/interface.d.ts +11 -0
  168. package/es/src/business/ap-size-input/interface.mjs +1 -0
  169. package/es/src/business/ap-size-input/style/css.d.ts +0 -0
  170. package/es/src/business/ap-size-input/style/css.js +1 -0
  171. package/es/src/business/ap-size-input/style/index.d.ts +0 -0
  172. package/es/src/business/ap-size-input/style/index.js +1 -0
  173. package/es/src/business/ap-status/ApStatus.vue.d.ts +3 -28
  174. package/es/src/business/ap-status/group/ApStatusGroup.vue.d.ts +3 -30
  175. package/es/src/business/ap-status/index.d.ts +12 -192
  176. package/es/src/business/ap-summary/ap-summary.vue.d.ts +3 -28
  177. package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
  178. package/es/src/business/ap-summary/index.d.ts +7 -87
  179. package/es/src/business/ap-table-modal/index.d.ts +15 -1056
  180. package/es/src/business/ap-table-modal/modal-title.vue.d.ts +6 -5
  181. package/es/src/business/ap-table-modal/table-layout/index.vue.d.ts +12 -37
  182. package/es/src/business/ap-table-modal/table-modal.vue.d.ts +8 -58
  183. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +8 -9
  184. package/es/src/business/ap-title/ApTitle.vue.d.ts +5 -33
  185. package/es/src/business/ap-title/index.d.ts +7 -110
  186. package/es/src/business/ap-title/interface.d.ts +4 -4
  187. package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.d.ts +13 -33
  188. package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +74 -70
  189. package/es/src/business/ap-upload-file/hook/useProps.mjs +8 -8
  190. package/es/src/business/ap-upload-file/icon/delete-icon.vue.d.ts +2 -2
  191. package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +18 -18
  192. package/es/src/business/ap-upload-file/icon/file-icon.vue.d.ts +2 -2
  193. package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +10 -10
  194. package/es/src/business/ap-upload-file/interface.d.ts +2 -0
  195. package/es/src/business/ap-upload-file/utils/fileList.d.ts +2 -2
  196. package/es/src/business/ap-upload-file/utils/fileList.mjs +12 -12
  197. package/es/src/business/ap-upload-file/utils/upload.d.ts +3 -0
  198. package/es/src/business/ap-upload-file/utils/upload.mjs +23 -23
  199. package/es/src/business/batch-input-group/index.vue.d.ts +5 -38
  200. package/es/src/business/batch-input-group/index.vue.mjs +5 -5
  201. package/es/src/business/batch-input-group/popover-input/index.vue.d.ts +4 -13
  202. package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +15 -15
  203. package/es/src/business/hooks/usePageListApTable.d.ts +1 -0
  204. package/es/src/business/hooks/usePageListApTable.mjs +41 -33
  205. package/es/src/business/index.d.ts +1 -0
  206. package/es/src/business/index.mjs +20 -18
  207. package/es/src/check-card/group.vue.d.ts +7 -45
  208. package/es/src/check-card/index.vue.d.ts +7 -37
  209. package/es/src/config-provider/config-provider.d.ts +5 -5
  210. package/es/src/config-provider/index.d.ts +7 -256
  211. package/es/src/editable-table/form-item.vue.d.ts +5 -7
  212. package/es/src/editable-table/form-item.vue.mjs +3 -3
  213. package/es/src/editable-table/index.vue.d.ts +4 -8
  214. package/es/src/editable-table/index.vue.mjs +6 -6
  215. package/es/src/hooks/useControllableValue.d.ts +1 -1
  216. package/es/src/index.mjs +40 -38
  217. package/es/src/locale/lang/en.mjs +5 -0
  218. package/es/src/locale/lang/zh-cn.mjs +5 -0
  219. package/es/src/path-map.mjs +1 -0
  220. package/es/src/tests/wrapper.d.ts +6 -6
  221. package/es/src/utils/ap-trans-data/index.d.ts +1 -1
  222. package/es/src/utils/ap-trans-data/index.mjs +26 -14
  223. package/es/src/work-order-modal/help-message.vue.d.ts +2 -2
  224. package/es/src/work-order-modal/help-message.vue2.mjs +19 -19
  225. package/es/src/work-order-modal/work-order-modal.vue.d.ts +6 -15
  226. package/es/src/work-order-modal/work-order-modal.vue.mjs +28 -28
  227. package/lib/index.js +1 -1
  228. package/lib/src/ap-action/group/index.vue.d.ts +3 -30
  229. package/lib/src/ap-action/item/index.vue.d.ts +4 -36
  230. package/lib/src/ap-action/item/index.vue2.js +1 -1
  231. package/lib/src/ap-action/item-dropdown/index.vue.d.ts +5 -39
  232. package/lib/src/ap-action/item-modal/index.vue.d.ts +5 -33
  233. package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +5 -33
  234. package/lib/src/ap-action/item-popconfirm/index.vue.js +1 -1
  235. package/lib/src/ap-button/ap-action-button.vue.d.ts +5 -31
  236. package/lib/src/ap-button/ap-button.vue.d.ts +5 -31
  237. package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +4 -12
  238. package/lib/src/ap-descriptions/ap-descriptions.vue.js +1 -1
  239. package/lib/src/ap-descriptions/help-message/index.vue.d.ts +4 -15
  240. package/lib/src/ap-download/ap-download.vue.d.ts +8 -31
  241. package/lib/src/ap-drawer/utils/createDrawer.js +1 -1
  242. package/lib/src/ap-field/checkbox/index.vue.d.ts +5 -32
  243. package/lib/src/ap-field/checkbox/index.vue.js +1 -1
  244. package/lib/src/ap-field/date/index.vue.d.ts +7 -65
  245. package/lib/src/ap-field/date/index.vue.js +1 -1
  246. package/lib/src/ap-field/date-range/index.vue.d.ts +7 -67
  247. package/lib/src/ap-field/date-range/index.vue.js +1 -1
  248. package/lib/src/ap-field/hooks/use-options.d.ts +1 -1
  249. package/lib/src/ap-field/number/index.vue.d.ts +12 -169
  250. package/lib/src/ap-field/number/index.vue.js +1 -1
  251. package/lib/src/ap-field/radio/index.vue.d.ts +6 -33
  252. package/lib/src/ap-field/radio/index.vue.js +1 -1
  253. package/lib/src/ap-field/rate/index.vue.d.ts +12 -75
  254. package/lib/src/ap-field/rate/index.vue.js +1 -1
  255. package/lib/src/ap-field/segmented/index.vue.d.ts +7 -33
  256. package/lib/src/ap-field/segmented/index.vue.js +1 -1
  257. package/lib/src/ap-field/select/index.vue.d.ts +12 -234
  258. package/lib/src/ap-field/select/index.vue.js +1 -1
  259. package/lib/src/ap-field/slider/index.vue.d.ts +12 -144
  260. package/lib/src/ap-field/slider/index.vue.js +1 -1
  261. package/lib/src/ap-field/switch/index.vue.d.ts +7 -37
  262. package/lib/src/ap-field/switch/index.vue.js +1 -1
  263. package/lib/src/ap-field/text/index.vue.d.ts +8 -40
  264. package/lib/src/ap-field/text/password.vue.d.ts +9 -47
  265. package/lib/src/ap-field/text-area/index.vue.d.ts +6 -39
  266. package/lib/src/ap-field/text-area/index.vue.js +1 -1
  267. package/lib/src/ap-form/ap-form.vue.d.ts +21 -274
  268. package/lib/src/ap-form/ap-form.vue2.js +1 -1
  269. package/lib/src/ap-form/dependency/index.vue.d.ts +4 -12
  270. package/lib/src/ap-form/drawer-form/index.vue.d.ts +37 -536
  271. package/lib/src/ap-form/drawer-form/index.vue.js +1 -1
  272. package/lib/src/ap-form/hooks/use-watch.d.ts +1 -1
  273. package/lib/src/ap-form/item/index.vue.d.ts +37 -278
  274. package/lib/src/ap-form/item-group/index.vue.d.ts +5 -29
  275. package/lib/src/ap-form/items/checkbox/index.vue.d.ts +5 -37
  276. package/lib/src/ap-form/items/date/index.vue.d.ts +5 -37
  277. package/lib/src/ap-form/items/date-range/index.vue.d.ts +5 -37
  278. package/lib/src/ap-form/items/number/index.vue.d.ts +53 -510
  279. package/lib/src/ap-form/items/radio/index.vue.d.ts +14 -219
  280. package/lib/src/ap-form/items/select/index.vue.d.ts +6 -38
  281. package/lib/src/ap-form/items/switch/index.vue.d.ts +5 -39
  282. package/lib/src/ap-form/items/text/group.vue.d.ts +5 -25
  283. package/lib/src/ap-form/items/text/index.vue.d.ts +35 -522
  284. package/lib/src/ap-form/items/text/password.vue.d.ts +44 -586
  285. package/lib/src/ap-form/items/text-area/index.vue.d.ts +14 -507
  286. package/lib/src/ap-form/list/index.vue.d.ts +4 -12
  287. package/lib/src/ap-form/modal-form/index.vue.d.ts +37 -535
  288. package/lib/src/ap-form/modal-form/index.vue.js +1 -1
  289. package/lib/src/ap-form/render/control.vue.d.ts +4 -12
  290. package/lib/src/ap-form/render/item.vue.d.ts +5 -37
  291. package/lib/src/ap-form/search-form/index.vue.d.ts +37 -532
  292. package/lib/src/ap-form/search-form/index.vue.js +1 -1
  293. package/lib/src/ap-form/set/index.vue.d.ts +5 -25
  294. package/lib/src/ap-info-layout/ApInfoLayout.vue.d.ts +4 -12
  295. package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +5 -27
  296. package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue2.js +1 -1
  297. package/lib/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.d.ts +7 -29
  298. package/lib/src/ap-list/index.vue.d.ts +4 -6
  299. package/lib/src/ap-list/index.vue.js +1 -1
  300. package/lib/src/ap-modal/utils/createModal.js +1 -1
  301. package/lib/src/ap-scroll-bar/ap-scroll-bar.vue.d.ts +3 -24
  302. package/lib/src/ap-scroll-bar/ap-scroll-bar.vue2.js +1 -1
  303. package/lib/src/ap-scroll-bar/index.d.ts +7 -42
  304. package/lib/src/ap-table/ap-table.vue.d.ts +3 -5
  305. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  306. package/lib/src/ap-table/components/index/index.vue.d.ts +3 -24
  307. package/lib/src/ap-table/components/index/index.vue2.js +1 -1
  308. package/lib/src/ap-table/components/paragraph-ellipsis/index.vue.d.ts +2 -11
  309. package/lib/src/ap-table/components/setting/modal/index.vue.d.ts +5 -25
  310. package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
  311. package/lib/src/ap-table/components/setting/select-group/index.vue.d.ts +2 -11
  312. package/lib/src/ap-table/components/setting/select-group/index.vue2.js +1 -1
  313. package/lib/src/ap-table/components/setting/sortable/index.vue.d.ts +2 -11
  314. package/lib/src/ap-table/components/setting/sortable/index.vue2.js +1 -1
  315. package/lib/src/ap-table/components/setting/sortable/item.vue.d.ts +6 -15
  316. package/lib/src/ap-table/components/setting/sortable/item.vue2.js +1 -1
  317. package/lib/src/ap-table/components/setting/sorter/index.vue.d.ts +5 -14
  318. package/lib/src/ap-table/components/setting/sorter/index.vue2.js +1 -1
  319. package/lib/src/ap-table/components/setting/tree-select/index.vue.d.ts +2 -11
  320. package/lib/src/ap-table/components/status/index.vue.d.ts +2 -11
  321. package/lib/src/ap-table/components/status/index.vue2.js +1 -1
  322. package/lib/src/ap-table/constants.d.ts +162 -13517
  323. package/lib/src/ap-table/hooks/use-table-column-state.d.ts +11 -3
  324. package/lib/src/ap-table/hooks/use-table-content-height.d.ts +1 -1
  325. package/lib/src/ap-table/hooks/use-table-content-height.js +1 -1
  326. package/lib/src/ap-table/hooks/use-table-paging.d.ts +7 -3
  327. package/lib/src/ap-table/utils.d.ts +65 -7907
  328. package/lib/src/ap-tag/ap-tag-group.vue.d.ts +5 -29
  329. package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
  330. package/lib/src/ap-tag/ap-tag.vue.d.ts +3 -28
  331. package/lib/src/ap-upload/apUpload.vue.d.ts +66 -16
  332. package/lib/src/ap-upload/apUpload.vue.js +1 -1
  333. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +2 -2
  334. package/lib/src/ap-upload/components/MultipleFile.vue2.js +1 -1
  335. package/lib/src/ap-upload/components/Picture.vue.d.ts +6 -10
  336. package/lib/src/ap-upload/components/Picture.vue2.js +1 -1
  337. package/lib/src/ap-upload/components/SingleFile.vue.d.ts +2 -2
  338. package/lib/src/ap-upload/components/SingleFile.vue2.js +1 -1
  339. package/lib/src/business/ap-appendix/ap-appendix.vue.d.ts +6 -29
  340. package/lib/src/business/ap-appendix/ap-appendix.vue2.js +1 -1
  341. package/lib/src/business/ap-appendix/icons/file-icon.vue.d.ts +2 -2
  342. package/lib/src/business/ap-appendix/icons/file-icon.vue.js +1 -1
  343. package/lib/src/business/ap-appendix/index.d.ts +7 -108
  344. package/lib/src/business/ap-attachment/ApAttachment.d.ts +5 -5
  345. package/lib/src/business/ap-attachment/index.d.ts +7 -48
  346. package/lib/src/business/ap-batch-action/ApBatchAction.vue.d.ts +4 -12
  347. package/lib/src/business/ap-batch-action/index.d.ts +5 -32
  348. package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +3 -11
  349. package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.js +1 -1
  350. package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +4 -14
  351. package/lib/src/business/ap-batch-action-group/index.d.ts +590 -905
  352. package/lib/src/business/ap-button-group/ApButtonGroup.vue.d.ts +2 -19
  353. package/lib/src/business/ap-button-group/index.d.ts +5 -603
  354. package/lib/src/business/ap-card/ApCard.vue.d.ts +4 -12
  355. package/lib/src/business/ap-card/index.d.ts +5 -33
  356. package/lib/src/business/ap-card/interface.d.ts +1 -1
  357. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +5 -10
  358. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
  359. package/lib/src/business/ap-expand-alert/index.d.ts +6 -8
  360. package/lib/src/business/ap-export-group/ApExportGroup.vue.d.ts +3 -24
  361. package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
  362. package/lib/src/business/ap-export-group/index.d.ts +7 -146
  363. package/lib/src/business/ap-group-search/ap-group-search.vue.d.ts +8 -30
  364. package/lib/src/business/ap-group-search/ap-group-search.vue2.js +1 -1
  365. package/lib/src/business/ap-group-search/extension-select/index.vue.d.ts +9 -356
  366. package/lib/src/business/ap-group-search/extension-select/index.vue2.js +1 -1
  367. package/lib/src/business/ap-group-search/images/icon-down.vue.d.ts +2 -2
  368. package/lib/src/business/ap-group-search/images/icon-down.vue.js +1 -1
  369. package/lib/src/business/ap-group-search/images/icon-line-select.vue.d.ts +2 -2
  370. package/lib/src/business/ap-group-search/images/icon-line-select.vue.js +1 -1
  371. package/lib/src/business/ap-group-search/index.d.ts +711 -2447
  372. package/lib/src/business/ap-group-search/popover-select/index.vue.d.ts +10 -357
  373. package/lib/src/business/ap-group-search/popover-select/index.vue2.js +2 -2
  374. package/lib/src/business/ap-image/ApImage.vue.d.ts +5 -25
  375. package/lib/src/business/ap-image/ApImage.vue2.js +1 -1
  376. package/lib/src/business/ap-image/index.d.ts +7 -139
  377. package/lib/src/business/ap-input-radio/ApInputRadio.vue.d.ts +6 -31
  378. package/lib/src/business/ap-input-radio/index.d.ts +14 -339
  379. package/lib/src/business/ap-label/ApLabel.d.ts +5 -5
  380. package/lib/src/business/ap-label/group/ApLabelGroup.d.ts +5 -5
  381. package/lib/src/business/ap-label/index.d.ts +13 -90
  382. package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +5 -71
  383. package/lib/src/business/ap-ladder/index.d.ts +7 -479
  384. package/lib/src/business/ap-select-layout/index.d.ts +5 -7
  385. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +6 -12
  386. package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
  387. package/lib/src/business/ap-size-input/ApSizeInput.d.ts +84 -0
  388. package/lib/src/business/ap-size-input/ApSizeInput.js +1 -0
  389. package/lib/src/business/ap-size-input/constans.d.ts +38 -0
  390. package/lib/src/business/ap-size-input/constans.js +1 -0
  391. package/lib/src/business/ap-size-input/index.d.ts +155 -0
  392. package/lib/src/business/ap-size-input/index.js +1 -0
  393. package/lib/src/business/ap-size-input/interface.d.ts +11 -0
  394. package/lib/src/business/ap-size-input/interface.js +1 -0
  395. package/lib/src/business/ap-size-input/style/css.d.ts +0 -0
  396. package/lib/src/business/ap-size-input/style/css.js +1 -0
  397. package/lib/src/business/ap-size-input/style/index.d.ts +0 -0
  398. package/lib/src/business/ap-size-input/style/index.js +1 -0
  399. package/lib/src/business/ap-status/ApStatus.vue.d.ts +3 -28
  400. package/lib/src/business/ap-status/group/ApStatusGroup.vue.d.ts +3 -30
  401. package/lib/src/business/ap-status/index.d.ts +12 -192
  402. package/lib/src/business/ap-summary/ap-summary.vue.d.ts +3 -28
  403. package/lib/src/business/ap-summary/ap-summary.vue2.js +1 -1
  404. package/lib/src/business/ap-summary/index.d.ts +7 -87
  405. package/lib/src/business/ap-table-modal/index.d.ts +15 -1056
  406. package/lib/src/business/ap-table-modal/modal-title.vue.d.ts +6 -5
  407. package/lib/src/business/ap-table-modal/table-layout/index.vue.d.ts +12 -37
  408. package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +8 -58
  409. package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
  410. package/lib/src/business/ap-title/ApTitle.vue.d.ts +5 -33
  411. package/lib/src/business/ap-title/index.d.ts +7 -110
  412. package/lib/src/business/ap-title/interface.d.ts +4 -4
  413. package/lib/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.d.ts +13 -33
  414. package/lib/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.js +1 -1
  415. package/lib/src/business/ap-upload-file/hook/useProps.js +1 -1
  416. package/lib/src/business/ap-upload-file/icon/delete-icon.vue.d.ts +2 -2
  417. package/lib/src/business/ap-upload-file/icon/delete-icon.vue.js +1 -1
  418. package/lib/src/business/ap-upload-file/icon/file-icon.vue.d.ts +2 -2
  419. package/lib/src/business/ap-upload-file/icon/file-icon.vue.js +1 -1
  420. package/lib/src/business/ap-upload-file/interface.d.ts +2 -0
  421. package/lib/src/business/ap-upload-file/utils/fileList.d.ts +2 -2
  422. package/lib/src/business/ap-upload-file/utils/fileList.js +1 -1
  423. package/lib/src/business/ap-upload-file/utils/upload.d.ts +3 -0
  424. package/lib/src/business/ap-upload-file/utils/upload.js +1 -1
  425. package/lib/src/business/batch-input-group/index.vue.d.ts +5 -38
  426. package/lib/src/business/batch-input-group/index.vue.js +1 -1
  427. package/lib/src/business/batch-input-group/popover-input/index.vue.d.ts +4 -13
  428. package/lib/src/business/batch-input-group/popover-input/index.vue2.js +2 -2
  429. package/lib/src/business/hooks/usePageListApTable.d.ts +1 -0
  430. package/lib/src/business/hooks/usePageListApTable.js +1 -1
  431. package/lib/src/business/index.d.ts +1 -0
  432. package/lib/src/business/index.js +1 -1
  433. package/lib/src/check-card/group.vue.d.ts +7 -45
  434. package/lib/src/check-card/index.vue.d.ts +7 -37
  435. package/lib/src/config-provider/config-provider.d.ts +5 -5
  436. package/lib/src/config-provider/index.d.ts +7 -256
  437. package/lib/src/editable-table/form-item.vue.d.ts +5 -7
  438. package/lib/src/editable-table/form-item.vue.js +1 -1
  439. package/lib/src/editable-table/index.vue.d.ts +4 -8
  440. package/lib/src/editable-table/index.vue.js +1 -1
  441. package/lib/src/hooks/useControllableValue.d.ts +1 -1
  442. package/lib/src/index.js +1 -1
  443. package/lib/src/locale/lang/en.js +1 -1
  444. package/lib/src/locale/lang/zh-cn.js +1 -1
  445. package/lib/src/path-map.js +1 -1
  446. package/lib/src/tests/wrapper.d.ts +6 -6
  447. package/lib/src/utils/ap-trans-data/index.d.ts +1 -1
  448. package/lib/src/utils/ap-trans-data/index.js +1 -1
  449. package/lib/src/work-order-modal/help-message.vue.d.ts +2 -2
  450. package/lib/src/work-order-modal/help-message.vue2.js +1 -1
  451. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +6 -15
  452. package/lib/src/work-order-modal/work-order-modal.vue.js +1 -1
  453. package/package.json +6 -6
@@ -1,4 +1,4 @@
1
- import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from 'vue';
1
+ import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps, Plugin } from 'vue';
2
2
  import { default as __DTS_DEFAULT_0__ } from '@aplus-frontend/antdv/es/config-provider/renderEmpty';
3
3
  import { TransformCellTextProps } from '@aplus-frontend/antdv/es/table/interface';
4
4
  import { CSPConfig } from '@aplus-frontend/antdv/es/config-provider';
@@ -18,7 +18,7 @@ export * from './hooks/use-locale';
18
18
  export * from './hooks/use-namespace';
19
19
  export * from './config-provider';
20
20
  export declare const APConfigProvider: {
21
- new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
21
+ new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
22
22
  iconPrefixCls: StringConstructor;
23
23
  getTargetContainer: {
24
24
  type: PropType<() => HTMLElement | Window>;
@@ -267,256 +267,7 @@ export declare const APConfigProvider: {
267
267
  }>>;
268
268
  default: () => {};
269
269
  };
270
- }>>, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
271
- iconPrefixCls: StringConstructor;
272
- getTargetContainer: {
273
- type: PropType<() => HTMLElement | Window>;
274
- };
275
- getPopupContainer: {
276
- type: PropType<(triggerNode?: HTMLElement) => HTMLElement>;
277
- };
278
- prefixCls: StringConstructor;
279
- getPrefixCls: {
280
- type: PropType<(suffixCls?: string, customizePrefixCls?: string) => string>;
281
- };
282
- renderEmpty: {
283
- type: PropType<__DTS_DEFAULT_0__>;
284
- };
285
- transformCellText: {
286
- type: PropType<(tableProps: TransformCellTextProps) => any>;
287
- };
288
- csp: {
289
- type: PropType<CSPConfig>;
290
- default: CSPConfig;
291
- };
292
- input: {
293
- type: PropType<{
294
- autocomplete?: string;
295
- }>;
296
- default: {
297
- autocomplete?: string;
298
- };
299
- };
300
- autoInsertSpaceInButton: {
301
- type: BooleanConstructor;
302
- default: any;
303
- };
304
- locale: {
305
- type: PropType<Locale>;
306
- default: Locale;
307
- };
308
- pageHeader: {
309
- type: PropType<{
310
- ghost?: boolean;
311
- }>;
312
- default: {
313
- ghost?: boolean;
314
- };
315
- };
316
- componentSize: {
317
- type: PropType<ButtonSize>;
318
- };
319
- componentDisabled: {
320
- type: BooleanConstructor;
321
- default: any;
322
- };
323
- direction: {
324
- type: PropType<"rtl" | "ltr">;
325
- default: string;
326
- };
327
- space: {
328
- type: PropType<{
329
- size?: ButtonSize | number;
330
- }>;
331
- default: {
332
- size?: ButtonSize | number;
333
- };
334
- };
335
- virtual: {
336
- type: BooleanConstructor;
337
- default: any;
338
- };
339
- dropdownMatchSelectWidth: {
340
- type: (BooleanConstructor | NumberConstructor)[];
341
- default: boolean;
342
- };
343
- form: {
344
- type: PropType<{
345
- validateMessages?: ValidateMessages;
346
- requiredMark?: RequiredMark;
347
- colon?: boolean;
348
- }>;
349
- default: {
350
- validateMessages?: ValidateMessages;
351
- requiredMark?: RequiredMark;
352
- colon?: boolean;
353
- };
354
- };
355
- pagination: {
356
- type: PropType<{
357
- showSizeChanger?: boolean;
358
- }>;
359
- default: {
360
- showSizeChanger?: boolean;
361
- };
362
- };
363
- theme: {
364
- type: PropType<ThemeConfig>;
365
- default: ThemeConfig;
366
- };
367
- select: {
368
- type: PropType<{
369
- showSearch?: boolean;
370
- }>;
371
- default: {
372
- showSearch?: boolean;
373
- };
374
- };
375
- wave: {
376
- type: PropType<{
377
- disabled?: boolean;
378
- }>;
379
- default: {
380
- disabled?: boolean;
381
- };
382
- };
383
- aplusLocale: {
384
- type: PropType<LocaleType>;
385
- };
386
- namespace: {
387
- type: StringConstructor;
388
- default: string;
389
- };
390
- api: {
391
- type: PropType<ApiType>;
392
- default: () => {};
393
- };
394
- uiMode: {
395
- type: PropType<"aplus" | "admin">;
396
- default: string;
397
- };
398
- apUpload: {
399
- type: PropType<ApUploadConfig>;
400
- default: () => {};
401
- };
402
- apDescriptions: {
403
- type: PropType<ApDescriptionsConfig>;
404
- default: () => {};
405
- };
406
- valueTypeMap: {
407
- type: PropType<Record<string, ValueTypeRenderConfig>>;
408
- default: () => {};
409
- };
410
- downloadCenterTriggerConfig: {
411
- type: PropType<downloadCenterTriggerConfig>;
412
- default: () => {};
413
- };
414
- cssVar: {
415
- type: PropType<RecursivePartial<{
416
- 'ap-form': {
417
- bordered: {
418
- 'border-color': {
419
- base: string;
420
- hover: string;
421
- active: string;
422
- };
423
- 'shadow-color': string;
424
- };
425
- };
426
- 'ap-action': {
427
- color: {
428
- primary: {
429
- base: string;
430
- hover: string;
431
- };
432
- success: string;
433
- error: string;
434
- warn: string;
435
- };
436
- };
437
- 'check-card': {
438
- outline: {
439
- color: string;
440
- };
441
- hover: {
442
- outline: {
443
- color: string;
444
- };
445
- };
446
- checked: {
447
- outline: {
448
- color: string;
449
- };
450
- bg: string;
451
- };
452
- };
453
- 'ap-table': {
454
- header: {
455
- bg: string;
456
- };
457
- pagination: {
458
- total: {
459
- color: string;
460
- count: {
461
- color: string;
462
- };
463
- };
464
- };
465
- setting: {
466
- button: {
467
- color: string;
468
- };
469
- };
470
- };
471
- 'ap-batch-action': {
472
- color: {
473
- font: string;
474
- active: string;
475
- border: string;
476
- };
477
- };
478
- basic: {
479
- color: {
480
- primary: string;
481
- };
482
- };
483
- 'ap-descriptions': {
484
- item: {
485
- 'padding-bottom': string;
486
- 'label-width': string;
487
- };
488
- 'last-row-item': {
489
- 'padding-bottom': string;
490
- };
491
- };
492
- 'ap-appendix': {
493
- area: {
494
- color: {
495
- border: string;
496
- font: string;
497
- 'font-hover': string;
498
- 'font-disabled': string;
499
- icon: string;
500
- };
501
- };
502
- };
503
- 'ap-upload-single': {
504
- color: {
505
- main: string;
506
- sub: string;
507
- border: string;
508
- primary: string;
509
- };
510
- };
511
- 'batch-input-group': {
512
- trigger: {
513
- color: string;
514
- };
515
- };
516
- }>>;
517
- default: () => {};
518
- };
519
- }>>, {
270
+ }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
520
271
  input: {
521
272
  autocomplete?: string;
522
273
  };
@@ -657,7 +408,7 @@ export declare const APConfigProvider: {
657
408
  };
658
409
  };
659
410
  }>;
660
- }, true, {}, {}, {
411
+ }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
661
412
  P: {};
662
413
  B: {};
663
414
  D: {};
@@ -913,7 +664,7 @@ export declare const APConfigProvider: {
913
664
  }>>;
914
665
  default: () => {};
915
666
  };
916
- }>>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
667
+ }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
917
668
  input: {
918
669
  autocomplete?: string;
919
670
  };
@@ -1206,7 +957,7 @@ export declare const APConfigProvider: {
1206
957
  type: PropType<CssVarType>;
1207
958
  default: () => {};
1208
959
  };
1209
- }>>, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
960
+ }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
1210
961
  input: {
1211
962
  autocomplete?: string;
1212
963
  };
@@ -1347,7 +1098,7 @@ export declare const APConfigProvider: {
1347
1098
  };
1348
1099
  };
1349
1100
  }>;
1350
- }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
1101
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
1351
1102
  $props: {
1352
1103
  onClick?: () => void;
1353
1104
  };
@@ -1,14 +1,14 @@
1
1
  import { EditableColumnType, EditableTableFormItemProps } from './interface';
2
2
  import { StandardBehaviorOptions } from '../../node_modules/scroll-into-view-if-needed';
3
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
4
4
  import { UnwrapRefSimple } from '@vue/reactivity';
5
5
  declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
6
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{}>>, never>, never> & EditableTableFormItemProps<RecordType>> & PublicProps;
6
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & Partial<{}> & EditableTableFormItemProps<RecordType>> & PublicProps;
7
7
  expose(exposed: ShallowUnwrapRef<{
8
8
  add: (defaultValue?: any, insertIndex?: number) => void;
9
9
  remove: (index: number | number[]) => void;
10
- getRowData: (index: number) => UnwrapRefSimple<RecordType>;
11
- getRowsData: () => UnwrapRefSimple<RecordType>[];
10
+ getRowData: (index: number) => RecordType | UnwrapRefSimple<RecordType>;
11
+ getRowsData: () => RecordType[] | UnwrapRefSimple<RecordType>[];
12
12
  setRowData: (index: number, payload: any, merge?: boolean) => void;
13
13
  addMultiple: (list: number | Partial<RecordType>[], insetIn?: "prefix" | "suffix") => void;
14
14
  scrollTo: (index: number | "end", options?: StandardBehaviorOptions) => void;
@@ -48,9 +48,7 @@ declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<type
48
48
  }) => void;
49
49
  };
50
50
  emit: {};
51
- }>) => VNode<RendererNode, RendererElement, {
52
- [key: string]: any;
53
- }> & {
51
+ }>) => VNode & {
54
52
  __ctx?: Awaited<typeof __VLS_setup>;
55
53
  };
56
54
  export default _default;
@@ -195,11 +195,11 @@ const ce = /* @__PURE__ */ z({
195
195
  label: e.label
196
196
  }), {
197
197
  default: g(() => [H(n(Q), x(n(w)(l, ["name", "maxLength", "onChange"]), {
198
+ ref_key: "tableRef",
199
+ ref: i,
198
200
  class: n(L)(),
199
201
  columns: n(V),
200
- "data-source": u.value,
201
- ref_key: "tableRef",
202
- ref: i
202
+ "data-source": u.value
203
203
  }), W({
204
204
  _: 2
205
205
  }, [$(n(w)(D, ["headerCell"]), (r, a) => ({
@@ -2,13 +2,11 @@ import { EditableTableProps, EditableColumnType } from './interface';
2
2
  import { NamePath, ValidateOptions } from '@aplus-frontend/antdv/es/form/interface';
3
3
  import { Recordable } from '../type';
4
4
  import { StandardBehaviorOptions } from '../../node_modules/scroll-into-view-if-needed';
5
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
5
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
6
6
  declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
7
7
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
8
- "onUpdate:value"?: ((...args: any[]) => any) | undefined;
9
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{}>> & {
10
- "onUpdate:value"?: ((...args: any[]) => any) | undefined;
11
- }, never>, "onUpdate:value"> & EditableTableProps<RecordType>> & PublicProps;
8
+ readonly "onUpdate:value"?: ((...args: any[]) => any) | undefined;
9
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:value"> & Partial<{}> & EditableTableProps<RecordType>> & PublicProps;
12
10
  expose(exposed: ShallowUnwrapRef<{
13
11
  resetFields: () => void;
14
12
  validateFields: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<any>;
@@ -55,9 +53,7 @@ declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNu
55
53
  }) => void;
56
54
  };
57
55
  emit: (event: "update:value", ...args: any[]) => void;
58
- }>) => VNode<RendererNode, RendererElement, {
59
- [key: string]: any;
60
- }> & {
56
+ }>) => VNode & {
61
57
  __ctx?: Awaited<typeof __VLS_setup>;
62
58
  };
63
59
  export default _default;
@@ -210,22 +210,22 @@ const Ce = /* @__PURE__ */ W({
210
210
  clear: U,
211
211
  setTableData: K
212
212
  }), (e, t) => (q(), J(o(p), {
213
+ ref_key: "formRef",
214
+ ref: s,
213
215
  "initial-values": {
214
216
  [n.name]: o(u)
215
- },
216
- ref_key: "formRef",
217
- ref: s
217
+ }
218
218
  }, {
219
219
  default: c(() => [b(o(p).FormItem, {
220
220
  name: e.name,
221
221
  "no-style": ""
222
222
  }, {
223
223
  default: c(() => [b(o(ae), Q(o(F)(n, ["name", "value", "onUpdate:value", "maxLength", "onChange"]), {
224
+ ref_key: "tableRef",
225
+ ref: v,
224
226
  class: o(L)(),
225
227
  columns: o(k),
226
- "data-source": o(u),
227
- ref_key: "tableRef",
228
- ref: v
228
+ "data-source": o(u)
229
229
  }), X({
230
230
  _: 2
231
231
  }, [Y(o(F)(T, ["headerCell"]), (l, a) => ({
@@ -11,7 +11,7 @@ type Options<ValueType = any> = {
11
11
  beforeUpdateValue?: (nextVal: ValueType) => boolean | Promise<boolean>;
12
12
  };
13
13
  export declare function useControllableValue<ValueType = any>(props: Recordable, emit: (event: any, ...args: any[]) => void, options?: Options): {
14
- value: Ref<ValueType>;
14
+ value: Ref<ValueType, ValueType>;
15
15
  updateValue: (newValue: any) => Promise<void>;
16
16
  };
17
17
  export {};
package/es/src/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import { APConfigProvider as u } from "./config-provider/index.mjs";
2
2
  import { ApForm as i } from "./ap-form/index.mjs";
3
3
  import { ApField as c } from "./ap-field/index.mjs";
4
- import { adminToken as b, aplusToken as I } from "./design-token/index.mjs";
4
+ import { adminToken as I, aplusToken as b } from "./design-token/index.mjs";
5
5
  import { ApActionItem as C } from "./ap-action/index.mjs";
6
6
  import "./work-order-modal/index.mjs";
7
7
  import "./ap-tag/index.mjs";
@@ -21,7 +21,7 @@ import { ApScrollBar as w } from "./ap-scroll-bar/index.mjs";
21
21
  import { configProviderProps as k } from "./config-provider/config-provider-props.mjs";
22
22
  import { configProviderContextKey as v } from "./config-provider/constants.mjs";
23
23
  import { keysOf as E, provideGlobalConfig as K, useGlobalConfig as O } from "./config-provider/hooks/use-global-config.mjs";
24
- import { buildLocaleContext as W, buildTranslator as H, localeContextKey as j, translate as q, useLocale as z } from "./config-provider/hooks/use-locale.mjs";
24
+ import { buildLocaleContext as W, buildTranslator as z, localeContextKey as H, translate as j, useLocale as q } from "./config-provider/hooks/use-locale.mjs";
25
25
  import { defaultNamespace as Q, namespaceContextKey as V, useGetDerivedNamespace as X, useNamespace as Y } from "./config-provider/hooks/use-namespace.mjs";
26
26
  import { ConfigProvider as _, globalConfigCached as $ } from "./config-provider/config-provider.mjs";
27
27
  import { ApFormItemText as eo } from "./ap-form/items/text/index.mjs";
@@ -32,7 +32,7 @@ import { default as xo } from "./ap-form/items/date-range/index.vue.mjs";
32
32
  import { default as uo } from "./ap-form/items/radio/index.vue.mjs";
33
33
  import { default as io } from "./ap-form/items/select/index.vue.mjs";
34
34
  import { default as co } from "./ap-form/items/switch/index.vue.mjs";
35
- import { default as bo } from "./ap-form/items/checkbox/index.vue.mjs";
35
+ import { default as Io } from "./ap-form/items/checkbox/index.vue.mjs";
36
36
  import { default as To } from "./ap-form/items/text/password.vue.mjs";
37
37
  import { default as go } from "./ap-form/item/index.vue.mjs";
38
38
  import { default as So } from "./ap-form/item-group/index.vue.mjs";
@@ -44,8 +44,8 @@ import { default as Mo } from "./ap-form/set/index.vue.mjs";
44
44
  import { default as Bo } from "./ap-form/drawer-form/index.vue.mjs";
45
45
  import { default as Ko } from "./ap-form/render/control.vue.mjs";
46
46
  import { default as Uo } from "./ap-form/render/item.vue.mjs";
47
- import { ApFieldText as Ho } from "./ap-field/text/index.mjs";
48
- import { default as qo } from "./ap-field/checkbox/index.vue.mjs";
47
+ import { ApFieldText as zo } from "./ap-field/text/index.mjs";
48
+ import { default as jo } from "./ap-field/checkbox/index.vue.mjs";
49
49
  import { default as Jo } from "./ap-field/date/index.vue.mjs";
50
50
  import { default as Vo } from "./ap-field/number/index.vue.mjs";
51
51
  import { default as Yo } from "./ap-field/radio/index.vue.mjs";
@@ -55,11 +55,11 @@ import { default as re } from "./ap-field/date-range/index.vue.mjs";
55
55
  import { default as pe } from "./ap-field/select/index.vue.mjs";
56
56
  import { default as me } from "./ap-field/text/password.vue.mjs";
57
57
  import { default as le } from "./ap-field/slider/index.vue.mjs";
58
- import { default as xe } from "./ap-field/segmented/index.vue.mjs";
58
+ import { default as de } from "./ap-field/segmented/index.vue.mjs";
59
59
  import { default as ue } from "./ap-field/rate/index.vue.mjs";
60
60
  import { default as ie } from "./ap-action/item-modal/index.vue.mjs";
61
61
  import { default as ce } from "./ap-action/item-popconfirm/index.vue.mjs";
62
- import { default as be } from "./ap-action/item-dropdown/index.vue.mjs";
62
+ import { default as Ie } from "./ap-action/item-dropdown/index.vue.mjs";
63
63
  import { default as Te } from "./ap-action/group/index.vue.mjs";
64
64
  import { DictCode as ge, langMap as De } from "./work-order-modal/interfaces.mjs";
65
65
  import { createWorkOrderModal as he } from "./work-order-modal/createWorkOrder.mjs";
@@ -71,8 +71,8 @@ import { NeedNameKeyDefault as ve } from "./ap-upload/apUploadTypes.mjs";
71
71
  import { default as Ee } from "./ap-upload/apUpload.vue.mjs";
72
72
  import { ApDownLoadNeedNameKeyDefault as Oe } from "./ap-download/interface.mjs";
73
73
  import { default as We } from "./ap-download/ap-download.vue.mjs";
74
- import { default as je } from "./check-card/group.vue.mjs";
75
- import { default as ze } from "./ap-list/index.vue.mjs";
74
+ import { default as He } from "./check-card/group.vue.mjs";
75
+ import { default as qe } from "./ap-list/index.vue.mjs";
76
76
  import { default as Qe } from "./ap-button/ap-button.vue.mjs";
77
77
  import { default as Xe } from "./ap-button/ap-action-button.vue.mjs";
78
78
  import { ApTransformDataHelper as Ze } from "./utils/ap-trans-data/index.mjs";
@@ -81,12 +81,12 @@ import { useTableModal as er } from "./business/ap-table-modal/hooks/use-table-m
81
81
  import { useTableSelectModal as tr } from "./business/ap-table-modal/hooks/use-table-select-modal.mjs";
82
82
  import { ApAttachment as ar } from "./business/ap-attachment/index.mjs";
83
83
  import { ApBatchAction as fr } from "./business/ap-batch-action/index.mjs";
84
- import { ApBatchActionGroup as dr } from "./business/ap-batch-action-group/index.mjs";
84
+ import { ApBatchActionGroup as xr } from "./business/ap-batch-action-group/index.mjs";
85
85
  import { ApButtonGroup as Ar } from "./business/ap-button-group/index.mjs";
86
86
  import { ApCard as sr } from "./business/ap-card/index.mjs";
87
87
  import { ApExpandAlert as nr } from "./business/ap-expand-alert/index.mjs";
88
88
  import { ApExportGroupActionType as Fr } from "./business/ap-export-group/interface.mjs";
89
- import { ApExportGroup as Ir } from "./business/ap-export-group/index.mjs";
89
+ import { ApExportGroup as br } from "./business/ap-export-group/index.mjs";
90
90
  import { handleExportDownload as Cr } from "./business/ap-export-group/handleExportDownload.mjs";
91
91
  import { ApImage as Dr } from "./business/ap-image/index.mjs";
92
92
  import { ApInputRadio as hr } from "./business/ap-input-radio/index.mjs";
@@ -97,61 +97,62 @@ import { ApSelectLayout as Mr } from "./business/ap-select-layout/index.mjs";
97
97
  import { ApStatus as Br, ApStatusGroup as Er } from "./business/ap-status/index.mjs";
98
98
  import { ApTitle as Or } from "./business/ap-title/index.mjs";
99
99
  import { usePageListApTable as Wr } from "./business/hooks/usePageListApTable.mjs";
100
- import { useTableRefresh as jr } from "./business/hooks/useTableRefresh.mjs";
101
- import { computedRecords as zr, flattenColumns as Jr, formatDataIndex as Qr, formatNumber as Vr } from "./business/ap-summary/utils.mjs";
100
+ import { useTableRefresh as Hr } from "./business/hooks/useTableRefresh.mjs";
101
+ import { computedRecords as qr, flattenColumns as Jr, formatDataIndex as Qr, formatNumber as Vr } from "./business/ap-summary/utils.mjs";
102
102
  import { ApSummary as Yr } from "./business/ap-summary/index.mjs";
103
103
  import { ApNeedNameKeyDefault as _r } from "./business/ap-appendix/interface.mjs";
104
104
  import { ApAppendix as ot } from "./business/ap-appendix/index.mjs";
105
105
  import { ApExtensionSelect as rt, ApGroupSearch as tt, ApPopoverSelect as pt } from "./business/ap-group-search/index.mjs";
106
106
  import { default as mt } from "./business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs";
107
107
  import { default as lt } from "./business/batch-input-group/index.vue.mjs";
108
- import { useTablePaging as xt } from "./ap-table/hooks/use-table-paging.mjs";
109
- import { default as ut } from "./editable-table/index.vue.mjs";
110
- import { default as it } from "./editable-table/form-item.vue.mjs";
111
- import { default as ct } from "./ap-descriptions/ap-descriptions.vue.mjs";
108
+ import { ApSizeInput as dt } from "./business/ap-size-input/index.mjs";
109
+ import { useTablePaging as ut } from "./ap-table/hooks/use-table-paging.mjs";
110
+ import { default as it } from "./editable-table/index.vue.mjs";
111
+ import { default as ct } from "./editable-table/form-item.vue.mjs";
112
+ import { default as It } from "./ap-descriptions/ap-descriptions.vue.mjs";
112
113
  export {
113
114
  u as APConfigProvider,
114
115
  Xe as ApActionButton,
115
116
  Te as ApActionGroup,
116
117
  C as ApActionItem,
117
- be as ApActionItemDropdown,
118
+ Ie as ApActionItemDropdown,
118
119
  ie as ApActionItemModal,
119
120
  ce as ApActionItemPopconfirm,
120
121
  ot as ApAppendix,
121
122
  ar as ApAttachment,
122
123
  fr as ApBatchAction,
123
- dr as ApBatchActionGroup,
124
+ xr as ApBatchActionGroup,
124
125
  Qe as ApButton,
125
126
  Ar as ApButtonGroup,
126
127
  sr as ApCard,
127
- ct as ApDescriptions,
128
+ It as ApDescriptions,
128
129
  Oe as ApDownLoadNeedNameKeyDefault,
129
130
  We as ApDownload,
130
131
  y as ApDrawer,
131
132
  nr as ApExpandAlert,
132
- Ir as ApExportGroup,
133
+ br as ApExportGroup,
133
134
  Fr as ApExportGroupActionType,
134
135
  rt as ApExtensionSelect,
135
136
  c as ApField,
136
- qo as ApFieldCheckbox,
137
+ jo as ApFieldCheckbox,
137
138
  Jo as ApFieldDate,
138
139
  re as ApFieldDateRange,
139
140
  Vo as ApFieldNumber,
140
141
  me as ApFieldPassword,
141
142
  Yo as ApFieldRadio,
142
143
  ue as ApFieldRate,
143
- xe as ApFieldSegmented,
144
+ de as ApFieldSegmented,
144
145
  pe as ApFieldSelect,
145
146
  le as ApFieldSlider,
146
147
  _o as ApFieldSwitch,
147
- Ho as ApFieldText,
148
+ zo as ApFieldText,
148
149
  oe as ApFieldTextArea,
149
150
  i as ApForm,
150
151
  Ko as ApFormControlRender,
151
152
  Ro as ApFormDependency,
152
153
  Bo as ApFormDrawerForm,
153
154
  go as ApFormItem,
154
- bo as ApFormItemCheckbox,
155
+ Io as ApFormItemCheckbox,
155
156
  fo as ApFormItemDate,
156
157
  xo as ApFormItemDateRange,
157
158
  So as ApFormItemGroup,
@@ -174,12 +175,13 @@ export {
174
175
  yr as ApLabel,
175
176
  Nr as ApLabelGroup,
176
177
  Rr as ApLadder,
177
- ze as ApList,
178
+ qe as ApList,
178
179
  h as ApModal,
179
180
  _r as ApNeedNameKeyDefault,
180
181
  pt as ApPopoverSelect,
181
182
  w as ApScrollBar,
182
183
  Mr as ApSelectLayout,
184
+ dt as ApSizeInput,
183
185
  Br as ApStatus,
184
186
  Er as ApStatusGroup,
185
187
  Yr as ApSummary,
@@ -193,18 +195,18 @@ export {
193
195
  mt as ApUploadSingle,
194
196
  lt as BatchInputGroup,
195
197
  D as CheckCard,
196
- je as CheckCardGroup,
198
+ He as CheckCardGroup,
197
199
  _ as ConfigProvider,
198
200
  ge as DictCode,
199
- ut as EditableTable,
200
- it as EditableTableFormItem,
201
+ it as EditableTable,
202
+ ct as EditableTableFormItem,
201
203
  ve as NeedNameKeyDefault,
202
204
  ye as WorkOrderModal,
203
- b as adminToken,
204
- I as aplusToken,
205
+ I as adminToken,
206
+ b as aplusToken,
205
207
  W as buildLocaleContext,
206
- H as buildTranslator,
207
- zr as computedRecords,
208
+ z as buildTranslator,
209
+ qr as computedRecords,
208
210
  v as configProviderContextKey,
209
211
  k as configProviderProps,
210
212
  he as createWorkOrderModal,
@@ -216,18 +218,18 @@ export {
216
218
  Cr as handleExportDownload,
217
219
  E as keysOf,
218
220
  De as langMap,
219
- j as localeContextKey,
221
+ H as localeContextKey,
220
222
  Lr as locales,
221
223
  V as namespaceContextKey,
222
224
  K as provideGlobalConfig,
223
- q as translate,
225
+ j as translate,
224
226
  X as useGetDerivedNamespace,
225
227
  O as useGlobalConfig,
226
- z as useLocale,
228
+ q as useLocale,
227
229
  Y as useNamespace,
228
230
  Wr as usePageListApTable,
229
231
  er as useTableModal,
230
- xt as useTablePaging,
231
- jr as useTableRefresh,
232
+ ut as useTablePaging,
233
+ Hr as useTableRefresh,
232
234
  tr as useTableSelectModal
233
235
  };
@@ -115,6 +115,11 @@ const e = {
115
115
  downloadall: "Download All",
116
116
  more: "More"
117
117
  },
118
+ apSizeInput: {
119
+ length: "Length",
120
+ width: "Width",
121
+ height: "Height"
122
+ },
118
123
  apExpandAlert: {
119
124
  expand: "Expand",
120
125
  collapse: "Collapse"
@@ -124,6 +124,11 @@ const e = {
124
124
  downloadall: "下载全部",
125
125
  more: "更多"
126
126
  },
127
+ apSizeInput: {
128
+ length: "长",
129
+ width: "宽",
130
+ height: "高"
131
+ },
127
132
  apExpandAlert: {
128
133
  expand: "展开",
129
134
  collapse: "收起"