import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
import { NativeScriptCommonModule } from '@nativescript/angular';
import { NgxsModule } from '@ngxs/store';
import { NativeScriptUIListViewModule } from 'nativescript-ui-listview/angular';
import { SharedModule } from '~/shared/shared.module';
import { ModalWarningComponent } from './components/modal-view-warning/modal-view-warning.component';
import { MyCheckboxComponent } from './components/my-checkbox/my-checkbox.component';
import { TemplatePickerComponent } from './components/template-picker/template-picker.component';
import { ExportNewComponent } from './containers/export-new/export-new.component';
import { ExportComponent } from './containers/export/export.component';
import { ExportRoutingModule } from './export-routing.module';
import { ExportNewState } from './state-mgmt/export-new.state';
import { ExportState } from './state-mgmt/export.state';

@NgModule({
    imports: [
        NativeScriptCommonModule,
        ExportRoutingModule,
        SharedModule,
        NativeScriptUIListViewModule,
        NgxsModule.forFeature([
            ExportNewState,
            ExportState
        ])
    ],
    declarations: [
        ExportNewComponent,
        ExportComponent,
        TemplatePickerComponent,
        MyCheckboxComponent,
        ModalWarningComponent
    ],
    providers: [
    ],
    schemas: [
        NO_ERRORS_SCHEMA
    ],
    entryComponents: [
        ModalWarningComponent
    ]
})

export class ExportModule {
}
