@scandit/web-datacapture-label 7.2.2 → 7.3.0

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.
Files changed (157) hide show
  1. package/build/js/{LabelCapture-B8_5_uoB.d.ts → LabelCapture-DDlDP--7.d.ts} +2 -1
  2. package/build/js/{LabelCaptureAdvancedOverlay-RkZkRrRD.d.ts → LabelCaptureAdvancedOverlay-CQsy_KsL.d.ts} +2 -2
  3. package/build/js/{LabelCaptureBasicOverlay-BcFyOGaf.d.ts → LabelCaptureBasicOverlay-4JorH1kZ.d.ts} +2 -2
  4. package/build/js/{NativeProxy-BgHIn4CU.d.ts → NativeProxy-CsndagT7.d.ts} +4 -3
  5. package/build/js/api/CustomText.d.ts +2 -2
  6. package/build/js/api/CustomTextBuilder.d.ts +2 -2
  7. package/build/js/api/ExpiryDateText.d.ts +1 -1
  8. package/build/js/api/ExpiryDateTextBuilder.d.ts +1 -1
  9. package/build/js/api/LabelCapture.d.ts +3 -3
  10. package/build/js/api/LabelCapture.js +1 -1
  11. package/build/js/api/LabelCaptureAdvancedOverlay.d.ts +4 -4
  12. package/build/js/api/LabelCaptureAdvancedOverlayListener.d.ts +4 -4
  13. package/build/js/api/LabelCaptureBasicOverlay.d.ts +4 -4
  14. package/build/js/api/LabelCaptureBasicOverlayListener.d.ts +4 -4
  15. package/build/js/api/LabelCaptureListener.d.ts +3 -3
  16. package/build/js/api/LabelCaptureOverlayJSON.d.ts +2 -2
  17. package/build/js/api/LabelCaptureSession.d.ts +1 -1
  18. package/build/js/api/LabelCaptureSettings.d.ts +4 -2
  19. package/build/js/api/LabelCaptureSettings.js +1 -1
  20. package/build/js/api/LabelDefinition.d.ts +2 -2
  21. package/build/js/api/PackingDateText.d.ts +1 -1
  22. package/build/js/api/PackingDateTextBuilder.d.ts +1 -1
  23. package/build/js/api/TotalPriceText.d.ts +2 -2
  24. package/build/js/api/TotalPriceTextBuilder.d.ts +2 -2
  25. package/build/js/api/UnitPriceText.d.ts +2 -2
  26. package/build/js/api/UnitPriceTextBuilder.d.ts +2 -2
  27. package/build/js/api/WeightText.d.ts +2 -2
  28. package/build/js/api/WeightTextBuilder.d.ts +2 -2
  29. package/build/js/chunks/{chunk-Y3KV6YYP.js → chunk-7A4I3E3E.js} +1 -1
  30. package/build/js/chunks/chunk-BJFWGOUS.js +1 -1
  31. package/build/js/chunks/chunk-CT6CX2MP.js +1 -0
  32. package/build/js/chunks/chunk-CWOXTL6A.js +1 -0
  33. package/build/js/chunks/chunk-F5NT65XG.js +1 -1
  34. package/build/js/chunks/chunk-GRFWM6G6.js +1 -1
  35. package/build/js/chunks/chunk-IASWN2Y3.js +1 -0
  36. package/build/js/chunks/chunk-IE6L7ZGI.js +1 -1
  37. package/build/js/chunks/chunk-ITCVLCCT.js +1 -0
  38. package/build/js/chunks/chunk-JO7OMLH3.js +1 -0
  39. package/build/js/chunks/{chunk-KTDVOWK7.js → chunk-MA225ZHV.js} +1 -1
  40. package/build/js/chunks/chunk-OQKY2KJB.js +2 -0
  41. package/build/js/chunks/chunk-VRBAAE3G.js +1 -0
  42. package/build/js/chunks/chunk-WPUYG3ZF.js +1 -0
  43. package/build/js/chunks/chunk-XDPQXJ7N.js +1 -1
  44. package/build/js/chunks/chunk-XPMYDYJA.js +1 -1
  45. package/build/js/chunks/chunk-ZRDTJCIB.js +1 -0
  46. package/build/js/chunks/chunk-ZRE7NHAY.js +6 -0
  47. package/build/js/djinni-types/sdcCoreInternalSdkCommonGeometry.d.ts +1 -1
  48. package/build/js/djinni-types/sdcCoreInternalSdkOcr.d.ts +1 -1
  49. package/build/js/djinni-types/sdcCoreInternalSdkUiViewfinder.d.ts +3 -1
  50. package/build/js/djinni-types/sdcLabelInternalModuleCapture.d.ts +36 -5
  51. package/build/js/djinni-types/sdcLabelInternalModuleUiOverlay.d.ts +1 -1
  52. package/build/js/index.d.ts +4 -4
  53. package/build/js/index.js +1 -1
  54. package/build/js/moduleLoader.js +1 -1
  55. package/build/js/private/PrivateLabelFieldDefinition.d.ts +2 -2
  56. package/build/js/private/createProxiedViewFinder.d.ts +4 -4
  57. package/build/js/private/fromWrappedFutureToPromise.d.ts +5 -0
  58. package/build/js/private/fromWrappedFutureToPromise.js +1 -0
  59. package/build/js/private/symbologiesTranslator.js +1 -1
  60. package/build/js/private/viewfinderTranslator.js +1 -1
  61. package/build/js/ui/atoms/InputManuallyButton.d.ts +17 -0
  62. package/build/js/ui/atoms/InputManuallyButton.js +6 -0
  63. package/build/js/ui/atoms/RoundedButton.d.ts +27 -0
  64. package/build/js/ui/atoms/RoundedButton.js +1 -0
  65. package/build/js/ui/atoms/TextInput.d.ts +78 -0
  66. package/build/js/ui/atoms/TextInput.js +10 -0
  67. package/build/js/ui/atoms/TextInputCardLayout.d.ts +16 -0
  68. package/build/js/ui/atoms/TextInputCardLayout.js +1 -0
  69. package/build/js/ui/molecules/CardListContainer.d.ts +50 -0
  70. package/build/js/ui/molecules/CardListContainer.js +7 -0
  71. package/build/js/ui/molecules/CardListRestartButton.d.ts +16 -0
  72. package/build/js/ui/molecules/CardListRestartButton.js +1 -0
  73. package/build/js/ui/molecules/CardListSubmitButton.d.ts +16 -0
  74. package/build/js/ui/molecules/CardListSubmitButton.js +1 -0
  75. package/build/js/ui/organisms/LabelCaptureViewLayout.d.ts +23 -0
  76. package/build/js/ui/organisms/LabelCaptureViewLayout.js +10 -0
  77. package/build/js/worker/LabelCaptureWorkerManager.d.ts +2 -2
  78. package/build/js/worker/LabelCaptureWorkerManager.js +1 -1
  79. package/build/js/worker/WorkerMain.d.ts +2 -2
  80. package/build/js/worker/WorkerMain.js +1 -1
  81. package/build/js/worker/WorkerRegistry.d.ts +2 -2
  82. package/build/js/worker/dataCaptureEngine.d.ts +2 -2
  83. package/build/js/worker/dataCaptureEngine.js +1 -1
  84. package/build/js/worker/dataCaptureWorkerRelated.d.ts +2 -2
  85. package/build/js/worker/{dataCapture.inlineWorker.d.ts → labelCapture.inlineWorker.d.ts} +2 -2
  86. package/build/js/worker/{dataCapture.inlineWorker.js → labelCapture.inlineWorker.js} +1 -1
  87. package/build/js/worker/labelWorkerHandler.d.ts +2 -2
  88. package/build/js/worker/proxies/AimerViewfinderProxy.d.ts +2 -2
  89. package/build/js/worker/proxies/AimerViewfinderProxy.js +1 -1
  90. package/build/js/worker/proxies/BarcodeFieldProxy.d.ts +2 -2
  91. package/build/js/worker/proxies/BarcodeFieldProxy.js +1 -1
  92. package/build/js/worker/proxies/CapturedLabelProxy.d.ts +2 -2
  93. package/build/js/worker/proxies/CapturedLabelProxy.js +1 -1
  94. package/build/js/worker/proxies/CustomBarcodeProxy.d.ts +2 -2
  95. package/build/js/worker/proxies/CustomBarcodeProxy.js +1 -1
  96. package/build/js/worker/proxies/CustomTextProxy.d.ts +2 -2
  97. package/build/js/worker/proxies/CustomTextProxy.js +1 -1
  98. package/build/js/worker/proxies/ExpiryDateTextProxy.d.ts +2 -2
  99. package/build/js/worker/proxies/ExpiryDateTextProxy.js +1 -1
  100. package/build/js/worker/proxies/ImeiOneBarcodeProxy.d.ts +2 -2
  101. package/build/js/worker/proxies/ImeiOneBarcodeProxy.js +1 -1
  102. package/build/js/worker/proxies/ImeiTwoBarcodeProxy.d.ts +2 -2
  103. package/build/js/worker/proxies/ImeiTwoBarcodeProxy.js +1 -1
  104. package/build/js/worker/proxies/LabelCaptureAdvancedOverlayProxy.d.ts +2 -2
  105. package/build/js/worker/proxies/LabelCaptureAdvancedOverlayProxy.js +1 -1
  106. package/build/js/worker/proxies/LabelCaptureBasicOverlayProxy.d.ts +2 -2
  107. package/build/js/worker/proxies/LabelCaptureBasicOverlayProxy.js +1 -1
  108. package/build/js/worker/proxies/LabelCaptureHelperProxy.d.ts +2 -2
  109. package/build/js/worker/proxies/LabelCaptureHelperProxy.js +1 -1
  110. package/build/js/worker/proxies/LabelCaptureOverlayHelperProxy.d.ts +2 -2
  111. package/build/js/worker/proxies/LabelCaptureOverlayHelperProxy.js +1 -1
  112. package/build/js/worker/proxies/LabelCaptureProxy.d.ts +4 -4
  113. package/build/js/worker/proxies/LabelCaptureProxy.js +1 -1
  114. package/build/js/worker/proxies/LabelCaptureSessionProxy.d.ts +2 -2
  115. package/build/js/worker/proxies/LabelCaptureSessionProxy.js +1 -1
  116. package/build/js/worker/proxies/LabelCaptureSettingsProxy.d.ts +3 -3
  117. package/build/js/worker/proxies/LabelCaptureSettingsProxy.js +1 -1
  118. package/build/js/worker/proxies/LabelDefinitionProxy.d.ts +2 -2
  119. package/build/js/worker/proxies/LabelDefinitionProxy.js +1 -1
  120. package/build/js/worker/proxies/LabelFieldDefinitionProxy.d.ts +2 -2
  121. package/build/js/worker/proxies/LabelFieldDefinitionProxy.js +1 -1
  122. package/build/js/worker/proxies/LabelFieldLocationProxy.d.ts +2 -2
  123. package/build/js/worker/proxies/LabelFieldLocationProxy.js +1 -1
  124. package/build/js/worker/proxies/LabelFieldProxy.d.ts +2 -2
  125. package/build/js/worker/proxies/LabelFieldProxy.js +1 -1
  126. package/build/js/worker/proxies/NativeProxy.d.ts +2 -2
  127. package/build/js/worker/proxies/NativeProxy.js +1 -1
  128. package/build/js/worker/proxies/NoViewfinderProxy.d.ts +2 -2
  129. package/build/js/worker/proxies/NoViewfinderProxy.js +1 -1
  130. package/build/js/worker/proxies/PackingDateTextProxy.d.ts +2 -2
  131. package/build/js/worker/proxies/PackingDateTextProxy.js +1 -1
  132. package/build/js/worker/proxies/PartNumberBarcodeProxy.d.ts +2 -2
  133. package/build/js/worker/proxies/PartNumberBarcodeProxy.js +1 -1
  134. package/build/js/worker/proxies/RectangularViewfinderProxy.d.ts +2 -2
  135. package/build/js/worker/proxies/RectangularViewfinderProxy.js +1 -1
  136. package/build/js/worker/proxies/SerialNumberBarcodeProxy.d.ts +2 -2
  137. package/build/js/worker/proxies/SerialNumberBarcodeProxy.js +1 -1
  138. package/build/js/worker/proxies/TotalPriceTextProxy.d.ts +2 -2
  139. package/build/js/worker/proxies/TotalPriceTextProxy.js +1 -1
  140. package/build/js/worker/proxies/UnitPriceTextProxy.d.ts +2 -2
  141. package/build/js/worker/proxies/UnitPriceTextProxy.js +1 -1
  142. package/build/js/worker/proxies/WeightTextProxy.d.ts +2 -2
  143. package/build/js/worker/proxies/WeightTextProxy.js +1 -1
  144. package/package.json +2 -2
  145. package/sdc-lib/scandit-datacapture-sdk-label-pthreads.js +1 -1
  146. package/sdc-lib/scandit-datacapture-sdk-label-pthreads.wasm +0 -0
  147. package/sdc-lib/scandit-datacapture-sdk-label-simd-pthreads.js +1 -1
  148. package/sdc-lib/scandit-datacapture-sdk-label-simd-pthreads.wasm +0 -0
  149. package/sdc-lib/scandit-datacapture-sdk-label-simd.js +1 -1
  150. package/sdc-lib/scandit-datacapture-sdk-label-simd.wasm +0 -0
  151. package/sdc-lib/scandit-datacapture-sdk-label.js +1 -1
  152. package/sdc-lib/scandit-datacapture-sdk-label.wasm +0 -0
  153. package/build/js/chunks/chunk-2X2D3ZT5.js +0 -1
  154. package/build/js/chunks/chunk-LULJHMFR.js +0 -2
  155. package/build/js/chunks/chunk-S3BOEZML.js +0 -1
  156. package/build/js/chunks/chunk-SB2YG7TF.js +0 -1
  157. package/build/js/chunks/chunk-U4TDG7AJ.js +0 -1
