scanbot-web-sdk 6.0.0-dev.2 → 6.0.0-dev.3

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 (139) hide show
  1. package/@types/consume-type.d.ts +2 -1
  2. package/@types/core/bridge/common.d.ts +1 -1
  3. package/@types/core/bridge/compiled/BarcodeScannerTypes.d.ts +5 -3
  4. package/@types/core/bridge/compiled/GDRTypes.d.ts +38 -0
  5. package/@types/core/bridge/compiled/GenericDocument.d.ts +38 -0
  6. package/@types/core/bridge/compiled/GenericDocumentRecognizerConfigs.d.ts +183 -0
  7. package/@types/core/bridge/compiled/GenericDocumentRecognizerTypes.d.ts +7 -6
  8. package/@types/core/bridge/compiled/GenericDocumentTypes.d.ts +38 -0
  9. package/@types/core/bridge/compiled/ParametricFilters.d.ts +4 -2
  10. package/@types/core/bridge/worker-bridge.d.ts +584 -26
  11. package/@types/core/worker/ScanbotSDK.Core.d.ts +18 -7
  12. package/@types/core-types.d.ts +3 -1
  13. package/@types/document-scanner-view.d.ts +3 -1
  14. package/@types/index.d.ts +39 -4
  15. package/@types/model/barcode/barcode-result.d.ts +12 -2
  16. package/@types/model/barcode/barcode.d.ts +2 -1
  17. package/@types/model/camera-info.d.ts +3 -2
  18. package/@types/model/configuration/barcode-scanner-configuration.d.ts +6 -3
  19. package/@types/model/configuration/cropping-view-configuration.d.ts +5 -0
  20. package/@types/model/configuration/document-scanner-configuration.d.ts +2 -8
  21. package/@types/model/configuration/generic-document-recognizer-configuration.d.ts +1 -1
  22. package/@types/model/configuration/initialization-options.d.ts +8 -0
  23. package/@types/model/configuration/mrz-scanner-configuration.d.ts +1 -1
  24. package/@types/model/configuration/scanner-configuration.d.ts +7 -0
  25. package/@types/model/configuration/selection-overlay-configuration.d.ts +2 -2
  26. package/@types/model/configuration/view-finder-scanner-configuration.d.ts +1 -1
  27. package/@types/model/error/media-error.d.ts +1 -0
  28. package/@types/scanbot-sdk.d.ts +355 -52
  29. package/@types/service/generic-document-recognizer.d.ts +3 -1
  30. package/@types/service/simple-mrz-recognizer.d.ts +3 -1
  31. package/@types/service/text-data-recognizer.d.ts +3 -1
  32. package/@types/ui2/common.d.ts +8 -0
  33. package/@types/ui2/configuration/ActionBarConfiguration.d.ts +30 -30
  34. package/@types/ui2/configuration/ArTrackingOverlayConfiguration.d.ts +220 -220
  35. package/@types/ui2/configuration/BarcodeInfoMapping.d.ts +51 -51
  36. package/@types/ui2/configuration/BarcodeItemMapper.d.ts +2 -2
  37. package/@types/ui2/configuration/BarcodeRecognizerConfiguration.d.ts +32 -32
  38. package/@types/ui2/configuration/BarcodeScannerConfiguration.d.ts +168 -168
  39. package/@types/ui2/configuration/BarcodeScannerTypes.d.ts +1 -6
  40. package/@types/ui2/configuration/BarcodeScannerUIResult.d.ts +29 -0
  41. package/@types/ui2/configuration/BarcodeTextLocalization.d.ts +124 -69
  42. package/@types/ui2/configuration/BarcodeTypes.d.ts +1 -1
  43. package/@types/ui2/configuration/BarcodeUseCase.d.ts +4 -3
  44. package/@types/ui2/configuration/CameraConfiguration.d.ts +32 -32
  45. package/@types/ui2/configuration/CameraPermission.d.ts +33 -33
  46. package/@types/ui2/configuration/Common.d.ts +190 -190
  47. package/@types/ui2/configuration/CommonFieldType.d.ts +1 -0
  48. package/@types/ui2/configuration/FindAndPickScanningModeUseCase.d.ts +364 -12
  49. package/@types/ui2/configuration/GenericDocument.d.ts +1 -0
  50. package/@types/ui2/configuration/MultipleScanningModeUseCase.d.ts +488 -488
  51. package/@types/ui2/configuration/ScanbotAlertDialog.d.ts +27 -27
  52. package/@types/ui2/configuration/SingleScanningModeUseCase.d.ts +169 -169
  53. package/@types/ui2/configuration/TopBarConfiguration.d.ts +36 -36
  54. package/@types/ui2/configuration/UserGuidanceConfiguration.d.ts +16 -16
  55. package/@types/ui2/configuration/ViewFinderConfiguration.d.ts +45 -45
  56. package/@types/ui2/configuration.d.ts +2 -1
  57. package/@types/ui2/controllers/barcode-scanner-controller.d.ts +2 -2
  58. package/@types/ui2/controllers/multiple-scanning-mode-controller.d.ts +4 -2
  59. package/@types/ui2/controllers/single-scanning-mode-controller.d.ts +4 -2
  60. package/@types/ui2/model/counted-barcodes.d.ts +12 -19
  61. package/@types/ui2/scanbot-sdk-ui.d.ts +2 -2
  62. package/@types/ui2/scanbot-ui-library.d.ts +3 -2
  63. package/@types/ui2/utils/barcode-mapper/expected-barcode-mapper.d.ts +13 -0
  64. package/@types/ui2/utils/barcode-mapper/i-barcode-mapper.d.ts +18 -0
  65. package/@types/ui2/utils/{barcode-mapper.d.ts → barcode-mapper/user-barcode-mapper.d.ts} +4 -16
  66. package/@types/ui2/utils/find-and-pick.ts/expected-barcode-counter.d.ts +7 -0
  67. package/@types/ui2/utils/styled-badge.d.ts +1 -1
  68. package/@types/ui2/views/ar/ar-badge.d.ts +18 -0
  69. package/@types/ui2/views/ar/ar-overlay-barcode-info.d.ts +5 -1
  70. package/@types/ui2/views/ar/vertical-positions.d.ts +12 -0
  71. package/@types/ui2/views/barcode-info/barcode-info.d.ts +3 -1
  72. package/@types/ui2/views/barcode-scanner.d.ts +5 -5
  73. package/@types/ui2/views/dialog/base/confirmation-dialog.d.ts +20 -0
  74. package/@types/ui2/views/dialog/find-and-pick-submit-dialog.d.ts +10 -0
  75. package/@types/ui2/views/drawer/barcode-result-drawer.d.ts +1 -1
  76. package/@types/ui2/views/drawer/counting-button.d.ts +1 -1
  77. package/@types/ui2/views/drawer/subviews/barcode-drawer-empty-state.d.ts +1 -1
  78. package/@types/ui2/views/drawer/subviews/barcode-list-item.d.ts +5 -4
  79. package/@types/ui2/views/drawer/subviews/barcode-list.d.ts +8 -1
  80. package/@types/ui2/views/drawer/subviews/drawer-header-content.d.ts +1 -1
  81. package/@types/utils/barcode-utils.d.ts +10 -0
  82. package/@types/utils/browser-cameras.d.ts +92 -0
  83. package/@types/utils/dto/Polygon.d.ts +2 -1
  84. package/@types/utils/stats.d.ts +4 -0
  85. package/@types/utils/video-stream.d.ts +3 -3
  86. package/@types/utils/video-to-image-data/two-d-video-to-image-data.d.ts +8 -0
  87. package/@types/utils/video-to-image-data/video-to-image-data.d.ts +5 -0
  88. package/@types/utils/video-to-image-data/webgl-video-to-image-data.d.ts +21 -0
  89. package/@types/view/barcode-polygon/animated-barcode-selection-overlay.d.ts +1 -0
  90. package/@types/view/scanbot-camera-view.d.ts +9 -3
  91. package/@types/worker/worker-bridge.d.ts +587 -30
  92. package/bundle/ScanbotSDK.min.js +4 -4
  93. package/bundle/ScanbotSDK.ui2.min.js +16 -16
  94. package/bundle/bin/barcode-scanner/ScanbotSDK.Asm-simd-threads.js +1 -1
  95. package/bundle/bin/barcode-scanner/ScanbotSDK.Asm-simd-threads.wasm +0 -0
  96. package/bundle/bin/barcode-scanner/ScanbotSDK.Asm-simd.wasm +0 -0
  97. package/bundle/bin/barcode-scanner/ScanbotSDK.Asm.wasm +0 -0
  98. package/bundle/bin/barcode-scanner/ScanbotSDK.Core-simd-threads.js +1 -1
  99. package/bundle/bin/barcode-scanner/ScanbotSDK.Core-simd.js +1 -1
  100. package/bundle/bin/barcode-scanner/ScanbotSDK.Core.js +1 -1
  101. package/bundle/bin/complete/ScanbotSDK.Asm-simd-threads.js +1 -1
  102. package/bundle/bin/complete/ScanbotSDK.Asm-simd-threads.wasm +0 -0
  103. package/bundle/bin/complete/ScanbotSDK.Asm-simd.wasm +0 -0
  104. package/bundle/bin/complete/ScanbotSDK.Asm.wasm +0 -0
  105. package/bundle/bin/complete/ScanbotSDK.Core-simd-threads.js +1 -1
  106. package/bundle/bin/complete/ScanbotSDK.Core-simd.js +1 -1
  107. package/bundle/bin/complete/ScanbotSDK.Core.js +1 -1
  108. package/bundle/bin/document-scanner/ScanbotSDK.Asm-simd-threads.js +1 -1
  109. package/bundle/bin/document-scanner/ScanbotSDK.Asm-simd-threads.wasm +0 -0
  110. package/bundle/bin/document-scanner/ScanbotSDK.Asm-simd.wasm +0 -0
  111. package/bundle/bin/document-scanner/ScanbotSDK.Asm.wasm +0 -0
  112. package/bundle/bin/document-scanner/ScanbotSDK.Core-simd-threads.js +1 -1
  113. package/bundle/bin/document-scanner/ScanbotSDK.Core-simd.js +1 -1
  114. package/bundle/bin/document-scanner/ScanbotSDK.Core.js +1 -1
  115. package/package.json +2 -2
  116. package/@types/core/bridge/compiled_schemas_v3/BarcodeConfigs.d.ts +0 -973
  117. package/@types/core/bridge/compiled_schemas_v3/BarcodeScannerTypes.d.ts +0 -183
  118. package/@types/core/bridge/compiled_schemas_v3/BarcodeTypes.d.ts +0 -183
  119. package/@types/core/bridge/compiled_schemas_v3/CheckRecognizerTypes.d.ts +0 -29
  120. package/@types/core/bridge/compiled_schemas_v3/CommonFieldType.d.ts +0 -59
  121. package/@types/core/bridge/compiled_schemas_v3/DocumentDetectorTypes.d.ts +0 -196
  122. package/@types/core/bridge/compiled_schemas_v3/DocumentQualityAnalyzerTypes.d.ts +0 -105
  123. package/@types/core/bridge/compiled_schemas_v3/EhicTypes.d.ts +0 -218
  124. package/@types/core/bridge/compiled_schemas_v3/FrameUtilities.d.ts +0 -18
  125. package/@types/core/bridge/compiled_schemas_v3/GenericDocument.d.ts +0 -198
  126. package/@types/core/bridge/compiled_schemas_v3/GenericDocumentRecognizerTypes.d.ts +0 -104
  127. package/@types/core/bridge/compiled_schemas_v3/GenericTextLineScannerTypes.d.ts +0 -165
  128. package/@types/core/bridge/compiled_schemas_v3/Geometry.d.ts +0 -49
  129. package/@types/core/bridge/compiled_schemas_v3/ImageProcessorTypes.d.ts +0 -13
  130. package/@types/core/bridge/compiled_schemas_v3/LicensePlateScannerTypes.d.ts +0 -67
  131. package/@types/core/bridge/compiled_schemas_v3/MRZTypes.d.ts +0 -52
  132. package/@types/core/bridge/compiled_schemas_v3/MedicalCertificateTypes.d.ts +0 -306
  133. package/@types/core/bridge/compiled_schemas_v3/OcrElements.d.ts +0 -129
  134. package/@types/core/bridge/compiled_schemas_v3/ParametricFilters.d.ts +0 -186
  135. package/@types/core/bridge/compiled_schemas_v3/PdfConfig.d.ts +0 -197
  136. package/@types/core/bridge/compiled_schemas_v3/TiffTypes.d.ts +0 -183
  137. package/@types/ui2/configuration/BarcodeItem.d.ts +0 -6
  138. package/@types/ui2/configuration/utils.d.ts +0 -6
  139. /package/@types/ui2/views/dialog/{styled-dialog.d.ts → base/styled-dialog.d.ts} +0 -0
