@gears-frontx/ui-kit 0.4.3 → 0.4.5

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 (205) hide show
  1. package/README.md +4 -1
  2. package/dist/chunks/data-grid.DYrZEU-F.css +1 -0
  3. package/dist/chunks/debounce.js +17 -0
  4. package/dist/chunks/debounce.js.map +1 -0
  5. package/dist/chunks/dialog.CIR9bQoU.css +1 -0
  6. package/dist/chunks/dropdown-menu.DT1_JLqL.css +1 -0
  7. package/dist/chunks/empty.Cfg5lE0n.css +1 -0
  8. package/dist/chunks/filters.DcFdZpNG.css +1 -0
  9. package/dist/chunks/hooked.js +52 -0
  10. package/dist/chunks/hooked.js.map +1 -0
  11. package/dist/chunks/messages.js +18 -3
  12. package/dist/chunks/messages.js.map +1 -1
  13. package/dist/chunks/pagination.DPVITj_D.css +1 -0
  14. package/dist/chunks/{select.BFwI5rhI.css → select.C3sLDoZI.css} +1 -1
  15. package/dist/chunks/sidebar.Dw_e0Jqw.css +1 -0
  16. package/dist/chunks/tabs.BqhiMRUP.css +1 -0
  17. package/dist/components/data-grid/components/filter-chip.d.ts +21 -0
  18. package/dist/components/data-grid/components/filter-chip.d.ts.map +1 -0
  19. package/dist/components/data-grid/components/filter-control-area.d.ts +9 -0
  20. package/dist/components/data-grid/components/filter-control-area.d.ts.map +1 -0
  21. package/dist/components/data-grid/components/filter-options-search-input.d.ts +11 -0
  22. package/dist/components/data-grid/components/filter-options-search-input.d.ts.map +1 -0
  23. package/dist/components/data-grid/components/filter-popover-content.d.ts +8 -0
  24. package/dist/components/data-grid/components/filter-popover-content.d.ts.map +1 -0
  25. package/dist/components/data-grid/components/filter-reset-button.d.ts +8 -0
  26. package/dist/components/data-grid/components/filter-reset-button.d.ts.map +1 -0
  27. package/dist/components/data-grid/components/filter-scrollable-wrapper.d.ts +8 -0
  28. package/dist/components/data-grid/components/filter-scrollable-wrapper.d.ts.map +1 -0
  29. package/dist/components/data-grid/messages.d.ts +15 -0
  30. package/dist/components/data-grid/messages.d.ts.map +1 -1
  31. package/dist/components/data-grid/plugins/filters/components/adaptive-popover.d.ts +20 -0
  32. package/dist/components/data-grid/plugins/filters/components/adaptive-popover.d.ts.map +1 -0
  33. package/dist/components/data-grid/plugins/filters/components/all-filters-button.d.ts +3 -0
  34. package/dist/components/data-grid/plugins/filters/components/all-filters-button.d.ts.map +1 -0
  35. package/dist/components/data-grid/plugins/filters/components/all-filters-dialog.d.ts +7 -0
  36. package/dist/components/data-grid/plugins/filters/components/all-filters-dialog.d.ts.map +1 -0
  37. package/dist/components/data-grid/plugins/filters/components/dialog-filter-item.d.ts +9 -0
  38. package/dist/components/data-grid/plugins/filters/components/dialog-filter-item.d.ts.map +1 -0
  39. package/dist/components/data-grid/plugins/filters/components/filter-label.d.ts +7 -0
  40. package/dist/components/data-grid/plugins/filters/components/filter-label.d.ts.map +1 -0
  41. package/dist/components/data-grid/plugins/filters/components/filter-popover.d.ts +9 -0
  42. package/dist/components/data-grid/plugins/filters/components/filter-popover.d.ts.map +1 -0
  43. package/dist/components/data-grid/plugins/filters/components/filter-single.d.ts +7 -0
  44. package/dist/components/data-grid/plugins/filters/components/filter-single.d.ts.map +1 -0
  45. package/dist/components/data-grid/plugins/filters/components/filters-bar.d.ts +3 -0
  46. package/dist/components/data-grid/plugins/filters/components/filters-bar.d.ts.map +1 -0
  47. package/dist/components/data-grid/plugins/filters/entities/checkbox-group/checkbox-group-dialog-filter.d.ts +7 -0
  48. package/dist/components/data-grid/plugins/filters/entities/checkbox-group/checkbox-group-dialog-filter.d.ts.map +1 -0
  49. package/dist/components/data-grid/plugins/filters/entities/checkbox-group/checkbox-group-list.d.ts +12 -0
  50. package/dist/components/data-grid/plugins/filters/entities/checkbox-group/checkbox-group-list.d.ts.map +1 -0
  51. package/dist/components/data-grid/plugins/filters/entities/checkbox-group/checkbox-group-quick-filter.d.ts +7 -0
  52. package/dist/components/data-grid/plugins/filters/entities/checkbox-group/checkbox-group-quick-filter.d.ts.map +1 -0
  53. package/dist/components/data-grid/plugins/filters/entities/checkbox-group/filter-checkbox-group.d.ts +20 -0
  54. package/dist/components/data-grid/plugins/filters/entities/checkbox-group/filter-checkbox-group.d.ts.map +1 -0
  55. package/dist/components/data-grid/plugins/filters/entities/date-range/date-range-calendar.d.ts +17 -0
  56. package/dist/components/data-grid/plugins/filters/entities/date-range/date-range-calendar.d.ts.map +1 -0
  57. package/dist/components/data-grid/plugins/filters/entities/date-range/date-range-dialog-filter.d.ts +7 -0
  58. package/dist/components/data-grid/plugins/filters/entities/date-range/date-range-dialog-filter.d.ts.map +1 -0
  59. package/dist/components/data-grid/plugins/filters/entities/date-range/date-range-quick-filter.d.ts +7 -0
  60. package/dist/components/data-grid/plugins/filters/entities/date-range/date-range-quick-filter.d.ts.map +1 -0
  61. package/dist/components/data-grid/plugins/filters/entities/date-range/date-range-selection.d.ts +16 -0
  62. package/dist/components/data-grid/plugins/filters/entities/date-range/date-range-selection.d.ts.map +1 -0
  63. package/dist/components/data-grid/plugins/filters/entities/date-range/date-range-value.d.ts +19 -0
  64. package/dist/components/data-grid/plugins/filters/entities/date-range/date-range-value.d.ts.map +1 -0
  65. package/dist/components/data-grid/plugins/filters/entities/date-range/filter-date-range.d.ts +16 -0
  66. package/dist/components/data-grid/plugins/filters/entities/date-range/filter-date-range.d.ts.map +1 -0
  67. package/dist/components/data-grid/plugins/filters/entities/entities.d.ts +7 -0
  68. package/dist/components/data-grid/plugins/filters/entities/entities.d.ts.map +1 -0
  69. package/dist/components/data-grid/plugins/filters/entities/search/filter-search.d.ts +10 -0
  70. package/dist/components/data-grid/plugins/filters/entities/search/filter-search.d.ts.map +1 -0
  71. package/dist/components/data-grid/plugins/filters/entities/search/search-quick-filter.d.ts +7 -0
  72. package/dist/components/data-grid/plugins/filters/entities/search/search-quick-filter.d.ts.map +1 -0
  73. package/dist/components/data-grid/plugins/filters/entities/tag-group/filter-tag-group.d.ts +14 -0
  74. package/dist/components/data-grid/plugins/filters/entities/tag-group/filter-tag-group.d.ts.map +1 -0
  75. package/dist/components/data-grid/plugins/filters/entities/tag-group/tag-group-dialog-filter.d.ts +7 -0
  76. package/dist/components/data-grid/plugins/filters/entities/tag-group/tag-group-dialog-filter.d.ts.map +1 -0
  77. package/dist/components/data-grid/plugins/filters/entities/tag-group/tag-group-list.d.ts +11 -0
  78. package/dist/components/data-grid/plugins/filters/entities/tag-group/tag-group-list.d.ts.map +1 -0
  79. package/dist/components/data-grid/plugins/filters/entities/tag-group/tag-group-quick-filter.d.ts +7 -0
  80. package/dist/components/data-grid/plugins/filters/entities/tag-group/tag-group-quick-filter.d.ts.map +1 -0
  81. package/dist/components/data-grid/plugins/filters/entities/toggle/filter-toggle.d.ts +10 -0
  82. package/dist/components/data-grid/plugins/filters/entities/toggle/filter-toggle.d.ts.map +1 -0
  83. package/dist/components/data-grid/plugins/filters/entities/toggle/toggle-quick-filter.d.ts +7 -0
  84. package/dist/components/data-grid/plugins/filters/entities/toggle/toggle-quick-filter.d.ts.map +1 -0
  85. package/dist/components/data-grid/plugins/filters/entities/tree/filter-tree.d.ts +20 -0
  86. package/dist/components/data-grid/plugins/filters/entities/tree/filter-tree.d.ts.map +1 -0
  87. package/dist/components/data-grid/plugins/filters/entities/tree/resolve-filter-tree-value.d.ts +8 -0
  88. package/dist/components/data-grid/plugins/filters/entities/tree/resolve-filter-tree-value.d.ts.map +1 -0
  89. package/dist/components/data-grid/plugins/filters/entities/tree/tree-dialog-filter.d.ts +7 -0
  90. package/dist/components/data-grid/plugins/filters/entities/tree/tree-dialog-filter.d.ts.map +1 -0
  91. package/dist/components/data-grid/plugins/filters/entities/tree/tree-list.d.ts +12 -0
  92. package/dist/components/data-grid/plugins/filters/entities/tree/tree-list.d.ts.map +1 -0
  93. package/dist/components/data-grid/plugins/filters/entities/tree/tree-quick-filter.d.ts +7 -0
  94. package/dist/components/data-grid/plugins/filters/entities/tree/tree-quick-filter.d.ts.map +1 -0
  95. package/dist/components/data-grid/plugins/filters/entities/tree/tree-radio-select-plugin.d.ts +13 -0
  96. package/dist/components/data-grid/plugins/filters/entities/tree/tree-radio-select-plugin.d.ts.map +1 -0
  97. package/dist/components/data-grid/plugins/filters/entities/tree/use-tree-search.d.ts +8 -0
  98. package/dist/components/data-grid/plugins/filters/entities/tree/use-tree-search.d.ts.map +1 -0
  99. package/dist/components/data-grid/plugins/filters/filters-plugin.d.ts +3 -0
  100. package/dist/components/data-grid/plugins/filters/filters-plugin.d.ts.map +1 -0
  101. package/dist/components/data-grid/plugins/filters/filters-types.d.ts +141 -0
  102. package/dist/components/data-grid/plugins/filters/filters-types.d.ts.map +1 -0
  103. package/dist/components/data-grid/plugins/filters/public.d.ts +11 -0
  104. package/dist/components/data-grid/plugins/filters/public.d.ts.map +1 -0
  105. package/dist/components/data-grid/plugins/filters/services/read-option-values.d.ts +7 -0
  106. package/dist/components/data-grid/plugins/filters/services/read-option-values.d.ts.map +1 -0
  107. package/dist/components/data-grid/plugins/filters/services/use-async-filter-search.d.ts +20 -0
  108. package/dist/components/data-grid/plugins/filters/services/use-async-filter-search.d.ts.map +1 -0
  109. package/dist/components/data-grid/plugins/filters/services/use-filter-search.d.ts +12 -0
  110. package/dist/components/data-grid/plugins/filters/services/use-filter-search.d.ts.map +1 -0
  111. package/dist/components/data-grid/tree/components/tree-actions.d.ts +7 -0
  112. package/dist/components/data-grid/tree/components/tree-actions.d.ts.map +1 -0
  113. package/dist/components/data-grid/tree/components/tree-content.d.ts +3 -0
  114. package/dist/components/data-grid/tree/components/tree-content.d.ts.map +1 -0
  115. package/dist/components/data-grid/tree/components/tree-layout-slot.d.ts +9 -0
  116. package/dist/components/data-grid/tree/components/tree-layout-slot.d.ts.map +1 -0
  117. package/dist/components/data-grid/tree/components/tree-left-slot.d.ts +7 -0
  118. package/dist/components/data-grid/tree/components/tree-left-slot.d.ts.map +1 -0
  119. package/dist/components/data-grid/tree/components/tree-list-item.d.ts +10 -0
  120. package/dist/components/data-grid/tree/components/tree-list-item.d.ts.map +1 -0
  121. package/dist/components/data-grid/tree/components/tree-main.d.ts +3 -0
  122. package/dist/components/data-grid/tree/components/tree-main.d.ts.map +1 -0
  123. package/dist/components/data-grid/tree/components/tree-node-content.d.ts +7 -0
  124. package/dist/components/data-grid/tree/components/tree-node-content.d.ts.map +1 -0
  125. package/dist/components/data-grid/tree/components/tree-node-directory-item.d.ts +7 -0
  126. package/dist/components/data-grid/tree/components/tree-node-directory-item.d.ts.map +1 -0
  127. package/dist/components/data-grid/tree/components/tree-node-leaf.d.ts +7 -0
  128. package/dist/components/data-grid/tree/components/tree-node-leaf.d.ts.map +1 -0
  129. package/dist/components/data-grid/tree/components/tree-nodes.d.ts +7 -0
  130. package/dist/components/data-grid/tree/components/tree-nodes.d.ts.map +1 -0
  131. package/dist/components/data-grid/tree/components/tree-placeholder.d.ts +6 -0
  132. package/dist/components/data-grid/tree/components/tree-placeholder.d.ts.map +1 -0
  133. package/dist/components/data-grid/tree/create-tree.d.ts +5 -0
  134. package/dist/components/data-grid/tree/create-tree.d.ts.map +1 -0
  135. package/dist/components/data-grid/tree/services/core/tree-context.d.ts +21 -0
  136. package/dist/components/data-grid/tree/services/core/tree-context.d.ts.map +1 -0
  137. package/dist/components/data-grid/tree/services/focus/focus-service.d.ts +5 -0
  138. package/dist/components/data-grid/tree/services/focus/focus-service.d.ts.map +1 -0
  139. package/dist/components/data-grid/tree/services/focus/focus-types.d.ts +25 -0
  140. package/dist/components/data-grid/tree/services/focus/focus-types.d.ts.map +1 -0
  141. package/dist/components/data-grid/tree/services/focus/navigation-helpers.d.ts +27 -0
  142. package/dist/components/data-grid/tree/services/focus/navigation-helpers.d.ts.map +1 -0
  143. package/dist/components/data-grid/tree/services/hooked/hooked-types.d.ts +8 -0
  144. package/dist/components/data-grid/tree/services/hooked/hooked-types.d.ts.map +1 -0
  145. package/dist/components/data-grid/tree/services/hooked/hooked.d.ts +3 -0
  146. package/dist/components/data-grid/tree/services/hooked/hooked.d.ts.map +1 -0
  147. package/dist/components/data-grid/tree/services/internal/internal-helpers.d.ts +2 -0
  148. package/dist/components/data-grid/tree/services/internal/internal-helpers.d.ts.map +1 -0
  149. package/dist/components/data-grid/tree/services/layout/layout-service.d.ts +5 -0
  150. package/dist/components/data-grid/tree/services/layout/layout-service.d.ts.map +1 -0
  151. package/dist/components/data-grid/tree/services/layout/layout-types.d.ts +124 -0
  152. package/dist/components/data-grid/tree/services/layout/layout-types.d.ts.map +1 -0
  153. package/dist/components/data-grid/tree/services/plugins/plugins-helpers.d.ts +50 -0
  154. package/dist/components/data-grid/tree/services/plugins/plugins-helpers.d.ts.map +1 -0
  155. package/dist/components/data-grid/tree/services/plugins/plugins-service.d.ts +5 -0
  156. package/dist/components/data-grid/tree/services/plugins/plugins-service.d.ts.map +1 -0
  157. package/dist/components/data-grid/tree/services/plugins/plugins-types.d.ts +43 -0
  158. package/dist/components/data-grid/tree/services/plugins/plugins-types.d.ts.map +1 -0
  159. package/dist/components/data-grid/tree/services/settings/settings-service.d.ts +5 -0
  160. package/dist/components/data-grid/tree/services/settings/settings-service.d.ts.map +1 -0
  161. package/dist/components/data-grid/tree/services/settings/settings-types.d.ts +73 -0
  162. package/dist/components/data-grid/tree/services/settings/settings-types.d.ts.map +1 -0
  163. package/dist/components/data-grid/tree/tree-types.d.ts +44 -0
  164. package/dist/components/data-grid/tree/tree-types.d.ts.map +1 -0
  165. package/dist/components/data-grid/tree/tree.d.ts +4 -0
  166. package/dist/components/data-grid/tree/tree.d.ts.map +1 -0
  167. package/dist/components/data-grid/tree-structure/tree-structure-types.d.ts +89 -0
  168. package/dist/components/data-grid/tree-structure/tree-structure-types.d.ts.map +1 -0
  169. package/dist/components/data-grid/tree-structure/tree-structure.d.ts +19 -0
  170. package/dist/components/data-grid/tree-structure/tree-structure.d.ts.map +1 -0
  171. package/dist/components/data-grid/utils/components-stack.d.ts +12 -0
  172. package/dist/components/data-grid/utils/components-stack.d.ts.map +1 -0
  173. package/dist/components/data-grid/utils/use-is-tablet-up.d.ts +3 -0
  174. package/dist/components/data-grid/utils/use-is-tablet-up.d.ts.map +1 -0
  175. package/dist/data-grid/filters.d.ts +1 -0
  176. package/dist/data-grid/filters.js +1633 -0
  177. package/dist/data-grid/filters.js.map +1 -0
  178. package/dist/data-grid/pagination.js +39 -38
  179. package/dist/data-grid/pagination.js.map +1 -1
  180. package/dist/data-grid/text-search.js +55 -67
  181. package/dist/data-grid/text-search.js.map +1 -1
  182. package/dist/data-grid.js +578 -618
  183. package/dist/data-grid.js.map +1 -1
  184. package/dist/dialog.js +38 -38
  185. package/dist/docs/data-grid.md +172 -4
  186. package/dist/docs/drawer.md +1 -1
  187. package/dist/docs/questionnaire.md +1 -1
  188. package/dist/dropdown-menu.js +56 -56
  189. package/dist/empty.js +34 -34
  190. package/dist/index.d.ts +1 -0
  191. package/dist/index.d.ts.map +1 -1
  192. package/dist/index.js +392 -382
  193. package/dist/index.js.map +1 -1
  194. package/dist/select.js +45 -45
  195. package/dist/sidebar.js +112 -112
  196. package/dist/tabs.js +14 -14
  197. package/llms.txt +2 -2
  198. package/package.json +1 -4
  199. package/dist/chunks/data-grid.DIkpRRaf.css +0 -1
  200. package/dist/chunks/dialog.Cpo8vChK.css +0 -1
  201. package/dist/chunks/dropdown-menu.TU3FHXbJ.css +0 -1
  202. package/dist/chunks/empty.DWqLrSfF.css +0 -1
  203. package/dist/chunks/pagination.Cn8tIWMX.css +0 -1
  204. package/dist/chunks/sidebar.CIuN--7U.css +0 -1
  205. package/dist/chunks/tabs.DFa0OYMo.css +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkbox-group-list.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/data-grid/plugins/filters/entities/checkbox-group/checkbox-group-list.tsx"],"names":[],"mappings":";AAOA,OAAO,KAAK,EACV,iCAAiC,EACjC,iCAAiC,EAElC,MAAM,qBAAqB,CAAC;AAK7B,KAAK,UAAU,GAAG,GAAG,GAAG,IAAI,CAAC;AAC7B,KAAK,WAAW,GAAG,iCAAiC,CAAC,OAAO,CAAC,CAAC;AAE9D,UAAU,sBAAsB;IAC9B,YAAY,EAAE,iCAAiC,CAAC;IAChD,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB,QAAQ,EAAE,CAAC,KAAK,EAAE,WAAW,EAAE,KAAK,IAAI,CAAC;IACzC,UAAU,EAAE,UAAU,CAAC;CACxB;AAmGD,wBAAgB,iBAAiB,CAAC,EAAE,YAAY,EAAE,GAAG,IAAI,EAAE,EAAE,sBAAsB,+BAWlF"}
