igniteui-angular-charts
Version:
Ignite UI Angular charting components for building rich data visualizations for modern web apps.
49 lines (48 loc) • 3.53 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 { IgxTimeAxisLabelFormatModule, provideIgxTimeAxisLabelFormat, registerIgxTimeAxisLabelFormat } from './igx-time-axis-label-format-module';
import { IgxTimeAxisLabelFormatComponent } from './igx-time-axis-label-format-component';
import { TimeAxisLabelFormat } from './TimeAxisLabelFormat';
import { TypeRegistrar } from "igniteui-angular-core";
import { IgxTimeAxisLabelFormatCollection } from './igx-time-axis-label-format-collection';
import { TimeAxisLabelFormatCollection } from './TimeAxisLabelFormatCollection';
import * as i0 from "@angular/core";
export function provideIgxTimeAxisLabelFormatDynamic() {
return makeEnvironmentProviders([
provideIgxTimeAxisLabelFormat(),
{
provide: ENVIRONMENT_INITIALIZER,
useValue: () => {
TypeRegistrar.registerCons("IgxTimeAxisLabelFormatComponent", IgxTimeAxisLabelFormatComponent);
TypeRegistrar.register("TimeAxisLabelFormat", TimeAxisLabelFormat.$type);
TypeRegistrar.registerCons("IgxTimeAxisLabelFormatCollection", IgxTimeAxisLabelFormatCollection);
TypeRegistrar.register("TimeAxisLabelFormatCollection", TimeAxisLabelFormatCollection.$type);
},
multi: true,
},
]);
}
export function registerIgxTimeAxisLabelFormatDynamic() {
registerIgxTimeAxisLabelFormat();
TypeRegistrar.registerCons("IgxTimeAxisLabelFormatCollection", IgxTimeAxisLabelFormatCollection);
TypeRegistrar.register("TimeAxisLabelFormatCollection", TimeAxisLabelFormatCollection.$type);
}
export class IgxTimeAxisLabelFormatDynamicModule {
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0-rc.1", ngImport: i0, type: IgxTimeAxisLabelFormatDynamicModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.0-rc.1", ngImport: i0, type: IgxTimeAxisLabelFormatDynamicModule, imports: [CommonModule, IgxTimeAxisLabelFormatComponent, IgxTimeAxisLabelFormatModule], exports: [IgxTimeAxisLabelFormatModule] }); }
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.0-rc.1", ngImport: i0, type: IgxTimeAxisLabelFormatDynamicModule, providers: [provideIgxTimeAxisLabelFormatDynamic()], imports: [CommonModule, IgxTimeAxisLabelFormatModule, IgxTimeAxisLabelFormatModule] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0-rc.1", ngImport: i0, type: IgxTimeAxisLabelFormatDynamicModule, decorators: [{
type: NgModule,
args: [{
imports: [CommonModule, IgxTimeAxisLabelFormatComponent, IgxTimeAxisLabelFormatModule],
exports: [IgxTimeAxisLabelFormatModule],
providers: [provideIgxTimeAxisLabelFormatDynamic()]
}]
}] });