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

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 (152) 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/BarcodeConfigs.d.ts +231 -231
  4. package/@types/core/bridge/compiled/BarcodeScannerTypes.d.ts +13 -11
  5. package/@types/core/bridge/compiled/CreditCardTypes.d.ts +82 -0
  6. package/@types/core/bridge/compiled/DocumentDetectorTypes.d.ts +52 -44
  7. package/@types/core/bridge/compiled/DocumentQualityAnalyzerTypes.d.ts +17 -17
  8. package/@types/core/bridge/compiled/FrameAccumulationTypes.d.ts +41 -0
  9. package/@types/core/bridge/compiled/GDRTypes.d.ts +38 -0
  10. package/@types/core/bridge/compiled/GenericDocument.d.ts +40 -12
  11. package/@types/core/bridge/compiled/GenericDocumentRecognizerConfigs.d.ts +182 -0
  12. package/@types/core/bridge/compiled/GenericDocumentRecognizerTypes.d.ts +7 -28
  13. package/@types/core/bridge/compiled/GenericDocumentTypes.d.ts +38 -0
  14. package/@types/core/bridge/compiled/ImageProcessorTypes.d.ts +5 -5
  15. package/@types/core/bridge/compiled/MedicalCertificateTypes.d.ts +2 -2
  16. package/@types/core/bridge/compiled/ParametricFilters.d.ts +9 -5
  17. package/@types/core/bridge/compiled/TiffTypes.d.ts +6 -5
  18. package/@types/core/bridge/worker-bridge.d.ts +604 -40
  19. package/@types/core/worker/ScanbotSDK.Core.d.ts +29 -18
  20. package/@types/core-types.d.ts +4 -1
  21. package/@types/cropping-view.d.ts +1 -1
  22. package/@types/document-scanner-view.d.ts +4 -2
  23. package/@types/index.d.ts +40 -4
  24. package/@types/model/barcode/barcode-result.d.ts +12 -2
  25. package/@types/model/barcode/barcode.d.ts +2 -1
  26. package/@types/model/camera-info.d.ts +3 -2
  27. package/@types/model/configuration/barcode-scanner-configuration.d.ts +7 -4
  28. package/@types/model/configuration/cropping-view-configuration.d.ts +5 -0
  29. package/@types/model/configuration/document-scanner-configuration.d.ts +4 -10
  30. package/@types/model/configuration/generic-document-recognizer-configuration.d.ts +1 -1
  31. package/@types/model/configuration/initialization-options.d.ts +8 -0
  32. package/@types/model/configuration/mrz-scanner-configuration.d.ts +1 -1
  33. package/@types/model/configuration/scanner-configuration.d.ts +7 -0
  34. package/@types/model/configuration/selection-overlay-configuration.d.ts +2 -2
  35. package/@types/model/configuration/view-finder-scanner-configuration.d.ts +1 -1
  36. package/@types/model/error/media-error.d.ts +1 -0
  37. package/@types/scanbot-sdk.d.ts +360 -54
  38. package/@types/service/document-quality-analyzer.d.ts +1 -1
  39. package/@types/service/generic-document-recognizer.d.ts +3 -1
  40. package/@types/service/simple-mrz-recognizer.d.ts +3 -1
  41. package/@types/service/text-data-recognizer.d.ts +3 -1
  42. package/@types/service/tiff-generator.d.ts +1 -1
  43. package/@types/ui2/common.d.ts +8 -0
  44. package/@types/ui2/configuration/ActionBarConfiguration.d.ts +30 -30
  45. package/@types/ui2/configuration/ArTrackingOverlayConfiguration.d.ts +220 -220
  46. package/@types/ui2/configuration/BarcodeInfoMapping.d.ts +51 -51
  47. package/@types/ui2/configuration/BarcodeItemMapper.d.ts +2 -2
  48. package/@types/ui2/configuration/BarcodeRecognizerConfiguration.d.ts +34 -34
  49. package/@types/ui2/configuration/BarcodeScannerConfiguration.d.ts +168 -168
  50. package/@types/ui2/configuration/BarcodeScannerTypes.d.ts +1 -6
  51. package/@types/ui2/configuration/BarcodeScannerUIResult.d.ts +29 -0
  52. package/@types/ui2/configuration/BarcodeTextLocalization.d.ts +124 -69
  53. package/@types/ui2/configuration/BarcodeTypes.d.ts +1 -1
  54. package/@types/ui2/configuration/BarcodeUseCase.d.ts +4 -3
  55. package/@types/ui2/configuration/CameraConfiguration.d.ts +32 -32
  56. package/@types/ui2/configuration/CameraPermission.d.ts +33 -33
  57. package/@types/ui2/configuration/Common.d.ts +190 -190
  58. package/@types/ui2/configuration/CommonFieldType.d.ts +1 -0
  59. package/@types/ui2/configuration/FindAndPickScanningModeUseCase.d.ts +364 -12
  60. package/@types/ui2/configuration/GenericDocument.d.ts +1 -0
  61. package/@types/ui2/configuration/MultipleScanningModeUseCase.d.ts +488 -488
  62. package/@types/ui2/configuration/ScanbotAlertDialog.d.ts +27 -27
  63. package/@types/ui2/configuration/SingleScanningModeUseCase.d.ts +169 -169
  64. package/@types/ui2/configuration/TopBarConfiguration.d.ts +36 -36
  65. package/@types/ui2/configuration/UserGuidanceConfiguration.d.ts +16 -16
  66. package/@types/ui2/configuration/ViewFinderConfiguration.d.ts +45 -45
  67. package/@types/ui2/configuration.d.ts +2 -1
  68. package/@types/ui2/controllers/barcode-scanner-controller.d.ts +2 -2
  69. package/@types/ui2/controllers/multiple-scanning-mode-controller.d.ts +4 -2
  70. package/@types/ui2/controllers/single-scanning-mode-controller.d.ts +4 -2
  71. package/@types/ui2/model/counted-barcodes.d.ts +17 -20
  72. package/@types/ui2/scanbot-sdk-ui.d.ts +2 -2
  73. package/@types/ui2/scanbot-ui-library.d.ts +3 -2
  74. package/@types/ui2/utils/barcode-mapper/expected-barcode-mapper.d.ts +13 -0
  75. package/@types/ui2/utils/barcode-mapper/i-barcode-mapper.d.ts +17 -0
  76. package/@types/ui2/utils/{barcode-mapper.d.ts → barcode-mapper/user-barcode-mapper.d.ts} +4 -16
  77. package/@types/ui2/utils/find-and-pick.ts/expected-barcode-counter.d.ts +7 -0
  78. package/@types/ui2/utils/styled-badge.d.ts +1 -1
  79. package/@types/ui2/views/ar/ar-badge.d.ts +18 -0
  80. package/@types/ui2/views/ar/ar-overlay-barcode-info.d.ts +5 -1
  81. package/@types/ui2/views/ar/vertical-positions.d.ts +12 -0
  82. package/@types/ui2/views/barcode-info/barcode-info.d.ts +3 -1
  83. package/@types/ui2/views/barcode-scanner.d.ts +5 -5
  84. package/@types/ui2/views/dialog/base/confirmation-dialog.d.ts +20 -0
  85. package/@types/ui2/views/dialog/count-edit-dialog.d.ts +3 -3
  86. package/@types/ui2/views/dialog/find-and-pick-submit-dialog.d.ts +10 -0
  87. package/@types/ui2/views/drawer/barcode-result-drawer.d.ts +1 -1
  88. package/@types/ui2/views/drawer/barcode-result-sidebar.d.ts +10 -0
  89. package/@types/ui2/views/drawer/counting-button.d.ts +1 -1
  90. package/@types/ui2/views/drawer/subviews/barcode-drawer-empty-state.d.ts +1 -1
  91. package/@types/ui2/views/drawer/subviews/barcode-list-item.d.ts +4 -4
  92. package/@types/ui2/views/drawer/subviews/barcode-list.d.ts +8 -1
  93. package/@types/ui2/views/drawer/subviews/drawer-header-content.d.ts +1 -1
  94. package/@types/utils/barcode-utils.d.ts +10 -0
  95. package/@types/utils/browser-cameras.d.ts +92 -0
  96. package/@types/utils/dto/Polygon.d.ts +2 -1
  97. package/@types/utils/stats.d.ts +4 -0
  98. package/@types/utils/video-stream.d.ts +3 -3
  99. package/@types/utils/video-to-image-data/two-d-video-to-image-data.d.ts +8 -0
  100. package/@types/utils/video-to-image-data/video-to-image-data.d.ts +5 -0
  101. package/@types/utils/video-to-image-data/webgl-video-to-image-data.d.ts +21 -0
  102. package/@types/view/barcode-polygon/animated-barcode-selection-overlay.d.ts +1 -0
  103. package/@types/view/scanbot-camera-view.d.ts +9 -3
  104. package/@types/worker/worker-bridge.d.ts +607 -44
  105. package/bundle/ScanbotSDK.min.js +5 -5
  106. package/bundle/ScanbotSDK.ui2.min.js +16 -16
  107. package/bundle/bin/barcode-scanner/ScanbotSDK.Asm-simd-threads.js +1 -1
  108. package/bundle/bin/barcode-scanner/ScanbotSDK.Asm-simd-threads.wasm +0 -0
  109. package/bundle/bin/barcode-scanner/ScanbotSDK.Asm-simd.wasm +0 -0
  110. package/bundle/bin/barcode-scanner/ScanbotSDK.Asm.wasm +0 -0
  111. package/bundle/bin/barcode-scanner/ScanbotSDK.Core-simd-threads.js +1 -1
  112. package/bundle/bin/barcode-scanner/ScanbotSDK.Core-simd.js +1 -1
  113. package/bundle/bin/barcode-scanner/ScanbotSDK.Core.js +1 -1
  114. package/bundle/bin/complete/ScanbotSDK.Asm-simd-threads.js +1 -1
  115. package/bundle/bin/complete/ScanbotSDK.Asm-simd-threads.wasm +0 -0
  116. package/bundle/bin/complete/ScanbotSDK.Asm-simd.wasm +0 -0
  117. package/bundle/bin/complete/ScanbotSDK.Asm.wasm +0 -0
  118. package/bundle/bin/complete/ScanbotSDK.Core-simd-threads.js +1 -1
  119. package/bundle/bin/complete/ScanbotSDK.Core-simd.js +1 -1
  120. package/bundle/bin/complete/ScanbotSDK.Core.js +1 -1
  121. package/bundle/bin/document-scanner/ScanbotSDK.Asm-simd-threads.js +1 -1
  122. package/bundle/bin/document-scanner/ScanbotSDK.Asm-simd-threads.wasm +0 -0
  123. package/bundle/bin/document-scanner/ScanbotSDK.Asm-simd.wasm +0 -0
  124. package/bundle/bin/document-scanner/ScanbotSDK.Asm.wasm +0 -0
  125. package/bundle/bin/document-scanner/ScanbotSDK.Core-simd-threads.js +1 -1
  126. package/bundle/bin/document-scanner/ScanbotSDK.Core-simd.js +1 -1
  127. package/bundle/bin/document-scanner/ScanbotSDK.Core.js +1 -1
  128. package/package.json +2 -2
  129. package/@types/core/bridge/compiled_schemas_v3/BarcodeConfigs.d.ts +0 -973
  130. package/@types/core/bridge/compiled_schemas_v3/BarcodeScannerTypes.d.ts +0 -183
  131. package/@types/core/bridge/compiled_schemas_v3/BarcodeTypes.d.ts +0 -183
  132. package/@types/core/bridge/compiled_schemas_v3/CheckRecognizerTypes.d.ts +0 -29
  133. package/@types/core/bridge/compiled_schemas_v3/CommonFieldType.d.ts +0 -59
  134. package/@types/core/bridge/compiled_schemas_v3/DocumentDetectorTypes.d.ts +0 -196
  135. package/@types/core/bridge/compiled_schemas_v3/DocumentQualityAnalyzerTypes.d.ts +0 -105
  136. package/@types/core/bridge/compiled_schemas_v3/EhicTypes.d.ts +0 -218
  137. package/@types/core/bridge/compiled_schemas_v3/FrameUtilities.d.ts +0 -18
  138. package/@types/core/bridge/compiled_schemas_v3/GenericDocument.d.ts +0 -198
  139. package/@types/core/bridge/compiled_schemas_v3/GenericDocumentRecognizerTypes.d.ts +0 -104
  140. package/@types/core/bridge/compiled_schemas_v3/GenericTextLineScannerTypes.d.ts +0 -165
  141. package/@types/core/bridge/compiled_schemas_v3/Geometry.d.ts +0 -49
  142. package/@types/core/bridge/compiled_schemas_v3/ImageProcessorTypes.d.ts +0 -13
  143. package/@types/core/bridge/compiled_schemas_v3/LicensePlateScannerTypes.d.ts +0 -67
  144. package/@types/core/bridge/compiled_schemas_v3/MRZTypes.d.ts +0 -52
  145. package/@types/core/bridge/compiled_schemas_v3/MedicalCertificateTypes.d.ts +0 -306
  146. package/@types/core/bridge/compiled_schemas_v3/OcrElements.d.ts +0 -129
  147. package/@types/core/bridge/compiled_schemas_v3/ParametricFilters.d.ts +0 -186
  148. package/@types/core/bridge/compiled_schemas_v3/PdfConfig.d.ts +0 -197
  149. package/@types/core/bridge/compiled_schemas_v3/TiffTypes.d.ts +0 -183
  150. package/@types/ui2/configuration/BarcodeItem.d.ts +0 -6
  151. package/@types/ui2/configuration/utils.d.ts +0 -6
  152. /package/@types/ui2/views/dialog/{styled-dialog.d.ts → base/styled-dialog.d.ts} +0 -0
