@gears-frontx/ui-kit 0.5.0 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1254) hide show
  1. package/README.md +2 -2
  2. package/dist/accordion.js +2 -34
  3. package/dist/accordion.js.map +1 -1
  4. package/dist/alert-dialog.js +2 -96
  5. package/dist/alert-dialog.js.map +1 -1
  6. package/dist/alert.js +2 -49
  7. package/dist/alert.js.map +1 -1
  8. package/dist/aspect-ratio.js +2 -18
  9. package/dist/aspect-ratio.js.map +1 -1
  10. package/dist/attachment.js +2 -181
  11. package/dist/attachment.js.map +1 -1
  12. package/dist/avatar.js +2 -86
  13. package/dist/avatar.js.map +1 -1
  14. package/dist/badge.js +2 -71
  15. package/dist/badge.js.map +1 -1
  16. package/dist/breadcrumb.js +2 -80
  17. package/dist/breadcrumb.js.map +1 -1
  18. package/dist/bubble.js +2 -94
  19. package/dist/bubble.js.map +1 -1
  20. package/dist/button-group.js +2 -60
  21. package/dist/button-group.js.map +1 -1
  22. package/dist/button.js +2 -82
  23. package/dist/button.js.map +1 -1
  24. package/dist/calendar.js +2 -133
  25. package/dist/calendar.js.map +1 -1
  26. package/dist/card.js +2 -113
  27. package/dist/card.js.map +1 -1
  28. package/dist/carousel.js +2 -162
  29. package/dist/carousel.js.map +1 -1
  30. package/dist/chart.js +1 -268
  31. package/dist/chart.js.map +1 -1
  32. package/dist/checkbox.js +2 -20
  33. package/dist/checkbox.js.map +1 -1
  34. package/dist/chunks/components/accordion/accordion.js +28 -0
  35. package/dist/chunks/components/accordion/accordion.js.map +1 -0
  36. package/dist/chunks/components/accordion/accordion.module.css.js +21 -0
  37. package/dist/chunks/components/accordion/accordion.module.css.js.map +1 -0
  38. package/dist/chunks/components/alert/alert.js +44 -0
  39. package/dist/chunks/components/alert/alert.js.map +1 -0
  40. package/dist/chunks/components/alert/alert.module.css.js +21 -0
  41. package/dist/chunks/components/alert/alert.module.css.js.map +1 -0
  42. package/dist/chunks/components/alert-dialog/alert-dialog.js +92 -0
  43. package/dist/chunks/components/alert-dialog/alert-dialog.js.map +1 -0
  44. package/dist/chunks/components/alert-dialog/alert-dialog.module.css.js +21 -0
  45. package/dist/chunks/components/alert-dialog/alert-dialog.module.css.js.map +1 -0
  46. package/dist/chunks/components/aspect-ratio/aspect-ratio.js +18 -0
  47. package/dist/chunks/components/aspect-ratio/aspect-ratio.js.map +1 -0
  48. package/dist/chunks/components/aspect-ratio/aspect-ratio.module.css.js +9 -0
  49. package/dist/chunks/components/aspect-ratio/aspect-ratio.module.css.js.map +1 -0
  50. package/dist/chunks/components/attachment/attachment.js +167 -0
  51. package/dist/chunks/components/attachment/attachment.js.map +1 -0
  52. package/dist/chunks/components/attachment/attachment.module.css.js +39 -0
  53. package/dist/chunks/components/attachment/attachment.module.css.js.map +1 -0
  54. package/dist/chunks/components/avatar/avatar.js +71 -0
  55. package/dist/chunks/components/avatar/avatar.js.map +1 -0
  56. package/dist/chunks/components/avatar/avatar.module.css.js +41 -0
  57. package/dist/chunks/components/avatar/avatar.module.css.js.map +1 -0
  58. package/dist/chunks/components/badge/badge.js +57 -0
  59. package/dist/chunks/components/badge/badge.js.map +1 -0
  60. package/dist/chunks/components/badge/badge.module.css.js +39 -0
  61. package/dist/chunks/components/badge/badge.module.css.js.map +1 -0
  62. package/dist/chunks/components/breadcrumb/breadcrumb.js +73 -0
  63. package/dist/chunks/components/breadcrumb/breadcrumb.js.map +1 -0
  64. package/dist/chunks/components/breadcrumb/breadcrumb.module.css.js +23 -0
  65. package/dist/chunks/components/breadcrumb/breadcrumb.module.css.js.map +1 -0
  66. package/dist/chunks/components/bubble/bubble.js +81 -0
  67. package/dist/chunks/components/bubble/bubble.js.map +1 -0
  68. package/dist/chunks/components/bubble/bubble.module.css.js +37 -0
  69. package/dist/chunks/components/bubble/bubble.module.css.js.map +1 -0
  70. package/dist/chunks/components/button/button.js +67 -0
  71. package/dist/chunks/components/button/button.js.map +1 -0
  72. package/dist/chunks/components/button/button.module.css.js +41 -0
  73. package/dist/chunks/components/button/button.module.css.js.map +1 -0
  74. package/dist/chunks/components/button-group/button-group.js +57 -0
  75. package/dist/chunks/components/button-group/button-group.js.map +1 -0
  76. package/dist/chunks/components/button-group/button-group.module.css.js +17 -0
  77. package/dist/chunks/components/button-group/button-group.module.css.js.map +1 -0
  78. package/dist/chunks/components/calendar/calendar.js +106 -0
  79. package/dist/chunks/components/calendar/calendar.js.map +1 -0
  80. package/dist/chunks/components/calendar/calendar.module.css.js +65 -0
  81. package/dist/chunks/components/calendar/calendar.module.css.js.map +1 -0
  82. package/dist/chunks/components/card/card.js +100 -0
  83. package/dist/chunks/components/card/card.js.map +1 -0
  84. package/dist/chunks/components/card/card.module.css.js +37 -0
  85. package/dist/chunks/components/card/card.module.css.js.map +1 -0
  86. package/dist/chunks/components/carousel/carousel.js +158 -0
  87. package/dist/chunks/components/carousel/carousel.js.map +1 -0
  88. package/dist/chunks/components/carousel/carousel.module.css.js +19 -0
  89. package/dist/chunks/components/carousel/carousel.module.css.js.map +1 -0
  90. package/dist/chunks/components/chart/chart.js +249 -0
  91. package/dist/chunks/components/chart/chart.js.map +1 -0
  92. package/dist/chunks/components/chart/chart.module.css.js +51 -0
  93. package/dist/chunks/components/chart/chart.module.css.js.map +1 -0
  94. package/dist/chunks/components/checkbox/checkbox.js +16 -0
  95. package/dist/chunks/components/checkbox/checkbox.js.map +1 -0
  96. package/dist/chunks/components/checkbox/checkbox.module.css.js +17 -0
  97. package/dist/chunks/components/checkbox/checkbox.module.css.js.map +1 -0
  98. package/dist/chunks/components/code-block/code-block.js +132 -0
  99. package/dist/chunks/components/code-block/code-block.js.map +1 -0
  100. package/dist/chunks/components/code-block/code-block.module.css.js +49 -0
  101. package/dist/chunks/components/code-block/code-block.module.css.js.map +1 -0
  102. package/dist/chunks/components/collapsible/collapsible.js +20 -0
  103. package/dist/chunks/components/collapsible/collapsible.js.map +1 -0
  104. package/dist/chunks/components/collapsible/collapsible.module.css.js +11 -0
  105. package/dist/chunks/components/collapsible/collapsible.module.css.js.map +1 -0
  106. package/dist/chunks/components/combobox/combobox.js +158 -0
  107. package/dist/chunks/components/combobox/combobox.js.map +1 -0
  108. package/dist/chunks/components/combobox/combobox.module.css.js +53 -0
  109. package/dist/chunks/components/combobox/combobox.module.css.js.map +1 -0
  110. package/dist/chunks/components/command/command.js +77 -0
  111. package/dist/chunks/components/command/command.js.map +1 -0
  112. package/dist/chunks/components/command/command.module.css.js +33 -0
  113. package/dist/chunks/components/command/command.module.css.js.map +1 -0
  114. package/dist/chunks/components/context-menu/context-menu.js +189 -0
  115. package/dist/chunks/components/context-menu/context-menu.js.map +1 -0
  116. package/dist/chunks/components/context-menu/context-menu.module.css.js +39 -0
  117. package/dist/chunks/components/context-menu/context-menu.module.css.js.map +1 -0
  118. package/dist/chunks/components/data-grid/components/data-grid-content.js +23 -0
  119. package/dist/chunks/components/data-grid/components/data-grid-content.js.map +1 -0
  120. package/dist/chunks/components/data-grid/components/data-grid-empty-state.js +19 -0
  121. package/dist/chunks/components/data-grid/components/data-grid-empty-state.js.map +1 -0
  122. package/dist/chunks/components/data-grid/components/data-grid-empty-state.module.Dj-_w0zs.css +1 -0
  123. package/dist/chunks/components/data-grid/components/data-grid-empty-state.module.css.js +9 -0
  124. package/dist/chunks/components/data-grid/components/data-grid-empty-state.module.css.js.map +1 -0
  125. package/dist/chunks/components/data-grid/components/data-grid-spinner.js +12 -0
  126. package/dist/chunks/components/data-grid/components/data-grid-spinner.js.map +1 -0
  127. package/dist/chunks/components/data-grid/components/data-grid-spinner.module.DK-b-DLO.css +1 -0
  128. package/dist/chunks/components/data-grid/components/data-grid-spinner.module.css.js +9 -0
  129. package/dist/chunks/components/data-grid/components/data-grid-spinner.module.css.js.map +1 -0
  130. package/dist/chunks/components/data-grid/components/filter-chip.js +24 -0
  131. package/dist/chunks/components/data-grid/components/filter-chip.js.map +1 -0
  132. package/dist/chunks/components/data-grid/components/filter-chip.module.css.js +13 -0
  133. package/dist/chunks/components/data-grid/components/filter-chip.module.css.js.map +1 -0
  134. package/dist/chunks/components/data-grid/components/filter-chip.module.mM_jL7aO.css +1 -0
  135. package/dist/chunks/components/data-grid/components/filter-control-area.js +14 -0
  136. package/dist/chunks/components/data-grid/components/filter-control-area.js.map +1 -0
  137. package/dist/chunks/components/data-grid/components/filter-control-area.module.css.js +10 -0
  138. package/dist/chunks/components/data-grid/components/filter-control-area.module.css.js.map +1 -0
  139. package/dist/chunks/components/data-grid/components/filter-control-area.module.oazHimWA.css +1 -0
  140. package/dist/chunks/components/data-grid/components/filter-options-search-input.js +29 -0
  141. package/dist/chunks/components/data-grid/components/filter-options-search-input.js.map +1 -0
  142. package/dist/chunks/components/data-grid/components/filter-popover-content.js +11 -0
  143. package/dist/chunks/components/data-grid/components/filter-popover-content.js.map +1 -0
  144. package/dist/chunks/components/data-grid/components/filter-popover-content.module.DzrnHFtZ.css +1 -0
  145. package/dist/chunks/components/data-grid/components/filter-popover-content.module.css.js +9 -0
  146. package/dist/chunks/components/data-grid/components/filter-popover-content.module.css.js.map +1 -0
  147. package/dist/chunks/components/data-grid/components/filter-reset-button.js +27 -0
  148. package/dist/chunks/components/data-grid/components/filter-reset-button.js.map +1 -0
  149. package/dist/chunks/components/data-grid/components/filter-reset-button.module.-67D76EF.css +1 -0
  150. package/dist/chunks/components/data-grid/components/filter-reset-button.module.css.js +11 -0
  151. package/dist/chunks/components/data-grid/components/filter-reset-button.module.css.js.map +1 -0
  152. package/dist/chunks/components/data-grid/components/filter-scrollable-wrapper.js +10 -0
  153. package/dist/chunks/components/data-grid/components/filter-scrollable-wrapper.js.map +1 -0
  154. package/dist/chunks/components/data-grid/components/filter-scrollable-wrapper.module.Cze-YqHc.css +1 -0
  155. package/dist/chunks/components/data-grid/components/filter-scrollable-wrapper.module.css.js +9 -0
  156. package/dist/chunks/components/data-grid/components/filter-scrollable-wrapper.module.css.js.map +1 -0
  157. package/dist/chunks/components/data-grid/components/load-controlled.js +19 -0
  158. package/dist/chunks/components/data-grid/components/load-controlled.js.map +1 -0
  159. package/dist/chunks/components/data-grid/components/load-controlled.module.css.js +9 -0
  160. package/dist/chunks/components/data-grid/components/load-controlled.module.css.js.map +1 -0
  161. package/dist/chunks/components/data-grid/components/load-controlled.module.nids5tbv.css +1 -0
  162. package/dist/chunks/components/data-grid/components/segment.js +19 -0
  163. package/dist/chunks/components/data-grid/components/segment.js.map +1 -0
  164. package/dist/chunks/components/data-grid/create-data-grid.js +61 -0
  165. package/dist/chunks/components/data-grid/create-data-grid.js.map +1 -0
  166. package/dist/chunks/components/data-grid/data-grid.js +60 -0
  167. package/dist/chunks/components/data-grid/data-grid.js.map +1 -0
  168. package/dist/chunks/components/data-grid/data-grid.module.css.js +9 -0
  169. package/dist/chunks/components/data-grid/data-grid.module.css.js.map +1 -0
  170. package/dist/chunks/components/data-grid/data-grid.module.wZc8o37a.css +1 -0
  171. package/dist/chunks/{messages.js → components/data-grid/messages.js} +25 -5
  172. package/dist/chunks/components/data-grid/messages.js.map +1 -0
  173. package/dist/chunks/components/data-grid/plugins/actions/actions-plugin.js +30 -0
  174. package/dist/chunks/components/data-grid/plugins/actions/actions-plugin.js.map +1 -0
  175. package/dist/chunks/components/data-grid/plugins/actions/components/data-grid-actions-wrapper.js +12 -0
  176. package/dist/chunks/components/data-grid/plugins/actions/components/data-grid-actions-wrapper.js.map +1 -0
  177. package/dist/chunks/components/data-grid/plugins/actions/components/data-grid-actions-wrapper.module.css.js +9 -0
  178. package/dist/chunks/components/data-grid/plugins/actions/components/data-grid-actions-wrapper.module.css.js.map +1 -0
  179. package/dist/chunks/components/data-grid/plugins/actions-menu/actions-menu-plugin.js +34 -0
  180. package/dist/chunks/components/data-grid/plugins/actions-menu/actions-menu-plugin.js.map +1 -0
  181. package/dist/chunks/components/data-grid/plugins/actions-menu/components/data-grid-actions-menu.js +32 -0
  182. package/dist/chunks/components/data-grid/plugins/actions-menu/components/data-grid-actions-menu.js.map +1 -0
  183. package/dist/chunks/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/data-grid-export-menu-item.js +64 -0
  184. package/dist/chunks/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/data-grid-export-menu-item.js.map +1 -0
  185. package/dist/chunks/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/export-cells.js +28 -0
  186. package/dist/chunks/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/export-cells.js.map +1 -0
  187. package/dist/chunks/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/export-menu-items.js +13 -0
  188. package/dist/chunks/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/export-menu-items.js.map +1 -0
  189. package/dist/chunks/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/export-service.js +147 -0
  190. package/dist/chunks/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/export-service.js.map +1 -0
  191. package/dist/chunks/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/formatters/csv-formatter.js +38 -0
  192. package/dist/chunks/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/formatters/csv-formatter.js.map +1 -0
  193. package/dist/chunks/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/formatters/excel-formatter.js +69 -0
  194. package/dist/chunks/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/formatters/excel-formatter.js.map +1 -0
  195. package/dist/chunks/components/data-grid/plugins/drag-drop/components/data-grid-drag-drop-body-cell.js +27 -0
  196. package/dist/chunks/components/data-grid/plugins/drag-drop/components/data-grid-drag-drop-body-cell.js.map +1 -0
  197. package/dist/chunks/components/data-grid/plugins/drag-drop/components/data-grid-drag-drop-content.js +68 -0
  198. package/dist/chunks/components/data-grid/plugins/drag-drop/components/data-grid-drag-drop-content.js.map +1 -0
  199. package/dist/chunks/components/data-grid/plugins/drag-drop/components/data-grid-drag-drop-row.js +105 -0
  200. package/dist/chunks/components/data-grid/plugins/drag-drop/components/data-grid-drag-drop-row.js.map +1 -0
  201. package/dist/chunks/components/data-grid/plugins/drag-drop/components/data-grid-drag-drop.module.css.js +29 -0
  202. package/dist/chunks/components/data-grid/plugins/drag-drop/components/data-grid-drag-drop.module.css.js.map +1 -0
  203. package/dist/chunks/components/data-grid/plugins/drag-drop/drag-data.js +15 -0
  204. package/dist/chunks/components/data-grid/plugins/drag-drop/drag-data.js.map +1 -0
  205. package/dist/chunks/components/data-grid/plugins/drag-drop/drag-drop-plugin.js +82 -0
  206. package/dist/chunks/components/data-grid/plugins/drag-drop/drag-drop-plugin.js.map +1 -0
  207. package/dist/chunks/components/data-grid/plugins/drag-drop/drag-preview.js +11 -0
  208. package/dist/chunks/components/data-grid/plugins/drag-drop/drag-preview.js.map +1 -0
  209. package/dist/chunks/components/data-grid/plugins/empty-state/empty-state-plugin.js +29 -0
  210. package/dist/chunks/components/data-grid/plugins/empty-state/empty-state-plugin.js.map +1 -0
  211. package/dist/chunks/components/data-grid/plugins/filters/components/adaptive-popover.js +27 -0
  212. package/dist/chunks/components/data-grid/plugins/filters/components/adaptive-popover.js.map +1 -0
  213. package/dist/chunks/components/data-grid/plugins/filters/components/adaptive-popover.module.DcNGXhAH.css +1 -0
  214. package/dist/chunks/components/data-grid/plugins/filters/components/adaptive-popover.module.css.js +9 -0
  215. package/dist/chunks/components/data-grid/plugins/filters/components/adaptive-popover.module.css.js.map +1 -0
  216. package/dist/chunks/components/data-grid/plugins/filters/components/all-filters-button.js +46 -0
  217. package/dist/chunks/components/data-grid/plugins/filters/components/all-filters-button.js.map +1 -0
  218. package/dist/chunks/components/data-grid/plugins/filters/components/all-filters-button.module.CR1KYuXn.css +1 -0
  219. package/dist/chunks/components/data-grid/plugins/filters/components/all-filters-button.module.css.js +9 -0
  220. package/dist/chunks/components/data-grid/plugins/filters/components/all-filters-button.module.css.js.map +1 -0
  221. package/dist/chunks/components/data-grid/plugins/filters/components/all-filters-dialog.js +23 -0
  222. package/dist/chunks/components/data-grid/plugins/filters/components/all-filters-dialog.js.map +1 -0
  223. package/dist/chunks/components/data-grid/plugins/filters/components/dialog-filter-item.js +42 -0
  224. package/dist/chunks/components/data-grid/plugins/filters/components/dialog-filter-item.js.map +1 -0
  225. package/dist/chunks/components/data-grid/plugins/filters/components/dialog-filter-item.module.B3c_OUtq.css +1 -0
  226. package/dist/chunks/components/data-grid/plugins/filters/components/dialog-filter-item.module.css.js +15 -0
  227. package/dist/chunks/components/data-grid/plugins/filters/components/dialog-filter-item.module.css.js.map +1 -0
  228. package/dist/chunks/components/data-grid/plugins/filters/components/filter-label.js +25 -0
  229. package/dist/chunks/components/data-grid/plugins/filters/components/filter-label.js.map +1 -0
  230. package/dist/chunks/components/data-grid/plugins/filters/components/filter-popover.js +40 -0
  231. package/dist/chunks/components/data-grid/plugins/filters/components/filter-popover.js.map +1 -0
  232. package/dist/chunks/components/data-grid/plugins/filters/components/filter-popover.module.XH3lJApo.css +1 -0
  233. package/dist/chunks/components/data-grid/plugins/filters/components/filter-popover.module.css.js +9 -0
  234. package/dist/chunks/components/data-grid/plugins/filters/components/filter-popover.module.css.js.map +1 -0
  235. package/dist/chunks/components/data-grid/plugins/filters/components/filter-single.js +11 -0
  236. package/dist/chunks/components/data-grid/plugins/filters/components/filter-single.js.map +1 -0
  237. package/dist/chunks/components/data-grid/plugins/filters/components/filters-bar.js +23 -0
  238. package/dist/chunks/components/data-grid/plugins/filters/components/filters-bar.js.map +1 -0
  239. package/dist/chunks/components/data-grid/plugins/filters/components/filters-bar.module.css.js +13 -0
  240. package/dist/chunks/components/data-grid/plugins/filters/components/filters-bar.module.css.js.map +1 -0
  241. package/dist/chunks/components/data-grid/plugins/filters/components/filters-bar.module.ktjQBXI0.css +1 -0
  242. package/dist/chunks/components/data-grid/plugins/filters/entities/checkbox-group/checkbox-group-dialog-filter.js +25 -0
  243. package/dist/chunks/components/data-grid/plugins/filters/entities/checkbox-group/checkbox-group-dialog-filter.js.map +1 -0
  244. package/dist/chunks/components/data-grid/plugins/filters/entities/checkbox-group/checkbox-group-list.js +68 -0
  245. package/dist/chunks/components/data-grid/plugins/filters/entities/checkbox-group/checkbox-group-list.js.map +1 -0
  246. package/dist/chunks/components/data-grid/plugins/filters/entities/checkbox-group/checkbox-group-list.module.B53xtE6B.css +1 -0
  247. package/dist/chunks/components/data-grid/plugins/filters/entities/checkbox-group/checkbox-group-list.module.css.js +13 -0
  248. package/dist/chunks/components/data-grid/plugins/filters/entities/checkbox-group/checkbox-group-list.module.css.js.map +1 -0
  249. package/dist/chunks/components/data-grid/plugins/filters/entities/checkbox-group/checkbox-group-quick-filter.js +25 -0
  250. package/dist/chunks/components/data-grid/plugins/filters/entities/checkbox-group/checkbox-group-quick-filter.js.map +1 -0
  251. package/dist/chunks/components/data-grid/plugins/filters/entities/checkbox-group/filter-checkbox-group.js +26 -0
  252. package/dist/chunks/components/data-grid/plugins/filters/entities/checkbox-group/filter-checkbox-group.js.map +1 -0
  253. package/dist/chunks/components/data-grid/plugins/filters/entities/date-range/date-range-calendar.js +32 -0
  254. package/dist/chunks/components/data-grid/plugins/filters/entities/date-range/date-range-calendar.js.map +1 -0
  255. package/dist/chunks/components/data-grid/plugins/filters/entities/date-range/date-range-dialog-filter.js +26 -0
  256. package/dist/chunks/components/data-grid/plugins/filters/entities/date-range/date-range-dialog-filter.js.map +1 -0
  257. package/dist/chunks/components/data-grid/plugins/filters/entities/date-range/date-range-quick-filter.js +24 -0
  258. package/dist/chunks/components/data-grid/plugins/filters/entities/date-range/date-range-quick-filter.js.map +1 -0
  259. package/dist/chunks/components/data-grid/plugins/filters/entities/date-range/date-range-selection.js +9 -0
  260. package/dist/chunks/components/data-grid/plugins/filters/entities/date-range/date-range-selection.js.map +1 -0
  261. package/dist/chunks/components/data-grid/plugins/filters/entities/date-range/date-range-value.js +21 -0
  262. package/dist/chunks/components/data-grid/plugins/filters/entities/date-range/date-range-value.js.map +1 -0
  263. package/dist/chunks/components/data-grid/plugins/filters/entities/date-range/filter-date-range.js +24 -0
  264. package/dist/chunks/components/data-grid/plugins/filters/entities/date-range/filter-date-range.js.map +1 -0
  265. package/dist/chunks/components/data-grid/plugins/filters/entities/entities.js +8 -0
  266. package/dist/chunks/components/data-grid/plugins/filters/entities/entities.js.map +1 -0
  267. package/dist/chunks/components/data-grid/plugins/filters/entities/search/filter-search.js +15 -0
  268. package/dist/chunks/components/data-grid/plugins/filters/entities/search/filter-search.js.map +1 -0
  269. package/dist/chunks/components/data-grid/plugins/filters/entities/search/search-quick-filter.js +27 -0
  270. package/dist/chunks/components/data-grid/plugins/filters/entities/search/search-quick-filter.js.map +1 -0
  271. package/dist/chunks/components/data-grid/plugins/filters/entities/tag-group/filter-tag-group.js +25 -0
  272. package/dist/chunks/components/data-grid/plugins/filters/entities/tag-group/filter-tag-group.js.map +1 -0
  273. package/dist/chunks/components/data-grid/plugins/filters/entities/tag-group/tag-group-dialog-filter.js +25 -0
  274. package/dist/chunks/components/data-grid/plugins/filters/entities/tag-group/tag-group-dialog-filter.js.map +1 -0
  275. package/dist/chunks/components/data-grid/plugins/filters/entities/tag-group/tag-group-list.js +42 -0
  276. package/dist/chunks/components/data-grid/plugins/filters/entities/tag-group/tag-group-list.js.map +1 -0
  277. package/dist/chunks/components/data-grid/plugins/filters/entities/tag-group/tag-group-list.module.DMknNrbm.css +1 -0
  278. package/dist/chunks/components/data-grid/plugins/filters/entities/tag-group/tag-group-list.module.css.js +11 -0
  279. package/dist/chunks/components/data-grid/plugins/filters/entities/tag-group/tag-group-list.module.css.js.map +1 -0
  280. package/dist/chunks/components/data-grid/plugins/filters/entities/tag-group/tag-group-quick-filter.js +25 -0
  281. package/dist/chunks/components/data-grid/plugins/filters/entities/tag-group/tag-group-quick-filter.js.map +1 -0
  282. package/dist/chunks/components/data-grid/plugins/filters/entities/toggle/filter-toggle.js +15 -0
  283. package/dist/chunks/components/data-grid/plugins/filters/entities/toggle/filter-toggle.js.map +1 -0
  284. package/dist/chunks/components/data-grid/plugins/filters/entities/toggle/toggle-quick-filter.js +16 -0
  285. package/dist/chunks/components/data-grid/plugins/filters/entities/toggle/toggle-quick-filter.js.map +1 -0
  286. package/dist/chunks/components/data-grid/plugins/filters/entities/tree/filter-tree.js +29 -0
  287. package/dist/chunks/components/data-grid/plugins/filters/entities/tree/filter-tree.js.map +1 -0
  288. package/dist/chunks/components/data-grid/plugins/filters/entities/tree/resolve-filter-tree-value.js +16 -0
  289. package/dist/chunks/components/data-grid/plugins/filters/entities/tree/resolve-filter-tree-value.js.map +1 -0
  290. package/dist/chunks/components/data-grid/plugins/filters/entities/tree/tree-dialog-filter.js +16 -0
  291. package/dist/chunks/components/data-grid/plugins/filters/entities/tree/tree-dialog-filter.js.map +1 -0
  292. package/dist/chunks/components/data-grid/plugins/filters/entities/tree/tree-list.js +30 -0
  293. package/dist/chunks/components/data-grid/plugins/filters/entities/tree/tree-list.js.map +1 -0
  294. package/dist/chunks/components/data-grid/plugins/filters/entities/tree/tree-quick-filter.js +16 -0
  295. package/dist/chunks/components/data-grid/plugins/filters/entities/tree/tree-quick-filter.js.map +1 -0
  296. package/dist/chunks/components/data-grid/plugins/filters/entities/tree/tree-radio-select-plugin.js +54 -0
  297. package/dist/chunks/components/data-grid/plugins/filters/entities/tree/tree-radio-select-plugin.js.map +1 -0
  298. package/dist/chunks/components/data-grid/plugins/filters/entities/tree/tree-radio-select-plugin.module.Bybt3yVC.css +1 -0
  299. package/dist/chunks/components/data-grid/plugins/filters/entities/tree/tree-radio-select-plugin.module.css.js +11 -0
  300. package/dist/chunks/components/data-grid/plugins/filters/entities/tree/tree-radio-select-plugin.module.css.js.map +1 -0
  301. package/dist/chunks/components/data-grid/plugins/filters/entities/tree/use-tree-search.js +37 -0
  302. package/dist/chunks/components/data-grid/plugins/filters/entities/tree/use-tree-search.js.map +1 -0
  303. package/dist/chunks/components/data-grid/plugins/filters/filters-plugin.js +103 -0
  304. package/dist/chunks/components/data-grid/plugins/filters/filters-plugin.js.map +1 -0
  305. package/dist/chunks/components/data-grid/plugins/filters/services/read-option-values.js +8 -0
  306. package/dist/chunks/components/data-grid/plugins/filters/services/read-option-values.js.map +1 -0
  307. package/dist/chunks/components/data-grid/plugins/filters/services/use-async-filter-search.js +24 -0
  308. package/dist/chunks/components/data-grid/plugins/filters/services/use-async-filter-search.js.map +1 -0
  309. package/dist/chunks/components/data-grid/plugins/filters/services/use-filter-search.js +27 -0
  310. package/dist/chunks/components/data-grid/plugins/filters/services/use-filter-search.js.map +1 -0
  311. package/dist/chunks/components/data-grid/plugins/order/components/data-grid-order-button.js +89 -0
  312. package/dist/chunks/components/data-grid/plugins/order/components/data-grid-order-button.js.map +1 -0
  313. package/dist/chunks/{order.D7Jg_Mg8.css → components/data-grid/plugins/order/components/data-grid-order-button.module.BD_CGkvN.css} +1 -1
  314. package/dist/chunks/components/data-grid/plugins/order/components/data-grid-order-button.module.css.js +13 -0
  315. package/dist/chunks/components/data-grid/plugins/order/components/data-grid-order-button.module.css.js.map +1 -0
  316. package/dist/chunks/components/data-grid/plugins/order/components/data-grid-order-header-cell-label.js +24 -0
  317. package/dist/chunks/components/data-grid/plugins/order/components/data-grid-order-header-cell-label.js.map +1 -0
  318. package/dist/chunks/components/data-grid/plugins/order/components/data-grid-order-header-cell-label.module.CPL0Ezlu.css +1 -0
  319. package/dist/chunks/components/data-grid/plugins/order/components/data-grid-order-header-cell-label.module.css.js +9 -0
  320. package/dist/chunks/components/data-grid/plugins/order/components/data-grid-order-header-cell-label.module.css.js.map +1 -0
  321. package/dist/chunks/components/data-grid/plugins/order/components/data-grid-order-icon.js +25 -0
  322. package/dist/chunks/components/data-grid/plugins/order/components/data-grid-order-icon.js.map +1 -0
  323. package/dist/chunks/components/data-grid/plugins/order/order-plugin.js +129 -0
  324. package/dist/chunks/components/data-grid/plugins/order/order-plugin.js.map +1 -0
  325. package/dist/chunks/components/data-grid/plugins/order/services/order-labels.js +18 -0
  326. package/dist/chunks/components/data-grid/plugins/order/services/order-labels.js.map +1 -0
  327. package/dist/chunks/components/data-grid/plugins/order/services/order-option.js +12 -0
  328. package/dist/chunks/components/data-grid/plugins/order/services/order-option.js.map +1 -0
  329. package/dist/chunks/components/data-grid/plugins/pagination/components/data-grid-pagination.js +27 -0
  330. package/dist/chunks/components/data-grid/plugins/pagination/components/data-grid-pagination.js.map +1 -0
  331. package/dist/chunks/components/data-grid/plugins/pagination/components/data-grid-pagination.module.Dmd6RNxK.css +1 -0
  332. package/dist/chunks/components/data-grid/plugins/pagination/components/data-grid-pagination.module.css.js +9 -0
  333. package/dist/chunks/components/data-grid/plugins/pagination/components/data-grid-pagination.module.css.js.map +1 -0
  334. package/dist/chunks/components/data-grid/plugins/pagination/components/pager.js +100 -0
  335. package/dist/chunks/components/data-grid/plugins/pagination/components/pager.js.map +1 -0
  336. package/dist/chunks/components/data-grid/plugins/pagination/components/pager.module.BW26KvxI.css +1 -0
  337. package/dist/chunks/components/data-grid/plugins/pagination/components/pager.module.css.js +17 -0
  338. package/dist/chunks/components/data-grid/plugins/pagination/components/pager.module.css.js.map +1 -0
  339. package/dist/chunks/components/data-grid/plugins/pagination/pagination-plugin.js +83 -0
  340. package/dist/chunks/components/data-grid/plugins/pagination/pagination-plugin.js.map +1 -0
  341. package/dist/chunks/components/data-grid/plugins/pagination/services/pagination-items.js +49 -0
  342. package/dist/chunks/components/data-grid/plugins/pagination/services/pagination-items.js.map +1 -0
  343. package/dist/chunks/components/data-grid/plugins/row-actions/components/data-grid-row-actions-cell.js +23 -0
  344. package/dist/chunks/components/data-grid/plugins/row-actions/components/data-grid-row-actions-cell.js.map +1 -0
  345. package/dist/chunks/components/data-grid/plugins/row-actions/components/data-grid-row-actions-cell.module.css.js +9 -0
  346. package/dist/chunks/components/data-grid/plugins/row-actions/components/data-grid-row-actions-cell.module.css.js.map +1 -0
  347. package/dist/chunks/components/data-grid/plugins/row-actions/row-actions-plugin.js +35 -0
  348. package/dist/chunks/components/data-grid/plugins/row-actions/row-actions-plugin.js.map +1 -0
  349. package/dist/chunks/components/data-grid/plugins/row-click/components/data-grid-row-click.js +55 -0
  350. package/dist/chunks/components/data-grid/plugins/row-click/components/data-grid-row-click.js.map +1 -0
  351. package/dist/chunks/components/data-grid/plugins/row-click/components/data-grid-row-click.module.css.js +9 -0
  352. package/dist/chunks/components/data-grid/plugins/row-click/components/data-grid-row-click.module.css.js.map +1 -0
  353. package/dist/chunks/components/data-grid/plugins/row-click/row-click-plugin.js +19 -0
  354. package/dist/chunks/components/data-grid/plugins/row-click/row-click-plugin.js.map +1 -0
  355. package/dist/chunks/{row-click-utils.js → components/data-grid/plugins/row-click/row-click-utils.js} +6 -5
  356. package/dist/chunks/components/data-grid/plugins/row-click/row-click-utils.js.map +1 -0
  357. package/dist/chunks/components/data-grid/plugins/row-detail/components/data-grid-row-detail-header.js +12 -0
  358. package/dist/chunks/components/data-grid/plugins/row-detail/components/data-grid-row-detail-header.js.map +1 -0
  359. package/dist/chunks/components/data-grid/plugins/row-detail/components/data-grid-row-detail-row.js +41 -0
  360. package/dist/chunks/components/data-grid/plugins/row-detail/components/data-grid-row-detail-row.js.map +1 -0
  361. package/dist/chunks/components/data-grid/plugins/row-detail/components/data-grid-row-detail-toggle.js +32 -0
  362. package/dist/chunks/components/data-grid/plugins/row-detail/components/data-grid-row-detail-toggle.js.map +1 -0
  363. package/dist/chunks/components/data-grid/plugins/row-detail/components/data-grid-row-detail.module.BMHqCTxL.css +1 -0
  364. package/dist/chunks/components/data-grid/plugins/row-detail/components/data-grid-row-detail.module.css.js +19 -0
  365. package/dist/chunks/components/data-grid/plugins/row-detail/components/data-grid-row-detail.module.css.js.map +1 -0
  366. package/dist/chunks/components/data-grid/plugins/row-detail/row-detail-plugin.js +61 -0
  367. package/dist/chunks/components/data-grid/plugins/row-detail/row-detail-plugin.js.map +1 -0
  368. package/dist/chunks/components/data-grid/plugins/row-number/components/data-grid-row-number-cell.js +15 -0
  369. package/dist/chunks/components/data-grid/plugins/row-number/components/data-grid-row-number-cell.js.map +1 -0
  370. package/dist/chunks/components/data-grid/plugins/row-number/components/data-grid-row-number-cell.module.css.js +9 -0
  371. package/dist/chunks/components/data-grid/plugins/row-number/components/data-grid-row-number-cell.module.css.js.map +1 -0
  372. package/dist/chunks/components/data-grid/plugins/row-number/row-number-plugin.js +27 -0
  373. package/dist/chunks/components/data-grid/plugins/row-number/row-number-plugin.js.map +1 -0
  374. package/dist/chunks/components/data-grid/plugins/row-number/services/row-number-formula.js +8 -0
  375. package/dist/chunks/components/data-grid/plugins/row-number/services/row-number-formula.js.map +1 -0
  376. package/dist/chunks/components/data-grid/plugins/row-select/components/data-grid-row-select-banner.js +30 -0
  377. package/dist/chunks/components/data-grid/plugins/row-select/components/data-grid-row-select-banner.js.map +1 -0
  378. package/dist/chunks/components/data-grid/plugins/row-select/components/data-grid-row-select-banner.module.BksgyLuk.css +1 -0
  379. package/dist/chunks/components/data-grid/plugins/row-select/components/data-grid-row-select-banner.module.css.js +11 -0
  380. package/dist/chunks/components/data-grid/plugins/row-select/components/data-grid-row-select-banner.module.css.js.map +1 -0
  381. package/dist/chunks/components/data-grid/plugins/row-select/components/data-grid-row-select-body.js +14 -0
  382. package/dist/chunks/components/data-grid/plugins/row-select/components/data-grid-row-select-body.js.map +1 -0
  383. package/dist/chunks/components/data-grid/plugins/row-select/components/data-grid-row-select-body.module.Cw1HlJDm.css +1 -0
  384. package/dist/chunks/components/data-grid/plugins/row-select/components/data-grid-row-select-body.module.css.js +9 -0
  385. package/dist/chunks/components/data-grid/plugins/row-select/components/data-grid-row-select-body.module.css.js.map +1 -0
  386. package/dist/chunks/components/data-grid/plugins/row-select/components/data-grid-row-select-header.js +19 -0
  387. package/dist/chunks/components/data-grid/plugins/row-select/components/data-grid-row-select-header.js.map +1 -0
  388. package/dist/chunks/components/data-grid/plugins/row-select/components/data-grid-row-select-top.js +23 -0
  389. package/dist/chunks/components/data-grid/plugins/row-select/components/data-grid-row-select-top.js.map +1 -0
  390. package/dist/chunks/components/data-grid/plugins/row-select/components/data-grid-row-select-top.module.css.js +15 -0
  391. package/dist/chunks/components/data-grid/plugins/row-select/components/data-grid-row-select-top.module.css.js.map +1 -0
  392. package/dist/chunks/components/data-grid/plugins/row-select/components/data-grid-row-select-top.module.y5T1W0Lg.css +1 -0
  393. package/dist/chunks/components/data-grid/plugins/row-select/row-select-plugin.js +231 -0
  394. package/dist/chunks/components/data-grid/plugins/row-select/row-select-plugin.js.map +1 -0
  395. package/dist/chunks/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-group-item.js +35 -0
  396. package/dist/chunks/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-group-item.js.map +1 -0
  397. package/dist/chunks/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-item.js +43 -0
  398. package/dist/chunks/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-item.js.map +1 -0
  399. package/dist/chunks/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-pin-button.js +29 -0
  400. package/dist/chunks/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-pin-button.js.map +1 -0
  401. package/dist/chunks/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-trigger.js +43 -0
  402. package/dist/chunks/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-trigger.js.map +1 -0
  403. package/dist/chunks/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration.js +50 -0
  404. package/dist/chunks/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration.js.map +1 -0
  405. package/dist/chunks/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration.module.css.js +29 -0
  406. package/dist/chunks/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration.module.css.js.map +1 -0
  407. package/dist/chunks/components/data-grid/plugins/table-configuration/table-configuration-plugin.js +13 -0
  408. package/dist/chunks/components/data-grid/plugins/table-configuration/table-configuration-plugin.js.map +1 -0
  409. package/dist/chunks/components/data-grid/plugins/table-tree/components/data-grid-table-tree-body-cell-content.js +30 -0
  410. package/dist/chunks/components/data-grid/plugins/table-tree/components/data-grid-table-tree-body-cell-content.js.map +1 -0
  411. package/dist/chunks/components/data-grid/plugins/table-tree/components/data-grid-table-tree-expand.js +28 -0
  412. package/dist/chunks/components/data-grid/plugins/table-tree/components/data-grid-table-tree-expand.js.map +1 -0
  413. package/dist/chunks/components/data-grid/plugins/table-tree/components/data-grid-table-tree-row.js +55 -0
  414. package/dist/chunks/components/data-grid/plugins/table-tree/components/data-grid-table-tree-row.js.map +1 -0
  415. package/dist/chunks/components/data-grid/plugins/table-tree/components/data-grid-table-tree.module.css.js +23 -0
  416. package/dist/chunks/components/data-grid/plugins/table-tree/components/data-grid-table-tree.module.css.js.map +1 -0
  417. package/dist/chunks/components/data-grid/plugins/table-tree/table-tree-helpers.js +14 -0
  418. package/dist/chunks/components/data-grid/plugins/table-tree/table-tree-helpers.js.map +1 -0
  419. package/dist/chunks/components/data-grid/plugins/table-tree/table-tree-plugin.js +141 -0
  420. package/dist/chunks/components/data-grid/plugins/table-tree/table-tree-plugin.js.map +1 -0
  421. package/dist/chunks/components/data-grid/plugins/text-search/components/data-grid-text-search.js +43 -0
  422. package/dist/chunks/components/data-grid/plugins/text-search/components/data-grid-text-search.js.map +1 -0
  423. package/dist/chunks/components/data-grid/plugins/text-search/components/data-grid-text-search.module.css.js +11 -0
  424. package/dist/chunks/components/data-grid/plugins/text-search/components/data-grid-text-search.module.css.js.map +1 -0
  425. package/dist/chunks/components/data-grid/plugins/text-search/text-search-plugin.js +66 -0
  426. package/dist/chunks/components/data-grid/plugins/text-search/text-search-plugin.js.map +1 -0
  427. package/dist/chunks/{create-column-auto-size.js → components/data-grid/services/columns/create-column-auto-size.js} +9 -8
  428. package/dist/chunks/components/data-grid/services/columns/create-column-auto-size.js.map +1 -0
  429. package/dist/chunks/components/data-grid/services/core/core-service.js +22 -0
  430. package/dist/chunks/components/data-grid/services/core/core-service.js.map +1 -0
  431. package/dist/chunks/components/data-grid/services/core/data-grid-context.js +23 -0
  432. package/dist/chunks/components/data-grid/services/core/data-grid-context.js.map +1 -0
  433. package/dist/chunks/components/data-grid/services/core/data-grid-label-context.js +11 -0
  434. package/dist/chunks/components/data-grid/services/core/data-grid-label-context.js.map +1 -0
  435. package/dist/chunks/components/data-grid/services/core/data-grid-messages-context.js +26 -0
  436. package/dist/chunks/components/data-grid/services/core/data-grid-messages-context.js.map +1 -0
  437. package/dist/chunks/{data-grid-portal-container-context.js → components/data-grid/services/core/data-grid-portal-container-context.js} +7 -6
  438. package/dist/chunks/components/data-grid/services/core/data-grid-portal-container-context.js.map +1 -0
  439. package/dist/chunks/components/data-grid/services/hooked/hooked.js +15 -0
  440. package/dist/chunks/components/data-grid/services/hooked/hooked.js.map +1 -0
  441. package/dist/chunks/components/data-grid/services/internal/internal-helpers.js +6 -0
  442. package/dist/chunks/components/data-grid/services/internal/internal-helpers.js.map +1 -0
  443. package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-content.js +18 -0
  444. package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-content.js.map +1 -0
  445. package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-content.module.BO8J1cNo.css +1 -0
  446. package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-content.module.css.js +9 -0
  447. package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-content.module.css.js.map +1 -0
  448. package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-main-slot-selector.js +27 -0
  449. package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-main-slot-selector.js.map +1 -0
  450. package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-main.js +16 -0
  451. package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-main.js.map +1 -0
  452. package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-main.module.B3fZD1rH.css +1 -0
  453. package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-main.module.css.js +9 -0
  454. package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-main.module.css.js.map +1 -0
  455. package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-slot.js +11 -0
  456. package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-slot.js.map +1 -0
  457. package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-top-default.js +17 -0
  458. package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-top-default.js.map +1 -0
  459. package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-top-default.module.D4Hm6Sbm.css +1 -0
  460. package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-top-default.module.css.js +17 -0
  461. package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-top-default.module.css.js.map +1 -0
  462. package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-top.js +35 -0
  463. package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-top.js.map +1 -0
  464. package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-top.module.VXwHLv91.css +1 -0
  465. package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-top.module.css.js +11 -0
  466. package/dist/chunks/components/data-grid/services/layout/components/data-grid-layout-top.module.css.js.map +1 -0
  467. package/dist/chunks/components/data-grid/services/layout/components/toolbar-lines.js +30 -0
  468. package/dist/chunks/components/data-grid/services/layout/components/toolbar-lines.js.map +1 -0
  469. package/dist/chunks/components/data-grid/services/layout/data-grid-view.js +15 -0
  470. package/dist/chunks/components/data-grid/services/layout/data-grid-view.js.map +1 -0
  471. package/dist/chunks/components/data-grid/services/layout/layout-service.js +51 -0
  472. package/dist/chunks/components/data-grid/services/layout/layout-service.js.map +1 -0
  473. package/dist/chunks/components/data-grid/services/layout/layout-slot-ids.js +7 -0
  474. package/dist/chunks/components/data-grid/services/layout/layout-slot-ids.js.map +1 -0
  475. package/dist/chunks/components/data-grid/services/load/load-instance.js +76 -0
  476. package/dist/chunks/components/data-grid/services/load/load-instance.js.map +1 -0
  477. package/dist/chunks/components/data-grid/services/load/load-service.js +73 -0
  478. package/dist/chunks/components/data-grid/services/load/load-service.js.map +1 -0
  479. package/dist/chunks/components/data-grid/services/load/use-data-grid-loading.js +10 -0
  480. package/dist/chunks/components/data-grid/services/load/use-data-grid-loading.js.map +1 -0
  481. package/dist/chunks/components/data-grid/services/persistent-state/persistent-state-service.js +90 -0
  482. package/dist/chunks/components/data-grid/services/persistent-state/persistent-state-service.js.map +1 -0
  483. package/dist/chunks/components/data-grid/services/plugins/plugins-helpers.js +25 -0
  484. package/dist/chunks/components/data-grid/services/plugins/plugins-helpers.js.map +1 -0
  485. package/dist/chunks/components/data-grid/services/plugins/plugins-service.js +37 -0
  486. package/dist/chunks/components/data-grid/services/plugins/plugins-service.js.map +1 -0
  487. package/dist/chunks/components/data-grid/services/storage/storage-helpers.js +13 -0
  488. package/dist/chunks/components/data-grid/services/storage/storage-helpers.js.map +1 -0
  489. package/dist/chunks/components/data-grid/services/storage/storage-service.js +104 -0
  490. package/dist/chunks/components/data-grid/services/storage/storage-service.js.map +1 -0
  491. package/dist/chunks/components/data-grid/services/table/column-sort-state.js +24 -0
  492. package/dist/chunks/components/data-grid/services/table/column-sort-state.js.map +1 -0
  493. package/dist/chunks/components/data-grid/services/table/components/data-grid-body-cell-content.js +19 -0
  494. package/dist/chunks/components/data-grid/services/table/components/data-grid-body-cell-content.js.map +1 -0
  495. package/dist/chunks/components/data-grid/services/table/components/data-grid-cell.js +60 -0
  496. package/dist/chunks/components/data-grid/services/table/components/data-grid-cell.js.map +1 -0
  497. package/dist/chunks/components/data-grid/services/table/components/data-grid-cell.module.css.js +15 -0
  498. package/dist/chunks/components/data-grid/services/table/components/data-grid-cell.module.css.js.map +1 -0
  499. package/dist/chunks/components/data-grid/services/table/components/data-grid-content.js +9 -0
  500. package/dist/chunks/components/data-grid/services/table/components/data-grid-content.js.map +1 -0
  501. package/dist/chunks/components/data-grid/services/table/components/data-grid-extra-body-columns.js +23 -0
  502. package/dist/chunks/components/data-grid/services/table/components/data-grid-extra-body-columns.js.map +1 -0
  503. package/dist/chunks/components/data-grid/services/table/components/data-grid-extra-header-cell.js +29 -0
  504. package/dist/chunks/components/data-grid/services/table/components/data-grid-extra-header-cell.js.map +1 -0
  505. package/dist/chunks/components/data-grid/services/table/components/data-grid-extra-header-columns.js +25 -0
  506. package/dist/chunks/components/data-grid/services/table/components/data-grid-extra-header-columns.js.map +1 -0
  507. package/dist/chunks/components/data-grid/services/table/components/data-grid-header-cell-content.js +10 -0
  508. package/dist/chunks/components/data-grid/services/table/components/data-grid-header-cell-content.js.map +1 -0
  509. package/dist/chunks/components/data-grid/services/table/components/data-grid-header-cell-label.js +12 -0
  510. package/dist/chunks/components/data-grid/services/table/components/data-grid-header-cell-label.js.map +1 -0
  511. package/dist/chunks/components/data-grid/services/table/components/data-grid-header-cell.js +60 -0
  512. package/dist/chunks/components/data-grid/services/table/components/data-grid-header-cell.js.map +1 -0
  513. package/dist/chunks/components/data-grid/services/table/components/data-grid-header-cell.module.BRqcrt13.css +1 -0
  514. package/dist/chunks/components/data-grid/services/table/components/data-grid-header-cell.module.css.js +13 -0
  515. package/dist/chunks/components/data-grid/services/table/components/data-grid-header-cell.module.css.js.map +1 -0
  516. package/dist/chunks/components/data-grid/services/table/components/data-grid-header-group.js +31 -0
  517. package/dist/chunks/components/data-grid/services/table/components/data-grid-header-group.js.map +1 -0
  518. package/dist/chunks/components/data-grid/services/table/components/data-grid-row.js +39 -0
  519. package/dist/chunks/components/data-grid/services/table/components/data-grid-row.js.map +1 -0
  520. package/dist/chunks/components/data-grid/services/table/components/data-grid-table-body.js +13 -0
  521. package/dist/chunks/components/data-grid/services/table/components/data-grid-table-body.js.map +1 -0
  522. package/dist/chunks/components/data-grid/services/table/components/data-grid-table-header.js +74 -0
  523. package/dist/chunks/components/data-grid/services/table/components/data-grid-table-header.js.map +1 -0
  524. package/dist/chunks/components/data-grid/services/table/components/data-grid-table-header.module.6E7f_VLO.css +1 -0
  525. package/dist/chunks/components/data-grid/services/table/components/data-grid-table-header.module.css.js +9 -0
  526. package/dist/chunks/components/data-grid/services/table/components/data-grid-table-header.module.css.js.map +1 -0
  527. package/dist/chunks/components/data-grid/services/table/components/data-grid-table-record.js +13 -0
  528. package/dist/chunks/components/data-grid/services/table/components/data-grid-table-record.js.map +1 -0
  529. package/dist/chunks/components/data-grid/services/table/components/data-grid-table-records.js +12 -0
  530. package/dist/chunks/components/data-grid/services/table/components/data-grid-table-records.js.map +1 -0
  531. package/dist/chunks/components/data-grid/services/table/components/data-grid-table-slot.js +12 -0
  532. package/dist/chunks/components/data-grid/services/table/components/data-grid-table-slot.js.map +1 -0
  533. package/dist/chunks/components/data-grid/services/table/components/data-grid-table.js +39 -0
  534. package/dist/chunks/components/data-grid/services/table/components/data-grid-table.js.map +1 -0
  535. package/dist/chunks/components/data-grid/services/table/components/data-grid-table.module.CSesZ6vp.css +1 -0
  536. package/dist/chunks/components/data-grid/services/table/components/data-grid-table.module.css.js +17 -0
  537. package/dist/chunks/components/data-grid/services/table/components/data-grid-table.module.css.js.map +1 -0
  538. package/dist/chunks/{data-grid-record-context.js → components/data-grid/services/table/data-grid-record-context.js} +6 -5
  539. package/dist/chunks/components/data-grid/services/table/data-grid-record-context.js.map +1 -0
  540. package/dist/chunks/{ignore-row-click.js → components/data-grid/services/table/ignore-row-click.js} +4 -3
  541. package/dist/chunks/components/data-grid/services/table/ignore-row-click.js.map +1 -0
  542. package/dist/chunks/components/data-grid/services/table/resolve-body-cell-props.js +11 -0
  543. package/dist/chunks/components/data-grid/services/table/resolve-body-cell-props.js.map +1 -0
  544. package/dist/chunks/components/data-grid/services/table/resolve-column-style.js +44 -0
  545. package/dist/chunks/components/data-grid/services/table/resolve-column-style.js.map +1 -0
  546. package/dist/chunks/components/data-grid/services/table/table-columns-persistence.js +25 -0
  547. package/dist/chunks/components/data-grid/services/table/table-columns-persistence.js.map +1 -0
  548. package/dist/chunks/components/data-grid/services/table/table-columns.js +82 -0
  549. package/dist/chunks/components/data-grid/services/table/table-columns.js.map +1 -0
  550. package/dist/chunks/components/data-grid/services/table/table-context.js +9 -0
  551. package/dist/chunks/components/data-grid/services/table/table-context.js.map +1 -0
  552. package/dist/chunks/components/data-grid/services/table/table-extra-columns.js +74 -0
  553. package/dist/chunks/components/data-grid/services/table/table-extra-columns.js.map +1 -0
  554. package/dist/chunks/components/data-grid/services/table/table-header.js +80 -0
  555. package/dist/chunks/components/data-grid/services/table/table-header.js.map +1 -0
  556. package/dist/chunks/{table-helpers.js → components/data-grid/services/table/table-helpers.js} +6 -5
  557. package/dist/chunks/components/data-grid/services/table/table-helpers.js.map +1 -0
  558. package/dist/chunks/components/data-grid/services/table/table-min-content-width.js +25 -0
  559. package/dist/chunks/components/data-grid/services/table/table-min-content-width.js.map +1 -0
  560. package/dist/chunks/components/data-grid/services/table/table-service.js +158 -0
  561. package/dist/chunks/components/data-grid/services/table/table-service.js.map +1 -0
  562. package/dist/chunks/components/data-grid/services/table/table-slots.js +25 -0
  563. package/dist/chunks/components/data-grid/services/table/table-slots.js.map +1 -0
  564. package/dist/chunks/components/data-grid/services/table/table-sticky.js +117 -0
  565. package/dist/chunks/components/data-grid/services/table/table-sticky.js.map +1 -0
  566. package/dist/chunks/components/data-grid/services/table/table-store.js +24 -0
  567. package/dist/chunks/components/data-grid/services/table/table-store.js.map +1 -0
  568. package/dist/chunks/{table-types.js → components/data-grid/services/table/table-types.js} +5 -4
  569. package/dist/chunks/components/data-grid/services/table/table-types.js.map +1 -0
  570. package/dist/chunks/components/data-grid/tree/components/tree-actions.js +38 -0
  571. package/dist/chunks/components/data-grid/tree/components/tree-actions.js.map +1 -0
  572. package/dist/chunks/components/data-grid/tree/components/tree-actions.module.DQPl9i6K.css +1 -0
  573. package/dist/chunks/components/data-grid/tree/components/tree-actions.module.css.js +13 -0
  574. package/dist/chunks/components/data-grid/tree/components/tree-actions.module.css.js.map +1 -0
  575. package/dist/chunks/components/data-grid/tree/components/tree-content.js +13 -0
  576. package/dist/chunks/components/data-grid/tree/components/tree-content.js.map +1 -0
  577. package/dist/chunks/components/data-grid/tree/components/tree-layout-slot.js +17 -0
  578. package/dist/chunks/components/data-grid/tree/components/tree-layout-slot.js.map +1 -0
  579. package/dist/chunks/components/data-grid/tree/components/tree-left-slot.js +10 -0
  580. package/dist/chunks/components/data-grid/tree/components/tree-left-slot.js.map +1 -0
  581. package/dist/chunks/components/data-grid/tree/components/tree-left-slot.module.Cy5FpwQw.css +1 -0
  582. package/dist/chunks/components/data-grid/tree/components/tree-left-slot.module.css.js +9 -0
  583. package/dist/chunks/components/data-grid/tree/components/tree-left-slot.module.css.js.map +1 -0
  584. package/dist/chunks/components/data-grid/tree/components/tree-list-item.js +69 -0
  585. package/dist/chunks/components/data-grid/tree/components/tree-list-item.js.map +1 -0
  586. package/dist/chunks/components/data-grid/tree/components/tree-list-item.module.Bo4Xd0cG.css +1 -0
  587. package/dist/chunks/components/data-grid/tree/components/tree-list-item.module.css.js +15 -0
  588. package/dist/chunks/components/data-grid/tree/components/tree-list-item.module.css.js.map +1 -0
  589. package/dist/chunks/components/data-grid/tree/components/tree-main.js +31 -0
  590. package/dist/chunks/components/data-grid/tree/components/tree-main.js.map +1 -0
  591. package/dist/chunks/components/data-grid/tree/components/tree-main.module.css.js +9 -0
  592. package/dist/chunks/components/data-grid/tree/components/tree-main.module.css.js.map +1 -0
  593. package/dist/chunks/components/data-grid/tree/components/tree-main.module.xTzg4Rhi.css +1 -0
  594. package/dist/chunks/components/data-grid/tree/components/tree-node-content.js +19 -0
  595. package/dist/chunks/components/data-grid/tree/components/tree-node-content.js.map +1 -0
  596. package/dist/chunks/components/data-grid/tree/components/tree-node-directory-item.js +49 -0
  597. package/dist/chunks/components/data-grid/tree/components/tree-node-directory-item.js.map +1 -0
  598. package/dist/chunks/components/data-grid/tree/components/tree-node-directory-item.module.DUUvXFew.css +1 -0
  599. package/dist/chunks/components/data-grid/tree/components/tree-node-directory-item.module.css.js +11 -0
  600. package/dist/chunks/components/data-grid/tree/components/tree-node-directory-item.module.css.js.map +1 -0
  601. package/dist/chunks/components/data-grid/tree/components/tree-node-leaf.js +29 -0
  602. package/dist/chunks/components/data-grid/tree/components/tree-node-leaf.js.map +1 -0
  603. package/dist/chunks/components/data-grid/tree/components/tree-nodes.js +46 -0
  604. package/dist/chunks/components/data-grid/tree/components/tree-nodes.js.map +1 -0
  605. package/dist/chunks/components/data-grid/tree/components/tree-nodes.module.DboZTYNn.css +1 -0
  606. package/dist/chunks/components/data-grid/tree/components/tree-nodes.module.css.js +11 -0
  607. package/dist/chunks/components/data-grid/tree/components/tree-nodes.module.css.js.map +1 -0
  608. package/dist/chunks/components/data-grid/tree/components/tree-placeholder.js +21 -0
  609. package/dist/chunks/components/data-grid/tree/components/tree-placeholder.js.map +1 -0
  610. package/dist/chunks/components/data-grid/tree/components/tree-placeholder.module.CrNZwM1Y.css +1 -0
  611. package/dist/chunks/components/data-grid/tree/components/tree-placeholder.module.css.js +9 -0
  612. package/dist/chunks/components/data-grid/tree/components/tree-placeholder.module.css.js.map +1 -0
  613. package/dist/chunks/components/data-grid/tree/create-tree.js +45 -0
  614. package/dist/chunks/components/data-grid/tree/create-tree.js.map +1 -0
  615. package/dist/chunks/components/data-grid/tree/services/core/tree-context.js +23 -0
  616. package/dist/chunks/components/data-grid/tree/services/core/tree-context.js.map +1 -0
  617. package/dist/chunks/components/data-grid/tree/services/focus/focus-service.js +80 -0
  618. package/dist/chunks/components/data-grid/tree/services/focus/focus-service.js.map +1 -0
  619. package/dist/chunks/components/data-grid/tree/services/focus/navigation-helpers.js +23 -0
  620. package/dist/chunks/components/data-grid/tree/services/focus/navigation-helpers.js.map +1 -0
  621. package/dist/chunks/components/data-grid/tree/services/hooked/hooked.js +15 -0
  622. package/dist/chunks/components/data-grid/tree/services/hooked/hooked.js.map +1 -0
  623. package/dist/chunks/components/data-grid/tree/services/internal/internal-helpers.js +6 -0
  624. package/dist/chunks/components/data-grid/tree/services/internal/internal-helpers.js.map +1 -0
  625. package/dist/chunks/components/data-grid/tree/services/layout/layout-service.js +86 -0
  626. package/dist/chunks/components/data-grid/tree/services/layout/layout-service.js.map +1 -0
  627. package/dist/chunks/components/data-grid/tree/services/plugins/plugins-helpers.js +22 -0
  628. package/dist/chunks/components/data-grid/tree/services/plugins/plugins-helpers.js.map +1 -0
  629. package/dist/chunks/components/data-grid/tree/services/plugins/plugins-service.js +37 -0
  630. package/dist/chunks/components/data-grid/tree/services/plugins/plugins-service.js.map +1 -0
  631. package/dist/chunks/components/data-grid/tree/services/settings/settings-service.js +14 -0
  632. package/dist/chunks/components/data-grid/tree/services/settings/settings-service.js.map +1 -0
  633. package/dist/chunks/components/data-grid/tree/tree.js +32 -0
  634. package/dist/chunks/components/data-grid/tree/tree.js.map +1 -0
  635. package/dist/chunks/components/data-grid/tree-structure/tree-structure.js +193 -0
  636. package/dist/chunks/components/data-grid/tree-structure/tree-structure.js.map +1 -0
  637. package/dist/chunks/components/data-grid/utils/components-stack.js +20 -0
  638. package/dist/chunks/components/data-grid/utils/components-stack.js.map +1 -0
  639. package/dist/chunks/{debounce.js → components/data-grid/utils/debounce.js} +4 -3
  640. package/dist/chunks/components/data-grid/utils/debounce.js.map +1 -0
  641. package/dist/chunks/{deep-equal.js → components/data-grid/utils/deep-equal.js} +4 -3
  642. package/dist/chunks/components/data-grid/utils/deep-equal.js.map +1 -0
  643. package/dist/chunks/{hooked.js → components/data-grid/utils/hooked.js} +13 -12
  644. package/dist/chunks/components/data-grid/utils/hooked.js.map +1 -0
  645. package/dist/chunks/components/data-grid/utils/is-filter-value-active.js +8 -0
  646. package/dist/chunks/components/data-grid/utils/is-filter-value-active.js.map +1 -0
  647. package/dist/chunks/{is-record.js → components/data-grid/utils/is-record.js} +4 -3
  648. package/dist/chunks/components/data-grid/utils/is-record.js.map +1 -0
  649. package/dist/chunks/components/data-grid/utils/load-state.js +46 -0
  650. package/dist/chunks/components/data-grid/utils/load-state.js.map +1 -0
  651. package/dist/chunks/components/data-grid/utils/use-is-tablet-up.js +19 -0
  652. package/dist/chunks/components/data-grid/utils/use-is-tablet-up.js.map +1 -0
  653. package/dist/chunks/{use-latest.js → components/data-grid/utils/use-latest.js} +5 -4
  654. package/dist/chunks/components/data-grid/utils/use-latest.js.map +1 -0
  655. package/dist/chunks/components/data-table/data-table.js +155 -0
  656. package/dist/chunks/components/data-table/data-table.js.map +1 -0
  657. package/dist/chunks/components/data-table/data-table.module.css.js +23 -0
  658. package/dist/chunks/components/data-table/data-table.module.css.js.map +1 -0
  659. package/dist/chunks/components/date-picker/date-picker.js +174 -0
  660. package/dist/chunks/components/date-picker/date-picker.js.map +1 -0
  661. package/dist/chunks/components/date-picker/date-picker.module.css.js +11 -0
  662. package/dist/chunks/components/date-picker/date-picker.module.css.js.map +1 -0
  663. package/dist/chunks/components/description-list/description-list.js +69 -0
  664. package/dist/chunks/components/description-list/description-list.js.map +1 -0
  665. package/dist/chunks/components/description-list/description-list.module.css.js +27 -0
  666. package/dist/chunks/components/description-list/description-list.module.css.js.map +1 -0
  667. package/dist/chunks/components/dialog/dialog.js +63 -0
  668. package/dist/chunks/components/dialog/dialog.js.map +1 -0
  669. package/dist/chunks/components/dialog/dialog.module.css.js +23 -0
  670. package/dist/chunks/components/dialog/dialog.module.css.js.map +1 -0
  671. package/dist/chunks/components/drawer/drawer.js +110 -0
  672. package/dist/chunks/components/drawer/drawer.js.map +1 -0
  673. package/dist/chunks/components/drawer/drawer.module.css.js +33 -0
  674. package/dist/chunks/components/drawer/drawer.module.css.js.map +1 -0
  675. package/dist/chunks/components/dropdown-menu/dropdown-menu.js +153 -0
  676. package/dist/chunks/components/dropdown-menu/dropdown-menu.js.map +1 -0
  677. package/dist/chunks/components/dropdown-menu/dropdown-menu.module.css.js +39 -0
  678. package/dist/chunks/components/dropdown-menu/dropdown-menu.module.css.js.map +1 -0
  679. package/dist/chunks/components/empty/empty.js +60 -0
  680. package/dist/chunks/components/empty/empty.js.map +1 -0
  681. package/dist/chunks/components/empty/empty.module.css.js +29 -0
  682. package/dist/chunks/components/empty/empty.module.css.js.map +1 -0
  683. package/dist/chunks/components/field/field.js +95 -0
  684. package/dist/chunks/components/field/field.js.map +1 -0
  685. package/dist/chunks/components/field/field.module.css.js +43 -0
  686. package/dist/chunks/components/field/field.module.css.js.map +1 -0
  687. package/dist/chunks/components/grid/grid-config-check.js +43 -0
  688. package/dist/chunks/components/grid/grid-config-check.js.map +1 -0
  689. package/dist/chunks/components/grid/grid-config.js +21 -0
  690. package/dist/chunks/components/grid/grid-config.js.map +1 -0
  691. package/dist/chunks/components/grid/grid-default-config.json.js +17 -0
  692. package/dist/chunks/components/grid/grid-default-config.json.js.map +1 -0
  693. package/dist/chunks/components/grid/grid-solver.js +121 -0
  694. package/dist/chunks/components/grid/grid-solver.js.map +1 -0
  695. package/dist/chunks/components/grid/grid-steps.CiIpot7S.css +1 -0
  696. package/dist/chunks/components/grid/grid.js +59 -0
  697. package/dist/chunks/components/grid/grid.js.map +1 -0
  698. package/dist/chunks/components/grid/grid.module.Dk1hl4Un.css +1 -0
  699. package/dist/chunks/components/grid/grid.module.css.js +13 -0
  700. package/dist/chunks/components/grid/grid.module.css.js.map +1 -0
  701. package/dist/chunks/components/heading/heading.js +33 -0
  702. package/dist/chunks/components/heading/heading.js.map +1 -0
  703. package/dist/chunks/components/heading/heading.module.css.js +15 -0
  704. package/dist/chunks/components/heading/heading.module.css.js.map +1 -0
  705. package/dist/chunks/components/hover-card/hover-card.js +44 -0
  706. package/dist/chunks/components/hover-card/hover-card.js.map +1 -0
  707. package/dist/chunks/components/hover-card/hover-card.module.css.js +11 -0
  708. package/dist/chunks/components/hover-card/hover-card.module.css.js.map +1 -0
  709. package/dist/chunks/components/input/input.js +30 -0
  710. package/dist/chunks/components/input/input.js.map +1 -0
  711. package/dist/chunks/components/input/input.module.css.js +19 -0
  712. package/dist/chunks/components/input/input.module.css.js.map +1 -0
  713. package/dist/chunks/components/input-group/input-group.js +101 -0
  714. package/dist/chunks/components/input-group/input-group.js.map +1 -0
  715. package/dist/chunks/components/input-group/input-group.module.css.js +35 -0
  716. package/dist/chunks/components/input-group/input-group.module.css.js.map +1 -0
  717. package/dist/chunks/components/input-otp/input-otp.js +39 -0
  718. package/dist/chunks/components/input-otp/input-otp.js.map +1 -0
  719. package/dist/chunks/components/input-otp/input-otp.module.css.js +15 -0
  720. package/dist/chunks/components/input-otp/input-otp.module.css.js.map +1 -0
  721. package/dist/chunks/components/item/item.js +132 -0
  722. package/dist/chunks/components/item/item.js.map +1 -0
  723. package/dist/chunks/components/item/item.module.css.js +55 -0
  724. package/dist/chunks/components/item/item.module.css.js.map +1 -0
  725. package/dist/chunks/components/kbd/kbd.js +15 -0
  726. package/dist/chunks/components/kbd/kbd.js.map +1 -0
  727. package/dist/chunks/components/kbd/kbd.module.css.js +11 -0
  728. package/dist/chunks/components/kbd/kbd.module.css.js.map +1 -0
  729. package/dist/chunks/components/label/label.js +11 -0
  730. package/dist/chunks/components/label/label.js.map +1 -0
  731. package/dist/chunks/components/label/label.module.css.js +9 -0
  732. package/dist/chunks/components/label/label.module.css.js.map +1 -0
  733. package/dist/chunks/components/link/link.js +52 -0
  734. package/dist/chunks/components/link/link.js.map +1 -0
  735. package/dist/chunks/components/link/link.module.css.js +15 -0
  736. package/dist/chunks/components/link/link.module.css.js.map +1 -0
  737. package/dist/chunks/components/marker/marker.js +48 -0
  738. package/dist/chunks/components/marker/marker.js.map +1 -0
  739. package/dist/chunks/components/marker/marker.module.css.js +19 -0
  740. package/dist/chunks/components/marker/marker.module.css.js.map +1 -0
  741. package/dist/chunks/components/menubar/menubar.js +48 -0
  742. package/dist/chunks/components/menubar/menubar.js.map +1 -0
  743. package/dist/chunks/components/menubar/menubar.module.css.js +11 -0
  744. package/dist/chunks/components/menubar/menubar.module.css.js.map +1 -0
  745. package/dist/chunks/components/message/message.js +31 -0
  746. package/dist/chunks/components/message/message.js.map +1 -0
  747. package/dist/chunks/components/message/message.module.css.js +19 -0
  748. package/dist/chunks/components/message/message.module.css.js.map +1 -0
  749. package/dist/chunks/components/message-scroller/message-scroller.js +64 -0
  750. package/dist/chunks/components/message-scroller/message-scroller.js.map +1 -0
  751. package/dist/chunks/components/message-scroller/message-scroller.module.css.js +17 -0
  752. package/dist/chunks/components/message-scroller/message-scroller.module.css.js.map +1 -0
  753. package/dist/chunks/components/native-select/native-select.js +37 -0
  754. package/dist/chunks/components/native-select/native-select.js.map +1 -0
  755. package/dist/chunks/components/native-select/native-select.module.css.js +19 -0
  756. package/dist/chunks/components/native-select/native-select.module.css.js.map +1 -0
  757. package/dist/chunks/components/navigation-menu/navigation-menu.js +102 -0
  758. package/dist/chunks/components/navigation-menu/navigation-menu.js.map +1 -0
  759. package/dist/chunks/components/navigation-menu/navigation-menu.module.css.js +37 -0
  760. package/dist/chunks/components/navigation-menu/navigation-menu.module.css.js.map +1 -0
  761. package/dist/chunks/components/page-header/page-header.js +75 -0
  762. package/dist/chunks/components/page-header/page-header.js.map +1 -0
  763. package/dist/chunks/components/page-header/page-header.module.css.js +35 -0
  764. package/dist/chunks/components/page-header/page-header.module.css.js.map +1 -0
  765. package/dist/chunks/components/pagination/pagination.js +127 -0
  766. package/dist/chunks/components/pagination/pagination.js.map +1 -0
  767. package/dist/chunks/components/pagination/pagination.module.css.js +25 -0
  768. package/dist/chunks/components/pagination/pagination.module.css.js.map +1 -0
  769. package/dist/chunks/components/popover/popover.js +58 -0
  770. package/dist/chunks/components/popover/popover.js.map +1 -0
  771. package/dist/chunks/components/popover/popover.module.css.js +17 -0
  772. package/dist/chunks/components/popover/popover.module.css.js.map +1 -0
  773. package/dist/chunks/components/portal-container/portal-container.js +66 -0
  774. package/dist/chunks/components/portal-container/portal-container.js.map +1 -0
  775. package/dist/chunks/components/progress/progress.js +31 -0
  776. package/dist/chunks/components/progress/progress.js.map +1 -0
  777. package/dist/chunks/components/progress/progress.module.css.js +17 -0
  778. package/dist/chunks/components/progress/progress.module.css.js.map +1 -0
  779. package/dist/chunks/components/questionnaire/questionnaire.js +189 -0
  780. package/dist/chunks/components/questionnaire/questionnaire.js.map +1 -0
  781. package/dist/chunks/components/questionnaire/questionnaire.module.css.js +47 -0
  782. package/dist/chunks/components/questionnaire/questionnaire.module.css.js.map +1 -0
  783. package/dist/chunks/components/radio-group/radio-group.js +17 -0
  784. package/dist/chunks/components/radio-group/radio-group.js.map +1 -0
  785. package/dist/chunks/components/radio-group/radio-group.module.css.js +15 -0
  786. package/dist/chunks/components/radio-group/radio-group.module.css.js.map +1 -0
  787. package/dist/chunks/components/resizable/resizable.js +21 -0
  788. package/dist/chunks/components/resizable/resizable.js.map +1 -0
  789. package/dist/chunks/components/resizable/resizable.module.css.js +13 -0
  790. package/dist/chunks/components/resizable/resizable.module.css.js.map +1 -0
  791. package/dist/chunks/components/scroll-area/scroll-area.js +28 -0
  792. package/dist/chunks/components/scroll-area/scroll-area.js.map +1 -0
  793. package/dist/chunks/components/scroll-area/scroll-area.module.css.js +15 -0
  794. package/dist/chunks/components/scroll-area/scroll-area.module.css.js.map +1 -0
  795. package/dist/chunks/components/select/select.js +127 -0
  796. package/dist/chunks/components/select/select.js.map +1 -0
  797. package/dist/chunks/components/select/select.module.css.js +47 -0
  798. package/dist/chunks/components/select/select.module.css.js.map +1 -0
  799. package/dist/chunks/components/separator/separator.js +12 -0
  800. package/dist/chunks/components/separator/separator.js.map +1 -0
  801. package/dist/chunks/components/separator/separator.module.css.js +9 -0
  802. package/dist/chunks/components/separator/separator.module.css.js.map +1 -0
  803. package/dist/chunks/components/sheet/sheet.js +84 -0
  804. package/dist/chunks/components/sheet/sheet.js.map +1 -0
  805. package/dist/chunks/components/sheet/sheet.module.css.js +31 -0
  806. package/dist/chunks/components/sheet/sheet.module.css.js.map +1 -0
  807. package/dist/chunks/components/sidebar/sidebar.js +353 -0
  808. package/dist/chunks/components/sidebar/sidebar.js.map +1 -0
  809. package/dist/chunks/components/sidebar/sidebar.module.css.js +89 -0
  810. package/dist/chunks/components/sidebar/sidebar.module.css.js.map +1 -0
  811. package/dist/chunks/components/sidebar/use-mobile.js +15 -0
  812. package/dist/chunks/components/sidebar/use-mobile.js.map +1 -0
  813. package/dist/chunks/components/skeleton/skeleton.js +11 -0
  814. package/dist/chunks/components/skeleton/skeleton.js.map +1 -0
  815. package/dist/chunks/components/skeleton/skeleton.module.css.js +9 -0
  816. package/dist/chunks/components/skeleton/skeleton.module.css.js.map +1 -0
  817. package/dist/chunks/components/slider/slider.js +48 -0
  818. package/dist/chunks/components/slider/slider.js.map +1 -0
  819. package/dist/chunks/components/slider/slider.module.css.js +17 -0
  820. package/dist/chunks/components/slider/slider.module.css.js.map +1 -0
  821. package/dist/chunks/components/spinner/spinner.js +51 -0
  822. package/dist/chunks/components/spinner/spinner.js.map +1 -0
  823. package/dist/chunks/components/spinner/spinner.module.css.js +17 -0
  824. package/dist/chunks/components/spinner/spinner.module.css.js.map +1 -0
  825. package/dist/chunks/components/status-dot/status-dot.js +69 -0
  826. package/dist/chunks/components/status-dot/status-dot.js.map +1 -0
  827. package/dist/chunks/components/status-dot/status-dot.module.css.js +23 -0
  828. package/dist/chunks/components/status-dot/status-dot.module.css.js.map +1 -0
  829. package/dist/chunks/components/switch/switch.js +23 -0
  830. package/dist/chunks/components/switch/switch.js.map +1 -0
  831. package/dist/chunks/components/switch/switch.module.css.js +14 -0
  832. package/dist/chunks/components/switch/switch.module.css.js.map +1 -0
  833. package/dist/chunks/components/table/table.js +253 -0
  834. package/dist/chunks/components/table/table.js.map +1 -0
  835. package/dist/chunks/components/table/table.module.css.js +37 -0
  836. package/dist/chunks/components/table/table.module.css.js.map +1 -0
  837. package/dist/chunks/components/tabs/tabs.js +50 -0
  838. package/dist/chunks/components/tabs/tabs.js.map +1 -0
  839. package/dist/chunks/components/tabs/tabs.module.css.js +25 -0
  840. package/dist/chunks/components/tabs/tabs.module.css.js.map +1 -0
  841. package/dist/chunks/components/text/text.js +44 -0
  842. package/dist/chunks/components/text/text.js.map +1 -0
  843. package/dist/chunks/components/text/text.module.css.js +27 -0
  844. package/dist/chunks/components/text/text.module.css.js.map +1 -0
  845. package/dist/chunks/components/textarea/textarea.js +19 -0
  846. package/dist/chunks/components/textarea/textarea.js.map +1 -0
  847. package/dist/chunks/components/textarea/textarea.module.css.js +9 -0
  848. package/dist/chunks/components/textarea/textarea.module.css.js.map +1 -0
  849. package/dist/chunks/components/toast/toast.js +74 -0
  850. package/dist/chunks/components/toast/toast.js.map +1 -0
  851. package/dist/chunks/components/toast/toast.module.css.js +31 -0
  852. package/dist/chunks/components/toast/toast.module.css.js.map +1 -0
  853. package/dist/chunks/components/toggle/toggle.js +44 -0
  854. package/dist/chunks/components/toggle/toggle.js.map +1 -0
  855. package/dist/chunks/components/toggle/toggle.module.css.js +19 -0
  856. package/dist/chunks/components/toggle/toggle.module.css.js.map +1 -0
  857. package/dist/chunks/components/toggle-group/toggle-group.js +60 -0
  858. package/dist/chunks/components/toggle-group/toggle-group.js.map +1 -0
  859. package/dist/chunks/components/toggle-group/toggle-group.module.css.js +11 -0
  860. package/dist/chunks/components/toggle-group/toggle-group.module.css.js.map +1 -0
  861. package/dist/chunks/components/tooltip/tooltip.js +51 -0
  862. package/dist/chunks/components/tooltip/tooltip.js.map +1 -0
  863. package/dist/chunks/components/tooltip/tooltip.module.css.js +13 -0
  864. package/dist/chunks/components/tooltip/tooltip.module.css.js.map +1 -0
  865. package/dist/chunks/components/visually-hidden/visually-hidden.js +17 -0
  866. package/dist/chunks/components/visually-hidden/visually-hidden.js.map +1 -0
  867. package/dist/chunks/components/visually-hidden/visually-hidden.module.css.js +9 -0
  868. package/dist/chunks/components/visually-hidden/visually-hidden.module.css.js.map +1 -0
  869. package/dist/code-block.js +2 -151
  870. package/dist/code-block.js.map +1 -1
  871. package/dist/collapsible.js +2 -21
  872. package/dist/collapsible.js.map +1 -1
  873. package/dist/combobox.js +2 -177
  874. package/dist/combobox.js.map +1 -1
  875. package/dist/command.js +2 -89
  876. package/dist/command.js.map +1 -1
  877. package/dist/components/alert-dialog/alert-dialog.d.ts +5 -3
  878. package/dist/components/alert-dialog/alert-dialog.d.ts.map +1 -1
  879. package/dist/components/combobox/combobox.d.ts +5 -3
  880. package/dist/components/combobox/combobox.d.ts.map +1 -1
  881. package/dist/components/context-menu/context-menu.d.ts +9 -4
  882. package/dist/components/context-menu/context-menu.d.ts.map +1 -1
  883. package/dist/components/data-grid/components/data-grid-empty-state.d.ts.map +1 -1
  884. package/dist/components/data-grid/components/filter-options-search-input.d.ts.map +1 -1
  885. package/dist/components/data-grid/components/filter-reset-button.d.ts.map +1 -1
  886. package/dist/components/data-grid/components/load-controlled.d.ts.map +1 -1
  887. package/dist/components/data-grid/data-grid-types.d.ts +28 -4
  888. package/dist/components/data-grid/data-grid-types.d.ts.map +1 -1
  889. package/dist/components/data-grid/data-grid.d.ts +1 -1
  890. package/dist/components/data-grid/data-grid.d.ts.map +1 -1
  891. package/dist/components/data-grid/messages.d.ts +16 -0
  892. package/dist/components/data-grid/messages.d.ts.map +1 -1
  893. package/dist/components/data-grid/plugins/actions-menu/components/data-grid-actions-menu.d.ts.map +1 -1
  894. package/dist/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/data-grid-export-menu-item.d.ts.map +1 -1
  895. package/dist/components/data-grid/plugins/actions-menu/menu-items/export-menu-items/export-service.d.ts.map +1 -1
  896. package/dist/components/data-grid/plugins/drag-drop/components/data-grid-drag-drop-body-cell.d.ts.map +1 -1
  897. package/dist/components/data-grid/plugins/drag-drop/components/data-grid-drag-drop-row.d.ts.map +1 -1
  898. package/dist/components/data-grid/plugins/drag-drop/drag-drop-plugin.d.ts.map +1 -1
  899. package/dist/components/data-grid/plugins/filters/components/all-filters-button.d.ts.map +1 -1
  900. package/dist/components/data-grid/plugins/filters/components/all-filters-dialog.d.ts.map +1 -1
  901. package/dist/components/data-grid/plugins/filters/components/dialog-filter-item.d.ts.map +1 -1
  902. package/dist/components/data-grid/plugins/filters/entities/checkbox-group/checkbox-group-list.d.ts.map +1 -1
  903. package/dist/components/data-grid/plugins/filters/entities/search/search-quick-filter.d.ts.map +1 -1
  904. package/dist/components/data-grid/plugins/filters/filters-plugin.d.ts.map +1 -1
  905. package/dist/components/data-grid/plugins/order/components/data-grid-order-button.d.ts.map +1 -1
  906. package/dist/components/data-grid/plugins/order/components/data-grid-order-header-cell-label.d.ts.map +1 -1
  907. package/dist/components/data-grid/plugins/order/components/data-grid-order-icon.d.ts.map +1 -1
  908. package/dist/components/data-grid/plugins/order/order-plugin.d.ts.map +1 -1
  909. package/dist/components/data-grid/plugins/order/services/order-labels.d.ts +7 -2
  910. package/dist/components/data-grid/plugins/order/services/order-labels.d.ts.map +1 -1
  911. package/dist/components/data-grid/plugins/pagination/components/data-grid-pagination.d.ts.map +1 -1
  912. package/dist/components/data-grid/plugins/pagination/components/pager.d.ts +7 -0
  913. package/dist/components/data-grid/plugins/pagination/components/pager.d.ts.map +1 -1
  914. package/dist/components/data-grid/plugins/pagination/pagination-plugin.d.ts +2 -0
  915. package/dist/components/data-grid/plugins/pagination/pagination-plugin.d.ts.map +1 -1
  916. package/dist/components/data-grid/plugins/row-click/components/data-grid-row-click.d.ts.map +1 -1
  917. package/dist/components/data-grid/plugins/row-detail/components/data-grid-row-detail-header.d.ts +3 -0
  918. package/dist/components/data-grid/plugins/row-detail/components/data-grid-row-detail-header.d.ts.map +1 -0
  919. package/dist/components/data-grid/plugins/row-detail/components/data-grid-row-detail-row.d.ts +3 -0
  920. package/dist/components/data-grid/plugins/row-detail/components/data-grid-row-detail-row.d.ts.map +1 -0
  921. package/dist/components/data-grid/plugins/row-detail/components/data-grid-row-detail-toggle.d.ts +3 -0
  922. package/dist/components/data-grid/plugins/row-detail/components/data-grid-row-detail-toggle.d.ts.map +1 -0
  923. package/dist/components/data-grid/plugins/row-detail/public.d.ts +3 -0
  924. package/dist/components/data-grid/plugins/row-detail/public.d.ts.map +1 -0
  925. package/dist/components/data-grid/plugins/row-detail/row-detail-plugin.d.ts +5 -0
  926. package/dist/components/data-grid/plugins/row-detail/row-detail-plugin.d.ts.map +1 -0
  927. package/dist/components/data-grid/plugins/row-detail/row-detail-types.d.ts +47 -0
  928. package/dist/components/data-grid/plugins/row-detail/row-detail-types.d.ts.map +1 -0
  929. package/dist/components/data-grid/plugins/row-select/components/data-grid-row-select-banner.d.ts.map +1 -1
  930. package/dist/components/data-grid/plugins/row-select/components/data-grid-row-select-top.d.ts.map +1 -1
  931. package/dist/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-pin-button.d.ts.map +1 -1
  932. package/dist/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-trigger.d.ts.map +1 -1
  933. package/dist/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration.d.ts.map +1 -1
  934. package/dist/components/data-grid/plugins/table-tree/components/data-grid-table-tree-expand.d.ts.map +1 -1
  935. package/dist/components/data-grid/plugins/table-tree/components/data-grid-table-tree-row.d.ts.map +1 -1
  936. package/dist/components/data-grid/plugins/table-tree/table-tree-plugin.d.ts.map +1 -1
  937. package/dist/components/data-grid/plugins/text-search/components/data-grid-text-search.d.ts.map +1 -1
  938. package/dist/components/data-grid/plugins/text-search/text-search-plugin.d.ts +7 -0
  939. package/dist/components/data-grid/plugins/text-search/text-search-plugin.d.ts.map +1 -1
  940. package/dist/components/data-grid/public.d.ts +2 -1
  941. package/dist/components/data-grid/public.d.ts.map +1 -1
  942. package/dist/components/data-grid/services/core/data-grid-messages-context.d.ts +92 -0
  943. package/dist/components/data-grid/services/core/data-grid-messages-context.d.ts.map +1 -0
  944. package/dist/components/data-grid/services/layout/components/data-grid-layout-main-slot-selector.d.ts.map +1 -1
  945. package/dist/components/data-grid/services/storage/storage-service.d.ts.map +1 -1
  946. package/dist/components/data-grid/services/table/column-sort-state.d.ts +13 -0
  947. package/dist/components/data-grid/services/table/column-sort-state.d.ts.map +1 -0
  948. package/dist/components/data-grid/services/table/components/data-grid-cell.d.ts +8 -1
  949. package/dist/components/data-grid/services/table/components/data-grid-cell.d.ts.map +1 -1
  950. package/dist/components/data-grid/services/table/components/data-grid-header-cell.d.ts.map +1 -1
  951. package/dist/components/data-grid/services/table/components/data-grid-row.d.ts.map +1 -1
  952. package/dist/components/data-grid/services/table/table-service.d.ts.map +1 -1
  953. package/dist/components/data-grid/services/table/table-store.d.ts.map +1 -1
  954. package/dist/components/data-grid/services/table/table-types.d.ts +35 -1
  955. package/dist/components/data-grid/services/table/table-types.d.ts.map +1 -1
  956. package/dist/components/data-grid/tree/components/tree-node-directory-item.d.ts.map +1 -1
  957. package/dist/components/data-grid/tree/components/tree-placeholder.d.ts.map +1 -1
  958. package/dist/components/data-grid/utils/hooked.d.ts +4 -1
  959. package/dist/components/data-grid/utils/hooked.d.ts.map +1 -1
  960. package/dist/components/data-grid/utils/is-filter-value-active.d.ts +10 -0
  961. package/dist/components/data-grid/utils/is-filter-value-active.d.ts.map +1 -0
  962. package/dist/components/dialog/dialog.d.ts +5 -3
  963. package/dist/components/dialog/dialog.d.ts.map +1 -1
  964. package/dist/components/drawer/drawer.d.ts +5 -4
  965. package/dist/components/drawer/drawer.d.ts.map +1 -1
  966. package/dist/components/dropdown-menu/dropdown-menu.d.ts +9 -4
  967. package/dist/components/dropdown-menu/dropdown-menu.d.ts.map +1 -1
  968. package/dist/components/hover-card/hover-card.d.ts +5 -3
  969. package/dist/components/hover-card/hover-card.d.ts.map +1 -1
  970. package/dist/components/navigation-menu/navigation-menu.d.ts +6 -4
  971. package/dist/components/navigation-menu/navigation-menu.d.ts.map +1 -1
  972. package/dist/components/popover/popover.d.ts +5 -3
  973. package/dist/components/popover/popover.d.ts.map +1 -1
  974. package/dist/components/portal-container/portal-container.d.ts +169 -0
  975. package/dist/components/portal-container/portal-container.d.ts.map +1 -0
  976. package/dist/components/portal-container/public.d.ts +2 -0
  977. package/dist/components/portal-container/public.d.ts.map +1 -0
  978. package/dist/components/select/select.d.ts +5 -3
  979. package/dist/components/select/select.d.ts.map +1 -1
  980. package/dist/components/sheet/sheet.d.ts +4 -2
  981. package/dist/components/sheet/sheet.d.ts.map +1 -1
  982. package/dist/components/toast/toast.d.ts +5 -4
  983. package/dist/components/toast/toast.d.ts.map +1 -1
  984. package/dist/components/tooltip/tooltip.d.ts +5 -3
  985. package/dist/components/tooltip/tooltip.d.ts.map +1 -1
  986. package/dist/context-menu.js +2 -200
  987. package/dist/context-menu.js.map +1 -1
  988. package/dist/data-grid/actions-menu.js +3 -373
  989. package/dist/data-grid/actions-menu.js.map +1 -1
  990. package/dist/data-grid/actions.js +2 -35
  991. package/dist/data-grid/actions.js.map +1 -1
  992. package/dist/data-grid/drag-drop.js +2 -260
  993. package/dist/data-grid/drag-drop.js.map +1 -1
  994. package/dist/data-grid/empty-state.js +2 -26
  995. package/dist/data-grid/empty-state.js.map +1 -1
  996. package/dist/data-grid/filters.js +9 -1637
  997. package/dist/data-grid/filters.js.map +1 -1
  998. package/dist/data-grid/order.js +3 -254
  999. package/dist/data-grid/order.js.map +1 -1
  1000. package/dist/data-grid/pagination.js +2 -224
  1001. package/dist/data-grid/pagination.js.map +1 -1
  1002. package/dist/data-grid/row-actions.js +2 -51
  1003. package/dist/data-grid/row-actions.js.map +1 -1
  1004. package/dist/data-grid/row-click.js +2 -61
  1005. package/dist/data-grid/row-click.js.map +1 -1
  1006. package/dist/data-grid/row-detail.d.ts +1 -0
  1007. package/dist/data-grid/row-detail.js +3 -0
  1008. package/dist/data-grid/row-detail.js.map +1 -0
  1009. package/dist/data-grid/row-number.js +2 -37
  1010. package/dist/data-grid/row-number.js.map +1 -1
  1011. package/dist/data-grid/row-select.js +2 -292
  1012. package/dist/data-grid/row-select.js.map +1 -1
  1013. package/dist/data-grid/table-configuration.js +2 -176
  1014. package/dist/data-grid/table-configuration.js.map +1 -1
  1015. package/dist/data-grid/table-tree.js +2 -232
  1016. package/dist/data-grid/table-tree.js.map +1 -1
  1017. package/dist/data-grid/text-search.js +2 -99
  1018. package/dist/data-grid/text-search.js.map +1 -1
  1019. package/dist/data-grid.js +6 -1515
  1020. package/dist/data-grid.js.map +1 -1
  1021. package/dist/data-table.js +2 -161
  1022. package/dist/data-table.js.map +1 -1
  1023. package/dist/date-picker.js +2 -174
  1024. package/dist/date-picker.js.map +1 -1
  1025. package/dist/description-list.js +2 -77
  1026. package/dist/description-list.js.map +1 -1
  1027. package/dist/dialog.js +2 -68
  1028. package/dist/dialog.js.map +1 -1
  1029. package/dist/direction.js +2 -5
  1030. package/dist/direction.js.map +1 -1
  1031. package/dist/docs/alert-dialog.md +5 -5
  1032. package/dist/docs/bubble.md +3 -3
  1033. package/dist/docs/combobox.md +3 -4
  1034. package/dist/docs/context-menu.md +12 -5
  1035. package/dist/docs/data-grid.md +167 -25
  1036. package/dist/docs/dialog.md +5 -4
  1037. package/dist/docs/drawer.md +11 -2
  1038. package/dist/docs/dropdown-menu.md +12 -5
  1039. package/dist/docs/hover-card.md +11 -5
  1040. package/dist/docs/navigation-menu.md +6 -5
  1041. package/dist/docs/popover.md +5 -5
  1042. package/dist/docs/portal-container.md +195 -0
  1043. package/dist/docs/select.md +3 -4
  1044. package/dist/docs/sheet.md +5 -4
  1045. package/dist/docs/toast.md +11 -5
  1046. package/dist/docs/tooltip.md +10 -5
  1047. package/dist/drawer.js +2 -119
  1048. package/dist/drawer.js.map +1 -1
  1049. package/dist/dropdown-menu.js +2 -164
  1050. package/dist/dropdown-menu.js.map +1 -1
  1051. package/dist/empty.js +2 -70
  1052. package/dist/empty.js.map +1 -1
  1053. package/dist/field.js +2 -112
  1054. package/dist/field.js.map +1 -1
  1055. package/dist/grid.js +3 -226
  1056. package/dist/grid.js.map +1 -1
  1057. package/dist/heading.js +2 -35
  1058. package/dist/heading.js.map +1 -1
  1059. package/dist/hover-card.js +2 -43
  1060. package/dist/hover-card.js.map +1 -1
  1061. package/dist/index.d.ts +2 -0
  1062. package/dist/index.d.ts.map +1 -1
  1063. package/dist/index.js +105 -528
  1064. package/dist/index.js.map +1 -1
  1065. package/dist/input-group.js +2 -113
  1066. package/dist/input-group.js.map +1 -1
  1067. package/dist/input-otp.js +2 -41
  1068. package/dist/input-otp.js.map +1 -1
  1069. package/dist/input.js +2 -35
  1070. package/dist/input.js.map +1 -1
  1071. package/dist/item.js +2 -154
  1072. package/dist/item.js.map +1 -1
  1073. package/dist/kbd.js +2 -16
  1074. package/dist/kbd.js.map +1 -1
  1075. package/dist/label.js +2 -11
  1076. package/dist/label.js.map +1 -1
  1077. package/dist/link.js +2 -54
  1078. package/dist/link.js.map +1 -1
  1079. package/dist/marker.js +2 -52
  1080. package/dist/marker.js.map +1 -1
  1081. package/dist/menubar.js +2 -49
  1082. package/dist/menubar.js.map +1 -1
  1083. package/dist/message-scroller.js +3 -68
  1084. package/dist/message-scroller.js.map +1 -1
  1085. package/dist/message.js +2 -36
  1086. package/dist/message.js.map +1 -1
  1087. package/dist/native-select.js +2 -42
  1088. package/dist/native-select.js.map +1 -1
  1089. package/dist/navigation-menu.js +2 -115
  1090. package/dist/navigation-menu.js.map +1 -1
  1091. package/dist/page-header.js +2 -87
  1092. package/dist/page-header.js.map +1 -1
  1093. package/dist/pagination.js +2 -134
  1094. package/dist/pagination.js.map +1 -1
  1095. package/dist/popover.js +2 -60
  1096. package/dist/popover.js.map +1 -1
  1097. package/dist/portal-container.d.ts +1 -0
  1098. package/dist/portal-container.js +7 -0
  1099. package/dist/portal-container.js.map +1 -0
  1100. package/dist/progress.js +2 -35
  1101. package/dist/progress.js.map +1 -1
  1102. package/dist/questionnaire.js +2 -208
  1103. package/dist/questionnaire.js.map +1 -1
  1104. package/dist/radio-group.js +2 -20
  1105. package/dist/radio-group.js.map +1 -1
  1106. package/dist/resizable.js +2 -23
  1107. package/dist/resizable.js.map +1 -1
  1108. package/dist/scroll-area.js +2 -31
  1109. package/dist/scroll-area.js.map +1 -1
  1110. package/dist/select.js +2 -144
  1111. package/dist/select.js.map +1 -1
  1112. package/dist/separator.js +2 -12
  1113. package/dist/separator.js.map +1 -1
  1114. package/dist/sheet.js +2 -93
  1115. package/dist/sheet.js.map +1 -1
  1116. package/dist/sidebar.js +2 -399
  1117. package/dist/sidebar.js.map +1 -1
  1118. package/dist/skeleton.js +2 -11
  1119. package/dist/skeleton.js.map +1 -1
  1120. package/dist/slider.js +2 -52
  1121. package/dist/slider.js.map +1 -1
  1122. package/dist/spinner.js +2 -55
  1123. package/dist/spinner.js.map +1 -1
  1124. package/dist/status-dot.js +2 -75
  1125. package/dist/status-dot.js.map +1 -1
  1126. package/dist/switch.js +2 -25
  1127. package/dist/switch.js.map +1 -1
  1128. package/dist/table.js +2 -266
  1129. package/dist/table.js.map +1 -1
  1130. package/dist/tabs.js +2 -58
  1131. package/dist/tabs.js.map +1 -1
  1132. package/dist/text.js +2 -52
  1133. package/dist/text.js.map +1 -1
  1134. package/dist/textarea.js +2 -19
  1135. package/dist/textarea.js.map +1 -1
  1136. package/dist/toast.js +2 -83
  1137. package/dist/toast.js.map +1 -1
  1138. package/dist/toggle-group.js +2 -60
  1139. package/dist/toggle-group.js.map +1 -1
  1140. package/dist/toggle.js +2 -48
  1141. package/dist/toggle.js.map +1 -1
  1142. package/dist/tooltip.js +2 -51
  1143. package/dist/tooltip.js.map +1 -1
  1144. package/dist/visually-hidden.js +2 -17
  1145. package/dist/visually-hidden.js.map +1 -1
  1146. package/llms.txt +24 -8
  1147. package/package.json +2 -1
  1148. package/dist/chunks/create-column-auto-size.js.map +0 -1
  1149. package/dist/chunks/data-grid-portal-container-context.js.map +0 -1
  1150. package/dist/chunks/data-grid-record-context.js.map +0 -1
  1151. package/dist/chunks/data-grid.DSkYrsay.css +0 -1
  1152. package/dist/chunks/debounce.js.map +0 -1
  1153. package/dist/chunks/deep-equal.js.map +0 -1
  1154. package/dist/chunks/filters.DQtlBXh7.css +0 -1
  1155. package/dist/chunks/grid.BvRXPN-7.css +0 -1
  1156. package/dist/chunks/hooked.js.map +0 -1
  1157. package/dist/chunks/ignore-row-click.js.map +0 -1
  1158. package/dist/chunks/is-record.js.map +0 -1
  1159. package/dist/chunks/messages.js.map +0 -1
  1160. package/dist/chunks/pagination.DPVITj_D.css +0 -1
  1161. package/dist/chunks/plugins-helpers.js +0 -41
  1162. package/dist/chunks/plugins-helpers.js.map +0 -1
  1163. package/dist/chunks/resolve-body-cell-props.js +0 -124
  1164. package/dist/chunks/resolve-body-cell-props.js.map +0 -1
  1165. package/dist/chunks/row-click-utils.js.map +0 -1
  1166. package/dist/chunks/row-select.BjKdiMf5.css +0 -1
  1167. package/dist/chunks/segment.js +0 -25
  1168. package/dist/chunks/segment.js.map +0 -1
  1169. package/dist/chunks/storage-helpers.js +0 -40
  1170. package/dist/chunks/storage-helpers.js.map +0 -1
  1171. package/dist/chunks/table-context.js +0 -8
  1172. package/dist/chunks/table-context.js.map +0 -1
  1173. package/dist/chunks/table-helpers.js.map +0 -1
  1174. package/dist/chunks/table-types.js.map +0 -1
  1175. package/dist/chunks/use-latest.js.map +0 -1
  1176. /package/dist/chunks/{accordion.CXlSdkrc.css → components/accordion/accordion.module.CXlSdkrc.css} +0 -0
  1177. /package/dist/chunks/{alert.Csv2-ccF.css → components/alert/alert.module.Csv2-ccF.css} +0 -0
  1178. /package/dist/chunks/{alert-dialog.C4aLtUC8.css → components/alert-dialog/alert-dialog.module.C4aLtUC8.css} +0 -0
  1179. /package/dist/chunks/{aspect-ratio.DJbPE7BX.css → components/aspect-ratio/aspect-ratio.module.DJbPE7BX.css} +0 -0
  1180. /package/dist/chunks/{attachment.BRyIQq3F.css → components/attachment/attachment.module.BRyIQq3F.css} +0 -0
  1181. /package/dist/chunks/{avatar.7EUG65-M.css → components/avatar/avatar.module.7EUG65-M.css} +0 -0
  1182. /package/dist/chunks/{badge.BwUxa9PB.css → components/badge/badge.module.BwUxa9PB.css} +0 -0
  1183. /package/dist/chunks/{breadcrumb.QKz32ceR.css → components/breadcrumb/breadcrumb.module.QKz32ceR.css} +0 -0
  1184. /package/dist/chunks/{bubble.Ccu0e3lY.css → components/bubble/bubble.module.Ccu0e3lY.css} +0 -0
  1185. /package/dist/chunks/{button.BWdRnIvz.css → components/button/button.module.BWdRnIvz.css} +0 -0
  1186. /package/dist/chunks/{button-group.BB-_2uav.css → components/button-group/button-group.module.BB-_2uav.css} +0 -0
  1187. /package/dist/chunks/{calendar.Dtndav4F.css → components/calendar/calendar.module.Dtndav4F.css} +0 -0
  1188. /package/dist/chunks/{card.DSiUMxGK.css → components/card/card.module.DSiUMxGK.css} +0 -0
  1189. /package/dist/chunks/{carousel.CjaKGN_D.css → components/carousel/carousel.module.CjaKGN_D.css} +0 -0
  1190. /package/dist/chunks/{chart.B9cGEno8.css → components/chart/chart.module.B9cGEno8.css} +0 -0
  1191. /package/dist/chunks/{checkbox.CrdIZhi1.css → components/checkbox/checkbox.module.CrdIZhi1.css} +0 -0
  1192. /package/dist/chunks/{code-block.r7Cm0ncj.css → components/code-block/code-block.module.r7Cm0ncj.css} +0 -0
  1193. /package/dist/chunks/{collapsible.BkLeBug_.css → components/collapsible/collapsible.module.BkLeBug_.css} +0 -0
  1194. /package/dist/chunks/{combobox.CKhQGu5a.css → components/combobox/combobox.module.CKhQGu5a.css} +0 -0
  1195. /package/dist/chunks/{command.BBW1Cy-M.css → components/command/command.module.BBW1Cy-M.css} +0 -0
  1196. /package/dist/chunks/{context-menu.D_HuTgqL.css → components/context-menu/context-menu.module.D_HuTgqL.css} +0 -0
  1197. /package/dist/chunks/{actions.iasfkjWq.css → components/data-grid/plugins/actions/components/data-grid-actions-wrapper.module.iasfkjWq.css} +0 -0
  1198. /package/dist/chunks/{drag-drop.BASVe3_O.css → components/data-grid/plugins/drag-drop/components/data-grid-drag-drop.module.BASVe3_O.css} +0 -0
  1199. /package/dist/chunks/{row-actions.BprAXgu2.css → components/data-grid/plugins/row-actions/components/data-grid-row-actions-cell.module.BprAXgu2.css} +0 -0
  1200. /package/dist/chunks/{row-click.DAYTmSBO.css → components/data-grid/plugins/row-click/components/data-grid-row-click.module.DAYTmSBO.css} +0 -0
  1201. /package/dist/chunks/{row-number.BxFT_3yP.css → components/data-grid/plugins/row-number/components/data-grid-row-number-cell.module.BxFT_3yP.css} +0 -0
  1202. /package/dist/chunks/{table-configuration.a6C_fp7B.css → components/data-grid/plugins/table-configuration/components/data-grid-table-configuration.module.a6C_fp7B.css} +0 -0
  1203. /package/dist/chunks/{table-tree.DMtpMddS.css → components/data-grid/plugins/table-tree/components/data-grid-table-tree.module.DMtpMddS.css} +0 -0
  1204. /package/dist/chunks/{text-search.BeZYac6V.css → components/data-grid/plugins/text-search/components/data-grid-text-search.module.BeZYac6V.css} +0 -0
  1205. /package/dist/chunks/{resolve-body-cell-props.BA5IRWq0.css → components/data-grid/services/table/components/data-grid-cell.module.BA5IRWq0.css} +0 -0
  1206. /package/dist/chunks/{data-table.DJJaM7bh.css → components/data-table/data-table.module.DJJaM7bh.css} +0 -0
  1207. /package/dist/chunks/{date-picker.BcRqyOg8.css → components/date-picker/date-picker.module.BcRqyOg8.css} +0 -0
  1208. /package/dist/chunks/{description-list.Cx-vFGJL.css → components/description-list/description-list.module.Cx-vFGJL.css} +0 -0
  1209. /package/dist/chunks/{dialog.CIR9bQoU.css → components/dialog/dialog.module.CIR9bQoU.css} +0 -0
  1210. /package/dist/chunks/{drawer.D8l6-G8t.css → components/drawer/drawer.module.D8l6-G8t.css} +0 -0
  1211. /package/dist/chunks/{dropdown-menu.DT1_JLqL.css → components/dropdown-menu/dropdown-menu.module.DT1_JLqL.css} +0 -0
  1212. /package/dist/chunks/{empty.Cfg5lE0n.css → components/empty/empty.module.Cfg5lE0n.css} +0 -0
  1213. /package/dist/chunks/{field.CDoJmJUe.css → components/field/field.module.CDoJmJUe.css} +0 -0
  1214. /package/dist/chunks/{heading.DQxQs5po.css → components/heading/heading.module.DQxQs5po.css} +0 -0
  1215. /package/dist/chunks/{hover-card.D00tbys5.css → components/hover-card/hover-card.module.D00tbys5.css} +0 -0
  1216. /package/dist/chunks/{input.DORly3Cx.css → components/input/input.module.DORly3Cx.css} +0 -0
  1217. /package/dist/chunks/{input-group.C7XgalVn.css → components/input-group/input-group.module.C7XgalVn.css} +0 -0
  1218. /package/dist/chunks/{input-otp.Dvxlngb4.css → components/input-otp/input-otp.module.Dvxlngb4.css} +0 -0
  1219. /package/dist/chunks/{item.BQ70Khqj.css → components/item/item.module.BQ70Khqj.css} +0 -0
  1220. /package/dist/chunks/{kbd.DZuUVB_m.css → components/kbd/kbd.module.DZuUVB_m.css} +0 -0
  1221. /package/dist/chunks/{label.s0Wrm1i-.css → components/label/label.module.s0Wrm1i-.css} +0 -0
  1222. /package/dist/chunks/{link.BOE4f-aB.css → components/link/link.module.BOE4f-aB.css} +0 -0
  1223. /package/dist/chunks/{marker.DDxI_rZn.css → components/marker/marker.module.DDxI_rZn.css} +0 -0
  1224. /package/dist/chunks/{menubar.CJcVQhPq.css → components/menubar/menubar.module.CJcVQhPq.css} +0 -0
  1225. /package/dist/chunks/{message.B9Rexp_f.css → components/message/message.module.B9Rexp_f.css} +0 -0
  1226. /package/dist/chunks/{message-scroller.CBjPcz8Y.css → components/message-scroller/message-scroller.module.CBjPcz8Y.css} +0 -0
  1227. /package/dist/chunks/{native-select.BosBdRAx.css → components/native-select/native-select.module.BosBdRAx.css} +0 -0
  1228. /package/dist/chunks/{navigation-menu.CuXMCPRN.css → components/navigation-menu/navigation-menu.module.CuXMCPRN.css} +0 -0
  1229. /package/dist/chunks/{page-header.72nfJNkg.css → components/page-header/page-header.module.72nfJNkg.css} +0 -0
  1230. /package/dist/chunks/{pagination.DJ7HJSFX.css → components/pagination/pagination.module.DJ7HJSFX.css} +0 -0
  1231. /package/dist/chunks/{popover.BYhwNKnZ.css → components/popover/popover.module.BYhwNKnZ.css} +0 -0
  1232. /package/dist/chunks/{progress.DjSEXfxh.css → components/progress/progress.module.DjSEXfxh.css} +0 -0
  1233. /package/dist/chunks/{questionnaire.C-YTRjPE.css → components/questionnaire/questionnaire.module.C-YTRjPE.css} +0 -0
  1234. /package/dist/chunks/{radio-group.CisvBT6g.css → components/radio-group/radio-group.module.CisvBT6g.css} +0 -0
  1235. /package/dist/chunks/{resizable.B71V-1lR.css → components/resizable/resizable.module.B71V-1lR.css} +0 -0
  1236. /package/dist/chunks/{scroll-area.B0OVmDRX.css → components/scroll-area/scroll-area.module.B0OVmDRX.css} +0 -0
  1237. /package/dist/chunks/{select.C3sLDoZI.css → components/select/select.module.C3sLDoZI.css} +0 -0
  1238. /package/dist/chunks/{separator.DdRRkJW4.css → components/separator/separator.module.DdRRkJW4.css} +0 -0
  1239. /package/dist/chunks/{sheet.BkZyzAbA.css → components/sheet/sheet.module.BkZyzAbA.css} +0 -0
  1240. /package/dist/chunks/{sidebar.Dw_e0Jqw.css → components/sidebar/sidebar.module.Dw_e0Jqw.css} +0 -0
  1241. /package/dist/chunks/{skeleton.BhWSzPnI.css → components/skeleton/skeleton.module.BhWSzPnI.css} +0 -0
  1242. /package/dist/chunks/{slider.DY1XDCPw.css → components/slider/slider.module.DY1XDCPw.css} +0 -0
  1243. /package/dist/chunks/{spinner.CLQsj9Ky.css → components/spinner/spinner.module.CLQsj9Ky.css} +0 -0
  1244. /package/dist/chunks/{status-dot.39NKkKQF.css → components/status-dot/status-dot.module.39NKkKQF.css} +0 -0
  1245. /package/dist/chunks/{switch.BYqd9jlJ.css → components/switch/switch.module.BYqd9jlJ.css} +0 -0
  1246. /package/dist/chunks/{table.biUlW2U6.css → components/table/table.module.biUlW2U6.css} +0 -0
  1247. /package/dist/chunks/{tabs.BqhiMRUP.css → components/tabs/tabs.module.BqhiMRUP.css} +0 -0
  1248. /package/dist/chunks/{text.7frjnkUr.css → components/text/text.module.7frjnkUr.css} +0 -0
  1249. /package/dist/chunks/{textarea.DMphp0qh.css → components/textarea/textarea.module.DMphp0qh.css} +0 -0
  1250. /package/dist/chunks/{toast.Dw-jW4YY.css → components/toast/toast.module.Dw-jW4YY.css} +0 -0
  1251. /package/dist/chunks/{toggle.B82Id2zR.css → components/toggle/toggle.module.B82Id2zR.css} +0 -0
  1252. /package/dist/chunks/{toggle-group.BpWF6enM.css → components/toggle-group/toggle-group.module.BpWF6enM.css} +0 -0
  1253. /package/dist/chunks/{tooltip.CFJyyz-O.css → components/tooltip/tooltip.module.CFJyyz-O.css} +0 -0
  1254. /package/dist/chunks/{visually-hidden.Bd2oAR5D.css → components/visually-hidden/visually-hidden.module.Bd2oAR5D.css} +0 -0
