@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 @@
|
|
|
1
|
+
{"version":3,"file":"expanded-item-actions.d.ts","sourceRoot":"","sources":["../../../src/components/eui-basic-table/expanded-item-actions.gts"],"names":[],"mappings":"AAsEA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAK3C,OAAO,KAAK,EACV,MAAM,EACN,gBAAgB,EAChB,iBAAiB,IAAI,aAAa,EAClC,cAAc,EACf,MAAM,+BAA+B,CAAC;AAEvC;;;GAGG;AACH,MAAM,WAAW,4BAA4B,CAAC,CAAC,SAAS,MAAM;IAC5D,IAAI,EAAE;QACJ,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;QAC1B,MAAM,EAAE,cAAc,CAAC;QACvB,IAAI,EAAE,CAAC,CAAC;QACR,eAAe,EAAE,OAAO,CAAC;KAC1B,CAAC;CACH;AAED,UAAU,IAAI,CAAC,CAAC,SAAS,MAAM;IAC7B,MAAM,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,OAAO,mBAAmB,CAAC,CAAC,SAAS,MAAM,CAAE,SAAQ,SAAS,CAC1E,4BAA4B,CAAC,CAAC,CAAC,CAChC;IACC,IAAI,KAAK,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,CAgBrB;CAuCF"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import type { Pagination } from '../../-private/basic-table.ts';
|
|
3
|
+
import type { TableResponsiveBreakpoint } from '../../-private/table.ts';
|
|
4
|
+
/** Upstream `euiTablePaginationDefaults` (without the app's `componentDefaults`). */
|
|
5
|
+
export declare const PAGINATION_DEFAULTS: Readonly<import("../../-private/table-pagination-defaults.ts").EuiTablePaginationDefaults>;
|
|
6
|
+
/**
|
|
7
|
+
* @private The pagination under an `EuiBasicTable` (upstream
|
|
8
|
+
* `PaginationBar`): an `EuiTablePagination` with the panelled look, which
|
|
9
|
+
* moves back to the last page when the current one no longer exists.
|
|
10
|
+
*/
|
|
11
|
+
export interface PaginationBarSignature {
|
|
12
|
+
Element: HTMLDivElement;
|
|
13
|
+
Args: {
|
|
14
|
+
pagination: Pagination;
|
|
15
|
+
panelled?: boolean;
|
|
16
|
+
responsiveBreakpoint?: TableResponsiveBreakpoint;
|
|
17
|
+
onPageSizeChange: (size: number) => void;
|
|
18
|
+
onPageChange: (index: number) => void;
|
|
19
|
+
/** Id of the table being controlled. */
|
|
20
|
+
ariaControls?: string;
|
|
21
|
+
/** Accessible name of the pagination navigation. */
|
|
22
|
+
ariaLabel?: string;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
export default class PaginationBar extends Component<PaginationBarSignature> {
|
|
26
|
+
private mediaVersion;
|
|
27
|
+
/** Upstream `useEuiTablePaginationDefaults()`. */
|
|
28
|
+
get defaults(): Readonly<import("../../-private/table-pagination-defaults.ts").EuiTablePaginationDefaults>;
|
|
29
|
+
get pageSize(): number;
|
|
30
|
+
get pageSizeOptions(): number[];
|
|
31
|
+
get showPerPageOptions(): boolean;
|
|
32
|
+
get pageCount(): number;
|
|
33
|
+
get breakpoint(): TableResponsiveBreakpoint;
|
|
34
|
+
get query(): string | undefined;
|
|
35
|
+
get isResponsive(): boolean;
|
|
36
|
+
onBreakpointChange: () => void;
|
|
37
|
+
get classes(): string;
|
|
38
|
+
/** Upstream effect: go back to the last page that exists. */
|
|
39
|
+
keepPageInRange: import("ember-modifier").FunctionBasedModifier<{
|
|
40
|
+
Args: {
|
|
41
|
+
Positional: [number, number];
|
|
42
|
+
Named: import("ember-modifier/-private/signature").EmptyObject;
|
|
43
|
+
};
|
|
44
|
+
Element: Element;
|
|
45
|
+
}>;
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=pagination-bar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagination-bar.d.ts","sourceRoot":"","sources":["../../../src/components/eui-basic-table/pagination-bar.gts"],"names":[],"mappings":"AAqIA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAqB3C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAEzE,qFAAqF;AACrF,eAAO,MAAM,mBAAmB,4FAAgC,CAAC;AAEjE;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,cAAc,CAAC;IACxB,IAAI,EAAE;QACJ,UAAU,EAAE,UAAU,CAAC;QACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,oBAAoB,CAAC,EAAE,yBAAyB,CAAC;QACjD,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;QACzC,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;QACtC,wCAAwC;QACxC,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,oDAAoD;QACpD,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,SAAS,CAAC,sBAAsB,CAAC;IACjE,OAAO,CAAC,YAAY,CAAK;IAElC,kDAAkD;IAClD,IAAI,QAAQ,+FAEX;IAED,IAAI,QAAQ,IAAI,MAAM,CAErB;IAED,IAAI,eAAe,IAAI,MAAM,EAAE,CAE9B;IAED,IAAI,kBAAkB,IAAI,OAAO,CAEhC;IAED,IAAI,SAAS,IAAI,MAAM,CAGtB;IAED,IAAI,UAAU,IAAI,yBAAyB,CAE1C;IAED,IACI,KAAK,IAAI,MAAM,GAAG,SAAS,CAE9B;IAED,IACI,YAAY,IAAI,OAAO,CAG1B;IAED,kBAAkB,QAAO,IAAI,CAE3B;IAEF,IACI,OAAO,IAAI,MAAM,CAQpB;IAED,6DAA6D;IAC7D,eAAe;;;;;;OAMb;CA2BH"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import { EUI_BASIC_TABLE_PANEL_CLASS_NAME } from '../utils/eui/styles.generated.ts';
|
|
3
|
+
import type { EuiCss, EuiCssFunction } from '../utils/eui/styles.ts';
|
|
4
|
+
/** What {@link useEuiBasicTablePanelProps} returns. */
|
|
5
|
+
export interface EuiBasicTablePanelProps {
|
|
6
|
+
/** The panel styles: a theme function for any component's `@css`. */
|
|
7
|
+
css: EuiCssFunction;
|
|
8
|
+
/** `'euiBasicTablePanel'`: lets a panelled table join the panels above it. */
|
|
9
|
+
className: typeof EUI_BASIC_TABLE_PANEL_CLASS_NAME;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Upstream's `useEuiBasicTablePanelProps` hook: the styles and class name
|
|
13
|
+
* of a panel attached above a panelled `EuiBasicTable`/`EuiInMemoryTable`
|
|
14
|
+
* (toolbars and other supporting content). Pass `css` to a component's
|
|
15
|
+
* `@css` and `className` to its `class`, or render an
|
|
16
|
+
* `EuiBasicTablePanel`.
|
|
17
|
+
*/
|
|
18
|
+
export declare function useEuiBasicTablePanelProps(): EuiBasicTablePanelProps;
|
|
19
|
+
/**
|
|
20
|
+
* A `<div>` styled with `useEuiBasicTablePanelProps()`: a supporting
|
|
21
|
+
* panel for a panelled `EuiBasicTable` or `EuiInMemoryTable`, e.g. in the
|
|
22
|
+
* in-memory table's `<:childrenBetween>` block. Consecutive panels join,
|
|
23
|
+
* and the table below loses its top radius. Ember convenience over
|
|
24
|
+
* upstream's hook.
|
|
25
|
+
*/
|
|
26
|
+
export interface EuiBasicTablePanelSignature {
|
|
27
|
+
Element: HTMLDivElement;
|
|
28
|
+
Args: {
|
|
29
|
+
/**
|
|
30
|
+
* Extra styles composed last into the panel's class (like upstream's
|
|
31
|
+
* `css` prop), e.g. padding.
|
|
32
|
+
*/
|
|
33
|
+
css?: EuiCss;
|
|
34
|
+
};
|
|
35
|
+
Blocks: {
|
|
36
|
+
/** The panel's content. */
|
|
37
|
+
default: [];
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export default class EuiBasicTablePanel extends Component<EuiBasicTablePanelSignature> {
|
|
41
|
+
get classes(): string;
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=eui-basic-table-panel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-basic-table-panel.d.ts","sourceRoot":"","sources":["../../src/components/eui-basic-table-panel.gts"],"names":[],"mappings":"AAsEA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAK3C,OAAO,EACL,gCAAgC,EAEjC,MAAM,kCAAkC,CAAC;AAE1C,OAAO,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAErE,uDAAuD;AACvD,MAAM,WAAW,uBAAuB;IACtC,qEAAqE;IACrE,GAAG,EAAE,cAAc,CAAC;IACpB,8EAA8E;IAC9E,SAAS,EAAE,OAAO,gCAAgC,CAAC;CACpD;AAOD;;;;;;GAMG;AACH,wBAAgB,0BAA0B,IAAI,uBAAuB,CAEpE;AAED;;;;;;GAMG;AACH,MAAM,WAAW,2BAA2B;IAC1C,OAAO,EAAE,cAAc,CAAC;IACxB,IAAI,EAAE;QACJ;;;WAGG;QACH,GAAG,CAAC,EAAE,MAAM,CAAC;KACd,CAAC;IACF,MAAM,EAAE;QACN,2BAA2B;QAC3B,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,SAAS,CAAC,2BAA2B,CAAC;IACpF,IACI,OAAO,IAAI,MAAM,CAEpB;CAeF"}
|
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import type Owner from '@ember/owner';
|
|
3
|
+
import type { Action, CellPropsCallback, Criteria, CriteriaWithPagination, EuiBasicTableColumn, EuiTableCellComponent, EuiTableColumnName, EuiTableContent, EuiTableElementProps, EuiTableVerticalAlign, EuiTableSelectionType, EuiTableSortingType, ItemId, ItemIdResolved, Pagination, RowPropsCallback } from '../-private/basic-table.ts';
|
|
4
|
+
import type { TableAlignment, TableMobileOptions, TableResponsiveBreakpoint, TableTruncateText } from '../-private/table.ts';
|
|
5
|
+
import type { EuiTableStickyCellOptions } from '../utils/eui/table.ts';
|
|
6
|
+
import type { EuiTableHeaderCellTooltipProps } from './eui-table-header-cell';
|
|
7
|
+
import type EuiI18n from '../services/eui-i18n';
|
|
8
|
+
import type { EuiCss } from '../utils/eui/styles.ts';
|
|
9
|
+
import type { EuiTableSortMobileItemOption } from './eui-table-sort-mobile';
|
|
10
|
+
import type { EuiTableRowCellStyle } from './eui-table-row-cell';
|
|
11
|
+
export type { Action, CellPropsCallback, Criteria, CriteriaWithPagination, CustomItemAction, DefaultItemAction, EuiBasicTableColumn, EuiTableActionsColumnType, EuiTableCellArgs, EuiTableCellComponentArgs, EuiTableColumnName, EuiTableColumnNameTooltipProps, EuiTableComputedColumnType, EuiTableContent, EuiTableDataType, EuiTableFieldDataColumnType, EuiTableFooterProps, EuiTableNode, EuiTableSelectionType, EuiTableSortingType, EuiTableVerticalAlign, ItemId, Pagination, RowPropsCallback } from '../-private/basic-table.ts';
|
|
12
|
+
export { getItemId } from '../-private/basic-table.ts';
|
|
13
|
+
export { useEuiBasicTablePanelProps } from './eui-basic-table-panel';
|
|
14
|
+
export type { EuiBasicTablePanelProps } from './eui-basic-table-panel';
|
|
15
|
+
/**
|
|
16
|
+
* A table built from `@items` and `@columns` (field, computed and actions
|
|
17
|
+
* columns), with optional sorting, pagination, selection and expanded
|
|
18
|
+
* rows. It renders the state you pass and calls `@onChange` with the new
|
|
19
|
+
* `{ page, sort }` criteria; use `EuiInMemoryTable` to let the table own
|
|
20
|
+
* that state.
|
|
21
|
+
*/
|
|
22
|
+
export interface EuiBasicTableSignature<T extends object> {
|
|
23
|
+
Element: HTMLDivElement;
|
|
24
|
+
Args: {
|
|
25
|
+
/** The rows' items. */
|
|
26
|
+
items: T[];
|
|
27
|
+
/**
|
|
28
|
+
* The columns: field data (`{ field, name, dataType, render,
|
|
29
|
+
* component, sortable, … }`), computed (`{ render | component, name }`)
|
|
30
|
+
* and actions (`{ actions, name }`).
|
|
31
|
+
*/
|
|
32
|
+
columns: Array<EuiBasicTableColumn<T>>;
|
|
33
|
+
/** How to get a unique id of an item (a key or a function), for selection and expanded rows. */
|
|
34
|
+
itemId?: ItemId<T>;
|
|
35
|
+
/**
|
|
36
|
+
* Expanded rows by item id: a text, or any truthy value rendered by
|
|
37
|
+
* the `<:expandedRow>` block.
|
|
38
|
+
*/
|
|
39
|
+
itemIdToExpandedRowMap?: Record<string, unknown>;
|
|
40
|
+
/**
|
|
41
|
+
* Props of every row cell, or a function of the item and column:
|
|
42
|
+
* `EuiTableRowCell` arguments (`align`, `textOnly`, `truncateText`,
|
|
43
|
+
* `valign`, `width`, `mobileOptions`, …) and attributes/listeners for
|
|
44
|
+
* the cell element.
|
|
45
|
+
*/
|
|
46
|
+
cellProps?: EuiTableElementProps | CellPropsCallback<T>;
|
|
47
|
+
/** Attributes of every row (`onClick` makes rows clickable), or a function of the item. */
|
|
48
|
+
rowProps?: EuiTableElementProps | RowPropsCallback<T>;
|
|
49
|
+
/** Error message shown instead of the rows. */
|
|
50
|
+
error?: string;
|
|
51
|
+
/** Describes the table for screen readers. Defaults to "Data table". */
|
|
52
|
+
tableCaption?: string;
|
|
53
|
+
/** The `field` of the column whose cells are the rows' headers (`<th scope="row">`). */
|
|
54
|
+
rowHeader?: string;
|
|
55
|
+
/** Shows a loading line above the rows. */
|
|
56
|
+
loading?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Panelled look of the table and its pagination, for tables outside
|
|
59
|
+
* EUI containers (like `EuiPanel` or `EuiFlyout`).
|
|
60
|
+
*/
|
|
61
|
+
panelled?: boolean;
|
|
62
|
+
/** Message when there are no items. Defaults to "No items found". */
|
|
63
|
+
noItemsMessage?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Called with the new `{ page, sort }` criteria when the user pages or
|
|
66
|
+
* sorts (required with `@pagination` or `@sorting`).
|
|
67
|
+
*/
|
|
68
|
+
onChange?: (criteria: Criteria<T> & CriteriaWithPagination<T>) => void;
|
|
69
|
+
/** `{ pageIndex, pageSize, totalItemCount, pageSizeOptions, showPerPageOptions }`. */
|
|
70
|
+
pagination?: Pagination;
|
|
71
|
+
/** `{ onSelectionChange, selectable, selectableMessage, initialSelected, selected }`. */
|
|
72
|
+
selection?: EuiTableSelectionType<T>;
|
|
73
|
+
/** `{ sort: { field, direction }, enableAllColumns, readOnly }`. */
|
|
74
|
+
sorting?: EuiTableSortingType<T>;
|
|
75
|
+
/** `'fixed'` or `'auto'`. Defaults to `'fixed'`. */
|
|
76
|
+
tableLayout?: 'fixed' | 'auto';
|
|
77
|
+
/** Smaller text and padding. */
|
|
78
|
+
compressed?: boolean;
|
|
79
|
+
/** Breakpoint below which rows become cards (`true` always, `false` never). Defaults to `'m'`. */
|
|
80
|
+
responsiveBreakpoint?: TableResponsiveBreakpoint;
|
|
81
|
+
/** The table's plain background. Defaults to `true`. */
|
|
82
|
+
hasBackground?: boolean;
|
|
83
|
+
/** Lets the table scroll inline (upstream beta). */
|
|
84
|
+
scrollableInline?: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Keeps the header at the top of the viewport while scrolling a long
|
|
87
|
+
* table (not in the cards layout). Upstream beta.
|
|
88
|
+
*/
|
|
89
|
+
stickyHeader?: boolean;
|
|
90
|
+
/**
|
|
91
|
+
* Shows a horizontal scrollbar sticking to the bottom of the viewport
|
|
92
|
+
* while the table's own one is out of view. Requires
|
|
93
|
+
* `@scrollableInline`. Upstream beta.
|
|
94
|
+
*/
|
|
95
|
+
stickyScrollbar?: boolean;
|
|
96
|
+
/** Styles composed last into the root `<div>`'s class (upstream `css`). */
|
|
97
|
+
css?: EuiCss;
|
|
98
|
+
/** @private Whether the caller's `<:expandedRow>` block exists (when forwarding it). */
|
|
99
|
+
hasExpandedRowBlock?: boolean;
|
|
100
|
+
/** @private Whether the caller's `<:noItemsMessage>` block exists (when forwarding it). */
|
|
101
|
+
hasNoItemsBlock?: boolean;
|
|
102
|
+
};
|
|
103
|
+
Blocks: {
|
|
104
|
+
/** Content of an expanded row; yields the item, its id and its map value. */
|
|
105
|
+
expandedRow: [item: T, itemId: ItemIdResolved, value: unknown];
|
|
106
|
+
/** Content shown when there are no items (instead of `@noItemsMessage`). */
|
|
107
|
+
noItemsMessage: [];
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
interface SortOptions {
|
|
111
|
+
isSorted?: boolean;
|
|
112
|
+
isSortAscending?: boolean;
|
|
113
|
+
onSort?: () => void;
|
|
114
|
+
readOnly?: boolean;
|
|
115
|
+
}
|
|
116
|
+
interface HeaderModel {
|
|
117
|
+
key: string;
|
|
118
|
+
name?: EuiTableColumnName;
|
|
119
|
+
sticky?: EuiTableStickyCellOptions;
|
|
120
|
+
tooltipProps?: EuiTableHeaderCellTooltipProps;
|
|
121
|
+
width?: string;
|
|
122
|
+
minWidth?: string;
|
|
123
|
+
maxWidth?: string;
|
|
124
|
+
description?: string;
|
|
125
|
+
mobileOptions?: TableMobileOptions;
|
|
126
|
+
align: TableAlignment;
|
|
127
|
+
testSubj?: string;
|
|
128
|
+
sorting: SortOptions;
|
|
129
|
+
}
|
|
130
|
+
interface CellModel<T extends object> {
|
|
131
|
+
key: string;
|
|
132
|
+
column: EuiBasicTableColumn<T>;
|
|
133
|
+
isActions: boolean;
|
|
134
|
+
content?: EuiTableContent;
|
|
135
|
+
component?: EuiTableCellComponent<T>;
|
|
136
|
+
value?: unknown;
|
|
137
|
+
align?: TableAlignment;
|
|
138
|
+
isExpander?: boolean;
|
|
139
|
+
textOnly?: boolean;
|
|
140
|
+
truncateText?: TableTruncateText;
|
|
141
|
+
valign?: EuiTableVerticalAlign;
|
|
142
|
+
setScopeRow?: boolean;
|
|
143
|
+
width?: string | number;
|
|
144
|
+
minWidth?: string | number;
|
|
145
|
+
maxWidth?: string | number;
|
|
146
|
+
hasActionsArg?: boolean | 'custom';
|
|
147
|
+
showOnHover?: boolean;
|
|
148
|
+
sticky?: EuiTableStickyCellOptions;
|
|
149
|
+
mobileOptions?: TableMobileOptions;
|
|
150
|
+
mobileContent?: EuiTableContent;
|
|
151
|
+
mobileComponent?: EuiTableCellComponent<T>;
|
|
152
|
+
hasMobile?: boolean;
|
|
153
|
+
style?: EuiTableRowCellStyle;
|
|
154
|
+
attributes?: EuiTableElementProps;
|
|
155
|
+
actions?: Array<Action<T>>;
|
|
156
|
+
collapsed?: boolean;
|
|
157
|
+
hasActions?: boolean | 'custom';
|
|
158
|
+
}
|
|
159
|
+
interface RowModel<T extends object> {
|
|
160
|
+
key: string;
|
|
161
|
+
item: T;
|
|
162
|
+
itemId: ItemIdResolved;
|
|
163
|
+
rowIndex: number;
|
|
164
|
+
displayedRowIndex: number;
|
|
165
|
+
selected: boolean;
|
|
166
|
+
isSelectable: boolean;
|
|
167
|
+
checkbox?: {
|
|
168
|
+
id: string;
|
|
169
|
+
disabled: boolean;
|
|
170
|
+
label: string;
|
|
171
|
+
testSubj: string;
|
|
172
|
+
};
|
|
173
|
+
hasActions: boolean | 'custom';
|
|
174
|
+
isExpandable: boolean;
|
|
175
|
+
expandedRowId?: string;
|
|
176
|
+
expandedValue?: unknown;
|
|
177
|
+
expandedText?: EuiTableContent;
|
|
178
|
+
expandedRowColSpan: number;
|
|
179
|
+
rowAttributes: EuiTableElementProps;
|
|
180
|
+
onClick?: (event: Event) => void;
|
|
181
|
+
cells: CellModel<T>[];
|
|
182
|
+
}
|
|
183
|
+
interface FooterModel {
|
|
184
|
+
key: string;
|
|
185
|
+
align?: TableAlignment;
|
|
186
|
+
sticky?: EuiTableStickyCellOptions;
|
|
187
|
+
content?: EuiTableContent;
|
|
188
|
+
}
|
|
189
|
+
export default class EuiBasicTable<T extends object = any> extends Component<EuiBasicTableSignature<T>> {
|
|
190
|
+
euiI18n: EuiI18n;
|
|
191
|
+
tableId: string;
|
|
192
|
+
selectAllId: string;
|
|
193
|
+
constructor(owner: Owner, args: EuiBasicTableSignature<T>['Args']);
|
|
194
|
+
/** Uncontrolled selection, `null` until the user (or `initialSelected`) sets it. */
|
|
195
|
+
localSelection: T[] | null;
|
|
196
|
+
get pageSize(): number;
|
|
197
|
+
get isSelectionControlled(): boolean;
|
|
198
|
+
/** Upstream `getDerivedStateFromProps` + `getInitialSelection`. */
|
|
199
|
+
get selectionState(): {
|
|
200
|
+
selection: T[];
|
|
201
|
+
removed: boolean;
|
|
202
|
+
};
|
|
203
|
+
get selection(): T[];
|
|
204
|
+
/** Reports selections dropped because their items left `@items`. */
|
|
205
|
+
syncSelection: import("ember-modifier").FunctionBasedModifier<{
|
|
206
|
+
Args: {
|
|
207
|
+
Positional: [{
|
|
208
|
+
selection: T[];
|
|
209
|
+
removed: boolean;
|
|
210
|
+
}];
|
|
211
|
+
Named: import("ember-modifier/-private/signature").EmptyObject;
|
|
212
|
+
};
|
|
213
|
+
Element: Element;
|
|
214
|
+
}>;
|
|
215
|
+
buildCriteria(): Criteria<T>;
|
|
216
|
+
changeSelection(changedSelection: T[]): void;
|
|
217
|
+
clearSelection(): void;
|
|
218
|
+
onPageSizeChange(size: number): void;
|
|
219
|
+
onPageChange(index: number): void;
|
|
220
|
+
onColumnSortChange(column: EuiBasicTableColumn<T>): void;
|
|
221
|
+
/** `enableAllColumns` makes field columns without `sortable` sortable. */
|
|
222
|
+
withDefaultSortable(column: EuiBasicTableColumn<T>): EuiBasicTableColumn<T>;
|
|
223
|
+
resolveColumnSortDirection(column: EuiBasicTableColumn<T>): "desc" | "asc" | undefined;
|
|
224
|
+
resolveColumnOnSort(column: EuiBasicTableColumn<T>): (() => void) | undefined;
|
|
225
|
+
sortOptions(column: EuiBasicTableColumn<T>, readOnly?: boolean): SortOptions;
|
|
226
|
+
/** Upstream: a sticky actions column needs inline scrolling. */
|
|
227
|
+
stickyActions(column: EuiBasicTableColumn<T>): boolean;
|
|
228
|
+
get headers(): HeaderModel[];
|
|
229
|
+
get mobileSortItems(): EuiTableSortMobileItemOption[];
|
|
230
|
+
get selectAll(): {
|
|
231
|
+
selectableItems: T[];
|
|
232
|
+
checked: boolean;
|
|
233
|
+
indeterminate: boolean;
|
|
234
|
+
disabled: boolean;
|
|
235
|
+
label: string;
|
|
236
|
+
mobileLabel: string;
|
|
237
|
+
} | undefined;
|
|
238
|
+
onSelectAllChange(event: Event): void;
|
|
239
|
+
onRowSelectionChange(row: RowModel<T>, event: Event): void;
|
|
240
|
+
get hasPagination(): boolean;
|
|
241
|
+
get rows(): RowModel<T>[];
|
|
242
|
+
cellModel(item: T, itemId: ItemIdResolved, column: EuiBasicTableColumn<T>, columnIndex: number, rowHeader: string | undefined, allDisabled: boolean): CellModel<T>;
|
|
243
|
+
get footers(): FooterModel[] | null;
|
|
244
|
+
get colSpan(): number;
|
|
245
|
+
get noItemsMessage(): string;
|
|
246
|
+
/** Upstream: "Pagination for table: {tableCaption}". */
|
|
247
|
+
get paginationLabel(): string;
|
|
248
|
+
get caption(): {
|
|
249
|
+
tableName: string;
|
|
250
|
+
empty: string | undefined;
|
|
251
|
+
itemCountPart: string | undefined;
|
|
252
|
+
paginationPart: string | undefined;
|
|
253
|
+
};
|
|
254
|
+
get paginationForBar(): Pagination;
|
|
255
|
+
get showPagination(): boolean;
|
|
256
|
+
get classes(): {
|
|
257
|
+
root: string | undefined;
|
|
258
|
+
caption: string;
|
|
259
|
+
copyMarker: string;
|
|
260
|
+
body: string | undefined;
|
|
261
|
+
panelled: string | undefined;
|
|
262
|
+
};
|
|
263
|
+
}
|
|
264
|
+
//# sourceMappingURL=eui-basic-table.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-basic-table.d.ts","sourceRoot":"","sources":["../../src/components/eui-basic-table.gts"],"names":[],"mappings":"AAy5CA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AA2D3C,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,EACV,MAAM,EACN,iBAAiB,EACjB,QAAQ,EACR,sBAAsB,EACtB,mBAAmB,EAGnB,qBAAqB,EACrB,kBAAkB,EAElB,eAAe,EACf,oBAAoB,EACpB,qBAAqB,EAErB,qBAAqB,EACrB,mBAAmB,EACnB,MAAM,EACN,cAAc,EACd,UAAU,EACV,gBAAgB,EACjB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EACV,cAAc,EACd,kBAAkB,EAClB,yBAAyB,EACzB,iBAAiB,EAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,6BAA6B,CAAC;AAClF,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,6BAA6B,CAAC;AAChF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAErE,YAAY,EACV,MAAM,EACN,iBAAiB,EACjB,QAAQ,EACR,sBAAsB,EACtB,gBAAgB,EAChB,iBAAiB,EACjB,mBAAmB,EACnB,yBAAyB,EACzB,gBAAgB,EAChB,yBAAyB,EACzB,kBAAkB,EAClB,8BAA8B,EAC9B,0BAA0B,EAC1B,eAAe,EACf,gBAAgB,EAChB,2BAA2B,EAC3B,mBAAmB,EACnB,YAAY,EACZ,qBAAqB,EACrB,mBAAmB,EACnB,qBAAqB,EACrB,MAAM,EACN,UAAU,EACV,gBAAgB,EACjB,MAAM,4BAA4B,CAAC;AACpC,OAAO,E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IAU5E,gEAAgE;IAChE,aAAa,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC,CAAC,GAAG,OAAO;IAQtD,IACI,OAAO,IAAI,WAAW,EAAE,CAwE3B;IAED,IACI,eAAe,IAAI,4BAA4B,EAAE,CAmBpD;IAED,IACI,SAAS;;;;;;;kBA2BZ;IAGD,iBAAiB,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAerC,oBAAoB,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI;IAkB1D,IAAI,aAAa,IAAI,OAAO,CAE3B;IAED,IACI,IAAI,IAAI,QAAQ,CAAC,CAAC,CAAC,EAAE,CAuFxB;IAED,SAAS,CACP,IAAI,EAAE,CAAC,EACP,MAAM,EAAE,cAAc,EACtB,MAAM,EAAE,mBAAmB,CAAC,CAAC,CAAC,EAC9B,WAAW,EAAE,MAAM,EACnB,SAAS,EAAE,MAAM,GAAG,SAAS,EAC7B,WAAW,EAAE,OAAO,GACnB,SAAS,CAAC,CAAC,CAAC;IA4If,IACI,OAAO,IAAI,WAAW,EAAE,GAAG,IAAI,CA8BlC;IAED,IAAI,OAAO,IAAI,MAAM,CAEpB;IAED,IAAI,cAAc,IAAI,MAAM,CAK3B;IAED,wDAAwD;IACxD,IAAI,eAAe,IAAI,MAAM,CAM5B;IAED,IACI,OAAO;;;;;MAiCV;IAED,IAAI,gBAAgB,IAAI,UAAU,CAEjC;IAED,IAAI,cAAc,IAAI,OAAO,CAU5B;IAED,IACI,OAAO;;;;;;MAgBV;CAqEF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-button.d.ts","sourceRoot":"","sources":["../../src/components/eui-button.gts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"eui-button.d.ts","sourceRoot":"","sources":["../../src/components/eui-button.gts"],"names":[],"mappings":"AA8IA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,C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AM,CAAC,EAAE,OAAO,CAAC;QACjB;;;WAGG;QACH,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,4CAA4C;QAC5C,UAAU,CAAC,EAAE,OAAO,CAAC;KACtB,CAAC;IACF,MAAM,EAAE;QACN,yBAAyB;QACzB,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,QAAA,MAAM,SAAS,EAAE,qBAAqB,CAAC,kBAAkB,CA+DvD,CAAC;AAEH,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-card.d.ts","sourceRoot":"","sources":["../../src/components/eui-card.gts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"eui-card.d.ts","sourceRoot":"","sources":["../../src/components/eui-card.gts"],"names":[],"mappings":"AA4TA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAoB3C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD,KAAK,oBAAoB,GAAG;IAC1B,gFAAgF;IAChF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,UAAU,CAAC,EAAE,kBAAkB,CAAC;IAChC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,qDAAqD;IACrD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,cAAc,CAAC,EAAE;QACf,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,cAAc,CAAC,EAAE,MAAM,CA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EAAE,CAAC;QAChB,2CAA2C;QAC3C,IAAI,EAAE,EAAE,CAAC;QACT,kEAAkE;QAClE,MAAM,EAAE,EAAE,CAAC;KACZ,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,SAAS,CAAC,gBAAgB,CAAC;IAC9D,IAAI,EAAE,iBAAiB,GAAG,iBAAiB,GAAG,IAAI,CAAQ;IAEnE,YAAY,GAAI,GAAG,UAAU,UAI3B;IAEF,IAAI,oBAAoB,uBASvB;IAED,IAAI,UAAU,IAAI,MAAM,CAEvB;IAED,IAAI,cAAc,IAAI,MAAM,CAE3B;IAED,IAAI,aAAa,IAAI,MAAM,CAE1B;IAED,WAAW;CA2RZ"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import type EuiI18n from '../../services/eui-i18n.ts';
|
|
3
|
+
import type { TemplateOnlyComponent } from '@ember/component/template-only';
|
|
4
|
+
/**
|
|
5
|
+
* @private A line annotation of EuiCodeBlock (upstream
|
|
6
|
+
* `EuiCodeBlockAnnotation`): a round info button next to the line number
|
|
7
|
+
* opening a popover with the note.
|
|
8
|
+
*/
|
|
9
|
+
interface EuiCodeBlockAnnotationSignature {
|
|
10
|
+
Args: {
|
|
11
|
+
/** The annotated line. */
|
|
12
|
+
lineNumber: number;
|
|
13
|
+
};
|
|
14
|
+
Blocks: {
|
|
15
|
+
/** The note. */
|
|
16
|
+
default: [];
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export default class EuiCodeBlockAnnotation extends Component<EuiCodeBlockAnnotationSignature> {
|
|
20
|
+
euiI18n: EuiI18n;
|
|
21
|
+
isOpen: boolean;
|
|
22
|
+
icon: TemplateOnlyComponent<{
|
|
23
|
+
Element: SVGElement;
|
|
24
|
+
}>;
|
|
25
|
+
get context(): import("../../theming.ts").EuiThemeContext;
|
|
26
|
+
get styles(): {
|
|
27
|
+
euiCodeBlockAnnotation: import("@emotion/serialize").SerializedStyles;
|
|
28
|
+
euiCodeBlockAnnotation__buttonIcon: import("@emotion/serialize").SerializedStyles;
|
|
29
|
+
};
|
|
30
|
+
/** Composed into EuiPopover's root (upstream passes it as `css`). */
|
|
31
|
+
get popoverCss(): import("@emotion/serialize").SerializedStyles;
|
|
32
|
+
get buttonClasses(): string;
|
|
33
|
+
get iconColor(): string;
|
|
34
|
+
/** Above the full screen mask (upstream). */
|
|
35
|
+
get zIndex(): number;
|
|
36
|
+
get ariaLabel(): string;
|
|
37
|
+
toggle(): void;
|
|
38
|
+
close(): void;
|
|
39
|
+
}
|
|
40
|
+
export {};
|
|
41
|
+
//# sourceMappingURL=annotation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"annotation.d.ts","sourceRoot":"","sources":["../../../src/components/eui-code-block/annotation.gts"],"names":[],"mappings":"AA+IA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAY3C,OAAO,KAAK,OAAO,MAAM,4BAA4B,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAiD5E;;;;GAIG;AACH,UAAU,+BAA+B;IACvC,IAAI,EAAE;QACJ,0BAA0B;QAC1B,UAAU,EAAE,MAAM,CAAC;KACpB,CAAC;IACF,MAAM,EAAE;QACN,gBAAgB;QAChB,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,sBAAuB,SAAQ,SAAS,CAAC,+BAA+B,CAAC;IAC3E,OAAO,EAAE,OAAO,CAAC;IACzB,MAAM,UAAS;IAExB,IAAI;iBAxDqD,UAAU;OAwDzC;IAE1B,IAAI,OAAO,+CAEV;IAED,IAAI,MAAM;;;MAET;IAED,qEAAqE;IACrE,IAAI,UAAU,kDAEb;IAED,IACI,aAAa,WAMhB;IAED,IAAI,SAAS,WAKZ;IAED,6CAA6C;IAC7C,IAAI,MAAM,WAET;IAED,IAAI,SAAS,WAOZ;IAGD,MAAM;IAKN,KAAK;CAyDN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-collapsible-nav-group.d.ts","sourceRoot":"","sources":["../../src/components/eui-collapsible-nav-group.gts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"eui-collapsible-nav-group.d.ts","sourceRoot":"","sources":["../../src/components/eui-collapsible-nav-group.gts"],"names":[],"mappings":"AAmLA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE5E,MAAM,WAAW,+BAA+B;IAC9C,OAAO,EAAE,qBAAqB,CAAC,SAAS,CAAC,CAAC;IAC1C,IAAI,EAAE;QACJ,gDAAgD;QAChD,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,oEAAoE;QACpE,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB;;;WAGG;QACH,aAAa,CAAC,EAAE,OAAO,CAAC;QACxB,mEAAmE;QACnE,aAAa,CAAC,EAAE,OAAO,CAAC;QACxB,mEAAmE;QACnE,QAAQ,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;QAC5C,2CAA2C;QAC3C,QAAQ,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;QAC5C,iFAAiF;QACjF,YAAY,CAAC,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,CAAC;QACpD,mEAAmE;QACnE,SAAS,CAAC,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;QAC9C;;;WAGG;QACH,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,MAAM,EAAE;QACN,+CAA+C;QAC/C,OAAO,EAAE,EAAE,CAAC;QACZ,8DAA8D;QAC9D,KAAK,EAAE,EAAE,CAAC;QACV,iDAAiD;QACjD,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,QAAA,MAAM,sBAAsB,EAAE,qBAAqB,CAAC,+BAA+B,CAqLjF,CAAC;AAEH,eAAe,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { TOC } from '@ember/component/template-only';
|
|
2
|
+
import type { ComponentLike } from '@glint/template';
|
|
3
|
+
/**
|
|
4
|
+
* Text or a component: option `prepend` / `append` and EuiComboBox's
|
|
5
|
+
* `@prepend` / `@append` (upstream React nodes). Components get the
|
|
6
|
+
* option as `@option`.
|
|
7
|
+
*/
|
|
8
|
+
export type EuiComboBoxNode = string | number | ComponentLike<{
|
|
9
|
+
Args: {
|
|
10
|
+
option?: unknown;
|
|
11
|
+
};
|
|
12
|
+
}>;
|
|
13
|
+
/** @private Renders an `EuiComboBoxNode`. */
|
|
14
|
+
declare const EuiComboBoxNodeComponent: TOC<{
|
|
15
|
+
Args: {
|
|
16
|
+
node: unknown;
|
|
17
|
+
option?: unknown;
|
|
18
|
+
};
|
|
19
|
+
}>;
|
|
20
|
+
export default EuiComboBoxNodeComponent;
|
|
21
|
+
//# sourceMappingURL=node.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../../src/components/eui-combo-box/node.gts"],"names":[],"mappings":"AA4BA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD;;;;GAIG;AACH,MAAM,MAAM,eAAe,GACvB,MAAM,GACN,MAAM,GACN,aAAa,CAAC;IAAE,IAAI,EAAE;QAAE,MAAM,CAAC,EAAE,OAAO,CAAA;KAAE,CAAA;CAAE,CAAC,CAAC;AAOlD,6CAA6C;AAC7C,QAAA,MAAM,wBAAwB,EAAE,GAAG,CAAC;IAClC,IAAI,EAAE;QAAE,IAAI,EAAE,OAAO,CAAC;QAAC,MAAM,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC;CAC3C,CAiBC,CAAC;AAEH,eAAe,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import type { EuiTextTruncateSignature } from '../eui-text-truncate';
|
|
3
|
+
/** EuiTextTruncate arguments for options (upstream `truncationProps`). */
|
|
4
|
+
export type EuiComboBoxTruncationProps = Partial<Omit<EuiTextTruncateSignature['Args'], 'text'>>;
|
|
5
|
+
interface Signature {
|
|
6
|
+
Args: {
|
|
7
|
+
/** The option's label. */
|
|
8
|
+
text: string;
|
|
9
|
+
/** The search text (untrimmed). */
|
|
10
|
+
search?: string;
|
|
11
|
+
isCaseSensitive?: boolean;
|
|
12
|
+
/** `'auto'` wraps the text instead of truncating it. */
|
|
13
|
+
rowHeight?: number | 'auto';
|
|
14
|
+
/** EuiComboBox's `@truncationProps` merged with the option's own. */
|
|
15
|
+
truncationProps?: EuiComboBoxTruncationProps;
|
|
16
|
+
/** Width shared by the rows, so only the first ones measure. */
|
|
17
|
+
width?: number;
|
|
18
|
+
onResize?: (width: number) => void;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* @private The default option content of EuiComboBox's list, upstream
|
|
23
|
+
* `renderTruncatedOption` / `renderVariableHeightOption`: CSS truncation
|
|
24
|
+
* by default, EuiTextTruncate with `truncationProps`, and while searching
|
|
25
|
+
* the match is highlighted and kept visible (`startEnd` truncation
|
|
26
|
+
* around it).
|
|
27
|
+
*/
|
|
28
|
+
export default class EuiComboBoxOptionText extends Component<Signature> {
|
|
29
|
+
get search(): string;
|
|
30
|
+
get isAuto(): boolean;
|
|
31
|
+
/** Upstream `searchPositionCenter`. */
|
|
32
|
+
get truncationPosition(): number;
|
|
33
|
+
/** Shorter truncated text than the search: mark all of it (upstream). */
|
|
34
|
+
isShort: (text: string) => boolean;
|
|
35
|
+
}
|
|
36
|
+
export {};
|
|
37
|
+
//# sourceMappingURL=option-text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"option-text.d.ts","sourceRoot":"","sources":["../../../src/components/eui-combo-box/option-text.gts"],"names":[],"mappings":"AA+GA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAM3C,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAErE,0EAA0E;AAC1E,MAAM,MAAM,0BAA0B,GAAG,OAAO,CAC9C,IAAI,CAAC,wBAAwB,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAC/C,CAAC;AAEF,UAAU,SAAS;IACjB,IAAI,EAAE;QACJ,0BAA0B;QAC1B,IAAI,EAAE,MAAM,CAAC;QACb,mCAAmC;QACnC,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,eAAe,CAAC,EAAE,OAAO,CAAC;QAC1B,wDAAwD;QACxD,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QAC5B,qEAAqE;QACrE,eAAe,CAAC,EAAE,0BAA0B,CAAC;QAC7C,gEAAgE;QAChE,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;KACpC,CAAC;CACH;AAED;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,OAAO,qBAAsB,SAAQ,SAAS,CAAC,SAAS,CAAC;IACrE,IAAI,MAAM,IAAI,MAAM,CAEnB;IAED,IAAI,MAAM,IAAI,OAAO,CAEpB;IAED,uCAAuC;IACvC,IAAI,kBAAkB,IAAI,MAAM,CAQ/B;IAED,yEAAyE;IACzE,OAAO,GAAI,MAAM,MAAM,aAAsC;CAoE9D"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import type { EuiContainerType } from '../theming.ts';
|
|
3
|
+
/**
|
|
4
|
+
* A container that yields whether a CSS container query matches its width
|
|
5
|
+
* or height (the Ember counterpart of upstream's `useEuiContainerQuery`):
|
|
6
|
+
*
|
|
7
|
+
* ```hbs
|
|
8
|
+
* <EuiContainerQuery @condition="(width > 400px)" as |matches|>
|
|
9
|
+
* {{if matches "Wide" "Narrow"}}
|
|
10
|
+
* </EuiContainerQuery>
|
|
11
|
+
* ```
|
|
12
|
+
*
|
|
13
|
+
* It renders a `<div>` that establishes the container (`container-type:
|
|
14
|
+
* inline-size` by default) and a hidden probe inside it that the query is
|
|
15
|
+
* evaluated for. Prefer styling with `euiContainerQuery` in CSS; use this
|
|
16
|
+
* when the result is needed in templates or JavaScript.
|
|
17
|
+
*/
|
|
18
|
+
export interface EuiContainerQuerySignature {
|
|
19
|
+
Element: HTMLDivElement;
|
|
20
|
+
Args: {
|
|
21
|
+
/** A CSS container condition, e.g. `(min-width: 400px)`. */
|
|
22
|
+
condition: string;
|
|
23
|
+
/** Optional container name, e.g. `sidebar`. */
|
|
24
|
+
name?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The `container-type` of the container. Defaults to `'inline-size'`;
|
|
27
|
+
* use `'size'` to query the height too (the container then needs a
|
|
28
|
+
* height of its own).
|
|
29
|
+
*/
|
|
30
|
+
type?: EuiContainerType;
|
|
31
|
+
/** Called with the result on render and whenever it changes. */
|
|
32
|
+
onChange?: (matches: boolean) => void;
|
|
33
|
+
};
|
|
34
|
+
Blocks: {
|
|
35
|
+
/** Yields `true` while the container matches the condition. */
|
|
36
|
+
default: [boolean];
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export default class EuiContainerQuery extends Component<EuiContainerQuerySignature> {
|
|
40
|
+
matches: boolean;
|
|
41
|
+
setMatches(matches: boolean): void;
|
|
42
|
+
get classes(): string;
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=eui-container-query.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-container-query.d.ts","sourceRoot":"","sources":["../../src/components/eui-container-query.gts"],"names":[],"mappings":"AAsFA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAU3C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEtD;;;;;;;;;;;;;;GAcG;AACH,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,cAAc,CAAC;IACxB,IAAI,EAAE;QACJ,4DAA4D;QAC5D,SAAS,EAAE,MAAM,CAAC;QAClB,+CAA+C;QAC/C,IAAI,CAAC,EAAE,MAAM,CAAC;QACd;;;;WAIG;QACH,IAAI,CAAC,EAAE,gBAAgB,CAAC;QACxB,gEAAgE;QAChE,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;KACvC,CAAC;IACF,MAAM,EAAE;QACN,+DAA+D;QAC/D,OAAO,EAAE,CAAC,OAAO,CAAC,CAAC;KACpB,CAAC;CACH;AAID,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,SAAS,CAAC,0BAA0B,CAAC;IACzE,OAAO,UAAS;IAGzB,UAAU,CAAC,OAAO,EAAE,OAAO;IAK3B,IACI,OAAO,WAQV;CA2BF"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import { RowHeightUtils } from '../../utils/data-grid/row-heights.ts';
|
|
3
|
+
import type Owner from '@ember/owner';
|
|
4
|
+
import type EuiDataGrid from '../eui-data-grid';
|
|
5
|
+
import type { EuiDataGridFocusedCell, EuiDataGridRowHeightsOptions, EuiDataGridScrollToItemProps, EuiDataGridScrollToProps } from '../../utils/data-grid/types.ts';
|
|
6
|
+
export declare const DEFAULT_COLUMN_WIDTH = 100;
|
|
7
|
+
export interface EuiDataGridBodyBaseArgs {
|
|
8
|
+
grid: EuiDataGrid;
|
|
9
|
+
hasFooterBlock?: boolean;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* State shared by the virtualized body and the custom body renderer
|
|
13
|
+
* (`@renderCustomGridBody`): column widths (`useColumnWidths` /
|
|
14
|
+
* `useDefaultColumnWidth` upstream) and row heights (`useRowHeightUtils` /
|
|
15
|
+
* `useDefaultRowHeight`). Header, row and footer cells read these.
|
|
16
|
+
*/
|
|
17
|
+
export default abstract class EuiDataGridBodyBase<S extends {
|
|
18
|
+
Args: EuiDataGridBodyBaseArgs;
|
|
19
|
+
}> extends Component<S> {
|
|
20
|
+
/** Whether rows and cells are absolutely positioned (virtualized). */
|
|
21
|
+
abstract readonly isVirtualized: boolean;
|
|
22
|
+
/** Width the default column width fills. */
|
|
23
|
+
abstract get availableWidth(): number;
|
|
24
|
+
constructor(owner: Owner, args: S['Args']);
|
|
25
|
+
willDestroy(): void;
|
|
26
|
+
get grid(): EuiDataGrid;
|
|
27
|
+
get hasFooter(): boolean;
|
|
28
|
+
private columnWidthsState;
|
|
29
|
+
get columnWidths(): Record<string, number>;
|
|
30
|
+
get initialColumnWidths(): Record<string, number>;
|
|
31
|
+
setColumnWidth(columnId: string, width: number): void;
|
|
32
|
+
/** Default width for columns without `initialWidth`, filling the container. */
|
|
33
|
+
get defaultColumnWidth(): number | null;
|
|
34
|
+
/** Width of a data column by id (undefined until the grid is measured). */
|
|
35
|
+
widthForColumn(columnId: string): number | undefined;
|
|
36
|
+
/** Every visible column's width, by visible column index. */
|
|
37
|
+
get columnWidthList(): number[];
|
|
38
|
+
protected rowHeightsVersion: number;
|
|
39
|
+
private resetTimer;
|
|
40
|
+
readonly rowHeightUtils: RowHeightUtils;
|
|
41
|
+
/** Measured (auto/line count) row heights changed. */
|
|
42
|
+
protected onRowHeightsChange(): void;
|
|
43
|
+
/** `minRowHeight` upstream: measured single-line height of a cell. */
|
|
44
|
+
minRowHeight: number;
|
|
45
|
+
setMinRowHeight(height: number): void;
|
|
46
|
+
get rowHeightsOptions(): EuiDataGridRowHeightsOptions;
|
|
47
|
+
get defaultRowHeight(): number;
|
|
48
|
+
/** Whether every row has the default height (no per-row or measured heights). */
|
|
49
|
+
get hasUniformRowHeights(): boolean;
|
|
50
|
+
/** Height of a visible (page-relative) row. */
|
|
51
|
+
getRowHeight(visibleRowIndex: number): number;
|
|
52
|
+
/** Height a row renders with. */
|
|
53
|
+
rowHeight(visibleRowIndex: number): number;
|
|
54
|
+
/** Left offset of a column (positioned cells only). */
|
|
55
|
+
columnLeft(colIndex: number): number;
|
|
56
|
+
/** First fully visible row (used by ArrowDown from the sticky header). */
|
|
57
|
+
get visibleRowStartIndex(): number;
|
|
58
|
+
onFocusedCellChange(cell: EuiDataGridFocusedCell): void;
|
|
59
|
+
scrollCellIntoView(cell: {
|
|
60
|
+
rowIndex: number;
|
|
61
|
+
colIndex: number;
|
|
62
|
+
}): void;
|
|
63
|
+
scrollTo?(params?: EuiDataGridScrollToProps): void;
|
|
64
|
+
scrollToItem?(params?: EuiDataGridScrollToItemProps): void;
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=body-base.d.ts.map
|