@eui/components 18.0.0-next.68 → 18.0.0-next.69
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/EuiIconButtonComponent.html +1 -1
- package/docs/components/EuiIconButtonExpanderComponent.html +1 -1
- package/docs/components/EuiIconInputComponent.html +1 -1
- package/docs/components/EuiLanguageSelectorComponent.html +1 -1
- package/docs/dependencies.html +1 -1
- package/docs/index.html +1 -1
- package/docs/js/menu-wc.js +101 -59
- package/docs/js/menu-wc_es5.js +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/docs/miscellaneous/variables.html +4 -3
- package/docs/modules/EuiAllModule.html +18 -0
- package/docs/modules/EuiAppModule.html +18 -0
- package/docs/modules/EuiAppTopMessageModule.html +3 -0
- package/docs/modules/EuiCardModule.html +3 -0
- package/docs/modules/EuiChipModule.html +3 -0
- package/docs/modules/EuiFieldsetModule.html +3 -0
- package/docs/modules/EuiGrowlModule.html +3 -0
- package/docs/modules/EuiIconButtonExpanderModule.html +238 -0
- package/docs/modules/EuiIconButtonModule.html +238 -0
- package/docs/modules/EuiIconInputModule.html +238 -0
- package/docs/modules/EuiIconModule.html +0 -18
- package/docs/modules/EuiLayoutModule.html +18 -0
- package/docs/modules/EuiMenuModule.html +3 -0
- package/docs/modules/EuiNotificationsModule.html +3 -0
- package/docs/modules/EuiNotificationsV2Module.html +3 -0
- package/docs/modules/EuiSearchModule.html +3 -0
- package/docs/modules/EuiSidebarToggleModule.html +1 -1
- package/docs/modules/EuiTreeListModule.html +3 -0
- package/docs/modules.html +36 -0
- package/esm2022/eui-all/eui-all.module.mjs +19 -4
- package/esm2022/eui-breadcrumb/breadcrumb.module.mjs +8 -5
- package/esm2022/eui-card/components/eui-card-header/eui-card-header.component.mjs +3 -2
- package/esm2022/eui-card/eui-card.module.mjs +13 -4
- package/esm2022/eui-chip/eui-chip.component.mjs +1 -1
- package/esm2022/eui-chip/eui-chip.module.mjs +5 -4
- package/esm2022/eui-fieldset/eui-fieldset.component.mjs +3 -2
- package/esm2022/eui-fieldset/eui-fieldset.module.mjs +5 -4
- package/esm2022/eui-growl/eui-growl.component.mjs +4 -3
- package/esm2022/eui-growl/eui-growl.module.mjs +5 -4
- package/esm2022/eui-icon/eui-icon.module.mjs +3 -15
- package/esm2022/eui-icon/index.mjs +1 -4
- package/esm2022/eui-icon-button/eui-components-eui-icon-button.mjs +5 -0
- package/esm2022/{eui-icon/eui-icon-button → eui-icon-button}/eui-icon-button.component.mjs +2 -2
- package/esm2022/eui-icon-button/eui-icon-button.module.mjs +24 -0
- package/esm2022/eui-icon-button/index.mjs +3 -0
- package/esm2022/eui-icon-button-expander/eui-components-eui-icon-button-expander.mjs +5 -0
- package/esm2022/{eui-icon/eui-icon-button-expander → eui-icon-button-expander}/eui-icon-button-expander.component.mjs +2 -2
- package/esm2022/eui-icon-button-expander/eui-icon-button-expander.module.mjs +24 -0
- package/esm2022/eui-icon-button-expander/index.mjs +3 -0
- package/esm2022/eui-icon-input/eui-components-eui-icon-input.mjs +5 -0
- package/esm2022/{eui-icon/eui-icon-input → eui-icon-input}/eui-icon-input.component.mjs +1 -1
- package/esm2022/eui-icon-input/eui-icon-input.module.mjs +24 -0
- package/esm2022/eui-icon-input/index.mjs +3 -0
- package/esm2022/eui-language-selector/language-selector.component.mjs +3 -3
- package/esm2022/eui-menu/eui-menu.component.mjs +6 -5
- package/esm2022/eui-menu/eui-menu.module.mjs +5 -4
- package/esm2022/eui-search/search.component.mjs +8 -7
- package/esm2022/eui-search/search.module.mjs +5 -4
- package/esm2022/eui-tree-list/eui-tree-list-item.component.mjs +3 -3
- package/esm2022/eui-tree-list/eui-tree-list.module.mjs +5 -1
- package/esm2022/layout/eui-app/eui-app-top-message/top-message.component.mjs +1 -1
- package/esm2022/layout/eui-app/eui-app-top-message/top-message.module.mjs +5 -4
- package/esm2022/layout/eui-notifications/eui-notifications.component.mjs +5 -4
- package/esm2022/layout/eui-notifications/eui-notifications.module.mjs +10 -4
- package/esm2022/layout/eui-notifications-v2/eui-notifications.component.mjs +5 -4
- package/esm2022/layout/eui-notifications-v2/eui-notifications.module.mjs +10 -4
- package/esm2022/layout/eui-sidebar-toggle/sidebar-toggle.component.mjs +1 -1
- package/esm2022/layout/eui-sidebar-toggle/sidebar-toggle.module.mjs +5 -5
- package/eui-all/eui-all.module.d.ts +4 -1
- package/eui-all/eui-all.module.d.ts.map +1 -1
- package/eui-breadcrumb/breadcrumb.module.d.ts.map +1 -1
- package/eui-card/eui-card.module.d.ts +2 -1
- package/eui-card/eui-card.module.d.ts.map +1 -1
- package/eui-chip/eui-chip.module.d.ts +3 -2
- package/eui-chip/eui-chip.module.d.ts.map +1 -1
- package/eui-fieldset/eui-fieldset.module.d.ts +3 -2
- package/eui-fieldset/eui-fieldset.module.d.ts.map +1 -1
- package/eui-growl/eui-growl.module.d.ts +3 -2
- package/eui-growl/eui-growl.module.d.ts.map +1 -1
- package/eui-icon/eui-icon.module.d.ts +2 -5
- package/eui-icon/eui-icon.module.d.ts.map +1 -1
- package/eui-icon/index.d.ts +0 -3
- package/eui-icon/index.d.ts.map +1 -1
- package/eui-icon-button/eui-components-eui-icon-button.d.ts.map +1 -0
- package/eui-icon-button/eui-icon-button.component.d.ts.map +1 -0
- package/eui-icon-button/eui-icon-button.module.d.ts +10 -0
- package/eui-icon-button/eui-icon-button.module.d.ts.map +1 -0
- package/eui-icon-button/index.d.ts +3 -0
- package/eui-icon-button/index.d.ts.map +1 -0
- package/eui-icon-button/package.json +3 -0
- package/eui-icon-button-expander/eui-components-eui-icon-button-expander.d.ts.map +1 -0
- package/eui-icon-button-expander/eui-icon-button-expander.component.d.ts.map +1 -0
- package/eui-icon-button-expander/eui-icon-button-expander.module.d.ts +10 -0
- package/eui-icon-button-expander/eui-icon-button-expander.module.d.ts.map +1 -0
- package/eui-icon-button-expander/index.d.ts +3 -0
- package/eui-icon-button-expander/index.d.ts.map +1 -0
- package/eui-icon-button-expander/package.json +3 -0
- package/eui-icon-input/eui-components-eui-icon-input.d.ts.map +1 -0
- package/eui-icon-input/eui-icon-input.component.d.ts.map +1 -0
- package/eui-icon-input/eui-icon-input.module.d.ts +10 -0
- package/eui-icon-input/eui-icon-input.module.d.ts.map +1 -0
- package/eui-icon-input/index.d.ts +3 -0
- package/eui-icon-input/index.d.ts.map +1 -0
- package/eui-icon-input/package.json +3 -0
- package/eui-menu/eui-menu.module.d.ts +8 -7
- package/eui-menu/eui-menu.module.d.ts.map +1 -1
- package/eui-search/search.module.d.ts +8 -7
- package/eui-search/search.module.d.ts.map +1 -1
- package/eui-tree-list/eui-tree-list.module.d.ts +4 -3
- package/eui-tree-list/eui-tree-list.module.d.ts.map +1 -1
- package/fesm2022/eui-components-eui-breadcrumb.mjs +4 -4
- package/fesm2022/eui-components-eui-breadcrumb.mjs.map +2 -2
- package/fesm2022/eui-components-eui-card.mjs +32 -6
- package/fesm2022/eui-components-eui-card.mjs.map +2 -2
- package/fesm2022/eui-components-eui-chip.mjs +5 -4
- package/fesm2022/eui-components-eui-chip.mjs.map +2 -2
- package/fesm2022/eui-components-eui-fieldset.mjs +6 -4
- package/fesm2022/eui-components-eui-fieldset.mjs.map +2 -2
- package/fesm2022/eui-components-eui-growl.mjs +7 -5
- package/fesm2022/eui-components-eui-growl.mjs.map +2 -2
- package/fesm2022/eui-components-eui-icon-button-expander.mjs +137 -0
- package/fesm2022/eui-components-eui-icon-button-expander.mjs.map +7 -0
- package/fesm2022/eui-components-eui-icon-button.mjs +94 -0
- package/fesm2022/eui-components-eui-icon-button.mjs.map +7 -0
- package/fesm2022/eui-components-eui-icon-input.mjs +74 -0
- package/fesm2022/eui-components-eui-icon-input.mjs.map +7 -0
- package/fesm2022/eui-components-eui-icon.mjs +16 -217
- package/fesm2022/eui-components-eui-icon.mjs.map +4 -4
- package/fesm2022/eui-components-eui-language-selector.mjs +2 -2
- package/fesm2022/eui-components-eui-language-selector.mjs.map +2 -2
- package/fesm2022/eui-components-eui-menu.mjs +8 -3
- package/fesm2022/eui-components-eui-menu.mjs.map +2 -2
- package/fesm2022/eui-components-eui-search.mjs +11 -6
- package/fesm2022/eui-components-eui-search.mjs.map +2 -2
- package/fesm2022/eui-components-eui-tree-list.mjs +7 -3
- package/fesm2022/eui-components-eui-tree-list.mjs.map +2 -2
- package/fesm2022/eui-components-layout.mjs +89 -30
- package/fesm2022/eui-components-layout.mjs.map +3 -3
- package/fesm2022/eui-components.mjs +19 -4
- package/fesm2022/eui-components.mjs.map +2 -2
- package/layout/eui-app/eui-app-top-message/top-message.module.d.ts +2 -1
- package/layout/eui-app/eui-app-top-message/top-message.module.d.ts.map +1 -1
- package/layout/eui-notifications/eui-notifications.module.d.ts +2 -1
- package/layout/eui-notifications/eui-notifications.module.d.ts.map +1 -1
- package/layout/eui-notifications-v2/eui-notifications.module.d.ts +2 -1
- package/layout/eui-notifications-v2/eui-notifications.module.d.ts.map +1 -1
- package/layout/eui-sidebar-toggle/sidebar-toggle.module.d.ts +2 -2
- package/package.json +27 -9
- package/eui-icon/eui-icon-button/eui-icon-button.component.d.ts.map +0 -1
- package/eui-icon/eui-icon-button-expander/eui-icon-button-expander.component.d.ts.map +0 -1
- package/eui-icon/eui-icon-input/eui-icon-input.component.d.ts.map +0 -1
- /package/{eui-icon/eui-icon-button → eui-icon-button}/eui-icon-button.component.d.ts +0 -0
- /package/{eui-icon/eui-icon-button-expander → eui-icon-button-expander}/eui-icon-button-expander.component.d.ts +0 -0
- /package/{eui-icon/eui-icon-input → eui-icon-input}/eui-icon-input.component.d.ts +0 -0
@@ -31,8 +31,8 @@ import * as i02 from "@angular/core";
|
|
31
31
|
import * as i1 from "@angular/router";
|
32
32
|
import * as i2 from "@eui/components/shared";
|
33
33
|
import * as i3 from "@angular/common";
|
34
|
-
import * as i4 from "@eui/components/eui-
|
35
|
-
import * as i5 from "@eui/components/eui-
|
34
|
+
import * as i4 from "@eui/components/eui-label";
|
35
|
+
import * as i5 from "@eui/components/eui-icon-button-expander";
|
36
36
|
var EuiTreeListItemComponent = class _EuiTreeListItemComponent {
|
37
37
|
get cssClasses() {
|
38
38
|
return this.getCssClasses();
|
@@ -179,7 +179,7 @@ var EuiTreeListItemComponent = class _EuiTreeListItemComponent {
|
|
179
179
|
this.ɵfac = i02.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i02, type: _EuiTreeListItemComponent, deps: [{ token: forwardRef(() => EuiTreeListComponent), host: true, optional: true }, { token: i1.Router }, { token: i02.ElementRef }, { token: i2.BaseStatesDirective }], target: i02.ɵɵFactoryTarget.Component });
|
180
180
|
}
|
181
181
|
static {
|
182
|
-
this.ɵcmp = i02.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.0.0-rc.1", type: _EuiTreeListItemComponent, selector: "eui-tree-list-item", inputs: { id: "id", ariaLabel: "ariaLabel", e2eAttr: "e2eAttr", label: "label", linkUrl: "linkUrl", subLabel: "subLabel", url: "url", subLinks: "subLinks", isActive: ["isActive", "isActive", booleanAttribute], isExpanded: ["isExpanded", "isExpanded", booleanAttribute], isAlwaysExpanded: ["isAlwaysExpanded", "isAlwaysExpanded", booleanAttribute], isVisible: ["isVisible", "isVisible", booleanAttribute], isDisplaySubLinksOnHover: ["isDisplaySubLinksOnHover", "isDisplaySubLinksOnHover", booleanAttribute], isNavigateOnlyOnLabelClick: ["isNavigateOnlyOnLabelClick", "isNavigateOnlyOnLabelClick", booleanAttribute] }, outputs: { toggled: "toggled" }, host: { properties: { "class": "this.cssClasses", "attr.tabindex": "this.tabIndex", "attr.role": "this.ariaRole", "attr.id": "this.id", "attr.aria-label": "this.ariaLabel", "attr.data-e2e": "this.e2eAttr" } }, queries: [{ propertyName: "customLabel", first: true, predicate: i02.forwardRef(() => EuiTreeListItemLabelTagDirective), descendants: true }, { propertyName: "customDetailContent", first: true, predicate: i02.forwardRef(() => EuiTreeListItemDetailsContentTagDirective), descendants: true }, { propertyName: "customSubContainerContent", first: true, predicate: i02.forwardRef(() => EuiTreeListItemSubContainerContentTagDirective), descendants: true }, { propertyName: "subTreeList", predicate: i02.forwardRef(() => EuiTreeListComponent), descendants: true }, { propertyName: "customContent", predicate: i02.forwardRef(() => EuiTreeListItemContentComponent) }], viewQueries: [{ propertyName: "focusable", first: true, predicate: ["focusable"], descendants: true }], hostDirectives: [{ directive: i2.BaseStatesDirective, inputs: ["euiPrimary", "euiPrimary", "euiSecondary", "euiSecondary", "euiInfo", "euiInfo", "euiSuccess", "euiSuccess", "euiWarning", "euiWarning", "euiDanger", "euiDanger", "euiAccent", "euiAccent", "euiVariant", "euiVariant"] }], ngImport: i02, template: '<div class="eui-tree-list-item-header">\n <div\n #focusable\n class="eui-tree-list-item-header__content"\n (keydown)="onKeyDown($event)"\n attr.aria-label="{{ label }} {{ subLabel }}">\n\n <ng-container *ngIf="hasCustomContent; else noCustomContent">\n <ng-content select="eui-tree-list-item-content"></ng-content>\n <ng-container *ngTemplateOutlet="rightContent"></ng-container>\n </ng-container>\n\n <ng-template #noCustomContent>\n <div class="eui-u-flex">\n <eui-label *ngIf="!customLabel">\n {{label}}\n <eui-label *ngIf="subLabel" euiSublabel>{{subLabel}}</eui-label>\n </eui-label>\n\n <eui-label *ngIf="customLabel">\n <div class="eui-u-flex">\n <ng-content select="eui-tree-list-item-label"></ng-content>\n </div>\n </eui-label>\n </div>\n <ng-container *ngTemplateOutlet="rightContent"></ng-container>\n </ng-template>\n </div>\n\n <ng-container *ngIf="customDetailContent">\n <div class="eui-tree-list-item-header__details-content">\n <ng-content select="eui-tree-list-item-details"></ng-content>\n </div>\n </ng-container>\n\n <ng-container *ngIf="customSubContainerContent">\n <ng-content select="eui-tree-list-item-sub-container"></ng-content>\n </ng-container>\n</div>\n\n<ng-template [ngIf]="isExpanded || isAlwaysExpanded">\n <ng-content></ng-content>\n</ng-template>\n\n<ng-template #rightContent>\n <div class="eui-tree-list-item-header__content-right-content">\n <div class="eui-tree-list-item-header__content-expand-toggle-wrapper">\n <eui-icon-button-expander *ngIf="hasSub && !isAlwaysExpanded"\n (buttonClick)="toggle($event)"\n [isExpanded]="isExpanded"\n isDirectionForward>\n </eui-icon-button-expander>\n </div>\n </div>\n</ng-template>\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.
|
182
|
+
this.ɵcmp = i02.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.0.0-rc.1", type: _EuiTreeListItemComponent, selector: "eui-tree-list-item", inputs: { id: "id", ariaLabel: "ariaLabel", e2eAttr: "e2eAttr", label: "label", linkUrl: "linkUrl", subLabel: "subLabel", url: "url", subLinks: "subLinks", isActive: ["isActive", "isActive", booleanAttribute], isExpanded: ["isExpanded", "isExpanded", booleanAttribute], isAlwaysExpanded: ["isAlwaysExpanded", "isAlwaysExpanded", booleanAttribute], isVisible: ["isVisible", "isVisible", booleanAttribute], isDisplaySubLinksOnHover: ["isDisplaySubLinksOnHover", "isDisplaySubLinksOnHover", booleanAttribute], isNavigateOnlyOnLabelClick: ["isNavigateOnlyOnLabelClick", "isNavigateOnlyOnLabelClick", booleanAttribute] }, outputs: { toggled: "toggled" }, host: { properties: { "class": "this.cssClasses", "attr.tabindex": "this.tabIndex", "attr.role": "this.ariaRole", "attr.id": "this.id", "attr.aria-label": "this.ariaLabel", "attr.data-e2e": "this.e2eAttr" } }, queries: [{ propertyName: "customLabel", first: true, predicate: i02.forwardRef(() => EuiTreeListItemLabelTagDirective), descendants: true }, { propertyName: "customDetailContent", first: true, predicate: i02.forwardRef(() => EuiTreeListItemDetailsContentTagDirective), descendants: true }, { propertyName: "customSubContainerContent", first: true, predicate: i02.forwardRef(() => EuiTreeListItemSubContainerContentTagDirective), descendants: true }, { propertyName: "subTreeList", predicate: i02.forwardRef(() => EuiTreeListComponent), descendants: true }, { propertyName: "customContent", predicate: i02.forwardRef(() => EuiTreeListItemContentComponent) }], viewQueries: [{ propertyName: "focusable", first: true, predicate: ["focusable"], descendants: true }], hostDirectives: [{ directive: i2.BaseStatesDirective, inputs: ["euiPrimary", "euiPrimary", "euiSecondary", "euiSecondary", "euiInfo", "euiInfo", "euiSuccess", "euiSuccess", "euiWarning", "euiWarning", "euiDanger", "euiDanger", "euiAccent", "euiAccent", "euiVariant", "euiVariant"] }], ngImport: i02, template: '<div class="eui-tree-list-item-header">\n <div\n #focusable\n class="eui-tree-list-item-header__content"\n (keydown)="onKeyDown($event)"\n attr.aria-label="{{ label }} {{ subLabel }}">\n\n <ng-container *ngIf="hasCustomContent; else noCustomContent">\n <ng-content select="eui-tree-list-item-content"></ng-content>\n <ng-container *ngTemplateOutlet="rightContent"></ng-container>\n </ng-container>\n\n <ng-template #noCustomContent>\n <div class="eui-u-flex">\n <eui-label *ngIf="!customLabel">\n {{label}}\n <eui-label *ngIf="subLabel" euiSublabel>{{subLabel}}</eui-label>\n </eui-label>\n\n <eui-label *ngIf="customLabel">\n <div class="eui-u-flex">\n <ng-content select="eui-tree-list-item-label"></ng-content>\n </div>\n </eui-label>\n </div>\n <ng-container *ngTemplateOutlet="rightContent"></ng-container>\n </ng-template>\n </div>\n\n <ng-container *ngIf="customDetailContent">\n <div class="eui-tree-list-item-header__details-content">\n <ng-content select="eui-tree-list-item-details"></ng-content>\n </div>\n </ng-container>\n\n <ng-container *ngIf="customSubContainerContent">\n <ng-content select="eui-tree-list-item-sub-container"></ng-content>\n </ng-container>\n</div>\n\n<ng-template [ngIf]="isExpanded || isAlwaysExpanded">\n <ng-content></ng-content>\n</ng-template>\n\n<ng-template #rightContent>\n <div class="eui-tree-list-item-header__content-right-content">\n <div class="eui-tree-list-item-header__content-expand-toggle-wrapper">\n <eui-icon-button-expander *ngIf="hasSub && !isAlwaysExpanded"\n (buttonClick)="toggle($event)"\n [isExpanded]="isExpanded"\n isDirectionForward>\n </eui-icon-button-expander>\n </div>\n </div>\n</ng-template>\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.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: i5.EuiIconButtonExpanderComponent, selector: "eui-icon-button-expander", inputs: ["fillColor", "size", "ariaLabel", "isExpanded", "isDirectionForward", "euiDisabled"], outputs: ["buttonClick"] }], encapsulation: i02.ViewEncapsulation.None });
|
183
183
|
}
|
184
184
|
};
|
185
185
|
i02.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i02, type: EuiTreeListItemComponent, decorators: [{
|
@@ -775,6 +775,7 @@ import { CommonModule } from "@angular/common";
|
|
775
775
|
import { FormsModule } from "@angular/forms";
|
776
776
|
import { TranslateModule } from "@ngx-translate/core";
|
777
777
|
import { EuiIconModule } from "@eui/components/eui-icon";
|
778
|
+
import { EuiIconButtonExpanderModule } from "@eui/components/eui-icon-button-expander";
|
778
779
|
import { EuiLabelModule } from "@eui/components/eui-label";
|
779
780
|
import { EuiButtonModule } from "@eui/components/eui-button";
|
780
781
|
import { EuiInputTextModule } from "@eui/components/eui-input-text";
|
@@ -801,6 +802,7 @@ var EuiTreeListModule = class _EuiTreeListModule {
|
|
801
802
|
EuiIconModule,
|
802
803
|
EuiLabelModule,
|
803
804
|
EuiButtonModule,
|
805
|
+
EuiIconButtonExpanderModule,
|
804
806
|
EuiInputTextModule,
|
805
807
|
EuiInputGroupModule
|
806
808
|
], exports: [
|
@@ -822,6 +824,7 @@ var EuiTreeListModule = class _EuiTreeListModule {
|
|
822
824
|
EuiIconModule,
|
823
825
|
EuiLabelModule,
|
824
826
|
EuiButtonModule,
|
827
|
+
EuiIconButtonExpanderModule,
|
825
828
|
EuiInputTextModule,
|
826
829
|
EuiInputGroupModule
|
827
830
|
] });
|
@@ -837,6 +840,7 @@ i05.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.1", n
|
|
837
840
|
EuiIconModule,
|
838
841
|
EuiLabelModule,
|
839
842
|
EuiButtonModule,
|
843
|
+
EuiIconButtonExpanderModule,
|
840
844
|
EuiInputTextModule,
|
841
845
|
EuiInputGroupModule
|
842
846
|
],
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../eui-tree-list/item-content/item-content.component.ts", "../../eui-tree-list/eui-tree-list-item.component.ts", "../../eui-tree-list/eui-tree-list-item.component.html", "../../eui-tree-list/toolbar/toolbar.component.ts", "../../eui-tree-list/toolbar/toolbar.component.html", "../../eui-tree-list/eui-tree-list.component.ts", "../../eui-tree-list/eui-tree-list.component.html", "../../eui-tree-list/eui-tree-list.module.ts"],
|
4
|
-
"sourcesContent": ["import { Component, HostBinding } from '@angular/core';\n\n@Component({\n selector: 'eui-tree-list-item-content',\n template: '<ng-content></ng-content>',\n})\nexport class EuiTreeListItemContentComponent {\n @HostBinding('class') string = 'eui-tree-list-item-content';\n}\n", "import {\n AfterContentInit,\n booleanAttribute,\n Component,\n ContentChild,\n ContentChildren,\n Directive,\n ElementRef,\n EventEmitter,\n forwardRef,\n Host,\n HostBinding,\n Inject,\n Input,\n Optional,\n Output,\n QueryList,\n ViewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport { Router } from '@angular/router';\nimport { UxLinkLegacy } from '@eui/base';\n\nimport { EuiTreeListComponent } from './eui-tree-list.component';\nimport { consumeEvent, uniqueId } from '@eui/core';\nimport { EuiTreeListItemContentComponent } from './item-content/item-content.component';\nimport { BaseStatesDirective } from '@eui/components/shared';\n\n@Component({\n selector: 'eui-tree-list-item',\n templateUrl: './eui-tree-list-item.component.html',\n encapsulation: ViewEncapsulation.None,\n hostDirectives: [\n {\n directive: BaseStatesDirective,\n inputs: ['euiPrimary', 'euiSecondary', 'euiInfo', 'euiSuccess', 'euiWarning', 'euiDanger', 'euiAccent', 'euiVariant'],\n },\n ],\n})\nexport class EuiTreeListItemComponent implements AfterContentInit {\n @HostBinding('class')\n public get cssClasses(): string {\n return this.getCssClasses();\n }\n @HostBinding('attr.tabindex') tabIndex = '0';\n @HostBinding('attr.role') protected ariaRole = 'treeitem';\n\n @HostBinding('attr.id') @Input() id: string;\n @HostBinding('attr.aria-label') @Input() ariaLabel: string;\n @HostBinding('attr.data-e2e') @Input() e2eAttr = 'eui-tree-list-item';\n\n @Input() label: string;\n @Input() linkUrl: string;\n @Input() subLabel: string;\n @Input() url: string;\n @Input() subLinks: UxLinkLegacy[] = [];\n\n @Input({ transform: booleanAttribute }) isActive = false;\n @Input({ transform: booleanAttribute }) isExpanded = false;\n @Input({ transform: booleanAttribute }) isAlwaysExpanded = false;\n @Input({ transform: booleanAttribute }) isVisible = true;\n @Input({ transform: booleanAttribute }) isDisplaySubLinksOnHover = false;\n @Input({ transform: booleanAttribute }) isNavigateOnlyOnLabelClick = false;\n\n @Output() toggled = new EventEmitter<EuiTreeListItemComponent>();\n\n isHovered = false;\n treeListComponent: EuiTreeListComponent;\n\n // tree states\n hasSub = false;\n\n // custom content\n hasCustomContent = false;\n\n @ViewChild('focusable') focusable: ElementRef<HTMLDivElement>;\n\n @ContentChild(forwardRef(() => EuiTreeListItemLabelTagDirective))\n customLabel: QueryList<EuiTreeListItemLabelTagDirective>;\n\n @ContentChild(forwardRef(() => EuiTreeListItemDetailsContentTagDirective))\n customDetailContent: QueryList<EuiTreeListItemDetailsContentTagDirective>;\n\n @ContentChild(forwardRef(() => EuiTreeListItemSubContainerContentTagDirective))\n customSubContainerContent: QueryList<EuiTreeListItemSubContainerContentTagDirective>;\n\n @ContentChildren(forwardRef(() => EuiTreeListComponent), { descendants: true })\n subTreeList: QueryList<EuiTreeListComponent>;\n\n @ContentChildren(forwardRef(() => EuiTreeListItemContentComponent), { descendants: false })\n customContent: QueryList<EuiTreeListItemContentComponent>;\n\n constructor(\n @Host() @Optional() @Inject(forwardRef(() => EuiTreeListComponent)) treeListComponent,\n private router: Router,\n protected elementRef: ElementRef,\n public baseStatesDirective: BaseStatesDirective,\n ) {\n this.treeListComponent = treeListComponent as EuiTreeListComponent;\n }\n\n ngAfterContentInit(): void {\n if (!this.ariaLabel) {\n this.ariaLabel = this.label ? this.label : 'Custom content';\n }\n\n // make sure that the tree item can be aria-owned by a parent tree for WAI-ARIA attributes:\n if (!this.id) {\n this.id = uniqueId();\n }\n\n // setting tree states\n if (this.subTreeList.length !== 0) {\n this.hasSub = true;\n }\n\n // checking if customContent set\n if (this.customContent.length !== 0) {\n this.hasCustomContent = true;\n }\n\n // make sure that any child tree-list is non-focusable and that it has the role of a WAI-ARIA group:\n if (this.subTreeList) {\n this.subTreeList.forEach((subtree: EuiTreeListComponent) => {\n subtree.disableFocus();\n subtree.ariaRoleTree = 'group';\n });\n }\n }\n\n toggle(event: Event): void {\n event.preventDefault();\n event.stopPropagation();\n this.isExpanded = !this.isExpanded;\n this.toggled.next(this);\n }\n\n onKeyDown(event: KeyboardEvent): void {\n switch (event.keyCode) {\n case 13: // ENTER\n case 32: // SPACE\n this.isExpanded = !this.isExpanded;\n consumeEvent(event);\n break;\n case 37: // ARROW LEFT\n this.isExpanded = false;\n consumeEvent(event);\n break;\n case 38: // ARROW UP\n if (this.treeListComponent) {\n if (this.treeListComponent.focusOnPreviousTreeItem(this)) {\n this.disableFocus();\n }\n }\n\n consumeEvent(event);\n break;\n case 39: // ARROW RIGHT\n this.isExpanded = true;\n consumeEvent(event);\n break;\n case 40: // ARROW DOWN\n if (this.focusOnNextTreeItem()) {\n this.disableFocus();\n }\n\n consumeEvent(event);\n break;\n }\n }\n\n public setVisibleState(state: boolean): void {\n this.isVisible = state;\n\n if (this.subTreeList && this.subTreeList.length !== 0) {\n this.subTreeList.toArray().forEach((item) => {\n item.setVisibleState(state);\n });\n }\n }\n\n public setExpandedState(state: boolean): void {\n this.isExpanded = state;\n\n if (this.subTreeList.length !== 0) {\n this.subTreeList.toArray().forEach((item) => {\n item.setExpandedState(state);\n });\n }\n }\n\n public focus(): void {\n if (this.focusable) {\n this.enableFocus();\n this.focusable.nativeElement.focus();\n }\n if (this.treeListComponent) {\n this.treeListComponent.disableFocus();\n }\n }\n\n public focusOnLastExpandedTreeItem(): void {\n const lastExpanded = this.elementRef.nativeElement.querySelectorAll('.eui-tree-list-item-header__content');\n if (lastExpanded && lastExpanded.length > 0) {\n const element = lastExpanded[lastExpanded.length - 1];\n element.setAttribute('tabindex', '0');\n element.focus();\n } else {\n this.focus();\n }\n }\n\n protected focusOnNextTreeItem(): boolean {\n if (this.isExpanded && this.subTreeList && this.subTreeList.length > 0) {\n this.subTreeList.first.focus();\n return true;\n } else if (this.treeListComponent) {\n return this.treeListComponent.focusOnNextTreeItem(this);\n }\n\n return false;\n }\n\n protected disableFocus(): void {\n if (this.focusable) {\n this.focusable.nativeElement.setAttribute('tabindex', '-1');\n }\n }\n\n protected enableFocus(): void {\n if (this.focusable) {\n this.focusable.nativeElement.setAttribute('tabindex', '0');\n }\n }\n\n private getCssClasses(): string {\n return [\n this.baseStatesDirective.getCssClasses('eui-tree-list-item'),\n this.isActive ? 'eui-tree-list-item--active' : '',\n !this.isVisible ? 'eui-tree-list-item--hidden' : '',\n ]\n .join(' ')\n .trim();\n }\n}\n\n/* eslint-disable */\n@Directive({ selector: 'eui-tree-list-item-label' })\nexport class EuiTreeListItemLabelTagDirective {}\n@Directive({ selector: 'eui-tree-list-item-details' })\nexport class EuiTreeListItemDetailsContentTagDirective {}\n@Directive({ selector: 'eui-tree-list-item-sub-container' })\nexport class EuiTreeListItemSubContainerContentTagDirective {}\n/* eslint-enable */\n", "<div class=\"eui-tree-list-item-header\">\n <div\n #focusable\n class=\"eui-tree-list-item-header__content\"\n (keydown)=\"onKeyDown($event)\"\n attr.aria-label=\"{{ label }} {{ subLabel }}\">\n\n <ng-container *ngIf=\"hasCustomContent; else noCustomContent\">\n <ng-content select=\"eui-tree-list-item-content\"></ng-content>\n <ng-container *ngTemplateOutlet=\"rightContent\"></ng-container>\n </ng-container>\n\n <ng-template #noCustomContent>\n <div class=\"eui-u-flex\">\n <eui-label *ngIf=\"!customLabel\">\n {{label}}\n <eui-label *ngIf=\"subLabel\" euiSublabel>{{subLabel}}</eui-label>\n </eui-label>\n\n <eui-label *ngIf=\"customLabel\">\n <div class=\"eui-u-flex\">\n <ng-content select=\"eui-tree-list-item-label\"></ng-content>\n </div>\n </eui-label>\n </div>\n <ng-container *ngTemplateOutlet=\"rightContent\"></ng-container>\n </ng-template>\n </div>\n\n <ng-container *ngIf=\"customDetailContent\">\n <div class=\"eui-tree-list-item-header__details-content\">\n <ng-content select=\"eui-tree-list-item-details\"></ng-content>\n </div>\n </ng-container>\n\n <ng-container *ngIf=\"customSubContainerContent\">\n <ng-content select=\"eui-tree-list-item-sub-container\"></ng-content>\n </ng-container>\n</div>\n\n<ng-template [ngIf]=\"isExpanded || isAlwaysExpanded\">\n <ng-content></ng-content>\n</ng-template>\n\n<ng-template #rightContent>\n <div class=\"eui-tree-list-item-header__content-right-content\">\n <div class=\"eui-tree-list-item-header__content-expand-toggle-wrapper\">\n <eui-icon-button-expander *ngIf=\"hasSub && !isAlwaysExpanded\"\n (buttonClick)=\"toggle($event)\"\n [isExpanded]=\"isExpanded\"\n isDirectionForward>\n </eui-icon-button-expander>\n </div>\n </div>\n</ng-template>\n", "/* eslint-disable */\nimport {\n Component,\n Directive,\n Input,\n Output,\n EventEmitter,\n OnInit,\n OnChanges,\n SimpleChanges,\n ViewEncapsulation,\n} from '@angular/core';\nimport { coerceBooleanProperty, BooleanInput } from '@angular/cdk/coercion';\n\n@Component({\n selector: 'eui-tree-list-toolbar',\n templateUrl: './toolbar.component.html',\n encapsulation: ViewEncapsulation.None,\n})\nexport class EuiTreeListToolbarComponent implements OnInit, OnChanges {\n @Input()\n get isVisible(): boolean {\n return this._isVisible;\n }\n set isVisible(value: BooleanInput) {\n this._isVisible = coerceBooleanProperty(value);\n }\n @Input() filterLabel: string;\n @Input() expandAllLabel: string;\n @Input() collapseAllLabel: string;\n @Input()\n get isFilterVisible(): boolean {\n return this._isFilterVisible;\n }\n set isFilterVisible(value: BooleanInput) {\n this._isFilterVisible = coerceBooleanProperty(value);\n }\n @Input()\n get isToggleVisible(): boolean {\n return this._isToggleVisible;\n }\n set isToggleVisible(value: BooleanInput) {\n this._isToggleVisible = coerceBooleanProperty(value);\n }\n @Input()\n get isToggleExpanded(): boolean {\n return this._isToggleExpanded;\n }\n set isToggleExpanded(value: BooleanInput) {\n this._isToggleExpanded = coerceBooleanProperty(value);\n }\n @Input() filterValue: string = '';\n @Input()\n get hasLabels(): boolean {\n return this._hasLabels;\n }\n set hasLabels(value: BooleanInput) {\n this._hasLabels = coerceBooleanProperty(value);\n }\n @Input() e2eAttr: string = 'eui-tree-list-toolbar';\n @Output() filter = new EventEmitter<string>();\n\n @Output() expandAll = new EventEmitter<MouseEvent>();\n @Output() collapseAll = new EventEmitter<MouseEvent>();\n private _isVisible: boolean = false;\n private _isFilterVisible: boolean = true;\n private _isToggleVisible: boolean = true;\n private _isToggleExpanded: boolean = false;\n private _hasLabels: boolean = true;\n\n ngOnInit(): void {\n if (this.filterValue !== '' && this.filterValue !== undefined) {\n this.filter.emit(this.filterValue);\n }\n }\n\n ngOnChanges(c: SimpleChanges): void {\n if (c && c.filterValue && this.filterValue !== undefined) {\n this.filter.emit(this.filterValue);\n }\n }\n\n /**\n * @deprecated\n * @param event\n */\n // public onFilter(event: string): void;\n public onFilter(): void {\n // console.log('test');\n // console.log(this.filterValue);\n if (this.filterValue === '') {\n if (!this.isToggleExpanded) {\n this.collapseAll.emit(null);\n }\n }\n this.filter.emit(this.filterValue);\n }\n\n public onExpandAll(event: MouseEvent): void {\n this.isToggleExpanded = !this.isToggleExpanded;\n this.expandAll.emit(event);\n }\n\n public onCollapseAll(event: MouseEvent): void {\n this.isToggleExpanded = !this.isToggleExpanded;\n this.collapseAll.emit(event);\n }\n}\n\n@Directive({ selector: 'EuiTreeListToolbarButtons' })\nexport class EuiUxTreeToolbarButtonsTagDirective { }\n\n/* eslint-enable */\n", "<div *ngIf=\"isVisible\" euiInputGroup class=\"eui-tree-list-toolbar\">\n <div class=\"eui-input-group-addon\">\n <div class=\"eui-input-group-addon-item\">\n <eui-icon-svg icon=\"eui-ecl-search\"></eui-icon-svg>\n </div>\n <input euiInputText euiClearable [(ngModel)]=\"filterValue\" [placeholder]=\"filterLabel\" (ngModelChange)=\"onFilter()\"/>\n\n <button *ngIf=\"!isToggleExpanded\" euiButton euiSecondary euiOutline (click)=\"onExpandAll($event)\" [euiIconButton]=\"expandAllLabel === ''\">\n <span euiLabel *ngIf=\"expandAllLabel !== ''\">{{ expandAllLabel }}</span>\n <eui-icon-svg icon=\"return-down-forward\"></eui-icon-svg>\n </button>\n <button *ngIf=\"isToggleExpanded\" euiButton euiSecondary euiOutline (click)=\"onCollapseAll($event)\" [euiIconButton]=\"collapseAllLabel === ''\">\n <span euiLabel *ngIf=\"collapseAllLabel !== ''\">{{ collapseAllLabel }}</span>\n <eui-icon-svg icon=\"return-up-forward\"></eui-icon-svg>\n </button>\n </div>\n</div>\n", "import {\n Component,\n Input,\n Output,\n EventEmitter,\n ContentChildren,\n QueryList,\n forwardRef,\n AfterViewInit,\n OnChanges,\n SimpleChanges,\n ElementRef,\n ViewEncapsulation,\n booleanAttribute,\n} from '@angular/core';\nimport { EuiTreeListItemComponent } from './eui-tree-list-item.component';\n\nexport interface EuiTreeListFilterParams {\n readonly level: number;\n readonly item: EuiTreeListItemComponent;\n readonly keyword: string;\n}\n\n@Component({\n selector: 'eui-tree-list',\n templateUrl: './eui-tree-list.component.html',\n styleUrls: ['./_styles/_index.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class EuiTreeListComponent implements AfterViewInit, OnChanges {\n\n @Input({ transform: booleanAttribute }) isShowToolbar = false;\n @Input({ transform: booleanAttribute }) isShowToolbarToggle = true;\n @Input({ transform: booleanAttribute }) isExpanded = false;\n @Input({ transform: booleanAttribute }) hasItemsUrl = false;\n\n @Input() filterLabel: string;\n @Input() filterFunction: (params: EuiTreeListFilterParams) => boolean;\n @Input() expandAllLabel: string;\n @Input() collapseAllLabel: string;\n @Input() tabindex = '0';\n @Input() ariaLabel = '';\n @Input() toolbarFilterValue = '';\n @Input() e2eAttr = 'eui-tree-list';\n\n @Output() itemSelected = new EventEmitter<string>();\n @Output() filter = new EventEmitter<string>();\n @Output() expandAll = new EventEmitter();\n @Output() collapseAll = new EventEmitter();\n\n @ContentChildren(forwardRef(() => EuiTreeListItemComponent)) items: QueryList<EuiTreeListItemComponent>;\n\n public ariaOwns = '';\n public originalTabindex = '0';\n public classes = '';\n public ariaRoleTree = 'tree';\n constructor(private elementRef: ElementRef) {}\n\n ngAfterViewInit(): void {\n const treeItemIds = [];\n if (this.items) {\n this.items.forEach((treeItem: EuiTreeListItemComponent) => {\n treeItemIds.push(treeItem.id);\n });\n }\n setTimeout(() => {\n this.ariaOwns = treeItemIds.join(' ');\n this.originalTabindex = this.tabindex;\n if (this.isExpanded) {\n this.setExpandedState(true);\n }\n }, 0);\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n if (changes && changes['tabindex']) {\n this.originalTabindex = this.tabindex;\n }\n }\n\n get hasExpandAllLabel(): boolean {\n return this.expandAllLabel !== undefined && this.expandAllLabel !== null;\n }\n\n get hasCollapseAllLabel(): boolean {\n return this.collapseAllLabel !== undefined && this.collapseAllLabel !== null;\n }\n\n onExpandAll(event: Event): void {\n this.setExpandedState(true);\n this.expandAll.next(void 0);\n }\n\n onCollapseAll(event: Event): void {\n this.setExpandedState(false);\n this.collapseAll.next(void 0);\n }\n\n onFilter(filterValue: string): void {\n // TODO find a recursive way of doing the filtering throughout the tree structure\n if (filterValue !== '' && filterValue !== undefined) {\n this.setVisibleState(false);\n this.items.toArray().forEach((item1) => {\n item1.isVisible = this.filterMatched(0, item1, filterValue);\n if (item1.subTreeList.length !== 0) {\n item1.subTreeList.toArray().forEach((item1SubTreeList) => {\n item1SubTreeList.items.toArray().forEach((item2) => {\n if (this.filterMatched(1, item2, filterValue)) {\n item2.isVisible = true;\n item1.isVisible = true;\n item1.isExpanded = true;\n\n if (item2.subTreeList.length !== 0) {\n item2.subTreeList.toArray().forEach((item2SubTreeList) => {\n item2SubTreeList.items.toArray().forEach((item3) => {\n item3.isVisible = true;\n });\n });\n }\n }\n\n if (item2.subTreeList.length !== 0) {\n item2.subTreeList.toArray().forEach((item2SubTreeList) => {\n item2SubTreeList.items.toArray().forEach((item4) => {\n if (this.filterMatched(2, item4, filterValue)) {\n item4.isVisible = true;\n item2.isVisible = true;\n item2.isExpanded = true;\n item1.isVisible = true;\n item1.isExpanded = true;\n }\n });\n });\n }\n });\n });\n }\n });\n } else {\n this.setVisibleState(true);\n }\n\n this.filter.next(filterValue);\n }\n\n onFocus(): void {\n this.focus();\n }\n\n public setVisibleState(state: boolean): void {\n this.items.toArray().forEach((item) => item.setVisibleState(state));\n }\n\n public setExpandedState(state: boolean): void {\n this.items.toArray().forEach((item) => item.setExpandedState(state));\n }\n\n public focus(): void {\n // Focus on the first child tree item:\n if (this.items && this.items.length > 0) {\n this.items.first.focus();\n }\n }\n\n public disableFocus(): void {\n this.tabindex = '-1';\n }\n\n public focusOnPreviousTreeItem(currentTreeListItem: EuiTreeListItemComponent): boolean {\n if (this.items && this.items.length > 0) {\n let previousTreeListItem: EuiTreeListItemComponent = null;\n for (const treeListItem of this.items.toArray()) {\n if (treeListItem !== currentTreeListItem) {\n previousTreeListItem = treeListItem;\n } else if (previousTreeListItem) {\n previousTreeListItem.focusOnLastExpandedTreeItem();\n return true;\n }\n }\n\n // Focus on the last item of the previous parent:\n // First find the parent list item:\n if (this.elementRef) {\n let parent = this.elementRef.nativeElement.parentElement;\n while (parent && !parent.classList.contains('eui-tree-list-item')) {\n parent = parent.parentElement;\n }\n\n if (parent) {\n // parent tree-item is found\n const content = parent.querySelector('.eui-tree-list-item-header__content');\n if (content) {\n content.setAttribute('tabindex', '0');\n content.focus();\n return true;\n }\n }\n }\n }\n\n return false;\n }\n\n public focusOnNextTreeItem(currentTreeListItem: EuiTreeListItemComponent): boolean {\n if (this.items && this.items.length > 0) {\n if (currentTreeListItem !== this.items.last) {\n let previousTreeListItem: EuiTreeListItemComponent = null;\n for (const treeListItem of this.items.toArray()) {\n if (previousTreeListItem !== currentTreeListItem) {\n previousTreeListItem = treeListItem;\n } else {\n treeListItem.focus();\n return true;\n }\n }\n } else {\n // The current focused tree item is the last one; find the first next tree item:\n if (this.elementRef) {\n // First find the parent tree list item:\n let parent = this.elementRef.nativeElement.parentElement;\n // Find the parent that is not a last child itself:\n while (parent && (parent.tagName.toLowerCase() !== 'eui-tree-list-item' || parent.nextElementSibling === null)) {\n parent = parent.parentElement;\n }\n\n if (parent) {\n // parent tree list item is found; focus on the first child of the next list item\n const nextTreeListItem = parent.nextElementSibling;\n if (nextTreeListItem) {\n const next = nextTreeListItem.querySelector('.eui-tree-list-item-header__content');\n next.setAttribute('tabindex', '0');\n next.focus();\n return true;\n }\n }\n }\n }\n }\n\n return false;\n }\n\n private defaultFilterFunction(params: EuiTreeListFilterParams): boolean {\n if (!params.item.label) {\n return false;\n } else if (params.item.label.toUpperCase().indexOf(params.keyword.toUpperCase()) !== -1) {\n return true;\n } else {\n return false;\n }\n }\n\n private filterMatched(level: number, item: EuiTreeListItemComponent, keyword: string): boolean {\n if (this.filterFunction) {\n return this.filterFunction({ level, item, keyword });\n } else {\n return this.defaultFilterFunction({ level, item, keyword });\n }\n }\n}\n", "<eui-tree-list-toolbar\n *ngIf=\"isShowToolbar\"\n [isVisible]=\"isShowToolbar\"\n [isToggleVisible]=\"isShowToolbarToggle\"\n (filter)=\"onFilter($event)\"\n [filterValue]=\"toolbarFilterValue\"\n (expandAll)=\"onExpandAll($event)\"\n (collapseAll)=\"onCollapseAll($event)\"\n [filterLabel]=\"filterLabel ? filterLabel : 'eui.FILTER' | translate\"\n [expandAllLabel]=\"hasExpandAllLabel ? expandAllLabel : 'eui.EXPANDALL' | translate\"\n [collapseAllLabel]=\"hasCollapseAllLabel ? collapseAllLabel : 'eui.COLLAPSEALL' | translate\"\n [isToggleExpanded]=\"isExpanded\"\n attr.data-e2e=\"{{ e2eAttr }}-a-toolbar-filter\">\n</eui-tree-list-toolbar>\n\n<div\n class=\"eui-tree-list\"\n [attr.role]=\"ariaRoleTree\"\n [attr.data-tabindex]=\"originalTabindex\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.aria-owns]=\"ariaOwns\"\n attr.data-e2e=\"{{ e2eAttr }}\">\n <ng-content></ng-content>\n</div>\n", "import { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { EuiTreeListComponent } from './eui-tree-list.component';\nimport {\n EuiTreeListItemComponent,\n EuiTreeListItemDetailsContentTagDirective,\n EuiTreeListItemSubContainerContentTagDirective,\n EuiTreeListItemLabelTagDirective,\n} from './eui-tree-list-item.component';\nimport { EuiIconModule } from '@eui/components/eui-icon';\nimport { EuiLabelModule } from '@eui/components/eui-label';\nimport { EuiButtonModule } from '@eui/components/eui-button';\nimport { EuiTreeListItemContentComponent } from './item-content/item-content.component';\nimport { EuiTreeListToolbarComponent } from './toolbar/toolbar.component';\nimport { EuiInputTextModule } from '@eui/components/eui-input-text';\nimport { EuiInputGroupModule } from '@eui/components/eui-input-group';\n\n@NgModule({\n imports: [\n TranslateModule,\n CommonModule, FormsModule, EuiIconModule, EuiLabelModule, EuiButtonModule,\n EuiInputTextModule,\n EuiInputGroupModule,\n ],\n exports: [\n EuiTreeListComponent,\n EuiTreeListItemComponent,\n EuiTreeListItemComponent,\n EuiTreeListItemLabelTagDirective,\n EuiTreeListItemDetailsContentTagDirective,\n EuiTreeListItemSubContainerContentTagDirective,\n\n EuiTreeListItemContentComponent,\n EuiTreeListToolbarComponent,\n ],\n declarations: [\n EuiTreeListComponent,\n EuiTreeListItemComponent,\n EuiTreeListItemComponent,\n EuiTreeListItemLabelTagDirective,\n EuiTreeListItemDetailsContentTagDirective,\n EuiTreeListItemSubContainerContentTagDirective,\n\n EuiTreeListItemContentComponent,\n EuiTreeListToolbarComponent,\n ],\n})\nexport class EuiTreeListModule {}\n"],
|
5
|
-
"mappings": ";AAAA,SAAS,WAAW,mBAAmB;;AAMjC,IAAO,kCAAP,MAAO,iCAA+B;EAJ5C,cAAA;AAK0B,SAAA,SAAS;;;0GADtB,kCAA+B,MAAA,CAAA,GAAA,QAAA,mBAAA,UAAA,CAAA;EAAA;;8FAA/B,kCAA+B,UAAA,8BAAA,MAAA,EAAA,YAAA,EAAA,SAAA,cAAA,EAAA,GAAA,UAAA,IAAA,UAF9B,6BAA2B,UAAA,KAAA,CAAA;EAAA;;gGAE5B,iCAA+B,YAAA,CAAA;QAJ3C;SAAU;IACP,UAAU;IACV,UAAU;GACb;sBAEyB,QAAM,CAAA;QAA3B;SAAY,OAAO;;;;ACPxB,SAEI,kBACA,aAAAA,YACA,cACA,iBACA,WAEA,cACA,YACA,MACA,eAAAC,cACA,QACA,OACA,UACA,QAEA,WACA,yBACG;AAKP,SAAS,cAAc,gBAAgB;AAEvC,SAAS,2BAA2B;;;;;;;AAa9B,IAAO,2BAAP,MAAO,0BAAwB;EACjC,IACW,aAAU;AACjB,WAAO,KAAK,cAAa;EAC7B;EAiDA,YACwE,mBAC5D,QACE,YACH,qBAAwC;AAFvC,SAAA,SAAA;AACE,SAAA,aAAA;AACH,SAAA,sBAAA;AApDmB,SAAA,WAAW;AACL,SAAA,WAAW;AAIR,SAAA,UAAU;AAMxC,SAAA,WAA2B,CAAA;AAEI,SAAA,WAAW;AACX,SAAA,aAAa;AACb,SAAA,mBA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E4D,OAAK,CAAA;QAAjEE;SAAgBC,YAAW,MAAM,wBAAwB,CAAC;;;;AElD/D,SAAS,gBAAgB;AAEzB,SAAS,oBAAoB;AAC7B,SAAS,mBAAmB;AAC5B,SAAS,uBAAuB;AAQhC,SAAS,qBAAqB;AAC9B,SAAS,sBAAsB;AAC/B,SAAS,uBAAuB;AAGhC,SAAS,0BAA0B;AACnC,SAAS,2BAA2B;;AAgC9B,IAAO,oBAAP,MAAO,mBAAiB;;4GAAjB,oBAAiB,MAAA,CAAA,GAAA,QAAA,oBAAA,SAAA,CAAA;EAAA;;6GAAjB,oBAAiB,cAAA;MAXtB;MACA;MACA;MACA;MACA;MACA;MAEA;MACA;IAA2B,GAAA,SAAA;MAzB3B;MACA;MAAc;MAAa;MAAe;MAAgB;MAC1D;MACA;IAAmB,GAAA,SAAA;MAGnB;MACA;MACA;MACA;MACA;MACA;MAEA;MACA;IAA2B,EAAA,CAAA;EAAA;;6GActB,oBAAiB,SAAA;MA5BtB;MACA;MAAc;MAAa;MAAe;MAAgB;MAC1D;MACA;IAAmB,EAAA,CAAA;EAAA;;kGAyBd,mBAAiB,YAAA,CAAA;QA9B7B;SAAS;IACN,SAAS;MACL;MACA;MAAc;MAAa;MAAe;MAAgB;MAC1D;MACA;;IAEJ,SAAS;MACL;MACA;MACA;MACA;MACA;MACA;MAEA;MACA;;IAEJ,cAAc;MACV;MACA;MACA;MACA;MACA;MACA;MAEA;MACA;;GAEP;;",
|
4
|
+
"sourcesContent": ["import { Component, HostBinding } from '@angular/core';\n\n@Component({\n selector: 'eui-tree-list-item-content',\n template: '<ng-content></ng-content>',\n})\nexport class EuiTreeListItemContentComponent {\n @HostBinding('class') string = 'eui-tree-list-item-content';\n}\n", "import {\n AfterContentInit,\n booleanAttribute,\n Component,\n ContentChild,\n ContentChildren,\n Directive,\n ElementRef,\n EventEmitter,\n forwardRef,\n Host,\n HostBinding,\n Inject,\n Input,\n Optional,\n Output,\n QueryList,\n ViewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport { Router } from '@angular/router';\nimport { UxLinkLegacy } from '@eui/base';\n\nimport { EuiTreeListComponent } from './eui-tree-list.component';\nimport { consumeEvent, uniqueId } from '@eui/core';\nimport { EuiTreeListItemContentComponent } from './item-content/item-content.component';\nimport { BaseStatesDirective } from '@eui/components/shared';\n\n@Component({\n selector: 'eui-tree-list-item',\n templateUrl: './eui-tree-list-item.component.html',\n encapsulation: ViewEncapsulation.None,\n hostDirectives: [\n {\n directive: BaseStatesDirective,\n inputs: ['euiPrimary', 'euiSecondary', 'euiInfo', 'euiSuccess', 'euiWarning', 'euiDanger', 'euiAccent', 'euiVariant'],\n },\n ],\n})\nexport class EuiTreeListItemComponent implements AfterContentInit {\n @HostBinding('class')\n public get cssClasses(): string {\n return this.getCssClasses();\n }\n @HostBinding('attr.tabindex') tabIndex = '0';\n @HostBinding('attr.role') protected ariaRole = 'treeitem';\n\n @HostBinding('attr.id') @Input() id: string;\n @HostBinding('attr.aria-label') @Input() ariaLabel: string;\n @HostBinding('attr.data-e2e') @Input() e2eAttr = 'eui-tree-list-item';\n\n @Input() label: string;\n @Input() linkUrl: string;\n @Input() subLabel: string;\n @Input() url: string;\n @Input() subLinks: UxLinkLegacy[] = [];\n\n @Input({ transform: booleanAttribute }) isActive = false;\n @Input({ transform: booleanAttribute }) isExpanded = false;\n @Input({ transform: booleanAttribute }) isAlwaysExpanded = false;\n @Input({ transform: booleanAttribute }) isVisible = true;\n @Input({ transform: booleanAttribute }) isDisplaySubLinksOnHover = false;\n @Input({ transform: booleanAttribute }) isNavigateOnlyOnLabelClick = false;\n\n @Output() toggled = new EventEmitter<EuiTreeListItemComponent>();\n\n isHovered = false;\n treeListComponent: EuiTreeListComponent;\n\n // tree states\n hasSub = false;\n\n // custom content\n hasCustomContent = false;\n\n @ViewChild('focusable') focusable: ElementRef<HTMLDivElement>;\n\n @ContentChild(forwardRef(() => EuiTreeListItemLabelTagDirective))\n customLabel: QueryList<EuiTreeListItemLabelTagDirective>;\n\n @ContentChild(forwardRef(() => EuiTreeListItemDetailsContentTagDirective))\n customDetailContent: QueryList<EuiTreeListItemDetailsContentTagDirective>;\n\n @ContentChild(forwardRef(() => EuiTreeListItemSubContainerContentTagDirective))\n customSubContainerContent: QueryList<EuiTreeListItemSubContainerContentTagDirective>;\n\n @ContentChildren(forwardRef(() => EuiTreeListComponent), { descendants: true })\n subTreeList: QueryList<EuiTreeListComponent>;\n\n @ContentChildren(forwardRef(() => EuiTreeListItemContentComponent), { descendants: false })\n customContent: QueryList<EuiTreeListItemContentComponent>;\n\n constructor(\n @Host() @Optional() @Inject(forwardRef(() => EuiTreeListComponent)) treeListComponent,\n private router: Router,\n protected elementRef: ElementRef,\n public baseStatesDirective: BaseStatesDirective,\n ) {\n this.treeListComponent = treeListComponent as EuiTreeListComponent;\n }\n\n ngAfterContentInit(): void {\n if (!this.ariaLabel) {\n this.ariaLabel = this.label ? this.label : 'Custom content';\n }\n\n // make sure that the tree item can be aria-owned by a parent tree for WAI-ARIA attributes:\n if (!this.id) {\n this.id = uniqueId();\n }\n\n // setting tree states\n if (this.subTreeList.length !== 0) {\n this.hasSub = true;\n }\n\n // checking if customContent set\n if (this.customContent.length !== 0) {\n this.hasCustomContent = true;\n }\n\n // make sure that any child tree-list is non-focusable and that it has the role of a WAI-ARIA group:\n if (this.subTreeList) {\n this.subTreeList.forEach((subtree: EuiTreeListComponent) => {\n subtree.disableFocus();\n subtree.ariaRoleTree = 'group';\n });\n }\n }\n\n toggle(event: Event): void {\n event.preventDefault();\n event.stopPropagation();\n this.isExpanded = !this.isExpanded;\n this.toggled.next(this);\n }\n\n onKeyDown(event: KeyboardEvent): void {\n switch (event.keyCode) {\n case 13: // ENTER\n case 32: // SPACE\n this.isExpanded = !this.isExpanded;\n consumeEvent(event);\n break;\n case 37: // ARROW LEFT\n this.isExpanded = false;\n consumeEvent(event);\n break;\n case 38: // ARROW UP\n if (this.treeListComponent) {\n if (this.treeListComponent.focusOnPreviousTreeItem(this)) {\n this.disableFocus();\n }\n }\n\n consumeEvent(event);\n break;\n case 39: // ARROW RIGHT\n this.isExpanded = true;\n consumeEvent(event);\n break;\n case 40: // ARROW DOWN\n if (this.focusOnNextTreeItem()) {\n this.disableFocus();\n }\n\n consumeEvent(event);\n break;\n }\n }\n\n public setVisibleState(state: boolean): void {\n this.isVisible = state;\n\n if (this.subTreeList && this.subTreeList.length !== 0) {\n this.subTreeList.toArray().forEach((item) => {\n item.setVisibleState(state);\n });\n }\n }\n\n public setExpandedState(state: boolean): void {\n this.isExpanded = state;\n\n if (this.subTreeList.length !== 0) {\n this.subTreeList.toArray().forEach((item) => {\n item.setExpandedState(state);\n });\n }\n }\n\n public focus(): void {\n if (this.focusable) {\n this.enableFocus();\n this.focusable.nativeElement.focus();\n }\n if (this.treeListComponent) {\n this.treeListComponent.disableFocus();\n }\n }\n\n public focusOnLastExpandedTreeItem(): void {\n const lastExpanded = this.elementRef.nativeElement.querySelectorAll('.eui-tree-list-item-header__content');\n if (lastExpanded && lastExpanded.length > 0) {\n const element = lastExpanded[lastExpanded.length - 1];\n element.setAttribute('tabindex', '0');\n element.focus();\n } else {\n this.focus();\n }\n }\n\n protected focusOnNextTreeItem(): boolean {\n if (this.isExpanded && this.subTreeList && this.subTreeList.length > 0) {\n this.subTreeList.first.focus();\n return true;\n } else if (this.treeListComponent) {\n return this.treeListComponent.focusOnNextTreeItem(this);\n }\n\n return false;\n }\n\n protected disableFocus(): void {\n if (this.focusable) {\n this.focusable.nativeElement.setAttribute('tabindex', '-1');\n }\n }\n\n protected enableFocus(): void {\n if (this.focusable) {\n this.focusable.nativeElement.setAttribute('tabindex', '0');\n }\n }\n\n private getCssClasses(): string {\n return [\n this.baseStatesDirective.getCssClasses('eui-tree-list-item'),\n this.isActive ? 'eui-tree-list-item--active' : '',\n !this.isVisible ? 'eui-tree-list-item--hidden' : '',\n ]\n .join(' ')\n .trim();\n }\n}\n\n/* eslint-disable */\n@Directive({ selector: 'eui-tree-list-item-label' })\nexport class EuiTreeListItemLabelTagDirective {}\n@Directive({ selector: 'eui-tree-list-item-details' })\nexport class EuiTreeListItemDetailsContentTagDirective {}\n@Directive({ selector: 'eui-tree-list-item-sub-container' })\nexport class EuiTreeListItemSubContainerContentTagDirective {}\n/* eslint-enable */\n", "<div class=\"eui-tree-list-item-header\">\n <div\n #focusable\n class=\"eui-tree-list-item-header__content\"\n (keydown)=\"onKeyDown($event)\"\n attr.aria-label=\"{{ label }} {{ subLabel }}\">\n\n <ng-container *ngIf=\"hasCustomContent; else noCustomContent\">\n <ng-content select=\"eui-tree-list-item-content\"></ng-content>\n <ng-container *ngTemplateOutlet=\"rightContent\"></ng-container>\n </ng-container>\n\n <ng-template #noCustomContent>\n <div class=\"eui-u-flex\">\n <eui-label *ngIf=\"!customLabel\">\n {{label}}\n <eui-label *ngIf=\"subLabel\" euiSublabel>{{subLabel}}</eui-label>\n </eui-label>\n\n <eui-label *ngIf=\"customLabel\">\n <div class=\"eui-u-flex\">\n <ng-content select=\"eui-tree-list-item-label\"></ng-content>\n </div>\n </eui-label>\n </div>\n <ng-container *ngTemplateOutlet=\"rightContent\"></ng-container>\n </ng-template>\n </div>\n\n <ng-container *ngIf=\"customDetailContent\">\n <div class=\"eui-tree-list-item-header__details-content\">\n <ng-content select=\"eui-tree-list-item-details\"></ng-content>\n </div>\n </ng-container>\n\n <ng-container *ngIf=\"customSubContainerContent\">\n <ng-content select=\"eui-tree-list-item-sub-container\"></ng-content>\n </ng-container>\n</div>\n\n<ng-template [ngIf]=\"isExpanded || isAlwaysExpanded\">\n <ng-content></ng-content>\n</ng-template>\n\n<ng-template #rightContent>\n <div class=\"eui-tree-list-item-header__content-right-content\">\n <div class=\"eui-tree-list-item-header__content-expand-toggle-wrapper\">\n <eui-icon-button-expander *ngIf=\"hasSub && !isAlwaysExpanded\"\n (buttonClick)=\"toggle($event)\"\n [isExpanded]=\"isExpanded\"\n isDirectionForward>\n </eui-icon-button-expander>\n </div>\n </div>\n</ng-template>\n", "/* eslint-disable */\nimport {\n Component,\n Directive,\n Input,\n Output,\n EventEmitter,\n OnInit,\n OnChanges,\n SimpleChanges,\n ViewEncapsulation,\n} from '@angular/core';\nimport { coerceBooleanProperty, BooleanInput } from '@angular/cdk/coercion';\n\n@Component({\n selector: 'eui-tree-list-toolbar',\n templateUrl: './toolbar.component.html',\n encapsulation: ViewEncapsulation.None,\n})\nexport class EuiTreeListToolbarComponent implements OnInit, OnChanges {\n @Input()\n get isVisible(): boolean {\n return this._isVisible;\n }\n set isVisible(value: BooleanInput) {\n this._isVisible = coerceBooleanProperty(value);\n }\n @Input() filterLabel: string;\n @Input() expandAllLabel: string;\n @Input() collapseAllLabel: string;\n @Input()\n get isFilterVisible(): boolean {\n return this._isFilterVisible;\n }\n set isFilterVisible(value: BooleanInput) {\n this._isFilterVisible = coerceBooleanProperty(value);\n }\n @Input()\n get isToggleVisible(): boolean {\n return this._isToggleVisible;\n }\n set isToggleVisible(value: BooleanInput) {\n this._isToggleVisible = coerceBooleanProperty(value);\n }\n @Input()\n get isToggleExpanded(): boolean {\n return this._isToggleExpanded;\n }\n set isToggleExpanded(value: BooleanInput) {\n this._isToggleExpanded = coerceBooleanProperty(value);\n }\n @Input() filterValue: string = '';\n @Input()\n get hasLabels(): boolean {\n return this._hasLabels;\n }\n set hasLabels(value: BooleanInput) {\n this._hasLabels = coerceBooleanProperty(value);\n }\n @Input() e2eAttr: string = 'eui-tree-list-toolbar';\n @Output() filter = new EventEmitter<string>();\n\n @Output() expandAll = new EventEmitter<MouseEvent>();\n @Output() collapseAll = new EventEmitter<MouseEvent>();\n private _isVisible: boolean = false;\n private _isFilterVisible: boolean = true;\n private _isToggleVisible: boolean = true;\n private _isToggleExpanded: boolean = false;\n private _hasLabels: boolean = true;\n\n ngOnInit(): void {\n if (this.filterValue !== '' && this.filterValue !== undefined) {\n this.filter.emit(this.filterValue);\n }\n }\n\n ngOnChanges(c: SimpleChanges): void {\n if (c && c.filterValue && this.filterValue !== undefined) {\n this.filter.emit(this.filterValue);\n }\n }\n\n /**\n * @deprecated\n * @param event\n */\n // public onFilter(event: string): void;\n public onFilter(): void {\n // console.log('test');\n // console.log(this.filterValue);\n if (this.filterValue === '') {\n if (!this.isToggleExpanded) {\n this.collapseAll.emit(null);\n }\n }\n this.filter.emit(this.filterValue);\n }\n\n public onExpandAll(event: MouseEvent): void {\n this.isToggleExpanded = !this.isToggleExpanded;\n this.expandAll.emit(event);\n }\n\n public onCollapseAll(event: MouseEvent): void {\n this.isToggleExpanded = !this.isToggleExpanded;\n this.collapseAll.emit(event);\n }\n}\n\n@Directive({ selector: 'EuiTreeListToolbarButtons' })\nexport class EuiUxTreeToolbarButtonsTagDirective { }\n\n/* eslint-enable */\n", "<div *ngIf=\"isVisible\" euiInputGroup class=\"eui-tree-list-toolbar\">\n <div class=\"eui-input-group-addon\">\n <div class=\"eui-input-group-addon-item\">\n <eui-icon-svg icon=\"eui-ecl-search\"></eui-icon-svg>\n </div>\n <input euiInputText euiClearable [(ngModel)]=\"filterValue\" [placeholder]=\"filterLabel\" (ngModelChange)=\"onFilter()\"/>\n\n <button *ngIf=\"!isToggleExpanded\" euiButton euiSecondary euiOutline (click)=\"onExpandAll($event)\" [euiIconButton]=\"expandAllLabel === ''\">\n <span euiLabel *ngIf=\"expandAllLabel !== ''\">{{ expandAllLabel }}</span>\n <eui-icon-svg icon=\"return-down-forward\"></eui-icon-svg>\n </button>\n <button *ngIf=\"isToggleExpanded\" euiButton euiSecondary euiOutline (click)=\"onCollapseAll($event)\" [euiIconButton]=\"collapseAllLabel === ''\">\n <span euiLabel *ngIf=\"collapseAllLabel !== ''\">{{ collapseAllLabel }}</span>\n <eui-icon-svg icon=\"return-up-forward\"></eui-icon-svg>\n </button>\n </div>\n</div>\n", "import {\n Component,\n Input,\n Output,\n EventEmitter,\n ContentChildren,\n QueryList,\n forwardRef,\n AfterViewInit,\n OnChanges,\n SimpleChanges,\n ElementRef,\n ViewEncapsulation,\n booleanAttribute,\n} from '@angular/core';\nimport { EuiTreeListItemComponent } from './eui-tree-list-item.component';\n\nexport interface EuiTreeListFilterParams {\n readonly level: number;\n readonly item: EuiTreeListItemComponent;\n readonly keyword: string;\n}\n\n@Component({\n selector: 'eui-tree-list',\n templateUrl: './eui-tree-list.component.html',\n styleUrls: ['./_styles/_index.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class EuiTreeListComponent implements AfterViewInit, OnChanges {\n\n @Input({ transform: booleanAttribute }) isShowToolbar = false;\n @Input({ transform: booleanAttribute }) isShowToolbarToggle = true;\n @Input({ transform: booleanAttribute }) isExpanded = false;\n @Input({ transform: booleanAttribute }) hasItemsUrl = false;\n\n @Input() filterLabel: string;\n @Input() filterFunction: (params: EuiTreeListFilterParams) => boolean;\n @Input() expandAllLabel: string;\n @Input() collapseAllLabel: string;\n @Input() tabindex = '0';\n @Input() ariaLabel = '';\n @Input() toolbarFilterValue = '';\n @Input() e2eAttr = 'eui-tree-list';\n\n @Output() itemSelected = new EventEmitter<string>();\n @Output() filter = new EventEmitter<string>();\n @Output() expandAll = new EventEmitter();\n @Output() collapseAll = new EventEmitter();\n\n @ContentChildren(forwardRef(() => EuiTreeListItemComponent)) items: QueryList<EuiTreeListItemComponent>;\n\n public ariaOwns = '';\n public originalTabindex = '0';\n public classes = '';\n public ariaRoleTree = 'tree';\n constructor(private elementRef: ElementRef) {}\n\n ngAfterViewInit(): void {\n const treeItemIds = [];\n if (this.items) {\n this.items.forEach((treeItem: EuiTreeListItemComponent) => {\n treeItemIds.push(treeItem.id);\n });\n }\n setTimeout(() => {\n this.ariaOwns = treeItemIds.join(' ');\n this.originalTabindex = this.tabindex;\n if (this.isExpanded) {\n this.setExpandedState(true);\n }\n }, 0);\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n if (changes && changes['tabindex']) {\n this.originalTabindex = this.tabindex;\n }\n }\n\n get hasExpandAllLabel(): boolean {\n return this.expandAllLabel !== undefined && this.expandAllLabel !== null;\n }\n\n get hasCollapseAllLabel(): boolean {\n return this.collapseAllLabel !== undefined && this.collapseAllLabel !== null;\n }\n\n onExpandAll(event: Event): void {\n this.setExpandedState(true);\n this.expandAll.next(void 0);\n }\n\n onCollapseAll(event: Event): void {\n this.setExpandedState(false);\n this.collapseAll.next(void 0);\n }\n\n onFilter(filterValue: string): void {\n // TODO find a recursive way of doing the filtering throughout the tree structure\n if (filterValue !== '' && filterValue !== undefined) {\n this.setVisibleState(false);\n this.items.toArray().forEach((item1) => {\n item1.isVisible = this.filterMatched(0, item1, filterValue);\n if (item1.subTreeList.length !== 0) {\n item1.subTreeList.toArray().forEach((item1SubTreeList) => {\n item1SubTreeList.items.toArray().forEach((item2) => {\n if (this.filterMatched(1, item2, filterValue)) {\n item2.isVisible = true;\n item1.isVisible = true;\n item1.isExpanded = true;\n\n if (item2.subTreeList.length !== 0) {\n item2.subTreeList.toArray().forEach((item2SubTreeList) => {\n item2SubTreeList.items.toArray().forEach((item3) => {\n item3.isVisible = true;\n });\n });\n }\n }\n\n if (item2.subTreeList.length !== 0) {\n item2.subTreeList.toArray().forEach((item2SubTreeList) => {\n item2SubTreeList.items.toArray().forEach((item4) => {\n if (this.filterMatched(2, item4, filterValue)) {\n item4.isVisible = true;\n item2.isVisible = true;\n item2.isExpanded = true;\n item1.isVisible = true;\n item1.isExpanded = true;\n }\n });\n });\n }\n });\n });\n }\n });\n } else {\n this.setVisibleState(true);\n }\n\n this.filter.next(filterValue);\n }\n\n onFocus(): void {\n this.focus();\n }\n\n public setVisibleState(state: boolean): void {\n this.items.toArray().forEach((item) => item.setVisibleState(state));\n }\n\n public setExpandedState(state: boolean): void {\n this.items.toArray().forEach((item) => item.setExpandedState(state));\n }\n\n public focus(): void {\n // Focus on the first child tree item:\n if (this.items && this.items.length > 0) {\n this.items.first.focus();\n }\n }\n\n public disableFocus(): void {\n this.tabindex = '-1';\n }\n\n public focusOnPreviousTreeItem(currentTreeListItem: EuiTreeListItemComponent): boolean {\n if (this.items && this.items.length > 0) {\n let previousTreeListItem: EuiTreeListItemComponent = null;\n for (const treeListItem of this.items.toArray()) {\n if (treeListItem !== currentTreeListItem) {\n previousTreeListItem = treeListItem;\n } else if (previousTreeListItem) {\n previousTreeListItem.focusOnLastExpandedTreeItem();\n return true;\n }\n }\n\n // Focus on the last item of the previous parent:\n // First find the parent list item:\n if (this.elementRef) {\n let parent = this.elementRef.nativeElement.parentElement;\n while (parent && !parent.classList.contains('eui-tree-list-item')) {\n parent = parent.parentElement;\n }\n\n if (parent) {\n // parent tree-item is found\n const content = parent.querySelector('.eui-tree-list-item-header__content');\n if (content) {\n content.setAttribute('tabindex', '0');\n content.focus();\n return true;\n }\n }\n }\n }\n\n return false;\n }\n\n public focusOnNextTreeItem(currentTreeListItem: EuiTreeListItemComponent): boolean {\n if (this.items && this.items.length > 0) {\n if (currentTreeListItem !== this.items.last) {\n let previousTreeListItem: EuiTreeListItemComponent = null;\n for (const treeListItem of this.items.toArray()) {\n if (previousTreeListItem !== currentTreeListItem) {\n previousTreeListItem = treeListItem;\n } else {\n treeListItem.focus();\n return true;\n }\n }\n } else {\n // The current focused tree item is the last one; find the first next tree item:\n if (this.elementRef) {\n // First find the parent tree list item:\n let parent = this.elementRef.nativeElement.parentElement;\n // Find the parent that is not a last child itself:\n while (parent && (parent.tagName.toLowerCase() !== 'eui-tree-list-item' || parent.nextElementSibling === null)) {\n parent = parent.parentElement;\n }\n\n if (parent) {\n // parent tree list item is found; focus on the first child of the next list item\n const nextTreeListItem = parent.nextElementSibling;\n if (nextTreeListItem) {\n const next = nextTreeListItem.querySelector('.eui-tree-list-item-header__content');\n next.setAttribute('tabindex', '0');\n next.focus();\n return true;\n }\n }\n }\n }\n }\n\n return false;\n }\n\n private defaultFilterFunction(params: EuiTreeListFilterParams): boolean {\n if (!params.item.label) {\n return false;\n } else if (params.item.label.toUpperCase().indexOf(params.keyword.toUpperCase()) !== -1) {\n return true;\n } else {\n return false;\n }\n }\n\n private filterMatched(level: number, item: EuiTreeListItemComponent, keyword: string): boolean {\n if (this.filterFunction) {\n return this.filterFunction({ level, item, keyword });\n } else {\n return this.defaultFilterFunction({ level, item, keyword });\n }\n }\n}\n", "<eui-tree-list-toolbar\n *ngIf=\"isShowToolbar\"\n [isVisible]=\"isShowToolbar\"\n [isToggleVisible]=\"isShowToolbarToggle\"\n (filter)=\"onFilter($event)\"\n [filterValue]=\"toolbarFilterValue\"\n (expandAll)=\"onExpandAll($event)\"\n (collapseAll)=\"onCollapseAll($event)\"\n [filterLabel]=\"filterLabel ? filterLabel : 'eui.FILTER' | translate\"\n [expandAllLabel]=\"hasExpandAllLabel ? expandAllLabel : 'eui.EXPANDALL' | translate\"\n [collapseAllLabel]=\"hasCollapseAllLabel ? collapseAllLabel : 'eui.COLLAPSEALL' | translate\"\n [isToggleExpanded]=\"isExpanded\"\n attr.data-e2e=\"{{ e2eAttr }}-a-toolbar-filter\">\n</eui-tree-list-toolbar>\n\n<div\n class=\"eui-tree-list\"\n [attr.role]=\"ariaRoleTree\"\n [attr.data-tabindex]=\"originalTabindex\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.aria-owns]=\"ariaOwns\"\n attr.data-e2e=\"{{ e2eAttr }}\">\n <ng-content></ng-content>\n</div>\n", "import { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { EuiTreeListComponent } from './eui-tree-list.component';\nimport {\n EuiTreeListItemComponent,\n EuiTreeListItemDetailsContentTagDirective,\n EuiTreeListItemSubContainerContentTagDirective,\n EuiTreeListItemLabelTagDirective,\n} from './eui-tree-list-item.component';\nimport { EuiIconModule } from '@eui/components/eui-icon';\nimport { EuiIconButtonExpanderModule } from '@eui/components/eui-icon-button-expander';\n\nimport { EuiLabelModule } from '@eui/components/eui-label';\nimport { EuiButtonModule } from '@eui/components/eui-button';\nimport { EuiTreeListItemContentComponent } from './item-content/item-content.component';\nimport { EuiTreeListToolbarComponent } from './toolbar/toolbar.component';\nimport { EuiInputTextModule } from '@eui/components/eui-input-text';\nimport { EuiInputGroupModule } from '@eui/components/eui-input-group';\n\n@NgModule({\n imports: [\n TranslateModule,\n CommonModule, FormsModule, EuiIconModule, EuiLabelModule, EuiButtonModule,\n EuiIconButtonExpanderModule,\n EuiInputTextModule,\n EuiInputGroupModule,\n ],\n exports: [\n EuiTreeListComponent,\n EuiTreeListItemComponent,\n EuiTreeListItemComponent,\n EuiTreeListItemLabelTagDirective,\n EuiTreeListItemDetailsContentTagDirective,\n EuiTreeListItemSubContainerContentTagDirective,\n\n EuiTreeListItemContentComponent,\n EuiTreeListToolbarComponent,\n ],\n declarations: [\n EuiTreeListComponent,\n EuiTreeListItemComponent,\n EuiTreeListItemComponent,\n EuiTreeListItemLabelTagDirective,\n EuiTreeListItemDetailsContentTagDirective,\n EuiTreeListItemSubContainerContentTagDirective,\n\n EuiTreeListItemContentComponent,\n EuiTreeListToolbarComponent,\n ],\n})\nexport class EuiTreeListModule {}\n"],
|
5
|
+
"mappings": ";AAAA,SAAS,WAAW,mBAAmB;;AAMjC,IAAO,kCAAP,MAAO,iCAA+B;EAJ5C,cAAA;AAK0B,SAAA,SAAS;;;0GADtB,kCAA+B,MAAA,CAAA,GAAA,QAAA,mBAAA,UAAA,CAAA;EAAA;;8FAA/B,kCAA+B,UAAA,8BAAA,MAAA,EAAA,YAAA,EAAA,SAAA,cAAA,EAAA,GAAA,UAAA,IAAA,UAF9B,6BAA2B,UAAA,KAAA,CAAA;EAAA;;gGAE5B,iCAA+B,YAAA,CAAA;QAJ3C;SAAU;IACP,UAAU;IACV,UAAU;GACb;sBAEyB,QAAM,CAAA;QAA3B;SAAY,OAAO;;;;ACPxB,SAEI,kBACA,aAAAA,YACA,cACA,iBACA,WAEA,cACA,YACA,MACA,eAAAC,cACA,QACA,OACA,UACA,QAEA,WACA,yBACG;AAKP,SAAS,cAAc,gBAAgB;AAEvC,SAAS,2BAA2B;;;;;;;AAa9B,IAAO,2BAAP,MAAO,0BAAwB;EACjC,I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"i0", "Component", "Directive", "Input", "Output", "EventEmitter", "ViewEncapsulation", "i0", "Component", "Input", "Output", "EventEmitter", "ContentChildren", "forwardRef", "ViewEncapsulation", "booleanAttribute", "i0"]
|
7
7
|
}
|
@@ -478,7 +478,7 @@ import { Component as Component8, HostBinding as HostBinding8, Input as Input4,
|
|
478
478
|
import { consumeEvent as consumeEvent2 } from "@eui/core";
|
479
479
|
import * as i09 from "@angular/core";
|
480
480
|
import * as i16 from "@eui/core";
|
481
|
-
import * as i23 from "@eui/components/eui-icon";
|
481
|
+
import * as i23 from "@eui/components/eui-icon-button";
|
482
482
|
import * as i33 from "@angular/common";
|
483
483
|
var EuiSidebarToggleComponent = class _EuiSidebarToggleComponent {
|
484
484
|
constructor(asService) {
|
@@ -531,23 +531,23 @@ i09.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.1", n
|
|
531
531
|
// eui-sidebar-toggle/sidebar-toggle.module.mjs
|
532
532
|
import { NgModule as NgModule2 } from "@angular/core";
|
533
533
|
import { CommonModule as CommonModule2 } from "@angular/common";
|
534
|
-
import {
|
534
|
+
import { EuiIconButtonModule } from "@eui/components/eui-icon-button";
|
535
535
|
import * as i010 from "@angular/core";
|
536
536
|
var EuiSidebarToggleModule = class _EuiSidebarToggleModule {
|
537
537
|
static {
|
538
538
|
this.ɵfac = i010.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i010, type: _EuiSidebarToggleModule, deps: [], target: i010.ɵɵFactoryTarget.NgModule });
|
539
539
|
}
|
540
540
|
static {
|
541
|
-
this.ɵmod = i010.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-rc.1", ngImport: i010, type: _EuiSidebarToggleModule, declarations: [EuiSidebarToggleComponent], imports: [CommonModule2,
|
541
|
+
this.ɵmod = i010.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-rc.1", ngImport: i010, type: _EuiSidebarToggleModule, declarations: [EuiSidebarToggleComponent], imports: [CommonModule2, EuiIconButtonModule], exports: [EuiSidebarToggleComponent] });
|
542
542
|
}
|
543
543
|
static {
|
544
|
-
this.ɵinj = i010.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i010, type: _EuiSidebarToggleModule, imports: [CommonModule2,
|
544
|
+
this.ɵinj = i010.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i010, type: _EuiSidebarToggleModule, imports: [CommonModule2, EuiIconButtonModule] });
|
545
545
|
}
|
546
546
|
};
|
547
547
|
i010.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i010, type: EuiSidebarToggleModule, decorators: [{
|
548
548
|
type: NgModule2,
|
549
549
|
args: [{
|
550
|
-
imports: [CommonModule2,
|
550
|
+
imports: [CommonModule2, EuiIconButtonModule],
|
551
551
|
exports: [EuiSidebarToggleComponent],
|
552
552
|
declarations: [EuiSidebarToggleComponent]
|
553
553
|
}]
|
@@ -1395,7 +1395,7 @@ import { CommonModule as CommonModule3 } from "@angular/common";
|
|
1395
1395
|
import { NgModule as NgModule3 } from "@angular/core";
|
1396
1396
|
import { RouterModule as RouterModule2 } from "@angular/router";
|
1397
1397
|
import { TranslateModule } from "@ngx-translate/core";
|
1398
|
-
import { EuiIconModule as
|
1398
|
+
import { EuiIconModule as EuiIconModule2 } from "@eui/components/eui-icon";
|
1399
1399
|
import { EuiButtonModule as EuiButtonModule2 } from "@eui/components/eui-button";
|
1400
1400
|
import { EuiDropdownModule } from "@eui/components/eui-dropdown";
|
1401
1401
|
import { EuiLanguageSelectorModule } from "@eui/components/eui-language-selector";
|
@@ -1433,7 +1433,7 @@ var EuiToolbarModule = class _EuiToolbarModule {
|
|
1433
1433
|
], imports: [
|
1434
1434
|
CommonModule3,
|
1435
1435
|
RouterModule2,
|
1436
|
-
|
1436
|
+
EuiIconModule2,
|
1437
1437
|
EuiButtonModule2,
|
1438
1438
|
EuiDropdownModule,
|
1439
1439
|
EuiLanguageSelectorModule,
|
@@ -1456,7 +1456,7 @@ var EuiToolbarModule = class _EuiToolbarModule {
|
|
1456
1456
|
this.ɵinj = i022.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i022, type: _EuiToolbarModule, imports: [
|
1457
1457
|
CommonModule3,
|
1458
1458
|
RouterModule2,
|
1459
|
-
|
1459
|
+
EuiIconModule2,
|
1460
1460
|
EuiButtonModule2,
|
1461
1461
|
EuiDropdownModule,
|
1462
1462
|
EuiLanguageSelectorModule,
|
@@ -1470,7 +1470,7 @@ i022.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.1",
|
|
1470
1470
|
imports: [
|
1471
1471
|
CommonModule3,
|
1472
1472
|
RouterModule2,
|
1473
|
-
|
1473
|
+
EuiIconModule2,
|
1474
1474
|
EuiButtonModule2,
|
1475
1475
|
EuiDropdownModule,
|
1476
1476
|
EuiLanguageSelectorModule,
|
@@ -1937,7 +1937,7 @@ import * as i117 from "@eui/core";
|
|
1937
1937
|
import * as i211 from "@angular/cdk/observers";
|
1938
1938
|
import * as i38 from "@eui/components/shared";
|
1939
1939
|
import * as i45 from "@angular/common";
|
1940
|
-
import * as i54 from "@eui/components/eui-icon";
|
1940
|
+
import * as i54 from "@eui/components/eui-icon-button";
|
1941
1941
|
var EuiAppTopMessageComponent = class _EuiAppTopMessageComponent {
|
1942
1942
|
get cssClasses() {
|
1943
1943
|
return [
|
@@ -2035,23 +2035,24 @@ i032.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.1",
|
|
2035
2035
|
// eui-app/eui-app-top-message/top-message.module.mjs
|
2036
2036
|
import { CommonModule as CommonModule8 } from "@angular/common";
|
2037
2037
|
import { NgModule as NgModule8 } from "@angular/core";
|
2038
|
-
import { EuiIconModule as
|
2038
|
+
import { EuiIconModule as EuiIconModule3 } from "@eui/components/eui-icon";
|
2039
|
+
import { EuiIconButtonModule as EuiIconButtonModule2 } from "@eui/components/eui-icon-button";
|
2039
2040
|
import * as i033 from "@angular/core";
|
2040
2041
|
var EuiAppTopMessageModule = class _EuiAppTopMessageModule {
|
2041
2042
|
static {
|
2042
2043
|
this.ɵfac = i033.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i033, type: _EuiAppTopMessageModule, deps: [], target: i033.ɵɵFactoryTarget.NgModule });
|
2043
2044
|
}
|
2044
2045
|
static {
|
2045
|
-
this.ɵmod = i033.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-rc.1", ngImport: i033, type: _EuiAppTopMessageModule, declarations: [EuiAppTopMessageComponent], imports: [CommonModule8,
|
2046
|
+
this.ɵmod = i033.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-rc.1", ngImport: i033, type: _EuiAppTopMessageModule, declarations: [EuiAppTopMessageComponent], imports: [CommonModule8, EuiIconModule3, EuiIconButtonModule2], exports: [EuiAppTopMessageComponent] });
|
2046
2047
|
}
|
2047
2048
|
static {
|
2048
|
-
this.ɵinj = i033.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i033, type: _EuiAppTopMessageModule, imports: [CommonModule8,
|
2049
|
+
this.ɵinj = i033.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i033, type: _EuiAppTopMessageModule, imports: [CommonModule8, EuiIconModule3, EuiIconButtonModule2] });
|
2049
2050
|
}
|
2050
2051
|
};
|
2051
2052
|
i033.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i033, type: EuiAppTopMessageModule, decorators: [{
|
2052
2053
|
type: NgModule8,
|
2053
2054
|
args: [{
|
2054
|
-
imports: [CommonModule8,
|
2055
|
+
imports: [CommonModule8, EuiIconModule3, EuiIconButtonModule2],
|
2055
2056
|
declarations: [EuiAppTopMessageComponent],
|
2056
2057
|
exports: [EuiAppTopMessageComponent]
|
2057
2058
|
}]
|
@@ -2906,7 +2907,8 @@ import * as i215 from "@eui/components/eui-overlay";
|
|
2906
2907
|
import * as i310 from "@eui/components/eui-button";
|
2907
2908
|
import * as i47 from "@eui/components/eui-badge";
|
2908
2909
|
import * as i55 from "@eui/components/eui-icon";
|
2909
|
-
import * as
|
2910
|
+
import * as i6 from "@eui/components/eui-icon-button";
|
2911
|
+
import * as i8 from "@ngx-translate/core";
|
2910
2912
|
var EuiNotificationsComponent = class _EuiNotificationsComponent {
|
2911
2913
|
constructor() {
|
2912
2914
|
this.refreshClick = new EventEmitter8();
|
@@ -3173,7 +3175,7 @@ var EuiNotificationsComponent = class _EuiNotificationsComponent {
|
|
3173
3175
|
</ng-template>
|
3174
3176
|
</eui-overlay-footer>
|
3175
3177
|
</eui-overlay>
|
3176
|
-
`, styles: [".eui-overlay-header{background-color:var(--eui-c-neutral-bg-light);border-bottom:1px solid var(--eui-c-neutral-lightest)}.eui-notifications-items{margin:0;padding:0}.eui-notifications__trigger .eui-icon-svg svg{position:relative;top:var(--eui-s-2xs);transform:scale(1.1)}.eui-notifications__header{align-items:center;border-bottom:1px solid var(--eui-c-neutral-bg-light);color:var(--eui-c-text);cursor:default;display:flex;padding:var(--eui-s-xs) var(--eui-s-m)}.eui-notifications__header-title{display:flex}.eui-notifications__header-title-label{font:var(--eui-f-l-bold)}.eui-notifications__header-title-subLabel{margin-top:var(--eui-s-xs);font:var(--eui-f-m)}.eui-notifications__header-actions{align-items:center;display:flex;margin-left:auto}.eui-notification-item{display:flex;flex-direction:column;overflow-y:auto;margin:0}.eui-notification-item-content{background-color:var(--eui-c-info-bg);border-bottom:1px solid var(--eui-c-neutral-lightest);display:flex;flex-direction:column;min-height:var(--eui-s-4xl);padding:var(--eui-s-s) var(--eui-s-m);cursor:pointer}.eui-notification-item-content:hover{background-color:var(--eui-c-neutral-bg-light)!important}.eui-notification-item-content-top{align-items:center;display:flex;justify-content:space-between}.eui-notification-item-content-top__date{display:flex;align-items:center}.eui-notification-item-content-top__date-icon{align-items:center;display:flex;position:relative}.eui-notification-item-content-top__date-icon--rotated{transform:rotate(20deg)}.eui-notification-item-content-top__date-icon-dot{position:absolute;top:0;right:0}.eui-notification-item-content-middle{margin:var(--eui-s-2xs) 0}.eui-notification-item-content-middle__sub-label{margin-top:var(--eui-s-2xs)}.eui-notification-item-content-bottom{display:flex;justify-content:flex-end}\n"], dependencies: [{ kind: "directive", type: i126.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i126.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i215.EuiOverlayHeaderComponent, selector: "eui-overlay-header" }, { kind: "component", type: i215.EuiOverlayBodyComponent, selector: "eui-overlay-body" }, { kind: "component", type: i215.EuiOverlayFooterComponent, selector: "eui-overlay-footer" }, { kind: "component", type: i215.EuiOverlayComponent, selector: "eui-overlay", inputs: ["isActive", "euiHighlighted", "hasClosedOnClickOutside", "position", "width", "fixedWidth"], outputs: ["activeState"] }, { kind: "component", type: i310.EuiButtonComponent, selector: "button[euiButton], a[euiButton]", inputs: ["e2eAttr", "id", "euiBasicButton", "euiButtonCall", "euiBlockButton", "euiIconButton", "euiLineWrap", "isChecked", "euiDisabled"], outputs: ["buttonClick"] }, { kind: "component", type: i47.EuiBadgeComponent, selector: "div[euiBadge], span[euiBadge], eui-badge", inputs: ["e2eAttr", "aria-label"] }, { kind: "component", type: i55.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: "component", type:
|
3178
|
+
`, styles: [".eui-overlay-header{background-color:var(--eui-c-neutral-bg-light);border-bottom:1px solid var(--eui-c-neutral-lightest)}.eui-notifications-items{margin:0;padding:0}.eui-notifications__trigger .eui-icon-svg svg{position:relative;top:var(--eui-s-2xs);transform:scale(1.1)}.eui-notifications__header{align-items:center;border-bottom:1px solid var(--eui-c-neutral-bg-light);color:var(--eui-c-text);cursor:default;display:flex;padding:var(--eui-s-xs) var(--eui-s-m)}.eui-notifications__header-title{display:flex}.eui-notifications__header-title-label{font:var(--eui-f-l-bold)}.eui-notifications__header-title-subLabel{margin-top:var(--eui-s-xs);font:var(--eui-f-m)}.eui-notifications__header-actions{align-items:center;display:flex;margin-left:auto}.eui-notification-item{display:flex;flex-direction:column;overflow-y:auto;margin:0}.eui-notification-item-content{background-color:var(--eui-c-info-bg);border-bottom:1px solid var(--eui-c-neutral-lightest);display:flex;flex-direction:column;min-height:var(--eui-s-4xl);padding:var(--eui-s-s) var(--eui-s-m);cursor:pointer}.eui-notification-item-content:hover{background-color:var(--eui-c-neutral-bg-light)!important}.eui-notification-item-content-top{align-items:center;display:flex;justify-content:space-between}.eui-notification-item-content-top__date{display:flex;align-items:center}.eui-notification-item-content-top__date-icon{align-items:center;display:flex;position:relative}.eui-notification-item-content-top__date-icon--rotated{transform:rotate(20deg)}.eui-notification-item-content-top__date-icon-dot{position:absolute;top:0;right:0}.eui-notification-item-content-middle{margin:var(--eui-s-2xs) 0}.eui-notification-item-content-middle__sub-label{margin-top:var(--eui-s-2xs)}.eui-notification-item-content-bottom{display:flex;justify-content:flex-end}\n"], dependencies: [{ kind: "directive", type: i126.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i126.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i215.EuiOverlayHeaderComponent, selector: "eui-overlay-header" }, { kind: "component", type: i215.EuiOverlayBodyComponent, selector: "eui-overlay-body" }, { kind: "component", type: i215.EuiOverlayFooterComponent, selector: "eui-overlay-footer" }, { kind: "component", type: i215.EuiOverlayComponent, selector: "eui-overlay", inputs: ["isActive", "euiHighlighted", "hasClosedOnClickOutside", "position", "width", "fixedWidth"], outputs: ["activeState"] }, { kind: "component", type: i310.EuiButtonComponent, selector: "button[euiButton], a[euiButton]", inputs: ["e2eAttr", "id", "euiBasicButton", "euiButtonCall", "euiBlockButton", "euiIconButton", "euiLineWrap", "isChecked", "euiDisabled"], outputs: ["buttonClick"] }, { kind: "component", type: i47.EuiBadgeComponent, selector: "div[euiBadge], span[euiBadge], eui-badge", inputs: ["e2eAttr", "aria-label"] }, { kind: "component", type: i55.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: "component", type: i6.EuiIconButtonComponent, selector: "eui-icon-button", inputs: ["icon", "fillColor", "size", "ariaLabel", "hasFocusBorder", "hasNoPadding"], outputs: ["buttonClick"] }, { kind: "component", type: EuiNotificationItemComponent, selector: "eui-notification-item", inputs: ["markAsReadLabel", "item", "dateFormat", "isShowMarkAsRead"], outputs: ["itemClick", "itemMarkAsRead"] }, { kind: "pipe", type: i8.TranslatePipe, name: "translate" }], changeDetection: i048.ChangeDetectionStrategy.Default, encapsulation: i048.ViewEncapsulation.None });
|
3177
3179
|
}
|
3178
3180
|
};
|
3179
3181
|
i048.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i048, type: EuiNotificationsComponent, decorators: [{
|
@@ -3360,7 +3362,8 @@ import { TranslateModule as TranslateModule2 } from "@ngx-translate/core";
|
|
3360
3362
|
import { EuiButtonModule as EuiButtonModule3 } from "@eui/components/eui-button";
|
3361
3363
|
import { EuiOverlayModule } from "@eui/components/eui-overlay";
|
3362
3364
|
import { EuiBadgeModule } from "@eui/components/eui-badge";
|
3363
|
-
import { EuiIconModule as
|
3365
|
+
import { EuiIconModule as EuiIconModule4 } from "@eui/components/eui-icon";
|
3366
|
+
import { EuiIconButtonModule as EuiIconButtonModule3 } from "@eui/components/eui-icon-button";
|
3364
3367
|
import { EuiTruncatePipeModule } from "@eui/components/pipes";
|
3365
3368
|
import * as i049 from "@angular/core";
|
3366
3369
|
var EuiNotificationsModule = class _EuiNotificationsModule {
|
@@ -3368,16 +3371,43 @@ var EuiNotificationsModule = class _EuiNotificationsModule {
|
|
3368
3371
|
this.ɵfac = i049.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i049, type: _EuiNotificationsModule, deps: [], target: i049.ɵɵFactoryTarget.NgModule });
|
3369
3372
|
}
|
3370
3373
|
static {
|
3371
|
-
this.ɵmod = i049.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-rc.1", ngImport: i049, type: _EuiNotificationsModule, declarations: [EuiNotificationsComponent, EuiNotificationItemComponent], imports: [
|
3372
|
-
|
3373
|
-
|
3374
|
-
|
3374
|
+
this.ɵmod = i049.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-rc.1", ngImport: i049, type: _EuiNotificationsModule, declarations: [EuiNotificationsComponent, EuiNotificationItemComponent], imports: [
|
3375
|
+
CommonModule12,
|
3376
|
+
TranslateModule2,
|
3377
|
+
EuiOverlayModule,
|
3378
|
+
EuiButtonModule3,
|
3379
|
+
EuiBadgeModule,
|
3380
|
+
EuiIconModule4,
|
3381
|
+
EuiTruncatePipeModule,
|
3382
|
+
EuiIconButtonModule3
|
3383
|
+
], exports: [EuiNotificationsComponent, EuiNotificationItemComponent] });
|
3384
|
+
}
|
3385
|
+
static {
|
3386
|
+
this.ɵinj = i049.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i049, type: _EuiNotificationsModule, imports: [
|
3387
|
+
CommonModule12,
|
3388
|
+
TranslateModule2,
|
3389
|
+
EuiOverlayModule,
|
3390
|
+
EuiButtonModule3,
|
3391
|
+
EuiBadgeModule,
|
3392
|
+
EuiIconModule4,
|
3393
|
+
EuiTruncatePipeModule,
|
3394
|
+
EuiIconButtonModule3
|
3395
|
+
] });
|
3375
3396
|
}
|
3376
3397
|
};
|
3377
3398
|
i049.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i049, type: EuiNotificationsModule, decorators: [{
|
3378
3399
|
type: NgModule12,
|
3379
3400
|
args: [{
|
3380
|
-
imports: [
|
3401
|
+
imports: [
|
3402
|
+
CommonModule12,
|
3403
|
+
TranslateModule2,
|
3404
|
+
EuiOverlayModule,
|
3405
|
+
EuiButtonModule3,
|
3406
|
+
EuiBadgeModule,
|
3407
|
+
EuiIconModule4,
|
3408
|
+
EuiTruncatePipeModule,
|
3409
|
+
EuiIconButtonModule3
|
3410
|
+
],
|
3381
3411
|
declarations: [EuiNotificationsComponent, EuiNotificationItemComponent],
|
3382
3412
|
exports: [EuiNotificationsComponent, EuiNotificationItemComponent]
|
3383
3413
|
}]
|
@@ -3599,7 +3629,8 @@ import * as i128 from "@angular/common";
|
|
3599
3629
|
import * as i217 from "@eui/components/eui-overlay";
|
3600
3630
|
import * as i312 from "@eui/components/eui-badge";
|
3601
3631
|
import * as i49 from "@eui/components/eui-icon";
|
3602
|
-
import * as
|
3632
|
+
import * as i56 from "@eui/components/eui-icon-button";
|
3633
|
+
import * as i7 from "@ngx-translate/core";
|
3603
3634
|
var EuiNotificationsV2Component = class _EuiNotificationsV2Component {
|
3604
3635
|
constructor() {
|
3605
3636
|
this.refreshClick = new EventEmitter10();
|
@@ -3858,7 +3889,7 @@ var EuiNotificationsV2Component = class _EuiNotificationsV2Component {
|
|
3858
3889
|
</ng-template>
|
3859
3890
|
</eui-overlay-footer>
|
3860
3891
|
</eui-overlay>
|
3861
|
-
`, styles: [".eui-overlay-header{padding:0}.eui-overlay-footer{background-color:var(--eui-c-white)}.eui-notifications-items{margin:0;padding:0}.eui-notifications-v2__trigger .eui-icon-svg svg{transform:scale(1.1)}.eui-notifications-v2__header{border-bottom:1px solid var(--eui-c-neutral-bg-light);color:var(--eui-c-text);cursor:default;flex-direction:column;display:flex;width:100%}.eui-notifications-v2__header-title{display:flex;padding:var(--eui-s-xs) var(--eui-s-m)}.eui-notifications-v2__header-title-label{font:var(--eui-f-l-bold)}.eui-notifications-v2__header-title-subLabel{margin-top:var(--eui-s-xs);font:var(--eui-f-s)}.eui-notifications-v2__header-title-actions{align-items:center;display:flex;margin-left:auto}.eui-notifications-v2__header-subinfos-bar,.eui-notifications-v2__header-subactions-bar{display:flex;align-items:center;border-bottom:1px solid var(--eui-c-neutral-bg-light);padding:var(--eui-s-xs) var(--eui-s-m)}.eui-notification-item{display:flex;flex-direction:column;overflow-y:auto;margin:0}.eui-notification-item-content{background-color:var(--eui-c-info-bg);border-bottom:1px solid var(--eui-c-neutral-lightest);display:flex;flex-direction:column;min-height:var(--eui-s-4xl);padding:var(--eui-s-s) var(--eui-s-m);cursor:pointer}.eui-notification-item-content:hover{background-color:var(--eui-c-neutral-bg-light)!important}.eui-notification-item-content-top{align-items:center;display:flex;justify-content:space-between}.eui-notification-item-content-top__date{display:flex;align-items:center}.eui-notification-item-content-top__date-icon{align-items:center;display:flex;position:relative}.eui-notification-item-content-top__date-icon--rotated{transform:rotate(20deg)}.eui-notification-item-content-top__date-icon-dot{position:absolute;top:0;right:0}.eui-notification-item-content-middle{display:flex;margin:var(--eui-s-2xs) 0}.eui-notification-item-content-middle__sub-label{margin-top:var(--eui-s-2xs)}.eui-notification-item-content-bottom{display:flex;justify-content:flex-end}\n"], dependencies: [{ kind: "directive", type: i128.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i128.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i217.EuiOverlayHeaderComponent, selector: "eui-overlay-header" }, { kind: "component", type: i217.EuiOverlayBodyComponent, selector: "eui-overlay-body" }, { kind: "component", type: i217.EuiOverlayFooterComponent, selector: "eui-overlay-footer" }, { kind: "component", type: i217.EuiOverlayComponent, selector: "eui-overlay", inputs: ["isActive", "euiHighlighted", "hasClosedOnClickOutside", "position", "width", "fixedWidth"], outputs: ["activeState"] }, { kind: "component", type: i312.EuiBadgeComponent, selector: "div[euiBadge], span[euiBadge], eui-badge", inputs: ["e2eAttr", "aria-label"] }, { kind: "component", type: i49.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: "component", type:
|
3892
|
+
`, styles: [".eui-overlay-header{padding:0}.eui-overlay-footer{background-color:var(--eui-c-white)}.eui-notifications-items{margin:0;padding:0}.eui-notifications-v2__trigger .eui-icon-svg svg{transform:scale(1.1)}.eui-notifications-v2__header{border-bottom:1px solid var(--eui-c-neutral-bg-light);color:var(--eui-c-text);cursor:default;flex-direction:column;display:flex;width:100%}.eui-notifications-v2__header-title{display:flex;padding:var(--eui-s-xs) var(--eui-s-m)}.eui-notifications-v2__header-title-label{font:var(--eui-f-l-bold)}.eui-notifications-v2__header-title-subLabel{margin-top:var(--eui-s-xs);font:var(--eui-f-s)}.eui-notifications-v2__header-title-actions{align-items:center;display:flex;margin-left:auto}.eui-notifications-v2__header-subinfos-bar,.eui-notifications-v2__header-subactions-bar{display:flex;align-items:center;border-bottom:1px solid var(--eui-c-neutral-bg-light);padding:var(--eui-s-xs) var(--eui-s-m)}.eui-notification-item{display:flex;flex-direction:column;overflow-y:auto;margin:0}.eui-notification-item-content{background-color:var(--eui-c-info-bg);border-bottom:1px solid var(--eui-c-neutral-lightest);display:flex;flex-direction:column;min-height:var(--eui-s-4xl);padding:var(--eui-s-s) var(--eui-s-m);cursor:pointer}.eui-notification-item-content:hover{background-color:var(--eui-c-neutral-bg-light)!important}.eui-notification-item-content-top{align-items:center;display:flex;justify-content:space-between}.eui-notification-item-content-top__date{display:flex;align-items:center}.eui-notification-item-content-top__date-icon{align-items:center;display:flex;position:relative}.eui-notification-item-content-top__date-icon--rotated{transform:rotate(20deg)}.eui-notification-item-content-top__date-icon-dot{position:absolute;top:0;right:0}.eui-notification-item-content-middle{display:flex;margin:var(--eui-s-2xs) 0}.eui-notification-item-content-middle__sub-label{margin-top:var(--eui-s-2xs)}.eui-notification-item-content-bottom{display:flex;justify-content:flex-end}\n"], dependencies: [{ kind: "directive", type: i128.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i128.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i217.EuiOverlayHeaderComponent, selector: "eui-overlay-header" }, { kind: "component", type: i217.EuiOverlayBodyComponent, selector: "eui-overlay-body" }, { kind: "component", type: i217.EuiOverlayFooterComponent, selector: "eui-overlay-footer" }, { kind: "component", type: i217.EuiOverlayComponent, selector: "eui-overlay", inputs: ["isActive", "euiHighlighted", "hasClosedOnClickOutside", "position", "width", "fixedWidth"], outputs: ["activeState"] }, { kind: "component", type: i312.EuiBadgeComponent, selector: "div[euiBadge], span[euiBadge], eui-badge", inputs: ["e2eAttr", "aria-label"] }, { kind: "component", type: i49.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: "component", type: i56.EuiIconButtonComponent, selector: "eui-icon-button", inputs: ["icon", "fillColor", "size", "ariaLabel", "hasFocusBorder", "hasNoPadding"], outputs: ["buttonClick"] }, { kind: "component", type: EuiNotificationItemV2Component, selector: "eui-notification-item-v2", inputs: ["markAsReadLabel", "item", "dateFormat", "isShowMarkAsRead"], outputs: ["itemClick", "itemMarkAsRead"] }, { kind: "pipe", type: i7.TranslatePipe, name: "translate" }], changeDetection: i051.ChangeDetectionStrategy.Default, encapsulation: i051.ViewEncapsulation.None });
|
3862
3893
|
}
|
3863
3894
|
};
|
3864
3895
|
i051.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i051, type: EuiNotificationsV2Component, decorators: [{
|
@@ -4036,7 +4067,8 @@ import { TranslateModule as TranslateModule3 } from "@ngx-translate/core";
|
|
4036
4067
|
import { EuiButtonModule as EuiButtonModule4 } from "@eui/components/eui-button";
|
4037
4068
|
import { EuiOverlayModule as EuiOverlayModule2 } from "@eui/components/eui-overlay";
|
4038
4069
|
import { EuiBadgeModule as EuiBadgeModule2 } from "@eui/components/eui-badge";
|
4039
|
-
import { EuiIconModule as
|
4070
|
+
import { EuiIconModule as EuiIconModule5 } from "@eui/components/eui-icon";
|
4071
|
+
import { EuiIconButtonModule as EuiIconButtonModule4 } from "@eui/components/eui-icon-button";
|
4040
4072
|
import { EuiTruncatePipeModule as EuiTruncatePipeModule2 } from "@eui/components/pipes";
|
4041
4073
|
import * as i052 from "@angular/core";
|
4042
4074
|
var EuiNotificationsV2Module = class _EuiNotificationsV2Module {
|
@@ -4044,16 +4076,43 @@ var EuiNotificationsV2Module = class _EuiNotificationsV2Module {
|
|
4044
4076
|
this.ɵfac = i052.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i052, type: _EuiNotificationsV2Module, deps: [], target: i052.ɵɵFactoryTarget.NgModule });
|
4045
4077
|
}
|
4046
4078
|
static {
|
4047
|
-
this.ɵmod = i052.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-rc.1", ngImport: i052, type: _EuiNotificationsV2Module, declarations: [EuiNotificationsV2Component, EuiNotificationItemV2Component], imports: [
|
4048
|
-
|
4049
|
-
|
4050
|
-
|
4079
|
+
this.ɵmod = i052.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-rc.1", ngImport: i052, type: _EuiNotificationsV2Module, declarations: [EuiNotificationsV2Component, EuiNotificationItemV2Component], imports: [
|
4080
|
+
CommonModule13,
|
4081
|
+
TranslateModule3,
|
4082
|
+
EuiOverlayModule2,
|
4083
|
+
EuiButtonModule4,
|
4084
|
+
EuiBadgeModule2,
|
4085
|
+
EuiIconModule5,
|
4086
|
+
EuiTruncatePipeModule2,
|
4087
|
+
EuiIconButtonModule4
|
4088
|
+
], exports: [EuiNotificationsV2Component, EuiNotificationItemV2Component] });
|
4089
|
+
}
|
4090
|
+
static {
|
4091
|
+
this.ɵinj = i052.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i052, type: _EuiNotificationsV2Module, imports: [
|
4092
|
+
CommonModule13,
|
4093
|
+
TranslateModule3,
|
4094
|
+
EuiOverlayModule2,
|
4095
|
+
EuiButtonModule4,
|
4096
|
+
EuiBadgeModule2,
|
4097
|
+
EuiIconModule5,
|
4098
|
+
EuiTruncatePipeModule2,
|
4099
|
+
EuiIconButtonModule4
|
4100
|
+
] });
|
4051
4101
|
}
|
4052
4102
|
};
|
4053
4103
|
i052.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i052, type: EuiNotificationsV2Module, decorators: [{
|
4054
4104
|
type: NgModule13,
|
4055
4105
|
args: [{
|
4056
|
-
imports: [
|
4106
|
+
imports: [
|
4107
|
+
CommonModule13,
|
4108
|
+
TranslateModule3,
|
4109
|
+
EuiOverlayModule2,
|
4110
|
+
EuiButtonModule4,
|
4111
|
+
EuiBadgeModule2,
|
4112
|
+
EuiIconModule5,
|
4113
|
+
EuiTruncatePipeModule2,
|
4114
|
+
EuiIconButtonModule4
|
4115
|
+
],
|
4057
4116
|
declarations: [EuiNotificationsV2Component, EuiNotificationItemV2Component],
|
4058
4117
|
exports: [EuiNotificationsV2Component, EuiNotificationItemV2Component]
|
4059
4118
|
}]
|