@gears-frontx/ui-kit 0.4.5 → 0.4.7

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 (229) hide show
  1. package/dist/chunks/actions.iasfkjWq.css +1 -0
  2. package/dist/chunks/create-column-auto-size.js +62 -0
  3. package/dist/chunks/create-column-auto-size.js.map +1 -0
  4. package/dist/chunks/data-grid-record-context.js +13 -0
  5. package/dist/chunks/data-grid-record-context.js.map +1 -0
  6. package/dist/chunks/data-grid.DSkYrsay.css +1 -0
  7. package/dist/chunks/drag-drop.BASVe3_O.css +1 -0
  8. package/dist/chunks/hooked.js +23 -39
  9. package/dist/chunks/hooked.js.map +1 -1
  10. package/dist/chunks/ignore-row-click.js +5 -0
  11. package/dist/chunks/ignore-row-click.js.map +1 -0
  12. package/dist/chunks/is-record.js +7 -0
  13. package/dist/chunks/is-record.js.map +1 -0
  14. package/dist/chunks/messages.js +30 -3
  15. package/dist/chunks/messages.js.map +1 -1
  16. package/dist/chunks/pagination.DJ7HJSFX.css +1 -0
  17. package/dist/chunks/resolve-body-cell-props.BA5IRWq0.css +1 -0
  18. package/dist/chunks/resolve-body-cell-props.js +124 -0
  19. package/dist/chunks/resolve-body-cell-props.js.map +1 -0
  20. package/dist/chunks/row-actions.BprAXgu2.css +1 -0
  21. package/dist/chunks/row-click-utils.js +12 -0
  22. package/dist/chunks/row-click-utils.js.map +1 -0
  23. package/dist/chunks/row-click.DAYTmSBO.css +1 -0
  24. package/dist/chunks/row-number.BxFT_3yP.css +1 -0
  25. package/dist/chunks/row-select.BjKdiMf5.css +1 -0
  26. package/dist/chunks/segment.js +16 -9
  27. package/dist/chunks/segment.js.map +1 -1
  28. package/dist/chunks/storage-helpers.js +40 -0
  29. package/dist/chunks/storage-helpers.js.map +1 -0
  30. package/dist/chunks/table-configuration.a6C_fp7B.css +1 -0
  31. package/dist/chunks/table-context.js +8 -0
  32. package/dist/chunks/table-context.js.map +1 -0
  33. package/dist/chunks/table-helpers.js +20 -0
  34. package/dist/chunks/table-helpers.js.map +1 -0
  35. package/dist/chunks/table-tree.DMtpMddS.css +1 -0
  36. package/dist/chunks/table-types.js +11 -0
  37. package/dist/chunks/table-types.js.map +1 -0
  38. package/dist/chunks/table.biUlW2U6.css +1 -0
  39. package/dist/chunks/use-latest.js +11 -0
  40. package/dist/chunks/use-latest.js.map +1 -0
  41. package/dist/components/data-grid/data-grid-types.d.ts +9 -0
  42. package/dist/components/data-grid/data-grid-types.d.ts.map +1 -1
  43. package/dist/components/data-grid/data-grid.d.ts +1 -1
  44. package/dist/components/data-grid/data-grid.d.ts.map +1 -1
  45. package/dist/components/data-grid/messages.d.ts +25 -0
  46. package/dist/components/data-grid/messages.d.ts.map +1 -1
  47. package/dist/components/data-grid/plugins/actions/actions-plugin.d.ts +4 -0
  48. package/dist/components/data-grid/plugins/actions/actions-plugin.d.ts.map +1 -0
  49. package/dist/components/data-grid/plugins/actions/actions-types.d.ts +11 -0
  50. package/dist/components/data-grid/plugins/actions/actions-types.d.ts.map +1 -0
  51. package/dist/components/data-grid/plugins/actions/components/data-grid-actions-wrapper.d.ts +3 -0
  52. package/dist/components/data-grid/plugins/actions/components/data-grid-actions-wrapper.d.ts.map +1 -0
  53. package/dist/components/data-grid/plugins/actions/public.d.ts +3 -0
  54. package/dist/components/data-grid/plugins/actions/public.d.ts.map +1 -0
  55. package/dist/components/data-grid/plugins/actions-menu/actions-menu-plugin.d.ts +3 -0
  56. package/dist/components/data-grid/plugins/actions-menu/actions-menu-plugin.d.ts.map +1 -0
  57. package/dist/components/data-grid/plugins/actions-menu/actions-menu-types.d.ts +25 -0
  58. package/dist/components/data-grid/plugins/actions-menu/actions-menu-types.d.ts.map +1 -0
  59. package/dist/components/data-grid/plugins/actions-menu/components/data-grid-actions-menu.d.ts +3 -0
  60. package/dist/components/data-grid/plugins/actions-menu/components/data-grid-actions-menu.d.ts.map +1 -0
  61. package/dist/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/data-grid-export-menu-item.d.ts +6 -0
  62. package/dist/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/data-grid-export-menu-item.d.ts.map +1 -0
  63. package/dist/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/export-cells.d.ts +18 -0
  64. package/dist/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/export-cells.d.ts.map +1 -0
  65. package/dist/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/export-menu-items.d.ts +9 -0
  66. package/dist/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/export-menu-items.d.ts.map +1 -0
  67. package/dist/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/export-service.d.ts +5 -0
  68. package/dist/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/export-service.d.ts.map +1 -0
  69. package/dist/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/export-types.d.ts +77 -0
  70. package/dist/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/export-types.d.ts.map +1 -0
  71. package/dist/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/formatters/csv-formatter.d.ts +3 -0
  72. package/dist/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/formatters/csv-formatter.d.ts.map +1 -0
  73. package/dist/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/formatters/excel-formatter.d.ts +4 -0
  74. package/dist/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/formatters/excel-formatter.d.ts.map +1 -0
  75. package/dist/components/data-grid/plugins/actions-menu/public.d.ts +5 -0
  76. package/dist/components/data-grid/plugins/actions-menu/public.d.ts.map +1 -0
  77. package/dist/components/data-grid/plugins/drag-drop/components/data-grid-drag-drop-body-cell.d.ts +3 -0
  78. package/dist/components/data-grid/plugins/drag-drop/components/data-grid-drag-drop-body-cell.d.ts.map +1 -0
  79. package/dist/components/data-grid/plugins/drag-drop/components/data-grid-drag-drop-content.d.ts +7 -0
  80. package/dist/components/data-grid/plugins/drag-drop/components/data-grid-drag-drop-content.d.ts.map +1 -0
  81. package/dist/components/data-grid/plugins/drag-drop/components/data-grid-drag-drop-row.d.ts +8 -0
  82. package/dist/components/data-grid/plugins/drag-drop/components/data-grid-drag-drop-row.d.ts.map +1 -0
  83. package/dist/components/data-grid/plugins/drag-drop/drag-data.d.ts +4 -0
  84. package/dist/components/data-grid/plugins/drag-drop/drag-data.d.ts.map +1 -0
  85. package/dist/components/data-grid/plugins/drag-drop/drag-drop-plugin.d.ts +18 -0
  86. package/dist/components/data-grid/plugins/drag-drop/drag-drop-plugin.d.ts.map +1 -0
  87. package/dist/components/data-grid/plugins/drag-drop/drag-drop-types.d.ts +60 -0
  88. package/dist/components/data-grid/plugins/drag-drop/drag-drop-types.d.ts.map +1 -0
  89. package/dist/components/data-grid/plugins/drag-drop/drag-preview.d.ts +2 -0
  90. package/dist/components/data-grid/plugins/drag-drop/drag-preview.d.ts.map +1 -0
  91. package/dist/components/data-grid/plugins/drag-drop/public.d.ts +3 -0
  92. package/dist/components/data-grid/plugins/drag-drop/public.d.ts.map +1 -0
  93. package/dist/components/data-grid/plugins/pagination/components/data-grid-pagination.d.ts.map +1 -1
  94. package/dist/components/data-grid/plugins/pagination/components/pager.d.ts +6 -0
  95. package/dist/components/data-grid/plugins/pagination/components/pager.d.ts.map +1 -1
  96. package/dist/components/data-grid/plugins/row-actions/components/data-grid-row-actions-cell.d.ts +3 -0
  97. package/dist/components/data-grid/plugins/row-actions/components/data-grid-row-actions-cell.d.ts.map +1 -0
  98. package/dist/components/data-grid/plugins/row-actions/public.d.ts +3 -0
  99. package/dist/components/data-grid/plugins/row-actions/public.d.ts.map +1 -0
  100. package/dist/components/data-grid/plugins/row-actions/row-actions-plugin.d.ts +6 -0
  101. package/dist/components/data-grid/plugins/row-actions/row-actions-plugin.d.ts.map +1 -0
  102. package/dist/components/data-grid/plugins/row-actions/row-actions-types.d.ts +24 -0
  103. package/dist/components/data-grid/plugins/row-actions/row-actions-types.d.ts.map +1 -0
  104. package/dist/components/data-grid/plugins/row-click/components/data-grid-row-click.d.ts +8 -0
  105. package/dist/components/data-grid/plugins/row-click/components/data-grid-row-click.d.ts.map +1 -0
  106. package/dist/components/data-grid/plugins/row-click/public.d.ts +3 -0
  107. package/dist/components/data-grid/plugins/row-click/public.d.ts.map +1 -0
  108. package/dist/components/data-grid/plugins/row-click/row-click-plugin.d.ts +14 -0
  109. package/dist/components/data-grid/plugins/row-click/row-click-plugin.d.ts.map +1 -0
  110. package/dist/components/data-grid/plugins/row-click/row-click-utils.d.ts +9 -0
  111. package/dist/components/data-grid/plugins/row-click/row-click-utils.d.ts.map +1 -0
  112. package/dist/components/data-grid/plugins/row-number/components/data-grid-row-number-cell.d.ts +3 -0
  113. package/dist/components/data-grid/plugins/row-number/components/data-grid-row-number-cell.d.ts.map +1 -0
  114. package/dist/components/data-grid/plugins/row-number/public.d.ts +3 -0
  115. package/dist/components/data-grid/plugins/row-number/public.d.ts.map +1 -0
  116. package/dist/components/data-grid/plugins/row-number/row-number-plugin.d.ts +4 -0
  117. package/dist/components/data-grid/plugins/row-number/row-number-plugin.d.ts.map +1 -0
  118. package/dist/components/data-grid/plugins/row-number/row-number-types.d.ts +6 -0
  119. package/dist/components/data-grid/plugins/row-number/row-number-types.d.ts.map +1 -0
  120. package/dist/components/data-grid/plugins/row-number/services/row-number-formula.d.ts +2 -0
  121. package/dist/components/data-grid/plugins/row-number/services/row-number-formula.d.ts.map +1 -0
  122. package/dist/components/data-grid/plugins/row-select/components/data-grid-row-select-banner.d.ts +3 -0
  123. package/dist/components/data-grid/plugins/row-select/components/data-grid-row-select-banner.d.ts.map +1 -0
  124. package/dist/components/data-grid/plugins/row-select/components/data-grid-row-select-body.d.ts +3 -0
  125. package/dist/components/data-grid/plugins/row-select/components/data-grid-row-select-body.d.ts.map +1 -0
  126. package/dist/components/data-grid/plugins/row-select/components/data-grid-row-select-header.d.ts +3 -0
  127. package/dist/components/data-grid/plugins/row-select/components/data-grid-row-select-header.d.ts.map +1 -0
  128. package/dist/components/data-grid/plugins/row-select/components/data-grid-row-select-top.d.ts +3 -0
  129. package/dist/components/data-grid/plugins/row-select/components/data-grid-row-select-top.d.ts.map +1 -0
  130. package/dist/components/data-grid/plugins/row-select/public.d.ts +3 -0
  131. package/dist/components/data-grid/plugins/row-select/public.d.ts.map +1 -0
  132. package/dist/components/data-grid/plugins/row-select/row-select-plugin.d.ts +5 -0
  133. package/dist/components/data-grid/plugins/row-select/row-select-plugin.d.ts.map +1 -0
  134. package/dist/components/data-grid/plugins/row-select/row-select-types.d.ts +113 -0
  135. package/dist/components/data-grid/plugins/row-select/row-select-types.d.ts.map +1 -0
  136. package/dist/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-group-item.d.ts +10 -0
  137. package/dist/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-group-item.d.ts.map +1 -0
  138. package/dist/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-item.d.ts +10 -0
  139. package/dist/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-item.d.ts.map +1 -0
  140. package/dist/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-pin-button.d.ts +8 -0
  141. package/dist/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-pin-button.d.ts.map +1 -0
  142. package/dist/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-trigger.d.ts +3 -0
  143. package/dist/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-trigger.d.ts.map +1 -0
  144. package/dist/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration.d.ts +3 -0
  145. package/dist/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration.d.ts.map +1 -0
  146. package/dist/components/data-grid/plugins/table-configuration/public.d.ts +3 -0
  147. package/dist/components/data-grid/plugins/table-configuration/public.d.ts.map +1 -0
  148. package/dist/components/data-grid/plugins/table-configuration/table-configuration-plugin.d.ts +5 -0
  149. package/dist/components/data-grid/plugins/table-configuration/table-configuration-plugin.d.ts.map +1 -0
  150. package/dist/components/data-grid/plugins/table-tree/components/data-grid-table-tree-body-cell-content.d.ts +9 -0
  151. package/dist/components/data-grid/plugins/table-tree/components/data-grid-table-tree-body-cell-content.d.ts.map +1 -0
  152. package/dist/components/data-grid/plugins/table-tree/components/data-grid-table-tree-expand.d.ts +3 -0
  153. package/dist/components/data-grid/plugins/table-tree/components/data-grid-table-tree-expand.d.ts.map +1 -0
  154. package/dist/components/data-grid/plugins/table-tree/components/data-grid-table-tree-row.d.ts +8 -0
  155. package/dist/components/data-grid/plugins/table-tree/components/data-grid-table-tree-row.d.ts.map +1 -0
  156. package/dist/components/data-grid/plugins/table-tree/public.d.ts +3 -0
  157. package/dist/components/data-grid/plugins/table-tree/public.d.ts.map +1 -0
  158. package/dist/components/data-grid/plugins/table-tree/table-tree-helpers.d.ts +4 -0
  159. package/dist/components/data-grid/plugins/table-tree/table-tree-helpers.d.ts.map +1 -0
  160. package/dist/components/data-grid/plugins/table-tree/table-tree-plugin.d.ts +5 -0
  161. package/dist/components/data-grid/plugins/table-tree/table-tree-plugin.d.ts.map +1 -0
  162. package/dist/components/data-grid/plugins/table-tree/table-tree-types.d.ts +33 -0
  163. package/dist/components/data-grid/plugins/table-tree/table-tree-types.d.ts.map +1 -0
  164. package/dist/components/data-grid/services/core/data-grid-label-context.d.ts +7 -0
  165. package/dist/components/data-grid/services/core/data-grid-label-context.d.ts.map +1 -0
  166. package/dist/components/data-grid/services/layout/components/data-grid-layout-top.d.ts.map +1 -1
  167. package/dist/components/data-grid/services/layout/components/toolbar-lines.d.ts +2 -0
  168. package/dist/components/data-grid/services/layout/components/toolbar-lines.d.ts.map +1 -0
  169. package/dist/components/data-grid/services/table/components/data-grid-cell.d.ts.map +1 -1
  170. package/dist/components/data-grid/services/table/components/data-grid-extra-header-cell.d.ts.map +1 -1
  171. package/dist/components/data-grid/services/table/components/data-grid-header-cell.d.ts.map +1 -1
  172. package/dist/components/data-grid/services/table/components/data-grid-header-group.d.ts.map +1 -1
  173. package/dist/components/data-grid/services/table/components/data-grid-table.d.ts.map +1 -1
  174. package/dist/components/data-grid/services/table/table-service.d.ts.map +1 -1
  175. package/dist/components/data-grid/services/table/table-sticky.d.ts +16 -0
  176. package/dist/components/data-grid/services/table/table-sticky.d.ts.map +1 -1
  177. package/dist/components/pagination/pagination.d.ts +7 -4
  178. package/dist/components/pagination/pagination.d.ts.map +1 -1
  179. package/dist/components/table/table.d.ts +20 -3
  180. package/dist/components/table/table.d.ts.map +1 -1
  181. package/dist/data-grid/actions-menu.d.ts +1 -0
  182. package/dist/data-grid/actions-menu.js +373 -0
  183. package/dist/data-grid/actions-menu.js.map +1 -0
  184. package/dist/data-grid/actions.d.ts +1 -0
  185. package/dist/data-grid/actions.js +36 -0
  186. package/dist/data-grid/actions.js.map +1 -0
  187. package/dist/data-grid/drag-drop.d.ts +1 -0
  188. package/dist/data-grid/drag-drop.js +261 -0
  189. package/dist/data-grid/drag-drop.js.map +1 -0
  190. package/dist/data-grid/filters.js +27 -25
  191. package/dist/data-grid/filters.js.map +1 -1
  192. package/dist/data-grid/pagination.js +152 -143
  193. package/dist/data-grid/pagination.js.map +1 -1
  194. package/dist/data-grid/row-actions.d.ts +1 -0
  195. package/dist/data-grid/row-actions.js +52 -0
  196. package/dist/data-grid/row-actions.js.map +1 -0
  197. package/dist/data-grid/row-click.d.ts +1 -0
  198. package/dist/data-grid/row-click.js +62 -0
  199. package/dist/data-grid/row-click.js.map +1 -0
  200. package/dist/data-grid/row-number.d.ts +1 -0
  201. package/dist/data-grid/row-number.js +38 -0
  202. package/dist/data-grid/row-number.js.map +1 -0
  203. package/dist/data-grid/row-select.d.ts +1 -0
  204. package/dist/data-grid/row-select.js +293 -0
  205. package/dist/data-grid/row-select.js.map +1 -0
  206. package/dist/data-grid/table-configuration.d.ts +1 -0
  207. package/dist/data-grid/table-configuration.js +165 -0
  208. package/dist/data-grid/table-configuration.js.map +1 -0
  209. package/dist/data-grid/table-tree.d.ts +1 -0
  210. package/dist/data-grid/table-tree.js +233 -0
  211. package/dist/data-grid/table-tree.js.map +1 -0
  212. package/dist/data-grid.js +791 -887
  213. package/dist/data-grid.js.map +1 -1
  214. package/dist/docs/data-grid.md +612 -12
  215. package/dist/docs/pagination.md +14 -0
  216. package/dist/docs/table.md +67 -3
  217. package/dist/index.d.ts +9 -0
  218. package/dist/index.d.ts.map +1 -1
  219. package/dist/index.js +409 -389
  220. package/dist/index.js.map +1 -1
  221. package/dist/pagination.js +23 -23
  222. package/dist/pagination.js.map +1 -1
  223. package/dist/table.js +137 -135
  224. package/dist/table.js.map +1 -1
  225. package/llms.txt +12 -7
  226. package/package.json +10 -1
  227. package/dist/chunks/data-grid.DYrZEU-F.css +0 -1
  228. package/dist/chunks/pagination.CKDEuWt6.css +0 -1
  229. package/dist/chunks/table.CMm41tvy.css +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-grid-drag-drop-content.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/plugins/drag-drop/components/data-grid-drag-drop-content.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOvC,UAAU,4BAA4B;IACpC,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,wBAAgB,uBAAuB,CAAC,EAAE,QAAQ,EAAE,EAAE,4BAA4B,+BA0EjF"}
