@everymatrix/general-registration 1.94.95 → 1.94.97
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/checkbox-group-input_15.cjs.entry.js +24 -15
- package/dist/cjs/general-registration.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/general-registration/general-registration.js +22 -3
- package/dist/esm/checkbox-group-input_15.entry.js +24 -15
- package/dist/esm/general-registration.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/general-registration/checkbox-group-input_15.entry.js +1 -1
- package/dist/general-registration/general-registration.esm.js +1 -1
- package/dist/types/components/general-registration/general-registration.d.ts +5 -0
- package/dist/types/components.d.ts +8 -0
- package/package.json +1 -1
|
@@ -13277,6 +13277,7 @@ const GeneralInput = class {
|
|
|
13277
13277
|
this.emitOnClick = false;
|
|
13278
13278
|
this.twofaDestination = undefined;
|
|
13279
13279
|
this.twofaResendIntervalSeconds = 60;
|
|
13280
|
+
this.twofaStartCountDown = false;
|
|
13280
13281
|
this.haspostalcodelookup = undefined;
|
|
13281
13282
|
this.postalcodelength = undefined;
|
|
13282
13283
|
this.addresses = [];
|
|
@@ -13352,7 +13353,7 @@ const GeneralInput = class {
|
|
|
13352
13353
|
case 'dropdown':
|
|
13353
13354
|
return index.h("select-input", { name: this.name, action: this.action, defaultValue: this.defaultValue, displayName: this.displayName, options: this.options, validation: this.validation, emitValue: this.emitValue, autofilled: this.autofilled, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder, "mb-source": this.mbSource });
|
|
13354
13355
|
case 'twofa':
|
|
13355
|
-
return index.h("twofa-input", { name: this.name, displayName: this.displayName, validation: this.validation, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, destination: this.twofaDestination, "resend-interval-seconds": this.twofaResendIntervalSeconds, "enable-south-african-mode": this.enableSouthAfricanMode, "pin-attempts-exceeded": this.pinAttemptsExceeded, "mb-source": this.mbSource });
|
|
13356
|
+
return index.h("twofa-input", { name: this.name, displayName: this.displayName, validation: this.validation, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, destination: this.twofaDestination, "resend-interval-seconds": this.twofaResendIntervalSeconds, "start-count-down": this.twofaStartCountDown, "enable-south-african-mode": this.enableSouthAfricanMode, "pin-attempts-exceeded": this.pinAttemptsExceeded, "mb-source": this.mbSource });
|
|
13356
13357
|
case 'label':
|
|
13357
13358
|
if (this.displayName && this.displayName.trim() !== '') {
|
|
13358
13359
|
return index.h("div", { class: "general-non-input", innerHTML: this.displayName });
|
|
@@ -13365,7 +13366,7 @@ const GeneralInput = class {
|
|
|
13365
13366
|
}
|
|
13366
13367
|
}
|
|
13367
13368
|
render() {
|
|
13368
|
-
return (index.h(index.Host, { key: '
|
|
13369
|
+
return (index.h(index.Host, { key: '66f9570a413592a61ea7f18190bcdde82077ab34', class: `general-input--${this.name}`, onClick: this.handleClick }, this.renderInput()));
|
|
13369
13370
|
}
|
|
13370
13371
|
get host() { return index.getElement(this); }
|
|
13371
13372
|
static get watchers() { return {
|
|
@@ -14804,6 +14805,7 @@ const GeneralRegistration = class {
|
|
|
14804
14805
|
this.enableCustomRegexValidation = false;
|
|
14805
14806
|
this.gmversion = '';
|
|
14806
14807
|
this.turnstileSiteKey = undefined;
|
|
14808
|
+
this.twofaStartCountDown = false;
|
|
14807
14809
|
this.errorMessage = '';
|
|
14808
14810
|
this.isFormValid = false;
|
|
14809
14811
|
this.isConsentValid = false;
|
|
@@ -15793,7 +15795,7 @@ const GeneralRegistration = class {
|
|
|
15793
15795
|
input.inputType.toLowerCase() === 'togglecheckbox'
|
|
15794
15796
|
? input.data.subFields
|
|
15795
15797
|
: input.data.values
|
|
15796
|
-
: [], defaultValue: input.defaultValue, autofilled: input.autofill, emitValue: this.emitValue, language: this.language, mbSource: this.mbSource, isDuplicateInput: input.isDuplicateInput, "client-styling": this.clientStyling, tooltip: input.tooltip, placeholder: input.placeholder == null ? '' : input.placeholder, "date-format": this.dateFormat, "twofa-destination": this.twofaDestination, "twofa-resend-interval-seconds": (_a = input.customInfo) === null || _a === void 0 ? void 0 : _a.twofaResendIntervalSeconds, "translation-url": this.translationUrl, emitOnClick: this.emitOnClick, onClick: this.handleInitialClick, haspostalcodelookup: this.haspostalcodelookup, addresses: this.haspostalcodelookup ? this.addresses : null, postalcodelength: this.haspostalcodelookup ? this.postalcodelength : null, key: ['address1', 'address2', 'City'].includes(input.name)
|
|
15798
|
+
: [], defaultValue: input.defaultValue, autofilled: input.autofill, emitValue: this.emitValue, language: this.language, mbSource: this.mbSource, isDuplicateInput: input.isDuplicateInput, "client-styling": this.clientStyling, tooltip: input.tooltip, placeholder: input.placeholder == null ? '' : input.placeholder, "date-format": this.dateFormat, "twofa-destination": this.twofaDestination, "twofa-resend-interval-seconds": (_a = input.customInfo) === null || _a === void 0 ? void 0 : _a.twofaResendIntervalSeconds, "twofa-start-count-down": this.twofaStartCountDown, "translation-url": this.translationUrl, emitOnClick: this.emitOnClick, onClick: this.handleInitialClick, haspostalcodelookup: this.haspostalcodelookup, addresses: this.haspostalcodelookup ? this.addresses : null, postalcodelength: this.haspostalcodelookup ? this.postalcodelength : null, key: ['address1', 'address2', 'City'].includes(input.name)
|
|
15797
15799
|
? `${input.name}-${this.addressUpdateKey}`
|
|
15798
15800
|
: input.name, "ignore-country": this.getIgnoreCountry(input), "enable-manual-date-input": this.enableManualDateInput, "enable-custom-regex-validation": this.enableCustomRegexValidation }), ((_b = input.customInfo) === null || _b === void 0 ? void 0 : _b.description) && index.h("div", { class: "input-description" }, input.customInfo.description)));
|
|
15799
15801
|
}), this.forms[this.registrationStep] && this.isConsentReady && this.renderConsents(), this.forms[this.registrationStep] && this.buttonInsideForm && this.renderButtons(), index.h("div", { class: "registration__wrapper--flex" }, index.h("p", { class: "registration__error-message", innerHTML: this.errorMessage }))));
|
|
@@ -15810,8 +15812,8 @@ const GeneralRegistration = class {
|
|
|
15810
15812
|
const isLoading = this.isLoading && !this.registerErrors;
|
|
15811
15813
|
const isError = !this.isLoading && this.registerErrors;
|
|
15812
15814
|
const showForm = !(isLoading || isError);
|
|
15813
|
-
return (index.h("div", { key: '
|
|
15814
|
-
index.h("div", { key: '
|
|
15815
|
+
return (index.h("div", { key: '49dcbfc3389de10cff2891cceb53da2d8e4b7910', ref: (el) => (this.stylingContainer = el), class: `registration registration__${this.registrationStep}` }, isLoading && index.h("p", { key: 'd831910784af86e6201852f9f4209ab1877bdee2', class: `registration registration__loading-message` }, translate('loadingMessage', this.language)), isError && this.renderErrorMessage(this.errorMessage), showForm && this.renderForm(), showForm && !this.buttonInsideForm && this.renderButtons(), this.turnstileSiteKey &&
|
|
15816
|
+
index.h("div", { key: '6ee1cfed07c4061de197d1510aafbe08cd1e36ef', class: "captcha-wrapper" }, index.h("slot", { key: '4a7b9fab0dcde1604daa90be700c77b932c68f97', name: CAPTCHA_CONTAINER_SLOT }))));
|
|
15815
15817
|
}
|
|
15816
15818
|
get host() { return index.getElement(this); }
|
|
15817
15819
|
static get watchers() { return {
|
|
@@ -17688,8 +17690,9 @@ const TwofaInput = class {
|
|
|
17688
17690
|
this.pinAttemptsExceeded = undefined;
|
|
17689
17691
|
this.clientStylingUrl = '';
|
|
17690
17692
|
this.mbSource = undefined;
|
|
17693
|
+
this.startCountDown = false;
|
|
17691
17694
|
this.isValid = false;
|
|
17692
|
-
this.isResendButtonAvailable =
|
|
17695
|
+
this.isResendButtonAvailable = !this.startCountDown;
|
|
17693
17696
|
this.showTooltip = false;
|
|
17694
17697
|
this.errorMessage = '';
|
|
17695
17698
|
this.code = [];
|
|
@@ -17731,8 +17734,9 @@ const TwofaInput = class {
|
|
|
17731
17734
|
}
|
|
17732
17735
|
}
|
|
17733
17736
|
connectedCallback() {
|
|
17737
|
+
var _a;
|
|
17734
17738
|
this.validationPattern = this.setPattern();
|
|
17735
|
-
this.code = new Array(this.validation.maxLength).fill('');
|
|
17739
|
+
this.code = new Array((_a = this.validation) === null || _a === void 0 ? void 0 : _a.maxLength).fill('');
|
|
17736
17740
|
}
|
|
17737
17741
|
disconnectedCallback() {
|
|
17738
17742
|
this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
|
@@ -17751,6 +17755,9 @@ const TwofaInput = class {
|
|
|
17751
17755
|
this.setValidity();
|
|
17752
17756
|
this.registrationWidgetLoaded.emit();
|
|
17753
17757
|
window.postMessage({ type: 'registrationWidgetLoaded' }, window.location.href);
|
|
17758
|
+
if (this.startCountDown) {
|
|
17759
|
+
this.triggerResendInterval();
|
|
17760
|
+
}
|
|
17754
17761
|
this.handleClientStyling();
|
|
17755
17762
|
}
|
|
17756
17763
|
handleKeyDown(e, idx) {
|
|
@@ -17802,22 +17809,24 @@ const TwofaInput = class {
|
|
|
17802
17809
|
}
|
|
17803
17810
|
}
|
|
17804
17811
|
setValidity() {
|
|
17812
|
+
var _a;
|
|
17805
17813
|
const code = this.code.join('');
|
|
17806
|
-
const inputMatchLength = code.length === this.validation.maxLength;
|
|
17814
|
+
const inputMatchLength = code.length === ((_a = this.validation) === null || _a === void 0 ? void 0 : _a.maxLength);
|
|
17807
17815
|
const inputMatchValidation = code.match(this.validationPattern) !== null;
|
|
17808
17816
|
this.isValid = inputMatchLength && inputMatchValidation;
|
|
17809
17817
|
}
|
|
17810
17818
|
setPattern() {
|
|
17811
|
-
var _a, _b;
|
|
17812
|
-
if (((_a = this.validation
|
|
17813
|
-
return (_b = this.validation.custom.find(customValidation => customValidation.rule === 'regex')) === null ||
|
|
17819
|
+
var _a, _b, _c, _d, _e;
|
|
17820
|
+
if (this.validation && ((_a = this.validation) === null || _a === void 0 ? void 0 : _a.custom) && this.validation.custom.length > 0) {
|
|
17821
|
+
return (_e = (_d = (_c = (_b = this.validation) === null || _b === void 0 ? void 0 : _b.custom) === null || _c === void 0 ? void 0 : _c.find(customValidation => customValidation.rule === 'regex')) === null || _d === void 0 ? void 0 : _d.pattern) !== null && _e !== void 0 ? _e : '';
|
|
17814
17822
|
}
|
|
17823
|
+
return '';
|
|
17815
17824
|
}
|
|
17816
17825
|
setErrorMessage() {
|
|
17817
|
-
var _a;
|
|
17826
|
+
var _a, _b, _c;
|
|
17818
17827
|
const inputMatchValidation = this.code.join('').match(this.validationPattern) !== null;
|
|
17819
17828
|
if (!inputMatchValidation) {
|
|
17820
|
-
const errorKey = (_a = this.validation.custom.find(customValidation => customValidation.rule === 'regex')) === null ||
|
|
17829
|
+
const errorKey = (_c = (_b = (_a = this.validation) === null || _a === void 0 ? void 0 : _a.custom) === null || _b === void 0 ? void 0 : _b.find(customValidation => customValidation.rule === 'regex')) === null || _c === void 0 ? void 0 : _c.errorKey;
|
|
17821
17830
|
if (errorKey) {
|
|
17822
17831
|
this.errorMessage = translate$1(errorKey, this.language);
|
|
17823
17832
|
}
|
|
@@ -17842,9 +17851,9 @@ const TwofaInput = class {
|
|
|
17842
17851
|
return current;
|
|
17843
17852
|
}
|
|
17844
17853
|
render() {
|
|
17845
|
-
return (index.h("div", { key: '
|
|
17854
|
+
return (index.h("div", { key: 'c2accac3362fe80b2f78ff5f7f76fe45871d63b3', class: "twofa", ref: el => this.stylingContainer = el }, index.h("div", { key: '8cae1d115652698e0d579de8762ad767448c7bc5', class: 'twofa__error-message' }, index.h("p", { key: '73a3a6138d131dab6ae052401e7b4b44619b2a1b' }, this.errorMessage)), index.h("div", { key: '447cebaf6d1f21f6b25af4a2a49932446eae812f', class: "twofa__description", innerHTML: translate$1('twofaDescription', this.language, { values: { destination: this.destination } }) }), index.h("div", { key: '72732322e151bdbcecbde20a348c54b79a9a064e', class: "twofa__input-wrapper", ref: this.setContainerRef }, this.code.map((_, idx) => {
|
|
17846
17855
|
return (index.h("input", { key: idx, ref: el => this.setInputRef(el, idx), id: `otp-input-${idx}`, type: "text", maxLength: 2, value: this.getInputDisplayValue(idx), onInput: (event) => this.handleInput(event, idx), onKeyDown: (event) => this.handleKeyDown(event, idx), onPaste: (event) => this.handlePaste(event) }));
|
|
17847
|
-
})), index.h("div", { key: '
|
|
17856
|
+
})), index.h("div", { key: '57062c200893d084fd0328ec6363b16821413f5e', class: "twofa__button-wrapper" }, index.h("p", { key: 'dafc860bf614c3c274c1b144bfc1584a347458de', class: "twofa__resend-message" }, translate$1('twofaResendMessage', this.language)), index.h("button", { key: '6d1bc6083e98c23879070f91a29b709b0223b02c', class: `twofa__resend-button ${this.pinAttemptsExceeded ? 'twofa__resend-button--disabled' : ''}`, onClick: this.resendCodeHandler, disabled: !this.isResendButtonAvailable || this.pinAttemptsExceeded }, this.isResendButtonAvailable
|
|
17848
17857
|
? translate$1('twofaResendButton', this.language)
|
|
17849
17858
|
: this.formatTime()))));
|
|
17850
17859
|
}
|
|
@@ -19,7 +19,7 @@ var patchBrowser = () => {
|
|
|
19
19
|
|
|
20
20
|
patchBrowser().then(async (options) => {
|
|
21
21
|
await appGlobals.globalScripts();
|
|
22
|
-
return index.bootstrapLazy(JSON.parse("[[\"checkbox-group-input_15.cjs\",[[1,\"general-registration\",{\"endpoint\":[513],\"language\":[513],\"clientStyling\":[1537,\"client-styling\"],\"mbSource\":[1,\"mb-source\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"translationUrl\":[513,\"translation-url\"],\"dateFormat\":[513,\"date-format\"],\"buttonInsideForm\":[516,\"button-inside-form\"],\"btag\":[513],\"emitOnClick\":[516,\"emit-on-click\"],\"haspostalcodelookup\":[516],\"ignorebtag\":[516],\"enableManualDateInput\":[516,\"enable-manual-date-input\"],\"enableCustomRegexValidation\":[516,\"enable-custom-regex-validation\"],\"gmversion\":[513],\"turnstileSiteKey\":[1,\"turnstile-site-key\"],\"errorMessage\":[32],\"isFormValid\":[32],\"isConsentValid\":[32],\"isConsentReady\":[32],\"isLoading\":[32],\"isLoadingPOST\":[32],\"registrationStep\":[32],\"forms\":[32],\"autofilled\":[32],\"isInitalInteraction\":[32],\"addresses\":[32],\"addressUpdateKey\":[32]},[[0,\"sendValidityState\",\"checkInputsValidityHandler\"],[0,\"sendInputValue\",\"getInputsValueHandler\"],[0,\"sendAddressValue\",\"handleAddressSelection\"],[8,\"countryCodeUpdated\",\"handleCountryCodeUpdateGlobal\"],[0,\"resendCode\",\"handleRequestTwofa\"],[8,\"message\",\"messageHandler\"]],{\"registrationStep\":[\"sendStep\"],\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingChangeURL\"],\"forms\":[\"setFormValidity\"],\"btag\":[\"addBtag\"]}],[1,\"general-input\",{\"type\":[513],\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"action\":[513],\"validation\":[16],\"options\":[520],\"language\":[513],\"autofilled\":[516],\"tooltip\":[513],\"defaultValue\":[520,\"default-value\"],\"emitValue\":[516,\"emit-value\"],\"isDuplicateInput\":[516,\"is-duplicate-input\"],\"hidePasswordComplexity\":[516,\"hide-password-complexity\"],\"noValidation\":[516,\"no-validation\"],\"clientStyling\":[520,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"dateFormat\":[513,\"date-format\"],\"translationUrl\":[513,\"translation-url\"],\"emitOnClick\":[516,\"emit-on-click\"],\"twofaDestination\":[513,\"twofa-destination\"],\"twofaResendIntervalSeconds\":[514,\"twofa-resend-interval-seconds\"],\"haspostalcodelookup\":[516],\"postalcodelength\":[514],\"addresses\":[520],\"ignoreCountry\":[516,\"ignore-country\"],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"enableManualDateInput\":[516,\"enable-manual-date-input\"],\"pinAttemptsExceeded\":[516,\"pin-attempts-exceeded\"],\"mbSource\":[513,\"mb-source\"],\"enableCustomRegexValidation\":[516,\"enable-custom-regex-validation\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingChangeURL\"]}],[1,\"toggle-checkbox-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"defaultValue\":[513,\"default-value\"],\"options\":[16],\"autofilled\":[516],\"tooltip\":[513],\"validation\":[16],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32],\"showFields\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"]}],[1,\"checkbox-group-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"options\":[16],\"validation\":[16],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32],\"selectedValues\":[32],\"showCheckboxes\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"selectedValues\":[\"setValue\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"checkbox-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"validation\":[16],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"date-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"dateFormat\":[513,\"date-format\"],\"emitOnClick\":[516,\"emit-on-click\"],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"enableManualDateInput\":[516,\"enable-manual-date-input\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"],\"enableSouthAfricanMode\":[\"handleCustomRegistrationChange\"]}],[1,\"email-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"isDuplicateInput\":[516,\"is-duplicate-input\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"],[16,\"sendInputValue\",\"valueChangedHandler\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"number-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"password-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"validation\":[16],\"noValidation\":[516,\"no-validation\"],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"isDuplicateInput\":[516,\"is-duplicate-input\"],\"hidePasswordComplexity\":[516,\"hide-password-complexity\"],\"clientStyling\":[513,\"client-styling\"],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"mbSource\":[513,\"mb-source\"],\"isValid\":[32],\"errorMessage\":[32],\"showTooltip\":[32],\"passwordComplexity\":[32],\"showPopup\":[32],\"value\":[32]},[[16,\"sendOriginalValidityState\",\"originalValidityChangedHandler\"],[16,\"sendInputValue\",\"valueChangedHandler\"],[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"value\":[\"valueChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"postalcode-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"postalcodelength\":[520],\"addresses\":[520],\"ignoreCountry\":[516,\"ignore-country\"],\"mbSource\":[513,\"mb-source\"],\"isValid\":[32],\"errorMessage\":[32],\"showTooltip\":[32],\"selectedCountryCode\":[32],\"currentPostalCode\":[32],\"openAddressDropdown\":[32],\"showNoResultsMessage\":[32],\"refreshTrigger\":[32],\"isFetchingAddresses\":[32]},[[10,\"click\",\"handleClickOutside\"],[8,\"countryCodeUpdated\",\"handleCountryCodeUpdate\"],[8,\"addressFetchStarted\",\"handleFetchStarted\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"],\"addresses\":[\"handleAddresses\"]}],[1,\"radio-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"optionsGroup\":[16],\"validation\":[16],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"select-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"action\":[513],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"options\":[16],\"validation\":[16],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"tel-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"showLabels\":[516,\"show-labels\"],\"action\":[513],\"validation\":[16],\"defaultValue\":[520,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"enableCustomRegexValidation\":[516,\"enable-custom-regex-validation\"],\"isValid\":[32],\"errorMessage\":[32],\"showTooltip\":[32],\"disablePhonePrefix\":[32],\"phoneValue\":[32],\"phoneCodesOptions\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"text-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"checkValidity\":[516,\"check-validity\"],\"emitValue\":[516,\"emit-value\"],\"isDuplicateInput\":[516,\"is-duplicate-input\"],\"clientStyling\":[513,\"client-styling\"],\"haspostalcodelookup\":[516],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"mbSource\":[513,\"mb-source\"],\"isValid\":[32],\"errorMessage\":[32],\"showTooltip\":[32],\"selectedCountryCode\":[32]},[[10,\"click\",\"handleClickOutside\"],[16,\"sendInputValue\",\"valueChangedHandler\"],[16,\"validationChange\",\"handleValidationChange\"],[8,\"countryCodeUpdated\",\"handleCountryCodeUpdate\"],[16,\"sendAddressValue\",\"handleAddressSelection\"],[8,\"documentNumberUpdatedExternally\",\"handleExternalDocUpdate\"],[8,\"documentNumberResetValidation\",\"handleDocReset\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"twofa-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"destination\":[513],\"resendIntervalSeconds\":[514,\"resend-interval-seconds\"],\"clientStyling\":[513,\"client-styling\"],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"pinAttemptsExceeded\":[516,\"pin-attempts-exceeded\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"isValid\":[32],\"isResendButtonAvailable\":[32],\"showTooltip\":[32],\"errorMessage\":[32],\"code\":[32],\"resendIntervalSecondsLeft\":[32],\"revealedIndexes\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"],\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingChangeURL\"]}]]]]"), options);
|
|
22
|
+
return index.bootstrapLazy(JSON.parse("[[\"checkbox-group-input_15.cjs\",[[1,\"general-registration\",{\"endpoint\":[513],\"language\":[513],\"clientStyling\":[1537,\"client-styling\"],\"mbSource\":[1,\"mb-source\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"translationUrl\":[513,\"translation-url\"],\"dateFormat\":[513,\"date-format\"],\"buttonInsideForm\":[516,\"button-inside-form\"],\"btag\":[513],\"emitOnClick\":[516,\"emit-on-click\"],\"haspostalcodelookup\":[516],\"ignorebtag\":[516],\"enableManualDateInput\":[516,\"enable-manual-date-input\"],\"enableCustomRegexValidation\":[516,\"enable-custom-regex-validation\"],\"gmversion\":[513],\"turnstileSiteKey\":[1,\"turnstile-site-key\"],\"twofaStartCountDown\":[4,\"twofa-start-count-down\"],\"errorMessage\":[32],\"isFormValid\":[32],\"isConsentValid\":[32],\"isConsentReady\":[32],\"isLoading\":[32],\"isLoadingPOST\":[32],\"registrationStep\":[32],\"forms\":[32],\"autofilled\":[32],\"isInitalInteraction\":[32],\"addresses\":[32],\"addressUpdateKey\":[32]},[[0,\"sendValidityState\",\"checkInputsValidityHandler\"],[0,\"sendInputValue\",\"getInputsValueHandler\"],[0,\"sendAddressValue\",\"handleAddressSelection\"],[8,\"countryCodeUpdated\",\"handleCountryCodeUpdateGlobal\"],[0,\"resendCode\",\"handleRequestTwofa\"],[8,\"message\",\"messageHandler\"]],{\"registrationStep\":[\"sendStep\"],\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingChangeURL\"],\"forms\":[\"setFormValidity\"],\"btag\":[\"addBtag\"]}],[1,\"general-input\",{\"type\":[513],\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"action\":[513],\"validation\":[16],\"options\":[520],\"language\":[513],\"autofilled\":[516],\"tooltip\":[513],\"defaultValue\":[520,\"default-value\"],\"emitValue\":[516,\"emit-value\"],\"isDuplicateInput\":[516,\"is-duplicate-input\"],\"hidePasswordComplexity\":[516,\"hide-password-complexity\"],\"noValidation\":[516,\"no-validation\"],\"clientStyling\":[520,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"dateFormat\":[513,\"date-format\"],\"translationUrl\":[513,\"translation-url\"],\"emitOnClick\":[516,\"emit-on-click\"],\"twofaDestination\":[513,\"twofa-destination\"],\"twofaResendIntervalSeconds\":[514,\"twofa-resend-interval-seconds\"],\"twofaStartCountDown\":[516,\"twofa-start-count-down\"],\"haspostalcodelookup\":[516],\"postalcodelength\":[514],\"addresses\":[520],\"ignoreCountry\":[516,\"ignore-country\"],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"enableManualDateInput\":[516,\"enable-manual-date-input\"],\"pinAttemptsExceeded\":[516,\"pin-attempts-exceeded\"],\"mbSource\":[513,\"mb-source\"],\"enableCustomRegexValidation\":[516,\"enable-custom-regex-validation\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingChangeURL\"]}],[1,\"toggle-checkbox-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"defaultValue\":[513,\"default-value\"],\"options\":[16],\"autofilled\":[516],\"tooltip\":[513],\"validation\":[16],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32],\"showFields\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"]}],[1,\"checkbox-group-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"options\":[16],\"validation\":[16],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32],\"selectedValues\":[32],\"showCheckboxes\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"selectedValues\":[\"setValue\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"checkbox-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"validation\":[16],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"date-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"dateFormat\":[513,\"date-format\"],\"emitOnClick\":[516,\"emit-on-click\"],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"enableManualDateInput\":[516,\"enable-manual-date-input\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"],\"enableSouthAfricanMode\":[\"handleCustomRegistrationChange\"]}],[1,\"email-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"isDuplicateInput\":[516,\"is-duplicate-input\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"],[16,\"sendInputValue\",\"valueChangedHandler\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"number-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"password-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"validation\":[16],\"noValidation\":[516,\"no-validation\"],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"isDuplicateInput\":[516,\"is-duplicate-input\"],\"hidePasswordComplexity\":[516,\"hide-password-complexity\"],\"clientStyling\":[513,\"client-styling\"],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"mbSource\":[513,\"mb-source\"],\"isValid\":[32],\"errorMessage\":[32],\"showTooltip\":[32],\"passwordComplexity\":[32],\"showPopup\":[32],\"value\":[32]},[[16,\"sendOriginalValidityState\",\"originalValidityChangedHandler\"],[16,\"sendInputValue\",\"valueChangedHandler\"],[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"value\":[\"valueChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"postalcode-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"postalcodelength\":[520],\"addresses\":[520],\"ignoreCountry\":[516,\"ignore-country\"],\"mbSource\":[513,\"mb-source\"],\"isValid\":[32],\"errorMessage\":[32],\"showTooltip\":[32],\"selectedCountryCode\":[32],\"currentPostalCode\":[32],\"openAddressDropdown\":[32],\"showNoResultsMessage\":[32],\"refreshTrigger\":[32],\"isFetchingAddresses\":[32]},[[10,\"click\",\"handleClickOutside\"],[8,\"countryCodeUpdated\",\"handleCountryCodeUpdate\"],[8,\"addressFetchStarted\",\"handleFetchStarted\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"],\"addresses\":[\"handleAddresses\"]}],[1,\"radio-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"optionsGroup\":[16],\"validation\":[16],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"select-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"action\":[513],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"options\":[16],\"validation\":[16],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"tel-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"showLabels\":[516,\"show-labels\"],\"action\":[513],\"validation\":[16],\"defaultValue\":[520,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"enableCustomRegexValidation\":[516,\"enable-custom-regex-validation\"],\"isValid\":[32],\"errorMessage\":[32],\"showTooltip\":[32],\"disablePhonePrefix\":[32],\"phoneValue\":[32],\"phoneCodesOptions\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"text-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"checkValidity\":[516,\"check-validity\"],\"emitValue\":[516,\"emit-value\"],\"isDuplicateInput\":[516,\"is-duplicate-input\"],\"clientStyling\":[513,\"client-styling\"],\"haspostalcodelookup\":[516],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"mbSource\":[513,\"mb-source\"],\"isValid\":[32],\"errorMessage\":[32],\"showTooltip\":[32],\"selectedCountryCode\":[32]},[[10,\"click\",\"handleClickOutside\"],[16,\"sendInputValue\",\"valueChangedHandler\"],[16,\"validationChange\",\"handleValidationChange\"],[8,\"countryCodeUpdated\",\"handleCountryCodeUpdate\"],[16,\"sendAddressValue\",\"handleAddressSelection\"],[8,\"documentNumberUpdatedExternally\",\"handleExternalDocUpdate\"],[8,\"documentNumberResetValidation\",\"handleDocReset\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"twofa-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"destination\":[513],\"resendIntervalSeconds\":[514,\"resend-interval-seconds\"],\"clientStyling\":[513,\"client-styling\"],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"pinAttemptsExceeded\":[516,\"pin-attempts-exceeded\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"startCountDown\":[516,\"start-count-down\"],\"isValid\":[32],\"isResendButtonAvailable\":[32],\"showTooltip\":[32],\"errorMessage\":[32],\"code\":[32],\"resendIntervalSecondsLeft\":[32],\"revealedIndexes\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"],\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingChangeURL\"]}]]]]"), options);
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
exports.setNonce = index.setNonce;
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -8,7 +8,7 @@ const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
|
8
8
|
const defineCustomElements = async (win, options) => {
|
|
9
9
|
if (typeof window === 'undefined') return undefined;
|
|
10
10
|
await appGlobals.globalScripts();
|
|
11
|
-
return index.bootstrapLazy(JSON.parse("[[\"checkbox-group-input_15.cjs\",[[1,\"general-registration\",{\"endpoint\":[513],\"language\":[513],\"clientStyling\":[1537,\"client-styling\"],\"mbSource\":[1,\"mb-source\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"translationUrl\":[513,\"translation-url\"],\"dateFormat\":[513,\"date-format\"],\"buttonInsideForm\":[516,\"button-inside-form\"],\"btag\":[513],\"emitOnClick\":[516,\"emit-on-click\"],\"haspostalcodelookup\":[516],\"ignorebtag\":[516],\"enableManualDateInput\":[516,\"enable-manual-date-input\"],\"enableCustomRegexValidation\":[516,\"enable-custom-regex-validation\"],\"gmversion\":[513],\"turnstileSiteKey\":[1,\"turnstile-site-key\"],\"errorMessage\":[32],\"isFormValid\":[32],\"isConsentValid\":[32],\"isConsentReady\":[32],\"isLoading\":[32],\"isLoadingPOST\":[32],\"registrationStep\":[32],\"forms\":[32],\"autofilled\":[32],\"isInitalInteraction\":[32],\"addresses\":[32],\"addressUpdateKey\":[32]},[[0,\"sendValidityState\",\"checkInputsValidityHandler\"],[0,\"sendInputValue\",\"getInputsValueHandler\"],[0,\"sendAddressValue\",\"handleAddressSelection\"],[8,\"countryCodeUpdated\",\"handleCountryCodeUpdateGlobal\"],[0,\"resendCode\",\"handleRequestTwofa\"],[8,\"message\",\"messageHandler\"]],{\"registrationStep\":[\"sendStep\"],\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingChangeURL\"],\"forms\":[\"setFormValidity\"],\"btag\":[\"addBtag\"]}],[1,\"general-input\",{\"type\":[513],\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"action\":[513],\"validation\":[16],\"options\":[520],\"language\":[513],\"autofilled\":[516],\"tooltip\":[513],\"defaultValue\":[520,\"default-value\"],\"emitValue\":[516,\"emit-value\"],\"isDuplicateInput\":[516,\"is-duplicate-input\"],\"hidePasswordComplexity\":[516,\"hide-password-complexity\"],\"noValidation\":[516,\"no-validation\"],\"clientStyling\":[520,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"dateFormat\":[513,\"date-format\"],\"translationUrl\":[513,\"translation-url\"],\"emitOnClick\":[516,\"emit-on-click\"],\"twofaDestination\":[513,\"twofa-destination\"],\"twofaResendIntervalSeconds\":[514,\"twofa-resend-interval-seconds\"],\"haspostalcodelookup\":[516],\"postalcodelength\":[514],\"addresses\":[520],\"ignoreCountry\":[516,\"ignore-country\"],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"enableManualDateInput\":[516,\"enable-manual-date-input\"],\"pinAttemptsExceeded\":[516,\"pin-attempts-exceeded\"],\"mbSource\":[513,\"mb-source\"],\"enableCustomRegexValidation\":[516,\"enable-custom-regex-validation\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingChangeURL\"]}],[1,\"toggle-checkbox-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"defaultValue\":[513,\"default-value\"],\"options\":[16],\"autofilled\":[516],\"tooltip\":[513],\"validation\":[16],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32],\"showFields\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"]}],[1,\"checkbox-group-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"options\":[16],\"validation\":[16],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32],\"selectedValues\":[32],\"showCheckboxes\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"selectedValues\":[\"setValue\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"checkbox-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"validation\":[16],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"date-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"dateFormat\":[513,\"date-format\"],\"emitOnClick\":[516,\"emit-on-click\"],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"enableManualDateInput\":[516,\"enable-manual-date-input\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"],\"enableSouthAfricanMode\":[\"handleCustomRegistrationChange\"]}],[1,\"email-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"isDuplicateInput\":[516,\"is-duplicate-input\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"],[16,\"sendInputValue\",\"valueChangedHandler\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"number-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"password-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"validation\":[16],\"noValidation\":[516,\"no-validation\"],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"isDuplicateInput\":[516,\"is-duplicate-input\"],\"hidePasswordComplexity\":[516,\"hide-password-complexity\"],\"clientStyling\":[513,\"client-styling\"],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"mbSource\":[513,\"mb-source\"],\"isValid\":[32],\"errorMessage\":[32],\"showTooltip\":[32],\"passwordComplexity\":[32],\"showPopup\":[32],\"value\":[32]},[[16,\"sendOriginalValidityState\",\"originalValidityChangedHandler\"],[16,\"sendInputValue\",\"valueChangedHandler\"],[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"value\":[\"valueChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"postalcode-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"postalcodelength\":[520],\"addresses\":[520],\"ignoreCountry\":[516,\"ignore-country\"],\"mbSource\":[513,\"mb-source\"],\"isValid\":[32],\"errorMessage\":[32],\"showTooltip\":[32],\"selectedCountryCode\":[32],\"currentPostalCode\":[32],\"openAddressDropdown\":[32],\"showNoResultsMessage\":[32],\"refreshTrigger\":[32],\"isFetchingAddresses\":[32]},[[10,\"click\",\"handleClickOutside\"],[8,\"countryCodeUpdated\",\"handleCountryCodeUpdate\"],[8,\"addressFetchStarted\",\"handleFetchStarted\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"],\"addresses\":[\"handleAddresses\"]}],[1,\"radio-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"optionsGroup\":[16],\"validation\":[16],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"select-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"action\":[513],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"options\":[16],\"validation\":[16],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"tel-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"showLabels\":[516,\"show-labels\"],\"action\":[513],\"validation\":[16],\"defaultValue\":[520,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"enableCustomRegexValidation\":[516,\"enable-custom-regex-validation\"],\"isValid\":[32],\"errorMessage\":[32],\"showTooltip\":[32],\"disablePhonePrefix\":[32],\"phoneValue\":[32],\"phoneCodesOptions\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"text-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"checkValidity\":[516,\"check-validity\"],\"emitValue\":[516,\"emit-value\"],\"isDuplicateInput\":[516,\"is-duplicate-input\"],\"clientStyling\":[513,\"client-styling\"],\"haspostalcodelookup\":[516],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"mbSource\":[513,\"mb-source\"],\"isValid\":[32],\"errorMessage\":[32],\"showTooltip\":[32],\"selectedCountryCode\":[32]},[[10,\"click\",\"handleClickOutside\"],[16,\"sendInputValue\",\"valueChangedHandler\"],[16,\"validationChange\",\"handleValidationChange\"],[8,\"countryCodeUpdated\",\"handleCountryCodeUpdate\"],[16,\"sendAddressValue\",\"handleAddressSelection\"],[8,\"documentNumberUpdatedExternally\",\"handleExternalDocUpdate\"],[8,\"documentNumberResetValidation\",\"handleDocReset\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"twofa-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"destination\":[513],\"resendIntervalSeconds\":[514,\"resend-interval-seconds\"],\"clientStyling\":[513,\"client-styling\"],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"pinAttemptsExceeded\":[516,\"pin-attempts-exceeded\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"isValid\":[32],\"isResendButtonAvailable\":[32],\"showTooltip\":[32],\"errorMessage\":[32],\"code\":[32],\"resendIntervalSecondsLeft\":[32],\"revealedIndexes\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"],\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingChangeURL\"]}]]]]"), options);
|
|
11
|
+
return index.bootstrapLazy(JSON.parse("[[\"checkbox-group-input_15.cjs\",[[1,\"general-registration\",{\"endpoint\":[513],\"language\":[513],\"clientStyling\":[1537,\"client-styling\"],\"mbSource\":[1,\"mb-source\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"translationUrl\":[513,\"translation-url\"],\"dateFormat\":[513,\"date-format\"],\"buttonInsideForm\":[516,\"button-inside-form\"],\"btag\":[513],\"emitOnClick\":[516,\"emit-on-click\"],\"haspostalcodelookup\":[516],\"ignorebtag\":[516],\"enableManualDateInput\":[516,\"enable-manual-date-input\"],\"enableCustomRegexValidation\":[516,\"enable-custom-regex-validation\"],\"gmversion\":[513],\"turnstileSiteKey\":[1,\"turnstile-site-key\"],\"twofaStartCountDown\":[4,\"twofa-start-count-down\"],\"errorMessage\":[32],\"isFormValid\":[32],\"isConsentValid\":[32],\"isConsentReady\":[32],\"isLoading\":[32],\"isLoadingPOST\":[32],\"registrationStep\":[32],\"forms\":[32],\"autofilled\":[32],\"isInitalInteraction\":[32],\"addresses\":[32],\"addressUpdateKey\":[32]},[[0,\"sendValidityState\",\"checkInputsValidityHandler\"],[0,\"sendInputValue\",\"getInputsValueHandler\"],[0,\"sendAddressValue\",\"handleAddressSelection\"],[8,\"countryCodeUpdated\",\"handleCountryCodeUpdateGlobal\"],[0,\"resendCode\",\"handleRequestTwofa\"],[8,\"message\",\"messageHandler\"]],{\"registrationStep\":[\"sendStep\"],\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingChangeURL\"],\"forms\":[\"setFormValidity\"],\"btag\":[\"addBtag\"]}],[1,\"general-input\",{\"type\":[513],\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"action\":[513],\"validation\":[16],\"options\":[520],\"language\":[513],\"autofilled\":[516],\"tooltip\":[513],\"defaultValue\":[520,\"default-value\"],\"emitValue\":[516,\"emit-value\"],\"isDuplicateInput\":[516,\"is-duplicate-input\"],\"hidePasswordComplexity\":[516,\"hide-password-complexity\"],\"noValidation\":[516,\"no-validation\"],\"clientStyling\":[520,\"client-styling\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"dateFormat\":[513,\"date-format\"],\"translationUrl\":[513,\"translation-url\"],\"emitOnClick\":[516,\"emit-on-click\"],\"twofaDestination\":[513,\"twofa-destination\"],\"twofaResendIntervalSeconds\":[514,\"twofa-resend-interval-seconds\"],\"twofaStartCountDown\":[516,\"twofa-start-count-down\"],\"haspostalcodelookup\":[516],\"postalcodelength\":[514],\"addresses\":[520],\"ignoreCountry\":[516,\"ignore-country\"],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"enableManualDateInput\":[516,\"enable-manual-date-input\"],\"pinAttemptsExceeded\":[516,\"pin-attempts-exceeded\"],\"mbSource\":[513,\"mb-source\"],\"enableCustomRegexValidation\":[516,\"enable-custom-regex-validation\"]},null,{\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingChangeURL\"]}],[1,\"toggle-checkbox-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"defaultValue\":[513,\"default-value\"],\"options\":[16],\"autofilled\":[516],\"tooltip\":[513],\"validation\":[16],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32],\"showFields\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"]}],[1,\"checkbox-group-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"options\":[16],\"validation\":[16],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32],\"selectedValues\":[32],\"showCheckboxes\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"selectedValues\":[\"setValue\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"checkbox-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"validation\":[16],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"date-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"dateFormat\":[513,\"date-format\"],\"emitOnClick\":[516,\"emit-on-click\"],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"enableManualDateInput\":[516,\"enable-manual-date-input\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"],\"enableSouthAfricanMode\":[\"handleCustomRegistrationChange\"]}],[1,\"email-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"isDuplicateInput\":[516,\"is-duplicate-input\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"],[16,\"sendInputValue\",\"valueChangedHandler\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"number-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"password-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"validation\":[16],\"noValidation\":[516,\"no-validation\"],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"isDuplicateInput\":[516,\"is-duplicate-input\"],\"hidePasswordComplexity\":[516,\"hide-password-complexity\"],\"clientStyling\":[513,\"client-styling\"],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"mbSource\":[513,\"mb-source\"],\"isValid\":[32],\"errorMessage\":[32],\"showTooltip\":[32],\"passwordComplexity\":[32],\"showPopup\":[32],\"value\":[32]},[[16,\"sendOriginalValidityState\",\"originalValidityChangedHandler\"],[16,\"sendInputValue\",\"valueChangedHandler\"],[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"value\":[\"valueChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"postalcode-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"postalcodelength\":[520],\"addresses\":[520],\"ignoreCountry\":[516,\"ignore-country\"],\"mbSource\":[513,\"mb-source\"],\"isValid\":[32],\"errorMessage\":[32],\"showTooltip\":[32],\"selectedCountryCode\":[32],\"currentPostalCode\":[32],\"openAddressDropdown\":[32],\"showNoResultsMessage\":[32],\"refreshTrigger\":[32],\"isFetchingAddresses\":[32]},[[10,\"click\",\"handleClickOutside\"],[8,\"countryCodeUpdated\",\"handleCountryCodeUpdate\"],[8,\"addressFetchStarted\",\"handleFetchStarted\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"],\"addresses\":[\"handleAddresses\"]}],[1,\"radio-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"optionsGroup\":[16],\"validation\":[16],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"select-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"action\":[513],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"options\":[16],\"validation\":[16],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"errorMessage\":[32],\"isValid\":[32],\"showTooltip\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"tel-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"showLabels\":[516,\"show-labels\"],\"action\":[513],\"validation\":[16],\"defaultValue\":[520,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"clientStyling\":[513,\"client-styling\"],\"mbSource\":[513,\"mb-source\"],\"enableCustomRegexValidation\":[516,\"enable-custom-regex-validation\"],\"isValid\":[32],\"errorMessage\":[32],\"showTooltip\":[32],\"disablePhonePrefix\":[32],\"phoneValue\":[32],\"phoneCodesOptions\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"text-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"defaultValue\":[513,\"default-value\"],\"autofilled\":[516],\"tooltip\":[513],\"language\":[513],\"checkValidity\":[516,\"check-validity\"],\"emitValue\":[516,\"emit-value\"],\"isDuplicateInput\":[516,\"is-duplicate-input\"],\"clientStyling\":[513,\"client-styling\"],\"haspostalcodelookup\":[516],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"mbSource\":[513,\"mb-source\"],\"isValid\":[32],\"errorMessage\":[32],\"showTooltip\":[32],\"selectedCountryCode\":[32]},[[10,\"click\",\"handleClickOutside\"],[16,\"sendInputValue\",\"valueChangedHandler\"],[16,\"validationChange\",\"handleValidationChange\"],[8,\"countryCodeUpdated\",\"handleCountryCodeUpdate\"],[16,\"sendAddressValue\",\"handleAddressSelection\"],[8,\"documentNumberUpdatedExternally\",\"handleExternalDocUpdate\"],[8,\"documentNumberResetValidation\",\"handleDocReset\"]],{\"clientStyling\":[\"handleClientStylingChange\"],\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"]}],[1,\"twofa-input\",{\"name\":[513],\"displayName\":[513,\"display-name\"],\"placeholder\":[513],\"validation\":[16],\"tooltip\":[513],\"language\":[513],\"emitValue\":[516,\"emit-value\"],\"destination\":[513],\"resendIntervalSeconds\":[514,\"resend-interval-seconds\"],\"clientStyling\":[513,\"client-styling\"],\"enableSouthAfricanMode\":[516,\"enable-south-african-mode\"],\"pinAttemptsExceeded\":[516,\"pin-attempts-exceeded\"],\"clientStylingUrl\":[513,\"client-styling-url\"],\"mbSource\":[513,\"mb-source\"],\"startCountDown\":[516,\"start-count-down\"],\"isValid\":[32],\"isResendButtonAvailable\":[32],\"showTooltip\":[32],\"errorMessage\":[32],\"code\":[32],\"resendIntervalSecondsLeft\":[32],\"revealedIndexes\":[32]},[[10,\"click\",\"handleClickOutside\"]],{\"isValid\":[\"validityChanged\"],\"emitValue\":[\"emitValueHandler\"],\"clientStyling\":[\"handleClientStylingChange\"],\"clientStylingUrl\":[\"handleClientStylingChangeURL\"]}]]]]"), options);
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
exports.setNonce = index.setNonce;
|
|
@@ -57,6 +57,7 @@ export class GeneralRegistration {
|
|
|
57
57
|
this.enableCustomRegexValidation = false;
|
|
58
58
|
this.gmversion = '';
|
|
59
59
|
this.turnstileSiteKey = undefined;
|
|
60
|
+
this.twofaStartCountDown = false;
|
|
60
61
|
this.errorMessage = '';
|
|
61
62
|
this.isFormValid = false;
|
|
62
63
|
this.isConsentValid = false;
|
|
@@ -1047,7 +1048,7 @@ export class GeneralRegistration {
|
|
|
1047
1048
|
input.inputType.toLowerCase() === 'togglecheckbox'
|
|
1048
1049
|
? input.data.subFields
|
|
1049
1050
|
: input.data.values
|
|
1050
|
-
: [], defaultValue: input.defaultValue, autofilled: input.autofill, emitValue: this.emitValue, language: this.language, mbSource: this.mbSource, isDuplicateInput: input.isDuplicateInput, "client-styling": this.clientStyling, tooltip: input.tooltip, placeholder: input.placeholder == null ? '' : input.placeholder, "date-format": this.dateFormat, "twofa-destination": this.twofaDestination, "twofa-resend-interval-seconds": (_a = input.customInfo) === null || _a === void 0 ? void 0 : _a.twofaResendIntervalSeconds, "translation-url": this.translationUrl, emitOnClick: this.emitOnClick, onClick: this.handleInitialClick, haspostalcodelookup: this.haspostalcodelookup, addresses: this.haspostalcodelookup ? this.addresses : null, postalcodelength: this.haspostalcodelookup ? this.postalcodelength : null, key: ['address1', 'address2', 'City'].includes(input.name)
|
|
1051
|
+
: [], defaultValue: input.defaultValue, autofilled: input.autofill, emitValue: this.emitValue, language: this.language, mbSource: this.mbSource, isDuplicateInput: input.isDuplicateInput, "client-styling": this.clientStyling, tooltip: input.tooltip, placeholder: input.placeholder == null ? '' : input.placeholder, "date-format": this.dateFormat, "twofa-destination": this.twofaDestination, "twofa-resend-interval-seconds": (_a = input.customInfo) === null || _a === void 0 ? void 0 : _a.twofaResendIntervalSeconds, "twofa-start-count-down": this.twofaStartCountDown, "translation-url": this.translationUrl, emitOnClick: this.emitOnClick, onClick: this.handleInitialClick, haspostalcodelookup: this.haspostalcodelookup, addresses: this.haspostalcodelookup ? this.addresses : null, postalcodelength: this.haspostalcodelookup ? this.postalcodelength : null, key: ['address1', 'address2', 'City'].includes(input.name)
|
|
1051
1052
|
? `${input.name}-${this.addressUpdateKey}`
|
|
1052
1053
|
: input.name, "ignore-country": this.getIgnoreCountry(input), "enable-manual-date-input": this.enableManualDateInput, "enable-custom-regex-validation": this.enableCustomRegexValidation }), ((_b = input.customInfo) === null || _b === void 0 ? void 0 : _b.description) && h("div", { class: "input-description" }, input.customInfo.description)));
|
|
1053
1054
|
}), this.forms[this.registrationStep] && this.isConsentReady && this.renderConsents(), this.forms[this.registrationStep] && this.buttonInsideForm && this.renderButtons(), h("div", { class: "registration__wrapper--flex" }, h("p", { class: "registration__error-message", innerHTML: this.errorMessage }))));
|
|
@@ -1064,8 +1065,8 @@ export class GeneralRegistration {
|
|
|
1064
1065
|
const isLoading = this.isLoading && !this.registerErrors;
|
|
1065
1066
|
const isError = !this.isLoading && this.registerErrors;
|
|
1066
1067
|
const showForm = !(isLoading || isError);
|
|
1067
|
-
return (h("div", { key: '
|
|
1068
|
-
h("div", { key: '
|
|
1068
|
+
return (h("div", { key: '49dcbfc3389de10cff2891cceb53da2d8e4b7910', ref: (el) => (this.stylingContainer = el), class: `registration registration__${this.registrationStep}` }, isLoading && h("p", { key: 'd831910784af86e6201852f9f4209ab1877bdee2', class: `registration registration__loading-message` }, translate('loadingMessage', this.language)), isError && this.renderErrorMessage(this.errorMessage), showForm && this.renderForm(), showForm && !this.buttonInsideForm && this.renderButtons(), this.turnstileSiteKey &&
|
|
1069
|
+
h("div", { key: '6ee1cfed07c4061de197d1510aafbe08cd1e36ef', class: "captcha-wrapper" }, h("slot", { key: '4a7b9fab0dcde1604daa90be700c77b932c68f97', name: CAPTCHA_CONTAINER_SLOT }))));
|
|
1069
1070
|
}
|
|
1070
1071
|
static get is() { return "general-registration"; }
|
|
1071
1072
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1363,6 +1364,24 @@ export class GeneralRegistration {
|
|
|
1363
1364
|
},
|
|
1364
1365
|
"attribute": "turnstile-site-key",
|
|
1365
1366
|
"reflect": false
|
|
1367
|
+
},
|
|
1368
|
+
"twofaStartCountDown": {
|
|
1369
|
+
"type": "boolean",
|
|
1370
|
+
"mutable": false,
|
|
1371
|
+
"complexType": {
|
|
1372
|
+
"original": "boolean",
|
|
1373
|
+
"resolved": "boolean",
|
|
1374
|
+
"references": {}
|
|
1375
|
+
},
|
|
1376
|
+
"required": false,
|
|
1377
|
+
"optional": true,
|
|
1378
|
+
"docs": {
|
|
1379
|
+
"tags": [],
|
|
1380
|
+
"text": "At two FA step, default the resend button shown right away.\nThis config will instead show countdown before resend button available."
|
|
1381
|
+
},
|
|
1382
|
+
"attribute": "twofa-start-count-down",
|
|
1383
|
+
"reflect": false,
|
|
1384
|
+
"defaultValue": "false"
|
|
1366
1385
|
}
|
|
1367
1386
|
};
|
|
1368
1387
|
}
|
|
@@ -13273,6 +13273,7 @@ const GeneralInput = class {
|
|
|
13273
13273
|
this.emitOnClick = false;
|
|
13274
13274
|
this.twofaDestination = undefined;
|
|
13275
13275
|
this.twofaResendIntervalSeconds = 60;
|
|
13276
|
+
this.twofaStartCountDown = false;
|
|
13276
13277
|
this.haspostalcodelookup = undefined;
|
|
13277
13278
|
this.postalcodelength = undefined;
|
|
13278
13279
|
this.addresses = [];
|
|
@@ -13348,7 +13349,7 @@ const GeneralInput = class {
|
|
|
13348
13349
|
case 'dropdown':
|
|
13349
13350
|
return h("select-input", { name: this.name, action: this.action, defaultValue: this.defaultValue, displayName: this.displayName, options: this.options, validation: this.validation, emitValue: this.emitValue, autofilled: this.autofilled, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder, "mb-source": this.mbSource });
|
|
13350
13351
|
case 'twofa':
|
|
13351
|
-
return h("twofa-input", { name: this.name, displayName: this.displayName, validation: this.validation, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, destination: this.twofaDestination, "resend-interval-seconds": this.twofaResendIntervalSeconds, "enable-south-african-mode": this.enableSouthAfricanMode, "pin-attempts-exceeded": this.pinAttemptsExceeded, "mb-source": this.mbSource });
|
|
13352
|
+
return h("twofa-input", { name: this.name, displayName: this.displayName, validation: this.validation, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, destination: this.twofaDestination, "resend-interval-seconds": this.twofaResendIntervalSeconds, "start-count-down": this.twofaStartCountDown, "enable-south-african-mode": this.enableSouthAfricanMode, "pin-attempts-exceeded": this.pinAttemptsExceeded, "mb-source": this.mbSource });
|
|
13352
13353
|
case 'label':
|
|
13353
13354
|
if (this.displayName && this.displayName.trim() !== '') {
|
|
13354
13355
|
return h("div", { class: "general-non-input", innerHTML: this.displayName });
|
|
@@ -13361,7 +13362,7 @@ const GeneralInput = class {
|
|
|
13361
13362
|
}
|
|
13362
13363
|
}
|
|
13363
13364
|
render() {
|
|
13364
|
-
return (h(Host, { key: '
|
|
13365
|
+
return (h(Host, { key: '66f9570a413592a61ea7f18190bcdde82077ab34', class: `general-input--${this.name}`, onClick: this.handleClick }, this.renderInput()));
|
|
13365
13366
|
}
|
|
13366
13367
|
get host() { return getElement(this); }
|
|
13367
13368
|
static get watchers() { return {
|
|
@@ -14800,6 +14801,7 @@ const GeneralRegistration = class {
|
|
|
14800
14801
|
this.enableCustomRegexValidation = false;
|
|
14801
14802
|
this.gmversion = '';
|
|
14802
14803
|
this.turnstileSiteKey = undefined;
|
|
14804
|
+
this.twofaStartCountDown = false;
|
|
14803
14805
|
this.errorMessage = '';
|
|
14804
14806
|
this.isFormValid = false;
|
|
14805
14807
|
this.isConsentValid = false;
|
|
@@ -15789,7 +15791,7 @@ const GeneralRegistration = class {
|
|
|
15789
15791
|
input.inputType.toLowerCase() === 'togglecheckbox'
|
|
15790
15792
|
? input.data.subFields
|
|
15791
15793
|
: input.data.values
|
|
15792
|
-
: [], defaultValue: input.defaultValue, autofilled: input.autofill, emitValue: this.emitValue, language: this.language, mbSource: this.mbSource, isDuplicateInput: input.isDuplicateInput, "client-styling": this.clientStyling, tooltip: input.tooltip, placeholder: input.placeholder == null ? '' : input.placeholder, "date-format": this.dateFormat, "twofa-destination": this.twofaDestination, "twofa-resend-interval-seconds": (_a = input.customInfo) === null || _a === void 0 ? void 0 : _a.twofaResendIntervalSeconds, "translation-url": this.translationUrl, emitOnClick: this.emitOnClick, onClick: this.handleInitialClick, haspostalcodelookup: this.haspostalcodelookup, addresses: this.haspostalcodelookup ? this.addresses : null, postalcodelength: this.haspostalcodelookup ? this.postalcodelength : null, key: ['address1', 'address2', 'City'].includes(input.name)
|
|
15794
|
+
: [], defaultValue: input.defaultValue, autofilled: input.autofill, emitValue: this.emitValue, language: this.language, mbSource: this.mbSource, isDuplicateInput: input.isDuplicateInput, "client-styling": this.clientStyling, tooltip: input.tooltip, placeholder: input.placeholder == null ? '' : input.placeholder, "date-format": this.dateFormat, "twofa-destination": this.twofaDestination, "twofa-resend-interval-seconds": (_a = input.customInfo) === null || _a === void 0 ? void 0 : _a.twofaResendIntervalSeconds, "twofa-start-count-down": this.twofaStartCountDown, "translation-url": this.translationUrl, emitOnClick: this.emitOnClick, onClick: this.handleInitialClick, haspostalcodelookup: this.haspostalcodelookup, addresses: this.haspostalcodelookup ? this.addresses : null, postalcodelength: this.haspostalcodelookup ? this.postalcodelength : null, key: ['address1', 'address2', 'City'].includes(input.name)
|
|
15793
15795
|
? `${input.name}-${this.addressUpdateKey}`
|
|
15794
15796
|
: input.name, "ignore-country": this.getIgnoreCountry(input), "enable-manual-date-input": this.enableManualDateInput, "enable-custom-regex-validation": this.enableCustomRegexValidation }), ((_b = input.customInfo) === null || _b === void 0 ? void 0 : _b.description) && h("div", { class: "input-description" }, input.customInfo.description)));
|
|
15795
15797
|
}), this.forms[this.registrationStep] && this.isConsentReady && this.renderConsents(), this.forms[this.registrationStep] && this.buttonInsideForm && this.renderButtons(), h("div", { class: "registration__wrapper--flex" }, h("p", { class: "registration__error-message", innerHTML: this.errorMessage }))));
|
|
@@ -15806,8 +15808,8 @@ const GeneralRegistration = class {
|
|
|
15806
15808
|
const isLoading = this.isLoading && !this.registerErrors;
|
|
15807
15809
|
const isError = !this.isLoading && this.registerErrors;
|
|
15808
15810
|
const showForm = !(isLoading || isError);
|
|
15809
|
-
return (h("div", { key: '
|
|
15810
|
-
h("div", { key: '
|
|
15811
|
+
return (h("div", { key: '49dcbfc3389de10cff2891cceb53da2d8e4b7910', ref: (el) => (this.stylingContainer = el), class: `registration registration__${this.registrationStep}` }, isLoading && h("p", { key: 'd831910784af86e6201852f9f4209ab1877bdee2', class: `registration registration__loading-message` }, translate('loadingMessage', this.language)), isError && this.renderErrorMessage(this.errorMessage), showForm && this.renderForm(), showForm && !this.buttonInsideForm && this.renderButtons(), this.turnstileSiteKey &&
|
|
15812
|
+
h("div", { key: '6ee1cfed07c4061de197d1510aafbe08cd1e36ef', class: "captcha-wrapper" }, h("slot", { key: '4a7b9fab0dcde1604daa90be700c77b932c68f97', name: CAPTCHA_CONTAINER_SLOT }))));
|
|
15811
15813
|
}
|
|
15812
15814
|
get host() { return getElement(this); }
|
|
15813
15815
|
static get watchers() { return {
|
|
@@ -17684,8 +17686,9 @@ const TwofaInput = class {
|
|
|
17684
17686
|
this.pinAttemptsExceeded = undefined;
|
|
17685
17687
|
this.clientStylingUrl = '';
|
|
17686
17688
|
this.mbSource = undefined;
|
|
17689
|
+
this.startCountDown = false;
|
|
17687
17690
|
this.isValid = false;
|
|
17688
|
-
this.isResendButtonAvailable =
|
|
17691
|
+
this.isResendButtonAvailable = !this.startCountDown;
|
|
17689
17692
|
this.showTooltip = false;
|
|
17690
17693
|
this.errorMessage = '';
|
|
17691
17694
|
this.code = [];
|
|
@@ -17727,8 +17730,9 @@ const TwofaInput = class {
|
|
|
17727
17730
|
}
|
|
17728
17731
|
}
|
|
17729
17732
|
connectedCallback() {
|
|
17733
|
+
var _a;
|
|
17730
17734
|
this.validationPattern = this.setPattern();
|
|
17731
|
-
this.code = new Array(this.validation.maxLength).fill('');
|
|
17735
|
+
this.code = new Array((_a = this.validation) === null || _a === void 0 ? void 0 : _a.maxLength).fill('');
|
|
17732
17736
|
}
|
|
17733
17737
|
disconnectedCallback() {
|
|
17734
17738
|
this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
|
@@ -17747,6 +17751,9 @@ const TwofaInput = class {
|
|
|
17747
17751
|
this.setValidity();
|
|
17748
17752
|
this.registrationWidgetLoaded.emit();
|
|
17749
17753
|
window.postMessage({ type: 'registrationWidgetLoaded' }, window.location.href);
|
|
17754
|
+
if (this.startCountDown) {
|
|
17755
|
+
this.triggerResendInterval();
|
|
17756
|
+
}
|
|
17750
17757
|
this.handleClientStyling();
|
|
17751
17758
|
}
|
|
17752
17759
|
handleKeyDown(e, idx) {
|
|
@@ -17798,22 +17805,24 @@ const TwofaInput = class {
|
|
|
17798
17805
|
}
|
|
17799
17806
|
}
|
|
17800
17807
|
setValidity() {
|
|
17808
|
+
var _a;
|
|
17801
17809
|
const code = this.code.join('');
|
|
17802
|
-
const inputMatchLength = code.length === this.validation.maxLength;
|
|
17810
|
+
const inputMatchLength = code.length === ((_a = this.validation) === null || _a === void 0 ? void 0 : _a.maxLength);
|
|
17803
17811
|
const inputMatchValidation = code.match(this.validationPattern) !== null;
|
|
17804
17812
|
this.isValid = inputMatchLength && inputMatchValidation;
|
|
17805
17813
|
}
|
|
17806
17814
|
setPattern() {
|
|
17807
|
-
var _a, _b;
|
|
17808
|
-
if (((_a = this.validation
|
|
17809
|
-
return (_b = this.validation.custom.find(customValidation => customValidation.rule === 'regex')) === null ||
|
|
17815
|
+
var _a, _b, _c, _d, _e;
|
|
17816
|
+
if (this.validation && ((_a = this.validation) === null || _a === void 0 ? void 0 : _a.custom) && this.validation.custom.length > 0) {
|
|
17817
|
+
return (_e = (_d = (_c = (_b = this.validation) === null || _b === void 0 ? void 0 : _b.custom) === null || _c === void 0 ? void 0 : _c.find(customValidation => customValidation.rule === 'regex')) === null || _d === void 0 ? void 0 : _d.pattern) !== null && _e !== void 0 ? _e : '';
|
|
17810
17818
|
}
|
|
17819
|
+
return '';
|
|
17811
17820
|
}
|
|
17812
17821
|
setErrorMessage() {
|
|
17813
|
-
var _a;
|
|
17822
|
+
var _a, _b, _c;
|
|
17814
17823
|
const inputMatchValidation = this.code.join('').match(this.validationPattern) !== null;
|
|
17815
17824
|
if (!inputMatchValidation) {
|
|
17816
|
-
const errorKey = (_a = this.validation.custom.find(customValidation => customValidation.rule === 'regex')) === null ||
|
|
17825
|
+
const errorKey = (_c = (_b = (_a = this.validation) === null || _a === void 0 ? void 0 : _a.custom) === null || _b === void 0 ? void 0 : _b.find(customValidation => customValidation.rule === 'regex')) === null || _c === void 0 ? void 0 : _c.errorKey;
|
|
17817
17826
|
if (errorKey) {
|
|
17818
17827
|
this.errorMessage = translate$1(errorKey, this.language);
|
|
17819
17828
|
}
|
|
@@ -17838,9 +17847,9 @@ const TwofaInput = class {
|
|
|
17838
17847
|
return current;
|
|
17839
17848
|
}
|
|
17840
17849
|
render() {
|
|
17841
|
-
return (h("div", { key: '
|
|
17850
|
+
return (h("div", { key: 'c2accac3362fe80b2f78ff5f7f76fe45871d63b3', class: "twofa", ref: el => this.stylingContainer = el }, h("div", { key: '8cae1d115652698e0d579de8762ad767448c7bc5', class: 'twofa__error-message' }, h("p", { key: '73a3a6138d131dab6ae052401e7b4b44619b2a1b' }, this.errorMessage)), h("div", { key: '447cebaf6d1f21f6b25af4a2a49932446eae812f', class: "twofa__description", innerHTML: translate$1('twofaDescription', this.language, { values: { destination: this.destination } }) }), h("div", { key: '72732322e151bdbcecbde20a348c54b79a9a064e', class: "twofa__input-wrapper", ref: this.setContainerRef }, this.code.map((_, idx) => {
|
|
17842
17851
|
return (h("input", { key: idx, ref: el => this.setInputRef(el, idx), id: `otp-input-${idx}`, type: "text", maxLength: 2, value: this.getInputDisplayValue(idx), onInput: (event) => this.handleInput(event, idx), onKeyDown: (event) => this.handleKeyDown(event, idx), onPaste: (event) => this.handlePaste(event) }));
|
|
17843
|
-
})), h("div", { key: '
|
|
17852
|
+
})), h("div", { key: '57062c200893d084fd0328ec6363b16821413f5e', class: "twofa__button-wrapper" }, h("p", { key: 'dafc860bf614c3c274c1b144bfc1584a347458de', class: "twofa__resend-message" }, translate$1('twofaResendMessage', this.language)), h("button", { key: '6d1bc6083e98c23879070f91a29b709b0223b02c', class: `twofa__resend-button ${this.pinAttemptsExceeded ? 'twofa__resend-button--disabled' : ''}`, onClick: this.resendCodeHandler, disabled: !this.isResendButtonAvailable || this.pinAttemptsExceeded }, this.isResendButtonAvailable
|
|
17844
17853
|
? translate$1('twofaResendButton', this.language)
|
|
17845
17854
|
: this.formatTime()))));
|
|
17846
17855
|
}
|