@eui/components 18.2.0-snapshot-1725457842618 → 18.2.0-snapshot-1725585671762
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/docs/components/ChartComponent.html +1 -1
- package/docs/components/DefaultComponent-1.html +1 -1
- package/docs/components/DefaultComponent.html +1 -1
- package/docs/components/EuiAccordionComponent.html +1 -1
- package/docs/components/EuiAccordionItemComponent.html +1 -1
- package/docs/components/EuiAlertComponent.html +1 -1
- package/docs/components/EuiAlertTitleComponent.html +1 -1
- package/docs/components/EuiAppBreadcrumbComponent.html +1 -1
- package/docs/components/EuiAppComponent.html +1 -1
- package/docs/components/EuiAppFooterComponent.html +1 -1
- package/docs/components/EuiAppHeaderComponent.html +1 -1
- package/docs/components/EuiAppSidebarBodyComponent.html +1 -1
- package/docs/components/EuiAppSidebarComponent.html +1 -1
- package/docs/components/EuiAppSidebarDrawerComponent.html +1 -1
- package/docs/components/EuiAppSidebarFooterComponent.html +1 -1
- package/docs/components/EuiAppSidebarHeaderComponent.html +1 -1
- package/docs/components/EuiAppSidebarHeaderUserProfileComponent.html +1 -1
- package/docs/components/EuiAppSidebarMenuComponent.html +1 -1
- package/docs/components/EuiAppToolbarComponent.html +1 -1
- package/docs/components/EuiAppTopMessageComponent.html +1 -1
- package/docs/components/EuiAutocompleteAsyncTestComponent.html +1 -1
- package/docs/components/EuiAutocompleteChipsAsyncTestComponent.html +1 -1
- package/docs/components/EuiAutocompleteChipsTestComponent.html +1 -1
- package/docs/components/EuiAutocompleteComponent.html +1 -1
- package/docs/components/EuiAutocompleteOptionComponent.html +1 -1
- package/docs/components/EuiAutocompleteOptionGroupComponent.html +1 -1
- package/docs/components/EuiAutocompleteTestComponent.html +1 -1
- package/docs/components/EuiAvatarBadgeComponent.html +1 -1
- package/docs/components/EuiAvatarComponent.html +1 -1
- package/docs/components/EuiAvatarIconComponent.html +1 -1
- package/docs/components/EuiAvatarImageComponent.html +1 -1
- package/docs/components/EuiAvatarListComponent.html +1 -1
- package/docs/components/EuiAvatarTextComponent.html +1 -1
- package/docs/components/EuiBadgeComponent.html +1 -1
- package/docs/components/EuiBlockContentComponent.html +1 -1
- package/docs/components/EuiBlockDocumentComponent.html +1 -1
- package/docs/components/EuiBreadcrumbComponent.html +1 -1
- package/docs/components/EuiBreadcrumbItemComponent.html +1 -1
- package/docs/components/EuiButtonComponent.html +1 -1
- package/docs/components/EuiButtonGroupComponent.html +1 -1
- package/docs/components/EuiButtonV2Component.html +1 -1
- package/docs/components/EuiCardComponent.html +1 -1
- package/docs/components/EuiCardContentComponent.html +1 -1
- package/docs/components/EuiCardFooterActionButtonsComponent.html +1 -1
- package/docs/components/EuiCardFooterActionIconsComponent.html +1 -1
- package/docs/components/EuiCardFooterComponent.html +1 -1
- package/docs/components/EuiCardFooterMenuComponent.html +1 -1
- package/docs/components/EuiCardFooterMenuContentComponent.html +1 -1
- package/docs/components/EuiCardHeaderBodyComponent.html +1 -1
- package/docs/components/EuiCardHeaderComponent.html +1 -1
- package/docs/components/EuiCardHeaderLeftContentComponent.html +1 -1
- package/docs/components/EuiCardHeaderRightContentComponent.html +1 -1
- package/docs/components/EuiCardHeaderSubtitleComponent.html +1 -1
- package/docs/components/EuiCardHeaderTitleComponent.html +1 -1
- package/docs/components/EuiCardMediaComponent.html +1 -1
- package/docs/components/EuiChipComponent.html +1 -1
- package/docs/components/EuiChipListComponent.html +1 -1
- package/docs/components/EuiDashboardButtonComponent.html +1 -1
- package/docs/components/EuiDashboardCardComponent.html +1 -1
- package/docs/components/EuiDashboardCardContentComponent.html +1 -1
- package/docs/components/EuiDateRangeSelectorComponent.html +1 -1
- package/docs/components/EuiDatepickerComponent.html +1 -1
- package/docs/components/EuiDialogComponent.html +1 -1
- package/docs/components/EuiDialogContainerComponent.html +1 -1
- package/docs/components/EuiDimmerComponent.html +1 -1
- package/docs/components/EuiDisableContentComponent.html +1 -1
- package/docs/components/EuiDiscussionThreadComponent.html +1 -1
- package/docs/components/EuiDiscussionThreadItemComponent.html +1 -1
- package/docs/components/EuiDropdownComponent.html +1 -1
- package/docs/components/EuiDropdownItemComponent.html +1 -1
- package/docs/components/EuiEditorComponent.html +1 -1
- package/docs/components/EuiEditorCountersComponent.html +1 -1
- package/docs/components/EuiEditorHtmlViewComponent.html +1 -1
- package/docs/components/EuiEditorImageDialogComponent.html +1 -1
- package/docs/components/EuiEditorJsonViewComponent.html +1 -1
- package/docs/components/EuiFeedbackMessageComponent.html +1 -1
- package/docs/components/EuiFieldsetComponent.html +1 -1
- package/docs/components/EuiFilePreviewComponent.html +1 -1
- package/docs/components/EuiFileUploadComponent.html +1 -1
- package/docs/components/EuiFileUploadProgressComponent.html +1 -1
- package/docs/components/EuiFooterComponent.html +1 -1
- package/docs/components/EuiGrowlComponent.html +1 -1
- package/docs/components/EuiHeaderAppComponent.html +1 -1
- package/docs/components/EuiHeaderAppNameComponent.html +1 -1
- package/docs/components/EuiHeaderAppNameLogoComponent.html +1 -1
- package/docs/components/EuiHeaderAppSubtitleComponent.html +1 -1
- package/docs/components/EuiHeaderComponent.html +1 -1
- package/docs/components/EuiHeaderEnvironmentComponent.html +1 -1
- package/docs/components/EuiHeaderLogoComponent.html +1 -1
- package/docs/components/EuiHeaderRightContentComponent.html +1 -1
- package/docs/components/EuiHeaderSearchComponent.html +1 -1
- package/docs/components/EuiHeaderUserProfileComponent.html +1 -1
- package/docs/components/EuiIconButtonComponent.html +1 -1
- package/docs/components/EuiIconButtonExpanderComponent.html +1 -1
- package/docs/components/EuiIconColorComponent.html +1 -1
- package/docs/components/EuiIconInputComponent.html +1 -1
- package/docs/components/EuiIconStateComponent.html +1 -1
- package/docs/components/EuiIconSvgComponent.html +1 -1
- package/docs/components/EuiIconToggleComponent.html +1 -1
- package/docs/components/EuiInputCheckboxComponent.html +1 -1
- package/docs/components/EuiInputGroupComponent.html +1 -1
- package/docs/components/EuiInputNumberComponent.html +1 -1
- package/docs/components/EuiInputRadioComponent.html +1 -1
- package/docs/components/EuiInputTextComponent.html +1 -1
- package/docs/components/EuiLabelComponent.html +1 -1
- package/docs/components/EuiLanguageSelectorComponent.html +1 -1
- package/docs/components/EuiListComponent.html +1 -1
- package/docs/components/EuiListItemComponent.html +1 -1
- package/docs/components/EuiMenuComponent.html +1 -1
- package/docs/components/EuiMenuItemComponent.html +1 -1
- package/docs/components/EuiMessageBoxComponent.html +1 -1
- package/docs/components/EuiModalSelectorComponent.html +1 -1
- package/docs/components/EuiNavbarComponent.html +742 -0
- package/docs/components/EuiNavbarItemComponent.html +662 -0
- package/docs/components/EuiNotificationItemComponent.html +1 -1
- package/docs/components/EuiNotificationItemV2Component.html +1 -1
- package/docs/components/EuiNotificationsComponent.html +1 -1
- package/docs/components/EuiNotificationsV2Component.html +1 -1
- package/docs/components/EuiOverlayBodyComponent.html +1 -1
- package/docs/components/EuiOverlayComponent.html +1 -1
- package/docs/components/EuiOverlayFooterComponent.html +1 -1
- package/docs/components/EuiOverlayHeaderComponent.html +1 -1
- package/docs/components/EuiOverlayHeaderTitleComponent.html +1 -1
- package/docs/components/EuiPageBreadcrumbComponent.html +1 -1
- package/docs/components/EuiPageColumnComponent.html +1 -1
- package/docs/components/EuiPageColumnsComponent.html +1 -1
- package/docs/components/EuiPageComponent.html +1 -1
- package/docs/components/EuiPageContentComponent.html +1 -1
- package/docs/components/EuiPageFooterComponent.html +1 -1
- package/docs/components/EuiPageHeaderActionItemsComponent.html +1 -1
- package/docs/components/EuiPageHeaderBodyComponent.html +1 -1
- package/docs/components/EuiPageHeaderComponent.html +1 -1
- package/docs/components/EuiPageHeaderSubLabelComponent.html +1 -1
- package/docs/components/EuiPageHeroHeaderComponent.html +1 -1
- package/docs/components/EuiPageTopContentComponent.html +1 -1
- package/docs/components/EuiPaginatorComponent.html +1 -1
- package/docs/components/EuiPopoverComponent.html +1 -1
- package/docs/components/EuiProgressBarComponent.html +1 -1
- package/docs/components/EuiProgressCircleComponent.html +1 -1
- package/docs/components/EuiResizableComponent.html +1 -1
- package/docs/components/EuiSelectComponent.html +1 -1
- package/docs/components/EuiSidebarMenuComponent.html +1 -1
- package/docs/components/EuiSidebarToggleComponent.html +1 -1
- package/docs/components/EuiSkeletonComponent.html +1 -1
- package/docs/components/EuiSlideToggleComponent.html +1 -1
- package/docs/components/EuiSlideToggleTestComponent.html +1 -1
- package/docs/components/EuiSplitButtonComponent.html +1 -1
- package/docs/components/EuiTabComponent.html +1 -1
- package/docs/components/EuiTabContentComponent.html +1 -1
- package/docs/components/EuiTabLabelComponent.html +1 -1
- package/docs/components/EuiTableComponent.html +1 -1
- package/docs/components/EuiTableExpandableRowComponent.html +1 -1
- package/docs/components/EuiTableFilterComponent.html +1 -1
- package/docs/components/EuiTableSelectableHeaderComponent.html +1 -1
- package/docs/components/EuiTableSelectableRowComponent.html +1 -1
- package/docs/components/EuiTableSortableColComponent.html +1 -1
- package/docs/components/EuiTableV2Component.html +1 -1
- package/docs/components/EuiTableV2FilterComponent.html +1 -1
- package/docs/components/EuiTableV2SelectableHeaderComponent.html +1 -1
- package/docs/components/EuiTableV2SelectableRowComponent.html +1 -1
- package/docs/components/EuiTableV2SortableColComponent.html +1 -1
- package/docs/components/EuiTabsComponent.html +1 -1
- package/docs/components/EuiTextareaComponent.html +1 -1
- package/docs/components/EuiTimeRangepickerComponent.html +1 -1
- package/docs/components/EuiTimebarComponent.html +1 -1
- package/docs/components/EuiTimelineComponent.html +1 -1
- package/docs/components/EuiTimelineItemComponent.html +1 -1
- package/docs/components/EuiTimepickerComponent.html +1 -1
- package/docs/components/EuiToolbarAppComponent.html +1 -1
- package/docs/components/EuiToolbarCenterComponent.html +1 -1
- package/docs/components/EuiToolbarComponent.html +1 -1
- package/docs/components/EuiToolbarEnvironmentComponent.html +1 -1
- package/docs/components/EuiToolbarItemComponent.html +1 -1
- package/docs/components/EuiToolbarItemsComponent.html +1 -1
- package/docs/components/EuiToolbarLogoComponent.html +1 -1
- package/docs/components/EuiToolbarMenuComponent.html +1 -1
- package/docs/components/EuiToolbarNavbarComponent.html +1 -1
- package/docs/components/EuiToolbarNavbarItemComponent.html +1 -1
- package/docs/components/EuiToolbarSearchComponent.html +1 -1
- package/docs/components/EuiToolbarSelectorComponent.html +1 -1
- package/docs/components/EuiTooltipContainerComponent.html +1 -1
- package/docs/components/EuiTreeComponent.html +1 -1
- package/docs/components/EuiTreeListComponent.html +1 -1
- package/docs/components/EuiTreeListItemComponent.html +1 -1
- package/docs/components/EuiTreeListItemContentComponent.html +1 -1
- package/docs/components/EuiTreeListToolbarComponent.html +1 -1
- package/docs/components/EuiUserProfileCardComponent.html +1 -1
- package/docs/components/EuiUserProfileComponent.html +1 -1
- package/docs/components/EuiUserProfileMenuComponent.html +1 -1
- package/docs/components/EuiUserProfileMenuItemComponent.html +1 -1
- package/docs/components/EuiWizardComponent.html +1 -1
- package/docs/components/EuiWizardStepComponent.html +1 -1
- package/docs/components/PaginationComponent.html +1 -1
- package/docs/components/PlaygroundComponent-1.html +1 -1
- package/docs/components/PlaygroundComponent.html +1 -1
- package/docs/components/PlaygroundStickyLastColumnComponent.html +1 -1
- package/docs/components/QuillEditorComponent.html +1 -1
- package/docs/components/VirtualScrollAsyncComponent.html +1 -1
- package/docs/components/VirtualScrollComponent.html +1 -1
- package/docs/dependencies.html +2 -2
- package/docs/index.html +2 -2
- package/docs/js/menu-wc.js +15 -6
- package/docs/js/menu-wc_es5.js +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/docs/miscellaneous/variables.html +2 -0
- package/docs/modules/EuiAllModule.html +6 -0
- package/docs/modules/EuiAppModule.html +6 -0
- package/docs/modules/EuiLayoutModule.html +6 -0
- package/docs/modules/EuiNavbarModule.html +239 -0
- package/docs/modules.html +12 -0
- package/esm2022/eui-all/eui-all.module.mjs +9 -4
- package/esm2022/eui-block-content/eui-block-content.component.mjs +2 -2
- package/esm2022/eui-navbar/eui-components-eui-navbar.mjs +5 -0
- package/esm2022/eui-navbar/eui-navbar-item/eui-navbar-item.component.mjs +70 -0
- package/esm2022/eui-navbar/eui-navbar.component.mjs +82 -0
- package/esm2022/eui-navbar/eui-navbar.module.mjs +18 -0
- package/esm2022/eui-navbar/index.mjs +4 -0
- package/esm2022/layout/eui-toolbar/toolbar.component.mjs +3 -3
- package/eui-all/eui-all.module.d.ts +2 -1
- package/eui-all/eui-all.module.d.ts.map +1 -1
- package/eui-navbar/eui-components-eui-navbar.d.ts.map +1 -0
- package/eui-navbar/eui-navbar-item/eui-navbar-item.component.d.ts +18 -0
- package/eui-navbar/eui-navbar-item/eui-navbar-item.component.d.ts.map +1 -0
- package/eui-navbar/eui-navbar.component.d.ts +23 -0
- package/eui-navbar/eui-navbar.component.d.ts.map +1 -0
- package/eui-navbar/eui-navbar.module.d.ts +10 -0
- package/eui-navbar/eui-navbar.module.d.ts.map +1 -0
- package/eui-navbar/index.d.ts +4 -0
- package/eui-navbar/index.d.ts.map +1 -0
- package/eui-navbar/package.json +3 -0
- package/fesm2022/eui-components-eui-block-content.mjs +2 -2
- package/fesm2022/eui-components-eui-navbar.mjs +168 -0
- package/fesm2022/eui-components-eui-navbar.mjs.map +1 -0
- package/fesm2022/eui-components-layout.mjs +2 -2
- package/fesm2022/eui-components-layout.mjs.map +1 -1
- package/fesm2022/eui-components.mjs +8 -3
- package/fesm2022/eui-components.mjs.map +1 -1
- package/package.json +9 -3
@@ -0,0 +1,82 @@
|
|
1
|
+
import { Component, ChangeDetectionStrategy, HostBinding, ViewEncapsulation, Output, EventEmitter, ContentChildren, forwardRef, } from '@angular/core';
|
2
|
+
import { EuiNavbarItemComponent } from './eui-navbar-item/eui-navbar-item.component';
|
3
|
+
import { EuiDropdownModule } from '@eui/components/eui-dropdown';
|
4
|
+
import { EuiButtonModule } from '@eui/components/eui-button';
|
5
|
+
import { EuiIconModule } from '@eui/components/eui-icon';
|
6
|
+
import { AsyncPipe, NgFor, NgForOf } from '@angular/common';
|
7
|
+
import { BaseStatesDirective } from '@eui/components/shared';
|
8
|
+
import * as i0 from "@angular/core";
|
9
|
+
import * as i1 from "@eui/core";
|
10
|
+
import * as i2 from "@eui/components/shared";
|
11
|
+
import * as i3 from "@eui/components/eui-dropdown";
|
12
|
+
import * as i4 from "@eui/components/eui-button";
|
13
|
+
import * as i5 from "@eui/components/eui-icon";
|
14
|
+
export class EuiNavbarComponent {
|
15
|
+
get cssClasses() {
|
16
|
+
return [
|
17
|
+
this.baseStatesDirective.getCssClasses('eui-navbar'),
|
18
|
+
]
|
19
|
+
.join(' ')
|
20
|
+
.trim();
|
21
|
+
}
|
22
|
+
constructor(asService, elementRef, baseStatesDirective) {
|
23
|
+
this.asService = asService;
|
24
|
+
this.elementRef = elementRef;
|
25
|
+
this.baseStatesDirective = baseStatesDirective;
|
26
|
+
this.itemClick = new EventEmitter();
|
27
|
+
this.isDropdownView = false;
|
28
|
+
}
|
29
|
+
ngAfterContentInit() {
|
30
|
+
this.baseItemSelected = this.items.filter((i) => i.isActive)[0];
|
31
|
+
}
|
32
|
+
ngAfterViewInit() {
|
33
|
+
const parentWidth = this.elementRef.nativeElement.parentWidth;
|
34
|
+
const width = this.elementRef.nativeElement.clientWidth;
|
35
|
+
if (width > parentWidth) {
|
36
|
+
setTimeout(() => {
|
37
|
+
this.isDropdownView = true;
|
38
|
+
}, 1);
|
39
|
+
}
|
40
|
+
}
|
41
|
+
itemSelected(id) {
|
42
|
+
this.items.forEach((item) => {
|
43
|
+
if (item.id === id) {
|
44
|
+
item.isActive = true;
|
45
|
+
}
|
46
|
+
else {
|
47
|
+
item.isActive = false;
|
48
|
+
}
|
49
|
+
});
|
50
|
+
this.itemClick.emit(id);
|
51
|
+
}
|
52
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.1", ngImport: i0, type: EuiNavbarComponent, deps: [{ token: i1.EuiAppShellService }, { token: i0.ElementRef }, { token: i2.BaseStatesDirective }], target: i0.ɵɵFactoryTarget.Component }); }
|
53
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.1", type: EuiNavbarComponent, isStandalone: true, selector: "eui-navbar", outputs: { itemClick: "itemClick" }, host: { properties: { "class": "this.cssClasses" } }, queries: [{ propertyName: "items", predicate: i0.forwardRef(() => EuiNavbarItemComponent) }], hostDirectives: [{ directive: i2.BaseStatesDirective, inputs: ["euiPrimary", "euiPrimary", "euiSecondary", "euiSecondary"] }], ngImport: i0, template: "@if ( (asService.breakpoints$ | async).isLtLargeTablet || isDropdownView ) {\n <eui-dropdown isLabelUpdatedFromSelectedItem>\n <button euiButton euiSecondary euiSizeS [attr.aria-label]=\"'Button trigger'\">\n <span class=\"eui-label\">{{ baseItemSelected.label }}</span>\n <eui-icon-svg icon=\"chevron-down:sharp\" size=\"s\"></eui-icon-svg>\n </button>\n <eui-dropdown-content>\n <button *ngFor=\"let item of items\" euiDropdownItem (click)=\"itemSelected(item.id)\" ariaLabel=\"{{ item.label }}\">\n {{ item.label }}\n </button>\n </eui-dropdown-content>\n </eui-dropdown>\n} @else {\n <ng-content></ng-content>\n}\n", styles: [".eui-18 .eui-navbar{display:flex;align-items:center;width:100%;padding:0 var(--eui-s-s);height:var(--eui-s-5xl)}.eui-18 .eui-navbar-item{display:flex;align-items:center;height:100%;padding:var(--eui-s-m) var(--eui-s-s);border-bottom:2px solid transparent;font:var(--eui-f-bold);cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:4px}.eui-18 .eui-navbar-item:focus-visible:not([readonly]){outline:2px solid var(--eui-c-focus-visible)!important;outline-offset:-2px!important;transition:none}.eui-18 .eui-navbar-item:hover{background-color:var(--eui-c-neutral-bg)}.eui-18 .eui-navbar-item--active{border-bottom:3px solid var(--eui-c-primary);color:var(--eui-c-primary)}\n"], dependencies: [{ kind: "ngmodule", type: EuiDropdownModule }, { kind: "component", type: i3.EuiDropdownComponent, selector: "eui-dropdown", inputs: ["e2eAttr", "tabIndex", "width", "position", "isBlock", "isDropDownRightAligned", "hasClosedOnClickInside", "isLabelUpdatedFromSelectedItem", "isExpandOnHover", "hasTabNavigation", "isRightClickEnabled", "euiDisabled"], outputs: ["expand"] }, { kind: "component", type: i3.EuiDropdownItemComponent, selector: "eui-dropdown-item, [euiDropdownItem]", inputs: ["subDropdown", "isActive"] }, { kind: "directive", type: i3.EuiDropdownContentDirective, selector: "eui-dropdown-content" }, { kind: "ngmodule", type: EuiButtonModule }, { kind: "component", type: i4.EuiButtonComponent, selector: "button[euiButton], a[euiButton]", inputs: ["e2eAttr", "id", "euiBasicButton", "euiButtonCall", "euiBlockButton", "euiIconButton", "euiLineWrap", "isChecked", "euiDisabled"], outputs: ["buttonClick"] }, { kind: "ngmodule", type: EuiIconModule }, { kind: "component", type: i5.EuiIconSvgComponent, selector: "eui-icon-svg, span[euiIconSvg], i[euiIconSvg]", inputs: ["icon", "fillColor", "set", "size", "style", "iconUrl", "transform", "euiVariant", "aria-label", "ariaHidden", "focusable", "isLoading", "isInputIcon", "euiStart", "euiEnd"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
|
54
|
+
}
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.1", ngImport: i0, type: EuiNavbarComponent, decorators: [{
|
56
|
+
type: Component,
|
57
|
+
args: [{ selector: 'eui-navbar', changeDetection: ChangeDetectionStrategy.Default, encapsulation: ViewEncapsulation.None, standalone: true, imports: [
|
58
|
+
EuiDropdownModule,
|
59
|
+
EuiButtonModule,
|
60
|
+
EuiIconModule,
|
61
|
+
AsyncPipe,
|
62
|
+
NgForOf,
|
63
|
+
NgFor,
|
64
|
+
], hostDirectives: [
|
65
|
+
{
|
66
|
+
directive: BaseStatesDirective,
|
67
|
+
inputs: [
|
68
|
+
'euiPrimary',
|
69
|
+
'euiSecondary',
|
70
|
+
],
|
71
|
+
},
|
72
|
+
], template: "@if ( (asService.breakpoints$ | async).isLtLargeTablet || isDropdownView ) {\n <eui-dropdown isLabelUpdatedFromSelectedItem>\n <button euiButton euiSecondary euiSizeS [attr.aria-label]=\"'Button trigger'\">\n <span class=\"eui-label\">{{ baseItemSelected.label }}</span>\n <eui-icon-svg icon=\"chevron-down:sharp\" size=\"s\"></eui-icon-svg>\n </button>\n <eui-dropdown-content>\n <button *ngFor=\"let item of items\" euiDropdownItem (click)=\"itemSelected(item.id)\" ariaLabel=\"{{ item.label }}\">\n {{ item.label }}\n </button>\n </eui-dropdown-content>\n </eui-dropdown>\n} @else {\n <ng-content></ng-content>\n}\n", styles: [".eui-18 .eui-navbar{display:flex;align-items:center;width:100%;padding:0 var(--eui-s-s);height:var(--eui-s-5xl)}.eui-18 .eui-navbar-item{display:flex;align-items:center;height:100%;padding:var(--eui-s-m) var(--eui-s-s);border-bottom:2px solid transparent;font:var(--eui-f-bold);cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:4px}.eui-18 .eui-navbar-item:focus-visible:not([readonly]){outline:2px solid var(--eui-c-focus-visible)!important;outline-offset:-2px!important;transition:none}.eui-18 .eui-navbar-item:hover{background-color:var(--eui-c-neutral-bg)}.eui-18 .eui-navbar-item--active{border-bottom:3px solid var(--eui-c-primary);color:var(--eui-c-primary)}\n"] }]
|
73
|
+
}], ctorParameters: () => [{ type: i1.EuiAppShellService }, { type: i0.ElementRef }, { type: i2.BaseStatesDirective }], propDecorators: { cssClasses: [{
|
74
|
+
type: HostBinding,
|
75
|
+
args: ['class']
|
76
|
+
}], itemClick: [{
|
77
|
+
type: Output
|
78
|
+
}], items: [{
|
79
|
+
type: ContentChildren,
|
80
|
+
args: [forwardRef(() => EuiNavbarItemComponent)]
|
81
|
+
}] } });
|
82
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXVpLW5hdmJhci5jb21wb25lbnQuanMiLCJzb3VyY2VS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AgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxufVxuIl19
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { NgModule } from '@angular/core';
|
2
|
+
import { CommonModule } from '@angular/common';
|
3
|
+
import { EuiNavbarComponent } from './eui-navbar.component';
|
4
|
+
import { EuiNavbarItemComponent } from './eui-navbar-item/eui-navbar-item.component';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
export class EuiNavbarModule {
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.1", ngImport: i0, type: EuiNavbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
8
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.1", ngImport: i0, type: EuiNavbarModule, imports: [CommonModule, EuiNavbarComponent, EuiNavbarItemComponent], exports: [EuiNavbarComponent, EuiNavbarItemComponent] }); }
|
9
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.1", ngImport: i0, type: EuiNavbarModule, imports: [CommonModule, EuiNavbarComponent] }); }
|
10
|
+
}
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.1", ngImport: i0, type: EuiNavbarModule, decorators: [{
|
12
|
+
type: NgModule,
|
13
|
+
args: [{
|
14
|
+
imports: [CommonModule, EuiNavbarComponent, EuiNavbarItemComponent],
|
15
|
+
exports: [EuiNavbarComponent, EuiNavbarItemComponent],
|
16
|
+
}]
|
17
|
+
}] });
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXVpLW5hdmJhci5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9ldWktbmF2YmFyL2V1aS1uYXZiYXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8s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FdWlOYXZiYXJDb21wb25lbnQsIEV1aU5hdmJhckl0ZW1Db21wb25lbnRdLFxufSlcbmV4cG9ydCBjbGFzcyBFdWlOYXZiYXJNb2R1bGUge31cbiJdfQ==
|
@@ -0,0 +1,4 @@
|
|
1
|
+
export * from './eui-navbar.component';
|
2
|
+
export * from './eui-navbar-item/eui-navbar-item.component';
|
3
|
+
export * from './eui-navbar.module';
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9ldWktbmF2YmFyL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsd0JBQXdCLENBQUM7QUFDdkMsY0FBYyw2Q0FBNkMsQ0FBQztBQUM1RCxjQUFjLHFCQUFxQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9ldWktbmF2YmFyLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2V1aS1uYXZiYXItaXRlbS9ldWktbmF2YmFyLWl0ZW0uY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vZXVpLW5hdmJhci5tb2R1bGUnO1xuIl19
|
@@ -35,7 +35,7 @@ export class EuiToolbarComponent {
|
|
35
35
|
}, 1);
|
36
36
|
}
|
37
37
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.1", ngImport: i0, type: EuiToolbarComponent, deps: [{ token: i0.ElementRef }, { token: i1.EuiAppShellService }], target: i0.ɵɵFactoryTarget.Component }); }
|
38
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.1", type: EuiToolbarComponent, isStandalone: true, selector: "eui-toolbar", inputs: { euiSecondary: ["euiSecondary", "euiSecondary", booleanAttribute], euiPrimary: ["euiPrimary", "euiPrimary", booleanAttribute] }, host: { properties: { "class": "this.cssClasses" } }, queries: [{ propertyName: "hasMenu", first: true, predicate: i0.forwardRef(() => EuiToolbarMenuComponent), descendants: true }], ngImport: i0, template: "@if ( (asService.state$ | async).hasHeader && (asService.breakpoints$ | async).isMobile ) {\n\n <div class=\"eui-toolbar__left\">\n @if ( ( asService.state$ | async).hasHeaderLogo ) {\n <eui-toolbar-logo></eui-toolbar-logo>\n }\n @if ( ( asService.state$ | async).hasHeaderEnvironment ) {\n <eui-toolbar-environment>\n {{ (asService.state$ | async).environmentValue }}\n </eui-toolbar-environment>\n }\n @if ( (asService.state$ | async).appName ) {\n <eui-toolbar-app appName=\"{{ (asService.state$ | async).appName }}\"></eui-toolbar-app>\n }\n </div>\n\n <ng-container *ngTemplateOutlet=\"toolbarCenter\"></ng-container>\n <ng-container *ngTemplateOutlet=\"toolbarItems\"></ng-container>\n <ng-container *ngTemplateOutlet=\"toolbarLanguageSelector\"></ng-container>\n\n} @else {\n @if ( (asService.state$ | async).hasHeader ) {\n\n @if ( hasMenu ) {\n <ng-container *ngTemplateOutlet=\"toolbarMenu\"></ng-container>\n } @else {\n <ng-container *ngTemplateOutlet=\"toolbarCenter\"></ng-container>\n }\n <ng-container *ngTemplateOutlet=\"toolbarItems\"></ng-container>\n\n } @else {\n\n <div class=\"eui-toolbar__left\">\n <ng-content select=\"eui-toolbar-logo\"></ng-content>\n <ng-content select=\"eui-toolbar-app\"></ng-content>\n <ng-content select=\"eui-toolbar-environment\"></ng-content>\n <ng-content select=\"eui-toolbar-navbar\"></ng-content>\n </div>\n\n <ng-container *ngTemplateOutlet=\"toolbarCenter\"></ng-container>\n\n <div class=\"eui-toolbar__right\">\n <ng-container *ngTemplateOutlet=\"toolbarItems\"></ng-container>\n </div>\n\n }\n <ng-container *ngTemplateOutlet=\"toolbarLanguageSelector\"></ng-container>\n}\n\n<ng-template #toolbarCenter>\n <ng-content select=\"eui-toolbar-center\"></ng-content>\n</ng-template>\n\n<ng-template #toolbarItems>\n <ng-content select=\"eui-toolbar-items\"></ng-content>\n</ng-template>\n\n<ng-template #toolbarMenu>\n @if (hasMenu) {\n <div class=\"eui-toolbar__left\">\n <ng-content select=\"eui-toolbar-menu\"></ng-content>\n </div>\n }\n</ng-template>\n\n<ng-template #toolbarLanguageSelector>\n <ng-content select=\"eui-language-selector\"></ng-content>\n</ng-template>\n", styles: [".eui-toolbar{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;height:var(--eui-app-toolbar-height);justify-content:space-between;padding:0 var(--eui-s-m) 0 var(--eui-s-s);position:relative;width:100%;border-bottom:1px solid var(--eui-c-neutral-lightest);overflow:hidden}.eui-toolbar__left,.eui-toolbar__start{display:flex;align-items:center;flex:1}.eui-toolbar__center{display:block;margin-left:auto;text-align:center}.eui-toolbar__right{align-items:center;display:flex;flex:1;justify-content:right}.eui-toolbar-items{align-items:center;display:flex;margin-left:auto;position:relative;gap:var(--eui-s-s)}.eui-toolbar-items--position-left{margin-right:auto}.eui-toolbar-items--position-right{margin-left:auto}.eui-toolbar-items>*{display:inline-flex}.eui-toolbar-item{display:flex;align-items:center}.eui-toolbar-logo{display:flex;margin-right:var(--eui-s-m)}.eui-toolbar-logo__image{background-size:cover;cursor:pointer;height:40px}.eui-toolbar-app{font:var(--eui-f-xl);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.eui-toolbar-app__name{font:var(--eui-f-l);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.eui-toolbar-app__subTitle{font:var(--eui-f-m);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.eui-toolbar-environment{background-color:var(--eui-c-danger-dark);color:var(--eui-c-white);cursor:pointer;font:var(--eui-f-s);left:var(--eui-s-3xs);pointer-events:none;position:absolute;text-align:center;transform:rotate(-20deg);width:4.75rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.eui-toolbar--primary{background-color:var(--eui-c-branding);color:var(--eui-c-white)}.eui-toolbar--secondary,.eui--secondary .eui-toolbar{background-color:var(--eui-c-neutral-bg-light);color:var(--eui-c-text)}.eui--primary .eui-toolbar{background-color:var(--eui-c-branding);color:var(--eui-c-white)}.eui--primary .eui-toolbar-item .eui-icon-svg svg{color:var(--eui-c-white);fill:var(--eui-c-white)}.eui--primary .eui-icon-button--has-focus-hover-bg .eui-icon-button__button:hover{background-color:var(--eui-c-branding-light);color:var(--eui-c-branding-light-contrast)}.eui--primary .eui-icon-button--has-focus-hover-bg .eui-icon-button__button:hover .eui-icon-svg svg{color:var(--eui-c-branding-light-contrast)!important;fill:var(--eui-c-branding-light-contrast)!important}@media screen and (max-width: 767px){.eui-toolbar-logo
|
38
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.1", type: EuiToolbarComponent, isStandalone: true, selector: "eui-toolbar", inputs: { euiSecondary: ["euiSecondary", "euiSecondary", booleanAttribute], euiPrimary: ["euiPrimary", "euiPrimary", booleanAttribute] }, host: { properties: { "class": "this.cssClasses" } }, queries: [{ propertyName: "hasMenu", first: true, predicate: i0.forwardRef(() => EuiToolbarMenuComponent), descendants: true }], ngImport: i0, template: "@if ( (asService.state$ | async).hasHeader && (asService.breakpoints$ | async).isMobile ) {\n\n <div class=\"eui-toolbar__left\">\n @if ( ( asService.state$ | async).hasHeaderLogo ) {\n <eui-toolbar-logo></eui-toolbar-logo>\n }\n @if ( ( asService.state$ | async).hasHeaderEnvironment ) {\n <eui-toolbar-environment>\n {{ (asService.state$ | async).environmentValue }}\n </eui-toolbar-environment>\n }\n @if ( (asService.state$ | async).appName ) {\n <eui-toolbar-app appName=\"{{ (asService.state$ | async).appName }}\"></eui-toolbar-app>\n }\n </div>\n\n <ng-container *ngTemplateOutlet=\"toolbarCenter\"></ng-container>\n <ng-container *ngTemplateOutlet=\"toolbarItems\"></ng-container>\n <ng-container *ngTemplateOutlet=\"toolbarLanguageSelector\"></ng-container>\n\n} @else {\n @if ( (asService.state$ | async).hasHeader ) {\n\n @if ( hasMenu ) {\n <ng-container *ngTemplateOutlet=\"toolbarMenu\"></ng-container>\n } @else {\n <ng-container *ngTemplateOutlet=\"toolbarCenter\"></ng-container>\n }\n <ng-container *ngTemplateOutlet=\"toolbarItems\"></ng-container>\n\n } @else {\n\n <div class=\"eui-toolbar__left\">\n <ng-content select=\"eui-toolbar-logo\"></ng-content>\n <ng-content select=\"eui-toolbar-app\"></ng-content>\n <ng-content select=\"eui-toolbar-environment\"></ng-content>\n <ng-content select=\"eui-toolbar-navbar\"></ng-content>\n </div>\n\n <ng-container *ngTemplateOutlet=\"toolbarCenter\"></ng-container>\n\n <div class=\"eui-toolbar__right\">\n <ng-container *ngTemplateOutlet=\"toolbarItems\"></ng-container>\n </div>\n\n }\n <ng-container *ngTemplateOutlet=\"toolbarLanguageSelector\"></ng-container>\n}\n\n<ng-template #toolbarCenter>\n <ng-content select=\"eui-toolbar-center\"></ng-content>\n</ng-template>\n\n<ng-template #toolbarItems>\n <ng-content select=\"eui-toolbar-items\"></ng-content>\n</ng-template>\n\n<ng-template #toolbarMenu>\n @if (hasMenu) {\n <div class=\"eui-toolbar__left\">\n <ng-content select=\"eui-toolbar-menu\"></ng-content>\n </div>\n }\n</ng-template>\n\n<ng-template #toolbarLanguageSelector>\n <ng-content select=\"eui-language-selector\"></ng-content>\n</ng-template>\n", styles: [".eui-toolbar{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;height:var(--eui-app-toolbar-height);justify-content:space-between;padding:0 var(--eui-s-m) 0 var(--eui-s-s);position:relative;width:100%;border-bottom:1px solid var(--eui-c-neutral-lightest);overflow:hidden}.eui-toolbar__left,.eui-toolbar__start{display:flex;align-items:center;flex:1}.eui-toolbar__center{display:block;margin-left:auto;text-align:center}.eui-toolbar__right{align-items:center;display:flex;flex:1;justify-content:right}.eui-toolbar-items{align-items:center;display:flex;margin-left:auto;position:relative;gap:var(--eui-s-s)}.eui-toolbar-items--position-left{margin-right:auto}.eui-toolbar-items--position-right{margin-left:auto}.eui-toolbar-items>*{display:inline-flex}.eui-toolbar-item{display:flex;align-items:center}.eui-toolbar-logo{display:flex;margin-right:var(--eui-s-m)}.eui-toolbar-logo__image{background-size:cover;cursor:pointer;height:40px}.eui-toolbar-app{font:var(--eui-f-xl);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.eui-toolbar-app__name{font:var(--eui-f-l);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.eui-toolbar-app__subTitle{font:var(--eui-f-m);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.eui-toolbar-environment{background-color:var(--eui-c-danger-dark);color:var(--eui-c-white);cursor:pointer;font:var(--eui-f-s);left:var(--eui-s-3xs);pointer-events:none;position:absolute;text-align:center;transform:rotate(-20deg);width:4.75rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.eui-toolbar--primary{background-color:var(--eui-c-branding);color:var(--eui-c-white)}.eui-toolbar--secondary,.eui--secondary .eui-toolbar{background-color:var(--eui-c-neutral-bg-light);color:var(--eui-c-text)}.eui--primary .eui-toolbar{background-color:var(--eui-c-branding);color:var(--eui-c-white)}.eui--primary .eui-toolbar-item .eui-icon-svg svg{color:var(--eui-c-white);fill:var(--eui-c-white)}.eui--primary .eui-icon-button--has-focus-hover-bg .eui-icon-button__button:hover{background-color:var(--eui-c-branding-light);color:var(--eui-c-branding-light-contrast)}.eui--primary .eui-icon-button--has-focus-hover-bg .eui-icon-button__button:hover .eui-icon-svg svg{color:var(--eui-c-branding-light-contrast)!important;fill:var(--eui-c-branding-light-contrast)!important}@media screen and (max-width: 767px){.eui-toolbar-logo{display:none}.eui-toolbar-app{display:block;font:var(--eui-f-xl);padding-left:0;text-overflow:inherit;overflow:visible}.eui-toolbar-environment{font:var(--eui-f-xs-compact);transform:rotate(0);top:0;height:var(--eui-s-m);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.eui-t-ec .eui-toolbar-app{margin-top:0}}\n"], dependencies: [{ kind: "component", type: EuiToolbarLogoComponent, selector: "eui-toolbar-logo", inputs: ["homeUrl", "logoUrl", "logoHeight", "logoWidth"] }, { kind: "component", type: EuiToolbarEnvironmentComponent, selector: "eui-toolbar-environment" }, { kind: "component", type: EuiToolbarAppComponent, selector: "eui-toolbar-app", inputs: ["appName", "appSubTitle"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
39
39
|
}
|
40
40
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.1", ngImport: i0, type: EuiToolbarComponent, decorators: [{
|
41
41
|
type: Component,
|
@@ -45,7 +45,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.1", ngImpor
|
|
45
45
|
EuiToolbarAppComponent,
|
46
46
|
AsyncPipe,
|
47
47
|
NgTemplateOutlet,
|
48
|
-
], template: "@if ( (asService.state$ | async).hasHeader && (asService.breakpoints$ | async).isMobile ) {\n\n <div class=\"eui-toolbar__left\">\n @if ( ( asService.state$ | async).hasHeaderLogo ) {\n <eui-toolbar-logo></eui-toolbar-logo>\n }\n @if ( ( asService.state$ | async).hasHeaderEnvironment ) {\n <eui-toolbar-environment>\n {{ (asService.state$ | async).environmentValue }}\n </eui-toolbar-environment>\n }\n @if ( (asService.state$ | async).appName ) {\n <eui-toolbar-app appName=\"{{ (asService.state$ | async).appName }}\"></eui-toolbar-app>\n }\n </div>\n\n <ng-container *ngTemplateOutlet=\"toolbarCenter\"></ng-container>\n <ng-container *ngTemplateOutlet=\"toolbarItems\"></ng-container>\n <ng-container *ngTemplateOutlet=\"toolbarLanguageSelector\"></ng-container>\n\n} @else {\n @if ( (asService.state$ | async).hasHeader ) {\n\n @if ( hasMenu ) {\n <ng-container *ngTemplateOutlet=\"toolbarMenu\"></ng-container>\n } @else {\n <ng-container *ngTemplateOutlet=\"toolbarCenter\"></ng-container>\n }\n <ng-container *ngTemplateOutlet=\"toolbarItems\"></ng-container>\n\n } @else {\n\n <div class=\"eui-toolbar__left\">\n <ng-content select=\"eui-toolbar-logo\"></ng-content>\n <ng-content select=\"eui-toolbar-app\"></ng-content>\n <ng-content select=\"eui-toolbar-environment\"></ng-content>\n <ng-content select=\"eui-toolbar-navbar\"></ng-content>\n </div>\n\n <ng-container *ngTemplateOutlet=\"toolbarCenter\"></ng-container>\n\n <div class=\"eui-toolbar__right\">\n <ng-container *ngTemplateOutlet=\"toolbarItems\"></ng-container>\n </div>\n\n }\n <ng-container *ngTemplateOutlet=\"toolbarLanguageSelector\"></ng-container>\n}\n\n<ng-template #toolbarCenter>\n <ng-content select=\"eui-toolbar-center\"></ng-content>\n</ng-template>\n\n<ng-template #toolbarItems>\n <ng-content select=\"eui-toolbar-items\"></ng-content>\n</ng-template>\n\n<ng-template #toolbarMenu>\n @if (hasMenu) {\n <div class=\"eui-toolbar__left\">\n <ng-content select=\"eui-toolbar-menu\"></ng-content>\n </div>\n }\n</ng-template>\n\n<ng-template #toolbarLanguageSelector>\n <ng-content select=\"eui-language-selector\"></ng-content>\n</ng-template>\n", styles: [".eui-toolbar{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;height:var(--eui-app-toolbar-height);justify-content:space-between;padding:0 var(--eui-s-m) 0 var(--eui-s-s);position:relative;width:100%;border-bottom:1px solid var(--eui-c-neutral-lightest);overflow:hidden}.eui-toolbar__left,.eui-toolbar__start{display:flex;align-items:center;flex:1}.eui-toolbar__center{display:block;margin-left:auto;text-align:center}.eui-toolbar__right{align-items:center;display:flex;flex:1;justify-content:right}.eui-toolbar-items{align-items:center;display:flex;margin-left:auto;position:relative;gap:var(--eui-s-s)}.eui-toolbar-items--position-left{margin-right:auto}.eui-toolbar-items--position-right{margin-left:auto}.eui-toolbar-items>*{display:inline-flex}.eui-toolbar-item{display:flex;align-items:center}.eui-toolbar-logo{display:flex;margin-right:var(--eui-s-m)}.eui-toolbar-logo__image{background-size:cover;cursor:pointer;height:40px}.eui-toolbar-app{font:var(--eui-f-xl);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.eui-toolbar-app__name{font:var(--eui-f-l);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.eui-toolbar-app__subTitle{font:var(--eui-f-m);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.eui-toolbar-environment{background-color:var(--eui-c-danger-dark);color:var(--eui-c-white);cursor:pointer;font:var(--eui-f-s);left:var(--eui-s-3xs);pointer-events:none;position:absolute;text-align:center;transform:rotate(-20deg);width:4.75rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.eui-toolbar--primary{background-color:var(--eui-c-branding);color:var(--eui-c-white)}.eui-toolbar--secondary,.eui--secondary .eui-toolbar{background-color:var(--eui-c-neutral-bg-light);color:var(--eui-c-text)}.eui--primary .eui-toolbar{background-color:var(--eui-c-branding);color:var(--eui-c-white)}.eui--primary .eui-toolbar-item .eui-icon-svg svg{color:var(--eui-c-white);fill:var(--eui-c-white)}.eui--primary .eui-icon-button--has-focus-hover-bg .eui-icon-button__button:hover{background-color:var(--eui-c-branding-light);color:var(--eui-c-branding-light-contrast)}.eui--primary .eui-icon-button--has-focus-hover-bg .eui-icon-button__button:hover .eui-icon-svg svg{color:var(--eui-c-branding-light-contrast)!important;fill:var(--eui-c-branding-light-contrast)!important}@media screen and (max-width: 767px){.eui-toolbar-logo
|
48
|
+
], template: "@if ( (asService.state$ | async).hasHeader && (asService.breakpoints$ | async).isMobile ) {\n\n <div class=\"eui-toolbar__left\">\n @if ( ( asService.state$ | async).hasHeaderLogo ) {\n <eui-toolbar-logo></eui-toolbar-logo>\n }\n @if ( ( asService.state$ | async).hasHeaderEnvironment ) {\n <eui-toolbar-environment>\n {{ (asService.state$ | async).environmentValue }}\n </eui-toolbar-environment>\n }\n @if ( (asService.state$ | async).appName ) {\n <eui-toolbar-app appName=\"{{ (asService.state$ | async).appName }}\"></eui-toolbar-app>\n }\n </div>\n\n <ng-container *ngTemplateOutlet=\"toolbarCenter\"></ng-container>\n <ng-container *ngTemplateOutlet=\"toolbarItems\"></ng-container>\n <ng-container *ngTemplateOutlet=\"toolbarLanguageSelector\"></ng-container>\n\n} @else {\n @if ( (asService.state$ | async).hasHeader ) {\n\n @if ( hasMenu ) {\n <ng-container *ngTemplateOutlet=\"toolbarMenu\"></ng-container>\n } @else {\n <ng-container *ngTemplateOutlet=\"toolbarCenter\"></ng-container>\n }\n <ng-container *ngTemplateOutlet=\"toolbarItems\"></ng-container>\n\n } @else {\n\n <div class=\"eui-toolbar__left\">\n <ng-content select=\"eui-toolbar-logo\"></ng-content>\n <ng-content select=\"eui-toolbar-app\"></ng-content>\n <ng-content select=\"eui-toolbar-environment\"></ng-content>\n <ng-content select=\"eui-toolbar-navbar\"></ng-content>\n </div>\n\n <ng-container *ngTemplateOutlet=\"toolbarCenter\"></ng-container>\n\n <div class=\"eui-toolbar__right\">\n <ng-container *ngTemplateOutlet=\"toolbarItems\"></ng-container>\n </div>\n\n }\n <ng-container *ngTemplateOutlet=\"toolbarLanguageSelector\"></ng-container>\n}\n\n<ng-template #toolbarCenter>\n <ng-content select=\"eui-toolbar-center\"></ng-content>\n</ng-template>\n\n<ng-template #toolbarItems>\n <ng-content select=\"eui-toolbar-items\"></ng-content>\n</ng-template>\n\n<ng-template #toolbarMenu>\n @if (hasMenu) {\n <div class=\"eui-toolbar__left\">\n <ng-content select=\"eui-toolbar-menu\"></ng-content>\n </div>\n }\n</ng-template>\n\n<ng-template #toolbarLanguageSelector>\n <ng-content select=\"eui-language-selector\"></ng-content>\n</ng-template>\n", styles: [".eui-toolbar{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;height:var(--eui-app-toolbar-height);justify-content:space-between;padding:0 var(--eui-s-m) 0 var(--eui-s-s);position:relative;width:100%;border-bottom:1px solid var(--eui-c-neutral-lightest);overflow:hidden}.eui-toolbar__left,.eui-toolbar__start{display:flex;align-items:center;flex:1}.eui-toolbar__center{display:block;margin-left:auto;text-align:center}.eui-toolbar__right{align-items:center;display:flex;flex:1;justify-content:right}.eui-toolbar-items{align-items:center;display:flex;margin-left:auto;position:relative;gap:var(--eui-s-s)}.eui-toolbar-items--position-left{margin-right:auto}.eui-toolbar-items--position-right{margin-left:auto}.eui-toolbar-items>*{display:inline-flex}.eui-toolbar-item{display:flex;align-items:center}.eui-toolbar-logo{display:flex;margin-right:var(--eui-s-m)}.eui-toolbar-logo__image{background-size:cover;cursor:pointer;height:40px}.eui-toolbar-app{font:var(--eui-f-xl);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.eui-toolbar-app__name{font:var(--eui-f-l);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.eui-toolbar-app__subTitle{font:var(--eui-f-m);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.eui-toolbar-environment{background-color:var(--eui-c-danger-dark);color:var(--eui-c-white);cursor:pointer;font:var(--eui-f-s);left:var(--eui-s-3xs);pointer-events:none;position:absolute;text-align:center;transform:rotate(-20deg);width:4.75rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.eui-toolbar--primary{background-color:var(--eui-c-branding);color:var(--eui-c-white)}.eui-toolbar--secondary,.eui--secondary .eui-toolbar{background-color:var(--eui-c-neutral-bg-light);color:var(--eui-c-text)}.eui--primary .eui-toolbar{background-color:var(--eui-c-branding);color:var(--eui-c-white)}.eui--primary .eui-toolbar-item .eui-icon-svg svg{color:var(--eui-c-white);fill:var(--eui-c-white)}.eui--primary .eui-icon-button--has-focus-hover-bg .eui-icon-button__button:hover{background-color:var(--eui-c-branding-light);color:var(--eui-c-branding-light-contrast)}.eui--primary .eui-icon-button--has-focus-hover-bg .eui-icon-button__button:hover .eui-icon-svg svg{color:var(--eui-c-branding-light-contrast)!important;fill:var(--eui-c-branding-light-contrast)!important}@media screen and (max-width: 767px){.eui-toolbar-logo{display:none}.eui-toolbar-app{display:block;font:var(--eui-f-xl);padding-left:0;text-overflow:inherit;overflow:visible}.eui-toolbar-environment{font:var(--eui-f-xs-compact);transform:rotate(0);top:0;height:var(--eui-s-m);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.eui-t-ec .eui-toolbar-app{margin-top:0}}\n"] }]
|
49
49
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.EuiAppShellService }], propDecorators: { cssClasses: [{
|
50
50
|
type: HostBinding,
|
51
51
|
args: ['class']
|
@@ -59,4 +59,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.1", ngImpor
|
|
59
59
|
type: ContentChild,
|
60
60
|
args: [forwardRef(() => EuiToolbarMenuComponent)]
|
61
61
|
}] } });
|
62
|
-
//# sourceMappingURL=data:application/json;base64,
|
62
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9sYXlvdXQvZXVpLXRvb2xiYXIvdG9vbGJhci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi9sYXlvdXQvZXVpLXRvb2xiYXIvdG9vbGJhci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxpQkFBaUIsRUFBRSxVQUFVLEVBQUUsWUFBWSxFQUFFLGdCQUFnQixFQUFFLEtBQUssRUFBcUMsTUFBTSxlQUFlLENBQUM7QUFDaEssT0FBTyxFQUFFLHVCQUF1QixFQUFFLE1BQU0sdUNBQXVDLENBQUM7QUFFaEYsT0FBTyxFQUFFLFNBQVMsRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQzlELE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLHVDQUF1QyxDQUFDO0FBQ2hGLE9BQU8sRUFBRSw4QkFBOEIsRUFBRSxNQUFNLHFEQUFxRCxDQUFDO0FBQ3JHLE9BQ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mFyTWVudT5cbiAgICBAaWYgKGhhc01lbnUpIHtcbiAgICAgICAgPGRpdiBjbGFzcz1cImV1aS10b29sYmFyX19sZWZ0XCI+XG4gICAgICAgICAgICA8bmctY29udGVudCBzZWxlY3Q9XCJldWktdG9vbGJhci1tZW51XCI+PC9uZy1jb250ZW50PlxuICAgICAgICA8L2Rpdj5cbiAgICB9XG48L25nLXRlbXBsYXRlPlxuXG48bmctdGVtcGxhdGUgI3Rvb2xiYXJMYW5ndWFnZVNlbGVjdG9yPlxuICAgIDxuZy1jb250ZW50IHNlbGVjdD1cImV1aS1sYW5ndWFnZS1zZWxlY3RvclwiPjwvbmctY29udGVudD5cbjwvbmctdGVtcGxhdGU+XG4iXX0=
|
@@ -71,9 +71,10 @@ import * as i69 from "@eui/components/eui-icon-input";
|
|
71
71
|
import * as i70 from "@eui/components/eui-icon-button";
|
72
72
|
import * as i71 from "@eui/components/eui-icon-color";
|
73
73
|
import * as i72 from "@eui/components/eui-icon-state";
|
74
|
+
import * as i73 from "@eui/components/eui-navbar";
|
74
75
|
export declare class EuiAllModule {
|
75
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<EuiAllModule, never>;
|
76
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<EuiAllModule, never, [typeof i1.CommonModule, typeof i2.RouterModule, typeof i3.ReactiveFormsModule, typeof i3.FormsModule, typeof i4.EuiTemplateDirectiveModule, typeof i4.EuiTooltipDirectiveModule, typeof i5.EuiInputNumberDirectiveModule, typeof i4.EuiMaxLengthDirectiveModule, typeof i4.EuiSmoothScrollDirectiveModule, typeof i4.EuiScrollHandlerDirectiveModule, typeof i4.EuiHasPermissionDirectiveModule, typeof i4.EuiResizableDirectiveModule, typeof i6.EuiLayoutModule, typeof i7.EuiPageModule, typeof i8.EuiOverlayModule, typeof i9.EuiDimmerModule, typeof i10.EuiBadgeModule, typeof i11.EuiIconModule, typeof i12.EuiLabelModule, typeof i13.EuiIconToggleModule, typeof i14.EuiAlertModule, typeof i15.EuiAutocompleteModule, typeof i16.EuiBlockDocumentModule, typeof i17.EuiBlockContentModule, typeof i18.EuiButtonModule, typeof i19.EuiButtonV2Module, typeof i20.EuiCardModule, typeof i21.EuiChipModule, typeof i22.EuiChipListModule, typeof i23.EuiDashboardButtonModule, typeof i24.EuiDashboardCardModule, typeof i25.EuiDatepickerModule, typeof i26.EuiDateRangeSelectorModule, typeof i27.EuiDropdownModule, typeof i28.EuiDialogModule, typeof i29.EuiGrowlModule, typeof i30.EuiSlideToggleModule, typeof i31.EuiTabsModule, typeof i32.EuiMenuModule, typeof i33.EuiMessageBoxModule, typeof i34.EuiListModule, typeof i35.EuiTableModule, typeof i36.EuiTableV2Module, typeof i37.EuiFileUploadModule, typeof i38.EuiPopoverModule, typeof i39.EuiFeedbackMessageModule, typeof i40.EuiTimepickerModule, typeof i41.EuiTreeModule, typeof i42.EuiInputCheckboxModule, typeof i43.EuiSelectModule, typeof i44.EuiInputRadioModule, typeof i45.EuiInputTextModule, typeof i46.EuiTextAreaModule, typeof i47.EuiInputGroupModule, typeof i48.EuiTruncatePipeModule, typeof i49.EuiFieldsetModule, typeof i50.EuiPaginatorModule, typeof i51.EuiButtonGroupModule, typeof i52.EuiProgressCircleModule, typeof i53.EuiDisableContentModule, typeof i54.EuiWizardModule, typeof i55.EuiTimelineModule, typeof i56.EuiTimebarModule, typeof i57.EuiDiscussionThreadModule, typeof i58.EuiSidebarMenuModule, typeof i59.EuiProgressBarModule, typeof i60.EuiTreeListModule, typeof i61.EuiAvatarModule, typeof i62.EuiSkeletonModule, typeof i63.EuiLanguageSelectorModule, typeof i64.EuiUserProfileModule, typeof i65.EuiAccordionModule, typeof i66.EuiSplitButtonModule, typeof i67.EuiBreadcrumbModule, typeof i68.EuiIconButtonExpanderModule, typeof i69.EuiIconInputModule, typeof i70.EuiIconButtonModule, typeof i71.EuiIconColorModule, typeof i72.EuiIconStateModule], [typeof i4.EuiTemplateDirectiveModule, typeof i4.EuiTooltipDirectiveModule, typeof i5.EuiInputNumberDirectiveModule, typeof i4.EuiMaxLengthDirectiveModule, typeof i4.EuiSmoothScrollDirectiveModule, typeof i4.EuiScrollHandlerDirectiveModule, typeof i4.EuiHasPermissionDirectiveModule, typeof i4.EuiResizableDirectiveModule, typeof i6.EuiLayoutModule, typeof i7.EuiPageModule, typeof i8.EuiOverlayModule, typeof i9.EuiDimmerModule, typeof i10.EuiBadgeModule, typeof i11.EuiIconModule, typeof i12.EuiLabelModule, typeof i13.EuiIconToggleModule, typeof i14.EuiAlertModule, typeof i15.EuiAutocompleteModule, typeof i16.EuiBlockDocumentModule, typeof i17.EuiBlockContentModule, typeof i18.EuiButtonModule, typeof i19.EuiButtonV2Module, typeof i20.EuiCardModule, typeof i21.EuiChipModule, typeof i22.EuiChipListModule, typeof i23.EuiDashboardButtonModule, typeof i24.EuiDashboardCardModule, typeof i25.EuiDatepickerModule, typeof i26.EuiDateRangeSelectorModule, typeof i27.EuiDropdownModule, typeof i28.EuiDialogModule, typeof i29.EuiGrowlModule, typeof i30.EuiSlideToggleModule, typeof i31.EuiTabsModule, typeof i32.EuiMenuModule, typeof i33.EuiMessageBoxModule, typeof i34.EuiListModule, typeof i35.EuiTableModule, typeof i36.EuiTableV2Module, typeof i37.EuiFileUploadModule, typeof i38.EuiPopoverModule, typeof i39.EuiFeedbackMessageModule, typeof i40.EuiTimepickerModule, typeof i41.EuiTreeModule, typeof i42.EuiInputCheckboxModule, typeof i43.EuiSelectModule, typeof i44.EuiInputRadioModule, typeof i45.EuiInputTextModule, typeof i46.EuiTextAreaModule, typeof i47.EuiInputGroupModule, typeof i48.EuiTruncatePipeModule, typeof i49.EuiFieldsetModule, typeof i50.EuiPaginatorModule, typeof i51.EuiButtonGroupModule, typeof i52.EuiProgressCircleModule, typeof i53.EuiDisableContentModule, typeof i54.EuiWizardModule, typeof i55.EuiTimelineModule, typeof i56.EuiTimebarModule, typeof i57.EuiDiscussionThreadModule, typeof i58.EuiSidebarMenuModule, typeof i59.EuiProgressBarModule, typeof i60.EuiTreeListModule, typeof i61.EuiAvatarModule, typeof i62.EuiSkeletonModule, typeof i63.EuiLanguageSelectorModule, typeof i64.EuiUserProfileModule, typeof i65.EuiAccordionModule, typeof i66.EuiSplitButtonModule, typeof i67.EuiBreadcrumbModule, typeof i68.EuiIconButtonExpanderModule, typeof i69.EuiIconInputModule, typeof i70.EuiIconButtonModule, typeof i71.EuiIconColorModule, typeof i72.EuiIconStateModule]>;
|
77
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<EuiAllModule, never, [typeof i1.CommonModule, typeof i2.RouterModule, typeof i3.ReactiveFormsModule, typeof i3.FormsModule, typeof i4.EuiTemplateDirectiveModule, typeof i4.EuiTooltipDirectiveModule, typeof i5.EuiInputNumberDirectiveModule, typeof i4.EuiMaxLengthDirectiveModule, typeof i4.EuiSmoothScrollDirectiveModule, typeof i4.EuiScrollHandlerDirectiveModule, typeof i4.EuiHasPermissionDirectiveModule, typeof i4.EuiResizableDirectiveModule, typeof i6.EuiLayoutModule, typeof i7.EuiPageModule, typeof i8.EuiOverlayModule, typeof i9.EuiDimmerModule, typeof i10.EuiBadgeModule, typeof i11.EuiIconModule, typeof i12.EuiLabelModule, typeof i13.EuiIconToggleModule, typeof i14.EuiAlertModule, typeof i15.EuiAutocompleteModule, typeof i16.EuiBlockDocumentModule, typeof i17.EuiBlockContentModule, typeof i18.EuiButtonModule, typeof i19.EuiButtonV2Module, typeof i20.EuiCardModule, typeof i21.EuiChipModule, typeof i22.EuiChipListModule, typeof i23.EuiDashboardButtonModule, typeof i24.EuiDashboardCardModule, typeof i25.EuiDatepickerModule, typeof i26.EuiDateRangeSelectorModule, typeof i27.EuiDropdownModule, typeof i28.EuiDialogModule, typeof i29.EuiGrowlModule, typeof i30.EuiSlideToggleModule, typeof i31.EuiTabsModule, typeof i32.EuiMenuModule, typeof i33.EuiMessageBoxModule, typeof i34.EuiListModule, typeof i35.EuiTableModule, typeof i36.EuiTableV2Module, typeof i37.EuiFileUploadModule, typeof i38.EuiPopoverModule, typeof i39.EuiFeedbackMessageModule, typeof i40.EuiTimepickerModule, typeof i41.EuiTreeModule, typeof i42.EuiInputCheckboxModule, typeof i43.EuiSelectModule, typeof i44.EuiInputRadioModule, typeof i45.EuiInputTextModule, typeof i46.EuiTextAreaModule, typeof i47.EuiInputGroupModule, typeof i48.EuiTruncatePipeModule, typeof i49.EuiFieldsetModule, typeof i50.EuiPaginatorModule, typeof i51.EuiButtonGroupModule, typeof i52.EuiProgressCircleModule, typeof i53.EuiDisableContentModule, typeof i54.EuiWizardModule, typeof i55.EuiTimelineModule, typeof i56.EuiTimebarModule, typeof i57.EuiDiscussionThreadModule, typeof i58.EuiSidebarMenuModule, typeof i59.EuiProgressBarModule, typeof i60.EuiTreeListModule, typeof i61.EuiAvatarModule, typeof i62.EuiSkeletonModule, typeof i63.EuiLanguageSelectorModule, typeof i64.EuiUserProfileModule, typeof i65.EuiAccordionModule, typeof i66.EuiSplitButtonModule, typeof i67.EuiBreadcrumbModule, typeof i68.EuiIconButtonExpanderModule, typeof i69.EuiIconInputModule, typeof i70.EuiIconButtonModule, typeof i71.EuiIconColorModule, typeof i72.EuiIconStateModule, typeof i73.EuiNavbarModule], [typeof i4.EuiTemplateDirectiveModule, typeof i4.EuiTooltipDirectiveModule, typeof i5.EuiInputNumberDirectiveModule, typeof i4.EuiMaxLengthDirectiveModule, typeof i4.EuiSmoothScrollDirectiveModule, typeof i4.EuiScrollHandlerDirectiveModule, typeof i4.EuiHasPermissionDirectiveModule, typeof i4.EuiResizableDirectiveModule, typeof i6.EuiLayoutModule, typeof i7.EuiPageModule, typeof i8.EuiOverlayModule, typeof i9.EuiDimmerModule, typeof i10.EuiBadgeModule, typeof i11.EuiIconModule, typeof i12.EuiLabelModule, typeof i13.EuiIconToggleModule, typeof i14.EuiAlertModule, typeof i15.EuiAutocompleteModule, typeof i16.EuiBlockDocumentModule, typeof i17.EuiBlockContentModule, typeof i18.EuiButtonModule, typeof i19.EuiButtonV2Module, typeof i20.EuiCardModule, typeof i21.EuiChipModule, typeof i22.EuiChipListModule, typeof i23.EuiDashboardButtonModule, typeof i24.EuiDashboardCardModule, typeof i25.EuiDatepickerModule, typeof i26.EuiDateRangeSelectorModule, typeof i27.EuiDropdownModule, typeof i28.EuiDialogModule, typeof i29.EuiGrowlModule, typeof i30.EuiSlideToggleModule, typeof i31.EuiTabsModule, typeof i32.EuiMenuModule, typeof i33.EuiMessageBoxModule, typeof i34.EuiListModule, typeof i35.EuiTableModule, typeof i36.EuiTableV2Module, typeof i37.EuiFileUploadModule, typeof i38.EuiPopoverModule, typeof i39.EuiFeedbackMessageModule, typeof i40.EuiTimepickerModule, typeof i41.EuiTreeModule, typeof i42.EuiInputCheckboxModule, typeof i43.EuiSelectModule, typeof i44.EuiInputRadioModule, typeof i45.EuiInputTextModule, typeof i46.EuiTextAreaModule, typeof i47.EuiInputGroupModule, typeof i48.EuiTruncatePipeModule, typeof i49.EuiFieldsetModule, typeof i50.EuiPaginatorModule, typeof i51.EuiButtonGroupModule, typeof i52.EuiProgressCircleModule, typeof i53.EuiDisableContentModule, typeof i54.EuiWizardModule, typeof i55.EuiTimelineModule, typeof i56.EuiTimebarModule, typeof i57.EuiDiscussionThreadModule, typeof i58.EuiSidebarMenuModule, typeof i59.EuiProgressBarModule, typeof i60.EuiTreeListModule, typeof i61.EuiAvatarModule, typeof i62.EuiSkeletonModule, typeof i63.EuiLanguageSelectorModule, typeof i64.EuiUserProfileModule, typeof i65.EuiAccordionModule, typeof i66.EuiSplitButtonModule, typeof i67.EuiBreadcrumbModule, typeof i68.EuiIconButtonExpanderModule, typeof i69.EuiIconInputModule, typeof i70.EuiIconButtonModule, typeof i71.EuiIconColorModule, typeof i72.EuiIconStateModule, typeof i73.EuiNavbarModule]>;
|
77
78
|
static ɵinj: i0.ɵɵInjectorDeclaration<EuiAllModule>;
|
78
79
|
}
|
79
80
|
//# sourceMappingURL=eui-all.module.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"eui-all.module.d.ts","sourceRoot":"","sources":["../../eui-all/eui-all.module.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"eui-all.module.d.ts","sourceRoot":"","sources":["../../eui-all/eui-all.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqLA,qBAIa,YAAY;yCAAZ,YAAY;0CAAZ,YAAY;0CAAZ,YAAY;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"eui-components-eui-navbar.d.ts","sourceRoot":"","sources":["../../eui-navbar/eui-components-eui-navbar.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,SAAS,CAAC"}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { EuiNavbarComponent } from '../eui-navbar.component';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class EuiNavbarItemComponent {
|
4
|
+
get cssClasses(): string;
|
5
|
+
tabindex: number;
|
6
|
+
id: string;
|
7
|
+
label: string;
|
8
|
+
isActive: boolean;
|
9
|
+
navBarComponentParent: EuiNavbarComponent;
|
10
|
+
constructor(navBarComponent: any);
|
11
|
+
protected onClick(): void;
|
12
|
+
protected onKeydown(event: KeyboardEvent): void;
|
13
|
+
private _click;
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EuiNavbarItemComponent, [{ optional: true; host: true; }]>;
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EuiNavbarItemComponent, "eui-navbar-item", never, { "id": { "alias": "id"; "required": false; }; "label": { "alias": "label"; "required": false; }; "isActive": { "alias": "isActive"; "required": false; }; }, {}, never, never, true, never>;
|
16
|
+
static ngAcceptInputType_isActive: unknown;
|
17
|
+
}
|
18
|
+
//# sourceMappingURL=eui-navbar-item.component.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"eui-navbar-item.component.d.ts","sourceRoot":"","sources":["../../../eui-navbar/eui-navbar-item/eui-navbar-item.component.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;;AAE7D,qBAMa,sBAAsB;IAC/B,IACI,UAAU,IAAI,MAAM,CAKvB;IAE6B,QAAQ,SAAK;IAElC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACiB,QAAQ,UAAS;IAEzD,qBAAqB,EAAE,kBAAkB,CAAC;gBAEoC,eAAe,KAAA;IAK7F,SAAS,CAAC,OAAO,IAAI,IAAI;IAKzB,SAAS,CAAC,SAAS,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI;IAW/C,OAAO,CAAC,MAAM;yCAtCL,sBAAsB;2CAAtB,sBAAsB;uCA0Cw2jC,OAAQ;CADl5jC"}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { EventEmitter, QueryList, ElementRef, AfterViewInit, AfterContentInit } from '@angular/core';
|
2
|
+
import { EuiNavbarItemComponent } from './eui-navbar-item/eui-navbar-item.component';
|
3
|
+
import { EuiAppShellService } from '@eui/core';
|
4
|
+
import { BaseStatesDirective } from '@eui/components/shared';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
import * as i1 from "@eui/components/shared";
|
7
|
+
export declare class EuiNavbarComponent implements AfterContentInit, AfterViewInit {
|
8
|
+
asService: EuiAppShellService;
|
9
|
+
private elementRef;
|
10
|
+
baseStatesDirective: BaseStatesDirective;
|
11
|
+
get cssClasses(): string;
|
12
|
+
itemClick: EventEmitter<string>;
|
13
|
+
items: QueryList<EuiNavbarItemComponent>;
|
14
|
+
baseItemSelected: EuiNavbarItemComponent;
|
15
|
+
isDropdownView: boolean;
|
16
|
+
constructor(asService: EuiAppShellService, elementRef: ElementRef, baseStatesDirective: BaseStatesDirective);
|
17
|
+
ngAfterContentInit(): void;
|
18
|
+
ngAfterViewInit(): void;
|
19
|
+
itemSelected(id: string): void;
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EuiNavbarComponent, never>;
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EuiNavbarComponent, "eui-navbar", never, {}, { "itemClick": "itemClick"; }, ["items"], ["*"], true, [{ directive: typeof i1.BaseStatesDirective; inputs: { "euiPrimary": "euiPrimary"; "euiSecondary": "euiSecondary"; }; outputs: {}; }]>;
|
22
|
+
}
|
23
|
+
//# sourceMappingURL=eui-navbar.component.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"eui-navbar.component.d.ts","sourceRoot":"","sources":["../../eui-navbar/eui-navbar.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAMH,YAAY,EAGZ,SAAS,EACT,UAAU,EACV,aAAa,EACb,gBAAgB,EACnB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AACrF,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAK/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;;;AAE7D,qBAyBa,kBAAmB,YAAW,gBAAgB,EAAE,aAAa;IAkB3D,SAAS,EAAE,kBAAkB;IACpC,OAAO,CAAC,UAAU;IACX,mBAAmB,EAAE,mBAAmB;IAnBnD,IACW,UAAU,IAAI,MAAM,CAM9B;IAES,SAAS,EAAE,YAAY,CAAC,MAAM,CAAC,CAAsB;IAEJ,KAAK,EAAE,SAAS,CAAC,sBAAsB,CAAC,CAAC;IAE7F,gBAAgB,EAAE,sBAAsB,CAAC;IACzC,cAAc,UAAS;gBAGnB,SAAS,EAAE,kBAAkB,EAC5B,UAAU,EAAE,UAAU,EACvB,mBAAmB,EAAE,mBAAmB;IAGnD,kBAAkB,IAAI,IAAI;IAI1B,eAAe,IAAI,IAAI;IAWhB,YAAY,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI;yCAtC5B,kBAAkB;2CAAlB,kBAAkB;CAgD9B"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "@angular/common";
|
3
|
+
import * as i2 from "./eui-navbar.component";
|
4
|
+
import * as i3 from "./eui-navbar-item/eui-navbar-item.component";
|
5
|
+
export declare class EuiNavbarModule {
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EuiNavbarModule, never>;
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<EuiNavbarModule, never, [typeof i1.CommonModule, typeof i2.EuiNavbarComponent, typeof i3.EuiNavbarItemComponent], [typeof i2.EuiNavbarComponent, typeof i3.EuiNavbarItemComponent]>;
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<EuiNavbarModule>;
|
9
|
+
}
|
10
|
+
//# sourceMappingURL=eui-navbar.module.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"eui-navbar.module.d.ts","sourceRoot":"","sources":["../../eui-navbar/eui-navbar.module.ts"],"names":[],"mappings":";;;;AAKA,qBAIa,eAAe;yCAAf,eAAe;0CAAf,eAAe;0CAAf,eAAe;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../eui-navbar/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,6CAA6C,CAAC;AAC5D,cAAc,qBAAqB,CAAC"}
|
@@ -66,11 +66,11 @@ class EuiBlockContentComponent {
|
|
66
66
|
return this.elRef.nativeElement.querySelector(':focus');
|
67
67
|
}
|
68
68
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.1", ngImport: i0, type: EuiBlockContentComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
69
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.1", type: EuiBlockContentComponent, selector: "eui-block-content", inputs: { role: "role", ariaLabel: "ariaLabel", isBlocked: ["isBlocked", "isBlocked", booleanAttribute] }, host: { properties: { "class": "this.cssClasses", "attr.role": "this.role", "attr.aria-label": "this.ariaLabel" } }, usesOnChanges: true, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [".eui-18 .eui-block-content{display:block;position:relative}.eui-18 .eui-block-content--blocked{min-height:
|
69
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.1", type: EuiBlockContentComponent, selector: "eui-block-content", inputs: { role: "role", ariaLabel: "ariaLabel", isBlocked: ["isBlocked", "isBlocked", booleanAttribute] }, host: { properties: { "class": "this.cssClasses", "attr.role": "this.role", "attr.aria-label": "this.ariaLabel" } }, usesOnChanges: true, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [".eui-18 .eui-block-content{display:block;position:relative}.eui-18 .eui-block-content--blocked{min-height:114px}.eui-18 .eui-block-content--blocked:before{border-top:var(--eui-s-2xs) solid currentcolor;border-right:var(--eui-s-2xs) solid currentcolor;border-bottom-style:solid;border-left-style:solid;border-radius:var(--eui-br-max);border-bottom-width:var(--eui-s-2xs);border-left-width:var(--eui-s-2xs);border-bottom-color:var(--eui-c-neutral-lightest);border-left-color:var(--eui-c-neutral-lightest);color:var(--eui-c-primary);-webkit-animation:spin .65s linear infinite;animation:spin .65s linear infinite;display:block;height:80px;left:50%;margin:-40px 0 0 -40px;top:50%;content:\"\";position:absolute;width:80px;z-index:var(--eui-zi-overlay)}.eui-18 .eui-block-content--blocked:after{background-color:#fff6;content:\"\";height:100%;left:0;position:absolute;top:0;width:100%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
70
70
|
}
|
71
71
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.1", ngImport: i0, type: EuiBlockContentComponent, decorators: [{
|
72
72
|
type: Component,
|
73
|
-
args: [{ selector: 'eui-block-content', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ng-content></ng-content>\n", styles: [".eui-18 .eui-block-content{display:block;position:relative}.eui-18 .eui-block-content--blocked{min-height:
|
73
|
+
args: [{ selector: 'eui-block-content', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ng-content></ng-content>\n", styles: [".eui-18 .eui-block-content{display:block;position:relative}.eui-18 .eui-block-content--blocked{min-height:114px}.eui-18 .eui-block-content--blocked:before{border-top:var(--eui-s-2xs) solid currentcolor;border-right:var(--eui-s-2xs) solid currentcolor;border-bottom-style:solid;border-left-style:solid;border-radius:var(--eui-br-max);border-bottom-width:var(--eui-s-2xs);border-left-width:var(--eui-s-2xs);border-bottom-color:var(--eui-c-neutral-lightest);border-left-color:var(--eui-c-neutral-lightest);color:var(--eui-c-primary);-webkit-animation:spin .65s linear infinite;animation:spin .65s linear infinite;display:block;height:80px;left:50%;margin:-40px 0 0 -40px;top:50%;content:\"\";position:absolute;width:80px;z-index:var(--eui-zi-overlay)}.eui-18 .eui-block-content--blocked:after{background-color:#fff6;content:\"\";height:100%;left:0;position:absolute;top:0;width:100%}\n"] }]
|
74
74
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { cssClasses: [{
|
75
75
|
type: HostBinding,
|
76
76
|
args: ['class']
|
@@ -0,0 +1,168 @@
|
|
1
|
+
import * as i0 from '@angular/core';
|
2
|
+
import { forwardRef, booleanAttribute, Component, ChangeDetectionStrategy, Host, Optional, Inject, HostBinding, Input, HostListener, EventEmitter, ViewEncapsulation, Output, ContentChildren, NgModule } from '@angular/core';
|
3
|
+
import * as i3 from '@eui/components/eui-dropdown';
|
4
|
+
import { EuiDropdownModule } from '@eui/components/eui-dropdown';
|
5
|
+
import * as i4 from '@eui/components/eui-button';
|
6
|
+
import { EuiButtonModule } from '@eui/components/eui-button';
|
7
|
+
import * as i5 from '@eui/components/eui-icon';
|
8
|
+
import { EuiIconModule } from '@eui/components/eui-icon';
|
9
|
+
import { AsyncPipe, NgForOf, NgFor, CommonModule } from '@angular/common';
|
10
|
+
import * as i2 from '@eui/components/shared';
|
11
|
+
import { BaseStatesDirective } from '@eui/components/shared';
|
12
|
+
import * as i1 from '@eui/core';
|
13
|
+
|
14
|
+
class EuiNavbarItemComponent {
|
15
|
+
get cssClasses() {
|
16
|
+
return [
|
17
|
+
'eui-navbar-item',
|
18
|
+
this.isActive ? 'eui-navbar-item--active' : '',
|
19
|
+
].join(' ').trim();
|
20
|
+
}
|
21
|
+
constructor(navBarComponent) {
|
22
|
+
this.tabindex = 0;
|
23
|
+
this.isActive = false;
|
24
|
+
this.navBarComponentParent = navBarComponent;
|
25
|
+
}
|
26
|
+
onClick() {
|
27
|
+
this._click();
|
28
|
+
}
|
29
|
+
onKeydown(event) {
|
30
|
+
switch (event.code) {
|
31
|
+
case 'Enter':
|
32
|
+
case 'Space':
|
33
|
+
event.preventDefault();
|
34
|
+
event.stopPropagation();
|
35
|
+
this._click();
|
36
|
+
break;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
_click() {
|
40
|
+
this.navBarComponentParent.itemSelected(this.id);
|
41
|
+
}
|
42
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.1", ngImport: i0, type: EuiNavbarItemComponent, deps: [{ token: forwardRef(() => EuiNavbarComponent), host: true, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
43
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.1", type: EuiNavbarItemComponent, isStandalone: true, selector: "eui-navbar-item", inputs: { id: "id", label: "label", isActive: ["isActive", "isActive", booleanAttribute] }, host: { listeners: { "click": "onClick()", "keydown": "onKeydown($event)" }, properties: { "class": "this.cssClasses", "attr.tabindex": "this.tabindex" } }, ngImport: i0, template: '{{ label }}', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
44
|
+
}
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.1", ngImport: i0, type: EuiNavbarItemComponent, decorators: [{
|
46
|
+
type: Component,
|
47
|
+
args: [{
|
48
|
+
selector: 'eui-navbar-item',
|
49
|
+
template: '{{ label }}',
|
50
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
51
|
+
standalone: true,
|
52
|
+
}]
|
53
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
54
|
+
type: Host
|
55
|
+
}, {
|
56
|
+
type: Optional
|
57
|
+
}, {
|
58
|
+
type: Inject,
|
59
|
+
args: [forwardRef(() => EuiNavbarComponent)]
|
60
|
+
}] }], propDecorators: { cssClasses: [{
|
61
|
+
type: HostBinding,
|
62
|
+
args: ['class']
|
63
|
+
}], tabindex: [{
|
64
|
+
type: HostBinding,
|
65
|
+
args: ['attr.tabindex']
|
66
|
+
}], id: [{
|
67
|
+
type: Input
|
68
|
+
}], label: [{
|
69
|
+
type: Input
|
70
|
+
}], isActive: [{
|
71
|
+
type: Input,
|
72
|
+
args: [{ transform: booleanAttribute }]
|
73
|
+
}], onClick: [{
|
74
|
+
type: HostListener,
|
75
|
+
args: ['click']
|
76
|
+
}], onKeydown: [{
|
77
|
+
type: HostListener,
|
78
|
+
args: ['keydown', ['$event']]
|
79
|
+
}] } });
|
80
|
+
|
81
|
+
class EuiNavbarComponent {
|
82
|
+
get cssClasses() {
|
83
|
+
return [
|
84
|
+
this.baseStatesDirective.getCssClasses('eui-navbar'),
|
85
|
+
]
|
86
|
+
.join(' ')
|
87
|
+
.trim();
|
88
|
+
}
|
89
|
+
constructor(asService, elementRef, baseStatesDirective) {
|
90
|
+
this.asService = asService;
|
91
|
+
this.elementRef = elementRef;
|
92
|
+
this.baseStatesDirective = baseStatesDirective;
|
93
|
+
this.itemClick = new EventEmitter();
|
94
|
+
this.isDropdownView = false;
|
95
|
+
}
|
96
|
+
ngAfterContentInit() {
|
97
|
+
this.baseItemSelected = this.items.filter((i) => i.isActive)[0];
|
98
|
+
}
|
99
|
+
ngAfterViewInit() {
|
100
|
+
const parentWidth = this.elementRef.nativeElement.parentWidth;
|
101
|
+
const width = this.elementRef.nativeElement.clientWidth;
|
102
|
+
if (width > parentWidth) {
|
103
|
+
setTimeout(() => {
|
104
|
+
this.isDropdownView = true;
|
105
|
+
}, 1);
|
106
|
+
}
|
107
|
+
}
|
108
|
+
itemSelected(id) {
|
109
|
+
this.items.forEach((item) => {
|
110
|
+
if (item.id === id) {
|
111
|
+
item.isActive = true;
|
112
|
+
}
|
113
|
+
else {
|
114
|
+
item.isActive = false;
|
115
|
+
}
|
116
|
+
});
|
117
|
+
this.itemClick.emit(id);
|
118
|
+
}
|
119
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.1", ngImport: i0, type: EuiNavbarComponent, deps: [{ token: i1.EuiAppShellService }, { token: i0.ElementRef }, { token: i2.BaseStatesDirective }], target: i0.ɵɵFactoryTarget.Component }); }
|
120
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.1", type: EuiNavbarComponent, isStandalone: true, selector: "eui-navbar", outputs: { itemClick: "itemClick" }, host: { properties: { "class": "this.cssClasses" } }, queries: [{ propertyName: "items", predicate: i0.forwardRef(() => EuiNavbarItemComponent) }], hostDirectives: [{ directive: i2.BaseStatesDirective, inputs: ["euiPrimary", "euiPrimary", "euiSecondary", "euiSecondary"] }], ngImport: i0, template: "@if ( (asService.breakpoints$ | async).isLtLargeTablet || isDropdownView ) {\n <eui-dropdown isLabelUpdatedFromSelectedItem>\n <button euiButton euiSecondary euiSizeS [attr.aria-label]=\"'Button trigger'\">\n <span class=\"eui-label\">{{ baseItemSelected.label }}</span>\n <eui-icon-svg icon=\"chevron-down:sharp\" size=\"s\"></eui-icon-svg>\n </button>\n <eui-dropdown-content>\n <button *ngFor=\"let item of items\" euiDropdownItem (click)=\"itemSelected(item.id)\" ariaLabel=\"{{ item.label }}\">\n {{ item.label }}\n </button>\n </eui-dropdown-content>\n </eui-dropdown>\n} @else {\n <ng-content></ng-content>\n}\n", styles: [".eui-18 .eui-navbar{display:flex;align-items:center;width:100%;padding:0 var(--eui-s-s);height:var(--eui-s-5xl)}.eui-18 .eui-navbar-item{display:flex;align-items:center;height:100%;padding:var(--eui-s-m) var(--eui-s-s);border-bottom:2px solid transparent;font:var(--eui-f-bold);cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:4px}.eui-18 .eui-navbar-item:focus-visible:not([readonly]){outline:2px solid var(--eui-c-focus-visible)!important;outline-offset:-2px!important;transition:none}.eui-18 .eui-navbar-item:hover{background-color:var(--eui-c-neutral-bg)}.eui-18 .eui-navbar-item--active{border-bottom:3px solid var(--eui-c-primary);color:var(--eui-c-primary)}\n"], dependencies: [{ kind: "ngmodule", type: EuiDropdownModule }, { kind: "component", type: i3.EuiDropdownComponent, selector: "eui-dropdown", inputs: ["e2eAttr", "tabIndex", "width", "position", "isBlock", "isDropDownRightAligned", "hasClosedOnClickInside", "isLabelUpdatedFromSelectedItem", "isExpandOnHover", "hasTabNavigation", "isRightClickEnabled", "euiDisabled"], outputs: ["expand"] }, { kind: "component", type: i3.EuiDropdownItemComponent, selector: "eui-dropdown-item, [euiDropdownItem]", inputs: ["subDropdown", "isActive"] }, { kind: "directive", type: i3.EuiDropdownContentDirective, selector: "eui-dropdown-content" }, { kind: "ngmodule", type: EuiButtonModule }, { kind: "component", type: i4.EuiButtonComponent, selector: "button[euiButton], a[euiButton]", inputs: ["e2eAttr", "id", "euiBasicButton", "euiButtonCall", "euiBlockButton", "euiIconButton", "euiLineWrap", "isChecked", "euiDisabled"], outputs: ["buttonClick"] }, { kind: "ngmodule", type: EuiIconModule }, { kind: "component", type: i5.EuiIconSvgComponent, selector: "eui-icon-svg, span[euiIconSvg], i[euiIconSvg]", inputs: ["icon", "fillColor", "set", "size", "style", "iconUrl", "transform", "euiVariant", "aria-label", "ariaHidden", "focusable", "isLoading", "isInputIcon", "euiStart", "euiEnd"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
|
121
|
+
}
|
122
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.1", ngImport: i0, type: EuiNavbarComponent, decorators: [{
|
123
|
+
type: Component,
|
124
|
+
args: [{ selector: 'eui-navbar', changeDetection: ChangeDetectionStrategy.Default, encapsulation: ViewEncapsulation.None, standalone: true, imports: [
|
125
|
+
EuiDropdownModule,
|
126
|
+
EuiButtonModule,
|
127
|
+
EuiIconModule,
|
128
|
+
AsyncPipe,
|
129
|
+
NgForOf,
|
130
|
+
NgFor,
|
131
|
+
], hostDirectives: [
|
132
|
+
{
|
133
|
+
directive: BaseStatesDirective,
|
134
|
+
inputs: [
|
135
|
+
'euiPrimary',
|
136
|
+
'euiSecondary',
|
137
|
+
],
|
138
|
+
},
|
139
|
+
], template: "@if ( (asService.breakpoints$ | async).isLtLargeTablet || isDropdownView ) {\n <eui-dropdown isLabelUpdatedFromSelectedItem>\n <button euiButton euiSecondary euiSizeS [attr.aria-label]=\"'Button trigger'\">\n <span class=\"eui-label\">{{ baseItemSelected.label }}</span>\n <eui-icon-svg icon=\"chevron-down:sharp\" size=\"s\"></eui-icon-svg>\n </button>\n <eui-dropdown-content>\n <button *ngFor=\"let item of items\" euiDropdownItem (click)=\"itemSelected(item.id)\" ariaLabel=\"{{ item.label }}\">\n {{ item.label }}\n </button>\n </eui-dropdown-content>\n </eui-dropdown>\n} @else {\n <ng-content></ng-content>\n}\n", styles: [".eui-18 .eui-navbar{display:flex;align-items:center;width:100%;padding:0 var(--eui-s-s);height:var(--eui-s-5xl)}.eui-18 .eui-navbar-item{display:flex;align-items:center;height:100%;padding:var(--eui-s-m) var(--eui-s-s);border-bottom:2px solid transparent;font:var(--eui-f-bold);cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:4px}.eui-18 .eui-navbar-item:focus-visible:not([readonly]){outline:2px solid var(--eui-c-focus-visible)!important;outline-offset:-2px!important;transition:none}.eui-18 .eui-navbar-item:hover{background-color:var(--eui-c-neutral-bg)}.eui-18 .eui-navbar-item--active{border-bottom:3px solid var(--eui-c-primary);color:var(--eui-c-primary)}\n"] }]
|
140
|
+
}], ctorParameters: () => [{ type: i1.EuiAppShellService }, { type: i0.ElementRef }, { type: i2.BaseStatesDirective }], propDecorators: { cssClasses: [{
|
141
|
+
type: HostBinding,
|
142
|
+
args: ['class']
|
143
|
+
}], itemClick: [{
|
144
|
+
type: Output
|
145
|
+
}], items: [{
|
146
|
+
type: ContentChildren,
|
147
|
+
args: [forwardRef(() => EuiNavbarItemComponent)]
|
148
|
+
}] } });
|
149
|
+
|
150
|
+
class EuiNavbarModule {
|
151
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.1", ngImport: i0, type: EuiNavbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
152
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.1", ngImport: i0, type: EuiNavbarModule, imports: [CommonModule, EuiNavbarComponent, EuiNavbarItemComponent], exports: [EuiNavbarComponent, EuiNavbarItemComponent] }); }
|
153
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.1", ngImport: i0, type: EuiNavbarModule, imports: [CommonModule, EuiNavbarComponent] }); }
|
154
|
+
}
|
155
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.1", ngImport: i0, type: EuiNavbarModule, decorators: [{
|
156
|
+
type: NgModule,
|
157
|
+
args: [{
|
158
|
+
imports: [CommonModule, EuiNavbarComponent, EuiNavbarItemComponent],
|
159
|
+
exports: [EuiNavbarComponent, EuiNavbarItemComponent],
|
160
|
+
}]
|
161
|
+
}] });
|
162
|
+
|
163
|
+
/**
|
164
|
+
* Generated bundle index. Do not edit.
|
165
|
+
*/
|
166
|
+
|
167
|
+
export { EuiNavbarComponent, EuiNavbarItemComponent, EuiNavbarModule };
|
168
|
+
//# sourceMappingURL=eui-components-eui-navbar.mjs.map
|