scandoc-ai-components 0.0.48 → 0.0.50

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 (2) hide show
  1. package/dist/index.js +27 -20
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -11400,9 +11400,11 @@ class ExtractorVideo {
11400
11400
  <div class="desktopFeedback" id="ScanDocAIMessage"></div>
11401
11401
  <div class="desktopVideoArea">
11402
11402
  <div class="desktopVideoHolder">
11403
- <video id="ScanDocAIVideoElement" class="desktopVideo" autoPlay muted playsInline></video>
11404
- <div class="backgroundOverlay"></div>
11405
- <div class="desktopRectangle dashedRectangle"></div>
11403
+ <div class="videoWrapper">
11404
+ <video id="ScanDocAIVideoElement" class="desktopVideo" autoPlay muted playsInline></video>
11405
+ <div class="backgroundOverlay"></div>
11406
+ <div class="desktopRectangle dashedRectangle"></div>
11407
+ </div>
11406
11408
  </div>
11407
11409
  </div>
11408
11410
 
@@ -11425,25 +11427,30 @@ class ExtractorVideo {
11425
11427
  overflow: hidden;
11426
11428
  }
11427
11429
 
11430
+ .videoWrapper {
11431
+ position: relative;
11432
+ width: 100%;
11433
+ aspect-ratio: 16 / 9;
11434
+ }
11435
+
11428
11436
  .desktopVideo {
11429
11437
  width: 100%;
11430
- height: auto;
11431
- margin-left: auto;
11432
- margin-right: auto;
11433
- max-width: 100vw;
11434
- max-height: 100vh;
11438
+ height: 100%;
11439
+ object-fit: cover;
11440
+ display: block;
11435
11441
  }
11436
-
11442
+
11437
11443
  .desktopRectangle {
11438
11444
  position: absolute;
11439
- top: 32px;
11440
- right: 32px;
11441
- bottom: 32px;
11442
- left: 28px;
11445
+ top: 5%;
11446
+ left: 5%;
11447
+ right: 5%;
11448
+ bottom: 5%;
11443
11449
  border-radius: 30px;
11444
11450
  display: flex;
11445
11451
  justify-content: center;
11446
11452
  align-items: center;
11453
+ z-index: 3;
11447
11454
  }
11448
11455
 
11449
11456
  .dashedRectangle {
@@ -11601,13 +11608,13 @@ let internalConfig = {
11601
11608
  SHOULD_RETURN_DOCUMENT_IMAGE: null,
11602
11609
  SHOULD_RETURN_FACE_IF_DETECTED: null,
11603
11610
  SHOULD_RETURN_SIGNATURE_IF_DETECTED: null,
11604
- SKIP_DOCUMENT_SIZE_CHECK: null,
11605
- SKIP_IMAGE_SIZE_CHECK: null,
11606
- CAN_STORE_IMAGES: null,
11607
- ENFORCE_DOCS_SAME_COUNTRY_TYPE_SERIES: null,
11608
- CASE_SENSITIVE_OUTPUT: null,
11609
- STORE_FACE_IMAGE: null,
11610
- DONT_USE_VALIDATION: null,
11611
+ SKIP_DOCUMENT_SIZE_CHECK: true,
11612
+ SKIP_IMAGE_SIZE_CHECK: true,
11613
+ CAN_STORE_IMAGES: false,
11614
+ ENFORCE_DOCS_SAME_COUNTRY_TYPE_SERIES: false,
11615
+ CASE_SENSITIVE_OUTPUT: false,
11616
+ STORE_FACE_IMAGE: false,
11617
+ DONT_USE_VALIDATION: true,
11611
11618
  SEGMENTED_IMAGE_RESIZE: null,
11612
11619
  SIGNATURE_IMAGE_RESIZE: null,
11613
11620
  FACE_IMAGE_RESIZE: null,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "scandoc-ai-components",
3
3
  "author": "ScanDoc-AI",
4
- "version": "0.0.48",
4
+ "version": "0.0.50",
5
5
  "private": false,
6
6
  "description": "Pure JavaScript package for integrating ScanDoc-AI services.",
7
7
  "keywords": [