scandoc-ai-components 0.0.64 → 0.0.66
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/dist/index.js +8 -12
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11250,12 +11250,10 @@ class ExtractorVideo {
|
|
|
11250
11250
|
const margins = await this.getCameraMargins();
|
|
11251
11251
|
const rectangle = document.querySelector('.desktopRectangle');
|
|
11252
11252
|
if (!rectangle) return;
|
|
11253
|
-
|
|
11254
|
-
|
|
11255
|
-
rectangle.style.
|
|
11256
|
-
rectangle.style.
|
|
11257
|
-
rectangle.style.left = `${clamp(margins.leftPct + buffer)}%`;
|
|
11258
|
-
rectangle.style.right = `${clamp(margins.rightPct + buffer)}%`;
|
|
11253
|
+
rectangle.style.top = `${margins.topPct * 100}%`;
|
|
11254
|
+
rectangle.style.bottom = `${margins.bottomPct * 100}%`;
|
|
11255
|
+
rectangle.style.left = `${margins.leftPct * 100}%`;
|
|
11256
|
+
rectangle.style.right = `${margins.rightPct * 100}%`;
|
|
11259
11257
|
};
|
|
11260
11258
|
async analyzeVideoStream() {
|
|
11261
11259
|
if (!this.isRunning) {
|
|
@@ -11499,15 +11497,13 @@ class ExtractorVideo {
|
|
|
11499
11497
|
|
|
11500
11498
|
.desktopRectangle {
|
|
11501
11499
|
position: absolute;
|
|
11500
|
+
top: 0; left: 0; right: 0; bottom: 0;
|
|
11501
|
+
border: 5px dashed #5078bb;
|
|
11502
11502
|
border-radius: 30px;
|
|
11503
|
-
|
|
11504
|
-
justify-content: center;
|
|
11505
|
-
align-items: center;
|
|
11503
|
+
pointer-events: none;
|
|
11506
11504
|
z-index: 3;
|
|
11507
|
-
border: 5px dashed #5078bb;
|
|
11508
|
-
transition: all 0.3s ease;
|
|
11509
11505
|
}
|
|
11510
|
-
|
|
11506
|
+
|
|
11511
11507
|
.backgroundOverlay {
|
|
11512
11508
|
position: absolute;
|
|
11513
11509
|
top: 0;
|