@scandit/web-datacapture-core 8.3.0 → 8.4.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/build/js/{Camera-Cc__1Nc-.d.ts → Camera-HgH6fwnW.d.ts} +16 -2
- package/build/js/Camera.d.ts +1 -1
- package/build/js/Camera.js +1 -1
- package/build/js/CameraRelated.d.ts +1 -1
- package/build/js/CameraRelated.js +1 -1
- package/build/js/{DataCaptureContext-BcSpF9Dt.d.ts → DataCaptureContext-qacCkSOl.d.ts} +40 -21
- package/build/js/DataCaptureContext.d.ts +4 -4
- package/build/js/DataCaptureContext.js +1 -1
- package/build/js/DataCaptureContextRelated.d.ts +3 -3
- package/build/js/DataCaptureVersion.js +1 -1
- package/build/js/DataCaptureView.d.ts +3 -3
- package/build/js/DataCaptureView.js +1 -1
- package/build/js/DataCaptureViewPlusRelated-BOrDBPHq.d.ts +49 -0
- package/build/js/DataCaptureViewPlusRelated.d.ts +2 -24
- package/build/js/DataCaptureViewPlusRelated.js +1 -1
- package/build/js/Feedback.js +1 -1
- package/build/js/FrameData.d.ts +3 -3
- package/build/js/ImageFrameSource.d.ts +1 -1
- package/build/js/ImageFrameSource.js +1 -1
- package/build/js/NotificationPresenter/index.d.ts +3 -3
- package/build/js/NotificationPresenter/index.js +1 -1
- package/build/js/NotificationPresenter/private/ConcreteNotificationPresenter.d.ts +3 -3
- package/build/js/NotificationPresenter/private/presets.d.ts +3 -3
- package/build/js/ScanditIcon.js +1 -1
- package/build/js/ScanditIconBuilder.js +1 -1
- package/build/js/SingleImageUploader.d.ts +1 -1
- package/build/js/SingleImageUploader.js +1 -1
- package/build/js/Sound.js +1 -1
- package/build/js/ZoomGestureListener.d.ts +3 -0
- package/build/js/ZoomListener.d.ts +7 -0
- package/build/js/ZoomSwitchOrientation.d.ts +8 -0
- package/build/js/ZoomSwitchOrientation.js +1 -0
- package/build/js/chunks/{chunk-QHNV2CFJ.js → chunk-2UHUEJA4.js} +1 -1
- package/build/js/chunks/{chunk-6IM6NGGI.js → chunk-3MKSI2DV.js} +1 -1
- package/build/js/chunks/{chunk-22UMTZI6.js → chunk-4F2Q2P2O.js} +1 -1
- package/build/js/chunks/chunk-4KLHTKGW.js +1 -0
- package/build/js/chunks/chunk-4LGQ66HW.js +1 -0
- package/build/js/chunks/chunk-4QJAB4PO.js +1 -0
- package/build/js/chunks/chunk-4WA2PCJE.js +1 -0
- package/build/js/chunks/chunk-56OQ5EHO.js +1 -0
- package/build/js/chunks/{chunk-HILZP6OW.js → chunk-6AZW5IIG.js} +1 -1
- package/build/js/chunks/{chunk-YP53ND2Q.js → chunk-6EEMWSEO.js} +1 -1
- package/build/js/chunks/{chunk-QMLTR5JH.js → chunk-76IGNICM.js} +1 -1
- package/build/js/chunks/{chunk-A3ZT7PJA.js → chunk-7HYFN4JO.js} +1 -1
- package/build/js/chunks/chunk-7LTHFX4E.js +1 -0
- package/build/js/chunks/{chunk-SX5ZLP2O.js → chunk-7OFC24NE.js} +1 -1
- package/build/js/chunks/chunk-7SA74NKD.js +0 -0
- package/build/js/chunks/{chunk-YRQQE3NR.js → chunk-AC4QOIY7.js} +1 -1
- package/build/js/chunks/{chunk-S2GRD6GO.js → chunk-ACCTMSWC.js} +1 -1
- package/build/js/chunks/{chunk-EIOVYBFS.js → chunk-AD77NFCP.js} +1 -1
- package/build/js/chunks/chunk-AE2LWVIB.js +1 -0
- package/build/js/chunks/chunk-CA6FHIF6.js +35 -0
- package/build/js/chunks/{chunk-EEWGHHL4.js → chunk-CERFU73N.js} +1 -1
- package/build/js/chunks/{chunk-QWKATH4N.js → chunk-CGK5V6XZ.js} +1 -1
- package/build/js/chunks/chunk-D222MT4V.js +1 -0
- package/build/js/chunks/{chunk-ARODHCN7.js → chunk-DGIQ3GF7.js} +1 -1
- package/build/js/chunks/chunk-FHUC75ND.js +1 -0
- package/build/js/chunks/chunk-GMOTHEWV.js +1 -0
- package/build/js/chunks/chunk-GVHXM75D.js +1 -0
- package/build/js/chunks/chunk-H3J4TP2K.js +1 -0
- package/build/js/chunks/{chunk-X653DLOR.js → chunk-JLTSTUKY.js} +1 -1
- package/build/js/chunks/chunk-LPFXHHWJ.js +1 -0
- package/build/js/chunks/chunk-MA3GV76P.js +1 -0
- package/build/js/chunks/chunk-NIKRAADM.js +1 -0
- package/build/js/chunks/{chunk-FMOB7R2T.js → chunk-O4HDBWKK.js} +1 -1
- package/build/js/chunks/{chunk-33ZWDLU7.js → chunk-O7EM4VIM.js} +1 -1
- package/build/js/chunks/chunk-OLUNDJBC.js +1 -0
- package/build/js/chunks/{chunk-PM5CNTBV.js → chunk-OX64CCOP.js} +1 -1
- package/build/js/chunks/chunk-P2R7FW6C.js +1 -0
- package/build/js/chunks/chunk-P3NPNIWR.js +1 -0
- package/build/js/chunks/{chunk-2SGKGZ6F.js → chunk-QFSNPY5Y.js} +1 -1
- package/build/js/chunks/{chunk-BSX3V75N.js → chunk-QUWP3ILW.js} +1 -1
- package/build/js/chunks/chunk-RZTXUIJ5.js +0 -0
- package/build/js/chunks/chunk-SHM7SU3B.js +1 -0
- package/build/js/chunks/chunk-U2WQ3WDE.js +1 -0
- package/build/js/chunks/chunk-U4IMOTYL.js +1 -0
- package/build/js/chunks/{chunk-PDJEYYPX.js → chunk-U6MFAGMG.js} +1 -1
- package/build/js/chunks/{chunk-GS7VZDY5.js → chunk-U7ETOWGJ.js} +1 -1
- package/build/js/chunks/chunk-UNO6YIIA.js +1 -0
- package/build/js/chunks/{chunk-UJYGOVXB.js → chunk-V2OKMBZD.js} +1 -1
- package/build/js/chunks/{chunk-FCXZZH3O.js → chunk-VSROWPI6.js} +1 -1
- package/build/js/chunks/{chunk-ZCEA7BEH.js → chunk-WHRRC6V6.js} +1 -1
- package/build/js/chunks/{chunk-KVRNF3VA.js → chunk-WOOPJWJS.js} +1 -1
- package/build/js/chunks/chunk-XUIVDVLK.js +6 -0
- package/build/js/chunks/{chunk-NMXQDQYI.js → chunk-YE2GYNRP.js} +1 -1
- package/build/js/chunks/{chunk-VWEJFI2M.js → chunk-ZP3YIZEC.js} +1 -1
- package/build/js/chunks/{chunk-2MK5Y4IL.js → chunk-ZTKCGHYQ.js} +1 -1
- package/build/js/controls/CameraFOVSwitchControl.d.ts +6 -3
- package/build/js/controls/CameraFOVSwitchControl.js +1 -1
- package/build/js/controls/CameraSwitchControl.d.ts +3 -3
- package/build/js/controls/CameraSwitchControl.js +1 -1
- package/build/js/controls/TorchSwitchControl.d.ts +3 -3
- package/build/js/controls/TorchSwitchControl.js +1 -1
- package/build/js/controls/ZoomSwitchControl.d.ts +97 -0
- package/build/js/controls/ZoomSwitchControl.js +1 -0
- package/build/js/controls/common.d.ts +3 -3
- package/build/js/controls/index.d.ts +5 -3
- package/build/js/controls/index.js +1 -1
- package/build/js/defaults/DefaultsCamera.d.ts +4 -3
- package/build/js/defaults/DefaultsCamera.js +1 -1
- package/build/js/defaults/DefaultsCameraSettings.d.ts +2 -1
- package/build/js/defaults/DefaultsCameraSettings.js +1 -1
- package/build/js/defaults/DefaultsDataCaptureView.d.ts +2 -2
- package/build/js/defaults/DefaultsDataCaptureView.js +1 -1
- package/build/js/defaults/DefaultsDeserializers.d.ts +1 -1
- package/build/js/defaults/DefaultsDeserializers.js +1 -1
- package/build/js/index.d.ts +6 -4
- package/build/js/index.js +1 -1
- package/build/js/moduleLoader.d.ts +3 -3
- package/build/js/private/CameraAccess.d.ts +1 -1
- package/build/js/private/CameraManager.d.ts +3 -3
- package/build/js/private/CameraManager.js +1 -1
- package/build/js/private/CameraPool.d.ts +56 -22
- package/build/js/private/CameraPool.js +1 -1
- package/build/js/private/CanvasDrawerWithMetrics.d.ts +3 -3
- package/build/js/private/CoreModuleLicenseTextProvider.d.ts +3 -3
- package/build/js/private/CoreModuleLicenseTextProvider.js +1 -1
- package/build/js/private/CustomLocationsView.js +1 -1
- package/build/js/private/DataCaptureContextRelated.d.ts +3 -3
- package/build/js/private/FrameReaders/FrameReader.d.ts +3 -3
- package/build/js/private/FrameReaders/FrameReader.js +1 -1
- package/build/js/private/FrameReaders/FrameReaderAbstract.d.ts +3 -3
- package/build/js/private/FrameReaders/GrayScaleFrameReader.d.ts +3 -3
- package/build/js/private/FrameReaders/GrayScaleFrameReader.js +1 -1
- package/build/js/private/FrameReaders/index.d.ts +3 -3
- package/build/js/private/FrameReaders/index.js +1 -1
- package/build/js/private/GestureRecognizer/GestureRecognizer.d.ts +34 -0
- package/build/js/private/GestureRecognizer/GestureRecognizer.js +1 -1
- package/build/js/private/GestureRecognizer/PointerEventsDetector.js +1 -1
- package/build/js/private/GestureRecognizer/index.d.ts +1 -1
- package/build/js/private/GestureRecognizer/index.js +1 -1
- package/build/js/private/NormalizedModuleLoaderOptions.d.ts +3 -3
- package/build/js/private/SingleImageUploaderView.d.ts +3 -3
- package/build/js/private/SingleImageUploaderView.js +1 -1
- package/build/js/private/ViewControls+related.js +1 -1
- package/build/js/private/ViewControls_related.d.ts +3 -3
- package/build/js/private/ViewStyles.js +1 -1
- package/build/js/private/ViewsRegistry.d.ts +3 -3
- package/build/js/private/customHowler/Howl.js +1 -1
- package/build/js/private/customHowler/index.js +1 -1
- package/build/js/private/customHowler/setup.js +1 -1
- package/build/js/private/ui/atoms/AimerSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/ArrowDownSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/ArrowLeftSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/ArrowRightSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/ArrowUpSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/ArrowsUp.js +1 -1
- package/build/js/private/ui/atoms/Backdrop.js +1 -1
- package/build/js/private/ui/atoms/CalendarExclamationMarkSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/CameraFOVUltrawideSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/CameraFOVWideSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/CameraSwitchReverseSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/CameraSwitchSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/Card.js +1 -1
- package/build/js/private/ui/atoms/CardList.js +1 -1
- package/build/js/private/ui/atoms/CheckSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/ChevronDownSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/ChevronLeftSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/ChevronRightSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/ChevronUpSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/CrossSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/DeleteSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/Dot5xSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/ExclamationMarkSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/GlassSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/HandLensCheckSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/KeyboardSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/LowStockSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/OnexSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/PauseSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/PrinterSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/ProgressBar.js +1 -1
- package/build/js/private/ui/atoms/QuestionMarkSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/RestartSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/RoundedCheckSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/RoundedCrossSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/RoundedExclamationMarkSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/ScanSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/ShutterButton.js +1 -1
- package/build/js/private/ui/atoms/SlashSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/StarFilledSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/StarHalfFilledSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/StarOutlinedSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/SvgIcon.js +1 -1
- package/build/js/private/ui/atoms/ToPickSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/Toast.d.ts +3 -3
- package/build/js/private/ui/atoms/Toast.js +1 -1
- package/build/js/private/ui/atoms/TorchOffSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/TorchOnSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/TwoxSvgIcon.js +1 -1
- package/build/js/private/ui/atoms/WrongItemSvgIcon.js +1 -1
- package/build/js/private/ui/molecules/ButtonEvents.d.ts +8 -1
- package/build/js/private/ui/molecules/ButtonEvents.js +1 -1
- package/build/js/private/ui/molecules/CameraFOVSwitchButton.d.ts +0 -1
- package/build/js/private/ui/molecules/CameraFOVSwitchButton.js +1 -1
- package/build/js/private/ui/molecules/CameraSwitchButton.d.ts +0 -1
- package/build/js/private/ui/molecules/CameraSwitchButton.js +1 -1
- package/build/js/private/ui/molecules/ControlsLayout.js +1 -1
- package/build/js/private/ui/molecules/HintPresenter.d.ts +3 -3
- package/build/js/private/ui/molecules/HintPresenter.js +1 -1
- package/build/js/private/ui/molecules/LoadingOverlay.js +1 -1
- package/build/js/private/ui/molecules/TorchSwitchIconButton.d.ts +1 -2
- package/build/js/private/ui/molecules/TorchSwitchIconButton.js +1 -1
- package/build/js/private/ui/molecules/ZoomSwitchPill.d.ts +70 -0
- package/build/js/private/ui/molecules/ZoomSwitchPill.js +1 -0
- package/build/js/private/utils/AnimationSimplePolyfill.js +1 -1
- package/build/js/private/utils/areEqualArrays.d.ts +4 -0
- package/build/js/private/utils/areEqualArrays.js +1 -0
- package/build/js/private/utils/index.d.ts +1 -0
- package/build/js/private/utils/index.js +1 -1
- package/build/js/private/utils/isPointerTouchEvent.d.ts +4 -0
- package/build/js/private/utils/isPointerTouchEvent.js +1 -0
- package/build/js/private/utils/polyfillLoader.js +1 -1
- package/build/js/private/utils/replaceImagesInViewUtils.d.ts +3 -3
- package/build/js/worker/ImageConverterForwarder.d.ts +3 -3
- package/build/js/worker/ViewInfoHelper.d.ts +3 -3
- package/build/js/worker/WorkerMain.d.ts +3 -3
- package/build/js/worker/WorkerMain.js +1 -1
- package/build/js/worker/coreCapture.inlineWorker.d.ts +3 -3
- package/build/js/worker/coreCapture.inlineWorker.js +1 -1
- package/build/js/worker/dataCaptureEngine.d.ts +3 -3
- package/build/js/worker/dataCaptureEngine.js +1 -1
- package/build/js/worker/dataCaptureLoader.d.ts +3 -3
- package/build/js/worker/dataCaptureWorkerRelated.d.ts +3 -3
- package/build/js/worker/helperFs.d.ts +3 -5
- package/build/js/worker/helperFs.js +1 -1
- package/build/js/worker/index.d.ts +3 -3
- package/build/js/worker/index.js +1 -1
- package/package.json +1 -1
- package/build/js/chunks/chunk-2AX7TBDI.js +0 -1
- package/build/js/chunks/chunk-2OCDIZIS.js +0 -1
- package/build/js/chunks/chunk-3D2HNEVH.js +0 -1
- package/build/js/chunks/chunk-6AQGNP4S.js +0 -1
- package/build/js/chunks/chunk-6IHWEHG3.js +0 -1
- package/build/js/chunks/chunk-6LHGFWQI.js +0 -1
- package/build/js/chunks/chunk-74GO72VC.js +0 -1
- package/build/js/chunks/chunk-A5G2NHT2.js +0 -1
- package/build/js/chunks/chunk-AKGGJKCA.js +0 -35
- package/build/js/chunks/chunk-DZKTI5AJ.js +0 -1
- package/build/js/chunks/chunk-EQP4U5U2.js +0 -1
- package/build/js/chunks/chunk-EYBP3672.js +0 -1
- package/build/js/chunks/chunk-F3Y2X52X.js +0 -1
- package/build/js/chunks/chunk-GX4YCYCH.js +0 -1
- package/build/js/chunks/chunk-HHA4HDG5.js +0 -6
- package/build/js/chunks/chunk-QHBYNYWX.js +0 -1
- package/build/js/chunks/chunk-RY2EW3RR.js +0 -1
- package/build/js/chunks/chunk-SSTFVERQ.js +0 -1
- package/build/js/chunks/chunk-WJOT37ST.js +0 -1
- package/build/js/chunks/chunk-XIAF6V7E.js +0 -1
- /package/build/js/{chunks/chunk-BUKZPAC5.js → ZoomGestureListener.js} +0 -0
- /package/build/js/{chunks/chunk-VFOSFLTM.js → ZoomListener.js} +0 -0
- /package/build/js/chunks/{chunk-O5D4KVS5.js → chunk-Y7BTRVB4.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="emscripten" />
|
|
2
|
-
import { C as Control, a as ControlType } from '../DataCaptureContext-
|
|
3
|
-
import '../Camera-
|
|
2
|
+
import { C as Control, a as ControlType } from '../DataCaptureContext-qacCkSOl.js';
|
|
3
|
+
import '../Camera-HgH6fwnW.js';
|
|
4
4
|
import '../commons/Rect.js';
|
|
5
5
|
import '../private/Serializable.js';
|
|
6
6
|
import '../commons/Point.js';
|
|
@@ -8,7 +8,7 @@ import '../commons/Size.js';
|
|
|
8
8
|
import '../private/privateAccess.js';
|
|
9
9
|
import '../DataCaptureContextSettings.js';
|
|
10
10
|
import '../commons/JSONType.js';
|
|
11
|
-
import '../DataCaptureViewPlusRelated.js';
|
|
11
|
+
import '../DataCaptureViewPlusRelated-BOrDBPHq.js';
|
|
12
12
|
import '../NotificationPresenter/NotificationPresenter.js';
|
|
13
13
|
import '../NotificationPresenter/NotificationConfiguration.js';
|
|
14
14
|
import '../commons/Color.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as TorchSwitchControl}from'../chunks/chunk-
|
|
1
|
+
export{a as TorchSwitchControl}from'../chunks/chunk-AC4QOIY7.js';
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/// <reference types="emscripten" />
|
|
2
|
+
import { Z as ZoomListener, C as Camera } from '../Camera-HgH6fwnW.js';
|
|
3
|
+
import { ZoomSwitchOrientation } from '../ZoomSwitchOrientation.js';
|
|
4
|
+
import { C as Control, a as ControlType } from '../DataCaptureContext-qacCkSOl.js';
|
|
5
|
+
import '../commons/Rect.js';
|
|
6
|
+
import '../private/Serializable.js';
|
|
7
|
+
import '../commons/Point.js';
|
|
8
|
+
import '../commons/Size.js';
|
|
9
|
+
import '../private/privateAccess.js';
|
|
10
|
+
import '../DataCaptureContextSettings.js';
|
|
11
|
+
import '../commons/JSONType.js';
|
|
12
|
+
import '../DataCaptureViewPlusRelated-BOrDBPHq.js';
|
|
13
|
+
import '../NotificationPresenter/NotificationPresenter.js';
|
|
14
|
+
import '../NotificationPresenter/NotificationConfiguration.js';
|
|
15
|
+
import '../commons/Color.js';
|
|
16
|
+
import '../ScanditIcon.js';
|
|
17
|
+
import '../private/utils/ScanditHTMLElement.js';
|
|
18
|
+
import '../NotificationPresenter/NotificationStyle.js';
|
|
19
|
+
import '../commons/Anchor.js';
|
|
20
|
+
import '../commons/MarginsWithUnit.js';
|
|
21
|
+
import '../commons/NumberWithUnit.js';
|
|
22
|
+
import '../commons/MeasureUnit.js';
|
|
23
|
+
import '../commons/Orientation.js';
|
|
24
|
+
import '../commons/PointWithUnit.js';
|
|
25
|
+
import '../commons/Quadrilateral.js';
|
|
26
|
+
import '../private/CustomLocationsView.js';
|
|
27
|
+
import '../private/View.js';
|
|
28
|
+
import '../private/AnchorPositions.js';
|
|
29
|
+
import '../private/nativeHandle.js';
|
|
30
|
+
import '../private/AdditionalLayerPosition.js';
|
|
31
|
+
import '../license/OpenSourceSoftwareLicenseInfo.js';
|
|
32
|
+
import '../logger.js';
|
|
33
|
+
import '../private/FrameReaders/ColorType.js';
|
|
34
|
+
import '../private/BatteryInterface.js';
|
|
35
|
+
import '../LoadingStatus.js';
|
|
36
|
+
import '../private/djinni-types/index.js';
|
|
37
|
+
import '../private/HtmlElementState.js';
|
|
38
|
+
import '../commons/SizeWithUnit.js';
|
|
39
|
+
import '../private/utils/AsyncStateMachine.js';
|
|
40
|
+
import '../tsHelper.js';
|
|
41
|
+
|
|
42
|
+
declare class ZoomSwitchControl implements Control, ZoomListener {
|
|
43
|
+
private readonly type;
|
|
44
|
+
private view?;
|
|
45
|
+
private _zoomLevels;
|
|
46
|
+
private _orientation;
|
|
47
|
+
private _isAlwaysExpanded;
|
|
48
|
+
private _selectedZoomLevel;
|
|
49
|
+
private _accessibilityLabel;
|
|
50
|
+
private zoomSwitchPill?;
|
|
51
|
+
private ZoomSwitchPill?;
|
|
52
|
+
private isApplyingZoomLevel;
|
|
53
|
+
private readonly handlerForZoomStrategy;
|
|
54
|
+
private onZoomLevelSelected;
|
|
55
|
+
private get currentCamera();
|
|
56
|
+
get orientation(): ZoomSwitchOrientation;
|
|
57
|
+
set orientation(value: ZoomSwitchOrientation);
|
|
58
|
+
get isAlwaysExpanded(): boolean;
|
|
59
|
+
set isAlwaysExpanded(value: boolean);
|
|
60
|
+
get isExpanded(): boolean;
|
|
61
|
+
set isExpanded(value: boolean);
|
|
62
|
+
get selectedZoomLevel(): number;
|
|
63
|
+
get accessibilityLabel(): string;
|
|
64
|
+
set accessibilityLabel(label: string);
|
|
65
|
+
/**
|
|
66
|
+
* Programmatically select a zoom level.
|
|
67
|
+
*
|
|
68
|
+
* - If `level` is outside the camera's hardware zoom range, it is clamped to the nearest supported value.
|
|
69
|
+
* - If the (clamped) level does not match any of the configured `zoomLevels`, it appears as a temporary
|
|
70
|
+
* button in the control. The temporary button disappears as soon as another level is selected.
|
|
71
|
+
*
|
|
72
|
+
* @returns The zoom level that was actually applied (after hardware clamping).
|
|
73
|
+
*/
|
|
74
|
+
selectZoomLevel(level: number): Promise<number>;
|
|
75
|
+
toJSONObject(): {
|
|
76
|
+
type: ControlType;
|
|
77
|
+
};
|
|
78
|
+
onZoomLevelChanged(camera: Camera, oldLevel: number, newLevel: number): void;
|
|
79
|
+
private canShow;
|
|
80
|
+
private handleZoomLevelSelected;
|
|
81
|
+
/**
|
|
82
|
+
* Updates the selected level in the UI, handling the temporary level logic:
|
|
83
|
+
* - If `level` matches a configured zoom level → select it, clear temporary
|
|
84
|
+
* - If `level` does NOT match → show it as a temporary level
|
|
85
|
+
*/
|
|
86
|
+
private updateSelectedLevelInUI;
|
|
87
|
+
private zoomStrategyForLevel;
|
|
88
|
+
private isCameraSwitchingStrategy;
|
|
89
|
+
private applyZoomLevelToCamera;
|
|
90
|
+
private switchToUltraWideCamera;
|
|
91
|
+
private switchToWideCamera;
|
|
92
|
+
private switchCameras;
|
|
93
|
+
private resolveOrientation;
|
|
94
|
+
private syncZoomLevelsFromCamera;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export { ZoomSwitchControl };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{a as ZoomSwitchControl}from'../chunks/chunk-P2R7FW6C.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/// <reference types="emscripten" />
|
|
2
|
-
export { C as Control, a as ControlType,
|
|
2
|
+
export { C as Control, a as ControlType, bi as PrivateBaseControl, bj as PrivateControl } from '../DataCaptureContext-qacCkSOl.js';
|
|
3
3
|
import '../private/Serializable.js';
|
|
4
|
-
import '../Camera-
|
|
4
|
+
import '../Camera-HgH6fwnW.js';
|
|
5
5
|
import '../commons/Rect.js';
|
|
6
6
|
import '../commons/Point.js';
|
|
7
7
|
import '../commons/Size.js';
|
|
8
8
|
import '../private/privateAccess.js';
|
|
9
9
|
import '../DataCaptureContextSettings.js';
|
|
10
10
|
import '../commons/JSONType.js';
|
|
11
|
-
import '../DataCaptureViewPlusRelated.js';
|
|
11
|
+
import '../DataCaptureViewPlusRelated-BOrDBPHq.js';
|
|
12
12
|
import '../NotificationPresenter/NotificationPresenter.js';
|
|
13
13
|
import '../NotificationPresenter/NotificationConfiguration.js';
|
|
14
14
|
import '../commons/Color.js';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/// <reference types="emscripten" />
|
|
2
2
|
export { CameraFOVSwitchControl } from './CameraFOVSwitchControl.js';
|
|
3
3
|
export { CameraSwitchControl } from './CameraSwitchControl.js';
|
|
4
|
-
export { C as Control, a as ControlType } from '../DataCaptureContext-
|
|
4
|
+
export { C as Control, a as ControlType } from '../DataCaptureContext-qacCkSOl.js';
|
|
5
5
|
export { TorchSwitchControl } from './TorchSwitchControl.js';
|
|
6
|
-
|
|
6
|
+
export { ZoomSwitchControl } from './ZoomSwitchControl.js';
|
|
7
|
+
import '../Camera-HgH6fwnW.js';
|
|
7
8
|
import '../commons/Rect.js';
|
|
8
9
|
import '../private/Serializable.js';
|
|
9
10
|
import '../commons/Point.js';
|
|
@@ -11,7 +12,7 @@ import '../commons/Size.js';
|
|
|
11
12
|
import '../private/privateAccess.js';
|
|
12
13
|
import '../DataCaptureContextSettings.js';
|
|
13
14
|
import '../commons/JSONType.js';
|
|
14
|
-
import '../DataCaptureViewPlusRelated.js';
|
|
15
|
+
import '../DataCaptureViewPlusRelated-BOrDBPHq.js';
|
|
15
16
|
import '../NotificationPresenter/NotificationPresenter.js';
|
|
16
17
|
import '../NotificationPresenter/NotificationConfiguration.js';
|
|
17
18
|
import '../commons/Color.js';
|
|
@@ -40,3 +41,4 @@ import '../private/HtmlElementState.js';
|
|
|
40
41
|
import '../commons/SizeWithUnit.js';
|
|
41
42
|
import '../private/utils/AsyncStateMachine.js';
|
|
42
43
|
import '../tsHelper.js';
|
|
44
|
+
import '../ZoomSwitchOrientation.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as
|
|
1
|
+
export{a as CameraSwitchControl}from'../chunks/chunk-ZTKCGHYQ.js';export{a as TorchSwitchControl}from'../chunks/chunk-AC4QOIY7.js';export{a as ZoomSwitchControl}from'../chunks/chunk-P2R7FW6C.js';export{a as CameraFOVSwitchControl}from'../chunks/chunk-ZP3YIZEC.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="emscripten" />
|
|
2
|
-
import { k as VideoResolution,
|
|
2
|
+
import { k as VideoResolution, j as FocusGestureStrategy, e as CameraPosition } from '../Camera-HgH6fwnW.js';
|
|
3
3
|
import '../ScanditIcon.js';
|
|
4
|
-
import '../DataCaptureContext-
|
|
4
|
+
import '../DataCaptureContext-qacCkSOl.js';
|
|
5
5
|
import '../commons/Rect.js';
|
|
6
6
|
import '../private/Serializable.js';
|
|
7
7
|
import '../commons/Point.js';
|
|
@@ -11,7 +11,7 @@ import '../commons/Color.js';
|
|
|
11
11
|
import '../private/utils/ScanditHTMLElement.js';
|
|
12
12
|
import '../DataCaptureContextSettings.js';
|
|
13
13
|
import '../commons/JSONType.js';
|
|
14
|
-
import '../DataCaptureViewPlusRelated.js';
|
|
14
|
+
import '../DataCaptureViewPlusRelated-BOrDBPHq.js';
|
|
15
15
|
import '../NotificationPresenter/NotificationPresenter.js';
|
|
16
16
|
import '../NotificationPresenter/NotificationConfiguration.js';
|
|
17
17
|
import '../NotificationPresenter/NotificationStyle.js';
|
|
@@ -44,6 +44,7 @@ declare const defaultCamera: {
|
|
|
44
44
|
zoomFactor: number;
|
|
45
45
|
focusGestureStrategy: FocusGestureStrategy;
|
|
46
46
|
zoomGestureZoomFactor: number;
|
|
47
|
+
zoomLevels: number[];
|
|
47
48
|
};
|
|
48
49
|
defaultPosition: CameraPosition;
|
|
49
50
|
availablePositions: CameraPosition[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as defaultCamera}from'../chunks/chunk-
|
|
1
|
+
export{a as defaultCamera}from'../chunks/chunk-U2WQ3WDE.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="emscripten" />
|
|
2
|
-
import { k as VideoResolution,
|
|
2
|
+
import { k as VideoResolution, j as FocusGestureStrategy } from '../Camera-HgH6fwnW.js';
|
|
3
3
|
import '../commons/Rect.js';
|
|
4
4
|
import '../private/Serializable.js';
|
|
5
5
|
import '../commons/Point.js';
|
|
@@ -11,6 +11,7 @@ declare const defaultCameraSettings: {
|
|
|
11
11
|
zoomFactor: number;
|
|
12
12
|
focusGestureStrategy: FocusGestureStrategy;
|
|
13
13
|
zoomGestureZoomFactor: number;
|
|
14
|
+
zoomLevels: number[];
|
|
14
15
|
};
|
|
15
16
|
type CameraSettingsDefaults = typeof defaultCameraSettings;
|
|
16
17
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as defaultCameraSettings}from'../chunks/chunk-
|
|
1
|
+
export{a as defaultCameraSettings}from'../chunks/chunk-MA3GV76P.js';
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import { Anchor } from '../commons/Anchor.js';
|
|
3
3
|
import { MarginsWithUnit } from '../commons/MarginsWithUnit.js';
|
|
4
4
|
import { PointWithUnit } from '../commons/PointWithUnit.js';
|
|
5
|
-
import { LogoStyle } from '../DataCaptureViewPlusRelated.js';
|
|
5
|
+
import { S as SwipeToZoom, L as LogoStyle } from '../DataCaptureViewPlusRelated-BOrDBPHq.js';
|
|
6
6
|
import '../private/Serializable.js';
|
|
7
7
|
import '../commons/NumberWithUnit.js';
|
|
8
8
|
import '../commons/MeasureUnit.js';
|
|
9
9
|
|
|
10
10
|
declare const defaultDataCaptureView: {
|
|
11
11
|
focusGesture: null;
|
|
12
|
-
|
|
12
|
+
zoomGestures: SwipeToZoom[];
|
|
13
13
|
logoAnchor: Anchor;
|
|
14
14
|
logoStyle: LogoStyle;
|
|
15
15
|
logoOffset: PointWithUnit;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as defaultDataCaptureView}from'../chunks/chunk-
|
|
1
|
+
export{a as defaultDataCaptureView}from'../chunks/chunk-56OQ5EHO.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="emscripten" />
|
|
2
|
-
import { FocusGestureJSON, FocusGesture, ZoomGestureJSON, ZoomGesture } from '../DataCaptureViewPlusRelated.js';
|
|
2
|
+
import { a as FocusGestureJSON, F as FocusGesture, b as ZoomGestureJSON, Z as ZoomGesture } from '../DataCaptureViewPlusRelated-BOrDBPHq.js';
|
|
3
3
|
import '../private/Serializable.js';
|
|
4
4
|
|
|
5
5
|
declare class PrivateFocusGestureDeserializer {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {b,c}from'../chunks/chunk-
|
|
1
|
+
import {b,c}from'../chunks/chunk-4QJAB4PO.js';var o=class{static fromJSON(u){return (u==null?void 0:u.type)==="tapToFocus"?new b:null}},r=class{static fromJSON(u){return (u==null?void 0:u.type)==="swipeToZoom"?new c:null}};export{o as PrivateFocusGestureDeserializer,r as PrivateZoomGestureDeserializer};
|
package/build/js/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export { AimerViewfinder } from './AimerViewfinder.js';
|
|
|
5
5
|
export { BrowserCompatibility, Feature } from './browserCompatibility.js';
|
|
6
6
|
export { BrowserHelper, DisplayMode } from './browserHelper.js';
|
|
7
7
|
export { Brush, BrushJSON } from './Brush.js';
|
|
8
|
-
export { C as Camera,
|
|
8
|
+
export { C as Camera, d as CameraJSON, e as CameraPosition, f as CameraSettings, g as CameraSettingsFromJSON, h as CameraSettingsJSON, i as CameraSettingsJSONBase, j as FocusGestureStrategy, F as FrameSource, c as FrameSourceJSON, b as FrameSourceListener, a as FrameSourceState, P as PrivateCameraExtraProperties, T as TorchState, V as VideoFrameResolution, k as VideoResolution, Z as ZoomListener, l as isCameraFrameSource } from './Camera-HgH6fwnW.js';
|
|
9
9
|
export { Anchor } from './commons/Anchor.js';
|
|
10
10
|
export { Color, ColorJSON } from './commons/Color.js';
|
|
11
11
|
export { Direction } from './commons/Direction.js';
|
|
@@ -26,12 +26,14 @@ export { SizeWithUnit, SizeWithUnitJSON } from './commons/SizeWithUnit.js';
|
|
|
26
26
|
export { SizeWithUnitAndAspect, SizeWithUnitAndAspectJSON } from './commons/SizeWithUnitAndAspect.js';
|
|
27
27
|
export { CameraFOVSwitchControl } from './controls/CameraFOVSwitchControl.js';
|
|
28
28
|
export { CameraSwitchControl } from './controls/CameraSwitchControl.js';
|
|
29
|
-
export { b as Change, c as ContextStatus, d as ContextStatusJSON, C as Control, a as ControlType, D as DataCaptureComponent, e as DataCaptureComponentJSON, f as DataCaptureContext, g as DataCaptureContextCreationOptions, h as DataCaptureContextJSON, i as DataCaptureContextListener, j as DataCaptureContextState, k as DataCaptureLoader, l as DataCaptureLoaderOptions, m as DataCaptureMode, n as DataCaptureModeJSON, o as DataCaptureOverlay, p as DataCaptureView, q as DataCaptureViewConnectOptions, r as DataCaptureViewJSON, s as DataCaptureViewListener, F as FrameData, M as ModuleLoader, t as ModuleLoaderOptions, P as PrivateCapabilityInfo, u as PrivateChangeSet, v as PrivateDataCaptureComponent, w as PrivateDataCaptureContext, x as PrivateDataCaptureContextOptions, y as PrivateDataCaptureMode, z as PrivateFrameHandler, A as PrivateFrameHandlerResponse, B as PrivateLoadableFrameData, E as PrivateMirrorAxis, G as convertToPublicFrameData } from './DataCaptureContext-
|
|
29
|
+
export { b as Change, c as ContextStatus, d as ContextStatusJSON, C as Control, a as ControlType, D as DataCaptureComponent, e as DataCaptureComponentJSON, f as DataCaptureContext, g as DataCaptureContextCreationOptions, h as DataCaptureContextJSON, i as DataCaptureContextListener, j as DataCaptureContextState, k as DataCaptureLoader, l as DataCaptureLoaderOptions, m as DataCaptureMode, n as DataCaptureModeJSON, o as DataCaptureOverlay, p as DataCaptureView, q as DataCaptureViewConnectOptions, r as DataCaptureViewJSON, s as DataCaptureViewListener, F as FrameData, M as ModuleLoader, t as ModuleLoaderOptions, P as PrivateCapabilityInfo, u as PrivateChangeSet, v as PrivateDataCaptureComponent, w as PrivateDataCaptureContext, x as PrivateDataCaptureContextOptions, y as PrivateDataCaptureMode, z as PrivateFrameHandler, A as PrivateFrameHandlerResponse, B as PrivateLoadableFrameData, E as PrivateMirrorAxis, G as convertToPublicFrameData } from './DataCaptureContext-qacCkSOl.js';
|
|
30
30
|
export { TorchSwitchControl } from './controls/TorchSwitchControl.js';
|
|
31
|
+
export { ZoomSwitchControl } from './controls/ZoomSwitchControl.js';
|
|
32
|
+
export { F as FocusGesture, a as FocusGestureJSON, L as LogoStyle, P as PinchToZoom, S as SwipeToZoom, T as TapToFocus, Z as ZoomGesture, b as ZoomGestureJSON, c as ZoomGestureListener } from './DataCaptureViewPlusRelated-BOrDBPHq.js';
|
|
33
|
+
export { ZoomSwitchOrientation } from './ZoomSwitchOrientation.js';
|
|
31
34
|
export { DataCaptureContextSettings, DataCaptureContextSettingsJSON } from './DataCaptureContextSettings.js';
|
|
32
35
|
export { DataCaptureError, DataCaptureErrorDetails } from './DataCaptureError.js';
|
|
33
36
|
export { DataCaptureVersion } from './DataCaptureVersion.js';
|
|
34
|
-
export { FocusGesture, FocusGestureJSON, LogoStyle, SwipeToZoom, TapToFocus, ZoomGesture, ZoomGestureJSON } from './DataCaptureViewPlusRelated.js';
|
|
35
37
|
export { Feedback, FeedbackJSON } from './Feedback.js';
|
|
36
38
|
export { ImageFrameSource, ImageFrameSourceJSON } from './ImageFrameSource.js';
|
|
37
39
|
export { LaserlineViewfinder } from './LaserlineViewfinder.js';
|
|
@@ -59,9 +61,9 @@ export { AimerViewfinderJSON, LaserlineViewfinderJSON, PrivateLaserlineViewfinde
|
|
|
59
61
|
export { INTERNAL_ACCESS } from './private/privateAccess.js';
|
|
60
62
|
export { WorkerMain } from './worker/WorkerMain.js';
|
|
61
63
|
import './private/Serializable.js';
|
|
64
|
+
import './private/nativeHandle.js';
|
|
62
65
|
import './private/CustomLocationsView.js';
|
|
63
66
|
import './private/View.js';
|
|
64
|
-
import './private/nativeHandle.js';
|
|
65
67
|
import './license/OpenSourceSoftwareLicenseInfo.js';
|
|
66
68
|
import './private/FrameReaders/ColorType.js';
|
|
67
69
|
import './private/BatteryInterface.js';
|
package/build/js/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as DataCaptureLoader}from'./chunks/chunk-YJNJGCAN.js';export{a as WorkerMain}from'./chunks/chunk-
|
|
1
|
+
export{a as DataCaptureLoader}from'./chunks/chunk-YJNJGCAN.js';export{a as WorkerMain}from'./chunks/chunk-JLTSTUKY.js';export{a as RectWithUnit}from'./chunks/chunk-TKO5JMMS.js';export{a as Direction}from'./chunks/chunk-WARGMW7Z.js';export{a as CameraSwitchControl}from'./chunks/chunk-ZTKCGHYQ.js';export{a as TorchSwitchControl}from'./chunks/chunk-AC4QOIY7.js';export{a as ZoomSwitchControl}from'./chunks/chunk-P2R7FW6C.js';export{a as NotificationBuilder}from'./chunks/chunk-5LXHD7FZ.js';export{a as CameraFOVSwitchControl}from'./chunks/chunk-ZP3YIZEC.js';export{a as NoViewfinder}from'./chunks/chunk-4ZMCJXZS.js';export{a as ZoomSwitchOrientation}from'./chunks/chunk-OLUNDJBC.js';export{a as PrivateNoneLocationSelection,b as RadiusLocationSelection,c as RectangularLocationSelection}from'./chunks/chunk-CAHJ3YOV.js';export{a as RectangularViewfinder}from'./chunks/chunk-GPUTPXQM.js';export{c as ScanditIconBuilder,b as ScanditIconForIconType,a as ScanditIconType}from'./chunks/chunk-WHRRC6V6.js';export{b as ScanditIcon,a as ScanditIconShape}from'./chunks/chunk-O4HDBWKK.js';export{a as SingleImageUploader}from'./chunks/chunk-4WA2PCJE.js';export{a as SingleImageUploaderSettings}from'./chunks/chunk-IMXMNDKM.js';export{a as DataCaptureVersion}from'./chunks/chunk-P3NPNIWR.js';export{a as DataCaptureView}from'./chunks/chunk-H3J4TP2K.js';export{a as AdditionalLayerPosition}from'./chunks/chunk-DZE2EYSZ.js';export{a as AnchorPositions}from'./chunks/chunk-RSQRPDVQ.js';export{a as Orientation}from'./chunks/chunk-5RCWM6NI.js';export{a as PointWithUnit}from'./chunks/chunk-BDGRWHLY.js';export{a as Quadrilateral}from'./chunks/chunk-IJQG3OU6.js';export{a as Anchor}from'./chunks/chunk-Y7ZNLVR2.js';export{a as MarginsWithUnit}from'./chunks/chunk-MA6UDVDJ.js';export{a as NotificationStyle}from'./chunks/chunk-RXT3JWWR.js';export{a as NotificationConfiguration}from'./chunks/chunk-CRUOVJHW.js';export{a as MeasureUnit}from'./chunks/chunk-QQEY536Q.js';export{a as LogoStyle,d as PinchToZoom,c as SwipeToZoom,b as TapToFocus}from'./chunks/chunk-4QJAB4PO.js';export{a as Feedback}from'./chunks/chunk-76IGNICM.js';export{a as Sound}from'./chunks/chunk-CGK5V6XZ.js';export{a as Vibration}from'./chunks/chunk-IASACVTH.js';export{a as convertToPublicFrameData}from'./chunks/chunk-W33RVR5M.js';export{a as ImageFrameSource}from'./chunks/chunk-AD77NFCP.js';export{a as LaserlineViewfinder}from'./chunks/chunk-RXPPTQAB.js';export{a as AimerViewfinder}from'./chunks/chunk-3KKUZY2T.js';export{c as RectangularViewfinderAnimation,b as RectangularViewfinderLineStyle,a as RectangularViewfinderStyle}from'./chunks/chunk-WGLHZXRT.js';export{a as SizeWithUnitAndAspect}from'./chunks/chunk-AZWFNBVA.js';export{a as SizingMode}from'./chunks/chunk-2JIATMSD.js';export{a as SizeWithAspect}from'./chunks/chunk-FR24G4R7.js';export{a as SizeWithUnit}from'./chunks/chunk-F2GMW4LP.js';export{a as NumberWithUnit}from'./chunks/chunk-ENYHCJGH.js';export{a as Brush}from'./chunks/chunk-YOTQPBO6.js';export{a as Color}from'./chunks/chunk-SGL5J2CI.js';export{a as Camera}from'./chunks/chunk-GMOTHEWV.js';export{b as DataCaptureContext}from'./chunks/chunk-XUIVDVLK.js';export{a as OverrideState}from'./chunks/chunk-6W7FX6LD.js';export{b as loadingStatus}from'./chunks/chunk-6H6FKGVE.js';export{a as Localization}from'./chunks/chunk-GHTCNOQN.js';export{a as ScanditHTMLElement}from'./chunks/chunk-EV4OEANA.js';export{a as INTERNAL_ACCESS}from'./chunks/chunk-LFJUGRQV.js';export{a as Point}from'./chunks/chunk-KAFNKP6O.js';export{a as Rect}from'./chunks/chunk-E4XJ4GKD.js';export{a as Size}from'./chunks/chunk-QOCHMKNY.js';export{a as assert,b as assertUnreachable,c as assertUnreachableThrowException}from'./chunks/chunk-FTD535WI.js';export{b as BrowserHelper,a as DisplayMode}from'./chunks/chunk-YONR3EGV.js';export{a as Feature}from'./chunks/chunk-NVK73TNL.js';export{a as Logger}from'./chunks/chunk-XR65N6EG.js';export{c as CameraPosition,g as CameraSettings,e as FocusGestureStrategy,a as FrameSourceState,b as TorchState,d as VideoResolution,f as isCameraFrameSource}from'./chunks/chunk-D222MT4V.js';export{a as ContextStatus,b as PrivateMirrorAxis}from'./chunks/chunk-WUHKODFA.js';export{a as DataCaptureContextSettings}from'./chunks/chunk-7SW2PEHB.js';export{a as DataCaptureError}from'./chunks/chunk-QCZSSQAQ.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="emscripten" />
|
|
2
|
-
export { M as ModuleLoader } from './DataCaptureContext-
|
|
3
|
-
import './Camera-
|
|
2
|
+
export { M as ModuleLoader } from './DataCaptureContext-qacCkSOl.js';
|
|
3
|
+
import './Camera-HgH6fwnW.js';
|
|
4
4
|
import './commons/Rect.js';
|
|
5
5
|
import './private/Serializable.js';
|
|
6
6
|
import './commons/Point.js';
|
|
@@ -8,7 +8,7 @@ import './commons/Size.js';
|
|
|
8
8
|
import './private/privateAccess.js';
|
|
9
9
|
import './DataCaptureContextSettings.js';
|
|
10
10
|
import './commons/JSONType.js';
|
|
11
|
-
import './DataCaptureViewPlusRelated.js';
|
|
11
|
+
import './DataCaptureViewPlusRelated-BOrDBPHq.js';
|
|
12
12
|
import './NotificationPresenter/NotificationPresenter.js';
|
|
13
13
|
import './NotificationPresenter/NotificationConfiguration.js';
|
|
14
14
|
import './commons/Color.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="emscripten" />
|
|
2
|
-
export { A as AspectRatio, m as CameraAccess, n as CameraPosition, o as CameraResolutionConstraint, D as DeviceCamera } from '../Camera-
|
|
2
|
+
export { A as AspectRatio, m as CameraAccess, n as CameraPosition, o as CameraResolutionConstraint, D as DeviceCamera } from '../Camera-HgH6fwnW.js';
|
|
3
3
|
import '../commons/Rect.js';
|
|
4
4
|
import './Serializable.js';
|
|
5
5
|
import '../commons/Point.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/// <reference types="emscripten" />
|
|
2
2
|
import './FrameReaders/ColorType.js';
|
|
3
|
-
export {
|
|
4
|
-
import '../Camera-
|
|
3
|
+
export { bk as CameraManager, bl as CameraManagerEvent, bm as CameraManagerEventParameters, bn as CameraResolutionConstraint, bo as ExtendedMediaTrackCapabilities, bp as ExtendedMediaTrackConstraintSet, O as FrameCapture, J as FrameId, bq as GUI, br as MeteringMode, bs as createFrameId } from '../DataCaptureContext-qacCkSOl.js';
|
|
4
|
+
import '../Camera-HgH6fwnW.js';
|
|
5
5
|
import '../commons/Rect.js';
|
|
6
6
|
import '../DataCaptureContextSettings.js';
|
|
7
7
|
import '../commons/JSONType.js';
|
|
8
8
|
import './Serializable.js';
|
|
9
|
-
import '../DataCaptureViewPlusRelated.js';
|
|
9
|
+
import '../DataCaptureViewPlusRelated-BOrDBPHq.js';
|
|
10
10
|
import '../NotificationPresenter/NotificationPresenter.js';
|
|
11
11
|
import '../NotificationPresenter/NotificationConfiguration.js';
|
|
12
12
|
import '../commons/Color.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{g as CameraManager,f as CameraManagerEvent,d as CameraResolutionConstraint,c as MeteringMode,e as createFrameId}from'../chunks/chunk-
|
|
1
|
+
export{g as CameraManager,f as CameraManagerEvent,d as CameraResolutionConstraint,c as MeteringMode,e as createFrameId}from'../chunks/chunk-CA6FHIF6.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="emscripten" />
|
|
2
|
-
import { C as Camera } from '../Camera-
|
|
3
|
-
import '../ScanditIcon.js';
|
|
2
|
+
import { C as Camera } from '../Camera-HgH6fwnW.js';
|
|
4
3
|
import { INTERNAL_ACCESS } from './privateAccess.js';
|
|
5
|
-
import '../
|
|
4
|
+
import '../ScanditIcon.js';
|
|
5
|
+
import '../DataCaptureContext-qacCkSOl.js';
|
|
6
6
|
import '../commons/Rect.js';
|
|
7
7
|
import './Serializable.js';
|
|
8
8
|
import '../commons/Point.js';
|
|
@@ -11,7 +11,7 @@ import '../commons/Color.js';
|
|
|
11
11
|
import './utils/ScanditHTMLElement.js';
|
|
12
12
|
import '../DataCaptureContextSettings.js';
|
|
13
13
|
import '../commons/JSONType.js';
|
|
14
|
-
import '../DataCaptureViewPlusRelated.js';
|
|
14
|
+
import '../DataCaptureViewPlusRelated-BOrDBPHq.js';
|
|
15
15
|
import '../NotificationPresenter/NotificationPresenter.js';
|
|
16
16
|
import '../NotificationPresenter/NotificationConfiguration.js';
|
|
17
17
|
import '../NotificationPresenter/NotificationStyle.js';
|
|
@@ -56,33 +56,67 @@ import '../tsHelper.js';
|
|
|
56
56
|
*/
|
|
57
57
|
declare class CameraPool {
|
|
58
58
|
private cameraPool;
|
|
59
|
+
/**
|
|
60
|
+
* Track if the cameras of the device have been gathered. This means we have their ids, labels and positions.
|
|
61
|
+
*/
|
|
62
|
+
private deviceCamerasDiscovered;
|
|
59
63
|
/**
|
|
60
64
|
* Creates a new camera if the pool does not contain a similar-enough instance.
|
|
61
65
|
*/
|
|
62
66
|
getOrCreate(newCamera: Camera): Camera;
|
|
63
67
|
/**
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
68
|
+
* Reconciles the pool with the cameras reported by the device so that, after this call, the pool
|
|
69
|
+
* holds exactly one Camera instance per device camera (keyed by deviceId) while preserving
|
|
70
|
+
* existing Camera object references whenever possible.
|
|
67
71
|
*
|
|
68
|
-
*
|
|
69
|
-
* 1. **
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
72
|
+
* The algorithm has four steps:
|
|
73
|
+
* 1. **Match by deviceId** — every incoming camera with a deviceId tries to find a pool camera
|
|
74
|
+
* with the same deviceId. Matches update label and position in place.
|
|
75
|
+
* 2. **Merge best-guesses by position** — any remaining incoming camera tries to merge into a
|
|
76
|
+
* pool camera that has NO deviceId and shares its position. Pool cameras that already have a
|
|
77
|
+
* deviceId are never touched by this step.
|
|
78
|
+
* 3. **Force-merge remaining best-guesses** — any pool camera that still has no deviceId is
|
|
79
|
+
* force-merged with the next unmatched incoming camera regardless of position. The initial
|
|
80
|
+
* position is a "wish": we preserve the Camera object reference by snapping it to a real
|
|
81
|
+
* device camera even if no position match was possible.
|
|
82
|
+
* 4. **Reconcile leftovers** — incoming cameras with a deviceId that matched nothing are added
|
|
83
|
+
* as new pool entries. Incoming cameras without a deviceId are dropped with a debug log
|
|
84
|
+
* (should not happen in practice). Pool cameras that matched nothing (i.e. had a deviceId
|
|
85
|
+
* absent from the device list) are marked as unmapped and removed, with a warning.
|
|
74
86
|
*
|
|
75
|
-
*
|
|
76
|
-
* - Preserves existing Camera object references to maintain consistency across the application
|
|
77
|
-
* - Handles cameras without deviceIds by falling back to position-based matching
|
|
78
|
-
* - Prevents duplicate updates through internal tracking
|
|
79
|
-
* - Provides detailed console logging for debugging camera management
|
|
80
|
-
* - Warns about user-created cameras that don't correspond to actual devices
|
|
81
|
-
*
|
|
82
|
-
* @param newCameras Array of Camera objects detected from the current device enumeration
|
|
87
|
+
* @param newCameras Camera objects detected from the current device enumeration
|
|
83
88
|
*/
|
|
84
89
|
integrateIncomingVideoDevices(newCameras: Camera[]): void;
|
|
85
|
-
private
|
|
90
|
+
private matchByDeviceId;
|
|
91
|
+
/**
|
|
92
|
+
* Second pass: merge leftover incoming cameras into best-guess pool cameras (those without a
|
|
93
|
+
* deviceId) that share a position. Pool cameras that already have a deviceId are immutable here —
|
|
94
|
+
* this is the only legitimate use of position-based matching.
|
|
95
|
+
*/
|
|
96
|
+
private mergeBestGuesses;
|
|
97
|
+
/**
|
|
98
|
+
* Third pass: any pool camera that still has no deviceId is snapped onto the next unmatched
|
|
99
|
+
* incoming camera regardless of position. The initial position was a best-effort wish — when no
|
|
100
|
+
* device camera satisfies it, preserving the Camera object reference beats honouring the wish.
|
|
101
|
+
*/
|
|
102
|
+
private forceMergeBestGuesses;
|
|
103
|
+
private pushOrDropLeftovers;
|
|
104
|
+
private removeOrphans;
|
|
105
|
+
/**
|
|
106
|
+
* Re-binds a pool camera to a different deviceId after the CameraManager has ended up opening a
|
|
107
|
+
* different stream than the one the camera was merged with during integration.
|
|
108
|
+
*
|
|
109
|
+
* Used by best-guess resolution: the bestGuess Camera is merged with *some* device camera during
|
|
110
|
+
* integration (first match by position), but CameraManager may ultimately open a different camera
|
|
111
|
+
* (the "main" one for iOS, typically). In that case the user's Camera reference must still reflect
|
|
112
|
+
* what was actually opened, without breaking the pool invariant that each deviceId appears at most
|
|
113
|
+
* once.
|
|
114
|
+
*
|
|
115
|
+
* When another pool camera already holds `target.deviceId`, their identities are swapped: `camera`
|
|
116
|
+
* adopts the target identity, the existing holder adopts `camera`'s previous identity. Both device
|
|
117
|
+
* cameras remain represented in the pool; only the Camera object references are reshuffled.
|
|
118
|
+
*/
|
|
119
|
+
rebindToDeviceId(camera: Camera, target: Pick<Camera, "deviceId" | "label" | "position">): void;
|
|
86
120
|
get(): Camera[];
|
|
87
121
|
clear(): void;
|
|
88
122
|
private push;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{b as cameraPool,a as internal}from'../chunks/chunk-
|
|
1
|
+
export{b as cameraPool,a as internal}from'../chunks/chunk-7LTHFX4E.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference types="emscripten" />
|
|
2
2
|
import { PrivateCanvasDrawer } from './CanvasDrawer.js';
|
|
3
|
-
import { I as PerformanceMetrics } from '../DataCaptureContext-
|
|
3
|
+
import { I as PerformanceMetrics } from '../DataCaptureContext-qacCkSOl.js';
|
|
4
4
|
import '../ScanditIcon.js';
|
|
5
5
|
import './CavansDrawerAbstract.js';
|
|
6
6
|
import './DrawCommandBuffer.js';
|
|
7
|
-
import '../Camera-
|
|
7
|
+
import '../Camera-HgH6fwnW.js';
|
|
8
8
|
import '../commons/Rect.js';
|
|
9
9
|
import './Serializable.js';
|
|
10
10
|
import '../commons/Point.js';
|
|
@@ -12,7 +12,7 @@ import '../commons/Size.js';
|
|
|
12
12
|
import './privateAccess.js';
|
|
13
13
|
import '../DataCaptureContextSettings.js';
|
|
14
14
|
import '../commons/JSONType.js';
|
|
15
|
-
import '../DataCaptureViewPlusRelated.js';
|
|
15
|
+
import '../DataCaptureViewPlusRelated-BOrDBPHq.js';
|
|
16
16
|
import '../NotificationPresenter/NotificationPresenter.js';
|
|
17
17
|
import '../NotificationPresenter/NotificationConfiguration.js';
|
|
18
18
|
import '../commons/Color.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="emscripten" />
|
|
2
2
|
import { ModuleLicenseTextProvider } from './ModuleLicenseTextProvider.js';
|
|
3
|
-
import { f as DataCaptureContext } from '../DataCaptureContext-
|
|
3
|
+
import { f as DataCaptureContext } from '../DataCaptureContext-qacCkSOl.js';
|
|
4
4
|
import { Logger } from '../logger.js';
|
|
5
|
-
import '../Camera-
|
|
5
|
+
import '../Camera-HgH6fwnW.js';
|
|
6
6
|
import '../commons/Rect.js';
|
|
7
7
|
import './Serializable.js';
|
|
8
8
|
import '../commons/Point.js';
|
|
@@ -10,7 +10,7 @@ import '../commons/Size.js';
|
|
|
10
10
|
import './privateAccess.js';
|
|
11
11
|
import '../DataCaptureContextSettings.js';
|
|
12
12
|
import '../commons/JSONType.js';
|
|
13
|
-
import '../DataCaptureViewPlusRelated.js';
|
|
13
|
+
import '../DataCaptureViewPlusRelated-BOrDBPHq.js';
|
|
14
14
|
import '../NotificationPresenter/NotificationPresenter.js';
|
|
15
15
|
import '../NotificationPresenter/NotificationConfiguration.js';
|
|
16
16
|
import '../commons/Color.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as CoreModuleLicenseTextProvider}from'../chunks/chunk-
|
|
1
|
+
export{a as CoreModuleLicenseTextProvider}from'../chunks/chunk-XUIVDVLK.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as CustomLocationsView}from'../chunks/chunk-
|
|
1
|
+
export{a as CustomLocationsView}from'../chunks/chunk-WOOPJWJS.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="emscripten" />
|
|
2
|
-
import { f as DataCaptureContext, F as FrameData } from '../DataCaptureContext-
|
|
3
|
-
import '../Camera-
|
|
2
|
+
import { f as DataCaptureContext, F as FrameData } from '../DataCaptureContext-qacCkSOl.js';
|
|
3
|
+
import '../Camera-HgH6fwnW.js';
|
|
4
4
|
import '../commons/Rect.js';
|
|
5
5
|
import './Serializable.js';
|
|
6
6
|
import '../commons/Point.js';
|
|
@@ -8,7 +8,7 @@ import '../commons/Size.js';
|
|
|
8
8
|
import './privateAccess.js';
|
|
9
9
|
import '../DataCaptureContextSettings.js';
|
|
10
10
|
import '../commons/JSONType.js';
|
|
11
|
-
import '../DataCaptureViewPlusRelated.js';
|
|
11
|
+
import '../DataCaptureViewPlusRelated-BOrDBPHq.js';
|
|
12
12
|
import '../NotificationPresenter/NotificationPresenter.js';
|
|
13
13
|
import '../NotificationPresenter/NotificationConfiguration.js';
|
|
14
14
|
import '../commons/Color.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="emscripten" />
|
|
2
|
-
import { O as FrameCapture } from '../../DataCaptureContext-
|
|
2
|
+
import { O as FrameCapture } from '../../DataCaptureContext-qacCkSOl.js';
|
|
3
3
|
import { FrameReaderAbstract } from './FrameReaderAbstract.js';
|
|
4
4
|
import { ColorType } from './ColorType.js';
|
|
5
|
-
import '../../Camera-
|
|
5
|
+
import '../../Camera-HgH6fwnW.js';
|
|
6
6
|
import '../../commons/Rect.js';
|
|
7
7
|
import '../Serializable.js';
|
|
8
8
|
import '../../commons/Point.js';
|
|
@@ -10,7 +10,7 @@ import '../../commons/Size.js';
|
|
|
10
10
|
import '../privateAccess.js';
|
|
11
11
|
import '../../DataCaptureContextSettings.js';
|
|
12
12
|
import '../../commons/JSONType.js';
|
|
13
|
-
import '../../DataCaptureViewPlusRelated.js';
|
|
13
|
+
import '../../DataCaptureViewPlusRelated-BOrDBPHq.js';
|
|
14
14
|
import '../../NotificationPresenter/NotificationPresenter.js';
|
|
15
15
|
import '../../NotificationPresenter/NotificationConfiguration.js';
|
|
16
16
|
import '../../commons/Color.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as FrameReader}from'../../chunks/chunk-
|
|
1
|
+
export{a as FrameReader}from'../../chunks/chunk-CA6FHIF6.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference types="emscripten" />
|
|
2
|
-
import { O as FrameCapture } from '../../DataCaptureContext-
|
|
2
|
+
import { O as FrameCapture } from '../../DataCaptureContext-qacCkSOl.js';
|
|
3
3
|
import { ColorType } from './ColorType.js';
|
|
4
4
|
import { WatermarkStack } from './WatermarkStack.js';
|
|
5
5
|
import { Optional } from '../../tsHelper.js';
|
|
6
|
-
import '../../Camera-
|
|
6
|
+
import '../../Camera-HgH6fwnW.js';
|
|
7
7
|
import '../../commons/Rect.js';
|
|
8
8
|
import '../Serializable.js';
|
|
9
9
|
import '../../commons/Point.js';
|
|
@@ -11,7 +11,7 @@ import '../../commons/Size.js';
|
|
|
11
11
|
import '../privateAccess.js';
|
|
12
12
|
import '../../DataCaptureContextSettings.js';
|
|
13
13
|
import '../../commons/JSONType.js';
|
|
14
|
-
import '../../DataCaptureViewPlusRelated.js';
|
|
14
|
+
import '../../DataCaptureViewPlusRelated-BOrDBPHq.js';
|
|
15
15
|
import '../../NotificationPresenter/NotificationPresenter.js';
|
|
16
16
|
import '../../NotificationPresenter/NotificationConfiguration.js';
|
|
17
17
|
import '../../commons/Color.js';
|