diff --git a/homeassistant/components/frontend/version.py b/homeassistant/components/frontend/version.py index 5623a8c5e7e..a9c3cd0bef2 100644 --- a/homeassistant/components/frontend/version.py +++ b/homeassistant/components/frontend/version.py @@ -1,2 +1,2 @@ """ DO NOT MODIFY. Auto-generated by build_frontend script """ -VERSION = "db1ec3e116565340804da0e590058d60" +VERSION = "9472014df7b663c70bf33bb456bd8245" diff --git a/homeassistant/components/frontend/www_static/frontend.html b/homeassistant/components/frontend/www_static/frontend.html index 9f5c3aefe40..be9c2ba1fea 100644 --- a/homeassistant/components/frontend/www_static/frontend.html +++ b/homeassistant/components/frontend/www_static/frontend.html @@ -5948,7 +5948,7 @@ function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});va function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){return t&&t.__esModule?t:{"default":t}},i=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},o=function(){function t(t,e){for(var n=0;nd}},{key:"all",get:function(){return g}}]),e}(p["default"]),w=new m;w.dispatchToken=c["default"].register(function(t){switch(t.actionType){case l["default"].ACTION_NEW_LOGBOOK:g=new a.List(t.logbookEntries.map(function(t){return v["default"].fromJSON(t)})),y=new Date,w.emitChange();break;case l["default"].ACTION_LOG_OUT:y=null,g=new a.List,w.emitChange()}}),e["default"]=w,t.exports=e["default"]},/*!************************************!*\ +function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){return t&&t.__esModule?t:{"default":t}},i=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},o=function(){function t(t,e){for(var n=0;nd}},{key:"all",get:function(){return m}}]),e}(p["default"]),b=new w;b.dispatchToken=c["default"].register(function(t){switch(t.actionType){case l["default"].ACTION_NEW_LOGBOOK:g=t.date,m=new a.List(t.logbookEntries.map(function(t){return v["default"].fromJSON(t)})),y=new Date,b.emitChange();break;case l["default"].ACTION_LOG_OUT:g=null,y=null,m=new a.List,b.emitChange()}}),e["default"]=b,t.exports=e["default"]},/*!************************************!*\ !*** ./src/stores/notification.js ***! \************************************/ function(t,e,n){"use strict";function r(){return y.size}Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{"default":t}},o=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},u=function(){function t(t,e){for(var n=0;n0)&&f["default"].dispatch({actionType:h["default"].ACTION_NEW_STATE_HISTORY,stateHistory:e.map(function(t){return t.map(_["default"].fromJSON)}),isFetchAll:t})}function i(){s["default"]("GET","history/period").then(function(t){return r(!0,t)})}function o(t){s["default"]("GET","history/period?filter_entity_id="+t).then(function(t){return r(!1,t)})}Object.defineProperty(e,"__esModule",{value:!0});var u=function(t){return t&&t.__esModule?t:{"default":t}};e.fetchAll=i,e.fetch=o;var a=n(/*! ../call_api */5),s=u(a),c=n(/*! ../app_dispatcher */1),f=u(c),l=n(/*! ../constants */2),h=u(l),p=n(/*! ../models/state */11),_=u(p)},/*!******************************!*\ @@ -6047,6 +6047,7 @@ function(t,e,n){function r(){this._events=this._events||{},this._maxListeners=th window.hass.uiConstants = { ACTION_SHOW_DIALOG_MORE_INFO: 'ACTION_SHOW_DIALOG_MORE_INFO', + ACTION_SHOW_DATE_PICKER: 'ACTION_SHOW_DATE_PICKER', STATE_FILTERS: { 'group': 'Groups', @@ -6063,6 +6064,16 @@ function(t,e,n){function r(){this._events=this._events||{},this._maxListeners=th }); }, + showDatePicker: function(dateSelectedCallback, startDate) { + startDate = startDate || null; + + dispatcher.dispatch({ + actionType: window.hass.uiConstants.ACTION_SHOW_DATE_PICKER, + dateSelectedCallback: dateSelectedCallback, + startDate: startDate, + }); + }, + validateAuth: function(authToken, rememberLogin) { authActions.validate(authToken, { useStreaming: preferenceStore.useStreaming, @@ -13730,6 +13741,351 @@ is separate from validation, and `allowed-pattern` does not affect how the input }); })(); + + + + + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + @@ -22706,6 +22768,136 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN }, }); })(); + + + + + + + + + + + + + + + + + + + @@ -22801,8 +22993,13 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN }