source: trip-planner-front/node_modules/@angular/material/esm2015/stepper/stepper-intl.js

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

initial commit

  • Property mode set to 100644
File size: 4.5 KB
Line 
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 { Injectable, Optional, SkipSelf } from '@angular/core';
9import { Subject } from 'rxjs';
10import * as i0 from "@angular/core";
11/** Stepper data that is required for internationalization. */
12export class MatStepperIntl {
13 constructor() {
14 /**
15 * Stream that emits whenever the labels here are changed. Use this to notify
16 * components if the labels have changed after initialization.
17 */
18 this.changes = new Subject();
19 /** Label that is rendered below optional steps. */
20 this.optionalLabel = 'Optional';
21 /** Label that is used to indicate step as completed to screen readers. */
22 this.completedLabel = 'Completed';
23 /** Label that is used to indicate step as editable to screen readers. */
24 this.editableLabel = 'Editable';
25 }
26}
27MatStepperIntl.ɵprov = i0.ɵɵdefineInjectable({ factory: function MatStepperIntl_Factory() { return new MatStepperIntl(); }, token: MatStepperIntl, providedIn: "root" });
28MatStepperIntl.decorators = [
29 { type: Injectable, args: [{ providedIn: 'root' },] }
30];
31/** @docs-private */
32export function MAT_STEPPER_INTL_PROVIDER_FACTORY(parentIntl) {
33 return parentIntl || new MatStepperIntl();
34}
35/** @docs-private */
36export const MAT_STEPPER_INTL_PROVIDER = {
37 provide: MatStepperIntl,
38 deps: [[new Optional(), new SkipSelf(), MatStepperIntl]],
39 useFactory: MAT_STEPPER_INTL_PROVIDER_FACTORY
40};
41//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RlcHBlci1pbnRsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL21hdGVyaWFsL3N0ZXBwZXIvc3RlcHBlci1pbnRsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJ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