@@ -0,0 +1,8 @@
1
+ import { DataGridItem } from '../../../data-grid-types';
2
+ import { DataGridRecord } from '../../../services/storage/storage-types';
3
+ interface DataGridDragDropRowProps<TItem extends DataGridItem> {
4
+ record: DataGridRecord<TItem>;
5
+ }
6
+ export declare function DataGridDragDropRow<TItem extends DataGridItem>({ record, }: DataGridDragDropRowProps<TItem>): import("react").JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=data-grid-drag-drop-row.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-grid-drag-drop-row.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/plugins/drag-drop/components/data-grid-drag-drop-row.tsx"],"names":[],"mappings":";AAYA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAW9E,UAAU,wBAAwB,CAAC,KAAK,SAAS,YAAY;IAC3D,MAAM,EAAE,cAAc,CAAC,KAAK,CAAC,CAAC;CAC/B;AAED,wBAAgB,mBAAmB,CAAC,KAAK,SAAS,YAAY,EAAE,EAC9D,MAAM,GACP,EAAE,wBAAwB,CAAC,KAAK,CAAC,+BAmHjC"}
@@ -0,0 +1,4 @@
1
+ import { DataGridRecord } from '../../services/storage/storage-types';
2
+ /** The record a dragged row or a row used as a drop target carries, or nothing for any other data. */
3
+ export declare function readRecord(data: Record<string | symbol, unknown>): DataGridRecord | undefined;
4
+ //# sourceMappingURL=drag-data.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"drag-data.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/plugins/drag-drop/drag-data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAkB,cAAc,EAAE,MAAM,sCAAsC,CAAC;AAc3F,sGAAsG;AACtG,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,OAAO,CAAC,GAAG,cAAc,GAAG,SAAS,CAE7F"}
@@ -0,0 +1,18 @@
1
+ import { DataGridItem } from '../../data-grid-types.js';
2
+ import { DataGridItemId, DataGridRecord } from '../../services/storage/storage-types.js';
3
+ import { DataGridDragDropPluginProps } from './drag-drop-types.js';
4
+ /**
5
+ * Creates a drag-and-drop plugin component for reordering a DataGrid's rows. It is a factory
6
+ * because the callbacks are the plugin's own configuration, not props of the component it
7
+ * returns: create it once, outside render, and render the result as a child of the grid.
8
+ */
9
+ export declare function createDataGridDragDropPlugin<TItem extends DataGridItem = DataGridItem>(config: DataGridDragDropPluginProps<TItem>): import('react').NamedExoticComponent<Record<string, never>>;
10
+ /** @internal Extracted for testability. */
11
+ export declare function executeHandleDrop<TItem extends DataGridItem>({ sourceRecord, targetRecord, onDrop, setDropLoading, clearDropLoading, }: {
12
+ sourceRecord: Pick<DataGridRecord<TItem>, 'id' | 'item'>;
13
+ targetRecord: Pick<DataGridRecord<TItem>, 'item'> | undefined;
14
+ onDrop: (item: TItem, target: TItem | null) => void | Promise<void>;
15
+ setDropLoading: (id: DataGridItemId, value: boolean) => void;
16
+ clearDropLoading: (id: DataGridItemId) => void;
17
+ }): void;
18
+ //# sourceMappingURL=drag-drop-plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"drag-drop-plugin.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/plugins/drag-drop/drag-drop-plugin.tsx"],"names":[],"mappings":";AAYA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAI9F,OAAO,KAAK,EAEV,2BAA2B,EAG5B,MAAM,sBAAsB,CAAC;AAE9B;;;;GAIG;AACH,wBAAgB,4BAA4B,CAAC,KAAK,SAAS,YAAY,GAAG,YAAY,EACpF,MAAM,EAAE,2BAA2B,CAAC,KAAK,CAAC,+DA8D3C;AAED,2CAA2C;AAC3C,wBAAgB,iBAAiB,CAAC,KAAK,SAAS,YAAY,EAAE,EAC5D,YAAY,EACZ,YAAY,EACZ,MAAM,EACN,cAAc,EACd,gBAAgB,GACjB,EAAE;IACD,YAAY,EAAE,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC,CAAC;IACzD,YAAY,EAAE,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,GAAG,SAAS,CAAC;IAC9D,MAAM,EAAE,CAAC,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,GAAG,IAAI,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACpE,cAAc,EAAE,CAAC,EAAE,EAAE,cAAc,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7D,gBAAgB,EAAE,CAAC,EAAE,EAAE,cAAc,KAAK,IAAI,CAAC;CAChD,QAcA"}
@@ -0,0 +1,60 @@
1
+ import { ReactNode } from 'react';
2
+ import { StoreApi, UseBoundStore } from 'zustand';
3
+ import { DataGridItem } from '../../data-grid-types.js';
4
+ import { DataGridPluginApi } from '../../services/plugins/plugins-helpers.js';
5
+ import { DataGridPluginContext } from '../../services/plugins/plugins-types.js';
6
+ import { DataGridItemId, DataGridRecord } from '../../services/storage/storage-types.js';
7
+ /** Result passed to the drop callback containing the dragged item and drop target. */
8
+ export type DataGridDropResult<TItem extends DataGridItem> = DataGridPluginContext<TItem> & {
9
+ item: TItem;
10
+ target: TItem | null;
11
+ };
12
+ /** Callback invoked when a drag-and-drop operation completes. */
13
+ export type DataGridDropCallback<TItem extends DataGridItem> = (result: DataGridDropResult<TItem>) => void | Promise<void>;
14
+ /**
15
+ * Renders the drag preview shown under the cursor while a row is dragged.
16
+ * Receives the dragged row's item. When omitted, a faithful preview of the
17
+ * dragged row is shown by default.
18
+ */
19
+ export type DataGridDragPreviewRenderer<TItem extends DataGridItem> = (item: TItem) => ReactNode;
20
+ /** Configuration for the drag-and-drop plugin. */
21
+ export interface DataGridDragDropPluginProps<TItem extends DataGridItem = DataGridItem> {
22
+ /** Called when a row is dropped onto a target. Can return a Promise for async operations. */
23
+ onDrop: DataGridDropCallback<TItem>;
24
+ /**
25
+ * Renders a custom drag preview for the dragged row. When omitted, the plugin
26
+ * renders a faithful preview of the dragged row instead of the browser's
27
+ * default full-element snapshot.
28
+ */
29
+ renderDragPreview?: DataGridDragPreviewRenderer<TItem>;
30
+ }
31
+ /** Edge of the drop target where the indicator line is shown. */
32
+ export type DataGridDropEdge = 'top' | 'bottom';
33
+ /** Reactive drag-and-drop state tracked during a drag operation. */
34
+ export interface DataGridDragDropState {
35
+ isDragging: boolean;
36
+ draggedRecordId: DataGridItemId | undefined;
37
+ dropTargetRecordId: DataGridItemId | undefined;
38
+ dropEdge: DataGridDropEdge | undefined;
39
+ isRootDropTarget: boolean;
40
+ }
41
+ /** Tracks per-row loading state during async drop operations. */
42
+ export interface DataGridDropLoadingState {
43
+ loading: Record<DataGridItemId, boolean | undefined>;
44
+ }
45
+ /** Public API exposed by the drag-and-drop plugin. */
46
+ export interface DataGridDragDropPluginApi<TItem extends DataGridItem = DataGridItem> extends DataGridPluginApi<Record<string, never>> {
47
+ /** Custom drag-preview renderer supplied via plugin config, if any. */
48
+ renderDragPreview?: DataGridDragPreviewRenderer<TItem>;
49
+ /** Zustand store for reactive drag-and-drop state. */
50
+ useDragDropStore: UseBoundStore<StoreApi<DataGridDragDropState>>;
51
+ /** Zustand store for tracking per-row loading state during async drops. */
52
+ useDropLoadingStore: UseBoundStore<StoreApi<DataGridDropLoadingState>>;
53
+ /** Sets the loading state for a row during an async drop operation. */
54
+ setDropLoading: (id: DataGridItemId, value: boolean) => void;
55
+ /** Clears the loading state for a row after an async drop completes. */
56
+ clearDropLoading: (id: DataGridItemId) => void;
57
+ /** @internal Called by the monitor when a drop occurs. */
58
+ handleDrop: (sourceRecord: DataGridRecord<TItem>, targetRecord: DataGridRecord<TItem> | undefined) => void;
59
+ }
60
+ //# sourceMappingURL=drag-drop-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"drag-drop-types.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/plugins/drag-drop/drag-drop-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAIvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AACnF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AACrF,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAE9F,sFAAsF;AACtF,MAAM,MAAM,kBAAkB,CAAC,KAAK,SAAS,YAAY,IAAI,qBAAqB,CAAC,KAAK,CAAC,GAAG;IAC1F,IAAI,EAAE,KAAK,CAAC;IACZ,MAAM,EAAE,KAAK,GAAG,IAAI,CAAC;CACtB,CAAC;AAEF,iEAAiE;AACjE,MAAM,MAAM,oBAAoB,CAAC,KAAK,SAAS,YAAY,IAAI,CAC7D,MAAM,EAAE,kBAAkB,CAAC,KAAK,CAAC,KAC9B,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;AAE1B;;;;GAIG;AACH,MAAM,MAAM,2BAA2B,CAAC,KAAK,SAAS,YAAY,IAAI,CAAC,IAAI,EAAE,KAAK,KAAK,SAAS,CAAC;AAEjG,kDAAkD;AAClD,MAAM,WAAW,2BAA2B,CAAC,KAAK,SAAS,YAAY,GAAG,YAAY;IACpF,6FAA6F;IAC7F,MAAM,EAAE,oBAAoB,CAAC,KAAK,CAAC,CAAC;IACpC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,2BAA2B,CAAC,KAAK,CAAC,CAAC;CACxD;AAED,iEAAiE;AACjE,MAAM,MAAM,gBAAgB,GAAG,KAAK,GAAG,QAAQ,CAAC;AAEhD,oEAAoE;AACpE,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,OAAO,CAAC;IACpB,eAAe,EAAE,cAAc,GAAG,SAAS,CAAC;IAC5C,kBAAkB,EAAE,cAAc,GAAG,SAAS,CAAC;IAC/C,QAAQ,EAAE,gBAAgB,GAAG,SAAS,CAAC;IACvC,gBAAgB,EAAE,OAAO,CAAC;CAC3B;AAED,iEAAiE;AACjE,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,MAAM,CAAC,cAAc,EAAE,OAAO,GAAG,SAAS,CAAC,CAAC;CACtD;AAED,sDAAsD;AACtD,MAAM,WAAW,yBAAyB,CACxC,KAAK,SAAS,YAAY,GAAG,YAAY,CACzC,SAAQ,iBAAiB,CAAC,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IAChD,uEAAuE;IACvE,iBAAiB,CAAC,EAAE,2BAA2B,CAAC,KAAK,CAAC,CAAC;IACvD,sDAAsD;IACtD,gBAAgB,EAAE,aAAa,CAAC,QAAQ,CAAC,qBAAqB,CAAC,CAAC,CAAC;IACjE,2EAA2E;IAC3E,mBAAmB,EAAE,aAAa,CAAC,QAAQ,CAAC,wBAAwB,CAAC,CAAC,CAAC;IACvE,uEAAuE;IACvE,cAAc,EAAE,CAAC,EAAE,EAAE,cAAc,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7D,wEAAwE;IACxE,gBAAgB,EAAE,CAAC,EAAE,EAAE,cAAc,KAAK,IAAI,CAAC;IAC/C,0DAA0D;IAC1D,UAAU,EAAE,CACV,YAAY,EAAE,cAAc,CAAC,KAAK,CAAC,EACnC,YAAY,EAAE,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,KAC5C,IAAI,CAAC;CACX"}
@@ -0,0 +1,2 @@
1
+ export declare function buildClonedRowPreview(row: HTMLElement, className: string): HTMLTableElement;
2
+ //# sourceMappingURL=drag-preview.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"drag-preview.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/plugins/drag-drop/drag-preview.ts"],"names":[],"mappings":"AAAA,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,GAAG,gBAAgB,CAW3F"}
@@ -0,0 +1,3 @@
1
+ export { createDataGridDragDropPlugin } from './drag-drop-plugin.js';
2
+ export type { DataGridDragDropPluginApi, DataGridDragDropPluginProps, DataGridDragDropState, DataGridDragPreviewRenderer, DataGridDropCallback, DataGridDropEdge, DataGridDropLoadingState, DataGridDropResult, } from './drag-drop-types.js';
3
+ //# sourceMappingURL=public.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/plugins/drag-drop/public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,uBAAuB,CAAC;AACrE,YAAY,EACV,yBAAyB,EACzB,2BAA2B,EAC3B,qBAAqB,EACrB,2BAA2B,EAC3B,oBAAoB,EACpB,gBAAgB,EAChB,wBAAwB,EACxB,kBAAkB,GACnB,MAAM,sBAAsB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"data-grid-pagination.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/plugins/pagination/components/data-grid-pagination.tsx"],"names":[],"mappings":";AAKA,wBAAgB,kBAAkB,gCA2BjC"}
1
+ {"version":3,"file":"data-grid-pagination.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/plugins/pagination/components/data-grid-pagination.tsx"],"names":[],"mappings":";AAMA,wBAAgB,kBAAkB,gCA6BjC"}
@@ -10,6 +10,12 @@ interface PagerProps {
10
10
  limits: number[];
11
11
  /** Hides the whole pager while everything fits on one page of the smallest size. */
12
12
  autoHide?: boolean;
13
+ /**
14
+ * The grid's `label`, when it has one: it names the pager's `nav` "<label> pagination", so two
15
+ * labelled grids on one page do not share the landmark name. Absent keeps the plain
16
+ * "Pagination" name.
17
+ */
18
+ label?: string;
13
19
  onPageChange: (page: number) => void;
14
20
  onLimitChange: (limit: number) => void;
15
21
  }
