diff --git a/angular/camera-snapshot/angular.json b/angular/camera-snapshot/angular.json index 978c5d4..185731c 100644 --- a/angular/camera-snapshot/angular.json +++ b/angular/camera-snapshot/angular.json @@ -63,5 +63,8 @@ } } } + }, + "cli": { + "analytics": false } } diff --git a/angular/camera-snapshot/src/app/app.component.ts b/angular/camera-snapshot/src/app/app.component.ts index 6987f3e..de82f42 100644 --- a/angular/camera-snapshot/src/app/app.component.ts +++ b/angular/camera-snapshot/src/app/app.component.ts @@ -17,7 +17,7 @@ export class AppComponent implements OnInit { isOpen: boolean = false; ngOnInit(): void { - defineComponents(); + void defineComponents(); } cameraSnapshotHandler(data: CustomEvent) { diff --git a/angular/camera-snapshot/src/app/components/snapshot.component.html b/angular/camera-snapshot/src/app/components/snapshot.component.html index b420d51..95e129c 100644 --- a/angular/camera-snapshot/src/app/components/snapshot.component.html +++ b/angular/camera-snapshot/src/app/components/snapshot.component.html @@ -1 +1 @@ - + diff --git a/angular/camera-snapshot/src/app/components/snapshot.component.ts b/angular/camera-snapshot/src/app/components/snapshot.component.ts index 238f9b0..775a40e 100644 --- a/angular/camera-snapshot/src/app/components/snapshot.component.ts +++ b/angular/camera-snapshot/src/app/components/snapshot.component.ts @@ -14,7 +14,6 @@ export class SnapshotComponent implements AfterViewInit { if (!this.snapshot) return; this.snapshot.nativeElement.settings = { - startScreen: true, changeCameraButton: true, }; } diff --git a/angular/document-reader-device/angular.json b/angular/document-reader-device/angular.json index 3a516d8..05b8407 100644 --- a/angular/document-reader-device/angular.json +++ b/angular/document-reader-device/angular.json @@ -63,5 +63,8 @@ } } } + }, + "cli": { + "analytics": false } } diff --git a/angular/document-reader/angular.json b/angular/document-reader/angular.json index 3a516d8..05b8407 100644 --- a/angular/document-reader/angular.json +++ b/angular/document-reader/angular.json @@ -63,5 +63,8 @@ } } } + }, + "cli": { + "analytics": false } } diff --git a/angular/document-reader/src/app/components/reader.component.html b/angular/document-reader/src/app/components/reader.component.html index ad03366..9461f79 100644 --- a/angular/document-reader/src/app/components/reader.component.html +++ b/angular/document-reader/src/app/components/reader.component.html @@ -1 +1 @@ - + diff --git a/angular/document-reader/src/app/components/reader.component.ts b/angular/document-reader/src/app/components/reader.component.ts index 494eaac..995dd7f 100644 --- a/angular/document-reader/src/app/components/reader.component.ts +++ b/angular/document-reader/src/app/components/reader.component.ts @@ -14,7 +14,6 @@ export class ReaderComponent implements AfterViewInit { if (!this.reader) return; this.reader.nativeElement.settings = { - startScreen: true, changeCameraButton: true, }; } diff --git a/angular/document-reader/src/globals.d.ts b/angular/document-reader/src/globals.d.ts index 72fa6f4..614720c 100644 --- a/angular/document-reader/src/globals.d.ts +++ b/angular/document-reader/src/globals.d.ts @@ -1,13 +1,6 @@ -import { - DocumentReaderWebComponent, - DocumentReaderService, -} from '@regulaforensics/vp-frontend-document-components'; +import { DocumentReaderWebComponent } from '@regulaforensics/vp-frontend-document-components'; declare global { - interface Window { - RegulaDocumentSDK: DocumentReaderService; - } - interface HTMLElementTagNameMap { 'document-reader': DocumentReaderWebComponent; } diff --git a/customization/index.html b/customization/index.html index 27de40f..6f13547 100644 --- a/customization/index.html +++ b/customization/index.html @@ -12,7 +12,7 @@
- +
diff --git a/customization/index.js b/customization/index.js index d67265c..914b361 100644 --- a/customization/index.js +++ b/customization/index.js @@ -25,7 +25,6 @@ component.settings = { locale: 'custom', regulaLogo: false, multipageProcessing: true, - startScreen: true, multipleFileInput: true, changeCameraButton: true, closeButton: false, diff --git a/next/camera-snapshot/src/components/camera-snapshot.tsx b/next/camera-snapshot/src/components/camera-snapshot.tsx index add327e..d9ce0ed 100644 --- a/next/camera-snapshot/src/components/camera-snapshot.tsx +++ b/next/camera-snapshot/src/components/camera-snapshot.tsx @@ -66,7 +66,6 @@ export default function CameraSnapshot() { if (!elementRefCurrent) return; elementRefCurrent.settings = { - startScreen: true, changeCameraButton: true, }; }, [isOpen]); @@ -80,7 +79,7 @@ export default function CameraSnapshot() {
{isOpen ? ( - + ) : ( )} diff --git a/next/document-reader/globals.d.ts b/next/document-reader/globals.d.ts index 9ed6bfe..99b7726 100644 --- a/next/document-reader/globals.d.ts +++ b/next/document-reader/globals.d.ts @@ -1,14 +1,6 @@ -import { - DocumentReaderWebComponent, - DocumentReaderService, - IDocumentReader, -} from '@regulaforensics/vp-frontend-document-components'; +import { DocumentReaderWebComponent, IDocumentReader } from '@regulaforensics/vp-frontend-document-components'; declare global { - interface Window { - RegulaDocumentSDK: DocumentReaderService; - } - namespace React.JSX { interface IntrinsicElements { 'document-reader': React.DetailedHTMLProps, diff --git a/next/document-reader/src/components/document-reader.tsx b/next/document-reader/src/components/document-reader.tsx index 2ae1646..804f352 100644 --- a/next/document-reader/src/components/document-reader.tsx +++ b/next/document-reader/src/components/document-reader.tsx @@ -86,7 +86,6 @@ export default function DocumentReader() { if (!elementRefCurrent) return; elementRefCurrent.settings = { - startScreen: true, changeCameraButton: true, }; }, [isOpen]); @@ -100,7 +99,7 @@ export default function DocumentReader() {
{isOpen ? ( - + ) : ( )} diff --git a/nuxt/camera-snapshot/components/camera-snapshot.vue b/nuxt/camera-snapshot/components/camera-snapshot.vue index 10527a7..62ae870 100644 --- a/nuxt/camera-snapshot/components/camera-snapshot.vue +++ b/nuxt/camera-snapshot/components/camera-snapshot.vue @@ -1,5 +1,6 @@