@@ -1,255 +1,4 @@
1
- "use client";
2
- import { i as w } from "../chunks/deep-equal.js";
3
- import { create as G } from "zustand";
4
- import { u as y, c as j } from "../chunks/plugins-helpers.js";
5
- import { jsx as c, jsxs as g } from "react/jsx-runtime";
6
- import { ChevronUpIcon as q, ChevronDownIcon as x, CheckIcon as _, PencilLineIcon as V, ArrowUpIcon as $, ArrowDownIcon as H } from "lucide-react";
7
- import { useState as R } from "react";
8
- import { m as u } from "../chunks/messages.js";
9
- import { u as J } from "../chunks/data-grid-portal-container-context.js";
10
- import { Popover as K, PopoverTrigger as Q, PopoverContent as W } from "../popover.js";
11
- import { DropdownMenu as X, DropdownMenuGroup as P, DropdownMenuLabel as z, DropdownMenuItem as k, DropdownMenuSeparator as Y } from "../dropdown-menu.js";
12
- import { Button as F } from "../button.js";
13
- import '../chunks/order.D7Jg_Mg8.css';function Z(r = "string") {
14
- return r === "number" ? {
15
- ascending: u.order.ascNumber,
16
- descending: u.order.descNumber
17
- } : r === "date" ? {
18
- ascending: u.order.ascDate,
19
- descending: u.order.descDate
20
- } : {
21
- ascending: u.order.ascString,
22
- descending: u.order.descString
23
- };
24
- }
25
- const ee = "_orderPopover_53ftr_1", re = "_menuItem_53ftr_12", ne = "_check_53ftr_18", I = {
26
- orderPopover: ee,
27
- menuItem: re,
28
- check: ne
29
- };
30
- function oe() {
31
- var C;
32
- const d = y().getPlugin("order"), [i, t] = R(!1), s = J(), n = d.useOrder(), m = d.useOptions(), f = n ? m.find((a) => a.id === n.columnId) ?? null : null, O = (f == null ? void 0 : f.type) ?? "string", b = Z(O), L = f ? f.label : u.order.sort;
33
- function S(a) {
34
- d.setOrder(a, "desc"), t(!1);
35
- }
36
- function h(a) {
37
- n && (d.setOrder(n.columnId, a), t(!1));
38
- }
39
- const v = (n == null ? void 0 : n.direction) === "asc" ? /* @__PURE__ */ c(q, {}) : (n == null ? void 0 : n.direction) === "desc" ? /* @__PURE__ */ c(x, {}) : null, p = (
40
- // `lg` is the height of the search field it sits beside in the toolbar (both are the kit's
41
- // 40px step); the default step would sit 4px shorter than the field.
42
- /* @__PURE__ */ c(
43
- F,
44
- {
45
- variant: "outline",
46
- size: "lg",
47
- icon: /* @__PURE__ */ c(V, {}),
48
- end: v,
49
- "aria-label": u.order.sort,
50
- children: L
51
- }
52
- )
53
- ), D = (C = d.popover) != null && C.minInlineSize ? { minInlineSize: `${d.popover.minInlineSize}px` } : void 0;
54
- return m.length === 0 ? null : /* @__PURE__ */ g(K, { open: i, onOpenChange: t, children: [
55
- /* @__PURE__ */ c(Q, { render: p }),
56
- /* @__PURE__ */ c(W, { side: "bottom", align: "end", container: s, children: /* @__PURE__ */ c(X, { open: !0, modal: !1, children: /* @__PURE__ */ g("div", { className: I.orderPopover, style: D, children: [
57
- /* @__PURE__ */ g(P, { children: [
58
- /* @__PURE__ */ c(z, { children: u.order.sortBy }),
59
- m.map((a) => /* @__PURE__ */ g(
60
- k,
61
- {
62
- className: I.menuItem,
63
- onClick: () => S(a.id),
64
- children: [
65
- a.label,
66
- (n == null ? void 0 : n.columnId) === a.id && /* @__PURE__ */ c(_, { className: I.check })
67
- ]
68
- },
69
- a.id
70
- ))
71
- ] }),
72
- /* @__PURE__ */ c(Y, {}),
73
- /* @__PURE__ */ g(P, { children: [
74
- /* @__PURE__ */ c(z, { children: u.order.order }),
75
- /* @__PURE__ */ g(
76
- k,
77
- {
78
- className: I.menuItem,
79
- disabled: !n,
80
- onClick: () => h("asc"),
81
- children: [
82
- b.ascending,
83
- (n == null ? void 0 : n.direction) === "asc" && /* @__PURE__ */ c(_, { className: I.check })
84
- ]
85
- }
86
- ),
87
- /* @__PURE__ */ g(
88
- k,
89
- {
90
- className: I.menuItem,
91
- disabled: !n,
92
- onClick: () => h("desc"),
93
- children: [
94
- b.descending,
95
- (n == null ? void 0 : n.direction) === "desc" && /* @__PURE__ */ c(_, { className: I.check })
96
- ]
97
- }
98
- )
99
- ] })
100
- ] }) }) })
101
- ] });
102
- }
103
- const te = "_orderLabel_o0d7f_1", ie = {
104
- orderLabel: te
105
- };
106
- function de({
107
- column: r
108
- }) {
109
- const i = y().getPlugin("order"), t = !i.useIsColumnExcluded(r.id), s = typeof r.label == "function" ? r.label() : r.label;
110
- return t ? /* @__PURE__ */ c(
111
- "button",
112
- {
113
- type: "button",
114
- className: ie.orderLabel,
115
- "aria-label": u.order.changeSorting(s),
116
- onClick: () => i.toggleOrder(r.id),
117
- children: s
118
- }
119
- ) : /* @__PURE__ */ c("span", { children: s });
120
- }
121
- function ce({ column: r }) {
122
- const i = y().getPlugin("order"), t = i.useOrder();
123
- if (!(!i.useIsColumnExcluded(r.id) && (t == null ? void 0 : t.columnId) === r.id)) return null;
124
- const m = typeof r.label == "function" ? r.label() : r.label;
125
- return /* @__PURE__ */ c(
126
- F,
127
- {
128
- variant: "ghost",
129
- size: "sm",
130
- "aria-label": u.order.changeSorting(m),
131
- icon: t.direction === "asc" ? /* @__PURE__ */ c($, {}) : /* @__PURE__ */ c(H, {}),
132
- onClick: () => i.toggleOrder(r.id)
133
- }
134
- );
135
- }
136
- const A = { columnId: "__cleared__", direction: "asc" }, E = [], M = [];
137
- function B(r) {
138
- return (r == null ? void 0 : r.columnId) === "__cleared__";
139
- }
140
- const Ce = j(
141
- "order",
142
- (r) => {
143
- const d = r.registerPersistentState("order", {
144
- schema: { columnId: "string", direction: "string" }
145
- });
146
- let i = d.value;
147
- const t = G(() => ({
148
- order: void 0
149
- })), s = G(() => ({
150
- excludedColumns: M,
151
- options: E,
152
- popover: void 0
153
- }));
154
- let n = !1;
155
- r.registerComponent("header-cell-label", de), r.registerTableSlot("header-cell-end", { component: ce }), r.registerSlot("top-end", {
156
- id: "order",
157
- component: oe,
158
- order: -10
159
- });
160
- const m = () => t((e) => e.order), f = () => t((e) => {
161
- var o;
162
- return (o = e.order) == null ? void 0 : o.columnId;
163
- }), O = () => t((e) => {
164
- var o;
165
- return (o = e.order) == null ? void 0 : o.direction;
166
- });
167
- r.hook("load:context", () => {
168
- n = !0;
169
- const { order: e } = t.getState();
170
- if (!(!e || p(e.columnId)))
171
- return { order: [{ column: e.columnId, direction: e.direction }] };
172
- });
173
- function b(e) {
174
- p(e.columnId) || (i = e, t.setState({ order: e }), d.setValue(e), r.refresh({ resetFilters: !1 }));
175
- }
176
- return {
177
- useOrder: m,
178
- useColumnId: f,
179
- useDirection: O,
180
- toggleOrder: S,
181
- setOrder: h,
182
- useIsColumnExcluded: v,
183
- useOptions: N,
184
- get popover() {
185
- return s.getState().popover;
186
- },
187
- onPropsChange: T
188
- };
189
- function S(e) {
190
- const { order: o } = t.getState();
191
- if ((o == null ? void 0 : o.columnId) === e) {
192
- if (o.direction === "desc") {
193
- b({ columnId: e, direction: "asc" });
194
- return;
195
- }
196
- i = A, t.setState({ order: void 0 }), d.setValue(A), r.refresh({ resetFilters: !1 });
197
- return;
198
- }
199
- b({ columnId: e, direction: "desc" });
200
- }
201
- function h(e, o) {
202
- b({ columnId: e, direction: o });
203
- }
204
- function v(e) {
205
- return s((o) => o.excludedColumns.includes(e));
206
- }
207
- function p(e) {
208
- const { excludedColumns: o, options: l } = s.getState();
209
- return o.includes(e) && !l.some((U) => U.id === e);
210
- }
211
- function D() {
212
- if (!(!i || B(i)))
213
- return { columnId: i.columnId, direction: i.direction };
214
- }
215
- function C(e) {
216
- const o = D();
217
- if (o && !p(o.columnId)) return o;
218
- if (B(i)) return;
219
- const { order: l } = t.getState();
220
- if (l && !p(l.columnId)) return l;
221
- if (e && !p(e.id))
222
- return { columnId: e.id, direction: e.direction };
223
- }
224
- function a(e) {
225
- const { order: o } = t.getState(), l = C(e);
226
- (o == null ? void 0 : o.columnId) === (l == null ? void 0 : l.columnId) && (o == null ? void 0 : o.direction) === (l == null ? void 0 : l.direction) || (t.setState({ order: l }), n && r.refresh({ resetFilters: !1 }));
227
- }
228
- function N() {
229
- return s((e) => e.options);
230
- }
231
- function T(e) {
232
- s.setState({
233
- excludedColumns: e.excludedColumns ?? M,
234
- options: e.options ?? E,
235
- popover: e.popover
236
- }), a(e.defaultOrder);
237
- }
238
- },
239
- (r, d) => {
240
- var i, t, s, n, m, f;
241
- return w(r.options, d.options) && w(r.excludedColumns, d.excludedColumns) && ((i = r.defaultOrder) == null ? void 0 : i.id) === ((t = d.defaultOrder) == null ? void 0 : t.id) && ((s = r.defaultOrder) == null ? void 0 : s.direction) === ((n = d.defaultOrder) == null ? void 0 : n.direction) && ((m = r.popover) == null ? void 0 : m.minInlineSize) === ((f = d.popover) == null ? void 0 : f.minInlineSize);
242
- }
243
- );
244
- function Oe(r) {
245
- return {
246
- id: r.id,
247
- label: r.label,
248
- type: r.type
249
- };
250
- }
251
- export {
252
- Ce as DataGridOrderPlugin,
253
- Oe as createDataGridOrderOption
254
- };
1
+ export { DataGridOrderPlugin } from "../chunks/components/data-grid/plugins/order/order-plugin.js";
2
+ export { createDataGridOrderOption } from "../chunks/components/data-grid/plugins/order/services/order-option.js";
3
+
255
4
  //# sourceMappingURL=order.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"order.js","sources":["../../src/components/data-grid/plugins/order/services/order-labels.ts","../../src/components/data-grid/plugins/order/components/data-grid-order-button.tsx","../../src/components/data-grid/plugins/order/components/data-grid-order-header-cell-label.tsx","../../src/components/data-grid/plugins/order/components/data-grid-order-icon.tsx","../../src/components/data-grid/plugins/order/order-plugin.tsx","../../src/components/data-grid/plugins/order/services/order-option.ts"],"sourcesContent":["import { messages } from '../../../messages';\nimport type { DataGridOrderColumnType } from '../order-types';\n\nexport interface OrderLabels {\n ascending: string;\n descending: string;\n}\n\n/** What the two directions are called for a column of this type: A-Z, 0-9, oldest first. */\nexport function getOrderLabels(type: DataGridOrderColumnType = 'string'): OrderLabels {\n if (type === 'number') {\n return {\n ascending: messages.order.ascNumber,\n descending: messages.order.descNumber,\n };\n }\n\n if (type === 'date') {\n return {\n ascending: messages.order.ascDate,\n descending: messages.order.descDate,\n };\n }\n\n return {\n ascending: messages.order.ascString,\n descending: messages.order.descString,\n };\n}\n","import { CheckIcon, ChevronDownIcon, ChevronUpIcon, PencilLineIcon } from 'lucide-react';\nimport { useState } from 'react';\n\nimport { Button } from '../../../../button/public.js';\nimport {\n DropdownMenu,\n DropdownMenuGroup,\n DropdownMenuItem,\n DropdownMenuLabel,\n DropdownMenuSeparator,\n} from '../../../../dropdown-menu/public.js';\nimport { Popover, PopoverContent, PopoverTrigger } from '../../../../popover/public.js';\nimport type { DataGridItem } from '../../../data-grid-types';\nimport { messages } from '../../../messages';\nimport { useDataGrid } from '../../../services/core/data-grid-context';\nimport { useDataGridPortalContainer } from '../../../services/core/data-grid-portal-container-context';\nimport type { OrderDirection } from '../../../services/plugins/plugins-types';\nimport type { DataGridOrderPluginApi } from '../order-types';\nimport { getOrderLabels } from '../services/order-labels';\nimport styles from './data-grid-order-button.module.css';\n\nexport function DataGridOrderButton() {\n const grid = useDataGrid<DataGridItem>();\n const orderApi = grid.getPlugin<DataGridOrderPluginApi>('order')!;\n const [open, setOpen] = useState(false);\n const portalContainer = useDataGridPortalContainer();\n\n const order = orderApi.useOrder();\n const options = orderApi.useOptions();\n\n const selectedOption = order ? (options.find((opt) => opt.id === order.columnId) ?? null) : null;\n const columnType = selectedOption?.type ?? 'string';\n const orderLabels = getOrderLabels(columnType);\n\n const buttonLabel = selectedOption ? selectedOption.label : messages.order.sort;\n\n function selectColumn(columnId: string) {\n const defaultDirection: OrderDirection = 'desc';\n orderApi.setOrder(columnId, defaultDirection);\n setOpen(false);\n }\n\n function selectDirection(direction: OrderDirection) {\n if (!order) return;\n orderApi.setOrder(order.columnId, direction);\n setOpen(false);\n }\n\n const directionIcon =\n order?.direction === 'asc' ? (\n <ChevronUpIcon />\n ) : order?.direction === 'desc' ? (\n <ChevronDownIcon />\n ) : null;\n\n const triggerButton = (\n // `lg` is the height of the search field it sits beside in the toolbar (both are the kit's\n // 40px step); the default step would sit 4px shorter than the field.\n <Button\n variant=\"outline\"\n size=\"lg\"\n icon={<PencilLineIcon />}\n end={directionIcon}\n aria-label={messages.order.sort}\n >\n {buttonLabel}\n </Button>\n );\n\n const popoverStyle = orderApi.popover?.minInlineSize\n ? { minInlineSize: `${orderApi.popover.minInlineSize}px` }\n : undefined;\n\n if (options.length === 0) return null;\n\n return (\n <Popover open={open} onOpenChange={setOpen}>\n <PopoverTrigger render={triggerButton} />\n <PopoverContent side=\"bottom\" align=\"end\" container={portalContainer}>\n {/* The menu parts without a popup of their own: the popover is the popup, and the menu\n only supplies the items, so there is no arrow-key navigation between them. */}\n <DropdownMenu open modal={false}>\n <div className={styles.orderPopover} style={popoverStyle}>\n <DropdownMenuGroup>\n <DropdownMenuLabel>{messages.order.sortBy}</DropdownMenuLabel>\n {options.map((option) => (\n <DropdownMenuItem\n key={option.id}\n className={styles.menuItem}\n onClick={() => selectColumn(option.id)}\n >\n {option.label}\n {order?.columnId === option.id && <CheckIcon className={styles.check} />}\n </DropdownMenuItem>\n ))}\n </DropdownMenuGroup>\n\n <DropdownMenuSeparator />\n\n <DropdownMenuGroup>\n <DropdownMenuLabel>{messages.order.order}</DropdownMenuLabel>\n <DropdownMenuItem\n className={styles.menuItem}\n disabled={!order}\n onClick={() => selectDirection('asc')}\n >\n {orderLabels.ascending}\n {order?.direction === 'asc' && <CheckIcon className={styles.check} />}\n </DropdownMenuItem>\n <DropdownMenuItem\n className={styles.menuItem}\n disabled={!order}\n onClick={() => selectDirection('desc')}\n >\n {orderLabels.descending}\n {order?.direction === 'desc' && <CheckIcon className={styles.check} />}\n </DropdownMenuItem>\n </DropdownMenuGroup>\n </div>\n </DropdownMenu>\n </PopoverContent>\n </Popover>\n );\n}\n","import { messages } from '../../../messages';\nimport type { DataGridItem } from '../../../data-grid-types';\nimport { useDataGrid } from '../../../services/core/data-grid-context';\nimport type { DataGridTableColumn } from '../../../services/table/table-types';\nimport type { DataGridOrderPluginApi } from '../order-types';\nimport styles from './data-grid-order-header-cell-label.module.css';\n\ninterface DataGridOrderHeaderCellLabelProps<TItem extends DataGridItem> {\n column: DataGridTableColumn<TItem>;\n}\n\nexport function DataGridOrderHeaderCellLabel<TItem extends DataGridItem>({\n column,\n}: DataGridOrderHeaderCellLabelProps<TItem>) {\n const grid = useDataGrid<TItem>();\n const orderApi = grid.getPlugin<DataGridOrderPluginApi>('order')!;\n\n const isOrderable = !orderApi.useIsColumnExcluded(column.id);\n const label = typeof column.label === 'function' ? column.label() : column.label;\n\n if (!isOrderable) {\n return <span>{label}</span>;\n }\n\n return (\n <button\n type=\"button\"\n className={styles.orderLabel}\n aria-label={messages.order.changeSorting(label)}\n onClick={() => orderApi.toggleOrder(column.id)}\n >\n {label}\n </button>\n );\n}\n","import { ArrowDownIcon, ArrowUpIcon } from 'lucide-react';\n\nimport { Button } from '../../../../button/public.js';\nimport { messages } from '../../../messages';\nimport { useDataGrid } from '../../../services/core/data-grid-context';\nimport type { DataGridTableColumn } from '../../../services/table/table-types';\nimport type { DataGridOrderPluginApi } from '../order-types';\n\ninterface DataGridOrderIconProps {\n column: DataGridTableColumn;\n}\n\nexport function DataGridOrderIcon({ column }: DataGridOrderIconProps) {\n const grid = useDataGrid();\n const orderApi = grid.getPlugin<DataGridOrderPluginApi>('order')!;\n\n const order = orderApi.useOrder();\n const isOrderable = !orderApi.useIsColumnExcluded(column.id);\n const isActive = isOrderable && order?.columnId === column.id;\n\n if (!isActive) return null;\n\n const label = typeof column.label === 'function' ? column.label() : column.label;\n\n return (\n <Button\n variant=\"ghost\"\n size=\"sm\"\n aria-label={messages.order.changeSorting(label)}\n icon={order.direction === 'asc' ? <ArrowUpIcon /> : <ArrowDownIcon />}\n onClick={() => orderApi.toggleOrder(column.id)}\n />\n );\n}\n","// Load-bearing: a plugin is rendered as a child of <DataGrid>, so a Server Component can import\n// and render it, and the component it returns calls hooks. This directive puts the banner on the\n// plugin's own entry chunk (dist/data-grid/<plugin>.js). client-boundaries.test.ts only scans a\n// component's top-level files, so scripts/verify-consumer.sh is what checks the built banner of\n// every plugin entry.\n'use client';\n\nimport { isDeepEqual } from '../../utils/deep-equal';\nimport { create } from 'zustand';\nimport type { DataGridItem } from '../../data-grid-types';\nimport { createDataGridPlugin } from '../../services/plugins/plugins-helpers';\nimport type {\n LoadContextOrderItem,\n OrderDirection,\n} from '../../services/plugins/plugins-types';\nimport { DataGridOrderButton } from './components/data-grid-order-button';\nimport { DataGridOrderHeaderCellLabel } from './components/data-grid-order-header-cell-label';\nimport { DataGridOrderIcon } from './components/data-grid-order-icon';\nimport type {\n DataGridDefaultOrder,\n DataGridOrderOption,\n DataGridOrderPluginApi,\n DataGridOrderPluginProps,\n DataGridOrderPopoverOptions,\n} from './order-types';\n\ninterface OrderStore {\n order: LoadContextOrderItem | undefined;\n}\n\nconst clearedSentinel: LoadContextOrderItem = { columnId: '__cleared__', direction: 'asc' };\n\n// Stable identities for the absent-prop case: `useOptions` selects the array by reference, so a\n// fresh literal would notify that selector for identical content.\nconst emptyOptions: DataGridOrderOption[] = [];\nconst emptyExcludedColumns: string[] = [];\n\nfunction isClearedSentinel(value: LoadContextOrderItem | undefined | null): boolean {\n return value?.columnId === '__cleared__';\n}\n\ninterface OrderConfigStore {\n excludedColumns: string[];\n options: DataGridOrderOption[];\n popover: DataGridOrderPopoverOptions | undefined;\n}\n\nexport type { DataGridOrderPluginProps, DataGridOrderPluginApi };\n\nexport const DataGridOrderPlugin = createDataGridPlugin<\n DataGridItem,\n 'order',\n DataGridOrderPluginProps\n>(\n 'order',\n (context) => {\n const persistent = context.registerPersistentState<LoadContextOrderItem>('order', {\n schema: { columnId: 'string', direction: 'string' },\n });\n\n // The stored order and the order the grid uses are different values. A narrowing can make a\n // stored order unusable without making it wrong, so it stays in storage and is withheld.\n let storedOrder = persistent.value;\n\n // Seeded empty on purpose: orderability depends on props, which arrive in the effect below, so\n // the first `resolveOrder` is what puts an order here. Nothing loads before it.\n const useOrderStore = create<OrderStore>(() => ({\n order: undefined,\n }));\n\n const useConfigStore = create<OrderConfigStore>(() => ({\n excludedColumns: emptyExcludedColumns,\n options: emptyOptions,\n popover: undefined,\n }));\n\n let hasRequestedLoad = false;\n\n // Register table components\n context.registerComponent('header-cell-label', DataGridOrderHeaderCellLabel);\n context.registerTableSlot('header-cell-end', { component: DataGridOrderIcon });\n context.registerSlot('top-end', {\n id: 'order',\n component: DataGridOrderButton,\n order: -10,\n });\n\n // Selectors\n const useOrder = () => useOrderStore((s) => s.order);\n const useColumnId = () => useOrderStore((s) => s.order?.columnId);\n const useDirection = () => useOrderStore((s) => s.order?.direction);\n\n context.hook('load:context', () => {\n hasRequestedLoad = true;\n\n const { order } = useOrderStore.getState();\n if (!order || isColumnUnorderable(order.columnId)) return;\n return { order: [{ column: order.columnId, direction: order.direction }] };\n });\n\n function applyOrder(order: LoadContextOrderItem) {\n // The plugin cannot express an order the user could not reach, so it does not store one.\n if (isColumnUnorderable(order.columnId)) return;\n\n storedOrder = order;\n useOrderStore.setState({ order });\n persistent.setValue(order);\n context.refresh({ resetFilters: false });\n }\n\n const api: DataGridOrderPluginApi = {\n useOrder,\n useColumnId,\n useDirection,\n toggleOrder,\n setOrder,\n useIsColumnExcluded,\n useOptions,\n get popover() {\n return useConfigStore.getState().popover;\n },\n onPropsChange,\n };\n\n return api;\n\n function toggleOrder(columnId: string) {\n const { order } = useOrderStore.getState();\n\n if (order?.columnId === columnId) {\n if (order.direction === 'desc') {\n applyOrder({ columnId, direction: 'asc' });\n return;\n }\n storedOrder = clearedSentinel;\n useOrderStore.setState({ order: undefined });\n persistent.setValue(clearedSentinel);\n context.refresh({ resetFilters: false });\n return;\n }\n\n applyOrder({ columnId, direction: 'desc' });\n }\n\n function setOrder(columnId: string, direction: OrderDirection) {\n applyOrder({ columnId, direction });\n }\n\n function useIsColumnExcluded(columnId: string) {\n return useConfigStore((s) => s.excludedColumns.includes(columnId));\n }\n\n function isColumnUnorderable(columnId: string) {\n const { excludedColumns, options } = useConfigStore.getState();\n return excludedColumns.includes(columnId) && !options.some((o) => o.id === columnId);\n }\n\n /** The stored order as a value of its own, so the mirror cannot be mutated through the store. */\n function pickStoredOrder() {\n if (!storedOrder || isClearedSentinel(storedOrder)) return undefined;\n return { columnId: storedOrder.columnId, direction: storedOrder.direction };\n }\n\n /** The order the grid uses, derived from the stored one and what the props currently offer. */\n function pickOrder(defaultOrder: DataGridDefaultOrder | undefined) {\n const stored = pickStoredOrder();\n if (stored && !isColumnUnorderable(stored.columnId)) return stored;\n\n // A sort the user cleared by hand is a choice, so no fallback applies to it.\n if (isClearedSentinel(storedOrder)) return undefined;\n\n // Nothing usable is stored. An order already applied this session stays, so changing\n // `defaultOrder` does not re-sort a grid the user is looking at.\n const { order: applied } = useOrderStore.getState();\n if (applied && !isColumnUnorderable(applied.columnId)) return applied;\n\n if (defaultOrder && !isColumnUnorderable(defaultOrder.id)) {\n return { columnId: defaultOrder.id, direction: defaultOrder.direction };\n }\n return undefined;\n }\n\n function resolveOrder(defaultOrder: DataGridDefaultOrder | undefined) {\n const { order: previous } = useOrderStore.getState();\n const next = pickOrder(defaultOrder);\n if (previous?.columnId === next?.columnId && previous?.direction === next?.direction) return;\n\n useOrderStore.setState({ order: next });\n if (hasRequestedLoad) context.refresh({ resetFilters: false });\n }\n\n function useOptions(): DataGridOrderOption[] {\n return useConfigStore((s) => s.options);\n }\n\n function onPropsChange(props: DataGridOrderPluginProps) {\n // Deliberately mirrors the props rather than committing each only when defined: both fields\n // decide what the request carries, so an absent prop must reset rather than keep its value.\n useConfigStore.setState({\n excludedColumns: props.excludedColumns ?? emptyExcludedColumns,\n options: props.options ?? emptyOptions,\n popover: props.popover,\n });\n\n resolveOrder(props.defaultOrder);\n }\n },\n (prevProps, nextProps) =>\n isDeepEqual(prevProps.options, nextProps.options) &&\n isDeepEqual(prevProps.excludedColumns, nextProps.excludedColumns) &&\n prevProps.defaultOrder?.id === nextProps.defaultOrder?.id &&\n prevProps.defaultOrder?.direction === nextProps.defaultOrder?.direction &&\n prevProps.popover?.minInlineSize === nextProps.popover?.minInlineSize,\n);\n","import type { DataGridOrderOption } from '../order-types';\n\nexport function createDataGridOrderOption(config: DataGridOrderOption): DataGridOrderOption {\n return {\n id: config.id,\n label: config.label,\n type: config.type,\n };\n}\n"],"names":["getOrderLabels","type","messages","DataGridOrderButton","orderApi","useDataGrid","open","setOpen","useState","portalContainer","useDataGridPortalContainer","order","options","selectedOption","opt","columnType","orderLabels","buttonLabel","selectColumn","columnId","selectDirection","direction","directionIcon","jsx","ChevronUpIcon","ChevronDownIcon","triggerButton","Button","PencilLineIcon","popoverStyle","_a","jsxs","Popover","PopoverTrigger","PopoverContent","DropdownMenu","styles","DropdownMenuGroup","DropdownMenuLabel","option","DropdownMenuItem","CheckIcon","DropdownMenuSeparator","DataGridOrderHeaderCellLabel","column","isOrderable","label","DataGridOrderIcon","ArrowUpIcon","ArrowDownIcon","clearedSentinel","emptyOptions","emptyExcludedColumns","isClearedSentinel","value","DataGridOrderPlugin","createDataGridPlugin","context","persistent","storedOrder","useOrderStore","create","useConfigStore","hasRequestedLoad","useOrder","s","useColumnId","useDirection","isColumnUnorderable","applyOrder","toggleOrder","setOrder","useIsColumnExcluded","useOptions","onPropsChange","excludedColumns","o","pickStoredOrder","pickOrder","defaultOrder","stored","applied","resolveOrder","previous","next","props","prevProps","nextProps","isDeepEqual","_b","_c","_d","_e","_f","createDataGridOrderOption","config"],"mappings":";;;;;;;;;;;;AASO,SAASA,EAAeC,IAAgC,UAAuB;AACpF,SAAIA,MAAS,WACJ;AAAA,IACL,WAAWC,EAAS,MAAM;AAAA,IAC1B,YAAYA,EAAS,MAAM;AAAA,EAAA,IAI3BD,MAAS,SACJ;AAAA,IACL,WAAWC,EAAS,MAAM;AAAA,IAC1B,YAAYA,EAAS,MAAM;AAAA,EAAA,IAIxB;AAAA,IACL,WAAWA,EAAS,MAAM;AAAA,IAC1B,YAAYA,EAAS,MAAM;AAAA,EAAA;AAE/B;;;;;;ACPO,SAASC,KAAsB;;AAEpC,QAAMC,IADOC,EAAA,EACS,UAAkC,OAAO,GACzD,CAACC,GAAMC,CAAO,IAAIC,EAAS,EAAK,GAChCC,IAAkBC,EAAA,GAElBC,IAAQP,EAAS,SAAA,GACjBQ,IAAU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Y;AAAA,IACjC;AAAA,EACF;AAAA,EACA,CAACC,GAAWC,MAAA;;AACV,WAAAC,EAAYF,EAAU,SAASC,EAAU,OAAO,KAChDC,EAAYF,EAAU,iBAAiBC,EAAU,eAAe,OAChEzD,IAAAwD,EAAU,iBAAV,gBAAAxD,EAAwB,UAAO2D,IAAAF,EAAU,iBAAV,gBAAAE,EAAwB,SACvDC,IAAAJ,EAAU,iBAAV,gBAAAI,EAAwB,iBAAcC,IAAAJ,EAAU,iBAAV,gBAAAI,EAAwB,gBAC9DC,IAAAN,EAAU,YAAV,gBAAAM,EAAmB,qBAAkBC,IAAAN,EAAU,YAAV,gBAAAM,EAAmB;AAAA;AAC5D;ACnNO,SAASC,GAA0BC,GAAkD;AAC1F,SAAO;AAAA,IACL,IAAIA,EAAO;AAAA,IACX,OAAOA,EAAO;AAAA,IACd,MAAMA,EAAO;AAAA,EAAA;AAEjB;"}
