@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
package/es/index.mjs CHANGED
@@ -4,14 +4,14 @@ import "./src/hooks/index.mjs";
4
4
  import { configProviderProps as s } from "./src/config-provider/config-provider-props.mjs";
5
5
  import { DEFAULT_NAMESPACE as A, DEFAULT_UIMODE as i, configProviderContextKey as n } from "./src/config-provider/constants.mjs";
6
6
  import { keysOf as F, provideGlobalConfig as I, useGlobalConfig as g } from "./src/config-provider/hooks/use-global-config.mjs";
7
- import { buildLocaleContext as b, buildTranslator as S, localeContextKey as C, translate as G, useLocale as D } from "./src/config-provider/hooks/use-locale.mjs";
7
+ import { buildLocaleContext as S, buildTranslator as b, localeContextKey as C, translate as G, useLocale as D } from "./src/config-provider/hooks/use-locale.mjs";
8
8
  import { defaultNamespace as P, namespaceContextKey as E, useGetDerivedNamespace as R, useNamespace as L } from "./src/config-provider/hooks/use-namespace.mjs";
9
9
  import { ConfigProvider as v, globalConfigCached as M } from "./src/config-provider/config-provider.mjs";
10
10
  import { APConfigProvider as w } from "./src/config-provider/index.mjs";
11
11
  import { ApFormItemText as K } from "./src/ap-form/items/text/index.mjs";
12
12
  import { default as U } from "./src/ap-form/items/text-area/index.vue.mjs";
13
13
  import { default as V } from "./src/ap-form/items/number/index.vue.mjs";
14
- import { default as z } from "./src/ap-form/items/date/index.vue.mjs";
14
+ import { default as _ } from "./src/ap-form/items/date/index.vue.mjs";
15
15
  import { default as j } from "./src/ap-form/items/date-range/index.vue.mjs";
16
16
  import { default as W } from "./src/ap-form/items/radio/index.vue.mjs";
17
17
  import { default as J } from "./src/ap-form/items/select/index.vue.mjs";
@@ -27,7 +27,7 @@ import { default as Ae } from "./src/ap-form/search-form/index.vue.mjs";
27
27
  import { default as ne } from "./src/ap-form/modal-form/index.vue.mjs";
28
28
  import { default as Fe } from "./src/ap-form/dependency/index.vue.mjs";
29
29
  import { default as ge } from "./src/ap-form/set/index.vue.mjs";
30
- import { default as be } from "./src/ap-form/drawer-form/index.vue.mjs";
30
+ import { default as Se } from "./src/ap-form/drawer-form/index.vue.mjs";
31
31
  import { default as Ce } from "./src/ap-form/render/control.vue.mjs";
32
32
  import { default as De } from "./src/ap-form/render/item.vue.mjs";
33
33
  import { default as Pe } from "./src/ap-form/provider/index.vue.mjs";
@@ -37,7 +37,7 @@ import { default as ye } from "./src/ap-field/checkbox/index.vue.mjs";
37
37
  import { default as Be } from "./src/ap-field/date/index.vue.mjs";
38
38
  import { default as ke } from "./src/ap-field/number/index.vue.mjs";
39
39
  import { default as Oe } from "./src/ap-field/radio/index.vue.mjs";
40
- import { default as _e } from "./src/ap-field/switch/index.vue.mjs";
40
+ import { default as ze } from "./src/ap-field/switch/index.vue.mjs";
41
41
  import { default as $e } from "./src/ap-field/text-area/index.vue.mjs";
42
42
  import { default as He } from "./src/ap-field/date-range/index.vue.mjs";
43
43
  import { default as qe } from "./src/ap-field/select/index.vue.mjs";
@@ -53,7 +53,7 @@ import { default as io } from "./src/ap-action/item-popconfirm/index.vue.mjs";
53
53
  import { default as co } from "./src/ap-action/item-dropdown/index.vue.mjs";
54
54
  import { default as Io } from "./src/ap-action/group/index.vue.mjs";
55
55
  import { default as To } from "./src/ap-tag/ap-tag.vue.mjs";
56
- import { default as So } from "./src/ap-tag/ap-tag-group.vue.mjs";
56
+ import { default as bo } from "./src/ap-tag/ap-tag-group.vue.mjs";
57
57
  import { NeedNameKeyDefault as Go } from "./src/ap-upload/apUploadTypes.mjs";
58
58
  import { default as ho } from "./src/ap-upload/apUpload.vue.mjs";
59
59
  import { ApDownLoadNeedNameKeyDefault as Eo } from "./src/ap-download/interface.mjs";
