Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { NavSidebarModule } from '@rucken/web';
import { NgxPermissionsModule } from 'ngx-permissions';
import { SharedModule } from '../../shared/shared.module';
import { AccountPageComponent } from './account-page.component';
import { ACCOUNT_PAGE_ROUTES } from './account-page.routes';
@NgModule({
imports: [
SharedModule,
NgxPermissionsModule.forChild(),
NavSidebarModule,
RouterModule.forChild(ACCOUNT_PAGE_ROUTES)
],
declarations: [AccountPageComponent]
})
export class AccountPageModule {}
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { RouterModule } from '@angular/router';
import { UsersGridModule } from '@rucken/web';
import { NgxPermissionsModule } from 'ngx-permissions';
import { SharedModule } from '../../../shared/shared.module';
import { UsersFrameComponent } from './users-frame.component';
import { USERS_FRAME_ROUTES } from './users-frame.routes';
@NgModule({
imports: [
SharedModule,
NgxPermissionsModule.forChild(),
RouterModule.forChild(USERS_FRAME_ROUTES),
UsersGridModule,
FormsModule
],
declarations: [UsersFrameComponent]
})
export class UsersFrameModule {}
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { NgxPermissionsModule } from 'ngx-permissions';
import { LazyIsolateRolesRoutingModule } from './lazy-isolate-role-routing.module';
import { LazyRoleIsolateTestComponent } from './lazy-role-isolate-test/lazy-role-isolate-test.component';
@NgModule({
imports: [
CommonModule,
LazyIsolateRolesRoutingModule,
NgxPermissionsModule.forChild({
permissionsIsolate: true,
rolesIsolate: true,
configurationIsolate: true
})
],
declarations: [
LazyRoleIsolateTestComponent
]
})
export class LazyRoleIsolateModule { }
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { NavSidebarModule } from '@rucken/web';
import { NgxPermissionsModule } from 'ngx-permissions';
import { SharedModule } from '../../shared/shared.module';
import { EntitiesPageComponent } from './entities-page.component';
import { ENTITIES_PAGE_ROUTES } from './entities-page.routes';
@NgModule({
imports: [
SharedModule,
NgxPermissionsModule.forChild(),
NavSidebarModule,
RouterModule.forChild(ENTITIES_PAGE_ROUTES)
],
declarations: [EntitiesPageComponent]
})
export class EntitiesPageModule {}
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { LazyRoutingModule } from './lazy-routing.module';
import { LazyComponentComponent } from './lazy-component/lazy-component.component';
import { NgxPermissionsModule } from 'ngx-permissions';
@NgModule({
imports: [
CommonModule,
LazyRoutingModule,
NgxPermissionsModule.forChild()
],
declarations: [LazyComponentComponent]
})
export class LazyModule { }
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { ProfilePanelModule } from '@rucken/web';
import { NgxPermissionsModule } from 'ngx-permissions';
import { SharedModule } from '../../../shared/shared.module';
import { ProfileFrameComponent } from './profile-frame.component';
import { PROFILE_FRAME_ROUTES } from './profile-frame.routes';
@NgModule({
imports: [
SharedModule,
NgxPermissionsModule.forChild(),
ProfilePanelModule,
RouterModule.forChild(PROFILE_FRAME_ROUTES)
],
declarations: [ProfileFrameComponent]
})
export class ProfileFrameModule {}
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { RouterModule } from '@angular/router';
import { GroupsGridModule } from '@rucken/web';
import { NgxPermissionsModule } from 'ngx-permissions';
import { SharedModule } from '../../../shared/shared.module';
import { GroupsFrameComponent } from './groups-frame.component';
import { GROUPS_FRAME_ROUTES } from './groups-frame.routes';
@NgModule({
imports: [
SharedModule,
NgxPermissionsModule.forChild(),
RouterModule.forChild(GROUPS_FRAME_ROUTES),
GroupsGridModule,
FormsModule
],
declarations: [GroupsFrameComponent]
})
export class GroupsFrameModule {}
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { RouterModule } from '@angular/router';
import { PermissionsGridModule } from '@rucken/web';
import { NgxPermissionsModule } from 'ngx-permissions';
import { SharedModule } from '../../../shared/shared.module';
import { PermissionsFrameComponent } from './permissions-frame.component';
import { PERMISSIONS_FRAME_ROUTES } from './permissions-frame.routes';
@NgModule({
imports: [
SharedModule,
NgxPermissionsModule.forChild(),
RouterModule.forChild(PERMISSIONS_FRAME_ROUTES),
PermissionsGridModule,
FormsModule
],
declarations: [PermissionsFrameComponent]
})
export class PermissionsFrameModule {}
import { ModuleWithProviders, NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { RouterModule } from '@angular/router';
import { GroupsGridModule } from '@rucken/web';
import { SharedModule } from '../../../../shared/shared.module';
import { GroupsFrameComponent } from './groups-frame.component';
import { GroupsFrameRoutes } from './groups-frame.routes';
import { NgxPermissionsModule } from 'ngx-permissions';
@NgModule({
imports: [
SharedModule,
NgxPermissionsModule.forChild(),
RouterModule.forChild(GroupsFrameRoutes),
GroupsGridModule,
FormsModule
],
declarations: [
GroupsFrameComponent
]
})
export class GroupsFrameModule {
static forRoot(): ModuleWithProviders {
return {
ngModule: GroupsFrameModule,
providers: []
};
}
}
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { LazyRolesAsyncTestComponent } from './lazy-roles-async-test/lazy-roles-async-test.component';
import { NgxPermissionsModule } from 'ngx-permissions';
import { AsyncTestService } from './async-test.service';
import { LazyIsolateAsyncRolesRoutingModule } from './lazy-isolate-role-async-routing.module';
@NgModule({
imports: [
CommonModule,
NgxPermissionsModule.forChild({
permissionsIsolate: true,
rolesIsolate: true
}),
LazyIsolateAsyncRolesRoutingModule
],
providers: [
AsyncTestService
],
declarations: [LazyRolesAsyncTestComponent]
})
export class LazyRolesAsyncIsolateModule { }