@visa/nova-angular
Version:
Visa Product Design System Nova Angular library
76 lines (75 loc) • 2.98 kB
TypeScript
/**
* 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 { TableSize } from './table.constants';
import * as i0 from "@angular/core";
export declare class TableDirective {
/**
* Provides custom class(es) for custom styling.
* @default .v-table
*/
class: string;
get hostClasses(): string;
/**
* Sets table as subtle variant when true.
* @default false
*/
get subtle(): boolean;
set subtle(value: BooleanInput);
_subtle: boolean;
/**
* Adds vertical and horizontal divider lines when true.
* @default false
*/
get dividerLines(): boolean;
set dividerLines(value: BooleanInput);
_dividerLines: boolean;
/**
* Adds horizontal divider lines when true.
* @default false
*/
get horizontalDividerLines(): boolean;
set horizontalDividerLines(value: BooleanInput);
_horizontalDividerLines: boolean;
/**
* Sets table as key-value variant when true.
* @default false
*/
get keyValue(): boolean;
set keyValue(value: BooleanInput);
_keyValue: boolean;
/**
* Sets table as alternate variant when true (alternate rows have different background color).
* @default false
*/
get alternate(): boolean;
set alternate(value: BooleanInput);
_alternate: boolean;
get hostTableBlockDefault(): string | void;
get hostTablePaddingBlock(): string | void;
/**
* Sets table size.
* @default 'medium' / TableSize.MEDIUM
* @options 'compact' | TableSize.COMPACT | <br> 'medium' | TableSize.MEDIUM | <br> 'large' | TableSize.LARGE
*/
get tableSize(): TableSize;
set tableSize(value: TableSize);
_tableSize: TableSize;
constructor();
static ɵfac: i0.ɵɵFactoryDeclaration<TableDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<TableDirective, "[v-table]", never, { "class": { "alias": "class"; "required": false; }; "subtle": { "alias": "subtle"; "required": false; }; "dividerLines": { "alias": "dividerLines"; "required": false; }; "horizontalDividerLines": { "alias": "horizontalDividerLines"; "required": false; }; "keyValue": { "alias": "keyValue"; "required": false; }; "alternate": { "alias": "alternate"; "required": false; }; "tableSize": { "alias": "tableSize"; "required": false; }; }, {}, never, never, true, never>;
}