@everymatrix/player-account-controller-nd 1.53.0 → 1.53.11
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/components/{GeneralLogout-BZhvD1EQ.js → GeneralLogout-3tCkYOBy.js} +1597 -1648
- package/components/{PlayerAccountBettingHistory-QT3-2u7E.js → PlayerAccountBettingHistory-DAOgOPGf.js} +34 -35
- package/components/{PlayerAccountBiometrics-BupiQCMJ.js → PlayerAccountBiometrics-sCg1trpD.js} +1 -1
- package/components/{PlayerAccountClosureNd-DAFiYifr.js → PlayerAccountClosureNd-De5JqWgf.js} +1 -1
- package/components/{PlayerAccountControllerNd-CS3nKF7-.js → PlayerAccountControllerNd-COEYGY9w.js} +2431 -2171
- package/components/{PlayerAccountGamingLimits-9Stjo0gs.js → PlayerAccountGamingLimits-CqTz7Ici.js} +3 -3
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DKpr25Aj.js → PlayerAccountGamingLimitsConfirmationModal-BjoIf8Bc.js} +38 -38
- package/components/{PlayerAccountGamingLimitsGroupEdit-CBViR9JR.js → PlayerAccountGamingLimitsGroupEdit-DAdNIZpE.js} +16 -16
- package/components/{PlayerAccountGamingLimitsHistory2Nd-BQRXsnS9.js → PlayerAccountGamingLimitsHistory2Nd-DhHA1RpB.js} +122 -133
- package/components/{PlayerAccountGamingLimitsInfoCard-CDFRfVT4.js → PlayerAccountGamingLimitsInfoCard-Dm4s5EwR.js} +4 -4
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-B672X-1A.js → PlayerAccountGamingLimitsPage2Gm16Nd-DKULeWa-.js} +843 -874
- package/components/{PlayerAccountGamingLimitsPopup-DoLZB2lj.js → PlayerAccountGamingLimitsPopup-Df_x-yrG.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-Cq5vxtjw.js → PlayerAccountGamingLimitsWrapper2Nd-DQ3dr7To.js} +111 -117
- package/components/{PlayerAccountGeneralConfirmationModal-BlglDNwU.js → PlayerAccountGeneralConfirmationModal-Nvr-pqYF.js} +42 -42
- package/components/{PlayerAccountMenuNd-BWUhUlIY.js → PlayerAccountMenuNd-z4P33Khe.js} +68 -69
- package/components/{PlayerAccountModal-CzVRNZzB.js → PlayerAccountModal-BvKEdvD_.js} +1 -1
- package/components/{PlayerAccountNotifications-BBwUcB1T.js → PlayerAccountNotifications-BFv2Nw_e.js} +1 -1
- package/components/{PlayerAccountSelfExclusionNd-D2JmyzgE.js → PlayerAccountSelfExclusionNd-D0XYPrl9.js} +5374 -4267
- package/components/{PlayerAccountTimeout-BO3G2t3W.js → PlayerAccountTimeout-rttX6IYz.js} +4 -4
- package/components/{PlayerActiveBonuses-ZwmUwEUl.js → PlayerActiveBonuses-LfCU2WnE.js} +119 -120
- package/components/PlayerBonusCard-CbzYE1Iz.js +701 -0
- package/components/{PlayerBonusHistory-CgvT-d4z.js → PlayerBonusHistory-D61Y7LPQ.js} +53 -53
- package/components/{PlayerChangePassword-BsQyz4Qc.js → PlayerChangePassword-CtlTmVcf.js} +1 -1
- package/components/{PlayerDeposit-BjBByisT.js → PlayerDeposit-_rTfbSEr.js} +1 -1
- package/components/{PlayerGamingHistory-BGLAtN_Q.js → PlayerGamingHistory-szc4XDy6.js} +375 -388
- package/components/{PlayerPendingWithdrawals-wMhZTLpq.js → PlayerPendingWithdrawals-BhEz708_.js} +1 -1
- package/components/{PlayerProfileInfo-DTypEbEs.js → PlayerProfileInfo-BbyV3TvC.js} +532 -549
- package/components/{PlayerRealityCheck--iYjw4rP.js → PlayerRealityCheck-DMRjX5t_.js} +175 -191
- package/components/{PlayerTransactionHistory-CvBbrQn6.js → PlayerTransactionHistory-C4ne-FLe.js} +1 -1
- package/components/{PlayerWithdrawal-jGmMHcUX.js → PlayerWithdrawal-Bn5jvB2N.js} +1 -1
- package/esnext/player-account-controller-nd.js +14 -0
- package/package.json +12 -32
- package/stencil/active-mixin-59dfae2a-BphP4pp5.js +9700 -0
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
- package/stencil/checkbox-group-input_9-CMFoK7_E.js +15610 -0
- package/stencil/general-input-DnFPstQP.js +48 -0
- package/stencil/index-062e829b-DAFsZs6D.js +686 -0
- package/stencil/locale-BG_TzyDt.js +141 -0
- package/stencil/password-input_2-Bb9Q6Fe0.js +2359 -0
- package/stencil/player-change-password-gm2-98dcb7bc-gLcZhl3S.js +253 -0
- package/stencil/player-change-password-gm2-sVfmFhoT.js +7 -0
- package/stencil/toggle-checkbox-input-CCLW6-uK.js +46 -0
- package/stencil/tooltipIcon-ee9760a8-BCCb4EU-.js +4 -0
- package/components/GeneralLogout-BW6b3iuS.cjs +0 -8
- package/components/PlayerAccountBettingHistory-BsFzBNDY.cjs +0 -1
- package/components/PlayerAccountBiometrics-BrlNlZ5N.cjs +0 -1
- package/components/PlayerAccountClosureNd-DcMOj468.cjs +0 -1
- package/components/PlayerAccountControllerNd-B2_bahHf.cjs +0 -1
- package/components/PlayerAccountGamingLimits-BPQrptbd.cjs +0 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-IgBYV9F2.cjs +0 -1
- package/components/PlayerAccountGamingLimitsGroupEdit-DrkoLne8.cjs +0 -10
- package/components/PlayerAccountGamingLimitsHistory2Nd-2hdjxCBn.cjs +0 -1
- package/components/PlayerAccountGamingLimitsInfoCard-BOls7ahz.cjs +0 -1
- package/components/PlayerAccountGamingLimitsPage2Gm16Nd-DSThp4HX.cjs +0 -21
- package/components/PlayerAccountGamingLimitsPopup-ChBLdQR7.cjs +0 -1
- package/components/PlayerAccountGamingLimitsWrapper2Nd-KUpEDIP8.cjs +0 -1
- package/components/PlayerAccountGeneralConfirmationModal-BpTCzpiW.cjs +0 -1
- package/components/PlayerAccountMenuNd-BmPerb2f.cjs +0 -1
- package/components/PlayerAccountModal-C7aZZlBw.cjs +0 -1
- package/components/PlayerAccountNotifications-DkgHtUGj.cjs +0 -1
- package/components/PlayerAccountSelfExclusionNd-DCsOgBZR.cjs +0 -4171
- package/components/PlayerAccountTimeout-Dg5Mlz5K.cjs +0 -1
- package/components/PlayerActiveBonuses-Dv3Y8Vnb.cjs +0 -1
- package/components/PlayerBonusCard-DGPJpICk.cjs +0 -1
- package/components/PlayerBonusCard-dFgfE3Pv.js +0 -722
- package/components/PlayerBonusHistory-BfiKd2bg.cjs +0 -1
- package/components/PlayerChangePassword-CzR4Xz0H.cjs +0 -3
- package/components/PlayerDeposit-3qNMb75V.cjs +0 -1
- package/components/PlayerGamingHistory-DKuaAado.cjs +0 -1
- package/components/PlayerPendingWithdrawals-BG3I8ifu.cjs +0 -1
- package/components/PlayerProfileInfo-BX32t6wz.cjs +0 -1
- package/components/PlayerRealityCheck-C26ZBWae.cjs +0 -1
- package/components/PlayerTransactionHistory-CJqhYnbs.cjs +0 -1
- package/components/PlayerWithdrawal-GDc_7hZX.cjs +0 -1
- package/es2015/player-account-controller-nd.cjs +0 -1
- package/es2015/player-account-controller-nd.js +0 -16
- package/stencil/index-Dyvby5gX.cjs +0 -1
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { r as a, h as t, H as l } from "./index-062e829b-DAFsZs6D.js";
|
|
2
|
+
import { g as s } from "./locale-BG_TzyDt.js";
|
|
3
|
+
const n = ":host{display:block;height:100%}", o = n, h = class {
|
|
4
|
+
constructor(i) {
|
|
5
|
+
a(this, i), this.type = "text", this.clientStyling = "", this.translationUrl = "", this.emitOnClick = !1, this.handleClick = (e) => {
|
|
6
|
+
this.emitOnClick && (e.stopPropagation(), window.postMessage({ type: `registration${this.name}Clicked` }, window.location.href));
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
connectedCallback() {
|
|
10
|
+
this.translationUrl && s(this.translationUrl);
|
|
11
|
+
}
|
|
12
|
+
renderInput() {
|
|
13
|
+
var i;
|
|
14
|
+
switch ((i = this.type) === null || i === void 0 ? void 0 : i.toLowerCase()) {
|
|
15
|
+
case "text":
|
|
16
|
+
return t("text-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, isDuplicateInput: this.isDuplicateInput, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder });
|
|
17
|
+
case "email":
|
|
18
|
+
return t("email-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, isDuplicateInput: this.isDuplicateInput, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder });
|
|
19
|
+
case "number":
|
|
20
|
+
return t("number-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder });
|
|
21
|
+
case "checkbox":
|
|
22
|
+
return t("checkbox-input", { name: this.name, displayName: this.displayName, validation: this.validation, emitValue: this.emitValue, defaultValue: this.defaultValue, autofilled: this.autofilled, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip });
|
|
23
|
+
case "checkboxgroup":
|
|
24
|
+
return t("checkbox-group-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, options: this.options });
|
|
25
|
+
case "togglecheckbox":
|
|
26
|
+
return t("toggle-checkbox-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, options: this.options, "emit-on-click": this.emitOnClick });
|
|
27
|
+
case "datetime":
|
|
28
|
+
return t("date-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder, dateFormat: this.dateFormat, "emit-on-click": this.emitOnClick });
|
|
29
|
+
case "password":
|
|
30
|
+
return t("password-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, isDuplicateInput: this.isDuplicateInput, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder });
|
|
31
|
+
case "radio":
|
|
32
|
+
return t("radio-input", { name: this.name, displayName: this.displayName, optionsGroup: this.options, validation: this.validation, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling });
|
|
33
|
+
case "tel":
|
|
34
|
+
return t("tel-input", { name: this.name, action: this.action, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, emitValue: this.emitValue, language: this.language, autofilled: this.autofilled, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder });
|
|
35
|
+
case "dropdown":
|
|
36
|
+
return t("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 });
|
|
37
|
+
default:
|
|
38
|
+
return t("p", null, "The ", this.type, " input type is not valid");
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
render() {
|
|
42
|
+
return t(l, { key: "e1c49fc91ead165c05b30c21ac568486e55c8096", class: `general-input--${this.name}`, onClick: this.handleClick }, this.renderInput());
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
h.style = o;
|
|
46
|
+
export {
|
|
47
|
+
h as general_input
|
|
48
|
+
};
|