Update frontend to ef0bfb23 (#2598)

This commit is contained in:
Joakim Sørensen 2021-02-22 11:22:47 +01:00 committed by GitHub
parent 2b45c059e0
commit 7e7e3a7876
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
27 changed files with 19 additions and 19 deletions

@ -1 +1 @@
Subproject commit 2d3cf7d84dc846a47d681588792eed4b80b29797
Subproject commit ef0bfb237a08fdd6c85204d5cf6c0c7e2ad9a020

View File

@ -1,9 +1,9 @@
try {
new Function("import('/api/hassio/app/frontend_latest/entrypoint.852b1a31.js')")();
new Function("import('/api/hassio/app/frontend_latest/entrypoint.d505d83a.js')")();
} catch (err) {
var el = document.createElement('script');
el.src = '/api/hassio/app/frontend_es5/entrypoint.7526ecbb.js';
el.src = '/api/hassio/app/frontend_es5/entrypoint.6ce56a3d.js';
document.body.appendChild(el);
}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"version":3,"file":"chunk.4c6cc0df3826f46a28c4.js","sources":["webpack://home-assistant-frontend/chunk.4c6cc0df3826f46a28c4.js"],"mappings":"AAAA","sourceRoot":""}

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
{"version":3,"file":"chunk.ca8af569f5af755b6c71.js","sources":["webpack://home-assistant-frontend/chunk.ca8af569f5af755b6c71.js"],"mappings":"AAAA","sourceRoot":""}

View File

@ -0,0 +1 @@
{"version":3,"file":"entrypoint.6ce56a3d.js","sources":["webpack://home-assistant-frontend/entrypoint.6ce56a3d.js"],"mappings":";AAAA","sourceRoot":""}

View File

@ -1 +0,0 @@
{"version":3,"file":"entrypoint.7526ecbb.js","sources":["webpack://home-assistant-frontend/entrypoint.7526ecbb.js"],"mappings":";AAAA","sourceRoot":""}

View File

@ -1,3 +1,3 @@
{
"entrypoint.js": "/api/hassio/app/frontend_es5/entrypoint.7526ecbb.js"
"entrypoint.js": "/api/hassio/app/frontend_es5/entrypoint.6ce56a3d.js"
}

View File

@ -13,7 +13,7 @@
.narrow=${this.narrow}
>
${e}
</hass-subpage>`}},{kind:"method",key:"updated",value:function(e){if(k(w(r.prototype),"updated",this).call(this,e),!e.has("route"))return;const t=this.route.path.substr(1),i=e.get("route"),n=i?i.path.substr(1):void 0;t&&t!==n&&this._fetchData(t)}},{kind:"method",key:"_fetchData",value:async function(e){const t=d(this.hass);let r,i;try{r=await(0,a.AD)(this.hass,e)}catch(e){return await(0,p.Ys)(this,{text:"Unable to fetch add-on info to start Ingress",title:"Supervisor"}),void history.back()}if(!r.ingress_url)return await(0,p.Ys)(this,{text:"Add-on does not support Ingress",title:r.name}),void history.back();if("started"!==r.state)return await(0,p.Ys)(this,{text:"Add-on is not running. Please start it first",title:r.name}),void(0,s.c)(this,`/hassio/addon/${r.slug}/info`,!0);try{i=await t}catch(e){return await(0,p.Ys)(this,{text:"Unable to create an Ingress session",title:r.name}),void history.back()}this._sessionKeepAlive&&clearInterval(this._sessionKeepAlive),this._sessionKeepAlive=window.setInterval((async()=>{try{await(async(e,t)=>{(0,l.I)(e.config.version,2021,2,4)&&await e.callWS({type:"supervisor/api",endpoint:"/ingress/validate_session",method:"post",data:t}),await e.callApi("POST","hassio/ingress/validate_session",{session:t})})(this.hass,i)}catch(e){i=await d(this.hass)}}),6e4),this._addon=r}},{kind:"method",key:"_toggleMenu",value:function(){(0,o.B)(this,"hass-toggle-menu")}},{kind:"get",static:!0,key:"styles",value:function(){return n.iv`
</hass-subpage>`}},{kind:"method",key:"updated",value:function(e){if(k(w(r.prototype),"updated",this).call(this,e),!e.has("route"))return;const t=this.route.path.substr(1),i=e.get("route"),n=i?i.path.substr(1):void 0;t&&t!==n&&this._fetchData(t)}},{kind:"method",key:"_fetchData",value:async function(e){const t=d(this.hass);let r,i;try{r=await(0,a.AD)(this.hass,e)}catch(e){return await(0,p.Ys)(this,{text:"Unable to fetch add-on info to start Ingress",title:"Supervisor"}),void history.back()}if(!r.ingress_url)return await(0,p.Ys)(this,{text:"Add-on does not support Ingress",title:r.name}),void history.back();if("started"!==r.state)return await(0,p.Ys)(this,{text:"Add-on is not running. Please start it first",title:r.name}),void(0,s.c)(this,`/hassio/addon/${r.slug}/info`,!0);try{i=await t}catch(e){return await(0,p.Ys)(this,{text:"Unable to create an Ingress session",title:r.name}),void history.back()}this._sessionKeepAlive&&clearInterval(this._sessionKeepAlive),this._sessionKeepAlive=window.setInterval((async()=>{try{await(async(e,t)=>{(0,l.I)(e.config.version,2021,2,4)?await e.callWS({type:"supervisor/api",endpoint:"/ingress/validate_session",method:"post",data:{session:t}}):await e.callApi("POST","hassio/ingress/validate_session",{session:t})})(this.hass,i)}catch(e){i=await d(this.hass)}}),6e4),this._addon=r}},{kind:"method",key:"_toggleMenu",value:function(){(0,o.B)(this,"hass-toggle-menu")}},{kind:"get",static:!0,key:"styles",value:function(){return n.iv`
iframe {
display: block;
width: 100%;
@ -56,4 +56,4 @@
--app-header-border-bottom: 1px solid var(--divider-color);
}
`}}]}}),n.oi)}}]);
//# sourceMappingURL=chunk.c7a82086c5d680500dd2.js.map
//# sourceMappingURL=chunk.6e0a3a3512c31d7ceb70.js.map

View File

@ -0,0 +1 @@
{"version":3,"file":"chunk.6e0a3a3512c31d7ceb70.js","sources":["webpack://home-assistant-frontend/chunk.6e0a3a3512c31d7ceb70.js"],"mappings":"AAAA;;AAwMA;AACA;;AAEA;;AAEA;;AAEA;AAjBA;AACA;AACA;;AAEA;AAeA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyIA","sourceRoot":""}

View File

@ -1 +0,0 @@
{"version":3,"file":"chunk.c7a82086c5d680500dd2.js","sources":["webpack://home-assistant-frontend/chunk.c7a82086c5d680500dd2.js"],"mappings":"AAAA;;AAqMA;AACA;;AAEA;;AAEA;;AAEA;AAjBA;AACA;AACA;;AAEA;AAeA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyIA","sourceRoot":""}

View File

@ -1,3 +1,3 @@
{
"entrypoint.js": "/api/hassio/app/frontend_latest/entrypoint.852b1a31.js"
"entrypoint.js": "/api/hassio/app/frontend_latest/entrypoint.d505d83a.js"
}