@ember-eui/core 14.1.3 → 15.0.0
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/README.md +3 -3
- package/declarations/-private/basic-table.d.ts +366 -0
- package/declarations/-private/basic-table.d.ts.map +1 -0
- package/declarations/-private/eui-apply-props.d.ts +37 -0
- package/declarations/-private/eui-apply-props.d.ts.map +1 -0
- package/declarations/-private/eui-button-context.d.ts +65 -0
- package/declarations/-private/eui-button-context.d.ts.map +1 -0
- package/declarations/-private/eui-button-group-item.d.ts +17 -0
- package/declarations/-private/eui-button-group-item.d.ts.map +1 -0
- package/declarations/-private/eui-comment-item.d.ts +72 -0
- package/declarations/-private/eui-comment-item.d.ts.map +1 -0
- package/declarations/-private/eui-context-menu-entry.d.ts +18 -0
- package/declarations/-private/eui-context-menu-entry.d.ts.map +1 -0
- package/declarations/-private/eui-disabled-element.d.ts +24 -0
- package/declarations/-private/eui-disabled-element.d.ts.map +1 -0
- package/declarations/-private/eui-filter-group-context.d.ts +18 -0
- package/declarations/-private/eui-filter-group-context.d.ts.map +1 -0
- package/declarations/-private/eui-flyout-context.d.ts +32 -0
- package/declarations/-private/eui-flyout-context.d.ts.map +1 -0
- package/declarations/-private/eui-form-context.d.ts +18 -0
- package/declarations/-private/eui-form-context.d.ts.map +1 -0
- package/declarations/-private/eui-form-control-layout-context.d.ts +22 -0
- package/declarations/-private/eui-form-control-layout-context.d.ts.map +1 -0
- package/declarations/-private/eui-list-context.d.ts +42 -0
- package/declarations/-private/eui-list-context.d.ts.map +1 -0
- package/declarations/-private/eui-maybe-popover.d.ts +26 -0
- package/declarations/-private/eui-maybe-popover.d.ts.map +1 -0
- package/declarations/-private/eui-maybe-tool-tip.d.ts +29 -0
- package/declarations/-private/eui-maybe-tool-tip.d.ts.map +1 -0
- package/declarations/-private/eui-node.d.ts +19 -0
- package/declarations/-private/eui-node.d.ts.map +1 -0
- package/declarations/-private/eui-popover-panel-context.d.ts +19 -0
- package/declarations/-private/eui-popover-panel-context.d.ts.map +1 -0
- package/declarations/-private/eui-render-node.d.ts +19 -0
- package/declarations/-private/eui-render-node.d.ts.map +1 -0
- package/declarations/-private/eui-split-button-context.d.ts +23 -0
- package/declarations/-private/eui-split-button-context.d.ts.map +1 -0
- package/declarations/-private/eui-split-panel-context.d.ts +22 -0
- package/declarations/-private/eui-split-panel-context.d.ts.map +1 -0
- package/declarations/-private/eui-spread-attributes.d.ts +17 -0
- package/declarations/-private/eui-spread-attributes.d.ts.map +1 -0
- package/declarations/-private/eui-steps-context.d.ts +18 -0
- package/declarations/-private/eui-steps-context.d.ts.map +1 -0
- package/declarations/-private/eui-steps-horizontal-context.d.ts +15 -0
- package/declarations/-private/eui-steps-horizontal-context.d.ts.map +1 -0
- package/declarations/-private/eui-tabs-context.d.ts +16 -0
- package/declarations/-private/eui-tabs-context.d.ts.map +1 -0
- package/declarations/-private/eui-tour-parts.d.ts +28 -0
- package/declarations/-private/eui-tour-parts.d.ts.map +1 -0
- package/declarations/-private/focus-trap-effects.d.ts +14 -0
- package/declarations/-private/focus-trap-effects.d.ts.map +1 -0
- package/declarations/-private/focus-trap-registry.d.ts +20 -0
- package/declarations/-private/focus-trap-registry.d.ts.map +1 -0
- package/declarations/-private/live-text.d.ts +18 -0
- package/declarations/-private/live-text.d.ts.map +1 -0
- package/declarations/-private/next-frame.d.ts +7 -0
- package/declarations/-private/next-frame.d.ts.map +1 -0
- package/declarations/-private/removed-upstream.d.ts +12 -0
- package/declarations/-private/removed-upstream.d.ts.map +1 -0
- package/declarations/-private/search-bar.d.ts +85 -0
- package/declarations/-private/search-bar.d.ts.map +1 -0
- package/declarations/-private/table-node.d.ts +25 -0
- package/declarations/-private/table-node.d.ts.map +1 -0
- package/declarations/-private/table-pagination-defaults.d.ts +19 -0
- package/declarations/-private/table-pagination-defaults.d.ts.map +1 -0
- package/declarations/-private/tabular-copy-marker.d.ts +17 -0
- package/declarations/-private/tabular-copy-marker.d.ts.map +1 -0
- package/declarations/-private/unused-after-borealis.d.ts +12 -0
- package/declarations/-private/unused-after-borealis.d.ts.map +1 -0
- package/declarations/-private/value-modifier.d.ts +17 -0
- package/declarations/-private/value-modifier.d.ts.map +1 -0
- package/declarations/-private/window-resize.d.ts +10 -0
- package/declarations/-private/window-resize.d.ts.map +1 -0
- package/declarations/components/eui-accordion.d.ts.map +1 -1
- package/declarations/components/eui-auto-refresh-button.d.ts +73 -0
- package/declarations/components/eui-auto-refresh-button.d.ts.map +1 -0
- package/declarations/components/eui-auto-refresh.d.ts +73 -0
- package/declarations/components/eui-auto-refresh.d.ts.map +1 -0
- package/declarations/components/eui-banner.d.ts +132 -0
- package/declarations/components/eui-banner.d.ts.map +1 -0
- package/declarations/components/eui-basic-table/collapsed-item-actions.d.ts +40 -0
- package/declarations/components/eui-basic-table/collapsed-item-actions.d.ts.map +1 -0
- package/declarations/components/eui-basic-table/default-item-action.d.ts +28 -0
- package/declarations/components/eui-basic-table/default-item-action.d.ts.map +1 -0
- package/declarations/components/eui-basic-table/expanded-item-actions.d.ts +25 -0
- package/declarations/components/eui-basic-table/expanded-item-actions.d.ts.map +1 -0
- package/declarations/components/eui-basic-table/pagination-bar.d.ts +47 -0
- package/declarations/components/eui-basic-table/pagination-bar.d.ts.map +1 -0
- package/declarations/components/eui-basic-table-panel.d.ts +43 -0
- package/declarations/components/eui-basic-table-panel.d.ts.map +1 -0
- package/declarations/components/eui-basic-table.d.ts +264 -0
- package/declarations/components/eui-basic-table.d.ts.map +1 -0
- package/declarations/components/eui-button.d.ts.map +1 -1
- package/declarations/components/eui-card.d.ts.map +1 -1
- package/declarations/components/eui-code-block/annotation.d.ts +41 -0
- package/declarations/components/eui-code-block/annotation.d.ts.map +1 -0
- package/declarations/components/eui-collapsible-nav-group.d.ts.map +1 -1
- package/declarations/components/eui-combo-box/node.d.ts +21 -0
- package/declarations/components/eui-combo-box/node.d.ts.map +1 -0
- package/declarations/components/eui-combo-box/option-text.d.ts +37 -0
- package/declarations/components/eui-combo-box/option-text.d.ts.map +1 -0
- package/declarations/components/eui-container-query.d.ts +44 -0
- package/declarations/components/eui-container-query.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/body-base.d.ts +66 -0
- package/declarations/components/eui-data-grid/body-base.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/body.d.ts +215 -0
- package/declarations/components/eui-data-grid/body.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/cell-actions.d.ts +78 -0
- package/declarations/components/eui-data-grid/cell-actions.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/cell.d.ts +220 -0
- package/declarations/components/eui-data-grid/cell.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/column-actions.d.ts +61 -0
- package/declarations/components/eui-data-grid/column-actions.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/column-resizer.d.ts +22 -0
- package/declarations/components/eui-data-grid/column-resizer.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/column-selector.d.ts +47 -0
- package/declarations/components/eui-data-grid/column-selector.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/column-sorting.d.ts +61 -0
- package/declarations/components/eui-data-grid/column-sorting.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/copy-marker.d.ts +16 -0
- package/declarations/components/eui-data-grid/copy-marker.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/custom-body.d.ts +113 -0
- package/declarations/components/eui-data-grid/custom-body.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/default-cell-popover.d.ts +23 -0
- package/declarations/components/eui-data-grid/default-cell-popover.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/display-selector.d.ts +56 -0
- package/declarations/components/eui-data-grid/display-selector.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/footer-row.d.ts +21 -0
- package/declarations/components/eui-data-grid/footer-row.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/fullscreen-selector.d.ts +14 -0
- package/declarations/components/eui-data-grid/fullscreen-selector.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/header-cell.d.ts +159 -0
- package/declarations/components/eui-data-grid/header-cell.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/header-row.d.ts +91 -0
- package/declarations/components/eui-data-grid/header-row.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/in-memory-renderer.d.ts +46 -0
- package/declarations/components/eui-data-grid/in-memory-renderer.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/keyboard-shortcuts.d.ts +24 -0
- package/declarations/components/eui-data-grid/keyboard-shortcuts.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/pagination.d.ts +31 -0
- package/declarations/components/eui-data-grid/pagination.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/row-model.d.ts +81 -0
- package/declarations/components/eui-data-grid/row-model.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/row-tree-hooks.d.ts +65 -0
- package/declarations/components/eui-data-grid/row-tree-hooks.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/row.d.ts +26 -0
- package/declarations/components/eui-data-grid/row.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/toolbar.d.ts +43 -0
- package/declarations/components/eui-data-grid/toolbar.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/tree-cell.d.ts +36 -0
- package/declarations/components/eui-data-grid/tree-cell.d.ts.map +1 -0
- package/declarations/components/eui-data-grid-toolbar-control.d.ts +61 -0
- package/declarations/components/eui-data-grid-toolbar-control.d.ts.map +1 -0
- package/declarations/components/eui-data-grid.d.ts +405 -0
- package/declarations/components/eui-data-grid.d.ts.map +1 -0
- package/declarations/components/eui-emotion-button.d.ts +31 -0
- package/declarations/components/eui-emotion-button.d.ts.map +1 -0
- package/declarations/components/eui-emotion-provider.d.ts +100 -0
- package/declarations/components/eui-emotion-provider.d.ts.map +1 -0
- package/declarations/components/eui-error-message.d.ts +36 -0
- package/declarations/components/eui-error-message.d.ts.map +1 -0
- package/declarations/components/eui-expression.d.ts.map +1 -1
- package/declarations/components/eui-flex-grid.d.ts.map +1 -1
- package/declarations/components/eui-flex-item.d.ts.map +1 -1
- package/declarations/components/eui-flyout-menu.d.ts +194 -0
- package/declarations/components/eui-flyout-menu.d.ts.map +1 -0
- package/declarations/components/eui-flyout-resizable.d.ts +21 -0
- package/declarations/components/eui-flyout-resizable.d.ts.map +1 -0
- package/declarations/components/eui-flyout-resize-button.d.ts +25 -0
- package/declarations/components/eui-flyout-resize-button.d.ts.map +1 -0
- package/declarations/components/eui-flyout.d.ts.map +1 -1
- package/declarations/components/eui-focus-trap.d.ts +96 -0
- package/declarations/components/eui-focus-trap.d.ts.map +1 -0
- package/declarations/components/eui-form-append.d.ts +18 -0
- package/declarations/components/eui-form-append.d.ts.map +1 -0
- package/declarations/components/eui-form-control-button.d.ts +108 -0
- package/declarations/components/eui-form-control-button.d.ts.map +1 -0
- package/declarations/components/eui-form-control-layout/eui-form-append-prepend.d.ts +75 -0
- package/declarations/components/eui-form-control-layout/eui-form-append-prepend.d.ts.map +1 -0
- package/declarations/components/eui-form-prepend.d.ts +18 -0
- package/declarations/components/eui-form-prepend.d.ts.map +1 -0
- package/declarations/components/eui-header-logo/elastic-logo-full.d.ts +11 -0
- package/declarations/components/eui-header-logo/elastic-logo-full.d.ts.map +1 -0
- package/declarations/components/eui-illustration.d.ts +53 -0
- package/declarations/components/eui-illustration.d.ts.map +1 -0
- package/declarations/components/eui-in-memory-table.d.ts +171 -0
- package/declarations/components/eui-in-memory-table.d.ts.map +1 -0
- package/declarations/components/eui-inline-edit/eui-inline-edit-form.d.ts +205 -0
- package/declarations/components/eui-inline-edit/eui-inline-edit-form.d.ts.map +1 -0
- package/declarations/components/eui-inline-edit-text.d.ts +23 -0
- package/declarations/components/eui-inline-edit-text.d.ts.map +1 -0
- package/declarations/components/eui-inline-edit-title.d.ts +38 -0
- package/declarations/components/eui-inline-edit-title.d.ts.map +1 -0
- package/declarations/components/eui-key-pad-menu-item.d.ts.map +1 -1
- package/declarations/components/eui-live-announcer.d.ts +60 -0
- package/declarations/components/eui-live-announcer.d.ts.map +1 -0
- package/declarations/components/eui-markdown-format/markdown-horizontal-rule.d.ts +16 -0
- package/declarations/components/eui-markdown-format/markdown-horizontal-rule.d.ts.map +1 -0
- package/declarations/components/eui-markdown-format/markdown-link.d.ts +28 -0
- package/declarations/components/eui-markdown-format/markdown-link.d.ts.map +1 -0
- package/declarations/components/eui-notification-event.d.ts.map +1 -1
- package/declarations/components/eui-page-body.d.ts +2 -1
- package/declarations/components/eui-page-body.d.ts.map +1 -1
- package/declarations/components/eui-page-content-body.d.ts +2 -1
- package/declarations/components/eui-page-content-body.d.ts.map +1 -1
- package/declarations/components/eui-page-content.d.ts +1 -1
- package/declarations/components/eui-page-content.d.ts.map +1 -1
- package/declarations/components/eui-page-section.d.ts +76 -0
- package/declarations/components/eui-page-section.d.ts.map +1 -0
- package/declarations/components/eui-page-sidebar.d.ts +60 -0
- package/declarations/components/eui-page-sidebar.d.ts.map +1 -0
- package/declarations/components/eui-page-template/bottom-bar.d.ts +54 -0
- package/declarations/components/eui-page-template/bottom-bar.d.ts.map +1 -0
- package/declarations/components/eui-page-template/empty-prompt.d.ts +91 -0
- package/declarations/components/eui-page-template/empty-prompt.d.ts.map +1 -0
- package/declarations/components/eui-page-template/sidebar.d.ts +32 -0
- package/declarations/components/eui-page-template/sidebar.d.ts.map +1 -0
- package/declarations/components/eui-page-template.d.ts +16 -15
- package/declarations/components/eui-page-template.d.ts.map +1 -1
- package/declarations/components/eui-page.d.ts +2 -1
- package/declarations/components/eui-page.d.ts.map +1 -1
- package/declarations/components/eui-pagination/arrow-button.d.ts +26 -0
- package/declarations/components/eui-pagination/arrow-button.d.ts.map +1 -0
- package/declarations/components/eui-pagination.d.ts.map +1 -1
- package/declarations/components/eui-panel.d.ts.map +1 -1
- package/declarations/components/eui-pretty-duration.d.ts +29 -0
- package/declarations/components/eui-pretty-duration.d.ts.map +1 -0
- package/declarations/components/eui-refresh-interval.d.ts +2 -0
- package/declarations/components/eui-refresh-interval.d.ts.map +1 -1
- package/declarations/components/eui-screen-reader-live.d.ts +75 -0
- package/declarations/components/eui-screen-reader-live.d.ts.map +1 -0
- package/declarations/components/eui-search-bar/eui-search-box.d.ts +106 -0
- package/declarations/components/eui-search-bar/eui-search-box.d.ts.map +1 -0
- package/declarations/components/eui-search-bar/field-value-selection-filter.d.ts +70 -0
- package/declarations/components/eui-search-bar/field-value-selection-filter.d.ts.map +1 -0
- package/declarations/components/eui-search-bar/field-value-toggle-filter.d.ts +23 -0
- package/declarations/components/eui-search-bar/field-value-toggle-filter.d.ts.map +1 -0
- package/declarations/components/eui-search-bar/field-value-toggle-group-filter.d.ts +26 -0
- package/declarations/components/eui-search-bar/field-value-toggle-group-filter.d.ts.map +1 -0
- package/declarations/components/eui-search-bar/is-filter.d.ts +23 -0
- package/declarations/components/eui-search-bar/is-filter.d.ts.map +1 -0
- package/declarations/components/eui-search-bar-filters.d.ts +28 -0
- package/declarations/components/eui-search-bar-filters.d.ts.map +1 -0
- package/declarations/components/eui-search-bar.d.ts +134 -0
- package/declarations/components/eui-search-bar.d.ts.map +1 -0
- package/declarations/components/eui-selectable-list/option-text.d.ts +31 -0
- package/declarations/components/eui-selectable-list/option-text.d.ts.map +1 -0
- package/declarations/components/eui-side-nav.d.ts.map +1 -1
- package/declarations/components/eui-skeleton-circle.d.ts +60 -0
- package/declarations/components/eui-skeleton-circle.d.ts.map +1 -0
- package/declarations/components/eui-skeleton-loading/screen-reader-live.d.ts +60 -0
- package/declarations/components/eui-skeleton-loading/screen-reader-live.d.ts.map +1 -0
- package/declarations/components/eui-skeleton-loading.d.ts +86 -0
- package/declarations/components/eui-skeleton-loading.d.ts.map +1 -0
- package/declarations/components/eui-skeleton-rectangle.d.ts +70 -0
- package/declarations/components/eui-skeleton-rectangle.d.ts.map +1 -0
- package/declarations/components/eui-skeleton-text.d.ts +64 -0
- package/declarations/components/eui-skeleton-text.d.ts.map +1 -0
- package/declarations/components/eui-skeleton-title.d.ts +60 -0
- package/declarations/components/eui-skeleton-title.d.ts.map +1 -0
- package/declarations/components/eui-split-button/eui-split-button-action-primary.d.ts +58 -0
- package/declarations/components/eui-split-button/eui-split-button-action-primary.d.ts.map +1 -0
- package/declarations/components/eui-split-button/eui-split-button-action-secondary.d.ts +63 -0
- package/declarations/components/eui-split-button/eui-split-button-action-secondary.d.ts.map +1 -0
- package/declarations/components/eui-split-button.d.ts +76 -0
- package/declarations/components/eui-split-button.d.ts.map +1 -0
- package/declarations/components/eui-stat/description.d.ts.map +1 -1
- package/declarations/components/eui-stat/title.d.ts.map +1 -1
- package/declarations/components/eui-suggest-item.d.ts.map +1 -1
- package/declarations/components/eui-super-date-picker/date-popover/eui-time-zone-display.d.ts +59 -0
- package/declarations/components/eui-super-date-picker/date-popover/eui-time-zone-display.d.ts.map +1 -0
- package/declarations/components/eui-super-date-picker/eui-quick-select-popover/eui-quick-select-panel.d.ts +46 -0
- package/declarations/components/eui-super-date-picker/eui-quick-select-popover/eui-quick-select-panel.d.ts.map +1 -0
- package/declarations/components/eui-super-date-picker/eui-time-window-buttons.d.ts +63 -0
- package/declarations/components/eui-super-date-picker/eui-time-window-buttons.d.ts.map +1 -0
- package/declarations/components/eui-super-date-picker/utils/pretty-interval.d.ts +14 -0
- package/declarations/components/eui-super-date-picker/utils/pretty-interval.d.ts.map +1 -0
- package/declarations/components/eui-super-date-picker/utils/time-window.d.ts +34 -0
- package/declarations/components/eui-super-date-picker/utils/time-window.d.ts.map +1 -0
- package/declarations/components/eui-super-date-picker.d.ts +1 -1
- package/declarations/components/eui-super-date-picker.d.ts.map +1 -1
- package/declarations/components/eui-tabbed-content.d.ts.map +1 -1
- package/declarations/components/eui-table/sticky-header.d.ts +56 -0
- package/declarations/components/eui-table/sticky-header.d.ts.map +1 -0
- package/declarations/components/eui-table/sticky-scrollbar.d.ts +47 -0
- package/declarations/components/eui-table/sticky-scrollbar.d.ts.map +1 -0
- package/declarations/components/eui-table-header-cell.d.ts.map +1 -1
- package/declarations/components/eui-text-block-truncate.d.ts +42 -0
- package/declarations/components/eui-text-block-truncate.d.ts.map +1 -0
- package/declarations/components/eui-text-truncate.d.ts +116 -0
- package/declarations/components/eui-text-truncate.d.ts.map +1 -0
- package/declarations/components/eui-timeline-item-event.d.ts +21 -0
- package/declarations/components/eui-timeline-item-event.d.ts.map +1 -0
- package/declarations/components/eui-timeline-item-icon.d.ts +41 -0
- package/declarations/components/eui-timeline-item-icon.d.ts.map +1 -0
- package/declarations/components/eui-timeline-item.d.ts +46 -0
- package/declarations/components/eui-timeline-item.d.ts.map +1 -0
- package/declarations/components/eui-timeline.d.ts +24 -0
- package/declarations/components/eui-timeline.d.ts.map +1 -0
- package/declarations/components/eui-window-event.d.ts +16 -0
- package/declarations/components/eui-window-event.d.ts.map +1 -0
- package/declarations/helpers/eui-page-restrict-width.d.ts.map +1 -1
- package/declarations/modifiers/container-query.d.ts +26 -0
- package/declarations/modifiers/container-query.d.ts.map +1 -0
- package/declarations/services/eui-emotion.d.ts +21 -0
- package/declarations/services/eui-emotion.d.ts.map +1 -0
- package/declarations/services/eui-flyout-manager.d.ts +103 -0
- package/declarations/services/eui-flyout-manager.d.ts.map +1 -0
- package/declarations/theming.d.ts +84 -0
- package/declarations/theming.d.ts.map +1 -0
- package/declarations/utils/color/eui_palettes_deprecated.d.ts +20 -0
- package/declarations/utils/color/eui_palettes_deprecated.d.ts.map +1 -0
- package/declarations/utils/container-query/match-container.d.ts +85 -0
- package/declarations/utils/container-query/match-container.d.ts.map +1 -0
- package/declarations/utils/data-grid/focus.d.ts +33 -0
- package/declarations/utils/data-grid/focus.d.ts.map +1 -0
- package/declarations/utils/data-grid/row-heights.d.ts +26 -0
- package/declarations/utils/data-grid/row-heights.d.ts.map +1 -0
- package/declarations/utils/data-grid/row-tree.d.ts +102 -0
- package/declarations/utils/data-grid/row-tree.d.ts.map +1 -0
- package/declarations/utils/data-grid/scheduling.d.ts +12 -0
- package/declarations/utils/data-grid/scheduling.d.ts.map +1 -0
- package/declarations/utils/data-grid/schema.d.ts +21 -0
- package/declarations/utils/data-grid/schema.d.ts.map +1 -0
- package/declarations/utils/data-grid/sorting.d.ts +13 -0
- package/declarations/utils/data-grid/sorting.d.ts.map +1 -0
- package/declarations/utils/data-grid/tabular-copy.d.ts +25 -0
- package/declarations/utils/data-grid/tabular-copy.d.ts.map +1 -0
- package/declarations/utils/data-grid/toolbar.d.ts +14 -0
- package/declarations/utils/data-grid/toolbar.d.ts.map +1 -0
- package/declarations/utils/data-grid/types.d.ts +495 -0
- package/declarations/utils/data-grid/types.d.ts.map +1 -0
- package/declarations/utils/emotion/consume.d.ts +10 -0
- package/declarations/utils/emotion/consume.d.ts.map +1 -0
- package/declarations/utils/emotion/context.d.ts +56 -0
- package/declarations/utils/emotion/context.d.ts.map +1 -0
- package/declarations/utils/emotion/system.d.ts +27 -0
- package/declarations/utils/emotion/system.d.ts.map +1 -0
- package/declarations/utils/emotion/theme.d.ts +27 -0
- package/declarations/utils/emotion/theme.d.ts.map +1 -0
- package/declarations/utils/eui/buttons-misc.d.ts +21 -0
- package/declarations/utils/eui/buttons-misc.d.ts.map +1 -0
- package/declarations/utils/eui/code-block.d.ts +16 -0
- package/declarations/utils/eui/code-block.d.ts.map +1 -0
- package/declarations/utils/eui/color-picker.d.ts +43 -0
- package/declarations/utils/eui/color-picker.d.ts.map +1 -0
- package/declarations/utils/eui/combo-box.d.ts +130 -0
- package/declarations/utils/eui/combo-box.d.ts.map +1 -0
- package/declarations/utils/eui/content-blocks.d.ts +14 -0
- package/declarations/utils/eui/content-blocks.d.ts.map +1 -0
- package/declarations/utils/eui/control-bar.d.ts +36 -0
- package/declarations/utils/eui/control-bar.d.ts.map +1 -0
- package/declarations/utils/eui/css-variables.d.ts +34 -0
- package/declarations/utils/eui/css-variables.d.ts.map +1 -0
- package/declarations/utils/eui/data-grid.d.ts +20 -0
- package/declarations/utils/eui/data-grid.d.ts.map +1 -0
- package/declarations/utils/eui/date-pickers.d.ts +73 -0
- package/declarations/utils/eui/date-pickers.d.ts.map +1 -0
- package/declarations/utils/eui/flyout-manager/actions.d.ts +168 -0
- package/declarations/utils/eui/flyout-manager/actions.d.ts.map +1 -0
- package/declarations/utils/eui/flyout-manager/activity-stage.d.ts +27 -0
- package/declarations/utils/eui/flyout-manager/activity-stage.d.ts.map +1 -0
- package/declarations/utils/eui/flyout-manager/const.d.ts +49 -0
- package/declarations/utils/eui/flyout-manager/const.d.ts.map +1 -0
- package/declarations/utils/eui/flyout-manager/history.d.ts +9 -0
- package/declarations/utils/eui/flyout-manager/history.d.ts.map +1 -0
- package/declarations/utils/eui/flyout-manager/layout-mode.d.ts +15 -0
- package/declarations/utils/eui/flyout-manager/layout-mode.d.ts.map +1 -0
- package/declarations/utils/eui/flyout-manager/reducer.d.ts +11 -0
- package/declarations/utils/eui/flyout-manager/reducer.d.ts.map +1 -0
- package/declarations/utils/eui/flyout-manager/selectors.d.ts +34 -0
- package/declarations/utils/eui/flyout-manager/selectors.d.ts.map +1 -0
- package/declarations/utils/eui/flyout-manager/types.d.ts +84 -0
- package/declarations/utils/eui/flyout-manager/types.d.ts.map +1 -0
- package/declarations/utils/eui/flyout-manager/validation.d.ts +30 -0
- package/declarations/utils/eui/flyout-manager/validation.d.ts.map +1 -0
- package/declarations/utils/eui/flyout-menu.d.ts +12 -0
- package/declarations/utils/eui/flyout-menu.d.ts.map +1 -0
- package/declarations/utils/eui/form-controls.d.ts +36 -0
- package/declarations/utils/eui/form-controls.d.ts.map +1 -0
- package/declarations/utils/eui/format.d.ts +43 -0
- package/declarations/utils/eui/format.d.ts.map +1 -0
- package/declarations/utils/eui/global-styles.d.ts +11 -0
- package/declarations/utils/eui/global-styles.d.ts.map +1 -0
- package/declarations/utils/eui/lists.d.ts +20 -0
- package/declarations/utils/eui/lists.d.ts.map +1 -0
- package/declarations/utils/eui/markdown.d.ts +16 -0
- package/declarations/utils/eui/markdown.d.ts.map +1 -0
- package/declarations/utils/eui/modal-flyout.d.ts +63 -0
- package/declarations/utils/eui/modal-flyout.d.ts.map +1 -0
- package/declarations/utils/eui/notification-event.d.ts +23 -0
- package/declarations/utils/eui/notification-event.d.ts.map +1 -0
- package/declarations/utils/eui/page-layout.d.ts +39 -0
- package/declarations/utils/eui/page-layout.d.ts.map +1 -0
- package/declarations/utils/eui/range.d.ts +37 -0
- package/declarations/utils/eui/range.d.ts.map +1 -0
- package/declarations/utils/eui/search-bar/ast-to-es-query-dsl.d.ts +38 -0
- package/declarations/utils/eui/search-bar/ast-to-es-query-dsl.d.ts.map +1 -0
- package/declarations/utils/eui/search-bar/ast-to-es-query-string.d.ts +3 -0
- package/declarations/utils/eui/search-bar/ast-to-es-query-string.d.ts.map +1 -0
- package/declarations/utils/eui/search-bar/ast.d.ts +287 -0
- package/declarations/utils/eui/search-bar/ast.d.ts.map +1 -0
- package/declarations/utils/eui/search-bar/date-format.d.ts +28 -0
- package/declarations/utils/eui/search-bar/date-format.d.ts.map +1 -0
- package/declarations/utils/eui/search-bar/date-value.d.ts +19 -0
- package/declarations/utils/eui/search-bar/date-value.d.ts.map +1 -0
- package/declarations/utils/eui/search-bar/default-syntax-parser.d.ts +9 -0
- package/declarations/utils/eui/search-bar/default-syntax-parser.d.ts.map +1 -0
- package/declarations/utils/eui/search-bar/default-syntax.d.ts +17 -0
- package/declarations/utils/eui/search-bar/default-syntax.d.ts.map +1 -0
- package/declarations/utils/eui/search-bar/execute-ast.d.ts +20 -0
- package/declarations/utils/eui/search-bar/execute-ast.d.ts.map +1 -0
- package/declarations/utils/eui/search-bar/index.d.ts +10 -0
- package/declarations/utils/eui/search-bar/index.d.ts.map +1 -0
- package/declarations/utils/eui/search-bar/operators.d.ts +16 -0
- package/declarations/utils/eui/search-bar/operators.d.ts.map +1 -0
- package/declarations/utils/eui/search-bar/predicate.d.ts +8 -0
- package/declarations/utils/eui/search-bar/predicate.d.ts.map +1 -0
- package/declarations/utils/eui/search-bar/query.d.ts +89 -0
- package/declarations/utils/eui/search-bar/query.d.ts.map +1 -0
- package/declarations/utils/eui/selectable.d.ts +33 -0
- package/declarations/utils/eui/selectable.d.ts.map +1 -0
- package/declarations/utils/eui/sort.d.ts +23 -0
- package/declarations/utils/eui/sort.d.ts.map +1 -0
- package/declarations/utils/eui/split-button.d.ts +13 -0
- package/declarations/utils/eui/split-button.d.ts.map +1 -0
- package/declarations/utils/eui/styles.d.ts +37 -0
- package/declarations/utils/eui/styles.d.ts.map +1 -0
- package/declarations/utils/eui/styles.generated.d.ts +4467 -0
- package/declarations/utils/eui/styles.generated.d.ts.map +1 -0
- package/declarations/utils/eui/suggest.d.ts +24 -0
- package/declarations/utils/eui/suggest.d.ts.map +1 -0
- package/declarations/utils/eui/table.d.ts +12 -0
- package/declarations/utils/eui/table.d.ts.map +1 -0
- package/declarations/utils/eui/text-truncate.d.ts +5 -0
- package/declarations/utils/eui/text-truncate.d.ts.map +1 -0
- package/declarations/utils/eui/theme.d.ts +30 -0
- package/declarations/utils/eui/theme.d.ts.map +1 -0
- package/declarations/utils/eui/token.d.ts +7 -0
- package/declarations/utils/eui/token.d.ts.map +1 -0
- package/declarations/utils/eui/utilities.d.ts +18 -0
- package/declarations/utils/eui/utilities.d.ts.map +1 -0
- package/declarations/utils/html-id-generator.d.ts +11 -0
- package/declarations/utils/html-id-generator.d.ts.map +1 -0
- package/declarations/utils/markdown/plugins/markdown-link-validator.d.ts +53 -0
- package/declarations/utils/markdown/plugins/markdown-link-validator.d.ts.map +1 -0
- package/declarations/utils/markdown/remark/remark-intraword-underscore.d.ts +4 -0
- package/declarations/utils/markdown/remark/remark-intraword-underscore.d.ts.map +1 -0
- package/declarations/utils/pretty-duration.d.ts +12 -0
- package/declarations/utils/pretty-duration.d.ts.map +1 -0
- package/dist/components/eui-accordion.js +1 -3
- package/dist/components/eui-accordion.js.map +1 -1
- package/dist/components/eui-button.js +0 -2
- package/dist/components/eui-button.js.map +1 -1
- package/dist/components/eui-card.js +0 -2
- package/dist/components/eui-card.js.map +1 -1
- package/dist/components/eui-collapsible-nav-group.js +1 -3
- package/dist/components/eui-collapsible-nav-group.js.map +1 -1
- package/dist/components/eui-expression.js +0 -2
- package/dist/components/eui-expression.js.map +1 -1
- package/dist/components/eui-flex-grid.js +1 -3
- package/dist/components/eui-flex-grid.js.map +1 -1
- package/dist/components/eui-flex-item.js +1 -3
- package/dist/components/eui-flex-item.js.map +1 -1
- package/dist/components/eui-flyout.js +0 -2
- package/dist/components/eui-flyout.js.map +1 -1
- package/dist/components/eui-key-pad-menu-item.js +0 -2
- package/dist/components/eui-key-pad-menu-item.js.map +1 -1
- package/dist/components/eui-notification-event.js +0 -2
- package/dist/components/eui-notification-event.js.map +1 -1
- package/dist/components/eui-page-body.js +1 -3
- package/dist/components/eui-page-body.js.map +1 -1
- package/dist/components/eui-page-content-body.js.map +1 -1
- package/dist/components/eui-page-content.js.map +1 -1
- package/dist/components/eui-page-template.js +5 -5
- package/dist/components/eui-page-template.js.map +1 -1
- package/dist/components/eui-page.js.map +1 -1
- package/dist/components/eui-pagination.js +7 -4
- package/dist/components/eui-pagination.js.map +1 -1
- package/dist/components/eui-panel.js +1 -1
- package/dist/components/eui-panel.js.map +1 -1
- package/dist/components/eui-range.js +1 -1
- package/dist/components/eui-range.js.map +1 -1
- package/dist/components/eui-refresh-interval.js +22 -1
- package/dist/components/eui-refresh-interval.js.map +1 -1
- package/dist/components/eui-side-nav.js +0 -2
- package/dist/components/eui-side-nav.js.map +1 -1
- package/dist/components/eui-stat/description.js +0 -2
- package/dist/components/eui-stat/description.js.map +1 -1
- package/dist/components/eui-stat/title.js +0 -2
- package/dist/components/eui-stat/title.js.map +1 -1
- package/dist/components/eui-suggest-item.js +0 -2
- package/dist/components/eui-suggest-item.js.map +1 -1
- package/dist/components/eui-super-date-picker.js.map +1 -1
- package/dist/components/eui-tabbed-content.js +6 -5
- package/dist/components/eui-tabbed-content.js.map +1 -1
- package/dist/components/eui-table-header-cell.js +0 -2
- package/dist/components/eui-table-header-cell.js.map +1 -1
- package/dist/helpers/eui-page-restrict-width.js +1 -1
- package/dist/helpers/eui-page-restrict-width.js.map +1 -1
- package/dist/icons-CQELx6Ce.js.map +1 -1
- package/package.json +5 -6
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import type EuiI18n from '../../services/eui-i18n.ts';
|
|
3
|
+
import type EuiDataGrid from '../eui-data-grid';
|
|
4
|
+
import type EuiDataGridBodyBase from './body-base.ts';
|
|
5
|
+
import type { DragStart, DropResult } from '../eui-drag-drop-context';
|
|
6
|
+
import type { EuiDataGridColumn } from '../../utils/data-grid/types.ts';
|
|
7
|
+
/** Width/resize state the header cells read (the virtualized or custom body). */
|
|
8
|
+
export type EuiDataGridHeaderBody = Pick<EuiDataGridBodyBase<any>, 'widthForColumn' | 'setColumnWidth'>;
|
|
9
|
+
export interface EuiDataGridHeaderRowSignature {
|
|
10
|
+
Element: HTMLDivElement;
|
|
11
|
+
Args: {
|
|
12
|
+
grid: EuiDataGrid;
|
|
13
|
+
body: EuiDataGridHeaderBody;
|
|
14
|
+
};
|
|
15
|
+
Blocks: {
|
|
16
|
+
controlHeaderCell: [{
|
|
17
|
+
columnId: string;
|
|
18
|
+
}];
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* The sticky header row: control and data column header cells. With
|
|
23
|
+
* `columnVisibility.canDragAndDropColumns` the data columns are an
|
|
24
|
+
* `EuiDroppable` list of `EuiDraggable` header cells (port of upstream
|
|
25
|
+
* `draggable_columns.tsx`): drag a header with the pointer, or focus it and
|
|
26
|
+
* press Space, move it with the arrow keys and press Space again to drop it
|
|
27
|
+
* (Escape cancels).
|
|
28
|
+
*/
|
|
29
|
+
export default class EuiDataGridHeaderRow extends Component<EuiDataGridHeaderRowSignature> {
|
|
30
|
+
euiI18n: EuiI18n;
|
|
31
|
+
readonly droppableId: string;
|
|
32
|
+
readonly dragInstructionsId: string;
|
|
33
|
+
/** Column being dragged, and whether the drag uses the keyboard. */
|
|
34
|
+
draggingColumnId: string | null;
|
|
35
|
+
isKeyboardDragging: boolean;
|
|
36
|
+
private wasDragging;
|
|
37
|
+
get themeStyles(): {
|
|
38
|
+
context: import("../../theming.ts").EuiThemeContext;
|
|
39
|
+
header: {
|
|
40
|
+
euiDataGridHeader: import("@emotion/serialize").SerializedStyles;
|
|
41
|
+
underline: import("@emotion/serialize").SerializedStyles;
|
|
42
|
+
shade: import("@emotion/serialize").SerializedStyles;
|
|
43
|
+
};
|
|
44
|
+
draggable: {
|
|
45
|
+
euiDataGridHeaderDroppable: {
|
|
46
|
+
name: string;
|
|
47
|
+
styles: string;
|
|
48
|
+
toString: any;
|
|
49
|
+
};
|
|
50
|
+
euiDataGridHeaderCellDraggableWrapper: import("@emotion/serialize").SerializedStyles;
|
|
51
|
+
euiDataGridHeaderCellDraggable: import("@emotion/serialize").SerializedStyles;
|
|
52
|
+
isKeyboardDragging: import("@emotion/serialize").SerializedStyles;
|
|
53
|
+
underline: import("@emotion/serialize").SerializedStyles;
|
|
54
|
+
shade: import("@emotion/serialize").SerializedStyles;
|
|
55
|
+
noLeadingBorder: import("@emotion/serialize").SerializedStyles;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
get classes(): string;
|
|
59
|
+
get dataColumnOffset(): number;
|
|
60
|
+
get trailingOffset(): number;
|
|
61
|
+
get canDragAndDropColumns(): boolean;
|
|
62
|
+
get droppableCss(): {
|
|
63
|
+
name: string;
|
|
64
|
+
styles: string;
|
|
65
|
+
toString: any;
|
|
66
|
+
};
|
|
67
|
+
get draggableCss(): (import("@emotion/serialize").SerializedStyles | {
|
|
68
|
+
'& > .euiDraggable__item': {
|
|
69
|
+
display: string;
|
|
70
|
+
blockSize: string;
|
|
71
|
+
};
|
|
72
|
+
})[];
|
|
73
|
+
get dragInstructions(): string;
|
|
74
|
+
/** Width for a resizable column's resizer (undefined: no resizer). */
|
|
75
|
+
resizerWidth: (column: EuiDataGridColumn) => number | undefined;
|
|
76
|
+
isLastColumn: (index: number) => boolean;
|
|
77
|
+
onDragStart({ draggableId }: DragStart): void;
|
|
78
|
+
onDragEnd({ source, destination }: DropResult): void;
|
|
79
|
+
/** Scrolls the grid body horizontally while a header is dragged near its edges. */
|
|
80
|
+
autoScrollGrid: import("ember-modifier").FunctionBasedModifier<{
|
|
81
|
+
Args: {
|
|
82
|
+
Positional: unknown[];
|
|
83
|
+
Named: import("ember-modifier/-private/signature").EmptyObject;
|
|
84
|
+
};
|
|
85
|
+
Element: HTMLElement;
|
|
86
|
+
}>;
|
|
87
|
+
onKeyDownCapture(): void;
|
|
88
|
+
/** Keys pressed while a column is lifted are the drag's only (like upstream). */
|
|
89
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
90
|
+
}
|
|
91
|
+
//# sourceMappingURL=header-row.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"header-row.d.ts","sourceRoot":"","sources":["../../../src/components/eui-data-grid/header-row.gts"],"names":[],"mappings":"AAwQA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAoB3C,OAAO,KAAK,OAAO,MAAM,4BAA4B,CAAC;AACtD,OAAO,KAAK,WAAW,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,mBAAmB,MAAM,gBAAgB,CAAC;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAExE,iFAAiF;AACjF,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC,mBAAmB,CAAC,GAAG,CAAC,EAAE,gBAAgB,GAAG,gBAAgB,CAAC,CAAC;AAExG,MAAM,WAAW,6BAA6B;IAC5C,OAAO,EAAE,cAAc,CAAC;IACxB,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW,CAAC;QAClB,IAAI,EAAE,qBAAqB,CAAC;KAC7B,CAAC;IACF,MAAM,EAAE;QACN,iBAAiB,EAAE,CAAC;YAAE,QAAQ,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC;KAC3C,CAAC;CACH;AAED;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,OAAO,oBAAqB,SAAQ,SAAS,CAAC,6BAA6B,CAAC;IACvE,OAAO,EAAE,OAAO,CAAC;IAElC,QAAQ,CAAC,WAAW,SAAiD;IACrE,QAAQ,CAAC,kBAAkB,SAAsC;IAEjE,oEAAoE;IAC3D,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAQ;IACvC,kBAAkB,UAAS;IACpC,OAAO,CAAC,WAAW,CAAS;IAE5B,IACI,WAAW;;;;;;;;;;;;;;;;;;;;MAOd;IAED,IACI,OAAO,IAAI,MAAM,CAIpB;IAED,IAAI,gBAAgB,IAAI,MAAM,CAE7B;IAED,IAAI,cAAc,IAAI,MAAM,CAE3B;IAED,IAAI,qBAAqB,IAAI,OAAO,CAEnC;IAMD,IAAI,YAAY;;;;MAEf;IAED,IACI,YAAY;;;;;SAQf;IAED,IAAI,gBAAgB,IAAI,MAAM,CAK7B;IAED,sEAAsE;IACtE,YAAY,GAAI,QAAQ,iBAAiB,KAAG,MAAM,GAAG,SAAS,CACwB;IAEtF,YAAY,GAAI,OAAO,MAAM,KAAG,OAAO,CAAiD;IAGxF,WAAW,CAAC,EAAE,WAAW,EAAE,EAAE,SAAS,GAAG,IAAI;IAK7C,SAAS,CAAC,EAAE,MAAM,EAAE,WAAW,EAAE,EAAE,UAAU,GAAG,IAAI;IAoBpD,mFAAmF;IACnF,cAAc;;;;;;OAOX;IAGH,gBAAgB,IAAI,IAAI;IAIxB,iFAAiF;IAEjF,SAAS,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI;CAoKtC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import type EuiDataGrid from '../eui-data-grid';
|
|
3
|
+
import type { EuiDataGridCellValueElementProps, EuiDataGridColumn, EuiDataGridInMemory } from '../../utils/data-grid/types.ts';
|
|
4
|
+
export interface EuiDataGridInMemoryRendererSignature {
|
|
5
|
+
Args: {
|
|
6
|
+
grid: EuiDataGrid;
|
|
7
|
+
inMemory: EuiDataGridInMemory;
|
|
8
|
+
rowCount: number;
|
|
9
|
+
};
|
|
10
|
+
Blocks: {
|
|
11
|
+
cell: [EuiDataGridCellValueElementProps];
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Renders every cell off-document (like upstream's portal into a document
|
|
16
|
+
* fragment) and reports the text of each cell to the grid, which uses it
|
|
17
|
+
* for schema detection and in-memory sorting.
|
|
18
|
+
*/
|
|
19
|
+
export default class EuiDataGridInMemoryRenderer extends Component<EuiDataGridInMemoryRendererSignature> {
|
|
20
|
+
/** Detached container: rendered, never attached to the document. */
|
|
21
|
+
readonly container: HTMLDivElement;
|
|
22
|
+
get columns(): Array<{
|
|
23
|
+
column: EuiDataGridColumn;
|
|
24
|
+
colIndex: number;
|
|
25
|
+
isExpandable: boolean;
|
|
26
|
+
}>;
|
|
27
|
+
rowAt: (rowIndex: number) => unknown;
|
|
28
|
+
get rows(): number[];
|
|
29
|
+
/** Reads all cell texts after rendering and watches later changes. */
|
|
30
|
+
observe: import("ember-modifier").FunctionBasedModifier<{
|
|
31
|
+
Args: {
|
|
32
|
+
Positional: unknown[];
|
|
33
|
+
Named: import("ember-modifier/-private/signature").EmptyObject;
|
|
34
|
+
};
|
|
35
|
+
Element: HTMLElement;
|
|
36
|
+
}>;
|
|
37
|
+
/** Upstream resets stale values when the level or row count changes. */
|
|
38
|
+
resetValues: import("ember-modifier").FunctionBasedModifier<{
|
|
39
|
+
Args: {
|
|
40
|
+
Positional: [string, number];
|
|
41
|
+
Named: import("ember-modifier/-private/signature").EmptyObject;
|
|
42
|
+
};
|
|
43
|
+
Element: HTMLElement;
|
|
44
|
+
}>;
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=in-memory-renderer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"in-memory-renderer.d.ts","sourceRoot":"","sources":["../../../src/components/eui-data-grid/in-memory-renderer.gts"],"names":[],"mappings":"AAsIA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAO3C,OAAO,KAAK,WAAW,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,EACV,gCAAgC,EAChC,iBAAiB,EACjB,mBAAmB,EACpB,MAAM,gCAAgC,CAAC;AAExC,MAAM,WAAW,oCAAoC;IACnD,IAAI,EAAE;QAAE,IAAI,EAAE,WAAW,CAAC;QAAC,QAAQ,EAAE,mBAAmB,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC;IAC7E,MAAM,EAAE;QAAE,IAAI,EAAE,CAAC,gCAAgC,CAAC,CAAA;KAAE,CAAC;CACtD;AAQD;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,2BAA4B,SAAQ,SAAS,CAAC,oCAAoC,CAAC;IACtG,oEAAoE;IACpE,QAAQ,CAAC,SAAS,iBAAiC;IAEnD,IAAI,OAAO,IAAI,KAAK,CAAC;QAAE,MAAM,EAAE,iBAAiB,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,YAAY,EAAE,OAAO,CAAA;KAAE,CAAC,CAS3F;IAGD,KAAK,GAAI,UAAU,MAAM,KAAG,OAAO,CAA6C;IAEhF,IAAI,IAAI,IAAI,MAAM,EAAE,CAEnB;IAED,sEAAsE;IACtE,OAAO;;;;;;OA4BJ;IAEH,wEAAwE;IACxE,WAAW;;;;;;OAER;CA+EJ"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import type EuiI18n from '../../services/eui-i18n.ts';
|
|
3
|
+
interface Shortcut {
|
|
4
|
+
keys: string[];
|
|
5
|
+
description: string;
|
|
6
|
+
}
|
|
7
|
+
export interface EuiDataGridKeyboardShortcutsSignature {
|
|
8
|
+
Args: Record<string, never>;
|
|
9
|
+
}
|
|
10
|
+
/** Toolbar keyboard shortcuts popover. */
|
|
11
|
+
export default class EuiDataGridKeyboardShortcuts extends Component<EuiDataGridKeyboardShortcutsSignature> {
|
|
12
|
+
euiI18n: EuiI18n;
|
|
13
|
+
isOpen: boolean;
|
|
14
|
+
readonly titleId: string;
|
|
15
|
+
t: (token: string, fallback: string) => string;
|
|
16
|
+
get textCss(): import("@emotion/serialize").SerializedStyles;
|
|
17
|
+
get title(): string;
|
|
18
|
+
get copyModifier(): string;
|
|
19
|
+
get shortcuts(): Shortcut[];
|
|
20
|
+
toggle(): void;
|
|
21
|
+
close(): void;
|
|
22
|
+
}
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=keyboard-shortcuts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keyboard-shortcuts.d.ts","sourceRoot":"","sources":["../../../src/components/eui-data-grid/keyboard-shortcuts.gts"],"names":[],"mappings":"AAyIA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAmB3C,OAAO,KAAK,OAAO,MAAM,4BAA4B,CAAC;AAEtD,UAAU,QAAQ;IAChB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,qCAAqC;IACpD,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;CAC7B;AAED,0CAA0C;AAC1C,MAAM,CAAC,OAAO,OAAO,4BAA6B,SAAQ,SAAS,CAAC,qCAAqC,CAAC;IACvF,OAAO,EAAE,OAAO,CAAC;IAEzB,MAAM,UAAS;IACxB,QAAQ,CAAC,OAAO,SAAmD;IAEnE,CAAC,GAAI,OAAO,MAAM,EAAE,UAAU,MAAM,KAAG,MAAM,CAA8C;IAE3F,IACI,OAAO,kDAGV;IAED,IAAI,KAAK,IAAI,MAAM,CAElB;IAED,IAAI,YAAY,IAAI,MAAM,CAMzB;IAED,IAAI,SAAS,IAAI,QAAQ,EAAE,CAoB1B;IAGD,MAAM,IAAI,IAAI;IAKd,KAAK,IAAI,IAAI;CAsHd"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import type EuiI18n from '../../services/eui-i18n.ts';
|
|
3
|
+
import type EuiDataGrid from '../eui-data-grid';
|
|
4
|
+
import type { EuiDataGridPaginationProps } from '../../utils/data-grid/types.ts';
|
|
5
|
+
/**
|
|
6
|
+
* Do not render the pagination when the row count is below the smallest
|
|
7
|
+
* page size option (or the page size without options).
|
|
8
|
+
*/
|
|
9
|
+
export declare function shouldRenderPagination(rowCount: number, { pageSize, pageSizeOptions }: {
|
|
10
|
+
pageSize?: number;
|
|
11
|
+
pageSizeOptions?: number[];
|
|
12
|
+
}): boolean;
|
|
13
|
+
export interface EuiDataGridPaginationSignature {
|
|
14
|
+
Args: {
|
|
15
|
+
grid: EuiDataGrid;
|
|
16
|
+
pagination: EuiDataGridPaginationProps & {
|
|
17
|
+
pageSize: number;
|
|
18
|
+
pageSizeOptions: number[];
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
/** EuiTablePagination below the grid, controlling the grid body. */
|
|
23
|
+
export default class EuiDataGridPagination extends Component<EuiDataGridPaginationSignature> {
|
|
24
|
+
euiI18n: EuiI18n;
|
|
25
|
+
get classes(): string;
|
|
26
|
+
get pageCount(): number;
|
|
27
|
+
get ariaLabel(): string;
|
|
28
|
+
/** Focus the first data cell & scroll to the top whenever the page changes. */
|
|
29
|
+
onChangePage(pageIndex: number): void;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=pagination.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../../../src/components/eui-data-grid/pagination.gts"],"names":[],"mappings":"AAuFA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAU3C,OAAO,KAAK,OAAO,MAAM,4BAA4B,CAAC;AACtD,OAAO,KAAK,WAAW,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAEjF;;;GAGG;AACH,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,MAAM,EAChB,EAAE,QAAQ,EAAE,eAAe,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAAC,eAAe,CAAC,EAAE,MAAM,EAAE,CAAA;CAAE,GAC/E,OAAO,CAGT;AAED,MAAM,WAAW,8BAA8B;IAC7C,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW,CAAC;QAClB,UAAU,EAAE,0BAA0B,GAAG;YAAE,QAAQ,EAAE,MAAM,CAAC;YAAC,eAAe,EAAE,MAAM,EAAE,CAAA;SAAE,CAAC;KAC1F,CAAC;CACH;AAED,oEAAoE;AACpE,MAAM,CAAC,OAAO,OAAO,qBAAsB,SAAQ,SAAS,CAAC,8BAA8B,CAAC;IACzE,OAAO,EAAE,OAAO,CAAC;IAElC,IACI,OAAO,IAAI,MAAM,CAIpB;IAED,IAAI,SAAS,IAAI,MAAM,CAItB;IAED,IAAI,SAAS,IAAI,MAAM,CAYtB;IAED,+EAA+E;IAE/E,YAAY,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI;CA4BtC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import type { RowTreeNode, RowTreeNodeKind, RowTreeVisibleRow } from '../../utils/data-grid/row-tree.ts';
|
|
2
|
+
import type { EuiDataGridGrouping, EuiDataGridRefProps, EuiDataGridRowTree, EuiDataGridRowTreeOptions, EuiDataGridSorting } from '../../utils/data-grid/types.ts';
|
|
3
|
+
/** What the row model reads from the grid. */
|
|
4
|
+
export interface EuiDataGridRowModelHost {
|
|
5
|
+
readonly args: {
|
|
6
|
+
rowTree?: EuiDataGridRowTree;
|
|
7
|
+
grouping?: EuiDataGridGrouping;
|
|
8
|
+
rowCount?: number;
|
|
9
|
+
sorting?: EuiDataGridSorting;
|
|
10
|
+
};
|
|
11
|
+
/** In-memory sort order (`map[position] = rowIndex`), empty when unsorted. */
|
|
12
|
+
readonly sortedRowMap: number[];
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* State of `@rowTree` / `@grouping` (Ember EUI extension): the row tree, the
|
|
16
|
+
* expanded ids (controlled or internal) and the flat list of visible rows the
|
|
17
|
+
* grid renders instead of `0..rowCount`.
|
|
18
|
+
*/
|
|
19
|
+
export default class EuiDataGridRowModel {
|
|
20
|
+
private host;
|
|
21
|
+
constructor(host: EuiDataGridRowModelHost);
|
|
22
|
+
/** Internal expanded ids (uncontrolled), null until the first toggle. */
|
|
23
|
+
private internalRowIds;
|
|
24
|
+
private internalGroupIds;
|
|
25
|
+
get isActive(): boolean;
|
|
26
|
+
get treeOptions(): EuiDataGridRowTreeOptions | undefined;
|
|
27
|
+
get grouping(): EuiDataGridGrouping | undefined;
|
|
28
|
+
/** Data rows (before grouping): the row tree, or flat rows. */
|
|
29
|
+
get built(): {
|
|
30
|
+
roots: RowTreeNode[];
|
|
31
|
+
rows: unknown[] | null;
|
|
32
|
+
};
|
|
33
|
+
/** Row objects by data row index (null when the grid has no row objects). */
|
|
34
|
+
get rows(): unknown[] | null;
|
|
35
|
+
/** Number of data rows (all levels). */
|
|
36
|
+
get dataRowCount(): number;
|
|
37
|
+
rowAt(rowIndex: number): unknown;
|
|
38
|
+
get groupedRoots(): RowTreeNode[];
|
|
39
|
+
/**
|
|
40
|
+
* Siblings sorted: groups by value (in the sort direction of their column
|
|
41
|
+
* when it is sorted), rows by the in-memory sort order when there is one.
|
|
42
|
+
*/
|
|
43
|
+
get roots(): RowTreeNode[];
|
|
44
|
+
get expandableIds(): {
|
|
45
|
+
row: string[];
|
|
46
|
+
group: string[];
|
|
47
|
+
};
|
|
48
|
+
private defaultIds;
|
|
49
|
+
get expandedRowIds(): string[];
|
|
50
|
+
get expandedGroupIds(): string[];
|
|
51
|
+
get expandedSets(): Record<RowTreeNodeKind, Set<string>>;
|
|
52
|
+
/** The rows the grid renders, in order. */
|
|
53
|
+
get visibleRows(): RowTreeVisibleRow[];
|
|
54
|
+
/** Column with the indentation and toggle (undefined: the first data column). */
|
|
55
|
+
get toggleColumnId(): string | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* The visible row at a grid row index, which is page-relative or absolute
|
|
58
|
+
* (like `getCorrectRowIndex`): `startRow` is the page's first row.
|
|
59
|
+
*/
|
|
60
|
+
visibleRowAt(visibleRowIndex: number, startRow: number): RowTreeVisibleRow | undefined;
|
|
61
|
+
/** Data row index (negative for groups) of an unpaginated visible row. */
|
|
62
|
+
rowIndexAt(unpaginatedRowIndex: number): number;
|
|
63
|
+
/**
|
|
64
|
+
* Unpaginated visible index of a data row for the imperative API,
|
|
65
|
+
* expanding its collapsed ancestors first.
|
|
66
|
+
*/
|
|
67
|
+
findVisibleRowIndex(rowIndex: number): number;
|
|
68
|
+
/** `@registerApi` additions. */
|
|
69
|
+
readonly api: Partial<EuiDataGridRefProps>;
|
|
70
|
+
/** Visible position of a data row index, or -1. */
|
|
71
|
+
indexOfRowIndex(rowIndex: number): number;
|
|
72
|
+
private kindOf;
|
|
73
|
+
setExpanded(kind: RowTreeNodeKind, ids: string[]): void;
|
|
74
|
+
setRowExpanded(id: string, isExpanded: boolean, kind?: RowTreeNodeKind | undefined): void;
|
|
75
|
+
toggle(row: Pick<RowTreeVisibleRow, 'id' | 'kind' | 'isExpanded'>): void;
|
|
76
|
+
expandAll(): void;
|
|
77
|
+
collapseAll(): void;
|
|
78
|
+
/** Expands the ancestors of a data row so it becomes visible. */
|
|
79
|
+
reveal(rowIndex: number): void;
|
|
80
|
+
}
|
|
81
|
+
//# sourceMappingURL=row-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"row-model.d.ts","sourceRoot":"","sources":["../../../src/components/eui-data-grid/row-model.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EACV,WAAW,EACX,eAAe,EACf,iBAAiB,EAClB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EAC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../utils/data-grid/row-tree.ts';
|
|
3
|
+
import type { EuiDataGridColumn, EuiDataGridRowTreeRowInfo } from '../../utils/data-grid/types.ts';
|
|
4
|
+
export interface RowTreeCellState {
|
|
5
|
+
/** The tree row shown by the cell (undefined without the args). */
|
|
6
|
+
row: RowTreeVisibleRow | undefined;
|
|
7
|
+
isGroupRow: boolean;
|
|
8
|
+
/** The cell holding the indentation and the toggle. */
|
|
9
|
+
isToggleCell: boolean;
|
|
10
|
+
/** The row object, passed to renderers as `@row`. */
|
|
11
|
+
rowData: unknown;
|
|
12
|
+
/** The data row's tree state, passed to renderers as `@rowTree`. */
|
|
13
|
+
info: EuiDataGridRowTreeRowInfo | undefined;
|
|
14
|
+
}
|
|
15
|
+
/** Tree state of a cell (`cell.gts` `rowTree` getter). */
|
|
16
|
+
export declare function rowTreeCellState(grid: EuiDataGrid, { visibleRowIndex, rowIndex, column, isFooter }: {
|
|
17
|
+
visibleRowIndex: number;
|
|
18
|
+
rowIndex: number;
|
|
19
|
+
column: EuiDataGridColumn | undefined;
|
|
20
|
+
isFooter?: boolean;
|
|
21
|
+
}): RowTreeCellState;
|
|
22
|
+
/**
|
|
23
|
+
* Keyboard in the toggle cell, following the WAI-ARIA treegrid pattern:
|
|
24
|
+
*
|
|
25
|
+
* - Space toggles; Enter toggles when the cell has no popover to open and
|
|
26
|
+
* no interactive content to enter.
|
|
27
|
+
* - ArrowRight expands a collapsed row (otherwise the grid moves right).
|
|
28
|
+
* - ArrowLeft collapses an expanded row, or moves to the parent row's toggle
|
|
29
|
+
* cell (top-level rows: the grid moves left).
|
|
30
|
+
*
|
|
31
|
+
* Only when the cell itself has focus: not while its popover is open or its
|
|
32
|
+
* interactive content (focus trap, editing) has focus. Returns whether the
|
|
33
|
+
* key was handled.
|
|
34
|
+
*/
|
|
35
|
+
export declare function handleRowTreeCellKeyDown(event: KeyboardEvent, { grid, tree, cellElement, colIndex, isExpandable, isPopoverOpen, hasFocusTrap }: {
|
|
36
|
+
grid: EuiDataGrid;
|
|
37
|
+
tree: RowTreeCellState;
|
|
38
|
+
cellElement: HTMLElement | null;
|
|
39
|
+
colIndex: number;
|
|
40
|
+
isExpandable: boolean;
|
|
41
|
+
isPopoverOpen: boolean;
|
|
42
|
+
/** Enter enters cells with interactive content instead. */
|
|
43
|
+
hasFocusTrap: boolean;
|
|
44
|
+
}): boolean;
|
|
45
|
+
export interface RowTreeRowAttributes {
|
|
46
|
+
level?: number;
|
|
47
|
+
expanded?: string;
|
|
48
|
+
setSize?: number;
|
|
49
|
+
posInSet?: number;
|
|
50
|
+
className?: string;
|
|
51
|
+
}
|
|
52
|
+
/** Treegrid ARIA attributes and class of a `role=row` (`row.gts`). */
|
|
53
|
+
export declare function rowTreeRowAttributes(grid: EuiDataGrid, visibleRowIndex: number): RowTreeRowAttributes;
|
|
54
|
+
/**
|
|
55
|
+
* Collapsing rows can leave the page index past the last page: move to the
|
|
56
|
+
* last page (only with `@rowTree`/`@grouping`).
|
|
57
|
+
*/
|
|
58
|
+
export declare const clampRowTreePageIndex: import("ember-modifier").FunctionBasedModifier<{
|
|
59
|
+
Args: {
|
|
60
|
+
Positional: [EuiDataGrid, number, number | undefined, number | undefined];
|
|
61
|
+
Named: import("ember-modifier/-private/signature").EmptyObject;
|
|
62
|
+
};
|
|
63
|
+
Element: HTMLElement;
|
|
64
|
+
}>;
|
|
65
|
+
//# sourceMappingURL=row-tree-hooks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"row-tree-hooks.d.ts","sourceRoot":"","sources":["../../../src/components/eui-data-grid/row-tree-hooks.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,WAAW,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAC3E,OAAO,KAAK,EACV,iBAAiB,EACjB,yBAAyB,EAC1B,MAAM,gCAAgC,CAAC;AAMxC,MAAM,WAAW,gBAAgB;IAC/B,mEAAmE;IACnE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EAAE,eAAe,EAAE,MAAM,GAAG,oBAAoB,CAYrG;AAMD;;;GAGG;AACH,eAAO,MAAM,qBAAqB;;;;;;EASjC,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import type EuiDataGrid from '../eui-data-grid';
|
|
3
|
+
import type { EuiDataGridSignature } from '../eui-data-grid';
|
|
4
|
+
import type EuiDataGridBody from './body';
|
|
5
|
+
export interface EuiDataGridRowSignature {
|
|
6
|
+
Args: {
|
|
7
|
+
grid: EuiDataGrid;
|
|
8
|
+
body: EuiDataGridBody;
|
|
9
|
+
visibleRowIndex: number;
|
|
10
|
+
hasCellPopoverBlock?: boolean;
|
|
11
|
+
};
|
|
12
|
+
Blocks: Pick<EuiDataGridSignature['Blocks'], 'cell' | 'cellPopover' | 'controlCell'>;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* A `div[role=row]` positioned at its row offset (upstream's row manager
|
|
16
|
+
* creates the same element imperatively), rendering the cells of the
|
|
17
|
+
* columns in the body's rendered window.
|
|
18
|
+
*/
|
|
19
|
+
export default class EuiDataGridRow extends Component<EuiDataGridRowSignature> {
|
|
20
|
+
/** Row index from the data, not affected by sorting/pagination. */
|
|
21
|
+
get rowIndex(): number;
|
|
22
|
+
get classes(): string;
|
|
23
|
+
get rowTree(): import("./row-tree-hooks.ts").RowTreeRowAttributes;
|
|
24
|
+
get style(): import("@ember/template").TrustedHTML;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=row.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"row.d.ts","sourceRoot":"","sources":["../../../src/components/eui-data-grid/row.gts"],"names":[],"mappings":"AAuFA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAO3C,OAAO,KAAK,WAAW,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,KAAK,eAAe,MAAM,YAAY,CAAC;AAE9C,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW,CAAC;QAClB,IAAI,EAAE,eAAe,CAAC;QACtB,eAAe,EAAE,MAAM,CAAC;QACxB,mBAAmB,CAAC,EAAE,OAAO,CAAC;KAC/B,CAAC;IACF,MAAM,EAAE,IAAI,CAAC,oBAAoB,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,aAAa,GAAG,aAAa,CAAC,CAAC;CACtF;AAED;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,SAAS,CAAC,uBAAuB,CAAC;IAC5E,mEAAmE;IACnE,IAAI,QAAQ,IAAI,MAAM,CAErB;IAED,IAAI,OAAO,IAAI,MAAM,CAWpB;IAGD,IAAI,OAAO,uDAEV;IAED,IAAI,KAAK,0CAMR;CAgEF"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import type EuiDataGrid from '../eui-data-grid';
|
|
3
|
+
import type { EuiDataGridCustomToolbarProps } from '../../utils/data-grid/types.ts';
|
|
4
|
+
import type { ComponentLike } from '@glint/template';
|
|
5
|
+
/** When below this width the grid only shows the right icon buttons. */
|
|
6
|
+
export declare const MINIMUM_WIDTH_FOR_GRID_CONTROLS = 479;
|
|
7
|
+
export interface EuiDataGridToolbarSignature {
|
|
8
|
+
Args: {
|
|
9
|
+
grid: EuiDataGrid;
|
|
10
|
+
hasCustomToolbarBlock?: boolean;
|
|
11
|
+
};
|
|
12
|
+
Blocks: {
|
|
13
|
+
leftControlsPrepend: [];
|
|
14
|
+
leftControlsAppend: [];
|
|
15
|
+
rightControls: [];
|
|
16
|
+
customToolbar: [EuiDataGridCustomToolbarProps];
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* The grid toolbar: column, sorting, keyboard, display and fullscreen
|
|
21
|
+
* controls, or `@renderCustomToolbar` / the `<:customToolbar>` block given
|
|
22
|
+
* those controls.
|
|
23
|
+
*/
|
|
24
|
+
export default class EuiDataGridToolbar extends Component<EuiDataGridToolbarSignature> {
|
|
25
|
+
get classes(): {
|
|
26
|
+
controls: string;
|
|
27
|
+
left: string;
|
|
28
|
+
right: string;
|
|
29
|
+
};
|
|
30
|
+
get visibility(): boolean | import('../eui-data-grid').EuiDataGridToolBarVisibilityOptions | undefined;
|
|
31
|
+
/** Enables/disables the left controls based on available width. */
|
|
32
|
+
get hasRoomForGridControls(): boolean;
|
|
33
|
+
get showColumnSelector(): boolean;
|
|
34
|
+
get showSortSelector(): boolean;
|
|
35
|
+
get showKeyboardShortcuts(): boolean;
|
|
36
|
+
get showDisplaySelector(): boolean;
|
|
37
|
+
get showFullScreenSelector(): boolean;
|
|
38
|
+
get sorting(): import('../eui-data-grid').EuiDataGridSorting;
|
|
39
|
+
get additionalControls(): EuiDataGridCustomToolbarProps['additionalControls'];
|
|
40
|
+
get hasCustomToolbar(): boolean;
|
|
41
|
+
get keyboardShortcutsControl(): ComponentLike;
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=toolbar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/eui-data-grid/toolbar.gts"],"names":[],"mappings":"AAqMA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAmB3C,OAAO,KAAK,WAAW,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gCAAgC,CAAC;AACpF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,wEAAwE;AACxE,eAAO,MAAM,+BAA+B,MAAM,CAAC;AAEnD,MAAM,WAAW,2BAA2B;IAC1C,IAAI,EAAE;QAAE,IAAI,EAAE,WAAW,CAAC;QAAC,qBAAqB,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC;IAC7D,MAAM,EAAE;QACN,mBAAmB,EAAE,EAAE,CAAC;QACxB,kBAAkB,EAAE,EAAE,CAAC;QACvB,aAAa,EAAE,EAAE,CAAC;QAClB,aAAa,EAAE,CAAC,6BAA6B,CAAC,CAAC;KAChD,CAAC;CACH;AAsBD;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,SAAS,CAAC,2BAA2B,CAAC;IACpF,IACI,OAAO;;;;MAQV;IAED,IAAI,UAAU,6FAEb;IAED,mEAAmE;IACnE,IAAI,sBAAsB,IAAI,OAAO,CAIpC;IAED,IAAI,kBAAkB,IAAI,OAAO,CAEhC;IAED,IAAI,gBAAgB,IAAI,OAAO,CAK9B;IAED,IAAI,qBAAqB,IAAI,OAAO,CAEnC;IAED,IAAI,mBAAmB,IAAI,OAAO,CAEjC;IAED,IAAI,sBAAsB,IAAI,OAAO,CAEpC;IAED,IAAI,OAAO,sDAEV;IAED,IACI,kBAAkB,IAAI,6BAA6B,CAAC,oBAAoB,CAAC,CAO5E;IAED,IAAI,gBAAgB,IAAI,OAAO,CAE9B;IAED,IAAI,wBAAwB,IAAI,aAAa,CAE5C;CAkJF"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import type EuiI18n from '../../services/eui-i18n.ts';
|
|
3
|
+
import type EuiDataGrid from '../eui-data-grid';
|
|
4
|
+
import type { RowTreeVisibleRow } from '../../utils/data-grid/row-tree.ts';
|
|
5
|
+
export interface EuiDataGridTreeCellSignature {
|
|
6
|
+
Args: {
|
|
7
|
+
grid: EuiDataGrid;
|
|
8
|
+
row: RowTreeVisibleRow;
|
|
9
|
+
columnId: string;
|
|
10
|
+
colIndex: number;
|
|
11
|
+
isToggleCell: boolean;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Tree/group parts of a cell (Ember EUI extension): in the toggle column the
|
|
16
|
+
* depth indentation and the expand toggle; in group rows the group content.
|
|
17
|
+
*/
|
|
18
|
+
export default class EuiDataGridTreeCell extends Component<EuiDataGridTreeCellSignature> {
|
|
19
|
+
euiI18n: EuiI18n;
|
|
20
|
+
get styles(): {
|
|
21
|
+
indentSize: string;
|
|
22
|
+
toggle: string;
|
|
23
|
+
spacer: string;
|
|
24
|
+
groupLabel: string;
|
|
25
|
+
groupCount: string;
|
|
26
|
+
};
|
|
27
|
+
get indentStyle(): import("@ember/template").TrustedHTML | undefined;
|
|
28
|
+
get toggleLabel(): string;
|
|
29
|
+
get group(): import("../../utils/data-grid/row-tree.ts").RowTreeGroup | undefined;
|
|
30
|
+
get groupLabel(): string;
|
|
31
|
+
get renderGroupCell(): import("@glint/template").ComponentLike<{
|
|
32
|
+
Args: import('../eui-data-grid').EuiDataGridGroupCellProps;
|
|
33
|
+
}> | undefined;
|
|
34
|
+
toggle(): void;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=tree-cell.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tree-cell.d.ts","sourceRoot":"","sources":["../../../src/components/eui-data-grid/tree-cell.gts"],"names":[],"mappings":"AAqJA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAW3C,OAAO,KAAK,OAAO,MAAM,4BAA4B,CAAC;AACtD,OAAO,KAAK,WAAW,MAAM,sBAAsB,CAAC;AAEpD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAgC3E,MAAM,WAAW,4BAA4B;IAC3C,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW,CAAC;QAClB,GAAG,EAAE,iBAAiB,CAAC;QACvB,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAC;QACjB,YAAY,EAAE,OAAO,CAAC;KACvB,CAAC;CACH;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,mBAAoB,SAAQ,SAAS,CAAC,4BAA4B,CAAC;IACrE,OAAO,EAAE,OAAO,CAAC;IAElC,IACI,MAAM;;;;;;MAUT;IAED,IAAI,WAAW,sDAKd;IAED,IAAI,WAAW,IAAI,MAAM,CAIxB;IAED,IAAI,KAAK,yEAER;IAED,IAAI,UAAU,IAAI,MAAM,CAMvB;IAED,IAAI,eAAe;;mBAElB;IAGD,MAAM,IAAI,IAAI;CAmFf"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import type EuiI18n from '../services/eui-i18n.ts';
|
|
3
|
+
import type { EuiIconSignature } from './eui-icon';
|
|
4
|
+
import type { EuiButtonEmptySignature } from './eui-button-empty';
|
|
5
|
+
import type { EuiElementProps } from '../-private/eui-apply-props.ts';
|
|
6
|
+
import type { EuiCss } from '../utils/eui/styles.ts';
|
|
7
|
+
export interface EuiDataGridToolbarControlSignature {
|
|
8
|
+
Element: HTMLButtonElement | HTMLAnchorElement;
|
|
9
|
+
Args: {
|
|
10
|
+
/** Icon before the label. */
|
|
11
|
+
iconType?: EuiIconSignature['Args']['type'];
|
|
12
|
+
/** Count shown in a badge after the label (e.g. `5` or `'3/10'`). */
|
|
13
|
+
badgeContent?: string | number;
|
|
14
|
+
/** Disables the button. */
|
|
15
|
+
isDisabled?: boolean;
|
|
16
|
+
/** EuiButtonEmpty color. Defaults to `'text'`. */
|
|
17
|
+
color?: EuiButtonEmptySignature['Args']['color'];
|
|
18
|
+
/** `class`, `css` and attributes of the content element, see `EuiButtonEmpty`. */
|
|
19
|
+
contentProps?: EuiButtonEmptySignature['Args']['contentProps'];
|
|
20
|
+
/**
|
|
21
|
+
* `class`/`className`, `css` and attributes of the label element, which
|
|
22
|
+
* always has `euiDataGridToolbarControl__text` and truncates.
|
|
23
|
+
*/
|
|
24
|
+
textProps?: EuiElementProps;
|
|
25
|
+
/** Pulls the button to an edge, see `EuiButtonEmpty`. */
|
|
26
|
+
flush?: EuiButtonEmptySignature['Args']['flush'];
|
|
27
|
+
/** Beta: `aria-disabled` instead of `disabled`, see `EuiButtonEmpty`. */
|
|
28
|
+
hasAriaDisabled?: boolean;
|
|
29
|
+
/** Side of the icon, see `EuiButtonEmpty`. */
|
|
30
|
+
iconSide?: EuiButtonEmptySignature['Args']['iconSide'];
|
|
31
|
+
/** Size of the icon, see `EuiButtonEmpty`. */
|
|
32
|
+
iconSize?: EuiButtonEmptySignature['Args']['iconSize'];
|
|
33
|
+
/** Shows a spinner and disables the button. */
|
|
34
|
+
isLoading?: boolean;
|
|
35
|
+
/** Sets `aria-pressed`, see `EuiButtonEmpty`. */
|
|
36
|
+
isSelected?: boolean;
|
|
37
|
+
/** `'xs'`, `'s'` or `'m'`. Defaults to `'xs'`. */
|
|
38
|
+
size?: EuiButtonEmptySignature['Args']['size'];
|
|
39
|
+
/** Extra styles composed last into the button class. */
|
|
40
|
+
css?: EuiCss;
|
|
41
|
+
};
|
|
42
|
+
Blocks: {
|
|
43
|
+
/** The control's label. */
|
|
44
|
+
default: [];
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Text button with an optional count badge, used by the data grid toolbar
|
|
49
|
+
* (columns, sort fields) and available for custom toolbar controls.
|
|
50
|
+
*/
|
|
51
|
+
export default class EuiDataGridToolbarControl extends Component<EuiDataGridToolbarControlSignature> {
|
|
52
|
+
euiI18n: EuiI18n;
|
|
53
|
+
get styles(): {
|
|
54
|
+
interactive: EuiCss[];
|
|
55
|
+
badge: import("@emotion/serialize").SerializedStyles;
|
|
56
|
+
textClass: string;
|
|
57
|
+
};
|
|
58
|
+
get hasBadge(): boolean;
|
|
59
|
+
get badgeAriaLabel(): string;
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=eui-data-grid-toolbar-control.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-data-grid-toolbar-control.d.ts","sourceRoot":"","sources":["../../src/components/eui-data-grid-toolbar-control.gts"],"names":[],"mappings":"AAgIA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAY3C,OAAO,KAAK,OAA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