Skip to content

Commit

Permalink
add ll-custom action build
Browse files Browse the repository at this point in the history
  • Loading branch information
iantrich committed Feb 12, 2021
1 parent 438f8e6 commit 9ca4909
Show file tree
Hide file tree
Showing 89 changed files with 332 additions and 311 deletions.
2 changes: 1 addition & 1 deletion dist/fire-event.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export interface HASSDomEvent<T> extends Event {
* `node` on which to fire the event (HTMLElement, defaults to `this`).
* @return {Event} The new event that was fired.
*/
export declare const fireEvent: <HassEvent extends "undefined" | "haptic" | "value-changed" | "config-changed" | "hass-more-info" | "ll-rebuild" | "location-changed" | "show-dialog" | "action">(node: HTMLElement | Window, type: HassEvent, detail?: HASSDomEvents[HassEvent], options?: {
export declare const fireEvent: <HassEvent extends "undefined" | "haptic" | "value-changed" | "config-changed" | "hass-more-info" | "ll-rebuild" | "ll-custom" | "location-changed" | "show-dialog" | "action">(node: HTMLElement | Window, type: HassEvent, detail?: HASSDomEvents[HassEvent], options?: {
bubbles?: boolean;
cancelable?: boolean;
composed?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.m.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.m.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.umd.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.umd.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ declare global {
entityId: string | null;
};
"ll-rebuild": {};
"ll-custom": {};
"location-changed": {
replace: boolean;
};
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/js/search.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/interfaces/_fire_event_.hassdomevent.html
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ <h3>detail</h3>
<div class="tsd-signature tsd-kind-icon">detail<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">T</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/ad87b33/src/fire-event.ts#L39">src/fire-event.ts:39</a></li>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/438f8e6/src/fire-event.ts#L39">src/fire-event.ts:39</a></li>
</ul>
</aside>
</section>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h3>haptic</h3>
<div class="tsd-signature tsd-kind-icon">haptic<span class="tsd-signature-symbol">:</span> <a href="_fire_event_.hassdomevent.html" class="tsd-signature-type">HASSDomEvent</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules/_haptic_.html#haptictype" class="tsd-signature-type">HapticType</a><span class="tsd-signature-symbol">&gt;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/ad87b33/src/haptic.ts#L27">src/haptic.ts:27</a></li>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/438f8e6/src/haptic.ts#L27">src/haptic.ts:27</a></li>
</ul>
</aside>
</section>
Expand Down
2 changes: 1 addition & 1 deletion docs/interfaces/_haptic_.__global.hassdomevents.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h3>haptic</h3>
<div class="tsd-signature tsd-kind-icon">haptic<span class="tsd-signature-symbol">:</span> <a href="../modules/_haptic_.html#haptictype" class="tsd-signature-type">HapticType</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/ad87b33/src/haptic.ts#L23">src/haptic.ts:23</a></li>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/438f8e6/src/haptic.ts#L23">src/haptic.ts:23</a></li>
</ul>
</aside>
</section>
Expand Down
2 changes: 1 addition & 1 deletion docs/interfaces/_navigate_.__global.hassdomevents.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h3>location-<wbr>changed</h3>
<div class="tsd-signature tsd-kind-icon">location-<wbr>changed<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>replace<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> }</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/ad87b33/src/navigate.ts#L6">src/navigate.ts:6</a></li>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/438f8e6/src/navigate.ts#L6">src/navigate.ts:6</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
Expand Down
6 changes: 3 additions & 3 deletions docs/interfaces/_translations_localize_.formatstype.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ <h3>date</h3>
<div class="tsd-signature tsd-kind-icon">date<span class="tsd-signature-symbol">:</span> <a href="_translations_localize_.formattype.html" class="tsd-signature-type">FormatType</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/ad87b33/src/translations/localize.ts#L11">src/translations/localize.ts:11</a></li>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/438f8e6/src/translations/localize.ts#L11">src/translations/localize.ts:11</a></li>
</ul>
</aside>
</section>
Expand All @@ -110,7 +110,7 @@ <h3>number</h3>
<div class="tsd-signature tsd-kind-icon">number<span class="tsd-signature-symbol">:</span> <a href="_translations_localize_.formattype.html" class="tsd-signature-type">FormatType</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/ad87b33/src/translations/localize.ts#L10">src/translations/localize.ts:10</a></li>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/438f8e6/src/translations/localize.ts#L10">src/translations/localize.ts:10</a></li>
</ul>
</aside>
</section>
Expand All @@ -120,7 +120,7 @@ <h3>time</h3>
<div class="tsd-signature tsd-kind-icon">time<span class="tsd-signature-symbol">:</span> <a href="_translations_localize_.formattype.html" class="tsd-signature-type">FormatType</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/ad87b33/src/translations/localize.ts#L12">src/translations/localize.ts:12</a></li>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/438f8e6/src/translations/localize.ts#L12">src/translations/localize.ts:12</a></li>
</ul>
</aside>
</section>
Expand Down
35 changes: 27 additions & 8 deletions docs/interfaces/_types_.__global.hassdomevents.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ <h3>Properties</h3>
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="_types_.__global.hassdomevents.html#action" class="tsd-kind-icon">action</a></li>
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="_types_.__global.hassdomevents.html#config_changed" class="tsd-kind-icon">config-<wbr>changed</a></li>
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="_types_.__global.hassdomevents.html#hass_more_info" class="tsd-kind-icon">hass-<wbr>more-<wbr>info</a></li>
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="_types_.__global.hassdomevents.html#ll_custom" class="tsd-kind-icon">ll-<wbr>custom</a></li>
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="_types_.__global.hassdomevents.html#ll_rebuild" class="tsd-kind-icon">ll-<wbr>rebuild</a></li>
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="_types_.__global.hassdomevents.html#location_changed" class="tsd-kind-icon">location-<wbr>changed</a></li>
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="_types_.__global.hassdomevents.html#show_dialog" class="tsd-kind-icon">show-<wbr>dialog</a></li>
Expand All @@ -108,7 +109,7 @@ <h3>action</h3>
<div class="tsd-signature tsd-kind-icon">action<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>action<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> }</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/ad87b33/src/types.ts#L123">src/types.ts:123</a></li>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/438f8e6/src/types.ts#L124">src/types.ts:124</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
Expand All @@ -126,7 +127,7 @@ <h3>config-<wbr>changed</h3>
<div class="tsd-signature tsd-kind-icon">config-<wbr>changed<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>config<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> }</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/ad87b33/src/types.ts#L111">src/types.ts:111</a></li>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/438f8e6/src/types.ts#L111">src/types.ts:111</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
Expand All @@ -144,7 +145,7 @@ <h3>hass-<wbr>more-<wbr>info</h3>
<div class="tsd-signature tsd-kind-icon">hass-<wbr>more-<wbr>info<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>entityId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> }</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/ad87b33/src/types.ts#L114">src/types.ts:114</a></li>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/438f8e6/src/types.ts#L114">src/types.ts:114</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
Expand All @@ -156,13 +157,28 @@ <h5>entity<wbr>Id<span class="tsd-signature-symbol">: </span><span class="tsd-si
</ul>
</div>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
<a name="ll_custom" class="tsd-anchor"></a>
<h3>ll-<wbr>custom</h3>
<div class="tsd-signature tsd-kind-icon">ll-<wbr>custom<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{}</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/438f8e6/src/types.ts#L118">src/types.ts:118</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
<h4>Type declaration</h4>
<ul class="tsd-parameters">
</ul>
</div>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
<a name="ll_rebuild" class="tsd-anchor"></a>
<h3>ll-<wbr>rebuild</h3>
<div class="tsd-signature tsd-kind-icon">ll-<wbr>rebuild<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{}</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/ad87b33/src/types.ts#L117">src/types.ts:117</a></li>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/438f8e6/src/types.ts#L117">src/types.ts:117</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
Expand All @@ -177,7 +193,7 @@ <h3>location-<wbr>changed</h3>
<div class="tsd-signature tsd-kind-icon">location-<wbr>changed<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>replace<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> }</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/ad87b33/src/types.ts#L118">src/types.ts:118</a></li>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/438f8e6/src/types.ts#L119">src/types.ts:119</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
Expand All @@ -195,7 +211,7 @@ <h3>show-<wbr>dialog</h3>
<div class="tsd-signature tsd-kind-icon">show-<wbr>dialog<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{}</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/ad87b33/src/types.ts#L121">src/types.ts:121</a></li>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/438f8e6/src/types.ts#L122">src/types.ts:122</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
Expand All @@ -210,7 +226,7 @@ <h3>undefined</h3>
<div class="tsd-signature tsd-kind-icon">undefined<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/ad87b33/src/types.ts#L122">src/types.ts:122</a></li>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/438f8e6/src/types.ts#L123">src/types.ts:123</a></li>
</ul>
</aside>
</section>
Expand All @@ -220,7 +236,7 @@ <h3>value-<wbr>changed</h3>
<div class="tsd-signature tsd-kind-icon">value-<wbr>changed<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol"> }</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/ad87b33/src/types.ts#L108">src/types.ts:108</a></li>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/438f8e6/src/types.ts#L108">src/types.ts:108</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
Expand Down Expand Up @@ -266,6 +282,9 @@ <h5>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-
<li class=" tsd-kind-property tsd-parent-kind-interface">
<a href="_types_.__global.hassdomevents.html#hass_more_info" class="tsd-kind-icon">hass-<wbr>more-<wbr>info</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-interface">
<a href="_types_.__global.hassdomevents.html#ll_custom" class="tsd-kind-icon">ll-<wbr>custom</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-interface">
<a href="_types_.__global.hassdomevents.html#ll_rebuild" class="tsd-kind-icon">ll-<wbr>rebuild</a>
</li>
Expand Down
2 changes: 1 addition & 1 deletion docs/interfaces/_types_.actionhandlerdetail.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ <h3>action</h3>
<div class="tsd-signature tsd-kind-icon">action<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/ad87b33/src/types.ts#L288">src/types.ts:288</a></li>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/438f8e6/src/types.ts#L289">src/types.ts:289</a></li>
</ul>
</aside>
</section>
Expand Down
4 changes: 2 additions & 2 deletions docs/interfaces/_types_.actionhandleroptions.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> has<wbr>Double<wbr>Cl
<div class="tsd-signature tsd-kind-icon">has<wbr>Double<wbr>Click<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/ad87b33/src/types.ts#L295">src/types.ts:295</a></li>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/438f8e6/src/types.ts#L296">src/types.ts:296</a></li>
</ul>
</aside>
</section>
Expand All @@ -109,7 +109,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> has<wbr>Hold</h3>
<div class="tsd-signature tsd-kind-icon">has<wbr>Hold<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/ad87b33/src/types.ts#L294">src/types.ts:294</a></li>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/438f8e6/src/types.ts#L295">src/types.ts:295</a></li>
</ul>
</aside>
</section>
Expand Down
2 changes: 1 addition & 1 deletion docs/interfaces/_types_.baseactionconfig.html
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> confirmation</h3>
<div class="tsd-signature tsd-kind-icon">confirmation<span class="tsd-signature-symbol">:</span> <a href="_types_.confirmationrestrictionconfig.html" class="tsd-signature-type">ConfirmationRestrictionConfig</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/ad87b33/src/types.ts#L69">src/types.ts:69</a></li>
<li>Defined in <a href="https://github.com/custom-cards/custom-card-helpers/blob/438f8e6/src/types.ts#L69">src/types.ts:69</a></li>
</ul>
</aside>
</section>
Expand Down
Loading

0 comments on commit 9ca4909

Please sign in to comment.