@everymatrix/player-account-controller-nd 1.87.24 → 1.87.26

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 (19) hide show
  1. package/components/{PlayerAccountControllerNd-DVU422pB.js → PlayerAccountControllerNd-C6p_kKyh.js} +1 -1
  2. package/components/{PlayerAccountControllerNd-D5too0gn.js → PlayerAccountControllerNd-SlCHyjHq.js} +1 -1
  3. package/components/{PlayerAccountControllerNd-BvGoc8zE.cjs → PlayerAccountControllerNd-rq8YRAF8.cjs} +1 -1
  4. package/es2015/player-account-controller-nd.cjs +1 -1
  5. package/es2015/player-account-controller-nd.js +1 -1
  6. package/esnext/player-account-controller-nd.js +1 -1
  7. package/lazy/{pam-change-password-CKgwlXJf.cjs → pam-change-password-AlOm5cr5.cjs} +1 -1
  8. package/lazy/{pam-change-password-BEdecalG.js → pam-change-password-C0GDc1-6.js} +1 -1
  9. package/lazy/{pam-change-password-ANVQ5J4z.js → pam-change-password-CjEH2xAC.js} +1 -1
  10. package/package.json +1 -1
  11. package/stencil/{checkbox-group-input_16-CncC1SwJ.js → checkbox-group-input_16-BzuatS1O.js} +9 -9
  12. package/stencil/{checkbox-group-input_16-Bc7nApte.js → checkbox-group-input_16-C2U40PRd.js} +9 -9
  13. package/stencil/{checkbox-group-input_16-D1Qgcf7s.cjs → checkbox-group-input_16-tPQE2pxT.cjs} +2 -2
  14. package/stencil/{pam-change-password-6b535bd5-DV7QzAz7.js → pam-change-password-6b535bd5-BXXd-JH1.js} +1 -1
  15. package/stencil/{pam-change-password-6b535bd5-Dg3yzA9s.js → pam-change-password-6b535bd5-CECTr5ou.js} +1 -1
  16. package/stencil/{pam-change-password-6b535bd5-CphfVPuL.cjs → pam-change-password-6b535bd5-DIIkqQAT.cjs} +1 -1
  17. package/stencil/{pam-change-password-BhYlHI2r.js → pam-change-password-CeHGulmv.js} +2 -2
  18. package/stencil/{pam-change-password-Ti95bjtU.cjs → pam-change-password-DfJ3Hz_h.cjs} +1 -1
  19. package/stencil/{pam-change-password-Bu0blPSE.js → pam-change-password-I_UDtXjh.js} +2 -2
@@ -42,7 +42,7 @@ var Se = Object.defineProperty, Ee = (e, t) => {
42
42
  case "checkbox-group-input_16":
43
43
  return import(
44
44
  /* webpackMode: "lazy" */
45
- "../stencil/checkbox-group-input_16-Bc7nApte.js"
45
+ "../stencil/checkbox-group-input_16-C2U40PRd.js"
46
46
  ).then(a, w);
47
47
  }
48
48
  }
@@ -26,7 +26,7 @@ var me = Object.defineProperty, Se = (e, t) => {
26
26
  case "checkbox-group-input_16":
27
27
  return import(
28
28
  /* webpackMode: "lazy" */
29
- "../stencil/checkbox-group-input_16-CncC1SwJ.js"
29
+ "../stencil/checkbox-group-input_16-BzuatS1O.js"
30
30
  ).then(a, w);
31
31
  }
32
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/player-account-controller-nd",
3
- "version": "1.87.24",
3
+ "version": "1.87.26",
4
4
  "type": "module",
5
5
  "main": "es2015/player-account-controller-nd.cjs",
6
6
  "module": "esnext/player-account-controller-nd.js",
