@aplus-frontend/ui 0.6.0-beta.2 → 0.6.0-beta.21

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 (609) hide show
  1. package/es/index.mjs +307 -289
  2. package/es/src/ap-action/group/index.vue.d.ts +1 -1
  3. package/es/src/ap-action/item-dropdown/index.vue.d.ts +1 -1
  4. package/es/src/ap-descriptions/ap-descriptions.vue.mjs +9 -8
  5. package/es/src/ap-descriptions/help-message/index.vue2.mjs +1 -1
  6. package/es/src/ap-drawer/ApDrawer.vue.d.ts +29 -0
  7. package/es/src/ap-drawer/ApDrawer.vue.mjs +91 -0
  8. package/es/src/ap-drawer/ApDrawer.vue2.mjs +4 -0
  9. package/es/src/ap-drawer/components/ApDrawerClose.vue.d.ts +8 -0
  10. package/es/src/ap-drawer/components/ApDrawerClose.vue.mjs +25 -0
  11. package/es/src/ap-drawer/components/ApDrawerClose.vue2.mjs +4 -0
  12. package/es/src/ap-drawer/index.d.ts +3 -7
  13. package/es/src/ap-drawer/index.mjs +10 -5
  14. package/es/src/ap-drawer/interface.d.ts +4 -0
  15. package/es/src/ap-drawer/style/css.d.ts +0 -1
  16. package/es/src/ap-drawer/style/css.js +1 -1
  17. package/es/src/ap-drawer/style/index.d.ts +0 -1
  18. package/es/src/ap-drawer/style/index.js +1 -1
  19. package/es/src/ap-drawer/utils/createDrawer.mjs +36 -31
  20. package/es/src/ap-field/date/helper.mjs +12 -12
  21. package/es/src/ap-field/date/index.vue.d.ts +1 -1
  22. package/es/src/ap-field/date-range/index.vue.d.ts +1 -1
  23. package/es/src/ap-field/date-range/index.vue.mjs +8 -7
  24. package/es/src/ap-field/hooks/use-date-timezone.mjs +17 -8
  25. package/es/src/ap-field/number/index.vue.d.ts +3 -5
  26. package/es/src/ap-field/radio/index.vue.d.ts +2 -4
  27. package/es/src/ap-field/rate/index.vue.d.ts +3 -5
  28. package/es/src/ap-field/select/index.vue.d.ts +4 -7
  29. package/es/src/ap-field/slider/index.vue.d.ts +2 -4
  30. package/es/src/ap-field/text/index.vue2.mjs +42 -44
  31. package/es/src/ap-field/text/password.vue.mjs +15 -17
  32. package/es/src/ap-field/text-area/index.vue.d.ts +2 -2
  33. package/es/src/ap-field/tree-select/index.vue.d.ts +1 -1
  34. package/es/src/ap-field/tree-select/index.vue.mjs +31 -30
  35. package/es/src/ap-form/ap-form.vue2.mjs +89 -77
  36. package/es/src/ap-form/dependency/index.vue.mjs +29 -23
  37. package/es/src/ap-form/drawer-form/index.vue.d.ts +9 -7
  38. package/es/src/ap-form/drawer-form/index.vue.mjs +58 -49
  39. package/es/src/ap-form/interface.d.ts +13 -5
  40. package/es/src/ap-form/item/index.vue.d.ts +6 -11
  41. package/es/src/ap-form/item/index.vue.mjs +43 -39
  42. package/es/src/ap-form/items/number/index.vue.d.ts +8 -8
  43. package/es/src/ap-form/items/select/index.vue.d.ts +8 -8
  44. package/es/src/ap-form/items/select/index.vue.mjs +12 -14
  45. package/es/src/ap-form/items/text/index.vue.d.ts +2 -2
  46. package/es/src/ap-form/items/text/password.vue.d.ts +2 -2
  47. package/es/src/ap-form/items/text/password.vue.mjs +9 -9
  48. package/es/src/ap-form/items/text-area/index.vue.d.ts +5 -5
  49. package/es/src/ap-form/items/tree-select/index.vue.d.ts +8 -8
  50. package/es/src/ap-form/items/tree-select/index.vue.mjs +12 -14
  51. package/es/src/ap-form/modal-form/index.vue.d.ts +9 -7
  52. package/es/src/ap-form/modal-form/index.vue.mjs +64 -55
  53. package/es/src/ap-form/provider/index.vue.mjs +6 -5
  54. package/es/src/ap-form/render/item.vue.d.ts +1 -1
  55. package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +131 -2
  56. package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +40 -36
  57. package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +88 -69
  58. package/es/src/ap-form/search-form/hooks/use-count-per-row.mjs +33 -13
  59. package/es/src/ap-form/search-form/index.vue.d.ts +2 -2
  60. package/es/src/ap-form/search-form/index.vue.mjs +99 -97
  61. package/es/src/ap-form/set/index.vue.mjs +7 -6
  62. package/es/src/ap-grid/constants.d.ts +3 -3
  63. package/es/src/ap-grid/constants.mjs +9 -9
  64. package/es/src/ap-grid/editable/form-item.vue.mjs +97 -83
  65. package/es/src/ap-grid/editable/index.vue.mjs +100 -86
  66. package/es/src/ap-grid/hooks/use-editable-columns.mjs +17 -17
  67. package/es/src/ap-grid/hooks/use-inner-params.d.ts +2 -1
  68. package/es/src/ap-grid/hooks/use-inner-params.mjs +24 -35
  69. package/es/src/ap-grid/hooks/use-render-columns.mjs +8 -8
  70. package/es/src/ap-grid/hooks/use-row-selection.d.ts +100 -0
  71. package/es/src/ap-grid/hooks/use-row-selection.mjs +122 -0
  72. package/es/src/ap-grid/index.vue.mjs +291 -224
  73. package/es/src/ap-grid/interface.d.ts +31 -2
  74. package/es/src/ap-grid/utils/table.mjs +31 -31
  75. package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +1 -1
  76. package/es/src/ap-list/index.vue.d.ts +2 -9
  77. package/es/src/ap-list/index.vue.mjs +116 -106
  78. package/es/src/ap-list/interface.d.ts +20 -0
  79. package/es/src/ap-table/ap-table.vue.d.ts +10 -2
  80. package/es/src/ap-table/ap-table.vue2.mjs +78 -70
  81. package/es/src/ap-table/components/setting/modal/index.vue2.mjs +42 -44
  82. package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
  83. package/es/src/ap-table/constants.d.ts +52 -52
  84. package/es/src/ap-table/hooks/use-table-paging-ng.d.ts +23 -4
  85. package/es/src/ap-table/hooks/use-table-paging-ng.mjs +152 -124
  86. package/es/src/ap-table/interface.d.ts +14 -1
  87. package/es/src/ap-table/utils.d.ts +35 -35
  88. package/es/src/ap-tag/ap-tag-group.vue.mjs +32 -28
  89. package/es/src/business/ap-card/ApCard.vue2.mjs +1 -1
  90. package/es/src/business/ap-copy/ApCopy.d.ts +52 -0
  91. package/es/src/business/ap-copy/ApCopy.mjs +79 -0
  92. package/es/src/business/ap-copy/constans.d.ts +24 -0
  93. package/es/src/business/ap-copy/constans.mjs +25 -0
  94. package/es/src/business/ap-copy/index.d.ts +102 -0
  95. package/es/src/business/ap-copy/index.mjs +7 -0
  96. package/es/src/business/ap-copy/interface.d.ts +8 -0
  97. package/es/src/business/ap-copy/interface.mjs +1 -0
  98. package/es/src/business/ap-copy/style/css.d.ts +0 -0
  99. package/es/src/business/ap-copy/style/css.js +1 -0
  100. package/es/src/business/ap-copy/style/index.d.ts +0 -0
  101. package/es/src/business/ap-copy/style/index.js +1 -0
  102. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -3
  103. package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +94 -73
  104. package/es/src/business/ap-expand-alert/index.d.ts +4 -4
  105. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +18 -17
  106. package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +27 -25
  107. package/es/src/business/ap-keep-alive/cacher/cacher.d.ts +10 -0
  108. package/es/src/business/ap-keep-alive/cacher/lru-cacher.d.ts +16 -0
  109. package/es/src/business/ap-keep-alive/cacher/lru-cacher.mjs +43 -0
  110. package/es/src/business/ap-keep-alive/hook.d.ts +10 -0
  111. package/es/src/business/ap-keep-alive/hook.mjs +33 -0
  112. package/es/src/business/ap-keep-alive/index.d.ts +107 -0
  113. package/es/src/business/ap-keep-alive/index.mjs +13 -0
  114. package/es/src/business/ap-keep-alive/interface.d.ts +36 -0
  115. package/es/src/business/ap-keep-alive/interface.mjs +54 -0
  116. package/es/src/business/ap-keep-alive/keep-alive.d.ts +54 -0
  117. package/es/src/business/ap-keep-alive/keep-alive.mjs +154 -0
  118. package/es/src/business/ap-keep-alive/keeper/ap-form-keeper.d.ts +7 -0
  119. package/es/src/business/ap-keep-alive/keeper/ap-form-keeper.mjs +21 -0
  120. package/es/src/business/ap-keep-alive/keeper/ap-grid-keeper.d.ts +14 -0
  121. package/es/src/business/ap-keep-alive/keeper/ap-grid-keeper.mjs +27 -0
  122. package/es/src/business/ap-keep-alive/keeper/ap-list-keeper.d.ts +13 -0
  123. package/es/src/business/ap-keep-alive/keeper/ap-list-keeper.mjs +18 -0
  124. package/es/src/business/ap-keep-alive/keeper/ap-radio-group-keeper.d.ts +6 -0
  125. package/es/src/business/ap-keep-alive/keeper/ap-radio-group-keeper.mjs +17 -0
  126. package/es/src/business/ap-keep-alive/keeper/ap-search-form-keeper.d.ts +7 -0
  127. package/es/src/business/ap-keep-alive/keeper/ap-search-form-keeper.mjs +18 -0
  128. package/es/src/business/ap-keep-alive/keeper/ap-table-keeper.d.ts +13 -0
  129. package/es/src/business/ap-keep-alive/keeper/ap-table-keeper.mjs +18 -0
  130. package/es/src/business/ap-keep-alive/keeper/ap-view-keeper.d.ts +6 -0
  131. package/es/src/business/ap-keep-alive/keeper/ap-view-keeper.mjs +12 -0
  132. package/es/src/business/ap-keep-alive/keeper/edit-grid-keeper.d.ts +6 -0
  133. package/es/src/business/ap-keep-alive/keeper/edit-grid-keeper.mjs +18 -0
  134. package/es/src/business/ap-keep-alive/keeper/edit-table-keeper.d.ts +6 -0
  135. package/es/src/business/ap-keep-alive/keeper/edit-table-keeper.mjs +18 -0
  136. package/es/src/business/ap-keep-alive/keeper/index.d.ts +3 -0
  137. package/es/src/business/ap-keep-alive/keeper/index.mjs +28 -0
  138. package/es/src/business/ap-keep-alive/keeper/step-keeper.d.ts +6 -0
  139. package/es/src/business/ap-keep-alive/keeper/step-keeper.mjs +17 -0
  140. package/es/src/business/ap-keep-alive/keeper/tab-keeper.d.ts +6 -0
  141. package/es/src/business/ap-keep-alive/keeper/tab-keeper.mjs +17 -0
  142. package/es/src/business/ap-keep-alive/utils.d.ts +22 -0
  143. package/es/src/business/ap-keep-alive/utils.mjs +41 -0
  144. package/es/src/business/ap-label/ApLabel.d.ts +1 -1
  145. package/es/src/business/ap-label/constans.mjs +1 -1
  146. package/es/src/business/ap-label/group/ApLabelGroup.mjs +15 -16
  147. package/es/src/business/ap-label/index.d.ts +3 -3
  148. package/es/src/business/ap-label/interface.d.ts +2 -3
  149. package/es/src/business/ap-ladder/ApLadder.d.ts +1 -1
  150. package/es/src/business/ap-ladder/index.d.ts +3 -3
  151. package/es/src/business/ap-product-info/ApProductInfo.d.ts +9 -0
  152. package/es/src/business/ap-product-info/ApProductInfo.mjs +53 -54
  153. package/es/src/business/ap-product-info/constans.d.ts +4 -0
  154. package/es/src/business/ap-product-info/constans.mjs +4 -0
  155. package/es/src/business/ap-product-info/index.d.ts +15 -0
  156. package/es/src/business/ap-product-info/interface.d.ts +1 -0
  157. package/es/src/business/ap-radio-group/ap-radio-group.vue.d.ts +19 -0
  158. package/es/src/business/ap-radio-group/ap-radio-group.vue.mjs +4 -0
  159. package/es/src/business/ap-radio-group/ap-radio-group.vue2.mjs +60 -0
  160. package/es/src/business/ap-radio-group/index.d.ts +60 -0
  161. package/es/src/business/ap-radio-group/index.mjs +8 -0
  162. package/es/src/business/ap-radio-group/interface.d.ts +11 -0
  163. package/es/src/business/ap-radio-group/interface.mjs +1 -0
  164. package/es/src/business/ap-radio-group/style/css.d.ts +0 -0
  165. package/es/src/business/ap-radio-group/style/css.js +1 -0
  166. package/es/src/business/ap-radio-group/style/index.d.ts +0 -0
  167. package/es/src/business/ap-radio-group/style/index.js +1 -0
  168. package/es/src/business/ap-status/interface.d.ts +1 -1
  169. package/es/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +4 -1
  170. package/es/src/business/ap-table-modal/hooks/use-table-modal.d.ts +4 -1
  171. package/es/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +4 -1
  172. package/es/src/business/ap-table-modal/index.d.ts +32 -5
  173. package/es/src/business/ap-table-modal/table-modal.vue.d.ts +14 -3
  174. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +43 -42
  175. package/es/src/business/ap-view/ap-view.vue.d.ts +5 -1
  176. package/es/src/business/ap-view/ap-view.vue2.mjs +162 -129
  177. package/es/src/business/ap-view/components/main-button-content.vue.d.ts +1 -1
  178. package/es/src/business/ap-view/components/main-button-content.vue2.mjs +55 -51
  179. package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +1 -1
  180. package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +79 -73
  181. package/es/src/business/ap-view/hooks/use-view-provide.d.ts +1 -0
  182. package/es/src/business/ap-view/index.d.ts +15 -3
  183. package/es/src/business/ap-view/interface.d.ts +11 -0
  184. package/es/src/business/batch-input-group/form-item.vue.d.ts +1 -1
  185. package/es/src/business/batch-input-group/form-item.vue.mjs +14 -13
  186. package/es/src/business/batch-input-group/index.vue.d.ts +1 -1
  187. package/es/src/business/batch-input-group/index.vue.mjs +10 -9
  188. package/es/src/business/hooks/usePageListApGrid.mjs +33 -28
  189. package/es/src/business/hooks/usePageListApTable.d.ts +4 -1
  190. package/es/src/business/index.d.ts +3 -0
  191. package/es/src/business/index.mjs +36 -30
  192. package/es/src/check-card/group.vue.d.ts +1 -1
  193. package/es/src/components.d.ts +1 -0
  194. package/es/src/config-provider/config-provider-props.d.ts +0 -5
  195. package/es/src/config-provider/config-provider-props.mjs +0 -4
  196. package/es/src/config-provider/config-provider.d.ts +0 -138
  197. package/es/src/config-provider/config-provider.mjs +21 -26
  198. package/es/src/config-provider/hooks/use-global-config.d.ts +0 -5
  199. package/es/src/config-provider/index.d.ts +0 -652
  200. package/es/src/editable-table/form-item.vue.d.ts +2 -14
  201. package/es/src/editable-table/form-item.vue.mjs +86 -78
  202. package/es/src/editable-table/index.vue.d.ts +2 -16
  203. package/es/src/editable-table/index.vue.mjs +91 -83
  204. package/es/src/editable-table/interface.d.ts +7 -0
  205. package/es/src/full-screen/interface.d.ts +5 -6
  206. package/es/src/index.mjs +269 -253
  207. package/es/src/locale/lang/en.mjs +4 -0
  208. package/es/src/locale/lang/zh-cn.mjs +4 -0
  209. package/es/src/mask/index.vue.mjs +21 -20
  210. package/es/src/path-map.mjs +3 -1
  211. package/es/src/resize-observer/interface.d.ts +2 -3
  212. package/es/src/scroll-bar/interface.d.ts +7 -7
  213. package/es/src/scroll-view/interface.d.ts +2 -3
  214. package/es/src/splitter/SplitBar.vue2.mjs +1 -0
  215. package/es/src/splitter/Splitter.vue2.mjs +1 -0
  216. package/es/src/tests/mock-resize-observer.d.ts +2 -0
  217. package/es/src/tests/utils.d.ts +8 -0
  218. package/es/src/text/group.vue.mjs +7 -6
  219. package/es/src/text/index.vue.mjs +20 -19
  220. package/es/src/version.d.ts +2 -0
  221. package/es/src/version.mjs +4 -0
  222. package/es/src/work-order-modal/createWorkOrder.d.ts +2 -1
  223. package/es/src/work-order-modal/createWorkOrder.mjs +19 -15
  224. package/es/src/work-order-modal/interfaces.d.ts +4 -0
  225. package/es/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
  226. package/es/src/work-order-modal/work-order-modal.vue.mjs +120 -105
  227. package/es/test/setup.d.ts +5 -0
  228. package/lib/index.js +1 -1
  229. package/lib/src/ap-action/group/index.vue.d.ts +1 -1
  230. package/lib/src/ap-action/item-dropdown/index.vue.d.ts +1 -1
  231. package/lib/src/ap-descriptions/ap-descriptions.vue.js +1 -1
  232. package/lib/src/ap-descriptions/help-message/index.vue2.js +1 -1
  233. package/lib/src/ap-drawer/ApDrawer.vue.d.ts +29 -0
  234. package/lib/src/ap-drawer/ApDrawer.vue.js +1 -0
  235. package/lib/src/ap-drawer/ApDrawer.vue2.js +1 -0
  236. package/lib/src/ap-drawer/components/ApDrawerClose.vue.d.ts +8 -0
  237. package/lib/src/ap-drawer/components/ApDrawerClose.vue.js +1 -0
  238. package/lib/src/ap-drawer/components/ApDrawerClose.vue2.js +1 -0
  239. package/lib/src/ap-drawer/index.d.ts +3 -7
  240. package/lib/src/ap-drawer/index.js +1 -1
  241. package/lib/src/ap-drawer/interface.d.ts +4 -0
  242. package/lib/src/ap-drawer/style/css.cjs +1 -1
  243. package/lib/src/ap-drawer/style/css.d.ts +0 -1
  244. package/lib/src/ap-drawer/style/index.cjs +1 -1
  245. package/lib/src/ap-drawer/style/index.d.ts +0 -1
  246. package/lib/src/ap-drawer/utils/createDrawer.js +1 -1
  247. package/lib/src/ap-field/date/helper.js +1 -1
  248. package/lib/src/ap-field/date/index.vue.d.ts +1 -1
  249. package/lib/src/ap-field/date-range/index.vue.d.ts +1 -1
  250. package/lib/src/ap-field/date-range/index.vue.js +1 -1
  251. package/lib/src/ap-field/hooks/use-date-timezone.js +1 -1
  252. package/lib/src/ap-field/number/index.vue.d.ts +3 -5
  253. package/lib/src/ap-field/radio/index.vue.d.ts +2 -4
  254. package/lib/src/ap-field/rate/index.vue.d.ts +3 -5
  255. package/lib/src/ap-field/select/index.vue.d.ts +4 -7
  256. package/lib/src/ap-field/slider/index.vue.d.ts +2 -4
  257. package/lib/src/ap-field/text/index.vue2.js +1 -1
  258. package/lib/src/ap-field/text/password.vue.js +1 -1
  259. package/lib/src/ap-field/text-area/index.vue.d.ts +2 -2
  260. package/lib/src/ap-field/tree-select/index.vue.d.ts +1 -1
  261. package/lib/src/ap-field/tree-select/index.vue.js +1 -1
  262. package/lib/src/ap-form/ap-form.vue2.js +1 -1
  263. package/lib/src/ap-form/dependency/index.vue.js +1 -1
  264. package/lib/src/ap-form/drawer-form/index.vue.d.ts +9 -7
  265. package/lib/src/ap-form/drawer-form/index.vue.js +1 -1
  266. package/lib/src/ap-form/interface.d.ts +13 -5
  267. package/lib/src/ap-form/item/index.vue.d.ts +6 -11
  268. package/lib/src/ap-form/item/index.vue.js +1 -1
  269. package/lib/src/ap-form/items/number/index.vue.d.ts +8 -8
  270. package/lib/src/ap-form/items/select/index.vue.d.ts +8 -8
  271. package/lib/src/ap-form/items/select/index.vue.js +1 -1
  272. package/lib/src/ap-form/items/text/index.vue.d.ts +2 -2
  273. package/lib/src/ap-form/items/text/password.vue.d.ts +2 -2
  274. package/lib/src/ap-form/items/text/password.vue.js +1 -1
  275. package/lib/src/ap-form/items/text-area/index.vue.d.ts +5 -5
  276. package/lib/src/ap-form/items/tree-select/index.vue.d.ts +8 -8
  277. package/lib/src/ap-form/items/tree-select/index.vue.js +1 -1
  278. package/lib/src/ap-form/modal-form/index.vue.d.ts +9 -7
  279. package/lib/src/ap-form/modal-form/index.vue.js +1 -1
  280. package/lib/src/ap-form/provider/index.vue.js +1 -1
  281. package/lib/src/ap-form/render/item.vue.d.ts +1 -1
  282. package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +131 -2
  283. package/lib/src/ap-form/search-form/components/popover-filter.vue2.js +1 -1
  284. package/lib/src/ap-form/search-form/components/popover-sorter/index.vue2.js +1 -1
  285. package/lib/src/ap-form/search-form/hooks/use-count-per-row.js +1 -1
  286. package/lib/src/ap-form/search-form/index.vue.d.ts +2 -2
  287. package/lib/src/ap-form/search-form/index.vue.js +1 -1
  288. package/lib/src/ap-form/set/index.vue.js +1 -1
  289. package/lib/src/ap-grid/constants.d.ts +3 -3
  290. package/lib/src/ap-grid/constants.js +1 -1
  291. package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
  292. package/lib/src/ap-grid/editable/index.vue.js +1 -1
  293. package/lib/src/ap-grid/hooks/use-editable-columns.js +1 -1
  294. package/lib/src/ap-grid/hooks/use-inner-params.d.ts +2 -1
  295. package/lib/src/ap-grid/hooks/use-inner-params.js +1 -1
  296. package/lib/src/ap-grid/hooks/use-render-columns.js +1 -1
  297. package/lib/src/ap-grid/hooks/use-row-selection.d.ts +100 -0
  298. package/lib/src/ap-grid/hooks/use-row-selection.js +1 -0
  299. package/lib/src/ap-grid/index.vue.js +1 -1
  300. package/lib/src/ap-grid/interface.d.ts +31 -2
  301. package/lib/src/ap-grid/utils/table.js +1 -1
  302. package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +1 -1
  303. package/lib/src/ap-list/index.vue.d.ts +2 -9
  304. package/lib/src/ap-list/index.vue.js +1 -1
  305. package/lib/src/ap-list/interface.d.ts +20 -0
  306. package/lib/src/ap-table/ap-table.vue.d.ts +10 -2
  307. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  308. package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
  309. package/lib/src/ap-table/components/setting/tree-select/index.vue2.js +1 -1
  310. package/lib/src/ap-table/constants.d.ts +52 -52
  311. package/lib/src/ap-table/hooks/use-table-paging-ng.d.ts +23 -4
  312. package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
  313. package/lib/src/ap-table/interface.d.ts +14 -1
  314. package/lib/src/ap-table/utils.d.ts +35 -35
  315. package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
  316. package/lib/src/business/ap-card/ApCard.vue2.js +1 -1
  317. package/lib/src/business/ap-copy/ApCopy.d.ts +52 -0
  318. package/lib/src/business/ap-copy/ApCopy.js +1 -0
  319. package/lib/src/business/ap-copy/constans.d.ts +24 -0
  320. package/lib/src/business/ap-copy/constans.js +1 -0
  321. package/lib/src/business/ap-copy/index.d.ts +102 -0
  322. package/lib/src/business/ap-copy/index.js +1 -0
  323. package/lib/src/business/ap-copy/interface.d.ts +8 -0
  324. package/lib/src/business/ap-copy/interface.js +1 -0
  325. package/lib/src/business/ap-copy/style/css.cjs +1 -0
  326. package/lib/src/business/ap-copy/style/css.d.ts +0 -0
  327. package/lib/src/business/ap-copy/style/index.cjs +1 -0
  328. package/lib/src/business/ap-copy/style/index.d.ts +0 -0
  329. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -3
  330. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
  331. package/lib/src/business/ap-expand-alert/index.d.ts +4 -4
  332. package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
  333. package/lib/src/business/ap-input-radio/ApInputRadio.vue2.js +1 -1
  334. package/lib/src/business/ap-keep-alive/cacher/cacher.d.ts +10 -0
  335. package/lib/src/business/ap-keep-alive/cacher/lru-cacher.d.ts +16 -0
  336. package/lib/src/business/ap-keep-alive/cacher/lru-cacher.js +1 -0
  337. package/lib/src/business/ap-keep-alive/hook.d.ts +10 -0
  338. package/lib/src/business/ap-keep-alive/hook.js +1 -0
  339. package/lib/src/business/ap-keep-alive/index.d.ts +107 -0
  340. package/lib/src/business/ap-keep-alive/index.js +1 -0
  341. package/lib/src/business/ap-keep-alive/interface.d.ts +36 -0
  342. package/lib/src/business/ap-keep-alive/interface.js +1 -0
  343. package/lib/src/business/ap-keep-alive/keep-alive.d.ts +54 -0
  344. package/lib/src/business/ap-keep-alive/keep-alive.js +1 -0
  345. package/lib/src/business/ap-keep-alive/keeper/ap-form-keeper.d.ts +7 -0
  346. package/lib/src/business/ap-keep-alive/keeper/ap-form-keeper.js +1 -0
  347. package/lib/src/business/ap-keep-alive/keeper/ap-grid-keeper.d.ts +14 -0
  348. package/lib/src/business/ap-keep-alive/keeper/ap-grid-keeper.js +1 -0
  349. package/lib/src/business/ap-keep-alive/keeper/ap-list-keeper.d.ts +13 -0
  350. package/lib/src/business/ap-keep-alive/keeper/ap-list-keeper.js +1 -0
  351. package/lib/src/business/ap-keep-alive/keeper/ap-radio-group-keeper.d.ts +6 -0
  352. package/lib/src/business/ap-keep-alive/keeper/ap-radio-group-keeper.js +1 -0
  353. package/lib/src/business/ap-keep-alive/keeper/ap-search-form-keeper.d.ts +7 -0
  354. package/lib/src/business/ap-keep-alive/keeper/ap-search-form-keeper.js +1 -0
  355. package/lib/src/business/ap-keep-alive/keeper/ap-table-keeper.d.ts +13 -0
  356. package/lib/src/business/ap-keep-alive/keeper/ap-table-keeper.js +1 -0
  357. package/lib/src/business/ap-keep-alive/keeper/ap-view-keeper.d.ts +6 -0
  358. package/lib/src/business/ap-keep-alive/keeper/ap-view-keeper.js +1 -0
  359. package/lib/src/business/ap-keep-alive/keeper/edit-grid-keeper.d.ts +6 -0
  360. package/lib/src/business/ap-keep-alive/keeper/edit-grid-keeper.js +1 -0
  361. package/lib/src/business/ap-keep-alive/keeper/edit-table-keeper.d.ts +6 -0
  362. package/lib/src/business/ap-keep-alive/keeper/edit-table-keeper.js +1 -0
  363. package/lib/src/business/ap-keep-alive/keeper/index.d.ts +3 -0
  364. package/lib/src/business/ap-keep-alive/keeper/index.js +1 -0
  365. package/lib/src/business/ap-keep-alive/keeper/step-keeper.d.ts +6 -0
  366. package/lib/src/business/ap-keep-alive/keeper/step-keeper.js +1 -0
  367. package/lib/src/business/ap-keep-alive/keeper/tab-keeper.d.ts +6 -0
  368. package/lib/src/business/ap-keep-alive/keeper/tab-keeper.js +1 -0
  369. package/lib/src/business/ap-keep-alive/utils.d.ts +22 -0
  370. package/lib/src/business/ap-keep-alive/utils.js +1 -0
  371. package/lib/src/business/ap-label/ApLabel.d.ts +1 -1
  372. package/lib/src/business/ap-label/constans.js +1 -1
  373. package/lib/src/business/ap-label/group/ApLabelGroup.js +1 -1
  374. package/lib/src/business/ap-label/index.d.ts +3 -3
  375. package/lib/src/business/ap-label/interface.d.ts +2 -3
  376. package/lib/src/business/ap-ladder/ApLadder.d.ts +1 -1
  377. package/lib/src/business/ap-ladder/index.d.ts +3 -3
  378. package/lib/src/business/ap-product-info/ApProductInfo.d.ts +9 -0
  379. package/lib/src/business/ap-product-info/ApProductInfo.js +1 -1
  380. package/lib/src/business/ap-product-info/constans.d.ts +4 -0
  381. package/lib/src/business/ap-product-info/constans.js +1 -1
  382. package/lib/src/business/ap-product-info/index.d.ts +15 -0
  383. package/lib/src/business/ap-product-info/interface.d.ts +1 -0
  384. package/lib/src/business/ap-radio-group/ap-radio-group.vue.d.ts +19 -0
  385. package/lib/src/business/ap-radio-group/ap-radio-group.vue.js +1 -0
  386. package/lib/src/business/ap-radio-group/ap-radio-group.vue2.js +1 -0
  387. package/lib/src/business/ap-radio-group/index.d.ts +60 -0
  388. package/lib/src/business/ap-radio-group/index.js +1 -0
  389. package/lib/src/business/ap-radio-group/interface.d.ts +11 -0
  390. package/lib/src/business/ap-radio-group/interface.js +1 -0
  391. package/lib/src/business/ap-radio-group/style/css.cjs +1 -0
  392. package/lib/src/business/ap-radio-group/style/css.d.ts +0 -0
  393. package/lib/src/business/ap-radio-group/style/index.cjs +1 -0
  394. package/lib/src/business/ap-radio-group/style/index.d.ts +0 -0
  395. package/lib/src/business/ap-status/interface.d.ts +1 -1
  396. package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +4 -1
  397. package/lib/src/business/ap-table-modal/hooks/use-table-modal.d.ts +4 -1
  398. package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +4 -1
  399. package/lib/src/business/ap-table-modal/index.d.ts +32 -5
  400. package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +14 -3
  401. package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
  402. package/lib/src/business/ap-view/ap-view.vue.d.ts +5 -1
  403. package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
  404. package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +1 -1
  405. package/lib/src/business/ap-view/components/main-button-content.vue2.js +1 -1
  406. package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +1 -1
  407. package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -1
  408. package/lib/src/business/ap-view/hooks/use-view-provide.d.ts +1 -0
  409. package/lib/src/business/ap-view/index.d.ts +15 -3
  410. package/lib/src/business/ap-view/interface.d.ts +11 -0
  411. package/lib/src/business/batch-input-group/form-item.vue.d.ts +1 -1
  412. package/lib/src/business/batch-input-group/form-item.vue.js +1 -1
  413. package/lib/src/business/batch-input-group/index.vue.d.ts +1 -1
  414. package/lib/src/business/batch-input-group/index.vue.js +2 -2
  415. package/lib/src/business/hooks/usePageListApGrid.js +1 -1
  416. package/lib/src/business/hooks/usePageListApTable.d.ts +4 -1
  417. package/lib/src/business/index.d.ts +3 -0
  418. package/lib/src/business/index.js +1 -1
  419. package/lib/src/check-card/group.vue.d.ts +1 -1
  420. package/lib/src/components.d.ts +1 -0
  421. package/lib/src/config-provider/config-provider-props.d.ts +0 -5
  422. package/lib/src/config-provider/config-provider-props.js +1 -1
  423. package/lib/src/config-provider/config-provider.d.ts +0 -138
  424. package/lib/src/config-provider/config-provider.js +1 -1
  425. package/lib/src/config-provider/hooks/use-global-config.d.ts +0 -5
  426. package/lib/src/config-provider/index.d.ts +0 -652
  427. package/lib/src/editable-table/form-item.vue.d.ts +2 -14
  428. package/lib/src/editable-table/form-item.vue.js +1 -1
  429. package/lib/src/editable-table/index.vue.d.ts +2 -16
  430. package/lib/src/editable-table/index.vue.js +1 -1
  431. package/lib/src/editable-table/interface.d.ts +7 -0
  432. package/lib/src/full-screen/interface.d.ts +5 -6
  433. package/lib/src/index.js +1 -1
  434. package/lib/src/locale/lang/en.js +1 -1
  435. package/lib/src/locale/lang/zh-cn.js +1 -1
  436. package/lib/src/mask/index.vue.js +1 -1
  437. package/lib/src/path-map.js +1 -1
  438. package/lib/src/resize-observer/interface.d.ts +2 -3
  439. package/lib/src/scroll-bar/interface.d.ts +7 -7
  440. package/lib/src/scroll-view/interface.d.ts +2 -3
  441. package/lib/src/splitter/SplitBar.vue2.js +1 -1
  442. package/lib/src/splitter/Splitter.vue2.js +1 -1
  443. package/lib/src/tests/mock-resize-observer.d.ts +2 -0
  444. package/lib/src/tests/utils.d.ts +8 -0
  445. package/lib/src/text/group.vue.js +1 -1
  446. package/lib/src/text/index.vue.js +1 -1
  447. package/lib/src/version.d.ts +2 -0
  448. package/lib/src/version.js +1 -0
  449. package/lib/src/work-order-modal/createWorkOrder.d.ts +2 -1
  450. package/lib/src/work-order-modal/createWorkOrder.js +1 -1
  451. package/lib/src/work-order-modal/interfaces.d.ts +4 -0
  452. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
  453. package/lib/src/work-order-modal/work-order-modal.vue.js +1 -1
  454. package/lib/test/setup.d.ts +5 -0
  455. package/package.json +18 -14
  456. package/theme/antd-global-overwrite/admin/alert.css +6 -19
  457. package/theme/antd-global-overwrite/admin/alert.less +25 -36
  458. package/theme/antd-global-overwrite/admin/button.css +13 -13
  459. package/theme/antd-global-overwrite/admin/button.less +24 -24
  460. package/theme/antd-global-overwrite/admin/field.css +39 -0
  461. package/theme/antd-global-overwrite/admin/field.less +39 -0
  462. package/theme/antd-global-overwrite/admin/index.css +89 -646
  463. package/theme/antd-global-overwrite/admin/index.less +2 -3
  464. package/theme/antd-global-overwrite/admin/message.css +2 -9
  465. package/theme/antd-global-overwrite/admin/message.less +2 -10
  466. package/theme/antd-global-overwrite/admin/modal.css +15 -48
  467. package/theme/antd-global-overwrite/admin/modal.less +13 -54
  468. package/theme/antd-global-overwrite/admin/table.css +11 -251
  469. package/theme/antd-global-overwrite/admin/table.less +4 -132
  470. package/theme/antd-global-overwrite/admin/tooltip.css +3 -0
  471. package/theme/antd-global-overwrite/admin/tooltip.less +3 -0
  472. package/theme/antd-global-overwrite/aplus/alert.css +9 -19
  473. package/theme/antd-global-overwrite/aplus/alert.less +27 -34
  474. package/theme/antd-global-overwrite/aplus/button.css +20 -20
  475. package/theme/antd-global-overwrite/aplus/button.less +24 -24
  476. package/theme/antd-global-overwrite/aplus/field.css +33 -0
  477. package/theme/antd-global-overwrite/aplus/field.less +32 -0
  478. package/theme/antd-global-overwrite/aplus/index.css +91 -690
  479. package/theme/antd-global-overwrite/aplus/index.less +1 -3
  480. package/theme/antd-global-overwrite/aplus/message.css +2 -9
  481. package/theme/antd-global-overwrite/aplus/message.less +2 -10
  482. package/theme/antd-global-overwrite/aplus/modal.css +15 -49
  483. package/theme/antd-global-overwrite/aplus/modal.less +14 -58
  484. package/theme/antd-global-overwrite/aplus/table.css +11 -236
  485. package/theme/antd-global-overwrite/aplus/table.less +4 -134
  486. package/theme/antd-global-overwrite/aplus/tooltip.css +3 -0
  487. package/theme/antd-global-overwrite/aplus/tooltip.less +3 -0
  488. package/theme/ap-action/item-dropdown.css +19 -1
  489. package/theme/ap-action/item.css +37 -8
  490. package/theme/ap-action/item.less +18 -6
  491. package/theme/ap-appendix/ap-appendix.css +27 -9
  492. package/theme/ap-appendix/ap-appendix.less +8 -8
  493. package/theme/ap-attachment/ap-attachment.css +21 -2
  494. package/theme/ap-attachment/ap-attachment.less +2 -2
  495. package/theme/ap-batch-action/ap-batch-action.css +22 -4
  496. package/theme/ap-batch-action/ap-batch-action.less +3 -3
  497. package/theme/ap-button/ap-button.css +19 -1
  498. package/theme/ap-card/ap-card.css +20 -2
  499. package/theme/ap-card/ap-card.less +1 -1
  500. package/theme/ap-copy/ap-copy.css +96 -0
  501. package/theme/ap-copy/ap-copy.less +61 -0
  502. package/theme/ap-descriptions/ap-descriptions.css +25 -5
  503. package/theme/ap-descriptions/ap-descriptions.less +6 -4
  504. package/theme/ap-download/ap-download.css +19 -1
  505. package/theme/ap-drawer/ap-drawer.css +75 -0
  506. package/theme/ap-drawer/ap-drawer.less +42 -0
  507. package/theme/ap-expand-alert/ap-expand-alert.css +21 -2
  508. package/theme/ap-expand-alert/ap-expand-alert.less +2 -1
  509. package/theme/ap-field/checkbox.css +19 -1
  510. package/theme/ap-field/index.css +19 -1
  511. package/theme/ap-field/number.css +19 -1
  512. package/theme/ap-field/radio.css +19 -1
  513. package/theme/ap-field/text-area.css +19 -1
  514. package/theme/ap-form/ap-form-item-group.css +19 -1
  515. package/theme/ap-form/ap-form-item.css +30 -9
  516. package/theme/ap-form/ap-form-item.less +15 -9
  517. package/theme/ap-form/drawer-form.css +19 -1
  518. package/theme/ap-form/index.css +51 -18
  519. package/theme/ap-form/item-text-group.css +19 -1
  520. package/theme/ap-form/item-text.css +19 -1
  521. package/theme/ap-form/modal-form.css +19 -1
  522. package/theme/ap-form/search-form-sorter.css +28 -9
  523. package/theme/ap-form/search-form-sorter.less +5 -4
  524. package/theme/ap-form/search-form.css +51 -18
  525. package/theme/ap-form/search-form.less +12 -1
  526. package/theme/ap-grid/editable.css +19 -1
  527. package/theme/ap-grid/index.css +118 -31
  528. package/theme/ap-grid/index.less +34 -5
  529. package/theme/ap-group-search/ap-extension-select.css +19 -1
  530. package/theme/ap-group-search/ap-group-search.css +19 -1
  531. package/theme/ap-group-search/ap-popover-select.css +19 -1
  532. package/theme/ap-image/ap-image.css +19 -1
  533. package/theme/ap-input-radio/ap-input-radio.css +19 -1
  534. package/theme/ap-label/ap-label.css +19 -1
  535. package/theme/ap-ladder/ap-ladder.css +20 -1
  536. package/theme/ap-ladder/ap-ladder.less +1 -0
  537. package/theme/ap-layout/ap-info-layout.css +19 -1
  538. package/theme/ap-list/index.css +19 -1
  539. package/theme/ap-product-info/ap-product-info.css +39 -31
  540. package/theme/ap-product-info/ap-product-info.less +28 -42
  541. package/theme/ap-radio-group/ap-radio-group.css +65 -0
  542. package/theme/ap-radio-group/ap-radio-group.less +25 -0
  543. package/theme/ap-select-layout/ap-select-layout.css +19 -1
  544. package/theme/ap-size-input/ap-size-input.css +19 -1
  545. package/theme/ap-status/ap-status.css +20 -2
  546. package/theme/ap-status/ap-status.less +1 -1
  547. package/theme/ap-summary/index.css +19 -1
  548. package/theme/ap-table/ap-table-index.css +19 -1
  549. package/theme/ap-table/ap-table-paragraph-ellipsis.css +20 -2
  550. package/theme/ap-table/ap-table-paragraph-ellipsis.less +1 -1
  551. package/theme/ap-table/ap-table.css +127 -50
  552. package/theme/ap-table/ap-table.less +24 -11
  553. package/theme/ap-table/setting/index.css +35 -13
  554. package/theme/ap-table/setting/modal.css +26 -5
  555. package/theme/ap-table/setting/modal.less +6 -3
  556. package/theme/ap-table/setting/select-group.css +21 -2
  557. package/theme/ap-table/setting/select-group.less +2 -1
  558. package/theme/ap-table/setting/sortable-item-meta.css +21 -3
  559. package/theme/ap-table/setting/sortable-item-meta.less +2 -2
  560. package/theme/ap-table/setting/sortable-item.css +19 -1
  561. package/theme/ap-table/setting/sorter.css +24 -6
  562. package/theme/ap-table/setting/sorter.less +4 -4
  563. package/theme/ap-table-modal/index.css +142 -63
  564. package/theme/ap-table-modal/index.less +15 -13
  565. package/theme/ap-tag/ap-tag-group.css +21 -3
  566. package/theme/ap-tag/ap-tag-group.less +2 -3
  567. package/theme/ap-tag/ap-tag.css +23 -5
  568. package/theme/ap-tag/ap-tag.less +4 -4
  569. package/theme/ap-title/ap-title.css +24 -4
  570. package/theme/ap-title/ap-title.less +5 -3
  571. package/theme/ap-upload/index.css +24 -6
  572. package/theme/ap-upload/multiple-file.css +20 -2
  573. package/theme/ap-upload/multiple-file.less +1 -1
  574. package/theme/ap-upload/picture.css +21 -3
  575. package/theme/ap-upload/picture.less +2 -2
  576. package/theme/ap-upload/single-file.css +21 -3
  577. package/theme/ap-upload/single-file.less +2 -2
  578. package/theme/ap-upload/upload.css +19 -1
  579. package/theme/ap-upload-single/index.css +23 -5
  580. package/theme/ap-upload-single/index.less +4 -4
  581. package/theme/ap-view/ap-view.css +26 -8
  582. package/theme/ap-view/ap-view.less +7 -7
  583. package/theme/batch-input-group/index.css +22 -3
  584. package/theme/batch-input-group/popover-input.css +22 -3
  585. package/theme/batch-input-group/popover-input.less +3 -2
  586. package/theme/check-card/index.css +27 -9
  587. package/theme/check-card/index.less +5 -5
  588. package/theme/editable-table/index.css +69 -25
  589. package/theme/full-screen/index.css +19 -1
  590. package/theme/index.css +439 -163
  591. package/theme/index.less +4 -0
  592. package/theme/mask/index.css +19 -1
  593. package/theme/mixins/config.less +1 -1
  594. package/theme/mixins/mixins.css +19 -1
  595. package/theme/mixins/mixins.less +25 -0
  596. package/theme/scroll-bar/index.css +19 -1
  597. package/theme/scroll-view/index.css +19 -1
  598. package/theme/splitter/index.css +24 -6
  599. package/theme/splitter/index.less +1 -1
  600. package/theme/text/group.css +19 -1
  601. package/theme/text/index.css +24 -6
  602. package/theme/text/index.less +4 -4
  603. package/theme/ui-mode.css +58 -0
  604. package/theme/ui-mode.less +107 -0
  605. package/theme/work-order-modal/index.css +19 -1
  606. package/es/src/config-provider/css-var.d.ts +0 -139
  607. package/es/src/config-provider/css-var.mjs +0 -278
  608. package/lib/src/config-provider/css-var.d.ts +0 -139
  609. package/lib/src/config-provider/css-var.js +0 -1
