source: trip-planner-front/node_modules/@angular/material/stepper/step-header.d.ts@ 6fe77af

Last change on this file since 6fe77af was 6fe77af, checked in by Ema <ema_spirova@…>, 3 years ago

add location feature

  • Property mode set to 100644
File size: 3.1 KB
RevLine 
[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 */
8import { FocusMonitor, FocusOrigin } from '@angular/cdk/a11y';
9import { ChangeDetectorRef, ElementRef, OnDestroy, TemplateRef, AfterViewInit } from '@angular/core';
10import { MatStepLabel } from './step-label';
11import { MatStepperIntl } from './stepper-intl';
12import { MatStepperIconContext } from './stepper-icon';
13import { StepState } from '@angular/cdk/stepper';
14import { CanColor } from '@angular/material/core';
15/** @docs-private */
[6fe77af]16import * as ɵngcc0 from '@angular/core';
[6a3a178]17declare const _MatStepHeaderBase: import("@angular/material/core/common-behaviors/constructor").Constructor<CanColor> & import("@angular/material/core/common-behaviors/constructor").AbstractConstructor<CanColor> & {
18 new (elementRef: ElementRef): {
19 _elementRef: ElementRef<HTMLElement>;
20 focus(): void;
21 };
22};
23export declare class MatStepHeader extends _MatStepHeaderBase implements AfterViewInit, OnDestroy, CanColor {
24 _intl: MatStepperIntl;
25 private _focusMonitor;
26 private _intlSubscription;
27 /** State of the given step. */
28 state: StepState;
29 /** Label of the given step. */
30 label: MatStepLabel | string;
31 /** Error message to display when there's an error. */
32 errorMessage: string;
33 /** Overrides for the header icons, passed in via the stepper. */
34 iconOverrides: {
35 [key: string]: TemplateRef<MatStepperIconContext>;
36 };
37 /** Index of the given step. */
38 index: number;
39 /** Whether the given step is selected. */
40 selected: boolean;
41 /** Whether the given step label is active. */
42 active: boolean;
43 /** Whether the given step is optional. */
44 optional: boolean;
45 /** Whether the ripple should be disabled. */
46 disableRipple: boolean;
47 constructor(_intl: MatStepperIntl, _focusMonitor: FocusMonitor, _elementRef: ElementRef<HTMLElement>, changeDetectorRef: ChangeDetectorRef);
48 ngAfterViewInit(): void;
49 ngOnDestroy(): void;
50 /** Focuses the step header. */
51 focus(origin?: FocusOrigin, options?: FocusOptions): void;
52 /** Returns string label of given step if it is a text label. */
53 _stringLabel(): string | null;
54 /** Returns MatStepLabel if the label of given step is a template label. */
55 _templateLabel(): MatStepLabel | null;
56 /** Returns the host HTML element. */
57 _getHostElement(): HTMLElement;
58 /** Template context variables that are exposed to the `matStepperIcon` instances. */
59 _getIconContext(): MatStepperIconContext;
60 _getDefaultTextForState(state: StepState): string;
[6fe77af]61 static ɵfac: ɵngcc0.ɵɵFactoryDeclaration<MatStepHeader, never>;
62 static ɵcmp: ɵngcc0.ɵɵComponentDeclaration<MatStepHeader, "mat-step-header", never, { "color": "color"; "state": "state"; "label": "label"; "errorMessage": "errorMessage"; "iconOverrides": "iconOverrides"; "index": "index"; "selected": "selected"; "active": "active"; "optional": "optional"; "disableRipple": "disableRipple"; }, {}, never, never>;
[6a3a178]63}
64export {};
[6fe77af]65
66//# sourceMappingURL=step-header.d.ts.map
Note: See TracBrowser for help on using the repository browser.