@scandit/web-datacapture-core 7.0.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/LICENSE +4 -0
- package/README.md +6 -0
- package/THIRD-PARTY.txt +73 -0
- package/build/electron/chunk-6RVAZ75N.js +1 -0
- package/build/electron/common.cjs +1 -0
- package/build/electron/common.js +0 -0
- package/build/electron/constants.cjs +1 -0
- package/build/electron/constants.js +1 -0
- package/build/electron/main.cjs +1 -0
- package/build/electron/main.d.cts +26 -0
- package/build/electron/main.d.ts +26 -0
- package/build/electron/main.js +1 -0
- package/build/electron/preload.cjs +1 -0
- package/build/electron/preload.d.cts +6 -0
- package/build/electron/preload.d.ts +6 -0
- package/build/electron/preload.js +1 -0
- package/build/js/AimerViewfinder.d.ts +15 -0
- package/build/js/AimerViewfinder.js +1 -0
- package/build/js/Brush.d.ts +27 -0
- package/build/js/Brush.js +1 -0
- package/build/js/Camera-Cxbduq94.d.ts +1700 -0
- package/build/js/Camera.d.ts +17 -0
- package/build/js/Camera.js +1 -0
- package/build/js/CameraAccess.d.ts +17 -0
- package/build/js/CameraAccess.js +1 -0
- package/build/js/CameraRelated.d.ts +17 -0
- package/build/js/CameraRelated.js +1 -0
- package/build/js/Common.d.ts +229 -0
- package/build/js/Common.js +1 -0
- package/build/js/DataCaptureContext.d.ts +17 -0
- package/build/js/DataCaptureContext.js +1 -0
- package/build/js/DataCaptureContextRelated.d.ts +17 -0
- package/build/js/DataCaptureContextRelated.js +1 -0
- package/build/js/DataCaptureContextSettings.d.ts +13 -0
- package/build/js/DataCaptureContextSettings.js +1 -0
- package/build/js/DataCaptureError.d.ts +13 -0
- package/build/js/DataCaptureError.js +1 -0
- package/build/js/DataCaptureVersion.d.ts +6 -0
- package/build/js/DataCaptureVersion.js +1 -0
- package/build/js/DataCaptureView.d.ts +17 -0
- package/build/js/DataCaptureView.js +1 -0
- package/build/js/DataCaptureViewPlusRelated.d.ts +25 -0
- package/build/js/DataCaptureViewPlusRelated.js +1 -0
- package/build/js/DefaultViewClassnames.d.ts +23 -0
- package/build/js/DefaultViewClassnames.js +1 -0
- package/build/js/Defaults.d.ts +143 -0
- package/build/js/Defaults.js +1 -0
- package/build/js/Feedback.d.ts +21 -0
- package/build/js/Feedback.js +1 -0
- package/build/js/FrameData.d.ts +17 -0
- package/build/js/FrameData.js +1 -0
- package/build/js/ImageFrameSource.d.ts +57 -0
- package/build/js/ImageFrameSource.js +1 -0
- package/build/js/LoadingStatus.d.ts +23 -0
- package/build/js/LoadingStatus.js +1 -0
- package/build/js/Localization.d.ts +44 -0
- package/build/js/Localization.js +1 -0
- package/build/js/LocationSelection.d.ts +39 -0
- package/build/js/LocationSelection.js +1 -0
- package/build/js/RectangularViewfinder.d.ts +33 -0
- package/build/js/RectangularViewfinder.js +1 -0
- package/build/js/SingleImageUploader.d.ts +58 -0
- package/build/js/SingleImageUploader.js +1 -0
- package/build/js/SingleImageUploaderSettings.d.ts +33 -0
- package/build/js/SingleImageUploaderSettings.js +1 -0
- package/build/js/Sound.d.ts +17 -0
- package/build/js/Sound.js +1 -0
- package/build/js/Vibration.d.ts +21 -0
- package/build/js/Vibration.js +1 -0
- package/build/js/ViewControls.d.ts +54 -0
- package/build/js/ViewControls.js +1 -0
- package/build/js/Viewfinder.d.ts +15 -0
- package/build/js/Viewfinder.js +1 -0
- package/build/js/ViewfinderPlusRelated.d.ts +58 -0
- package/build/js/ViewfinderPlusRelated.js +1 -0
- package/build/js/assets/beepSound.d.ts +4 -0
- package/build/js/assets/beepSound.js +1 -0
- package/build/js/assets/folderImage.d.ts +4 -0
- package/build/js/assets/folderImage.js +1 -0
- package/build/js/assets/index.d.d.ts +5 -0
- package/build/js/assets/index.d.js +1 -0
- package/build/js/assets/index.d.ts +5 -0
- package/build/js/assets/index.js +1 -0
- package/build/js/assets/scanningByScandit.d.ts +4 -0
- package/build/js/assets/scanningByScandit.js +1 -0
- package/build/js/assets/transparentPixelImage.d.ts +4 -0
- package/build/js/assets/transparentPixelImage.js +1 -0
- package/build/js/browserCompatibility.d.ts +83 -0
- package/build/js/browserCompatibility.js +1 -0
- package/build/js/browserHelper.d.ts +154 -0
- package/build/js/browserHelper.js +1 -0
- package/build/js/chunks/chunk-2DXPVHBJ.js +1 -0
- package/build/js/chunks/chunk-2NZR6P45.js +14 -0
- package/build/js/chunks/chunk-2Q5FZVGV.js +3 -0
- package/build/js/chunks/chunk-2WQHYCZC.js +6 -0
- package/build/js/chunks/chunk-3A4KLILV.js +3 -0
- package/build/js/chunks/chunk-3FDT22IX.js +3 -0
- package/build/js/chunks/chunk-44B7Z6ZZ.js +5 -0
- package/build/js/chunks/chunk-457L5N2F.js +6 -0
- package/build/js/chunks/chunk-4FJRDG6T.js +6 -0
- package/build/js/chunks/chunk-4ZMCJXZS.js +3 -0
- package/build/js/chunks/chunk-5IVFVUF4.js +21 -0
- package/build/js/chunks/chunk-5LIWL2C4.js +3 -0
- package/build/js/chunks/chunk-5RW5274G.js +1 -0
- package/build/js/chunks/chunk-5S537AFM.js +3 -0
- package/build/js/chunks/chunk-6H6FKGVE.js +3 -0
- package/build/js/chunks/chunk-6OQQP3SM.js +29 -0
- package/build/js/chunks/chunk-6W7FX6LD.js +3 -0
- package/build/js/chunks/chunk-6XT4BUUR.js +9 -0
- package/build/js/chunks/chunk-72DAONJI.js +5 -0
- package/build/js/chunks/chunk-76GU6PXK.js +3 -0
- package/build/js/chunks/chunk-7NUUZ7LP.js +5 -0
- package/build/js/chunks/chunk-7SW2PEHB.js +3 -0
- package/build/js/chunks/chunk-7XQ3GHYH.js +3 -0
- package/build/js/chunks/chunk-AIRWHLJH.js +5 -0
- package/build/js/chunks/chunk-BDLLVGRH.js +3 -0
- package/build/js/chunks/chunk-BKSPXD6N.js +8 -0
- package/build/js/chunks/chunk-CQ5KZRRX.js +17 -0
- package/build/js/chunks/chunk-CREAZBG7.js +5 -0
- package/build/js/chunks/chunk-D2EQRTOA.js +6 -0
- package/build/js/chunks/chunk-D4YDSS77.js +6 -0
- package/build/js/chunks/chunk-DEQ72K2Q.js +7 -0
- package/build/js/chunks/chunk-E2VUMNY4.js +16 -0
- package/build/js/chunks/chunk-EC4DRTKR.js +5 -0
- package/build/js/chunks/chunk-EK2IIDFY.js +3 -0
- package/build/js/chunks/chunk-EMHHC6NB.js +5 -0
- package/build/js/chunks/chunk-EP3GI7KA.js +3 -0
- package/build/js/chunks/chunk-EQRBQJYM.js +3 -0
- package/build/js/chunks/chunk-EV4OEANA.js +3 -0
- package/build/js/chunks/chunk-EYIDRFHC.js +6 -0
- package/build/js/chunks/chunk-FGCJ3ZLG.js +3 -0
- package/build/js/chunks/chunk-FGO2SSRS.js +3 -0
- package/build/js/chunks/chunk-FTD535WI.js +3 -0
- package/build/js/chunks/chunk-GE4CBD4E.js +3 -0
- package/build/js/chunks/chunk-GPJEB376.js +5 -0
- package/build/js/chunks/chunk-GSJH2EXJ.js +6 -0
- package/build/js/chunks/chunk-GWI2ZHMO.js +15 -0
- package/build/js/chunks/chunk-GX4YCYCH.js +3 -0
- package/build/js/chunks/chunk-H4TH4342.js +3 -0
- package/build/js/chunks/chunk-HNFNB37O.js +6 -0
- package/build/js/chunks/chunk-HRS63RFH.js +47 -0
- package/build/js/chunks/chunk-HZY2EBWP.js +8 -0
- package/build/js/chunks/chunk-IGJQFAQU.js +3 -0
- package/build/js/chunks/chunk-IH7SHTFM.js +5 -0
- package/build/js/chunks/chunk-IZLMNXTH.js +41 -0
- package/build/js/chunks/chunk-J25IZC7J.js +6 -0
- package/build/js/chunks/chunk-J2UL6U3I.js +3 -0
- package/build/js/chunks/chunk-JFRSUCMO.js +33 -0
- package/build/js/chunks/chunk-JKL2W65E.js +3 -0
- package/build/js/chunks/chunk-JS3T7K2Z.js +3 -0
- package/build/js/chunks/chunk-JXJQSWYG.js +3 -0
- package/build/js/chunks/chunk-KAZWF3JC.js +5 -0
- package/build/js/chunks/chunk-KW3YSGJX.js +5 -0
- package/build/js/chunks/chunk-KYNYQBNF.js +19 -0
- package/build/js/chunks/chunk-L2STPTEN.js +3 -0
- package/build/js/chunks/chunk-LA6TM76R.js +3 -0
- package/build/js/chunks/chunk-M46MIHI5.js +21 -0
- package/build/js/chunks/chunk-MAMZS5CH.js +7 -0
- package/build/js/chunks/chunk-MKHBE7BB.js +6 -0
- package/build/js/chunks/chunk-MSPQDVWJ.js +5 -0
- package/build/js/chunks/chunk-N4NOODAT.js +3 -0
- package/build/js/chunks/chunk-N5F43TUJ.js +5 -0
- package/build/js/chunks/chunk-N5YZEC56.js +3 -0
- package/build/js/chunks/chunk-NMX4VHW2.js +5 -0
- package/build/js/chunks/chunk-O7TZTIHO.js +3 -0
- package/build/js/chunks/chunk-OTI45AJG.js +12 -0
- package/build/js/chunks/chunk-PO2YU6JK.js +6 -0
- package/build/js/chunks/chunk-PXXUQXGB.js +7 -0
- package/build/js/chunks/chunk-Q7JWDX4U.js +3 -0
- package/build/js/chunks/chunk-QBDQQMQ5.js +5 -0
- package/build/js/chunks/chunk-QCRFVRSS.js +3 -0
- package/build/js/chunks/chunk-QCZSSQAQ.js +3 -0
- package/build/js/chunks/chunk-QR4TEDGM.js +6 -0
- package/build/js/chunks/chunk-R6E4CT22.js +3 -0
- package/build/js/chunks/chunk-RQQK6Z5F.js +3 -0
- package/build/js/chunks/chunk-SJE4IFCX.js +10 -0
- package/build/js/chunks/chunk-SP3HSP4K.js +3 -0
- package/build/js/chunks/chunk-SZ672BOB.js +5 -0
- package/build/js/chunks/chunk-T3AOBMAS.js +3 -0
- package/build/js/chunks/chunk-T5EUB6UG.js +6 -0
- package/build/js/chunks/chunk-T7URG4IQ.js +11 -0
- package/build/js/chunks/chunk-TBCW7RDM.js +21 -0
- package/build/js/chunks/chunk-TVDFY6ME.js +5 -0
- package/build/js/chunks/chunk-U6BTTEV6.js +3 -0
- package/build/js/chunks/chunk-UA3E3GGM.js +6 -0
- package/build/js/chunks/chunk-UHFABUTI.js +3 -0
- package/build/js/chunks/chunk-UPUPKPEP.js +8 -0
- package/build/js/chunks/chunk-UZWBB65W.js +3 -0
- package/build/js/chunks/chunk-VJB527QZ.js +3 -0
- package/build/js/chunks/chunk-VRVSELOR.js +6 -0
- package/build/js/chunks/chunk-W7LJM2QO.js +5 -0
- package/build/js/chunks/chunk-WSG6WSZN.js +6 -0
- package/build/js/chunks/chunk-WUHKODFA.js +3 -0
- package/build/js/chunks/chunk-XVLYCDJL.js +7 -0
- package/build/js/chunks/chunk-YRNH7TIR.js +1 -0
- package/build/js/chunks/chunk-YRSVOTNR.js +3 -0
- package/build/js/chunks/chunk-ZKROZLQ4.js +3 -0
- package/build/js/chunks/chunk-ZSYUKWWL.js +5 -0
- package/build/js/chunks/chunk-ZTM7LWVE.js +10 -0
- package/build/js/chunks/chunk-ZVBD3EW5.js +3 -0
- package/build/js/common-4FJYEFaM.d.ts +25 -0
- package/build/js/global.d.d.ts +42 -0
- package/build/js/global.d.js +1 -0
- package/build/js/index.d.ts +66 -0
- package/build/js/index.js +52 -0
- package/build/js/license/OpenSourceSoftwareLicenseInfo.d.ts +8 -0
- package/build/js/license/OpenSourceSoftwareLicenseInfo.js +1 -0
- package/build/js/logger.d.ts +26 -0
- package/build/js/logger.js +1 -0
- package/build/js/private/AnchorPositions.d.ts +28 -0
- package/build/js/private/AnchorPositions.js +1 -0
- package/build/js/private/CameraAccess.d.ts +17 -0
- package/build/js/private/CameraAccess.js +1 -0
- package/build/js/private/CameraManager.d.ts +17 -0
- package/build/js/private/CameraManager.js +1 -0
- package/build/js/private/CanvasDrawer.d.ts +36 -0
- package/build/js/private/CanvasDrawer.js +1 -0
- package/build/js/private/CanvasDrawerWithMetrics.d.ts +39 -0
- package/build/js/private/CanvasDrawerWithMetrics.js +1 -0
- package/build/js/private/CavansDrawerAbstract.d.ts +37 -0
- package/build/js/private/CavansDrawerAbstract.js +1 -0
- package/build/js/private/CoreModuleLicenseTextProvider.d.ts +29 -0
- package/build/js/private/CoreModuleLicenseTextProvider.js +1 -0
- package/build/js/private/CustomLocationsView.d.ts +47 -0
- package/build/js/private/CustomLocationsView.js +1 -0
- package/build/js/private/CustomLocationsViewStyles.d.ts +7 -0
- package/build/js/private/CustomLocationsViewStyles.js +1 -0
- package/build/js/private/DataCaptureContextRelated.d.ts +25 -0
- package/build/js/private/DataCaptureContextRelated.js +1 -0
- package/build/js/private/DrawCommandBuffer.d.ts +44 -0
- package/build/js/private/DrawCommandBuffer.js +1 -0
- package/build/js/private/EventManager.d.ts +9 -0
- package/build/js/private/EventManager.js +1 -0
- package/build/js/private/FrameReaders/FrameReader.d.ts +17 -0
- package/build/js/private/FrameReaders/FrameReader.js +1 -0
- package/build/js/private/FrameReaders/FrameReaderAbstract.d.ts +17 -0
- package/build/js/private/FrameReaders/FrameReaderAbstract.js +1 -0
- package/build/js/private/FrameReaders/GrayScaleFrameReader.d.ts +52 -0
- package/build/js/private/FrameReaders/GrayScaleFrameReader.js +1 -0
- package/build/js/private/FrameReaders/WatermarkStack.d.ts +41 -0
- package/build/js/private/FrameReaders/WatermarkStack.js +1 -0
- package/build/js/private/FrameReaders/index.d.ts +18 -0
- package/build/js/private/FrameReaders/index.js +2 -0
- package/build/js/private/FrameReaders/webglUtilities.d.ts +5 -0
- package/build/js/private/FrameReaders/webglUtilities.js +1 -0
- package/build/js/private/GestureRecognizer/GestureRecognizer.d.ts +22 -0
- package/build/js/private/GestureRecognizer/GestureRecognizer.js +1 -0
- package/build/js/private/GestureRecognizer/PointerEventsDetector.d.ts +19 -0
- package/build/js/private/GestureRecognizer/PointerEventsDetector.js +1 -0
- package/build/js/private/GestureRecognizer/index.d.ts +5 -0
- package/build/js/private/GestureRecognizer/index.js +1 -0
- package/build/js/private/Helper.d.ts +14 -0
- package/build/js/private/Helper.js +1 -0
- package/build/js/private/HtmlElementState.d.ts +35 -0
- package/build/js/private/HtmlElementState.js +1 -0
- package/build/js/private/ModuleLicenseTextProvider.d.ts +6 -0
- package/build/js/private/ModuleLicenseTextProvider.js +1 -0
- package/build/js/private/NormalizedConfigureOptions.d.ts +53 -0
- package/build/js/private/NormalizedConfigureOptions.js +1 -0
- package/build/js/private/OrientationObserver.d.ts +30 -0
- package/build/js/private/OrientationObserver.js +1 -0
- package/build/js/private/Serializable.d.ts +9 -0
- package/build/js/private/Serializable.js +1 -0
- package/build/js/private/SingleImageUploaderView.d.ts +55 -0
- package/build/js/private/SingleImageUploaderView.js +1 -0
- package/build/js/private/SingleImageUploaderViewStyles.d.ts +28 -0
- package/build/js/private/SingleImageUploaderViewStyles.js +1 -0
- package/build/js/private/View.d.ts +7 -0
- package/build/js/private/View.js +1 -0
- package/build/js/private/ViewClassNames.d.ts +23 -0
- package/build/js/private/ViewClassNames.js +1 -0
- package/build/js/private/ViewControls+related.js +1 -0
- package/build/js/private/ViewControls_related.d.ts +120 -0
- package/build/js/private/ViewStyles.d.ts +4 -0
- package/build/js/private/ViewStyles.js +1 -0
- package/build/js/private/ViewsRegistry.d.ts +21 -0
- package/build/js/private/ViewsRegistry.js +1 -0
- package/build/js/private/hybridDesktopPlatformHelpers.d.ts +23 -0
- package/build/js/private/hybridDesktopPlatformHelpers.js +1 -0
- package/build/js/private/multithreadSimdHelper.d.ts +31 -0
- package/build/js/private/multithreadSimdHelper.js +1 -0
- package/build/js/private/ui/atoms/ArrowsUp.d.ts +19 -0
- package/build/js/private/ui/atoms/ArrowsUp.js +1 -0
- package/build/js/private/ui/atoms/ProgressBar.d.ts +28 -0
- package/build/js/private/ui/atoms/ProgressBar.js +1 -0
- package/build/js/private/ui/atoms/RoundedCheckSvgIcon.d.ts +17 -0
- package/build/js/private/ui/atoms/RoundedCheckSvgIcon.js +1 -0
- package/build/js/private/ui/atoms/RoundedExclamationMarkSvgIcon.d.ts +17 -0
- package/build/js/private/ui/atoms/RoundedExclamationMarkSvgIcon.js +1 -0
- package/build/js/private/ui/atoms/ShutterButton.d.ts +39 -0
- package/build/js/private/ui/atoms/ShutterButton.js +29 -0
- package/build/js/private/ui/atoms/SvgIcon.d.ts +22 -0
- package/build/js/private/ui/atoms/SvgIcon.js +1 -0
- package/build/js/private/ui/atoms/Toast.d.ts +67 -0
- package/build/js/private/ui/atoms/Toast.js +1 -0
- package/build/js/private/ui/colors.d.ts +27 -0
- package/build/js/private/ui/colors.js +1 -0
- package/build/js/private/ui/molecules/HintPresenter.d.ts +58 -0
- package/build/js/private/ui/molecules/HintPresenter.js +1 -0
- package/build/js/private/ui/molecules/LoadingOverlay.d.ts +26 -0
- package/build/js/private/ui/molecules/LoadingOverlay.js +1 -0
- package/build/js/private/unsupportedBrowserError.d.ts +10 -0
- package/build/js/private/unsupportedBrowserError.js +1 -0
- package/build/js/private/utils/ScanditHTMLElement.d.ts +6 -0
- package/build/js/private/utils/ScanditHTMLElement.js +1 -0
- package/build/js/private/utils/clamp.d.ts +4 -0
- package/build/js/private/utils/clamp.js +1 -0
- package/build/js/private/utils/css.d.ts +4 -0
- package/build/js/private/utils/css.js +1 -0
- package/build/js/private/utils/debounce.d.ts +4 -0
- package/build/js/private/utils/debounce.js +1 -0
- package/build/js/private/utils/deferred.d.ts +9 -0
- package/build/js/private/utils/deferred.js +1 -0
- package/build/js/private/utils/defineCustomElements.d.ts +4 -0
- package/build/js/private/utils/defineCustomElements.js +1 -0
- package/build/js/private/utils/html.d.ts +4 -0
- package/build/js/private/utils/html.js +1 -0
- package/build/js/private/utils/index.d.ts +16 -0
- package/build/js/private/utils/index.js +15 -0
- package/build/js/private/utils/isObject.d.ts +4 -0
- package/build/js/private/utils/isObject.js +1 -0
- package/build/js/private/utils/isWorkerScope.d.ts +4 -0
- package/build/js/private/utils/isWorkerScope.js +1 -0
- package/build/js/private/utils/match.d.ts +11 -0
- package/build/js/private/utils/match.js +1 -0
- package/build/js/private/utils/throttle.d.ts +4 -0
- package/build/js/private/utils/throttle.js +1 -0
- package/build/js/private/utils/timeout.d.ts +14 -0
- package/build/js/private/utils/timeout.js +1 -0
- package/build/js/private/utils/unknownErrorToString.d.ts +4 -0
- package/build/js/private/utils/unknownErrorToString.js +1 -0
- package/build/js/private/utils/wait.d.ts +4 -0
- package/build/js/private/utils/wait.js +1 -0
- package/build/js/private/utils/waitTransitionEndForElement.d.ts +4 -0
- package/build/js/private/utils/waitTransitionEndForElement.js +1 -0
- package/build/js/sdk.d.ts +30 -0
- package/build/js/sdk.js +1 -0
- package/build/js/translations.d.ts +12 -0
- package/build/js/translations.js +1 -0
- package/build/js/tsHelper.d.ts +26 -0
- package/build/js/tsHelper.js +1 -0
- package/build/js/worker/OverrideState.d.ts +8 -0
- package/build/js/worker/OverrideState.js +1 -0
- package/build/js/worker/WorkerMain.d.ts +40 -0
- package/build/js/worker/WorkerMain.js +1 -0
- package/build/js/worker/dataCapture.inlineWorker.d.ts +24 -0
- package/build/js/worker/dataCapture.inlineWorker.js +1 -0
- package/build/js/worker/dataCaptureEngine.d.ts +17 -0
- package/build/js/worker/dataCaptureEngine.js +1 -0
- package/build/js/worker/dataCaptureLoader.d.ts +17 -0
- package/build/js/worker/dataCaptureLoader.js +1 -0
- package/build/js/worker/dataCaptureWorkerRelated.d.ts +17 -0
- package/build/js/worker/dataCaptureWorkerRelated.js +1 -0
- package/build/js/worker/helper.d.ts +16 -0
- package/build/js/worker/helper.js +1 -0
- package/build/js/worker/helperFetch.d.ts +33 -0
- package/build/js/worker/helperFetch.js +1 -0
- package/build/js/worker/helperFs.d.ts +9 -0
- package/build/js/worker/helperFs.js +1 -0
- package/build/js/worker/importWasmScript.d.ts +4 -0
- package/build/js/worker/importWasmScript.js +1 -0
- package/build/js/worker/index.d.ts +18 -0
- package/build/js/worker/index.js +4 -0
- package/build/js/worker/inlineWorker.d.d.ts +5 -0
- package/build/js/worker/inlineWorker.d.js +1 -0
- package/package.json +156 -0
- package/sdc-lib/.gitkeep +0 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/// <reference types="emscripten" />
|
|
2
|
+
import { SizeJSON, Anchor, PointWithUnit } from '../Common.js';
|
|
3
|
+
import { View } from './View.js';
|
|
4
|
+
import { AnchorPositions } from './AnchorPositions.js';
|
|
5
|
+
import './Serializable.js';
|
|
6
|
+
|
|
7
|
+
interface DidTapCustomLocationsViewListener {
|
|
8
|
+
didTapView: (identifier: number) => void;
|
|
9
|
+
}
|
|
10
|
+
interface Item {
|
|
11
|
+
identifier: number;
|
|
12
|
+
anchorPositions: AnchorPositions;
|
|
13
|
+
view: {
|
|
14
|
+
data: string;
|
|
15
|
+
options: {
|
|
16
|
+
size: SizeJSON;
|
|
17
|
+
scale?: number;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
anchor: Anchor;
|
|
21
|
+
offset: PointWithUnit;
|
|
22
|
+
}
|
|
23
|
+
interface StateToRender {
|
|
24
|
+
removedIds: string[];
|
|
25
|
+
elements: Item[];
|
|
26
|
+
}
|
|
27
|
+
declare class CustomLocationsView implements View {
|
|
28
|
+
private static readonly componentName;
|
|
29
|
+
private static readonly elementSelectorPrefix;
|
|
30
|
+
listener: DidTapCustomLocationsViewListener | null;
|
|
31
|
+
private _mounted;
|
|
32
|
+
private _htmlRoot;
|
|
33
|
+
private _mirrored;
|
|
34
|
+
private gestureRecognizer;
|
|
35
|
+
private _cachedSize;
|
|
36
|
+
private resizeObserver;
|
|
37
|
+
private get size();
|
|
38
|
+
setMirrored(mirrored: boolean): void;
|
|
39
|
+
mount(htmlRoot: HTMLElement): void;
|
|
40
|
+
unmount(): void;
|
|
41
|
+
render(state: StateToRender): void;
|
|
42
|
+
mapViewAnchorPositionsForFramePoint: (anchorPositions: AnchorPositions) => AnchorPositions;
|
|
43
|
+
private removeChildren;
|
|
44
|
+
private adjustCoordinatesWithOffset;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export { CustomLocationsView, type DidTapCustomLocationsViewListener, type StateToRender };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { a as CustomLocationsView } from '../chunks/chunk-PXXUQXGB.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { a as classNames, b as default } from '../chunks/chunk-KYNYQBNF.js';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/// <reference types="emscripten" />
|
|
2
|
+
import { B as DataCaptureContext, N as FrameData } from '../Camera-Cxbduq94.js';
|
|
3
|
+
import './Serializable.js';
|
|
4
|
+
import './FrameReaders/WatermarkStack.js';
|
|
5
|
+
import '../tsHelper.js';
|
|
6
|
+
import '../Common.js';
|
|
7
|
+
import '../DataCaptureContextSettings.js';
|
|
8
|
+
import '../DataCaptureViewPlusRelated.js';
|
|
9
|
+
import '../ViewControls.js';
|
|
10
|
+
import './CustomLocationsView.js';
|
|
11
|
+
import './View.js';
|
|
12
|
+
import './AnchorPositions.js';
|
|
13
|
+
import '../license/OpenSourceSoftwareLicenseInfo.js';
|
|
14
|
+
import './HtmlElementState.js';
|
|
15
|
+
import '../worker/OverrideState.js';
|
|
16
|
+
import '../logger.js';
|
|
17
|
+
import '../LoadingStatus.js';
|
|
18
|
+
|
|
19
|
+
interface DataCaptureContextFrameListener {
|
|
20
|
+
onFrameProcessingStarted?: (context: DataCaptureContext, frameData: FrameData) => void;
|
|
21
|
+
onFrameProcessingFinished?: (context: DataCaptureContext, frameData: FrameData) => void;
|
|
22
|
+
onFrameSkipped?: (context: DataCaptureContext, frameData: FrameData) => void;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export type { DataCaptureContextFrameListener };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/// <reference types="emscripten" />
|
|
2
|
+
declare enum DrawCommandEnum {
|
|
3
|
+
AddLine = 0,
|
|
4
|
+
AddArc = 1,
|
|
5
|
+
AddCircle = 2,
|
|
6
|
+
AddRect = 3,
|
|
7
|
+
AddRoundedRect = 4,
|
|
8
|
+
BeginPath = 5,
|
|
9
|
+
ClosePath = 6,
|
|
10
|
+
Fill = 7,
|
|
11
|
+
Stroke = 8,
|
|
12
|
+
Clear = 9,
|
|
13
|
+
SetStrokeWidth = 10,
|
|
14
|
+
SetFillColor = 11,
|
|
15
|
+
SetStrokeColor = 12,
|
|
16
|
+
MoveTo = 13,
|
|
17
|
+
LineTo = 14,
|
|
18
|
+
SaveState = 15,
|
|
19
|
+
RestoreState = 16,
|
|
20
|
+
Translate = 17,
|
|
21
|
+
ScaleAroundPoint = 18,
|
|
22
|
+
BezierTo = 19,
|
|
23
|
+
Transform = 20,
|
|
24
|
+
Scale = 21,
|
|
25
|
+
AddPathWinding = 22
|
|
26
|
+
}
|
|
27
|
+
interface Color {
|
|
28
|
+
r: number;
|
|
29
|
+
g: number;
|
|
30
|
+
b: number;
|
|
31
|
+
a: number;
|
|
32
|
+
}
|
|
33
|
+
declare class DrawCommandBuffer {
|
|
34
|
+
private _view;
|
|
35
|
+
private _index;
|
|
36
|
+
constructor(stream: Uint8Array);
|
|
37
|
+
extractCommandType(): DrawCommandEnum;
|
|
38
|
+
extractFloat(): number;
|
|
39
|
+
extractBoolean(): boolean;
|
|
40
|
+
extractColor(): Color;
|
|
41
|
+
isConsumed(): boolean;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export { type Color, DrawCommandBuffer, DrawCommandEnum };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { b as DrawCommandBuffer, a as DrawCommandEnum } from '../chunks/chunk-LA6TM76R.js';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="emscripten" />
|
|
2
|
+
declare class EventManager<ListenerType> {
|
|
3
|
+
protected readonly _listeners: Set<ListenerType>;
|
|
4
|
+
get listeners(): ListenerType[];
|
|
5
|
+
addListener(listener: ListenerType): void;
|
|
6
|
+
removeListener(listener: ListenerType): void;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export { EventManager as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { a as default } from '../chunks/chunk-EP3GI7KA.js';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="emscripten" />
|
|
2
|
+
export { bi as ColorType, bk as FrameReader } from '../../Camera-Cxbduq94.js';
|
|
3
|
+
import '../Serializable.js';
|
|
4
|
+
import './WatermarkStack.js';
|
|
5
|
+
import '../../tsHelper.js';
|
|
6
|
+
import '../../Common.js';
|
|
7
|
+
import '../../DataCaptureContextSettings.js';
|
|
8
|
+
import '../../DataCaptureViewPlusRelated.js';
|
|
9
|
+
import '../../ViewControls.js';
|
|
10
|
+
import '../CustomLocationsView.js';
|
|
11
|
+
import '../View.js';
|
|
12
|
+
import '../AnchorPositions.js';
|
|
13
|
+
import '../../license/OpenSourceSoftwareLicenseInfo.js';
|
|
14
|
+
import '../HtmlElementState.js';
|
|
15
|
+
import '../../worker/OverrideState.js';
|
|
16
|
+
import '../../logger.js';
|
|
17
|
+
import '../../LoadingStatus.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { a as ColorType, b as FrameReader } from '../../chunks/chunk-DEQ72K2Q.js';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="emscripten" />
|
|
2
|
+
export { bh as FrameReaderAbstract } from '../../Camera-Cxbduq94.js';
|
|
3
|
+
import './WatermarkStack.js';
|
|
4
|
+
import '../../tsHelper.js';
|
|
5
|
+
import '../Serializable.js';
|
|
6
|
+
import '../../Common.js';
|
|
7
|
+
import '../../DataCaptureContextSettings.js';
|
|
8
|
+
import '../../DataCaptureViewPlusRelated.js';
|
|
9
|
+
import '../../ViewControls.js';
|
|
10
|
+
import '../CustomLocationsView.js';
|
|
11
|
+
import '../View.js';
|
|
12
|
+
import '../AnchorPositions.js';
|
|
13
|
+
import '../../license/OpenSourceSoftwareLicenseInfo.js';
|
|
14
|
+
import '../HtmlElementState.js';
|
|
15
|
+
import '../../worker/OverrideState.js';
|
|
16
|
+
import '../../logger.js';
|
|
17
|
+
import '../../LoadingStatus.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { a as FrameReaderAbstract } from '../../chunks/chunk-EK2IIDFY.js';
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/// <reference types="emscripten" />
|
|
2
|
+
import { bh as FrameReaderAbstract, bi as ColorType, bj as FrameCapture } from '../../Camera-Cxbduq94.js';
|
|
3
|
+
import { WatermarkStack } from './WatermarkStack.js';
|
|
4
|
+
import { Optional } from '../../tsHelper.js';
|
|
5
|
+
import '../Serializable.js';
|
|
6
|
+
import '../../Common.js';
|
|
7
|
+
import '../../DataCaptureContextSettings.js';
|
|
8
|
+
import '../../DataCaptureViewPlusRelated.js';
|
|
9
|
+
import '../../ViewControls.js';
|
|
10
|
+
import '../CustomLocationsView.js';
|
|
11
|
+
import '../View.js';
|
|
12
|
+
import '../AnchorPositions.js';
|
|
13
|
+
import '../../license/OpenSourceSoftwareLicenseInfo.js';
|
|
14
|
+
import '../HtmlElementState.js';
|
|
15
|
+
import '../../worker/OverrideState.js';
|
|
16
|
+
import '../../logger.js';
|
|
17
|
+
import '../../LoadingStatus.js';
|
|
18
|
+
|
|
19
|
+
declare class GrayScaleFrameReader extends FrameReaderAbstract {
|
|
20
|
+
colorType: ColorType;
|
|
21
|
+
protected _framePool: Optional<WatermarkStack<Uint8ClampedArray>>;
|
|
22
|
+
private _shaderProgram;
|
|
23
|
+
private _canvas;
|
|
24
|
+
private _ctx;
|
|
25
|
+
private _positionBuffer;
|
|
26
|
+
private _texture;
|
|
27
|
+
private _frameSize;
|
|
28
|
+
/**
|
|
29
|
+
* When these vertices are connected, they form a full-screen quad that covers the entire viewport.
|
|
30
|
+
* This quad is used as the rendering target for the grayscale effect.
|
|
31
|
+
* The vertices are specified in normalized device coordinates, where (-1, -1) is the bottom-left corner of the viewport, and (1, 1) is the top-right corner.
|
|
32
|
+
* These positions are used in conjunction with the vertex and fragment shaders to apply the grayscale effect to the input RGBA frame across the entire screen.
|
|
33
|
+
* The transformation is performed on each pixel within these triangles using the shaders.
|
|
34
|
+
* https://www.khronos.org/opengl/wiki/Primitive#Triangle_primitives
|
|
35
|
+
*/
|
|
36
|
+
private _positions;
|
|
37
|
+
constructor(originalGLContext: WebGLRenderingContext, options?: {
|
|
38
|
+
maxPoolCapacity: number;
|
|
39
|
+
minPoolCapacity: number;
|
|
40
|
+
} | undefined);
|
|
41
|
+
private get _webglContext();
|
|
42
|
+
readFromSource(source: TexImageSource): FrameCapture;
|
|
43
|
+
setup(): void;
|
|
44
|
+
dispose(): void;
|
|
45
|
+
private updateCanvasSizeIfNeeded;
|
|
46
|
+
private updateFrameSizeIfNeeded;
|
|
47
|
+
private initShaderProgram;
|
|
48
|
+
private initBuffers;
|
|
49
|
+
private initTexture;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export { GrayScaleFrameReader };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { a as GrayScaleFrameReader } from '../../chunks/chunk-IZLMNXTH.js';
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/// <reference types="emscripten" />
|
|
2
|
+
/**
|
|
3
|
+
* This class represents a modified stack data structure that grows dynamically if consumed too soon.
|
|
4
|
+
* A modified stack is a stack that has an additional operation: unshift.
|
|
5
|
+
* Unshift inserts an element at the bottom of the stack, shifting all the other elements up by one position.
|
|
6
|
+
* The capacity is fixed, determined at construction time.
|
|
7
|
+
* If it reaches its maximum capacity, it cannot push or unshift any more elements, and it will return undefined.
|
|
8
|
+
* If is below a low watermark level, determined by the constructor parameter,
|
|
9
|
+
* it will refill itself by unshifting new elements created by a function, also provided by the constructor parameter.
|
|
10
|
+
* This way, the modified stack can always have enough elements to pop when needed.
|
|
11
|
+
* Can be visualized this way:
|
|
12
|
+
* - item -> pop last item
|
|
13
|
+
* - item
|
|
14
|
+
* - item
|
|
15
|
+
* - item
|
|
16
|
+
* - item
|
|
17
|
+
* - item
|
|
18
|
+
* --- watermark --- when we reach this level we refill by unshifting.
|
|
19
|
+
* - item
|
|
20
|
+
* - item
|
|
21
|
+
* - item <- recycling
|
|
22
|
+
* @export
|
|
23
|
+
*/
|
|
24
|
+
declare class WatermarkStack<T> {
|
|
25
|
+
private items;
|
|
26
|
+
private readonly capacity;
|
|
27
|
+
private readonly lowWaterMark;
|
|
28
|
+
private readonly createItem;
|
|
29
|
+
constructor(options: {
|
|
30
|
+
capacity: number;
|
|
31
|
+
lowWaterMark: number;
|
|
32
|
+
createItem: () => T;
|
|
33
|
+
});
|
|
34
|
+
get length(): number;
|
|
35
|
+
pop(): T;
|
|
36
|
+
push(item: T): number | undefined;
|
|
37
|
+
empty(): void;
|
|
38
|
+
private isBelowOrEqualWaterMark;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export { WatermarkStack };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { a as WatermarkStack } from '../../chunks/chunk-76GU6PXK.js';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/// <reference types="emscripten" />
|
|
2
|
+
export { bk as FrameReader, bh as FrameReaderAbstract, bi as FrameReaderType } from '../../Camera-Cxbduq94.js';
|
|
3
|
+
export { GrayScaleFrameReader } from './GrayScaleFrameReader.js';
|
|
4
|
+
import '../Serializable.js';
|
|
5
|
+
import './WatermarkStack.js';
|
|
6
|
+
import '../../tsHelper.js';
|
|
7
|
+
import '../../Common.js';
|
|
8
|
+
import '../../DataCaptureContextSettings.js';
|
|
9
|
+
import '../../DataCaptureViewPlusRelated.js';
|
|
10
|
+
import '../../ViewControls.js';
|
|
11
|
+
import '../CustomLocationsView.js';
|
|
12
|
+
import '../View.js';
|
|
13
|
+
import '../AnchorPositions.js';
|
|
14
|
+
import '../../license/OpenSourceSoftwareLicenseInfo.js';
|
|
15
|
+
import '../HtmlElementState.js';
|
|
16
|
+
import '../../worker/OverrideState.js';
|
|
17
|
+
import '../../logger.js';
|
|
18
|
+
import '../../LoadingStatus.js';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="emscripten" />
|
|
2
|
+
declare function createProgram(gl: WebGLRenderingContext, vertexShader: WebGLShader, fragmentShader: WebGLShader): WebGLProgram | null;
|
|
3
|
+
declare function createShader(gl: WebGLRenderingContext, type: number, source: string): WebGLShader | null;
|
|
4
|
+
|
|
5
|
+
export { createProgram, createShader };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { a as createProgram, b as createShader } from '../../chunks/chunk-SZ672BOB.js';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/// <reference types="emscripten" />
|
|
2
|
+
import EventManager from '../EventManager.js';
|
|
3
|
+
import { Point } from '../../Common.js';
|
|
4
|
+
import '../Serializable.js';
|
|
5
|
+
|
|
6
|
+
interface GestureRecognizerListener {
|
|
7
|
+
onTap?(point: Point, event: Event): void;
|
|
8
|
+
}
|
|
9
|
+
declare class GestureRecognizer extends EventManager<GestureRecognizerListener> {
|
|
10
|
+
protected element: HTMLElement;
|
|
11
|
+
private readonly _onTouchStart;
|
|
12
|
+
private readonly _onPointerDown;
|
|
13
|
+
constructor(element: HTMLElement);
|
|
14
|
+
removeAllListeners(): void;
|
|
15
|
+
private addPointerDownListener;
|
|
16
|
+
private onPointerDown;
|
|
17
|
+
private onTouchStart;
|
|
18
|
+
private pointRelativeToElement;
|
|
19
|
+
private onTap;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export { GestureRecognizer, type GestureRecognizerListener };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { a as GestureRecognizer } from '../../chunks/chunk-XVLYCDJL.js';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/// <reference types="emscripten" />
|
|
2
|
+
type PointerEventsNames = {
|
|
3
|
+
[K in keyof HTMLElementEventMap]: HTMLElementEventMap[K] extends PointerEvent ? K : never;
|
|
4
|
+
}[keyof HTMLElementEventMap];
|
|
5
|
+
type TouchEventsNames = {
|
|
6
|
+
[K in keyof HTMLElementEventMap]: HTMLElementEventMap[K] extends TouchEvent ? K : never;
|
|
7
|
+
}[keyof HTMLElementEventMap];
|
|
8
|
+
type MSPointerEventsNames = "MSGotPointerCapture" | "MSLostPointerCapture" | "MSPointerCancel" | "MSPointerDown" | "MSPointerEnter" | "MSPointerLeave" | "MSPointerMove" | "MSPointerOut" | "MSPointerOver" | "MSPointerUp";
|
|
9
|
+
declare class PointerEventsDetector {
|
|
10
|
+
static prefixEventMap: Record<PointerEventsNames, MSPointerEventsNames>;
|
|
11
|
+
hasApi: boolean;
|
|
12
|
+
hasTouch: boolean;
|
|
13
|
+
private requiresPrefix;
|
|
14
|
+
detect(): void;
|
|
15
|
+
prefixIfNeeded(value: PointerEventsNames): MSPointerEventsNames | PointerEventsNames;
|
|
16
|
+
}
|
|
17
|
+
declare const _default: PointerEventsDetector;
|
|
18
|
+
|
|
19
|
+
export { type PointerEventsNames, type TouchEventsNames, _default as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { a as default } from '../../chunks/chunk-IGJQFAQU.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { a as GestureRecognizer } from '../../chunks/chunk-XVLYCDJL.js';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="emscripten" />
|
|
2
|
+
type LocationLike = Pick<Location, "href" | "origin" | "protocol">;
|
|
3
|
+
declare function normalizeLibraryLocation(libraryLocation: string, pageLocation?: LocationLike): string;
|
|
4
|
+
declare function isCDNLocation(location: string): {
|
|
5
|
+
result: boolean;
|
|
6
|
+
cdnBaseURL: string;
|
|
7
|
+
};
|
|
8
|
+
declare function extractPackageNameFromURL(url: string): string | null;
|
|
9
|
+
declare function getLibraryLocationURIs(version: string, normalizedLibraryLocation: string, wasmFileName: string): {
|
|
10
|
+
jsURI: string;
|
|
11
|
+
wasmURI: string;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export { type LocationLike, extractPackageNameFromURL, getLibraryLocationURIs, isCDNLocation, normalizeLibraryLocation };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { c as extractPackageNameFromURL, d as getLibraryLocationURIs, b as isCDNLocation, a as normalizeLibraryLocation } from '../chunks/chunk-RQQK6Z5F.js';
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/// <reference types="emscripten" />
|
|
2
|
+
import { Serializable } from './Serializable.js';
|
|
3
|
+
import { SizeWithUnit } from '../Common.js';
|
|
4
|
+
|
|
5
|
+
interface HTMLElementStateJSON {
|
|
6
|
+
size: SizeWithUnit;
|
|
7
|
+
visible: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare class HTMLElementState implements Serializable<HTMLElementStateJSON> {
|
|
10
|
+
element: HTMLElement;
|
|
11
|
+
private resizeObserver;
|
|
12
|
+
private mutationObserver;
|
|
13
|
+
private onStateChangedListener?;
|
|
14
|
+
private onDisconnectedListener?;
|
|
15
|
+
private cachedDOMRect;
|
|
16
|
+
constructor(element: HTMLElement);
|
|
17
|
+
get width(): number;
|
|
18
|
+
get height(): number;
|
|
19
|
+
static areEquivalentJSONStates(state1?: HTMLElementStateJSON, state2?: HTMLElementStateJSON): boolean;
|
|
20
|
+
onStateChanged(callback: () => void): void;
|
|
21
|
+
onDisconnected(callback: () => void): void;
|
|
22
|
+
toJSONObject(): HTMLElementStateJSON;
|
|
23
|
+
isSameAs(other: HTMLElementState): boolean;
|
|
24
|
+
removeListeners(): void;
|
|
25
|
+
private isVisible;
|
|
26
|
+
private setupListeners;
|
|
27
|
+
private onSizeChange;
|
|
28
|
+
private onMutation;
|
|
29
|
+
/**
|
|
30
|
+
* cache DOMRect from ResizeObserver entries if available, else use getBoundingClientRect
|
|
31
|
+
*/
|
|
32
|
+
private cacheDOMRect;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export { HTMLElementState, type HTMLElementStateJSON };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { a as HTMLElementState } from '../chunks/chunk-44B7Z6ZZ.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/// <reference types="emscripten" />
|
|
2
|
+
import { LoadingStatusSubscriber } from '../LoadingStatus.js';
|
|
3
|
+
import { ConfigureOptions } from '../index.js';
|
|
4
|
+
import { Logger } from '../logger.js';
|
|
5
|
+
import { OverrideState } from '../worker/OverrideState.js';
|
|
6
|
+
import '../worker/WorkerMain.js';
|
|
7
|
+
import '../Camera-Cxbduq94.js';
|
|
8
|
+
import './Serializable.js';
|
|
9
|
+
import './FrameReaders/WatermarkStack.js';
|
|
10
|
+
import '../tsHelper.js';
|
|
11
|
+
import '../Common.js';
|
|
12
|
+
import '../DataCaptureContextSettings.js';
|
|
13
|
+
import '../DataCaptureViewPlusRelated.js';
|
|
14
|
+
import '../ViewControls.js';
|
|
15
|
+
import './CustomLocationsView.js';
|
|
16
|
+
import './View.js';
|
|
17
|
+
import './AnchorPositions.js';
|
|
18
|
+
import '../license/OpenSourceSoftwareLicenseInfo.js';
|
|
19
|
+
import './HtmlElementState.js';
|
|
20
|
+
import '../browserHelper.js';
|
|
21
|
+
import '../browserCompatibility.js';
|
|
22
|
+
import '../DataCaptureVersion.js';
|
|
23
|
+
import '../Feedback.js';
|
|
24
|
+
import '../Sound.js';
|
|
25
|
+
import '../Vibration.js';
|
|
26
|
+
import '../ImageFrameSource.js';
|
|
27
|
+
import '../Localization.js';
|
|
28
|
+
import '../translations.js';
|
|
29
|
+
import '../LocationSelection.js';
|
|
30
|
+
import '../SingleImageUploader.js';
|
|
31
|
+
import '../SingleImageUploaderSettings.js';
|
|
32
|
+
import 'csstype';
|
|
33
|
+
import '../Viewfinder.js';
|
|
34
|
+
import '../ViewfinderPlusRelated.js';
|
|
35
|
+
import '../RectangularViewfinder.js';
|
|
36
|
+
import '../AimerViewfinder.js';
|
|
37
|
+
import '../Brush.js';
|
|
38
|
+
import '../DataCaptureError.js';
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* @hidden
|
|
42
|
+
* Hidden
|
|
43
|
+
* */
|
|
44
|
+
interface NormalizedConfigureOptions extends ConfigureOptions {
|
|
45
|
+
loadProgressNotifier?: LoadingStatusSubscriber;
|
|
46
|
+
logLevel: Logger.Level;
|
|
47
|
+
overrideThreadsSupport: OverrideState;
|
|
48
|
+
overrideSimdSupport: OverrideState;
|
|
49
|
+
verifyResponseHash: boolean;
|
|
50
|
+
highEndBlurryRecognition?: boolean;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export type { NormalizedConfigureOptions };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/// <reference types="emscripten" />
|
|
2
|
+
import { Orientation } from '../Common.js';
|
|
3
|
+
import './Serializable.js';
|
|
4
|
+
|
|
5
|
+
declare const orientationChangeEvent = "orientationchange";
|
|
6
|
+
interface OrientationEventValue {
|
|
7
|
+
type: OrientationType;
|
|
8
|
+
angle: number;
|
|
9
|
+
value: Orientation;
|
|
10
|
+
}
|
|
11
|
+
declare class OrientationObserver extends EventTarget {
|
|
12
|
+
orientation: OrientationEventValue;
|
|
13
|
+
private landscapeOrientationMediaQuery;
|
|
14
|
+
private screenOrientationChangeListener;
|
|
15
|
+
private landscapeOrientationMediaQueryChangeListener;
|
|
16
|
+
register(): void;
|
|
17
|
+
unregister(): void;
|
|
18
|
+
isScreenOrientationApiSupported(): boolean;
|
|
19
|
+
dispatchOrientationChangeEvent(orientation: OrientationEventValue): void;
|
|
20
|
+
onScreenOrientationChange(): void;
|
|
21
|
+
onLandscapeOrientationMediaQueryChange(event: Event): void;
|
|
22
|
+
}
|
|
23
|
+
type OrientationChangeEvent = CustomEvent<OrientationEventValue>;
|
|
24
|
+
declare global {
|
|
25
|
+
interface HTMLElementEventMap {
|
|
26
|
+
[orientationChangeEvent]: OrientationChangeEvent;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export { type OrientationChangeEvent, type OrientationEventValue, OrientationObserver, orientationChangeEvent };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { b as OrientationObserver, a as orientationChangeEvent } from '../chunks/chunk-5S537AFM.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/// <reference types="emscripten" />
|
|
2
|
+
import { SingleImageUploaderSettings } from '../SingleImageUploaderSettings.js';
|
|
3
|
+
import { View } from './View.js';
|
|
4
|
+
import 'csstype';
|
|
5
|
+
import './Serializable.js';
|
|
6
|
+
|
|
7
|
+
interface ImageDimensions {
|
|
8
|
+
width: number;
|
|
9
|
+
height: number;
|
|
10
|
+
}
|
|
11
|
+
interface SingleImageUploaderViewCapture {
|
|
12
|
+
data: Uint8ClampedArray;
|
|
13
|
+
width: number;
|
|
14
|
+
height: number;
|
|
15
|
+
}
|
|
16
|
+
declare class SingleImageUploaderView implements View {
|
|
17
|
+
private static readonly componentName;
|
|
18
|
+
private static readonly DEFAULT_DOM_ATTRIBUTE;
|
|
19
|
+
canUploadFile: boolean;
|
|
20
|
+
private _mounted;
|
|
21
|
+
private _loading;
|
|
22
|
+
private _htmlRoot;
|
|
23
|
+
private _settings;
|
|
24
|
+
private _canvas;
|
|
25
|
+
private _canvasContext;
|
|
26
|
+
private _onInputCheck;
|
|
27
|
+
private _onBeforeFileRead;
|
|
28
|
+
private _onImageLoadError;
|
|
29
|
+
private _onFileReaderError;
|
|
30
|
+
private _onCaptureReady;
|
|
31
|
+
private _resizedImageSizeLimit;
|
|
32
|
+
private _inputElement;
|
|
33
|
+
private _buttonElement;
|
|
34
|
+
private _chooseImageText;
|
|
35
|
+
constructor(settings: SingleImageUploaderSettings);
|
|
36
|
+
private get canvas();
|
|
37
|
+
private get canvasContext();
|
|
38
|
+
mount(htmlRoot: HTMLElement): void;
|
|
39
|
+
unmount(): void;
|
|
40
|
+
setButtonState(state: "disabled" | "enabled"): void;
|
|
41
|
+
getButtonState(): "disabled" | "enabled";
|
|
42
|
+
onInputCheck(listener: EventListener): void;
|
|
43
|
+
onBeforeFileRead(listener: EventListener): void;
|
|
44
|
+
onImageLoadError(listener: EventListener): void;
|
|
45
|
+
onFileReaderError(listener: EventListener): void;
|
|
46
|
+
onCaptureReady(listener: (capture: SingleImageUploaderViewCapture) => void): void;
|
|
47
|
+
onAfterImageProcessed(): void;
|
|
48
|
+
private setLoading;
|
|
49
|
+
private getResizedImageDimensions;
|
|
50
|
+
private onImageLoad;
|
|
51
|
+
private onFileReaderLoad;
|
|
52
|
+
private onFileUpload;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export { type ImageDimensions, SingleImageUploaderView, type SingleImageUploaderViewCapture };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { a as SingleImageUploaderView } from '../chunks/chunk-HZY2EBWP.js';
|