@scandit/web-datacapture-barcode 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 +3 -0
- package/THIRD-PARTY.txt +73 -0
- package/build/js/Barcode.d.ts +114 -0
- package/build/js/Barcode.js +1 -0
- package/build/js/BarcodeBatch-Byl-P99I.d.ts +90 -0
- package/build/js/BarcodeBatch.d.ts +10 -0
- package/build/js/BarcodeBatch.js +1 -0
- package/build/js/BarcodeBatchAdvancedOverlay.d.ts +63 -0
- package/build/js/BarcodeBatchAdvancedOverlay.js +1 -0
- package/build/js/BarcodeBatchBasicOverlay.d.ts +10 -0
- package/build/js/BarcodeBatchBasicOverlay.js +1 -0
- package/build/js/BarcodeBatchMode-Dwx2kMQZ.d.ts +115 -0
- package/build/js/BarcodeBatchSession.d.ts +29 -0
- package/build/js/BarcodeBatchSession.js +1 -0
- package/build/js/BarcodeBatchSettings.d.ts +25 -0
- package/build/js/BarcodeBatchSettings.js +1 -0
- package/build/js/BarcodeCapture.d.ts +53 -0
- package/build/js/BarcodeCapture.js +1 -0
- package/build/js/BarcodeCaptureFeedback.d.ts +13 -0
- package/build/js/BarcodeCaptureFeedback.js +1 -0
- package/build/js/BarcodeCaptureOverlay.d.ts +49 -0
- package/build/js/BarcodeCaptureOverlay.js +1 -0
- package/build/js/BarcodeCaptureSession.d.ts +24 -0
- package/build/js/BarcodeCaptureSession.js +1 -0
- package/build/js/BarcodeCaptureSettings.d.ts +36 -0
- package/build/js/BarcodeCaptureSettings.js +1 -0
- package/build/js/Defaults.d.ts +256 -0
- package/build/js/Defaults.js +1 -0
- package/build/js/EncodingRange.d.ts +19 -0
- package/build/js/EncodingRange.js +1 -0
- package/build/js/LocalizedOnlyBarcode.d.ts +17 -0
- package/build/js/LocalizedOnlyBarcode.js +1 -0
- package/build/js/PrivateBarcodeBatchAdvancedOverlayListener.d.ts +21 -0
- package/build/js/PrivateBarcodeBatchAdvancedOverlayListener.js +1 -0
- package/build/js/PrivateBarcodeBatchBasicOverlayListener.d.ts +10 -0
- package/build/js/PrivateBarcodeBatchBasicOverlayListener.js +1 -0
- package/build/js/Range.d.ts +23 -0
- package/build/js/Range.js +1 -0
- package/build/js/ScanIntention.d.ts +6 -0
- package/build/js/ScanIntention.js +1 -0
- package/build/js/SparkScanView-DEmQKYC3.d.ts +152 -0
- package/build/js/StructuredAppendData.d.ts +32 -0
- package/build/js/StructuredAppendData.js +1 -0
- package/build/js/SymbologyDescription.d.ts +40 -0
- package/build/js/SymbologyDescription.js +1 -0
- package/build/js/SymbologySettings.d.ts +28 -0
- package/build/js/SymbologySettings.js +1 -0
- package/build/js/TrackedBarcode.d.ts +33 -0
- package/build/js/TrackedBarcode.js +1 -0
- package/build/js/TrackedBarcodeView.d.ts +40 -0
- package/build/js/TrackedBarcodeView.js +1 -0
- package/build/js/chunks/chunk-3A6GSH7S.js +3 -0
- package/build/js/chunks/chunk-42SQROQE.js +7 -0
- package/build/js/chunks/chunk-4BSKZNBG.js +1 -0
- package/build/js/chunks/chunk-4EGODYYJ.js +7 -0
- package/build/js/chunks/chunk-4PTIOBXM.js +5 -0
- package/build/js/chunks/chunk-5DP5VNWQ.js +7 -0
- package/build/js/chunks/chunk-5SHGJJGR.js +11 -0
- package/build/js/chunks/chunk-6GFA45IH.js +3 -0
- package/build/js/chunks/chunk-6VT7IT5G.js +108 -0
- package/build/js/chunks/chunk-7N3BO7YB.js +1 -0
- package/build/js/chunks/chunk-7SWSAHI5.js +3 -0
- package/build/js/chunks/chunk-ADMKAYF6.js +21 -0
- package/build/js/chunks/chunk-AF2UZ65J.js +3 -0
- package/build/js/chunks/chunk-ALOQUGSU.js +8 -0
- package/build/js/chunks/chunk-AW7K3C63.js +6 -0
- package/build/js/chunks/chunk-BRRT6GC7.js +3 -0
- package/build/js/chunks/chunk-C52THG7K.js +3 -0
- package/build/js/chunks/chunk-CLMAF253.js +15 -0
- package/build/js/chunks/chunk-CYUXFHBE.js +5 -0
- package/build/js/chunks/chunk-DFK7AQTK.js +3 -0
- package/build/js/chunks/chunk-DP5UA6QA.js +7 -0
- package/build/js/chunks/chunk-DTO5ICFV.js +252 -0
- package/build/js/chunks/chunk-DVHTYKDX.js +3 -0
- package/build/js/chunks/chunk-E5OIMFVX.js +6 -0
- package/build/js/chunks/chunk-ECL3JBWQ.js +9 -0
- package/build/js/chunks/chunk-EMJS3UT7.js +3 -0
- package/build/js/chunks/chunk-FFSV4P4N.js +3 -0
- package/build/js/chunks/chunk-FJ4SOETD.js +8 -0
- package/build/js/chunks/chunk-FLTJ6FPP.js +5 -0
- package/build/js/chunks/chunk-FMYIZSF5.js +1 -0
- package/build/js/chunks/chunk-FPZJIOQH.js +6 -0
- package/build/js/chunks/chunk-GBSISAJA.js +1 -0
- package/build/js/chunks/chunk-GOVBKIEO.js +5 -0
- package/build/js/chunks/chunk-GR7V7CUW.js +11 -0
- package/build/js/chunks/chunk-HEJKMZ7P.js +8 -0
- package/build/js/chunks/chunk-HNWVLPRV.js +9 -0
- package/build/js/chunks/chunk-HTKUJZG2.js +3 -0
- package/build/js/chunks/chunk-I54U6QKJ.js +1 -0
- package/build/js/chunks/chunk-I5BAO2RI.js +8 -0
- package/build/js/chunks/chunk-IEE5MKEA.js +5 -0
- package/build/js/chunks/chunk-IILNTCMF.js +7 -0
- package/build/js/chunks/chunk-IMYBB4ZA.js +3 -0
- package/build/js/chunks/chunk-INRFTFPK.js +5 -0
- package/build/js/chunks/chunk-J4VFWBJ7.js +3 -0
- package/build/js/chunks/chunk-JMWBOJQR.js +5 -0
- package/build/js/chunks/chunk-JQF6P6X7.js +5 -0
- package/build/js/chunks/chunk-K3EIYQPY.js +11 -0
- package/build/js/chunks/chunk-K4MHNZXA.js +46 -0
- package/build/js/chunks/chunk-KBO3YYBN.js +5 -0
- package/build/js/chunks/chunk-KQ3LRAYO.js +4 -0
- package/build/js/chunks/chunk-L6IZLBEM.js +3 -0
- package/build/js/chunks/chunk-LBAL6OCN.js +3 -0
- package/build/js/chunks/chunk-LFPKKGQH.js +7 -0
- package/build/js/chunks/chunk-LKZBVQXD.js +3 -0
- package/build/js/chunks/chunk-MUX2WWWH.js +5 -0
- package/build/js/chunks/chunk-MVDPXLVX.js +3 -0
- package/build/js/chunks/chunk-NDT5RS4B.js +224 -0
- package/build/js/chunks/chunk-NH3EDXZZ.js +3 -0
- package/build/js/chunks/chunk-NK2XCY5M.js +142 -0
- package/build/js/chunks/chunk-OHSTP7TM.js +3 -0
- package/build/js/chunks/chunk-OON6VEAR.js +5 -0
- package/build/js/chunks/chunk-OPL5NVVM.js +5 -0
- package/build/js/chunks/chunk-OTZPCIBD.js +6 -0
- package/build/js/chunks/chunk-OXLBBRZT.js +18 -0
- package/build/js/chunks/chunk-PE6EDL2S.js +7 -0
- package/build/js/chunks/chunk-POONUNDO.js +3 -0
- package/build/js/chunks/chunk-PTJJ3JDE.js +7 -0
- package/build/js/chunks/chunk-PVBCYBUX.js +1 -0
- package/build/js/chunks/chunk-QCD3RIT4.js +3 -0
- package/build/js/chunks/chunk-QHNNJFNX.js +5 -0
- package/build/js/chunks/chunk-QKP2VQEV.js +3 -0
- package/build/js/chunks/chunk-QPNMXE7H.js +23 -0
- package/build/js/chunks/chunk-QT54I6KA.js +3 -0
- package/build/js/chunks/chunk-R2D7ULOM.js +6 -0
- package/build/js/chunks/chunk-SJ4RDJQU.js +6 -0
- package/build/js/chunks/chunk-SZUPDKV5.js +3 -0
- package/build/js/chunks/chunk-T2Y2C76P.js +3 -0
- package/build/js/chunks/chunk-TBCQMBEE.js +6 -0
- package/build/js/chunks/chunk-TBXQSBKX.js +7 -0
- package/build/js/chunks/chunk-TXVV2KVE.js +1 -0
- package/build/js/chunks/chunk-URV3CVLG.js +7 -0
- package/build/js/chunks/chunk-VI6FIL4E.js +26 -0
- package/build/js/chunks/chunk-VTHL2LZD.js +7 -0
- package/build/js/chunks/chunk-VWY7QHPJ.js +21 -0
- package/build/js/chunks/chunk-W3YHPFLY.js +6 -0
- package/build/js/chunks/chunk-W7TZ36EI.js +5 -0
- package/build/js/chunks/chunk-WBSINSMA.js +21 -0
- package/build/js/chunks/chunk-WIIZ53ZJ.js +27 -0
- package/build/js/chunks/chunk-WMUD7V77.js +3 -0
- package/build/js/chunks/chunk-WMVYFKGM.js +3 -0
- package/build/js/chunks/chunk-WPSMXGDG.js +5 -0
- package/build/js/chunks/chunk-WTBGDD52.js +8 -0
- package/build/js/chunks/chunk-X2KFZW3W.js +7 -0
- package/build/js/chunks/chunk-X2U6LCRU.js +11 -0
- package/build/js/chunks/chunk-X5RHQLWP.js +10 -0
- package/build/js/chunks/chunk-XCZGCZ5K.js +8 -0
- package/build/js/chunks/chunk-XFKSWDGT.js +6 -0
- package/build/js/chunks/chunk-XGYKHOFE.js +6 -0
- package/build/js/chunks/chunk-XM2UJIDT.js +6 -0
- package/build/js/chunks/chunk-Y5ZY6264.js +3 -0
- package/build/js/chunks/chunk-Y6DC25EF.js +3 -0
- package/build/js/chunks/chunk-YBD5JYCX.js +3 -0
- package/build/js/chunks/chunk-YQVJWYOP.js +3 -0
- package/build/js/chunks/chunk-ZDBP2TPZ.js +40 -0
- package/build/js/chunks/chunk-ZDTUEAKJ.js +17 -0
- package/build/js/chunks/chunk-ZLYZOIU3.js +3 -0
- package/build/js/find/BarcodeFind.d.ts +60 -0
- package/build/js/find/BarcodeFind.js +1 -0
- package/build/js/find/BarcodeFindBasicOverlay.d.ts +58 -0
- package/build/js/find/BarcodeFindBasicOverlay.js +1 -0
- package/build/js/find/BarcodeFindFeedback.d.ts +17 -0
- package/build/js/find/BarcodeFindFeedback.js +1 -0
- package/build/js/find/BarcodeFindItem.d.ts +35 -0
- package/build/js/find/BarcodeFindItem.js +1 -0
- package/build/js/find/BarcodeFindPresenter.d.ts +55 -0
- package/build/js/find/BarcodeFindPresenter.js +1 -0
- package/build/js/find/BarcodeFindSession.d.ts +35 -0
- package/build/js/find/BarcodeFindSession.js +1 -0
- package/build/js/find/BarcodeFindSettings.d.ts +25 -0
- package/build/js/find/BarcodeFindSettings.js +1 -0
- package/build/js/find/BarcodeFindTransformer.d.ts +5 -0
- package/build/js/find/BarcodeFindTransformer.js +1 -0
- package/build/js/find/BarcodeFindView.d.ts +98 -0
- package/build/js/find/BarcodeFindView.js +1 -0
- package/build/js/find/BarcodeFindViewSettings.d.ts +20 -0
- package/build/js/find/BarcodeFindViewSettings.js +1 -0
- package/build/js/find/BarcodeFindViewUiListener.d.ts +7 -0
- package/build/js/find/BarcodeFindViewUiListener.js +1 -0
- package/build/js/find/index.d.ts +17 -0
- package/build/js/find/index.js +5 -0
- package/build/js/find/ui/atoms/ArrowDownSvgIcon.d.ts +15 -0
- package/build/js/find/ui/atoms/ArrowDownSvgIcon.js +1 -0
- package/build/js/find/ui/atoms/Card.d.ts +18 -0
- package/build/js/find/ui/atoms/Card.js +1 -0
- package/build/js/find/ui/atoms/CardList.d.ts +56 -0
- package/build/js/find/ui/atoms/CardList.js +1 -0
- package/build/js/find/ui/atoms/CardListButton.d.ts +16 -0
- package/build/js/find/ui/atoms/CardListButton.js +1 -0
- package/build/js/find/ui/atoms/Dot.d.ts +34 -0
- package/build/js/find/ui/atoms/Dot.js +1 -0
- package/build/js/find/ui/atoms/ExitSvgIcon.d.ts +16 -0
- package/build/js/find/ui/atoms/ExitSvgIcon.js +1 -0
- package/build/js/find/ui/atoms/ItemFoundSvgIcon.d.ts +15 -0
- package/build/js/find/ui/atoms/ItemFoundSvgIcon.js +1 -0
- package/build/js/find/ui/atoms/TorchOffSvgIcon.d.ts +15 -0
- package/build/js/find/ui/atoms/TorchOffSvgIcon.js +1 -0
- package/build/js/find/ui/atoms/TorchOnSvgIcon.d.ts +15 -0
- package/build/js/find/ui/atoms/TorchOnSvgIcon.js +1 -0
- package/build/js/find/ui/molecules/CardListContainer.d.ts +41 -0
- package/build/js/find/ui/molecules/CardListContainer.js +1 -0
- package/build/js/find/ui/molecules/ProgressBarWithLabel.d.ts +26 -0
- package/build/js/find/ui/molecules/ProgressBarWithLabel.js +1 -0
- package/build/js/find/ui/molecules/TorchIconButton.d.ts +24 -0
- package/build/js/find/ui/molecules/TorchIconButton.js +1 -0
- package/build/js/find/ui/organisms/FindLayout.d.ts +39 -0
- package/build/js/find/ui/organisms/FindLayout.js +1 -0
- package/build/js/global.d.d.ts +36 -0
- package/build/js/global.d.js +1 -0
- package/build/js/index.d.ts +58 -0
- package/build/js/index.js +38 -0
- package/build/js/moduleLoader.d.ts +8 -0
- package/build/js/moduleLoader.js +1 -0
- package/build/js/private/sandbox.d.ts +5 -0
- package/build/js/private/sandbox.js +1 -0
- package/build/js/private/symbols.d.ts +6 -0
- package/build/js/private/symbols.js +1 -0
- package/build/js/private/utils/trackedBarcodeViewUtils.d.ts +14 -0
- package/build/js/private/utils/trackedBarcodeViewUtils.js +1 -0
- package/build/js/spark/SparkScan.d.ts +43 -0
- package/build/js/spark/SparkScan.js +1 -0
- package/build/js/spark/SparkScanAnalyticsManager.d.ts +27 -0
- package/build/js/spark/SparkScanAnalyticsManager.js +1 -0
- package/build/js/spark/SparkScanBarcodeFeedback.d.ts +50 -0
- package/build/js/spark/SparkScanBarcodeFeedback.js +1 -0
- package/build/js/spark/SparkScanFeedbackDelegate.d.ts +12 -0
- package/build/js/spark/SparkScanFeedbackDelegate.js +1 -0
- package/build/js/spark/SparkScanOverlay.d.ts +49 -0
- package/build/js/spark/SparkScanOverlay.js +1 -0
- package/build/js/spark/SparkScanOverlayStyle.d.ts +5 -0
- package/build/js/spark/SparkScanOverlayStyle.js +1 -0
- package/build/js/spark/SparkScanPreviewBehavior.d.ts +6 -0
- package/build/js/spark/SparkScanPreviewBehavior.js +1 -0
- package/build/js/spark/SparkScanScanningBehavior.d.ts +6 -0
- package/build/js/spark/SparkScanScanningBehavior.js +1 -0
- package/build/js/spark/SparkScanScanningMode.d.ts +36 -0
- package/build/js/spark/SparkScanScanningMode.js +1 -0
- package/build/js/spark/SparkScanSession.d.ts +17 -0
- package/build/js/spark/SparkScanSession.js +1 -0
- package/build/js/spark/SparkScanSettings.d.ts +34 -0
- package/build/js/spark/SparkScanSettings.js +1 -0
- package/build/js/spark/SparkScanTargetAimerViewfinder.d.ts +14 -0
- package/build/js/spark/SparkScanTargetAimerViewfinder.js +1 -0
- package/build/js/spark/assets/sounds.d.ts +4 -0
- package/build/js/spark/assets/sounds.js +1 -0
- package/build/js/spark/index.d.ts +31 -0
- package/build/js/spark/index.js +12 -0
- package/build/js/spark/sounds.d.ts +6 -0
- package/build/js/spark/sounds.js +1 -0
- package/build/js/spark/ui/SparkScanMiniPreviewSize.d.ts +6 -0
- package/build/js/spark/ui/SparkScanMiniPreviewSize.js +1 -0
- package/build/js/spark/ui/SparkScanToastSettings.d.ts +32 -0
- package/build/js/spark/ui/SparkScanToastSettings.js +1 -0
- package/build/js/spark/ui/SparkScanView.d.ts +23 -0
- package/build/js/spark/ui/SparkScanView.js +1 -0
- package/build/js/spark/ui/SparkScanViewFeedbackManager.d.ts +24 -0
- package/build/js/spark/ui/SparkScanViewFeedbackManager.js +1 -0
- package/build/js/spark/ui/SparkScanViewHandMode.d.ts +9 -0
- package/build/js/spark/ui/SparkScanViewHandMode.js +1 -0
- package/build/js/spark/ui/SparkScanViewIcon.d.ts +42 -0
- package/build/js/spark/ui/SparkScanViewIcon.js +1 -0
- package/build/js/spark/ui/SparkScanViewMiniPreview.d.ts +111 -0
- package/build/js/spark/ui/SparkScanViewMiniPreview.js +1 -0
- package/build/js/spark/ui/SparkScanViewPreferenceManager.d.ts +39 -0
- package/build/js/spark/ui/SparkScanViewPreferenceManager.js +1 -0
- package/build/js/spark/ui/SparkScanViewPresenter.d.ts +98 -0
- package/build/js/spark/ui/SparkScanViewPresenter.js +1 -0
- package/build/js/spark/ui/SparkScanViewSettings.d.ts +46 -0
- package/build/js/spark/ui/SparkScanViewSettings.js +1 -0
- package/build/js/spark/ui/SparkScanViewState.d.ts +9 -0
- package/build/js/spark/ui/SparkScanViewState.js +1 -0
- package/build/js/spark/ui/SparkScanViewStateManager.d.ts +50 -0
- package/build/js/spark/ui/SparkScanViewStateManager.js +1 -0
- package/build/js/spark/ui/SparkScanViewToast.d.ts +28 -0
- package/build/js/spark/ui/SparkScanViewToast.js +1 -0
- package/build/js/spark/ui/SparkScanViewToolbar.d.ts +60 -0
- package/build/js/spark/ui/SparkScanViewToolbar.js +1 -0
- package/build/js/spark/ui/SparkScanViewTriggerButton.d.ts +45 -0
- package/build/js/spark/ui/SparkScanViewTriggerButton.js +1 -0
- package/build/js/spark/ui/SparkScanViewUiListener.d.ts +23 -0
- package/build/js/spark/ui/SparkScanViewUiListener.js +1 -0
- package/build/js/spark/ui/SparkScanViewVisualFeedback.d.ts +23 -0
- package/build/js/spark/ui/SparkScanViewVisualFeedback.js +1 -0
- package/build/js/spark/ui/constants/attributes.d.ts +15 -0
- package/build/js/spark/ui/constants/attributes.js +1 -0
- package/build/js/spark/ui/constants/colors.d.ts +6 -0
- package/build/js/spark/ui/constants/colors.js +1 -0
- package/build/js/spark/ui/constants/constants.d.ts +5 -0
- package/build/js/spark/ui/constants/constants.js +1 -0
- package/build/js/spark/ui/constants/cssVariables.d.ts +13 -0
- package/build/js/spark/ui/constants/cssVariables.js +1 -0
- package/build/js/spark/ui/constants/events.d.ts +12 -0
- package/build/js/spark/ui/constants/events.js +1 -0
- package/build/js/spark/ui/constants/tags.d.ts +9 -0
- package/build/js/spark/ui/constants/tags.js +1 -0
- package/build/js/spark/ui/controllers/DragController.d.ts +36 -0
- package/build/js/spark/ui/controllers/DragController.js +1 -0
- package/build/js/spark/ui/controllers/LongPressController.d.ts +31 -0
- package/build/js/spark/ui/controllers/LongPressController.js +1 -0
- package/build/js/spark/ui/index.d.ts +36 -0
- package/build/js/spark/ui/index.js +15 -0
- package/build/js/spark/ui/utils/didDrag.d.ts +3 -0
- package/build/js/spark/ui/utils/didDrag.js +1 -0
- package/build/js/spark/ui/utils/html.d.ts +3 -0
- package/build/js/spark/ui/utils/html.js +1 -0
- package/build/js/translations.d.ts +4 -0
- package/build/js/translations.js +1 -0
- package/build/js/worker/BarcodeBatchMode.d.ts +48 -0
- package/build/js/worker/BarcodeBatchMode.js +1 -0
- package/build/js/worker/BarcodeCaptureMode.d.ts +48 -0
- package/build/js/worker/BarcodeCaptureMode.js +1 -0
- package/build/js/worker/BarcodeCaptureWorkerManager.d.ts +59 -0
- package/build/js/worker/BarcodeCaptureWorkerManager.js +1 -0
- package/build/js/worker/BarcodeFindMode.d.ts +48 -0
- package/build/js/worker/BarcodeFindMode.js +1 -0
- package/build/js/worker/PropertyBehaviorSubject.d.ts +17 -0
- package/build/js/worker/PropertyBehaviorSubject.js +1 -0
- package/build/js/worker/PropertyPushSource.d.ts +16 -0
- package/build/js/worker/PropertyPushSource.js +1 -0
- package/build/js/worker/SparkScanMode.d.ts +48 -0
- package/build/js/worker/SparkScanMode.js +1 -0
- package/build/js/worker/WorkerMain.d.ts +56 -0
- package/build/js/worker/WorkerMain.js +1 -0
- package/build/js/worker/dataCapture.inlineWorker.d.ts +3 -0
- package/build/js/worker/dataCapture.inlineWorker.js +5 -0
- package/build/js/worker/dataCaptureEngine.d.ts +48 -0
- package/build/js/worker/dataCaptureEngine.js +1 -0
- package/build/js/worker/dataCaptureWorkerRelated.d.ts +311 -0
- package/build/js/worker/dataCaptureWorkerRelated.js +1 -0
- package/build/js/worker/index.d.ts +45 -0
- package/build/js/worker/index.js +1 -0
- package/build/js/worker/inlineWorker.d.d.ts +4 -0
- package/build/js/worker/inlineWorker.d.js +1 -0
- package/package.json +110 -0
- package/sdc-lib/resources/models/barcode_classification_default_model.5ed1ecfaacbd108767a80013d11d9af73b8e1d5e.model +0 -0
- package/sdc-lib/resources/models/barcode_localization_default_model.f88251f1bff0c68526d9898ef4c8f3b411c3c59e.model +0 -0
- package/sdc-lib/resources/models/barcode_localization_dpm_default_model.acd01c12893d98af3a7e472200dbce4afd57631d.model +0 -0
- package/sdc-lib/resources/models/barcode_localization_french_post_default_model.e1d7ffb4d1fb636b1c267d2da0ad6003584e668d.model +0 -0
- package/sdc-lib/resources/models/barcode_localization_generic_postal_code_default_model.7852c9b58cc2d253466ca3ea60bbd02ca09533ca.model +0 -0
- package/sdc-lib/resources/models/barcode_localization_oned_default_model.058a356e6c57475ec928de2f95440aefa46ed5fe.model +0 -0
- package/sdc-lib/resources/models/barcode_localization_twod_default_model.54c8ddfd8620c8b508f4108fcba6529ce45f8440.model +0 -0
- package/sdc-lib/resources/models/barcode_localization_upu_enhanced_orange.656bffc22efe3137515d791184b1aa471d439310.model +0 -0
- package/sdc-lib/resources/models/eu_dl_localization_model.579be0f8cae6c931b93e199d1afec3b61542474c.model +0 -0
- package/sdc-lib/resources/models/id_ocr_model.f5b3ffba2d21fa97fa4945f0bb0c1cff9651c677.model +0 -0
- package/sdc-lib/resources/models/invalidated_id_classification_default.1f8f6e0345ece7d50a7126f2e5d15aa6b2e2a9bf.model +0 -0
- package/sdc-lib/resources/models/mrz_line_localization_model.98a5b38e889546c69f1d43beeda91071ad132340.model +0 -0
- package/sdc-lib/resources/models/mrz_localization_model.87d7e0dacb3845548449cc8ccb78526d93212cff.model +0 -0
- package/sdc-lib/resources/models/ocr_mrz_default_model.e0dd4c48916ff4ee266439f87cc68eb1793093c3.model +0 -0
- package/sdc-lib/resources/models/uk_dl_code_localization_model.579be0f8cae6c931b93e199d1afec3b61542474c.model +0 -0
- package/sdc-lib/scandit-datacapture-sdk-barcode-pthreads.js +1 -0
- package/sdc-lib/scandit-datacapture-sdk-barcode-pthreads.wasm +0 -0
- package/sdc-lib/scandit-datacapture-sdk-barcode-pthreads.worker.js +1 -0
- package/sdc-lib/scandit-datacapture-sdk-barcode-simd-pthreads.js +1 -0
- package/sdc-lib/scandit-datacapture-sdk-barcode-simd-pthreads.wasm +0 -0
- package/sdc-lib/scandit-datacapture-sdk-barcode-simd-pthreads.worker.js +1 -0
- package/sdc-lib/scandit-datacapture-sdk-barcode-simd.js +1 -0
- package/sdc-lib/scandit-datacapture-sdk-barcode-simd.wasm +0 -0
- package/sdc-lib/scandit-datacapture-sdk-barcode.js +1 -0
- package/sdc-lib/scandit-datacapture-sdk-barcode.wasm +0 -0
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
import { PrivateLoadableFrameData } from '@scandit/web-datacapture-core';
|
|
2
|
+
import { DataCaptureActionMessageKey as DataCaptureActionMessageKey$1, WorkerResponse as WorkerResponse$1, AnyDataCaptureActionMessage as AnyDataCaptureActionMessage$1, DataCaptureCallbackMessage as DataCaptureCallbackMessage$1, EmscriptenClassHandle, Module as Module$1, CaptureModeDeserializerInstance, JSONParseable, WasmFrameData, Vector, DataCaptureCallbackMessageKeys as DataCaptureCallbackMessageKeys$1 } from '@scandit/web-datacapture-core/build/js/worker/index';
|
|
3
|
+
import { Property } from './PropertyBehaviorSubject.js';
|
|
4
|
+
import { BarcodeCaptureSessionJSON } from '../BarcodeCaptureSession.js';
|
|
5
|
+
import { BarcodeBatchSessionJSON } from '../BarcodeBatchSession.js';
|
|
6
|
+
import { TrackedBarcodeJSON } from '../TrackedBarcode.js';
|
|
7
|
+
import { BarcodeFindBasicOverlayJSON } from '../find/BarcodeFindBasicOverlay.js';
|
|
8
|
+
import { BarcodeFindItemJSON } from '../find/BarcodeFindItem.js';
|
|
9
|
+
import { BarcodeFindSessionJSON } from '../find/BarcodeFindSession.js';
|
|
10
|
+
import { BarcodeFindSettingsJSON } from '../find/BarcodeFindSettings.js';
|
|
11
|
+
import { SparkScanSessionJSON } from '../spark/SparkScanSession.js';
|
|
12
|
+
import '../SparkScanView-DEmQKYC3.js';
|
|
13
|
+
import '../spark/ui/SparkScanViewIcon.js';
|
|
14
|
+
import '../spark/ui/SparkScanViewMiniPreview.js';
|
|
15
|
+
import '../spark/ui/SparkScanViewToast.js';
|
|
16
|
+
import '../spark/ui/SparkScanViewToolbar.js';
|
|
17
|
+
import '../spark/ui/SparkScanViewTriggerButton.js';
|
|
18
|
+
import '../spark/ui/SparkScanViewVisualFeedback.js';
|
|
19
|
+
import '@scandit/web-datacapture-core/build/js/private/Serializable';
|
|
20
|
+
import '../Barcode.js';
|
|
21
|
+
import '../EncodingRange.js';
|
|
22
|
+
import '../StructuredAppendData.js';
|
|
23
|
+
import '../LocalizedOnlyBarcode.js';
|
|
24
|
+
import '../find/BarcodeFind.js';
|
|
25
|
+
import '../find/BarcodeFindFeedback.js';
|
|
26
|
+
import '../find/BarcodeFindTransformer.js';
|
|
27
|
+
import '../SymbologySettings.js';
|
|
28
|
+
import '@scandit/web-datacapture-core/build/js/private/utils/index.js';
|
|
29
|
+
import '../spark/SparkScanScanningMode.js';
|
|
30
|
+
import '../spark/SparkScanPreviewBehavior.js';
|
|
31
|
+
import '../spark/SparkScanScanningBehavior.js';
|
|
32
|
+
import '../spark/SparkScan.js';
|
|
33
|
+
import '../spark/SparkScanSettings.js';
|
|
34
|
+
import '../ScanIntention.js';
|
|
35
|
+
import '../spark/SparkScanFeedbackDelegate.js';
|
|
36
|
+
import '../spark/SparkScanBarcodeFeedback.js';
|
|
37
|
+
import '../spark/ui/SparkScanViewSettings.js';
|
|
38
|
+
import '../spark/ui/SparkScanMiniPreviewSize.js';
|
|
39
|
+
import '../spark/ui/SparkScanViewHandMode.js';
|
|
40
|
+
import '../spark/ui/SparkScanToastSettings.js';
|
|
41
|
+
import '../spark/ui/constants/tags.js';
|
|
42
|
+
import '../spark/ui/SparkScanViewState.js';
|
|
43
|
+
import '../spark/ui/constants/attributes.js';
|
|
44
|
+
import '../spark/ui/constants/events.js';
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* MESSAGES (ACTIONS) SENT TO THE WORKER
|
|
48
|
+
*/
|
|
49
|
+
type DataCaptureActionMessageKey = DataCaptureActionMessageKey$1 | "sparkScanEmitErrorFeedback" | "sparkScanOverlayReadyForDraw" | "sparkScanAnalyticsManagerPropertyChanged" | "barcodeFindSearchStart" | "barcodeFindSearchPause" | "barcodeFindSearchStop" | "barcodeFindSetItemList" | "barcodeFindForSettings" | "barcodeFindSetEnabled" | "barcodeFindModeRemove" | "barcodeFindApplySettings" | "barcodeFindAddBasicOverlay" | "barcodeFindRemoveBasicOverlay" | "barcodeFindUpdateBasicOverlay" | "barcodeFindSetTransformerFunction";
|
|
50
|
+
type WorkerResponse<C extends DataCaptureActionMessageKey> = WorkerResponse$1<C>;
|
|
51
|
+
interface DataCaptureActionMessage {
|
|
52
|
+
command: DataCaptureActionMessageKey;
|
|
53
|
+
id: number;
|
|
54
|
+
}
|
|
55
|
+
interface SparkScanEmitErrorFeedbackDataCaptureAction extends DataCaptureActionMessage {
|
|
56
|
+
command: "sparkScanEmitErrorFeedback";
|
|
57
|
+
shouldRemoveBrush: boolean;
|
|
58
|
+
}
|
|
59
|
+
interface SparkScanOverlayReadyForDrawCaptureAction extends DataCaptureActionMessage {
|
|
60
|
+
command: "sparkScanOverlayReadyForDraw";
|
|
61
|
+
}
|
|
62
|
+
interface SparkScanAnalyticsManagerPropertyChangedAction extends DataCaptureActionMessage {
|
|
63
|
+
command: "sparkScanAnalyticsManagerPropertyChanged";
|
|
64
|
+
property: Property;
|
|
65
|
+
}
|
|
66
|
+
interface BarcodeFindSearchStartDataCaptureAction extends DataCaptureActionMessage {
|
|
67
|
+
command: "barcodeFindSearchStart";
|
|
68
|
+
}
|
|
69
|
+
interface BarcodeFindSearchPauseDataCaptureAction extends DataCaptureActionMessage {
|
|
70
|
+
command: "barcodeFindSearchPause";
|
|
71
|
+
}
|
|
72
|
+
interface BarcodeFindSearchStopDataCaptureAction extends DataCaptureActionMessage {
|
|
73
|
+
command: "barcodeFindSearchStop";
|
|
74
|
+
}
|
|
75
|
+
interface BarcodeFindSetItemListDataCaptureAction extends DataCaptureActionMessage {
|
|
76
|
+
command: "barcodeFindSetItemList";
|
|
77
|
+
itemList: BarcodeFindItemJSON[];
|
|
78
|
+
}
|
|
79
|
+
interface BarcodeFindSetTransformerFunctionDataCaptureAction extends DataCaptureActionMessage {
|
|
80
|
+
command: "barcodeFindSetTransformerFunction";
|
|
81
|
+
functionAsString: string | null | undefined;
|
|
82
|
+
}
|
|
83
|
+
interface BarcodeFindSetEnabledDataCaptureAction extends DataCaptureActionMessage {
|
|
84
|
+
command: "barcodeFindSetEnabled";
|
|
85
|
+
enabled: boolean;
|
|
86
|
+
}
|
|
87
|
+
interface BarcodeFindForSettingsDataCaptureAction extends DataCaptureActionMessage {
|
|
88
|
+
command: "barcodeFindForSettings";
|
|
89
|
+
settings: BarcodeFindSettingsJSON;
|
|
90
|
+
}
|
|
91
|
+
interface BarcodeFindModeRemoveDataCaptureAction extends DataCaptureActionMessage {
|
|
92
|
+
command: "barcodeFindModeRemove";
|
|
93
|
+
}
|
|
94
|
+
interface BarcodeFindApplySettingsDataCaptureAction extends DataCaptureActionMessage {
|
|
95
|
+
command: "barcodeFindApplySettings";
|
|
96
|
+
settings: BarcodeFindSettingsJSON;
|
|
97
|
+
}
|
|
98
|
+
interface BarcodeFindAddBasicOverlayDataCaptureAction extends DataCaptureActionMessage {
|
|
99
|
+
command: "barcodeFindAddBasicOverlay";
|
|
100
|
+
}
|
|
101
|
+
interface BarcodeFindRemoveBasicOverlayDataCaptureAction extends DataCaptureActionMessage {
|
|
102
|
+
command: "barcodeFindRemoveBasicOverlay";
|
|
103
|
+
}
|
|
104
|
+
interface BarcodeFindUpdateBasicOverlayDataCaptureAction extends DataCaptureActionMessage {
|
|
105
|
+
command: "barcodeFindUpdateBasicOverlay";
|
|
106
|
+
jsonOverlay: BarcodeFindBasicOverlayJSON;
|
|
107
|
+
}
|
|
108
|
+
type SparkScanDataCaptureActionMessage = SparkScanOverlayReadyForDrawCaptureAction | SparkScanAnalyticsManagerPropertyChangedAction | SparkScanEmitErrorFeedbackDataCaptureAction;
|
|
109
|
+
type BarcodeFindDataCaptureActionMessage = BarcodeFindSearchStartDataCaptureAction | BarcodeFindSearchPauseDataCaptureAction | BarcodeFindSearchStopDataCaptureAction | BarcodeFindSetItemListDataCaptureAction | BarcodeFindForSettingsDataCaptureAction | BarcodeFindSetEnabledDataCaptureAction | BarcodeFindModeRemoveDataCaptureAction | BarcodeFindApplySettingsDataCaptureAction | BarcodeFindUpdateBasicOverlayDataCaptureAction | BarcodeFindAddBasicOverlayDataCaptureAction | BarcodeFindRemoveBasicOverlayDataCaptureAction | BarcodeFindSetTransformerFunctionDataCaptureAction;
|
|
110
|
+
type AnyDataCaptureActionMessage = AnyDataCaptureActionMessage$1 | SparkScanDataCaptureActionMessage | BarcodeFindDataCaptureActionMessage;
|
|
111
|
+
/**
|
|
112
|
+
* MESSAGES EMITTED BY THE WORKER
|
|
113
|
+
*/
|
|
114
|
+
type DataCaptureCallbackMessageKeys = DataCaptureCallbackMessageKeys$1 | "barcodeCaptureDidScan" | "barcodeCaptureDidUpdateSession" | "barcodeBatchDidUpdateSession" | "didTapTrackedBarcode" | "sparkScanDidScan" | "sparkScanDidUpdateSession" | "barcodeFindDidUpdateSession" | "barcodeFindSearchPaused" | "barcodeFindSearchStarted" | "barcodeFindSearchStopped" | "barcodeFindListUpdatedFeedback" | "barcodeFindFeedback";
|
|
115
|
+
interface BaseDataCaptureCallbackMessage {
|
|
116
|
+
type: DataCaptureCallbackMessageKeys;
|
|
117
|
+
}
|
|
118
|
+
interface BarcodeCaptureDidScanWorkerMessage extends BaseDataCaptureCallbackMessage {
|
|
119
|
+
type: "barcodeCaptureDidScan";
|
|
120
|
+
payload: {
|
|
121
|
+
session: BarcodeCaptureSessionJSON;
|
|
122
|
+
frameData: PrivateLoadableFrameData;
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
interface BarcodeCaptureDidUpdateSessionWorkerMessage extends BaseDataCaptureCallbackMessage {
|
|
126
|
+
type: "barcodeCaptureDidUpdateSession";
|
|
127
|
+
payload: BarcodeCaptureSessionJSON;
|
|
128
|
+
}
|
|
129
|
+
interface BarcodeBatchDidTapTrackedBarcode extends BaseDataCaptureCallbackMessage {
|
|
130
|
+
type: "didTapTrackedBarcode";
|
|
131
|
+
payload: TrackedBarcodeJSON;
|
|
132
|
+
}
|
|
133
|
+
interface BarcodeBatchDidUpdateSessionWorkerMessage extends BaseDataCaptureCallbackMessage {
|
|
134
|
+
type: "barcodeBatchDidUpdateSession";
|
|
135
|
+
payload: BarcodeBatchSessionJSON;
|
|
136
|
+
}
|
|
137
|
+
interface SparkScanDidScanWorkerMessage extends BaseDataCaptureCallbackMessage {
|
|
138
|
+
type: "sparkScanDidScan";
|
|
139
|
+
payload: {
|
|
140
|
+
session: SparkScanSessionJSON;
|
|
141
|
+
frameData: PrivateLoadableFrameData;
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
interface SparkScanDidUpdateSessionWorkerMessage extends BaseDataCaptureCallbackMessage {
|
|
145
|
+
type: "sparkScanDidUpdateSession";
|
|
146
|
+
payload: SparkScanSessionJSON;
|
|
147
|
+
}
|
|
148
|
+
interface BarcodeFindDidUpdateSessionWorkerMessage extends BaseDataCaptureCallbackMessage {
|
|
149
|
+
type: "barcodeFindDidUpdateSession";
|
|
150
|
+
payload: {
|
|
151
|
+
session: BarcodeFindSessionJSON;
|
|
152
|
+
frameData: PrivateLoadableFrameData;
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
interface BarcodeFindSearchPausedWorkerMessage extends BaseDataCaptureCallbackMessage {
|
|
156
|
+
type: "barcodeFindSearchPaused";
|
|
157
|
+
payload: {
|
|
158
|
+
foundItems: string[];
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
interface BarcodeFindSearchStoppedWorkerMessage extends BaseDataCaptureCallbackMessage {
|
|
162
|
+
type: "barcodeFindSearchStopped";
|
|
163
|
+
payload: {
|
|
164
|
+
foundItems: string[];
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
interface BarcodeFindSearchStartedWorkerMessage extends BaseDataCaptureCallbackMessage {
|
|
168
|
+
type: "barcodeFindSearchStarted";
|
|
169
|
+
payload: any;
|
|
170
|
+
}
|
|
171
|
+
interface BarcodeFindListUpdatedFeedback extends BaseDataCaptureCallbackMessage {
|
|
172
|
+
type: "barcodeFindListUpdatedFeedback";
|
|
173
|
+
payload: any;
|
|
174
|
+
}
|
|
175
|
+
interface BarcodeFindFeedback extends BaseDataCaptureCallbackMessage {
|
|
176
|
+
type: "barcodeFindFeedback";
|
|
177
|
+
payload: any;
|
|
178
|
+
}
|
|
179
|
+
type DataCaptureCallbackMessage = BarcodeCaptureDidScanWorkerMessage | BarcodeCaptureDidUpdateSessionWorkerMessage | BarcodeBatchDidTapTrackedBarcode | BarcodeBatchDidUpdateSessionWorkerMessage | DataCaptureCallbackMessage$1 | SparkScanDidScanWorkerMessage | SparkScanDidUpdateSessionWorkerMessage | BarcodeFindDidUpdateSessionWorkerMessage | BarcodeFindSearchPausedWorkerMessage | BarcodeFindSearchStoppedWorkerMessage | BarcodeFindSearchStartedWorkerMessage | BarcodeFindListUpdatedFeedback | BarcodeFindFeedback;
|
|
180
|
+
/**
|
|
181
|
+
* OTHERS
|
|
182
|
+
*/
|
|
183
|
+
type PayloadForCommand<A, C> = A extends {
|
|
184
|
+
command: C;
|
|
185
|
+
} ? A : never;
|
|
186
|
+
interface DataCaptureWorker extends Omit<Worker, "postMessage"> {
|
|
187
|
+
onmessage: ((this: Worker, event_: MessageEvent & {
|
|
188
|
+
data: any;
|
|
189
|
+
}) => void) | null;
|
|
190
|
+
postMessage: <C extends AnyDataCaptureActionMessage["command"]>(message: PayloadForCommand<AnyDataCaptureActionMessage, C>, transfer?: Transferable[]) => void;
|
|
191
|
+
}
|
|
192
|
+
interface NativeSparkScanOverlay extends EmscriptenClassHandle<NativeSparkScanOverlay> {
|
|
193
|
+
onErrorFeedbackEmitted(shouldRemoveBrush: boolean): void;
|
|
194
|
+
onReadyForNewData(): void;
|
|
195
|
+
}
|
|
196
|
+
interface BarcodeFindBasicOverlay extends EmscriptenClassHandle {
|
|
197
|
+
shouldShowUserGuidanceView: boolean;
|
|
198
|
+
getShouldShowScanAreaGuides(): boolean;
|
|
199
|
+
setGuidanceHandler(guidanceHandler: EmscriptenClassHandle): void;
|
|
200
|
+
setShouldShowHint(bool: boolean): void;
|
|
201
|
+
setShouldShowScanAreaGuides(bool: boolean): void;
|
|
202
|
+
setTextForAllItemsFoundSuccessfullyHint(text: string): void;
|
|
203
|
+
setTextForItemListUpdatedHint(text: string): void;
|
|
204
|
+
setTextForItemListUpdatedWhenPausedHint(text: string): void;
|
|
205
|
+
setTextForMoveCloserToBarcodesHint(text: string): void;
|
|
206
|
+
setTextForPointAtBarcodesToSearchHint(text: string): void;
|
|
207
|
+
setTextForTapShutterToPauseScreenHint(text: string): void;
|
|
208
|
+
setTextForTapShutterToResumeScreenHint(text: string): void;
|
|
209
|
+
setUserGuidanceEnabled(value: boolean): void;
|
|
210
|
+
}
|
|
211
|
+
interface BarcodeFindTransformer extends EmscriptenClassHandle {
|
|
212
|
+
transformBarcodeData(data: string): string;
|
|
213
|
+
}
|
|
214
|
+
interface BarcodeFind extends EmscriptenClassHandle {
|
|
215
|
+
start(): void;
|
|
216
|
+
pause(): void;
|
|
217
|
+
stop(): void;
|
|
218
|
+
setItemList(list: string): void;
|
|
219
|
+
setItemListUpdatedFeedback(feedback: EmscriptenClassHandle): void;
|
|
220
|
+
setFeedback(feedback: EmscriptenClassHandle): void;
|
|
221
|
+
addListener: (listener: EmscriptenClassHandle, options: any) => void;
|
|
222
|
+
removeListener: (listener: EmscriptenClassHandle, options: any) => void;
|
|
223
|
+
setEnabled: (enabled: boolean) => void;
|
|
224
|
+
applySettings: (settings: string) => void;
|
|
225
|
+
setBarcodeFindTransformer: (transformer: BarcodeFindTransformer) => void;
|
|
226
|
+
}
|
|
227
|
+
interface BarcodeCaptureModule extends Module$1 {
|
|
228
|
+
BarcodeCaptureDeserializer: new () => CaptureModeDeserializerInstance;
|
|
229
|
+
BarcodeCaptureListener: {
|
|
230
|
+
extend: (target: "BarcodeCaptureListener", parameters: {
|
|
231
|
+
didScan: (barcode_capture: any, session: JSONParseable, frame_data: WasmFrameData) => void;
|
|
232
|
+
didUpdateSession: (barcode_capture: any, session: JSONParseable, frame_data: any) => void;
|
|
233
|
+
}) => new () => EmscriptenClassHandle;
|
|
234
|
+
};
|
|
235
|
+
BarcodeCaptureDeserializerListener: {
|
|
236
|
+
extend: (target: "BarcodeCaptureDeserializerListener", parameters: {
|
|
237
|
+
onModeDeserializationStarted: (deserializer: any, mode: any, json: JSONParseable) => void;
|
|
238
|
+
onModeDeserializationFinished: (deserializer: any, mode: any, json: JSONParseable) => void;
|
|
239
|
+
onSettingsDeserializationStarted: (deserializer: any, settings: any, json: JSONParseable) => void;
|
|
240
|
+
onSettingsDeserializationFinished: (deserializer: any, settings: any, json: JSONParseable) => void;
|
|
241
|
+
}) => new () => EmscriptenClassHandle;
|
|
242
|
+
};
|
|
243
|
+
BarcodeBatchDeserializer: new () => CaptureModeDeserializerInstance;
|
|
244
|
+
BarcodeBatchListener: {
|
|
245
|
+
extend: (target: "BarcodeTrackingListener", parameters: {
|
|
246
|
+
didUpdateSession: (barcode_tracking: any, session: JSONParseable, frame_data: any) => void;
|
|
247
|
+
onTrackedBarcodeTapped: (barcode_tracking: any, tracked_barcode: JSONParseable) => void;
|
|
248
|
+
}) => new () => EmscriptenClassHandle;
|
|
249
|
+
};
|
|
250
|
+
BarcodeBatchDeserializerListener: {
|
|
251
|
+
extend: (target: "BarcodeTrackingDeserializerListener", parameters: {
|
|
252
|
+
onModeDeserializationStarted: (deserializer: any, mode: any, json: JSONParseable) => void;
|
|
253
|
+
onModeDeserializationFinished: (deserializer: any, mode: any, json: JSONParseable) => void;
|
|
254
|
+
onSettingsDeserializationStarted: (deserializer: any, settings: any, json: JSONParseable) => void;
|
|
255
|
+
onSettingsDeserializationFinished: (deserializer: any, settings: any, json: JSONParseable) => void;
|
|
256
|
+
}) => new () => EmscriptenClassHandle;
|
|
257
|
+
};
|
|
258
|
+
SparkScanDeserializer: new () => CaptureModeDeserializerInstance;
|
|
259
|
+
SparkScanListener: {
|
|
260
|
+
extend: (target: "SparkScanListener", parameters: {
|
|
261
|
+
didScan: (spark_scan: any, session: JSONParseable, frame_data: WasmFrameData) => void;
|
|
262
|
+
didUpdateSession: (spark_scan: any, session: JSONParseable, frame_data: any) => void;
|
|
263
|
+
}) => new () => EmscriptenClassHandle;
|
|
264
|
+
};
|
|
265
|
+
SparkScanDeserializerListener: {
|
|
266
|
+
extend: (target: "SparkScanDeserializerListener", parameters: {
|
|
267
|
+
onModeDeserializationStarted: (deserializer: any, mode: any, json: JSONParseable) => void;
|
|
268
|
+
onModeDeserializationFinished: (deserializer: any, mode: any, json: JSONParseable) => void;
|
|
269
|
+
onSettingsDeserializationStarted: (deserializer: any, settings: any, json: JSONParseable) => void;
|
|
270
|
+
onSettingsDeserializationFinished: (deserializer: any, settings: any, json: JSONParseable) => void;
|
|
271
|
+
onOverlayDeserializationStarted: (deserializer: any, overlay: NativeSparkScanOverlay, json: JSONParseable) => void;
|
|
272
|
+
onOverlayDeserializationFinished: (deserializer: any, overlay: NativeSparkScanOverlay, json: JSONParseable) => void;
|
|
273
|
+
}) => new () => EmscriptenClassHandle;
|
|
274
|
+
};
|
|
275
|
+
LicenseUtils: {
|
|
276
|
+
getBlinkIdLicenseKey: (scanditLicense: string) => string;
|
|
277
|
+
};
|
|
278
|
+
BarcodeFind: new (context: EmscriptenClassHandle, settings: string) => BarcodeFind;
|
|
279
|
+
BarcodeFindListener: {
|
|
280
|
+
extend: (target: "BarcodeFindListener", parameters: {
|
|
281
|
+
didUpdateSession: (barcodeFind: EmscriptenClassHandle, session: JSONParseable, frameData: WasmFrameData) => void;
|
|
282
|
+
onSearchPaused: (items: Vector<string>) => void;
|
|
283
|
+
onSearchStarted: () => void;
|
|
284
|
+
onSearchStopped: (items: Vector<string>) => void;
|
|
285
|
+
}) => new () => EmscriptenClassHandle;
|
|
286
|
+
};
|
|
287
|
+
BarcodeFindTransformer: {
|
|
288
|
+
extend: (target: "BarcodeFindTransformer", parameters: {
|
|
289
|
+
transformBarcodeData: (data: string) => string;
|
|
290
|
+
}) => new () => BarcodeFindTransformer;
|
|
291
|
+
};
|
|
292
|
+
BarcodeFindBasicOverlay: new (mode: BarcodeFind) => BarcodeFindBasicOverlay;
|
|
293
|
+
BarcodeFindGuidanceHandler: {
|
|
294
|
+
extend: (target: "BarcodeFindGuidanceHandler", parameters: {
|
|
295
|
+
setAllItemsFound: (argument0: boolean, argument1: string) => void;
|
|
296
|
+
setInitialGuidance: (argument0: boolean, argument1: string) => void;
|
|
297
|
+
setItemListUpdated: (argument0: boolean, argument1: string) => void;
|
|
298
|
+
setMoveCloserGuidance: (argument0: boolean, argument1: string) => void;
|
|
299
|
+
setTapShutterToPause: (argument0: boolean, argument1: string) => void;
|
|
300
|
+
setTapShutterToResume: (argument0: boolean, argument1: string) => void;
|
|
301
|
+
}) => new () => EmscriptenClassHandle;
|
|
302
|
+
};
|
|
303
|
+
}
|
|
304
|
+
interface Module extends Module$1, BarcodeCaptureModule {
|
|
305
|
+
}
|
|
306
|
+
type EngineWorkerResponse<C extends DataCaptureActionMessageKey> = WorkerResponse<C> extends Promise<void> | void ? Promise<void> | void : {
|
|
307
|
+
payload: WorkerResponse<C>;
|
|
308
|
+
transferables?: Transferable[];
|
|
309
|
+
};
|
|
310
|
+
|
|
311
|
+
export type { AnyDataCaptureActionMessage, BarcodeBatchDidTapTrackedBarcode, BarcodeCaptureDidScanWorkerMessage, BarcodeCaptureDidUpdateSessionWorkerMessage, BarcodeCaptureModule, BarcodeFind, BarcodeFindAddBasicOverlayDataCaptureAction, BarcodeFindApplySettingsDataCaptureAction, BarcodeFindBasicOverlay, BarcodeFindDataCaptureActionMessage, BarcodeFindDidUpdateSessionWorkerMessage, BarcodeFindFeedback, BarcodeFindForSettingsDataCaptureAction, BarcodeFindListUpdatedFeedback, BarcodeFindModeRemoveDataCaptureAction, BarcodeFindRemoveBasicOverlayDataCaptureAction, BarcodeFindSearchPauseDataCaptureAction, BarcodeFindSearchPausedWorkerMessage, BarcodeFindSearchStartDataCaptureAction, BarcodeFindSearchStartedWorkerMessage, BarcodeFindSearchStopDataCaptureAction, BarcodeFindSearchStoppedWorkerMessage, BarcodeFindSetEnabledDataCaptureAction, BarcodeFindSetItemListDataCaptureAction, BarcodeFindSetTransformerFunctionDataCaptureAction, BarcodeFindTransformer, BarcodeFindUpdateBasicOverlayDataCaptureAction, DataCaptureActionMessageKey, DataCaptureCallbackMessage, DataCaptureWorker, EngineWorkerResponse, Module, NativeSparkScanOverlay, PayloadForCommand, SparkScanAnalyticsManagerPropertyChangedAction, SparkScanDataCaptureActionMessage, SparkScanDidScanWorkerMessage, SparkScanDidUpdateSessionWorkerMessage, SparkScanEmitErrorFeedbackDataCaptureAction, SparkScanOverlayReadyForDrawCaptureAction, WorkerResponse };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export { AnyDataCaptureActionMessage, BarcodeBatchDidTapTrackedBarcode, BarcodeCaptureDidScanWorkerMessage, BarcodeCaptureDidUpdateSessionWorkerMessage, BarcodeCaptureModule, BarcodeFind, BarcodeFindAddBasicOverlayDataCaptureAction, BarcodeFindApplySettingsDataCaptureAction, BarcodeFindBasicOverlay, BarcodeFindDataCaptureActionMessage, BarcodeFindDidUpdateSessionWorkerMessage, BarcodeFindFeedback, BarcodeFindForSettingsDataCaptureAction, BarcodeFindListUpdatedFeedback, BarcodeFindModeRemoveDataCaptureAction, BarcodeFindRemoveBasicOverlayDataCaptureAction, BarcodeFindSearchPauseDataCaptureAction, BarcodeFindSearchPausedWorkerMessage, BarcodeFindSearchStartDataCaptureAction, BarcodeFindSearchStartedWorkerMessage, BarcodeFindSearchStopDataCaptureAction, BarcodeFindSearchStoppedWorkerMessage, BarcodeFindSetEnabledDataCaptureAction, BarcodeFindSetItemListDataCaptureAction, BarcodeFindSetTransformerFunctionDataCaptureAction, BarcodeFindTransformer, BarcodeFindUpdateBasicOverlayDataCaptureAction, DataCaptureActionMessageKey, DataCaptureCallbackMessage, DataCaptureWorker, EngineWorkerResponse, Module, NativeSparkScanOverlay, PayloadForCommand, SparkScanAnalyticsManagerPropertyChangedAction, SparkScanDataCaptureActionMessage, SparkScanDidScanWorkerMessage, SparkScanDidUpdateSessionWorkerMessage, SparkScanEmitErrorFeedbackDataCaptureAction, SparkScanOverlayReadyForDrawCaptureAction, WorkerResponse } from './dataCaptureWorkerRelated.js';
|
|
2
|
+
import '@scandit/web-datacapture-core';
|
|
3
|
+
import '@scandit/web-datacapture-core/build/js/worker/index';
|
|
4
|
+
import './PropertyBehaviorSubject.js';
|
|
5
|
+
import '../BarcodeCaptureSession.js';
|
|
6
|
+
import '@scandit/web-datacapture-core/build/js/private/Serializable';
|
|
7
|
+
import '../Barcode.js';
|
|
8
|
+
import '../EncodingRange.js';
|
|
9
|
+
import '../StructuredAppendData.js';
|
|
10
|
+
import '../LocalizedOnlyBarcode.js';
|
|
11
|
+
import '../BarcodeBatchSession.js';
|
|
12
|
+
import '../TrackedBarcode.js';
|
|
13
|
+
import '../find/BarcodeFindBasicOverlay.js';
|
|
14
|
+
import '../find/BarcodeFind.js';
|
|
15
|
+
import '../find/BarcodeFindFeedback.js';
|
|
16
|
+
import '../find/BarcodeFindItem.js';
|
|
17
|
+
import '../find/BarcodeFindSession.js';
|
|
18
|
+
import '../find/BarcodeFindTransformer.js';
|
|
19
|
+
import '../find/BarcodeFindSettings.js';
|
|
20
|
+
import '../SymbologySettings.js';
|
|
21
|
+
import '../spark/SparkScanSession.js';
|
|
22
|
+
import '../SparkScanView-DEmQKYC3.js';
|
|
23
|
+
import '@scandit/web-datacapture-core/build/js/private/utils/index.js';
|
|
24
|
+
import '../spark/SparkScanScanningMode.js';
|
|
25
|
+
import '../spark/SparkScanPreviewBehavior.js';
|
|
26
|
+
import '../spark/SparkScanScanningBehavior.js';
|
|
27
|
+
import '../spark/SparkScan.js';
|
|
28
|
+
import '../spark/SparkScanSettings.js';
|
|
29
|
+
import '../ScanIntention.js';
|
|
30
|
+
import '../spark/SparkScanFeedbackDelegate.js';
|
|
31
|
+
import '../spark/SparkScanBarcodeFeedback.js';
|
|
32
|
+
import '../spark/ui/SparkScanViewSettings.js';
|
|
33
|
+
import '../spark/ui/SparkScanMiniPreviewSize.js';
|
|
34
|
+
import '../spark/ui/SparkScanViewHandMode.js';
|
|
35
|
+
import '../spark/ui/SparkScanToastSettings.js';
|
|
36
|
+
import '../spark/ui/constants/tags.js';
|
|
37
|
+
import '../spark/ui/SparkScanViewState.js';
|
|
38
|
+
import '../spark/ui/SparkScanViewIcon.js';
|
|
39
|
+
import '../spark/ui/constants/attributes.js';
|
|
40
|
+
import '../spark/ui/SparkScanViewMiniPreview.js';
|
|
41
|
+
import '../spark/ui/SparkScanViewToast.js';
|
|
42
|
+
import '../spark/ui/SparkScanViewToolbar.js';
|
|
43
|
+
import '../spark/ui/constants/events.js';
|
|
44
|
+
import '../spark/ui/SparkScanViewTriggerButton.js';
|
|
45
|
+
import '../spark/ui/SparkScanViewVisualFeedback.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
package/package.json
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@scandit/web-datacapture-barcode",
|
|
3
|
+
"version": "7.0.0-beta.1",
|
|
4
|
+
"description": "Scandit Data Capture SDK for the Web",
|
|
5
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
6
|
+
"sideEffects": false,
|
|
7
|
+
"engines": {
|
|
8
|
+
"npm": ">=7.0.0",
|
|
9
|
+
"node": ">=16.0.0"
|
|
10
|
+
},
|
|
11
|
+
"private": false,
|
|
12
|
+
"types": "./build/js/index.d.ts",
|
|
13
|
+
"type": "module",
|
|
14
|
+
"main": "./build/js/index.js",
|
|
15
|
+
"module": "./build/js/index.js",
|
|
16
|
+
"browser": "./build/js/index.js",
|
|
17
|
+
"exports": {
|
|
18
|
+
"./package.json": "./package.json",
|
|
19
|
+
".": {
|
|
20
|
+
"types": "./build/js/index.d.ts",
|
|
21
|
+
"import": "./build/js/index.js",
|
|
22
|
+
"default": "./build/js/index.js"
|
|
23
|
+
},
|
|
24
|
+
"./sdc-lib/*": {
|
|
25
|
+
"import": "./sdc-lib/*",
|
|
26
|
+
"default": "./sdc-lib/*"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"author": {
|
|
30
|
+
"name": "Scandit",
|
|
31
|
+
"email": "support@scandit.com"
|
|
32
|
+
},
|
|
33
|
+
"contributors": [
|
|
34
|
+
{
|
|
35
|
+
"name": "Pasquale Mangialavori",
|
|
36
|
+
"email": "pasquale@scandit.com"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "Anthony Penna",
|
|
40
|
+
"email": "anthony@scandit.com"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "S\u00e9bastien Roch",
|
|
44
|
+
"email": "sebastien@scandit.com"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "Lorenzo W\u00f6lckner",
|
|
48
|
+
"email": "lorenzo@scandit.com"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"homepage": "https://www.scandit.com/products/sdk-web/",
|
|
52
|
+
"bugs": {
|
|
53
|
+
"email": "support@scandit.com"
|
|
54
|
+
},
|
|
55
|
+
"repository": {
|
|
56
|
+
"type": "git",
|
|
57
|
+
"url": "https://github.com/scandit"
|
|
58
|
+
},
|
|
59
|
+
"keywords": [
|
|
60
|
+
"scandit",
|
|
61
|
+
"barcode",
|
|
62
|
+
"data capture",
|
|
63
|
+
"capture",
|
|
64
|
+
"qr",
|
|
65
|
+
"scan",
|
|
66
|
+
"scanner",
|
|
67
|
+
"scanning",
|
|
68
|
+
"code",
|
|
69
|
+
"webassembly",
|
|
70
|
+
"sdk",
|
|
71
|
+
"javascript",
|
|
72
|
+
"typescript"
|
|
73
|
+
],
|
|
74
|
+
"files": [
|
|
75
|
+
"package.json",
|
|
76
|
+
"README.md",
|
|
77
|
+
"README.txt",
|
|
78
|
+
"LICENSE",
|
|
79
|
+
"THIRD-PARTY.txt",
|
|
80
|
+
"build/",
|
|
81
|
+
"sdc-lib/"
|
|
82
|
+
],
|
|
83
|
+
"prettier": "@shared/prettier-config",
|
|
84
|
+
"scripts": {
|
|
85
|
+
"types-watch": "tsc -p tsconfig.json -w --noEmit --preserveWatchOutput",
|
|
86
|
+
"types:check": "tsc -p tsconfig.json --noEmit",
|
|
87
|
+
"build": "npx tsup",
|
|
88
|
+
"build-coverage": "COVERAGE=true npx tsup",
|
|
89
|
+
"build-dev": "NODE_ENV=debug npx tsup",
|
|
90
|
+
"build-watch": "NODE_ENV=debug npx tsup --watch",
|
|
91
|
+
"clean": "rm -rf build/* coverage/* .nyc_output/*",
|
|
92
|
+
"test": "jest",
|
|
93
|
+
"test-ci": "jest --ci",
|
|
94
|
+
"test-ci-coverage": "jest --ci --coverage",
|
|
95
|
+
"lint": "eslint --cache .",
|
|
96
|
+
"lint-fix": "eslint --cache --fix .",
|
|
97
|
+
"lint-diff": "eslint --config .eslintrc.diff.cjs --cache ."
|
|
98
|
+
},
|
|
99
|
+
"lint-staged": {
|
|
100
|
+
"*.{js,jsx,ts,tsx}": [
|
|
101
|
+
"eslint --config .eslintrc.diff.cjs --fix"
|
|
102
|
+
]
|
|
103
|
+
},
|
|
104
|
+
"peerDependencies": {
|
|
105
|
+
"@scandit/web-datacapture-core": "7.0.0-beta.1"
|
|
106
|
+
},
|
|
107
|
+
"dependencies": {
|
|
108
|
+
"@types/emscripten": "^1.39.13"
|
|
109
|
+
}
|
|
110
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|