UNPKG

@progress/kendo-angular-buttons

Version:
53 lines (52 loc) 2.42 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_CHIPLIST } from '../directives'; import { IconsService } from '@progress/kendo-angular-icons'; import * as i0 from "@angular/core"; import * as i1 from "./chip.component"; import * as i2 from "./chip-list.component"; //IMPORTANT: NgModule export kept for backwards compatibility /** * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi']) * definition for the Chip and ChipList components. * * @example * * ```ts-no-run * // Import the Chip module * import { ChipModule } from '@progress/kendo-angular-buttons'; * * // The browser platform with a compiler * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; * * import { NgModule } from '@angular/core'; * * // Import the app component * import { AppComponent } from './app.component'; * * // Define the app module * _@NgModule({ * declarations: [AppComponent], // declare app component * imports: [BrowserModule, ChipModule], // import Chip module * bootstrap: [AppComponent] * }) * export class AppModule {} * * ``` */ export class ChipModule { static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ChipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: ChipModule, imports: [i1.ChipComponent, i2.ChipListComponent], exports: [i1.ChipComponent, i2.ChipListComponent] }); static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ChipModule, providers: [IconsService], imports: [i1.ChipComponent] }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ChipModule, decorators: [{ type: NgModule, args: [{ exports: [...KENDO_CHIPLIST], imports: [...KENDO_CHIPLIST], providers: [IconsService] }] }] });