@aplus-frontend/ui 7.6.0 → 7.7.0

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 (299) hide show
  1. package/es/src/ag-grid/hooks/use-columns-def.mjs +32 -31
  2. package/es/src/ag-grid/hooks/use-editable-api.mjs +9 -8
  3. package/es/src/ag-grid/hooks/use-editable-columns.mjs +26 -25
  4. package/es/src/ag-grid/hooks/use-editable-form-item-api.mjs +11 -10
  5. package/es/src/ag-grid/index.vue.mjs +22 -21
  6. package/es/src/ag-grid/renderer/number.mjs +7 -7
  7. package/es/src/ag-grid/style/custom-header.mjs +3 -3
  8. package/es/src/ag-grid/style/index.mjs +1 -1
  9. package/es/src/ap-action/style/index.mjs +1 -1
  10. package/es/src/ap-drawer/style/index.mjs +12 -12
  11. package/es/src/ap-field/hooks/use-default-placeholder.mjs +5 -4
  12. package/es/src/ap-field/number/helper.mjs +1 -1
  13. package/es/src/ap-field/number/index.vue.mjs +9 -9
  14. package/es/src/ap-field/number/read.vue2.mjs +5 -5
  15. package/es/src/ap-field/style/checkbox.d.ts +2 -2
  16. package/es/src/ap-field/style/number.d.ts +2 -2
  17. package/es/src/ap-field/style/radio.d.ts +2 -2
  18. package/es/src/ap-field/style/textarea.d.ts +2 -2
  19. package/es/src/ap-field/switch/index.vue.mjs +4 -3
  20. package/es/src/ap-form/ap-form.vue2.mjs +18 -17
  21. package/es/src/ap-form/item/index.vue.mjs +6 -6
  22. package/es/src/ap-form/item-group/helper.mjs +8 -7
  23. package/es/src/ap-form/item-group/index.vue.mjs +15 -14
  24. package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +1 -1
  25. package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +24 -22
  26. package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +4 -1
  27. package/es/src/ap-form/search-form/hooks/use-sorter.mjs +9 -8
  28. package/es/src/ap-form/search-form/index.vue.mjs +12 -11
  29. package/es/src/ap-form/set/index.vue.mjs +1 -1
  30. package/es/src/ap-form/style/item.mjs +15 -15
  31. package/es/src/ap-form/style/modal-form.mjs +2 -1
  32. package/es/src/ap-form/style/search-form-sorter.mjs +1 -1
  33. package/es/src/ap-form/style/search-form.d.ts +7 -1
  34. package/es/src/ap-form/style/search-form.mjs +37 -34
  35. package/es/src/ap-grid/editable/form-item.vue.mjs +4 -3
  36. package/es/src/ap-grid/editable/index.vue.mjs +4 -3
  37. package/es/src/ap-grid/index.vue.mjs +13 -12
  38. package/es/src/ap-grid/style/editable.mjs +7 -7
  39. package/es/src/ap-grid/style/index.mjs +11 -11
  40. package/es/src/ap-grid/utils/table.mjs +14 -13
  41. package/es/src/ap-list/hooks/use-offline-list.d.ts +2 -2
  42. package/es/src/ap-list/hooks/use-offline-list.mjs +13 -12
  43. package/es/src/ap-list/style/index.mjs +1 -1
  44. package/es/src/ap-pro-card/style/divider.mjs +2 -2
  45. package/es/src/ap-pro-card/style/index.mjs +14 -14
  46. package/es/src/ap-pro-card/style/operation.mjs +1 -2
  47. package/es/src/ap-pro-card/style/statistic.mjs +12 -12
  48. package/es/src/ap-pro-card/style/statistics-card.mjs +13 -13
  49. package/es/src/ap-pro-card/style/title.mjs +13 -33
  50. package/es/src/ap-table/ap-table.vue2.mjs +4 -3
  51. package/es/src/ap-table/hooks/use-table-column-state.mjs +23 -22
  52. package/es/src/ap-table/hooks/use-table-paging-ng.d.ts +2 -2
  53. package/es/src/ap-table/hooks/use-table-paging-ng.mjs +4 -3
  54. package/es/src/ap-table/style/index-comp.d.ts +2 -1
  55. package/es/src/ap-table/style/index-comp.mjs +15 -12
  56. package/es/src/ap-table/style/index.d.ts +3 -0
  57. package/es/src/ap-table/style/index.mjs +14 -11
  58. package/es/src/ap-table/style/setting.d.ts +2 -1
  59. package/es/src/ap-table/style/setting.mjs +73 -61
  60. package/es/src/ap-table/utils.mjs +61 -62
  61. package/es/src/business/ag-grid-modal/modal-layout/index.vue2.mjs +15 -15
  62. package/es/src/business/ag-grid-modal/style/index.d.ts +3 -0
  63. package/es/src/business/ag-grid-modal/style/index.mjs +24 -20
  64. package/es/src/business/ag-grid-modal/style/selected-items.mjs +8 -8
  65. package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +26 -27
  66. package/es/src/business/ap-appendix/style/index.mjs +20 -21
  67. package/es/src/business/ap-attachment/style/index.d.ts +6 -0
  68. package/es/src/business/ap-attachment/style/index.mjs +28 -25
  69. package/es/src/business/ap-batch-action/style/index.d.ts +2 -2
  70. package/es/src/business/ap-batch-action/style/index.mjs +18 -18
  71. package/es/src/business/ap-card/style/index.d.ts +2 -2
  72. package/es/src/business/ap-card/style/index.mjs +8 -8
  73. package/es/src/business/ap-copy/style/index.mjs +16 -22
  74. package/es/src/business/ap-descriptions/formatter/index.mjs +1 -1
  75. package/es/src/business/ap-descriptions/style/index.mjs +6 -5
  76. package/es/src/business/ap-download/style/index.mjs +4 -4
  77. package/es/src/business/ap-draggable-grid/style/index.mjs +7 -7
  78. package/es/src/business/ap-expand-alert/style/index.mjs +30 -26
  79. package/es/src/business/ap-image/style/index.d.ts +2 -2
  80. package/es/src/business/ap-image/style/index.mjs +8 -7
  81. package/es/src/business/ap-input-radio/style/index.mjs +1 -1
  82. package/es/src/business/ap-label/style/index.d.ts +14 -0
  83. package/es/src/business/ap-label/style/index.mjs +29 -19
  84. package/es/src/business/ap-ladder/style/index.mjs +7 -6
  85. package/es/src/business/ap-product-info/style/index.d.ts +10 -0
  86. package/es/src/business/ap-product-info/style/index.mjs +35 -28
  87. package/es/src/business/ap-radio-group/style/index.mjs +3 -3
  88. package/es/src/business/ap-select-layout/style/index.d.ts +6 -0
  89. package/es/src/business/ap-select-layout/style/index.mjs +59 -53
  90. package/es/src/business/ap-size-input/style/index.mjs +3 -3
  91. package/es/src/business/ap-status/style/index.mjs +1 -1
  92. package/es/src/business/ap-summary/style/index.d.ts +10 -0
  93. package/es/src/business/ap-summary/style/index.mjs +18 -11
  94. package/es/src/business/ap-table-modal/style/index.d.ts +11 -1
  95. package/es/src/business/ap-table-modal/style/index.mjs +17 -12
  96. package/es/src/business/ap-tag/style/index.mjs +33 -31
  97. package/es/src/business/ap-title/style/index.d.ts +2 -1
  98. package/es/src/business/ap-title/style/index.mjs +41 -49
  99. package/es/src/business/ap-upload/style/index.mjs +10 -5
  100. package/es/src/business/ap-upload/style/multiple-file.d.ts +2 -2
  101. package/es/src/business/ap-upload/style/multiple-file.mjs +8 -7
  102. package/es/src/business/ap-upload/style/picture.d.ts +3 -2
  103. package/es/src/business/ap-upload/style/picture.mjs +26 -26
  104. package/es/src/business/ap-upload/style/single-file.d.ts +3 -2
  105. package/es/src/business/ap-upload/style/single-file.mjs +30 -29
  106. package/es/src/business/ap-upload/style/token.d.ts +19 -0
  107. package/es/src/business/ap-upload/style/token.mjs +9 -0
  108. package/es/src/business/ap-upload-file/ap-upload-single/style/index.d.ts +24 -2
  109. package/es/src/business/ap-upload-file/ap-upload-single/style/index.mjs +51 -42
  110. package/es/src/business/ap-value-select-card/style/index.mjs +45 -43
  111. package/es/src/business/ap-view/components/main-button-content.vue2.mjs +14 -14
  112. package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +35 -34
  113. package/es/src/business/ap-view/style/index.d.ts +6 -2
  114. package/es/src/business/ap-view/style/index.mjs +43 -35
  115. package/es/src/business/batch-input-group/index.vue.mjs +23 -22
  116. package/es/src/business/batch-input-group/style/index.mjs +2 -2
  117. package/es/src/check-card/style/index.mjs +17 -17
  118. package/es/src/design-token/constants.mjs +9 -1
  119. package/es/src/design-token/interface.d.ts +137 -12
  120. package/es/src/editable-table/form-item.vue.mjs +4 -3
  121. package/es/src/editable-table/index.vue.mjs +4 -3
  122. package/es/src/editable-table/style/index.mjs +11 -11
  123. package/es/src/editable-table/utils.d.ts +1 -1
  124. package/es/src/editable-table/utils.mjs +27 -26
  125. package/es/src/hooks/useMessage.mjs +4 -4
  126. package/es/src/loading-bar/index.vue2.mjs +4 -3
  127. package/es/src/loading-bar/style/index.mjs +10 -10
  128. package/es/src/scroll-view/hooks/use-scroll-smooth.mjs +10 -9
  129. package/es/src/scroll-view/index.vue.mjs +4 -3
  130. package/es/src/splitter/style/index.mjs +11 -11
  131. package/es/src/text/index.vue.mjs +8 -7
  132. package/es/src/utils/cssinjs/TokenUtil.d.ts +1 -0
  133. package/es/src/utils/cssinjs/TokenUtil.mjs +3 -0
  134. package/es/src/utils/decimal.d.ts +36 -0
  135. package/es/src/utils/decimal.mjs +45 -0
  136. package/es/src/utils/format.d.ts +21 -0
  137. package/es/src/utils/format.mjs +32 -0
  138. package/es/src/utils/index.d.ts +2 -1
  139. package/es/src/utils/index.mjs +20 -22
  140. package/es/src/utils/is.d.ts +54 -0
  141. package/es/src/utils/is.mjs +26 -0
  142. package/es/src/utils/slot.mjs +1 -2
  143. package/es/src/version.d.ts +1 -1
  144. package/es/src/version.mjs +1 -1
  145. package/lib/src/ag-grid/hooks/use-columns-def.js +1 -1
  146. package/lib/src/ag-grid/hooks/use-editable-api.js +1 -1
  147. package/lib/src/ag-grid/hooks/use-editable-columns.js +1 -1
  148. package/lib/src/ag-grid/hooks/use-editable-form-item-api.js +1 -1
  149. package/lib/src/ag-grid/index.vue.js +1 -1
  150. package/lib/src/ag-grid/renderer/number.js +1 -1
  151. package/lib/src/ag-grid/style/custom-header.js +1 -1
  152. package/lib/src/ag-grid/style/index.js +1 -1
  153. package/lib/src/ap-action/style/index.js +1 -1
  154. package/lib/src/ap-drawer/style/index.js +1 -1
  155. package/lib/src/ap-field/hooks/use-default-placeholder.js +1 -1
  156. package/lib/src/ap-field/number/helper.js +1 -1
  157. package/lib/src/ap-field/number/index.vue.js +1 -1
  158. package/lib/src/ap-field/number/read.vue2.js +1 -1
  159. package/lib/src/ap-field/style/checkbox.d.ts +2 -2
  160. package/lib/src/ap-field/style/number.d.ts +2 -2
  161. package/lib/src/ap-field/style/radio.d.ts +2 -2
  162. package/lib/src/ap-field/style/textarea.d.ts +2 -2
  163. package/lib/src/ap-field/switch/index.vue.js +1 -1
  164. package/lib/src/ap-form/ap-form.vue2.js +1 -1
  165. package/lib/src/ap-form/item/index.vue.js +1 -1
  166. package/lib/src/ap-form/item-group/helper.js +1 -1
  167. package/lib/src/ap-form/item-group/index.vue.js +1 -1
  168. package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +1 -1
  169. package/lib/src/ap-form/search-form/components/popover-filter.vue2.js +1 -1
  170. package/lib/src/ap-form/search-form/components/popover-sorter/index.vue2.js +1 -1
  171. package/lib/src/ap-form/search-form/hooks/use-sorter.js +1 -1
  172. package/lib/src/ap-form/search-form/index.vue.js +1 -1
  173. package/lib/src/ap-form/set/index.vue.js +1 -1
  174. package/lib/src/ap-form/style/item.js +1 -1
  175. package/lib/src/ap-form/style/modal-form.js +1 -1
  176. package/lib/src/ap-form/style/search-form-sorter.js +1 -1
  177. package/lib/src/ap-form/style/search-form.d.ts +7 -1
  178. package/lib/src/ap-form/style/search-form.js +1 -1
  179. package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
  180. package/lib/src/ap-grid/editable/index.vue.js +1 -1
  181. package/lib/src/ap-grid/index.vue.js +1 -1
  182. package/lib/src/ap-grid/style/editable.js +1 -1
  183. package/lib/src/ap-grid/style/index.js +1 -1
  184. package/lib/src/ap-grid/utils/table.js +1 -1
  185. package/lib/src/ap-list/hooks/use-offline-list.d.ts +2 -2
  186. package/lib/src/ap-list/hooks/use-offline-list.js +1 -1
  187. package/lib/src/ap-list/style/index.js +1 -1
  188. package/lib/src/ap-pro-card/style/divider.js +1 -1
  189. package/lib/src/ap-pro-card/style/index.js +1 -1
  190. package/lib/src/ap-pro-card/style/operation.js +1 -1
  191. package/lib/src/ap-pro-card/style/statistic.js +1 -1
  192. package/lib/src/ap-pro-card/style/statistics-card.js +1 -1
  193. package/lib/src/ap-pro-card/style/title.js +1 -1
  194. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  195. package/lib/src/ap-table/hooks/use-table-column-state.js +1 -1
  196. package/lib/src/ap-table/hooks/use-table-paging-ng.d.ts +2 -2
  197. package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
  198. package/lib/src/ap-table/style/index-comp.d.ts +2 -1
  199. package/lib/src/ap-table/style/index-comp.js +1 -1
  200. package/lib/src/ap-table/style/index.d.ts +3 -0
  201. package/lib/src/ap-table/style/index.js +1 -1
  202. package/lib/src/ap-table/style/setting.d.ts +2 -1
  203. package/lib/src/ap-table/style/setting.js +1 -1
  204. package/lib/src/ap-table/utils.js +1 -1
  205. package/lib/src/business/ag-grid-modal/modal-layout/index.vue2.js +1 -1
  206. package/lib/src/business/ag-grid-modal/style/index.d.ts +3 -0
  207. package/lib/src/business/ag-grid-modal/style/index.js +1 -1
  208. package/lib/src/business/ag-grid-modal/style/selected-items.js +1 -1
  209. package/lib/src/business/ap-appendix/ap-appendix.vue2.js +1 -1
  210. package/lib/src/business/ap-appendix/style/index.js +1 -1
  211. package/lib/src/business/ap-attachment/style/index.d.ts +6 -0
  212. package/lib/src/business/ap-attachment/style/index.js +1 -1
  213. package/lib/src/business/ap-batch-action/style/index.d.ts +2 -2
  214. package/lib/src/business/ap-batch-action/style/index.js +1 -1
  215. package/lib/src/business/ap-card/style/index.d.ts +2 -2
  216. package/lib/src/business/ap-card/style/index.js +1 -1
  217. package/lib/src/business/ap-copy/style/index.js +1 -1
  218. package/lib/src/business/ap-descriptions/formatter/index.js +1 -1
  219. package/lib/src/business/ap-descriptions/style/index.js +1 -1
  220. package/lib/src/business/ap-download/style/index.js +1 -1
  221. package/lib/src/business/ap-draggable-grid/style/index.js +1 -1
  222. package/lib/src/business/ap-expand-alert/style/index.js +1 -1
  223. package/lib/src/business/ap-image/style/index.d.ts +2 -2
  224. package/lib/src/business/ap-image/style/index.js +1 -1
  225. package/lib/src/business/ap-input-radio/style/index.js +1 -1
  226. package/lib/src/business/ap-label/style/index.d.ts +14 -0
  227. package/lib/src/business/ap-label/style/index.js +1 -1
  228. package/lib/src/business/ap-ladder/style/index.js +1 -1
  229. package/lib/src/business/ap-product-info/style/index.d.ts +10 -0
  230. package/lib/src/business/ap-product-info/style/index.js +1 -1
  231. package/lib/src/business/ap-radio-group/style/index.js +1 -1
  232. package/lib/src/business/ap-select-layout/style/index.d.ts +6 -0
  233. package/lib/src/business/ap-select-layout/style/index.js +1 -1
  234. package/lib/src/business/ap-size-input/style/index.js +1 -1
  235. package/lib/src/business/ap-status/style/index.js +1 -1
  236. package/lib/src/business/ap-summary/style/index.d.ts +10 -0
  237. package/lib/src/business/ap-summary/style/index.js +1 -1
  238. package/lib/src/business/ap-table-modal/style/index.d.ts +11 -1
  239. package/lib/src/business/ap-table-modal/style/index.js +1 -1
  240. package/lib/src/business/ap-tag/style/index.js +1 -1
  241. package/lib/src/business/ap-title/style/index.d.ts +2 -1
  242. package/lib/src/business/ap-title/style/index.js +1 -1
  243. package/lib/src/business/ap-upload/style/index.js +1 -1
  244. package/lib/src/business/ap-upload/style/multiple-file.d.ts +2 -2
  245. package/lib/src/business/ap-upload/style/multiple-file.js +1 -1
  246. package/lib/src/business/ap-upload/style/picture.d.ts +3 -2
  247. package/lib/src/business/ap-upload/style/picture.js +1 -1
  248. package/lib/src/business/ap-upload/style/single-file.d.ts +3 -2
  249. package/lib/src/business/ap-upload/style/single-file.js +1 -1
  250. package/lib/src/business/ap-upload/style/token.d.ts +19 -0
  251. package/lib/src/business/ap-upload/style/token.js +1 -0
  252. package/lib/src/business/ap-upload-file/ap-upload-single/style/index.d.ts +24 -2
  253. package/lib/src/business/ap-upload-file/ap-upload-single/style/index.js +1 -1
  254. package/lib/src/business/ap-value-select-card/style/index.js +1 -1
  255. package/lib/src/business/ap-view/components/main-button-content.vue2.js +1 -1
  256. package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -1
  257. package/lib/src/business/ap-view/style/index.d.ts +6 -2
  258. package/lib/src/business/ap-view/style/index.js +1 -1
  259. package/lib/src/business/batch-input-group/index.vue.js +2 -2
  260. package/lib/src/business/batch-input-group/style/index.js +1 -1
  261. package/lib/src/check-card/style/index.js +1 -1
  262. package/lib/src/design-token/constants.js +1 -1
  263. package/lib/src/design-token/interface.d.ts +137 -12
  264. package/lib/src/editable-table/form-item.vue.js +1 -1
  265. package/lib/src/editable-table/index.vue.js +1 -1
  266. package/lib/src/editable-table/style/index.js +1 -1
  267. package/lib/src/editable-table/utils.d.ts +1 -1
  268. package/lib/src/editable-table/utils.js +1 -1
  269. package/lib/src/hooks/useMessage.js +1 -1
  270. package/lib/src/loading-bar/index.vue2.js +1 -1
  271. package/lib/src/loading-bar/style/index.js +3 -3
  272. package/lib/src/scroll-view/hooks/use-scroll-smooth.js +1 -1
  273. package/lib/src/scroll-view/index.vue.js +1 -1
  274. package/lib/src/splitter/style/index.js +1 -1
  275. package/lib/src/text/index.vue.js +1 -1
  276. package/lib/src/utils/cssinjs/TokenUtil.d.ts +1 -0
  277. package/lib/src/utils/cssinjs/TokenUtil.js +1 -1
  278. package/lib/src/utils/decimal.d.ts +36 -0
  279. package/lib/src/utils/decimal.js +1 -0
  280. package/lib/src/utils/format.d.ts +21 -0
  281. package/lib/src/utils/format.js +1 -0
  282. package/lib/src/utils/index.d.ts +2 -1
  283. package/lib/src/utils/index.js +1 -1
  284. package/lib/src/utils/is.d.ts +54 -0
  285. package/lib/src/utils/is.js +1 -0
  286. package/lib/src/utils/slot.js +1 -1
  287. package/lib/src/version.d.ts +1 -1
  288. package/lib/src/version.js +1 -1
  289. package/package.json +4 -4
  290. package/es/src/business/ap-appendix/icons/file-icon.vue.d.ts +0 -3
  291. package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +0 -18
  292. package/es/src/utils/copy-text-to-clipboard.d.ts +0 -1
  293. package/es/src/utils/tree.d.ts +0 -38
  294. package/es/src/utils/uuid.d.ts +0 -2
  295. package/lib/src/business/ap-appendix/icons/file-icon.vue.d.ts +0 -3
  296. package/lib/src/business/ap-appendix/icons/file-icon.vue.js +0 -1
  297. package/lib/src/utils/copy-text-to-clipboard.d.ts +0 -1
  298. package/lib/src/utils/tree.d.ts +0 -38
  299. package/lib/src/utils/uuid.d.ts +0 -2
