@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,1638 +1,10 @@
1
- "use client";
2
- import { create as z } from "zustand";
3
- import { u as k, c as ot, b as st } from "../chunks/plugins-helpers.js";
4
- import { jsx as s, jsxs as w, Fragment as P } from "react/jsx-runtime";
5
- import { FunnelIcon as it, RotateCwIcon as lt, XIcon as ct, SearchIcon as at, ChevronRightIcon as ut } from "lucide-react";
6
- import { useSyncExternalStore as dt, useState as T, useEffect as $, useMemo as Te, useRef as Pe, useId as ft, createContext as pt, useContext as ht, createElement as Ce, memo as mt } from "react";
7
- import { cx as W } from "class-variance-authority";
8
- import { m as O } from "../chunks/messages.js";
9
- import { u as Ke } from "../chunks/data-grid-portal-container-context.js";
10
- import { SheetHeader as gt, SheetTitle as St, SheetFooter as vt, Sheet as Ct, SheetContent as yt } from "../sheet.js";
11
- import { Accordion as It, AccordionItem as bt, AccordionTrigger as _t, AccordionContent as Nt } from "../accordion.js";
12
- import { Button as ue } from "../button.js";
13
- import { Badge as de } from "../badge.js";
14
- import { d as Me } from "../chunks/debounce.js";
15
- import { Popover as wt, PopoverTrigger as At, PopoverContent as xt } from "../popover.js";
16
- import { Drawer as Ft, DrawerTrigger as Dt, DrawerContent as Lt } from "../drawer.js";
17
- import { a as kt } from "../chunks/table-types.js";
18
- import { Input as Oe } from "../input.js";
19
- import { Spinner as Tt } from "../spinner.js";
20
- import { Label as ze } from "../label.js";
21
- import { Checkbox as Pt } from "../checkbox.js";
22
- import { u as Kt } from "../chunks/use-latest.js";
23
- import { DropdownMenu as Mt, DropdownMenuItem as $e } from "../dropdown-menu.js";
24
- import { c as Ot } from "../chunks/hooked.js";
25
- import { useShallow as U } from "zustand/react/shallow";
26
- import { RadioGroup as zt, RadioGroupItem as $t } from "../radio-group.js";
27
- import { parse as Rt, isValid as Gt, format as Vt, set as Ht, isBefore as Bt, startOfDay as ye } from "date-fns";
28
- import { Calendar as jt } from "../calendar.js";
29
- import '../chunks/filters.DQtlBXh7.css';const qt = "_chip_1jhih_7", Ut = "_hover_1jhih_44", Wt = "_active_1jhih_50", se = {
30
- chip: qt,
31
- hover: Ut,
32
- active: Wt
33
- };
34
- function Re({ active: e, hover: t, className: n }) {
35
- return W(se.chip, e && se.active, t && se.hover, n);
36
- }
37
- function fe({
38
- active: e,
39
- hover: t,
40
- className: n,
41
- type: r = "button",
42
- ...o
43
- }) {
44
- return /* @__PURE__ */ s("button", { type: r, className: Re({ active: e, hover: t, className: n }), ...o });
45
- }
46
- function Xt({ active: e, hover: t, className: n, ...r }) {
47
- return /* @__PURE__ */ s("label", { className: Re({ active: e, hover: t, className: n }), ...r });
48
- }
49
- const Qt = 720;
50
- function Et(e) {
51
- return window.addEventListener("resize", e), () => window.removeEventListener("resize", e);
52
- }
53
- function Jt() {
54
- return window.innerWidth >= Qt;
55
- }
56
- function Yt() {
57
- return !1;
58
- }
59
- function Ge() {
60
- return dt(Et, Jt, Yt);
61
- }
62
- const Zt = "_panel_11w9a_6", en = {
63
- panel: Zt
64
- };
65
- function tn({ onApply: e }) {
66
- const r = k().getPlugin("filters").useFilterEntities();
67
- return /* @__PURE__ */ w(P, { children: [
68
- /* @__PURE__ */ s(gt, { children: /* @__PURE__ */ s(St, { children: O.filters.allFiltersTitle }) }),
69
- /* @__PURE__ */ s(It, { multiple: !0, children: r.map((o) => {
70
- if (!o.dialogFilterComponent) return null;
71
- const i = o.dialogFilterComponent;
72
- return /* @__PURE__ */ s(i, { filterEntity: o }, o.id);
73
- }) }),
74
- /* @__PURE__ */ s(vt, { children: /* @__PURE__ */ s(ue, { onClick: e, children: O.filters.apply }) })
75
- ] });
76
- }
77
- function Ie() {
78
- const t = k().getPlugin("filters"), [n, r] = T(!1), o = Ge(), i = Ke(), f = t.useFilterEntities().filter((y) => y.dialogFilterComponent).map((y) => y.filterKey), h = t.useActiveCount(f);
79
- function g() {
80
- t.resetDraftState(), r(!0);
81
- }
82
- function b() {
83
- r(!1), t.resetDraftState();
84
- }
85
- function x() {
86
- t.applyDraftState(), r(!1);
87
- }
88
- return /* @__PURE__ */ w(P, { children: [
89
- /* @__PURE__ */ w(fe, { hover: n, onClick: g, children: [
90
- /* @__PURE__ */ s(it, {}),
91
- O.filters.allFilters,
92
- h > 0 && /* @__PURE__ */ s(de, { size: "xs", children: h })
93
- ] }),
94
- /* @__PURE__ */ s(Ct, { open: n, onOpenChange: (y) => !y && b(), children: /* @__PURE__ */ s(
95
- yt,
96
- {
97
- container: i,
98
- side: o ? "right" : "bottom",
99
- closeLabel: O.filters.closeDialog,
100
- className: en.panel,
101
- children: /* @__PURE__ */ s(tn, { onApply: x })
102
- }
103
- ) })
104
- ] });
105
- }
106
- const nn = "_filterOptions_1pdo1_1", rn = "_tail_1pdo1_16", on = "_chip_1pdo1_25", ie = {
107
- filterOptions: nn,
108
- tail: rn,
109
- chip: on
110
- };
111
- function sn({ filterEntity: e }) {
112
- if (!e.filterComponent) return null;
113
- const t = e.filterComponent;
114
- return /* @__PURE__ */ s(t, { filterEntity: e });
115
- }
116
- function ln() {
117
- const t = k().getPlugin("filters"), n = t.useFilterEntities(), r = t.useIsAllFiltersOptionVisible(), o = n.some((a) => a.dialogFilterComponent), i = n.filter((a) => a.filterComponent), l = r && o;
118
- return /* @__PURE__ */ w("div", { className: ie.filterOptions, children: [
119
- i.map((a, f) => {
120
- const h = f === i.length - 1;
121
- return /* @__PURE__ */ w("div", { className: h ? ie.tail : ie.chip, children: [
122
- /* @__PURE__ */ s(sn, { filterEntity: a }),
123
- h && l && /* @__PURE__ */ s(Ie, {})
124
- ] }, a.id);
125
- }),
126
- i.length === 0 && l && /* @__PURE__ */ s(Ie, {})
127
- ] });
128
- }
129
- const Co = ot("filters", (e) => {
130
- const t = z(() => ({
131
- entities: [],
132
- isAllFiltersOptionVisible: !0
133
- })), n = e.registerPersistentState(
134
- "filters",
135
- {
136
- schema: {}
137
- }
138
- ), r = z(() => ({
139
- filters: n.value ?? {}
140
- })), o = z(() => ({ filters: {} }));
141
- return p(r, o), e.registerSlot("top-start", {
142
- id: "filters",
143
- component: ln
144
- }), e.hook("load:context", () => {
145
- const u = m();
146
- if (Object.keys(u).length !== 0)
147
- return { filters: u };
148
- }), e.hook("refresh", (u) => {
149
- "resetFilters" in u && u.resetFilters && (r.setState({ filters: {} }), o.setState({ filters: {} }), n.setValue(void 0));
150
- }), r.subscribe(() => {
151
- const u = r.getState().filters;
152
- n.setValue(Object.keys(u).length > 0 ? u : void 0);
153
- }), {
154
- useFilterEntities: () => t((u) => u.entities),
155
- useIsAllFiltersOptionVisible: () => t((u) => u.isAllFiltersOptionVisible),
156
- useState: a,
157
- useActiveCount: f,
158
- setState: h,
159
- removeState: g,
160
- useDraftState: b,
161
- setDraftState: x,
162
- applyDraftState: y,
163
- resetDraftState: F,
164
- isFilterValueActive: v,
165
- onPropsChange: S
166
- };
167
- function a(u) {
168
- return r((N) => N.filters[u]);
169
- }
170
- function f(u) {
171
- return r(
172
- (N) => u.filter((D) => {
173
- var L;
174
- return v((L = N.filters[D]) == null ? void 0 : L.value);
175
- }).length
176
- );
177
- }
178
- function h(u, N) {
179
- C(r, u, N), e.refresh({ resetFilters: !1 }), p(r, o);
180
- }
181
- function g(u) {
182
- r.setState((N) => {
183
- const D = { ...N.filters };
184
- return delete D[u], { filters: D };
185
- }), e.refresh({ resetFilters: !1 }), p(r, o);
186
- }
187
- function b(u) {
188
- return o((N) => N.filters[u]);
189
- }
190
- function x(u, N) {
191
- C(o, u, N);
192
- }
193
- function y() {
194
- const u = o.getState().filters;
195
- r.setState({ filters: { ...u } }), e.refresh({ resetFilters: !1 });
196
- }
197
- function F() {
198
- p(r, o);
199
- }
200
- function m() {
201
- const { filters: u } = r.getState(), { entities: N } = t.getState(), D = {};
202
- for (const [L, M] of Object.entries(u))
203
- if (v(M == null ? void 0 : M.value)) {
204
- const A = N.find((V) => V.filterKey === L);
205
- D[L] = A != null && A.resolveLoadValue ? A.resolveLoadValue(M) : M;
206
- }
207
- return D;
208
- }
209
- function v(u) {
210
- return u == null || u === "" ? !1 : typeof u == "boolean" ? !0 : Array.isArray(u) ? u.length > 0 : !0;
211
- }
212
- function C(u, N, D) {
213
- u.setState((L) => ({
214
- filters: { ...L.filters, [N]: D }
215
- }));
216
- }
217
- function p(u, N) {
218
- N.setState({ filters: { ...u.getState().filters } });
219
- }
220
- function S(u) {
221
- const N = {};
222
- u.entities !== void 0 && (N.entities = u.entities), u.isAllFiltersOptionVisible !== void 0 && (N.isAllFiltersOptionVisible = u.isAllFiltersOptionVisible), Object.keys(N).length > 0 && t.setState(N);
223
- }
224
- });
225
- const cn = "_content_8lncy_1", an = {
226
- content: cn
227
- };
228
- function un({ children: e, maxInlineSize: t }) {
229
- const n = t ? { maxInlineSize: t } : void 0;
230
- return /* @__PURE__ */ s("div", { className: an.content, style: n, children: e });
231
- }
232
- const dn = "_divider_18abl_1", fn = "_resetButton_18abl_9", be = {
233
- divider: dn,
234
- resetButton: fn
235
- };
236
- function pn({ disabled: e, onClick: t }) {
237
- return /* @__PURE__ */ w(P, { children: [
238
- /* @__PURE__ */ s("hr", { className: be.divider }),
239
- /* @__PURE__ */ s("div", { className: be.resetButton, children: /* @__PURE__ */ s(
240
- ue,
241
- {
242
- variant: "ghost",
243
- size: "sm",
244
- disabled: e,
245
- onClick: t,
246
- icon: /* @__PURE__ */ s(lt, {}),
247
- children: O.filters.reset
248
- }
249
- ) })
250
- ] });
251
- }
252
- const hn = "_popover_bymr3_8", mn = {
253
- popover: hn
254
- };
255
- function gn({
256
- open: e,
257
- onOpenChange: t,
258
- trigger: n,
259
- minInlineSize: r,
260
- children: o
261
- }) {
262
- const i = Ge(), l = Ke();
263
- return i ? /* @__PURE__ */ w(wt, { open: e, onOpenChange: t, children: [
264
- /* @__PURE__ */ s(At, { render: n }),
265
- /* @__PURE__ */ s(xt, { className: mn.popover, container: l, children: r != null ? /* @__PURE__ */ s("div", { style: { minInlineSize: r }, children: o }) : o })
266
- ] }) : /* @__PURE__ */ w(Ft, { open: e, onOpenChange: t, side: "bottom", children: [
267
- /* @__PURE__ */ s(Dt, { render: n }),
268
- /* @__PURE__ */ s(Lt, { container: l, children: o })
269
- ] });
270
- }
271
- function pe({ filterEntity: e }) {
272
- const n = st().table.useConfigurationColumns();
273
- if (e.label != null)
274
- return /* @__PURE__ */ s(P, { children: e.label });
275
- const o = Sn(n).find((i) => i.id === e.id);
276
- if (o == null)
277
- throw new Error(
278
- `Label for "${e.id}" is not defined. "id" should match a column id or filter entity should have a label.`
279
- );
280
- return /* @__PURE__ */ s(P, { children: o.label });
281
- }
282
- function Sn(e) {
283
- const t = [];
284
- for (const n of e)
285
- kt(n) ? t.push(...n.columns) : t.push(n);
286
- return t;
287
- }
288
- const vn = "_dot_1cz9l_2", Cn = {
289
- dot: vn
290
- }, yn = 140;
291
- function X({ filterEntity: e, children: t }) {
292
- var m;
293
- const r = k().getPlugin("filters"), [o, i] = T(!1), l = r.useState(e.filterKey), a = l == null ? void 0 : l.value, f = !r.isFilterValueActive(a), h = Array.isArray(a) && a.length > 0 ? a.length : void 0, g = (m = e.params) == null ? void 0 : m.popover, b = `${(g == null ? void 0 : g.minInlineSize) ?? yn}px`, x = (g == null ? void 0 : g.maxInlineSize) != null ? `${g.maxInlineSize}px` : void 0;
294
- function y() {
295
- r.removeState(e.filterKey);
296
- }
297
- const F = /* @__PURE__ */ w(fe, { hover: o, active: !f, children: [
298
- /* @__PURE__ */ s(pe, { filterEntity: e }),
299
- !f && (h != null ? /* @__PURE__ */ s(de, { size: "xs", children: h }) : /* @__PURE__ */ s("span", { className: Cn.dot }))
300
- ] });
301
- return /* @__PURE__ */ s(
302
- gn,
303
- {
304
- open: o,
305
- onOpenChange: i,
306
- minInlineSize: b,
307
- trigger: F,
308
- children: /* @__PURE__ */ w(un, { maxInlineSize: x, children: [
309
- t,
310
- /* @__PURE__ */ s(pn, { disabled: f, onClick: y })
311
- ] })
312
- }
313
- );
314
- }
315
- function In({ filterEntity: e }) {
316
- var f;
317
- const n = k().getPlugin("filters"), r = ((f = n.useState(e.filterKey)) == null ? void 0 : f.value) ?? "", [o, i] = T(r);
318
- $(() => {
319
- i(r);
320
- }, [r]);
321
- const l = Te(
322
- () => Me((h) => {
323
- h ? n.setState(e.filterKey, { value: h }) : n.removeState(e.filterKey);
324
- }, 1e3),
325
- [e.filterKey, n]
326
- );
327
- $(() => () => l.cancel(), [l]);
328
- function a(h) {
329
- i(h), l(h);
330
- }
331
- return /* @__PURE__ */ s(X, { filterEntity: e, children: /* @__PURE__ */ s(Oe, { value: o, onValueChange: a }) });
332
- }
333
- function yo(e) {
334
- return {
335
- id: e.id,
336
- filterKey: e.filterKey ?? e.id,
337
- label: e.label,
338
- filterComponent: In
339
- };
340
- }
341
- function bn({ filterEntity: e }) {
342
- const n = k().getPlugin("filters"), r = n.useState(e.filterKey), o = (r == null ? void 0 : r.value) === !0;
343
- function i() {
344
- o ? n.removeState(e.filterKey) : n.setState(e.filterKey, { value: !0 });
345
- }
346
- return /* @__PURE__ */ s(fe, { active: o, onClick: i, children: /* @__PURE__ */ s(pe, { filterEntity: e }) });
347
- }
348
- function Io(e) {
349
- return {
350
- id: e.id,
351
- filterKey: e.filterKey ?? e.id,
352
- label: e.label,
353
- filterComponent: bn
354
- };
355
- }
356
- const _n = "_header_1kn5i_1", Nn = "_actions_1kn5i_10", wn = "_titleWithActions_1kn5i_18", An = "_tagClose_1kn5i_23", E = {
357
- header: _n,
358
- actions: Nn,
359
- titleWithActions: wn,
360
- tagClose: An
361
- };
362
- function ee({ filterEntity: e, children: t }) {
363
- const r = k().getPlugin("filters"), o = r.useDraftState(e.filterKey), i = xn(o == null ? void 0 : o.value, r.isFilterValueActive);
364
- function l() {
365
- r.setDraftState(e.filterKey, { value: void 0 });
366
- }
367
- return /* @__PURE__ */ w(bt, { children: [
368
- /* @__PURE__ */ w("div", { className: E.header, children: [
369
- /* @__PURE__ */ s(_t, { children: /* @__PURE__ */ s("span", { className: W(i > 0 && E.titleWithActions), children: /* @__PURE__ */ s(pe, { filterEntity: e }) }) }),
370
- i > 0 && /* @__PURE__ */ s("span", { className: E.actions, children: /* @__PURE__ */ w(de, { children: [
371
- i,
372
- /* @__PURE__ */ s(
373
- "button",
374
- {
375
- type: "button",
376
- className: E.tagClose,
377
- "aria-label": O.filters.close,
378
- onClick: l,
379
- children: /* @__PURE__ */ s(ct, {})
380
- }
381
- )
382
- ] }) })
383
- ] }),
384
- /* @__PURE__ */ s(Nt, { children: t })
385
- ] });
386
- }
387
- function xn(e, t) {
388
- return Array.isArray(e) ? e.length : t(e) ? 1 : 0;
389
- }
390
- function te(e) {
391
- return Array.isArray(e) ? e : [];
392
- }
393
- const Fn = "_sizeXl_1h36k_8", _e = {
394
- default: "_default_1h36k_1",
395
- sizeXl: Fn
396
- }, Dn = {
397
- m: _e.default,
398
- xl: _e.sizeXl
399
- };
400
- function ne({ children: e, size: t = "m" }) {
401
- return /* @__PURE__ */ s("div", { className: Dn[t], children: e });
402
- }
403
- function re({
404
- value: e,
405
- onValueChange: t,
406
- placeholder: n,
407
- autoFocus: r,
408
- disabled: o
409
- }) {
410
- return /* @__PURE__ */ s(
411
- Oe,
412
- {
413
- value: e,
414
- placeholder: n ?? O.filters.searchPlaceholder,
415
- icon: /* @__PURE__ */ s(at, {}),
416
- onValueChange: t,
417
- autoFocus: r,
418
- disabled: o
419
- }
420
- );
421
- }
422
- const Ln = "_wrapper_1gwyh_1", kn = {
423
- wrapper: Ln
424
- };
425
- function oe({ children: e, role: t }) {
426
- return /* @__PURE__ */ s("div", { className: kn.wrapper, role: t, children: e });
427
- }
428
- const Tn = 300;
429
- function Pn(e, t = Tn) {
430
- const [n, r] = T(""), [o, i] = T([]), [l, a] = T(!0), f = Pe(0);
431
- return $(() => {
432
- const h = f.current + 1;
433
- f.current = h, a(!0);
434
- const g = setTimeout(() => {
435
- e(n.trim()).then((b) => {
436
- h === f.current && i(b);
437
- }).catch(() => {
438
- h === f.current && i([]);
439
- }).finally(() => {
440
- h === f.current && a(!1);
441
- });
442
- }, t);
443
- return () => clearTimeout(g);
444
- }, [n, e, t]), { searchTerm: n, setSearchTerm: r, options: o, isLoading: l };
445
- }
446
- function Kn(e) {
447
- return typeof e == "string" ? e : typeof e == "number" ? String(e) : "";
448
- }
449
- function Mn(e, t) {
450
- return typeof t == "function" ? t(e) : String(e[t] || "");
451
- }
452
- function Ve(e, t) {
453
- const [n, r] = T("");
454
- let o = e;
455
- if (t && n.trim()) {
456
- const i = n.toLowerCase();
457
- o = e.filter((l) => Kn(l.label).toLowerCase().includes(i));
458
- }
459
- return {
460
- searchTerm: n,
461
- setSearchTerm: r,
462
- filteredOptions: o
463
- };
464
- }
465
- const On = "_list_1thlr_1", zn = "_listItem_1thlr_13", $n = "_status_1thlr_18", Z = {
466
- list: On,
467
- listItem: zn,
468
- status: $n
469
- };
470
- function Rn(e, t, n) {
471
- return n ? [...e, t] : e.filter((r) => r !== t);
472
- }
473
- function He({
474
- options: e,
475
- value: t,
476
- onChange: n
477
- }) {
478
- return /* @__PURE__ */ s("ul", { className: Z.list, children: e.map((r) => /* @__PURE__ */ s("li", { className: Z.listItem, children: /* @__PURE__ */ w(ze, { children: [
479
- /* @__PURE__ */ s(
480
- Pt,
481
- {
482
- checked: t.includes(r.value),
483
- onCheckedChange: (o) => n(Rn(t, r.value, o))
484
- }
485
- ),
486
- r.component ? /* @__PURE__ */ s(r.component, { option: r }) : /* @__PURE__ */ s(P, { children: r.label })
487
- ] }) }, r.value)) });
488
- }
489
- function Gn({
490
- options: e,
491
- showSearch: t,
492
- value: n,
493
- onChange: r,
494
- searchSize: o
495
- }) {
496
- const { searchTerm: i, setSearchTerm: l, filteredOptions: a } = Ve(e, t);
497
- return /* @__PURE__ */ w(P, { children: [
498
- t && /* @__PURE__ */ s(ne, { size: o, children: /* @__PURE__ */ s(re, { value: i, onValueChange: l }) }),
499
- /* @__PURE__ */ s(oe, { children: /* @__PURE__ */ s(He, { options: a, value: n, onChange: r }) })
500
- ] });
501
- }
502
- function Vn({
503
- searchOptions: e,
504
- searchDebounce: t,
505
- value: n,
506
- onChange: r,
507
- searchSize: o
508
- }) {
509
- const { searchTerm: i, setSearchTerm: l, options: a, isLoading: f } = Pn(
510
- e,
511
- t
512
- ), h = f && a.length === 0;
513
- return /* @__PURE__ */ w(P, { children: [
514
- /* @__PURE__ */ s(ne, { size: o, children: /* @__PURE__ */ s(re, { value: i, onValueChange: l }) }),
515
- /* @__PURE__ */ s(oe, { children: h ? /* @__PURE__ */ s("div", { className: Z.status, children: /* @__PURE__ */ s(Tt, {}) }) : a.length > 0 ? /* @__PURE__ */ s(He, { options: a, value: n, onChange: r }) : /* @__PURE__ */ s("div", { className: Z.status, children: O.filters.noOptionsFound }) })
516
- ] });
517
- }
518
- function Be({ filterEntity: e, ...t }) {
519
- const { options: n, search: r, searchDebounce: o } = e.params;
520
- return typeof n == "function" ? /* @__PURE__ */ s(Vn, { searchOptions: n, searchDebounce: o, ...t }) : /* @__PURE__ */ s(Gn, { options: n, showSearch: r ?? !1, ...t });
521
- }
522
- function Hn({ filterEntity: e }) {
523
- const n = k().getPlugin("filters"), r = n.useDraftState(e.filterKey), o = te(r == null ? void 0 : r.value);
524
- function i(l) {
525
- n.setDraftState(e.filterKey, { value: l });
526
- }
527
- return /* @__PURE__ */ s(ee, { filterEntity: e, children: /* @__PURE__ */ s(
528
- Be,
529
- {
530
- filterEntity: e,
531
- value: o,
532
- onChange: i,
533
- searchSize: "xl"
534
- }
535
- ) });
536
- }
537
- function Bn({ filterEntity: e }) {
538
- const n = k().getPlugin("filters"), r = n.useState(e.filterKey), o = te(r == null ? void 0 : r.value);
539
- function i(l) {
540
- l.length > 0 ? n.setState(e.filterKey, { value: l }) : n.removeState(e.filterKey);
541
- }
542
- return /* @__PURE__ */ s(X, { filterEntity: e, children: /* @__PURE__ */ s(
543
- Be,
544
- {
545
- filterEntity: e,
546
- value: o,
547
- onChange: i,
548
- searchSize: "m"
549
- }
550
- ) });
551
- }
552
- function bo(e) {
553
- const { options: t } = e;
554
- return {
555
- id: e.id,
556
- filterKey: e.filterKey ?? e.id,
557
- label: e.label,
558
- filterComponent: Bn,
559
- dialogFilterComponent: Hn,
560
- params: {
561
- options: t,
562
- get search() {
563
- return e.search ?? (typeof t == "function" || t.length > 5);
564
- },
565
- searchDebounce: e.searchDebounce,
566
- popover: e.popover
567
- }
568
- };
569
- }
570
- const jn = "_options_9wsap_1", qn = "_hiddenInput_9wsap_10", Ne = {
571
- options: jn,
572
- hiddenInput: qn
573
- };
574
- function je({ filterEntity: e, value: t, onChange: n, searchSize: r }) {
575
- const o = ft(), { options: i, mode: l = "checkbox", search: a } = e.params, { searchTerm: f, setSearchTerm: h, filteredOptions: g } = Ve(
576
- i,
577
- a ?? !1
578
- );
579
- function b(y) {
580
- return t.includes(y);
581
- }
582
- function x(y) {
583
- l === "radio" ? n([y]) : b(y) ? n(t.filter((F) => F !== y)) : n([...t, y]);
584
- }
585
- return /* @__PURE__ */ w("div", { children: [
586
- a && /* @__PURE__ */ s(ne, { size: r, children: /* @__PURE__ */ s(re, { value: f, onValueChange: h }) }),
587
- /* @__PURE__ */ s(oe, { children: /* @__PURE__ */ s("div", { className: Ne.options, children: g.map((y) => /* @__PURE__ */ w(Xt, { active: b(y.value), children: [
588
- y.component ? /* @__PURE__ */ s(y.component, { option: y }) : /* @__PURE__ */ s(P, { children: y.label }),
589
- /* @__PURE__ */ s(
590
- "input",
591
- {
592
- type: l === "radio" ? "radio" : "checkbox",
593
- name: o,
594
- value: String(y.value),
595
- checked: b(y.value),
596
- onChange: () => x(y.value),
597
- className: Ne.hiddenInput
598
- }
599
- )
600
- ] }, String(y.value))) }) })
601
- ] });
602
- }
603
- function Un({ filterEntity: e }) {
604
- const n = k().getPlugin("filters"), r = n.useDraftState(e.filterKey), o = te(r == null ? void 0 : r.value);
605
- function i(l) {
606
- n.setDraftState(e.filterKey, { value: l });
607
- }
608
- return /* @__PURE__ */ s(ee, { filterEntity: e, children: /* @__PURE__ */ s(
609
- je,
610
- {
611
- filterEntity: e,
612
- value: o,
613
- onChange: i,
614
- searchSize: "xl"
615
- }
616
- ) });
617
- }
618
- function Wn({ filterEntity: e }) {
619
- const n = k().getPlugin("filters"), r = n.useState(e.filterKey), o = te(r == null ? void 0 : r.value);
620
- function i(l) {
621
- l.length > 0 ? n.setState(e.filterKey, { value: l }) : n.removeState(e.filterKey);
622
- }
623
- return /* @__PURE__ */ s(X, { filterEntity: e, children: /* @__PURE__ */ s(
624
- je,
625
- {
626
- filterEntity: e,
627
- value: o,
628
- onChange: i,
629
- searchSize: "m"
630
- }
631
- ) });
632
- }
633
- function _o(e) {
634
- return {
635
- id: e.id,
636
- filterKey: e.filterKey ?? e.id,
637
- label: e.label,
638
- filterComponent: Wn,
639
- dialogFilterComponent: Un,
640
- params: {
641
- options: e.options,
642
- mode: e.mode ?? "checkbox",
643
- get search() {
644
- return e.search ?? e.options.length > 10;
645
- },
646
- popover: e.popover
647
- }
648
- };
649
- }
650
- function Xn(e, t, n) {
651
- if (!n)
652
- return t;
653
- const r = e.getNode(t);
654
- if (!r)
655
- return t;
656
- if (typeof n == "function")
657
- return n(r.item);
658
- const o = r.item[n];
659
- return typeof o == "string" || typeof o == "number" ? o : t;
660
- }
661
- const he = Symbol("tree-internal-context"), qe = pt(null), Qn = qe.Provider;
662
- function Ue() {
663
- const e = ht(qe);
664
- if (!e)
665
- throw new Error("useTree must be used within TreeProvider");
666
- return e;
667
- }
668
- function En() {
669
- return K().plugins.pluginContext;
670
- }
671
- function K() {
672
- return Ue()[he];
673
- }
674
- function j({
675
- name: e,
676
- ...t
677
- }) {
678
- const { layout: n } = K(), r = n.useSlots(e);
679
- return r.length === 0 ? null : /* @__PURE__ */ s(P, { children: r.map((o) => {
680
- const i = o.component;
681
- return /* @__PURE__ */ s(i, { ...t }, o.id);
682
- }) });
683
- }
684
- const Jn = "_treeMain_ayh6i_8", Yn = {
685
- treeMain: Jn
686
- };
687
- function We({
688
- node: e
689
- }) {
690
- var a;
691
- const { settings: t, layout: n } = K(), o = (a = n.useSlots("label")[0]) == null ? void 0 : a.component, i = l();
692
- if (o)
693
- return /* @__PURE__ */ s(o, { item: e.item, label: i });
694
- function l() {
695
- return t.label ? typeof t.label == "string" ? String(e.item[t.label]) : t.label(e.item) : String(e.item.id);
696
- }
697
- return /* @__PURE__ */ s("span", { children: i });
698
- }
699
- const Zn = "_icon_1r7q3_1", er = "_iconExpanded_1r7q3_6", we = {
700
- icon: Zn,
701
- iconExpanded: er
702
- };
703
- function tr({
704
- node: e
705
- }) {
706
- const { settings: t, layout: n } = K(), r = n.useComponent("directory"), o = n.useLayoutStore((m) => m.expandedIds.has(e.id)), l = n.useSlots("icon").length > 0, f = n.useSlots("left").length > 0, h = g();
707
- function g() {
708
- if (!f)
709
- return !1;
710
- const { showInlineStart: m } = t;
711
- return !m || m === "leaf" ? !1 : m === "directory" ? !0 : m(e.item);
712
- }
713
- function b() {
714
- n.toggleExpanded(e.id);
715
- }
716
- const x = o ? O.tree.collapse : O.tree.expand, y = l ? /* @__PURE__ */ s(j, { name: "icon", item: e.item, expanded: o }) : /* @__PURE__ */ s("span", { className: o ? we.iconExpanded : we.icon, children: /* @__PURE__ */ s(ut, {}) }), F = /* @__PURE__ */ w(P, { children: [
717
- /* @__PURE__ */ s(
718
- ue,
719
- {
720
- variant: "ghost",
721
- size: "sm",
722
- render: /* @__PURE__ */ s("span", {}),
723
- nativeButton: !1,
724
- "data-tree-node-click-ignore": !0,
725
- tabIndex: -1,
726
- onClick: b,
727
- "aria-expanded": o,
728
- "aria-label": x,
729
- icon: y
730
- }
731
- ),
732
- h && /* @__PURE__ */ s(j, { name: "left", item: e.item, node: e })
733
- ] });
734
- return (
735
- // eslint-disable-next-line react-hooks/static-components -- DirectoryComponent comes from the tree's component registry (a store lookup), so it is the same component on every render; the rule cannot see through the lookup.
736
- /* @__PURE__ */ s(r, { node: e, leftSlot: F, children: /* @__PURE__ */ s(We, { node: e }) })
737
- );
738
- }
739
- function nr({
740
- node: e
741
- }) {
742
- const { settings: t, layout: n } = K(), r = n.useComponent("leaf"), i = n.useSlots("left").length > 0, l = a();
743
- function a() {
744
- const { showInlineStart: f } = t;
745
- return !f || f === "leaf" ? !0 : f === "directory" ? !1 : f(e.item);
746
- }
747
- return (
748
- // eslint-disable-next-line react-hooks/static-components -- LeafComponent comes from the tree's component registry (a store lookup), so it is the same component on every render; the rule cannot see through the lookup.
749
- /* @__PURE__ */ s(
750
- r,
751
- {
752
- node: e,
753
- leftSlot: i && l ? /* @__PURE__ */ s(j, { name: "left", item: e.item, node: e }) : void 0,
754
- children: /* @__PURE__ */ s(We, { node: e })
755
- }
756
- )
757
- );
758
- }
759
- const rr = "_treeNodeDirectory_ugt7q_1", or = "_treeNodeDirectoryChildren_ugt7q_10", Ae = {
760
- treeNodeDirectory: rr,
761
- treeNodeDirectoryChildren: or
762
- };
763
- function Xe({
764
- nodes: e
765
- }) {
766
- const { layout: t } = K(), n = t.useLayoutStore((o) => o.filter), r = n ? e.filter((o) => n(o.item)) : e;
767
- return /* @__PURE__ */ s(P, { children: r.map((o) => /* @__PURE__ */ s(sr, { node: o }, o.id)) });
768
- }
769
- function sr({
770
- node: e
771
- }) {
772
- return e.isLeaf ? /* @__PURE__ */ s(nr, { node: e }) : /* @__PURE__ */ s(ir, { node: e });
773
- }
774
- function ir({
775
- node: e
776
- }) {
777
- const { settings: t, layout: n } = K(), r = n.useComponent("placeholder"), o = n.useLayoutStore((g) => g.expandedIds.has(e.id)), i = t.treeStructure.current.useChildren(e.id), l = f(), a = h();
778
- function f() {
779
- return {
780
- node: e,
781
- item: e.item
782
- };
783
- }
784
- function h() {
785
- var b;
786
- const g = (b = t.showDirectoryBottom) == null ? void 0 : b.call(t, e.item, l);
787
- return g === "when_expanded" ? o : g !== !1;
788
- }
789
- return /* @__PURE__ */ w("div", { className: Ae.treeNodeDirectory, children: [
790
- /* @__PURE__ */ s(tr, { node: e }),
791
- o && /* @__PURE__ */ s("div", { className: Ae.treeNodeDirectoryChildren, children: i.length > 0 ? /* @__PURE__ */ s(Xe, { nodes: i }) : (
792
- // eslint-disable-next-line react-hooks/static-components -- PlaceholderComponent comes from the tree's component registry (a store lookup), so it is the same component on every render; the rule cannot see through the lookup.
793
- /* @__PURE__ */ s(r, { parent: e.item })
794
- ) }),
795
- a && /* @__PURE__ */ s(j, { name: "directory-bottom", node: e })
796
- ] });
797
- }
798
- function lr() {
799
- const { settings: e, layout: t, focus: n } = K(), r = e.treeStructure.current.useRootNodes(), o = t.useComponent("placeholder");
800
- return /* @__PURE__ */ w(
801
- "div",
802
- {
803
- className: Yn.treeMain,
804
- role: "tree",
805
- "aria-label": e.ariaLabel,
806
- "aria-labelledby": e.ariaLabelledBy,
807
- onKeyDown: n.handleKeyDown,
808
- children: [
809
- /* @__PURE__ */ s(Mt, { open: !0, modal: !1, children: r.length > 0 ? /* @__PURE__ */ s(Xe, { nodes: r }) : (
810
- // eslint-disable-next-line react-hooks/static-components -- PlaceholderComponent comes from the tree's component registry (a store lookup), so it is the same component on every render; the rule cannot see through the lookup.
811
- /* @__PURE__ */ s(o, { parent: null })
812
- ) }),
813
- /* @__PURE__ */ s(j, { name: "bottom" })
814
- ]
815
- }
816
- );
817
- }
818
- function cr() {
819
- const e = Ue(), t = e.treeStructure.current;
820
- return $(() => (e.init(), () => e.destroy()), [e]), t ? /* @__PURE__ */ s(lr, {}) : null;
821
- }
822
- function le(e, t) {
823
- const n = [];
824
- return r(e.getRootNodes()), n;
825
- function r(o) {
826
- for (const i of o)
827
- n.push(i), !i.isLeaf && t.has(i.id) && r(i.children);
828
- }
829
- }
830
- function ar(e, t) {
831
- const n = e.findIndex((r) => r.id === t);
832
- return n === -1 || n === e.length - 1 ? null : e[n + 1];
833
- }
834
- function ur(e, t) {
835
- const n = e.findIndex((r) => r.id === t);
836
- return n <= 0 ? null : e[n - 1];
837
- }
838
- function dr(e) {
839
- const { layout: t, settings: n } = e, r = z()(() => ({
840
- focusedNodeId: null
841
- })), o = {
842
- setFocusedNode: i,
843
- focusNode: l
844
- };
845
- return e.plugins.registerPublicApi(o), {
846
- ...o,
847
- useFocusStore: r,
848
- handleKeyDown: a
849
- };
850
- function i(v) {
851
- r.setState({ focusedNodeId: v });
852
- }
853
- function l(v) {
854
- i(v);
855
- }
856
- function a(v) {
857
- const { focusedNodeId: C } = r.getState();
858
- if (!C) return;
859
- const { key: p } = v;
860
- let S = !1;
861
- p === "ArrowDown" ? S = f() : p === "ArrowUp" ? S = h() : p === "ArrowRight" ? S = g() : p === "ArrowLeft" ? S = b() : p === "Home" ? S = x() : p === "End" ? S = y() : p === "Enter" && (S = F()), S && v.preventDefault();
862
- }
863
- function f() {
864
- const { treeStructure: v, expandedIds: C, focusedNodeId: p } = m();
865
- if (!p) return !1;
866
- const S = le(v, C), u = ar(S, p);
867
- return u ? (i(u.id), !0) : !1;
868
- }
869
- function h() {
870
- const { treeStructure: v, expandedIds: C, focusedNodeId: p } = m();
871
- if (!p) return !1;
872
- const S = le(v, C), u = ur(S, p);
873
- return u ? (i(u.id), !0) : !1;
874
- }
875
- function g() {
876
- const { treeStructure: v, expandedIds: C, focusedNodeId: p } = m();
877
- if (!p) return !1;
878
- const S = v.getNode(p);
879
- if (!S || S.isLeaf)
880
- return !1;
881
- if (!C.has(p))
882
- return t.toggleExpanded(p, !0), !0;
883
- const u = S.children[0];
884
- return u ? (i(u.id), !0) : !1;
885
- }
886
- function b() {
887
- const { treeStructure: v, expandedIds: C, focusedNodeId: p } = m();
888
- if (!p) return !1;
889
- const S = v.getNode(p);
890
- return S ? !S.isLeaf && C.has(p) ? (t.toggleExpanded(p, !1), !0) : S.parent ? (i(S.parent.id), !0) : !1 : !1;
891
- }
892
- function x() {
893
- const { treeStructure: v } = m(), C = v.getRootNodes()[0];
894
- return C ? (i(C.id), !0) : !1;
895
- }
896
- function y() {
897
- const { treeStructure: v, expandedIds: C } = m(), p = le(v, C), S = p[p.length - 1];
898
- return S ? (i(S.id), !0) : !1;
899
- }
900
- function F() {
901
- const { treeStructure: v, focusedNodeId: C } = m();
902
- if (!C) return !1;
903
- const p = v.getNode(C);
904
- return p ? n.click ? (n.click({ id: p.id, item: p.item }), !0) : p.isLeaf ? !1 : (t.toggleExpanded(C), !0) : !1;
905
- }
906
- function m() {
907
- const v = n.treeStructure.current, { expandedIds: C } = t.useLayoutStore.getState(), { focusedNodeId: p } = r.getState();
908
- return { treeStructure: v, expandedIds: C, focusedNodeId: p };
909
- }
910
- }
911
- function fr() {
912
- const e = Ot();
913
- return {
914
- hook: e.hook,
915
- callHook: e.callHook,
916
- callHookParallel: e.callHookParallel,
917
- callHookSync: e.callHookSync
918
- };
919
- }
920
- function ce(e) {
921
- const t = [];
922
- let n;
923
- return {
924
- registerComponent: o,
925
- getStackedComponent: r
926
- };
927
- function r() {
928
- return n ?? (n = t.reduceRight((i, l) => (a) => Ce(l, a, Ce(i, a)), e)), n;
929
- }
930
- function o(i) {
931
- t.unshift(i), n = void 0;
932
- }
933
- }
934
- const pr = "_treeActions_m77gm_1", hr = "_treeActionsAlways_m77gm_6", mr = "_treeActionsHover_m77gm_12", ae = {
935
- treeActions: pr,
936
- treeActionsAlways: hr,
937
- treeActionsHover: mr
938
- };
939
- function gr({
940
- node: e
941
- }) {
942
- const { settings: t } = K(), n = o(), r = i();
943
- if (r === !1)
944
- return null;
945
- function o() {
946
- return {
947
- node: e,
948
- item: e.item
949
- };
950
- }
951
- function i() {
952
- var a;
953
- return ((a = t.showActions) == null ? void 0 : a.call(t, e.item, n)) ?? "when_hover";
954
- }
955
- return /* @__PURE__ */ s(
956
- "div",
957
- {
958
- className: W(
959
- ae.treeActions,
960
- r === !0 ? ae.treeActionsAlways : ae.treeActionsHover
961
- ),
962
- "data-tree-node-click-ignore": !0,
963
- children: /* @__PURE__ */ s(j, { name: "actions", item: e.item })
964
- }
965
- );
966
- }
967
- const Sr = "_treeLeftSlot_88822_1", vr = {
968
- treeLeftSlot: Sr
969
- };
970
- function Qe({ children: e }) {
971
- return /* @__PURE__ */ s("div", { className: vr.treeLeftSlot, children: e });
972
- }
973
- const Cr = "_treeListItem_euazv_9", yr = "_leaf_euazv_23", Ir = "_label_euazv_44", br = "_ellipsis_euazv_49", J = {
974
- treeListItem: Cr,
975
- leaf: yr,
976
- label: Ir,
977
- ellipsis: br
978
- };
979
- function xe({
980
- node: e,
981
- children: t,
982
- className: n,
983
- leftSlot: r
984
- }) {
985
- var M;
986
- const { settings: o, layout: i, focus: l } = K(), a = Pe(null), f = i.useLayoutStore((A) => A.activeIds.has(e.id)), h = i.useLayoutStore((A) => A.activeIds), g = l.useFocusStore((A) => A.focusedNodeId), b = i.useLayoutStore((A) => A.expandedIds.has(e.id)), x = i.useLayoutStore(
987
- (A) => {
988
- var V;
989
- return (((V = A.slots.get("actions")) == null ? void 0 : V.length) ?? 0) > 0;
990
- }
991
- ), y = o.treeStructure.current, F = y.getLevel(e.id), m = y.getSiblingCount(e.id), v = y.getSiblingPosition(e.id), C = e.id === ((M = y.getRootNodes()[0]) == null ? void 0 : M.id), p = g === e.id, S = L(), u = o.ellipsis ?? !0;
992
- $(() => {
993
- p && a.current && document.activeElement !== a.current && a.current.focus();
994
- }, [p]);
995
- function N(A) {
996
- o.click && (A.target instanceof Element && A.target.closest("[data-tree-node-click-ignore]") || o.click({ id: e.id, item: e.item }));
997
- }
998
- function D() {
999
- l.setFocusedNode(e.id);
1000
- }
1001
- function L() {
1002
- if (g !== null)
1003
- return p ? 0 : -1;
1004
- if (o.initialFocusedNodeId !== void 0)
1005
- return e.id === o.initialFocusedNodeId ? 0 : -1;
1006
- if (h.size > 0) {
1007
- const A = Array.from(h)[0];
1008
- return e.id === A ? 0 : -1;
1009
- }
1010
- return C ? 0 : -1;
1011
- }
1012
- return /* @__PURE__ */ w(
1013
- $e,
1014
- {
1015
- ref: a,
1016
- role: "treeitem",
1017
- tabIndex: S,
1018
- onClick: o.click ? N : void 0,
1019
- onFocus: D,
1020
- "aria-selected": f,
1021
- "aria-expanded": e.isLeaf ? void 0 : b,
1022
- "aria-level": F,
1023
- "aria-setsize": m,
1024
- "aria-posinset": v,
1025
- "data-active": f || void 0,
1026
- className: W(J.treeListItem, e.isLeaf && J.leaf, n),
1027
- children: [
1028
- r && /* @__PURE__ */ s(Qe, { children: r }),
1029
- /* @__PURE__ */ s("span", { className: W(J.label, u && J.ellipsis), children: t }),
1030
- x && /* @__PURE__ */ s(gr, { node: e })
1031
- ]
1032
- }
1033
- );
1034
- }
1035
- const _r = "_treePlaceholder_13ekq_6", Nr = {
1036
- treePlaceholder: _r
1037
- };
1038
- function wr({
1039
- parent: e
1040
- }) {
1041
- var o;
1042
- const { layout: t } = K(), r = (o = t.useSlots("placeholder")[0]) == null ? void 0 : o.component;
1043
- return /* @__PURE__ */ w($e, { disabled: !0, className: Nr.treePlaceholder, children: [
1044
- /* @__PURE__ */ s(Qe, {}),
1045
- r ? /* @__PURE__ */ s(r, { parent: e }) : O.tree.noItems
1046
- ] });
1047
- }
1048
- function Ar(e) {
1049
- const t = [], n = z()(() => ({
1050
- slots: /* @__PURE__ */ new Map(),
1051
- expandedIds: /* @__PURE__ */ new Set(),
1052
- activeIds: /* @__PURE__ */ new Set()
1053
- })), r = z(() => ({
1054
- leaf: ce(xe),
1055
- directory: ce(xe),
1056
- placeholder: ce(wr)
1057
- })), o = {
1058
- registerSlot: f,
1059
- registerComponent: F,
1060
- toggleExpanded: g,
1061
- toggleActive: b,
1062
- clearActive: x,
1063
- setFilter: y
1064
- };
1065
- return e.plugins.registerPublicApi(o), {
1066
- ...o,
1067
- useLayoutStore: n,
1068
- useSlots: l,
1069
- useComponent: a
1070
- };
1071
- function i(m) {
1072
- return n.getState().slots.get(m) ?? t;
1073
- }
1074
- function l(m) {
1075
- return n(
1076
- U(
1077
- (v) => v.slots.get(m) ?? t
1078
- )
1079
- );
1080
- }
1081
- function a(m) {
1082
- return r(() => r.getState()[m].getStackedComponent());
1083
- }
1084
- function f(m, v) {
1085
- const C = Math.random().toString(), p = i(m), S = (p.length + 1) * 10, u = { id: C, name: m, ...v, order: S }, N = [...p, u];
1086
- return n.setState((D) => {
1087
- const L = new Map(D.slots);
1088
- return L.set(m, N), { slots: L };
1089
- }), () => h(m, C);
1090
- }
1091
- function h(m, v) {
1092
- const C = i(m);
1093
- if (!C.length) return;
1094
- const p = C.filter((S) => S.id !== v);
1095
- n.setState((S) => {
1096
- const u = new Map(S.slots);
1097
- return p.length ? u.set(m, p) : u.delete(m), { slots: u };
1098
- });
1099
- }
1100
- function g(m, v) {
1101
- n.setState((C) => {
1102
- const p = C.expandedIds.has(m), S = v ?? !p, u = new Set(C.expandedIds);
1103
- return S !== p && (S ? u.add(m) : u.delete(m)), { expandedIds: u };
1104
- });
1105
- }
1106
- function b(m, v) {
1107
- n.setState((C) => {
1108
- const p = C.activeIds.has(m), S = v ?? !p, u = new Set(C.activeIds);
1109
- return S !== p && (S ? u.add(m) : u.delete(m)), { activeIds: u };
1110
- });
1111
- }
1112
- function x() {
1113
- n.setState({ activeIds: /* @__PURE__ */ new Set() });
1114
- }
1115
- function y(m) {
1116
- n.setState({
1117
- filter: m
1118
- });
1119
- }
1120
- function F(m, v) {
1121
- r.getState()[m].registerComponent(v);
1122
- }
1123
- }
1124
- function xr(e) {
1125
- const t = /* @__PURE__ */ new Map(), n = {
1126
- hook: e.hooked.hook,
1127
- getPlugin: a
1128
- }, r = { ...n };
1129
- return {
1130
- ...n,
1131
- registerPlugin: i,
1132
- registerPlugins: l,
1133
- registerPublicApi: o,
1134
- pluginContext: r
1135
- };
1136
- function o(f) {
1137
- Object.assign(r, f);
1138
- }
1139
- function i(f) {
1140
- if (t.has(f.name)) {
1141
- console.warn(
1142
- `[DataGridTree] Plugin "${f.name}" is already registered — skipping duplicate registration.`
1143
- );
1144
- return;
1145
- }
1146
- const h = f.setup(r);
1147
- h !== void 0 && t.set(f.name, h);
1148
- }
1149
- function l(f) {
1150
- f.forEach((h) => i(h));
1151
- }
1152
- function a(f) {
1153
- return t.get(f);
1154
- }
1155
- }
1156
- function Fr(e, t) {
1157
- const n = {
1158
- ...t
1159
- }, r = {
1160
- settings: n,
1161
- treeStructure: t.treeStructure
1162
- };
1163
- return e.plugins.registerPublicApi(r), n;
1164
- }
1165
- function Dr(e) {
1166
- const t = fr(), n = {}, r = {
1167
- hooked: t,
1168
- get plugins() {
1169
- return Y(n.plugins, "plugins");
1170
- },
1171
- get layout() {
1172
- return Y(n.layout, "layout");
1173
- },
1174
- get settings() {
1175
- return Y(n.settings, "settings");
1176
- },
1177
- get focus() {
1178
- return Y(n.focus, "focus");
1179
- }
1180
- };
1181
- return n.plugins = xr(r), n.settings = Fr(r, e), n.layout = Ar(r), n.focus = dr(r), {
1182
- init: i,
1183
- destroy: o,
1184
- ...r.plugins.pluginContext,
1185
- [he]: r
1186
- };
1187
- function o() {
1188
- t.callHookSync("destroy");
1189
- }
1190
- async function i() {
1191
- await t.callHook("init");
1192
- }
1193
- }
1194
- function Y(e, t) {
1195
- if (e === void 0)
1196
- throw new Error(`[DataGridTree] The ${t} service was used before it was created.`);
1197
- return e;
1198
- }
1199
- function Lr({
1200
- name: e,
1201
- treeStructure: t,
1202
- children: n,
1203
- ...r
1204
- }) {
1205
- const o = Kt(t), [i] = T(
1206
- () => Dr({
1207
- ...r,
1208
- name: e,
1209
- treeStructure: o
1210
- })
1211
- );
1212
- return $(() => {
1213
- i[he].layout.setFilter(r.filter);
1214
- }, [i, r.filter]), /* @__PURE__ */ w(Qn, { value: i, children: [
1215
- n,
1216
- /* @__PURE__ */ s(cr, {})
1217
- ] });
1218
- }
1219
- function kr(e, t, n) {
1220
- return mt(function(o) {
1221
- const i = K(), [l] = T(() => {
1222
- const a = t(i.plugins.pluginContext);
1223
- return i.plugins.registerPlugin({
1224
- name: e,
1225
- setup: () => a
1226
- }), a;
1227
- });
1228
- return $(() => {
1229
- var a;
1230
- (a = l.onPropsChange) == null || a.call(l, o);
1231
- }, [l, o]), null;
1232
- }, n);
1233
- }
1234
- const Tr = "_radioGroup_1l2s1_7", Pr = "_text_1l2s1_14", Fe = {
1235
- radioGroup: Tr,
1236
- text: Pr
1237
- }, De = "selected";
1238
- function Kr({
1239
- item: e,
1240
- label: t
1241
- }) {
1242
- const r = En().getPlugin("radioSelect"), o = e.id, l = r.useSelectedId() === o;
1243
- function a() {
1244
- (typeof o == "string" || typeof o == "number") && r.select(o);
1245
- }
1246
- return /* @__PURE__ */ w(ze, { children: [
1247
- /* @__PURE__ */ s(
1248
- zt,
1249
- {
1250
- className: Fe.radioGroup,
1251
- value: l ? De : "",
1252
- onValueChange: a,
1253
- children: /* @__PURE__ */ s($t, { value: De, "data-tree-node-click-ignore": "" })
1254
- }
1255
- ),
1256
- /* @__PURE__ */ s("span", { className: Fe.text, children: t })
1257
- ] });
1258
- }
1259
- const Mr = kr("radioSelect", (e) => {
1260
- let t = {};
1261
- const n = z(() => ({
1262
- selectedId: void 0
1263
- }));
1264
- return e.registerSlot("label", {
1265
- component: Kr
1266
- }), {
1267
- useSelectedId: () => n((l) => l.selectedId),
1268
- select: i,
1269
- onPropsChange: o
1270
- };
1271
- function o(l) {
1272
- t = l, l.value !== void 0 && n.setState({ selectedId: l.value });
1273
- }
1274
- function i(l) {
1275
- var a;
1276
- n.setState({ selectedId: l }), (a = t.onChange) == null || a.call(t, l);
1277
- }
1278
- });
1279
- function Or(e, t) {
1280
- const [n, r] = T(""), [o, i] = T(""), l = Te(
1281
- () => Me((h) => i(h), 300),
1282
- []
1283
- );
1284
- $(() => (l(n), () => l.cancel()), [n, l]);
1285
- let a = null;
1286
- if (o.trim()) {
1287
- const h = o.toLowerCase(), g = /* @__PURE__ */ new Set();
1288
- e.forEach((b) => {
1289
- t(b.item).toLowerCase().includes(h) && g.add(b.id);
1290
- }), a = g;
1291
- }
1292
- function f(h) {
1293
- if (!a) return !0;
1294
- const g = h.id;
1295
- if (typeof g != "string" && typeof g != "number") return !1;
1296
- if (a.has(g)) return !0;
1297
- for (const b of a)
1298
- if (e.isDescendantOf(b, g) || e.isDescendantOf(g, b))
1299
- return !0;
1300
- return !1;
1301
- }
1302
- return {
1303
- searchTerm: n,
1304
- setSearchTerm: r,
1305
- matchingItemIds: a,
1306
- filter: f
1307
- };
1308
- }
1309
- function Ee({ filterEntity: e, value: t, onChange: n, searchSize: r }) {
1310
- const { tree: o, treeLabel: i, search: l } = e.params, a = (b) => Mn(b, i), { searchTerm: f, setSearchTerm: h, filter: g } = Or(o, a);
1311
- return /* @__PURE__ */ w(P, { children: [
1312
- l && /* @__PURE__ */ s(ne, { size: r, children: /* @__PURE__ */ s(re, { value: f, onValueChange: h }) }),
1313
- /* @__PURE__ */ s(oe, { children: /* @__PURE__ */ s(
1314
- Lr,
1315
- {
1316
- name: `filter-tree-${e.filterKey}`,
1317
- treeStructure: o,
1318
- label: i,
1319
- ellipsis: !1,
1320
- filter: g,
1321
- children: /* @__PURE__ */ s(Mr, { value: t, onChange: n, name: e.filterKey })
1322
- }
1323
- ) })
1324
- ] });
1325
- }
1326
- function zr({ filterEntity: e }) {
1327
- const n = k().getPlugin("filters"), r = n.useDraftState(e.filterKey), o = r == null ? void 0 : r.value;
1328
- function i(l) {
1329
- n.setDraftState(e.filterKey, { value: l });
1330
- }
1331
- return /* @__PURE__ */ s(ee, { filterEntity: e, children: /* @__PURE__ */ s(Ee, { filterEntity: e, value: o, onChange: i, searchSize: "xl" }) });
1332
- }
1333
- function $r({ filterEntity: e }) {
1334
- const n = k().getPlugin("filters"), r = n.useState(e.filterKey), o = r == null ? void 0 : r.value;
1335
- function i(l) {
1336
- n.setState(e.filterKey, { value: l });
1337
- }
1338
- return /* @__PURE__ */ s(X, { filterEntity: e, children: /* @__PURE__ */ s(Ee, { filterEntity: e, value: o, onChange: i, searchSize: "m" }) });
1339
- }
1340
- function No(e) {
1341
- return {
1342
- id: e.id,
1343
- filterKey: e.filterKey ?? e.id,
1344
- label: e.label,
1345
- filterComponent: $r,
1346
- dialogFilterComponent: zr,
1347
- params: {
1348
- tree: e.tree,
1349
- treeLabel: e.treeLabel,
1350
- get search() {
1351
- return e.search ?? e.tree.getNodes().length > 5;
1352
- },
1353
- popover: e.popover
1354
- },
1355
- resolveLoadValue: e.filterValue ? (t) => ({
1356
- value: Xn(e.tree, t.value, e.filterValue)
1357
- }) : void 0
1358
- };
1359
- }
1360
- const Rr = "yyyy-MM-dd";
1361
- function Je(e) {
1362
- return !e.from && !e.to;
1363
- }
1364
- function Le(e, t) {
1365
- if (typeof e != "string" || e === "") return null;
1366
- const n = Rt(e, t, /* @__PURE__ */ new Date());
1367
- return Gt(n) ? n : null;
1368
- }
1369
- function ke(e, t) {
1370
- return Vt(Ht(e, { hours: 12, minutes: 0, seconds: 0 }), t);
1371
- }
1372
- function Gr({ from: e, to: t }, n) {
1373
- return !e || t ? { from: n, to: null } : Bt(ye(n), ye(e)) ? { from: n, to: e } : { from: e, to: n };
1374
- }
1375
- const Vr = 1;
1376
- function Ye({ value: e, onChange: t, modelDateFormat: n }) {
1377
- const r = n ?? Rr, o = Le(e.from, r), i = Le(e.to, r), [l, a] = T(() => o ?? /* @__PURE__ */ new Date());
1378
- function f(h) {
1379
- const g = Gr({ from: o, to: i }, h);
1380
- t({
1381
- from: g.from ? ke(g.from, r) : void 0,
1382
- to: g.to ? ke(g.to, r) : void 0
1383
- });
1384
- }
1385
- return /* @__PURE__ */ s(
1386
- jt,
1387
- {
1388
- mode: "range",
1389
- selected: o ? { from: o, to: i ?? void 0 } : void 0,
1390
- month: l,
1391
- onMonthChange: a,
1392
- onSelect: (h, g) => f(g),
1393
- weekStartsOn: Vr
1394
- }
1395
- );
1396
- }
1397
- function Hr({ filterEntity: e }) {
1398
- const n = k().getPlugin("filters"), r = n.useDraftState(e.filterKey), o = (r == null ? void 0 : r.value) ?? {};
1399
- function i(l) {
1400
- n.setDraftState(e.filterKey, {
1401
- value: Je(l) ? void 0 : l
1402
- });
1403
- }
1404
- return /* @__PURE__ */ s(ee, { filterEntity: e, children: /* @__PURE__ */ s(
1405
- Ye,
1406
- {
1407
- value: o,
1408
- onChange: i,
1409
- modelDateFormat: e.params.modelDateFormat
1410
- }
1411
- ) });
1412
- }
1413
- function Br({ filterEntity: e }) {
1414
- const n = k().getPlugin("filters"), r = n.useState(e.filterKey), o = (r == null ? void 0 : r.value) ?? {};
1415
- function i(l) {
1416
- Je(l) ? n.removeState(e.filterKey) : n.setState(e.filterKey, { value: l });
1417
- }
1418
- return /* @__PURE__ */ s(X, { filterEntity: e, children: /* @__PURE__ */ s(
1419
- Ye,
1420
- {
1421
- value: o,
1422
- onChange: i,
1423
- modelDateFormat: e.params.modelDateFormat
1424
- }
1425
- ) });
1426
- }
1427
- function wo(e) {
1428
- return {
1429
- id: e.id,
1430
- filterKey: e.filterKey ?? e.id,
1431
- label: e.label,
1432
- filterComponent: Br,
1433
- dialogFilterComponent: Hr,
1434
- params: {
1435
- modelDateFormat: e.modelDateFormat,
1436
- // Passed straight through, like every sibling entity: the popover's
1437
- // `min-inline-size` is a floor and the popup is shrink-to-fit, so the calendar's
1438
- // own 272px minimum already sizes the popover.
1439
- popover: e.popover
1440
- }
1441
- };
1442
- }
1443
- function jr(e) {
1444
- const t = z(() => ({
1445
- nodeMap: /* @__PURE__ */ new Map(),
1446
- childrenMap: /* @__PURE__ */ new Map()
1447
- }));
1448
- return e.items && N(e.items), {
1449
- setItems: N,
1450
- move: u,
1451
- forEach: nt,
1452
- eachNode: ve,
1453
- getNode: C,
1454
- getChildren: H,
1455
- getRootNodes: F,
1456
- getNodes: m,
1457
- getLevel: Se,
1458
- getSiblingCount: et,
1459
- getSiblingPosition: tt,
1460
- isDescendantOf: S,
1461
- useRootNodes: () => t(U(() => F())),
1462
- useNodes: () => t(U(() => m())),
1463
- useNodesCount: () => t(() => v()),
1464
- useNode: (c) => t(() => C(c)),
1465
- useHasNode: (c) => t(() => me(c)),
1466
- useChildren: (c) => t(U(() => H(c))),
1467
- useNodePath: (c) => t(U(() => ge(c))),
1468
- useNodeLevel: (c) => t(() => Se(c)),
1469
- useNodeIndex: (c) => t(() => Ze(c)),
1470
- useIsLeaf: (c) => t(() => p(c)),
1471
- useIsDescendantOf: (c, d) => t(() => S(c, d))
1472
- };
1473
- function F() {
1474
- return H(null);
1475
- }
1476
- function m() {
1477
- const { nodeMap: c } = t.getState();
1478
- return Array.from(c.values());
1479
- }
1480
- function v() {
1481
- const { nodeMap: c } = t.getState();
1482
- return c.size;
1483
- }
1484
- function C(c) {
1485
- const { nodeMap: d } = t.getState();
1486
- return d.get(c);
1487
- }
1488
- function p(c) {
1489
- return q(c).isLeaf;
1490
- }
1491
- function S(c, d) {
1492
- if (!me(c)) return !1;
1493
- let I = q(c);
1494
- for (; I.parentId !== null; ) {
1495
- if (I.parentId === d)
1496
- return !0;
1497
- I = q(I.parentId);
1498
- }
1499
- return !1;
1500
- }
1501
- function u(c) {
1502
- const d = t.getState(), I = d.nodeMap.get(c.id);
1503
- if (!I)
1504
- throw new Error(`Node with id "${c.id}" not found`);
1505
- if (c.parentId !== null && (c.parentId === c.id || S(c.parentId, c.id)))
1506
- throw new Error(`Node with id "${c.id}" cannot move under itself or its descendant "${c.parentId}"`);
1507
- const _ = new Map(d.childrenMap), B = _.get(I.parentId);
1508
- if (B) {
1509
- const Q = B.filter((rt) => rt.id !== c.id);
1510
- _.set(I.parentId, Q);
1511
- }
1512
- const R = [..._.get(c.parentId) ?? []], G = c.position ?? R.length;
1513
- I.parentId = c.parentId, I.parent = c.parentId === null ? null : d.nodeMap.get(c.parentId) ?? null, R.splice(G, 0, I), _.set(c.parentId, R);
1514
- for (const Q of d.nodeMap.values())
1515
- Q.children = _.get(Q.id) ?? [];
1516
- t.setState({
1517
- nodeMap: new Map(d.nodeMap),
1518
- childrenMap: _
1519
- });
1520
- }
1521
- function N(c) {
1522
- const d = /* @__PURE__ */ new Map(), I = /* @__PURE__ */ new Map();
1523
- if (e.childrenKey)
1524
- for (const [_, B, R] of D(c)) {
1525
- const G = L(_, B, R);
1526
- d.set(G.id, G);
1527
- }
1528
- else
1529
- for (const _ of c) {
1530
- const B = M(_), R = V(_), G = L(B, R, _);
1531
- d.set(G.id, G);
1532
- }
1533
- for (const _ of d.values())
1534
- I.set(_.parentId, [...I.get(_.parentId) ?? [], _]);
1535
- for (const _ of d.values())
1536
- _.parent = _.parentId === null ? null : d.get(_.parentId) ?? null, _.children = I.get(_.id) ?? [];
1537
- t.setState({
1538
- nodeMap: d,
1539
- childrenMap: I
1540
- });
1541
- }
1542
- function* D(c, d = null) {
1543
- for (const I of c) {
1544
- const _ = M(I);
1545
- yield [_, d, I], yield* D(A(I), _);
1546
- }
1547
- }
1548
- function L(c, d, I) {
1549
- return {
1550
- id: c,
1551
- item: I,
1552
- parentId: d,
1553
- isLeaf: e.isLeaf ? e.isLeaf(I) : !1,
1554
- parent: null,
1555
- // Will be set later
1556
- children: []
1557
- // Will be set later
1558
- };
1559
- }
1560
- function M(c) {
1561
- const { itemKey: d = "id" } = e;
1562
- if (typeof d == "function")
1563
- return d(c);
1564
- if (!(d in c))
1565
- throw new Error(`Key "${d}" not found in item ${JSON.stringify(c)}`);
1566
- return c[d];
1567
- }
1568
- function A(c) {
1569
- return e.childrenKey ? typeof e.childrenKey == "function" ? (e.childrenKey(c) ?? []).filter((d) => d != null) : (c[e.childrenKey] ?? []).filter((d) => d != null) : [];
1570
- }
1571
- function V(c) {
1572
- const { parentKey: d = "parent_id" } = e;
1573
- return typeof d == "function" ? d(c) ?? null : d == null ? null : c[d] ?? null;
1574
- }
1575
- function me(c) {
1576
- const { nodeMap: d } = t.getState();
1577
- return d.has(c);
1578
- }
1579
- function q(c) {
1580
- const { nodeMap: d } = t.getState(), I = d.get(c);
1581
- if (!I)
1582
- throw new Error(`Node with id "${c}" not found`);
1583
- return I;
1584
- }
1585
- function Ze(c) {
1586
- const d = q(c);
1587
- return H(d.parentId).findIndex((I) => I.id === c);
1588
- }
1589
- function ge(c) {
1590
- const d = q(c), I = [];
1591
- let _ = d;
1592
- for (; _; )
1593
- I.unshift(_), _ = _.parent;
1594
- return I;
1595
- }
1596
- function Se(c) {
1597
- return ge(c).length;
1598
- }
1599
- function et(c) {
1600
- const d = C(c);
1601
- return d ? H(d.parentId).length : 1;
1602
- }
1603
- function tt(c) {
1604
- const d = C(c);
1605
- return d ? H(d.parentId).findIndex((I) => I.id === c) + 1 : 1;
1606
- }
1607
- function H(c) {
1608
- const { childrenMap: d } = t.getState();
1609
- return d.get(c) ?? [];
1610
- }
1611
- function nt(c) {
1612
- for (const d of ve())
1613
- c(d);
1614
- }
1615
- function* ve() {
1616
- const c = [...F()].reverse();
1617
- for (; c.length > 0; ) {
1618
- const d = c.pop();
1619
- yield d, c.push(...[...d.children].reverse());
1620
- }
1621
- }
1622
- }
1623
- function Ao(e) {
1624
- const [t] = T(() => jr(e));
1625
- return t;
1626
- }
1627
- export {
1628
- Co as DataGridFiltersPlugin,
1629
- jr as createDataGridTreeStructure,
1630
- bo as filterCheckboxGroup,
1631
- wo as filterDateRange,
1632
- yo as filterSearch,
1633
- _o as filterTagGroup,
1634
- Io as filterToggle,
1635
- No as filterTree,
1636
- Ao as useDataGridTreeStructure
1637
- };
1
+ export { DataGridFiltersPlugin } from "../chunks/components/data-grid/plugins/filters/filters-plugin.js";
2
+ export { filterSearch } from "../chunks/components/data-grid/plugins/filters/entities/search/filter-search.js";
3
+ export { filterToggle } from "../chunks/components/data-grid/plugins/filters/entities/toggle/filter-toggle.js";
4
+ export { filterCheckboxGroup } from "../chunks/components/data-grid/plugins/filters/entities/checkbox-group/filter-checkbox-group.js";
5
+ export { filterTagGroup } from "../chunks/components/data-grid/plugins/filters/entities/tag-group/filter-tag-group.js";
6
+ export { filterTree } from "../chunks/components/data-grid/plugins/filters/entities/tree/filter-tree.js";
7
+ export { filterDateRange } from "../chunks/components/data-grid/plugins/filters/entities/date-range/filter-date-range.js";
8
+ export { createDataGridTreeStructure, useDataGridTreeStructure } from "../chunks/components/data-grid/tree-structure/tree-structure.js";
9
+
1638
10
  //# sourceMappingURL=filters.js.map