-
-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b6a9c76
commit 9f946dd
Showing
199 changed files
with
4,719 additions
and
4,360 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import{a as t,r as i,n as a}from"./main-a0d7432d.js";import{L as n,s}from"./c.936d9772.js";let r=t([a("ha-list-item")],(function(t,a){return{F:class extends a{constructor(...i){super(...i),t(this)}},d:[{kind:"get",static:!0,key:"styles",value:function(){return[s,i` | ||
:host { | ||
padding-left: var(--mdc-list-side-padding, 20px); | ||
padding-right: var(--mdc-list-side-padding, 20px); | ||
} | ||
:host([graphic="avatar"]:not([twoLine])), | ||
:host([graphic="icon"]:not([twoLine])) { | ||
height: 48px; | ||
} | ||
span.material-icons:first-of-type { | ||
margin-inline-start: 0px !important; | ||
margin-inline-end: var( | ||
--mdc-list-item-graphic-margin, | ||
16px | ||
) !important; | ||
direction: var(--direction); | ||
} | ||
span.material-icons:last-of-type { | ||
margin-inline-start: auto !important; | ||
margin-inline-end: 0px !important; | ||
direction: var(--direction); | ||
} | ||
`]}}]}}),n);const e=t=>`https://brands.home-assistant.io/${t.useFallback?"_/":""}${t.domain}/${t.darkOptimized?"dark_":""}${t.type}.png`,o=t=>t.split("/")[4],d=t=>t.startsWith("https://brands.home-assistant.io/");export{r as H,e as b,o as e,d as i}; |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import{a as e,h as i,e as t,$ as r,d as o,r as d,n as c}from"./main-a0d7432d.js";import"./c.c176780d.js";e([c("hacs-filter")],(function(e,i){return{F:class extends i{constructor(...i){super(...i),e(this)}},d:[{kind:"field",decorators:[t({attribute:!1})],key:"filters",value:void 0},{kind:"field",decorators:[t({attribute:!1})],key:"hacs",value:void 0},{kind:"method",key:"render",value:function(){var e;return r` | ||
<div class="filter"> | ||
${null===(e=this.filters)||void 0===e?void 0:e.map((e=>r` | ||
<ha-formfield | ||
class="checkbox" | ||
.label=${this.hacs.localize(`common.${e.id}`)||e.value} | ||
> | ||
<ha-checkbox | ||
.checked=${e.checked||!1} | ||
.id=${e.id} | ||
@click=${this._filterClick} | ||
> | ||
</ha-checkbox> | ||
</ha-formfield> | ||
`))} | ||
</div> | ||
`}},{kind:"method",key:"_filterClick",value:function(e){const i=e.currentTarget;this.dispatchEvent(new CustomEvent("filter-change",{detail:{id:i.id},bubbles:!0,composed:!0}))}},{kind:"get",static:!0,key:"styles",value:function(){return[o,d` | ||
.filter { | ||
display: flex; | ||
border-bottom: 1px solid var(--divider-color); | ||
align-items: center; | ||
font-size: 16px; | ||
height: 32px; | ||
line-height: 4px; | ||
background-color: var(--sidebar-background-color); | ||
padding: 0 16px; | ||
box-sizing: border-box; | ||
} | ||
.checkbox:not(:first-child) { | ||
margin-left: 20px; | ||
} | ||
`]}}]}}),i); |
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.