scandoc-ai-components 0.0.73 → 0.0.75
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 +6 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11398,6 +11398,9 @@ class ExtractorVideo {
|
|
|
11398
11398
|
}
|
|
11399
11399
|
}
|
|
11400
11400
|
getHTML() {
|
|
11401
|
+
const cfgValues = (0,_config__WEBPACK_IMPORTED_MODULE_1__.getScanDocAIConfigValues)();
|
|
11402
|
+
const borderColor = cfgValues.VIDEO_COLORS?.borderColor;
|
|
11403
|
+
const messageColor = cfgValues.VIDEO_COLORS?.messageColor;
|
|
11401
11404
|
return `
|
|
11402
11405
|
<div class="desktopFeedback" id="ScanDocAIMessage"></div>
|
|
11403
11406
|
<div class="desktopVideoArea">
|
|
@@ -11415,7 +11418,7 @@ class ExtractorVideo {
|
|
|
11415
11418
|
gap: 8px;
|
|
11416
11419
|
padding: 16px;
|
|
11417
11420
|
background-color: rgba(255, 255, 255, 0.05);
|
|
11418
|
-
border: 1px solid ${
|
|
11421
|
+
border: 1px solid ${borderColor};
|
|
11419
11422
|
border-radius: 15px;
|
|
11420
11423
|
margin-left: 20%;
|
|
11421
11424
|
margin-right: 20%;
|
|
@@ -11438,7 +11441,7 @@ class ExtractorVideo {
|
|
|
11438
11441
|
.desktopRectangle {
|
|
11439
11442
|
position: absolute;
|
|
11440
11443
|
top: 5%; left: 5%; right: 5%; bottom: 5%;
|
|
11441
|
-
border: 5px dashed ${
|
|
11444
|
+
border: 5px dashed ${borderColor};
|
|
11442
11445
|
border-radius: 30px;
|
|
11443
11446
|
pointer-events: none;
|
|
11444
11447
|
z-index: 3;
|
|
@@ -11463,7 +11466,7 @@ class ExtractorVideo {
|
|
|
11463
11466
|
min-height: 36px;
|
|
11464
11467
|
justify-content: center;
|
|
11465
11468
|
align-items: center;
|
|
11466
|
-
color:
|
|
11469
|
+
color: ${messageColor};
|
|
11467
11470
|
}
|
|
11468
11471
|
</style>
|
|
11469
11472
|
`;
|