| /* |
| * Licensed to the Apache Software Foundation (ASF) under one |
| * or more contributor license agreements. See the NOTICE file |
| * distributed with this work for additional information |
| * regarding copyright ownership. The ASF licenses this file |
| * to you under the Apache License, Version 2.0 (the |
| * "License"); you may not use this file except in compliance |
| * with the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, |
| * software distributed under the License is distributed on an |
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| * KIND, either express or implied. See the License for the |
| * specific language governing permissions and limitations |
| * under the License. |
| */ |
| |
| import { NgModule } from '@angular/core'; |
| import { CdkTableModule } from '@angular/cdk/table'; |
| |
| import { MatAutocompleteModule } from '@angular/material/autocomplete'; |
| import { MatButtonModule } from '@angular/material/button'; |
| import { MatButtonToggleModule } from '@angular/material/button-toggle'; |
| import { MatCardModule } from '@angular/material/card'; |
| import { MatCheckboxModule } from '@angular/material/checkbox'; |
| import { MatChipsModule } from '@angular/material/chips'; |
| import {MAT_HAMMER_OPTIONS, MatNativeDateModule} from '@angular/material/core'; |
| import { MatDatepickerModule } from '@angular/material/datepicker'; |
| import { MatDialogModule } from '@angular/material/dialog'; |
| import { MatExpansionModule } from '@angular/material/expansion'; |
| import { MatFormFieldModule } from '@angular/material/form-field'; |
| import { MatGridListModule } from '@angular/material/grid-list'; |
| import { MatIconModule } from '@angular/material/icon'; |
| import { MatInputModule } from '@angular/material/input'; |
| import { MatListModule } from '@angular/material/list'; |
| import { MatMenuModule } from '@angular/material/menu'; |
| import { MatPaginatorModule } from '@angular/material/paginator'; |
| import { MatProgressBarModule } from '@angular/material/progress-bar'; |
| import { MatProgressSpinnerModule } from '@angular/material/progress-spinner'; |
| import { MatRadioModule } from '@angular/material/radio'; |
| import { MatSelectModule } from '@angular/material/select'; |
| import { MatSidenavModule } from '@angular/material/sidenav'; |
| import { MatSlideToggleModule } from '@angular/material/slide-toggle'; |
| import { MatSliderModule } from '@angular/material/slider'; |
| import { MatSnackBarModule } from '@angular/material/snack-bar'; |
| import { MatSortModule } from '@angular/material/sort'; |
| import { MatStepperModule } from '@angular/material/stepper'; |
| import { MatTableModule } from '@angular/material/table'; |
| import { MatTabsModule } from '@angular/material/tabs'; |
| import { MatToolbarModule } from '@angular/material/toolbar'; |
| import { MatTooltipModule } from '@angular/material/tooltip'; |
| import {STEPPER_GLOBAL_OPTIONS} from "@angular/cdk/stepper"; |
| |
| @NgModule({ |
| exports: [ |
| CdkTableModule, |
| MatAutocompleteModule, |
| MatButtonModule, |
| MatButtonToggleModule, |
| MatCardModule, |
| MatCheckboxModule, |
| MatChipsModule, |
| MatDatepickerModule, |
| MatNativeDateModule, |
| MatDialogModule, |
| MatExpansionModule, |
| MatFormFieldModule, |
| MatGridListModule, |
| MatIconModule, |
| MatInputModule, |
| MatListModule, |
| MatMenuModule, |
| MatProgressBarModule, |
| MatProgressSpinnerModule, |
| MatRadioModule, |
| MatSelectModule, |
| MatSlideToggleModule, |
| MatSliderModule, |
| MatSidenavModule, |
| MatSnackBarModule, |
| MatStepperModule, |
| MatTabsModule, |
| MatToolbarModule, |
| MatTooltipModule, |
| MatPaginatorModule, |
| MatSortModule, |
| MatTableModule |
| ], |
| providers: [ |
| { |
| provide: MAT_HAMMER_OPTIONS, |
| useValue: { |
| cssProps: { |
| userSelect: true |
| } |
| }, |
| }, |
| { |
| provide: STEPPER_GLOBAL_OPTIONS, |
| useValue: { displayDefaultIndicatorType: false } |
| } |
| ], |
| }) |
| |
| export class MaterialModule {} |