@everymatrix/general-registration-multistep 1.87.20 → 1.87.22

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.
@@ -13062,11 +13062,16 @@ const GeneralInput = class {
13062
13062
  case 'twofa':
13063
13063
  return index.h("twofa-input", { name: this.name, displayName: this.displayName, validation: this.validation, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, destination: this.twofaDestination, "resend-interval-seconds": this.twofaResendIntervalSeconds, "enable-south-african-mode": this.enableSouthAfricanMode, "pin-attempts-exceeded": this.pinAttemptsExceeded, "mb-source": this.mbSource });
13064
13064
  default:
13065
- return index.h("p", null, "The ", this.type, " input type is not valid");
13065
+ if (this.displayName && this.displayName.trim() !== '') {
13066
+ return index.h("div", { class: "general-non-input", innerHTML: this.displayName });
13067
+ }
13068
+ else {
13069
+ return null;
13070
+ }
13066
13071
  }
13067
13072
  }
13068
13073
  render() {
13069
- return (index.h(index.Host, { key: '7d036183d9376203451d9805e76b608cfa63570b', class: `general-input--${this.name}`, onClick: this.handleClick }, this.renderInput()));
13074
+ return (index.h(index.Host, { key: '0474aad44033fe0c48473af7938e9ddb77b684e8', class: `general-input--${this.name}`, onClick: this.handleClick }, this.renderInput()));
13070
13075
  }
13071
13076
  get host() { return index.getElement(this); }
13072
13077
  static get watchers() { return {
@@ -13058,11 +13058,16 @@ const GeneralInput = class {
13058
13058
  case 'twofa':
13059
13059
  return h$1("twofa-input", { name: this.name, displayName: this.displayName, validation: this.validation, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, destination: this.twofaDestination, "resend-interval-seconds": this.twofaResendIntervalSeconds, "enable-south-african-mode": this.enableSouthAfricanMode, "pin-attempts-exceeded": this.pinAttemptsExceeded, "mb-source": this.mbSource });
13060
13060
  default:
13061
- return h$1("p", null, "The ", this.type, " input type is not valid");
13061
+ if (this.displayName && this.displayName.trim() !== '') {
13062
+ return h$1("div", { class: "general-non-input", innerHTML: this.displayName });
13063
+ }
13064
+ else {
13065
+ return null;
13066
+ }
13062
13067
  }
13063
13068
  }
13064
13069
  render() {
13065
- return (h$1(Host, { key: '7d036183d9376203451d9805e76b608cfa63570b', class: `general-input--${this.name}`, onClick: this.handleClick }, this.renderInput()));
13070
+ return (h$1(Host, { key: '0474aad44033fe0c48473af7938e9ddb77b684e8', class: `general-input--${this.name}`, onClick: this.handleClick }, this.renderInput()));
13066
13071
  }
13067
13072
  get host() { return getElement(this); }
13068
13073
  static get watchers() { return {