@@ -2,608 +2,608 @@ import { ArOverlayGeneralConfiguration } from "./ArTrackingOverlayConfiguration"
2
2
  import { BadgedButton } from "./Common";
3
3
  import { BarcodeInfoMapping } from "./BarcodeInfoMapping";
4
4
  import { ButtonConfiguration } from "./Common";
5
- import { DeepPartial, PartiallyConstructible } from "./utils";
5
+ import { DeepPartial, PartiallyConstructible } from "../common";
6
6
  import { IconStyle } from "./Common";
7
7
  import { StyledText } from "./Common";
8
8
  /**
9
- Configuration of the mode used for scanning multiple barcodes.
9
+ Configuration of the mode used for scanning multiple barcodes.
10
10
 
11
- - `COUNTING`:
12
- Scan barcodes even if they have the same value and count the number of repeated barcodes.
13
- - `UNIQUE`:
14
- Only scan barcodes with unique values. Subsequent barcodes with the same values will be ignored.
15
- */
11
+ - `COUNTING`:
12
+ Scan barcodes even if they have the same value and count the number of repeated barcodes.
13
+ - `UNIQUE`:
14
+ Only scan barcodes with unique values. Subsequent barcodes with the same values will be ignored.
15
+ */
16
16
  export type MultipleBarcodesScanningMode = "COUNTING" | "UNIQUE";
