EdelElements.loadBundle("yuu7gehq",["exports","./chunk-d3972c9f.js"],function(e,t){var a=window.EdelElements.h,n=function(){function e(){this.autofocus=!1}return e.prototype.handleChange=function(e){this.value=e.target.value,this.valueChange.emit(this.value)},e.prototype.hostData=function(){return{class:"input"}},e.prototype.handleBlur=function(e){this.afterEdit.emit(this.value)},e.prototype.componentDidLoad=function(){this.updateAutoFocus(),this.updateInGroupDidChange(),this.updateCss()},e.prototype.updateCss=function(){this.disabled?this.hostElement.classList.add("input--off"):this.hostElement.classList.remove("input--off")},e.prototype.updateAutoFocus=function(){this.autofocus&&this.hostElement.getElementsByTagName("textarea").item(0).focus()},e.prototype.render=function(){return a("textarea",{style:this.height?{height:this.height+"px"}:{},placeholder:this.placeholder,onInput:this.handleChange.bind(this),onBlur:this.handleBlur.bind(this),autofocus:this.autofocus},this.value)},e.prototype.updateInGroupDidChange=function(){t.applyInputgroupStyle(this.inGroup,this.hostElement)},Object.defineProperty(e,"is",{get:function(){return"edel-input-textarea"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"properties",{get:function(){return{autofocus:{type:Boolean,attr:"autofocus",watchCallbacks:["updateAutoFocus"]},disabled:{type:Boolean,attr:"disabled",watchCallbacks:["updateCss"]},height:{type:Number,attr:"height"},hostElement:{elementRef:!0},inGroup:{type:Boolean,attr:"in-group",watchCallbacks:["updateInGroupDidChange"]},placeholder:{type:String,attr:"placeholder"},value:{type:String,attr:"value",mutable:!0}}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"events",{get:function(){return[{name:"valueChange",method:"valueChange",bubbles:!0,cancelable:!0,composed:!0},{name:"afterEdit",method:"afterEdit",bubbles:!0,cancelable:!0,composed:!0}]},enumerable:!0,configurable:!0}),e}();e.EdelInputTextarea=n,Object.defineProperty(e,"__esModule",{value:!0})});