@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
@@ -1,4 +1,430 @@
1
- import f from "./ap-table.vue.mjs";
1
+ import { defineComponent as Ce, useSlots as ve, ref as z, computed as s, unref as t, createVNode as f, Fragment as U, watchEffect as Te, watch as G, openBlock as m, createElementBlock as F, normalizeClass as c, normalizeStyle as M, mergeProps as h, createSlots as J, withCtx as w, renderList as Q, createBlock as X, resolveDynamicComponent as Fe, renderSlot as S, createCommentVNode as Y, createElementVNode as I, h as xe, normalizeProps as Be, guardReactiveProps as Pe } from "vue";
2
+ import { Typography as ke, Divider as ze, Button as Ie, Table as Ne } from "@aplus-frontend/antdv";
3
+ import { useToken as Ee } from "@aplus-frontend/antdv/es/theme/internal";
4
+ import { ApForm as Ke } from "../ap-form/index.mjs";
5
+ import { noRenderAsFormItemValueList as Z } from "./constants.mjs";
6
+ import "../config-provider/index.mjs";
7
+ import { useTablePaging as Le } from "./hooks/use-table-paging.mjs";
8
+ import { omit as _, isUndefined as g, isBoolean as Oe } from "lodash-unified";
9
+ import { apColumnToColumn as Ve, getTableTitle as De, getTableRenderType as je, getTableRenderProps as Ae, getTableCellRenderNode as We, getColumnOrder as ee, updateFormProps as $e, getFieldProps as He, getSearchFormItemRenderNode as qe, objectToString as Ue } from "./utils.mjs";
10
+ import Ge from "./hooks/use-table-content-height.mjs";
11
+ import { getRawDisplayValue as Me } from "../editable-table/utils.mjs";
12
+ import Je from "./hooks/use-table-row-selection.mjs";
13
+ import { isDef as Qe } from "../utils/index.mjs";
14
+ import { SettingOutlined as Xe } from "@ant-design/icons-vue";
15
+ import "./components/setting/modal/index.vue.mjs";
16
+ import { useProvideApTable as Ye } from "./context.mjs";
17
+ import { useNamespace as Ze } from "../config-provider/hooks/use-namespace.mjs";
18
+ import { useGlobalConfig as _e } from "../config-provider/hooks/use-global-config.mjs";
19
+ import ea from "./components/setting/modal/index.vue2.mjs";
20
+ const ba = /* @__PURE__ */ Ce({
21
+ name: "ApTable",
22
+ __name: "ap-table",
23
+ props: {
24
+ dropdownPrefixCls: {},
25
+ loading: {
26
+ type: [Boolean, Object],
27
+ default: void 0
28
+ },
29
+ bordered: {
30
+ type: Boolean,
31
+ default: !1
32
+ },
33
+ locale: {},
34
+ onChange: {},
35
+ onResizeColumn: {},
36
+ getPopupContainer: {},
37
+ scroll: {},
38
+ sortDirections: {
39
+ default: () => ["ascend", "descend"]
40
+ },
41
+ showSorterTooltip: {
42
+ type: [Boolean, Object],
43
+ default: !0
44
+ },
45
+ prefixCls: {},
46
+ rowKey: {
47
+ default: "key"
48
+ },
49
+ tableLayout: {},
50
+ rowClassName: {},
51
+ title: {},
52
+ footer: {},
53
+ id: {},
54
+ showHeader: {
55
+ type: Boolean,
56
+ default: !0
57
+ },
58
+ components: {},
59
+ customRow: {},
60
+ customHeaderRow: {},
61
+ direction: {},
62
+ expandFixed: {
63
+ type: [String, Boolean],
64
+ default: !1
65
+ },
66
+ expandColumnWidth: {},
67
+ expandedRowKeys: {},
68
+ defaultExpandedRowKeys: {},
69
+ expandedRowRender: {},
70
+ expandRowByClick: {
71
+ type: Boolean,
72
+ default: !1
73
+ },
74
+ expandIcon: {},
75
+ onExpand: {},
76
+ onExpandedRowsChange: {},
77
+ defaultExpandAllRows: {
78
+ type: Boolean,
79
+ default: !1
80
+ },
81
+ indentSize: {
82
+ default: 15
83
+ },
84
+ expandIconColumnIndex: {},
85
+ showExpandColumn: {
86
+ type: Boolean,
87
+ default: !0
88
+ },
89
+ expandedRowClassName: {},
90
+ childrenColumnName: {
91
+ default: "children"
92
+ },
93
+ rowExpandable: {},
94
+ sticky: {
95
+ type: [Boolean, Object]
96
+ },
97
+ transformCellText: {},
98
+ columns: {},
99
+ rowSelection: {
100
+ type: [Boolean, Object]
101
+ },
102
+ card: {
103
+ type: Boolean,
104
+ default: !1
105
+ },
106
+ params: {},
107
+ searchFormRender: {},
108
+ request: {},
109
+ onLoad: {},
110
+ defaultData: {},
111
+ dataSource: {},
112
+ onLoadingChange: {},
113
+ searchForm: {
114
+ type: [Boolean, Object],
115
+ default: void 0
116
+ },
117
+ beforeSearchSubmit: {},
118
+ pagination: {
119
+ type: [Boolean, Object],
120
+ default: void 0
121
+ },
122
+ searchFormWrapperStyle: {},
123
+ tableWrapperStyle: {},
124
+ manual: {
125
+ type: Boolean,
126
+ default: !1
127
+ },
128
+ size: {
129
+ default: "middle"
130
+ },
131
+ adaptive: {
132
+ type: Boolean,
133
+ default: !1
134
+ },
135
+ columnResizable: {
136
+ type: Boolean,
137
+ default: !1
138
+ },
139
+ settings: {
140
+ type: [Boolean, Object],
141
+ default: void 0
142
+ }
143
+ },
144
+ setup(ae, {
145
+ expose: oe
146
+ }) {
147
+ const a = ae;
148
+ let N = 0;
149
+ const b = ve(), [, te] = Ee(), {
150
+ e: x,
151
+ b: i,
152
+ be: E
153
+ } = Ze("ap-table"), K = _e("valueTypeMap"), {
154
+ height: re,
155
+ contentRef: le
156
+ } = Ge(), B = z(a.size), d = z([]), L = z([]);
157
+ Ye({
158
+ columns: s(() => d.value),
159
+ columnsBackup: s(() => L.value),
160
+ size: s(() => B.value),
161
+ updateColumns(e) {
162
+ d.value = e;
163
+ },
164
+ updateSize(e) {
165
+ B.value = e;
166
+ }
167
+ });
168
+ const ne = () => {
169
+ var r;
170
+ let e = ((r = a.columns) == null ? void 0 : r.filter((l) => !l.hideInTable)) || [];
171
+ function o(l, u) {
172
+ return l.map((n) => ({
173
+ resizable: Qe(n.resizable) ? n.resizable : a.columnResizable,
174
+ ..._(Ve(n), ["ellipsis"]),
175
+ fixed: u ? u.fixed : n.fixed,
176
+ title: De(n, E("table-header", "title"), b.headerCell, t(te).colorPrimary),
177
+ customRender({
178
+ value: p,
179
+ ...y
180
+ }) {
181
+ var H, q;
182
+ const W = je(n), Se = Ae({
183
+ ...n,
184
+ valueType: W
185
+ }, {
186
+ value: p,
187
+ ...y
188
+ }), be = We(W, Se, y.record, t(K)), $ = ((H = n.renderText) == null ? void 0 : H.call(n, {
189
+ value: p,
190
+ ...y
191
+ })) || p, Re = n.renderText ? f(U, null, [(q = n.renderText) == null ? void 0 : q.call(n, {
192
+ value: p,
193
+ ...y
194
+ })]) : be;
195
+ let k = ge(n, $, Re);
196
+ return n.customRender && (k = n.customRender({
197
+ value: p,
198
+ ...y,
199
+ column: n,
200
+ originalNode: k,
201
+ originalText: $
202
+ })), k;
203
+ },
204
+ children: o(n.children || [], u || n)
205
+ }));
206
+ }
207
+ return o(e);
208
+ };
209
+ Te(() => {
210
+ const e = ne();
211
+ d.value = e, L.value = e;
212
+ });
213
+ const O = s(() => {
214
+ var e, o, r;
215
+ return N++, ((r = (o = (e = a.columns) == null ? void 0 : e.filter((l) => !l.hideInSearch && l.dataIndex && (l.valueType || l.customRenderFormItem) && !Z.includes(l.valueType))) == null ? void 0 : o.sort((l, u) => {
216
+ let n = ee(l.order);
217
+ return ee(u.order) - n;
218
+ })) == null ? void 0 : r.map((l) => {
219
+ const u = $e(l, He(l.fieldProps, {})), n = {
220
+ ...l,
221
+ fieldProps: {
222
+ label: l.title,
223
+ name: l.dataIndex,
224
+ ...u || {},
225
+ _signal: N
226
+ },
227
+ renderNode: void 0
228
+ };
229
+ return n.renderNode = qe(n, t(K)), n;
230
+ })) || [];
231
+ }), se = s(() => t(d).filter((e) => e.sorter === !0).map((e) => e.dataIndex).filter(Boolean)), de = s(() => t(d).filter((e) => e.filters && !e.onFilter).map((e) => e.dataIndex).filter(Boolean)), ue = s(() => g(a.dataSource) ? T.value.records : a.dataSource), {
232
+ rowSelection: R,
233
+ selectedRows: C,
234
+ ...v
235
+ } = Je({
236
+ ...a.rowSelection === !0 ? {} : a.rowSelection,
237
+ rowKey: a.rowKey,
238
+ dataSource: ue
239
+ }), {
240
+ formRef: P,
241
+ submit: V,
242
+ reset: D,
243
+ tableProps: j,
244
+ refresh: ie,
245
+ data: T,
246
+ setDataSource: ce
247
+ } = Le({
248
+ async request(e) {
249
+ var r, l;
250
+ if (!R.value.preserveSelectedRowKeys && g(a.dataSource) && v.clearAll(), !g(a.dataSource))
251
+ return {
252
+ data: a.dataSource || [],
253
+ total: a.dataSource.length || 0
254
+ };
255
+ const o = await ((r = a.request) == null ? void 0 : r.call(a, e));
256
+ return (l = a.onLoad) == null || l.call(a, (o == null ? void 0 : o.data) || []), {
257
+ data: (o == null ? void 0 : o.data) || [],
258
+ total: (o == null ? void 0 : o.total) || 0
259
+ };
260
+ },
261
+ filterFields: de,
262
+ sortFields: se,
263
+ defaultParams: a.params,
264
+ defaultData: a.defaultData,
265
+ manual: a.manual,
266
+ defaultCurrent: a.pagination ? a.pagination.defaultCurrent : void 0,
267
+ defaultPageSize: a.pagination ? a.pagination.defaultPageSize : void 0,
268
+ formatParams: a.beforeSearchSubmit,
269
+ showLessItems: a.pagination ? a.pagination.showLessItems : void 0,
270
+ showTotal: a.pagination ? a.pagination.showTotal : void 0
271
+ }), pe = s(() => {
272
+ var o, r;
273
+ if (a.adaptive && (T.value.total > 0 || ((o = a.dataSource) == null ? void 0 : o.length)))
274
+ return {
275
+ y: t(re),
276
+ x: ((r = a.scroll) == null ? void 0 : r.x) || "100%"
277
+ };
278
+ if (a.scroll)
279
+ return a.scroll;
280
+ }), fe = s(() => {
281
+ var e;
282
+ if (a.tableLayout)
283
+ return a.tableLayout;
284
+ if ((e = a.columns) != null && e.some((o) => o.ellipsis))
285
+ return "fixed";
286
+ }), A = s(() => {
287
+ var r;
288
+ const e = t(j), o = t(R);
289
+ return {
290
+ ...a,
291
+ ...e,
292
+ rowSelection: a.rowSelection === !0 || ((r = a.rowSelection) == null ? void 0 : r.mode) === "internal" ? {
293
+ ...o,
294
+ // tips 如果是前端分页,则默认会走缓存
295
+ preserveSelectedRowKeys: g(a.dataSource) ? o.preserveSelectedRowKeys : !0
296
+ } : a.rowSelection,
297
+ loading: g(a.loading) ? e.loading : a.loading,
298
+ pagination: a.pagination === !1 ? !1 : e.pagination,
299
+ scroll: t(pe)
300
+ };
301
+ }), me = s(() => [i(), a.card ? null : i("wrapper"), a.adaptive ? i("adaptive") : null].filter(Boolean));
302
+ function ge(e, o, r) {
303
+ if (Z.includes(e.valueType))
304
+ return r;
305
+ const l = Ue(o);
306
+ return e.copyable || e.ellipsis ? f(ke.Paragraph, {
307
+ copyable: e.copyable ? {
308
+ text: l,
309
+ tooltip: !1
310
+ } : !1,
311
+ ellipsis: e.ellipsis ? Oe(e.ellipsis) ? {
312
+ tooltip: l
313
+ } : {
314
+ ...e.ellipsis,
315
+ tooltip: l
316
+ } : !1,
317
+ content: e.ellipsis ? Me(e, o) : r
318
+ }, null) : r;
319
+ }
320
+ G(() => t(T).loading, (e) => {
321
+ var o;
322
+ (o = a.onLoadingChange) == null || o.call(a, e);
323
+ }), G(() => a.dataSource, (e) => {
324
+ ce(e);
325
+ }, {
326
+ immediate: !0
327
+ });
328
+ function ye(e) {
329
+ var o, r, l;
330
+ (l = (r = (o = P.value) == null ? void 0 : o.apForm) == null ? void 0 : r.setFieldsValue) == null || l.call(r, e);
331
+ }
332
+ function he() {
333
+ var e, o, r;
334
+ return (r = (o = (e = P.value) == null ? void 0 : e.apForm) == null ? void 0 : o.getFieldsValue) == null ? void 0 : r.call(o, !0);
335
+ }
336
+ function we() {
337
+ return t(d);
338
+ }
339
+ return oe({
340
+ submit: () => V(),
341
+ reset: () => D(),
342
+ refresh: () => ie(),
343
+ setSearchFormValues: ye,
344
+ getSearchFormValues: he,
345
+ getShownColumns: we,
346
+ dataSource: s(() => t(T).records),
347
+ rowSelection: {
348
+ selectedRows: s(() => t(C)),
349
+ ...v
350
+ }
351
+ }), (e, o) => (m(), F("div", {
352
+ class: c(me.value)
353
+ }, [t(g)(e.dataSource) && e.searchForm !== !1 && O.value.length > 0 ? (m(), F("div", {
354
+ key: 0,
355
+ class: c(e.card ? t(x)("search-wrapper") : null),
356
+ style: M(e.searchFormWrapperStyle)
357
+ }, [f(t(Ke).SearchForm, h(e.searchForm || {}, {
358
+ ref_key: "formRef",
359
+ ref: P,
360
+ "custom-reset": "",
361
+ onSubmit: t(V),
362
+ onReset: t(D),
363
+ "submit-loading": t(j).loading
364
+ }), J({
365
+ default: w(() => [(m(!0), F(U, null, Q(O.value, (r) => (m(), X(Fe(r.renderNode), h({
366
+ key: r.dataIndex,
367
+ ref_for: !0
368
+ }, r.fieldProps || {}, {
369
+ span: r.span
370
+ }), null, 16, ["span"]))), 128))]),
371
+ _: 2
372
+ }, [b.searchFormExtra ? {
373
+ name: "extra",
374
+ fn: w(() => [S(e.$slots, "searchFormExtra")]),
375
+ key: "0"
376
+ } : void 0]), 1040, ["onSubmit", "onReset", "submit-loading"])], 6)) : Y("", !0), I("div", {
377
+ ref_key: "contentRef",
378
+ ref: le,
379
+ class: c([t(x)("table-wrapper"), e.card ? t(x)("table-wrapper-card") : null]),
380
+ style: M(e.tableWrapperStyle)
381
+ }, [I("div", {
382
+ class: c(t(i)("header-wrapper"))
383
+ }, [e.settings ? (m(), F("div", {
384
+ key: 0,
385
+ class: c(t(i)("header"))
386
+ }, [I("div", {
387
+ class: c(t(E)("header", "title"))
388
+ }, [S(e.$slots, "title", h({
389
+ selectedRows: t(C),
390
+ selectedRowKeys: t(R).selectedRowKeys,
391
+ shownColumns: d.value
392
+ }, v))], 2), b.title ? (m(), X(t(ze), {
393
+ key: 0,
394
+ type: "vertical"
395
+ })) : Y("", !0), f(ea, {
396
+ config: e.settings === !0 ? {} : e.settings
397
+ }, {
398
+ trigger: w(() => [f(t(Ie), {
399
+ class: c(t(i)("setting-trigger-button")),
400
+ icon: xe(t(Xe))
401
+ }, null, 8, ["class", "icon"])]),
402
+ _: 1
403
+ }, 8, ["config"])], 2)) : S(e.$slots, "title", h({
404
+ key: 1,
405
+ selectedRows: t(C),
406
+ selectedRowKeys: t(R).selectedRowKeys,
407
+ shownColumns: d.value
408
+ }, v))], 2), f(t(Ne), h({
409
+ class: t(i)("table")
410
+ }, A.value, {
411
+ size: B.value,
412
+ "table-layout": fe.value,
413
+ columns: d.value,
414
+ onResizeColumn: o[0] || (o[0] = (r, l) => l.width = r)
415
+ }), J({
416
+ summary: w(() => [S(e.$slots, "summary", {
417
+ columns: d.value,
418
+ records: A.value.dataSource,
419
+ selectedRows: t(C)
420
+ })]),
421
+ _: 2
422
+ }, [Q(t(_)(b, ["title", "searchFormExtra", "headerCell", "summary"]), (r, l) => ({
423
+ name: l,
424
+ fn: w((u) => [S(e.$slots, l, Be(Pe(u || {})))])
425
+ }))]), 1040, ["class", "size", "table-layout", "columns"])], 6)], 2));
426
+ }
427
+ });
2
428
  export {
3
- f as default
429
+ ba as default
4
430
  };
