Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

scandit-datacapture-frameworks-barcode

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scandit-datacapture-frameworks-barcode - npm Package Compare versions

Comparing version 6.22.0 to 6.23.0-beta.1

dist/dts/barcodepick/BarcodePickScanningListener.d.ts

2

dist/dts/barcodefind/BarcodeFind.d.ts

@@ -12,3 +12,3 @@ import { CameraSettings, DataCaptureContext, DataCaptureMode, DefaultSerializeable } from "scandit-datacapture-frameworks-core";

private _settings;
private itemsToFind;
private _itemsToFind;
private listeners;

@@ -15,0 +15,0 @@ private _controller;

import { CameraSettings, DataCaptureContext, DefaultSerializeable } from "scandit-datacapture-frameworks-core";
import { BarcodePickSettings } from "./BarcodePickSettings";
import { BarcodePickProductProvider } from "./BarcodePickProductProvider";
import { BarcodePickScanningListener } from "./BarcodePickScanningListener";
export declare class BarcodePick extends DefaultSerializeable {
private type;
private privateContext;
private _listenerController;
private listeners;
private _settings;

@@ -11,3 +14,8 @@ private _productProvider;

private static get barcodePickDefaults();
static get recommendedCameraSettings(): CameraSettings;
constructor(dataCaptureContext: DataCaptureContext, settings: BarcodePickSettings, productProvider: BarcodePickProductProvider);
addScanningListener(listener: BarcodePickScanningListener): void;
private checkAndSubscribeListeners;
removeScanningListener(listener: BarcodePickScanningListener): void;
private checkAndUnsubscribeListeners;
private unsubscribeNativeListeners;

@@ -17,2 +25,3 @@ }

privateContext: DataCaptureContext | null;
listeners: BarcodePickScanningListener[];
isInListenerCallback: boolean;

@@ -19,0 +28,0 @@ didChange: () => Promise<void>;

import { DefaultSerializeable } from "scandit-datacapture-frameworks-core";
import { Symbology, SymbologySettings } from "../symbology";
import { ArucoDictionary, Symbology, SymbologySettings } from "../symbology";
export declare class BarcodePickSettings extends DefaultSerializeable {

@@ -8,2 +8,4 @@ private symbologies;

private _hapticsEnabled;
private _cachingEnabled;
private _arucoDictionary;
private static get barcodePickDefaults();

@@ -21,2 +23,5 @@ constructor();

set hapticsEnabled(enabled: boolean);
setArucoDictionary(dictionary: ArucoDictionary): void;
get cachingEnabled(): boolean;
set cachingEnabled(enabled: boolean);
}
import { BaseController } from "scandit-datacapture-frameworks-core";
import { BarcodePickView, BaseBarcodePickView } from "../private/BarcodePickView";
import { BarcodePickViewUiListener } from "../BarcodePickViewUiListener";
export interface BarcodePickViewProxy {
viewStart(): Promise<void>;
viewPause(): Promise<void>;
viewFreeze(): Promise<void>;
finishPickAction(code: string, result: boolean): Promise<void>;

@@ -10,6 +12,6 @@ findNodeHandle(view?: BarcodePickView): number | null;

updateView(json: string): Promise<void>;
addActionListener(): Promise<void>;
unsubscribeListeners(): Promise<void>;
subscribeDidPickItemListener(): void;
subscribeDidUnpickItemListener(): void;
registerFrameworkEvents(): void;
unregisterFrameworkEvents(): void;
subscribeBarcodePickViewUiListener(): Promise<void>;
unsubscribeBarcodePickViewUiListener(): Promise<void>;
}

