Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
DateTimePipe,
TimePipe,
NumberPipe,
CurrencyPipe,
BooleanPipe,
AccountPipe
],
imports: [
CommonModule,
RouterModule,
ReactiveFormsModule,
AlertModule.forRoot(),
ModalModule.forRoot(),
ButtonsModule.forRoot(),
BsDropdownModule.forRoot(),
PaginationModule.forRoot(),
ProgressbarModule.forRoot(),
SortableModule.forRoot(),
TooltipModule.forRoot(),
LayoutModule,
AgmCoreModule
],
exports: [
CommonModule,
RouterModule,
ReactiveFormsModule,
AlertModule,
ModalModule,
ButtonsModule,
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
import { TranslateModule } from '@ngx-translate/core';
import { ModalModule } from 'ngx-bootstrap/modal';
import { PaginationModule } from 'ngx-bootstrap/pagination';
import { MessageModalModule } from '../../modals/message-modal/message-modal.module';
import { PipesModule } from '../../pipes/pipes.module';
import { EntityGridComponent } from './entity-grid.component';
@NgModule({
imports: [
CommonModule,
FormsModule,
ReactiveFormsModule,
PaginationModule.forRoot(),
TranslateModule.forChild(),
PipesModule,
MessageModalModule,
ModalModule.forRoot(),
FontAwesomeModule
],
declarations: [EntityGridComponent],
entryComponents: [EntityGridComponent],
exports: [
EntityGridComponent,
FormsModule,
ReactiveFormsModule,
PipesModule,
MessageModalModule
]
})
BrowserAnimationsModule,
DateTimePickerModule,
AppAsideModule,
AppBreadcrumbModule.forRoot(),
AppFooterModule,
AppHeaderModule,
AppSidebarModule,
PerfectScrollbarModule,
CookieModule.forRoot(),
HttpModule,
Ng2TableModule,
AngularMultiSelectModule,
FormsModule,
CommonModule,
MomentModule,
PaginationModule.forRoot(),
TranslateModule.forRoot(
{
loader: {
provide: TranslateLoader,
useFactory: (createTranslateLoader),
deps: [HttpClient]
}
}),
FormsModule,
CommonModule,
NgxPaginationModule,
BsDropdownModule.forRoot(),
CollapseModule.forRoot(),
ModalModule.forRoot(),
TabsModule.forRoot(),
import { RaisedButtonsComponent } from './components/buttons/components/raisedButtons';
import { SizedButtonsComponent } from './components/buttons/components/sizedButtons';
import { DisabledButtonsComponent } from './components/buttons/components/disabledButtons';
import { IconButtonsComponent } from './components/buttons/components/iconButtons';
import { LargeButtonsComponent } from './components/buttons/components/largeButtons';
import { DropdownButtonsComponent } from './components/buttons/components/dropdownButtons';
import { GroupButtonsComponent } from './components/buttons/components/groupButtons';
import { IconsService } from './components/icons/icons.service';
@NgModule({
imports: [
CommonModule,
FormsModule,
SaBaseModule,
RoutingModule,
PaginationModule.forRoot(),
BsDropdownModule.forRoot(),
ModalModule.forRoot(),
],
declarations: [
ButtonsComponent,
GridComponent,
IconsComponent,
ModalsComponent,
TypographyComponent,
UiComponent,
FlatButtonsComponent,
RaisedButtonsComponent,
SizedButtonsComponent,
DisabledButtonsComponent,
IconButtonsComponent,
LargeButtonsComponent,
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { FormioModule } from '../../index';
import { FormioGridComponent } from './grid.component';
import { PaginationModule } from 'ngx-bootstrap/pagination';
@NgModule({
imports: [
CommonModule,
FormsModule,
FormioModule,
PaginationModule.forRoot()
],
declarations: [
FormioGridComponent
],
exports: [
FormioGridComponent
]
})
export class FormioGrid {}
{ path: '', component: InfoArticleComponent }
];
@NgModule({
imports: [
WikiftEditorModule,
CommonModule,
FormsModule,
SelectModule,
AngularEchartsModule,
TooltipModule.forRoot(),
BsDropdownModule.forRoot(),
ModalModule.forRoot(),
ToastyModule.forRoot(),
PopoverModule.forRoot(),
PaginationModule.forRoot(),
Ng2DeviceDetectorModule.forRoot(),
RouterModule.forChild(INFO_ARTICLE_ROUTES)
],
exports: [],
declarations: [
InfoArticleComponent
],
providers: [
ArticleService,
UserService,
CommentService
],
})
export class InfoArticleModule { }
import { ModuleWithProviders, NgModule } from '@angular/core';
import { SharedModule } from '@rucken/core';
import { PaginationModule } from 'ngx-bootstrap/pagination';
import { GridRowButtonsModule } from './../../controls/grid-row-buttons/grid-row-buttons.module';
import { GridSearchPanelModule } from './../../controls/grid-search-panel/grid-search-panel.module';
import { TableColumnModule } from './../../controls/table-column/table-column.module';
import { GroupModalModule } from './../../grids/groups-grid/group-modal/group-modal.module';
import { ConfirmModalModule } from './../../modals/confirm-modal/confirm-modal.module';
import { GroupsGridComponent } from './groups-grid.component';
@NgModule({
imports: [
SharedModule.forRoot(), GridSearchPanelModule.forRoot(),
GroupModalModule.forRoot(), ConfirmModalModule.forRoot(),
TableColumnModule.forRoot(), GridRowButtonsModule.forRoot(), PaginationModule.forRoot()
],
declarations: [
GroupsGridComponent
],
exports: [GroupsGridComponent],
entryComponents: [GroupsGridComponent]
})
export class GroupsGridModule {
static forRoot(): ModuleWithProviders {
return {
ngModule: GroupsGridModule,
providers: []
};
}
}
beforeEach(() => {
TestBed.configureTestingModule({
imports: [PaginationModule.forRoot()]
});
fixture = TestBed.createComponent(PagerComponent);
context = fixture.debugElement.componentInstance;
element = fixture.nativeElement;
fixture.detectChanges();
});
});
}
@NgModule({
imports: [
WikiftEditorModule,
CommonModule,
ArchwizardModule,
FormsModule,
BusyModule,
SelectModule,
ToastyModule.forRoot(),
ModalModule.forRoot(),
AlertModule.forRoot(),
TooltipModule.forRoot(),
PaginationModule.forRoot(),
RouterModule.forChild(CREATE_ARTICLE_ROUTES)
],
exports: [],
declarations: [
CreateArticleComponent
],
providers: [
ArticleService,
ArticleTypeService,
ArticleTagService,
SpaceService,
{
provide: BusyConfig,
useFactory: busyConfigFactory
}
],
import { SharedModule } from '@rucken/core';
import { PaginationModule } from 'ngx-bootstrap/pagination';
import { GridRowButtonsModule } from './../../controls/grid-row-buttons/grid-row-buttons.module';
import { GridSearchPanelModule } from './../../controls/grid-search-panel/grid-search-panel.module';
import { TableColumnModule } from './../../controls/table-column/table-column.module';
import { GroupModalModule } from './../../grids/groups-grid/group-modal/group-modal.module';
import { GroupsListModalModule } from './../../grids/groups-grid/groups-list-modal/groups-list-modal.module';
import { ConfirmModalModule } from './../../modals/confirm-modal/confirm-modal.module';
import { UserGroupsGridComponent } from './user-groups-grid.component';
@NgModule({
imports: [
SharedModule.forRoot(), GridSearchPanelModule.forRoot(),
GroupsListModalModule.forRoot(), GroupModalModule.forRoot(), ConfirmModalModule.forRoot(),
TableColumnModule.forRoot(), GridRowButtonsModule.forRoot(), PaginationModule.forRoot()
],
declarations: [
UserGroupsGridComponent
],
exports: [UserGroupsGridComponent],
entryComponents: [UserGroupsGridComponent]
})
export class UserGroupsGridModule {
static forRoot(): ModuleWithProviders {
return {
ngModule: UserGroupsGridModule,
providers: []
};
}
}