@eui/components 19.0.0-next.12 → 19.0.0-next.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/components/EuiDropdownComponent.html +24 -0
- package/docs/components/EuiDropdownItemComponent.html +20 -1
- package/docs/components/EuiMenuComponent.html +3 -67
- package/docs/components/EuiMenuItemComponent.html +6 -256
- package/docs/components/EuiNotificationsV2Component.html +0 -24
- package/docs/components/EuiPageColumnComponent.html +0 -25
- package/docs/components/EuiPaginatorComponent.html +31 -1
- package/docs/components/EuiPopoverComponent.html +0 -55
- package/docs/components/EuiTreeComponent.html +1 -39
- package/docs/components/EuiWizardComponent.html +1 -1
- package/docs/components/EuiWizardStepComponent.html +0 -4
- package/docs/dependencies.html +2 -2
- package/docs/index.html +1 -1
- package/docs/js/menu-wc.js +21 -33
- package/docs/js/menu-wc_es5.js +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/docs/miscellaneous/variables.html +1 -1
- package/docs/modules/EuiAllModule.html +2 -2
- package/docs/modules/EuiAppModule.html +2 -2
- package/docs/modules/EuiLayoutModule.html +2 -2
- package/docs/modules/EuiSidebarMenuModule.html +1 -1
- package/docs/modules/EuiTimepickerModule.html +1 -1
- package/docs/modules.html +0 -12
- package/eui-all/eui-all.module.d.ts +1 -1
- package/eui-dropdown/dropdown-item/eui-dropdown-item.component.d.ts +3 -1
- package/eui-dropdown/dropdown-item/eui-dropdown-item.component.d.ts.map +1 -1
- package/eui-dropdown/eui-dropdown.component.d.ts +2 -1
- package/eui-dropdown/eui-dropdown.component.d.ts.map +1 -1
- package/eui-icon/eui-icon-svg.component.d.ts.map +1 -1
- package/eui-input-number/eui-input-number.module.d.ts +0 -8
- package/eui-input-number/eui-input-number.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-page/components/eui-page-column/eui-page-column.component.d.ts +1 -6
- package/eui-page/components/eui-page-column/eui-page-column.component.d.ts.map +1 -1
- package/eui-paginator/eui-paginator.component.d.ts +3 -1
- package/eui-paginator/eui-paginator.component.d.ts.map +1 -1
- package/eui-popover/eui-popover.component.d.ts +1 -5
- package/eui-popover/eui-popover.component.d.ts.map +1 -1
- package/eui-sidebar-menu/eui-sidebar-menu.module.d.ts +1 -1
- package/eui-table-v2/eui-table-v2.component.d.ts.map +1 -1
- package/eui-timepicker/eui-timepicker.module.d.ts +1 -1
- package/eui-tree/eui-tree.component.d.ts +1 -5
- package/eui-tree/eui-tree.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.map +1 -1
- package/fesm2022/eui-components-eui-card.mjs +1 -1
- package/fesm2022/eui-components-eui-card.mjs.map +1 -1
- package/fesm2022/eui-components-eui-dropdown.mjs +18 -11
- package/fesm2022/eui-components-eui-dropdown.mjs.map +1 -1
- package/fesm2022/eui-components-eui-icon.mjs +1 -1
- package/fesm2022/eui-components-eui-icon.mjs.map +1 -1
- package/fesm2022/eui-components-eui-input-number.mjs +1 -16
- package/fesm2022/eui-components-eui-input-number.mjs.map +1 -1
- package/fesm2022/eui-components-eui-language-selector.mjs +1 -1
- package/fesm2022/eui-components-eui-language-selector.mjs.map +1 -1
- package/fesm2022/eui-components-eui-menu.mjs +1 -22
- package/fesm2022/eui-components-eui-menu.mjs.map +1 -1
- package/fesm2022/eui-components-eui-navbar.mjs +1 -1
- package/fesm2022/eui-components-eui-navbar.mjs.map +1 -1
- package/fesm2022/eui-components-eui-page.mjs +4 -8
- package/fesm2022/eui-components-eui-page.mjs.map +1 -1
- package/fesm2022/eui-components-eui-paginator.mjs +4 -3
- package/fesm2022/eui-components-eui-paginator.mjs.map +1 -1
- package/fesm2022/eui-components-eui-popover.mjs +2 -10
- package/fesm2022/eui-components-eui-popover.mjs.map +1 -1
- package/fesm2022/eui-components-eui-sidebar-menu.mjs +1 -1
- package/fesm2022/eui-components-eui-sidebar-menu.mjs.map +1 -1
- package/fesm2022/eui-components-eui-table-v2.mjs +2 -2
- package/fesm2022/eui-components-eui-table-v2.mjs.map +1 -1
- package/fesm2022/eui-components-eui-table.mjs +3 -3
- package/fesm2022/eui-components-eui-table.mjs.map +1 -1
- package/fesm2022/eui-components-eui-timepicker.mjs +4 -4
- package/fesm2022/eui-components-eui-timepicker.mjs.map +1 -1
- package/fesm2022/eui-components-eui-tree.mjs +2 -6
- package/fesm2022/eui-components-eui-tree.mjs.map +1 -1
- package/fesm2022/eui-components-eui-user-profile.mjs +1 -1
- package/fesm2022/eui-components-eui-user-profile.mjs.map +1 -1
- package/fesm2022/eui-components-eui-wizard.mjs +8 -9
- package/fesm2022/eui-components-eui-wizard.mjs.map +1 -1
- package/fesm2022/eui-components-layout.mjs +2 -9
- package/fesm2022/eui-components-layout.mjs.map +1 -1
- package/fesm2022/eui-components.mjs +5 -5
- package/fesm2022/eui-components.mjs.map +1 -1
- package/layout/eui-notifications-v2/eui-notifications.component.d.ts +1 -6
- package/layout/eui-notifications-v2/eui-notifications.component.d.ts.map +1 -1
- package/package.json +3 -3
- package/docs/modules/EuiInputNumberDirectiveModule.html +0 -241
@@ -178,7 +178,7 @@ class EuiUserProfileComponent {
|
|
178
178
|
this.isDropdownOpen = isOpen;
|
179
179
|
}
|
180
180
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EuiUserProfileComponent, deps: [{ token: i0.ElementRef }, { token: i1$1.UserService }, { token: i2.BaseStatesDirective }], target: i0.ɵɵFactoryTarget.Component }); }
|
181
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.0", type: EuiUserProfileComponent, isStandalone: false, selector: "eui-user-profile", inputs: { welcomeLabel: "welcomeLabel", impersonateLabel: "impersonateLabel", avatarUrl: "avatarUrl", subInfos: "subInfos", statusVariant: "statusVariant", hasMenu: ["hasMenu", "hasMenu", booleanAttribute], hasWelcomeLabel: ["hasWelcomeLabel", "hasWelcomeLabel", booleanAttribute], isShowAvatarInitials: ["isShowAvatarInitials", "isShowAvatarInitials", booleanAttribute], hasTabNavigation: ["hasTabNavigation", "hasTabNavigation", booleanAttribute], isReverse: ["isReverse", "isReverse", booleanAttribute], hasToggle: ["hasToggle", "hasToggle", booleanAttribute], isHeaderUserProfile: ["isHeaderUserProfile", "isHeaderUserProfile", booleanAttribute], isShowUserInfos: ["isShowUserInfos", "isShowUserInfos", booleanAttribute], euiStatusSecondary: ["euiStatusSecondary", "euiStatusSecondary", booleanAttribute], euiStatusSuccess: ["euiStatusSuccess", "euiStatusSuccess", booleanAttribute], euiStatusDanger: ["euiStatusDanger", "euiStatusDanger", booleanAttribute] }, host: { properties: { "class": "this.cssClasses" } }, queries: [{ propertyName: "hasMenuContent", predicate: i0.forwardRef(() => EuiUserProfileMenuComponent), descendants: true }], viewQueries: [{ propertyName: "dropdown", first: true, predicate: ["dropdown"], descendants: true }], hostDirectives: [{ directive: i2.BaseStatesDirective, inputs: ["euiSizeS", "euiSizeS", "euiSecondary", "euiSecondary", "euiPrimary", "euiPrimary"] }], ngImport: i0, template: "@if (hasMenu) {\n <eui-dropdown [hasTabNavigation]=\"hasTabNavigation\" width=\"340px\" #dropdown (expand)=\"onDropdownExpand($event)\">\n <ng-container *ngTemplateOutlet=\"userProfileContent\"/>\n <eui-dropdown-content>\n <ng-content/>\n </eui-dropdown-content>\n </eui-dropdown>\n} @else {\n <ng-container *ngTemplateOutlet=\"userProfileContent\"/>\n}\n\n<ng-template #userProfileContent>\n <button class=\"eui-user-profile-content\" [tabindex]=\"hasMenu ? '0' : '-1'\" [class.eui-user-profile-content--no-menu]=\"!hasMenu\">\n\n @if (isShowUserInfos) {\n <div class=\"eui-user-profile__infos\">\n @if (userState?.impersonatingUser) {\n <div class=\"eui-user-profile__infos-welcome\">\n @if (hasWelcomeLabel) {\n <span>{{ welcomeLabel }}</span>\n }\n {{ userState?.impersonatingUser?.firstName }} <strong>{{ userState?.impersonatingUser?.lastName}}</strong>\n <span> {{ impersonateLabel }}</span>\n </div>\n <div class=\"eui-user-profile__infos-name\">\n {{ userState?.firstName }} <strong>{{ userState?.lastName }}</strong>\n </div>\n @if (subInfos) {\n <div class=\"eui-user-profile__infos-subinfos\">{{ subInfos }}</div>\n }\n } @else {\n @if (hasWelcomeLabel) {\n <div class=\"eui-user-profile__infos-welcome\">{{ welcomeLabel }}</div>\n }\n <div class=\"eui-user-profile__infos-name\">\n {{ userState?.firstName }} <strong>{{ userState?.lastName }}</strong>\n </div>\n @if (subInfos) {\n <div class=\"eui-user-profile__infos-subinfos\">{{ subInfos }}</div>\n }\n }\n </div>\n }\n\n <eui-avatar isFlat [euiSizeS]=\"baseStatesDirective.euiSizeS\" [hasShadow]=\"userState?.impersonatingUser\">\n\n @if (isShowAvatarInitials) {\n <eui-avatar-text>{{ avatarInitials }}</eui-avatar-text>\n } @else {\n <eui-avatar-image [imageUrl]=\"avatarUrl\"/>\n }\n\n @if (euiStatusSecondary || euiStatusSuccess || euiStatusDanger) {\n <eui-avatar-badge position=\"bottom\">\n @if (euiStatusSuccess) {\n <eui-badge euiSuccess euiSizeS euiIconBadge>\n <eui-icon-svg icon=\"checkmark:outline\" size=\"xs\"/>\n </eui-badge>\n } @else if (euiStatusDanger) {\n <eui-badge euiDanger euiSizeS euiIconBadge>\n <eui-icon-svg icon=\"remove:outline\" size=\"xs\"/>\n </eui-badge>\n } @else if (euiStatusSecondary) {\n <eui-badge euiSecondary euiSizeS euiIconBadge>\n <eui-icon-svg icon=\"close-circle:outline\" fillColor=\"neutral\" size=\"xs\"/>\n </eui-badge>\n }\n </eui-avatar-badge>\n }\n </eui-avatar>\n\n @if (hasMenu || hasToggle) {\n @if (isDropdownOpen) {\n <eui-icon-svg icon=\"chevron-up:sharp\" size=\"s\" class=\"eui-user-profile__drop-indicator\"/>\n } @else {\n <eui-icon-svg icon=\"chevron-down:sharp\" size=\"s\" class=\"eui-user-profile__drop-indicator\"/>\n }\n }\n </button>\n</ng-template>\n", styles: [".eui-19 .eui-user-profile{display:flex;position:relative}.eui-19 .eui-user-profile-content{align-items:center;background:none;border:var(--eui-bw-none);cursor:pointer;display:flex;padding:var(--eui-s-2xs) 0;gap:var(--eui-s-xs)}.eui-19 .eui-user-profile-content:focus-visible:not([readonly]){outline:2px solid var(--eui-c-focus-visible)!important;outline-offset:-2px!important;transition:none}.eui-19 .eui-user-profile-content--no-menu{cursor:default}.eui-19 .eui-user-profile__infos{align-items:flex-end;display:flex;flex-direction:column}.eui-19 .eui-user-profile__infos-container{justify-content:flex-end;align-items:center;display:flex;width:100%}.eui-19 .eui-user-profile__infos-welcome{text-align:right;font:var(--eui-f-xs-compact)}.eui-19 .eui-user-profile__infos-name{color:var(--eui-c-branding);text-align:right;font:var(--eui-f-m-compact)}.eui-19 .eui-user-profile__infos-subinfos{color:var(--eui-c-neutral);text-align:right;font:var(--eui-f-xs-compact)}.eui-19 .eui-user-profile__drop-indicator{margin-left:calc(-1 * var(--eui-s-xs))}.eui-19 .eui--secondary .eui-user-profile__infos-name,.eui-19 .eui--secondary .eui-user-profile__infos-welcome{color:var(--eui-c-neutral)!important}@media screen and (max-width: 767px){.eui-19 .eui-app-shell-header-toolbar-items .eui-user-profile{display:flex}.eui-19 .eui-app .eui-app-toolbar .eui-user-profile__infos{display:none}}@media screen and (min-width: 768px){.eui-19 .eui-app-shell-header-toolbar-items .eui-user-profile{display:none}.eui-19 .is-header-shrink .eui-user-profile{display:flex}}@media screen and (min-width: 768px) and (max-width: 995px){.eui-19 .eui-app .eui-app-toolbar .eui-user-profile__infos{display:none}}.eui-19 .eui-user-profile--primary .eui-user-profile__infos-name{color:var(--eui-c-white)}.eui-19 .eui-user-profile--primary .eui-user-profile__infos-welcome,.eui-19 .eui-user-profile--primary .eui-user-profile__infos-subinfos{color:var(--eui-c-neutral-lightest)}.eui-19 .eui-user-profile--primary .eui-user-profile__drop-indicator svg{fill:var(--eui-c-white);color:var(--eui-c-white)}.eui-19 .eui-user-profile--reverse .eui-user-profile-content{flex-direction:row-reverse}.eui-19 .eui-user-profile--reverse .eui-user-profile__infos{margin-left:var(--eui-s-m)}.eui-19 .eui-user-profile--initials .eui-avatar-content{background-color:var(--eui-c-branding-light)}.eui-19 .eui-user-profile--initials .eui-avatar-text{color:var(--eui-c-branding-light-contrast)}.eui-19 .eui-user-profile-menu{height:auto;min-width:340px;position:relative}.eui-19 .eui-user-profile-menu-item{align-items:center;border-bottom:1px solid var(--eui-c-neutral-lightest);cursor:pointer;display:flex;padding:var(--eui-s-xs) var(--eui-s-s);gap:var(--eui-s-xs)}.eui-19 .eui-user-profile-menu-item:focus:not([readonly]){outline:2px solid var(--eui-c-focus)!important;outline-offset:-2px!important;transition:none}.eui-19 .eui-user-profile-menu-item:focus-visible:not([readonly]){outline:2px solid var(--eui-c-focus-visible)!important;outline-offset:-2px!important;transition:none}.eui-19 .eui-user-profile-menu-item [tabindex=\"0\"]:focus:not([readonly]){outline:2px solid var(--eui-c-focus-visible)!important;outline-offset:-2px!important;transition:none}.eui-19 .eui-user-profile-menu-item:hover{background-color:var(--eui-c-hover);cursor:pointer}.eui-19 .eui-user-profile-menu-item:last-child{border-bottom:0}.eui-19 .eui-user-profile-menu-item a{color:var(--eui-c-text);text-decoration:none}.eui-19 .eui-user-profile-menu-item.link{cursor:pointer}.eui-19 .eui-user-profile-menu-item-right-content{margin-left:auto}.eui-19 .eui-user-profile-card{width:100%}.eui-19 .eui-user-profile-card__main-wrapper{display:flex;flex-direction:row;padding:var(--eui-s-m) var(--eui-s-m) var(--eui-s-m) 0}.eui-19 .eui-user-profile-card__main-wrapper-right-content{display:flex;flex-direction:column;margin-left:auto}.eui-19 .eui-user-profile-card__avatar-wrapper{display:flex}.eui-19 .eui-user-profile-card__userInfos{display:flex;flex-direction:column;padding-left:var(--eui-s-s)}.eui-19 .eui-user-profile-card__userInfos-item{padding-bottom:var(--eui-s-xs)}.eui-19 .eui-user-profile-card__impersonateInfos{background-color:var(--eui-c-neutral-bg-light);padding:var(--eui-s-s)}\n"], dependencies: [{ kind: "directive", type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i4.EuiIconSvgComponent, selector: "eui-icon-svg, span[euiIconSvg], i[euiIconSvg]", inputs: ["icon", "fillColor", "set", "size", "style", "iconUrl", "transform", "euiVariant", "aria-label", "ariaHidden", "focusable", "isLoading", "isInputIcon", "euiStart", "euiEnd"] }, { kind: "component", type: i1.EuiDropdownComponent, selector: "eui-dropdown", inputs: ["e2eAttr", "tabIndex", "width", "position", "isBlock", "isDropDownRightAligned", "hasClosedOnClickInside", "isLabelUpdatedFromSelectedItem", "isExpandOnHover", "hasTabNavigation", "isRightClickEnabled", "euiDisabled"], outputs: ["expand"] }, { kind: "directive", type: i1.EuiDropdownContentDirective, selector: "eui-dropdown-content" }, { kind: "component", type: i6.EuiAvatarComponent, selector: "div[euiAvatar], span[euiAvatar], eui-avatar", inputs: ["e2eAttr", "aria-label", "hasShadow", "isShapeSquare", "isFlat", "hasNoBackground"] }, { kind: "component", type: i6.EuiAvatarTextComponent, selector: "eui-avatar-text" }, { kind: "component", type: i6.EuiAvatarImageComponent, selector: "eui-avatar-image", inputs: ["imageUrl"] }, { kind: "component", type: i6.EuiAvatarBadgeComponent, selector: "eui-avatar-badge", inputs: ["position"] }, { kind: "component", type: i7.EuiBadgeComponent, selector: "div[euiBadge], span[euiBadge], eui-badge", inputs: ["e2eAttr", "aria-label", "maxCharCount", "charReplacement", "euiIconBadge", "euiDottedBadge"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
|
181
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.0", type: EuiUserProfileComponent, isStandalone: false, selector: "eui-user-profile", inputs: { welcomeLabel: "welcomeLabel", impersonateLabel: "impersonateLabel", avatarUrl: "avatarUrl", subInfos: "subInfos", statusVariant: "statusVariant", hasMenu: ["hasMenu", "hasMenu", booleanAttribute], hasWelcomeLabel: ["hasWelcomeLabel", "hasWelcomeLabel", booleanAttribute], isShowAvatarInitials: ["isShowAvatarInitials", "isShowAvatarInitials", booleanAttribute], hasTabNavigation: ["hasTabNavigation", "hasTabNavigation", booleanAttribute], isReverse: ["isReverse", "isReverse", booleanAttribute], hasToggle: ["hasToggle", "hasToggle", booleanAttribute], isHeaderUserProfile: ["isHeaderUserProfile", "isHeaderUserProfile", booleanAttribute], isShowUserInfos: ["isShowUserInfos", "isShowUserInfos", booleanAttribute], euiStatusSecondary: ["euiStatusSecondary", "euiStatusSecondary", booleanAttribute], euiStatusSuccess: ["euiStatusSuccess", "euiStatusSuccess", booleanAttribute], euiStatusDanger: ["euiStatusDanger", "euiStatusDanger", booleanAttribute] }, host: { properties: { "class": "this.cssClasses" } }, queries: [{ propertyName: "hasMenuContent", predicate: i0.forwardRef(() => EuiUserProfileMenuComponent), descendants: true }], viewQueries: [{ propertyName: "dropdown", first: true, predicate: ["dropdown"], descendants: true }], hostDirectives: [{ directive: i2.BaseStatesDirective, inputs: ["euiSizeS", "euiSizeS", "euiSecondary", "euiSecondary", "euiPrimary", "euiPrimary"] }], ngImport: i0, template: "@if (hasMenu) {\n <eui-dropdown [hasTabNavigation]=\"hasTabNavigation\" width=\"340px\" #dropdown (expand)=\"onDropdownExpand($event)\">\n <ng-container *ngTemplateOutlet=\"userProfileContent\"/>\n <eui-dropdown-content>\n <ng-content/>\n </eui-dropdown-content>\n </eui-dropdown>\n} @else {\n <ng-container *ngTemplateOutlet=\"userProfileContent\"/>\n}\n\n<ng-template #userProfileContent>\n <button class=\"eui-user-profile-content\" [tabindex]=\"hasMenu ? '0' : '-1'\" [class.eui-user-profile-content--no-menu]=\"!hasMenu\">\n\n @if (isShowUserInfos) {\n <div class=\"eui-user-profile__infos\">\n @if (userState?.impersonatingUser) {\n <div class=\"eui-user-profile__infos-welcome\">\n @if (hasWelcomeLabel) {\n <span>{{ welcomeLabel }}</span>\n }\n {{ userState?.impersonatingUser?.firstName }} <strong>{{ userState?.impersonatingUser?.lastName}}</strong>\n <span> {{ impersonateLabel }}</span>\n </div>\n <div class=\"eui-user-profile__infos-name\">\n {{ userState?.firstName }} <strong>{{ userState?.lastName }}</strong>\n </div>\n @if (subInfos) {\n <div class=\"eui-user-profile__infos-subinfos\">{{ subInfos }}</div>\n }\n } @else {\n @if (hasWelcomeLabel) {\n <div class=\"eui-user-profile__infos-welcome\">{{ welcomeLabel }}</div>\n }\n <div class=\"eui-user-profile__infos-name\">\n {{ userState?.firstName }} <strong>{{ userState?.lastName }}</strong>\n </div>\n @if (subInfos) {\n <div class=\"eui-user-profile__infos-subinfos\">{{ subInfos }}</div>\n }\n }\n </div>\n }\n\n <eui-avatar isFlat [euiSizeS]=\"baseStatesDirective.euiSizeS\" [hasShadow]=\"userState?.impersonatingUser\">\n\n @if (isShowAvatarInitials) {\n <eui-avatar-text>{{ avatarInitials }}</eui-avatar-text>\n } @else {\n <eui-avatar-image [imageUrl]=\"avatarUrl\"/>\n }\n\n @if (euiStatusSecondary || euiStatusSuccess || euiStatusDanger) {\n <eui-avatar-badge position=\"bottom\">\n @if (euiStatusSuccess) {\n <eui-badge euiSuccess euiSizeS euiIconBadge>\n <eui-icon-svg icon=\"checkmark:outline\" size=\"xs\"/>\n </eui-badge>\n } @else if (euiStatusDanger) {\n <eui-badge euiDanger euiSizeS euiIconBadge>\n <eui-icon-svg icon=\"remove:outline\" size=\"xs\"/>\n </eui-badge>\n } @else if (euiStatusSecondary) {\n <eui-badge euiSecondary euiSizeS euiIconBadge>\n <eui-icon-svg icon=\"close-circle:outline\" fillColor=\"neutral\" size=\"xs\"/>\n </eui-badge>\n }\n </eui-avatar-badge>\n }\n </eui-avatar>\n\n @if (hasMenu || hasToggle) {\n @if (isDropdownOpen) {\n <eui-icon-svg icon=\"chevron-up:sharp\" size=\"s\" class=\"eui-user-profile__drop-indicator\"/>\n } @else {\n <eui-icon-svg icon=\"chevron-down:sharp\" size=\"s\" class=\"eui-user-profile__drop-indicator\"/>\n }\n }\n </button>\n</ng-template>\n", styles: [".eui-19 .eui-user-profile{display:flex;position:relative}.eui-19 .eui-user-profile-content{align-items:center;background:none;border:var(--eui-bw-none);cursor:pointer;display:flex;padding:var(--eui-s-2xs) 0;gap:var(--eui-s-xs)}.eui-19 .eui-user-profile-content:focus-visible:not([readonly]){outline:2px solid var(--eui-c-focus-visible)!important;outline-offset:-2px!important;transition:none}.eui-19 .eui-user-profile-content--no-menu{cursor:default}.eui-19 .eui-user-profile__infos{align-items:flex-end;display:flex;flex-direction:column}.eui-19 .eui-user-profile__infos-container{justify-content:flex-end;align-items:center;display:flex;width:100%}.eui-19 .eui-user-profile__infos-welcome{text-align:right;font:var(--eui-f-xs-compact)}.eui-19 .eui-user-profile__infos-name{color:var(--eui-c-branding);text-align:right;font:var(--eui-f-m-compact)}.eui-19 .eui-user-profile__infos-subinfos{color:var(--eui-c-neutral);text-align:right;font:var(--eui-f-xs-compact)}.eui-19 .eui-user-profile__drop-indicator{margin-left:calc(-1 * var(--eui-s-xs))}.eui-19 .eui--secondary .eui-user-profile__infos-name,.eui-19 .eui--secondary .eui-user-profile__infos-welcome{color:var(--eui-c-neutral)!important}@media screen and (max-width: 767px){.eui-19 .eui-app-shell-header-toolbar-items .eui-user-profile{display:flex}.eui-19 .eui-app .eui-app-toolbar .eui-user-profile__infos{display:none}}@media screen and (min-width: 768px){.eui-19 .eui-app-shell-header-toolbar-items .eui-user-profile{display:none}.eui-19 .is-header-shrink .eui-user-profile{display:flex}}@media screen and (min-width: 768px) and (max-width: 995px){.eui-19 .eui-app .eui-app-toolbar .eui-user-profile__infos{display:none}}.eui-19 .eui-user-profile--primary .eui-user-profile__infos-name{color:var(--eui-c-white)}.eui-19 .eui-user-profile--primary .eui-user-profile__infos-welcome,.eui-19 .eui-user-profile--primary .eui-user-profile__infos-subinfos{color:var(--eui-c-neutral-lightest)}.eui-19 .eui-user-profile--primary .eui-user-profile__drop-indicator svg{fill:var(--eui-c-white);color:var(--eui-c-white)}.eui-19 .eui-user-profile--reverse .eui-user-profile-content{flex-direction:row-reverse}.eui-19 .eui-user-profile--reverse .eui-user-profile__infos{margin-left:var(--eui-s-m)}.eui-19 .eui-user-profile--initials .eui-avatar-content{background-color:var(--eui-c-branding-light)}.eui-19 .eui-user-profile--initials .eui-avatar-text{color:var(--eui-c-branding-light-contrast)}.eui-19 .eui-user-profile-menu{height:auto;min-width:340px;position:relative}.eui-19 .eui-user-profile-menu-item{align-items:center;border-bottom:1px solid var(--eui-c-neutral-lightest);cursor:pointer;display:flex;padding:var(--eui-s-xs) var(--eui-s-s);gap:var(--eui-s-xs)}.eui-19 .eui-user-profile-menu-item:focus:not([readonly]){outline:2px solid var(--eui-c-focus)!important;outline-offset:-2px!important;transition:none}.eui-19 .eui-user-profile-menu-item:focus-visible:not([readonly]){outline:2px solid var(--eui-c-focus-visible)!important;outline-offset:-2px!important;transition:none}.eui-19 .eui-user-profile-menu-item [tabindex=\"0\"]:focus:not([readonly]){outline:2px solid var(--eui-c-focus-visible)!important;outline-offset:-2px!important;transition:none}.eui-19 .eui-user-profile-menu-item:hover{background-color:var(--eui-c-hover);cursor:pointer}.eui-19 .eui-user-profile-menu-item:last-child{border-bottom:0}.eui-19 .eui-user-profile-menu-item a{color:var(--eui-c-text);text-decoration:none}.eui-19 .eui-user-profile-menu-item.link{cursor:pointer}.eui-19 .eui-user-profile-menu-item-right-content{margin-left:auto}.eui-19 .eui-user-profile-card{width:100%}.eui-19 .eui-user-profile-card__main-wrapper{display:flex;flex-direction:row;padding:var(--eui-s-m) var(--eui-s-m) var(--eui-s-m) 0}.eui-19 .eui-user-profile-card__main-wrapper-right-content{display:flex;flex-direction:column;margin-left:auto}.eui-19 .eui-user-profile-card__avatar-wrapper{display:flex}.eui-19 .eui-user-profile-card__userInfos{display:flex;flex-direction:column;padding-left:var(--eui-s-s)}.eui-19 .eui-user-profile-card__userInfos-item{padding-bottom:var(--eui-s-xs)}.eui-19 .eui-user-profile-card__impersonateInfos{background-color:var(--eui-c-neutral-bg-light);padding:var(--eui-s-s)}\n"], dependencies: [{ kind: "directive", type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i4.EuiIconSvgComponent, selector: "eui-icon-svg, span[euiIconSvg], i[euiIconSvg]", inputs: ["icon", "fillColor", "set", "size", "style", "iconUrl", "transform", "euiVariant", "aria-label", "ariaHidden", "focusable", "isLoading", "isInputIcon", "euiStart", "euiEnd"] }, { kind: "component", type: i1.EuiDropdownComponent, selector: "eui-dropdown", inputs: ["e2eAttr", "tabIndex", "width", "position", "subDropdownPosition", "isBlock", "isDropDownRightAligned", "hasClosedOnClickInside", "isLabelUpdatedFromSelectedItem", "isExpandOnHover", "hasTabNavigation", "isRightClickEnabled", "euiDisabled"], outputs: ["expand"] }, { kind: "directive", type: i1.EuiDropdownContentDirective, selector: "eui-dropdown-content" }, { kind: "component", type: i6.EuiAvatarComponent, selector: "div[euiAvatar], span[euiAvatar], eui-avatar", inputs: ["e2eAttr", "aria-label", "hasShadow", "isShapeSquare", "isFlat", "hasNoBackground"] }, { kind: "component", type: i6.EuiAvatarTextComponent, selector: "eui-avatar-text" }, { kind: "component", type: i6.EuiAvatarImageComponent, selector: "eui-avatar-image", inputs: ["imageUrl"] }, { kind: "component", type: i6.EuiAvatarBadgeComponent, selector: "eui-avatar-badge", inputs: ["position"] }, { kind: "component", type: i7.EuiBadgeComponent, selector: "div[euiBadge], span[euiBadge], eui-badge", inputs: ["e2eAttr", "aria-label", "maxCharCount", "charReplacement", "euiIconBadge", "euiDottedBadge"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
|
182
182
|
}
|
183
183
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EuiUserProfileComponent, decorators: [{
|
184
184
|
type: Component,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"eui-components-eui-user-profile.mjs","sources":["../../eui-user-profile/user-profile-menu-item/user-profile-menu-item.component.ts","../../eui-user-profile/user-profile-menu/user-profile-menu.component.ts","../../eui-user-profile/user-profile.component.ts","../../eui-user-profile/user-profile.component.html","../../eui-user-profile/user-profile-card/user-profile-card.component.ts","../../eui-user-profile/user-profile-card/user-profile-card.component.html","../../eui-user-profile/user-profile.module.ts","../../eui-user-profile/eui-components-eui-user-profile.ts"],"sourcesContent":["import { Component, HostBinding, ViewEncapsulation, ElementRef } from '@angular/core';\nimport { FocusableOption } from '@angular/cdk/a11y';\n\n@Component({\n selector: 'eui-user-profile-menu-item',\n template: '<ng-content></ng-content>',\n encapsulation: ViewEncapsulation.None,\n standalone: false,\n})\nexport class EuiUserProfileMenuItemComponent implements FocusableOption {\n @HostBinding('class') class = 'eui-user-profile-menu-item';\n @HostBinding('attr.tabindex') tabindex = '-1';\n @HostBinding('attr.role') role = 'menuitem';\n\n constructor(private element: ElementRef) {}\n\n focus(): void {\n this.element.nativeElement.focus();\n }\n}\n","import {\n Component,\n HostBinding,\n ViewEncapsulation,\n AfterContentInit,\n QueryList,\n ContentChildren,\n OnDestroy,\n HostListener,\n forwardRef,\n} from '@angular/core';\nimport { FocusKeyManager } from '@angular/cdk/a11y';\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\n\nimport { EuiUserProfileMenuItemComponent } from '../user-profile-menu-item/user-profile-menu-item.component';\nimport { EuiDropdownService } from '@eui/components/eui-dropdown';\n\n@Component({\n selector: 'eui-user-profile-menu',\n template: '<ng-content></ng-content>',\n encapsulation: ViewEncapsulation.None,\n standalone: false,\n})\nexport class EuiUserProfileMenuComponent implements AfterContentInit, OnDestroy {\n @HostBinding() class = 'eui-user-profile-menu';\n @HostBinding('attr.role') role = 'menu';\n\n @ContentChildren(forwardRef(() => EuiUserProfileMenuItemComponent)) items: QueryList<EuiUserProfileMenuItemComponent>;\n private focusKeyManager: FocusKeyManager<EuiUserProfileMenuItemComponent>;\n private destroy$: Subject<boolean> = new Subject<boolean>();\n\n constructor(private dropdownService: EuiDropdownService) {}\n\n @HostListener('keydown', ['$event'])\n onKeydown(event): void {\n this.focusKeyManager.onKeydown(event);\n }\n\n ngAfterContentInit(): void {\n this.dropdownService.isDropdownOpen.pipe(takeUntil(this.destroy$)).subscribe((isOpen: boolean) => {\n if (isOpen) {\n this.focusKeyManager = new FocusKeyManager(this.items).withWrap();\n this.focusKeyManager.setFirstItemActive();\n }\n });\n }\n\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.unsubscribe();\n }\n}\n","import { Component, HostBinding, ChangeDetectionStrategy, ViewEncapsulation, Input, OnInit, ViewChild, OnDestroy, Host, Optional, Inject, forwardRef, AfterContentInit, ContentChild, QueryList, AfterViewInit, ContentChildren, ElementRef, booleanAttribute, Renderer2 } from '@angular/core';\nimport { UserState } from '@eui/core';\nimport { UserService } from '@eui/core';\nimport { takeUntil } from 'rxjs/operators';\nimport { EuiDropdownComponent } from '@eui/components/eui-dropdown';\nimport { Subject } from 'rxjs';\nimport { BaseStatesDirective } from '@eui/components/shared';\nimport { EuiUserProfileMenuComponent } from './user-profile-menu/user-profile-menu.component';\n\nexport interface UserProfile extends UserState {\n impersonatingUser?: UserProfile;\n function?: string;\n organisation?: {\n code: string\n }\n}\n\n@Component({\n selector: 'eui-user-profile',\n templateUrl: './user-profile.component.html',\n styleUrls: ['./_styles/_index.scss'],\n changeDetection: ChangeDetectionStrategy.Default,\n encapsulation: ViewEncapsulation.None,\n standalone: false,\n hostDirectives: [\n {\n directive: BaseStatesDirective,\n inputs: [\n 'euiSizeS',\n 'euiSecondary',\n 'euiPrimary',\n ],\n },\n ],\n})\nexport class EuiUserProfileComponent implements OnInit, OnDestroy, AfterViewInit {\n @HostBinding('class')\n public get cssClasses(): string {\n return [\n this.baseStatesDirective.getCssClasses('eui-user-profile'),\n this.isReverse ? 'eui-user-profile--reverse': '',\n this.isShowAvatarInitials ? 'eui-user-profile--initials': '',\n ].join(' ').trim();\n }\n\n userState: UserProfile;\n isOnline = true;\n avatarInitials: string;\n\n @Input() welcomeLabel = 'Welcome';\n @Input() impersonateLabel = 'impersonating';\n @Input() avatarUrl: string;\n @Input() subInfos: string;\n @Input() statusVariant = 'success';\n\n @Input({ transform: booleanAttribute }) hasMenu = false;\n @Input({ transform: booleanAttribute }) hasWelcomeLabel = true;\n @Input({ transform: booleanAttribute }) isShowAvatarInitials = false;\n @Input({ transform: booleanAttribute }) hasTabNavigation = false;\n @Input({ transform: booleanAttribute }) isReverse = false;\n @Input({ transform: booleanAttribute }) hasToggle = false;\n @Input({ transform: booleanAttribute }) isHeaderUserProfile = false;\n @Input({ transform: booleanAttribute }) isShowUserInfos = true;\n\n @Input({ transform: booleanAttribute }) euiStatusSecondary = false;\n @Input({ transform: booleanAttribute }) euiStatusSuccess = false;\n @Input({ transform: booleanAttribute }) euiStatusDanger = false;\n\n @ViewChild('dropdown') dropdown: EuiDropdownComponent;\n @ContentChildren(forwardRef(() => EuiUserProfileMenuComponent), { descendants: true })\n hasMenuContent: QueryList<EuiUserProfileMenuComponent>;\n\n isDropdownOpen = false;\n\n private unsubscribeSubject$: Subject<void> = new Subject();\n\n constructor(\n private elRef: ElementRef,\n private userService: UserService,\n public baseStatesDirective: BaseStatesDirective,\n ) {\n }\n\n ngOnInit(): void {\n this.userService\n .getState()\n .pipe(takeUntil(this.unsubscribeSubject$))\n .subscribe((state: UserProfile) => {\n if (state) {\n this.userState = state;\n const firstNameInitial = state.firstName?.substring(0, 1).toUpperCase();\n const lastNameInitial = state.lastName?.substring(0, 1).toUpperCase();\n this.avatarInitials = `${firstNameInitial}${lastNameInitial}`;\n }\n });\n }\n\n ngAfterViewInit(): void {\n let hasToolbarItemParent = false, toolbar;\n\n try {\n hasToolbarItemParent = this.elRef.nativeElement.closest('eui-toolbar-item');\n toolbar = this.elRef.nativeElement.closest('eui-toolbar');\n } catch(e) {\n // do nothing\n }\n\n setTimeout(() => {\n if (hasToolbarItemParent) {\n this.baseStatesDirective.euiSizeS = true;\n if (toolbar && toolbar.classList.contains('eui--secondary') || this.baseStatesDirective.euiSecondary) {\n this.baseStatesDirective.euiSecondary = true;\n } else {\n this.baseStatesDirective.euiPrimary = true;\n }\n }\n if (hasToolbarItemParent || !this.isHeaderUserProfile) {\n this.hasMenu = this.hasMenuContent.length !== 0;\n }\n });\n }\n\n ngOnDestroy(): void {\n this.unsubscribeSubject$.next();\n this.unsubscribeSubject$.complete();\n }\n\n closeDropdown(): void {\n this.dropdown.closeDropdown();\n this.isDropdownOpen = false;\n }\n\n onDropdownExpand(isOpen: boolean): void {\n this.isDropdownOpen = isOpen;\n }\n}\n","@if (hasMenu) {\n <eui-dropdown [hasTabNavigation]=\"hasTabNavigation\" width=\"340px\" #dropdown (expand)=\"onDropdownExpand($event)\">\n <ng-container *ngTemplateOutlet=\"userProfileContent\"/>\n <eui-dropdown-content>\n <ng-content/>\n </eui-dropdown-content>\n </eui-dropdown>\n} @else {\n <ng-container *ngTemplateOutlet=\"userProfileContent\"/>\n}\n\n<ng-template #userProfileContent>\n <button class=\"eui-user-profile-content\" [tabindex]=\"hasMenu ? '0' : '-1'\" [class.eui-user-profile-content--no-menu]=\"!hasMenu\">\n\n @if (isShowUserInfos) {\n <div class=\"eui-user-profile__infos\">\n @if (userState?.impersonatingUser) {\n <div class=\"eui-user-profile__infos-welcome\">\n @if (hasWelcomeLabel) {\n <span>{{ welcomeLabel }}</span>\n }\n {{ userState?.impersonatingUser?.firstName }} <strong>{{ userState?.impersonatingUser?.lastName}}</strong>\n <span> {{ impersonateLabel }}</span>\n </div>\n <div class=\"eui-user-profile__infos-name\">\n {{ userState?.firstName }} <strong>{{ userState?.lastName }}</strong>\n </div>\n @if (subInfos) {\n <div class=\"eui-user-profile__infos-subinfos\">{{ subInfos }}</div>\n }\n } @else {\n @if (hasWelcomeLabel) {\n <div class=\"eui-user-profile__infos-welcome\">{{ welcomeLabel }}</div>\n }\n <div class=\"eui-user-profile__infos-name\">\n {{ userState?.firstName }} <strong>{{ userState?.lastName }}</strong>\n </div>\n @if (subInfos) {\n <div class=\"eui-user-profile__infos-subinfos\">{{ subInfos }}</div>\n }\n }\n </div>\n }\n\n <eui-avatar isFlat [euiSizeS]=\"baseStatesDirective.euiSizeS\" [hasShadow]=\"userState?.impersonatingUser\">\n\n @if (isShowAvatarInitials) {\n <eui-avatar-text>{{ avatarInitials }}</eui-avatar-text>\n } @else {\n <eui-avatar-image [imageUrl]=\"avatarUrl\"/>\n }\n\n @if (euiStatusSecondary || euiStatusSuccess || euiStatusDanger) {\n <eui-avatar-badge position=\"bottom\">\n @if (euiStatusSuccess) {\n <eui-badge euiSuccess euiSizeS euiIconBadge>\n <eui-icon-svg icon=\"checkmark:outline\" size=\"xs\"/>\n </eui-badge>\n } @else if (euiStatusDanger) {\n <eui-badge euiDanger euiSizeS euiIconBadge>\n <eui-icon-svg icon=\"remove:outline\" size=\"xs\"/>\n </eui-badge>\n } @else if (euiStatusSecondary) {\n <eui-badge euiSecondary euiSizeS euiIconBadge>\n <eui-icon-svg icon=\"close-circle:outline\" fillColor=\"neutral\" size=\"xs\"/>\n </eui-badge>\n }\n </eui-avatar-badge>\n }\n </eui-avatar>\n\n @if (hasMenu || hasToggle) {\n @if (isDropdownOpen) {\n <eui-icon-svg icon=\"chevron-up:sharp\" size=\"s\" class=\"eui-user-profile__drop-indicator\"/>\n } @else {\n <eui-icon-svg icon=\"chevron-down:sharp\" size=\"s\" class=\"eui-user-profile__drop-indicator\"/>\n }\n }\n </button>\n</ng-template>\n","import { Component, HostBinding, ChangeDetectionStrategy, ViewEncapsulation, Input, OnInit, EventEmitter, Output, OnDestroy, booleanAttribute } from '@angular/core';\nimport { UserProfile } from '../user-profile.component';\nimport { UserService } from '@eui/core';\nimport { takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\n\n@Component({\n selector: 'eui-user-profile-card',\n templateUrl: './user-profile-card.component.html',\n changeDetection: ChangeDetectionStrategy.Default,\n encapsulation: ViewEncapsulation.None,\n standalone: false,\n})\nexport class EuiUserProfileCardComponent implements OnInit, OnDestroy {\n @HostBinding('class')\n public get cssClasses(): string {\n return 'eui-user-profile-card';\n }\n\n avatarInitials: string;\n userState: UserProfile;\n isOnline = true;\n\n @Input() impersonateLabel = 'impersonating';\n @Input() showDetailsLabel = 'Show profile details';\n @Input() avatarUrl: string;\n @Input({ transform: booleanAttribute }) isShowAvatarInitials = false;\n\n @Output() showProfileInfo: EventEmitter<void> = new EventEmitter();\n @Output() closeProfileMenu: EventEmitter<void> = new EventEmitter();\n\n private unsubscribeSubject$: Subject<void> = new Subject();\n\n constructor(\n private userService: UserService<UserProfile>,\n ) {}\n\n ngOnInit(): void {\n this.userService\n .getState()\n .pipe(\n takeUntil(this.unsubscribeSubject$),\n )\n .subscribe((state) => {\n if (state) {\n const firstNameInitial = state.firstName?.substring(0, 1).toUpperCase();\n const lastNameInitial = state.lastName?.substring(0, 1).toUpperCase();\n this.avatarInitials = `${firstNameInitial}${lastNameInitial}`;\n this.userState = state;\n }\n });\n }\n\n ngOnDestroy(): void {\n this.unsubscribeSubject$.next();\n this.unsubscribeSubject$.complete();\n }\n\n onShowInfoClick(): void {\n this.showProfileInfo.emit();\n }\n\n onClose(): void {\n this.closeProfileMenu.emit();\n }\n}\n","<div class=\"eui-user-profile-card__main-wrapper\">\n <div class=\"eui-user-profile-card__avatar-wrapper\">\n <eui-avatar euiSizeL isFlat>\n <eui-avatar-text *ngIf=\"isShowAvatarInitials; else noAvatarInitials\">\n {{ avatarInitials }}\n </eui-avatar-text>\n <ng-template #noAvatarInitials>\n <eui-avatar-image *ngIf=\"!avatarUrl\"></eui-avatar-image>\n <eui-avatar-image *ngIf=\"avatarUrl\" [imageUrl]=\"avatarUrl\"></eui-avatar-image>\n </ng-template>\n </eui-avatar>\n </div>\n <div class=\"eui-user-profile-card__userInfos\">\n <div class=\"eui-u-f-xl eui-u-mb-s\">{{ userState.fullName }}</div>\n <div *ngIf=\"userState.function\" class=\"eui-user-profile-card__userInfos-item\">\n {{ userState.function }}\n </div>\n <div *ngIf=\"userState.organisation && userState.organisation.code\" class=\"eui-user-profile-card__userInfos-item\">\n {{ userState.organisation.code }}\n </div>\n </div>\n <div class=\"eui-user-profile-card__main-wrapper-right-content\">\n <eui-icon-button icon=\"close:outline\" size=\"s\" euiRounded (buttonClick)=\"onClose()\"/>\n <button euiButton euiIconButton euiInfo euiSizeS class=\"eui-u-ml-auto eui-u-mt-m\" tabindex=\"0\" (click)=\"onShowInfoClick()\" title=\"{{ showDetailsLabel }}\">\n <eui-icon-svg icon=\"information:outline\"></eui-icon-svg>\n </button>\n </div>\n</div>\n\n<ng-container *ngIf=\"userState?.impersonatingUser\">\n <div class=\"eui-user-profile-card__impersonateInfos\">\n <div>{{ userState?.impersonatingUser?.firstName }} {{ userState?.impersonatingUser?.lastName }}</div>\n <div class=\"eui-u-mt-2xs\">{{ impersonateLabel }}</div>\n <div class=\"eui-u-mt-2xs\">\n <strong>{{ userState?.fullName }}</strong>\n </div>\n </div>\n</ng-container>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { EuiDropdownModule } from '@eui/components/eui-dropdown';\nimport { EuiIconModule } from '@eui/components/eui-icon';\nimport { EuiButtonModule } from '@eui/components/eui-button';\nimport { EuiUserProfileMenuComponent } from './user-profile-menu/user-profile-menu.component';\nimport { EuiUserProfileMenuItemComponent } from './user-profile-menu-item/user-profile-menu-item.component';\n\nimport { EuiUserProfileComponent } from './user-profile.component';\nimport { EuiUserProfileCardComponent } from './user-profile-card/user-profile-card.component';\n\nimport { EuiAvatarModule } from '@eui/components/eui-avatar';\nimport { EuiBadgeModule } from '@eui/components/eui-badge';\nimport { EuiIconButtonModule } from '@eui/components/eui-icon-button';\n\nconst COMPONENTS = [EuiUserProfileComponent, EuiUserProfileMenuComponent, EuiUserProfileMenuItemComponent, EuiUserProfileCardComponent];\n\n@NgModule({\n imports: [\n CommonModule,\n EuiIconModule,\n EuiDropdownModule, EuiButtonModule, EuiAvatarModule,\n EuiIconButtonModule,\n EuiBadgeModule,\n ],\n declarations: [...COMPONENTS],\n exports: [...COMPONENTS],\n})\nexport class EuiUserProfileModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i5","i2","i3","i4","i6"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;MASa,+BAA+B,CAAA;AAKxC,IAAA,WAAA,CAAoB,OAAmB,EAAA;QAAnB,IAAO,CAAA,OAAA,GAAP,OAAO;QAJL,IAAK,CAAA,KAAA,GAAG,4BAA4B;QAC5B,IAAQ,CAAA,QAAA,GAAG,IAAI;QACnB,IAAI,CAAA,IAAA,GAAG,UAAU;;IAI3C,KAAK,GAAA;AACD,QAAA,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,KAAK,EAAE;;8GAR7B,+BAA+B,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA/B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,+BAA+B,oMAJ9B,2BAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;2FAI5B,+BAA+B,EAAA,UAAA,EAAA,CAAA;kBAN3C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,4BAA4B;AACtC,oBAAA,QAAQ,EAAE,2BAA2B;oBACrC,aAAa,EAAE,iBAAiB,CAAC,IAAI;AACrC,oB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,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,YATzB,YAAY;YACZ,aAAa;YACb,iBAAiB,EAAE,eAAe,EAAE,eAAe;YACnD,mBAAmB;YACnB,cAAc,CAAA,EAAA,CAAA,CAAA;;2FAKT,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAXhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE;wBACL,YAAY;wBACZ,aAAa;wBACb,iBAAiB,EAAE,eAAe,EAAE,eAAe;wBACnD,mBAAmB;wBACnB,cAAc;AACjB,qBAAA;AACD,oBAAA,YAAY,EAAE,CAAC,GAAG,UAAU,CAAC;AAC7B,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AAC3B,iBAAA;;;AC5BD;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"eui-components-eui-user-profile.mjs","sources":["../../eui-user-profile/user-profile-menu-item/user-profile-menu-item.component.ts","../../eui-user-profile/user-profile-menu/user-profile-menu.component.ts","../../eui-user-profile/user-profile.component.ts","../../eui-user-profile/user-profile.component.html","../../eui-user-profile/user-profile-card/user-profile-card.component.ts","../../eui-user-profile/user-profile-card/user-profile-card.component.html","../../eui-user-profile/user-profile.module.ts","../../eui-user-profile/eui-components-eui-user-profile.ts"],"sourcesContent":["import { Component, HostBinding, ViewEncapsulation, ElementRef } from '@angular/core';\nimport { FocusableOption } from '@angular/cdk/a11y';\n\n@Component({\n selector: 'eui-user-profile-menu-item',\n template: '<ng-content></ng-content>',\n encapsulation: ViewEncapsulation.None,\n standalone: false,\n})\nexport class EuiUserProfileMenuItemComponent implements FocusableOption {\n @HostBinding('class') class = 'eui-user-profile-menu-item';\n @HostBinding('attr.tabindex') tabindex = '-1';\n @HostBinding('attr.role') role = 'menuitem';\n\n constructor(private element: ElementRef) {}\n\n focus(): void {\n this.element.nativeElement.focus();\n }\n}\n","import {\n Component,\n HostBinding,\n ViewEncapsulation,\n AfterContentInit,\n QueryList,\n ContentChildren,\n OnDestroy,\n HostListener,\n forwardRef,\n} from '@angular/core';\nimport { FocusKeyManager } from '@angular/cdk/a11y';\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\n\nimport { EuiUserProfileMenuItemComponent } from '../user-profile-menu-item/user-profile-menu-item.component';\nimport { EuiDropdownService } from '@eui/components/eui-dropdown';\n\n@Component({\n selector: 'eui-user-profile-menu',\n template: '<ng-content></ng-content>',\n encapsulation: ViewEncapsulation.None,\n standalone: false,\n})\nexport class EuiUserProfileMenuComponent implements AfterContentInit, OnDestroy {\n @HostBinding() class = 'eui-user-profile-menu';\n @HostBinding('attr.role') role = 'menu';\n\n @ContentChildren(forwardRef(() => EuiUserProfileMenuItemComponent)) items: QueryList<EuiUserProfileMenuItemComponent>;\n private focusKeyManager: FocusKeyManager<EuiUserProfileMenuItemComponent>;\n private destroy$: Subject<boolean> = new Subject<boolean>();\n\n constructor(private dropdownService: EuiDropdownService) {}\n\n @HostListener('keydown', ['$event'])\n onKeydown(event): void {\n this.focusKeyManager.onKeydown(event);\n }\n\n ngAfterContentInit(): void {\n this.dropdownService.isDropdownOpen.pipe(takeUntil(this.destroy$)).subscribe((isOpen: boolean) => {\n if (isOpen) {\n this.focusKeyManager = new FocusKeyManager(this.items).withWrap();\n this.focusKeyManager.setFirstItemActive();\n }\n });\n }\n\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.unsubscribe();\n }\n}\n","import { Component, HostBinding, ChangeDetectionStrategy, ViewEncapsulation, Input, OnInit, ViewChild, OnDestroy, Host, Optional, Inject, forwardRef, AfterContentInit, ContentChild, QueryList, AfterViewInit, ContentChildren, ElementRef, booleanAttribute, Renderer2 } from '@angular/core';\nimport { UserState } from '@eui/core';\nimport { UserService } from '@eui/core';\nimport { takeUntil } from 'rxjs/operators';\nimport { EuiDropdownComponent } from '@eui/components/eui-dropdown';\nimport { Subject } from 'rxjs';\nimport { BaseStatesDirective } from '@eui/components/shared';\nimport { EuiUserProfileMenuComponent } from './user-profile-menu/user-profile-menu.component';\n\nexport interface UserProfile extends UserState {\n impersonatingUser?: UserProfile;\n function?: string;\n organisation?: {\n code: string\n }\n}\n\n@Component({\n selector: 'eui-user-profile',\n templateUrl: './user-profile.component.html',\n styleUrls: ['./_styles/_index.scss'],\n changeDetection: ChangeDetectionStrategy.Default,\n encapsulation: ViewEncapsulation.None,\n standalone: false,\n hostDirectives: [\n {\n directive: BaseStatesDirective,\n inputs: [\n 'euiSizeS',\n 'euiSecondary',\n 'euiPrimary',\n ],\n },\n ],\n})\nexport class EuiUserProfileComponent implements OnInit, OnDestroy, AfterViewInit {\n @HostBinding('class')\n public get cssClasses(): string {\n return [\n this.baseStatesDirective.getCssClasses('eui-user-profile'),\n this.isReverse ? 'eui-user-profile--reverse': '',\n this.isShowAvatarInitials ? 'eui-user-profile--initials': '',\n ].join(' ').trim();\n }\n\n userState: UserProfile;\n isOnline = true;\n avatarInitials: string;\n\n @Input() welcomeLabel = 'Welcome';\n @Input() impersonateLabel = 'impersonating';\n @Input() avatarUrl: string;\n @Input() subInfos: string;\n @Input() statusVariant = 'success';\n\n @Input({ transform: booleanAttribute }) hasMenu = false;\n @Input({ transform: booleanAttribute }) hasWelcomeLabel = true;\n @Input({ transform: booleanAttribute }) isShowAvatarInitials = false;\n @Input({ transform: booleanAttribute }) hasTabNavigation = false;\n @Input({ transform: booleanAttribute }) isReverse = false;\n @Input({ transform: booleanAttribute }) hasToggle = false;\n @Input({ transform: booleanAttribute }) isHeaderUserProfile = false;\n @Input({ transform: booleanAttribute }) isShowUserInfos = true;\n\n @Input({ transform: booleanAttribute }) euiStatusSecondary = false;\n @Input({ transform: booleanAttribute }) euiStatusSuccess = false;\n @Input({ transform: booleanAttribute }) euiStatusDanger = false;\n\n @ViewChild('dropdown') dropdown: EuiDropdownComponent;\n @ContentChildren(forwardRef(() => EuiUserProfileMenuComponent), { descendants: true })\n hasMenuContent: QueryList<EuiUserProfileMenuComponent>;\n\n isDropdownOpen = false;\n\n private unsubscribeSubject$: Subject<void> = new Subject();\n\n constructor(\n private elRef: ElementRef,\n private userService: UserService,\n public baseStatesDirective: BaseStatesDirective,\n ) {\n }\n\n ngOnInit(): void {\n this.userService\n .getState()\n .pipe(takeUntil(this.unsubscribeSubject$))\n .subscribe((state: UserProfile) => {\n if (state) {\n this.userState = state;\n const firstNameInitial = state.firstName?.substring(0, 1).toUpperCase();\n const lastNameInitial = state.lastName?.substring(0, 1).toUpperCase();\n this.avatarInitials = `${firstNameInitial}${lastNameInitial}`;\n }\n });\n }\n\n ngAfterViewInit(): void {\n let hasToolbarItemParent = false, toolbar;\n\n try {\n hasToolbarItemParent = this.elRef.nativeElement.closest('eui-toolbar-item');\n toolbar = this.elRef.nativeElement.closest('eui-toolbar');\n } catch(e) {\n // do nothing\n }\n\n setTimeout(() => {\n if (hasToolbarItemParent) {\n this.baseStatesDirective.euiSizeS = true;\n if (toolbar && toolbar.classList.contains('eui--secondary') || this.baseStatesDirective.euiSecondary) {\n this.baseStatesDirective.euiSecondary = true;\n } else {\n this.baseStatesDirective.euiPrimary = true;\n }\n }\n if (hasToolbarItemParent || !this.isHeaderUserProfile) {\n this.hasMenu = this.hasMenuContent.length !== 0;\n }\n });\n }\n\n ngOnDestroy(): void {\n this.unsubscribeSubject$.next();\n this.unsubscribeSubject$.complete();\n }\n\n closeDropdown(): void {\n this.dropdown.closeDropdown();\n this.isDropdownOpen = false;\n }\n\n onDropdownExpand(isOpen: boolean): void {\n this.isDropdownOpen = isOpen;\n }\n}\n","@if (hasMenu) {\n <eui-dropdown [hasTabNavigation]=\"hasTabNavigation\" width=\"340px\" #dropdown (expand)=\"onDropdownExpand($event)\">\n <ng-container *ngTemplateOutlet=\"userProfileContent\"/>\n <eui-dropdown-content>\n <ng-content/>\n </eui-dropdown-content>\n </eui-dropdown>\n} @else {\n <ng-container *ngTemplateOutlet=\"userProfileContent\"/>\n}\n\n<ng-template #userProfileContent>\n <button class=\"eui-user-profile-content\" [tabindex]=\"hasMenu ? '0' : '-1'\" [class.eui-user-profile-content--no-menu]=\"!hasMenu\">\n\n @if (isShowUserInfos) {\n <div class=\"eui-user-profile__infos\">\n @if (userState?.impersonatingUser) {\n <div class=\"eui-user-profile__infos-welcome\">\n @if (hasWelcomeLabel) {\n <span>{{ welcomeLabel }}</span>\n }\n {{ userState?.impersonatingUser?.firstName }} <strong>{{ userState?.impersonatingUser?.lastName}}</strong>\n <span> {{ impersonateLabel }}</span>\n </div>\n <div class=\"eui-user-profile__infos-name\">\n {{ userState?.firstName }} <strong>{{ userState?.lastName }}</strong>\n </div>\n @if (subInfos) {\n <div class=\"eui-user-profile__infos-subinfos\">{{ subInfos }}</div>\n }\n } @else {\n @if (hasWelcomeLabel) {\n <div class=\"eui-user-profile__infos-welcome\">{{ welcomeLabel }}</div>\n }\n <div class=\"eui-user-profile__infos-name\">\n {{ userState?.firstName }} <strong>{{ userState?.lastName }}</strong>\n </div>\n @if (subInfos) {\n <div class=\"eui-user-profile__infos-subinfos\">{{ subInfos }}</div>\n }\n }\n </div>\n }\n\n <eui-avatar isFlat [euiSizeS]=\"baseStatesDirective.euiSizeS\" [hasShadow]=\"userState?.impersonatingUser\">\n\n @if (isShowAvatarInitials) {\n <eui-avatar-text>{{ avatarInitials }}</eui-avatar-text>\n } @else {\n <eui-avatar-image [imageUrl]=\"avatarUrl\"/>\n }\n\n @if (euiStatusSecondary || euiStatusSuccess || euiStatusDanger) {\n <eui-avatar-badge position=\"bottom\">\n @if (euiStatusSuccess) {\n <eui-badge euiSuccess euiSizeS euiIconBadge>\n <eui-icon-svg icon=\"checkmark:outline\" size=\"xs\"/>\n </eui-badge>\n } @else if (euiStatusDanger) {\n <eui-badge euiDanger euiSizeS euiIconBadge>\n <eui-icon-svg icon=\"remove:outline\" size=\"xs\"/>\n </eui-badge>\n } @else if (euiStatusSecondary) {\n <eui-badge euiSecondary euiSizeS euiIconBadge>\n <eui-icon-svg icon=\"close-circle:outline\" fillColor=\"neutral\" size=\"xs\"/>\n </eui-badge>\n }\n </eui-avatar-badge>\n }\n </eui-avatar>\n\n @if (hasMenu || hasToggle) {\n @if (isDropdownOpen) {\n <eui-icon-svg icon=\"chevron-up:sharp\" size=\"s\" class=\"eui-user-profile__drop-indicator\"/>\n } @else {\n <eui-icon-svg icon=\"chevron-down:sharp\" size=\"s\" class=\"eui-user-profile__drop-indicator\"/>\n }\n }\n </button>\n</ng-template>\n","import { Component, HostBinding, ChangeDetectionStrategy, ViewEncapsulation, Input, OnInit, EventEmitter, Output, OnDestroy, booleanAttribute } from '@angular/core';\nimport { UserProfile } from '../user-profile.component';\nimport { UserService } from '@eui/core';\nimport { takeUntil } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\n\n@Component({\n selector: 'eui-user-profile-card',\n templateUrl: './user-profile-card.component.html',\n changeDetection: ChangeDetectionStrategy.Default,\n encapsulation: ViewEncapsulation.None,\n standalone: false,\n})\nexport class EuiUserProfileCardComponent implements OnInit, OnDestroy {\n @HostBinding('class')\n public get cssClasses(): string {\n return 'eui-user-profile-card';\n }\n\n avatarInitials: string;\n userState: UserProfile;\n isOnline = true;\n\n @Input() impersonateLabel = 'impersonating';\n @Input() showDetailsLabel = 'Show profile details';\n @Input() avatarUrl: string;\n @Input({ transform: booleanAttribute }) isShowAvatarInitials = false;\n\n @Output() showProfileInfo: EventEmitter<void> = new EventEmitter();\n @Output() closeProfileMenu: EventEmitter<void> = new EventEmitter();\n\n private unsubscribeSubject$: Subject<void> = new Subject();\n\n constructor(\n private userService: UserService<UserProfile>,\n ) {}\n\n ngOnInit(): void {\n this.userService\n .getState()\n .pipe(\n takeUntil(this.unsubscribeSubject$),\n )\n .subscribe((state) => {\n if (state) {\n const firstNameInitial = state.firstName?.substring(0, 1).toUpperCase();\n const lastNameInitial = state.lastName?.substring(0, 1).toUpperCase();\n this.avatarInitials = `${firstNameInitial}${lastNameInitial}`;\n this.userState = state;\n }\n });\n }\n\n ngOnDestroy(): void {\n this.unsubscribeSubject$.next();\n this.unsubscribeSubject$.complete();\n }\n\n onShowInfoClick(): void {\n this.showProfileInfo.emit();\n }\n\n onClose(): void {\n this.closeProfileMenu.emit();\n }\n}\n","<div class=\"eui-user-profile-card__main-wrapper\">\n <div class=\"eui-user-profile-card__avatar-wrapper\">\n <eui-avatar euiSizeL isFlat>\n <eui-avatar-text *ngIf=\"isShowAvatarInitials; else noAvatarInitials\">\n {{ avatarInitials }}\n </eui-avatar-text>\n <ng-template #noAvatarInitials>\n <eui-avatar-image *ngIf=\"!avatarUrl\"></eui-avatar-image>\n <eui-avatar-image *ngIf=\"avatarUrl\" [imageUrl]=\"avatarUrl\"></eui-avatar-image>\n </ng-template>\n </eui-avatar>\n </div>\n <div class=\"eui-user-profile-card__userInfos\">\n <div class=\"eui-u-f-xl eui-u-mb-s\">{{ userState.fullName }}</div>\n <div *ngIf=\"userState.function\" class=\"eui-user-profile-card__userInfos-item\">\n {{ userState.function }}\n </div>\n <div *ngIf=\"userState.organisation && userState.organisation.code\" class=\"eui-user-profile-card__userInfos-item\">\n {{ userState.organisation.code }}\n </div>\n </div>\n <div class=\"eui-user-profile-card__main-wrapper-right-content\">\n <eui-icon-button icon=\"close:outline\" size=\"s\" euiRounded (buttonClick)=\"onClose()\"/>\n <button euiButton euiIconButton euiInfo euiSizeS class=\"eui-u-ml-auto eui-u-mt-m\" tabindex=\"0\" (click)=\"onShowInfoClick()\" title=\"{{ showDetailsLabel }}\">\n <eui-icon-svg icon=\"information:outline\"></eui-icon-svg>\n </button>\n </div>\n</div>\n\n<ng-container *ngIf=\"userState?.impersonatingUser\">\n <div class=\"eui-user-profile-card__impersonateInfos\">\n <div>{{ userState?.impersonatingUser?.firstName }} {{ userState?.impersonatingUser?.lastName }}</div>\n <div class=\"eui-u-mt-2xs\">{{ impersonateLabel }}</div>\n <div class=\"eui-u-mt-2xs\">\n <strong>{{ userState?.fullName }}</strong>\n </div>\n </div>\n</ng-container>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { EuiDropdownModule } from '@eui/components/eui-dropdown';\nimport { EuiIconModule } from '@eui/components/eui-icon';\nimport { EuiButtonModule } from '@eui/components/eui-button';\nimport { EuiUserProfileMenuComponent } from './user-profile-menu/user-profile-menu.component';\nimport { EuiUserProfileMenuItemComponent } from './user-profile-menu-item/user-profile-menu-item.component';\n\nimport { EuiUserProfileComponent } from './user-profile.component';\nimport { EuiUserProfileCardComponent } from './user-profile-card/user-profile-card.component';\n\nimport { EuiAvatarModule } from '@eui/components/eui-avatar';\nimport { EuiBadgeModule } from '@eui/components/eui-badge';\nimport { EuiIconButtonModule } from '@eui/components/eui-icon-button';\n\nconst COMPONENTS = [EuiUserProfileComponent, EuiUserProfileMenuComponent, EuiUserProfileMenuItemComponent, EuiUserProfileCardComponent];\n\n@NgModule({\n imports: [\n CommonModule,\n EuiIconModule,\n EuiDropdownModule, EuiButtonModule, EuiAvatarModule,\n EuiIconButtonModule,\n EuiBadgeModule,\n ],\n declarations: [...COMPONENTS],\n exports: [...COMPONENTS],\n})\nexport class EuiUserProfileModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i5","i2","i3","i4","i6"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;MASa,+BAA+B,CAAA;AAKxC,IAAA,WAAA,CAAoB,OAAmB,EAAA;QAAnB,IAAO,CAAA,OAAA,GAAP,OAAO;QAJL,IAAK,CAAA,KAAA,GAAG,4BAA4B;QAC5B,IAAQ,CAAA,QAAA,GAAG,IAAI;QACnB,IAAI,CAAA,IAAA,GAAG,UAAU;;IAI3C,KAAK,GAAA;AACD,QAAA,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,KAAK,EAAE;;8GAR7B,+BAA+B,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA/B,IAAA,SAAA,IAA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AAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAApB,oBAAoB,EAAA,YAAA,EAAA,CAbb,uBAAuB,EAAE,2BAA2B,EAAE,+BAA+B,EAAE,2BAA2B,CAAA,EAAA,OAAA,EAAA,CAI9H,YAAY;YACZ,aAAa;YACb,iBAAiB,EAAE,eAAe,EAAE,eAAe;YACnD,mBAAmB;AACnB,YAAA,cAAc,aARF,uBAAuB,EAAE,2BAA2B,EAAE,+BAA+B,EAAE,2BAA2B,CAAA,EAAA,CAAA,CAAA;AAazH,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,YATzB,YAAY;YACZ,aAAa;YACb,iBAAiB,EAAE,eAAe,EAAE,eAAe;YACnD,mBAAmB;YACnB,cAAc,CAAA,EAAA,CAAA,CAAA;;2FAKT,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAXhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE;wBACL,YAAY;wBACZ,aAAa;wBACb,iBAAiB,EAAE,eAAe,EAAE,eAAe;wBACnD,mBAAmB;wBACnB,cAAc;AACjB,qBAAA;AACD,oBAAA,YAAY,EAAE,CAAC,GAAG,UAAU,CAAC;AAC7B,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AAC3B,iBAAA;;;AC5BD;;AAEG;;;;"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
|
-
import { booleanAttribute, Component,
|
2
|
+
import { booleanAttribute, Component, ViewEncapsulation, Input, EventEmitter, Output, ContentChildren, ViewChildren, Injectable, NgModule } from '@angular/core';
|
3
3
|
import * as i1 from '@angular/common';
|
4
4
|
import { CommonModule } from '@angular/common';
|
5
5
|
import { uniqueId, consumeEvent } from '@eui/core';
|
@@ -38,11 +38,11 @@ class EuiWizardStepComponent {
|
|
38
38
|
};
|
39
39
|
}
|
40
40
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EuiWizardStepComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
41
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.0.0", type: EuiWizardStepComponent, isStandalone: false, selector: "eui-wizard-step", inputs: { id: "id", indexLabel: "indexLabel", indexIconSvgName: "indexIconSvgName", label: "label", subLabel: "subLabel", index: "index", url: "url", isCompleted: ["isCompleted", "isCompleted", booleanAttribute], isActive: ["isActive", "isActive", booleanAttribute], isShowStepTitle: ["isShowStepTitle", "isShowStepTitle", booleanAttribute], isInvalid: ["isInvalid", "isInvalid", booleanAttribute], isWarning: ["isWarning", "isWarning", booleanAttribute], isDisabled: ["isDisabled", "isDisabled", booleanAttribute] }, ngImport: i0, template: "<ng-container *ngIf=\"isActive\">\n <ng-content></ng-content>\n</ng-container>\n", styles: [".eui-19 .eui-wizard{border-bottom:1px solid var(--eui-c-neutral-lightest);display:flex;margin:var(--eui-s-xl) 0 -1px 0;padding-bottom:var(--eui-s-l)}.eui-19 .eui-wizard-step{cursor:pointer;flex:1;position:relative;text-align:center}.eui-19 .eui-wizard-step__content{margin:var(--eui-s-m) 0}.eui-19 .eui-wizard-step__current-marker{bottom:0;left:50%;position:absolute;transform:translate(-50%,90%)}.eui-19 .eui-wizard-step__indicator-wrapper{border-bottom:var(--eui-bw-s) solid var(--eui-c-neutral-lightest);content:\"\";margin-bottom:var(--eui-s-s);top:var(--eui-s-s);width:100%}.eui-19 .eui-wizard-step__bullet-item{display:flex;align-items:center;justify-content:center;background-color:var(--eui-c-white);border:var(--eui-bw-s) solid var(--eui-c-neutral-light);border-color:var(--eui-c-neutral-light);border-radius:var(--eui-br-max);height:var(--eui-s-3xl);margin:0 auto;margin-top:-2rem;padding-top:var(--eui-s-xs);width:var(--eui-s-3xl)}.eui-19 .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-neutral);fill:var(--eui-c-neutral)}.eui-19 .eui-wizard-step__bullet-item-text{margin-top:-.5rem;font:var(--eui-f-l)}.eui-19 .eui-wizard-step__label-wrapper{margin-top:var(--eui-s-m)}.eui-19 .eui-wizard-step__label-wrapper-label{color:var(--eui-c-neutral);font:var(--eui-f-m-bold)}.eui-19 .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-c-neutral-light);font-size:95%;margin-top:var(--eui-s-2xs)}.eui-19 .eui-wizard-step:first-child .eui-19 .eui-wizard-step__indicator-wrapper{margin-left:50%;width:50%}.eui-19 .eui-wizard-step:last-child .eui-19 .eui-wizard-step__indicator-wrapper{margin-right:50%;width:50%}.eui-19 .eui-wizard-step:focus .eui-wizard-step__bullet-item{outline:var(--eui-bw-s) solid var(--eui-c-focus-visible);outline-offset:2px}.eui-19 .eui-wizard-step--active .eui-wizard-step__bullet-item{background-color:var(--eui-c-primary-dark);border-color:var(--eui-c-primary-dark)}.eui-19 .eui-wizard-step--active .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-primary-dark-contrast);fill:var(--eui-c-primary-dark-contrast)}.eui-19 .eui-wizard-step--active .eui-wizard-step__label-wrapper-label,.eui-19 .eui-wizard-step--active .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-c-primary-dark)}.eui-19 .eui-wizard-step--completed .eui-wizard-step__bullet-item{border-color:var(--eui-c-success-dark)}.eui-19 .eui-wizard-step--completed .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-success-dark);fill:var(--eui-c-success-dark)}.eui-19 .eui-wizard-step--completed .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-c-success-dark)}.eui-19 .eui-wizard-step--completed .eui-wizard-step__label-wrapper-label,.eui-19 .eui-wizard-step--completed .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-c-success-dark)}.eui-19 .eui-wizard-step--completed.eui-wizard-step--active .eui-wizard-step__bullet-item{background-color:var(--eui-c-success-dark)}.eui-19 .eui-wizard-step--completed.eui-wizard-step--active .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-white);fill:var(--eui-c-white)}.eui-19 .eui-wizard-step--error .eui-wizard-step__bullet-item{border-color:var(--eui-c-danger-dark)}.eui-19 .eui-wizard-step--error .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-danger-dark);fill:var(--eui-c-danger-dark)}.eui-19 .eui-wizard-step--error .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-c-danger-dark)}.eui-19 .eui-wizard-step--error .eui-wizard-step__label-wrapper-label,.eui-19 .eui-wizard-step--error .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-c-danger-dark)}.eui-19 .eui-wizard-step--error.eui-wizard-step--active .eui-wizard-step__bullet-item{background-color:var(--eui-c-danger-dark)}.eui-19 .eui-wizard-step--error.eui-wizard-step--active .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-danger-contrast);fill:var(--eui-c-danger-contrast)}.eui-19 .eui-wizard-step--warning .eui-wizard-step__bullet-item{border-color:var(--eui-c-warning)}.eui-19 .eui-wizard-step--warning .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-warning);fill:var(--eui-c-warning)}.eui-19 .eui-wizard-step--warning .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-c-warning)}.eui-19 .eui-wizard-step--warning .eui-wizard-step__label-wrapper-label,.eui-19 .eui-wizard-step--warning .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-c-warning-darker)}.eui-19 .eui-wizard-step--warning.eui-wizard-step--active .eui-wizard-step__bullet-item{background-color:var(--eui-c-warning)}.eui-19 .eui-wizard-step--warning.eui-wizard-step--active .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-warning-contrast);fill:var(--eui-c-warning-contrast)}.eui-19 .eui-wizard-step--disabled .eui-wizard-step__bullet-item{background-color:var(--eui-c-white);border-color:var(--eui-c-neutral-lightest)}.eui-19 .eui-wizard-step--disabled .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-neutral-lightest);fill:var(--eui-c-neutral-lightest)}.eui-19 .eui-wizard-step--disabled .eui-wizard-step__label-wrapper-label,.eui-19 .eui-wizard-step--disabled .eui-wizard-step__label-wrapper-sub-label,.eui-19 .eui-wizard-step--disabled .eui-wizard-step__bullet-item{border-color:var(--eui-c-neutral-lightest);color:var(--eui-c-neutral)}.eui-19 .eui-wizard-step--disabled .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-c-neutral-lightest)}.eui-19 .eui-wizard-step--disabled:hover{cursor:not-allowed}.eui-19 .eui-wizard-step--notallowed .eui-wizard-step__bullet-item-icon{color:var(--eui-c-white)}.eui-19 .eui-wizard-step--notallowed.eui-wizard-step--disabled .eui-wizard-step__bullet-item-icon{color:var(--eui-c-neutral-light)}.eui-19 .eui-wizard-step--notallowed.eui-wizard-step--disabled.eui-wizard-step--completed .eui-wizard-step__bullet-item-icon,.eui-19 .eui-wizard-step--notallowed.eui-wizard-step--disabled.eui-wizard-step--error .eui-wizard-step__bullet-item-icon{color:var(--eui-c-white)}.eui-19 .eui-wizard-step--notallowed:hover{cursor:not-allowed}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }],
|
41
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.0.0", type: EuiWizardStepComponent, isStandalone: false, selector: "eui-wizard-step", inputs: { id: "id", indexLabel: "indexLabel", indexIconSvgName: "indexIconSvgName", label: "label", subLabel: "subLabel", index: "index", url: "url", isCompleted: ["isCompleted", "isCompleted", booleanAttribute], isActive: ["isActive", "isActive", booleanAttribute], isShowStepTitle: ["isShowStepTitle", "isShowStepTitle", booleanAttribute], isInvalid: ["isInvalid", "isInvalid", booleanAttribute], isWarning: ["isWarning", "isWarning", booleanAttribute], isDisabled: ["isDisabled", "isDisabled", booleanAttribute] }, ngImport: i0, template: "<ng-container *ngIf=\"isActive\">\n <ng-content></ng-content>\n</ng-container>\n", styles: [".eui-19 .eui-wizard{border-bottom:1px solid var(--eui-c-neutral-lightest);display:flex;margin:var(--eui-s-xl) 0 -1px 0;padding-bottom:var(--eui-s-l)}.eui-19 .eui-wizard-step{cursor:pointer;flex:1;position:relative;text-align:center}.eui-19 .eui-wizard-step__content{margin:var(--eui-s-m) 0}.eui-19 .eui-wizard-step__current-marker{bottom:0;left:50%;position:absolute;transform:translate(-50%,90%)}.eui-19 .eui-wizard-step__indicator-wrapper{border-bottom:var(--eui-bw-s) solid var(--eui-c-neutral-lightest);content:\"\";margin-bottom:var(--eui-s-s);top:var(--eui-s-s);width:100%}.eui-19 .eui-wizard-step__bullet-item{display:flex;align-items:center;justify-content:center;background-color:var(--eui-c-white);border:var(--eui-bw-s) solid var(--eui-c-neutral-light);border-color:var(--eui-c-neutral-light);border-radius:var(--eui-br-max);height:var(--eui-s-3xl);margin:0 auto;margin-top:-2rem;padding-top:var(--eui-s-xs);width:var(--eui-s-3xl)}.eui-19 .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-neutral);fill:var(--eui-c-neutral)}.eui-19 .eui-wizard-step__bullet-item-text{margin-top:-.5rem;font:var(--eui-f-l)}.eui-19 .eui-wizard-step__label-wrapper{margin-top:var(--eui-s-m)}.eui-19 .eui-wizard-step__label-wrapper-label{color:var(--eui-c-neutral);font:var(--eui-f-m-bold)}.eui-19 .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-c-neutral-light);font-size:95%;margin-top:var(--eui-s-2xs)}.eui-19 .eui-wizard-step:first-child .eui-19 .eui-wizard-step__indicator-wrapper{margin-left:50%;width:50%}.eui-19 .eui-wizard-step:last-child .eui-19 .eui-wizard-step__indicator-wrapper{margin-right:50%;width:50%}.eui-19 .eui-wizard-step:focus .eui-wizard-step__bullet-item{outline:var(--eui-bw-s) solid var(--eui-c-focus-visible);outline-offset:2px}.eui-19 .eui-wizard-step--active .eui-wizard-step__bullet-item{background-color:var(--eui-c-primary-dark);border-color:var(--eui-c-primary-dark)}.eui-19 .eui-wizard-step--active .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-primary-dark-contrast);fill:var(--eui-c-primary-dark-contrast)}.eui-19 .eui-wizard-step--active .eui-wizard-step__label-wrapper-label,.eui-19 .eui-wizard-step--active .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-c-primary-dark)}.eui-19 .eui-wizard-step--completed .eui-wizard-step__bullet-item{border-color:var(--eui-c-success-dark)}.eui-19 .eui-wizard-step--completed .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-success-dark);fill:var(--eui-c-success-dark)}.eui-19 .eui-wizard-step--completed .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-c-success-dark)}.eui-19 .eui-wizard-step--completed .eui-wizard-step__label-wrapper-label,.eui-19 .eui-wizard-step--completed .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-c-success-dark)}.eui-19 .eui-wizard-step--completed.eui-wizard-step--active .eui-wizard-step__bullet-item{background-color:var(--eui-c-success-dark)}.eui-19 .eui-wizard-step--completed.eui-wizard-step--active .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-white);fill:var(--eui-c-white)}.eui-19 .eui-wizard-step--error .eui-wizard-step__bullet-item{border-color:var(--eui-c-danger-dark)}.eui-19 .eui-wizard-step--error .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-danger-dark);fill:var(--eui-c-danger-dark)}.eui-19 .eui-wizard-step--error .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-c-danger-dark)}.eui-19 .eui-wizard-step--error .eui-wizard-step__label-wrapper-label,.eui-19 .eui-wizard-step--error .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-c-danger-dark)}.eui-19 .eui-wizard-step--error.eui-wizard-step--active .eui-wizard-step__bullet-item{background-color:var(--eui-c-danger-dark)}.eui-19 .eui-wizard-step--error.eui-wizard-step--active .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-danger-contrast);fill:var(--eui-c-danger-contrast)}.eui-19 .eui-wizard-step--warning .eui-wizard-step__bullet-item{border-color:var(--eui-c-warning)}.eui-19 .eui-wizard-step--warning .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-warning);fill:var(--eui-c-warning)}.eui-19 .eui-wizard-step--warning .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-c-warning)}.eui-19 .eui-wizard-step--warning .eui-wizard-step__label-wrapper-label,.eui-19 .eui-wizard-step--warning .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-c-warning-darker)}.eui-19 .eui-wizard-step--warning.eui-wizard-step--active .eui-wizard-step__bullet-item{background-color:var(--eui-c-warning)}.eui-19 .eui-wizard-step--warning.eui-wizard-step--active .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-warning-contrast);fill:var(--eui-c-warning-contrast)}.eui-19 .eui-wizard-step--disabled .eui-wizard-step__bullet-item{background-color:var(--eui-c-white);border-color:var(--eui-c-neutral-lightest)}.eui-19 .eui-wizard-step--disabled .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-neutral-lightest);fill:var(--eui-c-neutral-lightest)}.eui-19 .eui-wizard-step--disabled .eui-wizard-step__label-wrapper-label,.eui-19 .eui-wizard-step--disabled .eui-wizard-step__label-wrapper-sub-label,.eui-19 .eui-wizard-step--disabled .eui-wizard-step__bullet-item{border-color:var(--eui-c-neutral-lightest);color:var(--eui-c-neutral)}.eui-19 .eui-wizard-step--disabled .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-c-neutral-lightest)}.eui-19 .eui-wizard-step--disabled:hover{cursor:not-allowed}.eui-19 .eui-wizard-step--notallowed .eui-wizard-step__bullet-item-icon{color:var(--eui-c-white)}.eui-19 .eui-wizard-step--notallowed.eui-wizard-step--disabled .eui-wizard-step__bullet-item-icon{color:var(--eui-c-neutral-light)}.eui-19 .eui-wizard-step--notallowed.eui-wizard-step--disabled.eui-wizard-step--completed .eui-wizard-step__bullet-item-icon,.eui-19 .eui-wizard-step--notallowed.eui-wizard-step--disabled.eui-wizard-step--error .eui-wizard-step__bullet-item-icon{color:var(--eui-c-white)}.eui-19 .eui-wizard-step--notallowed:hover{cursor:not-allowed}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
42
42
|
}
|
43
43
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EuiWizardStepComponent, decorators: [{
|
44
44
|
type: Component,
|
45
|
-
args: [{ selector: 'eui-wizard-step',
|
45
|
+
args: [{ selector: 'eui-wizard-step', encapsulation: ViewEncapsulation.None, standalone: false, template: "<ng-container *ngIf=\"isActive\">\n <ng-content></ng-content>\n</ng-container>\n", styles: [".eui-19 .eui-wizard{border-bottom:1px solid var(--eui-c-neutral-lightest);display:flex;margin:var(--eui-s-xl) 0 -1px 0;padding-bottom:var(--eui-s-l)}.eui-19 .eui-wizard-step{cursor:pointer;flex:1;position:relative;text-align:center}.eui-19 .eui-wizard-step__content{margin:var(--eui-s-m) 0}.eui-19 .eui-wizard-step__current-marker{bottom:0;left:50%;position:absolute;transform:translate(-50%,90%)}.eui-19 .eui-wizard-step__indicator-wrapper{border-bottom:var(--eui-bw-s) solid var(--eui-c-neutral-lightest);content:\"\";margin-bottom:var(--eui-s-s);top:var(--eui-s-s);width:100%}.eui-19 .eui-wizard-step__bullet-item{display:flex;align-items:center;justify-content:center;background-color:var(--eui-c-white);border:var(--eui-bw-s) solid var(--eui-c-neutral-light);border-color:var(--eui-c-neutral-light);border-radius:var(--eui-br-max);height:var(--eui-s-3xl);margin:0 auto;margin-top:-2rem;padding-top:var(--eui-s-xs);width:var(--eui-s-3xl)}.eui-19 .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-neutral);fill:var(--eui-c-neutral)}.eui-19 .eui-wizard-step__bullet-item-text{margin-top:-.5rem;font:var(--eui-f-l)}.eui-19 .eui-wizard-step__label-wrapper{margin-top:var(--eui-s-m)}.eui-19 .eui-wizard-step__label-wrapper-label{color:var(--eui-c-neutral);font:var(--eui-f-m-bold)}.eui-19 .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-c-neutral-light);font-size:95%;margin-top:var(--eui-s-2xs)}.eui-19 .eui-wizard-step:first-child .eui-19 .eui-wizard-step__indicator-wrapper{margin-left:50%;width:50%}.eui-19 .eui-wizard-step:last-child .eui-19 .eui-wizard-step__indicator-wrapper{margin-right:50%;width:50%}.eui-19 .eui-wizard-step:focus .eui-wizard-step__bullet-item{outline:var(--eui-bw-s) solid var(--eui-c-focus-visible);outline-offset:2px}.eui-19 .eui-wizard-step--active .eui-wizard-step__bullet-item{background-color:var(--eui-c-primary-dark);border-color:var(--eui-c-primary-dark)}.eui-19 .eui-wizard-step--active .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-primary-dark-contrast);fill:var(--eui-c-primary-dark-contrast)}.eui-19 .eui-wizard-step--active .eui-wizard-step__label-wrapper-label,.eui-19 .eui-wizard-step--active .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-c-primary-dark)}.eui-19 .eui-wizard-step--completed .eui-wizard-step__bullet-item{border-color:var(--eui-c-success-dark)}.eui-19 .eui-wizard-step--completed .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-success-dark);fill:var(--eui-c-success-dark)}.eui-19 .eui-wizard-step--completed .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-c-success-dark)}.eui-19 .eui-wizard-step--completed .eui-wizard-step__label-wrapper-label,.eui-19 .eui-wizard-step--completed .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-c-success-dark)}.eui-19 .eui-wizard-step--completed.eui-wizard-step--active .eui-wizard-step__bullet-item{background-color:var(--eui-c-success-dark)}.eui-19 .eui-wizard-step--completed.eui-wizard-step--active .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-white);fill:var(--eui-c-white)}.eui-19 .eui-wizard-step--error .eui-wizard-step__bullet-item{border-color:var(--eui-c-danger-dark)}.eui-19 .eui-wizard-step--error .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-danger-dark);fill:var(--eui-c-danger-dark)}.eui-19 .eui-wizard-step--error .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-c-danger-dark)}.eui-19 .eui-wizard-step--error .eui-wizard-step__label-wrapper-label,.eui-19 .eui-wizard-step--error .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-c-danger-dark)}.eui-19 .eui-wizard-step--error.eui-wizard-step--active .eui-wizard-step__bullet-item{background-color:var(--eui-c-danger-dark)}.eui-19 .eui-wizard-step--error.eui-wizard-step--active .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-danger-contrast);fill:var(--eui-c-danger-contrast)}.eui-19 .eui-wizard-step--warning .eui-wizard-step__bullet-item{border-color:var(--eui-c-warning)}.eui-19 .eui-wizard-step--warning .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-warning);fill:var(--eui-c-warning)}.eui-19 .eui-wizard-step--warning .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-c-warning)}.eui-19 .eui-wizard-step--warning .eui-wizard-step__label-wrapper-label,.eui-19 .eui-wizard-step--warning .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-c-warning-darker)}.eui-19 .eui-wizard-step--warning.eui-wizard-step--active .eui-wizard-step__bullet-item{background-color:var(--eui-c-warning)}.eui-19 .eui-wizard-step--warning.eui-wizard-step--active .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-warning-contrast);fill:var(--eui-c-warning-contrast)}.eui-19 .eui-wizard-step--disabled .eui-wizard-step__bullet-item{background-color:var(--eui-c-white);border-color:var(--eui-c-neutral-lightest)}.eui-19 .eui-wizard-step--disabled .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-neutral-lightest);fill:var(--eui-c-neutral-lightest)}.eui-19 .eui-wizard-step--disabled .eui-wizard-step__label-wrapper-label,.eui-19 .eui-wizard-step--disabled .eui-wizard-step__label-wrapper-sub-label,.eui-19 .eui-wizard-step--disabled .eui-wizard-step__bullet-item{border-color:var(--eui-c-neutral-lightest);color:var(--eui-c-neutral)}.eui-19 .eui-wizard-step--disabled .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-c-neutral-lightest)}.eui-19 .eui-wizard-step--disabled:hover{cursor:not-allowed}.eui-19 .eui-wizard-step--notallowed .eui-wizard-step__bullet-item-icon{color:var(--eui-c-white)}.eui-19 .eui-wizard-step--notallowed.eui-wizard-step--disabled .eui-wizard-step__bullet-item-icon{color:var(--eui-c-neutral-light)}.eui-19 .eui-wizard-step--notallowed.eui-wizard-step--disabled.eui-wizard-step--completed .eui-wizard-step__bullet-item-icon,.eui-19 .eui-wizard-step--notallowed.eui-wizard-step--disabled.eui-wizard-step--error .eui-wizard-step__bullet-item-icon{color:var(--eui-c-white)}.eui-19 .eui-wizard-step--notallowed:hover{cursor:not-allowed}\n"] }]
|
46
46
|
}], propDecorators: { id: [{
|
47
47
|
type: Input
|
48
48
|
}], indexLabel: [{
|
@@ -129,13 +129,12 @@ class EuiWizardComponent {
|
|
129
129
|
}
|
130
130
|
onKeyDown(event) {
|
131
131
|
if (this.isNavigationAllowed) {
|
132
|
-
|
133
|
-
|
134
|
-
case 37: // ARROW LEFT
|
132
|
+
switch (event.key) {
|
133
|
+
case 'ArrowLeft':
|
135
134
|
consumeEvent(event);
|
136
135
|
this.selectPreviousStep();
|
137
136
|
break;
|
138
|
-
case
|
137
|
+
case 'ArrowRight':
|
139
138
|
consumeEvent(event);
|
140
139
|
this.selectNextStep();
|
141
140
|
break;
|
@@ -190,11 +189,11 @@ class EuiWizardComponent {
|
|
190
189
|
return null;
|
191
190
|
}
|
192
191
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EuiWizardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
193
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.0.0", type: EuiWizardComponent, isStandalone: false, selector: "eui-wizard", inputs: { activeStepIndex: "activeStepIndex", steps: "steps", tabindex: "tabindex", e2eAttr: "e2eAttr", isCustomContent: ["isCustomContent", "isCustomContent", booleanAttribute], isShowStepTitle: ["isShowStepTitle", "isShowStepTitle", booleanAttribute], isNavigationAllowed: ["isNavigationAllowed", "isNavigationAllowed", booleanAttribute] }, outputs: { selectStep: "selectStep" }, queries: [{ propertyName: "childrenSteps", predicate: EuiWizardStepComponent }], viewQueries: [{ propertyName: "canBeFocused", predicate: ["canBeFocused"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"eui-wizard\" role=\"tablist\" aria-orientation=\"horizontal\" aria-label=\"\" attr.data-e2e=\"{{ e2eAttr }}\">\n <div\n #canBeFocused\n *ngFor=\"let step of steps; let idx = index; trackBy: trackByFn\"\n class=\"eui-wizard-step\"\n role=\"tab\"\n [id]=\"step.id\"\n attr.aria-label=\"{{ step?.label }} {{ step?.subLabel }}\"\n [attr.aria-disabled]=\"step?.isDisabled\"\n [attr.aria-controls]=\"stepContentId\"\n [tabindex]=\"step?.isDisabled || !isNavigationAllowed ? -1 : tabindex\"\n [class.eui-wizard-step--completed]=\"step?.isCompleted\"\n [class.eui-wizard-step--notallowed]=\"!isNavigationAllowed\"\n [class.eui-wizard-step--active]=\"step?.isActive\"\n [class.eui-wizard-step--disabled]=\"step?.isDisabled || !isNavigationAllowed\"\n [class.eui-wizard-step--error]=\"step?.isInvalid\"\n [class.eui--danger]=\"step?.isInvalid\"\n [class.eui-wizard-step--warning]=\"step?.isWarning\"\n [class.eui--warning]=\"step?.isWarning\"\n (click)=\"onSelectStep(step, idx + 1)\"\n (keydown)=\"onKeyDown($event)\">\n <div class=\"eui-wizard-step__indicator-wrapper\" role=\"presentation\"></div>\n\n <div class=\"eui-wizard-step__bullet-item\">\n <span class=\"eui-wizard-step__bullet-item-icon\">\n <ng-container *ngIf=\"!step?.indexIconSvgName; else customIconContent\">\n <eui-icon-svg *ngIf=\"step?.isCompleted && !step?.isActive\" icon=\"checkmark:sharp\" />\n <eui-icon-svg *ngIf=\"step?.isInvalid && !step?.isActive\" icon=\"alert:sharp\" />\n <eui-icon-svg *ngIf=\"step?.isActive\" icon=\"eui-ecl-edit\" />\n </ng-container>\n\n <ng-template #customIconContent>\n <span *ngIf=\"step?.indexIconSvgName && step?.indexIconSvgName !== undefined\" role=\"presentation\">\n <eui-icon-svg icon=\"{{ step?.indexIconSvgName }}\" class=\"eui-wizard-step__icon\" />\n </span>\n </ng-template>\n </span>\n <span class=\"eui-wizard-step__bullet-item-text\"\n *ngIf=\"!step?.indexIconSvgName && !step?.isActive && !step?.isCompleted && !step?.isInvalid\"\n role=\"presentation\">\n {{ step?.indexLabel !== undefined ? step?.indexLabel : idx + 1 }}\n </span>\n </div>\n <div class=\"eui-wizard-step__label-wrapper\" role=\"presentation\">\n <div class=\"eui-wizard-step__label-wrapper-label\" role=\"presentation\">\n {{ step?.label }}\n </div>\n <div class=\"eui-wizard-step__label-wrapper-sub-label\" role=\"presentation\">\n {{ step?.subLabel }}\n </div>\n </div>\n\n <div *ngIf=\"step?.isActive\" class=\"eui-wizard-step__current-marker\" role=\"presentation\">\n <eui-icon-svg icon=\"eui-ecl-solid-arrow\" class=\"eui-wizard-step__current-marker-icon\" size=\"xl\" />\n </div>\n </div>\n</div>\n<div [id]=\"stepContentId\" class=\"step-content\" role=\"tabpanel\" [attr.aria-labelledby]=\"stepIds\">\n <ng-content></ng-content>\n</div>\n", styles: [".eui-19 .eui-wizard{border-bottom:1px solid var(--eui-c-neutral-lightest);display:flex;margin:var(--eui-s-xl) 0 -1px 0;padding-bottom:var(--eui-s-l)}.eui-19 .eui-wizard-step{cursor:pointer;flex:1;position:relative;text-align:center}.eui-19 .eui-wizard-step__content{margin:var(--eui-s-m) 0}.eui-19 .eui-wizard-step__current-marker{bottom:0;left:50%;position:absolute;transform:translate(-50%,90%)}.eui-19 .eui-wizard-step__indicator-wrapper{border-bottom:var(--eui-bw-s) solid var(--eui-c-neutral-lightest);content:\"\";margin-bottom:var(--eui-s-s);top:var(--eui-s-s);width:100%}.eui-19 .eui-wizard-step__bullet-item{display:flex;align-items:center;justify-content:center;background-color:var(--eui-c-white);border:var(--eui-bw-s) solid var(--eui-c-neutral-light);border-color:var(--eui-c-neutral-light);border-radius:var(--eui-br-max);height:var(--eui-s-3xl);margin:0 auto;margin-top:-2rem;padding-top:var(--eui-s-xs);width:var(--eui-s-3xl)}.eui-19 .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-neutral);fill:var(--eui-c-neutral)}.eui-19 .eui-wizard-step__bullet-item-text{margin-top:-.5rem;font:var(--eui-f-l)}.eui-19 .eui-wizard-step__label-wrapper{margin-top:var(--eui-s-m)}.eui-19 .eui-wizard-step__label-wrapper-label{color:var(--eui-c-neutral);font:var(--eui-f-m-bold)}.eui-19 .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-c-neutral-light);font-size:95%;margin-top:var(--eui-s-2xs)}.eui-19 .eui-wizard-step:first-child .eui-19 .eui-wizard-step__indicator-wrapper{margin-left:50%;width:50%}.eui-19 .eui-wizard-step:last-child .eui-19 .eui-wizard-step__indicator-wrapper{margin-right:50%;width:50%}.eui-19 .eui-wizard-step:focus .eui-wizard-step__bullet-item{outline:var(--eui-bw-s) solid var(--eui-c-focus-visible);outline-offset:2px}.eui-19 .eui-wizard-step--active .eui-wizard-step__bullet-item{background-color:var(--eui-c-primary-dark);border-color:var(--eui-c-primary-dark)}.eui-19 .eui-wizard-step--active .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-primary-dark-contrast);fill:var(--eui-c-primary-dark-contrast)}.eui-19 .eui-wizard-step--active .eui-wizard-step__label-wrapper-label,.eui-19 .eui-wizard-step--active .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-c-primary-dark)}.eui-19 .eui-wizard-step--completed .eui-wizard-step__bullet-item{border-color:var(--eui-c-success-dark)}.eui-19 .eui-wizard-step--completed .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-success-dark);fill:var(--eui-c-success-dark)}.eui-19 .eui-wizard-step--completed .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-c-success-dark)}.eui-19 .eui-wizard-step--completed .eui-wizard-step__label-wrapper-label,.eui-19 .eui-wizard-step--completed .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-c-success-dark)}.eui-19 .eui-wizard-step--completed.eui-wizard-step--active .eui-wizard-step__bullet-item{background-color:var(--eui-c-success-dark)}.eui-19 .eui-wizard-step--completed.eui-wizard-step--active .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-white);fill:var(--eui-c-white)}.eui-19 .eui-wizard-step--error .eui-wizard-step__bullet-item{border-color:var(--eui-c-danger-dark)}.eui-19 .eui-wizard-step--error .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-danger-dark);fill:var(--eui-c-danger-dark)}.eui-19 .eui-wizard-step--error .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-c-danger-dark)}.eui-19 .eui-wizard-step--error .eui-wizard-step__label-wrapper-label,.eui-19 .eui-wizard-step--error .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-c-danger-dark)}.eui-19 .eui-wizard-step--error.eui-wizard-step--active .eui-wizard-step__bullet-item{background-color:var(--eui-c-danger-dark)}.eui-19 .eui-wizard-step--error.eui-wizard-step--active .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-danger-contrast);fill:var(--eui-c-danger-contrast)}.eui-19 .eui-wizard-step--warning .eui-wizard-step__bullet-item{border-color:var(--eui-c-warning)}.eui-19 .eui-wizard-step--warning .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-warning);fill:var(--eui-c-warning)}.eui-19 .eui-wizard-step--warning .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-c-warning)}.eui-19 .eui-wizard-step--warning .eui-wizard-step__label-wrapper-label,.eui-19 .eui-wizard-step--warning .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-c-warning-darker)}.eui-19 .eui-wizard-step--warning.eui-wizard-step--active .eui-wizard-step__bullet-item{background-color:var(--eui-c-warning)}.eui-19 .eui-wizard-step--warning.eui-wizard-step--active .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-warning-contrast);fill:var(--eui-c-warning-contrast)}.eui-19 .eui-wizard-step--disabled .eui-wizard-step__bullet-item{background-color:var(--eui-c-white);border-color:var(--eui-c-neutral-lightest)}.eui-19 .eui-wizard-step--disabled .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-neutral-lightest);fill:var(--eui-c-neutral-lightest)}.eui-19 .eui-wizard-step--disabled .eui-wizard-step__label-wrapper-label,.eui-19 .eui-wizard-step--disabled .eui-wizard-step__label-wrapper-sub-label,.eui-19 .eui-wizard-step--disabled .eui-wizard-step__bullet-item{border-color:var(--eui-c-neutral-lightest);color:var(--eui-c-neutral)}.eui-19 .eui-wizard-step--disabled .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-c-neutral-lightest)}.eui-19 .eui-wizard-step--disabled:hover{cursor:not-allowed}.eui-19 .eui-wizard-step--notallowed .eui-wizard-step__bullet-item-icon{color:var(--eui-c-white)}.eui-19 .eui-wizard-step--notallowed.eui-wizard-step--disabled .eui-wizard-step__bullet-item-icon{color:var(--eui-c-neutral-light)}.eui-19 .eui-wizard-step--notallowed.eui-wizard-step--disabled.eui-wizard-step--completed .eui-wizard-step__bullet-item-icon,.eui-19 .eui-wizard-step--notallowed.eui-wizard-step--disabled.eui-wizard-step--error .eui-wizard-step__bullet-item-icon{color:var(--eui-c-white)}.eui-19 .eui-wizard-step--notallowed:hover{cursor:not-allowed}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.EuiIconSvgComponent, selector: "eui-icon-svg, span[euiIconSvg], i[euiIconSvg]", inputs: ["icon", "fillColor", "set", "size", "style", "iconUrl", "transform", "euiVariant", "aria-label", "ariaHidden", "focusable", "isLoading", "isInputIcon", "euiStart", "euiEnd"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
192
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.0.0", type: EuiWizardComponent, isStandalone: false, selector: "eui-wizard", inputs: { activeStepIndex: "activeStepIndex", steps: "steps", tabindex: "tabindex", e2eAttr: "e2eAttr", isCustomContent: ["isCustomContent", "isCustomContent", booleanAttribute], isShowStepTitle: ["isShowStepTitle", "isShowStepTitle", booleanAttribute], isNavigationAllowed: ["isNavigationAllowed", "isNavigationAllowed", booleanAttribute] }, outputs: { selectStep: "selectStep" }, queries: [{ propertyName: "childrenSteps", predicate: EuiWizardStepComponent }], viewQueries: [{ propertyName: "canBeFocused", predicate: ["canBeFocused"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"eui-wizard\" role=\"tablist\" aria-orientation=\"horizontal\" attr.data-e2e=\"{{ e2eAttr }}\">\n <div\n #canBeFocused\n *ngFor=\"let step of steps; let idx = index; trackBy: trackByFn\"\n class=\"eui-wizard-step\"\n role=\"tab\"\n [id]=\"step.id\"\n attr.aria-label=\"{{ step?.label }} {{ step?.subLabel }}\"\n [attr.aria-disabled]=\"step?.isDisabled\"\n [attr.aria-controls]=\"stepContentId\"\n [attr.aria-describedby]=\"step?.isActive? stepContentId: null\"\n [attr.aria-selected]=\"step?.isActive\"\n [tabindex]=\"!isNavigationAllowed ? -1 : tabindex\"\n [class.eui-wizard-step--completed]=\"step?.isCompleted\"\n [class.eui-wizard-step--notallowed]=\"!isNavigationAllowed\"\n [class.eui-wizard-step--active]=\"step?.isActive\"\n [class.eui-wizard-step--disabled]=\"step?.isDisabled || !isNavigationAllowed\"\n [class.eui-wizard-step--error]=\"step?.isInvalid\"\n [class.eui--danger]=\"step?.isInvalid\"\n [class.eui-wizard-step--warning]=\"step?.isWarning\"\n [class.eui--warning]=\"step?.isWarning\"\n (click)=\"onSelectStep(step, idx + 1)\"\n (keydown)=\"onKeyDown($event)\">\n <div class=\"eui-wizard-step__indicator-wrapper\" role=\"presentation\"></div>\n\n <div class=\"eui-wizard-step__bullet-item\">\n <span class=\"eui-wizard-step__bullet-item-icon\">\n <ng-container *ngIf=\"!step?.indexIconSvgName; else customIconContent\">\n <eui-icon-svg *ngIf=\"step?.isCompleted && !step?.isActive\" icon=\"checkmark:sharp\" />\n <eui-icon-svg *ngIf=\"step?.isInvalid && !step?.isActive\" icon=\"alert:sharp\" />\n <eui-icon-svg *ngIf=\"step?.isActive\" icon=\"eui-ecl-edit\" />\n </ng-container>\n\n <ng-template #customIconContent>\n <span *ngIf=\"step?.indexIconSvgName && step?.indexIconSvgName !== undefined\" role=\"presentation\">\n <eui-icon-svg icon=\"{{ step?.indexIconSvgName }}\" class=\"eui-wizard-step__icon\" />\n </span>\n </ng-template>\n </span>\n <span class=\"eui-wizard-step__bullet-item-text\"\n *ngIf=\"!step?.indexIconSvgName && !step?.isActive && !step?.isCompleted && !step?.isInvalid\"\n role=\"presentation\">\n {{ step?.indexLabel !== undefined ? step?.indexLabel : idx + 1 }}\n </span>\n </div>\n <div class=\"eui-wizard-step__label-wrapper\" role=\"presentation\">\n <div class=\"eui-wizard-step__label-wrapper-label\" role=\"presentation\">\n {{ step?.label }}\n </div>\n <div class=\"eui-wizard-step__label-wrapper-sub-label\" role=\"presentation\">\n {{ step?.subLabel }}\n </div>\n </div>\n\n <div *ngIf=\"step?.isActive\" class=\"eui-wizard-step__current-marker\" role=\"presentation\">\n <eui-icon-svg icon=\"eui-ecl-solid-arrow\" class=\"eui-wizard-step__current-marker-icon\" size=\"xl\" />\n </div>\n </div>\n</div>\n<div [id]=\"stepContentId\" class=\"step-content\" role=\"tabpanel\">\n <ng-content></ng-content>\n</div>\n", styles: [".eui-19 .eui-wizard{border-bottom:1px solid var(--eui-c-neutral-lightest);display:flex;margin:var(--eui-s-xl) 0 -1px 0;padding-bottom:var(--eui-s-l)}.eui-19 .eui-wizard-step{cursor:pointer;flex:1;position:relative;text-align:center}.eui-19 .eui-wizard-step__content{margin:var(--eui-s-m) 0}.eui-19 .eui-wizard-step__current-marker{bottom:0;left:50%;position:absolute;transform:translate(-50%,90%)}.eui-19 .eui-wizard-step__indicator-wrapper{border-bottom:var(--eui-bw-s) solid var(--eui-c-neutral-lightest);content:\"\";margin-bottom:var(--eui-s-s);top:var(--eui-s-s);width:100%}.eui-19 .eui-wizard-step__bullet-item{display:flex;align-items:center;justify-content:center;background-color:var(--eui-c-white);border:var(--eui-bw-s) solid var(--eui-c-neutral-light);border-color:var(--eui-c-neutral-light);border-radius:var(--eui-br-max);height:var(--eui-s-3xl);margin:0 auto;margin-top:-2rem;padding-top:var(--eui-s-xs);width:var(--eui-s-3xl)}.eui-19 .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-neutral);fill:var(--eui-c-neutral)}.eui-19 .eui-wizard-step__bullet-item-text{margin-top:-.5rem;font:var(--eui-f-l)}.eui-19 .eui-wizard-step__label-wrapper{margin-top:var(--eui-s-m)}.eui-19 .eui-wizard-step__label-wrapper-label{color:var(--eui-c-neutral);font:var(--eui-f-m-bold)}.eui-19 .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-c-neutral-light);font-size:95%;margin-top:var(--eui-s-2xs)}.eui-19 .eui-wizard-step:first-child .eui-19 .eui-wizard-step__indicator-wrapper{margin-left:50%;width:50%}.eui-19 .eui-wizard-step:last-child .eui-19 .eui-wizard-step__indicator-wrapper{margin-right:50%;width:50%}.eui-19 .eui-wizard-step:focus .eui-wizard-step__bullet-item{outline:var(--eui-bw-s) solid var(--eui-c-focus-visible);outline-offset:2px}.eui-19 .eui-wizard-step--active .eui-wizard-step__bullet-item{background-color:var(--eui-c-primary-dark);border-color:var(--eui-c-primary-dark)}.eui-19 .eui-wizard-step--active .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-primary-dark-contrast);fill:var(--eui-c-primary-dark-contrast)}.eui-19 .eui-wizard-step--active .eui-wizard-step__label-wrapper-label,.eui-19 .eui-wizard-step--active .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-c-primary-dark)}.eui-19 .eui-wizard-step--completed .eui-wizard-step__bullet-item{border-color:var(--eui-c-success-dark)}.eui-19 .eui-wizard-step--completed .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-success-dark);fill:var(--eui-c-success-dark)}.eui-19 .eui-wizard-step--completed .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-c-success-dark)}.eui-19 .eui-wizard-step--completed .eui-wizard-step__label-wrapper-label,.eui-19 .eui-wizard-step--completed .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-c-success-dark)}.eui-19 .eui-wizard-step--completed.eui-wizard-step--active .eui-wizard-step__bullet-item{background-color:var(--eui-c-success-dark)}.eui-19 .eui-wizard-step--completed.eui-wizard-step--active .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-white);fill:var(--eui-c-white)}.eui-19 .eui-wizard-step--error .eui-wizard-step__bullet-item{border-color:var(--eui-c-danger-dark)}.eui-19 .eui-wizard-step--error .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-danger-dark);fill:var(--eui-c-danger-dark)}.eui-19 .eui-wizard-step--error .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-c-danger-dark)}.eui-19 .eui-wizard-step--error .eui-wizard-step__label-wrapper-label,.eui-19 .eui-wizard-step--error .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-c-danger-dark)}.eui-19 .eui-wizard-step--error.eui-wizard-step--active .eui-wizard-step__bullet-item{background-color:var(--eui-c-danger-dark)}.eui-19 .eui-wizard-step--error.eui-wizard-step--active .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-danger-contrast);fill:var(--eui-c-danger-contrast)}.eui-19 .eui-wizard-step--warning .eui-wizard-step__bullet-item{border-color:var(--eui-c-warning)}.eui-19 .eui-wizard-step--warning .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-warning);fill:var(--eui-c-warning)}.eui-19 .eui-wizard-step--warning .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-c-warning)}.eui-19 .eui-wizard-step--warning .eui-wizard-step__label-wrapper-label,.eui-19 .eui-wizard-step--warning .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-c-warning-darker)}.eui-19 .eui-wizard-step--warning.eui-wizard-step--active .eui-wizard-step__bullet-item{background-color:var(--eui-c-warning)}.eui-19 .eui-wizard-step--warning.eui-wizard-step--active .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-warning-contrast);fill:var(--eui-c-warning-contrast)}.eui-19 .eui-wizard-step--disabled .eui-wizard-step__bullet-item{background-color:var(--eui-c-white);border-color:var(--eui-c-neutral-lightest)}.eui-19 .eui-wizard-step--disabled .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-neutral-lightest);fill:var(--eui-c-neutral-lightest)}.eui-19 .eui-wizard-step--disabled .eui-wizard-step__label-wrapper-label,.eui-19 .eui-wizard-step--disabled .eui-wizard-step__label-wrapper-sub-label,.eui-19 .eui-wizard-step--disabled .eui-wizard-step__bullet-item{border-color:var(--eui-c-neutral-lightest);color:var(--eui-c-neutral)}.eui-19 .eui-wizard-step--disabled .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-c-neutral-lightest)}.eui-19 .eui-wizard-step--disabled:hover{cursor:not-allowed}.eui-19 .eui-wizard-step--notallowed .eui-wizard-step__bullet-item-icon{color:var(--eui-c-white)}.eui-19 .eui-wizard-step--notallowed.eui-wizard-step--disabled .eui-wizard-step__bullet-item-icon{color:var(--eui-c-neutral-light)}.eui-19 .eui-wizard-step--notallowed.eui-wizard-step--disabled.eui-wizard-step--completed .eui-wizard-step__bullet-item-icon,.eui-19 .eui-wizard-step--notallowed.eui-wizard-step--disabled.eui-wizard-step--error .eui-wizard-step__bullet-item-icon{color:var(--eui-c-white)}.eui-19 .eui-wizard-step--notallowed:hover{cursor:not-allowed}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.EuiIconSvgComponent, selector: "eui-icon-svg, span[euiIconSvg], i[euiIconSvg]", inputs: ["icon", "fillColor", "set", "size", "style", "iconUrl", "transform", "euiVariant", "aria-label", "ariaHidden", "focusable", "isLoading", "isInputIcon", "euiStart", "euiEnd"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
194
193
|
}
|
195
194
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EuiWizardComponent, decorators: [{
|
196
195
|
type: Component,
|
197
|
-
args: [{ selector: 'eui-wizard', encapsulation: ViewEncapsulation.None, standalone: false, template: "<div class=\"eui-wizard\" role=\"tablist\" aria-orientation=\"horizontal\"
|
196
|
+
args: [{ selector: 'eui-wizard', encapsulation: ViewEncapsulation.None, standalone: false, template: "<div class=\"eui-wizard\" role=\"tablist\" aria-orientation=\"horizontal\" attr.data-e2e=\"{{ e2eAttr }}\">\n <div\n #canBeFocused\n *ngFor=\"let step of steps; let idx = index; trackBy: trackByFn\"\n class=\"eui-wizard-step\"\n role=\"tab\"\n [id]=\"step.id\"\n attr.aria-label=\"{{ step?.label }} {{ step?.subLabel }}\"\n [attr.aria-disabled]=\"step?.isDisabled\"\n [attr.aria-controls]=\"stepContentId\"\n [attr.aria-describedby]=\"step?.isActive? stepContentId: null\"\n [attr.aria-selected]=\"step?.isActive\"\n [tabindex]=\"!isNavigationAllowed ? -1 : tabindex\"\n [class.eui-wizard-step--completed]=\"step?.isCompleted\"\n [class.eui-wizard-step--notallowed]=\"!isNavigationAllowed\"\n [class.eui-wizard-step--active]=\"step?.isActive\"\n [class.eui-wizard-step--disabled]=\"step?.isDisabled || !isNavigationAllowed\"\n [class.eui-wizard-step--error]=\"step?.isInvalid\"\n [class.eui--danger]=\"step?.isInvalid\"\n [class.eui-wizard-step--warning]=\"step?.isWarning\"\n [class.eui--warning]=\"step?.isWarning\"\n (click)=\"onSelectStep(step, idx + 1)\"\n (keydown)=\"onKeyDown($event)\">\n <div class=\"eui-wizard-step__indicator-wrapper\" role=\"presentation\"></div>\n\n <div class=\"eui-wizard-step__bullet-item\">\n <span class=\"eui-wizard-step__bullet-item-icon\">\n <ng-container *ngIf=\"!step?.indexIconSvgName; else customIconContent\">\n <eui-icon-svg *ngIf=\"step?.isCompleted && !step?.isActive\" icon=\"checkmark:sharp\" />\n <eui-icon-svg *ngIf=\"step?.isInvalid && !step?.isActive\" icon=\"alert:sharp\" />\n <eui-icon-svg *ngIf=\"step?.isActive\" icon=\"eui-ecl-edit\" />\n </ng-container>\n\n <ng-template #customIconContent>\n <span *ngIf=\"step?.indexIconSvgName && step?.indexIconSvgName !== undefined\" role=\"presentation\">\n <eui-icon-svg icon=\"{{ step?.indexIconSvgName }}\" class=\"eui-wizard-step__icon\" />\n </span>\n </ng-template>\n </span>\n <span class=\"eui-wizard-step__bullet-item-text\"\n *ngIf=\"!step?.indexIconSvgName && !step?.isActive && !step?.isCompleted && !step?.isInvalid\"\n role=\"presentation\">\n {{ step?.indexLabel !== undefined ? step?.indexLabel : idx + 1 }}\n </span>\n </div>\n <div class=\"eui-wizard-step__label-wrapper\" role=\"presentation\">\n <div class=\"eui-wizard-step__label-wrapper-label\" role=\"presentation\">\n {{ step?.label }}\n </div>\n <div class=\"eui-wizard-step__label-wrapper-sub-label\" role=\"presentation\">\n {{ step?.subLabel }}\n </div>\n </div>\n\n <div *ngIf=\"step?.isActive\" class=\"eui-wizard-step__current-marker\" role=\"presentation\">\n <eui-icon-svg icon=\"eui-ecl-solid-arrow\" class=\"eui-wizard-step__current-marker-icon\" size=\"xl\" />\n </div>\n </div>\n</div>\n<div [id]=\"stepContentId\" class=\"step-content\" role=\"tabpanel\">\n <ng-content></ng-content>\n</div>\n", styles: [".eui-19 .eui-wizard{border-bottom:1px solid var(--eui-c-neutral-lightest);display:flex;margin:var(--eui-s-xl) 0 -1px 0;padding-bottom:var(--eui-s-l)}.eui-19 .eui-wizard-step{cursor:pointer;flex:1;position:relative;text-align:center}.eui-19 .eui-wizard-step__content{margin:var(--eui-s-m) 0}.eui-19 .eui-wizard-step__current-marker{bottom:0;left:50%;position:absolute;transform:translate(-50%,90%)}.eui-19 .eui-wizard-step__indicator-wrapper{border-bottom:var(--eui-bw-s) solid var(--eui-c-neutral-lightest);content:\"\";margin-bottom:var(--eui-s-s);top:var(--eui-s-s);width:100%}.eui-19 .eui-wizard-step__bullet-item{display:flex;align-items:center;justify-content:center;background-color:var(--eui-c-white);border:var(--eui-bw-s) solid var(--eui-c-neutral-light);border-color:var(--eui-c-neutral-light);border-radius:var(--eui-br-max);height:var(--eui-s-3xl);margin:0 auto;margin-top:-2rem;padding-top:var(--eui-s-xs);width:var(--eui-s-3xl)}.eui-19 .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-neutral);fill:var(--eui-c-neutral)}.eui-19 .eui-wizard-step__bullet-item-text{margin-top:-.5rem;font:var(--eui-f-l)}.eui-19 .eui-wizard-step__label-wrapper{margin-top:var(--eui-s-m)}.eui-19 .eui-wizard-step__label-wrapper-label{color:var(--eui-c-neutral);font:var(--eui-f-m-bold)}.eui-19 .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-c-neutral-light);font-size:95%;margin-top:var(--eui-s-2xs)}.eui-19 .eui-wizard-step:first-child .eui-19 .eui-wizard-step__indicator-wrapper{margin-left:50%;width:50%}.eui-19 .eui-wizard-step:last-child .eui-19 .eui-wizard-step__indicator-wrapper{margin-right:50%;width:50%}.eui-19 .eui-wizard-step:focus .eui-wizard-step__bullet-item{outline:var(--eui-bw-s) solid var(--eui-c-focus-visible);outline-offset:2px}.eui-19 .eui-wizard-step--active .eui-wizard-step__bullet-item{background-color:var(--eui-c-primary-dark);border-color:var(--eui-c-primary-dark)}.eui-19 .eui-wizard-step--active .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-primary-dark-contrast);fill:var(--eui-c-primary-dark-contrast)}.eui-19 .eui-wizard-step--active .eui-wizard-step__label-wrapper-label,.eui-19 .eui-wizard-step--active .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-c-primary-dark)}.eui-19 .eui-wizard-step--completed .eui-wizard-step__bullet-item{border-color:var(--eui-c-success-dark)}.eui-19 .eui-wizard-step--completed .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-success-dark);fill:var(--eui-c-success-dark)}.eui-19 .eui-wizard-step--completed .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-c-success-dark)}.eui-19 .eui-wizard-step--completed .eui-wizard-step__label-wrapper-label,.eui-19 .eui-wizard-step--completed .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-c-success-dark)}.eui-19 .eui-wizard-step--completed.eui-wizard-step--active .eui-wizard-step__bullet-item{background-color:var(--eui-c-success-dark)}.eui-19 .eui-wizard-step--completed.eui-wizard-step--active .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-white);fill:var(--eui-c-white)}.eui-19 .eui-wizard-step--error .eui-wizard-step__bullet-item{border-color:var(--eui-c-danger-dark)}.eui-19 .eui-wizard-step--error .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-danger-dark);fill:var(--eui-c-danger-dark)}.eui-19 .eui-wizard-step--error .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-c-danger-dark)}.eui-19 .eui-wizard-step--error .eui-wizard-step__label-wrapper-label,.eui-19 .eui-wizard-step--error .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-c-danger-dark)}.eui-19 .eui-wizard-step--error.eui-wizard-step--active .eui-wizard-step__bullet-item{background-color:var(--eui-c-danger-dark)}.eui-19 .eui-wizard-step--error.eui-wizard-step--active .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-danger-contrast);fill:var(--eui-c-danger-contrast)}.eui-19 .eui-wizard-step--warning .eui-wizard-step__bullet-item{border-color:var(--eui-c-warning)}.eui-19 .eui-wizard-step--warning .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-warning);fill:var(--eui-c-warning)}.eui-19 .eui-wizard-step--warning .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-c-warning)}.eui-19 .eui-wizard-step--warning .eui-wizard-step__label-wrapper-label,.eui-19 .eui-wizard-step--warning .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-c-warning-darker)}.eui-19 .eui-wizard-step--warning.eui-wizard-step--active .eui-wizard-step__bullet-item{background-color:var(--eui-c-warning)}.eui-19 .eui-wizard-step--warning.eui-wizard-step--active .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-warning-contrast);fill:var(--eui-c-warning-contrast)}.eui-19 .eui-wizard-step--disabled .eui-wizard-step__bullet-item{background-color:var(--eui-c-white);border-color:var(--eui-c-neutral-lightest)}.eui-19 .eui-wizard-step--disabled .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-c-neutral-lightest);fill:var(--eui-c-neutral-lightest)}.eui-19 .eui-wizard-step--disabled .eui-wizard-step__label-wrapper-label,.eui-19 .eui-wizard-step--disabled .eui-wizard-step__label-wrapper-sub-label,.eui-19 .eui-wizard-step--disabled .eui-wizard-step__bullet-item{border-color:var(--eui-c-neutral-lightest);color:var(--eui-c-neutral)}.eui-19 .eui-wizard-step--disabled .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-c-neutral-lightest)}.eui-19 .eui-wizard-step--disabled:hover{cursor:not-allowed}.eui-19 .eui-wizard-step--notallowed .eui-wizard-step__bullet-item-icon{color:var(--eui-c-white)}.eui-19 .eui-wizard-step--notallowed.eui-wizard-step--disabled .eui-wizard-step__bullet-item-icon{color:var(--eui-c-neutral-light)}.eui-19 .eui-wizard-step--notallowed.eui-wizard-step--disabled.eui-wizard-step--completed .eui-wizard-step__bullet-item-icon,.eui-19 .eui-wizard-step--notallowed.eui-wizard-step--disabled.eui-wizard-step--error .eui-wizard-step__bullet-item-icon{color:var(--eui-c-white)}.eui-19 .eui-wizard-step--notallowed:hover{cursor:not-allowed}\n"] }]
|
198
197
|
}], propDecorators: { activeStepIndex: [{
|
199
198
|
type: Input
|
200
199
|
}], steps: [{
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"eui-components-eui-wizard.mjs","sources":["../../eui-wizard/eui-wizard-step.component.ts","../../eui-wizard/eui-wizard-step.component.html","../../eui-wizard/eui-wizard.component.ts","../../eui-wizard/eui-wizard.component.html","../../eui-wizard/models/eui-wizard-step.ts","../../eui-wizard/services/eui-wizard.service.ts","../../eui-wizard/eui-wizard.module.ts","../../eui-wizard/eui-components-eui-wizard.ts"],"sourcesContent":["import { booleanAttribute, ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';\nimport { EuiWizardStep } from './models/eui-wizard-step';\n\n@Component({\n selector: 'eui-wizard-step',\n templateUrl: './eui-wizard-step.component.html',\n styleUrls: ['./styles/_index.scss'],\n changeDetection: ChangeDetectionStrategy.Default,\n encapsulation: ViewEncapsulation.None,\n standalone: false,\n})\nexport class EuiWizardStepComponent implements EuiWizardStep {\n @Input() id: string;\n @Input() indexLabel: string;\n @Input() indexIconSvgName: string;\n @Input() label: string;\n @Input() subLabel: string;\n @Input() index: number;\n @Input() url: string;\n\n @Input({ transform: booleanAttribute }) isCompleted = false;\n @Input({ transform: booleanAttribute }) isActive = false;\n @Input({ transform: booleanAttribute }) isShowStepTitle = false;\n @Input({ transform: booleanAttribute }) isInvalid = false;\n @Input({ transform: booleanAttribute }) isWarning = false;\n @Input({ transform: booleanAttribute })isDisabled = false;\n\n /**\n * TODO: from which one is this method being used from?\n */\n toJSON(): object {\n return {\n id: this.id,\n indexLabel: this.indexLabel,\n indexIconSvgName: this.indexIconSvgName,\n label: this.label,\n subLabel: this.subLabel,\n isCompleted: this.isCompleted,\n isActive: this.isActive,\n isShowStepTitle: this.isShowStepTitle,\n isInvalid: this.isInvalid,\n isWarning: this.isWarning,\n isDisabled: this.isDisabled,\n index: this.index,\n url: this.url,\n };\n }\n}\n","<ng-container *ngIf=\"isActive\">\n <ng-content></ng-content>\n</ng-container>\n","import {\n AfterContentInit,\n booleanAttribute,\n Component,\n ContentChildren,\n ElementRef,\n EventEmitter,\n Input,\n OnChanges,\n Output,\n QueryList,\n SimpleChanges,\n ViewChildren,\n ViewEncapsulation,\n} from '@angular/core';\nimport { EuiWizardStepComponent } from './eui-wizard-step.component';\nimport { EuiWizardStep } from './models/eui-wizard-step';\nimport { uniqueId, consumeEvent } from '@eui/core';\n\n@Component({\n selector: 'eui-wizard',\n templateUrl: './eui-wizard.component.html',\n styleUrls: ['./styles/_index.scss'],\n encapsulation: ViewEncapsulation.None,\n standalone: false,\n})\nexport class EuiWizardComponent implements AfterContentInit, OnChanges {\n @Input() activeStepIndex: number;\n @Input() steps: Array<EuiWizardStep> = [];\n @Input() tabindex = 0;\n @Input() e2eAttr = 'eui-wizard';\n @Output() selectStep: EventEmitter<EuiWizardStep> = new EventEmitter();\n\n @ContentChildren(EuiWizardStepComponent) childrenSteps: QueryList<EuiWizardStepComponent>;\n @ViewChildren('canBeFocused') canBeFocused: QueryList<ElementRef>;\n\n stepContentId: string = uniqueId();\n stepIds: string; // space-separated list of all step IDs\n\n @Input({ transform: booleanAttribute }) isCustomContent = false;\n @Input({ transform: booleanAttribute }) isShowStepTitle = false;\n @Input({ transform: booleanAttribute }) isNavigationAllowed = true;\n\n ngAfterContentInit(): void {\n const stepIdsBuffer: string[] = [];\n this.childrenSteps.forEach((step) => {\n this.steps.push(step);\n if (!step.id) {\n step.id = uniqueId();\n }\n stepIdsBuffer.push(step.id);\n });\n this.stepIds = stepIdsBuffer.join(' ');\n\n const activeSteps = this.steps.filter((step) => step.isActive);\n\n if (activeSteps.length === 0 && !this.activeStepIndex) {\n this._selectStep(this.steps[0], 1);\n } else if (this.activeStepIndex) {\n this._selectStep(this._getStep(this.activeStepIndex - 1), this.activeStepIndex);\n }\n\n this.steps.forEach((step) => (step.isShowStepTitle = this.isShowStepTitle));\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n if (changes['steps'] || changes['activeStepIndex']) {\n if (this.activeStepIndex && this.steps) {\n this._selectStep(this._getStep(this.activeStepIndex - 1), this.activeStepIndex);\n\n const stepIdsBuffer = [];\n this.steps.forEach((step) => {\n if (!step.id) {\n step.id = uniqueId();\n }\n stepIdsBuffer.push(step.id);\n });\n this.stepIds = stepIdsBuffer.join(' ');\n }\n }\n }\n\n onSelectStep(step: EuiWizardStep, index: number): void {\n if (!step.isDisabled && this.isNavigationAllowed) {\n this._selectStep(step, index);\n }\n }\n\n onKeyDown(event: KeyboardEvent): void {\n if (this.isNavigationAllowed) {\n // eslint-disable-next-line\n switch (event.keyCode) {\n case 37: // ARROW LEFT\n consumeEvent(event);\n this.selectPreviousStep();\n break;\n case 39: // ARROW RIGHT\n consumeEvent(event);\n this.selectNextStep();\n break;\n }\n }\n }\n\n public trackByFn(index: number, item: EuiWizardStep): string {\n return item.id;\n }\n\n protected selectPreviousStep(): void {\n if (this.isNavigationAllowed && this.steps) {\n // get the index of active step\n const activeStepIndex = this.steps.findIndex((step) => step.isActive);\n\n let previousIndex = activeStepIndex < 0 ? 0 : activeStepIndex;\n do {\n previousIndex--;\n if (previousIndex < 0) {\n previousIndex = this.steps.length - 1;\n }\n } while (this.steps[previousIndex].isDisabled);\n\n this._selectStep(this.steps[previousIndex], previousIndex + 1);\n this.canBeFocused.toArray()[previousIndex].nativeElement.focus();\n }\n }\n\n protected selectNextStep(): void {\n if (this.isNavigationAllowed && this.steps) {\n // get the index of active step\n let activeStepIndex = this.steps.findIndex((step) => step.isActive);\n // in case no step is active point to the first step\n activeStepIndex = activeStepIndex < 0 ? 0 : activeStepIndex;\n\n do {\n if (++activeStepIndex >= this.steps.length) {\n activeStepIndex = 0;\n }\n } while (this.steps[activeStepIndex].isDisabled);\n\n this._selectStep(this.steps[activeStepIndex], activeStepIndex + 1);\n this.canBeFocused.toArray()[activeStepIndex].nativeElement.focus();\n }\n }\n\n private _selectStep(step: EuiWizardStep, index: number): void {\n if (step) {\n this.steps.forEach((currentStep) => (currentStep.isActive = false));\n step.isActive = true;\n step.index = index;\n this.selectStep.emit(step);\n }\n }\n\n private _getStep(index: number): EuiWizardStep {\n if (index >= 0 && index <= this.steps.length) {\n return this.steps[index];\n }\n return null;\n }\n}\n","<div class=\"eui-wizard\" role=\"tablist\" aria-orientation=\"horizontal\" aria-label=\"\" attr.data-e2e=\"{{ e2eAttr }}\">\n <div\n #canBeFocused\n *ngFor=\"let step of steps; let idx = index; trackBy: trackByFn\"\n class=\"eui-wizard-step\"\n role=\"tab\"\n [id]=\"step.id\"\n attr.aria-label=\"{{ step?.label }} {{ step?.subLabel }}\"\n [attr.aria-disabled]=\"step?.isDisabled\"\n [attr.aria-controls]=\"stepContentId\"\n [tabindex]=\"step?.isDisabled || !isNavigationAllowed ? -1 : tabindex\"\n [class.eui-wizard-step--completed]=\"step?.isCompleted\"\n [class.eui-wizard-step--notallowed]=\"!isNavigationAllowed\"\n [class.eui-wizard-step--active]=\"step?.isActive\"\n [class.eui-wizard-step--disabled]=\"step?.isDisabled || !isNavigationAllowed\"\n [class.eui-wizard-step--error]=\"step?.isInvalid\"\n [class.eui--danger]=\"step?.isInvalid\"\n [class.eui-wizard-step--warning]=\"step?.isWarning\"\n [class.eui--warning]=\"step?.isWarning\"\n (click)=\"onSelectStep(step, idx + 1)\"\n (keydown)=\"onKeyDown($event)\">\n <div class=\"eui-wizard-step__indicator-wrapper\" role=\"presentation\"></div>\n\n <div class=\"eui-wizard-step__bullet-item\">\n <span class=\"eui-wizard-step__bullet-item-icon\">\n <ng-container *ngIf=\"!step?.indexIconSvgName; else customIconContent\">\n <eui-icon-svg *ngIf=\"step?.isCompleted && !step?.isActive\" icon=\"checkmark:sharp\" />\n <eui-icon-svg *ngIf=\"step?.isInvalid && !step?.isActive\" icon=\"alert:sharp\" />\n <eui-icon-svg *ngIf=\"step?.isActive\" icon=\"eui-ecl-edit\" />\n </ng-container>\n\n <ng-template #customIconContent>\n <span *ngIf=\"step?.indexIconSvgName && step?.indexIconSvgName !== undefined\" role=\"presentation\">\n <eui-icon-svg icon=\"{{ step?.indexIconSvgName }}\" class=\"eui-wizard-step__icon\" />\n </span>\n </ng-template>\n </span>\n <span class=\"eui-wizard-step__bullet-item-text\"\n *ngIf=\"!step?.indexIconSvgName && !step?.isActive && !step?.isCompleted && !step?.isInvalid\"\n role=\"presentation\">\n {{ step?.indexLabel !== undefined ? step?.indexLabel : idx + 1 }}\n </span>\n </div>\n <div class=\"eui-wizard-step__label-wrapper\" role=\"presentation\">\n <div class=\"eui-wizard-step__label-wrapper-label\" role=\"presentation\">\n {{ step?.label }}\n </div>\n <div class=\"eui-wizard-step__label-wrapper-sub-label\" role=\"presentation\">\n {{ step?.subLabel }}\n </div>\n </div>\n\n <div *ngIf=\"step?.isActive\" class=\"eui-wizard-step__current-marker\" role=\"presentation\">\n <eui-icon-svg icon=\"eui-ecl-solid-arrow\" class=\"eui-wizard-step__current-marker-icon\" size=\"xl\" />\n </div>\n </div>\n</div>\n<div [id]=\"stepContentId\" class=\"step-content\" role=\"tabpanel\" [attr.aria-labelledby]=\"stepIds\">\n <ng-content></ng-content>\n</div>\n","export interface IEuiWizardStep {\n id: string;\n indexLabel: string;\n indexIconSvgName: string;\n label: string;\n subLabel: string;\n isCompleted: boolean;\n isActive: boolean;\n isShowStepTitle: boolean;\n isInvalid: boolean;\n isWarning: boolean;\n isDisabled: boolean;\n index: number;\n url: string;\n}\n\nexport class EuiWizardStep implements IEuiWizardStep {\n id: string;\n indexLabel: string;\n indexIconSvgName: string;\n label: string;\n subLabel: string;\n isCompleted = false;\n isActive = false;\n isShowStepTitle = false;\n isInvalid = false;\n isWarning = false;\n isDisabled = false;\n index: number;\n url: string;\n\n // TODO: find the correct type or turn into a generic, https://www.typescriptlang.org/docs/handbook/2/generics.html\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n constructor(values: any = {}) {\n Object.assign(this, values);\n }\n\n toString(): string {\n return JSON.stringify(this.toJSON());\n }\n\n toJSON(): object {\n return {\n id: this.id,\n indexLabel: this.indexLabel,\n indexIconSvgName: this.indexIconSvgName,\n label: this.label,\n subLabel: this.subLabel,\n isCompleted: this.isCompleted,\n isActive: this.isActive,\n isShowStepTitle: this.isShowStepTitle,\n isInvalid: this.isInvalid,\n isWarning: this.isWarning,\n isDisabled: this.isDisabled,\n index: this.index,\n url: this.url,\n };\n }\n}\n","import { Injectable } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { EuiWizardStep } from '../models/eui-wizard-step';\n\n@Injectable()\nexport class EuiWizardService {\n activeStepIndex = 1;\n steps: EuiWizardStep[] = [];\n route: ActivatedRoute;\n\n constructor(private router: Router) {}\n\n init(steps: EuiWizardStep[], route: ActivatedRoute): void {\n this.steps = steps;\n this.route = route;\n const currentRoute = this.router.url;\n const currentStepUrl = currentRoute.substr(currentRoute.lastIndexOf('/') + 1);\n this.steps.forEach((step, index) => {\n if (step.url === currentStepUrl) {\n this.activeStepIndex = index + 1;\n }\n });\n }\n\n navigationIncrement(increment: number): void {\n const newIndex: number = this.activeStepIndex + increment;\n if (newIndex >= 1 && newIndex <= this.steps.length) {\n this.activeStepIndex = newIndex;\n }\n }\n\n selectStep(step: EuiWizardStep): void {\n this.activeStepIndex = step.index;\n if (step.url) {\n this._navigateToStep(step.url);\n }\n }\n\n private _navigateToStep(url: string): void {\n this.router.navigate([url], { relativeTo: this.route });\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { RouterModule } from '@angular/router';\nimport { EuiWizardStepComponent } from './eui-wizard-step.component';\nimport { EuiWizardService } from './services/eui-wizard.service';\nimport { EuiWizardComponent } from './eui-wizard.component';\nimport { EuiIconModule } from '@eui/components/eui-icon';\n\n@NgModule({\n imports: [CommonModule, RouterModule, EuiIconModule],\n exports: [EuiWizardStepComponent, EuiWizardComponent],\n declarations: [EuiWizardStepComponent, EuiWizardComponent],\n providers: [EuiWizardService],\n})\nexport class EuiWizardModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":";;;;;;;;;;MAWa,sBAAsB,CAAA;AARnC,IAAA,WAAA,GAAA;QAiB4C,IAAW,CAAA,WAAA,GAAG,KAAK;QACnB,IAAQ,CAAA,QAAA,GAAG,KAAK;QAChB,IAAe,CAAA,eAAA,GAAG,KAAK;QACvB,IAAS,CAAA,SAAA,GAAG,KAAK;QACjB,IAAS,CAAA,SAAA,GAAG,KAAK;QAClB,IAAU,CAAA,UAAA,GAAG,KAAK;AAsB5D;AApBG;;AAEG;IACH,MAAM,GAAA;QACF,OAAO;YACH,EAAE,EAAE,IAAI,CAAC,EAAE;YACX,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;YACvC,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,eAAe,EAAE,IAAI,CAAC,eAAe;YACr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AE,CAAC,sBAAsB,EAAE,kBAAkB,CAAC;oBAC1D,SAAS,EAAE,CAAC,gBAAgB,CAAC;AAChC,iBAAA;;;ACbD;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"eui-components-eui-wizard.mjs","sources":["../../eui-wizard/eui-wizard-step.component.ts","../../eui-wizard/eui-wizard-step.component.html","../../eui-wizard/eui-wizard.component.ts","../../eui-wizard/eui-wizard.component.html","../../eui-wizard/models/eui-wizard-step.ts","../../eui-wizard/services/eui-wizard.service.ts","../../eui-wizard/eui-wizard.module.ts","../../eui-wizard/eui-components-eui-wizard.ts"],"sourcesContent":["import { booleanAttribute, Component, Input, ViewEncapsulation } from '@angular/core';\nimport { EuiWizardStep } from './models/eui-wizard-step';\n\n@Component({\n selector: 'eui-wizard-step',\n templateUrl: './eui-wizard-step.component.html',\n styleUrls: ['./styles/_index.scss'],\n encapsulation: ViewEncapsulation.None,\n standalone: false,\n})\nexport class EuiWizardStepComponent implements EuiWizardStep {\n @Input() id: string;\n @Input() indexLabel: string;\n @Input() indexIconSvgName: string;\n @Input() label: string;\n @Input() subLabel: string;\n @Input() index: number;\n @Input() url: string;\n\n @Input({ transform: booleanAttribute }) isCompleted = false;\n @Input({ transform: booleanAttribute }) isActive = false;\n @Input({ transform: booleanAttribute }) isShowStepTitle = false;\n @Input({ transform: booleanAttribute }) isInvalid = false;\n @Input({ transform: booleanAttribute }) isWarning = false;\n @Input({ transform: booleanAttribute })isDisabled = false;\n\n /**\n * TODO: from which one is this method being used from?\n */\n toJSON(): object {\n return {\n id: this.id,\n indexLabel: this.indexLabel,\n indexIconSvgName: this.indexIconSvgName,\n label: this.label,\n subLabel: this.subLabel,\n isCompleted: this.isCompleted,\n isActive: this.isActive,\n isShowStepTitle: this.isShowStepTitle,\n isInvalid: this.isInvalid,\n isWarning: this.isWarning,\n isDisabled: this.isDisabled,\n index: this.index,\n url: this.url,\n };\n }\n}\n","<ng-container *ngIf=\"isActive\">\n <ng-content></ng-content>\n</ng-container>\n","import {\n AfterContentInit,\n booleanAttribute,\n Component,\n ContentChildren,\n ElementRef,\n EventEmitter,\n Input,\n OnChanges,\n Output,\n QueryList,\n SimpleChanges,\n ViewChildren,\n ViewEncapsulation,\n} from '@angular/core';\nimport { EuiWizardStepComponent } from './eui-wizard-step.component';\nimport { EuiWizardStep } from './models/eui-wizard-step';\nimport { uniqueId, consumeEvent } from '@eui/core';\n\n@Component({\n selector: 'eui-wizard',\n templateUrl: './eui-wizard.component.html',\n styleUrls: ['./styles/_index.scss'],\n encapsulation: ViewEncapsulation.None,\n standalone: false,\n})\nexport class EuiWizardComponent implements AfterContentInit, OnChanges {\n @Input() activeStepIndex: number;\n @Input() steps: Array<EuiWizardStep> = [];\n @Input() tabindex = 0;\n @Input() e2eAttr = 'eui-wizard';\n @Output() selectStep: EventEmitter<EuiWizardStep> = new EventEmitter();\n\n @ContentChildren(EuiWizardStepComponent) childrenSteps: QueryList<EuiWizardStepComponent>;\n @ViewChildren('canBeFocused') canBeFocused: QueryList<ElementRef>;\n\n stepContentId: string = uniqueId();\n stepIds: string; // space-separated list of all step IDs\n\n @Input({ transform: booleanAttribute }) isCustomContent = false;\n @Input({ transform: booleanAttribute }) isShowStepTitle = false;\n @Input({ transform: booleanAttribute }) isNavigationAllowed = true;\n\n ngAfterContentInit(): void {\n const stepIdsBuffer: string[] = [];\n this.childrenSteps.forEach((step) => {\n this.steps.push(step);\n if (!step.id) {\n step.id = uniqueId();\n }\n stepIdsBuffer.push(step.id);\n });\n this.stepIds = stepIdsBuffer.join(' ');\n\n const activeSteps = this.steps.filter((step) => step.isActive);\n\n if (activeSteps.length === 0 && !this.activeStepIndex) {\n this._selectStep(this.steps[0], 1);\n } else if (this.activeStepIndex) {\n this._selectStep(this._getStep(this.activeStepIndex - 1), this.activeStepIndex);\n }\n\n this.steps.forEach((step) => (step.isShowStepTitle = this.isShowStepTitle));\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n if (changes['steps'] || changes['activeStepIndex']) {\n if (this.activeStepIndex && this.steps) {\n this._selectStep(this._getStep(this.activeStepIndex - 1), this.activeStepIndex);\n\n const stepIdsBuffer = [];\n this.steps.forEach((step) => {\n if (!step.id) {\n step.id = uniqueId();\n }\n stepIdsBuffer.push(step.id);\n });\n this.stepIds = stepIdsBuffer.join(' ');\n }\n }\n }\n\n onSelectStep(step: EuiWizardStep, index: number): void {\n if (!step.isDisabled && this.isNavigationAllowed) {\n this._selectStep(step, index);\n }\n }\n\n onKeyDown(event: KeyboardEvent): void {\n if (this.isNavigationAllowed) {\n switch (event.key) {\n case 'ArrowLeft':\n consumeEvent(event);\n this.selectPreviousStep();\n break;\n case 'ArrowRight':\n consumeEvent(event);\n this.selectNextStep();\n break;\n }\n }\n }\n\n public trackByFn(index: number, item: EuiWizardStep): string {\n return item.id;\n }\n\n protected selectPreviousStep(): void {\n if (this.isNavigationAllowed && this.steps) {\n // get the index of active step\n const activeStepIndex = this.steps.findIndex((step) => step.isActive);\n\n let previousIndex = activeStepIndex < 0 ? 0 : activeStepIndex;\n do {\n previousIndex--;\n if (previousIndex < 0) {\n previousIndex = this.steps.length - 1;\n }\n } while (this.steps[previousIndex].isDisabled);\n\n this._selectStep(this.steps[previousIndex], previousIndex + 1);\n this.canBeFocused.toArray()[previousIndex].nativeElement.focus();\n }\n }\n\n protected selectNextStep(): void {\n if (this.isNavigationAllowed && this.steps) {\n // get the index of active step\n let activeStepIndex = this.steps.findIndex((step) => step.isActive);\n // in case no step is active point to the first step\n activeStepIndex = activeStepIndex < 0 ? 0 : activeStepIndex;\n\n do {\n if (++activeStepIndex >= this.steps.length) {\n activeStepIndex = 0;\n }\n } while (this.steps[activeStepIndex].isDisabled);\n\n this._selectStep(this.steps[activeStepIndex], activeStepIndex + 1);\n this.canBeFocused.toArray()[activeStepIndex].nativeElement.focus();\n }\n }\n\n private _selectStep(step: EuiWizardStep, index: number): void {\n if (step) {\n this.steps.forEach((currentStep) => (currentStep.isActive = false));\n step.isActive = true;\n step.index = index;\n this.selectStep.emit(step);\n }\n }\n\n private _getStep(index: number): EuiWizardStep {\n if (index >= 0 && index <= this.steps.length) {\n return this.steps[index];\n }\n return null;\n }\n}\n","<div class=\"eui-wizard\" role=\"tablist\" aria-orientation=\"horizontal\" attr.data-e2e=\"{{ e2eAttr }}\">\n <div\n #canBeFocused\n *ngFor=\"let step of steps; let idx = index; trackBy: trackByFn\"\n class=\"eui-wizard-step\"\n role=\"tab\"\n [id]=\"step.id\"\n attr.aria-label=\"{{ step?.label }} {{ step?.subLabel }}\"\n [attr.aria-disabled]=\"step?.isDisabled\"\n [attr.aria-controls]=\"stepContentId\"\n [attr.aria-describedby]=\"step?.isActive? stepContentId: null\"\n [attr.aria-selected]=\"step?.isActive\"\n [tabindex]=\"!isNavigationAllowed ? -1 : tabindex\"\n [class.eui-wizard-step--completed]=\"step?.isCompleted\"\n [class.eui-wizard-step--notallowed]=\"!isNavigationAllowed\"\n [class.eui-wizard-step--active]=\"step?.isActive\"\n [class.eui-wizard-step--disabled]=\"step?.isDisabled || !isNavigationAllowed\"\n [class.eui-wizard-step--error]=\"step?.isInvalid\"\n [class.eui--danger]=\"step?.isInvalid\"\n [class.eui-wizard-step--warning]=\"step?.isWarning\"\n [class.eui--warning]=\"step?.isWarning\"\n (click)=\"onSelectStep(step, idx + 1)\"\n (keydown)=\"onKeyDown($event)\">\n <div class=\"eui-wizard-step__indicator-wrapper\" role=\"presentation\"></div>\n\n <div class=\"eui-wizard-step__bullet-item\">\n <span class=\"eui-wizard-step__bullet-item-icon\">\n <ng-container *ngIf=\"!step?.indexIconSvgName; else customIconContent\">\n <eui-icon-svg *ngIf=\"step?.isCompleted && !step?.isActive\" icon=\"checkmark:sharp\" />\n <eui-icon-svg *ngIf=\"step?.isInvalid && !step?.isActive\" icon=\"alert:sharp\" />\n <eui-icon-svg *ngIf=\"step?.isActive\" icon=\"eui-ecl-edit\" />\n </ng-container>\n\n <ng-template #customIconContent>\n <span *ngIf=\"step?.indexIconSvgName && step?.indexIconSvgName !== undefined\" role=\"presentation\">\n <eui-icon-svg icon=\"{{ step?.indexIconSvgName }}\" class=\"eui-wizard-step__icon\" />\n </span>\n </ng-template>\n </span>\n <span class=\"eui-wizard-step__bullet-item-text\"\n *ngIf=\"!step?.indexIconSvgName && !step?.isActive && !step?.isCompleted && !step?.isInvalid\"\n role=\"presentation\">\n {{ step?.indexLabel !== undefined ? step?.indexLabel : idx + 1 }}\n </span>\n </div>\n <div class=\"eui-wizard-step__label-wrapper\" role=\"presentation\">\n <div class=\"eui-wizard-step__label-wrapper-label\" role=\"presentation\">\n {{ step?.label }}\n </div>\n <div class=\"eui-wizard-step__label-wrapper-sub-label\" role=\"presentation\">\n {{ step?.subLabel }}\n </div>\n </div>\n\n <div *ngIf=\"step?.isActive\" class=\"eui-wizard-step__current-marker\" role=\"presentation\">\n <eui-icon-svg icon=\"eui-ecl-solid-arrow\" class=\"eui-wizard-step__current-marker-icon\" size=\"xl\" />\n </div>\n </div>\n</div>\n<div [id]=\"stepContentId\" class=\"step-content\" role=\"tabpanel\">\n <ng-content></ng-content>\n</div>\n","export interface IEuiWizardStep {\n id: string;\n indexLabel: string;\n indexIconSvgName: string;\n label: string;\n subLabel: string;\n isCompleted: boolean;\n isActive: boolean;\n isShowStepTitle: boolean;\n isInvalid: boolean;\n isWarning: boolean;\n isDisabled: boolean;\n index: number;\n url: string;\n}\n\nexport class EuiWizardStep implements IEuiWizardStep {\n id: string;\n indexLabel: string;\n indexIconSvgName: string;\n label: string;\n subLabel: string;\n isCompleted = false;\n isActive = false;\n isShowStepTitle = false;\n isInvalid = false;\n isWarning = false;\n isDisabled = false;\n index: number;\n url: string;\n\n // TODO: find the correct type or turn into a generic, https://www.typescriptlang.org/docs/handbook/2/generics.html\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n constructor(values: any = {}) {\n Object.assign(this, values);\n }\n\n toString(): string {\n return JSON.stringify(this.toJSON());\n }\n\n toJSON(): object {\n return {\n id: this.id,\n indexLabel: this.indexLabel,\n indexIconSvgName: this.indexIconSvgName,\n label: this.label,\n subLabel: this.subLabel,\n isCompleted: this.isCompleted,\n isActive: this.isActive,\n isShowStepTitle: this.isShowStepTitle,\n isInvalid: this.isInvalid,\n isWarning: this.isWarning,\n isDisabled: this.isDisabled,\n index: this.index,\n url: this.url,\n };\n }\n}\n","import { Injectable } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { EuiWizardStep } from '../models/eui-wizard-step';\n\n@Injectable()\nexport class EuiWizardService {\n activeStepIndex = 1;\n steps: EuiWizardStep[] = [];\n route: ActivatedRoute;\n\n constructor(private router: Router) {}\n\n init(steps: EuiWizardStep[], route: ActivatedRoute): void {\n this.steps = steps;\n this.route = route;\n const currentRoute = this.router.url;\n const currentStepUrl = currentRoute.substr(currentRoute.lastIndexOf('/') + 1);\n this.steps.forEach((step, index) => {\n if (step.url === currentStepUrl) {\n this.activeStepIndex = index + 1;\n }\n });\n }\n\n navigationIncrement(increment: number): void {\n const newIndex: number = this.activeStepIndex + increment;\n if (newIndex >= 1 && newIndex <= this.steps.length) {\n this.activeStepIndex = newIndex;\n }\n }\n\n selectStep(step: EuiWizardStep): void {\n this.activeStepIndex = step.index;\n if (step.url) {\n this._navigateToStep(step.url);\n }\n }\n\n private _navigateToStep(url: string): void {\n this.router.navigate([url], { relativeTo: this.route });\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { RouterModule } from '@angular/router';\nimport { EuiWizardStepComponent } from './eui-wizard-step.component';\nimport { EuiWizardService } from './services/eui-wizard.service';\nimport { EuiWizardComponent } from './eui-wizard.component';\nimport { EuiIconModule } from '@eui/components/eui-icon';\n\n@NgModule({\n imports: [CommonModule, RouterModule, EuiIconModule],\n exports: [EuiWizardStepComponent, EuiWizardComponent],\n declarations: [EuiWizardStepComponent, EuiWizardComponent],\n providers: [EuiWizardService],\n})\nexport class EuiWizardModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["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