@everymatrix/player-account-controller 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.
- package/components/{PlayerAccountController-fNX47iaF.js → PlayerAccountController-0zwzJJ4s.js} +1 -1
- package/components/{PlayerAccountController-BIT34S8X.js → PlayerAccountController-Cg3bzQs5.js} +1 -1
- package/components/{PlayerAccountController-D3sj_FFc.cjs → PlayerAccountController-J-78lsk8.cjs} +1 -1
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_16-hzyeahgc.js → checkbox-group-input_16-CFtp0f8h.js} +9 -9
- package/stencil/{checkbox-group-input_16-BleDOv1j.cjs → checkbox-group-input_16-DuSVlPzJ.cjs} +2 -2
- package/stencil/{checkbox-group-input_16-CWPF1hwQ.js → checkbox-group-input_16-ywIYg4ns.js} +9 -9
- package/stencil/{index-c666b6e6-C73yIqWX.js → index-c666b6e6-C3HFUtzN.js} +1 -1
- package/stencil/{index-c666b6e6-BXeJ50Ee.js → index-c666b6e6-C5SvvcXp.js} +1 -1
- package/stencil/{index-c666b6e6-xZblcsbg.cjs → index-c666b6e6-GVnzND9A.cjs} +1 -1
- package/stencil/{pam-change-password-6b535bd5-qqnayZTK.js → pam-change-password-6b535bd5-BM0i-nkQ.js} +1 -1
- package/stencil/{pam-change-password-6b535bd5-sv0jAJ14.js → pam-change-password-6b535bd5-BMlVfXop.js} +1 -1
- package/stencil/{pam-change-password-6b535bd5-B__iAVdi.cjs → pam-change-password-6b535bd5-CwazAyPT.cjs} +1 -1
- package/stencil/{pam-change-password-CE5sZeR4.js → pam-change-password-YY_WAq3p.js} +1 -1
- package/stencil/{pam-change-password-J4dNnHYD.js → pam-change-password-vIDF9oZ0.js} +1 -1
- package/stencil/{pam-change-password-CO4aon7O.cjs → pam-change-password-zaJZcylb.cjs} +1 -1
|
@@ -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-
|
|
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-J-78lsk8.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-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/PlayerAccountController-0zwzJJ4s.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("player-account-controller") && customElements.define("player-account-controller", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as ee, c as P, h as u, g as Vt, H as Io } from "./index-c666b6e6-
|
|
2
|
-
import { P as d_ } from "./pam-change-password-6b535bd5-
|
|
1
|
+
import { r as ee, c as P, h as u, g as Vt, H as Io } from "./index-c666b6e6-C3HFUtzN.js";
|
|
2
|
+
import { P as d_ } from "./pam-change-password-6b535bd5-BM0i-nkQ.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.
|
|
20361
|
+
this.isValid = this.isValidValue(), this.errorMessage = this.setErrorMessage(), this.emitValueHandler(!0);
|
|
20362
20362
|
}, 500);
|
|
20363
20363
|
}, this.handleBlur = () => {
|
|
20364
|
-
this.touched
|
|
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.
|
|
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
|
-
|
|
20427
|
-
return this.inputReference.
|
|
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: "
|
|
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 {
|