homebridge-config-ui-x 5.5.1-beta.6 → 5.5.1-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -0
- package/package.json +1 -1
- package/public/{chunk-BMZHPESM.js → chunk-2FNOKD4V.js} +1 -1
- package/public/{chunk-4JH5XK2D.js → chunk-2URLJNXS.js} +1 -1
- package/public/{chunk-OOJJEG6D.js → chunk-3IUIBZIG.js} +1 -1
- package/public/{chunk-KXEP6JGX.js → chunk-4QX2JFQ3.js} +1 -1
- package/public/{chunk-U2E47OVK.js → chunk-4S5TRRTM.js} +1 -1
- package/public/{chunk-3ZDJMQC6.js → chunk-56NCRSXK.js} +1 -1
- package/public/{chunk-5NFVKTQI.js → chunk-5HRGBRFW.js} +1 -1
- package/public/{chunk-5I5QW7CF.js → chunk-5P5PDPUV.js} +1 -1
- package/public/{chunk-Y4XVZIPR.js → chunk-6M46B4P2.js} +1 -1
- package/public/{chunk-H7HESTGY.js → chunk-7YH7QGSU.js} +1 -1
- package/public/{chunk-4MGJPDFK.js → chunk-BWVMSIO4.js} +1 -1
- package/public/{chunk-KVXMIGNF.js → chunk-C2BJ6TMI.js} +1 -1
- package/public/{chunk-5GNXIPF3.js → chunk-C3GIULAB.js} +1 -1
- package/public/{chunk-HZW6OLO6.js → chunk-CMOTM56W.js} +1 -1
- package/public/{chunk-626C6AFE.js → chunk-DS6QJJ67.js} +1 -1
- package/public/{chunk-MCQVDJFE.js → chunk-DZUAVWLP.js} +1 -1
- package/public/chunk-EQDMW6AW.js +1 -0
- package/public/{chunk-CM7OGNWA.js → chunk-HPWK6TSC.js} +1 -1
- package/public/{chunk-AZOCWRVX.js → chunk-HUHI7UBZ.js} +1 -1
- package/public/{chunk-3NNVAX7F.js → chunk-JFOMKOP4.js} +1 -1
- package/public/{chunk-B4LWKBMO.js → chunk-K2EZIL6H.js} +1 -1
- package/public/{chunk-RDGVBIC2.js → chunk-L5TY36XZ.js} +1 -1
- package/public/{chunk-GXAI2L6V.js → chunk-LPRP6UFT.js} +1 -1
- package/public/{chunk-S2DMWBMP.js → chunk-M5SPFGD5.js} +1 -1
- package/public/{chunk-6MXTQHAB.js → chunk-NLUWGNJN.js} +1 -1
- package/public/{chunk-45GIEMFM.js → chunk-NN57LKI4.js} +1 -1
- package/public/{chunk-UKUEF6KX.js → chunk-NS7FNJX4.js} +1 -1
- package/public/{chunk-RN5ZTPD2.js → chunk-OBKKI254.js} +1 -1
- package/public/{chunk-VHN7FVR7.js → chunk-P2O3U4B2.js} +1 -1
- package/public/{chunk-BGUNMT3F.js → chunk-PRQPJEFJ.js} +1 -1
- package/public/{chunk-J5TFFMF2.js → chunk-QKIZT7YY.js} +1 -1
- package/public/{chunk-POP5DH3E.js → chunk-QQMSIIDU.js} +1 -1
- package/public/{chunk-D5AS4A3H.js → chunk-QXFI56AN.js} +1 -1
- package/public/{chunk-SBQ4EMFF.js → chunk-QYDIL6OE.js} +1 -1
- package/public/{chunk-ZQLCL7BU.js → chunk-RM72VE72.js} +1 -1
- package/public/{chunk-O5DDNIUW.js → chunk-S4J6DBU3.js} +1 -1
- package/public/{chunk-E3JA5UW7.js → chunk-SIIVYDOU.js} +1 -1
- package/public/{chunk-GPQMRWQW.js → chunk-SJODT5UV.js} +1 -1
- package/public/{chunk-BN3WV62N.js → chunk-T5DOWV7T.js} +1 -1
- package/public/{chunk-BULS7C7Z.js → chunk-UY2KM7QI.js} +1 -1
- package/public/{chunk-EA4SW4AF.js → chunk-UYPJZGAK.js} +1 -1
- package/public/{chunk-RQNOBLCW.js → chunk-W5CPGK2R.js} +1 -1
- package/public/{chunk-LHWDEE2S.js → chunk-WAOYNYGN.js} +1 -1
- package/public/{chunk-OWKHJ24W.js → chunk-WFEKJT5W.js} +1 -1
- package/public/{chunk-3X674EZH.js → chunk-WH4DTGEJ.js} +1 -1
- package/public/{chunk-DMR3RFIX.js → chunk-WJOFCHDT.js} +1 -1
- package/public/{chunk-EXWUAVOC.js → chunk-WYUJZ326.js} +1 -1
- package/public/{chunk-ISGXNSLG.js → chunk-XJFWSI2A.js} +1 -1
- package/public/{chunk-N2CVP3XO.js → chunk-XKBUDGTP.js} +1 -1
- package/public/{chunk-3GIMICCA.js → chunk-Y4JYARXO.js} +1 -1
- package/public/{chunk-INRJ3YF3.js → chunk-Y7SL5IWD.js} +1 -1
- package/public/{chunk-OFMAYMAN.js → chunk-ZT6IXE6R.js} +1 -1
- package/public/index.html +1 -1
- package/public/{main-G5FERXIO.js → main-5MJHMVKI.js} +1 -1
- package/public/chunk-676KWVID.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as z,b,c as k}from"./chunk-MD7IQ7EC.js";import{a as u}from"./chunk-
|
|
1
|
+
import{a as z,b,c as k}from"./chunk-MD7IQ7EC.js";import{a as u}from"./chunk-BWVMSIO4.js";import{q as f}from"./chunk-M5SPFGD5.js";import{M as t,ea as p,g as n,h as c,ja as a,n as h}from"./chunk-ZHRPBG7M.js";var d=n(z(),1),l=n(b(),1),m=n(k(),1);var v=(()=>{class o{$ws=a(u);$api=a(f);io;fitAddon;webLinksAddon;resize;elementResize;dataDisposable=null;isInitializing=!1;hasUserTyped=!1;term;destroyTerminal(){this.dataDisposable&&(this.dataDisposable.dispose(),this.dataDisposable=null),this.io&&this.io.end(),this.term&&(this.term.dispose(),this.term=null),this.resize&&this.resize.complete(),this.elementResize&&this.elementResize.complete(),this.isInitializing=!1,this.hasUserTyped=!1}destroyPersistentSession(){this.destroyTerminal(),this.$api.post("/platform-tools/terminal/destroy-persistent-session",{}).subscribe({error:s=>console.error("Failed to destroy persistent session:",s)})}detachTerminal(){this.dataDisposable&&(this.dataDisposable.dispose(),this.dataDisposable=null),this.term&&this.term.dispose(),this.resize&&this.resize.complete(),this.elementResize&&this.elementResize.complete(),this.isInitializing=!1}hasActiveSession(){return this.io&&this.io.socket&&this.io.socket.connected}checkBackendPersistentSession(){return c(this,null,function*(){try{return(yield this.$api.get("/platform-tools/terminal/has-persistent-session").toPromise()).hasPersistentSession}catch(s){return console.error("Failed to check backend persistent session:",s),!1}})}hasUserTypedInSession(){return this.hasUserTyped}isTerminalReady(){return this.term&&!this.isInitializing}reconnectTerminal(s,e={},r){if(this.isInitializing)return!1;this.isInitializing=!0,this.elementResize=r,this.io&&this.io.socket&&this.io.socket.connected?(this.term=new m.Terminal(e),this.fitAddon=new d.FitAddon,this.webLinksAddon=new l.WebLinksAddon,setTimeout(()=>{this.term.loadAddon(this.fitAddon),this.term.loadAddon(this.webLinksAddon)}),this.resize=new h,this.term.open(s.nativeElement),setTimeout(()=>{this.fitAddon.activate(this.term),this.fitAddon.fit()}),this.io.socket.removeAllListeners("stdout"),this.io.socket.removeAllListeners("process-exit"),this.io.socket.on("stdout",i=>{this.term.write(i)}),this.io.socket.on("process-exit",()=>{this.startSession()}),this.dataDisposable&&this.dataDisposable.dispose(),this.dataDisposable=this.term.onData(i=>{this.hasUserTyped=!0,this.io.socket.emit("stdin",i)}),this.term.onResize(i=>{this.resize.next(i)}),this.resize.pipe(t(500)).subscribe(i=>{this.io.socket.emit("resize",i)}),this.elementResize&&this.elementResize.pipe(t(100)).subscribe({next:()=>{this.fitAddon.fit()}}),this.io.socket.emit("start-session",{cols:this.term.cols,rows:this.term.rows}),this.isInitializing=!1):this.startTerminal(s,e,r)}startTerminal(s,e={},r){return this.isInitializing?!1:(this.isInitializing=!0,this.elementResize=r,this.io=this.$ws.connectToNamespace("platform-tools/terminal"),this.term=new m.Terminal(e),setTimeout(()=>{this.term.loadAddon(this.fitAddon),this.term.loadAddon(this.webLinksAddon)}),this.fitAddon=new d.FitAddon,this.webLinksAddon=new l.WebLinksAddon,this.resize=new h,this.term.open(s.nativeElement),setTimeout(()=>{this.fitAddon.activate(this.term),this.fitAddon.fit()}),this.io.connected.pipe(t(200)).subscribe(()=>{this.startSession()}),this.io.socket.on("disconnect",()=>{this.term.write(`
|
|
2
2
|
\r
|
|
3
3
|
\rTerminal disconnected. Is the server running?
|
|
4
4
|
\r
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as H}from"./chunk-5N45B6R7.js";import{a as L,b as S}from"./chunk-IHGRCBAQ.js";import{m as T}from"./chunk-QHDPBN4J.js";import{l as B}from"./chunk-
|
|
1
|
+
import{b as H}from"./chunk-5N45B6R7.js";import{a as L,b as S}from"./chunk-IHGRCBAQ.js";import{m as T}from"./chunk-QHDPBN4J.js";import{l as B}from"./chunk-M5SPFGD5.js";import{Db as k,Ga as f,Gb as b,Ha as O,Ib as d,La as o,Ub as y,Vb as u,Wa as v,Wb as I,Xb as M,dc as w,ja as h,kb as C,lb as r,mb as l,mc as g,nc as _,oa as x,pa as P,rb as p,sb as i,tb as a,ub as m}from"./chunk-ZHRPBG7M.js";function E(t,c){if(t&1&&m(0,"i",16),t&2){let n=d();y(w("fas ",n.faIconClass," mb-3"))}}function z(t,c){if(t&1&&m(0,"h5",6),t&2){let n=d();p("innerHTML",n.subtitle,f)}}function V(t,c){if(t&1&&m(0,"p",8),t&2){let n=d();p("innerHTML",n.message2,f)}}function D(t,c){if(t&1&&m(0,"markdown",9),t&2){let n=d();p("data",n.markdownMessage2)}}function N(t,c){if(t&1){let n=k();i(0,"button",17),g(1,"translate"),b("click",function(){x(n);let e=d();return P(e.dismissModal())}),u(2),g(3,"translate"),a()}t&2&&(C("aria-label",_(1,2,"form.button_close")),o(2),M(" ",_(3,4,"form.button_close")," "))}function j(t,c){if(t&1){let n=k();i(0,"button",17),g(1,"translate"),b("click",function(){x(n);let e=d();return P(e.dismissModal())}),u(2),g(3,"translate"),a()}t&2&&(C("aria-label",_(1,2,"form.button_close")),o(2),M(" ",_(3,4,"form.button_close")," "))}function A(t,c){if(t&1&&(i(0,"a",15),u(1),m(2,"i",18),a()),t&2){let n=d();p("href",n.ctaButtonLink,O),o(),M(" ",n.ctaButtonLabel," ")}}var X=(()=>{class t{$activeModal=h(T);title;subtitle;message;message2;ctaButtonLabel;ctaButtonLink;faIconClass;markdownMessage2;dismissModal(){this.$activeModal.dismiss("Dismiss")}static \u0275fac=function(s){return new(s||t)};static \u0275cmp=v({type:t,selectors:[["ng-component"]],inputs:{title:"title",subtitle:"subtitle",message:"message",message2:"message2",ctaButtonLabel:"ctaButtonLabel",ctaButtonLink:"ctaButtonLink",faIconClass:"faIconClass",markdownMessage2:"markdownMessage2"},decls:19,vars:12,consts:[[1,"modal-content"],[1,"modal-header"],[1,"modal-title"],["type","button","data-bs-dismiss","modal",1,"btn-close",3,"click"],[1,"modal-body","text-center"],[2,"font-size","75px",3,"class"],[1,"mb-3",3,"innerHTML"],[1,"mb-0",3,"innerHTML"],[1,"mb-0","mt-3",3,"innerHTML"],[1,"plugin-md",3,"data"],[1,"modal-footer","justify-content-between"],[1,"text-start"],["type","button","data-bs-dismiss","modal",1,"btn","btn-elegant"],[1,"text-center"],[1,"text-end"],["target","_blank","rel","noopener noreferrer",1,"btn","btn-primary","text-decoration-none",3,"href"],[2,"font-size","75px"],["type","button","data-bs-dismiss","modal",1,"btn","btn-elegant",3,"click"],[1,"fas","fa-external-link-alt"]],template:function(s,e){s&1&&(i(0,"div",0)(1,"div",1)(2,"h5",2),u(3),a(),i(4,"button",3),g(5,"translate"),b("click",function(){return e.dismissModal()}),a()(),i(6,"div",4),r(7,E,1,3,"i",5),r(8,z,1,1,"h5",6),m(9,"p",7),r(10,V,1,1,"p",8),r(11,D,1,1,"markdown",9),a(),i(12,"div",10)(13,"div",11),r(14,N,4,6,"button",12),a(),i(15,"div",13),r(16,j,4,6,"button",12),a(),i(17,"div",14),r(18,A,3,2,"a",15),a()()()),s&2&&(o(3),I(e.title),o(),C("aria-label",_(5,10,"form.button_close")),o(3),l(e.faIconClass?7:-1),o(),l(e.subtitle?8:-1),o(),p("innerHTML",e.message,f),o(),l(e.message2?10:-1),o(),l(e.markdownMessage2?11:-1),o(3),l(e.ctaButtonLink?14:-1),o(2),l(e.ctaButtonLink?-1:16),o(2),l(e.ctaButtonLink?18:-1))},dependencies:[S,L,H,B],styles:["[_nghost-%COMP%] .plugin-md{display:block!important;background-color:#f6f8fa!important;border-radius:6px!important;padding:16px!important;margin:16px auto!important;width:100%!important;max-width:632px!important}[_nghost-%COMP%] .plugin-md table{width:100%;max-width:600px;margin:0 auto!important;border-collapse:collapse;border:1px solid #d0d7de!important;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif!important;font-size:14px!important;color:#24292e!important}[_nghost-%COMP%] .plugin-md th, [_nghost-%COMP%] .plugin-md td{padding:6px 13px!important;border:1px solid #d0d7de!important;text-align:left;color:#24292e!important}[_nghost-%COMP%] .plugin-md th{background-color:#f6f8fa!important;font-weight:600!important;text-align:center!important}[_nghost-%COMP%] .plugin-md td[align=center]{text-align:center!important}[_nghost-%COMP%] .plugin-md tr{color:#24292e!important}[_nghost-%COMP%] .plugin-md tr:nth-child(odd){background-color:#fff!important}[_nghost-%COMP%] .plugin-md tr:nth-child(2n){background-color:#f6f8fa!important}[_nghost-%COMP%] .plugin-md tr:hover{background-color:#f0f2f5!important}[_nghost-%COMP%] body.dark-mode[_ngcontent-%COMP%] .plugin-md[_ngcontent-%COMP%]{background-color:#2b2b2b!important;color:#fff!important}[_nghost-%COMP%] body.dark-mode[_ngcontent-%COMP%] .plugin-md[_ngcontent-%COMP%] table[_ngcontent-%COMP%], [_nghost-%COMP%] body.dark-mode[_ngcontent-%COMP%] .plugin-md[_ngcontent-%COMP%] tr[_ngcontent-%COMP%], [_nghost-%COMP%] body.dark-mode[_ngcontent-%COMP%] .plugin-md[_ngcontent-%COMP%] th[_ngcontent-%COMP%], [_nghost-%COMP%] body.dark-mode[_ngcontent-%COMP%] .plugin-md[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{color:#fff!important}[_nghost-%COMP%] body.dark-mode[_ngcontent-%COMP%] .plugin-md[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#3c3c3c!important}[_nghost-%COMP%] body.dark-mode[_ngcontent-%COMP%] .plugin-md[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(odd){background-color:#323232!important}[_nghost-%COMP%] body.dark-mode[_ngcontent-%COMP%] .plugin-md[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#2b2b2b!important}[_nghost-%COMP%] body.dark-mode[_ngcontent-%COMP%] .plugin-md[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover{background-color:#454545!important}"]})}return t})();export{X as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as f,g as s}from"./chunk-LV5TYHZ7.js";import{k as l,n as u,q as d}from"./chunk-
|
|
1
|
+
import{d as f,g as s}from"./chunk-LV5TYHZ7.js";import{k as l,n as u,q as d}from"./chunk-M5SPFGD5.js";import{Xa as a,ea as m,fa as i,h as p,ja as e,w as c}from"./chunk-ZHRPBG7M.js";var n=(()=>{class t{$api=e(d);$router=e(f);$toastr=e(u);$translate=e(l);resolve(){return p(this,null,function*(){try{return yield c(this.$api.get("/platform-tools/docker/startup-script"))}catch(r){console.error(r),this.$toastr.error(r.message,this.$translate.instant("toast.title_error")),this.$router.navigate(["/"])}})}static \u0275fac=function(o){return new(o||t)};static \u0275prov=m({token:t,factory:t.\u0275fac})}return t})();var S=[{path:"",redirectTo:"/",pathMatch:"full"},{path:"startup-script",loadComponent:()=>import("./chunk-S4J6DBU3.js").then(t=>t.StartupScriptComponent),resolve:{startupScript:n}},{path:"restart-container",loadComponent:()=>import("./chunk-CMOTM56W.js").then(t=>t.ContainerRestartComponent)}],v=(()=>{class t{static \u0275fac=function(o){return new(o||t)};static \u0275mod=a({type:t});static \u0275inj=i({imports:[s.forChild(S),s]})}return t})();var T=(()=>{class t{static \u0275fac=function(o){return new(o||t)};static \u0275mod=a({type:t});static \u0275inj=i({providers:[n],imports:[v]})}return t})();export{T as DockerModule};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as E}from"./chunk-
|
|
1
|
+
import{a as E}from"./chunk-PRQPJEFJ.js";import{a as S}from"./chunk-XKBUDGTP.js";import"./chunk-MD7IQ7EC.js";import"./chunk-3IUIBZIG.js";import"./chunk-QHDPBN4J.js";import"./chunk-D2RHA7X2.js";import"./chunk-BWVMSIO4.js";import"./chunk-C2BJ6TMI.js";import{b as C}from"./chunk-SJODT5UV.js";import{l as w}from"./chunk-M5SPFGD5.js";import{Gb as v,Ka as a,La as c,Pb as f,Qb as p,Vb as g,Wa as u,Wb as T,ja as o,mc as y,n as d,nc as b,vb as m,wb as l,xb as h,xc as $}from"./chunk-ZHRPBG7M.js";var _=["terminaloutput"],A=(()=>{class r{$terminal=o(S);$settings=o(C);$navigationGuard=o(E);resizeEvent=new d;termTarget=$("terminaloutput");onWindowResize(){this.resizeEvent.next(void 0)}onBeforeUnload(t){return this.$navigationGuard.handleBeforeUnload(t)}onWindowFocus(){this.activateTerminal()}onClick(){this.activateTerminal()}activateTerminal(){this.$terminal.isTerminalReady()&&this.$terminal.term&&this.$terminal.term.focus()}ngOnInit(){window.document.querySelector("body").classList.add("bg-black"),this.$terminal.isTerminalReady()&&this.$terminal.destroyTerminal(),this.$settings.env.terminal?.persistence&&this.$terminal.hasActiveSession()?this.$terminal.reconnectTerminal(this.termTarget(),{},this.resizeEvent):(!this.$settings.env.terminal?.persistence&&this.$terminal.hasActiveSession()&&this.$terminal.destroyPersistentSession(),this.$terminal.startTerminal(this.termTarget(),{},this.resizeEvent)),setTimeout(()=>{this.activateTerminal()},100)}ngAfterViewInit(){document.addEventListener("visibilitychange",this.onVisibilityChange.bind(this))}onVisibilityChange(){!document.hidden&&this.$terminal.isTerminalReady()&&setTimeout(()=>{this.activateTerminal()},100)}canDeactivate(){return this.$navigationGuard.canDeactivate()}ngOnDestroy(){document.removeEventListener("visibilitychange",this.onVisibilityChange.bind(this)),window.document.querySelector("body").classList.remove("bg-black"),this.$settings.env.terminal?.persistence?this.$terminal.detachTerminal():this.$terminal.destroyPersistentSession()}static \u0275fac=function(e){return new(e||r)};static \u0275cmp=u({type:r,selectors:[["ng-component"]],viewQuery:function(e,i){e&1&&f(i.termTarget,_,5),e&2&&p()},hostBindings:function(e,i){e&1&&v("resize",function(n){return i.onWindowResize(n)},a)("beforeunload",function(n){return i.onBeforeUnload(n)},a)("focus",function(n){return i.onWindowFocus(n)},a)("click",function(n){return i.onClick(n)})},decls:8,vars:3,consts:[["terminaloutput",""],[1,"row","mb-3"],[1,"col-12"],[1,"primary-text","m-0"],[1,"flex-column","d-flex","align-items-stretch","adjust-for-mobile"],["id","docker-terminal",1,"align-self-end","w-100","h-100","mb-1"]],template:function(e,i){e&1&&(m(0,"div",1)(1,"div",2)(2,"h3",3),g(3),y(4,"translate"),l()()(),m(5,"div",4),h(6,"div",5,0),l()),e&2&&(c(3),T(b(4,1,"menu.linux.label_terminal")))},dependencies:[w],encapsulation:2})}return r})();export{A as TerminalComponent};
|
package/public/index.html
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
|
|
21
21
|
<body>
|
|
22
22
|
<app-root></app-root>
|
|
23
|
-
<link rel="modulepreload" href="chunk-
|
|
23
|
+
<link rel="modulepreload" href="chunk-UYPJZGAK.js"><link rel="modulepreload" href="chunk-WJOFCHDT.js"><link rel="modulepreload" href="chunk-PFIRHRM5.js"><link rel="modulepreload" href="chunk-HPWK6TSC.js"><link rel="modulepreload" href="chunk-K2EZIL6H.js"><link rel="modulepreload" href="chunk-XJFWSI2A.js"><link rel="modulepreload" href="chunk-5TSHBP5C.js"><link rel="modulepreload" href="chunk-W5CPGK2R.js"><link rel="modulepreload" href="chunk-SIIVYDOU.js"><link rel="modulepreload" href="chunk-QYDIL6OE.js"><script src="polyfills-5KWHJ7II.js" type="module" crossorigin="use-credentials"></script><script src="main-5MJHMVKI.js" type="module" crossorigin="use-credentials"></script></body>
|
|
24
24
|
</html>
|