[6a3a178] | 1 | /**
|
---|
| 2 | * @license
|
---|
| 3 | * Copyright Google LLC All Rights Reserved.
|
---|
| 4 | *
|
---|
| 5 | * Use of this source code is governed by an MIT-style license that can be
|
---|
| 6 | * found in the LICENSE file at https://angular.io/license
|
---|
| 7 | */
|
---|
| 8 | import { CdkNestedTreeNode, CdkTree, CdkTreeNode, CdkTreeNodeDef } from '@angular/cdk/tree';
|
---|
| 9 | import { AfterContentInit, DoCheck, ElementRef, IterableDiffers, OnDestroy, OnInit } from '@angular/core';
|
---|
| 10 | import { CanDisable, HasTabIndex } from '@angular/material/core';
|
---|
| 11 | import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
|
---|
| 12 | declare const _MatTreeNodeBase: import("@angular/material/core/common-behaviors/constructor").Constructor<HasTabIndex> & import("@angular/material/core/common-behaviors/constructor").AbstractConstructor<HasTabIndex> & import("@angular/material/core/common-behaviors/constructor").Constructor<CanDisable> & import("@angular/material/core/common-behaviors/constructor").AbstractConstructor<CanDisable> & typeof CdkTreeNode;
|
---|
| 13 | /**
|
---|
| 14 | * Wrapper for the CdkTree node with Material design styles.
|
---|
| 15 | */
|
---|
| 16 | export declare class MatTreeNode<T, K = T> extends _MatTreeNodeBase<T, K> implements CanDisable, DoCheck, HasTabIndex, OnInit, OnDestroy {
|
---|
| 17 | constructor(elementRef: ElementRef<HTMLElement>, tree: CdkTree<T, K>, tabIndex: string);
|
---|
| 18 | ngOnInit(): void;
|
---|
| 19 | ngDoCheck(): void;
|
---|
| 20 | ngOnDestroy(): void;
|
---|
| 21 | static ngAcceptInputType_disabled: BooleanInput;
|
---|
| 22 | static ngAcceptInputType_tabIndex: NumberInput;
|
---|
| 23 | }
|
---|
| 24 | /**
|
---|
| 25 | * Wrapper for the CdkTree node definition with Material design styles.
|
---|
| 26 | * Captures the node's template and a when predicate that describes when this node should be used.
|
---|
| 27 | */
|
---|
| 28 | export declare class MatTreeNodeDef<T> extends CdkTreeNodeDef<T> {
|
---|
| 29 | data: T;
|
---|
| 30 | }
|
---|
| 31 | /**
|
---|
| 32 | * Wrapper for the CdkTree nested node with Material design styles.
|
---|
| 33 | */
|
---|
| 34 | export declare class MatNestedTreeNode<T, K = T> extends CdkNestedTreeNode<T, K> implements AfterContentInit, DoCheck, OnDestroy, OnInit {
|
---|
| 35 | node: T;
|
---|
| 36 | /** Whether the node is disabled. */
|
---|
| 37 | get disabled(): any;
|
---|
| 38 | set disabled(value: any);
|
---|
| 39 | private _disabled;
|
---|
| 40 | /** Tabindex for the node. */
|
---|
| 41 | get tabIndex(): number;
|
---|
| 42 | set tabIndex(value: number);
|
---|
| 43 | private _tabIndex;
|
---|
| 44 | constructor(elementRef: ElementRef<HTMLElement>, tree: CdkTree<T, K>, differs: IterableDiffers, tabIndex: string);
|
---|
| 45 | ngOnInit(): void;
|
---|
| 46 | ngDoCheck(): void;
|
---|
| 47 | ngAfterContentInit(): void;
|
---|
| 48 | ngOnDestroy(): void;
|
---|
| 49 | static ngAcceptInputType_disabled: BooleanInput;
|
---|
| 50 | }
|
---|
| 51 | export {};
|
---|