@@ -1,4 +1,4 @@
1
- import { FrameData, NativeDataCaptureMode, DataCaptureContext } from '@scandit/web-datacapture-core';
1
+ import { FrameData, NativeDataCaptureMode, CameraSettings, DataCaptureContext } from '@scandit/web-datacapture-core';
2
2
  import { LabelCaptureSettings } from './api/LabelCaptureSettings.js';
3
3
  import { nativeHandle } from '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
4
4
  import { LabelCaptureSession } from './api/LabelCaptureSession.js';
@@ -16,6 +16,7 @@ declare class LabelCapture implements NativeDataCaptureMode {
16
16
  private listeners;
17
17
  private workerListener;
18
18
  private constructor();
19
+ static createRecommendedCameraSettings(): CameraSettings;
19
20
  static forContext(context: DataCaptureContext, settings: LabelCaptureSettings): Promise<LabelCapture>;
20
21
  isEnabled(): Promise<boolean>;
21
22
  setEnabled(enabled: boolean): Promise<void>;
@@ -1,9 +1,9 @@
1
1
  import { Anchor, PointWithUnit, DataCaptureOverlay, DataCaptureView } from '@scandit/web-datacapture-core';
2
2
  import { Serializable } from '@scandit/web-datacapture-core/build/js/private/Serializable';
3
3
  import { nativeHandle } from '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
4
- import { N as NativeProxyHandle } from './NativeProxy-BgHIn4CU.js';
4
+ import { N as NativeProxyHandle } from './NativeProxy-CsndagT7.js';
5
5
  import { CapturedLabel } from './api/CapturedLabel.js';
6
- import { L as LabelCapture } from './LabelCapture-B8_5_uoB.js';
6
+ import { L as LabelCapture } from './LabelCapture-DDlDP--7.js';
7
7
  import { LabelCaptureOverlayJSON } from './api/LabelCaptureOverlayJSON.js';
8
8
  import { LabelField } from './api/LabelField.js';
9
9
 
@@ -4,8 +4,8 @@ import { Serializable } from '@scandit/web-datacapture-core/build/js/private/Ser
4
4
  import { nativeHandle } from '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
5
5
  import { CapturedLabel } from './api/CapturedLabel.js';
6
6
  import { LabelField } from './api/LabelField.js';
7
- import { N as NativeProxyHandle } from './NativeProxy-BgHIn4CU.js';
8
- import { L as LabelCapture } from './LabelCapture-B8_5_uoB.js';
7
+ import { N as NativeProxyHandle } from './NativeProxy-CsndagT7.js';
8
+ import { L as LabelCapture } from './LabelCapture-DDlDP--7.js';
9
9
  import { LabelCaptureOverlayJSON } from './api/LabelCaptureOverlayJSON.js';
10
10
 
11
11
  /**
@@ -1,5 +1,5 @@
1
1
  import { Symbology } from '@scandit/web-datacapture-barcode';
2
- import { Module as Module$1, DataCaptureActionMessageKey as DataCaptureActionMessageKey$1, WorkerResponse as WorkerResponse$1, AnyDataCaptureActionMessage as AnyDataCaptureActionMessage$1, DataCaptureCallbackMessageKeys as DataCaptureCallbackMessageKeys$1, DataCaptureCallbackMessage as DataCaptureCallbackMessage$1 } from '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
2
+ import { DataCaptureCallbackMessage as DataCaptureCallbackMessage$1, DataCaptureCallbackMessageKeys as DataCaptureCallbackMessageKeys$1, AnyDataCaptureActionMessage as AnyDataCaptureActionMessage$1, DataCaptureActionMessageKey as DataCaptureActionMessageKey$1, Module as Module$1, WorkerResponse as WorkerResponse$1 } from '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
3
3
  import { Barcode } from './djinni-types/sdcBarcodeInternalSdkData.js';
4
4
  import { FloatWithUnit, MeasureUnit, Quadrilateral } from './djinni-types/sdcCoreCommonGeometry.js';
5
5
  import { BarcodeField, BarcodeField_statics, CustomBarcode, CustomBarcode_statics, CustomText, CustomText_statics, ExpiryDateText, ExpiryDateText_statics, ImeiOneBarcode, ImeiOneBarcode_statics, ImeiTwoBarcode, ImeiTwoBarcode_statics, LabelCapture, LabelCapture_statics, LabelCaptureHelper, LabelCaptureHelper_statics, LabelCaptureListener, LabelCaptureSession, LabelCaptureSettings, LabelCaptureSettings_statics, LabelDefinition, LabelDefinition_statics, LabelFieldDefinition, LabelFieldLocation, LabelFieldLocation_statics, PackingDateText, PackingDateText_statics, PartNumberBarcode, PartNumberBarcode_statics, SerialNumberBarcode, SerialNumberBarcode_statics, TextField, TotalPriceText, TotalPriceText_statics, UnitPriceText, UnitPriceText_statics, WeightText, WeightText_statics } from './djinni-types/sdcLabelInternalModuleCapture.js';
@@ -8,12 +8,12 @@ import { RectangularLocationSelection, RectangularLocationSelection_statics } fr
8
8
  import { RectangularViewfinder, RectangularViewfinder_statics, AimerViewfinder, AimerViewfinder_statics, NoViewfinder, NoViewfinder_statics } from './djinni-types/sdcCoreInternalSdkUiViewfinder.js';
9
9
  import { LabelFieldLocationType, LabelFieldState, LabelFieldType } from './djinni-types/sdcLabelData.js';
10
10
  import { LabelCaptureOverlayHelper, LabelCaptureOverlayHelper_statics, LabelCaptureBasicOverlay, LabelCaptureBasicOverlay_statics, LabelCaptureAdvancedOverlay, LabelCaptureAdvancedOverlay_statics } from './djinni-types/sdcLabelInternalModuleUiOverlay.js';
11
- import { LocationSelectionJSON, RectJSON, BrushJSON, RectangularViewfinderJSON, AimerViewfinderJSON, PrivateLoadableFrameData } from '@scandit/web-datacapture-core';
11
+ import { PrivateLoadableFrameData, LocationSelectionJSON, RectJSON, BrushJSON, RectangularViewfinderJSON, AimerViewfinderJSON } from '@scandit/web-datacapture-core';
12
12
  import { CapturedLabelJSON } from './api/CapturedLabel.js';
13
13
  import { LabelCaptureSessionJSON } from './api/LabelCaptureSession.js';
14
- import { LabelDateFormatJSON } from './api/LabelDateFormat.js';
15
14
  import { LabelFieldJSON } from './api/LabelField.js';
16
15
  import { LabelFieldLocationType as LabelFieldLocationType$1 } from './api/LabelFieldLocationType.js';
16
+ import { LabelDateFormatJSON } from './api/LabelDateFormat.js';
17
17
 
18
18
  type AugmentedWorker<M extends EmscriptenModule> = DedicatedWorkerGlobalScope & {
19
19
  Module: M;
@@ -80,6 +80,7 @@ interface LabelCaptureBuildLabelCaptureSettingsActionMessage extends DataCapture
80
80
  payload: {
81
81
  labelDefinitionHandles: NativeProxyHandle[];
82
82
  hiddenProperties: Record<string, unknown>;
83
+ labelProperties?: Record<string, unknown> | Record<string, unknown>[];
83
84
  };
84
85
  }
85
86
  interface LabelCaptureBuildLabelDefinitionActionMessage extends DataCaptureActionMessage {
@@ -1,5 +1,5 @@
1
1
  import { nativeHandle } from '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
2
- import { N as NativeProxyHandle } from '../NativeProxy-BgHIn4CU.js';
2
+ import { N as NativeProxyHandle } from '../NativeProxy-CsndagT7.js';
3
3
  import { LabelFieldLocation } from './LabelFieldLocation.js';
4
4
  import { TextField } from './TextField.js';
5
5
  import '@scandit/web-datacapture-barcode';
@@ -29,9 +29,9 @@ import './LabelFieldState.js';
29
29
  import './LabelFieldType.js';
30
30
  import './LabelDateResult.js';
31
31
  import './LabelCaptureSession.js';
32
+ import './LabelFieldLocationType.js';
32
33
  import './LabelDateFormat.js';
33
34
  import './LabelDateComponentFormat.js';
34
- import './LabelFieldLocationType.js';
35
35
  import './LabelFieldDefinition.js';
36
36
 
37
37
  declare class CustomText implements TextField {
@@ -2,7 +2,7 @@ import { CustomText } from './CustomText.js';
2
2
  import { TextFieldBuilder } from './TextFieldBuilder.js';
3
3
  import { LabelFieldLocation } from './LabelFieldLocation.js';
4
4
  import '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
5
- import '../NativeProxy-BgHIn4CU.js';
5
+ import '../NativeProxy-CsndagT7.js';
6
6
  import '@scandit/web-datacapture-barcode';
7
7
  import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
8
8
  import '../djinni-types/sdcBarcodeInternalSdkData.js';
@@ -30,9 +30,9 @@ import './LabelFieldState.js';
30
30
  import './LabelFieldType.js';
31
31
  import './LabelDateResult.js';
32
32
  import './LabelCaptureSession.js';
33
+ import './LabelFieldLocationType.js';
33
34
  import './LabelDateFormat.js';
34
35
  import './LabelDateComponentFormat.js';
35
- import './LabelFieldLocationType.js';
36
36
  import './TextField.js';
37
37
  import './LabelFieldDefinition.js';
38
38
  import './LabelFieldDefinitionBuilder.js';
@@ -1,5 +1,5 @@
1
1
  import { nativeHandle } from '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
2
- import { N as NativeProxyHandle } from '../NativeProxy-BgHIn4CU.js';
2
+ import { N as NativeProxyHandle } from '../NativeProxy-CsndagT7.js';
3
3
  import { LabelDateFormat } from './LabelDateFormat.js';
4
4
  import { TextField } from './TextField.js';
5
5
  import '@scandit/web-datacapture-barcode';
@@ -2,7 +2,7 @@ import { ExpiryDateText } from './ExpiryDateText.js';
2
2
  import { TextFieldBuilder } from './TextFieldBuilder.js';
3
3
  import { LabelDateFormat } from './LabelDateFormat.js';
4
4
  import '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
5
- import '../NativeProxy-BgHIn4CU.js';
5
+ import '../NativeProxy-CsndagT7.js';
6
6
  import '@scandit/web-datacapture-barcode';
7
7
  import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
8
8
  import '../djinni-types/sdcBarcodeInternalSdkData.js';
@@ -1,7 +1,7 @@
1
1
  import '@scandit/web-datacapture-core';
2
2
  import './LabelCaptureSettings.js';
3
3
  import '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
4
- export { L as LabelCapture } from '../LabelCapture-B8_5_uoB.js';
4
+ export { L as LabelCapture } from '../LabelCapture-DDlDP--7.js';
5
5
  import './LabelDefinition.js';
6
6
  import './CustomBarcode.js';
7
7
  import '@scandit/web-datacapture-barcode';
@@ -9,7 +9,7 @@ import './BarcodeField.js';
9
9
  import './LabelFieldDefinition.js';
10
10
  import './LabelFieldLocation.js';
11
11
  import './CustomText.js';
12
- import '../NativeProxy-BgHIn4CU.js';
12
+ import '../NativeProxy-CsndagT7.js';
13
13
  import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
14
14
  import '../djinni-types/sdcBarcodeInternalSdkData.js';
15
15
  import '../djinni-types/sdcBarcodeData.js';
@@ -35,9 +35,9 @@ import './LabelFieldState.js';
35
35
  import './LabelFieldType.js';
36
36
  import './LabelDateResult.js';
37
37
  import './LabelCaptureSession.js';
38
+ import './LabelFieldLocationType.js';
38
39
  import './LabelDateFormat.js';
39
40
  import './LabelDateComponentFormat.js';
40
- import './LabelFieldLocationType.js';
41
41
  import './TextField.js';
42
42
  import './ExpiryDateText.js';
43
43
  import './ImeiOneBarcode.js';
@@ -1 +1 @@
1
- export{a as LabelCapture}from'../chunks/chunk-2X2D3ZT5.js';
1
+ export{a as LabelCapture}from'../chunks/chunk-CT6CX2MP.js';
@@ -1,10 +1,10 @@
1
1
  import '@scandit/web-datacapture-core';
2
2
  import '@scandit/web-datacapture-core/build/js/private/Serializable';
3
3
  import '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
4
- import '../NativeProxy-BgHIn4CU.js';
4
+ import '../NativeProxy-CsndagT7.js';
5
5
  import './CapturedLabel.js';
6
- import '../LabelCapture-B8_5_uoB.js';
7
- export { L as LabelCaptureAdvancedOverlay } from '../LabelCaptureAdvancedOverlay-RkZkRrRD.js';
6
+ import '../LabelCapture-DDlDP--7.js';
7
+ export { L as LabelCaptureAdvancedOverlay } from '../LabelCaptureAdvancedOverlay-CQsy_KsL.js';
8
8
  import './LabelCaptureOverlayJSON.js';
9
9
  import './LabelField.js';
10
10
  import '@scandit/web-datacapture-barcode';
@@ -31,9 +31,9 @@ import './LabelCaptureSession.js';
31
31
  import './LabelFieldState.js';
32
32
  import './LabelFieldType.js';
33
33
  import './LabelDateResult.js';
34
+ import './LabelFieldLocationType.js';
34
35
  import './LabelDateFormat.js';
35
36
  import './LabelDateComponentFormat.js';
36
- import './LabelFieldLocationType.js';
37
37
  import './LabelCaptureSettings.js';
38
38
  import './LabelDefinition.js';
39
39
  import './CustomBarcode.js';
@@ -1,6 +1,6 @@
1
1
  import '@scandit/web-datacapture-core';
2
2
  import './CapturedLabel.js';
3
- export { a as LabelCaptureAdvancedOverlayListener } from '../LabelCaptureAdvancedOverlay-RkZkRrRD.js';
3
+ export { a as LabelCaptureAdvancedOverlayListener } from '../LabelCaptureAdvancedOverlay-CQsy_KsL.js';
4
4
  import './LabelField.js';
5
5
  import '@scandit/web-datacapture-barcode';
6
6
  import './LabelFieldState.js';
@@ -8,7 +8,7 @@ import './LabelFieldType.js';
8
8
  import './LabelDateResult.js';
9
9
  import '@scandit/web-datacapture-core/build/js/private/Serializable';
10
10
  import '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
11
- import '../NativeProxy-BgHIn4CU.js';
11
+ import '../NativeProxy-CsndagT7.js';
12
12
  import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
13
13
  import '../djinni-types/sdcBarcodeInternalSdkData.js';
14
14
  import '../djinni-types/sdcBarcodeData.js';
@@ -29,10 +29,10 @@ import '../djinni-types/sdcLabelInternalModuleUiOverlay.js';
29
29
  import '../djinni-types/sdcCoreInternalSdkCapture.js';
30
30
  import '../djinni-types/sdcCoreInternalSdkUiStyle.js';
31
31
  import './LabelCaptureSession.js';
32
+ import './LabelFieldLocationType.js';
32
33
  import './LabelDateFormat.js';
33
34
  import './LabelDateComponentFormat.js';
34
- import './LabelFieldLocationType.js';
35
- import '../LabelCapture-B8_5_uoB.js';
35
+ import '../LabelCapture-DDlDP--7.js';
36
36
  import './LabelCaptureSettings.js';
37
37
  import './LabelDefinition.js';
38
38
  import './CustomBarcode.js';
@@ -4,9 +4,9 @@ import '@scandit/web-datacapture-core/build/js/private/Serializable';
4
4
  import '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
5
5
  import './CapturedLabel.js';
6
6
  import './LabelField.js';
7
- import '../NativeProxy-BgHIn4CU.js';
8
- import '../LabelCapture-B8_5_uoB.js';
9
- export { L as LabelCaptureBasicOverlay } from '../LabelCaptureBasicOverlay-BcFyOGaf.js';
7
+ import '../NativeProxy-CsndagT7.js';
8
+ import '../LabelCapture-DDlDP--7.js';
9
+ export { L as LabelCaptureBasicOverlay } from '../LabelCaptureBasicOverlay-4JorH1kZ.js';
10
10
  import './LabelCaptureOverlayJSON.js';
11
11
  import '@scandit/web-datacapture-barcode';
12
12
  import './LabelFieldState.js';
@@ -31,9 +31,9 @@ import '../djinni-types/sdcLabelInternalModuleUiOverlay.js';
31
31
  import '../djinni-types/sdcCoreInternalSdkCapture.js';
32
32
  import '../djinni-types/sdcCoreInternalSdkUiStyle.js';
33
33
  import './LabelCaptureSession.js';
34
+ import './LabelFieldLocationType.js';
34
35
  import './LabelDateFormat.js';
35
36
  import './LabelDateComponentFormat.js';
36
- import './LabelFieldLocationType.js';
37
37
  import './LabelCaptureSettings.js';
38
38
  import './LabelDefinition.js';
39
39
  import './CustomBarcode.js';
@@ -1,7 +1,7 @@
1
1
  import '@scandit/web-datacapture-core';
2
2
  import './CapturedLabel.js';
3
3
  import './LabelField.js';
4
- export { a as LabelCaptureBasicOverlayListener } from '../LabelCaptureBasicOverlay-BcFyOGaf.js';
4
+ export { a as LabelCaptureBasicOverlayListener } from '../LabelCaptureBasicOverlay-4JorH1kZ.js';
5
5
  import '@scandit/web-datacapture-barcode';
6
6
  import './LabelFieldState.js';
7
7
  import './LabelFieldType.js';
@@ -9,7 +9,7 @@ import './LabelDateResult.js';
9
9
  import '../djinni-types/sdcLabelData.js';
10
10
  import '@scandit/web-datacapture-core/build/js/private/Serializable';
11
11
  import '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
12
- import '../NativeProxy-BgHIn4CU.js';
12
+ import '../NativeProxy-CsndagT7.js';
13
13
  import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
14
14
  import '../djinni-types/sdcBarcodeInternalSdkData.js';
15
15
  import '../djinni-types/sdcBarcodeData.js';
@@ -29,10 +29,10 @@ import '../djinni-types/sdcLabelInternalModuleUiOverlay.js';
29
29
  import '../djinni-types/sdcCoreInternalSdkCapture.js';
30
30
  import '../djinni-types/sdcCoreInternalSdkUiStyle.js';
31
31
  import './LabelCaptureSession.js';
32
+ import './LabelFieldLocationType.js';
32
33
  import './LabelDateFormat.js';
33
34
  import './LabelDateComponentFormat.js';
34
- import './LabelFieldLocationType.js';
35
- import '../LabelCapture-B8_5_uoB.js';
35
+ import '../LabelCapture-DDlDP--7.js';
36
36
  import './LabelCaptureSettings.js';
37
37
  import './LabelDefinition.js';
38
38
  import './CustomBarcode.js';
@@ -1,6 +1,6 @@
1
1
  import '@scandit/web-datacapture-core';
2
2
  import './LabelCaptureSession.js';
3
- export { a as LabelCaptureListener } from '../LabelCapture-B8_5_uoB.js';
3
+ export { a as LabelCaptureListener } from '../LabelCapture-DDlDP--7.js';
4
4
  import './CapturedLabel.js';
5
5
  import './LabelField.js';
6
6
  import '@scandit/web-datacapture-barcode';
@@ -15,7 +15,7 @@ import './BarcodeField.js';
15
15
  import './LabelFieldDefinition.js';
16
16
  import './LabelFieldLocation.js';
17
17
  import './CustomText.js';
18
- import '../NativeProxy-BgHIn4CU.js';
18
+ import '../NativeProxy-CsndagT7.js';
19
19
  import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
20
20
  import '../djinni-types/sdcBarcodeInternalSdkData.js';
21
21
  import '../djinni-types/sdcBarcodeData.js';
@@ -35,9 +35,9 @@ import '../djinni-types/sdcCoreInternalSdkCommonGraphics.js';
35
35
  import '../djinni-types/sdcLabelInternalModuleUiOverlay.js';
36
36
  import '../djinni-types/sdcCoreInternalSdkCapture.js';
37
37
  import '../djinni-types/sdcCoreInternalSdkUiStyle.js';
38
+ import './LabelFieldLocationType.js';
38
39
  import './LabelDateFormat.js';
39
40
  import './LabelDateComponentFormat.js';
40
- import './LabelFieldLocationType.js';
41
41
  import './TextField.js';
42
42
  import './ExpiryDateText.js';
43
43
  import './ImeiOneBarcode.js';
@@ -1,4 +1,4 @@
1
- import { N as NativeProxyHandle } from '../NativeProxy-BgHIn4CU.js';
1
+ import { N as NativeProxyHandle } from '../NativeProxy-CsndagT7.js';
2
2
  import '@scandit/web-datacapture-barcode';
3
3
  import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
4
4
  import '../djinni-types/sdcBarcodeInternalSdkData.js';
@@ -26,9 +26,9 @@ import './LabelFieldState.js';
26
26
  import './LabelFieldType.js';
27
27
  import './LabelDateResult.js';
28
28
  import './LabelCaptureSession.js';
29
+ import './LabelFieldLocationType.js';
29
30
  import './LabelDateFormat.js';
30
31
  import './LabelDateComponentFormat.js';
31
- import './LabelFieldLocationType.js';
32
32
 
33
33
  type LabelCaptureOverlayJSON = {
34
34
  nativeHandle: NativeProxyHandle;
@@ -1,4 +1,4 @@
1
- import { CapturedLabelJSON, CapturedLabel } from './CapturedLabel.js';
1
+ import { CapturedLabel, CapturedLabelJSON } from './CapturedLabel.js';
2
2
  import '@scandit/web-datacapture-core';
3
3
  import './LabelField.js';
4
4
  import '@scandit/web-datacapture-barcode';
@@ -7,7 +7,7 @@ import './BarcodeField.js';
7
7
  import './LabelFieldDefinition.js';
8
8
  import './LabelFieldLocation.js';
9
9
  import './CustomText.js';
10
- import '../NativeProxy-BgHIn4CU.js';
10
+ import '../NativeProxy-CsndagT7.js';
11
11
  import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
12
12
  import '../djinni-types/sdcBarcodeInternalSdkData.js';
13
13
  import '../djinni-types/sdcBarcodeData.js';
@@ -33,9 +33,9 @@ import './LabelFieldState.js';
33
33
  import './LabelFieldType.js';
34
34
  import './LabelDateResult.js';
35
35
  import './LabelCaptureSession.js';
36
+ import './LabelFieldLocationType.js';
36
37
  import './LabelDateFormat.js';
37
38
  import './LabelDateComponentFormat.js';
38
- import './LabelFieldLocationType.js';
39
39
  import './TextField.js';
40
40
  import './ExpiryDateText.js';
41
41
  import './ImeiOneBarcode.js';
@@ -61,9 +61,11 @@ declare class LabelCaptureSettings {
61
61
  declare class LabelCaptureSettingsBuilder {
62
62
  private labelDefinitions;
63
63
  private hiddenProperties;
64
+ private labelProperties?;
64
65
  addLabel(label: LabelDefinition): this;
65
66
  setHiddenProperty(key: string, value: unknown): this;
66
67
  setHiddenProperties(hiddenProperties: Record<string, unknown>): this;
68
+ setLabelProperties(labelProperties: Record<string, unknown> | Record<string, unknown>[]): this;
67
69
  build(): Promise<LabelCaptureSettings>;
68
70
  }
69
71
 
@@ -1 +1 @@
1
- export{a as LabelCaptureSettings,b as LabelCaptureSettingsBuilder}from'../chunks/chunk-Y3KV6YYP.js';
1
+ export{a as LabelCaptureSettings,b as LabelCaptureSettingsBuilder}from'../chunks/chunk-7A4I3E3E.js';
@@ -15,7 +15,7 @@ import '@scandit/web-datacapture-barcode';
15
15
  import './BarcodeField.js';
16
16
  import './LabelFieldLocation.js';
17
17
  import '@scandit/web-datacapture-core';
18
- import '../NativeProxy-BgHIn4CU.js';
18
+ import '../NativeProxy-CsndagT7.js';
19
19
  import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
20
20
  import '../djinni-types/sdcBarcodeInternalSdkData.js';
21
21
  import '../djinni-types/sdcBarcodeData.js';
@@ -41,9 +41,9 @@ import './LabelFieldState.js';
41
41
  import './LabelFieldType.js';
42
42
  import './LabelDateResult.js';
43
43
  import './LabelCaptureSession.js';
44
+ import './LabelFieldLocationType.js';
44
45
  import './LabelDateFormat.js';
45
46
  import './LabelDateComponentFormat.js';
46
- import './LabelFieldLocationType.js';
47
47
  import './TextField.js';
48
48
 
49
49
  declare class LabelDefinition {
@@ -1,5 +1,5 @@
1
1
  import { nativeHandle } from '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
2
- import { N as NativeProxyHandle } from '../NativeProxy-BgHIn4CU.js';
2
+ import { N as NativeProxyHandle } from '../NativeProxy-CsndagT7.js';
3
3
  import { LabelDateFormat } from './LabelDateFormat.js';
4
4
  import { TextField } from './TextField.js';
5
5
  import '@scandit/web-datacapture-barcode';
@@ -2,7 +2,7 @@ import { PackingDateText } from './PackingDateText.js';
2
2
  import { TextFieldBuilder } from './TextFieldBuilder.js';
3
3
  import { LabelDateFormat } from './LabelDateFormat.js';
4
4
  import '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
5
- import '../NativeProxy-BgHIn4CU.js';
5
+ import '../NativeProxy-CsndagT7.js';
6
6
  import '@scandit/web-datacapture-barcode';
7
7
  import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
8
8
  import '../djinni-types/sdcBarcodeInternalSdkData.js';
@@ -1,5 +1,5 @@
1
1
  import { nativeHandle } from '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
2
- import { N as NativeProxyHandle } from '../NativeProxy-BgHIn4CU.js';
2
+ import { N as NativeProxyHandle } from '../NativeProxy-CsndagT7.js';
3
3
  import { TextField } from './TextField.js';
4
4
  import '@scandit/web-datacapture-barcode';
5
5
  import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
@@ -28,9 +28,9 @@ import './LabelFieldState.js';
28
28
  import './LabelFieldType.js';
29
29
  import './LabelDateResult.js';
30
30
  import './LabelCaptureSession.js';
31
+ import './LabelFieldLocationType.js';
31
32
  import './LabelDateFormat.js';
32
33
  import './LabelDateComponentFormat.js';
33
- import './LabelFieldLocationType.js';
34
34
  import './LabelFieldDefinition.js';
35
35
 
36
36
  declare class TotalPriceText implements TextField {
@@ -2,7 +2,7 @@ import { TextFieldBuilder } from './TextFieldBuilder.js';
2
2
  import { TotalPriceText } from './TotalPriceText.js';
3
3
  import './LabelFieldDefinitionBuilder.js';
4
4
  import '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
5
- import '../NativeProxy-BgHIn4CU.js';
5
+ import '../NativeProxy-CsndagT7.js';
6
6
  import '@scandit/web-datacapture-barcode';
7
7
  import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
8
8
  import '../djinni-types/sdcBarcodeInternalSdkData.js';
@@ -30,9 +30,9 @@ import './LabelFieldState.js';
30
30
  import './LabelFieldType.js';
31
31
  import './LabelDateResult.js';
32
32
  import './LabelCaptureSession.js';
33
+ import './LabelFieldLocationType.js';
33
34
  import './LabelDateFormat.js';
34
35
  import './LabelDateComponentFormat.js';
35
- import './LabelFieldLocationType.js';
36
36
  import './TextField.js';
37
37
  import './LabelFieldDefinition.js';
38
38
 
@@ -1,5 +1,5 @@
1
1
  import { nativeHandle } from '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
2
- import { N as NativeProxyHandle } from '../NativeProxy-BgHIn4CU.js';
2
+ import { N as NativeProxyHandle } from '../NativeProxy-CsndagT7.js';
3
3
  import { TextField } from './TextField.js';
4
4
  import '@scandit/web-datacapture-barcode';
5
5
  import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
@@ -28,9 +28,9 @@ import './LabelFieldState.js';
28
28
  import './LabelFieldType.js';
29
29
  import './LabelDateResult.js';
30
30
  import './LabelCaptureSession.js';
31
+ import './LabelFieldLocationType.js';
31
32
  import './LabelDateFormat.js';
32
33
  import './LabelDateComponentFormat.js';
33
- import './LabelFieldLocationType.js';
34
34
  import './LabelFieldDefinition.js';
35
35
 
36
36
  declare class UnitPriceText implements TextField {
@@ -2,7 +2,7 @@ import { TextFieldBuilder } from './TextFieldBuilder.js';
2
2
  import { UnitPriceText } from './UnitPriceText.js';
3
3
  import './LabelFieldDefinitionBuilder.js';
4
4
  import '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
5
- import '../NativeProxy-BgHIn4CU.js';
5
+ import '../NativeProxy-CsndagT7.js';
6
6
  import '@scandit/web-datacapture-barcode';
7
7
  import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
8
8
  import '../djinni-types/sdcBarcodeInternalSdkData.js';
@@ -30,9 +30,9 @@ import './LabelFieldState.js';
30
30
  import './LabelFieldType.js';
31
31
  import './LabelDateResult.js';
32
32
  import './LabelCaptureSession.js';
33
+ import './LabelFieldLocationType.js';
33
34
  import './LabelDateFormat.js';
34
35
  import './LabelDateComponentFormat.js';
35
- import './LabelFieldLocationType.js';
36
36
  import './TextField.js';
37
37
  import './LabelFieldDefinition.js';
38
38
 
@@ -1,5 +1,5 @@
1
1
  import { nativeHandle } from '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
2
- import { N as NativeProxyHandle } from '../NativeProxy-BgHIn4CU.js';
2
+ import { N as NativeProxyHandle } from '../NativeProxy-CsndagT7.js';
3
3
  import { TextField } from './TextField.js';
4
4
  import '@scandit/web-datacapture-barcode';
5
5
  import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
@@ -28,9 +28,9 @@ import './LabelFieldState.js';
28
28
  import './LabelFieldType.js';
29
29
  import './LabelDateResult.js';
30
30
  import './LabelCaptureSession.js';
31
+ import './LabelFieldLocationType.js';
31
32
  import './LabelDateFormat.js';
32
33
  import './LabelDateComponentFormat.js';
33
- import './LabelFieldLocationType.js';
34
34
  import './LabelFieldDefinition.js';
35
35
 
36
36
  declare class WeightText implements TextField {
@@ -2,7 +2,7 @@ import { TextFieldBuilder } from './TextFieldBuilder.js';
2
2
  import { WeightText } from './WeightText.js';
3
3
  import './LabelFieldDefinitionBuilder.js';
4
4
  import '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
5
- import '../NativeProxy-BgHIn4CU.js';
5
+ import '../NativeProxy-CsndagT7.js';
6
6
  import '@scandit/web-datacapture-barcode';
7
7
  import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
8
8
  import '../djinni-types/sdcBarcodeInternalSdkData.js';
@@ -30,9 +30,9 @@ import './LabelFieldState.js';
30
30
  import './LabelFieldType.js';
31
31
  import './LabelDateResult.js';
32
32
  import './LabelCaptureSession.js';
33
+ import './LabelFieldLocationType.js';
33
34
  import './LabelDateFormat.js';
34
35
  import './LabelDateComponentFormat.js';
35
- import './LabelFieldLocationType.js';
36
36
  import './TextField.js';
37
37
  import './LabelFieldDefinition.js';
38
38
 
@@ -1 +1 @@
1
- import {a}from'./chunk-SYDG6PPD.js';import {NumberWithUnit,RectangularLocationSelection,SizeWithUnit}from'@scandit/web-datacapture-core';import {nativeHandle}from'@scandit/web-datacapture-core/build/js/private/nativeHandle.js';var d=class d{constructor(e,t){this[nativeHandle]=e,this.workerCommand=t;}static async fromLabelDefinitions(e){let t=new l;for(let n of e)t.addLabel(n);return t.build()}static forHandle(e,t){return new d(e,t)}async getLocationSelection(){let e=await this.workerCommand("labelCaptureSettingsGetLocationSelection",{payload:{settingsHandle:this[nativeHandle]}});if(e!=null){if(e.size.width!=null&&e.size.aspect!=null){let t=NumberWithUnit.fromJSON(e.size.width);return RectangularLocationSelection.withWidthAndAspectRatio(t,e.size.aspect)}if(e.size.height!=null&&e.size.aspect!=null){let t=NumberWithUnit.fromJSON(e.size.height);return RectangularLocationSelection.withHeightAndAspectRatio(t,e.size.aspect)}if(e.size.width!=null&&e.size.height!=null){let t=NumberWithUnit.fromJSON(e.size.width),n=NumberWithUnit.fromJSON(e.size.height);return RectangularLocationSelection.withSize(new SizeWithUnit(t,n))}}}async setLocationSelection(e){e instanceof RectangularLocationSelection&&await this.workerCommand("labelCaptureSettingsSetLocationSelection",{payload:{settingsHandle:this[nativeHandle],locationSelection:e.toJSONObject()}});}async getProperty(e){return await this.workerCommand("labelCaptureSettingsGetProperty",{payload:{settingsHandle:this[nativeHandle],key:e}})}async setProperty(e,t){await this.workerCommand("labelCaptureSettingsSetProperty",{payload:{settingsHandle:this[nativeHandle],key:e,value:t}});}},s=d,l=class{constructor(){this.labelDefinitions=[];this.hiddenProperties={};}addLabel(e){return this.labelDefinitions.push(e),this}setHiddenProperty(e,t){return this.hiddenProperties[e]=t,this}setHiddenProperties(e){return this.hiddenProperties=e,this}async build(){let e=a().workerCommand.bind(a()),t=await e("labelCaptureBuildLabelCaptureSettings",{payload:{hiddenProperties:this.hiddenProperties,labelDefinitionHandles:this.labelDefinitions.map(n=>n[nativeHandle])}});return s.forHandle(t,e)}};export{s as a,l as b};
1
+ import {a}from'./chunk-SYDG6PPD.js';import {NumberWithUnit,RectangularLocationSelection,SizeWithUnit}from'@scandit/web-datacapture-core';import {nativeHandle}from'@scandit/web-datacapture-core/build/js/private/nativeHandle.js';var p=class p{constructor(e,t){this[nativeHandle]=e,this.workerCommand=t;}static async fromLabelDefinitions(e){let t=new l;for(let n of e)t.addLabel(n);return t.build()}static forHandle(e,t){return new p(e,t)}async getLocationSelection(){let e=await this.workerCommand("labelCaptureSettingsGetLocationSelection",{payload:{settingsHandle:this[nativeHandle]}});if(e!=null){if(e.size.width!=null&&e.size.aspect!=null){let t=NumberWithUnit.fromJSON(e.size.width);return RectangularLocationSelection.withWidthAndAspectRatio(t,e.size.aspect)}if(e.size.height!=null&&e.size.aspect!=null){let t=NumberWithUnit.fromJSON(e.size.height);return RectangularLocationSelection.withHeightAndAspectRatio(t,e.size.aspect)}if(e.size.width!=null&&e.size.height!=null){let t=NumberWithUnit.fromJSON(e.size.width),n=NumberWithUnit.fromJSON(e.size.height);return RectangularLocationSelection.withSize(new SizeWithUnit(t,n))}}}async setLocationSelection(e){e instanceof RectangularLocationSelection&&await this.workerCommand("labelCaptureSettingsSetLocationSelection",{payload:{settingsHandle:this[nativeHandle],locationSelection:e.toJSONObject()}});}async getProperty(e){return await this.workerCommand("labelCaptureSettingsGetProperty",{payload:{settingsHandle:this[nativeHandle],key:e}})}async setProperty(e,t){await this.workerCommand("labelCaptureSettingsSetProperty",{payload:{settingsHandle:this[nativeHandle],key:e,value:t}});}},s=p,l=class{constructor(){this.labelDefinitions=[];this.hiddenProperties={};}addLabel(e){return this.labelDefinitions.push(e),this}setHiddenProperty(e,t){return this.hiddenProperties[e]=t,this}setHiddenProperties(e){return this.hiddenProperties=e,this}setLabelProperties(e){return this.labelProperties=e,this}async build(){let e=a().workerCommand.bind(a()),t=await e("labelCaptureBuildLabelCaptureSettings",{payload:{hiddenProperties:this.hiddenProperties,labelDefinitionHandles:this.labelDefinitions.map(n=>n[nativeHandle]),labelProperties:this.labelProperties}});return s.forHandle(t,e)}};export{s as a,l as b};
@@ -1 +1 @@
1
- var t=class{constructor(a,e=!0){this._acceptPartialDates=!0;this._componentFormat=a,this._acceptPartialDates=e;}get componentFormat(){return this._componentFormat}get acceptPartialDates(){return this._acceptPartialDates}toJSONObject(){return {componentFormat:this._componentFormat,acceptPartialDates:this._acceptPartialDates}}};export{t as a};
1
+ var t=class{constructor(a,e=true){this._acceptPartialDates=true;this._componentFormat=a,this._acceptPartialDates=e;}get componentFormat(){return this._componentFormat}get acceptPartialDates(){return this._acceptPartialDates}toJSONObject(){return {componentFormat:this._componentFormat,acceptPartialDates:this._acceptPartialDates}}};export{t as a};
@@ -0,0 +1 @@
1
+ import {a as a$1}from'./chunk-MZS4F5K5.js';import {a}from'./chunk-SYDG6PPD.js';import {CameraSettings,FocusGestureStrategy,VideoResolution,convertToPublicFrameData}from'@scandit/web-datacapture-core';import {nativeHandle}from'@scandit/web-datacapture-core/build/js/private/nativeHandle.js';import {warnMultithreadingUnavailable}from'@scandit/web-datacapture-core/build/js/private/utils/warnMultithreadingUnavailable.js';var p=class p{constructor(e,a){this.skipSerialization=true;this.listeners=new Set;this.workerListener=this.onWorkerMessage.bind(this);this[nativeHandle]=e,this.context=a;}static createRecommendedCameraSettings(){let e=CameraSettings.fromJSON({preferredResolution:VideoResolution.FullHD,zoomFactor:1,zoomGestureZoomFactor:1,focusGestureStrategy:FocusGestureStrategy.ManualUntilCapture});return e.setProperty("grayScaleFrameReader",true),e}static async forContext(e,a$1){warnMultithreadingUnavailable();let o=await a().workerCommand("labelCaptureForContext",{payload:{settingsHandle:a$1[nativeHandle]}}),i=new p(o,e);return await e.addNativeMode(i),i}async isEnabled(){return a().workerCommand("labelCaptureIsEnabled",{payload:{labelCaptureHandle:this[nativeHandle]}})}async setEnabled(e){await a().workerCommand("labelCaptureSetEnabled",{payload:{enabled:e,labelCaptureHandle:this[nativeHandle]}});}async applySettings(e){await a().workerCommand("labelCaptureApplySettings",{payload:{settingsHandle:e[nativeHandle],labelCaptureHandle:this[nativeHandle]}});}addListener(e){var a$1;this.listeners.add(e),(a$1=e.didStartObservingLabelCapture)==null||a$1.call(e,this),this.listeners.size===1&&(a().addWorkerListener(this.workerListener),a().workerCommand("labelCaptureAddListener",{payload:{labelCaptureHandle:this[nativeHandle]}}));}removeListener(e){var a$1;this.listeners.delete(e),(a$1=e.didStopObservingLabelCapture)==null||a$1.call(e,this),this.listeners.size===0&&(a().removeWorkerListener(this.workerListener),a().workerCommand("labelCaptureRemoveListener",{payload:{labelCaptureHandle:this[nativeHandle]}}));}onWorkerMessage(e){switch(e.type){case "labelCaptureOnObservationStarted":this.didStartObservingLabelCapture();break;case "labelCaptureOnObservationStopped":this.didStopObservingLabelCapture();break;case "labelCaptureOnSessionUpdated":this.didUpdateSession(e.payload.session,e.payload.data);break}}didStartObservingLabelCapture(){var e;for(let a of this.listeners)(e=a.didStartObservingLabelCapture)==null||e.call(a,this);}didStopObservingLabelCapture(){var e;for(let a of this.listeners)(e=a.didStopObservingLabelCapture)==null||e.call(a,this);}didUpdateSession(e,a){var n;let o=a$1.fromJSON(e),i=convertToPublicFrameData(a,this.context);for(let s of this.listeners)(n=s.didUpdateSession)==null||n.call(s,this,o,i);}},d=p;export{d as a};
@@ -0,0 +1 @@
1
+ import {html,ScanditHTMLElement,defineCustomElements,css}from'@scandit/web-datacapture-core/build/js/private/utils/index.js';var l=html`<div><slot></slot></div>`,t=class t extends ScanditHTMLElement{constructor(){super();let e=this.attachShadow({mode:"open"});e.innerHTML=l,e.append(t.createStyleElement().cloneNode(true));}static create(){return document.createElement(t.tag)}static register(){defineCustomElements({[t.tag]:t});}static createStyleElement(){return css`:host div{padding:1rem}`}};t.tag="scandit-text-input-card-layout";var a=t;export{a};
@@ -1 +1 @@
1
- import {nativeHandle}from'@scandit/web-datacapture-core/build/js/private/nativeHandle.js';function u(i,n,t){let p=Object.getOwnPropertyNames(Object.getPrototypeOf(t)).filter(r=>r!=="toJSONObject"),l=Object.getOwnPropertyNames(t);for(let r of p){let e=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(t),r);e&&(e.set?Object.defineProperty(t,r,{...e,set:function(a){e.set&&e.set.call(this,a),n.workerCommand("labelCaptureBasicOverlayUpdateViewfinder",{payload:{labelCaptureBasicOverlayHandle:i[nativeHandle],viewfinderJSON:this.toJSONObject()}});}}):typeof e.value=="function"&&Object.defineProperty(t,r,{...e,value:function(...a){let o=e.value.apply(this,a);return n.workerCommand("labelCaptureBasicOverlayUpdateViewfinder",{payload:{labelCaptureBasicOverlayHandle:i[nativeHandle],viewfinderJSON:this.toJSONObject()}}),o}}));}for(let r of l){let e=Object.getOwnPropertyDescriptor(t,r);if(!e)continue;let a=t[r];Object.defineProperty(t,r,{enumerable:e.enumerable,configurable:!0,get:function(){return a},set:function(o){a=o,n.workerCommand("labelCaptureBasicOverlayUpdateViewfinder",{payload:{labelCaptureBasicOverlayHandle:i[nativeHandle],viewfinderJSON:this.toJSONObject()}});}});}return t}export{u as a};
1
+ import {nativeHandle}from'@scandit/web-datacapture-core/build/js/private/nativeHandle.js';function u(i,n,t){let p=Object.getOwnPropertyNames(Object.getPrototypeOf(t)).filter(r=>r!=="toJSONObject"),l=Object.getOwnPropertyNames(t);for(let r of p){let e=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(t),r);e&&(e.set?Object.defineProperty(t,r,{...e,set:function(a){e.set&&e.set.call(this,a),n.workerCommand("labelCaptureBasicOverlayUpdateViewfinder",{payload:{labelCaptureBasicOverlayHandle:i[nativeHandle],viewfinderJSON:this.toJSONObject()}});}}):typeof e.value=="function"&&Object.defineProperty(t,r,{...e,value:function(...a){let o=e.value.apply(this,a);return n.workerCommand("labelCaptureBasicOverlayUpdateViewfinder",{payload:{labelCaptureBasicOverlayHandle:i[nativeHandle],viewfinderJSON:this.toJSONObject()}}),o}}));}for(let r of l){let e=Object.getOwnPropertyDescriptor(t,r);if(!e)continue;let a=t[r];Object.defineProperty(t,r,{enumerable:e.enumerable,configurable:true,get:function(){return a},set:function(o){a=o,n.workerCommand("labelCaptureBasicOverlayUpdateViewfinder",{payload:{labelCaptureBasicOverlayHandle:i[nativeHandle],viewfinderJSON:this.toJSONObject()}});}});}return t}export{u as a};
@@ -1 +1 @@
1
- var e=class{constructor(){this._isOptional=!1;this.patterns=[];this.hiddenProperties={};}isOptional(t){return this._isOptional=t,this.getThis()}setPatterns(t){return this.patterns=t,this.getThis()}setPattern(t){return this.patterns=[t],this.getThis()}setHiddenProperty(t,i){return this.hiddenProperties[t]=i,this.getThis()}setHiddenProperties(t){return this.hiddenProperties=t,this.getThis()}};export{e as a};
1
+ var e=class{constructor(){this._isOptional=false;this.patterns=[];this.hiddenProperties={};}isOptional(t){return this._isOptional=t,this.getThis()}setPatterns(t){return this.patterns=t,this.getThis()}setPattern(t){return this.patterns=[t],this.getThis()}setHiddenProperty(t,i){return this.hiddenProperties[t]=i,this.getThis()}setHiddenProperties(t){return this.hiddenProperties=t,this.getThis()}};export{e as a};
@@ -0,0 +1 @@
1
+ import {a as a$1}from'./chunk-ZRE7NHAY.js';import {ScanditHTMLElement,defineCustomElements}from'@scandit/web-datacapture-core/build/js/private/utils/index.js';import {Color,ScanditIconType}from'@scandit/web-datacapture-core';var t=class t extends ScanditHTMLElement{constructor(){super();let n=this.attachShadow({mode:"open"});this.button=a$1.create(),this.button.backgroundColor=Color.fromHex("#FFFFFF"),this.button.icon=ScanditIconType.Restart,this.button.iconColor=Color.fromHex("#3D4852").withAlpha(.8),this.button.iconSize=20,n.appendChild(this.button);}static create(){return document.createElement(t.tag)}static register(){a$1.register(),defineCustomElements({[t.tag]:t});}};t.tag="scandit-label-card-list-restart-button";var a=t;export{a};
@@ -1 +1 @@
1
- import {a as a$1}from'./chunk-F5NT65XG.js';import {a as a$2}from'./chunk-2YS44WAC.js';import {a as a$3}from'./chunk-WCKFTTTM.js';import {a}from'./chunk-SYDG6PPD.js';import {Logger,RectangularViewfinder,AimerViewfinder}from'@scandit/web-datacapture-core';import {nativeHandle}from'@scandit/web-datacapture-core/build/js/private/nativeHandle.js';function f(d){return d instanceof RectangularViewfinder||d instanceof AimerViewfinder}var p=class p{constructor(e){this.listeners=new Set;this.onWorkerMessageHandler=this.onWorkerMessage.bind(this);this[nativeHandle]=e;}static async withLabelCapture(e){let t=await a().workerCommand("labelCaptureBasicOverlayForLabelCapture",{payload:{labelCaptureHandle:e[nativeHandle]}});return new p(t)}static async withLabelCaptureForView(e,t){let i=await a().workerCommand("labelCaptureBasicOverlayForLabelCapture",{payload:{labelCaptureHandle:e[nativeHandle]}}),s=new p(i);return await t.addOverlay(s),s}toJSONObject(){return {type:this[nativeHandle].className,nativeHandle:this[nativeHandle]}}async getListener(){return this.listeners.size===0?null:[...this.listeners.values()][0]}async setListener(e){if(!e){this.listeners.clear(),a().removeWorkerListener(this.onWorkerMessageHandler),await a().workerCommand("labelCaptureBasicOverlaySetListener",{payload:{labelCaptureBasicOverlayHandle:this[nativeHandle],value:!1}});return}this.listeners.size===0&&(this.listeners.add(e),a().addWorkerListener(this.onWorkerMessageHandler),await a().workerCommand("labelCaptureBasicOverlaySetListener",{payload:{labelCaptureBasicOverlayHandle:this[nativeHandle],value:!0}}));}async getDefaultFieldBrush(e){return await a().workerCommand("labelCaptureBasicOverlayGetDefaultFieldBrush",{payload:{labelCaptureBasicOverlayHandle:this[nativeHandle],labelFieldState:e}})}async setDefaultFieldBrush(e,t){return await a().workerCommand("labelCaptureBasicOverlaySetDefaultFieldBrush",{payload:{labelCaptureBasicOverlayHandle:this[nativeHandle],labelFieldState:t,brush:e.toJSONObject()}})}async getDefaultLabelBrush(){return await a().workerCommand("labelCaptureBasicOverlayGetDefaultLabelBrush",{payload:{labelCaptureBasicOverlayHandle:this[nativeHandle]}})}async setDefaultLabelBrush(e){return await a().workerCommand("labelCaptureBasicOverlaySetDefaultLabelBrush",{payload:{labelCaptureBasicOverlayHandle:this[nativeHandle],brush:e.toJSONObject()}})}async setBrushForField(e,t,i){return await a().workerCommand("labelCaptureBasicOverlaySetBrushForField",{payload:{labelCaptureBasicOverlayHandle:this[nativeHandle],fieldJSON:t.toJSONObject(),labelJSON:i.toJSONObject(),brush:e.toJSONObject()}})}async setBrushForLabel(e,t){return await a().workerCommand("labelCaptureBasicOverlaySetBrushForLabel",{payload:{labelCaptureBasicOverlayHandle:this[nativeHandle],labelJSON:t.toJSONObject(),brush:e.toJSONObject()}})}async getShouldShowScanAreaGuides(){return await a().workerCommand("labelCaptureBasicOverlayGetShouldShowScanAreaGuides",{payload:{labelCaptureBasicOverlayHandle:this[nativeHandle]}})}async setShouldShowScanAreaGuides(e){return await a().workerCommand("labelCaptureBasicOverlaySetShouldShowScanAreaGuides",{payload:{labelCaptureBasicOverlayHandle:this[nativeHandle],show:e}})}async getViewfinder(){return await a().workerCommand("labelCaptureBasicOverlayGetViewfinder",{payload:{labelCaptureBasicOverlayHandle:this[nativeHandle]}})}async setViewfinder(e){if(!f(e)){Logger.error("Supported viewfinder types are RectangularViewfinder and AimerViewfinder",e);return}return this.proxiedViewFinder=a$1(this,a(),e),await a().workerCommand("labelCaptureBasicOverlayUpdateViewfinder",{payload:{labelCaptureBasicOverlayHandle:this[nativeHandle],viewfinderJSON:e==null?void 0:e.toJSONObject()}})}onWorkerMessage(e){var t,i,s;switch(e.type){case"labelCaptureBasicOverlayOnLabelTapped":{for(let l of this.listeners)(t=l.onLabelTapped)==null||t.call(l,this,a$2.fromJSON(e.payload.labelJSON));break}case"labelCaptureBasicOverlayBrushForField":{for(let l of this.listeners){let o=a$3.fromJSON(e.payload.fieldJSON),u=a$2.fromJSON(e.payload.labelJSON),b=(i=l.brushForField)==null?void 0:i.call(l,this,o,u);b&&this.setBrushForField(b,o,u);}break}case"labelCaptureBasicOverlayBrushForLabel":{for(let l of this.listeners){let o=a$2.fromJSON(e.payload.labelJSON),u=(s=l.brushForLabel)==null?void 0:s.call(l,this,o);u&&this.setBrushForLabel(u,o);}break}}}},m=p;export{m as a};
1
+ import {a as a$1}from'./chunk-F5NT65XG.js';import {a as a$2}from'./chunk-2YS44WAC.js';import {a as a$3}from'./chunk-WCKFTTTM.js';import {a}from'./chunk-SYDG6PPD.js';import {Logger,RectangularViewfinder,AimerViewfinder}from'@scandit/web-datacapture-core';import {nativeHandle}from'@scandit/web-datacapture-core/build/js/private/nativeHandle.js';function f(d){return d instanceof RectangularViewfinder||d instanceof AimerViewfinder}var p=class p{constructor(e){this.listeners=new Set;this.onWorkerMessageHandler=this.onWorkerMessage.bind(this);this[nativeHandle]=e;}static async withLabelCapture(e){let t=await a().workerCommand("labelCaptureBasicOverlayForLabelCapture",{payload:{labelCaptureHandle:e[nativeHandle]}});return new p(t)}static async withLabelCaptureForView(e,t){let i=await a().workerCommand("labelCaptureBasicOverlayForLabelCapture",{payload:{labelCaptureHandle:e[nativeHandle]}}),s=new p(i);return await t.addOverlay(s),s}toJSONObject(){return {type:this[nativeHandle].className,nativeHandle:this[nativeHandle]}}async getListener(){return this.listeners.size===0?null:[...this.listeners.values()][0]}async setListener(e){if(!e){this.listeners.clear(),a().removeWorkerListener(this.onWorkerMessageHandler),await a().workerCommand("labelCaptureBasicOverlaySetListener",{payload:{labelCaptureBasicOverlayHandle:this[nativeHandle],value:false}});return}this.listeners.size===0&&(this.listeners.add(e),a().addWorkerListener(this.onWorkerMessageHandler),await a().workerCommand("labelCaptureBasicOverlaySetListener",{payload:{labelCaptureBasicOverlayHandle:this[nativeHandle],value:true}}));}async getDefaultFieldBrush(e){return await a().workerCommand("labelCaptureBasicOverlayGetDefaultFieldBrush",{payload:{labelCaptureBasicOverlayHandle:this[nativeHandle],labelFieldState:e}})}async setDefaultFieldBrush(e,t){return await a().workerCommand("labelCaptureBasicOverlaySetDefaultFieldBrush",{payload:{labelCaptureBasicOverlayHandle:this[nativeHandle],labelFieldState:t,brush:e.toJSONObject()}})}async getDefaultLabelBrush(){return await a().workerCommand("labelCaptureBasicOverlayGetDefaultLabelBrush",{payload:{labelCaptureBasicOverlayHandle:this[nativeHandle]}})}async setDefaultLabelBrush(e){return await a().workerCommand("labelCaptureBasicOverlaySetDefaultLabelBrush",{payload:{labelCaptureBasicOverlayHandle:this[nativeHandle],brush:e.toJSONObject()}})}async setBrushForField(e,t,i){return await a().workerCommand("labelCaptureBasicOverlaySetBrushForField",{payload:{labelCaptureBasicOverlayHandle:this[nativeHandle],fieldJSON:t.toJSONObject(),labelJSON:i.toJSONObject(),brush:e.toJSONObject()}})}async setBrushForLabel(e,t){return await a().workerCommand("labelCaptureBasicOverlaySetBrushForLabel",{payload:{labelCaptureBasicOverlayHandle:this[nativeHandle],labelJSON:t.toJSONObject(),brush:e.toJSONObject()}})}async getShouldShowScanAreaGuides(){return await a().workerCommand("labelCaptureBasicOverlayGetShouldShowScanAreaGuides",{payload:{labelCaptureBasicOverlayHandle:this[nativeHandle]}})}async setShouldShowScanAreaGuides(e){return await a().workerCommand("labelCaptureBasicOverlaySetShouldShowScanAreaGuides",{payload:{labelCaptureBasicOverlayHandle:this[nativeHandle],show:e}})}async getViewfinder(){return await a().workerCommand("labelCaptureBasicOverlayGetViewfinder",{payload:{labelCaptureBasicOverlayHandle:this[nativeHandle]}})}async setViewfinder(e){if(!f(e)){Logger.error("Supported viewfinder types are RectangularViewfinder and AimerViewfinder",e);return}return this.proxiedViewFinder=a$1(this,a(),e),await a().workerCommand("labelCaptureBasicOverlayUpdateViewfinder",{payload:{labelCaptureBasicOverlayHandle:this[nativeHandle],viewfinderJSON:e==null?void 0:e.toJSONObject()}})}onWorkerMessage(e){var t,i,s;switch(e.type){case "labelCaptureBasicOverlayOnLabelTapped":{for(let l of this.listeners)(t=l.onLabelTapped)==null||t.call(l,this,a$2.fromJSON(e.payload.labelJSON));break}case "labelCaptureBasicOverlayBrushForField":{for(let l of this.listeners){let o=a$3.fromJSON(e.payload.fieldJSON),u=a$2.fromJSON(e.payload.labelJSON),b=(i=l.brushForField)==null?void 0:i.call(l,this,o,u);b&&this.setBrushForField(b,o,u);}break}case "labelCaptureBasicOverlayBrushForLabel":{for(let l of this.listeners){let o=a$2.fromJSON(e.payload.labelJSON),u=(s=l.brushForLabel)==null?void 0:s.call(l,this,o);u&&this.setBrushForLabel(u,o);}break}}}},m=p;export{m as a};