/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {ObserversModule} from '@angular/cdk/observers'; import {CommonModule} from '@angular/common'; import {NgModule} from '@angular/core'; import {MatCommonModule, MatRippleModule} from '@angular/material/core'; import {MatCheckbox} from './checkbox'; import {MatCheckboxRequiredValidator} from './checkbox-required-validator'; /** This module is used by both original and MDC-based checkbox implementations. */ @NgModule({ exports: [MatCheckboxRequiredValidator], declarations: [MatCheckboxRequiredValidator], }) // tslint:disable-next-line:class-name export class _MatCheckboxRequiredValidatorModule { } @NgModule({ imports: [ CommonModule, MatRippleModule, MatCommonModule, ObserversModule, _MatCheckboxRequiredValidatorModule ], exports: [MatCheckbox, MatCommonModule, _MatCheckboxRequiredValidatorModule], declarations: [MatCheckbox], }) export class MatCheckboxModule { }