igniteui-angular-inputs
Version:
Ignite UI Angular input components for building rich data visualizations for modern web apps.
60 lines (59 loc) • 3.24 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 { IgxXRippleModule, provideIgxXRipple, registerIgxXRipple } from './igx-x-ripple-module';
import { IgxChildContentModule, provideIgxChildContent, registerIgxChildContent } from "igniteui-angular-core";
import { IgxXCheckboxComponent } from './igx-x-checkbox-component';
import { XCheckbox } from './XCheckbox';
import { TypeRegistrar } from "igniteui-angular-core";
import * as i0 from "@angular/core";
export function provideIgxXCheckbox() {
return makeEnvironmentProviders([
provideIgxXRipple(),
provideIgxChildContent(),
{
provide: ENVIRONMENT_INITIALIZER,
useValue: () => {
TypeRegistrar.registerCons('IgxXCheckboxComponent', IgxXCheckboxComponent);
TypeRegistrar.register('XCheckbox', XCheckbox.$type);
},
multi: true,
},
]);
}
export function registerIgxXCheckbox() {
registerIgxXRipple();
registerIgxChildContent();
TypeRegistrar.registerCons('IgxXCheckboxComponent', IgxXCheckboxComponent);
TypeRegistrar.register('XCheckbox', XCheckbox.$type);
}
export class IgxXCheckboxModule {
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0-rc.1", ngImport: i0, type: IgxXCheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.0-rc.1", ngImport: i0, type: IgxXCheckboxModule, imports: [CommonModule, IgxXRippleModule,
IgxChildContentModule,
IgxXCheckboxComponent], exports: [IgxXRippleModule,
IgxChildContentModule,
IgxXCheckboxComponent] }); }
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.0-rc.1", ngImport: i0, type: IgxXCheckboxModule, providers: [provideIgxXCheckbox()], imports: [CommonModule, IgxXRippleModule,
IgxChildContentModule, IgxXRippleModule,
IgxChildContentModule] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0-rc.1", ngImport: i0, type: IgxXCheckboxModule, decorators: [{
type: NgModule,
args: [{
imports: [CommonModule, IgxXRippleModule,
IgxChildContentModule,
IgxXCheckboxComponent
],
exports: [IgxXRippleModule,
IgxChildContentModule,
IgxXCheckboxComponent
],
providers: [provideIgxXCheckbox()]
}]
}] });