UNPKG

@visa/nova-angular

Version:

Visa Product Design System Nova Angular library

65 lines (64 loc) 2.37 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 { OnInit } from '@angular/core'; import { UUIDService } from '../_utilities/services/uuid.service'; import * as i0 from "@angular/core"; export declare class DialogComponent implements OnInit { private uuidService; dialogElement: HTMLDialogElement; /** * Sets custom id. * @default uuidService.getUUID('v-dialog-') * @builtin true */ id: string; get hostId(): string; /** * @ignore */ get messageType(): string; set messageType(value: string); _messageType: string; isOpen: boolean; get ariaModal(): string; get ariaRole(): string; /** * Aria attribute pointing to id of labelling element. * @default '&lt;this.id&gt;-title' * @builtin true */ label: string; get ariaLabelledBy(): string; /** * Aria attribute pointing to id of descriptive element. * @default '&lt;this.id&gt;-description' * @builtin true */ descriptionLabel: string; get ariaDescribedBy(): string; /** * Provides custom class&#40;es&#41; for custom styling. * @default .v-dialog * @default .v-dialog-default */ class: string; get hostClass(): string; constructor(uuidService: UUIDService); ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "[v-dialog]", never, { "id": { "alias": "id"; "required": false; }; "messageType": { "alias": "messageType"; "required": false; }; "label": { "alias": "aria-labelledby"; "required": false; }; "descriptionLabel": { "alias": "aria-describedby"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, {}, never, ["*"], true, never>; }