@aplus-frontend/ui 6.19.0 → 6.19.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 (316) hide show
  1. package/es/src/ap-action/group/index.vue.mjs +3 -3
  2. package/es/src/ap-action/item/index.vue2.mjs +5 -5
  3. package/es/src/ap-action/item-dropdown/index.vue.mjs +7 -7
  4. package/es/src/ap-action/item-modal/index.vue.mjs +2 -2
  5. package/es/src/ap-action/item-popconfirm/index.vue.d.ts +2 -31
  6. package/es/src/ap-action/item-popconfirm/index.vue.mjs +2 -2
  7. package/es/src/ap-button/ap-action-button.vue.mjs +7 -11
  8. package/es/src/ap-button/ap-button.vue.mjs +20 -24
  9. package/es/src/ap-button/ap-confirm-button.vue.mjs +11 -15
  10. package/es/src/ap-descriptions/ap-descriptions.vue.mjs +4 -4
  11. package/es/src/ap-descriptions/help-message/index.vue2.mjs +4 -4
  12. package/es/src/ap-download/ap-download.vue.mjs +18 -21
  13. package/es/src/ap-drawer/components/ApDrawerClose.vue2.mjs +2 -2
  14. package/es/src/ap-field/checkbox/index.vue.mjs +1 -1
  15. package/es/src/ap-field/date/index.vue.mjs +13 -13
  16. package/es/src/ap-field/date-range/index.vue.mjs +16 -16
  17. package/es/src/ap-field/index.mjs +36 -36
  18. package/es/src/ap-field/number/index.vue.d.ts +29 -29
  19. package/es/src/ap-field/number/index.vue.mjs +8 -8
  20. package/es/src/ap-field/radio/index.vue.mjs +1 -1
  21. package/es/src/ap-field/rate/index.vue.d.ts +4 -4
  22. package/es/src/ap-field/rate/index.vue.mjs +2 -2
  23. package/es/src/ap-field/segmented/index.vue.mjs +12 -17
  24. package/es/src/ap-field/select/index.vue.d.ts +97 -97
  25. package/es/src/ap-field/select/index.vue.mjs +10 -10
  26. package/es/src/ap-field/select/use-select-options.d.ts +2 -2
  27. package/es/src/ap-field/slider/index.vue.d.ts +8 -8
  28. package/es/src/ap-field/slider/index.vue.mjs +4 -4
  29. package/es/src/ap-field/switch/index.vue.mjs +3 -3
  30. package/es/src/ap-field/text/index.vue2.mjs +2 -2
  31. package/es/src/ap-field/text/password.vue.mjs +2 -2
  32. package/es/src/ap-field/text-area/index.vue.d.ts +54 -54
  33. package/es/src/ap-field/text-area/index.vue.mjs +12 -12
  34. package/es/src/ap-field/tree-select/index.vue.d.ts +93 -93
  35. package/es/src/ap-field/tree-select/index.vue.mjs +19 -19
  36. package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
  37. package/es/src/ap-form/ap-form.vue.d.ts +15 -14
  38. package/es/src/ap-form/ap-form.vue2.mjs +2 -2
  39. package/es/src/ap-form/drawer-form/index.vue.d.ts +19 -18
  40. package/es/src/ap-form/drawer-form/index.vue.mjs +9 -9
  41. package/es/src/ap-form/item/index.vue.mjs +7 -7
  42. package/es/src/ap-form/item-group/index.vue.mjs +1 -1
  43. package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
  44. package/es/src/ap-form/items/date/index.vue.mjs +2 -2
  45. package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
  46. package/es/src/ap-form/items/number/index.vue.d.ts +31 -31
  47. package/es/src/ap-form/items/number/index.vue.mjs +2 -2
  48. package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
  49. package/es/src/ap-form/items/select/index.vue.d.ts +107 -107
  50. package/es/src/ap-form/items/select/index.vue.mjs +2 -2
  51. package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
  52. package/es/src/ap-form/items/text/group.vue2.mjs +2 -2
  53. package/es/src/ap-form/items/text/index.vue.d.ts +3 -3
  54. package/es/src/ap-form/items/text/index.vue2.mjs +2 -2
  55. package/es/src/ap-form/items/text/password.vue.d.ts +3 -3
  56. package/es/src/ap-form/items/text/password.vue.mjs +2 -2
  57. package/es/src/ap-form/items/text-area/index.vue.d.ts +106 -106
  58. package/es/src/ap-form/items/text-area/index.vue.mjs +2 -2
  59. package/es/src/ap-form/items/tree-select/index.vue.d.ts +95 -95
  60. package/es/src/ap-form/items/tree-select/index.vue.mjs +2 -2
  61. package/es/src/ap-form/modal-form/index.vue.d.ts +20 -48
  62. package/es/src/ap-form/modal-form/index.vue.mjs +7 -7
  63. package/es/src/ap-form/render/item.vue.mjs +2 -2
  64. package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +10 -29
  65. package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +10 -10
  66. package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +23 -23
  67. package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.mjs +2 -2
  68. package/es/src/ap-form/search-form/index.vue.d.ts +19 -18
  69. package/es/src/ap-form/search-form/index.vue.mjs +1 -1
  70. package/es/src/ap-form/set/index.vue.mjs +1 -1
  71. package/es/src/ap-grid/editable/form-item.vue.d.ts +4 -2
  72. package/es/src/ap-grid/editable/form-item.vue.mjs +9 -9
  73. package/es/src/ap-grid/editable/index.vue.d.ts +4 -2
  74. package/es/src/ap-grid/editable/index.vue.mjs +3 -3
  75. package/es/src/ap-grid/index.vue.d.ts +4 -2
  76. package/es/src/ap-grid/index.vue.mjs +40 -40
  77. package/es/src/ap-list/index.vue.d.ts +4 -2
  78. package/es/src/ap-list/index.vue.mjs +1 -1
  79. package/es/src/ap-modal/utils/confirm.d.ts +1 -1
  80. package/es/src/ap-table/ap-table.vue.d.ts +4 -2
  81. package/es/src/ap-table/ap-table.vue2.mjs +14 -13
  82. package/es/src/ap-table/components/index/index.vue2.mjs +2 -2
  83. package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +3 -3
  84. package/es/src/ap-table/components/setting/modal/index.vue2.mjs +3 -3
  85. package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +1 -1
  86. package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +1 -1
  87. package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +1 -1
  88. package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +11 -11
  89. package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
  90. package/es/src/ap-table/components/status/index.vue2.mjs +2 -2
  91. package/es/src/ap-table/constants.d.ts +332 -332
  92. package/es/src/ap-table/constants.mjs +45 -45
  93. package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  94. package/es/src/ap-table/hooks/use-table-column-state.mjs +3 -3
  95. package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -8
  96. package/es/src/ap-tag/ap-tag.vue.mjs +30 -46
  97. package/es/src/ap-upload/apUpload.vue.mjs +5 -5
  98. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +3 -3
  99. package/es/src/ap-upload/components/MultipleFile.vue2.mjs +3 -3
  100. package/es/src/ap-upload/components/Picture.vue.d.ts +7 -2
  101. package/es/src/ap-upload/components/Picture.vue2.mjs +6 -6
  102. package/es/src/ap-upload/components/SingleFile.vue2.mjs +7 -7
  103. package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +1 -1
  104. package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +2 -2
  105. package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +6 -6
  106. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +9 -9
  107. package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +3 -4
  108. package/es/src/business/ap-batch-action-group/index.d.ts +11 -33
  109. package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
  110. package/es/src/business/ap-card/ApCard.vue2.mjs +9 -9
  111. package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +3 -2
  112. package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue2.mjs +212 -398
  113. package/es/src/business/ap-draggable-grid/constans.mjs +1 -1
  114. package/es/src/business/ap-draggable-grid/index.d.ts +5 -2
  115. package/es/src/business/ap-draggable-grid/interface.d.ts +3 -2
  116. package/es/src/business/ap-draggable-grid/utils/sortItemsByRowAndCol.d.ts +2 -0
  117. package/es/src/business/ap-draggable-grid/utils/sortItemsByRowAndCol.mjs +14 -0
  118. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
  119. package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +33 -33
  120. package/es/src/business/ap-expand-alert/index.d.ts +6 -4
  121. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +7 -7
  122. package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
  123. package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +2 -2
  124. package/es/src/business/ap-keep-alive/keep-alive.mjs +3 -3
  125. package/es/src/business/ap-ladder/components/RenderValue.mjs +2 -2
  126. package/es/src/business/ap-radio-group/ap-radio-group.vue2.mjs +1 -1
  127. package/es/src/business/ap-select-layout/index.d.ts +4 -2
  128. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
  129. package/es/src/business/ap-select-layout/select-layout.vue2.mjs +4 -4
  130. package/es/src/business/ap-status/ApStatus.vue2.mjs +8 -8
  131. package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +4 -4
  132. package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
  133. package/es/src/business/ap-table-modal/index.d.ts +5 -17
  134. package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
  135. package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +14 -14
  136. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +3 -3
  137. package/es/src/business/ap-title/ApTitle.vue2.mjs +7 -7
  138. package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +1 -1
  139. package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +2 -2
  140. package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +2 -2
  141. package/es/src/business/ap-view/ap-view.vue2.mjs +2 -2
  142. package/es/src/business/ap-view/components/main-button-content.vue.d.ts +11 -10
  143. package/es/src/business/ap-view/components/main-button-content.vue2.mjs +5 -5
  144. package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +11 -10
  145. package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +6 -6
  146. package/es/src/business/ap-view/icons/line-delete.vue.mjs +2 -2
  147. package/es/src/business/ap-view/icons/line-down.vue.mjs +2 -2
  148. package/es/src/business/ap-view/icons/line-eye.vue.mjs +2 -2
  149. package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
  150. package/es/src/business/batch-input-group/index.vue.d.ts +2 -2
  151. package/es/src/business/batch-input-group/index.vue.mjs +1 -1
  152. package/es/src/business/batch-input-group/popover-input/index.vue.d.ts +54 -54
  153. package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
  154. package/es/src/check-card/index.vue2.mjs +3 -3
  155. package/es/src/config-provider/config-provider-props.d.ts +5 -4
  156. package/es/src/config-provider/config-provider.d.ts +9 -8
  157. package/es/src/config-provider/hooks/use-global-config.d.ts +5 -4
  158. package/es/src/config-provider/hooks/use-namespace.d.ts +1 -5
  159. package/es/src/config-provider/index.d.ts +14 -13
  160. package/es/src/editable-table/form-item.vue.d.ts +4 -2
  161. package/es/src/editable-table/form-item.vue.mjs +38 -37
  162. package/es/src/editable-table/index.vue.d.ts +4 -2
  163. package/es/src/editable-table/index.vue.mjs +16 -15
  164. package/es/src/full-screen/index.vue.mjs +3 -3
  165. package/es/src/hooks/useFullScreen.mjs +5 -5
  166. package/es/src/mask/index.vue.mjs +10 -10
  167. package/es/src/portal/index.vue.mjs +2 -2
  168. package/es/src/scroll-bar/index.vue.mjs +3 -3
  169. package/es/src/scroll-bar/internal.vue.mjs +2 -2
  170. package/es/src/scroll-view/index.vue.d.ts +5 -5
  171. package/es/src/scroll-view/index.vue.mjs +9 -9
  172. package/es/src/splitter/Panel.vue2.mjs +4 -4
  173. package/es/src/splitter/SplitBar.vue2.mjs +7 -7
  174. package/es/src/splitter/Splitter.vue2.mjs +5 -5
  175. package/es/src/tests/wrapper.d.ts +4 -4
  176. package/es/src/text/group.vue.mjs +2 -2
  177. package/es/src/text/index.vue.mjs +5 -5
  178. package/es/src/utils/config-provider-preset.d.ts +6 -5
  179. package/es/src/version.d.ts +1 -1
  180. package/es/src/version.mjs +1 -1
  181. package/es/src/work-order-modal/help-message.vue2.mjs +2 -2
  182. package/es/src/work-order-modal/work-order-modal.vue.d.ts +11 -10
  183. package/es/src/work-order-modal/work-order-modal.vue.mjs +2 -2
  184. package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
  185. package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +2 -31
  186. package/lib/src/ap-button/ap-action-button.vue.js +1 -1
  187. package/lib/src/ap-button/ap-button.vue.js +1 -1
  188. package/lib/src/ap-button/ap-confirm-button.vue.js +1 -1
  189. package/lib/src/ap-download/ap-download.vue.js +1 -1
  190. package/lib/src/ap-field/date/index.vue.js +1 -1
  191. package/lib/src/ap-field/date-range/index.vue.js +1 -1
  192. package/lib/src/ap-field/index.js +1 -1
  193. package/lib/src/ap-field/number/index.vue.d.ts +29 -29
  194. package/lib/src/ap-field/rate/index.vue.d.ts +4 -4
  195. package/lib/src/ap-field/segmented/index.vue.js +1 -1
  196. package/lib/src/ap-field/select/index.vue.d.ts +97 -97
  197. package/lib/src/ap-field/select/index.vue.js +1 -1
  198. package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
  199. package/lib/src/ap-field/slider/index.vue.d.ts +8 -8
  200. package/lib/src/ap-field/text-area/index.vue.d.ts +54 -54
  201. package/lib/src/ap-field/text-area/index.vue.js +1 -1
  202. package/lib/src/ap-field/tree-select/index.vue.d.ts +93 -93
  203. package/lib/src/ap-field/tree-select/index.vue.js +1 -1
  204. package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
  205. package/lib/src/ap-form/ap-form.vue.d.ts +15 -14
  206. package/lib/src/ap-form/drawer-form/index.vue.d.ts +19 -18
  207. package/lib/src/ap-form/items/number/index.vue.d.ts +31 -31
  208. package/lib/src/ap-form/items/select/index.vue.d.ts +107 -107
  209. package/lib/src/ap-form/items/text/index.vue.d.ts +3 -3
  210. package/lib/src/ap-form/items/text/password.vue.d.ts +3 -3
  211. package/lib/src/ap-form/items/text-area/index.vue.d.ts +106 -106
  212. package/lib/src/ap-form/items/tree-select/index.vue.d.ts +95 -95
  213. package/lib/src/ap-form/modal-form/index.vue.d.ts +20 -48
  214. package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +10 -29
  215. package/lib/src/ap-form/search-form/index.vue.d.ts +19 -18
  216. package/lib/src/ap-grid/editable/form-item.vue.d.ts +4 -2
  217. package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
  218. package/lib/src/ap-grid/editable/index.vue.d.ts +4 -2
  219. package/lib/src/ap-grid/editable/index.vue.js +1 -1
  220. package/lib/src/ap-grid/index.vue.d.ts +4 -2
  221. package/lib/src/ap-grid/index.vue.js +1 -1
  222. package/lib/src/ap-list/index.vue.d.ts +4 -2
  223. package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
  224. package/lib/src/ap-table/ap-table.vue.d.ts +4 -2
  225. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  226. package/lib/src/ap-table/constants.d.ts +332 -332
  227. package/lib/src/ap-table/constants.js +1 -1
  228. package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  229. package/lib/src/ap-tag/ap-tag.vue.js +1 -1
  230. package/lib/src/ap-upload/apUpload.vue.js +1 -1
  231. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +3 -3
  232. package/lib/src/ap-upload/components/Picture.vue.d.ts +7 -2
  233. package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue2.js +1 -1
  234. package/lib/src/business/ap-batch-action-group/index.d.ts +11 -33
  235. package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +3 -2
  236. package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue2.js +1 -1
  237. package/lib/src/business/ap-draggable-grid/constans.js +1 -1
  238. package/lib/src/business/ap-draggable-grid/index.d.ts +5 -2
  239. package/lib/src/business/ap-draggable-grid/interface.d.ts +3 -2
  240. package/lib/src/business/ap-draggable-grid/utils/sortItemsByRowAndCol.d.ts +2 -0
  241. package/lib/src/business/ap-draggable-grid/utils/sortItemsByRowAndCol.js +1 -0
  242. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
  243. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
  244. package/lib/src/business/ap-expand-alert/index.d.ts +6 -4
  245. package/lib/src/business/ap-select-layout/index.d.ts +4 -2
  246. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
  247. package/lib/src/business/ap-table-modal/index.d.ts +5 -17
  248. package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +11 -10
  249. package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +11 -10
  250. package/lib/src/business/batch-input-group/index.vue.d.ts +2 -2
  251. package/lib/src/business/batch-input-group/popover-input/index.vue.d.ts +54 -54
  252. package/lib/src/config-provider/config-provider-props.d.ts +5 -4
  253. package/lib/src/config-provider/config-provider.d.ts +9 -8
  254. package/lib/src/config-provider/hooks/use-global-config.d.ts +5 -4
  255. package/lib/src/config-provider/hooks/use-namespace.d.ts +1 -5
  256. package/lib/src/config-provider/index.d.ts +14 -13
  257. package/lib/src/editable-table/form-item.vue.d.ts +4 -2
  258. package/lib/src/editable-table/form-item.vue.js +1 -1
  259. package/lib/src/editable-table/index.vue.d.ts +4 -2
  260. package/lib/src/editable-table/index.vue.js +1 -1
  261. package/lib/src/scroll-view/index.vue.d.ts +5 -5
  262. package/lib/src/tests/wrapper.d.ts +4 -4
  263. package/lib/src/utils/config-provider-preset.d.ts +6 -5
  264. package/lib/src/version.d.ts +1 -1
  265. package/lib/src/version.js +1 -1
  266. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +11 -10
  267. package/package.json +1 -1
  268. package/theme/antd-global-overwrite/admin/alert.css +37 -0
  269. package/theme/antd-global-overwrite/admin/alert.less +51 -0
  270. package/theme/antd-global-overwrite/admin/button.css +27 -0
  271. package/theme/antd-global-overwrite/admin/button.less +31 -0
  272. package/theme/antd-global-overwrite/admin/field.css +42 -0
  273. package/theme/antd-global-overwrite/admin/field.less +43 -0
  274. package/theme/antd-global-overwrite/admin/form.css +57 -0
  275. package/theme/antd-global-overwrite/admin/form.less +97 -0
  276. package/theme/antd-global-overwrite/admin/message.css +10 -0
  277. package/theme/antd-global-overwrite/admin/message.less +13 -0
  278. package/theme/antd-global-overwrite/admin/modal.css +94 -0
  279. package/theme/antd-global-overwrite/admin/modal.less +128 -0
  280. package/theme/antd-global-overwrite/admin/pagination.css +122 -0
  281. package/theme/antd-global-overwrite/admin/pagination.less +91 -0
  282. package/theme/antd-global-overwrite/admin/steps.css +127 -0
  283. package/theme/antd-global-overwrite/admin/steps.less +197 -0
  284. package/theme/antd-global-overwrite/admin/table.css +78 -0
  285. package/theme/antd-global-overwrite/admin/table.less +62 -0
  286. package/theme/antd-global-overwrite/admin/tooltip.css +3 -0
  287. package/theme/antd-global-overwrite/admin/tooltip.less +3 -0
  288. package/theme/antd-global-overwrite/aplus/alert.css +40 -0
  289. package/theme/antd-global-overwrite/aplus/alert.less +55 -0
  290. package/theme/antd-global-overwrite/aplus/button.css +27 -0
  291. package/theme/antd-global-overwrite/aplus/button.less +31 -0
  292. package/theme/antd-global-overwrite/aplus/field.css +42 -0
  293. package/theme/antd-global-overwrite/aplus/field.less +43 -0
  294. package/theme/antd-global-overwrite/aplus/form.css +87 -0
  295. package/theme/antd-global-overwrite/aplus/form.less +133 -0
  296. package/theme/antd-global-overwrite/aplus/message.css +10 -0
  297. package/theme/antd-global-overwrite/aplus/message.less +13 -0
  298. package/theme/antd-global-overwrite/aplus/modal.css +87 -0
  299. package/theme/antd-global-overwrite/aplus/modal.less +120 -0
  300. package/theme/antd-global-overwrite/aplus/pagination.css +147 -0
  301. package/theme/antd-global-overwrite/aplus/pagination.less +108 -0
  302. package/theme/antd-global-overwrite/aplus/steps.css +125 -0
  303. package/theme/antd-global-overwrite/aplus/steps.less +198 -0
  304. package/theme/antd-global-overwrite/aplus/table.css +78 -0
  305. package/theme/antd-global-overwrite/aplus/table.less +61 -0
  306. package/theme/antd-global-overwrite/aplus/tooltip.css +3 -0
  307. package/theme/antd-global-overwrite/aplus/tooltip.less +3 -0
  308. package/theme/ap-draggable-grid/ap-draggable-grid.css +3 -3
  309. package/theme/ap-draggable-grid/ap-draggable-grid.less +3 -4
  310. package/theme/ap-table/ap-table-pagination.css +12 -0
  311. package/theme/ap-table/ap-table-pagination.less +14 -0
  312. package/theme/ap-tag/ap-tag.css +4 -3
  313. package/theme/ap-tag/ap-tag.less +4 -3
  314. package/theme/index.css +7 -6
  315. package/theme/ui-mode.css +60 -0
  316. package/theme/ui-mode.less +109 -0
