scandoc-ai-components 0.0.78 → 0.0.80

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 +8 -8
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -11174,13 +11174,12 @@ class ExtractorVideo {
11174
11174
  static VALIDATION_IMG_HEIGHT = 384;
11175
11175
  static VIDEO_SETTINGS = Object.freeze({
11176
11176
  width: {
11177
- ideal: 1024
11177
+ ideal: 1920
11178
11178
  },
11179
11179
  height: {
11180
- ideal: 768
11180
+ ideal: 1080
11181
11181
  },
11182
- // 4:3
11183
- facingMode: "user"
11182
+ facingMode: "environment"
11184
11183
  });
11185
11184
  constructor(onExtractedResults) {
11186
11185
  this.candidateImages = [];
@@ -11454,15 +11453,16 @@ class ExtractorVideo {
11454
11453
  .desktopVideoHolder {
11455
11454
  position: relative;
11456
11455
  width: 100%;
11457
- aspect-ratio: 16 / 9;
11458
11456
  overflow: hidden;
11459
11457
  }
11460
11458
 
11461
11459
  .desktopVideo {
11462
- position: absolute;
11463
11460
  width: 100%;
11464
- height: 100%;
11465
- object-fit: cover;
11461
+ height: auto;
11462
+ margin-left: auto;
11463
+ margin-right: auto;
11464
+ max-width: 100vw;
11465
+ max-height: 100vh;
11466
11466
  }
11467
11467
 
11468
11468
  .centerGuideDot {
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.78",
4
+ "version": "0.0.80",
5
5
  "private": false,
6
6
  "description": "Pure JavaScript package for integrating ScanDoc-AI services.",
7
7
  "keywords": [