@progress/kendo-angular-barcodes
Version:
Kendo UI Angular Barcodes
48 lines (47 loc) • 2.36 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_BARCODES } from './directives';
import { ResizeBatchService } from '@progress/kendo-angular-common';
import * as i0 from "@angular/core";
import * as i1 from "./barcode.component";
import * as i2 from "./qrcode.component";
//IMPORTANT: NgModule export kept for backwards compatibility
/**
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi']) definition for the Barcode and QR Code components.
*
* Use this module to add Barcode and QR Code features to your application.
*
* @example
*
* ```ts
* // Import the Barcodes module.
* import { BarcodesModule } from '@progress/kendo-angular-barcodes';
*
* import { NgModule } from '@angular/core';
* import { BrowserModule } from '@angular/platform-browser';
* import { AppComponent } from './app.component';
*
* @NgModule({
* declarations: [AppComponent],
* imports: [BrowserModule, BarcodesModule],
* bootstrap: [AppComponent]
* })
* export class AppModule {}
* ```
*/
export class BarcodesModule {
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BarcodesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: BarcodesModule, imports: [i1.BarcodeComponent, i2.QRCodeComponent], exports: [i1.BarcodeComponent, i2.QRCodeComponent] });
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BarcodesModule, providers: [ResizeBatchService], imports: [KENDO_BARCODES] });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BarcodesModule, decorators: [{
type: NgModule,
args: [{
imports: [...KENDO_BARCODES],
exports: [...KENDO_BARCODES],
providers: [ResizeBatchService]
}]
}] });