Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
KnowledgeIndexComponent,
PriorityIndexComponent,
ProjectViewerComponent,
PrologueComponent,
// Not in use
//BasicsComponent,
//ImplementationComponent,
//ReasonComponent,
//TotalCostIndexComponent
],
exports: [
RouterModule,
],
imports: [
ToasterModule.forRoot(),
MomentModule,
BackboneModule.configure(backboneConfig),
SharedModule,
RouterModule.forChild(coreRoutes),
Angulartics2Module.forRoot(),
ProjectEditorModule,
ProjectViewerModule,
],
providers: [
AppProjectService,
AuthGuard,
CanDeactivateGuard,
DynamicTitleResolve,
Title
]
import {ToasterModule} from 'angular2-toaster';
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
import {ModalModule} from 'ngx-bootstrap';
import {ConfirmGuard} from './common/modals/confirm/confirm.guard';
import {LeadsService} from './model/leads/leads.service';
@NgModule({
imports: [
BrowserModule,
AppRoutingModule,
BsDropdownModule.forRoot(),
TabsModule.forRoot(),
BrowserAnimationsModule,
ToasterModule.forRoot(),
ModalModule.forRoot(),
ChartsModule,
HttpClientModule,
],
declarations: [
AppComponent,
HomeLayoutComponent,
...APP_COMPONENTS,
...APP_DIRECTIVES
],
providers: [
{
provide: HTTP_INTERCEPTORS,
useClass: TokenInterceptor,
multi: true,
},
registerLocaleData(localeZhCn, 'zh-CN');
registerLocaleData(localeZhTw, 'zh-TW');
@NgModule({
imports: [
BrowserModule,
BrowserAnimationsModule,
FormsModule,
AppRoutingModule,
ServicesModule,
Angulartics2Module.forRoot([Angulartics2GoogleAnalytics], {
pageTracking: {
clearQueryParams: true,
},
}),
ToasterModule.forRoot(),
InfiniteScrollModule,
DragDropModule,
],
declarations: [
A11yTitleDirective,
AcceptOrganizationComponent,
AccountComponent,
AddCreditComponent,
AddEditComponent,
AdjustPaymentComponent,
AdjustSeatsComponent,
AdjustStorageComponent,
ApiActionDirective,
AppComponent,
AttachmentsComponent,
AutofocusDirective,
registerLocaleData(localeZhCn, 'zh-CN');
registerLocaleData(localeZhTw, 'zh-TW');
@NgModule({
imports: [
BrowserModule,
BrowserAnimationsModule,
FormsModule,
AppRoutingModule,
ServicesModule,
Angulartics2Module.forRoot([Angulartics2GoogleAnalytics], {
pageTracking: {
clearQueryParams: true,
},
}),
ToasterModule.forRoot(),
InfiniteScrollModule,
DragDropModule,
],
declarations: [
A11yTitleDirective,
AddEditComponent,
ApiActionDirective,
AppComponent,
AttachmentsComponent,
AutofocusDirective,
BlurClickDirective,
BoxRowDirective,
CiphersComponent,
CollectionsComponent,
ColorPasswordPipe,
EnvironmentComponent,
import { NgModule, Component } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule, NoopAnimationsModule } from '@angular/platform-browser/animations';
import { ToasterModule, ToasterService } from 'angular2-toaster';
import { AppComponent } from './app.component';
@NgModule({
declarations: [AppComponent],
bootstrap: [AppComponent],
imports: [
BrowserModule,
BrowserAnimationsModule,
ToasterModule.forRoot()
]
})
export class AppModule { }
import { I18nPipe } from 'jslib/angular/pipes/i18n.pipe';
import { SearchCiphersPipe } from 'jslib/angular/pipes/search-ciphers.pipe';
@NgModule({
imports: [
BrowserModule,
BrowserAnimationsModule,
FormsModule,
AppRoutingModule,
ServicesModule,
Angulartics2Module.forRoot([Angulartics2GoogleAnalytics], {
pageTracking: {
clearQueryParams: true,
},
}),
ToasterModule.forRoot(),
],
declarations: [
A11yTitleDirective,
ApiActionDirective,
AppComponent,
AutofocusDirective,
BlurClickDirective,
BoxRowDirective,
DashboardComponent,
EnvironmentComponent,
FallbackSrcDirective,
I18nPipe,
IconComponent,
LoginComponent,
ModalComponent,
MoreComponent,
registerLocaleData(localeZhCn, 'zh-CN');
registerLocaleData(localeZhTw, 'zh-TW');
@NgModule({
imports: [
BrowserModule,
BrowserAnimationsModule,
FormsModule,
AppRoutingModule,
ServicesModule,
Angulartics2Module.forRoot([Angulartics2GoogleAnalytics], {
pageTracking: {
clearQueryParams: true,
},
}),
ToasterModule.forRoot(),
InfiniteScrollModule,
DragDropModule,
],
declarations: [
A11yTitleDirective,
ActionButtonsComponent,
AddEditComponent,
ApiActionDirective,
AppComponent,
AttachmentsComponent,
AutofocusDirective,
BlurClickDirective,
BoxRowDirective,
CiphersComponent,
CiphersListComponent,
CollectionsComponent,
} from '@ngrx/router-store';
import { StoreModule } from '@ngrx/store';
import { ToasterModule } from 'angular2-toaster';
import { NgxElectronModule } from 'ngx-electron';
import { AppComponent } from './app.component';
import { AppRoutes } from './app.routes';
import { CoreModule } from './core/core.module';
import { HomeModule } from './home/home.module';
import { SharedModule } from './shared/shared.module';
import { CustomSerializer, reducers } from './store';
@NgModule({
imports: [
BrowserAnimationsModule,
BrowserModule,
ToasterModule.forRoot(),
RouterModule.forRoot(AppRoutes, {
useHash: true,
preloadingStrategy: PreloadAllModules,
}),
SharedModule,
NgxElectronModule,
HomeModule,
CoreModule.forRoot(),
StoreModule.forRoot(reducers),
EffectsModule.forRoot([]),
StoreRouterConnectingModule,
],
providers: [{ provide: RouterStateSerializer, useClass: CustomSerializer }],
declarations: [AppComponent],
bootstrap: [AppComponent],
declarations: [
EditConfigDialog,
ShutdownConfirmDialog,
ConfirmDialog,
JobDetailDialog,
LongToDateStrPipe,
AppComponent,
QueueInfoComponent,
JobInfoComponent,
IconsComponent,
JsonStringifyPipe,
DataUiComponent,
],
imports: [
ToasterModule.forRoot(),
AppRoutingModule,
CommonModule,
BrowserModule,
BrowserAnimationsModule,
FormsModule,
MatIconModule,
MatButtonModule,
MatTabsModule,
MatGridListModule,
MatListModule,
MatCardModule,
MatFormFieldModule,
MatInputModule,
MatSelectModule,
MatNativeDateModule,
MatDatepickerModule,
import { NgModule } from '@angular/core';
import { TreeModule } from 'angular-tree-component';
import { ToasterModule } from 'angular2-toaster';
import { ThemeModule } from '../../@theme/theme.module';
import { ComponentsRoutingModule, routedComponents } from './components-routing.module';
@NgModule({
imports: [
ThemeModule,
ComponentsRoutingModule,
TreeModule,
ToasterModule.forRoot(),
],
declarations: [
...routedComponents,
],
})
export class ComponentsModule { }