Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | 1x 113x 113x 113x 113x 113x 113x 113x 113x | /** * Copyright (c) Siemens 2016 - 2025 * SPDX-License-Identifier: MIT */ import { booleanAttribute, ChangeDetectionStrategy, Component, input, output, signal } from '@angular/core'; import { TranslatableString } from '@siemens/element-translate-ng/translate'; @Component({ selector: 'si-wizard-step', templateUrl: './si-wizard-step.component.html', changeDetection: ChangeDetectionStrategy.OnPush }) export class SiWizardStepComponent { /** @defaultValue '' */ readonly heading = input<TranslatableString>(''); /** @defaultValue true */ readonly isValid = input(true, { transform: booleanAttribute }); /** @defaultValue true */ readonly isNextNavigable = input(true, { transform: booleanAttribute }); /** @defaultValue false */ readonly failed = input(false, { transform: booleanAttribute }); readonly next = output(); readonly back = output(); readonly save = output(); /** * Whether this step is currently active or not. * @defaultValue false */ readonly isActive = signal(false); } |