@aplus-frontend/ui 6.42.1 → 7.0.0-beta.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 (1507) hide show
  1. package/es/index.d.ts +0 -2
  2. package/es/index.mjs +134 -134
  3. package/es/src/ag-grid/components/header-cell/index.vue2.mjs +33 -27
  4. package/es/src/ag-grid/editable/form-item.vue.mjs +57 -56
  5. package/es/src/ag-grid/editable/index.vue.mjs +55 -54
  6. package/es/src/ag-grid/hooks/use-columns-def.mjs +70 -71
  7. package/es/src/ag-grid/index.vue.mjs +144 -143
  8. package/es/src/ag-grid/interface.d.ts +0 -1
  9. package/es/src/ag-grid/style/custom-header.d.ts +5 -0
  10. package/es/src/ag-grid/style/custom-header.mjs +47 -0
  11. package/es/src/ag-grid/style/editable.d.ts +5 -0
  12. package/es/src/ag-grid/style/editable.mjs +17 -0
  13. package/es/src/ag-grid/style/index.d.ts +5 -0
  14. package/es/src/ag-grid/style/index.mjs +153 -0
  15. package/es/src/ap-action/group/index.vue.d.ts +3 -3
  16. package/es/src/ap-action/item/index.vue2.mjs +14 -12
  17. package/es/src/ap-action/item-dropdown/index.vue.d.ts +2 -2
  18. package/es/src/ap-action/item-dropdown/index.vue.mjs +35 -34
  19. package/es/src/ap-action/style/dropdown-item.d.ts +5 -0
  20. package/es/src/ap-action/style/dropdown-item.mjs +29 -0
  21. package/es/src/ap-action/style/index.d.ts +8 -0
  22. package/es/src/ap-action/style/index.mjs +74 -0
  23. package/es/src/ap-button/ap-button.vue.mjs +38 -36
  24. package/es/src/ap-button/style/index.d.ts +3 -0
  25. package/es/src/ap-button/style/index.mjs +19 -0
  26. package/es/src/ap-descriptions/ap-descriptions.vue.mjs +32 -31
  27. package/es/src/ap-descriptions/style/index.d.ts +3 -0
  28. package/es/src/ap-descriptions/style/index.mjs +101 -0
  29. package/es/src/ap-download/ap-download.vue.d.ts +4 -4
  30. package/es/src/ap-download/ap-download.vue.mjs +37 -36
  31. package/es/src/ap-download/hooks/useStyle.mjs +13 -10
  32. package/es/src/ap-download/interface.d.ts +0 -4
  33. package/es/src/ap-download/style/index.d.ts +3 -0
  34. package/es/src/ap-download/style/index.mjs +63 -0
  35. package/es/src/ap-drawer/components/ApDrawerClose.vue2.mjs +13 -12
  36. package/es/src/ap-drawer/style/index.d.ts +3 -1
  37. package/es/src/ap-drawer/style/index.mjs +30 -0
  38. package/es/src/ap-field/checkbox/index.vue.mjs +23 -22
  39. package/es/src/ap-field/number/index.vue.d.ts +2 -2
  40. package/es/src/ap-field/number/index.vue.mjs +44 -40
  41. package/es/src/ap-field/radio/index.vue.mjs +22 -21
  42. package/es/src/ap-field/slider/index.vue.d.ts +2 -2
  43. package/es/src/ap-field/style/checkbox.d.ts +2 -0
  44. package/es/src/ap-field/style/checkbox.mjs +20 -0
  45. package/es/src/ap-field/style/index.d.ts +3 -0
  46. package/es/src/ap-field/style/index.mjs +14 -0
  47. package/es/src/ap-field/style/number.d.ts +2 -0
  48. package/es/src/ap-field/style/number.mjs +16 -0
  49. package/es/src/ap-field/style/radio.d.ts +2 -0
  50. package/es/src/ap-field/style/radio.mjs +19 -0
  51. package/es/src/ap-field/style/textarea.d.ts +2 -0
  52. package/es/src/ap-field/style/textarea.mjs +13 -0
  53. package/es/src/ap-field/text-area/index.vue.mjs +16 -15
  54. package/es/src/ap-form/drawer-form/index.vue.mjs +80 -77
  55. package/es/src/ap-form/item/index.vue.mjs +59 -57
  56. package/es/src/ap-form/item-group/index.vue.mjs +29 -28
  57. package/es/src/ap-form/items/number/index.vue.d.ts +16 -16
  58. package/es/src/ap-form/items/select/index.vue.d.ts +4 -4
  59. package/es/src/ap-form/items/text/group.vue2.mjs +12 -11
  60. package/es/src/ap-form/items/text/index.vue.d.ts +4 -4
  61. package/es/src/ap-form/items/text/password.vue.d.ts +4 -4
  62. package/es/src/ap-form/items/tree-select/index.vue.d.ts +4 -4
  63. package/es/src/ap-form/modal-form/index.vue.mjs +63 -62
  64. package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +1 -1
  65. package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +26 -25
  66. package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +28 -27
  67. package/es/src/ap-form/search-form/index.vue.mjs +52 -51
  68. package/es/src/ap-form/style/drawer-form.d.ts +5 -0
  69. package/es/src/ap-form/style/drawer-form.mjs +31 -0
  70. package/es/src/ap-form/style/item-group.d.ts +5 -0
  71. package/es/src/ap-form/style/item-group.mjs +23 -0
  72. package/es/src/ap-form/style/item-text-group.d.ts +5 -0
  73. package/es/src/ap-form/style/item-text-group.mjs +69 -0
  74. package/es/src/ap-form/style/item.d.ts +6 -0
  75. package/es/src/ap-form/style/item.mjs +135 -0
  76. package/es/src/ap-form/style/modal-form.d.ts +5 -0
  77. package/es/src/ap-form/style/modal-form.mjs +32 -0
  78. package/es/src/ap-form/style/search-form-sorter.d.ts +5 -0
  79. package/es/src/ap-form/style/search-form-sorter.mjs +81 -0
  80. package/es/src/ap-form/style/search-form.d.ts +6 -0
  81. package/es/src/ap-form/style/search-form.mjs +106 -0
  82. package/es/src/ap-form/style/token.d.ts +3 -0
  83. package/es/src/ap-grid/editable/form-item.vue.mjs +50 -49
  84. package/es/src/ap-grid/editable/index.vue.mjs +66 -65
  85. package/es/src/ap-grid/index.vue.mjs +108 -106
  86. package/es/src/ap-grid/style/editable.d.ts +5 -0
  87. package/es/src/ap-grid/style/editable.mjs +32 -0
  88. package/es/src/ap-grid/style/font.d.ts +2 -0
  89. package/es/src/ap-grid/style/font.mjs +10 -0
  90. package/es/src/ap-grid/style/index.d.ts +5 -0
  91. package/es/src/ap-grid/style/index.mjs +218 -0
  92. package/es/src/ap-grid/utils/col.mjs +33 -33
  93. package/es/src/ap-list/index.vue.mjs +58 -57
  94. package/es/src/ap-list/style/index.d.ts +8 -0
  95. package/es/src/ap-list/style/index.mjs +67 -0
  96. package/es/src/ap-modal/interface.d.ts +11 -31
  97. package/es/src/ap-modal/utils/createModal.mjs +45 -52
  98. package/es/src/ap-pro-card/components/card/index.vue2.mjs +55 -54
  99. package/es/src/ap-pro-card/components/divider/index.vue2.mjs +12 -11
  100. package/es/src/ap-pro-card/components/operation/index.vue2.mjs +10 -9
  101. package/es/src/ap-pro-card/components/statistic/index.vue.d.ts +6 -6
  102. package/es/src/ap-pro-card/components/statistic/index.vue2.mjs +32 -31
  103. package/es/src/ap-pro-card/components/statistic-card/index.vue2.mjs +21 -20
  104. package/es/src/ap-pro-card/components/title/index.vue2.mjs +12 -11
  105. package/es/src/ap-pro-card/style/divider.d.ts +6 -0
  106. package/es/src/ap-pro-card/style/divider.mjs +45 -0
  107. package/es/src/ap-pro-card/style/index.d.ts +6 -0
  108. package/es/src/ap-pro-card/style/index.mjs +169 -0
  109. package/es/src/ap-pro-card/style/operation.d.ts +5 -0
  110. package/es/src/ap-pro-card/style/operation.mjs +18 -0
  111. package/es/src/ap-pro-card/style/statistic.d.ts +6 -0
  112. package/es/src/ap-pro-card/style/statistic.mjs +135 -0
  113. package/es/src/ap-pro-card/style/statistics-card.d.ts +3 -0
  114. package/es/src/ap-pro-card/style/statistics-card.mjs +45 -0
  115. package/es/src/ap-pro-card/style/title.d.ts +5 -0
  116. package/es/src/ap-pro-card/style/title.mjs +50 -0
  117. package/es/src/ap-pro-card/style/token.d.ts +23 -0
  118. package/es/src/ap-pro-card/style/token.mjs +21 -0
  119. package/es/src/ap-table/ap-table.vue2.mjs +84 -83
  120. package/es/src/ap-table/components/index/index.vue2.mjs +11 -8
  121. package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +19 -18
  122. package/es/src/ap-table/components/setting/modal/index.vue2.mjs +67 -65
  123. package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +46 -44
  124. package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +9 -9
  125. package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +11 -11
  126. package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +1 -1
  127. package/es/src/ap-table/constants.d.ts +18 -18
  128. package/es/src/ap-table/style/ellipsis.d.ts +5 -0
  129. package/es/src/ap-table/style/ellipsis.mjs +37 -0
  130. package/es/src/ap-table/style/index-comp.d.ts +5 -0
  131. package/es/src/ap-table/style/index-comp.mjs +23 -0
  132. package/es/src/ap-table/style/index.d.ts +9 -0
  133. package/es/src/ap-table/style/index.mjs +189 -0
  134. package/es/src/ap-table/style/setting.d.ts +9 -0
  135. package/es/src/ap-table/style/setting.mjs +197 -0
  136. package/es/src/ap-tag/ap-tag-group.vue.mjs +26 -25
  137. package/es/src/ap-tag/ap-tag.vue.mjs +24 -22
  138. package/es/src/ap-tag/style/group.d.ts +5 -0
  139. package/es/src/ap-tag/style/group.mjs +29 -0
  140. package/es/src/ap-tag/style/index.d.ts +5 -0
  141. package/es/src/ap-tag/style/index.mjs +73 -0
  142. package/es/src/ap-upload/apUpload.vue.mjs +34 -33
  143. package/es/src/ap-upload/components/MultipleFile.vue2.mjs +51 -49
  144. package/es/src/ap-upload/components/Picture.vue2.mjs +62 -60
  145. package/es/src/ap-upload/components/SingleFile.vue2.mjs +87 -85
  146. package/es/src/ap-upload/style/index.d.ts +3 -0
  147. package/es/src/ap-upload/style/index.mjs +12 -0
  148. package/es/src/ap-upload/style/multiple-file.d.ts +2 -0
  149. package/es/src/ap-upload/style/multiple-file.mjs +93 -0
  150. package/es/src/ap-upload/style/picture.d.ts +2 -0
  151. package/es/src/ap-upload/style/picture.mjs +120 -0
  152. package/es/src/ap-upload/style/single-file.d.ts +2 -0
  153. package/es/src/ap-upload/style/single-file.mjs +108 -0
  154. package/es/src/business/ag-grid-modal/modal-layout/index.vue2.mjs +27 -26
  155. package/es/src/business/ag-grid-modal/selected-items/default.vue2.mjs +16 -15
  156. package/es/src/business/ag-grid-modal/style/index.d.ts +3 -0
  157. package/es/src/business/ag-grid-modal/style/index.mjs +61 -0
  158. package/es/src/business/ag-grid-modal/style/selected-items.d.ts +3 -0
  159. package/es/src/business/ag-grid-modal/style/selected-items.mjs +39 -0
  160. package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +49 -48
  161. package/es/src/business/ap-appendix/style/index.d.ts +5 -0
  162. package/es/src/business/ap-appendix/style/index.mjs +94 -0
  163. package/es/src/business/ap-attachment/ApAttachment.mjs +56 -59
  164. package/es/src/business/ap-attachment/style/index.d.ts +3 -0
  165. package/es/src/business/ap-attachment/style/index.mjs +84 -0
  166. package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +21 -20
  167. package/es/src/business/ap-batch-action/style/index.d.ts +5 -0
  168. package/es/src/business/ap-batch-action/style/index.mjs +51 -0
  169. package/es/src/business/ap-card/ApCard.vue2.mjs +22 -21
  170. package/es/src/business/ap-card/style/index.d.ts +5 -0
  171. package/es/src/business/ap-card/style/index.mjs +22 -0
  172. package/es/src/business/ap-copy/ApCopy.mjs +24 -23
  173. package/es/src/business/ap-copy/style/index.d.ts +3 -0
  174. package/es/src/business/ap-copy/style/index.mjs +64 -0
  175. package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue2.mjs +55 -54
  176. package/es/src/business/ap-draggable-grid/style/index.d.ts +3 -0
  177. package/es/src/business/ap-draggable-grid/style/index.mjs +53 -0
  178. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -3
  179. package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +43 -50
  180. package/es/src/business/ap-expand-alert/index.d.ts +2 -5
  181. package/es/src/business/ap-expand-alert/interface.d.ts +1 -1
  182. package/es/src/business/ap-expand-alert/style/index.d.ts +3 -0
  183. package/es/src/business/ap-expand-alert/style/index.mjs +56 -0
  184. package/es/src/business/ap-image/ApImage.vue2.mjs +41 -40
  185. package/es/src/business/ap-image/style/index.d.ts +5 -0
  186. package/es/src/business/ap-image/style/index.mjs +19 -0
  187. package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +21 -20
  188. package/es/src/business/ap-input-radio/style/index.d.ts +3 -0
  189. package/es/src/business/ap-input-radio/style/index.mjs +15 -0
  190. package/es/src/business/ap-label/ApLabel.mjs +18 -17
  191. package/es/src/business/ap-label/style/index.d.ts +3 -0
  192. package/es/src/business/ap-label/style/index.mjs +49 -0
  193. package/es/src/business/ap-ladder/ApLadder.mjs +19 -18
  194. package/es/src/business/ap-ladder/style/index.d.ts +3 -0
  195. package/es/src/business/ap-ladder/style/index.mjs +167 -0
  196. package/es/src/business/ap-product-info/ApProductInfo.mjs +22 -21
  197. package/es/src/business/ap-product-info/style/index.d.ts +3 -0
  198. package/es/src/business/ap-product-info/style/index.mjs +91 -0
  199. package/es/src/business/ap-radio-group/ap-radio-group.vue2.mjs +24 -23
  200. package/es/src/business/ap-radio-group/style/index.d.ts +6 -0
  201. package/es/src/business/ap-radio-group/style/index.mjs +35 -0
  202. package/es/src/business/ap-select-layout/select-layout.vue2.mjs +49 -48
  203. package/es/src/business/ap-select-layout/style/index.d.ts +3 -0
  204. package/es/src/business/ap-select-layout/style/index.mjs +135 -0
  205. package/es/src/business/ap-size-input/ApSizeInput.d.ts +3 -3
  206. package/es/src/business/ap-size-input/ApSizeInput.mjs +21 -20
  207. package/es/src/business/ap-size-input/index.d.ts +9 -9
  208. package/es/src/business/ap-size-input/style/index.d.ts +3 -0
  209. package/es/src/business/ap-size-input/style/index.mjs +12 -0
  210. package/es/src/business/ap-status/ApStatus.vue2.mjs +19 -18
  211. package/es/src/business/ap-status/style/index.d.ts +3 -0
  212. package/es/src/business/ap-status/style/index.mjs +37 -0
  213. package/es/src/business/ap-summary/ap-summary.vue2.mjs +32 -31
  214. package/es/src/business/ap-summary/style/index.d.ts +3 -0
  215. package/es/src/business/ap-summary/style/index.mjs +25 -0
  216. package/es/src/business/ap-table-modal/style/index.d.ts +5 -0
  217. package/es/src/business/ap-table-modal/style/index.mjs +55 -0
  218. package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +2 -2
  219. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +42 -39
  220. package/es/src/business/ap-title/ApTitle.vue2.mjs +19 -18
  221. package/es/src/business/ap-title/style/index.d.ts +5 -0
  222. package/es/src/business/ap-title/style/index.mjs +75 -0
  223. package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +31 -30
  224. package/es/src/business/ap-upload-file/ap-upload-single/style/index.d.ts +5 -0
  225. package/es/src/business/ap-upload-file/ap-upload-single/style/index.mjs +121 -0
  226. package/es/src/business/ap-value-select-card/index.vue2.mjs +44 -43
  227. package/es/src/business/ap-value-select-card/style/index.d.ts +3 -0
  228. package/es/src/business/ap-value-select-card/style/index.mjs +137 -0
  229. package/es/src/business/ap-view/ap-view.vue2.mjs +80 -79
  230. package/es/src/business/ap-view/components/main-button-content.vue2.mjs +68 -66
  231. package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +44 -42
  232. package/es/src/business/ap-view/style/index.d.ts +5 -0
  233. package/es/src/business/ap-view/style/index.mjs +145 -0
  234. package/es/src/business/batch-input-group/index.vue.d.ts +2 -2
  235. package/es/src/business/batch-input-group/index.vue.mjs +60 -58
  236. package/es/src/business/batch-input-group/popover-input/index.vue.d.ts +1 -1
  237. package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +34 -32
  238. package/es/src/business/batch-input-group/style/index.d.ts +3 -0
  239. package/es/src/business/batch-input-group/style/index.mjs +53 -0
  240. package/es/src/business/hooks/usePageListAgGrid.mjs +6 -7
  241. package/es/src/check-card/index.vue2.mjs +28 -27
  242. package/es/src/check-card/style/index.d.ts +15 -0
  243. package/es/src/check-card/style/index.mjs +105 -0
  244. package/es/src/config-provider/config-provider-props.d.ts +8 -0
  245. package/es/src/config-provider/config-provider-props.mjs +6 -0
  246. package/es/src/config-provider/config-provider.d.ts +9 -1
  247. package/es/src/config-provider/config-provider.mjs +11 -10
  248. package/es/src/config-provider/hooks/use-global-config.d.ts +5 -0
  249. package/es/src/config-provider/hooks/use-global-config.mjs +29 -22
  250. package/es/src/config-provider/hooks/use-namespace.d.ts +1 -1
  251. package/es/src/config-provider/hooks/use-namespace.mjs +17 -17
  252. package/es/src/config-provider/hooks/use-token.d.ts +4 -0
  253. package/es/src/config-provider/hooks/use-token.mjs +6 -0
  254. package/es/src/config-provider/index.d.ts +14 -3
  255. package/es/src/design-token/constants.d.ts +7 -0
  256. package/es/src/design-token/constants.mjs +147 -0
  257. package/es/src/design-token/index.d.ts +1 -0
  258. package/es/src/design-token/index.mjs +3 -1
  259. package/es/src/design-token/interface.d.ts +148 -0
  260. package/es/src/editable-table/form-item.vue.mjs +62 -61
  261. package/es/src/editable-table/index.vue.mjs +53 -52
  262. package/es/src/editable-table/style/index.d.ts +8 -0
  263. package/es/src/editable-table/style/index.mjs +75 -0
  264. package/es/src/full-screen/index.vue.mjs +20 -18
  265. package/es/src/full-screen/style/index.d.ts +5 -0
  266. package/es/src/full-screen/style/index.mjs +17 -0
  267. package/es/src/index.mjs +198 -196
  268. package/es/src/mask/index.vue.mjs +47 -46
  269. package/es/src/mask/style/index.d.ts +16 -0
  270. package/es/src/mask/style/index.mjs +74 -0
  271. package/es/src/scroll-bar/internal.vue.mjs +25 -21
  272. package/es/src/scroll-bar/style/index.d.ts +27 -0
  273. package/es/src/scroll-bar/style/index.mjs +66 -0
  274. package/es/src/scroll-view/index.vue.mjs +66 -65
  275. package/es/src/scroll-view/style/index.d.ts +5 -0
  276. package/es/src/scroll-view/style/index.mjs +30 -0
  277. package/es/src/splitter/Splitter.vue2.mjs +58 -57
  278. package/es/src/splitter/style/index.d.ts +11 -0
  279. package/es/src/splitter/style/index.mjs +224 -0
  280. package/es/src/style/index.d.ts +5 -0
  281. package/es/src/style/index.mjs +47 -0
  282. package/es/src/style/reset.css +257 -0
  283. package/es/src/text/group.vue.mjs +18 -17
  284. package/es/src/text/index.vue.mjs +25 -24
  285. package/es/src/text/style/group.d.ts +5 -0
  286. package/es/src/text/style/group.mjs +23 -0
  287. package/es/src/text/style/index.d.ts +5 -0
  288. package/es/src/text/style/index.mjs +62 -0
  289. package/es/src/utils/config-provider-preset.d.ts +2 -2
  290. package/es/src/utils/cssinjs/index.d.ts +8 -0
  291. package/es/src/utils/cssinjs/index.mjs +51 -0
  292. package/es/src/utils/cssinjs/instance.d.ts +12 -0
  293. package/es/src/utils/cssinjs/instance.mjs +12 -0
  294. package/es/src/utils/cssinjs/plugin-specificity.d.ts +2 -0
  295. package/es/src/utils/cssinjs/plugin-specificity.mjs +13 -0
  296. package/es/src/version.d.ts +1 -1
  297. package/es/src/version.mjs +1 -1
  298. package/lib/index.d.ts +0 -2
  299. package/lib/index.js +1 -1
  300. package/lib/src/ag-grid/components/header-cell/index.vue2.js +1 -1
  301. package/lib/src/ag-grid/editable/form-item.vue.js +1 -1
  302. package/lib/src/ag-grid/editable/index.vue.js +1 -1
  303. package/lib/src/ag-grid/hooks/use-columns-def.js +1 -1
  304. package/lib/src/ag-grid/index.vue.js +1 -1
  305. package/lib/src/ag-grid/interface.d.ts +0 -1
  306. package/lib/src/ag-grid/style/custom-header.d.ts +5 -0
  307. package/lib/src/ag-grid/style/custom-header.js +1 -0
  308. package/lib/src/ag-grid/style/editable.d.ts +5 -0
  309. package/lib/src/ag-grid/style/editable.js +1 -0
  310. package/lib/src/ag-grid/style/index.d.ts +5 -0
  311. package/lib/src/ag-grid/style/index.js +1 -0
  312. package/lib/src/ap-action/group/index.vue.d.ts +3 -3
  313. package/lib/src/ap-action/item/index.vue2.js +1 -1
  314. package/lib/src/ap-action/item-dropdown/index.vue.d.ts +2 -2
  315. package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
  316. package/lib/src/ap-action/style/dropdown-item.d.ts +5 -0
  317. package/lib/src/ap-action/style/dropdown-item.js +1 -0
  318. package/lib/src/ap-action/style/index.d.ts +8 -0
  319. package/lib/src/ap-action/style/index.js +1 -0
  320. package/lib/src/ap-button/ap-button.vue.js +1 -1
  321. package/lib/src/ap-button/style/index.d.ts +3 -0
  322. package/lib/src/ap-button/style/index.js +1 -0
  323. package/lib/src/ap-descriptions/ap-descriptions.vue.js +1 -1
  324. package/lib/src/ap-descriptions/style/index.d.ts +3 -0
  325. package/lib/src/ap-descriptions/style/index.js +1 -0
  326. package/lib/src/ap-download/ap-download.vue.d.ts +4 -4
  327. package/lib/src/ap-download/ap-download.vue.js +1 -1
  328. package/lib/src/ap-download/hooks/useStyle.js +1 -1
  329. package/lib/src/ap-download/interface.d.ts +0 -4
  330. package/lib/src/ap-download/style/index.d.ts +3 -0
  331. package/lib/src/ap-download/style/index.js +1 -0
  332. package/lib/src/ap-drawer/components/ApDrawerClose.vue2.js +1 -1
  333. package/lib/src/ap-drawer/style/index.d.ts +3 -1
  334. package/lib/src/ap-drawer/style/index.js +1 -0
  335. package/lib/src/ap-field/checkbox/index.vue.js +1 -1
  336. package/lib/src/ap-field/number/index.vue.d.ts +2 -2
  337. package/lib/src/ap-field/number/index.vue.js +1 -1
  338. package/lib/src/ap-field/radio/index.vue.js +1 -1
  339. package/lib/src/ap-field/slider/index.vue.d.ts +2 -2
  340. package/lib/src/ap-field/style/checkbox.d.ts +2 -0
  341. package/lib/src/ap-field/style/checkbox.js +1 -0
  342. package/lib/src/ap-field/style/index.d.ts +3 -0
  343. package/lib/src/ap-field/style/index.js +1 -0
  344. package/lib/src/ap-field/style/number.d.ts +2 -0
  345. package/lib/src/ap-field/style/number.js +1 -0
  346. package/lib/src/ap-field/style/radio.d.ts +2 -0
  347. package/lib/src/ap-field/style/radio.js +1 -0
  348. package/lib/src/ap-field/style/textarea.d.ts +2 -0
  349. package/lib/src/ap-field/style/textarea.js +1 -0
  350. package/lib/src/ap-field/text-area/index.vue.js +1 -1
  351. package/lib/src/ap-form/drawer-form/index.vue.js +1 -1
  352. package/lib/src/ap-form/item/index.vue.js +1 -1
  353. package/lib/src/ap-form/item-group/index.vue.js +1 -1
  354. package/lib/src/ap-form/items/number/index.vue.d.ts +16 -16
  355. package/lib/src/ap-form/items/select/index.vue.d.ts +4 -4
  356. package/lib/src/ap-form/items/text/group.vue2.js +1 -1
  357. package/lib/src/ap-form/items/text/index.vue.d.ts +4 -4
  358. package/lib/src/ap-form/items/text/password.vue.d.ts +4 -4
  359. package/lib/src/ap-form/items/tree-select/index.vue.d.ts +4 -4
  360. package/lib/src/ap-form/modal-form/index.vue.js +1 -1
  361. package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +1 -1
  362. package/lib/src/ap-form/search-form/components/popover-filter.vue2.js +1 -1
  363. package/lib/src/ap-form/search-form/components/popover-sorter/index.vue2.js +1 -1
  364. package/lib/src/ap-form/search-form/index.vue.js +1 -1
  365. package/lib/src/ap-form/style/drawer-form.d.ts +5 -0
  366. package/lib/src/ap-form/style/drawer-form.js +1 -0
  367. package/lib/src/ap-form/style/item-group.d.ts +5 -0
  368. package/lib/src/ap-form/style/item-group.js +1 -0
  369. package/lib/src/ap-form/style/item-text-group.d.ts +5 -0
  370. package/lib/src/ap-form/style/item-text-group.js +1 -0
  371. package/lib/src/ap-form/style/item.d.ts +6 -0
  372. package/lib/src/ap-form/style/item.js +1 -0
  373. package/lib/src/ap-form/style/modal-form.d.ts +5 -0
  374. package/lib/src/ap-form/style/modal-form.js +1 -0
  375. package/lib/src/ap-form/style/search-form-sorter.d.ts +5 -0
  376. package/lib/src/ap-form/style/search-form-sorter.js +1 -0
  377. package/lib/src/ap-form/style/search-form.d.ts +6 -0
  378. package/lib/src/ap-form/style/search-form.js +1 -0
  379. package/lib/src/ap-form/style/token.d.ts +3 -0
  380. package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
  381. package/lib/src/ap-grid/editable/index.vue.js +1 -1
  382. package/lib/src/ap-grid/index.vue.js +1 -1
  383. package/lib/src/ap-grid/style/editable.d.ts +5 -0
  384. package/lib/src/ap-grid/style/editable.js +1 -0
  385. package/lib/src/ap-grid/style/font.d.ts +2 -0
  386. package/lib/src/ap-grid/style/font.js +7 -0
  387. package/lib/src/ap-grid/style/index.d.ts +5 -0
  388. package/lib/src/ap-grid/style/index.js +1 -0
  389. package/lib/src/ap-grid/utils/col.js +1 -1
  390. package/lib/src/ap-list/index.vue.js +1 -1
  391. package/lib/src/ap-list/style/index.d.ts +8 -0
  392. package/lib/src/ap-list/style/index.js +1 -0
  393. package/lib/src/ap-modal/interface.d.ts +11 -31
  394. package/lib/src/ap-modal/utils/createModal.js +1 -1
  395. package/lib/src/ap-pro-card/components/card/index.vue2.js +1 -1
  396. package/lib/src/ap-pro-card/components/divider/index.vue2.js +1 -1
  397. package/lib/src/ap-pro-card/components/operation/index.vue2.js +1 -1
  398. package/lib/src/ap-pro-card/components/statistic/index.vue.d.ts +6 -6
  399. package/lib/src/ap-pro-card/components/statistic/index.vue2.js +1 -1
  400. package/lib/src/ap-pro-card/components/statistic-card/index.vue2.js +1 -1
  401. package/lib/src/ap-pro-card/components/title/index.vue2.js +1 -1
  402. package/lib/src/ap-pro-card/style/divider.d.ts +6 -0
  403. package/lib/src/ap-pro-card/style/divider.js +1 -0
  404. package/lib/src/ap-pro-card/style/index.d.ts +6 -0
  405. package/lib/src/ap-pro-card/style/index.js +1 -0
  406. package/lib/src/ap-pro-card/style/operation.d.ts +5 -0
  407. package/lib/src/ap-pro-card/style/operation.js +1 -0
  408. package/lib/src/ap-pro-card/style/statistic.d.ts +6 -0
  409. package/lib/src/ap-pro-card/style/statistic.js +1 -0
  410. package/lib/src/ap-pro-card/style/statistics-card.d.ts +3 -0
  411. package/lib/src/ap-pro-card/style/statistics-card.js +1 -0
  412. package/lib/src/ap-pro-card/style/title.d.ts +5 -0
  413. package/lib/src/ap-pro-card/style/title.js +1 -0
  414. package/lib/src/ap-pro-card/style/token.d.ts +23 -0
  415. package/lib/src/ap-pro-card/style/token.js +1 -0
  416. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  417. package/lib/src/ap-table/components/index/index.vue2.js +1 -1
  418. package/lib/src/ap-table/components/paragraph-ellipsis/index.vue2.js +1 -1
  419. package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
  420. package/lib/src/ap-table/components/setting/select-group/index.vue2.js +1 -1
  421. package/lib/src/ap-table/components/setting/sortable/index.vue2.js +1 -1
  422. package/lib/src/ap-table/components/setting/sortable/item.vue2.js +1 -1
  423. package/lib/src/ap-table/components/setting/sorter/index.vue2.js +1 -1
  424. package/lib/src/ap-table/constants.d.ts +18 -18
  425. package/lib/src/ap-table/style/ellipsis.d.ts +5 -0
  426. package/lib/src/ap-table/style/ellipsis.js +1 -0
  427. package/lib/src/ap-table/style/index-comp.d.ts +5 -0
  428. package/lib/src/ap-table/style/index-comp.js +1 -0
  429. package/lib/src/ap-table/style/index.d.ts +9 -0
  430. package/lib/src/ap-table/style/index.js +1 -0
  431. package/lib/src/ap-table/style/setting.d.ts +9 -0
  432. package/lib/src/ap-table/style/setting.js +1 -0
  433. package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
  434. package/lib/src/ap-tag/ap-tag.vue.js +1 -1
  435. package/lib/src/ap-tag/style/group.d.ts +5 -0
  436. package/lib/src/ap-tag/style/group.js +1 -0
  437. package/lib/src/ap-tag/style/index.d.ts +5 -0
  438. package/lib/src/ap-tag/style/index.js +1 -0
  439. package/lib/src/ap-upload/apUpload.vue.js +1 -1
  440. package/lib/src/ap-upload/components/MultipleFile.vue2.js +1 -1
  441. package/lib/src/ap-upload/components/Picture.vue2.js +1 -1
  442. package/lib/src/ap-upload/components/SingleFile.vue2.js +1 -1
  443. package/lib/src/ap-upload/style/index.d.ts +3 -0
  444. package/lib/src/ap-upload/style/index.js +1 -0
  445. package/lib/src/ap-upload/style/multiple-file.d.ts +2 -0
  446. package/lib/src/ap-upload/style/multiple-file.js +1 -0
  447. package/lib/src/ap-upload/style/picture.d.ts +2 -0
  448. package/lib/src/ap-upload/style/picture.js +1 -0
  449. package/lib/src/ap-upload/style/single-file.d.ts +2 -0
  450. package/lib/src/ap-upload/style/single-file.js +1 -0
  451. package/lib/src/business/ag-grid-modal/modal-layout/index.vue2.js +1 -1
  452. package/lib/src/business/ag-grid-modal/selected-items/default.vue2.js +1 -1
  453. package/lib/src/business/ag-grid-modal/style/index.d.ts +3 -0
  454. package/lib/src/business/ag-grid-modal/style/index.js +1 -0
  455. package/lib/src/business/ag-grid-modal/style/selected-items.d.ts +3 -0
  456. package/lib/src/business/ag-grid-modal/style/selected-items.js +1 -0
  457. package/lib/src/business/ap-appendix/ap-appendix.vue2.js +1 -1
  458. package/lib/src/business/ap-appendix/style/index.d.ts +5 -0
  459. package/lib/src/business/ap-appendix/style/index.js +1 -0
  460. package/lib/src/business/ap-attachment/ApAttachment.js +1 -1
  461. package/lib/src/business/ap-attachment/style/index.d.ts +3 -0
  462. package/lib/src/business/ap-attachment/style/index.js +1 -0
  463. package/lib/src/business/ap-batch-action/ApBatchAction.vue2.js +1 -1
  464. package/lib/src/business/ap-batch-action/style/index.d.ts +5 -0
  465. package/lib/src/business/ap-batch-action/style/index.js +1 -0
  466. package/lib/src/business/ap-card/ApCard.vue2.js +1 -1
  467. package/lib/src/business/ap-card/style/index.d.ts +5 -0
  468. package/lib/src/business/ap-card/style/index.js +1 -0
  469. package/lib/src/business/ap-copy/ApCopy.js +1 -1
  470. package/lib/src/business/ap-copy/style/index.d.ts +3 -0
  471. package/lib/src/business/ap-copy/style/index.js +1 -0
  472. package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue2.js +1 -1
  473. package/lib/src/business/ap-draggable-grid/style/index.d.ts +3 -0
  474. package/lib/src/business/ap-draggable-grid/style/index.js +1 -0
  475. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -3
  476. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
  477. package/lib/src/business/ap-expand-alert/index.d.ts +2 -5
  478. package/lib/src/business/ap-expand-alert/interface.d.ts +1 -1
  479. package/lib/src/business/ap-expand-alert/style/index.d.ts +3 -0
  480. package/lib/src/business/ap-expand-alert/style/index.js +1 -0
  481. package/lib/src/business/ap-image/ApImage.vue2.js +1 -1
  482. package/lib/src/business/ap-image/style/index.d.ts +5 -0
  483. package/lib/src/business/ap-image/style/index.js +1 -0
  484. package/lib/src/business/ap-input-radio/ApInputRadio.vue2.js +1 -1
  485. package/lib/src/business/ap-input-radio/style/index.d.ts +3 -0
  486. package/lib/src/business/ap-input-radio/style/index.js +1 -0
  487. package/lib/src/business/ap-label/ApLabel.js +1 -1
  488. package/lib/src/business/ap-label/style/index.d.ts +3 -0
  489. package/lib/src/business/ap-label/style/index.js +1 -0
  490. package/lib/src/business/ap-ladder/ApLadder.js +1 -1
  491. package/lib/src/business/ap-ladder/style/index.d.ts +3 -0
  492. package/lib/src/business/ap-ladder/style/index.js +1 -0
  493. package/lib/src/business/ap-product-info/ApProductInfo.js +1 -1
  494. package/lib/src/business/ap-product-info/style/index.d.ts +3 -0
  495. package/lib/src/business/ap-product-info/style/index.js +1 -0
  496. package/lib/src/business/ap-radio-group/ap-radio-group.vue2.js +1 -1
  497. package/lib/src/business/ap-radio-group/style/index.d.ts +6 -0
  498. package/lib/src/business/ap-radio-group/style/index.js +1 -0
  499. package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
  500. package/lib/src/business/ap-select-layout/style/index.d.ts +3 -0
  501. package/lib/src/business/ap-select-layout/style/index.js +1 -0
  502. package/lib/src/business/ap-size-input/ApSizeInput.d.ts +3 -3
  503. package/lib/src/business/ap-size-input/ApSizeInput.js +1 -1
  504. package/lib/src/business/ap-size-input/index.d.ts +9 -9
  505. package/lib/src/business/ap-size-input/style/index.d.ts +3 -0
  506. package/lib/src/business/ap-size-input/style/index.js +1 -0
  507. package/lib/src/business/ap-status/ApStatus.vue2.js +1 -1
  508. package/lib/src/business/ap-status/style/index.d.ts +3 -0
  509. package/lib/src/business/ap-status/style/index.js +7 -0
  510. package/lib/src/business/ap-summary/ap-summary.vue2.js +1 -1
  511. package/lib/src/business/ap-summary/style/index.d.ts +3 -0
  512. package/lib/src/business/ap-summary/style/index.js +1 -0
  513. package/lib/src/business/ap-table-modal/style/index.d.ts +5 -0
  514. package/lib/src/business/ap-table-modal/style/index.js +1 -0
  515. package/lib/src/business/ap-table-modal/table-layout/index.vue2.js +1 -1
  516. package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
  517. package/lib/src/business/ap-title/ApTitle.vue2.js +1 -1
  518. package/lib/src/business/ap-title/style/index.d.ts +5 -0
  519. package/lib/src/business/ap-title/style/index.js +1 -0
  520. package/lib/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.js +1 -1
  521. package/lib/src/business/ap-upload-file/ap-upload-single/style/index.d.ts +5 -0
  522. package/lib/src/business/ap-upload-file/ap-upload-single/style/index.js +1 -0
  523. package/lib/src/business/ap-value-select-card/index.vue2.js +1 -1
  524. package/lib/src/business/ap-value-select-card/style/index.d.ts +3 -0
  525. package/lib/src/business/ap-value-select-card/style/index.js +1 -0
  526. package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
  527. package/lib/src/business/ap-view/components/main-button-content.vue2.js +1 -1
  528. package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -1
  529. package/lib/src/business/ap-view/style/index.d.ts +5 -0
  530. package/lib/src/business/ap-view/style/index.js +1 -0
  531. package/lib/src/business/batch-input-group/index.vue.d.ts +2 -2
  532. package/lib/src/business/batch-input-group/index.vue.js +2 -2
  533. package/lib/src/business/batch-input-group/popover-input/index.vue.d.ts +1 -1
  534. package/lib/src/business/batch-input-group/popover-input/index.vue2.js +2 -2
  535. package/lib/src/business/batch-input-group/style/index.d.ts +3 -0
  536. package/lib/src/business/batch-input-group/style/index.js +1 -0
  537. package/lib/src/business/hooks/usePageListAgGrid.js +1 -1
  538. package/lib/src/check-card/index.vue2.js +1 -1
  539. package/lib/src/check-card/style/index.d.ts +15 -0
  540. package/lib/src/check-card/style/index.js +1 -0
  541. package/lib/src/config-provider/config-provider-props.d.ts +8 -0
  542. package/lib/src/config-provider/config-provider-props.js +1 -1
  543. package/lib/src/config-provider/config-provider.d.ts +9 -1
  544. package/lib/src/config-provider/config-provider.js +1 -1
  545. package/lib/src/config-provider/hooks/use-global-config.d.ts +5 -0
  546. package/lib/src/config-provider/hooks/use-global-config.js +1 -1
  547. package/lib/src/config-provider/hooks/use-namespace.d.ts +1 -1
  548. package/lib/src/config-provider/hooks/use-namespace.js +1 -1
  549. package/lib/src/config-provider/hooks/use-token.d.ts +4 -0
  550. package/lib/src/config-provider/hooks/use-token.js +1 -0
  551. package/lib/src/config-provider/index.d.ts +14 -3
  552. package/lib/src/design-token/constants.d.ts +7 -0
  553. package/lib/src/design-token/constants.js +1 -0
  554. package/lib/src/design-token/index.d.ts +1 -0
  555. package/lib/src/design-token/index.js +1 -1
  556. package/lib/src/design-token/interface.d.ts +148 -0
  557. package/lib/src/editable-table/form-item.vue.js +1 -1
  558. package/lib/src/editable-table/index.vue.js +1 -1
  559. package/lib/src/editable-table/style/index.d.ts +8 -0
  560. package/lib/src/editable-table/style/index.js +1 -0
  561. package/lib/src/full-screen/index.vue.js +1 -1
  562. package/lib/src/full-screen/style/index.d.ts +5 -0
  563. package/lib/src/full-screen/style/index.js +1 -0
  564. package/lib/src/index.js +1 -1
  565. package/lib/src/mask/index.vue.js +1 -1
  566. package/lib/src/mask/style/index.d.ts +16 -0
  567. package/lib/src/mask/style/index.js +17 -0
  568. package/lib/src/scroll-bar/internal.vue.js +1 -1
  569. package/lib/src/scroll-bar/style/index.d.ts +27 -0
  570. package/lib/src/scroll-bar/style/index.js +1 -0
  571. package/lib/src/scroll-view/index.vue.js +1 -1
  572. package/lib/src/scroll-view/style/index.d.ts +5 -0
  573. package/lib/src/scroll-view/style/index.js +1 -0
  574. package/lib/src/splitter/Splitter.vue2.js +1 -1
  575. package/lib/src/splitter/style/index.d.ts +11 -0
  576. package/lib/src/splitter/style/index.js +1 -0
  577. package/lib/src/style/index.d.ts +5 -0
  578. package/lib/src/style/index.js +1 -0
  579. package/lib/src/style/reset.css +257 -0
  580. package/lib/src/text/group.vue.js +1 -1
  581. package/lib/src/text/index.vue.js +1 -1
  582. package/lib/src/text/style/group.d.ts +5 -0
  583. package/lib/src/text/style/group.js +1 -0
  584. package/lib/src/text/style/index.d.ts +5 -0
  585. package/lib/src/text/style/index.js +1 -0
  586. package/lib/src/utils/config-provider-preset.d.ts +2 -2
  587. package/lib/src/utils/cssinjs/index.d.ts +8 -0
  588. package/lib/src/utils/cssinjs/index.js +1 -0
  589. package/lib/src/utils/cssinjs/instance.d.ts +12 -0
  590. package/lib/src/utils/cssinjs/instance.js +1 -0
  591. package/lib/src/utils/cssinjs/plugin-specificity.d.ts +2 -0
  592. package/lib/src/utils/cssinjs/plugin-specificity.js +1 -0
  593. package/lib/src/version.d.ts +1 -1
  594. package/lib/src/version.js +1 -1
  595. package/package.json +6 -5
  596. package/es/src/ag-grid/editable/style/css.d.ts +0 -0
  597. package/es/src/ag-grid/editable/style/css.js +0 -1
  598. package/es/src/ag-grid/editable/style/index.d.ts +0 -0
  599. package/es/src/ag-grid/editable/style/index.js +0 -1
  600. package/es/src/ag-grid/style/css.d.ts +0 -0
  601. package/es/src/ag-grid/style/css.js +0 -1
  602. package/es/src/ag-grid/style/index.js +0 -1
  603. package/es/src/ap-action/group/style/css.d.ts +0 -1
  604. package/es/src/ap-action/group/style/css.js +0 -1
  605. package/es/src/ap-action/group/style/index.d.ts +0 -1
  606. package/es/src/ap-action/group/style/index.js +0 -1
  607. package/es/src/ap-action/item/style/css.d.ts +0 -0
  608. package/es/src/ap-action/item/style/css.js +0 -2
  609. package/es/src/ap-action/item/style/index.d.ts +0 -0
  610. package/es/src/ap-action/item/style/index.js +0 -2
  611. package/es/src/ap-action/item-dropdown/style/css.d.ts +0 -0
  612. package/es/src/ap-action/item-dropdown/style/css.js +0 -2
  613. package/es/src/ap-action/item-dropdown/style/index.d.ts +0 -0
  614. package/es/src/ap-action/item-dropdown/style/index.js +0 -2
  615. package/es/src/ap-action/item-modal/style/css.d.ts +0 -0
  616. package/es/src/ap-action/item-modal/style/css.js +0 -1
  617. package/es/src/ap-action/item-modal/style/index.d.ts +0 -0
  618. package/es/src/ap-action/item-modal/style/index.js +0 -1
  619. package/es/src/ap-action/item-popconfirm/style/css.d.ts +0 -0
  620. package/es/src/ap-action/item-popconfirm/style/css.js +0 -1
  621. package/es/src/ap-action/item-popconfirm/style/index.d.ts +0 -0
  622. package/es/src/ap-action/item-popconfirm/style/index.js +0 -1
  623. package/es/src/ap-action-button/style/css.d.ts +0 -0
  624. package/es/src/ap-action-button/style/css.js +0 -1
  625. package/es/src/ap-action-button/style/index.d.ts +0 -0
  626. package/es/src/ap-action-button/style/index.js +0 -1
  627. package/es/src/ap-button/style/css.d.ts +0 -0
  628. package/es/src/ap-button/style/css.js +0 -1
  629. package/es/src/ap-button/style/index.js +0 -1
  630. package/es/src/ap-descriptions/style/css.d.ts +0 -0
  631. package/es/src/ap-descriptions/style/css.js +0 -1
  632. package/es/src/ap-descriptions/style/index.js +0 -1
  633. package/es/src/ap-download/style/css.d.ts +0 -0
  634. package/es/src/ap-download/style/css.js +0 -1
  635. package/es/src/ap-download/style/index.js +0 -1
  636. package/es/src/ap-drawer/style/css.d.ts +0 -1
  637. package/es/src/ap-drawer/style/css.js +0 -1
  638. package/es/src/ap-drawer/style/index.js +0 -1
  639. package/es/src/ap-field/checkbox/style/css.d.ts +0 -0
  640. package/es/src/ap-field/checkbox/style/css.js +0 -1
  641. package/es/src/ap-field/checkbox/style/index.d.ts +0 -0
  642. package/es/src/ap-field/checkbox/style/index.js +0 -1
  643. package/es/src/ap-field/date/style/css.d.ts +0 -1
  644. package/es/src/ap-field/date/style/css.js +0 -1
  645. package/es/src/ap-field/date/style/index.d.ts +0 -1
  646. package/es/src/ap-field/date/style/index.js +0 -1
  647. package/es/src/ap-field/date-range/style/css.d.ts +0 -1
  648. package/es/src/ap-field/date-range/style/css.js +0 -1
  649. package/es/src/ap-field/date-range/style/index.d.ts +0 -1
  650. package/es/src/ap-field/date-range/style/index.js +0 -1
  651. package/es/src/ap-field/number/style/css.d.ts +0 -0
  652. package/es/src/ap-field/number/style/css.js +0 -1
  653. package/es/src/ap-field/number/style/index.d.ts +0 -0
  654. package/es/src/ap-field/number/style/index.js +0 -1
  655. package/es/src/ap-field/password/style/css.d.ts +0 -1
  656. package/es/src/ap-field/password/style/css.js +0 -1
  657. package/es/src/ap-field/password/style/index.d.ts +0 -1
  658. package/es/src/ap-field/password/style/index.js +0 -1
  659. package/es/src/ap-field/radio/style/css.d.ts +0 -0
  660. package/es/src/ap-field/radio/style/css.js +0 -1
  661. package/es/src/ap-field/radio/style/index.d.ts +0 -0
  662. package/es/src/ap-field/radio/style/index.js +0 -1
  663. package/es/src/ap-field/rate/style/css.d.ts +0 -1
  664. package/es/src/ap-field/rate/style/css.js +0 -1
  665. package/es/src/ap-field/rate/style/index.d.ts +0 -1
  666. package/es/src/ap-field/rate/style/index.js +0 -1
  667. package/es/src/ap-field/segmented/style/css.d.ts +0 -1
  668. package/es/src/ap-field/segmented/style/css.js +0 -1
  669. package/es/src/ap-field/segmented/style/index.d.ts +0 -1
  670. package/es/src/ap-field/segmented/style/index.js +0 -1
  671. package/es/src/ap-field/select/style/css.d.ts +0 -1
  672. package/es/src/ap-field/select/style/css.js +0 -1
  673. package/es/src/ap-field/select/style/index.d.ts +0 -1
  674. package/es/src/ap-field/select/style/index.js +0 -1
  675. package/es/src/ap-field/slider/style/css.d.ts +0 -1
  676. package/es/src/ap-field/slider/style/css.js +0 -1
  677. package/es/src/ap-field/slider/style/index.d.ts +0 -1
  678. package/es/src/ap-field/slider/style/index.js +0 -1
  679. package/es/src/ap-field/style/css.d.ts +0 -0
  680. package/es/src/ap-field/style/css.js +0 -1
  681. package/es/src/ap-field/style/index.js +0 -1
  682. package/es/src/ap-field/switch/style/css.d.ts +0 -1
  683. package/es/src/ap-field/switch/style/css.js +0 -1
  684. package/es/src/ap-field/switch/style/index.d.ts +0 -1
  685. package/es/src/ap-field/switch/style/index.js +0 -1
  686. package/es/src/ap-field/text/style/css.d.ts +0 -1
  687. package/es/src/ap-field/text/style/css.js +0 -1
  688. package/es/src/ap-field/text/style/index.d.ts +0 -1
  689. package/es/src/ap-field/text/style/index.js +0 -1
  690. package/es/src/ap-field/text-area/style/css.d.ts +0 -0
  691. package/es/src/ap-field/text-area/style/css.js +0 -1
  692. package/es/src/ap-field/text-area/style/index.d.ts +0 -0
  693. package/es/src/ap-field/text-area/style/index.js +0 -1
  694. package/es/src/ap-field/tree-select/style/css.d.ts +0 -1
  695. package/es/src/ap-field/tree-select/style/css.js +0 -1
  696. package/es/src/ap-field/tree-select/style/index.d.ts +0 -1
  697. package/es/src/ap-field/tree-select/style/index.js +0 -1
  698. package/es/src/ap-form/dependency/style/css.d.ts +0 -1
  699. package/es/src/ap-form/dependency/style/css.js +0 -1
  700. package/es/src/ap-form/dependency/style/index.d.ts +0 -1
  701. package/es/src/ap-form/dependency/style/index.js +0 -1
  702. package/es/src/ap-form/drawer-form/style/css.d.ts +0 -0
  703. package/es/src/ap-form/drawer-form/style/css.js +0 -1
  704. package/es/src/ap-form/drawer-form/style/index.d.ts +0 -0
  705. package/es/src/ap-form/drawer-form/style/index.js +0 -1
  706. package/es/src/ap-form/item/style/css.d.ts +0 -0
  707. package/es/src/ap-form/item/style/css.js +0 -1
  708. package/es/src/ap-form/item/style/index.d.ts +0 -0
  709. package/es/src/ap-form/item/style/index.js +0 -1
  710. package/es/src/ap-form/item-checkbox/style/css.d.ts +0 -0
  711. package/es/src/ap-form/item-checkbox/style/css.js +0 -1
  712. package/es/src/ap-form/item-checkbox/style/index.d.ts +0 -0
  713. package/es/src/ap-form/item-checkbox/style/index.js +0 -1
  714. package/es/src/ap-form/item-date/style/css.d.ts +0 -1
  715. package/es/src/ap-form/item-date/style/css.js +0 -1
  716. package/es/src/ap-form/item-date/style/index.d.ts +0 -1
  717. package/es/src/ap-form/item-date/style/index.js +0 -1
  718. package/es/src/ap-form/item-date-range/style/css.d.ts +0 -1
  719. package/es/src/ap-form/item-date-range/style/css.js +0 -1
  720. package/es/src/ap-form/item-date-range/style/index.d.ts +0 -1
  721. package/es/src/ap-form/item-date-range/style/index.js +0 -1
  722. package/es/src/ap-form/item-group/style/css.d.ts +0 -0
  723. package/es/src/ap-form/item-group/style/css.js +0 -1
  724. package/es/src/ap-form/item-group/style/index.d.ts +0 -0
  725. package/es/src/ap-form/item-group/style/index.js +0 -1
  726. package/es/src/ap-form/item-number/style/css.d.ts +0 -0
  727. package/es/src/ap-form/item-number/style/css.js +0 -1
  728. package/es/src/ap-form/item-number/style/index.d.ts +0 -0
  729. package/es/src/ap-form/item-number/style/index.js +0 -1
  730. package/es/src/ap-form/item-radio/style/css.d.ts +0 -0
  731. package/es/src/ap-form/item-radio/style/css.js +0 -1
  732. package/es/src/ap-form/item-radio/style/index.d.ts +0 -0
  733. package/es/src/ap-form/item-radio/style/index.js +0 -1
  734. package/es/src/ap-form/item-select/style/css.d.ts +0 -1
  735. package/es/src/ap-form/item-select/style/css.js +0 -1
  736. package/es/src/ap-form/item-select/style/index.d.ts +0 -1
  737. package/es/src/ap-form/item-select/style/index.js +0 -1
  738. package/es/src/ap-form/item-switch/style/css.d.ts +0 -1
  739. package/es/src/ap-form/item-switch/style/css.js +0 -1
  740. package/es/src/ap-form/item-switch/style/index.d.ts +0 -1
  741. package/es/src/ap-form/item-switch/style/index.js +0 -1
  742. package/es/src/ap-form/item-text/style/css.d.ts +0 -0
  743. package/es/src/ap-form/item-text/style/css.js +0 -1
  744. package/es/src/ap-form/item-text/style/index.d.ts +0 -0
  745. package/es/src/ap-form/item-text/style/index.js +0 -1
  746. package/es/src/ap-form/item-text-area/style/css.d.ts +0 -0
  747. package/es/src/ap-form/item-text-area/style/css.js +0 -1
  748. package/es/src/ap-form/item-text-area/style/index.d.ts +0 -0
  749. package/es/src/ap-form/item-text-area/style/index.js +0 -1
  750. package/es/src/ap-form/item-text-group/style/css.d.ts +0 -0
  751. package/es/src/ap-form/item-text-group/style/css.js +0 -1
  752. package/es/src/ap-form/item-text-group/style/index.d.ts +0 -0
  753. package/es/src/ap-form/item-text-group/style/index.js +0 -1
  754. package/es/src/ap-form/item-text-password/style/css.d.ts +0 -1
  755. package/es/src/ap-form/item-text-password/style/css.js +0 -1
  756. package/es/src/ap-form/item-text-password/style/index.d.ts +0 -1
  757. package/es/src/ap-form/item-text-password/style/index.js +0 -1
  758. package/es/src/ap-form/item-tree-select/style/css.d.ts +0 -1
  759. package/es/src/ap-form/item-tree-select/style/css.js +0 -1
  760. package/es/src/ap-form/item-tree-select/style/index.d.ts +0 -1
  761. package/es/src/ap-form/item-tree-select/style/index.js +0 -1
  762. package/es/src/ap-form/list/style/css.d.ts +0 -1
  763. package/es/src/ap-form/list/style/css.js +0 -1
  764. package/es/src/ap-form/list/style/index.d.ts +0 -1
  765. package/es/src/ap-form/list/style/index.js +0 -1
  766. package/es/src/ap-form/modal-form/style/css.d.ts +0 -0
  767. package/es/src/ap-form/modal-form/style/css.js +0 -1
  768. package/es/src/ap-form/modal-form/style/index.d.ts +0 -0
  769. package/es/src/ap-form/modal-form/style/index.js +0 -1
  770. package/es/src/ap-form/render/style/css.d.ts +0 -1
  771. package/es/src/ap-form/render/style/css.js +0 -1
  772. package/es/src/ap-form/render/style/index.d.ts +0 -1
  773. package/es/src/ap-form/render/style/index.js +0 -1
  774. package/es/src/ap-form/search-form/style/css.d.ts +0 -0
  775. package/es/src/ap-form/search-form/style/css.js +0 -1
  776. package/es/src/ap-form/search-form/style/index.d.ts +0 -0
  777. package/es/src/ap-form/search-form/style/index.js +0 -1
  778. package/es/src/ap-form/set/style/css.d.ts +0 -1
  779. package/es/src/ap-form/set/style/css.js +0 -1
  780. package/es/src/ap-form/set/style/index.d.ts +0 -1
  781. package/es/src/ap-form/set/style/index.js +0 -1
  782. package/es/src/ap-form/style/css.d.ts +0 -0
  783. package/es/src/ap-form/style/css.js +0 -1
  784. package/es/src/ap-form/style/index.d.ts +0 -0
  785. package/es/src/ap-form/style/index.js +0 -1
  786. package/es/src/ap-grid/editable/style/css.d.ts +0 -0
  787. package/es/src/ap-grid/editable/style/css.js +0 -2
  788. package/es/src/ap-grid/editable/style/index.d.ts +0 -0
  789. package/es/src/ap-grid/editable/style/index.js +0 -2
  790. package/es/src/ap-grid/style/css.d.ts +0 -0
  791. package/es/src/ap-grid/style/css.js +0 -1
  792. package/es/src/ap-grid/style/index.js +0 -1
  793. package/es/src/ap-list/style/css.d.ts +0 -0
  794. package/es/src/ap-list/style/css.js +0 -1
  795. package/es/src/ap-list/style/index.js +0 -1
  796. package/es/src/ap-modal/style/css.d.ts +0 -1
  797. package/es/src/ap-modal/style/css.js +0 -1
  798. package/es/src/ap-modal/style/index.d.ts +0 -1
  799. package/es/src/ap-modal/style/index.js +0 -1
  800. package/es/src/ap-pro-card/style/css.d.ts +0 -0
  801. package/es/src/ap-pro-card/style/css.js +0 -1
  802. package/es/src/ap-pro-card/style/index.js +0 -1
  803. package/es/src/ap-table/style/css.d.ts +0 -0
  804. package/es/src/ap-table/style/css.js +0 -1
  805. package/es/src/ap-table/style/index.js +0 -1
  806. package/es/src/ap-tag/group/style/css.d.ts +0 -0
  807. package/es/src/ap-tag/group/style/css.js +0 -2
  808. package/es/src/ap-tag/group/style/index.d.ts +0 -0
  809. package/es/src/ap-tag/group/style/index.js +0 -2
  810. package/es/src/ap-tag/style/css.d.ts +0 -0
  811. package/es/src/ap-tag/style/css.js +0 -1
  812. package/es/src/ap-tag/style/index.js +0 -1
  813. package/es/src/ap-upload/style/css.d.ts +0 -0
  814. package/es/src/ap-upload/style/css.js +0 -1
  815. package/es/src/ap-upload/style/index.js +0 -1
  816. package/es/src/business/ag-grid-modal/selected-items/style/css.d.ts +0 -0
  817. package/es/src/business/ag-grid-modal/selected-items/style/css.js +0 -1
  818. package/es/src/business/ag-grid-modal/selected-items/style/index.d.ts +0 -0
  819. package/es/src/business/ag-grid-modal/selected-items/style/index.js +0 -1
  820. package/es/src/business/ag-grid-modal/style/css.d.ts +0 -0
  821. package/es/src/business/ag-grid-modal/style/css.js +0 -1
  822. package/es/src/business/ag-grid-modal/style/index.js +0 -1
  823. package/es/src/business/ap-appendix/style/css.d.ts +0 -0
  824. package/es/src/business/ap-appendix/style/css.js +0 -1
  825. package/es/src/business/ap-appendix/style/index.js +0 -1
  826. package/es/src/business/ap-attachment/style/css.d.ts +0 -0
  827. package/es/src/business/ap-attachment/style/css.js +0 -1
  828. package/es/src/business/ap-attachment/style/index.js +0 -1
  829. package/es/src/business/ap-batch-action/style/css.d.ts +0 -0
  830. package/es/src/business/ap-batch-action/style/css.js +0 -1
  831. package/es/src/business/ap-batch-action/style/index.js +0 -1
  832. package/es/src/business/ap-batch-action-group/style/css.d.ts +0 -0
  833. package/es/src/business/ap-batch-action-group/style/css.js +0 -1
  834. package/es/src/business/ap-batch-action-group/style/index.d.ts +0 -0
  835. package/es/src/business/ap-batch-action-group/style/index.js +0 -1
  836. package/es/src/business/ap-button-group/style/css.d.ts +0 -0
  837. package/es/src/business/ap-button-group/style/css.js +0 -1
  838. package/es/src/business/ap-button-group/style/index.d.ts +0 -0
  839. package/es/src/business/ap-button-group/style/index.js +0 -1
  840. package/es/src/business/ap-card/style/css.d.ts +0 -0
  841. package/es/src/business/ap-card/style/css.js +0 -2
  842. package/es/src/business/ap-card/style/index.js +0 -2
  843. package/es/src/business/ap-copy/style/css.d.ts +0 -0
  844. package/es/src/business/ap-copy/style/css.js +0 -1
  845. package/es/src/business/ap-copy/style/index.js +0 -1
  846. package/es/src/business/ap-draggable-grid/style/css.d.ts +0 -0
  847. package/es/src/business/ap-draggable-grid/style/css.js +0 -1
  848. package/es/src/business/ap-draggable-grid/style/index.js +0 -1
  849. package/es/src/business/ap-expand-alert/style/css.d.ts +0 -0
  850. package/es/src/business/ap-expand-alert/style/css.js +0 -2
  851. package/es/src/business/ap-expand-alert/style/index.js +0 -2
  852. package/es/src/business/ap-export-group/style/css.d.ts +0 -1
  853. package/es/src/business/ap-export-group/style/css.js +0 -1
  854. package/es/src/business/ap-export-group/style/index.d.ts +0 -1
  855. package/es/src/business/ap-export-group/style/index.js +0 -1
  856. package/es/src/business/ap-image/style/css.d.ts +0 -0
  857. package/es/src/business/ap-image/style/css.js +0 -1
  858. package/es/src/business/ap-image/style/index.js +0 -1
  859. package/es/src/business/ap-input-radio/style/css.d.ts +0 -0
  860. package/es/src/business/ap-input-radio/style/css.js +0 -1
  861. package/es/src/business/ap-input-radio/style/index.js +0 -1
  862. package/es/src/business/ap-label/group/style/css.d.ts +0 -0
  863. package/es/src/business/ap-label/group/style/css.js +0 -1
  864. package/es/src/business/ap-label/group/style/index.d.ts +0 -0
  865. package/es/src/business/ap-label/group/style/index.js +0 -1
  866. package/es/src/business/ap-label/style/css.d.ts +0 -0
  867. package/es/src/business/ap-label/style/css.js +0 -1
  868. package/es/src/business/ap-label/style/index.js +0 -1
  869. package/es/src/business/ap-ladder/style/css.d.ts +0 -0
  870. package/es/src/business/ap-ladder/style/css.js +0 -1
  871. package/es/src/business/ap-ladder/style/index.js +0 -1
  872. package/es/src/business/ap-product-info/style/css.d.ts +0 -0
  873. package/es/src/business/ap-product-info/style/css.js +0 -1
  874. package/es/src/business/ap-product-info/style/index.js +0 -1
  875. package/es/src/business/ap-radio-group/style/css.d.ts +0 -0
  876. package/es/src/business/ap-radio-group/style/css.js +0 -1
  877. package/es/src/business/ap-radio-group/style/index.js +0 -1
  878. package/es/src/business/ap-select-layout/style/css.d.ts +0 -0
  879. package/es/src/business/ap-select-layout/style/css.js +0 -1
  880. package/es/src/business/ap-select-layout/style/index.js +0 -1
  881. package/es/src/business/ap-size-input/style/css.d.ts +0 -0
  882. package/es/src/business/ap-size-input/style/css.js +0 -1
  883. package/es/src/business/ap-size-input/style/index.js +0 -1
  884. package/es/src/business/ap-status/group/style/css.d.ts +0 -0
  885. package/es/src/business/ap-status/group/style/css.js +0 -1
  886. package/es/src/business/ap-status/group/style/index.d.ts +0 -0
  887. package/es/src/business/ap-status/group/style/index.js +0 -1
  888. package/es/src/business/ap-status/style/css.d.ts +0 -0
  889. package/es/src/business/ap-status/style/css.js +0 -1
  890. package/es/src/business/ap-status/style/index.js +0 -1
  891. package/es/src/business/ap-summary/style/css.d.ts +0 -0
  892. package/es/src/business/ap-summary/style/css.js +0 -1
  893. package/es/src/business/ap-summary/style/index.js +0 -1
  894. package/es/src/business/ap-table-modal/style/css.d.ts +0 -0
  895. package/es/src/business/ap-table-modal/style/css.js +0 -1
  896. package/es/src/business/ap-table-modal/style/index.js +0 -1
  897. package/es/src/business/ap-title/style/css.d.ts +0 -0
  898. package/es/src/business/ap-title/style/css.js +0 -1
  899. package/es/src/business/ap-title/style/index.js +0 -1
  900. package/es/src/business/ap-upload-file/ap-upload-single/style/css.d.ts +0 -0
  901. package/es/src/business/ap-upload-file/ap-upload-single/style/css.js +0 -1
  902. package/es/src/business/ap-upload-file/ap-upload-single/style/index.js +0 -1
  903. package/es/src/business/ap-value-select-card/style/css.d.ts +0 -0
  904. package/es/src/business/ap-value-select-card/style/css.js +0 -1
  905. package/es/src/business/ap-value-select-card/style/index.js +0 -1
  906. package/es/src/business/ap-view/style/css.d.ts +0 -0
  907. package/es/src/business/ap-view/style/css.js +0 -1
  908. package/es/src/business/ap-view/style/index.js +0 -1
  909. package/es/src/business/batch-input-group/popover-input/style/css.d.ts +0 -0
  910. package/es/src/business/batch-input-group/popover-input/style/css.js +0 -1
  911. package/es/src/business/batch-input-group/popover-input/style/index.d.ts +0 -0
  912. package/es/src/business/batch-input-group/popover-input/style/index.js +0 -1
  913. package/es/src/business/batch-input-group/style/css.d.ts +0 -0
  914. package/es/src/business/batch-input-group/style/css.js +0 -1
  915. package/es/src/business/batch-input-group/style/index.js +0 -1
  916. package/es/src/check-card/group/style/css.js +0 -1
  917. package/es/src/check-card/group/style/index.js +0 -1
  918. package/es/src/check-card/style/css.d.ts +0 -0
  919. package/es/src/check-card/style/css.js +0 -1
  920. package/es/src/check-card/style/index.js +0 -1
  921. package/es/src/config-provider/style/css.d.ts +0 -1
  922. package/es/src/config-provider/style/css.js +0 -1
  923. package/es/src/config-provider/style/index.d.ts +0 -1
  924. package/es/src/config-provider/style/index.js +0 -1
  925. package/es/src/editable-table/form-item/style/css.d.ts +0 -0
  926. package/es/src/editable-table/form-item/style/css.js +0 -1
  927. package/es/src/editable-table/form-item/style/index.d.ts +0 -0
  928. package/es/src/editable-table/form-item/style/index.js +0 -1
  929. package/es/src/editable-table/style/css.d.ts +0 -0
  930. package/es/src/editable-table/style/css.js +0 -1
  931. package/es/src/editable-table/style/index.js +0 -1
  932. package/es/src/full-screen/style/css.d.ts +0 -0
  933. package/es/src/full-screen/style/css.js +0 -1
  934. package/es/src/full-screen/style/index.js +0 -1
  935. package/es/src/mask/style/css.d.ts +0 -0
  936. package/es/src/mask/style/css.js +0 -1
  937. package/es/src/mask/style/index.js +0 -1
  938. package/es/src/path-map.d.ts +0 -2
  939. package/es/src/path-map.mjs +0 -111
  940. package/es/src/portal/style/css.js +0 -1
  941. package/es/src/portal/style/index.js +0 -1
  942. package/es/src/resize-observer/style/css.d.ts +0 -1
  943. package/es/src/resize-observer/style/css.js +0 -1
  944. package/es/src/resize-observer/style/index.d.ts +0 -1
  945. package/es/src/resize-observer/style/index.js +0 -1
  946. package/es/src/scroll-bar/style/css.d.ts +0 -0
  947. package/es/src/scroll-bar/style/css.js +0 -1
  948. package/es/src/scroll-bar/style/index.js +0 -1
  949. package/es/src/scroll-view/style/css.d.ts +0 -0
  950. package/es/src/scroll-view/style/css.js +0 -2
  951. package/es/src/scroll-view/style/index.js +0 -2
  952. package/es/src/splitter/style/css.d.ts +0 -0
  953. package/es/src/splitter/style/css.js +0 -1
  954. package/es/src/splitter/style/index.js +0 -1
  955. package/es/src/text/style/css.d.ts +0 -0
  956. package/es/src/text/style/css.js +0 -2
  957. package/es/src/text/style/index.js +0 -2
  958. package/lib/src/ag-grid/editable/style/css.cjs +0 -1
  959. package/lib/src/ag-grid/editable/style/css.d.ts +0 -0
  960. package/lib/src/ag-grid/editable/style/index.cjs +0 -1
  961. package/lib/src/ag-grid/editable/style/index.d.ts +0 -0
  962. package/lib/src/ag-grid/style/css.cjs +0 -1
  963. package/lib/src/ag-grid/style/css.d.ts +0 -0
  964. package/lib/src/ag-grid/style/index.cjs +0 -1
  965. package/lib/src/ap-action/group/style/css.cjs +0 -1
  966. package/lib/src/ap-action/group/style/css.d.ts +0 -1
  967. package/lib/src/ap-action/group/style/index.cjs +0 -1
  968. package/lib/src/ap-action/group/style/index.d.ts +0 -1
  969. package/lib/src/ap-action/item/style/css.cjs +0 -2
  970. package/lib/src/ap-action/item/style/css.d.ts +0 -0
  971. package/lib/src/ap-action/item/style/index.cjs +0 -2
  972. package/lib/src/ap-action/item/style/index.d.ts +0 -0
  973. package/lib/src/ap-action/item-dropdown/style/css.cjs +0 -2
  974. package/lib/src/ap-action/item-dropdown/style/css.d.ts +0 -0
  975. package/lib/src/ap-action/item-dropdown/style/index.cjs +0 -2
  976. package/lib/src/ap-action/item-dropdown/style/index.d.ts +0 -0
  977. package/lib/src/ap-action/item-modal/style/css.cjs +0 -1
  978. package/lib/src/ap-action/item-modal/style/css.d.ts +0 -0
  979. package/lib/src/ap-action/item-modal/style/index.cjs +0 -1
  980. package/lib/src/ap-action/item-modal/style/index.d.ts +0 -0
  981. package/lib/src/ap-action/item-popconfirm/style/css.cjs +0 -1
  982. package/lib/src/ap-action/item-popconfirm/style/css.d.ts +0 -0
  983. package/lib/src/ap-action/item-popconfirm/style/index.cjs +0 -1
  984. package/lib/src/ap-action/item-popconfirm/style/index.d.ts +0 -0
  985. package/lib/src/ap-action-button/style/css.cjs +0 -1
  986. package/lib/src/ap-action-button/style/css.d.ts +0 -0
  987. package/lib/src/ap-action-button/style/index.cjs +0 -1
  988. package/lib/src/ap-action-button/style/index.d.ts +0 -0
  989. package/lib/src/ap-button/style/css.cjs +0 -1
  990. package/lib/src/ap-button/style/css.d.ts +0 -0
  991. package/lib/src/ap-button/style/index.cjs +0 -1
  992. package/lib/src/ap-descriptions/style/css.cjs +0 -1
  993. package/lib/src/ap-descriptions/style/css.d.ts +0 -0
  994. package/lib/src/ap-descriptions/style/index.cjs +0 -1
  995. package/lib/src/ap-download/style/css.cjs +0 -1
  996. package/lib/src/ap-download/style/css.d.ts +0 -0
  997. package/lib/src/ap-download/style/index.cjs +0 -1
  998. package/lib/src/ap-drawer/style/css.cjs +0 -1
  999. package/lib/src/ap-drawer/style/css.d.ts +0 -1
  1000. package/lib/src/ap-drawer/style/index.cjs +0 -1
  1001. package/lib/src/ap-field/checkbox/style/css.cjs +0 -1
  1002. package/lib/src/ap-field/checkbox/style/css.d.ts +0 -0
  1003. package/lib/src/ap-field/checkbox/style/index.cjs +0 -1
  1004. package/lib/src/ap-field/checkbox/style/index.d.ts +0 -0
  1005. package/lib/src/ap-field/date/style/css.cjs +0 -1
  1006. package/lib/src/ap-field/date/style/css.d.ts +0 -1
  1007. package/lib/src/ap-field/date/style/index.cjs +0 -1
  1008. package/lib/src/ap-field/date/style/index.d.ts +0 -1
  1009. package/lib/src/ap-field/date-range/style/css.cjs +0 -1
  1010. package/lib/src/ap-field/date-range/style/css.d.ts +0 -1
  1011. package/lib/src/ap-field/date-range/style/index.cjs +0 -1
  1012. package/lib/src/ap-field/date-range/style/index.d.ts +0 -1
  1013. package/lib/src/ap-field/number/style/css.cjs +0 -1
  1014. package/lib/src/ap-field/number/style/css.d.ts +0 -0
  1015. package/lib/src/ap-field/number/style/index.cjs +0 -1
  1016. package/lib/src/ap-field/number/style/index.d.ts +0 -0
  1017. package/lib/src/ap-field/password/style/css.cjs +0 -1
  1018. package/lib/src/ap-field/password/style/css.d.ts +0 -1
  1019. package/lib/src/ap-field/password/style/index.cjs +0 -1
  1020. package/lib/src/ap-field/password/style/index.d.ts +0 -1
  1021. package/lib/src/ap-field/radio/style/css.cjs +0 -1
  1022. package/lib/src/ap-field/radio/style/css.d.ts +0 -0
  1023. package/lib/src/ap-field/radio/style/index.cjs +0 -1
  1024. package/lib/src/ap-field/radio/style/index.d.ts +0 -0
  1025. package/lib/src/ap-field/rate/style/css.cjs +0 -1
  1026. package/lib/src/ap-field/rate/style/css.d.ts +0 -1
  1027. package/lib/src/ap-field/rate/style/index.cjs +0 -1
  1028. package/lib/src/ap-field/rate/style/index.d.ts +0 -1
  1029. package/lib/src/ap-field/segmented/style/css.cjs +0 -1
  1030. package/lib/src/ap-field/segmented/style/css.d.ts +0 -1
  1031. package/lib/src/ap-field/segmented/style/index.cjs +0 -1
  1032. package/lib/src/ap-field/segmented/style/index.d.ts +0 -1
  1033. package/lib/src/ap-field/select/style/css.cjs +0 -1
  1034. package/lib/src/ap-field/select/style/css.d.ts +0 -1
  1035. package/lib/src/ap-field/select/style/index.cjs +0 -1
  1036. package/lib/src/ap-field/select/style/index.d.ts +0 -1
  1037. package/lib/src/ap-field/slider/style/css.cjs +0 -1
  1038. package/lib/src/ap-field/slider/style/css.d.ts +0 -1
  1039. package/lib/src/ap-field/slider/style/index.cjs +0 -1
  1040. package/lib/src/ap-field/slider/style/index.d.ts +0 -1
  1041. package/lib/src/ap-field/style/css.cjs +0 -1
  1042. package/lib/src/ap-field/style/css.d.ts +0 -0
  1043. package/lib/src/ap-field/style/index.cjs +0 -1
  1044. package/lib/src/ap-field/switch/style/css.cjs +0 -1
  1045. package/lib/src/ap-field/switch/style/css.d.ts +0 -1
  1046. package/lib/src/ap-field/switch/style/index.cjs +0 -1
  1047. package/lib/src/ap-field/switch/style/index.d.ts +0 -1
  1048. package/lib/src/ap-field/text/style/css.cjs +0 -1
  1049. package/lib/src/ap-field/text/style/css.d.ts +0 -1
  1050. package/lib/src/ap-field/text/style/index.cjs +0 -1
  1051. package/lib/src/ap-field/text/style/index.d.ts +0 -1
  1052. package/lib/src/ap-field/text-area/style/css.cjs +0 -1
  1053. package/lib/src/ap-field/text-area/style/css.d.ts +0 -0
  1054. package/lib/src/ap-field/text-area/style/index.cjs +0 -1
  1055. package/lib/src/ap-field/text-area/style/index.d.ts +0 -0
  1056. package/lib/src/ap-field/tree-select/style/css.cjs +0 -1
  1057. package/lib/src/ap-field/tree-select/style/css.d.ts +0 -1
  1058. package/lib/src/ap-field/tree-select/style/index.cjs +0 -1
  1059. package/lib/src/ap-field/tree-select/style/index.d.ts +0 -1
  1060. package/lib/src/ap-form/dependency/style/css.cjs +0 -1
  1061. package/lib/src/ap-form/dependency/style/css.d.ts +0 -1
  1062. package/lib/src/ap-form/dependency/style/index.cjs +0 -1
  1063. package/lib/src/ap-form/dependency/style/index.d.ts +0 -1
  1064. package/lib/src/ap-form/drawer-form/style/css.cjs +0 -1
  1065. package/lib/src/ap-form/drawer-form/style/css.d.ts +0 -0
  1066. package/lib/src/ap-form/drawer-form/style/index.cjs +0 -1
  1067. package/lib/src/ap-form/drawer-form/style/index.d.ts +0 -0
  1068. package/lib/src/ap-form/item/style/css.cjs +0 -1
  1069. package/lib/src/ap-form/item/style/css.d.ts +0 -0
  1070. package/lib/src/ap-form/item/style/index.cjs +0 -1
  1071. package/lib/src/ap-form/item/style/index.d.ts +0 -0
  1072. package/lib/src/ap-form/item-checkbox/style/css.cjs +0 -1
  1073. package/lib/src/ap-form/item-checkbox/style/css.d.ts +0 -0
  1074. package/lib/src/ap-form/item-checkbox/style/index.cjs +0 -1
  1075. package/lib/src/ap-form/item-checkbox/style/index.d.ts +0 -0
  1076. package/lib/src/ap-form/item-date/style/css.cjs +0 -1
  1077. package/lib/src/ap-form/item-date/style/css.d.ts +0 -1
  1078. package/lib/src/ap-form/item-date/style/index.cjs +0 -1
  1079. package/lib/src/ap-form/item-date/style/index.d.ts +0 -1
  1080. package/lib/src/ap-form/item-date-range/style/css.cjs +0 -1
  1081. package/lib/src/ap-form/item-date-range/style/css.d.ts +0 -1
  1082. package/lib/src/ap-form/item-date-range/style/index.cjs +0 -1
  1083. package/lib/src/ap-form/item-date-range/style/index.d.ts +0 -1
  1084. package/lib/src/ap-form/item-group/style/css.cjs +0 -1
  1085. package/lib/src/ap-form/item-group/style/css.d.ts +0 -0
  1086. package/lib/src/ap-form/item-group/style/index.cjs +0 -1
  1087. package/lib/src/ap-form/item-group/style/index.d.ts +0 -0
  1088. package/lib/src/ap-form/item-number/style/css.cjs +0 -1
  1089. package/lib/src/ap-form/item-number/style/css.d.ts +0 -0
  1090. package/lib/src/ap-form/item-number/style/index.cjs +0 -1
  1091. package/lib/src/ap-form/item-number/style/index.d.ts +0 -0
  1092. package/lib/src/ap-form/item-radio/style/css.cjs +0 -1
  1093. package/lib/src/ap-form/item-radio/style/css.d.ts +0 -0
  1094. package/lib/src/ap-form/item-radio/style/index.cjs +0 -1
  1095. package/lib/src/ap-form/item-radio/style/index.d.ts +0 -0
  1096. package/lib/src/ap-form/item-select/style/css.cjs +0 -1
  1097. package/lib/src/ap-form/item-select/style/css.d.ts +0 -1
  1098. package/lib/src/ap-form/item-select/style/index.cjs +0 -1
  1099. package/lib/src/ap-form/item-select/style/index.d.ts +0 -1
  1100. package/lib/src/ap-form/item-switch/style/css.cjs +0 -1
  1101. package/lib/src/ap-form/item-switch/style/css.d.ts +0 -1
  1102. package/lib/src/ap-form/item-switch/style/index.cjs +0 -1
  1103. package/lib/src/ap-form/item-switch/style/index.d.ts +0 -1
  1104. package/lib/src/ap-form/item-text/style/css.cjs +0 -1
  1105. package/lib/src/ap-form/item-text/style/css.d.ts +0 -0
  1106. package/lib/src/ap-form/item-text/style/index.cjs +0 -1
  1107. package/lib/src/ap-form/item-text/style/index.d.ts +0 -0
  1108. package/lib/src/ap-form/item-text-area/style/css.cjs +0 -1
  1109. package/lib/src/ap-form/item-text-area/style/css.d.ts +0 -0
  1110. package/lib/src/ap-form/item-text-area/style/index.cjs +0 -1
  1111. package/lib/src/ap-form/item-text-area/style/index.d.ts +0 -0
  1112. package/lib/src/ap-form/item-text-group/style/css.cjs +0 -1
  1113. package/lib/src/ap-form/item-text-group/style/css.d.ts +0 -0
  1114. package/lib/src/ap-form/item-text-group/style/index.cjs +0 -1
  1115. package/lib/src/ap-form/item-text-group/style/index.d.ts +0 -0
  1116. package/lib/src/ap-form/item-text-password/style/css.cjs +0 -1
  1117. package/lib/src/ap-form/item-text-password/style/css.d.ts +0 -1
  1118. package/lib/src/ap-form/item-text-password/style/index.cjs +0 -1
  1119. package/lib/src/ap-form/item-text-password/style/index.d.ts +0 -1
  1120. package/lib/src/ap-form/item-tree-select/style/css.cjs +0 -1
  1121. package/lib/src/ap-form/item-tree-select/style/css.d.ts +0 -1
  1122. package/lib/src/ap-form/item-tree-select/style/index.cjs +0 -1
  1123. package/lib/src/ap-form/item-tree-select/style/index.d.ts +0 -1
  1124. package/lib/src/ap-form/list/style/css.cjs +0 -1
  1125. package/lib/src/ap-form/list/style/css.d.ts +0 -1
  1126. package/lib/src/ap-form/list/style/index.cjs +0 -1
  1127. package/lib/src/ap-form/list/style/index.d.ts +0 -1
  1128. package/lib/src/ap-form/modal-form/style/css.cjs +0 -1
  1129. package/lib/src/ap-form/modal-form/style/css.d.ts +0 -0
  1130. package/lib/src/ap-form/modal-form/style/index.cjs +0 -1
  1131. package/lib/src/ap-form/modal-form/style/index.d.ts +0 -0
  1132. package/lib/src/ap-form/render/style/css.cjs +0 -1
  1133. package/lib/src/ap-form/render/style/css.d.ts +0 -1
  1134. package/lib/src/ap-form/render/style/index.cjs +0 -1
  1135. package/lib/src/ap-form/render/style/index.d.ts +0 -1
  1136. package/lib/src/ap-form/search-form/style/css.cjs +0 -1
  1137. package/lib/src/ap-form/search-form/style/css.d.ts +0 -0
  1138. package/lib/src/ap-form/search-form/style/index.cjs +0 -1
  1139. package/lib/src/ap-form/search-form/style/index.d.ts +0 -0
  1140. package/lib/src/ap-form/set/style/css.cjs +0 -1
  1141. package/lib/src/ap-form/set/style/css.d.ts +0 -1
  1142. package/lib/src/ap-form/set/style/index.cjs +0 -1
  1143. package/lib/src/ap-form/set/style/index.d.ts +0 -1
  1144. package/lib/src/ap-form/style/css.cjs +0 -1
  1145. package/lib/src/ap-form/style/css.d.ts +0 -0
  1146. package/lib/src/ap-form/style/index.cjs +0 -1
  1147. package/lib/src/ap-form/style/index.d.ts +0 -0
  1148. package/lib/src/ap-grid/editable/style/css.cjs +0 -2
  1149. package/lib/src/ap-grid/editable/style/css.d.ts +0 -0
  1150. package/lib/src/ap-grid/editable/style/index.cjs +0 -2
  1151. package/lib/src/ap-grid/editable/style/index.d.ts +0 -0
  1152. package/lib/src/ap-grid/style/css.cjs +0 -1
  1153. package/lib/src/ap-grid/style/css.d.ts +0 -0
  1154. package/lib/src/ap-grid/style/index.cjs +0 -1
  1155. package/lib/src/ap-list/style/css.cjs +0 -1
  1156. package/lib/src/ap-list/style/css.d.ts +0 -0
  1157. package/lib/src/ap-list/style/index.cjs +0 -1
  1158. package/lib/src/ap-modal/style/css.cjs +0 -1
  1159. package/lib/src/ap-modal/style/css.d.ts +0 -1
  1160. package/lib/src/ap-modal/style/index.cjs +0 -1
  1161. package/lib/src/ap-modal/style/index.d.ts +0 -1
  1162. package/lib/src/ap-pro-card/style/css.cjs +0 -1
  1163. package/lib/src/ap-pro-card/style/css.d.ts +0 -0
  1164. package/lib/src/ap-pro-card/style/index.cjs +0 -1
  1165. package/lib/src/ap-table/style/css.cjs +0 -1
  1166. package/lib/src/ap-table/style/css.d.ts +0 -0
  1167. package/lib/src/ap-table/style/index.cjs +0 -1
  1168. package/lib/src/ap-tag/group/style/css.cjs +0 -2
  1169. package/lib/src/ap-tag/group/style/css.d.ts +0 -0
  1170. package/lib/src/ap-tag/group/style/index.cjs +0 -2
  1171. package/lib/src/ap-tag/group/style/index.d.ts +0 -0
  1172. package/lib/src/ap-tag/style/css.cjs +0 -1
  1173. package/lib/src/ap-tag/style/css.d.ts +0 -0
  1174. package/lib/src/ap-tag/style/index.cjs +0 -1
  1175. package/lib/src/ap-upload/style/css.cjs +0 -1
  1176. package/lib/src/ap-upload/style/css.d.ts +0 -0
  1177. package/lib/src/ap-upload/style/index.cjs +0 -1
  1178. package/lib/src/business/ag-grid-modal/selected-items/style/css.cjs +0 -1
  1179. package/lib/src/business/ag-grid-modal/selected-items/style/css.d.ts +0 -0
  1180. package/lib/src/business/ag-grid-modal/selected-items/style/index.cjs +0 -1
  1181. package/lib/src/business/ag-grid-modal/selected-items/style/index.d.ts +0 -0
  1182. package/lib/src/business/ag-grid-modal/style/css.cjs +0 -1
  1183. package/lib/src/business/ag-grid-modal/style/css.d.ts +0 -0
  1184. package/lib/src/business/ag-grid-modal/style/index.cjs +0 -1
  1185. package/lib/src/business/ap-appendix/style/css.cjs +0 -1
  1186. package/lib/src/business/ap-appendix/style/css.d.ts +0 -0
  1187. package/lib/src/business/ap-appendix/style/index.cjs +0 -1
  1188. package/lib/src/business/ap-attachment/style/css.cjs +0 -1
  1189. package/lib/src/business/ap-attachment/style/css.d.ts +0 -0
  1190. package/lib/src/business/ap-attachment/style/index.cjs +0 -1
  1191. package/lib/src/business/ap-batch-action/style/css.cjs +0 -1
  1192. package/lib/src/business/ap-batch-action/style/css.d.ts +0 -0
  1193. package/lib/src/business/ap-batch-action/style/index.cjs +0 -1
  1194. package/lib/src/business/ap-batch-action-group/style/css.cjs +0 -1
  1195. package/lib/src/business/ap-batch-action-group/style/css.d.ts +0 -0
  1196. package/lib/src/business/ap-batch-action-group/style/index.cjs +0 -1
  1197. package/lib/src/business/ap-batch-action-group/style/index.d.ts +0 -0
  1198. package/lib/src/business/ap-button-group/style/css.cjs +0 -1
  1199. package/lib/src/business/ap-button-group/style/css.d.ts +0 -0
  1200. package/lib/src/business/ap-button-group/style/index.cjs +0 -1
  1201. package/lib/src/business/ap-button-group/style/index.d.ts +0 -0
  1202. package/lib/src/business/ap-card/style/css.cjs +0 -2
  1203. package/lib/src/business/ap-card/style/css.d.ts +0 -0
  1204. package/lib/src/business/ap-card/style/index.cjs +0 -2
  1205. package/lib/src/business/ap-copy/style/css.cjs +0 -1
  1206. package/lib/src/business/ap-copy/style/css.d.ts +0 -0
  1207. package/lib/src/business/ap-copy/style/index.cjs +0 -1
  1208. package/lib/src/business/ap-draggable-grid/style/css.cjs +0 -1
  1209. package/lib/src/business/ap-draggable-grid/style/css.d.ts +0 -0
  1210. package/lib/src/business/ap-draggable-grid/style/index.cjs +0 -1
  1211. package/lib/src/business/ap-expand-alert/style/css.cjs +0 -2
  1212. package/lib/src/business/ap-expand-alert/style/css.d.ts +0 -0
  1213. package/lib/src/business/ap-expand-alert/style/index.cjs +0 -2
  1214. package/lib/src/business/ap-export-group/style/css.cjs +0 -1
  1215. package/lib/src/business/ap-export-group/style/css.d.ts +0 -1
  1216. package/lib/src/business/ap-export-group/style/index.cjs +0 -1
  1217. package/lib/src/business/ap-export-group/style/index.d.ts +0 -1
  1218. package/lib/src/business/ap-image/style/css.cjs +0 -1
  1219. package/lib/src/business/ap-image/style/css.d.ts +0 -0
  1220. package/lib/src/business/ap-image/style/index.cjs +0 -1
  1221. package/lib/src/business/ap-input-radio/style/css.cjs +0 -1
  1222. package/lib/src/business/ap-input-radio/style/css.d.ts +0 -0
  1223. package/lib/src/business/ap-input-radio/style/index.cjs +0 -1
  1224. package/lib/src/business/ap-label/group/style/css.cjs +0 -1
  1225. package/lib/src/business/ap-label/group/style/css.d.ts +0 -0
  1226. package/lib/src/business/ap-label/group/style/index.cjs +0 -1
  1227. package/lib/src/business/ap-label/group/style/index.d.ts +0 -0
  1228. package/lib/src/business/ap-label/style/css.cjs +0 -1
  1229. package/lib/src/business/ap-label/style/css.d.ts +0 -0
  1230. package/lib/src/business/ap-label/style/index.cjs +0 -1
  1231. package/lib/src/business/ap-ladder/style/css.cjs +0 -1
  1232. package/lib/src/business/ap-ladder/style/css.d.ts +0 -0
  1233. package/lib/src/business/ap-ladder/style/index.cjs +0 -1
  1234. package/lib/src/business/ap-product-info/style/css.cjs +0 -1
  1235. package/lib/src/business/ap-product-info/style/css.d.ts +0 -0
  1236. package/lib/src/business/ap-product-info/style/index.cjs +0 -1
  1237. package/lib/src/business/ap-radio-group/style/css.cjs +0 -1
  1238. package/lib/src/business/ap-radio-group/style/css.d.ts +0 -0
  1239. package/lib/src/business/ap-radio-group/style/index.cjs +0 -1
  1240. package/lib/src/business/ap-select-layout/style/css.cjs +0 -1
  1241. package/lib/src/business/ap-select-layout/style/css.d.ts +0 -0
  1242. package/lib/src/business/ap-select-layout/style/index.cjs +0 -1
  1243. package/lib/src/business/ap-size-input/style/css.cjs +0 -1
  1244. package/lib/src/business/ap-size-input/style/css.d.ts +0 -0
  1245. package/lib/src/business/ap-size-input/style/index.cjs +0 -1
  1246. package/lib/src/business/ap-status/group/style/css.cjs +0 -1
  1247. package/lib/src/business/ap-status/group/style/css.d.ts +0 -0
  1248. package/lib/src/business/ap-status/group/style/index.cjs +0 -1
  1249. package/lib/src/business/ap-status/group/style/index.d.ts +0 -0
  1250. package/lib/src/business/ap-status/style/css.cjs +0 -1
  1251. package/lib/src/business/ap-status/style/css.d.ts +0 -0
  1252. package/lib/src/business/ap-status/style/index.cjs +0 -1
  1253. package/lib/src/business/ap-summary/style/css.cjs +0 -1
  1254. package/lib/src/business/ap-summary/style/css.d.ts +0 -0
  1255. package/lib/src/business/ap-summary/style/index.cjs +0 -1
  1256. package/lib/src/business/ap-table-modal/style/css.cjs +0 -1
  1257. package/lib/src/business/ap-table-modal/style/css.d.ts +0 -0
  1258. package/lib/src/business/ap-table-modal/style/index.cjs +0 -1
  1259. package/lib/src/business/ap-title/style/css.cjs +0 -1
  1260. package/lib/src/business/ap-title/style/css.d.ts +0 -0
  1261. package/lib/src/business/ap-title/style/index.cjs +0 -1
  1262. package/lib/src/business/ap-upload-file/ap-upload-single/style/css.cjs +0 -1
  1263. package/lib/src/business/ap-upload-file/ap-upload-single/style/css.d.ts +0 -0
  1264. package/lib/src/business/ap-upload-file/ap-upload-single/style/index.cjs +0 -1
  1265. package/lib/src/business/ap-value-select-card/style/css.cjs +0 -1
  1266. package/lib/src/business/ap-value-select-card/style/css.d.ts +0 -0
  1267. package/lib/src/business/ap-value-select-card/style/index.cjs +0 -1
  1268. package/lib/src/business/ap-view/style/css.cjs +0 -1
  1269. package/lib/src/business/ap-view/style/css.d.ts +0 -0
  1270. package/lib/src/business/ap-view/style/index.cjs +0 -1
  1271. package/lib/src/business/batch-input-group/popover-input/style/css.cjs +0 -1
  1272. package/lib/src/business/batch-input-group/popover-input/style/css.d.ts +0 -0
  1273. package/lib/src/business/batch-input-group/popover-input/style/index.cjs +0 -1
  1274. package/lib/src/business/batch-input-group/popover-input/style/index.d.ts +0 -0
  1275. package/lib/src/business/batch-input-group/style/css.cjs +0 -1
  1276. package/lib/src/business/batch-input-group/style/css.d.ts +0 -0
  1277. package/lib/src/business/batch-input-group/style/index.cjs +0 -1
  1278. package/lib/src/check-card/group/style/css.cjs +0 -1
  1279. package/lib/src/check-card/group/style/index.cjs +0 -1
  1280. package/lib/src/check-card/style/css.cjs +0 -1
  1281. package/lib/src/check-card/style/css.d.ts +0 -0
  1282. package/lib/src/check-card/style/index.cjs +0 -1
  1283. package/lib/src/config-provider/style/css.cjs +0 -1
  1284. package/lib/src/config-provider/style/css.d.ts +0 -1
  1285. package/lib/src/config-provider/style/index.cjs +0 -1
  1286. package/lib/src/config-provider/style/index.d.ts +0 -1
  1287. package/lib/src/editable-table/form-item/style/css.cjs +0 -1
  1288. package/lib/src/editable-table/form-item/style/css.d.ts +0 -0
  1289. package/lib/src/editable-table/form-item/style/index.cjs +0 -1
  1290. package/lib/src/editable-table/form-item/style/index.d.ts +0 -0
  1291. package/lib/src/editable-table/style/css.cjs +0 -1
  1292. package/lib/src/editable-table/style/css.d.ts +0 -0
  1293. package/lib/src/editable-table/style/index.cjs +0 -1
  1294. package/lib/src/full-screen/style/css.cjs +0 -1
  1295. package/lib/src/full-screen/style/css.d.ts +0 -0
  1296. package/lib/src/full-screen/style/index.cjs +0 -1
  1297. package/lib/src/mask/style/css.cjs +0 -1
  1298. package/lib/src/mask/style/css.d.ts +0 -0
  1299. package/lib/src/mask/style/index.cjs +0 -1
  1300. package/lib/src/path-map.d.ts +0 -2
  1301. package/lib/src/path-map.js +0 -1
  1302. package/lib/src/portal/style/css.cjs +0 -1
  1303. package/lib/src/portal/style/index.cjs +0 -1
  1304. package/lib/src/resize-observer/style/css.cjs +0 -1
  1305. package/lib/src/resize-observer/style/css.d.ts +0 -1
  1306. package/lib/src/resize-observer/style/index.cjs +0 -1
  1307. package/lib/src/resize-observer/style/index.d.ts +0 -1
  1308. package/lib/src/scroll-bar/style/css.cjs +0 -1
  1309. package/lib/src/scroll-bar/style/css.d.ts +0 -0
  1310. package/lib/src/scroll-bar/style/index.cjs +0 -1
  1311. package/lib/src/scroll-view/style/css.cjs +0 -2
  1312. package/lib/src/scroll-view/style/css.d.ts +0 -0
  1313. package/lib/src/scroll-view/style/index.cjs +0 -2
  1314. package/lib/src/splitter/style/css.cjs +0 -1
  1315. package/lib/src/splitter/style/css.d.ts +0 -0
  1316. package/lib/src/splitter/style/index.cjs +0 -1
  1317. package/lib/src/text/style/css.cjs +0 -2
  1318. package/lib/src/text/style/css.d.ts +0 -0
  1319. package/lib/src/text/style/index.cjs +0 -2
  1320. package/theme/ag-grid/custom-header.css +0 -82
  1321. package/theme/ag-grid/custom-header.less +0 -39
  1322. package/theme/ag-grid/editable.css +0 -52
  1323. package/theme/ag-grid/editable.less +0 -11
  1324. package/theme/ag-grid/index.css +0 -727
  1325. package/theme/ag-grid/index.less +0 -170
  1326. package/theme/ag-grid-modal/index.css +0 -790
  1327. package/theme/ag-grid-modal/index.less +0 -74
  1328. package/theme/ag-grid-modal/selected-items.css +0 -72
  1329. package/theme/ag-grid-modal/selected-items.less +0 -34
  1330. package/theme/antd-global-overwrite/admin/index.css +0 -1
  1331. package/theme/antd-global-overwrite/admin/index.less +0 -1
  1332. package/theme/antd-global-overwrite/aplus/index.css +0 -1
  1333. package/theme/antd-global-overwrite/aplus/index.less +0 -1
  1334. package/theme/antdv-override.css +0 -544
  1335. package/theme/antdv-override.less +0 -631
  1336. package/theme/ap-action/item-dropdown.css +0 -60
  1337. package/theme/ap-action/item-dropdown.less +0 -23
  1338. package/theme/ap-action/item.css +0 -102
  1339. package/theme/ap-action/item.less +0 -64
  1340. package/theme/ap-appendix/ap-appendix.css +0 -123
  1341. package/theme/ap-appendix/ap-appendix.less +0 -85
  1342. package/theme/ap-attachment/ap-attachment.css +0 -119
  1343. package/theme/ap-attachment/ap-attachment.less +0 -77
  1344. package/theme/ap-batch-action/ap-batch-action.css +0 -85
  1345. package/theme/ap-batch-action/ap-batch-action.less +0 -41
  1346. package/theme/ap-button/ap-button.css +0 -52
  1347. package/theme/ap-button/ap-button.less +0 -8
  1348. package/theme/ap-card/ap-card.css +0 -56
  1349. package/theme/ap-card/ap-card.less +0 -12
  1350. package/theme/ap-copy/ap-copy.css +0 -98
  1351. package/theme/ap-copy/ap-copy.less +0 -63
  1352. package/theme/ap-descriptions/ap-descriptions.css +0 -118
  1353. package/theme/ap-descriptions/ap-descriptions.less +0 -123
  1354. package/theme/ap-download/ap-download.css +0 -97
  1355. package/theme/ap-download/ap-download.less +0 -58
  1356. package/theme/ap-draggable-grid/ap-draggable-grid.css +0 -89
  1357. package/theme/ap-draggable-grid/ap-draggable-grid.less +0 -45
  1358. package/theme/ap-drawer/ap-drawer.css +0 -66
  1359. package/theme/ap-drawer/ap-drawer.less +0 -27
  1360. package/theme/ap-expand-alert/ap-expand-alert.css +0 -94
  1361. package/theme/ap-expand-alert/ap-expand-alert.less +0 -86
  1362. package/theme/ap-field/checkbox.css +0 -56
  1363. package/theme/ap-field/checkbox.less +0 -15
  1364. package/theme/ap-field/index.css +0 -74
  1365. package/theme/ap-field/index.less +0 -4
  1366. package/theme/ap-field/number.css +0 -52
  1367. package/theme/ap-field/number.less +0 -10
  1368. package/theme/ap-field/radio.css +0 -53
  1369. package/theme/ap-field/radio.less +0 -13
  1370. package/theme/ap-field/text-area.css +0 -51
  1371. package/theme/ap-field/text-area.less +0 -7
  1372. package/theme/ap-form/ap-form-item-group.css +0 -55
  1373. package/theme/ap-form/ap-form-item-group.less +0 -17
  1374. package/theme/ap-form/ap-form-item.css +0 -146
  1375. package/theme/ap-form/ap-form-item.less +0 -123
  1376. package/theme/ap-form/drawer-form.css +0 -62
  1377. package/theme/ap-form/drawer-form.less +0 -20
  1378. package/theme/ap-form/index.css +0 -423
  1379. package/theme/ap-form/index.less +0 -6
  1380. package/theme/ap-form/item-text-group.css +0 -98
  1381. package/theme/ap-form/item-text-group.less +0 -65
  1382. package/theme/ap-form/item-text.css +0 -98
  1383. package/theme/ap-form/item-text.less +0 -1
  1384. package/theme/ap-form/modal-form.css +0 -66
  1385. package/theme/ap-form/modal-form.less +0 -24
  1386. package/theme/ap-form/search-form-sorter.css +0 -141
  1387. package/theme/ap-form/search-form-sorter.less +0 -74
  1388. package/theme/ap-form/search-form.css +0 -326
  1389. package/theme/ap-form/search-form.less +0 -99
  1390. package/theme/ap-grid/editable.css +0 -69
  1391. package/theme/ap-grid/editable.less +0 -30
  1392. package/theme/ap-grid/index.css +0 -729
  1393. package/theme/ap-grid/index.less +0 -226
  1394. package/theme/ap-group-search/ap-extension-select.css +0 -49
  1395. package/theme/ap-group-search/ap-extension-select.less +0 -8
  1396. package/theme/ap-group-search/ap-group-search.css +0 -77
  1397. package/theme/ap-group-search/ap-group-search.less +0 -48
  1398. package/theme/ap-group-search/ap-popover-select.css +0 -116
  1399. package/theme/ap-group-search/ap-popover-select.less +0 -85
  1400. package/theme/ap-image/ap-image.css +0 -53
  1401. package/theme/ap-image/ap-image.less +0 -11
  1402. package/theme/ap-input-radio/ap-input-radio.css +0 -53
  1403. package/theme/ap-input-radio/ap-input-radio.less +0 -10
  1404. package/theme/ap-label/ap-label.css +0 -84
  1405. package/theme/ap-label/ap-label.less +0 -42
  1406. package/theme/ap-ladder/ap-ladder.css +0 -202
  1407. package/theme/ap-ladder/ap-ladder.less +0 -168
  1408. package/theme/ap-layout/ap-info-layout.css +0 -82
  1409. package/theme/ap-layout/ap-info-layout.less +0 -46
  1410. package/theme/ap-list/index.css +0 -94
  1411. package/theme/ap-list/index.less +0 -55
  1412. package/theme/ap-pro-card/index.css +0 -509
  1413. package/theme/ap-pro-card/index.less +0 -394
  1414. package/theme/ap-product-info/ap-product-info.css +0 -122
  1415. package/theme/ap-product-info/ap-product-info.less +0 -85
  1416. package/theme/ap-radio-group/ap-radio-group.css +0 -66
  1417. package/theme/ap-radio-group/ap-radio-group.less +0 -26
  1418. package/theme/ap-select-layout/ap-select-layout.css +0 -172
  1419. package/theme/ap-select-layout/ap-select-layout.less +0 -151
  1420. package/theme/ap-size-input/ap-size-input.css +0 -50
  1421. package/theme/ap-size-input/ap-size-input.less +0 -7
  1422. package/theme/ap-status/ap-status.css +0 -71
  1423. package/theme/ap-status/ap-status.less +0 -21
  1424. package/theme/ap-summary/index.css +0 -58
  1425. package/theme/ap-summary/index.less +0 -18
  1426. package/theme/ap-table/ap-table-index.css +0 -58
  1427. package/theme/ap-table/ap-table-index.less +0 -16
  1428. package/theme/ap-table/ap-table-paragraph-ellipsis.css +0 -71
  1429. package/theme/ap-table/ap-table-paragraph-ellipsis.less +0 -27
  1430. package/theme/ap-table/ap-table.css +0 -934
  1431. package/theme/ap-table/ap-table.less +0 -197
  1432. package/theme/ap-table/setting/index.css +0 -202
  1433. package/theme/ap-table/setting/index.less +0 -5
  1434. package/theme/ap-table/setting/modal.css +0 -109
  1435. package/theme/ap-table/setting/modal.less +0 -66
  1436. package/theme/ap-table/setting/select-group.css +0 -54
  1437. package/theme/ap-table/setting/select-group.less +0 -12
  1438. package/theme/ap-table/setting/sortable-item-meta.css +0 -96
  1439. package/theme/ap-table/setting/sortable-item-meta.less +0 -58
  1440. package/theme/ap-table/setting/sortable-item.css +0 -49
  1441. package/theme/ap-table/setting/sortable-item.less +0 -7
  1442. package/theme/ap-table/setting/sorter.css +0 -78
  1443. package/theme/ap-table/setting/sorter.less +0 -27
  1444. package/theme/ap-table-modal/index.css +0 -978
  1445. package/theme/ap-table-modal/index.less +0 -56
  1446. package/theme/ap-tag/ap-tag-group.css +0 -61
  1447. package/theme/ap-tag/ap-tag-group.less +0 -21
  1448. package/theme/ap-tag/ap-tag.css +0 -103
  1449. package/theme/ap-tag/ap-tag.less +0 -66
  1450. package/theme/ap-title/ap-title.css +0 -107
  1451. package/theme/ap-title/ap-title.less +0 -69
  1452. package/theme/ap-upload/index.css +0 -335
  1453. package/theme/ap-upload/index.less +0 -4
  1454. package/theme/ap-upload/multiple-file.css +0 -119
  1455. package/theme/ap-upload/multiple-file.less +0 -97
  1456. package/theme/ap-upload/picture.css +0 -158
  1457. package/theme/ap-upload/picture.less +0 -132
  1458. package/theme/ap-upload/single-file.css +0 -144
  1459. package/theme/ap-upload/single-file.less +0 -119
  1460. package/theme/ap-upload/upload.css +0 -52
  1461. package/theme/ap-upload/upload.less +0 -8
  1462. package/theme/ap-upload-single/index.css +0 -147
  1463. package/theme/ap-upload-single/index.less +0 -133
  1464. package/theme/ap-value-select-card/index.css +0 -166
  1465. package/theme/ap-value-select-card/index.less +0 -161
  1466. package/theme/ap-view/ap-view.css +0 -175
  1467. package/theme/ap-view/ap-view.less +0 -136
  1468. package/theme/batch-input-group/index.css +0 -116
  1469. package/theme/batch-input-group/index.less +0 -7
  1470. package/theme/batch-input-group/popover-input.css +0 -85
  1471. package/theme/batch-input-group/popover-input.less +0 -47
  1472. package/theme/check-card/index.css +0 -154
  1473. package/theme/check-card/index.less +0 -92
  1474. package/theme/css-var.css +0 -98
  1475. package/theme/css-var.less +0 -155
  1476. package/theme/editable-table/index.css +0 -582
  1477. package/theme/editable-table/index.less +0 -74
  1478. package/theme/font/aplusuiiconfont.otf +0 -0
  1479. package/theme/font/aplusuiiconfont.woff2 +0 -0
  1480. package/theme/font/font.css +0 -5
  1481. package/theme/font/font.less +0 -6
  1482. package/theme/full-screen/index.css +0 -52
  1483. package/theme/full-screen/index.less +0 -12
  1484. package/theme/index.css +0 -5121
  1485. package/theme/index.less +0 -57
  1486. package/theme/mask/index.css +0 -100
  1487. package/theme/mask/index.less +0 -28
  1488. package/theme/mixins/animations.css +0 -29
  1489. package/theme/mixins/animations.less +0 -43
  1490. package/theme/mixins/config.css +0 -0
  1491. package/theme/mixins/config.less +0 -61
  1492. package/theme/mixins/mixins.css +0 -46
  1493. package/theme/mixins/mixins.less +0 -69
  1494. package/theme/reset.css +0 -275
  1495. package/theme/reset.less +0 -281
  1496. package/theme/scroll-bar/index.css +0 -92
  1497. package/theme/scroll-bar/index.less +0 -62
  1498. package/theme/scroll-view/index.css +0 -66
  1499. package/theme/scroll-view/index.less +0 -23
  1500. package/theme/splitter/index.css +0 -276
  1501. package/theme/splitter/index.less +0 -240
  1502. package/theme/text/group.css +0 -60
  1503. package/theme/text/group.less +0 -19
  1504. package/theme/text/index.css +0 -100
  1505. package/theme/text/index.less +0 -52
  1506. package/theme/work-order-modal/index.css +0 -49
  1507. package/theme/work-order-modal/index.less +0 -6
