@aplus-frontend/ui 0.6.0-beta.0 → 0.6.0-beta.10

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 (335) hide show
  1. package/es/src/ap-action/group/index.vue.d.ts +1 -1
  2. package/es/src/ap-action/item-dropdown/index.vue.d.ts +1 -1
  3. package/es/src/ap-button/ap-button.vue.mjs +1 -1
  4. package/es/src/ap-field/date/helper.mjs +12 -12
  5. package/es/src/ap-field/date/index.vue.d.ts +1 -1
  6. package/es/src/ap-field/date-range/index.vue.d.ts +1 -1
  7. package/es/src/ap-field/number/index.vue.d.ts +1 -1
  8. package/es/src/ap-field/rate/index.vue.d.ts +1 -1
  9. package/es/src/ap-field/select/index.vue.d.ts +1 -1
  10. package/es/src/ap-field/tree-select/index.vue.d.ts +1 -1
  11. package/es/src/ap-form/ap-form.vue2.mjs +57 -58
  12. package/es/src/ap-form/interface.d.ts +8 -0
  13. package/es/src/ap-form/item/index.vue.d.ts +1 -1
  14. package/es/src/ap-form/item/index.vue.mjs +33 -28
  15. package/es/src/ap-form/items/checkbox/index.vue.mjs +1 -0
  16. package/es/src/ap-form/items/date/index.vue.mjs +8 -7
  17. package/es/src/ap-form/items/date-range/index.vue.mjs +1 -0
  18. package/es/src/ap-form/items/number/index.vue.d.ts +8 -8
  19. package/es/src/ap-form/items/number/index.vue.mjs +9 -8
  20. package/es/src/ap-form/items/radio/index.vue.mjs +1 -0
  21. package/es/src/ap-form/items/select/index.vue.d.ts +8 -8
  22. package/es/src/ap-form/items/select/index.vue.mjs +7 -6
  23. package/es/src/ap-form/items/switch/index.vue.mjs +1 -0
  24. package/es/src/ap-form/items/text/index.vue.d.ts +2 -2
  25. package/es/src/ap-form/items/text/index.vue2.mjs +8 -7
  26. package/es/src/ap-form/items/text/password.vue.d.ts +2 -2
  27. package/es/src/ap-form/items/text/password.vue.mjs +1 -0
  28. package/es/src/ap-form/items/text-area/index.vue.mjs +1 -0
  29. package/es/src/ap-form/items/tree-select/index.vue.d.ts +8 -8
  30. package/es/src/ap-form/items/tree-select/index.vue.mjs +6 -5
  31. package/es/src/ap-form/render/item.vue.d.ts +1 -1
  32. package/es/src/ap-form/render/item.vue.mjs +5 -4
  33. package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +131 -2
  34. package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +41 -37
  35. package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +88 -69
  36. package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.mjs +8 -8
  37. package/es/src/ap-form/search-form/index.vue.d.ts +6 -2
  38. package/es/src/ap-form/search-form/index.vue.mjs +91 -89
  39. package/es/src/ap-grid/constants.d.ts +3 -3
  40. package/es/src/ap-grid/constants.mjs +9 -9
  41. package/es/src/ap-grid/editable/form-item.vue.mjs +95 -84
  42. package/es/src/ap-grid/editable/index.vue.mjs +90 -79
  43. package/es/src/ap-grid/hooks/use-inner-params.d.ts +2 -1
  44. package/es/src/ap-grid/hooks/use-inner-params.mjs +24 -35
  45. package/es/src/ap-grid/index.vue.mjs +171 -148
  46. package/es/src/ap-grid/interface.d.ts +3 -3
  47. package/es/src/ap-grid/utils/table.mjs +32 -32
  48. package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +1 -1
  49. package/es/src/ap-table/ap-table.vue2.mjs +209 -198
  50. package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
  51. package/es/src/ap-table/constants.d.ts +30 -30
  52. package/es/src/ap-table/hooks/use-table-paging-ng.d.ts +9 -2
  53. package/es/src/ap-table/hooks/use-table-paging-ng.mjs +147 -130
  54. package/es/src/ap-table/utils.d.ts +14 -14
  55. package/es/src/ap-tag/ap-tag-group.vue.mjs +32 -28
  56. package/es/src/ap-tag/ap-tag.vue.d.ts +1 -0
  57. package/es/src/ap-tag/ap-tag.vue.mjs +18 -12
  58. package/es/src/ap-tag/interface.d.ts +4 -0
  59. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -3
  60. package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +93 -73
  61. package/es/src/business/ap-expand-alert/index.d.ts +4 -4
  62. package/es/src/business/ap-export-group/ApExportGroup.vue.d.ts +1 -0
  63. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +109 -99
  64. package/es/src/business/ap-export-group/index.d.ts +3 -0
  65. package/es/src/business/ap-export-group/interface.d.ts +7 -2
  66. package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +27 -25
  67. package/es/src/business/ap-label/ApLabel.d.ts +1 -1
  68. package/es/src/business/ap-label/constans.mjs +1 -1
  69. package/es/src/business/ap-label/index.d.ts +3 -3
  70. package/es/src/business/ap-ladder/ApLadder.d.ts +1 -1
  71. package/es/src/business/ap-ladder/index.d.ts +3 -3
  72. package/es/src/business/ap-status/interface.d.ts +1 -1
  73. package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
  74. package/es/src/business/ap-view/ap-view.vue.d.ts +1 -0
  75. package/es/src/business/ap-view/ap-view.vue2.mjs +136 -117
  76. package/es/src/business/ap-view/components/main-button-content.vue2.mjs +60 -48
  77. package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +86 -80
  78. package/es/src/business/ap-view/hooks/use-view-provide.d.ts +1 -0
  79. package/es/src/business/ap-view/index.d.ts +3 -0
  80. package/es/src/business/ap-view/interface.d.ts +8 -0
  81. package/es/src/business/batch-input-group/form-item.vue.d.ts +1 -1
  82. package/es/src/business/batch-input-group/form-item.vue.mjs +1 -0
  83. package/es/src/business/batch-input-group/index.vue.d.ts +1 -1
  84. package/es/src/business/hooks/usePageListApGrid.mjs +3 -5
  85. package/es/src/check-card/group.vue.d.ts +1 -1
  86. package/es/src/check-card/index.vue2.mjs +1 -1
  87. package/es/src/config-provider/config-provider-props.d.ts +0 -5
  88. package/es/src/config-provider/config-provider-props.mjs +0 -4
  89. package/es/src/config-provider/config-provider.d.ts +0 -138
  90. package/es/src/config-provider/config-provider.mjs +21 -26
  91. package/es/src/config-provider/hooks/use-global-config.d.ts +0 -5
  92. package/es/src/config-provider/index.d.ts +0 -652
  93. package/es/src/design-token/index.mjs +9 -3
  94. package/es/src/editable-table/form-item.vue.d.ts +2 -14
  95. package/es/src/editable-table/form-item.vue.mjs +85 -77
  96. package/es/src/editable-table/index.vue.d.ts +2 -16
  97. package/es/src/editable-table/index.vue.mjs +86 -78
  98. package/es/src/editable-table/interface.d.ts +7 -0
  99. package/es/src/locale/lang/en.mjs +1 -1
  100. package/es/src/locale/lang/zh-cn.mjs +1 -1
  101. package/lib/src/ap-action/group/index.vue.d.ts +1 -1
  102. package/lib/src/ap-action/item-dropdown/index.vue.d.ts +1 -1
  103. package/lib/src/ap-button/ap-button.vue.js +1 -1
  104. package/lib/src/ap-field/date/helper.js +1 -1
  105. package/lib/src/ap-field/date/index.vue.d.ts +1 -1
  106. package/lib/src/ap-field/date-range/index.vue.d.ts +1 -1
  107. package/lib/src/ap-field/number/index.vue.d.ts +1 -1
  108. package/lib/src/ap-field/rate/index.vue.d.ts +1 -1
  109. package/lib/src/ap-field/select/index.vue.d.ts +1 -1
  110. package/lib/src/ap-field/tree-select/index.vue.d.ts +1 -1
  111. package/lib/src/ap-form/ap-form.vue2.js +1 -1
  112. package/lib/src/ap-form/interface.d.ts +8 -0
  113. package/lib/src/ap-form/item/index.vue.d.ts +1 -1
  114. package/lib/src/ap-form/item/index.vue.js +1 -1
  115. package/lib/src/ap-form/items/checkbox/index.vue.js +1 -1
  116. package/lib/src/ap-form/items/date/index.vue.js +1 -1
  117. package/lib/src/ap-form/items/date-range/index.vue.js +1 -1
  118. package/lib/src/ap-form/items/number/index.vue.d.ts +8 -8
  119. package/lib/src/ap-form/items/number/index.vue.js +1 -1
  120. package/lib/src/ap-form/items/radio/index.vue.js +1 -1
  121. package/lib/src/ap-form/items/select/index.vue.d.ts +8 -8
  122. package/lib/src/ap-form/items/select/index.vue.js +1 -1
  123. package/lib/src/ap-form/items/switch/index.vue.js +1 -1
  124. package/lib/src/ap-form/items/text/index.vue.d.ts +2 -2
  125. package/lib/src/ap-form/items/text/index.vue2.js +1 -1
  126. package/lib/src/ap-form/items/text/password.vue.d.ts +2 -2
  127. package/lib/src/ap-form/items/text/password.vue.js +1 -1
  128. package/lib/src/ap-form/items/text-area/index.vue.js +1 -1
  129. package/lib/src/ap-form/items/tree-select/index.vue.d.ts +8 -8
  130. package/lib/src/ap-form/items/tree-select/index.vue.js +1 -1
  131. package/lib/src/ap-form/render/item.vue.d.ts +1 -1
  132. package/lib/src/ap-form/render/item.vue.js +1 -1
  133. package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +131 -2
  134. package/lib/src/ap-form/search-form/components/popover-filter.vue2.js +1 -1
  135. package/lib/src/ap-form/search-form/components/popover-sorter/index.vue2.js +1 -1
  136. package/lib/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.js +1 -1
  137. package/lib/src/ap-form/search-form/index.vue.d.ts +6 -2
  138. package/lib/src/ap-form/search-form/index.vue.js +1 -1
  139. package/lib/src/ap-grid/constants.d.ts +3 -3
  140. package/lib/src/ap-grid/constants.js +1 -1
  141. package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
  142. package/lib/src/ap-grid/editable/index.vue.js +1 -1
  143. package/lib/src/ap-grid/hooks/use-inner-params.d.ts +2 -1
  144. package/lib/src/ap-grid/hooks/use-inner-params.js +1 -1
  145. package/lib/src/ap-grid/index.vue.js +1 -1
  146. package/lib/src/ap-grid/interface.d.ts +3 -3
  147. package/lib/src/ap-grid/utils/table.js +1 -1
  148. package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +1 -1
  149. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  150. package/lib/src/ap-table/components/setting/tree-select/index.vue2.js +1 -1
  151. package/lib/src/ap-table/constants.d.ts +30 -30
  152. package/lib/src/ap-table/hooks/use-table-paging-ng.d.ts +9 -2
  153. package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
  154. package/lib/src/ap-table/utils.d.ts +14 -14
  155. package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
  156. package/lib/src/ap-tag/ap-tag.vue.d.ts +1 -0
  157. package/lib/src/ap-tag/ap-tag.vue.js +1 -1
  158. package/lib/src/ap-tag/interface.d.ts +4 -0
  159. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -3
  160. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
  161. package/lib/src/business/ap-expand-alert/index.d.ts +4 -4
  162. package/lib/src/business/ap-export-group/ApExportGroup.vue.d.ts +1 -0
  163. package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
  164. package/lib/src/business/ap-export-group/index.d.ts +3 -0
  165. package/lib/src/business/ap-export-group/interface.d.ts +7 -2
  166. package/lib/src/business/ap-input-radio/ApInputRadio.vue2.js +1 -1
  167. package/lib/src/business/ap-label/ApLabel.d.ts +1 -1
  168. package/lib/src/business/ap-label/constans.js +1 -1
  169. package/lib/src/business/ap-label/index.d.ts +3 -3
  170. package/lib/src/business/ap-ladder/ApLadder.d.ts +1 -1
  171. package/lib/src/business/ap-ladder/index.d.ts +3 -3
  172. package/lib/src/business/ap-status/interface.d.ts +1 -1
  173. package/lib/src/business/ap-table-modal/modal-title.vue2.js +1 -1
  174. package/lib/src/business/ap-view/ap-view.vue.d.ts +1 -0
  175. package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
  176. package/lib/src/business/ap-view/components/main-button-content.vue2.js +1 -1
  177. package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -1
  178. package/lib/src/business/ap-view/hooks/use-view-provide.d.ts +1 -0
  179. package/lib/src/business/ap-view/index.d.ts +3 -0
  180. package/lib/src/business/ap-view/interface.d.ts +8 -0
  181. package/lib/src/business/batch-input-group/form-item.vue.d.ts +1 -1
  182. package/lib/src/business/batch-input-group/form-item.vue.js +1 -1
  183. package/lib/src/business/batch-input-group/index.vue.d.ts +1 -1
  184. package/lib/src/business/hooks/usePageListApGrid.js +1 -1
  185. package/lib/src/check-card/group.vue.d.ts +1 -1
  186. package/lib/src/check-card/index.vue2.js +1 -1
  187. package/lib/src/config-provider/config-provider-props.d.ts +0 -5
  188. package/lib/src/config-provider/config-provider-props.js +1 -1
  189. package/lib/src/config-provider/config-provider.d.ts +0 -138
  190. package/lib/src/config-provider/config-provider.js +1 -1
  191. package/lib/src/config-provider/hooks/use-global-config.d.ts +0 -5
  192. package/lib/src/config-provider/index.d.ts +0 -652
  193. package/lib/src/design-token/index.js +1 -1
  194. package/lib/src/editable-table/form-item.vue.d.ts +2 -14
  195. package/lib/src/editable-table/form-item.vue.js +1 -1
  196. package/lib/src/editable-table/index.vue.d.ts +2 -16
  197. package/lib/src/editable-table/index.vue.js +1 -1
  198. package/lib/src/editable-table/interface.d.ts +7 -0
  199. package/lib/src/locale/lang/en.js +1 -1
  200. package/lib/src/locale/lang/zh-cn.js +1 -1
  201. package/package.json +4 -4
  202. package/theme/antd-global-overwrite/admin/index.css +14 -27
  203. package/theme/antd-global-overwrite/admin/index.less +1 -0
  204. package/theme/antd-global-overwrite/admin/modal.css +8 -24
  205. package/theme/antd-global-overwrite/admin/modal.less +9 -24
  206. package/theme/antd-global-overwrite/admin/table.css +3 -3
  207. package/theme/antd-global-overwrite/admin/table.less +3 -3
  208. package/theme/antd-global-overwrite/admin/tooltip.css +3 -0
  209. package/theme/antd-global-overwrite/admin/tooltip.less +3 -0
  210. package/theme/antd-global-overwrite/aplus/index.css +13 -20
  211. package/theme/antd-global-overwrite/aplus/index.less +1 -0
  212. package/theme/antd-global-overwrite/aplus/modal.css +7 -17
  213. package/theme/antd-global-overwrite/aplus/modal.less +8 -18
  214. package/theme/antd-global-overwrite/aplus/table.css +3 -3
  215. package/theme/antd-global-overwrite/aplus/table.less +3 -3
  216. package/theme/antd-global-overwrite/aplus/tooltip.css +3 -0
  217. package/theme/antd-global-overwrite/aplus/tooltip.less +3 -0
  218. package/theme/ap-action/item-dropdown.css +24 -6
  219. package/theme/ap-action/item-dropdown.less +1 -1
  220. package/theme/ap-action/item.css +25 -7
  221. package/theme/ap-action/item.less +1 -1
  222. package/theme/ap-appendix/ap-appendix.css +28 -8
  223. package/theme/ap-appendix/ap-appendix.less +6 -4
  224. package/theme/ap-attachment/ap-attachment.css +28 -9
  225. package/theme/ap-attachment/ap-attachment.less +6 -6
  226. package/theme/ap-batch-action/ap-batch-action.css +28 -7
  227. package/theme/ap-batch-action/ap-batch-action.less +6 -3
  228. package/theme/ap-button/ap-button.css +22 -4
  229. package/theme/ap-card/ap-card.css +22 -4
  230. package/theme/ap-descriptions/ap-descriptions.css +27 -9
  231. package/theme/ap-descriptions/ap-descriptions.less +5 -5
  232. package/theme/ap-download/ap-download.css +29 -14
  233. package/theme/ap-download/ap-download.less +8 -11
  234. package/theme/ap-expand-alert/ap-expand-alert.css +24 -6
  235. package/theme/ap-expand-alert/ap-expand-alert.less +5 -5
  236. package/theme/ap-field/checkbox.css +23 -5
  237. package/theme/ap-field/checkbox.less +2 -1
  238. package/theme/ap-field/index.css +24 -6
  239. package/theme/ap-field/number.css +22 -4
  240. package/theme/ap-field/radio.css +23 -5
  241. package/theme/ap-field/radio.less +1 -1
  242. package/theme/ap-field/text-area.css +22 -4
  243. package/theme/ap-form/ap-form-item-group.css +22 -4
  244. package/theme/ap-form/ap-form-item.css +33 -10
  245. package/theme/ap-form/ap-form-item.less +17 -9
  246. package/theme/ap-form/drawer-form.css +22 -4
  247. package/theme/ap-form/index.css +61 -26
  248. package/theme/ap-form/item-text-group.css +22 -4
  249. package/theme/ap-form/item-text.css +22 -4
  250. package/theme/ap-form/modal-form.css +22 -4
  251. package/theme/ap-form/search-form-sorter.css +36 -17
  252. package/theme/ap-form/search-form-sorter.less +8 -7
  253. package/theme/ap-form/search-form.css +61 -26
  254. package/theme/ap-form/search-form.less +17 -6
  255. package/theme/ap-grid/editable.css +24 -6
  256. package/theme/ap-grid/editable.less +3 -2
  257. package/theme/ap-grid/index.css +117 -43
  258. package/theme/ap-grid/index.less +35 -11
  259. package/theme/ap-group-search/ap-extension-select.css +22 -4
  260. package/theme/ap-group-search/ap-group-search.css +22 -4
  261. package/theme/ap-group-search/ap-popover-select.css +22 -4
  262. package/theme/ap-image/ap-image.css +22 -4
  263. package/theme/ap-input-radio/ap-input-radio.css +22 -4
  264. package/theme/ap-label/ap-label.css +22 -4
  265. package/theme/ap-ladder/ap-ladder.css +26 -7
  266. package/theme/ap-ladder/ap-ladder.less +4 -3
  267. package/theme/ap-layout/ap-info-layout.css +22 -4
  268. package/theme/ap-list/index.css +23 -5
  269. package/theme/ap-list/index.less +2 -1
  270. package/theme/ap-product-info/ap-product-info.css +22 -4
  271. package/theme/ap-select-layout/ap-select-layout.css +30 -12
  272. package/theme/ap-select-layout/ap-select-layout.less +8 -8
  273. package/theme/ap-size-input/ap-size-input.css +22 -4
  274. package/theme/ap-status/ap-status.css +24 -7
  275. package/theme/ap-status/ap-status.less +2 -4
  276. package/theme/ap-summary/index.css +25 -7
  277. package/theme/ap-summary/index.less +3 -3
  278. package/theme/ap-table/ap-table-index.css +27 -9
  279. package/theme/ap-table/ap-table-index.less +5 -5
  280. package/theme/ap-table/ap-table-paragraph-ellipsis.css +22 -4
  281. package/theme/ap-table/ap-table-paragraph-ellipsis.less +1 -1
  282. package/theme/ap-table/ap-table.css +109 -55
  283. package/theme/ap-table/ap-table.less +11 -9
  284. package/theme/ap-table/setting/index.css +30 -13
  285. package/theme/ap-table/setting/modal.css +26 -9
  286. package/theme/ap-table/setting/modal.less +1 -2
  287. package/theme/ap-table/setting/select-group.css +24 -5
  288. package/theme/ap-table/setting/select-group.less +2 -1
  289. package/theme/ap-table/setting/sortable-item-meta.css +22 -4
  290. package/theme/ap-table/setting/sortable-item.css +22 -4
  291. package/theme/ap-table/setting/sorter.css +24 -7
  292. package/theme/ap-table-modal/index.css +109 -55
  293. package/theme/ap-tag/ap-tag-group.css +24 -6
  294. package/theme/ap-tag/ap-tag-group.less +4 -5
  295. package/theme/ap-tag/ap-tag.css +45 -18
  296. package/theme/ap-tag/ap-tag.less +37 -24
  297. package/theme/ap-title/ap-title.css +29 -9
  298. package/theme/ap-title/ap-title.less +7 -5
  299. package/theme/ap-upload/index.css +30 -12
  300. package/theme/ap-upload/multiple-file.css +24 -6
  301. package/theme/ap-upload/multiple-file.less +2 -2
  302. package/theme/ap-upload/picture.css +26 -8
  303. package/theme/ap-upload/picture.less +4 -4
  304. package/theme/ap-upload/single-file.css +24 -6
  305. package/theme/ap-upload/single-file.less +2 -2
  306. package/theme/ap-upload/upload.css +22 -4
  307. package/theme/ap-upload-single/index.css +22 -4
  308. package/theme/ap-view/ap-view.css +26 -4
  309. package/theme/ap-view/ap-view.less +4 -0
  310. package/theme/batch-input-group/index.css +25 -6
  311. package/theme/batch-input-group/popover-input.css +23 -4
  312. package/theme/batch-input-group/popover-input.less +1 -0
  313. package/theme/check-card/index.css +44 -26
  314. package/theme/check-card/index.less +17 -15
  315. package/theme/editable-table/index.css +77 -40
  316. package/theme/editable-table/index.less +9 -7
  317. package/theme/full-screen/index.css +22 -4
  318. package/theme/index.css +390 -182
  319. package/theme/index.less +1 -0
  320. package/theme/mask/index.css +22 -4
  321. package/theme/mixins/config.less +27 -5
  322. package/theme/mixins/mixins.css +22 -4
  323. package/theme/mixins/mixins.less +25 -0
  324. package/theme/scroll-bar/index.css +22 -4
  325. package/theme/scroll-view/index.css +22 -4
  326. package/theme/splitter/index.css +29 -11
  327. package/theme/text/group.css +22 -4
  328. package/theme/text/index.css +25 -7
  329. package/theme/ui-mode.css +94 -0
  330. package/theme/ui-mode.less +95 -0
  331. package/theme/work-order-modal/index.css +22 -4
  332. package/es/src/config-provider/css-var.d.ts +0 -139
  333. package/es/src/config-provider/css-var.mjs +0 -278
  334. package/lib/src/config-provider/css-var.d.ts +0 -139
  335. 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 n, watch as V, createVNode as t, Fragment as w, createBlock as x, openBlock as d, 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 M, 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 W } from "../item-group/helper.mjs";
