Skip to content
Snippets Groups Projects
Commit b0bf775d authored by Paulus Schoutsen's avatar Paulus Schoutsen
Browse files

Compile new version frontend

parent e43eee2e
No related branches found
No related tags found
No related merge requests found
""" DO NOT MODIFY. Auto-generated by build_frontend script """
VERSION = "b06d3667e9e461173029ded9c0c9b815"
VERSION = "1e004712440afc642a44ad927559587e"
......@@ -17,7 +17,7 @@ b.events&&Object.keys(a).length>0&&console.log("[%s] addHostListeners:",this.loc
.divider-color { border-color: #B6B6B6; }
 
/* extra */
.accent-text-colo { color: #FF9800; }
.accent-text-color { color: #FF9800; }
 
body {
color: #212121;
......@@ -213,7 +213,7 @@ return pickBy("isBefore",args)};moment.max=function(){var args=[].slice.call(arg
{{ time }}
</template><script>(function(){var timeFormatOptions={hour:"numeric",minute:"2-digit"};Polymer("display-time",{time:"",dateObjChanged:function(oldVal,newVal){if(!newVal){this.time=""}this.time=newVal.toLocaleTimeString([],timeFormatOptions)}})})();</script></polymer-element><polymer-element name="logbook-entry" attributes="entryObj" assetpath="polymer/components/"><template><core-style ref="ha-main"></core-style><style>.logbook-entry{line-height:2em}.time{width:55px;font-size:.8em}.icon{margin:0 8px 0 16px}.name{text-transform:capitalize}</style><div horizontal="" layout="" class="logbook-entry"><display-time dateobj="{{entryObj.when}}" class="time secondary-text-color"></display-time><domain-icon domain="{{entryObj.domain}}" class="icon primary-text-color"></domain-icon><div class="message primary-text-color" flex=""><template if="{{!entryObj.entityId}}"><span class="name">{{entryObj.name}}</span></template><template if="{{entryObj.entityId}}"><a href="polymer/components/#" on-click="{{entityClicked}}" class="name">{{entryObj.name}}</a></template>
{{entryObj.message}}
</div></div></template><script>(function(){var uiActions=window.hass.uiActions;Polymer("logbook-entry",{entityClicked:function(){uiActions.showMoreInfoDialog(this.entryObj.entityId)}})})();</script></polymer-element><polymer-element name="ha-logbook" attributes="entries" assetpath="polymer/components/"><template><style></style><div class="logbook"><template repeat="{{entries as entry}}"><logbook-entry entryobj="{{entry}}"></logbook-entry></template></div></template><script>Polymer("ha-logbook");</script></polymer-element><polymer-element name="partial-logbook" attributes="narrow togglePanel" assetpath="polymer/layouts/"><template><style>.content{background-color:#fff;padding:8px}</style><partial-base narrow="{{narrow}}" togglepanel="{{togglePanel}}"><span header-title="">Logbook</span><span header-buttons=""><paper-icon-button icon="refresh" on-click="{{handleRefreshClick}}"></paper-icon-button></span><div flex="" class="{{ {content: true, narrow: narrow, wide: !narrow} | tokenList }}"><ha-logbook entries="{{entries}}"></ha-logbook></div></partial-base></template><script>var storeListenerMixIn=window.hass.storeListenerMixIn;var logbookActions=window.hass.logbookActions;Polymer(Polymer.mixin({entries:null,attached:function(){this.listenToStores(true)},detached:function(){this.stopListeningToStores()},logbookStoreChanged:function(logbookStore){if(logbookStore.isStale()){logbookActions.fetch()}this.entries=logbookStore.all.toArray()},handleRefreshClick:function(){logbookActions.fetch()}},storeListenerMixIn));</script></polymer-element><polymer-element name="paper-input" assetpath="polymer/bower_components/paper-input/"><template><style>:host{display:inline-block}</style><paper-input-decorator id="decorator" label="{{label}}" floatinglabel="{{floatingLabel}}" value="{{value}}" disabled?="{{disabled}}"><input is="core-input" id="input" value="{{value}}" committedvalue="{{committedValue}}" on-change="{{changeAction}}" disabled?="{{disabled}}"></paper-input-decorator></template><script>Polymer("paper-input",{publish:{label:"",floatingLabel:false,disabled:{value:false,reflect:true},value:"",committedValue:""},focus:function(){this.$.input.focus()},valueChanged:function(){this.$.decorator.updateLabelVisibility(this.value)},changeAction:function(e){this.fire("change",null,this)}});</script></polymer-element><polymer-element name="paper-autogrow-textarea" on-input="{{inputAction}}" assetpath="polymer/bower_components/paper-input/"><template><style>:host{display:inline-block;position:relative;width:400px}.mirror-text{visibility:hidden;word-wrap:break-word}::content textarea{padding:0;margin:0;border:none;outline:0;resize:none;width:100%;height:100%}::content textarea:invalid{box-shadow:none}</style><div id="mirror" class="mirror-text" aria-hidden="true">&nbsp;</div><div class="textarea-container" fit=""><content></content></div></template><script>Polymer("paper-autogrow-textarea",{publish:{target:null,rows:1,maxRows:0},tokens:null,observe:{rows:"updateCached",maxRows:"updateCached"},constrain:function(tokens){var _tokens;tokens=tokens||[""];if(this.maxRows>0&&tokens.length>this.maxRows){_tokens=tokens.slice(0,this.maxRows)}else{_tokens=tokens.slice(0)}while(this.rows>0&&_tokens.length<this.rows){_tokens.push("")}return _tokens.join("<br>")+"&nbsp;"},valueForMirror:function(input){this.tokens=input&&input.value?input.value.replace(/&/gm,"&amp;").replace(/"/gm,"&quot;").replace(/'/gm,"&#39;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").split("\n"):[""];return this.constrain(this.tokens)},update:function(input){this.$.mirror.innerHTML=this.valueForMirror(input)},updateCached:function(){this.$.mirror.innerHTML=this.constrain(this.tokens)},inputAction:function(e){this.update(e.target)}});</script></polymer-element><polymer-element name="events-list" attributes="cbEventClicked" assetpath="polymer/components/"><template><style>:host{display:block}.eventContainer{font-size:1rem}</style><template if="{{cbEventClicked}}"><style>a{text-decoration:underline;cursor:pointer}</style></template><div><template repeat="{{event in events}}"><div class="eventContainer"><a on-click="{{handleClick}}">{{event.event}}</a>
</div></div></template><script>(function(){var uiActions=window.hass.uiActions;Polymer("logbook-entry",{entityClicked:function(ev){ev.preventDefault();uiActions.showMoreInfoDialog(this.entryObj.entityId)}})})();</script></polymer-element><polymer-element name="ha-logbook" attributes="entries" assetpath="polymer/components/"><template><style></style><div class="logbook"><template repeat="{{entries as entry}}"><logbook-entry entryobj="{{entry}}"></logbook-entry></template></div></template><script>Polymer("ha-logbook");</script></polymer-element><polymer-element name="partial-logbook" attributes="narrow togglePanel" assetpath="polymer/layouts/"><template><style>.content{background-color:#fff;padding:8px}</style><partial-base narrow="{{narrow}}" togglepanel="{{togglePanel}}"><span header-title="">Logbook</span><span header-buttons=""><paper-icon-button icon="refresh" on-click="{{handleRefreshClick}}"></paper-icon-button></span><div flex="" class="{{ {content: true, narrow: narrow, wide: !narrow} | tokenList }}"><ha-logbook entries="{{entries}}"></ha-logbook></div></partial-base></template><script>var storeListenerMixIn=window.hass.storeListenerMixIn;var logbookActions=window.hass.logbookActions;Polymer(Polymer.mixin({entries:null,attached:function(){this.listenToStores(true)},detached:function(){this.stopListeningToStores()},logbookStoreChanged:function(logbookStore){if(logbookStore.isStale()){logbookActions.fetch()}this.entries=logbookStore.all.toArray()},handleRefreshClick:function(){logbookActions.fetch()}},storeListenerMixIn));</script></polymer-element><polymer-element name="paper-input" assetpath="polymer/bower_components/paper-input/"><template><style>:host{display:inline-block}</style><paper-input-decorator id="decorator" label="{{label}}" floatinglabel="{{floatingLabel}}" value="{{value}}" disabled?="{{disabled}}"><input is="core-input" id="input" value="{{value}}" committedvalue="{{committedValue}}" on-change="{{changeAction}}" disabled?="{{disabled}}"></paper-input-decorator></template><script>Polymer("paper-input",{publish:{label:"",floatingLabel:false,disabled:{value:false,reflect:true},value:"",committedValue:""},focus:function(){this.$.input.focus()},valueChanged:function(){this.$.decorator.updateLabelVisibility(this.value)},changeAction:function(e){this.fire("change",null,this)}});</script></polymer-element><polymer-element name="paper-autogrow-textarea" on-input="{{inputAction}}" assetpath="polymer/bower_components/paper-input/"><template><style>:host{display:inline-block;position:relative;width:400px}.mirror-text{visibility:hidden;word-wrap:break-word}::content textarea{padding:0;margin:0;border:none;outline:0;resize:none;width:100%;height:100%}::content textarea:invalid{box-shadow:none}</style><div id="mirror" class="mirror-text" aria-hidden="true">&nbsp;</div><div class="textarea-container" fit=""><content></content></div></template><script>Polymer("paper-autogrow-textarea",{publish:{target:null,rows:1,maxRows:0},tokens:null,observe:{rows:"updateCached",maxRows:"updateCached"},constrain:function(tokens){var _tokens;tokens=tokens||[""];if(this.maxRows>0&&tokens.length>this.maxRows){_tokens=tokens.slice(0,this.maxRows)}else{_tokens=tokens.slice(0)}while(this.rows>0&&_tokens.length<this.rows){_tokens.push("")}return _tokens.join("<br>")+"&nbsp;"},valueForMirror:function(input){this.tokens=input&&input.value?input.value.replace(/&/gm,"&amp;").replace(/"/gm,"&quot;").replace(/'/gm,"&#39;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").split("\n"):[""];return this.constrain(this.tokens)},update:function(input){this.$.mirror.innerHTML=this.valueForMirror(input)},updateCached:function(){this.$.mirror.innerHTML=this.constrain(this.tokens)},inputAction:function(e){this.update(e.target)}});</script></polymer-element><polymer-element name="events-list" attributes="cbEventClicked" assetpath="polymer/components/"><template><style>:host{display:block}.eventContainer{font-size:1rem}</style><template if="{{cbEventClicked}}"><style>a{text-decoration:underline;cursor:pointer}</style></template><div><template repeat="{{event in events}}"><div class="eventContainer"><a on-click="{{handleClick}}">{{event.event}}</a>
({{event.listener_count}} listeners)
</div></template></div></template><script>var storeListenerMixIn=window.hass.storeListenerMixIn;Polymer(Polymer.mixin({cbEventClicked:null,events:[],attached:function(){this.listenToStores(true)},detached:function(){this.stopListeningToStores()},eventStoreChanged:function(eventStore){this.events=eventStore.all.toArray()},handleClick:function(ev){if(this.cbEventClicked){this.cbEventClicked(ev.path[0].innerHTML)}}},storeListenerMixIn));</script></polymer-element><polymer-element name="partial-dev-fire-event" attributes="narrow togglePanel" assetpath="polymer/layouts/"><template><style>.form{padding:24px;background-color:#fff}</style><partial-base narrow="{{narrow}}" togglepanel="{{togglePanel}}"><span header-title="">Fire Event</span><div class="form" fit=""><p>
Fire an event on the event bus.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment