UNPKG

@progress/kendo-angular-notification

Version:

Kendo UI Notification for Angular

56 lines (55 loc) 2.79 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 { IconsService } from '@progress/kendo-angular-icons'; import { NotificationService } from './services/notification.service'; import { KENDO_NOTIFICATION } from './directives'; import * as i0 from "@angular/core"; import * as i1 from "./notification.component"; import * as i2 from "./notification.container.component"; // IMPORTANT: NgModule export kept for backwards compatibility /** * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi']) * definition for the Notification component. * * The package exports: * - `NotificationService`—The Notification service class. * * @example * * ```ts-no-run * // Import the Notification module * import { NotificationModule } from '@progress/kendo-angular-notification'; * * // The browser platform with a compiler * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; * * import { NgModule } from '@angular/core'; * * // Import the app component * _@NgModule{{ * declarations: [AppComponent], // declare app component * imports: [BrowserModule, NotificationModule], // import NotificationModule module * bootstrap: [AppComponent] * }} * export class AppModule {} * * // Compile and launch the module * platformBrowserDynamic().bootstrapModule(AppModule); * ``` */ export class NotificationModule { static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NotificationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: NotificationModule, imports: [i1.NotificationComponent, i2.NotificationContainerComponent], exports: [i1.NotificationComponent, i2.NotificationContainerComponent] }); static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NotificationModule, providers: [NotificationService, IconsService], imports: [i1.NotificationComponent] }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NotificationModule, decorators: [{ type: NgModule, args: [{ imports: [...KENDO_NOTIFICATION], exports: [...KENDO_NOTIFICATION], providers: [NotificationService, IconsService] }] }] });