@aplus-frontend/ui 0.2.0-beta.5 → 0.2.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 (383) hide show
  1. package/es/index.mjs +1 -1
  2. package/es/src/ap-action/group/index.vue.d.ts +1 -1
  3. package/es/src/ap-action/group/index.vue.mjs +1 -1
  4. package/es/src/ap-action/interface.d.ts +1 -1
  5. package/es/src/ap-action/item/index.vue2.mjs +1 -1
  6. package/es/src/ap-action/item-dropdown/index.vue.d.ts +1 -1
  7. package/es/src/ap-action/item-dropdown/index.vue.mjs +1 -1
  8. package/es/src/ap-action/item-modal/index.vue.d.ts +1 -1
  9. package/es/src/ap-action/item-modal/index.vue.mjs +1 -1
  10. package/es/src/ap-action/item-popconfirm/index.vue.d.ts +8 -8
  11. package/es/src/ap-action/item-popconfirm/index.vue.mjs +1 -1
  12. package/es/src/ap-button/ap-action-button.vue.d.ts +1 -1
  13. package/es/src/ap-button/ap-action-button.vue.mjs +1 -0
  14. package/es/src/ap-button/ap-button.vue.d.ts +4 -1
  15. package/es/src/ap-button/ap-button.vue.mjs +47 -66
  16. package/es/src/ap-button/interface.d.ts +2 -1
  17. package/es/src/ap-button/utils/index.d.ts +3 -0
  18. package/es/src/ap-button/utils/index.mjs +33 -0
  19. package/es/src/ap-descriptions/ap-descriptions.vue.mjs +1 -1
  20. package/es/src/ap-descriptions/help-message/index.vue.d.ts +2 -2
  21. package/es/src/ap-descriptions/help-message/index.vue2.mjs +1 -1
  22. package/es/src/ap-descriptions/interface.d.ts +2 -2
  23. package/es/src/ap-download/ap-download.vue.d.ts +1 -1
  24. package/es/src/ap-download/ap-download.vue.mjs +1 -1
  25. package/es/src/ap-download/interface.d.ts +1 -1
  26. package/es/src/ap-field/checkbox/helper.d.ts +3 -3
  27. package/es/src/ap-field/checkbox/index.vue.d.ts +1 -1
  28. package/es/src/ap-field/checkbox/index.vue.mjs +24 -23
  29. package/es/src/ap-field/date/constant.d.ts +1 -1
  30. package/es/src/ap-field/date/helper.d.ts +1 -1
  31. package/es/src/ap-field/date/index.vue.d.ts +1 -1
  32. package/es/src/ap-field/date/index.vue.mjs +1 -1
  33. package/es/src/ap-field/date-range/index.vue.mjs +1 -1
  34. package/es/src/ap-field/hooks/use-options.d.ts +8 -0
  35. package/es/src/ap-field/hooks/use-options.mjs +22 -0
  36. package/es/src/ap-field/interface.d.ts +5 -5
  37. package/es/src/ap-field/number/index.vue.d.ts +4 -4
  38. package/es/src/ap-field/number/index.vue.mjs +1 -1
  39. package/es/src/ap-field/radio/helper.d.ts +1 -1
  40. package/es/src/ap-field/radio/index.vue.mjs +26 -25
  41. package/es/src/ap-field/rate/index.vue.d.ts +3 -3
  42. package/es/src/ap-field/rate/index.vue.mjs +1 -1
  43. package/es/src/ap-field/segmented/index.vue.mjs +37 -33
  44. package/es/src/ap-field/select/index.vue.d.ts +6 -6
  45. package/es/src/ap-field/select/index.vue.mjs +74 -73
  46. package/es/src/ap-field/slider/index.vue.d.ts +4 -4
  47. package/es/src/ap-field/slider/index.vue.mjs +1 -1
  48. package/es/src/ap-field/switch/index.vue.mjs +1 -1
  49. package/es/src/ap-field/text/index.vue.d.ts +1 -1
  50. package/es/src/ap-field/text/index.vue2.mjs +1 -1
  51. package/es/src/ap-field/text/input-password-props.d.ts +1 -1
  52. package/es/src/ap-field/text/password.vue.mjs +1 -1
  53. package/es/src/ap-field/text-area/index.vue.d.ts +1 -1
  54. package/es/src/ap-field/text-area/index.vue.mjs +1 -1
  55. package/es/src/ap-form/ap-form.vue.d.ts +7 -7
  56. package/es/src/ap-form/ap-form.vue2.mjs +1 -1
  57. package/es/src/ap-form/context.d.ts +1 -1
  58. package/es/src/ap-form/drawer-form/index.vue.d.ts +6 -6
  59. package/es/src/ap-form/drawer-form/index.vue.mjs +1 -1
  60. package/es/src/ap-form/hooks/use-watch.d.ts +1 -1
  61. package/es/src/ap-form/interface.d.ts +3 -3
  62. package/es/src/ap-form/item/index.vue.d.ts +4 -4
  63. package/es/src/ap-form/item/index.vue.mjs +2 -2
  64. package/es/src/ap-form/item-group/index.vue.d.ts +2 -2
  65. package/es/src/ap-form/item-group/index.vue.mjs +1 -1
  66. package/es/src/ap-form/items/interface.d.ts +1 -1
  67. package/es/src/ap-form/items/number/index.vue.d.ts +2 -2
  68. package/es/src/ap-form/items/radio/index.vue.d.ts +3 -3
  69. package/es/src/ap-form/items/text/group.vue2.mjs +1 -1
  70. package/es/src/ap-form/items/text/index.vue.d.ts +3 -3
  71. package/es/src/ap-form/items/text/password.vue.d.ts +2 -2
  72. package/es/src/ap-form/items/text-area/index.vue.d.ts +4 -4
  73. package/es/src/ap-form/modal-form/index.vue.d.ts +8 -8
  74. package/es/src/ap-form/modal-form/index.vue.mjs +1 -1
  75. package/es/src/ap-form/search-form/index.vue.d.ts +4 -4
  76. package/es/src/ap-form/search-form/index.vue.mjs +1 -1
  77. package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue2.mjs +1 -1
  78. package/es/src/ap-list/index.vue.mjs +1 -1
  79. package/es/src/ap-modal/index.d.ts +1 -1
  80. package/es/src/ap-modal/index.mjs +1 -1
  81. package/es/src/ap-modal/interface.d.ts +1 -1
  82. package/es/src/ap-modal/utils/createModal.mjs +1 -1
  83. package/es/src/ap-table/ap-table.vue.d.ts +1 -1
  84. package/es/src/ap-table/ap-table.vue.mjs +2 -428
  85. package/es/src/ap-table/ap-table.vue2.mjs +428 -2
  86. package/es/src/ap-table/components/setting/modal/index.vue.d.ts +16 -1
  87. package/es/src/ap-table/components/setting/modal/index.vue2.mjs +23 -21
  88. package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +1 -1
  89. package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +1 -1
  90. package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +1 -1
  91. package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
  92. package/es/src/ap-table/components/setting/utils.d.ts +1 -1
  93. package/es/src/ap-table/components/status/index.vue2.mjs +1 -1
  94. package/es/src/ap-table/constants.d.ts +30 -30
  95. package/es/src/ap-table/context.d.ts +1 -1
  96. package/es/src/ap-table/hooks/use-table-column-state.mjs +75 -71
  97. package/es/src/ap-table/hooks/use-table-paging.d.ts +3 -3
  98. package/es/src/ap-table/hooks/use-table-row-selection.d.ts +1 -1
  99. package/es/src/ap-table/index.d.ts +6 -1
  100. package/es/src/ap-table/index.mjs +9 -3
  101. package/es/src/ap-table/interface.d.ts +3 -3
  102. package/es/src/ap-table/utils.d.ts +8 -7
  103. package/es/src/ap-table/utils.mjs +1 -1
  104. package/es/src/ap-tag/ap-tag-group.vue.mjs +1 -1
  105. package/es/src/ap-tag/interface.d.ts +1 -1
  106. package/es/src/ap-upload/apUpload.vue.mjs +1 -1
  107. package/es/src/ap-upload/components/MultipleFile.vue2.mjs +1 -1
  108. package/es/src/ap-upload/components/Picture.vue2.mjs +1 -1
  109. package/es/src/ap-upload/components/SingleFile.vue2.mjs +1 -1
  110. package/es/src/business/ap-attachment/ApAttachment.d.ts +1 -1
  111. package/es/src/business/ap-attachment/ApAttachment.mjs +1 -1
  112. package/es/src/business/ap-attachment/index.d.ts +1 -1
  113. package/es/src/business/ap-attachment/interface.d.ts +1 -1
  114. package/es/src/business/ap-batch-action/ApBatchAction.vue.d.ts +8 -3
  115. package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +42 -29
  116. package/es/src/business/ap-batch-action/index.d.ts +8 -3
  117. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +14 -13
  118. package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +1 -1
  119. package/es/src/business/ap-batch-action-group/index.d.ts +12 -8
  120. package/es/src/business/ap-batch-action-group/interface.d.ts +2 -2
  121. package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
  122. package/es/src/business/ap-button-group/index.d.ts +13 -5
  123. package/es/src/business/ap-button-group/interface.d.ts +1 -1
  124. package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +1 -1
  125. package/es/src/business/ap-expand-alert/interface.d.ts +1 -1
  126. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +42 -40
  127. package/es/src/business/ap-export-group/handleExportDownload.mjs +1 -1
  128. package/es/src/business/ap-export-group/interface.d.ts +1 -1
  129. package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
  130. package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +1 -1
  131. package/es/src/business/ap-input-radio/index.d.ts +2 -2
  132. package/es/src/business/ap-input-radio/interface.d.ts +1 -1
  133. package/es/src/business/ap-label/ApLabel.d.ts +2 -2
  134. package/es/src/business/ap-label/ApLabel.mjs +1 -1
  135. package/es/src/business/ap-label/constans.d.ts +2 -2
  136. package/es/src/business/ap-label/constans.mjs +1 -1
  137. package/es/src/business/ap-label/group/ApLabelGroup.mjs +1 -1
  138. package/es/src/business/ap-label/index.d.ts +2 -2
  139. package/es/src/business/ap-label/interface.d.ts +3 -3
  140. package/es/src/business/ap-ladder/ApLadder.vue.d.ts +5 -5
  141. package/es/src/business/ap-ladder/ApLadder.vue2.mjs +1 -1
  142. package/es/src/business/ap-ladder/index.d.ts +5 -5
  143. package/es/src/business/ap-ladder/interface.d.ts +1 -1
  144. package/es/src/business/ap-select-layout/select-layout.vue2.mjs +1 -1
  145. package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
  146. package/es/src/business/ap-summary/interface.d.ts +2 -2
  147. package/es/src/business/ap-summary/utils.d.ts +1 -1
  148. package/es/src/business/ap-summary/utils.mjs +16 -16
  149. package/es/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +1 -1
  150. package/es/src/business/ap-table-modal/hooks/use-table-modal.d.ts +1 -1
  151. package/es/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +1 -1
  152. package/es/src/business/ap-table-modal/index.d.ts +43 -6
  153. package/es/src/business/ap-table-modal/interface.d.ts +17 -2
  154. package/es/src/business/ap-table-modal/style/css.js +1 -1
  155. package/es/src/business/ap-table-modal/style/index.js +1 -1
  156. package/es/src/business/ap-table-modal/table-layout/index.vue.d.ts +57 -0
  157. package/es/src/business/ap-table-modal/table-layout/index.vue.mjs +4 -0
  158. package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +74 -0
  159. package/es/src/business/ap-table-modal/table-modal.vue.d.ts +1 -1
  160. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +134 -79
  161. package/es/src/business/ap-title/ApTitle.vue2.mjs +1 -1
  162. package/es/src/business/hooks/usePageListApTable.d.ts +1 -1
  163. package/es/src/check-card/index.vue2.mjs +1 -1
  164. package/es/src/config-provider/config-provider-props.d.ts +8 -8
  165. package/es/src/config-provider/config-provider-props.mjs +1 -1
  166. package/es/src/config-provider/config-provider.d.ts +9 -8
  167. package/es/src/config-provider/config-provider.mjs +1 -1
  168. package/es/src/config-provider/constants.d.ts +1 -1
  169. package/es/src/config-provider/css-var.d.ts +1 -0
  170. package/es/src/config-provider/css-var.mjs +7 -5
  171. package/es/src/config-provider/hooks/use-global-config.d.ts +8 -8
  172. package/es/src/config-provider/index.d.ts +14 -8
  173. package/es/src/design-token/index.d.ts +1 -1
  174. package/es/src/editable-table/form-item.vue.d.ts +1 -0
  175. package/es/src/editable-table/form-item.vue.mjs +60 -55
  176. package/es/src/editable-table/hooks/use-get-columns.d.ts +1 -1
  177. package/es/src/editable-table/hooks/use-get-columns.mjs +1 -1
  178. package/es/src/editable-table/index.vue.d.ts +1 -1
  179. package/es/src/editable-table/index.vue.mjs +1 -1
  180. package/es/src/editable-table/interface.d.ts +6 -6
  181. package/es/src/editable-table/utils.mjs +69 -69
  182. package/es/src/hooks/useMessage.d.ts +4 -4
  183. package/es/src/hooks/useMessage.mjs +1 -1
  184. package/es/src/index.mjs +201 -202
  185. package/es/src/locale/lang/en.mjs +3 -1
  186. package/es/src/locale/lang/zh-cn.mjs +3 -1
  187. package/es/src/path-map.mjs +2 -0
  188. package/es/src/utils/config-provider-preset.d.ts +10 -10
  189. package/es/src/work-order-modal/help-message.vue2.mjs +1 -1
  190. package/es/src/work-order-modal/interfaces.d.ts +1 -1
  191. package/es/src/work-order-modal/work-order-modal.vue.mjs +1 -1
  192. package/lib/index.js +1 -1
  193. package/lib/src/ap-action/group/index.vue.d.ts +1 -1
  194. package/lib/src/ap-action/group/index.vue.js +1 -1
  195. package/lib/src/ap-action/interface.d.ts +1 -1
  196. package/lib/src/ap-action/item/index.vue2.js +1 -1
  197. package/lib/src/ap-action/item-dropdown/index.vue.d.ts +1 -1
  198. package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
  199. package/lib/src/ap-action/item-modal/index.vue.d.ts +1 -1
  200. package/lib/src/ap-action/item-modal/index.vue.js +1 -1
  201. package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +8 -8
  202. package/lib/src/ap-action/item-popconfirm/index.vue.js +1 -1
  203. package/lib/src/ap-button/ap-action-button.vue.d.ts +1 -1
  204. package/lib/src/ap-button/ap-action-button.vue.js +1 -1
  205. package/lib/src/ap-button/ap-button.vue.d.ts +4 -1
  206. package/lib/src/ap-button/ap-button.vue.js +1 -1
  207. package/lib/src/ap-button/interface.d.ts +2 -1
  208. package/lib/src/ap-button/utils/index.d.ts +3 -0
  209. package/lib/src/ap-button/utils/index.js +1 -0
  210. package/lib/src/ap-descriptions/ap-descriptions.vue.js +1 -1
  211. package/lib/src/ap-descriptions/help-message/index.vue.d.ts +2 -2
  212. package/lib/src/ap-descriptions/help-message/index.vue2.js +1 -1
  213. package/lib/src/ap-descriptions/interface.d.ts +2 -2
  214. package/lib/src/ap-download/ap-download.vue.d.ts +1 -1
  215. package/lib/src/ap-download/ap-download.vue.js +1 -1
  216. package/lib/src/ap-download/interface.d.ts +1 -1
  217. package/lib/src/ap-field/checkbox/helper.d.ts +3 -3
  218. package/lib/src/ap-field/checkbox/index.vue.d.ts +1 -1
  219. package/lib/src/ap-field/checkbox/index.vue.js +1 -1
  220. package/lib/src/ap-field/date/constant.d.ts +1 -1
  221. package/lib/src/ap-field/date/helper.d.ts +1 -1
  222. package/lib/src/ap-field/date/index.vue.d.ts +1 -1
  223. package/lib/src/ap-field/date/index.vue.js +1 -1
  224. package/lib/src/ap-field/date-range/index.vue.js +1 -1
  225. package/lib/src/ap-field/hooks/use-options.d.ts +8 -0
  226. package/lib/src/ap-field/hooks/use-options.js +1 -0
  227. package/lib/src/ap-field/interface.d.ts +5 -5
  228. package/lib/src/ap-field/number/index.vue.d.ts +4 -4
  229. package/lib/src/ap-field/number/index.vue.js +1 -1
  230. package/lib/src/ap-field/radio/helper.d.ts +1 -1
  231. package/lib/src/ap-field/radio/index.vue.js +1 -1
  232. package/lib/src/ap-field/rate/index.vue.d.ts +3 -3
  233. package/lib/src/ap-field/rate/index.vue.js +1 -1
  234. package/lib/src/ap-field/segmented/index.vue.js +1 -1
  235. package/lib/src/ap-field/select/index.vue.d.ts +6 -6
  236. package/lib/src/ap-field/select/index.vue.js +1 -1
  237. package/lib/src/ap-field/slider/index.vue.d.ts +4 -4
  238. package/lib/src/ap-field/slider/index.vue.js +1 -1
  239. package/lib/src/ap-field/switch/index.vue.js +1 -1
  240. package/lib/src/ap-field/text/index.vue.d.ts +1 -1
  241. package/lib/src/ap-field/text/index.vue2.js +1 -1
  242. package/lib/src/ap-field/text/input-password-props.d.ts +1 -1
  243. package/lib/src/ap-field/text/password.vue.js +1 -1
  244. package/lib/src/ap-field/text-area/index.vue.d.ts +1 -1
  245. package/lib/src/ap-field/text-area/index.vue.js +1 -1
  246. package/lib/src/ap-form/ap-form.vue.d.ts +7 -7
  247. package/lib/src/ap-form/ap-form.vue2.js +1 -1
  248. package/lib/src/ap-form/context.d.ts +1 -1
  249. package/lib/src/ap-form/drawer-form/index.vue.d.ts +6 -6
  250. package/lib/src/ap-form/drawer-form/index.vue.js +1 -1
  251. package/lib/src/ap-form/hooks/use-watch.d.ts +1 -1
  252. package/lib/src/ap-form/interface.d.ts +3 -3
  253. package/lib/src/ap-form/item/index.vue.d.ts +4 -4
  254. package/lib/src/ap-form/item/index.vue.js +1 -1
  255. package/lib/src/ap-form/item-group/index.vue.d.ts +2 -2
  256. package/lib/src/ap-form/item-group/index.vue.js +1 -1
  257. package/lib/src/ap-form/items/interface.d.ts +1 -1
  258. package/lib/src/ap-form/items/number/index.vue.d.ts +2 -2
  259. package/lib/src/ap-form/items/radio/index.vue.d.ts +3 -3
  260. package/lib/src/ap-form/items/text/group.vue2.js +1 -1
  261. package/lib/src/ap-form/items/text/index.vue.d.ts +3 -3
  262. package/lib/src/ap-form/items/text/password.vue.d.ts +2 -2
  263. package/lib/src/ap-form/items/text-area/index.vue.d.ts +4 -4
  264. package/lib/src/ap-form/modal-form/index.vue.d.ts +8 -8
  265. package/lib/src/ap-form/modal-form/index.vue.js +1 -1
  266. package/lib/src/ap-form/search-form/index.vue.d.ts +4 -4
  267. package/lib/src/ap-form/search-form/index.vue.js +1 -1
  268. package/lib/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue2.js +1 -1
  269. package/lib/src/ap-list/index.vue.js +1 -1
  270. package/lib/src/ap-modal/index.d.ts +1 -1
  271. package/lib/src/ap-modal/index.js +1 -1
  272. package/lib/src/ap-modal/interface.d.ts +1 -1
  273. package/lib/src/ap-modal/utils/createModal.js +1 -1
  274. package/lib/src/ap-table/ap-table.vue.d.ts +1 -1
  275. package/lib/src/ap-table/ap-table.vue.js +1 -1
  276. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  277. package/lib/src/ap-table/components/setting/modal/index.vue.d.ts +16 -1
  278. package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
  279. package/lib/src/ap-table/components/setting/select-group/index.vue2.js +1 -1
  280. package/lib/src/ap-table/components/setting/sortable/item.vue2.js +1 -1
  281. package/lib/src/ap-table/components/setting/sorter/index.vue2.js +1 -1
  282. package/lib/src/ap-table/components/setting/tree-select/index.vue2.js +1 -1
  283. package/lib/src/ap-table/components/setting/utils.d.ts +1 -1
  284. package/lib/src/ap-table/components/status/index.vue2.js +1 -1
  285. package/lib/src/ap-table/constants.d.ts +30 -30
  286. package/lib/src/ap-table/context.d.ts +1 -1
  287. package/lib/src/ap-table/hooks/use-table-column-state.js +1 -1
  288. package/lib/src/ap-table/hooks/use-table-paging.d.ts +3 -3
  289. package/lib/src/ap-table/hooks/use-table-row-selection.d.ts +1 -1
  290. package/lib/src/ap-table/index.d.ts +6 -1
  291. package/lib/src/ap-table/index.js +1 -1
  292. package/lib/src/ap-table/interface.d.ts +3 -3
  293. package/lib/src/ap-table/utils.d.ts +8 -7
  294. package/lib/src/ap-table/utils.js +1 -1
  295. package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
  296. package/lib/src/ap-tag/interface.d.ts +1 -1
  297. package/lib/src/ap-upload/apUpload.vue.js +1 -1
  298. package/lib/src/ap-upload/components/MultipleFile.vue2.js +1 -1
  299. package/lib/src/ap-upload/components/Picture.vue2.js +1 -1
  300. package/lib/src/ap-upload/components/SingleFile.vue2.js +1 -1
  301. package/lib/src/business/ap-attachment/ApAttachment.d.ts +1 -1
  302. package/lib/src/business/ap-attachment/ApAttachment.js +1 -1
  303. package/lib/src/business/ap-attachment/index.d.ts +1 -1
  304. package/lib/src/business/ap-attachment/interface.d.ts +1 -1
  305. package/lib/src/business/ap-batch-action/ApBatchAction.vue.d.ts +8 -3
  306. package/lib/src/business/ap-batch-action/ApBatchAction.vue2.js +1 -1
  307. package/lib/src/business/ap-batch-action/index.d.ts +8 -3
  308. package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.js +1 -1
  309. package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue2.js +1 -1
  310. package/lib/src/business/ap-batch-action-group/index.d.ts +12 -8
  311. package/lib/src/business/ap-batch-action-group/interface.d.ts +2 -2
  312. package/lib/src/business/ap-button-group/ApButtonGroup.vue2.js +1 -1
  313. package/lib/src/business/ap-button-group/index.d.ts +13 -5
  314. package/lib/src/business/ap-button-group/interface.d.ts +1 -1
  315. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
  316. package/lib/src/business/ap-expand-alert/interface.d.ts +1 -1
  317. package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
  318. package/lib/src/business/ap-export-group/handleExportDownload.js +1 -1
  319. package/lib/src/business/ap-export-group/interface.d.ts +1 -1
  320. package/lib/src/business/ap-image/ApImage.vue2.js +1 -1
  321. package/lib/src/business/ap-input-radio/ApInputRadio.vue2.js +1 -1
  322. package/lib/src/business/ap-input-radio/index.d.ts +2 -2
  323. package/lib/src/business/ap-input-radio/interface.d.ts +1 -1
  324. package/lib/src/business/ap-label/ApLabel.d.ts +2 -2
  325. package/lib/src/business/ap-label/ApLabel.js +1 -1
  326. package/lib/src/business/ap-label/constans.d.ts +2 -2
  327. package/lib/src/business/ap-label/constans.js +1 -1
  328. package/lib/src/business/ap-label/group/ApLabelGroup.js +1 -1
  329. package/lib/src/business/ap-label/index.d.ts +2 -2
  330. package/lib/src/business/ap-label/interface.d.ts +3 -3
  331. package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +5 -5
  332. package/lib/src/business/ap-ladder/ApLadder.vue2.js +1 -1
  333. package/lib/src/business/ap-ladder/index.d.ts +5 -5
  334. package/lib/src/business/ap-ladder/interface.d.ts +1 -1
  335. package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
  336. package/lib/src/business/ap-summary/ap-summary.vue2.js +1 -1
  337. package/lib/src/business/ap-summary/interface.d.ts +2 -2
  338. package/lib/src/business/ap-summary/utils.d.ts +1 -1
  339. package/lib/src/business/ap-summary/utils.js +1 -1
  340. package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +1 -1
  341. package/lib/src/business/ap-table-modal/hooks/use-table-modal.d.ts +1 -1
  342. package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +1 -1
  343. package/lib/src/business/ap-table-modal/index.d.ts +43 -6
  344. package/lib/src/business/ap-table-modal/interface.d.ts +17 -2
  345. package/lib/src/business/ap-table-modal/style/css.js +1 -1
  346. package/lib/src/business/ap-table-modal/style/index.js +1 -1
  347. package/lib/src/business/ap-table-modal/table-layout/index.vue.d.ts +57 -0
  348. package/lib/src/business/ap-table-modal/table-layout/index.vue.js +1 -0
  349. package/lib/src/business/ap-table-modal/table-layout/index.vue2.js +1 -0
  350. package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +1 -1
  351. package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
  352. package/lib/src/business/ap-title/ApTitle.vue2.js +1 -1
  353. package/lib/src/business/hooks/usePageListApTable.d.ts +1 -1
  354. package/lib/src/check-card/index.vue2.js +1 -1
  355. package/lib/src/config-provider/config-provider-props.d.ts +8 -8
  356. package/lib/src/config-provider/config-provider-props.js +1 -1
  357. package/lib/src/config-provider/config-provider.d.ts +9 -8
  358. package/lib/src/config-provider/config-provider.js +1 -1
  359. package/lib/src/config-provider/constants.d.ts +1 -1
  360. package/lib/src/config-provider/css-var.d.ts +1 -0
  361. package/lib/src/config-provider/css-var.js +1 -1
  362. package/lib/src/config-provider/hooks/use-global-config.d.ts +8 -8
  363. package/lib/src/config-provider/index.d.ts +14 -8
  364. package/lib/src/design-token/index.d.ts +1 -1
  365. package/lib/src/editable-table/form-item.vue.d.ts +1 -0
  366. package/lib/src/editable-table/form-item.vue.js +1 -1
  367. package/lib/src/editable-table/hooks/use-get-columns.d.ts +1 -1
  368. package/lib/src/editable-table/hooks/use-get-columns.js +1 -1
  369. package/lib/src/editable-table/index.vue.d.ts +1 -1
  370. package/lib/src/editable-table/index.vue.js +1 -1
  371. package/lib/src/editable-table/interface.d.ts +6 -6
  372. package/lib/src/editable-table/utils.js +1 -1
  373. package/lib/src/hooks/useMessage.d.ts +4 -4
  374. package/lib/src/hooks/useMessage.js +1 -1
  375. package/lib/src/index.js +1 -1
  376. package/lib/src/locale/lang/en.js +1 -1
  377. package/lib/src/locale/lang/zh-cn.js +1 -1
  378. package/lib/src/path-map.js +1 -1
  379. package/lib/src/utils/config-provider-preset.d.ts +10 -10
  380. package/lib/src/work-order-modal/help-message.vue2.js +1 -1
  381. package/lib/src/work-order-modal/interfaces.d.ts +1 -1
  382. package/lib/src/work-order-modal/work-order-modal.vue.js +1 -1
  383. package/package.json +5 -5
