@ascentgl/ads-ui 21.110.0 → 21.111.0
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.
|
@@ -11122,11 +11122,11 @@ class AdsHorizontalStepperComponent {
|
|
|
11122
11122
|
this.stepClick.emit({ step, index });
|
|
11123
11123
|
}
|
|
11124
11124
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: AdsHorizontalStepperComponent, deps: [{ token: i1.AdsIconRegistry }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
11125
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: AdsHorizontalStepperComponent, isStandalone: false, selector: "ads-horizontal-stepper", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, steps: { classPropertyName: "steps", publicName: "steps", isSignal: true, isRequired: true, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { stepClick: "stepClick" }, ngImport: i0, template: "<div class=\"horizontal-stepper-container\" [id]=\"id()\">\n <div class=\"stepper-row\">\n @for (step of steps(); track $index; let last = $last) {\n <div class=\"step-icon\"\n [class.mobile]=\"!isBaseSize()\"\n (click)=\"onStepClick(step, $index)\">\n @switch (step.status) {\n @case (HorizontalStepStatus.Planned) {\n <div class=\"step-indicator step-indicator--planned\"\n [class.mobile]=\"!isBaseSize()\"></div>\n }\n @case (HorizontalStepStatus.InProgress) {\n <div class=\"step-indicator step-indicator--in-progress\"\n [class.mobile]=\"!isBaseSize()\"></div>\n }\n @case (HorizontalStepStatus.Completed) {\n <ads-icon name=\"check_circle_filled\"\n [size]=\"isBaseSize() ? 'xs' : 'xxs'\" />\n }\n }\n </div>\n @if (!last) {\n <div class=\"step-line\"\n [class.mobile]=\"!isBaseSize()\"\n [class.completed]=\"step.status === HorizontalStepStatus.Completed\"></div>\n }\n }\n </div>\n <div class=\"stepper-row titles-row\">\n @for (step of steps(); track $index; let first = $first; let last = $last) {\n <div class=\"title-anchor\"\n [class.first]=\"first\"\n [class.last]=\"last\"\n [class.mobile]=\"!isBaseSize()\"\n (click)=\"onStepClick(step, $index)\">\n <span class=\"step-title\"\n [class.mobile]=\"!isBaseSize()\"\n [class.clickable]=\"step.targetSelector\">{{ step.title }}</span>\n </div>\n @if (!last) {\n <div class=\"title-spacer\"></div>\n }\n }\n </div>\n</div>\n", styles: [":host{display:block}.horizontal-stepper-container .stepper-row{display:flex;align-items:center;gap:4px}.horizontal-stepper-container .titles-row{margin-top:4px;align-items:flex-start}.horizontal-stepper-container .step-icon{flex-shrink:0;width:20px;height:20px;display:flex;align-items:center;justify-content:center}.horizontal-stepper-container .step-icon.mobile{width:14px;height:14px}.horizontal-stepper-container .step-indicator{width:20px;height:20px;border-radius:50%;box-sizing:border-box}.horizontal-stepper-container .step-indicator.mobile{width:14px;height:14px}.horizontal-stepper-container .step-indicator--planned{border:4px solid var(--color-light)}.horizontal-stepper-container .step-indicator--planned.mobile{border-width:3px}.horizontal-stepper-container .step-indicator--in-progress{border:8px solid var(--color-secondary)}.horizontal-stepper-container .step-indicator--in-progress.mobile{border-width:5px}.horizontal-stepper-container .step-line{flex:1;height:4px;background-color:var(--color-light);border-radius:80px;min-width:8px}.horizontal-stepper-container .step-line.completed{background-color:var(--color-secondary)}.horizontal-stepper-container .step-line.mobile{height:3px}.horizontal-stepper-container .title-anchor{flex-shrink:0;width:20px;display:flex;justify-content:center;overflow:visible}.horizontal-stepper-container .title-anchor.first{justify-content:flex-start}.horizontal-stepper-container .title-anchor.last{justify-content:flex-end}.horizontal-stepper-container .title-anchor.mobile{width:14px}.horizontal-stepper-container .title-spacer{flex:1;min-width:8px}.horizontal-stepper-container .step-title{text-align:center;white-space:nowrap;color:var(--color-medium);font-size:16px;font-style:normal;font-weight:400;line-height:21px}.horizontal-stepper-container .step-title.mobile{font-size:14px;font-weight:400;line-height:18px}.horizontal-stepper-container .step-title.clickable{cursor:pointer}\n"], dependencies: [{ kind: "component", type: i1.AdsIconComponent, selector: "ads-icon", inputs: ["size", "name", "color", "theme", "stroke"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
11125
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: AdsHorizontalStepperComponent, isStandalone: false, selector: "ads-horizontal-stepper", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, steps: { classPropertyName: "steps", publicName: "steps", isSignal: true, isRequired: true, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { stepClick: "stepClick" }, ngImport: i0, template: "<div class=\"horizontal-stepper-container\" [id]=\"id()\">\n <div class=\"stepper-row\">\n @for (step of steps(); track $index; let last = $last) {\n <div class=\"step-icon\"\n [class.mobile]=\"!isBaseSize()\"\n (click)=\"onStepClick(step, $index)\">\n @switch (step.status) {\n @case (HorizontalStepStatus.Planned) {\n <div class=\"step-indicator step-indicator--planned\"\n [class.mobile]=\"!isBaseSize()\"></div>\n }\n @case (HorizontalStepStatus.InProgress) {\n <div class=\"step-indicator step-indicator--in-progress\"\n [class.mobile]=\"!isBaseSize()\"></div>\n }\n @case (HorizontalStepStatus.Completed) {\n <ads-icon name=\"check_circle_filled\"\n [size]=\"isBaseSize() ? 'xs' : 'xxs'\" />\n }\n }\n </div>\n @if (!last) {\n <div class=\"step-line\"\n [class.mobile]=\"!isBaseSize()\"\n [class.completed]=\"step.status === HorizontalStepStatus.Completed\"></div>\n }\n }\n </div>\n <div class=\"stepper-row titles-row\">\n @for (step of steps(); track $index; let first = $first; let last = $last) {\n <div class=\"title-anchor\"\n [class.first]=\"first\"\n [class.last]=\"last\"\n [class.mobile]=\"!isBaseSize()\"\n (click)=\"onStepClick(step, $index)\">\n <span class=\"step-title\"\n [class.mobile]=\"!isBaseSize()\"\n [class.clickable]=\"step.targetSelector\">{{ step.title }}</span>\n </div>\n @if (!last) {\n <div class=\"title-spacer\"></div>\n }\n }\n </div>\n</div>\n", styles: [":host{display:block}.horizontal-stepper-container .stepper-row{display:flex;align-items:center;gap:4px}.horizontal-stepper-container .titles-row{margin-top:4px;align-items:flex-start}.horizontal-stepper-container .step-icon{flex-shrink:0;width:20px;height:20px;display:flex;align-items:center;justify-content:center}.horizontal-stepper-container .step-icon.mobile{width:14px;height:14px}.horizontal-stepper-container .step-indicator{width:20px;height:20px;border-radius:50%;box-sizing:border-box}.horizontal-stepper-container .step-indicator.mobile{width:14px;height:14px}.horizontal-stepper-container .step-indicator--planned{border:4px solid var(--color-light)}.horizontal-stepper-container .step-indicator--planned.mobile{border-width:3px}.horizontal-stepper-container .step-indicator--in-progress{border:8px solid var(--color-secondary)}.horizontal-stepper-container .step-indicator--in-progress.mobile{border-width:5px}.horizontal-stepper-container .step-line{flex:1;height:4px;background-color:var(--color-light);border-radius:80px;min-width:8px}.horizontal-stepper-container .step-line.completed{background-color:var(--color-secondary)}.horizontal-stepper-container .step-line.mobile{height:3px}.horizontal-stepper-container .title-anchor{flex-shrink:0;width:20px;display:flex;justify-content:center;overflow:visible}.horizontal-stepper-container .title-anchor.first{justify-content:flex-start}.horizontal-stepper-container .title-anchor.last{justify-content:flex-end}.horizontal-stepper-container .title-anchor.mobile{width:14px}.horizontal-stepper-container .title-spacer{flex:1;min-width:8px}.horizontal-stepper-container .step-title{text-align:center;white-space:nowrap;color:var(--color-medium);font-size:16px;font-style:normal;font-weight:400;line-height:21px}.horizontal-stepper-container .step-title.mobile{font-size:14px;font-weight:400;line-height:18px}.horizontal-stepper-container .step-title.clickable{cursor:pointer}@media(max-width:480px){.horizontal-stepper-container .titles-row .title-anchor{flex:1 1 0;min-width:0;width:auto}.horizontal-stepper-container .titles-row .title-spacer{display:none}.horizontal-stepper-container .titles-row .step-title{white-space:normal;word-break:break-word}.horizontal-stepper-container .titles-row .title-anchor.first .step-title{text-align:left}.horizontal-stepper-container .titles-row .title-anchor.last .step-title{text-align:right}}\n"], dependencies: [{ kind: "component", type: i1.AdsIconComponent, selector: "ads-icon", inputs: ["size", "name", "color", "theme", "stroke"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
11126
11126
|
}
|
|
11127
11127
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: AdsHorizontalStepperComponent, decorators: [{
|
|
11128
11128
|
type: Component,
|
|
11129
|
-
args: [{ selector: 'ads-horizontal-stepper', standalone: false, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"horizontal-stepper-container\" [id]=\"id()\">\n <div class=\"stepper-row\">\n @for (step of steps(); track $index; let last = $last) {\n <div class=\"step-icon\"\n [class.mobile]=\"!isBaseSize()\"\n (click)=\"onStepClick(step, $index)\">\n @switch (step.status) {\n @case (HorizontalStepStatus.Planned) {\n <div class=\"step-indicator step-indicator--planned\"\n [class.mobile]=\"!isBaseSize()\"></div>\n }\n @case (HorizontalStepStatus.InProgress) {\n <div class=\"step-indicator step-indicator--in-progress\"\n [class.mobile]=\"!isBaseSize()\"></div>\n }\n @case (HorizontalStepStatus.Completed) {\n <ads-icon name=\"check_circle_filled\"\n [size]=\"isBaseSize() ? 'xs' : 'xxs'\" />\n }\n }\n </div>\n @if (!last) {\n <div class=\"step-line\"\n [class.mobile]=\"!isBaseSize()\"\n [class.completed]=\"step.status === HorizontalStepStatus.Completed\"></div>\n }\n }\n </div>\n <div class=\"stepper-row titles-row\">\n @for (step of steps(); track $index; let first = $first; let last = $last) {\n <div class=\"title-anchor\"\n [class.first]=\"first\"\n [class.last]=\"last\"\n [class.mobile]=\"!isBaseSize()\"\n (click)=\"onStepClick(step, $index)\">\n <span class=\"step-title\"\n [class.mobile]=\"!isBaseSize()\"\n [class.clickable]=\"step.targetSelector\">{{ step.title }}</span>\n </div>\n @if (!last) {\n <div class=\"title-spacer\"></div>\n }\n }\n </div>\n</div>\n", styles: [":host{display:block}.horizontal-stepper-container .stepper-row{display:flex;align-items:center;gap:4px}.horizontal-stepper-container .titles-row{margin-top:4px;align-items:flex-start}.horizontal-stepper-container .step-icon{flex-shrink:0;width:20px;height:20px;display:flex;align-items:center;justify-content:center}.horizontal-stepper-container .step-icon.mobile{width:14px;height:14px}.horizontal-stepper-container .step-indicator{width:20px;height:20px;border-radius:50%;box-sizing:border-box}.horizontal-stepper-container .step-indicator.mobile{width:14px;height:14px}.horizontal-stepper-container .step-indicator--planned{border:4px solid var(--color-light)}.horizontal-stepper-container .step-indicator--planned.mobile{border-width:3px}.horizontal-stepper-container .step-indicator--in-progress{border:8px solid var(--color-secondary)}.horizontal-stepper-container .step-indicator--in-progress.mobile{border-width:5px}.horizontal-stepper-container .step-line{flex:1;height:4px;background-color:var(--color-light);border-radius:80px;min-width:8px}.horizontal-stepper-container .step-line.completed{background-color:var(--color-secondary)}.horizontal-stepper-container .step-line.mobile{height:3px}.horizontal-stepper-container .title-anchor{flex-shrink:0;width:20px;display:flex;justify-content:center;overflow:visible}.horizontal-stepper-container .title-anchor.first{justify-content:flex-start}.horizontal-stepper-container .title-anchor.last{justify-content:flex-end}.horizontal-stepper-container .title-anchor.mobile{width:14px}.horizontal-stepper-container .title-spacer{flex:1;min-width:8px}.horizontal-stepper-container .step-title{text-align:center;white-space:nowrap;color:var(--color-medium);font-size:16px;font-style:normal;font-weight:400;line-height:21px}.horizontal-stepper-container .step-title.mobile{font-size:14px;font-weight:400;line-height:18px}.horizontal-stepper-container .step-title.clickable{cursor:pointer}\n"] }]
|
|
11129
|
+
args: [{ selector: 'ads-horizontal-stepper', standalone: false, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"horizontal-stepper-container\" [id]=\"id()\">\n <div class=\"stepper-row\">\n @for (step of steps(); track $index; let last = $last) {\n <div class=\"step-icon\"\n [class.mobile]=\"!isBaseSize()\"\n (click)=\"onStepClick(step, $index)\">\n @switch (step.status) {\n @case (HorizontalStepStatus.Planned) {\n <div class=\"step-indicator step-indicator--planned\"\n [class.mobile]=\"!isBaseSize()\"></div>\n }\n @case (HorizontalStepStatus.InProgress) {\n <div class=\"step-indicator step-indicator--in-progress\"\n [class.mobile]=\"!isBaseSize()\"></div>\n }\n @case (HorizontalStepStatus.Completed) {\n <ads-icon name=\"check_circle_filled\"\n [size]=\"isBaseSize() ? 'xs' : 'xxs'\" />\n }\n }\n </div>\n @if (!last) {\n <div class=\"step-line\"\n [class.mobile]=\"!isBaseSize()\"\n [class.completed]=\"step.status === HorizontalStepStatus.Completed\"></div>\n }\n }\n </div>\n <div class=\"stepper-row titles-row\">\n @for (step of steps(); track $index; let first = $first; let last = $last) {\n <div class=\"title-anchor\"\n [class.first]=\"first\"\n [class.last]=\"last\"\n [class.mobile]=\"!isBaseSize()\"\n (click)=\"onStepClick(step, $index)\">\n <span class=\"step-title\"\n [class.mobile]=\"!isBaseSize()\"\n [class.clickable]=\"step.targetSelector\">{{ step.title }}</span>\n </div>\n @if (!last) {\n <div class=\"title-spacer\"></div>\n }\n }\n </div>\n</div>\n", styles: [":host{display:block}.horizontal-stepper-container .stepper-row{display:flex;align-items:center;gap:4px}.horizontal-stepper-container .titles-row{margin-top:4px;align-items:flex-start}.horizontal-stepper-container .step-icon{flex-shrink:0;width:20px;height:20px;display:flex;align-items:center;justify-content:center}.horizontal-stepper-container .step-icon.mobile{width:14px;height:14px}.horizontal-stepper-container .step-indicator{width:20px;height:20px;border-radius:50%;box-sizing:border-box}.horizontal-stepper-container .step-indicator.mobile{width:14px;height:14px}.horizontal-stepper-container .step-indicator--planned{border:4px solid var(--color-light)}.horizontal-stepper-container .step-indicator--planned.mobile{border-width:3px}.horizontal-stepper-container .step-indicator--in-progress{border:8px solid var(--color-secondary)}.horizontal-stepper-container .step-indicator--in-progress.mobile{border-width:5px}.horizontal-stepper-container .step-line{flex:1;height:4px;background-color:var(--color-light);border-radius:80px;min-width:8px}.horizontal-stepper-container .step-line.completed{background-color:var(--color-secondary)}.horizontal-stepper-container .step-line.mobile{height:3px}.horizontal-stepper-container .title-anchor{flex-shrink:0;width:20px;display:flex;justify-content:center;overflow:visible}.horizontal-stepper-container .title-anchor.first{justify-content:flex-start}.horizontal-stepper-container .title-anchor.last{justify-content:flex-end}.horizontal-stepper-container .title-anchor.mobile{width:14px}.horizontal-stepper-container .title-spacer{flex:1;min-width:8px}.horizontal-stepper-container .step-title{text-align:center;white-space:nowrap;color:var(--color-medium);font-size:16px;font-style:normal;font-weight:400;line-height:21px}.horizontal-stepper-container .step-title.mobile{font-size:14px;font-weight:400;line-height:18px}.horizontal-stepper-container .step-title.clickable{cursor:pointer}@media(max-width:480px){.horizontal-stepper-container .titles-row .title-anchor{flex:1 1 0;min-width:0;width:auto}.horizontal-stepper-container .titles-row .title-spacer{display:none}.horizontal-stepper-container .titles-row .step-title{white-space:normal;word-break:break-word}.horizontal-stepper-container .titles-row .title-anchor.first .step-title{text-align:left}.horizontal-stepper-container .titles-row .title-anchor.last .step-title{text-align:right}}\n"] }]
|
|
11130
11130
|
}], ctorParameters: () => [{ type: i1.AdsIconRegistry }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], steps: [{ type: i0.Input, args: [{ isSignal: true, alias: "steps", required: true }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], stepClick: [{
|
|
11131
11131
|
type: Output
|
|
11132
11132
|
}] } });
|
|
@@ -12261,11 +12261,11 @@ class AdsVerticalSideNavigationStepperComponent {
|
|
|
12261
12261
|
});
|
|
12262
12262
|
}
|
|
12263
12263
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: AdsVerticalSideNavigationStepperComponent, deps: [{ token: i1.AdsIconRegistry }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12264
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: AdsVerticalSideNavigationStepperComponent, isStandalone: false, selector: "ads-vertical-side-navigation-stepper", inputs: { steps: "steps" }, outputs: { stepClick: "stepClick", subStepClick: "subStepClick" }, ngImport: i0, template: "<nav class=\"ads-vertical-side-navigation-stepper\" role=\"navigation\" aria-label=\"Step navigation\">\n <ol class=\"stepper-list\">\n @for (step of steps; track step.id; let i = $index; let last = $last) {\n @if (i === 0) {\n <div>\n <li class=\"stepper-item stepper-item--first\" [class.stepper-item--uncompleted]=\"!step.completed\">\n <div class=\"step-indicator\" [class.step-indicator--empty]=\"!step.completed\">\n @if (step.completed) {\n <ads-icon size=\"xs\" name=\"check_circle_filled\" theme=\"success\" stroke=\"success\" />\n } @else {\n <div class=\"step-indicator__circle\"></div>\n }\n </div>\n <button\n type=\"button\"\n class=\"step-button step-button--primary\"\n (click)=\"onStepClick(step, i)\"\n [attr.aria-label]=\"'Step ' + (i + 1) + ': ' + step.label\"\n >\n <div class=\"step-content\">\n <div class=\"step-title\">{{ step.label }}</div>\n </div>\n </button>\n </li>\n </div>\n } @else {\n <li class=\"stepper-item\">\n <div class=\"stepper-indicator-column\">\n <div class=\"step-indicator\">\n @if (step.completed) {\n <ads-icon size=\"xs\" name=\"check_circle_filled\" theme=\"success\" stroke=\"success\" />\n } @else {\n <div class=\"step-indicator__circle\"></div>\n }\n </div>\n @if (!last) {\n <div class=\"stepper-connector\"></div>\n }\n </div>\n <div class=\"stepper-content-wrapper\">\n <button\n type=\"button\"\n class=\"step-button step-button--main\"\n (click)=\"onStepClick(step, i)\"\n [attr.aria-label]=\"'Step ' + (i + 1) + ': ' + step.label\"\n >\n <div\n class=\"step-content\"\n [class.step-content--intermediate]=\"i > 1 && !last\"\n >\n <div class=\"step-title\">{{ step.label }}</div>\n </div>\n </button>\n @if(step.subSteps?.length) {\n @for (subStep of step.subSteps; track subStep.id; let j = $index; let subLast = $last) {\n <div class=\"sub-step\">\n <button\n type=\"button\"\n class=\"step-button step-button--sub\"\n [class.step-button--last-sub]=\"subLast\"\n (click)=\"onSubStepClick(step, subStep, i, j)\"\n [attr.aria-label]=\"'Sub-step ' + (j + 1) + ': ' + subStep.label\"\n >\n <div class=\"step-content step-content--sub\">\n <div class=\"step-title\">{{ subStep.label }}</div>\n </div>\n </button>\n </div>\n }\n }\n </div>\n </li>\n }\n }\n </ol>\n</nav>\n\n", styles: [".ads-vertical-side-navigation-stepper{width:100%}.ads-vertical-side-navigation-stepper .step-indicator__circle{all:initial;width:20px!important;height:20px!important;border-radius:50%!important;border:5px solid var(--color-light)!important;background:var(--color-white)!important;display:block!important;box-sizing:border-box!important}.ads-vertical-side-navigation-stepper .stepper-list{list-style:none;margin:0;padding:0;position:relative}.ads-vertical-side-navigation-stepper .stepper-item{position:relative;display:flex;gap:8px;align-items:stretch;min-height:48px}.ads-vertical-side-navigation-stepper .stepper-item--first{min-height:21px;padding-bottom:24px;align-items:center;position:relative}.ads-vertical-side-navigation-stepper .stepper-indicator-column{display:flex;flex-direction:column;align-items:center;width:20px;gap:4px}.ads-vertical-side-navigation-stepper .step-indicator{--indicator-size: 20px;flex-shrink:0;display:flex;align-items:center;justify-content:center;width:var(--indicator-size);height:var(--indicator-size)}.ads-vertical-side-navigation-stepper .stepper-connector{flex:1;width:4px;border-radius:80px;background-color:var(--color-light);min-height:24px;margin-bottom:4px}.ads-vertical-side-navigation-stepper .stepper-content-wrapper{display:flex;flex-direction:column;gap:8px;flex:1}.ads-vertical-side-navigation-stepper .sub-step{display:flex;flex-direction:column}.ads-vertical-side-navigation-stepper .step-button{width:100%;border:none;background:transparent;text-align:left;padding:0;outline:none}.ads-vertical-side-navigation-stepper .step-button--last-sub{margin-bottom:24px}.ads-vertical-side-navigation-stepper .step-content{cursor:pointer;display:flex;align-items:center;min-height:21px}.ads-vertical-side-navigation-stepper .step-content--intermediate .step-title{font-size:14px;font-weight:400;line-height:18px}.ads-vertical-side-navigation-stepper .step-content--sub .step-title{font-size:14px;font-weight:400;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:
|
|
12264
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: AdsVerticalSideNavigationStepperComponent, isStandalone: false, selector: "ads-vertical-side-navigation-stepper", inputs: { steps: "steps" }, outputs: { stepClick: "stepClick", subStepClick: "subStepClick" }, ngImport: i0, template: "<nav class=\"ads-vertical-side-navigation-stepper\" role=\"navigation\" aria-label=\"Step navigation\">\n <ol class=\"stepper-list\">\n @for (step of steps; track step.id; let i = $index; let last = $last) {\n @if (i === 0) {\n <div>\n <li class=\"stepper-item stepper-item--first\" [class.stepper-item--uncompleted]=\"!step.completed\">\n <div class=\"step-indicator\" [class.step-indicator--empty]=\"!step.completed\">\n @if (step.completed) {\n <ads-icon size=\"xs\" name=\"check_circle_filled\" theme=\"success\" stroke=\"success\" />\n } @else {\n <div class=\"step-indicator__circle\"></div>\n }\n </div>\n <button\n type=\"button\"\n class=\"step-button step-button--primary\"\n (click)=\"onStepClick(step, i)\"\n [attr.aria-label]=\"'Step ' + (i + 1) + ': ' + step.label\"\n >\n <div class=\"step-content\">\n <div class=\"step-title\">{{ step.label }}</div>\n </div>\n </button>\n </li>\n </div>\n } @else {\n <li class=\"stepper-item\">\n <div class=\"stepper-indicator-column\">\n <div class=\"step-indicator\">\n @if (step.completed) {\n <ads-icon size=\"xs\" name=\"check_circle_filled\" theme=\"success\" stroke=\"success\" />\n } @else {\n <div class=\"step-indicator__circle\"></div>\n }\n </div>\n @if (!last) {\n <div class=\"stepper-connector\"></div>\n }\n </div>\n <div class=\"stepper-content-wrapper\">\n <button\n type=\"button\"\n class=\"step-button step-button--main\"\n (click)=\"onStepClick(step, i)\"\n [attr.aria-label]=\"'Step ' + (i + 1) + ': ' + step.label\"\n >\n <div\n class=\"step-content\"\n [class.step-content--intermediate]=\"i > 1 && !last\"\n >\n <div class=\"step-title\">{{ step.label }}</div>\n </div>\n </button>\n @if(step.subSteps?.length) {\n @for (subStep of step.subSteps; track subStep.id; let j = $index; let subLast = $last) {\n <div class=\"sub-step\">\n <button\n type=\"button\"\n class=\"step-button step-button--sub\"\n [class.step-button--last-sub]=\"subLast\"\n (click)=\"onSubStepClick(step, subStep, i, j)\"\n [attr.aria-label]=\"'Sub-step ' + (j + 1) + ': ' + subStep.label\"\n >\n <div class=\"step-content step-content--sub\">\n <div class=\"step-title\">{{ subStep.label }}</div>\n </div>\n </button>\n </div>\n }\n }\n </div>\n </li>\n }\n }\n </ol>\n</nav>\n\n", styles: [".ads-vertical-side-navigation-stepper{width:100%}.ads-vertical-side-navigation-stepper .step-indicator__circle{all:initial;width:20px!important;height:20px!important;border-radius:50%!important;border:5px solid var(--color-light)!important;background:var(--color-white)!important;display:block!important;box-sizing:border-box!important}.ads-vertical-side-navigation-stepper .stepper-list{list-style:none;margin:0;padding:0;position:relative}.ads-vertical-side-navigation-stepper .stepper-item{position:relative;display:flex;gap:8px;align-items:stretch;min-height:48px}.ads-vertical-side-navigation-stepper .stepper-item--first{min-height:21px;padding-bottom:24px;align-items:center;position:relative}.ads-vertical-side-navigation-stepper .stepper-indicator-column{display:flex;flex-direction:column;align-items:center;width:20px;gap:4px}.ads-vertical-side-navigation-stepper .step-indicator{--indicator-size: 20px;flex-shrink:0;display:flex;align-items:center;justify-content:center;width:var(--indicator-size);height:var(--indicator-size)}.ads-vertical-side-navigation-stepper .stepper-connector{flex:1;width:4px;border-radius:80px;background-color:var(--color-light);min-height:24px;margin-bottom:4px}.ads-vertical-side-navigation-stepper .stepper-content-wrapper{display:flex;flex-direction:column;gap:8px;flex:1}.ads-vertical-side-navigation-stepper .sub-step{display:flex;flex-direction:column}.ads-vertical-side-navigation-stepper .step-button{width:100%;border:none;background:transparent;text-align:left;padding:0;outline:none}.ads-vertical-side-navigation-stepper .step-button--last-sub{margin-bottom:24px}.ads-vertical-side-navigation-stepper .step-content{cursor:pointer;display:flex;align-items:center;min-height:21px}.ads-vertical-side-navigation-stepper .step-content--intermediate .step-title{font-size:14px;font-weight:400;line-height:18px}.ads-vertical-side-navigation-stepper .step-content--sub .step-title{font-size:14px;font-weight:400;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:145px}.ads-vertical-side-navigation-stepper .step-title{flex:1;font-size:16px;font-weight:600;color:var(--color-link);line-height:21px;transition:color .2s ease}.ads-vertical-side-navigation-stepper .step-title:hover{color:var(--color-link-hover)}.ads-vertical-side-navigation-stepper .step-title:active{color:var(--color-link-pressed)}\n"], dependencies: [{ kind: "component", type: i1.AdsIconComponent, selector: "ads-icon", inputs: ["size", "name", "color", "theme", "stroke"] }] }); }
|
|
12265
12265
|
}
|
|
12266
12266
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: AdsVerticalSideNavigationStepperComponent, decorators: [{
|
|
12267
12267
|
type: Component,
|
|
12268
|
-
args: [{ selector: 'ads-vertical-side-navigation-stepper', standalone: false, template: "<nav class=\"ads-vertical-side-navigation-stepper\" role=\"navigation\" aria-label=\"Step navigation\">\n <ol class=\"stepper-list\">\n @for (step of steps; track step.id; let i = $index; let last = $last) {\n @if (i === 0) {\n <div>\n <li class=\"stepper-item stepper-item--first\" [class.stepper-item--uncompleted]=\"!step.completed\">\n <div class=\"step-indicator\" [class.step-indicator--empty]=\"!step.completed\">\n @if (step.completed) {\n <ads-icon size=\"xs\" name=\"check_circle_filled\" theme=\"success\" stroke=\"success\" />\n } @else {\n <div class=\"step-indicator__circle\"></div>\n }\n </div>\n <button\n type=\"button\"\n class=\"step-button step-button--primary\"\n (click)=\"onStepClick(step, i)\"\n [attr.aria-label]=\"'Step ' + (i + 1) + ': ' + step.label\"\n >\n <div class=\"step-content\">\n <div class=\"step-title\">{{ step.label }}</div>\n </div>\n </button>\n </li>\n </div>\n } @else {\n <li class=\"stepper-item\">\n <div class=\"stepper-indicator-column\">\n <div class=\"step-indicator\">\n @if (step.completed) {\n <ads-icon size=\"xs\" name=\"check_circle_filled\" theme=\"success\" stroke=\"success\" />\n } @else {\n <div class=\"step-indicator__circle\"></div>\n }\n </div>\n @if (!last) {\n <div class=\"stepper-connector\"></div>\n }\n </div>\n <div class=\"stepper-content-wrapper\">\n <button\n type=\"button\"\n class=\"step-button step-button--main\"\n (click)=\"onStepClick(step, i)\"\n [attr.aria-label]=\"'Step ' + (i + 1) + ': ' + step.label\"\n >\n <div\n class=\"step-content\"\n [class.step-content--intermediate]=\"i > 1 && !last\"\n >\n <div class=\"step-title\">{{ step.label }}</div>\n </div>\n </button>\n @if(step.subSteps?.length) {\n @for (subStep of step.subSteps; track subStep.id; let j = $index; let subLast = $last) {\n <div class=\"sub-step\">\n <button\n type=\"button\"\n class=\"step-button step-button--sub\"\n [class.step-button--last-sub]=\"subLast\"\n (click)=\"onSubStepClick(step, subStep, i, j)\"\n [attr.aria-label]=\"'Sub-step ' + (j + 1) + ': ' + subStep.label\"\n >\n <div class=\"step-content step-content--sub\">\n <div class=\"step-title\">{{ subStep.label }}</div>\n </div>\n </button>\n </div>\n }\n }\n </div>\n </li>\n }\n }\n </ol>\n</nav>\n\n", styles: [".ads-vertical-side-navigation-stepper{width:100%}.ads-vertical-side-navigation-stepper .step-indicator__circle{all:initial;width:20px!important;height:20px!important;border-radius:50%!important;border:5px solid var(--color-light)!important;background:var(--color-white)!important;display:block!important;box-sizing:border-box!important}.ads-vertical-side-navigation-stepper .stepper-list{list-style:none;margin:0;padding:0;position:relative}.ads-vertical-side-navigation-stepper .stepper-item{position:relative;display:flex;gap:8px;align-items:stretch;min-height:48px}.ads-vertical-side-navigation-stepper .stepper-item--first{min-height:21px;padding-bottom:24px;align-items:center;position:relative}.ads-vertical-side-navigation-stepper .stepper-indicator-column{display:flex;flex-direction:column;align-items:center;width:20px;gap:4px}.ads-vertical-side-navigation-stepper .step-indicator{--indicator-size: 20px;flex-shrink:0;display:flex;align-items:center;justify-content:center;width:var(--indicator-size);height:var(--indicator-size)}.ads-vertical-side-navigation-stepper .stepper-connector{flex:1;width:4px;border-radius:80px;background-color:var(--color-light);min-height:24px;margin-bottom:4px}.ads-vertical-side-navigation-stepper .stepper-content-wrapper{display:flex;flex-direction:column;gap:8px;flex:1}.ads-vertical-side-navigation-stepper .sub-step{display:flex;flex-direction:column}.ads-vertical-side-navigation-stepper .step-button{width:100%;border:none;background:transparent;text-align:left;padding:0;outline:none}.ads-vertical-side-navigation-stepper .step-button--last-sub{margin-bottom:24px}.ads-vertical-side-navigation-stepper .step-content{cursor:pointer;display:flex;align-items:center;min-height:21px}.ads-vertical-side-navigation-stepper .step-content--intermediate .step-title{font-size:14px;font-weight:400;line-height:18px}.ads-vertical-side-navigation-stepper .step-content--sub .step-title{font-size:14px;font-weight:400;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:
|
|
12268
|
+
args: [{ selector: 'ads-vertical-side-navigation-stepper', standalone: false, template: "<nav class=\"ads-vertical-side-navigation-stepper\" role=\"navigation\" aria-label=\"Step navigation\">\n <ol class=\"stepper-list\">\n @for (step of steps; track step.id; let i = $index; let last = $last) {\n @if (i === 0) {\n <div>\n <li class=\"stepper-item stepper-item--first\" [class.stepper-item--uncompleted]=\"!step.completed\">\n <div class=\"step-indicator\" [class.step-indicator--empty]=\"!step.completed\">\n @if (step.completed) {\n <ads-icon size=\"xs\" name=\"check_circle_filled\" theme=\"success\" stroke=\"success\" />\n } @else {\n <div class=\"step-indicator__circle\"></div>\n }\n </div>\n <button\n type=\"button\"\n class=\"step-button step-button--primary\"\n (click)=\"onStepClick(step, i)\"\n [attr.aria-label]=\"'Step ' + (i + 1) + ': ' + step.label\"\n >\n <div class=\"step-content\">\n <div class=\"step-title\">{{ step.label }}</div>\n </div>\n </button>\n </li>\n </div>\n } @else {\n <li class=\"stepper-item\">\n <div class=\"stepper-indicator-column\">\n <div class=\"step-indicator\">\n @if (step.completed) {\n <ads-icon size=\"xs\" name=\"check_circle_filled\" theme=\"success\" stroke=\"success\" />\n } @else {\n <div class=\"step-indicator__circle\"></div>\n }\n </div>\n @if (!last) {\n <div class=\"stepper-connector\"></div>\n }\n </div>\n <div class=\"stepper-content-wrapper\">\n <button\n type=\"button\"\n class=\"step-button step-button--main\"\n (click)=\"onStepClick(step, i)\"\n [attr.aria-label]=\"'Step ' + (i + 1) + ': ' + step.label\"\n >\n <div\n class=\"step-content\"\n [class.step-content--intermediate]=\"i > 1 && !last\"\n >\n <div class=\"step-title\">{{ step.label }}</div>\n </div>\n </button>\n @if(step.subSteps?.length) {\n @for (subStep of step.subSteps; track subStep.id; let j = $index; let subLast = $last) {\n <div class=\"sub-step\">\n <button\n type=\"button\"\n class=\"step-button step-button--sub\"\n [class.step-button--last-sub]=\"subLast\"\n (click)=\"onSubStepClick(step, subStep, i, j)\"\n [attr.aria-label]=\"'Sub-step ' + (j + 1) + ': ' + subStep.label\"\n >\n <div class=\"step-content step-content--sub\">\n <div class=\"step-title\">{{ subStep.label }}</div>\n </div>\n </button>\n </div>\n }\n }\n </div>\n </li>\n }\n }\n </ol>\n</nav>\n\n", styles: [".ads-vertical-side-navigation-stepper{width:100%}.ads-vertical-side-navigation-stepper .step-indicator__circle{all:initial;width:20px!important;height:20px!important;border-radius:50%!important;border:5px solid var(--color-light)!important;background:var(--color-white)!important;display:block!important;box-sizing:border-box!important}.ads-vertical-side-navigation-stepper .stepper-list{list-style:none;margin:0;padding:0;position:relative}.ads-vertical-side-navigation-stepper .stepper-item{position:relative;display:flex;gap:8px;align-items:stretch;min-height:48px}.ads-vertical-side-navigation-stepper .stepper-item--first{min-height:21px;padding-bottom:24px;align-items:center;position:relative}.ads-vertical-side-navigation-stepper .stepper-indicator-column{display:flex;flex-direction:column;align-items:center;width:20px;gap:4px}.ads-vertical-side-navigation-stepper .step-indicator{--indicator-size: 20px;flex-shrink:0;display:flex;align-items:center;justify-content:center;width:var(--indicator-size);height:var(--indicator-size)}.ads-vertical-side-navigation-stepper .stepper-connector{flex:1;width:4px;border-radius:80px;background-color:var(--color-light);min-height:24px;margin-bottom:4px}.ads-vertical-side-navigation-stepper .stepper-content-wrapper{display:flex;flex-direction:column;gap:8px;flex:1}.ads-vertical-side-navigation-stepper .sub-step{display:flex;flex-direction:column}.ads-vertical-side-navigation-stepper .step-button{width:100%;border:none;background:transparent;text-align:left;padding:0;outline:none}.ads-vertical-side-navigation-stepper .step-button--last-sub{margin-bottom:24px}.ads-vertical-side-navigation-stepper .step-content{cursor:pointer;display:flex;align-items:center;min-height:21px}.ads-vertical-side-navigation-stepper .step-content--intermediate .step-title{font-size:14px;font-weight:400;line-height:18px}.ads-vertical-side-navigation-stepper .step-content--sub .step-title{font-size:14px;font-weight:400;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:145px}.ads-vertical-side-navigation-stepper .step-title{flex:1;font-size:16px;font-weight:600;color:var(--color-link);line-height:21px;transition:color .2s ease}.ads-vertical-side-navigation-stepper .step-title:hover{color:var(--color-link-hover)}.ads-vertical-side-navigation-stepper .step-title:active{color:var(--color-link-pressed)}\n"] }]
|
|
12269
12269
|
}], ctorParameters: () => [{ type: i1.AdsIconRegistry }], propDecorators: { steps: [{
|
|
12270
12270
|
type: Input
|
|
12271
12271
|
}], stepClick: [{
|