@aplus-frontend/ui 0.4.18 → 0.4.19

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 (273) hide show
  1. package/es/src/ap-action/item/index.vue.d.ts +1 -2
  2. package/es/src/ap-action/item-dropdown/index.vue.d.ts +1 -2
  3. package/es/src/ap-action/item-modal/index.vue.d.ts +1 -2
  4. package/es/src/ap-action/item-popconfirm/index.vue.d.ts +1 -2
  5. package/es/src/ap-button/ap-action-button.vue.d.ts +1 -2
  6. package/es/src/ap-button/ap-button.vue.d.ts +1 -2
  7. package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +2 -3
  8. package/es/src/ap-descriptions/help-message/index.vue.d.ts +5 -3
  9. package/es/src/ap-download/ap-download.vue.d.ts +3 -5
  10. package/es/src/ap-field/date/index.vue.d.ts +1 -2
  11. package/es/src/ap-field/date-range/index.vue.d.ts +1 -2
  12. package/es/src/ap-field/number/index.vue.d.ts +2 -324
  13. package/es/src/ap-field/radio/index.vue.d.ts +2 -98
  14. package/es/src/ap-field/rate/index.vue.d.ts +2 -84
  15. package/es/src/ap-field/segmented/index.vue.d.ts +1 -2
  16. package/es/src/ap-field/select/index.vue.d.ts +2 -409
  17. package/es/src/ap-field/select/index.vue.mjs +6 -7
  18. package/es/src/ap-field/slider/index.vue.d.ts +2 -259
  19. package/es/src/ap-field/switch/index.vue.d.ts +1 -2
  20. package/es/src/ap-field/text/index.vue.d.ts +1 -2
  21. package/es/src/ap-field/text/password.vue.d.ts +1 -2
  22. package/es/src/ap-field/text-area/index.vue.d.ts +2 -267
  23. package/es/src/ap-form/ap-form.vue.d.ts +4 -639
  24. package/es/src/ap-form/dependency/index.vue.d.ts +1 -2
  25. package/es/src/ap-form/drawer-form/index.vue.d.ts +6 -1457
  26. package/es/src/ap-form/item/index.vue.d.ts +2 -779
  27. package/es/src/ap-form/item-group/index.vue.d.ts +1 -2
  28. package/es/src/ap-form/items/checkbox/index.vue.d.ts +1 -2
  29. package/es/src/ap-form/items/date/index.vue.d.ts +1 -2
  30. package/es/src/ap-form/items/date-range/index.vue.d.ts +1 -2
  31. package/es/src/ap-form/items/number/index.vue.d.ts +3 -785
  32. package/es/src/ap-form/items/radio/index.vue.d.ts +4 -223
  33. package/es/src/ap-form/items/select/index.vue.d.ts +1 -2
  34. package/es/src/ap-form/items/switch/index.vue.d.ts +1 -2
  35. package/es/src/ap-form/items/text/group.vue.d.ts +1 -2
  36. package/es/src/ap-form/items/text/index.vue.d.ts +3 -141
  37. package/es/src/ap-form/items/text/password.vue.d.ts +2 -150
  38. package/es/src/ap-form/items/text-area/index.vue.d.ts +4 -568
  39. package/es/src/ap-form/list/index.vue.d.ts +1 -2
  40. package/es/src/ap-form/modal-form/index.vue.d.ts +7 -1457
  41. package/es/src/ap-form/provider/index.vue.d.ts +1 -2
  42. package/es/src/ap-form/render/control.vue.d.ts +1 -2
  43. package/es/src/ap-form/render/item.vue.d.ts +1 -2
  44. package/es/src/ap-form/search-form/index.vue.d.ts +5 -1457
  45. package/es/src/ap-form/set/index.vue.d.ts +1 -2
  46. package/es/src/ap-info-layout/ApInfoLayout.vue.d.ts +2 -3
  47. package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +2 -6
  48. package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.d.ts +2 -3
  49. package/es/src/ap-list/index.vue.d.ts +5 -3
  50. package/es/src/ap-table/ap-table.vue.d.ts +10 -3
  51. package/es/src/ap-table/ap-table.vue2.mjs +72 -68
  52. package/es/src/ap-table/components/index/index.vue.d.ts +1 -1
  53. package/es/src/ap-table/components/paragraph-ellipsis/index.vue.d.ts +1 -1
  54. package/es/src/ap-table/components/setting/modal/index.vue.d.ts +1 -2
  55. package/es/src/ap-table/components/setting/select-group/index.vue.d.ts +1 -1
  56. package/es/src/ap-table/components/setting/sortable/index.vue.d.ts +1 -1
  57. package/es/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
  58. package/es/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
  59. package/es/src/ap-table/components/setting/tree-select/index.vue.d.ts +1 -1
  60. package/es/src/ap-table/constants.d.ts +14 -2264
  61. package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  62. package/es/src/ap-table/interface.d.ts +9 -0
  63. package/es/src/ap-table/utils.d.ts +8 -1180
  64. package/es/src/ap-tag/ap-tag-group.vue.d.ts +2 -5
  65. package/es/src/ap-tag/ap-tag.vue.d.ts +1 -1
  66. package/es/src/ap-upload/apUpload.vue.d.ts +2 -5
  67. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +2 -453
  68. package/es/src/ap-upload/components/Picture.vue.d.ts +9 -7
  69. package/es/src/ap-upload/components/SingleFile.vue.d.ts +1 -3
  70. package/es/src/business/ap-appendix/ap-appendix.vue.d.ts +3 -5
  71. package/es/src/business/ap-appendix/icons/file-icon.vue.d.ts +1 -1
  72. package/es/src/business/ap-appendix/index.d.ts +1 -1
  73. package/es/src/business/ap-batch-action/ApBatchAction.vue.d.ts +2 -5
  74. package/es/src/business/ap-batch-action/index.d.ts +1 -3
  75. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +1 -2
  76. package/es/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +4 -3
  77. package/es/src/business/ap-batch-action-group/index.d.ts +5 -887
  78. package/es/src/business/ap-card/ApCard.vue.d.ts +2 -3
  79. package/es/src/business/ap-card/index.d.ts +1 -1
  80. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +5 -3
  81. package/es/src/business/ap-expand-alert/index.d.ts +6 -4
  82. package/es/src/business/ap-group-search/ap-group-search.vue.d.ts +2 -5
  83. package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +8 -9
  84. package/es/src/business/ap-group-search/extension-select/index.vue.d.ts +346 -10
  85. package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +7 -8
  86. package/es/src/business/ap-group-search/images/icon-down.vue.d.ts +1 -1
  87. package/es/src/business/ap-group-search/images/icon-line-select.vue.d.ts +1 -1
  88. package/es/src/business/ap-group-search/index.d.ts +4 -418
  89. package/es/src/business/ap-group-search/popover-select/index.vue.d.ts +340 -412
  90. package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +14 -15
  91. package/es/src/business/ap-image/ApImage.vue.d.ts +1 -2
  92. package/es/src/business/ap-input-radio/ApInputRadio.vue.d.ts +1 -1
  93. package/es/src/business/ap-input-radio/index.d.ts +1 -1
  94. package/es/src/business/ap-ladder/ApLadder.vue.d.ts +2 -6
  95. package/es/src/business/ap-ladder/HelpMessageIcon.vue.d.ts +1 -1
  96. package/es/src/business/ap-ladder/index.d.ts +1 -4
  97. package/es/src/business/ap-select-layout/index.d.ts +4 -2
  98. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +5 -3
  99. package/es/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +14 -0
  100. package/es/src/business/ap-table-modal/hooks/use-table-modal.d.ts +14 -0
  101. package/es/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +14 -0
  102. package/es/src/business/ap-table-modal/index.d.ts +44 -22
  103. package/es/src/business/ap-table-modal/modal-title.vue.d.ts +2 -3
  104. package/es/src/business/ap-table-modal/table-layout/index.vue.d.ts +8 -8
  105. package/es/src/business/ap-table-modal/table-modal.vue.d.ts +18 -25
  106. package/es/src/business/ap-title/ApTitle.vue.d.ts +2 -3
  107. package/es/src/business/ap-title/index.d.ts +1 -1
  108. package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.d.ts +3 -5
  109. package/es/src/business/ap-upload-file/icon/delete-icon.vue.d.ts +1 -1
  110. package/es/src/business/ap-upload-file/icon/file-icon.vue.d.ts +1 -1
  111. package/es/src/business/batch-input-group/index.vue.d.ts +3 -146
  112. package/es/src/business/batch-input-group/popover-input/index.vue.d.ts +2 -267
  113. package/es/src/business/hooks/usePageListApTable.d.ts +14 -0
  114. package/es/src/business/hooks/useTableRefresh.d.ts +4 -1
  115. package/es/src/business/hooks/useTableRefresh.mjs +33 -12
  116. package/es/src/check-card/group.vue.d.ts +1 -2
  117. package/es/src/check-card/index.vue.d.ts +2 -3
  118. package/es/src/config-provider/config-provider-props.d.ts +3 -0
  119. package/es/src/config-provider/config-provider-props.mjs +3 -0
  120. package/es/src/config-provider/config-provider.d.ts +6 -0
  121. package/es/src/config-provider/config-provider.mjs +24 -23
  122. package/es/src/config-provider/hooks/use-global-config.d.ts +3 -0
  123. package/es/src/config-provider/index.d.ts +9 -0
  124. package/es/src/editable-table/form-item.vue.d.ts +5 -3
  125. package/es/src/editable-table/index.vue.d.ts +5 -3
  126. package/es/src/full-screen/index.vue.d.ts +2 -6
  127. package/es/src/portal/index.vue.d.ts +1 -2
  128. package/es/src/resize-observer/index.vue.d.ts +1 -2
  129. package/es/src/scroll-bar/index.vue.d.ts +4 -43
  130. package/es/src/scroll-bar/index.vue.mjs +51 -49
  131. package/es/src/scroll-bar/internal.vue.d.ts +1 -5
  132. package/es/src/scroll-view/index.vue.d.ts +9 -97
  133. package/es/src/tests/wrapper.d.ts +4 -4
  134. package/es/src/utils/index.d.ts +8 -0
  135. package/es/src/work-order-modal/work-order-modal.vue.d.ts +2 -827
  136. package/lib/src/ap-action/item/index.vue.d.ts +1 -2
  137. package/lib/src/ap-action/item-dropdown/index.vue.d.ts +1 -2
  138. package/lib/src/ap-action/item-modal/index.vue.d.ts +1 -2
  139. package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +1 -2
  140. package/lib/src/ap-button/ap-action-button.vue.d.ts +1 -2
  141. package/lib/src/ap-button/ap-button.vue.d.ts +1 -2
  142. package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +2 -3
  143. package/lib/src/ap-descriptions/help-message/index.vue.d.ts +5 -3
  144. package/lib/src/ap-download/ap-download.vue.d.ts +3 -5
  145. package/lib/src/ap-field/date/index.vue.d.ts +1 -2
  146. package/lib/src/ap-field/date-range/index.vue.d.ts +1 -2
  147. package/lib/src/ap-field/number/index.vue.d.ts +2 -324
  148. package/lib/src/ap-field/radio/index.vue.d.ts +2 -98
  149. package/lib/src/ap-field/rate/index.vue.d.ts +2 -84
  150. package/lib/src/ap-field/segmented/index.vue.d.ts +1 -2
  151. package/lib/src/ap-field/select/index.vue.d.ts +2 -409
  152. package/lib/src/ap-field/select/index.vue.js +1 -1
  153. package/lib/src/ap-field/slider/index.vue.d.ts +2 -259
  154. package/lib/src/ap-field/switch/index.vue.d.ts +1 -2
  155. package/lib/src/ap-field/text/index.vue.d.ts +1 -2
  156. package/lib/src/ap-field/text/password.vue.d.ts +1 -2
  157. package/lib/src/ap-field/text-area/index.vue.d.ts +2 -267
  158. package/lib/src/ap-form/ap-form.vue.d.ts +4 -639
  159. package/lib/src/ap-form/dependency/index.vue.d.ts +1 -2
  160. package/lib/src/ap-form/drawer-form/index.vue.d.ts +6 -1457
  161. package/lib/src/ap-form/item/index.vue.d.ts +2 -779
  162. package/lib/src/ap-form/item-group/index.vue.d.ts +1 -2
  163. package/lib/src/ap-form/items/checkbox/index.vue.d.ts +1 -2
  164. package/lib/src/ap-form/items/date/index.vue.d.ts +1 -2
  165. package/lib/src/ap-form/items/date-range/index.vue.d.ts +1 -2
  166. package/lib/src/ap-form/items/number/index.vue.d.ts +3 -785
  167. package/lib/src/ap-form/items/radio/index.vue.d.ts +4 -223
  168. package/lib/src/ap-form/items/select/index.vue.d.ts +1 -2
  169. package/lib/src/ap-form/items/switch/index.vue.d.ts +1 -2
  170. package/lib/src/ap-form/items/text/group.vue.d.ts +1 -2
  171. package/lib/src/ap-form/items/text/index.vue.d.ts +3 -141
  172. package/lib/src/ap-form/items/text/password.vue.d.ts +2 -150
  173. package/lib/src/ap-form/items/text-area/index.vue.d.ts +4 -568
  174. package/lib/src/ap-form/list/index.vue.d.ts +1 -2
  175. package/lib/src/ap-form/modal-form/index.vue.d.ts +7 -1457
  176. package/lib/src/ap-form/provider/index.vue.d.ts +1 -2
  177. package/lib/src/ap-form/render/control.vue.d.ts +1 -2
  178. package/lib/src/ap-form/render/item.vue.d.ts +1 -2
  179. package/lib/src/ap-form/search-form/index.vue.d.ts +5 -1457
  180. package/lib/src/ap-form/set/index.vue.d.ts +1 -2
  181. package/lib/src/ap-info-layout/ApInfoLayout.vue.d.ts +2 -3
  182. package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +2 -6
  183. package/lib/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.d.ts +2 -3
  184. package/lib/src/ap-list/index.vue.d.ts +5 -3
  185. package/lib/src/ap-table/ap-table.vue.d.ts +10 -3
  186. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  187. package/lib/src/ap-table/components/index/index.vue.d.ts +1 -1
  188. package/lib/src/ap-table/components/paragraph-ellipsis/index.vue.d.ts +1 -1
  189. package/lib/src/ap-table/components/setting/modal/index.vue.d.ts +1 -2
  190. package/lib/src/ap-table/components/setting/select-group/index.vue.d.ts +1 -1
  191. package/lib/src/ap-table/components/setting/sortable/index.vue.d.ts +1 -1
  192. package/lib/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
  193. package/lib/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
  194. package/lib/src/ap-table/components/setting/tree-select/index.vue.d.ts +1 -1
  195. package/lib/src/ap-table/constants.d.ts +14 -2264
  196. package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  197. package/lib/src/ap-table/interface.d.ts +9 -0
  198. package/lib/src/ap-table/utils.d.ts +8 -1180
  199. package/lib/src/ap-tag/ap-tag-group.vue.d.ts +2 -5
  200. package/lib/src/ap-tag/ap-tag.vue.d.ts +1 -1
  201. package/lib/src/ap-upload/apUpload.vue.d.ts +2 -5
  202. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +2 -453
  203. package/lib/src/ap-upload/components/Picture.vue.d.ts +9 -7
  204. package/lib/src/ap-upload/components/SingleFile.vue.d.ts +1 -3
  205. package/lib/src/business/ap-appendix/ap-appendix.vue.d.ts +3 -5
  206. package/lib/src/business/ap-appendix/icons/file-icon.vue.d.ts +1 -1
  207. package/lib/src/business/ap-appendix/index.d.ts +1 -1
  208. package/lib/src/business/ap-batch-action/ApBatchAction.vue.d.ts +2 -5
  209. package/lib/src/business/ap-batch-action/index.d.ts +1 -3
  210. package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +1 -2
  211. package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +4 -3
  212. package/lib/src/business/ap-batch-action-group/index.d.ts +5 -887
  213. package/lib/src/business/ap-card/ApCard.vue.d.ts +2 -3
  214. package/lib/src/business/ap-card/index.d.ts +1 -1
  215. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +5 -3
  216. package/lib/src/business/ap-expand-alert/index.d.ts +6 -4
  217. package/lib/src/business/ap-group-search/ap-group-search.vue.d.ts +2 -5
  218. package/lib/src/business/ap-group-search/ap-group-search.vue2.js +1 -1
  219. package/lib/src/business/ap-group-search/extension-select/index.vue.d.ts +346 -10
  220. package/lib/src/business/ap-group-search/extension-select/index.vue2.js +1 -1
  221. package/lib/src/business/ap-group-search/images/icon-down.vue.d.ts +1 -1
  222. package/lib/src/business/ap-group-search/images/icon-line-select.vue.d.ts +1 -1
  223. package/lib/src/business/ap-group-search/index.d.ts +4 -418
  224. package/lib/src/business/ap-group-search/popover-select/index.vue.d.ts +340 -412
  225. package/lib/src/business/ap-group-search/popover-select/index.vue2.js +2 -2
  226. package/lib/src/business/ap-image/ApImage.vue.d.ts +1 -2
  227. package/lib/src/business/ap-input-radio/ApInputRadio.vue.d.ts +1 -1
  228. package/lib/src/business/ap-input-radio/index.d.ts +1 -1
  229. package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +2 -6
  230. package/lib/src/business/ap-ladder/HelpMessageIcon.vue.d.ts +1 -1
  231. package/lib/src/business/ap-ladder/index.d.ts +1 -4
  232. package/lib/src/business/ap-select-layout/index.d.ts +4 -2
  233. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +5 -3
  234. package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +14 -0
  235. package/lib/src/business/ap-table-modal/hooks/use-table-modal.d.ts +14 -0
  236. package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +14 -0
  237. package/lib/src/business/ap-table-modal/index.d.ts +44 -22
  238. package/lib/src/business/ap-table-modal/modal-title.vue.d.ts +2 -3
  239. package/lib/src/business/ap-table-modal/table-layout/index.vue.d.ts +8 -8
  240. package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +18 -25
  241. package/lib/src/business/ap-title/ApTitle.vue.d.ts +2 -3
  242. package/lib/src/business/ap-title/index.d.ts +1 -1
  243. package/lib/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.d.ts +3 -5
  244. package/lib/src/business/ap-upload-file/icon/delete-icon.vue.d.ts +1 -1
  245. package/lib/src/business/ap-upload-file/icon/file-icon.vue.d.ts +1 -1
  246. package/lib/src/business/batch-input-group/index.vue.d.ts +3 -146
  247. package/lib/src/business/batch-input-group/popover-input/index.vue.d.ts +2 -267
  248. package/lib/src/business/hooks/usePageListApTable.d.ts +14 -0
  249. package/lib/src/business/hooks/useTableRefresh.d.ts +4 -1
  250. package/lib/src/business/hooks/useTableRefresh.js +1 -1
  251. package/lib/src/check-card/group.vue.d.ts +1 -2
  252. package/lib/src/check-card/index.vue.d.ts +2 -3
  253. package/lib/src/config-provider/config-provider-props.d.ts +3 -0
  254. package/lib/src/config-provider/config-provider-props.js +1 -1
  255. package/lib/src/config-provider/config-provider.d.ts +6 -0
  256. package/lib/src/config-provider/config-provider.js +1 -1
  257. package/lib/src/config-provider/hooks/use-global-config.d.ts +3 -0
  258. package/lib/src/config-provider/index.d.ts +9 -0
  259. package/lib/src/editable-table/form-item.vue.d.ts +5 -3
  260. package/lib/src/editable-table/index.vue.d.ts +5 -3
  261. package/lib/src/full-screen/index.vue.d.ts +2 -6
  262. package/lib/src/portal/index.vue.d.ts +1 -2
  263. package/lib/src/resize-observer/index.vue.d.ts +1 -2
  264. package/lib/src/scroll-bar/index.vue.d.ts +4 -43
  265. package/lib/src/scroll-bar/index.vue.js +1 -1
  266. package/lib/src/scroll-bar/internal.vue.d.ts +1 -5
  267. package/lib/src/scroll-view/index.vue.d.ts +9 -97
  268. package/lib/src/tests/wrapper.d.ts +4 -4
  269. package/lib/src/utils/index.d.ts +8 -0
  270. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +2 -827
  271. package/package.json +2 -2
  272. package/theme/ap-scroll-bar/index.css +0 -31
  273. package/theme/ap-scroll-bar/index.less +0 -39
