@snapmobile/snapjs-admin
Version:
102 lines • 5.44 kB
JavaScript
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { SelectModule } from 'ng2-select';
import { FileUploadModule } from 'ng2-file-upload';
import { ControlErrorsModule } from './shared/control-errors/control-errors.module';
import { ToastModule } from 'ng2-toastr/ng2-toastr';
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
import { AdminLayoutComponent } from './admin-layout/admin-layout.component';
import { AdminListComponent } from './admin-list/admin-list.component';
import { AdminDetailComponent } from './admin-detail/admin-detail.component';
import { AdminEditComponent } from './admin-edit/admin-edit.component';
import { AdminFormComponent } from './admin-form/admin-form.component';
import { AdminNewComponent } from './admin-new/admin-new.component';
import { FilterComponent } from './shared/filter/filter.component';
import { FilterService } from './shared/filter/filter.service';
import { SchemaShowComponent } from './shared/schema-show/schema-show.component';
import { DisplayArrayRelComponent } from './shared/display-array-rel/display-array-rel.component';
import { DisplayArrayEmbeddedComponent } from './shared/display-array-embedded/display-array-embedded.component';
import { DisplaySingleRelComponent } from './shared/display-single-rel/display-single-rel.component';
import { DisplayTextComponent } from './shared/display-text/display-text.component';
import { DisplayArrayComponent } from './shared/display-array/display-array.component';
import { DisplayFileComponent } from './shared/display-file/display-file.component';
import { FormcontrolSubdocumentComponent } from './shared/formcontrol-subdocument/formcontrol-subdocument.component';
import { FormcontrolInputComponent } from './shared/formcontrol-input/formcontrol-input.component';
import { FormcontrolSelectRelComponent } from './shared/formcontrol-select-rel/formcontrol-select-rel.component';
import { FormcontrolSelectComponent } from './shared/formcontrol-select/formcontrol-select.component';
import { FormcontrolArrayComponent } from './shared/formcontrol-array/formcontrol-array.component';
import { FormcontrolArrayRelComponent } from './shared/formcontrol-array-rel/formcontrol-array-rel.component';
import { FormcontrolGroupComponent } from './shared/formcontrol-group/formcontrol-group.component';
import { FormcontrolTinymceComponent } from './shared/formcontrol-tinymce/formcontrol-tinymce.component';
import { FormControlFileUploadComponent } from './shared/formcontrol-file-upload/formcontrol-file-upload.component';
import { FileDropComponent } from './shared/file-drop/file-drop.component';
import { ProgressBarComponent } from './shared/progress-bar/progress-bar.component';
import { AdminRoutingModule } from './admin-routing.module';
import { AdminService } from './admin.service';
import { ConstantsService } from './constants.service';
var SnapJSAdminModule = (function () {
function SnapJSAdminModule() {
}
SnapJSAdminModule.forRoot = function (constantsService) {
return {
ngModule: SnapJSAdminModule,
providers: [{ provide: ConstantsService, useClass: constantsService }]
};
};
return SnapJSAdminModule;
}());
export { SnapJSAdminModule };
SnapJSAdminModule.decorators = [
{ type: NgModule, args: [{
imports: [
CommonModule,
FormsModule,
ReactiveFormsModule,
HttpModule,
BrowserAnimationsModule,
SelectModule,
AdminRoutingModule,
ControlErrorsModule,
ToastModule.forRoot(),
NgbModule.forRoot(),
FileUploadModule,
],
declarations: [
AdminListComponent,
AdminDetailComponent,
AdminEditComponent,
AdminFormComponent,
AdminNewComponent,
FilterComponent,
SchemaShowComponent,
DisplayArrayEmbeddedComponent,
DisplayArrayRelComponent,
DisplaySingleRelComponent,
DisplayTextComponent,
DisplayArrayComponent,
DisplayFileComponent,
FormcontrolInputComponent,
FormcontrolSubdocumentComponent,
FormcontrolSelectRelComponent,
FormcontrolSelectComponent,
FormcontrolArrayComponent,
FormcontrolArrayRelComponent,
FormcontrolGroupComponent,
FormcontrolTinymceComponent,
FormControlFileUploadComponent,
FileDropComponent,
ProgressBarComponent,
AdminLayoutComponent,
],
providers: [
AdminService,
ConstantsService,
FilterService,
],
},] },
];
SnapJSAdminModule.ctorParameters = function () { return []; };
//# sourceMappingURL=admin.module.js.map