@@ -19,2 +21,16 @@ export interface PrivateBarcodeItemDataEventPayload {

}
export declare enum BarcodePickViewListenerEvents {
DidStartScanning = "BarcodePickViewListener.didStartScanning",
DidFreezeScanning = "BarcodePickViewListener.didFreezeScanning",
DidPauseScanning = "BarcodePickViewListener.didPauseScanning",
DidStopScanning = "BarcodePickViewListener.didStopScanning"
}
export declare enum BarcodePickViewUiListenerEvents {
DidTapFinishButton = "BarcodePickViewUiListener.didTapFinishButton"
}
export declare enum BarcodePickEvents {
DidPick = "BarcodePickActionListener.didPick",
DidUnpick = "BarcodePickActionListener.didUnpick",
OnProductIdentifierForItems = "BarcodePickAsyncMapperProductProviderCallback.onProductIdentifierForItems"
}
export declare class BarcodePickViewController extends BaseController<BarcodePickViewProxy> {

@@ -28,7 +44,9 @@ private view;

pause(): Promise<void>;
freeze(): Promise<void>;
finishPickAction(itemData: string, result: boolean): Promise<void>;
private create;
dispose(): void;
setUiListener(listener: BarcodePickViewUiListener | null): Promise<void>;
subscribeListeners(): void;
private unsubscribeListeners;
}

@@ -11,12 +11,18 @@ export * from "./BarcodePick";

export * from "./BarcodePickProductProviderCallbackItem";
export * from "./BarcodePickScanningListener";
export * from "./BarcodePickScanningSession";
export * from "./BarcodePickSettings";
export * from "./BarcodePickState";
export * from "./private/BarcodePickView";
export * from "./BarcodePickViewListener";
export * from "./BarcodePickViewUiListener";
export * from "./BarcodePickViewHighlightStyle";
export * from "./BarcodePickViewSettings";
export * from "./private/BrushForStateObject";
export * from './Dot';
export * from './DotWithIcons';
export * from "./Rectangular";
export * from "./RectangularWithIcons";
export * from "./controller/BarcodePickEvents";
export * from "./controller/BarcodePickListenerController";
export * from "./controller/BarcodePickProductController";
export * from "./controller/BarcodePickViewController";

@@ -5,2 +5,4 @@ import { CameraSettings, DataCaptureContext, DefaultSerializeable } from "scandit-datacapture-frameworks-core";

import { BarcodePickViewSettings } from "../BarcodePickViewSettings";
import { BarcodePickViewUiListener } from "../BarcodePickViewUiListener";
import { BarcodePickViewListener } from "../BarcodePickViewListener";
export interface BarcodePickView {

@@ -14,2 +16,3 @@ }

private actionListeners;
private listeners;
private isStarted;

@@ -19,2 +22,5 @@ private _context;

