scandit-capacitor-datacapture-core 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.
@@ -16,5 +16,5 @@ Pod::Spec.new do |s|
16
16
  s.swift_version = "5.7"
17
17
 
18
18
  s.dependency "Capacitor"
19
- s.dependency "scandit-datacapture-frameworks-core", '= 6.28.0'
19
+ s.dependency "scandit-datacapture-frameworks-core", '= 6.28.2'
20
20
  end
@@ -56,7 +56,7 @@ repositories {
56
56
  }
57
57
 
58
58
  dependencies {
59
- def sdk_version = "6.28.0"
59
+ def sdk_version = "6.28.2"
60
60
 
61
61
  implementation fileTree(dir: 'libs', include: ['*.jar'])
62
62
 
package/dist/core.js CHANGED
@@ -1763,6 +1763,53 @@ var ScanIntention;
1763
1763
  ScanIntention["Smart"] = "smart";
1764
1764
  })(ScanIntention || (ScanIntention = {}));
1765
1765
 
1766
+ class HtmlElementPosition {
1767
+ constructor(top, left) {
1768
+ this.top = 0;
1769
+ this.left = 0;
1770
+ this.top = top;
1771
+ this.left = left;
1772
+ }
1773
+ didChangeComparedTo(other) {
1774
+ if (!other)
1775
+ return true;
1776
+ return this.top !== other.top || this.left !== other.left;
1777
+ }
1778
+ }
1779
+ class HtmlElementSize {
1780
+ constructor(width, height) {
1781
+ this.width = width;
1782
+ this.height = height;
1783
+ }
1784
+ didChangeComparedTo(other) {
1785
+ if (!other)
1786
+ return true;
1787
+ return this.width !== other.width || this.height !== other.height;
1788
+ }
1789
+ }
1790
+ class HTMLElementState {
1791
+ constructor() {
1792
+ this.isShown = false;
1793
+ this.position = null;
1794
+ this.size = null;
1795
+ this.shouldBeUnderContent = false;
1796
+ }
1797
+ get isValid() {
1798
+ return this.isShown !== undefined && this.isShown !== null
1799
+ && this.position !== undefined && this.position !== null
1800
+ && this.size !== undefined && this.size !== null
1801
+ && this.shouldBeUnderContent !== undefined && this.shouldBeUnderContent !== null;
1802
+ }
1803
+ didChangeComparedTo(other) {
1804
+ var _a, _b, _c, _d;
1805
+ if (!other)
1806
+ return true;
1807
+ const positionChanged = (_b = (_a = this.position) === null || _a === void 0 ? void 0 : _a.didChangeComparedTo(other.position)) !== null && _b !== void 0 ? _b : (this.position !== other.position);
1808
+ const sizeChanged = (_d = (_c = this.size) === null || _c === void 0 ? void 0 : _c.didChangeComparedTo(other.size)) !== null && _d !== void 0 ? _d : (this.size !== other.size);
1809
+ return positionChanged || sizeChanged || this.shouldBeUnderContent !== other.shouldBeUnderContent;
1810
+ }
1811
+ }
1812
+
1766
1813
  var DataCaptureViewEvents;
1767
1814
  (function (DataCaptureViewEvents) {
1768
1815
  DataCaptureViewEvents["didChangeSize"] = "DataCaptureViewListener.onSizeChanged";
@@ -2915,5 +2962,5 @@ var Expiration;
2915
2962
 
2916
2963
  createEventEmitter();
2917
2964
 
2918
- export { AimerViewfinder, Anchor, BaseController, BaseDataCaptureView, BaseNativeProxy, Brush, Camera, CameraController, CameraPosition, CameraSettings, Color, ContextStatus, ControlImage, DataCaptureContext, DataCaptureContextEvents, DataCaptureContextFeatures, DataCaptureContextSettings, DataCaptureViewController, DataCaptureViewEvents, DefaultSerializeable, Direction, EventEmitter, Expiration, FactoryMaker, Feedback, FocusGestureStrategy, FocusRange, FrameSourceListenerEvents, FrameSourceState, ImageBuffer, ImageFrameSource, LaserlineViewfinder, LaserlineViewfinderStyle, LicenseInfo, LogoStyle, MarginsWithUnit, MeasureUnit, NoViewfinder, NoneLocationSelection, NumberWithUnit, Orientation, Point, PointWithUnit, PrivateFocusGestureDeserializer, PrivateFrameData, PrivateZoomGestureDeserializer, Quadrilateral, RadiusLocationSelection, Rect, RectWithUnit, RectangularLocationSelection, RectangularViewfinder, RectangularViewfinderAnimation, RectangularViewfinderLineStyle, RectangularViewfinderStyle, ScanIntention, Size, SizeWithAspect, SizeWithUnit, SizeWithUnitAndAspect, SizingMode, Sound, SpotlightViewfinder, SwipeToZoom, TapToFocus, TorchState, TorchSwitchControl, Vibration, VibrationType, VideoResolution, WaveFormVibration, ZoomSwitchControl, getCoreDefaults, ignoreFromSerialization, ignoreFromSerializationIfNull, loadCoreDefaults, nameForSerialization, serializationDefault };
2965
+ export { AimerViewfinder, Anchor, BaseController, BaseDataCaptureView, BaseNativeProxy, Brush, Camera, CameraController, CameraPosition, CameraSettings, Color, ContextStatus, ControlImage, DataCaptureContext, DataCaptureContextEvents, DataCaptureContextFeatures, DataCaptureContextSettings, DataCaptureViewController, DataCaptureViewEvents, DefaultSerializeable, Direction, EventEmitter, Expiration, FactoryMaker, Feedback, FocusGestureStrategy, FocusRange, FrameSourceListenerEvents, FrameSourceState, HTMLElementState, HtmlElementPosition, HtmlElementSize, ImageBuffer, ImageFrameSource, LaserlineViewfinder, LaserlineViewfinderStyle, LicenseInfo, LogoStyle, MarginsWithUnit, MeasureUnit, NoViewfinder, NoneLocationSelection, NumberWithUnit, Orientation, Point, PointWithUnit, PrivateFocusGestureDeserializer, PrivateFrameData, PrivateZoomGestureDeserializer, Quadrilateral, RadiusLocationSelection, Rect, RectWithUnit, RectangularLocationSelection, RectangularViewfinder, RectangularViewfinderAnimation, RectangularViewfinderLineStyle, RectangularViewfinderStyle, ScanIntention, Size, SizeWithAspect, SizeWithUnit, SizeWithUnitAndAspect, SizingMode, Sound, SpotlightViewfinder, SwipeToZoom, TapToFocus, TorchState, TorchSwitchControl, Vibration, VibrationType, VideoResolution, WaveFormVibration, ZoomSwitchControl, getCoreDefaults, ignoreFromSerialization, ignoreFromSerializationIfNull, loadCoreDefaults, nameForSerialization, serializationDefault };
2919
2966
  //# sourceMappingURL=core.js.map