@progress/kendo-angular-label
Version:
Kendo UI Label for Angular
60 lines (59 loc) • 2.75 kB
JavaScript
/**-----------------------------------------------------------------------------------------
* 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_LABELS } from './directives';
import * as i0 from "@angular/core";
import * as i1 from "./label.directive";
import * as i2 from "./label/label.component";
import * as i3 from "./localization/custom-messages.component";
import * as i4 from "./floating-label/floating-label.component";
//IMPORTANT: NgModule export kept for backwards compatibility
/**
* The exported package module.
*
* The package exports:
* - `LabelDirective`—The Label directive class.
* - `LabelComponent`—The Label component class
* - `FLoatingLabel`—The FloatingLabel component class.
*
* @example
*
* ```ts-no-run
* // Import the Label module
* import { LabelModule } from '@progress/kendo-angular-label';
*
* // 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, LabelModule], // import Label module
* bootstrap: [AppComponent]
* })
* export class AppModule {}
*
* // Compile and launch the module
* platformBrowserDynamic().bootstrapModule(AppModule);
*
* ```
*/
export class LabelModule {
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LabelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: LabelModule, imports: [i1.LabelDirective, i2.LabelComponent, i3.CustomMessagesComponent, i4.FloatingLabelComponent, i3.CustomMessagesComponent], exports: [i1.LabelDirective, i2.LabelComponent, i3.CustomMessagesComponent, i4.FloatingLabelComponent, i3.CustomMessagesComponent] });
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LabelModule });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LabelModule, decorators: [{
type: NgModule,
args: [{
imports: [...KENDO_LABELS],
exports: [...KENDO_LABELS]
}]
}] });