UNPKG

@scandit/web-datacapture-barcode

Version:

Scandit Data Capture SDK for the Web

46 lines (43 loc) 1.81 kB
import { ScanditIcon, Color, Point } from '@scandit/web-datacapture-core'; import { ScanditHTMLElement } from '@scandit/web-datacapture-core/build/js/private/utils/ScanditHTMLElement.js'; import { BarcodeArAnnotation, BarcodeArAnnotationTrigger } from './BarcodeArAnnotation.js'; import { Barcode } from '../../../Barcode.js'; import '@scandit/web-datacapture-core/build/js/private/Serializable'; import '../../../EncodingRange.js'; import '../../../StructuredAppendData.js'; declare enum BarcodeArStatusIconAnnotationAnchor { Top = "top-center", Bottom = "bottom-center", Left = "left-center", Right = "right-center" } declare class BarcodeArStatusIconAnnotation extends ScanditHTMLElement implements BarcodeArAnnotation { static tag: "scandit-barcode-ar-status-icon-annotation"; annotationTrigger: BarcodeArAnnotationTrigger; anchor: BarcodeArStatusIconAnnotationAnchor; private readonly statusIconContainer; private _barcode; constructor(); get barcode(): Barcode; protected set barcode(barcode: Barcode); set text(text: string); get text(): string; set hasTip(value: boolean); get hasTip(): boolean; set icon(icon: ScanditIcon); get icon(): ScanditIcon; set backgroundColor(color: Color); get backgroundColor(): Color; set textColor(color: Color); get textColor(): Color; static create(barcode: Barcode): BarcodeArStatusIconAnnotation; private static register; connectedCallback(): Promise<void>; updatePosition(point: Point, transformOrigin: Point, rotationAngle: number): void; } declare global { interface HTMLElementTagNameMap { [BarcodeArStatusIconAnnotation.tag]: BarcodeArStatusIconAnnotation; } } export { BarcodeArStatusIconAnnotation, BarcodeArStatusIconAnnotationAnchor };