mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-3380] lazy loading fixes (#3609)
* lazy loading file viewer * fix issue with CoreModule referencing * fix issue with app config and lazy loading * test fixes * fix import * lazy loading workaround for content module * fix providers for lazy loading * fix tests * lazy loading for Process Services lib * lazy loading for Insights, module cleanup * fix issue with Translate module, optimise imports * lazy-load blob viewer (demo shell) * remove duplicate pdf init * update to more stable pdfjs * fix license header * fix lint issues * fix test import * fix pdf version
This commit is contained in:
committed by
Eugenio Romano
parent
f3a513ca72
commit
f606149344
@@ -17,7 +17,6 @@
|
||||
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { NgModule } from '@angular/core';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
|
||||
import { DiagramEndEventComponent } from './components/events/diagram-end-event.component';
|
||||
import { DiagramEventComponent } from './components/events/diagram-event.component';
|
||||
@@ -83,11 +82,6 @@ import { DiagramLanesComponent } from './components/swimlanes/diagram-lanes.comp
|
||||
|
||||
import { DiagramTooltipComponent } from './components/tooltip/diagram-tooltip.component';
|
||||
|
||||
import { DiagramColorService } from './services/diagram-color.service';
|
||||
import { DiagramsService } from './services/diagrams.service';
|
||||
|
||||
import { RaphaelService } from './components/raphael/raphael.service';
|
||||
|
||||
import { RaphaelCircleDirective } from './components/raphael/raphael-circle.component';
|
||||
import { RaphaelCrossDirective } from './components/raphael/raphael-cross.component';
|
||||
import { RaphaelFlowArrowDirective } from './components/raphael/raphael-flow-arrow.component';
|
||||
@@ -115,11 +109,12 @@ import { RaphaelIconServiceDirective } from './components/raphael/icons/raphael-
|
||||
import { RaphaelIconSignalDirective } from './components/raphael/icons/raphael-icon-signal.component';
|
||||
import { RaphaelIconTimerDirective } from './components/raphael/icons/raphael-icon-timer.component';
|
||||
import { RaphaelIconUserDirective } from './components/raphael/icons/raphael-icon-user.component';
|
||||
import { CoreModule } from '@alfresco/adf-core';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
TranslateModule
|
||||
CoreModule.forChild()
|
||||
],
|
||||
declarations: [
|
||||
DiagramComponent,
|
||||
@@ -202,11 +197,6 @@ import { RaphaelIconUserDirective } from './components/raphael/icons/raphael-ico
|
||||
RaphaelIconSignalDirective,
|
||||
RaphaelIconMessageDirective
|
||||
],
|
||||
providers: [
|
||||
DiagramsService,
|
||||
DiagramColorService,
|
||||
RaphaelService
|
||||
],
|
||||
exports: [
|
||||
DiagramComponent,
|
||||
DiagramEventComponent,
|
||||
|
Reference in New Issue
Block a user