@aplus-frontend/ui 7.0.0-beta.3 → 7.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (254) hide show
  1. package/es/index.mjs +108 -106
  2. package/es/src/ag-grid/hooks/use-columns-def.mjs +71 -70
  3. package/es/src/ag-grid/index.vue.mjs +1 -0
  4. package/es/src/ag-grid/interface.d.ts +1 -0
  5. package/es/src/ag-grid/style/custom-header.d.ts +2 -2
  6. package/es/src/ag-grid/style/custom-header.mjs +1 -1
  7. package/es/src/ag-grid/style/editable.d.ts +2 -2
  8. package/es/src/ag-grid/style/index.d.ts +2 -2
  9. package/es/src/ag-grid/style/index.mjs +0 -1
  10. package/es/src/ap-action/item-dropdown/index.vue.mjs +19 -18
  11. package/es/src/ap-action/style/dropdown-item.d.ts +2 -2
  12. package/es/src/ap-action/style/index.d.ts +2 -2
  13. package/es/src/ap-button/style/index.d.ts +2 -2
  14. package/es/src/ap-button/utils/index.mjs +16 -16
  15. package/es/src/ap-descriptions/style/index.d.ts +2 -2
  16. package/es/src/ap-download/ap-download.vue.d.ts +4 -4
  17. package/es/src/ap-download/ap-download.vue.mjs +27 -27
  18. package/es/src/ap-download/interface.d.ts +4 -0
  19. package/es/src/ap-download/style/index.d.ts +2 -2
  20. package/es/src/ap-drawer/style/index.d.ts +2 -2
  21. package/es/src/ap-field/style/index.d.ts +2 -2
  22. package/es/src/ap-form/style/drawer-form.d.ts +2 -2
  23. package/es/src/ap-form/style/item-group.d.ts +2 -2
  24. package/es/src/ap-form/style/item-text-group.d.ts +2 -2
  25. package/es/src/ap-form/style/item.d.ts +2 -2
  26. package/es/src/ap-form/style/item.mjs +5 -4
  27. package/es/src/ap-form/style/modal-form.d.ts +2 -2
  28. package/es/src/ap-form/style/modal-form.mjs +11 -11
  29. package/es/src/ap-form/style/search-form-sorter.d.ts +2 -2
  30. package/es/src/ap-form/style/search-form-sorter.mjs +16 -12
  31. package/es/src/ap-form/style/search-form.d.ts +2 -2
  32. package/es/src/ap-form/style/token.d.ts +4 -0
  33. package/es/src/ap-grid/style/editable.d.ts +2 -2
  34. package/es/src/ap-grid/style/index.d.ts +2 -2
  35. package/es/src/ap-grid/utils/col.mjs +33 -33
  36. package/es/src/ap-list/style/index.d.ts +2 -2
  37. package/es/src/ap-modal/interface.d.ts +31 -11
  38. package/es/src/ap-modal/utils/createModal.mjs +52 -45
  39. package/es/src/ap-pro-card/style/divider.d.ts +2 -2
  40. package/es/src/ap-pro-card/style/index.d.ts +2 -2
  41. package/es/src/ap-pro-card/style/operation.d.ts +2 -2
  42. package/es/src/ap-pro-card/style/statistic.d.ts +2 -2
  43. package/es/src/ap-pro-card/style/statistics-card.d.ts +2 -2
  44. package/es/src/ap-pro-card/style/title.d.ts +2 -2
  45. package/es/src/ap-table/style/ellipsis.d.ts +2 -2
  46. package/es/src/ap-table/style/index-comp.d.ts +2 -2
  47. package/es/src/ap-table/style/index.d.ts +2 -2
  48. package/es/src/ap-table/style/setting.d.ts +2 -2
  49. package/es/src/ap-tag/style/group.d.ts +2 -2
  50. package/es/src/ap-tag/style/index.d.ts +2 -2
  51. package/es/src/ap-upload/apUpload.vue.mjs +32 -31
  52. package/es/src/ap-upload/style/index.d.ts +2 -2
  53. package/es/src/business/ag-grid-modal/interface.d.ts +1 -1
  54. package/es/src/business/ag-grid-modal/style/index.d.ts +2 -2
  55. package/es/src/business/ag-grid-modal/style/selected-items.d.ts +2 -2
  56. package/es/src/business/ag-grid-modal/utils.mjs +23 -23
  57. package/es/src/business/ag-grid-modal/wrapper/index.vue.d.ts +6 -2
  58. package/es/src/business/ag-grid-modal/wrapper/index.vue2.mjs +29 -12
  59. package/es/src/business/ap-appendix/style/index.d.ts +3 -3
  60. package/es/src/business/ap-appendix/style/index.mjs +1 -1
  61. package/es/src/business/ap-attachment/ApAttachment.mjs +70 -66
  62. package/es/src/business/ap-attachment/style/index.d.ts +2 -2
  63. package/es/src/business/ap-batch-action/style/index.d.ts +3 -3
  64. package/es/src/business/ap-batch-action/style/index.mjs +1 -1
  65. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +50 -56
  66. package/es/src/business/ap-batch-action-group/style/index.d.ts +3 -0
  67. package/es/src/business/ap-batch-action-group/style/index.mjs +14 -0
  68. package/es/src/business/ap-card/style/index.d.ts +3 -3
  69. package/es/src/business/ap-card/style/index.mjs +8 -8
  70. package/es/src/business/ap-copy/style/index.d.ts +2 -2
  71. package/es/src/business/ap-draggable-grid/style/index.d.ts +2 -2
  72. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -2
  73. package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +57 -49
  74. package/es/src/business/ap-expand-alert/index.d.ts +5 -2
  75. package/es/src/business/ap-expand-alert/interface.d.ts +1 -1
  76. package/es/src/business/ap-expand-alert/style/index.d.ts +2 -2
  77. package/es/src/business/ap-image/style/index.d.ts +3 -3
  78. package/es/src/business/ap-image/style/index.mjs +6 -6
  79. package/es/src/business/ap-input-radio/style/index.d.ts +2 -2
  80. package/es/src/business/ap-label/style/index.d.ts +2 -2
  81. package/es/src/business/ap-ladder/style/index.d.ts +2 -2
  82. package/es/src/business/ap-ladder/style/index.mjs +2 -5
  83. package/es/src/business/ap-product-info/style/index.d.ts +2 -2
  84. package/es/src/business/ap-radio-group/style/index.d.ts +2 -2
  85. package/es/src/business/ap-select-layout/style/index.d.ts +2 -2
  86. package/es/src/business/ap-size-input/ApSizeInput.d.ts +20 -4
  87. package/es/src/business/ap-size-input/ApSizeInput.mjs +37 -40
  88. package/es/src/business/ap-size-input/constans.d.ts +10 -2
  89. package/es/src/business/ap-size-input/constans.mjs +9 -1
  90. package/es/src/business/ap-size-input/form-item.vue.d.ts +13 -0
  91. package/es/src/business/ap-size-input/form-item.vue.mjs +65 -0
  92. package/es/src/business/ap-size-input/form-item.vue2.mjs +4 -0
  93. package/es/src/business/ap-size-input/index.d.ts +33 -8
  94. package/es/src/business/ap-size-input/index.mjs +3 -2
  95. package/es/src/business/ap-size-input/interface.d.ts +7 -0
  96. package/es/src/business/ap-size-input/style/index.d.ts +2 -2
  97. package/es/src/business/ap-size-input/style/index.mjs +2 -1
  98. package/es/src/business/ap-status/style/index.d.ts +2 -2
  99. package/es/src/business/ap-summary/style/index.d.ts +2 -2
  100. package/es/src/business/ap-table-modal/style/index.d.ts +2 -2
  101. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +23 -23
  102. package/es/src/business/ap-title/style/index.d.ts +2 -2
  103. package/es/src/business/ap-upload-file/ap-upload-single/style/index.d.ts +2 -2
  104. package/es/src/business/ap-value-select-card/style/index.d.ts +2 -2
  105. package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +61 -64
  106. package/es/src/business/ap-view/style/index.d.ts +3 -3
  107. package/es/src/business/ap-view/style/index.mjs +2 -2
  108. package/es/src/business/batch-input-group/style/index.d.ts +2 -2
  109. package/es/src/business/hooks/usePageListAgGrid.mjs +7 -6
  110. package/es/src/check-card/style/index.d.ts +2 -2
  111. package/es/src/check-card/style/index.mjs +46 -51
  112. package/es/src/config-provider/hooks/use-token.d.ts +2 -2
  113. package/es/src/design-token/interface.d.ts +24 -1
  114. package/es/src/editable-table/style/index.d.ts +2 -2
  115. package/es/src/full-screen/style/index.d.ts +2 -2
  116. package/es/src/index.mjs +95 -93
  117. package/es/src/mask/style/index.d.ts +2 -2
  118. package/es/src/scroll-bar/style/index.d.ts +2 -2
  119. package/es/src/scroll-view/style/index.d.ts +2 -2
  120. package/es/src/splitter/style/index.d.ts +2 -2
  121. package/es/src/text/style/group.d.ts +2 -2
  122. package/es/src/text/style/index.d.ts +2 -2
  123. package/es/src/utils/cssinjs/index.d.ts +2 -2
  124. package/es/src/utils/cssinjs/index.mjs +54 -48
  125. package/es/src/utils/cssinjs/plugin-specificity.mjs +13 -0
  126. package/es/src/version.d.ts +1 -1
  127. package/es/src/version.mjs +1 -1
  128. package/lib/index.js +1 -1
  129. package/lib/src/ag-grid/hooks/use-columns-def.js +1 -1
  130. package/lib/src/ag-grid/index.vue.js +1 -1
  131. package/lib/src/ag-grid/interface.d.ts +1 -0
  132. package/lib/src/ag-grid/style/custom-header.d.ts +2 -2
  133. package/lib/src/ag-grid/style/custom-header.js +1 -1
  134. package/lib/src/ag-grid/style/editable.d.ts +2 -2
  135. package/lib/src/ag-grid/style/index.d.ts +2 -2
  136. package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
  137. package/lib/src/ap-action/style/dropdown-item.d.ts +2 -2
  138. package/lib/src/ap-action/style/index.d.ts +2 -2
  139. package/lib/src/ap-button/style/index.d.ts +2 -2
  140. package/lib/src/ap-button/utils/index.js +1 -1
  141. package/lib/src/ap-descriptions/style/index.d.ts +2 -2
  142. package/lib/src/ap-download/ap-download.vue.d.ts +4 -4
  143. package/lib/src/ap-download/ap-download.vue.js +1 -1
  144. package/lib/src/ap-download/interface.d.ts +4 -0
  145. package/lib/src/ap-download/style/index.d.ts +2 -2
  146. package/lib/src/ap-drawer/style/index.d.ts +2 -2
  147. package/lib/src/ap-field/style/index.d.ts +2 -2
  148. package/lib/src/ap-form/style/drawer-form.d.ts +2 -2
  149. package/lib/src/ap-form/style/item-group.d.ts +2 -2
  150. package/lib/src/ap-form/style/item-text-group.d.ts +2 -2
  151. package/lib/src/ap-form/style/item.d.ts +2 -2
  152. package/lib/src/ap-form/style/item.js +1 -1
  153. package/lib/src/ap-form/style/modal-form.d.ts +2 -2
  154. package/lib/src/ap-form/style/modal-form.js +1 -1
  155. package/lib/src/ap-form/style/search-form-sorter.d.ts +2 -2
  156. package/lib/src/ap-form/style/search-form-sorter.js +1 -1
  157. package/lib/src/ap-form/style/search-form.d.ts +2 -2
  158. package/lib/src/ap-form/style/token.d.ts +4 -0
  159. package/lib/src/ap-grid/style/editable.d.ts +2 -2
  160. package/lib/src/ap-grid/style/index.d.ts +2 -2
  161. package/lib/src/ap-grid/utils/col.js +1 -1
  162. package/lib/src/ap-list/style/index.d.ts +2 -2
  163. package/lib/src/ap-modal/interface.d.ts +31 -11
  164. package/lib/src/ap-modal/utils/createModal.js +1 -1
  165. package/lib/src/ap-pro-card/style/divider.d.ts +2 -2
  166. package/lib/src/ap-pro-card/style/index.d.ts +2 -2
  167. package/lib/src/ap-pro-card/style/operation.d.ts +2 -2
  168. package/lib/src/ap-pro-card/style/statistic.d.ts +2 -2
  169. package/lib/src/ap-pro-card/style/statistics-card.d.ts +2 -2
  170. package/lib/src/ap-pro-card/style/title.d.ts +2 -2
  171. package/lib/src/ap-table/style/ellipsis.d.ts +2 -2
  172. package/lib/src/ap-table/style/index-comp.d.ts +2 -2
  173. package/lib/src/ap-table/style/index.d.ts +2 -2
  174. package/lib/src/ap-table/style/setting.d.ts +2 -2
  175. package/lib/src/ap-tag/style/group.d.ts +2 -2
  176. package/lib/src/ap-tag/style/index.d.ts +2 -2
  177. package/lib/src/ap-upload/apUpload.vue.js +1 -1
  178. package/lib/src/ap-upload/style/index.d.ts +2 -2
  179. package/lib/src/business/ag-grid-modal/interface.d.ts +1 -1
  180. package/lib/src/business/ag-grid-modal/style/index.d.ts +2 -2
  181. package/lib/src/business/ag-grid-modal/style/selected-items.d.ts +2 -2
  182. package/lib/src/business/ag-grid-modal/utils.js +1 -1
  183. package/lib/src/business/ag-grid-modal/wrapper/index.vue.d.ts +6 -2
  184. package/lib/src/business/ag-grid-modal/wrapper/index.vue2.js +1 -1
  185. package/lib/src/business/ap-appendix/style/index.d.ts +3 -3
  186. package/lib/src/business/ap-appendix/style/index.js +1 -1
  187. package/lib/src/business/ap-attachment/ApAttachment.js +1 -1
  188. package/lib/src/business/ap-attachment/style/index.d.ts +2 -2
  189. package/lib/src/business/ap-batch-action/style/index.d.ts +3 -3
  190. package/lib/src/business/ap-batch-action/style/index.js +1 -1
  191. package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.js +1 -1
  192. package/lib/src/business/ap-batch-action-group/style/index.d.ts +3 -0
  193. package/lib/src/business/ap-batch-action-group/style/index.js +1 -0
  194. package/lib/src/business/ap-card/style/index.d.ts +3 -3
  195. package/lib/src/business/ap-card/style/index.js +1 -1
  196. package/lib/src/business/ap-copy/style/index.d.ts +2 -2
  197. package/lib/src/business/ap-draggable-grid/style/index.d.ts +2 -2
  198. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -2
  199. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
  200. package/lib/src/business/ap-expand-alert/index.d.ts +5 -2
  201. package/lib/src/business/ap-expand-alert/interface.d.ts +1 -1
  202. package/lib/src/business/ap-expand-alert/style/index.d.ts +2 -2
  203. package/lib/src/business/ap-image/style/index.d.ts +3 -3
  204. package/lib/src/business/ap-image/style/index.js +1 -1
  205. package/lib/src/business/ap-input-radio/style/index.d.ts +2 -2
  206. package/lib/src/business/ap-label/style/index.d.ts +2 -2
  207. package/lib/src/business/ap-ladder/style/index.d.ts +2 -2
  208. package/lib/src/business/ap-ladder/style/index.js +1 -1
  209. package/lib/src/business/ap-product-info/style/index.d.ts +2 -2
  210. package/lib/src/business/ap-radio-group/style/index.d.ts +2 -2
  211. package/lib/src/business/ap-select-layout/style/index.d.ts +2 -2
  212. package/lib/src/business/ap-size-input/ApSizeInput.d.ts +20 -4
  213. package/lib/src/business/ap-size-input/ApSizeInput.js +1 -1
  214. package/lib/src/business/ap-size-input/constans.d.ts +10 -2
  215. package/lib/src/business/ap-size-input/constans.js +1 -1
  216. package/lib/src/business/ap-size-input/form-item.vue.d.ts +13 -0
  217. package/lib/src/business/ap-size-input/form-item.vue.js +1 -0
  218. package/lib/src/business/ap-size-input/form-item.vue2.js +1 -0
  219. package/lib/src/business/ap-size-input/index.d.ts +33 -8
  220. package/lib/src/business/ap-size-input/index.js +1 -1
  221. package/lib/src/business/ap-size-input/interface.d.ts +7 -0
  222. package/lib/src/business/ap-size-input/style/index.d.ts +2 -2
  223. package/lib/src/business/ap-size-input/style/index.js +1 -1
  224. package/lib/src/business/ap-status/style/index.d.ts +2 -2
  225. package/lib/src/business/ap-summary/style/index.d.ts +2 -2
  226. package/lib/src/business/ap-table-modal/style/index.d.ts +2 -2
  227. package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
  228. package/lib/src/business/ap-title/style/index.d.ts +2 -2
  229. package/lib/src/business/ap-upload-file/ap-upload-single/style/index.d.ts +2 -2
  230. package/lib/src/business/ap-value-select-card/style/index.d.ts +2 -2
  231. package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -1
  232. package/lib/src/business/ap-view/style/index.d.ts +3 -3
  233. package/lib/src/business/ap-view/style/index.js +1 -1
  234. package/lib/src/business/batch-input-group/style/index.d.ts +2 -2
  235. package/lib/src/business/hooks/usePageListAgGrid.js +1 -1
  236. package/lib/src/check-card/style/index.d.ts +2 -2
  237. package/lib/src/check-card/style/index.js +1 -1
  238. package/lib/src/config-provider/hooks/use-token.d.ts +2 -2
  239. package/lib/src/design-token/interface.d.ts +24 -1
  240. package/lib/src/editable-table/style/index.d.ts +2 -2
  241. package/lib/src/full-screen/style/index.d.ts +2 -2
  242. package/lib/src/index.js +1 -1
  243. package/lib/src/mask/style/index.d.ts +2 -2
  244. package/lib/src/scroll-bar/style/index.d.ts +2 -2
  245. package/lib/src/scroll-view/style/index.d.ts +2 -2
  246. package/lib/src/splitter/style/index.d.ts +2 -2
  247. package/lib/src/text/style/group.d.ts +2 -2
  248. package/lib/src/text/style/index.d.ts +2 -2
  249. package/lib/src/utils/cssinjs/index.d.ts +2 -2
  250. package/lib/src/utils/cssinjs/index.js +1 -1
  251. package/lib/src/utils/cssinjs/plugin-specificity.js +1 -0
  252. package/lib/src/version.d.ts +1 -1
  253. package/lib/src/version.js +1 -1
  254. package/package.json +1 -1