@@ -1,48 +1,48 @@
1
1
  import { ButtonConfiguration } from "./Common";
2
- import { DeepPartial, PartiallyConstructible } from "./utils";
2
+ import { DeepPartial, PartiallyConstructible } from "../common";
3
3
  import { StyledText } from "./Common";
4
4
  /**
5
- Configuration of the the standard alert dialog.
6
- */
5
+ Configuration of the the standard alert dialog.
6
+ */
7
7
  export declare class ScanbotAlertDialog extends PartiallyConstructible {
8
8
  /**
9
- Title displayed above the message.
10
- @defaultValue new StyledText({
11
- "text": "Title",
12
- "color": "?sbColorOnSurface"
9
+ Title displayed above the message.
10
+ @defaultValue new StyledText({
11
+ "text": "Title",
12
+ "color": "?sbColorOnSurface"
13
13
  });
14
- */
14
+ */
15
15
  title: StyledText;
16
16
  /**
17
- Explanation message message.
18
- @defaultValue new StyledText({
19
- "text": "Standard explanation message text.",
20
- "color": "?sbColorOnSurfaceVariant"
21
- });
22
- */
17
+ Explanation message message.
18
+ @defaultValue new StyledText({
19
+ "text": "Standard explanation message text.",
20
+ "color": "?sbColorOnSurfaceVariant"
21
+ });
22
+ */
23
23
  subtitle: StyledText;
24
24
  /**
25
- Background color of the alert dialog.
26
- @defaultValue "?sbColorSurface";
27
- */
25
+ Background color of the alert dialog.
26
+ @defaultValue "?sbColorSurface";
27
+ */
28
28
  sheetColor: string;
29
29
  /**
30
- Dialog overlay color.
31
- @defaultValue "?sbColorModalOverlay";
32
- */
30
+ Dialog overlay color.
31
+ @defaultValue "?sbColorModalOverlay";
32
+ */
33
33
  modalOverlayColor: string;
34
34
  /**
35
- Color of the divider line.
36
- @defaultValue "?sbColorOutline";
37
- */
35
+ Color of the divider line.
36
+ @defaultValue "?sbColorOutline";
37
+ */
38
38
  dividerColor: string;
39
39
  /**
40
- Configuration of the retry button.
41
- */
40
+ Configuration of the retry button.
41
+ */
42
42
  okButton: ButtonConfiguration;
43
43
  /**
44
- Configuration of the cancel button.
45
- */
44
+ Configuration of the cancel button.
45
+ */
46
46
  cancelButton: ButtonConfiguration;
47
47
  /** @param source {@displayType `DeepPartial<ScanbotAlertDialog>`} */
48
48
  constructor(source?: DeepPartial<ScanbotAlertDialog>);
@@ -1,201 +1,201 @@
1
1
  import { ArOverlayGeneralConfiguration } from "./ArTrackingOverlayConfiguration";
2
2
  import { BarcodeInfoMapping } from "./BarcodeInfoMapping";
3
3
  import { ButtonConfiguration } from "./Common";
4
- import { DeepPartial, PartiallyConstructible } from "./utils";
4
+ import { DeepPartial, PartiallyConstructible } from "../common";
5
5
  import { StyledText } from "./Common";
6
6
  /**
7
- Configuration of the single barcode scanning mode.
8
- */
7
+ Configuration of the single barcode scanning mode.
8
+ */
9
9
  export declare class SingleScanningMode extends PartiallyConstructible {
10
10
  readonly _type: "SingleScanningMode";
11
11
  /**
12
- If enabled, the confirmation sheet will be shown after the barcode has been scanned.
13
- @defaultValue false;
14
- */
12
+ If enabled, the confirmation sheet will be shown after the barcode has been scanned.
13
+ @defaultValue false;
14
+ */
15
15
  confirmationSheetEnabled: boolean;
16
16
  /**
17
- If enabled, the barcode image will be shown on the confirmation sheet.
18
- @defaultValue true;
19
- */
17
+ If enabled, the barcode image will be shown on the confirmation sheet.
18
+ @defaultValue true;
19
+ */
20
20
  barcodeImageVisible: boolean;
21
21
  /**
22
- Color of the confirmation sheet's background.
23
- @defaultValue "?sbColorSurface";
24
- */
22
+ Color of the confirmation sheet's background.
23
+ @defaultValue "?sbColorSurface";
24
+ */
25
25
  sheetColor: string;
26
26
  /**
27
- Color of the divider and separator lines in the confirmation sheet.
28
- @defaultValue "?sbColorOutline";
29
- */
27
+ Color of the divider and separator lines in the confirmation sheet.
28
+ @defaultValue "?sbColorOutline";
29
+ */
30
30
  dividerColor: string;
31
31
  /**
32
- Background color of the overlay surrounding the confirmation sheet.
33
- @defaultValue "?sbColorModalOverlay";
34
- */
32
+ Background color of the overlay surrounding the confirmation sheet.
33
+ @defaultValue "?sbColorModalOverlay";
34
+ */
35
35
  modalOverlayColor: string;
36
36
  /**
37
- Appearance of the barcode title (the barcode's value) on the confirmation sheet.
38
- @defaultValue new StyledText({
39
- "text": "BARCODE_TITLE",
40
- "color": "?sbColorOnSurface"
37
+ Appearance of the barcode title (the barcode's value) on the confirmation sheet.
38
+ @defaultValue new StyledText({
39
+ "text": "BARCODE_TITLE",
40
+ "color": "?sbColorOnSurface"
41
41
  });
42
- */
42
+ */
43
43
  barcodeTitle: StyledText;
44
44
  /**
45
- Appearance of the barcode subtitle (the barcode's symbology) on the confirmation sheet.
46
- @defaultValue new StyledText({
47
- "text": "BARCODE_SUBTITLE",
48
- "color": "?sbColorOnSurfaceVariant"
49
- });
50
- */
45
+ Appearance of the barcode subtitle (the barcode's symbology) on the confirmation sheet.
46
+ @defaultValue new StyledText({
47
+ "text": "BARCODE_SUBTITLE",
48
+ "color": "?sbColorOnSurfaceVariant"
49
+ });
50
+ */
51
51
  barcodeSubtitle: StyledText;
52
52
  /**
53
- Appearance of the confirm button on the confirmation sheet.
54
- @defaultValue new ButtonConfiguration({
55
- "visible": true,
56
- "text": "?sheetSubmitButton",
57
- "background": new BackgroundStyle({
58
- "strokeColor": "?sbColorPrimary",
59
- "fillColor": "?sbColorPrimary",
60
- "strokeWidth": 1.0
61
- }),
62
- "foreground": new ForegroundStyle({
63
- "iconVisible": true,
64
- "color": "?sbColorOnPrimary"
65
- })
66
- });
67
- */
53
+ Appearance of the confirm button on the confirmation sheet.
54
+ @defaultValue new ButtonConfiguration({
55
+ "visible": true,
56
+ "text": "?sheetSubmitButton",
57
+ "background": new BackgroundStyle({
58
+ "strokeColor": "?sbColorPrimary",
59
+ "fillColor": "?sbColorPrimary",
60
+ "strokeWidth": 1.0
61
+ }),
62
+ "foreground": new ForegroundStyle({
63
+ "iconVisible": true,
64
+ "color": "?sbColorOnPrimary"
65
+ })
66
+ });
67
+ */
68
68
  submitButton: ButtonConfiguration;
69
69
  /**
70
- Appearance of the cancel button on the confirmation sheet.
71
- @defaultValue new ButtonConfiguration({
72
- "visible": true,
73
- "text": "?singleModeConfirmationCancelButton",
74
- "background": new BackgroundStyle({
75
- "strokeColor": "#00000000",
76
- "fillColor": "#00000000",
77
- "strokeWidth": 1.0
78
- }),
79
- "foreground": new ForegroundStyle({
80
- "iconVisible": false,
81
- "color": "?sbColorPrimary"
82
- })
83
- });
84
- */
70
+ Appearance of the cancel button on the confirmation sheet.
71
+ @defaultValue new ButtonConfiguration({
72
+ "visible": true,
73
+ "text": "?singleModeConfirmationCancelButton",
74
+ "background": new BackgroundStyle({
75
+ "strokeColor": "#00000000",
76
+ "fillColor": "#00000000",
77
+ "strokeWidth": 1.0
78
+ }),
79
+ "foreground": new ForegroundStyle({
80
+ "iconVisible": false,
81
+ "color": "?sbColorPrimary"
82
+ })
83
+ });
84
+ */
85
85
  cancelButton: ButtonConfiguration;
86
86
  /**
87
- Appearance of the barcode info mapping.
88
- @defaultValue new BarcodeInfoMapping({
89
- "sheetColor": "?sbColorSurface",
90
- "dividerColor": "?sbColorOutline",
91
- "modalOverlayColor": "?sbColorModalOverlay",
92
- "loadingMessage": new StyledText({
93
- "text": "?barcodeInfoMappingLoadingMessage",
94
- "color": "?sbColorPrimary"
95
- }),
96
- "errorState": new BarcodeItemErrorState({
97
- "title": new StyledText({
98
- "text": "?barcodeInfoMappingErrorStateTitle",
99
- "color": "?sbColorOnSurface"
100
- }),
101
- "subtitle": new StyledText({
102
- "text": "?barcodeInfoMappingErrorStateSubtitle",
103
- "color": "?sbColorOnSurfaceVariant"
104
- }),
105
- "retryButton": new ButtonConfiguration({
106
- "visible": true,
107
- "text": "?barcodeInfoMappingErrorStateRetryButton",
108
- "background": new BackgroundStyle({
109
- "strokeColor": "?sbColorPrimary",
110
- "fillColor": "?sbColorPrimary",
111
- "strokeWidth": 1.0
112
- }),
113
- "foreground": new ForegroundStyle({
114
- "iconVisible": true,
115
- "color": "?sbColorOnPrimary"
116
- })
117
- }),
118
- "cancelButton": new ButtonConfiguration({
119
- "text": "?barcodeInfoMappingErrorStateCancelButton",
120
- "background": new BackgroundStyle({
121
- "strokeColor": "#00000000",
122
- "fillColor": "#00000000",
123
- "strokeWidth": 1.0
124
- }),
125
- "foreground": new ForegroundStyle({
126
- "iconVisible": false,
127
- "color": "?sbColorPrimary"
128
- })
129
- })
130
- })
131
- });
132
- */
87
+ Appearance of the barcode info mapping.
88
+ @defaultValue new BarcodeInfoMapping({
89
+ "sheetColor": "?sbColorSurface",
90
+ "dividerColor": "?sbColorOutline",
91
+ "modalOverlayColor": "?sbColorModalOverlay",
92
+ "loadingMessage": new StyledText({
93
+ "text": "?barcodeInfoMappingLoadingMessage",
94
+ "color": "?sbColorPrimary"
95
+ }),
96
+ "errorState": new BarcodeItemErrorState({
97
+ "title": new StyledText({
98
+ "text": "?barcodeInfoMappingErrorStateTitle",
99
+ "color": "?sbColorOnSurface"
100
+ }),
101
+ "subtitle": new StyledText({
102
+ "text": "?barcodeInfoMappingErrorStateSubtitle",
103
+ "color": "?sbColorOnSurfaceVariant"
104
+ }),
105
+ "retryButton": new ButtonConfiguration({
106
+ "visible": true,
107
+ "text": "?barcodeInfoMappingErrorStateRetryButton",
108
+ "background": new BackgroundStyle({
109
+ "strokeColor": "?sbColorPrimary",
110
+ "fillColor": "?sbColorPrimary",
111
+ "strokeWidth": 1.0
112
+ }),
113
+ "foreground": new ForegroundStyle({
114
+ "iconVisible": true,
115
+ "color": "?sbColorOnPrimary"
116
+ })
117
+ }),
118
+ "cancelButton": new ButtonConfiguration({
119
+ "text": "?barcodeInfoMappingErrorStateCancelButton",
120
+ "background": new BackgroundStyle({
121
+ "strokeColor": "#00000000",
122
+ "fillColor": "#00000000",
123
+ "strokeWidth": 1.0
124
+ }),
125
+ "foreground": new ForegroundStyle({
126
+ "iconVisible": false,
127
+ "color": "?sbColorPrimary"
128
+ })
129
+ })
130
+ })
131
+ });
132
+ */
133
133
  barcodeInfoMapping: BarcodeInfoMapping;
134
134
  /**
135
- Configuration of the AR overlay.
136
- @defaultValue new ArOverlayGeneralConfiguration({
137
- "visible": false,
138
- "counterBadge": new BadgeStyle({
139
- "visible": true,
140
- "background": new BackgroundStyle({
141
- "strokeColor": "#000000FF",
142
- "fillColor": "?sbColorPositive",
143
- "strokeWidth": 0.0
144
- }),
145
- "foregroundColor": "?sbColorOnSurface"
146
- }),
147
- "automaticSelectionEnabled": false,
148
- "barcodeItemInfoPosition": "BELOW",
149
- "polygon": new ArOverlayPolygonConfiguration({
150
- "visible": true,
151
- "deselected": new PolygonStyle({
152
- "strokeColor": "?sbColorSurface",
153
- "fillColor": "#00000000",
154
- "strokeWidth": 3.0,
155
- "cornerRadius": 5.0
156
- }),
157
- "selected": new PolygonStyle({
158
- "strokeColor": "?sbColorPositive",
159
- "fillColor": "#00000000",
160
- "strokeWidth": 3.0,
161
- "cornerRadius": 5.0
162
- })
163
- }),
164
- "barcodeItemConfiguration": new BarcodeItemConfiguration({
165
- "imageVisible": true,
166
- "titleSelected": new StyledText({
167
- "text": "BARCODE_TITLE",
168
- "color": "?sbColorOnSurface"
169
- }),
170
- "subtitleSelected": new StyledText({
171
- "text": "BARCODE_SUBTITLE",
172
- "color": "?sbColorOnSurfaceVariant"
173
- }),
174
- "titleDeselected": new StyledText({
175
- "text": "BARCODE_TITLE",
176
- "color": "?sbColorOnSurface"
177
- }),
178
- "subtitleDeselected": new StyledText({
179
- "visible": true,
180
- "text": "BARCODE_SUBTITLE",
181
- "color": "?sbColorOnSurfaceVariant",
182
- "useShadow": false
183
- }),
184
- "backgroundSelected": new PolygonStyle({
185
- "strokeColor": "?sbColorPositive",
186
- "fillColor": "?sbColorPositive",
187
- "strokeWidth": 1.0,
188
- "cornerRadius": 5.0
189
- }),
190
- "backgroundDeselected": new PolygonStyle({
191
- "strokeColor": "?sbColorSurface",
192
- "fillColor": "?sbColorSurface",
193
- "strokeWidth": 1.0,
194
- "cornerRadius": 5.0
195
- })
196
- })
197
- });
198
- */
135
+ Configuration of the AR overlay.
136
+ @defaultValue new ArOverlayGeneralConfiguration({
137
+ "visible": false,
138
+ "counterBadge": new BadgeStyle({
139
+ "visible": true,
140
+ "background": new BackgroundStyle({
141
+ "strokeColor": "#000000FF",
142
+ "fillColor": "?sbColorPositive",
143
+ "strokeWidth": 0.0
144
+ }),
145
+ "foregroundColor": "?sbColorOnSurface"
146
+ }),
147
+ "automaticSelectionEnabled": false,
148
+ "barcodeItemInfoPosition": "BELOW",
149
+ "polygon": new ArOverlayPolygonConfiguration({
150
+ "visible": true,
151
+ "deselected": new PolygonStyle({
152
+ "strokeColor": "?sbColorSurface",
153
+ "fillColor": "#00000000",
154
+ "strokeWidth": 3.0,
155
+ "cornerRadius": 5.0
156
+ }),
157
+ "selected": new PolygonStyle({
158
+ "strokeColor": "?sbColorPositive",
159
+ "fillColor": "#00000000",
160
+ "strokeWidth": 3.0,
161
+ "cornerRadius": 5.0
162
+ })
163
+ }),
164
+ "barcodeItemConfiguration": new BarcodeItemConfiguration({
165
+ "imageVisible": true,
166
+ "titleSelected": new StyledText({
167
+ "text": "BARCODE_TITLE",
168
+ "color": "?sbColorOnSurface"
169
+ }),
170
+ "subtitleSelected": new StyledText({
171
+ "text": "BARCODE_SUBTITLE",
172
+ "color": "?sbColorOnSurfaceVariant"
173
+ }),
174
+ "titleDeselected": new StyledText({
175
+ "text": "BARCODE_TITLE",
176
+ "color": "?sbColorOnSurface"
177
+ }),
178
+ "subtitleDeselected": new StyledText({
179
+ "visible": true,
180
+ "text": "BARCODE_SUBTITLE",
181
+ "color": "?sbColorOnSurfaceVariant",
182
+ "useShadow": false
183
+ }),
184
+ "backgroundSelected": new PolygonStyle({
185
+ "strokeColor": "?sbColorPositive",
186
+ "fillColor": "?sbColorPositive",
187
+ "strokeWidth": 1.0,
188
+ "cornerRadius": 5.0
189
+ }),
190
+ "backgroundDeselected": new PolygonStyle({
191
+ "strokeColor": "?sbColorSurface",
192
+ "fillColor": "?sbColorSurface",
193
+ "strokeWidth": 1.0,
194
+ "cornerRadius": 5.0
195
+ })
196
+ })
197
+ });
198
+ */
199
199
  arOverlay: ArOverlayGeneralConfiguration;
200
200
  /** @param source {@displayType `DeepPartial<SingleScanningMode>`} */
201
201
  constructor(source?: DeepPartial<SingleScanningMode>);
@@ -1,55 +1,55 @@
1
1
  import { ButtonConfiguration } from "./Common";
2
- import { DeepPartial, PartiallyConstructible } from "./utils";
2
+ import { DeepPartial, PartiallyConstructible } from "../common";
3
3
  import { StyledText } from "./Common";
4
4
  /**
5
- Configuration of the top screen bar's appearance.
6
- */
5
+ Configuration of the top screen bar's appearance.
6
+ */
7
7
  export declare class TopBarConfiguration extends PartiallyConstructible {
8
8
  /**
9
- Appearance of the top bar's title.
10
- @defaultValue new StyledText({
11
- "visible": false,
12
- "text": "Scan Item",
13
- "color": "?sbColorOnPrimary"
9
+ Appearance of the top bar's title.
10
+ @defaultValue new StyledText({
11
+ "visible": false,
12
+ "text": "Scan Item",
13
+ "color": "?sbColorOnPrimary"
14
14
  });
15
- */
15
+ */
16
16
  title: StyledText;
17
17
  /**
18
- Visual mode used for the top bar.
19
- @defaultValue "SOLID";
20
- */
18
+ Visual mode used for the top bar.
19
+ @defaultValue "SOLID";
20
+ */
21
21
  mode: TopBarMode;
22
22
  /**
23
- Background color of the top bar to be used when the visual mode is specified as SOLID. Otherwise ignored.
24
- @defaultValue "?sbColorPrimary";
25
- */
23
+ Background color of the top bar to be used when the visual mode is specified as SOLID. Otherwise ignored.
24
+ @defaultValue "?sbColorPrimary";
25
+ */
26
26
  backgroundColor: string;
27
27
  /**
28
- Configuration of the cancel button's appearance.
29
- @defaultValue new ButtonConfiguration({
30
- "text": "Cancel",
31
- "background": new BackgroundStyle({
32
- "strokeColor": "#00000000",
33
- "fillColor": "#00000000",
34
- "strokeWidth": 0.0
35
- }),
36
- "foreground": new ForegroundStyle({
37
- "color": "?sbColorOnPrimary"
38
- })
39
- });
40
- */
28
+ Configuration of the cancel button's appearance.
29
+ @defaultValue new ButtonConfiguration({
30
+ "text": "Cancel",
31
+ "background": new BackgroundStyle({
32
+ "strokeColor": "#00000000",
33
+ "fillColor": "#00000000",
34
+ "strokeWidth": 0.0
35
+ }),
36
+ "foreground": new ForegroundStyle({
37
+ "color": "?sbColorOnPrimary"
38
+ })
39
+ });
40
+ */
41
41
  cancelButton: ButtonConfiguration;
42
42
  /** @param source {@displayType `DeepPartial<TopBarConfiguration>`} */
43
43
  constructor(source?: DeepPartial<TopBarConfiguration>);
44
44
  }
45
45
  /**
46
- Visual mode used for the top bar.
46
+ Visual mode used for the top bar.
47
47
 
48
- - `SOLID`:
49
- Display the top bar with a background color or with transparency.
50
- - `GRADIENT`:
51
- Display the top bar with a gradient background color or a transparent gradient. The buttons will still be visible.
52
- - `HIDDEN`:
53
- Hide the top bar completely.
54
- */
48
+ - `SOLID`:
49
+ Display the top bar with a background color or with transparency.
50
+ - `GRADIENT`:
51
+ Display the top bar with a gradient background color or a transparent gradient. The buttons will still be visible.
52
+ - `HIDDEN`:
53
+ Hide the top bar completely.
54
+ */
55
55
  export type TopBarMode = "SOLID" | "GRADIENT" | "HIDDEN";
@@ -1,29 +1,29 @@
1
1
  import { BackgroundStyle } from "./Common";
2
- import { DeepPartial, PartiallyConstructible } from "./utils";
2
+ import { DeepPartial, PartiallyConstructible } from "../common";
3
3
  import { StyledText } from "./Common";
4
4
  /**
5
- Configuration of the hint guiding users through the scanning process.
6
- */
5
+ Configuration of the hint guiding users through the scanning process.
6
+ */
7
7
  export declare class UserGuidanceConfiguration extends PartiallyConstructible {
8
8
  /**
9
- Whether the user guidance is visible.
10
- @defaultValue true;
11
- */
9
+ Whether the user guidance is visible.
10
+ @defaultValue true;
11
+ */
12
12
  visible: boolean;
13
13
  /**
14
- Title of the user guidance.
15
- @defaultValue new StyledText({
16
- "color": "?sbColorOnPrimary"
14
+ Title of the user guidance.
15
+ @defaultValue new StyledText({
16
+ "color": "?sbColorOnPrimary"
17
17
  });
18
- */
18
+ */
19
19
  title: StyledText;
20
20
  /**
21
- Background style used for the user guidance.
22
- @defaultValue new BackgroundStyle({
23
- "strokeColor": "#00000000",
24
- "fillColor": "?sbColorSurfaceLow"
25
- });
26
- */
21
+ Background style used for the user guidance.
22
+ @defaultValue new BackgroundStyle({
23
+ "strokeColor": "#00000000",
24
+ "fillColor": "?sbColorSurfaceLow"
25
+ });
26
+ */
27
27
  background: BackgroundStyle;
28
28
  /** @param source {@displayType `DeepPartial<UserGuidanceConfiguration>`} */
29
29
  constructor(source?: DeepPartial<UserGuidanceConfiguration>);