@@ -2,41 +2,41 @@ import { ApFieldPassword } from '../ap-field';
2
2
  import { ApTableValueFields, ValueEnum } from './interface';
3
3
  import { CreateComponentPublicInstance, ExtractPropTypes, PropType, HTMLAttributes, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, VNode, RendererNode, RendererElement, CSSProperties, DefineComponent, PublicProps, ComputedRef } from 'vue';
4
4
  import { ApFormItemTransformType, ApFieldDateProps, ApFormItemSlots, ApFieldDateRangeProps, ApFieldNumberProps, ApFieldRadioProps, ApFieldSelectProps, ApFieldSwitchProps, ApFieldTextProps, ApFormItemTextPassword, ApFieldTextAreaProps, ApFieldCheckboxProps, ApFieldTextPasswordProps, FieldMode, GroupActionTypes } from '..';
5
- import { ColSize } from 'ant-design-vue/es/grid';
6
- import { FormLabelAlign } from 'ant-design-vue/es/form/interface';
7
- import { RuleObject } from 'ant-design-vue/es/form';
8
- import { InputFocusOptions } from 'ant-design-vue/es/vc-input/utils/commonUtils';
5
+ import { ColSize } from '@aplus-frontend/antdv/es/grid';
6
+ import { FormLabelAlign } from '@aplus-frontend/antdv/es/form/interface';
7
+ import { RuleObject } from '@aplus-frontend/antdv/es/form';
8
+ import { InputFocusOptions } from '@aplus-frontend/antdv/es/vc-input/utils/commonUtils';
9
9
  import { ApFormItemTextGroup } from '../ap-form/items/text';
