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