@@ -1,25 +1,25 @@
1
- import { isVNode as ee, defineComponent as te, useSlots as oe, ref as ae, shallowRef as j, computed as _, unref as n, watch as L, createVNode as t, Fragment as w, createBlock as x, openBlock as d, mergeProps as ne, withCtx as F, resolveDynamicComponent as A, createElementBlock as le, renderList as re } from "vue";
2
- import { Col as R, Flex as B, Button as U, Row as se } from "@aplus-frontend/antdv";
1
+ import { isVNode as oe, defineComponent as ae, useSlots as ne, ref as L, shallowRef as U, computed as _, unref as a, watch as V, createVNode as t, Fragment as w, createBlock as y, openBlock as f, mergeProps as le, withCtx as A, resolveDynamicComponent as B, createElementBlock as re, renderList as se } from "vue";
2
+ import { Col as R, Flex as N, Button as W, Row as ie } from "@aplus-frontend/antdv";
3
3
  import "../ap-form.vue.mjs";
4
4
  import "../item/index.vue2.mjs";
5
- import { genRealChildren as V } from "../item-group/helper.mjs";
5
+ import { genRealChildren as M } from "../item-group/helper.mjs";
6
6
  import "../../config-provider/index.mjs";
7
- import { isArray as ie, isBoolean as ue, omit as ce } from "lodash-unified";
8
- import { isDef as M } from "../../utils/index.mjs";
9
- import { execFunc as W, diffFormItem as pe } from "./utils.mjs";
7
+ import { isArray as ue, isBoolean as ce, omit as pe } from "lodash-unified";
8
+ import { isDef as z } from "../../utils/index.mjs";
9
+ import { execFunc as D, diffFormItem as de } from "./utils.mjs";
10
10
  import "./components/popover-filter.vue.mjs";
