@aplus-frontend/ui 7.0.0-beta.2 → 7.0.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 (303) hide show
  1. package/es/index.mjs +216 -218
  2. package/es/src/ag-grid/editable/form-item.vue.mjs +68 -63
  3. package/es/src/ag-grid/editable/index.vue.mjs +66 -61
  4. package/es/src/ag-grid/editable/interface.d.ts +3 -1
  5. package/es/src/ag-grid/hooks/use-columns-def.mjs +71 -70
  6. package/es/src/ag-grid/hooks/use-editable-form-item-api.mjs +65 -63
  7. package/es/src/ag-grid/index.vue.mjs +1 -0
  8. package/es/src/ag-grid/interface.d.ts +1 -0
  9. package/es/src/ag-grid/style/custom-header.d.ts +2 -2
  10. package/es/src/ag-grid/style/editable.d.ts +2 -2
  11. package/es/src/ag-grid/style/index.d.ts +30 -3
  12. package/es/src/ag-grid/style/index.mjs +56 -43
  13. package/es/src/ag-grid/theme.mjs +12 -11
  14. package/es/src/ap-action/item/index.vue2.mjs +14 -12
  15. package/es/src/ap-action/item-dropdown/index.vue.mjs +18 -17
  16. package/es/src/ap-action/style/dropdown-item.d.ts +2 -2
  17. package/es/src/ap-action/style/dropdown-item.mjs +4 -4
  18. package/es/src/ap-action/style/index.d.ts +7 -4
  19. package/es/src/ap-action/style/index.mjs +29 -23
  20. package/es/src/ap-button/ap-button.vue.mjs +45 -49
  21. package/es/src/ap-button/style/index.d.ts +2 -2
  22. package/es/src/ap-button/style/index.mjs +5 -4
  23. package/es/src/ap-button/utils/index.mjs +16 -16
  24. package/es/src/ap-descriptions/style/index.d.ts +2 -2
  25. package/es/src/ap-download/ap-download.vue.d.ts +4 -4
  26. package/es/src/ap-download/ap-download.vue.mjs +27 -27
  27. package/es/src/ap-download/hooks/useStyle.mjs +9 -9
  28. package/es/src/ap-download/interface.d.ts +4 -0
  29. package/es/src/ap-download/style/index.d.ts +2 -2
  30. package/es/src/ap-drawer/style/index.d.ts +2 -2
  31. package/es/src/ap-field/style/index.d.ts +2 -2
  32. package/es/src/ap-form/style/drawer-form.d.ts +2 -2
  33. package/es/src/ap-form/style/item-group.d.ts +2 -2
  34. package/es/src/ap-form/style/item-text-group.d.ts +2 -2
  35. package/es/src/ap-form/style/item.d.ts +3 -4
  36. package/es/src/ap-form/style/item.mjs +12 -16
  37. package/es/src/ap-form/style/modal-form.d.ts +4 -3
  38. package/es/src/ap-form/style/modal-form.mjs +26 -13
  39. package/es/src/ap-form/style/search-form-sorter.d.ts +4 -3
  40. package/es/src/ap-form/style/search-form-sorter.mjs +20 -13
  41. package/es/src/ap-form/style/search-form.d.ts +2 -2
  42. package/es/src/ap-form/style/token.d.ts +25 -1
  43. package/es/src/ap-grid/hooks/use-table-style.mjs +1 -1
  44. package/es/src/ap-grid/index.vue.mjs +2 -2
  45. package/es/src/ap-grid/style/editable.d.ts +2 -2
  46. package/es/src/ap-grid/style/index.d.ts +6 -3
  47. package/es/src/ap-grid/style/index.mjs +10 -7
  48. package/es/src/ap-grid/utils/col.mjs +33 -33
  49. package/es/src/ap-list/style/index.d.ts +2 -2
  50. package/es/src/ap-modal/interface.d.ts +31 -11
  51. package/es/src/ap-modal/utils/createModal.mjs +52 -45
  52. package/es/src/ap-pro-card/style/divider.d.ts +2 -2
  53. package/es/src/ap-pro-card/style/index.d.ts +2 -2
  54. package/es/src/ap-pro-card/style/operation.d.ts +2 -2
  55. package/es/src/ap-pro-card/style/statistic.d.ts +2 -2
  56. package/es/src/ap-pro-card/style/statistics-card.d.ts +2 -2
  57. package/es/src/ap-pro-card/style/title.d.ts +2 -2
  58. package/es/src/ap-table/ap-table.vue2.mjs +2 -2
  59. package/es/src/ap-table/style/ellipsis.d.ts +2 -2
  60. package/es/src/ap-table/style/index-comp.d.ts +2 -2
  61. package/es/src/ap-table/style/index.d.ts +2 -2
  62. package/es/src/ap-table/style/setting.d.ts +2 -2
  63. package/es/src/ap-table/utils.mjs +14 -11
  64. package/es/src/ap-tag/ap-tag.vue.mjs +7 -6
  65. package/es/src/ap-tag/style/group.d.ts +2 -2
  66. package/es/src/ap-tag/style/index.d.ts +2 -2
  67. package/es/src/ap-upload/style/index.d.ts +2 -2
  68. package/es/src/business/ag-grid-modal/style/index.d.ts +2 -2
  69. package/es/src/business/ag-grid-modal/style/selected-items.d.ts +2 -2
  70. package/es/src/business/ag-grid-modal/utils.mjs +23 -23
  71. package/es/src/business/ap-appendix/style/index.d.ts +5 -4
  72. package/es/src/business/ap-appendix/style/index.mjs +20 -17
  73. package/es/src/business/ap-appendix/style/token.d.ts +4 -0
  74. package/es/src/business/ap-appendix/style/token.mjs +6 -0
  75. package/es/src/business/ap-attachment/ApAttachment.mjs +64 -60
  76. package/es/src/business/ap-attachment/style/index.d.ts +2 -2
  77. package/es/src/business/ap-attachment/style/index.mjs +1 -0
  78. package/es/src/business/ap-batch-action/style/index.d.ts +3 -3
  79. package/es/src/business/ap-batch-action/style/index.mjs +4 -4
  80. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +50 -56
  81. package/es/src/business/ap-batch-action-group/style/index.d.ts +3 -0
  82. package/es/src/business/ap-batch-action-group/style/index.mjs +14 -0
  83. package/es/src/business/ap-card/style/index.d.ts +3 -3
  84. package/es/src/business/ap-card/style/index.mjs +8 -8
  85. package/es/src/business/ap-copy/style/index.d.ts +2 -2
  86. package/es/src/business/ap-draggable-grid/style/index.d.ts +2 -2
  87. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -2
  88. package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +57 -49
  89. package/es/src/business/ap-expand-alert/index.d.ts +5 -2
  90. package/es/src/business/ap-expand-alert/interface.d.ts +1 -1
  91. package/es/src/business/ap-expand-alert/style/index.d.ts +2 -2
  92. package/es/src/business/ap-image/style/index.d.ts +3 -3
  93. package/es/src/business/ap-image/style/index.mjs +6 -6
  94. package/es/src/business/ap-input-radio/style/index.d.ts +2 -2
  95. package/es/src/business/ap-label/style/index.d.ts +2 -2
  96. package/es/src/business/ap-ladder/style/index.d.ts +2 -2
  97. package/es/src/business/ap-product-info/style/index.d.ts +2 -2
  98. package/es/src/business/ap-radio-group/style/index.d.ts +2 -2
  99. package/es/src/business/ap-radio-group/style/index.mjs +3 -3
  100. package/es/src/business/ap-select-layout/style/index.d.ts +2 -2
  101. package/es/src/business/ap-size-input/style/index.d.ts +2 -2
  102. package/es/src/business/ap-status/style/index.d.ts +2 -2
  103. package/es/src/business/ap-summary/style/index.d.ts +2 -2
  104. package/es/src/business/ap-table-modal/style/index.d.ts +2 -2
  105. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +23 -23
  106. package/es/src/business/ap-title/style/index.d.ts +2 -2
  107. package/es/src/business/ap-upload-file/ap-upload-single/style/index.d.ts +2 -2
  108. package/es/src/business/ap-value-select-card/style/index.d.ts +2 -2
  109. package/es/src/business/ap-view/style/index.d.ts +3 -3
  110. package/es/src/business/ap-view/style/index.mjs +19 -22
  111. package/es/src/business/batch-input-group/style/index.d.ts +5 -2
  112. package/es/src/business/batch-input-group/style/index.mjs +9 -5
  113. package/es/src/business/hooks/usePageListAgGrid.mjs +7 -6
  114. package/es/src/check-card/style/index.d.ts +2 -2
  115. package/es/src/check-card/style/index.mjs +37 -31
  116. package/es/src/config-provider/config-provider.d.ts +1 -2
  117. package/es/src/config-provider/hooks/use-global-config.d.ts +1 -2
  118. package/es/src/config-provider/hooks/use-global-config.mjs +42 -33
  119. package/es/src/config-provider/hooks/use-token.d.ts +7 -2
  120. package/es/src/config-provider/hooks/use-token.mjs +6 -3
  121. package/es/src/config-provider/index.d.ts +1 -2
  122. package/es/src/design-token/constants.d.ts +1 -6
  123. package/es/src/design-token/constants.mjs +2 -100
  124. package/es/src/design-token/index.d.ts +1 -1
  125. package/es/src/design-token/index.mjs +5 -6
  126. package/es/src/design-token/interface.d.ts +9 -1
  127. package/es/src/design-token/interface.mjs +1 -0
  128. package/es/src/editable-table/style/index.d.ts +2 -2
  129. package/es/src/full-screen/index.vue.mjs +31 -30
  130. package/es/src/full-screen/style/index.d.ts +2 -2
  131. package/es/src/index.mjs +196 -198
  132. package/es/src/mask/style/index.d.ts +2 -2
  133. package/es/src/mask/style/index.mjs +2 -2
  134. package/es/src/scroll-bar/style/index.d.ts +2 -2
  135. package/es/src/scroll-bar/style/index.mjs +17 -17
  136. package/es/src/scroll-view/style/index.d.ts +2 -2
  137. package/es/src/splitter/style/index.d.ts +11 -3
  138. package/es/src/splitter/style/index.mjs +1 -2
  139. package/es/src/text/style/group.d.ts +2 -2
  140. package/es/src/text/style/index.d.ts +6 -3
  141. package/es/src/text/style/index.mjs +22 -18
  142. package/es/src/utils/cssinjs/index.d.ts +3 -7
  143. package/es/src/utils/cssinjs/index.mjs +55 -39
  144. package/es/src/utils/cssinjs/instance.mjs +7 -7
  145. package/es/src/utils/cssinjs/plugin-append-cssvar.d.ts +6 -0
  146. package/es/src/utils/cssinjs/plugin-append-cssvar.mjs +6 -0
  147. package/es/src/utils/cssinjs/plugin-specificity.mjs +6 -6
  148. package/es/src/utils/cssinjs/utils.d.ts +6 -0
  149. package/es/src/utils/cssinjs/utils.mjs +15 -0
  150. package/es/src/version.d.ts +1 -1
  151. package/es/src/version.mjs +1 -1
  152. package/lib/index.js +1 -1
  153. package/lib/src/ag-grid/editable/form-item.vue.js +1 -1
  154. package/lib/src/ag-grid/editable/index.vue.js +1 -1
  155. package/lib/src/ag-grid/editable/interface.d.ts +3 -1
  156. package/lib/src/ag-grid/hooks/use-columns-def.js +1 -1
  157. package/lib/src/ag-grid/hooks/use-editable-form-item-api.js +1 -1
  158. package/lib/src/ag-grid/index.vue.js +1 -1
  159. package/lib/src/ag-grid/interface.d.ts +1 -0
  160. package/lib/src/ag-grid/style/custom-header.d.ts +2 -2
  161. package/lib/src/ag-grid/style/editable.d.ts +2 -2
  162. package/lib/src/ag-grid/style/index.d.ts +30 -3
  163. package/lib/src/ag-grid/style/index.js +1 -1
  164. package/lib/src/ag-grid/theme.js +1 -1
  165. package/lib/src/ap-action/item/index.vue2.js +1 -1
  166. package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
  167. package/lib/src/ap-action/style/dropdown-item.d.ts +2 -2
  168. package/lib/src/ap-action/style/dropdown-item.js +1 -1
  169. package/lib/src/ap-action/style/index.d.ts +7 -4
  170. package/lib/src/ap-action/style/index.js +1 -1
  171. package/lib/src/ap-button/ap-button.vue.js +1 -1
  172. package/lib/src/ap-button/style/index.d.ts +2 -2
  173. package/lib/src/ap-button/style/index.js +1 -1
  174. package/lib/src/ap-button/utils/index.js +1 -1
  175. package/lib/src/ap-descriptions/style/index.d.ts +2 -2
  176. package/lib/src/ap-download/ap-download.vue.d.ts +4 -4
  177. package/lib/src/ap-download/ap-download.vue.js +1 -1
  178. package/lib/src/ap-download/hooks/useStyle.js +1 -1
  179. package/lib/src/ap-download/interface.d.ts +4 -0
  180. package/lib/src/ap-download/style/index.d.ts +2 -2
  181. package/lib/src/ap-drawer/style/index.d.ts +2 -2
  182. package/lib/src/ap-field/style/index.d.ts +2 -2
  183. package/lib/src/ap-form/style/drawer-form.d.ts +2 -2
  184. package/lib/src/ap-form/style/item-group.d.ts +2 -2
  185. package/lib/src/ap-form/style/item-text-group.d.ts +2 -2
  186. package/lib/src/ap-form/style/item.d.ts +3 -4
  187. package/lib/src/ap-form/style/item.js +1 -1
  188. package/lib/src/ap-form/style/modal-form.d.ts +4 -3
  189. package/lib/src/ap-form/style/modal-form.js +1 -1
  190. package/lib/src/ap-form/style/search-form-sorter.d.ts +4 -3
  191. package/lib/src/ap-form/style/search-form-sorter.js +1 -1
  192. package/lib/src/ap-form/style/search-form.d.ts +2 -2
  193. package/lib/src/ap-form/style/token.d.ts +25 -1
  194. package/lib/src/ap-grid/hooks/use-table-style.js +1 -1
  195. package/lib/src/ap-grid/index.vue.js +1 -1
  196. package/lib/src/ap-grid/style/editable.d.ts +2 -2
  197. package/lib/src/ap-grid/style/index.d.ts +6 -3
  198. package/lib/src/ap-grid/style/index.js +1 -1
  199. package/lib/src/ap-grid/utils/col.js +1 -1
  200. package/lib/src/ap-list/style/index.d.ts +2 -2
  201. package/lib/src/ap-modal/interface.d.ts +31 -11
  202. package/lib/src/ap-modal/utils/createModal.js +1 -1
  203. package/lib/src/ap-pro-card/style/divider.d.ts +2 -2
  204. package/lib/src/ap-pro-card/style/index.d.ts +2 -2
  205. package/lib/src/ap-pro-card/style/operation.d.ts +2 -2
  206. package/lib/src/ap-pro-card/style/statistic.d.ts +2 -2
  207. package/lib/src/ap-pro-card/style/statistics-card.d.ts +2 -2
  208. package/lib/src/ap-pro-card/style/title.d.ts +2 -2
  209. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  210. package/lib/src/ap-table/style/ellipsis.d.ts +2 -2
  211. package/lib/src/ap-table/style/index-comp.d.ts +2 -2
  212. package/lib/src/ap-table/style/index.d.ts +2 -2
  213. package/lib/src/ap-table/style/setting.d.ts +2 -2
  214. package/lib/src/ap-table/utils.js +1 -1
  215. package/lib/src/ap-tag/ap-tag.vue.js +1 -1
  216. package/lib/src/ap-tag/style/group.d.ts +2 -2
  217. package/lib/src/ap-tag/style/index.d.ts +2 -2
  218. package/lib/src/ap-upload/style/index.d.ts +2 -2
  219. package/lib/src/business/ag-grid-modal/style/index.d.ts +2 -2
  220. package/lib/src/business/ag-grid-modal/style/selected-items.d.ts +2 -2
  221. package/lib/src/business/ag-grid-modal/utils.js +1 -1
  222. package/lib/src/business/ap-appendix/style/index.d.ts +5 -4
  223. package/lib/src/business/ap-appendix/style/index.js +1 -1
  224. package/lib/src/business/ap-appendix/style/token.d.ts +4 -0
  225. package/lib/src/business/ap-appendix/style/token.js +1 -0
  226. package/lib/src/business/ap-attachment/ApAttachment.js +1 -1
  227. package/lib/src/business/ap-attachment/style/index.d.ts +2 -2
  228. package/lib/src/business/ap-attachment/style/index.js +1 -1
  229. package/lib/src/business/ap-batch-action/style/index.d.ts +3 -3
  230. package/lib/src/business/ap-batch-action/style/index.js +1 -1
  231. package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.js +1 -1
  232. package/lib/src/business/ap-batch-action-group/style/index.d.ts +3 -0
  233. package/lib/src/business/ap-batch-action-group/style/index.js +1 -0
  234. package/lib/src/business/ap-card/style/index.d.ts +3 -3
  235. package/lib/src/business/ap-card/style/index.js +1 -1
  236. package/lib/src/business/ap-copy/style/index.d.ts +2 -2
  237. package/lib/src/business/ap-draggable-grid/style/index.d.ts +2 -2
  238. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -2
  239. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
  240. package/lib/src/business/ap-expand-alert/index.d.ts +5 -2
  241. package/lib/src/business/ap-expand-alert/interface.d.ts +1 -1
  242. package/lib/src/business/ap-expand-alert/style/index.d.ts +2 -2
  243. package/lib/src/business/ap-image/style/index.d.ts +3 -3
  244. package/lib/src/business/ap-image/style/index.js +1 -1
  245. package/lib/src/business/ap-input-radio/style/index.d.ts +2 -2
  246. package/lib/src/business/ap-label/style/index.d.ts +2 -2
  247. package/lib/src/business/ap-ladder/style/index.d.ts +2 -2
  248. package/lib/src/business/ap-product-info/style/index.d.ts +2 -2
  249. package/lib/src/business/ap-radio-group/style/index.d.ts +2 -2
  250. package/lib/src/business/ap-radio-group/style/index.js +1 -1
  251. package/lib/src/business/ap-select-layout/style/index.d.ts +2 -2
  252. package/lib/src/business/ap-size-input/style/index.d.ts +2 -2
  253. package/lib/src/business/ap-status/style/index.d.ts +2 -2
  254. package/lib/src/business/ap-summary/style/index.d.ts +2 -2
  255. package/lib/src/business/ap-table-modal/style/index.d.ts +2 -2
  256. package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
  257. package/lib/src/business/ap-title/style/index.d.ts +2 -2
  258. package/lib/src/business/ap-upload-file/ap-upload-single/style/index.d.ts +2 -2
  259. package/lib/src/business/ap-value-select-card/style/index.d.ts +2 -2
  260. package/lib/src/business/ap-view/style/index.d.ts +3 -3
  261. package/lib/src/business/ap-view/style/index.js +1 -1
  262. package/lib/src/business/batch-input-group/style/index.d.ts +5 -2
  263. package/lib/src/business/batch-input-group/style/index.js +1 -1
  264. package/lib/src/business/hooks/usePageListAgGrid.js +1 -1
  265. package/lib/src/check-card/style/index.d.ts +2 -2
  266. package/lib/src/check-card/style/index.js +1 -1
  267. package/lib/src/config-provider/config-provider.d.ts +1 -2
  268. package/lib/src/config-provider/hooks/use-global-config.d.ts +1 -2
  269. package/lib/src/config-provider/hooks/use-global-config.js +1 -1
  270. package/lib/src/config-provider/hooks/use-token.d.ts +7 -2
  271. package/lib/src/config-provider/hooks/use-token.js +1 -1
  272. package/lib/src/config-provider/index.d.ts +1 -2
  273. package/lib/src/design-token/constants.d.ts +1 -6
  274. package/lib/src/design-token/constants.js +1 -1
  275. package/lib/src/design-token/index.d.ts +1 -1
  276. package/lib/src/design-token/index.js +1 -1
  277. package/lib/src/design-token/interface.d.ts +9 -1
  278. package/lib/src/design-token/interface.js +1 -0
  279. package/lib/src/editable-table/style/index.d.ts +2 -2
  280. package/lib/src/full-screen/index.vue.js +1 -1
  281. package/lib/src/full-screen/style/index.d.ts +2 -2
  282. package/lib/src/index.js +1 -1
  283. package/lib/src/mask/style/index.d.ts +2 -2
  284. package/lib/src/mask/style/index.js +2 -2
  285. package/lib/src/scroll-bar/style/index.d.ts +2 -2
  286. package/lib/src/scroll-bar/style/index.js +1 -1
  287. package/lib/src/scroll-view/style/index.d.ts +2 -2
  288. package/lib/src/splitter/style/index.d.ts +11 -3
  289. package/lib/src/splitter/style/index.js +1 -1
  290. package/lib/src/text/style/group.d.ts +2 -2
  291. package/lib/src/text/style/index.d.ts +6 -3
  292. package/lib/src/text/style/index.js +1 -1
  293. package/lib/src/utils/cssinjs/index.d.ts +3 -7
  294. package/lib/src/utils/cssinjs/index.js +1 -1
  295. package/lib/src/utils/cssinjs/instance.js +1 -1
  296. package/lib/src/utils/cssinjs/plugin-append-cssvar.d.ts +6 -0
  297. package/lib/src/utils/cssinjs/plugin-append-cssvar.js +1 -0
  298. package/lib/src/utils/cssinjs/plugin-specificity.js +1 -1
  299. package/lib/src/utils/cssinjs/utils.d.ts +6 -0
  300. package/lib/src/utils/cssinjs/utils.js +1 -0
  301. package/lib/src/version.d.ts +1 -1
  302. package/lib/src/version.js +1 -1
  303. package/package.json +1 -1