6
6
  import "../../config-provider/index.mjs";
7
- import { isArray as ie, isBoolean as ce, omit as ue } 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 D } from "../../utils/index.mjs";
9
+ import { execFunc as q, 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 z 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(f) {
20
+ return typeof f == "function" || Object.prototype.toString.call(f) === "[object Object]" && !oe(f);
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: {
@@ -111,138 +111,140 @@ const s = 24, Le = /* @__PURE__ */ te({
111
111
  }
112
112
  },
113
113
  setup(f, {
114
- expose: q
114
+ expose: H
115
115
  }) {
116
116
  var P;
117
- const i = oe(), o = f, {
117
+ const i = ne(), o = f, {
118
118
  b: m
119
- } = fe("ap-form-search-form"), {
120
- t: N
121
- } = me(), z = de(o), y = ae();
122
- function k() {
123
- var e, a;
124
- (a = (e = y.value) == null ? void 0 : e.validateFields()) == null || a.then((l) => W(o.onSubmit, l));
119
+ } = me("ap-form-search-form"), {
120
+ t: k
121
+ } = he(), G = fe(o), y = L();
122
+ function I() {
123
+ var a;
124
+ const e = (a = y.value) == null ? void 0 : a.getFieldsValueTransformed(!0);
125
+ q(o.onSubmit, e);
125
126
  }
126
- function H() {
127
+ function J() {
127
128
  var e, a;
128
- o.customReset || (a = (e = y.value) == null ? void 0 : e.resetFields) == null || a.call(e), W(o.onReset);
129
+ o.customReset || (a = (e = y.value) == null ? void 0 : e.resetFields) == null || a.call(e), q(o.onReset);
129
130
  }
130
- const G = (e) => M(e) ? (ie(e) ? e : [e]).join("") : Date.now();
131
- let I = [];
132
- const c = j(V(i.default())), u = j((P = i.extra) == null ? void 0 : P.call(i)), E = _(() => Math.floor(s / n(z)));
133
- L(() => i.default(), (e) => {
134
- I = c.value, c.value = pe(I, V(e));
135
- }), L(() => {
131
+ const K = (e) => D(e) ? (ue(e) ? e : [e]).join("") : Date.now();
132
+ let T = [];
133
+ const u = U(W(i.default())), b = L(!1), c = U((P = i.extra) == null ? void 0 : P.call(i)), E = _(() => Math.floor(s / n(G)));
134
+ V(() => i.default(), (e) => {
135
+ T = u.value, u.value = de(T, W(e)), b.value = !1;
136
+ }), V(() => {
136
137
  var e;
137
138
  return (e = i.extra) == null ? void 0 : e.call(i);
138
139
  }, (e) => {
139
- u.value = e;
140
+ c.value = e;
140
141
  });
141
- const r = _(() => {
142
- const e = c.value, a = [], l = [], g = [], h = n(E);
143
- let v = 0, b = 0;
144
- const Q = s * o.maxRows - h * (n(u) && !o.extraInAction ? 2 : 1);
145
- e.forEach((S, Z) => {
146
- const p = S.props;
147
- if (ce(p.hidden) ? !!p.hidden : M(p.hidden))
148
- a.push(S);
142
+ const l = _(() => {
143
+ const e = u.value, a = [], r = [], g = [], h = n(E);
144
+ let v = 0, S = 0;
145
+ const Y = s * o.maxRows - h * (n(c) && !o.extraInAction ? 2 : 1);
146
+ e.forEach((F, te) => {
147
+ const p = F.props;
148
+ if (ce(p.hidden) ? !!p.hidden : D(p.hidden))
149
+ a.push(F);
149
150
  else {
150
151
  let C = p.span || h;
151
- const O = {
152
- node: S,
152
+ const $ = {
153
+ node: F,
153
154
  span: C,
154
- key: `ApFormSearchFormItem-${Z}-${G(p.name)}-${p._signal}`
155
- }, $ = s - v % s;
156
- $ < C && (C += $), v += C, v > Q ? l.push(O) : (b = v, g.push(O));
155
+ key: `ApFormSearchFormItem-${te}-${K(p.name)}-${p._signal}`
156
+ }, j = s - v % s;
157
+ j < C && (C += j), v += C, v > Y ? r.push($) : (S = v, g.push($));
157
158
  }
158
159
  });
159
- const T = s - (b + h) % s, X = b % s < h, Y = T < h ? s : T;
160
+ const O = s - (S + h) % s, Z = S % s < h, ee = O < h ? s : O;
160
161
  return {
161
162
  hideNode: t(w, null, [a]),
162
163
  nodes: g,
163
- collapseNodes: l,
164
- extraSpan: Y,
165
- lastRowOnlyIncludeActionAndExtra: X
164
+ collapseNodes: r,
165
+ extraSpan: ee,
166
+ lastRowOnlyIncludeActionAndExtra: Z
166
167
  };
167
168
  });
168
- function J(e) {
169
- c.value = [...e];
169
+ function Q(e) {
170
+ u.value = [...e], b.value = !0;
170
171
  }
171
- const K = _(() => {
172
+ const X = _(() => {
172
173
  let e;
173
174
  const a = t(R, {
174
175
  span: n(E),
175
176
  key: "actionWrapper"
176
177
  }, {
177
- default: () => [t(D, null, {
178
- default: () => [t(B, {
178
+ default: () => [t(z, null, {
179
+ default: () => [t(N, {
179
180
  wrap: "wrap",
180
- justify: r.value.lastRowOnlyIncludeActionAndExtra && !(n(u) && o.extraInAction) ? "flex-end" : "space-between"
181
+ justify: l.value.lastRowOnlyIncludeActionAndExtra && !(n(c) && o.extraInAction) ? "flex-end" : "space-between"
181
182
  }, {
182
- default: () => [t(B, {
183
+ default: () => [t(N, {
183
184
  gap: 8,
184
185
  wrap: "wrap"
185
186
  }, {
186
187
  default: () => [t("div", {
187
188
  class: m("column-setting-trigger-wrapper")
188
- }, [r.value.collapseNodes.length ? t(he, {
189
- onSubmit: k,
190
- config: r.value.collapseNodes,
189
+ }, [l.value.collapseNodes.length ? t(xe, {
190
+ onSubmit: I,
191
+ config: l.value.collapseNodes,
191
192
  submitLoading: o.submitLoading
192
- }, null) : null, o.sortable && c.value.length ? t(xe, {
193
- children: c.value,
194
- onClickConfirm: J
195
- }, null) : null]), t(U, {
193
+ }, null) : null, o.sortable && u.value.length ? t(ye, {
194
+ children: u.value,
195
+ onClickConfirm: Q,
196
+ sorted: b.value
197
+ }, null) : null]), t(M, {
196
198
  type: "primary",
197
- onClick: k,
199
+ onClick: I,
198
200
  loading: o.submitLoading,
199
201
  htmlType: "submit",
200
202
  class: m("action-btn")
201
203
  }, {
202
- default: () => [o.searchText || N("ap.apForm.search.search")]
203
- }), t(U, {
204
- onClick: H,
204
+ default: () => [o.searchText || k("ap.apForm.search.search")]
205
+ }), t(M, {
206
+ onClick: J,
205
207
  type: "text",
206
208
  class: [m("action-btn"), m("action-btn-reset")]
207
209
  }, {
208
- default: () => [o.resetText || N("ap.apForm.search.reset")]
210
+ default: () => [o.resetText || k("ap.apForm.search.reset")]
209
211
  })]
210
- }), o.extraInAction ? n(u) : null]
212
+ }), o.extraInAction ? n(c) : null]
211
213
  })]
212
214
  })]
213
- }), l = !o.extraInAction && n(u) ? t(R, {
214
- span: r.value.extraSpan,
215
+ }), r = !o.extraInAction && n(c) ? t(R, {
216
+ span: l.value.extraSpan,
215
217
  key: "extraNode"
216
218
  }, {
217
- default: () => [t(D, null, {
218
- default: () => [t(B, {
219
- justify: r.value.extraSpan === s || r.value.lastRowOnlyIncludeActionAndExtra ? "start" : "flex-end"
220
- }, ge(e = n(u)) ? e : {
219
+ default: () => [t(z, null, {
220
+ default: () => [t(N, {
221
+ justify: l.value.extraSpan === s || l.value.lastRowOnlyIncludeActionAndExtra ? "start" : "flex-end"
222
+ }, ve(e = n(c)) ? e : {
221
223
  default: () => [e]
222
224
  })]
223
225
  })]
224
226
  }) : null, g = t(R, {
225
- span: r.value.extraSpan
227
+ span: l.value.extraSpan
226
228
  }, null);
227
- return r.value.lastRowOnlyIncludeActionAndExtra ? t(w, null, [l || g, a]) : t(w, null, [a, l]);
229
+ return l.value.lastRowOnlyIncludeActionAndExtra ? t(w, null, [r || g, a]) : t(w, null, [a, r]);
228
230
  });
229
- return q({
231
+ return H({
230
232
  apForm: _(() => n(y))
231
- }), (e, a) => (d(), x(ye, ne({
233
+ }), (e, a) => (d(), x(ge, le({
232
234
  ref_key: "apForm",
233
235
  ref: y,
234
236
  class: n(m)()
235
- }, n(ue)(o, ["collapse", "defaultCollapse", "onUpdate:collapse", "searchText", "resetText", "onSubmit", "onReset", "extraInAction", "forceExpand", "countPerRow"])), {
236
- default: F(() => [(d(), x(A(r.value.hideNode))), t(n(se), {
237
- gutter: 16
237
+ }, n(pe)(o, ["collapse", "defaultCollapse", "onUpdate:collapse", "searchText", "resetText", "onSubmit", "onReset", "extraInAction", "forceExpand", "countPerRow"])), {
238
+ default: A(() => [(d(), x(B(l.value.hideNode))), t(n(ie), {
239
+ gutter: 8
238
240
  }, {
239
- default: F(() => [(d(!0), le(w, null, re(r.value.nodes, (l) => (d(), x(n(R), {
240
- key: l.key,
241
- span: l.span
241
+ default: A(() => [(d(!0), re(w, null, se(l.value.nodes, (r) => (d(), x(n(R), {
242
+ key: r.key,
243
+ span: r.span
242
244
  }, {
243
- default: F(() => [(d(), x(A(l.node)))]),
245
+ default: A(() => [(d(), x(B(r.node)))]),
244
246
  _: 2
245
- }, 1032, ["span"]))), 128)), (d(), x(A(K.value)))]),
247
+ }, 1032, ["span"]))), 128)), (d(), x(B(X.value)))]),
246
248
  _: 1
247
249
  })]),
248
250
  _: 1
@@ -250,5 +252,5 @@ const s = 24, Le = /* @__PURE__ */ te({
250
252
  }
251
253
  });
252
254
  export {
253
- Le as default
255
+ Ue as default
254
256
  };
@@ -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,15 +1,15 @@
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 A, useSlots as H, 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";
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 fe } from "../../config-provider/hooks/use-global-config.mjs";
11
11
  import ne from "../index.vue.mjs";
12
- const ye = /* @__PURE__ */ P({
12
+ const Ce = /* @__PURE__ */ A({
13
13
  name: "EditableGrid",
14
14
  __name: "form-item",
15
15
  props: {
@@ -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
@@ -122,7 +125,7 @@ const ye = /* @__PURE__ */ P({
122
125
  tableWrapperStyle: {},
123
126
  wrapperStyle: {},
124
127
  size: {
125
- default: "medium"
128
+ default: "mini"
126
129
  },
127
130
  adaptive: {
128
131
  type: Boolean,
@@ -154,126 +157,134 @@ const ye = /* @__PURE__ */ P({
154
157
  default: () => ({})
155
158
  }
156
159
  },
157
- setup(b, {
158
- expose: x
160
+ setup(x, {
161
+ expose: R
159
162
  }) {
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];
163
+ const B = H(), l = x, {
164
+ b: S
165
+ } = le("editable-grid");
166
+ function F(e, t) {
167
+ return w(t) ? t.reduce((f, a) => f == null ? void 0 : f[a], e) : e == null ? void 0 : e[t];
165
168
  }
166
169
  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);
170
+ internalInstance: o,
171
+ model: v
172
+ } = ae(), p = W(l.name), d = h(F(r(v), p.value) || []), N = C.useWatch(p);
173
+ G(() => N.value, async (e) => {
174
+ var t;
175
+ await U(), d.value = e, (t = l.onChange) == null || t.call(l, e);
173
176
  }, {
174
177
  deep: !0
175
178
  });
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)
179
+ const c = h(), D = fe("valueTypeMap"), V = te(l, D);
180
+ function L(e, t) {
181
+ var n;
182
+ const f = ((n = r(d)) == null ? void 0 : n.length) || 0;
183
+ if (b(l.maxLength) && f >= l.maxLength)
181
184
  return;
182
185
  const a = {
183
186
  ...e || {}
184
187
  };
185
- t == null || t.setFieldValue(l.name, a, !0, (r, f) => {
186
- if (!r[f]) {
187
- r[f] = [a];
188
+ o == null || o.setFieldValue(l.name, a, !0, (s, u) => {
189
+ if (!s[u]) {
190
+ s[u] = [a];
188
191
  return;
189
192
  }
190
- I(o) ? r[f].push(a) : r[f].splice(o, 0, a);
193
+ M(t) ? s[u].push(a) : s[u].splice(t, 0, a);
191
194
  });
192
195
  }
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)
196
+ function T(e, t = "suffix") {
197
+ var s;
198
+ const f = ((s = r(d)) == null ? void 0 : s.length) || 0, a = m(e) ? e : e.length;
199
+ if (b(l.maxLength) && f + a > l.maxLength)
197
200
  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];
201
+ const n = m(e) ? new Array(e).fill(0).map(() => ({})) : ee(e);
202
+ o == null || o.setFieldValue(l.name, n, !0, (u, i) => {
203
+ if (!u[i]) {
204
+ u[i] = [...n];
202
205
  return;
203
206
  }
204
- o === "suffix" ? f[i].push(...s) : f[i].unshift(...s);
207
+ t === "suffix" ? u[i].push(...n) : u[i].unshift(...n);
205
208
  });
206
209
  }
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));
210
+ function k(e) {
211
+ const t = new Set(m(e) ? [e] : e);
212
+ o == null || o.setFieldValue(l.name, void 0, !0, (f, a) => {
213
+ f[a] = f[a].filter((n, s) => !t.has(s));
211
214
  });
212
215
  }
213
- function T() {
214
- return u(d);
215
- }
216
216
  function _(e) {
217
- var o;
218
- return (o = u(d)) == null ? void 0 : o[e];
217
+ var f;
218
+ const t = new Set(w(e) ? e : [e]);
219
+ t.size !== 0 && ((f = o == null ? void 0 : o.setFieldValue) == null || f.call(o, l.name, void 0, !0, (a, n) => {
220
+ a[n] = a[n].filter((s) => !t.has(s[l.rowKey]));
221
+ }));
219
222
  }
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])) {
223
- 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];
223
+ function j() {
224
+ return r(d);
225
+ }
226
+ function E(e) {
227
+ var t;
228
+ return (t = r(d)) == null ? void 0 : t[e];
229
+ }
230
+ function O(e, t, f = !0) {
231
+ o == null || o.setFieldValue(l.name, void 0, !0, (a, n) => {
232
+ if (!(!a[n] || !a[n][e])) {
233
+ if (!f) {
234
+ const s = Object.keys(a[n][e]);
235
+ for (const u of s)
236
+ u !== l.rowKey && delete a[n][e][u];
227
237
  }
228
- Object.assign(a[s][e], {
229
- ...o
238
+ Object.assign(a[n][e], {
239
+ ...t
230
240
  });
231
241
  }
232
242
  });
233
243
  }
234
- function E(e) {
235
- t == null || t.setFieldValue(l.name, e);
244
+ function z(e) {
245
+ o == null || o.setFieldValue(l.name, e);
236
246
  }
237
- function O(e) {
238
- var n;
239
- const o = e === "end" ? d.value.length - 1 : e;
240
- (n = c.value) == null || n.scrollToRow(o);
247
+ function K(e) {
248
+ var f;
249
+ const t = e === "end" ? d.value.length - 1 : e;
250
+ (f = c.value) == null || f.scrollToRow(t);
241
251
  }
242
- function z() {
252
+ function P() {
243
253
  var e;
244
- (e = t == null ? void 0 : t.setFieldValue) == null || e.call(t, l.name, []);
254
+ (e = o == null ? void 0 : o.setFieldValue) == null || e.call(o, l.name, []);
245
255
  }
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, {
256
+ return R({
257
+ add: L,
258
+ remove: k,
259
+ getRowData: E,
260
+ getRowsData: j,
261
+ setRowData: O,
262
+ addMultiple: T,
263
+ scrollTo: K,
264
+ setTableData: z,
265
+ clear: P,
266
+ removeByKey: _
267
+ }), (e, t) => (q(), $(r(C).FormItem, y(e.formItem, {
257
268
  name: e.name,
258
269
  label: e.label
259
270
  }), {
260
- default: y(() => [$(ne, g(u(ee)(l, ["name", "value", "onUpdate:value", "maxLength", "onChange", "defaultValue", "formItem"]), {
271
+ default: g(() => [J(ne, y(r(oe)(l, ["name", "value", "onUpdate:value", "maxLength", "onChange", "defaultValue", "formItem"]), {
261
272
  ref_key: "tableRef",
262
273
  ref: c,
263
- class: u(B)(),
264
- columns: u(k),
274
+ class: r(S)(),
275
+ columns: r(V),
265
276
  "data-source": d.value,
266
277
  "search-form": !1
267
- }), q({
278
+ }), Q({
268
279
  _: 2
269
- }, [J(R, (n, a) => ({
280
+ }, [X(B, (f, a) => ({
270
281
  name: a,
271
- fn: y((s) => [Q(e.$slots, a, X(Y(s || {})))])
282
+ fn: g((n) => [Y(e.$slots, a, Z(I(n || {})))])
272
283
  }))]), 1040, ["class", "columns", "data-source"])]),
273
284
  _: 3
274
285
  }, 16, ["name", "label"]));
275
286
  }
276
287
  });
277
288
  export {
278
- ye as default
289
+ Ce as default
279
290
  };