@@ -63,7 +63,7 @@ import { default as yo } from "./src/check-card/group.vue.mjs";
63
63
  import { ApModal as Bo } from "./src/ap-modal/index.mjs";
64
64
  import { default as ko } from "./src/ap-list/index.vue.mjs";
65
65
  import { default as Oo } from "./src/ap-button/ap-button.vue.mjs";
66
- import { default as _o } from "./src/ap-button/ap-action-button.vue.mjs";
66
+ import { default as zo } from "./src/ap-button/ap-action-button.vue.mjs";
67
67
  import { default as $o } from "./src/ap-button/ap-confirm-button.vue.mjs";
68
68
  import { ApDrawer as Ho } from "./src/ap-drawer/index.mjs";
69
69
  import { ApProCard as qo, ApStatisticCard as Jo } from "./src/ap-pro-card/index.mjs";
@@ -79,7 +79,7 @@ import { ApCard as Ar } from "./src/business/ap-card/index.mjs";
79
79
  import { ApExpandAlert as nr } from "./src/business/ap-expand-alert/index.mjs";
80
80
  import { ApExportGroupActionType as Fr } from "./src/business/ap-export-group/interface.mjs";
81
81
  import { ApExportGroup as gr } from "./src/business/ap-export-group/index.mjs";
82
- import { handleExportDownload as br } from "./src/business/ap-export-group/handleExportDownload.mjs";
82
+ import { handleExportDownload as Sr } from "./src/business/ap-export-group/handleExportDownload.mjs";
83
83
  import { convertExportField as Cr } from "./src/business/ap-export-group/convertExportField.mjs";
84
84
  import { ApImage as Dr } from "./src/business/ap-image/index.mjs";
85
85
  import { ApInputRadio as Pr } from "./src/business/ap-input-radio/index.mjs";
@@ -89,7 +89,7 @@ import { ApLadder as yr } from "./src/business/ap-ladder/index.mjs";
89
89
  import { ApSelectLayout as Br } from "./src/business/ap-select-layout/index.mjs";
90
90
  import { ApStatus as kr, ApStatusGroup as Ur } from "./src/business/ap-status/index.mjs";
91
91
  import { ApTitle as Vr } from "./src/business/ap-title/index.mjs";
92
- import { usePageListApTable as zr } from "./src/business/hooks/usePageListApTable.mjs";
92
+ import { usePageListApTable as _r } from "./src/business/hooks/usePageListApTable.mjs";
93
93
  import { useTableRefresh as jr } from "./src/business/hooks/useTableRefresh.mjs";
94
94
  import { usePageListApGrid as Wr } from "./src/business/hooks/usePageListApGrid.mjs";
95
95
  import { useGridRefresh as Jr } from "./src/business/hooks/useGridRefresh.mjs";
@@ -102,50 +102,51 @@ import { default as dt } from "./src/business/ap-upload-file/ap-upload-single/ap
102
102
  import { default as ut } from "./src/business/batch-input-group/index.vue.mjs";
103
103
  import { default as it } from "./src/business/batch-input-group/form-item.vue.mjs";
104
104
  import { ApSizeInput as ct } from "./src/business/ap-size-input/index.mjs";