set context(context: DataCaptureContext | null);
private _barcodePickViewUiListener;
get uiListener(): BarcodePickViewUiListener | null;
set uiListener(value: BarcodePickViewUiListener | null);
constructor({ context, barcodePick, settings, cameraSettings }: {

@@ -29,10 +35,14 @@ context: DataCaptureContext | null;

start(): void;
freeze(): void;
pause(): void;
addActionListener(listener: BarcodePickActionListener): void;
removeActionListener(listener: BarcodePickActionListener): void;
addListener(listener: BarcodePickViewListener): void;
removeListener(listener: BarcodePickViewListener): void;
toJSON(): object;
}
export interface PrivateBarcodePickView {
listeners: BarcodePickViewListener[];
actionListeners: BarcodePickActionListener[];
toJSON(): object;
}

@@ -1,6 +0,6 @@

import { Brush } from "scandit-datacapture-frameworks-core";
import { Brush, DefaultSerializeable } from "scandit-datacapture-frameworks-core";
import { BarcodePickState } from "../BarcodePickState";
export declare class BrushForStateObject {
export declare class BrushForStateObject extends DefaultSerializeable {
barcodePickState: BarcodePickState;
brush: Brush;
}

@@ -1,5 +0,5 @@

import { Brush } from "scandit-datacapture-frameworks-core";
import { Brush, DefaultSerializeable } from "scandit-datacapture-frameworks-core";
import { BarcodePickViewHighlightStyle } from "./BarcodePickViewHighlightStyle";
import { BarcodePickState } from "./BarcodePickState";
export declare class Rectangular implements BarcodePickViewHighlightStyle {
export declare class Rectangular extends DefaultSerializeable implements BarcodePickViewHighlightStyle {
private _type;

@@ -6,0 +6,0 @@ private _brushesForState;

@@ -1,8 +0,9 @@

import { Brush } from "scandit-datacapture-frameworks-core";
import { Brush, DefaultSerializeable } from "scandit-datacapture-frameworks-core";
import { BarcodePickViewHighlightStyle } from "./BarcodePickViewHighlightStyle";
import { BarcodePickIconStyle } from "./BarcodePickIconStyle";
import { BarcodePickState } from "./BarcodePickState";
export declare class RectangularWithIcons implements BarcodePickViewHighlightStyle {
export declare class RectangularWithIcons extends DefaultSerializeable implements BarcodePickViewHighlightStyle {
private _type;
private _brushesForState;
private _iconsForState;
private _iconStyle;

@@ -13,4 +14,5 @@ private static get barcodePickDefaults();

setBrushForState(brush: Brush, state: BarcodePickState): void;
setIconForState(image: string, state: BarcodePickState): void;
get iconStyle(): BarcodePickIconStyle;
set iconStyle(style: BarcodePickIconStyle);
}

@@ -5,6 +5,8 @@ import { CameraSettings } from "scandit-datacapture-frameworks-core";

import { BarcodePickViewHighlightStyle } from "../barcodepick/BarcodePickViewHighlightStyle";
import { SymbologySettings } from "../symbology";
import { ArucoDictionary, SymbologySettings } from "../symbology";
export interface BarcodePickDefaults {
RecommendedCameraSettings: CameraSettings;
BarcodePickSettings: {
arucoDictionary: ArucoDictionary;
cachingEnabled: boolean;
hapticsEnabled: boolean;

@@ -30,2 +32,9 @@ soundEnabled: boolean;

BarcodePickViewHighlightStyle: {
Dot: {
brushesForState: BrushForStateObject[];
};
DotWithIcons: {
iconStyle: BarcodePickIconStyle;
brushesForState: BrushForStateObject[];
};
Rectangular: {

@@ -32,0 +41,0 @@ brushesForState: BrushForStateObject[];

@@ -21,7 +21,18 @@ import { Brush, Color, Feedback, LocationSelection, TorchState } from "scandit-datacapture-frameworks-core";

targetZoomFactorIn: number;
zoomFactorOut: number;
zoomFactorIn: number;
inactiveStateTimeout: number;
}
export interface SparkScanDefaults {
Feedback: {
success: Feedback;
error: Feedback;
success: {
visualFeedbackColor: Color;
brush: Brush;
feedbackDefault: Feedback;
};
error: {
visualFeedbackColor: Color;
brush: Brush;
feedbackDefault: Feedback;
};
};

@@ -46,2 +57,3 @@ SparkScanSettings: {

hapticModeButtonVisible: boolean;
previewSizeControlVisible: boolean;
stopCapturingText: string | null;

@@ -48,0 +60,0 @@ startCapturingText: string | null;

export * from "./SparkScan";
export * from "./SparkScanFeedback";
export * from "./SparkScanListener";
export * from "./SparkScanPreviewBehavior";
export * from "./SparkScanToastSettings";

@@ -17,3 +18,11 @@ export * from "./SparkScanScanningBehavior";

export * from "./SparkScanViewSettings";
export * from "./SparkScanViewUiListener";
export * from "./SparkScanView";
export * from "./SparkScanBarcodeFeedback";
export * from "./SparkScanBarcodeErrorFeedback";
export * from "./SparkScanBarcodeSuccessFeedback";
export * from "./SparkScanFeedbackDelegate";
export * from './controller/SparkScanViewController';
export * from "./controller/SparkScanListenerController";
export * from "./controller/SparkScanViewController";
export * from "./private/PrivateSparkScanView";
import { DefaultSerializeable } from "scandit-datacapture-frameworks-core";
import { SparkScanScanningBehavior } from "../SparkScanScanningBehavior";
import { SparkScanPreviewBehavior } from "../SparkScanPreviewBehavior";
export declare class PrivateSparkScanScanningModeSettings extends DefaultSerializeable {
private _scanningBehavior;
private _previewBehavior;
get scanningBehavior(): SparkScanScanningBehavior;
constructor(scanScanningBehavior: SparkScanScanningBehavior);
get previewBehavior(): SparkScanPreviewBehavior;
constructor(scanScanningBehavior: SparkScanScanningBehavior, scanPreviewBehavior: SparkScanPreviewBehavior);
}
import { DefaultSerializeable } from "scandit-datacapture-frameworks-core";
import { SparkScanScanningMode } from "./SparkScanScanningMode";
import { SparkScanScanningBehavior } from "./SparkScanScanningBehavior";
import { SparkScanPreviewBehavior } from "./SparkScanPreviewBehavior";
export declare class SparkScanScanningModeDefault extends DefaultSerializeable implements SparkScanScanningMode {

@@ -8,3 +9,4 @@ private type;

get scanningBehavior(): SparkScanScanningBehavior;
constructor(scanningBehavior: SparkScanScanningBehavior);
get previewBehavior(): SparkScanPreviewBehavior;
constructor(scanningBehavior: SparkScanScanningBehavior, previewBehavior?: SparkScanPreviewBehavior);
}
import { DefaultSerializeable } from "scandit-datacapture-frameworks-core";
import { SparkScanScanningMode } from "./SparkScanScanningMode";
import { SparkScanScanningBehavior } from "./SparkScanScanningBehavior";
import { SparkScanPreviewBehavior } from "./SparkScanPreviewBehavior";
export declare class SparkScanScanningModeTarget extends DefaultSerializeable implements SparkScanScanningMode {

@@ -8,3 +9,4 @@ private type;

get scanningBehavior(): SparkScanScanningBehavior;
constructor(scanningBehavior: SparkScanScanningBehavior);
get previewBehavior(): SparkScanPreviewBehavior;
constructor(scanningBehavior: SparkScanScanningBehavior, previewBehavior?: SparkScanPreviewBehavior);
}

@@ -11,2 +11,7 @@ import { Color, DefaultSerializeable } from "scandit-datacapture-frameworks-core";

private _cameraTimeoutMessage;
private _scanPausedMessage;
private _zoomedInMessage;
private _zoomedOutMessage;
private _torchEnabledMessage;
private _torchDisabledMessage;
set toastEnabled(isEnabled: boolean);

@@ -28,2 +33,12 @@ get toastEnabled(): boolean;

get cameraTimeoutMessage(): string | null;
set scanPausedMessage(message: string | null);
get scanPausedMessage(): string | null;
set zoomedInMessage(message: string | null);
get zoomedInMessage(): string | null;
set zoomedOutMessage(message: string | null);
get zoomedOutMessage(): string | null;
set torchEnabledMessage(message: string | null);
get torchEnabledMessage(): string | null;
set torchDisabledMessage(message: string | null);
get torchDisabledMessage(): string | null;
private static fromJSON;

@@ -30,0 +45,0 @@ }

@@ -21,2 +21,5 @@ import { DefaultSerializeable, TorchState } from "scandit-datacapture-frameworks-core";

targetZoomFactorIn: number;
zoomFactorOut: number;
zoomFactorIn: number;
inactiveStateTimeout: number;
private scanModeFromJSON;

@@ -23,0 +26,0 @@ private static get sparkScanDefaults();

@@ -31,3 +31,5 @@ export declare enum Symbology {

USPSIntelligentMail = "uspsIntelligentMail",
ArUco = "aruco"
ArUco = "aruco",
Upu4State = "upu-4state",
AustralianPost = "australian-post-4state"
}

@@ -24,4 +24,4 @@ import { DefaultSerializeable } from "scandit-datacapture-frameworks-core";

export interface PrivateSymbologySettings {
fromJSON: (json: any) => SymbologySettings;
fromJSON: (identifier: string, json: any) => SymbologySettings;
_symbology: Symbology;
}
{
"name": "scandit-datacapture-frameworks-barcode",
"version": "6.22.0",
"version": "6.23.0-beta.1",
"description": "Barcode common package",

@@ -20,4 +20,4 @@ "author": {

"dependencies": {
"scandit-datacapture-frameworks-core": "6.22.0"
"scandit-datacapture-frameworks-core": "6.23.0-beta.1"
}
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc