@ekyc_qoobiss/qbs-ect-cmp 4.7.18 → 4.7.19
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/cjs/agreement-info_23.cjs.entry.js +3 -5
- package/dist/cjs/agreement-info_23.cjs.entry.js.map +1 -1
- package/dist/collection/components/common/id-auto-capture/id-auto-capture.css +49 -4
- package/dist/collection/components/common/id-auto-capture/id-auto-capture.js +1 -3
- package/dist/collection/components/common/id-auto-capture/id-auto-capture.js.map +1 -1
- package/dist/esm/agreement-info_23.entry.js +3 -5
- package/dist/esm/agreement-info_23.entry.js.map +1 -1
- package/dist/qbs-ect-cmp/{p-6abba2e0.entry.js → p-fd0c62e6.entry.js} +2 -2
- package/dist/qbs-ect-cmp/p-fd0c62e6.entry.js.map +1 -0
- package/dist/qbs-ect-cmp/qbs-ect-cmp.esm.js +1 -1
- package/package.json +1 -1
- package/dist/qbs-ect-cmp/p-6abba2e0.entry.js.map +0 -1
- package/dist/qbs-ect-cmp/p-ba67e517.entry.js +0 -3
- package/dist/qbs-ect-cmp/p-ba67e517.entry.js.map +0 -1
|
@@ -510,7 +510,7 @@ const HowToInfo = class {
|
|
|
510
510
|
};
|
|
511
511
|
HowToInfo.style = howToInfoCss;
|
|
512
512
|
|
|
513
|
-
const idAutoCaptureCss = "@keyframes capture-flash{0%{opacity:0}50%{opacity:1}100%{opacity:0}}.capture-flash-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:white;opacity:0;animation:capture-flash 0.2s ease-out;pointer-events:none;z-index:10;}.id-guide-rectangle{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:70%;padding-bottom:calc(70% / 1.58);border:3px dashed rgba(255, 255, 255, 0.7);border-radius:8px;z-index:5;pointer-events:none;box-sizing:border-box;}";
|
|
513
|
+
const idAutoCaptureCss = ".camera{color:white;display:flex;align-items:center;justify-content:center;position:relative}.cameraCanvas,.cameraCanvasSelfie,.cameraCanvasSelfieDesk{z-index:3;max-width:100%;max-height:100%;border-radius:10px}.cameraCanvasSelfie,.cameraCanvasSelfieDesk{transform:scale(-1, 1);-webkit-transform:scale(-1, 1)}.cameraVideo,.cameraVideoSelfie,.cameraVideoSelfieDesk{z-index:2;position:absolute;max-width:100%;max-height:100%;border-radius:10px}.cameraVideoSelfie,.cameraVideoSelfieDesk{transform:scale(-1, 1);-webkit-transform:scale(-1, 1)}@keyframes capture-flash{0%{opacity:0}50%{opacity:1}100%{opacity:0}}.capture-flash-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:white;opacity:0;animation:capture-flash 0.2s ease-out;pointer-events:none;z-index:10;}.id-guide-rectangle{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:70%;padding-bottom:calc(70% / 1.58);border:3px dashed rgba(255, 255, 255, 0.7);border-radius:8px;z-index:5;pointer-events:none;box-sizing:border-box;}";
|
|
514
514
|
|
|
515
515
|
const IdAutoCapture = class {
|
|
516
516
|
constructor(hostRef) {
|
|
@@ -775,12 +775,10 @@ const IdAutoCapture = class {
|
|
|
775
775
|
}
|
|
776
776
|
render() {
|
|
777
777
|
let cameraVideoClass = 'cameraVideo';
|
|
778
|
-
let cameraCanvasClass = 'cameraCanvas';
|
|
779
778
|
if (TranslationUtils.state.device.isDesktop) {
|
|
780
779
|
cameraVideoClass = 'cameraVideoSelfieDesk';
|
|
781
|
-
cameraCanvasClass = 'cameraCanvasSelfieDesk';
|
|
782
780
|
}
|
|
783
|
-
return (index.h("div", { key: '
|
|
781
|
+
return (index.h("div", { key: 'ce5db4f3296b82eddf8490e3e26d0702b77ef1da', class: "container flex center" }, index.h("div", { key: '24392189f60bbb43c1998352ecfae859764a15cf', class: "px-2 w-100" }, index.h("h1", { key: '7d4d416b98951f4a92430b5e9d20a9a3b9ce0e0c', class: this.titleStyle, innerHTML: this.titleMesage }), index.h("div", { key: '3bd8ec8be56e8b63337c33faffbb373260c5b916', hidden: this.verified }, index.h("div", { key: 'a4246f9f012205bc1a9ce8ee0bbbd0dc39715403', class: "w-100 h-100 rounded" }, index.h("div", { key: 'dda9c78dd458b9ee1e65a96d50a77e98189e51e3', class: "camera rounded" }, index.h("video", { key: '059675f57acb64395b193d59c375c97a50140429', id: "video", loop: true, autoplay: true, playsinline: true, muted: true, class: cameraVideoClass, ref: el => (this.videoElement = el) }), index.h("canvas", { key: '92c54972bc91b472462fcea477c94fa077471086', id: "output", ref: el => (this.canvasElement = el), style: { display: 'none' } }), index.h("canvas", { key: '8172d47f334dfe4b3d88683baa13258182dbd6f4', id: "processingCanvasElement", ref: el => (this.processingCanvasElement = el), style: { display: 'none' } }), index.h("div", { key: '171bf822a61d8b4b0ce34f98e85bc715e619e3a5', class: "id-guide-rectangle" }), this.isCapturing && index.h("div", { key: '179ad14e1a562f1ffb35038a7f3b94d83b08daa5', class: "capture-flash-overlay" }), this.countdown > 0 && (index.h("div", { key: '096ec6d92929894bca2e6760599bd34592aa146e', class: "absolute inset-0 bg-black bg-opacity-50 flex items-center justify-center" }, index.h("span", { key: '72c1cad37dffc7ef6a173a92e223c97ddd242ed4', class: "text-white text-9xl font-bold animate-bounce" }, this.countdown)))))), index.h("div", { key: '3fc9e8ac14cc72999d185c2a4b1bafd3cfa3faea', class: "footer text-center" }, index.h("img", { key: 'fc1a0ba31bca1c1f9bf11b38330a674d7c1a3480', src: Cameras.logoOntraceSvg })))));
|
|
784
782
|
}
|
|
785
783
|
get el() { return index.getElement(this); }
|
|
786
784
|
};
|
|
@@ -845,7 +843,7 @@ const IdSelection = class {
|
|
|
845
843
|
};
|
|
846
844
|
IdSelection.style = idSelectionCss;
|
|
847
845
|
|
|
848
|
-
const version$1 = "4.7.
|
|
846
|
+
const version$1 = "4.7.19";
|
|
849
847
|
var packageJson = {
|
|
850
848
|
version: version$1};
|
|
851
849
|
|