igniteui-angular-inputs
Version:
Ignite UI Angular input components for building rich data visualizations for modern web apps.
60 lines (59 loc) • 3.16 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 { IgxXButtonModule, provideIgxXButton, registerIgxXButton } from './igx-x-button-module';
import { IgxXIconModule, provideIgxXIcon, registerIgxXIcon } from './igx-x-icon-module';
import { IgxXCalendarComponent } from './igx-x-calendar-component';
import { XCalendar } from './XCalendar';
import { TypeRegistrar } from "igniteui-angular-core";
import * as i0 from "@angular/core";
export function provideIgxXCalendar() {
return makeEnvironmentProviders([
provideIgxXButton(),
provideIgxXIcon(),
{
provide: ENVIRONMENT_INITIALIZER,
useValue: () => {
TypeRegistrar.registerCons('IgxXCalendarComponent', IgxXCalendarComponent);
TypeRegistrar.register('XCalendar', XCalendar.$type);
},
multi: true,
},
]);
}
export function registerIgxXCalendar() {
registerIgxXButton();
registerIgxXIcon();
TypeRegistrar.registerCons('IgxXCalendarComponent', IgxXCalendarComponent);
TypeRegistrar.register('XCalendar', XCalendar.$type);
}
export class IgxXCalendarModule {
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0-rc.1", ngImport: i0, type: IgxXCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.0-rc.1", ngImport: i0, type: IgxXCalendarModule, imports: [CommonModule, IgxXButtonModule,
IgxXIconModule,
IgxXCalendarComponent], exports: [IgxXButtonModule,
IgxXIconModule,
IgxXCalendarComponent] }); }
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.0-rc.1", ngImport: i0, type: IgxXCalendarModule, providers: [provideIgxXCalendar()], imports: [CommonModule, IgxXButtonModule,
IgxXIconModule, IgxXButtonModule,
IgxXIconModule] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0-rc.1", ngImport: i0, type: IgxXCalendarModule, decorators: [{
type: NgModule,
args: [{
imports: [CommonModule, IgxXButtonModule,
IgxXIconModule,
IgxXCalendarComponent
],
exports: [IgxXButtonModule,
IgxXIconModule,
IgxXCalendarComponent
],
providers: [provideIgxXCalendar()]
}]
}] });