@scandit/web-datacapture-label 7.3.0-beta.2 → 7.4.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (217) hide show
  1. package/build/js/{LabelCapture-DDlDP--7.d.ts → LabelCapture-DW9vjJDz.d.ts} +2 -0
  2. package/build/js/{LabelCaptureAdvancedOverlay-CQsy_KsL.d.ts → LabelCaptureAdvancedOverlay-DcEnRj__.d.ts} +2 -2
  3. package/build/js/{LabelCaptureBasicOverlay-4JorH1kZ.d.ts → LabelCaptureBasicOverlay-C1lz3rNb.d.ts} +2 -2
  4. package/build/js/{NativeProxy-CsndagT7.d.ts → NativeProxy-NnHcdv6Y.d.ts} +208 -11
  5. package/build/js/ResultOrError-wVDzYSuC.d.ts +27 -0
  6. package/build/js/api/CapturedLabel.d.ts +1 -0
  7. package/build/js/api/CapturedLabel.js +1 -1
  8. package/build/js/api/CustomBarcodeBuilder.js +1 -1
  9. package/build/js/api/CustomText.d.ts +5 -2
  10. package/build/js/api/CustomTextBuilder.d.ts +5 -2
  11. package/build/js/api/ExpiryDateText.d.ts +4 -1
  12. package/build/js/api/ExpiryDateTextBuilder.d.ts +4 -1
  13. package/build/js/api/ExpiryDateTextBuilder.js +1 -1
  14. package/build/js/api/ImeiOneBarcodeBuilder.js +1 -1
  15. package/build/js/api/LabelCapture.d.ts +13 -10
  16. package/build/js/api/LabelCapture.js +1 -1
  17. package/build/js/api/LabelCaptureAdvancedOverlay.d.ts +13 -10
  18. package/build/js/api/LabelCaptureAdvancedOverlay.js +1 -1
  19. package/build/js/api/LabelCaptureAdvancedOverlayListener.d.ts +13 -10
  20. package/build/js/api/LabelCaptureBasicOverlay.d.ts +13 -10
  21. package/build/js/api/LabelCaptureBasicOverlay.js +1 -1
  22. package/build/js/api/LabelCaptureBasicOverlayListener.d.ts +13 -10
  23. package/build/js/api/LabelCaptureListener.d.ts +13 -10
  24. package/build/js/api/LabelCaptureOverlayJSON.d.ts +5 -2
  25. package/build/js/api/LabelCaptureSession.d.ts +1 -0
  26. package/build/js/api/LabelCaptureSession.js +1 -1
  27. package/build/js/api/LabelCaptureSettings.d.ts +13 -9
  28. package/build/js/api/LabelCaptureSettings.js +1 -1
  29. package/build/js/api/LabelCaptureValidationFlowOverlay.d.ts +124 -0
  30. package/build/js/api/LabelCaptureValidationFlowOverlay.js +1 -0
  31. package/build/js/api/LabelCaptureValidationFlowSettings.d.ts +27 -0
  32. package/build/js/api/LabelCaptureValidationFlowSettings.js +1 -0
  33. package/build/js/api/LabelDefinition.d.ts +12 -7
  34. package/build/js/api/LabelDefinition.js +1 -1
  35. package/build/js/api/LabelField.d.ts +4 -0
  36. package/build/js/api/LabelField.js +1 -1
  37. package/build/js/api/LabelFieldValueType.d.ts +9 -0
  38. package/build/js/api/LabelFieldValueType.js +1 -0
  39. package/build/js/api/PackingDateText.d.ts +4 -1
  40. package/build/js/api/PackingDateTextBuilder.d.ts +4 -1
  41. package/build/js/api/PrivateValidationFlowHandler.d.ts +25 -0
  42. package/build/js/api/PrivateValidationFlowHandler.js +1 -0
  43. package/build/js/api/TotalPriceText.d.ts +7 -2
  44. package/build/js/api/TotalPriceText.js +1 -1
  45. package/build/js/api/TotalPriceTextBuilder.d.ts +10 -2
  46. package/build/js/api/TotalPriceTextBuilder.js +1 -1
  47. package/build/js/api/UnitPriceText.d.ts +7 -2
  48. package/build/js/api/UnitPriceText.js +1 -1
  49. package/build/js/api/UnitPriceTextBuilder.d.ts +10 -2
  50. package/build/js/api/UnitPriceTextBuilder.js +1 -1
  51. package/build/js/api/ValidationFlowField.d.ts +23 -0
  52. package/build/js/api/ValidationFlowField.js +1 -0
  53. package/build/js/api/WeightText.d.ts +7 -2
  54. package/build/js/api/WeightText.js +1 -1
  55. package/build/js/api/WeightTextBuilder.d.ts +10 -2
  56. package/build/js/api/WeightTextBuilder.js +1 -1
  57. package/build/js/chunks/chunk-2BXP3X3H.js +1 -0
  58. package/build/js/chunks/{chunk-MZS4F5K5.js → chunk-2WECOW4F.js} +1 -1
  59. package/build/js/chunks/chunk-3FUUGYCW.js +6 -0
  60. package/build/js/chunks/{chunk-XDPQXJ7N.js → chunk-3KGQKDI6.js} +1 -1
  61. package/build/js/chunks/{chunk-PEJQTQB4.js → chunk-3RUSTPOB.js} +1 -1
  62. package/build/js/chunks/chunk-5R7Q5YTS.js +6 -0
  63. package/build/js/chunks/chunk-633AVEFK.js +1 -0
  64. package/build/js/chunks/{chunk-446BONUZ.js → chunk-6WMMNFP2.js} +1 -1
  65. package/build/js/chunks/chunk-7G7CKZQL.js +1 -0
  66. package/build/js/chunks/chunk-BO7GK2X2.js +8 -0
  67. package/build/js/chunks/chunk-BYHTDLZK.js +1 -0
  68. package/build/js/chunks/chunk-DNILX7DX.js +1 -0
  69. package/build/js/chunks/chunk-F47VOOOA.js +1 -0
  70. package/build/js/chunks/chunk-G5CC2IW4.js +1 -0
  71. package/build/js/chunks/{chunk-2YS44WAC.js → chunk-GOW3A5CW.js} +1 -1
  72. package/build/js/chunks/{chunk-IE6L7ZGI.js → chunk-INKFF3U2.js} +1 -1
  73. package/build/js/chunks/chunk-JRA26UJQ.js +1 -0
  74. package/build/js/chunks/chunk-K66NB4SA.js +2 -0
  75. package/build/js/chunks/chunk-L4HDSTG7.js +1 -0
  76. package/build/js/chunks/{chunk-LLGO7KH5.js → chunk-LD3JSCP4.js} +1 -1
  77. package/build/js/chunks/chunk-LIUJLR3I.js +1 -0
  78. package/build/js/chunks/chunk-MO3YEUW7.js +1 -0
  79. package/build/js/chunks/chunk-MRCSX3QU.js +1 -0
  80. package/build/js/chunks/chunk-NPDG2TI5.js +1 -0
  81. package/build/js/chunks/chunk-P7B72XJK.js +1 -0
  82. package/build/js/chunks/chunk-PB6TETN2.js +10 -0
  83. package/build/js/chunks/{chunk-7A4I3E3E.js → chunk-QRSFFB7W.js} +1 -1
  84. package/build/js/chunks/chunk-SPN5R3Z5.js +1 -0
  85. package/build/js/chunks/chunk-SUEFKTEN.js +1 -0
  86. package/build/js/chunks/chunk-TCXD3SSH.js +1 -0
  87. package/build/js/chunks/chunk-WPDZTOAV.js +11 -0
  88. package/build/js/chunks/chunk-WR7V5D4H.js +1 -0
  89. package/build/js/chunks/{chunk-QMT35NSP.js → chunk-XORLXU35.js} +1 -1
  90. package/build/js/chunks/chunk-ZTERM2E3.js +1 -0
  91. package/build/js/djinni-types/sdcLabelInternalModuleCapture.d.ts +41 -28
  92. package/build/js/djinni-types/sdcLabelInternalModuleCapture.js +1 -0
  93. package/build/js/djinni-types/sdcLabelInternalModuleData.d.ts +9 -1
  94. package/build/js/djinni-types/sdcLabelInternalModuleData.js +1 -0
  95. package/build/js/djinni-types/sdcLabelInternalModuleUiOverlay.d.ts +43 -2
  96. package/build/js/index.d.ts +10 -4
  97. package/build/js/index.js +1 -1
  98. package/build/js/moduleLoader.js +1 -1
  99. package/build/js/private/PrivateLabelFieldDefinition.d.ts +5 -2
  100. package/build/js/private/createProxiedViewFinder.d.ts +13 -10
  101. package/build/js/private/viewfinderTranslator.js +1 -1
  102. package/build/js/ui/atoms/InputManuallyButton.js +1 -6
  103. package/build/js/ui/atoms/RoundedButton.d.ts +2 -0
  104. package/build/js/ui/atoms/RoundedButton.js +1 -1
  105. package/build/js/ui/atoms/TextInput.d.ts +47 -10
  106. package/build/js/ui/atoms/TextInput.js +1 -10
  107. package/build/js/ui/molecules/CardListContainer.d.ts +14 -21
  108. package/build/js/ui/molecules/CardListContainer.js +1 -7
  109. package/build/js/ui/molecules/CardListRestartBackButton.d.ts +27 -0
  110. package/build/js/ui/molecules/CardListRestartBackButton.js +1 -0
  111. package/build/js/ui/organisms/{LabelCaptureViewLayout.d.ts → LabelCaptureValidationFlowLayout.d.ts} +8 -5
  112. package/build/js/ui/organisms/LabelCaptureValidationFlowLayout.js +1 -0
  113. package/build/js/worker/LabelCaptureWorkerManager.d.ts +5 -2
  114. package/build/js/worker/LabelCaptureWorkerManager.js +1 -1
  115. package/build/js/worker/WorkerMain.d.ts +13 -4
  116. package/build/js/worker/WorkerMain.js +1 -1
  117. package/build/js/worker/WorkerRegistry.d.ts +5 -2
  118. package/build/js/worker/dataCaptureEngine.d.ts +5 -2
  119. package/build/js/worker/dataCaptureEngine.js +1 -1
  120. package/build/js/worker/dataCaptureWorkerRelated.d.ts +5 -2
  121. package/build/js/worker/labelCapture.inlineWorker.d.ts +5 -2
  122. package/build/js/worker/labelCapture.inlineWorker.js +1 -1
  123. package/build/js/worker/labelWorkerHandler.d.ts +5 -2
  124. package/build/js/worker/proxies/AimerViewfinderProxy.d.ts +5 -2
  125. package/build/js/worker/proxies/AimerViewfinderProxy.js +1 -1
  126. package/build/js/worker/proxies/BarcodeFieldProxy.d.ts +5 -2
  127. package/build/js/worker/proxies/BarcodeFieldProxy.js +1 -1
  128. package/build/js/worker/proxies/CapturedLabelProxy.d.ts +5 -2
  129. package/build/js/worker/proxies/CapturedLabelProxy.js +1 -1
  130. package/build/js/worker/proxies/CustomBarcodeProxy.d.ts +5 -2
  131. package/build/js/worker/proxies/CustomBarcodeProxy.js +1 -1
  132. package/build/js/worker/proxies/CustomTextProxy.d.ts +5 -2
  133. package/build/js/worker/proxies/CustomTextProxy.js +1 -1
  134. package/build/js/worker/proxies/ExpiryDateTextProxy.d.ts +5 -2
  135. package/build/js/worker/proxies/ExpiryDateTextProxy.js +1 -1
  136. package/build/js/worker/proxies/ImeiOneBarcodeProxy.d.ts +5 -2
  137. package/build/js/worker/proxies/ImeiOneBarcodeProxy.js +1 -1
  138. package/build/js/worker/proxies/ImeiTwoBarcodeProxy.d.ts +5 -2
  139. package/build/js/worker/proxies/ImeiTwoBarcodeProxy.js +1 -1
  140. package/build/js/worker/proxies/LabelCaptureAdvancedOverlayProxy.d.ts +5 -2
  141. package/build/js/worker/proxies/LabelCaptureAdvancedOverlayProxy.js +1 -1
  142. package/build/js/worker/proxies/LabelCaptureBasicOverlayProxy.d.ts +5 -2
  143. package/build/js/worker/proxies/LabelCaptureBasicOverlayProxy.js +1 -1
  144. package/build/js/worker/proxies/LabelCaptureHelperProxy.d.ts +5 -2
  145. package/build/js/worker/proxies/LabelCaptureHelperProxy.js +1 -1
  146. package/build/js/worker/proxies/LabelCaptureOverlayHelperProxy.d.ts +8 -3
  147. package/build/js/worker/proxies/LabelCaptureOverlayHelperProxy.js +1 -1
  148. package/build/js/worker/proxies/LabelCaptureProxy.d.ts +5 -2
  149. package/build/js/worker/proxies/LabelCaptureProxy.js +1 -1
  150. package/build/js/worker/proxies/LabelCaptureSessionProxy.d.ts +5 -2
  151. package/build/js/worker/proxies/LabelCaptureSessionProxy.js +1 -1
  152. package/build/js/worker/proxies/LabelCaptureSettingsProxy.d.ts +6 -3
  153. package/build/js/worker/proxies/LabelCaptureSettingsProxy.js +1 -1
  154. package/build/js/worker/proxies/LabelDefinitionProxy.d.ts +9 -4
  155. package/build/js/worker/proxies/LabelDefinitionProxy.js +1 -1
  156. package/build/js/worker/proxies/LabelFieldDefinitionProxy.d.ts +5 -2
  157. package/build/js/worker/proxies/LabelFieldDefinitionProxy.js +1 -1
  158. package/build/js/worker/proxies/LabelFieldLocationProxy.d.ts +5 -2
  159. package/build/js/worker/proxies/LabelFieldLocationProxy.js +1 -1
  160. package/build/js/worker/proxies/LabelFieldProxy.d.ts +7 -3
  161. package/build/js/worker/proxies/LabelFieldProxy.js +1 -1
  162. package/build/js/worker/proxies/NativeProxy.d.ts +5 -2
  163. package/build/js/worker/proxies/NativeProxy.js +1 -1
  164. package/build/js/worker/proxies/NoViewfinderProxy.d.ts +5 -2
  165. package/build/js/worker/proxies/NoViewfinderProxy.js +1 -1
  166. package/build/js/worker/proxies/PackingDateTextProxy.d.ts +5 -2
  167. package/build/js/worker/proxies/PackingDateTextProxy.js +1 -1
  168. package/build/js/worker/proxies/PartNumberBarcodeProxy.d.ts +5 -2
  169. package/build/js/worker/proxies/PartNumberBarcodeProxy.js +1 -1
  170. package/build/js/worker/proxies/RectangularViewfinderAnimationProxy.d.ts +45 -0
  171. package/build/js/worker/proxies/RectangularViewfinderAnimationProxy.js +1 -0
  172. package/build/js/worker/proxies/RectangularViewfinderProxy.d.ts +5 -2
  173. package/build/js/worker/proxies/RectangularViewfinderProxy.js +1 -1
  174. package/build/js/worker/proxies/SerialNumberBarcodeProxy.d.ts +5 -2
  175. package/build/js/worker/proxies/SerialNumberBarcodeProxy.js +1 -1
  176. package/build/js/worker/proxies/TotalPriceTextProxy.d.ts +8 -4
  177. package/build/js/worker/proxies/TotalPriceTextProxy.js +1 -1
  178. package/build/js/worker/proxies/UnitPriceTextProxy.d.ts +8 -4
  179. package/build/js/worker/proxies/UnitPriceTextProxy.js +1 -1
  180. package/build/js/worker/proxies/ValidationFlowOverlayProxy.d.ts +45 -0
  181. package/build/js/worker/proxies/ValidationFlowOverlayProxy.js +1 -0
  182. package/build/js/worker/proxies/ValidationFlowSettingsProxy.d.ts +54 -0
  183. package/build/js/worker/proxies/ValidationFlowSettingsProxy.js +1 -0
  184. package/build/js/worker/proxies/WeightTextProxy.d.ts +8 -4
  185. package/build/js/worker/proxies/WeightTextProxy.js +1 -1
  186. package/package.json +3 -3
  187. package/sdc-lib/resources/models/ocr_price_label_default.ff089db78a2c.model +0 -0
  188. package/sdc-lib/resources/models/price_label_localization.ae780fb79426.model +0 -0
  189. package/sdc-lib/resources/models/price_localization_in_whole_label.ae70141639d3.model +0 -0
  190. package/sdc-lib/scandit-datacapture-sdk-label-pthreads.js +1 -1
  191. package/sdc-lib/scandit-datacapture-sdk-label-pthreads.wasm +0 -0
  192. package/sdc-lib/scandit-datacapture-sdk-label-simd-pthreads.js +1 -1
  193. package/sdc-lib/scandit-datacapture-sdk-label-simd-pthreads.wasm +0 -0
  194. package/sdc-lib/scandit-datacapture-sdk-label-simd.js +1 -1
  195. package/sdc-lib/scandit-datacapture-sdk-label-simd.wasm +0 -0
  196. package/sdc-lib/scandit-datacapture-sdk-label.js +1 -1
  197. package/sdc-lib/scandit-datacapture-sdk-label.wasm +0 -0
  198. package/build/js/chunks/chunk-5VERGYK4.js +0 -1
  199. package/build/js/chunks/chunk-6QS527PW.js +0 -1
  200. package/build/js/chunks/chunk-AFWRIN4I.js +0 -1
  201. package/build/js/chunks/chunk-BUOQJS6T.js +0 -2
  202. package/build/js/chunks/chunk-CT6CX2MP.js +0 -1
  203. package/build/js/chunks/chunk-FRBS2U32.js +0 -1
  204. package/build/js/chunks/chunk-GPUOT6YB.js +0 -1
  205. package/build/js/chunks/chunk-IASWN2Y3.js +0 -1
  206. package/build/js/chunks/chunk-OIXWTJVO.js +0 -1
  207. package/build/js/chunks/chunk-PS5DNNLZ.js +0 -1
  208. package/build/js/chunks/chunk-VRBAAE3G.js +0 -1
  209. package/build/js/chunks/chunk-WCKFTTTM.js +0 -1
  210. package/build/js/chunks/chunk-XT4UWGV5.js +0 -1
  211. package/build/js/chunks/chunk-ZOJBHF75.js +0 -1
  212. package/build/js/chunks/chunk-ZRE7NHAY.js +0 -6
  213. package/build/js/ui/molecules/CardListRestartButton.d.ts +0 -16
  214. package/build/js/ui/molecules/CardListRestartButton.js +0 -1
  215. package/build/js/ui/molecules/CardListSubmitButton.d.ts +0 -16
  216. package/build/js/ui/molecules/CardListSubmitButton.js +0 -1
  217. package/build/js/ui/organisms/LabelCaptureViewLayout.js +0 -10
