projects/i-components/src/lib/components/xam-grid/xam-grid.module.ts
import { CommonModule } from '@angular/common';
import {
CUSTOM_ELEMENTS_SCHEMA,
NgModule,
NO_ERRORS_SCHEMA,
} from '@angular/core';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { IgxGridModule } from 'igniteui-angular';
import {
XamGridColumnFooterComponent,
XamGridColumnComponent,
XamGridTextColumnComponent,
XamGridCheckboxColumnComponent,
XamGridTemplateColumnComponent,
XamGridUnboundColumnComponent,
XamGridColumnsComponent,
XamGridColumnGroupComponent,
AlignmentMapPipe,
TextWrappingPipe,
StyleInfoPipe,
XamFormatStringPipe,
} from '../xam-grid-column/xam-grid-column.component';
import {
ColumnMovingSettingsComponent,
XamGridColumnMovingSettingsComponent,
} from '../xam-grid-settings/xam-grid-column-moving.component';
import {
ColumnResizingSettingsComponent,
XamGridColumnResizingSettingsComponent,
} from '../xam-grid-settings/xam-grid-column-resizing.component';
import {
EditingSettingsComponent,
XamGridEditingSettingsComponent,
} from '../xam-grid-settings/xam-grid-editing.component';
import {
FilteringSettingsComponent,
XamGridFilteringSettingsComponent,
} from '../xam-grid-settings/xam-grid-filtering.component';
import {
PagerSettingsComponent,
XamGridPagerSettingsComponent,
} from '../xam-grid-settings/xam-grid-paging.component';
import {
RowSelectorSettingsComponent,
XamGridRowSelectorSettingsComponent,
} from '../xam-grid-settings/xam-grid-row-selector.component';
import {
SelectionSettingsComponent,
XamGridSelectionSettingsComponent,
} from '../xam-grid-settings/xam-grid-selection.component';
import {
SortingSettingsComponent,
XamGridSortingSettingsComponent,
} from '../xam-grid-settings/xam-grid-sorting.component';
import {
SummarySettingsComponent,
XamGridSummarySettingsComponent,
} from '../xam-grid-settings/xam-grid-summary.component';
import { XamColumnLayoutComponent } from './XamColumnLayout.component';
import { XamGridComponent } from './xam-grid.component';
import { XamGridToInjectorPurePipe } from '../../pipes/xamGridToInjector.pipe';
import { XamTemplateToInjectorPurePipe } from '../../pipes/xamGridTemplateToinjector.pipe';
import {
AddNewRowSettingsComponent,
XamGridAddNewRowSettingsComponent,
} from '../xam-grid-settings/xam-grid-add-row.component';
import { PipesModule } from '../../pipes/pipes.module';
@NgModule({
imports: [BrowserAnimationsModule, CommonModule, IgxGridModule, PipesModule],
declarations: [
AlignmentMapPipe,
ColumnMovingSettingsComponent,
ColumnResizingSettingsComponent,
EditingSettingsComponent,
FilteringSettingsComponent,
PagerSettingsComponent,
RowSelectorSettingsComponent,
SelectionSettingsComponent,
SortingSettingsComponent,
StyleInfoPipe,
SummarySettingsComponent,
TextWrappingPipe,
XamFormatStringPipe,
XamGridCheckboxColumnComponent,
XamGridColumnComponent,
XamGridColumnFooterComponent,
XamGridColumnMovingSettingsComponent,
XamGridColumnResizingSettingsComponent,
XamGridColumnsComponent,
XamColumnLayoutComponent,
XamGridComponent,
XamGridAddNewRowSettingsComponent,
AddNewRowSettingsComponent,
XamGridEditingSettingsComponent,
XamGridFilteringSettingsComponent,
XamGridPagerSettingsComponent,
XamGridRowSelectorSettingsComponent,
XamGridSelectionSettingsComponent,
XamGridSortingSettingsComponent,
XamGridSummarySettingsComponent,
XamGridTemplateColumnComponent,
XamGridTextColumnComponent,
XamGridToInjectorPurePipe,
XamGridUnboundColumnComponent,
XamColumnLayoutComponent,
XamGridColumnGroupComponent,
XamTemplateToInjectorPurePipe,
],
exports: [
XamGridAddNewRowSettingsComponent,
AddNewRowSettingsComponent,
AlignmentMapPipe,
ColumnMovingSettingsComponent,
ColumnResizingSettingsComponent,
EditingSettingsComponent,
FilteringSettingsComponent,
PagerSettingsComponent,
RowSelectorSettingsComponent,
SelectionSettingsComponent,
SortingSettingsComponent,
StyleInfoPipe,
SummarySettingsComponent,
TextWrappingPipe,
XamFormatStringPipe,
XamGridCheckboxColumnComponent,
XamGridColumnComponent,
XamGridColumnFooterComponent,
XamGridColumnMovingSettingsComponent,
XamGridColumnResizingSettingsComponent,
XamGridColumnsComponent,
XamColumnLayoutComponent,
XamGridComponent,
XamGridEditingSettingsComponent,
XamGridFilteringSettingsComponent,
XamGridPagerSettingsComponent,
XamGridRowSelectorSettingsComponent,
XamGridSelectionSettingsComponent,
XamGridSortingSettingsComponent,
XamGridSummarySettingsComponent,
XamGridTemplateColumnComponent,
XamGridTextColumnComponent,
XamGridUnboundColumnComponent,
XamColumnLayoutComponent,
XamGridColumnGroupComponent,
XamTemplateToInjectorPurePipe,
],
schemas: [CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA],
})
export class WmXamGridModule {}