@ember-eui/core 8.0.65 → 8.0.67
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/declarations/-private/associate-form-row-label.d.ts +9 -0
- package/declarations/-private/associate-form-row-label.d.ts.map +1 -0
- package/declarations/-private/color.d.ts +64 -0
- package/declarations/-private/color.d.ts.map +1 -0
- package/declarations/-private/css-style.d.ts +11 -0
- package/declarations/-private/css-style.d.ts.map +1 -0
- package/declarations/-private/drag-drop.d.ts +13 -0
- package/declarations/-private/drag-drop.d.ts.map +1 -0
- package/declarations/-private/event-helpers.d.ts +12 -0
- package/declarations/-private/event-helpers.d.ts.map +1 -0
- package/declarations/-private/icon-loader.d.ts +13 -0
- package/declarations/-private/icon-loader.d.ts.map +1 -0
- package/declarations/-private/icons.d.ts +18 -0
- package/declarations/-private/icons.d.ts.map +1 -0
- package/declarations/-private/language-loader.d.ts +12 -0
- package/declarations/-private/language-loader.d.ts.map +1 -0
- package/declarations/-private/languages.d.ts +10 -0
- package/declarations/-private/languages.d.ts.map +1 -0
- package/declarations/-private/link-form-row-control.d.ts +17 -0
- package/declarations/-private/link-form-row-control.d.ts.map +1 -0
- package/declarations/-private/random-id.d.ts +2 -0
- package/declarations/-private/random-id.d.ts.map +1 -1
- package/declarations/-private/resizable.d.ts +34 -0
- package/declarations/-private/resizable.d.ts.map +1 -0
- package/declarations/-private/selectable-options.d.ts +38 -0
- package/declarations/-private/selectable-options.d.ts.map +1 -0
- package/declarations/-private/set-body-class.d.ts +14 -0
- package/declarations/-private/set-body-class.d.ts.map +1 -0
- package/declarations/-private/table.d.ts +20 -0
- package/declarations/-private/table.d.ts.map +1 -0
- package/declarations/-private/text-diff.d.ts +11 -0
- package/declarations/-private/text-diff.d.ts.map +1 -0
- package/declarations/-private/vis-colors.d.ts +8 -0
- package/declarations/-private/vis-colors.d.ts.map +1 -0
- package/declarations/components/eui-aspect-ratio.d.ts +23 -0
- package/declarations/components/eui-aspect-ratio.d.ts.map +1 -0
- package/declarations/components/eui-beacon.d.ts +15 -0
- package/declarations/components/eui-beacon.d.ts.map +1 -0
- package/declarations/components/eui-color-palette-display.d.ts +25 -0
- package/declarations/components/eui-color-palette-display.d.ts.map +1 -0
- package/declarations/components/eui-color-palette-picker.d.ts +53 -0
- package/declarations/components/eui-color-palette-picker.d.ts.map +1 -0
- package/declarations/components/eui-color-picker-swatch.d.ts +19 -0
- package/declarations/components/eui-color-picker-swatch.d.ts.map +1 -0
- package/declarations/components/eui-color-picker.d.ts +153 -0
- package/declarations/components/eui-color-picker.d.ts.map +1 -0
- package/declarations/components/eui-color-stops/thumb.d.ts +56 -0
- package/declarations/components/eui-color-stops/thumb.d.ts.map +1 -0
- package/declarations/components/eui-color-stops.d.ts +100 -0
- package/declarations/components/eui-color-stops.d.ts.map +1 -0
- package/declarations/components/eui-combo-box/options.d.ts +1 -2
- package/declarations/components/eui-combo-box/options.d.ts.map +1 -1
- package/declarations/components/eui-context-menu-item.d.ts +22 -2
- package/declarations/components/eui-context-menu-item.d.ts.map +1 -1
- package/declarations/components/eui-context-menu-panel.d.ts +87 -3
- package/declarations/components/eui-context-menu-panel.d.ts.map +1 -1
- package/declarations/components/eui-context-menu.d.ts +94 -0
- package/declarations/components/eui-context-menu.d.ts.map +1 -0
- package/declarations/components/eui-control-bar.d.ts +110 -0
- package/declarations/components/eui-control-bar.d.ts.map +1 -0
- package/declarations/components/eui-date-picker-range.d.ts +28 -0
- package/declarations/components/eui-date-picker-range.d.ts.map +1 -0
- package/declarations/components/eui-delay-hide.d.ts +21 -0
- package/declarations/components/eui-delay-hide.d.ts.map +1 -0
- package/declarations/components/eui-delay-render.d.ts +21 -0
- package/declarations/components/eui-delay-render.d.ts.map +1 -0
- package/declarations/components/eui-drag-drop-context.d.ts +66 -0
- package/declarations/components/eui-drag-drop-context.d.ts.map +1 -0
- package/declarations/components/eui-draggable.d.ts +76 -0
- package/declarations/components/eui-draggable.d.ts.map +1 -0
- package/declarations/components/eui-droppable.d.ts +86 -0
- package/declarations/components/eui-droppable.d.ts.map +1 -0
- package/declarations/components/eui-expression.d.ts +46 -0
- package/declarations/components/eui-expression.d.ts.map +1 -0
- package/declarations/components/eui-facet-button.d.ts +30 -0
- package/declarations/components/eui-facet-button.d.ts.map +1 -0
- package/declarations/components/eui-facet-group.d.ts +21 -0
- package/declarations/components/eui-facet-group.d.ts.map +1 -0
- package/declarations/components/eui-filter-button.d.ts +54 -0
- package/declarations/components/eui-filter-button.d.ts.map +1 -0
- package/declarations/components/eui-filter-group.d.ts +19 -0
- package/declarations/components/eui-filter-group.d.ts.map +1 -0
- package/declarations/components/eui-filter-select-item.d.ts +29 -0
- package/declarations/components/eui-filter-select-item.d.ts.map +1 -0
- package/declarations/components/eui-highlight.d.ts +26 -0
- package/declarations/components/eui-highlight.d.ts.map +1 -0
- package/declarations/components/eui-hue.d.ts +25 -0
- package/declarations/components/eui-hue.d.ts.map +1 -0
- package/declarations/components/eui-i18n-number.d.ts +25 -0
- package/declarations/components/eui-i18n-number.d.ts.map +1 -0
- package/declarations/components/eui-loading-chart.d.ts +17 -0
- package/declarations/components/eui-loading-chart.d.ts.map +1 -0
- package/declarations/components/eui-loading-elastic.d.ts +15 -0
- package/declarations/components/eui-loading-elastic.d.ts.map +1 -0
- package/declarations/components/eui-mark.d.ts +15 -0
- package/declarations/components/eui-mark.d.ts.map +1 -0
- package/declarations/components/eui-markdown-editor.d.ts +2 -2
- package/declarations/components/eui-markdown-editor.d.ts.map +1 -1
- package/declarations/components/eui-pinnable-list-group.d.ts +59 -0
- package/declarations/components/eui-pinnable-list-group.d.ts.map +1 -0
- package/declarations/components/eui-popover.d.ts +1 -0
- package/declarations/components/eui-popover.d.ts.map +1 -1
- package/declarations/components/eui-refresh-interval.d.ts +46 -0
- package/declarations/components/eui-refresh-interval.d.ts.map +1 -0
- package/declarations/components/eui-resizable-container/button.d.ts +38 -0
- package/declarations/components/eui-resizable-container/button.d.ts.map +1 -0
- package/declarations/components/eui-resizable-container/collapse-button.d.ts +15 -0
- package/declarations/components/eui-resizable-container/collapse-button.d.ts.map +1 -0
- package/declarations/components/eui-resizable-container/panel.d.ts +86 -0
- package/declarations/components/eui-resizable-container/panel.d.ts.map +1 -0
- package/declarations/components/eui-resizable-container.d.ts +82 -0
- package/declarations/components/eui-resizable-container.d.ts.map +1 -0
- package/declarations/components/eui-saturation.d.ts +62 -0
- package/declarations/components/eui-saturation.d.ts.map +1 -0
- package/declarations/components/eui-screen-reader-only.d.ts +23 -0
- package/declarations/components/eui-screen-reader-only.d.ts.map +1 -0
- package/declarations/components/eui-selectable-list-item.d.ts +53 -3
- package/declarations/components/eui-selectable-list-item.d.ts.map +1 -1
- package/declarations/components/eui-selectable-list.d.ts +95 -0
- package/declarations/components/eui-selectable-list.d.ts.map +1 -0
- package/declarations/components/eui-selectable-message.d.ts +19 -0
- package/declarations/components/eui-selectable-message.d.ts.map +1 -0
- package/declarations/components/eui-selectable-search.d.ts +33 -0
- package/declarations/components/eui-selectable-search.d.ts.map +1 -0
- package/declarations/components/eui-selectable-template-sitewide.d.ts +86 -0
- package/declarations/components/eui-selectable-template-sitewide.d.ts.map +1 -0
- package/declarations/components/eui-selectable.d.ts +123 -0
- package/declarations/components/eui-selectable.d.ts.map +1 -0
- package/declarations/components/eui-skip-link.d.ts +31 -0
- package/declarations/components/eui-skip-link.d.ts.map +1 -0
- package/declarations/components/eui-suggest-input.d.ts +55 -0
- package/declarations/components/eui-suggest-input.d.ts.map +1 -0
- package/declarations/components/eui-suggest-item.d.ts +38 -0
- package/declarations/components/eui-suggest-item.d.ts.map +1 -0
- package/declarations/components/eui-suggest.d.ts +52 -0
- package/declarations/components/eui-suggest.d.ts.map +1 -0
- package/declarations/components/eui-super-date-picker/eui-quick-select-popover.d.ts +7 -1
- package/declarations/components/eui-super-date-picker/eui-quick-select-popover.d.ts.map +1 -1
- package/declarations/components/eui-super-date-picker.d.ts +69 -18
- package/declarations/components/eui-super-date-picker.d.ts.map +1 -1
- package/declarations/components/eui-super-select-control.d.ts +57 -0
- package/declarations/components/eui-super-select-control.d.ts.map +1 -0
- package/declarations/components/eui-super-select.d.ts +84 -0
- package/declarations/components/eui-super-select.d.ts.map +1 -0
- package/declarations/components/eui-table-body.d.ts +12 -0
- package/declarations/components/eui-table-body.d.ts.map +1 -0
- package/declarations/components/eui-table-footer-cell.d.ts +19 -0
- package/declarations/components/eui-table-footer-cell.d.ts.map +1 -0
- package/declarations/components/eui-table-footer.d.ts +12 -0
- package/declarations/components/eui-table-footer.d.ts.map +1 -0
- package/declarations/components/eui-table-header-button.d.ts +17 -0
- package/declarations/components/eui-table-header-button.d.ts.map +1 -0
- package/declarations/components/eui-table-header-cell-checkbox.d.ts +18 -0
- package/declarations/components/eui-table-header-cell-checkbox.d.ts.map +1 -0
- package/declarations/components/eui-table-header-cell.d.ts +43 -0
- package/declarations/components/eui-table-header-cell.d.ts.map +1 -0
- package/declarations/components/eui-table-header-mobile.d.ts +15 -0
- package/declarations/components/eui-table-header-mobile.d.ts.map +1 -0
- package/declarations/components/eui-table-header.d.ts +16 -0
- package/declarations/components/eui-table-header.d.ts.map +1 -0
- package/declarations/components/eui-table-pagination.d.ts +40 -0
- package/declarations/components/eui-table-pagination.d.ts.map +1 -0
- package/declarations/components/eui-table-row-cell-checkbox.d.ts +12 -0
- package/declarations/components/eui-table-row-cell-checkbox.d.ts.map +1 -0
- package/declarations/components/eui-table-row-cell.d.ts +44 -0
- package/declarations/components/eui-table-row-cell.d.ts.map +1 -0
- package/declarations/components/eui-table-row.d.ts +26 -0
- package/declarations/components/eui-table-row.d.ts.map +1 -0
- package/declarations/components/eui-table-sort-mobile-item.d.ts +22 -0
- package/declarations/components/eui-table-sort-mobile-item.d.ts.map +1 -0
- package/declarations/components/eui-table-sort-mobile.d.ts +37 -0
- package/declarations/components/eui-table-sort-mobile.d.ts.map +1 -0
- package/declarations/components/eui-table.d.ts +28 -0
- package/declarations/components/eui-table.d.ts.map +1 -0
- package/declarations/components/eui-text-diff.d.ts +30 -0
- package/declarations/components/eui-text-diff.d.ts.map +1 -0
- package/declarations/components/eui-token.d.ts +37 -0
- package/declarations/components/eui-token.d.ts.map +1 -0
- package/declarations/components/eui-tour-step-indicator.d.ts +19 -0
- package/declarations/components/eui-tour-step-indicator.d.ts.map +1 -0
- package/declarations/components/eui-tour-step.d.ts +93 -0
- package/declarations/components/eui-tour-step.d.ts.map +1 -0
- package/declarations/components/eui-tour.d.ts +77 -0
- package/declarations/components/eui-tour.d.ts.map +1 -0
- package/declarations/components/eui-tree-view.d.ts +71 -0
- package/declarations/components/eui-tree-view.d.ts.map +1 -0
- package/declarations/components.d.ts +75 -1
- package/declarations/components.d.ts.map +1 -1
- package/declarations/services/eui-i18n.d.ts +6 -0
- package/declarations/services/eui-i18n.d.ts.map +1 -1
- package/declarations/template-registry.d.ts +221 -0
- package/declarations/template-registry.d.ts.map +1 -1
- package/declarations/utils/drag-drop.d.ts +21 -0
- package/declarations/utils/drag-drop.d.ts.map +1 -0
- package/declarations/utils/icons-from-glob.d.ts +39 -0
- package/declarations/utils/icons-from-glob.d.ts.map +1 -0
- package/declarations/utils/preload-icons.d.ts +21 -0
- package/declarations/utils/preload-icons.d.ts.map +1 -0
- package/declarations/utils/token-map.d.ts +11 -0
- package/declarations/utils/token-map.d.ts.map +1 -0
- package/dist/-private/color.js +168 -0
- package/dist/-private/color.js.map +1 -0
- package/dist/-private/css-style.js +24 -0
- package/dist/-private/css-style.js.map +1 -0
- package/dist/-private/random-id.js +2 -1
- package/dist/-private/random-id.js.map +1 -1
- package/dist/-private/resizable.js +44 -0
- package/dist/-private/resizable.js.map +1 -0
- package/dist/-private/selectable-options.js +59 -0
- package/dist/-private/selectable-options.js.map +1 -0
- package/dist/-private/table.js +20 -0
- package/dist/-private/table.js.map +1 -0
- package/dist/-private/text-diff.js +94 -0
- package/dist/-private/text-diff.js.map +1 -0
- package/dist/_app_/components/eui-aspect-ratio.js +1 -0
- package/dist/_app_/components/eui-beacon.js +1 -0
- package/dist/_app_/components/eui-color-palette-display.js +1 -0
- package/dist/_app_/components/eui-color-palette-picker.js +1 -0
- package/dist/_app_/components/eui-color-picker-swatch.js +1 -0
- package/dist/_app_/components/eui-color-picker.js +1 -0
- package/dist/_app_/components/eui-color-stops/thumb.js +1 -0
- package/dist/_app_/components/eui-color-stops.js +1 -0
- package/dist/_app_/components/eui-context-menu.js +1 -0
- package/dist/_app_/components/eui-control-bar.js +1 -0
- package/dist/_app_/components/eui-date-picker-range.js +1 -0
- package/dist/_app_/components/eui-delay-hide.js +1 -0
- package/dist/_app_/components/eui-delay-render.js +1 -0
- package/dist/_app_/components/eui-drag-drop-context.js +1 -0
- package/dist/_app_/components/eui-draggable.js +1 -0
- package/dist/_app_/components/eui-droppable.js +1 -0
- package/dist/_app_/components/eui-expression.js +1 -0
- package/dist/_app_/components/eui-facet-button.js +1 -0
- package/dist/_app_/components/eui-facet-group.js +1 -0
- package/dist/_app_/components/eui-filter-button.js +1 -0
- package/dist/_app_/components/eui-filter-group.js +1 -0
- package/dist/_app_/components/eui-filter-select-item.js +1 -0
- package/dist/_app_/components/eui-highlight.js +1 -0
- package/dist/_app_/components/eui-hue.js +1 -0
- package/dist/_app_/components/eui-i18n-number.js +1 -0
- package/dist/_app_/components/eui-loading-chart.js +1 -0
- package/dist/_app_/components/eui-loading-elastic.js +1 -0
- package/dist/_app_/components/eui-mark.js +1 -0
- package/dist/_app_/components/eui-pinnable-list-group.js +1 -0
- package/dist/_app_/components/eui-refresh-interval.js +1 -0
- package/dist/_app_/components/eui-resizable-container/button.js +1 -0
- package/dist/_app_/components/eui-resizable-container/collapse-button.js +1 -0
- package/dist/_app_/components/eui-resizable-container/panel.js +1 -0
- package/dist/_app_/components/eui-resizable-container.js +1 -0
- package/dist/_app_/components/eui-saturation.js +1 -0
- package/dist/_app_/components/eui-screen-reader-only.js +1 -0
- package/dist/_app_/components/eui-selectable-list.js +1 -0
- package/dist/_app_/components/eui-selectable-message.js +1 -0
- package/dist/_app_/components/eui-selectable-search.js +1 -0
- package/dist/_app_/components/eui-selectable-template-sitewide.js +1 -0
- package/dist/_app_/components/eui-selectable.js +1 -0
- package/dist/_app_/components/eui-skip-link.js +1 -0
- package/dist/_app_/components/eui-suggest-input.js +1 -0
- package/dist/_app_/components/eui-suggest-item.js +1 -0
- package/dist/_app_/components/eui-suggest.js +1 -0
- package/dist/_app_/components/eui-super-select-control.js +1 -0
- package/dist/_app_/components/eui-super-select.js +1 -0
- package/dist/_app_/components/eui-table-body.js +1 -0
- package/dist/_app_/components/eui-table-footer-cell.js +1 -0
- package/dist/_app_/components/eui-table-footer.js +1 -0
- package/dist/_app_/components/eui-table-header-button.js +1 -0
- package/dist/_app_/components/eui-table-header-cell-checkbox.js +1 -0
- package/dist/_app_/components/eui-table-header-cell.js +1 -0
- package/dist/_app_/components/eui-table-header-mobile.js +1 -0
- package/dist/_app_/components/eui-table-header.js +1 -0
- package/dist/_app_/components/eui-table-pagination.js +1 -0
- package/dist/_app_/components/eui-table-row-cell-checkbox.js +1 -0
- package/dist/_app_/components/eui-table-row-cell.js +1 -0
- package/dist/_app_/components/eui-table-row.js +1 -0
- package/dist/_app_/components/eui-table-sort-mobile-item.js +1 -0
- package/dist/_app_/components/eui-table-sort-mobile.js +1 -0
- package/dist/_app_/components/eui-table.js +1 -0
- package/dist/_app_/components/eui-text-diff.js +1 -0
- package/dist/_app_/components/eui-token.js +1 -0
- package/dist/_app_/components/eui-tour-step-indicator.js +1 -0
- package/dist/_app_/components/eui-tour-step.js +1 -0
- package/dist/_app_/components/eui-tour.js +1 -0
- package/dist/_app_/components/eui-tree-view.js +1 -0
- package/dist/components/eui-aspect-ratio.js +45 -0
- package/dist/components/eui-aspect-ratio.js.map +1 -0
- package/dist/components/eui-beacon.js +29 -0
- package/dist/components/eui-beacon.js.map +1 -0
- package/dist/components/eui-color-palette-display.js +67 -0
- package/dist/components/eui-color-palette-display.js.map +1 -0
- package/dist/components/eui-color-palette-picker.js +96 -0
- package/dist/components/eui-color-palette-picker.js.map +1 -0
- package/dist/components/eui-color-picker-swatch.js +51 -0
- package/dist/components/eui-color-picker-swatch.js.map +1 -0
- package/dist/components/eui-color-picker.js +529 -0
- package/dist/components/eui-color-picker.js.map +1 -0
- package/dist/components/eui-color-stops/thumb.js +278 -0
- package/dist/components/eui-color-stops/thumb.js.map +1 -0
- package/dist/components/eui-color-stops.js +405 -0
- package/dist/components/eui-color-stops.js.map +1 -0
- package/dist/components/eui-combo-box/options.js +14 -17
- package/dist/components/eui-combo-box/options.js.map +1 -1
- package/dist/components/eui-context-menu-item.js +7 -3
- package/dist/components/eui-context-menu-item.js.map +1 -1
- package/dist/components/eui-context-menu-panel.js +218 -7
- package/dist/components/eui-context-menu-panel.js.map +1 -1
- package/dist/components/eui-context-menu.js +254 -0
- package/dist/components/eui-context-menu.js.map +1 -0
- package/dist/components/eui-control-bar.js +241 -0
- package/dist/components/eui-control-bar.js.map +1 -0
- package/dist/components/eui-date-picker-range.js +42 -0
- package/dist/components/eui-date-picker-range.js.map +1 -0
- package/dist/components/eui-delay-hide.js +68 -0
- package/dist/components/eui-delay-hide.js.map +1 -0
- package/dist/components/eui-delay-render.js +38 -0
- package/dist/components/eui-delay-render.js.map +1 -0
- package/dist/components/eui-drag-drop-context.js +85 -0
- package/dist/components/eui-drag-drop-context.js.map +1 -0
- package/dist/components/eui-draggable.js +201 -0
- package/dist/components/eui-draggable.js.map +1 -0
- package/dist/components/eui-droppable.js +140 -0
- package/dist/components/eui-droppable.js.map +1 -0
- package/dist/components/eui-expression.js +88 -0
- package/dist/components/eui-expression.js.map +1 -0
- package/dist/components/eui-facet-button.js +66 -0
- package/dist/components/eui-facet-button.js.map +1 -0
- package/dist/components/eui-facet-group.js +41 -0
- package/dist/components/eui-facet-group.js.map +1 -0
- package/dist/components/eui-filter-button.js +106 -0
- package/dist/components/eui-filter-button.js.map +1 -0
- package/dist/components/eui-filter-group.js +20 -0
- package/dist/components/eui-filter-group.js.map +1 -0
- package/dist/components/eui-filter-select-item.js +58 -0
- package/dist/components/eui-filter-select-item.js.map +1 -0
- package/dist/components/eui-highlight.js +61 -0
- package/dist/components/eui-highlight.js.map +1 -0
- package/dist/components/eui-hue.js +57 -0
- package/dist/components/eui-hue.js.map +1 -0
- package/dist/components/eui-i18n-number.js +43 -0
- package/dist/components/eui-i18n-number.js.map +1 -0
- package/dist/components/eui-loading-chart.js +34 -0
- package/dist/components/eui-loading-chart.js.map +1 -0
- package/dist/components/eui-loading-elastic.js +34 -0
- package/dist/components/eui-loading-elastic.js.map +1 -0
- package/dist/components/eui-mark.js +17 -0
- package/dist/components/eui-mark.js.map +1 -0
- package/dist/components/eui-pinnable-list-group.js +102 -0
- package/dist/components/eui-pinnable-list-group.js.map +1 -0
- package/dist/components/eui-popover.js.map +1 -1
- package/dist/components/eui-refresh-interval.js +205 -0
- package/dist/components/eui-refresh-interval.js.map +1 -0
- package/dist/components/eui-resizable-container/button.js +87 -0
- package/dist/components/eui-resizable-container/button.js.map +1 -0
- package/dist/components/eui-resizable-container/collapse-button.js +36 -0
- package/dist/components/eui-resizable-container/collapse-button.js.map +1 -0
- package/dist/components/eui-resizable-container/panel.js +246 -0
- package/dist/components/eui-resizable-container/panel.js.map +1 -0
- package/dist/components/eui-resizable-container.js +306 -0
- package/dist/components/eui-resizable-container.js.map +1 -0
- package/dist/components/eui-saturation.js +197 -0
- package/dist/components/eui-saturation.js.map +1 -0
- package/dist/components/eui-screen-reader-only.js +25 -0
- package/dist/components/eui-screen-reader-only.js.map +1 -0
- package/dist/components/eui-selectable-list-item.js +131 -24
- package/dist/components/eui-selectable-list-item.js.map +1 -1
- package/dist/components/eui-selectable-list.js +169 -0
- package/dist/components/eui-selectable-list.js.map +1 -0
- package/dist/components/eui-selectable-message.js +27 -0
- package/dist/components/eui-selectable-message.js.map +1 -0
- package/dist/components/eui-selectable-search.js +54 -0
- package/dist/components/eui-selectable-search.js.map +1 -0
- package/dist/components/eui-selectable-template-sitewide.js +259 -0
- package/dist/components/eui-selectable-template-sitewide.js.map +1 -0
- package/dist/components/eui-selectable.js +334 -0
- package/dist/components/eui-selectable.js.map +1 -0
- package/dist/components/eui-skip-link.js +40 -0
- package/dist/components/eui-skip-link.js.map +1 -0
- package/dist/components/eui-suggest-input.js +140 -0
- package/dist/components/eui-suggest-input.js.map +1 -0
- package/dist/components/eui-suggest-item.js +59 -0
- package/dist/components/eui-suggest-item.js.map +1 -0
- package/dist/components/eui-suggest.js +89 -0
- package/dist/components/eui-suggest.js.map +1 -0
- package/dist/components/eui-super-date-picker/eui-quick-select-popover.js +12 -1
- package/dist/components/eui-super-date-picker/eui-quick-select-popover.js.map +1 -1
- package/dist/components/eui-super-date-picker.js +87 -40
- package/dist/components/eui-super-date-picker.js.map +1 -1
- package/dist/components/eui-super-select-control.js +111 -0
- package/dist/components/eui-super-select-control.js.map +1 -0
- package/dist/components/eui-super-select.js +202 -0
- package/dist/components/eui-super-select.js.map +1 -0
- package/dist/components/eui-table-body.js +14 -0
- package/dist/components/eui-table-body.js.map +1 -0
- package/dist/components/eui-table-footer-cell.js +23 -0
- package/dist/components/eui-table-footer-cell.js.map +1 -0
- package/dist/components/eui-table-footer.js +14 -0
- package/dist/components/eui-table-footer.js.map +1 -0
- package/dist/components/eui-table-header-button.js +34 -0
- package/dist/components/eui-table-header-button.js.map +1 -0
- package/dist/components/eui-table-header-cell-checkbox.js +25 -0
- package/dist/components/eui-table-header-cell-checkbox.js.map +1 -0
- package/dist/components/eui-table-header-cell.js +136 -0
- package/dist/components/eui-table-header-cell.js.map +1 -0
- package/dist/components/eui-table-header-mobile.js +17 -0
- package/dist/components/eui-table-header-mobile.js.map +1 -0
- package/dist/components/eui-table-header.js +26 -0
- package/dist/components/eui-table-header.js.map +1 -0
- package/dist/components/eui-table-pagination.js +129 -0
- package/dist/components/eui-table-pagination.js.map +1 -0
- package/dist/components/eui-table-row-cell-checkbox.js +16 -0
- package/dist/components/eui-table-row-cell-checkbox.js.map +1 -0
- package/dist/components/eui-table-row-cell.js +89 -0
- package/dist/components/eui-table-row-cell.js.map +1 -0
- package/dist/components/eui-table-row.js +62 -0
- package/dist/components/eui-table-row.js.map +1 -0
- package/dist/components/eui-table-sort-mobile-item.js +37 -0
- package/dist/components/eui-table-sort-mobile-item.js.map +1 -0
- package/dist/components/eui-table-sort-mobile.js +90 -0
- package/dist/components/eui-table-sort-mobile.js.map +1 -0
- package/dist/components/eui-table.js +29 -0
- package/dist/components/eui-table.js.map +1 -0
- package/dist/components/eui-text-diff.js +52 -0
- package/dist/components/eui-text-diff.js.map +1 -0
- package/dist/components/eui-token.js +74 -0
- package/dist/components/eui-token.js.map +1 -0
- package/dist/components/eui-tour-step-indicator.js +65 -0
- package/dist/components/eui-tour-step-indicator.js.map +1 -0
- package/dist/components/eui-tour-step.js +183 -0
- package/dist/components/eui-tour-step.js.map +1 -0
- package/dist/components/eui-tour.js +102 -0
- package/dist/components/eui-tour.js.map +1 -0
- package/dist/components/eui-tree-view.js +229 -0
- package/dist/components/eui-tree-view.js.map +1 -0
- package/dist/components.js +74 -0
- package/dist/components.js.map +1 -1
- package/dist/services/eui-i18n.js +18 -3
- package/dist/services/eui-i18n.js.map +1 -1
- package/dist/styles/ember-eui.css +24 -0
- package/dist/utils/drag-drop.js +43 -0
- package/dist/utils/drag-drop.js.map +1 -0
- package/dist/utils/token-map.js +217 -0
- package/dist/utils/token-map.js.map +1 -0
- package/package.json +69 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-suggest-input.d.ts","sourceRoot":"","sources":["../../src/components/eui-suggest-input.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAU3C,QAAA,MAAM,MAAM;;;;;;;;;;;CAGF,CAAC;AAEX,MAAM,MAAM,gBAAgB,GAAG,WAAW,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;AAE7E;;;GAGG;AACH,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,gBAAgB,CAAC;IAC1B,IAAI,EAAE;QACJ,2EAA2E;QAC3E,cAAc,EAAE,OAAO,CAAC;QACxB;;;WAGG;QACH,MAAM,CAAC,EAAE,gBAAgB,CAAC;QAC1B,wFAAwF;QACxF,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,oDAAoD;QACpD,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;QACpC,gCAAgC;QAChC,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,uEAAuE;QACvE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;KAC7C,CAAC;IACF,MAAM,EAAE;QACN,6CAA6C;QAC7C,OAAO,EAAE,EAAE,CAAC;QACZ,qDAAqD;QACrD,MAAM,EAAE,EAAE,CAAC;KACZ,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,SAAS,CAAC,wBAAwB,CAAC;IACrE,KAAK,SAAM;IACX,aAAa,UAAS;gBAEnB,GAAG,IAAI,EAAE,qBAAqB,CAAC,OAAO,SAAS,CAAC,wBAAwB,CAAC,CAAC;IAKtF,IAAI,UAAU,IAAI,CAAC,OAAO,MAAM,CAAC,CAAC,MAAM,OAAO,MAAM,CAAC,GAAG,SAAS,CAIjE;IAED,IAAI,OAAO,IAAI,MAAM,GAAG,SAAS,CAEhC;IAGD,OAAO,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAO3B,YAAY,IAAI,IAAI;CA6DrB"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { EuiIconSignature } from './eui-icon';
|
|
2
|
+
import type { TemplateOnlyComponent } from '@ember/component/template-only';
|
|
3
|
+
export interface EuiSuggestItemType {
|
|
4
|
+
/** Icon of the suggestion's type, e.g. `'kqlField'` or `'search'`. */
|
|
5
|
+
iconType: EuiIconSignature['Args']['type'];
|
|
6
|
+
/** `'tint0'` to `'tint10'`, the color behind the icon. */
|
|
7
|
+
color?: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* One suggestion of an `EuiSuggest`: a colored type icon, a label and an
|
|
11
|
+
* optional description. With `@onClick` it is a button.
|
|
12
|
+
*/
|
|
13
|
+
export interface EuiSuggestItemSignature {
|
|
14
|
+
Element: HTMLButtonElement | HTMLDivElement;
|
|
15
|
+
Args: {
|
|
16
|
+
/** The suggestion's type: its icon and color. */
|
|
17
|
+
type: EuiSuggestItemType;
|
|
18
|
+
/** The suggestion. */
|
|
19
|
+
label: string;
|
|
20
|
+
/** More about it, after the label. */
|
|
21
|
+
description?: string;
|
|
22
|
+
/**
|
|
23
|
+
* `'fixed'` keeps the label at `@labelWidth`; `'expand'` lets it take
|
|
24
|
+
* the space it needs. Defaults to `'fixed'` (`'expand'` without a
|
|
25
|
+
* description).
|
|
26
|
+
*/
|
|
27
|
+
labelDisplay?: 'fixed' | 'expand';
|
|
28
|
+
/** Width of the label in percent, `'20'` to `'90'` by tens. Defaults to `'50'`. */
|
|
29
|
+
labelWidth?: '20' | '30' | '40' | '50' | '60' | '70' | '80' | '90';
|
|
30
|
+
/** `'truncate'` or `'wrap'` a long description. Defaults to `'truncate'`. */
|
|
31
|
+
descriptionDisplay?: 'truncate' | 'wrap';
|
|
32
|
+
/** Makes it a button. */
|
|
33
|
+
onClick?: (event: MouseEvent) => void;
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
declare const EuiSuggestItem: TemplateOnlyComponent<EuiSuggestItemSignature>;
|
|
37
|
+
export default EuiSuggestItem;
|
|
38
|
+
//# sourceMappingURL=eui-suggest-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-suggest-item.d.ts","sourceRoot":"","sources":["../../src/components/eui-suggest-item.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAgB5E,MAAM,WAAW,kBAAkB;IACjC,sEAAsE;IACtE,QAAQ,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;IAC3C,0DAA0D;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,iBAAiB,GAAG,cAAc,CAAC;IAC5C,IAAI,EAAE;QACJ,iDAAiD;QACjD,IAAI,EAAE,kBAAkB,CAAC;QACzB,sBAAsB;QACtB,KAAK,EAAE,MAAM,CAAC;QACd,sCAAsC;QACtC,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB;;;;WAIG;QACH,YAAY,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;QAClC,mFAAmF;QACnF,UAAU,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;QACnE,6EAA6E;QAC7E,kBAAkB,CAAC,EAAE,UAAU,GAAG,MAAM,CAAC;QACzC,yBAAyB;QACzB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;KACvC,CAAC;CACH;AAsBD,QAAA,MAAM,cAAc,EAAE,qBAAqB,CAAC,uBAAuB,CAgDjE,CAAC;AAEH,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import type { EuiSuggestStatus } from './eui-suggest-input';
|
|
3
|
+
import type { EuiSuggestItemSignature } from './eui-suggest-item';
|
|
4
|
+
export interface EuiSuggestion {
|
|
5
|
+
/** The suggestion's type: `{ iconType, color }` (`'tint0'`–`'tint10'`). */
|
|
6
|
+
type: EuiSuggestItemSignature['Args']['type'];
|
|
7
|
+
/** The suggestion. */
|
|
8
|
+
label: string;
|
|
9
|
+
/** More about it. */
|
|
10
|
+
description?: string;
|
|
11
|
+
/** Width of the label in percent. Defaults to `'50'`. */
|
|
12
|
+
labelWidth?: EuiSuggestItemSignature['Args']['labelWidth'];
|
|
13
|
+
/** `'truncate'` or `'wrap'` the description. */
|
|
14
|
+
descriptionDisplay?: EuiSuggestItemSignature['Args']['descriptionDisplay'];
|
|
15
|
+
[key: string]: unknown;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* A text field that suggests values as you type (fields, saved queries,
|
|
19
|
+
* recent searches), with an optional save status. You filter the
|
|
20
|
+
* suggestions from the typed text (`@onInputChange`) and handle the
|
|
21
|
+
* chosen one (`@onItemClick`).
|
|
22
|
+
*/
|
|
23
|
+
export interface EuiSuggestSignature {
|
|
24
|
+
Element: HTMLInputElement;
|
|
25
|
+
Args: {
|
|
26
|
+
/** The suggestions to show. */
|
|
27
|
+
suggestions: EuiSuggestion[];
|
|
28
|
+
/** Called with the clicked suggestion. */
|
|
29
|
+
onItemClick?: (item: EuiSuggestion) => void;
|
|
30
|
+
/** Called with the field's text on every change. */
|
|
31
|
+
onInputChange?: (value: string) => void;
|
|
32
|
+
/**
|
|
33
|
+
* `'unsaved'`, `'saved'`, `'loading'` or `'unchanged'`. Defaults to
|
|
34
|
+
* `'unchanged'`.
|
|
35
|
+
*/
|
|
36
|
+
status?: EuiSuggestStatus;
|
|
37
|
+
/** Tooltip of the status icon. */
|
|
38
|
+
tooltipContent?: string;
|
|
39
|
+
/** Placeholder of the field. */
|
|
40
|
+
placeholder?: string;
|
|
41
|
+
};
|
|
42
|
+
Blocks: {
|
|
43
|
+
/** Content after the field, e.g. a button. */
|
|
44
|
+
append: [];
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
export default class EuiSuggest extends Component<EuiSuggestSignature> {
|
|
48
|
+
closePopover?: () => void;
|
|
49
|
+
registerClose(close: () => void): void;
|
|
50
|
+
onItemClick(item: EuiSuggestion): void;
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=eui-suggest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
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AAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,SAAS,CAAC,mBAAmB,CAAC;IACpE,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAG1B,aAAa,CAAC,KAAK,EAAE,MAAM,IAAI,GAAG,IAAI;IAKtC,WAAW,CAAC,IAAI,EAAE,aAAa,GAAG,IAAI;CAyDvC"}
|
|
@@ -3,7 +3,7 @@ import type EuiI18n from '../../services/eui-i18n';
|
|
|
3
3
|
import type { EuiRecentlyUsedSignature } from '../eui-super-date-picker/eui-quick-select-popover/eui-recently-used';
|
|
4
4
|
import type { EuiCommonlyUsedTimeRangesSignature } from './eui-quick-select-popover/eui-commonly-used-time-ranges';
|
|
5
5
|
import type { EuiQuickSelectSignature } from './eui-quick-select-popover/eui-quick-select';
|
|
6
|
-
import type { ApplyTime } from './types/global';
|
|
6
|
+
import type { ApplyRefreshInterval, ApplyTime } from './types/global';
|
|
7
7
|
export interface EuiQuickSelectPopoverSignature {
|
|
8
8
|
Args: {
|
|
9
9
|
applyTime: ApplyTime;
|
|
@@ -13,6 +13,12 @@ export interface EuiQuickSelectPopoverSignature {
|
|
|
13
13
|
start: string;
|
|
14
14
|
end: string;
|
|
15
15
|
timeOptions: EuiQuickSelectSignature['Args']['timeOptions'];
|
|
16
|
+
/** Shows the refresh interval section, calling this on change. */
|
|
17
|
+
applyRefreshInterval?: ApplyRefreshInterval;
|
|
18
|
+
/** Whether auto refresh is paused. */
|
|
19
|
+
isPaused?: boolean;
|
|
20
|
+
/** The refresh interval in milliseconds. */
|
|
21
|
+
refreshInterval?: number;
|
|
16
22
|
};
|
|
17
23
|
}
|
|
18
24
|
export default class EuiQuickSelectPopover extends Component<EuiQuickSelectPopoverSignature> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-quick-select-popover.d.ts","sourceRoot":"","sources":["../../../src/components/eui-super-date-picker/eui-quick-select-popover.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"eui-quick-select-popover.d.ts","sourceRoot":"","sources":["../../../src/components/eui-super-date-picker/eui-quick-select-popover.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAoB3C,OAAO,KAAK,OAAO,MAAM,yBAAyB,CAAC;AACnD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qEAAqE,CAAC;AACpH,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,0DAA0D,CAAC;AACnH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AAC3F,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEtE,MAAM,WAAW,8BAA8B;IAC7C,IAAI,EAAE;QACJ,SAAS,EAAE,SAAS,CAAC;QACrB,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,kBAAkB,EAAE,kCAAkC,CAAC,MAAM,CAAC,CAAC,oBAAoB,CAAC,CAAC;QACrF,kBAAkB,CAAC,EAAE,wBAAwB,CAAC,MAAM,CAAC,CAAC,oBAAoB,CAAC,CAAC;QAC5E,KAAK,EAAE,MAAM,CAAC;QACd,GAAG,EAAE,MAAM,CAAC;QACZ,WAAW,EAAE,uBAAuB,CAAC,MAAM,CAAC,CAAC,aAAa,CAAC,CAAC;QAC5D,kEAAkE;QAClE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;QAC5C,sCAAsC;QACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,4CAA4C;QAC5C,eAAe,CAAC,EAAE,MAAM,CAAC;KAC1B,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,qBAAsB,SAAQ,SAAS,CAAC,8BAA8B,CAAC;IACzE,OAAO,EAAE,OAAO,CAAA;IACxB,MAAM,UAAS;IAGxB,SAAS,CAAC,EACR,KAAK,EACL,GAAG,EACH,eAAuB,EACxB,EAAE;QACD,KAAK,EAAE,MAAM,CAAC;QACd,GAAG,EAAE,MAAM,CAAC;QACZ,WAAW,CAAC,EAAE;YAAE,SAAS,EAAE,MAAM,CAAC;YAAC,SAAS,EAAE,MAAM,CAAC;YAAC,SAAS,EAAE,MAAM,CAAA;SAAE,CAAC;QAC1E,eAAe,CAAC,EAAE,OAAO,CAAC;KAC3B;IAWD,IAAI,WAAW,kDAEd;CAuEF"}
|
|
@@ -3,24 +3,43 @@ import type EuiI18n from '../services/eui-i18n';
|
|
|
3
3
|
import type { ApplyRefreshInterval, DurationRange, Milliseconds, ShortDate } from './eui-super-date-picker/types/global';
|
|
4
4
|
import type { LocaleSpecifier } from 'moment';
|
|
5
5
|
export type { ApplyRefreshInterval, DurationRange, Milliseconds, ShortDate };
|
|
6
|
+
/**
|
|
7
|
+
* EuiSuperDatePicker picks a time range (absolute dates, relative like
|
|
8
|
+
* "last 15 minutes", or "now") with a quick select popover and optional
|
|
9
|
+
* auto refresh, as in Kibana. `@onTimeChange` receives date math strings.
|
|
10
|
+
*/
|
|
6
11
|
export interface EuiSuperDatePickerArgs {
|
|
12
|
+
/**
|
|
13
|
+
* Ranges listed as "Commonly used" in the quick select popover:
|
|
14
|
+
* `[{ start: 'now/d', end: 'now/d', label: 'Today' }, …]`. Defaults to
|
|
15
|
+
* EUI's list (Today, This week, Last 15 minutes, …).
|
|
16
|
+
*/
|
|
7
17
|
commonlyUsedRanges?: DurationRange[];
|
|
8
18
|
/**
|
|
9
|
-
*
|
|
19
|
+
* moment format for absolute dates. Defaults to
|
|
20
|
+
* `'MMM D, YYYY @ HH:mm:ss.SSS'`.
|
|
10
21
|
*/
|
|
11
22
|
dateFormat?: string;
|
|
12
23
|
/**
|
|
13
|
-
* Set isAutoRefreshOnly to true to limit the component to only display
|
|
24
|
+
* Set isAutoRefreshOnly to true to limit the component to only display
|
|
25
|
+
* auto refresh content. Defaults to `false`.
|
|
14
26
|
*/
|
|
15
27
|
isAutoRefreshOnly?: boolean;
|
|
28
|
+
/** Disables the picker. Defaults to `false`. */
|
|
16
29
|
isDisabled?: boolean;
|
|
30
|
+
/** Shows the update button's loading state, e.g. while data refreshes. */
|
|
17
31
|
isLoading?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Whether auto refresh is paused (with `@onRefreshChange`).
|
|
34
|
+
* Defaults to `true`.
|
|
35
|
+
*/
|
|
18
36
|
isPaused?: boolean;
|
|
19
37
|
/**
|
|
20
38
|
* Sets the overall width by adding sensible min and max widths.
|
|
21
39
|
* - `auto`: fits width to internal content / time string.
|
|
22
40
|
* - `restricted`: static width that fits the longest possible time string.
|
|
23
41
|
* - `full`: expands to 100% of the container.
|
|
42
|
+
* Defaults to `'restricted'`.
|
|
24
43
|
*/
|
|
25
44
|
width?: 'restricted' | 'full' | 'auto';
|
|
26
45
|
/**
|
|
@@ -32,19 +51,19 @@ export interface EuiSuperDatePickerArgs {
|
|
|
32
51
|
*/
|
|
33
52
|
locale?: LocaleSpecifier;
|
|
34
53
|
/**
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
* If a promise
|
|
38
|
-
*
|
|
54
|
+
* Called every `@refreshInterval` ms while not `@isPaused` (and by the
|
|
55
|
+
* update button when the range has not changed), with `{ start, end,
|
|
56
|
+
* refreshInterval }`. If it returns a promise, the next call waits for
|
|
57
|
+
* it; if the promise rejects, refreshing stops.
|
|
39
58
|
*/
|
|
40
59
|
onRefresh?: (props: {
|
|
41
60
|
start: string;
|
|
42
61
|
end: string;
|
|
43
62
|
refreshInterval: number;
|
|
44
|
-
}) => void
|
|
63
|
+
}) => void | Promise<unknown>;
|
|
45
64
|
/**
|
|
46
|
-
*
|
|
47
|
-
*
|
|
65
|
+
* Adds the "Refresh every" section to the quick select popover; called
|
|
66
|
+
* with `{ refreshInterval, isPaused }` when the user changes them.
|
|
48
67
|
*/
|
|
49
68
|
onRefreshChange?: ApplyRefreshInterval;
|
|
50
69
|
/**
|
|
@@ -57,18 +76,26 @@ export interface EuiSuperDatePickerArgs {
|
|
|
57
76
|
isInvalid: boolean;
|
|
58
77
|
}) => void;
|
|
59
78
|
/**
|
|
60
|
-
* Refresh interval in milliseconds
|
|
79
|
+
* Refresh interval in milliseconds. Defaults to `1000`.
|
|
61
80
|
*/
|
|
62
81
|
refreshInterval?: Milliseconds;
|
|
82
|
+
/**
|
|
83
|
+
* Start of the range, as date math (`'now-15m'`, `'now/d'`) or an ISO
|
|
84
|
+
* date. Defaults to `'now-15m'`.
|
|
85
|
+
*/
|
|
63
86
|
start?: ShortDate;
|
|
87
|
+
/** End of the range, like `@start`. Defaults to `'now'`. */
|
|
64
88
|
end?: ShortDate;
|
|
65
89
|
/**
|
|
66
|
-
*
|
|
90
|
+
* moment format for times in the date picker. Defaults to `'HH:mm'`.
|
|
67
91
|
*/
|
|
68
92
|
timeFormat?: string;
|
|
93
|
+
/** UTC offset in minutes for absolute dates, e.g. `-300`. */
|
|
69
94
|
utcOffset?: number;
|
|
70
95
|
/**
|
|
71
|
-
* Set showUpdateButton to false to immediately invoke onTimeChange for
|
|
96
|
+
* Set showUpdateButton to false to immediately invoke onTimeChange for
|
|
97
|
+
* all start and end changes; `'iconOnly'` shows a compact button.
|
|
98
|
+
* Defaults to `true`.
|
|
72
99
|
*/
|
|
73
100
|
showUpdateButton?: boolean | 'iconOnly';
|
|
74
101
|
/**
|
|
@@ -86,17 +113,41 @@ export default class EuiSuperDatePicker extends Component<EuiSuperDatePickerArgs
|
|
|
86
113
|
width: string;
|
|
87
114
|
refreshInterval: Milliseconds;
|
|
88
115
|
euiI18n: EuiI18n;
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
116
|
+
/**
|
|
117
|
+
* The range the user is editing, before it is applied with the update
|
|
118
|
+
* button. It remembers the @start/@end it was based on: when the parent
|
|
119
|
+
* passes a different range, the draft no longer applies and the picker
|
|
120
|
+
* shows the new arguments (like EUI React's getDerivedStateFromProps).
|
|
121
|
+
*/
|
|
122
|
+
private draft?;
|
|
123
|
+
private get currentDraft();
|
|
124
|
+
get start(): ShortDate;
|
|
125
|
+
get end(): ShortDate;
|
|
126
|
+
get isInvalid(): boolean;
|
|
127
|
+
get hasChanged(): boolean;
|
|
128
|
+
private setDraft;
|
|
129
|
+
get timeOptions(): import("./eui-super-date-picker/utils/time-options.ts").TimeOptions;
|
|
95
130
|
setTime({ start, end }: DurationRange): void;
|
|
96
131
|
applyTime(): void;
|
|
97
132
|
applyQuickTime({ start, end }: DurationRange): void;
|
|
98
133
|
setStart(start: ShortDate): void;
|
|
99
134
|
setEnd(end: ShortDate): void;
|
|
100
135
|
handleClickUpdateButton(): void;
|
|
136
|
+
/**
|
|
137
|
+
* Calls `@onRefresh` every `@refreshInterval` ms while not `@isPaused`.
|
|
138
|
+
* A returned promise delays the next call until it settles; a rejected
|
|
139
|
+
* one stops the refreshing.
|
|
140
|
+
*/
|
|
141
|
+
autoRefresh: import("ember-modifier").FunctionBasedModifier<{
|
|
142
|
+
Args: {
|
|
143
|
+
Positional: [((props: {
|
|
144
|
+
start: string;
|
|
145
|
+
end: string;
|
|
146
|
+
refreshInterval: number;
|
|
147
|
+
}) => void | Promise<unknown>) | undefined, boolean, number];
|
|
148
|
+
Named: import("ember-modifier/-private/signature.js").EmptyObject;
|
|
149
|
+
};
|
|
150
|
+
Element: Element;
|
|
151
|
+
}>;
|
|
101
152
|
}
|
|
102
153
|
//# sourceMappingURL=eui-super-date-picker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-super-date-picker.d.ts","sourceRoot":"","sources":["../../src/components/eui-super-date-picker.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"eui-super-date-picker.d.ts","sourceRoot":"","sources":["../../src/components/eui-super-date-picker.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAoB3C,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;A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;;OA+BT;CA0EH"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import type EuiI18n from '../services/eui-i18n';
|
|
3
|
+
export interface EuiSuperSelectOption<T = string> {
|
|
4
|
+
/** The value passed to `@onChange` when chosen. */
|
|
5
|
+
value: T;
|
|
6
|
+
/** Text shown in the control when selected. */
|
|
7
|
+
inputDisplay?: string;
|
|
8
|
+
/** Text shown in the list; defaults to `inputDisplay`. */
|
|
9
|
+
dropdownDisplay?: string;
|
|
10
|
+
/** Disables the option. */
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* The button of an `EuiSuperSelect`, showing the selected option, with a
|
|
16
|
+
* hidden `<input>` holding its value for forms. Usually rendered for you
|
|
17
|
+
* by `EuiSuperSelect`.
|
|
18
|
+
*/
|
|
19
|
+
export interface EuiSuperSelectControlSignature {
|
|
20
|
+
Element: HTMLButtonElement;
|
|
21
|
+
Args: {
|
|
22
|
+
/** The options, to show the selected one. */
|
|
23
|
+
options?: EuiSuperSelectOption<unknown>[];
|
|
24
|
+
/** Value of the selected option. */
|
|
25
|
+
value?: unknown;
|
|
26
|
+
/** `id` of the hidden input. */
|
|
27
|
+
id?: string;
|
|
28
|
+
/** `name` of the hidden input, for forms. */
|
|
29
|
+
name?: string;
|
|
30
|
+
/** Takes the container's full width. */
|
|
31
|
+
fullWidth?: boolean;
|
|
32
|
+
/** Smaller, for dense forms. */
|
|
33
|
+
compressed?: boolean;
|
|
34
|
+
/** Shows a spinner. */
|
|
35
|
+
isLoading?: boolean;
|
|
36
|
+
/** Invalid look. */
|
|
37
|
+
isInvalid?: boolean;
|
|
38
|
+
/** Id of the element announcing the selection to screen readers. */
|
|
39
|
+
screenReaderId?: string;
|
|
40
|
+
};
|
|
41
|
+
Blocks: {
|
|
42
|
+
/** Renders the selected option yourself; yields it. */
|
|
43
|
+
inputDisplay: [option: EuiSuperSelectOption<unknown>];
|
|
44
|
+
/** Content before the control; yields the class to put on it. */
|
|
45
|
+
prepend: [className: string];
|
|
46
|
+
/** Content after the control; yields the class to put on it. */
|
|
47
|
+
append: [className: string];
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
export default class EuiSuperSelectControl extends Component<EuiSuperSelectControlSignature> {
|
|
51
|
+
euiI18n: EuiI18n;
|
|
52
|
+
get selectedOption(): EuiSuperSelectOption<unknown> | undefined;
|
|
53
|
+
get announcement(): string;
|
|
54
|
+
get hiddenValue(): string;
|
|
55
|
+
classes: (hasGroup: boolean) => string;
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=eui-super-select-control.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-super-select-control.d.ts","sourceRoot":"","sources":["../../src/components/eui-super-select-control.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAM3C,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAEhD,MAAM,WAAW,oBAAoB,CAAC,CAAC,GAAG,MAAM;IAC9C,mDAAmD;IACnD,KAAK,EAAE,CAAC,CAAC;IACT,+CAA+C;IAC/C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,0DAA0D;IAC1D,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,2BAA2B;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED;;;;GAIG;AACH,MAAM,WAAW,8BAA8B;IAC7C,OAAO,EAAE,iBAAiB,CAAC;IAC3B,IAAI,EAAE;QACJ,6CAA6C;QAC7C,OAAO,CAAC,EAAE,oBAAoB,CAAC,OAAO,CAAC,EAAE,CAAC;QAC1C,oCAAoC;QACpC,KAAK,CAAC,EAAE,OAAO,CAAC;QAChB,gCAAgC;QAChC,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,6CAA6C;QAC7C,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,wCAAwC;QACxC,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,gCAAgC;QAChC,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,uBAAuB;QACvB,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,oBAAoB;QACpB,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,oEAAoE;QACpE,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB,CAAC;IACF,MAAM,EAAE;QACN,uDAAuD;QACvD,YAAY,EAAE,CAAC,MAAM,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC,CAAC;QACtD,iEAAiE;QACjE,OAAO,EAAE,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;QAC7B,gEAAgE;QAChE,MAAM,EAAE,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;KAC7B,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,qBAAsB,SAAQ,SAAS,CAAC,8BAA8B,CAAC;IACzE,OAAO,EAAE,OAAO,CAAC;IAElC,IAAI,cAAc,IAAI,oBAAoB,CAAC,OAAO,CAAC,GAAG,SAAS,CAE9D;IAED,IAAI,YAAY,IAAI,MAAM,CAMzB;IAED,IAAI,WAAW,IAAI,MAAM,CAIxB;IAED,OAAO,aAAc,OAAO,KAAG,MAAM,CAUtB;CAuGhB"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import type EuiI18n from '../services/eui-i18n';
|
|
3
|
+
import type { EuiContextMenuItemSignature } from './eui-context-menu-item';
|
|
4
|
+
import type { EuiSuperSelectOption } from './eui-super-select-control';
|
|
5
|
+
export type { EuiSuperSelectOption };
|
|
6
|
+
/**
|
|
7
|
+
* A select whose options can show more than text: a title with a
|
|
8
|
+
* description, an icon, a color. Pick it over `EuiSelect` when options
|
|
9
|
+
* need that; for plain text options `EuiSelect` is simpler and native.
|
|
10
|
+
*/
|
|
11
|
+
export interface EuiSuperSelectSignature {
|
|
12
|
+
Element: HTMLButtonElement;
|
|
13
|
+
Args: {
|
|
14
|
+
/**
|
|
15
|
+
* The options: `{ value, inputDisplay, dropdownDisplay, disabled }`.
|
|
16
|
+
* Use the `<:inputDisplay>` / `<:dropdownDisplay>` blocks for markup.
|
|
17
|
+
*/
|
|
18
|
+
options: EuiSuperSelectOption<any>[];
|
|
19
|
+
/** Value of the selected option. */
|
|
20
|
+
valueOfSelected?: unknown;
|
|
21
|
+
/** Called with the chosen option's value. */
|
|
22
|
+
onChange?: (value: any) => void;
|
|
23
|
+
/** Opens the list (e.g. on first render). */
|
|
24
|
+
isOpen?: boolean;
|
|
25
|
+
/** Invalid look. */
|
|
26
|
+
isInvalid?: boolean;
|
|
27
|
+
/** Shows a spinner. */
|
|
28
|
+
isLoading?: boolean;
|
|
29
|
+
/** Lines between the options, for options with several lines. */
|
|
30
|
+
hasDividers?: boolean;
|
|
31
|
+
/** Takes the container's full width. */
|
|
32
|
+
fullWidth?: boolean;
|
|
33
|
+
/** Smaller, for dense forms. */
|
|
34
|
+
compressed?: boolean;
|
|
35
|
+
/** Aligns the check mark with the `'center'` or the `'top'` of each option. */
|
|
36
|
+
itemLayoutAlign?: EuiContextMenuItemSignature['Args']['layoutAlign'];
|
|
37
|
+
/** `name` of the hidden input, for forms. */
|
|
38
|
+
name?: string;
|
|
39
|
+
/** `id` of the hidden input. */
|
|
40
|
+
id?: string;
|
|
41
|
+
/** Called when the list opens. */
|
|
42
|
+
onFocus?: () => void;
|
|
43
|
+
/** Called when the list closes. */
|
|
44
|
+
onBlur?: () => void;
|
|
45
|
+
};
|
|
46
|
+
Blocks: {
|
|
47
|
+
/** Renders the selected option in the control; yields it. */
|
|
48
|
+
inputDisplay: [option: EuiSuperSelectOption<any>];
|
|
49
|
+
/** Renders an option in the list; yields it. */
|
|
50
|
+
dropdownDisplay: [option: EuiSuperSelectOption<any>];
|
|
51
|
+
/** Content before the control; yields the class to put on it. */
|
|
52
|
+
prepend: [className: string];
|
|
53
|
+
/** Content after the control; yields the class to put on it. */
|
|
54
|
+
append: [className: string];
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
export default class EuiSuperSelect extends Component<EuiSuperSelectSignature> {
|
|
58
|
+
euiI18n: EuiI18n;
|
|
59
|
+
isPopoverOpen: boolean;
|
|
60
|
+
labelledById: string;
|
|
61
|
+
describedById: string;
|
|
62
|
+
indexToFocus?: number;
|
|
63
|
+
itemNodes: HTMLElement[];
|
|
64
|
+
get isOpen(): boolean;
|
|
65
|
+
get announcement(): string;
|
|
66
|
+
get itemClasses(): string;
|
|
67
|
+
isSelected: (option: EuiSuperSelectOption<unknown>) => boolean;
|
|
68
|
+
optionId: (index: number) => string;
|
|
69
|
+
get activeDescendant(): string | undefined;
|
|
70
|
+
openPopover(): void;
|
|
71
|
+
closePopover(): void;
|
|
72
|
+
toggle(): void;
|
|
73
|
+
itemClicked(value: unknown): void;
|
|
74
|
+
onSelectKeyDown(event: KeyboardEvent): void;
|
|
75
|
+
onItemKeyDown(event: KeyboardEvent): void;
|
|
76
|
+
registerItem: import("ember-modifier").FunctionBasedModifier<{
|
|
77
|
+
Args: {
|
|
78
|
+
Positional: [number];
|
|
79
|
+
Named: import("ember-modifier/-private/signature.js").EmptyObject;
|
|
80
|
+
};
|
|
81
|
+
Element: HTMLElement;
|
|
82
|
+
}>;
|
|
83
|
+
}
|
|
84
|
+
//# sourceMappingURL=eui-super-select.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-super-select.d.ts","sourceRoot":"","sources":["../../src/components/eui-super-select.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAe3C,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AAC3E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AA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E;QAChE,MAAM,EAAE,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;KAC7B,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,SAAS,CAAC,uBAAuB,CAAC;IAC3D,OAAO,EAAE,OAAO,CAAC;IAEzB,aAAa,UAAS;IAE/B,YAAY,SAAsD;IAClE,aAAa,SAAyD;IAGtE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,WAAW,EAAE,CAAM;IAE9B,IAAI,MAAM,IAAI,OAAO,CAEpB;IAED,IAAI,YAAY,IAAI,MAAM,CAKzB;IAED,IAAI,WAAW,IAAI,MAAM,CAIxB;IAED,UAAU,WAAY,qBAAqB,OAAO,CAAC,KAAG,OAAO,CAChB;IAE7C,QAAQ,UAAW,MAAM,KAAG,MAAM,CAA2C;IAE7E,IAAI,gBAAgB,IAAI,MAAM,GAAG,SAAS,CAIzC;IAGD,WAAW,IAAI,IAAI;IAUnB,YAAY,IAAI,IAAI;IAMpB,MAAM,IAAI,IAAI;IAMd,WAAW,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI;IAMjC,eAAe,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI;IAS3C,aAAa,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI;IA2BzC,YAAY;;;;;;OAOT;CA8FJ"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { TemplateOnlyComponent } from '@ember/component/template-only';
|
|
2
|
+
/** The `<tbody>` of an `EuiTable`. */
|
|
3
|
+
export interface EuiTableBodySignature {
|
|
4
|
+
Element: HTMLTableSectionElement;
|
|
5
|
+
Blocks: {
|
|
6
|
+
/** The `EuiTableRow`s. */
|
|
7
|
+
default: [];
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
declare const EuiTableBody: TemplateOnlyComponent<EuiTableBodySignature>;
|
|
11
|
+
export default EuiTableBody;
|
|
12
|
+
//# sourceMappingURL=eui-table-body.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-table-body.d.ts","sourceRoot":"","sources":["../../src/components/eui-table-body.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE5E,sCAAsC;AACtC,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,uBAAuB,CAAC;IACjC,MAAM,EAAE;QACN,0BAA0B;QAC1B,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,QAAA,MAAM,YAAY,EAAE,qBAAqB,CAAC,qBAAqB,CAO7D,CAAC;AAEH,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { TableAlignment } from '../-private/table.ts';
|
|
2
|
+
import type { TemplateOnlyComponent } from '@ember/component/template-only';
|
|
3
|
+
/** A cell of an `EuiTableFooter`, e.g. a column's total. */
|
|
4
|
+
export interface EuiTableFooterCellSignature {
|
|
5
|
+
Element: HTMLTableCellElement;
|
|
6
|
+
Args: {
|
|
7
|
+
/** `'left'`, `'right'` (numbers) or `'center'`. Defaults to `'left'`. */
|
|
8
|
+
align?: TableAlignment;
|
|
9
|
+
/** Width, e.g. `100` (px) or `'20%'`. */
|
|
10
|
+
width?: number | string;
|
|
11
|
+
};
|
|
12
|
+
Blocks: {
|
|
13
|
+
/** The content. */
|
|
14
|
+
default: [];
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
declare const EuiTableFooterCell: TemplateOnlyComponent<EuiTableFooterCellSignature>;
|
|
18
|
+
export default EuiTableFooterCell;
|
|
19
|
+
//# sourceMappingURL=eui-table-footer-cell.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-table-footer-cell.d.ts","sourceRoot":"","sources":["../../src/components/eui-table-footer-cell.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE5E,4DAA4D;AAC5D,MAAM,WAAW,2BAA2B;IAC1C,OAAO,EAAE,oBAAoB,CAAC;IAC9B,IAAI,EAAE;QACJ,yEAAyE;QACzE,KAAK,CAAC,EAAE,cAAc,CAAC;QACvB,yCAAyC;QACzC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;KACzB,CAAC;IACF,MAAM,EAAE;QACN,mBAAmB;QACnB,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,QAAA,MAAM,kBAAkB,EAAE,qBAAqB,CAAC,2BAA2B,CAuBzE,CAAC;AAEH,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { TemplateOnlyComponent } from '@ember/component/template-only';
|
|
2
|
+
/** The `<tfoot>` of an `EuiTable`, with a row of `EuiTableFooterCell`s. */
|
|
3
|
+
export interface EuiTableFooterSignature {
|
|
4
|
+
Element: HTMLTableSectionElement;
|
|
5
|
+
Blocks: {
|
|
6
|
+
/** The footer cells. */
|
|
7
|
+
default: [];
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
declare const EuiTableFooter: TemplateOnlyComponent<EuiTableFooterSignature>;
|
|
11
|
+
export default EuiTableFooter;
|
|
12
|
+
//# sourceMappingURL=eui-table-footer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-table-footer.d.ts","sourceRoot":"","sources":["../../src/components/eui-table-footer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE5E,2EAA2E;AAC3E,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,uBAAuB,CAAC;IACjC,MAAM,EAAE;QACN,wBAAwB;QACxB,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,QAAA,MAAM,cAAc,EAAE,qBAAqB,CAAC,uBAAuB,CAWjE,CAAC;AAEH,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { EuiIconSignature } from './eui-icon';
|
|
2
|
+
import type { TemplateOnlyComponent } from '@ember/component/template-only';
|
|
3
|
+
/** A button in a header cell, e.g. a column that opens a menu. */
|
|
4
|
+
export interface EuiTableHeaderButtonSignature {
|
|
5
|
+
Element: HTMLButtonElement;
|
|
6
|
+
Args: {
|
|
7
|
+
/** Icon after the text, any `EuiIcon` type. */
|
|
8
|
+
iconType?: EuiIconSignature['Args']['type'];
|
|
9
|
+
};
|
|
10
|
+
Blocks: {
|
|
11
|
+
/** The text. */
|
|
12
|
+
default: [];
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
declare const EuiTableHeaderButton: TemplateOnlyComponent<EuiTableHeaderButtonSignature>;
|
|
16
|
+
export default EuiTableHeaderButton;
|
|
17
|
+
//# sourceMappingURL=eui-table-header-button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-table-header-button.d.ts","sourceRoot":"","sources":["../../src/components/eui-table-header-button.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE5E,kEAAkE;AAClE,MAAM,WAAW,6BAA6B;IAC5C,OAAO,EAAE,iBAAiB,CAAC;IAC3B,IAAI,EAAE;QACJ,+CAA+C;QAC/C,QAAQ,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;KAC7C,CAAC;IACF,MAAM,EAAE;QACN,gBAAgB;QAChB,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,QAAA,MAAM,oBAAoB,EAAE,qBAAqB,CAAC,6BAA6B,CAmC7E,CAAC;AAEH,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { TemplateOnlyComponent } from '@ember/component/template-only';
|
|
2
|
+
/** A header cell holding a checkbox, e.g. "select all rows". */
|
|
3
|
+
export interface EuiTableHeaderCellCheckboxSignature {
|
|
4
|
+
Element: HTMLTableCellElement;
|
|
5
|
+
Args: {
|
|
6
|
+
/** Width, e.g. `32` (px). */
|
|
7
|
+
width?: number | string;
|
|
8
|
+
/** `scope` of the `<th>`. Defaults to `'col'`. */
|
|
9
|
+
scope?: string;
|
|
10
|
+
};
|
|
11
|
+
Blocks: {
|
|
12
|
+
/** The checkbox. */
|
|
13
|
+
default: [];
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
declare const EuiTableHeaderCellCheckbox: TemplateOnlyComponent<EuiTableHeaderCellCheckboxSignature>;
|
|
17
|
+
export default EuiTableHeaderCellCheckbox;
|
|
18
|
+
//# sourceMappingURL=eui-table-header-cell-checkbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-table-header-cell-checkbox.d.ts","sourceRoot":"","sources":["../../src/components/eui-table-header-cell-checkbox.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE5E,gEAAgE;AAChE,MAAM,WAAW,mCAAmC;IAClD,OAAO,EAAE,oBAAoB,CAAC;IAC9B,IAAI,EAAE;QACJ,6BAA6B;QAC7B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QACxB,kDAAkD;QAClD,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,MAAM,EAAE;QACN,oBAAoB;QACpB,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,QAAA,MAAM,0BAA0B,EAAE,qBAAqB,CAAC,mCAAmC,CAmBzF,CAAC;AAEH,eAAe,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import type EuiI18n from '../services/eui-i18n';
|
|
3
|
+
import type { TableAlignment, TableMobileOptions } from '../-private/table.ts';
|
|
4
|
+
/**
|
|
5
|
+
* A column header of an `EuiTable`. With `@onSort` it is a button that
|
|
6
|
+
* shows the sort direction (`@isSorted`, `@isSortAscending`).
|
|
7
|
+
*/
|
|
8
|
+
export interface EuiTableHeaderCellSignature {
|
|
9
|
+
Element: HTMLTableCellElement;
|
|
10
|
+
Args: {
|
|
11
|
+
/** `'left'`, `'right'` (numbers) or `'center'`. Defaults to `'left'`. */
|
|
12
|
+
align?: TableAlignment;
|
|
13
|
+
/** Makes the header a button sorting the column. */
|
|
14
|
+
onSort?: (event: MouseEvent) => void;
|
|
15
|
+
/** The table is sorted by this column: shows the direction. */
|
|
16
|
+
isSorted?: boolean;
|
|
17
|
+
/** Ascending order (arrow up); descending otherwise. */
|
|
18
|
+
isSortAscending?: boolean;
|
|
19
|
+
/** Shows the sort state without the button. */
|
|
20
|
+
readOnly?: boolean;
|
|
21
|
+
/** Width, e.g. `100` (px) or `'20%'`. */
|
|
22
|
+
width?: number | string;
|
|
23
|
+
/** More about the column, in its title and for screen readers. */
|
|
24
|
+
description?: string;
|
|
25
|
+
/** `scope` of the `<th>`. Defaults to `'col'`. */
|
|
26
|
+
scope?: string;
|
|
27
|
+
/** `{ show, only }` on small screens. */
|
|
28
|
+
mobileOptions?: TableMobileOptions;
|
|
29
|
+
};
|
|
30
|
+
Blocks: {
|
|
31
|
+
/** The column's name. */
|
|
32
|
+
default: [];
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export default class EuiTableHeaderCell extends Component<EuiTableHeaderCellSignature> {
|
|
36
|
+
euiI18n: EuiI18n;
|
|
37
|
+
get classes(): string;
|
|
38
|
+
get contentClasses(): string;
|
|
39
|
+
get isSortable(): boolean;
|
|
40
|
+
get ariaSort(): string | undefined;
|
|
41
|
+
title: (innerText: string) => string;
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=eui-table-header-cell.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-table-header-cell.d.ts","sourceRoot":"","sources":["../../src/components/eui-table-header-cell.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAY3C,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/E;;;GAGG;AACH,MAAM,WAAW,2BAA2B;IAC1C,OAAO,EAAE,oBAAoB,CAAC;IAC9B,IAAI,EAAE;QACJ,yEAAyE;QACzE,KAAK,CAAC,EAAE,cAAc,CAAC;QACvB,oDAAoD;QACpD,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;QACrC,+DAA+D;QAC/D,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,wDAAwD;QACxD,eAAe,CAAC,EAAE,OAAO,CAAC;QAC1B,+CAA+C;QAC/C,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,yCAAyC;QACzC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QACxB,kEAAkE;QAClE,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,kDAAkD;QAClD,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,yCAAyC;QACzC,aAAa,CAAC,EAAE,kBAAkB,CAAC;KACpC,CAAC;IACF,MAAM,EAAE;QACN,yBAAyB;QACzB,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,SAAS,CAAC,2BAA2B,CAAC;IACnE,OAAO,EAAE,OAAO,CAAC;IAElC,IAAI,OAAO,IAAI,MAAM,CAUpB;IAED,IAAI,cAAc,IAAI,MAAM,CAE3B;IAED,IAAI,UAAU,IAAI,OAAO,CAExB;IAED,IAAI,QAAQ,IAAI,MAAM,GAAG,SAAS,CAKjC;IAED,KAAK,cAAe,MAAM,KAAG,MAAM,CAMnB;CA4HjB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { TemplateOnlyComponent } from '@ember/component/template-only';
|
|
2
|
+
/**
|
|
3
|
+
* A bar shown above a responsive `EuiTable` on small screens (where the
|
|
4
|
+
* header row is hidden), e.g. with "select all" and `EuiTableSortMobile`.
|
|
5
|
+
*/
|
|
6
|
+
export interface EuiTableHeaderMobileSignature {
|
|
7
|
+
Element: HTMLDivElement;
|
|
8
|
+
Blocks: {
|
|
9
|
+
/** The controls. */
|
|
10
|
+
default: [];
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
declare const EuiTableHeaderMobile: TemplateOnlyComponent<EuiTableHeaderMobileSignature>;
|
|
14
|
+
export default EuiTableHeaderMobile;
|
|
15
|
+
//# sourceMappingURL=eui-table-header-mobile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-table-header-mobile.d.ts","sourceRoot":"","sources":["../../src/components/eui-table-header-mobile.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE5E;;;GAGG;AACH,MAAM,WAAW,6BAA6B;IAC5C,OAAO,EAAE,cAAc,CAAC;IACxB,MAAM,EAAE;QACN,oBAAoB;QACpB,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,QAAA,MAAM,oBAAoB,EAAE,qBAAqB,CAAC,6BAA6B,CAU7E,CAAC;AAEH,eAAe,oBAAoB,CAAC"}
|