@everymatrix/general-registration 1.86.12 → 1.86.20

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.
@@ -15515,8 +15515,8 @@ const PostalCodeInput = class {
15515
15515
  };
15516
15516
  this.handlePostalCode = (e, data) => {
15517
15517
  e.stopPropagation();
15518
- const address1 = `${data.street}`.trim();
15519
- const address2 = `${data.number}`.trim();
15518
+ const address1 = `${data.number}`.trim();
15519
+ const address2 = `${data.street}`.trim();
15520
15520
  const city = `${data.city}`.trim();
15521
15521
  this.sendAddressValue.emit({ city, address1, address2 });
15522
15522
  this.value = this.currentPostalCode.toLocaleUpperCase();
@@ -15778,7 +15778,7 @@ const PostalCodeInput = class {
15778
15778
  let shouldShowNoResults = this.showNoResultsMessage && this.currentPostalCode &&
15779
15779
  this.currentPostalCode.length >= this.postalcodelength && (((_b = this.addresses) === null || _b === void 0 ? void 0 : _b.length) === 0) && isUKCountry;
15780
15780
  let showLoadingMessage = this.isFetchingAddresses && this.currentPostalCode.length >= this.postalcodelength;
15781
- return (index.h("div", { key: 'a7d101d7ad51ca56156726b47b4ff97cdea7fca2', class: `text__wrapper ${this.name}__input ${this.autofilled ? 'text__wrapper--autofilled' : ''}`, ref: el => this.stylingContainer = el }, index.h("div", { key: '74f9b8cfb12094588642e5a56323cea96472f8c9', class: 'text__wrapper--flex' }, index.h("label", { key: 'b779b88d908598f09a92a7388e0dfe7bda6157ed', class: `text__label ${this.validation.mandatory ? 'text__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), index.h("div", { key: 'b545e7c3f701e1ce10742f96075bcd84d3dccb85', class: 'text__wrapper--relative' }, this.tooltip && (index.h("img", { key: '3dfbb3f5286d2be08f361f8a6c746b765e5f7901', class: 'text__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip })), this.renderTooltip())), index.h("div", { key: '0ce15664e22cf519df696084d6397be11a4c1932', class: 'input__text-wrapper' }, index.h("input", { key: '92506c5d469f87ef9a24a7f262d4a8c7dd441526', name: this.name, id: `${this.name}__input`, value: this.determineInputValue(), type: 'text', class: `text__input ${invalidClass}`, placeholder: `${this.placeholder}`, ref: (el) => this.inputReference = el, readOnly: this.autofilled, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.maxPostalCodeLength, onInput: this.handleInput, onBlur: this.handleBlur, onFocus: this.handleFocus }), !isUKCountry && (index.h("p", { key: '836f5177d7a9013992989e7e8466396164f9dc8e', class: "address__manual-input-msg", onClick: () => this.enterAddressManually() }, translate$1('enterIEAddressManually', this.language))), showAddressesDropdown && (index.h("div", { key: '077e3995330e2471cc9a838e88a35c60d03348aa', class: "input__addresses-container", ref: (el) => (this.addressesDropdownRef = el) }, index.h("div", { key: '2085a2fa95d95b1fcee0d3cbb45c240329cec4e8', class: "options" }, this.addresses.map((addr, index$1) => (index.h("div", { key: index$1, class: "option", onClick: (e) => this.handlePostalCode(e, addr) }, addr.street, " ", addr.number, " ", addr.city)))))), showLoadingMessage && (index.h("div", { key: '5fb758ac04ee4a6af58e78d77e6ca024353a4b0e', class: "postalcode__loading-spinner" }, index.h("div", { key: 'd134446874122c8cde1070a7d1f4a95b7d0d65c0', class: "loading-spinner" }), index.h("span", { key: '1b2a451f6a52584f978783d43b60ccc8e0d20e29' }, translate$1('searchingForAddresses', this.language)))), shouldShowNoResults && (index.h("div", { key: 'c188c5debee4c194e87971d40ed981b3e095a5ae', class: "postalcode__no-results-message" }, translate$1('postalLookUpNoAddressFound', this.language)))), index.h("small", { key: 'c3499d3404bf807140815cceafe9104ee23dad25', class: 'text__error-message' }, this.errorMessage)));
15781
+ return (index.h("div", { key: 'a7d101d7ad51ca56156726b47b4ff97cdea7fca2', class: `text__wrapper ${this.name}__input ${this.autofilled ? 'text__wrapper--autofilled' : ''}`, ref: el => this.stylingContainer = el }, index.h("div", { key: '74f9b8cfb12094588642e5a56323cea96472f8c9', class: 'text__wrapper--flex' }, index.h("label", { key: 'b779b88d908598f09a92a7388e0dfe7bda6157ed', class: `text__label ${this.validation.mandatory ? 'text__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), index.h("div", { key: 'b545e7c3f701e1ce10742f96075bcd84d3dccb85', class: 'text__wrapper--relative' }, this.tooltip && (index.h("img", { key: '3dfbb3f5286d2be08f361f8a6c746b765e5f7901', class: 'text__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip })), this.renderTooltip())), index.h("div", { key: '0ce15664e22cf519df696084d6397be11a4c1932', class: 'input__text-wrapper' }, index.h("input", { key: '92506c5d469f87ef9a24a7f262d4a8c7dd441526', name: this.name, id: `${this.name}__input`, value: this.determineInputValue(), type: 'text', class: `text__input ${invalidClass}`, placeholder: `${this.placeholder}`, ref: (el) => this.inputReference = el, readOnly: this.autofilled, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.maxPostalCodeLength, onInput: this.handleInput, onBlur: this.handleBlur, onFocus: this.handleFocus }), !isUKCountry && (index.h("p", { key: '836f5177d7a9013992989e7e8466396164f9dc8e', class: "address__manual-input-msg", onClick: () => this.enterAddressManually() }, translate$1('enterIEAddressManually', this.language))), showAddressesDropdown && (index.h("div", { key: '077e3995330e2471cc9a838e88a35c60d03348aa', class: "input__addresses-container", ref: (el) => (this.addressesDropdownRef = el) }, index.h("div", { key: '2085a2fa95d95b1fcee0d3cbb45c240329cec4e8', class: "options" }, this.addresses.map((addr, index$1) => (index.h("div", { key: index$1, class: "option", onClick: (e) => this.handlePostalCode(e, addr) }, addr.number, " ", addr.street, " ", addr.city)))))), showLoadingMessage && (index.h("div", { key: '5fb758ac04ee4a6af58e78d77e6ca024353a4b0e', class: "postalcode__loading-spinner" }, index.h("div", { key: 'd134446874122c8cde1070a7d1f4a95b7d0d65c0', class: "loading-spinner" }), index.h("span", { key: '1b2a451f6a52584f978783d43b60ccc8e0d20e29' }, translate$1('searchingForAddresses', this.language)))), shouldShowNoResults && (index.h("div", { key: 'c188c5debee4c194e87971d40ed981b3e095a5ae', class: "postalcode__no-results-message" }, translate$1('postalLookUpNoAddressFound', this.language)))), index.h("small", { key: 'c3499d3404bf807140815cceafe9104ee23dad25', class: 'text__error-message' }, this.errorMessage)));
15782
15782
  }
