@everymatrix/general-registration 1.10.25 → 1.10.27
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 +107 -34
- package/dist/cjs/general-registration.cjs.js +2 -2
- package/dist/cjs/{index-dfef7446.js → index-0b9241d1.js} +36 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/components/general-registration/general-registration.css +36 -0
- package/dist/collection/components/general-registration/general-registration.js +26 -4
- package/dist/components/date-input2.js +67 -3
- package/dist/components/email-input2.js +1 -1
- package/dist/components/general-input2.js +5 -14
- package/dist/components/general-registration.js +25 -5
- package/dist/components/number-input2.js +1 -1
- package/dist/components/password-input2.js +2 -6
- package/dist/components/select-input2.js +1 -1
- package/dist/components/tel-input2.js +1 -1
- package/dist/components/text-input2.js +1 -1
- package/dist/components/tooltipIcon.js +4 -1
- package/dist/esm/checkbox-group-input_13.entry.js +107 -34
- package/dist/esm/general-registration.js +2 -2
- package/dist/esm/{index-fdb6785f.js → index-a42c182c.js} +36 -3
- package/dist/esm/loader.js +2 -2
- package/dist/general-registration/general-registration.esm.js +1 -1
- package/dist/general-registration/p-4ff02444.js +1 -0
- package/dist/general-registration/{p-01edd755.entry.js → p-5b8a2ac8.entry.js} +138 -138
- package/dist/types/components/general-registration/general-registration.d.ts +1 -0
- package/package.json +1 -1
- package/dist/general-registration/p-64b59a7b.js +0 -1
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-0b9241d1.js');
|
|
6
6
|
|
|
7
7
|
const DEFAULT_LANGUAGE$1 = 'en';
|
|
8
8
|
const TRANSLATIONS$1 = {
|
|
9
9
|
"en": {
|
|
10
10
|
"dateError": 'The selected date should be between {min} and {max}',
|
|
11
|
+
"dateError2": 'The selected date is not within the accepted range',
|
|
11
12
|
"numberLengthError": 'The number should be between {min} and {max}',
|
|
12
13
|
"lengthError": `The length should be between {minLength} and {maxLength}`,
|
|
13
14
|
"requiredError": 'This input is required.',
|
|
@@ -21,6 +22,7 @@ const TRANSLATIONS$1 = {
|
|
|
21
22
|
"MustIncludeNumber": "include a number",
|
|
22
23
|
"MustContainCapital": "contain capital letters",
|
|
23
24
|
"MustIncludePunctation": "punctuation",
|
|
25
|
+
"OnlyNumbers": "Should contains only numbers."
|
|
24
26
|
},
|
|
25
27
|
"hu": {
|
|
26
28
|
"dateError": 'A választott dátumnak {min} és {max} között kell lennie',
|
|
@@ -36,7 +38,8 @@ const TRANSLATIONS$1 = {
|
|
|
36
38
|
"PasswordNotMatching": "A jelszavak nem egyeznek",
|
|
37
39
|
"MustIncludeNumber": "tartalmaznia kell egy számot",
|
|
38
40
|
"MustContainCapital": "nagybetűket kell tartalmaznia",
|
|
39
|
-
"MustIncludePunctation": "írásjelet"
|
|
41
|
+
"MustIncludePunctation": "írásjelet",
|
|
42
|
+
"OnlyNumbers": "Csak számokat kell tartalmaznia."
|
|
40
43
|
}
|
|
41
44
|
};
|
|
42
45
|
const translate$2 = (key, customLang, values) => {
|
|
@@ -29231,6 +29234,56 @@ function cleanEscapedString(input) {
|
|
|
29231
29234
|
return input.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp, "'");
|
|
29232
29235
|
}
|
|
29233
29236
|
|
|
29237
|
+
/**
|
|
29238
|
+
* @name isAfter
|
|
29239
|
+
* @category Common Helpers
|
|
29240
|
+
* @summary Is the first date after the second one?
|
|
29241
|
+
*
|
|
29242
|
+
* @description
|
|
29243
|
+
* Is the first date after the second one?
|
|
29244
|
+
*
|
|
29245
|
+
* @param {Date|Number} date - the date that should be after the other one to return true
|
|
29246
|
+
* @param {Date|Number} dateToCompare - the date to compare with
|
|
29247
|
+
* @returns {Boolean} the first date is after the second date
|
|
29248
|
+
* @throws {TypeError} 2 arguments required
|
|
29249
|
+
*
|
|
29250
|
+
* @example
|
|
29251
|
+
* // Is 10 July 1989 after 11 February 1987?
|
|
29252
|
+
* const result = isAfter(new Date(1989, 6, 10), new Date(1987, 1, 11))
|
|
29253
|
+
* //=> true
|
|
29254
|
+
*/
|
|
29255
|
+
function isAfter(dirtyDate, dirtyDateToCompare) {
|
|
29256
|
+
requiredArgs(2, arguments);
|
|
29257
|
+
var date = toDate(dirtyDate);
|
|
29258
|
+
var dateToCompare = toDate(dirtyDateToCompare);
|
|
29259
|
+
return date.getTime() > dateToCompare.getTime();
|
|
29260
|
+
}
|
|
29261
|
+
|
|
29262
|
+
/**
|
|
29263
|
+
* @name isBefore
|
|
29264
|
+
* @category Common Helpers
|
|
29265
|
+
* @summary Is the first date before the second one?
|
|
29266
|
+
*
|
|
29267
|
+
* @description
|
|
29268
|
+
* Is the first date before the second one?
|
|
29269
|
+
*
|
|
29270
|
+
* @param {Date|Number} date - the date that should be before the other one to return true
|
|
29271
|
+
* @param {Date|Number} dateToCompare - the date to compare with
|
|
29272
|
+
* @returns {Boolean} the first date is before the second date
|
|
29273
|
+
* @throws {TypeError} 2 arguments required
|
|
29274
|
+
*
|
|
29275
|
+
* @example
|
|
29276
|
+
* // Is 10 July 1989 before 11 February 1987?
|
|
29277
|
+
* const result = isBefore(new Date(1989, 6, 10), new Date(1987, 1, 11))
|
|
29278
|
+
* //=> false
|
|
29279
|
+
*/
|
|
29280
|
+
function isBefore(dirtyDate, dirtyDateToCompare) {
|
|
29281
|
+
requiredArgs(2, arguments);
|
|
29282
|
+
var date = toDate(dirtyDate);
|
|
29283
|
+
var dateToCompare = toDate(dirtyDateToCompare);
|
|
29284
|
+
return date.getTime() < dateToCompare.getTime();
|
|
29285
|
+
}
|
|
29286
|
+
|
|
29234
29287
|
const dateInputCss = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.date{font-family:\"Roboto\";font-style:normal}.date__wrapper{position:relative;width:100%;padding-top:26px}.date__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:#2A3841;position:absolute;top:0;left:0}.date__label--required::after{content:\"*\";font-family:inherit;color:#2A3841;margin-left:2px}.date__input{border:none;width:inherit;position:relative}.date__input[focused]::part(input-field){border-color:#3E3E3E}.date__input[invalid]::part(input-field){border-color:#cc0000b3}.date__input::part(input-field){border-radius:4px;background-color:#FFFFFF;border:2px solid #DEE1EE;color:#2A2E3F;border-radius:4px;background-color:transparent;font-family:inherit;font-style:normal;font-weight:300;font-size:16px;line-height:19px}.date__error-message{position:absolute;top:calc(100% + 5px);left:0;color:#cc0000b3}.date__tooltip-icon{position:absolute;right:0;bottom:10px}.date__tooltip{position:absolute;bottom:35px;right:10px;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}.date__tooltip.visible{opacity:1}";
|
|
29235
29288
|
|
|
29236
29289
|
const DateInput = class {
|
|
@@ -29288,6 +29341,11 @@ const DateInput = class {
|
|
|
29288
29341
|
if (event.composedPath()[0] !== this.tooltipReference)
|
|
29289
29342
|
this.showTooltip = false;
|
|
29290
29343
|
}
|
|
29344
|
+
connectedCallback() {
|
|
29345
|
+
var _a, _b;
|
|
29346
|
+
this.minDate = parse(((_a = this.validation.min) === null || _a === void 0 ? void 0 : _a.toString()) || '', 'yyyy-MM-dd', new Date());
|
|
29347
|
+
this.maxDate = parse(((_b = this.validation.max) === null || _b === void 0 ? void 0 : _b.toString()) || '', 'yyyy-MM-dd', new Date());
|
|
29348
|
+
}
|
|
29291
29349
|
componentDidRender() {
|
|
29292
29350
|
// start custom styling area
|
|
29293
29351
|
if (!this.limitStylingAppends && this.stylingContainer) {
|
|
@@ -29310,14 +29368,23 @@ const DateInput = class {
|
|
|
29310
29368
|
handleInput(event) {
|
|
29311
29369
|
this.value = event.target.value;
|
|
29312
29370
|
this.touched = true;
|
|
29313
|
-
this.
|
|
29371
|
+
this.valueAsDate = parse(this.value || '', 'yyyy-MM-dd', new Date());
|
|
29314
29372
|
this.isValid = this.setValidity();
|
|
29373
|
+
this.errorMessage = this.setErrorMessage();
|
|
29315
29374
|
this.emitValueHandler(true);
|
|
29316
29375
|
}
|
|
29317
29376
|
setValidity() {
|
|
29318
|
-
|
|
29377
|
+
if (isBefore(this.valueAsDate, this.minDate) || isAfter(this.valueAsDate, this.maxDate)) {
|
|
29378
|
+
return false;
|
|
29379
|
+
}
|
|
29380
|
+
else {
|
|
29381
|
+
return this.inputReference.validity.valid;
|
|
29382
|
+
}
|
|
29319
29383
|
}
|
|
29320
29384
|
setErrorMessage() {
|
|
29385
|
+
if (isBefore(this.valueAsDate, this.minDate) || isAfter(this.valueAsDate, this.maxDate)) {
|
|
29386
|
+
return translate$2('dateError2', this.language);
|
|
29387
|
+
}
|
|
29321
29388
|
if (this.inputReference.validity.rangeUnderflow || this.inputReference.validity.rangeOverflow) {
|
|
29322
29389
|
return translate$2('dateError', this.language, { values: { min: this.validation.min, max: this.validation.max } });
|
|
29323
29390
|
}
|
|
@@ -29336,7 +29403,7 @@ const DateInput = class {
|
|
|
29336
29403
|
if (this.touched) {
|
|
29337
29404
|
invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
|
|
29338
29405
|
}
|
|
29339
|
-
return index.h("div", { class: `date__wrapper ${this.name}__input`, ref: el => this.stylingContainer = el }, index.h("label", { class: `date__label ${this.validation.mandatory ? 'date__label--required' : ''}}`, htmlFor: `${this.name}__input` }, this.displayName, " ", this.validation.mandatory ? '*' : ''), index.h("vaadin-date-picker", { id: `${this.name}__input`, type: 'date', class: `date__input ${invalidClass}`, value: this.defaultValue, readOnly: this.autofilled, placeholder: `${this.placeholder}
|
|
29406
|
+
return index.h("div", { class: `date__wrapper ${this.name}__input`, ref: el => this.stylingContainer = el }, index.h("label", { class: `date__label ${this.validation.mandatory ? 'date__label--required' : ''}}`, htmlFor: `${this.name}__input` }, this.displayName, " ", this.validation.mandatory ? '*' : ''), index.h("vaadin-date-picker", { id: `${this.name}__input`, type: 'date', class: `date__input ${invalidClass}`, value: this.defaultValue, readOnly: this.autofilled, placeholder: `${this.placeholder}`, required: this.validation.mandatory, max: this.validation.max, min: this.validation.min, onChange: (e) => this.handleInput(e), onBlur: this.handleBlur }), index.h("small", { class: 'date__error-message' }, this.errorMessage), this.tooltip &&
|
|
29340
29407
|
index.h("img", { class: 'date__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip());
|
|
29341
29408
|
}
|
|
29342
29409
|
get element() { return index.getElement(this); }
|
|
@@ -29474,7 +29541,7 @@ const EmailInput = class {
|
|
|
29474
29541
|
invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
|
|
29475
29542
|
}
|
|
29476
29543
|
return index.h("div", { class: `email__wrapper ${this.name}__input`, ref: el => this.stylingContainer = el }, index.h("div", { class: 'email__wrapper--flex' }, index.h("label", { class: `email__label ${this.validation.mandatory ? 'email__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), index.h("div", { class: 'email__wrapper--relative' }, this.tooltip &&
|
|
29477
|
-
index.h("img", { class: 'email__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), index.h("input", { id: `${this.name}__input`, type: 'email', class: `email__input ${invalidClass}`, value: this.defaultValue, readOnly: this.autofilled, placeholder: `${this.placeholder}
|
|
29544
|
+
index.h("img", { class: 'email__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), index.h("input", { id: `${this.name}__input`, type: 'email', class: `email__input ${invalidClass}`, value: this.defaultValue, readOnly: this.autofilled, placeholder: `${this.placeholder}`, ref: (el) => this.inputReference = el, pattern: this.validationPattern, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, onInput: this.handleInput, onBlur: this.handleBlur }), index.h("small", { class: 'email__error-message' }, this.errorMessage));
|
|
29478
29545
|
}
|
|
29479
29546
|
static get watchers() { return {
|
|
29480
29547
|
"isValid": ["validityChanged"],
|
|
@@ -29497,7 +29564,7 @@ const GeneralInput = class {
|
|
|
29497
29564
|
*/
|
|
29498
29565
|
this.clientStyling = '';
|
|
29499
29566
|
}
|
|
29500
|
-
|
|
29567
|
+
renderInput() {
|
|
29501
29568
|
var _a;
|
|
29502
29569
|
switch ((_a = this.type) === null || _a === void 0 ? void 0 : _a.toLowerCase()) {
|
|
29503
29570
|
case 'text':
|
|
@@ -29526,6 +29593,9 @@ const GeneralInput = class {
|
|
|
29526
29593
|
return index.h("p", null, "The ", this.type, " input type is not valid");
|
|
29527
29594
|
}
|
|
29528
29595
|
}
|
|
29596
|
+
render() {
|
|
29597
|
+
return (index.h(index.Host, { class: `general-input--${this.name}` }, this.renderInput()));
|
|
29598
|
+
}
|
|
29529
29599
|
};
|
|
29530
29600
|
GeneralInput.style = generalInputCss;
|
|
29531
29601
|
|
|
@@ -29581,7 +29651,7 @@ const translate = (key, customLang, values) => {
|
|
|
29581
29651
|
return translation;
|
|
29582
29652
|
};
|
|
29583
29653
|
|
|
29584
|
-
const generalRegistrationCss = "*,\n*::before,\n*::after {\n padding: 0;\n margin: 0;\n box-sizing: border-box;\n}\n\n.registration__form.hidden {\n display: none;\n}\n\n.registration {\n font-family: \"Roboto\";\n font-style: normal;\n font-family: sans-serif;\n display: flex;\n flex-direction: column;\n gap: 24px;\n width: 100%;\n height: 100%;\n container-type: inline-size;\n}\n.registration__error-message {\n color: #cc0000b3;\n}\n.registration__form {\n display: grid;\n grid-template-columns: repeat(1, 1fr);\n gap: 40px;\n justify-items: stretch;\n align-content: flex-start;\n overflow: auto;\n width: 100%;\n height: 100%;\n}\n.registration__buttons-wrapper {\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n align-items: center;\n}\n.registration__button {\n border: none;\n border-radius: 20px;\n box-shadow: 0px 2px 1px rgba(11, 16, 19, 0.6);\n color: #0B1013;\n font-size: 18px;\n font-weight: bold;\n text-transform: uppercase;\n width: 150px;\n height: 45px;\n}\n.registration__button--disabled {\n color: #647480;\n background-color: #CFCFCF;\n box-shadow: none;\n}\n.registration__button--first-step {\n display: none;\n}\n\n@container (min-width: 450px) {\n .registration__form {\n grid-template-columns: repeat(2, 1fr);\n }\n\n .registration__buttons-wrapper {\n flex-direction: row-reverse;\n gap: 15px;\n }\n}";
|
|
29654
|
+
const generalRegistrationCss = "*,\n*::before,\n*::after {\n padding: 0;\n margin: 0;\n box-sizing: border-box;\n}\n\n.registration__form.hidden {\n display: none;\n}\n\n.registration {\n font-family: \"Roboto\";\n font-style: normal;\n font-family: sans-serif;\n display: flex;\n flex-direction: column;\n gap: 24px;\n width: 100%;\n height: 100%;\n container-type: inline-size;\n}\n.registration__error-message {\n color: #cc0000b3;\n}\n.registration__form {\n display: grid;\n grid-template-columns: repeat(1, 1fr);\n gap: 40px;\n justify-items: stretch;\n align-content: flex-start;\n overflow: auto;\n width: 100%;\n height: 100%;\n}\n.registration__buttons-wrapper {\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n align-items: center;\n position: relative;\n}\n.registration__button {\n border: none;\n border-radius: 20px;\n box-shadow: 0px 2px 1px rgba(11, 16, 19, 0.6);\n color: #0B1013;\n font-size: 18px;\n font-weight: bold;\n text-transform: uppercase;\n width: 150px;\n height: 45px;\n}\n.registration__button--disabled {\n color: #647480;\n background-color: #CFCFCF;\n box-shadow: none;\n}\n.registration__button--first-step {\n display: none;\n}\n\n@container (min-width: 450px) {\n .registration__form {\n grid-template-columns: repeat(2, 1fr);\n }\n\n .registration__buttons-wrapper {\n flex-direction: row-reverse;\n gap: 15px;\n }\n}\n.spinner {\n animation: rotate 2s linear infinite;\n z-index: 2;\n position: absolute;\n top: 50%;\n left: 50%;\n margin: -25px 0 0 -25px;\n width: 50px;\n height: 50px;\n}\n.spinner .path {\n stroke: #E37912;\n stroke-linecap: round;\n animation: dash 1.5s ease-in-out infinite;\n}\n\n@keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n}\n@keyframes dash {\n 0% {\n stroke-dasharray: 1, 150;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -35;\n }\n 100% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -124;\n }\n}";
|
|
29585
29655
|
|
|
29586
29656
|
const GeneralRegistration = class {
|
|
29587
29657
|
constructor(hostRef) {
|
|
@@ -29760,6 +29830,7 @@ const GeneralRegistration = class {
|
|
|
29760
29830
|
});
|
|
29761
29831
|
}
|
|
29762
29832
|
setRegisterStep() {
|
|
29833
|
+
this.isLoadingPOST = true;
|
|
29763
29834
|
const url = new URL(`${this.endpoint}/v1/player/legislation/registration/step`);
|
|
29764
29835
|
const registerStep = {
|
|
29765
29836
|
registrationId: this.registrationID,
|
|
@@ -29816,6 +29887,7 @@ const GeneralRegistration = class {
|
|
|
29816
29887
|
return res.json();
|
|
29817
29888
|
})
|
|
29818
29889
|
.then((data) => {
|
|
29890
|
+
this.isLoadingPOST = false;
|
|
29819
29891
|
this.registrationID = data.registrationId;
|
|
29820
29892
|
if (this.listOfActions.some(action => action == '/register')) {
|
|
29821
29893
|
this.setRegister();
|
|
@@ -29840,7 +29912,10 @@ const GeneralRegistration = class {
|
|
|
29840
29912
|
}
|
|
29841
29913
|
})
|
|
29842
29914
|
.catch((err) => {
|
|
29915
|
+
this.isLoadingPOST = false;
|
|
29843
29916
|
console.error(err);
|
|
29917
|
+
}).finally(() => {
|
|
29918
|
+
this.isLoadingPOST = false;
|
|
29844
29919
|
});
|
|
29845
29920
|
}
|
|
29846
29921
|
setRegister() {
|
|
@@ -29856,8 +29931,20 @@ const GeneralRegistration = class {
|
|
|
29856
29931
|
};
|
|
29857
29932
|
fetch(url.href, options)
|
|
29858
29933
|
.then((res) => {
|
|
29859
|
-
if (res.
|
|
29860
|
-
|
|
29934
|
+
if (!res.ok) {
|
|
29935
|
+
return res.json().then(error => {
|
|
29936
|
+
this.errorCode = error.thirdPartyResponse.errorCode;
|
|
29937
|
+
// Show the idomsoft error if it is the case
|
|
29938
|
+
if (this.errorCode == 'GmErr_BadRequest_IdomsoftVerification_ShouldRetry') {
|
|
29939
|
+
this.errorMessage = error.thirdPartyResponse.message;
|
|
29940
|
+
}
|
|
29941
|
+
else if (this.errorCode == 'GmErr_BadRequest') {
|
|
29942
|
+
this.errorMessage = error.thirdPartyResponse.message;
|
|
29943
|
+
}
|
|
29944
|
+
else {
|
|
29945
|
+
this.errorMessage = translate(`${this.errorCode}`, this.language) || this.errorCode;
|
|
29946
|
+
}
|
|
29947
|
+
});
|
|
29861
29948
|
}
|
|
29862
29949
|
return res.json();
|
|
29863
29950
|
})
|
|
@@ -29945,7 +30032,7 @@ const GeneralRegistration = class {
|
|
|
29945
30032
|
this.listOfInputs.forEach(field => {
|
|
29946
30033
|
var _a, _b;
|
|
29947
30034
|
this.addTranslation(field);
|
|
29948
|
-
// Logic for
|
|
30035
|
+
// Logic for field types that have subfields
|
|
29949
30036
|
if (((_a = field.inputType) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === 'togglecheckbox') {
|
|
29950
30037
|
field.data.subFields.forEach(subField => this.addTranslation(subField));
|
|
29951
30038
|
}
|
|
@@ -30018,7 +30105,9 @@ const GeneralRegistration = class {
|
|
|
30018
30105
|
}
|
|
30019
30106
|
;
|
|
30020
30107
|
renderButtons() {
|
|
30021
|
-
return (index.h("div", { class: 'registration__buttons-wrapper' },
|
|
30108
|
+
return (index.h("div", { class: 'registration__buttons-wrapper' }, this.isLoadingPOST
|
|
30109
|
+
&& index.h("slot", { name: 'spinner' })
|
|
30110
|
+
&& index.h("svg", { class: "spinner", viewBox: "0 0 50 50" }, index.h("circle", { class: "path", cx: "25", cy: "25", r: "20", fill: "none", "stroke-width": "5" })), !this.isLoadingPOST && index.h("button", { class: `registration__button registration__button--next ${this.isFormValid ? '' : 'registration__button--disabled'}`, type: 'submit', form: `RegistrationForm${this.registrationStep}`, onClick: (e) => this.nextHandler(e), disabled: !this.isFormValid }, this.lastStep === this.registrationStep ? translate('doneButton', this.language) : translate('nextButton', this.language)), index.h("button", { class: `registration__button registration__button--back ${this.registrationStep == 'Step1' ? 'registration__button--first-step' : ''}`, onClick: (e) => this.backHandler(e) }, translate('backButton', this.language))));
|
|
30022
30111
|
}
|
|
30023
30112
|
render() {
|
|
30024
30113
|
if (this.isLoading) {
|
|
@@ -30149,7 +30238,7 @@ const NumberInput = class {
|
|
|
30149
30238
|
invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
|
|
30150
30239
|
}
|
|
30151
30240
|
return index.h("div", { class: `number__wrapper ${this.name}__input`, ref: el => this.stylingContainer = el }, index.h("div", { class: 'number__wrapper--flex' }, index.h("label", { class: `number__label ${this.validation.mandatory ? 'number__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), index.h("div", { class: 'number__wrapper--relative' }, this.tooltip &&
|
|
30152
|
-
index.h("img", { class: 'number__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), index.h("input", { ref: (el) => this.inputReference = el, type: "number", value: this.defaultValue, readOnly: this.autofilled, id: `${this.name}__input`, class: `number__input ${invalidClass}`, pattern: this.validationPattern, placeholder: `${this.placeholder}
|
|
30241
|
+
index.h("img", { class: 'number__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), index.h("input", { ref: (el) => this.inputReference = el, type: "number", value: this.defaultValue, readOnly: this.autofilled, id: `${this.name}__input`, class: `number__input ${invalidClass}`, pattern: this.validationPattern, placeholder: `${this.placeholder}`, required: this.validation.mandatory, max: this.validation.max, min: this.validation.min, onInput: this.handleInput, onBlur: this.handleBlur }), index.h("small", { class: 'number__error-message' }, this.errorMessage));
|
|
30153
30242
|
}
|
|
30154
30243
|
static get watchers() { return {
|
|
30155
30244
|
"isValid": ["validityChanged"],
|
|
@@ -30973,7 +31062,7 @@ class PasswordField extends TextField {
|
|
|
30973
31062
|
|
|
30974
31063
|
customElements.define(PasswordField.is, PasswordField);
|
|
30975
31064
|
|
|
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}";
|
|
31065
|
+
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
31066
|
|
|
30978
31067
|
const PasswordInput = class {
|
|
30979
31068
|
constructor(hostRef) {
|
|
@@ -31060,9 +31149,6 @@ const PasswordInput = class {
|
|
|
31060
31149
|
if (event.composedPath()[0] !== this.tooltipReference)
|
|
31061
31150
|
this.showTooltip = false;
|
|
31062
31151
|
}
|
|
31063
|
-
connectedCallback() {
|
|
31064
|
-
// this.validationPattern = this.setPattern();
|
|
31065
|
-
}
|
|
31066
31152
|
componentDidRender() {
|
|
31067
31153
|
// start custom styling area
|
|
31068
31154
|
if (!this.limitStylingAppends && this.stylingContainer) {
|
|
@@ -31144,7 +31230,6 @@ const PasswordInput = class {
|
|
|
31144
31230
|
const passedRules = this.passwordComplexity.filter(complexity => complexity.passed).length;
|
|
31145
31231
|
const meterValue = passedRules / totalRules;
|
|
31146
31232
|
const allRulesPassed = this.passwordComplexity.every(complexity => complexity.passed);
|
|
31147
|
-
// if (this.showPopup === false) return;
|
|
31148
31233
|
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
31234
|
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
31235
|
}))));
|
|
@@ -31155,7 +31240,7 @@ const PasswordInput = class {
|
|
|
31155
31240
|
invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
|
|
31156
31241
|
}
|
|
31157
31242
|
return index.h("div", { class: `password__wrapper ${this.name}__input`, ref: el => this.stylingContainer = el }, index.h("div", { class: 'password__wrapper--flex' }, index.h("label", { class: `password__label ${this.validation.mandatory ? 'password__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), index.h("div", { class: 'password__wrapper--relative' }, this.tooltip &&
|
|
31158
|
-
index.h("img", { class: 'password__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), index.h("vaadin-password-field", { type: "password", id: `${this.name}__input`, class: `password__input ${invalidClass}`, name: this.name, readOnly: this.autofilled, value: this.defaultValue, required: this.validation.mandatory, maxlength: this.validation.maxLength, minlength: this.validation.minLength, pattern: this.validationPattern, placeholder: `${this.placeholder}
|
|
31243
|
+
index.h("img", { class: 'password__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), index.h("vaadin-password-field", { type: "password", id: `${this.name}__input`, class: `password__input ${invalidClass}`, name: this.name, readOnly: this.autofilled, value: this.defaultValue, required: this.validation.mandatory, maxlength: this.validation.maxLength, minlength: this.validation.minLength, pattern: this.validationPattern, placeholder: `${this.placeholder}`, onInput: this.handleInput, onBlur: this.handleBlur, onFocus: () => this.showPopup = true }), index.h("small", { class: 'password__error-message' }, this.errorMessage), this.passwordComplexity && !this.isDuplicateInput && this.renderComplexityPopup());
|
|
31159
31244
|
}
|
|
31160
31245
|
get element() { return index.getElement(this); }
|
|
31161
31246
|
static get watchers() { return {
|
|
@@ -35696,7 +35781,7 @@ const SelectInput = class {
|
|
|
35696
35781
|
invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
|
|
35697
35782
|
}
|
|
35698
35783
|
return index.h("div", { class: `select__wrapper ${this.name}__input`, ref: el => this.stylingContainer = el }, index.h("div", { class: 'select__wrapper--flex' }, index.h("label", { class: 'select__label', htmlFor: `${this.name}__input` }, `${this.displayName} ${this.validation.mandatory ? '*' : ''}`), index.h("div", { class: 'select__wrapper--relative' }, this.tooltip &&
|
|
35699
|
-
index.h("img", { class: 'select__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), index.h("vaadin-combo-box", { name: this.name, id: `${this.name}__input`, class: `select__input ${invalidClass}`, "item-label-path": "label", "item-value-path": "value", readOnly: this.autofilled, required: this.validation.mandatory, value: this.defaultValue, placeholder: `${this.placeholder}
|
|
35784
|
+
index.h("img", { class: 'select__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), index.h("vaadin-combo-box", { name: this.name, id: `${this.name}__input`, class: `select__input ${invalidClass}`, "item-label-path": "label", "item-value-path": "value", readOnly: this.autofilled, required: this.validation.mandatory, value: this.defaultValue, placeholder: `${this.placeholder}`, items: this.displayedOptions, onChange: this.handleChange }), index.h("small", { class: 'select__error-message' }, this.errorMessage));
|
|
35700
35785
|
}
|
|
35701
35786
|
get element() { return index.getElement(this); }
|
|
35702
35787
|
static get watchers() { return {
|
|
@@ -35856,7 +35941,7 @@ const TelInput = class {
|
|
|
35856
35941
|
invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
|
|
35857
35942
|
}
|
|
35858
35943
|
return index.h("div", { class: `tel__wrapper ${this.name}__input`, ref: el => this.stylingContainer = el }, index.h("div", { class: 'tel__wrapper--flex-label' }, index.h("label", { class: `tel__label ${this.validation.mandatory ? 'tel__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), index.h("div", { class: 'tel__wrapper--relative' }, this.tooltip &&
|
|
35859
|
-
index.h("img", { class: 'tel__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), index.h("div", { class: `tel__wrapper--flex ${invalidClass}` }, index.h("vaadin-combo-box", { class: 'tel__prefix', items: this.phoneCodesOptions, value: this.prefixValue, readOnly: this.autofilled, onChange: (e) => this.handlePrefixInput(e) }), index.h("input", { type: "tel", ref: (el) => this.inputReference = el, id: `${this.name}__input`, readOnly: this.autofilled, class: `tel__input`, value: this.phoneValue, placeholder: `${this.placeholder}
|
|
35944
|
+
index.h("img", { class: 'tel__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), index.h("div", { class: `tel__wrapper--flex ${invalidClass}` }, index.h("vaadin-combo-box", { class: 'tel__prefix', items: this.phoneCodesOptions, value: this.prefixValue, readOnly: this.autofilled, onChange: (e) => this.handlePrefixInput(e) }), index.h("input", { type: "tel", ref: (el) => this.inputReference = el, id: `${this.name}__input`, readOnly: this.autofilled, class: `tel__input`, value: this.phoneValue, placeholder: `${this.placeholder}`, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, pattern: this.validationPattern, onInput: this.handleInput, onBlur: this.handleBlur })), index.h("small", { class: 'tel__error-message' }, this.errorMessage));
|
|
35860
35945
|
}
|
|
35861
35946
|
static get watchers() { return {
|
|
35862
35947
|
"isValid": ["validityChanged"],
|
|
@@ -36019,7 +36104,7 @@ const TextInput = class {
|
|
|
36019
36104
|
invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
|
|
36020
36105
|
}
|
|
36021
36106
|
return index.h("div", { class: `text__wrapper ${this.name}__input`, ref: el => this.stylingContainer = el }, index.h("div", { class: 'text__wrapper--flex' }, index.h("label", { class: `text__label ${this.validation.mandatory ? 'text__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), index.h("div", { class: 'text__wrapper--relative' }, this.tooltip &&
|
|
36022
|
-
index.h("img", { class: 'text__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), index.h("input", { name: this.name, id: `${this.name}__input`, value: this.defaultValue, type: 'text', class: `text__input ${invalidClass}`, placeholder: `${this.placeholder}
|
|
36107
|
+
index.h("img", { class: 'text__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), index.h("input", { name: this.name, id: `${this.name}__input`, value: this.defaultValue, type: 'text', class: `text__input ${invalidClass}`, placeholder: `${this.placeholder}`, ref: (el) => this.inputReference = el, readOnly: this.autofilled, pattern: this.validationPattern, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, onInput: this.handleInput, onBlur: this.handleBlur }), index.h("small", { class: 'text__error-message' }, this.errorMessage));
|
|
36023
36108
|
}
|
|
36024
36109
|
static get watchers() { return {
|
|
36025
36110
|
"isValid": ["validityChanged"],
|
|
@@ -36052,13 +36137,9 @@ const ToggleCheckboxInput = class {
|
|
|
36052
36137
|
this.stylingContainer.prepend(sheet);
|
|
36053
36138
|
};
|
|
36054
36139
|
}
|
|
36055
|
-
validityChanged() {
|
|
36056
|
-
}
|
|
36057
36140
|
validityStateHandler(inputStateEvent) {
|
|
36058
36141
|
this.sendValidityState.emit(inputStateEvent);
|
|
36059
36142
|
}
|
|
36060
|
-
emitValueHandler(newValue) {
|
|
36061
|
-
}
|
|
36062
36143
|
valueHandler(inputValueEvent) {
|
|
36063
36144
|
this.sendInputValue.emit(inputValueEvent);
|
|
36064
36145
|
}
|
|
@@ -36068,8 +36149,6 @@ const ToggleCheckboxInput = class {
|
|
|
36068
36149
|
if (event.composedPath()[0] !== this.tooltipReference)
|
|
36069
36150
|
this.showTooltip = false;
|
|
36070
36151
|
}
|
|
36071
|
-
connectedCallback() {
|
|
36072
|
-
}
|
|
36073
36152
|
componentDidRender() {
|
|
36074
36153
|
// start custom styling area
|
|
36075
36154
|
if (!this.limitStylingAppends && this.stylingContainer) {
|
|
@@ -36079,8 +36158,6 @@ const ToggleCheckboxInput = class {
|
|
|
36079
36158
|
}
|
|
36080
36159
|
// end custom styling area
|
|
36081
36160
|
}
|
|
36082
|
-
componentDidLoad() {
|
|
36083
|
-
}
|
|
36084
36161
|
handleClick() {
|
|
36085
36162
|
this.showFields = this.checkboxReference.checked;
|
|
36086
36163
|
this.errorMessage = this.setErrorMessage();
|
|
@@ -36109,10 +36186,6 @@ const ToggleCheckboxInput = class {
|
|
|
36109
36186
|
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
36187
|
})));
|
|
36111
36188
|
}
|
|
36112
|
-
static get watchers() { return {
|
|
36113
|
-
"isValid": ["validityChanged"],
|
|
36114
|
-
"emitValue": ["emitValueHandler"]
|
|
36115
|
-
}; }
|
|
36116
36189
|
};
|
|
36117
36190
|
ToggleCheckboxInput.style = toggleCheckboxInputCss;
|
|
36118
36191
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
3
|
+
const index = require('./index-0b9241d1.js');
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
6
|
Stencil Client Patch Browser v2.15.2 | MIT Licensed | https://stenciljs.com
|
|
@@ -15,5 +15,5 @@ const patchBrowser = () => {
|
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
patchBrowser().then(options => {
|
|
18
|
-
return index.bootstrapLazy([["checkbox-group-input_13.cjs",[[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"]]]]]], options);
|
|
18
|
+
return index.bootstrapLazy([["checkbox-group-input_13.cjs",[[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],"isLoadingPOST":[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"]]]]]], options);
|
|
19
19
|
});
|
|
@@ -171,6 +171,11 @@ const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
|
|
|
171
171
|
* Don't add values to these!!
|
|
172
172
|
*/
|
|
173
173
|
const EMPTY_OBJ = {};
|
|
174
|
+
/**
|
|
175
|
+
* Namespaces
|
|
176
|
+
*/
|
|
177
|
+
const SVG_NS = 'http://www.w3.org/2000/svg';
|
|
178
|
+
const HTML_NS = 'http://www.w3.org/1999/xhtml';
|
|
174
179
|
const isDef = (v) => v != null;
|
|
175
180
|
const isComplexType = (o) => {
|
|
176
181
|
// https://jsperf.com/typeof-fn-object/5
|
|
@@ -400,8 +405,15 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
400
405
|
elm = newVNode.$elm$ = doc.createTextNode(newVNode.$text$);
|
|
401
406
|
}
|
|
402
407
|
else {
|
|
408
|
+
if (!isSvgMode) {
|
|
409
|
+
isSvgMode = newVNode.$tag$ === 'svg';
|
|
410
|
+
}
|
|
403
411
|
// create element
|
|
404
|
-
elm = newVNode.$elm$ = (doc.
|
|
412
|
+
elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$tag$)
|
|
413
|
+
);
|
|
414
|
+
if (isSvgMode && newVNode.$tag$ === 'foreignObject') {
|
|
415
|
+
isSvgMode = false;
|
|
416
|
+
}
|
|
405
417
|
// add css classes, attrs, props, listeners, etc.
|
|
406
418
|
{
|
|
407
419
|
updateElement(null, newVNode, isSvgMode);
|
|
@@ -422,6 +434,16 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
422
434
|
}
|
|
423
435
|
}
|
|
424
436
|
}
|
|
437
|
+
{
|
|
438
|
+
if (newVNode.$tag$ === 'svg') {
|
|
439
|
+
// Only reset the SVG context when we're exiting <svg> element
|
|
440
|
+
isSvgMode = false;
|
|
441
|
+
}
|
|
442
|
+
else if (elm.tagName === 'foreignObject') {
|
|
443
|
+
// Reenter SVG context when we're exiting <foreignObject> element
|
|
444
|
+
isSvgMode = true;
|
|
445
|
+
}
|
|
446
|
+
}
|
|
425
447
|
}
|
|
426
448
|
return elm;
|
|
427
449
|
};
|
|
@@ -556,11 +578,19 @@ const patch = (oldVNode, newVNode) => {
|
|
|
556
578
|
const elm = (newVNode.$elm$ = oldVNode.$elm$);
|
|
557
579
|
const oldChildren = oldVNode.$children$;
|
|
558
580
|
const newChildren = newVNode.$children$;
|
|
581
|
+
const tag = newVNode.$tag$;
|
|
559
582
|
const text = newVNode.$text$;
|
|
560
583
|
if (text === null) {
|
|
584
|
+
{
|
|
585
|
+
// test if we're rendering an svg element, or still rendering nodes inside of one
|
|
586
|
+
// only add this to the when the compiler sees we're using an svg somewhere
|
|
587
|
+
isSvgMode = tag === 'svg' ? true : tag === 'foreignObject' ? false : isSvgMode;
|
|
588
|
+
}
|
|
561
589
|
// element node
|
|
562
590
|
{
|
|
563
|
-
|
|
591
|
+
if (tag === 'slot')
|
|
592
|
+
;
|
|
593
|
+
else {
|
|
564
594
|
// either this is the first render of an element OR it's an update
|
|
565
595
|
// AND we already know it's possible it could have changed
|
|
566
596
|
// this updates the element's css classes, attrs, props, listeners, etc.
|
|
@@ -584,6 +614,9 @@ const patch = (oldVNode, newVNode) => {
|
|
|
584
614
|
// no new child vnodes, but there are old child vnodes to remove
|
|
585
615
|
removeVnodes(oldChildren, 0, oldChildren.length - 1);
|
|
586
616
|
}
|
|
617
|
+
if (isSvgMode && tag === 'svg') {
|
|
618
|
+
isSvgMode = false;
|
|
619
|
+
}
|
|
587
620
|
}
|
|
588
621
|
else if (oldVNode.$text$ !== text) {
|
|
589
622
|
// update the text content for the text only vnode
|
|
@@ -1318,6 +1351,7 @@ const flush = () => {
|
|
|
1318
1351
|
const nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
|
|
1319
1352
|
const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
|
|
1320
1353
|
|
|
1354
|
+
exports.Host = Host;
|
|
1321
1355
|
exports.bootstrapLazy = bootstrapLazy;
|
|
1322
1356
|
exports.createEvent = createEvent;
|
|
1323
1357
|
exports.getElement = getElement;
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -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-0b9241d1.js');
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
8
|
Stencil Client Patch Esm v2.15.2 | MIT Licensed | https://stenciljs.com
|
|
@@ -14,7 +14,7 @@ const patchEsm = () => {
|
|
|
14
14
|
const defineCustomElements = (win, options) => {
|
|
15
15
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
16
16
|
return patchEsm().then(() => {
|
|
17
|
-
return index.bootstrapLazy([["checkbox-group-input_13.cjs",[[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"]]]]]], options);
|
|
17
|
+
return index.bootstrapLazy([["checkbox-group-input_13.cjs",[[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],"isLoadingPOST":[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"]]]]]], options);
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
flex-direction: column;
|
|
40
40
|
justify-content: space-around;
|
|
41
41
|
align-items: center;
|
|
42
|
+
position: relative;
|
|
42
43
|
}
|
|
43
44
|
.registration__button {
|
|
44
45
|
border: none;
|
|
@@ -69,4 +70,39 @@
|
|
|
69
70
|
flex-direction: row-reverse;
|
|
70
71
|
gap: 15px;
|
|
71
72
|
}
|
|
73
|
+
}
|
|
74
|
+
.spinner {
|
|
75
|
+
animation: rotate 2s linear infinite;
|
|
76
|
+
z-index: 2;
|
|
77
|
+
position: absolute;
|
|
78
|
+
top: 50%;
|
|
79
|
+
left: 50%;
|
|
80
|
+
margin: -25px 0 0 -25px;
|
|
81
|
+
width: 50px;
|
|
82
|
+
height: 50px;
|
|
83
|
+
}
|
|
84
|
+
.spinner .path {
|
|
85
|
+
stroke: #E37912;
|
|
86
|
+
stroke-linecap: round;
|
|
87
|
+
animation: dash 1.5s ease-in-out infinite;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
@keyframes rotate {
|
|
91
|
+
100% {
|
|
92
|
+
transform: rotate(360deg);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
@keyframes dash {
|
|
96
|
+
0% {
|
|
97
|
+
stroke-dasharray: 1, 150;
|
|
98
|
+
stroke-dashoffset: 0;
|
|
99
|
+
}
|
|
100
|
+
50% {
|
|
101
|
+
stroke-dasharray: 90, 150;
|
|
102
|
+
stroke-dashoffset: -35;
|
|
103
|
+
}
|
|
104
|
+
100% {
|
|
105
|
+
stroke-dasharray: 90, 150;
|
|
106
|
+
stroke-dashoffset: -124;
|
|
107
|
+
}
|
|
72
108
|
}
|