@scandit/web-datacapture-barcode 8.4.0-beta.1 → 8.5.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD_PARTY.txt +0 -2
- package/build/js/ArucoDictionary-DuC_Oe_h.d.ts +20 -0
- package/build/js/ArucoDictionary.d.ts +2 -20
- package/build/js/ArucoDictionary.js +1 -1
- package/build/js/ArucoDictionaryPreset-CsmMpOvV.d.ts +12 -0
- package/build/js/ArucoDictionaryPreset.d.ts +2 -11
- package/build/js/ArucoDictionaryPreset.js +1 -1
- package/build/js/ArucoMarker-DjTyUZtQ.d.ts +17 -0
- package/build/js/ArucoMarker.d.ts +2 -16
- package/build/js/ArucoMarker.js +1 -1
- package/build/js/Barcode-B7a-T3RA.d.ts +116 -0
- package/build/js/Barcode.d.ts +2 -115
- package/build/js/Barcode.js +1 -1
- package/build/js/BarcodeAr-BDmLyoF_.d.ts +49 -0
- package/build/js/BarcodeArAnnotation-nsUjxSNs.d.ts +33 -0
- package/build/js/BarcodeArAnnotationProvider-LUZtD48c.d.ts +9 -0
- package/build/js/BarcodeArAnnotationVariation-nsxy75aq.d.ts +8 -0
- package/build/js/BarcodeArFeedback-DvLnrL8K.d.ts +12 -0
- package/build/js/BarcodeArHighlight-BIm0-lDz.d.ts +23 -0
- package/build/js/BarcodeArHighlightProvider-DqpmyBWi.d.ts +9 -0
- package/build/js/BarcodeArInfoAnnotationBodyComponent-Dj3jXTGL.d.ts +34 -0
- package/build/js/BarcodeArInfoAnnotationFooter-h5YON8XZ.d.ts +32 -0
- package/build/js/BarcodeArInfoAnnotationHeader-BmWO5pBg.d.ts +32 -0
- package/build/js/BarcodeArMode-BngW0xHt.d.ts +142 -0
- package/build/js/BarcodeArSession-Bz03lXAV.d.ts +22 -0
- package/build/js/BarcodeArSettings-B9BVP7j6.d.ts +24 -0
- package/build/js/BarcodeArViewUiListener-BwMQnGJV.d.ts +10 -0
- package/build/js/BarcodeBatch-CNcFT3L0.d.ts +93 -0
- package/build/js/BarcodeBatch.d.ts +2 -14
- package/build/js/BarcodeBatch.js +1 -1
- package/build/js/BarcodeBatchAdvancedOverlay.d.ts +50 -59
- package/build/js/BarcodeBatchAdvancedOverlay.js +1 -1
- package/build/js/BarcodeBatchBasicOverlay.d.ts +2 -14
- package/build/js/BarcodeBatchBasicOverlay.js +1 -1
- package/build/js/BarcodeBatchSession-uyS3c7kn.d.ts +25 -0
- package/build/js/BarcodeBatchSession.d.ts +2 -29
- package/build/js/BarcodeBatchSession.js +1 -1
- package/build/js/BarcodeBatchSettings-C-KZgt56.d.ts +28 -0
- package/build/js/BarcodeBatchSettings.d.ts +2 -32
- package/build/js/BarcodeBatchSettings.js +1 -1
- package/build/js/BarcodeCapture.d.ts +37 -46
- package/build/js/BarcodeCapture.js +1 -1
- package/build/js/BarcodeCaptureFeedback-CsqAl7Fd.d.ts +14 -0
- package/build/js/BarcodeCaptureFeedback.d.ts +2 -13
- package/build/js/BarcodeCaptureFeedback.js +1 -1
- package/build/js/BarcodeCaptureOverlay.d.ts +29 -41
- package/build/js/BarcodeCaptureOverlay.js +1 -1
- package/build/js/BarcodeCaptureSession-3Ds1nRs3.d.ts +22 -0
- package/build/js/BarcodeCaptureSession.d.ts +2 -24
- package/build/js/BarcodeCaptureSession.js +1 -1
- package/build/js/BarcodeCaptureSettings-D7PcXdhH.d.ts +42 -0
- package/build/js/BarcodeCaptureSettings.d.ts +2 -43
- package/build/js/BarcodeCaptureSettings.js +1 -1
- package/build/js/BarcodeCaptureWorkerManager-s5QL6xf7.js +1 -0
- package/build/js/BarcodeFind-BxTFN3aw.d.ts +56 -0
- package/build/js/BarcodeFindBasicOverlay-d6CI-m5J.d.ts +49 -0
- package/build/js/BarcodeFindFeedback-twyr6gYt.d.ts +18 -0
- package/build/js/BarcodeFindItem-DY4hEDJC.d.ts +41 -0
- package/build/js/BarcodeFindSession-U-vVWF91.d.ts +31 -0
- package/build/js/BarcodeFindSettings-MEVLcw5G.d.ts +24 -0
- package/build/js/BarcodeFindTransformer-BUhcJDTx.d.ts +6 -0
- package/build/js/BarcodeFindView-asGkr2P-.d.ts +103 -0
- package/build/js/BarcodeFindViewSettings-BBORmBR5.d.ts +21 -0
- package/build/js/BarcodeFindViewUiListener-IoaQ_suq.d.ts +8 -0
- package/build/js/EncodingRange-DI-35kMB.d.ts +20 -0
- package/build/js/EncodingRange.d.ts +2 -19
- package/build/js/EncodingRange.js +1 -1
- package/build/js/LocalizedOnlyBarcode-ohkk7Vyx.d.ts +18 -0
- package/build/js/LocalizedOnlyBarcode.d.ts +2 -17
- package/build/js/LocalizedOnlyBarcode.js +1 -1
- package/build/js/PrivateBarcodeBatchAdvancedOverlayListener.d.ts +9 -21
- package/build/js/PrivateBarcodeBatchAdvancedOverlayListener.js +1 -1
- package/build/js/PrivateBarcodeBatchBasicOverlayListener.d.ts +2 -14
- package/build/js/PrivateBarcodeBatchBasicOverlayListener.js +1 -1
- package/build/js/PropertyBehaviorSubject-ChzH7iRU.d.ts +18 -0
- package/build/js/Range-DU0W-YMk.d.ts +23 -0
- package/build/js/Range.d.ts +2 -22
- package/build/js/Range.js +1 -1
- package/build/js/ScanIntention-BSTJBjPO.d.ts +12 -0
- package/build/js/ScanIntention.d.ts +2 -7
- package/build/js/ScanIntention.js +1 -1
- package/build/js/SelectionMode-AuD4eRzF.d.ts +8 -0
- package/build/js/SelectionMode.d.ts +2 -0
- package/build/js/SelectionMode.js +1 -0
- package/build/js/SparkScan-ZI65oTyn.d.ts +50 -0
- package/build/js/SparkScanAnalyticsManager-DguhUbs9.d.ts +29 -0
- package/build/js/SparkScanBarcodeFeedback-C79-SSrQ.d.ts +51 -0
- package/build/js/SparkScanFeedbackDelegate-DQm6ix7E.d.ts +9 -0
- package/build/js/SparkScanMiniPreviewSize-De0jKtsO.d.ts +7 -0
- package/build/js/SparkScanOverlayStyle-DN9ZBjx9.d.ts +6 -0
- package/build/js/SparkScanPreviewBehavior-DUe7DkaL.d.ts +7 -0
- package/build/js/SparkScanScanningBehavior-DQLdEXPW.d.ts +7 -0
- package/build/js/SparkScanScanningMode-uQ4skb_0.d.ts +43 -0
- package/build/js/SparkScanSession-C5xa7P_3.d.ts +14 -0
- package/build/js/SparkScanSettings-diHbVL5F.d.ts +38 -0
- package/build/js/SparkScanTimeoutManager-Cw-M6Okp.d.ts +26 -0
- package/build/js/SparkScanToastSettings-B134rU9_.d.ts +45 -0
- package/build/js/SparkScanView-CzkGiAAb.d.ts +183 -0
- package/build/js/SparkScanViewFeedbackManager-BWe7G9rf.d.ts +25 -0
- package/build/js/SparkScanViewIcon-DCLmO1H-.d.ts +46 -0
- package/build/js/SparkScanViewMiniPreview-EfStrLLi.d.ts +119 -0
- package/build/js/SparkScanViewPreferenceManager-DT0zv8xs.d.ts +40 -0
- package/build/js/SparkScanViewPresenter-D7SCGN2d.js +1 -0
- package/build/js/SparkScanViewPresenter-DUctdBCx.d.ts +106 -0
- package/build/js/SparkScanViewSettings-DV1A8iCM.d.ts +56 -0
- package/build/js/SparkScanViewState-QCAjXmlR.d.ts +10 -0
- package/build/js/SparkScanViewStateManager-TVqvuSZv.d.ts +55 -0
- package/build/js/SparkScanViewToast-BuoTSMje.d.ts +31 -0
- package/build/js/SparkScanViewToolbar-Dgq37_sM.d.ts +72 -0
- package/build/js/SparkScanViewTriggerButton-COY3Xg8a.d.ts +51 -0
- package/build/js/SparkScanViewVisualFeedback-CFFxRzT-.d.ts +25 -0
- package/build/js/StructuredAppendData-BR2Zp0-o.d.ts +33 -0
- package/build/js/StructuredAppendData.d.ts +2 -32
- package/build/js/StructuredAppendData.js +1 -1
- package/build/js/SymbologyDescription-BzgUJLwn.d.ts +36 -0
- package/build/js/SymbologyDescription.d.ts +2 -39
- package/build/js/SymbologyDescription.js +1 -1
- package/build/js/SymbologySettings-DcULuhzx.d.ts +27 -0
- package/build/js/SymbologySettings.d.ts +2 -29
- package/build/js/SymbologySettings.js +1 -1
- package/build/js/TrackedBarcode-CdGDhF7j.d.ts +29 -0
- package/build/js/TrackedBarcode.d.ts +2 -31
- package/build/js/TrackedBarcode.js +1 -1
- package/build/js/TrackedBarcodeView-Do4QxIB8.d.ts +39 -0
- package/build/js/TrackedBarcodeView.d.ts +2 -38
- package/build/js/TrackedBarcodeView.js +1 -1
- package/build/js/ar/BarcodeAr.d.ts +2 -11
- package/build/js/ar/BarcodeAr.js +1 -1
- package/build/js/ar/BarcodeArAnnotationProvider.d.ts +2 -14
- package/build/js/ar/BarcodeArFeedback.d.ts +2 -11
- package/build/js/ar/BarcodeArFeedback.js +1 -1
- package/build/js/ar/BarcodeArHighlightProvider.d.ts +2 -13
- package/build/js/ar/BarcodeArListener.d.ts +2 -11
- package/build/js/ar/BarcodeArPresenter.d.ts +29 -43
- package/build/js/ar/BarcodeArPresenter.js +1 -1
- package/build/js/ar/BarcodeArSession.d.ts +2 -26
- package/build/js/ar/BarcodeArSession.js +1 -1
- package/build/js/ar/BarcodeArSettings.d.ts +2 -25
- package/build/js/ar/BarcodeArSettings.js +1 -1
- package/build/js/ar/BarcodeArView.d.ts +113 -115
- package/build/js/ar/BarcodeArView.js +1 -1
- package/build/js/ar/BarcodeArViewSettings.d.ts +8 -7
- package/build/js/ar/BarcodeArViewSettings.js +1 -1
- package/build/js/ar/BarcodeArViewUiListener.d.ts +2 -19
- package/build/js/ar/assets/checkSound.d.ts +3 -2
- package/build/js/ar/assets/checkSound.js +1 -2
- package/build/js/ar/defaults/Defaults.d.ts +4 -3
- package/build/js/ar/defaults/Defaults.js +1 -1
- package/build/js/ar/hashedId.d.ts +4 -7
- package/build/js/ar/hashedId.js +1 -1
- package/build/js/ar/ui/atoms/BarcodeArInfoAnnotationBodyComponent.d.ts +2 -33
- package/build/js/ar/ui/atoms/BarcodeArInfoAnnotationBodyComponent.js +1 -1
- package/build/js/ar/ui/atoms/BarcodeArInfoAnnotationFooter.d.ts +2 -31
- package/build/js/ar/ui/atoms/BarcodeArInfoAnnotationFooter.js +1 -1
- package/build/js/ar/ui/atoms/BarcodeArInfoAnnotationHeader.d.ts +2 -31
- package/build/js/ar/ui/atoms/BarcodeArInfoAnnotationHeader.js +1 -1
- package/build/js/ar/ui/atoms/private/BarcodeArInfoAnnotationHeaderFooterUtils.d.ts +15 -14
- package/build/js/ar/ui/atoms/private/BarcodeArInfoAnnotationHeaderFooterUtils.js +1 -1
- package/build/js/ar/ui/atoms/private/BarcodeStatusIconContainer.d.ts +31 -30
- package/build/js/ar/ui/atoms/private/BarcodeStatusIconContainer.js +1 -1
- package/build/js/ar/ui/atoms/private/CssArrows.d.ts +3 -2
- package/build/js/ar/ui/atoms/private/CssArrows.js +1 -1
- package/build/js/ar/ui/molecules/private/CameraSwitchButton.d.ts +19 -18
- package/build/js/ar/ui/molecules/private/CameraSwitchButton.js +1 -1
- package/build/js/ar/ui/organisms/BarcodeArAnnotation.d.ts +2 -32
- package/build/js/ar/ui/organisms/BarcodeArAnnotation.js +1 -1
- package/build/js/ar/ui/organisms/BarcodeArCircleHighlight.d.ts +40 -42
- package/build/js/ar/ui/organisms/BarcodeArCircleHighlight.js +1 -1
- package/build/js/ar/ui/organisms/BarcodeArHighlight.d.ts +2 -25
- package/build/js/ar/ui/organisms/BarcodeArInfoAnnotation.d.ts +67 -71
- package/build/js/ar/ui/organisms/BarcodeArInfoAnnotation.js +1 -1
- package/build/js/ar/ui/organisms/BarcodeArPopoverAnnotation.d.ts +37 -41
- package/build/js/ar/ui/organisms/BarcodeArPopoverAnnotation.js +1 -1
- package/build/js/ar/ui/organisms/BarcodeArPopoverAnnotationButton.d.ts +22 -21
- package/build/js/ar/ui/organisms/BarcodeArPopoverAnnotationButton.js +1 -1
- package/build/js/ar/ui/organisms/BarcodeArRectangleHighlight.d.ts +39 -41
- package/build/js/ar/ui/organisms/BarcodeArRectangleHighlight.js +1 -1
- package/build/js/ar/ui/organisms/BarcodeArResponsiveAnnotation.d.ts +32 -40
- package/build/js/ar/ui/organisms/BarcodeArResponsiveAnnotation.js +1 -1
- package/build/js/ar/ui/organisms/BarcodeArStatusIconAnnotation.d.ts +42 -45
- package/build/js/ar/ui/organisms/BarcodeArStatusIconAnnotation.js +1 -1
- package/build/js/ar/ui/organisms/private/AnchorAndDirectionUtils.d.ts +5 -6
- package/build/js/ar/ui/organisms/private/AnchorAndDirectionUtils.js +1 -1
- package/build/js/ar/ui/organisms/private/BarcodeArAnnotationVariation.d.ts +2 -7
- package/build/js/ar/ui/organisms/private/BarcodeArAnnotationVariation.js +1 -1
- package/build/js/ar/ui/organisms/private/CheckLayout.d.ts +13 -12
- package/build/js/ar/ui/organisms/private/CheckLayout.js +1 -1
- package/build/js/ar/ui/organisms/private/updatePosition.d.ts +4 -3
- package/build/js/ar/ui/organisms/private/updatePosition.js +1 -1
- package/build/js/attributes-DLzV3au6.d.ts +18 -0
- package/build/js/defaults/Defaults.d.ts +7 -17
- package/build/js/defaults/Defaults.js +1 -1
- package/build/js/defaults/DefaultsBarcodeBatch.d.ts +12 -12
- package/build/js/defaults/DefaultsBarcodeBatch.js +1 -1
- package/build/js/defaults/DefaultsBarcodeCapture.d.ts +12 -12
- package/build/js/defaults/DefaultsBarcodeCapture.js +1 -1
- package/build/js/defaults/DefaultsBarcodeFind.d.ts +10 -11
- package/build/js/defaults/DefaultsBarcodeFind.js +1 -1
- package/build/js/defaults/DefaultsSparkCapture.d.ts +6 -5
- package/build/js/defaults/DefaultsSparkCapture.js +1 -1
- package/build/js/defaults/DefaultsSparkScan.d.ts +38 -37
- package/build/js/defaults/DefaultsSparkScan.js +1 -1
- package/build/js/defaults/DefaultsSymbologies.d.ts +9 -15
- package/build/js/defaults/DefaultsSymbologies.js +1 -1
- package/build/js/events-Ca6wkIHV.d.ts +14 -0
- package/build/js/find/BarcodeFind.d.ts +2 -60
- package/build/js/find/BarcodeFind.js +1 -1
- package/build/js/find/BarcodeFindBasicOverlay.d.ts +2 -58
- package/build/js/find/BarcodeFindBasicOverlay.js +1 -1
- package/build/js/find/BarcodeFindFeedback.d.ts +2 -17
- package/build/js/find/BarcodeFindFeedback.js +1 -1
- package/build/js/find/BarcodeFindItem.d.ts +2 -40
- package/build/js/find/BarcodeFindItem.js +1 -1
- package/build/js/find/BarcodeFindPresenter.d.ts +41 -50
- package/build/js/find/BarcodeFindPresenter.js +1 -1
- package/build/js/find/BarcodeFindSession.d.ts +2 -35
- package/build/js/find/BarcodeFindSession.js +1 -1
- package/build/js/find/BarcodeFindSettings.d.ts +2 -25
- package/build/js/find/BarcodeFindSettings.js +1 -1
- package/build/js/find/BarcodeFindTransformer.d.ts +2 -5
- package/build/js/find/BarcodeFindView.d.ts +2 -109
- package/build/js/find/BarcodeFindView.js +1 -1
- package/build/js/find/BarcodeFindViewSettings.d.ts +2 -20
- package/build/js/find/BarcodeFindViewSettings.js +1 -1
- package/build/js/find/BarcodeFindViewUiListener.d.ts +2 -8
- package/build/js/find/index.d.ts +8 -17
- package/build/js/find/index.js +1 -1
- package/build/js/find/ui/atoms/BarcodeSvgIcon.d.ts +11 -10
- package/build/js/find/ui/atoms/BarcodeSvgIcon.js +1 -1
- package/build/js/find/ui/atoms/CardListButton.d.ts +13 -12
- package/build/js/find/ui/atoms/CardListButton.js +1 -1
- package/build/js/find/ui/atoms/Dot.d.ts +37 -33
- package/build/js/find/ui/atoms/Dot.js +1 -1
- package/build/js/find/ui/atoms/ExitSvgIcon.d.ts +11 -10
- package/build/js/find/ui/atoms/ExitSvgIcon.js +1 -1
- package/build/js/find/ui/atoms/ItemFoundSvgIcon.d.ts +11 -10
- package/build/js/find/ui/atoms/ItemFoundSvgIcon.js +1 -1
- package/build/js/find/ui/atoms/TorchOffSvgIcon.d.ts +11 -10
- package/build/js/find/ui/atoms/TorchOffSvgIcon.js +1 -1
- package/build/js/find/ui/atoms/TorchOnSvgIcon.d.ts +11 -10
- package/build/js/find/ui/atoms/TorchOnSvgIcon.js +1 -1
- package/build/js/find/ui/molecules/CardListContainer.d.ts +35 -34
- package/build/js/find/ui/molecules/CardListContainer.js +1 -1
- package/build/js/find/ui/molecules/ImageAndTextCardLayout.d.ts +14 -13
- package/build/js/find/ui/molecules/ImageAndTextCardLayout.js +1 -1
- package/build/js/find/ui/molecules/ProgressBarWithLabel.d.ts +22 -21
- package/build/js/find/ui/molecules/ProgressBarWithLabel.js +1 -1
- package/build/js/find/ui/organisms/FindLayout.d.ts +32 -31
- package/build/js/find/ui/organisms/FindLayout.js +1 -1
- package/build/js/{global.d.d.ts → global.d.ts} +7 -8
- package/build/js/index-BFQkemCh.d.ts +1 -0
- package/build/js/index-LOv54jhI.d.ts +1 -0
- package/build/js/index.d.ts +68 -83
- package/build/js/index.js +1 -1
- package/build/js/moduleLoader.d.ts +6 -5
- package/build/js/moduleLoader.js +1 -1
- package/build/js/private/SmartScanSelectionOverlay.d.ts +16 -15
- package/build/js/private/SmartScanSelectionOverlay.js +1 -1
- package/build/js/private/isDataCaptureView.d.ts +4 -3
- package/build/js/private/isDataCaptureView.js +1 -1
- package/build/js/private/sandbox.d.ts +4 -3
- package/build/js/private/sandbox.js +6 -1
- package/build/js/private/smartScanIntentionHelper.d.ts +6 -5
- package/build/js/private/smartScanIntentionHelper.js +1 -1
- package/build/js/spark/SparkScan.d.ts +2 -47
- package/build/js/spark/SparkScan.js +1 -1
- package/build/js/spark/SparkScanAnalyticsManager.d.ts +2 -31
- package/build/js/spark/SparkScanAnalyticsManager.js +1 -1
- package/build/js/spark/SparkScanBarcodeFeedback.d.ts +2 -50
- package/build/js/spark/SparkScanBarcodeFeedback.js +1 -1
- package/build/js/spark/SparkScanFeedbackDelegate.d.ts +2 -12
- package/build/js/spark/SparkScanOverlay.d.ts +39 -45
- package/build/js/spark/SparkScanOverlay.js +1 -1
- package/build/js/spark/SparkScanOverlayStyle.d.ts +2 -5
- package/build/js/spark/SparkScanOverlayStyle.js +1 -1
- package/build/js/spark/SparkScanPreviewBehavior.d.ts +2 -6
- package/build/js/spark/SparkScanPreviewBehavior.js +1 -1
- package/build/js/spark/SparkScanScanningBehavior.d.ts +2 -6
- package/build/js/spark/SparkScanScanningBehavior.js +1 -1
- package/build/js/spark/SparkScanScanningMode.d.ts +2 -36
- package/build/js/spark/SparkScanScanningMode.js +1 -1
- package/build/js/spark/SparkScanSession.d.ts +2 -17
- package/build/js/spark/SparkScanSession.js +1 -1
- package/build/js/spark/SparkScanSettings.d.ts +2 -36
- package/build/js/spark/SparkScanSettings.js +1 -1
- package/build/js/spark/SparkScanTargetAimerViewfinder.d.ts +10 -9
- package/build/js/spark/SparkScanTargetAimerViewfinder.js +1 -1
- package/build/js/spark/assets/sounds.d.ts +3 -2
- package/build/js/spark/assets/sounds.js +1 -1
- package/build/js/spark/index.d.ts +14 -30
- package/build/js/spark/index.js +1 -1
- package/build/js/spark/sounds.d.ts +4 -3
- package/build/js/spark/sounds.js +1 -1
- package/build/js/spark/ui/SparkScanCameraManager.d.ts +21 -25
- package/build/js/spark/ui/SparkScanCameraManager.js +1 -1
- package/build/js/spark/ui/SparkScanMiniPreviewSize.d.ts +2 -6
- package/build/js/spark/ui/SparkScanMiniPreviewSize.js +1 -1
- package/build/js/spark/ui/SparkScanOverlayManager.d.ts +27 -38
- package/build/js/spark/ui/SparkScanOverlayManager.js +1 -1
- package/build/js/spark/ui/SparkScanTimeoutManager.d.ts +2 -32
- package/build/js/spark/ui/SparkScanTimeoutManager.js +1 -1
- package/build/js/spark/ui/SparkScanToastSettings.d.ts +2 -32
- package/build/js/spark/ui/SparkScanToastSettings.js +1 -1
- package/build/js/spark/ui/SparkScanView.d.ts +2 -22
- package/build/js/spark/ui/SparkScanView.js +1 -1
- package/build/js/spark/ui/SparkScanViewFeedbackManager.d.ts +2 -24
- package/build/js/spark/ui/SparkScanViewFeedbackManager.js +1 -1
- package/build/js/spark/ui/SparkScanViewIcon.d.ts +2 -45
- package/build/js/spark/ui/SparkScanViewIcon.js +1 -1
- package/build/js/spark/ui/SparkScanViewMiniPreview.d.ts +2 -119
- package/build/js/spark/ui/SparkScanViewMiniPreview.js +1 -1
- package/build/js/spark/ui/SparkScanViewPreferenceManager.d.ts +2 -39
- package/build/js/spark/ui/SparkScanViewPreferenceManager.js +1 -1
- package/build/js/spark/ui/SparkScanViewPresenter.d.ts +2 -113
- package/build/js/spark/ui/SparkScanViewPresenter.js +1 -1
- package/build/js/spark/ui/SparkScanViewSettings.d.ts +2 -44
- package/build/js/spark/ui/SparkScanViewSettings.js +1 -1
- package/build/js/spark/ui/SparkScanViewState.d.ts +2 -9
- package/build/js/spark/ui/SparkScanViewState.js +1 -1
- package/build/js/spark/ui/SparkScanViewStateManager.d.ts +2 -55
- package/build/js/spark/ui/SparkScanViewStateManager.js +1 -1
- package/build/js/spark/ui/SparkScanViewToast.d.ts +2 -30
- package/build/js/spark/ui/SparkScanViewToast.js +1 -1
- package/build/js/spark/ui/SparkScanViewToolbar.d.ts +2 -68
- package/build/js/spark/ui/SparkScanViewToolbar.js +1 -1
- package/build/js/spark/ui/SparkScanViewTriggerButton.d.ts +2 -50
- package/build/js/spark/ui/SparkScanViewTriggerButton.js +1 -1
- package/build/js/spark/ui/SparkScanViewUiListener.d.ts +2 -22
- package/build/js/spark/ui/SparkScanViewVisualFeedback.d.ts +2 -24
- package/build/js/spark/ui/SparkScanViewVisualFeedback.js +1 -1
- package/build/js/spark/ui/constants/attributes.d.ts +2 -16
- package/build/js/spark/ui/constants/attributes.js +1 -1
- package/build/js/spark/ui/constants/colors.d.ts +6 -5
- package/build/js/spark/ui/constants/colors.js +1 -1
- package/build/js/spark/ui/constants/constants.d.ts +3 -2
- package/build/js/spark/ui/constants/constants.js +1 -1
- package/build/js/spark/ui/constants/cssVariables.d.ts +3 -2
- package/build/js/spark/ui/constants/cssVariables.js +1 -1
- package/build/js/spark/ui/constants/events.d.ts +2 -13
- package/build/js/spark/ui/constants/events.js +1 -1
- package/build/js/spark/ui/constants/tags.d.ts +2 -9
- package/build/js/spark/ui/constants/tags.js +1 -1
- package/build/js/spark/ui/controllers/DragController.d.ts +34 -33
- package/build/js/spark/ui/controllers/DragController.js +1 -1
- package/build/js/spark/ui/controllers/LongPressController.d.ts +24 -23
- package/build/js/spark/ui/controllers/LongPressController.js +1 -1
- package/build/js/spark/ui/index.d.ts +16 -37
- package/build/js/spark/ui/index.js +1 -1
- package/build/js/spark/ui/utils/didDrag.d.ts +3 -2
- package/build/js/spark/ui/utils/didDrag.js +1 -1
- package/build/js/tags-DWZEPE_e.d.ts +10 -0
- package/build/js/translations.d.ts +3 -2
- package/build/js/translations.js +1 -1
- package/build/js/vite-env.d.ts +1 -0
- package/build/js/worker/BarcodeArMode.d.ts +2 -49
- package/build/js/worker/BarcodeArMode.js +1 -1
- package/build/js/worker/BarcodeBatchMode.d.ts +2 -49
- package/build/js/worker/BarcodeBatchMode.js +1 -1
- package/build/js/worker/BarcodeCaptureMode.d.ts +2 -49
- package/build/js/worker/BarcodeCaptureMode.js +1 -1
- package/build/js/worker/BarcodeCaptureWorkerManager.d.ts +13 -55
- package/build/js/worker/BarcodeCaptureWorkerManager.js +1 -1
- package/build/js/worker/BarcodeFindMode.d.ts +2 -49
- package/build/js/worker/BarcodeFindMode.js +1 -1
- package/build/js/worker/PropertyBehaviorSubject.d.ts +2 -17
- package/build/js/worker/PropertyBehaviorSubject.js +1 -1
- package/build/js/worker/PropertyPushSource.d.ts +11 -10
- package/build/js/worker/PropertyPushSource.js +1 -1
- package/build/js/worker/SparkScanMode.d.ts +2 -49
- package/build/js/worker/SparkScanMode.js +1 -1
- package/build/js/worker/WorkerMain.d.ts +11 -55
- package/build/js/worker/WorkerMain.js +1 -1
- package/build/js/worker/dataCaptureEngine.d.ts +2 -49
- package/build/js/worker/dataCaptureEngine.js +1 -1
- package/build/js/worker/dataCaptureWorkerRelated.d.ts +245 -277
- package/build/js/worker/dataCaptureWorkerRelated.js +1 -1
- package/build/js/worker/index.d.ts +2 -46
- package/build/js/worker/index.js +1 -1
- package/package.json +6 -6
- package/sdc-lib/barcode-worker-8.5.0-beta.1.js +6 -0
- package/sdc-lib/resources/models/barcode_localization_clutter_aware.69933853e03e.model +0 -0
- package/sdc-lib/resources/models/invalidated_id_classification_default.e3985b833d16.model +0 -0
- package/sdc-lib/resources/models/ocr_attention.75e86b6ca0ca.model +0 -0
- package/sdc-lib/resources/models/qr_module_prediction.515757826ca3.model +0 -0
- package/sdc-lib/resources/models/qr_module_prediction_model_spatial_transformer.e790edc14d39.model +0 -0
- package/sdc-lib/resources/models/via_id_template_database.5a7e5789abb4.model +0 -0
- package/sdc-lib/scandit-datacapture-sdk-barcode-pthreads.js +1 -1
- package/sdc-lib/scandit-datacapture-sdk-barcode-pthreads.wasm +0 -0
- package/sdc-lib/scandit-datacapture-sdk-barcode-simd-pthreads.js +1 -1
- package/sdc-lib/scandit-datacapture-sdk-barcode-simd-pthreads.wasm +0 -0
- package/sdc-lib/scandit-datacapture-sdk-barcode-simd.js +1 -1
- package/sdc-lib/scandit-datacapture-sdk-barcode-simd.wasm +0 -0
- package/sdc-lib/scandit-datacapture-sdk-barcode.js +1 -1
- package/sdc-lib/scandit-datacapture-sdk-barcode.wasm +0 -0
- package/build/js/BarcodeAr-02zxFUGP.d.ts +0 -47
- package/build/js/BarcodeArMode-BSS2kfBv.d.ts +0 -136
- package/build/js/BarcodeBatch-E9nmjbAE.d.ts +0 -90
- package/build/js/SparkScanView-DA3lM65w.d.ts +0 -163
- package/build/js/chunks/chunk-2BAG3TGN.js +0 -1
- package/build/js/chunks/chunk-2BGFR4WR.js +0 -1
- package/build/js/chunks/chunk-2ZSOWJ2F.js +0 -1
- package/build/js/chunks/chunk-32CJYODR.js +0 -1
- package/build/js/chunks/chunk-33EFB3RJ.js +0 -1
- package/build/js/chunks/chunk-3KF7PG5K.js +0 -1
- package/build/js/chunks/chunk-3N7HH72O.js +0 -1
- package/build/js/chunks/chunk-3OCPZ3OV.js +0 -1
- package/build/js/chunks/chunk-3YNK2VJA.js +0 -1
- package/build/js/chunks/chunk-4AF7CEVC.js +0 -1
- package/build/js/chunks/chunk-4IGF5Q5F.js +0 -1
- package/build/js/chunks/chunk-4JEIREAU.js +0 -1
- package/build/js/chunks/chunk-4PTIOBXM.js +0 -1
- package/build/js/chunks/chunk-4PYZSS3H.js +0 -1
- package/build/js/chunks/chunk-4WOPZNZG.js +0 -1
- package/build/js/chunks/chunk-55SHUUX6.js +0 -1
- package/build/js/chunks/chunk-5A3VQBKX.js +0 -1
- package/build/js/chunks/chunk-5OXVYZEI.js +0 -1
- package/build/js/chunks/chunk-5V3FWMGO.js +0 -1
- package/build/js/chunks/chunk-5X42UONR.js +0 -1
- package/build/js/chunks/chunk-5YBQLHNM.js +0 -1
- package/build/js/chunks/chunk-644ETSOC.js +0 -2
- package/build/js/chunks/chunk-67E6BCDR.js +0 -1
- package/build/js/chunks/chunk-67T3NHWA.js +0 -1
- package/build/js/chunks/chunk-6GFA45IH.js +0 -2
- package/build/js/chunks/chunk-74KP5NGF.js +0 -1
- package/build/js/chunks/chunk-74NQM2AV.js +0 -1
- package/build/js/chunks/chunk-7I2Q5FJG.js +0 -1
- package/build/js/chunks/chunk-7IFO52E7.js +0 -1
- package/build/js/chunks/chunk-7KA6GQ5S.js +0 -1
- package/build/js/chunks/chunk-7L2BXR3E.js +0 -1
- package/build/js/chunks/chunk-7N3BO7YB.js +0 -0
- package/build/js/chunks/chunk-AYZEMPSP.js +0 -1
- package/build/js/chunks/chunk-BDVUCWIR.js +0 -1
- package/build/js/chunks/chunk-BRRT6GC7.js +0 -1
- package/build/js/chunks/chunk-C52THG7K.js +0 -1
- package/build/js/chunks/chunk-CHU6GKFW.js +0 -1
- package/build/js/chunks/chunk-CLT5UZMK.js +0 -1
- package/build/js/chunks/chunk-CYVVGAZ4.js +0 -1
- package/build/js/chunks/chunk-DCUKY2F4.js +0 -1
- package/build/js/chunks/chunk-DDLFCE34.js +0 -1
- package/build/js/chunks/chunk-DFK7AQTK.js +0 -1
- package/build/js/chunks/chunk-DHKABHFE.js +0 -1
- package/build/js/chunks/chunk-DVHTYKDX.js +0 -1
- package/build/js/chunks/chunk-E5OIMFVX.js +0 -1
- package/build/js/chunks/chunk-F4EPKG6F.js +0 -1
- package/build/js/chunks/chunk-F7NAOKPF.js +0 -1
- package/build/js/chunks/chunk-FBW5J2QT.js +0 -1
- package/build/js/chunks/chunk-FD4QVJDW.js +0 -1
- package/build/js/chunks/chunk-FLBNQU3N.js +0 -1
- package/build/js/chunks/chunk-FMYIZSF5.js +0 -0
- package/build/js/chunks/chunk-GBSISAJA.js +0 -0
- package/build/js/chunks/chunk-GCXWZHE6.js +0 -1
- package/build/js/chunks/chunk-H3L3KXMQ.js +0 -1
- package/build/js/chunks/chunk-HD6YAO6W.js +0 -1
- package/build/js/chunks/chunk-HDLJOQJY.js +0 -1
- package/build/js/chunks/chunk-HDODW33D.js +0 -1
- package/build/js/chunks/chunk-HHYYL23G.js +0 -1
- package/build/js/chunks/chunk-HQNY4HRW.js +0 -1
- package/build/js/chunks/chunk-HY32MAAC.js +0 -1
- package/build/js/chunks/chunk-I3PK5YW4.js +0 -1
- package/build/js/chunks/chunk-I53W7VSB.js +0 -1
- package/build/js/chunks/chunk-I54U6QKJ.js +0 -0
- package/build/js/chunks/chunk-I6GJ7OYJ.js +0 -1
- package/build/js/chunks/chunk-I6NAW3SE.js +0 -1
- package/build/js/chunks/chunk-IEE5MKEA.js +0 -1
- package/build/js/chunks/chunk-IMYBB4ZA.js +0 -1
- package/build/js/chunks/chunk-J3R5M6PN.js +0 -1
- package/build/js/chunks/chunk-J4OLO2BK.js +0 -1
- package/build/js/chunks/chunk-J4VFWBJ7.js +0 -1
- package/build/js/chunks/chunk-JAFW53OO.js +0 -1
- package/build/js/chunks/chunk-JSVET3HU.js +0 -1
- package/build/js/chunks/chunk-JT2GDIAM.js +0 -2
- package/build/js/chunks/chunk-K37AJSFT.js +0 -1
- package/build/js/chunks/chunk-KELYPKGG.js +0 -1
- package/build/js/chunks/chunk-KEN6J62X.js +0 -1
- package/build/js/chunks/chunk-KGVFOBRT.js +0 -1
- package/build/js/chunks/chunk-KMEGIFKL.js +0 -1
- package/build/js/chunks/chunk-KPKEN6CZ.js +0 -1
- package/build/js/chunks/chunk-KVYPMF3V.js +0 -1
- package/build/js/chunks/chunk-L6BUOAGT.js +0 -1
- package/build/js/chunks/chunk-L6IZLBEM.js +0 -1
- package/build/js/chunks/chunk-LGPC7KMW.js +0 -1
- package/build/js/chunks/chunk-LKZBVQXD.js +0 -1
- package/build/js/chunks/chunk-LLMMR2TB.js +0 -1
- package/build/js/chunks/chunk-M4AENTE5.js +0 -2
- package/build/js/chunks/chunk-M7SLG4OU.js +0 -1
- package/build/js/chunks/chunk-MHRGFVAW.js +0 -1
- package/build/js/chunks/chunk-MUK52FJN.js +0 -1
- package/build/js/chunks/chunk-MUX2WWWH.js +0 -1
- package/build/js/chunks/chunk-MVDPXLVX.js +0 -1
- package/build/js/chunks/chunk-MVLSFC5H.js +0 -1
- package/build/js/chunks/chunk-NCP2TCSC.js +0 -1
- package/build/js/chunks/chunk-NPXFX53D.js +0 -1
- package/build/js/chunks/chunk-NT3OW5YR.js +0 -1
- package/build/js/chunks/chunk-NURJBECA.js +0 -1
- package/build/js/chunks/chunk-NZCSU4S2.js +0 -1
- package/build/js/chunks/chunk-O5SUMSOC.js +0 -1
- package/build/js/chunks/chunk-OH47PSIL.js +0 -1
- package/build/js/chunks/chunk-OPL5NVVM.js +0 -1
- package/build/js/chunks/chunk-PIJI7RGW.js +0 -2
- package/build/js/chunks/chunk-PMTVYYAY.js +0 -1
- package/build/js/chunks/chunk-POONUNDO.js +0 -1
- package/build/js/chunks/chunk-PTXYWRIN.js +0 -1
- package/build/js/chunks/chunk-PVBCYBUX.js +0 -0
- package/build/js/chunks/chunk-QBMLA2J7.js +0 -1
- package/build/js/chunks/chunk-QCD3RIT4.js +0 -1
- package/build/js/chunks/chunk-QKP2VQEV.js +0 -1
- package/build/js/chunks/chunk-QOOBITBM.js +0 -1
- package/build/js/chunks/chunk-QRG4J3CL.js +0 -1
- package/build/js/chunks/chunk-QT54I6KA.js +0 -1
- package/build/js/chunks/chunk-RU7XJPB3.js +0 -1
- package/build/js/chunks/chunk-RZWYP24A.js +0 -1
- package/build/js/chunks/chunk-S4QFMFLQ.js +0 -1
- package/build/js/chunks/chunk-S5FTF2QC.js +0 -1
- package/build/js/chunks/chunk-SDQOQ2G3.js +0 -1
- package/build/js/chunks/chunk-SEKJJJ3O.js +0 -1
- package/build/js/chunks/chunk-SLZMFNXI.js +0 -1
- package/build/js/chunks/chunk-SNPWBV7Y.js +0 -1
- package/build/js/chunks/chunk-SSODGMFG.js +0 -1
- package/build/js/chunks/chunk-SZUPDKV5.js +0 -1
- package/build/js/chunks/chunk-T2Y2C76P.js +0 -1
- package/build/js/chunks/chunk-TCXM24SN.js +0 -1
- package/build/js/chunks/chunk-TG4676J6.js +0 -1
- package/build/js/chunks/chunk-TKSABJXC.js +0 -1
- package/build/js/chunks/chunk-TRITJ43A.js +0 -2
- package/build/js/chunks/chunk-TXVV2KVE.js +0 -0
- package/build/js/chunks/chunk-TZXO4VYP.js +0 -1
- package/build/js/chunks/chunk-UMB3USWQ.js +0 -1
- package/build/js/chunks/chunk-WBM6DAMR.js +0 -1
- package/build/js/chunks/chunk-WJUDQ22D.js +0 -1
- package/build/js/chunks/chunk-WPSMXGDG.js +0 -1
- package/build/js/chunks/chunk-X244ZABK.js +0 -1
- package/build/js/chunks/chunk-XKYLJ6V4.js +0 -1
- package/build/js/chunks/chunk-YBD5JYCX.js +0 -1
- package/build/js/chunks/chunk-YP5QNLH3.js +0 -2
- package/build/js/chunks/chunk-YPRTU5S2.js +0 -1
- package/build/js/chunks/chunk-YTPS5MHJ.js +0 -1
- package/build/js/chunks/chunk-ZPCWOA3Y.js +0 -1
- package/build/js/chunks/chunk-ZPKXVCG3.js +0 -1
- package/build/js/global.d.js +0 -0
- package/build/js/worker/barcodeCapture.inlineWorker.d.ts +0 -3
- package/build/js/worker/barcodeCapture.inlineWorker.js +0 -1
- package/build/js/worker/inlineWorker.d.d.ts +0 -4
- package/build/js/worker/inlineWorker.d.js +0 -0
- package/sdc-lib/resources/models/invalidated_id_classification_default.1cd0f5859941.model +0 -0
- package/sdc-lib/resources/models/ocr_attention.dd4572d2c642.model +0 -0
- package/sdc-lib/resources/models/via_id_template_database.488e01f034cb.model +0 -0
|
@@ -1,34 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Color } from "@scandit/web-datacapture-core";
|
|
2
|
+
import { ScanditHTMLElement as ScanditHTMLElement$1 } from "@scandit/web-datacapture-core/build/js/private/utils/index.js";
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
4
|
+
//#region src/main/ar/ui/atoms/private/BarcodeStatusIconContainer.d.ts
|
|
5
|
+
declare class BarcodeStatusIconContainer extends ScanditHTMLElement$1 {
|
|
6
|
+
static tag: "scandit-status-icon-container";
|
|
7
|
+
private static readonly observedAttributes;
|
|
8
|
+
private containerElement;
|
|
9
|
+
private textContainer;
|
|
10
|
+
constructor();
|
|
11
|
+
set text(name: string);
|
|
12
|
+
get text(): string;
|
|
13
|
+
set tip(value: boolean);
|
|
14
|
+
get tip(): boolean;
|
|
15
|
+
set textColor(color: Color);
|
|
16
|
+
get textColor(): Color;
|
|
17
|
+
set expanded(value: boolean);
|
|
18
|
+
set backgroundColor(color: Color);
|
|
19
|
+
get backgroundColor(): Color;
|
|
20
|
+
get expanded(): boolean;
|
|
21
|
+
static create(): BarcodeStatusIconContainer;
|
|
22
|
+
static register(): void;
|
|
23
|
+
private static createStyleElement;
|
|
24
|
+
connectedCallback(): void;
|
|
25
|
+
attributeChangedCallback(name: string, _oldValue: string, newValue: string): void;
|
|
26
|
+
private updateText;
|
|
27
|
+
private toggleTip;
|
|
27
28
|
}
|
|
28
29
|
declare global {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
interface HTMLElementTagNameMap {
|
|
31
|
+
[BarcodeStatusIconContainer.tag]: BarcodeStatusIconContainer;
|
|
32
|
+
}
|
|
32
33
|
}
|
|
33
|
-
|
|
34
|
-
export { BarcodeStatusIconContainer };
|
|
34
|
+
//#endregion
|
|
35
|
+
export { BarcodeStatusIconContainer };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import{cssArrows as e}from"./CssArrows.js";import{Color as t}from"@scandit/web-datacapture-core";import{ScanditHTMLElement as n,css as r,defineCustomElements as i,html as a}from"@scandit/web-datacapture-core/build/js/private/utils/index.js";import{gray900 as o}from"@scandit/web-datacapture-core/build/js/private/ui/colors.js";var s=class s extends n{constructor(){super();let t=this.attachShadow({mode:`open`});t.innerHTML=a`<div class="container"><span class="ghost-arrow arw-bottom-center"></span><div class="icon-container"><slot name="barcode-icon"></slot></div><span class="text"></span></div>`,this.containerElement=t.querySelector(`.container`),this.textContainer=this.containerElement.querySelector(`.text`),t.append(s.createStyleElement().cloneNode(!0)),t.append(e())}set text(e){this.updateText(e)}get text(){return this.textContainer.textContent??``}set tip(e){this.toggleTip(e)}get tip(){var e;return((e=this.containerElement.querySelector(`.ghost-arrow`))==null?void 0:e.classList.value.includes(`arw-`))??!1}set textColor(e){this.style.setProperty(`--text-color`,`#${e.toJSON()}`)}get textColor(){return t.fromJSON(this.style.getPropertyValue(`--text-color`))}set expanded(e){this.toggleAttribute(`expanded`,e)}set backgroundColor(e){this.style.setProperty(`--background-color`,`#${e.toJSON()}`),this.style.setProperty(`--arrow-background-color`,`#${e.toJSON()}`)}get backgroundColor(){let e=this.style.getPropertyValue(`--background-color`);return t.fromJSON(e===``?`FFFFFF`:e)}get expanded(){return this.hasAttribute(`expanded`)}static create(){return document.createElement(s.tag)}static register(){i({[s.tag]:s})}static createStyleElement(){return r`:host{display:inline-flex;--size:32px;--padding:0px;--background-color:#fff;--text-color:#${o.toJSON()};--expanded-width:190px;--arrow-size:calc(var(--size)/5);--arrow-background-color:#fff;--arrow-offset:0px;cursor:pointer;font-family:SF Pro Text,sans-serif;font-size:1rem;font-style:normal;font-weight:600;transition:transform .25s ease-in-out;user-select:none;-webkit-tap-highlight-color:transparent}.ghost-arrow{height:var(--size);left:0;position:absolute;top:-2px;width:var(--size)}:host([hidden]){display:none}.container{background-color:var(--background-color);border-radius:calc(var(--size) + var(--padding)/2);box-shadow:0 1px 2px 0 #${o.withAlpha(.3).toJSON()};display:inline-flex;flex-direction:row;gap:10px;padding:var(--padding);position:relative;transition:width .25s ease-in-out;white-space:nowrap}.container,.icon-container{align-items:center;height:var(--size);width:var(--size)}.icon-container{display:flex;justify-content:center;position:absolute}.container span.text{color:var(--text-color);max-width:0;opacity:0;overflow:hidden;position:absolute;transform:translateX(0);transition:opacity .25s ease-in-out,transform .25s ease-in-out,max-width .25s ease-in-out;white-space:nowrap}:host([expanded]) .container span.text{max-width:calc(var(--expanded-width) - var(--size) - 2px);opacity:1;transform:translateX(var(--size))}:host([expanded]){transform:translateX(calc(var(--expanded-width) - 50% - 2px - var(--size)/2))}:host([expanded]) .container{width:var(--expanded-width)}`}connectedCallback(){this.setAttribute(`tip`,`true`)}attributeChangedCallback(e,t,n){e===`text`?this.updateText(n):e===`tip`&&this.toggleTip(n===`true`||n===``)}updateText(e){this.textContainer.textContent=e.slice(0,20)}toggleTip(e){var t;(t=this.containerElement.querySelector(`.ghost-arrow`))==null||t.classList.toggle(`arw-bottom-center`,e)}};s.tag=`scandit-status-icon-container`,s.observedAttributes=[`text`,`tip`];export{s as BarcodeStatusIconContainer};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import{css as e}from"@scandit/web-datacapture-core/build/js/private/utils/css.js";function t(){return e`[class*=arw-]:after{border-color:#0000;border-style:solid;content:" ";height:0;pointer-events:none;position:absolute;width:0}.arw-bottom-center:after{border-top-color:var(--arrow-background-color);border-width:var(--arrow-size);left:50%;top:100%;transform:translate(-50%)}.arw-top-center:after{border-bottom-color:var(--arrow-background-color);border-width:var(--arrow-size);left:50%;top:0;transform:translate(-50%,-100%)}.arw-right-center:after{border-left-color:var(--arrow-background-color);border-width:var(--arrow-size);right:0;top:50%;transform:translate(100%,-50%)}.arw-left-center:after{border-right-color:var(--arrow-background-color);border-width:var(--arrow-size);left:0;top:50%;transform:translate(-100%,-50%)}`}export{t as cssArrows};
|
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
import { ScanditHTMLElement } from
|
|
1
|
+
import { ScanditHTMLElement } from "@scandit/web-datacapture-core/build/js/private/utils/index.js";
|
|
2
2
|
|
|
3
|
+
//#region src/main/ar/ui/molecules/private/CameraSwitchButton.d.ts
|
|
3
4
|
declare class CameraSwitchButton extends ScanditHTMLElement {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
5
|
+
static tag: "scandit-check-switch-camera-button";
|
|
6
|
+
private icon;
|
|
7
|
+
private onPressedHandler;
|
|
8
|
+
private onReleasedHandler;
|
|
9
|
+
constructor();
|
|
10
|
+
static create(): CameraSwitchButton;
|
|
11
|
+
static register(): void;
|
|
12
|
+
private static createStyleElement;
|
|
13
|
+
connectedCallback(): Promise<void>;
|
|
14
|
+
disconnectedCallback(): void;
|
|
15
|
+
private onPressed;
|
|
16
|
+
private onReleased;
|
|
16
17
|
}
|
|
17
18
|
declare global {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
interface HTMLElementTagNameMap {
|
|
20
|
+
[CameraSwitchButton.tag]: CameraSwitchButton;
|
|
21
|
+
}
|
|
21
22
|
}
|
|
22
|
-
|
|
23
|
-
export { CameraSwitchButton };
|
|
23
|
+
//#endregion
|
|
24
|
+
export { CameraSwitchButton };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import{Color as e,ScanditIconBuilder as t,ScanditIconShape as n,ScanditIconType as r}from"@scandit/web-datacapture-core";import{ScanditHTMLElement as i,css as a,defineCustomElements as o,html as s}from"@scandit/web-datacapture-core/build/js/private/utils/index.js";import{gray900 as c}from"@scandit/web-datacapture-core/build/js/private/ui/colors.js";const l=e.fromRGBA(255,255,255,1);var u=class e extends i{constructor(){super(),this.onPressedHandler=this.onPressed.bind(this),this.onReleasedHandler=this.onReleased.bind(this);let t=this.attachShadow({mode:`open`});t.innerHTML=s`<button type="button"><slot></slot></button>`,t.append(e.createStyleElement().cloneNode(!0))}static create(){return document.createElement(e.tag)}static register(){o({[e.tag]:e})}static createStyleElement(){return a`:host[hidden]{display:none}:host button{background:none;border:none;display:flex;margin:0;outline:none;padding:0;-webkit-tap-highlight-color:transparent}`}async connectedCallback(){var e,i,a;let o=new t;this.icon=await o.withIcon(r.CameraSwitch).withBackgroundShape(n.Circle).withBackgroundColor(c.withAlpha(.3)).withBackgroundStrokeColor(c).withWidth(36).withHeight(36).withIconSize(28).build(),(e=this.shadowRoot)==null||e.append(this.icon),(i=this.shadowRoot)==null||i.addEventListener(`pointerdown`,this.onPressedHandler),(a=this.shadowRoot)==null||a.addEventListener(`pointerup`,this.onReleasedHandler)}disconnectedCallback(){var e,t;(e=this.shadowRoot)==null||e.removeEventListener(`pointerdown`,this.onPressedHandler),(t=this.shadowRoot)==null||t.removeEventListener(`pointerup`,this.onReleasedHandler)}onPressed(){this.icon.iconColor=l.withAlpha(.3)}onReleased(){this.icon.iconColor=l}};u.tag=`scandit-check-switch-camera-button`;export{u as CameraSwitchButton};
|
|
@@ -1,32 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { BarcodeArAnnotationVariation } from './private/BarcodeArAnnotationVariation.js';
|
|
4
|
-
|
|
5
|
-
declare enum BarcodeArAnnotationTrigger {
|
|
6
|
-
HighlightTap = "highlightTap",
|
|
7
|
-
HighlightTapAndBarcodeScan = "highlightTapAndBarcodeScan",
|
|
8
|
-
BarcodeScan = "barcodeScan"
|
|
9
|
-
}
|
|
10
|
-
interface BarcodeArAnnotation extends ScanditHTMLElement {
|
|
11
|
-
annotationTrigger: BarcodeArAnnotationTrigger;
|
|
12
|
-
updatePosition(point: Point, transformOrigin: Point, rotationAngle: number): void;
|
|
13
|
-
}
|
|
14
|
-
declare enum BarcodeArAnnotationAnchor {
|
|
15
|
-
Top = "top-center",
|
|
16
|
-
Bottom = "bottom-center",
|
|
17
|
-
Left = "left-center",
|
|
18
|
-
Right = "right-center"
|
|
19
|
-
}
|
|
20
|
-
interface PrivateBarcodeArAnnotation extends BarcodeArAnnotation {
|
|
21
|
-
direction?: Direction;
|
|
22
|
-
anchor?: BarcodeArAnnotationAnchor;
|
|
23
|
-
annotationVariation?: BarcodeArAnnotationVariation;
|
|
24
|
-
dataset: {
|
|
25
|
-
identifier: `${string}-annotation`;
|
|
26
|
-
id: string;
|
|
27
|
-
couldBeDeleted: "true" | "false";
|
|
28
|
-
onForeground: "true" | "false";
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export { type BarcodeArAnnotation, BarcodeArAnnotationAnchor, BarcodeArAnnotationTrigger, type PrivateBarcodeArAnnotation };
|
|
1
|
+
import { i as PrivateBarcodeArAnnotation, n as BarcodeArAnnotationAnchor, r as BarcodeArAnnotationTrigger, t as BarcodeArAnnotation } from "../../../BarcodeArAnnotation-nsUjxSNs.js";
|
|
2
|
+
export { BarcodeArAnnotation, BarcodeArAnnotationAnchor, BarcodeArAnnotationTrigger, PrivateBarcodeArAnnotation };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
let e=function(e){return e.HighlightTap=`highlightTap`,e.HighlightTapAndBarcodeScan=`highlightTapAndBarcodeScan`,e.BarcodeScan=`barcodeScan`,e}({}),t=function(e){return e.Top=`top-center`,e.Bottom=`bottom-center`,e.Left=`left-center`,e.Right=`right-center`,e}({});export{t as BarcodeArAnnotationAnchor,e as BarcodeArAnnotationTrigger};
|
|
@@ -1,48 +1,46 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import '@scandit/web-datacapture-core/build/js/private/Serializable';
|
|
6
|
-
import '../../../EncodingRange.js';
|
|
7
|
-
import '../../../StructuredAppendData.js';
|
|
1
|
+
import { t as Barcode } from "../../../Barcode-B7a-T3RA.js";
|
|
2
|
+
import { t as BarcodeArHighlight } from "../../../BarcodeArHighlight-BIm0-lDz.js";
|
|
3
|
+
import { Brush, Point, ScanditIcon } from "@scandit/web-datacapture-core";
|
|
4
|
+
import { ScanditHTMLElement as ScanditHTMLElement$1 } from "@scandit/web-datacapture-core/build/js/private/utils/ScanditHTMLElement.js";
|
|
8
5
|
|
|
6
|
+
//#region src/main/ar/ui/organisms/BarcodeArCircleHighlight.d.ts
|
|
9
7
|
declare enum BarcodeArCircleHighlightPreset {
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
Dot = "dot",
|
|
9
|
+
Icon = "icon"
|
|
12
10
|
}
|
|
13
|
-
declare class BarcodeArCircleHighlight extends ScanditHTMLElement implements BarcodeArHighlight {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
11
|
+
declare class BarcodeArCircleHighlight extends ScanditHTMLElement$1 implements BarcodeArHighlight {
|
|
12
|
+
private _isPulsing;
|
|
13
|
+
private _icon;
|
|
14
|
+
static tag: "scandit-barcode-ar-circle-highlight";
|
|
15
|
+
set isPulsing(isPulsing: boolean);
|
|
16
|
+
get isPulsing(): boolean;
|
|
17
|
+
set icon(icon: ScanditIcon | null);
|
|
18
|
+
get icon(): ScanditIcon | null;
|
|
19
|
+
private preset;
|
|
20
|
+
private dot;
|
|
21
|
+
private brushBuilder;
|
|
22
|
+
private _size;
|
|
23
|
+
private _brush;
|
|
24
|
+
private _barcode;
|
|
25
|
+
constructor();
|
|
26
|
+
protected set barcode(barcode: Barcode);
|
|
27
|
+
get barcode(): Barcode;
|
|
28
|
+
set brush(brush: Brush);
|
|
29
|
+
get brush(): Brush;
|
|
30
|
+
set size(size: number);
|
|
31
|
+
get size(): number;
|
|
32
|
+
static create(barcode: Barcode, preset: BarcodeArCircleHighlightPreset): BarcodeArCircleHighlight;
|
|
33
|
+
static register(): void;
|
|
34
|
+
private static createStyleElement;
|
|
35
|
+
connectedCallback(): Promise<void>;
|
|
36
|
+
private updateSize;
|
|
37
|
+
private updateBrush;
|
|
38
|
+
updatePosition(point: Point, transformOrigin: Point, rotationAngle: number): void;
|
|
41
39
|
}
|
|
42
40
|
declare global {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
41
|
+
interface HTMLElementTagNameMap {
|
|
42
|
+
[BarcodeArCircleHighlight.tag]: BarcodeArCircleHighlight;
|
|
43
|
+
}
|
|
46
44
|
}
|
|
47
|
-
|
|
48
|
-
export { BarcodeArCircleHighlight, BarcodeArCircleHighlightPreset };
|
|
45
|
+
//#endregion
|
|
46
|
+
export { BarcodeArCircleHighlight, BarcodeArCircleHighlightPreset };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import{updatePosition as e}from"./private/updatePosition.js";import{Brush as t,Color as n,ScanditIconBuilder as r,ScanditIconShape as i}from"@scandit/web-datacapture-core";import{ScanditHTMLElement as a}from"@scandit/web-datacapture-core/build/js/private/utils/ScanditHTMLElement.js";import{defineCustomElements as o}from"@scandit/web-datacapture-core/build/js/private/utils/defineCustomElements.js";import{html as s}from"@scandit/web-datacapture-core/build/js/private/utils/html.js";import{css as c}from"@scandit/web-datacapture-core/build/js/private/utils/css.js";let l=function(e){return e.Dot=`dot`,e.Icon=`icon`,e}({});const u=n.fromHex(`#00FFFF`),d=u.withAlpha(0);var f=class l extends a{set isPulsing(e){this._isPulsing=e,this.toggleAttribute(`pulse`,e)}get isPulsing(){return this._isPulsing}set icon(e){var t;(t=this._icon)==null||t.remove(),this._icon=e,e&&this.preset===`icon`&&(e.backgroundShape=i.Circle,this.append(e),this.updateBrush(),this.updateSize())}get icon(){return this._icon}constructor(){super(),this._isPulsing=!1,this._icon=null,this.dot=null,this._brush=new t(u.withAlpha(.45),n.fromHex(`#00FFFF`),2);let e=this.attachShadow({mode:`open`});e.innerHTML=s`<slot></slot>`,e.append(l.createStyleElement().cloneNode(!0))}set barcode(e){this._barcode=e}get barcode(){return this._barcode}set brush(e){this._brush=e,this.updateBrush()}get brush(){return this._brush}set size(e){this._size=e,this.updateSize()}get size(){return this._size===void 0?this.preset===`dot`?26:32:this._size}static create(e,t){l.register();let n=document.createElement(l.tag);return n.barcode=e,n.preset=t,n}static register(){o({[l.tag]:l})}static createStyleElement(){return c`:host{border-radius:50%;display:inline-flex;--fill:#${u.toJSON()};--fill-no-opacity:#${d.toJSON()};--size:20px}:host([pulse]){animation:pulse 1.5s infinite}:host(:not([pulse])){animation:none}@keyframes pulse{0%{box-shadow:0 0 0 0 var(--fill)}70%{box-shadow:0 0 0 var(--size) var(--fill-no-opacity)}to{box-shadow:0 0 0 0 var(--fill-no-opacity)}}`}async connectedCallback(){this.brushBuilder=new r().withBackgroundShape(i.Circle).withBackgroundColor(this.brush.fillColor).withBackgroundStrokeColor(this.brush.strokeColor).withBackgroundStrokeWidth(this.brush.strokeWidth),this.dot=await this.brushBuilder.build(),this.preset===`dot`?this.append(this.dot):this.preset===`icon`&&this._icon!=null&&(this._icon.backgroundShape=i.Circle,this.append(this._icon)),this.updateBrush(),this.updateSize()}updateSize(){this.dot&&(this.dot.width=this.size,this.dot.height=this.size),this.icon&&(this.icon.width=this.size,this.icon.height=this.size),this.style.setProperty(`--size`,`${this.size*9/10}px`)}updateBrush(){this.dot&&(this.dot.backgroundColor=this._brush.fillColor,this.dot.backgroundStrokeColor=this._brush.strokeColor,this.dot.backgroundStrokeWidth=this._brush.strokeWidth),this.icon&&(this.icon.backgroundColor=this._brush.fillColor,this.icon.backgroundStrokeColor=this._brush.strokeColor,this.icon.backgroundStrokeWidth=this._brush.strokeWidth),this.style.setProperty(`--fill`,`#${this._brush.fillColor.toJSON()}`),this.style.setProperty(`--fill-no-opacity`,`#${this._brush.fillColor.withAlpha(0).toJSON()}`)}updatePosition(t,n,r){e(this,t,n,0)}};f.tag=`scandit-barcode-ar-circle-highlight`;export{f as BarcodeArCircleHighlight,l as BarcodeArCircleHighlightPreset};
|
|
@@ -1,25 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { ScanditHTMLElement } from '@scandit/web-datacapture-core/build/js/private/utils/ScanditHTMLElement.js';
|
|
4
|
-
import '@scandit/web-datacapture-core/build/js/private/Serializable';
|
|
5
|
-
import '../../../EncodingRange.js';
|
|
6
|
-
import '../../../StructuredAppendData.js';
|
|
7
|
-
|
|
8
|
-
interface BarcodeArHighlight extends ScanditHTMLElement {
|
|
9
|
-
barcode: Barcode;
|
|
10
|
-
brush: Brush;
|
|
11
|
-
icon: ScanditIcon | null;
|
|
12
|
-
updatePosition(point: Point, transformOrigin: Point, rotationAngle: number): void;
|
|
13
|
-
width?: number;
|
|
14
|
-
height?: number;
|
|
15
|
-
}
|
|
16
|
-
interface PrivateBarcodeArHighlight extends BarcodeArHighlight {
|
|
17
|
-
dataset: {
|
|
18
|
-
identifier: `${string}-highlight`;
|
|
19
|
-
id: string;
|
|
20
|
-
couldBeDeleted: "true" | "false";
|
|
21
|
-
onForeground: "true" | "false";
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export type { BarcodeArHighlight, PrivateBarcodeArHighlight };
|
|
1
|
+
import { n as PrivateBarcodeArHighlight, t as BarcodeArHighlight } from "../../../BarcodeArHighlight-BIm0-lDz.js";
|
|
2
|
+
export { BarcodeArHighlight, PrivateBarcodeArHighlight };
|
|
@@ -1,83 +1,79 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import '@scandit/web-datacapture-core/build/js/private/Serializable';
|
|
9
|
-
import '../../../EncodingRange.js';
|
|
10
|
-
import '../../../StructuredAppendData.js';
|
|
11
|
-
import '@scandit/web-datacapture-core/build/js/private/utils/ScanditHTMLElement.js';
|
|
12
|
-
import './private/BarcodeArAnnotationVariation.js';
|
|
1
|
+
import { t as Barcode } from "../../../Barcode-B7a-T3RA.js";
|
|
2
|
+
import { r as BarcodeArAnnotationTrigger, t as BarcodeArAnnotation } from "../../../BarcodeArAnnotation-nsUjxSNs.js";
|
|
3
|
+
import { t as BarcodeArInfoAnnotationBodyComponent } from "../../../BarcodeArInfoAnnotationBodyComponent-Dj3jXTGL.js";
|
|
4
|
+
import { t as BarcodeArInfoAnnotationFooter } from "../../../BarcodeArInfoAnnotationFooter-h5YON8XZ.js";
|
|
5
|
+
import { t as BarcodeArInfoAnnotationHeader } from "../../../BarcodeArInfoAnnotationHeader-BmWO5pBg.js";
|
|
6
|
+
import { Color, Optional, Point } from "@scandit/web-datacapture-core";
|
|
7
|
+
import { ScanditHTMLElement as ScanditHTMLElement$1 } from "@scandit/web-datacapture-core/build/js/private/utils/index.js";
|
|
13
8
|
|
|
9
|
+
//#region src/main/ar/ui/organisms/BarcodeArInfoAnnotation.d.ts
|
|
14
10
|
declare enum BarcodeArInfoAnnotationAnchor {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
11
|
+
Top = "top-center",
|
|
12
|
+
Bottom = "bottom-center",
|
|
13
|
+
Left = "left-center",
|
|
14
|
+
Right = "right-center"
|
|
19
15
|
}
|
|
20
16
|
declare enum BarcodeArInfoAnnotationWidthPreset {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
17
|
+
Small = "small",
|
|
18
|
+
Medium = "medium",
|
|
19
|
+
Large = "large"
|
|
24
20
|
}
|
|
25
21
|
declare enum BarcodeArInfoAnnotationEvent {
|
|
26
|
-
|
|
22
|
+
InfoAnnotationTap = "BarcodeArInfoAnnotationEventTap"
|
|
27
23
|
}
|
|
28
24
|
interface BarcodeArInfoAnnotationListener {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
25
|
+
onInfoAnnotationHeaderTapped?(annotation: BarcodeArInfoAnnotation): void;
|
|
26
|
+
onInfoAnnotationFooterTapped?(annotation: BarcodeArInfoAnnotation): void;
|
|
27
|
+
onInfoAnnotationLeftIconTapped?(annotation: BarcodeArInfoAnnotation, element: BarcodeArInfoAnnotationBodyComponent, elementIndex: number): void;
|
|
28
|
+
onInfoAnnotationRightIconTapped?(annotation: BarcodeArInfoAnnotation, element: BarcodeArInfoAnnotationBodyComponent, elementIndex: number): void;
|
|
29
|
+
onInfoAnnotationTapped?(annotation: BarcodeArInfoAnnotation): void;
|
|
34
30
|
}
|
|
35
|
-
declare class BarcodeArInfoAnnotation extends ScanditHTMLElement implements BarcodeArAnnotation {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
31
|
+
declare class BarcodeArInfoAnnotation extends ScanditHTMLElement$1 implements BarcodeArAnnotation {
|
|
32
|
+
static tag: "scandit-barcode-ar-info-annotation";
|
|
33
|
+
isEntireAnnotationTappable: boolean;
|
|
34
|
+
annotationTrigger: BarcodeArAnnotationTrigger;
|
|
35
|
+
listener?: BarcodeArInfoAnnotationListener;
|
|
36
|
+
private _barcode;
|
|
37
|
+
private _widthPreset;
|
|
38
|
+
get barcode(): Barcode;
|
|
39
|
+
private set barcode(value);
|
|
40
|
+
private onPointerUpListener;
|
|
41
|
+
private onSlotChangeListener;
|
|
42
|
+
private containerElement;
|
|
43
|
+
private highlightableElementListenerMap;
|
|
44
|
+
constructor();
|
|
45
|
+
updatePosition(point: Point, transformOrigin: Point, rotationAngle: number): void;
|
|
46
|
+
set anchor(annotationAnchor: BarcodeArInfoAnnotationAnchor);
|
|
47
|
+
get anchor(): BarcodeArInfoAnnotationAnchor;
|
|
48
|
+
set widthPreset(variant: BarcodeArInfoAnnotationWidthPreset);
|
|
49
|
+
get widthPreset(): BarcodeArInfoAnnotationWidthPreset;
|
|
50
|
+
get backgroundColor(): Color;
|
|
51
|
+
set backgroundColor(value: Color);
|
|
52
|
+
set body(bodies: BarcodeArInfoAnnotationBodyComponent[]);
|
|
53
|
+
get body(): BarcodeArInfoAnnotationBodyComponent[];
|
|
54
|
+
set header(header: Optional<BarcodeArInfoAnnotationHeader>);
|
|
55
|
+
get header(): Optional<BarcodeArInfoAnnotationHeader>;
|
|
56
|
+
set footer(footer: Optional<BarcodeArInfoAnnotationFooter>);
|
|
57
|
+
get footer(): Optional<BarcodeArInfoAnnotationFooter>;
|
|
58
|
+
set hasTip(value: boolean);
|
|
59
|
+
get hasTip(): boolean;
|
|
60
|
+
static create(barcode: Barcode): BarcodeArInfoAnnotation;
|
|
61
|
+
protected static register(): void;
|
|
62
|
+
private static createStyleElement;
|
|
63
|
+
connectedCallback(): void;
|
|
64
|
+
disconnectedCallback(): void;
|
|
65
|
+
private onSlotChange;
|
|
66
|
+
private updateArrowColor;
|
|
67
|
+
private makeHighlightable;
|
|
68
|
+
private onPointerUp;
|
|
73
69
|
}
|
|
74
70
|
declare global {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
71
|
+
interface HTMLElementTagNameMap {
|
|
72
|
+
[BarcodeArInfoAnnotation.tag]: BarcodeArInfoAnnotation;
|
|
73
|
+
}
|
|
74
|
+
interface HTMLElementEventMap {
|
|
75
|
+
[BarcodeArInfoAnnotationEvent.InfoAnnotationTap]: CustomEvent;
|
|
76
|
+
}
|
|
81
77
|
}
|
|
82
|
-
|
|
83
|
-
export { BarcodeArInfoAnnotation, BarcodeArInfoAnnotationAnchor, BarcodeArInfoAnnotationEvent,
|
|
78
|
+
//#endregion
|
|
79
|
+
export { BarcodeArInfoAnnotation, BarcodeArInfoAnnotationAnchor, BarcodeArInfoAnnotationEvent, BarcodeArInfoAnnotationListener, BarcodeArInfoAnnotationWidthPreset };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import"./BarcodeArAnnotation.js";import{BarcodeArInfoAnnotationBodyComponent as e}from"../atoms/BarcodeArInfoAnnotationBodyComponent.js";import{BarcodeArInfoAnnotationFooter as t}from"../atoms/BarcodeArInfoAnnotationFooter.js";import{BarcodeArInfoAnnotationHeader as n}from"../atoms/BarcodeArInfoAnnotationHeader.js";import{cssArrows as r}from"../atoms/private/CssArrows.js";import{updatePosition as i}from"./private/updatePosition.js";import{Color as a,ScanditIcon as o}from"@scandit/web-datacapture-core";import{ScanditHTMLElement as s,css as c,defineCustomElements as l,html as u}from"@scandit/web-datacapture-core/build/js/private/utils/index.js";let d=function(e){return e[e.Top=`top-center`]=`Top`,e[e.Bottom=`bottom-center`]=`Bottom`,e[e.Left=`left-center`]=`Left`,e[e.Right=`right-center`]=`Right`,e}({}),f=function(e){return e.Small=`small`,e.Medium=`medium`,e.Large=`large`,e}({}),p=function(e){return e.InfoAnnotationTap=`BarcodeArInfoAnnotationEventTap`,e}({});const m=`slot[name='header']`,h=`slot[name='footer']`,g=`--arrow-background-color`;var _=class f extends s{get barcode(){return this._barcode}set barcode(e){this._barcode=e}constructor(){super(),this.isEntireAnnotationTappable=!1,this.annotationTrigger=`highlightTapAndBarcodeScan`,this._widthPreset=`small`,this.onPointerUpListener=this.onPointerUp.bind(this),this.onSlotChangeListener=this.onSlotChange.bind(this),this.highlightableElementListenerMap=new Map;let e=this.attachShadow({mode:`open`});e.innerHTML=u`<div class="container arw-${d.Bottom} ${`small`}"><slot name="header"></slot><div class="body-container"><slot></slot></div><slot name="footer"></slot></div>`,this.containerElement=e.querySelector(`.container`),e.append(f.createStyleElement().cloneNode(!0)),e.append(r())}updatePosition(e,t,n){i(this,e,t,0)}set anchor(e){for(let e of Object.values(d))this.containerElement.classList.remove(`arw-${e}`);this.containerElement.classList.add(`arw-${e}`),this.updateArrowColor()}get anchor(){for(let e of Object.values(d))if(this.containerElement.classList.contains(`arw-${e}`))return e;return d.Bottom}set widthPreset(e){this._widthPreset=e,this.containerElement.classList.remove(`small`,`medium`,`large`),this.containerElement.classList.add(e)}get widthPreset(){switch(!0){case this.containerElement.classList.contains(`small`):return`small`;case this.containerElement.classList.contains(`medium`):return`medium`;case this.containerElement.classList.contains(`large`):return`large`;default:return`small`}}get backgroundColor(){let e=this.containerElement.style.getPropertyValue(`--background-color`);return a.fromHex(e)}set backgroundColor(e){this.containerElement.style.setProperty(`--background-color`,`#${e.toJSON()}`),this.updateArrowColor()}set body(e){this.append(...e)}get body(){var e;let t=(e=this.shadowRoot)==null?void 0:e.querySelector(`slot:not([name])`);return(t==null?void 0:t.assignedElements({flatten:!0}))??[]}set header(e){let t=this.querySelector(m);e!=null&&(t==null?void 0:t.assignedElements()[0])!==e&&(t==null||t.remove(),e.setAttribute(`slot`,`header`),this.append(e))}get header(){var e;let t=(e=this.shadowRoot)==null?void 0:e.querySelector(m);return((t==null?void 0:t.assignedElements())??[])[0]}set footer(e){let t=this.querySelector(h);e!=null&&(t==null?void 0:t.assignedElements()[0])!==e&&(t==null||t.remove(),e.setAttribute(`slot`,`footer`),this.append(e))}get footer(){var e;let t=(e=this.shadowRoot)==null?void 0:e.querySelector(h);return((t==null?void 0:t.assignedElements())??[])[0]}set hasTip(e){this.containerElement.classList.toggle(`arw-${this.anchor}`,e)}get hasTip(){return this.containerElement.classList.contains(`arw-${this.anchor}`)}static create(e){f.register();let t=document.createElement(f.tag);return t.barcode=e,t}static register(){l({[e.tag]:e,[n.tag]:n,[t.tag]:t,[f.tag]:f})}static createStyleElement(){return c`:host{--background-color:#fff;--arrow-size:7px;--arrow-background-color:var(--background-color);--arrow-offset:10px;font-family:SF Pro Display,sans-serif}.container{background-color:var(--background-color);border-radius:16px;display:flex;flex-direction:column;min-width:100px;position:relative;transition:opacity .3s ease;width:100%}.container.highlighted{opacity:.75}.container.${`small`}{width:180px}.container.${`medium`}{width:210px}.container.${`large`}{width:240px}.body-container{padding-bottom:1rem}`}connectedCallback(){var e,t;this.widthPreset=this._widthPreset,this.addEventListener(`pointerup`,this.onPointerUpListener);let n=(e=this.shadowRoot)==null?void 0:e.querySelector(m),r=(t=this.shadowRoot)==null?void 0:t.querySelector(h);n==null||n.addEventListener(`slotchange`,this.onSlotChangeListener),r==null||r.addEventListener(`slotchange`,this.onSlotChangeListener),this.onSlotChange(),this.isEntireAnnotationTappable&&this.makeHighlightable(this.containerElement)}disconnectedCallback(){var e,t;let n=(e=this.shadowRoot)==null?void 0:e.querySelector(m),r=(t=this.shadowRoot)==null?void 0:t.querySelector(h);n==null||n.removeEventListener(`slotchange`,this.onSlotChangeListener),r==null||r.removeEventListener(`slotchange`,this.onSlotChangeListener),this.removeEventListener(`pointerup`,this.onPointerUpListener);for(let[e,t]of this.highlightableElementListenerMap)e.removeEventListener(`pointerdown`,t.pointerdown),e.removeEventListener(`pointerup`,t.pointerup)}onSlotChange(){var e,t;let n=(e=this.shadowRoot)==null?void 0:e.querySelector(m),r=(t=this.shadowRoot)==null?void 0:t.querySelector(h),i=(n==null?void 0:n.assignedElements())??[],a=(r==null?void 0:r.assignedElements())??[];for(let e of i)e.style.setProperty(`--top-left-corner-radius`,`16px`),e.style.setProperty(`--top-right-corner-radius`,`16px`),this.isEntireAnnotationTappable||this.makeHighlightable(e);for(let e of a)e.style.setProperty(`--bottom-left-corner-radius`,`16px`),e.style.setProperty(`--bottom-right-corner-radius`,`16px`),this.isEntireAnnotationTappable||this.makeHighlightable(e);this.updateArrowColor()}updateArrowColor(){this.style.removeProperty(g),this.header||this.footer?this.header&&this.anchor.startsWith(`top`)?this.style.setProperty(g,`#${this.header.backgroundColor.toJSON()}`):this.footer&&this.anchor.startsWith(`bottom`)&&this.style.setProperty(g,`#${this.footer.backgroundColor.toJSON()}`):this.body.length>0&&!this.header&&!this.footer&&this.style.setProperty(g,`#${this.backgroundColor.toJSON()}`)}makeHighlightable(e){var t;let n=e.classList.contains(`container`)?e:(t=e.shadowRoot)==null?void 0:t.querySelector(`.container`);if(!n||this.highlightableElementListenerMap.has(n))return;let r=()=>{n.classList.add(`highlighted`)},i=()=>{n.classList.remove(`highlighted`)};n.addEventListener(`pointerdown`,r),n.addEventListener(`pointerup`,i),this.highlightableElementListenerMap.set(n,{pointerdown:r,pointerup:i})}onPointerUp(r){var i,a,s;let c=(i=r.target)==null?void 0:i.closest(n.tag),l=(a=r.target)==null?void 0:a.closest(t.tag),u=(s=r.target)==null?void 0:s.closest(`${e.tag} ${o.tag}`),d=new CustomEvent(`BarcodeArInfoAnnotationEventTap`,{bubbles:!0});if(c){var f,p;(f=this.listener)==null||(p=f.onInfoAnnotationHeaderTapped)==null||p.call(f,this),this.dispatchEvent(d)}if(l){var m,h;(m=this.listener)==null||(h=m.onInfoAnnotationFooterTapped)==null||h.call(m,this),this.dispatchEvent(d)}if((u==null?void 0:u.slot)===`left-barcode-icon`){let e=this.body.findIndex(e=>e.contains(u));if(this.body[e].isLeftIconTappable){var g,_;(g=this.listener)==null||(_=g.onInfoAnnotationLeftIconTapped)==null||_.call(g,this,this.body[e],e),this.dispatchEvent(d)}}if((u==null?void 0:u.slot)===`right-barcode-icon`){let e=this.body.findIndex(e=>e.contains(u));if(this.body[e].isRightIconTappable){var v,y;(v=this.listener)==null||(y=v.onInfoAnnotationRightIconTapped)==null||y.call(v,this,this.body[e],e),this.dispatchEvent(d)}}if(this.isEntireAnnotationTappable){var b,x;(b=this.listener)==null||(x=b.onInfoAnnotationTapped)==null||x.call(b,this),this.dispatchEvent(d)}}};_.tag=`scandit-barcode-ar-info-annotation`;export{_ as BarcodeArInfoAnnotation,d as BarcodeArInfoAnnotationAnchor,p as BarcodeArInfoAnnotationEvent,f as BarcodeArInfoAnnotationWidthPreset};
|
|
@@ -1,49 +1,45 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import '@scandit/web-datacapture-core/build/js/private/Serializable';
|
|
7
|
-
import '../../../EncodingRange.js';
|
|
8
|
-
import '../../../StructuredAppendData.js';
|
|
9
|
-
import '@scandit/web-datacapture-core/build/js/private/utils/ScanditHTMLElement.js';
|
|
10
|
-
import './private/BarcodeArAnnotationVariation.js';
|
|
1
|
+
import { t as Barcode } from "../../../Barcode-B7a-T3RA.js";
|
|
2
|
+
import { r as BarcodeArAnnotationTrigger, t as BarcodeArAnnotation } from "../../../BarcodeArAnnotation-nsUjxSNs.js";
|
|
3
|
+
import { BarcodeArPopoverAnnotationButton } from "./BarcodeArPopoverAnnotationButton.js";
|
|
4
|
+
import { Point } from "@scandit/web-datacapture-core";
|
|
5
|
+
import { ScanditHTMLElement as ScanditHTMLElement$1 } from "@scandit/web-datacapture-core/build/js/private/utils/index.js";
|
|
11
6
|
|
|
7
|
+
//#region src/main/ar/ui/organisms/BarcodeArPopoverAnnotation.d.ts
|
|
12
8
|
interface BarcodeArPopoverAnnotationListener {
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
onPopoverButtonTapped?(popover: BarcodeArPopoverAnnotation, button: BarcodeArPopoverAnnotationButton, buttonIndex: number): void;
|
|
10
|
+
onPopoverTapped?(popover: BarcodeArPopoverAnnotation): void;
|
|
15
11
|
}
|
|
16
12
|
declare enum BarcodeArPopoverAnnotationAnchor {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
13
|
+
Top = "top-center",
|
|
14
|
+
Bottom = "bottom-center",
|
|
15
|
+
Left = "left-center",
|
|
16
|
+
Right = "right-center"
|
|
21
17
|
}
|
|
22
|
-
declare class BarcodeArPopoverAnnotation extends ScanditHTMLElement implements BarcodeArAnnotation {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
18
|
+
declare class BarcodeArPopoverAnnotation extends ScanditHTMLElement$1 implements BarcodeArAnnotation {
|
|
19
|
+
static tag: "scandit-barcode-ar-popover-annotation";
|
|
20
|
+
isEntirePopoverTappable: boolean;
|
|
21
|
+
private _barcode;
|
|
22
|
+
annotationTrigger: BarcodeArAnnotationTrigger;
|
|
23
|
+
listener?: BarcodeArPopoverAnnotationListener;
|
|
24
|
+
private onPointerUpListener;
|
|
25
|
+
anchor: BarcodeArPopoverAnnotationAnchor;
|
|
26
|
+
constructor();
|
|
27
|
+
updatePosition(point: Point, transformOrigin: Point, rotationAngle: number): void;
|
|
28
|
+
get barcode(): Barcode;
|
|
29
|
+
protected set barcode(barcode: Barcode);
|
|
30
|
+
protected set direction(direction: string);
|
|
31
|
+
protected get direction(): string;
|
|
32
|
+
static register(): void;
|
|
33
|
+
static create(barcode: Barcode): BarcodeArPopoverAnnotation;
|
|
34
|
+
private static createStyleElement;
|
|
35
|
+
connectedCallback(): void;
|
|
36
|
+
disconnectedCallback(): void;
|
|
37
|
+
private onPointerUp;
|
|
42
38
|
}
|
|
43
39
|
declare global {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
40
|
+
interface HTMLElementTagNameMap {
|
|
41
|
+
[BarcodeArPopoverAnnotation.tag]: BarcodeArPopoverAnnotation;
|
|
42
|
+
}
|
|
47
43
|
}
|
|
48
|
-
|
|
49
|
-
export { BarcodeArPopoverAnnotation, BarcodeArPopoverAnnotationAnchor,
|
|
44
|
+
//#endregion
|
|
45
|
+
export { BarcodeArPopoverAnnotation, BarcodeArPopoverAnnotationAnchor, BarcodeArPopoverAnnotationListener };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import"./BarcodeArAnnotation.js";import{updatePosition as e}from"./private/updatePosition.js";import{BarcodeArPopoverAnnotationButton as t}from"./BarcodeArPopoverAnnotationButton.js";import{ScanditHTMLElement as n,css as r,defineCustomElements as i,html as a}from"@scandit/web-datacapture-core/build/js/private/utils/index.js";let o=function(e){return e[e.Top=`top-center`]=`Top`,e[e.Bottom=`bottom-center`]=`Bottom`,e[e.Left=`left-center`]=`Left`,e[e.Right=`right-center`]=`Right`,e}({});var s=class s extends n{constructor(){super(),this.isEntirePopoverTappable=!1,this.annotationTrigger=`highlightTap`,this.onPointerUpListener=this.onPointerUp.bind(this),this.anchor=o.Bottom;let e=this.attachShadow({mode:`open`});e.innerHTML=a`<div class="container" role="group"><slot></slot></div>`,e.append(s.createStyleElement().cloneNode(!0))}updatePosition(t,n,r){e(this,t,n,0)}get barcode(){return this._barcode}set barcode(e){this._barcode=e}set direction(e){this.setAttribute(`direction`,e)}get direction(){return this.getAttribute(`direction`)??`horizontal`}static register(){i({[s.tag]:s})}static create(e){s.register();let t=document.createElement(s.tag);return t.barcode=e,t}static createStyleElement(){return r`:host{background-color:unset;border:none;border-radius:14px;margin:0;overflow:hidden;padding:0}:host([direction=horizontal]) .container{flex-direction:row}:host([direction=vertical]) .container{flex-direction:column}.container{backdrop-filter:blur(16px);background:#ffffffb3;box-shadow:0 6px 10px 4px #12161926;display:flex;gap:14px}`}connectedCallback(){let e=Array.from(this.querySelectorAll(t.tag));for(let[t,n]of Object.entries(e))n.setAttribute(`data-position`,t);this.addEventListener(`pointerup`,this.onPointerUpListener)}disconnectedCallback(){this.removeEventListener(`pointerup`,this.onPointerUpListener)}onPointerUp(e){var n,r,i;if(this.isEntirePopoverTappable){var a,o;(a=this.listener)==null||(o=a.onPopoverTapped)==null||o.call(a,this);return}let s=(n=e.target)==null?void 0:n.closest(t.tag);s&&((r=this.listener)==null||(i=r.onPopoverButtonTapped)==null||i.call(r,this,s,Number(s.getAttribute(`data-position`))))}};s.tag=`scandit-barcode-ar-popover-annotation`;export{s as BarcodeArPopoverAnnotation,o as BarcodeArPopoverAnnotationAnchor};
|