@everymatrix/player-account-controller-nd 1.77.16 → 1.77.18

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-D6DUFuwi.js → PlayerAccountControllerNd-BMoR29hP.js} +1 -1
  2. package/components/{PlayerAccountControllerNd-DJREs-4f.js → PlayerAccountControllerNd-DXCBN0-A.js} +1 -1
  3. package/components/{PlayerAccountControllerNd-yNjmMRI0.cjs → PlayerAccountControllerNd-zuUEajsd.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-DxJulz-x.js → pam-change-password-B-DJH9Te.js} +1 -1
  8. package/lazy/{pam-change-password-8fGivTDQ.js → pam-change-password-ExVqp8Pv.js} +1 -1
  9. package/lazy/{pam-change-password-DgPmFEYj.cjs → pam-change-password-wXas5Bv7.cjs} +1 -1
  10. package/package.json +1 -1
  11. package/stencil/{checkbox-group-input_15-nf479NaC.js → checkbox-group-input_15-BUXmpr2Q.js} +10 -12
  12. package/stencil/{checkbox-group-input_15-DsaT4Kv3.cjs → checkbox-group-input_15-BodHUPg_.cjs} +2 -2
  13. package/stencil/{checkbox-group-input_15-C1VLXj3-.js → checkbox-group-input_15-Cy_0zVc_.js} +10 -12
  14. package/stencil/{pam-change-password-9aef79f2-B0CWDPcM.js → pam-change-password-9aef79f2-BNgDrDv9.js} +1 -1
  15. package/stencil/{pam-change-password-9aef79f2-Cg2a7X0m.cjs → pam-change-password-9aef79f2-DnIvxA00.cjs} +1 -1
  16. package/stencil/{pam-change-password-9aef79f2-CqNLWppD.js → pam-change-password-9aef79f2-iXJSyAvL.js} +1 -1
  17. package/stencil/{pam-change-password-ButHmEz5.cjs → pam-change-password-Ck-zBJY5.cjs} +1 -1
  18. package/stencil/{pam-change-password-Bk4DJ1fr.js → pam-change-password-Dl2uIdAN.js} +3 -3
  19. package/stencil/{pam-change-password-CecdFumi.js → pam-change-password-LR7MtUYb.js} +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/player-account-controller-nd",
