"use strict";(self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([[2670],{92670:function(e,a,i){i.r(a),i.d(a,{HaFormExpendable:function(){return f}});var t,n,o,d,s=i(88962),r=i(33368),c=i(71650),l=i(82390),h=i(69205),u=i(70906),p=i(91808),v=i(68144),m=i(79932),f=(i(68331),(0,p.Z)([(0,m.Mo)("ha-form-expandable")],(function(e,a){var i=function(a){(0,h.Z)(t,a);var i=(0,u.Z)(t);function t(){var a;(0,c.Z)(this,t);for(var n=arguments.length,o=new Array(n),d=0;d<n;d++)o[d]=arguments[d];return a=i.call.apply(i,[this].concat(o)),e((0,l.Z)(a)),a}return(0,r.Z)(t)}(a);return{F:i,d:[{kind:"field",decorators:[(0,m.Cb)({attribute:!1})],key:"hass",value:void 0},{kind:"field",decorators:[(0,m.Cb)({attribute:!1})],key:"data",value:void 0},{kind:"field",decorators:[(0,m.Cb)({attribute:!1})],key:"schema",value:void 0},{kind:"field",decorators:[(0,m.Cb)({type:Boolean})],key:"disabled",value:function(){return!1}},{kind:"field",decorators:[(0,m.Cb)()],key:"computeLabel",value:void 0},{kind:"field",decorators:[(0,m.Cb)()],key:"computeHelper",value:void 0},{kind:"method",key:"render",value:function(){var e,a;return(0,v.dy)(t||(t=(0,s.Z)([' <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,v.dy)(n||(n=(0,s.Z)([' <ha-icon .icon="','"></ha-icon> '])),this.schema.icon):this.schema.iconPath?(0,v.dy)(o||(o=(0,s.Z)([' <ha-svg-icon .path="','"></ha-svg-icon> '])),this.schema.iconPath):v.Ld,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,v.iv)(d||(d=(0,s.Z)([":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)}"])))}}]}}),v.oi))}}]);
//# sourceMappingURL=2670-0bxEqtyoMaw.js.map