UNPKG

@visa/nova-angular

Version:

Visa Product Design System Nova Angular library

61 lines (60 loc) 2.43 kB
/** * Copyright (c) 2025 Visa, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * **/ import { BooleanInput } from '@angular/cdk/coercion'; import { AfterContentInit, QueryList, ChangeDetectorRef } from '@angular/core'; import { AccordionDetailsDirective } from '../accordion-item/accordion-item.directive'; import { ButtonDirective } from '../button/button.directive'; import * as i0 from "@angular/core"; export declare class WizardStepDirective implements AfterContentInit { private accordion; private cdRef; buttons: QueryList<ButtonDirective>; /** * Provides custom class&#40;es&#41; for custom styling. * @default .v-wizard-step */ get class(): string; set class(value: string); _class: string; get hostClass(): string; constructor(accordion: AccordionDetailsDirective, cdRef: ChangeDetectorRef); /** * Marks the step as current step when true. * @default false */ get active(): boolean; set active(value: BooleanInput); _active: boolean; get hostAriaCurrent(): string | void; /** * Marks the step as completed when true. * @default false */ get complete(): boolean; set complete(value: BooleanInput); _complete: boolean; /** * Marks the step as invalid when true. * @default false */ get invalid(): boolean; set invalid(value: BooleanInput); _invalid: boolean; ngAfterContentInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration<WizardStepDirective, [{ optional: true; }, null]>; static ɵdir: i0.ɵɵDirectiveDeclaration<WizardStepDirective, "[v-wizard-step] ", never, { "class": { "alias": "class"; "required": false; }; "active": { "alias": "active"; "required": false; }; "complete": { "alias": "complete"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; }, {}, ["buttons"], never, true, never>; }