@@ -0,0 +1,7 @@
1
+ import { DataGridFilterCheckboxGroupEntity } from '../../filters-types';
2
+ interface CheckboxGroupQuickFilterProps {
3
+ filterEntity: DataGridFilterCheckboxGroupEntity;
4
+ }
5
+ export declare function CheckboxGroupQuickFilter({ filterEntity }: CheckboxGroupQuickFilterProps): import("react").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=checkbox-group-quick-filter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkbox-group-quick-filter.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/data-grid/plugins/filters/entities/checkbox-group/checkbox-group-quick-filter.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,EACV,iCAAiC,EAElC,MAAM,qBAAqB,CAAC;AAI7B,UAAU,6BAA6B;IACrC,YAAY,EAAE,iCAAiC,CAAC;CACjD;AAED,wBAAgB,wBAAwB,CAAC,EAAE,YAAY,EAAE,EAAE,6BAA6B,+BAyBvF"}
@@ -0,0 +1,20 @@
1
+ import { DataGridFilterCheckboxGroupEntity, DataGridFilterCheckboxGroupOption, DataGridFilterCheckboxGroupOptionsLoader, DataGridFilterEntity, DataGridFilterPopoverOptions } from '../../filters-types';
2
+ interface DataGridFilterCheckboxGroupConfig {
3
+ /** Must match the column id to properly associate the filter with its corresponding column. */
4
+ id: DataGridFilterEntity['id'];
5
+ filterKey?: DataGridFilterEntity['filterKey'];
6
+ label?: DataGridFilterEntity['label'];
7
+ /**
8
+ * A static option list (filtered locally) or an async resolver. Pass a
9
+ * function to search options server-side when the set is too large to load up
10
+ * front — it receives the trimmed term (empty string for the initial list).
11
+ */
12
+ options: DataGridFilterCheckboxGroupOption[] | DataGridFilterCheckboxGroupOptionsLoader;
13
+ search?: boolean;
14
+ /** Debounce in ms applied to the async options resolver. Defaults to 300. */
15
+ searchDebounce?: number;
16
+ popover?: DataGridFilterPopoverOptions;
17
+ }
18
+ export declare function filterCheckboxGroup(config: DataGridFilterCheckboxGroupConfig): DataGridFilterCheckboxGroupEntity;
19
+ export {};
20
+ //# sourceMappingURL=filter-checkbox-group.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filter-checkbox-group.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/data-grid/plugins/filters/entities/checkbox-group/filter-checkbox-group.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iCAAiC,EAEjC,iCAAiC,EACjC,wCAAwC,EAExC,oBAAoB,EACpB,4BAA4B,EAC7B,MAAM,qBAAqB,CAAC;AAK7B,UAAU,iCAAiC;IACzC,+FAA+F;IAC/F,EAAE,EAAE,oBAAoB,CAAC,IAAI,CAAC,CAAC;IAC/B,SAAS,CAAC,EAAE,oBAAoB,CAAC,WAAW,CAAC,CAAC;IAC9C,KAAK,CAAC,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;IACtC;;;;OAIG;IACH,OAAO,EAAE,iCAAiC,EAAE,GAAG,wCAAwC,CAAC;IACxF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,6EAA6E;IAC7E,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,4BAA4B,CAAC;CACxC;AAED,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,iCAAiC,GACxC,iCAAiC,CAuBnC"}
@@ -0,0 +1,17 @@
1
+ import { DataGridFilterDateRangeValue } from '../../filters-types';
2
+ interface DateRangeCalendarProps {
3
+ value: DataGridFilterDateRangeValue;
4
+ onChange: (value: DataGridFilterDateRangeValue) => void;
5
+ modelDateFormat?: string;
6
+ }
7
+ /**
8
+ * The body shared by the date-range quick filter and its dialog variant: an inline range calendar
9
+ * over `{ from, to }` model-format strings.
10
+ *
11
+ * A click on a day goes through `selectDay`, which owns the gesture, including "a click on a
12
+ * complete range starts a new one". The new bounds are reported in one `onChange`, so the filter
13
+ * state updates once per click.
14
+ */
15
+ export declare function DateRangeCalendar({ value, onChange, modelDateFormat }: DateRangeCalendarProps): import("react").JSX.Element;
16
+ export {};
17
+ //# sourceMappingURL=date-range-calendar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date-range-calendar.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/data-grid/plugins/filters/entities/date-range/date-range-calendar.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AAIxE,UAAU,sBAAsB;IAC9B,KAAK,EAAE,4BAA4B,CAAC;IACpC,QAAQ,EAAE,CAAC,KAAK,EAAE,4BAA4B,KAAK,IAAI,CAAC;IACxD,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAKD;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAE,EAAE,sBAAsB,+BA+B7F"}
@@ -0,0 +1,7 @@
1
+ import { DataGridFilterDateRangeEntity } from '../../filters-types';
2
+ interface DateRangeDialogFilterProps {
3
+ filterEntity: DataGridFilterDateRangeEntity;
4
+ }
5
+ export declare function DateRangeDialogFilter({ filterEntity }: DateRangeDialogFilterProps): import("react").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=date-range-dialog-filter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date-range-dialog-filter.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/data-grid/plugins/filters/entities/date-range/date-range-dialog-filter.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,EACV,6BAA6B,EAI9B,MAAM,qBAAqB,CAAC;AAI7B,UAAU,0BAA0B;IAClC,YAAY,EAAE,6BAA6B,CAAC;CAC7C;AAED,wBAAgB,qBAAqB,CAAC,EAAE,YAAY,EAAE,EAAE,0BAA0B,+BAwBjF"}
@@ -0,0 +1,7 @@
1
+ import { DataGridFilterDateRangeEntity } from '../../filters-types';
2
+ interface DateRangeQuickFilterProps {
3
+ filterEntity: DataGridFilterDateRangeEntity;
4
+ }
5
+ export declare function DateRangeQuickFilter({ filterEntity }: DateRangeQuickFilterProps): import("react").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=date-range-quick-filter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date-range-quick-filter.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/data-grid/plugins/filters/entities/date-range/date-range-quick-filter.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,EACV,6BAA6B,EAI9B,MAAM,qBAAqB,CAAC;AAI7B,UAAU,yBAAyB;IACjC,YAAY,EAAE,6BAA6B,CAAC;CAC7C;AAED,wBAAgB,oBAAoB,CAAC,EAAE,YAAY,EAAE,EAAE,yBAAyB,+BA0B/E"}
@@ -0,0 +1,16 @@
1
+ export interface DayRange {
2
+ from: Date | null;
3
+ to: Date | null;
4
+ }
5
+ /**
6
+ * The range after a click on `clicked`: a two-click cycle driven by the clicked day rather than by
7
+ * the range the calendar reports.
8
+ *
9
+ * The calendar answers the very first click of a new range with `{ from: day, to: day }`, so a
10
+ * range read straight off it looks complete after one click, and every later click would be taken
11
+ * as the start of a new one, leaving a multi-day range unselectable. Deriving the cycle from the
12
+ * committed bounds avoids that, and orders the two clicked days itself, so picking the end before
13
+ * the start still gives a forward range.
14
+ */
15
+ export declare function selectDay({ from, to }: DayRange, clicked: Date): DayRange;
16
+ //# sourceMappingURL=date-range-selection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date-range-selection.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/data-grid/plugins/filters/entities/date-range/date-range-selection.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,EAAE,EAAE,IAAI,GAAG,IAAI,CAAC;CACjB;AAED;;;;;;;;;GASG;AACH,wBAAgB,SAAS,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,GAAG,QAAQ,CAYzE"}
@@ -0,0 +1,19 @@
1
+ import { DataGridFilterDateRangeValue } from '../../filters-types';
2
+ /**
3
+ * Default format of the emitted bounds, as date-fns tokens. Calendar-only dates: a date filter has
4
+ * no time of day, and plain dates are what range query params expect.
5
+ */
6
+ export declare const dateRangeModelFormat = "yyyy-MM-dd";
7
+ /** A range with neither bound set filters nothing, so it is stored as no filter at all. */
8
+ export declare function isEmptyDateRange(value: DataGridFilterDateRangeValue): boolean;
9
+ /**
10
+ * Reads a bound the filter state holds. It is text the user may have edited (it is stored in the
11
+ * browser, or in the address bar), so anything that is not a date in `modelFormat` is no date.
12
+ */
13
+ export declare function parseModelDate(modelValue: unknown, modelFormat: string): Date | null;
14
+ /**
15
+ * A day as a bound. The time of day is noon, so that a format that carries one is not thrown a day
16
+ * off by the zone the value is later read in.
17
+ */
18
+ export declare function formatToModel(date: Date, modelFormat: string): string;
19
+ //# sourceMappingURL=date-range-value.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date-range-value.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/data-grid/plugins/filters/entities/date-range/date-range-value.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AAExE;;;GAGG;AACH,eAAO,MAAM,oBAAoB,eAAe,CAAC;AAEjD,2FAA2F;AAC3F,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,4BAA4B,GAAG,OAAO,CAE7E;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,UAAU,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAKpF;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,GAAG,MAAM,CAErE"}
@@ -0,0 +1,16 @@
1
+ import { DataGridFilterDateRangeEntity, DataGridFilterEntity, DataGridFilterPopoverOptions } from '../../filters-types';
2
+ interface DataGridFilterDateRangeConfig {
3
+ /** Must match the column id to properly associate the filter with its corresponding column. */
4
+ id: DataGridFilterEntity['id'];
5
+ filterKey?: DataGridFilterEntity['filterKey'];
6
+ label?: DataGridFilterEntity['label'];
7
+ /**
8
+ * Format the bounds are emitted in and parsed from, in date-fns tokens. Defaults to `yyyy-MM-dd`
9
+ * (calendar dates) — deliberately not the date picker's ISO-timestamp model default.
10
+ */
11
+ modelDateFormat?: string;
12
+ popover?: DataGridFilterPopoverOptions;
13
+ }
14
+ export declare function filterDateRange(config: DataGridFilterDateRangeConfig): DataGridFilterDateRangeEntity;
15
+ export {};
16
+ //# sourceMappingURL=filter-date-range.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filter-date-range.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/data-grid/plugins/filters/entities/date-range/filter-date-range.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,6BAA6B,EAG7B,oBAAoB,EACpB,4BAA4B,EAC7B,MAAM,qBAAqB,CAAC;AAK7B,UAAU,6BAA6B;IACrC,+FAA+F;IAC/F,EAAE,EAAE,oBAAoB,CAAC,IAAI,CAAC,CAAC;IAC/B,SAAS,CAAC,EAAE,oBAAoB,CAAC,WAAW,CAAC,CAAC;IAC9C,KAAK,CAAC,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;IACtC;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,4BAA4B,CAAC;CACxC;AAED,wBAAgB,eAAe,CAC7B,MAAM,EAAE,6BAA6B,GACpC,6BAA6B,CAe/B"}
@@ -0,0 +1,7 @@
1
+ import { LoadContextFiltersState } from '../../../services/plugins/plugins-types';
2
+ import { DataGridFilterEntity, filterStateBrandKey } from '../filters-types';
3
+ /**
4
+ * Helper to create a filter entity with the brand key for type inference.
5
+ */
6
+ export declare function createFilterEntity<State extends LoadContextFiltersState = LoadContextFiltersState, Params extends Record<PropertyKey, any> | void = any>(entity: Omit<DataGridFilterEntity<State, Params>, typeof filterStateBrandKey>): DataGridFilterEntity<State, Params>;
7
+ //# sourceMappingURL=entities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/plugins/filters/entities/entities.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAC;AACvF,OAAO,KAAK,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAElF;;GAEG;AACH,wBAAgB,kBAAkB,CAChC,KAAK,SAAS,uBAAuB,GAAG,uBAAuB,EAE/D,MAAM,SAAS,MAAM,CAAC,WAAW,EAAE,GAAG,CAAC,GAAG,IAAI,GAAG,GAAG,EACpD,MAAM,EAAE,IAAI,CAAC,oBAAoB,CAAC,KAAK,EAAE,MAAM,CAAC,EAAE,OAAO,mBAAmB,CAAC,uCAE9E"}
@@ -0,0 +1,10 @@
1
+ import { DataGridFilterEntity, DataGridFilterSearchEntity } from '../../filters-types';
2
+ interface DataGridFilterSearchConfig {
3
+ /** Must match the column id to properly associate the filter with its corresponding column. */
4
+ id: DataGridFilterSearchEntity['id'];
5
+ filterKey?: DataGridFilterEntity['filterKey'];
6
+ label?: DataGridFilterSearchEntity['label'];
7
+ }
8
+ export declare function filterSearch(config: DataGridFilterSearchConfig): DataGridFilterSearchEntity;
9
+ export {};
10
+ //# sourceMappingURL=filter-search.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filter-search.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/data-grid/plugins/filters/entities/search/filter-search.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EACpB,0BAA0B,EAE3B,MAAM,qBAAqB,CAAC;AAI7B,UAAU,0BAA0B;IAClC,+FAA+F;IAC/F,EAAE,EAAE,0BAA0B,CAAC,IAAI,CAAC,CAAC;IACrC,SAAS,CAAC,EAAE,oBAAoB,CAAC,WAAW,CAAC,CAAC;IAC9C,KAAK,CAAC,EAAE,0BAA0B,CAAC,OAAO,CAAC,CAAC;CAC7C;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,0BAA0B,GAAG,0BAA0B,CAO3F"}
@@ -0,0 +1,7 @@
1
+ import { DataGridFilterSearchEntity } from '../../filters-types';
2
+ interface FilterSearchProps {
3
+ filterEntity: DataGridFilterSearchEntity;
4
+ }
5
+ export declare function FilterSearch({ filterEntity }: FilterSearchProps): import("react").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=search-quick-filter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-quick-filter.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/data-grid/plugins/filters/entities/search/search-quick-filter.tsx"],"names":[],"mappings":";AAKA,OAAO,KAAK,EACV,0BAA0B,EAG3B,MAAM,qBAAqB,CAAC;AAE7B,UAAU,iBAAiB;IACzB,YAAY,EAAE,0BAA0B,CAAC;CAC1C;AAED,wBAAgB,YAAY,CAAC,EAAE,YAAY,EAAE,EAAE,iBAAiB,+BAuC/D"}
@@ -0,0 +1,14 @@
1
+ import { DataGridFilterEntity, DataGridFilterPopoverOptions, DataGridFilterTagGroupEntity, DataGridFilterTagGroupMode, DataGridFilterTagGroupOption } from '../../filters-types';
2
+ interface DataGridFilterTagGroupConfig {
3
+ /** Must match the column id to properly associate the filter with its corresponding column. */
4
+ id: DataGridFilterEntity['id'];
5
+ filterKey?: DataGridFilterEntity['filterKey'];
6
+ label?: DataGridFilterEntity['label'];
7
+ options: DataGridFilterTagGroupOption[];
8
+ mode?: DataGridFilterTagGroupMode;
9
+ search?: boolean;
10
+ popover?: DataGridFilterPopoverOptions;
11
+ }
12
+ export declare function filterTagGroup(config: DataGridFilterTagGroupConfig): DataGridFilterTagGroupEntity;
13
+ export {};
14
+ //# sourceMappingURL=filter-tag-group.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filter-tag-group.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/data-grid/plugins/filters/entities/tag-group/filter-tag-group.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EACpB,4BAA4B,EAC5B,4BAA4B,EAE5B,0BAA0B,EAC1B,4BAA4B,EAE7B,MAAM,qBAAqB,CAAC;AAK7B,UAAU,4BAA4B;IACpC,+FAA+F;IAC/F,EAAE,EAAE,oBAAoB,CAAC,IAAI,CAAC,CAAC;IAC/B,SAAS,CAAC,EAAE,oBAAoB,CAAC,WAAW,CAAC,CAAC;IAC9C,KAAK,CAAC,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;IACtC,OAAO,EAAE,4BAA4B,EAAE,CAAC;IACxC,IAAI,CAAC,EAAE,0BAA0B,CAAC;IAClC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,4BAA4B,CAAC;CACxC;AAED,wBAAgB,cAAc,CAAC,MAAM,EAAE,4BAA4B,GAAG,4BAA4B,CAgBjG"}
@@ -0,0 +1,7 @@
1
+ import { DataGridFilterTagGroupEntity } from '../../filters-types';
2
+ interface TagGroupDialogFilterProps {
3
+ filterEntity: DataGridFilterTagGroupEntity;
4
+ }
5
+ export declare function TagGroupDialogFilter({ filterEntity }: TagGroupDialogFilterProps): import("react").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=tag-group-dialog-filter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tag-group-dialog-filter.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/data-grid/plugins/filters/entities/tag-group/tag-group-dialog-filter.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAE,4BAA4B,EAA4B,MAAM,qBAAqB,CAAC;AAIlG,UAAU,yBAAyB;IACjC,YAAY,EAAE,4BAA4B,CAAC;CAC5C;AAED,wBAAgB,oBAAoB,CAAC,EAAE,YAAY,EAAE,EAAE,yBAAyB,+BAqB/E"}
@@ -0,0 +1,11 @@
1
+ import { DataGridFilterTagGroupEntity, DataGridFilterTagGroupOption } from '../../filters-types';
2
+ type SearchSize = 'm' | 'xl';
3
+ interface TagGroupListProps {
4
+ filterEntity: DataGridFilterTagGroupEntity;
5
+ value: DataGridFilterTagGroupOption['value'][];
6
+ onChange: (value: DataGridFilterTagGroupOption['value'][]) => void;
7
+ searchSize: SearchSize;
8
+ }
9
+ export declare function TagGroupList({ filterEntity, value, onChange, searchSize }: TagGroupListProps): import("react").JSX.Element;
10
+ export {};
11
+ //# sourceMappingURL=tag-group-list.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tag-group-list.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/data-grid/plugins/filters/entities/tag-group/tag-group-list.tsx"],"names":[],"mappings":";AAKA,OAAO,KAAK,EACV,4BAA4B,EAC5B,4BAA4B,EAC7B,MAAM,qBAAqB,CAAC;AAI7B,KAAK,UAAU,GAAG,GAAG,GAAG,IAAI,CAAC;AAE7B,UAAU,iBAAiB;IACzB,YAAY,EAAE,4BAA4B,CAAC;IAC3C,KAAK,EAAE,4BAA4B,CAAC,OAAO,CAAC,EAAE,CAAC;IAC/C,QAAQ,EAAE,CAAC,KAAK,EAAE,4BAA4B,CAAC,OAAO,CAAC,EAAE,KAAK,IAAI,CAAC;IACnE,UAAU,EAAE,UAAU,CAAC;CACxB;AAED,wBAAgB,YAAY,CAAC,EAAE,YAAY,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,EAAE,iBAAiB,+BAkD5F"}
@@ -0,0 +1,7 @@
1
+ import { DataGridFilterTagGroupEntity } from '../../filters-types';
2
+ interface TagGroupQuickFilterProps {
3
+ filterEntity: DataGridFilterTagGroupEntity;
4
+ }
5
+ export declare function TagGroupQuickFilter({ filterEntity }: TagGroupQuickFilterProps): import("react").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=tag-group-quick-filter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tag-group-quick-filter.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/data-grid/plugins/filters/entities/tag-group/tag-group-quick-filter.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAE,4BAA4B,EAA4B,MAAM,qBAAqB,CAAC;AAIlG,UAAU,wBAAwB;IAChC,YAAY,EAAE,4BAA4B,CAAC;CAC5C;AAED,wBAAgB,mBAAmB,CAAC,EAAE,YAAY,EAAE,EAAE,wBAAwB,+BAyB7E"}
@@ -0,0 +1,10 @@
1
+ import { DataGridFilterEntity, DataGridFilterToggleEntity } from '../../filters-types';
2
+ interface DataGridFilterToggleConfig {
3
+ /** Must match the column id to properly associate the filter with its corresponding column. */
4
+ id: DataGridFilterToggleEntity['id'];
5
+ filterKey?: DataGridFilterEntity['filterKey'];
6
+ label?: DataGridFilterToggleEntity['label'];
7
+ }
8
+ export declare function filterToggle(config: DataGridFilterToggleConfig): DataGridFilterToggleEntity;
9
+ export {};
10
+ //# sourceMappingURL=filter-toggle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filter-toggle.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/data-grid/plugins/filters/entities/toggle/filter-toggle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EACpB,0BAA0B,EAE3B,MAAM,qBAAqB,CAAC;AAI7B,UAAU,0BAA0B;IAClC,+FAA+F;IAC/F,EAAE,EAAE,0BAA0B,CAAC,IAAI,CAAC,CAAC;IACrC,SAAS,CAAC,EAAE,oBAAoB,CAAC,WAAW,CAAC,CAAC;IAC9C,KAAK,CAAC,EAAE,0BAA0B,CAAC,OAAO,CAAC,CAAC;CAC7C;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,0BAA0B,GAAG,0BAA0B,CAO3F"}
@@ -0,0 +1,7 @@
1
+ import { DataGridFilterToggleEntity } from '../../filters-types';
2
+ interface FilterToggleProps {
3
+ filterEntity: DataGridFilterToggleEntity;
4
+ }
5
+ export declare function FilterToggle({ filterEntity }: FilterToggleProps): import("react").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=toggle-quick-filter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toggle-quick-filter.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/data-grid/plugins/filters/entities/toggle/toggle-quick-filter.tsx"],"names":[],"mappings":";AAGA,OAAO,KAAK,EAAE,0BAA0B,EAA4B,MAAM,qBAAqB,CAAC;AAEhG,UAAU,iBAAiB;IACzB,YAAY,EAAE,0BAA0B,CAAC;CAC1C;AAED,wBAAgB,YAAY,CAAC,EAAE,YAAY,EAAE,EAAE,iBAAiB,+BAoB/D"}
@@ -0,0 +1,20 @@
1
+ import { TreeLabel } from '../../../../tree/services/settings/settings-types';
2
+ import { DataGridTreeItem, DataGridTreeStructure } from '../../../../tree-structure/tree-structure-types';
3
+ import { DataGridFilterEntity, DataGridFilterPopoverOptions, DataGridFilterTreeEntity } from '../../filters-types';
4
+ interface DataGridFilterTreeConfig<Item extends DataGridTreeItem = DataGridTreeItem> {
5
+ /** Must match the column id to properly associate the filter with its corresponding column. */
6
+ id: DataGridFilterEntity['id'];
7
+ filterKey?: DataGridFilterEntity['filterKey'];
8
+ label?: DataGridFilterEntity['label'];
9
+ tree: DataGridTreeStructure<Item>;
10
+ treeLabel: TreeLabel<Item>;
11
+ /** Maps the selected tree node to the filter value sent to the load function.
12
+ * When omitted, the node's key (id) is used as the filter value.
13
+ * Pass a property name (e.g. 'name') or a function (item) => value. */
14
+ filterValue?: string | ((item: Item) => string | number);
15
+ search?: boolean;
16
+ popover?: DataGridFilterPopoverOptions;
17
+ }
18
+ export declare function filterTree<Item extends DataGridTreeItem = DataGridTreeItem>(config: DataGridFilterTreeConfig<Item>): DataGridFilterTreeEntity;
19
+ export {};
20
+ //# sourceMappingURL=filter-tree.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filter-tree.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/data-grid/plugins/filters/entities/tree/filter-tree.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mDAAmD,CAAC;AACnF,OAAO,KAAK,EACV,gBAAgB,EAChB,qBAAqB,EACtB,MAAM,iDAAiD,CAAC;AACzD,OAAO,KAAK,EACV,oBAAoB,EACpB,4BAA4B,EAC5B,wBAAwB,EAGzB,MAAM,qBAAqB,CAAC;AAM7B,UAAU,wBAAwB,CAAC,IAAI,SAAS,gBAAgB,GAAG,gBAAgB;IACjF,+FAA+F;IAC/F,EAAE,EAAE,oBAAoB,CAAC,IAAI,CAAC,CAAC;IAC/B,SAAS,CAAC,EAAE,oBAAoB,CAAC,WAAW,CAAC,CAAC;IAC9C,KAAK,CAAC,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;IACtC,IAAI,EAAE,qBAAqB,CAAC,IAAI,CAAC,CAAC;IAClC,SAAS,EAAE,SAAS,CAAC,IAAI,CAAC,CAAC;IAC3B;;4EAEwE;IACxE,WAAW,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,IAAI,EAAE,IAAI,KAAK,MAAM,GAAG,MAAM,CAAC,CAAC;IACzD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,4BAA4B,CAAC;CACxC;AAED,wBAAgB,UAAU,CAAC,IAAI,SAAS,gBAAgB,GAAG,gBAAgB,EACzE,MAAM,EAAE,wBAAwB,CAAC,IAAI,CAAC,GACrC,wBAAwB,CAqB1B"}
@@ -0,0 +1,8 @@
1
+ import { DataGridTreeItem, DataGridTreeItemId, DataGridTreeNode } from '../../../../tree-structure/tree-structure-types';
2
+ type FilterValueMapper<T extends DataGridTreeItem = DataGridTreeItem> = string | ((item: T) => string | number);
3
+ interface TreeLike<T extends DataGridTreeItem = DataGridTreeItem> {
4
+ getNode: (id: DataGridTreeItemId) => DataGridTreeNode<T> | undefined;
5
+ }
6
+ export declare function resolveFilterTreeValue<T extends DataGridTreeItem = DataGridTreeItem>(tree: TreeLike<T>, nodeId: DataGridTreeItemId, filterValue?: FilterValueMapper<T>): string | number;
7
+ export {};
8
+ //# sourceMappingURL=resolve-filter-tree-value.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolve-filter-tree-value.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/data-grid/plugins/filters/entities/tree/resolve-filter-tree-value.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EACjB,MAAM,iDAAiD,CAAC;AAEzD,KAAK,iBAAiB,CAAC,CAAC,SAAS,gBAAgB,GAAG,gBAAgB,IAClE,MAAM,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,MAAM,GAAG,MAAM,CAAC,CAAC;AAE1C,UAAU,QAAQ,CAAC,CAAC,SAAS,gBAAgB,GAAG,gBAAgB;IAC9D,OAAO,EAAE,CAAC,EAAE,EAAE,kBAAkB,KAAK,gBAAgB,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC;CACtE;AAED,wBAAgB,sBAAsB,CAAC,CAAC,SAAS,gBAAgB,GAAG,gBAAgB,EAClF,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,EACjB,MAAM,EAAE,kBAAkB,EAC1B,WAAW,CAAC,EAAE,iBAAiB,CAAC,CAAC,CAAC,GACjC,MAAM,GAAG,MAAM,CAgBjB"}
@@ -0,0 +1,7 @@
1
+ import { DataGridFilterTreeEntity } from '../../filters-types';
2
+ interface TreeDialogFilterProps {
3
+ filterEntity: DataGridFilterTreeEntity;
4
+ }
5
+ export declare function TreeDialogFilter({ filterEntity }: TreeDialogFilterProps): import("react").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=tree-dialog-filter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tree-dialog-filter.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/data-grid/plugins/filters/entities/tree/tree-dialog-filter.tsx"],"names":[],"mappings":";AAGA,OAAO,KAAK,EACV,wBAAwB,EAGzB,MAAM,qBAAqB,CAAC;AAG7B,UAAU,qBAAqB;IAC7B,YAAY,EAAE,wBAAwB,CAAC;CACxC;AAED,wBAAgB,gBAAgB,CAAC,EAAE,YAAY,EAAE,EAAE,qBAAqB,+BAgBvE"}
@@ -0,0 +1,12 @@
1
+ import { DataGridTreeItemId } from '../../../../tree-structure/tree-structure-types';
2
+ import { DataGridFilterTreeEntity } from '../../filters-types';
3
+ type SearchSize = 'm' | 'xl';
4
+ interface TreeListProps {
5
+ filterEntity: DataGridFilterTreeEntity;
6
+ value: DataGridTreeItemId | undefined;
7
+ onChange: (value: DataGridTreeItemId) => void;
8
+ searchSize: SearchSize;
9
+ }
10
+ export declare function TreeList({ filterEntity, value, onChange, searchSize }: TreeListProps): import("react").JSX.Element;
11
+ export {};
12
+ //# sourceMappingURL=tree-list.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tree-list.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/data-grid/plugins/filters/entities/tree/tree-list.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAEV,kBAAkB,EACnB,MAAM,iDAAiD,CAAC;AAIzD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAKpE,KAAK,UAAU,GAAG,GAAG,GAAG,IAAI,CAAC;AAE7B,UAAU,aAAa;IACrB,YAAY,EAAE,wBAAwB,CAAC;IACvC,KAAK,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACtC,QAAQ,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAC9C,UAAU,EAAE,UAAU,CAAC;CACxB;AAED,wBAAgB,QAAQ,CAAC,EAAE,YAAY,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,EAAE,aAAa,+BA0BpF"}
@@ -0,0 +1,7 @@
1
+ import { DataGridFilterTreeEntity } from '../../filters-types';
2
+ interface TreeQuickFilterProps {
3
+ filterEntity: DataGridFilterTreeEntity;
4
+ }
5
+ export declare function TreeQuickFilter({ filterEntity }: TreeQuickFilterProps): import("react").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=tree-quick-filter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tree-quick-filter.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/data-grid/plugins/filters/entities/tree/tree-quick-filter.tsx"],"names":[],"mappings":";AAGA,OAAO,KAAK,EACV,wBAAwB,EAGzB,MAAM,qBAAqB,CAAC;AAG7B,UAAU,oBAAoB;IAC5B,YAAY,EAAE,wBAAwB,CAAC;CACxC;AAED,wBAAgB,eAAe,CAAC,EAAE,YAAY,EAAE,EAAE,oBAAoB,+BAgBrE"}
@@ -0,0 +1,13 @@
1
+ import { PluginApi } from '../../../../tree/services/plugins/plugins-helpers';
2
+ import { DataGridTreeItemId } from '../../../../tree-structure/tree-structure-types';
3
+ export interface TreeRadioSelectPluginProps extends Record<string, unknown> {
4
+ value?: DataGridTreeItemId;
5
+ name?: string;
6
+ onChange?: (id: DataGridTreeItemId) => void;
7
+ }
8
+ export interface TreeRadioSelectPluginApi extends PluginApi<TreeRadioSelectPluginProps> {
9
+ useSelectedId: () => DataGridTreeItemId | undefined;
10
+ select: (id: DataGridTreeItemId) => void;
11
+ }
12
+ export declare const TreeRadioSelectPlugin: import('react').NamedExoticComponent<TreeRadioSelectPluginProps>;
13
+ //# sourceMappingURL=tree-radio-select-plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tree-radio-select-plugin.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/data-grid/plugins/filters/entities/tree/tree-radio-select-plugin.tsx"],"names":[],"mappings":";AAMA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mDAAmD,CAAC;AACnF,OAAO,KAAK,EAEV,kBAAkB,EACnB,MAAM,iDAAiD,CAAC;AAOzD,MAAM,WAAW,0BAA2B,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IACzE,KAAK,CAAC,EAAE,kBAAkB,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,kBAAkB,KAAK,IAAI,CAAC;CAC7C;AAED,MAAM,WAAW,wBAAyB,SAAQ,SAAS,CAAC,0BAA0B,CAAC;IACrF,aAAa,EAAE,MAAM,kBAAkB,GAAG,SAAS,CAAC;IACpD,MAAM,EAAE,CAAC,EAAE,EAAE,kBAAkB,KAAK,IAAI,CAAC;CAC1C;AAsCD,eAAO,MAAM,qBAAqB,kEAkChC,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { DataGridTreeItem, DataGridTreeItemId, DataGridTreeStructure } from '../../../../tree-structure/tree-structure-types';
2
+ export declare function useTreeSearch<Item extends DataGridTreeItem>(treeStructure: DataGridTreeStructure<Item>, getLabel: (item: Item) => string): {
3
+ searchTerm: string;
4
+ setSearchTerm: import('react').Dispatch<import('react').SetStateAction<string>>;
5
+ matchingItemIds: Set<DataGridTreeItemId> | null;
6
+ filter: (item: Item) => boolean;
7
+ };
8
+ //# sourceMappingURL=use-tree-search.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-tree-search.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/data-grid/plugins/filters/entities/tree/use-tree-search.ts"],"names":[],"mappings":";AACA,OAAO,KAAK,EACV,gBAAgB,EAChB,kBAAkB,EAElB,qBAAqB,EACtB,MAAM,iDAAiD,CAAC;AAGzD,wBAAgB,aAAa,CAAC,IAAI,SAAS,gBAAgB,EACzD,aAAa,EAAE,qBAAqB,CAAC,IAAI,CAAC,EAC1C,QAAQ,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,MAAM;;;;mBA6BV,IAAI;EA0B3B"}
@@ -0,0 +1,3 @@
1
+ import { DataGridFiltersPluginProps } from './filters-types';
2
+ export declare const DataGridFiltersPlugin: import('react').NamedExoticComponent<DataGridFiltersPluginProps>;
3
+ //# sourceMappingURL=filters-plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filters-plugin.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/plugins/filters/filters-plugin.tsx"],"names":[],"mappings":";AAgBA,OAAO,KAAK,EAAwB,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AAWxF,eAAO,MAAM,qBAAqB,kEAiKhC,CAAC"}
@@ -0,0 +1,141 @@
1
+ import { ComponentType, ReactNode } from 'react';
2
+ import { LoadContextFilterKey, LoadContextFiltersState } from '../../services/plugins/plugins-types';
3
+ /**
4
+ * Brand key for type inference of filter entity state.
5
+ */
6
+ export declare const filterStateBrandKey: unique symbol;
7
+ export type DataGridFilterEntity<State extends LoadContextFiltersState = LoadContextFiltersState, Params extends Record<PropertyKey, any> | void = any> = {
8
+ [filterStateBrandKey]: State;
9
+ /** Column id or unique identifier. Used as filterKey default and for label resolution. */
10
+ id: string;
11
+ /** Key used in the filters load context. Defaults to `id`. */
12
+ filterKey: LoadContextFilterKey;
13
+ /** Display label. Falls back to column label if id matches a column. */
14
+ label?: ReactNode;
15
+ /** Quick-filter component rendered in the filter bar. */
16
+ filterComponent?: ComponentType<{
17
+ filterEntity: any;
18
+ }>;
19
+ /** Dialog-filter component rendered in the "All Filters" dialog. */
20
+ dialogFilterComponent?: ComponentType<{
21
+ filterEntity: any;
22
+ }>;
23
+ /** Optional transform applied when building the load context.
24
+ * Receives the raw filter state and returns the state sent to the load function. */
25
+ resolveLoadValue?: (state: LoadContextFiltersState) => LoadContextFiltersState;
26
+ } & (Params extends void ? {
27
+ params?: never;
28
+ } : {
29
+ params: Params;
30
+ });
31
+ export type DataGridInferFilterEntityState<Entity extends DataGridFilterEntity> = Entity extends DataGridFilterEntity<infer State> ? State : never;
32
+ export interface DataGridFilterPopoverOptions {
33
+ minInlineSize: number;
34
+ /** Constraining the popover width. */
35
+ maxInlineSize?: number;
36
+ }
37
+ export interface DataGridFilterSearchState {
38
+ value: string;
39
+ }
40
+ export type DataGridFilterSearchEntity = DataGridFilterEntity<DataGridFilterSearchState>;
41
+ export interface DataGridFilterToggleState {
42
+ value: boolean;
43
+ }
44
+ export type DataGridFilterToggleEntity = DataGridFilterEntity<DataGridFilterToggleState>;
45
+ export interface DataGridFilterCheckboxGroupOption {
46
+ label: ReactNode;
47
+ value: string | number;
48
+ component?: ComponentType<{
49
+ option: DataGridFilterCheckboxGroupOption;
50
+ }>;
51
+ }
52
+ export interface DataGridFilterCheckboxGroupState {
53
+ value: DataGridFilterCheckboxGroupOption['value'][];
54
+ }
55
+ /**
56
+ * Async options resolver for a checkbox filter. When `options` is a function
57
+ * instead of an array, the search box queries it (debounced) instead of
58
+ * filtering locally — use it when the option set is too large to load up front.
59
+ * Receives the trimmed search term (empty string for the initial list) and
60
+ * returns the options to show. The list manages its own debounce, loading, and
61
+ * stale-response handling.
62
+ */
63
+ export type DataGridFilterCheckboxGroupOptionsLoader = (query: string) => Promise<DataGridFilterCheckboxGroupOption[]>;
64
+ export interface DataGridFilterCheckboxGroupEntityParams {
65
+ /** Static option list (filtered locally) or an async resolver (queried per search term). */
66
+ options: DataGridFilterCheckboxGroupOption[] | DataGridFilterCheckboxGroupOptionsLoader;
67
+ search?: boolean;
68
+ /** Debounce in ms applied to the async options resolver. Defaults to 300. */
69
+ searchDebounce?: number;
70
+ popover?: DataGridFilterPopoverOptions;
71
+ }
72
+ export type DataGridFilterCheckboxGroupEntity = DataGridFilterEntity<DataGridFilterCheckboxGroupState, DataGridFilterCheckboxGroupEntityParams>;
73
+ export interface DataGridFilterTagGroupOption {
74
+ label: ReactNode;
75
+ value: string | number;
76
+ component?: ComponentType<{
77
+ option: DataGridFilterTagGroupOption;
78
+ }>;
79
+ }
80
+ export type DataGridFilterTagGroupMode = 'checkbox' | 'radio';
81
+ export interface DataGridFilterTagGroupState {
82
+ value: DataGridFilterTagGroupOption['value'][];
83
+ }
84
+ export interface DataGridFilterTagGroupEntityParams {
85
+ options: DataGridFilterTagGroupOption[];
86
+ mode?: DataGridFilterTagGroupMode;
87
+ search?: boolean;
88
+ popover?: DataGridFilterPopoverOptions;
89
+ }
90
+ export type DataGridFilterTagGroupEntity = DataGridFilterEntity<DataGridFilterTagGroupState, DataGridFilterTagGroupEntityParams>;
91
+ export interface DataGridFilterTreeState {
92
+ value: string | number | undefined;
93
+ }
94
+ export interface DataGridFilterTreeEntityParams {
95
+ tree: any;
96
+ treeLabel: string | ((item: any) => string);
97
+ search?: boolean;
98
+ popover?: DataGridFilterPopoverOptions;
99
+ }
100
+ export type DataGridFilterTreeEntity = DataGridFilterEntity<DataGridFilterTreeState, DataGridFilterTreeEntityParams>;
101
+ /**
102
+ * Both bounds of a date-range filter, as strings in the entity's model date
103
+ * format. Either bound may be absent: `{ from }` alone means "from this date
104
+ * onwards", `{ to }` alone means "up to this date".
105
+ */
106
+ export interface DataGridFilterDateRangeValue {
107
+ from?: string;
108
+ to?: string;
109
+ }
110
+ export interface DataGridFilterDateRangeState {
111
+ /** `undefined` once the range is cleared — the dialog draft has no remove. */
112
+ value: DataGridFilterDateRangeValue | undefined;
113
+ }
114
+ export interface DataGridFilterDateRangeEntityParams {
115
+ /**
116
+ * Format the bounds are emitted in and parsed from, as date-fns tokens. Defaults to
117
+ * `yyyy-MM-dd` (calendar dates).
118
+ */
119
+ modelDateFormat?: string;
120
+ popover?: DataGridFilterPopoverOptions;
121
+ }
122
+ export type DataGridFilterDateRangeEntity = DataGridFilterEntity<DataGridFilterDateRangeState, DataGridFilterDateRangeEntityParams>;
123
+ export interface DataGridFiltersPluginProps {
124
+ entities: DataGridFilterEntity[];
125
+ isAllFiltersOptionVisible?: boolean;
126
+ }
127
+ export interface DataGridFiltersPluginApi {
128
+ useFilterEntities: () => DataGridFilterEntity[];
129
+ useIsAllFiltersOptionVisible: () => boolean;
130
+ useState: <S extends LoadContextFiltersState = LoadContextFiltersState>(filterKey: LoadContextFilterKey) => S | undefined;
131
+ useActiveCount: (filterKeys: LoadContextFilterKey[]) => number;
132
+ setState: <S extends LoadContextFiltersState = LoadContextFiltersState>(filterKey: LoadContextFilterKey, state: S) => void;
133
+ removeState: (filterKey: LoadContextFilterKey) => void;
134
+ useDraftState: <S extends LoadContextFiltersState = LoadContextFiltersState>(filterKey: LoadContextFilterKey) => S | undefined;
135
+ setDraftState: <S extends LoadContextFiltersState = LoadContextFiltersState>(filterKey: LoadContextFilterKey, state: S) => void;
136
+ applyDraftState: () => void;
137
+ resetDraftState: () => void;
138
+ isFilterValueActive: (value: unknown) => boolean;
139
+ onPropsChange: (props: DataGridFiltersPluginProps) => void;
140
+ }
141
+ //# sourceMappingURL=filters-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filters-types.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/plugins/filters/filters-types.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,11 @@
1
+ export { DataGridFiltersPlugin } from './filters-plugin.js';
2
+ export { filterSearch } from './entities/search/filter-search.js';
3
+ export { filterToggle } from './entities/toggle/filter-toggle.js';
4
+ export { filterCheckboxGroup } from './entities/checkbox-group/filter-checkbox-group.js';
5
+ export { filterTagGroup } from './entities/tag-group/filter-tag-group.js';
6
+ export { filterTree } from './entities/tree/filter-tree.js';
7
+ export { filterDateRange } from './entities/date-range/filter-date-range.js';
8
+ export type { DataGridFiltersPluginProps, DataGridFiltersPluginApi, DataGridFilterEntity, DataGridFilterSearchEntity, DataGridFilterToggleEntity, DataGridFilterCheckboxGroupEntity, DataGridFilterCheckboxGroupOption, DataGridFilterCheckboxGroupOptionsLoader, DataGridFilterTagGroupEntity, DataGridFilterTagGroupOption, DataGridFilterTreeEntity, DataGridFilterDateRangeEntity, DataGridFilterDateRangeEntityParams, DataGridFilterDateRangeState, DataGridFilterDateRangeValue, } from './filters-types.js';
9
+ export { createDataGridTreeStructure, useDataGridTreeStructure, } from '../../tree-structure/tree-structure.js';
10
+ export type { DataGridTreeItem, DataGridTreeItemId, DataGridTreeStructure, DataGridTreeStructureConfig, } from '../../tree-structure/tree-structure-types.js';
11
+ //# sourceMappingURL=public.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/plugins/filters/public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,oDAAoD,CAAC;AACzF,OAAO,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,4CAA4C,CAAC;AAC7E,YAAY,EACV,0BAA0B,EAC1B,wBAAwB,EACxB,oBAAoB,EACpB,0BAA0B,EAC1B,0BAA0B,EAC1B,iCAAiC,EACjC,iCAAiC,EACjC,wCAAwC,EACxC,4BAA4B,EAC5B,4BAA4B,EAC5B,wBAAwB,EACxB,6BAA6B,EAC7B,mCAAmC,EACnC,4BAA4B,EAC5B,4BAA4B,GAC7B,MAAM,oBAAoB,CAAC;AAI5B,OAAO,EACL,2BAA2B,EAC3B,wBAAwB,GACzB,MAAM,wCAAwC,CAAC;AAChD,YAAY,EACV,gBAAgB,EAChB,kBAAkB,EAClB,qBAAqB,EACrB,2BAA2B,GAC5B,MAAM,8CAA8C,CAAC"}