@eui/components 19.1.1-snapshot-1740477848147 → 19.1.1-snapshot-1741264224607
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-clearable.directive.d.ts.map +1 -1
- package/directives/eui-loading.directive.d.ts.map +1 -1
- package/directives/eui-maxlength.directive.d.ts.map +1 -1
- package/directives/eui-scroll-handler.directive.d.ts.map +1 -1
- package/directives/eui-smooth-scroll.directive.d.ts.map +1 -1
- package/directives/eui-tooltip/eui-tooltip.directive.d.ts.map +1 -1
- package/docs/components/EuiAutocompleteComponent.html +1 -1
- package/docs/components/EuiAvatarBadgeComponent.html +52 -0
- package/docs/components/EuiAvatarComponent.html +109 -1
- package/docs/components/EuiAvatarIconComponent.html +16 -0
- package/docs/components/EuiAvatarImageComponent.html +42 -0
- package/docs/components/EuiAvatarListComponent.html +45 -0
- package/docs/components/EuiAvatarTextComponent.html +38 -0
- package/docs/components/EuiDisableContentComponent.html +167 -191
- package/docs/components/EuiDiscussionThreadComponent.html +77 -1
- package/docs/components/EuiDiscussionThreadItemComponent.html +118 -0
- package/docs/components/EuiIconToggleComponent.html +149 -0
- package/docs/components/EuiLanguageSelectorComponent.html +1 -5
- package/docs/components/EuiListComponent.html +130 -0
- package/docs/components/EuiListItemComponent.html +29 -0
- package/docs/components/EuiMessageBoxComponent.html +192 -2
- package/docs/components/EuiPageColumnComponent.html +0 -10
- package/docs/components/EuiPopoverComponent.html +119 -8
- package/docs/components/EuiTimebarComponent.html +87 -2
- package/docs/components/EuiWizardComponent.html +1 -1
- package/docs/dependencies.html +33 -33
- package/docs/directives/EuiPopoverArrowPositionDirective.html +29 -0
- package/docs/injectables/EuiMessageBoxService.html +49 -3
- package/docs/interfaces/EuiDiscussionThreadItem.html +61 -0
- package/docs/js/menu-wc.js +48 -50
- package/docs/js/menu-wc_es5.js +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/docs/miscellaneous/typealiases.html +6 -0
- package/docs/miscellaneous/variables.html +59 -5
- package/docs/modules/EuiAvatarModule.html +25 -4
- package/docs/modules/EuiDisableContentModule.html +22 -4
- package/docs/modules/EuiDiscussionThreadModule.html +16 -1
- package/docs/modules/EuiIconToggleModule.html +23 -11
- package/docs/modules/EuiListModule.html +17 -2
- package/docs/modules/EuiMessageBoxModule.html +13 -1
- package/docs/modules/EuiPopoverModule.html +16 -1
- package/docs/modules/EuiTimebarModule.html +23 -14
- package/eui-alert/eui-alert.component.d.ts.map +1 -1
- package/eui-autocomplete/eui-autocomplete-option/eui-autocomplete-option.component.d.ts.map +1 -1
- package/eui-autocomplete/eui-autocomplete.component.d.ts.map +1 -1
- package/eui-avatar/avatar-badge/avatar-badge.component.d.ts +37 -0
- package/eui-avatar/avatar-badge/avatar-badge.component.d.ts.map +1 -1
- package/eui-avatar/avatar-icon/avatar-icon.component.d.ts +18 -0
- package/eui-avatar/avatar-icon/avatar-icon.component.d.ts.map +1 -1
- package/eui-avatar/avatar-image/avatar-image.component.d.ts +26 -0
- package/eui-avatar/avatar-image/avatar-image.component.d.ts.map +1 -1
- package/eui-avatar/avatar-list/avatar-list.component.d.ts +30 -0
- package/eui-avatar/avatar-list/avatar-list.component.d.ts.map +1 -1
- package/eui-avatar/avatar-text/avatar-text.component.d.ts +35 -0
- package/eui-avatar/avatar-text/avatar-text.component.d.ts.map +1 -1
- package/eui-avatar/eui-avatar.component.d.ts +85 -1
- package/eui-avatar/eui-avatar.component.d.ts.map +1 -1
- package/eui-avatar/eui-avatar.module.d.ts +33 -10
- package/eui-avatar/eui-avatar.module.d.ts.map +1 -1
- package/eui-badge/eui-badge.component.d.ts.map +1 -1
- package/eui-block-content/eui-block-content.component.d.ts.map +1 -1
- package/eui-block-document/eui-block-document.component.d.ts.map +1 -1
- package/eui-button/eui-button.component.d.ts.map +1 -1
- package/eui-button-group/eui-button-group.component.d.ts.map +1 -1
- package/eui-button-v2/eui-button-v2.component.d.ts.map +1 -1
- package/eui-card/components/eui-card-header/eui-card-header.component.d.ts.map +1 -1
- package/eui-card/eui-card.component.d.ts.map +1 -1
- package/eui-chip/eui-chip.component.d.ts.map +1 -1
- package/eui-chip-list/eui-chip-list.component.d.ts.map +1 -1
- package/eui-dashboard-card/eui-dashboard-card.component.d.ts.map +1 -1
- package/eui-date-range-selector/eui-date-range-selector.component.d.ts.map +1 -1
- package/eui-datepicker/eui-datepicker.component.d.ts.map +1 -1
- package/eui-dialog/eui-dialog.component.d.ts.map +1 -1
- package/eui-disable-content/eui-disable-content.component.d.ts +80 -13
- package/eui-disable-content/eui-disable-content.component.d.ts.map +1 -1
- package/eui-discussion-thread/eui-discussion-thread-item.component.d.ts +65 -0
- package/eui-discussion-thread/eui-discussion-thread-item.component.d.ts.map +1 -1
- package/eui-discussion-thread/eui-discussion-thread.component.d.ts +51 -0
- package/eui-discussion-thread/eui-discussion-thread.component.d.ts.map +1 -1
- package/eui-discussion-thread/eui-discussion-thread.module.d.ts +19 -1
- package/eui-discussion-thread/eui-discussion-thread.module.d.ts.map +1 -1
- package/eui-discussion-thread/models/eui-discussion-thread-item.model.d.ts +45 -0
- package/eui-discussion-thread/models/eui-discussion-thread-item.model.d.ts.map +1 -1
- package/eui-dropdown/dropdown-item/eui-dropdown-item.component.d.ts.map +1 -1
- package/eui-dropdown/eui-dropdown.component.d.ts.map +1 -1
- package/eui-feedback-message/eui-feedback-message.component.d.ts.map +1 -1
- package/eui-fieldset/eui-fieldset.component.d.ts.map +1 -1
- package/eui-file-upload/eui-file-upload.component.d.ts.map +1 -1
- package/eui-file-upload/file-preview/file-preview.component.d.ts.map +1 -1
- package/eui-growl/eui-growl.component.d.ts.map +1 -1
- package/eui-icon/eui-icon-svg.component.d.ts.map +1 -1
- package/eui-icon-button/eui-icon-button.component.d.ts.map +1 -1
- package/eui-icon-button-expander/eui-icon-button-expander.component.d.ts.map +1 -1
- package/eui-icon-input/eui-icon-input.component.d.ts.map +1 -1
- package/eui-icon-toggle/eui-icon-toggle.component.d.ts +96 -1
- package/eui-icon-toggle/eui-icon-toggle.component.d.ts.map +1 -1
- package/eui-icon-toggle/eui-icon-toggle.module.d.ts +19 -4
- package/eui-icon-toggle/eui-icon-toggle.module.d.ts.map +1 -1
- package/eui-input-number/eui-input-number.component.d.ts.map +1 -1
- package/eui-label/eui-label.component.d.ts.map +1 -1
- package/eui-language-selector/language-selector.component.d.ts +4 -2
- package/eui-language-selector/language-selector.component.d.ts.map +1 -1
- package/eui-list/eui-list-item/eui-list-item.component.d.ts +34 -0
- package/eui-list/eui-list-item/eui-list-item.component.d.ts.map +1 -1
- package/eui-list/eui-list.component.d.ts +56 -0
- package/eui-list/eui-list.component.d.ts.map +1 -1
- package/eui-list/eui-list.module.d.ts +18 -1
- package/eui-list/eui-list.module.d.ts.map +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/eui-message-box/eui-message-box.component.d.ts +148 -2
- package/eui-message-box/eui-message-box.component.d.ts.map +1 -1
- package/eui-message-box/eui-message-box.module.d.ts +15 -1
- package/eui-message-box/eui-message-box.module.d.ts.map +1 -1
- package/eui-message-box/services/eui-message-box.service.d.ts +58 -3
- package/eui-message-box/services/eui-message-box.service.d.ts.map +1 -1
- package/eui-navbar/eui-navbar-item/eui-navbar-item.component.d.ts.map +1 -1
- package/eui-overlay/eui-overlay.component.d.ts.map +1 -1
- package/eui-page/components/eui-page-column/eui-page-column.component.d.ts.map +1 -1
- package/eui-page/components/eui-page-columns/eui-page-columns.component.d.ts.map +1 -1
- package/eui-page/components/eui-page-header/eui-page-header.component.d.ts.map +1 -1
- package/eui-paginator/eui-paginator.component.d.ts.map +1 -1
- package/eui-popover/directives/eui-popover-arrow-position.directive.d.ts +32 -0
- package/eui-popover/directives/eui-popover-arrow-position.directive.d.ts.map +1 -1
- package/eui-popover/eui-popover.component.d.ts +119 -7
- package/eui-popover/eui-popover.component.d.ts.map +1 -1
- package/eui-popover/eui-popover.module.d.ts +18 -1
- package/eui-popover/eui-popover.module.d.ts.map +1 -1
- package/eui-popover/models/eui-popover-position.model.d.ts +26 -0
- package/eui-popover/models/eui-popover-position.model.d.ts.map +1 -1
- package/eui-progress-circle/eui-progress-circle.component.d.ts.map +1 -1
- package/eui-select/eui-select-option.directive.d.ts.map +1 -1
- package/eui-select/eui-select.component.d.ts.map +1 -1
- package/eui-sidebar-menu/eui-sidebar-menu.component.d.ts.map +1 -1
- package/eui-skeleton/eui-skeleton.component.d.ts.map +1 -1
- package/eui-slide-toggle/eui-slide-toggle.component.d.ts.map +1 -1
- package/eui-table/eui-table.component.d.ts.map +1 -1
- package/eui-table/filter/eui-table-filter.component.d.ts.map +1 -1
- package/eui-table/selectable-header/eui-table-selectable-header.component.d.ts.map +1 -1
- package/eui-table/selectable-row/eui-table-selectable-row.component.d.ts.map +1 -1
- package/eui-table/sortable-col/eui-table-sortable-col.component.d.ts.map +1 -1
- package/eui-table-v2/eui-table-v2.component.d.ts.map +1 -1
- package/eui-table-v2/selectable-header/eui-table-v2-selectable-header.component.d.ts.map +1 -1
- package/eui-table-v2/selectable-row/eui-table-v2-selectable-row.component.d.ts.map +1 -1
- package/eui-table-v2/sortable-col/eui-table-v2-sortable-col.component.d.ts.map +1 -1
- package/eui-tabs/eui-tab/eui-tab.component.d.ts.map +1 -1
- package/eui-tabs/eui-tab-content/eui-tab-content.component.d.ts.map +1 -1
- package/eui-tabs/eui-tabs.component.d.ts.map +1 -1
- package/eui-textarea/auto-resize.directive.d.ts.map +1 -1
- package/eui-textarea/eui-textarea.component.d.ts.map +1 -1
- package/eui-timebar/eui-timebar-item.model.d.ts +20 -1
- package/eui-timebar/eui-timebar-item.model.d.ts.map +1 -1
- package/eui-timebar/eui-timebar.component.d.ts +83 -6
- package/eui-timebar/eui-timebar.component.d.ts.map +1 -1
- package/eui-timeline/eui-timeline-item.component.d.ts.map +1 -1
- package/eui-timeline/eui-timeline.component.d.ts.map +1 -1
- package/eui-timepicker/eui-timepicker.component.d.ts.map +1 -1
- package/eui-tree/eui-tree.component.d.ts.map +1 -1
- package/eui-tree-list/eui-tree-list-item.component.d.ts.map +1 -1
- package/eui-tree-list/eui-tree-list.component.d.ts.map +1 -1
- package/eui-tree-list/toolbar/toolbar.component.d.ts.map +1 -1
- package/eui-user-profile/user-profile-card/user-profile-card.component.d.ts.map +1 -1
- package/eui-user-profile/user-profile.component.d.ts.map +1 -1
- package/eui-wizard/eui-wizard-step.component.d.ts.map +1 -1
- package/eui-wizard/eui-wizard.component.d.ts +1 -0
- package/eui-wizard/eui-wizard.component.d.ts.map +1 -1
- package/externals/eui-editor/counters/eui-editor-counters.component.d.ts.map +1 -1
- package/externals/quill/quill-editor.component.d.ts.map +1 -1
- package/fesm2022/eui-components-directives.mjs +70 -70
- package/fesm2022/eui-components-eui-accordion.mjs +13 -13
- package/fesm2022/eui-components-eui-alert.mjs +10 -10
- package/fesm2022/eui-components-eui-autocomplete.mjs +15 -14
- package/fesm2022/eui-components-eui-autocomplete.mjs.map +1 -1
- package/fesm2022/eui-components-eui-avatar.mjs +286 -36
- package/fesm2022/eui-components-eui-avatar.mjs.map +1 -1
- package/fesm2022/eui-components-eui-badge.mjs +7 -7
- package/fesm2022/eui-components-eui-block-content.mjs +7 -7
- package/fesm2022/eui-components-eui-block-document.mjs +7 -7
- package/fesm2022/eui-components-eui-breadcrumb.mjs +13 -13
- package/fesm2022/eui-components-eui-button-group.mjs +7 -7
- package/fesm2022/eui-components-eui-button-v2.mjs +7 -7
- package/fesm2022/eui-components-eui-button.mjs +7 -7
- package/fesm2022/eui-components-eui-card.mjs +49 -49
- package/fesm2022/eui-components-eui-chip-group.mjs +7 -7
- package/fesm2022/eui-components-eui-chip-list.mjs +13 -13
- package/fesm2022/eui-components-eui-chip.mjs +7 -7
- package/fesm2022/eui-components-eui-dashboard-button.mjs +13 -13
- package/fesm2022/eui-components-eui-dashboard-button.mjs.map +1 -1
- package/fesm2022/eui-components-eui-dashboard-card.mjs +13 -13
- package/fesm2022/eui-components-eui-dashboard-card.mjs.map +1 -1
- package/fesm2022/eui-components-eui-date-range-selector.mjs +10 -10
- package/fesm2022/eui-components-eui-datepicker.mjs +19 -19
- package/fesm2022/eui-components-eui-dialog.mjs +19 -19
- package/fesm2022/eui-components-eui-dimmer.mjs +7 -7
- package/fesm2022/eui-components-eui-disable-content.mjs +113 -39
- package/fesm2022/eui-components-eui-disable-content.mjs.map +1 -1
- package/fesm2022/eui-components-eui-discussion-thread.mjs +113 -12
- package/fesm2022/eui-components-eui-discussion-thread.mjs.map +1 -1
- package/fesm2022/eui-components-eui-dropdown.mjs +20 -20
- package/fesm2022/eui-components-eui-feedback-message.mjs +8 -8
- package/fesm2022/eui-components-eui-feedback-message.mjs.map +1 -1
- package/fesm2022/eui-components-eui-fieldset.mjs +13 -13
- package/fesm2022/eui-components-eui-file-upload.mjs +19 -19
- package/fesm2022/eui-components-eui-growl.mjs +7 -7
- package/fesm2022/eui-components-eui-icon-button-expander.mjs +7 -7
- package/fesm2022/eui-components-eui-icon-button.mjs +7 -7
- package/fesm2022/eui-components-eui-icon-color.mjs +7 -7
- package/fesm2022/eui-components-eui-icon-input.mjs +7 -7
- package/fesm2022/eui-components-eui-icon-state.mjs +7 -7
- package/fesm2022/eui-components-eui-icon-toggle.mjs +106 -10
- package/fesm2022/eui-components-eui-icon-toggle.mjs.map +1 -1
- package/fesm2022/eui-components-eui-icon.mjs +7 -7
- package/fesm2022/eui-components-eui-input-checkbox.mjs +7 -7
- package/fesm2022/eui-components-eui-input-group.mjs +13 -13
- package/fesm2022/eui-components-eui-input-number.mjs +10 -10
- package/fesm2022/eui-components-eui-input-radio.mjs +7 -7
- package/fesm2022/eui-components-eui-input-text.mjs +7 -7
- package/fesm2022/eui-components-eui-label.mjs +8 -8
- package/fesm2022/eui-components-eui-label.mjs.map +1 -1
- package/fesm2022/eui-components-eui-language-selector.mjs +23 -12
- package/fesm2022/eui-components-eui-language-selector.mjs.map +1 -1
- package/fesm2022/eui-components-eui-list.mjs +116 -15
- package/fesm2022/eui-components-eui-list.mjs.map +1 -1
- package/fesm2022/eui-components-eui-menu.mjs +10 -10
- package/fesm2022/eui-components-eui-message-box.mjs +208 -20
- package/fesm2022/eui-components-eui-message-box.mjs.map +1 -1
- package/fesm2022/eui-components-eui-navbar.mjs +10 -10
- package/fesm2022/eui-components-eui-overlay.mjs +19 -19
- package/fesm2022/eui-components-eui-page.mjs +61 -62
- package/fesm2022/eui-components-eui-page.mjs.map +1 -1
- package/fesm2022/eui-components-eui-paginator.mjs +7 -7
- package/fesm2022/eui-components-eui-popover.mjs +194 -20
- package/fesm2022/eui-components-eui-popover.mjs.map +1 -1
- package/fesm2022/eui-components-eui-progress-bar.mjs +7 -7
- package/fesm2022/eui-components-eui-progress-circle.mjs +7 -7
- package/fesm2022/eui-components-eui-select.mjs +19 -19
- package/fesm2022/eui-components-eui-sidebar-menu.mjs +7 -7
- package/fesm2022/eui-components-eui-skeleton.mjs +7 -7
- package/fesm2022/eui-components-eui-slide-toggle.mjs +8 -8
- package/fesm2022/eui-components-eui-slide-toggle.mjs.map +1 -1
- package/fesm2022/eui-components-eui-split-button.mjs +7 -7
- package/fesm2022/eui-components-eui-table-v2.mjs +34 -34
- package/fesm2022/eui-components-eui-table.mjs +34 -34
- package/fesm2022/eui-components-eui-tabs.mjs +24 -24
- package/fesm2022/eui-components-eui-tabs.mjs.map +1 -1
- package/fesm2022/eui-components-eui-textarea.mjs +10 -10
- package/fesm2022/eui-components-eui-timebar.mjs +82 -10
- package/fesm2022/eui-components-eui-timebar.mjs.map +1 -1
- package/fesm2022/eui-components-eui-timeline.mjs +10 -10
- package/fesm2022/eui-components-eui-timepicker.mjs +7 -7
- package/fesm2022/eui-components-eui-tree-list.mjs +25 -25
- package/fesm2022/eui-components-eui-tree.mjs +21 -21
- package/fesm2022/eui-components-eui-user-profile.mjs +16 -16
- package/fesm2022/eui-components-eui-user-profile.mjs.map +1 -1
- package/fesm2022/eui-components-eui-wizard.mjs +16 -15
- package/fesm2022/eui-components-eui-wizard.mjs.map +1 -1
- package/fesm2022/eui-components-externals-charts.mjs +7 -7
- package/fesm2022/eui-components-externals-eui-editor.mjs +28 -28
- package/fesm2022/eui-components-externals-quill.mjs +10 -10
- package/fesm2022/eui-components-layout.mjs +183 -182
- package/fesm2022/eui-components-layout.mjs.map +1 -1
- package/fesm2022/eui-components-pipes.mjs +14 -14
- package/fesm2022/eui-components-shared.mjs +6 -6
- package/fesm2022/eui-components.mjs +4 -4
- package/layout/eui-app/eui-app-sidebar/sidebar-header-user-profile/sidebar-header-user-profile.component.d.ts.map +1 -1
- package/layout/eui-app/eui-app-sidebar/sidebar-menu/sidebar-menu.component.d.ts.map +1 -1
- package/layout/eui-app/eui-app-toolbar/toolbar.component.d.ts.map +1 -1
- package/layout/eui-app/eui-app-top-message/top-message.component.d.ts.map +1 -1
- package/layout/eui-app/eui-app.component.d.ts.map +1 -1
- package/layout/eui-footer/footer.component.d.ts.map +1 -1
- package/layout/eui-header/header-user-profile/header-user-profile.component.d.ts.map +1 -1
- package/layout/eui-notifications/eui-notification-item.component.d.ts.map +1 -1
- package/layout/eui-notifications/eui-notifications.component.d.ts.map +1 -1
- package/layout/eui-notifications-v2/eui-notification-item.component.d.ts.map +1 -1
- package/layout/eui-notifications-v2/eui-notifications.component.d.ts.map +1 -1
- package/layout/eui-toolbar/toolbar-items/toolbar-items.component.d.ts.map +1 -1
- package/layout/eui-toolbar/toolbar-navbar-item/toolbar-navbar-item.component.d.ts.map +1 -1
- package/layout/eui-toolbar/toolbar-search/toolbar-search.component.d.ts.map +1 -1
- package/layout/eui-toolbar/toolbar-selector/toolbar-selector.component.d.ts.map +1 -1
- package/layout/eui-toolbar/toolbar.component.d.ts.map +1 -1
- package/package.json +3 -3
- package/shared/base/base-states.directive.d.ts.map +1 -1
- package/shared/input.directive.d.ts.map +1 -1
@@ -1,23 +1,106 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
2
|
import { inject, booleanAttribute, Input, HostBinding, ChangeDetectionStrategy, Component, Optional, Inject, NgModule } from '@angular/core';
|
3
|
-
import * as i2 from '@angular/common';
|
4
3
|
import { CommonModule } from '@angular/common';
|
5
|
-
import { EuiIconModule } from '@eui/components/eui-icon';
|
6
4
|
import * as i1 from '@eui/components/shared';
|
7
5
|
import { BaseStatesDirective } from '@eui/components/shared';
|
6
|
+
import { EuiIconModule } from '@eui/components/eui-icon';
|
8
7
|
import { EUI_CONFIG_TOKEN } from '@eui/core';
|
9
8
|
|
9
|
+
/**
|
10
|
+
* @description
|
11
|
+
* Component for displaying avatars in the EUI design system.
|
12
|
+
*
|
13
|
+
* An avatar is a visual representation of a user or entity, and can contain
|
14
|
+
* an image, text, or an icon. This component serves as the container for
|
15
|
+
* various avatar sub-components, such as EuiAvatarImage, EuiAvatarText,
|
16
|
+
* EuiAvatarIcon, and EuiAvatarBadge.
|
17
|
+
*
|
18
|
+
* The component supports various customizations including colors (via state directives),
|
19
|
+
* sizes, shapes, and appearance modifiers.
|
20
|
+
*
|
21
|
+
* @example
|
22
|
+
* // Basic usage with an image:
|
23
|
+
* <eui-avatar>
|
24
|
+
* <eui-avatar-image imageUrl="path/to/image.jpg"></eui-avatar-image>
|
25
|
+
* </eui-avatar>
|
26
|
+
*
|
27
|
+
* @example
|
28
|
+
* // With text content (typically initials):
|
29
|
+
* <eui-avatar>
|
30
|
+
* <eui-avatar-text>NB</eui-avatar-text>
|
31
|
+
* </eui-avatar>
|
32
|
+
*
|
33
|
+
* @example
|
34
|
+
* // With an icon:
|
35
|
+
* <eui-avatar>
|
36
|
+
* <eui-avatar-icon>
|
37
|
+
* <eui-icon name="user"></eui-icon>
|
38
|
+
* </eui-avatar-icon>
|
39
|
+
* </eui-avatar>
|
40
|
+
*
|
41
|
+
* @example
|
42
|
+
* // With badge and custom properties:
|
43
|
+
* <eui-avatar euiPrimary euiSizeL isShapeSquare>
|
44
|
+
* <eui-avatar-image imageUrl="path/to/image.jpg"></eui-avatar-image>
|
45
|
+
* <eui-avatar-badge position="bottom">
|
46
|
+
* <span class="status-indicator"></span>
|
47
|
+
* </eui-avatar-badge>
|
48
|
+
* </eui-avatar>
|
49
|
+
*
|
50
|
+
* @example
|
51
|
+
* // Using the attribute selector:
|
52
|
+
* <div euiAvatar euiAccent isFlat>
|
53
|
+
* <eui-avatar-text>AB</eui-avatar-text>
|
54
|
+
* </div>
|
55
|
+
*/
|
10
56
|
class EuiAvatarComponent {
|
11
57
|
constructor() {
|
58
|
+
/**
|
59
|
+
* Data attribute for E2E testing
|
60
|
+
* @default 'eui-avatar'
|
61
|
+
*/
|
12
62
|
this.e2eAttr = 'eui-avatar';
|
63
|
+
/**
|
64
|
+
* ARIA role for accessibility
|
65
|
+
* @default 'status'
|
66
|
+
*/
|
13
67
|
this.role = 'status';
|
68
|
+
/**
|
69
|
+
* ARIA label for accessibility
|
70
|
+
* @default 'avatar'
|
71
|
+
*/
|
14
72
|
this.ariaLabel = 'avatar';
|
73
|
+
/**
|
74
|
+
* Whether the avatar should have a shadow effect
|
75
|
+
* @default false
|
76
|
+
*/
|
15
77
|
this.hasShadow = false;
|
78
|
+
/**
|
79
|
+
* Whether the avatar shape should be square instead of circular
|
80
|
+
* @default false
|
81
|
+
*/
|
16
82
|
this.isShapeSquare = false;
|
83
|
+
/**
|
84
|
+
* Whether the avatar should have a flat appearance
|
85
|
+
* @default false
|
86
|
+
*/
|
17
87
|
this.isFlat = false;
|
88
|
+
/**
|
89
|
+
* Whether the avatar should have no background color
|
90
|
+
* @default false
|
91
|
+
*/
|
18
92
|
this.hasNoBackground = false;
|
93
|
+
/**
|
94
|
+
* Reference to the BaseStatesDirective providing state-based styling
|
95
|
+
* @internal
|
96
|
+
*/
|
19
97
|
this.baseStatesDirective = inject(BaseStatesDirective);
|
20
98
|
}
|
99
|
+
/**
|
100
|
+
* Gets the CSS classes to be applied to the host element.
|
101
|
+
* Combines base classes with modifier classes.
|
102
|
+
* @returns {string} The combined CSS classes
|
103
|
+
*/
|
21
104
|
get cssClasses() {
|
22
105
|
return [
|
23
106
|
this.baseStatesDirective.getCssClasses('eui-avatar'),
|
@@ -26,12 +109,14 @@ class EuiAvatarComponent {
|
|
26
109
|
this.hasNoBackground ? 'eui-avatar--no-background' : '',
|
27
110
|
].join(' ').trim();
|
28
111
|
}
|
29
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1
|
30
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
112
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: EuiAvatarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
113
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.1", type: EuiAvatarComponent, isStandalone: true, selector: "div[euiAvatar], span[euiAvatar], eui-avatar", inputs: { e2eAttr: "e2eAttr", ariaLabel: ["aria-label", "ariaLabel"], hasShadow: ["hasShadow", "hasShadow", booleanAttribute], isShapeSquare: ["isShapeSquare", "isShapeSquare", booleanAttribute], isFlat: ["isFlat", "isFlat", booleanAttribute], hasNoBackground: ["hasNoBackground", "hasNoBackground", booleanAttribute] }, host: { properties: { "class": "this.cssClasses", "attr.data-e2e": "this.e2eAttr", "attr.role": "this.role", "attr.aria-label": "this.ariaLabel" } }, hostDirectives: [{ directive: i1.BaseStatesDirective, inputs: ["euiPrimary", "euiPrimary", "euiSecondary", "euiSecondary", "euiSuccess", "euiSuccess", "euiInfo", "euiInfo", "euiWarning", "euiWarning", "euiDanger", "euiDanger", "euiAccent", "euiAccent", "euiVariant", "euiVariant", "euiSizeXS", "euiSizeXS", "euiSizeS", "euiSizeS", "euiSizeL", "euiSizeL", "euiSizeXL", "euiSizeXL", "euiSize2XL", "euiSize2XL", "euiSizeVariant", "euiSizeVariant"] }], ngImport: i0, template: "@if(hasShadow) {\n <div class=\"eui-avatar-shadow\"></div>\n}\n\n<div class=\"eui-avatar-content\">\n <ng-content select=\"eui-avatar-icon\"></ng-content>\n <ng-content select=\"eui-avatar-text\"></ng-content>\n <ng-content select=\"eui-avatar-image\"></ng-content>\n <ng-content select=\"eui-avatar-badge\"></ng-content>\n</div>\n", styles: [".eui-19 :host.eui-avatar{--_size: 3rem;--_icon-size: 1.5rem;--_font-size: var(--eui-f-size-xl);--_font-weight: var(--eui-f-weight-bold);--_bg-color: var(--eui-c-neutral-bg-light);--_color: var(--eui-c-neutral-bg-light-contrast)}.eui-19 :host.eui-avatar--primary{--_bg-color: var(--eui-c-primary);--_color: var(--eui-c-primary-contrast)}.eui-19 :host.eui-avatar--secondary{--_bg-color: var(--eui-c-neutral-bg-light);--_color: var(--eui-c-neutral)}.eui-19 :host.eui-avatar--info{--_bg-color: var(--eui-c-info);--_color: var(--eui-c-info-contrast)}.eui-19 :host.eui-avatar--success{--_bg-color: var(--eui-c-success-dark);--_color: var(--eui-c-success-contrast)}.eui-19 :host.eui-avatar--warning{--_bg-color: var(--eui-c-warning);--_color: var(--eui-c-warning-contrast)}.eui-19 :host.eui-avatar--danger{--_bg-color: var(--eui-c-danger-dark);--_color: var(--eui-c-danger-contrast)}.eui-19 :host.eui-avatar--accent{--_bg-color: var(--eui-c-accent-lighter);--_color: var(--eui-c-accent-lighter-contrast)}.eui-19 :host.eui-avatar--flat{--_bg-color: var(--eui-c-neutral-bg-light);--_color: var(--eui-c-neutral)}.eui-19 :host.eui-avatar--flat.eui-avatar--primary{--_bg-color: var(--eui-c-primary-bg);--_color: var(--eui-c-primary)}.eui-19 :host.eui-avatar--flat.eui-avatar--secondary{--_bg-color: var(--eui-c-neutral-bg-light);--_color: var(--eui-c-neutral)}.eui-19 :host.eui-avatar--flat.eui-avatar--info{--_bg-color: var(--eui-c-info-bg);--_color: var(--eui-c-info)}.eui-19 :host.eui-avatar--flat.eui-avatar--success{--_bg-color: var(--eui-c-success-bg);--_color: var(--eui-c-success-dark)}.eui-19 :host.eui-avatar--flat.eui-avatar--warning{--_bg-color: var(--eui-c-warning-bg);--_color: var(--eui-c-warning)}.eui-19 :host.eui-avatar--flat.eui-avatar--danger{--_bg-color: var(--eui-c-danger-bg);--_color: var(--eui-c-danger-dark)}.eui-19 :host.eui-avatar--flat.eui-avatar--accent{--_bg-color: var(--eui-c-accent-bg);--_color: var(--eui-c-accent)}.eui-19 :host.eui-avatar--no-background{--_bg-color: transparent;--_color: var(--eui-c-primary)}.eui-19 :host.eui-avatar--no-background.eui-avatar--secondary{--_color: var(--eui-c-neutral)}.eui-19 :host.eui-avatar--no-background.eui-avatar--info{--_color: var(--eui-c-info)}.eui-19 :host.eui-avatar--no-background.eui-avatar--success{--_color: var(--eui-c-success-dark)}.eui-19 :host.eui-avatar--no-background.eui-avatar--warning{--_color: var(--eui-c-warning)}.eui-19 :host.eui-avatar--no-background.eui-avatar--danger{--_color: var(--eui-c-danger-dark)}.eui-19 :host.eui-avatar--no-background.eui-avatar--accent{--_color: var(--eui-c-accent)}.eui-19 :host.eui-avatar--size-xs{--_size: 1.5rem;--_font-size: var(--eui-f-size-xs);--_icon-size: var(--eui-is-xs)}.eui-19 :host.eui-avatar--size-s{--_size: 2.5rem;--_font-size: var(--eui-f-s);--_icon-size: var(--eui-is-s)}.eui-19 :host.eui-avatar--size-m{--_font-size: var(--eui-f-size-xl)}.eui-19 :host.eui-avatar--size-l{--_size: 4rem;--_font-size: var(--eui-f-size-2xl);--_icon-size: var(--eui-is-l)}.eui-19 :host.eui-avatar--size-xl{--_size: 5rem;--_font-size: var(--eui-f-size-2xl);--_icon-size: var(--eui-is-xl)}.eui-19 :host.eui-avatar--size-2xl{--_size: 6rem;--_font-size: var(--eui-f-size-3xl);--_icon-size: var(--eui-is-2xl)}.eui-19 :host.eui-avatar{display:inline-flex;position:relative}.eui-19 :host.eui-avatar .eui-avatar-content{display:inline-flex;align-items:center;justify-content:center;border-radius:var(--eui-br-max);background-color:var(--_bg-color);height:var(--_size);width:var(--_size);box-shadow:var(--eui-sh-1);position:relative}.eui-19 :host.eui-avatar .eui-avatar-shadow{position:absolute;right:-.35rem;height:var(--_size);width:var(--_size);border:.65rem solid var(--eui-c-neutral-lighter);border-radius:var(--eui-br-max)}.eui-19 :host.eui-avatar--shape-square .eui-avatar-content{border-radius:var(--eui-br-m)}.eui-19 :host.eui-avatar--shape-square ::ng-deep .eui-avatar-image img{border-radius:var(--eui-br-m)}.eui-19 :host.eui-avatar--no-background ::ng-deep .eui-avatar-image img{border-radius:0;background-color:var(--eui-c-white)}.eui-19 :host.eui-avatar--no-background .eui-avatar-content{box-shadow:var(--eui-sh-none);border-radius:var(--eui-br-none)}.eui-19 :host.eui-avatar--flat .eui-avatar-content{box-shadow:var(--eui-sh-none)}\n"], dependencies: [{ kind: "ngmodule", type: EuiIconModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
31
114
|
}
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1
|
115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: EuiAvatarComponent, decorators: [{
|
33
116
|
type: Component,
|
34
|
-
args: [{ selector: 'div[euiAvatar], span[euiAvatar], eui-avatar', changeDetection: ChangeDetectionStrategy.OnPush,
|
117
|
+
args: [{ selector: 'div[euiAvatar], span[euiAvatar], eui-avatar', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
118
|
+
EuiIconModule,
|
119
|
+
], hostDirectives: [
|
35
120
|
{
|
36
121
|
directive: BaseStatesDirective,
|
37
122
|
inputs: [
|
@@ -51,7 +136,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImpor
|
|
51
136
|
'euiSizeVariant',
|
52
137
|
],
|
53
138
|
},
|
54
|
-
], template: "<div
|
139
|
+
], template: "@if(hasShadow) {\n <div class=\"eui-avatar-shadow\"></div>\n}\n\n<div class=\"eui-avatar-content\">\n <ng-content select=\"eui-avatar-icon\"></ng-content>\n <ng-content select=\"eui-avatar-text\"></ng-content>\n <ng-content select=\"eui-avatar-image\"></ng-content>\n <ng-content select=\"eui-avatar-badge\"></ng-content>\n</div>\n", styles: [".eui-19 :host.eui-avatar{--_size: 3rem;--_icon-size: 1.5rem;--_font-size: var(--eui-f-size-xl);--_font-weight: var(--eui-f-weight-bold);--_bg-color: var(--eui-c-neutral-bg-light);--_color: var(--eui-c-neutral-bg-light-contrast)}.eui-19 :host.eui-avatar--primary{--_bg-color: var(--eui-c-primary);--_color: var(--eui-c-primary-contrast)}.eui-19 :host.eui-avatar--secondary{--_bg-color: var(--eui-c-neutral-bg-light);--_color: var(--eui-c-neutral)}.eui-19 :host.eui-avatar--info{--_bg-color: var(--eui-c-info);--_color: var(--eui-c-info-contrast)}.eui-19 :host.eui-avatar--success{--_bg-color: var(--eui-c-success-dark);--_color: var(--eui-c-success-contrast)}.eui-19 :host.eui-avatar--warning{--_bg-color: var(--eui-c-warning);--_color: var(--eui-c-warning-contrast)}.eui-19 :host.eui-avatar--danger{--_bg-color: var(--eui-c-danger-dark);--_color: var(--eui-c-danger-contrast)}.eui-19 :host.eui-avatar--accent{--_bg-color: var(--eui-c-accent-lighter);--_color: var(--eui-c-accent-lighter-contrast)}.eui-19 :host.eui-avatar--flat{--_bg-color: var(--eui-c-neutral-bg-light);--_color: var(--eui-c-neutral)}.eui-19 :host.eui-avatar--flat.eui-avatar--primary{--_bg-color: var(--eui-c-primary-bg);--_color: var(--eui-c-primary)}.eui-19 :host.eui-avatar--flat.eui-avatar--secondary{--_bg-color: var(--eui-c-neutral-bg-light);--_color: var(--eui-c-neutral)}.eui-19 :host.eui-avatar--flat.eui-avatar--info{--_bg-color: var(--eui-c-info-bg);--_color: var(--eui-c-info)}.eui-19 :host.eui-avatar--flat.eui-avatar--success{--_bg-color: var(--eui-c-success-bg);--_color: var(--eui-c-success-dark)}.eui-19 :host.eui-avatar--flat.eui-avatar--warning{--_bg-color: var(--eui-c-warning-bg);--_color: var(--eui-c-warning)}.eui-19 :host.eui-avatar--flat.eui-avatar--danger{--_bg-color: var(--eui-c-danger-bg);--_color: var(--eui-c-danger-dark)}.eui-19 :host.eui-avatar--flat.eui-avatar--accent{--_bg-color: var(--eui-c-accent-bg);--_color: var(--eui-c-accent)}.eui-19 :host.eui-avatar--no-background{--_bg-color: transparent;--_color: var(--eui-c-primary)}.eui-19 :host.eui-avatar--no-background.eui-avatar--secondary{--_color: var(--eui-c-neutral)}.eui-19 :host.eui-avatar--no-background.eui-avatar--info{--_color: var(--eui-c-info)}.eui-19 :host.eui-avatar--no-background.eui-avatar--success{--_color: var(--eui-c-success-dark)}.eui-19 :host.eui-avatar--no-background.eui-avatar--warning{--_color: var(--eui-c-warning)}.eui-19 :host.eui-avatar--no-background.eui-avatar--danger{--_color: var(--eui-c-danger-dark)}.eui-19 :host.eui-avatar--no-background.eui-avatar--accent{--_color: var(--eui-c-accent)}.eui-19 :host.eui-avatar--size-xs{--_size: 1.5rem;--_font-size: var(--eui-f-size-xs);--_icon-size: var(--eui-is-xs)}.eui-19 :host.eui-avatar--size-s{--_size: 2.5rem;--_font-size: var(--eui-f-s);--_icon-size: var(--eui-is-s)}.eui-19 :host.eui-avatar--size-m{--_font-size: var(--eui-f-size-xl)}.eui-19 :host.eui-avatar--size-l{--_size: 4rem;--_font-size: var(--eui-f-size-2xl);--_icon-size: var(--eui-is-l)}.eui-19 :host.eui-avatar--size-xl{--_size: 5rem;--_font-size: var(--eui-f-size-2xl);--_icon-size: var(--eui-is-xl)}.eui-19 :host.eui-avatar--size-2xl{--_size: 6rem;--_font-size: var(--eui-f-size-3xl);--_icon-size: var(--eui-is-2xl)}.eui-19 :host.eui-avatar{display:inline-flex;position:relative}.eui-19 :host.eui-avatar .eui-avatar-content{display:inline-flex;align-items:center;justify-content:center;border-radius:var(--eui-br-max);background-color:var(--_bg-color);height:var(--_size);width:var(--_size);box-shadow:var(--eui-sh-1);position:relative}.eui-19 :host.eui-avatar .eui-avatar-shadow{position:absolute;right:-.35rem;height:var(--_size);width:var(--_size);border:.65rem solid var(--eui-c-neutral-lighter);border-radius:var(--eui-br-max)}.eui-19 :host.eui-avatar--shape-square .eui-avatar-content{border-radius:var(--eui-br-m)}.eui-19 :host.eui-avatar--shape-square ::ng-deep .eui-avatar-image img{border-radius:var(--eui-br-m)}.eui-19 :host.eui-avatar--no-background ::ng-deep .eui-avatar-image img{border-radius:0;background-color:var(--eui-c-white)}.eui-19 :host.eui-avatar--no-background .eui-avatar-content{box-shadow:var(--eui-sh-none);border-radius:var(--eui-br-none)}.eui-19 :host.eui-avatar--flat .eui-avatar-content{box-shadow:var(--eui-sh-none)}\n"] }]
|
55
140
|
}], propDecorators: { cssClasses: [{
|
56
141
|
type: HostBinding,
|
57
142
|
args: ['class']
|
@@ -83,14 +168,44 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImpor
|
|
83
168
|
args: [{ transform: booleanAttribute }]
|
84
169
|
}] } });
|
85
170
|
|
171
|
+
/**
|
172
|
+
* @description
|
173
|
+
* Component for displaying a list of avatars.
|
174
|
+
* This component serves as a container that arranges multiple avatars in a visually
|
175
|
+
* coherent group, typically with slight overlapping to save space.
|
176
|
+
*
|
177
|
+
* The component uses content projection to allow placing multiple avatar components
|
178
|
+
* within it and applies appropriate styling via the 'eui-avatar-list' CSS class.
|
179
|
+
*
|
180
|
+
* @example
|
181
|
+
* // Basic usage with multiple avatars:
|
182
|
+
* <eui-avatar-list>
|
183
|
+
* <eui-avatar>
|
184
|
+
* <eui-avatar-image imageUrl="path/to/image1.jpg"></eui-avatar-image>
|
185
|
+
* </eui-avatar>
|
186
|
+
* <eui-avatar>
|
187
|
+
* <eui-avatar-image imageUrl="path/to/image2.jpg"></eui-avatar-image>
|
188
|
+
* </eui-avatar>
|
189
|
+
* <eui-avatar>
|
190
|
+
* <eui-avatar-icon>
|
191
|
+
* <eui-icon name="user"></eui-icon>
|
192
|
+
* </eui-avatar-icon>
|
193
|
+
* </eui-avatar>
|
194
|
+
* </eui-avatar-list>
|
195
|
+
*/
|
86
196
|
class EuiAvatarListComponent {
|
197
|
+
/**
|
198
|
+
* Binds the CSS class 'eui-avatar-list' to the host element.
|
199
|
+
* This class provides the styling necessary for arranging avatars in a list.
|
200
|
+
* @returns {string} The CSS class name
|
201
|
+
*/
|
87
202
|
get cssClasses() {
|
88
203
|
return 'eui-avatar-list';
|
89
204
|
}
|
90
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1
|
91
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1
|
205
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: EuiAvatarListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
206
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.1", type: EuiAvatarListComponent, isStandalone: false, selector: "eui-avatar-list", host: { properties: { "class": "this.cssClasses" } }, ngImport: i0, template: '<ng-content/>', isInline: true, styles: [":host.eui-avatar-list{display:inline-flex}:host.eui-avatar-list ::ng-deep .eui-avatar:not(:first-child){margin-left:-1rem}\n"] }); }
|
92
207
|
}
|
93
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1
|
208
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: EuiAvatarListComponent, decorators: [{
|
94
209
|
type: Component,
|
95
210
|
args: [{ selector: 'eui-avatar-list', template: '<ng-content/>', standalone: false, styles: [":host.eui-avatar-list{display:inline-flex}:host.eui-avatar-list ::ng-deep .eui-avatar:not(:first-child){margin-left:-1rem}\n"] }]
|
96
211
|
}], propDecorators: { cssClasses: [{
|
@@ -98,14 +213,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImpor
|
|
98
213
|
args: ['class']
|
99
214
|
}] } });
|
100
215
|
|
216
|
+
/**
|
217
|
+
* @description
|
218
|
+
* Component representing an avatar icon.
|
219
|
+
* This component serves as a container for icons within an avatar.
|
220
|
+
* It applies the appropriate styling and structure needed for avatar icons.
|
221
|
+
*
|
222
|
+
* The component simply wraps its content with the 'eui-avatar-icon' class styling.
|
223
|
+
* Used for displaying icons as avatar content instead of images or text.
|
224
|
+
*
|
225
|
+
* @example
|
226
|
+
* // Basic usage with an icon:
|
227
|
+
* <eui-avatar>
|
228
|
+
* <eui-avatar-icon>
|
229
|
+
* <eui-icon name="user"></eui-icon>
|
230
|
+
* </eui-avatar-icon>
|
231
|
+
* </eui-avatar>
|
232
|
+
*/
|
101
233
|
class EuiAvatarIconComponent {
|
102
234
|
constructor() {
|
235
|
+
/** @internal */
|
103
236
|
this.string = 'eui-avatar-icon';
|
104
237
|
}
|
105
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1
|
106
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1
|
238
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: EuiAvatarIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
239
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.1", type: EuiAvatarIconComponent, isStandalone: false, selector: "eui-avatar-icon", host: { properties: { "class": "this.string" } }, ngImport: i0, template: '<ng-content/>', isInline: true, styles: [":host.eui-avatar-icon{display:inline-flex;color:var(--_color)}:host.eui-avatar-icon ::ng-deep .eui-icon-svg svg{height:var(--_icon-size)!important;width:var(--_icon-size)!important;fill:var(--_color)!important;color:var(--_color)!important}\n"] }); }
|
107
240
|
}
|
108
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1
|
241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: EuiAvatarIconComponent, decorators: [{
|
109
242
|
type: Component,
|
110
243
|
args: [{ selector: 'eui-avatar-icon', template: '<ng-content/>', standalone: false, styles: [":host.eui-avatar-icon{display:inline-flex;color:var(--_color)}:host.eui-avatar-icon ::ng-deep .eui-icon-svg svg{height:var(--_icon-size)!important;width:var(--_icon-size)!important;fill:var(--_color)!important;color:var(--_color)!important}\n"] }]
|
111
244
|
}], propDecorators: { string: [{
|
@@ -113,14 +246,49 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImpor
|
|
113
246
|
args: ['class']
|
114
247
|
}] } });
|
115
248
|
|
249
|
+
/**
|
250
|
+
* @description
|
251
|
+
* Component for displaying text content within an avatar.
|
252
|
+
* This component serves as a container for text that appears inside an avatar,
|
253
|
+
* such as initials or short text identifiers.
|
254
|
+
*
|
255
|
+
* The component applies the 'eui-avatar-text' class to provide appropriate styling
|
256
|
+
* for text displayed within an avatar context. It uses content projection to allow
|
257
|
+
* any text content to be displayed inside.
|
258
|
+
*
|
259
|
+
* @example
|
260
|
+
* // Basic usage with initials:
|
261
|
+
* <eui-avatar>
|
262
|
+
* <eui-avatar-text>JD</eui-avatar-text>
|
263
|
+
* </eui-avatar>
|
264
|
+
*
|
265
|
+
* @example
|
266
|
+
* // With a single character:
|
267
|
+
* <eui-avatar>
|
268
|
+
* <eui-avatar-text>A</eui-avatar-text>
|
269
|
+
* </eui-avatar>
|
270
|
+
*
|
271
|
+
* @example
|
272
|
+
* // Used with other avatar components:
|
273
|
+
* <eui-avatar>
|
274
|
+
* <eui-avatar-text>BN</eui-avatar-text>
|
275
|
+
* <eui-avatar-badge position="bottom">
|
276
|
+
* <span class="status-indicator"></span>
|
277
|
+
* </eui-avatar-badge>
|
278
|
+
* </eui-avatar>
|
279
|
+
*/
|
116
280
|
class EuiAvatarTextComponent {
|
117
281
|
constructor() {
|
282
|
+
/**
|
283
|
+
* Binds the CSS class 'eui-avatar-text' to the host element.
|
284
|
+
* This class provides the styling necessary for text content within an avatar.
|
285
|
+
*/
|
118
286
|
this.string = 'eui-avatar-text';
|
119
287
|
}
|
120
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1
|
121
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1
|
288
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: EuiAvatarTextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
289
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.1", type: EuiAvatarTextComponent, isStandalone: false, selector: "eui-avatar-text", host: { properties: { "class": "this.string" } }, ngImport: i0, template: '<ng-content/>', isInline: true, styles: [":host.eui-avatar-text{color:var(--_color);font-weight:var(--_font-weight);font-size:var(--_font-size)}\n"] }); }
|
122
290
|
}
|
123
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1
|
291
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: EuiAvatarTextComponent, decorators: [{
|
124
292
|
type: Component,
|
125
293
|
args: [{ selector: 'eui-avatar-text', template: '<ng-content/>', standalone: false, styles: [":host.eui-avatar-text{color:var(--_color);font-weight:var(--_font-weight);font-size:var(--_font-size)}\n"] }]
|
126
294
|
}], propDecorators: { string: [{
|
@@ -128,12 +296,34 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImpor
|
|
128
296
|
args: ['class']
|
129
297
|
}] } });
|
130
298
|
|
299
|
+
/**
|
300
|
+
* @description
|
301
|
+
* Component representing an avatar image.
|
302
|
+
* Displays an image for an avatar with fallback to a default image when none is provided.
|
303
|
+
* Uses the application's configured assets base URL for the default image path.
|
304
|
+
*
|
305
|
+
* @example
|
306
|
+
* <eui-avatar-image imageUrl="{{path/to/image.jpg}}"></eui-avatar-image>
|
307
|
+
*
|
308
|
+
*/
|
131
309
|
class EuiAvatarImageComponent {
|
310
|
+
/**
|
311
|
+
* @param {EuiConfig} config - Optional configuration object containing application settings
|
312
|
+
*/
|
132
313
|
constructor(config) {
|
133
314
|
this.config = config;
|
315
|
+
/** CSS class applied to the host element */
|
134
316
|
this.string = 'eui-avatar-image';
|
317
|
+
/**
|
318
|
+
* The final image URL to be used in the template.
|
319
|
+
* This will be either the provided imageUrl or a default image URL.
|
320
|
+
*/
|
135
321
|
this.imageUrlGenerated = 'assets';
|
136
322
|
}
|
323
|
+
/**
|
324
|
+
* Initializes the component by setting the image URL.
|
325
|
+
* Uses the provided imageUrl if available, otherwise falls back to a default avatar image.
|
326
|
+
*/
|
137
327
|
ngOnInit() {
|
138
328
|
let assetsBaseUrl = this.config?.appConfig?.global?.eui?.assetsBaseUrl;
|
139
329
|
if (!assetsBaseUrl) {
|
@@ -146,10 +336,10 @@ class EuiAvatarImageComponent {
|
|
146
336
|
this.imageUrlGenerated = this.imageUrl;
|
147
337
|
}
|
148
338
|
}
|
149
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1
|
150
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1
|
339
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: EuiAvatarImageComponent, deps: [{ token: EUI_CONFIG_TOKEN, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
340
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.1", type: EuiAvatarImageComponent, isStandalone: false, selector: "eui-avatar-image", inputs: { imageUrl: "imageUrl" }, host: { properties: { "class": "this.string" } }, ngImport: i0, template: "@if (imageUrlGenerated) {\n <img [src]=\"imageUrlGenerated\" alt=\"Avatar\"/>\n} @else {\n <ng-content></ng-content>\n}\n", styles: [":host.eui-avatar-image{background-size:cover;height:100%;width:100%}:host.eui-avatar-image img{border-radius:var(--eui-br-max);height:100%;width:100%}\n"] }); }
|
151
341
|
}
|
152
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1
|
342
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: EuiAvatarImageComponent, decorators: [{
|
153
343
|
type: Component,
|
154
344
|
args: [{ selector: 'eui-avatar-image', standalone: false, template: "@if (imageUrlGenerated) {\n <img [src]=\"imageUrlGenerated\" alt=\"Avatar\"/>\n} @else {\n <ng-content></ng-content>\n}\n", styles: [":host.eui-avatar-image{background-size:cover;height:100%;width:100%}:host.eui-avatar-image img{border-radius:var(--eui-br-max);height:100%;width:100%}\n"] }]
|
155
345
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
@@ -164,20 +354,57 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImpor
|
|
164
354
|
type: Input
|
165
355
|
}] } });
|
166
356
|
|
357
|
+
/**
|
358
|
+
* Component representing an avatar badge.
|
359
|
+
* This badge can be positioned at the top or bottom of the avatar and is used
|
360
|
+
* to display additional information or status indicators.
|
361
|
+
*
|
362
|
+
* The component uses content projection to allow any content to be displayed inside the badge.
|
363
|
+
*
|
364
|
+
* @example
|
365
|
+
* // Basic usage with a status indicator:
|
366
|
+
* <eui-avatar>
|
367
|
+
* <eui-avatar-image imageUrl="path/to/image.jpg"></eui-avatar-image>
|
368
|
+
* <eui-avatar-badge>
|
369
|
+
* <span class="status-indicator"></span>
|
370
|
+
* </eui-avatar-badge>
|
371
|
+
* </eui-avatar>
|
372
|
+
*
|
373
|
+
* @example
|
374
|
+
* // With position set to bottom:
|
375
|
+
* <eui-avatar>
|
376
|
+
* <eui-avatar-icon>
|
377
|
+
* <eui-icon name="user"></eui-icon>
|
378
|
+
* </eui-avatar-icon>
|
379
|
+
* <eui-avatar-badge position="bottom">
|
380
|
+
* <span class="notification">3</span>
|
381
|
+
* </eui-avatar-badge>
|
382
|
+
* </eui-avatar>
|
383
|
+
*/
|
167
384
|
class EuiAvatarBadgeComponent {
|
168
385
|
constructor() {
|
386
|
+
/**
|
387
|
+
* The position of the badge relative to the avatar.
|
388
|
+
* Can be either 'top' or 'bottom'.
|
389
|
+
* @default 'top'
|
390
|
+
*/
|
169
391
|
this.position = 'top';
|
170
392
|
}
|
393
|
+
/**
|
394
|
+
* Gets the CSS classes to be applied to the host element.
|
395
|
+
* Combines the base class with a modifier class based on the position.
|
396
|
+
* @returns {string} The combined CSS classes.
|
397
|
+
*/
|
171
398
|
get cssClasses() {
|
172
399
|
return [
|
173
400
|
'eui-avatar-badge',
|
174
401
|
`eui-avatar-badge--${this.position}`,
|
175
402
|
].join(' ').trim();
|
176
403
|
}
|
177
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1
|
178
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1
|
404
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: EuiAvatarBadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
405
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.1", type: EuiAvatarBadgeComponent, isStandalone: false, selector: "eui-avatar-badge", inputs: { position: "position" }, host: { properties: { "class": "this.cssClasses" } }, ngImport: i0, template: '<ng-content/>', isInline: true, styles: [":host.eui-avatar-badge{position:absolute;left:70%}:host.eui-avatar-badge--top{top:0%}:host.eui-avatar-badge--bottom{top:60%}:host.eui-avatar-badge ::ng-deep .eui-badge{border-color:var(--eui-c-white)}\n"] }); }
|
179
406
|
}
|
180
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1
|
407
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: EuiAvatarBadgeComponent, decorators: [{
|
181
408
|
type: Component,
|
182
409
|
args: [{ selector: 'eui-avatar-badge', template: '<ng-content/>', standalone: false, styles: [":host.eui-avatar-badge{position:absolute;left:70%}:host.eui-avatar-badge--top{top:0%}:host.eui-avatar-badge--bottom{top:60%}:host.eui-avatar-badge ::ng-deep .eui-badge{border-color:var(--eui-c-white)}\n"] }]
|
183
410
|
}], propDecorators: { cssClasses: [{
|
@@ -188,41 +415,64 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImpor
|
|
188
415
|
}] } });
|
189
416
|
|
190
417
|
const COMPONENTS = [
|
191
|
-
EuiAvatarComponent,
|
192
418
|
EuiAvatarIconComponent,
|
193
419
|
EuiAvatarTextComponent,
|
194
420
|
EuiAvatarImageComponent,
|
195
421
|
EuiAvatarBadgeComponent,
|
196
422
|
EuiAvatarListComponent,
|
197
423
|
];
|
424
|
+
/**
|
425
|
+
* @description
|
426
|
+
* Provides the complete avatar component system for the EUI design system.
|
427
|
+
*
|
428
|
+
* This module exports all avatar-related components and bundles them together to provide
|
429
|
+
* a cohesive API for avatar functionality. The module includes components for displaying
|
430
|
+
* avatars with various content types (images, text, or icons), badges, and avatar lists.
|
431
|
+
*
|
432
|
+
* @example
|
433
|
+
* import { EuiAvatarModule } from '@eui/components/eui-avatar';
|
434
|
+
*
|
435
|
+
* @NgModule({
|
436
|
+
* imports: [
|
437
|
+
* EuiAvatarModule,
|
438
|
+
* ],
|
439
|
+
* })
|
440
|
+
* export class MyFeatureModule {}
|
441
|
+
*
|
442
|
+
* @see EuiAvatarComponent
|
443
|
+
* @see EuiAvatarImageComponent
|
444
|
+
* @see EuiAvatarTextComponent
|
445
|
+
* @see EuiAvatarIconComponent
|
446
|
+
* @see EuiAvatarBadgeComponent
|
447
|
+
* @see EuiAvatarListComponent
|
448
|
+
*/
|
198
449
|
class EuiAvatarModule {
|
199
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1
|
200
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1
|
201
|
-
EuiAvatarIconComponent,
|
450
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: EuiAvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
451
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.1", ngImport: i0, type: EuiAvatarModule, declarations: [EuiAvatarIconComponent,
|
202
452
|
EuiAvatarTextComponent,
|
203
453
|
EuiAvatarImageComponent,
|
204
454
|
EuiAvatarBadgeComponent,
|
205
455
|
EuiAvatarListComponent], imports: [CommonModule,
|
206
|
-
|
207
|
-
BaseStatesDirective], exports: [EuiAvatarComponent,
|
208
|
-
EuiAvatarIconComponent,
|
456
|
+
EuiAvatarComponent], exports: [EuiAvatarIconComponent,
|
209
457
|
EuiAvatarTextComponent,
|
210
458
|
EuiAvatarImageComponent,
|
211
459
|
EuiAvatarBadgeComponent,
|
212
|
-
EuiAvatarListComponent] }); }
|
213
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1
|
214
|
-
|
460
|
+
EuiAvatarListComponent, EuiAvatarComponent] }); }
|
461
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: EuiAvatarModule, imports: [CommonModule,
|
462
|
+
EuiAvatarComponent] }); }
|
215
463
|
}
|
216
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1
|
464
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: EuiAvatarModule, decorators: [{
|
217
465
|
type: NgModule,
|
218
466
|
args: [{
|
219
467
|
imports: [
|
220
468
|
CommonModule,
|
221
|
-
|
222
|
-
BaseStatesDirective,
|
469
|
+
EuiAvatarComponent,
|
223
470
|
],
|
224
471
|
declarations: [...COMPONENTS],
|
225
|
-
exports: [
|
472
|
+
exports: [
|
473
|
+
...COMPONENTS,
|
474
|
+
EuiAvatarComponent,
|
475
|
+
],
|
226
476
|
}]
|
227
477
|
}] });
|
228
478
|
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"eui-components-eui-avatar.mjs","sources":["../../eui-avatar/eui-avatar.component.ts","../../eui-avatar/eui-avatar.component.html","../../eui-avatar/avatar-list/avatar-list.component.ts","../../eui-avatar/avatar-icon/avatar-icon.component.ts","../../eui-avatar/avatar-text/avatar-text.component.ts","../../eui-avatar/avatar-image/avatar-image.component.ts","../../eui-avatar/avatar-image/avatar-image.component.html","../../eui-avatar/avatar-badge/avatar-badge.component.ts","../../eui-avatar/eui-avatar.module.ts","../../eui-avatar/eui-components-eui-avatar.ts"],"sourcesContent":["import { Component, HostBinding, ChangeDetectionStrategy, Input, booleanAttribute, inject } from '@angular/core';\nimport { BaseStatesDirective } from '@eui/components/shared';\n\n@Component({\n selector: 'div[euiAvatar], span[euiAvatar], eui-avatar',\n templateUrl: './eui-avatar.component.html',\n styleUrl: './styles/_index.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false,\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 'euiSizeL',\n 'euiSizeXL',\n 'euiSize2XL',\n 'euiSizeVariant',\n ],\n },\n ],\n})\nexport class EuiAvatarComponent {\n @HostBinding('class')\n public get cssClasses(): string {\n return [\n this.baseStatesDirective.getCssClasses('eui-avatar'),\n this.isShapeSquare ? 'eui-avatar--shape-square' : '',\n this.isFlat ? 'eui-avatar--flat eui--basic' : '',\n this.hasNoBackground ? 'eui-avatar--no-background' : '',\n ].join(' ').trim();\n }\n\n @HostBinding('attr.data-e2e') @Input() e2eAttr = 'eui-avatar';\n @HostBinding('attr.role') role = 'status';\n @HostBinding('attr.aria-label') @Input('aria-label') ariaLabel: string | null = 'avatar';\n\n @Input({ transform: booleanAttribute }) hasShadow = false;\n @Input({ transform: booleanAttribute }) isShapeSquare = false;\n @Input({ transform: booleanAttribute }) isFlat = false;\n @Input({ transform: booleanAttribute }) hasNoBackground = false;\n\n protected baseStatesDirective = inject(BaseStatesDirective);\n}\n","<div *ngIf=\"hasShadow\" class=\"eui-avatar-shadow\"></div>\n\n<div class=\"eui-avatar-content\">\n <ng-content select=\"eui-avatar-icon\"></ng-content>\n <ng-content select=\"eui-avatar-text\"></ng-content>\n <ng-content select=\"eui-avatar-image\"></ng-content>\n <ng-content select=\"eui-avatar-badge\"></ng-content>\n</div>\n","import { Component, HostBinding } from '@angular/core';\n\n@Component({\n selector: 'eui-avatar-list',\n template: '<ng-content/>',\n styleUrl: './avatar-list.scss',\n standalone: false,\n})\nexport class EuiAvatarListComponent {\n @HostBinding('class')\n public get cssClasses(): string {\n return 'eui-avatar-list';\n }\n}\n","import { Component, HostBinding } from '@angular/core';\n\n@Component({\n selector: 'eui-avatar-icon',\n template: '<ng-content/>',\n styleUrl: './avatar-icon.scss',\n standalone: false,\n})\nexport class EuiAvatarIconComponent {\n @HostBinding('class') string = 'eui-avatar-icon';\n}\n","import { Component, HostBinding } from '@angular/core';\n\n@Component({\n selector: 'eui-avatar-text',\n template: '<ng-content/>',\n styleUrl: './avatar-text.scss',\n standalone: false,\n\n})\nexport class EuiAvatarTextComponent {\n @HostBinding('class') string = 'eui-avatar-text';\n}\n","import { Component, HostBinding, Inject, Input, OnInit, Optional } from '@angular/core';\nimport { EuiConfig } from '@eui/core';\nimport { EUI_CONFIG_TOKEN } from '@eui/core';\n\n@Component({\n selector: 'eui-avatar-image',\n templateUrl: './avatar-image.component.html',\n styleUrl: './avatar-image.scss',\n standalone: false,\n})\nexport class EuiAvatarImageComponent implements OnInit {\n @HostBinding('class') string = 'eui-avatar-image';\n\n @Input() imageUrl;\n\n public imageUrlGenerated = 'assets';\n\n constructor(\n @Optional() @Inject(EUI_CONFIG_TOKEN) private config: EuiConfig,\n ) {\n }\n\n ngOnInit(): void {\n let assetsBaseUrl = this.config?.appConfig?.global?.eui?.assetsBaseUrl;\n if (!assetsBaseUrl) {\n assetsBaseUrl = 'assets';\n }\n\n if (!this.imageUrl) {\n this.imageUrlGenerated = `${assetsBaseUrl}/images/common/ion-avatar.svg`;\n } else {\n this.imageUrlGenerated = this.imageUrl;\n }\n }\n}\n","@if (imageUrlGenerated) {\n <img [src]=\"imageUrlGenerated\" alt=\"Avatar\"/>\n} @else {\n <ng-content></ng-content>\n}\n","import { Component, HostBinding, Input } from '@angular/core';\n\n@Component({\n selector: 'eui-avatar-badge',\n template: '<ng-content/>',\n styleUrl: './avatar-badge.scss',\n standalone: false,\n})\nexport class EuiAvatarBadgeComponent {\n @HostBinding('class')\n public get cssClasses(): string {\n return [\n 'eui-avatar-badge',\n `eui-avatar-badge--${this.position}`,\n ].join(' ').trim();\n }\n\n @Input() position: 'top' | 'bottom' = 'top';\n}\n","import { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\nimport { EuiIconModule } from '@eui/components/eui-icon';\nimport { BaseStatesDirective } from '@eui/components/shared';\n\nimport { EuiAvatarComponent } from './eui-avatar.component';\nimport { EuiAvatarListComponent } from './avatar-list/avatar-list.component';\nimport { EuiAvatarIconComponent } from './avatar-icon/avatar-icon.component';\nimport { EuiAvatarTextComponent } from './avatar-text/avatar-text.component';\nimport { EuiAvatarImageComponent } from './avatar-image/avatar-image.component';\nimport { EuiAvatarBadgeComponent } from './avatar-badge/avatar-badge.component';\n\nconst COMPONENTS = [\n EuiAvatarComponent,\n EuiAvatarIconComponent,\n EuiAvatarTextComponent,\n EuiAvatarImageComponent,\n EuiAvatarBadgeComponent,\n EuiAvatarListComponent,\n];\n\n@NgModule({\n imports: [\n CommonModule,\n EuiIconModule,\n BaseStatesDirective,\n ],\n declarations: [...COMPONENTS],\n exports: [...COMPONENTS],\n})\nexport class EuiAvatarModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAgCa,kBAAkB,CAAA;AA7B/B,IAAA,WAAA,GAAA;QAwC2C,IAAO,CAAA,OAAA,GAAG,YAAY;QACnC,IAAI,CAAA,IAAA,GAAG,QAAQ;QACY,IAAS,CAAA,SAAA,GAAkB,QAAQ;QAEhD,IAAS,CAAA,SAAA,GAAG,KAAK;QACjB,IAAa,CAAA,aAAA,GAAG,KAAK;QACrB,IAAM,CAAA,MAAA,GAAG,KAAK;QACd,IAAe,CAAA,eAAA,GAAG,KAAK;AAErD,QAAA,IAAA,CAAA,mBAAmB,GAAG,MAAM,CAAC,mBAAmB,CAAC;AAC9D;AApBG,IAAA,IACW,UAAU,GAAA;QACjB,OAAO;AACH,YAAA,IAAI,CAAC,mBAAmB,CAAC,aAAa,CAAC,YAAY,CAAC;YACpD,IAAI,CAAC,aAAa,GAAG,0BAA0B,GAAG,EAAE;YACpD,IAAI,CAAC,MAAM,GAAG,6BAA6B,GAAG,EAAE;YAChD,IAAI,CAAC,eAAe,GAAG,2BAA2B,GAAG,EAAE;AAC1D,SAAA,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;;8GARb,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAlB,kBAAkB,EAAA,YAAA,EAAA,KAAA,EAAA,QAAA,EAAA,6CAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,SAAA,EAAA,SAAA,EAAA,CAAA,YAAA,EAAA,WAAA,CAAA,EAAA,SAAA,EAAA,CAAA,WAAA,EAAA,WAAA,EAeP,gBAAgB,CAChB,EAAA,aAAA,EAAA,CAAA,eAAA,EAAA,eAAA,EAAA,gBAA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AAU,CAAC;AAC3B,iBAAA;;;AC9BD;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"eui-components-eui-avatar.mjs","sources":["../../eui-avatar/eui-avatar.component.ts","../../eui-avatar/eui-avatar.component.html","../../eui-avatar/avatar-list/avatar-list.component.ts","../../eui-avatar/avatar-icon/avatar-icon.component.ts","../../eui-avatar/avatar-text/avatar-text.component.ts","../../eui-avatar/avatar-image/avatar-image.component.ts","../../eui-avatar/avatar-image/avatar-image.component.html","../../eui-avatar/avatar-badge/avatar-badge.component.ts","../../eui-avatar/eui-avatar.module.ts","../../eui-avatar/eui-components-eui-avatar.ts"],"sourcesContent":["import { Component, HostBinding, ChangeDetectionStrategy, Input, booleanAttribute, inject } from '@angular/core';\nimport { BaseStatesDirective } from '@eui/components/shared';\nimport { EuiIconModule } from '@eui/components/eui-icon';\n\n/**\n * @description\n * Component for displaying avatars in the EUI design system.\n *\n * An avatar is a visual representation of a user or entity, and can contain\n * an image, text, or an icon. This component serves as the container for\n * various avatar sub-components, such as EuiAvatarImage, EuiAvatarText,\n * EuiAvatarIcon, and EuiAvatarBadge.\n *\n * The component supports various customizations including colors (via state directives),\n * sizes, shapes, and appearance modifiers.\n *\n * @example\n * // Basic usage with an image:\n * <eui-avatar>\n * <eui-avatar-image imageUrl=\"path/to/image.jpg\"></eui-avatar-image>\n * </eui-avatar>\n *\n * @example\n * // With text content (typically initials):\n * <eui-avatar>\n * <eui-avatar-text>NB</eui-avatar-text>\n * </eui-avatar>\n *\n * @example\n * // With an icon:\n * <eui-avatar>\n * <eui-avatar-icon>\n * <eui-icon name=\"user\"></eui-icon>\n * </eui-avatar-icon>\n * </eui-avatar>\n *\n * @example\n * // With badge and custom properties:\n * <eui-avatar euiPrimary euiSizeL isShapeSquare>\n * <eui-avatar-image imageUrl=\"path/to/image.jpg\"></eui-avatar-image>\n * <eui-avatar-badge position=\"bottom\">\n * <span class=\"status-indicator\"></span>\n * </eui-avatar-badge>\n * </eui-avatar>\n *\n * @example\n * // Using the attribute selector:\n * <div euiAvatar euiAccent isFlat>\n * <eui-avatar-text>AB</eui-avatar-text>\n * </div>\n */\n@Component({\n selector: 'div[euiAvatar], span[euiAvatar], eui-avatar',\n templateUrl: './eui-avatar.component.html',\n styleUrl: './styles/_index.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n EuiIconModule,\n ],\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 'euiSizeL',\n 'euiSizeXL',\n 'euiSize2XL',\n 'euiSizeVariant',\n ],\n },\n ],\n})\nexport class EuiAvatarComponent {\n /**\n * Gets the CSS classes to be applied to the host element.\n * Combines base classes with modifier classes.\n * @returns {string} The combined CSS classes\n */\n @HostBinding('class')\n public get cssClasses(): string {\n return [\n this.baseStatesDirective.getCssClasses('eui-avatar'),\n this.isShapeSquare ? 'eui-avatar--shape-square' : '',\n this.isFlat ? 'eui-avatar--flat eui--basic' : '',\n this.hasNoBackground ? 'eui-avatar--no-background' : '',\n ].join(' ').trim();\n }\n\n /**\n * Data attribute for E2E testing\n * @default 'eui-avatar'\n */\n @HostBinding('attr.data-e2e') @Input() e2eAttr = 'eui-avatar';\n\n /**\n * ARIA role for accessibility\n * @default 'status'\n */\n @HostBinding('attr.role') role = 'status';\n\n /**\n * ARIA label for accessibility\n * @default 'avatar'\n */\n @HostBinding('attr.aria-label') @Input('aria-label') ariaLabel: string | null = 'avatar';\n\n /**\n * Whether the avatar should have a shadow effect\n * @default false\n */\n @Input({ transform: booleanAttribute }) hasShadow = false;\n\n /**\n * Whether the avatar shape should be square instead of circular\n * @default false\n */\n @Input({ transform: booleanAttribute }) isShapeSquare = false;\n\n /**\n * Whether the avatar should have a flat appearance\n * @default false\n */\n @Input({ transform: booleanAttribute }) isFlat = false;\n\n /**\n * Whether the avatar should have no background color\n * @default false\n */\n @Input({ transform: booleanAttribute }) hasNoBackground = false;\n\n /**\n * Reference to the BaseStatesDirective providing state-based styling\n * @internal\n */\n protected baseStatesDirective = inject(BaseStatesDirective);\n}\n","@if(hasShadow) {\n <div class=\"eui-avatar-shadow\"></div>\n}\n\n<div class=\"eui-avatar-content\">\n <ng-content select=\"eui-avatar-icon\"></ng-content>\n <ng-content select=\"eui-avatar-text\"></ng-content>\n <ng-content select=\"eui-avatar-image\"></ng-content>\n <ng-content select=\"eui-avatar-badge\"></ng-content>\n</div>\n","import { Component, HostBinding } from '@angular/core';\n\n/**\n * @description\n * Component for displaying a list of avatars.\n * This component serves as a container that arranges multiple avatars in a visually\n * coherent group, typically with slight overlapping to save space.\n *\n * The component uses content projection to allow placing multiple avatar components\n * within it and applies appropriate styling via the 'eui-avatar-list' CSS class.\n *\n * @example\n * // Basic usage with multiple avatars:\n * <eui-avatar-list>\n * <eui-avatar>\n * <eui-avatar-image imageUrl=\"path/to/image1.jpg\"></eui-avatar-image>\n * </eui-avatar>\n * <eui-avatar>\n * <eui-avatar-image imageUrl=\"path/to/image2.jpg\"></eui-avatar-image>\n * </eui-avatar>\n * <eui-avatar>\n * <eui-avatar-icon>\n * <eui-icon name=\"user\"></eui-icon>\n * </eui-avatar-icon>\n * </eui-avatar>\n * </eui-avatar-list>\n */\n@Component({\n selector: 'eui-avatar-list',\n template: '<ng-content/>',\n styleUrl: './avatar-list.scss',\n standalone: false,\n})\nexport class EuiAvatarListComponent {\n /**\n * Binds the CSS class 'eui-avatar-list' to the host element.\n * This class provides the styling necessary for arranging avatars in a list.\n * @returns {string} The CSS class name\n */\n @HostBinding('class')\n public get cssClasses(): string {\n return 'eui-avatar-list';\n }\n}\n","import { Component, HostBinding } from '@angular/core';\n\n/**\n * @description\n * Component representing an avatar icon.\n * This component serves as a container for icons within an avatar.\n * It applies the appropriate styling and structure needed for avatar icons.\n *\n * The component simply wraps its content with the 'eui-avatar-icon' class styling.\n * Used for displaying icons as avatar content instead of images or text.\n *\n * @example\n * // Basic usage with an icon:\n * <eui-avatar>\n * <eui-avatar-icon>\n * <eui-icon name=\"user\"></eui-icon>\n * </eui-avatar-icon>\n * </eui-avatar>\n */\n@Component({\n selector: 'eui-avatar-icon',\n template: '<ng-content/>',\n styleUrl: './avatar-icon.scss',\n standalone: false,\n})\nexport class EuiAvatarIconComponent {\n /** @internal */\n @HostBinding('class') string = 'eui-avatar-icon';\n}\n","import { Component, HostBinding } from '@angular/core';\n\n/**\n * @description\n * Component for displaying text content within an avatar.\n * This component serves as a container for text that appears inside an avatar,\n * such as initials or short text identifiers.\n *\n * The component applies the 'eui-avatar-text' class to provide appropriate styling\n * for text displayed within an avatar context. It uses content projection to allow\n * any text content to be displayed inside.\n *\n * @example\n * // Basic usage with initials:\n * <eui-avatar>\n * <eui-avatar-text>JD</eui-avatar-text>\n * </eui-avatar>\n *\n * @example\n * // With a single character:\n * <eui-avatar>\n * <eui-avatar-text>A</eui-avatar-text>\n * </eui-avatar>\n *\n * @example\n * // Used with other avatar components:\n * <eui-avatar>\n * <eui-avatar-text>BN</eui-avatar-text>\n * <eui-avatar-badge position=\"bottom\">\n * <span class=\"status-indicator\"></span>\n * </eui-avatar-badge>\n * </eui-avatar>\n */\n@Component({\n selector: 'eui-avatar-text',\n template: '<ng-content/>',\n styleUrl: './avatar-text.scss',\n standalone: false,\n})\nexport class EuiAvatarTextComponent {\n /**\n * Binds the CSS class 'eui-avatar-text' to the host element.\n * This class provides the styling necessary for text content within an avatar.\n */\n @HostBinding('class') string = 'eui-avatar-text';\n}\n","import { Component, HostBinding, Inject, Input, OnInit, Optional } from '@angular/core';\nimport { EuiConfig } from '@eui/core';\nimport { EUI_CONFIG_TOKEN } from '@eui/core';\n\n/**\n * @description\n * Component representing an avatar image.\n * Displays an image for an avatar with fallback to a default image when none is provided.\n * Uses the application's configured assets base URL for the default image path.\n *\n * @example\n * <eui-avatar-image imageUrl=\"{{path/to/image.jpg}}\"></eui-avatar-image>\n *\n */\n@Component({\n selector: 'eui-avatar-image',\n templateUrl: './avatar-image.component.html',\n styleUrl: './avatar-image.scss',\n standalone: false,\n})\nexport class EuiAvatarImageComponent implements OnInit {\n /** CSS class applied to the host element */\n @HostBinding('class') string = 'eui-avatar-image';\n\n /**\n * URL of the image to be displayed in the avatar.\n * If not provided, a default image will be used.\n */\n @Input() imageUrl;\n\n /**\n * The final image URL to be used in the template.\n * This will be either the provided imageUrl or a default image URL.\n */\n public imageUrlGenerated = 'assets';\n\n /**\n * @param {EuiConfig} config - Optional configuration object containing application settings\n */\n constructor(\n @Optional() @Inject(EUI_CONFIG_TOKEN) private config: EuiConfig,\n ) {\n }\n\n /**\n * Initializes the component by setting the image URL.\n * Uses the provided imageUrl if available, otherwise falls back to a default avatar image.\n */\n ngOnInit(): void {\n let assetsBaseUrl = this.config?.appConfig?.global?.eui?.assetsBaseUrl;\n if (!assetsBaseUrl) {\n assetsBaseUrl = 'assets';\n }\n\n if (!this.imageUrl) {\n this.imageUrlGenerated = `${assetsBaseUrl}/images/common/ion-avatar.svg`;\n } else {\n this.imageUrlGenerated = this.imageUrl;\n }\n }\n}\n","@if (imageUrlGenerated) {\n <img [src]=\"imageUrlGenerated\" alt=\"Avatar\"/>\n} @else {\n <ng-content></ng-content>\n}\n","import { Component, HostBinding, Input } from '@angular/core';\n\n/**\n * Component representing an avatar badge.\n * This badge can be positioned at the top or bottom of the avatar and is used\n * to display additional information or status indicators.\n *\n * The component uses content projection to allow any content to be displayed inside the badge.\n *\n * @example\n * // Basic usage with a status indicator:\n * <eui-avatar>\n * <eui-avatar-image imageUrl=\"path/to/image.jpg\"></eui-avatar-image>\n * <eui-avatar-badge>\n * <span class=\"status-indicator\"></span>\n * </eui-avatar-badge>\n * </eui-avatar>\n *\n * @example\n * // With position set to bottom:\n * <eui-avatar>\n * <eui-avatar-icon>\n * <eui-icon name=\"user\"></eui-icon>\n * </eui-avatar-icon>\n * <eui-avatar-badge position=\"bottom\">\n * <span class=\"notification\">3</span>\n * </eui-avatar-badge>\n * </eui-avatar>\n */\n@Component({\n selector: 'eui-avatar-badge',\n template: '<ng-content/>',\n styleUrl: './avatar-badge.scss',\n standalone: false,\n})\nexport class EuiAvatarBadgeComponent {\n /**\n * Gets the CSS classes to be applied to the host element.\n * Combines the base class with a modifier class based on the position.\n * @returns {string} The combined CSS classes.\n */\n @HostBinding('class')\n public get cssClasses(): string {\n return [\n 'eui-avatar-badge',\n `eui-avatar-badge--${this.position}`,\n ].join(' ').trim();\n }\n\n /**\n * The position of the badge relative to the avatar.\n * Can be either 'top' or 'bottom'.\n * @default 'top'\n */\n @Input() position: 'top' | 'bottom' = 'top';\n}\n","import { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\nimport { EuiIconModule } from '@eui/components/eui-icon';\nimport { BaseStatesDirective } from '@eui/components/shared';\n\nimport { EuiAvatarComponent } from './eui-avatar.component';\nimport { EuiAvatarListComponent } from './avatar-list/avatar-list.component';\nimport { EuiAvatarIconComponent } from './avatar-icon/avatar-icon.component';\nimport { EuiAvatarTextComponent } from './avatar-text/avatar-text.component';\nimport { EuiAvatarImageComponent } from './avatar-image/avatar-image.component';\nimport { EuiAvatarBadgeComponent } from './avatar-badge/avatar-badge.component';\n\nconst COMPONENTS = [\n EuiAvatarIconComponent,\n EuiAvatarTextComponent,\n EuiAvatarImageComponent,\n EuiAvatarBadgeComponent,\n EuiAvatarListComponent,\n];\n\n/**\n * @description\n * Provides the complete avatar component system for the EUI design system.\n *\n * This module exports all avatar-related components and bundles them together to provide\n * a cohesive API for avatar functionality. The module includes components for displaying\n * avatars with various content types (images, text, or icons), badges, and avatar lists.\n *\n * @example\n * import { EuiAvatarModule } from '@eui/components/eui-avatar';\n *\n * @NgModule({\n * imports: [\n * EuiAvatarModule,\n * ],\n * })\n * export class MyFeatureModule {}\n *\n * @see EuiAvatarComponent\n * @see EuiAvatarImageComponent\n * @see EuiAvatarTextComponent\n * @see EuiAvatarIconComponent\n * @see EuiAvatarBadgeComponent\n * @see EuiAvatarListComponent\n */\n@NgModule({\n imports: [\n CommonModule,\n EuiAvatarComponent,\n ],\n declarations: [...COMPONENTS],\n exports: [\n ...COMPONENTS,\n EuiAvatarComponent,\n ],\n})\nexport class EuiAvatarModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8CG;MAgCU,kBAAkB,CAAA;AA/B/B,IAAA,WAAA,GAAA;AA+CI;;;AAGG;QACoC,IAAO,CAAA,OAAA,GAAG,YAAY;AAE7D;;;AAGG;QACuB,IAAI,CAAA,IAAA,GAAG,QAAQ;AAEzC;;;AAGG;QACkD,IAAS,CAAA,SAAA,GAAkB,QAAQ;AAExF;;;AAGG;QACqC,IAAS,CAAA,SAAA,GAAG,KAAK;AAEzD;;;AAGG;QACqC,IAAa,CAAA,aAAA,GAAG,KAAK;AAE7D;;;AAGG;QACqC,IAAM,CAAA,MAAA,GAAG,KAAK;AAEtD;;;AAGG;QACqC,IAAe,CAAA,eAAA,GAAG,KAAK;AAE/D;;;AAGG;AACO,QAAA,IAAA,CAAA,mBAAmB,GAAG,MAAM,CAAC,mBAAmB,CAAC;AAC9D;AA9DG;;;;AAIG;AACH,IAAA,IACW,UAAU,GAAA;QACjB,OAAO;AACH,YAAA,IAAI,CAAC,mBAAmB,CAAC,aAAa,CAAC,YAAY,CAAC;YACpD,IAAI,CAAC,aAAa,GAAG,0BAA0B,GAAG,EAAE;YACpD,IAAI,CAAC,MAAM,GAAG,6BAA6B,GAAG,EAAE;YAChD,IAAI,CAAC,eAAe,GAAG,2BAA2B,GAAG,EAAE;AAC1D,SAAA,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;;8GAbb,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAA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