@scandit/web-datacapture-barcode 7.6.2 → 8.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/js/Barcode.d.ts +1 -1
- package/build/js/Barcode.js +1 -1
- package/build/js/BarcodeBatch.js +1 -1
- package/build/js/BarcodeBatchBasicOverlay.js +1 -1
- package/build/js/BarcodeBatchSession.js +1 -1
- package/build/js/BarcodeBatchSettings.js +1 -1
- package/build/js/BarcodeCapture.js +1 -1
- package/build/js/BarcodeCaptureOverlay.d.ts +1 -20
- package/build/js/BarcodeCaptureOverlay.js +1 -1
- package/build/js/BarcodeCaptureSession.js +1 -1
- package/build/js/BarcodeCaptureSettings.js +1 -1
- package/build/js/Defaults.d.ts +0 -3
- package/build/js/Defaults.js +1 -1
- package/build/js/PrivateBarcodeBatchBasicOverlayListener.js +1 -1
- package/build/js/{SparkScanView-CInaxmG9.d.ts → SparkScanView-B5s4PDvr.d.ts} +51 -49
- package/build/js/TrackedBarcode.d.ts +0 -2
- package/build/js/TrackedBarcode.js +1 -1
- package/build/js/ar/BarcodeAr.js +1 -1
- package/build/js/ar/BarcodeArFeedback.js +1 -1
- package/build/js/ar/BarcodeArPresenter.d.ts +1 -0
- package/build/js/ar/BarcodeArPresenter.js +1 -1
- package/build/js/ar/BarcodeArSession.js +1 -1
- package/build/js/ar/BarcodeArSettings.js +1 -1
- package/build/js/ar/BarcodeArView.d.ts +6 -4
- package/build/js/ar/BarcodeArView.js +1 -1
- package/build/js/ar/hashedId.d.ts +2 -3
- package/build/js/ar/hashedId.js +1 -1
- package/build/js/ar/ui/atoms/BarcodeArInfoAnnotationBodyComponent.js +1 -1
- package/build/js/ar/ui/atoms/BarcodeArInfoAnnotationFooter.js +1 -1
- package/build/js/ar/ui/atoms/BarcodeArInfoAnnotationHeader.js +1 -1
- package/build/js/ar/ui/atoms/private/BarcodeArInfoAnnotationHeaderFooterUtils.js +1 -1
- package/build/js/ar/ui/atoms/private/BarcodeStatusIconContainer.js +1 -1
- package/build/js/ar/ui/molecules/private/ZoomSwitchButton.js +1 -1
- package/build/js/ar/ui/organisms/BarcodeArInfoAnnotation.js +1 -1
- package/build/js/ar/ui/organisms/BarcodeArPopoverAnnotation.js +1 -1
- package/build/js/ar/ui/organisms/BarcodeArPopoverAnnotationButton.js +1 -1
- package/build/js/ar/ui/organisms/BarcodeArResponsiveAnnotation.js +1 -1
- package/build/js/ar/ui/organisms/BarcodeArStatusIconAnnotation.js +1 -1
- package/build/js/ar/ui/organisms/private/CheckLayout.js +1 -1
- package/build/js/chunks/chunk-24QH4TBX.js +1 -0
- package/build/js/chunks/chunk-2BGFR4WR.js +1 -0
- package/build/js/chunks/chunk-3KF7PG5K.js +1 -0
- package/build/js/chunks/{chunk-7JPCVI74.js → chunk-55SHUUX6.js} +1 -1
- package/build/js/chunks/chunk-5FFSTOF2.js +1 -0
- package/build/js/chunks/{chunk-XXDIFCZJ.js → chunk-5P7G47HV.js} +1 -1
- package/build/js/chunks/chunk-5Q3AHWJL.js +2 -0
- package/build/js/chunks/chunk-67E6BCDR.js +1 -0
- package/build/js/chunks/chunk-6GGHOIBF.js +1 -0
- package/build/js/chunks/chunk-6HH5VZ3E.js +1 -0
- package/build/js/chunks/{chunk-4ID5S6I7.js → chunk-B5DM7UH2.js} +1 -1
- package/build/js/chunks/chunk-BD3MEJUD.js +2 -0
- package/build/js/chunks/{chunk-HMU4GQFX.js → chunk-BNBC2BUN.js} +1 -1
- package/build/js/chunks/{chunk-3UGEG7WU.js → chunk-BVROH6QT.js} +1 -1
- package/build/js/chunks/chunk-CIJT43OI.js +2 -0
- package/build/js/chunks/{chunk-OLFIL5XY.js → chunk-CLT5UZMK.js} +1 -1
- package/build/js/chunks/chunk-CZQR5WQJ.js +1 -0
- package/build/js/chunks/chunk-DAOHHWLA.js +1 -0
- package/build/js/chunks/chunk-DSWVSQHP.js +1 -0
- package/build/js/chunks/chunk-DTXWQPGN.js +1 -0
- package/build/js/chunks/chunk-EIGI43MX.js +1 -0
- package/build/js/chunks/{chunk-VJ3VETQO.js → chunk-EOI2TZRV.js} +1 -1
- package/build/js/chunks/{chunk-LR6JSIOR.js → chunk-FD4QVJDW.js} +1 -1
- package/build/js/chunks/chunk-FLBNQU3N.js +1 -0
- package/build/js/chunks/{chunk-TFYQKG6K.js → chunk-GHZPTMU5.js} +1 -1
- package/build/js/chunks/chunk-H2OHOGYY.js +1 -0
- package/build/js/chunks/{chunk-JZLJVB6X.js → chunk-H3URAF7U.js} +1 -1
- package/build/js/chunks/chunk-H7ATXKDX.js +1 -0
- package/build/js/chunks/chunk-HHYYL23G.js +1 -0
- package/build/js/chunks/{chunk-IKMOZCI6.js → chunk-HK6GAZQL.js} +1 -1
- package/build/js/chunks/{chunk-74HYYKNV.js → chunk-HPHWNCN6.js} +1 -1
- package/build/js/chunks/{chunk-YD2VGEB5.js → chunk-HQNY4HRW.js} +1 -1
- package/build/js/chunks/chunk-I6NAW3SE.js +1 -0
- package/build/js/chunks/{chunk-6BZ6LQZN.js → chunk-ISP2EL77.js} +1 -1
- package/build/js/chunks/chunk-J6JJCRRM.js +1 -0
- package/build/js/chunks/{chunk-IHTTMWUR.js → chunk-JAFW53OO.js} +1 -1
- package/build/js/chunks/chunk-JGFR6EJT.js +1 -0
- package/build/js/chunks/chunk-JIUTBKIH.js +1 -0
- package/build/js/chunks/chunk-JUAJVG4Z.js +1 -0
- package/build/js/chunks/{chunk-ZBWUSH2F.js → chunk-K37AJSFT.js} +1 -1
- package/build/js/chunks/chunk-KELYPKGG.js +1 -0
- package/build/js/chunks/{chunk-XS6RV73B.js → chunk-KEN6J62X.js} +1 -1
- package/build/js/chunks/chunk-LDSPZMGQ.js +1 -0
- package/build/js/chunks/chunk-LS23W7YO.js +1 -0
- package/build/js/chunks/chunk-LWUFGA5M.js +1 -0
- package/build/js/chunks/chunk-MHOUYN7K.js +1 -0
- package/build/js/chunks/{chunk-5URXITXR.js → chunk-MHRGFVAW.js} +1 -1
- package/build/js/chunks/{chunk-V633PC7B.js → chunk-MPJZZO46.js} +1 -1
- package/build/js/chunks/chunk-MVLSFC5H.js +1 -0
- package/build/js/chunks/chunk-MZMVPI2R.js +1 -0
- package/build/js/chunks/{chunk-ZXTRTKEZ.js → chunk-NMXU6D43.js} +1 -1
- package/build/js/chunks/chunk-O5SUMSOC.js +1 -0
- package/build/js/chunks/{chunk-B5IOSUX4.js → chunk-OH47PSIL.js} +1 -1
- package/build/js/chunks/chunk-OSA7SQXU.js +1 -0
- package/build/js/chunks/{chunk-LTNZJEG4.js → chunk-P5CMCE4O.js} +1 -1
- package/build/js/chunks/chunk-PWOUGPGH.js +1 -0
- package/build/js/chunks/{chunk-QIOYMBBP.js → chunk-QRG4J3CL.js} +1 -1
- package/build/js/chunks/chunk-RU7XJPB3.js +1 -0
- package/build/js/chunks/chunk-RUZMLCEP.js +1 -0
- package/build/js/chunks/chunk-SDQOQ2G3.js +1 -0
- package/build/js/chunks/{chunk-D26TRBZS.js → chunk-SNPWBV7Y.js} +1 -1
- package/build/js/chunks/chunk-TC4DIIXB.js +1 -0
- package/build/js/chunks/chunk-TKSABJXC.js +1 -0
- package/build/js/chunks/{chunk-KQ3LRAYO.js → chunk-TRITJ43A.js} +2 -2
- package/build/js/chunks/chunk-TWKUTHXG.js +1 -0
- package/build/js/chunks/{chunk-LBKCNRLC.js → chunk-TZVKWSP7.js} +1 -1
- package/build/js/chunks/{chunk-YWNGCXKZ.js → chunk-V6XWYJR2.js} +1 -1
- package/build/js/chunks/{chunk-VDTD5MFE.js → chunk-VD5CFXJU.js} +1 -1
- package/build/js/chunks/chunk-WLAU6P6H.js +1 -0
- package/build/js/chunks/chunk-WLJK44YN.js +1 -0
- package/build/js/chunks/chunk-XKXYG775.js +1 -0
- package/build/js/chunks/{chunk-JKO4EZPZ.js → chunk-Z4UVSYU5.js} +1 -1
- package/build/js/chunks/{chunk-VI4LSPO6.js → chunk-ZQJQKBX6.js} +1 -1
- package/build/js/find/BarcodeFind.js +1 -1
- package/build/js/find/BarcodeFindFeedback.js +1 -1
- package/build/js/find/BarcodeFindPresenter.js +1 -1
- package/build/js/find/BarcodeFindSession.js +1 -1
- package/build/js/find/BarcodeFindSettings.js +1 -1
- package/build/js/find/BarcodeFindView.js +1 -1
- package/build/js/find/index.js +1 -1
- package/build/js/find/ui/atoms/BarcodeSvgIcon.js +1 -1
- package/build/js/find/ui/atoms/CardListButton.js +1 -1
- package/build/js/find/ui/atoms/Dot.js +1 -1
- package/build/js/find/ui/atoms/ExitSvgIcon.js +1 -1
- package/build/js/find/ui/atoms/ItemFoundSvgIcon.js +1 -1
- package/build/js/find/ui/atoms/TorchOffSvgIcon.js +1 -1
- package/build/js/find/ui/atoms/TorchOnSvgIcon.js +1 -1
- package/build/js/find/ui/molecules/CardListContainer.js +1 -1
- package/build/js/find/ui/molecules/ImageAndTextCardLayout.js +1 -1
- package/build/js/find/ui/molecules/ProgressBarWithLabel.js +1 -1
- package/build/js/find/ui/molecules/TorchIconButton.js +1 -1
- package/build/js/find/ui/organisms/FindLayout.js +1 -1
- package/build/js/index.d.ts +2 -3
- package/build/js/index.js +1 -1
- package/build/js/moduleLoader.js +1 -1
- package/build/js/private/sandbox.js +1 -1
- package/build/js/spark/SparkScan.js +1 -1
- package/build/js/spark/SparkScanAnalyticsManager.d.ts +0 -3
- package/build/js/spark/SparkScanAnalyticsManager.js +1 -1
- package/build/js/spark/SparkScanBarcodeFeedback.js +1 -1
- package/build/js/spark/SparkScanOverlay.js +1 -1
- package/build/js/spark/SparkScanSession.js +1 -1
- package/build/js/spark/SparkScanSettings.js +1 -1
- package/build/js/spark/SparkScanTargetAimerViewfinder.js +1 -1
- package/build/js/spark/index.d.ts +1 -2
- package/build/js/spark/index.js +1 -1
- package/build/js/spark/ui/SparkScanView.d.ts +1 -2
- package/build/js/spark/ui/SparkScanView.js +1 -1
- package/build/js/spark/ui/SparkScanViewFeedbackManager.js +1 -1
- package/build/js/spark/ui/SparkScanViewIcon.js +1 -1
- package/build/js/spark/ui/SparkScanViewMiniPreview.js +1 -1
- package/build/js/spark/ui/SparkScanViewPresenter.d.ts +27 -13
- package/build/js/spark/ui/SparkScanViewPresenter.js +1 -1
- package/build/js/spark/ui/SparkScanViewSettings.d.ts +0 -6
- package/build/js/spark/ui/SparkScanViewSettings.js +1 -1
- package/build/js/spark/ui/SparkScanViewStateManager.d.ts +3 -1
- package/build/js/spark/ui/SparkScanViewStateManager.js +1 -1
- package/build/js/spark/ui/SparkScanViewToast.js +1 -1
- package/build/js/spark/ui/SparkScanViewToolbar.js +1 -1
- package/build/js/spark/ui/SparkScanViewTriggerButton.js +1 -1
- package/build/js/spark/ui/SparkScanViewUiListener.d.ts +1 -2
- package/build/js/spark/ui/index.d.ts +1 -2
- package/build/js/spark/ui/index.js +1 -1
- package/build/js/worker/BarcodeArMode.d.ts +1 -2
- package/build/js/worker/BarcodeBatchMode.d.ts +1 -2
- package/build/js/worker/BarcodeCaptureMode.d.ts +1 -2
- package/build/js/worker/BarcodeCaptureWorkerManager.d.ts +1 -2
- package/build/js/worker/BarcodeCaptureWorkerManager.js +1 -1
- package/build/js/worker/BarcodeFindMode.d.ts +1 -2
- package/build/js/worker/PropertyPushSource.d.ts +0 -1
- package/build/js/worker/PropertyPushSource.js +1 -1
- package/build/js/worker/SparkScanMode.d.ts +1 -2
- package/build/js/worker/SparkScanMode.js +1 -1
- package/build/js/worker/WorkerMain.d.ts +1 -2
- package/build/js/worker/WorkerMain.js +1 -1
- package/build/js/worker/barcodeCapture.inlineWorker.js +1 -1
- package/build/js/worker/dataCaptureEngine.d.ts +1 -2
- package/build/js/worker/dataCaptureEngine.js +1 -1
- package/build/js/worker/dataCaptureWorkerRelated.d.ts +1 -2
- package/build/js/worker/index.d.ts +1 -2
- package/package.json +2 -2
- package/sdc-lib/resources/models/barcode_keypoints_oned.43a682cdf24a.model +0 -0
- package/sdc-lib/resources/models/text_semantics_ocr_detector.290bf42945e3.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/chunks/chunk-44A2C43B.js +0 -1
- package/build/js/chunks/chunk-5GGUCEGU.js +0 -18
- package/build/js/chunks/chunk-5H6MDO64.js +0 -1
- package/build/js/chunks/chunk-6UIDWTVF.js +0 -1
- package/build/js/chunks/chunk-7J6MRLL2.js +0 -5
- package/build/js/chunks/chunk-AAXGDI2V.js +0 -130
- package/build/js/chunks/chunk-AO7NE6M4.js +0 -14
- package/build/js/chunks/chunk-DOA2Q3CZ.js +0 -344
- package/build/js/chunks/chunk-DQVSIMLI.js +0 -4
- package/build/js/chunks/chunk-E5VXP5J4.js +0 -1
- package/build/js/chunks/chunk-EWLALL5J.js +0 -5
- package/build/js/chunks/chunk-FFSV4P4N.js +0 -1
- package/build/js/chunks/chunk-FY3X5JRD.js +0 -1
- package/build/js/chunks/chunk-HFXWQGKV.js +0 -6
- package/build/js/chunks/chunk-IHFZ5YLD.js +0 -1
- package/build/js/chunks/chunk-JMUNN3HX.js +0 -1
- package/build/js/chunks/chunk-JQF6P6X7.js +0 -1
- package/build/js/chunks/chunk-KAEWVPFY.js +0 -7
- package/build/js/chunks/chunk-L2JLFSNM.js +0 -1
- package/build/js/chunks/chunk-M7AZ5E5Z.js +0 -1
- package/build/js/chunks/chunk-OIFWCYQI.js +0 -4
- package/build/js/chunks/chunk-OLJXVUYE.js +0 -1
- package/build/js/chunks/chunk-OQVPV5PW.js +0 -5
- package/build/js/chunks/chunk-OTZPCIBD.js +0 -1
- package/build/js/chunks/chunk-OXYHO7V6.js +0 -1
- package/build/js/chunks/chunk-QZGFNS2K.js +0 -7
- package/build/js/chunks/chunk-R3B72E4T.js +0 -1
- package/build/js/chunks/chunk-RRDBBGFY.js +0 -1
- package/build/js/chunks/chunk-RXRQ4VLH.js +0 -1
- package/build/js/chunks/chunk-SEJXDETX.js +0 -16
- package/build/js/chunks/chunk-TVOA4PCD.js +0 -1
- package/build/js/chunks/chunk-UXI6I6RZ.js +0 -1
- package/build/js/chunks/chunk-WGZHL6TO.js +0 -16
- package/build/js/chunks/chunk-WICRT6CF.js +0 -1
- package/build/js/chunks/chunk-WRTJHOS5.js +0 -6
- package/build/js/chunks/chunk-XGPORK2H.js +0 -9
- package/build/js/chunks/chunk-XGY5EQR4.js +0 -6
- package/build/js/chunks/chunk-XLC2JHJV.js +0 -16
- package/build/js/chunks/chunk-XSJEGOGN.js +0 -41
- package/build/js/chunks/chunk-Y7MGQSD5.js +0 -2
- package/build/js/chunks/chunk-YH5IBNOK.js +0 -21
- package/build/js/chunks/chunk-YJ42KEYE.js +0 -32
- package/build/js/chunks/chunk-YQNNEW67.js +0 -117
- package/build/js/chunks/chunk-ZZ64BDE5.js +0 -211
- package/build/js/chunks/chunk-ZZQLFO35.js +0 -35
- package/build/js/spark/ui/SparkScanViewHandMode.d.ts +0 -9
- package/build/js/spark/ui/SparkScanViewHandMode.js +0 -1
- package/build/js/spark/ui/utils/html.d.ts +0 -3
- package/build/js/spark/ui/utils/html.js +0 -1
- /package/build/js/chunks/{chunk-ZHUG3MJ6.js → chunk-VFPCZE2A.js} +0 -0
package/build/js/Barcode.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ declare enum Symbology {
|
|
|
21
21
|
MaxiCode = "maxicode",
|
|
22
22
|
DotCode = "dotcode",
|
|
23
23
|
KIX = "kix",
|
|
24
|
-
|
|
24
|
+
RoyalMail4state = "royal-mail-4state",
|
|
25
25
|
GS1Databar = "databar",
|
|
26
26
|
GS1DatabarExpanded = "databarExpanded",
|
|
27
27
|
GS1DatabarLimited = "databarLimited",
|
package/build/js/Barcode.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{e as Barcode,c as Checksum,d as CompositeFlag,b as CompositeType,a as Symbology}from'./chunks/chunk-
|
|
1
|
+
export{e as Barcode,c as Checksum,d as CompositeFlag,b as CompositeType,a as Symbology}from'./chunks/chunk-2BGFR4WR.js';
|
package/build/js/BarcodeBatch.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as BarcodeBatch}from'./chunks/chunk-
|
|
1
|
+
export{a as BarcodeBatch}from'./chunks/chunk-ISP2EL77.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{b as BarcodeBatchBasicOverlay,a as BarcodeBatchBasicOverlayStyle}from'./chunks/chunk-
|
|
1
|
+
export{b as BarcodeBatchBasicOverlay,a as BarcodeBatchBasicOverlayStyle}from'./chunks/chunk-EOI2TZRV.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as BarcodeBatchSession}from'./chunks/chunk-
|
|
1
|
+
export{a as BarcodeBatchSession}from'./chunks/chunk-JAFW53OO.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as BarcodeBatchSettings}from'./chunks/chunk-
|
|
1
|
+
export{a as BarcodeBatchSettings}from'./chunks/chunk-BNBC2BUN.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as BarcodeCapture}from'./chunks/chunk-
|
|
1
|
+
export{a as BarcodeCapture}from'./chunks/chunk-HK6GAZQL.js';
|
|
@@ -20,37 +20,18 @@ interface BarcodeCaptureOverlayJSON {
|
|
|
20
20
|
drawLocalizedOnlyBarcodes: boolean;
|
|
21
21
|
shouldShowScanAreaGuides: boolean;
|
|
22
22
|
shouldRemoveLocationsAfterScan: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* @deprecated Deprecated. Will be removed in a future release.
|
|
25
|
-
*/
|
|
26
|
-
style: BarcodeCaptureOverlayStyle;
|
|
27
23
|
type: "barcodeCapture";
|
|
28
24
|
viewfinder: ViewfinderJSON;
|
|
29
25
|
}
|
|
30
|
-
/**
|
|
31
|
-
* @deprecated Deprecated. Will be removed in a future release.
|
|
32
|
-
*/
|
|
33
|
-
declare enum BarcodeCaptureOverlayStyle {
|
|
34
|
-
Frame = "frame"
|
|
35
|
-
}
|
|
36
26
|
declare class BarcodeCaptureOverlay implements DataCaptureOverlay, Serializable<BarcodeCaptureOverlayJSON> {
|
|
37
27
|
private readonly type;
|
|
38
28
|
private _brush;
|
|
39
29
|
private _shouldShowScanAreaGuides;
|
|
40
30
|
private _shouldRemoveLocationsAfterScan;
|
|
41
|
-
private _style;
|
|
42
31
|
private _viewfinder;
|
|
43
32
|
private barcodeCapture;
|
|
44
|
-
/**
|
|
45
|
-
* @deprecated Deprecated. Will be removed in a future release.
|
|
46
|
-
*/
|
|
47
|
-
get style(): BarcodeCaptureOverlayStyle;
|
|
48
33
|
static withBarcodeCapture(barcodeCapture: BarcodeCapture): Promise<BarcodeCaptureOverlay>;
|
|
49
34
|
static withBarcodeCaptureForView(barcodeCapture: BarcodeCapture, view: DataCaptureView | null): Promise<BarcodeCaptureOverlay>;
|
|
50
|
-
/**
|
|
51
|
-
* @deprecated Deprecated. Will be removed in a future release.
|
|
52
|
-
*/
|
|
53
|
-
static withBarcodeCaptureForViewWithStyle(barcodeCapture: BarcodeCapture, view: DataCaptureView | null, _style: BarcodeCaptureOverlayStyle): Promise<BarcodeCaptureOverlay>;
|
|
54
35
|
getBrush(): Brush;
|
|
55
36
|
getViewfinder(): Viewfinder | null;
|
|
56
37
|
setBrush(brush: Brush): Promise<void>;
|
|
@@ -62,4 +43,4 @@ declare class BarcodeCaptureOverlay implements DataCaptureOverlay, Serializable<
|
|
|
62
43
|
toJSONObject(): BarcodeCaptureOverlayJSON;
|
|
63
44
|
}
|
|
64
45
|
|
|
65
|
-
export { BarcodeCaptureOverlay, type BarcodeCaptureOverlayJSON
|
|
46
|
+
export { BarcodeCaptureOverlay, type BarcodeCaptureOverlayJSON };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{a as BarcodeCaptureOverlay}from'./chunks/chunk-LDSPZMGQ.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as BarcodeCaptureSession}from'./chunks/chunk-
|
|
1
|
+
export{a as BarcodeCaptureSession}from'./chunks/chunk-CLT5UZMK.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as BarcodeCaptureSettings}from'./chunks/chunk-
|
|
1
|
+
export{a as BarcodeCaptureSettings}from'./chunks/chunk-H3URAF7U.js';
|
package/build/js/Defaults.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ import { Symbology, PrivateCompositeTypeDescription } from './Barcode.js';
|
|
|
5
5
|
import { SymbologyDescription } from './SymbologyDescription.js';
|
|
6
6
|
import { SymbologySettings } from './SymbologySettings.js';
|
|
7
7
|
import { SparkScanMiniPreviewSize } from './spark/ui/SparkScanMiniPreviewSize.js';
|
|
8
|
-
import { SparkScanViewHandMode } from './spark/ui/SparkScanViewHandMode.js';
|
|
9
8
|
import '@scandit/web-datacapture-core/build/js/private/Serializable';
|
|
10
9
|
import './EncodingRange.js';
|
|
11
10
|
import './StructuredAppendData.js';
|
|
@@ -106,7 +105,6 @@ interface Defaults {
|
|
|
106
105
|
};
|
|
107
106
|
SparkScanViewSettings: {
|
|
108
107
|
triggerButtonCollapseTimeout: number;
|
|
109
|
-
defaultHandMode: SparkScanViewHandMode;
|
|
110
108
|
defaultTorchState: TorchState;
|
|
111
109
|
defaultMiniPreviewSize: SparkScanMiniPreviewSize;
|
|
112
110
|
defaultCameraPosition: CameraPosition;
|
|
@@ -214,7 +212,6 @@ interface DefaultsJSON {
|
|
|
214
212
|
};
|
|
215
213
|
SparkScanViewSettings: {
|
|
216
214
|
triggerButtonCollapseTimeout: number;
|
|
217
|
-
defaultHandMode: SparkScanViewHandMode;
|
|
218
215
|
defaultTorchState: TorchState;
|
|
219
216
|
defaultMiniPreviewSize: SparkScanMiniPreviewSize;
|
|
220
217
|
defaultCameraPosition: CameraPosition;
|
package/build/js/Defaults.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{b as defaultValues,a as defaultsFromJSON,c as setDefaults}from'./chunks/chunk-
|
|
1
|
+
export{b as defaultValues,a as defaultsFromJSON,c as setDefaults}from'./chunks/chunk-6GGHOIBF.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as PrivateBarcodeBatchBasicOverlayListener}from'./chunks/chunk-
|
|
1
|
+
export{a as PrivateBarcodeBatchBasicOverlayListener}from'./chunks/chunk-K37AJSFT.js';
|
|
@@ -15,16 +15,39 @@ interface SparkScanViewUiListener {
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
declare class SparkScanView extends ScanditHTMLElement {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
18
|
+
private _targetModeButtonVisible;
|
|
19
|
+
private _scanningBehaviorButtonVisible;
|
|
20
|
+
private _torchControlVisible;
|
|
21
|
+
private _zoomSwitchControlVisible;
|
|
22
|
+
private _previewSizeControlVisible;
|
|
23
|
+
private _barcodeFindButtonVisible;
|
|
24
|
+
private _labelCaptureButtonVisible;
|
|
25
|
+
private _cameraSwitchButtonVisible;
|
|
26
|
+
private _previewCloseControlVisible;
|
|
27
|
+
private _triggerButtonVisible;
|
|
28
|
+
private _isTorchAvailable;
|
|
29
|
+
private _isZoomAvailable;
|
|
30
|
+
private _isConnected;
|
|
31
|
+
get targetModeButtonVisible(): boolean;
|
|
32
|
+
set targetModeButtonVisible(value: boolean);
|
|
33
|
+
get scanningBehaviorButtonVisible(): boolean;
|
|
34
|
+
set scanningBehaviorButtonVisible(value: boolean);
|
|
35
|
+
get torchControlVisible(): boolean;
|
|
36
|
+
set torchControlVisible(value: boolean);
|
|
37
|
+
get zoomSwitchControlVisible(): boolean;
|
|
38
|
+
set zoomSwitchControlVisible(value: boolean);
|
|
39
|
+
get previewSizeControlVisible(): boolean;
|
|
40
|
+
set previewSizeControlVisible(value: boolean);
|
|
41
|
+
get barcodeFindButtonVisible(): boolean;
|
|
42
|
+
set barcodeFindButtonVisible(value: boolean);
|
|
43
|
+
get labelCaptureButtonVisible(): boolean;
|
|
44
|
+
set labelCaptureButtonVisible(value: boolean);
|
|
45
|
+
get cameraSwitchButtonVisible(): boolean;
|
|
46
|
+
set cameraSwitchButtonVisible(value: boolean);
|
|
47
|
+
get previewCloseControlVisible(): boolean;
|
|
48
|
+
set previewCloseControlVisible(value: boolean);
|
|
49
|
+
get triggerButtonVisible(): boolean;
|
|
50
|
+
set triggerButtonVisible(value: boolean);
|
|
28
51
|
triggerButtonCollapsedColor?: Color;
|
|
29
52
|
triggerButtonExpandedColor?: Color;
|
|
30
53
|
triggerButtonAnimationColor?: Color;
|
|
@@ -33,46 +56,14 @@ declare class SparkScanView extends ScanditHTMLElement {
|
|
|
33
56
|
toolbarIconActiveTintColor?: Color;
|
|
34
57
|
toolbarIconInactiveTintColor?: Color;
|
|
35
58
|
feedbackDelegate: SparkScanFeedbackDelegate;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* @deprecated This property is deprecated as the trigger button can now be placed anywhere on the screen.
|
|
42
|
-
*/
|
|
43
|
-
handModeButtonVisible: boolean;
|
|
44
|
-
/**
|
|
45
|
-
* @deprecated The trigger button no longer displays text.
|
|
46
|
-
*/
|
|
47
|
-
startCapturingText?: string;
|
|
48
|
-
/**
|
|
49
|
-
* @deprecated
|
|
50
|
-
*/
|
|
51
|
-
scanningCapturingText?: string;
|
|
52
|
-
/**
|
|
53
|
-
* @deprecated The trigger button no longer displays text.
|
|
54
|
-
*/
|
|
55
|
-
resumeCapturingText?: string;
|
|
56
|
-
/**
|
|
57
|
-
* @deprecated The trigger button no longer displays text.
|
|
58
|
-
*/
|
|
59
|
-
stopCapturingText?: string;
|
|
60
|
-
/**
|
|
61
|
-
* @deprecated Use `triggerButtonCollapsedColor` and `triggerButtonExpandedColor` instead.
|
|
62
|
-
*/
|
|
63
|
-
captureButtonBackgroundColor?: Color;
|
|
64
|
-
/**
|
|
65
|
-
* @deprecated This property is not relevant anymore.
|
|
66
|
-
*/
|
|
67
|
-
captureButtonActiveBackgroundColor?: Color;
|
|
68
|
-
/**
|
|
69
|
-
* @deprecated Use `triggerButtonTintColor` instead.
|
|
70
|
-
*/
|
|
71
|
-
captureButtonTintColor?: Color;
|
|
59
|
+
get dataCaptureContext(): DataCaptureContext | null;
|
|
60
|
+
set dataCaptureContext(context: DataCaptureContext | null);
|
|
61
|
+
get sparkScan(): SparkScan | null;
|
|
62
|
+
set sparkScan(sparkScan: SparkScan | null);
|
|
72
63
|
private resizeObserver;
|
|
73
64
|
private onResizeHandler;
|
|
74
|
-
private presenter;
|
|
75
65
|
private settings;
|
|
66
|
+
private presenter;
|
|
76
67
|
private miniPreview;
|
|
77
68
|
private triggerButton;
|
|
78
69
|
private visualFeedback;
|
|
@@ -102,7 +93,10 @@ declare class SparkScanView extends ScanditHTMLElement {
|
|
|
102
93
|
private get _torchDisabledMessage();
|
|
103
94
|
private get _zoomedInMessage();
|
|
104
95
|
private get _zoomedOutMessage();
|
|
96
|
+
set sparkScanViewSettings(sparkScanViewSettings: SparkScanViewSettings | null);
|
|
97
|
+
get sparkScanViewSettings(): SparkScanViewSettings | null;
|
|
105
98
|
static forElement(element: Element, context: DataCaptureContext, sparkScan: SparkScan, sparkScanViewSettings?: SparkScanViewSettings): SparkScanView;
|
|
99
|
+
static register(): void;
|
|
106
100
|
private static create;
|
|
107
101
|
private static createStyleElement;
|
|
108
102
|
prepareScanning(): Promise<void>;
|
|
@@ -114,8 +108,10 @@ declare class SparkScanView extends ScanditHTMLElement {
|
|
|
114
108
|
setTriggerButtonImage(image?: HTMLImageElement | SVGElement): void;
|
|
115
109
|
private setWidthAndHeightCssStyleProperties;
|
|
116
110
|
private onResize;
|
|
117
|
-
|
|
118
|
-
|
|
111
|
+
/**
|
|
112
|
+
* Auto-prepare scanning when properties are set and element is connected
|
|
113
|
+
*/
|
|
114
|
+
private _maybeAutoPrepareScanning;
|
|
119
115
|
private connectedCallback;
|
|
120
116
|
private disconnectedCallback;
|
|
121
117
|
private setTorchAvailable;
|
|
@@ -151,6 +147,12 @@ declare class SparkScanView extends ScanditHTMLElement {
|
|
|
151
147
|
private cameraSwitchButtonTapped;
|
|
152
148
|
private getDefaultCssVariableValue;
|
|
153
149
|
private setTriggerButtonPressedColor;
|
|
150
|
+
private readonly miniPreviewListeners;
|
|
151
|
+
private readonly triggerButtonListeners;
|
|
152
|
+
private addMiniPreviewListeners;
|
|
153
|
+
private removeMiniPreviewListeners;
|
|
154
|
+
private addTriggerButtonListeners;
|
|
155
|
+
private removeTriggerButtonListeners;
|
|
154
156
|
}
|
|
155
157
|
declare global {
|
|
156
158
|
interface HTMLElementTagNameMap {
|
|
@@ -14,14 +14,12 @@ interface TrackedBarcodeJSON {
|
|
|
14
14
|
}
|
|
15
15
|
declare class TrackedBarcode {
|
|
16
16
|
private _barcode;
|
|
17
|
-
private _deltaTime;
|
|
18
17
|
private _identifier;
|
|
19
18
|
private _location;
|
|
20
19
|
private _anchorPositions;
|
|
21
20
|
private _shouldAnimateFromPreviousToNextState;
|
|
22
21
|
private sessionFrameSequenceID?;
|
|
23
22
|
get barcode(): Barcode;
|
|
24
|
-
get deltaTime(): number;
|
|
25
23
|
get identifier(): number;
|
|
26
24
|
get location(): Quadrilateral;
|
|
27
25
|
get shouldAnimateFromPreviousToNextState(): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as TrackedBarcode}from'./chunks/chunk-
|
|
1
|
+
export{a as TrackedBarcode}from'./chunks/chunk-3KF7PG5K.js';
|
package/build/js/ar/BarcodeAr.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as BarcodeAr}from'../chunks/chunk-
|
|
1
|
+
export{a as BarcodeAr}from'../chunks/chunk-5P7G47HV.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as BarcodeArFeedback}from'../chunks/chunk-
|
|
1
|
+
export{a as BarcodeArFeedback}from'../chunks/chunk-VFPCZE2A.js';
|
|
@@ -27,6 +27,7 @@ declare class BarcodeArPresenter implements BarcodeArListener {
|
|
|
27
27
|
private torchState;
|
|
28
28
|
private cameraSupportMap;
|
|
29
29
|
private zoomFactor;
|
|
30
|
+
private cameras;
|
|
30
31
|
readonly barcodeAr: BarcodeAr;
|
|
31
32
|
constructor(view: BarcodeArView, context: DataCaptureContext, barcodeAr: BarcodeAr, viewSettings: BarcodeArViewSettings, cameraSettings: CameraSettings);
|
|
32
33
|
get currentCamera(): Camera;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as BarcodeArPresenter}from'../chunks/chunk-
|
|
1
|
+
export{a as BarcodeArPresenter}from'../chunks/chunk-DAOHHWLA.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as BarcodeArSession}from'../chunks/chunk-
|
|
1
|
+
export{a as BarcodeArSession}from'../chunks/chunk-SNPWBV7Y.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as BarcodeArSettings}from'../chunks/chunk-
|
|
1
|
+
export{a as BarcodeArSettings}from'../chunks/chunk-TZVKWSP7.js';
|
|
@@ -4,19 +4,19 @@ import { B as BarcodeAr } from '../BarcodeAr-02zxFUGP.js';
|
|
|
4
4
|
import { BarcodeArAnnotationProvider } from './BarcodeArAnnotationProvider.js';
|
|
5
5
|
import { BarcodeArHighlightProvider } from './BarcodeArHighlightProvider.js';
|
|
6
6
|
import { BarcodeArViewSettings } from './BarcodeArViewSettings.js';
|
|
7
|
+
import { BarcodeArAnnotation } from './ui/organisms/BarcodeArAnnotation.js';
|
|
8
|
+
import { BarcodeArHighlight } from './ui/organisms/BarcodeArHighlight.js';
|
|
9
|
+
import { Barcode } from '../Barcode.js';
|
|
7
10
|
import { BarcodeArViewUiListener } from './BarcodeArViewUiListener.js';
|
|
8
11
|
import '@scandit/web-datacapture-core/build/js/private/Serializable';
|
|
9
12
|
import './BarcodeArSettings.js';
|
|
10
|
-
import '../
|
|
13
|
+
import '../SymbologySettings.js';
|
|
11
14
|
import '../EncodingRange.js';
|
|
12
15
|
import '../StructuredAppendData.js';
|
|
13
|
-
import '../SymbologySettings.js';
|
|
14
16
|
import './BarcodeArFeedback.js';
|
|
15
17
|
import './BarcodeArSession.js';
|
|
16
18
|
import '../TrackedBarcode.js';
|
|
17
|
-
import './ui/organisms/BarcodeArAnnotation.js';
|
|
18
19
|
import './ui/organisms/private/BarcodeArAnnotationVariation.js';
|
|
19
|
-
import './ui/organisms/BarcodeArHighlight.js';
|
|
20
20
|
|
|
21
21
|
declare class BarcodeArView extends ScanditHTMLElement {
|
|
22
22
|
static tag: "scandit-barcode-ar-view";
|
|
@@ -53,6 +53,8 @@ declare class BarcodeArView extends ScanditHTMLElement {
|
|
|
53
53
|
static create(elementOrDataCaptureView: HTMLElement | DataCaptureView, context: DataCaptureContext, barcodeAr: BarcodeAr): Promise<BarcodeArView>;
|
|
54
54
|
private static register;
|
|
55
55
|
private static createStyleElement;
|
|
56
|
+
getHighlightForBarcode(barcode: Barcode): BarcodeArHighlight | null;
|
|
57
|
+
getAnnotationForBarcode(barcode: Barcode): BarcodeArAnnotation | null;
|
|
56
58
|
start(): Promise<void>;
|
|
57
59
|
stop(): Promise<void>;
|
|
58
60
|
pause(): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as BarcodeArView}from'../chunks/chunk-
|
|
1
|
+
export{a as BarcodeArView}from'../chunks/chunk-6HH5VZ3E.js';
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Barcode } from '../Barcode.js';
|
|
2
2
|
import '@scandit/web-datacapture-core';
|
|
3
|
-
import '../Barcode.js';
|
|
4
3
|
import '@scandit/web-datacapture-core/build/js/private/Serializable';
|
|
5
4
|
import '../EncodingRange.js';
|
|
6
5
|
import '../StructuredAppendData.js';
|
|
7
6
|
|
|
8
|
-
declare function hashedId(
|
|
7
|
+
declare function hashedId(barcode: Barcode): string;
|
|
9
8
|
|
|
10
9
|
export { hashedId };
|
package/build/js/ar/hashedId.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as hashedId}from'../chunks/chunk-
|
|
1
|
+
export{a as hashedId}from'../chunks/chunk-O5SUMSOC.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as BarcodeArInfoAnnotationBodyComponent}from'../../../chunks/chunk-
|
|
1
|
+
export{a as BarcodeArInfoAnnotationBodyComponent}from'../../../chunks/chunk-KELYPKGG.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as BarcodeArInfoAnnotationFooter}from'../../../chunks/chunk-
|
|
1
|
+
export{a as BarcodeArInfoAnnotationFooter}from'../../../chunks/chunk-FD4QVJDW.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as BarcodeArInfoAnnotationHeader}from'../../../chunks/chunk-
|
|
1
|
+
export{a as BarcodeArInfoAnnotationHeader}from'../../../chunks/chunk-MHRGFVAW.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as CONTAINER_SELECTOR,b as ICON_TEXT_SELECTOR,c as TEXT_SELECTOR,e as createStyles,d as createTemplate,h as getBackgroundColor,f as getIcon,n as getText,j as getTextColor,l as getTextSize,i as setBackgroundColor,o as setText,k as setTextColor,m as setTextSize,g as updateIcon}from'../../../../chunks/chunk-
|
|
1
|
+
export{a as CONTAINER_SELECTOR,b as ICON_TEXT_SELECTOR,c as TEXT_SELECTOR,e as createStyles,d as createTemplate,h as getBackgroundColor,f as getIcon,n as getText,j as getTextColor,l as getTextSize,i as setBackgroundColor,o as setText,k as setTextColor,m as setTextSize,g as updateIcon}from'../../../../chunks/chunk-FLBNQU3N.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as BarcodeStatusIconContainer}from'../../../../chunks/chunk-
|
|
1
|
+
export{a as BarcodeStatusIconContainer}from'../../../../chunks/chunk-SDQOQ2G3.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as ZoomSwitchButton}from'../../../../chunks/chunk-
|
|
1
|
+
export{a as ZoomSwitchButton}from'../../../../chunks/chunk-MHOUYN7K.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{d as BarcodeArInfoAnnotation,a as BarcodeArInfoAnnotationAnchor,c as BarcodeArInfoAnnotationEvent,b as BarcodeArInfoAnnotationWidthPreset}from'../../../chunks/chunk-
|
|
1
|
+
export{d as BarcodeArInfoAnnotation,a as BarcodeArInfoAnnotationAnchor,c as BarcodeArInfoAnnotationEvent,b as BarcodeArInfoAnnotationWidthPreset}from'../../../chunks/chunk-I6NAW3SE.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{b as BarcodeArPopoverAnnotation,a as BarcodeArPopoverAnnotationAnchor}from'../../../chunks/chunk-
|
|
1
|
+
export{b as BarcodeArPopoverAnnotation,a as BarcodeArPopoverAnnotationAnchor}from'../../../chunks/chunk-OH47PSIL.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as BarcodeArPopoverAnnotationButton}from'../../../chunks/chunk-
|
|
1
|
+
export{a as BarcodeArPopoverAnnotationButton}from'../../../chunks/chunk-MVLSFC5H.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as BarcodeArResponsiveAnnotation}from'../../../chunks/chunk-
|
|
1
|
+
export{a as BarcodeArResponsiveAnnotation}from'../../../chunks/chunk-QRG4J3CL.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{b as BarcodeArStatusIconAnnotation,a as BarcodeArStatusIconAnnotationAnchor}from'../../../chunks/chunk-
|
|
1
|
+
export{b as BarcodeArStatusIconAnnotation,a as BarcodeArStatusIconAnnotationAnchor}from'../../../chunks/chunk-HQNY4HRW.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as CheckLayout}from'../../../../chunks/chunk-
|
|
1
|
+
export{a as CheckLayout}from'../../../../chunks/chunk-5FFSTOF2.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {a as a$7}from'./chunk-TWKUTHXG.js';import {b}from'./chunk-LS23W7YO.js';import {b as b$1}from'./chunk-DTXWQPGN.js';import {a as a$6}from'./chunk-TKSABJXC.js';import {a}from'./chunk-HHYYL23G.js';import {a as a$8}from'./chunk-PWOUGPGH.js';import {a as a$9}from'./chunk-H2OHOGYY.js';import {a as a$2}from'./chunk-WLAU6P6H.js';import {a as a$4}from'./chunk-GHZPTMU5.js';import {a as a$5}from'./chunk-POONUNDO.js';import {b as b$2}from'./chunk-J6JJCRRM.js';import {a as a$1}from'./chunk-Z4UVSYU5.js';import {a as a$3}from'./chunk-I53W7VSB.js';import {b as b$3}from'./chunk-6GGHOIBF.js';import {Anchor,Localization,DataCaptureView,Size,Point}from'@scandit/web-datacapture-core';import {ShutterButton}from'@scandit/web-datacapture-core/build/js/private/ui/atoms/ShutterButton.js';import {ScanditHTMLElement}from'@scandit/web-datacapture-core/build/js/private/utils/ScanditHTMLElement.js';import {defineCustomElements}from'@scandit/web-datacapture-core/build/js/private/utils/defineCustomElements.js';import {html}from'@scandit/web-datacapture-core/build/js/private/utils/html.js';import {Card}from'@scandit/web-datacapture-core/build/js/private/ui/atoms/Card.js';var l={FinishButton:a$2.tag,ShutterButton:ShutterButton.tag,ProgressBarWithLabel:a.tag,CardListContainer:b$1.tag,TorchIconButton:a$1.tag},h=class h extends ScanditHTMLElement{constructor(){super(...arguments);this.shouldShowCarousel=true;this.shouldShowPauseButton=true;this.shouldShowFinishButton=true;this.shouldShowProgressBar=true;this.shouldShowTorchControl=false;this.torchControlPosition=Anchor.TopLeft;this.textForItemListUpdatedWhenPausedHint=null;this.textForItemListUpdatedHint=null;this.textForTapShutterToResumeSearchHint=null;this.textForTapShutterToPauseScreenHint=null;this.textForMoveCloserToBarcodesHint=null;this.textForPointAtBarcodesToSearchHint=null;this.textForAllItemsFoundSuccessfullyHint=null;this.textForCollapseCardsButton=Localization.getInstance().get("barcode.find.view.textForCollapseCardsButton");this.barcodeFindViewUiListener=null;this.shutterButton=null;this.finishButton=null;this.progressBar=null;this.cardList=null;this.onShutterButtonClickedHandler=this.onShutterButtonClicked.bind(this);this.onFinishButtonClickedHandler=this.onFinishButtonClicked.bind(this);this.onTorchButtonClickedHandler=this.onTorchButtonClicked.bind(this);this.torchIconButton=null;this.onDotClickHandler=this.onDotClick.bind(this);}get camera(){return this.presenter.context.frameSource}static async createWithSettings(t,o,i,s,r){let e=document.createElement(h.tag);return e.barcodeFindViewSettings=s,e.layout=b.create(),e.layout.innerHTML=html`<${a.tag} slot="progress" value="0" max="1" ${e.shouldShowProgressBar?"":"hidden"}></${a.tag}><${a$1.tag} slot="top-controls-left" ${e.shouldShowTorchControl?"":"hidden"}></${a$1.tag}><${b$1.tag} slot="card-list" hidden text-for-collapse-cards-button=${e.textForCollapseCardsButton}></${b$1.tag}><${ShutterButton.tag} slot="bottom-controls-center" variant="play" ${e.shouldShowPauseButton?"":"hidden"}></${ShutterButton.tag}><${a$2.tag} slot="bottom-controls-right" ${e.shouldShowFinishButton?"":"hidden"}></${a$2.tag}>`,e.append(e.layout),a$3(t)?(e.dataCaptureView=t,t.htmlElement.prepend(e),await o.setMode(i),await t.setContext(o)):(e.dataCaptureView=await DataCaptureView.forContext(o),e.dataCaptureView.connectToElement(t),t.prepend(e)),e.presenter=new b$2(e,o,i,s,r!=null?r:a$4.recommendedCameraSettings),await e.presenter.prepare(),e.barcodeFindBasicOverlay=await a$5.withBarcodeFind(i,e.dataCaptureView),e}static async create(t,o,i){return h.createWithSettings(t,o,i,b$3.BarcodeFind.BarcodeFindViewSettings.settings,a$4.recommendedCameraSettings)}static register(){defineCustomElements({[h.tag]:h});}async startSearching(){return this.onShutterButtonClickedHandler()}async stopSearching(){return this.presenter.stopSearching()}async pauseSearching(){return this.onShutterButtonClickedHandler()}setListener(t){this.barcodeFindViewUiListener=t,this.presenter.barcodeFindViewUiListener=this.barcodeFindViewUiListener;}async setShouldShowUserGuidanceView(t){return this.shouldShowUserGuidance=t,this.barcodeFindBasicOverlay.setUserGuidanceEnabled(this.shouldShowUserGuidance)}async setShouldShowHints(t){return this.shouldShowHints=t,this.barcodeFindBasicOverlay.setShouldShowHint(this.shouldShowHints)}setShouldShowCarousel(t){this.shouldShowCarousel=t,this.layout.toggleVisibility(l.CardListContainer,t);}setShouldShowPauseButton(t){this.shouldShowPauseButton=t,this.layout.toggleVisibility(l.ShutterButton,t);}setShouldShowFinishButton(t){this.shouldShowFinishButton=t,this.layout.toggleVisibility(l.FinishButton,t);}setShouldShowProgressBar(t){this.shouldShowProgressBar=t,this.layout.toggleVisibility(l.ProgressBarWithLabel,t);}setShouldShowTorchControl(t){this.shouldShowTorchControl=this.presenter.isTorchAvailable?t:false,this.layout.toggleVisibility(l.TorchIconButton,this.shouldShowTorchControl);}setTorchControlPosition(t){var i;this.torchControlPosition=t,[Anchor.TopCenter,Anchor.TopLeft,Anchor.TopRight,Anchor.BottomLeft].includes(t)||(this.torchControlPosition=Anchor.TopLeft);let o={[Anchor.TopCenter]:"top-controls-center",[Anchor.TopLeft]:"top-controls-left",[Anchor.TopRight]:"top-controls-right",[Anchor.BottomLeft]:"bottom-controls-left"}[this.torchControlPosition];(i=this.torchIconButton)==null||i.setAttribute("slot",o);}setTextForCollapseCardsButton(t){this.textForCollapseCardsButton=t,this.cardList!=null&&(this.cardList["text-for-collapse-cards-button"]=t);}async setTextForAllItemsFoundSuccessfullyHint(t){return this.textForAllItemsFoundSuccessfullyHint=t,this.barcodeFindBasicOverlay.setTextForAllItemsFoundSuccessfullyHint(this.textForAllItemsFoundSuccessfullyHint)}async setTextForPointAtBarcodesToSearchHint(t){return this.textForPointAtBarcodesToSearchHint=t,this.barcodeFindBasicOverlay.setTextForPointAtBarcodesToSearchHint(this.textForPointAtBarcodesToSearchHint)}async setTextForMoveCloserToBarcodesHint(t){return this.textForMoveCloserToBarcodesHint=t,this.barcodeFindBasicOverlay.setTextForPointAtBarcodesToSearchHint(this.textForMoveCloserToBarcodesHint)}async setTextForTapShutterToPauseScreenHint(t){return this.textForTapShutterToPauseScreenHint=t,this.barcodeFindBasicOverlay.setTextForPointAtBarcodesToSearchHint(this.textForTapShutterToPauseScreenHint)}async setTextForTapShutterToResumeSearchHint(t){return this.textForTapShutterToResumeSearchHint=t,this.barcodeFindBasicOverlay.setTextForTapShutterToResumeScreenHint(this.textForTapShutterToResumeSearchHint)}async setTextForItemListUpdatedWhenPausedHint(t){return this.textForItemListUpdatedWhenPausedHint=t,this.barcodeFindBasicOverlay.setTextForItemListUpdatedWhenPausedHint(this.textForItemListUpdatedWhenPausedHint)}async setTextForItemListUpdatedHint(t){return this.textForItemListUpdatedHint=t,this.barcodeFindBasicOverlay.setTextForItemListUpdatedWhenPausedHint(this.textForItemListUpdatedHint)}connectedCallback(){var t,o,i;this.shutterButton=this.layout.querySelector(l.ShutterButton),this.finishButton=this.layout.querySelector(l.FinishButton),this.progressBar=this.layout.querySelector(l.ProgressBarWithLabel),this.cardList=this.layout.querySelector(l.CardListContainer),this.torchIconButton=this.layout.querySelector(l.TorchIconButton),(t=this.torchIconButton)==null||t.addEventListener("pointerdown",this.onTorchButtonClickedHandler),(o=this.shutterButton)==null||o.addEventListener("pointerdown",this.onShutterButtonClickedHandler),(i=this.finishButton)==null||i.addEventListener("pointerdown",this.onFinishButtonClickedHandler),this.layout.addEventListener("onlayouttap",this.onDotClickHandler);}disconnectedCallback(){var t,o,i;(t=this.shutterButton)==null||t.removeEventListener("pointerdown",this.onShutterButtonClickedHandler),(o=this.torchIconButton)==null||o.addEventListener("pointerdown",this.onTorchButtonClickedHandler),(i=this.finishButton)==null||i.removeEventListener("pointerdown",this.onFinishButtonClickedHandler),this.layout.removeEventListener("onlayouttap",this.onDotClickHandler),this.presenter.dispose();}async onShutterButtonClicked(){this.presenter.onShutterButtonClicked();}async onTorchButtonClicked(){this.presenter.onTorchButtonClicked();}updateProgressBar(t,o){this.progressBar&&(this.progressBar.value!==t&&(this.progressBar.value=t),o!=null&&this.progressBar.max!==o&&(this.progressBar.max=o));}setShutterButtonPulse(t){this.shutterButton!=null&&(this.shutterButton.pulse=t);}switchToPaused(t,o){var s,r,e,u,a,m,B,w,L,P,H,x;let i=[];for(let c of t){let F=Card.create();F.id=`${String(c.uid)}`;let p=a$6.create();if(F.append(p),p.title=(r=(s=c.content)==null?void 0:s.info)!=null?r:c.searchOptions.barcodeData,((e=c.content)==null?void 0:e.additionalInfo)!=null&&(p.subtitle=(a=(u=c.content)==null?void 0:u.additionalInfo)!=null?a:""),o.find(n=>n.searchOptions.barcodeData===c.searchOptions.barcodeData)!=null){let n=a$7.create();n.slot="right",p.append(n);}if(((m=c.content)==null?void 0:m.image)==null){let n=a$8.create();n.slot="image-left",p.append(n);}else {let n=document.createElement("img");n.slot="image-left",n.src=(w=(B=c.content)==null?void 0:B.image)!=null?w:"",n.alt=(P=(L=c.content)==null?void 0:L.additionalInfo)!=null?P:"",p.append(n);}i.push(F);}(H=this.cardList)==null||H.renderCards(i),(x=this.cardList)==null||x.removeAttribute("hidden"),this.shutterButton.variant="play",this.shutterButton.pulse=false,this.toggleDotPulse(false);}moveCardOnTheFront(t){var i,s;if(!t)return;let o=(i=this.cardList)==null?void 0:i.getCardBySelector(`${Card.tag}#${t.uid}`);o!=null&&((s=this.cardList)==null||s.unshiftCard(o));}switchToStarted(){var t;this.clearDots(),(t=this.cardList)==null||t.setAttribute("hidden",""),this.shutterButton.variant="pause";}toggleTorchIcon(t){this.torchIconButton&&(this.torchIconButton.state=t);}onFinishButtonClicked(){this.presenter.onFinishButtonClicked();}clearDots(){let t=this.layout.querySelectorAll("[data-identifier]");for(let o of t)o.remove();}toggleDotPulse(t){let o=[...this.layout.querySelectorAll("[data-identifier]")];for(let i of o)i.pulse=t;}pointTransformation(t){return `translate3d(calc(${t.x}px - 50%), calc(${t.y}px - 50%), 0px)`}onDotClick(t){let o=t.detail.target;if(o.dataset.identifier!=null){for(let i of this.layout.querySelectorAll(a$9.tag))i.pulse=false,o===i&&o.variant==="target"&&(o.pulse=true);this.presenter.onDotClick(o.dataset.identifier);}}renderDots(t){var o,i,s;for(let r of t.removedTrackedBarcodes){let e=this.layout.querySelector(`[data-identifier="${r}"]`);e==null||e.remove();}if(t.addedTrackedBarcodes.length>0){let r=document.createDocumentFragment();for(let e of t.addedTrackedBarcodes){let u=this.dataCaptureView.viewAnchorPositionsForFrameAnchorPositions(e.anchorPositions),a=a$9.createWithColors(this.barcodeFindViewSettings.inListItemColor,this.barcodeFindViewSettings.notInListItemColor);a.style.setProperty("position","absolute"),a.style.setProperty("transform",this.pointTransformation(u.center)),a.dataset.identifier=`${e.identifier}`,e.barcode.data!=null&&((o=t.foundTrackedBarcodesInLastProcessedFrame[`${e.identifier}`])==null?void 0:o.barcode.data)===e.barcode.data&&(a.setAttribute("variant","target"),a.pulse=true),r.append(a);}this.layout.append(r);}for(let r of t.updatedTrackedBarcodes){let e=this.layout.querySelector(`[data-identifier="${r.identifier}"]`),{center:u}=this.dataCaptureView.viewAnchorPositionsForFrameAnchorPositions(r.anchorPositions);if(e){let a=(s=(i=this.camera)==null?void 0:i.getMirrorImageEnabled())!=null?s:false,m=new Size(this.dataCaptureView.width,this.dataCaptureView.height);e.style.setProperty("position","absolute");let B=a?Point.mirrorX(u,m):u;e.style.setProperty("transform",this.pointTransformation(B));}}}};h.tag="scandit-barcode-find-view";var y=h;y.register();export{y as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {a as a$1}from'./chunk-IEE5MKEA.js';import {a}from'./chunk-J4VFWBJ7.js';import {Quadrilateral}from'@scandit/web-datacapture-core';var l=(a=>(a.EAN13UPCA="ean13Upca",a.UPCE="upce",a.EAN8="ean8",a.Code39="code39",a.Code93="code93",a.Code128="code128",a.Code11="code11",a.Code25="code25",a.Codabar="codabar",a.InterleavedTwoOfFive="interleavedTwoOfFive",a.MSIPlessey="msiPlessey",a.QR="qr",a.DataMatrix="dataMatrix",a.Aztec="aztec",a.MaxiCode="maxicode",a.DotCode="dotcode",a.KIX="kix",a.RoyalMail4state="royal-mail-4state",a.GS1Databar="databar",a.GS1DatabarExpanded="databarExpanded",a.GS1DatabarLimited="databarLimited",a.PDF417="pdf417",a.MicroPDF417="microPdf417",a.MicroQR="microQr",a.Code32="code32",a.Lapa4SC="lapa4sc",a.IATATwoOfFive="iata2of5",a.MatrixTwoOfFive="matrix2of5",a.USPSIntelligentMail="uspsIntelligentMail",a.ArUco="aruco",a))(l||{}),D=(r=>(r.A="A",r.B="B",r.C="C",r))(D||{}),m=(i=>(i.Mod10="mod10",i.Mod11="mod11",i.Mod16="mod16",i.Mod43="mod43",i.Mod47="mod47",i.Mod103="mod103",i.Mod10AndMod11="mod1110",i.Mod10AndMod10="mod1010",i))(m||{}),g=(n=>(n.None="none",n.Unknown="unknown",n.Linked="linked",n.GS1TypeA="gs1TypeA",n.GS1TypeB="gs1TypeB",n.GS1TypeC="gs1TypeC",n))(g||{}),s=class c{get isStructuredAppend(){return this._structuredAppendData!=null}get structuredAppendData(){return this._structuredAppendData}get addOnData(){return this._addOnData}get compositeData(){return this._compositeData}get compositeFlag(){return this._compositeFlag}get compositeRawData(){return this._compositeRawData}get data(){return this._data}get encodingRanges(){return this._encodingRanges}get frameID(){return this._frameID}get isColorInverted(){return this._isColorInverted}get isGS1DataCarrier(){return this._isGS1DataCarrier}get location(){return this._location}get rawData(){return this._rawData}get symbolCount(){return this._symbolCount}get symbology(){return this._symbology}static fromJSON(e){var r;let t=new c;return t._symbology=e.symbology,t._data=e.data,t._rawData=e.rawData,t._compositeData=e.compositeData,t._compositeRawData=e.compositeRawData,t._addOnData=(r=e.addOnData)!=null?r:null,t._isGS1DataCarrier=e.isGS1DataCarrier,t._compositeFlag=e.compositeFlag,t._isColorInverted=e.isColorInverted,t._symbolCount=e.symbolCount,t._frameID=e.frameId,t._encodingRanges=e.encodingRanges.map(o=>a.fromJSON(o)),t._location=Quadrilateral.fromJSON(e.location),t._structuredAppendData=a$1.fromJSON(e.structuredAppendData),t}toJSONObject(){var e,t,r;return {symbology:this.symbology.toString(),data:this.data,rawData:this.rawData,compositeData:this.compositeData,compositeRawData:this.compositeRawData,addOnData:(e=this.addOnData)!=null?e:null,isGS1DataCarrier:this.isGS1DataCarrier,compositeFlag:this.compositeFlag.toString(),isColorInverted:this.isColorInverted,symbolCount:this.symbolCount,frameId:this.frameID,encodingRanges:this.encodingRanges.map(o=>o.toJSONObject()),location:this.location.toJSONObject(),structuredAppendData:(r=(t=this.structuredAppendData)==null?void 0:t.toJSONObject())!=null?r:null}}};export{l as a,D as b,m as c,g as d,s as e};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {e}from'./chunk-2BGFR4WR.js';import {AnchorPositions,Quadrilateral}from'@scandit/web-datacapture-core';var t=class i{get barcode(){return this._barcode}get identifier(){return this._identifier}get location(){return this._location}get shouldAnimateFromPreviousToNextState(){return this._shouldAnimateFromPreviousToNextState}get anchorPositions(){return this._anchorPositions}static fromJSON(o){let r=new i;return r._identifier=Number.parseInt(o.identifier,10),r._shouldAnimateFromPreviousToNextState=o.shouldAnimateFromPreviousToNextState,r._barcode=e.fromJSON(o.barcode),r._anchorPositions=AnchorPositions.fromJSON(o.anchorPositions),r._location=Quadrilateral.fromJSON(o.location),r}getAnchorPosition(o){return this._anchorPositions[o]}};export{t as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {a}from'./chunk-
|
|
1
|
+
import {a}from'./chunk-3KF7PG5K.js';var s=class t{constructor(){this._foundTrackedBarcodesInLastProcessedFrame={};}get foundTrackedBarcodesInLastProcessedFrame(){return this._foundTrackedBarcodesInLastProcessedFrame}get addedTrackedBarcodes(){return this._addedTrackedBarcodes}get allFoundItems(){return this._allFoundItems}get removedTrackedBarcodes(){return this._removedTrackedBarcodes}get updatedTrackedBarcodes(){return this._updatedTrackedBarcodes}get trackedBarcodes(){return this._trackedBarcodes}get frameSequenceID(){return this._frameSequenceID}static fromJSON(r){let d=new t;d._allFoundItems=r.allFoundItems,d._foundTrackedBarcodesInLastProcessedFrame=Object.entries(r.foundTrackedBarcodesInLastProcessedFrame).reduce((e,[c,o])=>(e[c]=a.fromJSON(o),e),{}),d._frameSequenceID=r.frameSequenceId,d._addedTrackedBarcodes=r.addedTrackedBarcodes.map(e=>a.fromJSON(e));for(let e of d._addedTrackedBarcodes)e.sessionFrameSequenceID=`${r.frameSequenceId}`;d._removedTrackedBarcodes=r.removedTrackedBarcodes,d._updatedTrackedBarcodes=r.updatedTrackedBarcodes.map(e=>a.fromJSON(e));for(let e of d._updatedTrackedBarcodes)e.sessionFrameSequenceID=`${r.frameSequenceId}`;return d._trackedBarcodes=Object.keys(r.trackedBarcodes).reduce((e,c)=>{let o=a.fromJSON(r.trackedBarcodes[c]);return o.sessionFrameSequenceID=`${r.frameSequenceId}`,e[c]=o,e},{}),d._frameSequenceID=r.frameSequenceId,d}};export{s as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {Anchor}from'@scandit/web-datacapture-core';import {ScanditHTMLElement,html,defineCustomElements,css}from'@scandit/web-datacapture-core/build/js/private/utils/index.js';var o=class o extends ScanditHTMLElement{constructor(){super();let l=this.attachShadow({mode:"open"});l.append(o.createStyleElement().cloneNode(true));let e=document.createElement("div");e.id="root",e.innerHTML=html`<slot></slot><div class="controls-wrapper"><div class="controls top"><div class="control left"><slot name="controls-${Anchor.TopLeft}"></slot></div><div class="control center"><slot name="controls-${Anchor.TopCenter}"></slot></div><div class="control right"><slot name="controls-${Anchor.TopRight}"></slot></div></div><div class="controls center"><div class="control left"><slot name="controls-${Anchor.CenterLeft}"></slot></div><div class="control right"><slot name="controls-${Anchor.CenterRight}"></slot></div></div><div class="controls bottom"><div class="control left"><slot name="controls-${Anchor.BottomLeft}"></slot></div><div class="control center"><slot name="controls-${Anchor.BottomCenter}"></slot></div><div class="control right"><slot name="controls-${Anchor.BottomRight}"></slot></div></div></div>`,l.append(e);}static create(){return o.register(),document.createElement(o.tag)}static register(){defineCustomElements({[o.tag]:o});}static createStyleElement(){return css`:host{position:relative}:host #root{height:100%}.controls-wrapper{box-sizing:border-box;flex-direction:column;gap:.5rem;height:100%;margin:0 auto;max-width:960px;padding:1rem}.controls,.controls-wrapper{display:flex;justify-content:space-between}.controls{align-items:center;flex-direction:row}.controls.top{align-items:start}.controls.center{align-items:center}.controls.bottom{align-items:end}.control{display:flex;flex-direction:column}`}};o.tag="scandit-check-layout";var s=o;export{s as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {a}from'./chunk-
|
|
1
|
+
import {a}from'./chunk-VFPCZE2A.js';import {a as a$1}from'./chunk-SNPWBV7Y.js';import {b}from'./chunk-EWNVCDJ6.js';import {CameraSettings,convertToPublicFrameData}from'@scandit/web-datacapture-core';import {warnMultithreadingUnavailable}from'@scandit/web-datacapture-core/build/js/private/utils/warnMultithreadingUnavailable.js';var o=class n{constructor(){this.skipSerialization=true;this.type="barcodeAr";this._isEnabled=true;this._context=null;this.listeners=new Set;this.privateListeners=new Set;this.workerMessageListener=this.onWorkerMessage.bind(this);}get context(){return this._context}static createRecommendedCameraSettings(){let e=new CameraSettings(b);return e.setProperty("grayScaleFrameReader",true),e}set context(e){this._context=e;}get allListeners(){return [...this.privateListeners,...this.listeners]}static async forContext(e,t){warnMultithreadingUnavailable();let r=new n;return r.feedback=await a.createDefaultBarcodeArFeedback(),r.settings=t,await e.setMode(r),r}isEnabled(){return this._isEnabled}addListener(e){this.listeners.add(e);}removeListener(e){this.listeners.delete(e);}set feedback(e){this._feedback=e;}get feedback(){return this._feedback}async setEnabled(e){var t;this._isEnabled=e,await this.workerCommand("barcodeArSetEnabled",{enabled:e}),await((t=this.context)==null?void 0:t.update([{type:"modeEnabled",newValue:e}],{updateContext:false}));}async applySettings(e){this.settings=e,await this.workerCommand("barcodeArApplySettings",{settings:e.toJSONObject()});}toJSONObject(){return {type:this.type,enabled:this._isEnabled,settings:this.settings.toJSONObject()}}async attachedToContext(e){this._context=e,this._context.subscribeToWorkerMessages(this.workerMessageListener),await this.workerCommand("barcodeArForSettings",{settings:this.settings.toJSONObject()});}async detachedFromContext(){var e;await this.workerCommand("barcodeArModeRemove",{}),(e=this._context)==null||e.unsubscribeToWorkerMessages(this.workerMessageListener),this._context=null;}async start(){return this.workerCommand("barcodeArSearchStart",{})}async stop(){return this.workerCommand("barcodeArSearchStop",{})}async pause(){return this.workerCommand("barcodeArSearchPause",{})}async workerCommand(e,t){this.context!=null&&await this.context.workerCommand(e,t);}addPrivateListener(e){this.privateListeners.add(e);}removePrivateListener(e){this.privateListeners.delete(e);}async onWorkerMessage(e){var t;switch(e.type){case "barcodeArDidUpdateSession":{if(!this._isEnabled||!this._context)return;for(let r of this.allListeners)(t=r.didUpdateSession)==null||t.call(r,this,a$1.fromJSON(e.payload.session),convertToPublicFrameData(e.payload.frameData,this._context));break}}}};export{o as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import {h as h$1}from'./chunk-4JEIREAU.js';import {a}from'./chunk-YBD5JYCX.js';import {ScanditHTMLElement,html,defineCustomElements}from'@scandit/web-datacapture-core/build/js/private/utils/index.js';var C=class C extends ScanditHTMLElement{constructor(){super(...arguments);this.icons={scanner:()=>html`<svg width="${this.size}" height="${this.heightForViewbox(32,32)}" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M3.69858 5.22983C3.69858 4.55065 4.263 4.00006 4.95924 4.00006H10.055C10.7512 4.00006 11.3156 4.55065 11.3156 5.22983C11.3156 5.90902 10.7512 6.45961 10.055 6.45961H6.2199V10.2007C6.2199 10.8799 5.65549 11.4305 4.95924 11.4305C4.263 11.4305 3.69858 10.8799 3.69858 10.2007V5.22983ZM20.6844 5.22983C20.6844 4.55065 21.2488 4.00006 21.945 4.00006H27.0408C27.737 4.00006 28.3014 4.55065 28.3014 5.22983V10.2007C28.3014 10.8799 27.737 11.4305 27.0408 11.4305C26.3445 11.4305 25.7801 10.8799 25.7801 10.2007V6.45961H21.945C21.2488 6.45961 20.6844 5.90902 20.6844 5.22983ZM2 16.0001C2 15.3209 2.56442 14.7703 3.26066 14.7703H28.7393C29.4356 14.7703 30 15.3209 30 16.0001C30 16.6792 29.4356 17.2298 28.7393 17.2298H3.26066C2.56442 17.2298 2 16.6792 2 16.0001ZM4.95924 20.5696C5.65549 20.5696 6.2199 21.1202 6.2199 21.7994V25.5405H10.055C10.7512 25.5405 11.3156 26.0911 11.3156 26.7703C11.3156 27.4495 10.7512 28.0001 10.055 28.0001H4.95924C4.263 28.0001 3.69858 27.4495 3.69858 26.7703V21.7994C3.69858 21.1202 4.263 20.5696 4.95924 20.5696ZM27.0408 20.5696C27.737 20.5696 28.3014 21.1202 28.3014 21.7994V26.7703C28.3014 27.4495 27.737 28.0001 27.0408 28.0001H21.945C21.2488 28.0001 20.6844 27.4495 20.6844 26.7703C20.6844 26.0911 21.2488 25.5405 21.945 25.5405H25.7801V21.7994C25.7801 21.1202 26.3445 20.5696 27.0408 20.5696Z" fill="${this.fill}" style=""/></svg>`,expand:()=>html`<svg width="${this.size}" height="${this.heightForViewbox(14,14)}" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M5.46232 7.53028C5.75521 7.23738 6.23008 7.23738 6.52298 7.53028C6.81587 7.82317 6.81587 8.29804 6.52298 8.59094L2.86397 12.2499H5.5C5.91421 12.2499 6.25 12.5857 6.25 12.9999C6.25 13.4142 5.91421 13.7499 5.5 13.7499H1C0.948223 13.7499 0.897672 13.7447 0.848849 13.7347C0.507086 13.6648 0.25 13.3624 0.25 12.9999V8.49995C0.25 8.08573 0.585786 7.74995 1 7.74995C1.41421 7.74995 1.75 8.08573 1.75 8.49995V11.2426L5.46232 7.53028Z" fill="${this.fill}" style=""/><path fill-rule="evenodd" clip-rule="evenodd" d="M8.84283 6.08313C8.54994 6.37602 8.07506 6.37602 7.78217 6.08313C7.48928 5.79023 7.48928 5.31536 7.78217 5.02246L11.0545 1.75017L8.5 1.75017C8.08579 1.75017 7.75 1.41439 7.75 1.00017C7.75 0.58596 8.08579 0.250174 8.5 0.250174L13 0.250174C13.4142 0.250174 13.75 0.58596 13.75 1.00017L13.75 5.50017C13.75 5.91439 13.4142 6.25017 13 6.25017C12.5858 6.25017 12.25 5.91439 12.25 5.50017L12.25 2.67596L8.84283 6.08313Z" fill="${this.fill}" style=""/></svg>`,shrink:()=>html`<svg width="${this.size}" height="${this.heightForViewbox(18,18)}" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg" style=""><path fill-rule="evenodd" clip-rule="evenodd" d="M1.70694 17.7096C1.31642 18.1002 0.683255 18.1002 0.29273 17.7096C-0.0977935 17.3191 -0.0977935 16.6859 0.29273 16.2954L5.17662 11.4115L1.65674 11.4115C1.10445 11.4115 0.656738 10.9638 0.656738 10.4115C0.656738 9.85925 1.10445 9.41154 1.65674 9.41154L7.65674 9.41154C8.20902 9.41154 8.65674 9.85925 8.65674 10.4115C8.65674 10.4124 8.65674 10.4133 8.65674 10.4141C8.65674 10.415 8.65674 10.4159 8.65674 10.4167L8.65674 16.4167C8.65674 16.969 8.20902 17.4167 7.65674 17.4167C7.10445 17.4167 6.65674 16.969 6.65674 16.4167L6.65674 12.7598L1.70694 17.7096Z" fill="${this.fill}" style=""/><path fill-rule="evenodd" clip-rule="evenodd" d="M16.2929 0.290513C16.6834 -0.100011 17.3166 -0.100012 17.7071 0.290513C18.0976 0.681037 18.0976 1.3142 17.7071 1.70473L13.3388 6.07299L16.75 6.07299C17.3023 6.07299 17.75 6.5207 17.75 7.07299C17.75 7.62527 17.3023 8.07299 16.75 8.07299H10.75C10.1977 8.07299 9.75 7.62527 9.75 7.07299V1.07299C9.75 0.520705 10.1977 0.0729893 10.75 0.0729893C11.3023 0.0729893 11.75 0.520705 11.75 1.07299V4.83341L16.2929 0.290513Z" fill="${this.fill}" style=""/></svg>`,aimer:()=>html`<svg width="${this.size}" height="${this.heightForViewbox(24,24)}" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 6.10352e-05C11.1716 6.10352e-05 10.5 0.671634 10.5 1.50006V6.50006C10.5 7.32849 11.1716 8.00006 12 8.00006C12.8284 8.00006 13.5 7.32849 13.5 6.50006V1.50006C13.5 0.671634 12.8284 6.10352e-05 12 6.10352e-05ZM16 11.5001C16 12.3285 16.6716 13.0001 17.5 13.0001H22.5C23.3284 13.0001 24 12.3285 24 11.5001C24 10.6716 23.3284 10.0001 22.5 10.0001H17.5C16.6716 10.0001 16 10.6716 16 11.5001ZM10.5 17.5001C10.5 16.6716 11.1716 16.0001 12 16.0001C12.8284 16.0001 13.5 16.6716 13.5 17.5001V22.5001C13.5 23.3285 12.8284 24.0001 12 24.0001C11.1716 24.0001 10.5 23.3285 10.5 22.5001V17.5001ZM0 11.5001C0 12.3285 0.671573 13.0001 1.5 13.0001H6.5C7.32843 13.0001 8 12.3285 8 11.5001C8 10.6716 7.32843 10.0001 6.5 10.0001H1.5C0.671573 10.0001 0 10.6716 0 11.5001Z" fill="${this.fill}" style=""/></svg>`,torchOff:()=>html`<svg width="${this.size}" height="${this.heightForViewbox(18,25)}" viewBox="0 0 18 25" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5.99965 24.5001C5.85357 24.4995 5.70938 24.467 5.57725 24.4046C5.44513 24.3423 5.32828 24.2518 5.23496 24.1394C5.14164 24.027 5.07411 23.8955 5.03714 23.7541C5.00017 23.6128 4.99466 23.4651 5.02099 23.3214L6.80765 13.4987H2.00765C1.85299 13.5004 1.70007 13.4659 1.56102 13.3982C1.42197 13.3305 1.3006 13.2313 1.20654 13.1085C1.11248 12.9857 1.0483 12.8427 1.01911 12.6908C0.989907 12.5389 0.996486 12.3823 1.03832 12.2334L2.61432 6.45739L0.292987 4.13739C0.105391 3.9498 -2.7954e-09 3.69536 0 3.43006C2.79541e-09 3.16476 0.105391 2.91032 0.292987 2.72273C0.480584 2.53513 0.735019 2.42974 1.00032 2.42974C1.26562 2.42974 1.52006 2.53513 1.70765 2.72273L17.2637 18.2774C17.3619 18.3689 17.4407 18.4793 17.4954 18.602C17.55 18.7247 17.5794 18.8571 17.5818 18.9914C17.5841 19.1256 17.5594 19.259 17.5092 19.3835C17.4589 19.508 17.384 19.6212 17.289 19.7161C17.1941 19.8111 17.081 19.8859 16.9565 19.9362C16.8319 19.9865 16.6986 20.0112 16.5643 20.0089C16.43 20.0065 16.2976 19.9771 16.1749 19.9224C16.0523 19.8678 15.9419 19.789 15.8503 19.6907L12.1863 16.0281L6.83565 24.0534C6.74421 24.1913 6.61994 24.3043 6.47402 24.3822C6.3281 24.4602 6.1651 24.5007 5.99965 24.5001ZM14.4503 12.6334L3.82899 2.01206L4.04099 1.23873C4.0984 1.02666 4.22406 0.839402 4.39854 0.70589C4.57302 0.572378 4.78662 0.500042 5.00632 0.500061L11.9997 0.500061C12.1547 0.501379 12.3073 0.538102 12.446 0.607427C12.5846 0.676752 12.7056 0.776844 12.7997 0.900061C12.893 1.02388 12.9564 1.16772 12.9846 1.32021C13.0128 1.47271 13.0052 1.62968 12.9623 1.77873L11.333 7.50006H15.9997C16.1807 7.50033 16.3583 7.54963 16.5136 7.64271C16.6689 7.7358 16.7961 7.8692 16.8817 8.02876C16.9673 8.18832 17.0081 8.36808 16.9998 8.54895C16.9914 8.72983 16.9342 8.90506 16.8343 9.05606L14.453 12.6334H14.4503Z" fill="${this.fill}" style=""/></svg>`,torchOn:()=>html`<svg width="${this.size}" height="${this.heightForViewbox(16,25)}" viewBox="0 0 16 25" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15.0072 7.00265H10.3321L11.9687 1.27515C12.0113 1.12618 12.0187 0.969359 11.9903 0.817052C11.9619 0.664746 11.8985 0.521115 11.8051 0.397482C11.7118 0.273849 11.5909 0.173593 11.4522 0.104616C11.3135 0.0356387 11.1606 -0.000174023 11.0057 6.35801e-07H4.00306C3.78345 -9.74579e-05 3.5699 0.0720732 3.39538 0.205378C3.22085 0.338682 3.09504 0.525713 3.03736 0.737613L0.0362252 11.7378C-0.00491183 11.8864 -0.0111074 12.0426 0.0181227 12.1941C0.0473529 12.3456 0.111217 12.4882 0.204723 12.6109C0.298228 12.7336 0.418842 12.833 0.557137 12.9014C0.695432 12.9697 0.84766 13.0052 1.00192 13.0049H5.80374L4.01906 22.83C3.97674 23.0569 4.01421 23.2915 4.12511 23.494C4.23602 23.6964 4.41353 23.8543 4.62756 23.9408C4.84158 24.0273 5.07894 24.0372 5.29939 23.9687C5.51984 23.9002 5.70981 23.7575 5.83708 23.5649L15.8409 8.55924C15.9417 8.40847 15.9997 8.23313 16.0085 8.05196C16.0174 7.87079 15.9769 7.69062 15.8912 7.53073C15.8056 7.37083 15.6781 7.23723 15.5224 7.14421C15.3667 7.05119 15.1886 7.00226 15.0072 7.00265Z" fill="${this.fill}" style=""/></svg>`,handle:()=>html`<svg width="${this.size}" height="${this.heightForViewbox(14,6)}" viewBox="0 0 14 6" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="1" cy="1" r="1" fill="${this.fill}" style=""/><circle cx="5" cy="1" r="1" fill="${this.fill}" style=""/><circle cx="9" cy="1" r="1" fill="${this.fill}" style=""/><circle cx="13" cy="1" r="1" fill="${this.fill}" style=""/><circle cx="1" cy="5" r="1" fill="${this.fill}" style=""/><circle cx="5" cy="5" r="1" fill="${this.fill}" style=""/><circle cx="9" cy="5" r="1" fill="${this.fill}" style=""/><circle cx="13" cy="5" r="1" fill="${this.fill}" style=""/></svg>`,continuous:()=>html`<svg width="${this.size}" height="${this.heightForViewbox(32,32)}" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.42499 3.93896C5.21585 3.93896 3.42499 5.72983 3.42499 7.93896V11.2723C3.42499 12.0087 4.02194 12.6056 4.75832 12.6056C5.4947 12.6056 6.09165 12.0087 6.09165 11.2723V7.93896C6.09165 7.20259 6.68861 6.60563 7.42499 6.60563H23.425C24.1614 6.60563 24.7583 7.20259 24.7583 7.93896V11.7876H22.8274C22.2742 11.7876 21.9617 12.4225 22.2991 12.8609L25.5634 17.1013C25.8303 17.448 26.3531 17.448 26.62 17.1013L29.8843 12.8609C30.2217 12.4225 29.9092 11.7876 29.356 11.7876H27.425V7.93896C27.425 5.72983 25.6341 3.93896 23.425 3.93896H7.42499Z" fill="${this.fill}" style=""/><path d="M23.5988 28.0001C25.808 28.0001 27.5988 26.2093 27.5988 24.0001V20.6668C27.5988 19.9304 27.0019 19.3335 26.2655 19.3335C25.5291 19.3335 24.9321 19.9304 24.9321 20.6668V24.0001C24.9321 24.7365 24.3352 25.3335 23.5988 25.3335L7.59882 25.3335C6.86244 25.3335 6.26548 24.7365 6.26548 24.0001L6.26548 19.3335H8.19646C8.74969 19.3335 9.06219 18.6985 8.72473 18.2601L5.46045 14.0197C5.19358 13.673 4.67078 13.673 4.40391 14.0197L1.13962 18.2601C0.802159 18.6985 1.11467 19.3335 1.66789 19.3335H3.59882L3.59882 24.0001C3.59882 26.2093 5.38968 28.0001 7.59882 28.0001L23.5988 28.0001Z" fill="${this.fill}" style=""/><path d="M12.6468 18.728C13.669 18.728 14.4697 18.2723 15.3942 17.133L15.4854 17.0288L15.5765 17.133C16.501 18.2723 17.3018 18.728 18.3239 18.728C19.9059 18.728 21.0843 17.5561 21.0843 16.0067V15.9936C21.0843 14.4442 19.9059 13.2723 18.3239 13.2723C17.3018 13.2723 16.501 13.7345 15.5765 14.8673L15.4854 14.978L15.3942 14.8673C14.4697 13.7345 13.669 13.2723 12.6468 13.2723C11.0648 13.2723 9.88641 14.4442 9.88641 15.9936V16.0067C9.88641 17.5561 11.0648 18.728 12.6468 18.728ZM12.738 17.3804C11.9242 17.3804 11.3447 16.8009 11.3447 16.0067V15.9936C11.3447 15.2059 11.9242 14.6199 12.738 14.6199C13.376 14.6199 13.8382 14.9585 14.5934 15.896L14.6781 16.0001L14.5934 16.1043C13.8382 17.0418 13.376 17.3804 12.738 17.3804ZM18.2328 17.3804C17.5947 17.3804 17.1325 17.0418 16.3773 16.1043L16.2927 16.0001L16.3773 15.896C17.1325 14.9585 17.5947 14.6199 18.2328 14.6199C19.0466 14.6199 19.626 15.2059 19.626 15.9936V16.0067C19.626 16.8009 19.0466 17.3804 18.2328 17.3804Z" fill="${this.fill}" style=""/></svg>`,close:()=>html`<svg width="${this.size}" height="${this.heightForViewbox(10,10)}" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L5 5L9 9" stroke="${this.fill}" stroke-width="2" stroke-linecap="round" style=""/><path d="M1 9L5 5L9 1" stroke="${this.fill}" stroke-width="2" stroke-linecap="round" style=""/></svg>`,find:()=>html`<svg width="${this.size}" height="${this.heightForViewbox(22,22)}" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5 2C3.34315 2 2 3.34315 2 5V8H4V5C4 4.44772 4.44772 4 5 4H8V2H5Z" fill="${this.fill}" style=""/><path d="M14 2V4H17C17.5523 4 18 4.44772 18 5V8H20V5C20 3.34315 18.6569 2 17 2H14Z" fill="${this.fill}" style=""/><path d="M8 18H5C4.44772 18 4 17.5523 4 17V14H2V17C2 18.6569 3.34315 20 5 20H8V18Z" fill="${this.fill}" style=""/><path d="M14 20H17C18.6569 20 20 18.6569 20 17V14H18V17C18 17.5523 17.5523 18 17 18H14V20Z" fill="${this.fill}" style=""/><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5215 14.5215C11.9137 14.8276 11.227 15 10.5 15C8.01472 15 6 12.9853 6 10.5C6 8.01472 8.01472 6 10.5 6C11.1815 6 11.8276 6.1515 12.4066 6.42266C13.9387 7.14034 15 8.69623 15 10.5C15 11.5315 14.653 12.4819 14.0693 13.2409L15.6426 14.8142C16.0332 15.2047 16.0332 15.8379 15.6426 16.2284C15.2521 16.6189 14.6189 16.6189 14.2284 16.2284L12.5215 14.5215ZM13 10.5C13 11.8807 11.8807 13 10.5 13C9.11929 13 8 11.8807 8 10.5C8 9.11929 9.11929 8 10.5 8C10.8823 8 11.2393 8.08445 11.5582 8.23382C12.414 8.63468 13 9.50094 13 10.5Z" fill="${this.fill}" style=""/></svg>`,camera:()=>html`<svg width="${this.size}" height="${this.heightForViewbox(25,25)}" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.0397 10.8609C11.3009 10.8609 10.7019 11.4687 10.7019 12.2185C10.7019 12.9683 11.3009 13.5761 12.0397 13.5761C12.7785 13.5761 13.3775 12.9683 13.3775 12.2185C13.3775 11.4687 12.7785 10.8609 12.0397 10.8609ZM8.02637 12.2185C8.02637 9.9691 9.8232 8.14563 12.0397 8.14563C14.2562 8.14563 16.053 9.9691 16.053 12.2185C16.053 14.4678 14.2562 16.2913 12.0397 16.2913C9.8232 16.2913 8.02637 14.4678 8.02637 12.2185Z" fill="${this.fill}" style=""/><path fill-rule="evenodd" clip-rule="evenodd" d="M18.0166 8.84792C18.4042 9.24131 19.0374 9.24596 19.4308 8.85832C19.8242 8.47068 19.8288 7.83754 19.4412 7.44415L18.7949 6.78827H20.0666C20.8054 6.78827 21.4044 7.39609 21.4044 8.14588V17.6492C21.4044 18.399 20.8054 19.0068 20.0666 19.0068H12.0399C11.3011 19.0068 10.7021 19.6146 10.7021 20.3644C10.7021 21.1142 11.3011 21.722 12.0399 21.722H20.0666C22.2831 21.722 24.08 19.8985 24.08 17.6492V8.14588C24.08 5.89651 22.2831 4.07304 20.0666 4.07304H18.7952L19.4412 3.41746C19.8288 3.02407 19.8242 2.39093 19.4308 2.00329C19.0374 1.61565 18.4042 1.6203 18.0166 2.01369L15.341 4.72892C14.9574 5.11822 14.9574 5.74339 15.341 6.13269L18.0166 8.84792Z" fill="${this.fill}" style=""/><path fill-rule="evenodd" clip-rule="evenodd" d="M8.02668 3.39404C8.02668 3.01914 8.32615 2.71523 8.69557 2.71523H14.7156C15.4544 2.71523 16.0534 2.1074 16.0534 1.35761C16.0534 0.607825 15.4544 0 14.7156 0H8.69557C6.84848 0 5.35112 1.51956 5.35112 3.39404C5.35112 3.76893 5.05165 4.07284 4.68223 4.07284H4.01334C1.79683 4.07284 0 5.89632 0 8.14569V17.649C0 19.8984 1.79683 21.7218 4.01334 21.7218H5.28453L4.63866 22.3773C4.25102 22.7707 4.25568 23.4038 4.64907 23.7915C5.04245 24.1791 5.6756 24.1744 6.06324 23.781L8.7388 21.0658C9.12242 20.6765 9.12242 20.0513 8.7388 19.662L6.06324 16.9468C5.6756 16.5534 5.04245 16.5488 4.64907 16.9364C4.25568 17.3241 4.25102 17.9572 4.63866 18.3506L5.28509 19.0066H4.01334C3.2745 19.0066 2.67556 18.3988 2.67556 17.649V8.14569C2.67556 7.3959 3.2745 6.78807 4.01334 6.78807H4.68223C6.52932 6.78807 8.02668 5.26851 8.02668 3.39404Z" fill="${this.fill}" style=""/></svg>`,label:()=>html`<svg width="${this.size}" height="${this.heightForViewbox(24,24)}" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6 3C4.34315 3 3 4.34315 3 6V9H5V6C5 5.44772 5.44772 5 6 5H9V3H6Z" fill="${this.fill}" style=""/><path d="M15 3V5H18C18.5523 5 19 5.44772 19 6V9H21V6C21 4.34315 19.6569 3 18 3H15Z" fill="${this.fill}" style=""/><path d="M9 19H6C5.44772 19 5 18.5523 5 18V15H3V18C3 19.6569 4.34315 21 6 21H9V19Z" fill="${this.fill}" style=""/><path d="M15 21H18C19.6569 21 21 19.6569 21 18V15H19V18C19 18.5523 18.5523 19 18 19H15V21Z" fill="${this.fill}" style=""/><path d="M13.1538 17H9C7.89543 17 7 16.1046 7 15V9C7 7.89543 7.89543 7 9 7H15C16.1046 7 17 7.89543 17 9V13.6667V14.9999C17 16.1045 16.1046 16.9999 15.0001 16.9999L13.1538 17Z" stroke="${this.fill}" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M10.1426 11H13.1426" stroke="#3D4852" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M10 14H11.4286" stroke="#3D4852" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`};}get icon(){var i;return (i=this.getAttribute("icon"))!=null?i:"scanner"}set icon(i){this.setAttribute("icon",i);}get fill(){var i;return (i=this.getAttribute("fill"))!=null?i:"black"}set fill(i){this.setAttribute("fill",i);}get size(){var i;return Number((i=this.getAttribute("size"))!=null?i:"32")}set size(i){this.setAttribute("size",i.toString());}get[h$1](){return this.getAttribute(h$1)}set[h$1](i){i==null?this.removeAttribute(h$1):this.setAttribute(h$1,i);}static create(){return defineCustomElements({[a]:C}),document.createElement(a)}render(){this.innerHTML=html`${this.icons[this.icon]()}<style>${a}{display:flex}</style>`;}aspectRatioForViewbox(i,l){return l/i}heightForViewbox(i,l){return this.size*this.aspectRatioForViewbox(i,l)}connectedCallback(){this.render();}attributeChangedCallback(i,l,r){r!==l&&this.render();}};C.observedAttributes=["icon","fill","size",h$1];var h=C;
|
|
2
|
+
export{h as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {a}from'./chunk-QKP2VQEV.js';var t=(o=>(o.TorchState="torch_state",o.ScanningMode="scanning_mode",o.SoundEnabled="sound_enabled",o.HapticEnabled="haptic_enabled",o.SessionStopReason="session_stop_reason",o.CameraPosition="camera_position",o))(t||{}),r={torch_state:new a("torch_state"),scanning_mode:new a("scanning_mode"),sound_enabled:new a("sound_enabled"),haptic_enabled:new a("haptic_enabled"),session_stop_reason:new a("session_stop_reason"),camera_position:new a("camera_position")},n=class{getBehaviorSubject(a){return r[a]}};export{t as a,n as b};
|