UNPKG

igniteui-angular-charts

Version:

Ignite UI Angular charting components for building rich data visualizations for modern web apps.

64 lines (63 loc) 3.77 kB
/* 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 { IgxTreemapComponent } from './igx-treemap-component'; import { IgxTreemapNodeStyleDynamicModule, provideIgxTreemapNodeStyleDynamic, registerIgxTreemapNodeStyleDynamic } from './igx-treemap-node-style-dynamic-module'; import { IgxTreemapNodeStyleMappingModule, provideIgxTreemapNodeStyleMapping, registerIgxTreemapNodeStyleMapping } from './igx-treemap-node-style-mapping-module'; import { Treemap } from './Treemap'; import { FastItemObjectColumn } from "igniteui-angular-core"; import { TypeRegistrar } from "igniteui-angular-core"; import * as i0 from "@angular/core"; export function provideIgxTreemap() { return makeEnvironmentProviders([ provideIgxTreemapNodeStyleDynamic(), provideIgxTreemapNodeStyleMapping(), { provide: ENVIRONMENT_INITIALIZER, useValue: () => { TypeRegistrar.registerCons('IgxTreemapComponent', IgxTreemapComponent); TypeRegistrar.register('Treemap', Treemap.$type); TypeRegistrar.register('FastItemObjectColumn', FastItemObjectColumn.$type); }, multi: true, }, ]); } export function registerIgxTreemap() { registerIgxTreemapNodeStyleDynamic(); registerIgxTreemapNodeStyleMapping(); TypeRegistrar.registerCons('IgxTreemapComponent', IgxTreemapComponent); TypeRegistrar.register('Treemap', Treemap.$type); TypeRegistrar.register('FastItemObjectColumn', FastItemObjectColumn.$type); } export class IgxTreemapModule { static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0-rc.1", ngImport: i0, type: IgxTreemapModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); } static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.0-rc.1", ngImport: i0, type: IgxTreemapModule, imports: [CommonModule, IgxTreemapComponent, IgxTreemapNodeStyleDynamicModule, IgxTreemapNodeStyleMappingModule], exports: [IgxTreemapComponent, IgxTreemapNodeStyleDynamicModule, IgxTreemapNodeStyleMappingModule] }); } static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.0-rc.1", ngImport: i0, type: IgxTreemapModule, providers: [provideIgxTreemap()], imports: [CommonModule, IgxTreemapNodeStyleDynamicModule, IgxTreemapNodeStyleMappingModule, IgxTreemapNodeStyleDynamicModule, IgxTreemapNodeStyleMappingModule] }); } } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0-rc.1", ngImport: i0, type: IgxTreemapModule, decorators: [{ type: NgModule, args: [{ imports: [CommonModule, IgxTreemapComponent, IgxTreemapNodeStyleDynamicModule, IgxTreemapNodeStyleMappingModule ], exports: [IgxTreemapComponent, IgxTreemapNodeStyleDynamicModule, IgxTreemapNodeStyleMappingModule ], providers: [provideIgxTreemap()] }] }] });