igniteui-angular-charts
Version:
Ignite UI Angular charting components for building rich data visualizations for modern web apps.
45 lines (44 loc) • 2.65 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 { IgxFinancialLegendComponent } from './igx-financial-legend-component';
import { LegendTemplates } from './LegendTemplates';
import { FinancialLegend } from './FinancialLegend';
import { TypeRegistrar } from "igniteui-angular-core";
import * as i0 from "@angular/core";
export function provideIgxFinancialLegend() {
return makeEnvironmentProviders([
{
provide: ENVIRONMENT_INITIALIZER,
useValue: () => {
TypeRegistrar.register('LegendTemplates', LegendTemplates.$type);
TypeRegistrar.register('FinancialLegend', FinancialLegend.$type);
},
multi: true,
},
]);
}
export function registerIgxFinancialLegend() {
TypeRegistrar.register('LegendTemplates', LegendTemplates.$type);
TypeRegistrar.register('FinancialLegend', FinancialLegend.$type);
}
export class IgxFinancialLegendModule {
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0-rc.1", ngImport: i0, type: IgxFinancialLegendModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.0-rc.1", ngImport: i0, type: IgxFinancialLegendModule, imports: [CommonModule, IgxFinancialLegendComponent], exports: [IgxFinancialLegendComponent] }); }
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.0-rc.1", ngImport: i0, type: IgxFinancialLegendModule, providers: [provideIgxFinancialLegend()], imports: [CommonModule] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0-rc.1", ngImport: i0, type: IgxFinancialLegendModule, decorators: [{
type: NgModule,
args: [{
imports: [CommonModule, IgxFinancialLegendComponent
],
exports: [IgxFinancialLegendComponent
],
providers: [provideIgxFinancialLegend()]
}]
}] });