@@ -1,5 +1,5 @@
1
- import { r as ee, c as P, h as u, g as Vt, H as Io } from "../lazy/pam-change-password-ANVQ5J4z.js";
2
- import { P as d_ } from "./pam-change-password-6b535bd5-Dg3yzA9s.js";
1
+ import { r as ee, c as P, h as u, g as Vt, H as Io } from "../lazy/pam-change-password-CjEH2xAC.js";
2
+ import { P as d_ } from "./pam-change-password-6b535bd5-CECTr5ou.js";
3
3
  const Ns = "en", To = {
4
4
  en: {
5
5
  dateError: "The selected date should be between {min} and {max}",
@@ -20358,10 +20358,10 @@ const jf = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.tel{f
20358
20358
  constructor(i) {
20359
20359
  ee(this, i), this.sendValidityState = P(this, "sendValidityState"), this.sendInputValue = P(this, "sendInputValue"), this.validationPattern = "", this.touched = !1, this.handleInput = (e) => {
20360
20360
  this.setPhoneValue(e.target.value), this.value = { prefix: this.prefixValue, phone: this.phoneValue }, this.touched = !0, this.debounceTime && clearTimeout(this.debounceTime), this.debounceTime = setTimeout(() => {
20361
- this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage(), this.emitValueHandler(!0);
20361
+ this.isValid = this.isValidValue(), this.errorMessage = this.setErrorMessage(), this.emitValueHandler(!0);
20362
20362
  }, 500);
20363
20363
  }, this.handleBlur = () => {
20364
- this.touched || (this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage(), this.touched = !0);
20364
+ this.touched = !0, this.isValid = this.isValidValue(), this.errorMessage = this.setErrorMessage();
20365
20365
  }, this.setClientStyling = () => {
20366
20366
  let e = document.createElement("style");
20367
20367
  e.innerHTML = this.clientStyling, this.stylingContainer.prepend(e);
@@ -20408,7 +20408,7 @@ const jf = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.tel{f
20408
20408
  !this.limitStylingAppends && this.stylingContainer && (this.clientStyling && this.setClientStyling(), this.limitStylingAppends = !0);
20409
20409
  }
20410
20410
  componentDidLoad() {
20411
- this.isValid = this.setValidity(), this.defaultValue && (this.value = this.defaultValue, this.valueHandler({ name: this.name, value: this.value, type: "tel" }));
20411
+ this.isValid = this.isValidValue(), this.defaultValue && (this.value = this.defaultValue, this.valueHandler({ name: this.name, value: this.value, type: "tel" }));
20412
20412
  }
20413
20413
  getPhoneCodes(i) {
20414
20414
  const e = new URL(i);
@@ -20423,8 +20423,8 @@ const jf = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.tel{f
20423
20423
  handlePrefixInput(i) {
20424
20424
  this.prefixValue = i.target.value, this.value = { prefix: this.prefixValue, phone: this.phoneValue }, this.emitValueHandler(!0);
20425
20425
  }
20426
- setValidity() {
20427
- return this.inputReference.validity.valid;
20426
+ isValidValue() {
20427
+ return !this.inputReference || this.validation.mandatory && (!this.phoneValue || this.phoneValue.trim() === "") ? !1 : !this.phoneValue || this.phoneValue.trim() === "" ? !this.validation.mandatory : !(this.validation.minLength && this.phoneValue.length < this.validation.minLength || this.validation.maxLength && this.phoneValue.length > this.validation.maxLength || this.validationPattern && !new RegExp(this.validationPattern).test(this.phoneValue));
20428
20428
  }
20429
20429
  setPattern() {
20430
20430
  var i, e;
@@ -20437,7 +20437,7 @@ const jf = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.tel{f
20437
20437
  const t = (i = this.validation.custom.find((a) => a.rule === "regex")) === null || i === void 0 ? void 0 : i.errorKey, r = (e = this.validation.custom.find((a) => a.rule === "regex")) === null || e === void 0 ? void 0 : e.errorMessage;
20438
20438
  return b(`${t}`, this.language) ? b(`${t}`, this.language) : r;
20439
20439
  }
20440
- if (this.inputReference.validity.tooShort || this.inputReference.validity.tooLong)
20440
+ if (this.inputReference.validity.tooShort || this.inputReference.validity.tooLong || this.validation.minLength && this.phoneValue && this.phoneValue.length < this.validation.minLength || this.validation.maxLength && this.phoneValue && this.phoneValue.length > this.validation.maxLength)
20441
20441
  return b("lengthError", this.language, { values: { minLength: this.validation.minLength, maxLength: this.validation.maxLength } });
20442
20442
  if (this.inputReference.validity.valueMissing)
20443
20443
  return b("requiredError", this.language);
@@ -20448,7 +20448,7 @@ const jf = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.tel{f
20448
20448
  render() {
20449
20449
  var i;
20450
20450
  let e = "";
20451
- return this.touched && (e = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), u("div", { key: "7296f134bff80795ab52a1a27eb059ab2f3c0c87", class: `tel__wrapper ${this.autofilled ? "tel__wrapper--autofilled" : ""} ${this.name}__input`, ref: (t) => this.stylingContainer = t }, u("div", { key: "c9b1fdf501299398bcda1e59e65bb0a7d6b7de43", class: "tel__wrapper--flex-label" }, u("label", { key: "e7e6858fc61e2b6ea8974f8b4dc8d67a5fcb07b4", class: `tel__label ${this.validation.mandatory ? "tel__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), u("div", { key: "6c9cc9a3c74e8cd06224e2663d4c363e5d8fb3c0", class: "tel__wrapper--relative" }, this.tooltip && u("img", { key: "17e85d6050d4796bf5b057c901631a87b25d3b40", class: "tel__tooltip-icon", src: de, alt: "", ref: (t) => this.tooltipIconReference = t, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), u("div", { key: "cb2e8b93e5663c92a2fd114d1fe1c9d9e09ebc83", class: `tel__wrapper--flex ${e}` }, u("vaadin-combo-box", { key: "fb1c3ab06d19e9ed7bbdf7effe8f25a1f7d9fe15", class: "tel__prefix", items: this.phoneCodesOptions, value: this.prefixValue, readOnly: this.disablePhonePrefix, onChange: (t) => this.handlePrefixInput(t) }), u("input", { key: "d2701f0bdca4122c18fd43d311ea8c5e2536b1f5", type: "tel", ref: (t) => this.inputReference = t, id: `${this.name}__input`, readOnly: this.autofilled, class: "tel__input", value: (i = this.phoneValue) !== null && i !== void 0 ? i : "", placeholder: `${this.placeholder}`, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, pattern: this.validationPattern, onInput: this.handleInput, onBlur: this.handleBlur })), u("small", { key: "a685ceea5c99f29d992fd5291f67934a22d6997c", class: "tel__error-message" }, this.errorMessage));
20451
+ return this.touched && (e = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), u("div", { key: "f534de21d5597a3e90912eb87fff893511d09920", class: `tel__wrapper ${this.autofilled ? "tel__wrapper--autofilled" : ""} ${this.name}__input`, ref: (t) => this.stylingContainer = t }, u("div", { key: "431fb8cbaea0d2244847823ea4d04d8c73a5341c", class: "tel__wrapper--flex-label" }, u("label", { key: "2eb210b2f0c2e0e632997f59fe7aa667578f72fd", class: `tel__label ${this.validation.mandatory ? "tel__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), u("div", { key: "2d912b828f7d9475a1bbb5bac13495779f31198e", class: "tel__wrapper--relative" }, this.tooltip && u("img", { key: "ce4433263d27dc9d3fb2caf45069d7a92e9ae3a7", class: "tel__tooltip-icon", src: de, alt: "", ref: (t) => this.tooltipIconReference = t, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), u("div", { key: "480cd17eafb4f2ff1e396531429177cb3130eb95", class: `tel__wrapper--flex ${e}` }, u("vaadin-combo-box", { key: "5f2292c8509e5f68786d0f462c689102b1c75dc3", class: "tel__prefix", items: this.phoneCodesOptions, value: this.prefixValue, readOnly: this.disablePhonePrefix, onChange: (t) => this.handlePrefixInput(t) }), u("input", { key: "77232e119eed4960f5e1d809507b8585dd112256", type: "tel", ref: (t) => this.inputReference = t, id: `${this.name}__input`, readOnly: this.autofilled, class: "tel__input", value: (i = this.phoneValue) !== null && i !== void 0 ? i : "", placeholder: `${this.placeholder}`, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, pattern: this.validationPattern, onInput: this.handleInput, onBlur: this.handleBlur })), u("small", { key: "0d925cee41881c8c822073790e26ca7dc4a81049", class: "tel__error-message" }, this.errorMessage));
20452
20452
  }
20453
20453
  static get watchers() {
20454
20454
  return {
@@ -1,5 +1,5 @@
1
- import { r as ee, c as P, h as u, g as Vt, H as Io } from "../lazy/pam-change-password-BEdecalG.js";
2
- import { P as d_ } from "./pam-change-password-6b535bd5-DV7QzAz7.js";
1
+ import { r as ee, c as P, h as u, g as Vt, H as Io } from "../lazy/pam-change-password-C0GDc1-6.js";
2
+ import { P as d_ } from "./pam-change-password-6b535bd5-BXXd-JH1.js";
3
3
  const Ns = "en", To = {
4
4
  en: {
5
5
  dateError: "The selected date should be between {min} and {max}",
@@ -20358,10 +20358,10 @@ const jf = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.tel{f
20358
20358
  constructor(i) {
20359
20359
  ee(this, i), this.sendValidityState = P(this, "sendValidityState"), this.sendInputValue = P(this, "sendInputValue"), this.validationPattern = "", this.touched = !1, this.handleInput = (e) => {
20360
20360
  this.setPhoneValue(e.target.value), this.value = { prefix: this.prefixValue, phone: this.phoneValue }, this.touched = !0, this.debounceTime && clearTimeout(this.debounceTime), this.debounceTime = setTimeout(() => {
20361
- this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage(), this.emitValueHandler(!0);
20361
+ this.isValid = this.isValidValue(), this.errorMessage = this.setErrorMessage(), this.emitValueHandler(!0);
20362
20362
  }, 500);
20363
20363
  }, this.handleBlur = () => {
20364
- this.touched || (this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage(), this.touched = !0);
20364
+ this.touched = !0, this.isValid = this.isValidValue(), this.errorMessage = this.setErrorMessage();
20365
20365
  }, this.setClientStyling = () => {
20366
20366
  let e = document.createElement("style");
20367
20367
  e.innerHTML = this.clientStyling, this.stylingContainer.prepend(e);
@@ -20408,7 +20408,7 @@ const jf = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.tel{f
20408
20408
  !this.limitStylingAppends && this.stylingContainer && (this.clientStyling && this.setClientStyling(), this.limitStylingAppends = !0);
20409
20409
  }
20410
20410
  componentDidLoad() {
20411
- this.isValid = this.setValidity(), this.defaultValue && (this.value = this.defaultValue, this.valueHandler({ name: this.name, value: this.value, type: "tel" }));
20411
+ this.isValid = this.isValidValue(), this.defaultValue && (this.value = this.defaultValue, this.valueHandler({ name: this.name, value: this.value, type: "tel" }));
20412
20412
  }
20413
20413
  getPhoneCodes(i) {
20414
20414
  const e = new URL(i);
@@ -20423,8 +20423,8 @@ const jf = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.tel{f
20423
20423
  handlePrefixInput(i) {
20424
20424
  this.prefixValue = i.target.value, this.value = { prefix: this.prefixValue, phone: this.phoneValue }, this.emitValueHandler(!0);
20425
20425
  }
20426
- setValidity() {
20427
- return this.inputReference.validity.valid;
20426
+ isValidValue() {
20427
+ return !this.inputReference || this.validation.mandatory && (!this.phoneValue || this.phoneValue.trim() === "") ? !1 : !this.phoneValue || this.phoneValue.trim() === "" ? !this.validation.mandatory : !(this.validation.minLength && this.phoneValue.length < this.validation.minLength || this.validation.maxLength && this.phoneValue.length > this.validation.maxLength || this.validationPattern && !new RegExp(this.validationPattern).test(this.phoneValue));
20428
20428
  }
20429
20429
  setPattern() {
20430
20430
  var i, e;
@@ -20437,7 +20437,7 @@ const jf = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.tel{f
20437
20437
  const t = (i = this.validation.custom.find((a) => a.rule === "regex")) === null || i === void 0 ? void 0 : i.errorKey, r = (e = this.validation.custom.find((a) => a.rule === "regex")) === null || e === void 0 ? void 0 : e.errorMessage;
20438
20438
  return b(`${t}`, this.language) ? b(`${t}`, this.language) : r;
20439
20439
  }
20440
- if (this.inputReference.validity.tooShort || this.inputReference.validity.tooLong)
20440
+ if (this.inputReference.validity.tooShort || this.inputReference.validity.tooLong || this.validation.minLength && this.phoneValue && this.phoneValue.length < this.validation.minLength || this.validation.maxLength && this.phoneValue && this.phoneValue.length > this.validation.maxLength)
20441
20441
  return b("lengthError", this.language, { values: { minLength: this.validation.minLength, maxLength: this.validation.maxLength } });
20442
20442
  if (this.inputReference.validity.valueMissing)
20443
20443
  return b("requiredError", this.language);
@@ -20448,7 +20448,7 @@ const jf = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.tel{f
20448
20448
  render() {
20449
20449
  var i;
20450
20450
  let e = "";
20451
- return this.touched && (e = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), u("div", { key: "7296f134bff80795ab52a1a27eb059ab2f3c0c87", class: `tel__wrapper ${this.autofilled ? "tel__wrapper--autofilled" : ""} ${this.name}__input`, ref: (t) => this.stylingContainer = t }, u("div", { key: "c9b1fdf501299398bcda1e59e65bb0a7d6b7de43", class: "tel__wrapper--flex-label" }, u("label", { key: "e7e6858fc61e2b6ea8974f8b4dc8d67a5fcb07b4", class: `tel__label ${this.validation.mandatory ? "tel__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), u("div", { key: "6c9cc9a3c74e8cd06224e2663d4c363e5d8fb3c0", class: "tel__wrapper--relative" }, this.tooltip && u("img", { key: "17e85d6050d4796bf5b057c901631a87b25d3b40", class: "tel__tooltip-icon", src: de, alt: "", ref: (t) => this.tooltipIconReference = t, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), u("div", { key: "cb2e8b93e5663c92a2fd114d1fe1c9d9e09ebc83", class: `tel__wrapper--flex ${e}` }, u("vaadin-combo-box", { key: "fb1c3ab06d19e9ed7bbdf7effe8f25a1f7d9fe15", class: "tel__prefix", items: this.phoneCodesOptions, value: this.prefixValue, readOnly: this.disablePhonePrefix, onChange: (t) => this.handlePrefixInput(t) }), u("input", { key: "d2701f0bdca4122c18fd43d311ea8c5e2536b1f5", type: "tel", ref: (t) => this.inputReference = t, id: `${this.name}__input`, readOnly: this.autofilled, class: "tel__input", value: (i = this.phoneValue) !== null && i !== void 0 ? i : "", placeholder: `${this.placeholder}`, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, pattern: this.validationPattern, onInput: this.handleInput, onBlur: this.handleBlur })), u("small", { key: "a685ceea5c99f29d992fd5291f67934a22d6997c", class: "tel__error-message" }, this.errorMessage));
20451
+ return this.touched && (e = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), u("div", { key: "f534de21d5597a3e90912eb87fff893511d09920", class: `tel__wrapper ${this.autofilled ? "tel__wrapper--autofilled" : ""} ${this.name}__input`, ref: (t) => this.stylingContainer = t }, u("div", { key: "431fb8cbaea0d2244847823ea4d04d8c73a5341c", class: "tel__wrapper--flex-label" }, u("label", { key: "2eb210b2f0c2e0e632997f59fe7aa667578f72fd", class: `tel__label ${this.validation.mandatory ? "tel__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), u("div", { key: "2d912b828f7d9475a1bbb5bac13495779f31198e", class: "tel__wrapper--relative" }, this.tooltip && u("img", { key: "ce4433263d27dc9d3fb2caf45069d7a92e9ae3a7", class: "tel__tooltip-icon", src: de, alt: "", ref: (t) => this.tooltipIconReference = t, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), u("div", { key: "480cd17eafb4f2ff1e396531429177cb3130eb95", class: `tel__wrapper--flex ${e}` }, u("vaadin-combo-box", { key: "5f2292c8509e5f68786d0f462c689102b1c75dc3", class: "tel__prefix", items: this.phoneCodesOptions, value: this.prefixValue, readOnly: this.disablePhonePrefix, onChange: (t) => this.handlePrefixInput(t) }), u("input", { key: "77232e119eed4960f5e1d809507b8585dd112256", type: "tel", ref: (t) => this.inputReference = t, id: `${this.name}__input`, readOnly: this.autofilled, class: "tel__input", value: (i = this.phoneValue) !== null && i !== void 0 ? i : "", placeholder: `${this.placeholder}`, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, pattern: this.validationPattern, onInput: this.handleInput, onBlur: this.handleBlur })), u("small", { key: "0d925cee41881c8c822073790e26ca7dc4a81049", class: "tel__error-message" }, this.errorMessage));
20452
20452
  }
20453
20453
  static get watchers() {
20454
20454
  return {