10
- import { FocusEventHandler, MouseEventHandler, KeyboardEventHandler, ChangeEventHandler, CompositionEventHandler } from 'ant-design-vue/es/_util/EventInterface';
10
+ import { FocusEventHandler, MouseEventHandler, KeyboardEventHandler, ChangeEventHandler, CompositionEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
11
11
  import { Dayjs } from 'dayjs';
12
- import { PickerLocale } from 'ant-design-vue/es/date-picker/generatePicker';
12
+ import { PickerLocale } from '@aplus-frontend/antdv/es/date-picker/generatePicker';
13
13
  import { LiteralUnion } from '../type';
14
14
  import { ApFormatPresetType } from '../ap-field/date/interface';
15
- import { DateRender } from 'ant-design-vue/es/vc-picker/panels/DatePanel/DateBody';
16
- import { MonthCellRender } from 'ant-design-vue/es/vc-picker/panels/MonthPanel/MonthBody';
17
- import { PanelMode, RangeValue, OnPanelChange, PresetDate, EventValue, DisabledTimes } from 'ant-design-vue/es/vc-picker/interface';
18
- import { VueNode, LiteralUnion } from 'ant-design-vue/es/_util/type';
19
- import { AlignType } from 'ant-design-vue/es/vc-align/interface';
20
- import { SharedTimeProps } from 'ant-design-vue/es/vc-picker/panels/TimePanel';
21
- import { RangeDateRender, RangeType, RangeInfo } from 'ant-design-vue/es/vc-picker/RangePicker';
22
- import { ValueType } from 'ant-design-vue/es/input-number/src/utils/MiniDecimal';
23
- import { RadioChangeEvent, RadioGroupProps, SelectProps, CheckboxOptionType, CheckboxGroupProps } from 'ant-design-vue';
24
- import { RadioGroupChildOption } from 'ant-design-vue/es/radio/Group';
25
- import { RadioGroupButtonStyle, RadioGroupOptionType } from 'ant-design-vue/es/radio/interface';
26
- import { SelectValue, DefaultOptionType, LabeledValue } from 'ant-design-vue/es/select';
27
- import { SelectHandler, FieldNames, FilterFunc } from 'ant-design-vue/es/vc-select/Select';
28
- import { RenderDOMFunc, DropdownRender, CustomTagProps } from 'ant-design-vue/es/vc-select/BaseSelect';
29
- import { AlignType, BuildInPlacements } from 'ant-design-vue/es/vc-trigger/interface';
30
- import { LegacyButtonType, ButtonHTMLType } from 'ant-design-vue/es/button/buttonTypes';
31
- import { ButtonType, ButtonShape, ButtonSize } from 'ant-design-vue/es/button';
15
+ import { DateRender } from '@aplus-frontend/antdv/es/vc-picker/panels/DatePanel/DateBody';
16
+ import { MonthCellRender } from '@aplus-frontend/antdv/es/vc-picker/panels/MonthPanel/MonthBody';
17
+ import { PanelMode, RangeValue, OnPanelChange, PresetDate, EventValue, DisabledTimes } from '@aplus-frontend/antdv/es/vc-picker/interface';
18
+ import { VueNode, LiteralUnion } from '@aplus-frontend/antdv/es/_util/type';
19
+ import { AlignType } from '@aplus-frontend/antdv/es/vc-align/interface';
20
+ import { SharedTimeProps } from '@aplus-frontend/antdv/es/vc-picker/panels/TimePanel';
21
+ import { RangeDateRender, RangeType, RangeInfo } from '@aplus-frontend/antdv/es/vc-picker/RangePicker';
22
+ import { ValueType } from '@aplus-frontend/antdv/es/input-number/src/utils/MiniDecimal';
23
+ import { RadioChangeEvent, RadioGroupProps, SelectProps, CheckboxOptionType, CheckboxGroupProps } from '@aplus-frontend/antdv';
24
+ import { RadioGroupChildOption } from '@aplus-frontend/antdv/es/radio/Group';
25
+ import { RadioGroupButtonStyle, RadioGroupOptionType } from '@aplus-frontend/antdv/es/radio/interface';
26
+ import { SelectValue, DefaultOptionType, LabeledValue } from '@aplus-frontend/antdv/es/select';
27
+ import { SelectHandler, FieldNames, FilterFunc } from '@aplus-frontend/antdv/es/vc-select/Select';
28
+ import { RenderDOMFunc, DropdownRender, CustomTagProps } from '@aplus-frontend/antdv/es/vc-select/BaseSelect';
29
+ import { AlignType, BuildInPlacements } from '@aplus-frontend/antdv/es/vc-trigger/interface';
30
+ import { LegacyButtonType, ButtonHTMLType } from '@aplus-frontend/antdv/es/button/buttonTypes';
31
+ import { ButtonType, ButtonShape, ButtonSize } from '@aplus-frontend/antdv/es/button';
32
32
  import { VueTypeValidableDef } from '../../node_modules/vue-types';
33
- import { TriggerType } from 'ant-design-vue/es/tooltip/abstractTooltipProps';
34
- import { TooltipPlacement, AdjustOverflow } from 'ant-design-vue/es/tooltip';
35
- import { PresetColorType } from 'ant-design-vue/es/_util/colors';
36
- import { ShowCountProps } from 'ant-design-vue/es/vc-input/inputProps';
37
- import { AutoSizeType } from 'ant-design-vue/es/input/inputProps';
38
- import { CheckboxValueType } from 'ant-design-vue/es/checkbox/interface';
39
- import { Trigger } from 'ant-design-vue/es/dropdown/props';
33
+ import { TriggerType } from '@aplus-frontend/antdv/es/tooltip/abstractTooltipProps';
34
+ import { TooltipPlacement, AdjustOverflow } from '@aplus-frontend/antdv/es/tooltip';
35
+ import { PresetColorType } from '@aplus-frontend/antdv/es/_util/colors';
36
+ import { ShowCountProps } from '@aplus-frontend/antdv/es/vc-input/inputProps';
37
+ import { AutoSizeType } from '@aplus-frontend/antdv/es/input/inputProps';
38
+ import { CheckboxValueType } from '@aplus-frontend/antdv/es/checkbox/interface';
39
+ import { Trigger } from '@aplus-frontend/antdv/es/dropdown/props';
40
40
  /**
41
41
  * 表格到查询表单的映射
42
42
  */
@@ -1,4 +1,4 @@
1
- import { ColumnType } from 'ant-design-vue/es/table';
1
+ import { ColumnType } from '@aplus-frontend/antdv/es/table';
2
2
  import { ComputedRef, InjectionKey } from 'vue';
3
3
  import { ApTableProps } from './interface';
4
4
  type TableSize = ApTableProps['size'];
@@ -1,114 +1,118 @@
1
- import { ref as R, shallowRef as _, unref as i, computed as j, watchEffect as z } from "vue";
2
- import { isDef as D } from "../../utils/index.mjs";
3
- import G, { customCloneColumnStates as A, getColumnStateString as W } from "../components/setting/utils.mjs";
4
- import { useInjectApTable as X } from "../context.mjs";
5
- import { isObject as k, mergeWith as E, isBoolean as q, omit as H, isNumber as N } from "lodash-unified";
6
- function u(r, n) {
7
- r.forEach((t) => {
1
+ import { ref as _, shallowRef as j, unref as f, computed as z, watchEffect as D } from "vue";
2
+ import { isDef as G } from "../../utils/index.mjs";
3
+ import W, { customCloneColumnStates as k, getColumnStateString as X } from "../components/setting/utils.mjs";
4
+ import { useInjectApTable as q } from "../context.mjs";
5
+ import { isObject as B, mergeWith as E, isBoolean as H, omit as L, isNumber as N } from "lodash-unified";
6
+ function a(r, n) {
7
+ r.forEach((o) => {
8
8
  var c;
9
- n(t), (c = t.children) != null && c.length && u(t.children, n);
9
+ n(o), (c = o.children) != null && c.length && a(o.children, n);
10
10
  });
11
11
  }
12
- function L(r, n) {
12
+ function P(r, n) {
13
13
  if (!n)
14
14
  return {};
15
- const t = r.getItem(n);
16
- return t ? JSON.parse(t) : {};
15
+ const o = r.getItem(n);
16
+ return o ? JSON.parse(o) : {};
17
17
  }
18
18
  function I(r, n) {
19
- if (k(r) && k(n))
19
+ if (B(r) && B(n))
20
20
  return E({}, r, n, I);
21
21
  }
22
- const B = Number.MAX_SAFE_INTEGER, $ = (r, n) => {
23
- const t = R(n), c = _(
24
- A(n)
25
- ), { columnsBackup: h, updateColumns: f } = X(), T = r.persistenceType || "localStorage", S = window[T];
22
+ const b = Number.MAX_SAFE_INTEGER, V = (r, n) => {
23
+ const o = _(n), c = j(
24
+ k(n)
25
+ ), { columnsBackup: m, updateColumns: d } = q(), T = r.persistenceType || "localStorage", p = window[T];
26
26
  function F() {
27
- const e = L(
28
- S,
27
+ const e = P(
28
+ p,
29
29
  r.persistenceKey
30
- ), o = E(
30
+ ), t = E(
31
31
  {},
32
32
  r.defaultValue || {},
33
33
  e,
34
34
  I
35
- ), l = i(h);
36
- function v(M, d, b) {
37
- return M.map((s) => {
38
- var x;
39
- const a = (d == null ? void 0 : d[s.key]) || {}, m = {
40
- key: s.key,
41
- label: s.title,
35
+ ), s = f(m);
36
+ function l(R, u, y) {
37
+ return R.map((i) => {
38
+ var A;
39
+ const v = (u == null ? void 0 : u[i.key]) || {}, h = {
40
+ key: i.key,
41
+ label: i.title,
42
42
  show: !0,
43
- fixed: b ? b.fixed : q(s.fixed) ? s.fixed ? "left" : void 0 : s.fixed,
43
+ fixed: y ? y.fixed : H(i.fixed) ? i.fixed ? "left" : void 0 : i.fixed,
44
44
  disabled: !1,
45
- ...H(a, "children")
45
+ ...L(v, "children")
46
46
  };
47
- return m.children = (x = s.children) != null && x.length ? v(
48
- s.children,
49
- a.children,
50
- m
51
- ) : void 0, m;
52
- }).sort(
53
- (s, a) => (N(s.order) ? s.order : B) - (N(a.order) ? a.order : B)
54
- );
47
+ return h.children = (A = i.children) != null && A.length ? l(
48
+ i.children,
49
+ v.children,
50
+ h
51
+ ) : void 0, h;
52
+ }).sort(O);
55
53
  }
56
- return v(l || [], o);
54
+ return l(s || [], t);
57
55
  }
58
- const g = j(() => i(t).every((e) => e.show));
59
- function p() {
60
- const e = i(t);
61
- u(e, (o) => {
62
- !o.disabled && (o.show = !0);
56
+ function O(e, t) {
57
+ const s = N(e.order) ? e.order : b;
58
+ let l = N(t.order) ? t.order : b;
59
+ return e.fixed === "right" && t.fixed !== "right" && (l = s - 1), t.fixed === "left" && e.fixed !== "left" && (l = s - 1), s - l;
60
+ }
61
+ const C = z(() => f(o).every((e) => e.show));
62
+ function S() {
63
+ const e = f(o);
64
+ a(e, (t) => {
65
+ !t.disabled && (t.show = !0);
63
66
  });
64
67
  }
65
- function C() {
66
- const e = i(t);
67
- u(e, (o) => {
68
- !o.disabled && (o.show = !1);
68
+ function g() {
69
+ const e = f(o);
70
+ a(e, (t) => {
71
+ !t.disabled && (t.show = !1);
69
72
  });
70
73
  }
71
- function O() {
72
- i(g) ? C() : p();
74
+ function K() {
75
+ f(C) ? g() : S();
73
76
  }
74
- function K(e, o) {
75
- u(i(t), (l) => {
76
- l.key === e && (l.show = D(o) ? o : !l.show);
77
+ function J(e, t) {
78
+ a(f(o), (s) => {
79
+ s.key === e && (s.show = G(t) ? t : !s.show);
77
80
  });
78
81
  }
79
82
  function w(e) {
80
- t.value = e;
83
+ o.value = e;
81
84
  }
82
- function J(e) {
85
+ function M(e) {
83
86
  c.value = e;
84
87
  }
85
- function y(e) {
88
+ function x(e) {
86
89
  if (r.persistenceKey) {
87
- const o = W(e);
88
- S.setItem(r.persistenceKey, JSON.stringify(o));
90
+ const t = X(e);
91
+ p.setItem(r.persistenceKey, JSON.stringify(t));
89
92
  }
90
93
  }
91
- return z(() => {
94
+ return D(() => {
95
+ var t;
92
96
  const e = F();
93
- w(e), f == null || f(
94
- G(
95
- i(h),
96
- i(e)
97
+ w(e), (t = r.onChange) == null || t.call(r, e), d == null || d(
98
+ W(
99
+ f(m),
100
+ f(e)
97
101
  )
98
- ), c.value = A(e), y(e);
102
+ ), c.value = k(e), x(e);
99
103
  }), {
100
- columnState: t,
101
- selectAll: p,
102
- unSelectAll: C,
103
- toggleSelect: K,
104
+ columnState: o,
105
+ selectAll: S,
106
+ unSelectAll: g,
107
+ toggleSelect: J,
104
108
  setColumnState: w,
105
- isAllSelected: g,
106
- toggleSelectAll: O,
109
+ isAllSelected: C,
110
+ toggleSelectAll: K,
107
111
  columnStateBackup: c,
108
- setColumnStateBackup: J,
109
- cacheColumnStateIfNeeded: y
112
+ setColumnStateBackup: M,
113
+ cacheColumnStateIfNeeded: x
110
114
  };
111
115
  };
112
116
  export {
113
- $ as useTableColumnState
117
+ V as useTableColumnState
114
118
  };
@@ -1,9 +1,9 @@
1
1
  import { ComputedRef, Ref } from 'vue';
2
2
  import { RequestData } from '../interface';
3
3
  import { ApFormSearchFormExpose } from '../../ap-form';
4
- import { DataIndex } from 'ant-design-vue/es/vc-table/interface';
5
- import { TablePaginationConfig } from 'ant-design-vue';
6
- import { FilterValue, SorterResult, TableCurrentDataSource } from 'ant-design-vue/es/table/interface';
4
+ import { DataIndex } from '@aplus-frontend/antdv/es/vc-table/interface';
5
+ import { TablePaginationConfig } from '@aplus-frontend/antdv';
6
+ import { FilterValue, SorterResult, TableCurrentDataSource } from '@aplus-frontend/antdv/es/table/interface';
7
7
  export type UseTablePagingParams<DataType, ParamsType> = {
8
8
  request: (params: any) => Promise<RequestData<DataType>>;
9
9
  /**
@@ -1,4 +1,4 @@
1
- import { TableRowSelection } from 'ant-design-vue/lib/table/interface';
1
+ import { TableRowSelection } from '@aplus-frontend/antdv/lib/table/interface';
2
2
  import { ComputedRef, Ref } from 'vue';
3
3
  import { ApTableProps, ApTableRowSelection } from '../interface';
4
4
  import { Recordable } from '../../type';
@@ -1,4 +1,9 @@
1
- import { default as ApTable } from './ap-table.vue';
1
+ import { default as _ApTable } from './ap-table.vue';
2
+ import { default as ApTableSetting } from './components/setting/modal/index.vue';
3
+ type ApTableMixedType = typeof _ApTable & {
4
+ Setting: typeof ApTableSetting;
5
+ };
6
+ declare const ApTable: ApTableMixedType;
2
7
  export { ApTable };
3
8
  export * from './interface';
4
9
  export * from './hooks/use-table-paging';
@@ -1,6 +1,12 @@
1
- import "./ap-table.vue2.mjs";
1
+ import "./ap-table.vue.mjs";
2
+ import "./components/setting/modal/index.vue.mjs";
2
3
  import "./interface.mjs";
3
- import { useTablePaging as m } from "./hooks/use-table-paging.mjs";
4
+ import { useTablePaging as s } from "./hooks/use-table-paging.mjs";
5
+ import o from "./ap-table.vue2.mjs";
6
+ import m from "./components/setting/modal/index.vue2.mjs";
7
+ const r = o;
8
+ r.Setting = m;
4
9
  export {
5
- m as useTablePaging
10
+ r as ApTable,
11
+ s as useTablePaging
6
12
  };
@@ -1,12 +1,12 @@
1
- import { ColumnType, TableProps, ColumnsType } from 'ant-design-vue/es/table';
2
- import { CompareFn, SortOrder, TableRowSelection } from 'ant-design-vue/es/table/interface';
1
+ import { ColumnType, TableProps, ColumnsType } from '@aplus-frontend/antdv/es/table';
2
+ import { CompareFn, SortOrder, TableRowSelection } from '@aplus-frontend/antdv/es/table/interface';
3
3
  import { ApFormItemProps, ApFormSearchFormProps } from '../ap-form';
4
4
  import { ApFormItemCheckboxProps, ApFormItemDateProps, ApFormItemDateRangeProps, ApFormItemNumberProps, ApFormItemRadioProps, ApFormItemSelectProps, ApFormItemSwitchProps, ApFormItemTextAreaProps, ApFormItemTextPasswordProps, ApFormItemTextProps } from '../ap-form/items/interface';
5
5
  import { Recordable } from '../type';
6
6
  import { ComputedRef, CSSProperties, VNode } from 'vue';
7
7
  import { ApActionGroupProps } from '../ap-action';
8
8
  import { ApTableIndexProps } from './components/interface';
9
- import { EllipsisConfig } from 'ant-design-vue/es/typography/Base';
9
+ import { EllipsisConfig } from '@aplus-frontend/antdv/es/typography/Base';
10
10
  import { RowSelectionReturnType } from './hooks/use-table-row-selection';
11
11
  export type ValueEnumType = {
12
12
  text: string;
@@ -2,14 +2,15 @@ import { ApColumnType, ValueEnum, ValueEnumType } from './interface';
2
2
  import { ValueTypeRenderConfig } from '../config-provider';
3
3
  import { apTableRenderItemMap } from './constants';
4
4
  import { VNode, CreateComponentPublicInstance, ExtractPropTypes, PropType, HTMLAttributes, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, VNodeArrayChildren, RendererNode, RendererElement } from 'vue';
5
+ import { EditableColumnType } from '../editable-table/interface';
5
6
  import { ApFormItemTransformType, ApFieldTextPasswordProps, ApFormItemSlots, ApFieldTextProps, ApFormItemTextPassword, ApFieldTextAreaProps, ApFieldNumberProps, ApFieldDateProps, ApFieldDateRangeProps, ApFieldRadioProps, ApFieldSelectProps, ApFieldSwitchProps, ApFieldCheckboxProps } from '..';
6
- import { ColSize } from 'ant-design-vue/es/grid';
7
- import { FormLabelAlign } from 'ant-design-vue/es/form/interface';
8
- import { RuleObject } from 'ant-design-vue/es/form';
9
- import { InputFocusOptions } from 'ant-design-vue/es/vc-input/utils/commonUtils';
7
+ import { ColSize } from '@aplus-frontend/antdv/es/grid';
8
+ import { FormLabelAlign } from '@aplus-frontend/antdv/es/form/interface';
9
+ import { RuleObject } from '@aplus-frontend/antdv/es/form';
10
+ import { InputFocusOptions } from '@aplus-frontend/antdv/es/vc-input/utils/commonUtils';
10
11
  import { ApFormItemTextGroup } from '../ap-form/items/text';
11
- import { ColumnTitleProps } from 'ant-design-vue/es/table/interface';
12
- import { VueNode } from 'ant-design-vue/es/_util/type';
12
+ import { ColumnTitleProps } from '@aplus-frontend/antdv/es/table/interface';
13
+ import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
13
14
  export type FieldValueType = 'multiple' | 'multipleNumber' | 'dayjs' | 'dayjsRange' | 'dayjsDayRange' | 'number' | 'boolean' | 'object';
14
15
  export declare const formatParamsValueType: (type: FieldValueType | Record<string, FieldValueType>, value: any, cb: (t: FieldValueType, value: any) => any) => any;
15
16
  /**
@@ -64,7 +65,7 @@ export declare function getFieldProps<RecordType = any>(fieldProps: ApColumnType
64
65
  * @param item
65
66
  * @returns
66
67
  */
67
- export declare function getTableRenderType(item: ApColumnType<any, any>): "number" | "select" | "date" | "checkbox" | "radio" | "text" | "status" | "switch" | "index" | "password" | "action" | "dateRange" | "textArea";
68
+ export declare function getTableRenderType(item: ApColumnType | EditableColumnType): "number" | "select" | "date" | "checkbox" | "radio" | "text" | "status" | "switch" | "index" | "password" | "action" | "dateRange" | "textArea";
68
69
  export declare function getTableCellRenderNode(renderType: keyof typeof apTableRenderItemMap, renderProps: any, record: any, extraRenderMap?: Record<string, ValueTypeRenderConfig>): any;
69
70
  /**
70
71
  * 获取查询表单最终渲染的节点
@@ -3,7 +3,7 @@ import { isObject as f, isArray as p, isUndefined as h, isFunction as d, omit as
3
3
  import { apTableRenderItemMap as F, apTableFormItemMap as N } from "./constants.mjs";
4
4
  import { isType as S } from "@fruits-chain/utils";
5
5
  import "../ap-form/index.mjs";
6
- import { Tooltip as v } from "ant-design-vue";
6
+ import { Tooltip as v } from "@aplus-frontend/antdv";
7
7
  import { QuestionCircleOutlined as I } from "@ant-design/icons-vue";
8
8
  import V from "../ap-form/item/index.vue.mjs";
9
9
  function w(t) {
@@ -1,5 +1,5 @@
1
1
  import { createElementVNode as t, defineComponent as D, ref as C, computed as n, unref as d, watch as N, nextTick as S, onMounted as j, onUnmounted as G, openBlock as c, createBlock as f, mergeProps as _, withCtx as g, renderSlot as R, createTextVNode as A, toDisplayString as b, normalizeClass as k, normalizeStyle as W, createElementBlock as T, Fragment as F, renderList as I, createCommentVNode as U } from "vue";
2
- import { Tooltip as q } from "ant-design-vue";
2
+ import { Tooltip as q } from "@aplus-frontend/antdv";
3
3
  import H from "@ant-design/icons-vue";
4
4
  import "./ap-tag.vue2.mjs";
5
5
  import "../config-provider/index.mjs";
@@ -1,4 +1,4 @@
1
- import { TooltipProps } from 'ant-design-vue/es/tooltip';
1
+ import { TooltipProps } from '@aplus-frontend/antdv/es/tooltip';
2
2
  export interface ApTagProps {
3
3
  /**
4
4
  * 标签内容
@@ -5,7 +5,7 @@ import "./components/MultipleFile.vue.mjs";
5
5
  import "./components/Picture.vue.mjs";
6
6
  import { injectLocaleToAccept as G } from "./utils/accept.mjs";
7
7
  import { injectLocaleToOss as I } from "./hooks/useOss.mjs";
8
- import { Form as H } from "ant-design-vue";
8
+ import { Form as H } from "@aplus-frontend/antdv";
9
9
  import { useLocale as J } from "../config-provider/hooks/use-locale.mjs";
10
10
  import { useNamespace as K } from "../config-provider/hooks/use-namespace.mjs";
11
11
  import Q from "./components/SingleFile.vue2.mjs";
@@ -2,7 +2,7 @@ import { defineComponent as $, inject as n, ref as j, watch as V, nextTick as W,
2
2
  import "../../config-provider/index.mjs";
3
3
  import { getPath as Y, getName as Z, getReturnData as S } from "../utils/returnData.mjs";
4
4
  import { useOss as ee, getOssInstance as te } from "../hooks/useOss.mjs";
5
- import { message as m, Upload as oe, Button as ae } from "ant-design-vue";
5
+ import { message as m, Upload as oe, Button as ae } from "@aplus-frontend/antdv";
6
6
  import { UploadOutlined as se } from "@ant-design/icons-vue";
7
7
  import { fileMatchesAccept as ne, getAcceptText as ie } from "../utils/accept.mjs";
8
8
  import { useLocale as re } from "../../config-provider/hooks/use-locale.mjs";
@@ -4,7 +4,7 @@ import { getPath as ne, getName as ae, getReturnData as T } from "../utils/retur
4
4
  import { CloseOutlined as se, PlusOutlined as oe } from "@ant-design/icons-vue";
5
5
  import { useOss as ie, getOssInstance as D } from "../hooks/useOss.mjs";
6
6
  import { fileMatchesAccept as ce, getAcceptText as ue } from "../utils/accept.mjs";
7
- import { message as m, Progress as re } from "ant-design-vue";
7
+ import { message as m, Progress as re } from "@aplus-frontend/antdv";
8
8
  import { omit as le } from "lodash-unified";
9
9
  import { useLocale as pe } from "../../config-provider/hooks/use-locale.mjs";
10
10
  import { useNamespace as de } from "../../config-provider/hooks/use-namespace.mjs";
@@ -3,7 +3,7 @@ import "../../config-provider/index.mjs";
3
3
  import { getName as ce, getReturnData as q } from "../utils/returnData.mjs";
4
4
  import { useOss as ue, useOssInit as pe } from "../hooks/useOss.mjs";
5
5
  import { fileMatchesAccept as ve, getAcceptText as de } from "../utils/accept.mjs";
6
- import { message as u, Progress as fe } from "ant-design-vue";
6
+ import { message as u, Progress as fe } from "@aplus-frontend/antdv";
7
7
  import { DeleteOutlined as me } from "@ant-design/icons-vue";
8
8
  import M from "../assets/single-file-icon.png.mjs";
9
9
  import { useLocale as ge } from "../../config-provider/hooks/use-locale.mjs";
@@ -1,6 +1,6 @@
1
1
  import { AttachmentItemProps, ApAttachmentProps } from './interface';
2
2
  import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
3
- import { TooltipPlacement } from 'ant-design-vue/es/tooltip';
3
+ import { TooltipPlacement } from '@aplus-frontend/antdv/es/tooltip';
4
4
  declare const _default: DefineComponent<{
5
5
  attachmentList: {
6
6
  type: PropType<Array<AttachmentItemProps>>;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as _, ref as w, useSlots as j, computed as n, cloneVNode as B, toRaw as v, unref as G, createVNode as l, createTextVNode as H } from "vue";
2
- import { Tooltip as R, Popover as W } from "ant-design-vue";
2
+ import { Tooltip as R, Popover as W } from "@aplus-frontend/antdv";
3
3
  import "../../config-provider/index.mjs";
4
4
  import { ApAttachmentProps as q } from "./constans.mjs";
5
5
  import { getHexWithOpacity as D, getFileInfo as y } from "../../ap-download/utils/getFileInfo.mjs";
@@ -1,6 +1,6 @@
1
1
  import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from 'vue';
2
2
  import { AttachmentItemProps, ApAttachmentProps } from './interface';
3
- import { TooltipPlacement } from 'ant-design-vue/es/tooltip';
3
+ import { TooltipPlacement } from '@aplus-frontend/antdv/es/tooltip';
4
4
  export * from './interface';
5
5
  declare const ApAttachment: {
6
6
  new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
@@ -1,5 +1,5 @@
1
1
  import { ApDownLoadProps } from '../../ap-download/interface';
2
- import { TooltipPlacement } from 'ant-design-vue/es/tooltip';
2
+ import { TooltipPlacement } from '@aplus-frontend/antdv/es/tooltip';
3
3
  export type AttachmentItemProps = {
4
4
  fileName: string;
5
5
  filePath: string;
@@ -1,9 +1,14 @@
1
1
  import { ApBatchActionProps } from './interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
3
  declare function __VLS_template(): {
4
- slots: {
5
- prefix?(_: {}): any;
6
- suffix?(_: {}): any;
4
+ slots: Readonly<{
5
+ header: () => void;
6
+ prefix: () => void;
7
+ suffix: () => void;
8
+ }> & {
9
+ header: () => void;
10
+ prefix: () => void;
11
+ suffix: () => void;
7
12
  };
8
13
  refs: {};
9
14
  attrs: Partial<{}>;
@@ -1,45 +1,58 @@
1
- import { defineComponent as m, computed as u, openBlock as f, createElementBlock as h, normalizeClass as _, unref as t, renderSlot as r, createElementVNode as s, createTextVNode as n, toDisplayString as c, createVNode as A, withCtx as B } from "vue";
2
- import { Button as v } from "ant-design-vue";
1
+ import { defineComponent as v, useSlots as _, computed as u, openBlock as m, createElementBlock as f, normalizeClass as r, unref as t, renderSlot as i, createCommentVNode as B, createElementVNode as s, createTextVNode as d, toDisplayString as o, createVNode as C, withCtx as k } from "vue";
2
+ import { Button as N } from "@aplus-frontend/antdv";
3
3
  import "../../config-provider/index.mjs";
4
- import { useNamespace as y } from "../../config-provider/hooks/use-namespace.mjs";
5
- import { useLocale as C } from "../../config-provider/hooks/use-locale.mjs";
6
- const k = { class: "selected-desc" }, x = { class: "selected-desc-conut" }, N = { class: "selected-desc-clean" }, E = /* @__PURE__ */ m({
4
+ import { useNamespace as V } from "../../config-provider/hooks/use-namespace.mjs";
5
+ import { useLocale as $ } from "../../config-provider/hooks/use-locale.mjs";
6
+ const b = { class: "selected-desc" }, g = { class: "selected-desc-conut" }, w = { class: "selected-desc-clean" }, z = /* @__PURE__ */ v({
7
7
  __name: "ApBatchAction",
8
8
  props: {
9
9
  selectedRowKeys: {},
10
10
  clearAll: { type: Function }
11
11
  },
12
- setup(p) {
13
- const { b: i } = y("ap-batch-action"), { t: o } = C(), l = p, d = u(() => {
12
+ setup(h) {
13
+ const { b: c } = V("ap-batch-action"), { t: a } = $(), l = h, n = _().header, y = u(() => {
14
14
  var e;
15
15
  return ((e = l.selectedRowKeys) == null ? void 0 : e.length) || 0;
16
+ }), A = u(() => {
17
+ const e = n == null ? void 0 : n();
18
+ return Array.isArray(e) && e.length > 0;
16
19
  });
17
- return (e, a) => (f(), h("div", {
18
- class: _([t(i)()])
20
+ return (e, p) => (m(), f("div", {
21
+ class: r([t(c)()])
19
22
  }, [
20
- r(e.$slots, "prefix"),
21
- s("div", k, [
22
- s("div", x, [
23
- n(c(t(o)("ap.apBatchAction.selected")) + " ", 1),
24
- s("span", null, c(d.value), 1),
25
- n(" " + c(t(o)("ap.apBatchAction.piecesOfData")), 1)
23
+ A.value ? (m(), f("div", {
24
+ key: 0,
25
+ class: r(t(c)("header"))
26
+ }, [
27
+ i(e.$slots, "header")
28
+ ], 2)) : B("", !0),
29
+ s("div", {
30
+ class: r(t(c)("body"))
31
+ }, [
32
+ i(e.$slots, "prefix"),
33
+ s("div", b, [
34
+ s("div", g, [
35
+ d(o(t(a)("ap.apBatchAction.selected")) + " ", 1),
36
+ s("span", null, o(y.value), 1),
37
+ d(" " + o(t(a)("ap.apBatchAction.piecesOfData")), 1)
38
+ ]),
39
+ s("div", w, [
40
+ C(t(N), {
41
+ type: "link",
42
+ onClick: p[0] || (p[0] = (x) => l.clearAll && l.clearAll())
43
+ }, {
44
+ default: k(() => [
45
+ d(o(t(a)("ap.apBatchAction.empty")), 1)
46
+ ]),
47
+ _: 1
48
+ })
49
+ ])
26
50
  ]),
27
- s("div", N, [
28
- A(t(v), {
29
- type: "link",
30
- onClick: a[0] || (a[0] = (w) => l.clearAll && l.clearAll())
31
- }, {
32
- default: B(() => [
33
- n(c(t(o)("ap.apBatchAction.empty")), 1)
34
- ]),
35
- _: 1
36
- })
37
- ])
38
- ]),
39
- r(e.$slots, "suffix")
51
+ i(e.$slots, "suffix")
52
+ ], 2)
40
53
  ], 2));
41
54
  }
42
55
  });
43
56
  export {
44
- E as default
57
+ z as default
45
58
  };
@@ -41,9 +41,14 @@ declare const ApBatchAction: {
41
41
  type: PropType<() => void>;
42
42
  };
43
43
  }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
44
- $slots: {
45
- prefix?(_: {}): any;
46
- suffix?(_: {}): any;
44
+ $slots: Readonly<{
45
+ header: () => void;
46
+ prefix: () => void;
47
+ suffix: () => void;
48
+ }> & {
49
+ header: () => void;
50
+ prefix: () => void;
51
+ suffix: () => void;
47
52
  };
48
53
  }) & ( Plugin & (new (...args: any[]) => {
49
54
  $props: {