@gears-frontx/ui-kit 0.4.4 → 0.4.6
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.
- package/dist/chunks/actions.iasfkjWq.css +1 -0
- package/dist/chunks/create-column-auto-size.js +62 -0
- package/dist/chunks/create-column-auto-size.js.map +1 -0
- package/dist/chunks/data-grid-record-context.js +13 -0
- package/dist/chunks/data-grid-record-context.js.map +1 -0
- package/dist/chunks/data-grid.-6P4UQGJ.css +1 -0
- package/dist/chunks/debounce.js +17 -0
- package/dist/chunks/debounce.js.map +1 -0
- package/dist/chunks/empty.Cfg5lE0n.css +1 -0
- package/dist/chunks/filters.DcFdZpNG.css +1 -0
- package/dist/chunks/hooked.js +44 -0
- package/dist/chunks/hooked.js.map +1 -0
- package/dist/chunks/ignore-row-click.js +5 -0
- package/dist/chunks/ignore-row-click.js.map +1 -0
- package/dist/chunks/messages.js +34 -3
- package/dist/chunks/messages.js.map +1 -1
- package/dist/chunks/pagination.DPVITj_D.css +1 -0
- package/dist/chunks/resolve-body-cell-props.DGczzk1U.css +1 -0
- package/dist/chunks/resolve-body-cell-props.js +140 -0
- package/dist/chunks/resolve-body-cell-props.js.map +1 -0
- package/dist/chunks/row-actions.BprAXgu2.css +1 -0
- package/dist/chunks/row-click.DAYTmSBO.css +1 -0
- package/dist/chunks/row-number.C7fNu9Bw.css +1 -0
- package/dist/chunks/row-select.BjKdiMf5.css +1 -0
- package/dist/chunks/table-configuration.a6C_fp7B.css +1 -0
- package/dist/chunks/table-context.js +8 -0
- package/dist/chunks/table-context.js.map +1 -0
- package/dist/chunks/table-types.js +11 -0
- package/dist/chunks/table-types.js.map +1 -0
- package/dist/chunks/table.Dmz7LEk7.css +1 -0
- package/dist/components/data-grid/components/filter-chip.d.ts +21 -0
- package/dist/components/data-grid/components/filter-chip.d.ts.map +1 -0
- package/dist/components/data-grid/components/filter-control-area.d.ts +9 -0
- package/dist/components/data-grid/components/filter-control-area.d.ts.map +1 -0
- package/dist/components/data-grid/components/filter-options-search-input.d.ts +11 -0
- package/dist/components/data-grid/components/filter-options-search-input.d.ts.map +1 -0
- package/dist/components/data-grid/components/filter-popover-content.d.ts +8 -0
- package/dist/components/data-grid/components/filter-popover-content.d.ts.map +1 -0
- package/dist/components/data-grid/components/filter-reset-button.d.ts +8 -0
- package/dist/components/data-grid/components/filter-reset-button.d.ts.map +1 -0
- package/dist/components/data-grid/components/filter-scrollable-wrapper.d.ts +8 -0
- package/dist/components/data-grid/components/filter-scrollable-wrapper.d.ts.map +1 -0
- package/dist/components/data-grid/messages.d.ts +31 -0
- package/dist/components/data-grid/messages.d.ts.map +1 -1
- package/dist/components/data-grid/plugins/actions/actions-plugin.d.ts +4 -0
- package/dist/components/data-grid/plugins/actions/actions-plugin.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/actions/actions-types.d.ts +11 -0
- package/dist/components/data-grid/plugins/actions/actions-types.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/actions/components/data-grid-actions-wrapper.d.ts +3 -0
- package/dist/components/data-grid/plugins/actions/components/data-grid-actions-wrapper.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/actions/public.d.ts +3 -0
- package/dist/components/data-grid/plugins/actions/public.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/actions-menu/actions-menu-plugin.d.ts +3 -0
- package/dist/components/data-grid/plugins/actions-menu/actions-menu-plugin.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/actions-menu/actions-menu-types.d.ts +25 -0
- package/dist/components/data-grid/plugins/actions-menu/actions-menu-types.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/actions-menu/components/data-grid-actions-menu.d.ts +3 -0
- package/dist/components/data-grid/plugins/actions-menu/components/data-grid-actions-menu.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/actions-menu/public.d.ts +3 -0
- package/dist/components/data-grid/plugins/actions-menu/public.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/components/adaptive-popover.d.ts +20 -0
- package/dist/components/data-grid/plugins/filters/components/adaptive-popover.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/components/all-filters-button.d.ts +3 -0
- package/dist/components/data-grid/plugins/filters/components/all-filters-button.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/components/all-filters-dialog.d.ts +7 -0
- package/dist/components/data-grid/plugins/filters/components/all-filters-dialog.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/components/dialog-filter-item.d.ts +9 -0
- package/dist/components/data-grid/plugins/filters/components/dialog-filter-item.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/components/filter-label.d.ts +7 -0
- package/dist/components/data-grid/plugins/filters/components/filter-label.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/components/filter-popover.d.ts +9 -0
- package/dist/components/data-grid/plugins/filters/components/filter-popover.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/components/filter-single.d.ts +7 -0
- package/dist/components/data-grid/plugins/filters/components/filter-single.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/components/filters-bar.d.ts +3 -0
- package/dist/components/data-grid/plugins/filters/components/filters-bar.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/entities/checkbox-group/checkbox-group-dialog-filter.d.ts +7 -0
- package/dist/components/data-grid/plugins/filters/entities/checkbox-group/checkbox-group-dialog-filter.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/entities/checkbox-group/checkbox-group-list.d.ts +12 -0
- package/dist/components/data-grid/plugins/filters/entities/checkbox-group/checkbox-group-list.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/entities/checkbox-group/checkbox-group-quick-filter.d.ts +7 -0
- package/dist/components/data-grid/plugins/filters/entities/checkbox-group/checkbox-group-quick-filter.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/entities/checkbox-group/filter-checkbox-group.d.ts +20 -0
- package/dist/components/data-grid/plugins/filters/entities/checkbox-group/filter-checkbox-group.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/entities/date-range/date-range-calendar.d.ts +17 -0
- package/dist/components/data-grid/plugins/filters/entities/date-range/date-range-calendar.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/entities/date-range/date-range-dialog-filter.d.ts +7 -0
- package/dist/components/data-grid/plugins/filters/entities/date-range/date-range-dialog-filter.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/entities/date-range/date-range-quick-filter.d.ts +7 -0
- package/dist/components/data-grid/plugins/filters/entities/date-range/date-range-quick-filter.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/entities/date-range/date-range-selection.d.ts +16 -0
- package/dist/components/data-grid/plugins/filters/entities/date-range/date-range-selection.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/entities/date-range/date-range-value.d.ts +19 -0
- package/dist/components/data-grid/plugins/filters/entities/date-range/date-range-value.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/entities/date-range/filter-date-range.d.ts +16 -0
- package/dist/components/data-grid/plugins/filters/entities/date-range/filter-date-range.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/entities/entities.d.ts +7 -0
- package/dist/components/data-grid/plugins/filters/entities/entities.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/entities/search/filter-search.d.ts +10 -0
- package/dist/components/data-grid/plugins/filters/entities/search/filter-search.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/entities/search/search-quick-filter.d.ts +7 -0
- package/dist/components/data-grid/plugins/filters/entities/search/search-quick-filter.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/entities/tag-group/filter-tag-group.d.ts +14 -0
- package/dist/components/data-grid/plugins/filters/entities/tag-group/filter-tag-group.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/entities/tag-group/tag-group-dialog-filter.d.ts +7 -0
- package/dist/components/data-grid/plugins/filters/entities/tag-group/tag-group-dialog-filter.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/entities/tag-group/tag-group-list.d.ts +11 -0
- package/dist/components/data-grid/plugins/filters/entities/tag-group/tag-group-list.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/entities/tag-group/tag-group-quick-filter.d.ts +7 -0
- package/dist/components/data-grid/plugins/filters/entities/tag-group/tag-group-quick-filter.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/entities/toggle/filter-toggle.d.ts +10 -0
- package/dist/components/data-grid/plugins/filters/entities/toggle/filter-toggle.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/entities/toggle/toggle-quick-filter.d.ts +7 -0
- package/dist/components/data-grid/plugins/filters/entities/toggle/toggle-quick-filter.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/entities/tree/filter-tree.d.ts +20 -0
- package/dist/components/data-grid/plugins/filters/entities/tree/filter-tree.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/entities/tree/resolve-filter-tree-value.d.ts +8 -0
- package/dist/components/data-grid/plugins/filters/entities/tree/resolve-filter-tree-value.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/entities/tree/tree-dialog-filter.d.ts +7 -0
- package/dist/components/data-grid/plugins/filters/entities/tree/tree-dialog-filter.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/entities/tree/tree-list.d.ts +12 -0
- package/dist/components/data-grid/plugins/filters/entities/tree/tree-list.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/entities/tree/tree-quick-filter.d.ts +7 -0
- package/dist/components/data-grid/plugins/filters/entities/tree/tree-quick-filter.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/entities/tree/tree-radio-select-plugin.d.ts +13 -0
- package/dist/components/data-grid/plugins/filters/entities/tree/tree-radio-select-plugin.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/entities/tree/use-tree-search.d.ts +8 -0
- package/dist/components/data-grid/plugins/filters/entities/tree/use-tree-search.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/filters-plugin.d.ts +3 -0
- package/dist/components/data-grid/plugins/filters/filters-plugin.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/filters-types.d.ts +141 -0
- package/dist/components/data-grid/plugins/filters/filters-types.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/public.d.ts +11 -0
- package/dist/components/data-grid/plugins/filters/public.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/services/read-option-values.d.ts +7 -0
- package/dist/components/data-grid/plugins/filters/services/read-option-values.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/services/use-async-filter-search.d.ts +20 -0
- package/dist/components/data-grid/plugins/filters/services/use-async-filter-search.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/filters/services/use-filter-search.d.ts +12 -0
- package/dist/components/data-grid/plugins/filters/services/use-filter-search.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/row-actions/components/data-grid-row-actions-cell.d.ts +3 -0
- package/dist/components/data-grid/plugins/row-actions/components/data-grid-row-actions-cell.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/row-actions/public.d.ts +3 -0
- package/dist/components/data-grid/plugins/row-actions/public.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/row-actions/row-actions-plugin.d.ts +6 -0
- package/dist/components/data-grid/plugins/row-actions/row-actions-plugin.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/row-actions/row-actions-types.d.ts +24 -0
- package/dist/components/data-grid/plugins/row-actions/row-actions-types.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/row-click/components/data-grid-row-click.d.ts +8 -0
- package/dist/components/data-grid/plugins/row-click/components/data-grid-row-click.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/row-click/public.d.ts +3 -0
- package/dist/components/data-grid/plugins/row-click/public.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/row-click/row-click-plugin.d.ts +14 -0
- package/dist/components/data-grid/plugins/row-click/row-click-plugin.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/row-click/row-click-utils.d.ts +9 -0
- package/dist/components/data-grid/plugins/row-click/row-click-utils.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/row-number/components/data-grid-row-number-cell.d.ts +3 -0
- package/dist/components/data-grid/plugins/row-number/components/data-grid-row-number-cell.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/row-number/public.d.ts +3 -0
- package/dist/components/data-grid/plugins/row-number/public.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/row-number/row-number-plugin.d.ts +4 -0
- package/dist/components/data-grid/plugins/row-number/row-number-plugin.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/row-number/row-number-types.d.ts +6 -0
- package/dist/components/data-grid/plugins/row-number/row-number-types.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/row-number/services/row-number-formula.d.ts +2 -0
- package/dist/components/data-grid/plugins/row-number/services/row-number-formula.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/row-select/components/data-grid-row-select-banner.d.ts +3 -0
- package/dist/components/data-grid/plugins/row-select/components/data-grid-row-select-banner.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/row-select/components/data-grid-row-select-body.d.ts +3 -0
- package/dist/components/data-grid/plugins/row-select/components/data-grid-row-select-body.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/row-select/components/data-grid-row-select-header.d.ts +3 -0
- package/dist/components/data-grid/plugins/row-select/components/data-grid-row-select-header.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/row-select/components/data-grid-row-select-top.d.ts +3 -0
- package/dist/components/data-grid/plugins/row-select/components/data-grid-row-select-top.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/row-select/public.d.ts +3 -0
- package/dist/components/data-grid/plugins/row-select/public.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/row-select/row-select-plugin.d.ts +5 -0
- package/dist/components/data-grid/plugins/row-select/row-select-plugin.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/row-select/row-select-types.d.ts +113 -0
- package/dist/components/data-grid/plugins/row-select/row-select-types.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-group-item.d.ts +10 -0
- package/dist/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-group-item.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-item.d.ts +10 -0
- package/dist/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-item.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-pin-button.d.ts +8 -0
- package/dist/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-pin-button.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-trigger.d.ts +3 -0
- package/dist/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-trigger.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration.d.ts +3 -0
- package/dist/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/table-configuration/public.d.ts +3 -0
- package/dist/components/data-grid/plugins/table-configuration/public.d.ts.map +1 -0
- package/dist/components/data-grid/plugins/table-configuration/table-configuration-plugin.d.ts +5 -0
- package/dist/components/data-grid/plugins/table-configuration/table-configuration-plugin.d.ts.map +1 -0
- package/dist/components/data-grid/services/layout/components/data-grid-layout-top.d.ts.map +1 -1
- package/dist/components/data-grid/services/layout/components/toolbar-lines.d.ts +2 -0
- package/dist/components/data-grid/services/layout/components/toolbar-lines.d.ts.map +1 -0
- package/dist/components/data-grid/services/table/components/data-grid-cell.d.ts.map +1 -1
- package/dist/components/data-grid/services/table/components/data-grid-extra-header-cell.d.ts.map +1 -1
- package/dist/components/data-grid/services/table/components/data-grid-header-cell.d.ts.map +1 -1
- package/dist/components/data-grid/services/table/components/data-grid-header-group.d.ts.map +1 -1
- package/dist/components/data-grid/services/table/table-service.d.ts.map +1 -1
- package/dist/components/data-grid/services/table/table-sticky.d.ts +16 -0
- package/dist/components/data-grid/services/table/table-sticky.d.ts.map +1 -1
- package/dist/components/data-grid/tree/components/tree-actions.d.ts +7 -0
- package/dist/components/data-grid/tree/components/tree-actions.d.ts.map +1 -0
- package/dist/components/data-grid/tree/components/tree-content.d.ts +3 -0
- package/dist/components/data-grid/tree/components/tree-content.d.ts.map +1 -0
- package/dist/components/data-grid/tree/components/tree-layout-slot.d.ts +9 -0
- package/dist/components/data-grid/tree/components/tree-layout-slot.d.ts.map +1 -0
- package/dist/components/data-grid/tree/components/tree-left-slot.d.ts +7 -0
- package/dist/components/data-grid/tree/components/tree-left-slot.d.ts.map +1 -0
- package/dist/components/data-grid/tree/components/tree-list-item.d.ts +10 -0
- package/dist/components/data-grid/tree/components/tree-list-item.d.ts.map +1 -0
- package/dist/components/data-grid/tree/components/tree-main.d.ts +3 -0
- package/dist/components/data-grid/tree/components/tree-main.d.ts.map +1 -0
- package/dist/components/data-grid/tree/components/tree-node-content.d.ts +7 -0
- package/dist/components/data-grid/tree/components/tree-node-content.d.ts.map +1 -0
- package/dist/components/data-grid/tree/components/tree-node-directory-item.d.ts +7 -0
- package/dist/components/data-grid/tree/components/tree-node-directory-item.d.ts.map +1 -0
- package/dist/components/data-grid/tree/components/tree-node-leaf.d.ts +7 -0
- package/dist/components/data-grid/tree/components/tree-node-leaf.d.ts.map +1 -0
- package/dist/components/data-grid/tree/components/tree-nodes.d.ts +7 -0
- package/dist/components/data-grid/tree/components/tree-nodes.d.ts.map +1 -0
- package/dist/components/data-grid/tree/components/tree-placeholder.d.ts +6 -0
- package/dist/components/data-grid/tree/components/tree-placeholder.d.ts.map +1 -0
- package/dist/components/data-grid/tree/create-tree.d.ts +5 -0
- package/dist/components/data-grid/tree/create-tree.d.ts.map +1 -0
- package/dist/components/data-grid/tree/services/core/tree-context.d.ts +21 -0
- package/dist/components/data-grid/tree/services/core/tree-context.d.ts.map +1 -0
- package/dist/components/data-grid/tree/services/focus/focus-service.d.ts +5 -0
- package/dist/components/data-grid/tree/services/focus/focus-service.d.ts.map +1 -0
- package/dist/components/data-grid/tree/services/focus/focus-types.d.ts +25 -0
- package/dist/components/data-grid/tree/services/focus/focus-types.d.ts.map +1 -0
- package/dist/components/data-grid/tree/services/focus/navigation-helpers.d.ts +27 -0
- package/dist/components/data-grid/tree/services/focus/navigation-helpers.d.ts.map +1 -0
- package/dist/components/data-grid/tree/services/hooked/hooked-types.d.ts +8 -0
- package/dist/components/data-grid/tree/services/hooked/hooked-types.d.ts.map +1 -0
- package/dist/components/data-grid/tree/services/hooked/hooked.d.ts +3 -0
- package/dist/components/data-grid/tree/services/hooked/hooked.d.ts.map +1 -0
- package/dist/components/data-grid/tree/services/internal/internal-helpers.d.ts +2 -0
- package/dist/components/data-grid/tree/services/internal/internal-helpers.d.ts.map +1 -0
- package/dist/components/data-grid/tree/services/layout/layout-service.d.ts +5 -0
- package/dist/components/data-grid/tree/services/layout/layout-service.d.ts.map +1 -0
- package/dist/components/data-grid/tree/services/layout/layout-types.d.ts +124 -0
- package/dist/components/data-grid/tree/services/layout/layout-types.d.ts.map +1 -0
- package/dist/components/data-grid/tree/services/plugins/plugins-helpers.d.ts +50 -0
- package/dist/components/data-grid/tree/services/plugins/plugins-helpers.d.ts.map +1 -0
- package/dist/components/data-grid/tree/services/plugins/plugins-service.d.ts +5 -0
- package/dist/components/data-grid/tree/services/plugins/plugins-service.d.ts.map +1 -0
- package/dist/components/data-grid/tree/services/plugins/plugins-types.d.ts +43 -0
- package/dist/components/data-grid/tree/services/plugins/plugins-types.d.ts.map +1 -0
- package/dist/components/data-grid/tree/services/settings/settings-service.d.ts +5 -0
- package/dist/components/data-grid/tree/services/settings/settings-service.d.ts.map +1 -0
- package/dist/components/data-grid/tree/services/settings/settings-types.d.ts +73 -0
- package/dist/components/data-grid/tree/services/settings/settings-types.d.ts.map +1 -0
- package/dist/components/data-grid/tree/tree-types.d.ts +44 -0
- package/dist/components/data-grid/tree/tree-types.d.ts.map +1 -0
- package/dist/components/data-grid/tree/tree.d.ts +4 -0
- package/dist/components/data-grid/tree/tree.d.ts.map +1 -0
- package/dist/components/data-grid/tree-structure/tree-structure-types.d.ts +89 -0
- package/dist/components/data-grid/tree-structure/tree-structure-types.d.ts.map +1 -0
- package/dist/components/data-grid/tree-structure/tree-structure.d.ts +19 -0
- package/dist/components/data-grid/tree-structure/tree-structure.d.ts.map +1 -0
- package/dist/components/data-grid/utils/components-stack.d.ts +12 -0
- package/dist/components/data-grid/utils/components-stack.d.ts.map +1 -0
- package/dist/components/data-grid/utils/use-is-tablet-up.d.ts +3 -0
- package/dist/components/data-grid/utils/use-is-tablet-up.d.ts.map +1 -0
- package/dist/components/table/table.d.ts +20 -3
- package/dist/components/table/table.d.ts.map +1 -1
- package/dist/data-grid/actions-menu.d.ts +1 -0
- package/dist/data-grid/actions-menu.js +57 -0
- package/dist/data-grid/actions-menu.js.map +1 -0
- package/dist/data-grid/actions.d.ts +1 -0
- package/dist/data-grid/actions.js +36 -0
- package/dist/data-grid/actions.js.map +1 -0
- package/dist/data-grid/filters.d.ts +1 -0
- package/dist/data-grid/filters.js +1634 -0
- package/dist/data-grid/filters.js.map +1 -0
- package/dist/data-grid/pagination.js +41 -40
- package/dist/data-grid/pagination.js.map +1 -1
- package/dist/data-grid/row-actions.d.ts +1 -0
- package/dist/data-grid/row-actions.js +52 -0
- package/dist/data-grid/row-actions.js.map +1 -0
- package/dist/data-grid/row-click.d.ts +1 -0
- package/dist/data-grid/row-click.js +69 -0
- package/dist/data-grid/row-click.js.map +1 -0
- package/dist/data-grid/row-number.d.ts +1 -0
- package/dist/data-grid/row-number.js +38 -0
- package/dist/data-grid/row-number.js.map +1 -0
- package/dist/data-grid/row-select.d.ts +1 -0
- package/dist/data-grid/row-select.js +293 -0
- package/dist/data-grid/row-select.js.map +1 -0
- package/dist/data-grid/table-configuration.d.ts +1 -0
- package/dist/data-grid/table-configuration.js +165 -0
- package/dist/data-grid/table-configuration.js.map +1 -0
- package/dist/data-grid/text-search.js +55 -67
- package/dist/data-grid/text-search.js.map +1 -1
- package/dist/data-grid.js +901 -1009
- package/dist/data-grid.js.map +1 -1
- package/dist/docs/data-grid.md +504 -11
- package/dist/docs/table.md +57 -2
- package/dist/empty.js +34 -34
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +418 -393
- package/dist/index.js.map +1 -1
- package/dist/table.js +114 -112
- package/dist/table.js.map +1 -1
- package/llms.txt +9 -7
- package/package.json +1 -1
- package/dist/chunks/data-grid.DIkpRRaf.css +0 -1
- package/dist/chunks/empty.DWqLrSfF.css +0 -1
- package/dist/chunks/pagination.BAAl9D_S.css +0 -1
- package/dist/chunks/table.CMm41tvy.css +0 -1
package/dist/components/data-grid/plugins/filters/entities/search/search-quick-filter.d.ts.map
ADDED
|
@@ -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
|
package/dist/components/data-grid/plugins/filters/entities/tag-group/filter-tag-group.d.ts.map
ADDED
|
@@ -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"}
|
package/dist/components/data-grid/plugins/filters/entities/tag-group/tag-group-dialog-filter.d.ts
ADDED
|
@@ -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"}
|
package/dist/components/data-grid/plugins/filters/entities/tag-group/tag-group-quick-filter.d.ts
ADDED
|
@@ -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
|
package/dist/components/data-grid/plugins/filters/entities/tag-group/tag-group-quick-filter.d.ts.map
ADDED
|
@@ -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
|
package/dist/components/data-grid/plugins/filters/entities/toggle/toggle-quick-filter.d.ts.map
ADDED
|
@@ -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"}
|
package/dist/components/data-grid/plugins/filters/entities/tree/resolve-filter-tree-value.d.ts
ADDED
|
@@ -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
|
package/dist/components/data-grid/plugins/filters/entities/tree/resolve-filter-tree-value.d.ts.map
ADDED
|
@@ -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
|
package/dist/components/data-grid/plugins/filters/entities/tree/tree-radio-select-plugin.d.ts.map
ADDED
|
@@ -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 @@
|
|
|
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":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,EACV,oBAAoB,EACpB,uBAAuB,EACxB,MAAM,sCAAsC,CAAC;AAE9C;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,mBAAmB,EAAE,OAAO,MAAM,CAAC;AAExD,MAAM,MAAM,oBAAoB,CAC9B,KAAK,SAAS,uBAAuB,GAAG,uBAAuB,EAE/D,MAAM,SAAS,MAAM,CAAC,WAAW,EAAE,GAAG,CAAC,GAAG,IAAI,GAAG,GAAG,IAClD;IACF,CAAC,mBAAmB,CAAC,EAAE,KAAK,CAAC;IAC7B,0FAA0F;IAC1F,EAAE,EAAE,MAAM,CAAC;IACX,8DAA8D;IAC9D,SAAS,EAAE,oBAAoB,CAAC;IAChC,wEAAwE;IACxE,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,yDAAyD;IAEzD,eAAe,CAAC,EAAE,aAAa,CAAC;QAAE,YAAY,EAAE,GAAG,CAAA;KAAE,CAAC,CAAC;IACvD,oEAAoE;IAEpE,qBAAqB,CAAC,EAAE,aAAa,CAAC;QAAE,YAAY,EAAE,GAAG,CAAA;KAAE,CAAC,CAAC;IAC7D;yFACqF;IACrF,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,uBAAuB,KAAK,uBAAuB,CAAC;CAChF,GAAG,CAAC,MAAM,SAAS,IAAI,GAAG;IAAE,MAAM,CAAC,EAAE,KAAK,CAAA;CAAE,GAAG;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAEpE,MAAM,MAAM,8BAA8B,CAAC,MAAM,SAAS,oBAAoB,IAC5E,MAAM,SAAS,oBAAoB,CAAC,MAAM,KAAK,CAAC,GAAG,KAAK,GAAG,KAAK,CAAC;AAEnE,MAAM,WAAW,4BAA4B;IAC3C,aAAa,EAAE,MAAM,CAAC;IACtB,sCAAsC;IACtC,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAID,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,MAAM,CAAC;CACf;AACD,MAAM,MAAM,0BAA0B,GAAG,oBAAoB,CAAC,yBAAyB,CAAC,CAAC;AAEzF,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,OAAO,CAAC;CAChB;AACD,MAAM,MAAM,0BAA0B,GAAG,oBAAoB,CAAC,yBAAyB,CAAC,CAAC;AAEzF,MAAM,WAAW,iCAAiC;IAChD,KAAK,EAAE,SAAS,CAAC;IACjB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,aAAa,CAAC;QAAE,MAAM,EAAE,iCAAiC,CAAA;KAAE,CAAC,CAAC;CAC1E;AAED,MAAM,WAAW,gCAAgC;IAC/C,KAAK,EAAE,iCAAiC,CAAC,OAAO,CAAC,EAAE,CAAC;CACrD;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,wCAAwC,GAAG,CACrD,KAAK,EAAE,MAAM,KACV,OAAO,CAAC,iCAAiC,EAAE,CAAC,CAAC;AAElD,MAAM,WAAW,uCAAuC;IACtD,4FAA4F;IAC5F,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,MAAM,MAAM,iCAAiC,GAAG,oBAAoB,CAClE,gCAAgC,EAChC,uCAAuC,CACxC,CAAC;AAEF,MAAM,WAAW,4BAA4B;IAC3C,KAAK,EAAE,SAAS,CAAC;IACjB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,aAAa,CAAC;QAAE,MAAM,EAAE,4BAA4B,CAAA;KAAE,CAAC,CAAC;CACrE;AAED,MAAM,MAAM,0BAA0B,GAAG,UAAU,GAAG,OAAO,CAAC;AAE9D,MAAM,WAAW,2BAA2B;IAC1C,KAAK,EAAE,4BAA4B,CAAC,OAAO,CAAC,EAAE,CAAC;CAChD;AAED,MAAM,WAAW,kCAAkC;IACjD,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,MAAM,MAAM,4BAA4B,GAAG,oBAAoB,CAC7D,2BAA2B,EAC3B,kCAAkC,CACnC,CAAC;AAEF,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;CACpC;AAED,MAAM,WAAW,8BAA8B;IAE7C,IAAI,EAAE,GAAG,CAAC;IAEV,SAAS,EAAE,MAAM,GAAG,CAAC,CAAC,IAAI,EAAE,GAAG,KAAK,MAAM,CAAC,CAAC;IAC5C,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,4BAA4B,CAAC;CACxC;AAED,MAAM,MAAM,wBAAwB,GAAG,oBAAoB,CACzD,uBAAuB,EACvB,8BAA8B,CAC/B,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IAC3C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,4BAA4B;IAC3C,8EAA8E;IAC9E,KAAK,EAAE,4BAA4B,GAAG,SAAS,CAAC;CACjD;AAED,MAAM,WAAW,mCAAmC;IAClD;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,4BAA4B,CAAC;CACxC;AAED,MAAM,MAAM,6BAA6B,GAAG,oBAAoB,CAC9D,4BAA4B,EAC5B,mCAAmC,CACpC,CAAC;AAIF,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,oBAAoB,EAAE,CAAC;IACjC,yBAAyB,CAAC,EAAE,OAAO,CAAC;CACrC;AAED,MAAM,WAAW,wBAAwB;IACvC,iBAAiB,EAAE,MAAM,oBAAoB,EAAE,CAAC;IAChD,4BAA4B,EAAE,MAAM,OAAO,CAAC;IAE5C,QAAQ,EAAE,CAAC,CAAC,SAAS,uBAAuB,GAAG,uBAAuB,EACpE,SAAS,EAAE,oBAAoB,KAC5B,CAAC,GAAG,SAAS,CAAC;IACnB,cAAc,EAAE,CAAC,UAAU,EAAE,oBAAoB,EAAE,KAAK,MAAM,CAAC;IAC/D,QAAQ,EAAE,CAAC,CAAC,SAAS,uBAAuB,GAAG,uBAAuB,EACpE,SAAS,EAAE,oBAAoB,EAC/B,KAAK,EAAE,CAAC,KACL,IAAI,CAAC;IACV,WAAW,EAAE,CAAC,SAAS,EAAE,oBAAoB,KAAK,IAAI,CAAC;IAEvD,aAAa,EAAE,CAAC,CAAC,SAAS,uBAAuB,GAAG,uBAAuB,EACzE,SAAS,EAAE,oBAAoB,KAC5B,CAAC,GAAG,SAAS,CAAC;IACnB,aAAa,EAAE,CAAC,CAAC,SAAS,uBAAuB,GAAG,uBAAuB,EACzE,SAAS,EAAE,oBAAoB,EAC/B,KAAK,EAAE,CAAC,KACL,IAAI,CAAC;IACV,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,eAAe,EAAE,MAAM,IAAI,CAAC;IAE5B,mBAAmB,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,OAAO,CAAC;IAEjD,aAAa,EAAE,CAAC,KAAK,EAAE,0BAA0B,KAAK,IAAI,CAAC;CAC5D"}
|
|
@@ -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"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The selection a list filter (checkbox group, tag group) holds, read from its state. The state
|
|
3
|
+
* can come back from storage or the address bar, where it is editable, so anything that is not a
|
|
4
|
+
* list reads as no selection: the list would otherwise throw from `includes` while it renders.
|
|
5
|
+
*/
|
|
6
|
+
export declare function readOptionValues(value: unknown): (string | number)[];
|
|
7
|
+
//# sourceMappingURL=read-option-values.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"read-option-values.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/plugins/filters/services/read-option-values.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAEpE"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
interface AsyncFilterSearchResult<T> {
|
|
2
|
+
searchTerm: string;
|
|
3
|
+
setSearchTerm: (term: string) => void;
|
|
4
|
+
options: T[];
|
|
5
|
+
isLoading: boolean;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Server-side counterpart to {@link useFilterSearch}: instead of filtering a
|
|
9
|
+
* static list locally, it debounces the search term, calls the async resolver,
|
|
10
|
+
* and exposes the resulting options plus a loading flag. Stale responses are
|
|
11
|
+
* discarded so the latest query always wins.
|
|
12
|
+
*
|
|
13
|
+
* The resolver is called on mount with the initial (empty) term, so the first
|
|
14
|
+
* page loads as soon as the list is rendered — pair it with a lazily mounted
|
|
15
|
+
* popover to avoid fetching before the filter is opened. Keep `searchOptions`
|
|
16
|
+
* referentially stable (e.g. `useCallback`) to avoid redundant refetches.
|
|
17
|
+
*/
|
|
18
|
+
export declare function useAsyncFilterSearch<T>(searchOptions: (query: string) => Promise<T[]>, debounceMs?: number): AsyncFilterSearchResult<T>;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=use-async-filter-search.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-async-filter-search.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/plugins/filters/services/use-async-filter-search.ts"],"names":[],"mappings":"AAEA,UAAU,uBAAuB,CAAC,CAAC;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,OAAO,EAAE,CAAC,EAAE,CAAC;IACb,SAAS,EAAE,OAAO,CAAC;CACpB;AAID;;;;;;;;;;GAUG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,EACpC,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,CAAC,EAAE,CAAC,EAC9C,UAAU,GAAE,MAA0B,GACrC,uBAAuB,CAAC,CAAC,CAAC,CAmC5B"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface FilterSearchOption {
|
|
3
|
+
label: ReactNode;
|
|
4
|
+
}
|
|
5
|
+
export declare function resolveLabel(label: ReactNode): string;
|
|
6
|
+
export declare function resolveTreeLabel<Item extends Record<string, unknown>>(item: Item, treeLabel: string | ((item: Item) => string)): string;
|
|
7
|
+
export declare function useFilterSearch<T extends FilterSearchOption>(options: T[], enabled: boolean): {
|
|
8
|
+
searchTerm: string;
|
|
9
|
+
setSearchTerm: import('react').Dispatch<import('react').SetStateAction<string>>;
|
|
10
|
+
filteredOptions: T[];
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=use-filter-search.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-filter-search.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/plugins/filters/services/use-filter-search.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,SAAS,CAAC;CAClB;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,SAAS,GAAG,MAAM,CAIrD;AAED,wBAAgB,gBAAgB,CAAC,IAAI,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACnE,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,MAAM,GAAG,CAAC,CAAC,IAAI,EAAE,IAAI,KAAK,MAAM,CAAC,GAC3C,MAAM,CAKR;AAED,wBAAgB,eAAe,CAAC,CAAC,SAAS,kBAAkB,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE,OAAO,EAAE,OAAO;;;;EAiB3F"}
|
package/dist/components/data-grid/plugins/row-actions/components/data-grid-row-actions-cell.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-grid-row-actions-cell.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/plugins/row-actions/components/data-grid-row-actions-cell.tsx"],"names":[],"mappings":";AAOA,wBAAgB,sBAAsB,uCAuBrC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/plugins/row-actions/public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,YAAY,EACV,6BAA6B,EAC7B,2BAA2B,GAC5B,MAAM,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { DataGridItem } from '../../data-grid-types';
|
|
3
|
+
import { DataGridRowActionsPluginApi, DataGridRowActionsPluginProps } from './row-actions-types';
|
|
4
|
+
export type { DataGridRowActionsPluginApi, DataGridRowActionsPluginProps };
|
|
5
|
+
export declare const DataGridRowActionsPlugin: <TItem extends DataGridItem = DataGridItem>(props: DataGridRowActionsPluginProps<TItem>) => ReactNode;
|
|
6
|
+
//# sourceMappingURL=row-actions-plugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"row-actions-plugin.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/plugins/row-actions/row-actions-plugin.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAiB,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAI1D,OAAO,KAAK,EACV,2BAA2B,EAC3B,6BAA6B,EAC9B,MAAM,qBAAqB,CAAC;AAE7B,YAAY,EAAE,2BAA2B,EAAE,6BAA6B,EAAE,CAAC;AA6D3E,eAAO,MAAM,wBAAwB,qDAG5B,8BAA8B,KAAK,CAAC,KACxC,SAAS,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ComponentType } from 'react';
|
|
2
|
+
import { DataGridItem } from '../../data-grid-types';
|
|
3
|
+
import { DataGridPluginApi } from '../../services/plugins/plugins-helpers';
|
|
4
|
+
export interface DataGridRowActionsPluginProps<TItem extends DataGridItem = DataGridItem> extends Record<string, unknown> {
|
|
5
|
+
component: ComponentType<{
|
|
6
|
+
item: TItem;
|
|
7
|
+
}>;
|
|
8
|
+
order?: number;
|
|
9
|
+
className?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Pins the actions column to the table's inline-end edge, so the row menu stays reachable on a
|
|
12
|
+
* table wide enough to scroll sideways instead of sitting past that edge.
|
|
13
|
+
* @default false
|
|
14
|
+
*/
|
|
15
|
+
sticky?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export interface DataGridRowActionsPluginApi<TItem extends DataGridItem = DataGridItem> extends DataGridPluginApi<DataGridRowActionsPluginProps<TItem>> {
|
|
18
|
+
useComponent: () => ComponentType<{
|
|
19
|
+
item: TItem;
|
|
20
|
+
}> | null;
|
|
21
|
+
useClassName: () => string | undefined;
|
|
22
|
+
measureRef: (element: HTMLElement | null) => void;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=row-actions-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"row-actions-types.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/plugins/row-actions/row-actions-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAEhF,MAAM,WAAW,6BAA6B,CAC5C,KAAK,SAAS,YAAY,GAAG,YAAY,CACzC,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAC/B,SAAS,EAAE,aAAa,CAAC;QAAE,IAAI,EAAE,KAAK,CAAA;KAAE,CAAC,CAAC;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,2BAA2B,CAC1C,KAAK,SAAS,YAAY,GAAG,YAAY,CACzC,SAAQ,iBAAiB,CAAC,6BAA6B,CAAC,KAAK,CAAC,CAAC;IAC/D,YAAY,EAAE,MAAM,aAAa,CAAC;QAAE,IAAI,EAAE,KAAK,CAAA;KAAE,CAAC,GAAG,IAAI,CAAC;IAC1D,YAAY,EAAE,MAAM,MAAM,GAAG,SAAS,CAAC;IACvC,UAAU,EAAE,CAAC,OAAO,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAC;CACnD"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DataGridItem } from '../../../data-grid-types';
|
|
2
|
+
import { DataGridRecord } from '../../../services/storage/storage-types';
|
|
3
|
+
interface DataGridRowClickProps<TItem extends DataGridItem> {
|
|
4
|
+
record: DataGridRecord<TItem>;
|
|
5
|
+
}
|
|
6
|
+
export declare function DataGridRowClick<TItem extends DataGridItem>({ record, }: DataGridRowClickProps<TItem>): import("react").JSX.Element;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=data-grid-row-click.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-grid-row-click.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/plugins/row-click/components/data-grid-row-click.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAU9E,UAAU,qBAAqB,CAAC,KAAK,SAAS,YAAY;IACxD,MAAM,EAAE,cAAc,CAAC,KAAK,CAAC,CAAC;CAC/B;AAED,wBAAgB,gBAAgB,CAAC,KAAK,SAAS,YAAY,EAAE,EAC3D,MAAM,GACP,EAAE,qBAAqB,CAAC,KAAK,CAAC,+BAiD9B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/plugins/row-click/public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,YAAY,EACV,wBAAwB,EACxB,yBAAyB,EACzB,2BAA2B,GAC5B,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { DataGridItem } from '../../data-grid-types';
|
|
3
|
+
import { DataGridPluginApi } from '../../services/plugins/plugins-helpers';
|
|
4
|
+
export type DataGridRowClickCallback<Item extends DataGridItem = DataGridItem> = (item: Item) => void;
|
|
5
|
+
export interface DataGridRowClickPluginProps<Item extends DataGridItem = DataGridItem> extends Record<string, unknown> {
|
|
6
|
+
click?: DataGridRowClickCallback<Item>;
|
|
7
|
+
dblclick?: DataGridRowClickCallback<Item>;
|
|
8
|
+
}
|
|
9
|
+
export interface DataGridRowClickPluginApi<Item extends DataGridItem = DataGridItem> extends DataGridPluginApi<DataGridRowClickPluginProps<Item>> {
|
|
10
|
+
click?: DataGridRowClickCallback<Item>;
|
|
11
|
+
dblclick?: DataGridRowClickCallback<Item>;
|
|
12
|
+
}
|
|
13
|
+
export declare const DataGridRowClickPlugin: <TItem extends DataGridItem = DataGridItem>(props: DataGridRowClickPluginProps<TItem>) => ReactNode;
|
|
14
|
+
//# sourceMappingURL=row-click-plugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"row-click-plugin.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/plugins/row-click/row-click-plugin.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAGhF,MAAM,MAAM,wBAAwB,CAAC,IAAI,SAAS,YAAY,GAAG,YAAY,IAAI,CAC/E,IAAI,EAAE,IAAI,KACP,IAAI,CAAC;AAEV,MAAM,WAAW,2BAA2B,CAC1C,IAAI,SAAS,YAAY,GAAG,YAAY,CACxC,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAC/B,KAAK,CAAC,EAAE,wBAAwB,CAAC,IAAI,CAAC,CAAC;IACvC,QAAQ,CAAC,EAAE,wBAAwB,CAAC,IAAI,CAAC,CAAC;CAC3C;AAED,MAAM,WAAW,yBAAyB,CACxC,IAAI,SAAS,YAAY,GAAG,YAAY,CACxC,SAAQ,iBAAiB,CAAC,2BAA2B,CAAC,IAAI,CAAC,CAAC;IAC5D,KAAK,CAAC,EAAE,wBAAwB,CAAC,IAAI,CAAC,CAAC;IACvC,QAAQ,CAAC,EAAE,wBAAwB,CAAC,IAAI,CAAC,CAAC;CAC3C;AAuBD,eAAO,MAAM,sBAAsB,qDAG1B,4BAA4B,KAAK,CAAC,KACtC,SAAS,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { KeyboardEvent, MouseEvent } from 'react';
|
|
2
|
+
import { DataGridItem } from '../../data-grid-types';
|
|
3
|
+
import { DataGridRowClickCallback } from './row-click-plugin';
|
|
4
|
+
/**
|
|
5
|
+
* Accepts a getter so the callback is read at event time from the mutable plugin API,
|
|
6
|
+
* avoiding stale closures when onPropsChange updates the API without re-rendering the row.
|
|
7
|
+
*/
|
|
8
|
+
export declare function getClickListener<TItem extends DataGridItem>(item: TItem, getCb: () => DataGridRowClickCallback<TItem> | undefined): (event: MouseEvent | KeyboardEvent) => void;
|
|
9
|
+
//# sourceMappingURL=row-click-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"row-click-utils.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/plugins/row-click/row-click-utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE1D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAInE;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,SAAS,YAAY,EACzD,IAAI,EAAE,KAAK,EACX,KAAK,EAAE,MAAM,wBAAwB,CAAC,KAAK,CAAC,GAAG,SAAS,WAEzC,UAAU,GAAG,aAAa,UAU1C"}
|
package/dist/components/data-grid/plugins/row-number/components/data-grid-row-number-cell.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-grid-row-number-cell.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/plugins/row-number/components/data-grid-row-number-cell.tsx"],"names":[],"mappings":";AAMA,wBAAgB,qBAAqB,gCAepC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/plugins/row-number/public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AACjE,YAAY,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC"}
|