scanbot-web-sdk
Advanced tools
Comparing version
@@ -69,4 +69,6 @@ import React from "react"; | ||
get configuration(): CroppingViewConfiguration; | ||
calculateRatio(): number; | ||
BASE_SCALE: number; | ||
calculateScale(existingRotations: number, appliedRotations: number, size?: Size): number; | ||
calculateRatio(size?: Size): number; | ||
calculateMargin(size: Size): Point; | ||
} |
@@ -34,2 +34,6 @@ import { Polygon } from "../response/detection-result"; | ||
image: Uint8Array; | ||
/** | ||
* Initial rotations of the original image. Default is 0 | ||
*/ | ||
rotations?: number; | ||
style?: CroppingViewStyle; | ||
@@ -36,0 +40,0 @@ static fromJson(json: any): CroppingViewConfiguration; |
@@ -5,2 +5,3 @@ import { Polygon } from "./detection-result"; | ||
polygon: Polygon; | ||
rotations: number; | ||
} |
@@ -8,4 +8,4 @@ import { InitializationOptions } from "./model/configuration/initialization-options"; | ||
import { ImageFilter } from './model/filter-types'; | ||
import PdfGenerator, { PdfGenerationOptions } from './pdf-generator'; | ||
import TiffGenerator, { TiffGenerationOptions } from './tiff-generator'; | ||
import PdfGenerator, { PdfGenerationOptions } from './service/pdf-generator'; | ||
import TiffGenerator, { TiffGenerationOptions } from './service/tiff-generator'; | ||
import { IDocumentScannerHandle } from "./interfaces/i-document-scanner-handle"; | ||
@@ -12,0 +12,0 @@ import { ICroppingViewHandle } from "./interfaces/i-cropping-view-handle"; |
@@ -13,3 +13,3 @@ { | ||
"author": "doo GmbH", | ||
"version": "2.0.1", | ||
"version": "2.0.2-beta1", | ||
"dependencies": {}, | ||
@@ -20,3 +20,3 @@ "scripts": { | ||
"transpile": "npx tsc --declaration && cp -r src/styles component/", | ||
"cp-typings": "rsync -a --include '*/' --include '*.d.ts' --exclude '*' ./component/ ./@types/", | ||
"cp-typings": "rsync -a --include '*/' --include '*.d.ts' --exclude '*' ./component/ ./@types/ && cp src/_misc/typings-entrypoint.d.ts ./@types/index.d.ts", | ||
"build-lib-all": "bash lib/build-all-packages.sh", | ||
@@ -23,0 +23,0 @@ "build-src": "npx webpack --mode production", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
17272107
063
1.61%1098
3.39%1
Infinity%