@@ -1,46 +1,47 @@
1
- import { isVNode as v, ref as V, defineComponent as M, computed as n, unref as r, watch as d, createVNode as P, renderSlot as b } from "vue";
2
- import { ConfigProvider as U } from "@aplus-frontend/antdv";
3
- import { useGlobalConfig as f, provideGlobalConfig as A } from "./hooks/use-global-config.mjs";
4
- import { configProviderProps as S } from "./config-provider-props.mjs";
5
- import { mergeAntdProvideConfig as T } from "../utils/config-provider-preset.mjs";
6
- import { generateCssVar as w, aplusCssVar as y, adminCssVar as D, setCSSVariables as E } from "./css-var.mjs";
7
- import { DEFAULT_NAMESPACE as N, DEFAULT_UIMODE as F } from "./constants.mjs";
1
+ import { isVNode as v, ref as V, defineComponent as M, computed as n, unref as r, watch as u, createVNode as P, renderSlot as b } from "vue";
2
+ import { ConfigProvider as D } from "@aplus-frontend/antdv";
3
+ import { useGlobalConfig as c, provideGlobalConfig as N } from "./hooks/use-global-config.mjs";
4
+ import { configProviderProps as U } from "./config-provider-props.mjs";
5
+ import { mergeAntdProvideConfig as A } from "../utils/config-provider-preset.mjs";
6
+ import { generateCssVar as S, aplusCssVar as T, adminCssVar as w, setCSSVariables as y } from "./css-var.mjs";
7
+ import { DEFAULT_NAMESPACE as E, DEFAULT_UIMODE as F } from "./constants.mjs";
8
8
  function L(e) {
9
9
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !v(e);
10
10
  }