@@ -52,9 +52,8 @@ declare function __VLS_template(): {
52
52
  readonly autofocus?: boolean | undefined;
53
53
  readonly 'onUpdate:value'?: (((val: string) => void) & ((...args: any[]) => any)) | undefined;
54
54
  readonly bordered?: boolean | undefined;
55
- readonly suffix?: any;
56
- readonly focused?: boolean | undefined;
57
55
  readonly id?: string | undefined;
56
+ readonly focused?: boolean | undefined;
58
57
  readonly readonly?: boolean | undefined;
59
58
  readonly autocomplete?: string | undefined;
60
59
  readonly placeholder?: string | number | undefined;
@@ -73,6 +72,7 @@ declare function __VLS_template(): {
73
72
  readonly addonBefore?: any;
74
73
  readonly addonAfter?: any;
75
74
  readonly prefix?: any;
75
+ readonly suffix?: any;
76
76
  readonly clearIcon?: any;
77
77
  readonly allowClear?: boolean | undefined;
78
78
  readonly emptyText?: string | undefined;
@@ -209,9 +209,8 @@ declare const __VLS_component: DefineComponent<ApFormItemTextProps, {
209
209
  readonly autofocus?: boolean | undefined;
210
210
  readonly 'onUpdate:value'?: (((val: string) => void) & ((...args: any[]) => any)) | undefined;
211
211
  readonly bordered?: boolean | undefined;
212
- readonly suffix?: any;
213
- readonly focused?: boolean | undefined;
214
212
  readonly id?: string | undefined;
213
+ readonly focused?: boolean | undefined;
215
214
  readonly readonly?: boolean | undefined;
216
215
  readonly autocomplete?: string | undefined;
217
216
  readonly placeholder?: string | number | undefined;
@@ -230,6 +229,7 @@ declare const __VLS_component: DefineComponent<ApFormItemTextProps, {
230
229
  readonly addonBefore?: any;
231
230
  readonly addonAfter?: any;
232
231
  readonly prefix?: any;
232
+ readonly suffix?: any;
233
233
  readonly clearIcon?: any;
234
234
  readonly allowClear?: boolean | undefined;
235
235
  readonly emptyText?: string | undefined;
@@ -53,9 +53,8 @@ declare function __VLS_template(): {
53
53
  readonly autofocus?: boolean | undefined;
54
54
  readonly 'onUpdate:value'?: (((val: string) => void) & ((...args: any[]) => any)) | undefined;
55
55
  readonly bordered?: boolean | undefined;
56
- readonly suffix?: any;
57
- readonly focused?: boolean | undefined;
58
56
  readonly id?: string | undefined;
57
+ readonly focused?: boolean | undefined;
59
58
  readonly readonly?: boolean | undefined;
60
59
  readonly autocomplete?: string | undefined;
61
60
  readonly placeholder?: string | number | undefined;
@@ -74,6 +73,7 @@ declare function __VLS_template(): {
74
73
  readonly addonBefore?: any;
75
74
  readonly addonAfter?: any;
76
75
  readonly prefix?: any;
76
+ readonly suffix?: any;
77
77
  readonly clearIcon?: any;
78
78
  readonly allowClear?: boolean | undefined;
79
79
  readonly inputPrefixCls?: string | undefined;
@@ -216,9 +216,8 @@ declare const __VLS_component: DefineComponent<ApFormItemTextPasswordProps, {
216
216
  readonly autofocus?: boolean | undefined;
217
217
  readonly 'onUpdate:value'?: (((val: string) => void) & ((...args: any[]) => any)) | undefined;
218
218
  readonly bordered?: boolean | undefined;
219
- readonly suffix?: any;
220
- readonly focused?: boolean | undefined;
221
219
  readonly id?: string | undefined;
220
+ readonly focused?: boolean | undefined;
222
221
  readonly readonly?: boolean | undefined;
223
222
  readonly autocomplete?: string | undefined;
224
223
  readonly placeholder?: string | number | undefined;
@@ -237,6 +236,7 @@ declare const __VLS_component: DefineComponent<ApFormItemTextPasswordProps, {
237
236
  readonly addonBefore?: any;
238
237
  readonly addonAfter?: any;
239
238
  readonly prefix?: any;
239
+ readonly suffix?: any;
240
240
  readonly clearIcon?: any;
241
241
  readonly allowClear?: boolean | undefined;
242
242
  readonly inputPrefixCls?: string | undefined;
@@ -62,7 +62,7 @@ declare function __VLS_template(): {
62
62
  readonly onMouseenter?: ((e: MouseEvent) => void) | undefined;
63
63
  readonly onMouseleave?: ((e: MouseEvent) => void) | undefined;
64
64
  readonly onSelect?: SelectHandler<unknown, BaseOptionType> | undefined;
65
- readonly placement?: "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | undefined;
65
+ readonly placement?: "topLeft" | "bottomLeft" | "bottomRight" | "topRight" | undefined;
66
66
  readonly value?: unknown;
67
67
  readonly open?: boolean | undefined;
68
68
  readonly multiple?: boolean | undefined;
@@ -77,8 +77,8 @@ declare function __VLS_template(): {
77
77
  readonly autofocus?: boolean | undefined;
78
78
  readonly 'onUpdate:value'?: (((value: any) => void) & ((...args: any[]) => any)) | undefined;
79
79
  readonly bordered?: boolean | undefined;
80
- readonly getPopupContainer?: RenderDOMFunc | undefined;
81
80
  readonly id?: string | undefined;
81
+ readonly getPopupContainer?: RenderDOMFunc | undefined;
82
82
  readonly virtual?: boolean | undefined;
83
83
  readonly dropdownMatchSelectWidth?: number | boolean | undefined;
84
84
  readonly placeholder?: any;
@@ -853,7 +853,7 @@ declare const __VLS_component: DefineComponent<ApFormItemTreeSelectProps, {
853
853
  readonly onMouseenter?: ((e: MouseEvent) => void) | undefined;
854
854
  readonly onMouseleave?: ((e: MouseEvent) => void) | undefined;
855
855
  readonly onSelect?: SelectHandler<unknown, BaseOptionType> | undefined;
856
- readonly placement?: "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | undefined;
856
+ readonly placement?: "topLeft" | "bottomLeft" | "bottomRight" | "topRight" | undefined;
857
857
  readonly value?: unknown;
858
858
  readonly open?: boolean | undefined;
859
859
  readonly multiple?: boolean | undefined;
@@ -868,8 +868,8 @@ declare const __VLS_component: DefineComponent<ApFormItemTreeSelectProps, {
868
868
  readonly autofocus?: boolean | undefined;
869
869
  readonly 'onUpdate:value'?: (((value: any) => void) & ((...args: any[]) => any)) | undefined;
870
870
  readonly bordered?: boolean | undefined;
871
- readonly getPopupContainer?: RenderDOMFunc | undefined;
872
871
  readonly id?: string | undefined;
872
+ readonly getPopupContainer?: RenderDOMFunc | undefined;
873
873
  readonly virtual?: boolean | undefined;
874
874
  readonly dropdownMatchSelectWidth?: number | boolean | undefined;
875
875
  readonly placeholder?: any;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("@aplus-frontend/antdv");require("../ap-form.vue.js");require("../../hooks/index.js");const q=require("../../utils/slot.js");require("../../config-provider/index.js");const S=require("lodash-unified"),w=require("../../hooks/useControllableValue.js"),x=require("../../config-provider/hooks/use-locale.js"),M=require("../../config-provider/hooks/use-global-config.js"),R=require("../../config-provider/hooks/use-namespace.js"),U=require("../ap-form.vue2.js");function y(s){return typeof s=="function"||Object.prototype.toString.call(s)==="[object Object]"&&!e.isVNode(s)}const j=e.defineComponent({name:"ApFormModalForm",__name:"index",props:{layout:{default:"horizontal"},labelCol:{},wrapperCol:{},colon:{type:Boolean,default:!0},labelAlign:{default:"right"},labelWrap:{type:Boolean},prefixCls:{},requiredMark:{},hideRequiredMark:{type:Boolean,default:!1},rules:{},validateMessages:{},validateOnRuleChange:{type:Boolean,default:!0},scrollToFirstError:{},onSubmit:{},name:{},validateTrigger:{default:"change"},size:{},disabled:{type:Boolean},onFieldsChange:{},onFinishFailed:{},onValidate:{},variant:{},initialValues:{},onValuesChange:{},syncToUrl:{type:[Boolean,Function]},syncToUrlPriority:{type:Boolean},open:{type:Boolean,default:void 0},"onUpdate:open":{},modalProps:{default:()=>({})},title:{},width:{default:800},onFinish:{},submitter:{type:[Boolean,Object],default:()=>({resetButtonProps:!1})},showCancel:{type:Boolean,default:!0},submitTimeout:{}},emits:["update:open"],setup(s,{expose:g,emit:F}){const l=s,d=e.useSlots(),h=F,o=e.ref(),m=e.ref(0),u=e.ref(),n=e.ref(!1),{value:V,updateValue:i}=w.useControllableValue(l,h,{valuePropName:"open",defaultValue:!1,beforeUpdateValue(t){return t&&(m.value+=1),!0}}),{t:c}=x.useLocale(),C=M.useGlobalConfig("uiMode","aplus"),{b:T,e:f}=R.useNamespace("ap-form-modal-form");e.watch(()=>o.value,t=>{t&&u.value&&(t.setFieldsValue?.(u.value),u.value=void 0)});const p=q.getSingleVNode(d.trigger),v=p?e.cloneVNode(p,{onClick:()=>{i(!0)}}):null,B=e.computed(()=>{const t=[];if(l.submitter===!1)return null;if(l.showCancel){let a;t.push(e.createVNode(r.Button,{onClick:b,disabled:n.value},y(a=c("ap.common.cancelText"))?a:{default:()=>[a]}))}return l.submitter?.resetButtonProps!==!1&&t.push(e.createVNode(r.Button,e.mergeProps(l.submitter?.resetButtonProps||{},{key:"reset",disabled:n.value,onClick:k,htmlType:"reset"}),{default:()=>[l.submitter?.resetText||c("ap.common.resetText")]})),l.submitter?.submitButtonProps!==!1&&t.push(e.createVNode(r.Button,e.mergeProps({type:"primary",key:"submit",htmlType:"submit"},l.submitter?.submitButtonProps||{},{loading:n.value}),{default:()=>[l.submitter?.submitText||c("ap.common.okText")]})),e.createVNode(r.Flex,{justify:"flex-end",key:e.unref(m),class:[f("footer"),e.unref(C)==="admin"?f("footer-admin"):null]},{default:()=>[d.submitter?d.submitter(t):e.createVNode(r.Space,null,y(t)?t:{default:()=>[t]})]})});function k(){l.submitter!==!1&&(o.value?.resetFields(),l.submitter?.onReset?.())}async function N(t){if(l.submitter!==!1)try{l.submitter?.onSubmit?.(),n.value=!0;const a=l.onFinish?.(t);if(l.submitTimeout&&a instanceof Promise){const _=setTimeout(()=>n.value=!1,l.submitTimeout);a.finally(()=>{clearTimeout(_),n.value=!1})}await a&&i(!1)}finally{n.value=!1}}function b(){e.unref(n)||i(!1)}function P(t){!t&&e.unref(n)||i(t)}return g({resetFields:async()=>{o.value?.resetFields()},clearValidate:t=>{o.value?.clearValidate(t)},validateFields:(t,a)=>o.value?.validateFields(t,a),getFieldsValue:t=>o.value?.getFieldsValue(t),validate:(t,a)=>o.value?.validate(t,a),scrollToField:(t,a={})=>{o.value?.scrollToField(t,a)},setFieldValue:(t,a)=>{o.value?.setFieldValue?.(t,a)},setFieldsValue:t=>{if(!o.value){u.value=t;return}o.value?.setFieldsValue?.(t)},getInternalInstance:t=>o.value?.getInternalInstance(t),getFieldsValueTransformed(t){return o.value?.getFieldsValueTransformed(t)},validateFieldsReturnTransformed(t,a){return o.value?.validateFieldsReturnTransformed(t,a)}}),(t,a)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(r.Modal),e.mergeProps(t.modalProps,{open:e.unref(V),footer:null,width:t.width,class:e.unref(T)(),"body-style":{padding:"0px !important"},"onUpdate:open":P,onCancel:b}),{title:e.withCtx(()=>[e.renderSlot(t.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(l.title),1)])]),default:e.withCtx(()=>[e.createVNode(U.default,e.mergeProps({ref_key:"formRef",ref:o},e.unref(S.omit)(l,["modalProps","open","onUpdate:open","title","width","onFinish","submitter"]),{onFinish:N}),{default:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle(t.modalProps?.bodyStyle),class:e.normalizeClass(e.unref(f)("content"))},[e.renderSlot(t.$slots,"default")],6),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(B.value)))]),_:3},16)]),_:3},16,["open","width","class"]),e.unref(v)?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(v)),{key:0})):e.createCommentVNode("",!0)],64))}});exports.default=j;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("@aplus-frontend/antdv");require("../ap-form.vue.js");require("../../hooks/index.js");const S=require("../../utils/slot.js");require("../../config-provider/index.js");const w=require("lodash-unified"),x=require("../style/modal-form.js"),M=require("../../hooks/useControllableValue.js"),R=require("../../config-provider/hooks/use-locale.js"),U=require("../../config-provider/hooks/use-global-config.js"),j=require("../../config-provider/hooks/use-namespace.js"),I=require("../ap-form.vue2.js");function y(s){return typeof s=="function"||Object.prototype.toString.call(s)==="[object Object]"&&!e.isVNode(s)}const O=e.defineComponent({name:"ApFormModalForm",__name:"index",props:{layout:{default:"horizontal"},labelCol:{},wrapperCol:{},colon:{type:Boolean,default:!0},labelAlign:{default:"right"},labelWrap:{type:Boolean},prefixCls:{},requiredMark:{},hideRequiredMark:{type:Boolean,default:!1},rules:{},validateMessages:{},validateOnRuleChange:{type:Boolean,default:!0},scrollToFirstError:{},onSubmit:{},name:{},validateTrigger:{default:"change"},size:{},disabled:{type:Boolean},onFieldsChange:{},onFinishFailed:{},onValidate:{},variant:{},initialValues:{},onValuesChange:{},syncToUrl:{type:[Boolean,Function]},syncToUrlPriority:{type:Boolean},open:{type:Boolean,default:void 0},"onUpdate:open":{},modalProps:{default:()=>({})},title:{},width:{default:800},onFinish:{},submitter:{type:[Boolean,Object],default:()=>({resetButtonProps:!1})},showCancel:{type:Boolean,default:!0},submitTimeout:{}},emits:["update:open"],setup(s,{expose:g,emit:F}){const l=s,d=e.useSlots(),h=F,a=e.ref(),m=e.ref(0),u=e.ref(),n=e.ref(!1),{value:V,updateValue:i}=M.useControllableValue(l,h,{valuePropName:"open",defaultValue:!1,beforeUpdateValue(t){return t&&(m.value+=1),!0}}),{t:c}=R.useLocale(),C=U.useGlobalConfig("uiMode","aplus"),T=x.default("ap-form-modal-form"),{b:B,e:f}=j.useNamespace("ap-form-modal-form");e.watch(()=>a.value,t=>{t&&u.value&&(t.setFieldsValue?.(u.value),u.value=void 0)});const p=S.getSingleVNode(d.trigger),v=p?e.cloneVNode(p,{onClick:()=>{i(!0)}}):null,k=e.computed(()=>{const t=[];if(l.submitter===!1)return null;if(l.showCancel){let o;t.push(e.createVNode(r.Button,{onClick:b,disabled:n.value},y(o=c("ap.common.cancelText"))?o:{default:()=>[o]}))}return l.submitter?.resetButtonProps!==!1&&t.push(e.createVNode(r.Button,e.mergeProps(l.submitter?.resetButtonProps||{},{key:"reset",disabled:n.value,onClick:N,htmlType:"reset"}),{default:()=>[l.submitter?.resetText||c("ap.common.resetText")]})),l.submitter?.submitButtonProps!==!1&&t.push(e.createVNode(r.Button,e.mergeProps({type:"primary",key:"submit",htmlType:"submit"},l.submitter?.submitButtonProps||{},{loading:n.value}),{default:()=>[l.submitter?.submitText||c("ap.common.okText")]})),e.createVNode(r.Flex,{justify:"flex-end",key:e.unref(m),class:[f("footer"),e.unref(C)==="admin"?f("footer-admin"):null]},{default:()=>[d.submitter?d.submitter(t):e.createVNode(r.Space,null,y(t)?t:{default:()=>[t]})]})});function N(){l.submitter!==!1&&(a.value?.resetFields(),l.submitter?.onReset?.())}async function P(t){if(l.submitter!==!1)try{l.submitter?.onSubmit?.(),n.value=!0;const o=l.onFinish?.(t);if(l.submitTimeout&&o instanceof Promise){const _=setTimeout(()=>n.value=!1,l.submitTimeout);o.finally(()=>{clearTimeout(_),n.value=!1})}await o&&i(!1)}finally{n.value=!1}}function b(){e.unref(n)||i(!1)}function q(t){!t&&e.unref(n)||i(t)}return g({resetFields:async()=>{a.value?.resetFields()},clearValidate:t=>{a.value?.clearValidate(t)},validateFields:(t,o)=>a.value?.validateFields(t,o),getFieldsValue:t=>a.value?.getFieldsValue(t),validate:(t,o)=>a.value?.validate(t,o),scrollToField:(t,o={})=>{a.value?.scrollToField(t,o)},setFieldValue:(t,o)=>{a.value?.setFieldValue?.(t,o)},setFieldsValue:t=>{if(!a.value){u.value=t;return}a.value?.setFieldsValue?.(t)},getInternalInstance:t=>a.value?.getInternalInstance(t),getFieldsValueTransformed(t){return a.value?.getFieldsValueTransformed(t)},validateFieldsReturnTransformed(t,o){return a.value?.validateFieldsReturnTransformed(t,o)}}),(t,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(r.Modal),e.mergeProps(t.modalProps,{open:e.unref(V),footer:null,width:t.width,class:[e.unref(B)(),e.unref(T)],"body-style":{padding:"0px !important"},"onUpdate:open":q,onCancel:b}),{title:e.withCtx(()=>[e.renderSlot(t.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(l.title),1)])]),default:e.withCtx(()=>[e.createVNode(I.default,e.mergeProps({ref_key:"formRef",ref:a},e.unref(w.omit)(l,["modalProps","open","onUpdate:open","title","width","onFinish","submitter"]),{onFinish:P}),{default:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle(t.modalProps?.bodyStyle),class:e.normalizeClass(e.unref(f)("content"))},[e.renderSlot(t.$slots,"default")],6),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(k.value)))]),_:3},16)]),_:3},16,["open","width","class"]),e.unref(v)?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(v)),{key:0})):e.createCommentVNode("",!0)],64))}});exports.default=O;
