UNPKG

ngx-barcode6

Version:

An angular component for Angular 17 - 20 for creating 1-D barcodes based on Lindell's JsBarcode

44 lines (40 loc) 2.95 kB
import * as i0 from '@angular/core'; import { OnChanges, AfterViewInit, ElementRef, Renderer2 } from '@angular/core'; declare class NgxBarcode6Component implements OnChanges, AfterViewInit { private renderer; elementType: 'svg' | 'img' | 'canvas'; cssClass: string; format: string | '' | 'CODE128' | 'CODE128A' | 'CODE128B' | 'CODE128C' | 'EAN13' | 'UPC' | 'EAN8' | 'EAN5' | 'EAN2' | 'CODE39' | 'ITF' | 'ITF14' | 'MSI' | 'MSI10' | 'MSI11' | 'MSI1010' | 'MSI1110' | 'pharmacode' | 'codabar'; lineColor: string; width: number; height: number; displayValue: boolean; fontOptions: string; font: string; textAlign: string; textPosition: string; textMargin: number; fontSize: number; background: string; margin: number; marginTop: number; marginBottom: number; marginLeft: number; marginRight: number; value: string; valid: () => boolean; bcElement: ElementRef; get options(): any; constructor(renderer: Renderer2); ngAfterViewInit(): void; ngOnChanges(): void; createBarcode(): void; static ɵfac: i0.ɵɵFactoryDeclaration<NgxBarcode6Component, never>; static ɵcmp: i0.ɵɵComponentDeclaration<NgxBarcode6Component, "ngx-barcode6", never, { "elementType": { "alias": "bc-element-type"; "required": false; }; "cssClass": { "alias": "bc-class"; "required": false; }; "format": { "alias": "bc-format"; "required": false; }; "lineColor": { "alias": "bc-line-color"; "required": false; }; "width": { "alias": "bc-width"; "required": false; }; "height": { "alias": "bc-height"; "required": false; }; "displayValue": { "alias": "bc-display-value"; "required": false; }; "fontOptions": { "alias": "bc-font-options"; "required": false; }; "font": { "alias": "bc-font"; "required": false; }; "textAlign": { "alias": "bc-text-align"; "required": false; }; "textPosition": { "alias": "bc-text-position"; "required": false; }; "textMargin": { "alias": "bc-text-margin"; "required": false; }; "fontSize": { "alias": "bc-font-size"; "required": false; }; "background": { "alias": "bc-background"; "required": false; }; "margin": { "alias": "bc-margin"; "required": false; }; "marginTop": { "alias": "bc-margin-top"; "required": false; }; "marginBottom": { "alias": "bc-margin-bottom"; "required": false; }; "marginLeft": { "alias": "bc-margin-left"; "required": false; }; "marginRight": { "alias": "bc-margin-right"; "required": false; }; "value": { "alias": "bc-value"; "required": false; }; "valid": { "alias": "bc-valid"; "required": false; }; }, {}, never, never, false, never>; } declare class NgxBarcode6Module { static ɵfac: i0.ɵɵFactoryDeclaration<NgxBarcode6Module, never>; static ɵmod: i0.ɵɵNgModuleDeclaration<NgxBarcode6Module, [typeof NgxBarcode6Component], never, [typeof NgxBarcode6Component]>; static ɵinj: i0.ɵɵInjectorDeclaration<NgxBarcode6Module>; } export { NgxBarcode6Component, NgxBarcode6Module };