@@ -1,28 +1,25 @@
1
1
  import { genComponentStyleHook as n } from "../../../utils/cssinjs/index.mjs";
2
- const o = (e) => {
3
- const { componentCls: t } = e;
2
+ const o = (t) => {
3
+ const { componentCls: e } = t;
4
4
  return {
5
- [t]: {
6
- ".ant-btn-default:has(&-main-content-disabled)": {
7
- borderColor: "var(--ap-border-color-base) !important"
8
- },
5
+ [e]: {
9
6
  "& > .ant-btn": {
10
7
  padding: 0
11
8
  },
12
9
  "& > .ant-dropdown-trigger": {
13
- color: "var(--ap-text-color-3)"
10
+ color: t.textColor3
14
11
  },
15
- [`${t}-main-content`]: {
12
+ [`${e}-main-content`]: {
16
13
  padding: "4px 8px",
17
14
  display: "flex",
18
15
  alignItems: "center",
19
16
  justifyContent: "center",
20
17
  "&-disabled": {
21
- color: "var(--ap-text-color-4)",
18
+ color: t.textColor4,
22
19
  cursor: "not-allowed"
23
20
  }
24
21
  },
25
- [`${t}-icon`]: {
22
+ [`${e}-icon`]: {
26
23
  width: "100%",
27
24
  height: "100%",
28
25
  fontSize: "14px",
@@ -31,7 +28,7 @@ const o = (e) => {
31
28
  alignItems: "center"
32
29
  }
33
30
  },
34
- [`${t}-main-content-popover`]: {
31
+ [`${e}-main-content-popover`]: {
35
32
  width: "340px",
36
33
  "&-title-content": {
37
34
  display: "flex",
@@ -55,7 +52,7 @@ const o = (e) => {
55
52
  }
56
53
  }
57
54
  },
58
- [`${t}-overlay`]: {
55
+ [`${e}-overlay`]: {
59
56
  ".ant-dropdown-menu": {
60
57
  padding: "8px",
61
58
  "&-item": {
@@ -65,7 +62,7 @@ const o = (e) => {
65
62
  }
66
63
  }
67
64
  },
68
- [`${t}-menu-list-content`]: {
65
+ [`${e}-menu-list-content`]: {
69
66
  width: "250px",
70
67
  display: "flex",
71
68
  padding: "6px 8px",
@@ -94,13 +91,13 @@ const o = (e) => {
94
91
  fontSize: "12px",
95
92
  display: "flex",
96
93
  alignItems: "center",
97
- color: "var(--ap-color-primary)"
94
+ color: t.colorPrimary
98
95
  },
99
96
  "&-delete": {
100
97
  cursor: "pointer",
101
98
  display: "flex",
102
99
  alignItems: "center",
103
- color: "var(--ap-text-color-3)",
100
+ color: t.textColor3,
104
101
  svg: {
105
102
  outline: "none",
106
103
  boxShadow: "none"
@@ -123,23 +120,23 @@ const o = (e) => {
123
120
  cursor: "default"
124
121
  },
125
122
  "&:hover": {
126
- background: "var(--ap-color-bg-1)",
123
+ background: t.colorBg1,
127
124
  ".menu-list-content-action": {
128
125
  display: "block"
129
126
  }
130
127
  }
131
128
  },
132
- [`${t}-menu-list-content-active`]: {
129
+ [`${e}-menu-list-content-active`]: {
133
130
  ".menu-list-content-name": {
134
- color: "var(--ap-color-primary)"
131
+ color: t.colorPrimary
135
132
  }
136
133
  }
137
134
  }
138
135
  };
139
- }, a = n("ApView", (e) => [
140
- o(e)
136
+ }, r = n("ApView", (t) => [
137
+ o(t)
141
138
  ]);
142
139
  export {
143
- a as default,
144
- o as genProCardStyle
140
+ r as default,
141
+ o as genApViewStyle
145
142
  };
@@ -1,3 +1,6 @@
1
- import { Ref } from 'vue';
2
- declare const _default: (prefixCls: string) => Ref<string | undefined, string | undefined>;
1
+ import { ComputedRef } from 'vue';
2
+ export type BatchInputGroupToken = {
3
+ batchInputGroupTriggerColorDisabled: string;
4
+ };
5
+ declare const _default: (prefixCls: string) => ComputedRef<string>;
3
6
  export default _default;
@@ -17,9 +17,9 @@ const a = (o) => {
17
17
  },
18
18
  "&--disabled": {
19
19
  cursor: "not-allowed",
20
- color: "var(--batch-input-group-trigger-color-disabled, rgba(24, 41, 72, 0.25))",
20
+ color: o.batchInputGroupTriggerColorDisabled,
21
21
  "&:hover": {
22
- color: "var(--batch-input-group-trigger-color-disabled, rgba(24, 41, 72, 0.25))"
22
+ color: o.batchInputGroupTriggerColorDisabled
23
23
  }
24
24
  }
25
25
  }
@@ -45,9 +45,13 @@ const a = (o) => {
45
45
  }
46
46
  }
47
47
  };
48
- }, c = i("BatchInputGroup", (o) => [
49
- a(o)
50
- ]);
48
+ }, c = i(
49
+ "BatchInputGroup",
50
+ (o) => [a(o)],
51
+ {
52
+ batchInputGroupTriggerColorDisabled: "rgba(24, 41, 72, 0.25)"
53
+ }
54
+ );
51
55
  export {
52
56
  c as default
53
57
  };
@@ -1,8 +1,8 @@
1
1
  import { isFunction as g, merge as A, cloneDeep as F } from "lodash-unified";
2
- import { ref as w } from "vue";
3
- import { useKeepAliveFlag as R } from "./useKeepAliveFlag.mjs";
2
+ import { ref as V } from "vue";
3
+ import { useKeepAliveFlag as w } from "./useKeepAliveFlag.mjs";
4
4
  function O(l) {
5
- const r = w(null), {
5
+ const r = V(null), {
6
6
  isShowRowSelection: u = !0,
7
7
  clearSelectionOnRequest: d = !0,
8
8
  transformSearchFormValues: o,
@@ -18,7 +18,7 @@ function O(l) {
18
18
  r.value?.submitWith(e);
19
19
  }, p = () => {
20
20
  r.value?.reset();
21
- }, { isDeactivated: h } = R({
21
+ }, { isDeactivated: h } = w({
22
22
  afterActivated() {
23
23
  (g(s) ? s() : s) && c();
24
24
  },
@@ -47,8 +47,9 @@ function O(l) {
47
47
  fixed: "left",
48
48
  columnWidth: 38
49
49
  } : void 0,
50
- ref(e) {
51
- r.value = e;
50
+ /** Jackie 推荐方法 */
51
+ onVnodeBeforeMount(e) {
52
+ r.value = e.component?.exposed;
52
53
  },
53
54
  // 新UI规范,需要都添加分割线
54
55
  card: !0
@@ -1,4 +1,4 @@
1
- import { Ref } from 'vue';
1
+ import { ComputedRef } from 'vue';
2
2
  export type CheckCardToken = {
3
3
  /** 禁用背景色 */
4
4
  checkCardDisabledBg: string;
@@ -11,5 +11,5 @@ export type CheckCardToken = {
11
11
  /** 指示器位置偏移 */
12
12
  checkCardIndicatorOffset: number;
13
13
  };
14
- declare const _default: (prefixCls: string) => Ref<string | undefined, string | undefined>;
14
+ declare const _default: (prefixCls: string) => ComputedRef<string>;
15
15
  export default _default;
@@ -1,10 +1,16 @@
1
- import { resetComponent as d } from "../../style/index.mjs";
2
- import { genComponentStyleHook as e } from "../../utils/cssinjs/index.mjs";
1
+ import { resetComponent as t } from "../../style/index.mjs";
2
+ import { genComponentStyleHook as a } from "../../utils/cssinjs/index.mjs";
3
3
  const c = (r) => {
4
- const { componentCls: i } = r;
4
+ const {
5
+ componentCls: o,
6
+ checkCardDisabledOutlineColor: l,
7
+ checkCardIndicatorSize: e,
8
+ checkCardOutlineWidth: d,
9
+ checkCardIndicatorOffset: i
10
+ } = r;
5
11
  return {
6
- [`${i}`]: {
7
- ...d(r),
12
+ [`${o}`]: {
13
+ ...t(r),
8
14
  borderRadius: r.borderRadius,
9
15
  position: "relative",
10
16
  "&--disabled": {
@@ -14,7 +20,7 @@ const c = (r) => {
14
20
  "&--bordered": {
15
21
  outline: `1px solid ${r.borderColorBase}`
16
22
  },
17
- [`&:hover:not(${i}--disabled)`]: {
23
+ [`&:hover:not(${o}--disabled)`]: {
18
24
  cursor: "pointer",
19
25
  outline: `1px solid ${r.colorPrimary}`
20
26
  },
@@ -24,32 +30,32 @@ const c = (r) => {
24
30
  width: 0,
25
31
  height: 0,
26
32
  opacity: 0,
27
- insetBlockStart: r.checkCardIndicatorOffset,
28
- insetInlineEnd: r.checkCardIndicatorOffset,
29
- borderInlineStart: r.checkCardIndicatorSize,
30
- borderBlockEnd: r.checkCardIndicatorSize,
33
+ insetBlockStart: i,
34
+ insetInlineEnd: i,
35
+ borderInlineStart: e,
36
+ borderBlockEnd: e,
31
37
  borderRadius: r.borderRadius
32
38
  },
33
39
  "&--checked": {
34
- outline: `${r.checkCardOutlineWidth} solid ${r.colorPrimary}`,
35
- [`&:hover:not(${i}--disabled)`]: {
36
- outline: `${r.checkCardOutlineWidth} solid ${r.colorPrimary}`
40
+ outline: `${d} solid ${r.colorPrimary}`,
41
+ [`&:hover:not(${o}--disabled)`]: {
42
+ outline: `${d} solid ${r.colorPrimary}`
37
43
  },
38
44
  "&::after": {
39
45
  opacity: 1,
40
- border: `${r.checkCardIndicatorSize} solid ${r.colorPrimary}`,
41
- borderInlineStart: `${r.checkCardIndicatorSize} solid transparent`,
42
- borderBlockEnd: `${r.checkCardIndicatorSize} solid transparent`,
43
- insetBlockStart: r.checkCardIndicatorOffset,
44
- insetInlineEnd: r.checkCardIndicatorOffset,
46
+ border: `${e} solid ${r.colorPrimary}`,
47
+ borderInlineStart: `${e} solid transparent`,
48
+ borderBlockEnd: `${e} solid transparent`,
49
+ insetBlockStart: i,
50
+ insetInlineEnd: i,
45
51
  transition: "all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1)"
46
52
  },
47
- [`&${i}--disabled`]: {
48
- outlineColor: r.checkCardDisabledOutlineColor,
53
+ [`&${o}--disabled`]: {
54
+ outlineColor: l,
49
55
  "&::after": {
50
- border: `${r.checkCardIndicatorSize} solid ${r.checkCardDisabledOutlineColor}`,
51
- borderInlineStart: `${r.checkCardIndicatorSize} solid transparent`,
52
- borderBlockEnd: `${r.checkCardIndicatorSize} solid transparent`
56
+ border: `${e} solid ${l}`,
57
+ borderInlineStart: `${e} solid transparent`,
58
+ borderBlockEnd: `${e} solid transparent`
53
59
  }
54
60
  }
55
61
  },
@@ -59,8 +65,8 @@ const c = (r) => {
59
65
  "&--small": {
60
66
  padding: `${r.spaceSM} ${r.spaceLG}`
61
67
  },
62
- [`${i}__title`]: {
63
- ...d(r),
68
+ [`${o}__title`]: {
69
+ ...t(r),
64
70
  marginBottom: r.spaceXS,
65
71
  color: "#333",
66
72
  fontWeight: "bold",
@@ -68,14 +74,14 @@ const c = (r) => {
68
74
  color: r.textColor4
69
75
  }
70
76
  },
71
- [`${i}__content`]: {
72
- ...d(r),
77
+ [`${o}__content`]: {
78
+ ...t(r),
73
79
  color: "#333",
74
80
  "&--disabled": {
75
81
  color: r.textColor4
76
82
  }
77
83
  },
78
- [`${i}__checked-icon`]: {
84
+ [`${o}__checked-icon`]: {
79
85
  position: "absolute",
80
86
  top: 0,
81
87
  right: 0,
@@ -83,13 +89,13 @@ const c = (r) => {
83
89
  lineHeight: 1,
84
90
  userSelect: "none",
85
91
  "& > img": {
86
- width: `calc(${r.checkCardIndicatorSize} - 2px)`,
92
+ width: `calc(${e} - ${d})`,
87
93
  verticalAlign: "top"
88
94
  }
89
95
  }
90
96
  }
91
97
  };
92
- }, l = e(
98
+ }, b = a(
93
99
  "CheckCard",
94
100
  (r) => [c(r)],
95
101
  {
@@ -101,5 +107,5 @@ const c = (r) => {
101
107
  }
102
108
  );
103
109
  export {
104
- l as default
110
+ b as default
105
111
  };
@@ -6,10 +6,9 @@ import { CSPConfig } from '@aplus-frontend/antdv/es/config-provider';
6
6
  import { Locale } from '@aplus-frontend/antdv/es/locale';
7
7
  import { ButtonSize } from '@aplus-frontend/antdv/es/button';
8
8
  import { ThemeConfig, InputConfig, PaginationConfig, FormConfig, SelectConfig, CascaderConfig, DatePickerConfig, RangePickerConfig, TreeSelectConfig, TextAreaConfig, InputNumberConfig, MentionsConfig, TimePickerConfig, CardConfig } from '@aplus-frontend/antdv/es/config-provider/context';
9
- import { ApGridRowSelection, AgGridRowSelection, ViewCacheOption } from '..';
9
+ import { ApGridRowSelection, AgGridRowSelection, FullToken, ViewCacheOption } from '..';
10
10
  import { LocaleType } from '../locale';
11
11
  import { RecursivePartial } from '../type';
12
- import { FullToken } from '../design-token/interface';
13
12
  import { ApiType, ApUploadConfig, ApDescriptionsConfig, ValueTypeRenderConfig, downloadCenterTriggerConfig, ExportField, SearchFormGlobalConfig } from './constants';
14
13
  export declare const globalConfigCached: Ref<ConfigProviderProps>;
15
14
  export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
@@ -7,10 +7,9 @@ import { CSPConfig } from '@aplus-frontend/antdv/es/config-provider';
7
7
  import { Locale } from '@aplus-frontend/antdv/es/locale';
8
8
  import { ButtonSize } from '@aplus-frontend/antdv/es/button';
9
9
  import { ThemeConfig, InputConfig, PaginationConfig, FormConfig, SelectConfig, CascaderConfig, DatePickerConfig, RangePickerConfig, TreeSelectConfig, TextAreaConfig, InputNumberConfig, MentionsConfig, TimePickerConfig, CardConfig } from '@aplus-frontend/antdv/es/config-provider/context';
10
- import { ApGridRowSelection, AgGridRowSelection, ViewCacheOption } from '../..';
10
+ import { ApGridRowSelection, AgGridRowSelection, FullToken, ViewCacheOption } from '../..';
11
11
  import { LocaleType } from '../../locale';
12
12
  import { RecursivePartial } from '../../type';
13
- import { FullToken } from '../../design-token/interface';
14
13
  import { ApiType, ApUploadConfig, ApDescriptionsConfig, ValueTypeRenderConfig, downloadCenterTriggerConfig, ExportField, SearchFormGlobalConfig } from '..';
15
14
  export declare const keysOf: <T extends Record<string, any>>(arr: T) => Array<keyof T>;
16
15
  export declare function useGlobalConfig<K extends keyof ConfigProviderContext, D extends ConfigProviderContext[K]>(key: K, defaultValue?: D): Ref<Exclude<ConfigProviderContext[K], undefined> | D>;
@@ -1,39 +1,48 @@
1
- import { ref as v, getCurrentInstance as a, inject as d, computed as f, provide as g, unref as C } from "vue";
2
- import { configProviderContextKey as m } from "../constants.mjs";
3
- import { localeContextKey as k } from "./use-locale.mjs";
4
- import { namespaceContextKey as y } from "./use-namespace.mjs";
5
- import { designTokenContextKey as x } from "./use-token.mjs";
6
- import { merge as K, cloneDeep as T } from "lodash-unified";
7
- import { defaultToken as b } from "../../design-token/constants.mjs";
8
- const l = (e) => Object.keys(e), s = v();
9
- function j(e, o = void 0) {
10
- const t = a() ? d(m, s) : s;
11
- return e ? f(() => t.value?.[e] ?? o) : t;
1
+ import { ref as p, getCurrentInstance as v, inject as k, computed as c, provide as y, unref as x, watch as T } from "vue";
2
+ import { configProviderContextKey as d } from "../constants.mjs";
3
+ import { localeContextKey as b } from "./use-locale.mjs";
4
+ import { namespaceContextKey as K } from "./use-namespace.mjs";
5
+ import { designTokenContextKey as j } from "./use-token.mjs";
6
+ import { merge as w, cloneDeep as G, omit as O } from "lodash-unified";
7
+ import { defaultToken as S } from "../../design-token/constants.mjs";
8
+ import { css as V } from "@emotion/css";
9
+ import { generateCssVar as h } from "../../utils/cssinjs/utils.mjs";
10
+ const m = (e) => Object.keys(e), u = p();
11
+ function D(e, o = void 0) {
12
+ const n = v() ? k(d, u) : u;
13
+ return e ? c(() => n.value?.[e] ?? o) : n;
12
14
  }
13
- const P = (e, o, t = !1) => {
14
- const i = !!a(), n = i ? j() : void 0, c = o?.provide ?? (i ? g : void 0);
15
- if (!c)
15
+ const J = (e, o, n = !1) => {
16
+ const s = !!v(), t = s ? D() : void 0, i = o?.provide ?? (s ? y : void 0);
17
+ if (!i)
16
18
  return;
17
- const r = f(() => {
18
- const u = C(e);
19
- return n?.value ? G(n.value, u) : u;
19
+ const r = c(() => {
20
+ const a = x(e);
21
+ return t?.value ? F(t.value, a) : a;
20
22
  });
21
- c(m, r), c(y, r.value.namespace);
22
- const p = f(() => ({
23
- ...K(T(b), r.value.aplusToken || {})
24
- }));
25
- return c(x, p), c(
26
- k,
27
- f(() => r.value.aplusLocale)
28
- ), (t || !s.value) && (s.value = r.value), r;
29
- }, G = (e, o) => {
30
- const t = [.../* @__PURE__ */ new Set([...l(e), ...l(o)])], i = {};
31
- for (const n of t)
32
- i[n] = o[n] !== void 0 ? o[n] : e[n];
33
- return i;
23
+ i(d, r), i(
24
+ b,
25
+ c(() => r.value.aplusLocale)
26
+ ), i(K, r.value.namespace);
27
+ const f = c(() => ({
28
+ ...w(G(S), r.value.aplusToken || {})
29
+ })), g = c(() => O(f.value, ["components"])), l = p();
30
+ return T(
31
+ () => g.value,
32
+ (a) => {
33
+ const C = h(a);
34
+ l.value = V(C);
35
+ },
36
+ { deep: !0, immediate: !0 }
37
+ ), i(j, { token: f, rootCls: l }), (n || !u.value) && (u.value = r.value), r;
38
+ }, F = (e, o) => {
39
+ const n = [.../* @__PURE__ */ new Set([...m(e), ...m(o)])], s = {};
40
+ for (const t of n)
41
+ s[t] = o[t] !== void 0 ? o[t] : e[t];
42
+ return s;
34
43
  };
35
44
  export {
36
- l as keysOf,
37
- P as provideGlobalConfig,
38
- j as useGlobalConfig
45
+ m as keysOf,
46
+ J as provideGlobalConfig,
47
+ D as useGlobalConfig
39
48
  };
@@ -1,4 +1,9 @@
1
1
  import { InjectionKey, Ref } from 'vue';
2
2
  import { FullToken } from '../../design-token/interface';
3
- export declare const designTokenContextKey: InjectionKey<Ref<Partial<FullToken>>>;
4
- export declare const useToken: () => Ref<FullToken>;
3
+ type DesignTokenContextType = {
4
+ token: Ref<Partial<FullToken>>;
5
+ rootCls: Ref<string | undefined>;
6
+ };
7
+ export declare const designTokenContextKey: InjectionKey<DesignTokenContextType>;
8
+ export declare const useToken: () => DesignTokenContextType;
9
+ export {};
@@ -1,6 +1,9 @@
1
- import { inject as e, ref as n } from "vue";
2
- const o = Symbol("designTokenContextKey"), r = () => e(o, n({}));
1
+ import { inject as o, ref as e } from "vue";
2
+ const n = Symbol("designTokenContextKey"), r = () => o(n, {
3
+ token: e({}),
4
+ rootCls: e()
5
+ });
3
6
  export {
4
- o as designTokenContextKey,
7
+ n as designTokenContextKey,
5
8
  r as useToken
6
9
  };
@@ -5,10 +5,9 @@ import { CSPConfig } from '@aplus-frontend/antdv/es/config-provider';
5
5
  import { Locale } from '@aplus-frontend/antdv/es/locale';
6
6
  import { ButtonSize } from '@aplus-frontend/antdv/es/button';
7
7
  import { ThemeConfig, InputConfig, PaginationConfig, FormConfig, SelectConfig, CascaderConfig, DatePickerConfig, RangePickerConfig, TreeSelectConfig, TextAreaConfig, InputNumberConfig, MentionsConfig, TimePickerConfig, CardConfig } from '@aplus-frontend/antdv/es/config-provider/context';
8
- import { ApGridRowSelection, AgGridRowSelection, ViewCacheOption } from '..';
8
+ import { ApGridRowSelection, AgGridRowSelection, FullToken, ViewCacheOption } from '..';
9
9
  import { LocaleType } from '../locale';
10
10
  import { RecursivePartial } from '../type';
11
- import { FullToken } from '../design-token/interface';
12
11
  import { ApiType, ApUploadConfig, ApDescriptionsConfig, ValueTypeRenderConfig, downloadCenterTriggerConfig, ExportField, SearchFormGlobalConfig } from './constants';
13
12
  export * from './config-provider-props';
14
13
  export * from './constants';
@@ -1,7 +1,2 @@
1
- import { BaseToken, FullToken } from './interface';
1
+ import { BaseToken } from './interface';
2
2
  export declare const defaultToken: BaseToken;
3
- export declare const aplusUIAdminBaseToken: BaseToken;
4
- /**
5
- * 预设全量的APlus-UI admin端的token
6
- */
7
- export declare const aplusUITokenAdminPreset: FullToken;
@@ -1,4 +1,4 @@
1
- const e = {
1
+ const o = {
2
2
  borderColorBase: "#dee4ed",
3
3
  hoverColorBase: "#66a9ff",
4
4
  activeColorBase: "#66a9ff",
@@ -43,105 +43,7 @@ const e = {
43
43
  scrollbarTrackColorHover: "#f2f6f9",
44
44
  tableHeaderBg: "#f2f6f9",
45
45
  lineClamp: 2
46
- }, o = {
47
- borderColorBase: "#d9d9d9",
48
- hoverColorBase: "#85d4b0",
49
- activeColorBase: "#85d4b0",
50
- colorPrimary: "#34b77c",
51
- colorPrimaryDisabled: "#d6f1e5",
52
- colorLink: "#1890ff",
53
- colorLinkHover: "#5eb1ff",
54
- colorLinkDisabled: "#cce2ff",
55
- colorSuccess: "#34b77c",
56
- colorSuccessDisabled: "#d6f1e5",
57
- colorError: "#ff4d4f",
58
- colorErrorDisabled: "#ffdbdc",
59
- colorWarn: "#faad14",
60
- colorWarnDisabled: "#ffeed9",
61
- textColor1: "#666",
62
- textColor2: "#333",
63
- textColor3: "#999",
64
- textColor4: "#bfbfbf",
65
- colorBg1: "#e9e9e9",
66
- colorBg2: "#f6f9fa",
67
- colorBg3: "#f5f5f5",
68
- colorBgDisabled: "#f5f5f5",
69
- fontSizeSM: 10,
70
- fontSize: 12,
71
- fontSizeLG: 14,
72
- fontSizeXL: 16,
73
- lineHeightSM: 16,
74
- lineHeight: 18,
75
- lineHeightLG: 22,
76
- borderRadiusXS: 1,
77
- borderRadius: 4,
78
- spaceXXS: 2,
79
- spaceXS: 4,
80
- spaceSM: 6,
81
- space: 8,
82
- spaceMD: 10,
83
- spaceLG: 12,
84
- spaceXL: 16,
85
- spaceXXL: 24,
86
- scrollbarThumbColorBase: "#bfbfbf",
87
- scrollbarThumbColorHover: "#787878",
88
- scrollbarTrackColorHover: "#f7f7f7",
89
- tableHeaderBg: "#f7f7f7",
90
- lineClamp: 2
91
- }, r = {
92
- apProCardHeaderPadding: "8px 16px 0",
93
- apProCardHeaderPaddingBottom: "8px",
94
- apProCardBorderRadius: "4px",
95
- apProCardColorBgContainer: "transparent",
96
- apProCardBodyPadding: "8px 16px",
97
- apProCardActionsPadding: "12px 16px",
98
- apProCardBorderLineWidth: "1px",
99
- apProCardBorderLineType: "solid",
100
- apProCardBorderColorSplit: "#e9e9e9",
101
- apProCardBoxShadow: "3px 10px 30px -2px rgba(123, 121, 140, 0.15)",
102
- apProCardTooltipColor: "#999",
103
- apProCardHeaderTitleFontSize: "12px",
104
- apProCardHeaderTitleFontColor: "#333",
105
- apProCardAreaColor: "#eff9f5",
106
- apProCardSplitLineHeight: "100%",
107
- apProCardDividerLineHeight: "60%"
108
- }, a = {
109
- ...o,
110
- components: {
111
- ApAction: {
112
- loadingOpacity: 0.35
113
- },
114
- CheckCard: {
115
- checkCardDisabledBg: "#F9F9FA",
116
- checkCardDisabledOutlineColor: "#E9EDF3",
117
- checkCardIndicatorSize: 14,
118
- checkCardOutlineWidth: 2,
119
- checkCardIndicatorOffset: -2
120
- },
121
- ApForm: { apFormBorderedShadowColor: "rgba(5, 155, 255, 0.1)" },
122
- ApList: {
123
- apListSpinnigOpacity: 0.5
124
- },
125
- Scrollbar: {
126
- scrollBarBarColor: "#c7c8cc",
127
- scrollBarTrackColor: "#F2F2F2",
128
- scrollBarTrackDisabledColor: "#FAFAFA",
129
- scrollBarBarWidth: 8,
130
- scrollBarTrackWidth: 10
131
- },
132
- Mask: { maskAnimationDuration: "0.25s", maskOpacity: 0.45 },
133
- Splitter: {
134
- splitterBarSize: 2,
135
- splitterTriggerSize: 6,
136
- splitterResizeSpinnerSize: 20,
137
- splitterSplitBarDraggableSize: 20
138
- },
139
- ProCard: r,
140
- StatisticsCard: r
141
- }
142
46
  };
143
47
  export {
144
- o as aplusUIAdminBaseToken,
145
- a as aplusUITokenAdminPreset,
146
- e as defaultToken
48
+ o as defaultToken
147
49
  };
@@ -1,4 +1,4 @@
1
1
  import { ThemeConfig } from '@aplus-frontend/antdv/es/config-provider/context';
2
- export { aplusUITokenAdminPreset } from './constants';
2
+ export * from './interface';
3
3
  export declare const aplusToken: ThemeConfig['token'];
4
4
  export declare const adminToken: ThemeConfig['token'];
@@ -1,4 +1,4 @@
1
- import { aplusUITokenAdminPreset as t } from "./constants.mjs";
1
+ import "./interface.mjs";
2
2
  const o = {
3
3
  borderRadius: 4,
4
4
  fontSize: 12,
@@ -7,7 +7,7 @@ const o = {
7
7
  lineHeightSM: 1.6,
8
8
  wireframe: !1,
9
9
  sizeUnit: 3
10
- }, r = {
10
+ }, e = {
11
11
  ...o,
12
12
  // 主色
13
13
  colorPrimary: "#0070FF",
@@ -40,7 +40,7 @@ const o = {
40
40
  controlItemBgActive: "#F5F9FF",
41
41
  controlItemBgActiveHover: "#EAF2FF",
42
42
  colorBorderSecondary: "#E9EDF3"
43
- }, e = {
43
+ }, c = {
44
44
  ...o,
45
45
  // 主色
46
46
  colorPrimary: "#34B77C",
@@ -76,7 +76,6 @@ const o = {
76
76
  colorBorderSecondary: "#E9E9E9"
77
77
  };
78
78
  export {
79
- e as adminToken,
80
- r as aplusToken,
81
- t as aplusUITokenAdminPreset
79
+ c as adminToken,
80
+ e as aplusToken
82
81
  };