UNPKG

@visa/nova-angular

Version:

Visa Product Design System Nova Angular library

84 lines (83 loc) 3.41 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 { AfterContentInit, AfterViewInit, ElementRef } from '@angular/core'; import { AppReadyService } from '../_utilities/services/app-stable-check.service'; import { LabelDirective } from '../label/label.directive'; import * as i0 from "@angular/core"; export declare class CircularProgressComponent implements AfterContentInit, AfterViewInit { private appReadyService; _percentageSignal: import("@angular/core").WritableSignal<number>; _initialSize: import("@angular/core").WritableSignal<number>; _dashOffset: import("@angular/core").Signal<number>; progressBar: ElementRef; label: LabelDirective; /** * Provides custom class&#40;es&#41; for custom styling. * @default .v-progress.v-progress-circular */ class: string; get hostClasses(): string; /** * Sets progress to determinate when true. * @default false */ get determinate(): boolean; set determinate(value: BooleanInput); _determinate: boolean; /** * Sets progress to invalid when true. * @default false */ get invalid(): boolean; set invalid(value: BooleanInput); _invalid: boolean; /** * Sets custom role. * @default 'progressbar' when determinate * @default null when indeterminate * @builtin true */ role: string | void | null; get hostRole(): string | void | null; /** * Sets the percentage for a <code>determinate</code> circular progress. * @default 0 */ get percentage(): number; set percentage(value: NumberInput); _percentage: number; /** * Sets progress to small variant when true. * @default false */ get small(): boolean; set small(value: BooleanInput); _small: boolean; /** * Aria attribute pointing to id of labelling element. * @default &lt;child-label-id&gt; * @builtin true */ ariaLabelledby: string; get hostAriaLabelledby(): string; constructor(appReadyService: AppReadyService); ngAfterContentInit(): void; ngAfterViewInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration<CircularProgressComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<CircularProgressComponent, "[v-progress-circular], [v-circular-progress]", never, { "class": { "alias": "class"; "required": false; }; "determinate": { "alias": "determinate"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "role": { "alias": "role"; "required": false; }; "percentage": { "alias": "percentage"; "required": false; }; "small": { "alias": "small"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; }, {}, ["label"], ["*"], true, never>; }