@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,28 @@
|
|
|
1
|
+
/// <reference types="emscripten" />
|
|
2
|
+
declare const classNames: {
|
|
3
|
+
SINGLE_IMAGE_UPLOADER_CONTAINER: string;
|
|
4
|
+
};
|
|
5
|
+
declare const styles: {
|
|
6
|
+
SINGLE_IMAGE_UPLOADER_CONTAINER_STYLE: {
|
|
7
|
+
backgroundColor: string;
|
|
8
|
+
};
|
|
9
|
+
SINGLE_IMAGE_UPLOADER_ICON_STYLE: {
|
|
10
|
+
fill: string;
|
|
11
|
+
};
|
|
12
|
+
SINGLE_IMAGE_UPLOADER_INFORMATION_STYLE: {
|
|
13
|
+
color: string;
|
|
14
|
+
marginBottom: string;
|
|
15
|
+
};
|
|
16
|
+
SINGLE_IMAGE_UPLOADER_BUTTON_STYLE: {
|
|
17
|
+
color: string;
|
|
18
|
+
backgroundColor: string;
|
|
19
|
+
fontWeight: string;
|
|
20
|
+
padding: string;
|
|
21
|
+
width: string;
|
|
22
|
+
textAlign: string;
|
|
23
|
+
textTransform: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
declare const css: string;
|
|
27
|
+
|
|
28
|
+
export { classNames, css, styles };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { a as classNames, c as css, b as styles } from '../chunks/chunk-JFRSUCMO.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/// <reference types="emscripten" />
|
|
2
|
+
declare const ViewClassNames: {
|
|
3
|
+
CONTAINER_CLASS_NAME: string;
|
|
4
|
+
PAINTBOARD_CLASS_NAME: string;
|
|
5
|
+
PAINTBOARD_CLASS_NAME_STATE_ON: string;
|
|
6
|
+
CONTROLS_CLASS_NAME: string;
|
|
7
|
+
CONTROL_WIDGET_CLASS_NAME: string;
|
|
8
|
+
MIRRORED_CLASS_NAME: string;
|
|
9
|
+
CAMERA_RECOVERY_CLASS_NAME: string;
|
|
10
|
+
ERROR_CLASS_NAME: string;
|
|
11
|
+
HINT_CONTAINER_CLASS_NAME: string;
|
|
12
|
+
HINT_CLASS_NAME: string;
|
|
13
|
+
PAINTBOARDS_CONTAINER_CLASS_NAME: string;
|
|
14
|
+
SINGLE_IMAGE_UPLOADER_CONTAINER_CLASS_NAME: string;
|
|
15
|
+
CANVAS_VIDEO_PREVIEW_CLASS_NAME: string;
|
|
16
|
+
TORCH_SWITCH_CONTROL_CLASS_NAME: string;
|
|
17
|
+
CAMERA_SWITCH_CONTROL_CLASS_NAME: string;
|
|
18
|
+
CAMERA_FOV_SWITCH_CONTROL_CLASS_NAME: string;
|
|
19
|
+
SHUTTER_BUTTON_CONTROL_CLASS_NAME: string;
|
|
20
|
+
FROZEN_FRAME: string;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export { ViewClassNames };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { a as ViewClassNames } from '../chunks/chunk-NMX4VHW2.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { a as ButtonState, c as CameraSwitchControlWidget, d as PrivateCameraFOVSwitchControlWidget, b as PrivateTorchControlWidget } from '../chunks/chunk-6XT4BUUR.js';
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
/// <reference types="emscripten" />
|
|
2
|
+
import { M as DataCaptureView, a as FrameSource, B as DataCaptureContext } from '../Camera-Cxbduq94.js';
|
|
3
|
+
import { TorchSwitchControl, CameraSwitchControl, CameraFOVSwitchControl, Control } from '../ViewControls.js';
|
|
4
|
+
import './Serializable.js';
|
|
5
|
+
import './FrameReaders/WatermarkStack.js';
|
|
6
|
+
import '../tsHelper.js';
|
|
7
|
+
import '../Common.js';
|
|
8
|
+
import '../DataCaptureContextSettings.js';
|
|
9
|
+
import '../DataCaptureViewPlusRelated.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 PrivateControl {
|
|
20
|
+
type: "camera-fov" | "camera" | "torch";
|
|
21
|
+
view: DataCaptureView | null;
|
|
22
|
+
}
|
|
23
|
+
interface TorchSwitchControlIcon {
|
|
24
|
+
on: {
|
|
25
|
+
idle: string | null;
|
|
26
|
+
pressed: string | null;
|
|
27
|
+
};
|
|
28
|
+
off: {
|
|
29
|
+
idle: string | null;
|
|
30
|
+
pressed: string | null;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
interface CameraSwitchControlIcon {
|
|
34
|
+
idle: string | null;
|
|
35
|
+
pressed: string | null;
|
|
36
|
+
}
|
|
37
|
+
interface CameraFOVSwitchControlIcon {
|
|
38
|
+
wide: {
|
|
39
|
+
idle: string | null;
|
|
40
|
+
pressed: string | null;
|
|
41
|
+
};
|
|
42
|
+
ultraWide: {
|
|
43
|
+
idle: string | null;
|
|
44
|
+
pressed: string | null;
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
interface PrivateControlWidget {
|
|
48
|
+
install: () => Promise<boolean>;
|
|
49
|
+
remove: (definitiveRemoval?: boolean) => void;
|
|
50
|
+
}
|
|
51
|
+
declare enum ButtonState {
|
|
52
|
+
Idle = "idle",
|
|
53
|
+
Pressed = "pressed"
|
|
54
|
+
}
|
|
55
|
+
declare abstract class ButtonControlWidget<C extends Control> {
|
|
56
|
+
protected domHost: HTMLElement;
|
|
57
|
+
protected state: ButtonState;
|
|
58
|
+
protected button: HTMLButtonElement | undefined;
|
|
59
|
+
protected isHover: boolean;
|
|
60
|
+
protected onTouchStartListener: (event?: Event) => void;
|
|
61
|
+
protected onMouseEnterListener: (event?: Event) => void;
|
|
62
|
+
protected onMouseLeaveListener: (event?: Event) => void;
|
|
63
|
+
protected onClickListener: (event?: Event) => void;
|
|
64
|
+
protected control: C;
|
|
65
|
+
constructor(control: C, domHost: HTMLElement);
|
|
66
|
+
protected get frameSource(): FrameSource | null | undefined;
|
|
67
|
+
protected get context(): DataCaptureContext | null | undefined;
|
|
68
|
+
install(): Promise<boolean>;
|
|
69
|
+
remove(definitiveRemoval?: boolean): void;
|
|
70
|
+
protected hide(): void;
|
|
71
|
+
protected show(): void;
|
|
72
|
+
protected setupButton(): HTMLButtonElement;
|
|
73
|
+
protected setup(): void;
|
|
74
|
+
private onTouchStart;
|
|
75
|
+
private onMouseEnter;
|
|
76
|
+
private onMouseLeave;
|
|
77
|
+
private onClick;
|
|
78
|
+
private updateButtonBackground;
|
|
79
|
+
protected abstract getImageFromState(): string | null;
|
|
80
|
+
protected abstract buttonClicked(): Promise<void>;
|
|
81
|
+
protected abstract canShow(): Promise<boolean>;
|
|
82
|
+
}
|
|
83
|
+
declare class PrivateTorchControlWidget extends ButtonControlWidget<TorchSwitchControl> implements PrivateControlWidget {
|
|
84
|
+
constructor(control: TorchSwitchControl, domHost: HTMLElement);
|
|
85
|
+
protected buttonClicked(): Promise<void>;
|
|
86
|
+
protected canShow(): Promise<boolean>;
|
|
87
|
+
protected getImageFromState(): string | null;
|
|
88
|
+
protected setup(): void;
|
|
89
|
+
private isTorchAvailable;
|
|
90
|
+
private retrieveTorchState;
|
|
91
|
+
}
|
|
92
|
+
declare class CameraSwitchControlWidget extends ButtonControlWidget<CameraSwitchControl> implements PrivateControlWidget {
|
|
93
|
+
private isTransitioning;
|
|
94
|
+
constructor(control: CameraSwitchControl, domHost: HTMLElement);
|
|
95
|
+
private static get CameraAccess();
|
|
96
|
+
private static get Camera();
|
|
97
|
+
protected canShow(): Promise<boolean>;
|
|
98
|
+
protected getImageFromState(): string | null;
|
|
99
|
+
protected buttonClicked(): Promise<void>;
|
|
100
|
+
protected setup(): void;
|
|
101
|
+
private getNextDeviceCamera;
|
|
102
|
+
private switchCameras;
|
|
103
|
+
}
|
|
104
|
+
declare class PrivateCameraFOVSwitchControlWidget extends ButtonControlWidget<CameraFOVSwitchControl> implements PrivateControlWidget {
|
|
105
|
+
private isTransitioning;
|
|
106
|
+
constructor(control: CameraFOVSwitchControl, domHost: HTMLElement);
|
|
107
|
+
private static get Camera();
|
|
108
|
+
private static get CameraAccess();
|
|
109
|
+
install(): Promise<boolean>;
|
|
110
|
+
protected canShow(): Promise<boolean>;
|
|
111
|
+
protected getImageFromState(): string | null;
|
|
112
|
+
protected buttonClicked(): Promise<void>;
|
|
113
|
+
protected setup(): void;
|
|
114
|
+
private setInitialCamera;
|
|
115
|
+
private isUltraWideBackCamera;
|
|
116
|
+
private getAlternativeDeviceCamera;
|
|
117
|
+
private switchCameras;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export { ButtonState, type CameraFOVSwitchControlIcon, type CameraSwitchControlIcon, CameraSwitchControlWidget, PrivateCameraFOVSwitchControlWidget, type PrivateControl, type PrivateControlWidget, PrivateTorchControlWidget, type TorchSwitchControlIcon };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { a as getDataCaptureViewStyles } from '../chunks/chunk-WSG6WSZN.js';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/// <reference types="emscripten" />
|
|
2
|
+
import { M as DataCaptureView } 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
|
+
declare const viewsRegistry: Set<DataCaptureView>;
|
|
20
|
+
|
|
21
|
+
export { viewsRegistry as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { a as default } from '../chunks/chunk-N5YZEC56.js';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/// <reference types="emscripten" />
|
|
2
|
+
import { G as GetAppInfoResponse, a as GetLicenseKeyResponse } from '../common-4FJYEFaM.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Check if is an electron app.
|
|
6
|
+
* @returns Whether or not the platform is Electron.
|
|
7
|
+
* @hidden
|
|
8
|
+
*/
|
|
9
|
+
declare function isElectron(): boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Get the appId and if app is packaged from the hybrid desktop platform layer
|
|
12
|
+
* @hidden
|
|
13
|
+
*/
|
|
14
|
+
declare function getAppInfo(): Promise<GetAppInfoResponse["payload"] | undefined>;
|
|
15
|
+
/**
|
|
16
|
+
* Get the key from the hybrid desktop platform layer
|
|
17
|
+
* @hidden
|
|
18
|
+
*/
|
|
19
|
+
declare function getKey(config: {
|
|
20
|
+
licenseDataPath: string;
|
|
21
|
+
}): Promise<GetLicenseKeyResponse["payload"] | undefined>;
|
|
22
|
+
|
|
23
|
+
export { getAppInfo, getKey, isElectron };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { b as getAppInfo, c as getKey, a as isElectron } from '../chunks/chunk-IH7SHTFM.js';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/// <reference types="emscripten" />
|
|
2
|
+
/**
|
|
3
|
+
* A website is in a cross-origin isolated state,
|
|
4
|
+
* when the response header
|
|
5
|
+
* * Cross-Origin-Opener-Policy has the value same-origin and the
|
|
6
|
+
* * Cross-Origin-Embedder-Policy header has the value require-corp or credentialless
|
|
7
|
+
* when true SharedArrayBuffer class will be available in the scope if browser supports it
|
|
8
|
+
* @returns if a site is crossOriginIsolated
|
|
9
|
+
*/
|
|
10
|
+
declare function isCrossOriginIsolated(): boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Even if the site is not crossOriginIsolated this function
|
|
13
|
+
* check whether or not the browser is capable to use SharedArrayBuffer
|
|
14
|
+
* @returns if browser supports SharedArrayBuffer regardless crossOriginIsolated value
|
|
15
|
+
*/
|
|
16
|
+
declare function hasSharedArrayBufferSupport(): boolean;
|
|
17
|
+
declare function hasSIMDSupport(): Promise<boolean>;
|
|
18
|
+
/**
|
|
19
|
+
* Checks if browser supports threads and is able to instantiate
|
|
20
|
+
* a Worker from another Worker.
|
|
21
|
+
* @returns
|
|
22
|
+
*/
|
|
23
|
+
declare function hasThreadsSupport(): Promise<boolean>;
|
|
24
|
+
/**
|
|
25
|
+
* To have full multithread support a browser must be
|
|
26
|
+
* crossOriginIsolated, support nested workers and capable to use SharedArrayBuffer
|
|
27
|
+
* @returns Checks if browser has full multithread support
|
|
28
|
+
*/
|
|
29
|
+
declare function checkFullMultithreadingSupport(): Promise<boolean>;
|
|
30
|
+
|
|
31
|
+
export { checkFullMultithreadingSupport, hasSIMDSupport, hasSharedArrayBufferSupport, hasThreadsSupport, isCrossOriginIsolated };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { e as checkFullMultithreadingSupport, c as hasSIMDSupport, b as hasSharedArrayBufferSupport, d as hasThreadsSupport, a as isCrossOriginIsolated } from '../chunks/chunk-H4TH4342.js';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/// <reference types="emscripten" />
|
|
2
|
+
import { ScanditHTMLElement } from '../../utils/ScanditHTMLElement.js';
|
|
3
|
+
|
|
4
|
+
declare const tag = "scandit-arrows-up";
|
|
5
|
+
declare class ArrowsUp extends ScanditHTMLElement {
|
|
6
|
+
static readonly tag: typeof tag;
|
|
7
|
+
constructor();
|
|
8
|
+
static createStyleElement(): HTMLStyleElement;
|
|
9
|
+
static create(): ArrowsUp;
|
|
10
|
+
static register(): void;
|
|
11
|
+
protected render(): string;
|
|
12
|
+
}
|
|
13
|
+
declare global {
|
|
14
|
+
interface HTMLElementTagNameMap {
|
|
15
|
+
[tag]: ArrowsUp;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { ArrowsUp };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { a as ArrowsUp } from '../../../chunks/chunk-6OQQP3SM.js';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/// <reference types="emscripten" />
|
|
2
|
+
import { ScanditHTMLElement } from '../../utils/ScanditHTMLElement.js';
|
|
3
|
+
|
|
4
|
+
declare const tag: "scandit-progress-bar";
|
|
5
|
+
declare class ProgressBar extends ScanditHTMLElement {
|
|
6
|
+
static readonly tag: "scandit-progress-bar";
|
|
7
|
+
private progress;
|
|
8
|
+
constructor();
|
|
9
|
+
private static get observedAttributes();
|
|
10
|
+
private static createStyleElement;
|
|
11
|
+
get min(): number;
|
|
12
|
+
get max(): number;
|
|
13
|
+
set max(value: number | null);
|
|
14
|
+
get value(): number | null;
|
|
15
|
+
set value(value: number | null | undefined);
|
|
16
|
+
static create(): ProgressBar;
|
|
17
|
+
static register(): void;
|
|
18
|
+
protected attributeChangedCallback(): void;
|
|
19
|
+
protected connectedCallback(): void;
|
|
20
|
+
private update;
|
|
21
|
+
}
|
|
22
|
+
declare global {
|
|
23
|
+
interface HTMLElementTagNameMap {
|
|
24
|
+
[tag]: ProgressBar;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export { ProgressBar };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { a as ProgressBar } from '../../../chunks/chunk-T7URG4IQ.js';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="emscripten" />
|
|
2
|
+
import { SvgIcon } from './SvgIcon.js';
|
|
3
|
+
import '../../utils/ScanditHTMLElement.js';
|
|
4
|
+
|
|
5
|
+
declare class RoundedCheckSvgIcon extends SvgIcon {
|
|
6
|
+
static tag: "scandit-rounded-check-icon";
|
|
7
|
+
static create(): RoundedCheckSvgIcon;
|
|
8
|
+
static register(): void;
|
|
9
|
+
protected render(): string;
|
|
10
|
+
}
|
|
11
|
+
declare global {
|
|
12
|
+
interface HTMLElementTagNameMap {
|
|
13
|
+
[RoundedCheckSvgIcon.tag]: RoundedCheckSvgIcon;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export { RoundedCheckSvgIcon };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { a as RoundedCheckSvgIcon } from '../../../chunks/chunk-M46MIHI5.js';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="emscripten" />
|
|
2
|
+
import { SvgIcon } from './SvgIcon.js';
|
|
3
|
+
import '../../utils/ScanditHTMLElement.js';
|
|
4
|
+
|
|
5
|
+
declare class RoundedExclamationMarkSvgIcon extends SvgIcon {
|
|
6
|
+
static tag: "scandit-rounded-exclamation-mark-icon";
|
|
7
|
+
static create(): RoundedExclamationMarkSvgIcon;
|
|
8
|
+
static register(): void;
|
|
9
|
+
protected render(): string;
|
|
10
|
+
}
|
|
11
|
+
declare global {
|
|
12
|
+
interface HTMLElementTagNameMap {
|
|
13
|
+
[RoundedExclamationMarkSvgIcon.tag]: RoundedExclamationMarkSvgIcon;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export { RoundedExclamationMarkSvgIcon };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { a as RoundedExclamationMarkSvgIcon } from '../../../chunks/chunk-5IVFVUF4.js';
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/// <reference types="emscripten" />
|
|
2
|
+
import { ScanditHTMLElement } from '../../utils/ScanditHTMLElement.js';
|
|
3
|
+
|
|
4
|
+
declare const VARIANTS: {
|
|
5
|
+
readonly default: "default";
|
|
6
|
+
readonly play: "play";
|
|
7
|
+
readonly pause: "pause";
|
|
8
|
+
};
|
|
9
|
+
type Variant<T = typeof VARIANTS> = T[keyof T];
|
|
10
|
+
declare class ShutterButton extends ScanditHTMLElement {
|
|
11
|
+
static readonly tag: "scandit-shutter-button";
|
|
12
|
+
private _variant;
|
|
13
|
+
private _button;
|
|
14
|
+
private _mainSVGCircle;
|
|
15
|
+
private _rotating;
|
|
16
|
+
private _pulse;
|
|
17
|
+
constructor();
|
|
18
|
+
static get observedAttributes(): string[];
|
|
19
|
+
set variant(newState: Variant);
|
|
20
|
+
get variant(): Variant;
|
|
21
|
+
set pulse(pulse: boolean);
|
|
22
|
+
get pulse(): boolean;
|
|
23
|
+
set rotating(rotating: boolean);
|
|
24
|
+
get rotating(): boolean;
|
|
25
|
+
static register(): void;
|
|
26
|
+
static create(): ShutterButton;
|
|
27
|
+
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
28
|
+
private refreshButtonWidth;
|
|
29
|
+
private connectedCallback;
|
|
30
|
+
private isValidState;
|
|
31
|
+
private appendStyle;
|
|
32
|
+
}
|
|
33
|
+
declare global {
|
|
34
|
+
interface HTMLElementTagNameMap {
|
|
35
|
+
[ShutterButton.tag]: ShutterButton;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { ShutterButton, VARIANTS, type Variant };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { a as a$3 } from '../../../chunks/chunk-3A4KLILV.js';
|
|
2
|
+
import { a as a$1 } from '../../../chunks/chunk-U6BTTEV6.js';
|
|
3
|
+
import { a as a$2 } from '../../../chunks/chunk-EV4OEANA.js';
|
|
4
|
+
import { a as a$4 } from '../../../chunks/chunk-GE4CBD4E.js';
|
|
5
|
+
|
|
6
|
+
var u="play",c="pause",d=a$1`
|
|
7
|
+
<svg viewBox="0 0 100 100">
|
|
8
|
+
<defs>
|
|
9
|
+
<mask id="${u}">
|
|
10
|
+
<rect width="100" height="100" fill="white" />
|
|
11
|
+
<path
|
|
12
|
+
d="M40 59.4416V40.5584C40 39.8297 40.7543 39.3457 41.4167 39.6493L62.0166 49.0909C62.7944 49.4474 62.7944 50.5526 62.0166 50.9091L41.4167 60.3507C40.7543 60.6543 40 60.1703 40 59.4416Z"
|
|
13
|
+
fill="black"
|
|
14
|
+
/>
|
|
15
|
+
</mask>
|
|
16
|
+
<mask id="${c}">
|
|
17
|
+
<rect width="100" height="100" fill="white" />
|
|
18
|
+
<rect x="40" y="38" width="8" height="24" rx="2" fill="black" />
|
|
19
|
+
<rect x="52" y="38" width="8" height="24" rx="2" fill="black" />
|
|
20
|
+
</mask>
|
|
21
|
+
</defs>
|
|
22
|
+
<g class="">
|
|
23
|
+
<circle id="main-circle" class="center" cx="50" cy="50" r="40" fill="white" mask="url(#${u})" />
|
|
24
|
+
<circle class="border" cx="50" cy="50" r="48" fill="none" stroke-width="3" stroke="white" />
|
|
25
|
+
</g>
|
|
26
|
+
</svg>
|
|
27
|
+
`;function p(){return a$4`:host{--button-width:0px;display:inline-block;touch-action:manipulation}:host([hidden]){display:none}button{background:none;border:none;border-radius:100%;line-height:0;margin:0;padding:0;touch-action:manipulation}button.pulse{animation:pulsate 2s infinite;animation-delay:.3s;border-radius:100%;box-shadow:0 0 0 0 hsla(0,0%,100%,.5)}svg{position:relative;width:100%}@keyframes pulsate{0%{transform:scale(1)}5%{box-shadow:0 0 0 0 hsla(0,0%,100%,.5);transform:scale(.9)}20%{transform:scale(1)}to{box-shadow:0 0 0 calc(var(--button-width)/2) hsla(0,0%,100%,0)}}`}function b(){return a$4`.rotating .border{stroke-dasharray:302 301;animation-direction:normal;animation-duration:4s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:rotating-stroke;animation-timing-function:linear;transform-origin:center}@keyframes rotating-stroke{0%{stroke-dasharray:302 301;transform:rotate(0)}50%{stroke-dasharray:1 301}51%{stroke-dasharray:0 291 10}to{stroke-dasharray:0 1 301;transform:rotate(-2turn)}}`}var h={default:"default",play:"play",pause:"pause"},a=class a extends a$2{constructor(){super();this._variant="default";this._mainSVGCircle=null;this._rotating=!1;this._pulse=!1;this.shadowRoot||this.attachShadow({mode:"open"});}static get observedAttributes(){return ["variant","pulse","rotating"]}set variant(t){var i;this._variant=t,this._button&&(this.refreshButtonWidth(),this._button.classList.add(this._variant),(i=this._mainSVGCircle)==null||i.setAttribute("mask",`url(#${this._variant})`));}get variant(){return this._variant}set pulse(t){var i;this._pulse=t,this.refreshButtonWidth(),(i=this._button)==null||i.classList.toggle("pulse",t);}get pulse(){return this._pulse}set rotating(t){var i;this._rotating=t,(i=this._button)==null||i.classList.toggle("rotating",t);}get rotating(){return this._rotating}static register(){a$3({[a.tag]:a});}static create(){return document.createElement(a.tag)}attributeChangedCallback(t,i,e){if(t==="variant"){if(!this.isValidState(e)){console.warn(`Invalid variant: "${e}". Must be one of ${Object.values(h).toString()}`);return}this.variant=e;}t==="pulse"&&(this.pulse=this.hasAttribute(t)),t==="rotating"&&(this.rotating=this.hasAttribute(t));}refreshButtonWidth(){var i;let{width:t}=this.getBoundingClientRect();(i=this._button)==null||i.style.setProperty("--button-width",`${t}px`);}connectedCallback(){var t;this._button||(this._button=document.createElement("button"),this._button.innerHTML=d,this._button.classList.add(this._variant),this._button.classList.toggle("pulse",this._pulse),this._button.classList.toggle("rotating",this._rotating),this.shadowRoot.append(this._button),this.appendStyle(),this._mainSVGCircle=this._button.querySelector("#main-circle"),(t=this._mainSVGCircle)==null||t.setAttribute("mask",`url(#${this._variant})`),this.refreshButtonWidth());}isValidState(t){return Object.values(h).includes(t)}appendStyle(){var t,i,e;(t=this.shadowRoot)==null||t.append(p().cloneNode(!0)),(e=(i=this.shadowRoot)==null?void 0:i.querySelector("svg"))==null||e.prepend(b().cloneNode(!0));}};a.tag="scandit-shutter-button";var n=a;n.register();
|
|
28
|
+
|
|
29
|
+
export { n as ShutterButton, h as VARIANTS };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/// <reference types="emscripten" />
|
|
2
|
+
import { ScanditHTMLElement } from '../../utils/ScanditHTMLElement.js';
|
|
3
|
+
|
|
4
|
+
declare const inlineStyleAttribute = "inline-style";
|
|
5
|
+
declare class SvgIcon extends ScanditHTMLElement {
|
|
6
|
+
static readonly tag: string;
|
|
7
|
+
private static readonly observedAttributes;
|
|
8
|
+
get fill(): string;
|
|
9
|
+
set fill(fill: string);
|
|
10
|
+
get size(): number;
|
|
11
|
+
set size(size: number);
|
|
12
|
+
get [inlineStyleAttribute](): string | null;
|
|
13
|
+
set [inlineStyleAttribute](inlineStyle: string | null);
|
|
14
|
+
static create(): SvgIcon;
|
|
15
|
+
protected render(): string;
|
|
16
|
+
protected heightForViewbox(width: number, height: number): number;
|
|
17
|
+
private aspectRatioForViewbox;
|
|
18
|
+
private connectedCallback;
|
|
19
|
+
private attributeChangedCallback;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export { SvgIcon };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { a as SvgIcon } from '../../../chunks/chunk-MAMZS5CH.js';
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/// <reference types="emscripten" />
|
|
2
|
+
import { ScanditHTMLElement } from '../../utils/ScanditHTMLElement.js';
|
|
3
|
+
import { X as GenericHint } from '../../../Camera-Cxbduq94.js';
|
|
4
|
+
import '../../Serializable.js';
|
|
5
|
+
import '../../FrameReaders/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';
|
|
19
|
+
|
|
20
|
+
declare enum ToastEvents {
|
|
21
|
+
DidShow = "didshow",
|
|
22
|
+
DidHide = "didhide",
|
|
23
|
+
WillShow = "willshow"
|
|
24
|
+
}
|
|
25
|
+
type WillShowEvent = CustomEvent<{
|
|
26
|
+
target: Toast;
|
|
27
|
+
}>;
|
|
28
|
+
type DidShowEvent = CustomEvent<{
|
|
29
|
+
target: Toast;
|
|
30
|
+
}>;
|
|
31
|
+
type DidHideEvent = CustomEvent<{
|
|
32
|
+
target: Toast;
|
|
33
|
+
}>;
|
|
34
|
+
declare class Toast extends ScanditHTMLElement {
|
|
35
|
+
static readonly tag: "scandit-toast-hint";
|
|
36
|
+
private toast;
|
|
37
|
+
private _hintStyle;
|
|
38
|
+
private currentAnimation;
|
|
39
|
+
private _exclamationIcon;
|
|
40
|
+
private _checkIcon;
|
|
41
|
+
private animationDuration;
|
|
42
|
+
constructor();
|
|
43
|
+
private static createStyleElement;
|
|
44
|
+
get hintStyle(): GenericHint["hintStyle"] | null;
|
|
45
|
+
set hintStyle(hintStyle: GenericHint["hintStyle"]);
|
|
46
|
+
private get showAnimation();
|
|
47
|
+
private get hideAnimation();
|
|
48
|
+
static create(): Toast;
|
|
49
|
+
static register(): void;
|
|
50
|
+
show(): Promise<void>;
|
|
51
|
+
hide(): Promise<void>;
|
|
52
|
+
connectedCallback(): void;
|
|
53
|
+
private toggle;
|
|
54
|
+
private render;
|
|
55
|
+
}
|
|
56
|
+
declare global {
|
|
57
|
+
interface HTMLElementTagNameMap {
|
|
58
|
+
[Toast.tag]: Toast;
|
|
59
|
+
}
|
|
60
|
+
interface HTMLElementEventMap {
|
|
61
|
+
[ToastEvents.WillShow]: WillShowEvent;
|
|
62
|
+
[ToastEvents.DidShow]: DidShowEvent;
|
|
63
|
+
[ToastEvents.DidHide]: DidHideEvent;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export { type DidHideEvent, type DidShowEvent, Toast, ToastEvents, type WillShowEvent };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { b as Toast, a as ToastEvents } from '../../../chunks/chunk-TBCW7RDM.js';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/// <reference types="emscripten" />
|
|
2
|
+
import { Color } from '../../Common.js';
|
|
3
|
+
import '../Serializable.js';
|
|
4
|
+
|
|
5
|
+
declare const primaryTeal100: Color;
|
|
6
|
+
declare const primaryTeal75: Color;
|
|
7
|
+
declare const primaryTeal50: Color;
|
|
8
|
+
declare const primaryTeal25: Color;
|
|
9
|
+
declare const gray900: Color;
|
|
10
|
+
declare const gray300: Color;
|
|
11
|
+
declare const SecondaryGreen100: Color;
|
|
12
|
+
declare const SecondaryGreen80: Color;
|
|
13
|
+
declare const SecondaryGreen60: Color;
|
|
14
|
+
declare const SecondaryGreen40: Color;
|
|
15
|
+
declare const SecondaryGreen20: Color;
|
|
16
|
+
declare const SecondaryOrange100: Color;
|
|
17
|
+
declare const SecondaryOrange80: Color;
|
|
18
|
+
declare const SecondaryOrange60: Color;
|
|
19
|
+
declare const SecondaryOrange40: Color;
|
|
20
|
+
declare const SecondaryOrange20: Color;
|
|
21
|
+
declare const SecondaryRed100: Color;
|
|
22
|
+
declare const SecondaryRed80: Color;
|
|
23
|
+
declare const SecondaryRed60: Color;
|
|
24
|
+
declare const SecondaryRed40: Color;
|
|
25
|
+
declare const SecondaryRed20: Color;
|
|
26
|
+
|
|
27
|
+
export { SecondaryGreen100, SecondaryGreen20, SecondaryGreen40, SecondaryGreen60, SecondaryGreen80, SecondaryOrange100, SecondaryOrange20, SecondaryOrange40, SecondaryOrange60, SecondaryOrange80, SecondaryRed100, SecondaryRed20, SecondaryRed40, SecondaryRed60, SecondaryRed80, gray300, gray900, primaryTeal100, primaryTeal25, primaryTeal50, primaryTeal75 };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { g as SecondaryGreen100, k as SecondaryGreen20, j as SecondaryGreen40, i as SecondaryGreen60, h as SecondaryGreen80, l as SecondaryOrange100, p as SecondaryOrange20, o as SecondaryOrange40, n as SecondaryOrange60, m as SecondaryOrange80, q as SecondaryRed100, u as SecondaryRed20, t as SecondaryRed40, s as SecondaryRed60, r as SecondaryRed80, f as gray300, e as gray900, a as primaryTeal100, d as primaryTeal25, c as primaryTeal50, b as primaryTeal75 } from '../../chunks/chunk-MSPQDVWJ.js';
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/// <reference types="emscripten" />
|
|
2
|
+
import { ScanditHTMLElement } from '../../utils/ScanditHTMLElement.js';
|
|
3
|
+
import { Rect } from '../../../Common.js';
|
|
4
|
+
import { Y as DataCaptureCallbackMessage } from '../../../Camera-Cxbduq94.js';
|
|
5
|
+
import '../../Serializable.js';
|
|
6
|
+
import '../../FrameReaders/WatermarkStack.js';
|
|
7
|
+
import '../../../tsHelper.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';
|
|
19
|
+
|
|
20
|
+
declare enum HintPresenterEvents {
|
|
21
|
+
Update = "hintpresenterupdate"
|
|
22
|
+
}
|
|
23
|
+
declare class HintPresenter extends ScanditHTMLElement {
|
|
24
|
+
static readonly tag: "scandit-hints";
|
|
25
|
+
private intervalId;
|
|
26
|
+
private root;
|
|
27
|
+
private _viewFinderRect;
|
|
28
|
+
private onDidToastHideHandler;
|
|
29
|
+
private orientationObserver;
|
|
30
|
+
private onOrientationChangeHandler;
|
|
31
|
+
constructor();
|
|
32
|
+
private static createStyleElement;
|
|
33
|
+
static register(): void;
|
|
34
|
+
static create(): HintPresenter;
|
|
35
|
+
connectedCallback(): void;
|
|
36
|
+
disconnectedCallback(): void;
|
|
37
|
+
setViewFinderRect(rect: Rect | null): void;
|
|
38
|
+
handleMessage(message: DataCaptureCallbackMessage): void;
|
|
39
|
+
private onDidToastHide;
|
|
40
|
+
private showToast;
|
|
41
|
+
private hideToast;
|
|
42
|
+
private showGuidance;
|
|
43
|
+
private hideGuidance;
|
|
44
|
+
private startUpdateTimer;
|
|
45
|
+
private stopUpdateTimer;
|
|
46
|
+
private idFromHint;
|
|
47
|
+
private onOrientationChange;
|
|
48
|
+
}
|
|
49
|
+
declare global {
|
|
50
|
+
interface HTMLElementTagNameMap {
|
|
51
|
+
[HintPresenter.tag]: HintPresenter;
|
|
52
|
+
}
|
|
53
|
+
interface HTMLElementEventMap {
|
|
54
|
+
[HintPresenterEvents.Update]: CustomEvent<void>;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export { HintPresenter, HintPresenterEvents };
|