105
- import { ApProductInfo as It } from "./src/business/ap-product-info/index.mjs";
106
- import { ApCopy as Tt } from "./src/business/ap-copy/index.mjs";
107
- import { ApView as St } from "./src/business/ap-view/index.mjs";
108
- import { ApRadioGroup as Gt } from "./src/business/ap-radio-group/index.mjs";
109
- import { ApKeepAliveProps as ht, forceStopTags as Pt } from "./src/business/ap-keep-alive/interface.mjs";
110
- import { ApKeepAlive as Rt } from "./src/business/ap-keep-alive/index.mjs";
111
- import { LruCacher as Nt } from "./src/business/ap-keep-alive/cacher/lru-cacher.mjs";
112
- import { useApKeepAliveInject as Mt } from "./src/business/ap-keep-alive/hook.mjs";
113
- import { matches as wt } from "./src/business/ap-keep-alive/utils.mjs";
114
- import { ApDraggableGrid as Kt } from "./src/business/ap-draggable-grid/index.mjs";
115
- import { ApValueSelectCard as Ut } from "./src/business/ap-value-select-card/index.mjs";
116
- import { useAgGridModal as Vt } from "./src/business/ag-grid-modal/hooks/use-ag-grid-modal.mjs";
117
- import { useAgGridSelectModal as zt } from "./src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.mjs";
118
- import { ApSelectedItems as jt } from "./src/business/ag-grid-modal/selected-items/index.mjs";
119
- import { useTablePaging as Wt } from "./src/ap-table/hooks/use-table-paging.mjs";
120
- import { ApTable as Jt } from "./src/ap-table/index.mjs";
121
- import { default as Xt } from "./src/editable-table/index.vue.mjs";
122
- import { default as Zt } from "./src/editable-table/form-item.vue.mjs";
123
- import { default as op } from "./src/ap-descriptions/ap-descriptions.vue.mjs";
124
- import { ensureRangeValue as tp } from "./src/scroll-bar/utils/index.mjs";
125
- import { default as ap } from "./src/scroll-bar/index.vue.mjs";
126
- import { default as mp } from "./src/scroll-bar/internal.vue.mjs";
127
- import { default as xp } from "./src/scroll-view/index.vue.mjs";
128
- import { default as sp } from "./src/portal/index.vue.mjs";
129
- import { default as Ap } from "./src/full-screen/index.vue.mjs";
130
- import { default as np } from "./src/resize-observer/index.vue.mjs";
131
- import { ROW_SELECTION_FIELD as Fp } from "./src/ap-grid/constants.mjs";
132
- import { toTreeArray as gp } from "./src/ap-grid/utils/to-tree-array.mjs";
133
- import { default as bp } from "./src/ap-grid/index.vue.mjs";
134
- import { default as Cp } from "./src/ap-grid/editable/index.vue.mjs";
135
- import { default as Dp } from "./src/ap-grid/editable/form-item.vue.mjs";
136
- import { default as Pp } from "./src/text/index.vue.mjs";
137
- import { default as Rp } from "./src/text/group.vue.mjs";
138
- import { default as Np } from "./src/mask/index.vue.mjs";
139
- import { Splitter as Mp } from "./src/splitter/index.mjs";
140
- import { default as wp } from "./src/ag-grid/index.vue.mjs";
141
- import { default as Kp } from "./src/ag-grid/editable/index.vue.mjs";
142
- import { default as Up } from "./src/ag-grid/editable/form-item.vue.mjs";
143
- import { useMessage as Vp } from "./src/hooks/useMessage.mjs";
144
- import { useControllableValue as zp } from "./src/hooks/useControllableValue.mjs";
145
- import { useManualRef as jp } from "./src/hooks/useManualRef.mjs";
146
- import { useThrottleRef as Wp } from "./src/hooks/useThrottleRef.mjs";
147
- import { useFullScreen as Jp } from "./src/hooks/useFullScreen.mjs";
148
- import { useResize as Xp } from "./src/hooks/useResize.mjs";
105
+ import { default as It } from "./src/business/ap-size-input/form-item.vue.mjs";
106
+ import { ApProductInfo as Tt } from "./src/business/ap-product-info/index.mjs";
107
+ import { ApCopy as bt } from "./src/business/ap-copy/index.mjs";
108
+ import { ApView as Gt } from "./src/business/ap-view/index.mjs";
109
+ import { ApRadioGroup as ht } from "./src/business/ap-radio-group/index.mjs";
110
+ import { ApKeepAliveProps as Et, forceStopTags as Rt } from "./src/business/ap-keep-alive/interface.mjs";
111
+ import { ApKeepAlive as Nt } from "./src/business/ap-keep-alive/index.mjs";
112
+ import { LruCacher as Mt } from "./src/business/ap-keep-alive/cacher/lru-cacher.mjs";
113
+ import { useApKeepAliveInject as wt } from "./src/business/ap-keep-alive/hook.mjs";
114
+ import { matches as Kt } from "./src/business/ap-keep-alive/utils.mjs";
115
+ import { ApDraggableGrid as Ut } from "./src/business/ap-draggable-grid/index.mjs";
116
+ import { ApValueSelectCard as Vt } from "./src/business/ap-value-select-card/index.mjs";
117
+ import { useAgGridModal as _t } from "./src/business/ag-grid-modal/hooks/use-ag-grid-modal.mjs";
118
+ import { useAgGridSelectModal as jt } from "./src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.mjs";
119
+ import { ApSelectedItems as Wt } from "./src/business/ag-grid-modal/selected-items/index.mjs";
120
+ import { useTablePaging as Jt } from "./src/ap-table/hooks/use-table-paging.mjs";
121
+ import { ApTable as Xt } from "./src/ap-table/index.mjs";
122
+ import { default as Zt } from "./src/editable-table/index.vue.mjs";
123
+ import { default as op } from "./src/editable-table/form-item.vue.mjs";
124
+ import { default as tp } from "./src/ap-descriptions/ap-descriptions.vue.mjs";
125
+ import { ensureRangeValue as ap } from "./src/scroll-bar/utils/index.mjs";
126
+ import { default as mp } from "./src/scroll-bar/index.vue.mjs";
127
+ import { default as xp } from "./src/scroll-bar/internal.vue.mjs";
128
+ import { default as sp } from "./src/scroll-view/index.vue.mjs";
129
+ import { default as Ap } from "./src/portal/index.vue.mjs";
130
+ import { default as np } from "./src/full-screen/index.vue.mjs";
131
+ import { default as Fp } from "./src/resize-observer/index.vue.mjs";
132
+ import { ROW_SELECTION_FIELD as gp } from "./src/ap-grid/constants.mjs";
133
+ import { toTreeArray as Sp } from "./src/ap-grid/utils/to-tree-array.mjs";
134
+ import { default as Cp } from "./src/ap-grid/index.vue.mjs";
135
+ import { default as Dp } from "./src/ap-grid/editable/index.vue.mjs";
136
+ import { default as Pp } from "./src/ap-grid/editable/form-item.vue.mjs";
137
+ import { default as Rp } from "./src/text/index.vue.mjs";
138
+ import { default as Np } from "./src/text/group.vue.mjs";
139
+ import { default as Mp } from "./src/mask/index.vue.mjs";
140
+ import { Splitter as wp } from "./src/splitter/index.mjs";
141
+ import { default as Kp } from "./src/ag-grid/index.vue.mjs";
142
+ import { default as Up } from "./src/ag-grid/editable/index.vue.mjs";
143
+ import { default as Vp } from "./src/ag-grid/editable/form-item.vue.mjs";
144
+ import { useMessage as _p } from "./src/hooks/useMessage.mjs";
145
+ import { useControllableValue as jp } from "./src/hooks/useControllableValue.mjs";
146
+ import { useManualRef as Wp } from "./src/hooks/useManualRef.mjs";
147
+ import { useThrottleRef as Jp } from "./src/hooks/useThrottleRef.mjs";
148
+ import { useFullScreen as Xp } from "./src/hooks/useFullScreen.mjs";
149
+ import { useResize as Zp } from "./src/hooks/useResize.mjs";
149
150
  const a = console.log;