@@ -15,8 +15,52 @@ import { ApGridToken } from '../ap-grid/style';
15
15
  import { TokenUtil } from '../utils/cssinjs/TokenUtil';
16
16
  import { LoadingBarToken } from '../loading-bar/style';
17
17
  import { HighlightToken } from '../highlight/style';
18
- /** 基础token */
19
- export type BaseToken = {
18
+ import { SearchFormToken } from '../ap-form/style/search-form';
19
+ import { ApUploadToken } from '../business/ap-upload/style/token';
20
+ import { ApUploadSingleToken } from '../business/ap-upload-file/ap-upload-single/style';
21
+ import { ApAttachmentToken } from '../business/ap-attachment/style';
22
+ import { ApLabelToken } from '../business/ap-label/style';
23
+ import { ApSelectLayoutToken } from '../business/ap-select-layout/style';
24
+ import { ApTableModalToken } from '../business/ap-table-modal/style';
25
+ import { ApSummaryToken } from '../business/ap-summary/style';
26
+ import { AppendixToken } from '../business/ap-appendix/style/token';
27
+ import { ApProductInfoToken } from '../business/ap-product-info/style';
28
+ import { ApViewToken } from '../business/ap-view/style';
29
+ export type FontToken = {
30
+ /**
31
+ * 最大号字体
32
+ */
33
+ fontSizeXXL: number;
34
+ /**
35
+ * 超大号字体
36
+ */
37
+ fontSizeXL: number;
38
+ /**
39
+ * 大号字体
40
+ */
41
+ fontSizeLG: number;
42
+ /**
43
+ * 中等尺寸字体
44
+ */
45
+ fontSize: number;
46
+ /**
47
+ * 小尺寸字体
48
+ */
49
+ fontSizeSM: number;
50
+ /**
51
+ * 大型文本行高
52
+ */
53
+ lineHeightLG: number;
54
+ /**
55
+ * 基础行高
56
+ */
57
+ lineHeight: number;
58
+ /**
59
+ * 小型文本行高
60
+ */
61
+ lineHeightSM: number;
62
+ };
63
+ export type ColorToken = {
20
64
  /**
21
65
  * 基础边框色
22
66
  */
@@ -113,37 +157,108 @@ export type BaseToken = {
113
157
  * 控件背景色(一般同主系,但是更浅,适用块选中效果)
114
158
  */
115
159
  colorBgControl: string;
116
- fontSizeXL: number;
117
- fontSizeLG: number;
118
- fontSize: number;
119
- fontSizeSM: number;
120
- lineHeightLG: number;
121
- lineHeight: number;
122
- lineHeightSM: number;
123
- borderRadiusXS: number;
124
- borderRadius: number;
160
+ /**
161
+ * 表格表头背景色
162
+ */
163
+ tableHeaderBg: string;
164
+ };
165
+ export type HeightToken = {
166
+ /**
167
+ * 最小尺寸间距
168
+ */
125
169
  spaceXXS: number;
170
+ /**
171
+ * 极小尺寸间距
172
+ */
126
173
  spaceXS: number;
174
+ /**
175
+ * 小尺寸间距
176
+ */
127
177
  spaceSM: number;
178
+ /**
179
+ * 标准尺寸间距
180
+ */
128
181
  space: number;
182
+ /**
183
+ * 较大尺寸间距
184
+ */
129
185
  spaceMD: number;
186
+ /**
187
+ * 大尺寸间距
188
+ */
130
189
  spaceLG: number;
190
+ /**
191
+ * 极大尺寸间距
192
+ */
131
193
  spaceXL: number;
194
+ /**
195
+ * 最大尺寸间距
196
+ */
132
197
  spaceXXL: number;
198
+ };
199
+ export type MotionToken = {
200
+ /**
201
+ * 动画持续时间-快速,适用于小型元素
202
+ */
203
+ motionDurationFast: string;
204
+ /**
205
+ * 动画持续时间-中等,适用于中型元素
206
+ */
207
+ motionDurationMid: string;
208
+ /**
209
+ * 动画持续时间-慢速,适用于大型元素
210
+ */
211
+ motionDurationSlow: string;
212
+ };
213
+ /** 基础token */
214
+ export type BaseToken = FontToken & ColorToken & HeightToken & MotionToken & {
215
+ /**
216
+ * 最小尺寸圆角
217
+ */
218
+ borderRadiusXS: number;
219
+ /**
220
+ * 小尺寸圆角
221
+ */
222
+ borderRadiusSM: number;
223
+ /**
224
+ * 标准尺寸圆角
225
+ */
226
+ borderRadius: number;
227
+ /**
228
+ * 滚动条滑块颜色
229
+ */
133
230
  scrollbarThumbColorBase: string;
231
+ /**
232
+ * hover时滚动条滑块颜色
233
+ */
134
234
  scrollbarThumbColorHover: string;
235
+ /**
236
+ * hover时滚动条滑轨颜色
237
+ */
135
238
  scrollbarTrackColorHover: string;
136
- tableHeaderBg: string;
239
+ /**
240
+ * 基础线宽
241
+ */
242
+ lineWidth: number;
243
+ /**
244
+ * 线条样式
245
+ */
246
+ lineType: string;
137
247
  /**
138
248
  * 多行文本显示时指定显示的最大行数
139
249
  */
140
250
  lineClamp: number;
251
+ /**
252
+ * 控件高度
253
+ */
254
+ controlHeight: number;
141
255
  };
142
256
  /** 组件token */
143
257
  export type ComponentsToken = {
144
258
  ApAction: ActionToken;
145
259
  CheckCard: CheckCardToken;
146
260
  ApForm: ApFormToken;
261
+ SearchForm: SearchFormToken;
147
262
  ApList: ApListToken;
148
263
  Scrollbar: ScrollbarToken;
149
264
  Mask: MaskToken;
@@ -156,6 +271,16 @@ export type ComponentsToken = {
156
271
  ApGrid: ApGridToken;
157
272
  LoadingBar: LoadingBarToken;
158
273
  Highlight: HighlightToken;
274
+ ApUpload: ApUploadToken;
275
+ ApUploadSingle: ApUploadSingleToken;
276
+ ApAttachment: ApAttachmentToken;
277
+ ApLabel: ApLabelToken;
278
+ ApSelectLayout: ApSelectLayoutToken;
279
+ ApTableModal: ApTableModalToken;
280
+ ApSummary: ApSummaryToken;
281
+ ApAppendix: AppendixToken;
282
+ ApProductInfo: ApProductInfoToken;
283
+ ApView: ApViewToken;
159
284
  };
160
285
  /** 全量token */
161
286
  export type FullToken = BaseToken & {
@@ -4,7 +4,7 @@ import { ApForm as b } from "../ap-form/index.mjs";
4
4
  import { isUndefined as M, isNumber as f, cloneDeep as ee, isArray as te, omit as g } from "lodash-unified";
5
5
  import "../config-provider/index.mjs";
6
6
  import { useInjectForm as ae } from "../ap-form/context.mjs";
7
- import { isDef as w } from "../utils/index.mjs";
7
+ import "../utils/index.mjs";
8
8
  import oe from "./hooks/use-get-columns.mjs";
9
9
  import { scrollToRowIndex as ne } from "./utils.mjs";
10
10
  import { getModelValue as le } from "../ap-form/utils/get.mjs";
@@ -12,7 +12,8 @@ import { useDevWarning as se } from "../utils/warning.mjs";
12
12
  import re from "./style/index.mjs";
13
13
  import { useNamespace as ie } from "../config-provider/hooks/use-namespace.mjs";
14
14
  import { useGlobalConfig as ue } from "../config-provider/hooks/use-global-config.mjs";
15
- const Ie = /* @__PURE__ */ A({
15
+ import { isDef as w } from "../utils/is.mjs";
16
+ const Te = /* @__PURE__ */ A({
16
17
  name: "EditableTableFormItem",
17
18
  __name: "form-item",
18
19
  props: {
@@ -226,5 +227,5 @@ const Ie = /* @__PURE__ */ A({
226
227
  }
227
228
  });
228
229
  export {
229
- Ie as default
230
+ Te as default
230
231
  };
@@ -4,7 +4,7 @@ import { ApForm as m } from "../ap-form/index.mjs";
4
4
  import { isEqual as ae, isArray as c, isUndefined as ne, isNumber as h, cloneDeep as oe, omit as x } from "lodash-unified";
5
5
  import "../config-provider/index.mjs";
6
6
  import "../hooks/index.mjs";
7
- import { isDef as y } from "../utils/index.mjs";
7
+ import "../utils/index.mjs";
8
8
  import { scrollToRowIndex as le } from "./utils.mjs";
9
9
  import se from "./hooks/use-get-columns.mjs";
10
10
  import { useDevWarning as re } from "../utils/warning.mjs";
@@ -12,7 +12,8 @@ import ue from "./style/index.mjs";
12
12
  import { useNamespace as ie } from "../config-provider/hooks/use-namespace.mjs";
13
13
  import { useControllableValue as de } from "../hooks/useControllableValue.mjs";
14
14
  import { useGlobalConfig as fe } from "../config-provider/hooks/use-global-config.mjs";
15
- const Ee = /* @__PURE__ */ H({
15
+ import { isDef as y } from "../utils/is.mjs";
16
+ const Ve = /* @__PURE__ */ H({
16
17
  name: "EditableTable",
17
18
  __name: "index",
18
19
  props: {
@@ -251,5 +252,5 @@ const Ee = /* @__PURE__ */ H({
251
252
  }
252
253
  });
253
254
  export {
254
- Ee as default
255
+ Ve as default
255
256
  };
@@ -5,11 +5,11 @@ const n = (a) => {
5
5
  return {
6
6
  [t]: {
7
7
  ".ant-form-item": {
8
- marginBlockEnd: "16px"
8
+ marginBlockEnd: a.spaceXL
9
9
  },
10
10
  [`${t}__header-cell--required`]: {
11
- color: "#FF4D4F",
12
- paddingInlineEnd: "2px"
11
+ color: a.colorError,
12
+ paddingInlineEnd: a.spaceXXS
13
13
  },
14
14
  ".ant-pagination": {
15
15
  marginBlockEnd: "0 !important",
@@ -24,24 +24,24 @@ const n = (a) => {
24
24
  backgroundColor: a.editableTableHeaderBg
25
25
  },
26
26
  ".ant-table.ant-table-middle .ant-table-row .ant-table-cell:has(.is-editable)": {
27
- paddingBlockStart: "16px",
27
+ paddingBlockStart: a.spaceXL,
28
28
  paddingBlockEnd: 0
29
29
  },
30
30
  ".ant-table.ant-table-middle .ant-table-row .ant-table-cell": {
31
- padding: "12px"
31
+ padding: a.spaceLG
32
32
  },
33
33
  ".ant-table.ant-table-middle .ant-table-thead .ant-table-cell": {
34
- padding: "12px"
34
+ padding: a.spaceLG
35
35
  },
36
36
  ".ant-table.ant-table-small .ant-table-row .ant-table-cell:has(.is-editable)": {
37
- paddingBlockStart: "16px",
37
+ paddingBlockStart: a.spaceXL,
38
38
  paddingBlockEnd: 0
39
39
  },
40
40
  ".ant-table.ant-table-small .ant-table-row .ant-table-cell": {
41
- padding: "8px"
41
+ padding: a.space
42
42
  },
43
43
  ".ant-table.ant-table-small .ant-table-thead .ant-table-cell": {
44
- padding: "8px"
44
+ padding: a.space
45
45
  },
46
46
  ".ant-table-placeholder .ant-table-expanded-row-fixed": {
47
47
  "&::after": {
@@ -62,7 +62,7 @@ const n = (a) => {
62
62
  }
63
63
  }
64
64
  };
65
- }, o = l(
65
+ }, r = l(
66
66
  "EditableTable",
67
67
  (a) => [n(a)],
68
68
  {
@@ -70,6 +70,6 @@ const n = (a) => {
70
70
  }
71
71
  );
72
72
  export {
73
- o as default,
73
+ r as default,
74
74
  n as genEditableTableStyle
75
75
  };
@@ -16,7 +16,7 @@ export declare function getEditableComponent(valueType: EditableColumnType['valu
16
16
  * @param column
17
17
  * @returns
18
18
  */
19
- export declare function getColumnIsRequired(column: EditableColumnType<any, 'text', 'text'>): boolean;
19
+ export declare function getColumnIsRequired(column: EditableColumnType<any, 'text', 'text'>): NonNullable<boolean | undefined>;
20
20
  /**
21
21
  * 获取ellipsis模式下最终需要渲染的字符串
22
22
  * @param column
@@ -1,15 +1,16 @@
1
1
  import { isVNode as C, createVNode as i, mergeProps as R, createTextVNode as h, Fragment as I } from "vue";
2
2
  import { isFunction as c, isArray as T, isBoolean as S, omit as F, isString as x } from "lodash-unified";
3
3
  import { apTableFormItemMap as q, noRenderAsFormItemValueList as w, apTableRenderItemMap as P } from "../ap-table/constants.mjs";
4
- import { isDef as V } from "../utils/index.mjs";
5
- import { getValueStr as N } from "../ap-field/number/helper.mjs";
6
- import j from "scroll-into-view-if-needed";
7
- import { Typography as v, Tooltip as A } from "@aplus-frontend/antdv";
4
+ import "../utils/index.mjs";
5
+ import { getValueStr as V } from "../ap-field/number/helper.mjs";
6
+ import N from "scroll-into-view-if-needed";
7
+ import { Typography as j, Tooltip as v } from "@aplus-frontend/antdv";
8
8
  import "../ap-form/index.mjs";
9
- import { objectToString as M, getTableRenderType as O } from "../ap-table/utils.mjs";
10
- import { QuestionCircleOutlined as W } from "@ant-design/icons-vue";
11
- import y from "../ap-form/item/index.vue.mjs";
12
- function m(e) {
9
+ import { objectToString as A, getTableRenderType as M } from "../ap-table/utils.mjs";
10
+ import { QuestionCircleOutlined as O } from "@ant-design/icons-vue";
11
+ import { isDef as W } from "../utils/is.mjs";
12
+ import m from "../ap-form/item/index.vue.mjs";
13
+ function y(e) {
13
14
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !C(e);
14
15
  }
15
16
  function _(e) {
@@ -21,18 +22,18 @@ function k(e) {
21
22
  if (!e.fieldProps)
22
23
  return !1;
23
24
  const t = c(e.fieldProps) ? e.fieldProps({}) : e.fieldProps;
24
- return V(t.required) ? t.required : (T(t.rules) ? t.rules : t.rules ? [t.rules] : []).some((o) => o.required);
25
+ return W(t.required) ? t.required : (T(t.rules) ? t.rules : t.rules ? [t.rules] : []).some((o) => o.required);
25
26
  }
26
27
  function D(e, t) {
27
28
  if (e.valueType === "text" || e.valueType === "textArea")
28
29
  return t || "--";
29
30
  if (e.valueType === "number") {
30
31
  const r = e.fieldProps ? c(e.fieldProps) ? e.fieldProps({}) : e.fieldProps : {};
31
- return N(t, r) || "--";
32
+ return V(t, r) || "--";
32
33
  }
33
- return M(t);
34
+ return A(t);
34
35
  }
35
- function $(e, t) {
36
+ function ee(e, t) {
36
37
  const r = [e];
37
38
  if (t) {
38
39
  const o = T(t) ? t : [t];
@@ -40,9 +41,9 @@ function $(e, t) {
40
41
  }
41
42
  return r.join(" ");
42
43
  }
43
- function ee(e, t = document.body, r = {}) {
44
+ function te(e, t = document.body, r = {}) {
44
45
  const o = t.querySelectorAll("tr.ant-table-row")[e];
45
- o && j(o, {
46
+ o && N(o, {
46
47
  scrollMode: "if-needed",
47
48
  block: "nearest",
48
49
  behavior: "smooth",
@@ -50,7 +51,7 @@ function ee(e, t = document.body, r = {}) {
50
51
  });
51
52
  }
52
53
  function E(e, t, r) {
53
- return w.includes(e.valueType) ? r : e.copyable || e.ellipsis ? i(v.Paragraph, {
54
+ return w.includes(e.valueType) ? r : e.copyable || e.ellipsis ? i(j.Paragraph, {
54
55
  copyable: e.copyable ? {
55
56
  text: t,
56
57
  tooltip: !1
@@ -64,11 +65,11 @@ function E(e, t, r) {
64
65
  content: e.ellipsis ? D(e, t) : r
65
66
  }, null) : r;
66
67
  }
67
- function te(e, t, r, o, p, n) {
68
+ function re(e, t, r, o, p, n) {
68
69
  if (t) {
69
70
  if (e.customRenderFormItem) {
70
71
  const f = e.customRenderFormItem(e, r.field, t, p);
71
- return i(y, F(r, ["field"]), m(f) ? f : {
72
+ return i(m, F(r, ["field"]), y(f) ? f : {
72
73
  default: () => [f]
73
74
  });
74
75
  }
@@ -76,17 +77,17 @@ function te(e, t, r, o, p, n) {
76
77
  if (a)
77
78
  return i(a, r, null);
78
79
  const l = n?.[e.valueType]?.renderFormItem?.(r.field);
79
- return l ? i(y, r, m(l) ? l : {
80
+ return l ? i(m, r, y(l) ? l : {
80
81
  default: () => [l]
81
82
  }) : null;
82
83
  }
83
84
  let s;
84
- const u = O(e), d = P[u];
85
+ const u = M(e), d = P[u];
85
86
  return d ? s = i(d, R(r.field, {
86
87
  mode: "read"
87
88
  }), null) : s = n?.[u]?.render?.(o, p, r.field), s ? E(e, o, s) : null;
88
89
  }
89
- function re(e, t, r, o, p) {
90
+ function oe(e, t, r, o, p) {
90
91
  const n = o?.({
91
92
  title: e.title,
92
93
  column: e
@@ -105,11 +106,11 @@ function re(e, t, r, o, p) {
105
106
  alignItems: "center",
106
107
  maxWidth: "100%"
107
108
  }
108
- }, [l, i(A, {
109
+ }, [l, i(v, {
109
110
  title: f,
110
111
  placement: "bottom"
111
112
  }, {
112
- default: () => [i(W, {
113
+ default: () => [i(O, {
113
114
  style: {
114
115
  padding: "4px",
115
116
  color: p,
@@ -121,9 +122,9 @@ function re(e, t, r, o, p) {
121
122
  export {
122
123
  k as getColumnIsRequired,
123
124
  _ as getEditableComponent,
124
- re as getEditableTableTitle,
125
- te as getFinalNode,
125
+ oe as getEditableTableTitle,
126
+ re as getFinalNode,
126
127
  D as getRawDisplayValue,
127
- $ as mergeClass,
128
- ee as scrollToRowIndex
128
+ ee as mergeClass,
129
+ te as scrollToRowIndex
129
130
  };
@@ -2,7 +2,7 @@ import { createVNode as o } from "vue";
2
2
  import { Modal as r, notification as i, message as s } from "@aplus-frontend/antdv";
3
3
  import { InfoCircleFilled as c, CheckCircleFilled as f, CloseCircleFilled as d } from "@ant-design/icons-vue";
4
4
  import "../config-provider/index.mjs";
5
- import { isType as m } from "@fruits-chain/utils";
5
+ import { isString as m } from "lodash-unified";
6
6
  import { useLocale as g } from "../config-provider/hooks/use-locale.mjs";
7
7
  function l(e) {
8
8
  return e === "warning" ? o(c, {
@@ -18,7 +18,7 @@ function l(e) {
18
18
  function a({
19
19
  content: e
20
20
  }) {
21
- return m("String")(e) ? o("div", {
21
+ return m(e) ? o("div", {
22
22
  innerHTML: `<div>${e}</div>`
23
23
  }, null) : e;
24
24
  }
@@ -69,7 +69,7 @@ i.config({
69
69
  placement: "topRight",
70
70
  duration: 3
71
71
  });
72
- function O() {
72
+ function R() {
73
73
  return {
74
74
  createMessage: s,
75
75
  notification: i,
@@ -82,5 +82,5 @@ function O() {
82
82
  };
83
83
  }
84
84
  export {
85
- O as useMessage
85
+ R as useMessage
86
86
  };
@@ -1,10 +1,11 @@
1
1
  import { defineComponent as $, computed as u, ref as o, watch as n, onMounted as L, onBeforeUnmount as M, createBlock as N, openBlock as X, Transition as E, unref as h, withCtx as G, withDirectives as U, createElementVNode as _, normalizeStyle as z, normalizeClass as P, vShow as V } from "vue";
2
2
  import "../config-provider/index.mjs";
3
3
  import j from "./style/index.mjs";
4
- import { isDef as k } from "../utils/index.mjs";
4
+ import "../utils/index.mjs";
5
5
  import { useToken as H } from "../config-provider/hooks/use-token.mjs";
6
6
  import { useNamespace as J } from "../config-provider/hooks/use-namespace.mjs";
7
- const K = ["aria-valuenow"], O = 0.05, ae = /* @__PURE__ */ $({
7
+ import { isDef as k } from "../utils/is.mjs";
8
+ const K = ["aria-valuenow"], O = 0.05, te = /* @__PURE__ */ $({
8
9
  __name: "index",
9
10
  props: {
10
11
  defaultProgress: {
@@ -108,5 +109,5 @@ const K = ["aria-valuenow"], O = 0.05, ae = /* @__PURE__ */ $({
108
109
  }
109
110
  });
110
111
  export {
111
- ae as default
112
+ te as default
112
113
  };
@@ -1,10 +1,10 @@
1
- import { keyframes as e } from "@emotion/css";
1
+ import { keyframes as t } from "@emotion/css";
2
2
  import { genComponentStyleHook as i } from "../../utils/cssinjs/index.mjs";
3
- const s = {
3
+ const c = {
4
4
  loadingBarAnimateDuration: 250
5
5
  };
6
- function c() {
7
- const a = e`
6
+ function s() {
7
+ const a = t`
8
8
  0% {
9
9
  opacity: 0;
10
10
  }
@@ -12,7 +12,7 @@ function c() {
12
12
  100% {
13
13
  opacity: 1;
14
14
  }
15
- `, n = e`
15
+ `, n = t`
16
16
  0% {
17
17
  opacity: 1;
18
18
  }
@@ -24,7 +24,7 @@ function c() {
24
24
  return [a, n];
25
25
  }
26
26
  const m = (a) => {
27
- const [n, t] = c(), { componentCls: o, loadingBarAnimateDuration: r } = a;
27
+ const [n, e] = s(), { componentCls: o, loadingBarAnimateDuration: r } = a;
28
28
  return {
29
29
  [o]: {
30
30
  position: "absolute",
@@ -35,7 +35,7 @@ const m = (a) => {
35
35
  width: "100%",
36
36
  height: "100%",
37
37
  pointerEvents: "none",
38
- transition: "background-color .25s ease, transform .25s ease",
38
+ transition: `background-color ${a.motionDurationMid} ease, transform ${a.motionDurationMid} ease`,
39
39
  willChange: "transform"
40
40
  },
41
41
  "&--default": {
@@ -64,7 +64,7 @@ const m = (a) => {
64
64
  animationDuration: `${r}ms`
65
65
  },
66
66
  "&-leave-active": {
67
- animationName: t,
67
+ animationName: e,
68
68
  animationDuration: `${r}ms`
69
69
  }
70
70
  }
@@ -73,13 +73,13 @@ const m = (a) => {
73
73
  }, u = i(
74
74
  "LoadingBar",
75
75
  (a) => [m(a)],
76
- s,
76
+ c,
77
77
  {
78
78
  skipUnit: ["loadingBarAnimateDuration"]
79
79
  }
80
80
  );
81
81
  export {
82
82
  u as default,
83
- c as genFadeKeyFrames,
83
+ s as genFadeKeyFrames,
84
84
  m as genLoadingBarStyle
85
85
  };
@@ -1,20 +1,21 @@
1
1
  import "../../scroll-bar/index.mjs";
2
2
  import { useRafFn as R } from "@vueuse/core";
3
- import { isDef as f } from "../../utils/index.mjs";
3
+ import "../../utils/index.mjs";
4
4
  import { ensureRangeValue as s } from "../../scroll-bar/utils/index.mjs";
5
+ import { isDef as f } from "../../utils/is.mjs";
5
6
  const g = () => {
6
- }, b = (i) => 1 - Math.pow(1 - i, 3), V = ({
7
+ }, b = (i) => 1 - Math.pow(1 - i, 3), X = ({
7
8
  scrollOffset: i,
8
9
  maxScrollDistance: r,
9
10
  timer: l = 500,
10
- onScroll: u = g,
11
+ onScroll: m = g,
11
12
  onScrollEnd: T = g
12
13
  }) => {
13
- let m, e, t, o, n;
14
+ let u, e, t, o, n;
14
15
  const { pause: a, resume: w, isActive: p } = R(
15
16
  () => {
16
- const v = Date.now() - m, c = s(v / l, 0, 1), y = b(c);
17
- c === 1 ? (o && (i.x = t.x), n && (i.y = t.y), a(), u(o, n), T(o, n)) : (o && (t.x > e.x ? i.x = s(
17
+ const v = Date.now() - u, c = s(v / l, 0, 1), y = b(c);
18
+ c === 1 ? (o && (i.x = t.x), n && (i.y = t.y), a(), m(o, n), T(o, n)) : (o && (t.x > e.x ? i.x = s(
18
19
  e.x + (t.x - e.x) * y,
19
20
  e.x,
20
21
  r.x
@@ -30,12 +31,12 @@ const g = () => {
30
31
  t.y + (e.y - t.y) * (1 - y),
31
32
  0,
32
33
  e.y
33
- )), u(o, n));
34
+ )), m(o, n));
34
35
  },
35
36
  { immediate: !1 }
36
37
  );
37
38
  function d(x) {
38
- p.value && a(), m = Date.now(), e = {
39
+ p.value && a(), u = Date.now(), e = {
39
40
  x: i.x,
40
41
  y: i.y
41
42
  }, t = x, o = f(x.x), n = f(x.y), w();
@@ -46,5 +47,5 @@ const g = () => {
46
47
  return { start: d, stop: h, isActive: p };
47
48
  };
48
49
  export {
49
- V as useScrollSmooth
50
+ X as useScrollSmooth
50
51
  };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as ue, ref as he, reactive as pe, computed as v, unref as a, watchEffect as _, watch as ye, createElementBlock as me, openBlock as P, withModifiers as M, normalizeStyle as A, normalizeClass as w, createElementVNode as z, renderSlot as de, createBlock as L, createCommentVNode as O, mergeProps as I } from "vue";
2
2
  import "../config-provider/index.mjs";
3
3
  import "../scroll-bar/index.mjs";
4
- import { isDef as f } from "../utils/index.mjs";
4
+ import "../utils/index.mjs";
5
5
  import { ensureRangeValue as n, getScrollable as k } from "../scroll-bar/utils/index.mjs";
6
6
  import ve from "./hooks/use-scroll-wrapper.mjs";
7
7
  import { isString as T } from "lodash-unified";
@@ -12,8 +12,9 @@ import { useScrollSmooth as Be } from "./hooks/use-scroll-smooth.mjs";
12
12
  import { getElementScrollOffset as Se } from "./utils/index.mjs";
13
13
  import ge from "./style/index.mjs";
14
14
  import { useNamespace as be } from "../config-provider/hooks/use-namespace.mjs";
15
+ import { isDef as f } from "../utils/is.mjs";
15
16
  import F from "../scroll-bar/internal.vue.mjs";
16
- const Ae = /* @__PURE__ */ ue({
17
+ const Le = /* @__PURE__ */ ue({
17
18
  name: "ScrollView",
18
19
  __name: "index",
19
20
  props: {
@@ -248,5 +249,5 @@ const Ae = /* @__PURE__ */ ue({
248
249
  }
249
250
  });
250
251
  export {
251
- Ae as default
252
+ Le as default
252
253
  };