@everymatrix/general-registration 1.10.16 → 1.10.17

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.
@@ -1,18 +1,15 @@
1
1
  const DEFAULT_LANGUAGE = 'en';
2
2
  const SUPPORTED_LANGUAGES = ['ro', 'en'];
3
3
  const TRANSLATIONS = {
4
- en: {
5
- dateError: 'The selected date should be between {min} and {max}',
6
- numberLengthError: 'The number should be between {min} and {max}',
7
- lengthError: `The length should be between {minLength} and {maxLength}`,
8
- requiredError: 'This input is required.',
9
- nextButton: 'Next',
10
- backButton: 'Back',
11
- doneButton: 'Done'
4
+ "en": {
5
+ "dateError": 'The selected date should be between {min} and {max}',
6
+ "numberLengthError": 'The number should be between {min} and {max}',
7
+ "lengthError": `The length should be between {minLength} and {maxLength}`,
8
+ "requiredError": 'This input is required.',
12
9
  },
13
- ro: {
14
- lengthError: `Cuvântul introdus este prea scurt. {minLength} and {maxLength}`,
15
- requiredError: 'Acest câmp este obligatoriu.'
10
+ "ro": {
11
+ "lengthError": `Cuvântul introdus este prea scurt. {minLength} and {maxLength}`,
12
+ "requiredError": 'Acest câmp este obligatoriu.'
16
13
  }
17
14
  };
18
15
  const translate = (key, customLang, values) => {
@@ -15,6 +15,7 @@ const NumberInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
15
15
  */
16
16
  this.clientStyling = '';
17
17
  this.limitStylingAppends = false;
18
+ this.validationPattern = '';
18
19
  this.setClientStyling = () => {
19
20
  let sheet = document.createElement('style');
20
21
  sheet.innerHTML = this.clientStyling;
@@ -38,6 +39,9 @@ const NumberInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
38
39
  valueHandler(inputValueEvent) {
39
40
  this.sendInputValue.emit(inputValueEvent);
40
41
  }
42
+ connectedCallback() {
43
+ this.validationPattern = this.setPattern();
44
+ }
41
45
  componentDidRender() {
42
46
  // start custom styling area
43
47
  if (!this.limitStylingAppends && this.stylingContainer) {
@@ -46,8 +50,6 @@ const NumberInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
46
50
  this.limitStylingAppends = true;
47
51
  }
48
52
  // end custom styling area
49
- }
50
- componentDidLoad() {
51
53
  if (this.defaultValue) {
52
54
  this.value = this.defaultValue;
53
55
  this.valueHandler({ name: this.name, value: this.value });
@@ -63,7 +65,17 @@ const NumberInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
63
65
  setValidity() {
64
66
  return this.inputReference.validity.valid;
65
67
  }
68
+ setPattern() {
69
+ var _a, _b;
70
+ if (((_a = this.validation.custom) === null || _a === void 0 ? void 0 : _a.length) > 0) {
71
+ return (_b = this.validation.custom.find(customValidation => customValidation.rule === 'regex')) === null || _b === void 0 ? void 0 : _b.pattern;
72
+ }
73
+ }
66
74
  setErrorMessage() {
75
+ var _a;
76
+ if (this.inputReference.validity.patternMismatch) {
77
+ return (_a = this.validation.custom.find(customValidation => customValidation.rule === 'regex')) === null || _a === void 0 ? void 0 : _a.errorMessage;
78
+ }
67
79
  if (this.inputReference.validity.rangeUnderflow || this.inputReference.validity.rangeOverflow) {
68
80
  return translate('numberLengthError', this.language, { values: { min: this.validation.min, max: this.validation.max } });
69
81
  }
@@ -73,7 +85,7 @@ const NumberInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
73
85
  }
74
86
  render() {
75
87
  const invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'number__input--invalid';
76
- return h("div", { class: 'number__wrapper', ref: el => this.stylingContainer = el }, h("input", { ref: (el) => this.inputReference = el, type: "number", value: this.defaultValue, readOnly: this.autofilled, id: `${this.name}__input`, class: `number__input ${invalidClass}`, placeholder: `${this.displayName} ${this.validation.mandatory ? '*' : ''}`, required: this.validation.mandatory, max: this.validation.max, min: this.validation.min, onBlur: (e) => this.handleInput(e) }), h("label", { class: `number__label ${this.validation.mandatory ? 'number__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h("small", { class: 'number__error-message' }, this.errorMessage));
88
+ return h("div", { class: 'number__wrapper', ref: el => this.stylingContainer = el }, 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.displayName} ${this.validation.mandatory ? '*' : ''}`, required: this.validation.mandatory, max: this.validation.max, min: this.validation.min, onBlur: (e) => this.handleInput(e) }), h("label", { class: `number__label ${this.validation.mandatory ? 'number__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h("small", { class: 'number__error-message' }, this.errorMessage));
77
89
  }
78
90
  static get watchers() { return {
79
91
  "isValid": ["validityChanged"],
@@ -779,14 +779,14 @@ const PasswordInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
779
779
  this.limitStylingAppends = true;
780
780
  }
781
781
  // end custom styling area
782
- }
783
- componentDidLoad() {
784
- this.inputReference = this.element.shadowRoot.querySelector('input');
785
782
  if (this.defaultValue) {
786
783
  this.value = this.defaultValue;
787
784
  this.valueHandler({ name: this.name, value: this.value });
788
785
  }
789
786
  }
787
+ componentDidLoad() {
788
+ this.inputReference = this.element.shadowRoot.querySelector('input');
789
+ }
790
790
  handleInput(event) {
791
791
  this.value = event.target.value;
792
792
  this.errorMessage = this.setErrorMessage();
@@ -70,14 +70,14 @@ const SelectInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
70
70
  this.limitStylingAppends = true;
71
71
  }
72
72
  // end custom styling area
73
- }
74
- componentDidLoad() {
75
- this.inputReference = this.element.shadowRoot.querySelector('input');
76
73
  if (this.defaultValue) {
77
74
  this.value = this.defaultValue;
78
75
  this.valueHandler({ name: this.name, value: this.value });
79
76
  }
80
77
  }
78
+ componentDidLoad() {
79
+ this.inputReference = this.element.shadowRoot.querySelector('input');
80
+ }
81
81
  getOptions() {
82
82
  // TEMPORARY FOR DEMO PURPOSES UNTIL NORWAY CONFIGURES AN ACTUAL ENDPOINT...
83
83
  const url = new URL("https://demo-api.stage.norway.everymatrix.com/v1/player/countries");
@@ -67,8 +67,6 @@ const TelInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
67
67
  this.limitStylingAppends = true;
68
68
  }
69
69
  // end custom styling area
70
- }
71
- componentDidLoad() {
72
70
  if (this.defaultValue) {
73
71
  this.value = `${this.prefixValue}|${this.phoneValue}`;
74
72
  this.valueHandler({ name: this.name, value: this.value });
@@ -119,7 +117,7 @@ const TelInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
119
117
  }
120
118
  render() {
121
119
  const invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'tel__wrapper--flex--invalid';
122
- return h("div", { class: 'tel__wrapper', ref: el => this.stylingContainer = el }, h("div", { class: `tel__wrapper--flex ${invalidClass}` }, h("vaadin-combo-box", { class: 'tel__prefix', items: this.phoneCodesOptions, value: this.prefixValue, readOnly: this.autofilled, onBlur: (e) => this.prefixValue = e.target.value }), h("input", { type: "tel", ref: (el) => this.inputReference = el, id: `${this.name}__input`, readOnly: this.autofilled, class: `tel__input`, value: this.phoneValue, placeholder: `${this.displayName} ${this.validation.mandatory ? '*' : ''}`, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, pattern: this.validationPattern, onBlur: (e) => this.handleInput(e) })), h("label", { class: `tel__label ${this.validation.mandatory ? 'tel__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h("small", { class: 'tel__error-message' }, this.errorMessage));
120
+ return h("div", { class: 'tel__wrapper', ref: el => this.stylingContainer = el }, h("div", { class: `tel__wrapper--flex ${invalidClass}` }, h("vaadin-combo-box", { class: 'tel__prefix', items: this.phoneCodesOptions, value: this.prefixValue, readOnly: this.autofilled, onChange: (e) => this.prefixValue = e.target.value }), h("input", { type: "tel", ref: (el) => this.inputReference = el, id: `${this.name}__input`, readOnly: this.autofilled, class: `tel__input`, value: this.phoneValue, placeholder: `${this.displayName} ${this.validation.mandatory ? '*' : ''}`, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, pattern: this.validationPattern, onBlur: (e) => this.handleInput(e) })), h("label", { class: `tel__label ${this.validation.mandatory ? 'tel__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h("small", { class: 'tel__error-message' }, this.errorMessage));
123
121
  }
124
122
  static get watchers() { return {
125
123
  "isValid": ["validityChanged"],
@@ -63,8 +63,6 @@ const TextInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
63
63
  this.limitStylingAppends = true;
64
64
  }
65
65
  // end custom styling area
66
- }
67
- componentDidLoad() {
68
66
  if (this.defaultValue) {
69
67
  this.value = this.defaultValue;
70
68
  this.valueHandler({ name: this.name, value: this.value });
@@ -116,7 +114,6 @@ const TextInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
116
114
  "validation": [16],
117
115
  "defaultValue": [513, "default-value"],
118
116
  "autofilled": [516],
119
- "rules": [513],
120
117
  "language": [513],
121
118
  "checkValidity": [516, "check-validity"],
122
119
  "emitValue": [516, "emit-value"],
@@ -3,18 +3,15 @@ import { r as registerInstance, c as createEvent, h as h$2, g as getElement } fr
3
3
  const DEFAULT_LANGUAGE$1 = 'en';
4
4
  const SUPPORTED_LANGUAGES$1 = ['ro', 'en'];
5
5
  const TRANSLATIONS$1 = {
6
- en: {
7
- dateError: 'The selected date should be between {min} and {max}',
8
- numberLengthError: 'The number should be between {min} and {max}',
9
- lengthError: `The length should be between {minLength} and {maxLength}`,
10
- requiredError: 'This input is required.',
11
- nextButton: 'Next',
12
- backButton: 'Back',
13
- doneButton: 'Done'
6
+ "en": {
7
+ "dateError": 'The selected date should be between {min} and {max}',
8
+ "numberLengthError": 'The number should be between {min} and {max}',
9
+ "lengthError": `The length should be between {minLength} and {maxLength}`,
10
+ "requiredError": 'This input is required.',
14
11
  },
15
- ro: {
16
- lengthError: `Cuvântul introdus este prea scurt. {minLength} and {maxLength}`,
17
- requiredError: 'Acest câmp este obligatoriu.'
12
+ "ro": {
13
+ "lengthError": `Cuvântul introdus este prea scurt. {minLength} and {maxLength}`,
14
+ "requiredError": 'Acest câmp este obligatoriu.'
18
15
  }
19
16
  };
20
17
  const translate$2 = (key, customLang, values) => {
@@ -76,8 +73,6 @@ const CheckboxInput = class {
76
73
  this.limitStylingAppends = true;
77
74
  }
78
75
  // end custom styling area
79
- }
80
- componentDidLoad() {
81
76
  if (this.defaultValue) {
82
77
  this.value = this.defaultValue;
83
78
  this.valueHandler({ name: this.name, value: this.value });
@@ -98,8 +93,11 @@ const CheckboxInput = class {
98
93
  return translate$2('requiredError', this.language);
99
94
  }
100
95
  }
96
+ renderLabel() {
97
+ return (h$2("label", { class: 'checkbox__label', htmlFor: `${this.name}__input` }, h$2("div", { innerHTML: `${this.displayName} ${this.validation.mandatory ? '*' : ''}` })));
98
+ }
101
99
  render() {
102
- return h$2("div", { class: 'checkbox__wrapper', ref: el => this.stylingContainer = el }, h$2("input", { type: "checkbox", id: `${this.name}__input`, ref: (el) => this.inputReference = el, name: this.name, checked: this.defaultValue == "true", readOnly: this.autofilled, required: this.validation.mandatory, value: this.value, onClick: () => this.handleClick() }), h$2("label", { class: 'checkbox__label', htmlFor: `${this.name}__input` }, this.displayName, " ", this.validation.mandatory ? '*' : ''), h$2("small", { class: 'checkbox__error-message' }, this.errorMessage));
100
+ return h$2("div", { class: 'checkbox__wrapper', ref: el => this.stylingContainer = el }, h$2("input", { type: "checkbox", id: `${this.name}__input`, ref: (el) => this.inputReference = el, name: this.name, checked: this.defaultValue == "true", readOnly: this.autofilled, required: this.validation.mandatory, value: this.value, onClick: () => this.handleClick() }), this.renderLabel(), h$2("small", { class: 'checkbox__error-message' }, this.errorMessage));
103
101
  }
104
102
  static get watchers() { return {
105
103
  "isValid": ["validityChanged"],
@@ -23093,14 +23091,14 @@ const DateInput = class {
23093
23091
  this.limitStylingAppends = true;
23094
23092
  }
23095
23093
  // end custom styling area
23096
- }
23097
- componentDidLoad() {
23098
- this.inputReference = this.element.shadowRoot.querySelector('input');
23099
23094
  if (this.defaultValue) {
23100
23095
  this.value = this.defaultValue;
23101
23096
  this.valueHandler({ name: this.name, value: this.value });
23102
23097
  }
23103
23098
  }
23099
+ componentDidLoad() {
23100
+ this.inputReference = this.element.shadowRoot.querySelector('input');
23101
+ }
23104
23102
  handleInput(event) {
23105
23103
  this.value = event.target.value;
23106
23104
  this.errorMessage = this.setErrorMessage();
@@ -23185,8 +23183,6 @@ const EmailInput = class {
23185
23183
  this.limitStylingAppends = true;
23186
23184
  }
23187
23185
  // end custom styling area
23188
- }
23189
- componentDidLoad() {
23190
23186
  if (this.defaultValue) {
23191
23187
  this.value = this.defaultValue;
23192
23188
  this.valueHandler({ name: this.name, value: this.value });
@@ -23279,18 +23275,16 @@ GeneralInput.style = generalInputCss;
23279
23275
  const DEFAULT_LANGUAGE = 'en';
23280
23276
  const SUPPORTED_LANGUAGES = ['ro', 'en'];
23281
23277
  const TRANSLATIONS = {
23282
- en: {
23283
- dateError: 'The selected date should be between {min} and {max}',
23284
- numberLengthError: 'The number should be between {min} and {max}',
23285
- lengthError: `The length should be between {minLength} and {maxLength}`,
23286
- requiredError: 'This input is required.',
23287
- nextButton: 'Next',
23288
- backButton: 'Back',
23289
- doneButton: 'Done'
23290
- },
23291
- ro: {
23292
- lengthError: `Cuvântul introdus este prea scurt. {minLength} and {maxLength}`,
23293
- requiredError: 'Acest câmp este obligatoriu.'
23278
+ "en": {
23279
+ "nextButton": 'Next',
23280
+ "backButton": 'Back',
23281
+ "doneButton": 'Done',
23282
+ "GmErr_BadRequest_Duplicate_User": 'A user with this information already exists.',
23283
+ "GmErr_BadRequest_ModelValidationFailed": 'Something went wrong... Please try again.',
23284
+ "GmErr_BadInternalConfigs": 'Something went wrong... Please try again.',
23285
+ "GmErr_Unauthorized": 'Something went wrong... Please try again.',
23286
+ "GmErr_NotFound": 'Something went wrong... Please try again.',
23287
+ "GmErr_UnexpectedException": 'Something went wrong... Please try again.',
23294
23288
  }
23295
23289
  };
23296
23290
  const translate = (key, customLang, values) => {
@@ -23305,7 +23299,7 @@ const translate = (key, customLang, values) => {
23305
23299
  return translation;
23306
23300
  };
23307
23301
 
23308
- const generalRegistrationCss = "*,\n*::before,\n*::after {\n padding: 0;\n margin: 0;\n box-sizing: border-box;\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__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: row-reverse;\n justify-content: space-around;\n align-items: center;\n}\n.registration__button {\n text-transform: uppercase;\n width: 250px;\n height: 40px;\n border-radius: 3px;\n}\n.registration__button:hover {\n opacity: 0.8;\n}\n.registration__button:active {\n opacity: 1;\n}\n.registration__button--next {\n color: #FFFFFF;\n background-color: #B0B0B0;\n border: none;\n}\n.registration__button--back {\n color: #B0B0B0;\n background-color: #FFFFFF;\n border: 2px solid #B0B0B0;\n}\n.registration__button--disabled {\n opacity: 0.5;\n}\n.registration__button--disabled:hover {\n opacity: 0.5;\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: column;\n gap: 15px;\n }\n}";
23302
+ const generalRegistrationCss = "*,\n*::before,\n*::after {\n padding: 0;\n margin: 0;\n box-sizing: border-box;\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 text-transform: uppercase;\n width: 250px;\n height: 40px;\n border-radius: 3px;\n}\n.registration__button:hover {\n opacity: 0.8;\n}\n.registration__button:active {\n opacity: 1;\n}\n.registration__button--next {\n color: #FFFFFF;\n background-color: #B0B0B0;\n border: none;\n}\n.registration__button--back {\n color: #B0B0B0;\n background-color: #FFFFFF;\n border: 2px solid #B0B0B0;\n}\n.registration__button--disabled {\n opacity: 0.5;\n}\n.registration__button--disabled:hover {\n opacity: 0.5;\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}";
23309
23303
 
23310
23304
  const GeneralRegistration = class {
23311
23305
  constructor(hostRef) {
@@ -23359,6 +23353,7 @@ const GeneralRegistration = class {
23359
23353
  window.postMessage({ type: 'registrationStepUpdated', step: this.registrationStep }, window.location.href);
23360
23354
  }
23361
23355
  setFormValidity() {
23356
+ this.errorMessage = '';
23362
23357
  this.isFormValid = !this.getInvalidStatus(this.listOfInputs);
23363
23358
  }
23364
23359
  checkInputsValidityHandler(event) {
@@ -23431,7 +23426,6 @@ const GeneralRegistration = class {
23431
23426
  }
23432
23427
  if (state.type == 'values') {
23433
23428
  const savedValues = savedUserData[this.registrationStep].registerUserData;
23434
- console.log(savedValues);
23435
23429
  this.listOfInputValues = Object.keys(savedValues).map(name => {
23436
23430
  return { name, value: savedValues[name].value, isDuplicate: savedValues[name].isDuplicate };
23437
23431
  });
@@ -23502,8 +23496,20 @@ const GeneralRegistration = class {
23502
23496
  };
23503
23497
  fetch(url.href, options)
23504
23498
  .then((res) => {
23505
- if (res.status >= 300) {
23506
- throw new Error('err');
23499
+ if (!res.ok) {
23500
+ return res.json().then(error => {
23501
+ this.errorCode = error.thirdPartyResponse.errorCode;
23502
+ // Show the idomsoft error if it is the case
23503
+ if (this.errorCode == 'GmErr_BadRequest_IdomsoftVerification_ShouldRetry') {
23504
+ this.errorMessage = error.thirdPartyResponse.message;
23505
+ }
23506
+ else if (this.errorCode == 'GmErr_BadRequest') {
23507
+ this.errorMessage = error.thirdPartyResponse.message;
23508
+ }
23509
+ else {
23510
+ this.errorMessage = translate(`${this.errorCode}`, this.language) || this.errorCode;
23511
+ }
23512
+ });
23507
23513
  }
23508
23514
  return res.json();
23509
23515
  })
@@ -23529,6 +23535,8 @@ const GeneralRegistration = class {
23529
23535
  this.stepsStateMachine({ event: 'set', type: 'inputs' });
23530
23536
  });
23531
23537
  }
23538
+ // Set it in local storage.
23539
+ this.stepsStateMachine({ event: 'set', type: 'inputs' });
23532
23540
  }
23533
23541
  })
23534
23542
  .catch((err) => {
@@ -23640,7 +23648,7 @@ const GeneralRegistration = class {
23640
23648
  if (this.isLoading) {
23641
23649
  return h$2("p", null, "Please wait, loading ...");
23642
23650
  }
23643
- return (h$2("div", { class: `registration registration__${this.registrationStep}`, ref: el => this.stylingContainer = el }, h$2("form", { action: '.', id: 'RegistrationForm', class: 'registration__form' }, this.renderInputs()), this.renderButtons()));
23651
+ return (h$2("div", { class: `registration registration__${this.registrationStep}`, ref: el => this.stylingContainer = el }, h$2("form", { action: '.', id: 'RegistrationForm', class: 'registration__form' }, this.renderInputs()), h$2("p", { class: 'registration__error-message' }, this.errorMessage), this.renderButtons()));
23644
23652
  }
23645
23653
  static get watchers() { return {
23646
23654
  "registrationStep": ["sendStep"],
@@ -23661,6 +23669,7 @@ const NumberInput = class {
23661
23669
  */
23662
23670
  this.clientStyling = '';
23663
23671
  this.limitStylingAppends = false;
23672
+ this.validationPattern = '';
23664
23673
  this.setClientStyling = () => {
23665
23674
  let sheet = document.createElement('style');
23666
23675
  sheet.innerHTML = this.clientStyling;
@@ -23684,6 +23693,9 @@ const NumberInput = class {
23684
23693
  valueHandler(inputValueEvent) {
23685
23694
  this.sendInputValue.emit(inputValueEvent);
23686
23695
  }
23696
+ connectedCallback() {
23697
+ this.validationPattern = this.setPattern();
23698
+ }
23687
23699
  componentDidRender() {
23688
23700
  // start custom styling area
23689
23701
  if (!this.limitStylingAppends && this.stylingContainer) {
@@ -23692,8 +23704,6 @@ const NumberInput = class {
23692
23704
  this.limitStylingAppends = true;
23693
23705
  }
23694
23706
  // end custom styling area
23695
- }
23696
- componentDidLoad() {
23697
23707
  if (this.defaultValue) {
23698
23708
  this.value = this.defaultValue;
23699
23709
  this.valueHandler({ name: this.name, value: this.value });
@@ -23709,7 +23719,17 @@ const NumberInput = class {
23709
23719
  setValidity() {
23710
23720
  return this.inputReference.validity.valid;
23711
23721
  }
23722
+ setPattern() {
23723
+ var _a, _b;
23724
+ if (((_a = this.validation.custom) === null || _a === void 0 ? void 0 : _a.length) > 0) {
23725
+ return (_b = this.validation.custom.find(customValidation => customValidation.rule === 'regex')) === null || _b === void 0 ? void 0 : _b.pattern;
23726
+ }
23727
+ }
23712
23728
  setErrorMessage() {
23729
+ var _a;
23730
+ if (this.inputReference.validity.patternMismatch) {
23731
+ return (_a = this.validation.custom.find(customValidation => customValidation.rule === 'regex')) === null || _a === void 0 ? void 0 : _a.errorMessage;
23732
+ }
23713
23733
  if (this.inputReference.validity.rangeUnderflow || this.inputReference.validity.rangeOverflow) {
23714
23734
  return translate$2('numberLengthError', this.language, { values: { min: this.validation.min, max: this.validation.max } });
23715
23735
  }
@@ -23719,7 +23739,7 @@ const NumberInput = class {
23719
23739
  }
23720
23740
  render() {
23721
23741
  const invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'number__input--invalid';
23722
- return h$2("div", { class: 'number__wrapper', ref: el => this.stylingContainer = el }, h$2("input", { ref: (el) => this.inputReference = el, type: "number", value: this.defaultValue, readOnly: this.autofilled, id: `${this.name}__input`, class: `number__input ${invalidClass}`, placeholder: `${this.displayName} ${this.validation.mandatory ? '*' : ''}`, required: this.validation.mandatory, max: this.validation.max, min: this.validation.min, onBlur: (e) => this.handleInput(e) }), h$2("label", { class: `number__label ${this.validation.mandatory ? 'number__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$2("small", { class: 'number__error-message' }, this.errorMessage));
23742
+ return h$2("div", { class: 'number__wrapper', ref: el => this.stylingContainer = el }, h$2("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.displayName} ${this.validation.mandatory ? '*' : ''}`, required: this.validation.mandatory, max: this.validation.max, min: this.validation.min, onBlur: (e) => this.handleInput(e) }), h$2("label", { class: `number__label ${this.validation.mandatory ? 'number__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$2("small", { class: 'number__error-message' }, this.errorMessage));
23723
23743
  }
23724
23744
  static get watchers() { return {
23725
23745
  "isValid": ["validityChanged"],
@@ -24582,14 +24602,14 @@ const PasswordInput = class {
24582
24602
  this.limitStylingAppends = true;
24583
24603
  }
24584
24604
  // end custom styling area
24585
- }
24586
- componentDidLoad() {
24587
- this.inputReference = this.element.shadowRoot.querySelector('input');
24588
24605
  if (this.defaultValue) {
24589
24606
  this.value = this.defaultValue;
24590
24607
  this.valueHandler({ name: this.name, value: this.value });
24591
24608
  }
24592
24609
  }
24610
+ componentDidLoad() {
24611
+ this.inputReference = this.element.shadowRoot.querySelector('input');
24612
+ }
24593
24613
  handleInput(event) {
24594
24614
  this.value = event.target.value;
24595
24615
  this.errorMessage = this.setErrorMessage();
@@ -29110,14 +29130,14 @@ const SelectInput = class {
29110
29130
  this.limitStylingAppends = true;
29111
29131
  }
29112
29132
  // end custom styling area
29113
- }
29114
- componentDidLoad() {
29115
- this.inputReference = this.element.shadowRoot.querySelector('input');
29116
29133
  if (this.defaultValue) {
29117
29134
  this.value = this.defaultValue;
29118
29135
  this.valueHandler({ name: this.name, value: this.value });
29119
29136
  }
29120
29137
  }
29138
+ componentDidLoad() {
29139
+ this.inputReference = this.element.shadowRoot.querySelector('input');
29140
+ }
29121
29141
  getOptions() {
29122
29142
  // TEMPORARY FOR DEMO PURPOSES UNTIL NORWAY CONFIGURES AN ACTUAL ENDPOINT...
29123
29143
  const url = new URL("https://demo-api.stage.norway.everymatrix.com/v1/player/countries");
@@ -29221,8 +29241,6 @@ const TelInput = class {
29221
29241
  this.limitStylingAppends = true;
29222
29242
  }
29223
29243
  // end custom styling area
29224
- }
29225
- componentDidLoad() {
29226
29244
  if (this.defaultValue) {
29227
29245
  this.value = `${this.prefixValue}|${this.phoneValue}`;
29228
29246
  this.valueHandler({ name: this.name, value: this.value });
@@ -29273,7 +29291,7 @@ const TelInput = class {
29273
29291
  }
29274
29292
  render() {
29275
29293
  const invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'tel__wrapper--flex--invalid';
29276
- return h$2("div", { class: 'tel__wrapper', ref: el => this.stylingContainer = el }, h$2("div", { class: `tel__wrapper--flex ${invalidClass}` }, h$2("vaadin-combo-box", { class: 'tel__prefix', items: this.phoneCodesOptions, value: this.prefixValue, readOnly: this.autofilled, onBlur: (e) => this.prefixValue = e.target.value }), h$2("input", { type: "tel", ref: (el) => this.inputReference = el, id: `${this.name}__input`, readOnly: this.autofilled, class: `tel__input`, value: this.phoneValue, placeholder: `${this.displayName} ${this.validation.mandatory ? '*' : ''}`, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, pattern: this.validationPattern, onBlur: (e) => this.handleInput(e) })), h$2("label", { class: `tel__label ${this.validation.mandatory ? 'tel__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$2("small", { class: 'tel__error-message' }, this.errorMessage));
29294
+ return h$2("div", { class: 'tel__wrapper', ref: el => this.stylingContainer = el }, h$2("div", { class: `tel__wrapper--flex ${invalidClass}` }, h$2("vaadin-combo-box", { class: 'tel__prefix', items: this.phoneCodesOptions, value: this.prefixValue, readOnly: this.autofilled, onChange: (e) => this.prefixValue = e.target.value }), h$2("input", { type: "tel", ref: (el) => this.inputReference = el, id: `${this.name}__input`, readOnly: this.autofilled, class: `tel__input`, value: this.phoneValue, placeholder: `${this.displayName} ${this.validation.mandatory ? '*' : ''}`, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, pattern: this.validationPattern, onBlur: (e) => this.handleInput(e) })), h$2("label", { class: `tel__label ${this.validation.mandatory ? 'tel__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$2("small", { class: 'tel__error-message' }, this.errorMessage));
29277
29295
  }
29278
29296
  static get watchers() { return {
29279
29297
  "isValid": ["validityChanged"],
@@ -29342,8 +29360,6 @@ const TextInput = class {
29342
29360
  this.limitStylingAppends = true;
29343
29361
  }
29344
29362
  // end custom styling area
29345
- }
29346
- componentDidLoad() {
29347
29363
  if (this.defaultValue) {
29348
29364
  this.value = this.defaultValue;
29349
29365
  this.valueHandler({ name: this.name, value: this.value });
@@ -13,5 +13,5 @@ const patchBrowser = () => {
13
13
  };
14
14
 
15
15
  patchBrowser().then(options => {
16
- return bootstrapLazy([["checkbox-input_11",[[1,"general-registration",{"endpoint":[513],"language":[513],"clientStyling":[1537,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationsUrl":[513,"translations-url"],"errorMessage":[32],"isFormValid":[32],"listOfInputs":[32],"isLoading":[32],"registrationStep":[32]},[[0,"sendValidityState","checkInputsValidityHandler"],[0,"sendInputValue","getInputsValueHandler"]]],[1,"general-input",{"type":[513],"name":[513],"displayName":[513,"display-name"],"action":[513],"validation":[16],"options":[520],"language":[513],"autofilled":[516],"defaultValue":[520,"default-value"],"emitValue":[516,"emit-value"],"isDuplicateInput":[516,"is-duplicate-input"],"clientStyling":[520,"client-styling"]}],[1,"checkbox-input",{"name":[513],"displayName":[513,"display-name"],"defaultValue":[513,"default-value"],"autofilled":[516],"validation":[16],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32]}],[1,"date-input",{"name":[513],"displayName":[513,"display-name"],"validation":[16],"defaultValue":[513,"default-value"],"autofilled":[516],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32]}],[1,"email-input",{"name":[513],"displayName":[513,"display-name"],"validation":[16],"defaultValue":[513,"default-value"],"autofilled":[516],"language":[513],"emitValue":[516,"emit-value"],"isDuplicateInput":[516,"is-duplicate-input"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32]},[[16,"sendInputValue","valueChangedHandler"]]],[1,"number-input",{"name":[513],"displayName":[513,"display-name"],"validation":[16],"defaultValue":[513,"default-value"],"autofilled":[516],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32]}],[1,"password-input",{"name":[513],"displayName":[513,"display-name"],"defaultValue":[513,"default-value"],"autofilled":[516],"validation":[16],"language":[513],"emitValue":[516,"emit-value"],"isDuplicateInput":[516,"is-duplicate-input"],"clientStyling":[513,"client-styling"],"isValid":[32],"errorMessage":[32],"limitStylingAppends":[32]},[[16,"sendInputValue","valueChangedHandler"]]],[1,"radio-input",{"name":[513],"displayName":[513,"display-name"],"optionsGroup":[16],"validation":[16],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32]}],[1,"select-input",{"name":[513],"displayName":[513,"display-name"],"action":[513],"defaultValue":[513,"default-value"],"autofilled":[516],"options":[16],"validation":[16],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32]}],[1,"tel-input",{"name":[513],"displayName":[513,"display-name"],"showLabels":[516,"show-labels"],"action":[513],"validation":[16],"defaultValue":[513,"default-value"],"autofilled":[516],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"isValid":[32],"errorMessage":[32],"limitStylingAppends":[32]}],[1,"text-input",{"name":[513],"displayName":[513,"display-name"],"validation":[16],"defaultValue":[513,"default-value"],"autofilled":[516],"rules":[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]},[[16,"sendInputValue","valueChangedHandler"]]]]]], options);
16
+ return bootstrapLazy([["checkbox-input_11",[[1,"general-registration",{"endpoint":[513],"language":[513],"clientStyling":[1537,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationsUrl":[513,"translations-url"],"errorMessage":[32],"isFormValid":[32],"listOfInputs":[32],"isLoading":[32],"registrationStep":[32]},[[0,"sendValidityState","checkInputsValidityHandler"],[0,"sendInputValue","getInputsValueHandler"]]],[1,"general-input",{"type":[513],"name":[513],"displayName":[513,"display-name"],"action":[513],"validation":[16],"options":[520],"language":[513],"autofilled":[516],"defaultValue":[520,"default-value"],"emitValue":[516,"emit-value"],"isDuplicateInput":[516,"is-duplicate-input"],"clientStyling":[520,"client-styling"]}],[1,"checkbox-input",{"name":[513],"displayName":[513,"display-name"],"defaultValue":[513,"default-value"],"autofilled":[516],"validation":[16],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32]}],[1,"date-input",{"name":[513],"displayName":[513,"display-name"],"validation":[16],"defaultValue":[513,"default-value"],"autofilled":[516],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32]}],[1,"email-input",{"name":[513],"displayName":[513,"display-name"],"validation":[16],"defaultValue":[513,"default-value"],"autofilled":[516],"language":[513],"emitValue":[516,"emit-value"],"isDuplicateInput":[516,"is-duplicate-input"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32]},[[16,"sendInputValue","valueChangedHandler"]]],[1,"number-input",{"name":[513],"displayName":[513,"display-name"],"validation":[16],"defaultValue":[513,"default-value"],"autofilled":[516],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32]}],[1,"password-input",{"name":[513],"displayName":[513,"display-name"],"defaultValue":[513,"default-value"],"autofilled":[516],"validation":[16],"language":[513],"emitValue":[516,"emit-value"],"isDuplicateInput":[516,"is-duplicate-input"],"clientStyling":[513,"client-styling"],"isValid":[32],"errorMessage":[32],"limitStylingAppends":[32]},[[16,"sendInputValue","valueChangedHandler"]]],[1,"radio-input",{"name":[513],"displayName":[513,"display-name"],"optionsGroup":[16],"validation":[16],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32]}],[1,"select-input",{"name":[513],"displayName":[513,"display-name"],"action":[513],"defaultValue":[513,"default-value"],"autofilled":[516],"options":[16],"validation":[16],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32]}],[1,"tel-input",{"name":[513],"displayName":[513,"display-name"],"showLabels":[516,"show-labels"],"action":[513],"validation":[16],"defaultValue":[513,"default-value"],"autofilled":[516],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"isValid":[32],"errorMessage":[32],"limitStylingAppends":[32]}],[1,"text-input",{"name":[513],"displayName":[513,"display-name"],"validation":[16],"defaultValue":[513,"default-value"],"autofilled":[516],"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]},[[16,"sendInputValue","valueChangedHandler"]]]]]], options);
17
17
  });
@@ -10,7 +10,7 @@ const patchEsm = () => {
10
10
  const defineCustomElements = (win, options) => {
11
11
  if (typeof window === 'undefined') return Promise.resolve();
12
12
  return patchEsm().then(() => {
13
- return bootstrapLazy([["checkbox-input_11",[[1,"general-registration",{"endpoint":[513],"language":[513],"clientStyling":[1537,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationsUrl":[513,"translations-url"],"errorMessage":[32],"isFormValid":[32],"listOfInputs":[32],"isLoading":[32],"registrationStep":[32]},[[0,"sendValidityState","checkInputsValidityHandler"],[0,"sendInputValue","getInputsValueHandler"]]],[1,"general-input",{"type":[513],"name":[513],"displayName":[513,"display-name"],"action":[513],"validation":[16],"options":[520],"language":[513],"autofilled":[516],"defaultValue":[520,"default-value"],"emitValue":[516,"emit-value"],"isDuplicateInput":[516,"is-duplicate-input"],"clientStyling":[520,"client-styling"]}],[1,"checkbox-input",{"name":[513],"displayName":[513,"display-name"],"defaultValue":[513,"default-value"],"autofilled":[516],"validation":[16],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32]}],[1,"date-input",{"name":[513],"displayName":[513,"display-name"],"validation":[16],"defaultValue":[513,"default-value"],"autofilled":[516],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32]}],[1,"email-input",{"name":[513],"displayName":[513,"display-name"],"validation":[16],"defaultValue":[513,"default-value"],"autofilled":[516],"language":[513],"emitValue":[516,"emit-value"],"isDuplicateInput":[516,"is-duplicate-input"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32]},[[16,"sendInputValue","valueChangedHandler"]]],[1,"number-input",{"name":[513],"displayName":[513,"display-name"],"validation":[16],"defaultValue":[513,"default-value"],"autofilled":[516],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32]}],[1,"password-input",{"name":[513],"displayName":[513,"display-name"],"defaultValue":[513,"default-value"],"autofilled":[516],"validation":[16],"language":[513],"emitValue":[516,"emit-value"],"isDuplicateInput":[516,"is-duplicate-input"],"clientStyling":[513,"client-styling"],"isValid":[32],"errorMessage":[32],"limitStylingAppends":[32]},[[16,"sendInputValue","valueChangedHandler"]]],[1,"radio-input",{"name":[513],"displayName":[513,"display-name"],"optionsGroup":[16],"validation":[16],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32]}],[1,"select-input",{"name":[513],"displayName":[513,"display-name"],"action":[513],"defaultValue":[513,"default-value"],"autofilled":[516],"options":[16],"validation":[16],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32]}],[1,"tel-input",{"name":[513],"displayName":[513,"display-name"],"showLabels":[516,"show-labels"],"action":[513],"validation":[16],"defaultValue":[513,"default-value"],"autofilled":[516],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"isValid":[32],"errorMessage":[32],"limitStylingAppends":[32]}],[1,"text-input",{"name":[513],"displayName":[513,"display-name"],"validation":[16],"defaultValue":[513,"default-value"],"autofilled":[516],"rules":[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]},[[16,"sendInputValue","valueChangedHandler"]]]]]], options);
13
+ return bootstrapLazy([["checkbox-input_11",[[1,"general-registration",{"endpoint":[513],"language":[513],"clientStyling":[1537,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationsUrl":[513,"translations-url"],"errorMessage":[32],"isFormValid":[32],"listOfInputs":[32],"isLoading":[32],"registrationStep":[32]},[[0,"sendValidityState","checkInputsValidityHandler"],[0,"sendInputValue","getInputsValueHandler"]]],[1,"general-input",{"type":[513],"name":[513],"displayName":[513,"display-name"],"action":[513],"validation":[16],"options":[520],"language":[513],"autofilled":[516],"defaultValue":[520,"default-value"],"emitValue":[516,"emit-value"],"isDuplicateInput":[516,"is-duplicate-input"],"clientStyling":[520,"client-styling"]}],[1,"checkbox-input",{"name":[513],"displayName":[513,"display-name"],"defaultValue":[513,"default-value"],"autofilled":[516],"validation":[16],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32]}],[1,"date-input",{"name":[513],"displayName":[513,"display-name"],"validation":[16],"defaultValue":[513,"default-value"],"autofilled":[516],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32]}],[1,"email-input",{"name":[513],"displayName":[513,"display-name"],"validation":[16],"defaultValue":[513,"default-value"],"autofilled":[516],"language":[513],"emitValue":[516,"emit-value"],"isDuplicateInput":[516,"is-duplicate-input"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32]},[[16,"sendInputValue","valueChangedHandler"]]],[1,"number-input",{"name":[513],"displayName":[513,"display-name"],"validation":[16],"defaultValue":[513,"default-value"],"autofilled":[516],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32]}],[1,"password-input",{"name":[513],"displayName":[513,"display-name"],"defaultValue":[513,"default-value"],"autofilled":[516],"validation":[16],"language":[513],"emitValue":[516,"emit-value"],"isDuplicateInput":[516,"is-duplicate-input"],"clientStyling":[513,"client-styling"],"isValid":[32],"errorMessage":[32],"limitStylingAppends":[32]},[[16,"sendInputValue","valueChangedHandler"]]],[1,"radio-input",{"name":[513],"displayName":[513,"display-name"],"optionsGroup":[16],"validation":[16],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32]}],[1,"select-input",{"name":[513],"displayName":[513,"display-name"],"action":[513],"defaultValue":[513,"default-value"],"autofilled":[516],"options":[16],"validation":[16],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"errorMessage":[32],"isValid":[32],"limitStylingAppends":[32]}],[1,"tel-input",{"name":[513],"displayName":[513,"display-name"],"showLabels":[516,"show-labels"],"action":[513],"validation":[16],"defaultValue":[513,"default-value"],"autofilled":[516],"language":[513],"emitValue":[516,"emit-value"],"clientStyling":[513,"client-styling"],"isValid":[32],"errorMessage":[32],"limitStylingAppends":[32]}],[1,"text-input",{"name":[513],"displayName":[513,"display-name"],"validation":[16],"defaultValue":[513,"default-value"],"autofilled":[516],"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]},[[16,"sendInputValue","valueChangedHandler"]]]]]], options);
14
14
  });
15
15
  };
16
16
 
@@ -1 +1 @@
1
- import{p as e,b as l}from"./p-35d6abbe.js";(()=>{const l=import.meta.url,a={};return""!==l&&(a.resourcesUrl=new URL(".",l).href),e(a)})().then((e=>l([["p-4142a899",[[1,"general-registration",{endpoint:[513],language:[513],clientStyling:[1537,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationsUrl:[513,"translations-url"],errorMessage:[32],isFormValid:[32],listOfInputs:[32],isLoading:[32],registrationStep:[32]},[[0,"sendValidityState","checkInputsValidityHandler"],[0,"sendInputValue","getInputsValueHandler"]]],[1,"general-input",{type:[513],name:[513],displayName:[513,"display-name"],action:[513],validation:[16],options:[520],language:[513],autofilled:[516],defaultValue:[520,"default-value"],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[520,"client-styling"]}],[1,"checkbox-input",{name:[513],displayName:[513,"display-name"],defaultValue:[513,"default-value"],autofilled:[516],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32]}],[1,"date-input",{name:[513],displayName:[513,"display-name"],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32]}],[1,"email-input",{name:[513],displayName:[513,"display-name"],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],language:[513],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32]},[[16,"sendInputValue","valueChangedHandler"]]],[1,"number-input",{name:[513],displayName:[513,"display-name"],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32]}],[1,"password-input",{name:[513],displayName:[513,"display-name"],defaultValue:[513,"default-value"],autofilled:[516],validation:[16],language:[513],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[513,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32]},[[16,"sendInputValue","valueChangedHandler"]]],[1,"radio-input",{name:[513],displayName:[513,"display-name"],optionsGroup:[16],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32]}],[1,"select-input",{name:[513],displayName:[513,"display-name"],action:[513],defaultValue:[513,"default-value"],autofilled:[516],options:[16],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32]}],[1,"tel-input",{name:[513],displayName:[513,"display-name"],showLabels:[516,"show-labels"],action:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32]}],[1,"text-input",{name:[513],displayName:[513,"display-name"],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],rules:[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]},[[16,"sendInputValue","valueChangedHandler"]]]]]],e)));
1
+ import{p as e,b as l}from"./p-35d6abbe.js";(()=>{const l=import.meta.url,a={};return""!==l&&(a.resourcesUrl=new URL(".",l).href),e(a)})().then((e=>l([["p-9fd2de44",[[1,"general-registration",{endpoint:[513],language:[513],clientStyling:[1537,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationsUrl:[513,"translations-url"],errorMessage:[32],isFormValid:[32],listOfInputs:[32],isLoading:[32],registrationStep:[32]},[[0,"sendValidityState","checkInputsValidityHandler"],[0,"sendInputValue","getInputsValueHandler"]]],[1,"general-input",{type:[513],name:[513],displayName:[513,"display-name"],action:[513],validation:[16],options:[520],language:[513],autofilled:[516],defaultValue:[520,"default-value"],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[520,"client-styling"]}],[1,"checkbox-input",{name:[513],displayName:[513,"display-name"],defaultValue:[513,"default-value"],autofilled:[516],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32]}],[1,"date-input",{name:[513],displayName:[513,"display-name"],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32]}],[1,"email-input",{name:[513],displayName:[513,"display-name"],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],language:[513],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32]},[[16,"sendInputValue","valueChangedHandler"]]],[1,"number-input",{name:[513],displayName:[513,"display-name"],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32]}],[1,"password-input",{name:[513],displayName:[513,"display-name"],defaultValue:[513,"default-value"],autofilled:[516],validation:[16],language:[513],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[513,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32]},[[16,"sendInputValue","valueChangedHandler"]]],[1,"radio-input",{name:[513],displayName:[513,"display-name"],optionsGroup:[16],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32]}],[1,"select-input",{name:[513],displayName:[513,"display-name"],action:[513],defaultValue:[513,"default-value"],autofilled:[516],options:[16],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32]}],[1,"tel-input",{name:[513],displayName:[513,"display-name"],showLabels:[516,"show-labels"],action:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32]}],[1,"text-input",{name:[513],displayName:[513,"display-name"],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],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]},[[16,"sendInputValue","valueChangedHandler"]]]]]],e)));