@@ -3,41 +3,16 @@ import { SymbologySettings } from './sdcSymbologySettings.js';
3
3
  import { WasmFrameData, DataCaptureContext } from '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
4
4
  import { LocationSelection } from './sdcCoreInternalSdkArea.js';
5
5
  import { WrappedFuture } from './sdcCoreInternalSdkCommonAsync.js';
6
+ import { R as ResultOrError } from '../ResultOrError-wVDzYSuC.js';
6
7
  import { ExternalOcrBackend } from './sdcCoreInternalSdkOcr.js';
7
8
  import { Rect } from './sdcCoreCommonGeometry.js';
8
9
  import { LabelFieldLocationType, LabelDateComponentFormat } from './sdcLabelData.js';
9
- import { CapturedLabel } from './sdcLabelInternalModuleData.js';
10
+ import { CapturedLabel, LabelField } from './sdcLabelInternalModuleData.js';
10
11
  import './sdcCoreInternalSdkCommonGeometry.js';
11
12
  import './sdcCoreCommon.js';
12
13
  import './sdcBarcodeInternalSdkData.js';
13
14
  import './sdcCoreCommonBuffer.js';
14
15
 
15
- /**
16
- * Copyright 2021 Snap, Inc.
17
- * Copyright 2024 Scandit AG
18
- *
19
- * Licensed under the Apache License, Version 2.0 (the "License");
20
- * you may not use this file except in compliance with the License.
21
- * You may obtain a copy of the License at
22
- *
23
- * http://www.apache.org/licenses/LICENSE-2.0
24
- *
25
- * Unless required by applicable law or agreed to in writing, software
26
- * distributed under the License is distributed on an "AS IS" BASIS,
27
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
28
- * See the License for the specific language governing permissions and
29
- * limitations under the License.
30
- */
31
- interface ResultOutcome<T> {
32
- type: "result";
33
- result: T;
34
- }
35
- interface ErrorOutcome<E> {
36
- type: "error";
37
- error: E;
38
- }
39
- type ResultOrError<T, E> = ResultOutcome<T> | ErrorOutcome<E>;
40
-
41
16
  interface LabelCapture {
42
17
  isEnabled(): boolean;
43
18
  setEnabled(enabled: boolean): void;
@@ -49,6 +24,7 @@ interface LabelCapture {
49
24
  getContext(): DataCaptureContext;
50
25
  registerExternalOcrBackend(backend: ExternalOcrBackend): void;
51
26
  shouldUseEngineDrivenAnimations(): boolean;
27
+ validationFlowHandler(): ValidationFlowHandler;
52
28
  }
53
29
  interface LabelCapture_statics {
54
30
  create(context: DataCaptureContext, settings: LabelCaptureSettings): LabelCapture;
@@ -92,6 +68,8 @@ interface LabelDefinition {
92
68
  }
93
69
  interface LabelDefinition_statics {
94
70
  create(name: string, fieldDefinitions: Array<LabelFieldDefinition>): LabelDefinition;
71
+ createVinLabelDefinition(name: string): LabelDefinition;
72
+ createPriceCaptureDefinition(name: string): LabelDefinition;
95
73
  }
96
74
  interface LabelFieldDefinition {
97
75
  getName(): string;
@@ -375,6 +353,40 @@ interface LabelFieldLocation_statics {
375
353
  createWithType(locationType: LabelFieldLocationType): LabelFieldLocation;
376
354
  createWithRect(rect: Rect): LabelFieldLocation;
377
355
  }
356
+ declare enum ValidationFlowState {
357
+ IDLE = 0,
358
+ IN_PARTIAL_SCAN = 1,
359
+ IN_COMPLETE_SCAN = 2,
360
+ PAUSED = 3,
361
+ FINISHED = 4
362
+ }
363
+ interface ValidationFlowField {
364
+ getLabelField(): LabelField;
365
+ isValid(): boolean;
366
+ }
367
+ interface ValidationFlowListener {
368
+ onFieldsScanned(fields: Array<ValidationFlowField>): void;
369
+ onScanTimeout(): void;
370
+ onLabelIsMissingRequiredField(fields: Array<ValidationFlowField>): void;
371
+ onStateChanged(state: ValidationFlowState): void;
372
+ onCloudBackupServiceStartedForFields(fields: Array<ValidationFlowField>): void;
373
+ onCloudBackupServiceFailedForFields(fields: Array<ValidationFlowField>): void;
374
+ }
375
+ interface ValidationFlowHandler {
376
+ startCompleteLabelScan(labelName: string): void;
377
+ startPartialLabelScan(fieldNames: Array<string>): void;
378
+ updateFieldValue(fieldName: string, value: string): boolean;
379
+ finishFlow(): ResultOrError<Array<ValidationFlowField>, string>;
380
+ validationFlowFields(): Array<ValidationFlowField>;
381
+ pauseScan(): void;
382
+ resumeScan(): void;
383
+ cancelCloudBackupTaskForField(fieldName: string): void;
384
+ addListener(listener: ValidationFlowListener): void;
385
+ removeListener(listener: ValidationFlowListener): void;
386
+ }
387
+ interface ValidationFlowHandler_statics {
388
+ create(labelCapture: LabelCapture, listener: ValidationFlowListener): ValidationFlowHandler;
389
+ }
378
390
  interface SdcLabelInternalModuleCapture_statics {
379
391
  LabelCapture: LabelCapture_statics;
380
392
  LabelCaptureHelper: LabelCaptureHelper_statics;
@@ -393,6 +405,7 @@ interface SdcLabelInternalModuleCapture_statics {
393
405
  SerialNumberBarcode: SerialNumberBarcode_statics;
394
406
  CustomBarcode: CustomBarcode_statics;
395
407
  LabelFieldLocation: LabelFieldLocation_statics;
408
+ ValidationFlowHandler: ValidationFlowHandler_statics;
396
409
  }
397
410
 
398
- export type { BarcodeField, BarcodeField_statics, CustomBarcode, CustomBarcode_statics, CustomText, CustomText_statics, ExpiryDateText, ExpiryDateText_statics, ImeiOneBarcode, ImeiOneBarcode_statics, ImeiTwoBarcode, ImeiTwoBarcode_statics, LabelCapture, LabelCaptureHelper, LabelCaptureHelper_statics, LabelCaptureListener, LabelCaptureSession, LabelCaptureSettings, LabelCaptureSettings_statics, LabelCapture_statics, LabelDateFormat, LabelDefinition, LabelDefinition_statics, LabelFieldDefinition, LabelFieldLocation, LabelFieldLocation_statics, PackingDateText, PackingDateText_statics, PartNumberBarcode, PartNumberBarcode_statics, SdcLabelInternalModuleCapture_statics, SerialNumberBarcode, SerialNumberBarcode_statics, TextField, TotalPriceText, TotalPriceText_statics, UnitPriceText, UnitPriceText_statics, WeightText, WeightText_statics };
411
+ export { type BarcodeField, type BarcodeField_statics, type CustomBarcode, type CustomBarcode_statics, type CustomText, type CustomText_statics, type ExpiryDateText, type ExpiryDateText_statics, type ImeiOneBarcode, type ImeiOneBarcode_statics, type ImeiTwoBarcode, type ImeiTwoBarcode_statics, type LabelCapture, type LabelCaptureHelper, type LabelCaptureHelper_statics, type LabelCaptureListener, type LabelCaptureSession, type LabelCaptureSettings, type LabelCaptureSettings_statics, type LabelCapture_statics, type LabelDateFormat, type LabelDefinition, type LabelDefinition_statics, type LabelFieldDefinition, type LabelFieldLocation, type LabelFieldLocation_statics, type PackingDateText, type PackingDateText_statics, type PartNumberBarcode, type PartNumberBarcode_statics, type SdcLabelInternalModuleCapture_statics, type SerialNumberBarcode, type SerialNumberBarcode_statics, type TextField, type TotalPriceText, type TotalPriceText_statics, type UnitPriceText, type UnitPriceText_statics, type ValidationFlowField, type ValidationFlowHandler, type ValidationFlowHandler_statics, type ValidationFlowListener, ValidationFlowState, type WeightText, type WeightText_statics };
@@ -0,0 +1 @@
1
+ export{a as ValidationFlowState}from'../chunks/chunk-TCXD3SSH.js';
@@ -4,6 +4,13 @@ import { LabelFieldType, LabelFieldState } from './sdcLabelData.js';
4
4
  import './sdcBarcodeData.js';
5
5
  import './sdcCoreCommonBuffer.js';
6
6
 
7
+ declare enum LabelFieldValueType {
8
+ DATE = 0,
9
+ PRICE = 1,
10
+ WEIGHT = 2,
11
+ TEXT = 3,
12
+ NUMERIC = 4
13
+ }
7
14
  interface LabelDateResult {
8
15
  day?: number;
9
16
  month?: number;
@@ -18,6 +25,7 @@ interface LabelField {
18
25
  getType(): LabelFieldType;
19
26
  getPredictedLocation(): Quadrilateral;
20
27
  getState(): LabelFieldState;
28
+ getValueType(): LabelFieldValueType;
21
29
  getBarcode(): Barcode;
22
30
  getText(): string | undefined;
23
31
  getDate(): LabelDateResult | undefined;
@@ -35,4 +43,4 @@ interface CapturedLabel {
35
43
  interface SdcLabelInternalModuleData_statics {
36
44
  }
37
45
 
38
- export type { CapturedLabel, LabelDateResult, LabelField, SdcLabelInternalModuleData_statics };
46
+ export { type CapturedLabel, type LabelDateResult, type LabelField, LabelFieldValueType, type SdcLabelInternalModuleData_statics };
@@ -0,0 +1 @@
1
+ export{a as LabelFieldValueType}from'../chunks/chunk-BYHTDLZK.js';
@@ -11,11 +11,12 @@ import './sdcCoreInternalSdkArea.js';
11
11
  import './sdcCoreInternalSdkCommonGeometry.js';
12
12
  import './sdcCoreCommonGeometry.js';
13
13
  import './sdcCoreInternalSdkCommonAsync.js';
14
+ import '../ResultOrError-wVDzYSuC.js';
14
15
  import './sdcCoreInternalSdkOcr.js';
15
16
  import './sdcCoreCommon.js';
16
- import './sdcCoreInternalSdkCommonGraphics.js';
17
17
  import './sdcBarcodeInternalSdkData.js';
18
18
  import './sdcCoreCommonBuffer.js';
19
+ import './sdcCoreInternalSdkCommonGraphics.js';
19
20
 
20
21
  interface LabelCaptureBasicOverlayListener {
21
22
  brushForField(overlay: LabelCaptureBasicOverlay, field: LabelField, label: CapturedLabel): Brush | undefined;
@@ -57,11 +58,51 @@ interface LabelCaptureOverlayHelper_statics {
57
58
  removeBasicOverlay(overlay: LabelCaptureBasicOverlay, view: DataCaptureView): void;
58
59
  addAdvancedOverlay(overlay: LabelCaptureAdvancedOverlay, view: DataCaptureView): void;
59
60
  removeAdvancedOverlay(overlay: LabelCaptureAdvancedOverlay, view: DataCaptureView): void;
61
+ addValidationFlowOverlay(overlay: ValidationFlowOverlay, view: DataCaptureView): void;
62
+ removeValidationFlowOverlay(overlay: ValidationFlowOverlay, view: DataCaptureView): void;
63
+ }
64
+ interface ValidationFlowSettingsDefaults {
65
+ }
66
+ interface ValidationFlowSettingsDefaults_statics {
67
+ getMissingFieldsHintText(): string;
68
+ getValidationHintText(): string;
69
+ getStandbyHintText(): string;
70
+ getRequiredFieldErrorText(): string;
71
+ getManualInputButtonText(): string;
72
+ getValidationErrorText(): string;
73
+ }
74
+ interface ValidationFlowSettings {
75
+ setMissingFieldsHintText(text: string): void;
76
+ getMissingFieldsHintText(): string;
77
+ setStandbyHintText(text: string): void;
78
+ getStandbyHintText(): string;
79
+ setValidationHintText(text: string): void;
80
+ getValidationHintText(): string;
81
+ setValidationErrorText(text: string): void;
82
+ getValidationErrorText(): string;
83
+ setRequiredFieldErrorText(text: string): void;
84
+ getRequiredFieldErrorText(): string;
85
+ setManualInputButtonText(text: string): void;
86
+ getManualInputButtonText(): string;
87
+ }
88
+ interface ValidationFlowSettings_statics {
89
+ create(): ValidationFlowSettings;
90
+ }
91
+ interface ValidationFlowOverlay {
92
+ applySettings(settings: ValidationFlowSettings): void;
93
+ getLabelViewfinder(): Viewfinder;
94
+ getTargetViewfinder(): Viewfinder;
95
+ }
96
+ interface ValidationFlowOverlay_statics {
97
+ create(mode: LabelCapture): ValidationFlowOverlay;
60
98
  }
61
99
  interface SdcLabelInternalModuleUiOverlay_statics {
62
100
  LabelCaptureBasicOverlay: LabelCaptureBasicOverlay_statics;
63
101
  LabelCaptureAdvancedOverlay: LabelCaptureAdvancedOverlay_statics;
64
102
  LabelCaptureOverlayHelper: LabelCaptureOverlayHelper_statics;
103
+ ValidationFlowSettingsDefaults: ValidationFlowSettingsDefaults_statics;
104
+ ValidationFlowSettings: ValidationFlowSettings_statics;
105
+ ValidationFlowOverlay: ValidationFlowOverlay_statics;
65
106
  }
66
107
 
67
- export type { LabelCaptureAdvancedOverlay, LabelCaptureAdvancedOverlay_statics, LabelCaptureBasicOverlay, LabelCaptureBasicOverlayListener, LabelCaptureBasicOverlay_statics, LabelCaptureOverlayHelper, LabelCaptureOverlayHelper_statics, SdcLabelInternalModuleUiOverlay_statics };
108
+ export type { LabelCaptureAdvancedOverlay, LabelCaptureAdvancedOverlay_statics, LabelCaptureBasicOverlay, LabelCaptureBasicOverlayListener, LabelCaptureBasicOverlay_statics, LabelCaptureOverlayHelper, LabelCaptureOverlayHelper_statics, SdcLabelInternalModuleUiOverlay_statics, ValidationFlowOverlay, ValidationFlowOverlay_statics, ValidationFlowSettings, ValidationFlowSettingsDefaults, ValidationFlowSettingsDefaults_statics, ValidationFlowSettings_statics };
@@ -10,8 +10,8 @@ export { ImeiOneBarcode } from './api/ImeiOneBarcode.js';
10
10
  export { ImeiOneBarcodeBuilder } from './api/ImeiOneBarcodeBuilder.js';
11
11
  export { ImeiTwoBarcode } from './api/ImeiTwoBarcode.js';
12
12
  export { ImeiTwoBarcodeBuilder } from './api/ImeiTwoBarcodeBuilder.js';
13
- export { L as LabelCapture, a as LabelCaptureListener } from './LabelCapture-DDlDP--7.js';
14
- export { L as LabelCaptureBasicOverlay, a as LabelCaptureBasicOverlayListener } from './LabelCaptureBasicOverlay-4JorH1kZ.js';
13
+ export { L as LabelCapture, a as LabelCaptureListener } from './LabelCapture-DW9vjJDz.js';
14
+ export { L as LabelCaptureBasicOverlay, a as LabelCaptureBasicOverlayListener } from './LabelCaptureBasicOverlay-C1lz3rNb.js';
15
15
  export { LabelCaptureSession, LabelCaptureSessionJSON } from './api/LabelCaptureSession.js';
16
16
  export { LabelCaptureSettings, LabelCaptureSettingsBuilder } from './api/LabelCaptureSettings.js';
17
17
  export { LabelDateComponentFormat } from './api/LabelDateComponentFormat.js';
@@ -38,13 +38,15 @@ export { UnitPriceText } from './api/UnitPriceText.js';
38
38
  export { UnitPriceTextBuilder } from './api/UnitPriceTextBuilder.js';
39
39
  export { WeightText } from './api/WeightText.js';
40
40
  export { WeightTextBuilder } from './api/WeightTextBuilder.js';
41
- export { L as LabelCaptureAdvancedOverlay, a as LabelCaptureAdvancedOverlayListener } from './LabelCaptureAdvancedOverlay-CQsy_KsL.js';
41
+ export { L as LabelCaptureAdvancedOverlay, a as LabelCaptureAdvancedOverlayListener } from './LabelCaptureAdvancedOverlay-DcEnRj__.js';
42
42
  export { labelCaptureLoader } from './moduleLoader.js';
43
+ export { LabelCaptureValidationFlowListener, LabelCaptureValidationFlowOverlay, LabelCaptureValidationFlowOverlayJSON } from './api/LabelCaptureValidationFlowOverlay.js';
44
+ export { LabelCaptureValidationFlowSettings } from './api/LabelCaptureValidationFlowSettings.js';
43
45
  import '@scandit/web-datacapture-barcode';
44
46
  import '@scandit/web-datacapture-core';
45
47
  import '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
46
48
  import './api/BarcodeFieldBuilder.js';
47
- import './NativeProxy-CsndagT7.js';
49
+ import './NativeProxy-NnHcdv6Y.js';
48
50
  import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
49
51
  import './djinni-types/sdcBarcodeInternalSdkData.js';
50
52
  import './djinni-types/sdcBarcodeData.js';
@@ -55,6 +57,7 @@ import './djinni-types/sdcSymbologySettings.js';
55
57
  import './djinni-types/sdcCoreInternalSdkArea.js';
56
58
  import './djinni-types/sdcCoreInternalSdkCommonGeometry.js';
57
59
  import './djinni-types/sdcCoreInternalSdkCommonAsync.js';
60
+ import './ResultOrError-wVDzYSuC.js';
58
61
  import './djinni-types/sdcCoreInternalSdkOcr.js';
59
62
  import './djinni-types/sdcCoreCommon.js';
60
63
  import './djinni-types/sdcLabelData.js';
@@ -65,5 +68,8 @@ import './djinni-types/sdcLabelInternalModuleUiOverlay.js';
65
68
  import './djinni-types/sdcCoreInternalSdkCapture.js';
66
69
  import './djinni-types/sdcCoreInternalSdkUiStyle.js';
67
70
  import './api/LabelFieldLocationType.js';
71
+ import './api/ValidationFlowField.js';
68
72
  import '@scandit/web-datacapture-core/build/js/private/Serializable';
69
73
  import './api/LabelCaptureOverlayJSON.js';
74
+ import './api/LabelFieldValueType.js';
75
+ import '@scandit/web-datacapture-core/build/js/private/Serializable.js';
package/build/js/index.js CHANGED
@@ -1 +1 @@
1
- export{a as WeightTextBuilder}from'./chunks/chunk-OIXWTJVO.js';export{a as WeightText}from'./chunks/chunk-PS5DNNLZ.js';export{a as SerialNumberBarcodeBuilder}from'./chunks/chunk-H5ATXM2K.js';export{a as SerialNumberBarcode}from'./chunks/chunk-QLVN2GEB.js';export{a as TotalPriceTextBuilder}from'./chunks/chunk-GPUOT6YB.js';export{a as TotalPriceText}from'./chunks/chunk-XT4UWGV5.js';export{a as UnitPriceTextBuilder}from'./chunks/chunk-AFWRIN4I.js';export{a as UnitPriceText}from'./chunks/chunk-5VERGYK4.js';export{a as LabelFieldLocation}from'./chunks/chunk-BGVFXDGB.js';export{a as LabelFieldState}from'./chunks/chunk-COOCFN2K.js';export{a as PackingDateTextBuilder}from'./chunks/chunk-XPMYDYJA.js';export{a as PackingDateText}from'./chunks/chunk-Z25YTWYI.js';export{a as PartNumberBarcodeBuilder}from'./chunks/chunk-HRSPIFUD.js';export{a as PartNumberBarcode}from'./chunks/chunk-LD3KGFYK.js';export{a as LabelCaptureSettings,b as LabelCaptureSettingsBuilder}from'./chunks/chunk-7A4I3E3E.js';export{a as LabelDateComponentFormat}from'./chunks/chunk-BJSBS5IL.js';export{a as LabelDateFormat}from'./chunks/chunk-BJFWGOUS.js';export{a as LabelDefinition,b as LabelDefinitionBuilder}from'./chunks/chunk-FRBS2U32.js';export{a as LabelCapture}from'./chunks/chunk-CT6CX2MP.js';export{a as LabelCaptureAdvancedOverlay}from'./chunks/chunk-446BONUZ.js';export{a as LabelCaptureBasicOverlay}from'./chunks/chunk-IE6L7ZGI.js';export{a as LabelCaptureSession}from'./chunks/chunk-MZS4F5K5.js';export{a as CustomTextBuilder}from'./chunks/chunk-3YJEYYNN.js';export{a as CustomText}from'./chunks/chunk-SQONULJF.js';export{a as ExpiryDateTextBuilder}from'./chunks/chunk-XDPQXJ7N.js';export{a as TextFieldBuilder}from'./chunks/chunk-QWUV2OFD.js';export{a as ExpiryDateText}from'./chunks/chunk-6KUX2QIV.js';export{a as ImeiOneBarcodeBuilder}from'./chunks/chunk-QMT35NSP.js';export{a as ImeiOneBarcode}from'./chunks/chunk-SGMJGVQ3.js';export{a as ImeiTwoBarcodeBuilder}from'./chunks/chunk-CTHVVCLQ.js';export{a as ImeiTwoBarcode}from'./chunks/chunk-Z5EEGVPC.js';export{a as labelCaptureLoader}from'./chunks/chunk-PEJQTQB4.js';export{a as CapturedLabel}from'./chunks/chunk-2YS44WAC.js';export{a as LabelField}from'./chunks/chunk-WCKFTTTM.js';export{a as LabelFieldType}from'./chunks/chunk-ZU6C4VWO.js';export{a as LabelDateResult}from'./chunks/chunk-D5PIEZCN.js';export{a as CustomBarcodeBuilder}from'./chunks/chunk-LLGO7KH5.js';export{a as LabelFieldDefinitionBuilder}from'./chunks/chunk-GRFWM6G6.js';export{a as CustomBarcode}from'./chunks/chunk-KVDETJIR.js';
1
+ export{a as WeightTextBuilder}from'./chunks/chunk-7G7CKZQL.js';export{a as WeightText}from'./chunks/chunk-DNILX7DX.js';export{a as SerialNumberBarcodeBuilder}from'./chunks/chunk-H5ATXM2K.js';export{a as TotalPriceTextBuilder}from'./chunks/chunk-JRA26UJQ.js';export{a as TotalPriceText}from'./chunks/chunk-L4HDSTG7.js';export{a as UnitPriceTextBuilder}from'./chunks/chunk-LIUJLR3I.js';export{a as UnitPriceText}from'./chunks/chunk-MO3YEUW7.js';export{a as PackingDateTextBuilder}from'./chunks/chunk-XPMYDYJA.js';export{a as PackingDateText}from'./chunks/chunk-Z25YTWYI.js';export{a as PartNumberBarcodeBuilder}from'./chunks/chunk-HRSPIFUD.js';export{a as PartNumberBarcode}from'./chunks/chunk-LD3KGFYK.js';export{a as SerialNumberBarcode}from'./chunks/chunk-QLVN2GEB.js';export{a as LabelDefinition,b as LabelDefinitionBuilder}from'./chunks/chunk-G5CC2IW4.js';export{a as LabelFieldLocation}from'./chunks/chunk-BGVFXDGB.js';export{a as LabelFieldState}from'./chunks/chunk-COOCFN2K.js';export{a as LabelCaptureSettings,b as LabelCaptureSettingsBuilder}from'./chunks/chunk-QRSFFB7W.js';export{a as LabelCaptureValidationFlowOverlay}from'./chunks/chunk-633AVEFK.js';export{a as LabelCaptureValidationFlowSettings}from'./chunks/chunk-2BXP3X3H.js';export{a as LabelDateComponentFormat}from'./chunks/chunk-BJSBS5IL.js';export{a as LabelDateFormat}from'./chunks/chunk-BJFWGOUS.js';export{a as ImeiOneBarcodeBuilder}from'./chunks/chunk-XORLXU35.js';export{a as ImeiTwoBarcodeBuilder}from'./chunks/chunk-CTHVVCLQ.js';export{a as ImeiTwoBarcode}from'./chunks/chunk-Z5EEGVPC.js';export{a as LabelCapture}from'./chunks/chunk-SPN5R3Z5.js';export{a as LabelCaptureAdvancedOverlay}from'./chunks/chunk-6WMMNFP2.js';export{a as LabelCaptureSession}from'./chunks/chunk-2WECOW4F.js';export{a as LabelCaptureBasicOverlay}from'./chunks/chunk-INKFF3U2.js';export{a as CapturedLabel}from'./chunks/chunk-GOW3A5CW.js';export{a as LabelField}from'./chunks/chunk-WR7V5D4H.js';export{a as LabelFieldType}from'./chunks/chunk-ZU6C4VWO.js';export{a as LabelDateResult}from'./chunks/chunk-D5PIEZCN.js';export{a as CustomBarcodeBuilder}from'./chunks/chunk-LD3JSCP4.js';export{a as CustomBarcode}from'./chunks/chunk-KVDETJIR.js';export{a as CustomTextBuilder}from'./chunks/chunk-3YJEYYNN.js';export{a as CustomText}from'./chunks/chunk-SQONULJF.js';export{a as ExpiryDateTextBuilder}from'./chunks/chunk-3KGQKDI6.js';export{a as TextFieldBuilder}from'./chunks/chunk-QWUV2OFD.js';export{a as ExpiryDateText}from'./chunks/chunk-6KUX2QIV.js';export{a as ImeiOneBarcode}from'./chunks/chunk-SGMJGVQ3.js';export{a as LabelFieldDefinitionBuilder}from'./chunks/chunk-GRFWM6G6.js';export{a as labelCaptureLoader}from'./chunks/chunk-3RUSTPOB.js';
@@ -1 +1 @@
1
- export{a as labelCaptureLoader}from'./chunks/chunk-PEJQTQB4.js';
1
+ export{a as labelCaptureLoader}from'./chunks/chunk-3RUSTPOB.js';
@@ -1,6 +1,6 @@
1
1
  import { nativeHandle } from '@scandit/web-datacapture-core/build/js/private/nativeHandle.js';
2
2
  import { LabelFieldDefinition } from '../api/LabelFieldDefinition.js';
3
- import { N as NativeProxyHandle } from '../NativeProxy-CsndagT7.js';
3
+ import { N as NativeProxyHandle } from '../NativeProxy-NnHcdv6Y.js';
4
4
  import '@scandit/web-datacapture-barcode';
5
5
  import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
6
6
  import '../djinni-types/sdcBarcodeInternalSdkData.js';
@@ -12,6 +12,7 @@ import '../djinni-types/sdcSymbologySettings.js';
12
12
  import '../djinni-types/sdcCoreInternalSdkArea.js';
13
13
  import '../djinni-types/sdcCoreInternalSdkCommonGeometry.js';
14
14
  import '../djinni-types/sdcCoreInternalSdkCommonAsync.js';
15
+ import '../ResultOrError-wVDzYSuC.js';
15
16
  import '../djinni-types/sdcCoreInternalSdkOcr.js';
16
17
  import '../djinni-types/sdcCoreCommon.js';
17
18
  import '../djinni-types/sdcLabelData.js';
@@ -26,11 +27,13 @@ import '../api/CapturedLabel.js';
26
27
  import '../api/LabelField.js';
27
28
  import '../api/LabelFieldState.js';
28
29
  import '../api/LabelFieldType.js';
30
+ import '../api/LabelFieldValueType.js';
29
31
  import '../api/LabelDateResult.js';
30
32
  import '../api/LabelCaptureSession.js';
31
- import '../api/LabelFieldLocationType.js';
32
33
  import '../api/LabelDateFormat.js';
33
34
  import '../api/LabelDateComponentFormat.js';
35
+ import '../api/LabelFieldLocationType.js';
36
+ import '../api/ValidationFlowField.js';
34
37
 
35
38
  interface PrivateLabelFieldDefinition extends LabelFieldDefinition {
36
39
  [nativeHandle]: NativeProxyHandle;
@@ -1,5 +1,5 @@
1
1
  import { AimerViewfinder, RectangularViewfinder } from '@scandit/web-datacapture-core';
2
- import { L as LabelCaptureBasicOverlay } from '../LabelCaptureBasicOverlay-4JorH1kZ.js';
2
+ import { L as LabelCaptureBasicOverlay } from '../LabelCaptureBasicOverlay-C1lz3rNb.js';
3
3
  import { LabelCaptureWorkerManager } from '../worker/LabelCaptureWorkerManager.js';
4
4
  import '../djinni-types/sdcLabelData.js';
5
5
  import '@scandit/web-datacapture-core/build/js/private/Serializable';
@@ -9,8 +9,9 @@ import '../api/LabelField.js';
9
9
  import '@scandit/web-datacapture-barcode';
10
10
  import '../api/LabelFieldState.js';
11
11
  import '../api/LabelFieldType.js';
12
+ import '../api/LabelFieldValueType.js';
12
13
  import '../api/LabelDateResult.js';
13
- import '../NativeProxy-CsndagT7.js';
14
+ import '../NativeProxy-NnHcdv6Y.js';
14
15
  import '@scandit/web-datacapture-core/build/js/worker/dataCaptureWorkerRelated';
15
16
  import '../djinni-types/sdcBarcodeInternalSdkData.js';
16
17
  import '../djinni-types/sdcBarcodeData.js';
@@ -21,6 +22,7 @@ import '../djinni-types/sdcSymbologySettings.js';
21
22
  import '../djinni-types/sdcCoreInternalSdkArea.js';
22
23
  import '../djinni-types/sdcCoreInternalSdkCommonGeometry.js';
23
24
  import '../djinni-types/sdcCoreInternalSdkCommonAsync.js';
25
+ import '../ResultOrError-wVDzYSuC.js';
24
26
  import '../djinni-types/sdcCoreInternalSdkOcr.js';
25
27
  import '../djinni-types/sdcCoreCommon.js';
26
28
  import '../djinni-types/sdcLabelInternalModuleData.js';
@@ -30,27 +32,28 @@ import '../djinni-types/sdcLabelInternalModuleUiOverlay.js';
30
32
  import '../djinni-types/sdcCoreInternalSdkCapture.js';
31
33
  import '../djinni-types/sdcCoreInternalSdkUiStyle.js';
32
34
  import '../api/LabelCaptureSession.js';
33
- import '../api/LabelFieldLocationType.js';
34
35
  import '../api/LabelDateFormat.js';
35
36
  import '../api/LabelDateComponentFormat.js';
36
- import '../LabelCapture-DDlDP--7.js';
37
+ import '../api/LabelFieldLocationType.js';
38
+ import '../api/ValidationFlowField.js';
39
+ import '../LabelCapture-DW9vjJDz.js';
37
40
  import '../api/LabelCaptureSettings.js';
38
41
  import '../api/LabelDefinition.js';
39
- import '../api/CustomBarcode.js';
42
+ import '../api/ImeiOneBarcode.js';
40
43
  import '../api/BarcodeField.js';
41
44
  import '../api/LabelFieldDefinition.js';
42
- import '../api/LabelFieldLocation.js';
43
- import '../api/CustomText.js';
44
- import '../api/TextField.js';
45
- import '../api/ExpiryDateText.js';
46
- import '../api/ImeiOneBarcode.js';
47
45
  import '../api/ImeiTwoBarcode.js';
48
46
  import '../api/PackingDateText.js';
47
+ import '../api/TextField.js';
49
48
  import '../api/PartNumberBarcode.js';
50
49
  import '../api/SerialNumberBarcode.js';
51
50
  import '../api/TotalPriceText.js';
52
51
  import '../api/UnitPriceText.js';
53
52
  import '../api/WeightText.js';
53
+ import '../api/CustomBarcode.js';
54
+ import '../api/LabelFieldLocation.js';
55
+ import '../api/CustomText.js';
56
+ import '../api/ExpiryDateText.js';
54
57
  import '../api/LabelCaptureOverlayJSON.js';
55
58
 
56
59
  /**
@@ -1 +1 @@
1
- export{C as nativeViewfinderFromJSON}from'../chunks/chunk-6QS527PW.js';
1
+ export{K as nativeViewfinderFromJSON}from'../chunks/chunk-MRCSX3QU.js';
@@ -1,6 +1 @@
1
- import {ScanditHTMLElement,html,defineCustomElements,css}from'@scandit/web-datacapture-core/build/js/private/utils/index.js';import {ScanditIconBuilder,ScanditIconType,Color}from'@scandit/web-datacapture-core';var t=class t extends ScanditHTMLElement{constructor(){super();let e=this.attachShadow({mode:"open"});e.innerHTML=html`
2
- <button>
3
- <slot name="icon"></slot>
4
- <slot></slot>
5
- </button>
6
- `,e.append(t.createStyleElement().cloneNode(true));}async connectedCallback(){let n=await new ScanditIconBuilder().withIcon(ScanditIconType.Keyboard).withIconColor(Color.fromHex("#000")).withWidth(20).withHeight(20).withIconSize(20).build();n.setAttribute("slot","icon"),this.append(n);}static create(){return document.createElement(t.tag)}static register(){defineCustomElements({[t.tag]:t});}static createStyleElement(){return css`:host{display:inline-block}:host([hidden]){display:none}:host button{align-items:center;border:none;border-radius:1rem;color:#1a1a1a;display:flex;font-size:.875rem;font-weight:700;gap:.25rem;justify-content:center;min-width:190px;padding:.5rem;text-align:center}`}};t.tag="scandit-input-manually-button";var o=t;export{o as InputManuallyButton};
1
+ export{a as InputManuallyButton}from'../../chunks/chunk-BO7GK2X2.js';
@@ -11,6 +11,8 @@ declare class RoundedButton extends ScanditHTMLElement {
11
11
  connectedCallback(): Promise<void>;
12
12
  static create(): RoundedButton;
13
13
  static register(): void;
14
+ hide(): void;
15
+ show(): void;
14
16
  set backgroundColor(color: Color);
15
17
  set icon(icon: ScanditIconType);
16
18
  set iconColor(color: Color);
@@ -1 +1 @@
1
- export{a as RoundedButton}from'../../chunks/chunk-ZRE7NHAY.js';
1
+ export{a as RoundedButton}from'../../chunks/chunk-3FUUGYCW.js';
@@ -1,6 +1,6 @@
1
1
  import { ScanditHTMLElement } from '@scandit/web-datacapture-core/build/js/private/utils/index.js';
2
2
 
3
- type TextInputType = 'text' | 'date' | 'currency';
3
+ type TextInputType = "text" | "date" | "currency" | "number";
4
4
  declare class TextInput extends ScanditHTMLElement {
5
5
  static tag: "scandit-text-input";
6
6
  private _inputElement;
@@ -14,21 +14,25 @@ declare class TextInput extends ScanditHTMLElement {
14
14
  private _locale;
15
15
  private _currencyCode;
16
16
  private _required;
17
+ private _requiredMessage;
18
+ private _invalidMessage;
17
19
  private _handleChange;
18
20
  private _handleInput;
19
21
  private _handleFocus;
20
22
  private _handleBlur;
21
23
  private _handleCrossIconClick;
22
24
  private _handleAimerIconClick;
25
+ private _handleKeyboardIconClick;
23
26
  private _crossIcon;
24
27
  private _aimerIcon;
25
28
  private _intlFormatter;
26
29
  private _keyboardIcon;
30
+ private _showKeyboardTimeout;
27
31
  constructor();
28
32
  get value(): string;
29
33
  set value(val: string);
30
- get errorMessage(): string;
31
- set errorMessage(val: string);
34
+ get name(): string;
35
+ set name(val: string);
32
36
  get type(): TextInputType;
33
37
  set type(val: TextInputType);
34
38
  get label(): string;
@@ -39,19 +43,35 @@ declare class TextInput extends ScanditHTMLElement {
39
43
  set currencyCode(val: string);
40
44
  get required(): boolean;
41
45
  set required(val: boolean);
46
+ get invalid(): boolean;
47
+ set invalid(val: boolean);
48
+ get errorMessage(): string;
49
+ set errorMessage(val: string);
42
50
  private _formatValue;
43
51
  private _onInput;
44
52
  private _onChange;
45
53
  private _onFocus;
46
54
  private _onBlur;
47
- focus(): void;
55
+ focus(options?: FocusOptions): void;
56
+ /**
57
+ * Show the keyboard and focus on the input element after a delay.
58
+ * This trick is needed because the keyboard is not opened when the input element is focused
59
+ * on mobile devices.
60
+ * @param timeout - The timeout to focus on the input element
61
+ */
62
+ showKeyboard(timeout?: number, callback?: () => void): void;
63
+ hideKeyboard(): void;
64
+ select(): void;
48
65
  blur(): void;
66
+ scrollIntoView(options?: ScrollIntoViewOptions): void;
49
67
  connectedCallback(): void;
50
68
  disconnectedCallback(): void;
51
69
  private _setupEventListeners;
52
70
  private _removeEventListeners;
53
71
  private _onCrossIconClick;
54
72
  private _onAimerIconClick;
73
+ private _onKeyboardIconClick;
74
+ private _updateIconVisibility;
55
75
  static create(): TextInput;
56
76
  static register(): void;
57
77
  private static createStyleElement;
@@ -61,16 +81,33 @@ declare global {
61
81
  [TextInput.tag]: TextInput;
62
82
  }
63
83
  interface HTMLElementEventMap {
64
- 'change': CustomEvent<{
84
+ "text-input-change": CustomEvent<{
65
85
  value: string;
66
86
  formattedValue: string;
67
87
  }>;
68
- 'aimer-icon-click': CustomEvent;
69
- 'focus': CustomEvent<{
70
- target: HTMLInputElement;
88
+ "text-input-aimer-icon-click": CustomEvent<{
89
+ target: TextInput;
90
+ innerInput: HTMLInputElement;
91
+ }>;
92
+ "text-input-keyboard-icon-click": CustomEvent<{
93
+ target: TextInput;
94
+ innerInput: HTMLInputElement;
95
+ }>;
96
+ "text-input-focus": CustomEvent<{
97
+ target: TextInput;
98
+ innerInput: HTMLInputElement;
99
+ }>;
100
+ "text-input-blur": CustomEvent<{
101
+ target: TextInput;
102
+ innerInput: HTMLInputElement;
103
+ }>;
104
+ "text-input-clear-icon-click": CustomEvent<{
105
+ target: TextInput;
106
+ innerInput: HTMLInputElement;
71
107
  }>;
72
- 'blur': CustomEvent<{
73
- target: HTMLInputElement;
108
+ "text-input-click": CustomEvent<{
109
+ target: TextInput;
110
+ innerInput: HTMLInputElement;
74
111
  }>;
75
112
  }
76
113
  }
@@ -1,10 +1 @@
1
- import {AimerSvgIcon}from'@scandit/web-datacapture-core/build/js/private/ui/atoms/AimerSvgIcon.js';import {KeyboardSvgIcon}from'@scandit/web-datacapture-core/build/js/private/ui/atoms/KeyboardSvgIcon.js';import {RoundedCrossSvgIcon}from'@scandit/web-datacapture-core/build/js/private/ui/atoms/RoundedCrossSvgIcon.js';import {SecondaryRed100}from'@scandit/web-datacapture-core/build/js/private/ui/colors.js';import {html,ScanditHTMLElement,defineCustomElements,css}from'@scandit/web-datacapture-core/build/js/private/utils/index.js';var d=html`
2
- <label class="text-input-container">
3
- <span class="label-text"></span>
4
- <div class="input-wrapper">
5
- <input type="text" class="text-input" />
6
- <div class="icon-container"></div>
7
- </div>
8
- <div class="error-message"></div>
9
- </label>
10
- `,i=class i extends ScanditHTMLElement{constructor(){super();this._inputElement=null;this._labelText=null;this._labelContainer=null;this._errorMessageElement=null;this._iconContainerElement=null;this._type="text";this._value="";this._label="";this._locale=navigator.language||"en-US";this._currencyCode="USD";this._required=false;this._handleChange=this._onChange.bind(this);this._handleInput=this._onInput.bind(this);this._handleFocus=this._onFocus.bind(this);this._handleBlur=this._onBlur.bind(this);this._handleCrossIconClick=this._onCrossIconClick.bind(this);this._handleAimerIconClick=this._onAimerIconClick.bind(this);this._crossIcon=null;this._aimerIcon=null;this._intlFormatter=null;this._keyboardIcon=null;let t=this.attachShadow({mode:"open"});t.innerHTML=d,t.appendChild(i.createStyleElement()),this._inputElement=t.querySelector(".text-input"),this._labelText=t.querySelector(".label-text"),this._labelContainer=t.querySelector("label"),this._errorMessageElement=t.querySelector(".error-message"),this._iconContainerElement=t.querySelector(".icon-container");}get value(){return this._value}set value(t){this._value=t,this._inputElement&&(this._inputElement.value=this._formatValue(t),this._labelContainer.classList.toggle("has-value",t.length>0));}get errorMessage(){var t;return ((t=this._errorMessageElement)==null?void 0:t.textContent)||""}set errorMessage(t){this._errorMessageElement&&(this._errorMessageElement.textContent=t);}get type(){return this._type}set type(t){this._type=t,this._inputElement&&this._value&&(this._inputElement.value=this._formatValue(this._value)),this._inputElement&&(this._type==="currency"?(this._inputElement.inputMode="numeric",this._inputElement.setAttribute("aria-role","textbox"),this._inputElement.setAttribute("aria-description","Currency input")):this._type==="date"&&(this._inputElement.inputMode="numeric",this._inputElement.setAttribute("aria-role","textbox"),this._inputElement.setAttribute("aria-description","Date input")));}get label(){return this._label}set label(t){this._label=t,this._labelText.textContent=t;}get locale(){return this._locale}set locale(t){this._locale=t,this._intlFormatter=new Intl.NumberFormat(this._locale,{style:"currency",currency:this._currencyCode,currencyDisplay:"symbol"}),this._inputElement&&this._value&&(this._inputElement.value=this._formatValue(this._value));}get currencyCode(){return this._currencyCode}set currencyCode(t){this._currencyCode=t,this._intlFormatter=new Intl.NumberFormat(this._locale,{style:"currency",currency:this._currencyCode,currencyDisplay:"symbol"}),this._type==="currency"&&this._inputElement&&this._value&&(this._inputElement.value=this._formatValue(this._value));}get required(){var t,e;return (e=(t=this._inputElement)==null?void 0:t.required)!=null?e:false}set required(t){this._required=t,this._inputElement&&(this._inputElement.required=t);}_formatValue(t){if(!t)return "";switch(this._type){case "currency":try{let e=Number.parseFloat(t.replace(/[^\d.-]/g,""));return Number.isNaN(e)?t:this._intlFormatter.format(e)}catch(e){return t.startsWith("$")?t:`$${t}`}case "date":try{let e=new Date(t);return Number.isNaN(e.getTime())?t:e.toLocaleDateString(this._locale,{year:"numeric",month:"2-digit",day:"2-digit"})}catch(e){return t}default:return t}}_onInput(t){if(!this._inputElement)return;let e=t.target;this._labelContainer.classList.toggle("has-value",e.value.length>0);}_onChange(t){if(!this._inputElement)return;let n=t.target.value;this.value=n,this.dispatchEvent(new CustomEvent("change",{bubbles:true,composed:true,detail:{value:this._value,formattedValue:this._inputElement.value}}));}_onFocus(){this.setAttribute("focused",""),this.dispatchEvent(new CustomEvent("focus",{detail:{target:this._inputElement},bubbles:true,composed:true}));}_onBlur(){this.removeAttribute("focused"),this._inputElement&&this._value&&(this._inputElement.value=this._formatValue(this._value)),this.dispatchEvent(new CustomEvent("blur",{detail:{target:this._inputElement},bubbles:true,composed:true}));}focus(){var t,e;(e=(t=this._inputElement)==null?void 0:t.focus)==null||e.call(t);}blur(){var t,e;(e=(t=this._inputElement)==null?void 0:t.blur)==null||e.call(t);}connectedCallback(){var t,e,n;if(this.hasAttribute("label")&&(this.label=this.getAttribute("label")||""),this.hasAttribute("type")){let r=this.getAttribute("type");(r==="text"||r==="date"||r==="currency")&&(this.type=r);}this.hasAttribute("value")&&(this.value=this.getAttribute("value")||""),this.hasAttribute("locale")&&(this.locale=this.getAttribute("locale")||navigator.language||"en-US"),this.hasAttribute("currency-code")&&(this.currencyCode=this.getAttribute("currency-code")||"USD"),this.hasAttribute("required")&&(this.required=this.getAttribute("required")!==null),this.hasAttribute("error-message")&&this._errorMessageElement&&(this._errorMessageElement.textContent=this.getAttribute("error-message")||""),this._crossIcon=RoundedCrossSvgIcon.create(),this._crossIcon.size=24,(t=this._iconContainerElement)==null||t.appendChild(this._crossIcon),this._aimerIcon=AimerSvgIcon.create(),this._aimerIcon.size=24,(e=this._iconContainerElement)==null||e.appendChild(this._aimerIcon),this._keyboardIcon=KeyboardSvgIcon.create(),this._keyboardIcon.size=24,(n=this._iconContainerElement)==null||n.appendChild(this._keyboardIcon),this._intlFormatter=new Intl.NumberFormat(this._locale,{style:"currency",currency:this._currencyCode,currencyDisplay:"symbol"}),this._setupEventListeners();}disconnectedCallback(){this._removeEventListeners();}_setupEventListeners(){var t,e;this._inputElement&&(this._inputElement.addEventListener("input",this._handleInput),this._inputElement.addEventListener("change",this._handleChange),this._inputElement.addEventListener("focus",this._handleFocus),this._inputElement.addEventListener("blur",this._handleBlur),(t=this._crossIcon)==null||t.addEventListener("click",this._handleCrossIconClick,{capture:true}),(e=this._aimerIcon)==null||e.addEventListener("click",this._handleAimerIconClick,{capture:true}));}_removeEventListeners(){var t,e;this._inputElement&&(this._inputElement.removeEventListener("input",this._handleInput),this._inputElement.removeEventListener("change",this._handleChange),this._inputElement.removeEventListener("focus",this._handleFocus),this._inputElement.removeEventListener("blur",this._handleBlur),(t=this._crossIcon)==null||t.removeEventListener("click",this._handleCrossIconClick,{capture:true}),(e=this._aimerIcon)==null||e.removeEventListener("click",this._handleAimerIconClick,{capture:true}));}_onCrossIconClick(t){t&&(t.stopPropagation(),t.preventDefault()),this.value="";}_onAimerIconClick(t){t&&(t.stopPropagation(),t.preventDefault()),this.dispatchEvent(new CustomEvent("aimer-icon-click",{bubbles:true,composed:true}));}static create(){return document.createElement(i.tag)}static register(){defineCustomElements({[i.tag]:i});}static createStyleElement(){return css`:host{display:block;font-family:Noto Sans,Open Sans,sans-serif}.text-input-container{display:flex;flex-direction:column;width:100%}.label-text{color:#000;font-size:.75rem;font-style:normal;font-weight:400;margin-bottom:6px}.input-wrapper{align-items:center;border-bottom:1px solid #000;display:flex;gap:.5rem;height:1.75rem;overflow:hidden;position:relative;transition:border-color .2s ease-in-out;width:100%}:host([focused]) .input-wrapper{border-color:#000}:host ${AimerSvgIcon.tag},:host ${RoundedCrossSvgIcon.tag},:host ${KeyboardSvgIcon.tag}{cursor:pointer;display:none;pointer-events:auto;z-index:2}:host(:not([focused])) .text-input-container.has-value ${RoundedCrossSvgIcon.tag}{display:block}:host(:not([focused])) .text-input-container:not(.has-value) ${AimerSvgIcon.tag}{display:block}:host([focused]) .text-input-container ${KeyboardSvgIcon.tag}{display:block}:host([invalid]) .input-wrapper{border-color:#${SecondaryRed100.toJSON()}}:host([invalid]) .error-message{visibility:visible}.text-input{background-color:transparent;border:none;flex:1;font-size:1rem;font-style:normal;font-weight:700}.text-input,.text-input:focus{outline:none}.icon-container{align-items:center;cursor:pointer;display:flex;height:1.5rem;justify-content:center;width:1.5rem}.text-input:focus-visible{outline:none}.error-message{color:#${SecondaryRed100.toJSON()};font-size:.75rem;margin-top:.25rem;min-height:1rem;visibility:hidden}`}};i.tag="scandit-text-input";var u=i;export{u as TextInput};
1
+ export{a as TextInput}from'../../chunks/chunk-PB6TETN2.js';
@@ -4,34 +4,26 @@ import { Card } from '@scandit/web-datacapture-core/build/js/private/ui/atoms/Ca
4
4
  declare enum CardListContainerAttribute {
5
5
  TextForSubmitCardsButton = "text-for-submit-cards-button"
6
6
  }
7
- declare enum CardListContainerEvent {
8
- SubmitCards = "submit-cards",
9
- RestartButtonClick = "restart-button-click"
10
- }
11
7
  declare class CardListContainer extends ScanditHTMLElement {
12
8
  private static deps;
13
9
  static tag: "scandit-label-card-list-container";
14
- static observedAttributes: string[];
15
- private onCarouselSubmitButtonClickHandler;
16
- private onCarouselBackButtonClickHandler;
17
- private textNode;
18
- buttonContainer: any;
10
+ private buttonsContainer;
11
+ private onButtonContainerClickHandler;
19
12
  constructor();
20
- set [CardListContainerAttribute.TextForSubmitCardsButton](text: string);
21
- get [CardListContainerAttribute.TextForSubmitCardsButton](): string | null;
22
13
  private get cardsList();
23
- private get cardListBackRestartButton();
24
- private get cardListSubmitButton();
14
+ get cards(): Card[];
25
15
  static create(): CardListContainer;
26
16
  static register(): void;
27
17
  private static createStyleElement;
28
- onCarouselSubmitButtonClick(): void;
29
- onCarouselBackButtonClick(_event: Event): void;
30
- attributeChangeCallback(name: keyof CardListContainer, _oldValue: string, newValue: string): void;
31
18
  connectedCallback(): void;
32
19
  disconnectedCallback(): void;
33
- collapse(): void;
34
- expand(): void;
20
+ private onButtonContainerClick;
21
+ collapse(): Promise<void>;
22
+ focusCard(card: Card): void;
23
+ unfocusCard(card: Card): void;
24
+ isCollapsed(): boolean;
25
+ expand(): Promise<void>;
26
+ toggle(): void;
35
27
  renderCards(cards: Card[]): void;
36
28
  unshiftCard(card: Card): Promise<void>;
37
29
  getCardBySelector(selector: string): Card | null;
@@ -42,9 +34,10 @@ declare global {
42
34
  [CardListContainer.tag]: CardListContainer;
43
35
  }
44
36
  interface HTMLElementEventMap {
45
- [CardListContainerEvent.SubmitCards]: CustomEvent;
46
- [CardListContainerEvent.RestartButtonClick]: CustomEvent;
37
+ "on-button-container-click": CustomEvent<{
38
+ event: MouseEvent;
39
+ }>;
47
40
  }
48
41
  }
49
42
 
50
- export { CardListContainer, CardListContainerAttribute, CardListContainerEvent };
43
+ export { CardListContainer, CardListContainerAttribute };
@@ -1,7 +1 @@
1
- import {a}from'../../chunks/chunk-IASWN2Y3.js';import {a as a$1}from'../../chunks/chunk-VRBAAE3G.js';import {a as a$2}from'../../chunks/chunk-CWOXTL6A.js';import {ScanditHTMLElement,html,defineCustomElements,css}from'@scandit/web-datacapture-core/build/js/private/utils/index.js';import {Card}from'@scandit/web-datacapture-core/build/js/private/ui/atoms/Card.js';import {CardList}from'@scandit/web-datacapture-core/build/js/private/ui/atoms/CardList.js';var h=(o=>(o.TextForSubmitCardsButton="text-for-submit-cards-button",o))(h||{}),c="cubic-bezier(0.4, 0, 0.2, 1)",B=(t=>(t.SubmitCards="submit-cards",t.RestartButtonClick="restart-button-click",t))(B||{}),e=class e extends ScanditHTMLElement{constructor(){super();this.onCarouselSubmitButtonClickHandler=this.onCarouselSubmitButtonClick.bind(this);this.onCarouselBackButtonClickHandler=this.onCarouselBackButtonClick.bind(this);this.textNode=document.createTextNode("");let t=this.attachShadow({mode:"open"});t.append(e.createStyleElement().cloneNode(true));let i=document.createElement("div");i.id="root",i.innerHTML=html`
2
- <div class="button-container">
3
- <${a.tag}></${a.tag}>
4
- <${a$1.tag}></${a$1.tag}>
5
- </div>
6
- <${CardList.tag}></${CardList.tag}>
7
- `,t.append(i),this.buttonContainer=this.shadowRoot.querySelector(".button-container"),this.cardListSubmitButton.append(this.textNode);}set"text-for-submit-cards-button"(t){this.textNode.textContent=t;}get"text-for-submit-cards-button"(){return this.textNode.textContent}get cardsList(){return this.shadowRoot.querySelector(CardList.tag)}get cardListBackRestartButton(){return this.shadowRoot.querySelector(a.tag)}get cardListSubmitButton(){return this.shadowRoot.querySelector(a$1.tag)}static create(){return document.createElement(e.tag)}static register(){for(let t of e.deps)t.register();defineCustomElements({[e.tag]:e});}static createStyleElement(){return css`:host #root{align-items:center;display:flex;flex-direction:column;gap:.5rem;height:100%}.button-container{align-items:center;display:flex;flex-direction:row;gap:.5rem;justify-content:space-between;opacity:1;transform:translateY(0);transition:opacity ${c} .5s,transform ${c} .5s;width:100%}.button-container.hide{opacity:0;transform:translateY(100%)}`}onCarouselSubmitButtonClick(){this.dispatchEvent(new CustomEvent("submit-cards"));}onCarouselBackButtonClick(t){this.dispatchEvent(new CustomEvent("restart-button-click"));}attributeChangeCallback(t,i,d){t==="text-for-submit-cards-button"&&(this["text-for-submit-cards-button"]=d);}connectedCallback(){this.textNode.textContent=this.getAttribute("text-for-submit-cards-button"),this.cardListBackRestartButton.addEventListener("click",this.onCarouselBackButtonClickHandler),this.cardListSubmitButton.addEventListener("click",this.onCarouselSubmitButtonClickHandler);}disconnectedCallback(){this.cardListBackRestartButton.removeEventListener("click",this.onCarouselBackButtonClickHandler),this.cardListSubmitButton.removeEventListener("click",this.onCarouselSubmitButtonClickHandler);}collapse(){var t;this.cardsList.collapsed=true,(t=this.buttonContainer)==null||t.classList.add("hide");}expand(){var t;this.cardsList.collapsed=false,(t=this.buttonContainer)==null||t.classList.remove("hide");}renderCards(t){this.cardsList.clearCards(),this.cardsList.renderCards(t);}async unshiftCard(t){return this.cardsList.unshift(t)}getCardBySelector(t){return this.cardsList.querySelector(t)}updateHeight(t){let i=this.cardListBackRestartButton.clientHeight;this.cardsList.style.setProperty("--list-height",`${t}px`),this.cardsList.style.setProperty("--top-offset",`calc(${i===0?32:i}px + 5rem)`);}};e.deps=[CardList,Card,a,a$1,a$2],e.tag="scandit-label-card-list-container",e.observedAttributes=["text-for-submit-cards-button"];var u=e;export{u as CardListContainer,h as CardListContainerAttribute,B as CardListContainerEvent};
1
+ export{b as CardListContainer,a as CardListContainerAttribute}from'../../chunks/chunk-5R7Q5YTS.js';