@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"row-number-plugin.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/plugins/row-number/row-number-plugin.tsx"],"names":[],"mappings":";AAWA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAKrE,YAAY,EAAE,0BAA0B,EAAE,CAAC;AAE3C,eAAO,MAAM,uBAAuB,2DA0BnC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DataGridPluginApi } from '../../services/plugins/plugins-helpers';
|
|
2
|
+
export interface DataGridRowNumberPluginApi extends DataGridPluginApi {
|
|
3
|
+
columnId: string;
|
|
4
|
+
measureRef: (element: HTMLElement | null) => void;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=row-number-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"row-number-types.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/plugins/row-number/row-number-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAEhF,MAAM,WAAW,0BAA2B,SAAQ,iBAAiB;IACnE,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,CAAC,OAAO,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAC;CACnD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"row-number-formula.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/plugins/row-number/services/row-number-formula.ts"],"names":[],"mappings":"AAAA,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAEnF"}
|
package/dist/components/data-grid/plugins/row-select/components/data-grid-row-select-banner.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-grid-row-select-banner.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/plugins/row-select/components/data-grid-row-select-banner.tsx"],"names":[],"mappings":";AAOA,wBAAgB,uBAAuB,uCA4CtC"}
|
package/dist/components/data-grid/plugins/row-select/components/data-grid-row-select-body.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-grid-row-select-body.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/plugins/row-select/components/data-grid-row-select-body.tsx"],"names":[],"mappings":";AAMA,wBAAgB,qBAAqB,uCAepC"}
|
package/dist/components/data-grid/plugins/row-select/components/data-grid-row-select-header.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-grid-row-select-header.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/plugins/row-select/components/data-grid-row-select-header.tsx"],"names":[],"mappings":";AAIA,wBAAgB,uBAAuB,uCAkBtC"}
|
package/dist/components/data-grid/plugins/row-select/components/data-grid-row-select-top.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-grid-row-select-top.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/plugins/row-select/components/data-grid-row-select-top.tsx"],"names":[],"mappings":";AAMA,wBAAgB,oBAAoB,uCA+BnC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { DataGridRowSelectPlugin } from './row-select-plugin.js';
|
|
2
|
+
export type { DataGridRowSelectPluginApi, DataGridRowSelectPluginProps, DataGridRowSelectMode, DataGridRowSelectDescriptor, DataGridRowSelectChangeMeta, } from './row-select-types.js';
|
|
3
|
+
//# sourceMappingURL=public.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/plugins/row-select/public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AACjE,YAAY,EACV,0BAA0B,EAC1B,4BAA4B,EAC5B,qBAAqB,EACrB,2BAA2B,EAC3B,2BAA2B,GAC5B,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { DataGridItem } from '../../data-grid-types';
|
|
3
|
+
import { DataGridRowSelectPluginProps } from './row-select-types';
|
|
4
|
+
export declare const DataGridRowSelectPlugin: <TItem extends DataGridItem = DataGridItem>(props: DataGridRowSelectPluginProps<TItem>) => ReactNode;
|
|
5
|
+
//# sourceMappingURL=row-select-plugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"row-select-plugin.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/plugins/row-select/row-select-plugin.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAM1D,OAAO,KAAK,EAKV,4BAA4B,EAG7B,MAAM,oBAAoB,CAAC;AAyX5B,eAAO,MAAM,uBAAuB,qDAG3B,6BAA6B,KAAK,CAAC,KACvC,SAAS,CAAC"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { ComponentType } from 'react';
|
|
2
|
+
import { DataGridItem } from '../../data-grid-types';
|
|
3
|
+
import { DataGridItemId } from '../../services/storage/storage-types';
|
|
4
|
+
/** A consumer component rendered into the row-select action bar, given the plugin API. */
|
|
5
|
+
type RowSelectSlotComponent<TItem extends DataGridItem = DataGridItem> = ComponentType<{
|
|
6
|
+
rowSelect: DataGridRowSelectPluginApi<TItem>;
|
|
7
|
+
}>;
|
|
8
|
+
/** Effective selection state of the row-select plugin. */
|
|
9
|
+
export type DataGridRowSelectMode = 'none' | 'page' | 'all';
|
|
10
|
+
/**
|
|
11
|
+
* Describes what a bulk action should operate on.
|
|
12
|
+
*
|
|
13
|
+
* In `'all-matching'` mode the consumer sends its active filter/query plus a
|
|
14
|
+
* "select all matching" flag — never a materialised id list.
|
|
15
|
+
*/
|
|
16
|
+
export type DataGridRowSelectDescriptor = {
|
|
17
|
+
mode: 'ids';
|
|
18
|
+
ids: DataGridItemId[];
|
|
19
|
+
} | {
|
|
20
|
+
mode: 'all-matching';
|
|
21
|
+
};
|
|
22
|
+
/** Metadata passed alongside the selected items to `onSelectionChange`. */
|
|
23
|
+
export interface DataGridRowSelectChangeMeta {
|
|
24
|
+
/** The current selection mode. */
|
|
25
|
+
mode: DataGridRowSelectMode;
|
|
26
|
+
/** Effective count: total matching when `mode` is `'all'`, else selected-id count. */
|
|
27
|
+
count: number;
|
|
28
|
+
}
|
|
29
|
+
export interface DataGridRowSelectPluginProps<TItem extends DataGridItem = DataGridItem> extends Record<string, unknown> {
|
|
30
|
+
/** Custom component rendered in the action bar when rows are selected. */
|
|
31
|
+
component?: RowSelectSlotComponent<TItem>;
|
|
32
|
+
/**
|
|
33
|
+
* Custom component that replaces the default "N items selected" indicator in
|
|
34
|
+
* the action bar. Receives the plugin API so it can derive its own content
|
|
35
|
+
* from the selection (e.g. computed capacities). When omitted the default
|
|
36
|
+
* localized count is shown.
|
|
37
|
+
*/
|
|
38
|
+
statusComponent?: RowSelectSlotComponent<TItem>;
|
|
39
|
+
/** Called whenever the set of selected items changes. */
|
|
40
|
+
onSelectionChange?: (selectedItems: TItem[], meta: DataGridRowSelectChangeMeta) => void;
|
|
41
|
+
/** Allows selecting multiple rows simultaneously. Defaults to `true`. */
|
|
42
|
+
multiple?: boolean;
|
|
43
|
+
/** Predicate to hide the checkbox for specific rows. */
|
|
44
|
+
visible?: (item: TItem) => boolean;
|
|
45
|
+
/** Whether to show the per-page select-all checkbox in the header. Defaults to `true`. */
|
|
46
|
+
showSelectAll?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Opt in to the "Select all N" banner and all-matching mode. Defaults to
|
|
49
|
+
* `false` — enable it only once the consumer handles the all-matching scope
|
|
50
|
+
* via the `meta` argument of `onSelectionChange` or `getSelectionDescriptor()`
|
|
51
|
+
* (in all-matching mode `selectedItems` only holds the current page). Also
|
|
52
|
+
* requires an action `component` and a load result whose `total` exceeds the
|
|
53
|
+
* number of rows on the current page.
|
|
54
|
+
*/
|
|
55
|
+
showSelectAllMatching?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* When true, explicitly selected rows stay selected even when they are not
|
|
58
|
+
* visible (filtered out, searched away, or on a different page) instead of
|
|
59
|
+
* being pruned to the current page. `onSelectionChange` then reports every
|
|
60
|
+
* selected item across pages, and the header select-all/indeterminate state
|
|
61
|
+
* reflects the current page only. Defaults to `false`.
|
|
62
|
+
*
|
|
63
|
+
* Mutually exclusive in spirit with `showSelectAllMatching`: this keeps a
|
|
64
|
+
* hand-picked cross-page set, that offers a single "all matching" scope.
|
|
65
|
+
*/
|
|
66
|
+
keepHiddenSelection?: boolean;
|
|
67
|
+
}
|
|
68
|
+
export interface RowSelectStore {
|
|
69
|
+
selectedIds: Set<DataGridItemId>;
|
|
70
|
+
/** Whether all-matching mode is active (every record matching the active filter). */
|
|
71
|
+
selectAllMatching: boolean;
|
|
72
|
+
/** Total matching count, mirrored from the load result's `total`. */
|
|
73
|
+
total: number;
|
|
74
|
+
}
|
|
75
|
+
export interface RowSelectConfigStore<TItem extends DataGridItem = DataGridItem> {
|
|
76
|
+
multiple: boolean;
|
|
77
|
+
showSelectAll: boolean;
|
|
78
|
+
showSelectAllMatching: boolean;
|
|
79
|
+
keepHiddenSelection: boolean;
|
|
80
|
+
visible: ((item: TItem) => boolean) | undefined;
|
|
81
|
+
onSelectionChange: ((selectedItems: TItem[], meta: DataGridRowSelectChangeMeta) => void) | undefined;
|
|
82
|
+
component: RowSelectSlotComponent<TItem> | undefined;
|
|
83
|
+
statusComponent: RowSelectSlotComponent<TItem> | undefined;
|
|
84
|
+
}
|
|
85
|
+
export interface DataGridRowSelectPluginApi<TItem extends DataGridItem = DataGridItem> {
|
|
86
|
+
useSelectedIds: () => Set<DataGridItemId>;
|
|
87
|
+
useIsSelected: (itemId: DataGridItemId) => boolean;
|
|
88
|
+
useMultiple: () => boolean;
|
|
89
|
+
useShowSelectAll: () => boolean;
|
|
90
|
+
useShowSelectAllMatching: () => boolean;
|
|
91
|
+
useComponent: () => RowSelectSlotComponent<TItem> | undefined;
|
|
92
|
+
useStatusComponent: () => RowSelectSlotComponent<TItem> | undefined;
|
|
93
|
+
useIsAllSelected: () => boolean;
|
|
94
|
+
useIsPartialSelected: () => boolean;
|
|
95
|
+
useIsVisible: (item: TItem) => boolean;
|
|
96
|
+
useIsSelectAllMatching: () => boolean;
|
|
97
|
+
useSelectionMode: () => DataGridRowSelectMode;
|
|
98
|
+
useSelectionCount: () => number;
|
|
99
|
+
useTotalCount: () => number;
|
|
100
|
+
/** Number of selectable (visible-predicate-passing) records on the current page. */
|
|
101
|
+
useSelectableCount: () => number;
|
|
102
|
+
/** Number of records loaded on the current page (ignores the `visible` predicate). */
|
|
103
|
+
useVisibleCount: () => number;
|
|
104
|
+
toggleSelection: (itemId: DataGridItemId) => void;
|
|
105
|
+
clearSelection: () => void;
|
|
106
|
+
toggleSelectAll: (value: boolean) => void;
|
|
107
|
+
/** Enter all-matching mode (records intent; performs no id enumeration). */
|
|
108
|
+
selectAllMatching: () => void;
|
|
109
|
+
/** Describe what a bulk action should target: explicit ids or the whole matching set. */
|
|
110
|
+
getSelectionDescriptor: () => DataGridRowSelectDescriptor;
|
|
111
|
+
}
|
|
112
|
+
export {};
|
|
113
|
+
//# sourceMappingURL=row-select-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"row-select-types.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/plugins/row-select/row-select-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AAE3E,0FAA0F;AAC1F,KAAK,sBAAsB,CAAC,KAAK,SAAS,YAAY,GAAG,YAAY,IAAI,aAAa,CAAC;IACrF,SAAS,EAAE,0BAA0B,CAAC,KAAK,CAAC,CAAC;CAC9C,CAAC,CAAC;AAEH,0DAA0D;AAC1D,MAAM,MAAM,qBAAqB,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC;AAE5D;;;;;GAKG;AACH,MAAM,MAAM,2BAA2B,GACnC;IAAE,IAAI,EAAE,KAAK,CAAC;IAAC,GAAG,EAAE,cAAc,EAAE,CAAA;CAAE,GACtC;IAAE,IAAI,EAAE,cAAc,CAAA;CAAE,CAAC;AAE7B,2EAA2E;AAC3E,MAAM,WAAW,2BAA2B;IAC1C,kCAAkC;IAClC,IAAI,EAAE,qBAAqB,CAAC;IAC5B,sFAAsF;IACtF,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,4BAA4B,CAC3C,KAAK,SAAS,YAAY,GAAG,YAAY,CACzC,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAC/B,0EAA0E;IAC1E,SAAS,CAAC,EAAE,sBAAsB,CAAC,KAAK,CAAC,CAAC;IAC1C;;;;;OAKG;IACH,eAAe,CAAC,EAAE,sBAAsB,CAAC,KAAK,CAAC,CAAC;IAChD,yDAAyD;IACzD,iBAAiB,CAAC,EAAE,CAAC,aAAa,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,2BAA2B,KAAK,IAAI,CAAC;IACxF,yEAAyE;IACzE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,wDAAwD;IACxD,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,KAAK,KAAK,OAAO,CAAC;IACnC,0FAA0F;IAC1F,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;;;;OAOG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC;;;;;;;;;OASG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED,MAAM,WAAW,cAAc;IAC7B,WAAW,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;IACjC,qFAAqF;IACrF,iBAAiB,EAAE,OAAO,CAAC;IAC3B,qEAAqE;IACrE,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,oBAAoB,CAAC,KAAK,SAAS,YAAY,GAAG,YAAY;IAC7E,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,EAAE,OAAO,CAAC;IACvB,qBAAqB,EAAE,OAAO,CAAC;IAC/B,mBAAmB,EAAE,OAAO,CAAC;IAC7B,OAAO,EAAE,CAAC,CAAC,IAAI,EAAE,KAAK,KAAK,OAAO,CAAC,GAAG,SAAS,CAAC;IAChD,iBAAiB,EACb,CAAC,CAAC,aAAa,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,2BAA2B,KAAK,IAAI,CAAC,GACrE,SAAS,CAAC;IACd,SAAS,EAAE,sBAAsB,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC;IACrD,eAAe,EAAE,sBAAsB,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC;CAC5D;AAED,MAAM,WAAW,0BAA0B,CAAC,KAAK,SAAS,YAAY,GAAG,YAAY;IACnF,cAAc,EAAE,MAAM,GAAG,CAAC,cAAc,CAAC,CAAC;IAC1C,aAAa,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,OAAO,CAAC;IACnD,WAAW,EAAE,MAAM,OAAO,CAAC;IAC3B,gBAAgB,EAAE,MAAM,OAAO,CAAC;IAChC,wBAAwB,EAAE,MAAM,OAAO,CAAC;IACxC,YAAY,EAAE,MAAM,sBAAsB,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC;IAC9D,kBAAkB,EAAE,MAAM,sBAAsB,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC;IACpE,gBAAgB,EAAE,MAAM,OAAO,CAAC;IAChC,oBAAoB,EAAE,MAAM,OAAO,CAAC;IACpC,YAAY,EAAE,CAAC,IAAI,EAAE,KAAK,KAAK,OAAO,CAAC;IACvC,sBAAsB,EAAE,MAAM,OAAO,CAAC;IACtC,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;IAC9C,iBAAiB,EAAE,MAAM,MAAM,CAAC;IAChC,aAAa,EAAE,MAAM,MAAM,CAAC;IAC5B,oFAAoF;IACpF,kBAAkB,EAAE,MAAM,MAAM,CAAC;IACjC,sFAAsF;IACtF,eAAe,EAAE,MAAM,MAAM,CAAC;IAC9B,eAAe,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,IAAI,CAAC;IAClD,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,eAAe,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAC1C,4EAA4E;IAC5E,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,yFAAyF;IACzF,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;CAC3D"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ConfigurationGroup } from '../../../services/table/table-types';
|
|
2
|
+
interface DataGridTableConfigurationGroupItemProps {
|
|
3
|
+
group: ConfigurationGroup;
|
|
4
|
+
hasSticky?: boolean;
|
|
5
|
+
onVisibilityToggle: (columnId: string, visible: boolean) => void;
|
|
6
|
+
onStickyToggle: (id: string, sticky: boolean) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare function DataGridTableConfigurationGroupItem({ group, hasSticky, onVisibilityToggle, onStickyToggle, }: DataGridTableConfigurationGroupItemProps): import("react").JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=data-grid-table-configuration-group-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-grid-table-configuration-group-item.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-group-item.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAK9E,UAAU,wCAAwC;IAChD,KAAK,EAAE,kBAAkB,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,kBAAkB,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACjE,cAAc,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;CACvD;AAED,wBAAgB,mCAAmC,CAAC,EAClD,KAAK,EACL,SAAS,EACT,kBAAkB,EAClB,cAAc,GACf,EAAE,wCAAwC,+BAyB1C"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ConfigurationColumn } from '../../../services/table/table-types';
|
|
2
|
+
interface DataGridTableConfigurationItemProps {
|
|
3
|
+
column: ConfigurationColumn;
|
|
4
|
+
hasSticky?: boolean;
|
|
5
|
+
onVisibilityToggle: (columnId: string, visible: boolean) => void;
|
|
6
|
+
onStickyToggle: (columnId: string, sticky: boolean) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare function DataGridTableConfigurationItem({ column, hasSticky, onVisibilityToggle, onStickyToggle, }: DataGridTableConfigurationItemProps): import("react").JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=data-grid-table-configuration-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-grid-table-configuration-item.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-item.tsx"],"names":[],"mappings":";AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAI/E,UAAU,mCAAmC;IAC3C,MAAM,EAAE,mBAAmB,CAAC;IAC5B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,kBAAkB,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACjE,cAAc,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;CAC7D;AAED,wBAAgB,8BAA8B,CAAC,EAC7C,MAAM,EACN,SAAS,EACT,kBAAkB,EAClB,cAAc,GACf,EAAE,mCAAmC,+BA2BrC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface DataGridTableConfigurationPinButtonProps {
|
|
3
|
+
sticky?: boolean;
|
|
4
|
+
onToggle: () => void;
|
|
5
|
+
}
|
|
6
|
+
export declare function DataGridTableConfigurationPinButton({ sticky, onToggle, }: DataGridTableConfigurationPinButtonProps): import("react").JSX.Element;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=data-grid-table-configuration-pin-button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-grid-table-configuration-pin-button.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-pin-button.tsx"],"names":[],"mappings":";AAOA,UAAU,wCAAwC;IAChD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,wBAAgB,mCAAmC,CAAC,EAClD,MAAM,EACN,QAAQ,GACT,EAAE,wCAAwC,+BAiB1C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-grid-table-configuration-trigger.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration-trigger.tsx"],"names":[],"mappings":";AAQA,wBAAgB,iCAAiC,gCAkBhD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-grid-table-configuration.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/plugins/table-configuration/components/data-grid-table-configuration.tsx"],"names":[],"mappings":";AAUA,wBAAgB,0BAA0B,gCA2CzC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/plugins/table-configuration/public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gCAAgC,EAAE,MAAM,iCAAiC,CAAC;AACnF,YAAY,EAAE,qCAAqC,EAAE,MAAM,iCAAiC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/** The plugin takes no props; the type is public so a consumer can name it. */
|
|
3
|
+
export type DataGridTableConfigurationPluginProps = Record<string, never>;
|
|
4
|
+
export declare const DataGridTableConfigurationPlugin: import('react').NamedExoticComponent<DataGridTableConfigurationPluginProps>;
|
|
5
|
+
//# sourceMappingURL=table-configuration-plugin.d.ts.map
|
package/dist/components/data-grid/plugins/table-configuration/table-configuration-plugin.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table-configuration-plugin.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/plugins/table-configuration/table-configuration-plugin.tsx"],"names":[],"mappings":";AAWA,+EAA+E;AAC/E,MAAM,MAAM,qCAAqC,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAE1E,eAAO,MAAM,gCAAgC,6EAY3C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-grid-layout-top.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/services/layout/components/data-grid-layout-top.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"data-grid-layout-top.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/services/layout/components/data-grid-layout-top.tsx"],"names":[],"mappings":";AAOA,wBAAgB,iBAAiB,uCA6ChC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolbar-lines.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/services/layout/components/toolbar-lines.ts"],"names":[],"mappings":"AAgDA,wBAAgB,WAAW,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,CAIlD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-grid-cell.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/services/table/components/data-grid-cell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAG3D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAG7D,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,gBAAgB,CAAC;AAGlE,UAAU,iBAAiB;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,wEAAwE;IACxE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,kGAAkG;IAClG,QAAQ,CAAC,EAAE,2BAA2B,CAAC;IACvC;;;;;OAKG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;;;OAOG;IACH,aAAa,CAAC,EAAE,GAAG,CAAC,eAAe,CAAC,CAAC;IACrC;;;;;;;;OAQG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAUD,wBAAgB,YAAY,CAAC,KAAK,SAAS,YAAY,GAAG,YAAY,EAAE,EACtE,QAAQ,EACR,OAAO,EACP,SAAS,EACT,KAAK,EACL,KAAK,EACL,QAAQ,EACR,MAAM,EACN,OAAO,EACP,QAAQ,EACR,MAAM,EACN,KAAK,EACL,aAAa,EACb,WAAW,EACX,cAAc,GACf,EAAE,iBAAiB,+
|
|
1
|
+
{"version":3,"file":"data-grid-cell.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/services/table/components/data-grid-cell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAG3D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAG7D,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,gBAAgB,CAAC;AAGlE,UAAU,iBAAiB;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,wEAAwE;IACxE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,kGAAkG;IAClG,QAAQ,CAAC,EAAE,2BAA2B,CAAC;IACvC;;;;;OAKG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;;;OAOG;IACH,aAAa,CAAC,EAAE,GAAG,CAAC,eAAe,CAAC,CAAC;IACrC;;;;;;;;OAQG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAUD,wBAAgB,YAAY,CAAC,KAAK,SAAS,YAAY,GAAG,YAAY,EAAE,EACtE,QAAQ,EACR,OAAO,EACP,SAAS,EACT,KAAK,EACL,KAAK,EACL,QAAQ,EACR,MAAM,EACN,OAAO,EACP,QAAQ,EACR,MAAM,EACN,KAAK,EACL,aAAa,EACb,WAAW,EACX,cAAc,GACf,EAAE,iBAAiB,+BA6CnB"}
|
package/dist/components/data-grid/services/table/components/data-grid-extra-header-cell.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-grid-extra-header-cell.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/services/table/components/data-grid-extra-header-cell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"data-grid-extra-header-cell.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/services/table/components/data-grid-extra-header-cell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAKlD,UAAU,4BAA4B;IACpC,MAAM,EAAE,WAAW,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,wBAAgB,uBAAuB,CAAC,KAAK,SAAS,YAAY,EAAE,EAClE,MAAM,EACN,OAAO,EACP,SAAS,EACT,QAAQ,GACT,EAAE,4BAA4B,+BAa9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-grid-header-cell.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/services/table/components/data-grid-header-cell.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAK7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"data-grid-header-cell.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/services/table/components/data-grid-header-cell.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAK7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAIrE,UAAU,uBAAuB,CAAC,KAAK,SAAS,YAAY;IAC1D,MAAM,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAC;IACnC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,kBAAkB,EAAE,SAAS,EAAE,CAAC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,kBAAkB,CAAC,KAAK,SAAS,YAAY,EAAE,EAC7D,MAAM,EACN,OAAO,EACP,kBAAkB,EAClB,SAAS,GACV,EAAE,uBAAuB,CAAC,KAAK,CAAC,+BA+GhC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-grid-header-group.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/services/table/components/data-grid-header-group.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAG7D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAKzD,UAAU,wBAAwB,CAAC,KAAK,SAAS,YAAY;IAC3D,KAAK,EAAE,kBAAkB,CAAC,KAAK,CAAC,CAAC;IACjC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,mBAAmB,CAAC,KAAK,SAAS,YAAY,EAAE,EAC9D,KAAK,EACL,OAAO,EACP,SAAS,GACV,EAAE,wBAAwB,CAAC,KAAK,CAAC,+
|
|
1
|
+
{"version":3,"file":"data-grid-header-group.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/services/table/components/data-grid-header-group.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAG7D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAKzD,UAAU,wBAAwB,CAAC,KAAK,SAAS,YAAY;IAC3D,KAAK,EAAE,kBAAkB,CAAC,KAAK,CAAC,CAAC;IACjC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,mBAAmB,CAAC,KAAK,SAAS,YAAY,EAAE,EAC9D,KAAK,EACL,OAAO,EACP,SAAS,GACV,EAAE,wBAAwB,CAAC,KAAK,CAAC,+BAyBjC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-service.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/services/table/table-service.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAgB3E,OAAO,KAAK,EASV,YAAY,EACb,MAAM,eAAe,CAAC;AAGvB,wBAAgB,kBAAkB,CAAC,KAAK,SAAS,YAAY,EAC3D,OAAO,EAAE,eAAe,CAAC,KAAK,CAAC,GAC9B,YAAY,CAAC,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"table-service.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/services/table/table-service.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAgB3E,OAAO,KAAK,EASV,YAAY,EACb,MAAM,eAAe,CAAC;AAGvB,wBAAgB,kBAAkB,CAAC,KAAK,SAAS,YAAY,EAC3D,OAAO,EAAE,eAAe,CAAC,KAAK,CAAC,GAC9B,YAAY,CAAC,KAAK,CAAC,CAgLrB"}
|
|
@@ -4,6 +4,8 @@ import { DataGridItem } from '../../data-grid-types';
|
|
|
4
4
|
import { DataGridTableColumn, DataGridTableGroup, TableStore } from './table-types';
|
|
5
5
|
/** The slice of the table store the inline-end offsets are derived from. */
|
|
6
6
|
type EndStickyState = Pick<TableStore, 'extraColumnsEnd' | 'columnWidths'>;
|
|
7
|
+
/** The slice of the table store that says whether a start extra column pins, and where. */
|
|
8
|
+
type StartExtraStickyState<TItem extends DataGridItem> = Pick<TableStore<TItem>, 'extraColumnsStart' | 'columns' | 'flatColumns' | 'columnVisibility' | 'columnSticky' | 'groupSticky'>;
|
|
7
9
|
export type TableStickyService<TItem extends DataGridItem = DataGridItem> = ReturnType<typeof prepareTableSticky<TItem>>;
|
|
8
10
|
export declare function prepareTableSticky<TItem extends DataGridItem = DataGridItem>(useTableStore: UseBoundStore<StoreApi<TableStore<TItem>>>): {
|
|
9
11
|
initializeStickyState: (columns: (DataGridTableColumn<TItem> | DataGridTableGroup<TItem>)[]) => {
|
|
@@ -18,6 +20,20 @@ export declare function prepareTableSticky<TItem extends DataGridItem = DataGrid
|
|
|
18
20
|
useColumnEndStickyOffset: (columnId: string) => number | undefined;
|
|
19
21
|
useGroupStickyOffset: (groupId: string) => number | undefined;
|
|
20
22
|
};
|
|
23
|
+
/**
|
|
24
|
+
* Offset from the table's inline-start edge for an extra `start` column (a row number, a
|
|
25
|
+
* checkbox), or `undefined` when it does not pin.
|
|
26
|
+
*
|
|
27
|
+
* A pinned data column or group is offset by the width of every start extra column, so the extra
|
|
28
|
+
* columns have to be pinned in front of it: left unpinned they scroll away and leave that width
|
|
29
|
+
* empty. They pin together with the first pinned data column and not before it, so a grid that pins
|
|
30
|
+
* nothing scrolls its extra columns away with the rest. A pinned column that is hidden pins nothing.
|
|
31
|
+
* Each one sits behind the extra columns before it, in the order they are drawn.
|
|
32
|
+
*
|
|
33
|
+
* The widths are read the way the data columns' own offset reads them (the registered `width`), so
|
|
34
|
+
* the two sums always agree. Pure and store-shaped, like `getEndStickyOffset`.
|
|
35
|
+
*/
|
|
36
|
+
export declare function getStartExtraStickyOffset<TItem extends DataGridItem>(s: StartExtraStickyState<TItem>, columnId: string): number | undefined;
|
|
21
37
|
/**
|
|
22
38
|
* Offset from the table's inline-end edge for a pinned `end` extra column, or `undefined` when
|
|
23
39
|
* the column is not an `end` column that pins.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-sticky.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/services/table/table-sticky.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,KAAK,EAAe,mBAAmB,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAGtG,4EAA4E;AAC5E,KAAK,cAAc,GAAG,IAAI,CAAC,UAAU,EAAE,iBAAiB,GAAG,cAAc,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"table-sticky.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/services/table/table-sticky.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,KAAK,EAAe,mBAAmB,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAGtG,4EAA4E;AAC5E,KAAK,cAAc,GAAG,IAAI,CAAC,UAAU,EAAE,iBAAiB,GAAG,cAAc,CAAC,CAAC;AAE3E,2FAA2F;AAC3F,KAAK,qBAAqB,CAAC,KAAK,SAAS,YAAY,IAAI,IAAI,CAC3D,UAAU,CAAC,KAAK,CAAC,EACjB,mBAAmB,GAAG,SAAS,GAAG,aAAa,GAAG,kBAAkB,GAAG,cAAc,GAAG,aAAa,CACtG,CAAC;AAKF,MAAM,MAAM,kBAAkB,CAAC,KAAK,SAAS,YAAY,GAAG,YAAY,IAAI,UAAU,CACpF,OAAO,kBAAkB,CAAC,KAAK,CAAC,CACjC,CAAC;AAEF,wBAAgB,kBAAkB,CAAC,KAAK,SAAS,YAAY,GAAG,YAAY,EAC1E,aAAa,EAAE,aAAa,CAAC,QAAQ,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;qCAajB,CAAC,oBAAoB,KAAK,CAAC,GAAG,mBAAmB,KAAK,CAAC,CAAC,EAAE;sBAClF,IAAI,MAAM,EAAE,OAAO,CAAC;qBACrB,IAAI,MAAM,EAAE,OAAO,CAAC;;kDAoBjB,oBAAoB,KAAK,CAAC,EAAE,gBAC9B,IAAI,MAAM,EAAE,OAAO,CAAC,KACjC,oBAAoB,KAAK,CAAC,EAAE;+BAmBG,MAAM,SAAS,MAAM;+BASrB,MAAM;6BAIR,MAAM;sCAIG,MAAM,KAAG,MAAM,GAAG,SAAS;yCAgBxB,MAAM,KAAG,MAAM,GAAG,SAAS;oCAIhC,MAAM,KAAG,MAAM,GAAG,SAAS;EAuBnE;AAMD;;;;;;;;;;;;GAYG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,SAAS,YAAY,EAClE,CAAC,EAAE,qBAAqB,CAAC,KAAK,CAAC,EAC/B,QAAQ,EAAE,MAAM,GACf,MAAM,GAAG,SAAS,CAYpB;AAaD;;;;;;;;;;;GAWG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAW1F"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DataGridTreeItem, DataGridTreeNode } from '../../tree-structure/tree-structure-types';
|
|
2
|
+
interface TreeActionsProps<TItem extends DataGridTreeItem> {
|
|
3
|
+
node: DataGridTreeNode<TItem>;
|
|
4
|
+
}
|
|
5
|
+
export declare function TreeActions<TItem extends DataGridTreeItem = DataGridTreeItem>({ node, }: TreeActionsProps<TItem>): import("react").JSX.Element | null;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=tree-actions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tree-actions.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/tree/components/tree-actions.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAMpG,UAAU,gBAAgB,CAAC,KAAK,SAAS,gBAAgB;IACvD,IAAI,EAAE,gBAAgB,CAAC,KAAK,CAAC,CAAC;CAC/B;AAED,wBAAgB,WAAW,CAAC,KAAK,SAAS,gBAAgB,GAAG,gBAAgB,EAAE,EAC7E,IAAI,GACL,EAAE,gBAAgB,CAAC,KAAK,CAAC,sCAiCzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tree-content.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/tree/components/tree-content.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAIlF,wBAAgB,WAAW,CAAC,KAAK,SAAS,gBAAgB,GAAG,gBAAgB,wCAc5E"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DataGridTreeItem } from '../../tree-structure/tree-structure-types';
|
|
2
|
+
import { TreeLayoutSlotName } from '../services/layout/layout-types';
|
|
3
|
+
interface TreeLayoutSlotProps {
|
|
4
|
+
name: TreeLayoutSlotName;
|
|
5
|
+
[key: string]: unknown;
|
|
6
|
+
}
|
|
7
|
+
export declare function TreeLayoutSlot<TItem extends DataGridTreeItem = DataGridTreeItem>({ name, ...props }: TreeLayoutSlotProps): import("react").JSX.Element | null;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=tree-layout-slot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tree-layout-slot.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/tree/components/tree-layout-slot.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAElF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAE1E,UAAU,mBAAmB;IAC3B,IAAI,EAAE,kBAAkB,CAAC;IACzB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,wBAAgB,cAAc,CAAC,KAAK,SAAS,gBAAgB,GAAG,gBAAgB,EAAE,EAChF,IAAI,EACJ,GAAG,KAAK,EACT,EAAE,mBAAmB,sCAgBrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tree-left-slot.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/tree/components/tree-left-slot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,UAAU,iBAAiB;IACzB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,wBAAgB,YAAY,CAAC,EAAE,QAAQ,EAAE,EAAE,iBAAiB,+BAE3D"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { DataGridTreeItem, DataGridTreeNode } from '../../tree-structure/tree-structure-types';
|
|
3
|
+
export interface TreeListItemProps<TItem extends DataGridTreeItem> {
|
|
4
|
+
node: DataGridTreeNode<TItem>;
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
className?: string;
|
|
7
|
+
leftSlot?: ReactNode;
|
|
8
|
+
}
|
|
9
|
+
export declare function TreeListItem<TItem extends DataGridTreeItem = DataGridTreeItem>({ node, children, className, leftSlot, }: TreeListItemProps<TItem>): import("react").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=tree-list-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tree-list-item.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/tree/components/tree-list-item.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAc,SAAS,EAAE,MAAM,OAAO,CAAC;AAGnD,OAAO,KAAK,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAMpG,MAAM,WAAW,iBAAiB,CAAC,KAAK,SAAS,gBAAgB;IAC/D,IAAI,EAAE,gBAAgB,CAAC,KAAK,CAAC,CAAC;IAC9B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,wBAAgB,YAAY,CAAC,KAAK,SAAS,gBAAgB,GAAG,gBAAgB,EAAE,EAC9E,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,QAAQ,GACT,EAAE,iBAAiB,CAAC,KAAK,CAAC,+BAyF1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tree-main.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/tree/components/tree-main.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAOlF,wBAAgB,QAAQ,CAAC,KAAK,SAAS,gBAAgB,GAAG,gBAAgB,iCA0BzE"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DataGridTreeItem, DataGridTreeNode } from '../../tree-structure/tree-structure-types';
|
|
2
|
+
interface TreeNodeContentProps<TItem extends DataGridTreeItem> {
|
|
3
|
+
node: DataGridTreeNode<TItem>;
|
|
4
|
+
}
|
|
5
|
+
export declare function TreeNodeContent<TItem extends DataGridTreeItem = DataGridTreeItem>({ node, }: TreeNodeContentProps<TItem>): import("react").JSX.Element;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=tree-node-content.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tree-node-content.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/tree/components/tree-node-content.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAGpG,UAAU,oBAAoB,CAAC,KAAK,SAAS,gBAAgB;IAC3D,IAAI,EAAE,gBAAgB,CAAC,KAAK,CAAC,CAAC;CAC/B;AAED,wBAAgB,eAAe,CAAC,KAAK,SAAS,gBAAgB,GAAG,gBAAgB,EAAE,EACjF,IAAI,GACL,EAAE,oBAAoB,CAAC,KAAK,CAAC,+BAwB7B"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DataGridTreeItem, DataGridTreeNode } from '../../tree-structure/tree-structure-types';
|
|
2
|
+
interface TreeNodeDirectoryItemProps<TItem extends DataGridTreeItem> {
|
|
3
|
+
node: DataGridTreeNode<TItem>;
|
|
4
|
+
}
|
|
5
|
+
export declare function TreeNodeDirectoryItem<TItem extends DataGridTreeItem = DataGridTreeItem>({ node, }: TreeNodeDirectoryItemProps<TItem>): import("react").JSX.Element;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=tree-node-directory-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tree-node-directory-item.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/tree/components/tree-node-directory-item.tsx"],"names":[],"mappings":";AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAOpG,UAAU,0BAA0B,CAAC,KAAK,SAAS,gBAAgB;IACjE,IAAI,EAAE,gBAAgB,CAAC,KAAK,CAAC,CAAC;CAC/B;AAED,wBAAgB,qBAAqB,CAAC,KAAK,SAAS,gBAAgB,GAAG,gBAAgB,EAAE,EACvF,IAAI,GACL,EAAE,0BAA0B,CAAC,KAAK,CAAC,+BAmEnC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DataGridTreeItem, DataGridTreeNode } from '../../tree-structure/tree-structure-types';
|
|
2
|
+
interface TreeNodeLeafProps<TItem extends DataGridTreeItem> {
|
|
3
|
+
node: DataGridTreeNode<TItem>;
|
|
4
|
+
}
|
|
5
|
+
export declare function TreeNodeLeaf<TItem extends DataGridTreeItem = DataGridTreeItem>({ node, }: TreeNodeLeafProps<TItem>): import("react").JSX.Element;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=tree-node-leaf.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tree-node-leaf.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/tree/components/tree-node-leaf.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAMpG,UAAU,iBAAiB,CAAC,KAAK,SAAS,gBAAgB;IACxD,IAAI,EAAE,gBAAgB,CAAC,KAAK,CAAC,CAAC;CAC/B;AAED,wBAAgB,YAAY,CAAC,KAAK,SAAS,gBAAgB,GAAG,gBAAgB,EAAE,EAC9E,IAAI,GACL,EAAE,iBAAiB,CAAC,KAAK,CAAC,+BAoC1B"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DataGridTreeItem, DataGridTreeNode } from '../../tree-structure/tree-structure-types';
|
|
2
|
+
interface TreeNodesProps<TItem extends DataGridTreeItem> {
|
|
3
|
+
nodes: readonly DataGridTreeNode<TItem>[];
|
|
4
|
+
}
|
|
5
|
+
export declare function TreeNodes<TItem extends DataGridTreeItem = DataGridTreeItem>({ nodes, }: TreeNodesProps<TItem>): import("react").JSX.Element;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=tree-nodes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tree-nodes.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/tree/components/tree-nodes.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAYpG,UAAU,cAAc,CAAC,KAAK,SAAS,gBAAgB;IACrD,KAAK,EAAE,SAAS,gBAAgB,CAAC,KAAK,CAAC,EAAE,CAAC;CAC3C;AAED,wBAAgB,SAAS,CAAC,KAAK,SAAS,gBAAgB,GAAG,gBAAgB,EAAE,EAC3E,KAAK,GACN,EAAE,cAAc,CAAC,KAAK,CAAC,+BAavB"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DataGridTreeItem } from '../../tree-structure/tree-structure-types';
|
|
2
|
+
export interface TreePlaceholderProps<TItem extends DataGridTreeItem> {
|
|
3
|
+
parent: TItem | null;
|
|
4
|
+
}
|
|
5
|
+
export declare function TreePlaceholder<TItem extends DataGridTreeItem = DataGridTreeItem>({ parent, }: TreePlaceholderProps<TItem>): import("react").JSX.Element;
|
|
6
|
+
//# sourceMappingURL=tree-placeholder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tree-placeholder.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-grid/tree/components/tree-placeholder.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAKlF,MAAM,WAAW,oBAAoB,CAAC,KAAK,SAAS,gBAAgB;IAClE,MAAM,EAAE,KAAK,GAAG,IAAI,CAAC;CACtB;AAED,wBAAgB,eAAe,CAAC,KAAK,SAAS,gBAAgB,GAAG,gBAAgB,EAAE,EACjF,MAAM,GACP,EAAE,oBAAoB,CAAC,KAAK,CAAC,+BAW7B"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { DataGridTreeItem } from '../tree-structure/tree-structure-types';
|
|
2
|
+
import { TreePlugin } from './services/plugins/plugins-types';
|
|
3
|
+
import { TreeInstance, TreeConfig } from './tree-types';
|
|
4
|
+
export declare function createTree<TItem extends DataGridTreeItem, TPlugins extends TreePlugin<TItem>[] = TreePlugin<TItem>[]>(config: TreeConfig<TItem>): TreeInstance<TItem, TPlugins>;
|
|
5
|
+
//# sourceMappingURL=create-tree.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-tree.d.ts","sourceRoot":"","sources":["../../../../src/components/data-grid/tree/create-tree.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAM/E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAEnE,OAAO,KAAK,EAAuB,YAAY,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAElF,wBAAgB,UAAU,CACxB,KAAK,SAAS,gBAAgB,EAC9B,QAAQ,SAAS,UAAU,CAAC,KAAK,CAAC,EAAE,GAAG,UAAU,CAAC,KAAK,CAAC,EAAE,EAC1D,MAAM,EAAE,UAAU,CAAC,KAAK,CAAC,GAAG,YAAY,CAAC,KAAK,EAAE,QAAQ,CAAC,CA6C1D"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { DataGridTreeItem } from '../../../tree-structure/tree-structure-types';
|
|
2
|
+
import { TreeInternalContext, TreeInstance } from '../../tree-types';
|
|
3
|
+
import { TreePlugin, TreePluginContext } from '../plugins/plugins-types';
|
|
4
|
+
export declare const TreeProvider: import('react').Provider<TreeInstance<any, any[]> | null>;
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare function useTree<TItem extends DataGridTreeItem = DataGridTreeItem, TPlugins extends TreePlugin<TItem>[] = TreePlugin<TItem>[]>(): TreeInstance<TItem, TPlugins>;
|
|
9
|
+
/**
|
|
10
|
+
* Hook for plugins to access public plugin context.
|
|
11
|
+
* Provides access to plugin APIs, hooks, and layout registration.
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export declare function useTreePluginContext<TItem extends DataGridTreeItem = DataGridTreeItem>(): TreePluginContext<TItem>;
|
|
15
|
+
/**
|
|
16
|
+
* Hook for internal access to all tree services.
|
|
17
|
+
* Not exported in public API - for internal use only.
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
20
|
+
export declare function useTreeContext<TItem extends DataGridTreeItem = DataGridTreeItem>(): TreeInternalContext<TItem>;
|
|
21
|
+
//# sourceMappingURL=tree-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tree-context.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/tree/services/core/tree-context.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AACrF,OAAO,KAAK,EAAE,mBAAmB,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAE1E,OAAO,KAAK,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAK9E,eAAO,MAAM,YAAY,2DAAuB,CAAC;AAEjD;;GAEG;AACH,wBAAgB,OAAO,CACrB,KAAK,SAAS,gBAAgB,GAAG,gBAAgB,EACjD,QAAQ,SAAS,UAAU,CAAC,KAAK,CAAC,EAAE,GAAG,UAAU,CAAC,KAAK,CAAC,EAAE,KACvD,YAAY,CAAC,KAAK,EAAE,QAAQ,CAAC,CAOjC;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAClC,KAAK,SAAS,gBAAgB,GAAG,gBAAgB,KAC9C,iBAAiB,CAAC,KAAK,CAAC,CAI5B;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAC5B,KAAK,SAAS,gBAAgB,GAAG,gBAAgB,KAC9C,mBAAmB,CAAC,KAAK,CAAC,CAI9B"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { DataGridTreeItem } from '../../../tree-structure/tree-structure-types';
|
|
2
|
+
import { TreeInternalContext } from '../../tree-types';
|
|
3
|
+
import { TreeFocusService } from './focus-types';
|
|
4
|
+
export declare function createFocusService<TItem extends DataGridTreeItem>(context: TreeInternalContext<TItem>): TreeFocusService;
|
|
5
|
+
//# sourceMappingURL=focus-service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"focus-service.d.ts","sourceRoot":"","sources":["../../../../../../src/components/data-grid/tree/services/focus/focus-service.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,gBAAgB,EAEjB,MAAM,8CAA8C,CAAC;AACtD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,KAAK,EAAsB,gBAAgB,EAAkB,MAAM,eAAe,CAAC;AAG1F,wBAAgB,kBAAkB,CAAC,KAAK,SAAS,gBAAgB,EAC/D,OAAO,EAAE,mBAAmB,CAAC,KAAK,CAAC,GAClC,gBAAgB,CAwLlB"}
|