UNPKG

@visa/nova-angular

Version:

Visa Product Design System Nova Angular library

56 lines (55 loc) 2.79 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 } from '@angular/core'; import { ButtonDirective } from '../button/button.directive'; import { CheckboxDirective } from '../checkbox/checkbox.directive'; import { InputMessageDirective } from '../input-message/input-message.directive'; import { InputDirective } from '../input/input.directive'; import { LabelDirective } from '../label/label.directive'; import { RadioDirective } from '../radio/radio.directive'; import { SelectDirective } from '../select/select.directive'; import * as i0 from "@angular/core"; export declare class InputContainerComponent implements AfterContentInit { select: SelectDirective; buttons: QueryList<ButtonDirective>; input: InputDirective; message: InputMessageDirective; checkbox: CheckboxDirective; radio: RadioDirective; label: LabelDirective; /** * Provides custom class&#40;es&#41; for custom styling. * @default .v-input-container * @default .v-surface if contains input or select directive. */ class: string; get hostClasses(): string; /** * Removes the default toggle icon when true, allowing you to provide your own. <br> * After the closing <code>select</code> tag, provide your custom icon inside a <code>&lt;div class=&#8220;v-input-control&#8221;&gt;</code>. * @default false */ get useCustomIcon(): boolean; set useCustomIcon(value: BooleanInput); _useCustomIcon: boolean; constructor(); ngAfterContentInit(): void; setButtonDisabledState(isDisabled: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration<InputContainerComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<InputContainerComponent, "[v-input-container]", never, { "class": { "alias": "class"; "required": false; }; "useCustomIcon": { "alias": "useCustomIcon"; "required": false; }; }, {}, ["select", "input", "message", "checkbox", "radio", "label", "buttons"], ["*", "v-icon-visa-toggle", "[v-icon-visa-chevron-down-tiny]", "[v-icon-visa-chevron-up-tiny]", "[v-icon][icon='chevron-down']", "[v-icon][icon='chevron-up']"], true, never>; }