@ekyc_qoobiss/qbs-ect-cmp 3.6.26 → 3.6.28
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-check_19.cjs.entry.js +287 -759
- package/dist/cjs/base-component-aa9e52bf.js +832 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/qbs-ect-cmp.cjs.js +1 -1
- package/dist/cjs/random-actions.cjs.entry.js +3 -2
- package/dist/collection/components/base-component.js +4 -0
- package/dist/collection/components/common/agreement-check/agreement-check.js +5 -2
- package/dist/collection/components/common/camera-error/camera-error.js +6 -6
- package/dist/collection/components/common/capture-error/capture-error.js +10 -11
- package/dist/collection/components/common/how-to-info/how-to-info.js +8 -9
- package/dist/collection/components/common/id-back-capture/id-back-capture.js +7 -7
- package/dist/collection/components/common/id-capture/id-capture.js +4 -4
- package/dist/collection/components/common/id-tilt/id-tilt.js +4 -4
- package/dist/collection/components/common/random-actions/random-actions.js +6 -2
- package/dist/collection/components/common/selfie-capture/selfie-capture.js +4 -4
- package/dist/collection/components/common/selfie-tilt/selfie-tilt.js +6 -5
- package/dist/collection/components/flow/agreement-info/agreement-info.js +1 -2
- package/dist/collection/components/flow/end-redirect/end-redirect.js +6 -3
- package/dist/collection/components/flow/landing-validation/landing-validation.js +4 -4
- package/dist/collection/components/flow/mobile-redirect/mobile-redirect.js +6 -7
- package/dist/collection/components/flow/sms-code-validation/sms-code-validation.js +9 -10
- package/dist/collection/components/identification-component/identification-component.js +21 -0
- package/dist/collection/helpers/TranslationUtils.js +37 -0
- package/dist/collection/helpers/store.js +1 -0
- package/dist/collection/helpers/textValues.js +11 -108
- package/dist/collection/models/ITranslationValues.js +1 -0
- package/dist/esm/agreement-check_19.entry.js +80 -552
- package/dist/esm/base-component-b7f50d31.js +824 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/qbs-ect-cmp.js +1 -1
- package/dist/esm/random-actions.entry.js +3 -2
- package/dist/i18n/en.json +100 -0
- package/dist/i18n/ro.json +100 -0
- package/dist/i18n/ru.json +100 -0
- package/dist/qbs-ect-cmp/p-215a7e76.entry.js +1 -0
- package/dist/qbs-ect-cmp/p-7bedffaa.js +1 -0
- package/dist/qbs-ect-cmp/{p-40480abb.entry.js → p-c32a782a.entry.js} +2 -2
- package/dist/qbs-ect-cmp/qbs-ect-cmp.esm.js +1 -1
- package/dist/types/components/base-component.d.ts +2 -0
- package/dist/types/components/common/agreement-check/agreement-check.d.ts +1 -0
- package/dist/types/components/common/random-actions/random-actions.d.ts +2 -0
- package/dist/types/components/flow/end-redirect/end-redirect.d.ts +1 -0
- package/dist/types/components/identification-component/identification-component.d.ts +1 -0
- package/dist/types/components.d.ts +2 -0
- package/dist/types/helpers/TranslationUtils.d.ts +9 -0
- package/dist/types/helpers/textValues.d.ts +8 -95
- package/dist/types/models/IEctStore.d.ts +1 -0
- package/dist/types/models/ITranslationValues.d.ts +101 -0
- package/package.json +1 -1
- package/dist/cjs/store-f1a0f55c.js +0 -413
- package/dist/esm/store-fdeed827.js +0 -398
- package/dist/qbs-ect-cmp/p-0b381be5.js +0 -1
- package/dist/qbs-ect-cmp/p-6be3b9ca.entry.js +0 -1
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -14,7 +14,7 @@ const patchEsm = () => {
|
|
|
14
14
|
const defineCustomElements = (win, options) => {
|
|
15
15
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
16
16
|
return patchEsm().then(() => {
|
|
17
|
-
return index.bootstrapLazy([["loader-dots.cjs",[[1,"loader-dots"]]],["random-actions.cjs",[[0,"random-actions"]]],["agreement-check_19.cjs",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"idSide":[32],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"],[9,"scroll","handleScroll"]]],[0,"process-id",{"captureStep":[32],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"showError":[32],"captureStep":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-info",{"agreementsChecked":[32],"termsChecked":[32],"openAgreements":[32],"openTerms":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"]]],[0,"camera-error",{"title":[32],"description":[32],"buttonDisabled":[32],"demoVideo":[32]}],[0,"end-redirect"],[0,"error-end",{"message":[1],"errorTitle":[1,"error-title"]}],[0,"landing-validation",{"warningText":[32],"buttonDisabled":[32]}],[0,"mobile-redirect",{"infoTextTop":[32],"infoTextBottom":[32],"contact":[32],"invalidValue":[32],"waitingMobile":[32],"orderStatus":[32],"redirectLink":[32],"qrCode":[32],"prefilledPhone":[32]}],[0,"sms-code-validation",{"title":[32],"details":[32],"buttonText":[32],"phoneNumber":[32],"code":[32],"prefilledPhone":[32],"canSend":[32]}],[0,"id-back-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"verificationFinished","verificationFinished"],[0,"takePhoto","takePhoto"]]],[0,"id-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"id-tilt",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-tilt",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32],"scrollClass":[32]}],[0,"capture-error",{"type":[1],"buttonEnabled":[32],"buttonText":[32]}],[0,"how-to-info",{"idSide":[1,"id-side"],"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32]}],[0,"camera-comp",{"modelPath":[1,"model-path"],"probabilityThreshold":[2,"probability-threshold"],"captureMode":[1,"capture-mode"]}]]]], options);
|
|
17
|
+
return index.bootstrapLazy([["loader-dots.cjs",[[1,"loader-dots"]]],["random-actions.cjs",[[0,"random-actions"]]],["agreement-check_19.cjs",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"lang_iso":[1537],"idSide":[32],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"],[9,"scroll","handleScroll"]]],[0,"process-id",{"captureStep":[32],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"showError":[32],"captureStep":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-info",{"agreementsChecked":[32],"termsChecked":[32],"openAgreements":[32],"openTerms":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"]]],[0,"camera-error",{"title":[32],"description":[32],"buttonDisabled":[32],"demoVideo":[32]}],[0,"end-redirect"],[0,"error-end",{"message":[1],"errorTitle":[1,"error-title"]}],[0,"landing-validation",{"warningText":[32],"buttonDisabled":[32]}],[0,"mobile-redirect",{"infoTextTop":[32],"infoTextBottom":[32],"contact":[32],"invalidValue":[32],"waitingMobile":[32],"orderStatus":[32],"redirectLink":[32],"qrCode":[32],"prefilledPhone":[32]}],[0,"sms-code-validation",{"title":[32],"details":[32],"buttonText":[32],"phoneNumber":[32],"code":[32],"prefilledPhone":[32],"canSend":[32]}],[0,"id-back-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"verificationFinished","verificationFinished"],[0,"takePhoto","takePhoto"]]],[0,"id-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"id-tilt",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-tilt",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32],"scrollClass":[32]}],[0,"capture-error",{"type":[1],"buttonEnabled":[32],"buttonText":[32]}],[0,"how-to-info",{"idSide":[1,"id-side"],"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32]}],[0,"camera-comp",{"modelPath":[1,"model-path"],"probabilityThreshold":[2,"probability-threshold"],"captureMode":[1,"capture-mode"]}]]]], options);
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -17,7 +17,7 @@ const patchBrowser = () => {
|
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
patchBrowser().then(options => {
|
|
20
|
-
return index.bootstrapLazy([["loader-dots.cjs",[[1,"loader-dots"]]],["random-actions.cjs",[[0,"random-actions"]]],["agreement-check_19.cjs",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"idSide":[32],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"],[9,"scroll","handleScroll"]]],[0,"process-id",{"captureStep":[32],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"showError":[32],"captureStep":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-info",{"agreementsChecked":[32],"termsChecked":[32],"openAgreements":[32],"openTerms":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"]]],[0,"camera-error",{"title":[32],"description":[32],"buttonDisabled":[32],"demoVideo":[32]}],[0,"end-redirect"],[0,"error-end",{"message":[1],"errorTitle":[1,"error-title"]}],[0,"landing-validation",{"warningText":[32],"buttonDisabled":[32]}],[0,"mobile-redirect",{"infoTextTop":[32],"infoTextBottom":[32],"contact":[32],"invalidValue":[32],"waitingMobile":[32],"orderStatus":[32],"redirectLink":[32],"qrCode":[32],"prefilledPhone":[32]}],[0,"sms-code-validation",{"title":[32],"details":[32],"buttonText":[32],"phoneNumber":[32],"code":[32],"prefilledPhone":[32],"canSend":[32]}],[0,"id-back-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"verificationFinished","verificationFinished"],[0,"takePhoto","takePhoto"]]],[0,"id-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"id-tilt",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-tilt",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32],"scrollClass":[32]}],[0,"capture-error",{"type":[1],"buttonEnabled":[32],"buttonText":[32]}],[0,"how-to-info",{"idSide":[1,"id-side"],"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32]}],[0,"camera-comp",{"modelPath":[1,"model-path"],"probabilityThreshold":[2,"probability-threshold"],"captureMode":[1,"capture-mode"]}]]]], options);
|
|
20
|
+
return index.bootstrapLazy([["loader-dots.cjs",[[1,"loader-dots"]]],["random-actions.cjs",[[0,"random-actions"]]],["agreement-check_19.cjs",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"lang_iso":[1537],"idSide":[32],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"],[9,"scroll","handleScroll"]]],[0,"process-id",{"captureStep":[32],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"showError":[32],"captureStep":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-info",{"agreementsChecked":[32],"termsChecked":[32],"openAgreements":[32],"openTerms":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"]]],[0,"camera-error",{"title":[32],"description":[32],"buttonDisabled":[32],"demoVideo":[32]}],[0,"end-redirect"],[0,"error-end",{"message":[1],"errorTitle":[1,"error-title"]}],[0,"landing-validation",{"warningText":[32],"buttonDisabled":[32]}],[0,"mobile-redirect",{"infoTextTop":[32],"infoTextBottom":[32],"contact":[32],"invalidValue":[32],"waitingMobile":[32],"orderStatus":[32],"redirectLink":[32],"qrCode":[32],"prefilledPhone":[32]}],[0,"sms-code-validation",{"title":[32],"details":[32],"buttonText":[32],"phoneNumber":[32],"code":[32],"prefilledPhone":[32],"canSend":[32]}],[0,"id-back-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"verificationFinished","verificationFinished"],[0,"takePhoto","takePhoto"]]],[0,"id-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"id-tilt",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-tilt",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32],"scrollClass":[32]}],[0,"capture-error",{"type":[1],"buttonEnabled":[32],"buttonText":[32]}],[0,"how-to-info",{"idSide":[1,"id-side"],"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32]}],[0,"camera-comp",{"modelPath":[1,"model-path"],"probabilityThreshold":[2,"probability-threshold"],"captureMode":[1,"capture-mode"]}]]]], options);
|
|
21
21
|
});
|
|
22
22
|
|
|
23
23
|
exports.setNonce = index.setNonce;
|
|
@@ -3,18 +3,19 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-41696e0e.js');
|
|
6
|
-
const
|
|
6
|
+
const baseComponent = require('./base-component-aa9e52bf.js');
|
|
7
7
|
|
|
8
8
|
const randomActionsCss = "";
|
|
9
9
|
|
|
10
10
|
const RandomActions = class {
|
|
11
11
|
constructor(hostRef) {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
|
+
this.baseComponent = new baseComponent.BaseComponent(baseComponent.FlowSteps.SelfieTilt);
|
|
13
14
|
}
|
|
14
15
|
componentWillLoad() { }
|
|
15
16
|
buttonClick() { }
|
|
16
17
|
render() {
|
|
17
|
-
return (index.h("div", { class: "container" }, index.h("div", { class: "row" }, index.h("div", { class: "text-center" }, index.h("h1", null, this.topTitle)), index.h("div", { class: "pos-relative show-bottom" }, index.h("div", { class: "btn-buletin" }, index.h("button", { class: "main-button", onClick: () => this.buttonClick() }, this.buttonText), index.h("p", { class: "main-text font-size-18 text-right mb-0" },
|
|
18
|
+
return (index.h("div", { class: "container" }, index.h("div", { class: "row" }, index.h("div", { class: "text-center" }, index.h("h1", null, this.topTitle)), index.h("div", { class: "pos-relative show-bottom" }, index.h("div", { class: "btn-buletin" }, index.h("button", { class: "main-button", onClick: () => this.buttonClick() }, this.buttonText), index.h("p", { class: "main-text font-size-18 text-right mb-0" }, this.baseComponent.translations.GlobalValues.FooterText))))));
|
|
18
19
|
}
|
|
19
20
|
};
|
|
20
21
|
RandomActions.style = randomActionsCss;
|
|
@@ -3,6 +3,7 @@ import { DeviceDetection } from '../helpers/DeviceDetection';
|
|
|
3
3
|
import Events from '../helpers/Events';
|
|
4
4
|
import store from '../helpers/store';
|
|
5
5
|
import { FlowMoments } from '../models/FlowSteps';
|
|
6
|
+
import { Translations } from '../helpers/TranslationUtils';
|
|
6
7
|
export class BaseComponent {
|
|
7
8
|
constructor(step) {
|
|
8
9
|
this.apiErrorEvent = null;
|
|
@@ -13,6 +14,9 @@ export class BaseComponent {
|
|
|
13
14
|
if (!store.device) {
|
|
14
15
|
store.device = new DeviceDetection().getDevice();
|
|
15
16
|
}
|
|
17
|
+
Translations.getValues().then(data => {
|
|
18
|
+
this.translations = data;
|
|
19
|
+
});
|
|
16
20
|
}
|
|
17
21
|
setEventEmitter(event) {
|
|
18
22
|
this.apiErrorEvent = event;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { h } from '@stencil/core';
|
|
2
2
|
import { ApiCall } from '../../../helpers/ApiCall';
|
|
3
|
-
import {
|
|
3
|
+
import { FlowSteps } from '../../../models/FlowSteps';
|
|
4
|
+
import { BaseComponent } from '../../base-component';
|
|
4
5
|
export class AgreementCheck {
|
|
5
6
|
constructor() {
|
|
6
7
|
this.agreementType = undefined;
|
|
@@ -9,6 +10,8 @@ export class AgreementCheck {
|
|
|
9
10
|
this.scrollClass = 'scroll';
|
|
10
11
|
this.apiCalls = new ApiCall();
|
|
11
12
|
this.buttonEnabled = true;
|
|
13
|
+
this.baseComponent = new BaseComponent(FlowSteps.CameraError);
|
|
14
|
+
this.baseComponent.setEventEmitter(this.apiErrorEvent);
|
|
12
15
|
}
|
|
13
16
|
async componentDidLoad() {
|
|
14
17
|
try {
|
|
@@ -23,7 +26,7 @@ export class AgreementCheck {
|
|
|
23
26
|
this.agreementAcceptance.emit({ agreementType: this.agreementType, result });
|
|
24
27
|
}
|
|
25
28
|
render() {
|
|
26
|
-
let content = (h("div", { class: "container" }, h("div", { class: "row" }, h("div", { class: this.scrollClass, innerHTML: this.htmlContent }), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("div", { class: "d-flex two-buttons" }, h("button", { class: "normal-button red-button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick(false) }, AgreementCheckValues.ButtonNo), h("button", { class: "normal-button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick(true) }, AgreementCheckValues.ButtonYes)), h("p", { class: "main-text font-size-18 text-right mb-0" },
|
|
29
|
+
let content = (h("div", { class: "container" }, h("div", { class: "row" }, h("div", { class: this.scrollClass, innerHTML: this.htmlContent }), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("div", { class: "d-flex two-buttons" }, h("button", { class: "normal-button red-button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick(false) }, this.baseComponent.translations.AgreementCheckValues.ButtonNo), h("button", { class: "normal-button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick(true) }, this.baseComponent.translations.AgreementCheckValues.ButtonYes)), h("p", { class: "main-text font-size-18 text-right mb-0" }, this.baseComponent.translations.GlobalValues.FooterText))))));
|
|
27
30
|
return this.htmlContent ? content : h("div", null);
|
|
28
31
|
}
|
|
29
32
|
static get is() { return "agreement-check"; }
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from '@stencil/core';
|
|
2
|
-
import {
|
|
2
|
+
import { SessionKeys } from '../../../helpers/textValues';
|
|
3
3
|
import store from '../../../helpers/store';
|
|
4
4
|
import { FlowStatus } from '../../../models/FlowStatus';
|
|
5
5
|
import { FlowSteps } from '../../../models/FlowSteps';
|
|
@@ -16,14 +16,14 @@ export class CameraError {
|
|
|
16
16
|
}
|
|
17
17
|
async componentWillLoad() {
|
|
18
18
|
this.buttonDisabled = false;
|
|
19
|
-
this.title = CameraErrorValues.Title;
|
|
20
|
-
this.description = CameraErrorValues.Description;
|
|
21
|
-
this.buttonText = CameraErrorValues.Button;
|
|
19
|
+
this.title = this.baseComponent.translations.CameraErrorValues.Title;
|
|
20
|
+
this.description = this.baseComponent.translations.CameraErrorValues.Description;
|
|
21
|
+
this.buttonText = this.baseComponent.translations.CameraErrorValues.Button;
|
|
22
22
|
}
|
|
23
23
|
async componentDidLoad() {
|
|
24
24
|
await this.baseComponent.initialize();
|
|
25
25
|
if (store.device.mobileOS != MobileOS.iOS) {
|
|
26
|
-
this.demoVideo.src = CameraErrorValues.HowToLink;
|
|
26
|
+
this.demoVideo.src = this.baseComponent.translations.CameraErrorValues.HowToLink;
|
|
27
27
|
this.demoVideo.loop = true;
|
|
28
28
|
this.demoVideo.play();
|
|
29
29
|
}
|
|
@@ -49,7 +49,7 @@ export class CameraError {
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
|
-
return (h("div", { class: "container" }, h("div", { class: "row" }, h("h1", { class: "color-red" }, this.title), h("div", null, h("p", { class: "color-red font-weight-bold font-size-25 mt-5" }, this.description)), h("div", { hidden: store.device.mobileOS == MobileOS.iOS }, h("video", { id: "howtoPermissions", class: "video-demo", playsinline: true, ref: el => (this.demoVideo = el) }, h("source", { type: "video/mp4" }))), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("button", { class: "main-button", type: "button", disabled: this.buttonDisabled, onClick: () => this.buttonClick() }, this.buttonText), h("p", { class: "main-text font-size-18 text-right mb-0" },
|
|
52
|
+
return (h("div", { class: "container" }, h("div", { class: "row" }, h("h1", { class: "color-red" }, this.title), h("div", null, h("p", { class: "color-red font-weight-bold font-size-25 mt-5" }, this.description)), h("div", { hidden: store.device.mobileOS == MobileOS.iOS }, h("video", { id: "howtoPermissions", class: "video-demo", playsinline: true, ref: el => (this.demoVideo = el) }, h("source", { type: "video/mp4" }))), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("button", { class: "main-button", type: "button", disabled: this.buttonDisabled, onClick: () => this.buttonClick() }, this.buttonText), h("p", { class: "main-text font-size-18 text-right mb-0" }, this.baseComponent.translations.GlobalValues.FooterText))))));
|
|
53
53
|
}
|
|
54
54
|
static get is() { return "camera-error"; }
|
|
55
55
|
static get originalStyleUrls() {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { h } from '@stencil/core';
|
|
2
|
-
import { IdCaptureValues, SelfieCaptureValues } from '../../../helpers/textValues';
|
|
3
2
|
import { delay } from '../../../utils/utils';
|
|
4
3
|
import { BaseComponent } from '../../base-component';
|
|
5
4
|
import { FlowMoments, FlowSteps } from '../../../models/FlowSteps';
|
|
@@ -13,16 +12,16 @@ export class CaptureError {
|
|
|
13
12
|
async componentWillLoad() {
|
|
14
13
|
this.buttonEnabled = false;
|
|
15
14
|
if (this.type == 'ID') {
|
|
16
|
-
this.titleR1 = IdCaptureValues.ErrorTitleR1;
|
|
17
|
-
this.titleR2 = IdCaptureValues.ErrorTitleR2;
|
|
18
|
-
this.descriptionR1 = IdCaptureValues.ErrorR1;
|
|
19
|
-
this.descriptionR2 = IdCaptureValues.ErrorR2;
|
|
15
|
+
this.titleR1 = this.baseComponent.translations.IdCaptureValues.ErrorTitleR1;
|
|
16
|
+
this.titleR2 = this.baseComponent.translations.IdCaptureValues.ErrorTitleR2;
|
|
17
|
+
this.descriptionR1 = this.baseComponent.translations.IdCaptureValues.ErrorR1;
|
|
18
|
+
this.descriptionR2 = this.baseComponent.translations.IdCaptureValues.ErrorR2;
|
|
20
19
|
}
|
|
21
20
|
if (this.type == 'LIVENESS') {
|
|
22
|
-
this.titleR1 = SelfieCaptureValues.ErrorTitleR1;
|
|
23
|
-
this.titleR2 = SelfieCaptureValues.ErrorTitleR2;
|
|
24
|
-
this.descriptionR1 = SelfieCaptureValues.ErrorR1;
|
|
25
|
-
this.descriptionR2 = SelfieCaptureValues.ErrorR2;
|
|
21
|
+
this.titleR1 = this.baseComponent.translations.SelfieCaptureValues.ErrorTitleR1;
|
|
22
|
+
this.titleR2 = this.baseComponent.translations.SelfieCaptureValues.ErrorTitleR2;
|
|
23
|
+
this.descriptionR1 = this.baseComponent.translations.SelfieCaptureValues.ErrorR1;
|
|
24
|
+
this.descriptionR2 = this.baseComponent.translations.SelfieCaptureValues.ErrorR2;
|
|
26
25
|
}
|
|
27
26
|
}
|
|
28
27
|
async componentDidLoad() {
|
|
@@ -31,7 +30,7 @@ export class CaptureError {
|
|
|
31
30
|
this.buttonText = i.toString();
|
|
32
31
|
await delay(1000);
|
|
33
32
|
}
|
|
34
|
-
this.buttonText = IdCaptureValues.Button;
|
|
33
|
+
this.buttonText = this.baseComponent.translations.IdCaptureValues.Button;
|
|
35
34
|
this.buttonEnabled = true;
|
|
36
35
|
}
|
|
37
36
|
async buttonClick() {
|
|
@@ -40,7 +39,7 @@ export class CaptureError {
|
|
|
40
39
|
this.eventCaptureErrorDone.emit();
|
|
41
40
|
}
|
|
42
41
|
render() {
|
|
43
|
-
return (h("div", { class: "container" }, h("div", { class: "row" }, h("h1", { class: "color-red" }, this.titleR1), h("h1", { class: "color-red" }, this.titleR2), h("div", null, h("p", { class: "color-red font-weight-bold font-size-25 mt-5" }, this.descriptionR1), h("p", { class: "color-red font-weight-bold font-size-25 mt-5" }, this.descriptionR2)), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("button", { class: "main-button", type: "button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick() }, this.buttonText), h("p", { class: "main-text font-size-18 text-right mb-0" },
|
|
42
|
+
return (h("div", { class: "container" }, h("div", { class: "row" }, h("h1", { class: "color-red" }, this.titleR1), h("h1", { class: "color-red" }, this.titleR2), h("div", null, h("p", { class: "color-red font-weight-bold font-size-25 mt-5" }, this.descriptionR1), h("p", { class: "color-red font-weight-bold font-size-25 mt-5" }, this.descriptionR2)), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("button", { class: "main-button", type: "button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick() }, this.buttonText), h("p", { class: "main-text font-size-18 text-right mb-0" }, this.baseComponent.translations.GlobalValues.FooterText))))));
|
|
44
43
|
}
|
|
45
44
|
static get is() { return "capture-error"; }
|
|
46
45
|
static get originalStyleUrls() {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { h } from '@stencil/core';
|
|
2
|
-
import { HowToValues } from '../../../helpers/textValues';
|
|
3
2
|
import store from '../../../helpers/store';
|
|
4
3
|
import { FlowStatus } from '../../../models/FlowStatus';
|
|
5
4
|
import { BaseComponent } from '../../base-component';
|
|
@@ -20,30 +19,30 @@ export class HowToInfo {
|
|
|
20
19
|
this.subTitle = '';
|
|
21
20
|
this.buttonEnabled = true;
|
|
22
21
|
if (store.flowStatus == FlowStatus.ID) {
|
|
23
|
-
this.topTitle = HowToValues.IdTitile;
|
|
22
|
+
this.topTitle = this.baseComponent.translations.HowToValues.IdTitile;
|
|
24
23
|
this.imagePath = 'https://ekyc.blob.core.windows.net/$web/howto_id.png';
|
|
25
|
-
this.buttonText = HowToValues.IdButton;
|
|
24
|
+
this.buttonText = this.baseComponent.translations.HowToValues.IdButton;
|
|
26
25
|
if (this.idSide == 'front') {
|
|
27
26
|
this.baseComponent = new BaseComponent(FlowSteps.CiFrontHowTo);
|
|
28
|
-
this.subTitle = HowToValues.IdSubTitileFace;
|
|
27
|
+
this.subTitle = this.baseComponent.translations.HowToValues.IdSubTitileFace;
|
|
29
28
|
}
|
|
30
29
|
if (this.idSide == 'back') {
|
|
31
30
|
this.baseComponent = new BaseComponent(FlowSteps.CiBackHowTo);
|
|
32
|
-
this.subTitle = HowToValues.IdSubTitileBack;
|
|
31
|
+
this.subTitle = this.baseComponent.translations.HowToValues.IdSubTitileBack;
|
|
33
32
|
}
|
|
34
33
|
}
|
|
35
34
|
if (store.flowStatus == FlowStatus.LIVENESS) {
|
|
36
35
|
this.baseComponent = new BaseComponent(FlowSteps.SelfieHowTo);
|
|
37
|
-
this.topTitle = HowToValues.SelfieTitile;
|
|
38
|
-
this.subTitle = HowToValues.SelfieSubTitile;
|
|
36
|
+
this.topTitle = this.baseComponent.translations.HowToValues.SelfieTitile;
|
|
37
|
+
this.subTitle = this.baseComponent.translations.HowToValues.SelfieSubTitile;
|
|
39
38
|
this.imagePath = 'https://ekyc.blob.core.windows.net/$web/howto_selfie.png';
|
|
40
|
-
this.buttonText = HowToValues.SelfieButton;
|
|
39
|
+
this.buttonText = this.baseComponent.translations.HowToValues.SelfieButton;
|
|
41
40
|
}
|
|
42
41
|
this.baseComponent.setEventEmitter(this.apiErrorEvent);
|
|
43
42
|
}
|
|
44
43
|
render() {
|
|
45
44
|
let sub = this.subTitle != '' ? h("p", { class: "font-size-2" }, this.subTitle) : null;
|
|
46
|
-
return (h("div", { class: "container" }, h("div", { class: "row" }, h("div", { class: "div-ci align-center" }, h("img", { src: this.imagePath })), h("div", { class: "text-center" }, h("h1", null, this.topTitle), sub), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("button", { class: "main-button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick() }, this.buttonText), h("p", { class: "main-text font-size-18 text-right mb-0" },
|
|
45
|
+
return (h("div", { class: "container" }, h("div", { class: "row" }, h("div", { class: "div-ci align-center" }, h("img", { src: this.imagePath })), h("div", { class: "text-center" }, h("h1", null, this.topTitle), sub), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("button", { class: "main-button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick() }, this.buttonText), h("p", { class: "main-text font-size-18 text-right mb-0" }, this.baseComponent.translations.GlobalValues.FooterText))))));
|
|
47
46
|
}
|
|
48
47
|
static get is() { return "how-to-info"; }
|
|
49
48
|
static get originalStyleUrls() {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { h } from '@stencil/core';
|
|
2
2
|
import { Cameras } from '../../../helpers/Cameras';
|
|
3
3
|
import { Stream } from '../../../helpers/Stream';
|
|
4
|
-
import { IdCaptureValues } from '../../../helpers/textValues';
|
|
5
4
|
import { IDML5Detector } from '../../../libs/IDML5Detector/IDML5Detector';
|
|
6
5
|
import { FaceML5Detector } from '../../../libs/FaceML5Detector/FaceML5Detector';
|
|
7
6
|
import { IDPose } from '../../../libs/IDML5Detector/IDPose';
|
|
@@ -10,6 +9,7 @@ import store from '../../../helpers/store';
|
|
|
10
9
|
import { BaseComponent } from '../../base-component';
|
|
11
10
|
import { FlowMoments, FlowSteps } from '../../../models/FlowSteps';
|
|
12
11
|
import { VerificationMode } from '../../../models/IVerificationMode';
|
|
12
|
+
import { IdCaptureValues } from '../../../helpers/textValues';
|
|
13
13
|
// import { IDPose } from '../../libs/IDML5Detector/IDPose';
|
|
14
14
|
export class IdBackCapture {
|
|
15
15
|
// @State() private animationPath: string;
|
|
@@ -43,14 +43,14 @@ export class IdBackCapture {
|
|
|
43
43
|
}
|
|
44
44
|
async componentDidLoad() {
|
|
45
45
|
await this.baseComponent.logStep(FlowSteps.CiBackCapture, FlowMoments.Initialized);
|
|
46
|
-
this.titleMesage = IdCaptureValues.TtileRotate;
|
|
46
|
+
this.titleMesage = this.baseComponent.translations.IdCaptureValues.TtileRotate;
|
|
47
47
|
this.demoVideo.src = IdCaptureValues.IDPoseDemoMapping[IDPose.Rotate];
|
|
48
48
|
this.demoVideo.play();
|
|
49
|
-
await delay(
|
|
50
|
-
this.titleMesage = IdCaptureValues.TitleBack;
|
|
49
|
+
await delay(this.baseComponent.translations.GlobalValues.VideoLenght);
|
|
50
|
+
this.titleMesage = this.baseComponent.translations.IdCaptureValues.TitleBack;
|
|
51
51
|
this.demoVideo.src = IdCaptureValues.IDPoseDemoMapping[IDPose.BackStraight];
|
|
52
52
|
this.demoVideo.play();
|
|
53
|
-
await delay(
|
|
53
|
+
await delay(this.baseComponent.translations.GlobalValues.VideoLenght);
|
|
54
54
|
this.showDemo = false;
|
|
55
55
|
this.openCamera();
|
|
56
56
|
}
|
|
@@ -84,7 +84,7 @@ export class IdBackCapture {
|
|
|
84
84
|
if (this.verified)
|
|
85
85
|
return;
|
|
86
86
|
this.verified = true;
|
|
87
|
-
this.titleMesage = IdCaptureValues.Loading;
|
|
87
|
+
this.titleMesage = this.baseComponent.translations.IdCaptureValues.Loading;
|
|
88
88
|
this.closeCamera();
|
|
89
89
|
this.showDemo = true;
|
|
90
90
|
this.demoVideo.src = 'https://ekyc.blob.core.windows.net/$web/animations/uploading_id.mp4';
|
|
@@ -109,7 +109,7 @@ export class IdBackCapture {
|
|
|
109
109
|
let titleClass = this.verified ? 'color-black-2 text-center' : 'color-white text-center';
|
|
110
110
|
//let videoClass = this.device.isMobile ? '' : 'video-demo';
|
|
111
111
|
let bgDemo = this.verified ? 'container' : 'container bg-black';
|
|
112
|
-
return (h("div", { class: bgDemo }, h("div", { class: "container-video" }, h("div", { hidden: this.showDemo == false }, h("video", { id: "howtoBack", class: "video-demo", playsinline: true, ref: el => (this.demoVideo = el) }, h("source", { type: "video/mp4" }))), h("div", { hidden: this.showDemo }, h("div", { hidden: this.verified }, h("div", { class: "video-capture" }, h("div", { style: cameraStyle }, h("div", { style: cameraStyleInner }, h("camera-comp", { "capture-mode": "id" })))))), h("div", { class: "capture-title" }, h("h1", { class: titleClass }, this.titleMesage), h("p", { class: "main-text font-size-18 text-right mb-0" },
|
|
112
|
+
return (h("div", { class: bgDemo }, h("div", { class: "container-video" }, h("div", { hidden: this.showDemo == false }, h("video", { id: "howtoBack", class: "video-demo", playsinline: true, ref: el => (this.demoVideo = el) }, h("source", { type: "video/mp4" }))), h("div", { hidden: this.showDemo }, h("div", { hidden: this.verified }, h("div", { class: "video-capture" }, h("div", { style: cameraStyle }, h("div", { style: cameraStyleInner }, h("camera-comp", { "capture-mode": "id" })))))), h("div", { class: "capture-title" }, h("h1", { class: titleClass }, this.titleMesage), h("p", { class: "main-text font-size-18 text-right mb-0" }, this.baseComponent.translations.GlobalValues.FooterText)))));
|
|
113
113
|
}
|
|
114
114
|
static get is() { return "id-back-capture"; }
|
|
115
115
|
static get originalStyleUrls() {
|
|
@@ -36,7 +36,7 @@ export class IdCapture {
|
|
|
36
36
|
this.cameraSize = event.detail;
|
|
37
37
|
}
|
|
38
38
|
async componentWillLoad() {
|
|
39
|
-
this.titleMesage = IdCaptureValues.Title;
|
|
39
|
+
this.titleMesage = this.baseComponent.translations.IdCaptureValues.Title;
|
|
40
40
|
//this.videoDemoStyle = this.device.isMobile ? { 'width': window.screen.width + 'px', 'height': window.screen.height + 'px', 'object-fit': 'fill' } : {};
|
|
41
41
|
if (!navigator.mediaDevices) {
|
|
42
42
|
this.apiErrorEvent.emit({ message: 'This browser does not support webRTC' });
|
|
@@ -46,7 +46,7 @@ export class IdCapture {
|
|
|
46
46
|
await this.baseComponent.logStep(FlowSteps.CiFrontCapture, FlowMoments.Initialized);
|
|
47
47
|
this.demoVideo.src = IdCaptureValues.IDPoseDemoMapping[IDPose.Straight];
|
|
48
48
|
this.demoVideo.play();
|
|
49
|
-
await delay(
|
|
49
|
+
await delay(this.baseComponent.translations.GlobalValues.VideoLenght);
|
|
50
50
|
this.showDemo = false;
|
|
51
51
|
this.openCamera();
|
|
52
52
|
}
|
|
@@ -88,7 +88,7 @@ export class IdCapture {
|
|
|
88
88
|
if (this.verified)
|
|
89
89
|
return;
|
|
90
90
|
this.verified = true;
|
|
91
|
-
this.titleMesage = IdCaptureValues.Loading;
|
|
91
|
+
this.titleMesage = this.baseComponent.translations.IdCaptureValues.Loading;
|
|
92
92
|
this.closeCamera();
|
|
93
93
|
this.showDemo = true;
|
|
94
94
|
this.demoVideo.src = 'https://ekyc.blob.core.windows.net/$web/animations/uploading_id.mp4';
|
|
@@ -110,7 +110,7 @@ export class IdCapture {
|
|
|
110
110
|
let titleClass = this.verified ? 'color-black-2 text-center' : 'color-white text-center';
|
|
111
111
|
//let videoClass = this.device.isMobile ? '' : 'video-demo';
|
|
112
112
|
let bgDemo = this.verified ? 'container' : 'container bg-black';
|
|
113
|
-
return (h("div", { class: bgDemo }, h("div", { class: "container-video" }, h("div", { hidden: this.showDemo == false }, h("video", { id: "howtoFront", class: "video-demo", playsinline: true, ref: el => (this.demoVideo = el) }, h("source", { type: "video/mp4" }))), h("div", { hidden: this.showDemo }, h("div", { hidden: this.verified }, h("div", { class: "video-capture" }, h("div", { style: cameraStyle }, h("div", { style: cameraStyleInner }, h("camera-comp", { "capture-mode": "id" })))))), h("div", { class: "capture-title" }, h("h1", { class: titleClass }, this.titleMesage), h("p", { class: "main-text font-size-18 text-right mb-0" },
|
|
113
|
+
return (h("div", { class: bgDemo }, h("div", { class: "container-video" }, h("div", { hidden: this.showDemo == false }, h("video", { id: "howtoFront", class: "video-demo", playsinline: true, ref: el => (this.demoVideo = el) }, h("source", { type: "video/mp4" }))), h("div", { hidden: this.showDemo }, h("div", { hidden: this.verified }, h("div", { class: "video-capture" }, h("div", { style: cameraStyle }, h("div", { style: cameraStyleInner }, h("camera-comp", { "capture-mode": "id" })))))), h("div", { class: "capture-title" }, h("h1", { class: titleClass }, this.titleMesage), h("p", { class: "main-text font-size-18 text-right mb-0" }, this.baseComponent.translations.GlobalValues.FooterText)))));
|
|
114
114
|
}
|
|
115
115
|
static get is() { return "id-capture"; }
|
|
116
116
|
static get originalStyleUrls() {
|
|
@@ -36,7 +36,7 @@ export class IdTilt {
|
|
|
36
36
|
this.cameraSize = event.detail;
|
|
37
37
|
}
|
|
38
38
|
async componentWillLoad() {
|
|
39
|
-
this.titleMesage = IdCaptureValues.IDPoseMapping
|
|
39
|
+
this.titleMesage = this.baseComponent.translations.IdCaptureValues.IDPoseMapping;
|
|
40
40
|
//this.videoDemoStyle = this.device.isMobile ? { 'width': window.screen.width + 'px', 'height': window.screen.height + 'px', 'object-fit': 'fill' } : {};
|
|
41
41
|
if (!navigator.mediaDevices) {
|
|
42
42
|
this.apiErrorEvent.emit({ message: 'This browser does not support webRTC' });
|
|
@@ -46,7 +46,7 @@ export class IdTilt {
|
|
|
46
46
|
await this.baseComponent.logStep(FlowSteps.CiTilt, FlowMoments.Initialized);
|
|
47
47
|
this.demoVideo.src = IdCaptureValues.IDPoseDemoMapping[IDPose.Tilted];
|
|
48
48
|
this.demoVideo.play();
|
|
49
|
-
await delay(
|
|
49
|
+
await delay(this.baseComponent.translations.GlobalValues.VideoLenght);
|
|
50
50
|
this.showDemo = false;
|
|
51
51
|
this.openCamera();
|
|
52
52
|
}
|
|
@@ -88,7 +88,7 @@ export class IdTilt {
|
|
|
88
88
|
if (this.verified)
|
|
89
89
|
return;
|
|
90
90
|
this.verified = true;
|
|
91
|
-
this.titleMesage = IdCaptureValues.Loading;
|
|
91
|
+
this.titleMesage = this.baseComponent.translations.IdCaptureValues.Loading;
|
|
92
92
|
this.closeCamera();
|
|
93
93
|
this.showDemo = true;
|
|
94
94
|
this.demoVideo.src = 'https://ekyc.blob.core.windows.net/$web/animations/uploading_id.mp4';
|
|
@@ -110,7 +110,7 @@ export class IdTilt {
|
|
|
110
110
|
let titleClass = this.verified ? 'color-black-2 text-center' : 'color-white text-center';
|
|
111
111
|
//let videoClass = this.device.isMobile ? '' : 'video-demo';
|
|
112
112
|
let bgDemo = this.verified ? 'container' : 'container bg-black';
|
|
113
|
-
return (h("div", { class: bgDemo }, h("div", { class: "container-video" }, h("div", { hidden: this.showDemo == false }, h("video", { id: "howtoFront", class: "video-demo", playsinline: true, ref: el => (this.demoVideo = el) }, h("source", { type: "video/mp4" }))), h("div", { hidden: this.showDemo }, h("div", { hidden: this.verified }, h("div", { class: "video-capture" }, h("div", { style: cameraStyle }, h("div", { style: cameraStyleInner }, h("camera-comp", { "capture-mode": "tilt" })))))), h("div", { class: "capture-title" }, h("h1", { class: titleClass }, this.titleMesage), h("p", { class: "main-text font-size-18 text-right mb-0" },
|
|
113
|
+
return (h("div", { class: bgDemo }, h("div", { class: "container-video" }, h("div", { hidden: this.showDemo == false }, h("video", { id: "howtoFront", class: "video-demo", playsinline: true, ref: el => (this.demoVideo = el) }, h("source", { type: "video/mp4" }))), h("div", { hidden: this.showDemo }, h("div", { hidden: this.verified }, h("div", { class: "video-capture" }, h("div", { style: cameraStyle }, h("div", { style: cameraStyleInner }, h("camera-comp", { "capture-mode": "tilt" })))))), h("div", { class: "capture-title" }, h("h1", { class: titleClass }, this.titleMesage), h("p", { class: "main-text font-size-18 text-right mb-0" }, this.baseComponent.translations.GlobalValues.FooterText)))));
|
|
114
114
|
}
|
|
115
115
|
static get is() { return "id-tilt"; }
|
|
116
116
|
static get originalStyleUrls() {
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { h } from '@stencil/core';
|
|
2
|
-
import {
|
|
2
|
+
import { BaseComponent } from '../../base-component';
|
|
3
|
+
import { FlowSteps } from '../../../models/FlowSteps';
|
|
3
4
|
export class RandomActions {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.baseComponent = new BaseComponent(FlowSteps.SelfieTilt);
|
|
7
|
+
}
|
|
4
8
|
componentWillLoad() { }
|
|
5
9
|
buttonClick() { }
|
|
6
10
|
render() {
|
|
7
|
-
return (h("div", { class: "container" }, h("div", { class: "row" }, h("div", { class: "text-center" }, h("h1", null, this.topTitle)), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("button", { class: "main-button", onClick: () => this.buttonClick() }, this.buttonText), h("p", { class: "main-text font-size-18 text-right mb-0" },
|
|
11
|
+
return (h("div", { class: "container" }, h("div", { class: "row" }, h("div", { class: "text-center" }, h("h1", null, this.topTitle)), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("button", { class: "main-button", onClick: () => this.buttonClick() }, this.buttonText), h("p", { class: "main-text font-size-18 text-right mb-0" }, this.baseComponent.translations.GlobalValues.FooterText))))));
|
|
8
12
|
}
|
|
9
13
|
static get is() { return "random-actions"; }
|
|
10
14
|
static get originalStyleUrls() {
|
|
@@ -40,7 +40,7 @@ export class SelfieCapture {
|
|
|
40
40
|
this.captureWidth = Math.round((this.captureHeight * 9) / 16);
|
|
41
41
|
}
|
|
42
42
|
componentWillLoad() {
|
|
43
|
-
this.titleMesage = SelfieCaptureValues.Title;
|
|
43
|
+
this.titleMesage = this.baseComponent.translations.SelfieCaptureValues.Title;
|
|
44
44
|
//this.videoDemoStyle = this.device.isMobile ? { 'width': window.screen.width + 'px', 'height': window.screen.height + 'px', 'object-fit': 'fill' } : {};
|
|
45
45
|
if (!navigator.mediaDevices) {
|
|
46
46
|
this.apiErrorEvent.emit({ message: 'This browser does not support webRTC' });
|
|
@@ -50,7 +50,7 @@ export class SelfieCapture {
|
|
|
50
50
|
await this.baseComponent.logStep(FlowSteps.SelfieCapture, FlowMoments.Initialized);
|
|
51
51
|
this.demoVideo.src = SelfieCaptureValues.FacePoseDemoMapping[FacePose.Main];
|
|
52
52
|
this.demoVideo.play();
|
|
53
|
-
await delay(
|
|
53
|
+
await delay(this.baseComponent.translations.GlobalValues.VideoLenght);
|
|
54
54
|
this.demoEnded = true;
|
|
55
55
|
this.openCamera();
|
|
56
56
|
}
|
|
@@ -91,7 +91,7 @@ export class SelfieCapture {
|
|
|
91
91
|
if (this.verified)
|
|
92
92
|
return;
|
|
93
93
|
this.verified = true;
|
|
94
|
-
this.titleMesage = SelfieCaptureValues.Loading;
|
|
94
|
+
this.titleMesage = this.baseComponent.translations.SelfieCaptureValues.Loading;
|
|
95
95
|
this.closeCamera();
|
|
96
96
|
this.demoEnded = false;
|
|
97
97
|
this.demoVideo.src = this.uploadingLink;
|
|
@@ -113,7 +113,7 @@ export class SelfieCapture {
|
|
|
113
113
|
let titleClass = this.verified ? 'color-black-2 text-center' : 'color-white text-center';
|
|
114
114
|
//let videoClass = this.device.isMobile ? '' : 'video-demo';
|
|
115
115
|
let bgDemo = this.verified ? 'container' : 'container bg-black';
|
|
116
|
-
return (h("div", { class: bgDemo }, h("div", { class: "container-video" }, h("div", { hidden: this.demoEnded }, h("video", { id: "howtoSelfie", class: "video-demo", playsinline: true, ref: el => (this.demoVideo = el) }, h("source", { type: "video/mp4" }))), h("div", { hidden: this.demoEnded == false }, h("div", { hidden: this.verified }, h("div", { class: "video-capture" }, h("div", { style: cameraStyle }, h("camera-comp", { "capture-mode": "selfie" }))))), h("div", { class: "capture-title" }, h("h1", { class: titleClass }, this.titleMesage), h("p", { class: "main-text font-size-18 text-right mb-0" },
|
|
116
|
+
return (h("div", { class: bgDemo }, h("div", { class: "container-video" }, h("div", { hidden: this.demoEnded }, h("video", { id: "howtoSelfie", class: "video-demo", playsinline: true, ref: el => (this.demoVideo = el) }, h("source", { type: "video/mp4" }))), h("div", { hidden: this.demoEnded == false }, h("div", { hidden: this.verified }, h("div", { class: "video-capture" }, h("div", { style: cameraStyle }, h("camera-comp", { "capture-mode": "selfie" }))))), h("div", { class: "capture-title" }, h("h1", { class: titleClass }, this.titleMesage), h("p", { class: "main-text font-size-18 text-right mb-0" }, this.baseComponent.translations.GlobalValues.FooterText)))));
|
|
117
117
|
}
|
|
118
118
|
static get is() { return "selfie-capture"; }
|
|
119
119
|
static get originalStyleUrls() {
|
|
@@ -8,6 +8,7 @@ import store from '../../../helpers/store';
|
|
|
8
8
|
import { BaseComponent } from '../../base-component';
|
|
9
9
|
import { FlowMoments, FlowSteps } from '../../../models/FlowSteps';
|
|
10
10
|
import { VerificationMode } from '../../../models/IVerificationMode';
|
|
11
|
+
import { FacePose } from '../../../libs/FaceML5Detector/FacePose';
|
|
11
12
|
export class SelfieTilt {
|
|
12
13
|
// @State() private animationPath: string;
|
|
13
14
|
constructor() {
|
|
@@ -39,7 +40,7 @@ export class SelfieTilt {
|
|
|
39
40
|
this.captureWidth = Math.round((this.captureHeight * 9) / 16);
|
|
40
41
|
}
|
|
41
42
|
componentWillLoad() {
|
|
42
|
-
this.titleMesage = SelfieCaptureValues.Title;
|
|
43
|
+
this.titleMesage = this.baseComponent.translations.SelfieCaptureValues.Title;
|
|
43
44
|
//this.videoDemoStyle = this.device.isMobile ? { 'width': window.screen.width + 'px', 'height': window.screen.height + 'px', 'object-fit': 'fill' } : {};
|
|
44
45
|
if (!navigator.mediaDevices) {
|
|
45
46
|
this.apiErrorEvent.emit({ message: 'This browser does not support webRTC' });
|
|
@@ -48,11 +49,11 @@ export class SelfieTilt {
|
|
|
48
49
|
async componentDidLoad() {
|
|
49
50
|
this.mainStream = Stream.getInstance(VerificationMode.Tilt);
|
|
50
51
|
await this.baseComponent.logStep(FlowSteps.SelfieTilt, FlowMoments.Initialized);
|
|
51
|
-
this.titleMesage = SelfieCaptureValues.FacePoseMapping[this.mainStream.facePose];
|
|
52
|
+
this.titleMesage = this.baseComponent.translations.SelfieCaptureValues.FacePoseMapping[Object.values(FacePose).indexOf(this.mainStream.facePose)];
|
|
52
53
|
this.demoEnded = false;
|
|
53
54
|
this.demoVideo.src = SelfieCaptureValues.FacePoseDemoMapping[this.mainStream.facePose];
|
|
54
55
|
this.demoVideo.play();
|
|
55
|
-
await delay(
|
|
56
|
+
await delay(this.baseComponent.translations.GlobalValues.VideoLenght);
|
|
56
57
|
this.demoEnded = true;
|
|
57
58
|
this.openCamera();
|
|
58
59
|
}
|
|
@@ -92,7 +93,7 @@ export class SelfieTilt {
|
|
|
92
93
|
if (this.verified)
|
|
93
94
|
return;
|
|
94
95
|
this.verified = true;
|
|
95
|
-
this.titleMesage = SelfieCaptureValues.Loading;
|
|
96
|
+
this.titleMesage = this.baseComponent.translations.SelfieCaptureValues.Loading;
|
|
96
97
|
this.closeCamera();
|
|
97
98
|
this.demoEnded = false;
|
|
98
99
|
this.demoVideo.src = this.uploadingLink;
|
|
@@ -114,7 +115,7 @@ export class SelfieTilt {
|
|
|
114
115
|
let titleClass = this.verified ? 'color-black-2 text-center' : 'color-white text-center';
|
|
115
116
|
//let videoClass = this.device.isMobile ? '' : 'video-demo';
|
|
116
117
|
let bgDemo = this.verified ? 'container' : 'container bg-black';
|
|
117
|
-
return (h("div", { class: bgDemo }, h("div", { class: "container-video" }, h("div", { hidden: this.demoEnded }, h("video", { id: "howtoSelfie", class: "video-demo", playsinline: true, ref: el => (this.demoVideo = el) }, h("source", { type: "video/mp4" }))), h("div", { hidden: this.demoEnded == false }, h("div", { hidden: this.verified }, h("div", { class: "video-capture" }, h("div", { style: cameraStyle }, h("camera-comp", { "capture-mode": "selfie" }))))), h("div", { class: "capture-title" }, h("h1", { class: titleClass }, this.titleMesage), h("p", { class: "main-text font-size-18 text-right mb-0" },
|
|
118
|
+
return (h("div", { class: bgDemo }, h("div", { class: "container-video" }, h("div", { hidden: this.demoEnded }, h("video", { id: "howtoSelfie", class: "video-demo", playsinline: true, ref: el => (this.demoVideo = el) }, h("source", { type: "video/mp4" }))), h("div", { hidden: this.demoEnded == false }, h("div", { hidden: this.verified }, h("div", { class: "video-capture" }, h("div", { style: cameraStyle }, h("camera-comp", { "capture-mode": "selfie" }))))), h("div", { class: "capture-title" }, h("h1", { class: titleClass }, this.titleMesage), h("p", { class: "main-text font-size-18 text-right mb-0" }, this.baseComponent.translations.GlobalValues.FooterText)))));
|
|
118
119
|
}
|
|
119
120
|
static get is() { return "selfie-tilt"; }
|
|
120
121
|
static get originalStyleUrls() {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { h } from '@stencil/core';
|
|
2
2
|
import store from '../../../helpers/store';
|
|
3
|
-
import { AgreementInfoValues } from '../../../helpers/textValues';
|
|
4
3
|
import { FlowStatus } from '../../../models/FlowStatus';
|
|
5
4
|
import { FlowSteps } from '../../../models/FlowSteps';
|
|
6
5
|
import { BaseComponent } from '../../base-component';
|
|
@@ -54,7 +53,7 @@ export class AgreementInfo {
|
|
|
54
53
|
render() {
|
|
55
54
|
let agreementsCheck = h("agreement-check", { agreementType: "agreement" });
|
|
56
55
|
let termsCheck = h("agreement-check", { agreementType: "terms" });
|
|
57
|
-
let mainComp = (h("div", { class: "container" }, h("div", { class: "row" }, h("div", null, h("h1", { class: "text-center" }, AgreementInfoValues.Title), h("div", { class: "d-flex space-between align-center" }, h("h3", { class: "main-text font-size-2", onClick: () => this.agreementsClicked() }, h("input", { type: "checkbox", readOnly: true, checked: this.agreementsChecked }), AgreementInfoValues.Agreement)), h("div", { class: "d-flex space-between align-center" }, h("h3", { class: "main-text font-size-2", onClick: () => this.termsClicked() }, h("input", { type: "checkbox", readOnly: true, checked: this.termsChecked }), AgreementInfoValues.Terms))), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("button", { class: "main-button", onClick: () => this.buttonClick() }, AgreementInfoValues.Button), h("p", { class: "main-text font-size-18 text-right mb-0" },
|
|
56
|
+
let mainComp = (h("div", { class: "container" }, h("div", { class: "row" }, h("div", null, h("h1", { class: "text-center" }, this.baseComponent.translations.AgreementInfoValues.Title), h("div", { class: "d-flex space-between align-center" }, h("h3", { class: "main-text font-size-2", onClick: () => this.agreementsClicked() }, h("input", { type: "checkbox", readOnly: true, checked: this.agreementsChecked }), this.baseComponent.translations.AgreementInfoValues.Agreement)), h("div", { class: "d-flex space-between align-center" }, h("h3", { class: "main-text font-size-2", onClick: () => this.termsClicked() }, h("input", { type: "checkbox", readOnly: true, checked: this.termsChecked }), this.baseComponent.translations.AgreementInfoValues.Terms))), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("button", { class: "main-button", onClick: () => this.buttonClick() }, this.baseComponent.translations.AgreementInfoValues.Button), h("p", { class: "main-text font-size-18 text-right mb-0" }, this.baseComponent.translations.GlobalValues.FooterText))))));
|
|
58
57
|
return this.openAgreements ? agreementsCheck : this.openTerms ? termsCheck : mainComp;
|
|
59
58
|
}
|
|
60
59
|
static get is() { return "agreement-info"; }
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import { h } from '@stencil/core';
|
|
2
|
-
import { CompleteValues } from '../../../helpers/textValues';
|
|
3
2
|
// @ts-ignore
|
|
4
3
|
import completeImg from '../../../assets/complete.svg';
|
|
5
4
|
import store from '../../../helpers/store';
|
|
6
5
|
import Events from '../../../helpers/Events';
|
|
6
|
+
import { BaseComponent } from '../../base-component';
|
|
7
|
+
import { FlowSteps } from '../../../models/FlowSteps';
|
|
7
8
|
export class EndRedirect {
|
|
8
|
-
constructor() {
|
|
9
|
+
constructor() {
|
|
10
|
+
this.baseComponent = new BaseComponent(FlowSteps.End);
|
|
11
|
+
}
|
|
9
12
|
async componentDidLoad() {
|
|
10
13
|
Events.flowCompleted();
|
|
11
14
|
}
|
|
12
15
|
render() {
|
|
13
|
-
return (h("div", { class: "container" }, h("div", { class: "row" }, h("div", null, h("h1", { class: "text-center" }, CompleteValues.Title), h("p", { class: "main-text font-size-18 mt-8 text-center" }, CompleteValues.Description)), h("div", { class: "buletin-container" }, h("div", { class: "container-coin" }, h("div", { class: "coin-scale" }, h("div", { class: "coin-flip" }, h("img", { class: "w-40 coin", src: completeImg }))))), h("div", { class: "text-center" }, h("p", { class: "font-weight-900 font-size-3 color-black-2 text-center mt-20" }, CompleteValues.Message), h("p", null, store.requestId)), h("div", { class: "btn-buletin" }, h("p", { class: "main-text font-size-18 text-center mb-0" },
|
|
16
|
+
return (h("div", { class: "container" }, h("div", { class: "row" }, h("div", null, h("h1", { class: "text-center" }, this.baseComponent.translations.CompleteValues.Title), h("p", { class: "main-text font-size-18 mt-8 text-center" }, this.baseComponent.translations.CompleteValues.Description)), h("div", { class: "buletin-container" }, h("div", { class: "container-coin" }, h("div", { class: "coin-scale" }, h("div", { class: "coin-flip" }, h("img", { class: "w-40 coin", src: completeImg }))))), h("div", { class: "text-center" }, h("p", { class: "font-weight-900 font-size-3 color-black-2 text-center mt-20" }, this.baseComponent.translations.CompleteValues.Message), h("p", null, store.requestId)), h("div", { class: "btn-buletin" }, h("p", { class: "main-text font-size-18 text-center mb-0" }, this.baseComponent.translations.GlobalValues.FooterText)))));
|
|
14
17
|
}
|
|
15
18
|
static get is() { return "end-redirect"; }
|
|
16
19
|
static get originalStyleUrls() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from '@stencil/core';
|
|
2
|
-
import {
|
|
2
|
+
import { SessionKeys } from '../../../helpers/textValues';
|
|
3
3
|
import store from '../../../helpers/store';
|
|
4
4
|
import Events from '../../../helpers/Events';
|
|
5
5
|
import { FlowStatus } from '../../../models/FlowStatus';
|
|
@@ -36,10 +36,10 @@ export class LandingValidation {
|
|
|
36
36
|
}
|
|
37
37
|
async initRequest() {
|
|
38
38
|
if (store.hasIdBack) {
|
|
39
|
-
this.warningText = LandingValues.WarningMd;
|
|
39
|
+
this.warningText = this.baseComponent.translations.LandingValues.WarningMd;
|
|
40
40
|
}
|
|
41
41
|
else {
|
|
42
|
-
this.warningText = LandingValues.Warning;
|
|
42
|
+
this.warningText = this.baseComponent.translations.LandingValues.Warning;
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
async startFlow() {
|
|
@@ -82,7 +82,7 @@ export class LandingValidation {
|
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
render() {
|
|
85
|
-
return (h("div", { class: "container" }, h("div", { class: "row" }, h("div", null, h("h1", { class: "text-center" }, LandingValues.Title), h("div", { class: "d-flex space-between align-center" }, h("p", { class: "main-text font-size-2" }, LandingValues.Description), h("div", { class: "img-info" }, h("div", { class: "i-effect" }), h("img", { src: info })))), h("div", { class: "info-container" }, h("div", { class: "img-text" }, h("div", { class: "bg-img" }, h("img", { src: idSvg })), h("h3", null, LandingValues.IdInfo)), h("div", { class: "img-text" }, h("div", { class: "bg-img" }, h("img", { src: idDevice })), h("h3", null, LandingValues.DeviceInfo)), h("div", { class: "img-text" }, h("div", { class: "bg-img" }, h("img", { src: idValidation })), h("h3", null, LandingValues.SmsInfo))), h("div", { class: "terms-container" }, h("h3", { class: "font-size-2 mb-1 text-center" }, this.warningText)), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("button", { class: "main-button", type: "button", disabled: !store.initialised || this.buttonDisabled, onClick: () => this.startFlow() }, LandingValues.Button), h("p", { class: "main-text font-size-2 link-text mb-0", onClick: () => this.leaveFlow() }, LandingValues.ButtonLeave), h("p", { class: "main-text font-size-18 text-right mb-0" },
|
|
85
|
+
return (h("div", { class: "container" }, h("div", { class: "row" }, h("div", null, h("h1", { class: "text-center" }, this.baseComponent.translations.LandingValues.Title), h("div", { class: "d-flex space-between align-center" }, h("p", { class: "main-text font-size-2" }, this.baseComponent.translations.LandingValues.Description), h("div", { class: "img-info" }, h("div", { class: "i-effect" }), h("img", { src: info })))), h("div", { class: "info-container" }, h("div", { class: "img-text" }, h("div", { class: "bg-img" }, h("img", { src: idSvg })), h("h3", null, this.baseComponent.translations.LandingValues.IdInfo)), h("div", { class: "img-text" }, h("div", { class: "bg-img" }, h("img", { src: idDevice })), h("h3", null, this.baseComponent.translations.LandingValues.DeviceInfo)), h("div", { class: "img-text" }, h("div", { class: "bg-img" }, h("img", { src: idValidation })), h("h3", null, this.baseComponent.translations.LandingValues.SmsInfo))), h("div", { class: "terms-container" }, h("h3", { class: "font-size-2 mb-1 text-center" }, this.warningText)), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("button", { class: "main-button", type: "button", disabled: !store.initialised || this.buttonDisabled, onClick: () => this.startFlow() }, this.baseComponent.translations.LandingValues.Button), h("p", { class: "main-text font-size-2 link-text mb-0", onClick: () => this.leaveFlow() }, this.baseComponent.translations.LandingValues.ButtonLeave), h("p", { class: "main-text font-size-18 text-right mb-0" }, this.baseComponent.translations.GlobalValues.FooterText))))));
|
|
86
86
|
}
|
|
87
87
|
static get is() { return "landing-validation"; }
|
|
88
88
|
static get originalStyleUrls() {
|