stepper-intl.d.ts 980 B

123456789101112131415161718192021222324252627
  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 { Optional } from '@angular/core';
  9. import { Subject } from 'rxjs';
  10. /** Stepper data that is required for internationalization. */
  11. export declare class MatStepperIntl {
  12. /**
  13. * Stream that emits whenever the labels here are changed. Use this to notify
  14. * components if the labels have changed after initialization.
  15. */
  16. readonly changes: Subject<void>;
  17. /** Label that is rendered below optional steps. */
  18. optionalLabel: string;
  19. }
  20. /** @docs-private */
  21. export declare function MAT_STEPPER_INTL_PROVIDER_FACTORY(parentIntl: MatStepperIntl): MatStepperIntl;
  22. /** @docs-private */
  23. export declare const MAT_STEPPER_INTL_PROVIDER: {
  24. provide: typeof MatStepperIntl;
  25. deps: Optional[][];
  26. useFactory: typeof MAT_STEPPER_INTL_PROVIDER_FACTORY;
  27. };