@ekyc_qoobiss/qbs-ect-cmp 4.7.6 → 4.7.7
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/{TranslationUtils-v9AH65DI.js → TranslationUtils-BMUuRbvj.js} +11 -3
- package/dist/cjs/TranslationUtils-BMUuRbvj.js.map +1 -0
- package/dist/cjs/agreement-check.cjs.entry.js +1 -1
- package/dist/cjs/agreement-info_23.cjs.entry.js +2 -2
- package/dist/cjs/random-actions.cjs.entry.js +1 -1
- package/dist/collection/helpers/textValues.js +9 -1
- package/dist/collection/helpers/textValues.js.map +1 -1
- package/dist/esm/{TranslationUtils-BMzyhcw1.js → TranslationUtils-C16tqVvb.js} +11 -3
- package/dist/esm/TranslationUtils-C16tqVvb.js.map +1 -0
- package/dist/esm/agreement-check.entry.js +1 -1
- package/dist/esm/agreement-info_23.entry.js +2 -2
- package/dist/esm/random-actions.entry.js +1 -1
- package/dist/qbs-ect-cmp/{p-e5b57951.entry.js → p-6c0b791b.entry.js} +2 -2
- package/dist/qbs-ect-cmp/{p-D7P3iZgL.js → p-B_9qHP0z.js} +2 -2
- package/dist/qbs-ect-cmp/p-B_9qHP0z.js.map +1 -0
- package/dist/qbs-ect-cmp/{p-611a6ee1.entry.js → p-e1e50c16.entry.js} +2 -2
- package/dist/qbs-ect-cmp/{p-66eeea2c.entry.js → p-e7d48ef7.entry.js} +3 -3
- package/dist/qbs-ect-cmp/qbs-ect-cmp.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/TranslationUtils-v9AH65DI.js.map +0 -1
- package/dist/esm/TranslationUtils-BMzyhcw1.js.map +0 -1
- package/dist/qbs-ect-cmp/p-D7P3iZgL.js.map +0 -1
- /package/dist/qbs-ect-cmp/{p-e5b57951.entry.js.map → p-6c0b791b.entry.js.map} +0 -0
- /package/dist/qbs-ect-cmp/{p-611a6ee1.entry.js.map → p-e1e50c16.entry.js.map} +0 -0
- /package/dist/qbs-ect-cmp/{p-66eeea2c.entry.js.map → p-e7d48ef7.entry.js.map} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-CtQrmEwj.js';
|
|
2
|
-
import { s as state, T as Translations, A as ApiCall } from './TranslationUtils-
|
|
2
|
+
import { s as state, T as Translations, A as ApiCall } from './TranslationUtils-C16tqVvb.js';
|
|
3
3
|
|
|
4
4
|
const agreementCheckCss = "";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-CtQrmEwj.js';
|
|
2
|
-
import { A as ApiCall, F as FlowMoments, a as FlowSteps, T as Translations, s as state, b as FlowStatus, d as db, c as commonjsGlobal, g as getDefaultExportFromCjs, e as getAugmentedNamespace } from './TranslationUtils-
|
|
2
|
+
import { A as ApiCall, F as FlowMoments, a as FlowSteps, T as Translations, s as state, b as FlowStatus, d as db, c as commonjsGlobal, g as getDefaultExportFromCjs, e as getAugmentedNamespace } from './TranslationUtils-C16tqVvb.js';
|
|
3
3
|
|
|
4
4
|
class Events {
|
|
5
5
|
static init(element) {
|
|
@@ -46108,7 +46108,7 @@ const IdSelection = class {
|
|
|
46108
46108
|
};
|
|
46109
46109
|
IdSelection.style = idSelectionCss;
|
|
46110
46110
|
|
|
46111
|
-
const version$1 = "4.7.
|
|
46111
|
+
const version$1 = "4.7.7";
|
|
46112
46112
|
var packageJson = {
|
|
46113
46113
|
version: version$1};
|
|
46114
46114
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,c as s,h as e}from"./p-CtQrmEwj.js";import{s as a,T as i,A as c}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,c as s,h as e}from"./p-CtQrmEwj.js";import{s as a,T as i,A as c}from"./p-B_9qHP0z.js";const o="";const h=class{constructor(e){t(this,e);this.apiErrorEvent=s(this,"apiError");this.agreementAcceptance=s(this,"agreementAcceptance");this.scrollClass="scroll";this.atBottom=false;this.scrollingToTop=false;this.handleScroll=t=>{if(this.scrollingToTop){return}const s=t.target;const e=5;const i=s.scrollHeight-s.scrollTop-s.clientHeight<e;this.atBottom=i&&a.scrollMode};this.scrollToTop=()=>{this.scrollingToTop=true;this.atBottom=false;if(this.scrollContainer){this.scrollContainer.scrollTo({top:0,behavior:"smooth"})}setTimeout((()=>{this.scrollingToTop=false}),200)};this.buttonEnabled=true}async componentWillLoad(){this.translations=await i.getValues()}async componentDidLoad(){try{this.htmlContent=await c.instance.GetAgreement(this.agreementType)}catch(t){this.apiErrorEvent.emit(t)}}async buttonClick(t){this.buttonEnabled=false;this.agreementAcceptance.emit({agreementType:this.agreementType,result:t})}render(){let t=e("div",{key:"21e3213d978a908f61bbce50ac270692381054f4",class:"container"},e("div",{key:"e6cd937f512a4ca3ed9bc651234c5c5905adba55",class:"row"},e("div",{key:"f6b709e0852eacb07e49ab2334191bdf8d955491",ref:t=>this.scrollContainer=t,class:this.atBottom?"scroll-disabled":this.scrollClass,onScroll:this.handleScroll,innerHTML:this.htmlContent}),this.atBottom&&e("div",{key:"368ff3ae41a68acdd29c05d02543ca04691e980b",class:"scroll-to-top-btn",onClick:this.scrollToTop},"↑"),e("div",{key:"fa95004a2c7ef5bd19ef58bc0471767adb7b2a5a",class:"pos-relative show-bottom"},e("div",{key:"fa72f50f23aff317983916b4b6b737ca3dce69df",class:"btn-buletin"},e("div",{key:"d96055b58bff5b20b070edd9980863a2b587e90f",class:"d-flex two-buttons"},e("button",{key:"4349febf683a237022186c42b779789fc23e8b39",class:"normal-button red-button",disabled:!this.buttonEnabled,onClick:()=>this.buttonClick(false)},this.translations.AgreementCheckValues.ButtonNo),e("button",{key:"25fcea59e985f52c8f92cb0e9b39fec642f3e6fc",class:"normal-button",disabled:!this.buttonEnabled,onClick:()=>this.buttonClick(true)},this.translations.AgreementCheckValues.ButtonYes)),e("p",{key:"5aade181543938ca401dd492f442dae40c2a353c",class:"main-text font-size-18 text-right mb-0"},this.translations.GlobalValues.FooterText)))));return this.htmlContent?t:e("div",null)}};h.style=o;export{h as agreement_check};
|
|
2
|
+
//# sourceMappingURL=p-6c0b791b.entry.js.map
|