igniteui-angular-charts
Version:
Ignite UI Angular charting components for building rich data visualizations for modern web apps.
76 lines (75 loc) • 4.26 kB
JavaScript
/*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
import { NgModule, ENVIRONMENT_INITIALIZER, makeEnvironmentProviders } from '@angular/core';
import { CommonModule } from '@angular/common';
import { IgxNumberFormatSpecifierModule, provideIgxNumberFormatSpecifier, registerIgxNumberFormatSpecifier } from "igniteui-angular-core";
import { IgxDateTimeFormatSpecifierModule, provideIgxDateTimeFormatSpecifier, registerIgxDateTimeFormatSpecifier } from "igniteui-angular-core";
import { IgxChartSelectionModule, provideIgxChartSelection, registerIgxChartSelection } from './igx-chart-selection-module';
import { IgxSeriesMatcherModule, provideIgxSeriesMatcher, registerIgxSeriesMatcher } from './igx-series-matcher-module';
import { IgxDataChartComponent } from './igx-data-chart-component';
import { XamDataChart } from './XamDataChart';
import { TypeRegistrar } from "igniteui-angular-core";
import * as i0 from "@angular/core";
export function provideIgxDataChartCore() {
return makeEnvironmentProviders([
provideIgxNumberFormatSpecifier(),
provideIgxDateTimeFormatSpecifier(),
provideIgxChartSelection(),
provideIgxSeriesMatcher(),
{
provide: ENVIRONMENT_INITIALIZER,
useValue: () => {
TypeRegistrar.register('XamDataChart', XamDataChart.$type);
},
multi: true,
},
]);
}
export function registerIgxDataChartCore() {
registerIgxNumberFormatSpecifier();
registerIgxDateTimeFormatSpecifier();
registerIgxChartSelection();
registerIgxSeriesMatcher();
TypeRegistrar.register('XamDataChart', XamDataChart.$type);
}
export class IgxDataChartCoreModule {
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0-rc.1", ngImport: i0, type: IgxDataChartCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.0-rc.1", ngImport: i0, type: IgxDataChartCoreModule, imports: [CommonModule, IgxNumberFormatSpecifierModule,
IgxDateTimeFormatSpecifierModule,
IgxChartSelectionModule,
IgxSeriesMatcherModule,
IgxDataChartComponent], exports: [IgxNumberFormatSpecifierModule,
IgxDateTimeFormatSpecifierModule,
IgxChartSelectionModule,
IgxSeriesMatcherModule,
IgxDataChartComponent] }); }
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.0-rc.1", ngImport: i0, type: IgxDataChartCoreModule, providers: [provideIgxDataChartCore()], imports: [CommonModule, IgxNumberFormatSpecifierModule,
IgxDateTimeFormatSpecifierModule,
IgxChartSelectionModule,
IgxSeriesMatcherModule, IgxNumberFormatSpecifierModule,
IgxDateTimeFormatSpecifierModule,
IgxChartSelectionModule,
IgxSeriesMatcherModule] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0-rc.1", ngImport: i0, type: IgxDataChartCoreModule, decorators: [{
type: NgModule,
args: [{
imports: [CommonModule, IgxNumberFormatSpecifierModule,
IgxDateTimeFormatSpecifierModule,
IgxChartSelectionModule,
IgxSeriesMatcherModule,
IgxDataChartComponent
],
exports: [IgxNumberFormatSpecifierModule,
IgxDateTimeFormatSpecifierModule,
IgxChartSelectionModule,
IgxSeriesMatcherModule,
IgxDataChartComponent
],
providers: [provideIgxDataChartCore()]
}]
}] });