@eui/components 18.0.0-next.49 → 18.0.0-next.50
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/directives/eui-arrow-key-navigable.directive.d.ts +13 -0
- package/directives/eui-arrow-key-navigable.directive.d.ts.map +1 -0
- package/directives/index.d.ts +1 -0
- package/directives/index.d.ts.map +1 -1
- package/docs/components/ChartComponent.html +2 -2
- package/docs/components/CollapsedBreadcrumbComponent.html +2 -2
- package/docs/components/DefaultComponent-1.html +2 -2
- package/docs/components/DefaultComponent.html +2 -2
- package/docs/components/EuiAccordionComponent.html +379 -0
- package/docs/components/EuiAccordionItemComponent.html +498 -0
- package/docs/components/EuiAlertComponent.html +2 -2
- package/docs/components/EuiAlertTitleComponent.html +2 -2
- package/docs/components/EuiAppBreadcrumbComponent.html +2 -2
- package/docs/components/EuiAppComponent.html +2 -2
- package/docs/components/EuiAppFooterComponent.html +2 -2
- package/docs/components/EuiAppHeaderComponent.html +2 -2
- package/docs/components/EuiAppSidebarBodyComponent.html +2 -2
- package/docs/components/EuiAppSidebarComponent.html +2 -2
- package/docs/components/EuiAppSidebarDrawerComponent.html +2 -2
- package/docs/components/EuiAppSidebarFooterComponent.html +2 -2
- package/docs/components/EuiAppSidebarHeaderComponent.html +2 -2
- package/docs/components/EuiAppSidebarHeaderUserProfileComponent.html +2 -2
- package/docs/components/EuiAppSidebarMenuComponent.html +2 -2
- package/docs/components/EuiAppToolbarComponent.html +2 -2
- package/docs/components/EuiAppTopMessageComponent.html +2 -2
- package/docs/components/EuiAutocompleteAsyncTestComponent.html +2 -2
- package/docs/components/EuiAutocompleteChipsAsyncTestComponent.html +2 -2
- package/docs/components/EuiAutocompleteChipsTestComponent.html +2 -2
- package/docs/components/EuiAutocompleteComponent.html +2 -2
- package/docs/components/EuiAutocompleteOptionComponent.html +2 -2
- package/docs/components/EuiAutocompleteOptionGroupComponent.html +2 -2
- package/docs/components/EuiAutocompleteTestComponent.html +2 -2
- package/docs/components/EuiAvatarBadgeComponent.html +2 -2
- package/docs/components/EuiAvatarComponent.html +2 -2
- package/docs/components/EuiAvatarIconComponent.html +2 -2
- package/docs/components/EuiAvatarImageComponent.html +2 -2
- package/docs/components/EuiAvatarListComponent.html +2 -2
- package/docs/components/EuiAvatarTextComponent.html +2 -2
- package/docs/components/EuiBadgeComponent.html +2 -2
- package/docs/components/EuiBlockContentComponent.html +2 -2
- package/docs/components/EuiBlockDocumentComponent.html +2 -2
- package/docs/components/EuiBreadcrumbComponent.html +2 -2
- package/docs/components/EuiBreadcrumbItemComponent.html +2 -2
- package/docs/components/EuiButtonComponent.html +2 -2
- package/docs/components/EuiButtonGroupComponent.html +2 -2
- package/docs/components/EuiButtonV2Component.html +2 -2
- package/docs/components/EuiCardComponent.html +2 -2
- package/docs/components/EuiCardContentComponent.html +2 -2
- package/docs/components/EuiCardFooterActionButtonsComponent.html +2 -2
- package/docs/components/EuiCardFooterActionIconsComponent.html +2 -2
- package/docs/components/EuiCardFooterComponent.html +2 -2
- package/docs/components/EuiCardFooterMenuContentComponent.html +2 -2
- package/docs/components/EuiCardHeaderBodyComponent.html +2 -2
- package/docs/components/EuiCardHeaderComponent.html +3 -3
- package/docs/components/EuiCardHeaderLeftContentComponent.html +2 -2
- package/docs/components/EuiCardHeaderRightContentComponent.html +2 -2
- package/docs/components/EuiCardHeaderSubtitleComponent.html +2 -2
- package/docs/components/EuiCardHeaderTitleComponent.html +2 -2
- package/docs/components/EuiCardMediaComponent.html +2 -2
- package/docs/components/EuiChipComponent.html +2 -2
- package/docs/components/EuiChipListComponent.html +2 -2
- package/docs/components/EuiDashboardButtonComponent.html +2 -2
- package/docs/components/EuiDashboardCardComponent.html +2 -2
- package/docs/components/EuiDateRangeSelectorComponent.html +2 -2
- package/docs/components/EuiDatepickerComponent.html +2 -2
- package/docs/components/EuiDialogComponent.html +2 -2
- package/docs/components/EuiDialogContainerComponent.html +2 -2
- package/docs/components/EuiDimmerComponent.html +2 -2
- package/docs/components/EuiDisableContentComponent.html +2 -2
- package/docs/components/EuiDiscussionThreadComponent.html +2 -2
- package/docs/components/EuiDiscussionThreadItemComponent.html +2 -2
- package/docs/components/EuiDropdownComponent.html +2 -2
- package/docs/components/EuiDropdownItemComponent.html +2 -2
- package/docs/components/EuiEditorComponent.html +2 -2
- package/docs/components/EuiEditorCountersComponent.html +2 -2
- package/docs/components/EuiEditorHtmlViewComponent.html +2 -2
- package/docs/components/EuiEditorImageDialogComponent.html +2 -2
- package/docs/components/EuiEditorJsonViewComponent.html +2 -2
- package/docs/components/EuiFeedbackMessageComponent.html +2 -2
- package/docs/components/EuiFieldsetComponent.html +3 -3
- package/docs/components/EuiFilePreviewComponent.html +2 -2
- package/docs/components/EuiFileUploadComponent.html +2 -2
- package/docs/components/EuiFileUploadProgressComponent.html +2 -2
- package/docs/components/EuiFooterComponent.html +2 -2
- package/docs/components/EuiGrowlComponent.html +2 -2
- package/docs/components/EuiHeaderAppComponent.html +2 -2
- package/docs/components/EuiHeaderAppNameComponent.html +2 -2
- package/docs/components/EuiHeaderAppNameLogoComponent.html +2 -2
- package/docs/components/EuiHeaderAppSubtitleComponent.html +2 -2
- package/docs/components/EuiHeaderComponent.html +2 -2
- package/docs/components/EuiHeaderEnvironmentComponent.html +2 -2
- package/docs/components/EuiHeaderLogoComponent.html +2 -2
- package/docs/components/EuiHeaderRightContentComponent.html +2 -2
- package/docs/components/EuiHeaderUserProfileComponent.html +2 -2
- package/docs/components/EuiIconButtonComponent.html +2 -2
- package/docs/components/EuiIconButtonExpanderComponent.html +27 -3
- package/docs/components/EuiIconColorComponent.html +2 -2
- package/docs/components/EuiIconInputComponent.html +2 -2
- package/docs/components/EuiIconSvgComponent.html +2 -2
- package/docs/components/EuiIconToggleComponent.html +2 -2
- package/docs/components/EuiInputCheckboxComponent.html +2 -2
- package/docs/components/EuiInputGroupComponent.html +2 -2
- package/docs/components/EuiInputNumberComponent.html +2 -2
- package/docs/components/EuiInputRadioComponent.html +2 -2
- package/docs/components/EuiInputTextComponent.html +2 -2
- package/docs/components/EuiLabelComponent.html +2 -2
- package/docs/components/EuiLanguageSelectorComponent.html +2 -2
- package/docs/components/EuiListComponent.html +2 -2
- package/docs/components/EuiListItemComponent.html +2 -2
- package/docs/components/EuiMenuComponent.html +3 -3
- package/docs/components/EuiMenuItemComponent.html +3 -3
- package/docs/components/EuiMessageBoxComponent.html +2 -2
- package/docs/components/EuiModalSelectorComponent.html +2 -2
- package/docs/components/EuiNotificationItemComponent.html +2 -2
- package/docs/components/EuiNotificationItemV2Component.html +2 -2
- package/docs/components/EuiNotificationsComponent.html +2 -2
- package/docs/components/EuiNotificationsV2Component.html +2 -2
- package/docs/components/EuiOverlayBodyComponent.html +2 -2
- package/docs/components/EuiOverlayComponent.html +2 -2
- package/docs/components/EuiOverlayFooterComponent.html +2 -2
- package/docs/components/EuiOverlayHeaderComponent.html +2 -2
- package/docs/components/EuiOverlayHeaderTitleComponent.html +2 -2
- package/docs/components/EuiPageBreadcrumbComponent.html +2 -2
- package/docs/components/EuiPageColumnComponent.html +2 -2
- package/docs/components/EuiPageColumnsComponent.html +2 -2
- package/docs/components/EuiPageComponent.html +2 -2
- package/docs/components/EuiPageContentComponent.html +2 -2
- package/docs/components/EuiPageFooterComponent.html +2 -2
- package/docs/components/EuiPageHeaderActionItemsComponent.html +2 -2
- package/docs/components/EuiPageHeaderBodyComponent.html +2 -2
- package/docs/components/EuiPageHeaderComponent.html +2 -2
- package/docs/components/EuiPageHeaderSubLabelComponent.html +2 -2
- package/docs/components/EuiPageHeroHeaderComponent.html +2 -2
- package/docs/components/EuiPageTopContentComponent.html +2 -2
- package/docs/components/EuiPaginatorComponent.html +2 -2
- package/docs/components/EuiPopoverComponent.html +2 -2
- package/docs/components/EuiProgressBarComponent.html +2 -2
- package/docs/components/EuiProgressCircleComponent.html +2 -2
- package/docs/components/EuiResizableComponent.html +2 -2
- package/docs/components/EuiSearchComponent.html +2 -2
- package/docs/components/EuiSelectComponent.html +2 -2
- package/docs/components/EuiSidebarMenuComponent.html +2 -2
- package/docs/components/EuiSidebarToggleComponent.html +2 -2
- package/docs/components/EuiSkeletonComponent.html +2 -2
- package/docs/components/EuiSlideToggleComponent.html +2 -2
- package/docs/components/EuiSlideToggleTestComponent.html +2 -2
- package/docs/components/EuiTabComponent.html +2 -2
- package/docs/components/EuiTabContentComponent.html +2 -2
- package/docs/components/EuiTabLabelComponent.html +2 -2
- package/docs/components/EuiTableComponent.html +2 -2
- package/docs/components/EuiTableExpandableRowComponent.html +2 -2
- package/docs/components/EuiTableFilterComponent.html +2 -2
- package/docs/components/EuiTableSelectableHeaderComponent.html +2 -2
- package/docs/components/EuiTableSelectableRowComponent.html +2 -2
- package/docs/components/EuiTableSortableColComponent.html +2 -2
- package/docs/components/EuiTableV2Component.html +2 -2
- package/docs/components/EuiTableV2FilterComponent.html +2 -2
- package/docs/components/EuiTableV2SelectableHeaderComponent.html +2 -2
- package/docs/components/EuiTableV2SelectableRowComponent.html +2 -2
- package/docs/components/EuiTableV2SortableColComponent.html +2 -2
- package/docs/components/EuiTabsComponent.html +2 -2
- package/docs/components/EuiTextareaComponent.html +2 -2
- package/docs/components/EuiTimebarComponent.html +2 -2
- package/docs/components/EuiTimelineComponent.html +2 -2
- package/docs/components/EuiTimelineItemComponent.html +2 -2
- package/docs/components/EuiTimepickerComponent.html +2 -2
- package/docs/components/EuiToolbarAppComponent.html +2 -2
- package/docs/components/EuiToolbarCenterComponent.html +2 -2
- package/docs/components/EuiToolbarComponent.html +2 -2
- package/docs/components/EuiToolbarEnvironmentComponent.html +2 -2
- package/docs/components/EuiToolbarItemComponent.html +2 -2
- package/docs/components/EuiToolbarItemsComponent.html +2 -2
- package/docs/components/EuiToolbarLogoComponent.html +2 -2
- package/docs/components/EuiToolbarMenuComponent.html +2 -2
- package/docs/components/EuiTooltipContainerComponent.html +2 -2
- package/docs/components/EuiTreeComponent.html +2 -2
- package/docs/components/EuiTreeListComponent.html +2 -2
- package/docs/components/EuiTreeListItemComponent.html +3 -3
- package/docs/components/EuiTreeListItemContentComponent.html +2 -2
- package/docs/components/EuiTreeListToolbarComponent.html +2 -2
- package/docs/components/EuiUserProfileCardComponent.html +2 -2
- package/docs/components/EuiUserProfileComponent.html +2 -2
- package/docs/components/EuiUserProfileMenuComponent.html +2 -2
- package/docs/components/EuiUserProfileMenuItemComponent.html +2 -2
- package/docs/components/EuiWizardComponent.html +2 -2
- package/docs/components/EuiWizardStepComponent.html +2 -2
- package/docs/components/PaginationComponent.html +2 -2
- package/docs/components/PlaygroundComponent-1.html +2 -2
- package/docs/components/PlaygroundComponent.html +2 -2
- package/docs/components/PlaygroundStickyLastColumnComponent.html +2 -2
- package/docs/components/QuillEditorComponent.html +2 -2
- package/docs/components/VirtualScrollAsyncComponent.html +2 -2
- package/docs/components/VirtualScrollComponent.html +2 -2
- package/docs/dependencies.html +1 -1
- package/docs/directives/EuiAccordionItemHeaderDirective.html +230 -0
- package/docs/directives/EuiArrowKeyNavigableDirective.html +5 -1
- package/docs/index.html +3 -3
- package/docs/js/menu-wc.js +49 -23
- package/docs/js/menu-wc_es5.js +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/docs/miscellaneous/variables.html +2 -0
- package/docs/modules/EuiAccordionModule.html +253 -0
- package/docs/modules/EuiAllModule.html +6 -0
- package/docs/modules/EuiAppModule.html +6 -0
- package/docs/modules/EuiLayoutModule.html +6 -0
- package/docs/modules/EuiListModule.html +0 -6
- package/docs/modules.html +12 -0
- package/esm2022/directives/eui-arrow-key-navigable.directive.mjs +39 -0
- package/esm2022/directives/index.mjs +2 -1
- package/esm2022/eui-accordion/eui-accordion-item.component.mjs +47 -0
- package/esm2022/eui-accordion/eui-accordion.component.mjs +26 -0
- package/esm2022/eui-accordion/eui-accordion.module.mjs +22 -0
- package/esm2022/eui-accordion/eui-components-eui-accordion.mjs +5 -0
- package/esm2022/eui-accordion/index.mjs +4 -0
- package/esm2022/eui-all/eui-all.module.mjs +9 -4
- package/esm2022/eui-button/eui-button.component.mjs +2 -2
- package/esm2022/eui-card/components/eui-card-header/eui-card-header.component.mjs +3 -4
- package/esm2022/eui-card/eui-card.component.mjs +2 -2
- package/esm2022/eui-fieldset/eui-fieldset.component.mjs +3 -3
- package/esm2022/eui-icon/eui-icon-button-expander/eui-icon-button-expander.component.mjs +8 -3
- package/esm2022/eui-list/eui-list-item/eui-list-item.component.mjs +3 -33
- package/esm2022/eui-list/eui-list.component.mjs +3 -3
- package/esm2022/eui-list/eui-list.module.mjs +5 -5
- package/esm2022/eui-menu/eui-menu-item.component.mjs +4 -4
- package/esm2022/eui-menu/eui-menu.component.mjs +9 -7
- package/esm2022/eui-tree-list/eui-tree-list-item.component.mjs +3 -4
- package/esm2022/layout/eui-toolbar/toolbar.component.mjs +2 -2
- package/eui-accordion/eui-accordion-item.component.d.ts +16 -0
- package/eui-accordion/eui-accordion-item.component.d.ts.map +1 -0
- package/eui-accordion/eui-accordion.component.d.ts +8 -0
- package/eui-accordion/eui-accordion.component.d.ts.map +1 -0
- package/eui-accordion/eui-accordion.module.d.ts +13 -0
- package/eui-accordion/eui-accordion.module.d.ts.map +1 -0
- package/eui-accordion/eui-components-eui-accordion.d.ts.map +1 -0
- package/eui-accordion/index.d.ts +4 -0
- package/eui-accordion/index.d.ts.map +1 -0
- package/eui-accordion/package.json +3 -0
- package/eui-all/eui-all.module.d.ts +2 -1
- package/eui-all/eui-all.module.d.ts.map +1 -1
- package/eui-icon/eui-icon-button-expander/eui-icon-button-expander.component.d.ts +3 -1
- package/eui-icon/eui-icon-button-expander/eui-icon-button-expander.component.d.ts.map +1 -1
- package/eui-list/eui-list-item/eui-list-item.component.d.ts +1 -11
- package/eui-list/eui-list-item/eui-list-item.component.d.ts.map +1 -1
- package/eui-list/eui-list.component.d.ts.map +1 -1
- package/eui-list/eui-list.module.d.ts +1 -1
- package/eui-menu/eui-menu-item.component.d.ts.map +1 -1
- package/eui-menu/eui-menu.component.d.ts.map +1 -1
- package/fesm2022/eui-components-directives.mjs +40 -0
- package/fesm2022/eui-components-directives.mjs.map +4 -4
- package/fesm2022/eui-components-eui-accordion.mjs +119 -0
- package/fesm2022/eui-components-eui-accordion.mjs.map +7 -0
- package/fesm2022/eui-components-eui-button.mjs +2 -2
- package/fesm2022/eui-components-eui-button.mjs.map +1 -1
- package/fesm2022/eui-components-eui-card.mjs +134 -7
- package/fesm2022/eui-components-eui-card.mjs.map +2 -2
- package/fesm2022/eui-components-eui-fieldset.mjs +2 -2
- package/fesm2022/eui-components-eui-fieldset.mjs.map +2 -2
- package/fesm2022/eui-components-eui-icon.mjs +23 -8
- package/fesm2022/eui-components-eui-icon.mjs.map +2 -2
- package/fesm2022/eui-components-eui-list.mjs +9 -44
- package/fesm2022/eui-components-eui-list.mjs.map +3 -3
- package/fesm2022/eui-components-eui-menu.mjs +466 -292
- package/fesm2022/eui-components-eui-menu.mjs.map +2 -2
- package/fesm2022/eui-components-eui-tree-list.mjs +4 -5
- package/fesm2022/eui-components-eui-tree-list.mjs.map +2 -2
- package/fesm2022/eui-components-layout.mjs +2 -2
- package/fesm2022/eui-components-layout.mjs.map +1 -1
- package/fesm2022/eui-components.mjs +9 -4
- package/fesm2022/eui-components.mjs.map +2 -2
- package/package.json +10 -4
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../eui-card/services/ui-state.service.ts", "../../eui-card/components/eui-card-header/eui-card-header.component.ts", "../../eui-card/components/eui-card-header/eui-card-header.component.html", "../../eui-card/components/eui-card-header/eui-card-header-title.component.ts", "../../eui-card/components/eui-card-header/eui-card-header-right-content.component.ts", "../../eui-card/components/eui-card-header/eui-card-header-left-content.component.ts", "../../eui-card/components/eui-card-header/eui-card-header-subtitle.component.ts", "../../eui-card/components/eui-card-header-body/eui-card-header-body.component.ts", "../../eui-card/components/eui-card-content/eui-card-content.component.ts", "../../eui-card/components/eui-card-media/eui-card-media.component.ts", "../../eui-card/components/eui-card-media/eui-card-media.component.html", "../../eui-card/components/eui-card-footer/eui-card-footer-action-buttons.component.ts", "../../eui-card/components/eui-card-footer/eui-card-footer-action-icons.component.ts", "../../eui-card/components/eui-card-footer/eui-card-footer-menu-content.component.ts", "../../eui-card/components/eui-card-footer/eui-card-footer-menu-content.component.html", "../../eui-card/components/eui-card-footer/eui-card-footer.component.ts", "../../eui-card/components/eui-card-footer/eui-card-footer.component.html", "../../eui-card/eui-card.component.ts", "../../eui-card/eui-card.component.html", "../../eui-card/eui-card.module.ts"],
|
4
|
-
"sourcesContent": ["import { Injectable } from '@angular/core';\nimport { BehaviorSubject, Observable } from 'rxjs';\n\nexport interface UIState {\n isCollapsible: boolean;\n isCollapsed: boolean;\n isUrgent: boolean;\n}\n\nconst initialState: UIState = {\n isCollapsible: false,\n isCollapsed: false,\n isUrgent: false,\n};\n\n@Injectable()\nexport class UiStateService {\n private _state$: BehaviorSubject<UIState> = new BehaviorSubject(initialState);\n\n // -------------------\n // exposed observables\n // -------------------\n get state$(): Observable<UIState> {\n return this._state$.asObservable();\n }\n\n // ----------------\n // state operations\n // ----------------\n get state(): UIState {\n return this._state$.getValue();\n }\n\n // -----------------\n // getters & setters\n // -----------------\n setState(nextState: UIState): void {\n this._state$.next({\n ...this.state,\n ...nextState,\n });\n }\n\n set isCollapsed(isActive: boolean) {\n this.setState({\n ...this.state,\n isCollapsed: isActive,\n });\n }\n\n set isCollapsible(isActive: boolean) {\n this.setState({\n ...this.state,\n isCollapsible: isActive,\n });\n }\n\n public toggleCollapsed(): void {\n this.isCollapsed = !this.state.isCollapsed;\n }\n}\n", "import { Component, HostBinding, ChangeDetectionStrategy, Input, Output, EventEmitter, ViewEncapsulation, booleanAttribute } from '@angular/core';\n\nimport { UiStateService } from '../../services/ui-state.service';\n\n@Component({\n selector: 'eui-card-header',\n templateUrl: './eui-card-header.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EuiCardHeaderComponent {\n @HostBinding('class') string = 'eui-card-header';\n\n @Input() expandLabel = 'expand';\n @Input() collapseLabel = 'collapse';\n\n @Input({ transform: booleanAttribute }) hasHeaderClickToggle = true;\n @Input({ transform: booleanAttribute }) hasBottomExpander = false;\n @Input({ transform: booleanAttribute }) hasFullTitle = false;\n @Input({ transform: booleanAttribute }) isHeaderMultilines = false;\n\n @Output() collapse = new EventEmitter<boolean>();\n\n constructor(public uiStateService: UiStateService) {}\n\n public onToggle(event: Event): void {\n this.uiStateService.toggleCollapsed();\n this.collapse.emit(this.uiStateService.state.isCollapsed);\n\n event.stopPropagation();\n }\n\n public onToggleHeader(): void {\n if (this.hasHeaderClickToggle && this.uiStateService.state.isCollapsible) {\n this.uiStateService.toggleCollapsed();\n this.collapse.emit(this.uiStateService.state.isCollapsed);\n }\n }\n}\n", "<div class=\"eui-card-header__container\" (click)=\"onToggleHeader()\">\n <ng-content select=\"eui-card-header-left-content\"></ng-content>\n\n <ng-container *ngIf=\"!hasFullTitle\">\n <div class=\"eui-card-header__title-container\" [class.eui-card-header__title-container--multilines]=\"isHeaderMultilines\">\n <ng-content *ngTemplateOutlet=\"title\"></ng-content>\n <ng-content *ngTemplateOutlet=\"subtitle\"></ng-content>\n </div>\n <ng-content *ngTemplateOutlet=\"rightContent\"></ng-content>\n </ng-container>\n\n <ng-container *ngIf=\"hasFullTitle\">\n <div class=\"eui-card-header__middle-container\">\n <div class=\"eui-card-header__title-container\" [class.eui-card-header__title-container--multilines]=\"isHeaderMultilines\">\n <ng-content *ngTemplateOutlet=\"title\"></ng-content>\n </div>\n <div class=\"eui-card-header__middle-content\">\n <ng-content *ngTemplateOutlet=\"subtitle\"></ng-content>\n <ng-content *ngTemplateOutlet=\"rightContent\"></ng-content>\n </div>\n </div>\n </ng-container>\n\n <div\n *ngIf=\"(uiStateService.state$ | async).isCollapsible\"\n class=\"eui-card-header__expander\"\n [class.eui-card-header__expander--bottom]=\"hasBottomExpander\"\n [class.eui-card-header__expander--top]=\"isHeaderMultilines\"\n (click)=\"onToggle($event)\">\n <button\n euiButton\n euiRounded\n euiIconButton\n euiSizeM\n euiBasicButton\n euiSecondary\n type=\"button\"\n class=\"eui-card-header__expander-icon\"\n [attr.aria-label]=\"!(uiStateService.state$ | async).isCollapsed ? collapseLabel : expandLabel\">\n <eui-icon-svg icon=\"eui-chevron-up\" set=\"eui\" size=\"m\" fillColor=\"neutral\"></eui-icon-svg>\n </button>\n </div>\n</div>\n<div *ngIf=\"(uiStateService.state$ | async).isUrgent\" class=\"eui-card-header__urgent-indicator\">\n <eui-icon-svg icon=\"eui-alert-circle\" size=\"l\" fillColor=\"danger\"></eui-icon-svg>\n</div>\n<ng-content select=\"eui-card-header-body\"></ng-content>\n\n<ng-template #title>\n <ng-content select=\"eui-card-header-title\"></ng-content>\n</ng-template>\n\n<ng-template #subtitle>\n <ng-content select=\"eui-card-header-subtitle\"></ng-content>\n</ng-template>\n\n<ng-template #rightContent>\n <ng-content select=\"eui-card-header-right-content\"></ng-content>\n</ng-template>\n", "import { Component, HostBinding, ChangeDetectionStrategy } from '@angular/core';\n\n@Component({\n selector: 'eui-card-header-title',\n template: '<ng-content></ng-content>',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EuiCardHeaderTitleComponent {\n @HostBinding('class') string = 'eui-card-header__title-container-title';\n}\n", "import { Component, HostBinding, ChangeDetectionStrategy } from '@angular/core';\n\n@Component({\n selector: 'eui-card-header-right-content',\n template: '<ng-content></ng-content>',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EuiCardHeaderRightContentComponent {\n @HostBinding('class') string = 'eui-card-header__right-content';\n}\n", "import { Component, HostBinding, ChangeDetectionStrategy } from '@angular/core';\n\n@Component({\n selector: 'eui-card-header-left-content',\n template: '<ng-content></ng-content>',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EuiCardHeaderLeftContentComponent {\n @HostBinding('class') string = 'eui-card-header__left-content';\n}\n", "import { Component, HostBinding, ChangeDetectionStrategy } from '@angular/core';\n\n@Component({\n selector: 'eui-card-header-subtitle',\n template: '<ng-content></ng-content>',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EuiCardHeaderSubtitleComponent {\n @HostBinding('class') string = 'eui-card-header__title-container-subtitle';\n}\n", "import { Component, HostBinding, ChangeDetectionStrategy } from '@angular/core';\n\n@Component({\n selector: 'eui-card-header-body',\n template: '<ng-content></ng-content>',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EuiCardHeaderBodyComponent {\n @HostBinding('class') string = 'eui-card-header-body';\n}\n", "import { Component, HostBinding, ChangeDetectionStrategy } from '@angular/core';\n\n@Component({\n selector: 'eui-card-content',\n template: '<ng-content></ng-content>',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EuiCardContentComponent {\n @HostBinding('class') string = 'eui-card-content';\n @HostBinding('attr.tabindex') tabindex = 0;\n}\n", "import { Component, HostBinding, ChangeDetectionStrategy, Input, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'eui-card-media',\n templateUrl: './eui-card-media.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EuiCardMediaComponent {\n @Input() imageUrl: string;\n @Input() imageLegend: string;\n @Input() imageClickUrl: string;\n @Input() imageClickUrlExternal: string;\n @Input() imageDescription = 'eUI Card Image';\n @Input() imageHeight = 'auto';\n\n @HostBinding('class') string = 'eui-card-media';\n}\n", "<div class=\"eui-card-media__container\">\n <ng-container *ngIf=\"imageClickUrl\">\n <a routerLink=\"{{ imageClickUrl }}\" class=\"eui-card-media__container-content\">\n <ng-content *ngTemplateOutlet=\"mediacontent\"></ng-content>\n </a>\n </ng-container>\n <ng-container *ngIf=\"imageClickUrlExternal\">\n <a href=\"{{ imageClickUrlExternal }}\" target=\"_blank\" class=\"eui-card-media__container-content\">\n <ng-content *ngTemplateOutlet=\"mediacontent\"></ng-content>\n </a>\n </ng-container>\n <ng-container *ngIf=\"!imageClickUrl && !imageClickUrlExternal\">\n <ng-content *ngTemplateOutlet=\"mediacontent\"></ng-content>\n </ng-container>\n</div>\n<ng-template #mediacontent>\n <img class=\"eui-card-media__image\" [src]=\"imageUrl\" [height]=\"imageHeight\" alt=\"{{ !imageLegend ? imageDescription : '' }}\" />\n <div *ngIf=\"imageLegend\" class=\"eui-card-media__legend\">{{ imageLegend }}</div>\n</ng-template>\n", "import { Component, HostBinding, ChangeDetectionStrategy } from '@angular/core';\n\n@Component({\n selector: 'eui-card-footer-action-buttons',\n template: '<ng-content></ng-content>',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EuiCardFooterActionButtonsComponent {\n @HostBinding('class') string = 'eui-card-footer-actions__buttons';\n}\n", "import { Component, HostBinding, ChangeDetectionStrategy } from '@angular/core';\n\n@Component({\n selector: 'eui-card-footer-action-icons',\n template: '<ng-content></ng-content>',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EuiCardFooterActionIconsComponent {\n @HostBinding('class') string = 'eui-card-footer-actions__icons';\n}\n", "import { Component, HostBinding, Input, ChangeDetectionStrategy, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'eui-card-footer-menu-content',\n templateUrl: './eui-card-footer-menu-content.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EuiCardFooterMenuContentComponent {\n @Input() tooltipText = 'More options';\n\n @HostBinding('class') string = 'eui-card-footer-menu-content';\n}\n", "<eui-dropdown>\n <button\n euiButton\n euiRounded\n euiIconButton\n euiBasicButton\n euiSecondary\n type=\"button\"\n euiTooltip=\"{{ tooltipText }}\"\n [attr.aria-label]=\"tooltipText\">\n <eui-icon-svg icon=\"eui-ellipsis-vertical\"></eui-icon-svg>\n </button>\n <eui-dropdown-content>\n <ng-content></ng-content>\n </eui-dropdown-content>\n</eui-dropdown>\n", "import { Component, HostBinding, ChangeDetectionStrategy, ContentChild, forwardRef, QueryList, ViewEncapsulation } from '@angular/core';\nimport { EuiCardFooterActionButtonsComponent } from './eui-card-footer-action-buttons.component';\nimport { EuiCardFooterActionIconsComponent } from './eui-card-footer-action-icons.component';\n\nimport { EuiCardFooterMenuContentComponent } from './eui-card-footer-menu-content.component';\n\n@Component({\n selector: 'eui-card-footer',\n templateUrl: './eui-card-footer.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EuiCardFooterComponent {\n @HostBinding('class') string = 'eui-card-footer';\n @ContentChild(forwardRef(() => EuiCardFooterActionButtonsComponent), { static: false })\n actionButtons: QueryList<EuiCardFooterActionButtonsComponent>;\n @ContentChild(forwardRef(() => EuiCardFooterActionIconsComponent), { static: false })\n actionIcons: QueryList<EuiCardFooterActionIconsComponent>;\n @ContentChild(forwardRef(() => EuiCardFooterMenuContentComponent), { static: false })\n actionMenu: QueryList<EuiCardFooterMenuContentComponent>;\n}\n", "<div class=\"eui-card-footer-container\">\n <div class=\"eui-card-footer-actions\" *ngIf=\"actionButtons || actionIcons || actionMenu\">\n <ng-content *ngIf=\"actionButtons\" select=\"eui-card-footer-action-buttons\"></ng-content>\n <div *ngIf=\"actionIcons || actionMenu\" class=\"eui-card-footer-actions__icons-container\">\n <ng-content *ngIf=\"actionIcons\" select=\"eui-card-footer-action-icons\"></ng-content>\n <ng-content *ngIf=\"actionMenu\" select=\"eui-card-footer-menu-content\"></ng-content>\n </div>\n </div>\n</div>\n", "import {\n Component,\n HostBinding,\n Input,\n ChangeDetectionStrategy,\n ViewEncapsulation,\n OnDestroy,\n Output,\n EventEmitter,\n OnInit,\n OnChanges,\n SimpleChanges,\n AfterContentInit,\n booleanAttribute,\n inject,\n} from '@angular/core';\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { map, skip, takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\n\nimport { BaseStatesDirective } from '@eui/components/shared';\nimport { UIState, UiStateService } from './services/ui-state.service';\n\n@Component({\n templateUrl: './eui-card.component.html',\n selector: 'eui-card',\n styleUrls: ['./styles/_index.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [UiStateService],\n hostDirectives: [\n {\n directive: BaseStatesDirective,\n inputs: [\n 'euiPrimary',\n 'euiSecondary',\n 'euiInfo',\n 'euiSuccess',\n 'euiWarning',\n 'euiDanger',\n 'euiAccent',\n 'euiHighlighted',\n 'euiDisabled',\n 'euiLoading',\n 'euiSizeXS',\n 'euiSizeS',\n 'euiSizeM',\n 'euiSizeL',\n 'euiSizeXL',\n 'euiSize2XL',\n 'euiSizeVariant',\n ],\n },\n ],\n})\nexport class EuiCardComponent implements AfterContentInit, OnDestroy, OnInit, OnChanges {\n @HostBinding('class')\n get cssClasses(): string {\n return [\n this.baseStatesDirective.getCssClasses('eui-card'),\n this.euiCollapsible ? 'eui-card--collapsible' : '',\n this.euiCollapsed ? 'eui-card--collapsed' : '',\n this.euiSelected ? 'eui-card--selected' : '',\n this.euiUrgent ? 'eui-card--urgent' : '',\n this.euiNoShadow ? 'eui-card--no-shadow' : '',\n this.euiNoContentPadding ? 'eui-card--no-content-padding' : '',\n this.euiHoverable ? 'eui-card--hoverable' : '',\n ]\n .join(' ')\n .trim();\n }\n @HostBinding('attr.data-e2e') @Input() e2eAttr = 'eui-card';\n\n @Input({ transform: booleanAttribute }) euiSelected = false;\n @Input({ transform: booleanAttribute }) euiCollapsible = false;\n @Input({ transform: booleanAttribute }) euiCollapsed = false;\n @Input({ transform: booleanAttribute }) euiUrgent = false;\n @Input({ transform: booleanAttribute }) euiNoShadow = false;\n @Input({ transform: booleanAttribute }) euiNoContentPadding = false;\n @Input({ transform: booleanAttribute }) euiHoverable = false;\n\n @Output() collapse: EventEmitter<boolean> = new EventEmitter();\n\n public uiStateService: UiStateService = inject(UiStateService);\n private destroy$: Subject<boolean> = new Subject<boolean>();\n private baseStatesDirective: BaseStatesDirective = inject(BaseStatesDirective);\n\n ngOnChanges(changes: SimpleChanges): void {\n if (changes?.euiCollapsible && !changes?.euiCollapsible.firstChange) {\n this._setCardState();\n }\n if (changes?.euiCollapsed && !changes?.euiCollapsed.firstChange) {\n this._setCardState();\n }\n if (changes?.euiUrgent && !changes?.euiUrgent.firstChange) {\n this._setCardState();\n }\n }\n\n ngOnInit(): void {\n this._setCardState();\n }\n\n ngAfterContentInit(): void {\n this.uiStateService.state$\n .pipe(\n map((state: UIState) => state.isCollapsed),\n skip(1),\n takeUntil(this.destroy$),\n )\n .subscribe((isCollapsed: boolean) => {\n this.euiCollapsed = isCollapsed;\n this.collapse.emit(isCollapsed);\n });\n\n this.uiStateService.state$\n .pipe(\n map((state: UIState) => state.isCollapsible),\n skip(1),\n takeUntil(this.destroy$),\n )\n .subscribe((isCollapsible: boolean) => {\n this.euiCollapsible = isCollapsible;\n });\n }\n\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.unsubscribe();\n }\n\n private _setCardState(): void {\n const nextState = {\n ...this.uiStateService.state,\n isCollapsible: coerceBooleanProperty(this.euiCollapsible),\n isCollapsed: coerceBooleanProperty(this.euiCollapsed),\n isUrgent: coerceBooleanProperty(this.euiUrgent),\n };\n this.uiStateService.setState(nextState);\n }\n}\n", "<ng-content select=\"eui-card-header\"></ng-content>\n<ng-content select=\"eui-card-media\"></ng-content>\n<ng-content select=\"eui-card-content\"></ng-content>\n<ng-content select=\"eui-card-footer\"></ng-content>\n", "import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { RouterModule } from '@angular/router';\n\nimport { EuiIconModule } from '@eui/components/eui-icon';\nimport { EuiButtonModule } from '@eui/components/eui-button';\nimport { EuiDropdownModule } from '@eui/components/eui-dropdown';\nimport { EuiTooltipDirectiveModule } from '@eui/components/directives';\n\nimport { EuiCardComponent } from './eui-card.component';\nimport { EuiCardHeaderComponent } from './components/eui-card-header/eui-card-header.component';\nimport { EuiCardHeaderTitleComponent } from './components/eui-card-header/eui-card-header-title.component';\nimport { EuiCardHeaderRightContentComponent } from './components/eui-card-header/eui-card-header-right-content.component';\nimport { EuiCardHeaderBodyComponent } from './components/eui-card-header-body/eui-card-header-body.component';\nimport { EuiCardHeaderLeftContentComponent } from './components/eui-card-header/eui-card-header-left-content.component';\nimport { EuiCardHeaderSubtitleComponent } from './components/eui-card-header/eui-card-header-subtitle.component';\nimport { EuiCardContentComponent } from './components/eui-card-content/eui-card-content.component';\nimport { EuiCardMediaComponent } from './components/eui-card-media/eui-card-media.component';\nimport { EuiCardFooterComponent } from './components/eui-card-footer/eui-card-footer.component';\nimport { EuiCardFooterMenuContentComponent } from './components/eui-card-footer/eui-card-footer-menu-content.component';\nimport { EuiCardFooterActionButtonsComponent } from './components/eui-card-footer/eui-card-footer-action-buttons.component';\nimport { EuiCardFooterActionIconsComponent } from './components/eui-card-footer/eui-card-footer-action-icons.component';\n\n@NgModule({\n imports: [CommonModule, RouterModule, EuiIconModule, EuiButtonModule, EuiDropdownModule, EuiTooltipDirectiveModule],\n declarations: [\n EuiCardComponent,\n EuiCardHeaderComponent,\n EuiCardHeaderTitleComponent,\n EuiCardContentComponent,\n EuiCardHeaderLeftContentComponent,\n EuiCardHeaderRightContentComponent,\n EuiCardHeaderSubtitleComponent,\n EuiCardHeaderBodyComponent,\n EuiCardFooterActionButtonsComponent,\n EuiCardFooterActionIconsComponent,\n EuiCardMediaComponent,\n EuiCardFooterComponent,\n EuiCardFooterMenuContentComponent,\n ],\n exports: [\n EuiCardComponent,\n EuiCardHeaderComponent,\n EuiCardHeaderTitleComponent,\n EuiCardContentComponent,\n EuiCardHeaderLeftContentComponent,\n EuiCardHeaderRightContentComponent,\n EuiCardHeaderSubtitleComponent,\n EuiCardHeaderBodyComponent,\n EuiCardFooterActionButtonsComponent,\n EuiCardFooterActionIconsComponent,\n EuiCardMediaComponent,\n EuiCardFooterComponent,\n EuiCardFooterMenuContentComponent,\n ],\n})\nexport class EuiCardModule {}\n"],
|
5
|
-
"mappings": ";AAAA,SAAS,kBAAkB;AAC3B,SAAS,uBAAmC;;AAQ5C,IAAM,eAA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ACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;;GAEP;;",
|
4
|
+
"sourcesContent": ["import { Injectable } from '@angular/core';\nimport { BehaviorSubject, Observable } from 'rxjs';\n\nexport interface UIState {\n isCollapsible: boolean;\n isCollapsed: boolean;\n isUrgent: boolean;\n}\n\nconst initialState: UIState = {\n isCollapsible: false,\n isCollapsed: false,\n isUrgent: false,\n};\n\n@Injectable()\nexport class UiStateService {\n private _state$: BehaviorSubject<UIState> = new BehaviorSubject(initialState);\n\n // -------------------\n // exposed observables\n // -------------------\n get state$(): Observable<UIState> {\n return this._state$.asObservable();\n }\n\n // ----------------\n // state operations\n // ----------------\n get state(): UIState {\n return this._state$.getValue();\n }\n\n // -----------------\n // getters & setters\n // -----------------\n setState(nextState: UIState): void {\n this._state$.next({\n ...this.state,\n ...nextState,\n });\n }\n\n set isCollapsed(isActive: boolean) {\n this.setState({\n ...this.state,\n isCollapsed: isActive,\n });\n }\n\n set isCollapsible(isActive: boolean) {\n this.setState({\n ...this.state,\n isCollapsible: isActive,\n });\n }\n\n public toggleCollapsed(): void {\n this.isCollapsed = !this.state.isCollapsed;\n }\n}\n", "import { Component, HostBinding, ChangeDetectionStrategy, Input, Output, EventEmitter, ViewEncapsulation, booleanAttribute } from '@angular/core';\n\nimport { UiStateService } from '../../services/ui-state.service';\n\n@Component({\n selector: 'eui-card-header',\n templateUrl: './eui-card-header.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EuiCardHeaderComponent {\n @HostBinding('class') string = 'eui-card-header';\n\n @Input() expandLabel = 'expand';\n @Input() collapseLabel = 'collapse';\n\n @Input({ transform: booleanAttribute }) hasHeaderClickToggle = true;\n @Input({ transform: booleanAttribute }) hasBottomExpander = false;\n @Input({ transform: booleanAttribute }) hasFullTitle = false;\n @Input({ transform: booleanAttribute }) isHeaderMultilines = false;\n\n @Output() collapse = new EventEmitter<boolean>();\n\n constructor(public uiStateService: UiStateService) {}\n\n public onToggle(event: Event): void {\n this.uiStateService.toggleCollapsed();\n this.collapse.emit(this.uiStateService.state.isCollapsed);\n\n event.stopPropagation();\n }\n\n public onToggleHeader(): void {\n if (this.hasHeaderClickToggle && this.uiStateService.state.isCollapsible) {\n this.uiStateService.toggleCollapsed();\n this.collapse.emit(this.uiStateService.state.isCollapsed);\n }\n }\n}\n", "<button class=\"eui-card-header__container\" (click)=\"onToggleHeader()\"\n [attr.tabindex]=\"(uiStateService.state$ | async).isCollapsible ? '0' : '-1'\">\n\n <ng-content select=\"eui-card-header-left-content\"></ng-content>\n\n <ng-container *ngIf=\"!hasFullTitle\">\n <div class=\"eui-card-header__title-container\" [class.eui-card-header__title-container--multilines]=\"isHeaderMultilines\">\n <ng-content *ngTemplateOutlet=\"title\"></ng-content>\n <ng-content *ngTemplateOutlet=\"subtitle\"></ng-content>\n </div>\n <ng-content *ngTemplateOutlet=\"rightContent\"></ng-content>\n </ng-container>\n\n <ng-container *ngIf=\"hasFullTitle\">\n <div class=\"eui-card-header__middle-container\">\n <div class=\"eui-card-header__title-container\" [class.eui-card-header__title-container--multilines]=\"isHeaderMultilines\">\n <ng-content *ngTemplateOutlet=\"title\"></ng-content>\n </div>\n <div class=\"eui-card-header__middle-content\">\n <ng-content *ngTemplateOutlet=\"subtitle\"></ng-content>\n <ng-content *ngTemplateOutlet=\"rightContent\"></ng-content>\n </div>\n </div>\n </ng-container>\n\n <div\n *ngIf=\"(uiStateService.state$ | async).isCollapsible\"\n class=\"eui-card-header__expander\"\n [class.eui-card-header__expander--bottom]=\"hasBottomExpander\"\n [class.eui-card-header__expander--top]=\"isHeaderMultilines\">\n <eui-icon-button-expander class=\"eui-card-header__expander-icon\"\n [isExpanded]=\"!(uiStateService.state$ | async).isCollapsed\">\n </eui-icon-button-expander>\n <!-- <button\n euiButton\n euiRounded\n euiIconButton\n euiSizeM\n euiBasicButton\n euiSecondary\n type=\"button\"\n class=\"eui-card-header__expander-icon\"\n [attr.aria-label]=\"!(uiStateService.state$ | async).isCollapsed ? collapseLabel : expandLabel\">\n <eui-icon-svg icon=\"eui-chevron-up\" set=\"eui\" size=\"m\" fillColor=\"neutral\"></eui-icon-svg>\n </button> -->\n </div>\n</button>\n\n<div *ngIf=\"(uiStateService.state$ | async).isUrgent\" class=\"eui-card-header__urgent-indicator\">\n <eui-icon-svg icon=\"eui-alert-circle\" size=\"l\" fillColor=\"danger\"></eui-icon-svg>\n</div>\n<ng-content select=\"eui-card-header-body\"></ng-content>\n\n<ng-template #title>\n <ng-content select=\"eui-card-header-title\"></ng-content>\n</ng-template>\n\n<ng-template #subtitle>\n <ng-content select=\"eui-card-header-subtitle\"></ng-content>\n</ng-template>\n\n<ng-template #rightContent>\n <ng-content select=\"eui-card-header-right-content\"></ng-content>\n</ng-template>\n", "import { Component, HostBinding, ChangeDetectionStrategy } from '@angular/core';\n\n@Component({\n selector: 'eui-card-header-title',\n template: '<ng-content></ng-content>',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EuiCardHeaderTitleComponent {\n @HostBinding('class') string = 'eui-card-header__title-container-title';\n}\n", "import { Component, HostBinding, ChangeDetectionStrategy } from '@angular/core';\n\n@Component({\n selector: 'eui-card-header-right-content',\n template: '<ng-content></ng-content>',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EuiCardHeaderRightContentComponent {\n @HostBinding('class') string = 'eui-card-header__right-content';\n}\n", "import { Component, HostBinding, ChangeDetectionStrategy } from '@angular/core';\n\n@Component({\n selector: 'eui-card-header-left-content',\n template: '<ng-content></ng-content>',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EuiCardHeaderLeftContentComponent {\n @HostBinding('class') string = 'eui-card-header__left-content';\n}\n", "import { Component, HostBinding, ChangeDetectionStrategy } from '@angular/core';\n\n@Component({\n selector: 'eui-card-header-subtitle',\n template: '<ng-content></ng-content>',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EuiCardHeaderSubtitleComponent {\n @HostBinding('class') string = 'eui-card-header__title-container-subtitle';\n}\n", "import { Component, HostBinding, ChangeDetectionStrategy } from '@angular/core';\n\n@Component({\n selector: 'eui-card-header-body',\n template: '<ng-content></ng-content>',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EuiCardHeaderBodyComponent {\n @HostBinding('class') string = 'eui-card-header-body';\n}\n", "import { Component, HostBinding, ChangeDetectionStrategy } from '@angular/core';\n\n@Component({\n selector: 'eui-card-content',\n template: '<ng-content></ng-content>',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EuiCardContentComponent {\n @HostBinding('class') string = 'eui-card-content';\n @HostBinding('attr.tabindex') tabindex = 0;\n}\n", "import { Component, HostBinding, ChangeDetectionStrategy, Input, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'eui-card-media',\n templateUrl: './eui-card-media.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EuiCardMediaComponent {\n @Input() imageUrl: string;\n @Input() imageLegend: string;\n @Input() imageClickUrl: string;\n @Input() imageClickUrlExternal: string;\n @Input() imageDescription = 'eUI Card Image';\n @Input() imageHeight = 'auto';\n\n @HostBinding('class') string = 'eui-card-media';\n}\n", "<div class=\"eui-card-media__container\">\n <ng-container *ngIf=\"imageClickUrl\">\n <a routerLink=\"{{ imageClickUrl }}\" class=\"eui-card-media__container-content\">\n <ng-content *ngTemplateOutlet=\"mediacontent\"></ng-content>\n </a>\n </ng-container>\n <ng-container *ngIf=\"imageClickUrlExternal\">\n <a href=\"{{ imageClickUrlExternal }}\" target=\"_blank\" class=\"eui-card-media__container-content\">\n <ng-content *ngTemplateOutlet=\"mediacontent\"></ng-content>\n </a>\n </ng-container>\n <ng-container *ngIf=\"!imageClickUrl && !imageClickUrlExternal\">\n <ng-content *ngTemplateOutlet=\"mediacontent\"></ng-content>\n </ng-container>\n</div>\n<ng-template #mediacontent>\n <img class=\"eui-card-media__image\" [src]=\"imageUrl\" [height]=\"imageHeight\" alt=\"{{ !imageLegend ? imageDescription : '' }}\" />\n <div *ngIf=\"imageLegend\" class=\"eui-card-media__legend\">{{ imageLegend }}</div>\n</ng-template>\n", "import { Component, HostBinding, ChangeDetectionStrategy } from '@angular/core';\n\n@Component({\n selector: 'eui-card-footer-action-buttons',\n template: '<ng-content></ng-content>',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EuiCardFooterActionButtonsComponent {\n @HostBinding('class') string = 'eui-card-footer-actions__buttons';\n}\n", "import { Component, HostBinding, ChangeDetectionStrategy } from '@angular/core';\n\n@Component({\n selector: 'eui-card-footer-action-icons',\n template: '<ng-content></ng-content>',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EuiCardFooterActionIconsComponent {\n @HostBinding('class') string = 'eui-card-footer-actions__icons';\n}\n", "import { Component, HostBinding, Input, ChangeDetectionStrategy, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'eui-card-footer-menu-content',\n templateUrl: './eui-card-footer-menu-content.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EuiCardFooterMenuContentComponent {\n @Input() tooltipText = 'More options';\n\n @HostBinding('class') string = 'eui-card-footer-menu-content';\n}\n", "<eui-dropdown>\n <button\n euiButton\n euiRounded\n euiIconButton\n euiBasicButton\n euiSecondary\n type=\"button\"\n euiTooltip=\"{{ tooltipText }}\"\n [attr.aria-label]=\"tooltipText\">\n <eui-icon-svg icon=\"eui-ellipsis-vertical\"></eui-icon-svg>\n </button>\n <eui-dropdown-content>\n <ng-content></ng-content>\n </eui-dropdown-content>\n</eui-dropdown>\n", "import { Component, HostBinding, ChangeDetectionStrategy, ContentChild, forwardRef, QueryList, ViewEncapsulation } from '@angular/core';\nimport { EuiCardFooterActionButtonsComponent } from './eui-card-footer-action-buttons.component';\nimport { EuiCardFooterActionIconsComponent } from './eui-card-footer-action-icons.component';\n\nimport { EuiCardFooterMenuContentComponent } from './eui-card-footer-menu-content.component';\n\n@Component({\n selector: 'eui-card-footer',\n templateUrl: './eui-card-footer.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EuiCardFooterComponent {\n @HostBinding('class') string = 'eui-card-footer';\n @ContentChild(forwardRef(() => EuiCardFooterActionButtonsComponent), { static: false })\n actionButtons: QueryList<EuiCardFooterActionButtonsComponent>;\n @ContentChild(forwardRef(() => EuiCardFooterActionIconsComponent), { static: false })\n actionIcons: QueryList<EuiCardFooterActionIconsComponent>;\n @ContentChild(forwardRef(() => EuiCardFooterMenuContentComponent), { static: false })\n actionMenu: QueryList<EuiCardFooterMenuContentComponent>;\n}\n", "<div class=\"eui-card-footer-container\">\n <div class=\"eui-card-footer-actions\" *ngIf=\"actionButtons || actionIcons || actionMenu\">\n <ng-content *ngIf=\"actionButtons\" select=\"eui-card-footer-action-buttons\"></ng-content>\n <div *ngIf=\"actionIcons || actionMenu\" class=\"eui-card-footer-actions__icons-container\">\n <ng-content *ngIf=\"actionIcons\" select=\"eui-card-footer-action-icons\"></ng-content>\n <ng-content *ngIf=\"actionMenu\" select=\"eui-card-footer-menu-content\"></ng-content>\n </div>\n </div>\n</div>\n", "import {\n Component,\n HostBinding,\n Input,\n ChangeDetectionStrategy,\n ViewEncapsulation,\n OnDestroy,\n Output,\n EventEmitter,\n OnInit,\n OnChanges,\n SimpleChanges,\n AfterContentInit,\n booleanAttribute,\n inject,\n} from '@angular/core';\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { map, skip, takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\n\nimport { BaseStatesDirective } from '@eui/components/shared';\nimport { UIState, UiStateService } from './services/ui-state.service';\n\n@Component({\n templateUrl: './eui-card.component.html',\n selector: 'eui-card',\n styleUrls: ['./styles/_index.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [UiStateService],\n hostDirectives: [\n {\n directive: BaseStatesDirective,\n inputs: [\n 'euiPrimary',\n 'euiSecondary',\n 'euiInfo',\n 'euiSuccess',\n 'euiWarning',\n 'euiDanger',\n 'euiAccent',\n 'euiHighlighted',\n 'euiDisabled',\n 'euiLoading',\n 'euiSizeXS',\n 'euiSizeS',\n 'euiSizeM',\n 'euiSizeL',\n 'euiSizeXL',\n 'euiSize2XL',\n 'euiSizeVariant',\n ],\n },\n ],\n})\nexport class EuiCardComponent implements AfterContentInit, OnDestroy, OnInit, OnChanges {\n @HostBinding('class')\n get cssClasses(): string {\n return [\n this.baseStatesDirective.getCssClasses('eui-card'),\n this.euiCollapsible ? 'eui-card--collapsible' : '',\n this.euiCollapsed ? 'eui-card--collapsed' : '',\n this.euiSelected ? 'eui-card--selected' : '',\n this.euiUrgent ? 'eui-card--urgent' : '',\n this.euiNoShadow ? 'eui-card--no-shadow' : '',\n this.euiNoContentPadding ? 'eui-card--no-content-padding' : '',\n this.euiHoverable ? 'eui-card--hoverable' : '',\n ]\n .join(' ')\n .trim();\n }\n @HostBinding('attr.data-e2e') @Input() e2eAttr = 'eui-card';\n\n @Input({ transform: booleanAttribute }) euiSelected = false;\n @Input({ transform: booleanAttribute }) euiCollapsible = false;\n @Input({ transform: booleanAttribute }) euiCollapsed = false;\n @Input({ transform: booleanAttribute }) euiUrgent = false;\n @Input({ transform: booleanAttribute }) euiNoShadow = false;\n @Input({ transform: booleanAttribute }) euiNoContentPadding = false;\n @Input({ transform: booleanAttribute }) euiHoverable = false;\n\n @Output() collapse: EventEmitter<boolean> = new EventEmitter();\n\n public uiStateService: UiStateService = inject(UiStateService);\n private destroy$: Subject<boolean> = new Subject<boolean>();\n private baseStatesDirective: BaseStatesDirective = inject(BaseStatesDirective);\n\n ngOnChanges(changes: SimpleChanges): void {\n if (changes?.euiCollapsible && !changes?.euiCollapsible.firstChange) {\n this._setCardState();\n }\n if (changes?.euiCollapsed && !changes?.euiCollapsed.firstChange) {\n this._setCardState();\n }\n if (changes?.euiUrgent && !changes?.euiUrgent.firstChange) {\n this._setCardState();\n }\n }\n\n ngOnInit(): void {\n this._setCardState();\n }\n\n ngAfterContentInit(): void {\n this.uiStateService.state$\n .pipe(\n map((state: UIState) => state.isCollapsed),\n skip(1),\n takeUntil(this.destroy$),\n )\n .subscribe((isCollapsed: boolean) => {\n this.euiCollapsed = isCollapsed;\n this.collapse.emit(isCollapsed);\n });\n\n this.uiStateService.state$\n .pipe(\n map((state: UIState) => state.isCollapsible),\n skip(1),\n takeUntil(this.destroy$),\n )\n .subscribe((isCollapsible: boolean) => {\n this.euiCollapsible = isCollapsible;\n });\n }\n\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.unsubscribe();\n }\n\n private _setCardState(): void {\n const nextState = {\n ...this.uiStateService.state,\n isCollapsible: coerceBooleanProperty(this.euiCollapsible),\n isCollapsed: coerceBooleanProperty(this.euiCollapsed),\n isUrgent: coerceBooleanProperty(this.euiUrgent),\n };\n this.uiStateService.setState(nextState);\n }\n}\n", "<ng-content select=\"eui-card-header\"></ng-content>\n<ng-content select=\"eui-card-media\"></ng-content>\n<ng-content select=\"eui-card-content\"></ng-content>\n<ng-content select=\"eui-card-footer\"></ng-content>\n", "import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { RouterModule } from '@angular/router';\n\nimport { EuiIconModule } from '@eui/components/eui-icon';\nimport { EuiButtonModule } from '@eui/components/eui-button';\nimport { EuiDropdownModule } from '@eui/components/eui-dropdown';\nimport { EuiTooltipDirectiveModule } from '@eui/components/directives';\n\nimport { EuiCardComponent } from './eui-card.component';\nimport { EuiCardHeaderComponent } from './components/eui-card-header/eui-card-header.component';\nimport { EuiCardHeaderTitleComponent } from './components/eui-card-header/eui-card-header-title.component';\nimport { EuiCardHeaderRightContentComponent } from './components/eui-card-header/eui-card-header-right-content.component';\nimport { EuiCardHeaderBodyComponent } from './components/eui-card-header-body/eui-card-header-body.component';\nimport { EuiCardHeaderLeftContentComponent } from './components/eui-card-header/eui-card-header-left-content.component';\nimport { EuiCardHeaderSubtitleComponent } from './components/eui-card-header/eui-card-header-subtitle.component';\nimport { EuiCardContentComponent } from './components/eui-card-content/eui-card-content.component';\nimport { EuiCardMediaComponent } from './components/eui-card-media/eui-card-media.component';\nimport { EuiCardFooterComponent } from './components/eui-card-footer/eui-card-footer.component';\nimport { EuiCardFooterMenuContentComponent } from './components/eui-card-footer/eui-card-footer-menu-content.component';\nimport { EuiCardFooterActionButtonsComponent } from './components/eui-card-footer/eui-card-footer-action-buttons.component';\nimport { EuiCardFooterActionIconsComponent } from './components/eui-card-footer/eui-card-footer-action-icons.component';\n\n@NgModule({\n imports: [CommonModule, RouterModule, EuiIconModule, EuiButtonModule, EuiDropdownModule, EuiTooltipDirectiveModule],\n declarations: [\n EuiCardComponent,\n EuiCardHeaderComponent,\n EuiCardHeaderTitleComponent,\n EuiCardContentComponent,\n EuiCardHeaderLeftContentComponent,\n EuiCardHeaderRightContentComponent,\n EuiCardHeaderSubtitleComponent,\n EuiCardHeaderBodyComponent,\n EuiCardFooterActionButtonsComponent,\n EuiCardFooterActionIconsComponent,\n EuiCardMediaComponent,\n EuiCardFooterComponent,\n EuiCardFooterMenuContentComponent,\n ],\n exports: [\n EuiCardComponent,\n EuiCardHeaderComponent,\n EuiCardHeaderTitleComponent,\n EuiCardContentComponent,\n EuiCardHeaderLeftContentComponent,\n EuiCardHeaderRightContentComponent,\n EuiCardHeaderSubtitleComponent,\n EuiCardHeaderBodyComponent,\n EuiCardFooterActionButtonsComponent,\n EuiCardFooterActionIconsComponent,\n EuiCardMediaComponent,\n EuiCardFooterComponent,\n EuiCardFooterMenuContentComponent,\n ],\n})\nexport class EuiCardModule {}\n"],
|
5
|
+
"mappings": ";AAAA,SAAS,kBAAkB;AAC3B,SAAS,uBAAmC;;AAQ5C,IAAM,eAAwB;EAC1B,eAAe;EACf,aAAa;EACb,UAAU;;AAIR,IAAO,iBAAP,MAAO,gBAAc;EAD3B,cAAA;AAEY,S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MACA;MACA;;IAEJ,SAAS;MACL;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;MACA;;GAEP;;",
|
6
6
|
"names": ["i0", "Component", "HostBinding", "ChangeDetectionStrategy", "i0", "Component", "HostBinding", "ChangeDetectionStrategy", "i0", "Component", "HostBinding", "ChangeDetectionStrategy", "i0", "Component", "HostBinding", "ChangeDetectionStrategy", "i0", "Component", "HostBinding", "ChangeDetectionStrategy", "i0", "Component", "HostBinding", "ChangeDetectionStrategy", "i0", "Component", "HostBinding", "ChangeDetectionStrategy", "Input", "ViewEncapsulation", "i0", "Component", "HostBinding", "ChangeDetectionStrategy", "i0", "Component", "HostBinding", "ChangeDetectionStrategy", "i0", "Component", "HostBinding", "Input", "ChangeDetectionStrategy", "ViewEncapsulation", "i0", "Component", "HostBinding", "ChangeDetectionStrategy", "ViewEncapsulation", "i0", "Component", "HostBinding", "Input", "ChangeDetectionStrategy", "ViewEncapsulation", "Output", "EventEmitter", "booleanAttribute", "i0"]
|
7
7
|
}
|
@@ -74,7 +74,7 @@ var EuiFieldsetComponent = class _EuiFieldsetComponent {
|
|
74
74
|
this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.6", ngImport: i0, type: _EuiFieldsetComponent, deps: [{ token: i1.BaseStatesDirective }], target: i0.ɵɵFactoryTarget.Component });
|
75
75
|
}
|
76
76
|
static {
|
77
|
-
this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.0-next.6", type: _EuiFieldsetComponent, selector: "eui-fieldset", inputs: { e2eAttr: "e2eAttr", id: "id", label: "label", iconClass: "iconClass", iconSvgName: "iconSvgName", iconSvgFillColor: "iconSvgFillColor", hasDefaultIcon: ["hasDefaultIcon", "hasDefaultIcon", booleanAttribute], isExpandable: ["isExpandable", "isExpandable", booleanAttribute], isExpanded: ["isExpanded", "isExpanded", booleanAttribute], isLarge: ["isLarge", "isLarge", booleanAttribute], isFirst: ["isFirst", "isFirst", booleanAttribute] }, outputs: { expand: "expand" }, host: { properties: { "class": "this.cssClasses", "attr.data-e2e": "this.e2eAttr" } }, queries: [{ propertyName: "templates", predicate: EuiTemplateDirective }], usesOnChanges: true, hostDirectives: [{ directive: i1.BaseStatesDirective, inputs: ["euiSecondary", "euiSecondary", "euiSuccess", "euiSuccess", "euiInfo", "euiInfo", "euiWarning", "euiWarning", "euiDanger", "euiDanger", "euiAccent", "euiAccent", "euiVariant", "euiVariant", "euiHighlighted", "euiHighlighted"] }], ngImport: i0, template: '<div class="eui-fieldset__container">\n <div *ngIf="label" class="eui-fieldset__header" (click)="onToggle()">\n <div class="eui-fieldset__header-label" [class.eui-fieldset__header-label--large]="isLarge">\n <div *ngIf="iconSvgName" class="eui-fieldset__header-icon">\n <eui-icon-svg [icon]="iconSvgName" [fillColor]="iconSvgFillColor"></eui-icon-svg>\n </div>\n <div *ngIf="hasDefaultIcon" class="eui-fieldset__header-icon">\n <eui-icon-svg [icon]="iconSvgType" [fillColor]="iconSvgFillColor"></eui-icon-svg>\n </div>\n <span euiLabel>{{ label }}</span>\n <ng-content select="euiFieldsetLabelExtraContent"></ng-content>\n </div>\n <div class="eui-fieldset__header-right-content">\n <ng-content select="euiFieldsetLabelRightContent"></ng-content>\n <eui-icon-button-expander *ngIf="isExpandable"
|
77
|
+
this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.0-next.6", type: _EuiFieldsetComponent, selector: "eui-fieldset", inputs: { e2eAttr: "e2eAttr", id: "id", label: "label", iconClass: "iconClass", iconSvgName: "iconSvgName", iconSvgFillColor: "iconSvgFillColor", hasDefaultIcon: ["hasDefaultIcon", "hasDefaultIcon", booleanAttribute], isExpandable: ["isExpandable", "isExpandable", booleanAttribute], isExpanded: ["isExpanded", "isExpanded", booleanAttribute], isLarge: ["isLarge", "isLarge", booleanAttribute], isFirst: ["isFirst", "isFirst", booleanAttribute] }, outputs: { expand: "expand" }, host: { properties: { "class": "this.cssClasses", "attr.data-e2e": "this.e2eAttr" } }, queries: [{ propertyName: "templates", predicate: EuiTemplateDirective }], usesOnChanges: true, hostDirectives: [{ directive: i1.BaseStatesDirective, inputs: ["euiSecondary", "euiSecondary", "euiSuccess", "euiSuccess", "euiInfo", "euiInfo", "euiWarning", "euiWarning", "euiDanger", "euiDanger", "euiAccent", "euiAccent", "euiVariant", "euiVariant", "euiHighlighted", "euiHighlighted"] }], ngImport: i0, template: '<div class="eui-fieldset__container">\n <div *ngIf="label" class="eui-fieldset__header" (click)="onToggle()">\n <div class="eui-fieldset__header-label" [class.eui-fieldset__header-label--large]="isLarge">\n <div *ngIf="iconSvgName" class="eui-fieldset__header-icon">\n <eui-icon-svg [icon]="iconSvgName" [fillColor]="iconSvgFillColor"></eui-icon-svg>\n </div>\n <div *ngIf="hasDefaultIcon" class="eui-fieldset__header-icon">\n <eui-icon-svg [icon]="iconSvgType" [fillColor]="iconSvgFillColor"></eui-icon-svg>\n </div>\n <span euiLabel>{{ label }}</span>\n <ng-content select="euiFieldsetLabelExtraContent"></ng-content>\n </div>\n <div class="eui-fieldset__header-right-content">\n <ng-content select="euiFieldsetLabelRightContent"></ng-content>\n <eui-icon-button-expander *ngIf="isExpandable"\n [isExpanded]="isExpanded"\n isDirectionForward>\n </eui-icon-button-expander>\n </div>\n </div>\n <div id="fieldset-content" *ngIf="isExpanded" class="eui-fieldset__content">\n @if (lazyContent) {\n <ng-template [ngTemplateOutlet]="lazyContent"></ng-template>\n } @else {\n <ng-content></ng-content>\n }\n </div>\n</div>\n', styles: [".eui-fieldset{--_color: var(--eui-fieldset-color, var(--eui-c-neutral))}.eui-fieldset{display:block;position:relative;width:100%}.eui-fieldset--first{margin-top:var(--eui-s-s)}.eui-fieldset__header{align-items:center;border-bottom:1px solid var(--eui-c-neutral-lightest);display:flex;margin-bottom:var(--eui-s-m);min-height:calc(var(--eui-s-2xl) + var(--eui-s-2xs));text-transform:uppercase}.eui-fieldset__header-icon{align-items:center;display:inline-flex;font-size:var(--eui-is-m);margin-right:var(--eui-s-s)}.eui-fieldset__header-label{align-items:center;display:inline-flex;font:var(--eui-f-s-bold)}.eui-fieldset__header-label.eui-fieldset__header-label--large{font:var(--eui-f-m)}.eui-fieldset__header-right-content{align-items:center;display:flex;margin-left:auto}.eui-fieldset--highlighted .eui-fieldset__container{background-color:transparent;padding:var(--eui-s-s);z-index:var(--eui-zi-highlighted)}.eui-fieldset--size-l>.eui-fieldset__header>.eui-fieldset__header-label{text-transform:none;font:var(--eui-f-l)}.eui-fieldset--highlighted{z-index:var(--eui-zi-highlighted)}.eui-fieldset--expandable .eui-fieldset__header{cursor:pointer;padding-bottom:var(--eui-s-xs)}.eui-fieldset--primary{--_color: var(--eui-c-primary)}.eui-fieldset--secondary{--_color: var(--eui-c-neutral)}.eui-fieldset--info{--_color: var(--eui-c-info)}.eui-fieldset--success{--_color: var(--eui-c-success)}.eui-fieldset--warning{--_color: var(--eui-c-warning)}.eui-fieldset--danger{--_color: var(--eui-c-danger)}.eui-fieldset .eui-fieldset__header{color:var(--_color)}.eui-fieldset:not(.eui-fieldset--has-icon-color) .eui-icon-svg svg{fill:var(--_color);color:var(--_color)}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i3.EuiIconSvgComponent, selector: "eui-icon-svg, span[euiIconSvg], i[euiIconSvg]", inputs: ["icon", "fillColor", "set", "size", "ariaLabelledby", "role", "style", "iconUrl", "transform", "aria-label", "ariaHidden", "focusable", "isLoading", "isInputIcon", "euiStart", "euiEnd"] }, { kind: "component", type: i3.EuiIconButtonExpanderComponent, selector: "eui-icon-button-expander", inputs: ["fillColor", "size", "ariaLabel", "isExpanded", "isDirectionForward", "euiDisabled"], outputs: ["buttonClick"] }], encapsulation: i0.ViewEncapsulation.None });
|
78
78
|
}
|
79
79
|
};
|
80
80
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.6", ngImport: i0, type: EuiFieldsetComponent, decorators: [{
|
@@ -93,7 +93,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.6",
|
|
93
93
|
"euiHighlighted"
|
94
94
|
]
|
95
95
|
}
|
96
|
-
], template: '<div class="eui-fieldset__container">\n <div *ngIf="label" class="eui-fieldset__header" (click)="onToggle()">\n <div class="eui-fieldset__header-label" [class.eui-fieldset__header-label--large]="isLarge">\n <div *ngIf="iconSvgName" class="eui-fieldset__header-icon">\n <eui-icon-svg [icon]="iconSvgName" [fillColor]="iconSvgFillColor"></eui-icon-svg>\n </div>\n <div *ngIf="hasDefaultIcon" class="eui-fieldset__header-icon">\n <eui-icon-svg [icon]="iconSvgType" [fillColor]="iconSvgFillColor"></eui-icon-svg>\n </div>\n <span euiLabel>{{ label }}</span>\n <ng-content select="euiFieldsetLabelExtraContent"></ng-content>\n </div>\n <div class="eui-fieldset__header-right-content">\n <ng-content select="euiFieldsetLabelRightContent"></ng-content>\n <eui-icon-button-expander *ngIf="isExpandable"
|
96
|
+
], template: '<div class="eui-fieldset__container">\n <div *ngIf="label" class="eui-fieldset__header" (click)="onToggle()">\n <div class="eui-fieldset__header-label" [class.eui-fieldset__header-label--large]="isLarge">\n <div *ngIf="iconSvgName" class="eui-fieldset__header-icon">\n <eui-icon-svg [icon]="iconSvgName" [fillColor]="iconSvgFillColor"></eui-icon-svg>\n </div>\n <div *ngIf="hasDefaultIcon" class="eui-fieldset__header-icon">\n <eui-icon-svg [icon]="iconSvgType" [fillColor]="iconSvgFillColor"></eui-icon-svg>\n </div>\n <span euiLabel>{{ label }}</span>\n <ng-content select="euiFieldsetLabelExtraContent"></ng-content>\n </div>\n <div class="eui-fieldset__header-right-content">\n <ng-content select="euiFieldsetLabelRightContent"></ng-content>\n <eui-icon-button-expander *ngIf="isExpandable"\n [isExpanded]="isExpanded"\n isDirectionForward>\n </eui-icon-button-expander>\n </div>\n </div>\n <div id="fieldset-content" *ngIf="isExpanded" class="eui-fieldset__content">\n @if (lazyContent) {\n <ng-template [ngTemplateOutlet]="lazyContent"></ng-template>\n } @else {\n <ng-content></ng-content>\n }\n </div>\n</div>\n', styles: [".eui-fieldset{--_color: var(--eui-fieldset-color, var(--eui-c-neutral))}.eui-fieldset{display:block;position:relative;width:100%}.eui-fieldset--first{margin-top:var(--eui-s-s)}.eui-fieldset__header{align-items:center;border-bottom:1px solid var(--eui-c-neutral-lightest);display:flex;margin-bottom:var(--eui-s-m);min-height:calc(var(--eui-s-2xl) + var(--eui-s-2xs));text-transform:uppercase}.eui-fieldset__header-icon{align-items:center;display:inline-flex;font-size:var(--eui-is-m);margin-right:var(--eui-s-s)}.eui-fieldset__header-label{align-items:center;display:inline-flex;font:var(--eui-f-s-bold)}.eui-fieldset__header-label.eui-fieldset__header-label--large{font:var(--eui-f-m)}.eui-fieldset__header-right-content{align-items:center;display:flex;margin-left:auto}.eui-fieldset--highlighted .eui-fieldset__container{background-color:transparent;padding:var(--eui-s-s);z-index:var(--eui-zi-highlighted)}.eui-fieldset--size-l>.eui-fieldset__header>.eui-fieldset__header-label{text-transform:none;font:var(--eui-f-l)}.eui-fieldset--highlighted{z-index:var(--eui-zi-highlighted)}.eui-fieldset--expandable .eui-fieldset__header{cursor:pointer;padding-bottom:var(--eui-s-xs)}.eui-fieldset--primary{--_color: var(--eui-c-primary)}.eui-fieldset--secondary{--_color: var(--eui-c-neutral)}.eui-fieldset--info{--_color: var(--eui-c-info)}.eui-fieldset--success{--_color: var(--eui-c-success)}.eui-fieldset--warning{--_color: var(--eui-c-warning)}.eui-fieldset--danger{--_color: var(--eui-c-danger)}.eui-fieldset .eui-fieldset__header{color:var(--_color)}.eui-fieldset:not(.eui-fieldset--has-icon-color) .eui-icon-svg svg{fill:var(--_color);color:var(--_color)}\n"] }]
|
97
97
|
}], ctorParameters: () => [{ type: i1.BaseStatesDirective }], propDecorators: { cssClasses: [{
|
98
98
|
type: HostBinding,
|
99
99
|
args: ["class"]
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../eui-fieldset/eui-fieldset.component.ts", "../../eui-fieldset/eui-fieldset.component.html", "../../eui-fieldset/eui-fieldset.module.ts"],
|
4
|
-
"sourcesContent": ["import {\n AfterContentInit,\n Component,\n ContentChildren,\n Directive,\n EventEmitter,\n HostBinding,\n Input,\n OnChanges,\n Output,\n QueryList,\n TemplateRef,\n ViewEncapsulation,\n booleanAttribute,\n} from '@angular/core';\nimport { EuiTemplateDirective } from '@eui/components/directives';\n\nimport { BaseStatesDirective } from '@eui/components/shared';\n\n@Component({\n selector: 'eui-fieldset',\n templateUrl: './eui-fieldset.component.html',\n styleUrls: ['./styles/_index.scss'],\n encapsulation: ViewEncapsulation.None,\n hostDirectives: [\n {\n directive: BaseStatesDirective,\n inputs: [\n 'euiSecondary',\n 'euiSuccess',\n 'euiInfo',\n 'euiWarning',\n 'euiDanger',\n 'euiAccent',\n 'euiVariant',\n 'euiHighlighted',\n ],\n },\n ],\n})\nexport class EuiFieldsetComponent implements AfterContentInit, OnChanges {\n @HostBinding('class')\n public get cssClasses(): string {\n return [\n this.baseStatesDirective.getCssClasses('eui-fieldset'),\n this.isFirst ? 'eui-fieldset--first' : '',\n this.isExpandable ? 'eui-fieldset--expandable' : '',\n this.iconSvgFillColor ? 'eui-fieldset--has-icon-color': '',\n ].join(' ').trim();\n }\n\n @HostBinding('attr.data-e2e') @Input() e2eAttr = 'eui-fieldset';\n\n @Input() id: string;\n @Input() label: string;\n @Input() iconClass: string;\n @Input() iconSvgName: string;\n @Input() iconSvgFillColor: string;\n\n @Input({ transform: booleanAttribute }) hasDefaultIcon = false;\n @Input({ transform: booleanAttribute }) isExpandable = false;\n @Input({ transform: booleanAttribute }) isExpanded = true;\n @Input({ transform: booleanAttribute }) isLarge = false;\n @Input({ transform: booleanAttribute }) isFirst = false;\n\n @Output() expand: EventEmitter<string> = new EventEmitter();\n\n public expandMenuLabel = 'Expand ';\n public collapseMenuLabel = 'Collapse ';\n public iconSvgType = 'eui-info';\n\n protected lazyContent: TemplateRef<HTMLElement>;\n @ContentChildren(EuiTemplateDirective) templates: QueryList<EuiTemplateDirective>;\n\n constructor(public baseStatesDirective: BaseStatesDirective) {}\n\n ngOnChanges(): void {\n this.setIcon();\n }\n\n ngAfterContentInit(): void {\n const lazyTemplate = this.templates.filter(t => t.name === 'eui-fieldset-content')[0];\n\n if (lazyTemplate) {\n this.lazyContent = lazyTemplate.template;\n }\n }\n\n onToggle(): void {\n if (this.isExpandable) {\n this.isExpanded = !this.isExpanded;\n this.expand.emit(this.id);\n }\n }\n\n private setIcon(): void {\n this.iconSvgType = 'eui-ecl-information';\n let fillColorGen = 'info-100';\n\n if (this.baseStatesDirective.euiWarning) {\n this.iconSvgType = 'eui-ecl-information';\n fillColorGen = 'info-100';\n }\n if (this.baseStatesDirective.euiWarning) {\n this.iconSvgType = 'eui-ecl-warning';\n fillColorGen = 'warning-100';\n }\n if (this.baseStatesDirective.euiDanger) {\n this.iconSvgType = 'eui-ecl-error';\n fillColorGen = 'danger-100';\n }\n if (this.baseStatesDirective.euiSuccess) {\n this.iconSvgType = 'eui-ecl-check-filled';\n fillColorGen = 'success-100';\n }\n if (this.baseStatesDirective.euiSecondary) {\n this.iconSvgType = 'eui-question';\n fillColorGen = 'neutral';\n }\n\n if (!this.iconSvgFillColor) {\n this.iconSvgFillColor = fillColorGen;\n }\n }\n}\n\n/* eslint-disable */\n@Directive({selector: 'euiFieldsetLabelRightContent'})\nexport class EuiFieldsetLabelRightContentTagDirective {\n}\n@Directive({selector: 'euiFieldsetLabelExtraContent'})\nexport class EuiFieldsetLabelExtraContentTagDirective {\n}\n/* eslint-enable */\n", "<div class=\"eui-fieldset__container\">\n <div *ngIf=\"label\" class=\"eui-fieldset__header\" (click)=\"onToggle()\">\n <div class=\"eui-fieldset__header-label\" [class.eui-fieldset__header-label--large]=\"isLarge\">\n <div *ngIf=\"iconSvgName\" class=\"eui-fieldset__header-icon\">\n <eui-icon-svg [icon]=\"iconSvgName\" [fillColor]=\"iconSvgFillColor\"></eui-icon-svg>\n </div>\n <div *ngIf=\"hasDefaultIcon\" class=\"eui-fieldset__header-icon\">\n <eui-icon-svg [icon]=\"iconSvgType\" [fillColor]=\"iconSvgFillColor\"></eui-icon-svg>\n </div>\n <span euiLabel>{{ label }}</span>\n <ng-content select=\"euiFieldsetLabelExtraContent\"></ng-content>\n </div>\n <div class=\"eui-fieldset__header-right-content\">\n <ng-content select=\"euiFieldsetLabelRightContent\"></ng-content>\n <eui-icon-button-expander *ngIf=\"isExpandable\"
|
5
|
-
"mappings": ";AAAA,SAEI,WACA,iBACA,WACA,cACA,aACA,OAEA,QAGA,mBACA,wBACG;AACP,SAAS,4BAA4B;AAErC,SAAS,2BAA2B;;;;;AAuB9B,IAAO,uBAAP,MAAO,sBAAoB;EAC7B,IACW,aAAU;AACjB,WAAO;MACH,KAAK,oBAAoB,cAAc,cAAc;MACrD,KAAK,UAAU,wBAAwB;MACvC,KAAK,eAAe,6BAA6B;MACjD,KAAK,mBAAmB,iCAAgC;MAC1D,KAAK,GAAG,EAAE,KAAI;EACpB;EAyBA,YAAmB,qBAAwC;AAAxC,SAAA,sBAAA;AAvBoB,SAAA,UAAU;AAQT,SAAA,iBAAiB;AACjB,SAAA,eAAe;AACf,SAAA,aAAa;AACb,SAAA,UAAU;AACV,SAAA,UAAU;AAExC,SAAA,SAA+B,IAAI,aAAY;AAElD,SAAA,kBAAkB;AAClB,SAAA,oBAAoB;AACpB,SAAA,cAAc;EAKyC;EAE9D,cAAW;AACP,SAAK,QAAO;EAChB;EAEA,qBAAkB;AACd,UAAM,eAAe,KAAK,UAAU,OAAO,OAAK,EAAE,SAAS,sBAAsB,EAAE,CAAC;AAEpF,QAAI,cAAc;AACd,WAAK,cA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,cAAA,cAAA,WAAA,WAAA,cAAA,cAAA,aAAA,aAAA,aAAA,aAAA,cAAA,cAAA,kBAAA,gBAAA,EAAA,CAAA,GAAA,UAAA,IAAA,UCxEzC,
|
4
|
+
"sourcesContent": ["import {\n AfterContentInit,\n Component,\n ContentChildren,\n Directive,\n EventEmitter,\n HostBinding,\n Input,\n OnChanges,\n Output,\n QueryList,\n TemplateRef,\n ViewEncapsulation,\n booleanAttribute,\n} from '@angular/core';\nimport { EuiTemplateDirective } from '@eui/components/directives';\n\nimport { BaseStatesDirective } from '@eui/components/shared';\n\n@Component({\n selector: 'eui-fieldset',\n templateUrl: './eui-fieldset.component.html',\n styleUrls: ['./styles/_index.scss'],\n encapsulation: ViewEncapsulation.None,\n hostDirectives: [\n {\n directive: BaseStatesDirective,\n inputs: [\n 'euiSecondary',\n 'euiSuccess',\n 'euiInfo',\n 'euiWarning',\n 'euiDanger',\n 'euiAccent',\n 'euiVariant',\n 'euiHighlighted',\n ],\n },\n ],\n})\nexport class EuiFieldsetComponent implements AfterContentInit, OnChanges {\n @HostBinding('class')\n public get cssClasses(): string {\n return [\n this.baseStatesDirective.getCssClasses('eui-fieldset'),\n this.isFirst ? 'eui-fieldset--first' : '',\n this.isExpandable ? 'eui-fieldset--expandable' : '',\n this.iconSvgFillColor ? 'eui-fieldset--has-icon-color': '',\n ].join(' ').trim();\n }\n\n @HostBinding('attr.data-e2e') @Input() e2eAttr = 'eui-fieldset';\n\n @Input() id: string;\n @Input() label: string;\n @Input() iconClass: string;\n @Input() iconSvgName: string;\n @Input() iconSvgFillColor: string;\n\n @Input({ transform: booleanAttribute }) hasDefaultIcon = false;\n @Input({ transform: booleanAttribute }) isExpandable = false;\n @Input({ transform: booleanAttribute }) isExpanded = true;\n @Input({ transform: booleanAttribute }) isLarge = false;\n @Input({ transform: booleanAttribute }) isFirst = false;\n\n @Output() expand: EventEmitter<string> = new EventEmitter();\n\n public expandMenuLabel = 'Expand ';\n public collapseMenuLabel = 'Collapse ';\n public iconSvgType = 'eui-info';\n\n protected lazyContent: TemplateRef<HTMLElement>;\n @ContentChildren(EuiTemplateDirective) templates: QueryList<EuiTemplateDirective>;\n\n constructor(public baseStatesDirective: BaseStatesDirective) {}\n\n ngOnChanges(): void {\n this.setIcon();\n }\n\n ngAfterContentInit(): void {\n const lazyTemplate = this.templates.filter(t => t.name === 'eui-fieldset-content')[0];\n\n if (lazyTemplate) {\n this.lazyContent = lazyTemplate.template;\n }\n }\n\n onToggle(): void {\n if (this.isExpandable) {\n this.isExpanded = !this.isExpanded;\n this.expand.emit(this.id);\n }\n }\n\n private setIcon(): void {\n this.iconSvgType = 'eui-ecl-information';\n let fillColorGen = 'info-100';\n\n if (this.baseStatesDirective.euiWarning) {\n this.iconSvgType = 'eui-ecl-information';\n fillColorGen = 'info-100';\n }\n if (this.baseStatesDirective.euiWarning) {\n this.iconSvgType = 'eui-ecl-warning';\n fillColorGen = 'warning-100';\n }\n if (this.baseStatesDirective.euiDanger) {\n this.iconSvgType = 'eui-ecl-error';\n fillColorGen = 'danger-100';\n }\n if (this.baseStatesDirective.euiSuccess) {\n this.iconSvgType = 'eui-ecl-check-filled';\n fillColorGen = 'success-100';\n }\n if (this.baseStatesDirective.euiSecondary) {\n this.iconSvgType = 'eui-question';\n fillColorGen = 'neutral';\n }\n\n if (!this.iconSvgFillColor) {\n this.iconSvgFillColor = fillColorGen;\n }\n }\n}\n\n/* eslint-disable */\n@Directive({selector: 'euiFieldsetLabelRightContent'})\nexport class EuiFieldsetLabelRightContentTagDirective {\n}\n@Directive({selector: 'euiFieldsetLabelExtraContent'})\nexport class EuiFieldsetLabelExtraContentTagDirective {\n}\n/* eslint-enable */\n", "<div class=\"eui-fieldset__container\">\n <div *ngIf=\"label\" class=\"eui-fieldset__header\" (click)=\"onToggle()\">\n <div class=\"eui-fieldset__header-label\" [class.eui-fieldset__header-label--large]=\"isLarge\">\n <div *ngIf=\"iconSvgName\" class=\"eui-fieldset__header-icon\">\n <eui-icon-svg [icon]=\"iconSvgName\" [fillColor]=\"iconSvgFillColor\"></eui-icon-svg>\n </div>\n <div *ngIf=\"hasDefaultIcon\" class=\"eui-fieldset__header-icon\">\n <eui-icon-svg [icon]=\"iconSvgType\" [fillColor]=\"iconSvgFillColor\"></eui-icon-svg>\n </div>\n <span euiLabel>{{ label }}</span>\n <ng-content select=\"euiFieldsetLabelExtraContent\"></ng-content>\n </div>\n <div class=\"eui-fieldset__header-right-content\">\n <ng-content select=\"euiFieldsetLabelRightContent\"></ng-content>\n <eui-icon-button-expander *ngIf=\"isExpandable\"\n [isExpanded]=\"isExpanded\"\n isDirectionForward>\n </eui-icon-button-expander>\n </div>\n </div>\n <div id=\"fieldset-content\" *ngIf=\"isExpanded\" class=\"eui-fieldset__content\">\n @if (lazyContent) {\n <ng-template [ngTemplateOutlet]=\"lazyContent\"></ng-template>\n } @else {\n <ng-content></ng-content>\n }\n </div>\n</div>\n", "import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { EuiButtonModule } from '@eui/components/eui-button';\nimport { EuiIconModule } from '@eui/components/eui-icon';\nimport { BaseStatesDirective } from '@eui/components/shared';\n\nimport {\n EuiFieldsetComponent,\n EuiFieldsetLabelExtraContentTagDirective,\n EuiFieldsetLabelRightContentTagDirective,\n} from './eui-fieldset.component';\n@NgModule({\n imports: [CommonModule, EuiButtonModule, EuiIconModule, BaseStatesDirective],\n exports: [EuiFieldsetComponent, EuiFieldsetLabelRightContentTagDirective, EuiFieldsetLabelExtraContentTagDirective],\n declarations: [EuiFieldsetComponent, EuiFieldsetLabelRightContentTagDirective, EuiFieldsetLabelExtraContentTagDirective],\n})\nexport class EuiFieldsetModule {}\n"],
|
5
|
+
"mappings": ";AAAA,SAEI,WACA,iBACA,WACA,cACA,aACA,OAEA,QAGA,mBACA,wBACG;AACP,SAAS,4BAA4B;AAErC,SAAS,2BAA2B;;;;;AAuB9B,IAAO,uBAAP,MAAO,sBAAoB;EAC7B,IACW,aAAU;AACjB,WAAO;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ElIrD,SAAS,gBAAgB;AACzB,SAAS,oBAAoB;AAE7B,SAAS,uBAAuB;AAChC,SAAS,qBAAqB;AAC9B,SAAS,uBAAAA,4BAA2B;;AAY9B,IAAO,oBAAP,MAAO,mBAAiB;;8GAAjB,oBAAiB,MAAA,CAAA,GAAA,QAAA,oBAAA,SAAA,CAAA;EAAA;;+GAAjB,oBAAiB,cAAA,CAFX,sBAAsB,0CAA0C,wCAAwC,GAAA,SAAA,CAF7G,cAAc,iBAAiB,eAAeA,oBAAmB,GAAA,SAAA,CACjE,sBAAsB,0CAA0C,wCAAwC,EAAA,CAAA;EAAA;;+GAGzG,oBAAiB,SAAA,CAJhB,cAAc,iBAAiB,aAAa,EAAA,CAAA;EAAA;;oGAI7C,mBAAiB,YAAA,CAAA;QAL7B;SAAS;IACN,SAAS,CAAC,cAAc,iBAAiB,eAAeA,oBAAmB;IAC3E,SAAS,CAAC,sBAAsB,0CAA0C,wCAAwC;IAClH,cAAc,CAAC,sBAAsB,0CAA0C,wCAAwC;GAC1H;;",
|
6
6
|
"names": ["BaseStatesDirective"]
|
7
7
|
}
|
@@ -343,12 +343,14 @@ var EuiIconButtonExpanderComponent = class _EuiIconButtonExpanderComponent {
|
|
343
343
|
constructor() {
|
344
344
|
this.size = "m";
|
345
345
|
this.isExpanded = false;
|
346
|
+
this.isDirectionForward = false;
|
346
347
|
this.euiDisabled = false;
|
347
348
|
this.buttonClick = new EventEmitter2();
|
348
349
|
}
|
349
350
|
get cssClasses() {
|
350
351
|
return [
|
351
|
-
"eui-icon-button-expander"
|
352
|
+
"eui-icon-button-expander",
|
353
|
+
this.isDirectionForward ? "eui-icon-button-expander--direction-forward" : ""
|
352
354
|
].join(" ").trim();
|
353
355
|
}
|
354
356
|
onClick(event) {
|
@@ -358,16 +360,21 @@ var EuiIconButtonExpanderComponent = class _EuiIconButtonExpanderComponent {
|
|
358
360
|
this.ɵfac = i03.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.6", ngImport: i03, type: _EuiIconButtonExpanderComponent, deps: [], target: i03.ɵɵFactoryTarget.Component });
|
359
361
|
}
|
360
362
|
static {
|
361
|
-
this.ɵcmp = i03.ɵɵngDeclareComponent({ minVersion: "
|
363
|
+
this.ɵcmp = i03.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.0-next.6", type: _EuiIconButtonExpanderComponent, selector: "eui-icon-button-expander", inputs: { fillColor: "fillColor", size: "size", ariaLabel: "ariaLabel", isExpanded: ["isExpanded", "isExpanded", booleanAttribute3], isDirectionForward: ["isDirectionForward", "isDirectionForward", booleanAttribute3], euiDisabled: ["euiDisabled", "euiDisabled", booleanAttribute3] }, outputs: { buttonClick: "buttonClick" }, host: { properties: { "class": "this.cssClasses" } }, ngImport: i03, template: `<button
|
362
364
|
type="button"
|
363
365
|
class="eui-icon-button-expander-toggle"
|
364
366
|
[class.eui-icon-button-expander-toggle--expanded]="isExpanded"
|
365
367
|
[attr.aria-label]="!isExpanded ? 'expanded' : 'collapsed'"
|
366
368
|
[attr.aria-expanded]="isExpanded"
|
367
|
-
aria-controls="expander-content"
|
368
|
-
|
369
|
+
aria-controls="expander-content"
|
370
|
+
(click)="onClick($event)">
|
371
|
+
@if (isDirectionForward) {
|
372
|
+
<eui-icon-svg icon="eui-chevron-forward" size="{{size}}"></eui-icon-svg>
|
373
|
+
} @else {
|
374
|
+
<eui-icon-svg icon="eui-chevron-down" size="{{size}}"></eui-icon-svg>
|
375
|
+
}
|
369
376
|
</button>
|
370
|
-
`, styles: [':host.eui-icon-button-expander{display:inline-flex;border-radius:var(--eui-br-max)}:host.eui-icon-button-expander:hover{background-color:var(--eui-c-neutral-bg)}.eui-icon-button-expander-toggle{background-color:transparent;border:none;border-radius:var(--eui-br-max);cursor:pointer;padding:var(--eui-s-2xs);align-items:center;display:flex;justify-content:center;position:relative;transition:all .2s linear!important}.eui-icon-button-expander-toggle:focus:not([readonly]){outline:2px solid var(--eui-c-focus)!important;outline-offset:-2px!important;transition:none}.eui-icon-button-expander-toggle:focus-visible:not([readonly]){outline:2px solid var(--eui-c-focus-visible)!important;outline-offset:-2px!important;transition:none}.eui-icon-button-expander-toggle [tabindex="0"]:focus:not([readonly]){outline:2px solid var(--eui-c-focus-visible)!important;outline-offset:-2px!important;transition:none}.eui-icon-button-expander-toggle--expanded{transform:rotate(90deg)}\n'], dependencies: [{ kind: "component", type: EuiIconSvgComponent, selector: "eui-icon-svg, span[euiIconSvg], i[euiIconSvg]", inputs: ["icon", "fillColor", "set", "size", "ariaLabelledby", "role", "style", "iconUrl", "transform", "aria-label", "ariaHidden", "focusable", "isLoading", "isInputIcon", "euiStart", "euiEnd"] }], changeDetection: i03.ChangeDetectionStrategy.OnPush });
|
377
|
+
`, styles: [':host.eui-icon-button-expander{display:inline-flex;border-radius:var(--eui-br-max)}:host.eui-icon-button-expander:hover{background-color:var(--eui-c-neutral-bg)}.eui-icon-button-expander-toggle{background-color:transparent;border:none;border-radius:var(--eui-br-max);cursor:pointer;padding:var(--eui-s-2xs);align-items:center;display:flex;justify-content:center;position:relative;transition:all .2s linear!important}.eui-icon-button-expander-toggle:focus:not([readonly]){outline:2px solid var(--eui-c-focus)!important;outline-offset:-2px!important;transition:none}.eui-icon-button-expander-toggle:focus-visible:not([readonly]){outline:2px solid var(--eui-c-focus-visible)!important;outline-offset:-2px!important;transition:none}.eui-icon-button-expander-toggle [tabindex="0"]:focus:not([readonly]){outline:2px solid var(--eui-c-focus-visible)!important;outline-offset:-2px!important;transition:none}.eui-icon-button-expander-toggle--expanded{transform:rotate(180deg)}:host.eui-icon-button-expander--direction-forward .eui-icon-button-expander-toggle--expanded{transform:rotate(90deg)}\n'], dependencies: [{ kind: "component", type: EuiIconSvgComponent, selector: "eui-icon-svg, span[euiIconSvg], i[euiIconSvg]", inputs: ["icon", "fillColor", "set", "size", "ariaLabelledby", "role", "style", "iconUrl", "transform", "aria-label", "ariaHidden", "focusable", "isLoading", "isInputIcon", "euiStart", "euiEnd"] }], changeDetection: i03.ChangeDetectionStrategy.OnPush });
|
371
378
|
}
|
372
379
|
};
|
373
380
|
i03.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.6", ngImport: i03, type: EuiIconButtonExpanderComponent, decorators: [{
|
@@ -378,10 +385,15 @@ i03.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.6",
|
|
378
385
|
[class.eui-icon-button-expander-toggle--expanded]="isExpanded"
|
379
386
|
[attr.aria-label]="!isExpanded ? 'expanded' : 'collapsed'"
|
380
387
|
[attr.aria-expanded]="isExpanded"
|
381
|
-
aria-controls="expander-content"
|
382
|
-
|
388
|
+
aria-controls="expander-content"
|
389
|
+
(click)="onClick($event)">
|
390
|
+
@if (isDirectionForward) {
|
391
|
+
<eui-icon-svg icon="eui-chevron-forward" size="{{size}}"></eui-icon-svg>
|
392
|
+
} @else {
|
393
|
+
<eui-icon-svg icon="eui-chevron-down" size="{{size}}"></eui-icon-svg>
|
394
|
+
}
|
383
395
|
</button>
|
384
|
-
`, styles: [':host.eui-icon-button-expander{display:inline-flex;border-radius:var(--eui-br-max)}:host.eui-icon-button-expander:hover{background-color:var(--eui-c-neutral-bg)}.eui-icon-button-expander-toggle{background-color:transparent;border:none;border-radius:var(--eui-br-max);cursor:pointer;padding:var(--eui-s-2xs);align-items:center;display:flex;justify-content:center;position:relative;transition:all .2s linear!important}.eui-icon-button-expander-toggle:focus:not([readonly]){outline:2px solid var(--eui-c-focus)!important;outline-offset:-2px!important;transition:none}.eui-icon-button-expander-toggle:focus-visible:not([readonly]){outline:2px solid var(--eui-c-focus-visible)!important;outline-offset:-2px!important;transition:none}.eui-icon-button-expander-toggle [tabindex="0"]:focus:not([readonly]){outline:2px solid var(--eui-c-focus-visible)!important;outline-offset:-2px!important;transition:none}.eui-icon-button-expander-toggle--expanded{transform:rotate(90deg)}\n'] }]
|
396
|
+
`, styles: [':host.eui-icon-button-expander{display:inline-flex;border-radius:var(--eui-br-max)}:host.eui-icon-button-expander:hover{background-color:var(--eui-c-neutral-bg)}.eui-icon-button-expander-toggle{background-color:transparent;border:none;border-radius:var(--eui-br-max);cursor:pointer;padding:var(--eui-s-2xs);align-items:center;display:flex;justify-content:center;position:relative;transition:all .2s linear!important}.eui-icon-button-expander-toggle:focus:not([readonly]){outline:2px solid var(--eui-c-focus)!important;outline-offset:-2px!important;transition:none}.eui-icon-button-expander-toggle:focus-visible:not([readonly]){outline:2px solid var(--eui-c-focus-visible)!important;outline-offset:-2px!important;transition:none}.eui-icon-button-expander-toggle [tabindex="0"]:focus:not([readonly]){outline:2px solid var(--eui-c-focus-visible)!important;outline-offset:-2px!important;transition:none}.eui-icon-button-expander-toggle--expanded{transform:rotate(180deg)}:host.eui-icon-button-expander--direction-forward .eui-icon-button-expander-toggle--expanded{transform:rotate(90deg)}\n'] }]
|
385
397
|
}], propDecorators: { cssClasses: [{
|
386
398
|
type: HostBinding3,
|
387
399
|
args: ["class"]
|
@@ -394,6 +406,9 @@ i03.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.6",
|
|
394
406
|
}], isExpanded: [{
|
395
407
|
type: Input3,
|
396
408
|
args: [{ transform: booleanAttribute3 }]
|
409
|
+
}], isDirectionForward: [{
|
410
|
+
type: Input3,
|
411
|
+
args: [{ transform: booleanAttribute3 }]
|
397
412
|
}], euiDisabled: [{
|
398
413
|
type: Input3,
|
399
414
|
args: [{ transform: booleanAttribute3 }]
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../eui-icon/eui-icon-svg.component.ts", "../../eui-icon/eui-icon-svg.component.html", "../../eui-icon/eui-icon-button/eui-icon-button.component.ts", "../../eui-icon/eui-icon-button/eui-icon-button.component.html", "../../eui-icon/eui-icon-button-expander/eui-icon-button-expander.component.ts", "../../eui-icon/eui-icon-button-expander/eui-icon-button-expander.component.html", "../../eui-icon/eui-icon-input/eui-icon-input.component.ts", "../../eui-icon/eui-icon-input/eui-icon-input.component.html", "../../eui-icon/eui-icon-color.component.ts", "../../eui-icon/eui-icon.module.ts"],
|
4
|
-
"sourcesContent": ["import {\n ChangeDetectionStrategy,\n Component,\n Input,\n HostBinding,\n OnInit,\n ViewEncapsulation,\n OnChanges,\n SimpleChanges,\n AfterContentInit,\n Inject,\n Optional,\n booleanAttribute,\n} from '@angular/core';\nimport { EUI_CONFIG_TOKEN } from '@eui/core';\nimport { EuiConfig } from '@eui/base';\nimport { BaseStatesDirective } from '@eui/components/shared';\n\n@Component({\n selector: 'eui-icon-svg, span[euiIconSvg], i[euiIconSvg]',\n templateUrl: './eui-icon-svg.component.html',\n styleUrls: ['./styles/_index.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n hostDirectives: [\n {\n directive: BaseStatesDirective,\n inputs: [\n 'euiPrimary',\n 'euiSecondary',\n 'euiSuccess',\n 'euiInfo',\n 'euiWarning',\n 'euiDanger',\n 'euiAccent',\n 'euiVariant',\n\n 'euiSizeXS',\n 'euiSizeS',\n 'euiSizeM',\n 'euiSizeL',\n 'euiSizeXL',\n 'euiSizeVariant',\n ],\n },\n ],\n})\nexport class EuiIconSvgComponent implements AfterContentInit, OnChanges, OnInit {\n @HostBinding('attr.role') ariaRole = 'img';\n\n @Input() icon: string; // could be the form of \"icon:set\" to pass them both in a single input\n @Input() fillColor;\n @Input() set = 'eui';\n @Input() size: '2xs' | 'xs' | 's' | 'm' | 'l' | 'xl' | '2xl' | '3xl' | '4xl' | string = 'm';\n /** @deprecated will be removed in eUI18 as it is ignored by screen readers */\n @Input() ariaLabelledby: string;\n /** @deprecated will be removed in eUI18 as the host role attribute is announced */\n @Input() role: string;\n @Input() style = '';\n @Input() iconUrl: string;\n @Input() transform = '';\n\n @HostBinding('class')\n public get cssClasses(): string {\n return [\n // Always refer to the baseStatesDirective\n this.baseStatesDirective.getCssClasses('eui-icon-svg'),\n this.transform ? `eui-icon-svg--${this.transform}` : '',\n\n // own cmp state => reflected with the scss states\n this.euiStart ? 'eui-icon-svg--start' : '',\n this.euiEnd ? 'eui-icon-svg--end' : '',\n this.isInputIcon ? 'eui-icon-svg--input-icon': '',\n ]\n .join(' ')\n .trim();\n }\n\n @HostBinding('attr.aria-label')\n @Input('aria-label')\n public get ariaLabel(): string {\n return this._ariaLabel;\n }\n public set ariaLabel(value: string | null) {\n this._ariaLabel = value;\n }\n protected _ariaLabel = 'eUI Icon';\n\n public iconName: string;\n public assetsBaseUrl = 'assets';\n public iconStyle;\n\n @Input({ transform: booleanAttribute }) ariaHidden = true;\n @Input({ transform: booleanAttribute }) focusable = false;\n @Input({ transform: booleanAttribute }) isLoading = false;\n @Input({ transform: booleanAttribute }) isInputIcon = false;\n\n @Input({ transform: booleanAttribute }) euiStart = false;\n @Input({ transform: booleanAttribute }) euiEnd = false;\n\n constructor(\n @Optional() @Inject(EUI_CONFIG_TOKEN) private config: EuiConfig,\n public baseStatesDirective: BaseStatesDirective,\n ) {\n }\n\n ngOnInit(): void {\n const assetsBaseUrl = this.config?.appConfig?.global?.eui?.assetsBaseUrl;\n if (assetsBaseUrl) {\n this.assetsBaseUrl = this.config.appConfig.global.eui.assetsBaseUrl;\n }\n if (this.isLoading) {\n this.set = 'eui';\n this.icon = 'eui-radio-button-off';\n this.fillColor = 'transparent';\n }\n }\n\n ngOnChanges(c: SimpleChanges): void {\n if (c && c.set) {\n if (c.set.currentValue !== c.set.previousValue) {\n this._setIconAndSet();\n }\n }\n\n if (c && c.icon) {\n if (c.icon.currentValue !== c.icon.previousValue) {\n this._setIconAndSet();\n }\n }\n\n if (c && c.size) {\n if (c.size.currentValue !== c.size.previousValue) {\n this._setStyle();\n }\n }\n if (c && c.fillColor) {\n if (c.fillColor.currentValue !== c.fillColor.previousValue) {\n this._setStyle();\n }\n }\n\n if (c && c.size && this.baseStatesDirective.euiSizeVariant) {\n this.size = this.baseStatesDirective.euiSizeVariant;\n this._setStyle();\n }\n\n if (c && this.baseStatesDirective.euiSizeVariant) {\n this.size = this.baseStatesDirective.euiSizeVariant;\n this._setStyle();\n }\n }\n\n ngAfterContentInit(): void {\n this._setIconAndSet();\n this._setStyle();\n }\n\n private _setIconAndSet(): void {\n if (this.icon && this.icon.indexOf(':') > -1) {\n const iconSet = this.icon.split(':');\n this.icon = iconSet[0];\n this.set = iconSet[1];\n }\n\n if (!this.set || this.set === '') {\n this.set = 'eui';\n } else {\n if (this.set === 'sharp' || this.set === 'outline') {\n this.iconName = `${this.icon}-${this.set}`;\n } else {\n this.iconName = this.icon;\n }\n }\n }\n\n private _setStyle(): void {\n let fill = '';\n if (this.fillColor) {\n fill = `fill: var(--eui-c-${this.fillColor}); color: var(--eui-c-${this.fillColor});`;\n }\n const height = `height: var(--eui-is-${this.size});`;\n const width = `width: var(--eui-is-${this.size});`;\n this.iconStyle = `${fill} ${height} ${width}`;\n }\n}\n", "<ng-container *ngIf=\"icon && !iconUrl && !isLoading\">\n <ng-container *ngTemplateOutlet=\"default\"></ng-container>\n</ng-container>\n<ng-container *ngIf=\"iconUrl\">\n <ng-container *ngTemplateOutlet=\"custom\"></ng-container>\n</ng-container>\n<ng-container *ngIf=\"isLoading\">\n <ng-container *ngTemplateOutlet=\"loading\"></ng-container>\n</ng-container>\n\n<ng-template #default>\n <svg\n class=\"eui-sprite-{{icon}}\"\n [class.eui-icon-svg--loading]=\"isLoading\"\n [attr.aria-hidden]=\"ariaHidden\"\n [attr.aria-labelledby]=\"ariaLabelledby || null\"\n [attr.role]=\"role || 'img'\"\n [attr.focusable]=\"focusable\"\n attr.style=\"{{iconStyle}}\">\n <use [attr.href]=\"assetsBaseUrl + '/icons/sprites/' + set + '.svg#' + iconName\"></use>\n </svg>\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</ng-template>\n\n<ng-template #custom>\n <svg class=\"eui-icon-svg\"\n attr.style=\"{{iconStyle}} {{style}}\"\n [attr.aria-hidden]=\"ariaHidden\"\n [attr.aria-labelledby]=\"ariaLabelledby || null\"\n [attr.role]=\"role || 'img'\"\n [attr.focusable]=\"focusable\">\n <image [attr.href]=\"iconUrl\" [class]=\"'eui-icon-svg'\" attr.style=\"{{iconStyle}} {{style}}\"></image>\n </svg>\n</ng-template>\n\n<ng-template #loading>\n <eui-icon-svg [size]=\"size\" fillColor=\"transparent\" class=\"eui-icon-svg--loading\"></eui-icon-svg>\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</ng-template>\n\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>\n", "import { Component, HostBinding, Input, Output, EventEmitter, ViewEncapsulation, booleanAttribute } from '@angular/core';\n\n@Component({\n selector: 'eui-icon-button',\n templateUrl: './eui-icon-button.component.html',\n styleUrls: [ './eui-icon-button.component.scss' ],\n encapsulation: ViewEncapsulation.None,\n})\nexport class EuiIconButtonComponent {\n @HostBinding('class')\n get cssClasses(): string {\n return [\n 'eui-icon-button',\n this.hasFocusBorder ? 'eui-icon-button--has-focus': '',\n this.hasNoPadding ? 'eui-icon-button--has-no-padding': '',\n ]\n .join(' ')\n .trim();\n }\n @HostBinding('attr.tabindex') tabindex = -1;\n\n @Input() icon: string;\n @Input() fillColor: string;\n @Input() size: '2xs' | 'xs' | 's' | 'm' | 'l' | 'xl' | '2xl' | '3xl' | '4xl' = 'm';\n @Input() ariaLabel: string;\n\n @Input({ transform: booleanAttribute }) hasFocusBorder = false;\n @Input({ transform: booleanAttribute }) hasNoPadding = false;\n\n @Output() buttonClick = new EventEmitter<Event>();\n\n onClick(event: Event): void {\n this.buttonClick.emit(event);\n }\n}\n", "<button class=\"eui-icon-button__button\"\n type=\"button\"\n (keydown.enter)=\"onClick($event)\"\n (keydown.backspace)=\"onClick($event)\"\n (click)=\"onClick($event)\"\n [attr.aria-label]=\"ariaLabel\">\n <eui-icon-svg [icon]=\"icon\" [fillColor]=\"fillColor\" [size]=\"size\" class=\"eui-icon-button__button-icon\">\n <ng-content select=\"eui-badge\"></ng-content>\n </eui-icon-svg>\n</button>\n", "import { Component, HostBinding, Input, Output, EventEmitter, ViewEncapsulation, booleanAttribute, ChangeDetectionStrategy } from '@angular/core';\n\n@Component({\n selector: 'eui-icon-button-expander',\n templateUrl: './eui-icon-button-expander.component.html',\n styleUrls: [ './eui-icon-button-expander.component.scss' ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EuiIconButtonExpanderComponent {\n @HostBinding('class')\n get cssClasses(): string {\n return [\n 'eui-icon-button-expander',\n ].join(' ').trim();\n }\n // @HostBinding('attr.tabindex') tabindex = -1;\n\n @Input() fillColor: string;\n @Input() size: '2xs' | 'xs' | 's' | 'm' | 'l' | 'xl' | '2xl' | '3xl' | '4xl' = 'm';\n @Input() ariaLabel: string;\n\n @Input({ transform: booleanAttribute }) isExpanded = false;\n // TODO handle disabled attr (see button implementation)\n @Input({ transform: booleanAttribute }) euiDisabled = false;\n\n @Output() buttonClick = new EventEmitter<Event>();\n\n onClick(event: Event): void {\n this.buttonClick.emit(event);\n }\n}\n", "<button\n type=\"button\"\n class=\"eui-icon-button-expander-toggle\"\n [class.eui-icon-button-expander-toggle--expanded]=\"isExpanded\"\n [attr.aria-label]=\"!isExpanded ? 'expanded' : 'collapsed'\"\n [attr.aria-expanded]=\"isExpanded\"\n aria-controls=\"expander-content\">\n <eui-icon-svg icon=\"eui-chevron-forward\" size=\"{{size}}\"></eui-icon-svg>\n</button>\n", "import { Component, HostBinding, Input, Output, EventEmitter, ViewEncapsulation, booleanAttribute } from '@angular/core';\n\n@Component({\n selector: 'eui-icon-input',\n templateUrl: './eui-icon-input.component.html',\n styleUrls: [ './eui-icon-input.component.scss' ],\n})\nexport class EuiIconInputComponent {\n @HostBinding('class')\n get cssClasses(): string {\n return [\n 'eui-icon-input',\n this.euiIconPositionStart && !this.euiIconPositionEnd ? 'eui-icon-input--start' : '',\n this.euiIconPositionEnd ? 'eui-icon-input--end' : '',\n ]\n .join(' ')\n .trim();\n }\n\n @Input({ transform: booleanAttribute }) euiIconPositionStart = true;\n @Input({ transform: booleanAttribute }) euiIconPositionEnd = false;\n}\n", "<span class=\"eui-icon-input-wrapper\">\n <span class=\"eui-icon-input__content\">\n <ng-content></ng-content>\n </span>\n <span class=\"eui-icon-input__icon\">\n <ng-content select=\"eui-icon-svg\"></ng-content>\n </span>\n</span>\n", "import { Component, HostBinding, Input } from '@angular/core';\n\n@Component({\n selector: 'eui-icon-colored, span[euiIconColored], [euiIconColored]',\n template: `\n <span [class]=\"iconClass\">\n <span *ngFor=\"let pathNumber of paths\" class=\"path{{ pathNumber }}\"></span>\n </span>\n `,\n})\nexport class EuiIconColorComponent {\n public paths = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20];\n\n @HostBinding('class')\n public get cssClasses(): string {\n return this.getCssClasses();\n }\n\n @Input() iconClass;\n\n getCssClasses(): string {\n return ['eui-icon eui-icon-color', this.iconClass ? this.iconClass : ''].join(' ').trim();\n }\n}\n", "import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { EuiIconSvgComponent } from './eui-icon-svg.component';\nimport { EuiIconColorComponent } from './eui-icon-color.component';\nimport { EuiIconButtonComponent } from './eui-icon-button/eui-icon-button.component';\nimport { EuiIconButtonExpanderComponent } from './eui-icon-button-expander/eui-icon-button-expander.component';\nimport { EuiIconInputComponent } from './eui-icon-input/eui-icon-input.component';\n\nconst CMP = [\n EuiIconSvgComponent,\n EuiIconColorComponent,\n EuiIconButtonComponent,\n EuiIconButtonExpanderComponent,\n EuiIconInputComponent,\n];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [...CMP],\n exports: [...CMP],\n})\nexport class EuiIconModule {}\n"],
|
5
|
-
"mappings": ";AAAA,SACI,yBACA,WACA,OACA,aAEA,mBAIA,QACA,UACA,wBACG;AACP,SAAS,wBAAwB;AAEjC,SAAS,2BAA2B;;;;AA+B9B,IAAO,sBAAP,MAAO,qBAAmB;EAe5B,IACW,aAAU;AACjB,WAAO;;MAEH,KAAK,oBAAoB,cAAc,cAAc;MACr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AS,aAAAE,YAAW,eAAAC,cAAa,SAAAC,QAAO,UAAAC,SAAQ,gBAAAC,eAAiC,oBAAAC,mBAAkB,2BAAAC,gCAA+B;;AAQ5H,IAAO,iCAAP,MAAO,gCAA8B;EAN3C,cAAA;
|
4
|
+
"sourcesContent": ["import {\n ChangeDetectionStrategy,\n Component,\n Input,\n HostBinding,\n OnInit,\n ViewEncapsulation,\n OnChanges,\n SimpleChanges,\n AfterContentInit,\n Inject,\n Optional,\n booleanAttribute,\n} from '@angular/core';\nimport { EUI_CONFIG_TOKEN } from '@eui/core';\nimport { EuiConfig } from '@eui/base';\nimport { BaseStatesDirective } from '@eui/components/shared';\n\n@Component({\n selector: 'eui-icon-svg, span[euiIconSvg], i[euiIconSvg]',\n templateUrl: './eui-icon-svg.component.html',\n styleUrls: ['./styles/_index.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n hostDirectives: [\n {\n directive: BaseStatesDirective,\n inputs: [\n 'euiPrimary',\n 'euiSecondary',\n 'euiSuccess',\n 'euiInfo',\n 'euiWarning',\n 'euiDanger',\n 'euiAccent',\n 'euiVariant',\n\n 'euiSizeXS',\n 'euiSizeS',\n 'euiSizeM',\n 'euiSizeL',\n 'euiSizeXL',\n 'euiSizeVariant',\n ],\n },\n ],\n})\nexport class EuiIconSvgComponent implements AfterContentInit, OnChanges, OnInit {\n @HostBinding('attr.role') ariaRole = 'img';\n\n @Input() icon: string; // could be the form of \"icon:set\" to pass them both in a single input\n @Input() fillColor;\n @Input() set = 'eui';\n @Input() size: '2xs' | 'xs' | 's' | 'm' | 'l' | 'xl' | '2xl' | '3xl' | '4xl' | string = 'm';\n /** @deprecated will be removed in eUI18 as it is ignored by screen readers */\n @Input() ariaLabelledby: string;\n /** @deprecated will be removed in eUI18 as the host role attribute is announced */\n @Input() role: string;\n @Input() style = '';\n @Input() iconUrl: string;\n @Input() transform = '';\n\n @HostBinding('class')\n public get cssClasses(): string {\n return [\n // Always refer to the baseStatesDirective\n this.baseStatesDirective.getCssClasses('eui-icon-svg'),\n this.transform ? `eui-icon-svg--${this.transform}` : '',\n\n // own cmp state => reflected with the scss states\n this.euiStart ? 'eui-icon-svg--start' : '',\n this.euiEnd ? 'eui-icon-svg--end' : '',\n this.isInputIcon ? 'eui-icon-svg--input-icon': '',\n ]\n .join(' ')\n .trim();\n }\n\n @HostBinding('attr.aria-label')\n @Input('aria-label')\n public get ariaLabel(): string {\n return this._ariaLabel;\n }\n public set ariaLabel(value: string | null) {\n this._ariaLabel = value;\n }\n protected _ariaLabel = 'eUI Icon';\n\n public iconName: string;\n public assetsBaseUrl = 'assets';\n public iconStyle;\n\n @Input({ transform: booleanAttribute }) ariaHidden = true;\n @Input({ transform: booleanAttribute }) focusable = false;\n @Input({ transform: booleanAttribute }) isLoading = false;\n @Input({ transform: booleanAttribute }) isInputIcon = false;\n\n @Input({ transform: booleanAttribute }) euiStart = false;\n @Input({ transform: booleanAttribute }) euiEnd = false;\n\n constructor(\n @Optional() @Inject(EUI_CONFIG_TOKEN) private config: EuiConfig,\n public baseStatesDirective: BaseStatesDirective,\n ) {\n }\n\n ngOnInit(): void {\n const assetsBaseUrl = this.config?.appConfig?.global?.eui?.assetsBaseUrl;\n if (assetsBaseUrl) {\n this.assetsBaseUrl = this.config.appConfig.global.eui.assetsBaseUrl;\n }\n if (this.isLoading) {\n this.set = 'eui';\n this.icon = 'eui-radio-button-off';\n this.fillColor = 'transparent';\n }\n }\n\n ngOnChanges(c: SimpleChanges): void {\n if (c && c.set) {\n if (c.set.currentValue !== c.set.previousValue) {\n this._setIconAndSet();\n }\n }\n\n if (c && c.icon) {\n if (c.icon.currentValue !== c.icon.previousValue) {\n this._setIconAndSet();\n }\n }\n\n if (c && c.size) {\n if (c.size.currentValue !== c.size.previousValue) {\n this._setStyle();\n }\n }\n if (c && c.fillColor) {\n if (c.fillColor.currentValue !== c.fillColor.previousValue) {\n this._setStyle();\n }\n }\n\n if (c && c.size && this.baseStatesDirective.euiSizeVariant) {\n this.size = this.baseStatesDirective.euiSizeVariant;\n this._setStyle();\n }\n\n if (c && this.baseStatesDirective.euiSizeVariant) {\n this.size = this.baseStatesDirective.euiSizeVariant;\n this._setStyle();\n }\n }\n\n ngAfterContentInit(): void {\n this._setIconAndSet();\n this._setStyle();\n }\n\n private _setIconAndSet(): void {\n if (this.icon && this.icon.indexOf(':') > -1) {\n const iconSet = this.icon.split(':');\n this.icon = iconSet[0];\n this.set = iconSet[1];\n }\n\n if (!this.set || this.set === '') {\n this.set = 'eui';\n } else {\n if (this.set === 'sharp' || this.set === 'outline') {\n this.iconName = `${this.icon}-${this.set}`;\n } else {\n this.iconName = this.icon;\n }\n }\n }\n\n private _setStyle(): void {\n let fill = '';\n if (this.fillColor) {\n fill = `fill: var(--eui-c-${this.fillColor}); color: var(--eui-c-${this.fillColor});`;\n }\n const height = `height: var(--eui-is-${this.size});`;\n const width = `width: var(--eui-is-${this.size});`;\n this.iconStyle = `${fill} ${height} ${width}`;\n }\n}\n", "<ng-container *ngIf=\"icon && !iconUrl && !isLoading\">\n <ng-container *ngTemplateOutlet=\"default\"></ng-container>\n</ng-container>\n<ng-container *ngIf=\"iconUrl\">\n <ng-container *ngTemplateOutlet=\"custom\"></ng-container>\n</ng-container>\n<ng-container *ngIf=\"isLoading\">\n <ng-container *ngTemplateOutlet=\"loading\"></ng-container>\n</ng-container>\n\n<ng-template #default>\n <svg\n class=\"eui-sprite-{{icon}}\"\n [class.eui-icon-svg--loading]=\"isLoading\"\n [attr.aria-hidden]=\"ariaHidden\"\n [attr.aria-labelledby]=\"ariaLabelledby || null\"\n [attr.role]=\"role || 'img'\"\n [attr.focusable]=\"focusable\"\n attr.style=\"{{iconStyle}}\">\n <use [attr.href]=\"assetsBaseUrl + '/icons/sprites/' + set + '.svg#' + iconName\"></use>\n </svg>\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</ng-template>\n\n<ng-template #custom>\n <svg class=\"eui-icon-svg\"\n attr.style=\"{{iconStyle}} {{style}}\"\n [attr.aria-hidden]=\"ariaHidden\"\n [attr.aria-labelledby]=\"ariaLabelledby || null\"\n [attr.role]=\"role || 'img'\"\n [attr.focusable]=\"focusable\">\n <image [attr.href]=\"iconUrl\" [class]=\"'eui-icon-svg'\" attr.style=\"{{iconStyle}} {{style}}\"></image>\n </svg>\n</ng-template>\n\n<ng-template #loading>\n <eui-icon-svg [size]=\"size\" fillColor=\"transparent\" class=\"eui-icon-svg--loading\"></eui-icon-svg>\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</ng-template>\n\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>\n", "import { Component, HostBinding, Input, Output, EventEmitter, ViewEncapsulation, booleanAttribute } from '@angular/core';\n\n@Component({\n selector: 'eui-icon-button',\n templateUrl: './eui-icon-button.component.html',\n styleUrls: [ './eui-icon-button.component.scss' ],\n encapsulation: ViewEncapsulation.None,\n})\nexport class EuiIconButtonComponent {\n @HostBinding('class')\n get cssClasses(): string {\n return [\n 'eui-icon-button',\n this.hasFocusBorder ? 'eui-icon-button--has-focus': '',\n this.hasNoPadding ? 'eui-icon-button--has-no-padding': '',\n ]\n .join(' ')\n .trim();\n }\n @HostBinding('attr.tabindex') tabindex = -1;\n\n @Input() icon: string;\n @Input() fillColor: string;\n @Input() size: '2xs' | 'xs' | 's' | 'm' | 'l' | 'xl' | '2xl' | '3xl' | '4xl' = 'm';\n @Input() ariaLabel: string;\n\n @Input({ transform: booleanAttribute }) hasFocusBorder = false;\n @Input({ transform: booleanAttribute }) hasNoPadding = false;\n\n @Output() buttonClick = new EventEmitter<Event>();\n\n onClick(event: Event): void {\n this.buttonClick.emit(event);\n }\n}\n", "<button class=\"eui-icon-button__button\"\n type=\"button\"\n (keydown.enter)=\"onClick($event)\"\n (keydown.backspace)=\"onClick($event)\"\n (click)=\"onClick($event)\"\n [attr.aria-label]=\"ariaLabel\">\n <eui-icon-svg [icon]=\"icon\" [fillColor]=\"fillColor\" [size]=\"size\" class=\"eui-icon-button__button-icon\">\n <ng-content select=\"eui-badge\"></ng-content>\n </eui-icon-svg>\n</button>\n", "import { Component, HostBinding, Input, Output, EventEmitter, ViewEncapsulation, booleanAttribute, ChangeDetectionStrategy } from '@angular/core';\n\n@Component({\n selector: 'eui-icon-button-expander',\n templateUrl: './eui-icon-button-expander.component.html',\n styleUrls: [ './eui-icon-button-expander.component.scss' ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EuiIconButtonExpanderComponent {\n @HostBinding('class')\n get cssClasses(): string {\n return [\n 'eui-icon-button-expander',\n this.isDirectionForward ? 'eui-icon-button-expander--direction-forward': '',\n ].join(' ').trim();\n }\n // @HostBinding('attr.tabindex') tabindex = -1;\n\n @Input() fillColor: string;\n @Input() size: '2xs' | 'xs' | 's' | 'm' | 'l' | 'xl' | '2xl' | '3xl' | '4xl' = 'm';\n @Input() ariaLabel: string;\n\n @Input({ transform: booleanAttribute }) isExpanded = false;\n @Input({ transform: booleanAttribute }) isDirectionForward = false;\n // TODO handle disabled attr (see button implementation)\n @Input({ transform: booleanAttribute }) euiDisabled = false;\n\n @Output() buttonClick = new EventEmitter<Event>();\n\n onClick(event: Event): void {\n this.buttonClick.emit(event);\n }\n}\n", "<button\n type=\"button\"\n class=\"eui-icon-button-expander-toggle\"\n [class.eui-icon-button-expander-toggle--expanded]=\"isExpanded\"\n [attr.aria-label]=\"!isExpanded ? 'expanded' : 'collapsed'\"\n [attr.aria-expanded]=\"isExpanded\"\n aria-controls=\"expander-content\"\n (click)=\"onClick($event)\">\n @if (isDirectionForward) {\n <eui-icon-svg icon=\"eui-chevron-forward\" size=\"{{size}}\"></eui-icon-svg>\n } @else {\n <eui-icon-svg icon=\"eui-chevron-down\" size=\"{{size}}\"></eui-icon-svg>\n }\n</button>\n", "import { Component, HostBinding, Input, Output, EventEmitter, ViewEncapsulation, booleanAttribute } from '@angular/core';\n\n@Component({\n selector: 'eui-icon-input',\n templateUrl: './eui-icon-input.component.html',\n styleUrls: [ './eui-icon-input.component.scss' ],\n})\nexport class EuiIconInputComponent {\n @HostBinding('class')\n get cssClasses(): string {\n return [\n 'eui-icon-input',\n this.euiIconPositionStart && !this.euiIconPositionEnd ? 'eui-icon-input--start' : '',\n this.euiIconPositionEnd ? 'eui-icon-input--end' : '',\n ]\n .join(' ')\n .trim();\n }\n\n @Input({ transform: booleanAttribute }) euiIconPositionStart = true;\n @Input({ transform: booleanAttribute }) euiIconPositionEnd = false;\n}\n", "<span class=\"eui-icon-input-wrapper\">\n <span class=\"eui-icon-input__content\">\n <ng-content></ng-content>\n </span>\n <span class=\"eui-icon-input__icon\">\n <ng-content select=\"eui-icon-svg\"></ng-content>\n </span>\n</span>\n", "import { Component, HostBinding, Input } from '@angular/core';\n\n@Component({\n selector: 'eui-icon-colored, span[euiIconColored], [euiIconColored]',\n template: `\n <span [class]=\"iconClass\">\n <span *ngFor=\"let pathNumber of paths\" class=\"path{{ pathNumber }}\"></span>\n </span>\n `,\n})\nexport class EuiIconColorComponent {\n public paths = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20];\n\n @HostBinding('class')\n public get cssClasses(): string {\n return this.getCssClasses();\n }\n\n @Input() iconClass;\n\n getCssClasses(): string {\n return ['eui-icon eui-icon-color', this.iconClass ? this.iconClass : ''].join(' ').trim();\n }\n}\n", "import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { EuiIconSvgComponent } from './eui-icon-svg.component';\nimport { EuiIconColorComponent } from './eui-icon-color.component';\nimport { EuiIconButtonComponent } from './eui-icon-button/eui-icon-button.component';\nimport { EuiIconButtonExpanderComponent } from './eui-icon-button-expander/eui-icon-button-expander.component';\nimport { EuiIconInputComponent } from './eui-icon-input/eui-icon-input.component';\n\nconst CMP = [\n EuiIconSvgComponent,\n EuiIconColorComponent,\n EuiIconButtonComponent,\n EuiIconButtonExpanderComponent,\n EuiIconInputComponent,\n];\n\n@NgModule({\n imports: [CommonModule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Aa;;8GAAb,gBAAa,MAAA,CAAA,GAAA,QAAA,oBAAA,SAAA,CAAA;EAAA;;+GAAb,gBAAa,cAAA;MAZtB;MACA;MACA;MACA;MACA;IAAqB,GAAA,SAAA,CAIX,YAAY,GAAA,SAAA;MARtB;MACA;MACA;MACA;MACA;IAAqB,EAAA,CAAA;EAAA;;+GAQZ,gBAAa,SAAA,CAJZ,YAAY,EAAA,CAAA;EAAA;;oGAIb,eAAa,YAAA,CAAA;QALzB;SAAS;IACN,SAAS,CAAC,YAAY;IACtB,cAAc,CAAC,GAAG,GAAG;IACrB,SAAS,CAAC,GAAG,GAAG;GACnB;;",
|
6
6
|
"names": ["Component", "HostBinding", "Input", "ViewEncapsulation", "booleanAttribute", "i0", "Component", "HostBinding", "Input", "Output", "EventEmitter", "booleanAttribute", "ChangeDetectionStrategy", "i0", "Component", "HostBinding", "Input", "booleanAttribute", "i0", "Component", "HostBinding", "Input", "i0"]
|
7
7
|
}
|