150
151
  a(`APlus-UI version ${p}`);
151
152
  const l = {
@@ -158,8 +159,8 @@ const l = {
158
159
  };
159
160
  export {
160
161
  w as APConfigProvider,
161
- wp as AgGrid,
162
- _o as ApActionButton,
162
+ Kp as AgGrid,
163
+ zo as ApActionButton,
163
164
  Io as ApActionGroup,
164
165
  xo as ApActionItem,
165
166
  co as ApActionItemDropdown,
@@ -173,11 +174,11 @@ export {
173
174
  sr as ApButtonGroup,
174
175
  Ar as ApCard,
175
176
  $o as ApConfirmButton,
176
- Tt as ApCopy,
177
- op as ApDescriptions,
177
+ bt as ApCopy,
178
+ tp as ApDescriptions,
178
179
  Eo as ApDownLoadNeedNameKeyDefault,
179
180
  Lo as ApDownload,
180
- Kt as ApDraggableGrid,
181
+ Ut as ApDraggableGrid,
181
182
  Ho as ApDrawer,
182
183
  nr as ApExpandAlert,
183
184
  gr as ApExportGroup,
@@ -194,24 +195,25 @@ export {
194
195
  eo as ApFieldSegmented,
195
196
  qe as ApFieldSelect,
196
197
  Ye as ApFieldSlider,
197
- _e as ApFieldSwitch,
198
+ ze as ApFieldSwitch,
198
199
  ve as ApFieldText,
199
200
  $e as ApFieldTextArea,
200
201
  po as ApFieldTreeSelect,
201
202
  ae as ApForm,
202
203
  Ce as ApFormControlRender,
203
204
  Fe as ApFormDependency,
204
- be as ApFormDrawerForm,
205
+ Se as ApFormDrawerForm,
205
206
  me as ApFormItem,
206
207
  it as ApFormItemBatchInput,
207
208
  Z as ApFormItemCheckbox,
208
- z as ApFormItemDate,
209
+ _ as ApFormItemDate,
209
210
  j as ApFormItemDateRange,
210
211
  xe as ApFormItemGroup,
211
212
  V as ApFormItemNumber,
212
213
  W as ApFormItemRadio,
213
214
  De as ApFormItemRender,
214
215
  J as ApFormItemSelect,
216
+ It as ApFormItemSizeInput,
215
217
  X as ApFormItemSwitch,
216
218
  K as ApFormItemText,
217
219
  U as ApFormItemTextArea,
@@ -222,11 +224,11 @@ export {
222
224
  Pe as ApFormProvider,
223
225
  Ae as ApFormSearchForm,
224
226
  ge as ApFormSet,
225
- bp as ApGrid,
227
+ Cp as ApGrid,
226
228
  Dr as ApImage,
227
229
  Pr as ApInputRadio,
228
- Rt as ApKeepAlive,
229
- ht as ApKeepAliveProps,
230
+ Nt as ApKeepAlive,
231
+ Et as ApKeepAliveProps,
230
232
  Rr as ApLabel,
231
233
  Lr as ApLabelGroup,
232
234
  yr as ApLadder,
@@ -234,94 +236,94 @@ export {
234
236
  Bo as ApModal,
235
237
  ft as ApNeedNameKeyDefault,
236
238
  qo as ApProCard,
237
- It as ApProductInfo,
238
- Gt as ApRadioGroup,
239
+ Tt as ApProductInfo,
240
+ ht as ApRadioGroup,
239
241
  Br as ApSelectLayout,
240
- jt as ApSelectedItems,
242
+ Wt as ApSelectedItems,
241
243
  ct as ApSizeInput,
242
244
  Jo as ApStatisticCard,
243
245
  kr as ApStatus,
244
246
  Ur as ApStatusGroup,
245
247
  pt as ApSummary,
246
- Jt as ApTable,
248
+ Xt as ApTable,
247
249
  Zo as ApTableModal,
248
250
  To as ApTag,
249
- So as ApTagGroup,
250
- Pp as ApText,
251
- Rp as ApTextGroup,
251
+ bo as ApTagGroup,
252
+ Rp as ApText,
253
+ Np as ApTextGroup,
252
254
  Vr as ApTitle,
253
255
  Xo as ApTransformDataHelper,
254
256
  ho as ApUpload,
255
257
  dt as ApUploadSingle,
256
- Ut as ApValueSelectCard,
257
- St as ApView,
258
+ Vt as ApValueSelectCard,
259
+ Gt as ApView,
258
260
  ut as BatchInputGroup,
259
261
  vo as CheckCard,
260
262
  yo as CheckCardGroup,
261
263
  v as ConfigProvider,
262
264
  A as DEFAULT_NAMESPACE,
263
265
  i as DEFAULT_UIMODE,
264
- Kp as EditableAgGrid,
265
- Up as EditableAgGridFormItem,
266
- Cp as EditableGrid,
267
- Dp as EditableGridFormItem,
268
- Xt as EditableTable,
269
- Zt as EditableTableFormItem,
270
- Ap as FullScreen,
271
- mp as InternalScrollBar,
272
- Nt as LruCacher,
273
- Np as Mask,
266
+ Up as EditableAgGrid,
267
+ Vp as EditableAgGridFormItem,
268
+ Dp as EditableGrid,
269
+ Pp as EditableGridFormItem,
270
+ Zt as EditableTable,
271
+ op as EditableTableFormItem,
272
+ np as FullScreen,
273
+ xp as InternalScrollBar,
274
+ Mt as LruCacher,
275
+ Mp as Mask,
274
276
  Go as NeedNameKeyDefault,
275
- sp as Portal,
276
- Fp as ROW_SELECTION_FIELD,
277
- np as ResizeObserver,
278
- ap as ScrollBar,
279
- xp as ScrollView,
280
- Mp as Splitter,
277
+ Ap as Portal,
278
+ gp as ROW_SELECTION_FIELD,
279
+ Fp as ResizeObserver,
280
+ mp as ScrollBar,
281
+ sp as ScrollView,
282
+ wp as Splitter,
281
283
  fo as adminToken,
282
284
  mo as aplusToken,
283
- b as buildLocaleContext,
284
- S as buildTranslator,
285
+ S as buildLocaleContext,
286
+ b as buildTranslator,
285
287
  Zr as computedRecords,
286
288
  n as configProviderContextKey,
287
289
  s as configProviderProps,
288
290
  Cr as convertExportField,
289
291
  l as default,
290
292
  P as defaultNamespace,
291
- tp as ensureRangeValue,
293
+ ap as ensureRangeValue,
292
294
  et as flattenColumns,
293
- Pt as forceStopTags,
295
+ Rt as forceStopTags,
294
296
  ot as formatDataIndex,
295
297
  rt as formatNumber,
296
298
  M as globalConfigCached,
297
- br as handleExportDownload,
298
- wt as isNameMatches,
299
+ Sr as handleExportDownload,
300
+ Kt as isNameMatches,
299
301
  F as keysOf,
300
302
  C as localeContextKey,
301
303
  vr as locales,
302
304
  E as namespaceContextKey,
303
305
  I as provideGlobalConfig,
304
- gp as toTreeArray,
306
+ Sp as toTreeArray,
305
307
  G as translate,
306
- Vt as useAgGridModal,
307
- zt as useAgGridSelectModal,
308
- Mt as useApKeepAliveInject,
309
- zp as useControllableValue,
310
- Jp as useFullScreen,
308
+ _t as useAgGridModal,
309
+ jt as useAgGridSelectModal,
310
+ wt as useApKeepAliveInject,
311
+ jp as useControllableValue,
312
+ Xp as useFullScreen,
311
313
  R as useGetDerivedNamespace,
312
314
  g as useGlobalConfig,
313
315
  Jr as useGridRefresh,
314
316
  D as useLocale,
315
- jp as useManualRef,
316
- Vp as useMessage,
317
+ Wp as useManualRef,
318
+ _p as useMessage,
317
319
  L as useNamespace,
318
320
  Xr as usePageListAgGrid,
319
321
  Wr as usePageListApGrid,
320
- zr as usePageListApTable,
321
- Xp as useResize,
322
+ _r as usePageListApTable,
323
+ Zp as useResize,
322
324
  or as useTableModal,
323
- Wt as useTablePaging,
325
+ Jt as useTablePaging,
324
326
  jr as useTableRefresh,
325
327
  tr as useTableSelectModal,
326
- Wp as useThrottleRef
328
+ Jp as useThrottleRef
327
329
  };
@@ -1,7 +1,7 @@
1
- import { getTableRenderProps as y, objectToString as P } from "../../ap-table/utils.mjs";
2
- import { rendererMap as h } from "../renderer/index.mjs";
3
- import { isNumber as f, isFunction as m } from "lodash-unified";
4
- import { ref as R, unref as x, computed as T } from "vue";
1
+ import { getTableRenderProps as c, objectToString as D } from "../../ap-table/utils.mjs";
2
+ import { rendererMap as x } from "../renderer/index.mjs";
3
+ import { isNumber as u, isFunction as m } from "lodash-unified";
4
+ import { ref as P, unref as v, computed as y } from "vue";
5
5
  import "../components/body-cell/index.vue.mjs";
6
6
  import "../components/header-cell/index.vue.mjs";
7
7
  import "../components/tooltip/index.vue.mjs";
@@ -12,24 +12,24 @@ import { useGlobalConfig as _ } from "../../config-provider/hooks/use-global-con
12
12
  import { useNamespace as G } from "../../config-provider/hooks/use-namespace.mjs";
13
13
  import W from "../components/body-cell/index.vue2.mjs";
14
14
  import z from "../components/tooltip/index.vue2.mjs";
15
- import v from "../components/header-cell/index.vue2.mjs";
15
+ import h from "../components/header-cell/index.vue2.mjs";
16
16
  function F(t) {
17
- return f(t) && t > 1;
17
+ return u(t) && t > 1;
18
18
  }
19
- function M(t, o) {
20
- if (o.bodyCellTooltip)
21
- return m(o.bodyCellTooltip) ? o.bodyCellTooltip(t.value, t.data) : o.bodyCellTooltip;
22
- if (o.renderText)
23
- return o.renderText({
19
+ function M(t, a) {
20
+ if (a.bodyCellTooltip)
21
+ return m(a.bodyCellTooltip) ? a.bodyCellTooltip(t.value, t.data) : a.bodyCellTooltip;
22
+ if (a.renderText)
23
+ return a.renderText({
24
24
  value: t.value,
25
25
  record: t.data,
26
- column: o,
26
+ column: a,
27
27
  text: t.value
28
28
  });
29
- const n = o.valueType || "text", d = h[n];
30
- if (d) {
31
- const p = y(
32
- { ...o, valueType: n },
29
+ const d = a.valueType || "text", p = x[d];
30
+ if (p) {
31
+ const f = c(
32
+ { ...a, valueType: d },
33
33
  {
34
34
  value: t.value,
35
35
  text: t.value,
@@ -39,61 +39,61 @@ function M(t, o) {
39
39
  pinned: t.node?.rowPinned
40
40
  }
41
41
  );
42
- return d(p);
42
+ return p(f);
43
43
  }
44
- return P(t.value);
44
+ return D(t.value);
45
45
  }
46
- const X = (t, o, n) => {
47
- const d = _("valueTypeMap"), u = R(), { em: p } = G("ag-grid"), c = (r) => {
48
- const a = {
46
+ const X = (t, a, d) => {
47
+ const p = _("valueTypeMap"), C = P(), { em: f } = G("ag-grid"), b = (r) => {
48
+ const i = {
49
49
  cellRenderer: W,
50
50
  cellRendererParams: {
51
51
  column: r,
52
- extraValueType: x(d),
53
- rowKey: o.rowKey
52
+ extraValueType: v(p),
53
+ rowKey: a.rowKey
54
54
  }
55
55
  };
56
56
  if (r.customRender)
57
- return a;
57
+ return i;
58
58
  if (r.renderText)
59
59
  return {
60
- valueFormatter: (i) => r.renderText({
61
- value: i.value,
62
- record: i.data,
60
+ valueFormatter: (o) => r.renderText({
61
+ value: o.value,
62
+ record: o.data,
63
63
  column: r,
64
- text: i.value
64
+ text: o.value
65
65
  })
66
66
  };
67
- const l = r.valueType || "text", e = h[l];
67
+ const s = r.valueType || "text", e = x[s];
68
68
  return e ? {
69
- valueFormatter: (i) => {
70
- const s = y(
71
- { ...r, valueType: l },
69
+ valueFormatter: (o) => {
70
+ const l = c(
71
+ { ...r, valueType: s },
72
72
  {
73
- value: i.value,
74
- text: i.value,
75
- record: i.data,
76
- column: i.column,
77
- rowIndex: i.node?.rowIndex,
78
- pinned: i.node?.rowPinned
73
+ value: o.value,
74
+ text: o.value,
75
+ record: o.data,
76
+ column: o.column,
77
+ rowIndex: o.node?.rowIndex,
78
+ pinned: o.node?.rowPinned
79
79
  }
80
80
  );
81
- return e(s);
81
+ return e(l);
82
82
  }
83
- } : a;
84
- }, b = (r) => {
85
- const a = {}, l = r.bodyCellTooltip || !r.customRender && (r.ellipsis === !0 || r.ellipsis === "tooltip" || f(r.ellipsis)), e = f(r.ellipsis) && r.ellipsis > 1, i = f(r.ellipsis) ? r.ellipsis : 1;
86
- return a.tooltipValueGetter = l ? (s) => M(s, r) : void 0, a.wrapText = !r.ellipsis || e, a.cellStyle = {
87
- "--ag-grid-line-clamp": i
88
- }, a.tooltipComponent = z, a.tooltipComponentParams = {
89
- lineClamp: i,
90
- gridWrapperRef: u
91
- }, a;
92
- }, g = T(() => {
93
- const r = x(t);
94
- function a(l) {
95
- return l.map((e) => {
96
- const i = {
83
+ } : i;
84
+ }, w = (r) => {
85
+ const i = r.valueType || "text", s = x[i], e = {}, o = r.bodyCellTooltip || !r.customRender && s && (r.ellipsis === !0 || r.ellipsis === "tooltip" || u(r.ellipsis)), l = u(r.ellipsis) && r.ellipsis > 1, n = u(r.ellipsis) ? r.ellipsis : 1;
86
+ return e.tooltipValueGetter = o ? (T) => M(T, r) : void 0, e.wrapText = !r.ellipsis || l, e.cellStyle = {
87
+ "--ag-grid-line-clamp": n
88
+ }, e.tooltipComponent = z, e.tooltipComponentParams = {
89
+ lineClamp: n,
90
+ gridWrapperRef: C
91
+ }, e;
92
+ }, g = y(() => {
93
+ const r = v(t);
94
+ function i(s) {
95
+ return s.map((e) => {
96
+ const o = {
97
97
  field: S(e.dataIndex),
98
98
  colId: I(e.key) ? String(e.key) : void 0,
99
99
  sortable: !!e.sorter,
@@ -110,44 +110,45 @@ const X = (t, o, n) => {
110
110
  pinned: e.fixed || null,
111
111
  // undefined to null
112
112
  colSpan: e.colSpan,
113
- cellClass: n((s) => {
114
- const C = e.cellClass || "", D = m(C) ? C(s.data, s.node) : C;
113
+ spanRows: e.spanRows,
114
+ cellClass: d((l) => {
115
+ const n = e.cellClass || "", T = m(n) ? n(l.data, l.node) : n;
115
116
  return [
116
- `${p("cell", e.align || "left")}`,
117
- F(e.ellipsis) ? p("cell", "multiline") : null,
118
- D
117
+ `${f("cell", e.align || "left")}`,
118
+ F(e.ellipsis) ? f("cell", "multiline") : null,
119
+ T
119
120
  ].flat().filter(Boolean);
120
121
  }),
121
122
  headerStyle: e.headerStyle,
122
123
  headerClass: e.headerClass,
123
124
  autoHeight: !0,
124
125
  // 设置自动计算高度以自适应多行换行的场景
125
- ...b(e),
126
- ...c(e)
126
+ ...w(e),
127
+ ...b(e)
127
128
  };
128
129
  return e.children?.length ? {
129
- ...i,
130
- headerGroupComponent: v,
130
+ ...o,
131
+ headerGroupComponent: h,
131
132
  headerGroupComponentParams: {
132
133
  column: e
133
134
  },
134
- children: a(e.children)
135
- } : i;
135
+ children: i(e.children)
136
+ } : o;
136
137
  });
137
138
  }
138
- return a(r);
139
- }), w = T(
139
+ return i(r);
140
+ }), R = y(
140
141
  () => ({
141
- headerComponent: v,
142
- resizable: o.columnResizable,
142
+ headerComponent: h,
143
+ resizable: a.columnResizable,
143
144
  suppressMovable: !0,
144
145
  cellDataType: !1
145
146
  })
146
147
  );
147
148
  return {
148
149
  columnDefs: g,
149
- defaultColDef: w,
150
- gridWrapperRef: u
150
+ defaultColDef: R,
151
+ gridWrapperRef: C
151
152
  };
152
153
  };
153
154
  export {
@@ -509,6 +509,7 @@ const Ft = /* @__PURE__ */ uo({
509
509
  "row-class-rules": e.rowClassRules,
510
510
  "no-rows-overlay-component": $o,
511
511
  "suppress-cell-focus": "",
512
+ "enable-cell-span": "",
512
513
  "dom-layout": e.autoHeight ? "autoHeight" : "normal",
513
514
  onSortChanged: Be,
514
515
  onGridReady: r[0] || (r[0] = (a) => s.value = a.api),
@@ -90,6 +90,7 @@ export type AgGridColumnType<RecordType = any, ExtraValueType = 'text', ValueTyp
90
90
  minWidth?: number;
91
91
  maxWidth?: number;
92
92
  colSpan?: ColDef<RecordType>['colSpan'];
93
+ spanRows?: ColDef<RecordType>['spanRows'];
93
94
  /**
94
95
  * 为当前单元格添加类名
95
96
  * @returns
@@ -1,5 +1,5 @@
1
1
  import { GenStyleFunc } from '../../design-token/interface';
2
- import { Ref } from 'vue';
2
+ import { ComputedRef } from 'vue';
3
3
  export declare const genAgGridCustomHeaderCellStyle: GenStyleFunc;
4
- declare const _default: (prefixCls: string) => Ref<string | undefined, string | undefined>;
4
+ declare const _default: (prefixCls: string) => ComputedRef<string>;
5
5
  export default _default;
@@ -5,7 +5,7 @@ const t = (e) => {
5
5
  [r]: {
6
6
  display: "flex",
7
7
  flexDirection: "row",
8
- flexWrap: "wrap",
8
+ flexWrap: "nowrap",
9
9
  alignItems: "center",
10
10
  flex: 1,
11
11
  "&.sortable:hover": {
@@ -1,5 +1,5 @@
1
1
  import { GenStyleFunc } from '../../design-token/interface';
2
- import { Ref } from 'vue';
2
+ import { ComputedRef } from 'vue';
3
3
  export declare const genEditableAgGridStyle: GenStyleFunc;
4
- declare const _default: (prefixCls: string) => Ref<string | undefined, string | undefined>;
4
+ declare const _default: (prefixCls: string) => ComputedRef<string>;
5
5
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { GenStyleFunc } from '../../design-token/interface';
2
- import { Ref } from 'vue';
2
+ import { ComputedRef } from 'vue';
3
3
  export type AgGridToken = {
4
4
  /**
5
5
  * 卡片模式下表单容器的下边距尺寸
@@ -28,5 +28,5 @@ export type AgGridToken = {
28
28
  };
29
29
  export declare const defaultToken: AgGridToken;
30
30
  export declare const genAgGridStyle: GenStyleFunc<AgGridToken>;
31
- declare const _default: (prefixCls: string) => Ref<string | undefined, string | undefined>;
31
+ declare const _default: (prefixCls: string) => ComputedRef<string>;
32
32
  export default _default;