@@ -143,7 +143,7 @@ declare const _default: DefineComponent<ApFormSearchFormPopoverFilterProps, {},
143
143
  delay?: number;
144
144
  };
145
145
  danger: boolean;
146
- htmlType: ButtonHTMLType;
146
+ htmlType: ** @type { [typeof __VLS_components.Tooltip, typeof __VLS_components.Tooltip, ] } */).ButtonHTMLType;
147
147
  ghost: boolean;
148
148
  iconPosition: ButtonIconPosition;
149
149
  }> | null;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t=require("@aplus-frontend/antdv"),g=require("@aplus-frontend/icon");require("../../../config-provider/index.js");const C=require("../hooks/use-collapse-input-count.js"),v=require("../../../config-provider/hooks/use-namespace.js"),y=require("../../../config-provider/hooks/use-locale.js"),k=e.defineComponent({name:"ApFormSearchFormPopoverFilter",__name:"popover-filter",props:{config:{},onSubmit:{type:Function},submitLoading:{type:Boolean}},setup(c){const p=c,f=e.ref(),{e:n,b:i}=v.useNamespace("ap-form-search-form"),{t:s}=y.useLocale(),a=e.ref(!1),d=e.toRef(()=>p.config),{count:u}=C.useCollapseInputCount(d);function m(o){return o?.closest(".ant-form")||document.body}return(o,l)=>(e.openBlock(),e.createBlock(e.unref(t.Popover),{open:a.value,"onUpdate:open":l[1]||(l[1]=r=>a.value=r),"overlay-class-name":e.unref(n)("popover"),trigger:"click",placement:"bottom",mask:"","mask-style":{backgroundColor:"transparent"},"get-popup-container":m,"force-render":!0},{content:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass([e.unref(n)("popover-content")]),style:{paddingBottom:"4px",width:"825px"}},[e.createVNode(e.unref(t.Row),{gutter:8},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.config,r=>(e.openBlock(),e.createBlock(e.unref(t.Col),{key:r.key,span:8},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r.node)))]),_:2},1024))),128))]),_:1})],2),e.createVNode(e.unref(t.Divider),{style:{margin:"0"}}),e.createElementVNode("div",{class:e.normalizeClass(e.unref(n)("popover-footer"))},[e.createVNode(e.unref(t.Flex),{justify:"end"},{default:e.withCtx(()=>[e.createVNode(e.unref(t.Button),{onClick:l[0]||(l[0]=r=>a.value=!1)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("ap.common.cancelText")),1)]),_:1}),e.createVNode(e.unref(t.Button),{class:e.normalizeClass(e.unref(n)("popover-footer-confirm-btn")),type:"primary",loading:o.submitLoading,onClick:o.onSubmit},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("ap.apForm.search.search")),1)]),_:1},8,["class","loading","onClick"])]),_:1})],2)]),default:e.withCtx(()=>[e.createVNode(e.unref(t.Tooltip),{title:e.unref(s)("ap.apForm.search.moreFilter"),placement:"top"},{default:e.withCtx(()=>[e.createVNode(e.unref(t.Button),{ref_key:"triggerBtnRef",ref:f,class:e.normalizeClass([e.unref(i)("trigger-btn"),{[e.unref(i)("trigger-btn-active")]:a.value}])},{icon:e.withCtx(()=>[e.withDirectives(e.createElementVNode("sup",{class:e.normalizeClass(e.unref(i)("trigger-btn-badge"))},e.toDisplayString(e.unref(u)),3),[[e.vShow,e.unref(u)!==0]]),e.createVNode(e.unref(g.IconApFilterOutlined),{size:14})]),_:1},8,["class"])]),_:1},8,["title"])]),_:1},8,["open","overlay-class-name"]))}});exports.default=k;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t=require("@aplus-frontend/antdv"),C=require("@aplus-frontend/icon");require("../../../config-provider/index.js");const v=require("../hooks/use-collapse-input-count.js"),y=require("../../style/search-form.js"),h=require("../../../config-provider/hooks/use-namespace.js"),k=require("../../../config-provider/hooks/use-locale.js"),b=e.defineComponent({name:"ApFormSearchFormPopoverFilter",__name:"popover-filter",props:{config:{},onSubmit:{type:Function},submitLoading:{type:Boolean}},setup(i){const p=i,f=e.ref(),{e:n,b:l}=h.useNamespace("ap-form-search-form"),d=y.default("ap-form-search-form"),{t:c}=k.useLocale(),a=e.ref(!1),m=e.toRef(()=>p.config),{count:u}=v.useCollapseInputCount(m);function g(o){return o?.closest(".ant-form")||document.body}return(o,s)=>(e.openBlock(),e.createBlock(e.unref(t.Popover),{open:a.value,"onUpdate:open":s[1]||(s[1]=r=>a.value=r),"overlay-class-name":`${e.unref(n)("popover")} ${e.unref(d)}`,trigger:"click",placement:"bottom",mask:"","mask-style":{backgroundColor:"transparent"},"get-popup-container":g,"force-render":!0},{content:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass([e.unref(n)("popover-content")]),style:{paddingBottom:"4px",width:"825px"}},[e.createVNode(e.unref(t.Row),{gutter:8},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.config,r=>(e.openBlock(),e.createBlock(e.unref(t.Col),{key:r.key,span:8},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r.node)))]),_:2},1024))),128))]),_:1})],2),e.createVNode(e.unref(t.Divider),{style:{margin:"0"}}),e.createElementVNode("div",{class:e.normalizeClass(e.unref(n)("popover-footer"))},[e.createVNode(e.unref(t.Flex),{justify:"end"},{default:e.withCtx(()=>[e.createVNode(e.unref(t.Button),{onClick:s[0]||(s[0]=r=>a.value=!1)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(c)("ap.common.cancelText")),1)]),_:1}),e.createVNode(e.unref(t.Button),{class:e.normalizeClass(e.unref(n)("popover-footer-confirm-btn")),type:"primary",loading:o.submitLoading,onClick:o.onSubmit},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(c)("ap.apForm.search.search")),1)]),_:1},8,["class","loading","onClick"])]),_:1})],2)]),default:e.withCtx(()=>[e.createVNode(e.unref(t.Tooltip),{title:e.unref(c)("ap.apForm.search.moreFilter"),placement:"top"},{default:e.withCtx(()=>[e.createVNode(e.unref(t.Button),{ref_key:"triggerBtnRef",ref:f,class:e.normalizeClass([e.unref(l)("trigger-btn"),{[e.unref(l)("trigger-btn-active")]:a.value}])},{icon:e.withCtx(()=>[e.withDirectives(e.createElementVNode("sup",{class:e.normalizeClass(e.unref(l)("trigger-btn-badge"))},e.toDisplayString(e.unref(u)),3),[[e.vShow,e.unref(u)!==0]]),e.createVNode(e.unref(C.IconApFilterOutlined),{size:14})]),_:1},8,["class"])]),_:1},8,["title"])]),_:1},8,["open","overlay-class-name"]))}});exports.default=b;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("@aplus-frontend/antdv"),y=require("@aplus-frontend/icon");require("../../../../config-provider/index.js");const V=require("vuedraggable");require("./sortable-item.vue.js");const d=require("../../../../config-provider/hooks/use-namespace.js"),_=require("../../../../config-provider/hooks/use-locale.js"),b=require("./sortable-item.vue2.js"),x=e.defineComponent({name:"ApFormSearchFormPopoverSorter",__name:"index",props:{items:{},onClickConfirm:{type:Function},sorted:{type:Boolean}},setup(v,{expose:C}){const o=v,n=e.ref(o.items);let p=[...o.items],f=[...o.items];e.watch(()=>o.items,t=>{n.value=t,p=t,o.sorted||(f=t)});const{e:i,b:m}=d.useNamespace("ap-form-search-form"),{b:a}=d.useNamespace("search-form-sorter"),{t:s}=_.useLocale(),l=e.ref(!1);function h(t){return t.closest(".ant-form")||document.body}function g(){l.value=!1,p=[...e.unref(n)],o.onClickConfirm(e.unref(n))}function N(){n.value=[...f]}return e.watch(()=>l.value,t=>{t&&(n.value=[...p])}),C({getCachedList:()=>f}),(t,c)=>(e.openBlock(),e.createBlock(e.unref(r.Popover),{open:l.value,"onUpdate:open":c[1]||(c[1]=u=>l.value=u),"overlay-class-name":e.unref(i)("popover"),trigger:"click",placement:"bottom",mask:"","mask-style":{backgroundColor:"transparent"},"get-popup-container":h},{content:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(a)("header"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(a)("header-title"))},e.toDisplayString(e.unref(s)("ap.apForm.search.sorterTitle")),3),e.createVNode(e.unref(r.Flex),{justify:"space-between",align:"center"},{default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass(e.unref(a)("header-desc"))},e.toDisplayString(e.unref(s)("ap.apForm.search.sorterDesc")),3),e.createElementVNode("div",{class:e.normalizeClass(e.unref(a)("header-action-wrapper")),onClick:N},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(a)("header-reset-btn"))},e.toDisplayString(e.unref(s)("ap.apForm.search.sorterReset")),3)],2)]),_:1})],2),e.createElementVNode("div",{class:e.normalizeClass([e.unref(i)("popover-content"),e.unref(a)("content")])},[e.createVNode(e.unref(V),{list:n.value,class:e.normalizeClass(e.unref(a)("sorter-wrapper")),"item-key":"name"},{item:e.withCtx(({element:u})=>[e.createVNode(b.default,{item:u},null,8,["item"])]),_:1},8,["list","class"])],2),e.createVNode(e.unref(r.Divider),{style:{margin:"0"}}),e.createElementVNode("div",{class:e.normalizeClass(e.unref(i)("popover-footer"))},[e.createVNode(e.unref(r.Flex),{justify:"end"},{default:e.withCtx(()=>[e.createVNode(e.unref(r.Button),{onClick:c[0]||(c[0]=u=>l.value=!1)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("ap.common.cancelText")),1)]),_:1}),e.createVNode(e.unref(r.Button),{class:e.normalizeClass(e.unref(i)("popover-footer-confirm-btn")),type:"primary",onClick:g},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("ap.apForm.search.sorterConfirmBtn")),1)]),_:1},8,["class"])]),_:1})],2)]),default:e.withCtx(()=>[e.createVNode(e.unref(r.Tooltip),{title:e.unref(s)("ap.apForm.search.sorterTitle"),placement:"top"},{default:e.withCtx(()=>[e.createVNode(e.unref(r.Button),{class:e.normalizeClass([e.unref(m)("trigger-btn"),{[e.unref(m)("trigger-btn-active")]:l.value}])},{icon:e.withCtx(()=>[e.createVNode(e.unref(y.IconApLayoutOutlined),{size:14})]),_:1},8,["class"])]),_:1},8,["title"])]),_:1},8,["open","overlay-class-name"]))}});exports.default=x;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),a=require("@aplus-frontend/antdv"),V=require("@aplus-frontend/icon");require("../../../../config-provider/index.js");const _=require("vuedraggable");require("./sortable-item.vue.js");const b=require("../../../style/search-form-sorter.js"),d=require("../../../../config-provider/hooks/use-namespace.js"),x=require("../../../../config-provider/hooks/use-locale.js"),w=require("./sortable-item.vue2.js"),k=e.defineComponent({name:"ApFormSearchFormPopoverSorter",__name:"index",props:{items:{},onClickConfirm:{type:Function},sorted:{type:Boolean}},setup(v,{expose:C}){const o=v,n=e.ref(o.items);let p=[...o.items],f=[...o.items];e.watch(()=>o.items,r=>{n.value=r,p=r,o.sorted||(f=r)});const h=b.default("search-form-sorter"),{e:c,b:m}=d.useNamespace("ap-form-search-form"),{b:t}=d.useNamespace("search-form-sorter"),{t:s}=x.useLocale(),l=e.ref(!1);function g(r){return r.closest(".ant-form")||document.body}function N(){l.value=!1,p=[...e.unref(n)],o.onClickConfirm(e.unref(n))}function y(){n.value=[...f]}return e.watch(()=>l.value,r=>{r&&(n.value=[...p])}),C({getCachedList:()=>f}),(r,i)=>(e.openBlock(),e.createBlock(e.unref(a.Popover),{open:l.value,"onUpdate:open":i[1]||(i[1]=u=>l.value=u),"overlay-class-name":`${e.unref(t)()} ${e.unref(c)("popover")} ${e.unref(h)}`,trigger:"click",placement:"bottom",mask:"","mask-style":{backgroundColor:"transparent"},"get-popup-container":g},{content:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(t)("header"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(t)("header-title"))},e.toDisplayString(e.unref(s)("ap.apForm.search.sorterTitle")),3),e.createVNode(e.unref(a.Flex),{justify:"space-between",align:"center"},{default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass(e.unref(t)("header-desc"))},e.toDisplayString(e.unref(s)("ap.apForm.search.sorterDesc")),3),e.createElementVNode("div",{class:e.normalizeClass(e.unref(t)("header-action-wrapper")),onClick:y},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(t)("header-reset-btn"))},e.toDisplayString(e.unref(s)("ap.apForm.search.sorterReset")),3)],2)]),_:1})],2),e.createElementVNode("div",{class:e.normalizeClass([e.unref(c)("popover-content"),e.unref(t)("content")])},[e.createVNode(e.unref(_),{list:n.value,class:e.normalizeClass(e.unref(t)("sorter-wrapper")),"item-key":"name"},{item:e.withCtx(({element:u})=>[e.createVNode(w.default,{item:u},null,8,["item"])]),_:1},8,["list","class"])],2),e.createVNode(e.unref(a.Divider),{style:{margin:"0"}}),e.createElementVNode("div",{class:e.normalizeClass(e.unref(c)("popover-footer"))},[e.createVNode(e.unref(a.Flex),{justify:"end"},{default:e.withCtx(()=>[e.createVNode(e.unref(a.Button),{onClick:i[0]||(i[0]=u=>l.value=!1)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("ap.common.cancelText")),1)]),_:1}),e.createVNode(e.unref(a.Button),{class:e.normalizeClass(e.unref(c)("popover-footer-confirm-btn")),type:"primary",onClick:N},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("ap.apForm.search.sorterConfirmBtn")),1)]),_:1},8,["class"])]),_:1})],2)]),default:e.withCtx(()=>[e.createVNode(e.unref(a.Tooltip),{title:e.unref(s)("ap.apForm.search.sorterTitle"),placement:"top"},{default:e.withCtx(()=>[e.createVNode(e.unref(a.Button),{class:e.normalizeClass([e.unref(m)("trigger-btn"),{[e.unref(m)("trigger-btn-active")]:l.value}])},{icon:e.withCtx(()=>[e.createVNode(e.unref(V.IconApLayoutOutlined),{size:14})]),_:1},8,["class"])]),_:1},8,["title"])]),_:1},8,["open","overlay-class-name"]))}});exports.default=k;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("@aplus-frontend/antdv");require("../ap-form.vue.js");require("../item/index.vue2.js");const W=require("../item-group/helper.js");require("../../config-provider/index.js");const S=require("lodash-unified"),D=require("../../utils/index.js"),F=require("./utils.js");require("./components/popover-filter.vue.js");const X=require("./hooks/use-count-per-row.js");require("./components/popover-sorter/index.vue.js");const Y=require("./hooks/use-sorter.js"),Z=require("./hooks/use-collapse-input-count.js"),O=require("@fruits-chain/utils"),ee=require("../../utils/warning.js"),te=require("../../config-provider/hooks/use-namespace.js"),ne=require("../../config-provider/hooks/use-locale.js"),z=require("../item/index.vue.js"),oe=require("./components/popover-filter.vue2.js"),ae=require("./components/popover-sorter/index.vue2.js"),re=require("../ap-form.vue2.js");function le(d){return typeof d=="function"||Object.prototype.toString.call(d)==="[object Object]"&&!e.isVNode(d)}const l=100,se=e.defineComponent({name:"ApFormSearchForm",__name:"index",props:{layout:{default:"horizontal"},labelCol:{},wrapperCol:{},colon:{type:Boolean,default:!0},labelAlign:{default:"right"},labelWrap:{type:Boolean},prefixCls:{},requiredMark:{},hideRequiredMark:{type:Boolean,default:!1},rules:{},validateMessages:{},validateOnRuleChange:{type:Boolean,default:!0},scrollToFirstError:{},onSubmit:{},name:{},validateTrigger:{default:"change"},size:{},disabled:{type:Boolean},onFieldsChange:{},onFinish:{},onFinishFailed:{},onValidate:{},variant:{},initialValues:{},onValuesChange:{},syncToUrl:{type:[Boolean,Function]},syncToUrlPriority:{type:Boolean},collapse:{type:Boolean,default:void 0},defaultCollapse:{type:Boolean,default:!0},"onUpdate:collapse":{},searchText:{},resetText:{},onReset:{},customReset:{type:Boolean,default:!1},extraInAction:{type:Boolean,default:!1},forceExpand:{type:Boolean,default:!1},countPerRow:{default:5},submitLoading:{type:Boolean},maxRows:{default:2},sortable:{type:Boolean,default:!0},resizeTarget:{},resize:{},loadingDelay:{default:300}},setup(d,{expose:L}){const g=e.useSlots(),n=d;ee.useDevWarning("SearchForm").deprecated(typeof n.resizeTarget<"u","resizeTarget","resize.target");const{b:p}=te.useNamespace("ap-form-search-form"),{t:R}=ne.useLocale(),x=e.ref(),B=e.ref(),j=X.useCountPerRow(n,B),b=e.ref();function k(){const t=x.value?.getFieldsValueTransformed(!0);F.execFunc(n.onSubmit,t)}function $(){n.customReset||x.value?.resetFields?.(),F.execFunc(n.onReset)}const M=t=>D.isDef(t)?(S.isArray(t)?t:[t]).join(""):Date.now();let q=[];const f=e.shallowRef(W.genRealChildren(g.default())),c=e.shallowRef(g.extra?.()),V=e.computed(()=>O.floorWith(l/e.unref(j),4)),{items:v,sorted:A,handleClickConfirm:C}=Y.useSorter(f);e.watch(()=>g.default(),t=>{q=f.value,f.value=F.diffFormItem(q,W.genRealChildren(t)),A.value=!1}),e.watch(()=>g.extra?.(),t=>{c.value=t});function U(t){return O.floorWith(t*(l/24),4)}const o=e.computed(()=>{const t=f.value,i=[],a=[],h=[],s=e.unref(V);let y=0,N=0;const J=l*n.maxRows-s*(e.unref(c)&&!n.extraInAction?2:1);t.forEach(w=>{const T=Z.getTargetNode(w);if(!T)return;const u=T.props;if(S.isBoolean(u.hidden)?!!u.hidden:D.isDef(u.hidden))i.push(w);else{let _=u.span?U(u.span):s;const P={node:w,span:_,key:`ApFormSearchFormItem-${M(u.name)}-${u._signal}`},E=l-y%l;E<_&&(_+=E),y+=_,y>J?a.push(P):(N=y,h.push(P))}});const I=l-(N+s)%l,K=Math.ceil(N)%l<s,Q=I<s?l:I;return{hideNode:e.createVNode(e.Fragment,null,[i]),nodes:h,collapseNodes:a,extraSpan:Q,lastRowOnlyIncludeActionAndExtra:K}}),m=t=>`${t}%`,H=e.computed(()=>{let t;const i=o.value.collapseNodes.length||n.sortable&&f.value.length,a=e.createVNode(r.Col,{flex:m(e.unref(V)),key:"actionWrapper"},{default:()=>[e.createVNode(z.default,null,{default:()=>[e.createVNode(r.Flex,{wrap:"wrap",justify:o.value.lastRowOnlyIncludeActionAndExtra&&!(e.unref(c)&&n.extraInAction)?"flex-end":"space-between"},{default:()=>[e.createVNode(r.Flex,{gap:8,wrap:"wrap"},{default:()=>[i?e.createVNode("div",{class:p("column-setting-trigger-wrapper")},[o.value.collapseNodes.length?e.createVNode(oe.default,{onSubmit:k,config:o.value.collapseNodes,submitLoading:n.submitLoading},null):null,n.sortable&&v.value.length?e.createVNode(ae.default,{ref:b,items:v.value,onClickConfirm:C,sorted:A.value},null):null]):null,e.createVNode(r.Button,{type:"primary",onClick:k,loading:n.submitLoading?{delay:n.loadingDelay}:!1,htmlType:"submit",class:p("action-btn")},{default:()=>[n.searchText||R("ap.apForm.search.search")]}),e.createVNode(r.Button,{onClick:$,type:"text",class:[p("action-btn"),p("action-btn-reset")]},{default:()=>[n.resetText||R("ap.apForm.search.reset")]})]}),n.extraInAction?e.unref(c):null]})]})]}),h=!n.extraInAction&&e.unref(c)?e.createVNode(r.Col,{flex:m(o.value.extraSpan),key:"extraNode"},{default:()=>[e.createVNode(z.default,null,{default:()=>[e.createVNode(r.Flex,{justify:o.value.extraSpan===l||o.value.lastRowOnlyIncludeActionAndExtra?"start":"flex-end"},le(t=e.unref(c))?t:{default:()=>[t]})]})]}):null,s=e.createVNode(r.Col,{flex:m(o.value.extraSpan)},null);return o.value.lastRowOnlyIncludeActionAndExtra?e.createVNode(e.Fragment,null,[h||s,a]):e.createVNode(e.Fragment,null,[a,h])});function G(){const t=b.value?.getCachedList();C(t)}return L({apForm:e.computed(()=>e.unref(x)),getSorterItems:()=>v.value,setSorterItems:C,resetSorterItems:G}),(t,i)=>(e.openBlock(),e.createBlock(re.default,e.mergeProps({ref_key:"apForm",ref:x,class:e.unref(p)()},e.unref(S.omit)(n,["collapse","defaultCollapse","onUpdate:collapse","searchText","resetText","onSubmit","onReset","extraInAction","forceExpand","countPerRow"])),{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.value.hideNode))),e.createVNode(e.unref(r.Row),{ref_key:"contentWrapperRef",ref:B,gutter:8},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value.nodes,a=>(e.openBlock(),e.createBlock(e.unref(r.Col),{key:a.key,flex:m(a.span),style:e.normalizeStyle({maxWidth:m(a.span)})},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.node)))]),_:2},1032,["flex","style"]))),128)),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(H.value)))]),_:1},512)]),_:1},16,["class"]))}});exports.default=se;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("@aplus-frontend/antdv");require("../ap-form.vue.js");require("../item/index.vue2.js");const W=require("../item-group/helper.js");require("../../config-provider/index.js");const S=require("lodash-unified"),D=require("../../utils/index.js"),F=require("./utils.js");require("./components/popover-filter.vue.js");const Y=require("./hooks/use-count-per-row.js");require("./components/popover-sorter/index.vue.js");const Z=require("./hooks/use-sorter.js"),ee=require("./hooks/use-collapse-input-count.js"),O=require("@fruits-chain/utils"),te=require("../../utils/warning.js"),oe=require("../style/search-form.js"),ne=require("../../config-provider/hooks/use-namespace.js"),ae=require("../../config-provider/hooks/use-locale.js"),z=require("../item/index.vue.js"),re=require("./components/popover-filter.vue2.js"),le=require("./components/popover-sorter/index.vue2.js"),se=require("../ap-form.vue2.js");function ue(d){return typeof d=="function"||Object.prototype.toString.call(d)==="[object Object]"&&!e.isVNode(d)}const l=100,ce=e.defineComponent({name:"ApFormSearchForm",__name:"index",props:{layout:{default:"horizontal"},labelCol:{},wrapperCol:{},colon:{type:Boolean,default:!0},labelAlign:{default:"right"},labelWrap:{type:Boolean},prefixCls:{},requiredMark:{},hideRequiredMark:{type:Boolean,default:!1},rules:{},validateMessages:{},validateOnRuleChange:{type:Boolean,default:!0},scrollToFirstError:{},onSubmit:{},name:{},validateTrigger:{default:"change"},size:{},disabled:{type:Boolean},onFieldsChange:{},onFinish:{},onFinishFailed:{},onValidate:{},variant:{},initialValues:{},onValuesChange:{},syncToUrl:{type:[Boolean,Function]},syncToUrlPriority:{type:Boolean},collapse:{type:Boolean,default:void 0},defaultCollapse:{type:Boolean,default:!0},"onUpdate:collapse":{},searchText:{},resetText:{},onReset:{},customReset:{type:Boolean,default:!1},extraInAction:{type:Boolean,default:!1},forceExpand:{type:Boolean,default:!1},countPerRow:{default:5},submitLoading:{type:Boolean},maxRows:{default:2},sortable:{type:Boolean,default:!0},resizeTarget:{},resize:{},loadingDelay:{default:300}},setup(d,{expose:L}){const g=e.useSlots(),o=d;te.useDevWarning("SearchForm").deprecated(typeof o.resizeTarget<"u","resizeTarget","resize.target");const j=oe.default("ap-form-search-form"),{b:p}=ne.useNamespace("ap-form-search-form"),{t:R}=ae.useLocale(),x=e.ref(),B=e.ref(),$=Y.useCountPerRow(o,B),b=e.ref();function k(){const t=x.value?.getFieldsValueTransformed(!0);F.execFunc(o.onSubmit,t)}function M(){o.customReset||x.value?.resetFields?.(),F.execFunc(o.onReset)}const U=t=>D.isDef(t)?(S.isArray(t)?t:[t]).join(""):Date.now();let q=[];const f=e.shallowRef(W.genRealChildren(g.default())),c=e.shallowRef(g.extra?.()),V=e.computed(()=>O.floorWith(l/e.unref($),4)),{items:v,sorted:A,handleClickConfirm:C}=Z.useSorter(f);e.watch(()=>g.default(),t=>{q=f.value,f.value=F.diffFormItem(q,W.genRealChildren(t)),A.value=!1}),e.watch(()=>g.extra?.(),t=>{c.value=t});function H(t){return O.floorWith(t*(l/24),4)}const n=e.computed(()=>{const t=f.value,i=[],a=[],h=[],s=e.unref(V);let y=0,N=0;const K=l*o.maxRows-s*(e.unref(c)&&!o.extraInAction?2:1);t.forEach(w=>{const T=ee.getTargetNode(w);if(!T)return;const u=T.props;if(S.isBoolean(u.hidden)?!!u.hidden:D.isDef(u.hidden))i.push(w);else{let _=u.span?H(u.span):s;const P={node:w,span:_,key:`ApFormSearchFormItem-${U(u.name)}-${u._signal}`},E=l-y%l;E<_&&(_+=E),y+=_,y>K?a.push(P):(N=y,h.push(P))}});const I=l-(N+s)%l,Q=Math.ceil(N)%l<s,X=I<s?l:I;return{hideNode:e.createVNode(e.Fragment,null,[i]),nodes:h,collapseNodes:a,extraSpan:X,lastRowOnlyIncludeActionAndExtra:Q}}),m=t=>`${t}%`,G=e.computed(()=>{let t;const i=n.value.collapseNodes.length||o.sortable&&f.value.length,a=e.createVNode(r.Col,{flex:m(e.unref(V)),key:"actionWrapper"},{default:()=>[e.createVNode(z.default,null,{default:()=>[e.createVNode(r.Flex,{wrap:"wrap",justify:n.value.lastRowOnlyIncludeActionAndExtra&&!(e.unref(c)&&o.extraInAction)?"flex-end":"space-between"},{default:()=>[e.createVNode(r.Flex,{gap:8,wrap:"wrap"},{default:()=>[i?e.createVNode("div",{class:p("column-setting-trigger-wrapper")},[n.value.collapseNodes.length?e.createVNode(re.default,{onSubmit:k,config:n.value.collapseNodes,submitLoading:o.submitLoading},null):null,o.sortable&&v.value.length?e.createVNode(le.default,{ref:b,items:v.value,onClickConfirm:C,sorted:A.value},null):null]):null,e.createVNode(r.Button,{type:"primary",onClick:k,loading:o.submitLoading?{delay:o.loadingDelay}:!1,htmlType:"submit",class:p("action-btn")},{default:()=>[o.searchText||R("ap.apForm.search.search")]}),e.createVNode(r.Button,{onClick:M,type:"text",class:[p("action-btn"),p("action-btn-reset")]},{default:()=>[o.resetText||R("ap.apForm.search.reset")]})]}),o.extraInAction?e.unref(c):null]})]})]}),h=!o.extraInAction&&e.unref(c)?e.createVNode(r.Col,{flex:m(n.value.extraSpan),key:"extraNode"},{default:()=>[e.createVNode(z.default,null,{default:()=>[e.createVNode(r.Flex,{justify:n.value.extraSpan===l||n.value.lastRowOnlyIncludeActionAndExtra?"start":"flex-end"},ue(t=e.unref(c))?t:{default:()=>[t]})]})]}):null,s=e.createVNode(r.Col,{flex:m(n.value.extraSpan)},null);return n.value.lastRowOnlyIncludeActionAndExtra?e.createVNode(e.Fragment,null,[h||s,a]):e.createVNode(e.Fragment,null,[a,h])});function J(){const t=b.value?.getCachedList();C(t)}return L({apForm:e.computed(()=>e.unref(x)),getSorterItems:()=>v.value,setSorterItems:C,resetSorterItems:J}),(t,i)=>(e.openBlock(),e.createBlock(se.default,e.mergeProps({ref_key:"apForm",ref:x,class:[e.unref(p)(),e.unref(j)]},e.unref(S.omit)(o,["collapse","defaultCollapse","onUpdate:collapse","searchText","resetText","onSubmit","onReset","extraInAction","forceExpand","countPerRow"])),{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.value.hideNode))),e.createVNode(e.unref(r.Row),{ref_key:"contentWrapperRef",ref:B,gutter:8},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.value.nodes,a=>(e.openBlock(),e.createBlock(e.unref(r.Col),{key:a.key,flex:m(a.span),style:e.normalizeStyle({maxWidth:m(a.span)})},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.node)))]),_:2},1032,["flex","style"]))),128)),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(G.value)))]),_:1},512)]),_:1},16,["class"]))}});exports.default=ce;
