UNPKG

@progress/kendo-angular-buttons

Version:
46 lines (45 loc) 2.29 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. * * Required for adding Chip and ChipList features in NgModule-based Angular applications. * * @example * ```typescript * import { ChipModule } from '@progress/kendo-angular-buttons'; * import { NgModule } from '@angular/core'; * import { BrowserModule } from '@angular/platform-browser'; * import { AppComponent } from './app.component'; * * @NgModule({ * declarations: [AppComponent], * imports: [BrowserModule, ChipModule], * 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] }] }] });