scandit-capacitor-datacapture-barcode 7.3.0 → 7.4.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ScanditCapacitorDatacaptureBarcode.podspec +1 -1
- package/android/build.gradle +1 -1
- package/android/src/main/java/com/scandit/capacitor/datacapture/barcode/ScanditBarcodeNative.kt +34 -12
- package/dist/barcode.js +319 -211
- package/dist/barcode.js.map +1 -1
- package/dist/dts/definitions.d.ts +0 -32
- package/dist/dts/ts/BarcodePickView.d.ts +0 -1
- package/dist/dts/ts/SparkScanView.d.ts +2 -0
- package/dist/index.js +172 -364
- package/dist/index.js.map +1 -1
- package/ios/Plugin/Plugin.m +12 -10
- package/ios/Plugin/ScanditBarcodeCapture.swift +49 -22
- package/package.json +5 -14
- package/dist/dts/ts/Capacitor/BarcodePickListenerProxy.d.ts +0 -14
- package/dist/dts/ts/Capacitor/BarcodePickProductProxy.d.ts +0 -11
- package/dist/dts/ts/Capacitor/BarcodePickViewProxy.d.ts +0 -44
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SymbologyDescription, BaseBarcodeCountView, BaseBarcodeBatchAdvancedOverlay, BaseBarcodeFindView, BaseSparkScanView,
|
|
1
|
+
import { SymbologyDescription, BaseBarcodeCountView, BaseBarcodeBatchAdvancedOverlay, BaseBarcodeFindView, BaseSparkScanView, BarcodeBatchAdvancedOverlayListenerEvents, BaseBarcodePickView, getBarcodeCountDefaults, loadBarcodeDefaults, loadBarcodeCaptureDefaults, loadBarcodeBatchDefaults, loadBarcodeSelectionDefaults, loadBarcodeCountDefaults, loadBarcodePickDefaults, loadBarcodeFindDefaults, loadSparkScanDefaults, getBarcodeDefaults, BarcodeSelectionListenerEvents, BarcodeSelectionBrushProviderEvents, BarcodeCountListenerEvents, BarcodeCountViewEvents, BarcodePickListenerEvents, BarcodePickProductIdentifierEvents, BarcodePickViewEvents, SparkScanViewEvents, ArucoDictionary, ArucoDictionaryPreset, Barcode, BatterySavingMode, Checksum, CompositeFlag, CompositeType, Dot, DotWithIcons, Symbology, SymbologySettings, BarcodeCapture, BarcodeCaptureSettings, BarcodeCaptureSession, BarcodeCaptureOverlay, BarcodeCaptureOverlayStyle, BarcodeCaptureFeedback, BarcodeSelection, BarcodeSelectionSettings, BarcodeSelectionAimerSelection, BarcodeSelectionAutoSelectionStrategy, BarcodeSelectionBasicOverlay, BarcodeSelectionBasicOverlayStyle, BarcodeSelectionFeedback, BarcodeSelectionFreezeBehavior, BarcodeSelectionManualSelectionStrategy, BarcodeSelectionSession, BarcodeSelectionTapBehavior, BarcodeSelectionTypeName, BarcodeSelectionTapSelection, BarcodeBatch, BarcodeBatchSession, BarcodeBatchScenario, BarcodeBatchSettings, TrackedBarcode, TargetBarcode, BarcodeBatchBasicOverlay, BarcodeBatchBasicOverlayStyle, EncodingRange, LocalizedOnlyBarcode, Range, BarcodeCount, BarcodeCountFeedback, BarcodeCountSession, BarcodeCountSettings, BarcodeCountViewStyle as BarcodeCountViewStyle$1, BarcodeCountCaptureList, BarcodeCountCaptureListSession, BarcodeCountToolbarSettings, BarcodeCountNotInListActionSettings, BarcodeFilterSettings, BarcodeFilterHighlightType, BarcodeFilterHighlightSettingsBrush, BarcodeFind, BarcodeFindFeedback, BarcodeFindItem, BarcodeFindItemContent, BarcodeFindItemSearchOptions, BarcodeFindSession, BarcodeFindSettings, BarcodeFindViewSettings, BarcodePick, BarcodePickActionCallback, BarcodePickState, BarcodePickSettings, BarcodePickProduct, BarcodePickProductProviderCallback, BarcodePickProductProviderCallbackItem, BarcodePickAsyncMapperProductProvider, BarcodePickStatusIconSettings, BarcodePickScanningSession, BarcodePickViewSettings, Rectangular, RectangularWithIcons, SparkScan, SparkScanMiniPreviewSize, SparkScanPreviewBehavior, SparkScanScanningBehavior, SparkScanScanningModeDefault, SparkScanScanningModeTarget, SparkScanSession, SparkScanSettings, SparkScanToastSettings, SparkScanViewState, SparkScanViewSettings, SparkScanBarcodeFeedback, SparkScanBarcodeSuccessFeedback, SparkScanBarcodeErrorFeedback, BarcodeGenerator, BarcodeGeneratorBuilder, Code39BarcodeGeneratorBuilder, Code128BarcodeGeneratorBuilder, Ean13BarcodeGeneratorBuilder, UpcaBarcodeGeneratorBuilder, InterleavedTwoOfFiveBarcodeGeneratorBuilder, QrCodeBarcodeGeneratorBuilder, DataMatrixBarcodeGeneratorBuilder, QrCodeErrorCorrectionLevel, AztecBarcodeGeneratorBuilder, BarcodeBatchListenerEvents, BarcodeBatchBasicOverlayListenerEvents, BarcodeFindListenerEvents, BarcodeFindViewEvents } from './barcode.js';
|
|
2
2
|
export { ArucoDictionary, ArucoDictionaryPreset, ArucoMarker, AztecBarcodeGeneratorBuilder, Barcode, BarcodeBatch, BarcodeBatchBasicOverlay, BarcodeBatchBasicOverlayStyle, BarcodeBatchScenario, BarcodeBatchSession, BarcodeBatchSettings, BarcodeCapture, BarcodeCaptureFeedback, BarcodeCaptureOverlay, BarcodeCaptureOverlayStyle, BarcodeCaptureSession, BarcodeCaptureSettings, BarcodeCount, BarcodeCountCaptureList, BarcodeCountCaptureListSession, BarcodeCountFeedback, BarcodeCountNotInListActionSettings, BarcodeCountSession, BarcodeCountSettings, BarcodeCountToolbarSettings, BarcodeCountViewStyle, BarcodeFilterHighlightSettingsBrush, BarcodeFilterHighlightType, BarcodeFilterSettings, BarcodeFind, BarcodeFindFeedback, BarcodeFindItem, BarcodeFindItemContent, BarcodeFindItemSearchOptions, BarcodeFindSettings, BarcodeFindViewSettings, BarcodeGenerator, BarcodeGeneratorBuilder, BarcodePick, BarcodePickActionCallback, BarcodePickAsyncMapperProductProvider, BarcodePickProduct, BarcodePickProductProviderCallback, BarcodePickProductProviderCallbackItem, BarcodePickScanningSession, BarcodePickSettings, BarcodePickState, BarcodePickStatusIconSettings, BarcodePickViewSettings, BarcodeSelection, BarcodeSelectionAimerSelection, BarcodeSelectionAutoSelectionStrategy, BarcodeSelectionBasicOverlay, BarcodeSelectionBasicOverlayStyle, BarcodeSelectionFeedback, BarcodeSelectionFreezeBehavior, BarcodeSelectionManualSelectionStrategy, BarcodeSelectionSession, BarcodeSelectionSettings, BarcodeSelectionTapBehavior, BarcodeSelectionTapSelection, BatterySavingMode, Checksum, Code128BarcodeGeneratorBuilder, Code39BarcodeGeneratorBuilder, CompositeFlag, CompositeType, DataMatrixBarcodeGeneratorBuilder, Dot, DotWithIcons, Ean13BarcodeGeneratorBuilder, EncodingRange, InterleavedTwoOfFiveBarcodeGeneratorBuilder, LocalizedOnlyBarcode, QrCodeBarcodeGeneratorBuilder, QrCodeErrorCorrectionLevel, Range, Rectangular, RectangularWithIcons, SparkScan, SparkScanBarcodeErrorFeedback, SparkScanBarcodeFeedback, SparkScanBarcodeSuccessFeedback, SparkScanMiniPreviewSize, SparkScanPreviewBehavior, SparkScanScanningBehavior, SparkScanScanningModeDefault, SparkScanScanningModeTarget, SparkScanSession, SparkScanSettings, SparkScanToastSettings, SparkScanViewSettings, SparkScanViewState, StructuredAppendData, Symbology, SymbologyDescription, SymbologySettings, TargetBarcode, TrackedBarcode, UpcaBarcodeGeneratorBuilder } from './barcode.js';
|
|
3
|
-
import { DefaultSerializeable, Size, HTMLElementState, HtmlElementPosition, HtmlElementSize, ignoreFromSerialization, FactoryMaker,
|
|
3
|
+
import { DefaultSerializeable, Size, HTMLElementState, HtmlElementPosition, HtmlElementSize, ignoreFromSerialization, BaseNativeProxy, FactoryMaker, createNativeProxy, createAdvancedNativeProxy, createAdvancedNativeFromCtorProxy, createAdvancedInstanceAwareNativeProxy, AdvancedNativeProxy } from 'scandit-capacitor-datacapture-core/dist/core';
|
|
4
4
|
import { CapacitorNativeCaller, capacitorExec, CapacitorCore } from 'scandit-capacitor-datacapture-core';
|
|
5
5
|
|
|
6
6
|
class TrackedBarcodeView extends DefaultSerializeable {
|
|
@@ -920,6 +920,12 @@ class SparkScanView {
|
|
|
920
920
|
set targetModeButtonVisible(newValue) {
|
|
921
921
|
this.baseSparkScanView.targetModeButtonVisible = newValue;
|
|
922
922
|
}
|
|
923
|
+
get labelCaptureButtonVisible() {
|
|
924
|
+
return this.baseSparkScanView.labelCaptureButtonVisible;
|
|
925
|
+
}
|
|
926
|
+
set labelCaptureButtonVisible(newValue) {
|
|
927
|
+
this.baseSparkScanView.labelCaptureButtonVisible = newValue;
|
|
928
|
+
}
|
|
923
929
|
/**
|
|
924
930
|
* @deprecated The trigger button no longer displays text.
|
|
925
931
|
*/
|
|
@@ -1111,151 +1117,6 @@ class SparkScanView {
|
|
|
1111
1117
|
}
|
|
1112
1118
|
}
|
|
1113
1119
|
|
|
1114
|
-
class BarcodePickView extends DefaultSerializeable {
|
|
1115
|
-
constructor(props) {
|
|
1116
|
-
super();
|
|
1117
|
-
this.htmlElement = null;
|
|
1118
|
-
this._htmlElementState = new HTMLElementState();
|
|
1119
|
-
this.domObserver = new MutationObserver(this.elementDidChange.bind(this));
|
|
1120
|
-
this.scrollListener = this.elementDidChange.bind(this);
|
|
1121
|
-
this.orientationChangeListener = (() => {
|
|
1122
|
-
this.elementDidChange();
|
|
1123
|
-
// SDC-1784 -> workaround because at the moment of this callback the element doesn't have the updated size.
|
|
1124
|
-
setTimeout(this.elementDidChange.bind(this), 100);
|
|
1125
|
-
setTimeout(this.elementDidChange.bind(this), 300);
|
|
1126
|
-
setTimeout(this.elementDidChange.bind(this), 1000);
|
|
1127
|
-
});
|
|
1128
|
-
this.baseBarcodePickView = new BaseBarcodePickView({
|
|
1129
|
-
context: props.context,
|
|
1130
|
-
barcodePick: props.barcodePick,
|
|
1131
|
-
settings: props.settings,
|
|
1132
|
-
cameraSettings: props.cameraSettings,
|
|
1133
|
-
autoCreateNativeView: false
|
|
1134
|
-
});
|
|
1135
|
-
this.viewProxy = FactoryMaker.getInstance('BarcodePickViewProxy');
|
|
1136
|
-
this.baseBarcodePickView.initialize(this);
|
|
1137
|
-
}
|
|
1138
|
-
get uiListener() {
|
|
1139
|
-
return this.baseBarcodePickView.uiListener;
|
|
1140
|
-
}
|
|
1141
|
-
set uiListener(value) {
|
|
1142
|
-
this.baseBarcodePickView.uiListener = value;
|
|
1143
|
-
}
|
|
1144
|
-
set htmlElementState(newState) {
|
|
1145
|
-
const didChangeShown = this._htmlElementState.isShown !== newState.isShown;
|
|
1146
|
-
const didChangePositionOrSize = this._htmlElementState.didChangeComparedTo(newState);
|
|
1147
|
-
this._htmlElementState = newState;
|
|
1148
|
-
if (didChangePositionOrSize) {
|
|
1149
|
-
this.updatePositionAndSize();
|
|
1150
|
-
}
|
|
1151
|
-
if (didChangeShown) {
|
|
1152
|
-
if (this._htmlElementState.isShown) {
|
|
1153
|
-
this.start();
|
|
1154
|
-
}
|
|
1155
|
-
else {
|
|
1156
|
-
this.stop();
|
|
1157
|
-
}
|
|
1158
|
-
}
|
|
1159
|
-
}
|
|
1160
|
-
get htmlElementState() {
|
|
1161
|
-
return this._htmlElementState;
|
|
1162
|
-
}
|
|
1163
|
-
connectToElement(element) {
|
|
1164
|
-
this.baseBarcodePickView.createNativeView().then(() => {
|
|
1165
|
-
this.htmlElement = element;
|
|
1166
|
-
this.htmlElementState = new HTMLElementState();
|
|
1167
|
-
// Initial update
|
|
1168
|
-
this.elementDidChange();
|
|
1169
|
-
this.subscribeToChangesOnHTMLElement();
|
|
1170
|
-
});
|
|
1171
|
-
}
|
|
1172
|
-
detachFromElement() {
|
|
1173
|
-
this.baseBarcodePickView.removeNativeView().then(() => {
|
|
1174
|
-
this.unsubscribeFromChangesOnHTMLElement();
|
|
1175
|
-
this.htmlElement = null;
|
|
1176
|
-
this.elementDidChange();
|
|
1177
|
-
});
|
|
1178
|
-
}
|
|
1179
|
-
subscribeToChangesOnHTMLElement() {
|
|
1180
|
-
this.domObserver.observe(document, { attributes: true, childList: true, subtree: true });
|
|
1181
|
-
window.addEventListener('scroll', this.scrollListener);
|
|
1182
|
-
window.addEventListener('orientationchange', this.orientationChangeListener);
|
|
1183
|
-
}
|
|
1184
|
-
unsubscribeFromChangesOnHTMLElement() {
|
|
1185
|
-
this.domObserver.disconnect();
|
|
1186
|
-
window.removeEventListener('scroll', this.scrollListener);
|
|
1187
|
-
window.removeEventListener('orientationchange', this.orientationChangeListener);
|
|
1188
|
-
}
|
|
1189
|
-
elementDidChange() {
|
|
1190
|
-
if (!this.htmlElement) {
|
|
1191
|
-
this.htmlElementState = new HTMLElementState();
|
|
1192
|
-
return;
|
|
1193
|
-
}
|
|
1194
|
-
const newState = new HTMLElementState();
|
|
1195
|
-
const boundingRect = this.htmlElement.getBoundingClientRect();
|
|
1196
|
-
newState.position = new HtmlElementPosition(boundingRect.top, boundingRect.left);
|
|
1197
|
-
newState.size = new HtmlElementSize(boundingRect.width, boundingRect.height);
|
|
1198
|
-
newState.shouldBeUnderContent = parseInt(this.htmlElement.style.zIndex || '1', 10) < 0
|
|
1199
|
-
|| parseInt(getComputedStyle(this.htmlElement).zIndex || '1', 10) < 0;
|
|
1200
|
-
const isDisplayed = getComputedStyle(this.htmlElement).display !== 'none'
|
|
1201
|
-
&& this.htmlElement.style.display !== 'none';
|
|
1202
|
-
const isInDOM = document.body.contains(this.htmlElement);
|
|
1203
|
-
newState.isShown = isDisplayed && isInDOM && !this.htmlElement.hidden;
|
|
1204
|
-
this.htmlElementState = newState;
|
|
1205
|
-
}
|
|
1206
|
-
updatePositionAndSize() {
|
|
1207
|
-
if (!this.htmlElementState || !this.htmlElementState.isValid) {
|
|
1208
|
-
return;
|
|
1209
|
-
}
|
|
1210
|
-
this.viewProxy.setPositionAndSize(this.htmlElementState.position.top, this.htmlElementState.position.left, this.htmlElementState.size.width, this.htmlElementState.size.height, this.htmlElementState.shouldBeUnderContent);
|
|
1211
|
-
}
|
|
1212
|
-
start() {
|
|
1213
|
-
this.baseBarcodePickView.start();
|
|
1214
|
-
}
|
|
1215
|
-
stop() {
|
|
1216
|
-
this.baseBarcodePickView.stop();
|
|
1217
|
-
}
|
|
1218
|
-
freeze() {
|
|
1219
|
-
this.baseBarcodePickView.freeze();
|
|
1220
|
-
}
|
|
1221
|
-
addListener(listener) {
|
|
1222
|
-
this.baseBarcodePickView.addListener(listener);
|
|
1223
|
-
}
|
|
1224
|
-
removeListener(listener) {
|
|
1225
|
-
this.baseBarcodePickView.removeListener(listener);
|
|
1226
|
-
}
|
|
1227
|
-
addActionListener(listener) {
|
|
1228
|
-
this.baseBarcodePickView.addActionListener(listener);
|
|
1229
|
-
}
|
|
1230
|
-
removeActionListener(listener) {
|
|
1231
|
-
this.baseBarcodePickView.removeActionListener(listener);
|
|
1232
|
-
}
|
|
1233
|
-
release() {
|
|
1234
|
-
this.baseBarcodePickView.dispose();
|
|
1235
|
-
}
|
|
1236
|
-
}
|
|
1237
|
-
__decorate([
|
|
1238
|
-
ignoreFromSerialization
|
|
1239
|
-
], BarcodePickView.prototype, "baseBarcodePickView", void 0);
|
|
1240
|
-
__decorate([
|
|
1241
|
-
ignoreFromSerialization
|
|
1242
|
-
], BarcodePickView.prototype, "viewProxy", void 0);
|
|
1243
|
-
__decorate([
|
|
1244
|
-
ignoreFromSerialization
|
|
1245
|
-
], BarcodePickView.prototype, "htmlElement", void 0);
|
|
1246
|
-
__decorate([
|
|
1247
|
-
ignoreFromSerialization
|
|
1248
|
-
], BarcodePickView.prototype, "_htmlElementState", void 0);
|
|
1249
|
-
__decorate([
|
|
1250
|
-
ignoreFromSerialization
|
|
1251
|
-
], BarcodePickView.prototype, "domObserver", void 0);
|
|
1252
|
-
__decorate([
|
|
1253
|
-
ignoreFromSerialization
|
|
1254
|
-
], BarcodePickView.prototype, "scrollListener", void 0);
|
|
1255
|
-
__decorate([
|
|
1256
|
-
ignoreFromSerialization
|
|
1257
|
-
], BarcodePickView.prototype, "orientationChangeListener", void 0);
|
|
1258
|
-
|
|
1259
1120
|
/*! Capacitor: https://capacitorjs.com/ - MIT License */
|
|
1260
1121
|
const createCapacitorPlatforms = (win) => {
|
|
1261
1122
|
const defaultPlatformMap = new Map();
|
|
@@ -2170,178 +2031,6 @@ class NativeBarcodeBatchBasicOverlayProxy {
|
|
|
2170
2031
|
}
|
|
2171
2032
|
NativeBarcodeBatchBasicOverlayProxy.capacitorExec = Capacitor.exec;
|
|
2172
2033
|
|
|
2173
|
-
class NativeBarcodePickProductProxy extends BaseNativeProxy {
|
|
2174
|
-
constructor() {
|
|
2175
|
-
super();
|
|
2176
|
-
this.eventEmitter = FactoryMaker.getInstance('EventEmitter');
|
|
2177
|
-
this.productIdentifierForItemsListenerHandler = this.productIdentifierForItemsListenerHandler.bind(this);
|
|
2178
|
-
}
|
|
2179
|
-
finishOnProductIdentifierForItems(jsonData) {
|
|
2180
|
-
return ScanditBarcodePickPluginNative.finishOnProductIdentifierForItems({ itemsJson: jsonData });
|
|
2181
|
-
}
|
|
2182
|
-
subscribeProductIdentifierForItemsListener() {
|
|
2183
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2184
|
-
this.productIdentifierForItemsListenerHandle = yield window.Capacitor.Plugins[Capacitor.pluginName]
|
|
2185
|
-
.addListener(BarcodePickEvents.OnProductIdentifierForItems, this.productIdentifierForItemsListenerHandler);
|
|
2186
|
-
});
|
|
2187
|
-
}
|
|
2188
|
-
unsubscribeListeners() {
|
|
2189
|
-
this.productIdentifierForItemsListenerHandle.remove();
|
|
2190
|
-
}
|
|
2191
|
-
productIdentifierForItemsListenerHandler(event) {
|
|
2192
|
-
this.eventEmitter.emit(BarcodePickEvents.OnProductIdentifierForItems, event.data);
|
|
2193
|
-
}
|
|
2194
|
-
}
|
|
2195
|
-
|
|
2196
|
-
class NativeBarcodePickViewProxy extends BaseNativeProxy {
|
|
2197
|
-
constructor() {
|
|
2198
|
-
super();
|
|
2199
|
-
this.eventEmitter = FactoryMaker.getInstance('EventEmitter');
|
|
2200
|
-
this.didPickItemListenerHandler = this.didPickItemListenerHandler.bind(this);
|
|
2201
|
-
this.didUnpickItemListenerHandler = this.didUnpickItemListenerHandler.bind(this);
|
|
2202
|
-
this.didStartScanningListenerHandler = this.didStartScanningListenerHandler.bind(this);
|
|
2203
|
-
this.didFreezeScanningListenerHandler = this.didFreezeScanningListenerHandler.bind(this);
|
|
2204
|
-
this.didPauseScanningListenerHandler = this.didPauseScanningListenerHandler.bind(this);
|
|
2205
|
-
this.didStopScanningListenerHandler = this.didStopScanningListenerHandler.bind(this);
|
|
2206
|
-
this.viewUiListenerHandler = this.viewUiListenerHandler.bind(this);
|
|
2207
|
-
}
|
|
2208
|
-
registerFrameworkEvents() {
|
|
2209
|
-
this.addViewListener();
|
|
2210
|
-
this.subscribeDidPickItemListener();
|
|
2211
|
-
this.subscribeDidUnpickItemListener();
|
|
2212
|
-
}
|
|
2213
|
-
addViewListener() {
|
|
2214
|
-
this.subscribeDidStartScanningListener();
|
|
2215
|
-
this.subscribeDidFreezeScanningListener();
|
|
2216
|
-
this.subscribeDidPauseScanningListener();
|
|
2217
|
-
this.subscribeDidStopScanningListener();
|
|
2218
|
-
ScanditBarcodePickPluginNative.addViewListener();
|
|
2219
|
-
}
|
|
2220
|
-
unregisterFrameworkEvents() {
|
|
2221
|
-
this.unsubscribeListeners();
|
|
2222
|
-
}
|
|
2223
|
-
findNodeHandle(_view) {
|
|
2224
|
-
// This is only needed on React Native, will be removed from Capacitor in a future refactor.
|
|
2225
|
-
return null;
|
|
2226
|
-
}
|
|
2227
|
-
viewStart() {
|
|
2228
|
-
return ScanditBarcodePickPluginNative.viewStart();
|
|
2229
|
-
}
|
|
2230
|
-
viewPause() {
|
|
2231
|
-
// NOOP in Capacitor: Android lifecycle is handled automatically in the plugin
|
|
2232
|
-
return Promise.resolve();
|
|
2233
|
-
}
|
|
2234
|
-
viewResume() {
|
|
2235
|
-
// NOOP in Capacitor: Android lifecycle is handled automatically in the plugin
|
|
2236
|
-
return Promise.resolve();
|
|
2237
|
-
}
|
|
2238
|
-
viewStop() {
|
|
2239
|
-
return ScanditBarcodePickPluginNative.pickViewStop();
|
|
2240
|
-
}
|
|
2241
|
-
viewFreeze() {
|
|
2242
|
-
return ScanditBarcodePickPluginNative.viewFreeze();
|
|
2243
|
-
}
|
|
2244
|
-
finishPickAction(code, result) {
|
|
2245
|
-
return ScanditBarcodePickPluginNative.finishPickAction({ code: code, result: result });
|
|
2246
|
-
}
|
|
2247
|
-
createView(_, json) {
|
|
2248
|
-
return ScanditBarcodePickPluginNative.createPickView({ json: json });
|
|
2249
|
-
}
|
|
2250
|
-
removeView() {
|
|
2251
|
-
return ScanditBarcodePickPluginNative.removePickView();
|
|
2252
|
-
}
|
|
2253
|
-
updateView(json) {
|
|
2254
|
-
return ScanditBarcodePickPluginNative.updatePickView({ json: json });
|
|
2255
|
-
}
|
|
2256
|
-
setPositionAndSize(top, left, width, height, shouldBeUnderWebView) {
|
|
2257
|
-
return ScanditBarcodePickPluginNative.setPickViewPositionAndSize({ position: { top, left, width, height, shouldBeUnderWebView } });
|
|
2258
|
-
}
|
|
2259
|
-
addActionListener() {
|
|
2260
|
-
return ScanditBarcodePickPluginNative.addActionListener();
|
|
2261
|
-
}
|
|
2262
|
-
unsubscribeListeners() {
|
|
2263
|
-
this.didPickItemListenerHandle.remove();
|
|
2264
|
-
this.didUnpickItemListenerHandle.remove();
|
|
2265
|
-
this.didStartScanningListenerHandle.remove();
|
|
2266
|
-
this.didFreezeScanningListenerHandle.remove();
|
|
2267
|
-
this.didPauseScanningListenerHandle.remove();
|
|
2268
|
-
this.didStopScanningListenerHandle.remove();
|
|
2269
|
-
this.unsubscribeBarcodePickViewUiListener();
|
|
2270
|
-
ScanditBarcodePickPluginNative.removeViewListener();
|
|
2271
|
-
return ScanditBarcodePickPluginNative.removeActionListener();
|
|
2272
|
-
}
|
|
2273
|
-
subscribeDidPickItemListener() {
|
|
2274
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2275
|
-
this.didPickItemListenerHandle = yield window.Capacitor.Plugins[Capacitor.pluginName]
|
|
2276
|
-
.addListener(BarcodePickEvents.DidPick, this.didPickItemListenerHandler);
|
|
2277
|
-
});
|
|
2278
|
-
}
|
|
2279
|
-
subscribeDidUnpickItemListener() {
|
|
2280
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2281
|
-
this.didUnpickItemListenerHandle = yield window.Capacitor.Plugins[Capacitor.pluginName]
|
|
2282
|
-
.addListener(BarcodePickEvents.DidUnpick, this.didUnpickItemListenerHandler);
|
|
2283
|
-
});
|
|
2284
|
-
}
|
|
2285
|
-
subscribeBarcodePickViewUiListener() {
|
|
2286
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2287
|
-
this.viewUiListenerHandle = yield window.Capacitor.Plugins[Capacitor.pluginName]
|
|
2288
|
-
.addListener(BarcodePickViewUiListenerEvents.DidTapFinishButton, this.viewUiListenerHandler);
|
|
2289
|
-
return ScanditBarcodePickPluginNative.registerBarcodePickViewUiListener();
|
|
2290
|
-
});
|
|
2291
|
-
}
|
|
2292
|
-
unsubscribeBarcodePickViewUiListener() {
|
|
2293
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2294
|
-
this.viewUiListenerHandle.remove();
|
|
2295
|
-
return ScanditBarcodePickPluginNative.unregisterBarcodePickViewUiListener();
|
|
2296
|
-
});
|
|
2297
|
-
}
|
|
2298
|
-
subscribeDidStartScanningListener() {
|
|
2299
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2300
|
-
this.didStartScanningListenerHandle = yield window.Capacitor.Plugins[Capacitor.pluginName]
|
|
2301
|
-
.addListener(BarcodePickViewListenerEvents.DidStartScanning, this.didStartScanningListenerHandler);
|
|
2302
|
-
});
|
|
2303
|
-
}
|
|
2304
|
-
subscribeDidFreezeScanningListener() {
|
|
2305
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2306
|
-
this.didFreezeScanningListenerHandle = yield window.Capacitor.Plugins[Capacitor.pluginName]
|
|
2307
|
-
.addListener(BarcodePickViewListenerEvents.DidFreezeScanning, this.didFreezeScanningListenerHandler);
|
|
2308
|
-
});
|
|
2309
|
-
}
|
|
2310
|
-
subscribeDidPauseScanningListener() {
|
|
2311
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2312
|
-
this.didPauseScanningListenerHandle = yield window.Capacitor.Plugins[Capacitor.pluginName]
|
|
2313
|
-
.addListener(BarcodePickViewListenerEvents.DidPauseScanning, this.didPauseScanningListenerHandler);
|
|
2314
|
-
});
|
|
2315
|
-
}
|
|
2316
|
-
subscribeDidStopScanningListener() {
|
|
2317
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2318
|
-
this.didStopScanningListenerHandle = yield window.Capacitor.Plugins[Capacitor.pluginName]
|
|
2319
|
-
.addListener(BarcodePickViewListenerEvents.DidStopScanning, this.didStopScanningListenerHandler);
|
|
2320
|
-
});
|
|
2321
|
-
}
|
|
2322
|
-
didPickItemListenerHandler(event) {
|
|
2323
|
-
this.eventEmitter.emit(BarcodePickEvents.DidPick, event.data);
|
|
2324
|
-
}
|
|
2325
|
-
didUnpickItemListenerHandler(event) {
|
|
2326
|
-
this.eventEmitter.emit(BarcodePickEvents.DidUnpick, event.data);
|
|
2327
|
-
}
|
|
2328
|
-
viewUiListenerHandler(event) {
|
|
2329
|
-
this.eventEmitter.emit(BarcodePickViewUiListenerEvents.DidTapFinishButton, event.data);
|
|
2330
|
-
}
|
|
2331
|
-
didStartScanningListenerHandler(event) {
|
|
2332
|
-
this.eventEmitter.emit(BarcodePickViewListenerEvents.DidStartScanning, event.data);
|
|
2333
|
-
}
|
|
2334
|
-
didFreezeScanningListenerHandler(event) {
|
|
2335
|
-
this.eventEmitter.emit(BarcodePickViewListenerEvents.DidFreezeScanning, event.data);
|
|
2336
|
-
}
|
|
2337
|
-
didPauseScanningListenerHandler(event) {
|
|
2338
|
-
this.eventEmitter.emit(BarcodePickViewListenerEvents.DidPauseScanning, event.data);
|
|
2339
|
-
}
|
|
2340
|
-
didStopScanningListenerHandler(event) {
|
|
2341
|
-
this.eventEmitter.emit(BarcodePickViewListenerEvents.DidStopScanning, event.data);
|
|
2342
|
-
}
|
|
2343
|
-
}
|
|
2344
|
-
|
|
2345
2034
|
class NativeBarcodeFindListenerProxy extends BaseNativeProxy {
|
|
2346
2035
|
constructor() {
|
|
2347
2036
|
super(...arguments);
|
|
@@ -2382,7 +2071,9 @@ class NativeBarcodeFindListenerProxy extends BaseNativeProxy {
|
|
|
2382
2071
|
.addListener(BarcodeFindListenerEvents.onSearchPausedEvent, this.notifyListeners.bind(this));
|
|
2383
2072
|
const onSearchStoppedSubscription = window.Capacitor.Plugins[Capacitor.pluginName]
|
|
2384
2073
|
.addListener(BarcodeFindListenerEvents.onSearchStoppedEvent, this.notifyListeners.bind(this));
|
|
2385
|
-
|
|
2074
|
+
const onDidUpdateSessionSubscription = window.Capacitor.Plugins[Capacitor.pluginName]
|
|
2075
|
+
.addListener(BarcodeFindListenerEvents.didUpdateSession, this.notifyListeners.bind(this));
|
|
2076
|
+
this.nativeEventSubscriptions.push(onSearchStartedSubscription, onSearchPausedSubscription, onSearchStoppedSubscription, onDidUpdateSessionSubscription);
|
|
2386
2077
|
return ScanditBarcodeFindPluginNative.registerBarcodeFindListener();
|
|
2387
2078
|
}
|
|
2388
2079
|
unsubscribeBarcodeFindListener() {
|
|
@@ -2467,43 +2158,6 @@ class NativeBarcodeFindViewProxy extends BaseNativeProxy {
|
|
|
2467
2158
|
}
|
|
2468
2159
|
}
|
|
2469
2160
|
|
|
2470
|
-
class NativeBarcodePickListenerProxy extends BaseNativeProxy {
|
|
2471
|
-
constructor() {
|
|
2472
|
-
super();
|
|
2473
|
-
this.eventEmitter = FactoryMaker.getInstance('EventEmitter');
|
|
2474
|
-
this.didCompleteScanningSessionListenerHandler = this.didCompleteScanningSessionListenerHandler.bind(this);
|
|
2475
|
-
this.didUpdateScanningSessionListenerHandler = this.didUpdateScanningSessionListenerHandler.bind(this);
|
|
2476
|
-
}
|
|
2477
|
-
subscribeBarcodePickListeners() {
|
|
2478
|
-
ScanditBarcodePickPluginNative.addScanningListener();
|
|
2479
|
-
this.subscribeDidCompleteScanningSessionListener();
|
|
2480
|
-
this.subscribeDidUpdateScanningSessionListener();
|
|
2481
|
-
}
|
|
2482
|
-
unsubscribeBarcodePickListeners() {
|
|
2483
|
-
this.didCompleteScanningSessionListenerHandle.remove();
|
|
2484
|
-
this.didUpdateScanningSessionListenerHandle.remove();
|
|
2485
|
-
ScanditBarcodePickPluginNative.removeScanningListener();
|
|
2486
|
-
}
|
|
2487
|
-
subscribeDidCompleteScanningSessionListener() {
|
|
2488
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2489
|
-
this.didCompleteScanningSessionListenerHandle = yield window.Capacitor.Plugins[Capacitor.pluginName]
|
|
2490
|
-
.addListener(BarcodePickListenerEvents.DidCompleteScanningSession, this.didCompleteScanningSessionListenerHandler);
|
|
2491
|
-
});
|
|
2492
|
-
}
|
|
2493
|
-
subscribeDidUpdateScanningSessionListener() {
|
|
2494
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2495
|
-
this.didUpdateScanningSessionListenerHandle = yield window.Capacitor.Plugins[Capacitor.pluginName]
|
|
2496
|
-
.addListener(BarcodePickListenerEvents.DidUpdateScanningSession, this.didUpdateScanningSessionListenerHandler);
|
|
2497
|
-
});
|
|
2498
|
-
}
|
|
2499
|
-
didCompleteScanningSessionListenerHandler(event) {
|
|
2500
|
-
this.eventEmitter.emit(BarcodePickListenerEvents.DidCompleteScanningSession, event.data);
|
|
2501
|
-
}
|
|
2502
|
-
didUpdateScanningSessionListenerHandler(event) {
|
|
2503
|
-
this.eventEmitter.emit(BarcodePickListenerEvents.DidUpdateScanningSession, event.data);
|
|
2504
|
-
}
|
|
2505
|
-
}
|
|
2506
|
-
|
|
2507
2161
|
class NativeBarcodeGeneratorProxy {
|
|
2508
2162
|
create(barcodeGeneratorJson) {
|
|
2509
2163
|
return window.Capacitor.Plugins[Capacitor.pluginName][CapacitorFunction.CreateBarcodeGenerator]({
|
|
@@ -2543,7 +2197,7 @@ class NativeBarcodeCountViewProxy extends AdvancedNativeProxy {
|
|
|
2543
2197
|
|
|
2544
2198
|
function initBarcodeProxy() {
|
|
2545
2199
|
FactoryMaker.bindLazyInstance('BarcodeCaptureListenerProxy', () => {
|
|
2546
|
-
return
|
|
2200
|
+
return createNativeProxy(capacitorBarcodeNativeCaller);
|
|
2547
2201
|
});
|
|
2548
2202
|
FactoryMaker.bindInstance('BarcodeBatchListenerProxy', new NativeBarcodeBatchListenerProxy());
|
|
2549
2203
|
FactoryMaker.bindInstance('BarcodeBatchBasicOverlayProxy', new NativeBarcodeBatchBasicOverlayProxy());
|
|
@@ -2566,9 +2220,15 @@ function initBarcodeProxy() {
|
|
|
2566
2220
|
FactoryMaker.bindLazyInstance('BarcodeCountViewProxy', () => {
|
|
2567
2221
|
return createAdvancedNativeFromCtorProxy(NativeBarcodeCountViewProxy, capacitorBarcodeNativeCaller, BarcodeCountViewEvents);
|
|
2568
2222
|
});
|
|
2569
|
-
FactoryMaker.
|
|
2570
|
-
|
|
2571
|
-
|
|
2223
|
+
FactoryMaker.bindLazyInstance('BarcodePickListenerProxy', () => {
|
|
2224
|
+
return createAdvancedNativeProxy(capacitorBarcodeNativeCaller, BarcodePickListenerEvents);
|
|
2225
|
+
});
|
|
2226
|
+
FactoryMaker.bindLazyInstance('BarcodePickProductProxy', () => {
|
|
2227
|
+
return createAdvancedNativeProxy(capacitorBarcodeNativeCaller, BarcodePickProductIdentifierEvents);
|
|
2228
|
+
});
|
|
2229
|
+
FactoryMaker.bindLazyInstance('BarcodePickViewProxy', () => {
|
|
2230
|
+
return createAdvancedNativeProxy(capacitorBarcodeNativeCaller, BarcodePickViewEvents);
|
|
2231
|
+
});
|
|
2572
2232
|
FactoryMaker.bindInstance('BarcodeFindProxy', new NativeBarcodeFindListenerProxy());
|
|
2573
2233
|
FactoryMaker.bindInstance('BarcodeFindViewProxy', new NativeBarcodeFindViewProxy());
|
|
2574
2234
|
FactoryMaker.bindLazyInstance('SparkScanViewProxy', () => {
|
|
@@ -2647,23 +2307,24 @@ class ScanditBarcodePluginImplementation {
|
|
|
2647
2307
|
BarcodeFindItem,
|
|
2648
2308
|
BarcodeFindItemContent,
|
|
2649
2309
|
BarcodeFindItemSearchOptions,
|
|
2310
|
+
BarcodeFindSession,
|
|
2650
2311
|
BarcodeFindSettings,
|
|
2651
2312
|
BarcodeFindViewSettings,
|
|
2652
2313
|
BarcodeFindView,
|
|
2653
2314
|
BarcodePick,
|
|
2654
2315
|
BarcodePickActionCallback,
|
|
2655
|
-
|
|
2316
|
+
BarcodePickListenerEvents,
|
|
2656
2317
|
BarcodePickState,
|
|
2657
2318
|
BarcodePickSettings,
|
|
2658
2319
|
BarcodePickProduct,
|
|
2320
|
+
BarcodePickProductIdentifierEvents,
|
|
2659
2321
|
BarcodePickProductProviderCallback,
|
|
2660
2322
|
BarcodePickProductProviderCallbackItem,
|
|
2661
2323
|
BarcodePickAsyncMapperProductProvider,
|
|
2662
2324
|
BarcodePickStatusIconSettings,
|
|
2663
2325
|
BarcodePickScanningSession,
|
|
2664
|
-
|
|
2326
|
+
BarcodePickViewEvents,
|
|
2665
2327
|
BarcodePickViewSettings,
|
|
2666
|
-
BarcodePickViewUiListenerEvents,
|
|
2667
2328
|
Rectangular,
|
|
2668
2329
|
RectangularWithIcons,
|
|
2669
2330
|
SparkScan,
|
|
@@ -2709,4 +2370,151 @@ const ScanditBarcodeCountPluginNative = registerPlugin('ScanditBarcodeNative');
|
|
|
2709
2370
|
const ScanditBarcodePickPluginNative = registerPlugin('ScanditBarcodeNative');
|
|
2710
2371
|
const ScanditBarcodeFindPluginNative = registerPlugin('ScanditBarcodeNative');
|
|
2711
2372
|
|
|
2373
|
+
class BarcodePickView extends DefaultSerializeable {
|
|
2374
|
+
constructor(props) {
|
|
2375
|
+
super();
|
|
2376
|
+
this.htmlElement = null;
|
|
2377
|
+
this._htmlElementState = new HTMLElementState();
|
|
2378
|
+
this.domObserver = new MutationObserver(this.elementDidChange.bind(this));
|
|
2379
|
+
this.scrollListener = this.elementDidChange.bind(this);
|
|
2380
|
+
this.orientationChangeListener = (() => {
|
|
2381
|
+
this.elementDidChange();
|
|
2382
|
+
// SDC-1784 -> workaround because at the moment of this callback the element doesn't have the updated size.
|
|
2383
|
+
setTimeout(this.elementDidChange.bind(this), 100);
|
|
2384
|
+
setTimeout(this.elementDidChange.bind(this), 300);
|
|
2385
|
+
setTimeout(this.elementDidChange.bind(this), 1000);
|
|
2386
|
+
});
|
|
2387
|
+
this.baseBarcodePickView = new BaseBarcodePickView({
|
|
2388
|
+
context: props.context,
|
|
2389
|
+
barcodePick: props.barcodePick,
|
|
2390
|
+
settings: props.settings,
|
|
2391
|
+
cameraSettings: props.cameraSettings,
|
|
2392
|
+
autoCreateNativeView: false
|
|
2393
|
+
});
|
|
2394
|
+
this.baseBarcodePickView.initialize(this);
|
|
2395
|
+
}
|
|
2396
|
+
get uiListener() {
|
|
2397
|
+
return this.baseBarcodePickView.uiListener;
|
|
2398
|
+
}
|
|
2399
|
+
set uiListener(value) {
|
|
2400
|
+
this.baseBarcodePickView.uiListener = value;
|
|
2401
|
+
}
|
|
2402
|
+
set htmlElementState(newState) {
|
|
2403
|
+
const didChangeShown = this._htmlElementState.isShown !== newState.isShown;
|
|
2404
|
+
const didChangePositionOrSize = this._htmlElementState.didChangeComparedTo(newState);
|
|
2405
|
+
this._htmlElementState = newState;
|
|
2406
|
+
if (didChangePositionOrSize) {
|
|
2407
|
+
this.updatePositionAndSize();
|
|
2408
|
+
}
|
|
2409
|
+
if (didChangeShown) {
|
|
2410
|
+
if (this._htmlElementState.isShown) {
|
|
2411
|
+
this.start();
|
|
2412
|
+
}
|
|
2413
|
+
else {
|
|
2414
|
+
this.stop();
|
|
2415
|
+
}
|
|
2416
|
+
}
|
|
2417
|
+
}
|
|
2418
|
+
get htmlElementState() {
|
|
2419
|
+
return this._htmlElementState;
|
|
2420
|
+
}
|
|
2421
|
+
connectToElement(element) {
|
|
2422
|
+
this.baseBarcodePickView.createNativeView().then(() => {
|
|
2423
|
+
this.htmlElement = element;
|
|
2424
|
+
this.htmlElementState = new HTMLElementState();
|
|
2425
|
+
// Initial update
|
|
2426
|
+
this.elementDidChange();
|
|
2427
|
+
this.subscribeToChangesOnHTMLElement();
|
|
2428
|
+
});
|
|
2429
|
+
}
|
|
2430
|
+
detachFromElement() {
|
|
2431
|
+
this.baseBarcodePickView.removeNativeView().then(() => {
|
|
2432
|
+
this.unsubscribeFromChangesOnHTMLElement();
|
|
2433
|
+
this.htmlElement = null;
|
|
2434
|
+
this.elementDidChange();
|
|
2435
|
+
});
|
|
2436
|
+
}
|
|
2437
|
+
subscribeToChangesOnHTMLElement() {
|
|
2438
|
+
this.domObserver.observe(document, { attributes: true, childList: true, subtree: true });
|
|
2439
|
+
window.addEventListener('scroll', this.scrollListener);
|
|
2440
|
+
window.addEventListener('orientationchange', this.orientationChangeListener);
|
|
2441
|
+
}
|
|
2442
|
+
unsubscribeFromChangesOnHTMLElement() {
|
|
2443
|
+
this.domObserver.disconnect();
|
|
2444
|
+
window.removeEventListener('scroll', this.scrollListener);
|
|
2445
|
+
window.removeEventListener('orientationchange', this.orientationChangeListener);
|
|
2446
|
+
}
|
|
2447
|
+
elementDidChange() {
|
|
2448
|
+
if (!this.htmlElement) {
|
|
2449
|
+
this.htmlElementState = new HTMLElementState();
|
|
2450
|
+
return;
|
|
2451
|
+
}
|
|
2452
|
+
const newState = new HTMLElementState();
|
|
2453
|
+
const boundingRect = this.htmlElement.getBoundingClientRect();
|
|
2454
|
+
newState.position = new HtmlElementPosition(boundingRect.top, boundingRect.left);
|
|
2455
|
+
newState.size = new HtmlElementSize(boundingRect.width, boundingRect.height);
|
|
2456
|
+
newState.shouldBeUnderContent = parseInt(this.htmlElement.style.zIndex || '1', 10) < 0
|
|
2457
|
+
|| parseInt(getComputedStyle(this.htmlElement).zIndex || '1', 10) < 0;
|
|
2458
|
+
const isDisplayed = getComputedStyle(this.htmlElement).display !== 'none'
|
|
2459
|
+
&& this.htmlElement.style.display !== 'none';
|
|
2460
|
+
const isInDOM = document.body.contains(this.htmlElement);
|
|
2461
|
+
newState.isShown = isDisplayed && isInDOM && !this.htmlElement.hidden;
|
|
2462
|
+
this.htmlElementState = newState;
|
|
2463
|
+
}
|
|
2464
|
+
updatePositionAndSize() {
|
|
2465
|
+
if (!this.htmlElementState || !this.htmlElementState.isValid) {
|
|
2466
|
+
return;
|
|
2467
|
+
}
|
|
2468
|
+
ScanditBarcodePickPluginNative.setPickViewPositionAndSize({
|
|
2469
|
+
top: this.htmlElementState.position.top,
|
|
2470
|
+
left: this.htmlElementState.position.left,
|
|
2471
|
+
width: this.htmlElementState.size.width,
|
|
2472
|
+
height: this.htmlElementState.size.height,
|
|
2473
|
+
shouldBeUnderContent: this.htmlElementState.shouldBeUnderContent,
|
|
2474
|
+
});
|
|
2475
|
+
}
|
|
2476
|
+
start() {
|
|
2477
|
+
this.baseBarcodePickView.start();
|
|
2478
|
+
}
|
|
2479
|
+
stop() {
|
|
2480
|
+
this.baseBarcodePickView.stop();
|
|
2481
|
+
}
|
|
2482
|
+
freeze() {
|
|
2483
|
+
this.baseBarcodePickView.freeze();
|
|
2484
|
+
}
|
|
2485
|
+
addListener(listener) {
|
|
2486
|
+
this.baseBarcodePickView.addListener(listener);
|
|
2487
|
+
}
|
|
2488
|
+
removeListener(listener) {
|
|
2489
|
+
this.baseBarcodePickView.removeListener(listener);
|
|
2490
|
+
}
|
|
2491
|
+
addActionListener(listener) {
|
|
2492
|
+
this.baseBarcodePickView.addActionListener(listener);
|
|
2493
|
+
}
|
|
2494
|
+
removeActionListener(listener) {
|
|
2495
|
+
this.baseBarcodePickView.removeActionListener(listener);
|
|
2496
|
+
}
|
|
2497
|
+
release() {
|
|
2498
|
+
this.baseBarcodePickView.dispose();
|
|
2499
|
+
}
|
|
2500
|
+
}
|
|
2501
|
+
__decorate([
|
|
2502
|
+
ignoreFromSerialization
|
|
2503
|
+
], BarcodePickView.prototype, "baseBarcodePickView", void 0);
|
|
2504
|
+
__decorate([
|
|
2505
|
+
ignoreFromSerialization
|
|
2506
|
+
], BarcodePickView.prototype, "htmlElement", void 0);
|
|
2507
|
+
__decorate([
|
|
2508
|
+
ignoreFromSerialization
|
|
2509
|
+
], BarcodePickView.prototype, "_htmlElementState", void 0);
|
|
2510
|
+
__decorate([
|
|
2511
|
+
ignoreFromSerialization
|
|
2512
|
+
], BarcodePickView.prototype, "domObserver", void 0);
|
|
2513
|
+
__decorate([
|
|
2514
|
+
ignoreFromSerialization
|
|
2515
|
+
], BarcodePickView.prototype, "scrollListener", void 0);
|
|
2516
|
+
__decorate([
|
|
2517
|
+
ignoreFromSerialization
|
|
2518
|
+
], BarcodePickView.prototype, "orientationChangeListener", void 0);
|
|
2519
|
+
|
|
2712
2520
|
export { BarcodeBatchAdvancedOverlay, BarcodeCountView, BarcodeFindView, BarcodePickView, ScanditBarcodeCountPluginNative, ScanditBarcodeFindPluginNative, ScanditBarcodePickPluginNative, ScanditBarcodePlugin, ScanditBarcodePluginImplementation, SparkScanView, TrackedBarcodeView };
|