UNPKG

@visa/nova-angular

Version:

Visa Product Design System Nova Angular library

74 lines (73 loc) 2.86 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, NumberInput } from '@angular/cdk/coercion'; import * as i0 from "@angular/core"; export declare class LinearProgressDirective { /** * Provides custom class&#40;es&#41; for custom styling. * @default .v-progress.v-progress-bar */ class: string; get hostClasses(): string; /** * Sets progress to determinate when true. * @default false */ get determinate(): boolean; set determinate(value: BooleanInput); _determinate: boolean; /** * Marks progress as invalid when true. * @default false */ get invalid(): boolean; set invalid(value: BooleanInput); _invalid: boolean; /** * Sets the percentage for a <code>determinate</code> progress bar. * @default 0 */ get percentage(): number; set percentage(value: NumberInput); _percentage: number; /** * The max value for a <code>determinate</code> progress bar. * @default 100 */ get max(): number; set max(value: NumberInput); _max: number; get hostMax(): number; /** * Hide indeterminate progress bar from screen readers when true. * @default 'true' when <code>determinate</code> is false * @default null when <code>determinate</code> is true * @builtin true */ ariaHidden: string | void | null; get hostAriaHidden(): string | void | null; /** * The current value for a <code>determinate</code> progress bar. */ get value(): number; set value(value: NumberInput); _value: number; get hostValue(): number | void; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration<LinearProgressDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<LinearProgressDirective, "[v-progress-linear], [v-linear-progress]", never, { "class": { "alias": "class"; "required": false; }; "determinate": { "alias": "determinate"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "percentage": { "alias": "percentage"; "required": false; }; "max": { "alias": "max"; "required": false; }; "ariaHidden": { "alias": "ariaHidden"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, true, never>; }