@eui/components 18.0.0-next.19 → 18.0.0-next.20
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 +2 -2
- package/docs/components/CollapsedBreadcrumbComponent.html +2 -2
- package/docs/components/DefaultComponent.html +2 -2
- package/docs/components/EuiAlertComponent.html +2 -2
- package/docs/components/EuiAlertTitleComponent.html +2 -2
- package/docs/components/EuiAppBreadcrumbComponent.html +2 -2
- package/docs/components/EuiAppComponent.html +2 -2
- package/docs/components/EuiAppFooterComponent.html +2 -2
- package/docs/components/EuiAppHeaderComponent.html +2 -2
- package/docs/components/EuiAppSidebarBodyComponent.html +2 -2
- package/docs/components/EuiAppSidebarComponent.html +2 -2
- package/docs/components/EuiAppSidebarDrawerComponent.html +2 -2
- package/docs/components/EuiAppSidebarFooterComponent.html +2 -2
- package/docs/components/EuiAppSidebarHeaderComponent.html +2 -2
- package/docs/components/EuiAppSidebarHeaderUserProfileComponent.html +2 -2
- package/docs/components/EuiAppSidebarMenuComponent.html +2 -2
- package/docs/components/EuiAppToolbarComponent.html +2 -2
- package/docs/components/EuiAppTopMessageComponent.html +2 -2
- package/docs/components/EuiAutocompleteAsyncTestComponent.html +2 -2
- package/docs/components/EuiAutocompleteChipsAsyncTestComponent.html +2 -2
- package/docs/components/EuiAutocompleteChipsTestComponent.html +2 -2
- package/docs/components/EuiAutocompleteComponent.html +2 -2
- package/docs/components/EuiAutocompleteOptionComponent.html +2 -2
- package/docs/components/EuiAutocompleteOptionGroupComponent.html +2 -2
- package/docs/components/EuiAutocompleteTestComponent.html +2 -2
- package/docs/components/EuiAvatarBadgeComponent.html +2 -2
- package/docs/components/EuiAvatarComponent.html +2 -2
- package/docs/components/EuiAvatarIconComponent.html +2 -2
- package/docs/components/EuiAvatarImageComponent.html +2 -2
- package/docs/components/EuiAvatarListComponent.html +2 -2
- package/docs/components/EuiAvatarTextComponent.html +2 -2
- package/docs/components/EuiBadgeComponent.html +3 -3
- package/docs/components/EuiBlockContentComponent.html +2 -2
- package/docs/components/EuiBlockDocumentComponent.html +2 -2
- package/docs/components/EuiBreadcrumbComponent.html +2 -2
- package/docs/components/EuiBreadcrumbItemComponent.html +2 -2
- package/docs/components/EuiButtonComponent.html +2 -2
- package/docs/components/EuiButtonGroupComponent.html +2 -2
- package/docs/components/EuiCardComponent.html +2 -2
- package/docs/components/EuiCardContentComponent.html +2 -2
- package/docs/components/EuiCardFooterActionButtonsComponent.html +2 -2
- package/docs/components/EuiCardFooterActionIconsComponent.html +2 -2
- package/docs/components/EuiCardFooterComponent.html +2 -2
- package/docs/components/EuiCardFooterMenuContentComponent.html +2 -2
- package/docs/components/EuiCardHeaderBodyComponent.html +2 -2
- package/docs/components/EuiCardHeaderComponent.html +2 -2
- package/docs/components/EuiCardHeaderLeftContentComponent.html +2 -2
- package/docs/components/EuiCardHeaderRightContentComponent.html +2 -2
- package/docs/components/EuiCardHeaderSubtitleComponent.html +2 -2
- package/docs/components/EuiCardHeaderTitleComponent.html +2 -2
- package/docs/components/EuiCardMediaComponent.html +2 -2
- package/docs/components/EuiChipComponent.html +2 -2
- package/docs/components/EuiChipListComponent.html +2 -2
- package/docs/components/EuiDashboardButtonComponent.html +2 -2
- package/docs/components/EuiDashboardCardComponent.html +2 -2
- package/docs/components/EuiDateRangeSelectorComponent.html +2 -2
- package/docs/components/EuiDatepickerComponent.html +2 -2
- package/docs/components/EuiDialogComponent.html +2 -2
- package/docs/components/EuiDialogContainerComponent.html +2 -2
- package/docs/components/EuiDimmerComponent.html +2 -2
- package/docs/components/EuiDisableContentComponent.html +2 -2
- package/docs/components/EuiDiscussionThreadComponent.html +2 -2
- package/docs/components/EuiDiscussionThreadItemComponent.html +2 -2
- package/docs/components/EuiDropdownComponent.html +2 -2
- package/docs/components/EuiDropdownItemComponent.html +2 -2
- package/docs/components/EuiEditorComponent.html +2 -2
- package/docs/components/EuiEditorCountersComponent.html +2 -2
- package/docs/components/EuiEditorHtmlViewComponent.html +2 -2
- package/docs/components/EuiEditorImageDialogComponent.html +2 -2
- package/docs/components/EuiEditorJsonViewComponent.html +2 -2
- package/docs/components/EuiFeedbackMessageComponent.html +2 -2
- package/docs/components/EuiFieldsetComponent.html +2 -2
- package/docs/components/EuiFilePreviewComponent.html +2 -2
- package/docs/components/EuiFileUploadComponent.html +2 -2
- package/docs/components/EuiFileUploadProgressComponent.html +2 -2
- package/docs/components/EuiFooterComponent.html +2 -2
- package/docs/components/EuiGrowlComponent.html +2 -2
- package/docs/components/EuiHeaderAppComponent.html +2 -2
- package/docs/components/EuiHeaderAppNameComponent.html +2 -2
- package/docs/components/EuiHeaderAppNameLogoComponent.html +2 -2
- package/docs/components/EuiHeaderAppSubtitleComponent.html +2 -2
- package/docs/components/EuiHeaderComponent.html +2 -2
- package/docs/components/EuiHeaderEnvironmentComponent.html +2 -2
- package/docs/components/EuiHeaderLogoComponent.html +2 -2
- package/docs/components/EuiHeaderRightContentComponent.html +2 -2
- package/docs/components/EuiHeaderUserProfileComponent.html +2 -2
- package/docs/components/EuiIconColorComponent.html +2 -2
- package/docs/components/EuiIconSvgButtonComponent.html +2 -2
- package/docs/components/EuiIconSvgComponent.html +2 -2
- package/docs/components/EuiIconToggleComponent.html +2 -2
- package/docs/components/EuiInputCheckboxComponent.html +2 -2
- package/docs/components/EuiInputGroupComponent.html +2 -2
- package/docs/components/EuiInputNumberComponent.html +2 -2
- package/docs/components/EuiInputRadioComponent.html +2 -2
- package/docs/components/EuiInputTextComponent.html +2 -2
- package/docs/components/EuiLabelComponent.html +2 -2
- package/docs/components/EuiLanguageSelectorComponent.html +2 -2
- package/docs/components/EuiListComponent.html +2 -2
- package/docs/components/EuiListItemComponent.html +2 -2
- package/docs/components/EuiMenuComponent.html +2 -2
- package/docs/components/EuiMenuItemComponent.html +2 -2
- package/docs/components/EuiMessageBoxComponent.html +2 -2
- package/docs/components/EuiModalSelectorComponent.html +2 -2
- package/docs/components/EuiNotificationItemComponent.html +2 -2
- package/docs/components/EuiNotificationItemV2Component.html +2 -2
- package/docs/components/EuiNotificationsComponent.html +2 -2
- package/docs/components/EuiNotificationsV2Component.html +2 -2
- package/docs/components/EuiOverlayBodyComponent.html +2 -2
- package/docs/components/EuiOverlayComponent.html +2 -2
- package/docs/components/EuiOverlayFooterComponent.html +2 -2
- package/docs/components/EuiOverlayHeaderComponent.html +2 -2
- package/docs/components/EuiOverlayHeaderTitleComponent.html +2 -2
- package/docs/components/EuiPageBreadcrumbComponent.html +2 -2
- package/docs/components/EuiPageColumnComponent.html +2 -2
- package/docs/components/EuiPageColumnsComponent.html +2 -2
- package/docs/components/EuiPageComponent.html +2 -2
- package/docs/components/EuiPageContentComponent.html +2 -2
- package/docs/components/EuiPageFooterComponent.html +2 -2
- package/docs/components/EuiPageHeaderComponent.html +2 -2
- package/docs/components/EuiPageHeroHeaderComponent.html +2 -2
- package/docs/components/EuiPageTopContentComponent.html +2 -2
- package/docs/components/EuiPaginatorComponent.html +2 -2
- package/docs/components/EuiPopoverComponent.html +2 -2
- package/docs/components/EuiProgressBarComponent.html +2 -2
- package/docs/components/EuiProgressCircleComponent.html +2 -2
- package/docs/components/EuiResizableComponent.html +2 -2
- package/docs/components/EuiSearchComponent.html +2 -2
- package/docs/components/EuiSelectComponent.html +2 -2
- package/docs/components/EuiSidebarMenuComponent.html +2 -2
- package/docs/components/EuiSidebarToggleComponent.html +2 -2
- package/docs/components/EuiSkeletonComponent.html +2 -2
- package/docs/components/EuiSlideToggleComponent.html +2 -2
- package/docs/components/EuiSlideToggleTestComponent.html +2 -2
- package/docs/components/EuiTabComponent.html +2 -2
- package/docs/components/EuiTabContentComponent.html +2 -2
- package/docs/components/EuiTabLabelComponent.html +2 -2
- package/docs/components/EuiTableComponent.html +2 -2
- package/docs/components/EuiTableExpandableRowComponent.html +2 -2
- package/docs/components/EuiTableFilterComponent.html +2 -2
- package/docs/components/EuiTableSelectableHeaderComponent.html +2 -2
- package/docs/components/EuiTableSelectableRowComponent.html +2 -2
- package/docs/components/EuiTableSortableColComponent.html +2 -2
- package/docs/components/EuiTabsComponent.html +2 -2
- package/docs/components/EuiTextareaComponent.html +2 -2
- package/docs/components/EuiTimebarComponent.html +2 -2
- package/docs/components/EuiTimelineComponent.html +2 -2
- package/docs/components/EuiTimelineItemComponent.html +2 -2
- package/docs/components/EuiTimepickerComponent.html +2 -2
- package/docs/components/EuiToolbarAppComponent.html +2 -2
- package/docs/components/EuiToolbarCenterComponent.html +2 -2
- package/docs/components/EuiToolbarComponent.html +2 -2
- package/docs/components/EuiToolbarEnvironmentComponent.html +2 -2
- package/docs/components/EuiToolbarItemComponent.html +2 -2
- package/docs/components/EuiToolbarItemsComponent.html +2 -2
- package/docs/components/EuiToolbarLogoComponent.html +2 -2
- package/docs/components/EuiToolbarMenuComponent.html +2 -2
- package/docs/components/EuiTooltipContainerComponent.html +2 -2
- package/docs/components/EuiTreeComponent.html +2 -2
- package/docs/components/EuiTreeListComponent.html +2 -2
- package/docs/components/EuiTreeListItemComponent.html +2 -2
- package/docs/components/EuiTreeListItemContentComponent.html +2 -2
- package/docs/components/EuiTreeListToolbarComponent.html +2 -2
- package/docs/components/EuiUserProfileCardComponent.html +2 -2
- package/docs/components/EuiUserProfileComponent.html +2 -2
- package/docs/components/EuiUserProfileMenuComponent.html +2 -2
- package/docs/components/EuiUserProfileMenuItemComponent.html +2 -2
- package/docs/components/EuiWizardComponent.html +2 -2
- package/docs/components/EuiWizardStepComponent.html +2 -2
- package/docs/components/PlaygroundComponent.html +2 -2
- package/docs/components/PlaygroundStickyLastColumnComponent.html +2 -2
- package/docs/components/QuillEditorComponent.html +2 -2
- package/docs/dependencies.html +1 -1
- package/docs/index.html +4 -4
- package/docs/js/menu-wc.js +6 -43
- package/docs/js/menu-wc_es5.js +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/docs/miscellaneous/variables.html +0 -1
- package/docs/modules/EuiAllModule.html +0 -6
- package/docs/modules/EuiAppModule.html +0 -6
- package/docs/modules/EuiLayoutModule.html +0 -6
- package/docs/modules.html +0 -12
- package/esm2022/eui-all/eui-all.module.mjs +1 -6
- package/esm2022/eui-badge/eui-badge.component.mjs +5 -6
- package/esm2022/eui-button/eui-button.component.mjs +2 -2
- package/eui-all/eui-all.module.d.ts +43 -44
- package/eui-all/eui-all.module.d.ts.map +1 -1
- package/eui-badge/eui-badge.component.d.ts +1 -1
- package/eui-badge/eui-badge.component.d.ts.map +1 -1
- package/fesm2022/eui-components-eui-badge.mjs +4 -5
- package/fesm2022/eui-components-eui-badge.mjs.map +2 -2
- package/fesm2022/eui-components-eui-button.mjs +2 -2
- package/fesm2022/eui-components-eui-button.mjs.map +1 -1
- package/fesm2022/eui-components.mjs +0 -5
- package/fesm2022/eui-components.mjs.map +2 -2
- package/package.json +3 -9
- package/docs/components/EuiButtonsComponent.html +0 -1613
- package/docs/directives/EuiButtonsActionsContentTagDirective.html +0 -342
- package/docs/directives/EuiButtonsLocalMenuContentTagDirective.html +0 -342
- package/docs/interfaces/BookmarkedEvent.html +0 -305
- package/docs/modules/EuiButtonsModule.html +0 -262
- package/esm2022/eui-buttons/eui-buttons.component.mjs +0 -143
- package/esm2022/eui-buttons/eui-components-eui-buttons.mjs +0 -5
- package/esm2022/eui-buttons/index.mjs +0 -2
- package/eui-buttons/eui-buttons.component.d.ts +0 -59
- package/eui-buttons/eui-buttons.component.d.ts.map +0 -1
- package/eui-buttons/eui-components-eui-buttons.d.ts.map +0 -1
- package/eui-buttons/index.d.ts +0 -2
- package/eui-buttons/index.d.ts.map +0 -1
- package/eui-buttons/package.json +0 -3
- package/fesm2022/eui-components-eui-buttons.mjs +0 -386
- package/fesm2022/eui-components-eui-buttons.mjs.map +0 -7
@@ -1,143 +0,0 @@
|
|
1
|
-
import { Component, Input, NgModule, Directive, ContentChild, forwardRef, ChangeDetectionStrategy, EventEmitter, Output, HostBinding, ViewEncapsulation, } from '@angular/core';
|
2
|
-
import { NavigationEnd } from '@angular/router';
|
3
|
-
import { CommonModule } from '@angular/common';
|
4
|
-
import { TranslateModule } from '@ngx-translate/core';
|
5
|
-
import { BaseDirective } from '@eui/components/shared';
|
6
|
-
import { EuiButtonModule } from '@eui/components/eui-button';
|
7
|
-
import { EuiDropdownModule } from '@eui/components/eui-dropdown';
|
8
|
-
import { EuiListModule } from '@eui/components/eui-list';
|
9
|
-
import { EuiIconModule } from '@eui/components/eui-icon';
|
10
|
-
import { EuiLabelModule } from '@eui/components/eui-label';
|
11
|
-
import { coerceBooleanProperty } from '@angular/cdk/coercion';
|
12
|
-
import * as i0 from "@angular/core";
|
13
|
-
import * as i1 from "@eui/core";
|
14
|
-
import * as i2 from "@angular/router";
|
15
|
-
import * as i3 from "@angular/common";
|
16
|
-
import * as i4 from "@eui/components/eui-button";
|
17
|
-
import * as i5 from "@eui/components/eui-dropdown";
|
18
|
-
import * as i6 from "@eui/components/eui-icon";
|
19
|
-
import * as i7 from "@eui/components/eui-label";
|
20
|
-
import * as i8 from "@eui/components/eui-list";
|
21
|
-
import * as i9 from "@ngx-translate/core";
|
22
|
-
export class EuiButtonsComponent extends BaseDirective {
|
23
|
-
get cssClasses() {
|
24
|
-
return [super.getCssClasses('eui-buttons')].join(' ').trim();
|
25
|
-
}
|
26
|
-
get hasLocalMenu() {
|
27
|
-
return this._hasLocalMenu;
|
28
|
-
}
|
29
|
-
set hasLocalMenu(value) {
|
30
|
-
this._hasLocalMenu = coerceBooleanProperty(value);
|
31
|
-
}
|
32
|
-
get isBookmarkable() {
|
33
|
-
return this._isBookmarkable;
|
34
|
-
}
|
35
|
-
set isBookmarkable(value) {
|
36
|
-
this._isBookmarkable = coerceBooleanProperty(value);
|
37
|
-
}
|
38
|
-
get isBookmarked() {
|
39
|
-
return this._isBookmarked;
|
40
|
-
}
|
41
|
-
set isBookmarked(value) {
|
42
|
-
this._isBookmarked = coerceBooleanProperty(value);
|
43
|
-
}
|
44
|
-
constructor(asService, router) {
|
45
|
-
super();
|
46
|
-
this.asService = asService;
|
47
|
-
this.router = router;
|
48
|
-
this.bookmark = new EventEmitter();
|
49
|
-
this._hasLocalMenu = false;
|
50
|
-
this._isBookmarkable = false;
|
51
|
-
this._isBookmarked = false;
|
52
|
-
this.currentRoute = this._getCurrentUrl(this.router.url);
|
53
|
-
this.router.events.subscribe((event) => {
|
54
|
-
if (event instanceof NavigationEnd) {
|
55
|
-
this.currentRoute = this._getCurrentUrl(event.url);
|
56
|
-
}
|
57
|
-
});
|
58
|
-
}
|
59
|
-
ngAfterContentInit() {
|
60
|
-
if (!this.e2eAttr) {
|
61
|
-
this.e2eAttr = 'eui-buttons';
|
62
|
-
}
|
63
|
-
}
|
64
|
-
onBookmarkToggle() {
|
65
|
-
this.isBookmarked = !this.isBookmarked;
|
66
|
-
this.bookmark.emit({ isBookmarked: this.isBookmarked, url: this.currentRoute });
|
67
|
-
}
|
68
|
-
onPrint() {
|
69
|
-
window.print();
|
70
|
-
}
|
71
|
-
_getCurrentUrl(currentRoute) {
|
72
|
-
return window.location.origin + currentRoute;
|
73
|
-
}
|
74
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.3", ngImport: i0, type: EuiButtonsComponent, deps: [{ token: i1.EuiAppShellService }, { token: i2.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
75
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.0-next.3", type: EuiButtonsComponent, selector: "eui-buttons", inputs: { localMenuLabel: "localMenuLabel", hasLocalMenu: "hasLocalMenu", isBookmarkable: "isBookmarkable", isBookmarked: "isBookmarked" }, outputs: { bookmark: "bookmark" }, host: { properties: { "class": "this.cssClasses" } }, queries: [{ propertyName: "customActionsContent", first: true, predicate: i0.forwardRef(() => EuiButtonsActionsContentTagDirective), descendants: true }, { propertyName: "customLocalMenuContent", first: true, predicate: i0.forwardRef(() => EuiButtonsLocalMenuContentTagDirective), descendants: true }], usesInheritance: true, ngImport: i0, template: "<div\n class=\"eui-buttons-wrapper\"\n [class.eui-buttons-wrapper--mobile]=\"(asService.breakpoints$ | async).isMobile || (asService.breakpoints$ | async).isTablet\">\n <div class=\"eui-buttons__actions-container\">\n <!-- ACTION BUTTONS -->\n <ng-container *ngIf=\"!((asService.breakpoints$ | async).isMobile || (asService.breakpoints$ | async).isTablet)\">\n <ng-container *ngTemplateOutlet=\"actionsButtons\"></ng-container>\n </ng-container>\n\n <!-- BOOKMARK BUTTON -->\n <button\n *ngIf=\"isBookmarkable && !((asService.breakpoints$ | async).isMobile || (asService.breakpoints$ | async).isTablet)\"\n euiButton\n euiOutline\n euiSecondary\n type=\"button\"\n [title]=\"\n isBookmarked ? ('eui.pageHeader.REMOVE-BOOKMARK.tooltip' | translate) : ('eui.pageHeader.ADD-BOOKMARK.tooltip' | translate)\n \"\n [attr.aria-label]=\"\n isBookmarked ? ('eui.pageHeader.REMOVE-BOOKMARK.tooltip' | translate) : ('eui.pageHeader.ADD-BOOKMARK.tooltip' | translate)\n \"\n (click)=\"onBookmarkToggle()\">\n <eui-icon-svg *ngIf=\"isBookmarked\" icon=\"eui-bookmark\"></eui-icon-svg>\n <eui-icon-svg *ngIf=\"!isBookmarked\" icon=\"eui-bookmark-outline\"></eui-icon-svg>\n <span *ngIf=\"isBookmarked\">{{ 'eui.pageHeader.REMOVE-BOOKMARK' | translate }}</span>\n <span *ngIf=\"!isBookmarked\">{{ 'eui.pageHeader.ADD-BOOKMARK' | translate }}</span>\n </button>\n\n <!-- LOCAL MENU WHEN IN MOBILE/TABLET MODE -->\n <div\n *ngIf=\"hasLocalMenu || (asService.breakpoints$ | async).isMobile || (asService.breakpoints$ | async).isTablet\"\n class=\"eui-buttons__local-menu\"\n [class.eui-buttons__local-menu--mobile]=\"(asService.breakpoints$ | async).isMobile || (asService.breakpoints$ | async).isTablet\"\n euiSizeS>\n <eui-dropdown>\n <button\n euiButton\n euiPrimary\n type=\"button\"\n [euiOutline]=\"localMenuLabel\"\n [euiBasicButton]=\"!localMenuLabel\"\n [euiRounded]=\"!localMenuLabel\"\n [euiIconButton]=\"!localMenuLabel\">\n <span *ngIf=\"localMenuLabel\" euiLabel>{{ localMenuLabel }}</span>\n <eui-icon-svg icon=\"eui-ellipsis-vertical\"></eui-icon-svg>\n </button>\n <eui-dropdown-content>\n <!-- Action buttons -->\n <ng-container\n *ngIf=\"\n customActionsContent && ((asService.breakpoints$ | async).isMobile || (asService.breakpoints$ | async).isTablet)\n \">\n <ng-container *ngTemplateOutlet=\"actionsButtons\"></ng-container>\n </ng-container>\n\n <!-- Local menu items -->\n <ng-container *ngIf=\"hasLocalMenu && customLocalMenuContent && customLocalMenuContent.length !== 0\">\n <ng-container *ngTemplateOutlet=\"localMenu\"></ng-container>\n </ng-container>\n\n <!-- Extra menu items -->\n <ul euiList class=\"eui-buttons__local-menu-extras\">\n <li\n *ngIf=\"\n isBookmarkable && ((asService.breakpoints$ | async).isMobile || (asService.breakpoints$ | async).isTablet)\n \"\n euiListItem\n [title]=\"\n isBookmarked\n ? ('eui.pageHeader.REMOVE-BOOKMARK-TOOLTIP' | translate)\n : ('eui.pageHeader.ADD-BOOKMARK-TOOLTIP' | translate)\n \"\n [attr.aria-label]=\"\n isBookmarked\n ? ('eui.pageHeader.REMOVE-BOOKMARK-TOOLTIP' | translate)\n : ('eui.pageHeader.ADD-BOOKMARK-TOOLTIP' | translate)\n \"\n (click)=\"onBookmarkToggle()\">\n <eui-icon-svg *ngIf=\"isBookmarked\" icon=\"eui-bookmark\" fillColor=\"info-100\" size=\"s\"></eui-icon-svg>\n <eui-icon-svg *ngIf=\"!isBookmarked\" icon=\"eui-bookmark-outline\" fillColor=\"info-100\" size=\"s\"></eui-icon-svg>\n <span *ngIf=\"isBookmarked\" euiLabel>{{ 'eui.pageHeader.REMOVE-BOOKMARK' | translate }}</span>\n <span *ngIf=\"!isBookmarked\" euiLabel>{{ 'eui.pageHeader.ADD-BOOKMARK' | translate }}</span>\n </li>\n </ul>\n </eui-dropdown-content>\n </eui-dropdown>\n </div>\n </div>\n</div>\n\n<ng-template #actionsButtons>\n <div\n class=\"eui-buttons__actions-content-wrapper\"\n [class.eui-buttons__actions-content--mobile]=\"\n (asService.breakpoints$ | async).isMobile || (asService.breakpoints$ | async).isTablet\n \">\n <ng-content select=\"euiButtonsActionsContent\"></ng-content>\n </div>\n</ng-template>\n\n<ng-template #localMenu>\n <div\n class=\"eui-buttons__local-menu-content-wrapper\"\n [class.eui-buttons__local-menu-content--mobile]=\"\n (asService.breakpoints$ | async).isMobile || (asService.breakpoints$ | async).isTablet\n \">\n <ng-content select=\"euiButtonsLocalMenuContent\"></ng-content>\n </div>\n</ng-template>\n", styles: [".eui-buttons{display:flex;flex-direction:column;width:100%}.eui-buttons-wrapper{max-width:100%;align-items:center;display:flex;width:100%}.eui-buttons__actions-container{align-items:center;display:flex;flex:1 0 auto;justify-content:flex-end}.eui-buttons__actions-container button{margin-left:var(--eui-base-spacing-xs)}.eui-buttons__actions-content-wrapper{align-items:center;display:flex;flex-direction:row;overflow:visible}.eui-buttons__actions-content-wrapper--mobile{display:block;width:100%}.eui-buttons__actions-content-wrapper--mobile .eui-buttons__actions-content{display:block;margin:var(--eui-base-spacing-xs);position:relative}.eui-buttons__actions-content-wrapper--mobile .eui-buttons__actions-content button{align-items:center;display:flex;margin-bottom:var(--eui-base-spacing-xs);min-height:calc(2 * var(--eui-base-spacing-m));width:100%}.eui-buttons__local-menu{align-items:center;display:flex}.eui-buttons__local-menu__action-buttons{margin:0 var(--eui-base-spacing-s)}.eui-buttons__local-menu__action-buttons button,.eui-buttons__local-menu__action-buttons div{margin-bottom:var(--eui-base-spacing-xs)}.eui-buttons__local-menu__action-buttons--mobile,.eui-buttons__local-menu-content-wrapper{display:block;width:100%}.eui-buttons__local-menu-content-wrapper .eui-buttons__local-menu-content{display:block;position:relative;width:100%}.eui-buttons__local-menu-content-wrapper .eui-buttons__local-menu-content button{align-items:center;display:flex;margin-bottom:var(--eui-base-spacing-xs);margin-top:var(--eui-base-spacing-xs);min-height:calc(2 * var(--eui-base-spacing-m));width:100%}.eui-buttons__local-menu-content-wrapper--mobile .container{padding-left:var(--eui-base-spacing-xs);padding-right:var(--eui-base-spacing-xs)}.eui-buttons__local-menu-extras{border-top:1px ridge var(--eui-base-color-grey-20);color:var(--eui-base-color-info-100)}.eui-buttons--size-s .eui-button{min-height:calc(2 * var(--eui-base-spacing-m))}.eui-buttons--size-m .eui-button{min-height:42px;min-width:42px}.eui-buttons--size-l .eui-button{height:calc(3.25 * var(--eui-base-spacing-m));min-height:calc(3.25 * var(--eui-base-spacing-m))}\n"], dependencies: [{ kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i4.EuiButtonComponent, selector: "button[euiButton], a[euiButton]", inputs: ["e2eAttr", "id", "euiBasicButton", "euiButtonCall", "euiBlockButton", "isLoading", "euiIconButton", "euiLineWrap"], outputs: ["buttonClick"] }, { kind: "component", type: i5.EuiDropdownComponent, selector: "eui-dropdown", inputs: ["e2eAttr", "tabIndex", "width", "position", "isBlock", "isDropDownRightAligned", "isClosedOnClickInside", "hasClosedOnClickInside", "isLabelUpdatedFromSelectedItem", "isExpandOnHover", "hasTabNavigation", "isRightClickEnabled"] }, { kind: "directive", type: i5.EuiDropdownContentDirective, selector: "eui-dropdown-content" }, { kind: "component", type: i6.EuiIconSvgComponent, selector: "eui-icon-svg, span[euiIconSvg], i[euiIconSvg]", inputs: ["icon", "size", "fillColor", "set", "ariaLabelledby", "role", "style", "iconUrl", "transform", "aria-label", "ariaHidden", "focusable", "isLoading"] }, { kind: "component", type: i7.EuiLabelComponent, selector: "label[euiLabel], span[euiLabel], div[euiLabel], a[euiLabel], eui-label, label[euiSublabel], span[euiSublabel], div[euiSublabel], a[euiSublabel], eui-sublabel", inputs: ["euiRequired", "euiReadonly", "euiSublabel"] }, { kind: "component", type: i8.EuiListComponent, selector: "[euiList], eui-list", inputs: ["isCollapsible"] }, { kind: "component", type: i8.EuiListItemComponent, selector: "[euiListItem], eui-list-item", inputs: ["disabled", "isCollapsible", "isCollapsed", "isActive"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: i9.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
76
|
-
}
|
77
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.3", ngImport: i0, type: EuiButtonsComponent, decorators: [{
|
78
|
-
type: Component,
|
79
|
-
args: [{ selector: 'eui-buttons', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div\n class=\"eui-buttons-wrapper\"\n [class.eui-buttons-wrapper--mobile]=\"(asService.breakpoints$ | async).isMobile || (asService.breakpoints$ | async).isTablet\">\n <div class=\"eui-buttons__actions-container\">\n <!-- ACTION BUTTONS -->\n <ng-container *ngIf=\"!((asService.breakpoints$ | async).isMobile || (asService.breakpoints$ | async).isTablet)\">\n <ng-container *ngTemplateOutlet=\"actionsButtons\"></ng-container>\n </ng-container>\n\n <!-- BOOKMARK BUTTON -->\n <button\n *ngIf=\"isBookmarkable && !((asService.breakpoints$ | async).isMobile || (asService.breakpoints$ | async).isTablet)\"\n euiButton\n euiOutline\n euiSecondary\n type=\"button\"\n [title]=\"\n isBookmarked ? ('eui.pageHeader.REMOVE-BOOKMARK.tooltip' | translate) : ('eui.pageHeader.ADD-BOOKMARK.tooltip' | translate)\n \"\n [attr.aria-label]=\"\n isBookmarked ? ('eui.pageHeader.REMOVE-BOOKMARK.tooltip' | translate) : ('eui.pageHeader.ADD-BOOKMARK.tooltip' | translate)\n \"\n (click)=\"onBookmarkToggle()\">\n <eui-icon-svg *ngIf=\"isBookmarked\" icon=\"eui-bookmark\"></eui-icon-svg>\n <eui-icon-svg *ngIf=\"!isBookmarked\" icon=\"eui-bookmark-outline\"></eui-icon-svg>\n <span *ngIf=\"isBookmarked\">{{ 'eui.pageHeader.REMOVE-BOOKMARK' | translate }}</span>\n <span *ngIf=\"!isBookmarked\">{{ 'eui.pageHeader.ADD-BOOKMARK' | translate }}</span>\n </button>\n\n <!-- LOCAL MENU WHEN IN MOBILE/TABLET MODE -->\n <div\n *ngIf=\"hasLocalMenu || (asService.breakpoints$ | async).isMobile || (asService.breakpoints$ | async).isTablet\"\n class=\"eui-buttons__local-menu\"\n [class.eui-buttons__local-menu--mobile]=\"(asService.breakpoints$ | async).isMobile || (asService.breakpoints$ | async).isTablet\"\n euiSizeS>\n <eui-dropdown>\n <button\n euiButton\n euiPrimary\n type=\"button\"\n [euiOutline]=\"localMenuLabel\"\n [euiBasicButton]=\"!localMenuLabel\"\n [euiRounded]=\"!localMenuLabel\"\n [euiIconButton]=\"!localMenuLabel\">\n <span *ngIf=\"localMenuLabel\" euiLabel>{{ localMenuLabel }}</span>\n <eui-icon-svg icon=\"eui-ellipsis-vertical\"></eui-icon-svg>\n </button>\n <eui-dropdown-content>\n <!-- Action buttons -->\n <ng-container\n *ngIf=\"\n customActionsContent && ((asService.breakpoints$ | async).isMobile || (asService.breakpoints$ | async).isTablet)\n \">\n <ng-container *ngTemplateOutlet=\"actionsButtons\"></ng-container>\n </ng-container>\n\n <!-- Local menu items -->\n <ng-container *ngIf=\"hasLocalMenu && customLocalMenuContent && customLocalMenuContent.length !== 0\">\n <ng-container *ngTemplateOutlet=\"localMenu\"></ng-container>\n </ng-container>\n\n <!-- Extra menu items -->\n <ul euiList class=\"eui-buttons__local-menu-extras\">\n <li\n *ngIf=\"\n isBookmarkable && ((asService.breakpoints$ | async).isMobile || (asService.breakpoints$ | async).isTablet)\n \"\n euiListItem\n [title]=\"\n isBookmarked\n ? ('eui.pageHeader.REMOVE-BOOKMARK-TOOLTIP' | translate)\n : ('eui.pageHeader.ADD-BOOKMARK-TOOLTIP' | translate)\n \"\n [attr.aria-label]=\"\n isBookmarked\n ? ('eui.pageHeader.REMOVE-BOOKMARK-TOOLTIP' | translate)\n : ('eui.pageHeader.ADD-BOOKMARK-TOOLTIP' | translate)\n \"\n (click)=\"onBookmarkToggle()\">\n <eui-icon-svg *ngIf=\"isBookmarked\" icon=\"eui-bookmark\" fillColor=\"info-100\" size=\"s\"></eui-icon-svg>\n <eui-icon-svg *ngIf=\"!isBookmarked\" icon=\"eui-bookmark-outline\" fillColor=\"info-100\" size=\"s\"></eui-icon-svg>\n <span *ngIf=\"isBookmarked\" euiLabel>{{ 'eui.pageHeader.REMOVE-BOOKMARK' | translate }}</span>\n <span *ngIf=\"!isBookmarked\" euiLabel>{{ 'eui.pageHeader.ADD-BOOKMARK' | translate }}</span>\n </li>\n </ul>\n </eui-dropdown-content>\n </eui-dropdown>\n </div>\n </div>\n</div>\n\n<ng-template #actionsButtons>\n <div\n class=\"eui-buttons__actions-content-wrapper\"\n [class.eui-buttons__actions-content--mobile]=\"\n (asService.breakpoints$ | async).isMobile || (asService.breakpoints$ | async).isTablet\n \">\n <ng-content select=\"euiButtonsActionsContent\"></ng-content>\n </div>\n</ng-template>\n\n<ng-template #localMenu>\n <div\n class=\"eui-buttons__local-menu-content-wrapper\"\n [class.eui-buttons__local-menu-content--mobile]=\"\n (asService.breakpoints$ | async).isMobile || (asService.breakpoints$ | async).isTablet\n \">\n <ng-content select=\"euiButtonsLocalMenuContent\"></ng-content>\n </div>\n</ng-template>\n", styles: [".eui-buttons{display:flex;flex-direction:column;width:100%}.eui-buttons-wrapper{max-width:100%;align-items:center;display:flex;width:100%}.eui-buttons__actions-container{align-items:center;display:flex;flex:1 0 auto;justify-content:flex-end}.eui-buttons__actions-container button{margin-left:var(--eui-base-spacing-xs)}.eui-buttons__actions-content-wrapper{align-items:center;display:flex;flex-direction:row;overflow:visible}.eui-buttons__actions-content-wrapper--mobile{display:block;width:100%}.eui-buttons__actions-content-wrapper--mobile .eui-buttons__actions-content{display:block;margin:var(--eui-base-spacing-xs);position:relative}.eui-buttons__actions-content-wrapper--mobile .eui-buttons__actions-content button{align-items:center;display:flex;margin-bottom:var(--eui-base-spacing-xs);min-height:calc(2 * var(--eui-base-spacing-m));width:100%}.eui-buttons__local-menu{align-items:center;display:flex}.eui-buttons__local-menu__action-buttons{margin:0 var(--eui-base-spacing-s)}.eui-buttons__local-menu__action-buttons button,.eui-buttons__local-menu__action-buttons div{margin-bottom:var(--eui-base-spacing-xs)}.eui-buttons__local-menu__action-buttons--mobile,.eui-buttons__local-menu-content-wrapper{display:block;width:100%}.eui-buttons__local-menu-content-wrapper .eui-buttons__local-menu-content{display:block;position:relative;width:100%}.eui-buttons__local-menu-content-wrapper .eui-buttons__local-menu-content button{align-items:center;display:flex;margin-bottom:var(--eui-base-spacing-xs);margin-top:var(--eui-base-spacing-xs);min-height:calc(2 * var(--eui-base-spacing-m));width:100%}.eui-buttons__local-menu-content-wrapper--mobile .container{padding-left:var(--eui-base-spacing-xs);padding-right:var(--eui-base-spacing-xs)}.eui-buttons__local-menu-extras{border-top:1px ridge var(--eui-base-color-grey-20);color:var(--eui-base-color-info-100)}.eui-buttons--size-s .eui-button{min-height:calc(2 * var(--eui-base-spacing-m))}.eui-buttons--size-m .eui-button{min-height:42px;min-width:42px}.eui-buttons--size-l .eui-button{height:calc(3.25 * var(--eui-base-spacing-m));min-height:calc(3.25 * var(--eui-base-spacing-m))}\n"] }]
|
80
|
-
}], ctorParameters: () => [{ type: i1.EuiAppShellService }, { type: i2.Router }], propDecorators: { cssClasses: [{
|
81
|
-
type: HostBinding,
|
82
|
-
args: ['class']
|
83
|
-
}], localMenuLabel: [{
|
84
|
-
type: Input
|
85
|
-
}], bookmark: [{
|
86
|
-
type: Output
|
87
|
-
}], customActionsContent: [{
|
88
|
-
type: ContentChild,
|
89
|
-
args: [forwardRef(() => EuiButtonsActionsContentTagDirective), { static: false }]
|
90
|
-
}], customLocalMenuContent: [{
|
91
|
-
type: ContentChild,
|
92
|
-
args: [forwardRef(() => EuiButtonsLocalMenuContentTagDirective), { static: false }]
|
93
|
-
}], hasLocalMenu: [{
|
94
|
-
type: Input
|
95
|
-
}], isBookmarkable: [{
|
96
|
-
type: Input
|
97
|
-
}], isBookmarked: [{
|
98
|
-
type: Input
|
99
|
-
}] } });
|
100
|
-
/* eslint-disable */
|
101
|
-
export class EuiButtonsActionsContentTagDirective {
|
102
|
-
constructor() {
|
103
|
-
this.klass = 'eui-buttons__actions-content';
|
104
|
-
}
|
105
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.3", ngImport: i0, type: EuiButtonsActionsContentTagDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
106
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.3", type: EuiButtonsActionsContentTagDirective, selector: "euiButtonsActionsContent", host: { properties: { "class": "this.klass" } }, ngImport: i0 }); }
|
107
|
-
}
|
108
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.3", ngImport: i0, type: EuiButtonsActionsContentTagDirective, decorators: [{
|
109
|
-
type: Directive,
|
110
|
-
args: [{ selector: 'euiButtonsActionsContent' }]
|
111
|
-
}], propDecorators: { klass: [{
|
112
|
-
type: HostBinding,
|
113
|
-
args: ['class']
|
114
|
-
}] } });
|
115
|
-
export class EuiButtonsLocalMenuContentTagDirective {
|
116
|
-
constructor() {
|
117
|
-
this.klass = 'eui-buttons__local-menu-content';
|
118
|
-
}
|
119
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.3", ngImport: i0, type: EuiButtonsLocalMenuContentTagDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
120
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.3", type: EuiButtonsLocalMenuContentTagDirective, selector: "euiButtonsLocalMenuContent", host: { properties: { "class": "this.klass" } }, ngImport: i0 }); }
|
121
|
-
}
|
122
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.3", ngImport: i0, type: EuiButtonsLocalMenuContentTagDirective, decorators: [{
|
123
|
-
type: Directive,
|
124
|
-
args: [{ selector: 'euiButtonsLocalMenuContent' }]
|
125
|
-
}], propDecorators: { klass: [{
|
126
|
-
type: HostBinding,
|
127
|
-
args: ['class']
|
128
|
-
}] } });
|
129
|
-
/* eslint-enable */
|
130
|
-
export class EuiButtonsModule {
|
131
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.3", ngImport: i0, type: EuiButtonsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
132
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-next.3", ngImport: i0, type: EuiButtonsModule, declarations: [EuiButtonsComponent, EuiButtonsActionsContentTagDirective, EuiButtonsLocalMenuContentTagDirective], imports: [CommonModule, TranslateModule, EuiButtonModule, EuiDropdownModule, EuiIconModule, EuiLabelModule, EuiListModule], exports: [EuiButtonsComponent, EuiButtonsActionsContentTagDirective, EuiButtonsLocalMenuContentTagDirective] }); }
|
133
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-next.3", ngImport: i0, type: EuiButtonsModule, imports: [CommonModule, TranslateModule, EuiButtonModule, EuiDropdownModule, EuiIconModule, EuiLabelModule, EuiListModule] }); }
|
134
|
-
}
|
135
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.3", ngImport: i0, type: EuiButtonsModule, decorators: [{
|
136
|
-
type: NgModule,
|
137
|
-
args: [{
|
138
|
-
imports: [CommonModule, TranslateModule, EuiButtonModule, EuiDropdownModule, EuiIconModule, EuiLabelModule, EuiListModule],
|
139
|
-
declarations: [EuiButtonsComponent, EuiButtonsActionsContentTagDirective, EuiButtonsLocalMenuContentTagDirective],
|
140
|
-
exports: [EuiButtonsComponent, EuiButtonsActionsContentTagDirective, EuiButtonsLocalMenuContentTagDirective],
|
141
|
-
}]
|
142
|
-
}] });
|
143
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXVpLWJ1dHRvbnMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vZXVpLWJ1dHRvbnMvZXVpLWJ1dHRvbnMuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vZXVpLWJ1dHRvbnMvZXVpLWJ1dHRvbnMuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNILFNBQVMsRUFDVCxLQUFLLEVBQ0wsUUFBUSxFQUNSLFNBQVMsRUFDVCxZQUFZLEVBRVosVUFBVSxFQUVWLHVCQUF1QixFQUN2QixZQUFZLEVBQ1osTUFBTSxFQUNOLFdBQVcsRUFDWCxpQkFBaUIsR0FDcEIsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFVLGFBQWEsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQ3hELE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFHdEQsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQ3ZELE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUM3RCxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSw4QkFBOEIsQ0FB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YnV0dG9uXG4gICAgICAgICAgICAgICAgICAgIGV1aUJ1dHRvblxuICAgICAgICAgICAgICAgICAgICBldWlQcmltYXJ5XG4gICAgICAgICAgICAgICAgICAgIHR5cGU9XCJidXR0b25cIlxuICAgICAgICAgICAgICAgICAgICBbZXVpT3V0bGluZV09XCJsb2NhbE1lbnVMYWJlbFwiXG4gICAgICAgICAgICAgICAgICAgIFtldWlCYXNpY0J1dHRvbl09XCIhbG9jYWxNZW51TGFiZWxcIlxuICAgICAgICAgICAgICAgICAgICBbZXVpUm91bmRlZF09XCIhbG9jYWxNZW51TGFiZWxcIlxuICAgICAgICAgICAgICAgICAgICBbZXVpSWNvbkJ1dHRvbl09XCIhbG9jYWxNZW51TGFiZWxcIj5cbiAgICAgICAgICAgICAgICAgICAgPHNwYW4gKm5nSWY9XCJsb2NhbE1lbnVMYWJlbFwiIGV1aUxhYmVsPnt7IGxvY2FsTWVudUxhYmVsIH19PC9zcGFuPlxuICAgICAgICAgICAgICAgICAgICA8ZXVpLWljb24tc3ZnIGljb249XCJldWktZWxsaXBzaXMtdmVydGljYWxcIj48L2V1aS1pY29uLXN2Zz5cbiAgICAgICAgICAgICAgICA8L2J1dHRvbj5cbiAgICAgICAgICAgICAgICA8ZXVpLWRyb3Bkb3duLWNvbnRlbnQ+XG4gICAgICAgICAgICAgICAgICAgIDwhLS0gQWN0aW9uIGJ1dHRvbnMgLS0+XG4gICAgICAgICAgICAgICAgICAgIDxuZy1jb250YWluZXJcbiAgICAgICAgICAgICAgICAgICAgICAgICpuZ0lmPVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY3VzdG9tQWN0aW9uc0NvbnRlbnQgJiYgKChhc1NlcnZpY2UuYnJlYWtwb2ludHMkIHwgYXN5bmMpLmlzTW9iaWxlIHx8IChhc1NlcnZpY2UuYnJlYWtwb2ludHMkIHwgYXN5bmMpLmlzVGFibGV0KVxuICAgICAgICAgICAgICAgICAgICAgICAgXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICA8bmctY29udGFpbmVyICpuZ1RlbXBsYXRlT3V0bGV0PVwiYWN0aW9uc0J1dHRvbnNcIj48L25nLWNvbnRhaW5lcj5cbiAgICAgICAgICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XG5cbiAgICAgICAgICAgICAgICAgICAgPCEtLSBMb2NhbCBtZW51IGl0ZW1zIC0tPlxuICAgICAgICAgICAgICAgICAgICA8bmctY29udGFpbmVyICpuZ0lmPVwiaGFzTG9jYWxNZW51ICYmIGN1c3RvbUxvY2FsTWVudUNvbnRlbnQgJiYgY3VzdG9tTG9jYWxNZW51Q29udGVudC5sZW5ndGggIT09IDBcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxuZy1jb250YWluZXIgKm5nVGVtcGxhdGVPdXRsZXQ9XCJsb2NhbE1lbnVcIj48L25nLWNvbnRhaW5lcj5cbiAgICAgICAgICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XG5cbiAgICAgICAgICAgICAgICAgICAgPCEtLSBFeHRyYSBtZW51IGl0ZW1zIC0tPlxuICAgICAgICAgICAgICAgICAgICA8dWwgZXVpTGlzdCBjbGFzcz1cImV1aS1idXR0b25zX19sb2NhbC1tZW51LWV4dHJhc1wiPlxuICAgICAgICAgICAgICAgICAgICAgICAgPGxpXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgKm5nSWY9XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaXNCb29rbWFya2FibGUgJiYgKChhc1NlcnZpY2UuYnJlYWtwb2ludHMkIHwgYXN5bmMpLmlzTW9iaWxlIHx8IChhc1NlcnZpY2UuYnJlYWtwb2ludHMkIHwgYXN5bmMpLmlzVGFibGV0KVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZXVpTGlzdEl0ZW1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBbdGl0bGVdPVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlzQm9va21hcmtlZFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPyAoJ2V1aS5wYWdlSGVhZGVyLlJFTU9WRS1CT09LTUFSSy1UT09MVElQJyB8IHRyYW5zbGF0ZSlcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDogKCdldWkucGFnZUhlYWRlci5BREQtQk9PS01BUkstVE9PTFRJUCcgfCB0cmFuc2xhdGUpXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBbYXR0ci5hcmlhLWxhYmVsXT1cIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpc0Jvb2ttYXJrZWRcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgID8gKCdldWkucGFnZUhlYWRlci5SRU1PVkUtQk9PS01BUkstVE9PTFRJUCcgfCB0cmFuc2xhdGUpXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA6ICgnZXVpLnBhZ2VIZWFkZXIuQURELUJPT0tNQVJLLVRPT0xUSVAnIHwgdHJhbnNsYXRlKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgKGNsaWNrKT1cIm9uQm9va21hcmtUb2dnbGUoKVwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxldWktaWNvbi1zdmcgKm5nSWY9XCJpc0Jvb2ttYXJrZWRcIiBpY29uPVwiZXVpLWJvb2ttYXJrXCIgZmlsbENvbG9yPVwiaW5mby0xMDBcIiBzaXplPVwic1wiPjwvZXVpLWljb24tc3ZnPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxldWktaWNvbi1zdmcgKm5nSWY9XCIhaXNCb29rbWFya2VkXCIgaWNvbj1cImV1aS1ib29rbWFyay1vdXRsaW5lXCIgZmlsbENvbG9yPVwiaW5mby0xMDBcIiBzaXplPVwic1wiP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gICAgIGNsYXNzPVwiZXVpLWJ1dHRvbnNfX2xvY2FsLW1lbnUtY29udGVudC13cmFwcGVyXCJcbiAgICAgICAgW2NsYXNzLmV1aS1idXR0b25zX19sb2NhbC1tZW51LWNvbnRlbnQtLW1vYmlsZV09XCJcbiAgICAgICAgICAgIChhc1NlcnZpY2UuYnJlYWtwb2ludHMkIHwgYXN5bmMpLmlzTW9iaWxlIHx8IChhc1NlcnZpY2UuYnJlYWtwb2ludHMkIHwgYXN5bmMpLmlzVGFibGV0XG4gICAgICAgIFwiPlxuICAgICAgICA8bmctY29udGVudCBzZWxlY3Q9XCJldWlCdXR0b25zTG9jYWxNZW51Q29udGVudFwiPjwvbmctY29udGVudD5cbiAgICA8L2Rpdj5cbjwvbmctdGVtcGxhdGU+XG4iXX0=
|
@@ -1,5 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Generated bundle index. Do not edit.
|
3
|
-
*/
|
4
|
-
export * from './index';
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXVpLWNvbXBvbmVudHMtZXVpLWJ1dHRvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9ldWktYnV0dG9ucy9ldWktY29tcG9uZW50cy1ldWktYnV0dG9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
@@ -1,2 +0,0 @@
|
|
1
|
-
export * from './eui-buttons.component';
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9ldWktYnV0dG9ucy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHlCQUF5QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9ldWktYnV0dG9ucy5jb21wb25lbnQnO1xuIl19
|
@@ -1,59 +0,0 @@
|
|
1
|
-
import { QueryList, AfterContentInit, EventEmitter } from '@angular/core';
|
2
|
-
import { Router } from '@angular/router';
|
3
|
-
import { EuiAppShellService } from '@eui/core';
|
4
|
-
import { BaseDirective } from '@eui/components/shared';
|
5
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
6
|
-
import * as i0 from "@angular/core";
|
7
|
-
import * as i1 from "@angular/common";
|
8
|
-
import * as i2 from "@ngx-translate/core";
|
9
|
-
import * as i3 from "@eui/components/eui-button";
|
10
|
-
import * as i4 from "@eui/components/eui-dropdown";
|
11
|
-
import * as i5 from "@eui/components/eui-icon";
|
12
|
-
import * as i6 from "@eui/components/eui-label";
|
13
|
-
import * as i7 from "@eui/components/eui-list";
|
14
|
-
export interface BookmarkedEvent {
|
15
|
-
isBookmarked: boolean;
|
16
|
-
url: string;
|
17
|
-
}
|
18
|
-
export declare class EuiButtonsComponent extends BaseDirective implements AfterContentInit {
|
19
|
-
asService: EuiAppShellService;
|
20
|
-
private router;
|
21
|
-
get cssClasses(): string;
|
22
|
-
localMenuLabel: string;
|
23
|
-
bookmark: EventEmitter<BookmarkedEvent>;
|
24
|
-
customActionsContent: QueryList<EuiButtonsActionsContentTagDirective>;
|
25
|
-
customLocalMenuContent: QueryList<EuiButtonsLocalMenuContentTagDirective>;
|
26
|
-
currentRoute: string;
|
27
|
-
get hasLocalMenu(): boolean;
|
28
|
-
set hasLocalMenu(value: BooleanInput);
|
29
|
-
private _hasLocalMenu;
|
30
|
-
get isBookmarkable(): boolean;
|
31
|
-
set isBookmarkable(value: BooleanInput);
|
32
|
-
private _isBookmarkable;
|
33
|
-
get isBookmarked(): boolean;
|
34
|
-
set isBookmarked(value: BooleanInput);
|
35
|
-
private _isBookmarked;
|
36
|
-
constructor(asService: EuiAppShellService, router: Router);
|
37
|
-
ngAfterContentInit(): void;
|
38
|
-
onBookmarkToggle(): void;
|
39
|
-
onPrint(): void;
|
40
|
-
private _getCurrentUrl;
|
41
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EuiButtonsComponent, never>;
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EuiButtonsComponent, "eui-buttons", never, { "localMenuLabel": { "alias": "localMenuLabel"; "required": false; }; "hasLocalMenu": { "alias": "hasLocalMenu"; "required": false; }; "isBookmarkable": { "alias": "isBookmarkable"; "required": false; }; "isBookmarked": { "alias": "isBookmarked"; "required": false; }; }, { "bookmark": "bookmark"; }, ["customActionsContent", "customLocalMenuContent"], ["euiButtonsActionsContent", "euiButtonsLocalMenuContent"], false, never>;
|
43
|
-
}
|
44
|
-
export declare class EuiButtonsActionsContentTagDirective {
|
45
|
-
klass: string;
|
46
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EuiButtonsActionsContentTagDirective, never>;
|
47
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<EuiButtonsActionsContentTagDirective, "euiButtonsActionsContent", never, {}, {}, never, never, false, never>;
|
48
|
-
}
|
49
|
-
export declare class EuiButtonsLocalMenuContentTagDirective {
|
50
|
-
klass: string;
|
51
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EuiButtonsLocalMenuContentTagDirective, never>;
|
52
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<EuiButtonsLocalMenuContentTagDirective, "euiButtonsLocalMenuContent", never, {}, {}, never, never, false, never>;
|
53
|
-
}
|
54
|
-
export declare class EuiButtonsModule {
|
55
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EuiButtonsModule, never>;
|
56
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<EuiButtonsModule, [typeof EuiButtonsComponent, typeof EuiButtonsActionsContentTagDirective, typeof EuiButtonsLocalMenuContentTagDirective], [typeof i1.CommonModule, typeof i2.TranslateModule, typeof i3.EuiButtonModule, typeof i4.EuiDropdownModule, typeof i5.EuiIconModule, typeof i6.EuiLabelModule, typeof i7.EuiListModule], [typeof EuiButtonsComponent, typeof EuiButtonsActionsContentTagDirective, typeof EuiButtonsLocalMenuContentTagDirective]>;
|
57
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<EuiButtonsModule>;
|
58
|
-
}
|
59
|
-
//# sourceMappingURL=eui-buttons.component.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"eui-buttons.component.d.ts","sourceRoot":"","sources":["../../eui-buttons/eui-buttons.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAMH,SAAS,EAET,gBAAgB,EAEhB,YAAY,EAIf,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,MAAM,EAAiB,MAAM,iBAAiB,CAAC;AAIxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAMvD,OAAO,EAAyB,YAAY,EAAE,MAAM,uBAAuB,CAAC;;;;;;;;;AAE5E,MAAM,WAAW,eAAe;IAC5B,YAAY,EAAC,OAAO,CAAC;IACrB,GAAG,EAAE,MAAM,CAAA;CACd;AAED,qBAOa,mBAAoB,SAAQ,aAAc,YAAW,gBAAgB;IA0CnE,SAAS,EAAE,kBAAkB;IACpC,OAAO,CAAC,MAAM;IA1ClB,IACI,UAAU,IAAI,MAAM,CAEvB;IACQ,cAAc,EAAE,MAAM,CAAC;IAEtB,QAAQ,EAAE,YAAY,CAAC,eAAe,CAAC,CAAsB;IAGvE,oBAAoB,EAAE,SAAS,CAAC,oCAAoC,CAAC,CAAC;IAEtE,sBAAsB,EAAE,SAAS,CAAC,sCAAsC,CAAC,CAAC;IAEnE,YAAY,EAAE,MAAM,CAAC;IAE5B,IACI,YAAY,IAAI,OAAO,CAE1B;IACD,IAAI,YAAY,CAAC,KAAK,EAAE,YAAY,EAEnC;IACD,OAAO,CAAC,aAAa,CAAS;IAC9B,IACI,cAAc,IAAI,OAAO,CAE5B;IACD,IAAI,cAAc,CAAC,KAAK,EAAE,YAAY,EAErC;IACD,OAAO,CAAC,eAAe,CAAS;IAChC,IACI,YAAY,IAAI,OAAO,CAE1B;IACD,IAAI,YAAY,CAAC,KAAK,EAAE,YAAY,EAEnC;IACD,OAAO,CAAC,aAAa,CAAS;gBAGnB,SAAS,EAAE,kBAAkB,EAC5B,MAAM,EAAE,MAAM;IAW1B,kBAAkB,IAAI,IAAI;IAMnB,gBAAgB,IAAI,IAAI;IAKxB,OAAO,IAAI,IAAI;IAItB,OAAO,CAAC,cAAc;yCArEb,mBAAmB;2CAAnB,mBAAmB;CAwE/B;AAGD,qBACa,oCAAoC;IACvB,KAAK,SAAiC;yCADnD,oCAAoC;2CAApC,oCAAoC;CAEhD;AAED,qBACa,sCAAsC;IACzB,KAAK,SAAoC;yCADtD,sCAAsC;2CAAtC,sCAAsC;CAElD;AAGD,qBAKa,gBAAgB;yCAAhB,gBAAgB;0CAAhB,gBAAgB,UA3FhB,mBAAmB,SA4EnB,oCAAoC,SAKpC,sCAAsC,oMAjFtC,mBAAmB,SA4EnB,oCAAoC,SAKpC,sCAAsC;0CAUtC,gBAAgB;CAAG"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"eui-components-eui-buttons.d.ts","sourceRoot":"","sources":["../../eui-buttons/eui-components-eui-buttons.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,SAAS,CAAC"}
|
package/eui-buttons/index.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../eui-buttons/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
|
package/eui-buttons/package.json
DELETED