@everymatrix/general-registration 1.10.25 → 1.10.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/dist/cjs/checkbox-group-input_13.cjs.entry.js +6 -19
- package/dist/cjs/general-registration.cjs.js +1 -1
- package/dist/cjs/{index-dfef7446.js → index-c322b593.js} +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/components/general-input2.js +5 -14
- package/dist/components/password-input2.js +1 -5
- package/dist/esm/checkbox-group-input_13.entry.js +6 -19
- package/dist/esm/general-registration.js +1 -1
- package/dist/esm/{index-fdb6785f.js → index-e6868e88.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/general-registration/general-registration.esm.js +1 -1
- package/dist/general-registration/{p-64b59a7b.js → p-d7d35144.js} +1 -1
- package/dist/general-registration/{p-01edd755.entry.js → p-f82ab839.entry.js} +138 -138
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-c322b593.js');
|
|
6
6
|
|
|
7
7
|
const DEFAULT_LANGUAGE$1 = 'en';
|
|
8
8
|
const TRANSLATIONS$1 = {
|
|
@@ -29497,7 +29497,7 @@ const GeneralInput = class {
|
|
|
29497
29497
|
*/
|
|
29498
29498
|
this.clientStyling = '';
|
|
29499
29499
|
}
|
|
29500
|
-
|
|
29500
|
+
renderInput() {
|
|
29501
29501
|
var _a;
|
|
29502
29502
|
switch ((_a = this.type) === null || _a === void 0 ? void 0 : _a.toLowerCase()) {
|
|
29503
29503
|
case 'text':
|
|
@@ -29526,6 +29526,9 @@ const GeneralInput = class {
|
|
|
29526
29526
|
return index.h("p", null, "The ", this.type, " input type is not valid");
|
|
29527
29527
|
}
|
|
29528
29528
|
}
|
|
29529
|
+
render() {
|
|
29530
|
+
return (index.h(index.Host, { class: `general-input--${this.name}` }, this.renderInput()));
|
|
29531
|
+
}
|
|
29529
29532
|
};
|
|
29530
29533
|
GeneralInput.style = generalInputCss;
|
|
29531
29534
|
|
|
@@ -30973,7 +30976,7 @@ class PasswordField extends TextField {
|
|
|
30973
30976
|
|
|
30974
30977
|
customElements.define(PasswordField.is, PasswordField);
|
|
30975
30978
|
|
|
30976
|
-
const passwordInputCss = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.password{font-family:\"Roboto\";font-style:normal}.password__wrapper{width:100%}.password__wrapper--flex{display:flex;gap:5px}.password__wrapper--relative{position:relative}.password__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:#2A3841}.password__label--required::after{content:\"*\";font-family:inherit;color:#2A3841;margin-left:2px}.password__input{width:inherit;border:none;margin-bottom:5px}.password__input[focused]::part(input-field){border-color:#3E3E3E}.password__input[invalid]::part(input-field){border-color:#cc0000b3}.password__input::part(input-field){border-radius:4px;background-color:transparent;font-family:inherit;font-style:normal;font-weight:300;font-size:16px;line-height:19px;color:#2A2E3F;width:100%;position:relative;border:2px solid #DEE1EE}.password__input>input:placeholder-shown{color:#979797}.password__error-message{color:#cc0000b3}.password__complexity{position:relative;padding:10px;display:flex;flex-direction:column;gap:20px;justify-content:center;margin-top:20px;font-weight:300;background:#FFFFFF;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;height:150px;border:1px solid #B0B0B0}.password__complexity--strength{display:flex;justify-content:space-evenly}.password__complexity--strength meter::-webkit-meter-optimum-value{background:#1F1F1F}.password__complexity--strength meter::-moz-meter-bar{background:#B0B0B0}.password__complexity--hidden{display:none}.password__complexity--text-bold{font-weight:500}.password__complexity--checkbox{margin-right:5px}.password__complexity:after{content:\"\";position:absolute;width:25px;height:25px;border-top:1px solid #B0B0B0;border-right:0 solid #B0B0B0;border-left:1px solid #B0B0B0;border-bottom:0 solid #B0B0B0;bottom:92%;left:50%;margin-left:-25px;transform:rotate(45deg);margin-top:-25px;background-color:#FFFFFF}.password__tooltip-icon{width:16px;height:auto}.password__tooltip{position:absolute;top:0;left:20px;background-color:#FFFFFF;border:1px solid #B0B0B0;color:#2B2D3F;padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.password__tooltip.visible{opacity:1}";
|
|
30979
|
+
const passwordInputCss = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.password{font-family:\"Roboto\";font-style:normal}.password__wrapper{position:relative;width:100%}.password__wrapper--flex{display:flex;gap:5px}.password__wrapper--relative{position:relative}.password__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:#2A3841}.password__label--required::after{content:\"*\";font-family:inherit;color:#2A3841;margin-left:2px}.password__input{width:inherit;border:none;margin-bottom:5px}.password__input[focused]::part(input-field){border-color:#3E3E3E}.password__input[invalid]::part(input-field){border-color:#cc0000b3}.password__input::part(input-field){border-radius:4px;background-color:transparent;font-family:inherit;font-style:normal;font-weight:300;font-size:16px;line-height:19px;color:#2A2E3F;width:100%;position:relative;border:2px solid #DEE1EE}.password__input>input:placeholder-shown{color:#979797}.password__error-message{position:absolute;top:calc(100% + 5px);left:0;color:#cc0000b3}.password__complexity{position:relative;padding:10px;display:flex;flex-direction:column;gap:20px;justify-content:center;margin-top:20px;font-weight:300;background:#FFFFFF;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;height:150px;border:1px solid #B0B0B0}.password__complexity--strength{display:flex;justify-content:space-evenly}.password__complexity--strength meter::-webkit-meter-optimum-value{background:#1F1F1F}.password__complexity--strength meter::-moz-meter-bar{background:#B0B0B0}.password__complexity--hidden{display:none}.password__complexity--text-bold{font-weight:500}.password__complexity--checkbox{margin-right:5px}.password__complexity:after{content:\"\";position:absolute;width:25px;height:25px;border-top:1px solid #B0B0B0;border-right:0 solid #B0B0B0;border-left:1px solid #B0B0B0;border-bottom:0 solid #B0B0B0;bottom:92%;left:50%;margin-left:-25px;transform:rotate(45deg);margin-top:-25px;background-color:#FFFFFF}.password__tooltip-icon{width:16px;height:auto}.password__tooltip{position:absolute;top:0;left:20px;background-color:#FFFFFF;border:1px solid #B0B0B0;color:#2B2D3F;padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.password__tooltip.visible{opacity:1}";
|
|
30977
30980
|
|
|
30978
30981
|
const PasswordInput = class {
|
|
30979
30982
|
constructor(hostRef) {
|
|
@@ -31060,9 +31063,6 @@ const PasswordInput = class {
|
|
|
31060
31063
|
if (event.composedPath()[0] !== this.tooltipReference)
|
|
31061
31064
|
this.showTooltip = false;
|
|
31062
31065
|
}
|
|
31063
|
-
connectedCallback() {
|
|
31064
|
-
// this.validationPattern = this.setPattern();
|
|
31065
|
-
}
|
|
31066
31066
|
componentDidRender() {
|
|
31067
31067
|
// start custom styling area
|
|
31068
31068
|
if (!this.limitStylingAppends && this.stylingContainer) {
|
|
@@ -31144,7 +31144,6 @@ const PasswordInput = class {
|
|
|
31144
31144
|
const passedRules = this.passwordComplexity.filter(complexity => complexity.passed).length;
|
|
31145
31145
|
const meterValue = passedRules / totalRules;
|
|
31146
31146
|
const allRulesPassed = this.passwordComplexity.every(complexity => complexity.passed);
|
|
31147
|
-
// if (this.showPopup === false) return;
|
|
31148
31147
|
return (index.h("div", { class: `password__complexity ${!this.showPopup ? 'password__complexity--hidden' : ''}` }, index.h("div", { class: 'password__complexity--strength' }, index.h("p", { class: 'password__complexity--text' }, translate$2('passwordStrength', this.language), "\u00A0", index.h("span", { class: 'password__complexity--text-bold' }, translate$2(`${allRulesPassed ? 'passwordStrengthStrong' : 'passwordStrengthWeak'}`, this.language))), index.h("meter", { value: meterValue, min: "0", max: "1" })), index.h("div", null, this.passwordComplexity.map((complexity, index$1) => {
|
|
31149
31148
|
return (index.h("div", { key: index$1 }, index.h("input", { class: 'password__complexity--checkbox', type: "checkbox", checked: complexity.passed, disabled: true }), index.h("span", null, translate$2(`${complexity.rule}`, this.language) ? translate$2(`${complexity.rule}`, this.language) : complexity.rule)));
|
|
31150
31149
|
}))));
|
|
@@ -36052,13 +36051,9 @@ const ToggleCheckboxInput = class {
|
|
|
36052
36051
|
this.stylingContainer.prepend(sheet);
|
|
36053
36052
|
};
|
|
36054
36053
|
}
|
|
36055
|
-
validityChanged() {
|
|
36056
|
-
}
|
|
36057
36054
|
validityStateHandler(inputStateEvent) {
|
|
36058
36055
|
this.sendValidityState.emit(inputStateEvent);
|
|
36059
36056
|
}
|
|
36060
|
-
emitValueHandler(newValue) {
|
|
36061
|
-
}
|
|
36062
36057
|
valueHandler(inputValueEvent) {
|
|
36063
36058
|
this.sendInputValue.emit(inputValueEvent);
|
|
36064
36059
|
}
|
|
@@ -36068,8 +36063,6 @@ const ToggleCheckboxInput = class {
|
|
|
36068
36063
|
if (event.composedPath()[0] !== this.tooltipReference)
|
|
36069
36064
|
this.showTooltip = false;
|
|
36070
36065
|
}
|
|
36071
|
-
connectedCallback() {
|
|
36072
|
-
}
|
|
36073
36066
|
componentDidRender() {
|
|
36074
36067
|
// start custom styling area
|
|
36075
36068
|
if (!this.limitStylingAppends && this.stylingContainer) {
|
|
@@ -36079,8 +36072,6 @@ const ToggleCheckboxInput = class {
|
|
|
36079
36072
|
}
|
|
36080
36073
|
// end custom styling area
|
|
36081
36074
|
}
|
|
36082
|
-
componentDidLoad() {
|
|
36083
|
-
}
|
|
36084
36075
|
handleClick() {
|
|
36085
36076
|
this.showFields = this.checkboxReference.checked;
|
|
36086
36077
|
this.errorMessage = this.setErrorMessage();
|
|
@@ -36109,10 +36100,6 @@ const ToggleCheckboxInput = class {
|
|
|
36109
36100
|
return index.h("general-input", { type: subfield.inputType, name: subfield.name, displayName: subfield.displayName, validation: subfield.validate, action: subfield.action || null, defaultValue: subfield.defaultValue, autofilled: subfield.autofill, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: subfield.tooltip, placeholder: subfield.placeholder == null ? '' : subfield.placeholder });
|
|
36110
36101
|
})));
|
|
36111
36102
|
}
|
|
36112
|
-
static get watchers() { return {
|
|
36113
|
-
"isValid": ["validityChanged"],
|
|
36114
|
-
"emitValue": ["emitValueHandler"]
|
|
36115
|
-
}; }
|
|
36116
36103
|
};
|
|
36117
36104
|
ToggleCheckboxInput.style = toggleCheckboxInputCss;
|
|
36118
36105
|
|
|
@@ -1318,6 +1318,7 @@ const flush = () => {
|
|
|
1318
1318
|
const nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
|
|
1319
1319
|
const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
|
|
1320
1320
|
|
|
1321
|
+
exports.Host = Host;
|
|
1321
1322
|
exports.bootstrapLazy = bootstrapLazy;
|
|
1322
1323
|
exports.createEvent = createEvent;
|
|
1323
1324
|
exports.getElement = getElement;
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { d as defineCustomElement$b } from './checkbox-group-input2.js';
|
|
3
3
|
import { d as defineCustomElement$a } from './checkbox-input2.js';
|
|
4
4
|
import { d as defineCustomElement$9 } from './date-input2.js';
|
|
@@ -37,13 +37,9 @@ const ToggleCheckboxInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLE
|
|
|
37
37
|
this.stylingContainer.prepend(sheet);
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
|
-
validityChanged() {
|
|
41
|
-
}
|
|
42
40
|
validityStateHandler(inputStateEvent) {
|
|
43
41
|
this.sendValidityState.emit(inputStateEvent);
|
|
44
42
|
}
|
|
45
|
-
emitValueHandler(newValue) {
|
|
46
|
-
}
|
|
47
43
|
valueHandler(inputValueEvent) {
|
|
48
44
|
this.sendInputValue.emit(inputValueEvent);
|
|
49
45
|
}
|
|
@@ -53,8 +49,6 @@ const ToggleCheckboxInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLE
|
|
|
53
49
|
if (event.composedPath()[0] !== this.tooltipReference)
|
|
54
50
|
this.showTooltip = false;
|
|
55
51
|
}
|
|
56
|
-
connectedCallback() {
|
|
57
|
-
}
|
|
58
52
|
componentDidRender() {
|
|
59
53
|
// start custom styling area
|
|
60
54
|
if (!this.limitStylingAppends && this.stylingContainer) {
|
|
@@ -64,8 +58,6 @@ const ToggleCheckboxInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLE
|
|
|
64
58
|
}
|
|
65
59
|
// end custom styling area
|
|
66
60
|
}
|
|
67
|
-
componentDidLoad() {
|
|
68
|
-
}
|
|
69
61
|
handleClick() {
|
|
70
62
|
this.showFields = this.checkboxReference.checked;
|
|
71
63
|
this.errorMessage = this.setErrorMessage();
|
|
@@ -94,10 +86,6 @@ const ToggleCheckboxInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLE
|
|
|
94
86
|
return h("general-input", { type: subfield.inputType, name: subfield.name, displayName: subfield.displayName, validation: subfield.validate, action: subfield.action || null, defaultValue: subfield.defaultValue, autofilled: subfield.autofill, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: subfield.tooltip, placeholder: subfield.placeholder == null ? '' : subfield.placeholder });
|
|
95
87
|
})));
|
|
96
88
|
}
|
|
97
|
-
static get watchers() { return {
|
|
98
|
-
"isValid": ["validityChanged"],
|
|
99
|
-
"emitValue": ["emitValueHandler"]
|
|
100
|
-
}; }
|
|
101
89
|
static get style() { return toggleCheckboxInputCss; }
|
|
102
90
|
}, [1, "toggle-checkbox-input", {
|
|
103
91
|
"name": [513],
|
|
@@ -206,7 +194,7 @@ const GeneralInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
206
194
|
*/
|
|
207
195
|
this.clientStyling = '';
|
|
208
196
|
}
|
|
209
|
-
|
|
197
|
+
renderInput() {
|
|
210
198
|
var _a;
|
|
211
199
|
switch ((_a = this.type) === null || _a === void 0 ? void 0 : _a.toLowerCase()) {
|
|
212
200
|
case 'text':
|
|
@@ -235,6 +223,9 @@ const GeneralInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
235
223
|
return h("p", null, "The ", this.type, " input type is not valid");
|
|
236
224
|
}
|
|
237
225
|
}
|
|
226
|
+
render() {
|
|
227
|
+
return (h(Host, { class: `general-input--${this.name}` }, this.renderInput()));
|
|
228
|
+
}
|
|
238
229
|
static get style() { return generalInputCss; }
|
|
239
230
|
}, [1, "general-input", {
|
|
240
231
|
"type": [513],
|
|
@@ -739,7 +739,7 @@ class PasswordField extends TextField {
|
|
|
739
739
|
|
|
740
740
|
customElements.define(PasswordField.is, PasswordField);
|
|
741
741
|
|
|
742
|
-
const passwordInputCss = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.password{font-family:\"Roboto\";font-style:normal}.password__wrapper{width:100%}.password__wrapper--flex{display:flex;gap:5px}.password__wrapper--relative{position:relative}.password__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:#2A3841}.password__label--required::after{content:\"*\";font-family:inherit;color:#2A3841;margin-left:2px}.password__input{width:inherit;border:none;margin-bottom:5px}.password__input[focused]::part(input-field){border-color:#3E3E3E}.password__input[invalid]::part(input-field){border-color:#cc0000b3}.password__input::part(input-field){border-radius:4px;background-color:transparent;font-family:inherit;font-style:normal;font-weight:300;font-size:16px;line-height:19px;color:#2A2E3F;width:100%;position:relative;border:2px solid #DEE1EE}.password__input>input:placeholder-shown{color:#979797}.password__error-message{color:#cc0000b3}.password__complexity{position:relative;padding:10px;display:flex;flex-direction:column;gap:20px;justify-content:center;margin-top:20px;font-weight:300;background:#FFFFFF;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;height:150px;border:1px solid #B0B0B0}.password__complexity--strength{display:flex;justify-content:space-evenly}.password__complexity--strength meter::-webkit-meter-optimum-value{background:#1F1F1F}.password__complexity--strength meter::-moz-meter-bar{background:#B0B0B0}.password__complexity--hidden{display:none}.password__complexity--text-bold{font-weight:500}.password__complexity--checkbox{margin-right:5px}.password__complexity:after{content:\"\";position:absolute;width:25px;height:25px;border-top:1px solid #B0B0B0;border-right:0 solid #B0B0B0;border-left:1px solid #B0B0B0;border-bottom:0 solid #B0B0B0;bottom:92%;left:50%;margin-left:-25px;transform:rotate(45deg);margin-top:-25px;background-color:#FFFFFF}.password__tooltip-icon{width:16px;height:auto}.password__tooltip{position:absolute;top:0;left:20px;background-color:#FFFFFF;border:1px solid #B0B0B0;color:#2B2D3F;padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.password__tooltip.visible{opacity:1}";
|
|
742
|
+
const passwordInputCss = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.password{font-family:\"Roboto\";font-style:normal}.password__wrapper{position:relative;width:100%}.password__wrapper--flex{display:flex;gap:5px}.password__wrapper--relative{position:relative}.password__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:#2A3841}.password__label--required::after{content:\"*\";font-family:inherit;color:#2A3841;margin-left:2px}.password__input{width:inherit;border:none;margin-bottom:5px}.password__input[focused]::part(input-field){border-color:#3E3E3E}.password__input[invalid]::part(input-field){border-color:#cc0000b3}.password__input::part(input-field){border-radius:4px;background-color:transparent;font-family:inherit;font-style:normal;font-weight:300;font-size:16px;line-height:19px;color:#2A2E3F;width:100%;position:relative;border:2px solid #DEE1EE}.password__input>input:placeholder-shown{color:#979797}.password__error-message{position:absolute;top:calc(100% + 5px);left:0;color:#cc0000b3}.password__complexity{position:relative;padding:10px;display:flex;flex-direction:column;gap:20px;justify-content:center;margin-top:20px;font-weight:300;background:#FFFFFF;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;height:150px;border:1px solid #B0B0B0}.password__complexity--strength{display:flex;justify-content:space-evenly}.password__complexity--strength meter::-webkit-meter-optimum-value{background:#1F1F1F}.password__complexity--strength meter::-moz-meter-bar{background:#B0B0B0}.password__complexity--hidden{display:none}.password__complexity--text-bold{font-weight:500}.password__complexity--checkbox{margin-right:5px}.password__complexity:after{content:\"\";position:absolute;width:25px;height:25px;border-top:1px solid #B0B0B0;border-right:0 solid #B0B0B0;border-left:1px solid #B0B0B0;border-bottom:0 solid #B0B0B0;bottom:92%;left:50%;margin-left:-25px;transform:rotate(45deg);margin-top:-25px;background-color:#FFFFFF}.password__tooltip-icon{width:16px;height:auto}.password__tooltip{position:absolute;top:0;left:20px;background-color:#FFFFFF;border:1px solid #B0B0B0;color:#2B2D3F;padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.password__tooltip.visible{opacity:1}";
|
|
743
743
|
|
|
744
744
|
const PasswordInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
745
745
|
constructor() {
|
|
@@ -828,9 +828,6 @@ const PasswordInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
828
828
|
if (event.composedPath()[0] !== this.tooltipReference)
|
|
829
829
|
this.showTooltip = false;
|
|
830
830
|
}
|
|
831
|
-
connectedCallback() {
|
|
832
|
-
// this.validationPattern = this.setPattern();
|
|
833
|
-
}
|
|
834
831
|
componentDidRender() {
|
|
835
832
|
// start custom styling area
|
|
836
833
|
if (!this.limitStylingAppends && this.stylingContainer) {
|
|
@@ -912,7 +909,6 @@ const PasswordInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
912
909
|
const passedRules = this.passwordComplexity.filter(complexity => complexity.passed).length;
|
|
913
910
|
const meterValue = passedRules / totalRules;
|
|
914
911
|
const allRulesPassed = this.passwordComplexity.every(complexity => complexity.passed);
|
|
915
|
-
// if (this.showPopup === false) return;
|
|
916
912
|
return (h("div", { class: `password__complexity ${!this.showPopup ? 'password__complexity--hidden' : ''}` }, h("div", { class: 'password__complexity--strength' }, h("p", { class: 'password__complexity--text' }, translate('passwordStrength', this.language), "\u00A0", h("span", { class: 'password__complexity--text-bold' }, translate(`${allRulesPassed ? 'passwordStrengthStrong' : 'passwordStrengthWeak'}`, this.language))), h("meter", { value: meterValue, min: "0", max: "1" })), h("div", null, this.passwordComplexity.map((complexity, index) => {
|
|
917
913
|
return (h("div", { key: index }, h("input", { class: 'password__complexity--checkbox', type: "checkbox", checked: complexity.passed, disabled: true }), h("span", null, translate(`${complexity.rule}`, this.language) ? translate(`${complexity.rule}`, this.language) : complexity.rule)));
|
|
918
914
|
}))));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h as h$2, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h as h$2, g as getElement, H as Host } from './index-e6868e88.js';
|
|
2
2
|
|
|
3
3
|
const DEFAULT_LANGUAGE$1 = 'en';
|
|
4
4
|
const TRANSLATIONS$1 = {
|
|
@@ -29493,7 +29493,7 @@ const GeneralInput = class {
|
|
|
29493
29493
|
*/
|
|
29494
29494
|
this.clientStyling = '';
|
|
29495
29495
|
}
|
|
29496
|
-
|
|
29496
|
+
renderInput() {
|
|
29497
29497
|
var _a;
|
|
29498
29498
|
switch ((_a = this.type) === null || _a === void 0 ? void 0 : _a.toLowerCase()) {
|
|
29499
29499
|
case 'text':
|
|
@@ -29522,6 +29522,9 @@ const GeneralInput = class {
|
|
|
29522
29522
|
return h$2("p", null, "The ", this.type, " input type is not valid");
|
|
29523
29523
|
}
|
|
29524
29524
|
}
|
|
29525
|
+
render() {
|
|
29526
|
+
return (h$2(Host, { class: `general-input--${this.name}` }, this.renderInput()));
|
|
29527
|
+
}
|
|
29525
29528
|
};
|
|
29526
29529
|
GeneralInput.style = generalInputCss;
|
|
29527
29530
|
|
|
@@ -30969,7 +30972,7 @@ class PasswordField extends TextField {
|
|
|
30969
30972
|
|
|
30970
30973
|
customElements.define(PasswordField.is, PasswordField);
|
|
30971
30974
|
|
|
30972
|
-
const passwordInputCss = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.password{font-family:\"Roboto\";font-style:normal}.password__wrapper{width:100%}.password__wrapper--flex{display:flex;gap:5px}.password__wrapper--relative{position:relative}.password__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:#2A3841}.password__label--required::after{content:\"*\";font-family:inherit;color:#2A3841;margin-left:2px}.password__input{width:inherit;border:none;margin-bottom:5px}.password__input[focused]::part(input-field){border-color:#3E3E3E}.password__input[invalid]::part(input-field){border-color:#cc0000b3}.password__input::part(input-field){border-radius:4px;background-color:transparent;font-family:inherit;font-style:normal;font-weight:300;font-size:16px;line-height:19px;color:#2A2E3F;width:100%;position:relative;border:2px solid #DEE1EE}.password__input>input:placeholder-shown{color:#979797}.password__error-message{color:#cc0000b3}.password__complexity{position:relative;padding:10px;display:flex;flex-direction:column;gap:20px;justify-content:center;margin-top:20px;font-weight:300;background:#FFFFFF;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;height:150px;border:1px solid #B0B0B0}.password__complexity--strength{display:flex;justify-content:space-evenly}.password__complexity--strength meter::-webkit-meter-optimum-value{background:#1F1F1F}.password__complexity--strength meter::-moz-meter-bar{background:#B0B0B0}.password__complexity--hidden{display:none}.password__complexity--text-bold{font-weight:500}.password__complexity--checkbox{margin-right:5px}.password__complexity:after{content:\"\";position:absolute;width:25px;height:25px;border-top:1px solid #B0B0B0;border-right:0 solid #B0B0B0;border-left:1px solid #B0B0B0;border-bottom:0 solid #B0B0B0;bottom:92%;left:50%;margin-left:-25px;transform:rotate(45deg);margin-top:-25px;background-color:#FFFFFF}.password__tooltip-icon{width:16px;height:auto}.password__tooltip{position:absolute;top:0;left:20px;background-color:#FFFFFF;border:1px solid #B0B0B0;color:#2B2D3F;padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.password__tooltip.visible{opacity:1}";
|
|
30975
|
+
const passwordInputCss = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.password{font-family:\"Roboto\";font-style:normal}.password__wrapper{position:relative;width:100%}.password__wrapper--flex{display:flex;gap:5px}.password__wrapper--relative{position:relative}.password__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:#2A3841}.password__label--required::after{content:\"*\";font-family:inherit;color:#2A3841;margin-left:2px}.password__input{width:inherit;border:none;margin-bottom:5px}.password__input[focused]::part(input-field){border-color:#3E3E3E}.password__input[invalid]::part(input-field){border-color:#cc0000b3}.password__input::part(input-field){border-radius:4px;background-color:transparent;font-family:inherit;font-style:normal;font-weight:300;font-size:16px;line-height:19px;color:#2A2E3F;width:100%;position:relative;border:2px solid #DEE1EE}.password__input>input:placeholder-shown{color:#979797}.password__error-message{position:absolute;top:calc(100% + 5px);left:0;color:#cc0000b3}.password__complexity{position:relative;padding:10px;display:flex;flex-direction:column;gap:20px;justify-content:center;margin-top:20px;font-weight:300;background:#FFFFFF;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;height:150px;border:1px solid #B0B0B0}.password__complexity--strength{display:flex;justify-content:space-evenly}.password__complexity--strength meter::-webkit-meter-optimum-value{background:#1F1F1F}.password__complexity--strength meter::-moz-meter-bar{background:#B0B0B0}.password__complexity--hidden{display:none}.password__complexity--text-bold{font-weight:500}.password__complexity--checkbox{margin-right:5px}.password__complexity:after{content:\"\";position:absolute;width:25px;height:25px;border-top:1px solid #B0B0B0;border-right:0 solid #B0B0B0;border-left:1px solid #B0B0B0;border-bottom:0 solid #B0B0B0;bottom:92%;left:50%;margin-left:-25px;transform:rotate(45deg);margin-top:-25px;background-color:#FFFFFF}.password__tooltip-icon{width:16px;height:auto}.password__tooltip{position:absolute;top:0;left:20px;background-color:#FFFFFF;border:1px solid #B0B0B0;color:#2B2D3F;padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.password__tooltip.visible{opacity:1}";
|
|
30973
30976
|
|
|
30974
30977
|
const PasswordInput = class {
|
|
30975
30978
|
constructor(hostRef) {
|
|
@@ -31056,9 +31059,6 @@ const PasswordInput = class {
|
|
|
31056
31059
|
if (event.composedPath()[0] !== this.tooltipReference)
|
|
31057
31060
|
this.showTooltip = false;
|
|
31058
31061
|
}
|
|
31059
|
-
connectedCallback() {
|
|
31060
|
-
// this.validationPattern = this.setPattern();
|
|
31061
|
-
}
|
|
31062
31062
|
componentDidRender() {
|
|
31063
31063
|
// start custom styling area
|
|
31064
31064
|
if (!this.limitStylingAppends && this.stylingContainer) {
|
|
@@ -31140,7 +31140,6 @@ const PasswordInput = class {
|
|
|
31140
31140
|
const passedRules = this.passwordComplexity.filter(complexity => complexity.passed).length;
|
|
31141
31141
|
const meterValue = passedRules / totalRules;
|
|
31142
31142
|
const allRulesPassed = this.passwordComplexity.every(complexity => complexity.passed);
|
|
31143
|
-
// if (this.showPopup === false) return;
|
|
31144
31143
|
return (h$2("div", { class: `password__complexity ${!this.showPopup ? 'password__complexity--hidden' : ''}` }, h$2("div", { class: 'password__complexity--strength' }, h$2("p", { class: 'password__complexity--text' }, translate$2('passwordStrength', this.language), "\u00A0", h$2("span", { class: 'password__complexity--text-bold' }, translate$2(`${allRulesPassed ? 'passwordStrengthStrong' : 'passwordStrengthWeak'}`, this.language))), h$2("meter", { value: meterValue, min: "0", max: "1" })), h$2("div", null, this.passwordComplexity.map((complexity, index) => {
|
|
31145
31144
|
return (h$2("div", { key: index }, h$2("input", { class: 'password__complexity--checkbox', type: "checkbox", checked: complexity.passed, disabled: true }), h$2("span", null, translate$2(`${complexity.rule}`, this.language) ? translate$2(`${complexity.rule}`, this.language) : complexity.rule)));
|
|
31146
31145
|
}))));
|
|
@@ -36048,13 +36047,9 @@ const ToggleCheckboxInput = class {
|
|
|
36048
36047
|
this.stylingContainer.prepend(sheet);
|
|
36049
36048
|
};
|
|
36050
36049
|
}
|
|
36051
|
-
validityChanged() {
|
|
36052
|
-
}
|
|
36053
36050
|
validityStateHandler(inputStateEvent) {
|
|
36054
36051
|
this.sendValidityState.emit(inputStateEvent);
|
|
36055
36052
|
}
|
|
36056
|
-
emitValueHandler(newValue) {
|
|
36057
|
-
}
|
|
36058
36053
|
valueHandler(inputValueEvent) {
|
|
36059
36054
|
this.sendInputValue.emit(inputValueEvent);
|
|
36060
36055
|
}
|
|
@@ -36064,8 +36059,6 @@ const ToggleCheckboxInput = class {
|
|
|
36064
36059
|
if (event.composedPath()[0] !== this.tooltipReference)
|
|
36065
36060
|
this.showTooltip = false;
|
|
36066
36061
|
}
|
|
36067
|
-
connectedCallback() {
|
|
36068
|
-
}
|
|
36069
36062
|
componentDidRender() {
|
|
36070
36063
|
// start custom styling area
|
|
36071
36064
|
if (!this.limitStylingAppends && this.stylingContainer) {
|
|
@@ -36075,8 +36068,6 @@ const ToggleCheckboxInput = class {
|
|
|
36075
36068
|
}
|
|
36076
36069
|
// end custom styling area
|
|
36077
36070
|
}
|
|
36078
|
-
componentDidLoad() {
|
|
36079
|
-
}
|
|
36080
36071
|
handleClick() {
|
|
36081
36072
|
this.showFields = this.checkboxReference.checked;
|
|
36082
36073
|
this.errorMessage = this.setErrorMessage();
|
|
@@ -36105,10 +36096,6 @@ const ToggleCheckboxInput = class {
|
|
|
36105
36096
|
return h$2("general-input", { type: subfield.inputType, name: subfield.name, displayName: subfield.displayName, validation: subfield.validate, action: subfield.action || null, defaultValue: subfield.defaultValue, autofilled: subfield.autofill, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: subfield.tooltip, placeholder: subfield.placeholder == null ? '' : subfield.placeholder });
|
|
36106
36097
|
})));
|
|
36107
36098
|
}
|
|
36108
|
-
static get watchers() { return {
|
|
36109
|
-
"isValid": ["validityChanged"],
|
|
36110
|
-
"emitValue": ["emitValueHandler"]
|
|
36111
|
-
}; }
|
|
36112
36099
|
};
|
|
36113
36100
|
ToggleCheckboxInput.style = toggleCheckboxInputCss;
|
|
36114
36101
|
|
|
@@ -1296,4 +1296,4 @@ const flush = () => {
|
|
|
1296
1296
|
const nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
|
|
1297
1297
|
const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
|
|
1298
1298
|
|
|
1299
|
-
export { bootstrapLazy as b, createEvent as c, getElement as g, h, promiseResolve as p, registerInstance as r };
|
|
1299
|
+
export { Host as H, bootstrapLazy as b, createEvent as c, getElement as g, h, promiseResolve as p, registerInstance as r };
|
package/dist/esm/loader.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as l,b as e}from"./p-
|
|
1
|
+
import{p as l,b as e}from"./p-d7d35144.js";(()=>{const e=import.meta.url,i={};return""!==e&&(i.resourcesUrl=new URL(".",e).href),l(i)})().then((l=>e([["p-f82ab839",[[1,"general-registration",{endpoint:[513],language:[513],clientStyling:[1537,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],dateFormat:[513,"date-format"],buttonInsideForm:[516,"button-inside-form"],errorMessage:[32],isFormValid:[32],isLoading:[32],registrationStep:[32],forms:[32],limitStylingAppends:[32]},[[0,"sendValidityState","checkInputsValidityHandler"],[0,"sendInputValue","getInputsValueHandler"]]],[1,"general-input",{type:[513],name:[513],displayName:[513,"display-name"],placeholder:[513],action:[513],validation:[16],options:[520],language:[513],autofilled:[516],tooltip:[513],defaultValue:[520,"default-value"],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[520,"client-styling"],dateFormat:[513,"date-format"]}],[1,"toggle-checkbox-input",{name:[513],displayName:[513,"display-name"],defaultValue:[513,"default-value"],options:[16],autofilled:[516],tooltip:[513],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32],showFields:[32]},[[4,"click","handleClickOutside"]]],[1,"checkbox-group-input",{name:[513],displayName:[513,"display-name"],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],options:[16],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32],selectedValues:[32]},[[4,"click","handleClickOutside"]]],[1,"checkbox-input",{name:[513],displayName:[513,"display-name"],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]]],[1,"date-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],dateFormat:[513,"date-format"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]]],[1,"email-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"],[16,"sendInputValue","valueChangedHandler"]]],[1,"number-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]]],[1,"password-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],validation:[16],language:[513],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[513,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32],showTooltip:[32],passwordComplexity:[32],showPopup:[32]},[[16,"sendInputValue","valueChangedHandler"],[4,"click","handleClickOutside"]]],[1,"radio-input",{name:[513],displayName:[513,"display-name"],optionsGroup:[16],validation:[16],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]]],[1,"select-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],action:[513],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],options:[16],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]]],[1,"tel-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],showLabels:[516,"show-labels"],action:[513],validation:[16],defaultValue:[520,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"]]],[1,"text-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],checkValidity:[516,"check-validity"],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[513,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32],showTooltip:[32]},[[4,"click","handleClickOutside"],[16,"sendInputValue","valueChangedHandler"]]]]]],l)));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
let e,t,n=!1;const l="undefined"!=typeof window?window:{},s=l.document||{head:{}},o={t:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},i=e=>Promise.resolve(e),c=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replace}catch(e){}return!1})(),r=(e,t,n)=>{n&&n.map((([n,l,s])=>{const i=
|
|
1
|
+
let e,t,n=!1;const l="undefined"!=typeof window?window:{},s=l.document||{head:{}},o={t:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},i=e=>Promise.resolve(e),c=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replace}catch(e){}return!1})(),r=(e,t,n)=>{n&&n.map((([n,l,s])=>{const i=u(e,n),c=a(t,s),r=f(n);o.ael(i,l,c,r),(t.o=t.o||[]).push((()=>o.rel(i,l,c,r)))}))},a=(e,t)=>n=>{try{256&e.t?e.i[t](n):(e.u=e.u||[]).push([t,n])}catch(e){Q(e)}},u=(e,t)=>4&t?s:16&t?s.body:e,f=e=>0!=(2&e),d=new WeakMap,$=e=>"sc-"+e.$,h={},y=e=>"object"==(e=typeof e)||"function"===e,m=(e,t,...n)=>{let l=null,s=null,o=!1,i=!1,c=[];const r=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?r(l):null!=l&&"boolean"!=typeof l&&((o="function"!=typeof e&&!y(l))&&(l+=""),o&&i?c[c.length-1].h+=l:c.push(o?p(null,l):l),i=o)};if(r(n),t){t.key&&(s=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const a=p(e,null);return a.m=t,c.length>0&&(a.p=c),a.g=s,a},p=(e,t)=>({t:0,S:e,h:t,k:null,p:null,m:null,g:null}),b={},w=(e,t,n,s,i,c)=>{if(n!==s){let r=K(e,t),a=t.toLowerCase();if("class"===t){const t=e.classList,l=S(n),o=S(s);t.remove(...l.filter((e=>e&&!o.includes(e)))),t.add(...o.filter((e=>e&&!l.includes(e))))}else if("key"===t);else if("ref"===t)s&&s(e);else if(r||"o"!==t[0]||"n"!==t[1]){const l=y(s);if((r||l&&null!==s)&&!i)try{if(e.tagName.includes("-"))e[t]=s;else{let l=null==s?"":s;"list"===t?r=!1:null!=n&&e[t]==l||(e[t]=l)}}catch(e){}null==s||!1===s?!1===s&&""!==e.getAttribute(t)||e.removeAttribute(t):(!r||4&c||i)&&!l&&e.setAttribute(t,s=!0===s?"":s)}else t="-"===t[2]?t.slice(3):K(l,a)?a.slice(2):a[2]+t.slice(3),n&&o.rel(e,t,n,!1),s&&o.ael(e,t,s,!1)}},g=/\s/,S=e=>e?e.split(g):[],k=(e,t,n,l)=>{const s=11===t.k.nodeType&&t.k.host?t.k.host:t.k,o=e&&e.m||h,i=t.m||h;for(l in o)l in i||w(s,l,o[l],void 0,n,t.t);for(l in i)w(s,l,o[l],i[l],n,t.t)},j=(t,n,l)=>{let o,i,c=n.p[l],r=0;if(null!==c.h)o=c.k=s.createTextNode(c.h);else if(o=c.k=s.createElement(c.S),k(null,c,!1),null!=e&&o["s-si"]!==e&&o.classList.add(o["s-si"]=e),c.p)for(r=0;r<c.p.length;++r)i=j(t,c,r),i&&o.appendChild(i);return o},v=(e,n,l,s,o,i)=>{let c,r=e;for(r.shadowRoot&&r.tagName===t&&(r=r.shadowRoot);o<=i;++o)s[o]&&(c=j(null,l,o),c&&(s[o].k=c,r.insertBefore(c,n)))},M=(e,t,n,l,s)=>{for(;t<=n;++t)(l=e[t])&&(s=l.k,L(l),s.remove())},C=(e,t)=>e.S===t.S&&e.g===t.g,O=(e,t)=>{const n=t.k=e.k,l=e.p,s=t.p,o=t.h;null===o?(k(e,t,!1),null!==l&&null!==s?((e,t,n,l)=>{let s,o,i=0,c=0,r=0,a=0,u=t.length-1,f=t[0],d=t[u],$=l.length-1,h=l[0],y=l[$];for(;i<=u&&c<=$;)if(null==f)f=t[++i];else if(null==d)d=t[--u];else if(null==h)h=l[++c];else if(null==y)y=l[--$];else if(C(f,h))O(f,h),f=t[++i],h=l[++c];else if(C(d,y))O(d,y),d=t[--u],y=l[--$];else if(C(f,y))O(f,y),e.insertBefore(f.k,d.k.nextSibling),f=t[++i],y=l[--$];else if(C(d,h))O(d,h),e.insertBefore(d.k,f.k),d=t[--u],h=l[++c];else{for(r=-1,a=i;a<=u;++a)if(t[a]&&null!==t[a].g&&t[a].g===h.g){r=a;break}r>=0?(o=t[r],o.S!==h.S?s=j(t&&t[c],n,r):(O(o,h),t[r]=void 0,s=o.k),h=l[++c]):(s=j(t&&t[c],n,c),h=l[++c]),s&&f.k.parentNode.insertBefore(s,f.k)}i>u?v(e,null==l[$+1]?null:l[$+1].k,n,l,c,$):c>$&&M(t,i,u)})(n,l,t,s):null!==s?(null!==e.h&&(n.textContent=""),v(n,null,t,s,0,s.length-1)):null!==l&&M(l,0,l.length-1)):e.h!==o&&(n.data=o)},L=e=>{e.m&&e.m.ref&&e.m.ref(null),e.p&&e.p.map(L)},P=e=>G(e).j,x=(e,t,n)=>{const l=P(e);return{emit:e=>E(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},E=(e,t,n)=>{const l=o.ce(t,n);return e.dispatchEvent(l),l},N=(e,t)=>{t&&!e.v&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.v=t)))},R=(e,t)=>{if(e.t|=16,!(4&e.t))return N(e,e.M),ie((()=>T(e,t)));e.t|=512},T=(e,t)=>{const n=e.i;let l;return t&&(e.t|=256,e.u&&(e.u.map((([e,t])=>U(n,e,t))),e.u=null),l=U(n,"componentWillLoad")),q(l,(()=>W(e,n,t)))},W=async(e,t,n)=>{const l=e.j,o=l["s-rc"];n&&(e=>{const t=e.C,n=e.j,l=t.t,o=((e,t)=>{let n=$(t),l=Z.get(n);if(e=11===e.nodeType?e:s,l)if("string"==typeof l){let t,o=d.get(e=e.head||e);o||d.set(e,o=new Set),o.has(n)||(t=s.createElement("style"),t.innerHTML=l,e.insertBefore(t,e.querySelector("link")),o&&o.add(n))}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return n})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(e);A(e,t),o&&(o.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>D(e);0===t.length?n():(Promise.all(t).then(n),e.t|=4,t.length=0)}},A=(n,l)=>{try{l=l.render(),n.t&=-17,n.t|=2,((n,l)=>{const s=n.j,o=n.C,i=n.O||p(null,null),c=(e=>e&&e.S===b)(l)?l:m(null,null,l);t=s.tagName,o.L&&(c.m=c.m||{},o.L.map((([e,t])=>c.m[t]=s[e]))),c.S=null,c.t|=4,n.O=c,c.k=i.k=s.shadowRoot||s,e=s["s-sc"],O(i,c)})(n,l)}catch(e){Q(e,n.j)}return null},D=e=>{const t=e.j,n=e.i,l=e.M;U(n,"componentDidRender"),64&e.t||(e.t|=64,F(t),U(n,"componentDidLoad"),e.P(t),l||H()),e.v&&(e.v(),e.v=void 0),512&e.t&&oe((()=>R(e,!1))),e.t&=-517},H=()=>{F(s.documentElement),oe((()=>E(l,"appload",{detail:{namespace:"general-registration"}})))},U=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){Q(e)}},q=(e,t)=>e&&e.then?e.then(t):t(),F=e=>e.classList.add("hydrated"),V=(e,t,n)=>{if(t.N){e.watchers&&(t.R=e.watchers);const l=Object.entries(t.N),s=e.prototype;if(l.map((([e,[l]])=>{(31&l||2&n&&32&l)&&Object.defineProperty(s,e,{get(){return((e,t)=>G(this).T.get(t))(0,e)},set(n){((e,t,n,l)=>{const s=G(e),o=s.j,i=s.T.get(t),c=s.t,r=s.i;if(n=((e,t)=>null==e||y(e)?e:4&t?"false"!==e&&(""===e||!!e):1&t?e+"":e)(n,l.N[t][0]),(!(8&c)||void 0===i)&&n!==i&&(!Number.isNaN(i)||!Number.isNaN(n))&&(s.T.set(t,n),r)){if(l.R&&128&c){const e=l.R[t];e&&e.map((e=>{try{r[e](n,i,t)}catch(e){Q(e,o)}}))}2==(18&c)&&R(s,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0})})),1&n){const n=new Map;s.attributeChangedCallback=function(e,t,l){o.jmp((()=>{const t=n.get(e);if(this.hasOwnProperty(t))l=this[t],delete this[t];else if(s.hasOwnProperty(t)&&"number"==typeof this[t]&&this[t]==l)return;this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,l])=>{const s=l[1]||e;return n.set(s,e),512&l[0]&&t.L.push([e,s]),s}))}}return e},_=e=>{U(e,"connectedCallback")},z=(e,t={})=>{const n=[],i=t.exclude||[],a=l.customElements,u=s.head,f=u.querySelector("meta[charset]"),d=s.createElement("style"),h=[];let y,m=!0;Object.assign(o,t),o.l=new URL(t.resourcesUrl||"./",s.baseURI).href,e.map((e=>{e[1].map((t=>{const l={t:t[0],$:t[1],N:t[2],W:t[3]};l.N=t[2],l.W=t[3],l.L=[],l.R={};const s=l.$,u=class extends HTMLElement{constructor(e){super(e),J(e=this,l),1&l.t&&e.attachShadow({mode:"open"})}connectedCallback(){y&&(clearTimeout(y),y=null),m?h.push(this):o.jmp((()=>(e=>{if(0==(1&o.t)){const t=G(e),n=t.C,l=()=>{};if(1&t.t)r(e,t,n.W),_(t.i);else{t.t|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){N(t,t.M=n);break}}n.N&&Object.entries(n.N).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,s)=>{if(0==(32&t.t)){{if(t.t|=32,(s=Y(n)).then){const e=()=>{};s=await s,e()}s.isProxied||(n.R=s.watchers,V(s,n,2),s.isProxied=!0);const e=()=>{};t.t|=8;try{new s(t)}catch(e){Q(e)}t.t&=-9,t.t|=128,e(),_(t.i)}if(s.style){let e=s.style;const t=$(n);if(!Z.has(t)){const l=()=>{};((e,t,n)=>{let l=Z.get(e);c&&n?(l=l||new CSSStyleSheet,l.replace(t)):l=t,Z.set(e,l)})(t,e,!!(1&n.t)),l()}}}const o=t.M,i=()=>R(t,!0);o&&o["s-rc"]?o["s-rc"].push(i):i()})(0,t,n)}l()}})(this)))}disconnectedCallback(){o.jmp((()=>(()=>{if(0==(1&o.t)){const e=G(this);e.o&&(e.o.map((e=>e())),e.o=void 0)}})()))}componentOnReady(){return G(this).A}};l.D=e[0],i.includes(s)||a.get(s)||(n.push(s),a.define(s,V(u,l,1)))}))})),d.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",d.setAttribute("data-styles",""),u.insertBefore(d,f?f.nextSibling:u.firstChild),m=!1,h.length?h.map((e=>e.connectedCallback())):o.jmp((()=>y=setTimeout(H,30)))},B=new WeakMap,G=e=>B.get(e),I=(e,t)=>B.set(t.i=e,t),J=(e,t)=>{const n={t:0,j:e,C:t,T:new Map};return n.A=new Promise((e=>n.P=e)),e["s-p"]=[],e["s-rc"]=[],r(e,n,t.W),B.set(e,n)},K=(e,t)=>t in e,Q=(e,t)=>(0,console.error)(e,t),X=new Map,Y=e=>{const t=e.$.replace(/-/g,"_"),n=e.D,l=X.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(X.set(n,e),e[t])),Q)},Z=new Map,ee=[],te=[],ne=(e,t)=>l=>{e.push(l),n||(n=!0,t&&4&o.t?oe(se):o.raf(se))},le=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){Q(e)}e.length=0},se=()=>{le(ee),le(te),(n=ee.length>0)&&o.raf(se)},oe=e=>i().then(e),ie=ne(te,!0);export{b as H,z as b,x as c,P as g,m as h,i as p,I as r}
|