import{n as e,r as t,l as i,m as r}from"./p-BxEPsDRj.js";import{n as s,c as a}from"./p-CrMmJdZ6.js";import{o as l}from"./p-zNe_7rLp.js";import"./p-CGIQ9z_e.js";var o=e`
  :host {
    position: relative;
    display: inline-block;
    width: 100%;
  }
`;var n=undefined&&undefined.__decorate||function(e,t,i,r){var s=arguments.length,a=s<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,i):r,l;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")a=Reflect.decorate(e,t,i,r);else for(var o=e.length-1;o>=0;o--)if(l=e[o])a=(s<3?l(a):s>3?l(t,i,a):l(t,i))||a;return s>3&&a&&Object.defineProperty(t,i,a),a};let u=class e extends i{constructor(){super(...arguments);this.disabled=false}render(){return r`
      <wui-input-text
        type="email"
        placeholder="Email"
        icon="mail"
        size="lg"
        .disabled=${this.disabled}
        .value=${this.value}
        data-testid="wui-email-input"
        tabIdx=${l(this.tabIdx)}
      ></wui-input-text>
      ${this.templateError()}
    `}templateError(){if(this.errorMessage){return r`<wui-text variant="sm-regular" color="error">${this.errorMessage}</wui-text>`}return null}};u.styles=[t,o];n([s()],u.prototype,"errorMessage",void 0);n([s({type:Boolean})],u.prototype,"disabled",void 0);n([s()],u.prototype,"value",void 0);n([s()],u.prototype,"tabIdx",void 0);u=n([a("wui-email-input")],u);
//# sourceMappingURL=p-H9e2kJNd.js.map