@@ -1,15 +1,15 @@
1
- import { defineComponent as A, ref as c, unref as n, useSlots as O, toRef as G, watch as H, nextTick as U, createBlock as W, openBlock as $, mergeProps as h, withCtx as w, createVNode as q, createSlots as J, renderList as Q, renderSlot as X, normalizeProps as Y, guardReactiveProps as Z } from "vue";
1
+ import { defineComponent as A, ref as c, unref as f, useSlots as O, toRef as G, watch as H, nextTick as U, openBlock as W, createBlock as $, mergeProps as h, withCtx as g, createVNode as q, createSlots as J, renderList as Q, renderSlot as X, normalizeProps as Y, guardReactiveProps as Z } from "vue";
2
2
  import { Table as I } from "@aplus-frontend/antdv";
3
- import { ApForm as x } from "../ap-form/index.mjs";
4
- import { isUndefined as M, isNumber as i, cloneDeep as ee, isArray as oe, omit as g } from "lodash-unified";
3
+ import { ApForm as w } from "../ap-form/index.mjs";
4
+ import { isUndefined as M, isNumber as i, cloneDeep as ee, isArray as oe, omit as x } from "lodash-unified";
5
5
  import "../config-provider/index.mjs";
6
6
  import { useInjectForm as te } from "../ap-form/context.mjs";
