@everymatrix/player-account-controller 1.65.2 → 1.66.0

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.
Files changed (44) hide show
  1. package/components/{PlayerAccountController-Du23H-Ha.js → PlayerAccountController-B0bfe6uR.js} +5 -5
  2. package/components/{PlayerAccountController-N9ebI09s.cjs → PlayerAccountController-CVL0HQhg.cjs} +1 -1
  3. package/components/{PlayerAccountController-Dy_EYTXi.js → PlayerAccountController-CWeJ_3lf.js} +5 -5
  4. package/components/PlayerProfileInfo-B7evfW4V.cjs +4 -0
  5. package/components/PlayerProfileInfo-DKx18BjF.js +2426 -0
  6. package/components/PlayerProfileInfo-HvWkhklW.js +2463 -0
  7. package/es2015/player-account-controller.cjs +1 -1
  8. package/es2015/player-account-controller.js +1 -1
  9. package/esnext/player-account-controller.js +1 -1
  10. package/package.json +1 -1
  11. package/stencil/{checkbox-group-input_9-CNtARK8C.js → checkbox-group-input_9-CBypfsS3.js} +7 -5
  12. package/stencil/{checkbox-group-input_9-CQr3DUDJ.cjs → checkbox-group-input_9-DPHNOESE.cjs} +2 -2
  13. package/stencil/{checkbox-group-input_9-BBp8uUcZ.js → checkbox-group-input_9-DnV_tWRw.js} +7 -5
  14. package/stencil/{general-input-Bv0i36QX.js → general-input-BL6gaRFm.js} +2 -2
  15. package/stencil/{general-input-Bcw5i0ZC.cjs → general-input-D4dlhqRt.cjs} +1 -1
  16. package/stencil/{general-input-wub-4Sk2.js → general-input-PK2GjmMy.js} +2 -2
  17. package/stencil/{index-9c0f6c58-pr1WGVFu.js → index-9c0f6c58-BB5opCt9.js} +1 -1
  18. package/stencil/{index-9c0f6c58-DkHHwpww.cjs → index-9c0f6c58-DmOKHEVq.cjs} +1 -1
  19. package/stencil/{index-9c0f6c58-BNoMpTuB.js → index-9c0f6c58-bxjYqwOi.js} +1 -1
  20. package/stencil/{index-9cd44522-CsUuNLBU.js → index-9cd44522-CS2DUMAh.js} +4 -4
  21. package/stencil/{index-9cd44522-D6uuyxLp.cjs → index-9cd44522-DSTEjWLL.cjs} +1 -1
  22. package/stencil/{index-9cd44522-Bs5-rSFb.js → index-9cd44522-DywmIvct.js} +4 -4
  23. package/stencil/locale-CB060R77.cjs +1 -0
  24. package/stencil/{locale-ioQf6ZrW.js → locale-Cxpe53Ym.js} +9 -3
  25. package/stencil/{password-input_2-ClvpWVfZ.js → password-input_2-B-hB_TyI.js} +28 -26
  26. package/stencil/{password-input_2-CJq7wtMJ.js → password-input_2-Cv3sojDW.js} +28 -26
  27. package/stencil/{password-input_2-BMAMY-nX.cjs → password-input_2-D3RpMK9l.cjs} +2 -2
  28. package/stencil/{player-change-password-gm2-5cb5c6c1-C1DPqzV1.cjs → player-change-password-gm2-5cb5c6c1-48be6rQP.cjs} +1 -1
  29. package/stencil/{player-change-password-gm2-5cb5c6c1-BqiJMiOw.js → player-change-password-gm2-5cb5c6c1-BDrm2Ck6.js} +1 -1
  30. package/stencil/{player-change-password-gm2-5cb5c6c1-D-Az5JzJ.js → player-change-password-gm2-5cb5c6c1-Bo3Z7Tq3.js} +1 -1
  31. package/stencil/{player-change-password-gm2-DSVGYS4v.cjs → player-change-password-gm2-Dyen7kuQ.cjs} +1 -1
  32. package/stencil/{player-change-password-gm2-AbQzJtHf.js → player-change-password-gm2-Lslcce6X.js} +1 -1
  33. package/stencil/{player-change-password-gm2-Cr2Rfbg8.js → player-change-password-gm2-O8hU8m1J.js} +1 -1
  34. package/stencil/{player-kyc-verification-CUhrMPde.js → player-kyc-verification-CMAkNiAB.js} +79 -76
  35. package/stencil/player-kyc-verification-DYcPWwfi.cjs +180 -0
  36. package/stencil/{player-kyc-verification-DPUx1txP.js → player-kyc-verification-p2WFnKBp.js} +25 -22
  37. package/stencil/{toggle-checkbox-input-CYU_o2ph.js → toggle-checkbox-input-C9PFEsSj.js} +2 -2
  38. package/stencil/{toggle-checkbox-input-BlXLUVpo.js → toggle-checkbox-input-CdoZzW97.js} +2 -2
  39. package/stencil/{toggle-checkbox-input-Dsxm6_EO.cjs → toggle-checkbox-input-D6Dot9Sr.cjs} +1 -1
  40. package/components/PlayerProfileInfo-C--m-_0F.js +0 -2419
  41. package/components/PlayerProfileInfo-CD0xjooF.js +0 -2383
  42. package/components/PlayerProfileInfo-D5YZWH2T.cjs +0 -4
  43. package/stencil/locale-BB2iZ4t0.cjs +0 -1
  44. package/stencil/player-kyc-verification-DAy-szI5.cjs +0 -180
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountController-N9ebI09s.cjs")).then(({default:t})=>{!customElements.get("player-account-controller")&&customElements.define("player-account-controller",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountController-CVL0HQhg.cjs")).then(({default:t})=>{!customElements.get("player-account-controller")&&customElements.define("player-account-controller",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/PlayerAccountController-Du23H-Ha.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/PlayerAccountController-B0bfe6uR.js").then(({ default: t }) => {
14
14
  !customElements.get("player-account-controller") && customElements.define("player-account-controller", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { P as r } from "../components/PlayerAccountController-Dy_EYTXi.js";
1
+ import { P as r } from "../components/PlayerAccountController-CWeJ_3lf.js";
2
2
  function s(t) {
3
3
  return function(...n) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/player-account-controller",
3
- "version": "1.65.2",
3
+ "version": "1.66.0",
4
4
  "type": "module",
5
5
  "main": "es2015/player-account-controller.cjs",
6
6
  "module": "esnext/player-account-controller.js",
@@ -1,5 +1,5 @@
1
- import { r as z, c as H, h as l, g as Ye } from "./index-9cd44522-Bs5-rSFb.js";
2
- import { t as x } from "./locale-ioQf6ZrW.js";
1
+ import { r as z, c as H, h as l, g as Ye } from "./index-9cd44522-DywmIvct.js";
2
+ import { t as x } from "./locale-Cxpe53Ym.js";
3
3
  import { t as G } from "./tooltipIcon-ee9760a8-BCCb4EU-.js";
4
4
  const at = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}vaadin-checkbox-group{margin-top:5px;margin-left:40px}.checkboxgroup{font-family:"Roboto";font-style:normal;font-size:15px}.checkboxgroup__wrapper{position:relative}.checkboxgroup__wrapper--flex{display:flex;gap:5px;align-content:flex-start}.checkboxgroup__wrapper--relative{position:relative;display:inline}.checkboxgroup__input{vertical-align:baseline}.checkboxgroup__input[indeterminate]::part(checkbox)::after,.checkboxgroup__input[indeterminate]::part(checkbox),.checkboxgroup__input[checked]::part(checkbox){background-color:var(--emw--login-color-primary, var(--emw--color-primary, #22B04E))}.checkboxgroup__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;padding-left:10px;vertical-align:baseline}.checkboxgroup__label-text{font-size:16px}.checkboxgroup__label a{color:var(--emw--login-color-primary, var(--emw--color-primary, #22B04E))}.checkboxgroup__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.checkboxgroup__tooltip-icon{width:16px;height:auto}.checkboxgroup__tooltip{position:absolute;top:0;right:0;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.checkboxgroup__tooltip.visible{opacity:1}.checkbox__input::part(checkbox){background-color:var(--emw--color-white, #FFFFFF);transform:scale(0.8, 0.8);border-radius:var(--emw--border-radius-small, 2px);box-shadow:0 0px 0px 2px var(--emw--color-gray, #7a7a7a)}.checkbox__input[indeterminate]::part(checkbox),.checkbox__input[checked]::part(checkbox){background-color:var(--emw--login-color-primary, var(--emw--color-primary, #22B04E));box-shadow:none}', nt = at, ot = class {
5
5
  constructor(t) {
@@ -3834,8 +3834,10 @@ const Ur = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.text{
3834
3834
  this.defaultValue && (this.value = this.defaultValue, this.valueHandler({ name: this.name, value: this.value }), this.isDuplicateInput && (this.touched = !0)), this.isValid = this.setValidity();
3835
3835
  }
3836
3836
  setValidity() {
3837
- var t;
3838
- return this.isDuplicateInput && this.duplicateInputValue !== this.value ? !1 : ((t = this.inputReference) === null || t === void 0 ? void 0 : t.validity.valid) && this.inputReference.value.match(this.validationPattern) != null;
3837
+ if (this.isDuplicateInput && this.duplicateInputValue !== this.value || !this.inputReference)
3838
+ return !1;
3839
+ const t = this.inputReference.validity.valid, i = !this.inputReference.value || this.inputReference.value.match(this.validationPattern) !== null;
3840
+ return t && i;
3839
3841
  }
3840
3842
  setPattern() {
3841
3843
  var t, i;
@@ -3862,7 +3864,7 @@ const Ur = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.text{
3862
3864
  }
3863
3865
  render() {
3864
3866
  let t = "";
3865
- return this.touched && (t = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), l("div", { key: "595920d75e3dd31983cb3de2f87f9bf7462b6a8c", class: `text__wrapper ${this.name}__input ${this.autofilled ? "text__wrapper--autofilled" : ""}`, ref: (i) => this.stylingContainer = i }, l("div", { key: "afe2809f25910d410b065d103da3e34661d0dc64", class: "text__wrapper--flex" }, l("label", { key: "ed56095473fbe54d94fcb73fb514a51c4227d100", class: `text__label ${this.validation.mandatory ? "text__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), l("div", { key: "5607fe6a0a3aa0cafe7ec666f13978ad733ad50b", class: "text__wrapper--relative" }, this.tooltip && l("img", { key: "7ad043b188eb69b3bbbe1f94b4aa72f8bffbf427", class: "text__tooltip-icon", src: G, alt: "", ref: (i) => this.tooltipIconReference = i, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), l("input", { key: "f12b4719ef033586ca31dd51f52f67205edbd230", name: this.name, id: `${this.name}__input`, value: this.defaultValue, type: "text", class: `text__input ${t}`, placeholder: `${this.placeholder}`, ref: (i) => this.inputReference = i, readOnly: this.autofilled, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, onInput: this.handleInput, onBlur: this.handleBlur }), l("small", { key: "11b544ac942b17b513f76f2d081898995057721b", class: "text__error-message" }, this.errorMessage));
3867
+ return this.touched && (t = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), l("div", { key: "2ec10d73e5c4f98498da30137bc5aa7e7a2bdd3d", class: `text__wrapper ${this.name}__input ${this.autofilled ? "text__wrapper--autofilled" : ""}`, ref: (i) => this.stylingContainer = i }, l("div", { key: "920b3d13c49ff0c445ae05f7f613185fa211d17a", class: "text__wrapper--flex" }, l("label", { key: "0133d6982eeadb94d7ec1012a4d29a606d8798d0", class: `text__label ${this.validation.mandatory ? "text__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), l("div", { key: "53155bf52cf3145ccb89f4d262d6127bbb316163", class: "text__wrapper--relative" }, this.tooltip && l("img", { key: "a6e0e575bb2a4732e55f10429c6fea0692f90fc1", class: "text__tooltip-icon", src: G, alt: "", ref: (i) => this.tooltipIconReference = i, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), l("input", { key: "5e0678f82cebd2a682854b877c5412d106c871d8", name: this.name, id: `${this.name}__input`, value: this.defaultValue, type: "text", class: `text__input ${t}`, placeholder: `${this.placeholder}`, ref: (i) => this.inputReference = i, readOnly: this.autofilled, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, onInput: this.handleInput, onBlur: this.handleBlur }), l("small", { key: "1ff3d090a3d26c422bb60bda942015315462e1da", class: "text__error-message" }, this.errorMessage));
3866
3868
  }
3867
3869
  static get watchers() {
3868
3870
  return {