@@ -1,5 +1,6 @@
1
1
  import { ApTableSettingModalProps } from '../../interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
+ import { ApTableSettingType } from '../../..';
3
4
  type TableSettingModalSlots = {
4
5
  trigger: any;
5
6
  };
@@ -9,9 +10,20 @@ declare function __VLS_template(): {
9
10
  attrs: Partial<{}>;
10
11
  };
11
12
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
- declare const __VLS_component: DefineComponent<__VLS_TypePropsToOption<ApTableSettingModalProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<ApTableSettingModalProps>>>, {}, {}>;
13
+ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApTableSettingModalProps>, {
14
+ config: () => {};
15
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApTableSettingModalProps>, {
16
+ config: () => {};
17
+ }>>>, {
18
+ config: ApTableSettingType;
19
+ }, {}>;
13
20
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
14
21
  export default _default;
22
+ type __VLS_WithDefaults<P, D> = {
23
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
24
+ default: D[K];
25
+ }> : P[K];
26
+ };
15
27
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
28
  type __VLS_TypePropsToOption<T> = {
17
29
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -26,3 +38,6 @@ type __VLS_WithTemplateSlots<T, S> = T & {
26
38
  $slots: S;
27
39
  };
28
40
  };
41
+ type __VLS_PrettifyLocal<T> = {
42
+ [K in keyof T]: T[K];
43
+ } & {};
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as $, ref as x, unref as e, useSlots as j, cloneVNode as F, openBlock as y, createElementBlock as G, Fragment as H, createBlock as L, resolveDynamicComponent as M, createCommentVNode as q, createVNode as l, withCtx as i, createElementVNode as s, normalizeClass as r, toDisplayString as m, createTextVNode as v, isRef as J } from "vue";
2
- import { Modal as K, Button as P, RadioGroup as Q, RadioButton as _, Divider as h } from "ant-design-vue";
2
+ import { Modal as K, Button as P, RadioGroup as Q, RadioButton as _, Divider as h } from "@aplus-frontend/antdv";
3
3
  import { getSingleVNode as W } from "../../../../utils/slot.mjs";