11
- import { useCountPerRow as de } from "./hooks/use-count-per-row.mjs";
11
+ import { useCountPerRow as fe } from "./hooks/use-count-per-row.mjs";
12
12
  import "./components/popover-sorter/index.vue.mjs";
13
- import { useNamespace as fe } from "../../config-provider/hooks/use-namespace.mjs";
14
- import { useLocale as me } from "../../config-provider/hooks/use-locale.mjs";
15
- import D from "../item/index.vue.mjs";
16
- import he from "./components/popover-filter.vue2.mjs";
17
- import xe from "./components/popover-sorter/index.vue2.mjs";
18
- import ye from "../ap-form.vue2.mjs";
19
- function ge(f) {
20
- return typeof f == "function" || Object.prototype.toString.call(f) === "[object Object]" && !ee(f);
13
+ import { useNamespace as me } from "../../config-provider/hooks/use-namespace.mjs";
14
+ import { useLocale as he } from "../../config-provider/hooks/use-locale.mjs";
15
+ import q from "../item/index.vue.mjs";
16
+ import xe from "./components/popover-filter.vue2.mjs";
17
+ import ye from "./components/popover-sorter/index.vue2.mjs";
18
+ import ge from "../ap-form.vue2.mjs";
19
+ function ve(m) {
20
+ return typeof m == "function" || Object.prototype.toString.call(m) === "[object Object]" && !oe(m);
21
21
  }
22
- const s = 24, Le = /* @__PURE__ */ te({
22
+ const s = 24, Ue = /* @__PURE__ */ ae({
23
23
  name: "ApFormSearchForm",
24
24
  __name: "index",
25
25
  props: {
@@ -108,142 +108,144 @@ const s = 24, Le = /* @__PURE__ */ te({
108
108
  sortable: {
109
109
  type: Boolean,
110
110
  default: !0
111
- }
111
+ },
112
+ resizeTarget: {}
112
113
  },
113
- setup(f, {
114
- expose: q
114
+ setup(m, {
115
+ expose: H
115
116
  }) {
116
- var E;
117
- const i = oe(), o = f, {
118
- b: m
119
- } = fe("ap-form-search-form"), {
120
- t: N
121
- } = me(), z = de(o), y = ae();
122
- function k() {
123
- var a;
124
- const e = (a = y.value) == null ? void 0 : a.getFieldsValueTransformed(!0);
125
- W(o.onSubmit, e);
117
+ var P;
118
+ const i = ne(), o = m, {
119
+ b: h
120
+ } = me("ap-form-search-form"), {
121
+ t: k
122
+ } = he(), G = fe(o), g = L();
123
+ function T() {
124
+ var n;
125
+ const e = (n = g.value) == null ? void 0 : n.getFieldsValueTransformed(!0);
126
+ D(o.onSubmit, e);
126
127
  }
127
- function H() {
128
- var e, a;
129
- o.customReset || (a = (e = y.value) == null ? void 0 : e.resetFields) == null || a.call(e), W(o.onReset);
128
+ function J() {
129
+ var e, n;
130
+ o.customReset || (n = (e = g.value) == null ? void 0 : e.resetFields) == null || n.call(e), D(o.onReset);
130
131
  }
131
- const G = (e) => M(e) ? (ie(e) ? e : [e]).join("") : Date.now();
132
+ const K = (e) => z(e) ? (ue(e) ? e : [e]).join("") : Date.now();
132
133
  let I = [];
133
- const u = j(V(i.default())), c = j((E = i.extra) == null ? void 0 : E.call(i)), T = _(() => Math.floor(s / n(z)));
134
- L(() => i.default(), (e) => {
135
- I = u.value, u.value = pe(I, V(e));
136
- }), L(() => {
134
+ const u = U(M(i.default())), b = L(!1), p = U((P = i.extra) == null ? void 0 : P.call(i)), E = _(() => Math.floor(s / a(G)));
135
+ V(() => i.default(), (e) => {
136
+ I = u.value, u.value = de(I, M(e)), b.value = !1;
137
+ }), V(() => {
137
138
  var e;
138
139
  return (e = i.extra) == null ? void 0 : e.call(i);
139
140
  }, (e) => {
140
- c.value = e;
141
+ p.value = e;
141
142
  });
142
143
  const l = _(() => {
143
- const e = u.value, a = [], r = [], g = [], h = n(T);
144
- let v = 0, b = 0;
145
- const Q = s * o.maxRows - h * (n(c) && !o.extraInAction ? 2 : 1);
146
- e.forEach((S, Z) => {
147
- const p = S.props;
148
- if (ue(p.hidden) ? !!p.hidden : M(p.hidden))
149
- a.push(S);
144
+ const e = u.value, n = [], r = [], x = [], c = a(E);
145
+ let v = 0, S = 0;
146
+ const Y = s * o.maxRows - c * (a(p) && !o.extraInAction ? 2 : 1);
147
+ e.forEach((F, te) => {
148
+ const d = F.props;
149
+ if (ce(d.hidden) ? !!d.hidden : z(d.hidden))
150
+ n.push(F);
150
151
  else {
151
- let C = p.span || h;
152
- const O = {
153
- node: S,
152
+ let C = d.span || c;
153
+ const $ = {
154
+ node: F,
154
155
  span: C,
155
- key: `ApFormSearchFormItem-${Z}-${G(p.name)}-${p._signal}`
156
- }, $ = s - v % s;
157
- $ < C && (C += $), v += C, v > Q ? r.push(O) : (b = v, g.push(O));
156
+ key: `ApFormSearchFormItem-${te}-${K(d.name)}-${d._signal}`
157
+ }, j = s - v % s;
158
+ j < C && (C += j), v += C, v > Y ? r.push($) : (S = v, x.push($));
158
159
  }
159
160
  });
160
- const P = s - (b + h) % s, X = b % s < h, Y = P < h ? s : P;
161
+ const O = s - (S + c) % s, Z = S % s < c, ee = O < c ? s : O;
161
162
  return {
162
- hideNode: t(w, null, [a]),
163
- nodes: g,
163
+ hideNode: t(w, null, [n]),
164
+ nodes: x,
164
165
  collapseNodes: r,
165
- extraSpan: Y,
166
- lastRowOnlyIncludeActionAndExtra: X
166
+ extraSpan: ee,
167
+ lastRowOnlyIncludeActionAndExtra: Z
167
168
  };
168
169
  });
169
- function J(e) {
170
- u.value = [...e];
170
+ function Q(e) {
171
+ u.value = [...e], b.value = !0;
171
172
  }
172
- const K = _(() => {
173
+ const X = _(() => {
173
174
  let e;
174
- const a = t(R, {
175
- span: n(T),
175
+ const n = l.value.collapseNodes.length || o.sortable && u.value.length, r = t(R, {
176
+ span: a(E),
176
177
  key: "actionWrapper"
177
178
  }, {
178
- default: () => [t(D, null, {
179
- default: () => [t(B, {
179
+ default: () => [t(q, null, {
180
+ default: () => [t(N, {
180
181
  wrap: "wrap",
181
- justify: l.value.lastRowOnlyIncludeActionAndExtra && !(n(c) && o.extraInAction) ? "flex-end" : "space-between"
182
+ justify: l.value.lastRowOnlyIncludeActionAndExtra && !(a(p) && o.extraInAction) ? "flex-end" : "space-between"
182
183
  }, {
183
- default: () => [t(B, {
184
+ default: () => [t(N, {
184
185
  gap: 8,
185
186
  wrap: "wrap"
186
187
  }, {
187
- default: () => [t("div", {
188
- class: m("column-setting-trigger-wrapper")
189
- }, [l.value.collapseNodes.length ? t(he, {
190
- onSubmit: k,
188
+ default: () => [n ? t("div", {
189
+ class: h("column-setting-trigger-wrapper")
190
+ }, [l.value.collapseNodes.length ? t(xe, {
191
+ onSubmit: T,
191
192
  config: l.value.collapseNodes,
192
193
  submitLoading: o.submitLoading
193
- }, null) : null, o.sortable && u.value.length ? t(xe, {
194
+ }, null) : null, o.sortable && u.value.length ? t(ye, {
194
195
  children: u.value,
195
- onClickConfirm: J
196
- }, null) : null]), t(U, {
196
+ onClickConfirm: Q,
197
+ sorted: b.value
198
+ }, null) : null]) : null, t(W, {
197
199
  type: "primary",
198
- onClick: k,
200
+ onClick: T,
199
201
  loading: o.submitLoading,
200
202
  htmlType: "submit",
201
- class: m("action-btn")
203
+ class: h("action-btn")
202
204
  }, {
203
- default: () => [o.searchText || N("ap.apForm.search.search")]
204
- }), t(U, {
205
- onClick: H,
205
+ default: () => [o.searchText || k("ap.apForm.search.search")]
206
+ }), t(W, {
207
+ onClick: J,
206
208
  type: "text",
207
- class: [m("action-btn"), m("action-btn-reset")]
209
+ class: [h("action-btn"), h("action-btn-reset")]
208
210
  }, {
209
- default: () => [o.resetText || N("ap.apForm.search.reset")]
211
+ default: () => [o.resetText || k("ap.apForm.search.reset")]
210
212
  })]
211
- }), o.extraInAction ? n(c) : null]
213
+ }), o.extraInAction ? a(p) : null]
212
214
  })]
213
215
  })]
214
- }), r = !o.extraInAction && n(c) ? t(R, {
216
+ }), x = !o.extraInAction && a(p) ? t(R, {
215
217
  span: l.value.extraSpan,
216
218
  key: "extraNode"
217
219
  }, {
218
- default: () => [t(D, null, {
219
- default: () => [t(B, {
220
+ default: () => [t(q, null, {
221
+ default: () => [t(N, {
220
222
  justify: l.value.extraSpan === s || l.value.lastRowOnlyIncludeActionAndExtra ? "start" : "flex-end"
221
- }, ge(e = n(c)) ? e : {
223
+ }, ve(e = a(p)) ? e : {
222
224
  default: () => [e]
223
225
  })]
224
226
  })]
225
- }) : null, g = t(R, {
227
+ }) : null, c = t(R, {
226
228
  span: l.value.extraSpan
227
229
  }, null);
228
- return l.value.lastRowOnlyIncludeActionAndExtra ? t(w, null, [r || g, a]) : t(w, null, [a, r]);
230
+ return l.value.lastRowOnlyIncludeActionAndExtra ? t(w, null, [x || c, r]) : t(w, null, [r, x]);
229
231
  });
230
- return q({
231
- apForm: _(() => n(y))
232
- }), (e, a) => (d(), x(ye, ne({
232
+ return H({
233
+ apForm: _(() => a(g))
234
+ }), (e, n) => (f(), y(ge, le({
233
235
  ref_key: "apForm",
234
- ref: y,
235
- class: n(m)()
236
- }, n(ce)(o, ["collapse", "defaultCollapse", "onUpdate:collapse", "searchText", "resetText", "onSubmit", "onReset", "extraInAction", "forceExpand", "countPerRow"])), {
237
- default: F(() => [(d(), x(A(l.value.hideNode))), t(n(se), {
236
+ ref: g,
237
+ class: a(h)()
238
+ }, a(pe)(o, ["collapse", "defaultCollapse", "onUpdate:collapse", "searchText", "resetText", "onSubmit", "onReset", "extraInAction", "forceExpand", "countPerRow"])), {
239
+ default: A(() => [(f(), y(B(l.value.hideNode))), t(a(ie), {
238
240
  gutter: 8
239
241
  }, {
240
- default: F(() => [(d(!0), le(w, null, re(l.value.nodes, (r) => (d(), x(n(R), {
242
+ default: A(() => [(f(!0), re(w, null, se(l.value.nodes, (r) => (f(), y(a(R), {
241
243
  key: r.key,
242
244
  span: r.span
243
245
  }, {
244
- default: F(() => [(d(), x(A(r.node)))]),
246
+ default: A(() => [(f(), y(B(r.node)))]),
245
247
  _: 2
246
- }, 1032, ["span"]))), 128)), (d(), x(A(K.value)))]),
248
+ }, 1032, ["span"]))), 128)), (f(), y(B(X.value)))]),
247
249
  _: 1
248
250
  })]),
249
251
  _: 1
@@ -251,5 +253,5 @@ const s = 24, Le = /* @__PURE__ */ te({
251
253
  }
252
254
  });
253
255
  export {
254
- Le as default
256
+ Ue as default
255
257
  };
@@ -1,8 +1,9 @@
1
- import { defineComponent as c, useSlots as u, ref as f, watchEffect as p, cloneVNode as d, onMounted as V, createElementBlock as _, openBlock as m, Fragment as y, renderList as k, createBlock as F, resolveDynamicComponent as h } from "vue";
1
+ import { defineComponent as c, useSlots as u, ref as f, watchEffect as p, cloneVNode as d, onMounted as V, createElementBlock as _, openBlock as l, Fragment as y, renderList as F, createBlock as k, resolveDynamicComponent as h } from "vue";
2
2
  import { useInjectForm as v } from "../context.mjs";
3
3
  import { isFunction as w, cloneDeep as x } from "lodash-unified";
4
4
  import { isPromise as B } from "@fruits-chain/utils";
5
- const j = /* @__PURE__ */ c({
5
+ const S = /* @__PURE__ */ c({
6
+ name: "ApFormSet",
6
7
  __name: "index",
7
8
  props: {
8
9
  name: {},
@@ -11,11 +12,11 @@ const j = /* @__PURE__ */ c({
11
12
  transform: {}
12
13
  },
13
14
  setup(s) {
14
- const { internalInstance: t } = v(), a = u(), e = s, l = f([]);
15
+ const { internalInstance: t } = v(), a = u(), e = s, m = f([]);
15
16
  return p(() => {
16
17
  if (a != null && a.default) {
17
18
  const n = a.default();
18
- l.value = n.map((r, o) => {
19
+ m.value = n.map((r, o) => {
19
20
  const i = e.as === "array" ? [e.name, o] : [e.name, r.props.name];
20
21
  return d(r, { name: i });
21
22
  });
@@ -27,9 +28,9 @@ const j = /* @__PURE__ */ c({
27
28
  initialValue: x(n),
28
29
  transform: e.transform
29
30
  });
30
- }), (n, r) => (m(!0), _(y, null, k(l.value, (o, i) => (m(), F(h(o), { key: i }))), 128));
31
+ }), (n, r) => (l(!0), _(y, null, F(m.value, (o, i) => (l(), k(h(o), { key: i }))), 128));
31
32
  }
32
33
  });
33
34
  export {
34
- j as default
35
+ S as default
35
36
  };
@@ -1,10 +1,10 @@
1
1
  export declare const sizeMap: {
2
2
  readonly mini: "small";
3
3
  readonly small: "small";
4
- readonly medium: "small";
4
+ readonly medium: "middle";
5
5
  };
6
6
  export declare const sizeReverseMap: {
7
- readonly small: "medium";
8
- readonly middle: undefined;
7
+ readonly small: "mini";
8
+ readonly middle: "medium";
9
9
  };
10
10
  export declare const ROW_SELECTION_FIELD = "_ap-grid-row-selection-field";
@@ -1,13 +1,13 @@
1
- const l = {
1
+ const e = {
2
2
  mini: "small",
3
3
  small: "small",
4
- medium: "small"
5
- }, e = {
6
- small: "medium",
7
- middle: void 0
8
- }, s = "_ap-grid-row-selection-field";
4
+ medium: "middle"
5
+ }, i = {
6
+ small: "mini",
7
+ middle: "medium"
8
+ }, l = "_ap-grid-row-selection-field";
9
9
  export {
10
- s as ROW_SELECTION_FIELD,
11
- l as sizeMap,
12
- e as sizeReverseMap
10
+ l as ROW_SELECTION_FIELD,
11
+ e as sizeMap,
12
+ i as sizeReverseMap
13
13
  };
@@ -1,16 +1,16 @@
1
- import { defineComponent as P, useSlots as A, toRef as H, ref as h, unref as u, watch as K, nextTick as W, createBlock as G, openBlock as U, mergeProps as g, withCtx as y, createVNode as $, createSlots as q, renderList as J, renderSlot as Q, normalizeProps as X, guardReactiveProps as Y } from "vue";
1
+ import { defineComponent as P, useSlots as A, toRef as W, ref as h, unref as r, watch as G, nextTick as U, createBlock as $, openBlock as q, mergeProps as y, withCtx as g, createVNode as J, createSlots as Q, renderList as X, renderSlot as Y, normalizeProps as Z, guardReactiveProps as I } from "vue";
2
2
  import { ApForm as C } from "../../ap-form/index.mjs";
3
- import { isArray as Z, isUndefined as I, isNumber as m, cloneDeep as M, omit as ee } from "lodash-unified";
3
+ import { isArray as w, isUndefined as M, isNumber as m, cloneDeep as ee, omit as oe } from "lodash-unified";
4
4
  import "../../config-provider/index.mjs";
5
- import { isDef as w } from "../../utils/index.mjs";
6
- import { useGetEditableColumns as oe } from "../hooks/use-editable-columns.mjs";
5
+ import { isDef as b } from "../../utils/index.mjs";
6
+ import { useGetEditableColumns as te } from "../hooks/use-editable-columns.mjs";
7
7
  import "../index.vue2.mjs";
8
- import { useInjectForm as te } from "../../ap-form/context.mjs";
9
- import { useNamespace as ae } from "../../config-provider/hooks/use-namespace.mjs";
10
- import { useGlobalConfig as le } from "../../config-provider/hooks/use-global-config.mjs";
11
- import ne from "../index.vue.mjs";
12
- const ye = /* @__PURE__ */ P({
13
- name: "EditableGrid",
8
+ import { useInjectForm as ae } from "../../ap-form/context.mjs";
9
+ import { useNamespace as le } from "../../config-provider/hooks/use-namespace.mjs";
10
+ import { useGlobalConfig as ne } from "../../config-provider/hooks/use-global-config.mjs";
11
+ import fe from "../index.vue.mjs";
12
+ const Ce = /* @__PURE__ */ P({
13
+ name: "EditableGridFormItem",
14
14
  __name: "form-item",
15
15
  props: {
16
16
  dropdownPrefixCls: {},
@@ -108,6 +108,9 @@ const ye = /* @__PURE__ */ P({
108
108
  loadingConfig: {},
109
109
  headerCellConfig: {},
110
110
  footerCellConfig: {},
111
+ round: {
112
+ type: Boolean
113
+ },
111
114
  rowSelection: {
112
115
  type: Boolean,
113
116
  default: void 0
@@ -142,6 +145,9 @@ const ye = /* @__PURE__ */ P({
142
145
  },
143
146
  expandable: {},
144
147
  value: {},
148
+ rowHighlightable: {
149
+ type: [Boolean, Function]
150
+ },
145
151
  columns: {},
146
152
  defaultValue: {},
147
153
  "onUpdate:value": {},
@@ -154,126 +160,134 @@ const ye = /* @__PURE__ */ P({
154
160
  default: () => ({})
155
161
  }
156
162
  },
157
- setup(b, {
158
- expose: x
163
+ setup(x, {
164
+ expose: R
159
165
  }) {
160
- const R = A(), l = b, {
161
- b: B
162
- } = ae("editable-grid");
163
- function S(e, o) {
164
- return Z(o) ? o.reduce((n, a) => n == null ? void 0 : n[a], e) : e == null ? void 0 : e[o];
166
+ const B = A(), l = x, {
167
+ b: S
168
+ } = le("editable-grid");
169
+ function F(e, t) {
170
+ return w(t) ? t.reduce((n, a) => n == null ? void 0 : n[a], e) : e == null ? void 0 : e[t];
165
171
  }
166
172
  const {
167
- internalInstance: t,
168
- model: F
169
- } = te(), p = H(l.name), d = h(S(u(F), p.value) || []), N = C.useWatch(p);
170
- K(() => N.value, async (e) => {
171
- var o;
172
- await W(), d.value = e, (o = l.onChange) == null || o.call(l, e);
173
+ internalInstance: o,
174
+ model: v
175
+ } = ae(), p = W(l.name), d = h(F(r(v), p.value) || []), N = C.useWatch(p);
176
+ G(() => N.value, async (e) => {
177
+ var t;
178
+ await U(), d.value = e, (t = l.onChange) == null || t.call(l, e);
173
179
  }, {
174
180
  deep: !0
175
181
  });
176
- const c = h(), v = le("valueTypeMap"), k = oe(l, v);
177
- function D(e, o) {
178
- var s;
179
- const n = ((s = u(d)) == null ? void 0 : s.length) || 0;
180
- if (w(l.maxLength) && n >= l.maxLength)
182
+ const c = h(), D = ne("valueTypeMap"), V = te(l, D);
183
+ function L(e, t) {
184
+ var f;
185
+ const n = ((f = r(d)) == null ? void 0 : f.length) || 0;
186
+ if (b(l.maxLength) && n >= l.maxLength)
181
187
  return;
182
188
  const a = {
183
189
  ...e || {}
184
190
  };
185
- t == null || t.setFieldValue(l.name, a, !0, (r, f) => {
186
- if (!r[f]) {
187
- r[f] = [a];
191
+ o == null || o.setFieldValue(l.name, a, !0, (s, u) => {
192
+ if (!s[u]) {
193
+ s[u] = [a];
188
194
  return;
189
195
  }
190
- I(o) ? r[f].push(a) : r[f].splice(o, 0, a);
196
+ M(t) ? s[u].push(a) : s[u].splice(t, 0, a);
191
197
  });
192
198
  }
193
- function L(e, o = "suffix") {
194
- var r;
195
- const n = ((r = u(d)) == null ? void 0 : r.length) || 0, a = m(e) ? e : e.length;
196
- if (w(l.maxLength) && n + a > l.maxLength)
199
+ function T(e, t = "suffix") {
200
+ var s;
201
+ const n = ((s = r(d)) == null ? void 0 : s.length) || 0, a = m(e) ? e : e.length;
202
+ if (b(l.maxLength) && n + a > l.maxLength)
197
203
  return;
198
- const s = m(e) ? new Array(e).fill(0).map(() => ({})) : M(e);
199
- t == null || t.setFieldValue(l.name, s, !0, (f, i) => {
200
- if (!f[i]) {
201
- f[i] = [...s];
204
+ const f = m(e) ? new Array(e).fill(0).map(() => ({})) : ee(e);
205
+ o == null || o.setFieldValue(l.name, f, !0, (u, i) => {
206
+ if (!u[i]) {
207
+ u[i] = [...f];
202
208
  return;
203
209
  }
204
- o === "suffix" ? f[i].push(...s) : f[i].unshift(...s);
210
+ t === "suffix" ? u[i].push(...f) : u[i].unshift(...f);
205
211
  });
206
212
  }
207
- function V(e) {
208
- const o = new Set(m(e) ? [e] : e);
209
- t == null || t.setFieldValue(l.name, void 0, !0, (n, a) => {
210
- n[a] = n[a].filter((s, r) => !o.has(r));
213
+ function k(e) {
214
+ const t = new Set(m(e) ? [e] : e);
215
+ o == null || o.setFieldValue(l.name, void 0, !0, (n, a) => {
216
+ n[a] = n[a].filter((f, s) => !t.has(s));
211
217
  });
212
218
  }
213
- function T() {
214
- return u(d);
215
- }
216
219
  function _(e) {
217
- var o;
218
- return (o = u(d)) == null ? void 0 : o[e];
220
+ var n;
221
+ const t = new Set(w(e) ? e : [e]);
222
+ t.size !== 0 && ((n = o == null ? void 0 : o.setFieldValue) == null || n.call(o, l.name, void 0, !0, (a, f) => {
223
+ a[f] = a[f].filter((s) => !t.has(s[l.rowKey]));
224
+ }));
225
+ }
226
+ function j() {
227
+ return r(d);
219
228
  }
220
- function j(e, o, n = !0) {
221
- t == null || t.setFieldValue(l.name, void 0, !0, (a, s) => {
222
- if (!(!a[s] || !a[s][e])) {
229
+ function E(e) {
230
+ var t;
231
+ return (t = r(d)) == null ? void 0 : t[e];
232
+ }
233
+ function O(e, t, n = !0) {
234
+ o == null || o.setFieldValue(l.name, void 0, !0, (a, f) => {
235
+ if (!(!a[f] || !a[f][e])) {
223
236
  if (!n) {
224
- const r = Object.keys(a[s][e]);
225
- for (const f of r)
226
- f !== l.rowKey && delete a[s][e][f];
237
+ const s = Object.keys(a[f][e]);
238
+ for (const u of s)
239
+ u !== l.rowKey && delete a[f][e][u];
227
240
  }
228
- Object.assign(a[s][e], {
229
- ...o
241
+ Object.assign(a[f][e], {
242
+ ...t
230
243
  });
231
244
  }
232
245
  });
233
246
  }
234
- function E(e) {
235
- t == null || t.setFieldValue(l.name, e);
247
+ function z(e) {
248
+ o == null || o.setFieldValue(l.name, e);
236
249
  }
237
- function O(e) {
250
+ function K(e) {
238
251
  var n;
239
- const o = e === "end" ? d.value.length - 1 : e;
240
- (n = c.value) == null || n.scrollToRow(o);
252
+ const t = e === "end" ? d.value.length - 1 : e;
253
+ (n = c.value) == null || n.scrollToRow(t);
241
254
  }
242
- function z() {
255
+ function H() {
243
256
  var e;
244
- (e = t == null ? void 0 : t.setFieldValue) == null || e.call(t, l.name, []);
257
+ (e = o == null ? void 0 : o.setFieldValue) == null || e.call(o, l.name, []);
245
258
  }
246
- return x({
247
- add: D,
248
- remove: V,
249
- getRowData: _,
250
- getRowsData: T,
251
- setRowData: j,
252
- addMultiple: L,
253
- scrollTo: O,
254
- setTableData: E,
255
- clear: z
256
- }), (e, o) => (U(), G(u(C).FormItem, g(e.formItem, {
259
+ return R({
260
+ add: L,
261
+ remove: k,
262
+ getRowData: E,
263
+ getRowsData: j,
264
+ setRowData: O,
265
+ addMultiple: T,
266
+ scrollTo: K,
267
+ setTableData: z,
268
+ clear: H,
269
+ removeByKey: _
270
+ }), (e, t) => (q(), $(r(C).FormItem, y(e.formItem, {
257
271
  name: e.name,
258
272
  label: e.label
259
273
  }), {
260
- default: y(() => [$(ne, g(u(ee)(l, ["name", "value", "onUpdate:value", "maxLength", "onChange", "defaultValue", "formItem"]), {
274
+ default: g(() => [J(fe, y(r(oe)(l, ["name", "value", "onUpdate:value", "maxLength", "onChange", "defaultValue", "formItem"]), {
261
275
  ref_key: "tableRef",
262
276
  ref: c,
263
- class: u(B)(),
264
- columns: u(k),
277
+ class: r(S)(),
278
+ columns: r(V),
265
279
  "data-source": d.value,
266
280
  "search-form": !1
267
- }), q({
281
+ }), Q({
268
282
  _: 2
269
- }, [J(R, (n, a) => ({
283
+ }, [X(B, (n, a) => ({
270
284
  name: a,
271
- fn: y((s) => [Q(e.$slots, a, X(Y(s || {})))])
285
+ fn: g((f) => [Y(e.$slots, a, Z(I(f || {})))])
272
286
  }))]), 1040, ["class", "columns", "data-source"])]),
273
287
  _: 3
274
288
  }, 16, ["name", "label"]));
275
289
  }
276
290
  });
277
291
  export {
278
- ye as default
292
+ Ce as default
279
293
  };