Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
MatDialogModule,
MatFormFieldModule,
MatIconModule,
MatInputModule,
MatListModule,
MatProgressSpinnerModule,
MatSelectModule,
MatSidenavModule,
MatToolbarModule,
MatTooltipModule,
ReactiveFormsModule,
OwlDateTimeModule,
OwlNativeDateTimeModule,
// angular-calendar stuff
CommonModule,
CalendarModule.forRoot({
provide: DateAdapter,
useFactory: adapterFactory
})
],
entryComponents: [
CalendarEditorDialogComponent,
CalendarSettingsDialogComponent,
ColorSelectorDialogComponent,
DeleteConfirmationDialogComponent,
EventEditorDialogComponent,
ImportDialogComponent,
],
providers: [
CalendarService,
],
bootstrap: [CalendarAppComponent]
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule } from '@angular/router';
import { CalendarModule, DateAdapter } from 'angular-calendar';
import { DemoComponent } from './component';
import { adapterFactory } from 'angular-calendar/date-adapters/date-fns';
@NgModule({
imports: [
CommonModule,
CalendarModule.forRoot({
provide: DateAdapter,
useFactory: adapterFactory
}),
RouterModule.forChild([{ path: '', component: DemoComponent }])
],
declarations: [DemoComponent],
exports: [DemoComponent]
})
export class DemoModule {}
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule } from '@angular/router';
import { CalendarModule, DateAdapter } from 'angular-calendar';
import { adapterFactory } from 'angular-calendar/date-adapters/date-fns';
import { DemoComponent } from './component';
import { DemoUtilsModule } from '../demo-utils/module';
@NgModule({
imports: [
CommonModule,
CalendarModule.forRoot({
provide: DateAdapter,
useFactory: adapterFactory
}),
DemoUtilsModule,
RouterModule.forChild([{ path: '', component: DemoComponent }])
],
declarations: [DemoComponent],
exports: [DemoComponent]
})
export class DemoModule {}
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { FlatpickrModule } from 'angularx-flatpickr';
import { CalendarModule, DateAdapter } from 'angular-calendar';
import { adapterFactory } from 'angular-calendar/date-adapters/date-fns';
import { NgbModalModule } from '@ng-bootstrap/ng-bootstrap';
import { DemoComponent } from './component';
@NgModule({
imports: [
CommonModule,
FormsModule,
NgbModalModule,
FlatpickrModule.forRoot(),
CalendarModule.forRoot({
provide: DateAdapter,
useFactory: adapterFactory
})
],
declarations: [DemoComponent],
exports: [DemoComponent]
})
export class DemoModule {}
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { HttpClientModule } from '@angular/common/http';
import { RouterModule } from '@angular/router';
import { CalendarModule, DateAdapter } from 'angular-calendar';
import { DemoUtilsModule } from '../demo-utils/module';
import { DemoComponent } from './component';
import { adapterFactory } from 'angular-calendar/date-adapters/date-fns';
@NgModule({
imports: [
CommonModule,
HttpClientModule,
CalendarModule.forRoot({
provide: DateAdapter,
useFactory: adapterFactory
}),
DemoUtilsModule,
RouterModule.forChild([{ path: '', component: DemoComponent }])
],
declarations: [DemoComponent],
exports: [DemoComponent]
})
export class DemoModule {}
import { SmartFormComponent } from './smart/smart-form/smart-form.component';
import { ReplicationListComponent } from 'app/pages/task-calendar/replication/replication-list';
import { ReplicationFormComponent } from 'app/pages/task-calendar/replication/replication-form';
import { ReplicationService } from 'app/pages/task-calendar/replication/replication.service';
import { ScrubListComponent } from './scrub/scrub-list/scrub-list.component';
import { ScrubFormComponent } from './scrub/scrub-form/scrub-form.component';
import { CloudsyncListComponent } from './cloudsync/cloudsync-list/cloudsync-list.component';
import { CloudsyncFormComponent } from './cloudsync/cloudsync-form/cloudsync-form.component';
import { ResilverComponent } from './resilver/resilver.component';
@NgModule({
imports: [
CommonModule,
MaterialModule,
FlexLayoutModule,
CalendarModule.forRoot({
provide: DateAdapter,
useFactory: adapterFactory
}),
RouterModule.forChild(TaskCalendarRoutes),
EntityModule,
FormsModule,
ReactiveFormsModule,
TranslateModule
],
declarations: [
TaskCalendarComponent,
CronFormComponent,
CronListComponent,
InitshutdownListComponent,
InitshutdownFormComponent,
SnapshotListComponent,
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule } from '@angular/router';
import { CalendarModule, DateAdapter } from 'angular-calendar';
import { DemoUtilsModule } from '../demo-utils/module';
import { DemoComponent } from './component';
import { adapterFactory } from 'angular-calendar/date-adapters/date-fns';
@NgModule({
imports: [
CommonModule,
CalendarModule.forRoot({
provide: DateAdapter,
useFactory: adapterFactory
}),
DemoUtilsModule,
RouterModule.forChild([{ path: '', component: DemoComponent }])
],
declarations: [DemoComponent],
exports: [DemoComponent]
})
export class DemoModule {}
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { CommonModule } from '@angular/common';
import { CalendarModule } from 'angular-calendar';
import { ScheduleCalendarComponent } from './schedule.component';
import { SubscribedShowsEpisodesResolver } from './subscribed-shows-episodes.resolver';
import { SharedModule } from './../shared';
@NgModule({
declarations: [
ScheduleCalendarComponent
],
imports: [
CommonModule,
SharedModule,
CalendarModule.forRoot(),
RouterModule.forChild([
{
path: '',
component: ScheduleCalendarComponent,
resolve: {
subscribedShowsWithEpisodes: SubscribedShowsEpisodesResolver
}
}
])
],
providers: [SubscribedShowsEpisodesResolver]
})
export class ScheduleModule {}
RadarChartComponent,
SourcesComponent,
LicenseComponent,
HopRelationsComponent,
YeastRelationsComponent,
StyleYeastRelationsComponent,
ResourcesComponent,
],
imports: [
AppRoutingModule,
BrowserModule,
FormsModule,
HttpModule,
NgbModule.forRoot(),
BrowserAnimationsModule,
CalendarModule.forRoot({
provide: DateAdapter,
useFactory: adapterFactory
}),
AngularTokenModule.forRoot(environment.token_auth_config),
HttpClientModule
],
providers: [AngularTokenModule, AuthGuard, AuthService, WaterProfileService,
AgentService, MaltService, StyleService, HopService,
YeastService, EquipmentService, RecipeService, DesignerService,
CanDeactivateGuard, SaveDialogService, UserService, MiscellaneousService,
AcidService, GoogleAnalyticsService],
bootstrap: [AppComponent]
})
export class AppModule {
constructor(protected _googleAnalyticsService: GoogleAnalyticsService) { }
}
import { NgModule } from '@angular/core';
import { SharedModule } from '../shared';
import { CalendarModule, DateAdapter } from 'angular-calendar';
import { adapterFactory } from 'angular-calendar/date-adapters/date-fns';
import { CalendarRoutingModule } from './my-calendar-routing.module';
import { CalendarHomeComponent } from './calendar-home';
@NgModule({
declarations: [CalendarHomeComponent],
imports: [
SharedModule,
CalendarRoutingModule,
CalendarModule.forRoot({
provide: DateAdapter,
useFactory: adapterFactory
})
]
})
export class MyCalendarModule {}