scanbot-web-sdk 6.0.0-dev.6 → 7.0.0-dev.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.
- package/@types/barcode-scanner-view.d.ts +1 -1
- package/@types/core/bridge/compiled/{BarcodeConfigs.d.ts → BarcodeConfigurationTypes.d.ts} +558 -173
- package/@types/core/bridge/compiled/BarcodeDocumentTypes.d.ts +14 -13
- package/@types/core/bridge/compiled/BarcodeScannerTypes.d.ts +25 -14
- package/@types/core/bridge/compiled/BarcodeTypes.d.ts +58 -56
- package/@types/core/bridge/compiled/CheckScannerTypes.d.ts +67 -0
- package/@types/core/bridge/compiled/CommonFieldType.d.ts +29 -28
- package/@types/core/bridge/compiled/CreditCardTypes.d.ts +35 -33
- package/@types/core/bridge/compiled/DocumentDataExtractorConfigurationTypes.d.ts +148 -0
- package/@types/core/bridge/compiled/DocumentDataExtractorTypes.d.ts +90 -0
- package/@types/core/bridge/compiled/DocumentQualityAnalyzerTypes.d.ts +28 -23
- package/@types/core/bridge/compiled/{DocumentDetectorTypes.d.ts → DocumentScannerTypes.d.ts} +49 -47
- package/@types/core/bridge/compiled/{EhicTypes.d.ts → EuropeanHealthInsuranceCardTypes.d.ts} +51 -108
- package/@types/core/bridge/compiled/FrameAccumulationTypes.d.ts +37 -14
- package/@types/core/bridge/compiled/GenericDocument.d.ts +17 -17
- package/@types/core/bridge/compiled/Geometry.d.ts +2 -2
- package/@types/core/bridge/compiled/ImageTypes.d.ts +1 -0
- package/@types/core/bridge/compiled/LicensePlateScannerTypes.d.ts +20 -19
- package/@types/core/bridge/compiled/MedicalCertificateTypes.d.ts +108 -105
- package/@types/core/bridge/compiled/MrzTypes.d.ts +73 -0
- package/@types/core/bridge/compiled/ParametricFilters.d.ts +4 -3
- package/@types/core/bridge/compiled/{PdfConfig.d.ts → PdfConfigurationTypes.d.ts} +48 -45
- package/@types/core/bridge/compiled/{GenericTextLineScannerTypes.d.ts → TextPatternScannerTypes.d.ts} +23 -22
- package/@types/core/bridge/compiled/TiffTypes.d.ts +48 -50
- package/@types/core/bridge/worker-bridge.d.ts +488 -364
- package/@types/core/worker/ScanbotSDK.Core.d.ts +21 -21
- package/@types/core-types.d.ts +10 -12
- package/@types/cropping-view.d.ts +8 -4
- package/@types/document-data-extractor-view.d.ts +22 -0
- package/@types/document-scanner-view.d.ts +16 -7
- package/@types/index.d.ts +36 -23
- package/@types/interfaces/i-cropping-view-handle.d.ts +2 -0
- package/@types/interfaces/i-document-data-extractor-scanner-handle.d.ts +3 -0
- package/@types/interfaces/{i-text-data-scanner-handle.d.ts → i-text-pattern-scanner-handle.d.ts} +1 -1
- package/@types/model/configuration/barcode-scanner-configuration.d.ts +1 -0
- package/@types/model/configuration/cropping-view-configuration.d.ts +1 -0
- package/@types/model/configuration/document-data-extractor-configuration.d.ts +9 -0
- package/@types/model/configuration/document-scanner-configuration.d.ts +8 -4
- package/@types/model/configuration/initialization-options.d.ts +1 -2
- package/@types/model/configuration/mrz-scanner-configuration.d.ts +4 -4
- package/@types/model/configuration/selection-overlay-configuration.d.ts +5 -0
- package/@types/model/configuration/text-pattern-scanner-configuration.d.ts +9 -0
- package/@types/model/configuration/view-finder-scanner-configuration.d.ts +2 -1
- package/@types/model/configuration/vin-scanner-configuration.d.ts +3 -3
- package/@types/scanbot-sdk.d.ts +269 -205
- package/@types/scanner-view.d.ts +2 -0
- package/@types/service/document-data-extractor.d.ts +13 -0
- package/@types/service/ocr-engine.d.ts +3 -3
- package/@types/service/pdf-generator.d.ts +6 -1
- package/@types/service/simple-mrz-recognizer.d.ts +4 -4
- package/@types/service/storage/indexed-db/sb-indexed-db.d.ts +60 -0
- package/@types/service/storage/local/sb-local-storage.d.ts +11 -0
- package/@types/service/storage/sb-storage.d.ts +33 -0
- package/@types/service/storage/utils/create-worker-vite.d.ts +1 -0
- package/@types/service/storage/utils/create-worker.d.ts +1 -0
- package/@types/service/storage/utils/sb-storage-error.d.ts +5 -0
- package/@types/service/storage/utils/sb-storage-utils.d.ts +10 -0
- package/@types/service/text-pattern-scanner.d.ts +14 -0
- package/@types/service/tiff-generator.d.ts +7 -4
- package/@types/{text-data-scanner-view.d.ts → text-pattern-scanner-view.d.ts} +9 -9
- package/@types/ui2/{controllers → barcode/controllers}/barcode-scanner-controller.d.ts +1 -1
- package/@types/ui2/{controllers → barcode/controllers}/multiple-scanning-mode-controller.d.ts +1 -1
- package/@types/ui2/{controllers → barcode/controllers}/single-scanning-mode-controller.d.ts +1 -1
- package/@types/ui2/{model → barcode/model}/counted-barcodes.d.ts +2 -2
- package/@types/ui2/{utils → barcode/utils}/barcode-mapper/expected-barcode-mapper.d.ts +2 -2
- package/@types/ui2/{utils → barcode/utils}/barcode-mapper/i-barcode-mapper.d.ts +2 -2
- package/@types/ui2/{utils → barcode/utils}/barcode-mapper/user-barcode-mapper.d.ts +1 -1
- package/@types/ui2/{utils → barcode/utils}/camera-config.d.ts +2 -2
- package/@types/ui2/{utils → barcode/utils}/styled-badge.d.ts +3 -1
- package/@types/ui2/{utils → barcode/utils}/styled-box.d.ts +1 -1
- package/@types/ui2/barcode/utils/styled-button.d.ts +14 -0
- package/@types/ui2/{utils → barcode/utils}/useScanningViewSize.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/action-button/action-button-container.d.ts +3 -3
- package/@types/ui2/{views → barcode/views}/action-button/action-button.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/ar/ar-badge.d.ts +2 -2
- package/@types/ui2/{views → barcode/views}/ar/ar-overlay-barcode-info.d.ts +2 -2
- package/@types/ui2/{views → barcode/views}/ar/vertical-positions.d.ts +2 -2
- package/@types/ui2/{views → barcode/views}/barcode-info/barcode-info.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/barcode-scanner.d.ts +8 -8
- package/@types/ui2/{views → barcode/views}/camera-permission-denied.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/dialog/barcode-info-dialog.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/dialog/barcode-mapping-error-dialog.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/dialog/base/confirmation-dialog.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/dialog/base/styled-dialog.d.ts +1 -0
- package/@types/ui2/{views → barcode/views}/dialog/count-edit-dialog.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/dialog/find-and-pick-submit-dialog.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/drawer/barcode-result-drawer.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/drawer/barcode-result-sidebar.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/drawer/counting-button.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/drawer/hooks/use-drag-listener.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/drawer/subviews/barcode-drawer-empty-state.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/drawer/subviews/barcode-list-item.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/drawer/subviews/barcode-list.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/drawer/subviews/drawer-header-content.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/drawer/subviews/swipe-underlay.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/form/dialog-button.d.ts +4 -1
- package/@types/ui2/{views → barcode/views}/navigation-bar.d.ts +1 -1
- package/@types/ui2/{views → barcode/views}/styled-text.d.ts +2 -1
- package/@types/ui2/configuration/DocumentQualityAnalyzerTypes.d.ts +1 -0
- package/@types/ui2/configuration/DocumentScannerTypes.d.ts +1 -0
- package/@types/ui2/configuration/Geometry.d.ts +1 -1
- package/@types/ui2/configuration/ParametricFilters.d.ts +1 -0
- package/@types/ui2/configuration/{ActionBarConfiguration.d.ts → barcode/ActionBarConfiguration.d.ts} +1 -1
- package/@types/ui2/configuration/{ArTrackingOverlayConfiguration.d.ts → barcode/ArTrackingOverlayConfiguration.d.ts} +1 -1
- package/@types/ui2/configuration/{BarcodeInfoMapping.d.ts → barcode/BarcodeInfoMapping.d.ts} +1 -1
- package/@types/ui2/configuration/{BarcodeRecognizerConfiguration.d.ts → barcode/BarcodeRecognizerConfiguration.d.ts} +3 -3
- package/@types/ui2/configuration/{BarcodeScannerConfiguration.d.ts → barcode/BarcodeScannerConfiguration.d.ts} +1 -1
- package/@types/ui2/configuration/barcode/BarcodeScannerTypes.d.ts +2 -0
- package/@types/ui2/configuration/{BarcodeScannerUIResult.d.ts → barcode/BarcodeScannerUIResult.d.ts} +1 -1
- package/@types/ui2/configuration/{BarcodeTextLocalization.d.ts → barcode/BarcodeTextLocalization.d.ts} +1 -1
- package/@types/ui2/configuration/barcode/BarcodeTypes.d.ts +1 -0
- package/@types/ui2/configuration/{CameraConfiguration.d.ts → barcode/CameraConfiguration.d.ts} +1 -1
- package/@types/ui2/configuration/{CameraPermission.d.ts → barcode/CameraPermission.d.ts} +1 -1
- package/@types/ui2/configuration/{Common.d.ts → barcode/Common.d.ts} +1 -1
- package/@types/ui2/configuration/barcode/CommonFieldType.d.ts +1 -0
- package/@types/ui2/configuration/{FindAndPickScanningModeUseCase.d.ts → barcode/FindAndPickScanningModeUseCase.d.ts} +1 -1
- package/@types/ui2/configuration/barcode/GenericDocument.d.ts +1 -0
- package/@types/ui2/configuration/barcode/Geometry.d.ts +1 -0
- package/@types/ui2/configuration/{MultipleScanningModeUseCase.d.ts → barcode/MultipleScanningModeUseCase.d.ts} +1 -1
- package/@types/ui2/configuration/{ScanbotAlertDialog.d.ts → barcode/ScanbotAlertDialog.d.ts} +1 -1
- package/@types/ui2/configuration/{SingleScanningModeUseCase.d.ts → barcode/SingleScanningModeUseCase.d.ts} +1 -1
- package/@types/ui2/configuration/{TopBarConfiguration.d.ts → barcode/TopBarConfiguration.d.ts} +1 -1
- package/@types/ui2/configuration/{UserGuidanceConfiguration.d.ts → barcode/UserGuidanceConfiguration.d.ts} +1 -1
- package/@types/ui2/configuration/{ViewFinderConfiguration.d.ts → barcode/ViewFinderConfiguration.d.ts} +1 -1
- package/@types/ui2/configuration/common/ActionBarConfiguration.d.ts +42 -0
- package/@types/ui2/configuration/common/CameraConfiguration.d.ts +60 -0
- package/@types/ui2/configuration/common/CameraPermission.d.ts +62 -0
- package/@types/ui2/configuration/common/Common.d.ts +467 -0
- package/@types/ui2/configuration/common/NavigationBarConfiguration.d.ts +11 -0
- package/@types/ui2/configuration/common/ScanbotAlertDialog.d.ts +74 -0
- package/@types/ui2/configuration/common/TopBarConfiguration.d.ts +55 -0
- package/@types/ui2/configuration/common/UserGuidanceConfiguration.d.ts +64 -0
- package/@types/ui2/configuration/common/ViewFinderConfiguration.d.ts +93 -0
- package/@types/ui2/configuration/document/AcknowledgementScreenConfiguration.d.ts +125 -0
- package/@types/ui2/configuration/document/CameraScreenConfiguration.d.ts +659 -0
- package/@types/ui2/configuration/document/CroppingConfiguration.d.ts +1 -0
- package/@types/ui2/configuration/document/CroppingResult.d.ts +1 -0
- package/@types/ui2/configuration/document/CroppingScreenConfiguration.d.ts +141 -0
- package/@types/ui2/configuration/document/CroppingTextLocalization.d.ts +1 -0
- package/@types/ui2/configuration/document/DocumentScannerCameraConfiguration.d.ts +60 -0
- package/@types/ui2/configuration/document/DocumentScannerGuidanceVisibility.d.ts +11 -0
- package/@types/ui2/configuration/document/DocumentScannerOutputSettings.d.ts +38 -0
- package/@types/ui2/configuration/document/DocumentScannerScreens.d.ts +26 -0
- package/@types/ui2/configuration/document/DocumentScannerTextLocalization.d.ts +608 -0
- package/@types/ui2/configuration/document/DocumentScannerUIResult.d.ts +5 -0
- package/@types/ui2/configuration/document/DocumentScannerUserGuidance.d.ts +99 -0
- package/@types/ui2/configuration/document/DocumentScanningFlow.d.ts +91 -0
- package/@types/ui2/configuration/document/IntroductionScreenConfiguration.d.ts +188 -0
- package/@types/ui2/configuration/document/ReorderPagesScreenConfiguration.d.ts +1 -0
- package/@types/ui2/configuration/document/ReviewScreenConfiguration.d.ts +372 -0
- package/@types/ui2/configuration/native/DocumentData.d.ts +37 -0
- package/@types/ui2/configuration/native/PageData.d.ts +58 -0
- package/@types/ui2/configuration/native/PageImageSource.d.ts +13 -0
- package/@types/ui2/configuration/utils.d.ts +8 -0
- package/@types/ui2/configuration.d.ts +46 -21
- package/@types/ui2/document/assets/auto-capture-disabled-icon.d.ts +4 -0
- package/@types/ui2/document/assets/auto-capture-icon.d.ts +4 -0
- package/@types/ui2/document/assets/captured-circle-icon.d.ts +5 -0
- package/@types/ui2/document/assets/delete-icon.d.ts +4 -0
- package/@types/ui2/document/assets/file-add-icon.d.ts +4 -0
- package/@types/ui2/document/assets/image-error-icon.d.ts +5 -0
- package/@types/ui2/document/assets/image-retake.d.ts +4 -0
- package/@types/ui2/document/assets/loading-spinner-icon.d.ts +2 -0
- package/@types/ui2/document/assets/shutter-button-auto-icon.d.ts +4 -0
- package/@types/ui2/document/assets/shutter-button-manual-icon.d.ts +5 -0
- package/@types/ui2/document/assets/shutter-button-spinner-icon.d.ts +4 -0
- package/@types/ui2/document/assets/the-hand.d.ts +10 -0
- package/@types/ui2/document/controller/acknowledgment-screen-controller.d.ts +16 -0
- package/@types/ui2/document/controller/camera-screen-controller.d.ts +20 -0
- package/@types/ui2/document/controller/cropping-screen-controller.d.ts +14 -0
- package/@types/ui2/document/controller/document-scanner-controller.d.ts +14 -0
- package/@types/ui2/document/controller/review-screen-controller.d.ts +18 -0
- package/@types/ui2/document/controller/zoom-screen-controller.d.ts +11 -0
- package/@types/ui2/document/model/document-detection-ui-result.d.ts +8 -0
- package/@types/ui2/document/model/sb-document.d.ts +62 -0
- package/@types/ui2/document/model/sb-page.d.ts +38 -0
- package/@types/ui2/document/model/utils/sb-document-data.d.ts +10 -0
- package/@types/ui2/document/model/utils/sb-page-data.d.ts +7 -0
- package/@types/ui2/document/utils/SBThemeProvider.d.ts +4 -0
- package/@types/ui2/document/utils/button-accessibility-styling.d.ts +40 -0
- package/@types/ui2/document/views/acknowledgement-screen/acknowledgement-confirmation.d.ts +19 -0
- package/@types/ui2/document/views/acknowledgement-screen/acknowledgement-fade.d.ts +9 -0
- package/@types/ui2/document/views/acknowledgement-screen/acknowledgement-image.d.ts +7 -0
- package/@types/ui2/document/views/acknowledgement-screen/acknowledgement-screen-bottom-bar.d.ts +12 -0
- package/@types/ui2/document/views/acknowledgement-screen/quality-insufficient-banner.d.ts +10 -0
- package/@types/ui2/document/views/camera-screen/bottom-bar.d.ts +33 -0
- package/@types/ui2/document/views/camera-screen/camera-permission-denied.d.ts +9 -0
- package/@types/ui2/document/views/camera-screen/camera-select-dropdown.d.ts +14 -0
- package/@types/ui2/document/views/camera-screen/introduction/assets/CheckIcon.d.ts +3 -0
- package/@types/ui2/document/views/camera-screen/introduction/assets/CreditCardsIcon.d.ts +3 -0
- package/@types/ui2/document/views/camera-screen/introduction/assets/DocumentsIcon.d.ts +3 -0
- package/@types/ui2/document/views/camera-screen/introduction/assets/IdCardsIcon.d.ts +3 -0
- package/@types/ui2/document/views/camera-screen/introduction/assets/MedicalCertsIcon.d.ts +3 -0
- package/@types/ui2/document/views/camera-screen/introduction/assets/Props.d.ts +3 -0
- package/@types/ui2/document/views/camera-screen/introduction/assets/ReceiptsIcon.d.ts +3 -0
- package/@types/ui2/document/views/camera-screen/introduction/introduction-image.d.ts +5 -0
- package/@types/ui2/document/views/camera-screen/introduction/introduction.d.ts +9 -0
- package/@types/ui2/document/views/camera-screen/preview-button.d.ts +11 -0
- package/@types/ui2/document/views/camera-screen/scanner-box.d.ts +21 -0
- package/@types/ui2/document/views/camera-screen/shutter-button.d.ts +10 -0
- package/@types/ui2/document/views/camera-screen/top-bar.d.ts +11 -0
- package/@types/ui2/document/views/camera-screen/top-user-guidance.d.ts +8 -0
- package/@types/ui2/document/views/camera-screen/use-document-scanner-view.d.ts +31 -0
- package/@types/ui2/document/views/camera-screen/user-guidance-text.d.ts +10 -0
- package/@types/ui2/document/views/common/alert-dialog.d.ts +11 -0
- package/@types/ui2/document/views/common/bar-button.d.ts +17 -0
- package/@types/ui2/document/views/common/common-top-bar.d.ts +12 -0
- package/@types/ui2/document/views/common/loading-spinner.d.ts +4 -0
- package/@types/ui2/document/views/common/styled-menu-item.d.ts +12 -0
- package/@types/ui2/document/views/common/styled-menu.d.ts +17 -0
- package/@types/ui2/document/views/review-screen/bottom-bar.d.ts +15 -0
- package/@types/ui2/document/views/review-screen/carousel-page.d.ts +13 -0
- package/@types/ui2/document/views/review-screen/carousel.d.ts +14 -0
- package/@types/ui2/document/views/review-screen/page-counter-and-zoom-button.d.ts +10 -0
- package/@types/ui2/document/views/review-screen/scroller-navigation-button.d.ts +11 -0
- package/@types/ui2/document/views/review-screen/top-bar.d.ts +11 -0
- package/@types/ui2/scanbot-sdk-ui.d.ts +4 -0
- package/@types/ui2/scanbot-ui-library.d.ts +7 -4
- package/@types/ui2/utils/text-styling.d.ts +8 -0
- package/@types/ui2/utils/use-time-since-first-render-has-passed.d.ts +1 -0
- package/@types/utils/constants.d.ts +0 -2
- package/@types/utils/dto/Frame.d.ts +2 -0
- package/@types/utils/image-utils.d.ts +1 -1
- package/@types/utils/parse-color.d.ts +9 -0
- package/@types/utils/react/useIsMounted.d.ts +2 -0
- package/@types/utils/react/usePromise.d.ts +4 -3
- package/@types/utils/supported-image-mime-types.d.ts +2 -0
- package/@types/utils/view-utils.d.ts +1 -1
- package/@types/view/barcode-polygon/animated-barcode-selection-overlay.d.ts +8 -2
- package/@types/view/polygon/document-polygon.d.ts +1 -0
- package/@types/worker/worker-bridge.d.ts +498 -374
- package/Libraries.txt +1510 -36
- package/bundle/ScanbotSDK.min.js +4 -4
- package/bundle/ScanbotSDK.ui2.min.js +18 -18
- package/bundle/ScanbotSDK.ui2.min.js.LICENSE.txt +10 -0
- package/bundle/bin/barcode-scanner/ScanbotSDK.Asm-simd-threads.js +1 -1
- package/bundle/bin/barcode-scanner/ScanbotSDK.Asm-simd-threads.wasm +0 -0
- package/bundle/bin/barcode-scanner/ScanbotSDK.Asm-simd.wasm +0 -0
- package/bundle/bin/barcode-scanner/ScanbotSDK.Asm.wasm +0 -0
- package/bundle/bin/barcode-scanner/ScanbotSDK.Core-simd-threads.js +1 -1
- package/bundle/bin/barcode-scanner/ScanbotSDK.Core-simd.js +1 -1
- package/bundle/bin/barcode-scanner/ScanbotSDK.Core.js +1 -1
- package/bundle/bin/complete/ScanbotSDK.Asm-simd-threads.js +1 -1
- package/bundle/bin/complete/ScanbotSDK.Asm-simd-threads.wasm +0 -0
- package/bundle/bin/complete/ScanbotSDK.Asm-simd.wasm +0 -0
- package/bundle/bin/complete/ScanbotSDK.Asm.wasm +0 -0
- package/bundle/bin/complete/ScanbotSDK.Core-simd-threads.js +1 -1
- package/bundle/bin/complete/ScanbotSDK.Core-simd.js +1 -1
- package/bundle/bin/complete/ScanbotSDK.Core.js +1 -1
- package/bundle/bin/document-scanner/ScanbotSDK.Asm-simd-threads.js +1 -1
- package/bundle/bin/document-scanner/ScanbotSDK.Asm-simd-threads.wasm +0 -0
- package/bundle/bin/document-scanner/ScanbotSDK.Asm-simd.wasm +0 -0
- package/bundle/bin/document-scanner/ScanbotSDK.Asm.wasm +0 -0
- package/bundle/bin/document-scanner/ScanbotSDK.Core-simd-threads.js +1 -1
- package/bundle/bin/document-scanner/ScanbotSDK.Core-simd.js +1 -1
- package/bundle/bin/document-scanner/ScanbotSDK.Core.js +1 -1
- package/package.json +3 -3
- package/@types/core/bridge/compiled/CheckRecognizerTypes.d.ts +0 -29
- package/@types/core/bridge/compiled/FrameUtilities.d.ts +0 -18
- package/@types/core/bridge/compiled/GDRTypes.d.ts +0 -38
- package/@types/core/bridge/compiled/GenericDocumentRecognizerConfigs.d.ts +0 -150
- package/@types/core/bridge/compiled/GenericDocumentRecognizerTypes.d.ts +0 -83
- package/@types/core/bridge/compiled/GenericDocumentTypes.d.ts +0 -15
- package/@types/core/bridge/compiled/MRZTypes.d.ts +0 -52
- package/@types/generic-document-recognizer-view.d.ts +0 -22
- package/@types/interfaces/i-generic-document-recognizer-scanner-handle.d.ts +0 -3
- package/@types/model/configuration/generic-document-recognizer-configuration.d.ts +0 -9
- package/@types/model/configuration/text-data-scanner-configuration.d.ts +0 -9
- package/@types/service/generic-document-recognizer.d.ts +0 -13
- package/@types/service/text-data-recognizer.d.ts +0 -14
- package/@types/ui2/configuration/BarcodeScannerTypes.d.ts +0 -1
- package/@types/ui2/configuration/BarcodeTypes.d.ts +0 -1
- package/@types/ui2/configuration/CommonFieldType.d.ts +0 -1
- package/@types/ui2/configuration/GenericDocument.d.ts +0 -1
- package/@types/ui2/utils/styled-button.d.ts +0 -7
- /package/@types/core/bridge/compiled/{OcrElements.d.ts → OcrTypes.d.ts} +0 -0
- /package/@types/ui2/{utils → barcode/utils}/find-and-pick.ts/expected-barcode-counter.d.ts +0 -0
- /package/@types/ui2/{utils → barcode/utils}/styled-input.d.ts +0 -0
- /package/@types/ui2/{views → barcode/views}/drawer/subviews/barcode-drawer-header.d.ts +0 -0
- /package/@types/ui2/configuration/{BarcodeItemMapper.d.ts → barcode/BarcodeItemMapper.d.ts} +0 -0
- /package/@types/ui2/configuration/{BarcodeUseCase.d.ts → barcode/BarcodeUseCase.d.ts} +0 -0
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { BackgroundStyle } from "../common/Common";
|
|
2
|
+
import { DeepPartial, PartiallyConstructible } from "../utils";
|
|
3
|
+
import { StyledText } from "../common/Common";
|
|
4
|
+
import { UserGuidanceVisibility } from "../document/DocumentScannerGuidanceVisibility";
|
|
5
|
+
/**
|
|
6
|
+
Configure the titles of the user guidance hints for different states.
|
|
7
|
+
*/
|
|
8
|
+
export declare class UserGuidanceStates extends PartiallyConstructible {
|
|
9
|
+
/**
|
|
10
|
+
The user guidance text displayed when no document is found.
|
|
11
|
+
@defaultValue "?cameraUserGuidanceNoDocumentFound";
|
|
12
|
+
*/
|
|
13
|
+
noDocumentFound: string;
|
|
14
|
+
/**
|
|
15
|
+
The user guidance text displayed when a landscape document is detected when the camera is in portrait mode (and vice versa).
|
|
16
|
+
@defaultValue "?cameraUserGuidanceBadAspectRatio";
|
|
17
|
+
*/
|
|
18
|
+
badAspectRatio: string;
|
|
19
|
+
/**
|
|
20
|
+
The user guidance text displayed when the document pitch/skew angle is unacceptable.
|
|
21
|
+
@defaultValue "?cameraUserGuidanceBadAngles";
|
|
22
|
+
*/
|
|
23
|
+
badAngles: string;
|
|
24
|
+
/**
|
|
25
|
+
The user guidance text displayed when the document is not centered in the finder view.
|
|
26
|
+
@defaultValue "?cameraUserGuidanceTextHintOffCenter";
|
|
27
|
+
*/
|
|
28
|
+
textHintOffCenter: string;
|
|
29
|
+
/**
|
|
30
|
+
The user guidance text displayed when the document is too far from camera.
|
|
31
|
+
@defaultValue "?cameraUserGuidanceTooSmall";
|
|
32
|
+
*/
|
|
33
|
+
tooSmall: string;
|
|
34
|
+
/**
|
|
35
|
+
The user guidance text displayed when the background is too noisy.
|
|
36
|
+
@defaultValue "?cameraUserGuidanceTooNoisy";
|
|
37
|
+
*/
|
|
38
|
+
tooNoisy: string;
|
|
39
|
+
/**
|
|
40
|
+
The user guidance text displayed when it is too dark to capture an adequate image.
|
|
41
|
+
@defaultValue "?cameraUserGuidanceTooDark";
|
|
42
|
+
*/
|
|
43
|
+
tooDark: string;
|
|
44
|
+
/**
|
|
45
|
+
The user guidance text displayed when the device is in energy saving mode. iOS only.
|
|
46
|
+
@defaultValue "?cameraUserGuidanceEnergySaveMode";
|
|
47
|
+
*/
|
|
48
|
+
energySaveMode: string;
|
|
49
|
+
/**
|
|
50
|
+
The user guidance text displayed when the document is ready to be captured in 'auto snapping' mode.
|
|
51
|
+
@defaultValue "?cameraUserGuidanceReadyToCapture";
|
|
52
|
+
*/
|
|
53
|
+
readyToCapture: string;
|
|
54
|
+
/**
|
|
55
|
+
The user guidance text displayed when the document is being captured and user needs to hold the device still.
|
|
56
|
+
@defaultValue "?cameraUserGuidanceReadyToCapture";
|
|
57
|
+
*/
|
|
58
|
+
capturing: string;
|
|
59
|
+
/**
|
|
60
|
+
The user guidance text displayed when the document is ready to be captured in 'manual snapping' mode.
|
|
61
|
+
@defaultValue "?cameraUserGuidanceReadyToCaptureManual";
|
|
62
|
+
*/
|
|
63
|
+
captureManual: string;
|
|
64
|
+
/** @param source {@displayType `DeepPartial<UserGuidanceStates>`} */
|
|
65
|
+
constructor(source?: DeepPartial<UserGuidanceStates>);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
Configuration of the hints guiding users through the scanning process.
|
|
69
|
+
*/
|
|
70
|
+
export declare class DocumentScannerUserGuidance extends PartiallyConstructible {
|
|
71
|
+
/**
|
|
72
|
+
Determines when the user guidance hints should be visible.
|
|
73
|
+
@defaultValue "ENABLED";
|
|
74
|
+
*/
|
|
75
|
+
visibility: UserGuidanceVisibility;
|
|
76
|
+
/**
|
|
77
|
+
Configure the text style for the user guidance hints.
|
|
78
|
+
@defaultValue new StyledText({
|
|
79
|
+
"text": "?cameraUserGuidanceStart",
|
|
80
|
+
"color": "?sbColorOnPrimary"
|
|
81
|
+
});
|
|
82
|
+
*/
|
|
83
|
+
title: StyledText;
|
|
84
|
+
/**
|
|
85
|
+
Configure the background style for the user guidance hints.
|
|
86
|
+
@defaultValue new BackgroundStyle({
|
|
87
|
+
"strokeColor": "#00000000",
|
|
88
|
+
"fillColor": "?sbColorSurfaceHigh"
|
|
89
|
+
});
|
|
90
|
+
*/
|
|
91
|
+
background: BackgroundStyle;
|
|
92
|
+
/**
|
|
93
|
+
Configure the titles of the user guidance hints for different states.
|
|
94
|
+
@defaultValue new UserGuidanceStates({});
|
|
95
|
+
*/
|
|
96
|
+
statesTitles: UserGuidanceStates;
|
|
97
|
+
/** @param source {@displayType `DeepPartial<DocumentScannerUserGuidance>`} */
|
|
98
|
+
constructor(source?: DeepPartial<DocumentScannerUserGuidance>);
|
|
99
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { DeepPartial, PartiallyConstructible } from "../utils";
|
|
2
|
+
import { DocumentScannerOutputSettings } from "../document/DocumentScannerOutputSettings";
|
|
3
|
+
import { DocumentScannerScreens } from "../document/DocumentScannerScreens";
|
|
4
|
+
import { DocumentScannerTextLocalization } from "../document/DocumentScannerTextLocalization";
|
|
5
|
+
import { Palette } from "../common/Common";
|
|
6
|
+
/**
|
|
7
|
+
Configuration of the general appearance.
|
|
8
|
+
*/
|
|
9
|
+
export declare class DocumentFlowAppearanceConfiguration extends PartiallyConstructible {
|
|
10
|
+
/**
|
|
11
|
+
The background color of the top bar. Only applicable when the visual mode is specified as 'SOLID', otherwise ignored.
|
|
12
|
+
@defaultValue "?sbColorPrimary";
|
|
13
|
+
*/
|
|
14
|
+
topBarBackgroundColor: string;
|
|
15
|
+
/**
|
|
16
|
+
The background color of the bottom bar.
|
|
17
|
+
@defaultValue "?sbColorPrimary";
|
|
18
|
+
*/
|
|
19
|
+
bottomBarBackgroundColor: string;
|
|
20
|
+
/** @param source {@displayType `DeepPartial<DocumentFlowAppearanceConfiguration>`} */
|
|
21
|
+
constructor(source?: DeepPartial<DocumentFlowAppearanceConfiguration>);
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
Configuration of the document scanner screen.
|
|
25
|
+
*/
|
|
26
|
+
export declare class DocumentScanningFlow extends PartiallyConstructible {
|
|
27
|
+
/**
|
|
28
|
+
Version number of the configuration object.
|
|
29
|
+
@defaultValue "1.0";
|
|
30
|
+
*/
|
|
31
|
+
version: string;
|
|
32
|
+
/**
|
|
33
|
+
The configuration object should be applied for this screen.
|
|
34
|
+
@defaultValue "DocumentScanner";
|
|
35
|
+
*/
|
|
36
|
+
screen: string;
|
|
37
|
+
/**
|
|
38
|
+
Define the screen's base color values from which other colors are derived.
|
|
39
|
+
@defaultValue new Palette({
|
|
40
|
+
"sbColorPrimary": "#C8193C",
|
|
41
|
+
"sbColorPrimaryDisabled": "#F5F5F5",
|
|
42
|
+
"sbColorNegative": "#FF3737",
|
|
43
|
+
"sbColorPositive": "#4EFFB4",
|
|
44
|
+
"sbColorWarning": "#FFCE5C",
|
|
45
|
+
"sbColorSecondary": "#FFEDEE",
|
|
46
|
+
"sbColorSecondaryDisabled": "#F5F5F5",
|
|
47
|
+
"sbColorOnPrimary": "#FFFFFF",
|
|
48
|
+
"sbColorOnSecondary": "#C8193C",
|
|
49
|
+
"sbColorSurface": "#FFFFFF",
|
|
50
|
+
"sbColorOutline": "#EFEFEF",
|
|
51
|
+
"sbColorOnSurfaceVariant": "#707070",
|
|
52
|
+
"sbColorOnSurface": "#000000",
|
|
53
|
+
"sbColorSurfaceLow": "#00000026",
|
|
54
|
+
"sbColorSurfaceHigh": "#0000007A",
|
|
55
|
+
"sbColorModalOverlay": "#000000A3"
|
|
56
|
+
});
|
|
57
|
+
*/
|
|
58
|
+
palette: Palette;
|
|
59
|
+
/**
|
|
60
|
+
Configuration of all the strings for the document scanner screen.
|
|
61
|
+
@defaultValue new DocumentScannerTextLocalization({});
|
|
62
|
+
*/
|
|
63
|
+
localization: DocumentScannerTextLocalization;
|
|
64
|
+
/**
|
|
65
|
+
Configuration of the general appearance.
|
|
66
|
+
@defaultValue new DocumentFlowAppearanceConfiguration({});
|
|
67
|
+
*/
|
|
68
|
+
appearance: DocumentFlowAppearanceConfiguration;
|
|
69
|
+
/**
|
|
70
|
+
Configuration of the output settings.
|
|
71
|
+
@defaultValue new DocumentScannerOutputSettings({});
|
|
72
|
+
*/
|
|
73
|
+
outputSettings: DocumentScannerOutputSettings;
|
|
74
|
+
/**
|
|
75
|
+
Configuration of the document scanner sub-screens.
|
|
76
|
+
@defaultValue new DocumentScannerScreens({});
|
|
77
|
+
*/
|
|
78
|
+
screens: DocumentScannerScreens;
|
|
79
|
+
/**
|
|
80
|
+
The UUID of the existing document to be edited.
|
|
81
|
+
@defaultValue null;
|
|
82
|
+
*/
|
|
83
|
+
documentUuid: string | null;
|
|
84
|
+
/**
|
|
85
|
+
Clean the existing pages from the scanning session.
|
|
86
|
+
@defaultValue true;
|
|
87
|
+
*/
|
|
88
|
+
cleanScanningSession: boolean;
|
|
89
|
+
/** @param source {@displayType `DeepPartial<DocumentScanningFlow>`} */
|
|
90
|
+
constructor(source?: DeepPartial<DocumentScanningFlow>);
|
|
91
|
+
}
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import { ButtonConfiguration } from "../common/Common";
|
|
2
|
+
import { DeepPartial, PartiallyConstructible } from "../utils";
|
|
3
|
+
import { StyledText } from "../common/Common";
|
|
4
|
+
/**
|
|
5
|
+
An entry in the list of scanning steps of the introduction screen.
|
|
6
|
+
*/
|
|
7
|
+
export declare class IntroListEntry extends PartiallyConstructible {
|
|
8
|
+
/**
|
|
9
|
+
The image of the entry.
|
|
10
|
+
@defaultValue new NoIntroImage({});
|
|
11
|
+
*/
|
|
12
|
+
image: IntroImage;
|
|
13
|
+
/**
|
|
14
|
+
The text of the entry.
|
|
15
|
+
@defaultValue new StyledText({
|
|
16
|
+
"text": "?cameraIntroDescription",
|
|
17
|
+
"color": "?sbColorOnSurface"
|
|
18
|
+
});
|
|
19
|
+
*/
|
|
20
|
+
text: StyledText;
|
|
21
|
+
/** @param source {@displayType `DeepPartial<IntroListEntry>`} */
|
|
22
|
+
constructor(source?: DeepPartial<IntroListEntry>);
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
Determines the image for the introduction screen.
|
|
26
|
+
*/
|
|
27
|
+
export type IntroImage = NoIntroImage | ReceiptsIntroImage | MedicalCertificateIntroImage | DocumentIntroImage | CheckIntroImage | IdCardIntroImage | CreditCardIntroImage | CustomImage;
|
|
28
|
+
/** @internal */
|
|
29
|
+
export declare namespace IntroImage {
|
|
30
|
+
/** @internal */
|
|
31
|
+
function From(source: {
|
|
32
|
+
[key: string]: any;
|
|
33
|
+
}): IntroImage;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
No image for the introduction screen.
|
|
37
|
+
*/
|
|
38
|
+
export declare class NoIntroImage extends PartiallyConstructible {
|
|
39
|
+
readonly _type: "NoIntroImage";
|
|
40
|
+
/** @param source {@displayType `DeepPartial<NoIntroImage>`} */
|
|
41
|
+
constructor(source?: DeepPartial<NoIntroImage>);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
The image for the introduction screen with a receipt template.
|
|
45
|
+
*/
|
|
46
|
+
export declare class ReceiptsIntroImage extends PartiallyConstructible {
|
|
47
|
+
readonly _type: "ReceiptsIntroImage";
|
|
48
|
+
/** @param source {@displayType `DeepPartial<ReceiptsIntroImage>`} */
|
|
49
|
+
constructor(source?: DeepPartial<ReceiptsIntroImage>);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
The image for the introduction screen with a medical certificate template.
|
|
53
|
+
*/
|
|
54
|
+
export declare class MedicalCertificateIntroImage extends PartiallyConstructible {
|
|
55
|
+
readonly _type: "MedicalCertificateIntroImage";
|
|
56
|
+
/** @param source {@displayType `DeepPartial<MedicalCertificateIntroImage>`} */
|
|
57
|
+
constructor(source?: DeepPartial<MedicalCertificateIntroImage>);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
The image for the introduction screen with a document template.
|
|
61
|
+
*/
|
|
62
|
+
export declare class DocumentIntroImage extends PartiallyConstructible {
|
|
63
|
+
readonly _type: "DocumentIntroImage";
|
|
64
|
+
/** @param source {@displayType `DeepPartial<DocumentIntroImage>`} */
|
|
65
|
+
constructor(source?: DeepPartial<DocumentIntroImage>);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
The image for the introduction screen with a check template.
|
|
69
|
+
*/
|
|
70
|
+
export declare class CheckIntroImage extends PartiallyConstructible {
|
|
71
|
+
readonly _type: "CheckIntroImage";
|
|
72
|
+
/** @param source {@displayType `DeepPartial<CheckIntroImage>`} */
|
|
73
|
+
constructor(source?: DeepPartial<CheckIntroImage>);
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
The image for the introduction screen with an ID card template.
|
|
77
|
+
*/
|
|
78
|
+
export declare class IdCardIntroImage extends PartiallyConstructible {
|
|
79
|
+
readonly _type: "IdCardIntroImage";
|
|
80
|
+
/** @param source {@displayType `DeepPartial<IdCardIntroImage>`} */
|
|
81
|
+
constructor(source?: DeepPartial<IdCardIntroImage>);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
The image for the introduction screen with a credit card template.
|
|
85
|
+
*/
|
|
86
|
+
export declare class CreditCardIntroImage extends PartiallyConstructible {
|
|
87
|
+
readonly _type: "CreditCardIntroImage";
|
|
88
|
+
/** @param source {@displayType `DeepPartial<CreditCardIntroImage>`} */
|
|
89
|
+
constructor(source?: DeepPartial<CreditCardIntroImage>);
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
A custom image for the introduction screen.
|
|
93
|
+
*/
|
|
94
|
+
export declare class CustomImage extends PartiallyConstructible {
|
|
95
|
+
readonly _type: "CustomImage";
|
|
96
|
+
/**
|
|
97
|
+
The web or file URI to the image.
|
|
98
|
+
*/
|
|
99
|
+
uri: string;
|
|
100
|
+
/** @param source {@displayType `DeepPartial<CustomImage>`} */
|
|
101
|
+
constructor(source?: DeepPartial<CustomImage>);
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
Configuration of the introduction screen for the document scanner.
|
|
105
|
+
*/
|
|
106
|
+
export declare class IntroductionScreenConfiguration extends PartiallyConstructible {
|
|
107
|
+
/**
|
|
108
|
+
The background color of the introduction screen.
|
|
109
|
+
@defaultValue "?sbColorSurface";
|
|
110
|
+
*/
|
|
111
|
+
backgroundColor: string;
|
|
112
|
+
/**
|
|
113
|
+
The divider color of the introduction screen.
|
|
114
|
+
@defaultValue "?sbColorOutline";
|
|
115
|
+
*/
|
|
116
|
+
dividerColor: string;
|
|
117
|
+
/**
|
|
118
|
+
Determines whether the introduction screen should automatically be shown or not when the scanning session starts.
|
|
119
|
+
@defaultValue false;
|
|
120
|
+
*/
|
|
121
|
+
showAutomatically: boolean;
|
|
122
|
+
/**
|
|
123
|
+
Configuration of the 'done' button, located in the top bar.
|
|
124
|
+
@defaultValue new ButtonConfiguration({
|
|
125
|
+
"visible": true,
|
|
126
|
+
"text": "?cameraIntroDoneButton",
|
|
127
|
+
"accessibilityDescription": "?accessibilityDescriptionCameraIntroDoneButton",
|
|
128
|
+
"background": new BackgroundStyle({
|
|
129
|
+
"strokeColor": "#00000000",
|
|
130
|
+
"fillColor": "#00000000",
|
|
131
|
+
"strokeWidth": 0.0
|
|
132
|
+
}),
|
|
133
|
+
"foreground": new ForegroundStyle({
|
|
134
|
+
"iconVisible": true,
|
|
135
|
+
"color": "?sbColorPrimary",
|
|
136
|
+
"useShadow": false
|
|
137
|
+
})
|
|
138
|
+
});
|
|
139
|
+
*/
|
|
140
|
+
topBarDoneButton: ButtonConfiguration;
|
|
141
|
+
/**
|
|
142
|
+
The title of the introduction screen, located in the top bar.
|
|
143
|
+
@defaultValue new StyledText({
|
|
144
|
+
"text": "?cameraIntroTitle",
|
|
145
|
+
"color": "?sbColorOnSurface"
|
|
146
|
+
});
|
|
147
|
+
*/
|
|
148
|
+
title: StyledText;
|
|
149
|
+
/**
|
|
150
|
+
The subtitle of the introduction screen.
|
|
151
|
+
@defaultValue new StyledText({
|
|
152
|
+
"text": "?cameraIntroSubtitle",
|
|
153
|
+
"color": "?sbColorOnSurface"
|
|
154
|
+
});
|
|
155
|
+
*/
|
|
156
|
+
subtitle: StyledText;
|
|
157
|
+
/**
|
|
158
|
+
Configure the scanning steps of the introduction screen.
|
|
159
|
+
@defaultValue [new IntroListEntry({
|
|
160
|
+
"image": new DocumentIntroImage({}),
|
|
161
|
+
"text": new StyledText({
|
|
162
|
+
"text": "?cameraIntroItem1",
|
|
163
|
+
"color": "?sbColorOnSurface"
|
|
164
|
+
})
|
|
165
|
+
}), new IntroListEntry({
|
|
166
|
+
"image": new NoIntroImage({}),
|
|
167
|
+
"text": new StyledText({
|
|
168
|
+
"text": "?cameraIntroItem2",
|
|
169
|
+
"color": "?sbColorOnSurface"
|
|
170
|
+
})
|
|
171
|
+
}), new IntroListEntry({
|
|
172
|
+
"image": new NoIntroImage({}),
|
|
173
|
+
"text": new StyledText({
|
|
174
|
+
"text": "?cameraIntroItem3",
|
|
175
|
+
"color": "?sbColorOnSurface"
|
|
176
|
+
})
|
|
177
|
+
}), new IntroListEntry({
|
|
178
|
+
"image": new NoIntroImage({}),
|
|
179
|
+
"text": new StyledText({
|
|
180
|
+
"text": "?cameraIntroItem4",
|
|
181
|
+
"color": "?sbColorOnSurface"
|
|
182
|
+
})
|
|
183
|
+
})];
|
|
184
|
+
*/
|
|
185
|
+
items: IntroListEntry[];
|
|
186
|
+
/** @param source {@displayType `DeepPartial<IntroductionScreenConfiguration>`} */
|
|
187
|
+
constructor(source?: DeepPartial<IntroductionScreenConfiguration>);
|
|
188
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|