15783
15783
  static get watchers() { return {
15784
15784
  "clientStyling": ["handleStylingChange"],
@@ -15511,8 +15511,8 @@ const PostalCodeInput = class {
15511
15511
  };
15512
15512
  this.handlePostalCode = (e, data) => {
15513
15513
  e.stopPropagation();
15514
- const address1 = `${data.street}`.trim();
15515
- const address2 = `${data.number}`.trim();
15514
+ const address1 = `${data.number}`.trim();
15515
+ const address2 = `${data.street}`.trim();
15516
15516
  const city = `${data.city}`.trim();
15517
15517
  this.sendAddressValue.emit({ city, address1, address2 });
15518
15518
  this.value = this.currentPostalCode.toLocaleUpperCase();
@@ -15774,7 +15774,7 @@ const PostalCodeInput = class {
15774
15774
  let shouldShowNoResults = this.showNoResultsMessage && this.currentPostalCode &&
15775
15775
  this.currentPostalCode.length >= this.postalcodelength && (((_b = this.addresses) === null || _b === void 0 ? void 0 : _b.length) === 0) && isUKCountry;
15776
15776
  let showLoadingMessage = this.isFetchingAddresses && this.currentPostalCode.length >= this.postalcodelength;
15777
- return (h$1("div", { key: 'a7d101d7ad51ca56156726b47b4ff97cdea7fca2', class: `text__wrapper ${this.name}__input ${this.autofilled ? 'text__wrapper--autofilled' : ''}`, ref: el => this.stylingContainer = el }, h$1("div", { key: '74f9b8cfb12094588642e5a56323cea96472f8c9', class: 'text__wrapper--flex' }, h$1("label", { key: 'b779b88d908598f09a92a7388e0dfe7bda6157ed', class: `text__label ${this.validation.mandatory ? 'text__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$1("div", { key: 'b545e7c3f701e1ce10742f96075bcd84d3dccb85', class: 'text__wrapper--relative' }, this.tooltip && (h$1("img", { key: '3dfbb3f5286d2be08f361f8a6c746b765e5f7901', class: 'text__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip })), this.renderTooltip())), h$1("div", { key: '0ce15664e22cf519df696084d6397be11a4c1932', class: 'input__text-wrapper' }, h$1("input", { key: '92506c5d469f87ef9a24a7f262d4a8c7dd441526', name: this.name, id: `${this.name}__input`, value: this.determineInputValue(), type: 'text', class: `text__input ${invalidClass}`, placeholder: `${this.placeholder}`, ref: (el) => this.inputReference = el, readOnly: this.autofilled, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.maxPostalCodeLength, onInput: this.handleInput, onBlur: this.handleBlur, onFocus: this.handleFocus }), !isUKCountry && (h$1("p", { key: '836f5177d7a9013992989e7e8466396164f9dc8e', class: "address__manual-input-msg", onClick: () => this.enterAddressManually() }, translate$1('enterIEAddressManually', this.language))), showAddressesDropdown && (h$1("div", { key: '077e3995330e2471cc9a838e88a35c60d03348aa', class: "input__addresses-container", ref: (el) => (this.addressesDropdownRef = el) }, h$1("div", { key: '2085a2fa95d95b1fcee0d3cbb45c240329cec4e8', class: "options" }, this.addresses.map((addr, index) => (h$1("div", { key: index, class: "option", onClick: (e) => this.handlePostalCode(e, addr) }, addr.street, " ", addr.number, " ", addr.city)))))), showLoadingMessage && (h$1("div", { key: '5fb758ac04ee4a6af58e78d77e6ca024353a4b0e', class: "postalcode__loading-spinner" }, h$1("div", { key: 'd134446874122c8cde1070a7d1f4a95b7d0d65c0', class: "loading-spinner" }), h$1("span", { key: '1b2a451f6a52584f978783d43b60ccc8e0d20e29' }, translate$1('searchingForAddresses', this.language)))), shouldShowNoResults && (h$1("div", { key: 'c188c5debee4c194e87971d40ed981b3e095a5ae', class: "postalcode__no-results-message" }, translate$1('postalLookUpNoAddressFound', this.language)))), h$1("small", { key: 'c3499d3404bf807140815cceafe9104ee23dad25', class: 'text__error-message' }, this.errorMessage)));
15777
+ return (h$1("div", { key: 'a7d101d7ad51ca56156726b47b4ff97cdea7fca2', class: `text__wrapper ${this.name}__input ${this.autofilled ? 'text__wrapper--autofilled' : ''}`, ref: el => this.stylingContainer = el }, h$1("div", { key: '74f9b8cfb12094588642e5a56323cea96472f8c9', class: 'text__wrapper--flex' }, h$1("label", { key: 'b779b88d908598f09a92a7388e0dfe7bda6157ed', class: `text__label ${this.validation.mandatory ? 'text__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$1("div", { key: 'b545e7c3f701e1ce10742f96075bcd84d3dccb85', class: 'text__wrapper--relative' }, this.tooltip && (h$1("img", { key: '3dfbb3f5286d2be08f361f8a6c746b765e5f7901', class: 'text__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip })), this.renderTooltip())), h$1("div", { key: '0ce15664e22cf519df696084d6397be11a4c1932', class: 'input__text-wrapper' }, h$1("input", { key: '92506c5d469f87ef9a24a7f262d4a8c7dd441526', name: this.name, id: `${this.name}__input`, value: this.determineInputValue(), type: 'text', class: `text__input ${invalidClass}`, placeholder: `${this.placeholder}`, ref: (el) => this.inputReference = el, readOnly: this.autofilled, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.maxPostalCodeLength, onInput: this.handleInput, onBlur: this.handleBlur, onFocus: this.handleFocus }), !isUKCountry && (h$1("p", { key: '836f5177d7a9013992989e7e8466396164f9dc8e', class: "address__manual-input-msg", onClick: () => this.enterAddressManually() }, translate$1('enterIEAddressManually', this.language))), showAddressesDropdown && (h$1("div", { key: '077e3995330e2471cc9a838e88a35c60d03348aa', class: "input__addresses-container", ref: (el) => (this.addressesDropdownRef = el) }, h$1("div", { key: '2085a2fa95d95b1fcee0d3cbb45c240329cec4e8', class: "options" }, this.addresses.map((addr, index) => (h$1("div", { key: index, class: "option", onClick: (e) => this.handlePostalCode(e, addr) }, addr.number, " ", addr.street, " ", addr.city)))))), showLoadingMessage && (h$1("div", { key: '5fb758ac04ee4a6af58e78d77e6ca024353a4b0e', class: "postalcode__loading-spinner" }, h$1("div", { key: 'd134446874122c8cde1070a7d1f4a95b7d0d65c0', class: "loading-spinner" }), h$1("span", { key: '1b2a451f6a52584f978783d43b60ccc8e0d20e29' }, translate$1('searchingForAddresses', this.language)))), shouldShowNoResults && (h$1("div", { key: 'c188c5debee4c194e87971d40ed981b3e095a5ae', class: "postalcode__no-results-message" }, translate$1('postalLookUpNoAddressFound', this.language)))), h$1("small", { key: 'c3499d3404bf807140815cceafe9104ee23dad25', class: 'text__error-message' }, this.errorMessage)));
15778
15778
  }
15779
15779
  static get watchers() { return {
15780
15780
  "clientStyling": ["handleStylingChange"],