7
7
  import { isDef as y } from "../utils/index.mjs";
8
8
  import ae from "./hooks/use-get-columns.mjs";
9
9
  import { scrollToRowIndex as le } from "./utils.mjs";
10
10
  import { getModelValue as ue } from "../ap-form/utils/get.mjs";
11
- import { useNamespace as se } from "../config-provider/hooks/use-namespace.mjs";
12
- import { useGlobalConfig as fe } from "../config-provider/hooks/use-global-config.mjs";
11
+ import { useNamespace as ne } from "../config-provider/hooks/use-namespace.mjs";
12
+ import { useGlobalConfig as se } from "../config-provider/hooks/use-global-config.mjs";
13
13
  const be = /* @__PURE__ */ A({
14
14
  name: "EditableTableFormItem",
15
15
  __name: "form-item",
@@ -44,6 +44,7 @@ const be = /* @__PURE__ */ A({
44
44
  },
45
45
  prefixCls: {},
46
46
  rowKey: {
47
+ type: [String, Function],
47
48
  default: "key"
48
49
  },
49
50
  tableLayout: {
@@ -116,7 +117,7 @@ const be = /* @__PURE__ */ A({
116
117
  const l = b, {
117
118
  internalInstance: o,
118
119
  model: R
119
- } = te(), d = c(ue(n(R), l.name) || []), B = O(), F = G(l, "name"), v = x.useWatch(F);
120
+ } = te(), d = c(ue(f(R), l.name) || []), B = O(), F = G(l, "name"), v = w.useWatch(F);
120
121
  H(() => v.value, async (e) => {
121
122
  var a;
122
123
  await U(), d.value = e, (a = l.onChange) == null || a.call(l, e);
@@ -125,27 +126,27 @@ const be = /* @__PURE__ */ A({
125
126
  });
126
127
  const {
127
128
  b: T
128
- } = se("editable-table"), p = c(), D = fe("valueTypeMap"), V = ae(l, D);
129
- function L(e, a) {
129
+ } = ne("editable-table"), p = c(), D = se("valueTypeMap"), S = ae(l, D);
130
+ function V(e, a) {
130
131
  var u;
131
- const s = ((u = n(d)) == null ? void 0 : u.length) || 0;
132
- if (y(l.maxLength) && s >= l.maxLength)
132
+ const n = ((u = f(d)) == null ? void 0 : u.length) || 0;
133
+ if (y(l.maxLength) && n >= l.maxLength)
133
134
  return;
134
135
  const t = {
135
136
  ...e || {}
136
137
  };
137
- o == null || o.setFieldValue(l.name, t, !0, (f, r) => {
138
- if (!f[r]) {
139
- f[r] = [t];
138
+ o == null || o.setFieldValue(l.name, t, !0, (s, r) => {
139
+ if (!s[r]) {
140
+ s[r] = [t];
140
141
  return;
141
142
  }
142
- M(a) ? f[r].push(t) : f[r].splice(a, 0, t);
143
+ M(a) ? s[r].push(t) : s[r].splice(a, 0, t);
143
144
  });
144
145
  }
145
- function S(e, a = "suffix") {
146
- var f;
147
- const s = ((f = n(d)) == null ? void 0 : f.length) || 0, t = i(e) ? e : e.length;
148
- if (y(l.maxLength) && s + t > l.maxLength)
146
+ function L(e, a = "suffix") {
147
+ var s;
148
+ const n = ((s = f(d)) == null ? void 0 : s.length) || 0, t = i(e) ? e : e.length;
149
+ if (y(l.maxLength) && n + t > l.maxLength)
149
150
  return;
150
151
  const u = i(e) ? new Array(e).fill(0).map(() => ({})) : ee(e);
151
152
  o == null || o.setFieldValue(l.name, u, !0, (r, m) => {
@@ -158,28 +159,28 @@ const be = /* @__PURE__ */ A({
158
159
  }
159
160
  function N(e) {
160
161
  const a = new Set(i(e) ? [e] : e);
161
- o == null || o.setFieldValue(l.name, void 0, !0, (s, t) => {
162
- s[t] = s[t].filter((u, f) => !a.has(f));
162
+ o == null || o.setFieldValue(l.name, void 0, !0, (n, t) => {
163
+ n[t] = n[t].filter((u, s) => !a.has(s));
163
164
  });
164
165
  }
165
166
  function E(e) {
166
- var s;
167
+ var n;
167
168
  const a = new Set(oe(e) ? e : [e]);
168
- a.size !== 0 && ((s = o == null ? void 0 : o.setFieldValue) == null || s.call(o, l.name, void 0, !0, (t, u) => {
169
- t[u] = t[u].filter((f) => !a.has(f[l.rowKey]));
169
+ a.size !== 0 && ((n = o == null ? void 0 : o.setFieldValue) == null || n.call(o, l.name, void 0, !0, (t, u) => {
170
+ t[u] = t[u].filter((s) => !a.has(s[l.rowKey]));
170
171
  }));
171
172
  }
172
173
  function _() {
173
- return n(d);
174
+ return f(d);
174
175
  }
175
176
  function k(e) {
176
177
  var a;
177
- return (a = n(d)) == null ? void 0 : a[e];
178
+ return (a = f(d)) == null ? void 0 : a[e];
178
179
  }
179
- function j(e, a, s = !0) {
180
+ function j(e, a, n = !0) {
180
181
  o == null || o.setFieldValue(l.name, void 0, !0, (t, u) => {
181
182
  !t[u] || !t[u][e] || (t[u][e] = {
182
- ...s ? t[u][e] : {},
183
+ ...n ? t[u][e] : {},
183
184
  ...a
184
185
  });
185
186
  });
@@ -189,39 +190,39 @@ const be = /* @__PURE__ */ A({
189
190
  }
190
191
  function K(e, a) {
191
192
  var t;
192
- const s = e === "end" ? d.value.length - 1 : e;
193
- le(s, (t = p.value) == null ? void 0 : t.$el, a);
193
+ const n = e === "end" ? d.value.length - 1 : e;
194
+ le(n, (t = p.value) == null ? void 0 : t.$el, a);
194
195
  }
195
196
  function P() {
196
197
  var e;
197
198
  (e = o == null ? void 0 : o.setFieldValue) == null || e.call(o, l.name, []);
198
199
  }
199
200
  return C({
200
- add: L,
201
+ add: V,
201
202
  remove: N,
202
203
  getRowData: k,
203
204
  getRowsData: _,
204
205
  setRowData: j,
205
- addMultiple: S,
206
+ addMultiple: L,
206
207
  scrollTo: K,
207
208
  setTableData: z,
208
209
  clear: P,
209
210
  removeByKey: E
210
- }), (e, a) => ($(), W(n(x).FormItem, h(e.formItem, {
211
+ }), (e, a) => (W(), $(f(w).FormItem, h(e.formItem, {
211
212
  name: e.name,
212
213
  label: e.label
213
214
  }), {
214
- default: w(() => [q(n(I), h(n(g)(l, ["name", "maxLength", "onChange"]), {
215
+ default: g(() => [q(f(I), h(f(x)(l, ["name", "maxLength", "onChange"]), {
215
216
  ref_key: "tableRef",
216
217
  ref: p,
217
- class: n(T)(),
218
- columns: n(V),
218
+ class: f(T)(),
219
+ columns: f(S),
219
220
  "data-source": d.value
220
221
  }), J({
221
222
  _: 2
222
- }, [Q(n(g)(B, ["headerCell"]), (s, t) => ({
223
+ }, [Q(f(x)(B, ["headerCell"]), (n, t) => ({
223
224
  name: t,
224
- fn: w((u) => [X(e.$slots, t, Y(Z(u || {})))])
225
+ fn: g((u) => [X(e.$slots, t, Y(Z(u || {})))])
225
226
  }))]), 1040, ["class", "columns", "data-source"])]),
226
227
  _: 3
227
228
  }, 16, ["name", "label"]));
@@ -1,6 +1,6 @@
1
1
  import { EditableTableProps, EditableColumnType, EditableTableExpose } from './interface';
2
2
  import { Recordable } from '../type';
3
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
4
4
  declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
5
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
6
6
  readonly "onUpdate:value"?: ((...args: any[]) => any) | undefined;
@@ -39,7 +39,9 @@ declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNu
39
39
  }) => void;
40
40
  };
41
41
  emit: (event: "update:value", ...args: any[]) => void;
42
- }>) => VNode & {
42
+ }>) => VNode<RendererNode, RendererElement, {
43
+ [key: string]: any;
44
+ }> & {
43
45
  __ctx?: Awaited<typeof __VLS_setup>;
44
46
  };
45
47
  export default _default;
@@ -1,7 +1,7 @@
1
- import { defineComponent as q, useSlots as J, ref as y, watch as C, unref as r, createBlock as Q, openBlock as X, withCtx as h, createVNode as b, mergeProps as Y, createSlots as Z, renderList as M, renderSlot as ee, normalizeProps as te, guardReactiveProps as ae } from "vue";
1
+ import { defineComponent as q, useSlots as J, ref as w, watch as C, unref as r, openBlock as Q, createBlock as X, withCtx as h, createVNode as b, mergeProps as Y, createSlots as Z, renderList as M, renderSlot as ee, normalizeProps as te, guardReactiveProps as ae } from "vue";
2
2
  import { Table as ne } from "@aplus-frontend/antdv";
3
3
  import { ApForm as x } from "../ap-form/index.mjs";
4
- import { isEqual as oe, isArray as v, isUndefined as le, isNumber as g, cloneDeep as ue, omit as R } from "lodash-unified";
4
+ import { isEqual as oe, isArray as g, isUndefined as le, isNumber as v, cloneDeep as ue, omit as R } from "lodash-unified";
5
5
  import "../config-provider/index.mjs";
6
6
  import "../hooks/index.mjs";
7
7
  import { isDef as F } from "../utils/index.mjs";
@@ -44,6 +44,7 @@ const Fe = /* @__PURE__ */ q({
44
44
  },
45
45
  prefixCls: {},
46
46
  rowKey: {
47
+ type: [String, Function],
47
48
  default: "key"
48
49
  },
49
50
  tableLayout: {
@@ -114,11 +115,11 @@ const Fe = /* @__PURE__ */ q({
114
115
  emit: T
115
116
  }) {
116
117
  const o = B, {
117
- b: D
118
- } = ie("editable-table"), L = J(), S = T, w = y(), {
118
+ b: S
119
+ } = ie("editable-table"), D = J(), L = T, y = w(), {
119
120
  value: m,
120
121
  updateValue: _
121
- } = fe(o, S), i = y(), E = de("valueTypeMap"), c = x.useWatch(o.name, i);
122
+ } = fe(o, L), i = w(), E = de("valueTypeMap"), c = x.useWatch(o.name, i);
122
123
  C(() => c.value, (e) => {
123
124
  var t;
124
125
  _(e), (t = o.onChange) == null || t.call(o, e);
@@ -137,7 +138,7 @@ const Fe = /* @__PURE__ */ q({
137
138
  (e = i.value) == null || e.resetFields();
138
139
  }
139
140
  function A(e) {
140
- return e ? (v(e) ? e : [e]).map((a) => v(a) ? [o.name, ...a] : [o.name, a]) : void 0;
141
+ return e ? (g(e) ? e : [e]).map((a) => g(a) ? [o.name, ...a] : [o.name, a]) : void 0;
141
142
  }
142
143
  async function z(e, t) {
143
144
  var n;
@@ -162,10 +163,10 @@ const Fe = /* @__PURE__ */ q({
162
163
  }
163
164
  function K(e, t = "suffix") {
164
165
  var u, s, f;
165
- const a = ((u = r(m)) == null ? void 0 : u.length) || 0, n = g(e) ? e : e.length;
166
+ const a = ((u = r(m)) == null ? void 0 : u.length) || 0, n = v(e) ? e : e.length;
166
167
  if (F(o.maxLength) && a + n > o.maxLength)
167
168
  return;
168
- const l = g(e) ? new Array(e).fill(0).map(() => ({})) : ue(e);
169
+ const l = v(e) ? new Array(e).fill(0).map(() => ({})) : ue(e);
169
170
  (f = (s = i.value) == null ? void 0 : s.setFieldValue) == null || f.call(s, o.name, l, !0, (d, p) => {
170
171
  if (!d[p]) {
171
172
  d[p] = [...l];
@@ -176,14 +177,14 @@ const Fe = /* @__PURE__ */ q({
176
177
  }
177
178
  function P(e) {
178
179
  var a, n;
179
- const t = new Set(g(e) ? [e] : e);
180
+ const t = new Set(v(e) ? [e] : e);
180
181
  (n = (a = i.value) == null ? void 0 : a.setFieldValue) == null || n.call(a, o.name, void 0, !0, (l, u) => {
181
182
  l[u] = l[u].filter((s, f) => !t.has(f));
182
183
  });
183
184
  }
184
185
  function j(e) {
185
186
  var a, n;
186
- const t = new Set(v(e) ? e : [e]);
187
+ const t = new Set(g(e) ? e : [e]);
187
188
  t.size !== 0 && ((n = (a = i.value) == null ? void 0 : a.setFieldValue) == null || n.call(a, o.name, void 0, !0, (l, u) => {
188
189
  l[u] = l[u].filter((s) => !t.has(s[o.rowKey]));
189
190
  }));
@@ -211,7 +212,7 @@ const Fe = /* @__PURE__ */ q({
211
212
  function W(e, t) {
212
213
  var n;
213
214
  const a = e === "end" ? m.value.length - 1 : e;
214
- se(a, (n = w.value) == null ? void 0 : n.$el, t);
215
+ se(a, (n = y.value) == null ? void 0 : n.$el, t);
215
216
  }
216
217
  function $() {
217
218
  var e, t;
@@ -230,7 +231,7 @@ const Fe = /* @__PURE__ */ q({
230
231
  clear: $,
231
232
  setTableData: U,
232
233
  removeByKey: j
233
- }), (e, t) => (X(), Q(r(x), {
234
+ }), (e, t) => (Q(), X(r(x), {
234
235
  ref_key: "formRef",
235
236
  ref: i,
236
237
  "initial-values": {
@@ -243,13 +244,13 @@ const Fe = /* @__PURE__ */ q({
243
244
  }, {
244
245
  default: h(() => [b(r(ne), Y(r(R)(o, ["name", "value", "onUpdate:value", "maxLength", "onChange"]), {
245
246
  ref_key: "tableRef",
246
- ref: w,
247
- class: r(D)(),
247
+ ref: y,
248
+ class: r(S)(),
248
249
  columns: r(N),
249
250
  "data-source": r(m)
250
251
  }), Z({
251
252
  _: 2
252
- }, [M(r(R)(L, ["headerCell"]), (a, n) => ({
253
+ }, [M(r(R)(D, ["headerCell"]), (a, n) => ({
253
254
  name: n,
254
255
  fn: h((l) => [ee(e.$slots, n, te(ae(l || {})))])
255
256
  }))]), 1040, ["class", "columns", "data-source"])]),
@@ -1,4 +1,4 @@
1
- import { defineComponent as R, ref as i, watch as E, unref as a, computed as n, createBlock as d, openBlock as m, withCtx as v, resolveDynamicComponent as z, mergeProps as C, renderSlot as F, createElementVNode as N, normalizeClass as S } from "vue";
1
+ import { defineComponent as R, ref as i, watch as E, unref as a, computed as n, openBlock as d, createBlock as m, withCtx as v, resolveDynamicComponent as z, mergeProps as C, renderSlot as F, createElementVNode as N, normalizeClass as S } from "vue";
2
2
  import "../hooks/index.mjs";
3
3
  import "../portal/index.mjs";
4
4
  import "../config-provider/index.mjs";
@@ -44,12 +44,12 @@ const H = /* @__PURE__ */ R({
44
44
  enter: r,
45
45
  exit: s,
46
46
  toggle: c
47
- }), (e, o) => (m(), d(a(B), {
47
+ }), (e, o) => (d(), m(a(B), {
48
48
  to: e.to,
49
49
  disabled: l.value !== "window"
50
50
  }, {
51
51
  default: v(() => [
52
- (m(), d(z(e.wrapperElementName), C({
52
+ (d(), m(z(e.wrapperElementName), C({
53
53
  ref_key: "target",
54
54
  ref: f
55
55
  }, e.$attrs, {
@@ -1,5 +1,5 @@
1
1
  import { isClient as d } from "@vueuse/core";
2
- import { ref as c, computed as f, isRef as v, unref as u, watch as p } from "vue";
2
+ import { computed as c, unref as u, isRef as v, ref as f, watch as p } from "vue";
3
3
  const a = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new Set();
4
4
  d && document.addEventListener("fullscreenchange", () => {
5
5
  if (o.forEach((e) => e.value = !1), document.fullscreenElement) {
@@ -9,13 +9,13 @@ d && document.addEventListener("fullscreenchange", () => {
9
9
  e && (e.value = !0);
10
10
  }
11
11
  });
12
- const E = (e = c(null)) => {
13
- const i = f({
12
+ const E = (e = f(null)) => {
13
+ const i = c({
14
14
  get: () => u(e),
15
15
  set: (t) => {
16
16
  v(e) && (e.value = t);
17
17
  }
18
- }), l = c(!1);
18
+ }), l = f(!1);
19
19
  o.add(l), p(
20
20
  () => e.value,
21
21
  (t, n) => {
@@ -40,7 +40,7 @@ const E = (e = c(null)) => {
40
40
  }
41
41
  return {
42
42
  target: i,
43
- full: f(() => u(l)),
43
+ full: c(() => u(l)),
44
44
  enter: r,
45
45
  exit: s,
46
46
  toggle: m
@@ -1,4 +1,4 @@
1
- import { defineComponent as V, ref as m, watch as v, watchEffect as _, onMounted as g, onUnmounted as O, createBlock as x, createCommentVNode as r, openBlock as y, Teleport as P, createElementVNode as d, normalizeStyle as k, unref as o, normalizeClass as i, createVNode as C, Transition as b, withCtx as h, createElementBlock as T, renderSlot as B } from "vue";
1
+ import { defineComponent as V, ref as m, watch as v, watchEffect as _, onMounted as g, onUnmounted as O, openBlock as y, createBlock as x, Teleport as P, createElementVNode as r, normalizeClass as d, unref as o, normalizeStyle as k, createVNode as C, Transition as b, withCtx as h, createElementBlock as T, renderSlot as B, createCommentVNode as i } from "vue";
2
2
  import "../hooks/index.mjs";
3
3
  import "../config-provider/index.mjs";
4
4
  import { getMaskZIndex as U, lockScrollable as $ } from "./utils.mjs";
@@ -69,10 +69,10 @@ const J = /* @__PURE__ */ V({
69
69
  key: 0,
70
70
  to: "body"
71
71
  }, [
72
- d("div", {
72
+ r("div", {
73
73
  ref_key: "wrapper",
74
74
  ref: p,
75
- class: i(o(z)()),
75
+ class: d(o(z)()),
76
76
  style: k({ zIndex: o(N), visibility: l.value ? void 0 : "hidden" })
77
77
  }, [
78
78
  C(b, {
@@ -83,19 +83,19 @@ const J = /* @__PURE__ */ V({
83
83
  default: h(() => [
84
84
  o(a) ? (y(), T("div", {
85
85
  key: 0,
86
- class: i([o(u)("mask"), { [o(I)("mask", "disabled")]: e.disabled }]),
86
+ class: d([o(u)("mask"), { [o(I)("mask", "disabled")]: e.disabled }]),
87
87
  onClick: M
88
88
  }, [
89
89
  B(e.$slots, "mask", {}, () => [
90
- d("div", {
91
- class: i(o(u)("mask-inner"))
90
+ r("div", {
91
+ class: d(o(u)("mask-inner"))
92
92
  }, null, 2)
93
93
  ])
94
- ], 2)) : r("", !0)
94
+ ], 2)) : i("", !0)
95
95
  ]),
96
96
  _: 3
97
97
  }, 8, ["name"]),
98
- d("div", {
98
+ r("div", {
99
99
  style: k(e.contentStyle)
100
100
  }, [
101
101
  C(b, {
@@ -103,13 +103,13 @@ const J = /* @__PURE__ */ V({
103
103
  name: o(c)()
104
104
  }, {
105
105
  default: h(() => [
106
- o(a) ? B(e.$slots, "default", { key: 0 }) : r("", !0)
106
+ o(a) ? B(e.$slots, "default", { key: 0 }) : i("", !0)
107
107
  ]),
108
108
  _: 3
109
109
  }, 8, ["name"])
110
110
  ], 4)
111
111
  ], 6)
112
- ])) : r("", !0);
112
+ ])) : i("", !0);
113
113
  }
114
114
  });
115
115
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as r, createBlock as n, openBlock as p, Teleport as a, mergeProps as l, renderSlot as s } from "vue";
1
+ import { defineComponent as r, openBlock as n, createBlock as p, Teleport as a, mergeProps as l, renderSlot as s } from "vue";
2
2
  const m = /* @__PURE__ */ r({
3
3
  name: "Portal",
4
4
  __name: "index",
@@ -9,7 +9,7 @@ const m = /* @__PURE__ */ r({
9
9
  },
10
10
  setup(o) {
11
11
  const t = o;
12
- return (e, d) => (p(), n(a, l(t, {
12
+ return (e, d) => (n(), p(a, l(t, {
13
13
  to: e.to || "body"
14
14
  }), [
15
15
  s(e.$slots, "default")
@@ -1,4 +1,4 @@
1
- import { defineComponent as z, toRef as g, ref as p, watchEffect as x, unref as a, watch as _, computed as s, createBlock as k, createCommentVNode as C, openBlock as B, mergeProps as L } from "vue";
1
+ import { defineComponent as z, toRef as g, ref as p, watchEffect as x, unref as a, watch as _, computed as s, openBlock as k, createBlock as C, mergeProps as B, createCommentVNode as L } from "vue";
2
2
  import "./internal.vue2.mjs";
3
3
  import { omit as R } from "lodash-unified";
4
4
  import { getScrollable as u, ensureRangeValue as w } from "./utils/index.mjs";
@@ -79,14 +79,14 @@ const W = /* @__PURE__ */ z({
79
79
  var e;
80
80
  return a((e = l.value) == null ? void 0 : e.container);
81
81
  })
82
- }), (e, t) => n.value !== 100 ? (B(), k(E, L({
82
+ }), (e, t) => n.value !== 100 ? (k(), C(E, B({
83
83
  key: 0,
84
84
  ref_key: "barRef",
85
85
  ref: l
86
86
  }, a(R)(r, ["onScroll", "extraSize", "scrollContainer"]), {
87
87
  "bar-length": n.value,
88
88
  onScroll: d
89
- }), null, 16, ["bar-length"])) : C("", !0);
89
+ }), null, 16, ["bar-length"])) : L("", !0);
90
90
  }
91
91
  });
92
92
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as V, ref as f, toRef as h, watch as W, watchEffect as z, unref as o, createElementBlock as A, openBlock as N, normalizeStyle as U, normalizeClass as m, createElementVNode as L } from "vue";
1
+ import { defineComponent as V, ref as f, toRef as h, watch as W, watchEffect as z, unref as o, openBlock as A, createElementBlock as N, normalizeClass as m, normalizeStyle as U, createElementVNode as L } from "vue";
2
2
  import "../config-provider/index.mjs";
3
3
  import { useTrack as X } from "./hooks/use-track.mjs";
4
4
  import { ensureRangeValue as C } from "./utils/index.mjs";
@@ -88,7 +88,7 @@ const I = /* @__PURE__ */ V({
88
88
  bar: l,
89
89
  track: c,
90
90
  scroll: $
91
- }), (e, n) => (N(), A("div", {
91
+ }), (e, n) => (A(), N("div", {
92
92
  ref_key: "container",
93
93
  ref: k,
94
94
  class: m([o(B)(), o(P)(e.direction)]),
@@ -1,5 +1,5 @@
1
1
  import { ScrollOptions, ScrollViewProps } from './interface';
2
- import { ScrollBarDirection, InternalScrollBarProps } from '../scroll-bar';
2
+ import { ScrollBarDirection, InternalScrollBarProps, ColorType } from '../scroll-bar';
3
3
  import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent, ComputedRef } from 'vue';
4
4
  declare function scroll(x?: number, y?: number): void;
5
5
  declare function scrollTo({ smooth, left, top }: ScrollOptions): void;
@@ -106,8 +106,8 @@ declare const __VLS_component: DefineComponent<ScrollViewProps, {
106
106
  onScroll?: ((percent: number) => void) | undefined;
107
107
  disabled?: boolean | undefined;
108
108
  trackSpeed?: number | undefined;
109
- barColor?: import("csstype").Property.BackgroundColor | undefined;
110
- trackColor?: import("csstype").Property.BackgroundColor | undefined;
109
+ barColor?: ColorType;
110
+ trackColor?: ColorType;
111
111
  trackWidth?: number | undefined;
112
112
  showTrack?: boolean | undefined;
113
113
  onScrollStart?: ((percent: number) => void) | undefined;
@@ -118,8 +118,8 @@ declare const __VLS_component: DefineComponent<ScrollViewProps, {
118
118
  onScroll?: ((percent: number) => void) | undefined;
119
119
  disabled?: boolean | undefined;
120
120
  trackSpeed?: number | undefined;
121
- barColor?: import("csstype").Property.BackgroundColor | undefined;
122
- trackColor?: import("csstype").Property.BackgroundColor | undefined;
121
+ barColor?: ColorType;
122
+ trackColor?: ColorType;
123
123
  trackWidth?: number | undefined;
124
124
  showTrack?: boolean | undefined;
125
125
  onScrollStart?: ((percent: number) => void) | undefined;
@@ -1,4 +1,4 @@
1
- import { defineComponent as fe, ref as ue, reactive as he, computed as v, unref as l, watchEffect as _, watch as pe, createElementBlock as ye, openBlock as P, withModifiers as M, normalizeStyle as A, normalizeClass as B, createElementVNode as z, renderSlot as me, createBlock as L, createCommentVNode as O, mergeProps as T } from "vue";
1
+ import { defineComponent as fe, ref as ue, reactive as he, computed as v, unref as l, watchEffect as _, watch as pe, openBlock as P, createElementBlock as ye, normalizeClass as B, normalizeStyle as M, withModifiers as A, createElementVNode as z, renderSlot as me, createBlock as L, mergeProps as O, createCommentVNode as T } from "vue";
2
2
  import "../config-provider/index.mjs";
3
3
  import "../scroll-bar/index.mjs";
4
4
  import { isDef as f } from "../utils/index.mjs";
@@ -206,10 +206,10 @@ const Ye = /* @__PURE__ */ fe({
206
206
  ref_key: "containerRef",
207
207
  ref: s,
208
208
  class: B(l(J)()),
209
- style: A(oe.value),
209
+ style: M(oe.value),
210
210
  onWheel: [
211
- M(ae, ["exact"]),
212
- M(le, ["shift"])
211
+ A(ae, ["exact"]),
212
+ A(le, ["shift"])
213
213
  ]
214
214
  }, [
215
215
  z("div", {
@@ -221,21 +221,21 @@ const Ye = /* @__PURE__ */ fe({
221
221
  ], 2),
222
222
  z("div", {
223
223
  class: B([l(w)("bar-wrapper"), l(W)("bar-wrapper", "vertical")]),
224
- style: A(`height: calc(100% - ${m.value ? t.xBarProps.trackWidth || 10 : 0}px)`)
224
+ style: M(`height: calc(100% - ${m.value ? t.xBarProps.trackWidth || 10 : 0}px)`)
225
225
  }, [
226
- x.value ? (P(), L(l(H), T({
226
+ x.value ? (P(), L(l(H), O({
227
227
  key: 0,
228
228
  ref_key: "yBarRef",
229
229
  ref: Q
230
230
  }, t.yBarProps, {
231
231
  "bar-length": c.y,
232
232
  onScroll: e[0] || (e[0] = (a) => X(a, "vertical"))
233
- }), null, 16, ["bar-length"])) : O("", !0)
233
+ }), null, 16, ["bar-length"])) : T("", !0)
234
234
  ], 6),
235
235
  z("div", {
236
236
  class: B([l(w)("bar-wrapper"), l(W)("bar-wrapper", "horizontal")])
237
237
  }, [
238
- m.value ? (P(), L(l(H), T({
238
+ m.value ? (P(), L(l(H), O({
239
239
  key: 0,
240
240
  ref_key: "xBarRef",
241
241
  ref: K
@@ -243,7 +243,7 @@ const Ye = /* @__PURE__ */ fe({
243
243
  direction: "horizontal",
244
244
  "bar-length": c.x,
245
245
  onScroll: e[1] || (e[1] = (a) => X(a, "horizontal"))
246
- }), null, 16, ["bar-length"])) : O("", !0)
246
+ }), null, 16, ["bar-length"])) : T("", !0)
247
247
  ], 2)
248
248
  ], 38));
249
249
  }
@@ -1,4 +1,4 @@
1
- import { defineComponent as n, computed as r, createElementBlock as i, openBlock as p, normalizeStyle as m, normalizeClass as c, unref as s, renderSlot as u } from "vue";
1
+ import { defineComponent as n, computed as r, openBlock as i, createElementBlock as p, normalizeClass as m, unref as s, normalizeStyle as c, renderSlot as u } from "vue";
2
2
  import "../config-provider/index.mjs";
3
3
  import { useNamespace as d } from "../config-provider/hooks/use-namespace.mjs";
4
4
  const B = /* @__PURE__ */ n({
@@ -23,9 +23,9 @@ const B = /* @__PURE__ */ n({
23
23
  flexGrow: e ? 0 : 1
24
24
  };
25
25
  });
26
- return (e, f) => (p(), i("div", {
27
- class: c([s(l)(), { [s(l)("hidden")]: e.size === 0 }, e.className]),
28
- style: m(o.value)
26
+ return (e, f) => (i(), p("div", {
27
+ class: m([s(l)(), { [s(l)("hidden")]: e.size === 0 }, e.className]),
28
+ style: c(o.value)
29
29
  }, [
30
30
  u(e.$slots, "default")
31
31
  ], 6));
@@ -1,4 +1,4 @@
1
- import { defineComponent as U, ref as z, computed as w, unref as t, watchEffect as V, createElementBlock as h, openBlock as y, normalizeClass as s, createCommentVNode as O, createElementVNode as T, normalizeStyle as F, createVNode as C } from "vue";
1
+ import { defineComponent as U, ref as z, computed as w, unref as t, watchEffect as V, openBlock as h, createElementBlock as y, normalizeClass as s, normalizeStyle as T, createCommentVNode as O, createElementVNode as F, createVNode as C } from "vue";
2
2
  import "../config-provider/index.mjs";
3
3
  import { UpOutlined as A, LeftOutlined as D, DownOutlined as I, RightOutlined as R } from "@ant-design/icons-vue";
4
4
  import { useNamespace as $ } from "../config-provider/hooks/use-namespace.mjs";
@@ -84,19 +84,19 @@ const j = ["aria-valuenow", "aria-valuemin", "aria-valuemax"], K = /* @__PURE__
84
84
  ), P = w(
85
85
  () => e.vertical ? I : R
86
86
  );
87
- return (o, a) => (y(), h("div", {
87
+ return (o, a) => (h(), y("div", {
88
88
  class: s(t(n)()),
89
89
  role: "separator",
90
90
  "aria-valuenow": g(e.ariaNow),
91
91
  "aria-valuemin": g(e.ariaMin),
92
92
  "aria-valuemax": g(e.ariaMax)
93
93
  }, [
94
- e.lazy ? (y(), h("div", {
94
+ e.lazy ? (h(), y("div", {
95
95
  key: 0,
96
96
  class: s([t(n)("preview"), { [t(n)("preview-active")]: !!l.value }]),
97
- style: F(t(L)({ "preview-offset": `${l.value}px` }))
97
+ style: T(t(L)({ "preview-offset": `${l.value}px` }))
98
98
  }, null, 6)) : O("", !0),
99
- T("div", {
99
+ F("div", {
100
100
  class: s([
101
101
  t(n)("dragger"),
102
102
  { [t(n)("dragger-disabled")]: !o.resizable, [t(n)("dragger-active")]: o.active }
@@ -104,7 +104,7 @@ const j = ["aria-valuenow", "aria-valuemin", "aria-valuemax"], K = /* @__PURE__
104
104
  onMousedown: B,
105
105
  onTouchstart: k
106
106
  }, null, 34),
107
- o.startCollapsible ? (y(), h("div", {
107
+ o.startCollapsible ? (h(), y("div", {
108
108
  key: 1,
109
109
  class: s([t(n)("collapse-bar"), t(n)("collapse-bar-start")]),
110
110
  onClick: a[0] || (a[0] = () => o.onCollapse(o.index, "start"))
@@ -113,7 +113,7 @@ const j = ["aria-valuenow", "aria-valuemin", "aria-valuemax"], K = /* @__PURE__
113
113
  class: s([t(n)("collapse-icon"), t(n)("collapse-start")])
114
114
  }, null, 8, ["class"])
115
115
  ], 2)) : O("", !0),
116
- o.endCollapsible ? (y(), h("div", {
116
+ o.endCollapsible ? (h(), y("div", {
117
117
  key: 2,
118
118
  class: s([t(n)("collapse-bar"), t(n)("collapse-bar-end")]),
119
119
  onClick: a[1] || (a[1] = () => o.onCollapse(o.index, "end"))