[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 { BooleanInput } from '@angular/cdk/coercion';
|
---|
| 9 | import { InjectionToken } from '@angular/core';
|
---|
| 10 | import { CanDisable } from '../common-behaviors/disabled';
|
---|
| 11 | import { MatOptionParentComponent } from './option-parent';
|
---|
| 12 | /** @docs-private */
|
---|
| 13 | import * as ɵngcc0 from '@angular/core';
|
---|
| 14 | declare const _MatOptgroupMixinBase: import("@angular/material/core/common-behaviors/constructor").Constructor<CanDisable> & import("@angular/material/core/common-behaviors/constructor").AbstractConstructor<CanDisable> & {
|
---|
| 15 | new (): {};
|
---|
| 16 | };
|
---|
| 17 | export declare class _MatOptgroupBase extends _MatOptgroupMixinBase implements CanDisable {
|
---|
| 18 | /** Label for the option group. */
|
---|
| 19 | label: string;
|
---|
| 20 | /** Unique id for the underlying label. */
|
---|
| 21 | _labelId: string;
|
---|
| 22 | /** Whether the group is in inert a11y mode. */
|
---|
| 23 | _inert: boolean;
|
---|
| 24 | constructor(parent?: MatOptionParentComponent);
|
---|
| 25 | static ngAcceptInputType_disabled: BooleanInput;
|
---|
| 26 | static ɵfac: ɵngcc0.ɵɵFactoryDeclaration<_MatOptgroupBase, [{ optional: true; }]>;
|
---|
| 27 | static ɵdir: ɵngcc0.ɵɵDirectiveDeclaration<_MatOptgroupBase, never, never, { "label": "label"; }, {}, never>;
|
---|
| 28 | }
|
---|
| 29 | /**
|
---|
| 30 | * Injection token that can be used to reference instances of `MatOptgroup`. It serves as
|
---|
| 31 | * alternative token to the actual `MatOptgroup` class which could cause unnecessary
|
---|
| 32 | * retention of the class and its component metadata.
|
---|
| 33 | */
|
---|
| 34 | export declare const MAT_OPTGROUP: InjectionToken<MatOptgroup>;
|
---|
| 35 | /**
|
---|
| 36 | * Component that is used to group instances of `mat-option`.
|
---|
| 37 | */
|
---|
| 38 | export declare class MatOptgroup extends _MatOptgroupBase {
|
---|
| 39 | static ɵfac: ɵngcc0.ɵɵFactoryDeclaration<MatOptgroup, never>;
|
---|
| 40 | static ɵcmp: ɵngcc0.ɵɵComponentDeclaration<MatOptgroup, "mat-optgroup", ["matOptgroup"], { "disabled": "disabled"; }, {}, never, ["*", "mat-option, ng-container"]>;
|
---|
| 41 | }
|
---|
| 42 | export {};
|
---|
| 43 |
|
---|
| 44 | //# sourceMappingURL=optgroup.d.ts.map |
---|