17
17
  /**
18
- Configuration of the barcode result sheet's default visibility state.
18
+ Configuration of the barcode result sheet's default visibility state.
19
19
 
20
- - `BUTTON`:
21
- Result sheet is hidden and can be opened by pressing the button. The button can show the total barcode count.
22
- - `COLLAPSED_SHEET`:
23
- Result sheet is visible and collapsed and can be expanded by dragging it up.
24
- */
20
+ - `BUTTON`:
21
+ Result sheet is hidden and can be opened by pressing the button. The button can show the total barcode count.
22
+ - `COLLAPSED_SHEET`:
23
+ Result sheet is visible and collapsed and can be expanded by dragging it up.
24
+ */
25
25
  export type SheetMode = "BUTTON" | "COLLAPSED_SHEET";
26
26
  /**
27
- Configuration of the barcodes result sheet's height while collapsed.
27
+ Configuration of the barcodes result sheet's height while collapsed.
28
28
 
29
- - `SMALL`:
30
- Result sheet is collapsed as much as possible, showing only the top part.
31
- - `LARGE`:
32
- Result sheet is not completely collapsed, revealing more information.
33
- */
29
+ - `SMALL`:
30
+ Result sheet is collapsed as much as possible, showing only the top part.
31
+ - `LARGE`:
32
+ Result sheet is not completely collapsed, revealing more information.
33
+ */
34
34
  export type CollapsedVisibleHeight = "SMALL" | "LARGE";
35
35
  /**
36
- Configuration of the preview mode for scanning multiple barcodes.
37
- */
36
+ Configuration of the preview mode for scanning multiple barcodes.
37
+ */
38
38
  export declare class Sheet extends PartiallyConstructible {
39
39
  /**
40
- Mode used for the preview for scanning multiple barcodes.
41
- @defaultValue "COLLAPSED_SHEET";
42
- */
40
+ Mode used for the preview for scanning multiple barcodes.
41
+ @defaultValue "COLLAPSED_SHEET";
42
+ */
43
43
  mode: SheetMode;
44
44
  /**
45
- Height of the collapsed result sheet.
46
- @defaultValue "SMALL";
47
- */
45
+ Height of the collapsed result sheet.
46
+ @defaultValue "SMALL";
47
+ */
48
48
  collapsedVisibleHeight: CollapsedVisibleHeight;
49
49
  /**
50
- Configuration of the list button.
51
- @defaultValue new BadgedButton({});
52
- */
50
+ Configuration of the list button.
51
+ @defaultValue new BadgedButton({});
52
+ */
53
53
  listButton: BadgedButton;
54
54
  /** @param source {@displayType `DeepPartial<Sheet>`} */
55
55
  constructor(source?: DeepPartial<Sheet>);
56
56
  }
57
57
  /**
58
- Configuration of the swipe-to-delete button.
59
- */
58
+ Configuration of the swipe-to-delete button.
59
+ */
60
60
  export declare class SwipeToDelete extends PartiallyConstructible {
61
61
  /**
62
- Whether swipe to delete is enabled or not.
63
- @defaultValue true;
64
- */
62
+ Whether swipe to delete is enabled or not.
63
+ @defaultValue true;
64
+ */
65
65
  enabled: boolean;
66
66
  /**
67
- Color of the swipe-to-delete button.
68
- @defaultValue "?sbColorNegative";
69
- */
67
+ Color of the swipe-to-delete button.
68
+ @defaultValue "?sbColorNegative";
69
+ */
70
70
  backgroundColor: string;
71
71
  /**
72
- Color of the icon on the swipe-to-delete button.
73
- @defaultValue "?sbColorOnPrimary";
74
- */
72
+ Color of the icon on the swipe-to-delete button.
73
+ @defaultValue "?sbColorOnPrimary";
74
+ */
75
75
  iconColor: string;
76
76
  /** @param source {@displayType `DeepPartial<SwipeToDelete>`} */
77
77
  constructor(source?: DeepPartial<SwipeToDelete>);
78
78
  }
