scanbot-web-sdk 6.0.0-dev.5 → 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,141 @@
|
|
|
1
|
+
import { BarButtonConfiguration } from "../common/Common";
|
|
2
|
+
import { ButtonConfiguration } from "../common/Common";
|
|
3
|
+
import { DeepPartial, PartiallyConstructible } from "../utils";
|
|
4
|
+
import { StyledText } from "../common/Common";
|
|
5
|
+
/**
|
|
6
|
+
Configuration of the bottom bar for the cropping screen.
|
|
7
|
+
*/
|
|
8
|
+
export declare class CroppingBottomBar extends PartiallyConstructible {
|
|
9
|
+
/**
|
|
10
|
+
Configuration of the 'detect document' button, located in the bottom bar.
|
|
11
|
+
@defaultValue new BarButtonConfiguration({
|
|
12
|
+
"title": new StyledText({
|
|
13
|
+
"text": "?croppingDetectButtonTitle",
|
|
14
|
+
"color": "?sbColorOnPrimary"
|
|
15
|
+
}),
|
|
16
|
+
"accessibilityDescription": "?accessibilityDescriptionCroppingDetectButton",
|
|
17
|
+
"background": new BackgroundStyle({
|
|
18
|
+
"strokeColor": "#00000000",
|
|
19
|
+
"fillColor": "#00000000",
|
|
20
|
+
"strokeWidth": 0.0
|
|
21
|
+
}),
|
|
22
|
+
"icon": new IconStyle({
|
|
23
|
+
"color": "?sbColorOnPrimary"
|
|
24
|
+
})
|
|
25
|
+
});
|
|
26
|
+
*/
|
|
27
|
+
detectButton: BarButtonConfiguration;
|
|
28
|
+
/**
|
|
29
|
+
Configuration of the 'rotate page' button, located in the bottom bar.
|
|
30
|
+
@defaultValue new BarButtonConfiguration({
|
|
31
|
+
"title": new StyledText({
|
|
32
|
+
"text": "?croppingRotateButtonTitle",
|
|
33
|
+
"color": "?sbColorOnPrimary"
|
|
34
|
+
}),
|
|
35
|
+
"accessibilityDescription": "?accessibilityDescriptionCroppingRotateButton",
|
|
36
|
+
"background": new BackgroundStyle({
|
|
37
|
+
"strokeColor": "#00000000",
|
|
38
|
+
"fillColor": "#00000000",
|
|
39
|
+
"strokeWidth": 0.0
|
|
40
|
+
}),
|
|
41
|
+
"icon": new IconStyle({
|
|
42
|
+
"color": "?sbColorOnPrimary"
|
|
43
|
+
})
|
|
44
|
+
});
|
|
45
|
+
*/
|
|
46
|
+
rotateButton: BarButtonConfiguration;
|
|
47
|
+
/**
|
|
48
|
+
Configuration of the 'reset detection' button, located in the bottom bar.
|
|
49
|
+
@defaultValue new BarButtonConfiguration({
|
|
50
|
+
"title": new StyledText({
|
|
51
|
+
"text": "?croppingResetButtonTitle",
|
|
52
|
+
"color": "?sbColorOnPrimary"
|
|
53
|
+
}),
|
|
54
|
+
"accessibilityDescription": "?accessibilityDescriptionCroppingResetButton",
|
|
55
|
+
"background": new BackgroundStyle({
|
|
56
|
+
"strokeColor": "#00000000",
|
|
57
|
+
"fillColor": "#00000000",
|
|
58
|
+
"strokeWidth": 0.0
|
|
59
|
+
}),
|
|
60
|
+
"icon": new IconStyle({
|
|
61
|
+
"color": "?sbColorOnPrimary"
|
|
62
|
+
})
|
|
63
|
+
});
|
|
64
|
+
*/
|
|
65
|
+
resetButton: BarButtonConfiguration;
|
|
66
|
+
/** @param source {@displayType `DeepPartial<CroppingBottomBar>`} */
|
|
67
|
+
constructor(source?: DeepPartial<CroppingBottomBar>);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
Configuration of the screen for cropping the scanned pages.
|
|
71
|
+
*/
|
|
72
|
+
export declare class CroppingScreenConfiguration extends PartiallyConstructible {
|
|
73
|
+
/**
|
|
74
|
+
Configuration of the 'cancel' button, located in the top bar.
|
|
75
|
+
@defaultValue new ButtonConfiguration({
|
|
76
|
+
"visible": true,
|
|
77
|
+
"text": "?croppingTopBarCancelButtonTitle",
|
|
78
|
+
"accessibilityDescription": "?accessibilityDescriptionCroppingTopBarCancelButton",
|
|
79
|
+
"background": new BackgroundStyle({
|
|
80
|
+
"strokeColor": "#00000000",
|
|
81
|
+
"fillColor": "#00000000",
|
|
82
|
+
"strokeWidth": 0.0
|
|
83
|
+
}),
|
|
84
|
+
"foreground": new ForegroundStyle({
|
|
85
|
+
"iconVisible": true,
|
|
86
|
+
"color": "?sbColorOnPrimary",
|
|
87
|
+
"useShadow": false
|
|
88
|
+
})
|
|
89
|
+
});
|
|
90
|
+
*/
|
|
91
|
+
topBarBackButton: ButtonConfiguration;
|
|
92
|
+
/**
|
|
93
|
+
Configuration of the title, located in the top bar.
|
|
94
|
+
@defaultValue new StyledText({
|
|
95
|
+
"text": "?croppingScreenTitle",
|
|
96
|
+
"color": "?sbColorOnPrimary"
|
|
97
|
+
});
|
|
98
|
+
*/
|
|
99
|
+
topBarTitle: StyledText;
|
|
100
|
+
/**
|
|
101
|
+
Configuration of the 'confirm' button, located in the top bar.
|
|
102
|
+
@defaultValue new ButtonConfiguration({
|
|
103
|
+
"visible": true,
|
|
104
|
+
"text": "?croppingTopBarConfirmButtonTitle",
|
|
105
|
+
"accessibilityDescription": "?accessibilityDescriptionCroppingTopBarConfirmButton",
|
|
106
|
+
"background": new BackgroundStyle({
|
|
107
|
+
"strokeColor": "#00000000",
|
|
108
|
+
"fillColor": "#00000000",
|
|
109
|
+
"strokeWidth": 0.0
|
|
110
|
+
}),
|
|
111
|
+
"foreground": new ForegroundStyle({
|
|
112
|
+
"iconVisible": true,
|
|
113
|
+
"color": "?sbColorOnPrimary",
|
|
114
|
+
"useShadow": false
|
|
115
|
+
})
|
|
116
|
+
});
|
|
117
|
+
*/
|
|
118
|
+
topBarConfirmButton: ButtonConfiguration;
|
|
119
|
+
/**
|
|
120
|
+
The background color of the cropping screen.
|
|
121
|
+
@defaultValue "?sbColorOutline";
|
|
122
|
+
*/
|
|
123
|
+
backgroundColor: string;
|
|
124
|
+
/**
|
|
125
|
+
The color of the cropping handles.
|
|
126
|
+
@defaultValue "?sbColorSurface";
|
|
127
|
+
*/
|
|
128
|
+
croppingHandlerColor: string;
|
|
129
|
+
/**
|
|
130
|
+
The color of the cropping polygon.
|
|
131
|
+
@defaultValue "?sbColorSurface";
|
|
132
|
+
*/
|
|
133
|
+
croppingPolygonColor: string;
|
|
134
|
+
/**
|
|
135
|
+
Configuration of the bottom bar for the cropping screen.
|
|
136
|
+
@defaultValue new CroppingBottomBar({});
|
|
137
|
+
*/
|
|
138
|
+
bottomBar: CroppingBottomBar;
|
|
139
|
+
/** @param source {@displayType `DeepPartial<CroppingScreenConfiguration>`} */
|
|
140
|
+
constructor(source?: DeepPartial<CroppingScreenConfiguration>);
|
|
141
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { AspectRatio } from "../Geometry";
|
|
2
|
+
import { CameraModule } from "../common/CameraConfiguration";
|
|
3
|
+
import { DeepPartial, PartiallyConstructible } from "../utils";
|
|
4
|
+
/**
|
|
5
|
+
Configuration of the camera behavior.
|
|
6
|
+
*/
|
|
7
|
+
export declare class DocumentScannerCameraConfiguration extends PartiallyConstructible {
|
|
8
|
+
/**
|
|
9
|
+
Determines which camera module to use on start-up.
|
|
10
|
+
@defaultValue "BACK";
|
|
11
|
+
*/
|
|
12
|
+
cameraModule: CameraModule;
|
|
13
|
+
/**
|
|
14
|
+
Determines whether the flashlight is enabled or not on start-up.
|
|
15
|
+
@defaultValue false;
|
|
16
|
+
*/
|
|
17
|
+
flashEnabled: boolean;
|
|
18
|
+
/**
|
|
19
|
+
The minimum pitch/skew angle of the document to be accepted. The value must be between 0.0 and 1.0.
|
|
20
|
+
@defaultValue 0.75;
|
|
21
|
+
*/
|
|
22
|
+
acceptedAngleScore: number;
|
|
23
|
+
/**
|
|
24
|
+
The minimum size of the document in relation to the screen preview to be accepted. The value must be between 0.0 and 1.0.
|
|
25
|
+
@defaultValue 0.75;
|
|
26
|
+
*/
|
|
27
|
+
acceptedSizeScore: number;
|
|
28
|
+
/**
|
|
29
|
+
Controls the auto snapping speed. The sensitivity must be between 0.0 and 1.0. A value of 1.0 triggers auto snapping immediately, while a value of 0.0 delays the auto snapping by 3 seconds. The default value is 0.66 (2 seconds).
|
|
30
|
+
@defaultValue 0.66;
|
|
31
|
+
*/
|
|
32
|
+
autoSnappingSensitivity: number;
|
|
33
|
+
/**
|
|
34
|
+
After a page has been snapped, the delay in milliseconds before auto snapping resumes for the next page.
|
|
35
|
+
@defaultValue 200;
|
|
36
|
+
*/
|
|
37
|
+
autoSnappingDelay: number;
|
|
38
|
+
/**
|
|
39
|
+
The minimum brightness value to accept a detected document.
|
|
40
|
+
@defaultValue 50;
|
|
41
|
+
*/
|
|
42
|
+
acceptedBrightnessThreshold: number;
|
|
43
|
+
/**
|
|
44
|
+
Determines if auto snapping is enabled or not.
|
|
45
|
+
@defaultValue true;
|
|
46
|
+
*/
|
|
47
|
+
autoSnappingEnabled: boolean;
|
|
48
|
+
/**
|
|
49
|
+
The required aspect ratios for the document to be accepted.
|
|
50
|
+
@defaultValue [];
|
|
51
|
+
*/
|
|
52
|
+
requiredAspectRatios: AspectRatio[];
|
|
53
|
+
/**
|
|
54
|
+
Determines whether a landscape document will be detected when the camera is in portrait mode (and vice versa) or not. This parameter will be ignored if required aspect ratios have been explicitly defined.
|
|
55
|
+
@defaultValue true;
|
|
56
|
+
*/
|
|
57
|
+
ignoreBadAspectRatio: boolean;
|
|
58
|
+
/** @param source {@displayType `DeepPartial<DocumentScannerCameraConfiguration>`} */
|
|
59
|
+
constructor(source?: DeepPartial<DocumentScannerCameraConfiguration>);
|
|
60
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
Determines the visibility mode for the document capturing user guidance labels.
|
|
3
|
+
|
|
4
|
+
- `ENABLED`:
|
|
5
|
+
Enabled for both 'auto snapping' and 'manual snapping' modes.
|
|
6
|
+
- `AUTO_CAPTURE_ONLY`:
|
|
7
|
+
Enabled only for the 'auto snapping' mode.
|
|
8
|
+
- `DISABLED`:
|
|
9
|
+
Disabled for both 'auto snapping' and 'manual snapping' modes.
|
|
10
|
+
*/
|
|
11
|
+
export type UserGuidanceVisibility = "ENABLED" | "AUTO_CAPTURE_ONLY" | "DISABLED";
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { DeepPartial, PartiallyConstructible } from "../utils";
|
|
2
|
+
import { ParametricFilter } from "../ParametricFilters";
|
|
3
|
+
/**
|
|
4
|
+
Determines if the quality analysis for the acknowledgement mode will run on the filtered or the unfiltered image.
|
|
5
|
+
|
|
6
|
+
- `FILTERED_DOCUMENT`:
|
|
7
|
+
The quality analysis will run on the filtered document image.
|
|
8
|
+
- `UNFILTERED_DOCUMENT`:
|
|
9
|
+
The quality analysis will run on the unfiltered document image.
|
|
10
|
+
*/
|
|
11
|
+
export type DocumentAnalysisMode = "FILTERED_DOCUMENT" | "UNFILTERED_DOCUMENT";
|
|
12
|
+
/**
|
|
13
|
+
Configuration of the output settings.
|
|
14
|
+
*/
|
|
15
|
+
export declare class DocumentScannerOutputSettings extends PartiallyConstructible {
|
|
16
|
+
/**
|
|
17
|
+
The limit of the number of pages that can be scanned. Default is 0 (no limit).
|
|
18
|
+
@defaultValue 0;
|
|
19
|
+
*/
|
|
20
|
+
pagesScanLimit: number;
|
|
21
|
+
/**
|
|
22
|
+
The limit of the size of the cropped document images. If one of the dimensions of the cropped image is larger than the limit, the image is downscaled so that its longer dimension matches the limit. The default is 0 (no limit).
|
|
23
|
+
@defaultValue 0;
|
|
24
|
+
*/
|
|
25
|
+
documentImageSizeLimit: number;
|
|
26
|
+
/**
|
|
27
|
+
Determines if the quality analysis for the acknowledgement mode will run on the filtered or the unfiltered image.
|
|
28
|
+
@defaultValue "UNFILTERED_DOCUMENT";
|
|
29
|
+
*/
|
|
30
|
+
documentAnalysisMode: DocumentAnalysisMode;
|
|
31
|
+
/**
|
|
32
|
+
Determines the image filter to apply by default.
|
|
33
|
+
@defaultValue null;
|
|
34
|
+
*/
|
|
35
|
+
defaultFilter: ParametricFilter | null;
|
|
36
|
+
/** @param source {@displayType `DeepPartial<DocumentScannerOutputSettings>`} */
|
|
37
|
+
constructor(source?: DeepPartial<DocumentScannerOutputSettings>);
|
|
38
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { CameraScreenConfiguration } from "../document/CameraScreenConfiguration";
|
|
2
|
+
import { CroppingScreenConfiguration } from "../document/CroppingScreenConfiguration";
|
|
3
|
+
import { DeepPartial, PartiallyConstructible } from "../utils";
|
|
4
|
+
import { ReviewScreenConfiguration } from "../document/ReviewScreenConfiguration";
|
|
5
|
+
/**
|
|
6
|
+
Configuration of the document scanner sub-screens.
|
|
7
|
+
*/
|
|
8
|
+
export declare class DocumentScannerScreens extends PartiallyConstructible {
|
|
9
|
+
/**
|
|
10
|
+
Configuration of the screen for scanning the pages with the camera.
|
|
11
|
+
@defaultValue new CameraScreenConfiguration({});
|
|
12
|
+
*/
|
|
13
|
+
camera: CameraScreenConfiguration;
|
|
14
|
+
/**
|
|
15
|
+
Configuration of the screen for reviewing the scanned pages.
|
|
16
|
+
@defaultValue new ReviewScreenConfiguration({});
|
|
17
|
+
*/
|
|
18
|
+
review: ReviewScreenConfiguration;
|
|
19
|
+
/**
|
|
20
|
+
Configuration of the screen for cropping the scanned pages.
|
|
21
|
+
@defaultValue new CroppingScreenConfiguration({});
|
|
22
|
+
*/
|
|
23
|
+
cropping: CroppingScreenConfiguration;
|
|
24
|
+
/** @param source {@displayType `DeepPartial<DocumentScannerScreens>`} */
|
|
25
|
+
constructor(source?: DeepPartial<DocumentScannerScreens>);
|
|
26
|
+
}
|