@everymatrix/general-registration 1.64.8 → 1.65.1
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_13.cjs.entry.js +9 -5
- package/dist/collection/components/general-registration/general-registration.js +9 -5
- package/dist/esm/checkbox-group-input_13.entry.js +9 -5
- package/dist/general-registration/general-registration.esm.js +1 -1
- package/dist/general-registration/{p-29ae91ed.entry.js → p-50234d46.entry.js} +1 -1
- package/package.json +1 -1
|
@@ -11780,7 +11780,7 @@ const GeneralRegistration = class {
|
|
|
11780
11780
|
}
|
|
11781
11781
|
}
|
|
11782
11782
|
getRegisterConfig(registrationID) {
|
|
11783
|
-
const url = new URL(
|
|
11783
|
+
const url = new URL('/v1/player/legislation/registration/config/', this.endpoint);
|
|
11784
11784
|
const headers = new Headers();
|
|
11785
11785
|
headers.append('Content-Type', 'application/json');
|
|
11786
11786
|
headers.append('Accept', 'application/json');
|
|
@@ -11976,10 +11976,12 @@ const GeneralRegistration = class {
|
|
|
11976
11976
|
this.errorMessage = translate(`${this.errorCode}`, this.language) || translate(`generalError`, this.language);
|
|
11977
11977
|
}
|
|
11978
11978
|
window.postMessage({ type: 'registrationFailed', errorMessage: error === null || error === void 0 ? void 0 : error.thirdPartyResponse.message }, window.location.href);
|
|
11979
|
-
window.postMessage({
|
|
11979
|
+
window.postMessage({
|
|
11980
|
+
type: 'WidgetNotification', data: {
|
|
11980
11981
|
type: 'error',
|
|
11981
11982
|
message: this.errorMessage
|
|
11982
|
-
}
|
|
11983
|
+
}
|
|
11984
|
+
}, window.location.href);
|
|
11983
11985
|
dispatchCustomEvent('register_fail', { error: this.errorMessage });
|
|
11984
11986
|
});
|
|
11985
11987
|
}
|
|
@@ -11990,10 +11992,12 @@ const GeneralRegistration = class {
|
|
|
11990
11992
|
if (!this.registerErrors) {
|
|
11991
11993
|
this.dispatchRegisterCredentialsEvent();
|
|
11992
11994
|
window.postMessage({ type: 'registrationSuccessful', userId: data === null || data === void 0 ? void 0 : data.userId, extraActions: this.extraActions }, window.location.href);
|
|
11993
|
-
window.postMessage({
|
|
11995
|
+
window.postMessage({
|
|
11996
|
+
type: 'WidgetNotification', data: {
|
|
11994
11997
|
type: 'success',
|
|
11995
11998
|
message: translate('successMessage', this.language)
|
|
11996
|
-
}
|
|
11999
|
+
}
|
|
12000
|
+
}, window.location.href);
|
|
11997
12001
|
dispatchCustomEvent('register_closed', { userId: data.userId });
|
|
11998
12002
|
}
|
|
11999
12003
|
})
|
|
@@ -322,7 +322,7 @@ export class GeneralRegistration {
|
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
324
|
getRegisterConfig(registrationID) {
|
|
325
|
-
const url = new URL(
|
|
325
|
+
const url = new URL('/v1/player/legislation/registration/config/', this.endpoint);
|
|
326
326
|
const headers = new Headers();
|
|
327
327
|
headers.append('Content-Type', 'application/json');
|
|
328
328
|
headers.append('Accept', 'application/json');
|
|
@@ -518,10 +518,12 @@ export class GeneralRegistration {
|
|
|
518
518
|
this.errorMessage = translate(`${this.errorCode}`, this.language) || translate(`generalError`, this.language);
|
|
519
519
|
}
|
|
520
520
|
window.postMessage({ type: 'registrationFailed', errorMessage: error === null || error === void 0 ? void 0 : error.thirdPartyResponse.message }, window.location.href);
|
|
521
|
-
window.postMessage({
|
|
521
|
+
window.postMessage({
|
|
522
|
+
type: 'WidgetNotification', data: {
|
|
522
523
|
type: 'error',
|
|
523
524
|
message: this.errorMessage
|
|
524
|
-
}
|
|
525
|
+
}
|
|
526
|
+
}, window.location.href);
|
|
525
527
|
dispatchCustomEvent('register_fail', { error: this.errorMessage });
|
|
526
528
|
});
|
|
527
529
|
}
|
|
@@ -532,10 +534,12 @@ export class GeneralRegistration {
|
|
|
532
534
|
if (!this.registerErrors) {
|
|
533
535
|
this.dispatchRegisterCredentialsEvent();
|
|
534
536
|
window.postMessage({ type: 'registrationSuccessful', userId: data === null || data === void 0 ? void 0 : data.userId, extraActions: this.extraActions }, window.location.href);
|
|
535
|
-
window.postMessage({
|
|
537
|
+
window.postMessage({
|
|
538
|
+
type: 'WidgetNotification', data: {
|
|
536
539
|
type: 'success',
|
|
537
540
|
message: translate('successMessage', this.language)
|
|
538
|
-
}
|
|
541
|
+
}
|
|
542
|
+
}, window.location.href);
|
|
539
543
|
dispatchCustomEvent('register_closed', { userId: data.userId });
|
|
540
544
|
}
|
|
541
545
|
})
|
|
@@ -11776,7 +11776,7 @@ const GeneralRegistration = class {
|
|
|
11776
11776
|
}
|
|
11777
11777
|
}
|
|
11778
11778
|
getRegisterConfig(registrationID) {
|
|
11779
|
-
const url = new URL(
|
|
11779
|
+
const url = new URL('/v1/player/legislation/registration/config/', this.endpoint);
|
|
11780
11780
|
const headers = new Headers();
|
|
11781
11781
|
headers.append('Content-Type', 'application/json');
|
|
11782
11782
|
headers.append('Accept', 'application/json');
|
|
@@ -11972,10 +11972,12 @@ const GeneralRegistration = class {
|
|
|
11972
11972
|
this.errorMessage = translate(`${this.errorCode}`, this.language) || translate(`generalError`, this.language);
|
|
11973
11973
|
}
|
|
11974
11974
|
window.postMessage({ type: 'registrationFailed', errorMessage: error === null || error === void 0 ? void 0 : error.thirdPartyResponse.message }, window.location.href);
|
|
11975
|
-
window.postMessage({
|
|
11975
|
+
window.postMessage({
|
|
11976
|
+
type: 'WidgetNotification', data: {
|
|
11976
11977
|
type: 'error',
|
|
11977
11978
|
message: this.errorMessage
|
|
11978
|
-
}
|
|
11979
|
+
}
|
|
11980
|
+
}, window.location.href);
|
|
11979
11981
|
dispatchCustomEvent('register_fail', { error: this.errorMessage });
|
|
11980
11982
|
});
|
|
11981
11983
|
}
|
|
@@ -11986,10 +11988,12 @@ const GeneralRegistration = class {
|
|
|
11986
11988
|
if (!this.registerErrors) {
|
|
11987
11989
|
this.dispatchRegisterCredentialsEvent();
|
|
11988
11990
|
window.postMessage({ type: 'registrationSuccessful', userId: data === null || data === void 0 ? void 0 : data.userId, extraActions: this.extraActions }, window.location.href);
|
|
11989
|
-
window.postMessage({
|
|
11991
|
+
window.postMessage({
|
|
11992
|
+
type: 'WidgetNotification', data: {
|
|
11990
11993
|
type: 'success',
|
|
11991
11994
|
message: translate('successMessage', this.language)
|
|
11992
|
-
}
|
|
11995
|
+
}
|
|
11996
|
+
}, window.location.href);
|
|
11993
11997
|
dispatchCustomEvent('register_closed', { userId: data.userId });
|
|
11994
11998
|
}
|
|
11995
11999
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as l}from"./p-59a2915a.js";export{s as setNonce}from"./p-59a2915a.js";import{g as i}from"./p-e1255160.js";(()=>{const l=import.meta.url,i={};return""!==l&&(i.resourcesUrl=new URL(".",l).href),e(i)})().then((async e=>(await i(),l([["p-
|
|
1
|
+
import{p as e,b as l}from"./p-59a2915a.js";export{s as setNonce}from"./p-59a2915a.js";import{g as i}from"./p-e1255160.js";(()=>{const l=import.meta.url,i={};return""!==l&&(i.resourcesUrl=new URL(".",l).href),e(i)})().then((async e=>(await i(),l([["p-50234d46",[[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"],errorMessage:[32],isFormValid:[32],isConsentValid:[32],isConsentReady:[32],isLoading:[32],isLoadingPOST:[32],registrationStep:[32],forms:[32],limitStylingAppends:[32],autofilled:[32],isInitalInteraction:[32]},[[0,"sendValidityState","checkInputsValidityHandler"],[0,"sendInputValue","getInputsValueHandler"],[8,"message","messageHandler"]],{registrationStep:["sendStep"],clientStyling:["handleStylingChange"],clientStylingUrl:["handleStylingUrlChange"],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"],clientStyling:[520,"client-styling"],dateFormat:[513,"date-format"],translationUrl:[513,"translation-url"],emitOnClick:[516,"emit-on-click"]}],[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"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32],showFields:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"]}],[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"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32],selectedValues:[32],showCheckboxes:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],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"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],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"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[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"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"],[16,"sendInputValue","valueChangedHandler"]],{clientStyling:["handleStylingChange"],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"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],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],language:[513],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[513,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32],showTooltip:[32],passwordComplexity:[32],showPopup:[32],value:[32]},[[16,"sendOriginalValidityState","originalValidityChangedHandler"],[16,"sendInputValue","valueChangedHandler"],[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],value:["valueChanged"],emitValue:["emitValueHandler"]}],[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"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],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"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],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"],isValid:[32],errorMessage:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],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"],isValid:[32],errorMessage:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"],[16,"sendInputValue","valueChangedHandler"],[16,"validationChange","handleValidationChange"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}]]]],e))));
|