79
79
  /**
80
- Configuration of the dialog to manually edit the barcode count.
81
- */
80
+ Configuration of the dialog to manually edit the barcode count.
81
+ */
82
82
  export declare class ManualCountEditDialog extends PartiallyConstructible {
83
83
  /**
84
- Color of the edit dialog's background.
85
- @defaultValue "?sbColorSurface";
86
- */
84
+ Color of the edit dialog's background.
85
+ @defaultValue "?sbColorSurface";
86
+ */
87
87
  sheetColor: string;
88
88
  /**
89
- Color of the divider and separator lines in the edit dialog.
90
- @defaultValue "?sbColorOutline";
91
- */
89
+ Color of the divider and separator lines in the edit dialog.
90
+ @defaultValue "?sbColorOutline";
91
+ */
92
92
  dividerColor: string;
93
93
  /**
94
- Background color of the overlay surrounding the edit dialog.
95
- @defaultValue "?sbColorModalOverlay";
96
- */
94
+ Background color of the overlay surrounding the edit dialog.
95
+ @defaultValue "?sbColorModalOverlay";
96
+ */
97
97
  modalOverlayColor: string;
98
98
  /**
99
- Configuration of the edit dialog's title.
100
- @defaultValue new StyledText({
101
- "text": "Update count",
102
- "color": "?sbColorOnSurface"
99
+ Configuration of the edit dialog's title.
100
+ @defaultValue new StyledText({
101
+ "text": "Update count",
102
+ "color": "?sbColorOnSurface"
103
103
  });
104
- */
104
+ */
105
105
  title: StyledText;
106
106
  /**
107
- Configuration of the edit dialog's info text.
108
- @defaultValue new StyledText({
109
- "text": "Adjust the number of items you scanned.",
110
- "color": "?sbColorOnSurfaceVariant"
111
- });
112
- */
107
+ Configuration of the edit dialog's info text.
108
+ @defaultValue new StyledText({
109
+ "text": "Adjust the number of items you scanned.",
110
+ "color": "?sbColorOnSurfaceVariant"
111
+ });
112
+ */
113
113
  info: StyledText;
114
114
  /**
115
- Configuration of the edit dialog's confirm button. Hiding both the update and cancel buttons simultaneously is an undefined behavior.
116
- @defaultValue new ButtonConfiguration({
117
- "visible": true,
118
- "text": "Update",
119
- "background": new BackgroundStyle({
120
- "strokeColor": "?sbColorPrimary",
121
- "fillColor": "?sbColorPrimary",
122
- "strokeWidth": 1.0
123
- }),
124
- "foreground": new ForegroundStyle({
125
- "iconVisible": false,
126
- "color": "?sbColorOnPrimary",
127
- "useShadow": false
128
- })
129
- });
130
- */
115
+ Configuration of the edit dialog's confirm button. Hiding both the update and cancel buttons simultaneously is an undefined behavior.
116
+ @defaultValue new ButtonConfiguration({
117
+ "visible": true,
118
+ "text": "Update",
119
+ "background": new BackgroundStyle({
120
+ "strokeColor": "?sbColorPrimary",
121
+ "fillColor": "?sbColorPrimary",
122
+ "strokeWidth": 1.0
123
+ }),
124
+ "foreground": new ForegroundStyle({
125
+ "iconVisible": false,
126
+ "color": "?sbColorOnPrimary",
127
+ "useShadow": false
128
+ })
129
+ });
130
+ */
131
131
  updateButton: ButtonConfiguration;
132
132
  /**
133
- Configuration of the edit dialog's cancel button. Hiding both the update and cancel buttons simultaneously is an undefined behavior.
134
- @defaultValue new ButtonConfiguration({
135
- "visible": true,
136
- "text": "Cancel",
137
- "background": new BackgroundStyle({
138
- "strokeColor": "#00000000",
139
- "fillColor": "#00000000",
140
- "strokeWidth": 1.0
141
- }),
142
- "foreground": new ForegroundStyle({
143
- "iconVisible": false,
144
- "color": "?sbColorPrimary",
145
- "useShadow": false
146
- })
147
- });
148
- */
133
+ Configuration of the edit dialog's cancel button. Hiding both the update and cancel buttons simultaneously is an undefined behavior.
134
+ @defaultValue new ButtonConfiguration({
135
+ "visible": true,
136
+ "text": "Cancel",
137
+ "background": new BackgroundStyle({
138
+ "strokeColor": "#00000000",
139
+ "fillColor": "#00000000",
140
+ "strokeWidth": 1.0
141
+ }),
142
+ "foreground": new ForegroundStyle({
143
+ "iconVisible": false,
144
+ "color": "?sbColorPrimary",
145
+ "useShadow": false
146
+ })
147
+ });
148
+ */
149
149
  cancelButton: ButtonConfiguration;
150
150
  /**
151
- Configuration of the edit dialog's button to clear the entered count number.
152
- @defaultValue new IconStyle({
153
- "visible": true,
154
- "color": "?sbColorOnSurfaceVariant"
151
+ Configuration of the edit dialog's button to clear the entered count number.
152
+ @defaultValue new IconStyle({
153
+ "visible": true,
154
+ "color": "?sbColorOnSurfaceVariant"
155
155
  });
156
- */
156
+ */
157
157
  clearTextButton: IconStyle;
158
158
  /** @param source {@displayType `DeepPartial<ManualCountEditDialog>`} */
159
159
  constructor(source?: DeepPartial<ManualCountEditDialog>);
160
160
  }