3
- "version": "1.77.16",
3
+ "version": "1.77.18",
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 te, c as L, h as u, g as yr, H as Co } from "../lazy/pam-change-password-8fGivTDQ.js";
2
- import { P as t_ } from "./pam-change-password-9aef79f2-B0CWDPcM.js";
1
+ import { r as te, c as L, h as u, g as yr, H as Co } from "../lazy/pam-change-password-ExVqp8Pv.js";
2
+ import { P as t_ } from "./pam-change-password-9aef79f2-BNgDrDv9.js";
3
3
  const Ds = "en", ko = {
4
4
  en: {
5
5
  dateError: "The selected date should be between {min} and {max}",
@@ -19944,11 +19944,7 @@ const Mf = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}:host{
19944
19944
  !this.limitStylingAppends && this.stylingContainer && (this.clientStyling && this.setClientStyling(), this.limitStylingAppends = !0);
19945
19945
  }
19946
19946
  componentDidLoad() {
19947
- if (this.inputReference = this.vaadinCombo.querySelector("input"), this.defaultValue) {
19948
- const i = this.displayedOptions.find((e) => e.value.toUpperCase() === this.defaultValue.toUpperCase());
19949
- this.value = i.value, this.valueHandler({ name: this.name, value: this.value }), this.inputReference.value = this.value;
19950
- }
19951
- this.isValid = this.setValidity(), !this.isComboBox && this.vaadinCombo && this.vaadinCombo.addEventListener("opened-changed", (i) => {
19947
+ this.inputReference = this.vaadinCombo.querySelector("input"), this.defaultValue && (this.value = this.defaultValue.toUpperCase(), this.valueHandler({ name: this.name, value: this.value }), this.inputReference.value = this.value), this.isValid = this.setValidity(), !this.isComboBox && this.vaadinCombo && this.vaadinCombo.addEventListener("opened-changed", (i) => {
19952
19948
  if (i.detail.value === !0)
19953
19949
  this.errorMessage = "";
19954
19950
  else {
@@ -19982,7 +19978,7 @@ const Mf = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}:host{
19982
19978
  render() {
19983
19979
  var i, e;
19984
19980
  let t = "";
19985
- return this.touched && (t = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), u("div", { key: "59052813b3e88f4bb39a3e76a8bef78543f56952", class: `select__wrapper ${this.autofilled ? "select__wrapper--autofilled" : ""} ${this.name}__input`, ref: (r) => this.stylingContainer = r }, u("div", { key: "fa921b9c76a4cc143488e1c493fea5e7b648aff6", class: "select__wrapper--flex" }, u("label", { key: "f85dc5333f10edc8a3b2acefe57a6fbf599d4266", class: "select__label", htmlFor: `${this.name}__input` }, `${this.displayName} ${this.validation.mandatory ? "*" : ""}`), u("div", { key: "6f275104b0b6a3fd650b33766209277a83338fcc", class: "select__wrapper--relative" }, this.tooltip && u("img", { key: "fab2ce08a9722d3bd1df5067fd1c458c0449d0b1", class: "select__tooltip-icon", src: he, alt: "", ref: (r) => this.tooltipIconReference = r, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), this.isComboBox ? u("vaadin-combo-box", { name: this.name, id: `${this.name}__input`, class: `select__input ${t} ${this.autofilled ? "select__input--autofilled" : ""}`, "item-label-path": "label", "item-value-path": "value", ref: (r) => this.vaadinCombo = r, readOnly: this.autofilled, required: (i = this.validation) === null || i === void 0 ? void 0 : i.mandatory, value: this.value, placeholder: `${this.placeholder}`, items: this.displayedOptions, onChange: this.handleComboChange, onBlur: this.handleBlur }) : u("vaadin-select", { name: this.name, popover: !1, id: `${this.name}__input`, class: `select__input ${t} ${this.autofilled ? "select__input--autofilled" : ""}`, "item-label-path": "label", "item-value-path": "value", ref: (r) => this.vaadinCombo = r, readOnly: this.autofilled, required: (e = this.validation) === null || e === void 0 ? void 0 : e.mandatory, value: this.value, placeholder: `${this.placeholder}`, items: this.displayedOptions, onChange: this.handleSelectChange, "no-vertical-overlap": !0, noVerticalOverlap: !0 }), u("small", { key: "3b6eb1c212308f9a3b88d6c0fd03ae08633317a2", class: "select__error-message" }, this.errorMessage));
19981
+ return this.touched && (t = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), u("div", { key: "493268c1af30e1120317b916ed911598737405bd", class: `select__wrapper ${this.autofilled ? "select__wrapper--autofilled" : ""} ${this.name}__input`, ref: (r) => this.stylingContainer = r }, u("div", { key: "232dc6989da291dfaececee8199081394d33ee41", class: "select__wrapper--flex" }, u("label", { key: "fb03628e1953f679c21bd8da88bfe47f1bcbab4e", class: "select__label", htmlFor: `${this.name}__input` }, `${this.displayName} ${this.validation.mandatory ? "*" : ""}`), u("div", { key: "02581db26e8093b6968fd91fbd08782dfc24118e", class: "select__wrapper--relative" }, this.tooltip && u("img", { key: "4da026564dcee19491e055070341317266a888f9", class: "select__tooltip-icon", src: he, alt: "", ref: (r) => this.tooltipIconReference = r, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), this.isComboBox ? u("vaadin-combo-box", { name: this.name, id: `${this.name}__input`, class: `select__input ${t} ${this.autofilled ? "select__input--autofilled" : ""}`, "item-label-path": "label", "item-value-path": "value", ref: (r) => this.vaadinCombo = r, readOnly: this.autofilled, required: (i = this.validation) === null || i === void 0 ? void 0 : i.mandatory, value: this.value, placeholder: `${this.placeholder}`, items: this.displayedOptions, onChange: this.handleComboChange, onBlur: this.handleBlur }) : u("vaadin-select", { name: this.name, popover: !1, id: `${this.name}__input`, class: `select__input ${t} ${this.autofilled ? "select__input--autofilled" : ""}`, "item-label-path": "label", "item-value-path": "value", ref: (r) => this.vaadinCombo = r, readOnly: this.autofilled, required: (e = this.validation) === null || e === void 0 ? void 0 : e.mandatory, value: this.value, placeholder: `${this.placeholder}`, items: this.displayedOptions, onChange: this.handleSelectChange, "no-vertical-overlap": !0, noVerticalOverlap: !0 }), u("small", { key: "f0f0de66fe7a135a2d514e41725be1c7b29c17c0", class: "select__error-message" }, this.errorMessage));
19986
19982
  }
19987
19983
  static get watchers() {
19988
19984
  return {
@@ -20004,7 +20000,7 @@ const Lf = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.tel{f
20004
20000
  }, this.setClientStyling = () => {
20005
20001
  let e = document.createElement("style");
20006
20002
  e.innerHTML = this.clientStyling, this.stylingContainer.prepend(e);
20007
- }, this.name = void 0, this.displayName = void 0, this.placeholder = void 0, this.showLabels = void 0, this.action = void 0, this.validation = void 0, this.defaultValue = void 0, this.autofilled = void 0, this.tooltip = void 0, this.language = void 0, this.emitValue = void 0, this.clientStyling = "", this.isValid = void 0, this.errorMessage = void 0, this.limitStylingAppends = !1, this.showTooltip = !1, this.disablePhonePrefix = !1, this.phoneValue = "";
20003
+ }, this.name = void 0, this.displayName = void 0, this.placeholder = void 0, this.showLabels = void 0, this.action = void 0, this.validation = void 0, this.defaultValue = void 0, this.autofilled = void 0, this.tooltip = void 0, this.language = void 0, this.emitValue = void 0, this.clientStyling = "", this.isValid = void 0, this.errorMessage = void 0, this.limitStylingAppends = !1, this.showTooltip = !1, this.disablePhonePrefix = !1, this.phoneValue = "", this.phoneCodesOptions = void 0;
20008
20004
  }
20009
20005
  setPhoneValue(i) {
20010
20006
  const e = i.replace(/[^0-9]/g, "");
@@ -20031,12 +20027,14 @@ const Lf = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.tel{f
20031
20027
  }
20032
20028
  connectedCallback() {
20033
20029
  var i;
20034
- this.validationPattern = this.setPattern(), this.defaultValue && (this.prefixValue = this.defaultValue.prefix ? this.defaultValue.prefix : this.defaultValue, this.setPhoneValue((i = this.defaultValue.phone) !== null && i !== void 0 ? i : ""));
20030
+ this.validationPattern = this.setPattern(), this.defaultValue && (this.prefixValue = this.defaultValue.prefix ? this.defaultValue.prefix : this.defaultValue, this.setPhoneValue((i = this.defaultValue.phone) !== null && i !== void 0 ? i : ""), this.phoneCodesOptions = [
20031
+ { label: this.prefixValue, value: this.prefixValue }
20032
+ ]);
20035
20033
  }
20036
20034
  componentWillLoad() {
20037
20035
  if (this.action && this.action.split(" ")[0] == "GET") {
20038
20036
  const i = this.action.split(" ")[1];
20039
- return this.getPhoneCodes(i).then((e) => {
20037
+ this.getPhoneCodes(i).then((e) => {
20040
20038
  this.phoneCodesOptions = e.phoneCodes.map((t) => typeof t == "object" && t.Prefix ? { label: t.Prefix, value: t.Prefix } : { label: t, value: t }), this.disablePhonePrefix = this.phoneCodesOptions.length <= 1;
20041
20039
  });
20042
20040
  }
@@ -20085,7 +20083,7 @@ const Lf = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.tel{f
20085
20083
  render() {
20086
20084
  var i;
20087
20085
  let e = "";
20088
- return this.touched && (e = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), u("div", { key: "2bb6d988447eefcd3e31351575b7abe916c6b903", class: `tel__wrapper ${this.autofilled ? "tel__wrapper--autofilled" : ""} ${this.name}__input`, ref: (t) => this.stylingContainer = t }, u("div", { key: "1cdce403e1bf84fb6bcbab3d840829d88ac6fd26", class: "tel__wrapper--flex-label" }, u("label", { key: "e2728fcbb7179a8deb000c1029f861a4009b0cc9", class: `tel__label ${this.validation.mandatory ? "tel__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), u("div", { key: "db5bd2dabf38899ad696dc0f249bd33bd0c4ae6e", class: "tel__wrapper--relative" }, this.tooltip && u("img", { key: "ec1cd6e110cc2201c707d18e3127858ec33ed385", class: "tel__tooltip-icon", src: he, alt: "", ref: (t) => this.tooltipIconReference = t, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), u("div", { key: "7dc1e8cb3a67686f3396ba594e32f15e3450ddad", class: `tel__wrapper--flex ${e}` }, u("vaadin-combo-box", { key: "d88d269bdb04a507f8b4a5b223491a7401df66a1", class: "tel__prefix", items: this.phoneCodesOptions, value: this.prefixValue, readOnly: this.disablePhonePrefix, onChange: (t) => this.handlePrefixInput(t) }), u("input", { key: "4ced0fede5d52e2b0e76312e71a84c1e31736db5", 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: "f3322426151eeb20ffaa743e0a7589cfc2e5c0d6", class: "tel__error-message" }, this.errorMessage));
20086
+ return this.touched && (e = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), u("div", { key: "698bb9cc01d144ccf2f20fbac7d519c8b4523c23", class: `tel__wrapper ${this.autofilled ? "tel__wrapper--autofilled" : ""} ${this.name}__input`, ref: (t) => this.stylingContainer = t }, u("div", { key: "08792dad79d529f079011d1bd82a77b74865f1f0", class: "tel__wrapper--flex-label" }, u("label", { key: "5528ee07e57b5855d03bb55c5d77608019983bde", class: `tel__label ${this.validation.mandatory ? "tel__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), u("div", { key: "5e62f2fe0751d9108422db4670c17ce623e97e8d", class: "tel__wrapper--relative" }, this.tooltip && u("img", { key: "050486adda9b04f3ce3502bf7fe25450e564c54b", class: "tel__tooltip-icon", src: he, alt: "", ref: (t) => this.tooltipIconReference = t, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), u("div", { key: "8944d4b99907ab9c355ac392379064150bc73d70", class: `tel__wrapper--flex ${e}` }, u("vaadin-combo-box", { key: "adcbc0cb5f371c10fe5a21a577647f5354a45428", class: "tel__prefix", items: this.phoneCodesOptions, value: this.prefixValue, readOnly: this.disablePhonePrefix, onChange: (t) => this.handlePrefixInput(t) }), u("input", { key: "701228afeca7ccb0bccfde015fec41638a7901ec", 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: "5230fb8be4b5b47cedc088f5ed777a3462492ed5", class: "tel__error-message" }, this.errorMessage));
20089
20087
  }
20090
20088
  static get watchers() {
20091
20089
  return {