4
4
  import { useInjectApTable as X } from "../../../context.mjs";
5
5
  import "../tree-select/index.vue.mjs";
@@ -11,7 +11,7 @@ import { useLocale as ee } from "../../../../config-provider/hooks/use-locale.mj
11
11
  import { useNamespace as te } from "../../../../config-provider/hooks/use-namespace.mjs";
12
12
  import le from "../tree-select/index.vue2.mjs";
13
13
  import oe from "../sorter/index.vue2.mjs";
14
- const ne = {
14
+ const ae = {
15
15
  style: {
16
16
  lineHeight: "22px",
17
17
  color: "#8896B0"
@@ -19,7 +19,9 @@ const ne = {
19
19
  }, Se = /* @__PURE__ */ $({
20
20
  __name: "index",
21
21
  props: {
22
- config: {}
22
+ config: {
23
+ default: () => ({})
24
+ }
23
25
  },
24
26
  setup(N) {
25
27
  const C = N, {
@@ -28,7 +30,7 @@ const ne = {
28
30
  updateSize: c,
29
31
  updateColumns: d
30
32
  } = X(), f = x(e(A)), {
31
- columnState: n,
33
+ columnState: a,
32
34
  setColumnState: V,
33
35
  isAllSelected: z,
34
36
  toggleSelectAll: R,
@@ -36,13 +38,13 @@ const ne = {
36
38
  setColumnStateBackup: D,
37
39
  cacheColumnStateIfNeeded: U
38
40
  } = Y(C.config, []), {
39
- t: a
41
+ t: n
40
42
  } = ee(), {
41
43
  b: g,
42
44
  be: S
43
- } = te("ap-column-setting"), p = x(!1), E = j(), k = W(E.trigger), b = k ? F(k, {
45
+ } = te("ap-column-setting"), u = x(!1), E = j(), k = W(E.trigger), b = k ? F(k, {
44
46
  onClick: () => {
45
- p.value = !0;
47
+ u.value = !0;
46
48
  }
47
49
  }) : null;
48
50
  function I() {
@@ -50,16 +52,16 @@ const ne = {
50
52
  }
51
53
  function O() {
52
54
  var t, o;
53
- d == null || d(Z(e(T), e(n))), c == null || c(e(f)), p.value = !1;
54
- const u = B(n.value);
55
- D(u), U(u), (o = (t = C.config) == null ? void 0 : t.onChange) == null || o.call(t, u);
55
+ d == null || d(Z(e(T), e(a))), c == null || c(e(f)), u.value = !1;
56
+ const p = B(a.value);
57
+ D(p), U(p), (o = (t = C.config) == null ? void 0 : t.onChange) == null || o.call(t, p);
56
58
  }
57
- return (u, t) => (y(), G(H, null, [e(b) ? (y(), L(M(e(b)), {
59
+ return (p, t) => (y(), G(H, null, [e(b) ? (y(), L(M(e(b)), {
58
60
  key: 0
59
61
  })) : q("", !0), l(e(K), {
60
- title: e(a)("ap.apTable.setting.title"),
61
- open: p.value,
62
- "onUpdate:open": t[2] || (t[2] = (o) => p.value = o),
62
+ title: e(n)("ap.apTable.setting.title"),
63
+ open: u.value,
64
+ "onUpdate:open": t[2] || (t[2] = (o) => u.value = o),
63
65
  width: 900,
64
66
  onOk: O,
65
67
  "body-style": {
@@ -73,12 +75,12 @@ const ne = {
73
75
  class: r(e(g)("left"))
74
76
  }, [s("div", {
75
77
  class: r(e(S)("left", "header"))
76
- }, [s("div", null, [s("span", ne, m(e(a)("ap.apTable.setting.selectAllTip")), 1), l(e(P), {
78
+ }, [s("div", null, [s("span", ae, m(e(n)("ap.apTable.setting.selectAllTip")), 1), l(e(P), {
77
79
  type: "link",
78
80
  size: "small",
79
81
  onClick: e(R)
80
82
  }, {
81
- default: i(() => [v(m(e(z) ? e(a)("ap.apTable.setting.unSelectAll") : e(a)("ap.apTable.setting.selectAll")), 1)]),
83
+ default: i(() => [v(m(e(z) ? e(n)("ap.apTable.setting.unSelectAll") : e(n)("ap.apTable.setting.selectAll")), 1)]),
82
84
  _: 1
83
85
  }, 8, ["onClick"])]), l(e(Q), {
84
86
  value: f.value,
@@ -87,12 +89,12 @@ const ne = {
87
89
  default: i(() => [l(e(_), {
88
90
  value: "small"
89
91
  }, {
90
- default: i(() => [v(m(e(a)("ap.apTable.setting.sizeSmall")), 1)]),
92
+ default: i(() => [v(m(e(n)("ap.apTable.setting.sizeSmall")), 1)]),
91
93
  _: 1
92
94
  }), l(e(_), {
93
95
  value: "middle"
94
96
  }, {
95
- default: i(() => [v(m(e(a)("ap.apTable.setting.sizeNormal")), 1)]),
97
+ default: i(() => [v(m(e(n)("ap.apTable.setting.sizeNormal")), 1)]),
96
98
  _: 1
97
99
  })]),
98
100
  _: 1
@@ -103,7 +105,7 @@ const ne = {
103
105
  }
104
106
  }), l(le, {
105
107
  class: r(e(S)("left", "content")),
106
- value: e(n)
108
+ value: e(a)
107
109
  }, null, 8, ["class", "value"])], 2), l(e(h), {
108
110
  type: "vertical",
109
111
  style: {
@@ -113,8 +115,8 @@ const ne = {
113
115
  }), s("div", {
114
116
  class: r(e(g)("right"))
115
117
  }, [l(oe, {
116
- value: e(n),
117
- "onUpdate:value": t[1] || (t[1] = (o) => J(n) ? n.value = o : null),
118
+ value: e(a),
119
+ "onUpdate:value": t[1] || (t[1] = (o) => J(a) ? a.value = o : null),
118
120
  onReset: I
119
121
  }, null, 8, ["value"])], 2)], 2)]),
120
122
  _: 1
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as E, ref as P, computed as f, unref as r, watch as U, openBlock as s, createElementBlock as p, createElementVNode as v, normalizeClass as x, createVNode as u, withCtx as i, createBlock as h, resolveDynamicComponent as k, Fragment as D, renderList as L, mergeProps as j } from "vue";
2
- import { Checkbox as w, Row as z, Col as F } from "ant-design-vue";
2
+ import { Checkbox as w, Row as z, Col as F } from "@aplus-frontend/antdv";
3
3
  import "../../../../config-provider/index.mjs";
4
4
  import { useInjectApTable as I } from "../../../context.mjs";
5
5
  import { cloneLabelNode as b } from "../utils.mjs";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as E, openBlock as s, createElementBlock as g, normalizeClass as t, unref as e, createElementVNode as p, createVNode as c, createCommentVNode as r, createBlock as u, resolveDynamicComponent as I, withCtx as d } from "vue";
2
- import { Space as O, Tooltip as m } from "ant-design-vue";
2
+ import { Space as O, Tooltip as m } from "@aplus-frontend/antdv";
3
3
  import { HolderOutlined as D, VerticalAlignTopOutlined as k, VerticalAlignMiddleOutlined as z, DeleteOutlined as A } from "@ant-design/icons-vue";
4
4
  import "../../../../config-provider/index.mjs";
5
5
  import { useInjectSorterMethods as M } from "../sorter/context.mjs";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as A, ref as L, unref as n, computed as O, watch as $, openBlock as c, createElementBlock as y, normalizeClass as d, createVNode as m, withCtx as v, createElementVNode as g, toDisplayString as k, createTextVNode as q, createBlock as b, createCommentVNode as p } from "vue";
2
- import { Flex as G, Button as H, Divider as J } from "ant-design-vue";
2
+ import { Flex as G, Button as H, Divider as J } from "@aplus-frontend/antdv";
3
3
  import N from "vuedraggable";
4
4
  import "../sortable/index.vue.mjs";
5
5
  import "../../../../config-provider/index.mjs";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as b, computed as x, unref as l, openBlock as c, createElementBlock as i, createVNode as s, withCtx as d, Fragment as m, renderList as w, createBlock as u, mergeProps as B, resolveDynamicComponent as I } from "vue";
2
- import { Row as L, Col as k, Checkbox as N } from "ant-design-vue";
2
+ import { Row as L, Col as k, Checkbox as N } from "@aplus-frontend/antdv";
3
3
  import "../select-group/index.vue.mjs";
4
4
  import { useInjectApTable as P } from "../../../context.mjs";
5
5
  import { cloneLabelNode as U } from "../utils.mjs";
@@ -1,4 +1,4 @@
1
- import { ColumnsType } from 'ant-design-vue/es/table';
1
+ import { ColumnsType } from '@aplus-frontend/antdv/es/table';
2
2
  import { ApColumnState, ApTableSettingDefaultValueType } from '../../interface';
3
3
  /**
4
4
  * 根据列状态重新生成表格列配置
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as n, computed as o, openBlock as u, createBlock as a, unref as m, normalizeProps as p, mergeProps as l, createCommentVNode as c } from "vue";
2
- import { Badge as s } from "ant-design-vue";
2
+ import { Badge as s } from "@aplus-frontend/antdv";
3
3
  const v = /* @__PURE__ */ n({
4
4
  name: "_ApTableStatus",
5
5
  __name: "index",