@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
@@ -46,7 +46,7 @@ const l = (r) => {
46
46
  "> div": {
47
47
  border: `1px solid ${r.borderColorBase}`,
48
48
  borderRadius: r.borderRadius,
49
- padding: "8px",
49
+ padding: r.space,
50
50
  display: "flex",
51
51
  alignItems: "center",
52
52
  backgroundColor: "#fff",
@@ -1,6 +1,12 @@
1
1
  import { GenStyleFunc, StyleMixin } from '../../design-token/interface';
2
2
  import { ComputedRef } from 'vue';
3
+ export type SearchFormToken = {
4
+ /**
5
+ * 查询表单筛选弹框触发按钮徽标记尺寸
6
+ */
7
+ searchFormPopoverFilterBadgeSize: number;
8
+ };
3
9
  export declare const genPopoverStyle: StyleMixin;
4
- export declare const genSearchFormStyle: GenStyleFunc;
10
+ export declare const genSearchFormStyle: GenStyleFunc<SearchFormToken>;
5
11
  declare const _default: (prefixCls: string) => ComputedRef<string>;
6
12
  export default _default;
@@ -1,10 +1,10 @@
1
- import { genComponentStyleHook as n } from "../../utils/cssinjs/index.mjs";
2
- const a = (o) => {
3
- const { namespace: r } = o, e = `.${r}-ap-form-search-form__popover`;
1
+ import { genComponentStyleHook as a } from "../../utils/cssinjs/index.mjs";
2
+ const i = (r) => {
3
+ const { namespace: e } = r, o = `.${e}-ap-form-search-form__popover`;
4
4
  return {
5
- [e]: {
5
+ [o]: {
6
6
  ".ant-form-item": {
7
- marginBlockEnd: o.space
7
+ marginBlockEnd: r.space
8
8
  },
9
9
  ".ant-popover-arrow": {
10
10
  display: "none"
@@ -12,29 +12,26 @@ const a = (o) => {
12
12
  ".ant-popover-inner": {
13
13
  padding: 0
14
14
  },
15
- [`${e}-content`]: {
16
- padding: `${o.spaceLG} ${o.spaceXL} ${o.spaceXL}`,
15
+ [`${o}-content`]: {
16
+ padding: `${r.spaceLG} ${r.spaceXL} ${r.spaceXL}`,
17
17
  textarea: {
18
18
  padding: 0
19
19
  }
20
20
  },
21
- [`${e}-footer`]: {
22
- padding: `${o.spaceLG} ${o.spaceXL}`,
23
- "&-confirm-btn": {
24
- marginLeft: "10px"
25
- },
21
+ [`${o}-footer`]: {
22
+ padding: `${r.spaceLG} ${r.spaceXL}`,
26
23
  "& button.ant-btn": {
27
- paddingInline: o.spaceXL
24
+ paddingInline: r.spaceXL
28
25
  }
29
26
  }
30
27
  }
31
28
  };
32
- }, t = (o) => {
33
- const { componentCls: r } = o;
29
+ }, t = (r) => {
30
+ const { componentCls: e } = r;
34
31
  return {
35
- [r]: {
32
+ [e]: {
36
33
  ".ant-form-item": {
37
- marginBlockEnd: o.space
34
+ marginBlockEnd: r.space
38
35
  },
39
36
  ".ant-form-item-control": {
40
37
  ".ant-picker": {
@@ -45,22 +42,22 @@ const a = (o) => {
45
42
  }
46
43
  },
47
44
  // for more filter trigger button
48
- [`${r}-trigger-btn`]: {
45
+ [`${e}-trigger-btn`]: {
49
46
  fontSize: 0,
50
47
  "&-active": {
51
- color: o.hoverColorBase,
52
- borderColor: o.hoverColorBase,
48
+ color: r.hoverColorBase,
49
+ borderColor: r.hoverColorBase,
53
50
  zIndex: 1
54
51
  },
55
52
  "&-badge": {
56
53
  display: "inline-block",
57
- padding: o.spaceXXS,
58
- minWidth: "14px",
59
- height: "14px",
60
- backgroundColor: o.colorPrimary,
61
- fontSize: "10px",
54
+ padding: r.spaceXXS,
55
+ minWidth: r.searchFormPopoverFilterBadgeSize,
56
+ height: r.searchFormPopoverFilterBadgeSize,
57
+ backgroundColor: r.colorPrimary,
58
+ fontSize: r.fontSizeSM,
62
59
  lineHeight: 1,
63
- borderRadius: "7px",
60
+ borderRadius: r.calc(r.searchFormPopoverFilterBadgeSize).div(2).equal(),
64
61
  color: "#fff",
65
62
  position: "absolute",
66
63
  top: 0,
@@ -69,7 +66,7 @@ const a = (o) => {
69
66
  boxShadow: "0 0 0 1px #fff"
70
67
  }
71
68
  },
72
- [`${r}-column-setting-trigger-wrapper`]: {
69
+ [`${e}-column-setting-trigger-wrapper`]: {
73
70
  flexShrink: 0,
74
71
  ".ant-btn:not(:only-child)": {
75
72
  "&:first-child": {
@@ -89,18 +86,24 @@ const a = (o) => {
89
86
  }
90
87
  }
91
88
  },
92
- [`${r}-action-btn`]: {
93
- paddingInline: o.spaceLG
89
+ [`${e}-action-btn`]: {
90
+ paddingInline: r.spaceLG
94
91
  },
95
- [`${r}-action-btn-reset`]: {
96
- backgroundColor: o.colorBg1
92
+ [`${e}-action-btn-reset`]: {
93
+ backgroundColor: r.colorBg1
97
94
  }
98
95
  },
99
- ...a(o)
96
+ ...i(r)
100
97
  };
101
- }, p = n("ApForm.SearchForm", (o) => [t(o)]);
98
+ }, p = a(
99
+ "ApForm.SearchForm",
100
+ (r) => [t(r)],
101
+ {
102
+ searchFormPopoverFilterBadgeSize: 14
103
+ }
104
+ );
102
105
  export {
103
106
  p as default,
104
- a as genPopoverStyle,
107
+ i as genPopoverStyle,
105
108
  t as genSearchFormStyle
106
109
  };
@@ -2,7 +2,7 @@ import { defineComponent as z, useSlots as G, toRef as K, ref as c, unref as s,
2
2
  import { ApForm as y } from "../../ap-form/index.mjs";
3
3
  import { isUndefined as Y, isNumber as d, cloneDeep as Z, isArray as M, omit as ee } from "lodash-unified";
4
4
  import "../../config-provider/index.mjs";
5
- import { isDef as C } from "../../utils/index.mjs";
5
+ import "../../utils/index.mjs";
6
6
  import { useGetEditableColumns as te } from "../hooks/use-editable-columns.mjs";
7
7
  import "../index.vue2.mjs";
8
8
  import { useInjectForm as ae } from "../../ap-form/context.mjs";
@@ -11,8 +11,9 @@ import { useDevWarning as ne } from "../../utils/warning.mjs";
11
11
  import le from "../style/editable.mjs";
12
12
  import { useNamespace as re } from "../../config-provider/hooks/use-namespace.mjs";
13
13
  import { useGlobalConfig as se } from "../../config-provider/hooks/use-global-config.mjs";
14
+ import { isDef as C } from "../../utils/is.mjs";
14
15
  import ie from "../index.vue.mjs";
15
- const Se = /* @__PURE__ */ z({
16
+ const Fe = /* @__PURE__ */ z({
16
17
  name: "EditableGridFormItem",
17
18
  __name: "form-item",
18
19
  props: {
@@ -285,5 +286,5 @@ const Se = /* @__PURE__ */ z({
285
286
  }
286
287
  });
287
288
  export {
288
- Se as default
289
+ Fe as default
289
290
  };
@@ -3,7 +3,7 @@ import { ApForm as m } from "../../ap-form/index.mjs";
3
3
  import { isEqual as ee, isArray as c, isUndefined as te, isNumber as g, cloneDeep as ae, omit as oe } from "lodash-unified";
4
4
  import "../../config-provider/index.mjs";
5
5
  import "../../hooks/index.mjs";
6
- import { isDef as b } from "../../utils/index.mjs";
6
+ import "../../utils/index.mjs";
7
7
  import { useGetEditableColumns as ne } from "../hooks/use-editable-columns.mjs";
8
8
  import "../index.vue2.mjs";
9
9
  import { useDevWarning as le } from "../../utils/warning.mjs";
@@ -11,8 +11,9 @@ import se from "../style/editable.mjs";
11
11
  import { useNamespace as re } from "../../config-provider/hooks/use-namespace.mjs";
12
12
  import { useControllableValue as ie } from "../../hooks/useControllableValue.mjs";
13
13
  import { useGlobalConfig as ue } from "../../config-provider/hooks/use-global-config.mjs";
14
+ import { isDef as b } from "../../utils/is.mjs";
14
15
  import de from "../index.vue.mjs";
15
- const Fe = /* @__PURE__ */ W({
16
+ const Ee = /* @__PURE__ */ W({
16
17
  name: "EditableGrid",
17
18
  __name: "index",
18
19
  props: {
@@ -313,5 +314,5 @@ const Fe = /* @__PURE__ */ W({
313
314
  }
314
315
  });
315
316
  export {
316
- Fe as default
317
+ Ee as default
317
318
  };
@@ -16,16 +16,17 @@ import { DEFAULT_ROW_SELECTION_CONFIG as ue, sizeReverseMap as wt, sizeMap as St
16
16
  import { useRenderColumns as bt } from "./hooks/use-render-columns.mjs";
17
17
  import { useToken as xt } from "@aplus-frontend/antdv/es/theme/internal";
18
18
  import "../scroll-bar/index.mjs";
19
- import { isDef as kt } from "../utils/index.mjs";
20
- import { getValidVNodeList as Ft } from "../utils/slot.mjs";
21
- import { useTableStyle as Et } from "./hooks/use-table-style.mjs";
22
- import { useDevWarning as It } from "../utils/warning.mjs";
23
- import Bt from "./style/index.mjs";
24
- import { useNamespace as Tt } from "../config-provider/hooks/use-namespace.mjs";
19
+ import "../utils/index.mjs";
20
+ import { getValidVNodeList as kt } from "../utils/slot.mjs";
21
+ import { useTableStyle as Ft } from "./hooks/use-table-style.mjs";
22
+ import { useDevWarning as Et } from "../utils/warning.mjs";
23
+ import It from "./style/index.mjs";
24
+ import { useNamespace as Bt } from "../config-provider/hooks/use-namespace.mjs";
25
25
  import { useGlobalConfig as ce } from "../config-provider/hooks/use-global-config.mjs";
26
- import { useLocale as Nt } from "../config-provider/hooks/use-locale.mjs";
26
+ import { useLocale as Tt } from "../config-provider/hooks/use-locale.mjs";
27
+ import { isDef as Nt } from "../utils/is.mjs";
27
28
  import Pt from "../scroll-bar/index.vue.mjs";
28
- const so = /* @__PURE__ */ Qe({
29
+ const io = /* @__PURE__ */ Qe({
29
30
  name: "ApGrid",
30
31
  __name: "index",
31
32
  props: {
@@ -119,12 +120,12 @@ const so = /* @__PURE__ */ Qe({
119
120
  },
120
121
  setup(pe, { expose: fe }) {
121
122
  const T = Ye(), o = pe, x = Ze()?.appContext.app;
122
- x && !x.__VXE_PC_UI_INSTALLED__ && (x.use(ne), x.__VXE_PC_UI_INSTALLED__ = !0), It("ApGrid")(
123
+ x && !x.__VXE_PC_UI_INSTALLED__ && (x.use(ne), x.__VXE_PC_UI_INSTALLED__ = !0), Et("ApGrid")(
123
124
  !1,
124
125
  "breaking",
125
126
  "AgGrid has been EOL, Please use AgGrid(https://aplus.aplnk.com/aplus-ui/components/ag-grid/) instead."
126
127
  );
127
- const { e: k, b: u, be: me } = Tt("ap-grid"), ge = Bt("ap-grid"), he = ce("valueTypeMap"), Ce = ce("apGrid"), i = y([]), W = y([]), l = y(), F = y(o.size), ve = Et(), [, ye] = xt(), { t: we } = Nt(), N = y(!0);
128
+ const { e: k, b: u, be: me } = Bt("ap-grid"), ge = It("ap-grid"), he = ce("valueTypeMap"), Ce = ce("apGrid"), i = y([]), W = y([]), l = y(), F = y(o.size), ve = Ft(), [, ye] = xt(), { t: we } = Tt(), N = y(!0);
128
129
  ne.setConfig({
129
130
  i18n: (e, a) => we(`ap.${e}`, a)
130
131
  });
@@ -167,7 +168,7 @@ const so = /* @__PURE__ */ Qe({
167
168
  r,
168
169
  t(he)
169
170
  ), r;
170
- }) || [])), xe = n(() => kt(o.manual) ? o.manual : Ft(T.searchFormExtra?.() || []).some((a) => a.type?.name === "ApView")), ke = n(() => [
171
+ }) || [])), xe = n(() => Nt(o.manual) ? o.manual : kt(T.searchFormExtra?.() || []).some((a) => a.type?.name === "ApView")), ke = n(() => [
171
172
  u(),
172
173
  o.card ? null : u("wrapper"),
173
174
  o.adaptive ? u("adaptive") : null,
@@ -548,5 +549,5 @@ const so = /* @__PURE__ */ Qe({
548
549
  }
549
550
  });
550
551
  export {
551
- so as default
552
+ io as default
552
553
  };
@@ -1,16 +1,16 @@
1
- import { multiRows as i } from "../../style/index.mjs";
1
+ import { multiRows as r } from "../../style/index.mjs";
2
2
  import { genComponentStyleHook as l } from "../../utils/cssinjs/index.mjs";
3
- const o = (e) => {
3
+ const i = (e) => {
4
4
  const { componentCls: t } = e;
5
5
  return {
6
6
  [t]: {
7
7
  [`${t}__header-cell--required`]: {
8
- color: "#FF4D4F",
9
- paddingRight: "2px"
8
+ color: e.colorError,
9
+ paddingRight: e.spaceXXS
10
10
  },
11
11
  [`${t}-table-header`]: {
12
12
  "&__title": {
13
- ...i(e),
13
+ ...r(e),
14
14
  textAlign: "right"
15
15
  }
16
16
  },
@@ -24,9 +24,9 @@ const o = (e) => {
24
24
  }
25
25
  };
26
26
  }, d = l("EditableGrid", (e) => [
27
- o(e)
27
+ i(e)
28
28
  ]);
29
29
  export {
30
30
  d as default,
31
- o as genEditableGridStyle
31
+ i as genEditableGridStyle
32
32
  };
@@ -1,9 +1,9 @@
1
- import { genSettingTriggerBtnStyle as r } from "../../ap-table/style/index.mjs";
1
+ import { genSettingTriggerBtnStyle as n } from "../../ap-table/style/index.mjs";
2
2
  import { multiRows as o, resetScrollbar as d } from "../../style/index.mjs";
3
3
  import { genComponentStyleHook as p } from "../../utils/cssinjs/index.mjs";
4
4
  import { aplusApGridIconFont as c } from "./font.mjs";
5
5
  const g = (e) => {
6
- const { componentCls: i, namespace: t } = e, l = `${i}-vxe-wrapper`, a = `${i}-pagination-wrapper`, n = `.${t}-scroll-bar`;
6
+ const { componentCls: i, namespace: t } = e, l = `${i}-vxe-wrapper`, a = `${i}-pagination-wrapper`, r = `.${t}-scroll-bar`;
7
7
  return [
8
8
  c,
9
9
  {
@@ -50,11 +50,11 @@ const g = (e) => {
50
50
  position: "sticky",
51
51
  bottom: 0
52
52
  },
53
- [`&:has(${n})`]: {
53
+ [`&:has(${r})`]: {
54
54
  [a]: {
55
55
  "ul.ant-pagination": {
56
56
  marginBlockStart: 0,
57
- paddingBlockStart: "4px"
57
+ paddingBlockStart: e.spaceXS
58
58
  }
59
59
  },
60
60
  ".vxe-table--scroll-x-wrapper": {
@@ -85,7 +85,7 @@ const g = (e) => {
85
85
  paddingBlockEnd: 0,
86
86
  backgroundColor: "#fff",
87
87
  borderRadius: e.borderRadius,
88
- marginBlockEnd: "10px"
88
+ marginBlockEnd: e.spaceMD
89
89
  },
90
90
  [`${i}__table-wrapper`]: {
91
91
  flex: 1,
@@ -109,7 +109,7 @@ const g = (e) => {
109
109
  display: "flex",
110
110
  flexWrap: "wrap",
111
111
  alignItems: "center",
112
- rowGap: "8px",
112
+ rowGap: e.space,
113
113
  ".ant-pagination-total-text": {
114
114
  flex: 1,
115
115
  height: "unset",
@@ -142,7 +142,7 @@ const g = (e) => {
142
142
  color: e.textColor1
143
143
  },
144
144
  [`${i}-pagination--total-right`]: {
145
- paddingInlineStart: "12px"
145
+ paddingInlineStart: e.spaceLG
146
146
  },
147
147
  [`${i}-pagination-total-wrapper`]: {
148
148
  color: e.textColor2
@@ -157,7 +157,7 @@ const g = (e) => {
157
157
  }
158
158
  }
159
159
  },
160
- ...r(e),
160
+ ...n(e),
161
161
  // 实现表头不换行排列
162
162
  "th.vxe-header--column .vxe-cell--wrapper": {
163
163
  display: "flex",
@@ -196,7 +196,7 @@ const g = (e) => {
196
196
  },
197
197
  ".vxe-cell--checkbox.is--disabled > .vxe-checkbox--icon": {
198
198
  backgroundColor: e.tableHeaderBg,
199
- borderRadius: "4px"
199
+ borderRadius: e.borderRadius
200
200
  },
201
201
  ".vxe-cell--checkbox span.vxe-checkbox--icon": {
202
202
  verticalAlign: "text-wrap"
@@ -208,7 +208,7 @@ const g = (e) => {
208
208
  }
209
209
  }
210
210
  ];
211
- }, m = p(
211
+ }, b = p(
212
212
  "ApGrid",
213
213
  (e) => [g(e)],
214
214
  {
@@ -216,6 +216,6 @@ const g = (e) => {
216
216
  }
217
217
  );
218
218
  export {
219
- m as default,
219
+ b as default,
220
220
  g as genApGridStyle
221
221
  };
@@ -1,7 +1,8 @@
1
1
  import { omit as d, isUndefined as s, isFunction as g, isNumber as m } from "lodash-unified";
2
- import { isDef as C } from "../../utils/index.mjs";
2
+ import "../../utils/index.mjs";
3
+ import { isDef as C } from "../../utils/is.mjs";
3
4
  const b = 20, y = 50, v = (e) => e.some((i) => !!i.html);
4
- function k(e, i) {
5
+ function z(e, i) {
5
6
  const t = {
6
7
  ...d(e, [
7
8
  "columns",
@@ -62,9 +63,9 @@ function k(e, i) {
62
63
  }, t;
63
64
  }
64
65
  function l(e, i, t) {
65
- const n = i === "X", r = n ? "x" : "y", a = n ? "virtualXConfig" : "virtualYConfig", u = t?.[r], o = u !== !1, f = n ? b : y, c = m(u) && u >= 0 ? u : f;
66
+ const n = i === "X", r = n ? "x" : "y", a = n ? "virtualXConfig" : "virtualYConfig", o = t?.[r], u = o !== !1, f = n ? b : y, c = m(o) && o >= 0 ? o : f;
66
67
  e[a] = {
67
- enabled: o,
68
+ enabled: u,
68
69
  gt: c,
69
70
  oSize: t?.oSize || 0
70
71
  };
@@ -72,18 +73,18 @@ function l(e, i, t) {
72
73
  function x(e) {
73
74
  return e === !0 ? "left" : e;
74
75
  }
75
- function z(e, i, t) {
76
+ function F(e, i, t) {
76
77
  const n = e === !0 || !e.type ? "checkbox" : e.type, r = (t === "mini" ? 9 * 2 : 12 * 2) + 16, a = e === !0 ? r : e.columnWidth || r;
77
- let u = e === !0 ? void 0 : x(e.fixed);
78
- return u || (u === !1 ? u = void 0 : u = i.some(
79
- (o) => o.fixed === "left" || o.fixed === !0
78
+ let o = e === !0 ? void 0 : x(e.fixed);
79
+ return o || (o === !1 ? o = void 0 : o = i.some(
80
+ (u) => u.fixed === "left" || u.fixed === !0
80
81
  ) ? "left" : void 0), {
81
82
  type: n,
82
83
  width: a,
83
- fixed: u
84
+ fixed: o
84
85
  };
85
86
  }
86
- function F(e) {
87
+ function K(e) {
87
88
  const i = e?.width || "auto";
88
89
  return {
89
90
  type: "expand",
@@ -106,7 +107,7 @@ function R(e, i) {
106
107
  return n += r, e.querySelector("span.anticon-question-circle") && (n += 20), n += h(e.querySelector(".vxe-cell--sort")) + h(e.querySelector(".vxe-cell--filter")), Math.ceil(n);
107
108
  }
108
109
  export {
109
- F as getRowExpandProps,
110
- z as getRowSelectionProps,
111
- k as toVxeProps
110
+ K as getRowExpandProps,
111
+ F as getRowSelectionProps,
112
+ z as toVxeProps
112
113
  };
@@ -12,8 +12,8 @@ export declare const useOfflineList: <DataType = Recordable>(params: ApListProps
12
12
  current: number;
13
13
  pageSize: number;
14
14
  total: number;
15
- showSizeChanger: boolean;
16
- showQuickJumper: boolean;
15
+ showSizeChanger: NonNullable<boolean | undefined>;
16
+ showQuickJumper: NonNullable<boolean | undefined>;
17
17
  showLessItems: boolean | undefined;
18
18
  size: "default" | "small";
19
19
  pageSizeOptions: (string | number)[];
@@ -1,37 +1,38 @@
1
1
  import { ref as c, computed as g, unref as n } from "vue";
2
- import { isDef as f } from "../../utils/index.mjs";
3
- import { isUndefined as p } from "lodash-unified";
4
- const w = (e) => {
2
+ import "../../utils/index.mjs";
3
+ import { isUndefined as d } from "lodash-unified";
4
+ import { isDef as f } from "../../utils/is.mjs";
5
+ const C = (e) => {
5
6
  const i = c(
6
7
  e.pagination && e.pagination.defaultCurrent || 1
7
8
  ), o = c(
8
9
  e.pagination && e.pagination.defaultPageSize || 10
9
10
  );
10
- function s(t, a) {
11
- i.value = t, o.value = a;
11
+ function s(t, r) {
12
+ i.value = t, o.value = r;
12
13
  }
13
- const d = g(() => e.dataSource ? e.pagination === !1 ? [...e.dataSource] : e.dataSource.slice(
14
+ const p = g(() => e.dataSource ? e.pagination === !1 ? [...e.dataSource] : e.dataSource.slice(
14
15
  (n(i) - 1) * n(o),
15
16
  n(i) * n(o)
16
17
  ) : []);
17
18
  return {
18
19
  pagination: g(() => {
19
- const { showLessItems: t, showSizeChanger: a, showQuickJumper: r, pageSizeOptions: u } = e.pagination || {};
20
+ const { showLessItems: t, showSizeChanger: r, showQuickJumper: a, pageSizeOptions: u } = e.pagination || {};
20
21
  return {
21
22
  current: n(i),
22
23
  pageSize: n(o),
23
24
  total: e.dataSource?.length || 0,
24
- showSizeChanger: f(a) ? a : !t,
25
- showQuickJumper: f(r) ? r : !t,
25
+ showSizeChanger: f(r) ? r : !t,
26
+ showQuickJumper: f(a) ? a : !t,
26
27
  showLessItems: t,
27
28
  size: "default",
28
- pageSizeOptions: p(u) ? ["10", "20", "50", "100"] : u
29
+ pageSizeOptions: d(u) ? ["10", "20", "50", "100"] : u
29
30
  };
30
31
  }),
31
- dataSource: d,
32
+ dataSource: p,
32
33
  onChange: s
33
34
  };
34
35
  };
35
36
  export {
36
- w as useOfflineList
37
+ C as useOfflineList
37
38
  };
@@ -21,7 +21,7 @@ const i = (e) => {
21
21
  width: "100%",
22
22
  top: 0,
23
23
  bottom: 0,
24
- borderRadius: "4px",
24
+ borderRadius: e.borderRadius,
25
25
  display: "flex",
26
26
  justifyContent: "center",
27
27
  alignItems: "center",
@@ -8,7 +8,7 @@ const a = (r) => {
8
8
  backgroundColor: r.apProCardBorderColorSplit,
9
9
  "&-vertical": {
10
10
  position: "relative",
11
- marginInline: "8px",
11
+ marginInline: r.space,
12
12
  "&::after": {
13
13
  position: "absolute",
14
14
  height: r.apProCardDividerLineHeight,
@@ -21,7 +21,7 @@ const a = (r) => {
21
21
  },
22
22
  "&-horizontal": {
23
23
  position: "relative",
24
- marginBlock: "8px",
24
+ marginBlock: r.space,
25
25
  "&::after": {
26
26
  position: "absolute",
27
27
  width: r.apProCardDividerLineHeight,
@@ -1,6 +1,6 @@
1
- import { genComponentStyleHook as e } from "../../utils/cssinjs/index.mjs";
2
- import { defaultToken as d } from "./token.mjs";
3
- const i = () => {
1
+ import { genComponentStyleHook as i } from "../../utils/cssinjs/index.mjs";
2
+ import { defaultToken as e } from "./token.mjs";
3
+ const t = () => {
4
4
  const r = {};
5
5
  r["&-span-0"] = {
6
6
  display: "none"
@@ -13,7 +13,7 @@ const i = () => {
13
13
  };
14
14
  }
15
15
  return r;
16
- }, t = (r) => {
16
+ }, d = (r) => {
17
17
  const { componentCls: o } = r, a = `${r.apProCardBorderLineWidth} ${r.apProCardBorderLineType} ${r.apProCardBorderColorSplit}`;
18
18
  return {
19
19
  [o]: {
@@ -23,7 +23,7 @@ const i = () => {
23
23
  boxSizing: "border-box",
24
24
  padding: 0,
25
25
  width: "100%",
26
- transition: "all 0.3s",
26
+ transition: `all ${r.motionDurationSlow}`,
27
27
  backgroundColor: r.apProCardColorBgContainer,
28
28
  borderRadius: r.apProCardBorderRadius,
29
29
  fontSize: r.fontSize,
@@ -37,7 +37,7 @@ const i = () => {
37
37
  },
38
38
  "&-hoverable": {
39
39
  cursor: "pointer",
40
- transition: "box-shadow 0.3s, border-color 0.3s",
40
+ transition: `box-shadow ${r.motionDurationSlow}, border-color ${r.motionDurationSlow}`,
41
41
  "&:hover": {
42
42
  borderColor: "transparent",
43
43
  boxShadow: r.apProCardBoxShadow
@@ -53,7 +53,7 @@ const i = () => {
53
53
  color: r.apProCardHeaderTitleFontColor,
54
54
  fontWeight: "500",
55
55
  "&-tooltip": {
56
- marginLeft: "5px",
56
+ marginLeft: r.spaceXS,
57
57
  fontSize: r.fontSize,
58
58
  color: r.apProCardTooltipColor
59
59
  }
@@ -70,10 +70,10 @@ const i = () => {
70
70
  }
71
71
  },
72
72
  [`${o}-collapsible-icon`]: {
73
- marginInlineEnd: "4px",
73
+ marginInlineEnd: r.spaceXS,
74
74
  color: r.apProCardHeaderTitleFontColor,
75
75
  fontSize: r.fontSizeLG,
76
- transition: "transform 0.3s",
76
+ transition: `transform ${r.motionDurationSlow}`,
77
77
  "&:hover": {
78
78
  color: r.hoverColorBase
79
79
  },
@@ -142,7 +142,7 @@ const i = () => {
142
142
  content: '""'
143
143
  }
144
144
  },
145
- ...i(r)
145
+ ...t(r)
146
146
  },
147
147
  [`${o}-actions`]: {
148
148
  borderBlockStart: a,
@@ -158,12 +158,12 @@ const i = () => {
158
158
  }
159
159
  }
160
160
  };
161
- }, p = e(
161
+ }, p = i(
162
162
  "ProCard",
163
- (r) => [t(r)],
164
- d
163
+ (r) => [d(r)],
164
+ e
165
165
  );
166
166
  export {
167
167
  p as default,
168
- t as genProCardStyle
168
+ d as genProCardStyle
169
169
  };
@@ -6,8 +6,7 @@ const t = (e) => ({
6
6
  justifyContent: "center",
7
7
  marginInline: 0,
8
8
  fontWeight: "500",
9
- fontSize: "20px",
10
- lineHeight: "26px"
9
+ fontSize: e.fontSizeXXL
11
10
  }
12
11
  }), r = n("ProCard.Operation", (e) => [
13
12
  t(e)