@scandit/web-datacapture-core 8.4.0 → 8.5.0-beta.1
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/THIRD_PARTY.txt +2 -28
- package/build/electron/constants-D5Av3xIA.js +1 -0
- package/build/electron/constants-Tq_qHFkh.cjs +1 -0
- package/build/electron/main.cjs +1 -1
- package/build/electron/main.d.cts +12 -21
- package/build/electron/main.d.ts +12 -21
- package/build/electron/main.js +1 -1
- package/build/electron/preload.cjs +1 -1
- package/build/electron/preload.d.cts +4 -4
- package/build/electron/preload.d.ts +4 -4
- package/build/electron/preload.js +1 -1
- package/build/js/AdditionalLayerPosition-D_ouQ8wn.d.ts +7 -0
- package/build/js/AimerViewfinder-bCf_UrQu.d.ts +15 -0
- package/build/js/AimerViewfinder.d.ts +2 -22
- package/build/js/AimerViewfinder.js +1 -1
- package/build/js/Anchor-DxO9CbHk.d.ts +14 -0
- package/build/js/AnchorPositions-4M8lB28_.d.ts +42 -0
- package/build/js/AsyncStateMachine-gK_htWdT.d.ts +49 -0
- package/build/js/AudioCache-D893YEVZ.d.ts +37 -0
- package/build/js/BatteryInterface-BYl36ktu.d.ts +81 -0
- package/build/js/Brush-D6WUoW36.d.ts +32 -0
- package/build/js/Brush.d.ts +2 -32
- package/build/js/Brush.js +1 -1
- package/build/js/Camera-C7TNwqRo.d.ts +413 -0
- package/build/js/Camera.d.ts +2 -7
- package/build/js/Camera.js +1 -1
- package/build/js/CameraManager-DskA2C7T.js +35 -0
- package/build/js/CameraRelated.d.ts +2 -7
- package/build/js/CameraRelated.js +1 -1
- package/build/js/CavansDrawerAbstract-E_URl3X1.d.ts +37 -0
- package/build/js/Color-qNIvVO9c.d.ts +28 -0
- package/build/js/ColorType-Dj3_-sLJ.d.ts +7 -0
- package/build/js/CustomLocationsView-BmILmaYk.d.ts +59 -0
- package/build/js/DataCaptureContext-CYDrBO6_.d.ts +2017 -0
- package/build/js/DataCaptureContext-CbQes_57.js +6 -0
- package/build/js/DataCaptureContext.d.ts +2 -39
- package/build/js/DataCaptureContext.js +1 -1
- package/build/js/DataCaptureContextRelated.d.ts +2 -39
- package/build/js/DataCaptureContextRelated.js +1 -1
- package/build/js/DataCaptureContextSettings-jR9ArFal.d.ts +13 -0
- package/build/js/DataCaptureContextSettings.d.ts +2 -13
- package/build/js/DataCaptureContextSettings.js +1 -1
- package/build/js/DataCaptureError-fm19xgXy.d.ts +13 -0
- package/build/js/DataCaptureError.d.ts +2 -13
- package/build/js/DataCaptureError.js +1 -1
- package/build/js/DataCaptureVersion-CoBugUHX.d.ts +6 -0
- package/build/js/DataCaptureVersion.d.ts +2 -6
- package/build/js/DataCaptureVersion.js +1 -1
- package/build/js/DataCaptureView.d.ts +2 -39
- package/build/js/DataCaptureView.js +1 -1
- package/build/js/DataCaptureViewPlusRelated-DcAi6mWY.d.ts +50 -0
- package/build/js/DataCaptureViewPlusRelated.d.ts +2 -3
- package/build/js/DataCaptureViewPlusRelated.js +1 -1
- package/build/js/DefaultViewClassnames.d.ts +13 -13
- package/build/js/DefaultViewClassnames.js +1 -1
- package/build/js/Direction-Cii3d0QY.d.ts +12 -0
- package/build/js/DrawCommandBuffer-TbNqWVhj.d.ts +44 -0
- package/build/js/EventManager-Cr57hTzG.d.ts +9 -0
- package/build/js/Feedback-D4kA2xWA.d.ts +21 -0
- package/build/js/Feedback.d.ts +2 -21
- package/build/js/Feedback.js +1 -1
- package/build/js/FrameData.d.ts +2 -39
- package/build/js/FrameData.js +1 -1
- package/build/js/HtmlElementState-BeRz5m6o.d.ts +35 -0
- package/build/js/ImageFrameSource-YH6FmhqZ.d.ts +43 -0
- package/build/js/ImageFrameSource.d.ts +2 -47
- package/build/js/ImageFrameSource.js +1 -1
- package/build/js/JSONType-BJv7BUtr.d.ts +6 -0
- package/build/js/LaserlineViewfinder-Dkc264QQ.d.ts +17 -0
- package/build/js/LaserlineViewfinder.d.ts +2 -23
- package/build/js/LaserlineViewfinder.js +1 -1
- package/build/js/LoadingStatus-0KzcUFiY.d.ts +23 -0
- package/build/js/LoadingStatus.d.ts +2 -23
- package/build/js/LoadingStatus.js +1 -1
- package/build/js/Localization-LoX2FWJO.d.ts +44 -0
- package/build/js/Localization.d.ts +2 -44
- package/build/js/Localization.js +1 -1
- package/build/js/LocationSelection-BXqyUc16.d.ts +41 -0
- package/build/js/LocationSelection.d.ts +2 -44
- package/build/js/LocationSelection.js +1 -1
- package/build/js/MarginsWithUnit-BHhnV4t0.d.ts +38 -0
- package/build/js/MeasureUnit-D14sZoRp.d.ts +7 -0
- package/build/js/NotificationBuilder-B3uY_ZbG.d.ts +23 -0
- package/build/js/NotificationConfiguration-C-1Vhrpo.d.ts +22 -0
- package/build/js/NotificationPresenter/NotificationBuilder.d.ts +2 -25
- package/build/js/NotificationPresenter/NotificationBuilder.js +1 -1
- package/build/js/NotificationPresenter/NotificationConfiguration.d.ts +2 -24
- package/build/js/NotificationPresenter/NotificationConfiguration.js +1 -1
- package/build/js/NotificationPresenter/NotificationPresenter.d.ts +2 -14
- package/build/js/NotificationPresenter/NotificationStyle.d.ts +2 -9
- package/build/js/NotificationPresenter/NotificationStyle.js +1 -1
- package/build/js/NotificationPresenter/index.d.ts +6 -41
- package/build/js/NotificationPresenter/index.js +1 -1
- package/build/js/NotificationPresenter/private/ConcreteNotificationPresenter.d.ts +2 -48
- package/build/js/NotificationPresenter/private/ConcreteNotificationPresenter.js +1 -1
- package/build/js/NotificationPresenter/private/presets.d.ts +5 -41
- package/build/js/NotificationPresenter/private/presets.js +1 -1
- package/build/js/NotificationPresenter-D0g_arAJ.d.ts +9 -0
- package/build/js/NotificationStyle-COZXqLGO.d.ts +9 -0
- package/build/js/NumberWithUnit-UGwoucuQ.d.ts +19 -0
- package/build/js/OpenSourceSoftwareLicenseInfo-CpjUKTrl.d.ts +8 -0
- package/build/js/Orientation-BNtNH3yS.d.ts +10 -0
- package/build/js/OverrideState-CGTOUAyb.d.ts +8 -0
- package/build/js/Point-CD9Qi9ID.d.ts +20 -0
- package/build/js/PointWithUnit-C_e8HUvk.d.ts +26 -0
- package/build/js/Quadrilateral-DbJ7LU2U.d.ts +25 -0
- package/build/js/Rect-BVo37EKG.d.ts +19 -0
- package/build/js/RectWithUnit-OJ1xPlBN.d.ts +19 -0
- package/build/js/RectangularViewfinder-j93qfYTd.d.ts +36 -0
- package/build/js/RectangularViewfinder.d.ts +2 -40
- package/build/js/RectangularViewfinder.js +1 -1
- package/build/js/ScanditHTMLElement-CrbGsFpn.d.ts +5 -0
- package/build/js/ScanditIcon-FRMSos7x.d.ts +49 -0
- package/build/js/ScanditIcon.d.ts +2 -50
- package/build/js/ScanditIcon.js +1 -1
- package/build/js/ScanditIconBuilder-BtnTaVeJ.d.ts +66 -0
- package/build/js/ScanditIconBuilder.d.ts +3 -68
- package/build/js/ScanditIconBuilder.js +1 -1
- package/build/js/Serializable-Dbturs7d.d.ts +9 -0
- package/build/js/SingleImageUploader-CRDpQ9PA.d.ts +43 -0
- package/build/js/SingleImageUploader.d.ts +2 -48
- package/build/js/SingleImageUploader.js +1 -1
- package/build/js/SingleImageUploaderSettings-Y-cG1lpl.d.ts +33 -0
- package/build/js/SingleImageUploaderSettings.d.ts +2 -33
- package/build/js/SingleImageUploaderSettings.js +1 -1
- package/build/js/Size-i8Zhfc5b.d.ts +18 -0
- package/build/js/SizeMode-CkAAaxIg.d.ts +9 -0
- package/build/js/SizeWithAspect-Dg-YCV1Q.d.ts +12 -0
- package/build/js/SizeWithUnit-CNgvxsVj.d.ts +26 -0
- package/build/js/SizeWithUnitAndAspect-BrtiXpsG.d.ts +40 -0
- package/build/js/Sound-ByTzZ3ia.d.ts +21 -0
- package/build/js/Sound.d.ts +2 -21
- package/build/js/Sound.js +1 -1
- package/build/js/SvgIcon-CAR8Tf7x.d.ts +23 -0
- package/build/js/Vibration-B1J9JMda.d.ts +21 -0
- package/build/js/Vibration.d.ts +2 -21
- package/build/js/Vibration.js +1 -1
- package/build/js/View-BvEw8Q1D.d.ts +7 -0
- package/build/js/Viewfinder-DTjfkI0v.d.ts +19 -0
- package/build/js/Viewfinder.d.ts +2 -26
- package/build/js/Viewfinder.js +1 -1
- package/build/js/ViewfinderPlusRelated-CuUarlQb.d.ts +72 -0
- package/build/js/ViewfinderPlusRelated.d.ts +2 -76
- package/build/js/ViewfinderPlusRelated.js +1 -1
- package/build/js/WatermarkStack-CDKo8wBr.d.ts +41 -0
- package/build/js/ZoomGestureListener.d.ts +2 -3
- package/build/js/ZoomListener.d.ts +2 -7
- package/build/js/ZoomSwitchOrientation-Deylpp5l.d.ts +8 -0
- package/build/js/ZoomSwitchOrientation.d.ts +2 -8
- package/build/js/ZoomSwitchOrientation.js +1 -1
- package/build/js/areEqualArrays-BpuDaVrU.d.ts +4 -0
- package/build/js/assets/beepSound.d.ts +3 -3
- package/build/js/assets/beepSound.js +1 -1
- package/build/js/assets/folderImage.d.ts +3 -3
- package/build/js/assets/folderImage.js +1 -1
- package/build/js/assets/scanningByScandit.d.ts +3 -3
- package/build/js/assets/scanningByScandit.js +1 -1
- package/build/js/assets/transparentPixelImage.d.ts +3 -3
- package/build/js/assets/transparentPixelImage.js +1 -1
- package/build/js/browserCompatibility-DD4Tvtlv.d.ts +88 -0
- package/build/js/browserCompatibility.d.ts +2 -88
- package/build/js/browserCompatibility.js +1 -1
- package/build/js/browserHelper-BQPnAZ2Y.js +1 -0
- package/build/js/browserHelper-Dno5no9Z.d.ts +224 -0
- package/build/js/browserHelper.d.ts +2 -224
- package/build/js/browserHelper.js +1 -1
- package/build/js/clamp-B71RA4rG.d.ts +4 -0
- package/build/js/common-BisNSU4o.d.ts +25 -0
- package/build/js/commons/Anchor.d.ts +2 -14
- package/build/js/commons/Anchor.js +1 -1
- package/build/js/commons/Color.d.ts +2 -28
- package/build/js/commons/Color.js +1 -1
- package/build/js/commons/Direction.d.ts +2 -12
- package/build/js/commons/Direction.js +1 -1
- package/build/js/commons/JSONType.d.ts +2 -6
- package/build/js/commons/MarginsWithUnit.d.ts +2 -39
- package/build/js/commons/MarginsWithUnit.js +1 -1
- package/build/js/commons/MeasureUnit.d.ts +2 -7
- package/build/js/commons/MeasureUnit.js +1 -1
- package/build/js/commons/NumberWithUnit.d.ts +2 -19
- package/build/js/commons/NumberWithUnit.js +1 -1
- package/build/js/commons/Orientation.d.ts +2 -10
- package/build/js/commons/Orientation.js +1 -1
- package/build/js/commons/Point.d.ts +2 -20
- package/build/js/commons/Point.js +1 -1
- package/build/js/commons/PointWithUnit.d.ts +2 -27
- package/build/js/commons/PointWithUnit.js +1 -1
- package/build/js/commons/Quadrilateral.d.ts +2 -25
- package/build/js/commons/Quadrilateral.js +1 -1
- package/build/js/commons/Rect.d.ts +2 -19
- package/build/js/commons/Rect.js +1 -1
- package/build/js/commons/RectWithUnit.d.ts +2 -21
- package/build/js/commons/RectWithUnit.js +1 -1
- package/build/js/commons/Size.d.ts +2 -18
- package/build/js/commons/Size.js +1 -1
- package/build/js/commons/SizeMode.d.ts +2 -9
- package/build/js/commons/SizeMode.js +1 -1
- package/build/js/commons/SizeWithAspect.d.ts +2 -14
- package/build/js/commons/SizeWithAspect.js +1 -1
- package/build/js/commons/SizeWithUnit.d.ts +2 -27
- package/build/js/commons/SizeWithUnit.js +1 -1
- package/build/js/commons/SizeWithUnitAndAspect.d.ts +2 -42
- package/build/js/commons/SizeWithUnitAndAspect.js +1 -1
- package/build/js/controls/CameraFOVSwitchControl.d.ts +2 -76
- package/build/js/controls/CameraFOVSwitchControl.js +1 -1
- package/build/js/controls/CameraSwitchControl.d.ts +2 -66
- package/build/js/controls/CameraSwitchControl.js +1 -1
- package/build/js/controls/TorchSwitchControl.d.ts +2 -67
- package/build/js/controls/TorchSwitchControl.js +1 -1
- package/build/js/controls/ZoomSwitchControl.d.ts +2 -97
- package/build/js/controls/ZoomSwitchControl.js +1 -1
- package/build/js/controls/common.d.ts +2 -39
- package/build/js/controls/index.d.ts +2 -44
- package/build/js/controls/index.js +1 -1
- package/build/js/css-DUhStyMA.d.ts +4 -0
- package/build/js/debounce-B1bV6NXR.d.ts +4 -0
- package/build/js/defaults/DefaultsBrush.d.ts +4 -6
- package/build/js/defaults/DefaultsBrush.js +1 -1
- package/build/js/defaults/DefaultsCamera.d.ts +13 -51
- package/build/js/defaults/DefaultsCamera.js +1 -1
- package/build/js/defaults/DefaultsCameraSettings.d.ts +9 -14
- package/build/js/defaults/DefaultsCameraSettings.js +1 -1
- package/build/js/defaults/DefaultsDataCaptureView.d.ts +15 -18
- package/build/js/defaults/DefaultsDataCaptureView.js +1 -1
- package/build/js/defaults/DefaultsDeserializers.d.ts +6 -7
- package/build/js/defaults/DefaultsDeserializers.js +1 -1
- package/build/js/defaults/DefaultsFeedback.d.ts +4 -4
- package/build/js/defaults/DefaultsFeedback.js +1 -1
- package/build/js/defaults/DefaultsSingleImageUploader.d.ts +13 -13
- package/build/js/defaults/DefaultsSingleImageUploader.js +1 -1
- package/build/js/defaults/DefaultsViewfinders.d.ts +36 -41
- package/build/js/defaults/DefaultsViewfinders.js +1 -1
- package/build/js/deferred-BAgaHYOv.d.ts +9 -0
- package/build/js/defineCustomElements-D-wGrRhB.d.ts +4 -0
- package/build/js/domIdFromValues-i9GfVUED.d.ts +18 -0
- package/build/js/fromEntries-ByUS4mw-.d.ts +14 -0
- package/build/js/{global.d.d.ts → global.d.ts} +8 -11
- package/build/js/html-D92h5xTe.d.ts +60 -0
- package/build/js/hybridDesktopPlatformHelpers-DPAJQLcX.js +1 -0
- package/build/js/index-CBqIEC2q.d.ts +1 -0
- package/build/js/index-Cpl5B5iN.d.ts +58 -0
- package/build/js/index-PiddVj70.d.ts +9769 -0
- package/build/js/index.d.ts +57 -78
- package/build/js/index.js +1 -1
- package/build/js/isObject-DqOU8mxL.d.ts +4 -0
- package/build/js/isWorkerScope-CBqhEpK_.d.ts +4 -0
- package/build/js/license/OpenSourceSoftwareLicenseInfo.d.ts +2 -8
- package/build/js/license/OpenSourceSoftwareLicenseInfo.js +1 -1
- package/build/js/logger-D9wplwND.d.ts +30 -0
- package/build/js/logger.d.ts +2 -30
- package/build/js/logger.js +1 -1
- package/build/js/moduleLoader.d.ts +2 -39
- package/build/js/multithreadSimdHelper-BrYdWJgw.js +1 -0
- package/build/js/nativeHandle-DlljYL22.d.ts +4 -0
- package/build/js/private/AdditionalLayerPosition.d.ts +2 -6
- package/build/js/private/AdditionalLayerPosition.js +1 -1
- package/build/js/private/AnchorPositions.d.ts +2 -42
- package/build/js/private/AnchorPositions.js +1 -1
- package/build/js/private/BatteryInterface.d.ts +2 -81
- package/build/js/private/BatteryInterface.js +1 -1
- package/build/js/private/CameraAccess.d.ts +2 -7
- package/build/js/private/CameraAccess.js +1 -1
- package/build/js/private/CameraManager.d.ts +2 -39
- package/build/js/private/CameraManager.js +1 -1
- package/build/js/private/CameraPool.d.ts +76 -114
- package/build/js/private/CameraPool.js +1 -1
- package/build/js/private/CanvasDrawer.d.ts +30 -31
- package/build/js/private/CanvasDrawer.js +1 -1
- package/build/js/private/CanvasDrawerWithMetrics.d.ts +27 -66
- package/build/js/private/CanvasDrawerWithMetrics.js +1 -1
- package/build/js/private/CavansDrawerAbstract.d.ts +2 -37
- package/build/js/private/CavansDrawerAbstract.js +1 -1
- package/build/js/private/CoreModuleLicenseTextProvider.d.ts +13 -49
- package/build/js/private/CoreModuleLicenseTextProvider.js +1 -1
- package/build/js/private/CustomLocationsView.d.ts +2 -64
- package/build/js/private/CustomLocationsView.js +1 -1
- package/build/js/private/CustomLocationsViewStyles.d.ts +4 -4
- package/build/js/private/CustomLocationsViewStyles.js +17 -1
- package/build/js/private/DataCaptureContextRelated.d.ts +7 -44
- package/build/js/private/DrawCommandBuffer.d.ts +2 -44
- package/build/js/private/DrawCommandBuffer.js +1 -1
- package/build/js/private/EventManager.d.ts +2 -9
- package/build/js/private/EventManager.js +1 -1
- package/build/js/private/FrameReaders/ColorType.d.ts +2 -7
- package/build/js/private/FrameReaders/ColorType.js +1 -1
- package/build/js/private/FrameReaders/FrameReader.d.ts +2 -54
- package/build/js/private/FrameReaders/FrameReader.js +1 -1
- package/build/js/private/FrameReaders/FrameReaderAbstract.d.ts +2 -69
- package/build/js/private/FrameReaders/FrameReaderAbstract.js +1 -1
- package/build/js/private/FrameReaders/GrayScaleFrameReader.d.ts +2 -74
- package/build/js/private/FrameReaders/GrayScaleFrameReader.js +1 -1
- package/build/js/private/FrameReaders/WatermarkStack.d.ts +2 -41
- package/build/js/private/FrameReaders/WatermarkStack.js +1 -1
- package/build/js/private/FrameReaders/index.d.ts +3 -43
- package/build/js/private/FrameReaders/index.js +1 -1
- package/build/js/private/FrameReaders/webglUtilities.d.ts +3 -3
- package/build/js/private/FrameReaders/webglUtilities.js +1 -1
- package/build/js/private/GestureRecognizer/GestureRecognizer.d.ts +65 -66
- package/build/js/private/GestureRecognizer/GestureRecognizer.js +1 -1
- package/build/js/private/GestureRecognizer/PointerEventsDetector.d.ts +11 -15
- package/build/js/private/GestureRecognizer/PointerEventsDetector.js +1 -1
- package/build/js/private/GestureRecognizer/index.d.ts +2 -5
- package/build/js/private/GestureRecognizer/index.js +1 -1
- package/build/js/private/Helper.d.ts +7 -7
- package/build/js/private/Helper.js +1 -1
- package/build/js/private/HtmlElementState.d.ts +2 -37
- package/build/js/private/HtmlElementState.js +1 -1
- package/build/js/private/ImageConverterBase.d.ts +40 -40
- package/build/js/private/ImageConverterBase.js +1 -1
- package/build/js/private/ImageConverterMainThread.d.ts +6 -7
- package/build/js/private/ImageConverterMainThread.js +1 -1
- package/build/js/private/ModuleLicenseTextProvider.d.ts +4 -4
- package/build/js/private/NormalizedModuleLoaderOptions.d.ts +10 -46
- package/build/js/private/OrientationObserver.d.ts +26 -26
- package/build/js/private/OrientationObserver.js +1 -1
- package/build/js/private/Serializable.d.ts +2 -9
- package/build/js/private/SingleImageUploaderView.d.ts +52 -89
- package/build/js/private/SingleImageUploaderView.js +1 -1
- package/build/js/private/SingleImageUploaderViewStyles.d.ts +23 -23
- package/build/js/private/SingleImageUploaderViewStyles.js +31 -1
- package/build/js/private/View.d.ts +2 -7
- package/build/js/private/ViewClassNames.d.ts +13 -13
- package/build/js/private/ViewClassNames.js +1 -1
- package/build/js/private/ViewControls_related.d.ts +82 -121
- package/build/js/private/ViewControls_related.js +1 -0
- package/build/js/private/ViewStyles.d.ts +3 -3
- package/build/js/private/ViewStyles.js +1 -1
- package/build/js/private/ViewsRegistry.d.ts +4 -41
- package/build/js/private/ViewsRegistry.js +1 -1
- package/build/js/private/customHowler/AudioCache.d.ts +2 -37
- package/build/js/private/customHowler/AudioCache.js +1 -1
- package/build/js/private/customHowler/Howl.d.ts +141 -141
- package/build/js/private/customHowler/Howl.js +1 -1
- package/build/js/private/customHowler/HowlRegistry.d.ts +3 -3
- package/build/js/private/customHowler/HowlRegistry.js +1 -1
- package/build/js/private/customHowler/Html5Sound.d.ts +45 -45
- package/build/js/private/customHowler/Html5Sound.js +1 -1
- package/build/js/private/customHowler/UnlockManager.d.ts +32 -32
- package/build/js/private/customHowler/UnlockManager.js +1 -1
- package/build/js/private/customHowler/WebAudioContextManager.d.ts +127 -127
- package/build/js/private/customHowler/WebAudioContextManager.js +1 -1
- package/build/js/private/customHowler/debug.d.ts +3 -3
- package/build/js/private/customHowler/debug.js +1 -1
- package/build/js/private/customHowler/index.d.ts +2 -2
- package/build/js/private/customHowler/index.js +1 -1
- package/build/js/private/customHowler/setup.d.ts +4 -5
- package/build/js/private/customHowler/setup.js +1 -1
- package/build/js/private/djinni-types/index.d.ts +2 -57
- package/build/js/private/djinni-types/index.js +1 -1
- package/build/js/private/hybridDesktopPlatformHelpers.d.ts +5 -5
- package/build/js/private/hybridDesktopPlatformHelpers.js +1 -1
- package/build/js/private/multithreadSimdHelper.d.ts +3 -3
- package/build/js/private/multithreadSimdHelper.js +1 -1
- package/build/js/private/nativeHandle.d.ts +2 -4
- package/build/js/private/nativeHandle.js +1 -1
- package/build/js/private/privateAccess.d.ts +2 -8
- package/build/js/private/privateAccess.js +1 -1
- package/build/js/private/ui/atoms/AimerSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/AimerSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/ArrowDownSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/ArrowDownSvgIcon.js +1 -2
- package/build/js/private/ui/atoms/ArrowLeftSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/ArrowLeftSvgIcon.js +1 -2
- package/build/js/private/ui/atoms/ArrowRightSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/ArrowRightSvgIcon.js +1 -2
- package/build/js/private/ui/atoms/ArrowUpSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/ArrowUpSvgIcon.js +1 -2
- package/build/js/private/ui/atoms/ArrowsUp.d.ts +13 -13
- package/build/js/private/ui/atoms/ArrowsUp.js +1 -1
- package/build/js/private/ui/atoms/Backdrop.d.ts +29 -23
- package/build/js/private/ui/atoms/Backdrop.js +1 -1
- package/build/js/private/ui/atoms/CalendarExclamationMarkSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/CalendarExclamationMarkSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/CameraFOVUltrawideSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/CameraFOVUltrawideSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/CameraFOVWideSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/CameraFOVWideSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/CameraSwitchReverseSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/CameraSwitchReverseSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/CameraSwitchSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/CameraSwitchSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/Card.d.ts +21 -22
- package/build/js/private/ui/atoms/Card.js +1 -1
- package/build/js/private/ui/atoms/CardList.d.ts +49 -51
- package/build/js/private/ui/atoms/CardList.js +1 -1
- package/build/js/private/ui/atoms/CheckSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/CheckSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/ChevronDownSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/ChevronDownSvgIcon.js +1 -2
- package/build/js/private/ui/atoms/ChevronLeftSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/ChevronLeftSvgIcon.js +1 -2
- package/build/js/private/ui/atoms/ChevronRightSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/ChevronRightSvgIcon.js +1 -2
- package/build/js/private/ui/atoms/ChevronUpSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/ChevronUpSvgIcon.js +1 -2
- package/build/js/private/ui/atoms/CrossSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/CrossSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/DeleteSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/DeleteSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/Dot5xSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/Dot5xSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/ExclamationMarkSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/ExclamationMarkSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/GlassSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/GlassSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/HandLensCheckSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/HandLensCheckSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/KeyboardSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/KeyboardSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/LowStockSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/LowStockSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/OnexSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/OnexSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/PauseSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/PauseSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/PrinterSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/PrinterSvgIcon.js +1 -2
- package/build/js/private/ui/atoms/ProgressBar.d.ts +22 -22
- package/build/js/private/ui/atoms/ProgressBar.js +1 -1
- package/build/js/private/ui/atoms/QuestionMarkSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/QuestionMarkSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/RestartSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/RestartSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/RoundedCheckSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/RoundedCheckSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/RoundedCrossSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/RoundedCrossSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/RoundedExclamationMarkSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/RoundedExclamationMarkSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/ScanSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/ScanSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/ShutterButton.d.ts +34 -34
- package/build/js/private/ui/atoms/ShutterButton.js +1 -1
- package/build/js/private/ui/atoms/SlashSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/SlashSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/StarFilledSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/StarFilledSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/StarHalfFilledSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/StarHalfFilledSvgIcon.js +1 -2
- package/build/js/private/ui/atoms/StarOutlinedSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/StarOutlinedSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/SvgIcon.d.ts +2 -23
- package/build/js/private/ui/atoms/SvgIcon.js +1 -1
- package/build/js/private/ui/atoms/ToPickSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/ToPickSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/Toast.d.ts +41 -76
- package/build/js/private/ui/atoms/Toast.js +1 -1
- package/build/js/private/ui/atoms/TorchOffSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/TorchOffSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/TorchOnSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/TorchOnSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/TwoxSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/TwoxSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/WrongItemSvgIcon.d.ts +11 -12
- package/build/js/private/ui/atoms/WrongItemSvgIcon.js +1 -1
- package/build/js/private/ui/colors.d.ts +4 -5
- package/build/js/private/ui/colors.js +1 -1
- package/build/js/private/ui/molecules/ButtonEvents.d.ts +18 -18
- package/build/js/private/ui/molecules/ButtonEvents.js +1 -1
- package/build/js/private/ui/molecules/CameraFOVSwitchButton.d.ts +54 -57
- package/build/js/private/ui/molecules/CameraFOVSwitchButton.js +1 -1
- package/build/js/private/ui/molecules/CameraSwitchButton.d.ts +47 -50
- package/build/js/private/ui/molecules/CameraSwitchButton.js +1 -1
- package/build/js/private/ui/molecules/ControlsLayout.d.ts +12 -12
- package/build/js/private/ui/molecules/ControlsLayout.js +1 -1
- package/build/js/private/ui/molecules/HintPresenter.d.ts +2 -39
- package/build/js/private/ui/molecules/HintPresenter.js +1 -1
- package/build/js/private/ui/molecules/LoadingOverlay.d.ts +20 -20
- package/build/js/private/ui/molecules/LoadingOverlay.js +1 -1
- package/build/js/private/ui/molecules/TorchSwitchIconButton.d.ts +54 -60
- package/build/js/private/ui/molecules/TorchSwitchIconButton.js +1 -1
- package/build/js/private/ui/molecules/ZoomSwitchPill.d.ts +62 -65
- package/build/js/private/ui/molecules/ZoomSwitchPill.js +1 -1
- package/build/js/private/unsupportedBrowserError.d.ts +7 -7
- package/build/js/private/unsupportedBrowserError.js +1 -1
- package/build/js/private/utils/AnimationSimplePolyfill.d.ts +54 -54
- package/build/js/private/utils/AnimationSimplePolyfill.js +1 -1
- package/build/js/private/utils/AsyncStateMachine.d.ts +2 -49
- package/build/js/private/utils/AsyncStateMachine.js +1 -1
- package/build/js/private/utils/ScanditHTMLElement.d.ts +2 -6
- package/build/js/private/utils/ScanditHTMLElement.js +1 -1
- package/build/js/private/utils/areEqualArrays.d.ts +2 -4
- package/build/js/private/utils/areEqualArrays.js +1 -1
- package/build/js/private/utils/clamp.d.ts +2 -4
- package/build/js/private/utils/clamp.js +1 -1
- package/build/js/private/utils/cookieStore.d.ts +3 -3
- package/build/js/private/utils/cookieStore.js +1 -1
- package/build/js/private/utils/cookieStorePolyfill.d.ts +16 -16
- package/build/js/private/utils/cookieStorePolyfill.js +1 -1
- package/build/js/private/utils/css.d.ts +2 -4
- package/build/js/private/utils/css.js +1 -1
- package/build/js/private/utils/debounce.d.ts +2 -4
- package/build/js/private/utils/debounce.js +1 -1
- package/build/js/private/utils/deferred.d.ts +2 -9
- package/build/js/private/utils/deferred.js +1 -1
- package/build/js/private/utils/defineCustomElements.d.ts +2 -4
- package/build/js/private/utils/defineCustomElements.js +1 -1
- package/build/js/private/utils/domIdFromValues.d.ts +2 -18
- package/build/js/private/utils/domIdFromValues.js +1 -1
- package/build/js/private/utils/finalizationRegistryPolyfill.d.ts +3 -3
- package/build/js/private/utils/finalizationRegistryPolyfill.js +1 -1
- package/build/js/private/utils/fromEntries.d.ts +2 -14
- package/build/js/private/utils/fromEntries.js +1 -1
- package/build/js/private/utils/fromGrayScaleToRgba.d.ts +3 -3
- package/build/js/private/utils/fromGrayScaleToRgba.js +1 -1
- package/build/js/private/utils/getTimestamp.d.ts +3 -3
- package/build/js/private/utils/getTimestamp.js +1 -1
- package/build/js/private/utils/globalThisPolyfill.d.ts +3 -3
- package/build/js/private/utils/globalThisPolyfill.js +1 -1
- package/build/js/private/utils/html.d.ts +2 -60
- package/build/js/private/utils/html.js +1 -1
- package/build/js/private/utils/index.d.ts +21 -21
- package/build/js/private/utils/index.js +1 -1
- package/build/js/private/utils/isObject.d.ts +2 -4
- package/build/js/private/utils/isObject.js +1 -1
- package/build/js/private/utils/isPointerTouchEvent.d.ts +3 -3
- package/build/js/private/utils/isPointerTouchEvent.js +1 -1
- package/build/js/private/utils/isWorkerScope.d.ts +2 -4
- package/build/js/private/utils/isWorkerScope.js +1 -1
- package/build/js/private/utils/polyfillLoader.d.ts +11 -11
- package/build/js/private/utils/polyfillLoader.js +1 -1
- package/build/js/private/utils/quadrilateralUtils.d.ts +4 -6
- package/build/js/private/utils/quadrilateralUtils.js +1 -1
- package/build/js/private/utils/replaceImagesInViewUtils.d.ts +7 -43
- package/build/js/private/utils/replaceImagesInViewUtils.js +1 -1
- package/build/js/private/utils/safeCancelAnimation.d.ts +2 -53
- package/build/js/private/utils/safeCancelAnimation.js +1 -1
- package/build/js/private/utils/safeRequestAnimationFrame.d.ts +2 -23
- package/build/js/private/utils/safeRequestAnimationFrame.js +1 -1
- package/build/js/private/utils/safeStorage.d.ts +17 -17
- package/build/js/private/utils/safeStorage.js +1 -1
- package/build/js/private/utils/structuredClonePolyfill.d.ts +3 -3
- package/build/js/private/utils/structuredClonePolyfill.js +1 -1
- package/build/js/private/utils/throttle.d.ts +2 -4
- package/build/js/private/utils/throttle.js +1 -1
- package/build/js/private/utils/timeout.d.ts +2 -14
- package/build/js/private/utils/timeout.js +1 -1
- package/build/js/private/utils/unknownErrorToString.d.ts +2 -4
- package/build/js/private/utils/unknownErrorToString.js +1 -1
- package/build/js/private/utils/wait.d.ts +2 -4
- package/build/js/private/utils/wait.js +1 -1
- package/build/js/private/utils/waitTransitionEndForElement.d.ts +2 -4
- package/build/js/private/utils/waitTransitionEndForElement.js +1 -1
- package/build/js/private/utils/warnMultithreadingUnavailable.d.ts +3 -3
- package/build/js/private/utils/warnMultithreadingUnavailable.js +1 -2
- package/build/js/privateAccess-Cy_yPta4.d.ts +8 -0
- package/build/js/safeCancelAnimation-C9SG0625.d.ts +53 -0
- package/build/js/safeRequestAnimationFrame-CrVl8FPa.d.ts +23 -0
- package/build/js/throttle-ICpoGeaZ.d.ts +4 -0
- package/build/js/timeout-CHMzurwd.d.ts +14 -0
- package/build/js/translations-Bqx7KLdt.d.ts +12 -0
- package/build/js/translations.d.ts +2 -12
- package/build/js/translations.js +1 -1
- package/build/js/tsHelper-N1CSjsuN.d.ts +18 -0
- package/build/js/tsHelper.d.ts +2 -26
- package/build/js/tsHelper.js +1 -1
- package/build/js/unknownErrorToString-BGDQCTvQ.d.ts +4 -0
- package/build/js/wait-CRu1G76q.d.ts +4 -0
- package/build/js/waitTransitionEndForElement-BrVosj17.d.ts +4 -0
- package/build/js/worker/ImageConverterForwarder.d.ts +21 -57
- package/build/js/worker/ImageConverterForwarder.js +1 -1
- package/build/js/worker/ImageConverterWorker.d.ts +6 -7
- package/build/js/worker/ImageConverterWorker.js +1 -1
- package/build/js/worker/OverrideState.d.ts +2 -8
- package/build/js/worker/OverrideState.js +1 -1
- package/build/js/worker/ViewInfoHelper.d.ts +9 -46
- package/build/js/worker/ViewInfoHelper.js +1 -1
- package/build/js/worker/WorkerMain.d.ts +2 -63
- package/build/js/worker/WorkerMain.js +1 -1
- package/build/js/worker/dataCaptureEngine.d.ts +2 -39
- package/build/js/worker/dataCaptureEngine.js +1 -1
- package/build/js/worker/dataCaptureLoader.d.ts +2 -39
- package/build/js/worker/dataCaptureLoader.js +1 -1
- package/build/js/worker/dataCaptureWorkerRelated.d.ts +2 -39
- package/build/js/worker/dataCaptureWorkerRelated.js +1 -1
- package/build/js/worker/helper.d.ts +22 -13
- package/build/js/worker/helper.js +1 -1
- package/build/js/worker/helperFetch.d.ts +36 -22
- package/build/js/worker/helperFetch.js +1 -1
- package/build/js/worker/helperFs.d.ts +5 -5
- package/build/js/worker/helperFs.js +1 -1
- package/build/js/worker/importWasmScript.d.ts +3 -3
- package/build/js/worker/importWasmScript.js +1 -1
- package/build/js/worker/index.d.ts +2 -40
- package/build/js/worker/index.js +1 -1
- package/package.json +21 -11
- package/build/electron/chunk-6RVAZ75N.js +0 -1
- package/build/electron/common.cjs +0 -1
- package/build/electron/common.js +0 -0
- package/build/electron/constants.cjs +0 -1
- package/build/electron/constants.js +0 -1
- package/build/js/Camera-HgH6fwnW.d.ts +0 -410
- package/build/js/DataCaptureContext-Qg40v7QA.d.ts +0 -1740
- package/build/js/DataCaptureViewPlusRelated-BOrDBPHq.d.ts +0 -49
- package/build/js/chunks/chunk-24MGHMOY.js +0 -1
- package/build/js/chunks/chunk-2HTI5D6Y.js +0 -1
- package/build/js/chunks/chunk-2JIATMSD.js +0 -1
- package/build/js/chunks/chunk-2LSO6JEZ.js +0 -1
- package/build/js/chunks/chunk-3A4KLILV.js +0 -1
- package/build/js/chunks/chunk-3A7LM5JG.js +0 -1
- package/build/js/chunks/chunk-3KKUZY2T.js +0 -1
- package/build/js/chunks/chunk-3MKSI2DV.js +0 -1
- package/build/js/chunks/chunk-43GCMDYV.js +0 -1
- package/build/js/chunks/chunk-4BP7D26M.js +0 -1
- package/build/js/chunks/chunk-4F2Q2P2O.js +0 -1
- package/build/js/chunks/chunk-4KLHTKGW.js +0 -1
- package/build/js/chunks/chunk-4LGQ66HW.js +0 -1
- package/build/js/chunks/chunk-4QJAB4PO.js +0 -1
- package/build/js/chunks/chunk-4W2T3TLN.js +0 -1
- package/build/js/chunks/chunk-4WA2PCJE.js +0 -1
- package/build/js/chunks/chunk-4ZMCJXZS.js +0 -1
- package/build/js/chunks/chunk-5LXHD7FZ.js +0 -1
- package/build/js/chunks/chunk-5RCWM6NI.js +0 -1
- package/build/js/chunks/chunk-6AZW5IIG.js +0 -1
- package/build/js/chunks/chunk-6EEMWSEO.js +0 -1
- package/build/js/chunks/chunk-6H6FKGVE.js +0 -1
- package/build/js/chunks/chunk-6V2N4XHI.js +0 -1
- package/build/js/chunks/chunk-6W7FX6LD.js +0 -1
- package/build/js/chunks/chunk-76IGNICM.js +0 -1
- package/build/js/chunks/chunk-7HYFN4JO.js +0 -1
- package/build/js/chunks/chunk-7LTHFX4E.js +0 -1
- package/build/js/chunks/chunk-7OFC24NE.js +0 -1
- package/build/js/chunks/chunk-7SA74NKD.js +0 -0
- package/build/js/chunks/chunk-7SW2PEHB.js +0 -1
- package/build/js/chunks/chunk-AAEQZ45T.js +0 -1
- package/build/js/chunks/chunk-AAPD5YU3.js +0 -1
- package/build/js/chunks/chunk-ACFJP5SR.js +0 -1
- package/build/js/chunks/chunk-AE2LWVIB.js +0 -1
- package/build/js/chunks/chunk-AIC4H5KG.js +0 -2
- package/build/js/chunks/chunk-AIRWHLJH.js +0 -1
- package/build/js/chunks/chunk-ALQOQOAM.js +0 -1
- package/build/js/chunks/chunk-AZWFNBVA.js +0 -1
- package/build/js/chunks/chunk-BA3RP6L2.js +0 -1
- package/build/js/chunks/chunk-BDGRWHLY.js +0 -1
- package/build/js/chunks/chunk-BDLLVGRH.js +0 -1
- package/build/js/chunks/chunk-BZAQMYII.js +0 -1
- package/build/js/chunks/chunk-CAHJ3YOV.js +0 -1
- package/build/js/chunks/chunk-CAUB35PV.js +0 -1
- package/build/js/chunks/chunk-CD2BU66N.js +0 -1
- package/build/js/chunks/chunk-CERFU73N.js +0 -1
- package/build/js/chunks/chunk-CGK5V6XZ.js +0 -1
- package/build/js/chunks/chunk-CRUOVJHW.js +0 -1
- package/build/js/chunks/chunk-CX2R2XQK.js +0 -1
- package/build/js/chunks/chunk-CZI3JAVS.js +0 -35
- package/build/js/chunks/chunk-D222MT4V.js +0 -1
- package/build/js/chunks/chunk-DGDPZ73X.js +0 -1
- package/build/js/chunks/chunk-DGIQ3GF7.js +0 -1
- package/build/js/chunks/chunk-DN32UPQC.js +0 -1
- package/build/js/chunks/chunk-DZE2EYSZ.js +0 -1
- package/build/js/chunks/chunk-E4XJ4GKD.js +0 -1
- package/build/js/chunks/chunk-EMLXDXWN.js +0 -1
- package/build/js/chunks/chunk-ENYHCJGH.js +0 -1
- package/build/js/chunks/chunk-EP3GI7KA.js +0 -1
- package/build/js/chunks/chunk-EQ6V4W5K.js +0 -1
- package/build/js/chunks/chunk-EQRBQJYM.js +0 -1
- package/build/js/chunks/chunk-EV4OEANA.js +0 -1
- package/build/js/chunks/chunk-F2GMW4LP.js +0 -1
- package/build/js/chunks/chunk-FGO2SSRS.js +0 -1
- package/build/js/chunks/chunk-FHUC75ND.js +0 -1
- package/build/js/chunks/chunk-FR24G4R7.js +0 -1
- package/build/js/chunks/chunk-FTD535WI.js +0 -1
- package/build/js/chunks/chunk-G2BRTVN7.js +0 -1
- package/build/js/chunks/chunk-G7ORIX4S.js +0 -1
- package/build/js/chunks/chunk-GHR3BSUQ.js +0 -1
- package/build/js/chunks/chunk-GHTCNOQN.js +0 -1
- package/build/js/chunks/chunk-GPJEB376.js +0 -1
- package/build/js/chunks/chunk-GPPCTFZF.js +0 -1
- package/build/js/chunks/chunk-GPUTPXQM.js +0 -1
- package/build/js/chunks/chunk-GQ7A6533.js +0 -1
- package/build/js/chunks/chunk-GULNUBED.js +0 -1
- package/build/js/chunks/chunk-GVHXM75D.js +0 -1
- package/build/js/chunks/chunk-HBPGHXF2.js +0 -1
- package/build/js/chunks/chunk-I6SWF3FQ.js +0 -1
- package/build/js/chunks/chunk-IASACVTH.js +0 -1
- package/build/js/chunks/chunk-IJQG3OU6.js +0 -1
- package/build/js/chunks/chunk-IMXMNDKM.js +0 -1
- package/build/js/chunks/chunk-J3HHOJE3.js +0 -1
- package/build/js/chunks/chunk-JCKM5IJO.js +0 -0
- package/build/js/chunks/chunk-JFRSUCMO.js +0 -31
- package/build/js/chunks/chunk-JIGCOX5J.js +0 -1
- package/build/js/chunks/chunk-JS3T7K2Z.js +0 -1
- package/build/js/chunks/chunk-KAFNKP6O.js +0 -1
- package/build/js/chunks/chunk-KSCFPJAW.js +0 -1
- package/build/js/chunks/chunk-KXAJHLEO.js +0 -1
- package/build/js/chunks/chunk-KYNYQBNF.js +0 -17
- package/build/js/chunks/chunk-KZEBJGMU.js +0 -6
- package/build/js/chunks/chunk-L2STPTEN.js +0 -1
- package/build/js/chunks/chunk-L66S4DN2.js +0 -1
- package/build/js/chunks/chunk-LA6TM76R.js +0 -1
- package/build/js/chunks/chunk-LFJUGRQV.js +0 -1
- package/build/js/chunks/chunk-LSZZVJ6B.js +0 -1
- package/build/js/chunks/chunk-LV6LGCDC.js +0 -1
- package/build/js/chunks/chunk-LXOZUOZU.js +0 -1
- package/build/js/chunks/chunk-MA3GV76P.js +0 -1
- package/build/js/chunks/chunk-MA6UDVDJ.js +0 -1
- package/build/js/chunks/chunk-MBQZOWWF.js +0 -1
- package/build/js/chunks/chunk-N5YZEC56.js +0 -1
- package/build/js/chunks/chunk-NIKRAADM.js +0 -1
- package/build/js/chunks/chunk-NQF3GUK2.js +0 -1
- package/build/js/chunks/chunk-NVK73TNL.js +0 -1
- package/build/js/chunks/chunk-NYYGU4ZV.js +0 -1
- package/build/js/chunks/chunk-O4HDBWKK.js +0 -1
- package/build/js/chunks/chunk-O7EM4VIM.js +0 -1
- package/build/js/chunks/chunk-O7TZTIHO.js +0 -1
- package/build/js/chunks/chunk-OLUNDJBC.js +0 -1
- package/build/js/chunks/chunk-ORP45GHJ.js +0 -1
- package/build/js/chunks/chunk-OX64CCOP.js +0 -1
- package/build/js/chunks/chunk-Q7JWDX4U.js +0 -1
- package/build/js/chunks/chunk-QBDQQMQ5.js +0 -1
- package/build/js/chunks/chunk-QCRFVRSS.js +0 -1
- package/build/js/chunks/chunk-QCZSSQAQ.js +0 -1
- package/build/js/chunks/chunk-QFSNPY5Y.js +0 -1
- package/build/js/chunks/chunk-QG3MRQMP.js +0 -1
- package/build/js/chunks/chunk-QHBIT2WY.js +0 -1
- package/build/js/chunks/chunk-QIWPWOQG.js +0 -1
- package/build/js/chunks/chunk-QOCHMKNY.js +0 -1
- package/build/js/chunks/chunk-QQEY536Q.js +0 -1
- package/build/js/chunks/chunk-QUWP3ILW.js +0 -1
- package/build/js/chunks/chunk-R6E4CT22.js +0 -1
- package/build/js/chunks/chunk-R6SUMD5F.js +0 -1
- package/build/js/chunks/chunk-RG272MAJ.js +0 -1
- package/build/js/chunks/chunk-RSQRPDVQ.js +0 -1
- package/build/js/chunks/chunk-RXDVYEE5.js +0 -1
- package/build/js/chunks/chunk-RXPPTQAB.js +0 -1
- package/build/js/chunks/chunk-RXT3JWWR.js +0 -1
- package/build/js/chunks/chunk-RZTXUIJ5.js +0 -0
- package/build/js/chunks/chunk-SBC5K7IT.js +0 -1
- package/build/js/chunks/chunk-SEAVQZN6.js +0 -1
- package/build/js/chunks/chunk-SGL5J2CI.js +0 -1
- package/build/js/chunks/chunk-SHM7SU3B.js +0 -1
- package/build/js/chunks/chunk-SJIN27Q5.js +0 -1
- package/build/js/chunks/chunk-SK6L34IF.js +0 -1
- package/build/js/chunks/chunk-SNP4G4KV.js +0 -0
- package/build/js/chunks/chunk-T3AOBMAS.js +0 -1
- package/build/js/chunks/chunk-TKO5JMMS.js +0 -1
- package/build/js/chunks/chunk-TMIZ6Z75.js +0 -1
- package/build/js/chunks/chunk-TPHGDMKG.js +0 -1
- package/build/js/chunks/chunk-TR3NGINC.js +0 -1
- package/build/js/chunks/chunk-TTGJAMI2.js +0 -1
- package/build/js/chunks/chunk-U2WQ3WDE.js +0 -1
- package/build/js/chunks/chunk-U4IMOTYL.js +0 -1
- package/build/js/chunks/chunk-U6MFAGMG.js +0 -1
- package/build/js/chunks/chunk-U7ETOWGJ.js +0 -1
- package/build/js/chunks/chunk-UNO6YIIA.js +0 -1
- package/build/js/chunks/chunk-UWBNF47P.js +0 -1
- package/build/js/chunks/chunk-UWLAKRB2.js +0 -2
- package/build/js/chunks/chunk-UZWBB65W.js +0 -1
- package/build/js/chunks/chunk-V2OKMBZD.js +0 -1
- package/build/js/chunks/chunk-VJB527QZ.js +0 -1
- package/build/js/chunks/chunk-VSROWPI6.js +0 -1
- package/build/js/chunks/chunk-W33RVR5M.js +0 -1
- package/build/js/chunks/chunk-W3X3ZRQZ.js +0 -1
- package/build/js/chunks/chunk-W7VB532D.js +0 -1
- package/build/js/chunks/chunk-WARGMW7Z.js +0 -1
- package/build/js/chunks/chunk-WFKB322J.js +0 -1
- package/build/js/chunks/chunk-WGLHZXRT.js +0 -1
- package/build/js/chunks/chunk-WUHKODFA.js +0 -1
- package/build/js/chunks/chunk-XFQTFQYR.js +0 -1
- package/build/js/chunks/chunk-XR65N6EG.js +0 -1
- package/build/js/chunks/chunk-Y3TODCJD.js +0 -1
- package/build/js/chunks/chunk-Y7BTRVB4.js +0 -2
- package/build/js/chunks/chunk-Y7V35LNT.js +0 -1
- package/build/js/chunks/chunk-Y7ZNLVR2.js +0 -1
- package/build/js/chunks/chunk-YE2GYNRP.js +0 -1
- package/build/js/chunks/chunk-YJNJGCAN.js +0 -1
- package/build/js/chunks/chunk-YONR3EGV.js +0 -2
- package/build/js/chunks/chunk-YOTQPBO6.js +0 -1
- package/build/js/chunks/chunk-YRNH7TIR.js +0 -0
- package/build/js/chunks/chunk-YUZDO2PC.js +0 -1
- package/build/js/chunks/chunk-Z5LRFYGI.js +0 -1
- package/build/js/chunks/chunk-ZAXZRQYF.js +0 -1
- package/build/js/chunks/chunk-ZCF62ALL.js +0 -1
- package/build/js/chunks/chunk-ZKROZLQ4.js +0 -2
- package/build/js/common-4FJYEFaM.d.ts +0 -25
- package/build/js/global.d.js +0 -0
- package/build/js/private/ViewControls+related.js +0 -1
- package/build/js/worker/coreCapture.inlineWorker.d.ts +0 -46
- package/build/js/worker/coreCapture.inlineWorker.js +0 -1
- package/build/js/worker/inlineWorker.d.d.ts +0 -5
- package/build/js/worker/inlineWorker.d.js +0 -0
package/build/js/index.d.ts
CHANGED
|
@@ -1,78 +1,57 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
export { DeepMutable, DeepPartial, DistributiveKeyOf, MethodSignature, Mutable, Optional, Prettify, assert, assertUnreachable, assertUnreachableThrowException
|
|
58
|
-
export { Vibration } from './Vibration.js';
|
|
59
|
-
export { NoViewfinder, Viewfinder } from './Viewfinder.js';
|
|
60
|
-
export { AimerViewfinderJSON, LaserlineViewfinderJSON, PrivateLaserlineViewfinderDefault, PrivateRectangularViewfinderAnimation, PrivateRectangularViewfinderDefault, RectangularViewfinderAnimation, RectangularViewfinderJSON, RectangularViewfinderLineStyle, RectangularViewfinderStyle, ViewfinderJSON, ViewfinderType, ViewfinderTypeAimer, ViewfinderTypeLaserLine, ViewfinderTypeNone, ViewfinderTypeRectangular, ViewfinderTypeTargetAimer } from './ViewfinderPlusRelated.js';
|
|
61
|
-
export { INTERNAL_ACCESS } from './private/privateAccess.js';
|
|
62
|
-
export { WorkerMain } from './worker/WorkerMain.js';
|
|
63
|
-
import './private/Serializable.js';
|
|
64
|
-
import './private/nativeHandle.js';
|
|
65
|
-
import './private/CustomLocationsView.js';
|
|
66
|
-
import './private/View.js';
|
|
67
|
-
import './license/OpenSourceSoftwareLicenseInfo.js';
|
|
68
|
-
import './private/FrameReaders/ColorType.js';
|
|
69
|
-
import './private/BatteryInterface.js';
|
|
70
|
-
import './private/djinni-types/index.js';
|
|
71
|
-
import './private/HtmlElementState.js';
|
|
72
|
-
import './private/utils/AsyncStateMachine.js';
|
|
73
|
-
import './private/ui/atoms/SvgIcon.js';
|
|
74
|
-
import 'csstype';
|
|
75
|
-
|
|
76
|
-
type PrivateCaptureModuleName = "BarcodeCapture" | "IdCapture" | "Parser" | "LabelCapture";
|
|
77
|
-
|
|
78
|
-
export type { PrivateCaptureModuleName };
|
|
1
|
+
import { n as ColorJSON, t as Color } from "./Color-qNIvVO9c.js";
|
|
2
|
+
import { t as MeasureUnit } from "./MeasureUnit-D14sZoRp.js";
|
|
3
|
+
import { n as NumberWithUnitJSON, t as NumberWithUnit } from "./NumberWithUnit-UGwoucuQ.js";
|
|
4
|
+
import { t as SizingMode } from "./SizeMode-CkAAaxIg.js";
|
|
5
|
+
import { t as SizeWithAspect } from "./SizeWithAspect-Dg-YCV1Q.js";
|
|
6
|
+
import { n as SizeWithUnitJSON, t as SizeWithUnit } from "./SizeWithUnit-CNgvxsVj.js";
|
|
7
|
+
import { n as SizeWithUnitAndAspectJSON, t as SizeWithUnitAndAspect } from "./SizeWithUnitAndAspect-BrtiXpsG.js";
|
|
8
|
+
import { a as PrivateRectangularViewfinderDefault, c as RectangularViewfinderLineStyle, d as ViewfinderType, f as ViewfinderTypeAimer, g as ViewfinderTypeTargetAimer, h as ViewfinderTypeRectangular, i as PrivateRectangularViewfinderAnimation, l as RectangularViewfinderStyle, m as ViewfinderTypeNone, n as LaserlineViewfinderJSON, o as RectangularViewfinderAnimation, p as ViewfinderTypeLaserLine, r as PrivateLaserlineViewfinderDefault, s as RectangularViewfinderJSON, t as AimerViewfinderJSON, u as ViewfinderJSON } from "./ViewfinderPlusRelated-CuUarlQb.js";
|
|
9
|
+
import { n as Viewfinder, t as NoViewfinder } from "./Viewfinder-DTjfkI0v.js";
|
|
10
|
+
import { t as AimerViewfinder } from "./AimerViewfinder-bCf_UrQu.js";
|
|
11
|
+
import { n as BrushJSON, t as Brush } from "./Brush-D6WUoW36.js";
|
|
12
|
+
import { _ as VideoResolution, a as CameraPosition, c as CameraSettingsJSON, d as FrameSource, f as FrameSourceJSON, g as TorchState, h as PrivateCameraExtraProperties, i as ZoomListener, l as CameraSettingsJSONBase, m as FrameSourceState, n as CameraJSON, o as CameraSettings, p as FrameSourceListener, r as VideoFrameResolution, s as CameraSettingsFromJSON, t as Camera, u as FocusGestureStrategy, v as isCameraFrameSource } from "./Camera-C7TNwqRo.js";
|
|
13
|
+
import { n as PointJSON, t as Point } from "./Point-CD9Qi9ID.js";
|
|
14
|
+
import { n as SizeJSON, t as Size } from "./Size-i8Zhfc5b.js";
|
|
15
|
+
import { n as RectJSON, t as Rect } from "./Rect-BVo37EKG.js";
|
|
16
|
+
import { t as INTERNAL_ACCESS } from "./privateAccess-Cy_yPta4.js";
|
|
17
|
+
import { i as loadingStatus, n as LoadingStatusSubscriber, r as ProgressInfo, t as LoadingStatus } from "./LoadingStatus-0KzcUFiY.js";
|
|
18
|
+
import { t as OverrideState } from "./OverrideState-CGTOUAyb.js";
|
|
19
|
+
import { n as Feature, t as BrowserCompatibility } from "./browserCompatibility-DD4Tvtlv.js";
|
|
20
|
+
import { n as DisplayMode, t as BrowserHelper } from "./browserHelper-Dno5no9Z.js";
|
|
21
|
+
import { t as Anchor } from "./Anchor-DxO9CbHk.js";
|
|
22
|
+
import { t as Direction } from "./Direction-Cii3d0QY.js";
|
|
23
|
+
import { t as JSONType } from "./JSONType-BJv7BUtr.js";
|
|
24
|
+
import { n as MarginsWithUnitJSON, t as MarginsWithUnit } from "./MarginsWithUnit-BHhnV4t0.js";
|
|
25
|
+
import { t as Orientation } from "./Orientation-BNtNH3yS.js";
|
|
26
|
+
import { n as PointWithUnitJSON, t as PointWithUnit } from "./PointWithUnit-C_e8HUvk.js";
|
|
27
|
+
import { n as QuadrilateralJSON, t as Quadrilateral } from "./Quadrilateral-DbJ7LU2U.js";
|
|
28
|
+
import { n as RectWithUnitJSON, t as RectWithUnit } from "./RectWithUnit-OJ1xPlBN.js";
|
|
29
|
+
import { a as SwipeToZoom, c as ZoomGestureJSON, i as PinchToZoom, l as ZoomGestureListener, n as FocusGestureJSON, o as TapToFocus, r as LogoStyle, s as ZoomGesture, t as FocusGesture } from "./DataCaptureViewPlusRelated-DcAi6mWY.js";
|
|
30
|
+
import { t as ScanditHTMLElement } from "./ScanditHTMLElement-CrbGsFpn.js";
|
|
31
|
+
import { n as ScanditIconShape, t as ScanditIcon } from "./ScanditIcon-FRMSos7x.js";
|
|
32
|
+
import { t as NotificationStyle } from "./NotificationStyle-COZXqLGO.js";
|
|
33
|
+
import { t as NotificationConfiguration } from "./NotificationConfiguration-C-1Vhrpo.js";
|
|
34
|
+
import { t as NotificationPresenter } from "./NotificationPresenter-D0g_arAJ.js";
|
|
35
|
+
import { n as AnchorPositionsJSON, t as AnchorPositions } from "./AnchorPositions-4M8lB28_.js";
|
|
36
|
+
import { t as AdditionalLayerPosition } from "./AdditionalLayerPosition-D_ouQ8wn.js";
|
|
37
|
+
import { A as ModuleLoader, Bn as ZoomSwitchControl, C as PrivateCaptureModuleName, D as DataCaptureLoader, Gn as ControlType, Hn as CameraSwitchControl, Jn as DataCaptureOverlay, M as PrivateLoadableFrameData, N as convertToPublicFrameData, O as DataCaptureLoaderOptions, Qn as DataCaptureViewListener, S as PrivateMirrorAxis, Un as CameraFOVSwitchControl, Vn as TorchSwitchControl, Wn as Control, Xn as DataCaptureViewConnectOptions, Yn as DataCaptureView, Zn as DataCaptureViewJSON, _ as PrivateFrameHandler, a as DataCaptureContextCreationOptions, b as ContextStatusJSON, c as DataCaptureMode, d as PrivateCapabilityInfo, f as PrivateChangeSet, g as PrivateDataCaptureMode, h as PrivateDataCaptureContextOptions, i as DataCaptureContext, j as FrameData, k as WorkerMain, l as DataCaptureModeJSON, m as PrivateDataCaptureContext, n as DataCaptureComponent, o as DataCaptureContextJSON, p as PrivateDataCaptureComponent, r as DataCaptureComponentJSON, s as DataCaptureContextState, t as Change, u as ModuleLoaderOptions, v as PrivateFrameHandlerResponse, x as DataCaptureContextListener, y as ContextStatus } from "./DataCaptureContext-CYDrBO6_.js";
|
|
38
|
+
import { t as ZoomSwitchOrientation } from "./ZoomSwitchOrientation-Deylpp5l.js";
|
|
39
|
+
import { n as DataCaptureContextSettingsJSON, t as DataCaptureContextSettings } from "./DataCaptureContextSettings-jR9ArFal.js";
|
|
40
|
+
import { n as DataCaptureErrorDetails, t as DataCaptureError } from "./DataCaptureError-fm19xgXy.js";
|
|
41
|
+
import { t as DataCaptureVersion } from "./DataCaptureVersion-CoBugUHX.js";
|
|
42
|
+
import { t as Sound } from "./Sound-ByTzZ3ia.js";
|
|
43
|
+
import { t as Vibration } from "./Vibration-B1J9JMda.js";
|
|
44
|
+
import { n as FeedbackJSON, t as Feedback } from "./Feedback-D4kA2xWA.js";
|
|
45
|
+
import { a as Mutable, c as assert, i as MethodSignature, l as assertUnreachable, n as DeepPartial, o as Optional, r as DistributiveKeyOf, s as Prettify, t as DeepMutable, u as assertUnreachableThrowException } from "./tsHelper-N1CSjsuN.js";
|
|
46
|
+
import { t as Logger } from "./logger-D9wplwND.js";
|
|
47
|
+
import { n as ImageFrameSourceJSON, t as ImageFrameSource } from "./ImageFrameSource-YH6FmhqZ.js";
|
|
48
|
+
import { t as LaserlineViewfinder } from "./LaserlineViewfinder-Dkc264QQ.js";
|
|
49
|
+
import { n as Translations } from "./translations-Bqx7KLdt.js";
|
|
50
|
+
import { n as LocalizationSubscriber, r as LocalizationSubscription, t as Localization } from "./Localization-LoX2FWJO.js";
|
|
51
|
+
import { a as RectangularLocationSelection, i as RadiusLocationSelection, n as LocationSelectionJSON, r as PrivateNoneLocationSelection, t as LocationSelection } from "./LocationSelection-BXqyUc16.js";
|
|
52
|
+
import { t as NotificationBuilder } from "./NotificationBuilder-B3uY_ZbG.js";
|
|
53
|
+
import { t as RectangularViewfinder } from "./RectangularViewfinder-j93qfYTd.js";
|
|
54
|
+
import { n as ScanditIconForIconType, r as ScanditIconType, t as ScanditIconBuilder } from "./ScanditIconBuilder-BtnTaVeJ.js";
|
|
55
|
+
import { n as SingleImageUploaderSettingsJSON, t as SingleImageUploaderSettings } from "./SingleImageUploaderSettings-Y-cG1lpl.js";
|
|
56
|
+
import { n as SingleImageUploaderJSON, r as SingleImageUploaderType, t as SingleImageUploader } from "./SingleImageUploader-CRDpQ9PA.js";
|
|
57
|
+
export { AdditionalLayerPosition, AimerViewfinder, AimerViewfinderJSON, Anchor, AnchorPositions, AnchorPositionsJSON, BrowserCompatibility, BrowserHelper, Brush, BrushJSON, Camera, CameraFOVSwitchControl, CameraJSON, CameraPosition, CameraSettings, CameraSettingsFromJSON, CameraSettingsJSON, CameraSettingsJSONBase, CameraSwitchControl, Change, Color, ColorJSON, ContextStatus, ContextStatusJSON, Control, ControlType, DataCaptureComponent, DataCaptureComponentJSON, DataCaptureContext, DataCaptureContextCreationOptions, DataCaptureContextJSON, DataCaptureContextListener, DataCaptureContextSettings, DataCaptureContextSettingsJSON, DataCaptureContextState, DataCaptureError, DataCaptureErrorDetails, DataCaptureLoader, DataCaptureLoaderOptions, DataCaptureMode, DataCaptureModeJSON, DataCaptureOverlay, DataCaptureVersion, DataCaptureView, DataCaptureViewConnectOptions, DataCaptureViewJSON, DataCaptureViewListener, DeepMutable, DeepPartial, Direction, DisplayMode, DistributiveKeyOf, Feature, Feedback, FeedbackJSON, FocusGesture, FocusGestureJSON, FocusGestureStrategy, FrameData, FrameSource, FrameSourceJSON, FrameSourceListener, FrameSourceState, INTERNAL_ACCESS, ImageFrameSource, ImageFrameSourceJSON, JSONType, LaserlineViewfinder, LaserlineViewfinderJSON, LoadingStatus, LoadingStatusSubscriber, Localization, LocalizationSubscriber, LocalizationSubscription, LocationSelection, LocationSelectionJSON, Logger, LogoStyle, MarginsWithUnit, MarginsWithUnitJSON, MeasureUnit, MethodSignature, ModuleLoader, ModuleLoaderOptions, Mutable, NoViewfinder, NotificationBuilder, NotificationConfiguration, NotificationPresenter, NotificationStyle, NumberWithUnit, NumberWithUnitJSON, Optional, Orientation, OverrideState, PinchToZoom, Point, PointJSON, PointWithUnit, PointWithUnitJSON, Prettify, PrivateCameraExtraProperties, PrivateCapabilityInfo, PrivateCaptureModuleName, PrivateChangeSet, PrivateDataCaptureComponent, PrivateDataCaptureContext, PrivateDataCaptureContextOptions, PrivateDataCaptureMode, PrivateFrameHandler, PrivateFrameHandlerResponse, PrivateLaserlineViewfinderDefault, PrivateLoadableFrameData, PrivateMirrorAxis, PrivateNoneLocationSelection, PrivateRectangularViewfinderAnimation, PrivateRectangularViewfinderDefault, ProgressInfo, Quadrilateral, QuadrilateralJSON, RadiusLocationSelection, Rect, RectJSON, RectWithUnit, RectWithUnitJSON, RectangularLocationSelection, RectangularViewfinder, RectangularViewfinderAnimation, RectangularViewfinderJSON, RectangularViewfinderLineStyle, RectangularViewfinderStyle, ScanditHTMLElement, ScanditIcon, ScanditIconBuilder, ScanditIconForIconType, ScanditIconShape, ScanditIconType, SingleImageUploader, SingleImageUploaderJSON, SingleImageUploaderSettings, SingleImageUploaderSettingsJSON, SingleImageUploaderType, Size, SizeJSON, SizeWithAspect, SizeWithUnit, SizeWithUnitAndAspect, SizeWithUnitAndAspectJSON, SizeWithUnitJSON, SizingMode, Sound, SwipeToZoom, TapToFocus, TorchState, TorchSwitchControl, Translations, Vibration, VideoFrameResolution, VideoResolution, Viewfinder, ViewfinderJSON, ViewfinderType, ViewfinderTypeAimer, ViewfinderTypeLaserLine, ViewfinderTypeNone, ViewfinderTypeRectangular, ViewfinderTypeTargetAimer, WorkerMain, ZoomGesture, ZoomGestureJSON, ZoomGestureListener, ZoomListener, ZoomSwitchControl, ZoomSwitchOrientation, assert, assertUnreachable, assertUnreachableThrowException, convertToPublicFrameData, isCameraFrameSource, loadingStatus };
|
package/build/js/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import{n as e,t}from"./browserHelper-BQPnAZ2Y.js";import{Color as n}from"./commons/Color.js";import{NumberWithUnit as r}from"./commons/NumberWithUnit.js";import{SizingMode as i}from"./commons/SizeMode.js";import{SizeWithAspect as a}from"./commons/SizeWithAspect.js";import{SizeWithUnit as o}from"./commons/SizeWithUnit.js";import{SizeWithUnitAndAspect as s}from"./commons/SizeWithUnitAndAspect.js";import{RectangularViewfinderAnimation as c,RectangularViewfinderLineStyle as l,RectangularViewfinderStyle as u}from"./ViewfinderPlusRelated.js";import{AimerViewfinder as d}from"./AimerViewfinder.js";import{Brush as f}from"./Brush.js";import{Logger as p}from"./logger.js";import{Feature as m}from"./browserCompatibility.js";import{CameraPosition as h,CameraSettings as g,FocusGestureStrategy as _,FrameSourceState as v,TorchState as y,VideoResolution as b,isCameraFrameSource as x}from"./CameraRelated.js";import{DataCaptureError as S}from"./DataCaptureError.js";import{Point as C}from"./commons/Point.js";import{Rect as w}from"./commons/Rect.js";import{Size as T}from"./commons/Size.js";import{INTERNAL_ACCESS as E}from"./private/privateAccess.js";import{assert as D,assertUnreachable as O,assertUnreachableThrowException as k}from"./tsHelper.js";import{Camera as A}from"./Camera.js";import{ContextStatus as j,PrivateMirrorAxis as M}from"./DataCaptureContextRelated.js";import{DataCaptureContextSettings as N}from"./DataCaptureContextSettings.js";import{Localization as P}from"./Localization.js";import{OverrideState as F}from"./worker/OverrideState.js";import I from"./LoadingStatus.js";import{t as L}from"./DataCaptureContext-CbQes_57.js";import{ScanditHTMLElement as R}from"./private/utils/ScanditHTMLElement.js";import{DataCaptureVersion as z}from"./DataCaptureVersion.js";import{NotificationConfiguration as B}from"./NotificationPresenter/NotificationConfiguration.js";import{NotificationStyle as V}from"./NotificationPresenter/NotificationStyle.js";import{MeasureUnit as H}from"./commons/MeasureUnit.js";import{MarginsWithUnit as U}from"./commons/MarginsWithUnit.js";import{Orientation as W}from"./commons/Orientation.js";import{Quadrilateral as G}from"./commons/Quadrilateral.js";import{Anchor as K}from"./commons/Anchor.js";import{AnchorPositions as q}from"./private/AnchorPositions.js";import{PointWithUnit as J}from"./commons/PointWithUnit.js";import{LogoStyle as Y,PinchToZoom as X,SwipeToZoom as Z,TapToFocus as Q}from"./DataCaptureViewPlusRelated.js";import{AdditionalLayerPosition as $}from"./private/AdditionalLayerPosition.js";import{DataCaptureView as ee}from"./DataCaptureView.js";import{Sound as te}from"./Sound.js";import{Vibration as ne}from"./Vibration.js";import{Feedback as re}from"./Feedback.js";import{convertToPublicFrameData as ie}from"./FrameData.js";import{ImageFrameSource as ae}from"./ImageFrameSource.js";import{LaserlineViewfinder as oe}from"./LaserlineViewfinder.js";import{PrivateNoneLocationSelection as se,RadiusLocationSelection as ce,RectangularLocationSelection as le}from"./LocationSelection.js";import{RectangularViewfinder as ue}from"./RectangularViewfinder.js";import{ScanditIcon as de,ScanditIconShape as fe}from"./ScanditIcon.js";import{ScanditIconBuilder as pe,ScanditIconForIconType as me,ScanditIconType as he}from"./ScanditIconBuilder.js";import{SingleImageUploaderSettings as ge}from"./SingleImageUploaderSettings.js";import{SingleImageUploader as _e}from"./SingleImageUploader.js";import{NoViewfinder as ve}from"./Viewfinder.js";import{ZoomSwitchOrientation as ye}from"./ZoomSwitchOrientation.js";import{Direction as be}from"./commons/Direction.js";import{RectWithUnit as xe}from"./commons/RectWithUnit.js";import{CameraFOVSwitchControl as Se}from"./controls/CameraFOVSwitchControl.js";import{CameraSwitchControl as Ce}from"./controls/CameraSwitchControl.js";import{TorchSwitchControl as we}from"./controls/TorchSwitchControl.js";import{ZoomSwitchControl as Te}from"./controls/ZoomSwitchControl.js";import"./controls/index.js";import"./moduleLoader.js";import{NotificationBuilder as Ee}from"./NotificationPresenter/NotificationBuilder.js";import"./NotificationPresenter/index.js";import{DataCaptureLoader as De}from"./worker/dataCaptureLoader.js";import{WorkerMain as Oe}from"./worker/WorkerMain.js";export{$ as AdditionalLayerPosition,d as AimerViewfinder,K as Anchor,q as AnchorPositions,t as BrowserHelper,f as Brush,A as Camera,Se as CameraFOVSwitchControl,h as CameraPosition,g as CameraSettings,Ce as CameraSwitchControl,n as Color,j as ContextStatus,L as DataCaptureContext,N as DataCaptureContextSettings,S as DataCaptureError,De as DataCaptureLoader,z as DataCaptureVersion,ee as DataCaptureView,be as Direction,e as DisplayMode,m as Feature,re as Feedback,_ as FocusGestureStrategy,v as FrameSourceState,E as INTERNAL_ACCESS,ae as ImageFrameSource,oe as LaserlineViewfinder,P as Localization,p as Logger,Y as LogoStyle,U as MarginsWithUnit,H as MeasureUnit,ve as NoViewfinder,Ee as NotificationBuilder,B as NotificationConfiguration,V as NotificationStyle,r as NumberWithUnit,W as Orientation,F as OverrideState,X as PinchToZoom,C as Point,J as PointWithUnit,M as PrivateMirrorAxis,se as PrivateNoneLocationSelection,G as Quadrilateral,ce as RadiusLocationSelection,w as Rect,xe as RectWithUnit,le as RectangularLocationSelection,ue as RectangularViewfinder,c as RectangularViewfinderAnimation,l as RectangularViewfinderLineStyle,u as RectangularViewfinderStyle,R as ScanditHTMLElement,de as ScanditIcon,pe as ScanditIconBuilder,me as ScanditIconForIconType,fe as ScanditIconShape,he as ScanditIconType,_e as SingleImageUploader,ge as SingleImageUploaderSettings,T as Size,a as SizeWithAspect,o as SizeWithUnit,s as SizeWithUnitAndAspect,i as SizingMode,te as Sound,Z as SwipeToZoom,Q as TapToFocus,y as TorchState,we as TorchSwitchControl,ne as Vibration,b as VideoResolution,Oe as WorkerMain,Te as ZoomSwitchControl,ye as ZoomSwitchOrientation,D as assert,O as assertUnreachable,k as assertUnreachableThrowException,ie as convertToPublicFrameData,x as isCameraFrameSource,I as loadingStatus};
|
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
private _licenseText;
|
|
4
|
-
constructor(licenseText: string);
|
|
5
|
-
get licenseText(): string;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export { OpenSourceSoftwareLicenseInfo };
|
|
1
|
+
import { t as OpenSourceSoftwareLicenseInfo } from "../OpenSourceSoftwareLicenseInfo-CpjUKTrl.js";
|
|
2
|
+
export { OpenSourceSoftwareLicenseInfo };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
var e=class{constructor(e){this._licenseText=e}get licenseText(){return this._licenseText}};export{e as OpenSourceSoftwareLicenseInfo};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
//#region src/main/logger.d.ts
|
|
2
|
+
declare namespace Logger {
|
|
3
|
+
/**
|
|
4
|
+
* Log level.
|
|
5
|
+
*/
|
|
6
|
+
enum Level {
|
|
7
|
+
Debug = "debug",
|
|
8
|
+
Info = "info",
|
|
9
|
+
Warn = "warn",
|
|
10
|
+
Error = "error",
|
|
11
|
+
Quiet = "quiet"
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @param level The log level.
|
|
16
|
+
*/
|
|
17
|
+
function setLevel(level: Level): void;
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @param level The log level.
|
|
21
|
+
* @param data The log contents.
|
|
22
|
+
*/
|
|
23
|
+
function log(level: Exclude<Level, Level.Quiet>, ...data: unknown[]): void;
|
|
24
|
+
function warn(...data: unknown[]): void;
|
|
25
|
+
function debug(...data: unknown[]): void;
|
|
26
|
+
function info(...data: unknown[]): void;
|
|
27
|
+
function error(...data: unknown[]): void;
|
|
28
|
+
}
|
|
29
|
+
//#endregion
|
|
30
|
+
export { Logger as t };
|
package/build/js/logger.d.ts
CHANGED
|
@@ -1,30 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Log level.
|
|
5
|
-
*/
|
|
6
|
-
enum Level {
|
|
7
|
-
Debug = "debug",
|
|
8
|
-
Info = "info",
|
|
9
|
-
Warn = "warn",
|
|
10
|
-
Error = "error",
|
|
11
|
-
Quiet = "quiet"
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @param level The log level.
|
|
16
|
-
*/
|
|
17
|
-
function setLevel(level: Level): void;
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @param level The log level.
|
|
21
|
-
* @param data The log contents.
|
|
22
|
-
*/
|
|
23
|
-
function log(level: Exclude<Level, Level.Quiet>, ...data: unknown[]): void;
|
|
24
|
-
function warn(...data: unknown[]): void;
|
|
25
|
-
function debug(...data: unknown[]): void;
|
|
26
|
-
function info(...data: unknown[]): void;
|
|
27
|
-
function error(...data: unknown[]): void;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export { Logger };
|
|
1
|
+
import { t as Logger } from "./logger-D9wplwND.js";
|
|
2
|
+
export { Logger };
|
package/build/js/logger.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
let e;(function(e){e.Level=function(e){return e.Debug=`debug`,e.Info=`info`,e.Warn=`warn`,e.Error=`error`,e.Quiet=`quiet`,e}({});let t=new Map([[`debug`,1],[`info`,2],[`warn`,3],[`error`,4],[`quiet`,5]]),n=`debug`;function r(e){n=e}e.setLevel=r;function i(e,...r){if(!(t.get(n)>t.get(e)))switch(e){case`debug`:console.debug(...r);break;case`info`:console.log(...r);break;case`warn`:console.warn(...r);break;case`error`:console.error(...r);break;default:break}}e.log=i;function a(...e){i(`warn`,...e)}e.warn=a;function o(...e){i(`debug`,...e)}e.debug=o;function s(...e){i(`info`,...e)}e.info=s;function c(...e){i(`error`,...e)}e.error=c})(e||={});export{e as Logger};
|
|
@@ -1,39 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
3
|
-
import './Camera-HgH6fwnW.js';
|
|
4
|
-
import './commons/Rect.js';
|
|
5
|
-
import './private/Serializable.js';
|
|
6
|
-
import './commons/Point.js';
|
|
7
|
-
import './commons/Size.js';
|
|
8
|
-
import './private/privateAccess.js';
|
|
9
|
-
import './DataCaptureContextSettings.js';
|
|
10
|
-
import './commons/JSONType.js';
|
|
11
|
-
import './DataCaptureViewPlusRelated-BOrDBPHq.js';
|
|
12
|
-
import './NotificationPresenter/NotificationPresenter.js';
|
|
13
|
-
import './NotificationPresenter/NotificationConfiguration.js';
|
|
14
|
-
import './commons/Color.js';
|
|
15
|
-
import './ScanditIcon.js';
|
|
16
|
-
import './private/utils/ScanditHTMLElement.js';
|
|
17
|
-
import './NotificationPresenter/NotificationStyle.js';
|
|
18
|
-
import './commons/Anchor.js';
|
|
19
|
-
import './commons/MarginsWithUnit.js';
|
|
20
|
-
import './commons/NumberWithUnit.js';
|
|
21
|
-
import './commons/MeasureUnit.js';
|
|
22
|
-
import './commons/Orientation.js';
|
|
23
|
-
import './commons/PointWithUnit.js';
|
|
24
|
-
import './commons/Quadrilateral.js';
|
|
25
|
-
import './private/CustomLocationsView.js';
|
|
26
|
-
import './private/View.js';
|
|
27
|
-
import './private/AnchorPositions.js';
|
|
28
|
-
import './private/nativeHandle.js';
|
|
29
|
-
import './private/AdditionalLayerPosition.js';
|
|
30
|
-
import './license/OpenSourceSoftwareLicenseInfo.js';
|
|
31
|
-
import './logger.js';
|
|
32
|
-
import './private/FrameReaders/ColorType.js';
|
|
33
|
-
import './private/BatteryInterface.js';
|
|
34
|
-
import './LoadingStatus.js';
|
|
35
|
-
import './private/djinni-types/index.js';
|
|
36
|
-
import './private/HtmlElementState.js';
|
|
37
|
-
import './commons/SizeWithUnit.js';
|
|
38
|
-
import './private/utils/AsyncStateMachine.js';
|
|
39
|
-
import './tsHelper.js';
|
|
1
|
+
import { A as ModuleLoader } from "./DataCaptureContext-CYDrBO6_.js";
|
|
2
|
+
export { ModuleLoader };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,5,1,96,0,1,123,3,2,1,0,10,10,1,8,0,65,0,253,15,253,98,11])),t=()=>(async e=>{try{return typeof MessageChannel<`u`&&new MessageChannel().port1.postMessage(new SharedArrayBuffer(1)),WebAssembly.validate(e)}catch{return!1}})(new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,5,4,1,3,1,1,10,11,1,9,0,65,0,254,16,2,0,26,11]));function n(){return typeof crossOriginIsolated>`u`?!1:crossOriginIsolated}function r(){try{return new WebAssembly.Memory({initial:1,maximum:1,shared:!0}).buffer.constructor.name===`SharedArrayBuffer`}catch{return!1}}async function i(){return e()}async function a(){if(!await t())return!1;let e=null;try{e=new Worker(URL.createObjectURL(new Blob([`postMessage("Worker" in self);`],{type:`text/javascript`})),{name:`nestedWorkerTest`})}catch{return!1}return new Promise(t=>{if(e==null){t(!1);return}e.onmessage=n=>{e==null||e.terminate(),t(n.data)}})}async function o(){let e=await a();return n()&&r()&&e&&s()>=2}function s(){return navigator.hardwareConcurrency??1}export{a,r as i,o as n,n as o,i as r,s as t};
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
AboveControls = "above-controls"
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
export { AdditionalLayerPosition };
|
|
1
|
+
import { t as AdditionalLayerPosition } from "../AdditionalLayerPosition-D_ouQ8wn.js";
|
|
2
|
+
export { AdditionalLayerPosition };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
let e=function(e){return e.AboveControls=`above-controls`,e.OverlayContainer=`overlay-container`,e}({});export{e as AdditionalLayerPosition};
|
|
@@ -1,42 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { Quadrilateral, QuadrilateralJSON } from '../commons/Quadrilateral.js';
|
|
4
|
-
import { Serializable } from './Serializable.js';
|
|
5
|
-
|
|
6
|
-
interface AnchorPositionsJSON extends QuadrilateralJSON {
|
|
7
|
-
centerRight: PointJSON;
|
|
8
|
-
centerLeft: PointJSON;
|
|
9
|
-
topCenter: PointJSON;
|
|
10
|
-
bottomCenter: PointJSON;
|
|
11
|
-
center: PointJSON;
|
|
12
|
-
}
|
|
13
|
-
declare class AnchorPositions extends Quadrilateral implements Serializable<AnchorPositionsJSON> {
|
|
14
|
-
private readonly _centerRight;
|
|
15
|
-
private readonly _centerLeft;
|
|
16
|
-
private readonly _topCenter;
|
|
17
|
-
private readonly _bottomCenter;
|
|
18
|
-
private readonly _center;
|
|
19
|
-
constructor(topLeft: Point, topRight: Point, bottomRight: Point, bottomLeft: Point, centerLeft: Point, topCenter: Point, centerRight: Point, bottomCenter: Point, center: Point);
|
|
20
|
-
get centerRight(): Point;
|
|
21
|
-
get center(): Point;
|
|
22
|
-
get centerLeft(): Point;
|
|
23
|
-
get topCenter(): Point;
|
|
24
|
-
get bottomCenter(): Point;
|
|
25
|
-
protected static fromJSON(json: AnchorPositionsJSON): AnchorPositions;
|
|
26
|
-
toJSONObject(): AnchorPositionsJSON;
|
|
27
|
-
/**
|
|
28
|
-
* Orders vertices by their position, ensuring the top edge has the smallest Y midpoint.
|
|
29
|
-
* The function is mainly used by the BarcodeArView to snap the annotation based on the barcode orientation
|
|
30
|
-
* @returns {AnchorPositions} New AnchorPositions with ordered vertices
|
|
31
|
-
*/
|
|
32
|
-
orderVerticesByPosition(): AnchorPositions;
|
|
33
|
-
/**
|
|
34
|
-
* Calculate the area of a quadrilateral using the shoelace formula (also known as the surveyor's formula).
|
|
35
|
-
* The formula works by taking pairs of x and y coordinates and computing:
|
|
36
|
-
* (x1*y2 + x2*y3 + x3*y4 + x4*y1) - (y1*x2 + y2*x3 + y3*x4 + y4*x1)
|
|
37
|
-
* Then takes the absolute value and divides by 2 to get the area.
|
|
38
|
-
*/
|
|
39
|
-
private getArea;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export { AnchorPositions, type AnchorPositionsJSON };
|
|
1
|
+
import { n as AnchorPositionsJSON, t as AnchorPositions } from "../AnchorPositions-4M8lB28_.js";
|
|
2
|
+
export { AnchorPositions, AnchorPositionsJSON };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import{Point as e}from"../commons/Point.js";import{Quadrilateral as t}from"../commons/Quadrilateral.js";var n=class n extends t{constructor(e,t,n,r,i,a,o,s,c){super(e,t,n,r),this._centerLeft=i,this._topCenter=a,this._centerRight=o,this._bottomCenter=s,this._center=c}get centerRight(){return this._centerRight}get center(){return this._center}get centerLeft(){return this._centerLeft}get topCenter(){return this._topCenter}get bottomCenter(){return this._bottomCenter}static fromJSON(t){let{topLeft:r,topRight:i,bottomRight:a,bottomLeft:o,centerLeft:s,topCenter:c,centerRight:l,bottomCenter:u,center:d}=t;return new n(e.fromJSON(r),e.fromJSON(i),e.fromJSON(a),e.fromJSON(o),e.fromJSON(s),e.fromJSON(c),e.fromJSON(l),e.fromJSON(u),e.fromJSON(d))}toJSONObject(){return{...super.toJSONObject(),center:this._center.toJSONObject(),bottomCenter:this._bottomCenter.toJSONObject(),topCenter:this._topCenter.toJSONObject(),centerLeft:this._centerLeft.toJSONObject(),centerRight:this._centerRight.toJSONObject()}}orderVerticesByPosition(){let t=[this.topLeft,this.topRight,this.bottomLeft,this.bottomRight],r=t.reduce((e,t)=>t.y<e.y?t:e),i=t.filter(e=>!e.equals(r));if(i.length===0)return this;let a=i.reduce((e,t)=>t.y<e.y?t:e),o=r.x<=a.x?r:a,s=r.x>a.x?r:a,c=t.filter(e=>!e.equals(o)&&!e.equals(s));if(c.length!==2)return this;let l=c[0].x<=c[1].x?c[0]:c[1],u=c[0].x>c[1].x?c[0]:c[1];return new n(o,s,u,l,new e((o.x+l.x)/2,(o.y+l.y)/2),new e((o.x+s.x)/2,(o.y+s.y)/2),new e((s.x+u.x)/2,(s.y+u.y)/2),new e((l.x+u.x)/2,(l.y+u.y)/2),this.center)}getArea(e){let t=[e.topLeft,e.topRight,e.bottomRight,e.bottomLeft,e.topLeft],n=0;for(let e=0;e<t.length-1;e++)n+=t[e].x*t[e+1].y-t[e+1].x*t[e].y;return Math.abs(n)/2}};export{n as AnchorPositions};
|
|
@@ -1,81 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* Battery information for the device.
|
|
4
|
-
* Can be extended in the future with additional battery properties (charging, times, etc.)
|
|
5
|
-
*/
|
|
6
|
-
interface BatteryInfo {
|
|
7
|
-
/**
|
|
8
|
-
* Battery level as a percentage (0-100).
|
|
9
|
-
* null if battery data is not available.
|
|
10
|
-
*/
|
|
11
|
-
percentage: number | null;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Interface for accessing battery information.
|
|
15
|
-
*/
|
|
16
|
-
interface BatteryInterface {
|
|
17
|
-
/**
|
|
18
|
-
* Get the current battery information for the device.
|
|
19
|
-
* Returns the last known battery information, or null if not available.
|
|
20
|
-
* Battery information is updated via Battery Status API events.
|
|
21
|
-
*
|
|
22
|
-
* @returns Battery information including percentage.
|
|
23
|
-
*/
|
|
24
|
-
getBatteryInfo(): BatteryInfo;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Device information payload to be sent from main thread to worker.
|
|
28
|
-
*/
|
|
29
|
-
interface DeviceInfo {
|
|
30
|
-
isTablet: boolean;
|
|
31
|
-
batteryInfo: BatteryInfo;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Web implementation of BatteryInterface that uses browser APIs to detect battery status.
|
|
35
|
-
* This class runs on the main thread and manages battery information.
|
|
36
|
-
*
|
|
37
|
-
* Use the static `create()` method to properly initialize the instance.
|
|
38
|
-
* Call `dispose()` when done to clean up event listeners.
|
|
39
|
-
*/
|
|
40
|
-
declare class WebBatteryInterface implements BatteryInterface {
|
|
41
|
-
private batteryManager;
|
|
42
|
-
private currentBatteryPercentage;
|
|
43
|
-
private batteryChangeListeners;
|
|
44
|
-
private handleOnLevelChange;
|
|
45
|
-
private constructor();
|
|
46
|
-
/**
|
|
47
|
-
* Creates and initializes a new WebBatteryInterface instance.
|
|
48
|
-
* Asynchronously initializes battery manager.
|
|
49
|
-
*
|
|
50
|
-
* @returns Promise resolving to an initialized WebBatteryInterface instance
|
|
51
|
-
*/
|
|
52
|
-
static create(): Promise<WebBatteryInterface>;
|
|
53
|
-
/**
|
|
54
|
-
* Register a listener to be called when battery level changes.
|
|
55
|
-
* @param listener Function to call when battery changes
|
|
56
|
-
*/
|
|
57
|
-
addBatteryChangeListener(listener: (batteryInfo: BatteryInfo) => void): void;
|
|
58
|
-
/**
|
|
59
|
-
* Unregister a battery change listener.
|
|
60
|
-
* @param listener The listener to remove
|
|
61
|
-
*/
|
|
62
|
-
removeBatteryChangeListener(listener: (batteryInfo: BatteryInfo) => void): void;
|
|
63
|
-
/**
|
|
64
|
-
* Dispose of the WebDeviceInterface and remove all event listeners.
|
|
65
|
-
* Call this when you're done using the interface to avoid memory leaks.
|
|
66
|
-
*/
|
|
67
|
-
dispose(): void;
|
|
68
|
-
private notifyBatteryChange;
|
|
69
|
-
private onLevelChange;
|
|
70
|
-
/**
|
|
71
|
-
* Get the current battery information for the device.
|
|
72
|
-
* Returns the last known battery percentage, or null if not available.
|
|
73
|
-
* Battery data is updated via Battery Status API events.
|
|
74
|
-
*
|
|
75
|
-
* @returns Battery information with percentage, or null if unavailable.
|
|
76
|
-
*/
|
|
77
|
-
getBatteryInfo(): BatteryInfo;
|
|
78
|
-
private initializeBatteryManager;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
export { type BatteryInfo, type BatteryInterface, type DeviceInfo, WebBatteryInterface };
|
|
1
|
+
import { i as WebBatteryInterface, n as BatteryInterface, r as DeviceInfo, t as BatteryInfo } from "../BatteryInterface-BYl36ktu.js";
|
|
2
|
+
export { BatteryInfo, BatteryInterface, DeviceInfo, WebBatteryInterface };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
var e=class e{constructor(){this.batteryManager=null,this.currentBatteryPercentage=null,this.batteryChangeListeners=new Set,this.handleOnLevelChange=this.onLevelChange.bind(this)}static async create(){let t=new e;return await t.initializeBatteryManager(),t}addBatteryChangeListener(e){this.batteryChangeListeners.add(e)}removeBatteryChangeListener(e){this.batteryChangeListeners.delete(e)}dispose(){this.batteryManager&&(this.batteryManager.removeEventListener(`levelchange`,this.handleOnLevelChange),this.batteryChangeListeners.clear(),this.batteryManager=null,this.currentBatteryPercentage=null)}notifyBatteryChange(){let e=this.getBatteryInfo();for(let t of this.batteryChangeListeners)t(e)}onLevelChange(){var e;this.currentBatteryPercentage=Math.round((((e=this.batteryManager)==null?void 0:e.level)??0)*100),this.notifyBatteryChange()}getBatteryInfo(){return{percentage:this.currentBatteryPercentage}}async initializeBatteryManager(){if(typeof navigator>`u`)return;let e=navigator;if(!(!e.getBattery||typeof e.getBattery!=`function`))try{this.batteryManager=await e.getBattery(),this.currentBatteryPercentage=Math.round(this.batteryManager.level*100),this.batteryManager.addEventListener(`levelchange`,this.handleOnLevelChange),this.notifyBatteryChange()}catch{this.batteryManager=null}}};export{e as WebBatteryInterface};
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
3
|
-
import '../commons/Rect.js';
|
|
4
|
-
import './Serializable.js';
|
|
5
|
-
import '../commons/Point.js';
|
|
6
|
-
import '../commons/Size.js';
|
|
7
|
-
import './privateAccess.js';
|
|
1
|
+
import { C as DeviceCamera, S as CameraResolutionConstraint, b as CameraAccess, x as CameraPosition, y as AspectRatio } from "../Camera-C7TNwqRo.js";
|
|
2
|
+
export { AspectRatio, CameraAccess, CameraPosition, CameraResolutionConstraint, DeviceCamera };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{c as AspectRatio,d as CameraAccess,a as CameraPosition,b as CameraResolutionConstraint}from'../chunks/chunk-YUZDO2PC.js';
|
|
1
|
+
import{t as e}from"../browserHelper-BQPnAZ2Y.js";import{Logger as t}from"../logger.js";import"../browserCompatibility.js";import{DataCaptureError as n}from"../DataCaptureError.js";import{UnsupportedBrowserError as r}from"./unsupportedBrowserError.js";let i=function(e){return e.WorldFacing=`worldFacing`,e.UserFacing=`userFacing`,e}({}),a=function(e){return e[e.ULTRA_HD=0]=`ULTRA_HD`,e[e.FULL_HD=1]=`FULL_HD`,e[e.HD=2]=`HD`,e[e.SD=3]=`SD`,e[e.NONE=4]=`NONE`,e}({}),o=function(e){return e.AUTO=`auto`,e.FOUR_TO_THREE=`fourToThree`,e.SIXTEEN_TO_NINE=`sixteenToNine`,e}({}),s;(function(i){let a=new Map([[`DeviceCaptureError`,`AbortError`],[`NotSupportedError`,`AbortError`],[`ScreenCaptureError`,`AbortError`],[`TabCaptureError`,`AbortError`],[`TypeError`,`AbortError`],[`InvalidStateError`,`NotAllowedError`],[`MediaDeviceFailedDueToShutdown`,`NotAllowedError`],[`MediaDeviceKillSwitchOn`,`NotAllowedError`],[`PermissionDeniedError`,`NotAllowedError`],[`PermissionDismissedError`,`NotAllowedError`],[`DevicesNotFoundError`,`NotFoundError`],[`SourceUnavailableError`,`NotReadableError`],[`TrackStartError`,`NotReadableError`],[`ConstraintNotSatisfiedError`,`OverconstrainedError`]]),o=`rear.back.rück.arrière.trasera.trás.traseira.posteriore.后面.後面.背面.后置.後置.背置.задней.الخلفية.후.arka.achterzijde.หลัง.baksidan.bagside.sau.bak.tylny.takakamera.belakang.אחורית.πίσω.spate.hátsó.zadní.darrere.posterior.zadná.задня.stražnja.belakang.बैक`.split(`.`),s=new Set(`Desk View Camera.Schreibtischansicht-Kamera.Caméra Desk\xA0View.Cámara de Vista Cenital.Câmara da Vista de Secretária.Fotocamera di Panoramica Scrivania.桌上视角相机.デスクビューカメラ.Камера Обзора стола.Masa Görüntüsü Kamerası.Bureauweergave-camera.كاميرا العرض الرأسي.กล้องดูด้านหน้าโต๊ะ.Bordsvisningskamera.Kamera til Visning af skrivebord.Camera Desk View.Bordvisning-kamera.Kamera w\xA0aplikacji Widok blatu.Työpöytänäkymän kamera.Kamera Tampilan Meja.מצלמת ״תצוגת שולחן״.Κάμερα της Προβολής γραφείου.Cameră Vizualizare birou.Íróasztal nézet kamerája.Stolní kamera.Càmera de l’app Vista de l’Escriptori`.split(`.`)),c=new Set([`MacBook Pro Desk View Camera`]),l=new Set(`Front Camera.Frontkamera.Appareil photo avant.Cámara frontal.Câmera Frontal.Câmara frontal.Fotocamera (anteriore).前置相机.前置相機.前面カメラ.Камера на передней панели.Ön Kamera.Camera aan voorzijde.الكاميرا الأمامية.กล้องด้านหน้า.Kamera på framsidan.Forsidekamera.Camera mặt trước.Kamera foran.Przedni aparat.Etukamera.Kamera Depan.מצלמה קדמית.Μπροστινή κάμερα.Cameră față.Elülső kamera.Přední fotoaparát.Càmera frontal.Predná kamera.Передня камера.Prednja kamera.Kamera Depan.फ़्रंट कैमरा`.split(`.`)),u=new Set(`Back Camera.Rückkamera.Caméra arrière.Cámara trasera.Câmera Traseira.Câmara traseira.Fotocamera (posteriore).后置相机.後置相機.背面カメラ.Камера на задней панели.Arka Kamera.Camera aan achterzijde.الكاميرا الخلفية.กล้องด้านหลัง.Kamera på baksidan.Bagsidekamera.Camera mặt sau.Kamera bak.Tylny aparat.Takakamera.Kamera Belakang.מצלמה אחורית.Πίσω κάμερα.Cameră spate.Hátsó kamera.Zadní fotoaparát.Càmera posterior.Zadná kamera.Задня камера.Stražnja kamera.Kamera Belakang.बैक कैमरा`.split(`.`)),d=new Set(`Back Dual Wide Camera.Rückseitige Dual-Weitwinkelkamera.Double appareil photo grand angle arrière.Cámara trasera dual con gran angular.Câmera Dupla Grande-Angular Traseira.Câmara grande angular dupla traseira.Fotocamera doppia con grandangolo (posteriore).后置双广角镜头.後置雙廣角相機.背面デュアル広角カメラ.Задняя двойная широкоугольная камера.Çift Geniş Kamera Arka Yüzü.كاميرا خلفية مزدوجة عريضة.กล้องคู่ด้านหลังมุมกว้าง.Dubbel vidvinkelkamera på baksidan.Camera kép rộng mặt sau.Dobbelt vidvinkelkamera bak.Tylny dwuobiektywowy aparat szerokokątny.Laajakulmainen kaksoistakakamera.Kamera Lebar Belakang Ganda.מצלמה כפולה רחבה אחורית.Πίσω διπλή ευρεία κάμερα.Cameră dublă cu obiectiv superangular spate.Hátsó, kettős, széles látószögű kamera.Zadní duální širokoúhlý fotoaparát.Càmera dual posterior amb gran angular.Zadná duálna širokouhlá kamera.Задня здвоєна ширококутна камера.Stražnja dvostruka široka kamera.Dwikamera Lebar Belakang.बैक ड्युअल वाइड कैमरा`.split(`.`)),f=new Set(`Back Ultra Wide Camera.Rückseitige Ultra-Weitwinkelkamera.Appareil photo ultra grand angle arrière.Cámara trasera con ultra gran angular.Câmera Ultra-Angular Traseira.Câmara ultra grande angular traseira.Fotocamera con ultra-grandangolo (posteriore).后置超广角相机.後置超廣角相機.背面超広角カメラ.Задняя сверхширокоугольная камера.Ultra Geniş Kamera Arka Yüzü.Ultrabrede camera aan achterzijde.كاميرا خلفية عريضة جدًا.กล้องด้านหลังมุมกว้างอัลตร้า.Ultravidvinkelkamera på baksidan.Ultravidvinkelkameraet på bagsiden.Camera cực rộng mặt sau.Ultravidvinkelkamera bak.Tylny aparat ultraszerokokątny.Ultralaajakulmainen takakamera.Kamera Ultra Lebar Belakang.מצלמה אולטרה רחבה אחורית.Πίσω υπερευρεία κάμερα.Cameră cu obiectiv ultra‑superangular spate.Hátsó, ultraszéles látószögű kamera.Zadní ultra širokoúhlý fotoaparát.Càmera posterior amb ultra gran angular.Zadná ultraširokouhlá kamera.Задня надширококутна камера.Stražnja ultra široka kamera.Kamera Ultralebar Belakang.बैक अल्ट्रा वाइड कैमरा`.split(`.`)),p,m=!1,h=i.mainCameraForPositionOverridesOnDesktop=new Map,g=i.deviceIdToCameraObjects=new Map,_=i.inaccessibleDeviceIds=new Set,v=new Set;function y(e){v.add(e)}i.addVideoDevicesListener=y;function b(e,t){h.set(e,t)}i.setMainCameraForPositionOverridesOnDesktop=b;function x(){h.clear()}i.clearMainCameraForPositionOverridesOnDesktop=x;function S(){return navigator.mediaDevices.getUserMedia.bind(navigator.mediaDevices)}function C(){if(typeof navigator.enumerateDevices==`function`)return navigator.enumerateDevices.bind(navigator);if(typeof navigator.mediaDevices==`object`&&typeof navigator.mediaDevices.enumerateDevices==`function`)return navigator.mediaDevices.enumerateDevices.bind(navigator.mediaDevices)}function w(){m=!0}function T(e){let t=e.toLowerCase();return o.some(e=>t.includes(e))}function E(e){return l.has(e)}i.isIOSFrontCameraLabel=E;function D(e){return u.has(e)}i.isIOSBackCameraLabel=D;function O(e){return d.has(e)}i.isIOSBackDualWideCameraLabel=O;function k(e){return f.has(e)}i.isIOSUltraWideBackCameraLabel=k;function A(e){let t=e.message===`Invalid constraint`?`OverconstrainedError`:a.get(e.name)??e.name;Object.defineProperty(e,`name`,{value:t})}function j(e){if(e.length===0)return{areSomeCameraLabelsFilled:!1,areAllCameraLabelsFilled:!1,areAllCameraLabelsUnfilled:!1};let t=0;for(let n of e)n.label!==``&&t++;let n=t===e.length,r=t===0;return{areSomeCameraLabelsFilled:t>0&&t<e.length,areAllCameraLabelsFilled:n,areAllCameraLabelsUnfilled:r}}function M(e,t){return h.get(t)??e.find(e=>e.position===t)}function N(e,t){let n=t===`worldFacing`?D:E;for(let t of e)if(n(t.label))return t}function P(e,t){if(t===`worldFacing`){let t;for(let n of e){if(O(n.label))return n;!t&&D(n.label)&&(t=n)}return t}else for(let t of e)if(E(t.label))return t}function F(t,n){let{areSomeCameraLabelsFilled:r,areAllCameraLabelsUnfilled:i}=j(t),a=e.getUserAgentInfo().getOS().name===`iOS`;if(i)return t[n===`userFacing`?0:t.length-1];let o=t.filter(e=>e.position===n);if(o.length===1)return o[0];if(r){if(a){let e=N(o,n);if(e!=null)return e}return o[n===`userFacing`?0:o.length-1]}if(a){let e=P(t,n);if(e)return e}return o.sort((e,t)=>e.label.localeCompare(t.label))[0]}function I(t,n){return e.isDesktopDevice()?M(t,n):F(t,n)}i.getMainCameraForPosition=I;function L(e,t){return e.unshift(e.splice(t,1)[0])}function R(t,n){function r(e,t){let n=h.get(t);return n!=null&&e.includes(n)&&(e=e.filter(e=>e!==n),e.unshift(n)),e}let i=t.filter(e=>e.position===`userFacing`),a=t.filter(e=>e.position===`worldFacing`);return e.isDesktopDevice()?(i=r(i,`userFacing`),a=r(a,`worldFacing`)):t.every(e=>e.label===``)?a.reverse():(i.sort((e,t)=>e.label.localeCompare(t.label)),a.sort((e,t)=>e.label.localeCompare(t.label)),e.getUserAgentInfo().getOS().name===`iOS`&&(i.some((e,t)=>E(e.label)&&L(i,t)>=0),a.some((e,t)=>k(e.label)&&L(a,t)>=0),a.some((e,t)=>O(e.label)&&L(a,t)>=0)||a.some((e,t)=>D(e.label)&&L(a,t)>=0))),n===`userFacing`?[...i,...a]:[...a,...i]}i.sortCamerasForCameraPosition=R;function z(e,t){let n=e.getVideoTracks();if(n.length>0){let e=n[0],r;typeof e.getSettings==`function`&&(r=e.getSettings(),r.facingMode!=null&&r.facingMode.length>0&&(t.position=r.facingMode===`environment`?`worldFacing`:`userFacing`));let{label:i=``}=e;i.length>0&&(t.label=i)}}i.adjustCameraFromMediaStream=z;function B(t,n,r){if(g.has(t.deviceId))return g.get(t.deviceId);let{label:i=``,deviceId:a}=t,o;return o=!e.isDesktopDevice()&&r.every(e=>e.label===``&&!g.has(e.deviceId))?r.length===1||n+1<=Math.floor(r.length/2)?`userFacing`:`worldFacing`:T(i)?`worldFacing`:`userFacing`,{position:o,label:i,deviceId:a}}function V(t){let n=t.map((e,t,n)=>B(e,t,n)).map(e=>(e.deviceId!==``&&g.set(e.deviceId,e),e)).filter(e=>!/\b(?:ir|infrared)\b/i.test(e.label)||/^IR UVC WebCam$/i.test(e.label.toUpperCase())).filter(e=>!s.has(e.label)).filter(e=>!c.has(e.label)).filter(e=>!_.has(e.deviceId));if(!e.isDesktopDevice()&&n.length>1&&!n.some(e=>e.position===`worldFacing`)){let e=n.length-1,t=n.map(e=>{let t=/\b(\d+)mp?\b/i.exec(e.label);return t==null?NaN:Number.parseInt(t[1],10)});t.some(e=>Number.isNaN(e))||(e=t.lastIndexOf(Math.max(...t))),n[e].position=`worldFacing`}return n}async function H(){if(p!=null&&p.length>0&&p.every(e=>e.label===``&&!g.has(e.deviceId)))try{return await S()({video:!0,audio:!1})}catch{}}function U(e,n){if(n.length>0&&e.length===n.length&&!n.every((t,n)=>e[n].deviceId===t.deviceId)){let i={};for(let[t,a]of e.entries()){var r;let e=g.get(a.deviceId);if(e==null||e.label!==(((r=n[t])==null?void 0:r.label)??``))continue;let o=n[t].deviceId;i[e.deviceId]=o,_.has(e.deviceId)&&_.add(o),e.deviceId=o,g.set(o,e)}t.log(t.Level.Debug,`Detected updated camera deviceId information and updated it accordingly`,i)}}function W(){typeof navigator.mediaDevices.addEventListener==`function`?navigator.mediaDevices.addEventListener(`devicechange`,w):navigator.mediaDevices.ondevicechange=w}async function G(){let e,t=C();if(t)e=await t();else throw new r({fullSupport:!1,scannerSupport:!0,missingFeatures:[`mediaDevices`]});return e.filter(e=>e.kind===`videoinput`)}async function K(n=!1,i=!1){let a=e.checkBrowserCompatibility();if(!a.fullSupport)throw new r(a);if(W(),p==null||n||m){m=!1;let e,n=p??[];p=[];try{p=await G(),i||(e=await H(),e!=null&&(p=await G())),t.debug(`Camera list (devices):`,...p),p.length>0&&p.every(e=>e.deviceId===``)&&t.log(t.Level.Debug,`Incomplete camera information listed due to user permission denial, cameras will not be accessible`),U(n,p)}catch(e){throw A(e),e}finally{for(let t of(e==null?void 0:e.getVideoTracks())??[])t.stop()}}let o=V(p);t.log(t.Level.Debug,`Camera list (cameras): `,...o);for(let e of v)e([...o]);return[...o]}i.getCameras=K;async function q(e){return t.debug(`Attempt to access camera (parameters):`,e.video),new Promise((t,r)=>{setTimeout(async()=>{try{let i=await S()(e);if(i==null){r(new n({name:`AbortError`,message:`Cannot get stream from getUserMedia function.`}));return}t(i)}catch(e){r(e)}},0)})}function J(e,t){let n={resizeMode:`none`};switch(e){case 0:return{...n,width:{min:2880,ideal:t===`fourToThree`?2880:3840,max:4096},height:{min:1800,ideal:2160,max:2400}};case 1:return{...n,width:{min:1440,ideal:t===`fourToThree`?1440:1920,max:2160},height:{min:900,ideal:1080,max:1440}};case 2:return{...n,width:{min:960,ideal:t===`fourToThree`?960:1280,max:1440},height:{min:480,ideal:720,max:960}};case 3:return{...n,width:{min:640,ideal:640,max:800},height:{min:360,ideal:t===`fourToThree`?480:360,max:640}};default:return{}}}i.getUserMediaVideoParameters=J;function Y(e){e.deviceId!==``&&(t.log(t.Level.Debug,`Camera marked to be inaccessible:`,e),_.add(e.deviceId))}i.markCameraAsInaccessible=Y;async function X(e,n,r){t.log(t.Level.Debug,`Attempt to access camera (camera):`,e);let i={audio:!1,video:J(n,r)};e.deviceId===``?i.video.facingMode={ideal:e.position===`worldFacing`?`environment`:`user`}:i.video.deviceId={exact:e.deviceId};try{let t=await q(i);return z(t,e),t}catch(t){throw A(t),[`OverconstrainedError`,`NotReadableError`,`NotAllowedError`].includes(t.name)||Y(e),t}}i.accessCameraStream=X})(s||={});export{o as AspectRatio,s as CameraAccess,i as CameraPosition,a as CameraResolutionConstraint};
|