"use strict";(self.webpackChunkhacs_frontend=self.webpackChunkhacs_frontend||[]).push([[9719],{39719:function(e,a,t){t.r(a),t.d(a,{HaFormExpendable:function(){return f}});var i,n,o,d,r=t(64599),s=t(35806),c=t(71008),h=t(62193),l=t(2816),u=t(27927),p=(t(81027),t(39790),t(7760),t(66360)),v=t(29818),f=(t(88606),(0,u.A)([(0,v.EM)("ha-form-expandable")],(function(e,a){var t=function(a){function t(){var a;(0,c.A)(this,t);for(var i=arguments.length,n=new Array(i),o=0;o<i;o++)n[o]=arguments[o];return a=(0,h.A)(this,t,[].concat(n)),e(a),a}return(0,l.A)(t,a),(0,s.A)(t)}(a);return{F:t,d:[{kind:"field",decorators:[(0,v.MZ)({attribute:!1})],key:"hass",value:void 0},{kind:"field",decorators:[(0,v.MZ)({attribute:!1})],key:"data",value:void 0},{kind:"field",decorators:[(0,v.MZ)({attribute:!1})],key:"schema",value:void 0},{kind:"field",decorators:[(0,v.MZ)({type:Boolean})],key:"disabled",value:function(){return!1}},{kind:"field",decorators:[(0,v.MZ)({attribute:!1})],key:"computeLabel",value:void 0},{kind:"field",decorators:[(0,v.MZ)({attribute:!1})],key:"computeHelper",value:void 0},{kind:"method",key:"render",value:function(){var e,a;return(0,p.qy)(i||(i=(0,r.A)([' <ha-expansion-panel outlined .expanded="','"> <div slot="header" role="heading" aria-level="','"> '," ",' </div> <div class="content"> <ha-form .hass="','" .data="','" .schema="','" .disabled="','" .computeLabel="','" .computeHelper="','"></ha-form> </div> </ha-expansion-panel> '])),Boolean(this.schema.expanded),null!==(e=null===(a=this.schema.headingLevel)||void 0===a?void 0:a.toString())&&void 0!==e?e:"3",this.schema.icon?(0,p.qy)(n||(n=(0,r.A)([' <ha-icon .icon="','"></ha-icon> '])),this.schema.icon):this.schema.iconPath?(0,p.qy)(o||(o=(0,r.A)([' <ha-svg-icon .path="','"></ha-svg-icon> '])),this.schema.iconPath):p.s6,this.schema.title,this.hass,this.data,this.schema.schema,this.disabled,this.computeLabel,this.computeHelper)}},{kind:"get",static:!0,key:"styles",value:function(){return(0,p.AH)(d||(d=(0,r.A)([":host{display:flex!important;flex-direction:column}:host ha-form{display:block}.content{padding:12px}ha-expansion-panel{display:block;--expansion-panel-content-padding:0;border-radius:6px;--ha-card-border-radius:6px}ha-icon,ha-svg-icon{color:var(--secondary-text-color)}"])))}}]}}),p.WF))}}]);
//# sourceMappingURL=9719.-U4ApLRy-ic.js.map