161
161
  /**
162
- Configuration of the list containing the barcodes that have already been scanned.
163
- */
162
+ Configuration of the list containing the barcodes that have already been scanned.
163
+ */
164
164
  export declare class SheetContent extends PartiallyConstructible {
165
165
  /**
166
- Color of the list's background.
167
- @defaultValue "?sbColorSurface";
168
- */
166
+ Color of the list's background.
167
+ @defaultValue "?sbColorSurface";
168
+ */
169
169
  sheetColor: string;
170
170
  /**
171
- The color of the dividers in the list sheet.
172
- @defaultValue "?sbColorOutline";
173
- */
171
+ The color of the dividers in the list sheet.
172
+ @defaultValue "?sbColorOutline";
173
+ */
174
174
  dividerColor: string;
175
175
  /**
176
- Enables the user to change the number of scanned items by pressing +,-, or changing the number using a keyboard.
177
- @defaultValue true;
178
- */
176
+ Enables the user to change the number of scanned items by pressing +,-, or changing the number using a keyboard.
177
+ @defaultValue true;
178
+ */
179
179
  manualCountChangeEnabled: boolean;
180
180
  /**
181
- The color of the outline of the manual counting buttons in the list sheet.
182
- @defaultValue "?sbColorOutline";
183
- */
181
+ The color of the outline of the manual counting buttons in the list sheet.
182
+ @defaultValue "?sbColorOutline";
183
+ */
184
184
  manualCountOutlineColor: string;
185
185
  /**
186
- Color of the buttons for manually changing the barcode count.
187
- @defaultValue "?sbColorPrimary";
188
- */
186
+ Color of the buttons for manually changing the barcode count.
187
+ @defaultValue "?sbColorPrimary";
188
+ */
189
189
  manualCountChangeColor: string;
190
190
  /**
191
- Configuration of the barcode list's title. By default displays the total number of scanned barcodes.
192
- @defaultValue new StyledText({
193
- "text": "%d items",
194
- "color": "?sbColorOnSurface"
191
+ Configuration of the barcode list's title. By default displays the total number of scanned barcodes.
192
+ @defaultValue new StyledText({
193
+ "text": "%d items",
194
+ "color": "?sbColorOnSurface"
195
195
  });
196
- */
196
+ */
197
197
  title: StyledText;
198
198
  /**
199
- Configuration of the button for clearing the barcode list.
200
- @defaultValue new ButtonConfiguration({
201
- "visible": true,
202
- "text": "Clear all",
203
- "background": new BackgroundStyle({
204
- "strokeColor": "#00000000",
205
- "fillColor": "#00000000",
206
- "strokeWidth": 1.0
207
- }),
208
- "foreground": new ForegroundStyle({
209
- "iconVisible": false,
210
- "color": "?sbColorOnSurface",
211
- "useShadow": false
212
- })
213
- });
214
- */
199
+ Configuration of the button for clearing the barcode list.
200
+ @defaultValue new ButtonConfiguration({
201
+ "visible": true,
202
+ "text": "Clear all",
203
+ "background": new BackgroundStyle({
204
+ "strokeColor": "#00000000",
205
+ "fillColor": "#00000000",
206
+ "strokeWidth": 1.0
207
+ }),
208
+ "foreground": new ForegroundStyle({
209
+ "iconVisible": false,
210
+ "color": "?sbColorOnSurface",
211
+ "useShadow": false
212
+ })
213
+ });
214
+ */
215
215
  clearAllButton: ButtonConfiguration;
216
216
  /**
217
- Configuration of the title of a barcode list entry (displaying the barcode's value).
218
- @defaultValue new StyledText({
219
- "visible": true,
220
- "text": "BARCODE_TITLE",
221
- "color": "?sbColorOnSurface",
222
- "useShadow": false
223
- });
224
- */
217
+ Configuration of the title of a barcode list entry (displaying the barcode's value).
218
+ @defaultValue new StyledText({
219
+ "visible": true,
220
+ "text": "BARCODE_TITLE",
221
+ "color": "?sbColorOnSurface",
222
+ "useShadow": false
223
+ });
224
+ */
225
225
  barcodeItemTitle: StyledText;
226
226
  /**
227
- Configuration of the subtitle of a barcode list entry (displaying the barcode's symbology).
228
- @defaultValue new StyledText({
229
- "text": "BARCODE_SUBTITLE",
230
- "color": "?sbColorOnSurfaceVariant"
231
- });
232
- */
227
+ Configuration of the subtitle of a barcode list entry (displaying the barcode's symbology).
228
+ @defaultValue new StyledText({
229
+ "text": "BARCODE_SUBTITLE",
230
+ "color": "?sbColorOnSurfaceVariant"
231
+ });
232
+ */
233
233
  barcodeItemSubtitle: StyledText;
234
234
  /**
235
- Visibility of the barcode image in a barcode list entry.
236
- @defaultValue true;
237
- */
235
+ Visibility of the barcode image in a barcode list entry.
236
+ @defaultValue true;
237
+ */
238
238
  barcodeItemImageVisible: boolean;
239
239
  /**
240
- Configuration of the barcode list's submit button.
241
- @defaultValue new ButtonConfiguration({
242
- "visible": true,
243
- "text": "Submit",
244
- "background": new BackgroundStyle({
245
- "strokeColor": "#00000000",
246
- "fillColor": "#00000000",
247
- "strokeWidth": 1.0
248
- }),
249
- "foreground": new ForegroundStyle({
250
- "iconVisible": false,
251
- "color": "?sbColorOnSurface",
252
- "useShadow": false
253
- })
254
- });
255
- */
240
+ Configuration of the barcode list's submit button.
241
+ @defaultValue new ButtonConfiguration({
242
+ "visible": true,
243
+ "text": "Submit",
244
+ "background": new BackgroundStyle({
245
+ "strokeColor": "#00000000",
246
+ "fillColor": "#00000000",
247
+ "strokeWidth": 1.0
248
+ }),
249
+ "foreground": new ForegroundStyle({
250
+ "iconVisible": false,
251
+ "color": "?sbColorOnSurface",
252
+ "useShadow": false
253
+ })
254
+ });
255
+ */
256
256
  submitButton: ButtonConfiguration;
257
257
  /**
258
- Configuration of the button to start scanning displayed in an empty barcode list.
259
- @defaultValue new ButtonConfiguration({
260
- "visible": true,
261
- "text": "Start scanning",
262
- "background": new BackgroundStyle({
263
- "strokeColor": "?sbColorPrimary",
264
- "fillColor": "?sbColorPrimary",
265
- "strokeWidth": 1.0
266
- }),
267
- "foreground": new ForegroundStyle({
268
- "iconVisible": true,
269
- "color": "?sbColorOnPrimary",
270
- "useShadow": false
271
- })
272
- });
273
- */
258
+ Configuration of the button to start scanning displayed in an empty barcode list.
259
+ @defaultValue new ButtonConfiguration({
260
+ "visible": true,
261
+ "text": "Start scanning",
262
+ "background": new BackgroundStyle({
263
+ "strokeColor": "?sbColorPrimary",
264
+ "fillColor": "?sbColorPrimary",
265
+ "strokeWidth": 1.0
266
+ }),
267
+ "foreground": new ForegroundStyle({
268
+ "iconVisible": true,
269
+ "color": "?sbColorOnPrimary",
270
+ "useShadow": false
271
+ })
272
+ });
273
+ */
274
274
  startScanningButton: ButtonConfiguration;
275
275
  /**
276
- Configuration of the title displayed in an empty barcode list.
277
- @defaultValue new StyledText({
278
- "text": "No barcodes here!",
279
- "color": "?sbColorOnSurface"
276
+ Configuration of the title displayed in an empty barcode list.
277
+ @defaultValue new StyledText({
278
+ "text": "No barcodes here!",
279
+ "color": "?sbColorOnSurface"
280
280
  });
281
- */
281
+ */
282
282
  placeholderTitle: StyledText;
283
283
  /**
284
- Configuration of the subtitle displayed in an empty barcode list.
285
- @defaultValue new StyledText({
286
- "text": "The barcode list is currently empty. Close this sheet and scan your items to add them.",
287
- "color": "?sbColorOnSurfaceVariant"
288
- });
289
- */
284
+ Configuration of the subtitle displayed in an empty barcode list.
285
+ @defaultValue new StyledText({
286
+ "text": "The barcode list is currently empty. Close this sheet and scan your items to add them.",
287
+ "color": "?sbColorOnSurfaceVariant"
288
+ });
289
+ */
290
290
  placeholderSubtitle: StyledText;
291
291
  /**
292
- Background color of the icon displayed in an empty barcode list.
293
- @defaultValue "?sbColorOutline";
294
- */
292
+ Background color of the icon displayed in an empty barcode list.
293
+ @defaultValue "?sbColorOutline";
294
+ */
295
295
  placeholderIconBackground: string;
296
296
  /**
297
- Configuration of the icon displayed in an empty barcode list.
298
- @defaultValue new IconStyle({
299
- "visible": true,
300
- "color": "?sbColorOnSurface"
297
+ Configuration of the icon displayed in an empty barcode list.
298
+ @defaultValue new IconStyle({
299
+ "visible": true,
300
+ "color": "?sbColorOnSurface"
301
301
  });
302
- */
302
+ */
303
303
  placeholderIcon: IconStyle;
304
304
  /**
305
- The style of the swipe-to-delete button.
306
- @defaultValue new SwipeToDelete({
307
- "enabled": true,
308
- "backgroundColor": "?sbColorNegative",
309
- "iconColor": "?sbColorOnPrimary"
310
- });
311
- */
305
+ The style of the swipe-to-delete button.
306
+ @defaultValue new SwipeToDelete({
307
+ "enabled": true,
308
+ "backgroundColor": "?sbColorNegative",
309
+ "iconColor": "?sbColorOnPrimary"
310
+ });
311
+ */
312
312
  swipeToDelete: SwipeToDelete;
313
313
  /** @param source {@displayType `DeepPartial<SheetContent>`} */
314
314
  constructor(source?: DeepPartial<SheetContent>);
315
315
  }
316
316
  /**
317
- Configuration of the mode for scanning multiple barcodes.
318
- */
317
+ Configuration of the mode for scanning multiple barcodes.
318
+ */
319
319
  export declare class MultipleScanningMode extends PartiallyConstructible {
320
320
  readonly _type: "MultipleScanningMode";
321
321
  /**
322
- Time interval in milliseconds before a barcode is counted again. 0 = no delay. The default value is 1000.
323
- @defaultValue 1000;
324
- */
322
+ Time interval in milliseconds before a barcode is counted again. 0 = no delay. The default value is 1000.
323
+ @defaultValue 1000;
324
+ */
325
325
  countingRepeatDelay: number;
326
326
  /**
327
- Mode used for scanning multiple barcodes.
328
- @defaultValue "COUNTING";
329
- */
327
+ Mode used for scanning multiple barcodes.
328
+ @defaultValue "COUNTING";
329
+ */
330
330
  mode: MultipleBarcodesScanningMode;
331
331
  /**
332
- Configuration of the preview mode for scanning multiple barcodes.
333
- @defaultValue new Sheet({
334
- "mode": "COLLAPSED_SHEET",
335
- "collapsedVisibleHeight": "SMALL",
336
- "listButton": new BadgedButton({
337
- "badgeBackgroundColor": "?sbColorSurface",
338
- "badgeForegroundColor": "?sbColorPrimary",
339
- "visible": true,
340
- "backgroundColor": "?sbColorSurfaceHigh",
341
- "foregroundColor": "?sbColorOnPrimary",
342
- "activeBackgroundColor": "?sbColorSurfaceHigh",
343
- "activeForegroundColor": "?sbColorOnPrimary"
344
- })
345
- });
346
- */
332
+ Configuration of the preview mode for scanning multiple barcodes.
333
+ @defaultValue new Sheet({
334
+ "mode": "COLLAPSED_SHEET",
335
+ "collapsedVisibleHeight": "SMALL",
336
+ "listButton": new BadgedButton({
337
+ "badgeBackgroundColor": "?sbColorSurface",
338
+ "badgeForegroundColor": "?sbColorPrimary",
339
+ "visible": true,
340
+ "backgroundColor": "?sbColorSurfaceHigh",
341
+ "foregroundColor": "?sbColorOnPrimary",
342
+ "activeBackgroundColor": "?sbColorSurfaceHigh",
343
+ "activeForegroundColor": "?sbColorOnPrimary"
344
+ })
345
+ });
346
+ */
347
347
  sheet: Sheet;
348
348
  /**
349
- Configuration of the list containing the barcodes that have already been scanned.
350
- @defaultValue new SheetContent({
351
- "sheetColor": "?sbColorSurface",
352
- "dividerColor": "?sbColorOutline",
353
- "manualCountChangeEnabled": true,
354
- "manualCountOutlineColor": "?sbColorOutline",
355
- "manualCountChangeColor": "?sbColorPrimary",
356
- "title": new StyledText({
357
- "text": "?multipleModeSheetTitle",
358
- "color": "?sbColorOnSurface"
359
- }),
360
- "clearAllButton": new ButtonConfiguration({
361
- "visible": true,
362
- "text": "?sheetClearAllButton",
363
- "background": new BackgroundStyle({
364
- "strokeColor": "#00000000",
365
- "fillColor": "#00000000",
366
- "strokeWidth": 1.0
367
- }),
368
- "foreground": new ForegroundStyle({
369
- "iconVisible": false,
370
- "color": "?sbColorOnSurface",
371
- "useShadow": false
372
- })
373
- }),
374
- "barcodeItemTitle": new StyledText({
375
- "visible": true,
376
- "text": "BARCODE_TITLE",
377
- "color": "?sbColorOnSurface",
378
- "useShadow": false
379
- }),
380
- "barcodeItemSubtitle": new StyledText({
381
- "visible": true,
382
- "text": "BARCODE_SUBTITLE",
383
- "color": "?sbColorOnSurfaceVariant",
384
- "useShadow": false
385
- }),
386
- "barcodeItemImageVisible": true,
387
- "submitButton": new ButtonConfiguration({
388
- "visible": true,
389
- "text": "?sheetSubmitButton",
390
- "background": new BackgroundStyle({
391
- "strokeColor": "#00000000",
392
- "fillColor": "#00000000",
393
- "strokeWidth": 1.0
394
- }),
395
- "foreground": new ForegroundStyle({
396
- "iconVisible": false,
397
- "color": "?sbColorOnSurface",
398
- "useShadow": false
399
- })
400
- }),
401
- "startScanningButton": new ButtonConfiguration({
402
- "visible": true,
403
- "text": "?sheetStartScanningButton",
404
- "background": new BackgroundStyle({
405
- "strokeColor": "?sbColorPrimary",
406
- "fillColor": "?sbColorPrimary",
407
- "strokeWidth": 1.0
408
- }),
409
- "foreground": new ForegroundStyle({
410
- "iconVisible": false,
411
- "color": "?sbColorOnPrimary",
412
- "useShadow": false
413
- })
414
- }),
415
- "placeholderTitle": new StyledText({
416
- "visible": true,
417
- "text": "?sheetPlaceholderTitle",
418
- "color": "?sbColorOnSurface",
419
- "useShadow": false
420
- }),
421
- "placeholderSubtitle": new StyledText({
422
- "visible": true,
423
- "text": "?sheetPlaceholderSubtitle",
424
- "color": "?sbColorOnSurfaceVariant",
425
- "useShadow": false
426
- }),
427
- "placeholderIconBackground": "?sbColorOutline",
428
- "placeholderIcon": new IconStyle({
429
- "visible": true,
430
- "color": "?sbColorOnSurface"
431
- }),
432
- "swipeToDelete": new SwipeToDelete({
433
- "enabled": true,
434
- "backgroundColor": "?sbColorNegative",
435
- "iconColor": "?sbColorOnPrimary"
436
- })
437
- });
438
- */
349
+ Configuration of the list containing the barcodes that have already been scanned.
350
+ @defaultValue new SheetContent({
351
+ "sheetColor": "?sbColorSurface",
352
+ "dividerColor": "?sbColorOutline",
353
+ "manualCountChangeEnabled": true,
354
+ "manualCountOutlineColor": "?sbColorOutline",
355
+ "manualCountChangeColor": "?sbColorPrimary",
356
+ "title": new StyledText({
357
+ "text": "?multipleModeSheetTitle",
358
+ "color": "?sbColorOnSurface"
359
+ }),
360
+ "clearAllButton": new ButtonConfiguration({
361
+ "visible": true,
362
+ "text": "?sheetClearAllButton",
363
+ "background": new BackgroundStyle({
364
+ "strokeColor": "#00000000",
365
+ "fillColor": "#00000000",
366
+ "strokeWidth": 1.0
367
+ }),
368
+ "foreground": new ForegroundStyle({
369
+ "iconVisible": false,
370
+ "color": "?sbColorOnSurface",
371
+ "useShadow": false
372
+ })
373
+ }),
374
+ "barcodeItemTitle": new StyledText({
375
+ "visible": true,
376
+ "text": "BARCODE_TITLE",
377
+ "color": "?sbColorOnSurface",
378
+ "useShadow": false
379
+ }),
380
+ "barcodeItemSubtitle": new StyledText({
381
+ "visible": true,
382
+ "text": "BARCODE_SUBTITLE",
383
+ "color": "?sbColorOnSurfaceVariant",
384
+ "useShadow": false
385
+ }),
386
+ "barcodeItemImageVisible": true,
387
+ "submitButton": new ButtonConfiguration({
388
+ "visible": true,
389
+ "text": "?sheetSubmitButton",
390
+ "background": new BackgroundStyle({
391
+ "strokeColor": "#00000000",
392
+ "fillColor": "#00000000",
393
+ "strokeWidth": 1.0
394
+ }),
395
+ "foreground": new ForegroundStyle({
396
+ "iconVisible": false,
397
+ "color": "?sbColorOnSurface",
398
+ "useShadow": false
399
+ })
400
+ }),
401
+ "startScanningButton": new ButtonConfiguration({
402
+ "visible": true,
403
+ "text": "?sheetStartScanningButton",
404
+ "background": new BackgroundStyle({
405
+ "strokeColor": "?sbColorPrimary",
406
+ "fillColor": "?sbColorPrimary",
407
+ "strokeWidth": 1.0
408
+ }),
409
+ "foreground": new ForegroundStyle({
410
+ "iconVisible": false,
411
+ "color": "?sbColorOnPrimary",
412
+ "useShadow": false
413
+ })
414
+ }),
415
+ "placeholderTitle": new StyledText({
416
+ "visible": true,
417
+ "text": "?sheetPlaceholderTitle",
418
+ "color": "?sbColorOnSurface",
419
+ "useShadow": false
420
+ }),
421
+ "placeholderSubtitle": new StyledText({
422
+ "visible": true,
423
+ "text": "?sheetPlaceholderSubtitle",
424
+ "color": "?sbColorOnSurfaceVariant",
425
+ "useShadow": false
426
+ }),
427
+ "placeholderIconBackground": "?sbColorOutline",
428
+ "placeholderIcon": new IconStyle({
429
+ "visible": true,
430
+ "color": "?sbColorOnSurface"
431
+ }),
432
+ "swipeToDelete": new SwipeToDelete({
433
+ "enabled": true,
434
+ "backgroundColor": "?sbColorNegative",
435
+ "iconColor": "?sbColorOnPrimary"
436
+ })
437
+ });
438
+ */
439
439
  sheetContent: SheetContent;
440
440
  /**
441
- Configuration of the dialog to manually edit the barcode count.
442
- @defaultValue new ManualCountEditDialog({
443
- "sheetColor": "?sbColorSurface",
444
- "dividerColor": "?sbColorOutline",
445
- "modalOverlayColor": "?sbColorModalOverlay",
446
- "title": new StyledText({
447
- "text": "?manualCountEditDialogTitle",
448
- "color": "?sbColorOnSurface"
449
- }),
450
- "info": new StyledText({
451
- "text": "?manualCountEditDialogInfo",
452
- "color": "?sbColorOnSurfaceVariant"
453
- }),
454
- "updateButton": new ButtonConfiguration({
455
- "visible": true,
456
- "text": "?manualCountEditDialogUpdateButton",
457
- "background": new BackgroundStyle({
458
- "strokeColor": "?sbColorPrimary",
459
- "fillColor": "?sbColorPrimary",
460
- "strokeWidth": 1.0
461
- }),
462
- "foreground": new ForegroundStyle({
463
- "iconVisible": false,
464
- "color": "?sbColorOnPrimary",
465
- "useShadow": false
466
- })
467
- }),
468
- "cancelButton": new ButtonConfiguration({
469
- "visible": true,
470
- "text": "?manualCountEditDialogCancelButton",
471
- "background": new BackgroundStyle({
472
- "strokeColor": "#00000000",
473
- "fillColor": "#00000000",
474
- "strokeWidth": 1.0
475
- }),
476
- "foreground": new ForegroundStyle({
477
- "iconVisible": false,
478
- "color": "?sbColorPrimary",
479
- "useShadow": false
480
- })
481
- }),
482
- "clearTextButton": new IconStyle({
483
- "visible": true,
484
- "color": "?sbColorOnSurfaceVariant"
485
- })
486
- });
487
- */
441
+ Configuration of the dialog to manually edit the barcode count.
442
+ @defaultValue new ManualCountEditDialog({
443
+ "sheetColor": "?sbColorSurface",
444
+ "dividerColor": "?sbColorOutline",
445
+ "modalOverlayColor": "?sbColorModalOverlay",
446
+ "title": new StyledText({
447
+ "text": "?manualCountEditDialogTitle",
448
+ "color": "?sbColorOnSurface"
449
+ }),
450
+ "info": new StyledText({
451
+ "text": "?manualCountEditDialogInfo",
452
+ "color": "?sbColorOnSurfaceVariant"
453
+ }),
454
+ "updateButton": new ButtonConfiguration({
455
+ "visible": true,
456
+ "text": "?manualCountEditDialogUpdateButton",
457
+ "background": new BackgroundStyle({
458
+ "strokeColor": "?sbColorPrimary",
459
+ "fillColor": "?sbColorPrimary",
460
+ "strokeWidth": 1.0
461
+ }),
462
+ "foreground": new ForegroundStyle({
463
+ "iconVisible": false,
464
+ "color": "?sbColorOnPrimary",
465
+ "useShadow": false
466
+ })
467
+ }),
468
+ "cancelButton": new ButtonConfiguration({
469
+ "visible": true,
470
+ "text": "?manualCountEditDialogCancelButton",
471
+ "background": new BackgroundStyle({
472
+ "strokeColor": "#00000000",
473
+ "fillColor": "#00000000",
474
+ "strokeWidth": 1.0
475
+ }),
476
+ "foreground": new ForegroundStyle({
477
+ "iconVisible": false,
478
+ "color": "?sbColorPrimary",
479
+ "useShadow": false
480
+ })
481
+ }),
482
+ "clearTextButton": new IconStyle({
483
+ "visible": true,
484
+ "color": "?sbColorOnSurfaceVariant"
485
+ })
486
+ });
487
+ */
488
488
  manualCountEditDialog: ManualCountEditDialog;
489
489
  /**
490
- Appearance of the barcode info mapping.
491
- @defaultValue new BarcodeInfoMapping({
492
- "sheetColor": "?sbColorSurface",
493
- "dividerColor": "?sbColorOutline",
494
- "modalOverlayColor": "?sbColorModalOverlay",
495
- "loadingMessage": new StyledText({
496
- "text": "?barcodeInfoMappingLoadingMessage",
497
- "color": "?sbColorPrimary"
498
- }),
499
- "errorState": new BarcodeItemErrorState({
500
- "title": new StyledText({
501
- "text": "?barcodeInfoMappingErrorStateTitle",
502
- "color": "?sbColorOnSurface"
503
- }),
504
- "subtitle": new StyledText({
505
- "text": "?barcodeInfoMappingErrorStateSubtitle",
506
- "color": "?sbColorOnSurfaceVariant"
507
- }),
508
- "retryButton": new ButtonConfiguration({
509
- "visible": true,
510
- "text": "?barcodeInfoMappingErrorStateRetryButton",
511
- "background": new BackgroundStyle({
512
- "strokeColor": "?sbColorPrimary",
513
- "fillColor": "?sbColorPrimary",
514
- "strokeWidth": 1.0
515
- }),
516
- "foreground": new ForegroundStyle({
517
- "iconVisible": true,
518
- "color": "?sbColorOnPrimary",
519
- "useShadow": false
520
- })
521
- }),
522
- "cancelButton": new ButtonConfiguration({
523
- "visible": true,
524
- "text": "?barcodeInfoMappingErrorStateCancelButton",
525
- "background": new BackgroundStyle({
526
- "strokeColor": "#00000000",
527
- "fillColor": "#00000000",
528
- "strokeWidth": 1.0
529
- }),
530
- "foreground": new ForegroundStyle({
531
- "iconVisible": false,
532
- "color": "?sbColorPrimary",
533
- "useShadow": false
534
- })
535
- })
536
- })
537
- });
538
- */
490
+ Appearance of the barcode info mapping.
491
+ @defaultValue new BarcodeInfoMapping({
492
+ "sheetColor": "?sbColorSurface",
493
+ "dividerColor": "?sbColorOutline",
494
+ "modalOverlayColor": "?sbColorModalOverlay",
495
+ "loadingMessage": new StyledText({
496
+ "text": "?barcodeInfoMappingLoadingMessage",
497
+ "color": "?sbColorPrimary"
498
+ }),
499
+ "errorState": new BarcodeItemErrorState({
500
+ "title": new StyledText({
501
+ "text": "?barcodeInfoMappingErrorStateTitle",
502
+ "color": "?sbColorOnSurface"
503
+ }),
504
+ "subtitle": new StyledText({
505
+ "text": "?barcodeInfoMappingErrorStateSubtitle",
506
+ "color": "?sbColorOnSurfaceVariant"
507
+ }),
508
+ "retryButton": new ButtonConfiguration({
509
+ "visible": true,
510
+ "text": "?barcodeInfoMappingErrorStateRetryButton",
511
+ "background": new BackgroundStyle({
512
+ "strokeColor": "?sbColorPrimary",
513
+ "fillColor": "?sbColorPrimary",
514
+ "strokeWidth": 1.0
515
+ }),
516
+ "foreground": new ForegroundStyle({
517
+ "iconVisible": true,
518
+ "color": "?sbColorOnPrimary",
519
+ "useShadow": false
520
+ })
521
+ }),
522
+ "cancelButton": new ButtonConfiguration({
523
+ "visible": true,
524
+ "text": "?barcodeInfoMappingErrorStateCancelButton",
525
+ "background": new BackgroundStyle({
526
+ "strokeColor": "#00000000",
527
+ "fillColor": "#00000000",
528
+ "strokeWidth": 1.0
529
+ }),
530
+ "foreground": new ForegroundStyle({
531
+ "iconVisible": false,
532
+ "color": "?sbColorPrimary",
533
+ "useShadow": false
534
+ })
535
+ })
536
+ })
537
+ });
538
+ */
539
539
  barcodeInfoMapping: BarcodeInfoMapping;
540
540
  /**
541
- Configuration of the AR overlay.
542
- @defaultValue new ArOverlayGeneralConfiguration({
543
- "visible": false,
544
- "counterBadge": new BadgeStyle({
545
- "visible": true,
546
- "background": new BackgroundStyle({
547
- "strokeColor": "#FF000000",
548
- "fillColor": "?sbColorPositive",
549
- "strokeWidth": 0.0
550
- }),
551
- "foregroundColor": "?sbColorOnSurface"
552
- }),
553
- "automaticSelectionEnabled": false,
554
- "barcodeItemInfoPosition": "BELOW",
555
- "polygon": new ArOverlayPolygonConfiguration({
556
- "visible": true,
557
- "deselected": new PolygonStyle({
558
- "strokeColor": "?sbColorSurface",
559
- "fillColor": "#00000000",
560
- "strokeWidth": 3.0,
561
- "cornerRadius": 5.0
562
- }),
563
- "selected": new PolygonStyle({
564
- "strokeColor": "?sbColorPositive",
565
- "fillColor": "#00000000",
566
- "strokeWidth": 3.0,
567
- "cornerRadius": 5.0
568
- })
569
- }),
570
- "barcodeItemConfiguration": new BarcodeItemConfiguration({
571
- "imageVisible": true,
572
- "titleSelected": new StyledText({
573
- "text": "BARCODE_TITLE",
574
- "color": "?sbColorOnSurface"
575
- }),
576
- "subtitleSelected": new StyledText({
577
- "visible": true,
578
- "text": "BARCODE_SUBTITLE",
579
- "color": "?sbColorOnSurfaceVariant",
580
- "useShadow": false
581
- }),
582
- "titleDeselected": new StyledText({
583
- "visible": true,
584
- "text": "BARCODE_TITLE",
585
- "color": "?sbColorOnSurface",
586
- "useShadow": false
587
- }),
588
- "subtitleDeselected": new StyledText({
589
- "text": "BARCODE_SUBTITLE",
590
- "color": "?sbColorOnSurfaceVariant"
591
- }),
592
- "backgroundSelected": new PolygonStyle({
593
- "strokeColor": "?sbColorPositive",
594
- "fillColor": "?sbColorPositive",
595
- "strokeWidth": 1.0,
596
- "cornerRadius": 5.0
597
- }),
598
- "backgroundDeselected": new PolygonStyle({
599
- "strokeColor": "?sbColorSurface",
600
- "fillColor": "?sbColorSurface",
601
- "strokeWidth": 1.0,
602
- "cornerRadius": 5.0
603
- })
604
- })
605
- });
606
- */
541
+ Configuration of the AR overlay.
542
+ @defaultValue new ArOverlayGeneralConfiguration({
543
+ "visible": false,
544
+ "counterBadge": new BadgeStyle({
545
+ "visible": true,
546
+ "background": new BackgroundStyle({
547
+ "strokeColor": "#FF000000",
548
+ "fillColor": "?sbColorPositive",
549
+ "strokeWidth": 0.0
550
+ }),
551
+ "foregroundColor": "?sbColorOnSurface"
552
+ }),
553
+ "automaticSelectionEnabled": false,
554
+ "barcodeItemInfoPosition": "BELOW",
555
+ "polygon": new ArOverlayPolygonConfiguration({
556
+ "visible": true,
557
+ "deselected": new PolygonStyle({
558
+ "strokeColor": "?sbColorSurface",
559
+ "fillColor": "#00000000",
560
+ "strokeWidth": 3.0,
561
+ "cornerRadius": 5.0
562
+ }),
563
+ "selected": new PolygonStyle({
564
+ "strokeColor": "?sbColorPositive",
565
+ "fillColor": "#00000000",
566
+ "strokeWidth": 3.0,
567
+ "cornerRadius": 5.0
568
+ })
569
+ }),
570
+ "barcodeItemConfiguration": new BarcodeItemConfiguration({
571
+ "imageVisible": true,
572
+ "titleSelected": new StyledText({
573
+ "text": "BARCODE_TITLE",
574
+ "color": "?sbColorOnSurface"
575
+ }),
576
+ "subtitleSelected": new StyledText({
577
+ "visible": true,
578
+ "text": "BARCODE_SUBTITLE",
579
+ "color": "?sbColorOnSurfaceVariant",
580
+ "useShadow": false
581
+ }),
582
+ "titleDeselected": new StyledText({
583
+ "visible": true,
584
+ "text": "BARCODE_TITLE",
585
+ "color": "?sbColorOnSurface",
586
+ "useShadow": false
587
+ }),
588
+ "subtitleDeselected": new StyledText({
589
+ "text": "BARCODE_SUBTITLE",
590
+ "color": "?sbColorOnSurfaceVariant"
591
+ }),
592
+ "backgroundSelected": new PolygonStyle({
593
+ "strokeColor": "?sbColorPositive",
594
+ "fillColor": "?sbColorPositive",
595
+ "strokeWidth": 1.0,
596
+ "cornerRadius": 5.0
597
+ }),
598
+ "backgroundDeselected": new PolygonStyle({
599
+ "strokeColor": "?sbColorSurface",
600
+ "fillColor": "?sbColorSurface",
601
+ "strokeWidth": 1.0,
602
+ "cornerRadius": 5.0
603
+ })
604
+ })
605
+ });
606
+ */
607
607
  arOverlay: ArOverlayGeneralConfiguration;
608
608
  /** @param source {@displayType `DeepPartial<MultipleScanningMode>`} */
609
609
  constructor(source?: DeepPartial<MultipleScanningMode>);