11
- const c = V({}), $ = /* @__PURE__ */ M({
11
+ const d = V({}), I = /* @__PURE__ */ M({
12
12
  name: "AplusConfigProvider",
13
- props: S(),
13
+ props: U(),
14
14
  setup(e, {
15
- slots: l
15
+ slots: f
16
16
  }) {
17
- const i = f("namespace"), a = f("uiMode"), s = n(() => e.namespace ? e.namespace : r(i) ? r(i) : N), u = n(() => e.uiMode ? e.uiMode : r(a) ? r(a) : F), m = n(() => ({
17
+ const a = c("namespace"), i = c("uiMode"), s = n(() => e.namespace ? e.namespace : r(a) ? r(a) : E), l = n(() => e.uiMode ? e.uiMode : r(i) ? r(i) : F), m = n(() => ({
18
18
  namespace: r(s),
19
19
  aplusLocale: e.aplusLocale,
20
20
  api: e.api,
21
- uiMode: r(u),
21
+ uiMode: r(l),
22
22
  apUpload: e.apUpload,
23
23
  apDescriptions: e.apDescriptions,
24
24
  valueTypeMap: e.valueTypeMap,
25
25
  downloadCenterTriggerConfig: e.downloadCenterTriggerConfig,
26
- exportField: e.exportField
27
- })), t = A(m);
28
- return d(() => e, (o) => {
29
- c.value = T(o);
26
+ exportField: e.exportField,
27
+ scrollYDomName: e.scrollYDomName
28
+ })), t = N(m);
29
+ return u(() => e, (o) => {
30
+ d.value = A(o);
30
31
  }, {
31
32
  deep: !0,
32
33
  immediate: !0
33
- }), typeof window < "u" && d(() => [r(u), e.cssVar], ([o, p]) => {
34
- const C = w(p), g = {
35
- ...o === "aplus" ? y : D,
34
+ }), typeof window < "u" && u(() => [r(l), e.cssVar], ([o, p]) => {
35
+ const C = S(p), g = {
36
+ ...o === "aplus" ? T : w,
36
37
  ...C
37
38
  };
38
- E(g);
39
+ y(g);
39
40
  }, {
40
41
  immediate: !0
41
42
  }), () => {
42
43
  let o;
43
- return P(U, c.value, L(o = b(l, "default", {
44
+ return P(D, d.value, L(o = b(f, "default", {
44
45
  config: t == null ? void 0 : t.value
45
46
  })) ? o : {
46
47
  default: () => [o]
@@ -49,6 +50,6 @@ const c = V({}), $ = /* @__PURE__ */ M({
49
50
  }
50
51
  });
51
52
  export {
52
- $ as ConfigProvider,
53
- c as globalConfigCached
53
+ I as ConfigProvider,
54
+ d as globalConfigCached
54
55
  };
@@ -165,4 +165,7 @@ export declare const provideGlobalConfig: (config: MaybeRef<ConfigProviderContex
165
165
  type: PropType<ExportField>;
166
166
  default: boolean;
167
167
  };
168
+ scrollYDomName: {
169
+ type: StringConstructor;
170
+ };
168
171
  }>>>> | undefined;
@@ -273,6 +273,9 @@ export declare const APConfigProvider: {
273
273
  type: PropType<ExportField>;
274
274
  default: boolean;
275
275
  };
276
+ scrollYDomName: {
277
+ type: StringConstructor;
278
+ };
276
279
  }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
277
280
  input: {
278
281
  autocomplete?: string;
@@ -679,6 +682,9 @@ export declare const APConfigProvider: {
679
682
  type: PropType<ExportField>;
680
683
  default: boolean;
681
684
  };
685
+ scrollYDomName: {
686
+ type: StringConstructor;
687
+ };
682
688
  }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
683
689
  input: {
684
690
  autocomplete?: string;
@@ -977,6 +983,9 @@ export declare const APConfigProvider: {
977
983
  type: PropType<ExportField>;
978
984
  default: boolean;
979
985
  };
986
+ scrollYDomName: {
987
+ type: StringConstructor;
988
+ };
980
989
  }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
981
990
  input: {
982
991
  autocomplete?: string;
@@ -1,9 +1,9 @@
1
1
  import { EditableColumnType, EditableTableFormItemProps } from './interface';
2
2
  import { StandardBehaviorOptions } from '../../node_modules/scroll-into-view-if-needed';
3
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
4
4
  import { UnwrapRefSimple } from '@vue/reactivity';
5
5
  declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
6
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & EditableTableFormItemProps<RecordType> & Partial<{}>> & PublicProps;
6
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & EditableTableFormItemProps<RecordType>> & PublicProps;
7
7
  expose(exposed: ShallowUnwrapRef<{
8
8
  add: (defaultValue?: any, insertIndex?: number) => void;
9
9
  remove: (index: number | number[]) => void;
@@ -48,7 +48,9 @@ declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<type
48
48
  }) => void;
49
49
  };
50
50
  emit: {};
51
- }>) => VNode & {
51
+ }>) => VNode<RendererNode, RendererElement, {
52
+ [key: string]: any;
53
+ }> & {
52
54
  __ctx?: Awaited<typeof __VLS_setup>;
53
55
  };
54
56
  export default _default;
@@ -2,11 +2,11 @@ import { EditableTableProps, EditableColumnType } from './interface';
2
2
  import { NamePath, ValidateOptions } from '@aplus-frontend/antdv/es/form/interface';
3
3
  import { Recordable } from '../type';
4
4
  import { StandardBehaviorOptions } from '../../node_modules/scroll-into-view-if-needed';
5
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
5
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
6
6
  declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
7
7
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
8
8
  readonly "onUpdate:value"?: ((...args: any[]) => any) | undefined;
9
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:value"> & EditableTableProps<RecordType> & Partial<{}>> & PublicProps;
9
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:value"> & EditableTableProps<RecordType>> & PublicProps;
10
10
  expose(exposed: ShallowUnwrapRef<{
11
11
  resetFields: () => void;
12
12
  validateFields: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<any>;
@@ -53,7 +53,9 @@ declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNu
53
53
  }) => void;
54
54
  };
55
55
  emit: (event: "update:value", ...args: any[]) => void;
56
- }>) => VNode & {
56
+ }>) => VNode<RendererNode, RendererElement, {
57
+ [key: string]: any;
58
+ }> & {
57
59
  __ctx?: Awaited<typeof __VLS_setup>;
58
60
  };
59
61
  export default _default;
@@ -4,7 +4,6 @@ declare function enter(mode: FullScreenMode, force?: boolean): Promise<void>;
4
4
  declare function exit(force?: boolean): Promise<void>;
5
5
  declare function toggle(mode: FullScreenMode, force?: boolean): Promise<void>;
6
6
  declare function __VLS_template(): {
7
- attrs: Partial<{}>;
8
7
  slots: {
9
8
  default?(_: {
10
9
  full: boolean;
@@ -19,7 +18,7 @@ declare function __VLS_template(): {
19
18
  target: unknown;
20
19
  portalRootRef: HTMLDivElement;
21
20
  };
22
- rootEl: any;
21
+ attrs: Partial<{}>;
23
22
  };
24
23
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
24
  declare const __VLS_component: DefineComponent<FullScreenProps, {
@@ -30,10 +29,7 @@ declare const __VLS_component: DefineComponent<FullScreenProps, {
30
29
  enter: typeof enter;
31
30
  exit: typeof exit;
32
31
  toggle: typeof toggle;
33
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<FullScreenProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
34
- target: unknown;
35
- portalRootRef: HTMLDivElement;
36
- }, any>;
32
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<FullScreenProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
37
33
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
38
34
  export default _default;
39
35
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,11 +1,10 @@
1
1
  import { DefineComponent, TeleportProps, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  declare function __VLS_template(): {
3
- attrs: Partial<{}>;
4
3
  slots: {
5
4
  default?(_: {}): any;
6
5
  };
7
6
  refs: {};
8
- rootEl: any;
7
+ attrs: Partial<{}>;
9
8
  };
10
9
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
10
  declare const __VLS_component: DefineComponent<Partial< TeleportProps>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Partial< TeleportProps>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
@@ -3,12 +3,11 @@ import { DefineComponent, ComputedRef, ComponentOptionsMixin, PublicProps, Compo
3
3
  declare function observe(): void;
4
4
  declare function unobserve(): void;
5
5
  declare function __VLS_template(): {
6
- attrs: Partial<{}>;
7
6
  slots: {
8
7
  default?(_: {}): any;
9
8
  };
10
9
  refs: {};
11
- rootEl: any;
10
+ attrs: Partial<{}>;
12
11
  };
13
12
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
13
  declare const __VLS_component: DefineComponent<ResizeObserverProps, {
@@ -1,8 +1,8 @@
1
- import { ScrollBarProps, ScrollBarDirection, InternalScrollBarProps } from './interface';
2
- import { DefineComponent, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, Ref, GlobalComponents, GlobalDirectives } from 'vue';
1
+ import { ScrollBarProps, ScrollBarDirection } from './interface';
2
+ import { DefineComponent, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  declare const _default: DefineComponent<ScrollBarProps, {
4
4
  currentScroll: ComputedRef<number | undefined>;
5
- scroll: ((percent: number) => void) | undefined;
5
+ scroll: (percent: number) => void | undefined;
6
6
  visible: ComputedRef<boolean>;
7
7
  rootElement: ComputedRef<HTMLElement | undefined>;
8
8
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ScrollBarProps> & Readonly<{}>, {
@@ -12,44 +12,5 @@ declare const _default: DefineComponent<ScrollBarProps, {
12
12
  trackSpeed: number;
13
13
  barLength: number;
14
14
  showTrack: boolean;
15
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
16
- barRef: CreateComponentPublicInstanceWithMixins<Readonly< InternalScrollBarProps> & Readonly<{}>, {
17
- currentScroll: Ref<number, number>;
18
- container: Ref<HTMLElement | undefined, HTMLElement | undefined>;
19
- bar: Ref<HTMLElement | undefined, HTMLElement | undefined>;
20
- track: Ref<HTMLElement | undefined, HTMLElement | undefined>;
21
- scroll: (percent: number) => void;
22
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
23
- scroll: number;
24
- disabled: boolean;
25
- direction: ScrollBarDirection;
26
- trackSpeed: number;
27
- barLength: number;
28
- showTrack: boolean;
29
- }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
30
- container: HTMLDivElement;
31
- track: HTMLDivElement;
32
- bar: HTMLDivElement;
33
- }, HTMLDivElement, ComponentProvideOptions, {
34
- P: {};
35
- B: {};
36
- D: {};
37
- C: {};
38
- M: {};
39
- Defaults: {};
40
- }, Readonly< InternalScrollBarProps> & Readonly<{}>, {
41
- currentScroll: Ref<number, number>;
42
- container: Ref<HTMLElement | undefined, HTMLElement | undefined>;
43
- bar: Ref<HTMLElement | undefined, HTMLElement | undefined>;
44
- track: Ref<HTMLElement | undefined, HTMLElement | undefined>;
45
- scroll: (percent: number) => void;
46
- }, {}, {}, {}, {
47
- scroll: number;
48
- disabled: boolean;
49
- direction: ScrollBarDirection;
50
- trackSpeed: number;
51
- barLength: number;
52
- showTrack: boolean;
53
- }> | null;
54
- }, any>;
15
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
55
16
  export default _default;
@@ -1,10 +1,10 @@
1
- import { defineComponent as g, toRef as x, ref as p, watchEffect as _, unref as a, watch as k, computed as s, openBlock as C, createBlock as B, mergeProps as L, createCommentVNode as R } from "vue";
1
+ import { defineComponent as z, toRef as g, ref as d, watchEffect as x, unref as c, 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
- import { omit as w } from "lodash-unified";
4
- import { getScrollable as u, ensureRangeValue as y } from "./utils/index.mjs";
5
- import { useResizeObserver as E } from "@vueuse/core";
6
- import N from "./internal.vue.mjs";
7
- const j = /* @__PURE__ */ g({
3
+ import { omit as R } from "lodash-unified";
4
+ import { getScrollable as u, ensureRangeValue as w } from "./utils/index.mjs";
5
+ import { useResizeObserver as y } from "@vueuse/core";
6
+ import E from "./internal.vue.mjs";
7
+ const W = /* @__PURE__ */ z({
8
8
  name: "ScrollBar",
9
9
  __name: "index",
10
10
  props: {
@@ -24,72 +24,74 @@ const j = /* @__PURE__ */ g({
24
24
  onScroll: {},
25
25
  onScrollEnd: {}
26
26
  },
27
- setup(S, { expose: m }) {
28
- var d;
29
- const r = S, o = x(r, "scrollContainer"), l = p(), n = p(r.barLength);
30
- function v() {
31
- if (!o.value || !l.value) return;
32
- const { totalSize: e, visibleSize: t, distance: c } = u(
33
- o.value,
34
- r.direction
35
- ), i = c / (e + r.extraSize - t || 1) * 100;
36
- l.value.scroll(i);
27
+ setup(p, { expose: S }) {
28
+ const t = p, l = g(t, "scrollContainer"), n = d(), a = d(t.barLength);
29
+ function m() {
30
+ if (!l.value || !n.value) return;
31
+ const { totalSize: e, visibleSize: r, distance: o } = u(
32
+ l.value,
33
+ t.direction
34
+ ), i = o / (e + t.extraSize - r || 1) * 100;
35
+ n.value.scroll(i);
37
36
  }
38
37
  function f() {
39
- const { visibleSize: e, totalSize: t } = u(
40
- o.value,
41
- r.direction
38
+ const { visibleSize: e, totalSize: r } = u(
39
+ l.value,
40
+ t.direction
42
41
  );
43
- n.value = y(
44
- e / (t + r.extraSize || 1) * 100
42
+ a.value = w(
43
+ e / (r + t.extraSize || 1) * 100
45
44
  );
46
45
  }
47
- E(o, () => {
46
+ y(l, () => {
48
47
  f();
49
- }), _(
48
+ }), x(
50
49
  () => {
51
- const e = a(o.value);
52
- e && (f(), e.addEventListener("scroll", v));
50
+ const e = c(l.value);
51
+ e && (f(), e.addEventListener("scroll", m));
53
52
  },
54
53
  { flush: "post" }
55
- ), k(
56
- () => r.barLength,
54
+ ), _(
55
+ () => t.barLength,
57
56
  (e) => {
58
- n.value = e;
57
+ a.value = e;
59
58
  }
60
59
  );
61
- function b(e) {
62
- const t = a(o);
63
- if (!t) return;
64
- const { totalSize: c, visibleSize: i, topOrLeft: h } = u(
65
- t,
66
- r.direction
60
+ function v(e) {
61
+ const r = c(l);
62
+ if (!r) return;
63
+ const { totalSize: o, visibleSize: i, topOrLeft: b } = u(
64
+ r,
65
+ t.direction
67
66
  );
68
- if (c <= i) return;
69
- const z = `scroll${h}`;
70
- t[z] = e * (c + r.extraSize - i) / 100;
67
+ if (o <= i) return;
68
+ const h = `scroll${b}`;
69
+ r[h] = e * (o + t.extraSize - i) / 100;
71
70
  }
72
- return m({
71
+ return S({
73
72
  currentScroll: s(() => {
74
73
  var e;
75
- return a((e = l.value) == null ? void 0 : e.currentScroll);
74
+ return c((e = n.value) == null ? void 0 : e.currentScroll);
76
75
  }),
77
- scroll: (d = l.value) == null ? void 0 : d.scroll,
78
- visible: s(() => n.value < 100),
76
+ scroll: (e) => {
77
+ var r, o;
78
+ return (o = (r = n.value) == null ? void 0 : r.scroll) == null ? void 0 : o.call(r, e);
79
+ },
80
+ visible: s(() => a.value < 100),
79
81
  rootElement: s(() => {
80
82
  var e;
81
- return a((e = l.value) == null ? void 0 : e.container);
83
+ return c((e = n.value) == null ? void 0 : e.container);
82
84
  })
83
- }), (e, t) => n.value !== 100 ? (C(), B(N, L({
85
+ }), (e, r) => a.value !== 100 ? (k(), C(E, B({
84
86
  key: 0,
85
87
  ref_key: "barRef",
86
- ref: l
87
- }, a(w)(r, ["onScroll", "extraSize", "scrollContainer"]), {
88
- "bar-length": n.value,
89
- onScroll: b
90
- }), null, 16, ["bar-length"])) : R("", !0);
88
+ ref: n
89
+ }, c(R)(t, ["onScroll", "extraSize", "scrollContainer"]), {
90
+ "bar-length": a.value,
91
+ onScroll: v
92
+ }), null, 16, ["bar-length"])) : L("", !0);
91
93
  }
92
94
  });
93
95
  export {
94
- j as default
96
+ W as default
95
97
  };
@@ -14,9 +14,5 @@ declare const _default: DefineComponent<InternalScrollBarProps, {
14
14
  trackSpeed: number;
15
15
  barLength: number;
16
16
  showTrack: boolean;
17
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
18
- container: HTMLDivElement;
19
- track: HTMLDivElement;
20
- bar: HTMLDivElement;
21
- }, HTMLDivElement>;
17
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
22
18
  export default _default;
@@ -1,11 +1,10 @@
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;
6
6
  declare function scrollIntoView(element: HTMLElement, position?: 'start' | 'center' | 'end'): void;
7
7
  declare function __VLS_template(): {
8
- attrs: Partial<{}>;
9
8
  slots: {
10
9
  default?(_: {}): any;
11
10
  };
@@ -25,11 +24,7 @@ declare function __VLS_template(): {
25
24
  trackSpeed: number;
26
25
  barLength: number;
27
26
  showTrack: boolean;
28
- }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
29
- container: HTMLDivElement;
30
- track: HTMLDivElement;
31
- bar: HTMLDivElement;
32
- }, HTMLDivElement, ComponentProvideOptions, {
27
+ }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
33
28
  P: {};
34
29
  B: {};
35
30
  D: {};
@@ -63,11 +58,7 @@ declare function __VLS_template(): {
63
58
  trackSpeed: number;
64
59
  barLength: number;
65
60
  showTrack: boolean;
66
- }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
67
- container: HTMLDivElement;
68
- track: HTMLDivElement;
69
- bar: HTMLDivElement;
70
- }, HTMLDivElement, ComponentProvideOptions, {
61
+ }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
71
62
  P: {};
72
63
  B: {};
73
64
  D: {};
@@ -89,7 +80,7 @@ declare function __VLS_template(): {
89
80
  showTrack: boolean;
90
81
  }> | null;
91
82
  };
92
- rootEl: HTMLDivElement;
83
+ attrs: Partial<{}>;
93
84
  };
94
85
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
95
86
  declare const __VLS_component: DefineComponent<ScrollViewProps, {
@@ -106,8 +97,8 @@ declare const __VLS_component: DefineComponent<ScrollViewProps, {
106
97
  onScroll?: ((percent: number) => void) | undefined;
107
98
  disabled?: boolean | undefined;
108
99
  trackSpeed?: number | undefined;
109
- barColor?: import("csstype").Property.BackgroundColor | undefined;
110
- trackColor?: import("csstype").Property.BackgroundColor | undefined;
100
+ barColor?: ColorType;
101
+ trackColor?: ColorType;
111
102
  trackWidth?: number | undefined;
112
103
  showTrack?: boolean | undefined;
113
104
  onScrollStart?: ((percent: number) => void) | undefined;
@@ -118,93 +109,14 @@ declare const __VLS_component: DefineComponent<ScrollViewProps, {
118
109
  onScroll?: ((percent: number) => void) | undefined;
119
110
  disabled?: boolean | undefined;
120
111
  trackSpeed?: number | undefined;
121
- barColor?: import("csstype").Property.BackgroundColor | undefined;
122
- trackColor?: import("csstype").Property.BackgroundColor | undefined;
112
+ barColor?: ColorType;
113
+ trackColor?: ColorType;
123
114
  trackWidth?: number | undefined;
124
115
  showTrack?: boolean | undefined;
125
116
  onScrollStart?: ((percent: number) => void) | undefined;
126
117
  onScrollEnd?: ((percent: number) => void) | undefined;
127
118
  };
128
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
129
- containerRef: HTMLDivElement;
130
- contentRef: HTMLDivElement;
131
- yBarRef: CreateComponentPublicInstanceWithMixins<Readonly< InternalScrollBarProps> & Readonly<{}>, {
132
- currentScroll: Ref<number, number>;
133
- container: Ref<HTMLElement | undefined, HTMLElement | undefined>;
134
- bar: Ref<HTMLElement | undefined, HTMLElement | undefined>;
135
- track: Ref<HTMLElement | undefined, HTMLElement | undefined>;
136
- scroll: (percent: number) => void;
137
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
138
- scroll: number;
139
- disabled: boolean;
140
- direction: ScrollBarDirection;
141
- trackSpeed: number;
142
- barLength: number;
143
- showTrack: boolean;
144
- }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
145
- container: HTMLDivElement;
146
- track: HTMLDivElement;
147
- bar: HTMLDivElement;
148
- }, HTMLDivElement, ComponentProvideOptions, {
149
- P: {};
150
- B: {};
151
- D: {};
152
- C: {};
153
- M: {};
154
- Defaults: {};
155
- }, Readonly< InternalScrollBarProps> & Readonly<{}>, {
156
- currentScroll: Ref<number, number>;
157
- container: Ref<HTMLElement | undefined, HTMLElement | undefined>;
158
- bar: Ref<HTMLElement | undefined, HTMLElement | undefined>;
159
- track: Ref<HTMLElement | undefined, HTMLElement | undefined>;
160
- scroll: (percent: number) => void;
161
- }, {}, {}, {}, {
162
- scroll: number;
163
- disabled: boolean;
164
- direction: ScrollBarDirection;
165
- trackSpeed: number;
166
- barLength: number;
167
- showTrack: boolean;
168
- }> | null;
169
- xBarRef: CreateComponentPublicInstanceWithMixins<Readonly< InternalScrollBarProps> & Readonly<{}>, {
170
- currentScroll: Ref<number, number>;
171
- container: Ref<HTMLElement | undefined, HTMLElement | undefined>;
172
- bar: Ref<HTMLElement | undefined, HTMLElement | undefined>;
173
- track: Ref<HTMLElement | undefined, HTMLElement | undefined>;
174
- scroll: (percent: number) => void;
175
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
176
- scroll: number;
177
- disabled: boolean;
178
- direction: ScrollBarDirection;
179
- trackSpeed: number;
180
- barLength: number;
181
- showTrack: boolean;
182
- }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
183
- container: HTMLDivElement;
184
- track: HTMLDivElement;
185
- bar: HTMLDivElement;
186
- }, HTMLDivElement, ComponentProvideOptions, {
187
- P: {};
188
- B: {};
189
- D: {};
190
- C: {};
191
- M: {};
192
- Defaults: {};
193
- }, Readonly< InternalScrollBarProps> & Readonly<{}>, {
194
- currentScroll: Ref<number, number>;
195
- container: Ref<HTMLElement | undefined, HTMLElement | undefined>;
196
- bar: Ref<HTMLElement | undefined, HTMLElement | undefined>;
197
- track: Ref<HTMLElement | undefined, HTMLElement | undefined>;
198
- scroll: (percent: number) => void;
199
- }, {}, {}, {}, {
200
- scroll: number;
201
- disabled: boolean;
202
- direction: ScrollBarDirection;
203
- trackSpeed: number;
204
- barLength: number;
205
- showTrack: boolean;
206
- }> | null;
207
- }, HTMLDivElement>;
119
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
208
120
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
209
121
  export default _default;
210
122
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,8 +1,8 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  export declare const Wrapper: DefineComponent<{
3
- uiMode?: "admin" | "aplus" | undefined;
4
- lang?: "en" | "zh-cn" | undefined;
3
+ uiMode?: ("admin" | "aplus") | undefined;
4
+ lang?: ("en" | "zh-cn") | undefined;
5
5
  }, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
6
- uiMode?: "admin" | "aplus" | undefined;
7
- lang?: "en" | "zh-cn" | undefined;
6
+ uiMode?: ("admin" | "aplus") | undefined;
7
+ lang?: ("en" | "zh-cn") | undefined;
8
8
  }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -1,3 +1,4 @@
1
+ import { Ref } from 'vue';
1
2
  import { Recordable } from '../type';
2
3
  /**
3
4
  * @description: Set ui mount node
@@ -40,3 +41,10 @@ export declare function runFunction<T extends any[]>(func: any, ...restParams: T
40
41
  */
41
42
  export declare function getRouteType(): "history" | "hash";
42
43
  export declare function getScrollbarSize(): number;
44
+ export type UnwrapRef<T> = T extends Ref<infer U> ? U : T;
45
+ /**
46
+ * 将传入的泛型中所有类型为 Ref<x> 转换为类型 x
47
+ */
48
+ export type UnwrapRefProps<T> = {
49
+ [K in keyof T]: UnwrapRef<T[K]>;
50
+ };