@adapttable/ant-design-vue 0.0.0-stage → 0.2.0

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 (421) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +555 -2
  3. package/dist/AnchoredPopover-B-zosogj.cjs +96 -0
  4. package/dist/AnchoredPopover-B-zosogj.cjs.map +1 -0
  5. package/dist/AnchoredPopover-B9QYyyy-.js +85 -0
  6. package/dist/AnchoredPopover-B9QYyyy-.js.map +1 -0
  7. package/dist/AntdCard-CFVZgsUM.js +34 -0
  8. package/dist/AntdCard-CFVZgsUM.js.map +1 -0
  9. package/dist/AntdCard-Jx9wJdT_.cjs +39 -0
  10. package/dist/AntdCard-Jx9wJdT_.cjs.map +1 -0
  11. package/dist/AntdCheckbox-D9gzdPeG.cjs +112 -0
  12. package/dist/AntdCheckbox-D9gzdPeG.cjs.map +1 -0
  13. package/dist/AntdCheckbox-D_B7eXrQ.js +107 -0
  14. package/dist/AntdCheckbox-D_B7eXrQ.js.map +1 -0
  15. package/dist/AntdColumnMenuPanel-BisjIL_u.js +126 -0
  16. package/dist/AntdColumnMenuPanel-BisjIL_u.js.map +1 -0
  17. package/dist/AntdColumnMenuPanel-QsF2AHKd.cjs +137 -0
  18. package/dist/AntdColumnMenuPanel-QsF2AHKd.cjs.map +1 -0
  19. package/dist/AntdFilterField-D-w-xtRS.js +337 -0
  20. package/dist/AntdFilterField-D-w-xtRS.js.map +1 -0
  21. package/dist/AntdFilterField-DYdwUyPe.cjs +366 -0
  22. package/dist/AntdFilterField-DYdwUyPe.cjs.map +1 -0
  23. package/dist/AntdFilterHeaderRow-C2zlhb1L.js +221 -0
  24. package/dist/AntdFilterHeaderRow-C2zlhb1L.js.map +1 -0
  25. package/dist/AntdFilterHeaderRow-DZ2Pq2BG.cjs +232 -0
  26. package/dist/AntdFilterHeaderRow-DZ2Pq2BG.cjs.map +1 -0
  27. package/dist/AntdFilterHeaderRow.vue-bSjrpoCP.d.cts +33 -0
  28. package/dist/AntdFilterHeaderRow.vue-bSjrpoCP.d.cts.map +1 -0
  29. package/dist/AntdFilterHeaderRow.vue-bSjrpoCP.d.ts +33 -0
  30. package/dist/AntdFilterHeaderRow.vue-bSjrpoCP.d.ts.map +1 -0
  31. package/dist/AntdInput-BFNEDXzq.cjs +97 -0
  32. package/dist/AntdInput-BFNEDXzq.cjs.map +1 -0
  33. package/dist/AntdInput-ONL_AJ3Y.js +92 -0
  34. package/dist/AntdInput-ONL_AJ3Y.js.map +1 -0
  35. package/dist/AntdRowActions-D2Pce95h.cjs +106 -0
  36. package/dist/AntdRowActions-D2Pce95h.cjs.map +1 -0
  37. package/dist/AntdRowActions-cZQk-mT_.js +101 -0
  38. package/dist/AntdRowActions-cZQk-mT_.js.map +1 -0
  39. package/dist/AntdSelect-D-Oy0101.js +140 -0
  40. package/dist/AntdSelect-D-Oy0101.js.map +1 -0
  41. package/dist/AntdSelect-DYoLHfOo.cjs +151 -0
  42. package/dist/AntdSelect-DYoLHfOo.cjs.map +1 -0
  43. package/dist/antdActionSlots-CjNxmqIB.cjs +13 -0
  44. package/dist/antdActionSlots-CjNxmqIB.cjs.map +1 -0
  45. package/dist/antdActionSlots-eKczvTu9.js +8 -0
  46. package/dist/antdActionSlots-eKczvTu9.js.map +1 -0
  47. package/dist/antdRemainingControls-CQcrvZpV.js +237 -0
  48. package/dist/antdRemainingControls-CQcrvZpV.js.map +1 -0
  49. package/dist/antdRemainingControls-CjAK8L7r.cjs +260 -0
  50. package/dist/antdRemainingControls-CjAK8L7r.cjs.map +1 -0
  51. package/dist/assistant.cjs +339 -0
  52. package/dist/assistant.cjs.map +1 -0
  53. package/dist/assistant.d.cts +10 -0
  54. package/dist/assistant.d.cts.map +1 -0
  55. package/dist/assistant.d.ts +10 -0
  56. package/dist/assistant.d.ts.map +1 -0
  57. package/dist/assistant.js +335 -0
  58. package/dist/assistant.js.map +1 -0
  59. package/dist/batch-editing.cjs +4 -0
  60. package/dist/batch-editing.d.cts +2 -0
  61. package/dist/batch-editing.d.ts +2 -0
  62. package/dist/batch-editing.js +2 -0
  63. package/dist/bulk-actions.cjs +15 -0
  64. package/dist/bulk-actions.cjs.map +1 -0
  65. package/dist/bulk-actions.d.cts +6 -0
  66. package/dist/bulk-actions.d.cts.map +1 -0
  67. package/dist/bulk-actions.d.ts +6 -0
  68. package/dist/bulk-actions.d.ts.map +1 -0
  69. package/dist/bulk-actions.js +14 -0
  70. package/dist/bulk-actions.js.map +1 -0
  71. package/dist/button-llfktOrH.cjs +77 -0
  72. package/dist/button-llfktOrH.cjs.map +1 -0
  73. package/dist/button-pAA17ogP.js +66 -0
  74. package/dist/button-pAA17ogP.js.map +1 -0
  75. package/dist/cell-navigation-C7nWnSxt.cjs +85 -0
  76. package/dist/cell-navigation-C7nWnSxt.cjs.map +1 -0
  77. package/dist/cell-navigation-gmXXkZ0E.js +74 -0
  78. package/dist/cell-navigation-gmXXkZ0E.js.map +1 -0
  79. package/dist/cell-navigation.cjs +4 -0
  80. package/dist/cell-navigation.d.cts +9 -0
  81. package/dist/cell-navigation.d.cts.map +1 -0
  82. package/dist/cell-navigation.d.ts +9 -0
  83. package/dist/cell-navigation.d.ts.map +1 -0
  84. package/dist/cell-navigation.js +2 -0
  85. package/dist/cell-span.cjs +8 -0
  86. package/dist/cell-span.d.cts +2 -0
  87. package/dist/cell-span.d.ts +2 -0
  88. package/dist/cell-span.js +2 -0
  89. package/dist/checkbox-BRHAklGV.js +21 -0
  90. package/dist/checkbox-BRHAklGV.js.map +1 -0
  91. package/dist/checkbox-DBL8jd6A.cjs +26 -0
  92. package/dist/checkbox-DBL8jd6A.cjs.map +1 -0
  93. package/dist/classNamesContext-18Wbxy4F.js +2 -0
  94. package/dist/column-groups.cjs +8 -0
  95. package/dist/column-groups.d.cts +2 -0
  96. package/dist/column-groups.d.ts +2 -0
  97. package/dist/column-groups.js +2 -0
  98. package/dist/column-layout.cjs +24 -0
  99. package/dist/column-layout.cjs.map +1 -0
  100. package/dist/column-layout.d.cts +12 -0
  101. package/dist/column-layout.d.cts.map +1 -0
  102. package/dist/column-layout.d.ts +12 -0
  103. package/dist/column-layout.d.ts.map +1 -0
  104. package/dist/column-layout.js +22 -0
  105. package/dist/column-layout.js.map +1 -0
  106. package/dist/column-menu-BIQ0V_l4.js +134 -0
  107. package/dist/column-menu-BIQ0V_l4.js.map +1 -0
  108. package/dist/column-menu-C8AEmjov.cjs +145 -0
  109. package/dist/column-menu-C8AEmjov.cjs.map +1 -0
  110. package/dist/column-menu.cjs +4 -0
  111. package/dist/column-menu.d.cts +34 -0
  112. package/dist/column-menu.d.cts.map +1 -0
  113. package/dist/column-menu.d.ts +34 -0
  114. package/dist/column-menu.d.ts.map +1 -0
  115. package/dist/column-menu.js +2 -0
  116. package/dist/column-selection.cjs +3 -0
  117. package/dist/column-selection.d.cts +2 -0
  118. package/dist/column-selection.d.ts +2 -0
  119. package/dist/column-selection.js +2 -0
  120. package/dist/columns.cjs +26 -0
  121. package/dist/columns.d.cts +3 -0
  122. package/dist/columns.d.ts +3 -0
  123. package/dist/columns.js +2 -0
  124. package/dist/command-palette.cjs +43 -0
  125. package/dist/command-palette.cjs.map +1 -0
  126. package/dist/command-palette.d.cts +7 -0
  127. package/dist/command-palette.d.cts.map +1 -0
  128. package/dist/command-palette.d.ts +7 -0
  129. package/dist/command-palette.d.ts.map +1 -0
  130. package/dist/command-palette.js +42 -0
  131. package/dist/command-palette.js.map +1 -0
  132. package/dist/context-menu.cjs +34 -0
  133. package/dist/context-menu.cjs.map +1 -0
  134. package/dist/context-menu.d.cts +7 -0
  135. package/dist/context-menu.d.cts.map +1 -0
  136. package/dist/context-menu.d.ts +7 -0
  137. package/dist/context-menu.d.ts.map +1 -0
  138. package/dist/context-menu.js +33 -0
  139. package/dist/context-menu.js.map +1 -0
  140. package/dist/density-BGYZiREt.js +81 -0
  141. package/dist/density-BGYZiREt.js.map +1 -0
  142. package/dist/density-DwoIsjhn.cjs +86 -0
  143. package/dist/density-DwoIsjhn.cjs.map +1 -0
  144. package/dist/density.cjs +3 -0
  145. package/dist/density.d.cts +7 -0
  146. package/dist/density.d.cts.map +1 -0
  147. package/dist/density.d.ts +7 -0
  148. package/dist/density.d.ts.map +1 -0
  149. package/dist/density.js +2 -0
  150. package/dist/editing-C2bX-h0b.js +406 -0
  151. package/dist/editing-C2bX-h0b.js.map +1 -0
  152. package/dist/editing-D7nib8vf.d.cts +68 -0
  153. package/dist/editing-D7nib8vf.d.cts.map +1 -0
  154. package/dist/editing-DwmhJyRy.cjs +452 -0
  155. package/dist/editing-DwmhJyRy.cjs.map +1 -0
  156. package/dist/editing-EcNF6SH-.d.ts +68 -0
  157. package/dist/editing-EcNF6SH-.d.ts.map +1 -0
  158. package/dist/editing.cjs +13 -0
  159. package/dist/editing.d.cts +2 -0
  160. package/dist/editing.d.ts +2 -0
  161. package/dist/editing.js +2 -0
  162. package/dist/export-BvFzcnOH.cjs +15 -0
  163. package/dist/export-BvFzcnOH.cjs.map +1 -0
  164. package/dist/export-LdiMI-Kb.js +10 -0
  165. package/dist/export-LdiMI-Kb.js.map +1 -0
  166. package/dist/export-pdf.cjs +53 -0
  167. package/dist/export-pdf.cjs.map +1 -0
  168. package/dist/export-pdf.d.cts +8 -0
  169. package/dist/export-pdf.d.cts.map +1 -0
  170. package/dist/export-pdf.d.ts +8 -0
  171. package/dist/export-pdf.d.ts.map +1 -0
  172. package/dist/export-pdf.js +10 -0
  173. package/dist/export-pdf.js.map +1 -0
  174. package/dist/export-xlsx.cjs +23 -0
  175. package/dist/export-xlsx.cjs.map +1 -0
  176. package/dist/export-xlsx.d.cts +8 -0
  177. package/dist/export-xlsx.d.cts.map +1 -0
  178. package/dist/export-xlsx.d.ts +8 -0
  179. package/dist/export-xlsx.d.ts.map +1 -0
  180. package/dist/export-xlsx.js +10 -0
  181. package/dist/export-xlsx.js.map +1 -0
  182. package/dist/export.cjs +3 -0
  183. package/dist/export.d.cts +9 -0
  184. package/dist/export.d.cts.map +1 -0
  185. package/dist/export.d.ts +9 -0
  186. package/dist/export.d.ts.map +1 -0
  187. package/dist/export.js +2 -0
  188. package/dist/extra-rows.cjs +8 -0
  189. package/dist/extra-rows.d.cts +2 -0
  190. package/dist/extra-rows.d.ts +2 -0
  191. package/dist/extra-rows.js +2 -0
  192. package/dist/filtering.cjs +22 -0
  193. package/dist/filtering.cjs.map +1 -0
  194. package/dist/filtering.d.cts +13 -0
  195. package/dist/filtering.d.cts.map +1 -0
  196. package/dist/filtering.d.ts +13 -0
  197. package/dist/filtering.d.ts.map +1 -0
  198. package/dist/filtering.js +21 -0
  199. package/dist/filtering.js.map +1 -0
  200. package/dist/filters-B9Bku-_Z.js +256 -0
  201. package/dist/filters-B9Bku-_Z.js.map +1 -0
  202. package/dist/filters-C7_REVIj.cjs +308 -0
  203. package/dist/filters-C7_REVIj.cjs.map +1 -0
  204. package/dist/filters.cjs +21 -0
  205. package/dist/filters.d.cts +77 -0
  206. package/dist/filters.d.cts.map +1 -0
  207. package/dist/filters.d.ts +77 -0
  208. package/dist/filters.d.ts.map +1 -0
  209. package/dist/filters.js +3 -0
  210. package/dist/find-in-table-BwSZ3K3a.js +57 -0
  211. package/dist/find-in-table-BwSZ3K3a.js.map +1 -0
  212. package/dist/find-in-table-DrcHalH3.cjs +61 -0
  213. package/dist/find-in-table-DrcHalH3.cjs.map +1 -0
  214. package/dist/find-in-table.cjs +3 -0
  215. package/dist/find-in-table.d.cts +9 -0
  216. package/dist/find-in-table.d.cts.map +1 -0
  217. package/dist/find-in-table.d.ts +9 -0
  218. package/dist/find-in-table.d.ts.map +1 -0
  219. package/dist/find-in-table.js +2 -0
  220. package/dist/fit-columns.cjs +8 -0
  221. package/dist/fit-columns.d.cts +2 -0
  222. package/dist/fit-columns.d.ts +2 -0
  223. package/dist/fit-columns.js +2 -0
  224. package/dist/focusTrap-CBLumRSW.cjs +52 -0
  225. package/dist/focusTrap-CBLumRSW.cjs.map +1 -0
  226. package/dist/focusTrap-pCE3KCOC.js +41 -0
  227. package/dist/focusTrap-pCE3KCOC.js.map +1 -0
  228. package/dist/fullscreen.cjs +15 -0
  229. package/dist/fullscreen.cjs.map +1 -0
  230. package/dist/fullscreen.d.cts +6 -0
  231. package/dist/fullscreen.d.cts.map +1 -0
  232. package/dist/fullscreen.d.ts +6 -0
  233. package/dist/fullscreen.d.ts.map +1 -0
  234. package/dist/fullscreen.js +14 -0
  235. package/dist/fullscreen.js.map +1 -0
  236. package/dist/grouping-panel.cjs +145 -0
  237. package/dist/grouping-panel.cjs.map +1 -0
  238. package/dist/grouping-panel.d.cts +8 -0
  239. package/dist/grouping-panel.d.cts.map +1 -0
  240. package/dist/grouping-panel.d.ts +8 -0
  241. package/dist/grouping-panel.d.ts.map +1 -0
  242. package/dist/grouping-panel.js +145 -0
  243. package/dist/grouping-panel.js.map +1 -0
  244. package/dist/grouping.cjs +41 -0
  245. package/dist/grouping.cjs.map +1 -0
  246. package/dist/grouping.d.cts +10 -0
  247. package/dist/grouping.d.cts.map +1 -0
  248. package/dist/grouping.d.ts +10 -0
  249. package/dist/grouping.d.ts.map +1 -0
  250. package/dist/grouping.js +22 -0
  251. package/dist/grouping.js.map +1 -0
  252. package/dist/handlers-Br0_3lPS.cjs +17 -0
  253. package/dist/handlers-Br0_3lPS.cjs.map +1 -0
  254. package/dist/handlers-xPUYC5j6.js +12 -0
  255. package/dist/handlers-xPUYC5j6.js.map +1 -0
  256. package/dist/header-filters-0xo31PXV.js +70 -0
  257. package/dist/header-filters-0xo31PXV.js.map +1 -0
  258. package/dist/header-filters-DYsEkFD9.cjs +80 -0
  259. package/dist/header-filters-DYsEkFD9.cjs.map +1 -0
  260. package/dist/header-filters.cjs +7 -0
  261. package/dist/header-filters.d.cts +24 -0
  262. package/dist/header-filters.d.cts.map +1 -0
  263. package/dist/header-filters.d.ts +24 -0
  264. package/dist/header-filters.d.ts.map +1 -0
  265. package/dist/header-filters.js +3 -0
  266. package/dist/icon-BDUM_Xmy.js +18 -0
  267. package/dist/icon-BDUM_Xmy.js.map +1 -0
  268. package/dist/icon-CeQ6QTNJ.cjs +23 -0
  269. package/dist/icon-CeQ6QTNJ.cjs.map +1 -0
  270. package/dist/index.cjs +599 -0
  271. package/dist/index.cjs.map +1 -0
  272. package/dist/index.d.cts +24 -0
  273. package/dist/index.d.cts.map +1 -0
  274. package/dist/index.d.ts +24 -0
  275. package/dist/index.d.ts.map +1 -0
  276. package/dist/index.js +597 -0
  277. package/dist/index.js.map +1 -0
  278. package/dist/menuKeyboard-Be6RV6HV.cjs +81 -0
  279. package/dist/menuKeyboard-Be6RV6HV.cjs.map +1 -0
  280. package/dist/menuKeyboard-CpHOc6uW.js +70 -0
  281. package/dist/menuKeyboard-CpHOc6uW.js.map +1 -0
  282. package/dist/multi-sort.cjs +8 -0
  283. package/dist/multi-sort.d.cts +2 -0
  284. package/dist/multi-sort.d.ts +2 -0
  285. package/dist/multi-sort.js +2 -0
  286. package/dist/nested-table.cjs +8 -0
  287. package/dist/nested-table.d.cts +2 -0
  288. package/dist/nested-table.d.ts +2 -0
  289. package/dist/nested-table.js +2 -0
  290. package/dist/pinned-summary-rows.cjs +8 -0
  291. package/dist/pinned-summary-rows.d.cts +2 -0
  292. package/dist/pinned-summary-rows.d.ts +2 -0
  293. package/dist/pinned-summary-rows.js +2 -0
  294. package/dist/pivot.cjs +81 -0
  295. package/dist/pivot.cjs.map +1 -0
  296. package/dist/pivot.d.cts +10 -0
  297. package/dist/pivot.d.cts.map +1 -0
  298. package/dist/pivot.d.ts +10 -0
  299. package/dist/pivot.d.ts.map +1 -0
  300. package/dist/pivot.js +80 -0
  301. package/dist/pivot.js.map +1 -0
  302. package/dist/popupContainer-C0uOjWEO.cjs +27 -0
  303. package/dist/popupContainer-C0uOjWEO.cjs.map +1 -0
  304. package/dist/popupContainer-CzyUSIJI.js +22 -0
  305. package/dist/popupContainer-CzyUSIJI.js.map +1 -0
  306. package/dist/preset.cjs +40 -0
  307. package/dist/preset.cjs.map +1 -0
  308. package/dist/preset.d.cts +21 -0
  309. package/dist/preset.d.cts.map +1 -0
  310. package/dist/preset.d.ts +21 -0
  311. package/dist/preset.d.ts.map +1 -0
  312. package/dist/preset.js +38 -0
  313. package/dist/preset.js.map +1 -0
  314. package/dist/print.cjs +15 -0
  315. package/dist/print.cjs.map +1 -0
  316. package/dist/print.d.cts +6 -0
  317. package/dist/print.d.cts.map +1 -0
  318. package/dist/print.d.ts +6 -0
  319. package/dist/print.d.ts.map +1 -0
  320. package/dist/print.js +14 -0
  321. package/dist/print.js.map +1 -0
  322. package/dist/resizable-columns.cjs +8 -0
  323. package/dist/resizable-columns.d.cts +2 -0
  324. package/dist/resizable-columns.d.ts +2 -0
  325. package/dist/resizable-columns.js +2 -0
  326. package/dist/row-actions.cjs +15 -0
  327. package/dist/row-actions.cjs.map +1 -0
  328. package/dist/row-actions.d.cts +7 -0
  329. package/dist/row-actions.d.cts.map +1 -0
  330. package/dist/row-actions.d.ts +7 -0
  331. package/dist/row-actions.d.ts.map +1 -0
  332. package/dist/row-actions.js +14 -0
  333. package/dist/row-actions.js.map +1 -0
  334. package/dist/row-appearance.cjs +8 -0
  335. package/dist/row-appearance.d.cts +2 -0
  336. package/dist/row-appearance.d.ts +2 -0
  337. package/dist/row-appearance.js +2 -0
  338. package/dist/row-detail.cjs +28 -0
  339. package/dist/row-detail.d.cts +4 -0
  340. package/dist/row-detail.d.ts +4 -0
  341. package/dist/row-detail.js +4 -0
  342. package/dist/row-pinning.cjs +15 -0
  343. package/dist/row-pinning.cjs.map +1 -0
  344. package/dist/row-pinning.d.cts +8 -0
  345. package/dist/row-pinning.d.cts.map +1 -0
  346. package/dist/row-pinning.d.ts +8 -0
  347. package/dist/row-pinning.d.ts.map +1 -0
  348. package/dist/row-pinning.js +14 -0
  349. package/dist/row-pinning.js.map +1 -0
  350. package/dist/row-reorder.cjs +168 -0
  351. package/dist/row-reorder.cjs.map +1 -0
  352. package/dist/row-reorder.d.cts +7 -0
  353. package/dist/row-reorder.d.cts.map +1 -0
  354. package/dist/row-reorder.d.ts +7 -0
  355. package/dist/row-reorder.d.ts.map +1 -0
  356. package/dist/row-reorder.js +162 -0
  357. package/dist/row-reorder.js.map +1 -0
  358. package/dist/rowActionsSlot-75ZknCMX.cjs +21 -0
  359. package/dist/rowActionsSlot-75ZknCMX.cjs.map +1 -0
  360. package/dist/rowActionsSlot-CZsFwkQq.js +11 -0
  361. package/dist/rowActionsSlot-CZsFwkQq.js.map +1 -0
  362. package/dist/rows.cjs +30 -0
  363. package/dist/rows.d.cts +6 -0
  364. package/dist/rows.d.ts +6 -0
  365. package/dist/rows.js +4 -0
  366. package/dist/saved-views-B7Z6nwie.js +135 -0
  367. package/dist/saved-views-B7Z6nwie.js.map +1 -0
  368. package/dist/saved-views-DBXLa86I.cjs +146 -0
  369. package/dist/saved-views-DBXLa86I.cjs.map +1 -0
  370. package/dist/saved-views.cjs +4 -0
  371. package/dist/saved-views.d.cts +15 -0
  372. package/dist/saved-views.d.cts.map +1 -0
  373. package/dist/saved-views.d.ts +15 -0
  374. package/dist/saved-views.d.ts.map +1 -0
  375. package/dist/saved-views.js +2 -0
  376. package/dist/scrollbarGutter-C0KgyWkH.js +39 -0
  377. package/dist/scrollbarGutter-C0KgyWkH.js.map +1 -0
  378. package/dist/scrollbarGutter-LdIJUA1p.cjs +50 -0
  379. package/dist/scrollbarGutter-LdIJUA1p.cjs.map +1 -0
  380. package/dist/selection-stats.cjs +3 -0
  381. package/dist/selection-stats.d.cts +2 -0
  382. package/dist/selection-stats.d.ts +2 -0
  383. package/dist/selection-stats.js +2 -0
  384. package/dist/selection.cjs +8 -0
  385. package/dist/selection.d.cts +2 -0
  386. package/dist/selection.d.ts +2 -0
  387. package/dist/selection.js +2 -0
  388. package/dist/side-panel.cjs +29 -0
  389. package/dist/side-panel.cjs.map +1 -0
  390. package/dist/side-panel.d.cts +7 -0
  391. package/dist/side-panel.d.cts.map +1 -0
  392. package/dist/side-panel.d.ts +7 -0
  393. package/dist/side-panel.d.ts.map +1 -0
  394. package/dist/side-panel.js +28 -0
  395. package/dist/side-panel.js.map +1 -0
  396. package/dist/status-bar-D2UUx4zG.cjs +78 -0
  397. package/dist/status-bar-D2UUx4zG.cjs.map +1 -0
  398. package/dist/status-bar-DKc2qWoh.js +68 -0
  399. package/dist/status-bar-DKc2qWoh.js.map +1 -0
  400. package/dist/status-bar.cjs +4 -0
  401. package/dist/status-bar.d.cts +7 -0
  402. package/dist/status-bar.d.cts.map +1 -0
  403. package/dist/status-bar.d.ts +7 -0
  404. package/dist/status-bar.d.ts.map +1 -0
  405. package/dist/status-bar.js +2 -0
  406. package/dist/styles.css +869 -0
  407. package/dist/tree.cjs +21 -0
  408. package/dist/tree.d.cts +3 -0
  409. package/dist/tree.d.ts +3 -0
  410. package/dist/tree.js +3 -0
  411. package/dist/types-CLQKtnFl.d.cts +2 -0
  412. package/dist/types-CLQKtnFl.d.ts +2 -0
  413. package/dist/virtualize.cjs +8 -0
  414. package/dist/virtualize.d.cts +2 -0
  415. package/dist/virtualize.d.ts +2 -0
  416. package/dist/virtualize.js +2 -0
  417. package/dist/withAntdExport-D58sVJ7b.cjs +80 -0
  418. package/dist/withAntdExport-D58sVJ7b.cjs.map +1 -0
  419. package/dist/withAntdExport-QFf2KVNO.js +75 -0
  420. package/dist/withAntdExport-QFf2KVNO.js.map +1 -0
  421. package/package.json +533 -3
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Orwa Mahmoud
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,556 @@
1
- # Temporary Holding Version
1
+ # @adapttable/ant-design-vue
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Requires Node.js **22.12.0 or newer**; packed releases are tested on Node 22.12 and Node 24.
4
+
5
+ AdaptTable's Vue data table with Ant Design Vue controls and card surfaces.
6
+
7
+ ```vue
8
+ <script setup lang="ts">
9
+ import { ref } from "vue";
10
+ import { DataTable, type ColumnDef } from "@adapttable/ant-design-vue";
11
+ import { selection } from "@adapttable/ant-design-vue/selection";
12
+ import "@adapttable/ant-design-vue/styles.css";
13
+
14
+ interface Person {
15
+ id: string;
16
+ name: string;
17
+ score: number;
18
+ }
19
+
20
+ const rows: Person[] = [
21
+ { id: "ada", name: "Ada", score: 92 },
22
+ { id: "bea", name: "Bea", score: 87 },
23
+ ];
24
+ const columns: ColumnDef<Person>[] = [
25
+ { key: "name", header: "Name", sortable: true },
26
+ { key: "score", header: "Score", sortable: true },
27
+ ];
28
+ const selectedIds = ref<string[]>([]);
29
+ function changeSelection(ids: string[]) {
30
+ selectedIds.value = ids;
31
+ }
32
+ const rowKey = (row: Person) => row.id;
33
+ </script>
34
+
35
+ <template>
36
+ <DataTable
37
+ :data="rows"
38
+ :columns="columns"
39
+ :row-key="rowKey"
40
+ :url-sync="false"
41
+ :features="[selection({ selectedIds, onSelectionChange: changeSelection })]"
42
+ />
43
+ </template>
44
+ ```
45
+
46
+ ## Feature imports
47
+
48
+ Import each factory from its own entry. The base `DataTable` import does not
49
+ load a feature.
50
+
51
+ ```ts
52
+ import { editing } from "@adapttable/ant-design-vue/editing";
53
+ import { filters } from "@adapttable/ant-design-vue/filters";
54
+ ```
55
+
56
+ The factories retain their individual signatures, native controls and
57
+ host-owned callbacks. See the [Vue feature guide](https://adapttable.orwamahmoud.com/vue/features/)
58
+ for composition and provider requirements.
59
+
60
+ ## Features
61
+
62
+ - Feature composition with 41 canonical factories and focused, opt-in imports.
63
+ - Sorting, multi-sort, pagination, global search, selection and selection
64
+ statistics, with host-controlled state.
65
+ - Filtering, custom filter types, the AND/OR filter tree and header filters.
66
+ - Cell editing, row and batch editing, dirty indicators, undo/redo and
67
+ host-owned save callbacks.
68
+ - Column management, column groups, resizing and fit-to-width.
69
+ - Grouping and aggregation, tree data, row expansion and nested tables.
70
+ - Row reordering, row pinning, pinned summary rows, row and column spanning,
71
+ full-width separator rows, row styling and virtualization.
72
+ - Keyboard navigation, cell ranges, Find, saved views, row actions, bulk actions,
73
+ a command palette, context menus and side-panel view controls.
74
+ - Optional assistant and approval surfaces with host-owned transport and
75
+ decisions.
76
+ - CSV export and host-owned print layout; PDF export and XLSX use optional
77
+ writers supplied to the export feature.
78
+ - Pivot data, a spreadsheet formula engine and sparklines through the shared
79
+ Vue binding's opt-in entries.
80
+ - Mobile card layouts, localized labels, RTL and server-side rendering (SSR)
81
+ with the host setup described below.
82
+
83
+ Import `pdfWriter` from `@adapttable/vue/pdf` or `xlsxWriter` from
84
+ `@adapttable/vue/xlsx` and pass it as the `writer` option to this adapter's
85
+ `exportCsv` factory. The adapter retains its own export controls.
86
+
87
+ For pivot data, import `pivot` and `pivotTableModel` from
88
+ `@adapttable/vue/pivot` and render the prepared rows and columns with this
89
+ adapter; the `pivot` entry's `PivotPanel` edits the axes and measures with
90
+ Ant Design Vue controls. Formula columns come from
91
+ `buildFormulaColumns` in `@adapttable/vue/formula`, and SVG sparkline columns
92
+ from `sparklineColumn` in `@adapttable/vue/sparkline`.
93
+
94
+ ## Rendering and styling
95
+
96
+ The desktop renderer places a semantic HTML table inside `Card`. The mobile
97
+ renderer uses a `Card` for each prepared row. Sorting, selection, search and
98
+ paging controls use Ant Design Vue components; AdaptTable's Vue binding owns the
99
+ data model, query state and host-write callbacks.
100
+
101
+ Native table rows and cells retain their semantic attributes, spans and focus
102
+ references. The table surface uses one scroll owner. Its colors and spacing use
103
+ Ant Design Vue's design tokens, read through `theme.useToken()`, so the table
104
+ follows the `ConfigProvider` theme, including its dark algorithm. Ant Design Vue
105
+ draws its own styles at runtime; only this kit's stylesheet is imported.
106
+
107
+ `classNames` styles the named part. Compound controls follow their kit's public
108
+ attribute API:
109
+
110
+ - `Checkbox`: Ant Design Vue forwards `data-*` and `aria-*` attributes to the
111
+ native input, so the part sits on that input, which owns checked, mixed and
112
+ disabled state and receives focus. The styling class stays on the label host.
113
+ - `Input`: the native input owns data attributes and its accessible name;
114
+ the Ant Design Vue field host owns the styling class.
115
+ - `Select`: Ant Design Vue puts every attribute on the root element, so the kit
116
+ host owns the part and styling class, and the kit copies the `aria-*` name
117
+ onto the native combobox input, which owns focus behavior.
118
+
119
+ ## Filtering
120
+
121
+ ```ts
122
+ import { filters } from "@adapttable/ant-design-vue/filters";
123
+
124
+ const features = [
125
+ filters<Person>([{ key: "name", type: "text" }], { tree: true }),
126
+ ];
127
+ ```
128
+
129
+ Pass `features` to `DataTable`. Use `{ mode: "drawer" }` for an Ant Design Vue
130
+ modal drawer. `FilterField`, `ChecklistFilter` and `FilterTreeBuilder` are also
131
+ available from the filtering entry point for custom layouts over the same
132
+ binding models.
133
+
134
+ The nonmodal popup uses `Popover` for positioning and dialog semantics, with
135
+ a dialog body. The popover has no backdrop, closes on Escape and on an
136
+ outside click, restores focus to its trigger and sets `aria-expanded` on it. The
137
+ `filters-popover` part and `classNames.filtersPopover` belong to that body. The
138
+ drawer is modal: its `filters-panel` part and class belong to the dialog panel,
139
+ Tab stays inside it, and Escape closes it. `Drawer` forwards no attributes to its
140
+ mask, so the kit marks the real mask with the `filters-backdrop` part and adds
141
+ `classNames.filtersBackdrop` to it.
142
+
143
+ ### Column header filters
144
+
145
+ Add `headerFilters()` alongside `filters(...)` to place an Ant Design Vue filter
146
+ button in each configured column header:
147
+
148
+ ```ts
149
+ import { filters } from "@adapttable/ant-design-vue/filters";
150
+ import { headerFilters } from "@adapttable/ant-design-vue/header-filters";
151
+
152
+ const features = [
153
+ filters<Person>([{ key: "name", type: "text" }]),
154
+ headerFilters(),
155
+ ];
156
+ ```
157
+
158
+ The header popup uses `Popover` and the same binding-owned filter fields.
159
+ `FilterHeaderControl`, `FilterHeaderRow` and `AntdHeaderFilter` are available
160
+ from the header-filter entry point for custom layouts. Compact text and range
161
+ fields use `Input`; single and Boolean choices use `Select`; multiple choices
162
+ use `Checkbox` inside a `Popover`. Their menus portal outside the scrolling
163
+ viewport and stay inside the table root during fullscreen. Popup stacking follows
164
+ `ConfigProvider`'s `zIndex` setting.
165
+
166
+ Pass `dir="rtl"` or `dir="ltr"` to a standalone `FilterHeaderControl` or
167
+ `FilterHeaderRow` to keep its open popup synchronized with your reactive layout.
168
+ When `dir` is omitted, the multiselect menu reads its native trigger's computed
169
+ direction each time it opens. Inherited CSS direction is not observed while the
170
+ menu stays open.
171
+
172
+ ## Optional view controls
173
+
174
+ Add density and fullscreen controls only where they are needed:
175
+
176
+ ```ts
177
+ import { densityChooser } from "@adapttable/ant-design-vue/density";
178
+ import { fullscreen } from "@adapttable/ant-design-vue/fullscreen";
179
+
180
+ const features = [densityChooser(), fullscreen()];
181
+ ```
182
+
183
+ Pass `features` to `DataTable`. Density uses two visible Ant Design Vue radio
184
+ buttons, Comfortable and Compact, with native radio-group keyboard behavior.
185
+ Their labels follow the table locale. Use `v-model:density` to keep density in
186
+ host state; a rejected request leaves the accepted choice checked. The same
187
+ toggle is available in desktop tables and mobile cards, including RTL layouts.
188
+ The fullscreen button appears only when the browser supports fullscreen; it
189
+ promotes the existing table root.
190
+
191
+ ## Grouped, tree and detail rows
192
+
193
+ ```ts
194
+ import { grouping } from "@adapttable/ant-design-vue/grouping";
195
+ import { rowDetail } from "@adapttable/ant-design-vue/row-detail";
196
+
197
+ const features = [
198
+ grouping("score", { groupFooters: true }),
199
+ rowDetail<Person>((person) => `Details for ${person.name}`),
200
+ ];
201
+ ```
202
+
203
+ Group expansion, paging and selection use Ant Design Vue buttons and checkboxes
204
+ in both desktop and mobile layouts. Group aggregates receive the original host
205
+ rows. The `tree` entry point exports `tree`, `useTreeExpansion` and
206
+ `useLazyChildren`; expansion and loading remain in the Vue binding.
207
+
208
+ `rowDetail`, `nestedTable`, `nestedTableDetail` and `useRowExpansion` are exported
209
+ from `row-detail`. The `nested-table` entry point also exports `nestedTable`.
210
+ Supply this kit's `DataTable` in a nested renderer to keep its controls and
211
+ inherited density consistent with the parent.
212
+
213
+ ## Server rendering
214
+
215
+ Collect Ant Design Vue's CSS-in-JS styles for each request and include them in
216
+ the rendered document, as described in the Ant Design Vue server-side rendering
217
+ guide, so the first paint matches the hydrated page. Popups, drawers and dialogs
218
+ render in the browser after mount, not in the server payload.
219
+
220
+ Checkbox labels use their native nested-label association during server
221
+ rendering, and input accessible names stay available through `aria-label`.
222
+ Applications that use external `label[for]` associations should confirm their IDs
223
+ after hydration.
224
+
225
+ ## Ant Design Vue behavior this kit supplies
226
+
227
+ Ant Design Vue 4 leaves a few behaviors to the application. The kit adds them so
228
+ every surface meets the shared accessibility contract:
229
+
230
+ - `Menu` has no arrow-key navigation. Row actions, context menus and the
231
+ assistant examples menu handle ArrowUp, ArrowDown, Home, End and Space
232
+ themselves, move focus to the first item on open, and return focus to the
233
+ trigger on Escape.
234
+ - `Drawer` has no focus trap and moves focus on open. The filter drawer and the
235
+ assistant sheet keep Tab inside the panel, and Escape closes them.
236
+ - `Select` marks Escape as handled while its list is open, so a select inside a
237
+ column-menu or filter popover closes its own list first and leaves the popover
238
+ open.
239
+ - `Modal` and `Drawer` do not forward attributes. Named parts reach their real
240
+ elements through `wrapProps`, `rootClassName` or the panel content.
241
+
242
+ ### ConfigProvider limits
243
+
244
+ Ant Design Vue does not expose a public way to read the `ConfigProvider` locale,
245
+ size or direction. The kit therefore takes the table's own `labels` and `dir`
246
+ for its text and layout, and reads colors from `theme.useToken()`. Wrap the table
247
+ in `ConfigProvider` for Ant Design Vue's own components and pass `dir` to the
248
+ table for right-to-left layouts.
249
+
250
+ ## Row actions
251
+
252
+ ```ts
253
+ import { rowActions } from "@adapttable/ant-design-vue/row-actions";
254
+
255
+ const features = [
256
+ rowActions<Person>([
257
+ {
258
+ key: "remove",
259
+ label: "Remove",
260
+ onClick: (person) => removePerson(person.id),
261
+ confirm: {
262
+ title: "Remove person?",
263
+ message: () => "This cannot be undone.",
264
+ confirmLabel: "Remove",
265
+ },
266
+ },
267
+ ]),
268
+ ];
269
+ ```
270
+
271
+ Row-action controls activate after client mount, following the Vue binding's
272
+ server-rendering lifecycle. Actions receive the original host row. Ant Design Vue buttons request the action; the host
273
+ performs the change. Confirmation uses `Modal`, stays inside the
274
+ fullscreen table and uses the owning Vue app's providers. Dismissal, table
275
+ deactivation and unmount cancel that table's pending dialogs. Supply `confirm`
276
+ on `DataTable` to use your own confirmation handler.
277
+
278
+ ## Pinned, summary and supplementary rows
279
+
280
+ ```ts
281
+ import {
282
+ extraRows,
283
+ pinnedSummaryRows,
284
+ rowAppearance,
285
+ rowPinning,
286
+ } from "@adapttable/ant-design-vue/rows";
287
+
288
+ const features = [
289
+ rowPinning(),
290
+ pinnedSummaryRows<Person>({
291
+ bottom: [{ id: "total", name: "Total", score: 179 }],
292
+ }),
293
+ extraRows([
294
+ { key: "note", kind: "fullWidth", render: () => "Latest scores" },
295
+ ]),
296
+ rowAppearance<Person>({
297
+ rowClassName: (person) => (person.score >= 90 ? "high-score" : undefined),
298
+ }),
299
+ ];
300
+ ```
301
+
302
+ Data-row pin controls use Ant Design Vue row actions. Pass a ref or getter through
303
+ `pinnedRowIds` and handle `onPinnedRowIdsChange` to control their state. A rejected
304
+ request leaves the rendered pin order unchanged. Grouped and tree tables do not
305
+ support data-row pinning. Independent summary rows remain outside selection,
306
+ sorting and filtering.
307
+
308
+ Desktop summaries and extras retain native table geometry, including spans.
309
+ Mobile summaries and supplementary content use `Card`; their data rows keep
310
+ all fields visible. Host row classes, styles and heights apply to the actual
311
+ row or card. Individual optional entries are also available at `/row-pinning`,
312
+ `/pinned-summary-rows`, `/extra-rows` and `/row-appearance`.
313
+
314
+ ## Column controls
315
+
316
+ ```ts
317
+ import { type ColumnInput } from "@adapttable/ant-design-vue";
318
+ import {
319
+ collapsibleColumnGroups,
320
+ fitColumns,
321
+ multiSort,
322
+ resizableColumns,
323
+ } from "@adapttable/ant-design-vue/columns";
324
+
325
+ const columns: ColumnInput<Person>[] = [
326
+ {
327
+ header: "Scorecard",
328
+ collapsedKey: "name",
329
+ children: [
330
+ { key: "name", sortable: true },
331
+ { key: "score", sortable: true },
332
+ ],
333
+ },
334
+ ];
335
+ const features = [
336
+ collapsibleColumnGroups(),
337
+ fitColumns(),
338
+ multiSort(),
339
+ resizableColumns(),
340
+ ];
341
+ ```
342
+
343
+ Column-group toggles, sort actions and resize handles use `Button`. Shift-click
344
+ a desktop sort heading to add another priority. Resize handles support native
345
+ pointer interaction and direction-aware Arrow keys through the shared binding.
346
+ Use `v-model:column-layout` to accept layout requests; a supplied layout remains
347
+ authoritative until the host updates it.
348
+
349
+ Mobile cards follow the accepted column layout and sort order. They omit the
350
+ desktop group and resize controls. Header groups keep their native table spans
351
+ and their localized toggle names during server rendering and hydration.
352
+
353
+ ## Find in table
354
+
355
+ ```ts
356
+ import { findInTable } from "@adapttable/ant-design-vue/find-in-table";
357
+
358
+ const features = [findInTable({ button: true })];
359
+ ```
360
+
361
+ Find searches the prepared rows without filtering them. Its optional toolbar
362
+ button opens an `Input` search field with `Button` previous, next and close
363
+ controls. Ctrl/Cmd+F is scoped to the active table. Enter and Shift+Enter move
364
+ between matches; Escape closes the bar and restores the preceding focus target.
365
+ The same controls and match markers work with mobile cards.
366
+
367
+ The field's `find-input` part and accessible name belong to its native input;
368
+ `classNames.findInput` styles the Ant Design Vue host. Its focus target uses the
369
+ documented native `input`/`textarea` exposures and the binding's ref lifecycle.
370
+ `findBar` and `findButton` customize the remaining controls. Labels come from
371
+ the shared table labels. With URL synchronization enabled, the shared `find`
372
+ query restores the open bar and its value during server rendering and hydration.
373
+
374
+ ## Cell navigation and status
375
+
376
+ ```ts
377
+ import {
378
+ cellNavigation,
379
+ columnSelectionCheckbox,
380
+ } from "@adapttable/ant-design-vue/cell-navigation";
381
+ import {
382
+ selectionStats,
383
+ statusBar,
384
+ } from "@adapttable/ant-design-vue/status-bar";
385
+
386
+ const features = [
387
+ cellNavigation(),
388
+ columnSelectionCheckbox(),
389
+ statusBar(),
390
+ selectionStats(),
391
+ ];
392
+ ```
393
+
394
+ Desktop cells use the binding's direction-aware keyboard navigation and range
395
+ selection. Column selection uses `Checkbox`; selecting a column moves focus
396
+ into its first grid cell. Status figures use `Typography.Text`, with selection
397
+ statistics inside a polite native `output` live region. Both status features share one strip.
398
+ Standalone aliases are available at `/column-selection` and `/selection-stats`.
399
+
400
+ Fill requires `cellNavigation({ onFill })` and editable columns. The host receives cell edit
401
+ requests and decides whether to apply them. The pointer-only fill square uses
402
+ Ant Design Vue theme variables; keyboard fill remains in the shared grid model.
403
+ The handle is hidden from assistive technology and does not add a tab stop.
404
+
405
+ Mobile cards show the status figures and Find controls while omitting desktop
406
+ grid selection and fill handles. `classNames.statusBar`, `statusItem`,
407
+ `selectionStats`, and `fillHandle` style their corresponding semantic parts.
408
+
409
+ ## Columns menu and renaming
410
+
411
+ ```ts
412
+ import { columnMenu } from "@adapttable/ant-design-vue/column-menu";
413
+
414
+ const features = [columnMenu()];
415
+ ```
416
+
417
+ The Columns button opens an Ant Design Vue popover containing a named `Card`
418
+ dialog, real search and action buttons, and `Select` plugin choices. Use it to
419
+ show, hide, pin, reorder, resize or rename supported columns. Columns marked
420
+ `renameable: true` also receive a direct header rename action. Menu and header
421
+ renaming share the binding's validation, announcements and host callbacks.
422
+
423
+ Use `v-model:column-layout` to accept controlled layout changes. Until the host
424
+ updates the supplied layout, rejected pin, visibility and rename requests leave
425
+ the rendered columns unchanged. Renaming changes the display name, not the row
426
+ field key. The same Columns menu is available with mobile cards.
427
+
428
+ The real card content owns the panel part, id, accessible dialog name and native
429
+ ref. A documented virtual positioning reference lets the binding retain the
430
+ actual trigger's ARIA relationship and events. Nested choice popups attach beside
431
+ the scrolling card body, retaining its direction and dismissal boundary. The
432
+ managed panel follows its supplied container, including fullscreen containers.
433
+ The generic `ColumnMenu` component and `ColumnMenuSlotProps` are also exported
434
+ for headless compositions.
435
+
436
+ ## Windowed rows and individual feature entries
437
+
438
+ ```ts
439
+ import { virtualize } from "@adapttable/ant-design-vue/virtualize";
440
+
441
+ const features = [
442
+ virtualize({ maxHeight: 360, estimateRowSize: 48, estimateCardSize: 160 }),
443
+ ];
444
+ ```
445
+
446
+ Windowing belongs to the Vue binding. The Ant Design Vue renderer retains its
447
+ single native scroll viewport, semantic table spacer rows and kit mobile cards.
448
+ It does not run a second table or virtualization engine. Omit the feature to
449
+ render every row in the current source scope.
450
+
451
+ Column features are available individually at `/column-groups`, `/fit-columns`,
452
+ `/multi-sort` and `/resizable-columns`, as well as through `/columns`.
453
+ `FilterHeaderControl` and `FilterHeaderRow` are available from the package root
454
+ and `/header-filters`; both routes retain the same component identities and
455
+ row-generic contracts.
456
+
457
+ ## Bulk actions and print
458
+
459
+ ```ts
460
+ import { bulkActions } from "@adapttable/ant-design-vue/bulk-actions";
461
+ import { print } from "@adapttable/ant-design-vue/print";
462
+
463
+ const features = [
464
+ bulkActions([{ key: "archive", label: "Archive", onClick: archiveRows }]),
465
+ print(printTable, true),
466
+ ];
467
+ ```
468
+
469
+ Bulk selection, matching-row scope, confirmation, pending state and errors are
470
+ owned by the Vue binding. Ant Design Vue supplies the real action buttons; the
471
+ table's confirmation handler is used when an action requests confirmation.
472
+ Controlled selection changes take effect when the host updates selected IDs.
473
+ The same action bar works with desktop tables and mobile cards.
474
+
475
+ Print calls the supplied host callback. Pass `true` as the second argument to
476
+ show the Ant Design Vue print button; the default registers the capability without
477
+ adding a toolbar button. Importing the package root does not load either feature.
478
+
479
+ ## Cell, row and batch editing
480
+
481
+ ```ts
482
+ import {
483
+ editing,
484
+ editHistory,
485
+ undoRedoButtons,
486
+ } from "@adapttable/ant-design-vue/editing";
487
+ import { batchEditing } from "@adapttable/ant-design-vue/batch-editing";
488
+
489
+ const features = [editing(saveCell), editHistory(), undoRedoButtons()];
490
+ const stagedFeatures = [batchEditing(saveRows)];
491
+ ```
492
+
493
+ Mark a column `editable: true` and choose its editor: text, number, date, datetime,
494
+ time, boolean, select, multi-select, or a host custom editor. Ant Design Vue supplies
495
+ `Input`, `Select`, `Checkbox` and `Button`; the binding owns drafts,
496
+ validation, parsing, save state, conflicts and host callbacks. The table never
497
+ mutates host rows.
498
+
499
+ Double-click a cell or press F2 to edit. Enter commits a cell; Escape cancels and
500
+ returns focus to its activation button. An open select consumes its own first
501
+ Escape, preserving the outer edit. Moving focus within a select does not save the
502
+ cell. The native input or the kit's supported focus method receives focus.
503
+
504
+ `rowEditing(saveRow)` provides row Save and Cancel buttons. `batchEditing(saveRows)`
505
+ keeps changes staged until the batch Save action. Both modes also work in mobile
506
+ cards. Failed host saves retain the shared error and retry/rollback behavior.
507
+ Custom editors receive the binding's guarded draft, keyboard and focus contract.
508
+ Compose `editing` with `editHistory` when row or batch history needs cell replay;
509
+ `undoRedoButtons` adds genuine Ant Design Vue history controls.
510
+
511
+ Editors retain server-rendered structure for hydration and retire open kit
512
+ popups and stale callbacks when their table is cached or unmounted. Importing the
513
+ package root does not activate or load editing controls.
514
+
515
+ ### Commands, saved views, grouping, and row moves
516
+
517
+ The canonical `command-palette`, `context-menu`, `export`, `grouping-panel`,
518
+ `row-reorder`, `saved-views`, and `side-panel` entries fill the shared Vue feature
519
+ contracts with Ant Design Vue controls. Import the factories from those subpaths
520
+ and pass them to `DataTable` through `features`.
521
+
522
+ ```ts
523
+ import { commandPalette } from "@adapttable/ant-design-vue/command-palette";
524
+ import { contextMenu } from "@adapttable/ant-design-vue/context-menu";
525
+ import { exportCsv } from "@adapttable/ant-design-vue/export";
526
+ import { groupingPanel } from "@adapttable/ant-design-vue/grouping-panel";
527
+ import { rowReorder } from "@adapttable/ant-design-vue/row-reorder";
528
+ import { savedViews } from "@adapttable/ant-design-vue/saved-views";
529
+ import { sidePanel } from "@adapttable/ant-design-vue/side-panel";
530
+ ```
531
+
532
+ Command search and active items remain in the shared command model; `Modal`
533
+ owns the palette's modal interaction. Context menus use `Dropdown` and
534
+ `Menu item` for native menu navigation. Both surfaces honor their table's
535
+ fullscreen container. `Button`, `Input`, `Select`, `Checkbox`, `Tag`,
536
+ `Card`, `Progress`, and `Typography.Link` render the other controls without introducing
537
+ another feature store.
538
+
539
+ Grouping chips forward drag and keyboard interactions to the shared grouping
540
+ controller. Aggregation changes use the same shared operations and host
541
+ notifications. Row reorder requests preserve host row ownership; cross-group
542
+ and tree moves use the shared confirmation model rendered through `Modal`.
543
+
544
+ The `saved-views` entry also exports `SavedViewsPanel` and `SavedViewsPanelProps`
545
+ for management surfaces. Rename drafts, read-only/default rules, ordering, URL
546
+ state, and storage remain owned by the shared saved-view models. `sidePanel`
547
+ retains controlled panel selection, with native buttons and a native card frame.
548
+
549
+ ### Optional assistant and pivot controls
550
+
551
+ The `assistant` entry provides `TableAssistant`, `AgentApproval`,
552
+ `tableAssistant()`, and `agentApproval()` using the binding's conversation and
553
+ approval contracts. Its sheet is a `Drawer`, examples use `Dropdown`, the
554
+ composer is an `Input` textarea, and speech language choices use `Select`.
555
+ It does not import an AI transport or own approval decisions. The `pivot` entry
556
+ provides a controlled `PivotPanel` with `Select` and `Button` controls.
@@ -0,0 +1,96 @@
1
+ let vue = require("vue");
2
+ let ant_design_vue = require("ant-design-vue");
3
+ //#region src/overlays/AnchoredPopover.ts
4
+ const containerKeys = /* @__PURE__ */ new WeakMap();
5
+ let nextContainerKey = 0;
6
+ /** A stable key per container, so a moved container remounts the popup there. */
7
+ function containerKey(container) {
8
+ if (!container) return 0;
9
+ let key = containerKeys.get(container);
10
+ if (key === void 0) {
11
+ key = ++nextContainerKey;
12
+ containerKeys.set(container, key);
13
+ }
14
+ return key;
15
+ }
16
+ /**
17
+ * Ant Design Vue hands these overflow options to its aligner as they are, and
18
+ * the aligner bounds the flip by the viewport only when `alwaysByViewport` is
19
+ * set; otherwise it measures the whole document, so a popover near the bottom
20
+ * of a long page never opens upward.
21
+ */
22
+ const VIEWPORT_OVERFLOW = {
23
+ adjustX: 1,
24
+ adjustY: 1,
25
+ alwaysByViewport: true
26
+ };
27
+ /**
28
+ * An Ant Design Vue popover that opens against an element the table already
29
+ * owns, such as a toolbar button, instead of wrapping its own trigger. The
30
+ * popover keeps its placement, overflow handling and motion; the empty
31
+ * element it receives as a trigger only stands in for the anchor.
32
+ */
33
+ const AntdAnchoredPopover = (0, vue.defineComponent)((props, { slots }) => () => (0, vue.h)(ant_design_vue.Popover, {
34
+ key: containerKey(props.container),
35
+ open: props.open && props.anchor != null,
36
+ trigger: [],
37
+ arrow: false,
38
+ placement: props.placement,
39
+ autoAdjustOverflow: VIEWPORT_OVERFLOW,
40
+ destroyTooltipOnHide: true,
41
+ getPopupContainer: () => props.container ?? props.anchor?.ownerDocument.body ?? document.body,
42
+ overlayClassName: props.overlayClass,
43
+ overlayStyle: props.overlayStyle,
44
+ overlayInnerStyle: { padding: 0 },
45
+ getTriggerDOMNode: () => props.anchor ?? void 0,
46
+ afterVisibleChange: (visible) => {
47
+ if (visible) props.afterOpen?.();
48
+ }
49
+ }, {
50
+ default: () => (0, vue.h)("span", {
51
+ hidden: true,
52
+ "aria-hidden": "true",
53
+ "data-adapttable-part": "popover-anchor"
54
+ }),
55
+ content: () => slots.default?.()
56
+ }), {
57
+ name: "AntdAnchoredPopover",
58
+ props: {
59
+ open: {
60
+ type: Boolean,
61
+ default: false
62
+ },
63
+ anchor: { type: Object },
64
+ container: { type: Object },
65
+ placement: {
66
+ type: String,
67
+ required: true
68
+ },
69
+ overlayClass: { type: String },
70
+ overlayStyle: { type: Object },
71
+ afterOpen: { type: Function }
72
+ }
73
+ });
74
+ /**
75
+ * Ant Design Vue marks every popover body `role="tooltip"`. A panel that
76
+ * carries its own dialog role must not sit inside a tooltip, so the wrapper
77
+ * becomes presentational once the panel is open.
78
+ */
79
+ function presentPopoverContent(panel) {
80
+ panel.closest("[role=\"tooltip\"]")?.setAttribute("role", "presentation");
81
+ }
82
+ //#endregion
83
+ Object.defineProperty(exports, "AntdAnchoredPopover", {
84
+ enumerable: true,
85
+ get: function() {
86
+ return AntdAnchoredPopover;
87
+ }
88
+ });
89
+ Object.defineProperty(exports, "presentPopoverContent", {
90
+ enumerable: true,
91
+ get: function() {
92
+ return presentPopoverContent;
93
+ }
94
+ });
95
+
96
+ //# sourceMappingURL=AnchoredPopover-B-zosogj.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnchoredPopover-B-zosogj.cjs","names":["defineComponent","h","Popover"],"sources":["../src/overlays/AnchoredPopover.ts"],"sourcesContent":["import { Popover } from \"ant-design-vue\";\nimport {\n type CSSProperties,\n defineComponent,\n h,\n type PropType,\n type VNodeChild,\n} from \"vue\";\n\nconst containerKeys = new WeakMap<Element, number>();\nlet nextContainerKey = 0;\n/** A stable key per container, so a moved container remounts the popup there. */\nfunction containerKey(container: Element | undefined): number {\n if (!container) return 0;\n let key = containerKeys.get(container);\n if (key === undefined) {\n key = ++nextContainerKey;\n containerKeys.set(container, key);\n }\n return key;\n}\n\n/**\n * Ant Design Vue hands these overflow options to its aligner as they are, and\n * the aligner bounds the flip by the viewport only when `alwaysByViewport` is\n * set; otherwise it measures the whole document, so a popover near the bottom\n * of a long page never opens upward.\n */\nconst VIEWPORT_OVERFLOW = {\n adjustX: 1,\n adjustY: 1,\n alwaysByViewport: true,\n} as const;\n\n/**\n * An Ant Design Vue popover that opens against an element the table already\n * owns, such as a toolbar button, instead of wrapping its own trigger. The\n * popover keeps its placement, overflow handling and motion; the empty\n * element it receives as a trigger only stands in for the anchor.\n */\nexport const AntdAnchoredPopover = defineComponent(\n (\n props: {\n readonly open: boolean;\n readonly anchor: HTMLElement | null | undefined;\n readonly container?: HTMLElement;\n readonly placement: \"bottomLeft\" | \"bottomRight\";\n readonly overlayClass?: string;\n readonly overlayStyle?: CSSProperties;\n readonly afterOpen?: () => void;\n },\n { slots }\n ) =>\n () =>\n h(\n Popover,\n {\n // Ant Design Vue mounts the popup once, so a container that moves\n // (fullscreen) needs a fresh popup inside the new container.\n key: containerKey(props.container),\n open: props.open && props.anchor != null,\n trigger: [],\n arrow: false,\n placement: props.placement,\n autoAdjustOverflow: VIEWPORT_OVERFLOW,\n destroyTooltipOnHide: true,\n getPopupContainer: () =>\n props.container ??\n props.anchor?.ownerDocument.body ??\n document.body,\n overlayClassName: props.overlayClass,\n overlayStyle: props.overlayStyle,\n overlayInnerStyle: { padding: 0 },\n getTriggerDOMNode: () => props.anchor ?? undefined,\n afterVisibleChange: (visible: boolean) => {\n if (visible) props.afterOpen?.();\n },\n },\n {\n default: () =>\n h(\"span\", {\n hidden: true,\n \"aria-hidden\": \"true\",\n \"data-adapttable-part\": \"popover-anchor\",\n }),\n content: () => slots.default?.() as VNodeChild,\n }\n ),\n {\n name: \"AntdAnchoredPopover\",\n props: {\n open: { type: Boolean, default: false },\n anchor: { type: Object as PropType<HTMLElement | null | undefined> },\n container: { type: Object as PropType<HTMLElement | undefined> },\n placement: {\n type: String as PropType<\"bottomLeft\" | \"bottomRight\">,\n required: true,\n },\n overlayClass: { type: String },\n overlayStyle: { type: Object as PropType<CSSProperties> },\n afterOpen: { type: Function as PropType<() => void> },\n },\n }\n);\n\n/**\n * Ant Design Vue marks every popover body `role=\"tooltip\"`. A panel that\n * carries its own dialog role must not sit inside a tooltip, so the wrapper\n * becomes presentational once the panel is open.\n */\nexport function presentPopoverContent(panel: Element): void {\n panel.closest('[role=\"tooltip\"]')?.setAttribute(\"role\", \"presentation\");\n}\n"],"mappings":";;;AASA,MAAM,gCAAgB,IAAI,QAAyB;AACnD,IAAI,mBAAmB;;AAEvB,SAAS,aAAa,WAAwC;CAC5D,IAAI,CAAC,WAAW,OAAO;CACvB,IAAI,MAAM,cAAc,IAAI,SAAS;CACrC,IAAI,QAAQ,KAAA,GAAW;EACrB,MAAM,EAAE;EACR,cAAc,IAAI,WAAW,GAAG;CAClC;CACA,OAAO;AACT;;;;;;;AAQA,MAAM,oBAAoB;CACxB,SAAS;CACT,SAAS;CACT,kBAAkB;AACpB;;;;;;;AAQA,MAAa,uBAAA,GAAsBA,IAAAA,gBAAAA,EAE/B,OASA,EAAE,mBAAA,GAGAC,IAAAA,EAAAA,CACEC,eAAAA,SACA;CAGE,KAAK,aAAa,MAAM,SAAS;CACjC,MAAM,MAAM,QAAQ,MAAM,UAAU;CACpC,SAAS,CAAC;CACV,OAAO;CACP,WAAW,MAAM;CACjB,oBAAoB;CACpB,sBAAsB;CACtB,yBACE,MAAM,aACN,MAAM,QAAQ,cAAc,QAC5B,SAAS;CACX,kBAAkB,MAAM;CACxB,cAAc,MAAM;CACpB,mBAAmB,EAAE,SAAS,EAAE;CAChC,yBAAyB,MAAM,UAAU,KAAA;CACzC,qBAAqB,YAAqB;EACxC,IAAI,SAAS,MAAM,YAAY;CACjC;AACF,GACA;CACE,gBAAA,GACED,IAAAA,EAAAA,CAAE,QAAQ;EACR,QAAQ;EACR,eAAe;EACf,wBAAwB;CAC1B,CAAC;CACH,eAAe,MAAM,UAAU;AACjC,CACF,GACJ;CACE,MAAM;CACN,OAAO;EACL,MAAM;GAAE,MAAM;GAAS,SAAS;EAAM;EACtC,QAAQ,EAAE,MAAM,OAAmD;EACnE,WAAW,EAAE,MAAM,OAA4C;EAC/D,WAAW;GACT,MAAM;GACN,UAAU;EACZ;EACA,cAAc,EAAE,MAAM,OAAO;EAC7B,cAAc,EAAE,MAAM,OAAkC;EACxD,WAAW,EAAE,MAAM,SAAiC;CACtD;AACF,CACF;;;;;;AAOA,SAAgB,sBAAsB,OAAsB;CAC1D,MAAM,QAAQ,oBAAkB,CAAC,EAAE,aAAa,QAAQ,cAAc;AACxE"}