@@ -0,0 +1,5 @@
1
+ import { GenStyleFunc } from '../../design-token/interface';
2
+ import { Ref } from 'vue';
3
+ export declare const genDrawerFormStyle: GenStyleFunc;
4
+ declare const _default: (prefixCls: string) => Ref<string | undefined, string | undefined>;
5
+ export default _default;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("../../utils/cssinjs/index.js"),o=e=>{const{componentCls:r}=e;return{[r]:{[`${r}__resize-bar`]:{width:"4px",cursor:"ew-resize",position:"absolute",top:0,left:0,bottom:0,zIndex:100,backgroundColor:"transparent","&--min-disabled":{cursor:"w-resize"},"&--max-disabled":{cursor:"e-resize"}}}}},n=t.genComponentStyleHook("ApForm.DrawerForm",e=>[o(e)]);exports.default=n;exports.genDrawerFormStyle=o;
@@ -0,0 +1,5 @@
1
+ import { GenStyleFunc } from '../../design-token/interface';
2
+ import { Ref } from 'vue';
3
+ export declare const genItemGroupStyle: GenStyleFunc;
4
+ declare const _default: (prefixCls: string) => Ref<string | undefined, string | undefined>;
5
+ export default _default;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("../../utils/cssinjs/index.js"),n=e=>{const{componentCls:t}=e;return{[t]:{".ant-form-item-control":{".ant-picker":{display:"flex"},".ant-input-number":{width:"100%"}},[`${t}-col-hidden`]:{display:"none !important"}}}},r=o.genComponentStyleHook("ApForm.ItemGroup",e=>[n(e)]);exports.default=r;exports.genItemGroupStyle=n;
@@ -0,0 +1,5 @@
1
+ import { GenStyleFunc } from '../../design-token/interface';
2
+ import { Ref } from 'vue';
3
+ export declare const genFormItemTextGroupStyle: GenStyleFunc;
4
+ declare const _default: (prefixCls: string) => Ref<string | undefined, string | undefined>;
5
+ export default _default;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("../../utils/cssinjs/index.js"),e=t=>({[t.componentCls]:{"&-compact":{".ant-select":{"&-focused":{zIndex:1},"&:hover":{zIndex:1}},".ant-picker":{"&-focused":{zIndex:1},"&:hover":{zIndex:1}},".ant-input-number":{"&-focused":{zIndex:1},"&:hover":{zIndex:1}},".ant-form-item:first-child":{".ant-form-item-control-input-content > :first-child, .ant-select-selector":{borderStartEndRadius:0,borderEndEndRadius:0},".ant-form-item-control-input-content > .ant-input-group > :last-child, .ant-select-selector":{borderStartEndRadius:0,borderEndEndRadius:0}},".ant-form-item:last-child":{".ant-form-item-control-input-content > :first-child, .ant-select-selector":{borderStartStartRadius:0,borderEndStartRadius:0},".ant-form-item-control-input-content > .ant-input-group > :first-child, .ant-select-selector":{borderStartStartRadius:0,borderEndStartRadius:0}},".ant-form-item:not(:first-child):not(:last-child)":{".ant-form-item-control-input-content > :first-child, .ant-select-selector":{borderRadius:0},".ant-form-item-control-input-content > .ant-input-group > *, .ant-select-selector":{borderRadius:0}},".ant-input-group-addon:first-child":{borderRadius:0}}},".ant-form-vertical .ant-input-group.ant-input-group-compact > *":{verticalAlign:"bottom"}}),r=n.genComponentStyleHook("ApForm.ItemTextGroup",t=>[e(t)]);exports.default=r;exports.genFormItemTextGroupStyle=e;
@@ -0,0 +1,6 @@
1
+ import { GenStyleFunc } from '../../design-token/interface';
2
+ import { ApFormToken } from './token';
3
+ import { Ref } from 'vue';
4
+ export declare const genApFormItemStyle: GenStyleFunc<ApFormToken>;
5
+ declare const _default: (prefixCls: string) => Ref<string | undefined, string | undefined>;
6
+ export default _default;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("../../utils/cssinjs/index.js"),t=e=>{const{componentCls:a,namespace:n}=e;return{[a]:{"&--bordered":{boxSizing:"border-box",border:`1px solid ${e.borderColorBase}`,borderRadius:e.borderRadius,paddingInline:e.space,".ant-input-affix-wrapper":{padding:0},[`&:has(.${n}-batch-input-group):has(.ant-select)`]:{".ant-input-affix-wrapper":{paddingInlineEnd:e.space}},"&:has(textarea.ant-input)":{paddingInlineEnd:0,".ant-input":{paddingInlineStart:0}},".ant-picker":{padding:0},".ant-form-item-control-input-content":{"& > .ant-input-group":{"& > .ant-picker-range:nth-child(1)":{".ant-picker-clear":{insetInlineEnd:0}}}},".ant-space-compact-block":{".ant-input":{paddingInlineStart:e.space}},".ant-select-selector":{borderWidth:"0 !important",boxShadow:"none !important"},".ant-select-single .ant-select-selector":{height:"30px !important"},"input.ant-input-number-input":{paddingInlineStart:0},"&:has(.ant-input-number)":{paddingInlineEnd:0},"&:has(.ant-select)":{paddingInlineEnd:0,".ant-form-item-label > label":{paddingInlineEnd:e.spaceXS}},"div.ant-form-item-control":{flex:"1 1 0",minWidth:0},".ant-form-item-label > label":{paddingRight:e.spaceLG,height:"30px","&::after":{margin:0}},".ant-form-item-control-input":{minHeight:"30px",".ant-select-single":{height:"unset"}},"&:hover":{borderColor:e.hoverColorBase},"&:focus":{borderColor:e.activeColorBase,boxShadow:`0 0 0 2px ${e.apFormBorderedShadowColor}`},[`.${n}-batch-input-group-popover-input__popover`]:{width:"calc(100% + 12px)"}},"&--disabled":{backgroundColor:e.colorBgDisabled,".ant-select-selector":{backgroundColor:"transparent !important"}},"&--focused":{borderColor:e.activeColorBase,boxShadow:`0 0 0 2px ${e.apFormBorderedShadowColor}`},".ant-form-show-help":{".ant-form-item-explain-error":{fontsize:e.fontSize,lineHeight:"16px"}},".ant-col .ant-form-item-extra":{lineHeight:"22px",minHeight:"unset",marginBlockStart:"4px",marginBlockEnd:"12px"},".ant-input-group":{".ant-picker:only-child":{width:"100%"},".ant-select + .ant-picker":{paddingInline:e.space,flex:1}}}}},o=r.genComponentStyleHook("ApForm",e=>[t(e)],{apFormBorderedShadowColor:"rgba(5, 155, 255, 0.1)"});exports.default=o;exports.genApFormItemStyle=t;
@@ -0,0 +1,5 @@
1
+ import { GenStyleFunc } from '../../design-token/interface';
2
+ import { Ref } from 'vue';
3
+ export declare const genModalFormStyle: GenStyleFunc;
4
+ declare const _default: (prefixCls: string) => Ref<string | undefined, string | undefined>;
5
+ export default _default;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("../../utils/cssinjs/index.js"),t=e=>{const{componentCls:o}=e;return{[o]:{".ant-modal-content":{padding:0},".ant-modal-header":{padding:"15px 20px",borderBottom:"1px solid #E9EDF3",marginBottom:0},[`${o}__content`]:{padding:"20px 20px 0px"},[`${o}__footer`]:{padding:"12px 20px"},[`${o}__footer-admin`]:{borderTop:"1px solid #E9EDF3"},".ant-modal-close":{top:"16px"}}}},d=n.genComponentStyleHook("ApForm.Modal",e=>[t(e)]);exports.default=d;exports.genModalFormStyle=t;
@@ -0,0 +1,5 @@
1
+ import { GenStyleFunc } from '../../design-token/interface';
2
+ import { Ref } from 'vue';
3
+ export declare const genSearchFormSorter: GenStyleFunc;
4
+ declare const _default: (prefixCls: string) => Ref<string | undefined, string | undefined>;
5
+ export default _default;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("../../style/index.js"),i=require("../../utils/cssinjs/index.js"),a=require("./search-form.js"),t=r=>{const{componentCls:e}=r;return{[e]:{[`${e}-content`]:{width:"560px"},[`${e}-header`]:{padding:`${r.spaceXL} ${r.spaceXL} 0px`,"&-title":{...o.resetComponent(r),color:r.textColor2,fontWeight:700,display:"inline-block",paddingBottom:r.spaceXS},"&-desc":{...o.resetComponent(r),color:r.textColor3},"&-action-wrapper":{padding:r.space,margin:`calc(-${r.space})`,cursor:"pointer"},"&-reset-btn":{...o.resetComponent(r),color:r.colorLink}},[`${e}-sorter-wrapper`]:{display:"flex",flexDirection:"row",flexWrap:"wrap",marginInlineStart:"-4px",marginInlineEnd:"-4px",rowGap:"8px"},[`${e}-sorter-item`]:{flex:"0 0 33.333333%",maxWidth:"33.333333%",paddingInline:r.spaceXS,"> div":{border:`1px solid ${r.colorBg1}`,borderRadius:r.borderRadius,padding:"8px",display:"flex",alignItems:"center",backgroundColor:"#fff","&:hover":{borderColor:r.colorPrimary,cursor:"pointer",[`${r.componentCls}-sorter-sorter-item-holder`]:{color:`${r.colorPrimary} !important`}}},"&--hidden":{display:"none"}},[`${e}-sorter-item-text`]:{...o.resetComponent(r),paddingInlineStart:r.spaceXS,color:r.textColor2,maxWidth:"100%",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}},...a.genPopoverStyle(r)}},l=i.genComponentStyleHook("ApForm.SearchFormSorter",r=>[t(r)]);exports.default=l;exports.genSearchFormSorter=t;
@@ -0,0 +1,6 @@
1
+ import { GenStyleFunc, StyleMixin } from '../../design-token/interface';
2
+ import { Ref } from 'vue';
3
+ export declare const genPopoverStyle: StyleMixin;
4
+ export declare const genSearchFormStyle: GenStyleFunc;
5
+ declare const _default: (prefixCls: string) => Ref<string | undefined, string | undefined>;
6
+ export default _default;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("../../utils/cssinjs/index.js"),n=e=>{const{namespace:o}=e,r=`.${o}-ap-form-search-form__popover`;return{[r]:{".ant-form-item":{marginBlockEnd:e.space},".ant-popover-arrow":{display:"none"},".ant-popover-inner":{padding:0},[`${r}-content`]:{padding:`${e.spaceLG} ${e.spaceXL} ${e.spaceXL}`,textarea:{padding:0}},[`${r}-footer`]:{padding:`${e.spaceLG} ${e.spaceXL}`,"&-confirm-btn":{marginLeft:"10px"},"& button.ant-btn":{paddingInline:e.spaceXL}}}}},t=e=>{const{componentCls:o}=e;return{[o]:{".ant-form-item":{marginBlockEnd:e.space},".ant-form-item-control":{".ant-picker":{display:"flex"},".ant-input-number":{width:"100%"}},[`${o}-trigger-btn`]:{fontSize:0,"&-active":{color:e.hoverColorBase,borderColor:e.hoverColorBase,zIndex:1},"&-badge":{display:"inline-block",padding:e.spaceXXS,minWidth:"14px",height:"14px",backgroundColor:e.colorPrimary,fontSize:"10px",lineHeight:1,borderRadius:"7px",color:"#fff",position:"absolute",top:0,left:0,transform:"translate(-50%, -50%)",boxShadow:"0 0 0 1px #fff"}},[`${o}-column-setting-trigger-wrapper`]:{flexShrink:0,".ant-btn:not(:only-child)":{"&:first-child":{borderTopRightRadius:0,borderBottomRightRadius:0,"&:hover":{zIndex:1}},"&:last-child":{borderTopLeftRadius:0,borderBottomLeftRadius:0,marginLeft:"-1px","&:hover":{zIndex:1}}}},[`${o}-action-btn`]:{paddingInline:e.spaceLG},[`${o}-action-btn-reset`]:{backgroundColor:e.colorBg1}},...n(e)}},i=a.genComponentStyleHook("ApForm.SearchForm",e=>[t(e)]);exports.default=i;exports.genPopoverStyle=n;exports.genSearchFormStyle=t;
@@ -0,0 +1,3 @@
1
+ export type ApFormToken = {
2
+ apFormBorderedShadowColor: string;
3
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),p=require("../../ap-form/index.js"),f=require("lodash-unified");require("../../config-provider/index.js");const g=require("../../utils/index.js"),L=require("../hooks/use-editable-columns.js");require("../index.vue2.js");const T=require("../../ap-form/context.js"),V=require("../../ap-form/utils/get.js"),j=require("../../utils/warning.js"),O=require("../../config-provider/hooks/use-namespace.js"),P=require("../../config-provider/hooks/use-global-config.js"),G=require("../index.vue.js"),z=t.defineComponent({name:"EditableGridFormItem",__name:"form-item",props:{dropdownPrefixCls:{},bordered:{type:Boolean,default:!1},locale:{},onResizeColumn:{},getPopupContainer:{},scroll:{},sortDirections:{default:()=>["ascend","descend"]},showSorterTooltip:{type:[Boolean,Object],default:!0},prefixCls:{},tableLayout:{default:"fixed"},title:{},id:{},showHeader:{type:Boolean,default:!0},components:{},customRow:{},customHeaderRow:{},direction:{},expandFixed:{type:[String,Boolean],default:!1},expandColumnWidth:{},expandedRowKeys:{},defaultExpandedRowKeys:{},expandedRowRender:{},expandRowByClick:{type:Boolean,default:!1},expandIcon:{},onExpand:{},onExpandedRowsChange:{},defaultExpandAllRows:{type:Boolean,default:!1},indentSize:{default:15},expandIconColumnIndex:{},showExpandColumn:{type:Boolean,default:!0},expandedRowClassName:{},childrenColumnName:{default:"children"},rowExpandable:{},sticky:{type:[Boolean,Object],default:!1},transformCellText:{},rowClassName:{},stripe:{type:Boolean},headerRowClassName:{},footerRowClassName:{},cellClassName:{},headerCellClassName:{},footerCellClassName:{},rowStyle:{},headerRowStyle:{},footerRowStyle:{},cellStyle:{},headerCellStyle:{},footerCellStyle:{},height:{},minHeight:{},maxHeight:{},mergeCells:{},mergeFooterItems:{},cellConfig:{},loading:{type:Boolean,default:void 0},loadingConfig:{},headerCellConfig:{},footerCellConfig:{},round:{type:Boolean},rowSelection:{type:Boolean,default:void 0},onLoadingChange:{},onShownColumnsChange:{},pagination:{type:[Boolean,Object],default:!1},searchFormWrapperStyle:{},tableWrapperStyle:{},wrapperStyle:{},size:{default:"mini"},adaptive:{type:Boolean,default:!1},columnResizable:{type:[Boolean,Object],default:!1},rowKey:{default:"key"},footer:{},virtual:{type:[Boolean,Object],default:void 0},expandable:{},value:{},rowHighlightable:{type:[Boolean,Function]},treeConfig:{},onReady:{},columns:{},defaultValue:{},"onUpdate:value":{},onChange:{},maxLength:{},onFieldChange:{},label:{},name:{},formItem:{default:()=>({})}},setup(h,{expose:y}){const C=t.useSlots(),o=h;j.useDevWarning("EditableGridFormItem")(!1,"breaking","EditableGridFormItem has been EOL, Please use EditableAgGridFormItem(https://aplus.aplnk.com/aplus-ui/components/ag-grid/editable/) instead.");const{b}=O.useNamespace("editable-grid"),{internalInstance:u,model:w}=T.useInjectForm(),c=t.toRef(o.name),i=t.ref(V.getModelValue(t.unref(w),c.value)||[]),x=p.ApForm.useWatch(c);t.watch(()=>x.value,async e=>{await t.nextTick(),i.value=e,o.onChange?.(e)},{deep:!0});const m=t.ref(),R=P.useGlobalConfig("valueTypeMap"),v=L.useGetEditableColumns(o,R);function B(e,l){const s=t.unref(i)?.length||0;if(g.isDef(o.maxLength)&&s>=o.maxLength)return;const a={...e||{}};u?.setFieldValue(o.name,a,!0,(n,r)=>{if(!n[r]){n[r]=[a];return}f.isUndefined(l)?n[r].push(a):n[r].splice(l,0,a)})}function S(e,l="suffix"){const s=t.unref(i)?.length||0,a=f.isNumber(e)?e:e.length;if(g.isDef(o.maxLength)&&s+a>o.maxLength)return;const n=f.isNumber(e)?new Array(e).fill(0).map(()=>({})):f.cloneDeep(e);u?.setFieldValue(o.name,n,!0,(r,d)=>{if(!r[d]){r[d]=[...n];return}l==="suffix"?r[d].push(...n):r[d].unshift(...n)})}function F(e){const l=new Set(f.isNumber(e)?[e]:e);u?.setFieldValue(o.name,void 0,!0,(s,a)=>{s[a]=s[a].filter((n,r)=>!l.has(r))})}function N(e){const l=new Set(f.isArray(e)?e:[e]);l.size!==0&&u?.setFieldValue?.(o.name,void 0,!0,(s,a)=>{s[a]=s[a].filter(n=>!l.has(n[o.rowKey]))})}function _(){return t.unref(i)}function I(e){return t.unref(i)?.[e]}function q(e,l,s=!0){u?.setFieldValue(o.name,void 0,!0,(a,n)=>{if(!(!a[n]||!a[n][e])){if(!s){const r=Object.keys(a[n][e]);for(const d of r)d!==o.rowKey&&delete a[n][e][d]}Object.assign(a[n][e],{...l})}})}function D(e){u?.setFieldValue(o.name,e)}function E(e){const l=e==="end"?i.value.length-1:e;m.value?.scrollToRow(l)}function k(){u?.setFieldValue?.(o.name,[])}return y({add:B,remove:F,getRowData:I,getRowsData:_,setRowData:q,addMultiple:S,scrollTo:E,setTableData:D,clear:k,removeByKey:N}),(e,l)=>(t.openBlock(),t.createBlock(t.unref(p.ApForm).FormItem,t.mergeProps(e.formItem,{name:e.name,label:e.label}),{default:t.withCtx(()=>[t.createVNode(G.default,t.mergeProps(t.unref(f.omit)(o,["name","value","onUpdate:value","maxLength","onChange","defaultValue","formItem"]),{ref_key:"tableRef",ref:m,class:t.unref(b)(),columns:t.unref(v),"data-source":i.value,"search-form":!1}),t.createSlots({_:2},[t.renderList(C,(s,a)=>({name:a,fn:t.withCtx(n=>[t.renderSlot(e.$slots,a,t.normalizeProps(t.guardReactiveProps(n||{})))])}))]),1040,["class","columns","data-source"])]),_:3},16,["name","label"]))}});exports.default=z;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),p=require("../../ap-form/index.js"),f=require("lodash-unified");require("../../config-provider/index.js");const g=require("../../utils/index.js"),T=require("../hooks/use-editable-columns.js");require("../index.vue2.js");const V=require("../../ap-form/context.js"),j=require("../../ap-form/utils/get.js"),O=require("../../utils/warning.js"),P=require("../style/editable.js"),G=require("../../config-provider/hooks/use-namespace.js"),z=require("../../config-provider/hooks/use-global-config.js"),A=require("../index.vue.js"),K=t.defineComponent({name:"EditableGridFormItem",__name:"form-item",props:{dropdownPrefixCls:{},bordered:{type:Boolean,default:!1},locale:{},onResizeColumn:{},getPopupContainer:{},scroll:{},sortDirections:{default:()=>["ascend","descend"]},showSorterTooltip:{type:[Boolean,Object],default:!0},prefixCls:{},tableLayout:{default:"fixed"},title:{},id:{},showHeader:{type:Boolean,default:!0},components:{},customRow:{},customHeaderRow:{},direction:{},expandFixed:{type:[String,Boolean],default:!1},expandColumnWidth:{},expandedRowKeys:{},defaultExpandedRowKeys:{},expandedRowRender:{},expandRowByClick:{type:Boolean,default:!1},expandIcon:{},onExpand:{},onExpandedRowsChange:{},defaultExpandAllRows:{type:Boolean,default:!1},indentSize:{default:15},expandIconColumnIndex:{},showExpandColumn:{type:Boolean,default:!0},expandedRowClassName:{},childrenColumnName:{default:"children"},rowExpandable:{},sticky:{type:[Boolean,Object],default:!1},transformCellText:{},rowClassName:{},stripe:{type:Boolean},headerRowClassName:{},footerRowClassName:{},cellClassName:{},headerCellClassName:{},footerCellClassName:{},rowStyle:{},headerRowStyle:{},footerRowStyle:{},cellStyle:{},headerCellStyle:{},footerCellStyle:{},height:{},minHeight:{},maxHeight:{},mergeCells:{},mergeFooterItems:{},cellConfig:{},loading:{type:Boolean,default:void 0},loadingConfig:{},headerCellConfig:{},footerCellConfig:{},round:{type:Boolean},rowSelection:{type:Boolean,default:void 0},onLoadingChange:{},onShownColumnsChange:{},pagination:{type:[Boolean,Object],default:!1},searchFormWrapperStyle:{},tableWrapperStyle:{},wrapperStyle:{},size:{default:"mini"},adaptive:{type:Boolean,default:!1},columnResizable:{type:[Boolean,Object],default:!1},rowKey:{default:"key"},footer:{},virtual:{type:[Boolean,Object],default:void 0},expandable:{},value:{},rowHighlightable:{type:[Boolean,Function]},treeConfig:{},onReady:{},columns:{},defaultValue:{},"onUpdate:value":{},onChange:{},maxLength:{},onFieldChange:{},label:{},name:{},formItem:{default:()=>({})}},setup(h,{expose:y}){const C=t.useSlots(),o=h;O.useDevWarning("EditableGridFormItem")(!1,"breaking","EditableGridFormItem has been EOL, Please use EditableAgGridFormItem(https://aplus.aplnk.com/aplus-ui/components/ag-grid/editable/) instead.");const{b}=G.useNamespace("editable-grid"),w=P.default("editable-grid"),{internalInstance:u,model:x}=V.useInjectForm(),c=t.toRef(o.name),i=t.ref(j.getModelValue(t.unref(x),c.value)||[]),R=p.ApForm.useWatch(c);t.watch(()=>R.value,async e=>{await t.nextTick(),i.value=e,o.onChange?.(e)},{deep:!0});const m=t.ref(),v=z.useGlobalConfig("valueTypeMap"),B=T.useGetEditableColumns(o,v);function S(e,l){const s=t.unref(i)?.length||0;if(g.isDef(o.maxLength)&&s>=o.maxLength)return;const a={...e||{}};u?.setFieldValue(o.name,a,!0,(n,r)=>{if(!n[r]){n[r]=[a];return}f.isUndefined(l)?n[r].push(a):n[r].splice(l,0,a)})}function F(e,l="suffix"){const s=t.unref(i)?.length||0,a=f.isNumber(e)?e:e.length;if(g.isDef(o.maxLength)&&s+a>o.maxLength)return;const n=f.isNumber(e)?new Array(e).fill(0).map(()=>({})):f.cloneDeep(e);u?.setFieldValue(o.name,n,!0,(r,d)=>{if(!r[d]){r[d]=[...n];return}l==="suffix"?r[d].push(...n):r[d].unshift(...n)})}function N(e){const l=new Set(f.isNumber(e)?[e]:e);u?.setFieldValue(o.name,void 0,!0,(s,a)=>{s[a]=s[a].filter((n,r)=>!l.has(r))})}function _(e){const l=new Set(f.isArray(e)?e:[e]);l.size!==0&&u?.setFieldValue?.(o.name,void 0,!0,(s,a)=>{s[a]=s[a].filter(n=>!l.has(n[o.rowKey]))})}function I(){return t.unref(i)}function q(e){return t.unref(i)?.[e]}function D(e,l,s=!0){u?.setFieldValue(o.name,void 0,!0,(a,n)=>{if(!(!a[n]||!a[n][e])){if(!s){const r=Object.keys(a[n][e]);for(const d of r)d!==o.rowKey&&delete a[n][e][d]}Object.assign(a[n][e],{...l})}})}function E(e){u?.setFieldValue(o.name,e)}function k(e){const l=e==="end"?i.value.length-1:e;m.value?.scrollToRow(l)}function L(){u?.setFieldValue?.(o.name,[])}return y({add:S,remove:N,getRowData:q,getRowsData:I,setRowData:D,addMultiple:F,scrollTo:k,setTableData:E,clear:L,removeByKey:_}),(e,l)=>(t.openBlock(),t.createBlock(t.unref(p.ApForm).FormItem,t.mergeProps(e.formItem,{name:e.name,label:e.label}),{default:t.withCtx(()=>[t.createVNode(A.default,t.mergeProps(t.unref(f.omit)(o,["name","value","onUpdate:value","maxLength","onChange","defaultValue","formItem"]),{ref_key:"tableRef",ref:m,class:[t.unref(b)(),t.unref(w)],columns:t.unref(B),"data-source":i.value,"search-form":!1}),t.createSlots({_:2},[t.renderList(C,(s,a)=>({name:a,fn:t.withCtx(n=>[t.renderSlot(e.$slots,a,t.normalizeProps(t.guardReactiveProps(n||{})))])}))]),1040,["class","columns","data-source"])]),_:3},16,["name","label"]))}});exports.default=K;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("vue"),p=require("../../ap-form/index.js"),i=require("lodash-unified");require("../../config-provider/index.js");require("../../hooks/index.js");const g=require("../../utils/index.js"),j=require("../hooks/use-editable-columns.js");require("../index.vue2.js");const G=require("../../utils/warning.js"),P=require("../../config-provider/hooks/use-namespace.js"),z=require("../../hooks/useControllableValue.js"),K=require("../../config-provider/hooks/use-global-config.js"),H=require("../index.vue.js"),I=a.defineComponent({name:"EditableGrid",__name:"index",props:{dropdownPrefixCls:{},bordered:{type:Boolean,default:!1},locale:{},onResizeColumn:{},getPopupContainer:{},scroll:{},sortDirections:{default:()=>["ascend","descend"]},showSorterTooltip:{type:[Boolean,Object],default:!0},prefixCls:{},tableLayout:{default:"fixed"},title:{},id:{},showHeader:{type:Boolean,default:!0},components:{},customRow:{},customHeaderRow:{},direction:{},expandFixed:{type:[String,Boolean],default:!1},expandColumnWidth:{},expandedRowKeys:{},defaultExpandedRowKeys:{},expandedRowRender:{},expandRowByClick:{type:Boolean,default:!1},expandIcon:{},onExpand:{},onExpandedRowsChange:{},defaultExpandAllRows:{type:Boolean,default:!1},indentSize:{default:15},expandIconColumnIndex:{},showExpandColumn:{type:Boolean,default:!0},expandedRowClassName:{},childrenColumnName:{default:"children"},rowExpandable:{},sticky:{type:[Boolean,Object],default:!1},transformCellText:{},rowClassName:{},stripe:{type:Boolean},headerRowClassName:{},footerRowClassName:{},cellClassName:{},headerCellClassName:{},footerCellClassName:{},rowStyle:{},headerRowStyle:{},footerRowStyle:{},cellStyle:{},headerCellStyle:{},footerCellStyle:{},height:{},minHeight:{},maxHeight:{},mergeCells:{},mergeFooterItems:{},cellConfig:{},loading:{type:Boolean,default:void 0},loadingConfig:{},headerCellConfig:{},footerCellConfig:{},round:{type:Boolean},rowSelection:{type:Boolean,default:void 0},onLoadingChange:{},onShownColumnsChange:{},pagination:{type:[Boolean,Object],default:!1},searchFormWrapperStyle:{},tableWrapperStyle:{},wrapperStyle:{},size:{default:"mini"},adaptive:{type:Boolean,default:!1},columnResizable:{type:[Boolean,Object],default:!1},rowKey:{default:"key"},footer:{},virtual:{type:[Boolean,Object],default:void 0},expandable:{},value:{},rowHighlightable:{type:[Boolean,Function]},treeConfig:{},onReady:{},columns:{},defaultValue:{},"onUpdate:value":{},onChange:{},maxLength:{},name:{default:"ap-editable-table-inner-name"},onFieldChange:{}},emits:["update:value"],setup(h,{expose:y,emit:C}){const w=a.useSlots(),t=h,{b}=P.useNamespace("editable-grid"),v=C;G.useDevWarning("EditableGrid")(!1,"breaking","EditableGrid has been EOL, Please use EditableAgGrid(https://aplus.aplnk.com/aplus-ui/components/ag-grid/editable/) instead.");const m=a.ref(),{value:d,updateValue:x}=z.useControllableValue(t,v),u=a.ref(),R=K.useGlobalConfig("valueTypeMap"),c=p.ApForm.useWatch(t.name,u);a.watch(()=>c.value,e=>{x(e),t.onChange?.(e)},{deep:!0,flush:"post"}),a.watch(d,e=>{e!==a.unref(c)&&(i.isEqual(e,a.unref(c))||u.value?.setFieldValue(t.name,e))},{deep:!0});const B=j.useGetEditableColumns(t,R);function F(){u.value?.resetFields()}function S(e){return e?(i.isArray(e)?e:[e]).map(r=>i.isArray(r)?[t.name,...r]:[t.name,r]):void 0}async function _(e,o){return(await u.value?.validateFields(S(e),o))?.[t.name]}function N(e,o){const r=a.unref(d)?.length||0;if(g.isDef(t.maxLength)&&r>=t.maxLength)return;const n={...e||{}};u.value?.setFieldValue?.(t.name,n,!0,(l,s)=>{if(!l[s]){l[s]=[n];return}i.isUndefined(o)?l[s].push(n):l[s].splice(o,0,n)})}function V(e,o="suffix"){const r=a.unref(d)?.length||0,n=i.isNumber(e)?e:e.length;if(g.isDef(t.maxLength)&&r+n>t.maxLength)return;const l=i.isNumber(e)?new Array(e).fill(0).map(()=>({})):i.cloneDeep(e);u.value?.setFieldValue?.(t.name,l,!0,(s,f)=>{if(!s[f]){s[f]=[...l];return}o==="suffix"?s[f].push(...l):s[f].unshift(...l)})}function q(e){const o=new Set(i.isNumber(e)?[e]:e);u.value?.setFieldValue?.(t.name,void 0,!0,(r,n)=>{r[n]=r[n].filter((l,s)=>!o.has(s))})}function E(e){const o=new Set(i.isArray(e)?e:[e]);o.size!==0&&u.value?.setFieldValue?.(t.name,void 0,!0,(r,n)=>{r[n]=r[n].filter(l=>!o.has(l[t.rowKey]))})}function k(){return a.unref(d)}function A(e){u.value?.setFieldValue(t.name,e)}function D(e){return a.unref(d)?.[e]}function L(e,o,r=!0){u.value?.setFieldValue?.(t.name,void 0,!0,(n,l)=>{if(!(!n[l]||!n[l][e])){if(!r){const s=Object.keys(n[l][e]);for(const f of s)f!==t.rowKey&&delete n[l][e][f]}Object.assign(n[l][e],{...o})}})}function T(e){const o=e==="end"?d.value.length-1:e;m.value?.scrollToRow(o)}function O(){u.value?.setFieldValue?.(t.name,[])}return y({resetFields:F,validateFields:_,add:N,remove:q,getRowData:D,getRowsData:k,setRowData:L,addMultiple:V,scrollTo:T,clear:O,setTableData:A,removeByKey:E}),(e,o)=>(a.openBlock(),a.createBlock(a.unref(p.ApForm),{ref_key:"formRef",ref:u,"initial-values":{[t.name]:a.unref(d)},style:{height:"100%"}},{default:a.withCtx(()=>[a.createVNode(a.unref(p.ApForm).FormItem,{name:e.name,"no-style":""},{default:a.withCtx(()=>[a.createVNode(H.default,a.mergeProps(a.unref(i.omit)(t,["name","value","onUpdate:value","maxLength","onChange","defaultValue"]),{ref_key:"tableRef",ref:m,class:a.unref(b)(),columns:a.unref(B),"data-source":a.unref(d),"search-form":!1}),a.createSlots({_:2},[a.renderList(w,(r,n)=>({name:n,fn:a.withCtx(l=>[a.renderSlot(e.$slots,n,a.normalizeProps(a.guardReactiveProps(l||{})))])}))]),1040,["class","columns","data-source"])]),_:3},8,["name"])]),_:3},8,["initial-values"]))}});exports.default=I;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("vue"),p=require("../../ap-form/index.js"),i=require("lodash-unified");require("../../config-provider/index.js");require("../../hooks/index.js");const g=require("../../utils/index.js"),G=require("../hooks/use-editable-columns.js");require("../index.vue2.js");const P=require("../../utils/warning.js"),z=require("../style/editable.js"),I=require("../../config-provider/hooks/use-namespace.js"),K=require("../../hooks/useControllableValue.js"),H=require("../../config-provider/hooks/use-global-config.js"),W=require("../index.vue.js"),U=a.defineComponent({name:"EditableGrid",__name:"index",props:{dropdownPrefixCls:{},bordered:{type:Boolean,default:!1},locale:{},onResizeColumn:{},getPopupContainer:{},scroll:{},sortDirections:{default:()=>["ascend","descend"]},showSorterTooltip:{type:[Boolean,Object],default:!0},prefixCls:{},tableLayout:{default:"fixed"},title:{},id:{},showHeader:{type:Boolean,default:!0},components:{},customRow:{},customHeaderRow:{},direction:{},expandFixed:{type:[String,Boolean],default:!1},expandColumnWidth:{},expandedRowKeys:{},defaultExpandedRowKeys:{},expandedRowRender:{},expandRowByClick:{type:Boolean,default:!1},expandIcon:{},onExpand:{},onExpandedRowsChange:{},defaultExpandAllRows:{type:Boolean,default:!1},indentSize:{default:15},expandIconColumnIndex:{},showExpandColumn:{type:Boolean,default:!0},expandedRowClassName:{},childrenColumnName:{default:"children"},rowExpandable:{},sticky:{type:[Boolean,Object],default:!1},transformCellText:{},rowClassName:{},stripe:{type:Boolean},headerRowClassName:{},footerRowClassName:{},cellClassName:{},headerCellClassName:{},footerCellClassName:{},rowStyle:{},headerRowStyle:{},footerRowStyle:{},cellStyle:{},headerCellStyle:{},footerCellStyle:{},height:{},minHeight:{},maxHeight:{},mergeCells:{},mergeFooterItems:{},cellConfig:{},loading:{type:Boolean,default:void 0},loadingConfig:{},headerCellConfig:{},footerCellConfig:{},round:{type:Boolean},rowSelection:{type:Boolean,default:void 0},onLoadingChange:{},onShownColumnsChange:{},pagination:{type:[Boolean,Object],default:!1},searchFormWrapperStyle:{},tableWrapperStyle:{},wrapperStyle:{},size:{default:"mini"},adaptive:{type:Boolean,default:!1},columnResizable:{type:[Boolean,Object],default:!1},rowKey:{default:"key"},footer:{},virtual:{type:[Boolean,Object],default:void 0},expandable:{},value:{},rowHighlightable:{type:[Boolean,Function]},treeConfig:{},onReady:{},columns:{},defaultValue:{},"onUpdate:value":{},onChange:{},maxLength:{},name:{default:"ap-editable-table-inner-name"},onFieldChange:{}},emits:["update:value"],setup(h,{expose:y,emit:C}){const w=a.useSlots(),t=h,{b}=I.useNamespace("editable-grid"),v=z.default("editable-grid"),x=C;P.useDevWarning("EditableGrid")(!1,"breaking","EditableGrid has been EOL, Please use EditableAgGrid(https://aplus.aplnk.com/aplus-ui/components/ag-grid/editable/) instead.");const m=a.ref(),{value:d,updateValue:R}=K.useControllableValue(t,x),u=a.ref(),B=H.useGlobalConfig("valueTypeMap"),c=p.ApForm.useWatch(t.name,u);a.watch(()=>c.value,e=>{R(e),t.onChange?.(e)},{deep:!0,flush:"post"}),a.watch(d,e=>{e!==a.unref(c)&&(i.isEqual(e,a.unref(c))||u.value?.setFieldValue(t.name,e))},{deep:!0});const F=G.useGetEditableColumns(t,B);function S(){u.value?.resetFields()}function _(e){return e?(i.isArray(e)?e:[e]).map(r=>i.isArray(r)?[t.name,...r]:[t.name,r]):void 0}async function N(e,o){return(await u.value?.validateFields(_(e),o))?.[t.name]}function q(e,o){const r=a.unref(d)?.length||0;if(g.isDef(t.maxLength)&&r>=t.maxLength)return;const n={...e||{}};u.value?.setFieldValue?.(t.name,n,!0,(l,s)=>{if(!l[s]){l[s]=[n];return}i.isUndefined(o)?l[s].push(n):l[s].splice(o,0,n)})}function V(e,o="suffix"){const r=a.unref(d)?.length||0,n=i.isNumber(e)?e:e.length;if(g.isDef(t.maxLength)&&r+n>t.maxLength)return;const l=i.isNumber(e)?new Array(e).fill(0).map(()=>({})):i.cloneDeep(e);u.value?.setFieldValue?.(t.name,l,!0,(s,f)=>{if(!s[f]){s[f]=[...l];return}o==="suffix"?s[f].push(...l):s[f].unshift(...l)})}function E(e){const o=new Set(i.isNumber(e)?[e]:e);u.value?.setFieldValue?.(t.name,void 0,!0,(r,n)=>{r[n]=r[n].filter((l,s)=>!o.has(s))})}function k(e){const o=new Set(i.isArray(e)?e:[e]);o.size!==0&&u.value?.setFieldValue?.(t.name,void 0,!0,(r,n)=>{r[n]=r[n].filter(l=>!o.has(l[t.rowKey]))})}function A(){return a.unref(d)}function D(e){u.value?.setFieldValue(t.name,e)}function L(e){return a.unref(d)?.[e]}function T(e,o,r=!0){u.value?.setFieldValue?.(t.name,void 0,!0,(n,l)=>{if(!(!n[l]||!n[l][e])){if(!r){const s=Object.keys(n[l][e]);for(const f of s)f!==t.rowKey&&delete n[l][e][f]}Object.assign(n[l][e],{...o})}})}function O(e){const o=e==="end"?d.value.length-1:e;m.value?.scrollToRow(o)}function j(){u.value?.setFieldValue?.(t.name,[])}return y({resetFields:S,validateFields:N,add:q,remove:E,getRowData:L,getRowsData:A,setRowData:T,addMultiple:V,scrollTo:O,clear:j,setTableData:D,removeByKey:k}),(e,o)=>(a.openBlock(),a.createBlock(a.unref(p.ApForm),{ref_key:"formRef",ref:u,"initial-values":{[t.name]:a.unref(d)},style:{height:"100%"}},{default:a.withCtx(()=>[a.createVNode(a.unref(p.ApForm).FormItem,{name:e.name,"no-style":""},{default:a.withCtx(()=>[a.createVNode(W.default,a.mergeProps(a.unref(i.omit)(t,["name","value","onUpdate:value","maxLength","onChange","defaultValue"]),{ref_key:"tableRef",ref:m,class:[a.unref(b)(),a.unref(v)],columns:a.unref(F),"data-source":a.unref(d),"search-form":!1}),a.createSlots({_:2},[a.renderList(w,(r,n)=>({name:n,fn:a.withCtx(l=>[a.renderSlot(e.$slots,n,a.normalizeProps(a.guardReactiveProps(l||{})))])}))]),1040,["class","columns","data-source"])]),_:3},8,["name"])]),_:3},8,["initial-values"]))}});exports.default=U;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),C=require("vxe-table");require("vxe-table/es/style.css");const s=require("lodash-unified"),Fe=require("../ap-form/index.js");require("../config-provider/index.js");const Ie=require("../ap-table/constants.js"),d=require("../ap-table/utils.js"),Ne=require("../ap-table/hooks/use-table-paging-ng.js"),S=require("@aplus-frontend/antdv"),Pe=require("./hooks/use-inner-params.js"),E=require("./utils/table.js"),Te=require("./hooks/use-row-selection.js"),qe=require("../ap-table/context.js"),h=require("./constants.js"),ze=require("./hooks/use-render-columns.js"),Ve=require("@aplus-frontend/antdv/es/theme/internal");require("../scroll-bar/index.js");const _e=require("../utils/index.js"),Ae=require("../utils/slot.js"),Le=require("./hooks/use-table-style.js"),Oe=require("../utils/warning.js"),De=require("../config-provider/hooks/use-namespace.js"),U=require("../config-provider/hooks/use-global-config.js"),Ke=require("../config-provider/hooks/use-locale.js"),$e=require("../scroll-bar/index.vue.js"),Ue=e.defineComponent({name:"ApGrid",__name:"index",props:{dropdownPrefixCls:{},bordered:{type:Boolean,default:!1},locale:{},onChange:{},onResizeColumn:{},getPopupContainer:{},scroll:{},sortDirections:{default:()=>["ascend","descend"]},showSorterTooltip:{type:[Boolean,Object],default:!1},prefixCls:{},tableLayout:{},title:{},id:{},showHeader:{type:Boolean,default:!0},components:{},customRow:{},customHeaderRow:{},direction:{},expandFixed:{type:[String,Boolean],default:!1},expandColumnWidth:{},expandedRowKeys:{},defaultExpandedRowKeys:{},expandedRowRender:{},expandRowByClick:{type:Boolean,default:!1},expandIcon:{},onExpand:{},onExpandedRowsChange:{},defaultExpandAllRows:{type:Boolean,default:!1},indentSize:{default:15},expandIconColumnIndex:{},showExpandColumn:{type:Boolean,default:!0},expandedRowClassName:{},childrenColumnName:{default:"children"},rowExpandable:{},sticky:{type:[Boolean,Object],default:!1},transformCellText:{},rowClassName:{},stripe:{type:Boolean},headerRowClassName:{},footerRowClassName:{},cellClassName:{},headerCellClassName:{},footerCellClassName:{},rowStyle:{},headerRowStyle:{},footerRowStyle:{},cellStyle:{},headerCellStyle:{},footerCellStyle:{},height:{},minHeight:{},maxHeight:{},mergeCells:{},mergeFooterItems:{},cellConfig:{},loading:{type:Boolean,default:void 0},loadingConfig:{},headerCellConfig:{},footerCellConfig:{},round:{type:Boolean,default:void 0},columns:{},rowSelection:{type:Boolean},card:{type:Boolean,default:!1},params:{},request:{},defaultData:{},dataSource:{},onLoadingChange:{},onShownColumnsChange:{},searchForm:{type:[Boolean,Object],default:void 0},beforeSearchSubmit:{},pagination:{type:[Boolean,Object],default:void 0},searchFormWrapperStyle:{},tableWrapperStyle:{},wrapperStyle:{},manual:{type:Boolean,default:void 0},size:{default:"mini"},adaptive:{type:Boolean,default:!1},columnResizable:{type:[Boolean,Object],default:!1},rowKey:{default:"key"},footer:{},virtual:{type:[Boolean,Object],default:void 0},expandable:{},value:{},rowHighlightable:{type:[Boolean,Function],default:!1},treeConfig:{},onReady:{}},setup(G,{expose:W}){const b=e.useSlots(),r=G,v=e.getCurrentInstance()?.appContext.app;v&&!v.__VXE_PC_UI_INSTALLED__&&(v.use(C.VxeUI),v.__VXE_PC_UI_INSTALLED__=!0),Oe.useDevWarning("ApGrid")(!1,"breaking","AgGrid has been EOL, Please use AgGrid(https://aplus.aplnk.com/aplus-ui/components/ag-grid/) instead.");const{e:y,b:u,be:M}=De.useNamespace("ap-grid"),j=U.useGlobalConfig("valueTypeMap"),H=U.useGlobalConfig("apGrid"),l=e.ref([]),F=e.ref([]),a=e.ref(),w=e.ref(r.size),X=Le.useTableStyle(),[,J]=Ve.useToken(),{t:Q}=Ke.useLocale();C.VxeUI.setConfig({i18n:(t,o)=>Q(`ap.${t}`,o)});const{renderConfig:Y,updateSignal:Z}=ze.useRenderColumns(l);let I=0;const m=e.computed(()=>{let t=r.rowSelection||H.value?.rowSelection;if(t)return t===!0?h.DEFAULT_ROW_SELECTION_CONFIG:{...h.DEFAULT_ROW_SELECTION_CONFIG,...t}}),ee=e.computed(()=>{if(a.value)return a.value.$el.querySelector(".vxe-table--header-inner-wrapper")}),N=e.computed(()=>(I++,r.columns?.filter(t=>!t.hideInSearch&&t.dataIndex&&(t.valueType||t.customRenderFormItem)&&!Ie.noRenderAsFormItemValueList.includes(t.valueType))?.sort((t,o)=>{let n=d.getColumnOrder(t.order);return d.getColumnOrder(o.order)-n})?.map(t=>{const o=d.updateFormProps(t,d.getFieldProps(t.fieldProps,{})),n={...t,fieldProps:{label:t.title,name:t.dataIndex,bordered:!0,...o||{},_signal:I},renderNode:void 0};return n.renderNode=d.getSearchFormItemRenderNode(n,e.unref(j)),n})||[])),te=e.computed(()=>_e.isDef(r.manual)?r.manual:Ae.getValidVNodeList(b.searchFormExtra?.()||[]).some(o=>o.type?.name==="ApView")),re=e.computed(()=>[u(),r.card?null:u("wrapper"),r.adaptive?u("adaptive"):null,r.sticky?u("sticky"):null].filter(Boolean)),P=e.computed(()=>d.recursionApColumns(e.unref(l),t=>{if(t.sorter===!0)return t.key||t.dataIndex}).filter(Boolean)),T=e.computed(()=>d.recursionApColumns(e.unref(l),t=>{if(t.filters&&!t.onFilter)return t.key||t.dataIndex}).filter(Boolean)),{formRef:f,submit:R,reset:x,refresh:q,data:i,tableProps:z,setDataSource:oe,handleTableChangeOptional:ne,getPaging:ae,setPaging:le,submitWith:V}=Ne.useTablePaging({async request(t){if(m.value&&!m.value.preserveSelectedRowKeys&&s.isUndefined(r.dataSource)&&B(),!s.isUndefined(r.dataSource)){const n=t.pageSize*(t.current-1);return{data:(r.pagination===!1?r.dataSource:r.dataSource.slice(n,n+t.pageSize))||[],total:r.dataSource.length||0}}const o=await r.request?.(t);return{data:o?.data||[],total:o?.total||0}},namespace:"ap-grid",filterFields:T,sortFields:P,params:e.toRef(r,"params"),defaultData:r.defaultData,manual:e.unref(te),formatParams:r.beforeSearchSubmit,pagination:r.pagination,onClickReset:Se,onAfterRequest:be}),{sortChangeEvent:se,filterChangeEvent:ue,paginationChangeEvent:ie}=Pe.useInnerParams(ne);qe.useProvideApTable({columns:e.computed(()=>l.value),columnsBackup:e.computed(()=>F.value),size:e.computed(()=>h.sizeMap[w.value]),updateColumns(t){l.value=t,r.onShownColumnsChange?.(t)},updateSize(t){w.value=h.sizeReverseMap[t]},renderConfig:e.computed(()=>({className:M("table-header","title"),color:J.value.colorTextTertiary})),dataSource:e.computed(()=>e.unref(i).records),getSearchFormValues:A,setSearchFormValues:_,submit:R,submitWith:V,reset:x,refresh:q,getSearchFormSorterItems:L,setSearchFormSorterItems:O,resetSearchFormSorterItems:D});const ce=e.computed(()=>l.value.some(t=>t.fixed==="left"||t.fixed===!0)?"left":void 0),de=e.computed(()=>s.isUndefined(r.loading)?i.loading:r.loading),fe=e.computed(()=>s.isUndefined(r.dataSource)?i.records:r.dataSource),{selectedRows:k,rowSelection:p,...g}=Te.default({...m.value,dataSource:fe,rowKey:r.rowKey}),pe=({checked:t})=>{const o=a.value;o&&o&&g.selectChange(t,o.getCheckboxRecords(),o.getCheckboxReserveRecords())},me=({checked:t})=>{const o=a.value;o&&g.selectAllChange(t,[...o.getCheckboxReserveRecords(),...o.getCheckboxRecords()])},ge=()=>{const t=a.value;t&&g.selectRangeChange(t.getCheckboxRecords(),[...t.getCheckboxReserveRecords(),...t.getCheckboxRecords()])},Ce=()=>{const t=a.value;t&&(k.value=[t.getRadioRecord()])},he=({row:t})=>{const o=r.rowHighlightable;s.isFunction(o)&&o(t)};function ve(){return r.columns?.filter(t=>!t.hideInTable)||[]}function _(t){f.value?.apForm?.setFieldsValue?.(t)}function A(t=!1){const o=t?"getFieldsValueTransformed":"getFieldsValue";return f.value?.apForm?.[o]?.(!0)}function L(){return f.value?.getSorterItems()||[]}function O(t){f.value?.setSorterItems(t)}function D(){f.value?.resetSorterItems()}function B(){g.clearAll();const t=a.value;t&&(p.value.type==="radio"?(t.clearRadioRow(),t.clearRadioReserve()):(t.clearCheckboxRow(),t.clearCheckboxReserve()))}function ye(t){s.isFunction(r.rowKey)||(g.selectMultiByKeys(t),K())}function we(t){const o=a.value;if(!o)return;const n=String(t[r.rowKey]),c=o.getRowById(n);o.setCurrentRow(c)}function Se(){const t=a.value;t&&(t.clearSort(),t.clearFilter())}function K(){e.nextTick(()=>{p.value.type==="radio"?a.value?.setRadioRowKey(p.value.selectedRowKeys[0]):a.value?.setCheckboxRowKey(p.value.selectedRowKeys,!0)})}function be(t){K(),r.onReady&&e.nextTick(()=>{r.onReady(t)})}async function Re(t,o){const n=i.records[t];if(n)return a.value?.scrollToRow(n,o)}const xe=t=>s.isFunction(r.rowKey)?r.rowKey(t):t[r.rowKey];async function ke(t,o=!0){const n=a.value;if(!n)return;const c=s.isArray(t)?t:[t],Be=(n.getData()||[]).filter(Ee=>c.includes(xe(Ee)));n.setRowExpand(Be,o)}return e.watch(()=>[r.columnResizable,r.columns],()=>{const t=ve();l.value=t,r.onShownColumnsChange?.(t),F.value=t},{deep:!0,immediate:!0}),e.watch(()=>r.dataSource,t=>{oe(t)},{immediate:!0,deep:!0}),e.watch(()=>e.unref(i).loading,t=>{r.onLoadingChange?.(t)}),e.watch(()=>r.size,t=>{w.value=t}),W({submit:R,reset:x,refresh:q,submitWith:V,setSearchFormValues:_,getSearchFormValues:A,getShowColumns:()=>e.unref(l),rowSelection:{selectedRows:e.computed(()=>k.value),setSelectedRowKeys:ye,clearAll:B},scrollToRow:Re,getDataSource:()=>e.unref(i.records),setCurrentRow:we,getPaging:ae,setPaging:le,getSearchFormSorterItems:L,setSearchFormSorterItems:O,resetSearchFormSorterItems:D,setRowExpand:ke}),(t,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(re.value),style:e.normalizeStyle(t.wrapperStyle)},[e.unref(s.isUndefined)(t.dataSource)&&t.searchForm!==!1&&N.value.length>0?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(t.card?e.unref(y)("search-wrapper"):null),style:e.normalizeStyle(t.searchFormWrapperStyle)},[e.createVNode(e.unref(Fe.ApForm).SearchForm,e.mergeProps(t.searchForm||{},{ref_key:"formRef",ref:f,"custom-reset":"","submit-loading":e.unref(z).loading,onSubmit:e.unref(R),onReset:e.unref(x)}),e.createSlots({default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N.value,n=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.renderNode),{key:n.dataIndex}))),128))]),_:2},[b.searchFormExtra?{name:"extra",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"searchFormExtra")]),key:"0"}:void 0]),1040,["submit-loading","onSubmit","onReset"])],6)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass([e.unref(y)("table-wrapper"),t.card?e.unref(y)("table-wrapper-card"):null]),style:e.normalizeStyle(t.tableWrapperStyle)},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(u)("header-wrapper"))},[e.renderSlot(t.$slots,"title",{selectedRows:e.unref(k),selectedRowKeys:e.unref(p).selectedRowKeys,shownColumns:l.value,clearAll:B})],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(u)("vxe-wrapper"))},[(e.openBlock(),e.createBlock(e.unref(C.VxeTable),e.mergeProps(e.unref(E.toVxeProps)(r,m.value),{ref_key:"tableRef",ref:a,key:e.unref(Z),data:e.unref(i).records,"sort-config":{remote:P.value.length>0,trigger:"cell"},"filter-config":{remote:T.value.length>0},loading:de.value,style:e.unref(X),size:w.value,onSortChange:e.unref(se),onFilterChange:e.unref(ue),onCheckboxChange:pe,onCheckboxRangeChange:ge,onCheckboxAll:me,onRadioChange:Ce,onCurrentRowChange:he}),e.createSlots({empty:e.withCtx(()=>[e.createVNode(e.unref(S.Empty),{image:e.unref(S.Empty).PRESENTED_IMAGE_SIMPLE},null,8,["image"])]),loading:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(y)("table-loading-wrapper"))},[e.createVNode(e.unref(S.Spin))],2)]),default:e.withCtx(()=>[r.expandable&&l.value.length?(e.openBlock(),e.createBlock(e.unref(C.VxeColumn),e.mergeProps({key:0},e.unref(E.getRowExpandProps)(t.expandable),{fixed:ce.value}),e.createSlots({content:e.withCtx(n=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r.expandable.renderContent(n))))]),_:2},[t.expandable?.renderCell?{name:"default",fn:e.withCtx(n=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.expandable.renderCell(n.$table.isRowExpandByRow(n.row),n.row))))]),key:"0"}:void 0]),1040,["fixed"])):e.createCommentVNode("",!0),m.value&&l.value.length?(e.openBlock(),e.createBlock(e.unref(C.VxeColumn),e.mergeProps({key:1},e.unref(E.getRowSelectionProps)(e.unref(p),l.value,r.size),{resizable:!1,field:e.unref(h.ROW_SELECTION_FIELD)}),null,16,["field"])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(Y),n=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n),{key:n.props.colId}))),128))]),_:2},[e.renderList(e.unref(s.omit)(b,["searchFormExtra"]),(n,c)=>({name:c,fn:e.withCtx($=>[e.renderSlot(t.$slots,c,e.normalizeProps(e.guardReactiveProps($||{})))])}))]),1040,["data","sort-config","filter-config","loading","style","size","onSortChange","onFilterChange"]))],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(u)("pagination-wrapper"))},[t.sticky?(e.openBlock(),e.createBlock(e.unref($e.default),{key:0,direction:"horizontal","scroll-container":ee.value,"extra-size":-4.2,"bar-color":"var(--ap-scrollbar-thumb-color-base)","track-color":"var(--ap-table-header-bg, #f2f6f9)"},null,8,["scroll-container"])):e.createCommentVNode("",!0),t.pagination!==!1?(e.openBlock(),e.createBlock(e.unref(S.Pagination),e.mergeProps({key:1,class:e.unref(u)("pagination")},e.unref(z).pagination,{onChange:e.unref(ie)}),null,16,["class","onChange"])):e.createCommentVNode("",!0)],2)],6)],6))}});exports.default=Ue;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),C=require("vxe-table");require("vxe-table/es/style.css");const s=require("lodash-unified"),Ie=require("../ap-form/index.js");require("../config-provider/index.js");const Ne=require("../ap-table/constants.js"),d=require("../ap-table/utils.js"),Pe=require("../ap-table/hooks/use-table-paging-ng.js"),S=require("@aplus-frontend/antdv"),Te=require("./hooks/use-inner-params.js"),E=require("./utils/table.js"),qe=require("./hooks/use-row-selection.js"),ze=require("../ap-table/context.js"),h=require("./constants.js"),Ve=require("./hooks/use-render-columns.js"),_e=require("@aplus-frontend/antdv/es/theme/internal");require("../scroll-bar/index.js");const Ae=require("../utils/index.js"),Le=require("../utils/slot.js"),Oe=require("./hooks/use-table-style.js"),De=require("../utils/warning.js"),Ke=require("./style/index.js"),$e=require("../config-provider/hooks/use-namespace.js"),U=require("../config-provider/hooks/use-global-config.js"),Ue=require("../config-provider/hooks/use-locale.js"),Ge=require("../scroll-bar/index.vue.js"),We=e.defineComponent({name:"ApGrid",__name:"index",props:{dropdownPrefixCls:{},bordered:{type:Boolean,default:!1},locale:{},onChange:{},onResizeColumn:{},getPopupContainer:{},scroll:{},sortDirections:{default:()=>["ascend","descend"]},showSorterTooltip:{type:[Boolean,Object],default:!1},prefixCls:{},tableLayout:{},title:{},id:{},showHeader:{type:Boolean,default:!0},components:{},customRow:{},customHeaderRow:{},direction:{},expandFixed:{type:[String,Boolean],default:!1},expandColumnWidth:{},expandedRowKeys:{},defaultExpandedRowKeys:{},expandedRowRender:{},expandRowByClick:{type:Boolean,default:!1},expandIcon:{},onExpand:{},onExpandedRowsChange:{},defaultExpandAllRows:{type:Boolean,default:!1},indentSize:{default:15},expandIconColumnIndex:{},showExpandColumn:{type:Boolean,default:!0},expandedRowClassName:{},childrenColumnName:{default:"children"},rowExpandable:{},sticky:{type:[Boolean,Object],default:!1},transformCellText:{},rowClassName:{},stripe:{type:Boolean},headerRowClassName:{},footerRowClassName:{},cellClassName:{},headerCellClassName:{},footerCellClassName:{},rowStyle:{},headerRowStyle:{},footerRowStyle:{},cellStyle:{},headerCellStyle:{},footerCellStyle:{},height:{},minHeight:{},maxHeight:{},mergeCells:{},mergeFooterItems:{},cellConfig:{},loading:{type:Boolean,default:void 0},loadingConfig:{},headerCellConfig:{},footerCellConfig:{},round:{type:Boolean,default:void 0},columns:{},rowSelection:{type:Boolean},card:{type:Boolean,default:!1},params:{},request:{},defaultData:{},dataSource:{},onLoadingChange:{},onShownColumnsChange:{},searchForm:{type:[Boolean,Object],default:void 0},beforeSearchSubmit:{},pagination:{type:[Boolean,Object],default:void 0},searchFormWrapperStyle:{},tableWrapperStyle:{},wrapperStyle:{},manual:{type:Boolean,default:void 0},size:{default:"mini"},adaptive:{type:Boolean,default:!1},columnResizable:{type:[Boolean,Object],default:!1},rowKey:{default:"key"},footer:{},virtual:{type:[Boolean,Object],default:void 0},expandable:{},value:{},rowHighlightable:{type:[Boolean,Function],default:!1},treeConfig:{},onReady:{}},setup(G,{expose:W}){const b=e.useSlots(),r=G,v=e.getCurrentInstance()?.appContext.app;v&&!v.__VXE_PC_UI_INSTALLED__&&(v.use(C.VxeUI),v.__VXE_PC_UI_INSTALLED__=!0),De.useDevWarning("ApGrid")(!1,"breaking","AgGrid has been EOL, Please use AgGrid(https://aplus.aplnk.com/aplus-ui/components/ag-grid/) instead.");const{e:y,b:u,be:M}=$e.useNamespace("ap-grid"),j=Ke.default("ap-grid"),H=U.useGlobalConfig("valueTypeMap"),X=U.useGlobalConfig("apGrid"),l=e.ref([]),F=e.ref([]),a=e.ref(),w=e.ref(r.size),J=Oe.useTableStyle(),[,Q]=_e.useToken(),{t:Y}=Ue.useLocale();C.VxeUI.setConfig({i18n:(t,o)=>Y(`ap.${t}`,o)});const{renderConfig:Z,updateSignal:ee}=Ve.useRenderColumns(l);let I=0;const m=e.computed(()=>{let t=r.rowSelection||X.value?.rowSelection;if(t)return t===!0?h.DEFAULT_ROW_SELECTION_CONFIG:{...h.DEFAULT_ROW_SELECTION_CONFIG,...t}}),te=e.computed(()=>{if(a.value)return a.value.$el.querySelector(".vxe-table--header-inner-wrapper")}),N=e.computed(()=>(I++,r.columns?.filter(t=>!t.hideInSearch&&t.dataIndex&&(t.valueType||t.customRenderFormItem)&&!Ne.noRenderAsFormItemValueList.includes(t.valueType))?.sort((t,o)=>{let n=d.getColumnOrder(t.order);return d.getColumnOrder(o.order)-n})?.map(t=>{const o=d.updateFormProps(t,d.getFieldProps(t.fieldProps,{})),n={...t,fieldProps:{label:t.title,name:t.dataIndex,bordered:!0,...o||{},_signal:I},renderNode:void 0};return n.renderNode=d.getSearchFormItemRenderNode(n,e.unref(H)),n})||[])),re=e.computed(()=>Ae.isDef(r.manual)?r.manual:Le.getValidVNodeList(b.searchFormExtra?.()||[]).some(o=>o.type?.name==="ApView")),oe=e.computed(()=>[u(),r.card?null:u("wrapper"),r.adaptive?u("adaptive"):null,r.sticky?u("sticky"):null,j.value].filter(Boolean)),P=e.computed(()=>d.recursionApColumns(e.unref(l),t=>{if(t.sorter===!0)return t.key||t.dataIndex}).filter(Boolean)),T=e.computed(()=>d.recursionApColumns(e.unref(l),t=>{if(t.filters&&!t.onFilter)return t.key||t.dataIndex}).filter(Boolean)),{formRef:f,submit:R,reset:x,refresh:q,data:i,tableProps:z,setDataSource:ne,handleTableChangeOptional:ae,getPaging:le,setPaging:se,submitWith:V}=Pe.useTablePaging({async request(t){if(m.value&&!m.value.preserveSelectedRowKeys&&s.isUndefined(r.dataSource)&&B(),!s.isUndefined(r.dataSource)){const n=t.pageSize*(t.current-1);return{data:(r.pagination===!1?r.dataSource:r.dataSource.slice(n,n+t.pageSize))||[],total:r.dataSource.length||0}}const o=await r.request?.(t);return{data:o?.data||[],total:o?.total||0}},namespace:"ap-grid",filterFields:T,sortFields:P,params:e.toRef(r,"params"),defaultData:r.defaultData,manual:e.unref(re),formatParams:r.beforeSearchSubmit,pagination:r.pagination,onClickReset:be,onAfterRequest:Re}),{sortChangeEvent:ue,filterChangeEvent:ie,paginationChangeEvent:ce}=Te.useInnerParams(ae);ze.useProvideApTable({columns:e.computed(()=>l.value),columnsBackup:e.computed(()=>F.value),size:e.computed(()=>h.sizeMap[w.value]),updateColumns(t){l.value=t,r.onShownColumnsChange?.(t)},updateSize(t){w.value=h.sizeReverseMap[t]},renderConfig:e.computed(()=>({className:M("table-header","title"),color:Q.value.colorTextTertiary})),dataSource:e.computed(()=>e.unref(i).records),getSearchFormValues:A,setSearchFormValues:_,submit:R,submitWith:V,reset:x,refresh:q,getSearchFormSorterItems:L,setSearchFormSorterItems:O,resetSearchFormSorterItems:D});const de=e.computed(()=>l.value.some(t=>t.fixed==="left"||t.fixed===!0)?"left":void 0),fe=e.computed(()=>s.isUndefined(r.loading)?i.loading:r.loading),pe=e.computed(()=>s.isUndefined(r.dataSource)?i.records:r.dataSource),{selectedRows:k,rowSelection:p,...g}=qe.default({...m.value,dataSource:pe,rowKey:r.rowKey}),me=({checked:t})=>{const o=a.value;o&&o&&g.selectChange(t,o.getCheckboxRecords(),o.getCheckboxReserveRecords())},ge=({checked:t})=>{const o=a.value;o&&g.selectAllChange(t,[...o.getCheckboxReserveRecords(),...o.getCheckboxRecords()])},Ce=()=>{const t=a.value;t&&g.selectRangeChange(t.getCheckboxRecords(),[...t.getCheckboxReserveRecords(),...t.getCheckboxRecords()])},he=()=>{const t=a.value;t&&(k.value=[t.getRadioRecord()])},ve=({row:t})=>{const o=r.rowHighlightable;s.isFunction(o)&&o(t)};function ye(){return r.columns?.filter(t=>!t.hideInTable)||[]}function _(t){f.value?.apForm?.setFieldsValue?.(t)}function A(t=!1){const o=t?"getFieldsValueTransformed":"getFieldsValue";return f.value?.apForm?.[o]?.(!0)}function L(){return f.value?.getSorterItems()||[]}function O(t){f.value?.setSorterItems(t)}function D(){f.value?.resetSorterItems()}function B(){g.clearAll();const t=a.value;t&&(p.value.type==="radio"?(t.clearRadioRow(),t.clearRadioReserve()):(t.clearCheckboxRow(),t.clearCheckboxReserve()))}function we(t){s.isFunction(r.rowKey)||(g.selectMultiByKeys(t),K())}function Se(t){const o=a.value;if(!o)return;const n=String(t[r.rowKey]),c=o.getRowById(n);o.setCurrentRow(c)}function be(){const t=a.value;t&&(t.clearSort(),t.clearFilter())}function K(){e.nextTick(()=>{p.value.type==="radio"?a.value?.setRadioRowKey(p.value.selectedRowKeys[0]):a.value?.setCheckboxRowKey(p.value.selectedRowKeys,!0)})}function Re(t){K(),r.onReady&&e.nextTick(()=>{r.onReady(t)})}async function xe(t,o){const n=i.records[t];if(n)return a.value?.scrollToRow(n,o)}const ke=t=>s.isFunction(r.rowKey)?r.rowKey(t):t[r.rowKey];async function Be(t,o=!0){const n=a.value;if(!n)return;const c=s.isArray(t)?t:[t],Ee=(n.getData()||[]).filter(Fe=>c.includes(ke(Fe)));n.setRowExpand(Ee,o)}return e.watch(()=>[r.columnResizable,r.columns],()=>{const t=ye();l.value=t,r.onShownColumnsChange?.(t),F.value=t},{deep:!0,immediate:!0}),e.watch(()=>r.dataSource,t=>{ne(t)},{immediate:!0,deep:!0}),e.watch(()=>e.unref(i).loading,t=>{r.onLoadingChange?.(t)}),e.watch(()=>r.size,t=>{w.value=t}),W({submit:R,reset:x,refresh:q,submitWith:V,setSearchFormValues:_,getSearchFormValues:A,getShowColumns:()=>e.unref(l),rowSelection:{selectedRows:e.computed(()=>k.value),setSelectedRowKeys:we,clearAll:B},scrollToRow:xe,getDataSource:()=>e.unref(i.records),setCurrentRow:Se,getPaging:le,setPaging:se,getSearchFormSorterItems:L,setSearchFormSorterItems:O,resetSearchFormSorterItems:D,setRowExpand:Be}),(t,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(oe.value),style:e.normalizeStyle(t.wrapperStyle)},[e.unref(s.isUndefined)(t.dataSource)&&t.searchForm!==!1&&N.value.length>0?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(t.card?e.unref(y)("search-wrapper"):null),style:e.normalizeStyle(t.searchFormWrapperStyle)},[e.createVNode(e.unref(Ie.ApForm).SearchForm,e.mergeProps(t.searchForm||{},{ref_key:"formRef",ref:f,"custom-reset":"","submit-loading":e.unref(z).loading,onSubmit:e.unref(R),onReset:e.unref(x)}),e.createSlots({default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N.value,n=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.renderNode),{key:n.dataIndex}))),128))]),_:2},[b.searchFormExtra?{name:"extra",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"searchFormExtra")]),key:"0"}:void 0]),1040,["submit-loading","onSubmit","onReset"])],6)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass([e.unref(y)("table-wrapper"),t.card?e.unref(y)("table-wrapper-card"):null]),style:e.normalizeStyle(t.tableWrapperStyle)},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(u)("header-wrapper"))},[e.renderSlot(t.$slots,"title",{selectedRows:e.unref(k),selectedRowKeys:e.unref(p).selectedRowKeys,shownColumns:l.value,clearAll:B})],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(u)("vxe-wrapper"))},[(e.openBlock(),e.createBlock(e.unref(C.VxeTable),e.mergeProps(e.unref(E.toVxeProps)(r,m.value),{ref_key:"tableRef",ref:a,key:e.unref(ee),data:e.unref(i).records,"sort-config":{remote:P.value.length>0,trigger:"cell"},"filter-config":{remote:T.value.length>0},loading:fe.value,style:e.unref(J),size:w.value,onSortChange:e.unref(ue),onFilterChange:e.unref(ie),onCheckboxChange:me,onCheckboxRangeChange:Ce,onCheckboxAll:ge,onRadioChange:he,onCurrentRowChange:ve}),e.createSlots({empty:e.withCtx(()=>[e.createVNode(e.unref(S.Empty),{image:e.unref(S.Empty).PRESENTED_IMAGE_SIMPLE},null,8,["image"])]),loading:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(y)("table-loading-wrapper"))},[e.createVNode(e.unref(S.Spin))],2)]),default:e.withCtx(()=>[r.expandable&&l.value.length?(e.openBlock(),e.createBlock(e.unref(C.VxeColumn),e.mergeProps({key:0},e.unref(E.getRowExpandProps)(t.expandable),{fixed:de.value}),e.createSlots({content:e.withCtx(n=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r.expandable.renderContent(n))))]),_:2},[t.expandable?.renderCell?{name:"default",fn:e.withCtx(n=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.expandable.renderCell(n.$table.isRowExpandByRow(n.row),n.row))))]),key:"0"}:void 0]),1040,["fixed"])):e.createCommentVNode("",!0),m.value&&l.value.length?(e.openBlock(),e.createBlock(e.unref(C.VxeColumn),e.mergeProps({key:1},e.unref(E.getRowSelectionProps)(e.unref(p),l.value,r.size),{resizable:!1,field:e.unref(h.ROW_SELECTION_FIELD)}),null,16,["field"])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(Z),n=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n),{key:n.props.colId}))),128))]),_:2},[e.renderList(e.unref(s.omit)(b,["searchFormExtra"]),(n,c)=>({name:c,fn:e.withCtx($=>[e.renderSlot(t.$slots,c,e.normalizeProps(e.guardReactiveProps($||{})))])}))]),1040,["data","sort-config","filter-config","loading","style","size","onSortChange","onFilterChange"]))],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(u)("pagination-wrapper"))},[t.sticky?(e.openBlock(),e.createBlock(e.unref(Ge.default),{key:0,direction:"horizontal","scroll-container":te.value,"extra-size":-4.2,"bar-color":"var(--ap-scrollbar-thumb-color-base)","track-color":"var(--ap-table-header-bg, #f2f6f9)"},null,8,["scroll-container"])):e.createCommentVNode("",!0),t.pagination!==!1?(e.openBlock(),e.createBlock(e.unref(S.Pagination),e.mergeProps({key:1,class:e.unref(u)("pagination")},e.unref(z).pagination,{onChange:e.unref(ce)}),null,16,["class","onChange"])):e.createCommentVNode("",!0)],2)],6)],6))}});exports.default=We;
@@ -0,0 +1,5 @@
1
+ import { GenStyleFunc } from '../../design-token/interface';
2
+ import { Ref } from 'vue';
3
+ export declare const genEditableGridStyle: GenStyleFunc;
4
+ declare const _default: (prefixCls: string) => Ref<string | undefined, string | undefined>;
5
+ export default _default;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("../../style/index.js"),r=require("../../utils/cssinjs/index.js"),i=e=>{const{componentCls:t}=e;return{[t]:{[`${t}__header-cell--required`]:{color:"#FF4D4F",paddingRight:"2px"},[`${t}-table-header`]:{"&__title":{...l.multiRows(e),textAlign:"right"}},".ant-form-item":{marginBlockEnd:e.spaceXL},".vxe-cell:has(.is-editable)":{paddingBlock:`${e.spaceXL} 0px !important`}}}},d=r.genComponentStyleHook("EditableGrid",e=>[i(e)]);exports.default=d;exports.genEditableGridStyle=i;
@@ -0,0 +1,2 @@
1
+ declare const aplusApGridIconFont = "\n @font-face {\n font-family: aplusuiiconfont;\n src: url('data:application/x-font-woff2;charset=utf-8;base64,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')\n format('woff2');\n }\n";
2
+ export { aplusApGridIconFont };
@@ -0,0 +1,7 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=`
2
+ @font-face {
3
+ font-family: aplusuiiconfont;
4
+ src: url('data:application/x-font-woff2;charset=utf-8;base64,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')
5
+ format('woff2');
6
+ }
7
+ `;exports.aplusApGridIconFont=A;
@@ -0,0 +1,5 @@
1
+ import { GenStyleFunc } from '../../design-token/interface';
2
+ import { Ref } from 'vue';
3
+ export declare const genApGridStyle: GenStyleFunc;
4
+ declare const _default: (prefixCls: string) => Ref<string | undefined, string | undefined>;
5
+ export default _default;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const d=require("../../ap-table/style/index.js"),a=require("../../style/index.js"),p=require("../../utils/cssinjs/index.js"),c=require("./font.js"),n=e=>{const{componentCls:i,namespace:l}=e,r=`${i}-vxe-wrapper`,t=`${i}-pagination-wrapper`,o=`.${l}-scroll-bar`;return[c.aplusApGridIconFont,{[i]:{...a.resetScrollbar(e),".vxe-table--render-default.size--medium .vxe-body--column.is--padding div.vxe-cell":{minHeight:"unset !important",padding:"9px 12px",fontSize:e.fontSize,lineHeight:e.lineHeight},".vxe-table--render-default.size--mini .vxe-body--column.is--padding div.vxe-cell":{minHeight:"unset !important",padding:"6px 9px",lineHeight:e.lineHeight},".vxe-table--render-default.size--medium .vxe-header--column.is--padding div.vxe-cell":{fontSize:e.fontSize,lineHeight:"16px",padding:"0px 12px"},".vxe-table--render-default.size--mini .vxe-header--column.is--padding div.vxe-cell":{lineHeight:"16px",padding:"0 9px"},"&-adaptive":{height:"100%",display:"flex",flexDirection:"column",[r]:{minHeight:0,flex:1}},[t]:{"ul.ant-pagination":{marginBlock:e.space}},"&-sticky":{[t]:{backgroundColor:"#fff",zIndex:10,position:"sticky",bottom:0},[`&:has(${o})`]:{[t]:{"ul.ant-pagination":{marginBlockStart:0,paddingBlockStart:"4px"}},".vxe-table--scroll-x-wrapper":{opacity:0},".vxe-table .vxe-table--scroll-x-virtual":{height:"0px !important"}},[`${i}__table-wrapper-card`]:{paddingBlockEnd:0}},"&-wrapper":{padding:e.space,paddingBlockEnd:e.spaceLG,backgroundColor:"#fff","&:has(ul.ant-pagination)":{paddingBottom:0},[`&${i}-sticky`]:{paddingBlockEnd:0}},[`${i}__search-wrapper`]:{padding:e.space,paddingBlockEnd:0,backgroundColor:"#fff",borderRadius:e.borderRadius,marginBlockEnd:"10px"},[`${i}__table-wrapper`]:{flex:1,minHeight:0,maxHeight:"100%",width:"100%",display:"flex",flexDirection:"column"},[`${i}__table-wrapper-card`]:{padding:e.space,paddingBlockEnd:e.spaceLG,borderRadius:e.borderRadius,backgroundColor:"#fff","&:has(ul.ant-pagination)":{paddingBottom:0}},[`${i}-pagination`]:{marginBlock:e.spaceLG,display:"flex",flexWrap:"wrap",alignItems:"center",rowGap:"8px",".ant-pagination-total-text":{flex:1,height:"unset",lineHeight:e.lineHeight,display:"flex",alignItems:"center"}},".vxe-loading.vxe-table--loading":{position:"absolute",width:"100%",height:"100%",top:0,left:0,zIndex:99,userSelect:"none",".vxe-loading--wrapper":{width:"100%",height:"100%"}},[`${i}__table-loading-wrapper`]:{height:"100%",display:"flex",justifyContent:"center",alignItems:"center",backgroundColor:"var(--vxe-ui-loading-background-color)"},[`${i}-pagination-count-text`]:{color:e.textColor2},[`${i}-pagination--total-right`]:{paddingInlineStart:"12px"},[`${i}-pagination-total-wrapper`]:{color:e.textColor1},[`${i}-table-header`]:{"&__title":{...a.multiRows(e),fontWeight:"bold",textAlign:"right","&--single":{flex:"unset"}}},...d.genSettingTriggerBtnStyle(e),"th.vxe-header--column .vxe-cell--wrapper":{display:"flex",flexDirection:"row",flexWrap:"nowrap",alignItems:"center",minWidth:"unset",".vxe-cell--title":{flexShrink:1,flexGrow:0}},".fixed-left--wrapper, .fixed-right--wrapper":{".vxe-table--header":{height:"100%"},".vxe-table--footer":{height:"100%"}},"i.vxe-table-icon-caret-right":{"&::before":{content:'"\\f292"'}},"i.vxe-table-icon-caret-right.rotate90":{transform:"none","&::before":{content:'"\\f293"'}},"i[class*=vxe-table-icon-]":{fontFamily:"aplusuiiconfont !important;"},".vxe-cell--checkbox.is--disabled > .vxe-checkbox--icon":{backgroundColor:e.tableHeaderBg,borderRadius:"4px"},".vxe-cell--checkbox span.vxe-checkbox--icon":{verticalAlign:"text-wrap"},"div.vxe-cell--tree-btn > i":{fontSize:e.fontSizeSM,color:e.textColor2}}}]},g=p.genComponentStyleHook("ApGrid",e=>[n(e)]);exports.default=g;exports.genApGridStyle=n;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("vue"),l=require("lodash-unified"),u=require("../../ap-table/utils.js"),q=require("../../ap-table/constants.js");require("../../ap-table/components/paragraph-ellipsis/index.vue.js");const A=require("../../ap-table/components/paragraph-ellipsis/index.vue2.js");function p(e,t){if(t)return l.isArray(t)?t.reduce((r,i)=>r?.[i],e):e?.[t]}function y(e){if(!l.isUndefined(e))return l.isArray(e)?e.reduce((t,r)=>l.isString(r)?`${t}${t?".":""}${r}`:`${t}[${r}]`,""):String(e)}function b(e){if(e)return e===!0?"left":e}function N(e){return l.isBoolean(e)?{sortable:e}:e?{sortable:!0,sortType:e?.type,sortBy:e?.by}:{sortable:!1}}function R(e){let t;return l.isBoolean(e.filters)&&e.valueEnum?t=u.valueEnumToArray(e.valueEnum):t=e.filters,t?.map(r=>({label:l.isString(r.text)?r.text:"",value:r.value}))}function _(e){if(e)return t=>e(t.value,t.row)}function V(e,t){return e?l.isNumber(e)?{tooltip:t,rows:e}:e===!0||e==="tooltip"?{tooltip:t,rows:1}:{tooltip:null,rows:1,htmlTitle:e==="title"?t:""}:!1}function O(e,t,r){if(q.noRenderAsFormItemValueList.includes(e.valueType))return r;if(e.copyable||e.ellipsis){const i=V(e.ellipsis,t),n=u.objectToString(t);return f.createVNode(A.default,{rawValue:n,copyable:e.copyable,ellipsis:i,content:r},null)}return r}function c(e,t,r){const i=l.pick(e,["width","minWidth","align"]);return i.field=y(e.dataIndex),i.fixed=b(e.fixed),i.slots={header:()=>u.getTableTitle(e,r,void 0,t)},i.headerAlign=e.align,i.showOverflow=!1,i.showFooterOverflow=!1,i}function g(e,t,r){if(r)return l.isString(r)?e[r]:r(e,t)}const v=({value:e,...t},r,i,n=!0)=>{const a=u.getTableRenderType(r),d=u.getTableRenderProps({...r,valueType:a},{value:e,...t}),s=u.getTableCellRenderNode(a,d,t.record,i),o=r.renderText?.({value:e,...t})||e,x=r.renderText?f.createVNode(f.Fragment,null,[r.renderText?.({value:e,...t})]):s;let h=n?O(r,o,x):x;if(r.customRender){const S=r._path||[],F=g(t.record,t.rowIndex,t.params?.rowKey);h=r.customRender({value:e,...t,column:r,originalNode:h,originalText:o,path:F&&[...S,String(F)]})}return f.createVNode(f.Fragment,null,[h])};function T(e,t,r,i){const n=l.pick(e,["width","minWidth","align","resizable","className","headerClassName","footerClassName","treeNode"]);n.field=y(e.dataIndex),n.fixed=b(e.fixed),n.headerAlign=e.align,n.footerAlign=e.align,n.showOverflow=!1,n.showFooterOverflow=!1,Object.assign(n,N(e.sorter)),n.filters=R(e),n.filterMultiple=e.filterMultiple,n.filterMethod=_(e.onFilter);const a=({row:d,rowIndex:s})=>v({value:p(d,e.dataIndex),text:p(d,e.dataIndex),record:d,index:s,renderIndex:s,column:e},e,i);return n.slots={header:()=>u.getTableTitle(e,r,void 0,t),default:a,footer:a},e.html&&(delete n.slots.default,delete n.slots.footer,n.type="html"),e.seq&&(n.type="seq",n.slots={}),n}function w(e,t,r,i){if(!e.children?.length)return T(e,t,r,i);function n(d){return d.map(s=>{if(s.children?.length){const o=c(s,t,r);return o.children=n(s.children),o}return T(s,t,r,i)})}const a=c(e,t,r);return a.children=n(e.children),a}exports.contentCustom=v;exports.dataIndexToField=y;exports.getValueByDataIndex=p;exports.transformCol=w;exports.transformFixed=b;exports.transformToColGroup=c;exports.transformToColumn=T;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("vue"),l=require("lodash-unified"),u=require("../../ap-table/utils.js"),q=require("../../ap-table/constants.js");require("../../ap-table/components/paragraph-ellipsis/index.vue.js");const A=require("../../ap-table/components/paragraph-ellipsis/index.vue2.js");function p(e,t){if(t)return l.isArray(t)?t.reduce((r,i)=>r?.[i],e):e?.[t]}function y(e){if(!l.isUndefined(e))return l.isArray(e)?e.reduce((t,r)=>l.isString(r)?`${t}${t?".":""}${r}`:`${t}[${r}]`,""):String(e)}function b(e){if(e)return e===!0?"left":e}function N(e){return l.isBoolean(e)?{sortable:e}:e?{sortable:!0,sortType:e?.type,sortBy:e?.by}:{sortable:!1}}function R(e){let t;return l.isBoolean(e.filters)&&e.valueEnum?t=u.valueEnumToArray(e.valueEnum):t=e.filters,t?.map(r=>({label:l.isString(r.text)?r.text:"",value:r.value}))}function _(e){if(e)return t=>e(t.value,t.row)}function V(e,t){return e?l.isNumber(e)?{tooltip:t,rows:e}:e===!0||e==="tooltip"?{tooltip:t,rows:1}:{tooltip:null,rows:1,htmlTitle:e==="title"?t:""}:!1}function O(e,t,r){if(q.noRenderAsFormItemValueList.includes(e.valueType))return r;if(e.copyable||e.ellipsis){const i=V(e.ellipsis,t),n=u.objectToString(t);return f.createVNode(A.default,{rawValue:n,copyable:e.copyable,ellipsis:i,content:r},null)}return r}function c(e,t,r){const i=l.pick(e,["width","minWidth","align"]);return i.field=y(e.dataIndex),i.fixed=b(e.fixed),i.slots={header:()=>u.getTableTitle(e,r,void 0,t)},i.headerAlign=e.align,i.showOverflow=!1,i.showFooterOverflow=!1,i}function g(e,t,r){if(r)return l.isString(r)?e[r]:r(e,t)}const F=({value:e,...t},r,i,n=!0)=>{const a=u.getTableRenderType(r),d=u.getTableRenderProps({...r,valueType:a},{value:e,...t}),s=u.getTableCellRenderNode(a,d,t.record,i),o=r.renderText?.({value:e,...t})||e,x=r.renderText?f.createVNode(f.Fragment,null,[r.renderText?.({value:e,...t})]):s;let h=n?O(r,o,x):x;if(r.customRender){const v=r._path||[],S=g(t.record,t.rowIndex,t.params?.rowKey);h=r.customRender({value:e,...t,column:r,originalNode:h,originalText:o,path:[...v,String(S)]})}return f.createVNode(f.Fragment,null,[h])};function T(e,t,r,i){const n=l.pick(e,["width","minWidth","align","resizable","className","headerClassName","footerClassName","treeNode"]);n.field=y(e.dataIndex),n.fixed=b(e.fixed),n.headerAlign=e.align,n.footerAlign=e.align,n.showOverflow=!1,n.showFooterOverflow=!1,Object.assign(n,N(e.sorter)),n.filters=R(e),n.filterMultiple=e.filterMultiple,n.filterMethod=_(e.onFilter);const a=({row:d,rowIndex:s})=>F({value:p(d,e.dataIndex),text:p(d,e.dataIndex),record:d,index:s,renderIndex:s,column:e},e,i);return n.slots={header:()=>u.getTableTitle(e,r,void 0,t),default:a,footer:a},e.html&&(delete n.slots.default,delete n.slots.footer,n.type="html"),e.seq&&(n.type="seq",n.slots={}),n}function w(e,t,r,i){if(!e.children?.length)return T(e,t,r,i);function n(d){return d.map(s=>{if(s.children?.length){const o=c(s,t,r);return o.children=n(s.children),o}return T(s,t,r,i)})}const a=c(e,t,r);return a.children=n(e.children),a}exports.contentCustom=F;exports.dataIndexToField=y;exports.getValueByDataIndex=p;exports.transformCol=w;exports.transformFixed=b;exports.transformToColGroup=c;exports.transformToColumn=T;