1
+ {"version":3,"file":"order.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
@@ -1,225 +1,3 @@
1
- "use client";
2
- import { jsxs as I, jsx as r } from "react/jsx-runtime";
3
- import { i as H } from "../chunks/deep-equal.js";
4
- import { create as G } from "zustand";
5
- import { u as N, c as j } from "../chunks/plugins-helpers.js";
6
- import { S as k, u as D } from "../chunks/segment.js";
7
- import { useMemo as x, memo as V } from "react";
8
- import { m as h } from "../chunks/messages.js";
9
- import { Pagination as E, PaginationContent as B, PaginationItem as M, PaginationPreviousButton as R, PaginationButton as T, PaginationEllipsis as $, PaginationNextButton as A } from "../pagination.js";
10
- import { ToggleGroupItem as O } from "../toggle-group.js";
11
- import '../chunks/pagination.DPVITj_D.css';const q = "_dataGridPagination_68oip_1", z = {
12
- dataGridPagination: q
13
- }, L = 1, u = 1, F = L * 2 + u * 2 + 3;
14
- function f(e, t) {
15
- const i = [];
16
- for (let n = e; n <= t; n++)
17
- i.push(n);
18
- return i;
19
- }
20
- function p(e) {
21
- return e.map((t) => ({ type: "page", page: t }));
22
- }
23
- function w(e, t) {
24
- if (t <= 0) return [];
25
- if (t <= F)
26
- return p(f(1, t));
27
- const i = Math.max(e - L, u + 1), n = Math.min(e + L, t - u), g = i > u + 2, d = n < t - u - 1;
28
- if (!g && d) {
29
- const m = L * 2 + u + 2;
30
- return [
31
- ...p(f(1, m)),
32
- { type: "ellipsis" },
33
- ...p(f(t - u + 1, t))
34
- ];
35
- }
36
- if (g && !d) {
37
- const m = L * 2 + u + 2;
38
- return [
39
- ...p(f(1, u)),
40
- { type: "ellipsis" },
41
- ...p(f(t - m + 1, t))
42
- ];
43
- }
44
- return [
45
- ...p(f(1, u)),
46
- { type: "ellipsis" },
47
- ...p(f(i, n)),
48
- { type: "ellipsis" },
49
- ...p(f(t - u + 1, t))
50
- ];
51
- }
52
- function J(e, t) {
53
- return x(() => w(e, t), [e, t]);
54
- }
55
- const K = "_pager_1dej1_11", Q = "_pages_1dej1_30", U = "_limit_1dej1_45", W = "_info_1dej1_49", C = {
56
- pager: K,
57
- pages: Q,
58
- limit: U,
59
- info: W
60
- }, X = V(function({
61
- total: t,
62
- page: i,
63
- limit: n,
64
- limits: g,
65
- autoHide: d,
66
- label: m,
67
- onPageChange: S,
68
- onLimitChange: b
69
- }) {
70
- const c = Math.max(1, Math.ceil(t / n)), l = g.length > 0 ? g : [n], a = J(i, c);
71
- function s(o) {
72
- const v = Math.max(1, Math.min(o, c));
73
- v !== i && S(v);
74
- }
75
- function P(o) {
76
- o !== n && (i !== 1 && S(1), b(o));
77
- }
78
- if (d) {
79
- const o = Math.min(...l);
80
- if (c <= 1 || t <= o)
81
- return null;
82
- }
83
- const _ = g.length > 1;
84
- return /* @__PURE__ */ I(
85
- E,
86
- {
87
- "aria-label": m === void 0 ? h.pagination.ariaLabel : h.pagination.ariaLabelFor(m),
88
- className: C.pager,
89
- children: [
90
- _ && /* @__PURE__ */ r(
91
- k,
92
- {
93
- size: "sm",
94
- className: C.limit,
95
- value: String(n),
96
- onValueChange: (o) => {
97
- o !== void 0 && P(Number(o));
98
- },
99
- "aria-label": h.pagination.limitSelectorAriaLabel,
100
- children: g.map((o) => /* @__PURE__ */ r(O, { value: String(o), children: o }, o))
101
- }
102
- ),
103
- /* @__PURE__ */ r("span", { className: C.info, children: h.pagination.pageInfo(i, c, t) }),
104
- /* @__PURE__ */ I(B, { className: C.pages, children: [
105
- /* @__PURE__ */ r(M, { children: /* @__PURE__ */ r(
106
- R,
107
- {
108
- "aria-label": h.pagination.previousPage,
109
- disabled: i <= 1,
110
- onClick: () => s(i - 1)
111
- }
112
- ) }),
113
- a.map((o, v) => /* @__PURE__ */ r(M, { children: o.type === "page" ? /* @__PURE__ */ r(
114
- T,
115
- {
116
- isActive: o.page === i,
117
- "aria-label": h.pagination.goToPage(o.page),
118
- onClick: () => s(o.page),
119
- children: o.page
120
- }
121
- ) : /* @__PURE__ */ r($, {}) }, o.type === "page" ? o.page : `ellipsis-${v}`)),
122
- /* @__PURE__ */ r(M, { children: /* @__PURE__ */ r(
123
- A,
124
- {
125
- "aria-label": h.pagination.nextPage,
126
- disabled: i >= c,
127
- onClick: () => s(i + 1)
128
- }
129
- ) })
130
- ] })
131
- ]
132
- }
133
- );
134
- });
135
- function Y() {
136
- const e = N(), t = D(), i = e.getPlugin("pagination"), n = i.useConfigStore((l) => l.limits), g = i.useConfigStore((l) => l.autoHide), d = i.usePaginationStore((l) => l.page), m = i.usePaginationStore((l) => l.limit), S = i.usePaginationStore((l) => l.total), { setPage: b, setLimit: c } = i;
137
- return /* @__PURE__ */ r("div", { className: z.dataGridPagination, children: /* @__PURE__ */ r(
138
- X,
139
- {
140
- page: d,
141
- limit: m,
142
- total: S,
143
- limits: n,
144
- autoHide: g,
145
- label: t,
146
- onPageChange: b,
147
- onLimitChange: c
148
- }
149
- ) });
150
- }
151
- function y(e) {
152
- return typeof e == "number" && Number.isInteger(e) && e > 0 ? e : void 0;
153
- }
154
- const rt = j(
155
- "pagination",
156
- (e) => {
157
- const t = G(() => ({
158
- defaultLimit: 12,
159
- limits: [12, 24, 48, 96],
160
- autoHide: !1
161
- })), i = e.registerPersistentState("pagination", {
162
- schema: { page: "number", limit: "number" }
163
- }), n = G(() => {
164
- var a, s;
165
- return {
166
- page: y((a = i.value) == null ? void 0 : a.page) ?? 1,
167
- limit: y((s = i.value) == null ? void 0 : s.limit) ?? t.getState().defaultLimit,
168
- total: 0
169
- };
170
- }), g = () => n((a) => a.limit), d = () => n.getState().page, m = () => n.getState().limit;
171
- return e.registerSlot("bottom", {
172
- id: "pagination",
173
- component: () => /* @__PURE__ */ r(Y, {})
174
- }), e.hook("load:context", (a) => {
175
- const s = n.getState();
176
- return {
177
- pagination: a.loadContext.pagination ?? { page: s.page, limit: s.limit }
178
- };
179
- }), e.hook("load:store", (a) => {
180
- var s;
181
- ((s = a.processResult) == null ? void 0 : s.total) !== void 0 && c(a.processResult.total);
182
- }), e.hook("refresh", () => {
183
- n.setState({ page: 1 }), i.setValue({ ...i.value, page: void 0 });
184
- }), {
185
- useConfigStore: t,
186
- usePaginationStore: n,
187
- useLimit: g,
188
- getPage: d,
189
- getLimit: m,
190
- onPropsChange: l,
191
- setPage: S,
192
- setLimit: b,
193
- setTotal: c
194
- };
195
- function S(a) {
196
- const { total: s, limit: P } = n.getState(), _ = Math.max(1, Math.ceil(s / P)), o = Math.max(1, Math.min(a, _));
197
- o !== n.getState().page && (n.setState({ page: o }), i.setValue({
198
- ...i.value,
199
- page: o > 1 ? o : void 0
200
- }), e.triggerLoad());
201
- }
202
- function b(a) {
203
- if (a === n.getState().limit) return;
204
- n.setState({ limit: a, page: 1 });
205
- const s = t.getState().defaultLimit;
206
- i.setValue({
207
- page: void 0,
208
- limit: a === s ? void 0 : a
209
- }), e.triggerLoad();
210
- }
211
- function c(a) {
212
- n.setState({ total: a });
213
- }
214
- function l(a) {
215
- var P;
216
- const s = {};
217
- a.defaultLimit !== void 0 && (s.defaultLimit = a.defaultLimit), a.limits !== void 0 && (s.limits = a.limits), a.autoHide !== void 0 && (s.autoHide = a.autoHide), Object.keys(s).length > 0 && (t.setState(s), a.defaultLimit !== void 0 && y((P = i.value) == null ? void 0 : P.limit) === void 0 && n.setState({ limit: a.defaultLimit }));
218
- }
219
- },
220
- (e, t) => e.defaultLimit === t.defaultLimit && e.autoHide === t.autoHide && H(e.limits, t.limits)
221
- );
222
- export {
223
- rt as DataGridPaginationPlugin
224
- };
1
+ export { DataGridPaginationPlugin } from "../chunks/components/data-grid/plugins/pagination/pagination-plugin.js";
2
+
225
3
  //# sourceMappingURL=pagination.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pagination.js","sources":["../../src/components/data-grid/plugins/pagination/services/pagination-items.ts","../../src/components/data-grid/plugins/pagination/components/pager.tsx","../../src/components/data-grid/plugins/pagination/components/data-grid-pagination.tsx","../../src/components/data-grid/plugins/pagination/pagination-plugin.tsx"],"sourcesContent":["import { useMemo } from 'react';\n\nexport type PaginationItem = { type: 'page'; page: number } | { type: 'ellipsis' };\n\nconst siblings = 1;\nconst edges = 1;\nconst totalVisible = siblings * 2 + edges * 2 + 3;\n\nfunction range(start: number, end: number): number[] {\n const result: number[] = [];\n for (let i = start; i <= end; i++) {\n result.push(i);\n }\n return result;\n}\n\nfunction pages(from: number[]): PaginationItem[] {\n return from.map((page) => ({ type: 'page', page }));\n}\n\n/**\n * The page numbers to draw, with an ellipsis where a run is collapsed: the first and last page\n * always, the current page and one neighbour either side, and room for the whole list when it is\n * short enough to fit.\n */\nexport function computePaginationItems(page: number, totalPages: number): PaginationItem[] {\n if (totalPages <= 0) return [];\n\n if (totalPages <= totalVisible) {\n return pages(range(1, totalPages));\n }\n\n const leftSiblingIndex = Math.max(page - siblings, edges + 1);\n const rightSiblingIndex = Math.min(page + siblings, totalPages - edges);\n\n const showLeftEllipsis = leftSiblingIndex > edges + 2;\n const showRightEllipsis = rightSiblingIndex < totalPages - edges - 1;\n\n if (!showLeftEllipsis && showRightEllipsis) {\n const leftItemCount = siblings * 2 + edges + 2;\n return [\n ...pages(range(1, leftItemCount)),\n { type: 'ellipsis' },\n ...pages(range(totalPages - edges + 1, totalPages)),\n ];\n }\n\n if (showLeftEllipsis && !showRightEllipsis) {\n const rightItemCount = siblings * 2 + edges + 2;\n return [\n ...pages(range(1, edges)),\n { type: 'ellipsis' },\n ...pages(range(totalPages - rightItemCount + 1, totalPages)),\n ];\n }\n\n return [\n ...pages(range(1, edges)),\n { type: 'ellipsis' },\n ...pages(range(leftSiblingIndex, rightSiblingIndex)),\n { type: 'ellipsis' },\n ...pages(range(totalPages - edges + 1, totalPages)),\n ];\n}\n\nexport function usePaginationItems(page: number, totalPages: number): PaginationItem[] {\n return useMemo(() => computePaginationItems(page, totalPages), [page, totalPages]);\n}\n","import { memo } from 'react';\n\nimport {\n Pagination,\n PaginationButton,\n PaginationContent,\n PaginationEllipsis,\n PaginationItem,\n PaginationNextButton,\n PaginationPreviousButton,\n} from '../../../../pagination/public.js';\nimport { ToggleGroupItem } from '../../../../toggle-group/public.js';\nimport { Segment } from '../../../components/segment';\nimport { messages } from '../../../messages';\nimport { usePaginationItems } from '../services/pagination-items';\nimport styles from './pager.module.css';\n\ninterface PagerProps {\n /** Total number of items. */\n total: number;\n /** Current page, 1-based. */\n page: number;\n /** Items per page. */\n limit: number;\n /** The page sizes on offer. The selector is drawn only when there is more than one. */\n limits: number[];\n /** Hides the whole pager while everything fits on one page of the smallest size. */\n autoHide?: boolean;\n /**\n * The grid's `label`, when it has one: it names the pager's `nav` \"<label> pagination\", so two\n * labelled grids on one page do not share the landmark name. Absent keeps the plain\n * \"Pagination\" name.\n */\n label?: string;\n onPageChange: (page: number) => void;\n onLimitChange: (limit: number) => void;\n}\n\n/**\n * The grid's pager: a page-size selector, the \"page x of y\" text and the page buttons, on the\n * kit's Pagination parts. Controlled only, because the pagination plugin owns page and limit.\n */\nexport const Pager = memo(function Pager({\n total,\n page,\n limit,\n limits,\n autoHide,\n label,\n onPageChange,\n onLimitChange,\n}: PagerProps) {\n const totalPages = Math.max(1, Math.ceil(total / limit));\n const limitOptions = limits.length > 0 ? limits : [limit];\n\n const items = usePaginationItems(page, totalPages);\n\n function handlePageChange(newPage: number) {\n const validatedPage = Math.max(1, Math.min(newPage, totalPages));\n\n if (validatedPage === page) {\n return;\n }\n\n onPageChange(validatedPage);\n }\n\n function handleLimitChange(newLimit: number) {\n if (newLimit === limit) {\n return;\n }\n\n // A new page size restarts at the first page, which the owner learns about before the new\n // limit, as two separate changes.\n if (page !== 1) {\n onPageChange(1);\n }\n\n onLimitChange(newLimit);\n }\n\n if (autoHide) {\n const lowestLimit = Math.min(...limitOptions);\n if (totalPages <= 1 || total <= lowestLimit) {\n return null;\n }\n }\n\n const showLimitSelector = limits.length > 1;\n\n return (\n <Pagination\n aria-label={label === undefined ? messages.pagination.ariaLabel : messages.pagination.ariaLabelFor(label)}\n className={styles.pager}\n >\n {showLimitSelector && (\n <Segment\n size=\"sm\"\n className={styles.limit}\n value={String(limit)}\n onValueChange={(value) => {\n if (value !== undefined) {\n handleLimitChange(Number(value));\n }\n }}\n aria-label={messages.pagination.limitSelectorAriaLabel}\n >\n {limits.map((l) => (\n <ToggleGroupItem key={l} value={String(l)}>\n {l}\n </ToggleGroupItem>\n ))}\n </Segment>\n )}\n\n <span className={styles.info}>{messages.pagination.pageInfo(page, totalPages, total)}</span>\n\n <PaginationContent className={styles.pages}>\n <PaginationItem>\n <PaginationPreviousButton\n aria-label={messages.pagination.previousPage}\n disabled={page <= 1}\n onClick={() => handlePageChange(page - 1)}\n />\n </PaginationItem>\n\n {items.map((item, index) => (\n <PaginationItem key={item.type === 'page' ? item.page : `ellipsis-${index}`}>\n {item.type === 'page' ? (\n <PaginationButton\n isActive={item.page === page}\n aria-label={messages.pagination.goToPage(item.page)}\n onClick={() => handlePageChange(item.page)}\n >\n {item.page}\n </PaginationButton>\n ) : (\n <PaginationEllipsis />\n )}\n </PaginationItem>\n ))}\n\n <PaginationItem>\n <PaginationNextButton\n aria-label={messages.pagination.nextPage}\n disabled={page >= totalPages}\n onClick={() => handlePageChange(page + 1)}\n />\n </PaginationItem>\n </PaginationContent>\n </Pagination>\n );\n});\n","import { useDataGrid } from '../../../services/core/data-grid-context';\nimport { useDataGridLabel } from '../../../services/core/data-grid-label-context';\nimport type { PaginationPluginApi } from '../pagination-plugin';\nimport styles from './data-grid-pagination.module.css';\nimport { Pager } from './pager';\n\nexport function DataGridPagination() {\n const grid = useDataGrid();\n const label = useDataGridLabel();\n\n const paginationPlugin = grid.getPlugin<PaginationPluginApi>('pagination')!;\n\n // Reactive selectors\n const limits = paginationPlugin.useConfigStore((s) => s.limits);\n const autoHide = paginationPlugin.useConfigStore((s) => s.autoHide);\n const page = paginationPlugin.usePaginationStore((s) => s.page);\n const limit = paginationPlugin.usePaginationStore((s) => s.limit);\n const total = paginationPlugin.usePaginationStore((s) => s.total);\n\n const { setPage, setLimit } = paginationPlugin;\n\n return (\n <div className={styles.dataGridPagination}>\n <Pager\n page={page}\n limit={limit}\n total={total}\n limits={limits}\n autoHide={autoHide}\n label={label}\n onPageChange={setPage}\n onLimitChange={setLimit}\n />\n </div>\n );\n}\n","// Load-bearing: a plugin is rendered as a child of <DataGrid>, so a Server Component can import\n// and render it, and the component it returns calls hooks. This directive puts the banner on the\n// plugin's own entry chunk (dist/data-grid/<plugin>.js). client-boundaries.test.ts only scans a\n// component's top-level files, so scripts/verify-consumer.sh is what checks the built banner of\n// every plugin entry.\n'use client';\n\nimport { isDeepEqual } from '../../utils/deep-equal';\nimport type { StoreApi, UseBoundStore } from 'zustand';\nimport { create } from 'zustand';\nimport type { DataGridItem } from '../../data-grid-types';\nimport { createDataGridPlugin } from '../../services/plugins/plugins-helpers';\nimport { DataGridPagination } from './components/data-grid-pagination';\n\ninterface PaginationConfig {\n defaultLimit: number;\n limits: number[];\n autoHide: boolean;\n}\n\ninterface PaginationStore {\n page: number;\n limit: number;\n total: number;\n}\n\ntype ConfigStore = PaginationConfig;\n\nexport interface DataGridPaginationPluginProps {\n defaultLimit?: number;\n limits?: number[];\n autoHide?: boolean;\n}\n\nexport interface PaginationPluginApi {\n useConfigStore: UseBoundStore<StoreApi<ConfigStore>>;\n usePaginationStore: UseBoundStore<StoreApi<PaginationStore>>;\n useLimit: () => number;\n getPage: () => number;\n getLimit: () => number;\n onPropsChange: (props: unknown) => void;\n setPage: (page: number) => void;\n setLimit: (limit: number) => void;\n setTotal: (total: number) => void;\n}\n\n// A stored page or limit is user-editable (devtools, a shared link in router mode), so anything but\n// a positive whole number reads as absent: a zero limit would make the page count Infinity, and\n// listing the pages would throw from render.\nfunction positiveInteger(value: unknown): number | undefined {\n return typeof value === 'number' && Number.isInteger(value) && value > 0 ? value : undefined;\n}\n\n// Plugin definition\nexport const DataGridPaginationPlugin = createDataGridPlugin<\n DataGridItem,\n 'pagination',\n DataGridPaginationPluginProps\n>(\n 'pagination',\n (context) => {\n const useConfigStore = create<ConfigStore>(() => ({\n defaultLimit: 12,\n limits: [12, 24, 48, 96],\n autoHide: false,\n }));\n\n const persistent = context.registerPersistentState<{\n page?: number;\n limit?: number;\n }>('pagination', {\n schema: { page: 'number', limit: 'number' },\n });\n\n // State store for pagination\n const usePaginationStore = create<PaginationStore>(() => ({\n page: positiveInteger(persistent.value?.page) ?? 1,\n limit: positiveInteger(persistent.value?.limit) ?? useConfigStore.getState().defaultLimit,\n total: 0,\n }));\n\n const useLimit = () => usePaginationStore((s) => s.limit);\n const getPage = () => usePaginationStore.getState().page;\n const getLimit = () => usePaginationStore.getState().limit;\n\n // Register slot directly in setup\n context.registerSlot('bottom', {\n id: 'pagination',\n component: () => <DataGridPagination />,\n });\n\n context.hook('load:context', (instance) => {\n const state = usePaginationStore.getState();\n return {\n pagination: instance.loadContext.pagination ?? { page: state.page, limit: state.limit },\n };\n });\n\n context.hook('load:store', (instance) => {\n if (instance.processResult?.total !== undefined) {\n setTotal(instance.processResult.total);\n }\n });\n\n context.hook('refresh', () => {\n usePaginationStore.setState({ page: 1 });\n persistent.setValue({ ...persistent.value, page: undefined });\n });\n\n return {\n useConfigStore,\n usePaginationStore,\n useLimit,\n getPage,\n getLimit,\n onPropsChange,\n setPage,\n setLimit,\n setTotal,\n };\n\n function setPage(newPage: number) {\n const { total, limit } = usePaginationStore.getState();\n const lastPage = Math.max(1, Math.ceil(total / limit));\n const validatedPage = Math.max(1, Math.min(newPage, lastPage));\n\n if (validatedPage === usePaginationStore.getState().page) return;\n\n usePaginationStore.setState({ page: validatedPage });\n persistent.setValue({\n ...persistent.value,\n page: validatedPage > 1 ? validatedPage : undefined,\n });\n context.triggerLoad();\n }\n\n function setLimit(newLimit: number) {\n if (newLimit === usePaginationStore.getState().limit) return;\n\n usePaginationStore.setState({ limit: newLimit, page: 1 });\n const currentDefaultLimit = useConfigStore.getState().defaultLimit;\n persistent.setValue({\n page: undefined,\n limit: newLimit === currentDefaultLimit ? undefined : newLimit,\n });\n context.triggerLoad();\n }\n\n function setTotal(total: number) {\n usePaginationStore.setState({ total });\n }\n\n function onPropsChange(props: DataGridPaginationPluginProps) {\n const updates: Partial<PaginationConfig> = {};\n\n if (props.defaultLimit !== undefined) {\n updates.defaultLimit = props.defaultLimit;\n }\n if (props.limits !== undefined) {\n updates.limits = props.limits;\n }\n if (props.autoHide !== undefined) {\n updates.autoHide = props.autoHide;\n }\n\n if (Object.keys(updates).length > 0) {\n useConfigStore.setState(updates);\n\n // Only set limit from props if there's no persisted value\n if (props.defaultLimit !== undefined && positiveInteger(persistent.value?.limit) === undefined) {\n usePaginationStore.setState({ limit: props.defaultLimit });\n }\n }\n }\n },\n (prevProps, nextProps) =>\n prevProps.defaultLimit === nextProps.defaultLimit &&\n prevProps.autoHide === nextProps.autoHide &&\n isDeepEqual(prevProps.limits, nextProps.limits),\n);\n"],"names":["siblings","edges","totalVisible","range","start","end","result","i","pages","from","page","computePaginationItems","totalPages","leftSiblingIndex","rightSiblingIndex","showLeftEllipsis","showRightEllipsis","leftItemCount","rightItemCount","usePaginationItems","useMemo","Pager","memo","total","limit","limits","autoHide","label","onPageChange","onLimitChange","limitOptions","items","handlePageChange","newPage","validatedPage","handleLimitChange","newLimit","lowestLimit","showLimitSelector","jsxs","Pagination","messages","styles","jsx","Segment","value","l","ToggleGroupItem","PaginationContent","PaginationItem","PaginationPreviousButton","item","index","PaginationButton","PaginationEllipsis","PaginationNextButton","DataGridPagination","grid","useDataGrid","useDataGridLabel","paginationPlugin","s","setPage","setLimit","positiveInteger","DataGridPaginationPlugin","createDataGridPlugin","context","useConfigStore","create","persistent","usePaginationStore","_a","_b","useLimit","getPage","getLimit","instance","state","setTotal","onPropsChange","lastPage","currentDefaultLimit","props","updates","prevProps","nextProps","isDeepEqual"],"mappings":";;;;;;;;;;;;GAIMA,IAAW,GACXC,IAAQ,GACRC,IAAeF,IAAW,IAAIC,IAAQ,IAAI;AAEhD,SAASE,EAAMC,GAAeC,GAAuB;AACnD,QAAMC,IAAmB,CAAA;AACzB,WAASC,IAAIH,GAAOG,KAAKF,GAAKE;AAC5B,IAAAD,EAAO,KAAKC,CAAC;AAEf,SAAOD;AACT;AAEA,SAASE,EAAMC,GAAkC;AAC/C,SAAOA,EAAK,IAAI,CAACC,OAAU,EAAE,MAAM,QAAQ,MAAAA,IAAO;AACpD;AAOO,SAASC,EAAuBD,GAAcE,GAAsC;AACzF,MAAIA,KAAc,EAAG,QAAO,CAAA;AAE5B,MAAIA,KAAcV;AAChB,WAAOM,EAAML,EAAM,GAAGS,CAAU,CAAC;AAGnC,QAAMC,IAAmB,KAAK,IAAIH,IAAOV,GAAUC,IAAQ,CAAC,GACtDa,IAAoB,KAAK,IAAIJ,IAAOV,GAAUY,IAAaX,CAAK,GAEhEc,IAAmBF,IAAmBZ,IAAQ,GAC9Ce,IAAoBF,IAAoBF,IAAaX,IAAQ;AAEnE,MAAI,CAACc,KAAoBC,GAAmB;AAC1C,UAAMC,IAAgBjB,IAAW,IAAIC,IAAQ;AAC7C,WAAO;AAAA,MACL,GAAGO,EAAML,EAAM,GAAGc,CAAa,CAAC;AAAA,MAChC,EAAE,MAAM,WAAA;AAAA,MACR,GAAGT,EAA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,OAAOlC,MAAa8C,IAAsB,SAAY9C;AAAA,MAAA,CACvD,GACD+B,EAAQ,YAAA;AAAA,IACV;AAEA,aAASY,EAASxD,GAAe;AAC/B,MAAAgD,EAAmB,SAAS,EAAE,OAAAhD,GAAO;AAAA,IACvC;AAEA,aAASyD,EAAcG,GAAsC;;AAC3D,YAAMC,IAAqC,CAAA;AAE3C,MAAID,EAAM,iBAAiB,WACzBC,EAAQ,eAAeD,EAAM,eAE3BA,EAAM,WAAW,WACnBC,EAAQ,SAASD,EAAM,SAErBA,EAAM,aAAa,WACrBC,EAAQ,WAAWD,EAAM,WAGvB,OAAO,KAAKC,CAAO,EAAE,SAAS,MAChChB,EAAe,SAASgB,CAAO,GAG3BD,EAAM,iBAAiB,UAAanB,GAAgBQ,IAAAF,EAAW,UAAX,gBAAAE,EAAkB,KAAK,MAAM,UACnFD,EAAmB,SAAS,EAAE,OAAOY,EAAM,cAAc;AAAA,IAG/D;AAAA,EACF;AAAA,EACA,CAACE,GAAWC,MACVD,EAAU,iBAAiBC,EAAU,gBACrCD,EAAU,aAAaC,EAAU,YACjCC,EAAYF,EAAU,QAAQC,EAAU,MAAM;AAClD;"}
1
+ {"version":3,"file":"pagination.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
@@ -1,52 +1,3 @@
1
- "use client";
2
- import { create as d } from "zustand";
3
- import { c as l } from "../chunks/create-column-auto-size.js";
4
- import { u as C, c as f } from "../chunks/plugins-helpers.js";
5
- import { jsx as m } from "react/jsx-runtime";
6
- import { cx as p } from "class-variance-authority";
7
- import { I as w } from "../chunks/ignore-row-click.js";
8
- import { u as A } from "../chunks/data-grid-record-context.js";
9
- import '../chunks/row-actions.BprAXgu2.css';const N = "_rowActions_dnqrf_1", R = {
10
- rowActions: N
11
- };
12
- function g() {
13
- const t = C(), e = A(), { measureRef: n, useComponent: r, useClassName: i } = t.getPlugin("rowActions"), a = r(), c = i();
14
- return a ? /* @__PURE__ */ m(
15
- "div",
16
- {
17
- ref: n,
18
- className: p(R.rowActions, c),
19
- [w]: "",
20
- children: /* @__PURE__ */ m(a, { item: e.item })
21
- }
22
- ) : null;
23
- }
24
- const s = "row-actions", G = 100, y = f("rowActions", (t) => {
25
- const e = d(() => ({
26
- component: null,
27
- className: void 0
28
- })), { measureRef: n, destroy: r } = l((o) => {
29
- t.updateExtraColumnWidth(s, o);
30
- });
31
- return t.hook("destroy", r), t.registerExtraColumn({
32
- id: s,
33
- position: "end",
34
- order: G,
35
- body: g
36
- }), {
37
- useComponent: () => e((o) => o.component),
38
- useClassName: () => e((o) => o.className),
39
- measureRef: n,
40
- onPropsChange: u
41
- };
42
- function u(o) {
43
- e.setState({
44
- component: o.component,
45
- className: o.className
46
- }), o.order !== void 0 && t.updateExtraColumnOrder(s, o.order), t.updateExtraColumnSticky(s, o.sticky ?? !1);
47
- }
48
- }), k = y;
49
- export {
50
- k as DataGridRowActionsPlugin
51
- };
1
+ export { DataGridRowActionsPlugin } from "../chunks/components/data-grid/plugins/row-actions/row-actions-plugin.js";
2
+
52
3
  //# sourceMappingURL=row-actions.js.map