@ember-eui/core 14.1.4 → 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.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-pagination/arrow-button.d.ts +26 -0
- package/declarations/components/eui-pagination/arrow-button.d.ts.map +1 -0
- 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-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-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/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-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-table-header-cell.js +0 -2
- package/dist/components/eui-table-header-cell.js.map +1 -1
- package/dist/icons-CQELx6Ce.js.map +1 -1
- package/package.json +5 -6
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"body-base.d.ts","sourceRoot":"","sources":["../../../src/components/eui-data-grid/body-base.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAI3C,OAAO,EAEL,cAAc,EACf,MAAM,sCAAsC,CAAC;AAE9C,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,WAAW,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,EAEV,sBAAsB,EACtB,4BAA4B,EAC5B,4BAA4B,EAC5B,wBAAwB,EACzB,MAAM,gCAAgC,CAAC;AAExC,eAAO,MAAM,oBAAoB,MAAM,CAAC;AAExC,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,WAAW,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAKD;;;;;GAKG;AACH,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,mBAAmB,CAC/C,CAAC,SAAS;IAAE,IAAI,EAAE,uBAAuB,CAAA;CAAE,CAC3C,SAAQ,SAAS,CAAC,CAAC,CAAC;IACpB,sEAAsE;IACtE,QAAQ,CAAC,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAC;IAEzC,4CAA4C;IAC5C,QAAQ,KAAK,cAAc,IAAI,MAAM,CAAC;gBAE1B,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC;IAKzC,WAAW,IAAI,IAAI;IAMnB,IAAI,IAAI,IAAI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AAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI;IAItE,QAAQ,CAAC,CAAC,MAAM,CAAC,EAAE,wBAAwB,GAAG,IAAI;IAElD,YAAY,CAAC,CAAC,MAAM,CAAC,EAAE,4BAA4B,GAAG,IAAI;CAC3D"}
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
import EuiDataGridBodyBase from './body-base.ts';
|
|
2
|
+
import type { EuiDataGridBodyBaseArgs } from './body-base.ts';
|
|
3
|
+
import type { EuiDataGridSignature } from '../eui-data-grid';
|
|
4
|
+
import type { EuiDataGridFocusedCell, EuiDataGridScrollToItemProps, EuiDataGridScrollToProps } from '../../utils/data-grid/types.ts';
|
|
5
|
+
interface Window {
|
|
6
|
+
start: number;
|
|
7
|
+
stop: number;
|
|
8
|
+
}
|
|
9
|
+
export interface EuiDataGridBodySignature {
|
|
10
|
+
Args: EuiDataGridBodyBaseArgs & {
|
|
11
|
+
hasCellPopoverBlock?: boolean;
|
|
12
|
+
};
|
|
13
|
+
Blocks: Pick<EuiDataGridSignature['Blocks'], 'cell' | 'cellPopover' | 'footerCell' | 'controlHeaderCell' | 'controlCell' | 'controlFooterCell'>;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* The virtualized grid body: a scroll container whose inner element is sized
|
|
17
|
+
* to all rows/columns, a sticky header row, absolutely positioned rows and a
|
|
18
|
+
* sticky footer row. Only the rows/columns intersecting the viewport (plus
|
|
19
|
+
* overscan) are rendered. The rendered window is recomputed on scroll but
|
|
20
|
+
* only invalidates rendering when its integer bounds change.
|
|
21
|
+
*/
|
|
22
|
+
export default class EuiDataGridBody extends EuiDataGridBodyBase<EuiDataGridBodySignature> {
|
|
23
|
+
readonly isVirtualized = true;
|
|
24
|
+
outerElement: HTMLElement | null;
|
|
25
|
+
innerElement: HTMLElement | null;
|
|
26
|
+
headerElement: HTMLElement | null;
|
|
27
|
+
footerElement: HTMLElement | null;
|
|
28
|
+
wrapperWidth: number;
|
|
29
|
+
wrapperHeight: number;
|
|
30
|
+
outerClientWidth: number;
|
|
31
|
+
headerRowHeight: number;
|
|
32
|
+
footerRowHeight: number;
|
|
33
|
+
scrollBarHeight: number;
|
|
34
|
+
scrollBarWidth: number;
|
|
35
|
+
hasVerticalScroll: boolean;
|
|
36
|
+
hasHorizontalScroll: boolean;
|
|
37
|
+
/** Height when the wrapper constrains the grid (set like upstream's useFinalGridDimensions). */
|
|
38
|
+
constrainedHeight: number | undefined;
|
|
39
|
+
private scrollTop;
|
|
40
|
+
private scrollLeft;
|
|
41
|
+
/** Bumped only when the rendered window must change. */
|
|
42
|
+
private scrollVersion;
|
|
43
|
+
get availableWidth(): number;
|
|
44
|
+
get columnOffsets(): number[];
|
|
45
|
+
get totalWidth(): number;
|
|
46
|
+
columnLeft(colIndex: number): number;
|
|
47
|
+
get visibleRowCount(): number;
|
|
48
|
+
/** Prefix sums of row heights, or null for uniform rows. */
|
|
49
|
+
get rowOffsets(): Float64Array | null;
|
|
50
|
+
rowTop(visibleRowIndex: number): number;
|
|
51
|
+
rowHeight(visibleRowIndex: number): number;
|
|
52
|
+
get totalRowsHeight(): number;
|
|
53
|
+
/**
|
|
54
|
+
* `virtualizationOptions.estimatedRowHeight` (react-window): rows past the
|
|
55
|
+
* furthest row laid out so far count with the estimated height.
|
|
56
|
+
*/
|
|
57
|
+
get estimatedRowHeight(): number | undefined;
|
|
58
|
+
/** react-window's `lastMeasuredRowIndex` + 1; reset when the row layout changes. */
|
|
59
|
+
private measuredRowCount;
|
|
60
|
+
private measuredRowLayout;
|
|
61
|
+
/** Marks the rows up to `visibleRowIndex` as laid out (react-window `getItemMetadata`). */
|
|
62
|
+
private measureRowsThrough;
|
|
63
|
+
private syncMeasuredRowLayout;
|
|
64
|
+
/**
|
|
65
|
+
* Height of the rows in the scrollable area: exact, or with
|
|
66
|
+
* `estimatedRowHeight` react-window's estimate (rows laid out so far plus
|
|
67
|
+
* the estimate for the others).
|
|
68
|
+
*/
|
|
69
|
+
get scrollableRowsHeight(): number;
|
|
70
|
+
/** Index of the visible row at a vertical offset (row coordinates). */
|
|
71
|
+
rowAt(offset: number): number;
|
|
72
|
+
get showHeader(): boolean;
|
|
73
|
+
get headerOffset(): number;
|
|
74
|
+
/** Total possible height: every row of the page, header, footer and scrollbar. */
|
|
75
|
+
get unconstrainedHeight(): number;
|
|
76
|
+
get finalHeight(): number;
|
|
77
|
+
get finalWidth(): number;
|
|
78
|
+
get isMeasured(): boolean;
|
|
79
|
+
get overscanRowCount(): number;
|
|
80
|
+
get overscanColumnCount(): number;
|
|
81
|
+
private computeRowWindow;
|
|
82
|
+
private computeColumnWindow;
|
|
83
|
+
get rowWindow(): Window;
|
|
84
|
+
get columnWindow(): Window;
|
|
85
|
+
get renderedRows(): number[];
|
|
86
|
+
get renderedColumns(): number[];
|
|
87
|
+
/** First fully visible row (used by ArrowDown from the sticky header). */
|
|
88
|
+
get visibleRowStartIndex(): number;
|
|
89
|
+
/**
|
|
90
|
+
* The body's scroll element scrolled (a `scroll` event), or the grid
|
|
91
|
+
* moved it and needs the new window now.
|
|
92
|
+
*/
|
|
93
|
+
onScroll(): void;
|
|
94
|
+
/** Re-render only if the integer window bounds changed. */
|
|
95
|
+
private syncWindow;
|
|
96
|
+
/**
|
|
97
|
+
* react-window's scroll state: the last reported offsets, directions and
|
|
98
|
+
* whether the grid requested the scroll. `onScroll` is called when it
|
|
99
|
+
* changes (react-window memoizes the callback on these values).
|
|
100
|
+
*/
|
|
101
|
+
private scrollState;
|
|
102
|
+
private updateScrollState;
|
|
103
|
+
/** react-window calls `onScroll` once when the grid mounts. */
|
|
104
|
+
private notifyInitialScroll;
|
|
105
|
+
/** Upstream's `onScroll` wrapper: react-window's arguments plus the DOM's. */
|
|
106
|
+
private notifyScroll;
|
|
107
|
+
/** Reports the rendered window like react-window's `onItemsRendered`. */
|
|
108
|
+
itemsRendered: import("ember-modifier").FunctionBasedModifier<{
|
|
109
|
+
Args: {
|
|
110
|
+
Positional: [Window, Window];
|
|
111
|
+
Named: import("ember-modifier/-private/signature").EmptyObject;
|
|
112
|
+
};
|
|
113
|
+
Element: HTMLElement;
|
|
114
|
+
}>;
|
|
115
|
+
measure(): void;
|
|
116
|
+
setupOuter: import("ember-modifier").FunctionBasedModifier<{
|
|
117
|
+
Args: {
|
|
118
|
+
Positional: unknown[];
|
|
119
|
+
Named: import("ember-modifier/-private/signature").EmptyObject;
|
|
120
|
+
};
|
|
121
|
+
Element: HTMLElement;
|
|
122
|
+
}>;
|
|
123
|
+
private initialScrollApplied;
|
|
124
|
+
/**
|
|
125
|
+
* `virtualizationOptions.initialScrollTop/Left`, once rows can scroll, then
|
|
126
|
+
* the first `onScroll` (react-window's `componentDidMount`).
|
|
127
|
+
*/
|
|
128
|
+
private applyInitialScroll;
|
|
129
|
+
setupInner: import("ember-modifier").FunctionBasedModifier<{
|
|
130
|
+
Args: {
|
|
131
|
+
Positional: unknown[];
|
|
132
|
+
Named: import("ember-modifier/-private/signature").EmptyObject;
|
|
133
|
+
};
|
|
134
|
+
Element: HTMLElement;
|
|
135
|
+
}>;
|
|
136
|
+
registerHeader: import("ember-modifier").FunctionBasedModifier<{
|
|
137
|
+
Args: {
|
|
138
|
+
Positional: unknown[];
|
|
139
|
+
Named: import("ember-modifier/-private/signature").EmptyObject;
|
|
140
|
+
};
|
|
141
|
+
Element: HTMLElement;
|
|
142
|
+
}>;
|
|
143
|
+
registerFooter: import("ember-modifier").FunctionBasedModifier<{
|
|
144
|
+
Args: {
|
|
145
|
+
Positional: unknown[];
|
|
146
|
+
Named: import("ember-modifier/-private/signature").EmptyObject;
|
|
147
|
+
};
|
|
148
|
+
Element: HTMLElement;
|
|
149
|
+
}>;
|
|
150
|
+
private isPointerDown;
|
|
151
|
+
private pendingScroll;
|
|
152
|
+
onPointerDown(): void;
|
|
153
|
+
onFocusedCellChange(cell: EuiDataGridFocusedCell): void;
|
|
154
|
+
/**
|
|
155
|
+
* Port of `useScrollCellIntoView`: keeps the cell fully visible, accounting
|
|
156
|
+
* for the sticky header/footer and scrollbars. Positions come from the
|
|
157
|
+
* row/column offsets, so cells outside the rendered window work too.
|
|
158
|
+
*/
|
|
159
|
+
scrollCellIntoView({ rowIndex, colIndex }: {
|
|
160
|
+
rowIndex: number;
|
|
161
|
+
colIndex: number;
|
|
162
|
+
}): void;
|
|
163
|
+
/** The row layout the grid last rendered with. */
|
|
164
|
+
private layoutSnapshot;
|
|
165
|
+
/**
|
|
166
|
+
* Port of upstream `compensateForLayoutShift`: when rows above the anchor
|
|
167
|
+
* row (the first or the middle visible row) change height, scroll by the
|
|
168
|
+
* anchor row's vertical shift so the content in view stays put. Upstream
|
|
169
|
+
* runs this from the first cell of each row; here it runs once per row
|
|
170
|
+
* layout change, comparing the anchor row's top before and after.
|
|
171
|
+
*/
|
|
172
|
+
compensateLayoutShift: import("ember-modifier").FunctionBasedModifier<{
|
|
173
|
+
Args: {
|
|
174
|
+
Positional: [Float64Array<ArrayBufferLike> | null, number];
|
|
175
|
+
Named: import("ember-modifier/-private/signature").EmptyObject;
|
|
176
|
+
};
|
|
177
|
+
Element: HTMLElement;
|
|
178
|
+
}>;
|
|
179
|
+
/** react-window `scrollTo`: offsets in px; a missing offset is kept. */
|
|
180
|
+
scrollTo({ scrollLeft, scrollTop }?: EuiDataGridScrollToProps): void;
|
|
181
|
+
/** react-window `scrollToItem`: brings a row and/or column into view. */
|
|
182
|
+
scrollToItem({ align, columnIndex, rowIndex }?: EuiDataGridScrollToItemProps): void;
|
|
183
|
+
get styles(): {
|
|
184
|
+
context: import("../../theming.ts").EuiThemeContext;
|
|
185
|
+
body: {
|
|
186
|
+
euiDataGridBody: import("@emotion/serialize").SerializedStyles;
|
|
187
|
+
virtualized: {
|
|
188
|
+
name: string;
|
|
189
|
+
styles: string;
|
|
190
|
+
toString: any;
|
|
191
|
+
};
|
|
192
|
+
customRender: import("@emotion/serialize").SerializedStyles;
|
|
193
|
+
};
|
|
194
|
+
scroll: {
|
|
195
|
+
euiDataGrid__scrollOverlay: import("@emotion/serialize").SerializedStyles;
|
|
196
|
+
euiDataGrid__scrollBarOverlayBottom: import("@emotion/serialize").SerializedStyles;
|
|
197
|
+
euiDataGrid__scrollBarOverlayRight: import("@emotion/serialize").SerializedStyles;
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
get outerClass(): string;
|
|
201
|
+
/** `virtualizationOptions.style`, merged over the body's own styles (like react-window). */
|
|
202
|
+
get extraOuterStyle(): string;
|
|
203
|
+
get outerStyle(): import("@ember/template").TrustedHTML;
|
|
204
|
+
get innerStyle(): import("@ember/template").TrustedHTML;
|
|
205
|
+
get showScrollOverlay(): boolean;
|
|
206
|
+
get scrollOverlayClasses(): {
|
|
207
|
+
overlay: string;
|
|
208
|
+
bottom: string;
|
|
209
|
+
right: string;
|
|
210
|
+
};
|
|
211
|
+
get scrollBarBottomStyle(): import("@ember/template").TrustedHTML;
|
|
212
|
+
get scrollBarRightStyle(): import("@ember/template").TrustedHTML;
|
|
213
|
+
}
|
|
214
|
+
export {};
|
|
215
|
+
//# sourceMappingURL=body.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"body.d.ts","sourceRoot":"","sources":["../../../src/components/eui-data-grid/body.gts"],"names":[],"mappings":"AAm9BA,OAAO,mBAAmB,MAAM,gBAAgB,CAAC;AAKjD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,KAAK,EACV,sBAAsB,EACtB,4BAA4B,EAC5B,wBAAwB,EACzB,MAAM,gCAAgC,CAAC;AAQxC,UAAU,MAAM;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,uBAAuB,GAAG;QAC9B,mBAAmB,CAAC,EAAE,OAAO,CAAC;KAC/B,CAAC;IACF,MA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AAO,CAAC,kBAAkB;IAe1B,UAAU;;;;;;OASP;IAEH,cAAc;;;;;;OAWX;IAEH,cAAc;;;;;;OAWX;IAMH,OAAO,CAAC,aAAa,CAAS;IAC9B,OAAO,CAAC,aAAa,CAAS;IAG9B,aAAa,IAAI,IAAI;IAiBrB,mBAAmB,CAAC,IAAI,EAAE,sBAAsB,GAAG,IAAI;IASvD;;;;OAIG;IAEH,kBAAkB,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI;IAgDxF,kDAAkD;IAClD,OAAO,CAAC,cAAc,CAIN;IAEhB;;;;;;OAMG;IACH,qBAAqB;;;;;;OAwBnB;IAMF,wEAAwE;IAExE,QAAQ,CAAC,EAAE,UAAU,EAAE,SAAS,EAAE,GAAE,wBAA6B,GAAG,IAAI;IAkBxE,yEAAyE;IAEzE,YAAY,CAAC,EAAE,KAAc,EAAE,WAAW,EAAE,QAAQ,EAAE,GAAE,4BAAiC,GAAG,IAAI;IAkDhG,IACI,MAAM;;;;;;;;;;;;;;;;MAOT;IAED,IACI,UAAU,IAAI,MAAM,CAIvB;IAED,4FAA4F;IAC5F,IACI,eAAe,IAAI,MAAM,CAU5B;IAED,IAAI,UAAU,0CAMb;IAED,IAAI,UAAU,0CAIb;IAED,IAAI,iBAAiB,IAAI,OAAO,CAG/B;IAED,IACI,oBAAoB;;;;MAOvB;IAED,IAAI,oBAAoB,0CAEvB;IAED,IAAI,mBAAmB,0CAItB;CAkIF"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import type EuiI18n from '../../services/eui-i18n.ts';
|
|
3
|
+
import type { EuiDataGridColumn, EuiDataGridColumnCellAction } from '../../utils/data-grid/types.ts';
|
|
4
|
+
import type { ComponentLike } from '@glint/template';
|
|
5
|
+
import type { TOC } from '@ember/component/template-only';
|
|
6
|
+
type CellActionDescriptor = Exclude<EuiDataGridColumnCellAction, ComponentLike<any>>;
|
|
7
|
+
/** Descriptor cell actions (Ember convenience) vs. component cell actions. */
|
|
8
|
+
export declare function isCellActionDescriptor(action: EuiDataGridColumnCellAction): action is CellActionDescriptor;
|
|
9
|
+
/** Upstream `getVisibleCellActions`: primary (shown on hover) and secondary actions. */
|
|
10
|
+
export declare function getVisibleCellActions(cellActions?: EuiDataGridColumnCellAction[], visibleCellActions?: number): [EuiDataGridColumnCellAction[], EuiDataGridColumnCellAction[]];
|
|
11
|
+
interface ActionButtonSignature {
|
|
12
|
+
Element: HTMLButtonElement | HTMLAnchorElement;
|
|
13
|
+
Args: {
|
|
14
|
+
iconType?: string;
|
|
15
|
+
isDisabled?: boolean;
|
|
16
|
+
};
|
|
17
|
+
Blocks: {
|
|
18
|
+
default: [];
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* The button cell actions render on hover/focus: an `xs` empty EuiButtonIcon
|
|
23
|
+
* whose size and colors consumers cannot override.
|
|
24
|
+
*/
|
|
25
|
+
export declare class EuiDataGridCellActionButtonIcon extends Component<ActionButtonSignature> {
|
|
26
|
+
get css(): import("@emotion/serialize").SerializedStyles;
|
|
27
|
+
}
|
|
28
|
+
/** The button cell actions render in the expansion popover. */
|
|
29
|
+
export declare const EuiDataGridCellPopoverActionButton: TOC<ActionButtonSignature>;
|
|
30
|
+
interface CellActionsSignature {
|
|
31
|
+
Args: {
|
|
32
|
+
column?: EuiDataGridColumn;
|
|
33
|
+
rowIndex: number;
|
|
34
|
+
colIndex: number;
|
|
35
|
+
onExpandClick: () => void;
|
|
36
|
+
};
|
|
37
|
+
Blocks: {
|
|
38
|
+
popover: [];
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
/** Cell actions bar shown above a hovered/focused expandable cell. */
|
|
42
|
+
export declare class EuiDataGridCellActions extends Component<CellActionsSignature> {
|
|
43
|
+
euiI18n: EuiI18n;
|
|
44
|
+
get classes(): {
|
|
45
|
+
wrapper: string;
|
|
46
|
+
actions: string;
|
|
47
|
+
button: import("@emotion/serialize").SerializedStyles;
|
|
48
|
+
};
|
|
49
|
+
get expandButtonTitle(): string;
|
|
50
|
+
get visibleActions(): EuiDataGridColumnCellAction[];
|
|
51
|
+
get actionProps(): {
|
|
52
|
+
rowIndex: number;
|
|
53
|
+
colIndex: number;
|
|
54
|
+
columnId: string;
|
|
55
|
+
isExpanded: boolean;
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
interface PopoverActionsSignature {
|
|
59
|
+
Args: {
|
|
60
|
+
column?: EuiDataGridColumn;
|
|
61
|
+
rowIndex: number;
|
|
62
|
+
colIndex: number;
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
/** Primary and secondary cell actions in the expansion popover footer. */
|
|
66
|
+
export declare class EuiDataGridCellPopoverActions extends Component<PopoverActionsSignature> {
|
|
67
|
+
get actions(): [EuiDataGridColumnCellAction[], EuiDataGridColumnCellAction[]];
|
|
68
|
+
get primaryActions(): EuiDataGridColumnCellAction[];
|
|
69
|
+
get secondaryActions(): EuiDataGridColumnCellAction[];
|
|
70
|
+
get actionProps(): {
|
|
71
|
+
rowIndex: number;
|
|
72
|
+
colIndex: number;
|
|
73
|
+
columnId: string;
|
|
74
|
+
isExpanded: boolean;
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
export {};
|
|
78
|
+
//# sourceMappingURL=cell-actions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cell-actions.d.ts","sourceRoot":"","sources":["../../../src/components/eui-data-grid/cell-actions.gts"],"names":[],"mappings":"AAiRA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAgB3C,OAAO,KAAK,OAAO,MAAM,4BAA4B,CAAC;AACtD,OAAO,KAAK,EACV,iBAAiB,EACjB,2BAA2B,EAC5B,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,aAAa,EAAE,MA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AAiB,IAAI,MAAM,CAK9B;IAED,IAAI,cAAc,IAAI,2BAA2B,EAAE,CAIlD;IAED,IAAI,WAAW;;;;;MAOd;CAwFF;AAED,UAAU,uBAAuB;IAC/B,IAAI,EAAE;QACJ,MAAM,CAAC,EAAE,iBAAiB,CAAC;QAC3B,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;CACH;AAED,0EAA0E;AAC1E,qBAAa,6BAA8B,SAAQ,SAAS,CAAC,uBAAuB,CAAC;IACnF,IAAI,OAAO,mEAGV;IAED,IAAI,cAAc,kCAEjB;IAED,IAAI,gBAAgB,kCAEnB;IAED,IAAI,WAAW;;;;;MAOd;CAqFF"}
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import type Owner from '@ember/owner';
|
|
3
|
+
import type EuiI18n from '../../services/eui-i18n.ts';
|
|
4
|
+
import type EuiDataGrid from '../eui-data-grid';
|
|
5
|
+
import type { EuiDataGridSignature } from '../eui-data-grid';
|
|
6
|
+
import type EuiDataGridBodyBase from './body-base.ts';
|
|
7
|
+
import type { ComponentLike } from '@glint/template';
|
|
8
|
+
import type { EuiDataGridCellValueElementProps, EuiDataGridCellValueSignature, EuiDataGridColumn, EuiDataGridControlColumn, EuiDataGridSetCellProps } from '../../utils/data-grid/types.ts';
|
|
9
|
+
import type { RowHeightType } from '../../utils/data-grid/row-heights.ts';
|
|
10
|
+
export interface EuiDataGridCellSignature {
|
|
11
|
+
Element: HTMLDivElement;
|
|
12
|
+
Args: {
|
|
13
|
+
grid: EuiDataGrid;
|
|
14
|
+
body: EuiDataGridBodyBase<any>;
|
|
15
|
+
colIndex: number;
|
|
16
|
+
visibleRowIndex: number;
|
|
17
|
+
/** Footer cells sit in the flex footer row instead of being positioned. */
|
|
18
|
+
isFooter?: boolean;
|
|
19
|
+
hasCellPopoverBlock?: boolean;
|
|
20
|
+
/** Custom grid body overrides (upstream's `Cell` props). */
|
|
21
|
+
isExpandable?: boolean;
|
|
22
|
+
renderCellValue?: ComponentLike<EuiDataGridCellValueSignature>;
|
|
23
|
+
};
|
|
24
|
+
Blocks: Pick<EuiDataGridSignature['Blocks'], 'cell' | 'cellPopover' | 'controlCell' | 'footerCell' | 'controlFooterCell'>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* A grid cell (`role=gridcell`): data, control and footer cells. Port of
|
|
28
|
+
* upstream `EuiDataGridCell` + `CellWrapper` + `HandleInteractiveChildren`.
|
|
29
|
+
*/
|
|
30
|
+
export default class EuiDataGridCell extends Component<EuiDataGridCellSignature> {
|
|
31
|
+
euiI18n: EuiI18n;
|
|
32
|
+
isFocused: boolean;
|
|
33
|
+
isHovered: boolean;
|
|
34
|
+
hasInteractiveChildren: boolean;
|
|
35
|
+
isCellEntered: boolean;
|
|
36
|
+
isExited: boolean;
|
|
37
|
+
cellElement: HTMLElement | null;
|
|
38
|
+
contentElement: HTMLElement | null;
|
|
39
|
+
readonly focusTrapHintId: string;
|
|
40
|
+
constructor(owner: Owner, args: EuiDataGridCellSignature['Args']);
|
|
41
|
+
/** Subscribes to focus changes of this cell's location (re-run if it moves). */
|
|
42
|
+
registerFocus: import("ember-modifier").FunctionBasedModifier<{
|
|
43
|
+
Args: {
|
|
44
|
+
Positional: [number, number];
|
|
45
|
+
Named: import("ember-modifier/-private/signature").EmptyObject;
|
|
46
|
+
};
|
|
47
|
+
Element: HTMLElement;
|
|
48
|
+
}>;
|
|
49
|
+
willDestroy(): void;
|
|
50
|
+
get grid(): EuiDataGrid;
|
|
51
|
+
get leadingCount(): number;
|
|
52
|
+
get isLeadingControlColumn(): boolean;
|
|
53
|
+
get isTrailingControlColumn(): boolean;
|
|
54
|
+
get isControlColumn(): boolean;
|
|
55
|
+
get controlColumn(): EuiDataGridControlColumn | undefined;
|
|
56
|
+
get column(): EuiDataGridColumn | undefined;
|
|
57
|
+
get columnId(): string;
|
|
58
|
+
get columnType(): string | null;
|
|
59
|
+
get textTransform(): string | undefined;
|
|
60
|
+
get rowIndex(): number;
|
|
61
|
+
get rowTree(): import("./row-tree-hooks.ts").RowTreeCellState;
|
|
62
|
+
get width(): number | undefined;
|
|
63
|
+
get isFirstColumn(): boolean;
|
|
64
|
+
get isLastColumn(): boolean;
|
|
65
|
+
/** The last data column ends a copied row (tabular copy). */
|
|
66
|
+
get isLastCopyColumn(): boolean;
|
|
67
|
+
get copyMarkerType(): 'no-copy' | 'newline' | 'tab';
|
|
68
|
+
private cellPropsState;
|
|
69
|
+
get cellPropsKey(): string;
|
|
70
|
+
get cellProps(): EuiDataGridSetCellProps;
|
|
71
|
+
/** Renderers may call this during render; the update is applied after rendering. */
|
|
72
|
+
setCellProps: (props: EuiDataGridSetCellProps) => void;
|
|
73
|
+
/** Arbitrary attributes from setCellProps (other than class/style/data-test-subj). */
|
|
74
|
+
cellPropsAttributes: import("ember-modifier").FunctionBasedModifier<{
|
|
75
|
+
Args: {
|
|
76
|
+
Positional: [EuiDataGridSetCellProps];
|
|
77
|
+
Named: import("ember-modifier/-private/signature").EmptyObject;
|
|
78
|
+
};
|
|
79
|
+
Element: HTMLElement;
|
|
80
|
+
}>;
|
|
81
|
+
get defaultIsExpandable(): boolean;
|
|
82
|
+
get isExpandable(): boolean;
|
|
83
|
+
get isPopoverOpen(): boolean;
|
|
84
|
+
get showCellActions(): boolean;
|
|
85
|
+
handleCellExpansionClick(): void;
|
|
86
|
+
closePopover(): void;
|
|
87
|
+
/** Clicking the expand action must toggle, not count as an outside click. */
|
|
88
|
+
onPopoverClickOutside(event: Event): void;
|
|
89
|
+
private popoverPanel;
|
|
90
|
+
/**
|
|
91
|
+
* The cell popover holds forms and editors: focus goes to its first
|
|
92
|
+
* tabbable element (EuiPopover itself would focus the panel, as
|
|
93
|
+
* upstream), the panel when there is none.
|
|
94
|
+
*/
|
|
95
|
+
popoverInitialFocus: () => HTMLElement | null;
|
|
96
|
+
registerPopoverPanel(panel: HTMLElement | null): void;
|
|
97
|
+
onPopoverKeyDown(event: KeyboardEvent): void;
|
|
98
|
+
get popoverFocusTrapOptions(): {
|
|
99
|
+
onClickOutside: (event: Event) => void;
|
|
100
|
+
clickOutsideDeactivates: boolean;
|
|
101
|
+
allowOutsideClick: boolean;
|
|
102
|
+
};
|
|
103
|
+
get popoverPanelClassName(): string;
|
|
104
|
+
get popoverZIndex(): number | undefined;
|
|
105
|
+
get popoverPanelStyle(): Record<string, string>;
|
|
106
|
+
get schema(): string | null | undefined;
|
|
107
|
+
get cellText(): string;
|
|
108
|
+
setCellPopoverProps(props: Record<string, unknown>): void;
|
|
109
|
+
get popoverRendererProps(): {
|
|
110
|
+
rowIndex: number;
|
|
111
|
+
colIndex: number;
|
|
112
|
+
columnId: string;
|
|
113
|
+
schema: string | null | undefined;
|
|
114
|
+
cellContentsElement: HTMLElement | null;
|
|
115
|
+
setCellPopoverProps: (props: Record<string, unknown>) => void;
|
|
116
|
+
};
|
|
117
|
+
onFocusUpdate: (isFocused: boolean, preventScroll?: boolean) => void;
|
|
118
|
+
takeFocus(preventScroll: boolean): void;
|
|
119
|
+
updateCellFocusContext(): void;
|
|
120
|
+
setupCell: import("ember-modifier").FunctionBasedModifier<{
|
|
121
|
+
Args: {
|
|
122
|
+
Positional: unknown[];
|
|
123
|
+
Named: import("ember-modifier/-private/signature").EmptyObject;
|
|
124
|
+
};
|
|
125
|
+
Element: HTMLElement;
|
|
126
|
+
}>;
|
|
127
|
+
onMouseEnter(): void;
|
|
128
|
+
onMouseLeave(): void;
|
|
129
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
130
|
+
get renderFocusTrap(): boolean;
|
|
131
|
+
onKeyUp(event: KeyboardEvent): void;
|
|
132
|
+
enterCell(): void;
|
|
133
|
+
exitCell(): void;
|
|
134
|
+
onBlur(): void;
|
|
135
|
+
focusTrapOptions: {
|
|
136
|
+
clickOutsideDeactivates: boolean;
|
|
137
|
+
escapeDeactivates: boolean;
|
|
138
|
+
returnFocusOnDeactivate: boolean;
|
|
139
|
+
onDeactivate: () => void;
|
|
140
|
+
fallbackFocus: () => HTMLElement;
|
|
141
|
+
};
|
|
142
|
+
get focusTrapEnterPrompt(): string;
|
|
143
|
+
get focusTrapExitPrompt(): string;
|
|
144
|
+
get focusTrapEnteredExitPrompt(): string;
|
|
145
|
+
get rowHeightOption(): import('../eui-data-grid').EuiDataGridRowHeightOption | undefined;
|
|
146
|
+
get cellHeightType(): RowHeightType;
|
|
147
|
+
get lineClamp(): number | undefined;
|
|
148
|
+
/** Port of `recalculateLineHeight`: one cell per row measures line heights. */
|
|
149
|
+
measureLineHeight: import("ember-modifier").FunctionBasedModifier<{
|
|
150
|
+
Args: {
|
|
151
|
+
Positional: unknown[];
|
|
152
|
+
Named: import("ember-modifier/-private/signature").EmptyObject;
|
|
153
|
+
};
|
|
154
|
+
Element: HTMLElement;
|
|
155
|
+
}>;
|
|
156
|
+
/** Port of `recalculateAutoHeight`: auto rows report their content height. */
|
|
157
|
+
measureAutoHeight: import("ember-modifier").FunctionBasedModifier<{
|
|
158
|
+
Args: {
|
|
159
|
+
Positional: [boolean];
|
|
160
|
+
Named: import("ember-modifier/-private/signature").EmptyObject;
|
|
161
|
+
};
|
|
162
|
+
Element: HTMLElement;
|
|
163
|
+
}>;
|
|
164
|
+
get isAutoHeight(): boolean;
|
|
165
|
+
setContentElement: import("ember-modifier").FunctionBasedModifier<{
|
|
166
|
+
Args: {
|
|
167
|
+
Positional: unknown[];
|
|
168
|
+
Named: import("ember-modifier/-private/signature").EmptyObject;
|
|
169
|
+
};
|
|
170
|
+
Element: HTMLElement;
|
|
171
|
+
}>;
|
|
172
|
+
get themeStyles(): {
|
|
173
|
+
context: import("../../theming.ts").EuiThemeContext;
|
|
174
|
+
cell: {
|
|
175
|
+
euiDataGridRowCell: import("@emotion/serialize").SerializedStyles;
|
|
176
|
+
content: {
|
|
177
|
+
euiDataGridRowCell__content: {
|
|
178
|
+
name: string;
|
|
179
|
+
styles: string;
|
|
180
|
+
toString: any;
|
|
181
|
+
};
|
|
182
|
+
autoHeight: import("@emotion/serialize").SerializedStyles;
|
|
183
|
+
defaultHeight: import("@emotion/serialize").SerializedStyles;
|
|
184
|
+
controlColumn: import("@emotion/serialize").SerializedStyles;
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
footer: {
|
|
188
|
+
euiDataGridFooter: import("@emotion/serialize").SerializedStyles;
|
|
189
|
+
sticky: import("@emotion/serialize").SerializedStyles;
|
|
190
|
+
overline: import("@emotion/serialize").SerializedStyles;
|
|
191
|
+
shade: import("@emotion/serialize").SerializedStyles;
|
|
192
|
+
striped: import("@emotion/serialize").SerializedStyles;
|
|
193
|
+
euiDataGridFooterCell: import("@emotion/serialize").SerializedStyles;
|
|
194
|
+
};
|
|
195
|
+
popover: {
|
|
196
|
+
euiDataGridRowCell__popover: import("@emotion/serialize").SerializedStyles;
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
get cellClass(): string;
|
|
200
|
+
get classes(): string;
|
|
201
|
+
get dataTestSubj(): string;
|
|
202
|
+
/** Ember addition: upstream sets no `aria-colindex`; columns are virtualized here. */
|
|
203
|
+
get ariaColIndex(): number;
|
|
204
|
+
get ariaRowIndex(): number;
|
|
205
|
+
/** `footerCellProps.style` of a control column's footer cell. */
|
|
206
|
+
get footerCellPropsStyle(): string;
|
|
207
|
+
get style(): import("@ember/template").TrustedHTML;
|
|
208
|
+
get contentClass(): string;
|
|
209
|
+
get contentStyle(): import("@ember/template").TrustedHTML | undefined;
|
|
210
|
+
get popoverPanelCss(): import("@emotion/serialize").SerializedStyles;
|
|
211
|
+
get kind(): 'data' | 'control' | 'footer' | 'controlFooter';
|
|
212
|
+
get renderer(): ComponentLike<EuiDataGridCellValueSignature> | undefined;
|
|
213
|
+
get cellValueProps(): EuiDataGridCellValueElementProps;
|
|
214
|
+
get detailsValueProps(): EuiDataGridCellValueElementProps;
|
|
215
|
+
get cellPosition(): string;
|
|
216
|
+
get expansionEnterPrompt(): string;
|
|
217
|
+
get screenReaderDescription(): string;
|
|
218
|
+
get ariaDescribedBy(): string | undefined;
|
|
219
|
+
}
|
|
220
|
+
//# sourceMappingURL=cell.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cell.d.ts","sourceRoot":"","sources":["../../../src/components/eui-data-grid/cell.gts"],"names":[],"mappings":"AAssCA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AA6C3C,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,OAAO,MAAM,4BAA4B,CAAC;AACtD,OAAO,KAAK,WAAW,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,KAAK,mBAAmB,MAAM,gBAAgB,CAAC;AACtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EACV,gCAAgC,EAChC,6BAA6B,EAC7B,iBAAiB,EACjB,wBAAwB,EACxB,uBAAuB,EACxB,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAS1E,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,cAAc,CAAC;IACxB,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW,CAAC;QAClB,IAAI,EAAE,mBAAmB,CAAC,GAAG,CAAC,CAAC;QAC/B,QAAQ,EAAE,MAAM,CAAC;QACjB,eAAe,EAAE,MAAM,CAAC;QACxB,2EAA2E;QAC3E,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,mBAAmB,CAAC,EAAE,OAAO,CAAC;QAC9B,4DAA4D;QAC5D,YAAY,CAAC,EAAE,OAAO,CAAC;QACvB,eAAe,CAAC,EAAE,aAAa,CAAC,6BAA6B,CAAC,CAAC;KAChE,CAAC;IACF,MAAM,EAAE,IAAI,CACV,oBAAoB,CAAC,QAAQ,CAAC,EAC9B,MAAM,GA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GAAG,QAAQ,GAAG,eAAe,CAG1D;IAED,IAAI,QAAQ,6DAaX;IAED,IAAI,cAAc,IAAI,gCAAgC,CAcrD;IAED,IAAI,iBAAiB,IAAI,gCAAgC,CAOxD;IAED,IAAI,YAAY,IAAI,MAAM,CAUzB;IAED,IAAI,oBAAoB,IAAI,MAAM,CAKjC;IAED,IAAI,uBAAuB,IAAI,MAAM,CAEpC;IAED,IAAI,eAAe,IAAI,MAAM,GAAG,SAAS,CAExC;CAsbF"}
|
|
@@ -0,0 +1,61 @@
|
|
|
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 { EuiDataGridColumn, EuiDataGridColumnActions as ColumnActionsConfig, EuiDataGridSchemaDetector } from '../../utils/data-grid/types.ts';
|
|
5
|
+
type ActionKey = Exclude<keyof ColumnActionsConfig, 'additional'>;
|
|
6
|
+
interface ColumnActionItem {
|
|
7
|
+
label: string;
|
|
8
|
+
iconType?: string;
|
|
9
|
+
isDisabled?: boolean;
|
|
10
|
+
color?: string;
|
|
11
|
+
onClick: (event: MouseEvent) => void;
|
|
12
|
+
'data-test-subj'?: string;
|
|
13
|
+
}
|
|
14
|
+
/** Upstream `useHasColumnActions`. */
|
|
15
|
+
export declare function hasColumnActions(actions: EuiDataGridColumn['actions']): boolean;
|
|
16
|
+
export declare function isColumnActionEnabled(actionKey: ActionKey, actions: EuiDataGridColumn['actions']): boolean;
|
|
17
|
+
/** Resolve a schema sort label (plain text or an i18n token pair). */
|
|
18
|
+
export declare function sortLabel(euiI18n: EuiI18n, label: EuiDataGridSchemaDetector['sortTextAsc']): string;
|
|
19
|
+
export declare const defaultSortAscLabel: {
|
|
20
|
+
token: string;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
export declare const defaultSortDescLabel: {
|
|
24
|
+
token: string;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
export interface EuiDataGridColumnActionsSignature {
|
|
28
|
+
Args: {
|
|
29
|
+
grid: EuiDataGrid;
|
|
30
|
+
index: number;
|
|
31
|
+
column: EuiDataGridColumn;
|
|
32
|
+
title: string;
|
|
33
|
+
hasFocusTrap: boolean;
|
|
34
|
+
isPopoverOpen: boolean;
|
|
35
|
+
setIsPopoverOpen: (isOpen: boolean) => void;
|
|
36
|
+
setIsColumnMoving: (isMoving: boolean) => void;
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
/** The header cell's "…" button and its column actions popover. */
|
|
40
|
+
export default class EuiDataGridColumnActions extends Component<EuiDataGridColumnActionsSignature> {
|
|
41
|
+
euiI18n: EuiI18n;
|
|
42
|
+
private panel;
|
|
43
|
+
get buttonCss(): {
|
|
44
|
+
popover: import("@emotion/serialize").SerializedStyles;
|
|
45
|
+
button: import("@emotion/serialize").SerializedStyles[];
|
|
46
|
+
};
|
|
47
|
+
get actionsButtonAriaLabel(): string;
|
|
48
|
+
get actionsEnterKeyInstructions(): string;
|
|
49
|
+
get popoverScreenReaderText(): string;
|
|
50
|
+
togglePopover(): void;
|
|
51
|
+
closePopover(): void;
|
|
52
|
+
/** Arrow key navigation through the actions, like the rest of the grid. */
|
|
53
|
+
registerPanel(panel: HTMLElement | null): void;
|
|
54
|
+
onPanelKeyDown: (event: KeyboardEvent) => void;
|
|
55
|
+
get items(): ColumnActionItem[];
|
|
56
|
+
get hideColumnAction(): ColumnActionItem[];
|
|
57
|
+
get moveColumnActions(): ColumnActionItem[];
|
|
58
|
+
get sortColumnActions(): ColumnActionItem[];
|
|
59
|
+
}
|
|
60
|
+
export {};
|
|
61
|
+
//# sourceMappingURL=column-actions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"column-actions.d.ts","sourceRoot":"","sources":["../../../src/components/eui-data-grid/column-actions.gts"],"names":[],"mappings":"AAoZA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAkB3C,OAAO,KAA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B,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;KAChD,CAAC;CACH;AAED,mEAAmE;AACnE,MAAM,CAAC,OAAO,OAAO,wBAAyB,SAAQ,SAAS,CAAC,iCAAiC,CAAC;IAC/E,OAAO,EAAE,OAAO,CAAC;IAEzB,OAAO,CAAC,KAAK,CAA4B;IAElD,IACI,SAAS;;;MASZ;IAED,IAAI,sBAAsB,IAAI,MAAM,CAMnC;IAED,IAAI,2BAA2B,IAAI,MAAM,CAKxC;IAED,IAAI,uBAAuB,IAAI,MAAM,CAKpC;IAGD,aAAa,IAAI,IAAI;IAKrB,YAAY,IAAI,IAAI;IAIpB,2EAA2E;IAE3E,aAAa,CAAC,KAAK,EAAE,WAAW,GAAG,IAAI,GAAG,IAAI;IAM9C,cAAc,GAAI,OAAO,aAAa,KAAG,IAAI,CAuB3C;IAIF,IAAI,KAAK,IAAI,gBAAgB,EAAE,CAkB9B;IAED,IAAI,gBAAgB,IAAI,gBAAgB,EAAE,CAgBzC;IAED,IAAI,iBAAiB,IAAI,gBAAgB,EAAE,CA+D1C;IAED,IAAI,iBAAiB,IAAI,gBAAgB,EAAE,CAwE1C;CAmEF"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
export interface EuiDataGridColumnResizerSignature {
|
|
3
|
+
Args: {
|
|
4
|
+
columnId: string;
|
|
5
|
+
columnWidth: number;
|
|
6
|
+
setColumnWidth: (columnId: string, width: number) => void;
|
|
7
|
+
isLastColumn: boolean;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
/** Drag handle on a header cell's inline-end edge resizing its column. */
|
|
11
|
+
export default class EuiDataGridColumnResizer extends Component<EuiDataGridColumnResizerSignature> {
|
|
12
|
+
offset: number;
|
|
13
|
+
private initialX;
|
|
14
|
+
get classes(): string;
|
|
15
|
+
get style(): import("@ember/template").TrustedHTML | undefined;
|
|
16
|
+
onMouseMove: (event: MouseEvent) => void;
|
|
17
|
+
onMouseUp: () => void;
|
|
18
|
+
removeListeners(): void;
|
|
19
|
+
onMouseDown(event: MouseEvent): void;
|
|
20
|
+
willDestroy(): void;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=column-resizer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"column-resizer.d.ts","sourceRoot":"","sources":["../../../src/components/eui-data-grid/column-resizer.gts"],"names":[],"mappings":"AAiGA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAa3C,MAAM,WAAW,iCAAiC;IAChD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM,CAAC;QACjB,WAAW,EAAE,MAAM,CAAC;QACpB,cAAc,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;QAC1D,YAAY,EAAE,OAAO,CAAC;KACvB,CAAC;CACH;AAED,0EAA0E;AAC1E,MAAM,CAAC,OAAO,OAAO,wBAAyB,SAAQ,SAAS,CAAC,iCAAiC,CAAC;IACvF,MAAM,SAAK;IACpB,OAAO,CAAC,QAAQ,CAAK;IAErB,IACI,OAAO,IAAI,MAAM,CASpB;IAED,IAAI,KAAK,sDAER;IAED,WAAW,GAAI,OAAO,UAAU,KAAG,IAAI,CAKrC;IAEF,SAAS,QAAO,IAAI,CAOlB;IAEF,eAAe,IAAI,IAAI;IAOvB,WAAW,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI;IASpC,WAAW,IAAI,IAAI;CAwCpB"}
|