@@ -1 +1 @@
1
- {"version":3,"file":"pager.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/plugins/pagination/components/pager.tsx"],"names":[],"mappings":";AAiBA,UAAU,UAAU;IAClB,6BAA6B;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,6BAA6B;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,sBAAsB;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,uFAAuF;IACvF,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,oFAAoF;IACpF,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC;AAED;;;GAGG;AACH,eAAO,MAAM,KAAK,kDA0GhB,CAAC"}
1
+ {"version":3,"file":"pager.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/plugins/pagination/components/pager.tsx"],"names":[],"mappings":";AAiBA,UAAU,UAAU;IAClB,6BAA6B;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,6BAA6B;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,sBAAsB;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,uFAAuF;IACvF,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,oFAAoF;IACpF,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC;AAED;;;GAGG;AACH,eAAO,MAAM,KAAK,kDA8GhB,CAAC"}
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export declare function DataGridRowActionsCell(): import("react").JSX.Element | null;
3
+ //# sourceMappingURL=data-grid-row-actions-cell.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-grid-row-actions-cell.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/plugins/row-actions/components/data-grid-row-actions-cell.tsx"],"names":[],"mappings":";AAOA,wBAAgB,sBAAsB,uCAuBrC"}
@@ -0,0 +1,3 @@
1
+ export { DataGridRowActionsPlugin } from './row-actions-plugin.js';
2
+ export type { DataGridRowActionsPluginProps, DataGridRowActionsPluginApi, } from './row-actions-plugin.js';
3
+ //# sourceMappingURL=public.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/plugins/row-actions/public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,YAAY,EACV,6BAA6B,EAC7B,2BAA2B,GAC5B,MAAM,yBAAyB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { ReactNode } from 'react';
2
+ import { DataGridItem } from '../../data-grid-types';
3
+ import { DataGridRowActionsPluginApi, DataGridRowActionsPluginProps } from './row-actions-types';
4
+ export type { DataGridRowActionsPluginApi, DataGridRowActionsPluginProps };
5
+ export declare const DataGridRowActionsPlugin: <TItem extends DataGridItem = DataGridItem>(props: DataGridRowActionsPluginProps<TItem>) => ReactNode;
6
+ //# sourceMappingURL=row-actions-plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"row-actions-plugin.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/plugins/row-actions/row-actions-plugin.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAiB,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAI1D,OAAO,KAAK,EACV,2BAA2B,EAC3B,6BAA6B,EAC9B,MAAM,qBAAqB,CAAC;AAE7B,YAAY,EAAE,2BAA2B,EAAE,6BAA6B,EAAE,CAAC;AA6D3E,eAAO,MAAM,wBAAwB,qDAG5B,8BAA8B,KAAK,CAAC,KACxC,SAAS,CAAC"}
@@ -0,0 +1,24 @@
1
+ import { ComponentType } from 'react';
2
+ import { DataGridItem } from '../../data-grid-types';
3
+ import { DataGridPluginApi } from '../../services/plugins/plugins-helpers';
4
+ export interface DataGridRowActionsPluginProps<TItem extends DataGridItem = DataGridItem> extends Record<string, unknown> {
5
+ component: ComponentType<{
6
+ item: TItem;
7
+ }>;
8
+ order?: number;
9
+ className?: string;
10
+ /**
11
+ * Pins the actions column to the table's inline-end edge, so the row menu stays reachable on a
12
+ * table wide enough to scroll sideways instead of sitting past that edge.
13
+ * @default false
14
+ */
15
+ sticky?: boolean;
16
+ }
17
+ export interface DataGridRowActionsPluginApi<TItem extends DataGridItem = DataGridItem> extends DataGridPluginApi<DataGridRowActionsPluginProps<TItem>> {
18
+ useComponent: () => ComponentType<{
19
+ item: TItem;
20
+ }> | null;
21
+ useClassName: () => string | undefined;
22
+ measureRef: (element: HTMLElement | null) => void;
23
+ }
24
+ //# sourceMappingURL=row-actions-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"row-actions-types.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/plugins/row-actions/row-actions-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAEhF,MAAM,WAAW,6BAA6B,CAC5C,KAAK,SAAS,YAAY,GAAG,YAAY,CACzC,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAC/B,SAAS,EAAE,aAAa,CAAC;QAAE,IAAI,EAAE,KAAK,CAAA;KAAE,CAAC,CAAC;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,2BAA2B,CAC1C,KAAK,SAAS,YAAY,GAAG,YAAY,CACzC,SAAQ,iBAAiB,CAAC,6BAA6B,CAAC,KAAK,CAAC,CAAC;IAC/D,YAAY,EAAE,MAAM,aAAa,CAAC;QAAE,IAAI,EAAE,KAAK,CAAA;KAAE,CAAC,GAAG,IAAI,CAAC;IAC1D,YAAY,EAAE,MAAM,MAAM,GAAG,SAAS,CAAC;IACvC,UAAU,EAAE,CAAC,OAAO,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAC;CACnD"}
@@ -0,0 +1,8 @@
1
+ import { DataGridItem } from '../../../data-grid-types';
2
+ import { DataGridRecord } from '../../../services/storage/storage-types';
3
+ interface DataGridRowClickProps<TItem extends DataGridItem> {
4
+ record: DataGridRecord<TItem>;
5
+ }
6
+ export declare function DataGridRowClick<TItem extends DataGridItem>({ record, }: DataGridRowClickProps<TItem>): import("react").JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=data-grid-row-click.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-grid-row-click.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/plugins/row-click/components/data-grid-row-click.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAU9E,UAAU,qBAAqB,CAAC,KAAK,SAAS,YAAY;IACxD,MAAM,EAAE,cAAc,CAAC,KAAK,CAAC,CAAC;CAC/B;AAED,wBAAgB,gBAAgB,CAAC,KAAK,SAAS,YAAY,EAAE,EAC3D,MAAM,GACP,EAAE,qBAAqB,CAAC,KAAK,CAAC,+BAiD9B"}
@@ -0,0 +1,3 @@
1
+ export { DataGridRowClickPlugin } from './row-click-plugin.js';
2
+ export type { DataGridRowClickCallback, DataGridRowClickPluginApi, DataGridRowClickPluginProps, } from './row-click-plugin.js';
3
+ //# sourceMappingURL=public.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/plugins/row-click/public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,YAAY,EACV,wBAAwB,EACxB,yBAAyB,EACzB,2BAA2B,GAC5B,MAAM,uBAAuB,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { ReactNode } from 'react';
2
+ import { DataGridItem } from '../../data-grid-types';
3
+ import { DataGridPluginApi } from '../../services/plugins/plugins-helpers';
4
+ export type DataGridRowClickCallback<Item extends DataGridItem = DataGridItem> = (item: Item) => void;
5
+ export interface DataGridRowClickPluginProps<Item extends DataGridItem = DataGridItem> extends Record<string, unknown> {
6
+ click?: DataGridRowClickCallback<Item>;
7
+ dblclick?: DataGridRowClickCallback<Item>;
8
+ }
9
+ export interface DataGridRowClickPluginApi<Item extends DataGridItem = DataGridItem> extends DataGridPluginApi<DataGridRowClickPluginProps<Item>> {
10
+ click?: DataGridRowClickCallback<Item>;
11
+ dblclick?: DataGridRowClickCallback<Item>;
12
+ }
13
+ export declare const DataGridRowClickPlugin: <TItem extends DataGridItem = DataGridItem>(props: DataGridRowClickPluginProps<TItem>) => ReactNode;
14
+ //# sourceMappingURL=row-click-plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"row-click-plugin.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/plugins/row-click/row-click-plugin.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAGhF,MAAM,MAAM,wBAAwB,CAAC,IAAI,SAAS,YAAY,GAAG,YAAY,IAAI,CAC/E,IAAI,EAAE,IAAI,KACP,IAAI,CAAC;AAEV,MAAM,WAAW,2BAA2B,CAC1C,IAAI,SAAS,YAAY,GAAG,YAAY,CACxC,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAC/B,KAAK,CAAC,EAAE,wBAAwB,CAAC,IAAI,CAAC,CAAC;IACvC,QAAQ,CAAC,EAAE,wBAAwB,CAAC,IAAI,CAAC,CAAC;CAC3C;AAED,MAAM,WAAW,yBAAyB,CACxC,IAAI,SAAS,YAAY,GAAG,YAAY,CACxC,SAAQ,iBAAiB,CAAC,2BAA2B,CAAC,IAAI,CAAC,CAAC;IAC5D,KAAK,CAAC,EAAE,wBAAwB,CAAC,IAAI,CAAC,CAAC;IACvC,QAAQ,CAAC,EAAE,wBAAwB,CAAC,IAAI,CAAC,CAAC;CAC3C;AAuBD,eAAO,MAAM,sBAAsB,qDAG1B,4BAA4B,KAAK,CAAC,KACtC,SAAS,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { KeyboardEvent, MouseEvent } from 'react';
2
+ import { DataGridItem } from '../../data-grid-types';
3
+ import { DataGridRowClickCallback } from './row-click-plugin';
4
+ /**
5
+ * Accepts a getter so the callback is read at event time from the mutable plugin API,
6
+ * avoiding stale closures when onPropsChange updates the API without re-rendering the row.
7
+ */
8
+ export declare function getClickListener<TItem extends DataGridItem>(item: TItem, getCb: () => DataGridRowClickCallback<TItem> | undefined): (event: MouseEvent | KeyboardEvent) => void;
9
+ //# sourceMappingURL=row-click-utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"row-click-utils.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/plugins/row-click/row-click-utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE1D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAInE;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,SAAS,YAAY,EACzD,IAAI,EAAE,KAAK,EACX,KAAK,EAAE,MAAM,wBAAwB,CAAC,KAAK,CAAC,GAAG,SAAS,WAEzC,UAAU,GAAG,aAAa,UAU1C"}
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export declare function DataGridRowNumberCell(): import("react").JSX.Element;
3
+ //# sourceMappingURL=data-grid-row-number-cell.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-grid-row-number-cell.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/plugins/row-number/components/data-grid-row-number-cell.tsx"],"names":[],"mappings":";AAMA,wBAAgB,qBAAqB,gCAepC"}
@@ -0,0 +1,3 @@
1
+ export { DataGridRowNumberPlugin } from './row-number-plugin.js';
2
+ export type { DataGridRowNumberPluginApi } from './row-number-types.js';
3
+ //# sourceMappingURL=public.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/plugins/row-number/public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AACjE,YAAY,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { DataGridRowNumberPluginApi } from './row-number-types';
2
+ export type { DataGridRowNumberPluginApi };
3
+ export declare const DataGridRowNumberPlugin: import('react').NamedExoticComponent<Record<string, any>>;
4
+ //# sourceMappingURL=row-number-plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"row-number-plugin.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/plugins/row-number/row-number-plugin.tsx"],"names":[],"mappings":";AAWA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAKrE,YAAY,EAAE,0BAA0B,EAAE,CAAC;AAE3C,eAAO,MAAM,uBAAuB,2DA0BnC,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { DataGridPluginApi } from '../../services/plugins/plugins-helpers';
2
+ export interface DataGridRowNumberPluginApi extends DataGridPluginApi {
3
+ columnId: string;
4
+ measureRef: (element: HTMLElement | null) => void;
5
+ }
6
+ //# sourceMappingURL=row-number-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"row-number-types.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/plugins/row-number/row-number-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAEhF,MAAM,WAAW,0BAA2B,SAAQ,iBAAiB;IACnE,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,CAAC,OAAO,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAC;CACnD"}
@@ -0,0 +1,2 @@
1
+ export declare function computeRowNumber(index: number, page: number, limit: number): number;
2
+ //# sourceMappingURL=row-number-formula.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"row-number-formula.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/plugins/row-number/services/row-number-formula.ts"],"names":[],"mappings":"AAAA,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAEnF"}
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export declare function DataGridRowSelectBanner(): import("react").JSX.Element | null;
3
+ //# sourceMappingURL=data-grid-row-select-banner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-grid-row-select-banner.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/plugins/row-select/components/data-grid-row-select-banner.tsx"],"names":[],"mappings":";AAOA,wBAAgB,uBAAuB,uCA4CtC"}
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export declare function DataGridRowSelectBody(): import("react").JSX.Element | null;
3
+ //# sourceMappingURL=data-grid-row-select-body.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-grid-row-select-body.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/plugins/row-select/components/data-grid-row-select-body.tsx"],"names":[],"mappings":";AAMA,wBAAgB,qBAAqB,uCAepC"}
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export declare function DataGridRowSelectHeader(): import("react").JSX.Element | null;
3
+ //# sourceMappingURL=data-grid-row-select-header.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-grid-row-select-header.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/plugins/row-select/components/data-grid-row-select-header.tsx"],"names":[],"mappings":";AAIA,wBAAgB,uBAAuB,uCAkBtC"}
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export declare function DataGridRowSelectTop(): import("react").JSX.Element | null;
3
+ //# sourceMappingURL=data-grid-row-select-top.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-grid-row-select-top.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/plugins/row-select/components/data-grid-row-select-top.tsx"],"names":[],"mappings":";AAMA,wBAAgB,oBAAoB,uCA+BnC"}
@@ -0,0 +1,3 @@
1
+ export { DataGridRowSelectPlugin } from './row-select-plugin.js';
2
+ export type { DataGridRowSelectPluginApi, DataGridRowSelectPluginProps, DataGridRowSelectMode, DataGridRowSelectDescriptor, DataGridRowSelectChangeMeta, } from './row-select-types.js';
3
+ //# sourceMappingURL=public.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/plugins/row-select/public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AACjE,YAAY,EACV,0BAA0B,EAC1B,4BAA4B,EAC5B,qBAAqB,EACrB,2BAA2B,EAC3B,2BAA2B,GAC5B,MAAM,uBAAuB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { ReactNode } from 'react';
2
+ import { DataGridItem } from '../../data-grid-types';
3
+ import { DataGridRowSelectPluginProps } from './row-select-types';
4
+ export declare const DataGridRowSelectPlugin: <TItem extends DataGridItem = DataGridItem>(props: DataGridRowSelectPluginProps<TItem>) => ReactNode;
5
+ //# sourceMappingURL=row-select-plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"row-select-plugin.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/plugins/row-select/row-select-plugin.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAM1D,OAAO,KAAK,EAKV,4BAA4B,EAG7B,MAAM,oBAAoB,CAAC;AAyX5B,eAAO,MAAM,uBAAuB,qDAG3B,6BAA6B,KAAK,CAAC,KACvC,SAAS,CAAC"}
@@ -0,0 +1,113 @@
1
+ import { ComponentType } from 'react';
2
+ import { DataGridItem } from '../../data-grid-types';
3
+ import { DataGridItemId } from '../../services/storage/storage-types';
4
+ /** A consumer component rendered into the row-select action bar, given the plugin API. */
5
+ type RowSelectSlotComponent<TItem extends DataGridItem = DataGridItem> = ComponentType<{
6
+ rowSelect: DataGridRowSelectPluginApi<TItem>;
7
+ }>;
8
+ /** Effective selection state of the row-select plugin. */
9
+ export type DataGridRowSelectMode = 'none' | 'page' | 'all';
10
+ /**
11
+ * Describes what a bulk action should operate on.
12
+ *
13
+ * In `'all-matching'` mode the consumer sends its active filter/query plus a
14
+ * "select all matching" flag — never a materialised id list.
15
+ */
16
+ export type DataGridRowSelectDescriptor = {
17
+ mode: 'ids';
18
+ ids: DataGridItemId[];
19
+ } | {
20
+ mode: 'all-matching';
21
+ };
22
+ /** Metadata passed alongside the selected items to `onSelectionChange`. */
23
+ export interface DataGridRowSelectChangeMeta {
24
+ /** The current selection mode. */
25
+ mode: DataGridRowSelectMode;
26
+ /** Effective count: total matching when `mode` is `'all'`, else selected-id count. */
27
+ count: number;
28
+ }
29
+ export interface DataGridRowSelectPluginProps<TItem extends DataGridItem = DataGridItem> extends Record<string, unknown> {
30
+ /** Custom component rendered in the action bar when rows are selected. */
31
+ component?: RowSelectSlotComponent<TItem>;
32
+ /**
33
+ * Custom component that replaces the default "N items selected" indicator in
34
+ * the action bar. Receives the plugin API so it can derive its own content
35
+ * from the selection (e.g. computed capacities). When omitted the default
36
+ * localized count is shown.
37
+ */
38
+ statusComponent?: RowSelectSlotComponent<TItem>;
39
+ /** Called whenever the set of selected items changes. */
40
+ onSelectionChange?: (selectedItems: TItem[], meta: DataGridRowSelectChangeMeta) => void;
41
+ /** Allows selecting multiple rows simultaneously. Defaults to `true`. */
42
+ multiple?: boolean;
43
+ /** Predicate to hide the checkbox for specific rows. */
44
+ visible?: (item: TItem) => boolean;
45
+ /** Whether to show the per-page select-all checkbox in the header. Defaults to `true`. */
46
+ showSelectAll?: boolean;
47
+ /**
48
+ * Opt in to the "Select all N" banner and all-matching mode. Defaults to
49
+ * `false` — enable it only once the consumer handles the all-matching scope
50
+ * via the `meta` argument of `onSelectionChange` or `getSelectionDescriptor()`
51
+ * (in all-matching mode `selectedItems` only holds the current page). Also
52
+ * requires an action `component` and a load result whose `total` exceeds the
53
+ * number of rows on the current page.
54
+ */
55
+ showSelectAllMatching?: boolean;
56
+ /**
57
+ * When true, explicitly selected rows stay selected even when they are not
58
+ * visible (filtered out, searched away, or on a different page) instead of
59
+ * being pruned to the current page. `onSelectionChange` then reports every
60
+ * selected item across pages, and the header select-all/indeterminate state
61
+ * reflects the current page only. Defaults to `false`.
62
+ *
63
+ * Mutually exclusive in spirit with `showSelectAllMatching`: this keeps a
64
+ * hand-picked cross-page set, that offers a single "all matching" scope.
65
+ */
66
+ keepHiddenSelection?: boolean;
67
+ }
68
+ export interface RowSelectStore {
69
+ selectedIds: Set<DataGridItemId>;
70
+ /** Whether all-matching mode is active (every record matching the active filter). */
71
+ selectAllMatching: boolean;
72
+ /** Total matching count, mirrored from the load result's `total`. */
73
+ total: number;
74
+ }
75
+ export interface RowSelectConfigStore<TItem extends DataGridItem = DataGridItem> {
76
+ multiple: boolean;
77
+ showSelectAll: boolean;
78
+ showSelectAllMatching: boolean;
79
+ keepHiddenSelection: boolean;
80
+ visible: ((item: TItem) => boolean) | undefined;
81
+ onSelectionChange: ((selectedItems: TItem[], meta: DataGridRowSelectChangeMeta) => void) | undefined;
82
+ component: RowSelectSlotComponent<TItem> | undefined;
83
+ statusComponent: RowSelectSlotComponent<TItem> | undefined;
84
+ }
85
+ export interface DataGridRowSelectPluginApi<TItem extends DataGridItem = DataGridItem> {
86
+ useSelectedIds: () => Set<DataGridItemId>;
87
+ useIsSelected: (itemId: DataGridItemId) => boolean;
88
+ useMultiple: () => boolean;
89
+ useShowSelectAll: () => boolean;
90
+ useShowSelectAllMatching: () => boolean;
91
+ useComponent: () => RowSelectSlotComponent<TItem> | undefined;
92
+ useStatusComponent: () => RowSelectSlotComponent<TItem> | undefined;
93
+ useIsAllSelected: () => boolean;
94
+ useIsPartialSelected: () => boolean;
95
+ useIsVisible: (item: TItem) => boolean;
96
+ useIsSelectAllMatching: () => boolean;
97
+ useSelectionMode: () => DataGridRowSelectMode;
98
+ useSelectionCount: () => number;
99
+ useTotalCount: () => number;
100
+ /** Number of selectable (visible-predicate-passing) records on the current page. */
101
+ useSelectableCount: () => number;
102
+ /** Number of records loaded on the current page (ignores the `visible` predicate). */
103
+ useVisibleCount: () => number;
104
+ toggleSelection: (itemId: DataGridItemId) => void;
105
+ clearSelection: () => void;
106
+ toggleSelectAll: (value: boolean) => void;
107
+ /** Enter all-matching mode (records intent; performs no id enumeration). */
108
+ selectAllMatching: () => void;
109
+ /** Describe what a bulk action should target: explicit ids or the whole matching set. */
110
+ getSelectionDescriptor: () => DataGridRowSelectDescriptor;
111
+ }
112
+ export {};
113
+ //# sourceMappingURL=row-select-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"row-select-types.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/plugins/row-select/row-select-types.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,10 @@
1
+ import { ConfigurationGroup } from '../../../services/table/table-types';
2
+ interface DataGridTableConfigurationGroupItemProps {
3
+ group: ConfigurationGroup;
4
+ hasSticky?: boolean;
5
+ onVisibilityToggle: (columnId: string, visible: boolean) => void;
6
+ onStickyToggle: (id: string, sticky: boolean) => void;
7
+ }
8
+ export declare function DataGridTableConfigurationGroupItem({ group, hasSticky, onVisibilityToggle, onStickyToggle, }: DataGridTableConfigurationGroupItemProps): import("react").JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=data-grid-table-configuration-group-item.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-grid-table-configuration-group-item.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-group-item.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAK9E,UAAU,wCAAwC;IAChD,KAAK,EAAE,kBAAkB,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,kBAAkB,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACjE,cAAc,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;CACvD;AAED,wBAAgB,mCAAmC,CAAC,EAClD,KAAK,EACL,SAAS,EACT,kBAAkB,EAClB,cAAc,GACf,EAAE,wCAAwC,+BAyB1C"}
@@ -0,0 +1,10 @@
1
+ import { ConfigurationColumn } from '../../../services/table/table-types';
2
+ interface DataGridTableConfigurationItemProps {
3
+ column: ConfigurationColumn;
4
+ hasSticky?: boolean;
5
+ onVisibilityToggle: (columnId: string, visible: boolean) => void;
6
+ onStickyToggle: (columnId: string, sticky: boolean) => void;
7
+ }
8
+ export declare function DataGridTableConfigurationItem({ column, hasSticky, onVisibilityToggle, onStickyToggle, }: DataGridTableConfigurationItemProps): import("react").JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=data-grid-table-configuration-item.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-grid-table-configuration-item.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-item.tsx"],"names":[],"mappings":";AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAI/E,UAAU,mCAAmC;IAC3C,MAAM,EAAE,mBAAmB,CAAC;IAC5B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,kBAAkB,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACjE,cAAc,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;CAC7D;AAED,wBAAgB,8BAA8B,CAAC,EAC7C,MAAM,EACN,SAAS,EACT,kBAAkB,EAClB,cAAc,GACf,EAAE,mCAAmC,+BA2BrC"}
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ interface DataGridTableConfigurationPinButtonProps {
3
+ sticky?: boolean;
4
+ onToggle: () => void;
5
+ }
6
+ export declare function DataGridTableConfigurationPinButton({ sticky, onToggle, }: DataGridTableConfigurationPinButtonProps): import("react").JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=data-grid-table-configuration-pin-button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-grid-table-configuration-pin-button.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-pin-button.tsx"],"names":[],"mappings":";AAOA,UAAU,wCAAwC;IAChD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,wBAAgB,mCAAmC,CAAC,EAClD,MAAM,EACN,QAAQ,GACT,EAAE,wCAAwC,+BAiB1C"}
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export declare function DataGridTableConfigurationTrigger(): import("react").JSX.Element;
3
+ //# sourceMappingURL=data-grid-table-configuration-trigger.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-grid-table-configuration-trigger.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-trigger.tsx"],"names":[],"mappings":";AAQA,wBAAgB,iCAAiC,gCAkBhD"}
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export declare function DataGridTableConfiguration(): import("react").JSX.Element;
3
+ //# sourceMappingURL=data-grid-table-configuration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-grid-table-configuration.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration.tsx"],"names":[],"mappings":";AAUA,wBAAgB,0BAA0B,gCA2CzC"}
@@ -0,0 +1,3 @@
1
+ export { DataGridTableConfigurationPlugin } from './table-configuration-plugin.js';
2
+ export type { DataGridTableConfigurationPluginProps } from './table-configuration-plugin.js';
3
+ //# sourceMappingURL=public.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/plugins/table-configuration/public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gCAAgC,EAAE,MAAM,iCAAiC,CAAC;AACnF,YAAY,EAAE,qCAAqC,EAAE,MAAM,iCAAiC,CAAC"}