@@ -1,3 +1,3 @@
1
- import { Ref } from 'vue';
2
- declare const _default: (prefixCls: string) => Ref<string | undefined, string | undefined>;
1
+ import { ComputedRef } from 'vue';
2
+ declare const _default: (prefixCls: string) => ComputedRef<string>;
3
3
  export default _default;
@@ -1,3 +1,3 @@
1
- import { Ref } from 'vue';
2
- declare const _default: (prefixCls: string) => Ref<string | undefined, string | undefined>;
1
+ import { ComputedRef } from 'vue';
2
+ declare const _default: (prefixCls: string) => ComputedRef<string>;
3
3
  export default _default;
@@ -1,9 +1,9 @@
1
1
  import { ROW_KEY as a } from "./constants.mjs";
2
2
  import { isFunction as p } from "lodash-unified";
3
- function m(t, e, r) {
3
+ function m(e, t, r) {
4
4
  let n = null;
5
5
  return { request: async (s) => {
6
- const i = t;
6
+ const i = e;
7
7
  if (!i)
8
8
  return r?.(0), {
9
9
  data: [],
@@ -12,42 +12,42 @@ function m(t, e, r) {
12
12
  n && (s = Object.assign(s, n));
13
13
  const { records: l, total: u } = await i(Object.assign({}, s));
14
14
  return r?.(l.length || 0), {
15
- data: l.map((c) => h(c, e)),
15
+ data: l.map((c) => h(c, t)),
16
16
  total: u
17
17
  };
18
18
  }, setExtraParams: (s) => {
19
19
  n = s || null;
20
20
  } };
21
21
  }
22
- function h(t, e) {
23
- return p(e) ? {
24
- ...t,
25
- [a]: e(t)
26
- } : t;
22
+ function h(e, t) {
23
+ return p(t) ? {
24
+ ...e,
25
+ [a]: t(e)
26
+ } : e;
27
27
  }
28
- function g(t) {
29
- return Reflect.deleteProperty(t, a), t;
28
+ function g(e) {
29
+ return Reflect.deleteProperty(e, a), e;
30
30
  }
31
- function y(t) {
32
- const { renderSelectedItem: e, rightTitle: r, rightBottom: n, ...o } = t || {};
31
+ function j(e) {
32
+ const { renderSelectedItem: t, rightTitle: r, rightBottom: n, ...o } = e || {};
33
33
  return {
34
- props: { ...o, layoutType: t && "two-column" },
34
+ props: { ...o, layoutType: e && "two-column" },
35
35
  slots: {
36
- renderSelectedItem: e,
36
+ renderSelectedItem: t,
37
37
  rightTitle: r,
38
38
  rightBottom: n
39
39
  }
40
40
  };
41
41
  }
42
- class P {
42
+ class y {
43
43
  constructor() {
44
44
  this.p = null, this.operateFn = null;
45
45
  }
46
46
  buildPromise() {
47
- return this.operateFn && this.operateFn.reject("reuse"), this.p = new Promise((e, r) => {
47
+ return this.operateFn && this.operateFn.reject("Ignored Reject: reuse"), this.p = new Promise((t, r) => {
48
48
  this.operateFn = {
49
49
  reject: r,
50
- resolve: e
50
+ resolve: t
51
51
  };
52
52
  }), this.p;
53
53
  }
@@ -55,18 +55,18 @@ class P {
55
55
  this.p = null, this.operateFn = null;
56
56
  }
57
57
  /** 兑现回调 */
58
- resolve(e) {
59
- this.operateFn && (this.operateFn.resolve(e), this.clear());
58
+ resolve(t) {
59
+ this.operateFn && (this.operateFn.resolve(t), this.clear());
60
60
  }
61
61
  /** 拒绝回调 */
62
- reject(e) {
63
- this.operateFn && (this.operateFn.reject(e), this.clear());
62
+ reject(t) {
63
+ this.operateFn && (this.operateFn.reject("Ignored Reject: " + t), this.clear());
64
64
  }
65
65
  }
66
66
  export {
67
- P as AsyncCallback,
67
+ y as AsyncCallback,
68
68
  h as addRowKeyField,
69
69
  g as delRowKeyField,
70
70
  m as genRequest,
71
- y as getModalLayoutConfig
71
+ j as getModalLayoutConfig
72
72
  };
@@ -7,13 +7,17 @@ declare function __VLS_template(): {
7
7
  slots: {
8
8
  default?(_: {}): any;
9
9
  };
10
- refs: {};
10
+ refs: {
11
+ wrapperContainer: HTMLDivElement;
12
+ };
11
13
  rootEl: HTMLDivElement;
12
14
  };
13
15
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
16
  declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
15
17
  rowHeight: number;
16
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
18
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
19
+ wrapperContainer: HTMLDivElement;
20
+ }, HTMLDivElement>;
17
21
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
18
22
  export default _default;
19
23
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,25 +1,42 @@
1
- import { defineComponent as c, computed as t, createElementBlock as u, openBlock as s, normalizeStyle as d, unref as m, renderSlot as p } from "vue";
2
- import { LARGER_HEIGHT as f, SMALL_HEIGHT as o } from "../constants.mjs";
3
- import { useAgGridModalInject as h } from "../hooks/use-ag-grid-instance.mjs";
4
- const v = /* @__PURE__ */ c({
1
+ import { defineComponent as p, useTemplateRef as f, computed as g, ref as h, watch as d, onMounted as m, createElementBlock as H, openBlock as v, normalizeStyle as _, unref as y, renderSlot as w } from "vue";
2
+ import { SMALL_HEIGHT as l, LARGER_HEIGHT as S } from "../constants.mjs";
3
+ import { useAgGridModalInject as L } from "../hooks/use-ag-grid-instance.mjs";
4
+ const G = /* @__PURE__ */ p({
5
5
  __name: "index",
6
6
  props: {
7
- rowHeight: { default: 40 }
7
+ rowHeight: { default: 32 }
8
8
  },
9
- setup(r) {
10
- const n = r, i = h(), l = t(() => i?.dataSourceLength?.value || 0), a = t(() => l.value * n.rowHeight > 400 ? f : o);
11
- return (e, g) => (s(), u("div", {
12
- style: d({
13
- minHeight: m(o),
9
+ setup(c) {
10
+ const s = c, t = f("wrapperContainer"), u = L(), r = g(
11
+ () => u?.dataSourceLength?.value || 0
12
+ ), a = h(l), i = () => {
13
+ const e = t.value?.clientHeight, o = t.value?.querySelector(
14
+ ".ag-body.ag-layout-normal"
15
+ )?.clientHeight;
16
+ let n = 0;
17
+ !e || !o ? n = 0 : n = e - o, r.value * s.rowHeight > 480 - n && (a.value = S);
18
+ };
19
+ return d(
20
+ () => r.value,
21
+ () => {
22
+ i();
23
+ }
24
+ ), m(() => {
25
+ i();
26
+ }), (e, o) => (v(), H("div", {
27
+ ref_key: "wrapperContainer",
28
+ ref: t,
29
+ style: _({
30
+ minHeight: y(l),
14
31
  height: a.value,
15
32
  display: "flex",
16
33
  flexDirection: "column"
17
34
  })
18
35
  }, [
19
- p(e.$slots, "default")
36
+ w(e.$slots, "default")
20
37
  ], 4));
21
38
  }
22
39
  });
23
40
  export {
24
- v as default
41
+ G as default
25
42
  };
@@ -1,6 +1,6 @@
1
1
  import { GenStyleFunc } from '../../../design-token/interface';
2
2
  import { AppendixToken } from './token';
3
- import { Ref } from 'vue';
4
- export declare const genProCardStyle: GenStyleFunc<AppendixToken>;
5
- declare const _default: (prefixCls: string) => Ref<string | undefined, string | undefined>;
3
+ import { ComputedRef } from 'vue';
4
+ export declare const genApAppendixStyle: GenStyleFunc<AppendixToken>;
5
+ declare const _default: (prefixCls: string) => ComputedRef<string>;
6
6
  export default _default;
@@ -93,5 +93,5 @@ const r = (o) => {
93
93
  );
94
94
  export {
95
95
  l as default,
96
- r as genProCardStyle
96
+ r as genApAppendixStyle
97
97
  };
@@ -1,108 +1,112 @@
1
- import { defineComponent as U, ref as F, useSlots as W, computed as n, cloneVNode as _, toRaw as v, unref as j, createVNode as t, createTextVNode as K } from "vue";
1
+ import { defineComponent as W, ref as x, useSlots as _, computed as n, cloneVNode as j, toRaw as h, unref as K, createVNode as t, createTextVNode as R } from "vue";
2
2
  import { Tooltip as B, Popover as G } from "@aplus-frontend/antdv";
3
3
  import "../../config-provider/index.mjs";
4
4
  import { ApAttachmentProps as H } from "./constans.mjs";
5
- import { getHexWithOpacity as R, getFileInfo as b } from "../../ap-download/utils/getFileInfo.mjs";
6
- import { useOssInit as q } from "../../ap-download/hooks/index.mjs";
7
- import { debounce as D, isArray as E } from "lodash-unified";
8
- import { LoadingOutlined as h } from "@ant-design/icons-vue";
9
- import { warning as J } from "../../utils/warning.mjs";
10
- import Q from "./style/index.mjs";
11
- import { useNamespace as X } from "../../config-provider/hooks/use-namespace.mjs";
12
- import { useGlobalConfig as g } from "../../config-provider/hooks/use-global-config.mjs";
13
- import { useLocale as Y } from "../../config-provider/hooks/use-locale.mjs";
14
- const me = /* @__PURE__ */ U({
5
+ import { getHexWithOpacity as q, getFileInfo as O } from "../../ap-download/utils/getFileInfo.mjs";
6
+ import { useOssInit as D } from "../../ap-download/hooks/index.mjs";
7
+ import { debounce as E, isArray as J } from "lodash-unified";
8
+ import { LoadingOutlined as g } from "@ant-design/icons-vue";
9
+ import { warning as Q } from "../../utils/warning.mjs";
10
+ import X from "./style/index.mjs";
11
+ import { useNamespace as Y } from "../../config-provider/hooks/use-namespace.mjs";
12
+ import { useGlobalConfig as p } from "../../config-provider/hooks/use-global-config.mjs";
13
+ import { useLocale as Z } from "../../config-provider/hooks/use-locale.mjs";
14
+ const de = /* @__PURE__ */ W({
15
15
  name: "ApAttachment",
16
16
  props: H(),
17
- setup(e) {
17
+ setup(e, {
18
+ emit: C
19
+ }) {
18
20
  const {
19
- b: x,
20
- e: l
21
- } = X("ap-attachment"), p = Q("ap-attachment"), O = g("uiMode"), L = g("apUpload"), N = g("downloadCenterTriggerConfig"), {
22
- lang: T,
23
- t: r
24
- } = Y(), c = F(!1), s = F(""), m = W(), P = n(() => T.value === "zh-cn" ? "zh_CN" : "en_US"), i = n(() => e.needName ?? L?.value?.needName), d = n(() => e.attachmentList.length === 1), y = n(() => i.value ? e.attachmentList.length > 0 && i.value && i.value?.nameKey ? e.attachmentList[0][i.value.nameKey] : "" : e.attachmentList.length > 0 ? e.attachmentList[0].fileName : ""), k = n(() => d.value ? y.value : r("ap.apAttachment.downloadall")), A = n(() => e.color ? e.color : O.value === "aplus" ? "#0070FF" : "#1890FF"), C = n(() => ({
21
+ b: T,
22
+ e: a
23
+ } = Y("ap-attachment"), L = X("ap-attachment"), k = p("uiMode"), N = p("apUpload"), w = p("downloadCenterTriggerConfig"), {
24
+ lang: P,
25
+ t: m
26
+ } = Z(), i = x(!1), c = x(""), d = _(), I = n(() => P.value === "zh-cn" ? "zh_CN" : "en_US"), s = n(() => e.needName ?? N?.value?.needName), f = n(() => e.attachmentList.length === 1), y = n(() => s.value ? e.attachmentList.length > 0 && s.value && s.value?.nameKey ? e.attachmentList[0][s.value.nameKey] : "" : e.attachmentList.length > 0 ? e.attachmentList[0].fileName : ""), S = n(() => f.value ? y.value : m("ap.apAttachment.downloadall")), A = n(() => e.color ? e.color : k.value === "aplus" ? "#0070FF" : "#1890FF"), F = n(() => ({
25
27
  "--download-main-color": A.value,
26
- "--download-main-color-opacity": R(A.value, 0.6)
27
- })), I = n(() => e.getOssAccess || L.value?.getOssAccess), S = n(() => {
28
- const a = m.default ? m.default()[0] : null;
29
- return a ? _(a, {
28
+ "--download-main-color-opacity": q(A.value, 0.6)
29
+ })), V = n(() => e.getOssAccess || N.value?.getOssAccess), z = n(() => {
30
+ const l = d.default ? d.default()[0] : null;
31
+ return l ? j(l, {
30
32
  style: {
31
33
  "font-size": "16px"
32
34
  }
33
35
  }) : null;
34
- }), f = D(async (a, u) => {
36
+ }), v = E(async (l, u) => {
35
37
  if (!e.disabled) {
36
- c.value = !0, u && (s.value = u);
38
+ i.value = !0, u && (c.value = u);
37
39
  try {
38
- const o = E(v(a)) ? v(a) : [v(a)];
39
- if (N.value?.trigger) {
40
- const M = b(i.value, o).map((w) => ({
41
- objectName: w.path,
42
- fileName: w.fileName
40
+ const o = J(h(l)) ? h(l) : [h(l)];
41
+ if (w.value?.trigger) {
42
+ const r = O(s.value, o).map((b) => ({
43
+ objectName: b.path,
44
+ fileName: b.fileName
43
45
  }));
44
- N.value?.trigger(M);
45
- } else
46
- await (await q(I.value, j(P))).downloadFile(b(i.value, o));
46
+ w.value?.trigger(r), C("downloadCallback", r);
47
+ } else {
48
+ const r = await (await D(V.value, K(I))).downloadFile(O(e.needName, o));
49
+ C("downloadCallback", r);
50
+ }
47
51
  } catch (o) {
48
- J(!1, o);
52
+ Q(!1, o);
49
53
  } finally {
50
- c.value = !1, s.value = "";
54
+ i.value = !1, c.value = "";
51
55
  }
52
56
  }
53
- }, 500), V = (a) => a && a.length > 0 ? t("ul", {
54
- class: [l("file-list"), p.value],
55
- style: C.value
56
- }, [a.map((u, o) => t("li", {
57
+ }, 500), M = (l) => l && l.length > 0 ? t("ul", {
58
+ class: [a("file-list"), L.value],
59
+ style: F.value
60
+ }, [l.map((u, o) => t("li", {
57
61
  key: o,
58
- class: [l("file-item")],
59
- onClick: () => f(u, o + 1)
60
- }, [c.value && s.value === o + 1 ? t("span", {
61
- class: [l("spin")]
62
- }, [t(h, {
62
+ class: [a("file-item")],
63
+ onClick: () => v(u, o + 1)
64
+ }, [i.value && c.value === o + 1 ? t("span", {
65
+ class: [a("spin")]
66
+ }, [t(g, {
63
67
  spin: !0
64
68
  }, null)]) : null, u.fileName])), t("li", {
65
- class: [l("download-all")],
66
- onClick: () => f(e.attachmentList, "all")
67
- }, [c.value && s.value === "all" ? t("span", {
68
- class: [l("spin")]
69
- }, [t(h, {
69
+ class: [a("download-all")],
70
+ onClick: () => v(e.attachmentList, "all")
71
+ }, [i.value && c.value === "all" ? t("span", {
72
+ class: [a("spin")]
73
+ }, [t(g, {
70
74
  spin: !0
71
- }, null)]) : null, r("ap.apAttachment.downloadall")])]) : null;
75
+ }, null)]) : null, m("ap.apAttachment.downloadall")])]) : null;
72
76
  return () => e.attachmentList?.length > 0 && t("div", {
73
- class: [x(), p.value],
74
- style: [C.value]
77
+ class: [T(), L.value],
78
+ style: [F.value]
75
79
  }, [t(B, {
76
- title: k.value,
80
+ title: S.value,
77
81
  placement: e.textToolTipPlacement,
78
82
  color: e.toolTipBgColor
79
83
  }, {
80
84
  default: () => [t("div", {
81
- class: [l("content")],
82
- onClick: () => f(d.value ? e.attachmentList[0] : e.attachmentList, "global")
83
- }, [c.value && s.value === "global" ? t("div", {
84
- class: [l("spin")]
85
- }, [t(h, {
85
+ class: [a("content")],
86
+ onClick: () => v(f.value ? e.attachmentList[0] : e.attachmentList, "global")
87
+ }, [i.value && c.value === "global" ? t("div", {
88
+ class: [a("spin")]
89
+ }, [t(g, {
86
90
  spin: !0
87
- }, null)]) : null, m.default ? t("div", {
88
- class: [l("text-render")]
89
- }, [S.value, K(" ")]) : null, t("div", {
90
- class: [l("text-inner")],
91
+ }, null)]) : null, d.default ? t("div", {
92
+ class: [a("text-render")]
93
+ }, [z.value, R(" ")]) : null, t("div", {
94
+ class: [a("text-inner")],
91
95
  style: {
92
96
  "max-width": e.maxWidth ? e.maxWidth + "px" : "auto"
93
97
  }
94
98
  }, [y.value])])]
95
99
  }), t(G, {
96
- content: V(e.attachmentList),
100
+ content: M(e.attachmentList),
97
101
  placement: e.fileMorePopoverPlacement,
98
102
  color: "#fff"
99
103
  }, {
100
- default: () => [!d.value && t("div", {
101
- class: [l("more")]
102
- }, [r("ap.apAttachment.more")])]
104
+ default: () => [!f.value && t("div", {
105
+ class: [a("more")]
106
+ }, [m("ap.apAttachment.more")])]
103
107
  })]);
104
108
  }
105
109
  });
106
110
  export {
107
- me as default
111
+ de as default
108
112
  };
@@ -1,3 +1,3 @@
1
- import { Ref } from 'vue';
2
- declare const _default: (prefixCls: string) => Ref<string | undefined, string | undefined>;
1
+ import { ComputedRef } from 'vue';
2
+ declare const _default: (prefixCls: string) => ComputedRef<string>;
3
3
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { BaseToken, GenStyleFunc } from '../../../design-token/interface';
2
- import { Ref } from 'vue';
3
- export declare const genProCardStyle: GenStyleFunc<BaseToken>;
4
- declare const _default: (prefixCls: string) => Ref<string | undefined, string | undefined>;
2
+ import { ComputedRef } from 'vue';
3
+ export declare const genApBatchActionStyle: GenStyleFunc<BaseToken>;
4
+ declare const _default: (prefixCls: string) => ComputedRef<string>;
5
5
  export default _default;
@@ -47,5 +47,5 @@ const n = (t) => {
47
47
  ]);
48
48
  export {
49
49
  l as default,
50
- n as genProCardStyle
50
+ n as genApBatchActionStyle
51
51
  };
@@ -1,17 +1,17 @@
1
- import { defineComponent as F, useSlots as O, computed as t, createBlock as u, createCommentVNode as j, openBlock as p, unref as n, mergeProps as f, createSlots as L, withCtx as r, createElementVNode as x, normalizeStyle as E, resolveDynamicComponent as S, h as g, createVNode as i, renderList as k, renderSlot as A, normalizeProps as b, guardReactiveProps as v, normalizeClass as I } from "vue";
2
- import { DropdownButton as q, Dropdown as H } from "@aplus-frontend/antdv";
1
+ import { defineComponent as O, useSlots as j, computed as t, createBlock as u, createCommentVNode as x, openBlock as p, unref as r, mergeProps as f, createSlots as S, withCtx as n, createElementVNode as E, normalizeStyle as q, resolveDynamicComponent as k, h as L, createVNode as i, renderList as g, renderSlot as A, normalizeProps as b, guardReactiveProps as v, normalizeClass as F } from "vue";
2
+ import { DropdownButton as H, Dropdown as J } from "@aplus-frontend/antdv";
3
3
  import "../../ap-button/index.mjs";
4
4
  import "./MenuItemGroup.vue.mjs";
5
5
  import "../../config-provider/index.mjs";
6
- import { DownOutlined as J } from "@ant-design/icons-vue";
7
- import { usePermission as K } from "@aplus-frontend/hooks";
6
+ import { DownOutlined as K } from "@ant-design/icons-vue";
7
+ import { usePermission as M } from "@aplus-frontend/hooks";
8
8
  import { useInjectApTable as Q } from "../../ap-table/context.mjs";
9
- import { useNamespace as U } from "../../config-provider/hooks/use-namespace.mjs";
10
- import { useLocale as W } from "../../config-provider/hooks/use-locale.mjs";
11
- import { useGlobalConfig as X } from "../../config-provider/hooks/use-global-config.mjs";
9
+ import U from "./style/index.mjs";
10
+ import { useNamespace as W } from "../../config-provider/hooks/use-namespace.mjs";
11
+ import { useLocale as X } from "../../config-provider/hooks/use-locale.mjs";
12
12
  import B from "./MenuItemGroup.vue2.mjs";
13
13
  import Y from "../../ap-button/ap-button.vue.mjs";
14
- const me = /* @__PURE__ */ F({
14
+ const me = /* @__PURE__ */ O({
15
15
  __name: "ApBatchActionGroup",
16
16
  props: {
17
17
  selectedRows: {},
@@ -19,95 +19,89 @@ const me = /* @__PURE__ */ F({
19
19
  menuList: {}
20
20
  },
21
21
  setup(C, { expose: $ }) {
22
- const { b: h } = U("ap-batch-action-group"), { t: D } = W(), { columns: R, dataSource: T } = Q(), o = C, N = X("uiMode"), { hasPermission: z } = K(), w = O(), y = t(
23
- () => o?.buttonProps?.dropdownType || "default"
22
+ const { b: h } = W("ap-batch-action-group"), D = U("ap-batch-action-group"), { t: R } = X(), { columns: T, dataSource: N } = Q(), e = C, { hasPermission: z } = M(), y = j(), w = t(
23
+ () => e?.buttonProps?.dropdownType || "default"
24
24
  ), a = t(
25
- () => o?.buttonProps?.type || "borderLink"
25
+ () => e?.buttonProps?.type || "borderLink"
26
26
  ), P = t(
27
- () => o?.buttonProps?.content || D("ap.apApBatchActionGroup.batchOperation")
28
- ), G = t(() => o?.selectedRows || []), c = t(
29
- () => o?.buttonProps?.disabled ?? (Array.isArray(o.selectedRows) ? G.value.length === 0 : !1)
30
- ), M = t(() => {
31
- const e = {
32
- aplus: "#0070FF",
33
- admin: "#34b77c"
34
- };
35
- return a.value === "borderLink" ? c.value ? void 0 : e[N.value] || e.aplus : void 0;
36
- }), l = t(() => o?.menuList?.filter((e) => {
37
- let m = e?.ifShow;
38
- return !e?.ifShow && e?.auth && (m = () => z(e.auth)), m?.() ?? !0;
27
+ () => e?.buttonProps?.content || R("ap.apApBatchActionGroup.batchOperation")
28
+ ), V = t(() => e?.selectedRows || []), c = t(
29
+ () => e?.buttonProps?.disabled ?? (Array.isArray(e.selectedRows) ? V.value.length === 0 : !1)
30
+ ), G = t(() => a.value === "borderLink" ? c.value ? void 0 : "var(--ap-button-border-link-color)" : void 0), l = t(() => e?.menuList?.filter((o) => {
31
+ let m = o?.ifShow;
32
+ return !o?.ifShow && o?.auth && (m = () => z(o.auth)), m?.() ?? !0;
39
33
  }) || []);
40
34
  function _() {
41
- return o?.buttonProps ? {
42
- ...o.buttonProps,
35
+ return e?.buttonProps ? {
36
+ ...e.buttonProps,
43
37
  type: a.value === "borderLink" ? "default" : a.value
44
38
  } : {};
45
39
  }
46
40
  return $({
47
- columns: R,
48
- dataSource: T
49
- }), (e, m) => l.value.length && y.value === "dropdown" ? (p(), u(n(q), f({
41
+ columns: T,
42
+ dataSource: N
43
+ }), (o, m) => l.value.length && w.value === "dropdown" ? (p(), u(r(H), f({
50
44
  key: 0,
51
- class: [n(h)()]
45
+ class: [r(h)(), r(D)]
52
46
  }, {
53
- ...e.$attrs,
47
+ ...o.$attrs,
54
48
  ..._(),
55
49
  disabled: c.value
56
- }), L({
57
- overlay: r(() => [
50
+ }), S({
51
+ overlay: n(() => [
58
52
  i(B, f({
59
- ...o
53
+ ...e
60
54
  }, { "menu-list": l.value }), null, 16, ["menu-list"])
61
55
  ]),
62
- default: r(() => [
63
- x("span", {
64
- style: E({
65
- color: M.value
56
+ default: n(() => [
57
+ E("span", {
58
+ style: q({
59
+ color: G.value
66
60
  })
67
61
  }, [
68
- (p(), u(S(g("span", [P.value]))))
62
+ (p(), u(k(L("span", [P.value]))))
69
63
  ], 4)
70
64
  ]),
71
65
  _: 2
72
66
  }, [
73
- k(w, (V, s) => ({
67
+ g(y, (I, s) => ({
74
68
  name: s,
75
- fn: r((d) => [
76
- A(e.$slots, s, b(v(d || {})))
69
+ fn: n((d) => [
70
+ A(o.$slots, s, b(v(d || {})))
77
71
  ])
78
72
  }))
79
- ]), 1040, ["class"])) : l.value.length && y.value === "default" ? (p(), u(n(H), {
73
+ ]), 1040, ["class"])) : l.value.length && w.value === "default" ? (p(), u(r(J), {
80
74
  key: 1,
81
- class: I([n(h)()]),
75
+ class: F([r(h)()]),
82
76
  disabled: c.value
83
- }, L({
84
- overlay: r(() => [
77
+ }, S({
78
+ overlay: n(() => [
85
79
  i(B, f({
86
- ...o
80
+ ...e
87
81
  }, { "menu-list": l.value }), null, 16, ["menu-list"])
88
82
  ]),
89
- default: r(() => [
90
- i(n(Y), b(v({
91
- ...e.$attrs,
83
+ default: n(() => [
84
+ i(r(Y), b(v({
85
+ ...o.$attrs,
92
86
  ..._(),
93
87
  type: a.value
94
88
  })), {
95
- default: r(() => [
96
- (p(), u(S(g("span", [P.value])))),
97
- i(n(J))
89
+ default: n(() => [
90
+ (p(), u(k(L("span", [P.value])))),
91
+ i(r(K))
98
92
  ]),
99
93
  _: 1
100
94
  }, 16)
101
95
  ]),
102
96
  _: 2
103
97
  }, [
104
- k(w, (V, s) => ({
98
+ g(y, (I, s) => ({
105
99
  name: s,
106
- fn: r((d) => [
107
- A(e.$slots, s, b(v(d || {})))
100
+ fn: n((d) => [
101
+ A(o.$slots, s, b(v(d || {})))
108
102
  ])
109
103
  }))
110
- ]), 1032, ["class", "disabled"])) : j("", !0);
104
+ ]), 1032, ["class", "disabled"])) : x("", !0);
111
105
  }
112
106
  });
113
107
  export {
@@ -0,0 +1,3 @@
1
+ import { ComputedRef } from 'vue';
2
+ declare const _default: (prefixCls: string) => ComputedRef<string>;
3
+ export default _default;
@@ -0,0 +1,14 @@
1
+ import { genComponentStyleHook as n } from "../../../utils/cssinjs/index.mjs";
2
+ const r = (o) => {
3
+ const { componentCls: t } = o;
4
+ return {
5
+ [t]: {
6
+ "--ap-button-border-link-color": o.colorPrimary
7
+ }
8
+ };
9
+ }, c = n("ApBatchActionGroup", (o) => [
10
+ r(o)
11
+ ]);
12
+ export {
13
+ c as default
14
+ };
@@ -1,5 +1,5 @@
1
1
  import { BaseToken, GenStyleFunc } from '../../../design-token/interface';
2
- import { Ref } from 'vue';
3
- export declare const genProCardStyle: GenStyleFunc<BaseToken>;
4
- declare const _default: (prefixCls: string) => Ref<string | undefined, string | undefined>;
2
+ import { ComputedRef } from 'vue';
3
+ export declare const genApCardStyle: GenStyleFunc<BaseToken>;
4
+ declare const _default: (prefixCls: string) => ComputedRef<string>;
5
5
  export default _default;
@@ -1,22 +1,22 @@
1
1
  import { genComponentStyleHook as n } from "../../../utils/cssinjs/index.mjs";
2
- const e = (o) => {
3
- const { componentCls: t } = o;
2
+ const e = (t) => {
3
+ const { componentCls: o } = t;
4
4
  return {
5
- [t]: {
5
+ [o]: {
6
6
  width: "100%",
7
7
  background: "#fff",
8
- [`& + ${t}`]: {
8
+ [`& + ${o}`]: {
9
9
  marginTop: "10px"
10
10
  },
11
- [`${t}-title`]: {
11
+ [`${o}-title`]: {
12
12
  marginBottom: "12px"
13
13
  }
14
14
  }
15
15
  };
16
- }, p = n("ApCard", (o) => [
17
- e(o)
16
+ }, p = n("ApCard", (t) => [
17
+ e(t)
18
18
  ]);
19
19
  export {
20
20
  p as default,
21
- e as genProCardStyle
21
+ e as genApCardStyle
22
22
  };