[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 { ObserversModule } from '@angular/cdk/observers';
|
---|
| 9 | import { NgModule } from '@angular/core';
|
---|
| 10 | import { MatCommonModule, MatRippleModule } from '@angular/material/core';
|
---|
| 11 | import { MatSlideToggle } from './slide-toggle';
|
---|
| 12 | import { MatSlideToggleRequiredValidator } from './slide-toggle-required-validator';
|
---|
| 13 | /** This module is used by both original and MDC-based slide-toggle implementations. */
|
---|
| 14 | export class _MatSlideToggleRequiredValidatorModule {
|
---|
| 15 | }
|
---|
| 16 | _MatSlideToggleRequiredValidatorModule.decorators = [
|
---|
| 17 | { type: NgModule, args: [{
|
---|
| 18 | exports: [MatSlideToggleRequiredValidator],
|
---|
| 19 | declarations: [MatSlideToggleRequiredValidator],
|
---|
| 20 | },] }
|
---|
| 21 | ];
|
---|
| 22 | export class MatSlideToggleModule {
|
---|
| 23 | }
|
---|
| 24 | MatSlideToggleModule.decorators = [
|
---|
| 25 | { type: NgModule, args: [{
|
---|
| 26 | imports: [
|
---|
| 27 | _MatSlideToggleRequiredValidatorModule,
|
---|
| 28 | MatRippleModule,
|
---|
| 29 | MatCommonModule,
|
---|
| 30 | ObserversModule,
|
---|
| 31 | ],
|
---|
| 32 | exports: [
|
---|
| 33 | _MatSlideToggleRequiredValidatorModule,
|
---|
| 34 | MatSlideToggle,
|
---|
| 35 | MatCommonModule
|
---|
| 36 | ],
|
---|
| 37 | declarations: [MatSlideToggle],
|
---|
| 38 | },] }
|
---|
| 39 | ];
|
---|
| 40 | //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2xpZGUtdG9nZ2xlLW1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpb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