UNPKG

@progress/kendo-angular-inputs

Version:

Kendo UI for Angular Inputs Package - Everything you need to build professional form functionality (Checkbox, ColorGradient, ColorPalette, ColorPicker, FlatColorPicker, FormField, MaskedTextBox, NumericTextBox, RadioButton, RangeSlider, Slider, Switch, Te

45 lines (44 loc) 2.28 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { NgModule } from '@angular/core'; import { KENDO_SWITCH } from './directives'; import { ResizeBatchService } from '@progress/kendo-angular-common'; import * as i0 from "@angular/core"; import * as i1 from "./switch/switch.component"; import * as i2 from "./switch/localization/custom-messages.component"; //IMPORTANT: NgModule export kept for backwards compatibility /** * Defines the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) for the Switch component. * * Use this module to add the Switch component to your NgModule-based Angular application. * * @example * * ```typescript * import { SwitchModule } from '@progress/kendo-angular-inputs'; * import { NgModule } from '@angular/core'; * import { AppComponent } from './app.component'; * * @NgModule({ * declarations: [AppComponent], * imports: [BrowserModule, SwitchModule], * bootstrap: [AppComponent] * }) * export class AppModule {} * ``` */ export class SwitchModule { static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SwitchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: SwitchModule, imports: [i1.SwitchComponent, i2.SwitchCustomMessagesComponent], exports: [i1.SwitchComponent, i2.SwitchCustomMessagesComponent] }); static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SwitchModule, providers: [ResizeBatchService] }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SwitchModule, decorators: [{ type: NgModule, args: [{ imports: [...KENDO_SWITCH], exports: [...KENDO_SWITCH], providers: [ResizeBatchService] }] }] });