How to use the @clr/angular.ClarityModule.forChild function in @clr/angular

To help you get started, we’ve selected a few @clr/angular examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mrin9 / Angular-SpringBoot-REST-JWT / webui / src / app / app.module.ts View on Github external
import { EmployeeService  } from './services/api/employee.service';


@NgModule({

  imports: [
    BrowserModule,
    BrowserAnimationsModule,
    FormsModule,
    ReactiveFormsModule,
    HttpClientModule,

    // Thirdparty Module
    NgxDatatableModule,
    NgxChartsModule,
    ClarityModule.forChild(),

    // Local App Modules
    AppRoutingModule


  ],

  declarations: [
    // Components
    BadgeComponent,
    LegendComponent,
    LogoComponent,

    //Pages -- Pages too are components, they contain other components
    AppComponent,
    HomeComponent,
github RackHD / on-web-ui / src / app / management-center / management-center.module.ts View on Github external
import { CatalogsComponent } from './catalogs/catalogs.component';
import { ObmComponent } from './obms/obm.component';
import { SkuComponent } from './skus/sku.component';
import { FilesComponent } from './files/files.component';
import { TemplatesComponent } from './templates/templates.component';
import { ConfigComponent } from './configs/config.component';
import { ManagementCenterServicesModule } from './services/management-center-service.module';
import { RackhdCommonServicesModule } from 'app/services/rackhd-common/rackhd-common.module';
import { InventoryModule } from 'app/inventory/inventory.module';
import { NgxSelectModule } from 'ngx-select-ex';

// the dependent services of ManagementCenter

@NgModule({
  imports: [
    ClarityModule.forChild(),
    CommonModule,
    FormsModule,
    ReactiveFormsModule,
    ManagementCenterRoutingModule,
    ManagementCenterServicesModule,
    InventoryModule,
    NgxSelectModule
  ],
  declarations: [
    ManagementCenterComponent,
    NodesComponent,
    ProfilesComponent,
    PollersComponent,
    WorkflowsComponent,
    CatalogsComponent,
    ObmComponent,
github RackHD / on-web-ui / src / app / workflow-editor / workflow-editor.module.ts View on Github external
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { ClarityModule } from '@clr/angular';

import { NodeExtensionService } from '../canvas-graph/node-extension.service';

import { WorkflowCanvasComponent } from './workflow-canvas/workflow-canvas.component';
import { WorkflowEditorComponent } from './workflow-editor.component';
import { WorkflowEditorRoutingModule } from './workflow-editor-routing.module';
import { CanvasGraphModule } from '../canvas-graph/canvas-graph.module';
import { InventoryModule } from 'app/inventory/inventory.module';

@NgModule({
  imports: [
    ClarityModule.forChild(),
    CommonModule,
    FormsModule,
    ReactiveFormsModule,
    WorkflowEditorRoutingModule,
    CanvasGraphModule,
    InventoryModule,
  ],
  declarations: [
    WorkflowEditorComponent,
    WorkflowCanvasComponent
  ],
  providers: [
    NodeExtensionService,
  ],
})
export class WorkflowEditorModule {
github RackHD / on-web-ui / src / app / settings / setting.module.ts View on Github external
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';

import {HttpClientModule} from '@angular/common/http';
import { FormsModule, ReactiveFormsModule }   from '@angular/forms';
import { ClarityModule } from '@clr/angular';
import { SettingComponent } from './setting-form.component';
import { SettingService } from './setting.service';

@NgModule({
  imports: [
    CommonModule,
    ClarityModule.forChild(),
    FormsModule,
    ReactiveFormsModule,
    HttpClientModule,
  ],
  declarations: [SettingComponent],
  exports: [SettingComponent],
  providers: [SettingService]
})
export class SettingModule { }
github RackHD / on-web-ui / src / app / inventory / inventory.module.ts View on Github external
import { ClarityModule } from '@clr/angular';
import { NgModule, ModuleWithProviders } from '@angular/core';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { CommonModule } from '@angular/common';

import { InventoryFooterComponent } from './footer/footer.component';
import { InventoryHeaderComponent } from './header/header.component';
import { GridDetailsModalComponent } from './modal/details-modal.component';
import { GridConfirmModalComponent } from './modal/confirm-modal.component';
import { DropdownGroupComponent } from './dropdown-group/dropdown-group.component';


@NgModule({
  imports: [
    ClarityModule.forChild(),
    FormsModule,
    ReactiveFormsModule,
    CommonModule,
    ClarityModule,
  ],
  exports: [
    InventoryFooterComponent,
    InventoryHeaderComponent,
    GridDetailsModalComponent,
    GridConfirmModalComponent,
    DropdownGroupComponent,
  ],
  declarations: [
    InventoryFooterComponent,
    InventoryHeaderComponent,
    GridDetailsModalComponent,
github RackHD / on-web-ui / src / app / solution-center / solution-center.module.ts View on Github external
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { ClarityModule } from '@clr/angular';

import { SolutionCenterComponent } from './solution-center.component';
import { SolutionCenterRoutingModule } from './solution-center-routing.module';
import { OsInstallComponent } from 'app/solution-center/os-install/os-install.component';
import { InventoryModule } from 'app/inventory/inventory.module';

@NgModule({
  imports: [
    ClarityModule.forChild(),
    CommonModule,
    FormsModule,
    ReactiveFormsModule,
    InventoryModule,
    SolutionCenterRoutingModule
  ],
  declarations: [SolutionCenterComponent, OsInstallComponent]
})

export class SolutionCenterModule { }
github RackHD / on-web-ui / src / app / workflow-center / workflow-center.module.ts View on Github external
import { ActiveWorkflowComponent } from './active-workflow/active-workflow.component';
import { HistoryWorkflowComponent } from './history-workflow/history-workflow.component';
import { WorkflowViewerComponent } from './workflow-viewer/workflow-viewer.component';
import { RunWorkflowComponent } from './run-workflow/run-workflow.component';

import { WorkflowCenterComponent } from './workflow-center.component';
import { WorkflowCenterRoutingModule } from './workflow-center-routing.module';

import { CanvasGraphModule } from 'app/canvas-graph/canvas-graph.module';
import { InventoryModule } from 'app/inventory/inventory.module';
import { WorkflowEditorComponent } from './workflow-editor/workflow-editor.component';

@NgModule({
  imports: [
    ClarityModule.forChild(),
    CommonModule,
    FormsModule,
    ReactiveFormsModule,
    WorkflowCenterRoutingModule,
    ManagementCenterServicesModule,
    CanvasGraphModule,
    InventoryModule,
  ],
  declarations: [
    WorkflowCenterComponent,
    ActiveWorkflowComponent,
    HistoryWorkflowComponent,
    WorkflowViewerComponent,
    RunWorkflowComponent,
    WorkflowEditorComponent,
  ],