import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
import { NativeScriptCommonModule } from '@nativescript/angular';
import { NgxsModule } from '@ngxs/store';
import { NativeScriptUIDataFormModule } from 'nativescript-ui-dataform/angular';
import { SharedModule } from '~/shared/shared.module';
import { ApplicationRoutingModule } from './application-routing.module';
import { ApplicationNewComponent } from './containers/application-new/application-new.component';
import { ApplicationNewState } from './state-mgmt/application.state';

@NgModule({
    imports: [
        NativeScriptCommonModule,
        ApplicationRoutingModule,
        SharedModule,
        NativeScriptUIDataFormModule,
        NgxsModule.forFeature([
            ApplicationNewState
        ])
    ],
    declarations: [
        ApplicationNewComponent
    ],
    providers: [
    ],
    schemas: [
        NO_ERRORS_SCHEMA
    ]
})

export class ApplicationModule {
}
