mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Improve Heat map integration
This commit is contained in:
@@ -21,14 +21,15 @@ import { CoreModule } from 'ng2-alfresco-core';
|
||||
import { AnalyticsReportListComponent } from './src/components/analytics-report-list.component';
|
||||
import { AnalyticsReportParametersComponent } from './src/components/analytics-report-parameters.component';
|
||||
import { AnalyticsComponent } from './src/components/analytics.component';
|
||||
import { AnalyticsReportHeatMapComponent } from './src/components/analytics-report-heat-map.component';
|
||||
import { AnalyticsService } from './src/services/analytics.service';
|
||||
import { RaphaelService } from './src/components/raphael/raphael.service';
|
||||
import { CHART_DIRECTIVES } from 'ng2-charts/ng2-charts';
|
||||
|
||||
import { WIDGET_DIRECTIVES } from './src/components/widgets/index';
|
||||
import { RAPHAEL_DIRECTIVES } from './src/components/raphael/index';
|
||||
import { DIAGRAM_DIRECTIVES } from './src/components/diagrams/index';
|
||||
import { DIAGRAM_PROVIDERS } from './src/components/diagrams/index';
|
||||
import { RAPHAEL_PROVIDERS } from './src/components/raphael/index';
|
||||
|
||||
export * from './src/components/analytics.component';
|
||||
export * from './src/components/analytics-report-list.component';
|
||||
@@ -42,14 +43,14 @@ export const ANALYTICS_DIRECTIVES: any[] = [
|
||||
AnalyticsComponent,
|
||||
AnalyticsReportListComponent,
|
||||
AnalyticsReportParametersComponent,
|
||||
AnalyticsReportHeatMapComponent,
|
||||
WIDGET_DIRECTIVES,
|
||||
RAPHAEL_DIRECTIVES,
|
||||
DIAGRAM_DIRECTIVES
|
||||
];
|
||||
|
||||
export const ANALYTICS_PROVIDERS: any[] = [
|
||||
AnalyticsService,
|
||||
DIAGRAM_PROVIDERS
|
||||
AnalyticsService
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
@@ -63,7 +64,7 @@ export const ANALYTICS_PROVIDERS: any[] = [
|
||||
providers: [
|
||||
...ANALYTICS_PROVIDERS,
|
||||
...DIAGRAM_PROVIDERS,
|
||||
RaphaelService
|
||||
...RAPHAEL_PROVIDERS
|
||||
],
|
||||
exports: [
|
||||
...ANALYTICS_DIRECTIVES
|
||||
@@ -75,7 +76,8 @@ export class AnalyticsModule {
|
||||
ngModule: AnalyticsModule,
|
||||
providers: [
|
||||
...ANALYTICS_PROVIDERS,
|
||||
...DIAGRAM_PROVIDERS
|
||||
...DIAGRAM_PROVIDERS,
|
||||
...RAPHAEL_PROVIDERS
|
||||
]
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user