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

51 lines (50 loc) 3.57 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_COLORGRADIENT, KENDO_COLORPALETTE, KENDO_COLORPICKER, KENDO_FLATCOLORPICKER } from './directives'; import { PopupService } from '@progress/kendo-angular-popup'; import { ResizeBatchService } from '@progress/kendo-angular-common'; import { IconsService } from '@progress/kendo-angular-icons'; import { AdaptiveService } from '@progress/kendo-angular-utils'; import * as i0 from "@angular/core"; import * as i1 from "./colorpicker/colorpicker.component"; import * as i2 from "./colorpicker/localization/custom-messages.component"; import * as i3 from "./colorpicker/flatcolorpicker.component"; import * as i4 from "./colorpicker/color-gradient.component"; import * as i5 from "./colorpicker/color-palette.component"; //IMPORTANT: NgModule export kept for backwards compatibility /** * Defines the [NgModule](link:site.data.urls.angular['ngmoduleapi']) for the ColorPicker. * * Use this module to add ColorPicker features to your NgModule-based Angular application. * * @example * ```typescript * import { ColorPickerModule } from '@progress/kendo-angular-inputs'; * import { NgModule } from '@angular/core'; * import { BrowserModule } from '@angular/platform-browser'; * import { AppComponent } from './app.component'; * * @NgModule({ * declarations: [AppComponent], * imports: [BrowserModule, ColorPickerModule], * bootstrap: [AppComponent] * }) * export class AppModule {} * ``` */ export class ColorPickerModule { static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ColorPickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: ColorPickerModule, imports: [i1.ColorPickerComponent, i2.ColorPickerCustomMessagesComponent, i3.FlatColorPickerComponent, i2.ColorPickerCustomMessagesComponent, i4.ColorGradientComponent, i2.ColorPickerCustomMessagesComponent, i5.ColorPaletteComponent, i2.ColorPickerCustomMessagesComponent], exports: [i1.ColorPickerComponent, i2.ColorPickerCustomMessagesComponent, i3.FlatColorPickerComponent, i2.ColorPickerCustomMessagesComponent, i4.ColorGradientComponent, i2.ColorPickerCustomMessagesComponent, i5.ColorPaletteComponent, i2.ColorPickerCustomMessagesComponent] }); static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ColorPickerModule, providers: [PopupService, IconsService, ResizeBatchService, AdaptiveService], imports: [i1.ColorPickerComponent, i3.FlatColorPickerComponent, i4.ColorGradientComponent] }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ColorPickerModule, decorators: [{ type: NgModule, args: [{ imports: [...KENDO_COLORPICKER, ...KENDO_FLATCOLORPICKER, ...KENDO_COLORGRADIENT, ...KENDO_COLORPALETTE], exports: [...KENDO_COLORPICKER, ...KENDO_FLATCOLORPICKER, ...KENDO_COLORGRADIENT, ...KENDO_COLORPALETTE], providers: [PopupService, IconsService, ResizeBatchService, AdaptiveService] }] }] });