189 files

This commit is contained in:
Home Assistant Version Control committed 2026-09-08 18:05:32 +00:00
1 parent 79fefc0a7c
commit 303886f212
189 files changed
+21402 -3514

No files matched your search

@@ -0,0 +1,2 @@
/*! maintenance_supporter frontend 2.80.0 */
import{b as a}from"/maintenance_supporter_panelfiles/panel-chunks/chunk-O5PSKBSH.js";async function l(t,e,n=300){return(await t.connection.sendMessagePromise({type:"auth/sign_path",path:e,expires:n})).path}async function r(t,e,n=300){return l(t,`/api/maintenance_supporter/document/${e}`,n)}async function m(t,e,n=""){let o=window.open("about:blank","_blank");try{let s=await r(t,e);o&&(o.location.href=new URL(s+n,window.location.origin).href)}catch(s){throw o&&o.close(),s}}async function u(t,e,n){a(await r(t,e,30),n)}function g(t){let e=URL.createObjectURL(new Blob([t],{type:"text/html"}));window.open(e,"_blank"),setTimeout(()=>URL.revokeObjectURL(e),6e4)}var i={features:{adaptive:!1,predictions:!1,seasonal:!1,environmental:!1,budget:!1,groups:!1,checklists:!1,schedule_time:!1,completion_actions:!1},defaultWarningDays:7,rowActionStyle:"buttons_compact"};function c(){let t=window;return t.__msSettingsCache??={promise:null}}function d(t){let e=c();if(e.promise)return e.promise;let n=t.connection.sendMessagePromise({type:"maintenance_supporter/settings"}).then(o=>({features:o.features??i.features,defaultWarningDays:o.general?.default_warning_days??7,rowActionStyle:o.general?.row_action_style??i.rowActionStyle})).catch(()=>(e.promise===n&&(e.promise=null),i));return e.promise=n,n}function h(){c().promise=null}export{l as a,r as b,m as c,u as d,g as e,d as f,h as g};