scandit-capacitor-datacapture-barcode 6.28.0 → 6.28.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/dist/barcode.js +11 -15
- package/dist/barcode.js.map +1 -1
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SymbologyDescription, BarcodeTrackingAdvancedOverlayListenerEvents, BaseBarcodeFindView, BaseSparkScanView, BaseBarcodeTrackingAdvancedOverlay, BaseBarcodePickView, BarcodeCountViewEvents, TrackedBarcode, getBarcodeCountDefaults, loadBarcodeDefaults, loadBarcodeCaptureDefaults, loadBarcodeTrackingDefaults, loadBarcodeSelectionDefaults, loadBarcodeCountDefaults, loadBarcodePickDefaults, loadBarcodeFindDefaults, loadSparkScanDefaults, getBarcodeDefaults, 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, BarcodeTracking, BarcodeTrackingSession, BarcodeTrackingScenario, BarcodeTrackingSettings, TargetBarcode, BarcodeTrackingBasicOverlay, BarcodeTrackingBasicOverlayStyle, EncodingRange, LocalizedOnlyBarcode, Range, BarcodeCount, BarcodeCountFeedback, BarcodeCountSession, BarcodeCountSettings, BarcodeCountViewStyle as BarcodeCountViewStyle$1, BarcodeCountCaptureList, BarcodeCountCaptureListSession, BarcodeCountToolbarSettings, BarcodeFilterSettings, BarcodeFilterHighlightType, BarcodeFilterHighlightSettingsBrush, BarcodeFind, BarcodeFindFeedback, BarcodeFindItem, BarcodeFindItemContent, BarcodeFindItemSearchOptions, BarcodeFindSettings, BarcodeFindViewSettings, BarcodePick, BarcodePickActionCallback, BarcodePickEvents, BarcodePickState, BarcodePickSettings, BarcodePickProduct, BarcodePickProductProviderCallback, BarcodePickProductProviderCallbackItem, BarcodePickAsyncMapperProductProvider, BarcodePickIconStyle, BarcodePickStatusIconSettings, BarcodePickScanningSession, BarcodePickViewListenerEvents, BarcodePickViewSettings, BarcodePickViewUiListenerEvents, Rectangular, RectangularWithIcons, SparkScan, SparkScanFeedback, SparkScanPreviewBehavior, SparkScanScanningBehavior, SparkScanScanningModeDefault, SparkScanScanningModeTarget, SparkScanScanningPrecision, SparkScanSession, SparkScanSettings, SparkScanToastSettings, SparkScanViewErrorFeedback, SparkScanViewFeedback, SparkScanViewHandMode, SparkScanViewSettings, SparkScanViewSuccessFeedback, SparkScanBarcodeFeedback, SparkScanBarcodeSuccessFeedback, SparkScanBarcodeErrorFeedback, BarcodeCaptureListenerEvents, BarcodeTrackingListenerEvents, BarcodeSelectionListenerEvents, BarcodeCountListenerEvents, BarcodeTrackingBasicOverlayListenerEvents, BarcodeSelectionBrushProviderEvents, BarcodeFindListenerEvents, BarcodeFindViewEvents, SparkScanListenerEvents, BarcodePickListenerEvents, SparkScanViewEvents, SparkScanFeedbackDelegateEvents } from './barcode.js';
|
|
2
2
|
export { ArucoDictionary, ArucoDictionaryPreset, ArucoMarker, Barcode, BarcodeCapture, BarcodeCaptureFeedback, BarcodeCaptureOverlay, BarcodeCaptureOverlayStyle, BarcodeCaptureSession, BarcodeCaptureSettings, BarcodeCount, BarcodeCountCaptureList, BarcodeCountCaptureListSession, BarcodeCountFeedback, BarcodeCountSession, BarcodeCountSettings, BarcodeCountToolbarSettings, BarcodeCountViewStyle, BarcodeFilterHighlightSettingsBrush, BarcodeFilterHighlightType, BarcodeFilterSettings, BarcodeFind, BarcodeFindFeedback, BarcodeFindItem, BarcodeFindItemContent, BarcodeFindItemSearchOptions, BarcodeFindSettings, BarcodeFindViewSettings, BarcodePick, BarcodePickActionCallback, BarcodePickAsyncMapperProductProvider, BarcodePickIconStyle, BarcodePickProduct, BarcodePickProductProviderCallback, BarcodePickProductProviderCallbackItem, BarcodePickScanningSession, BarcodePickSettings, BarcodePickState, BarcodePickStatusIconSettings, BarcodePickViewSettings, BarcodeSelection, BarcodeSelectionAimerSelection, BarcodeSelectionAutoSelectionStrategy, BarcodeSelectionBasicOverlay, BarcodeSelectionBasicOverlayStyle, BarcodeSelectionFeedback, BarcodeSelectionFreezeBehavior, BarcodeSelectionManualSelectionStrategy, BarcodeSelectionSession, BarcodeSelectionSettings, BarcodeSelectionTapBehavior, BarcodeSelectionTapSelection, BarcodeTracking, BarcodeTrackingBasicOverlay, BarcodeTrackingBasicOverlayStyle, BarcodeTrackingScenario, BarcodeTrackingSession, BarcodeTrackingSettings, BatterySavingMode, Checksum, CompositeFlag, CompositeType, Dot, DotWithIcons, EncodingRange, LocalizedOnlyBarcode, Range, Rectangular, RectangularWithIcons, SparkScan, SparkScanBarcodeErrorFeedback, SparkScanBarcodeFeedback, SparkScanBarcodeSuccessFeedback, SparkScanFeedback, SparkScanPreviewBehavior, SparkScanScanningBehavior, SparkScanScanningModeDefault, SparkScanScanningModeTarget, SparkScanScanningPrecision, SparkScanSession, SparkScanSettings, SparkScanToastSettings, SparkScanViewErrorFeedback, SparkScanViewFeedback, SparkScanViewHandMode, SparkScanViewSettings, SparkScanViewSuccessFeedback, StructuredAppendData, Symbology, SymbologyDescription, SymbologySettings, TargetBarcode, TrackedBarcode } from './barcode.js';
|
|
3
|
-
import { nameForSerialization, DefaultSerializeable, Size, BaseNativeProxy, ignoreFromSerialization, FactoryMaker } from 'scandit-capacitor-datacapture-core/dist/core';
|
|
4
|
-
import { capacitorExec,
|
|
3
|
+
import { nameForSerialization, DefaultSerializeable, Size, BaseNativeProxy, HTMLElementState, HtmlElementPosition, HtmlElementSize, ignoreFromSerialization, FactoryMaker } from 'scandit-capacitor-datacapture-core/dist/core';
|
|
4
|
+
import { capacitorExec, CapacitorCore } from 'scandit-capacitor-datacapture-core';
|
|
5
5
|
|
|
6
6
|
class TrackedBarcodeView extends DefaultSerializeable {
|
|
7
7
|
static withHTMLElement(element, options) {
|
|
@@ -2123,8 +2123,8 @@ class BarcodeFindView {
|
|
|
2123
2123
|
}
|
|
2124
2124
|
const newState = new HTMLElementState();
|
|
2125
2125
|
const boundingRect = this.htmlElement.getBoundingClientRect();
|
|
2126
|
-
newState.position =
|
|
2127
|
-
newState.size =
|
|
2126
|
+
newState.position = new HtmlElementPosition(boundingRect.top, boundingRect.left);
|
|
2127
|
+
newState.size = new HtmlElementSize(boundingRect.width, boundingRect.height);
|
|
2128
2128
|
newState.shouldBeUnderContent = parseInt(this.htmlElement.style.zIndex || '1', 10) < 0
|
|
2129
2129
|
|| parseInt(getComputedStyle(this.htmlElement).zIndex || '1', 10) < 0;
|
|
2130
2130
|
const isDisplayed = getComputedStyle(this.htmlElement).display !== 'none'
|
|
@@ -3250,8 +3250,8 @@ class BarcodeCountView extends DefaultSerializeable {
|
|
|
3250
3250
|
}
|
|
3251
3251
|
const newState = new HTMLElementState();
|
|
3252
3252
|
const boundingRect = this.htmlElement.getBoundingClientRect();
|
|
3253
|
-
newState.position =
|
|
3254
|
-
newState.size =
|
|
3253
|
+
newState.position = new HtmlElementPosition(boundingRect.top, boundingRect.left);
|
|
3254
|
+
newState.size = new HtmlElementSize(boundingRect.width, boundingRect.height);
|
|
3255
3255
|
newState.shouldBeUnderContent = parseInt(this.htmlElement.style.zIndex || '1', 10) < 0
|
|
3256
3256
|
|| parseInt(getComputedStyle(this.htmlElement).zIndex || '1', 10) < 0;
|
|
3257
3257
|
const isDisplayed = getComputedStyle(this.htmlElement).display !== 'none'
|
|
@@ -3519,8 +3519,8 @@ class BarcodePickView extends DefaultSerializeable {
|
|
|
3519
3519
|
}
|
|
3520
3520
|
const newState = new HTMLElementState();
|
|
3521
3521
|
const boundingRect = this.htmlElement.getBoundingClientRect();
|
|
3522
|
-
newState.position =
|
|
3523
|
-
newState.size =
|
|
3522
|
+
newState.position = new HtmlElementPosition(boundingRect.top, boundingRect.left);
|
|
3523
|
+
newState.size = new HtmlElementSize(boundingRect.width, boundingRect.height);
|
|
3524
3524
|
newState.shouldBeUnderContent = parseInt(this.htmlElement.style.zIndex || '1', 10) < 0
|
|
3525
3525
|
|| parseInt(getComputedStyle(this.htmlElement).zIndex || '1', 10) < 0;
|
|
3526
3526
|
const isDisplayed = getComputedStyle(this.htmlElement).display !== 'none'
|