1import{_ as e,a as t}from"./chunk-vendor-di.Bh23gdA.js";import{P as d,e as o,w as c,r as p,$ as h}from"./chunk-vendor-lit.NvY0u02.js";import{p as l}from"./chunk-phoenix_custom_element.-3oJuZO.js";import{c as g}from"./chunk-index.D5AUA1V.js";import{C as m,B as S,a as _}from"./chunk-control_props_sync_consumer_controller.B1LB2a5.js";import"./chunk-vendor-lodash.CWHFt7Z.js";import"./chunk-behavior_subject.BGn-8a7.js";import"./chunk-subject.nuVoBpB.js";import"./chunk-context_provider_controller.CCbkLM7.js";import"./chunk-observer.oe4_irb.js";import"./chunk-context_consumer_controller.DQ84A7A.js";const i="textarea",s={textarea:i,textareaError:`${i}_error`,textareaDisabled:`${i}_disabled`,textareaReadonly:`${i}_readonly`,textareaControl:`${i}__control`},u={input:"input"},v={placeholder:"placeholder"};let r=class extends d{constructor(){super(),new m({host:this,propsToSync:[...Object.keys(S),...Object.values(v)]})}connectedCallback(){super.connectedCallback(),this.classList.add(s.textarea);const n=g({[s.textareaDisabled]:this.disabled,[s.textareaError]:this.error,[s.textareaReadonly]:this.readonly});n&&this.classList.add(n)}};e([o({type:String}),t("design:type",String)],r.prototype,"controlId",void 0);e([o({type:String}),t("design:type",String)],r.prototype,"controlName",void 0);e([o({type:Boolean}),t("design:type",Boolean)],r.prototype,"disabled",void 0);e([o({type:Boolean}),t("design:type",Boolean)],r.prototype,"required",void 0);e([o({type:Boolean}),t("design:type",Boolean)],r.prototype,"hidden",void 0);e([o({type:Boolean}),t("design:type",Boolean)],r.prototype,"readonly",void 0);e([o({type:Boolean}),t("design:type",Boolean)],r.prototype,"error",void 0);e([o({type:String}),t("design:type",String)],r.prototype,"placeholder",void 0);e([o({type:String}),t("design:type",String)],r.prototype,"value",void 0);r=e([l("h-textarea"),t("design:paramtypes",[])],r);let a=class extends d{constructor(){super(),this._handleInputEvent=n=>{this.emitCustomEvent(u.input,{detail:n})},new _({host:this})}connectedCallback(){super.connectedCallback(),this.classList.add(s.textareaControl)}render(){var n;return super.render(),h` 2 <textarea 3 id="${p(this.controlId)}" 4 name="${p(this.controlName)}" 5 placeholder="${p(this.placeholder)}" 6 aria-required="${this.required?"true":"false"}" 7 ?disabled="${this.disabled}" 8 ?readonly="${this.readonly}" 9 ?hidden="${this.hidden}" 10 @input="${this._handleInputEvent}" 11 />${(n=this.value)!==null&&n!==void 0?n:c}</textarea> 12 `}};e([o({type:String}),t("design:type",String)],a.prototype,"controlId",void 0);e([o({type:String}),t("design:type",String)],a.prototype,"controlName",void 0);e([o({type:Boolean}),t("design:type",Boolean)],a.prototype,"disabled",void 0);e([o({type:Boolean}),t("design:type",Boolean)],a.prototype,"required",void 0);e([o({type:Boolean}),t("design:type",Boolean)],a.prototype,"hidden",void 0);e([o({type:Boolean}),t("design:type",Boolean)],a.prototype,"readonly",void 0);e([o({type:String}),t("design:type",String)],a.prototype,"value",void 0);e([o({type:String}),t("design:type",String)],a.prototype,"placeholder",void 0);a=e([l("h-textarea-control"),t("design:paramtypes",[])],a);requestAnimationFrame(()=>{});globalThis.__phoenix_wc__=[r,a];
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.