@duplicati/ngclient 0.0.233 → 0.0.235
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/assets/sh.woff2 +0 -0
- package/chunk-29_4gGIi.js +2 -0
- package/{chunk-C3gUxHQM.js → chunk-3YzyUT-a.js} +1 -1
- package/chunk-6-sszNfh.js +1 -0
- package/chunk-7T5O8Syb.js +1 -0
- package/{chunk-CS2J-6VZ.js → chunk-B61kkU_h.js} +1 -1
- package/chunk-B891gwjc.js +1 -0
- package/chunk-BDJqKfxm.js +1 -0
- package/chunk-BEUeHgR9.js +1 -0
- package/chunk-BEzhTDp8.js +2 -0
- package/{chunk-DDWDcSq2.js → chunk-BGuvkLC9.js} +1 -1
- package/{chunk-DXEgz1tV.js → chunk-BJOhC2d8.js} +1 -1
- package/chunk-BOKNwzSl.js +2 -0
- package/chunk-BSCc2xDv.js +1 -0
- package/chunk-BWSg9cLt.js +2 -0
- package/chunk-BWvawawS.js +2 -0
- package/chunk-B_I_9Y7k.js +1 -0
- package/chunk-Bgd5lu61.js +1 -0
- package/chunk-BjqgOGb9.js +2 -0
- package/chunk-Bq_vr6Q3.js +2 -0
- package/{chunk-C9OqpwwE.js → chunk-Brfc2m61.js} +1 -1
- package/{chunk-C9ecLR93.js → chunk-Btvi2S15.js} +11 -11
- package/chunk-C0KXp4hd.js +1 -0
- package/chunk-C0XQD9NK.js +1 -0
- package/chunk-C1-31fA7.js +1 -0
- package/chunk-C185qUb-.js +1 -0
- package/{chunk-CyqqlRjO.js → chunk-C1py21yb.js} +2 -2
- package/chunk-C4Uv1C-T.js +1 -0
- package/{chunk-B1c7h-_w.js → chunk-CFgDqLU0.js} +1 -1
- package/{chunk-aCJqF9DH.js → chunk-CGnjVnmu.js} +1 -1
- package/{chunk-DidJB9ig.js → chunk-CKUlUN3q.js} +1 -1
- package/chunk-CLlZiOaO.js +2 -0
- package/chunk-CQVPqpMp.js +2 -0
- package/chunk-CSrYlKTK.js +2 -0
- package/chunk-CdzKkYEw.js +2 -0
- package/chunk-Cj_yOpND.js +1 -0
- package/chunk-ClFp7JLZ.js +1 -0
- package/{chunk-DGvC49aU.js → chunk-Cm7JSdTO.js} +1 -1
- package/{chunk-D1pDZLJ9.js → chunk-CnZx831x.js} +1 -1
- package/chunk-CsVpmA6t.js +1 -0
- package/chunk-Css7wqTG.js +2 -0
- package/chunk-CxbeRJcJ.js +1 -0
- package/chunk-CzoH_Agx.js +1 -0
- package/chunk-CzsiJ0k-.js +1 -0
- package/chunk-D04TnMUn.js +2 -0
- package/{chunk-BstaUtD_.js → chunk-D2P9ER0I.js} +1 -1
- package/{chunk-mA4J4_nC.js → chunk-D38QrkIM.js} +1 -1
- package/chunk-D4g_OF7M.js +1 -0
- package/chunk-D5V6OY_2.js +2 -0
- package/{chunk-FTZ5atHM.js → chunk-D6IQFx6m.js} +1 -1
- package/chunk-D6y9RCQD.js +1 -0
- package/chunk-D7UddV5F.js +1 -0
- package/chunk-D9jPw9Ov.js +1 -0
- package/chunk-DA7rrIf8.js +1 -0
- package/chunk-DB0aGcRM.js +1 -0
- package/{chunk-DhiIZLrA.js → chunk-DBkkb6OR.js} +3 -3
- package/chunk-DE8p9-HP.js +1 -0
- package/chunk-DFLxy15J.js +1 -0
- package/chunk-DHkdQ4u3.js +3 -0
- package/chunk-DKRWta24.js +2 -0
- package/chunk-DSeMtMg3.js +1 -0
- package/chunk-DWCofCiP.js +14 -0
- package/chunk-DXLQftDm.js +1 -0
- package/{chunk-lymL5FDY.js → chunk-DYV1Pbu1.js} +1 -1
- package/chunk-DaXXLSfy.js +2 -0
- package/chunk-Dbq-qyNL.js +3 -0
- package/{chunk-8Y8ReLEn.js → chunk-DkVHfoYw.js} +2 -2
- package/chunk-DmCJ7w-M.js +1 -0
- package/{chunk-MDqH8T3Z.js → chunk-DneBfCBh.js} +2 -2
- package/{chunk-CX3Axjpk.js → chunk-DuRr4rDS.js} +1 -1
- package/chunk-Dv_fBX0w.js +1 -0
- package/chunk-IqMUABbN.js +1 -0
- package/chunk-Kq2ZFJSk.js +1 -0
- package/chunk-NAAMYA7J.js +1 -0
- package/chunk-NiMN4Rl6.js +1 -0
- package/chunk-OQ_HQ9EL.js +1 -0
- package/chunk-W1dL7dqQ.js +4 -0
- package/chunk-_OzpLe0L.js +1 -0
- package/chunk-ayE11Iz-.js +1 -0
- package/chunk-fDWfSg6Y.js +3 -0
- package/chunk-gId840Er.js +1 -0
- package/{chunk-B6c2NXNy.js → chunk-iGzJokt-.js} +1 -1
- package/{chunk-BmmYJhOf.js → chunk-iU19kwHx.js} +1 -1
- package/chunk-m8vMm7S6.js +1 -0
- package/chunk-xD8qjoz4.js +1 -0
- package/chunk-xI8Kkqgy.js +1 -0
- package/{chunk-h6n5A491.js → chunk-zOY5leQB.js} +1 -1
- package/index.html +1 -1
- package/main-2ZYVV4C4.js +21 -0
- package/package.json +1 -1
- package/assets/dest-icons/sia_logo_dark.92db63f5.svg +0 -6
- package/chunk-AuCOjHXM.js +0 -1
- package/chunk-B1wZ4poV.js +0 -1
- package/chunk-B5Y6lgE8.js +0 -1
- package/chunk-BZgAzrl9.js +0 -2
- package/chunk-B_cIFQAl.js +0 -1
- package/chunk-BaSm1lsB.js +0 -2
- package/chunk-Bgw6E0Xu.js +0 -2
- package/chunk-Bj7EyCHb.js +0 -1
- package/chunk-BrtdRb9j.js +0 -1
- package/chunk-BsNCg00z.js +0 -2
- package/chunk-BxpXVeOr.js +0 -1
- package/chunk-ByL8ndec.js +0 -1
- package/chunk-BzJX1fKw.js +0 -1
- package/chunk-C7AeY2HY.js +0 -2
- package/chunk-C7gG_Yh_.js +0 -2
- package/chunk-CGsQCBkP.js +0 -1
- package/chunk-CIe9Bupz.js +0 -1
- package/chunk-CIw_h8oP.js +0 -1
- package/chunk-CP6xnjgo.js +0 -3
- package/chunk-CWgXi-7W.js +0 -1
- package/chunk-Ca1aaA1h.js +0 -1
- package/chunk-CfxBiw7I.js +0 -1
- package/chunk-CgJAbgNN.js +0 -1
- package/chunk-ChUm8bnG.js +0 -1
- package/chunk-CkRbgemk.js +0 -2
- package/chunk-ClRItSzt.js +0 -1
- package/chunk-CsIAXoYP.js +0 -1
- package/chunk-CuJ_uEdr.js +0 -1
- package/chunk-CvSsZZty.js +0 -1
- package/chunk-D2G7_0hG.js +0 -2
- package/chunk-D3PhthfU.js +0 -2
- package/chunk-D55uWC7G.js +0 -1
- package/chunk-DD_wKpGc.js +0 -1
- package/chunk-DGxk44Me.js +0 -2
- package/chunk-DM11Gu0H.js +0 -1
- package/chunk-DV8bRznt.js +0 -2
- package/chunk-DWiO0A6h.js +0 -2
- package/chunk-DbbyVAGl.js +0 -1
- package/chunk-DcdpG1YG.js +0 -3
- package/chunk-Dk-Wgx3e.js +0 -1
- package/chunk-DuYKanVS.js +0 -1
- package/chunk-DwmssGG9.js +0 -2
- package/chunk-DxFBzFom.js +0 -1
- package/chunk-Dz5guW4b.js +0 -3
- package/chunk-I5dxaHZ4.js +0 -2
- package/chunk-K2iai6rC.js +0 -1
- package/chunk-L8hQtTzU.js +0 -1
- package/chunk-Y-xXBGKy.js +0 -1
- package/chunk-Z81HNfgo.js +0 -1
- package/chunk-aYCYzU5Q.js +0 -1
- package/chunk-bt6lhYfG.js +0 -1
- package/chunk-eiyaQxBt.js +0 -1
- package/chunk-jy8x4GhV.js +0 -1
- package/chunk-ksSA-rDF.js +0 -1
- package/chunk-mflQLMHH.js +0 -2
- package/chunk-nuwlP4Wz.js +0 -14
- package/chunk-uGh0bVbu.js +0 -4
- package/main-3NL5M6JB.js +0 -16
package/chunk-uGh0bVbu.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import {e as ee}from'./chunk-K2iai6rC.js';import'./chunk-CIe9Bupz.js';import {O as O$1}from'./chunk-BmmYJhOf.js';import {m}from'./chunk-CvSsZZty.js';import {J}from'./chunk-aCJqF9DH.js';import {N as Nt$1}from'./chunk-CyqqlRjO.js';import'./chunk-CX3Axjpk.js';import {c}from'./chunk-C3gUxHQM.js';import {D}from'./chunk-DidJB9ig.js';import {bl as _s,bm as j,bn as ft,bo as go,T,a6 as be,m as m$1,I,bp as f,G as Ge,N as Nt,z as za,J as zu,bq as wt,at as h,h as hw,v,c as N,u as ue,i as Ig,Q as Qi,n as nC,$ as $l,d as aT,H as Hg,r as CD,F as Fg,j as jg,p as lm,bi as cg,C as CE,g as cT,L as Kg,y as vg,a3 as KC,x as _D,au as Vg,av as rC,w as cm,o as oC,U as UC,ab as C$1,D as w1,b5 as lg,b6 as oT,b7 as iT,M as qg,R as fC,ae as eo,E as E1,af as D1,bb as ce,S as aC,V as Ul,Y as cC,X as Wl,s as jC,an as Bg,W as Eg,aB as sm,ag as Yg,f as NC,k as iC,K as im,l as vT,O as Od,P as Pd,ar as Zp,a9 as GC,aa as Ql}from'./main-3NL5M6JB.js';import {d}from'./chunk-DDWDcSq2.js';import {F as Fe}from'./chunk-DhiIZLrA.js';import {B as Bn$1,Z as Ze,o as on,R as Rn$1,J as Jt,G as Gn$1}from'./chunk-B6c2NXNy.js';import {a as at}from'./chunk-MDqH8T3Z.js';import {C}from'./chunk-mflQLMHH.js';import {O}from'./chunk-CuJ_uEdr.js';import'./chunk-D1pDZLJ9.js';import'./chunk-DGvC49aU.js';var rn=[[["label"]],[["input","type","range"]]],ln=["label","input[type=range]"],nn=(()=>{class i{constructor(){this.hasInput=Ge(false),this.#n=T(eo),this.#i=null,this.#e=null,this.#t=0,this.unit=E1(""),this.value=D1(this.#t),this.inputState=Ge({min:0,max:100,step:1}),this.color=E1(null),this.variant=E1(null),this.size=E1(null),this.sharp=E1(void 0),this.alwaysShow=E1(void 0),this.hostClasses=ce("rangeSlider",{color:this.color,variant:this.variant,size:this.size,sharp:this.sharp,alwaysShow:this.alwaysShow}),this.valuePercentage=Nt(()=>{let{min:e,max:n}=this.inputState(),s=this.value()??e;if(isNaN(s))return 0;let l=n-e;if(l===0)return 0;let E=(s-e)/l*100;return Math.max(0,Math.min(100,E))}),this.trackFilledPercentage=Nt(()=>this.valuePercentage()),this.thumbPositionPercentage=Nt(()=>this.valuePercentage()),this.syncModelToInputEffect=za(()=>{let e=this.value();if(this.#e){let n=parseFloat(this.#e.value);(isNaN(n)||String(n)!==String(e))&&(this.#e.value=String(e));}});}#n;#i;#e;#t;ngAfterViewInit(){this.#e=this.#n.nativeElement.querySelector('input[type="range"]'),this.#e?(this.hasInput.set(true),this.#a(this.#e),this.#e.oninput=()=>{this.setNewInputValue(this.#e.value);},this.#e.addEventListener("inputValueChanged",e=>{this.setNewInputValue(e.detail.value);}),queueMicrotask(()=>this.#o(true)),this.#r()):console.error('ShipRangeSlider: No <input type="range"> element found projected inside.');}setNewInputValue(e){let n=parseFloat(e??"0");if(!isNaN(n)){let{min:s,max:l}=this.inputState();this.value.set(Math.max(s,Math.min(l,n)));}}trackEvent(e){if(!this.#e||this.#e.readOnly||this.#e.disabled){e.preventDefault(),e.stopPropagation();return}if(e.target===this.#e||e.target?.closest(".thumb, .min-indicator, .max-indicator"))return;let s=e.currentTarget.getBoundingClientRect(),l=e.clientX-s.left,E=s.width,{min:T,max:m,step:f}=this.inputState(),W=m-T;if(E>0&&W!==0&&f>0){let J=(l/E*W+T-T)/f,V=T+Math.round(J)*f,Q=this.#s(f);V=parseFloat(V.toFixed(Q));let Y=Math.max(T,Math.min(m,V));this.value.set(Y);}}#o(e=false){if(!this.#e)return;let n=parseFloat(this.#e.min??"0")??0,s=parseFloat(this.#e.max??"100")??100,l=this.#e.step,E=1;if(l&&l.toLowerCase()!=="any"){let m=parseFloat(l);!isNaN(m)&&m>0&&(E=m);}this.inputState.set({min:n,max:s,step:E});let T=parseFloat(this.#e.value??String(n))??n;if(e&&this.value()!==this.#t){let m=this.value(),f=Math.max(n,Math.min(s,m));T!==f&&(this.#e.value=String(f)),m!==f&&this.value.set(f);}else {let m=Math.max(n,Math.min(s,T));this.value()!==m&&this.value.set(m);}}#r(){if(!this.#e||typeof MutationObserver>"u")return;let e=["min","max","step","value","readonly","disabled"];this.#i=new MutationObserver(n=>{let s=false;for(let l of n)if(l.type==="attributes"&&e.includes(l.attributeName??"")){s=true;break}s&&this.#o(false);}),this.#i.observe(this.#e,{attributes:true,attributeFilter:e});}#s(e){if(isNaN(e)||Math.floor(e)===e)return 0;let s=e.toString().split(".")[1];return s?s.length:0}#a(e){Object.defineProperty(e,"value",{configurable:true,get(){return Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),"value").get.call(this)},set(n){Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),"value").set.call(this,n);let l=new CustomEvent("inputValueChanged",{bubbles:true,cancelable:true,detail:{value:n}});return this.dispatchEvent(l),n}});}ngOnDestroy(){this.#i&&this.#i.disconnect(),this.#e&&(this.#e.oninput=null);}static{this.\u0275fac=function(n){return new(n||i)};}static{this.\u0275cmp=hw({type:i,selectors:[["sh-range-slider"]],hostVars:6,hostBindings:function(n,s){n&2&&(NC(s.hostClasses()),Kg("sh-range-slider",true)("has-input",s.hasInput()));},inputs:{unit:[1,"unit"],value:[1,"value"],color:[1,"color"],variant:[1,"variant"],size:[1,"size"],sharp:[1,"sharp"],alwaysShow:[1,"alwaysShow"]},outputs:{value:"valueChange"},ngContentSelectors:ln,decls:15,vars:10,consts:[[1,"label"],[1,"input-wrap"],[1,"min-indicator"],[1,"track-wrap",3,"click"],[1,"track"],[1,"track-filled"],[1,"thumb-wrap"],[1,"thumb"],[1,"value-indicator"],[1,"max-indicator"]],template:function(n,s){n&1&&(aC(rn),Ul(0,"div",0),cC(1),Wl(),Ul(2,"div",1)(3,"div",2),jC(4),Wl(),Ul(5,"div",3),Bg("click",function(E){return s.trackEvent(E)}),cC(6,1),Ul(7,"div",4),Eg(8,"div",5),Wl(),Ul(9,"div",6)(10,"div",7)(11,"div",8),jC(12),Wl()()()(),Ul(13,"div",9),jC(14),Wl()()),n&2&&(CE(4),sm("",s.inputState().min,"",s.unit()),CE(4),Yg("width",s.trackFilledPercentage(),"%"),CE(),Yg("left",s.thumbPositionPercentage(),"%"),CE(3),sm("",s.value(),"",s.unit()),CE(2),sm("",s.inputState().max,"",s.unit()));},styles:[`sh-range-slider{--rs-h: 2.5rem;--rs-f: var(--paragraph-30);--rs-unit-g: .75rem;--rs-unit-c: var(--base-8);--rst: var(--base-3);--rst-bc: var(--base-1);--rst-bg: var(--base-4);--rst-h: .5rem;--rst-s: calc(var(--shape-2) / 2);--rs-thumb-c: var(--base-8);--rs-thumb-bc: var(--base-1);--rs-thumb-value-bg: var(--base-4);--rs-thumb-arrow: var(--rs-thumb-value-bg);--rs-thumb-value-c: var(--base-8);--rs-thumb-si: 1rem;--rs-thumb-w: var(--rs-thumb-si);--rs-thumb-s: calc(var(--rs-thumb-w) / 2);display:flex;flex-direction:column;width:100%;font:var(--rs-f)}sh-range-slider.sharp{--rst-s: .125rem;--rs-thumb-s: .125rem;--rs-thumb-bc: transparent !important}sh-range-slider .label{display:flex;align-items:center;gap:.5rem;padding-bottom:.25rem}sh-range-slider .label>label{display:flex;align-items:center;gap:.25rem}sh-range-slider .label sh-icon{color:var(--grey-500);font-size:1rem}sh-range-slider .label:empty{display:none}sh-range-slider[readonly]:not([readonly=false]),sh-range-slider:has(input[type=range][readonly]:not([readonly=false])),sh-range-slider[disabled]:not([disabled=false]),sh-range-slider:has(input[type=range][disabled]:not([disabled=false])){opacity:.4;pointer-events:none;-webkit-user-select:none;user-select:none;cursor:initial}sh-range-slider:has(input[type=range][readonly]) .thumb .value-indicator,sh-range-slider.always-show .thumb .value-indicator{opacity:1}sh-range-slider input[type=range]{appearance:none;width:100%;height:100%;position:absolute;inset:0;opacity:0;margin:0;z-index:1000}sh-range-slider .input-wrap{display:flex;align-items:center;justify-content:center;width:100%;min-height:var(--rs-h);position:relative;gap:var(--rs-unit-g)}sh-range-slider .thumb-wrap{position:absolute;top:0}sh-range-slider .thumb{position:relative;margin-top:calc(-1 * var(--rs-thumb-si) / 4);width:var(--rs-thumb-w);height:var(--rs-thumb-si);border-radius:var(--rs-thumb-s);background-color:var(--rs-thumb-c);border:1px solid var(--rs-thumb-bc);box-shadow:var(--box-shadow-20);transform:translate(-50%)}sh-range-slider .track-wrap{position:relative;width:100%;height:var(--rst-h)}sh-range-slider .track{position:relative;width:100%;height:var(--rst-h);border-radius:var(--rst-s);background-color:var(--rst);border:1px solid var(--rst-bc);overflow:hidden}sh-range-slider .track-filled{position:absolute;top:0;left:0;bottom:0;background:var(--rst-bg);width:0}sh-range-slider .min-indicator,sh-range-slider .max-indicator{white-space:nowrap;color:var(--rs-unit-c)}sh-range-slider input[type=range]:hover~.thumb-wrap .value-indicator,sh-range-slider input[type=range]:focus~.thumb-wrap .value-indicator{opacity:1}sh-range-slider .value-indicator{position:absolute;top:-1.875rem;height:1.5rem;min-width:1.5rem;border-radius:var(--shape-2);left:50%;margin:auto;transform:translate(-50%);padding:.25rem .5rem;background:var(--rs-thumb-value-bg);color:var(--rs-thumb-value-c);white-space:nowrap;opacity:0;transition:opacity 125ms linear;-webkit-user-select:none;user-select:none;pointer-events:none}sh-range-slider .value-indicator:after{content:"";border-top:.3125rem solid var(--rs-thumb-arrow);border-left:.3125rem solid transparent;border-right:.3125rem solid transparent;position:absolute;top:calc(100% - 1px);left:50%;margin-left:-.3125rem}sh-range-slider.primary{--rst-bg: var(--primary-8);--rs-thumb-arrow: var(--primary-8);--rs-thumb-value-bg: var(--primary-8);--rs-thumb-value-c: #fff}sh-range-slider.accent{--rst-bg: var(--accent-8);--rs-thumb-arrow: var(--accent-8);--rs-thumb-value-bg: var(--accent-8);--rs-thumb-value-c: #fff}sh-range-slider.warn{--rst-bg: var(--warn-8);--rs-thumb-arrow: var(--warn-8);--rs-thumb-value-bg: var(--warn-8);--rs-thumb-value-c: #fff}sh-range-slider.error{--rst-bg: var(--error-8);--rs-thumb-arrow: var(--error-8);--rs-thumb-value-bg: var(--error-8);--rs-thumb-value-c: #fff}sh-range-slider.success{--rst-bg: var(--success-8);--rs-thumb-arrow: var(--success-8);--rs-thumb-value-bg: var(--success-8);--rs-thumb-value-c: #fff}sh-range-slider.simple{--rst-h: 1rem;--rst-s: var(--shape-2)}sh-range-slider.simple .thumb{width:1px;height:var(--rst-h);margin-top:0;border-radius:0;border:none;box-shadow:none}sh-range-slider.simple.primary{--rst-bg: var(--primary-8);--rst: var(--primary-2);--rs-thumb-c: var(--primary-8);--rs-thumb-bc: var(--base-1);--rs-thumb-value-bg: var(--primary-8);--rs-thumb-value-c: var(--primary-2)}sh-range-slider.simple.accent{--rst-bg: var(--accent-8);--rst: var(--accent-2);--rs-thumb-c: var(--accent-8);--rs-thumb-bc: var(--base-1);--rs-thumb-value-bg: var(--accent-8);--rs-thumb-value-c: var(--accent-2)}sh-range-slider.simple.warn{--rst-bg: var(--warn-8);--rst: var(--warn-2);--rs-thumb-c: var(--warn-8);--rs-thumb-bc: var(--base-1);--rs-thumb-value-bg: var(--warn-8);--rs-thumb-value-c: var(--warn-2)}sh-range-slider.simple.error{--rst-bg: var(--error-8);--rst: var(--error-2);--rs-thumb-c: var(--error-8);--rs-thumb-bc: var(--base-1);--rs-thumb-value-bg: var(--error-8);--rs-thumb-value-c: var(--error-2)}sh-range-slider.simple.success{--rst-bg: var(--success-8);--rst: var(--success-2);--rs-thumb-c: var(--success-8);--rs-thumb-bc: var(--base-1);--rs-thumb-value-bg: var(--success-8);--rs-thumb-value-c: var(--success-2)}sh-range-slider.outlined{--rst: var(--base-1);--rst-bc: var(--base-4);--rs-thumb-c: var(--base-6);--rs-thumb-bc: var(--base-1);--rs-thumb-arrow: var(--base-4)}sh-range-slider.outlined.primary,sh-range-slider.outlined.accent,sh-range-slider.outlined.warn,sh-range-slider.outlined.error,sh-range-slider.outlined.success{--rst: var(--base-2)}sh-range-slider.outlined.primary{--rst-bg: var(--primary-4);--rst-bc: var(--primary-8);--rs-thumb-c: var(--primary-8);--rs-thumb-bc: var(--base-1);--rs-thumb-value-bg: var(--primary-4);--rs-thumb-value-c: var(--primary-8);--rs-thumb-arrow: var(--primary-4)}sh-range-slider.outlined.accent{--rs-thumb-c: var(--accent-4);--rs-thumb-bc: var(--base-1);--rs-thumb-value-bg: var(--accent-4);--rs-thumb-value-c: var(--accent-8);--rs-thumb-arrow: var(--accent-4)}sh-range-slider.outlined.warn{--rs-thumb-c: var(--warn-4);--rs-thumb-bc: var(--base-1);--rs-thumb-value-bg: var(--warn-4);--rs-thumb-value-c: var(--warn-8);--rs-thumb-arrow: var(--warn-4)}sh-range-slider.outlined.error{--rs-thumb-c: var(--error-4);--rs-thumb-bc: var(--base-1);--rs-thumb-value-bg: var(--error-4);--rs-thumb-value-c: var(--error-8);--rs-thumb-arrow: var(--error-4)}sh-range-slider.outlined.success{--rs-thumb-c: var(--success-4);--rs-thumb-bc: var(--base-1);--rs-thumb-value-bg: var(--success-4);--rs-thumb-value-c: var(--success-8);--rs-thumb-arrow: var(--success-4)}sh-range-slider.flat{--rs-thumb-c: #fff;--rs-thumb-bc: var(--base-4)}sh-range-slider.flat.primary,sh-range-slider.flat.accent,sh-range-slider.flat.warn,sh-range-slider.flat.error,sh-range-slider.flat.success{--rst: var(--base-3);--rs-thumb-c: #fff;--rs-thumb-bc: var(--base-4);--rs-thumb-value-bg: var(--base-8);--rs-thumb-value-c: #fff}sh-range-slider.flat.primary{--rst-bg: var(--primary-8);--rs-thumb-value-bg: var(--primary-8)}sh-range-slider.flat.accent{--rst-bg: var(--accent-8);--rs-thumb-value-bg: var(--accent-8)}sh-range-slider.flat.warn{--rst-bg: var(--warn-8);--rs-thumb-value-bg: var(--warn-8)}sh-range-slider.flat.error{--rst-bg: var(--error-8);--rs-thumb-value-bg: var(--error-8)}sh-range-slider.flat.success{--rst-bg: var(--success-8);--rs-thumb-value-bg: var(--success-8)}sh-range-slider.raised{--rst-bg: var(--base-g2);--rs-thumb-c: #fff;--rs-thumb-bc: var(--base-4)}sh-range-slider.raised.primary,sh-range-slider.raised.accent,sh-range-slider.raised.warn,sh-range-slider.raised.error,sh-range-slider.raised.success{--rst: var(--base-3);--rs-thumb-c: #fff;--rs-thumb-bc: var(--base-4);--rs-thumb-value-bg: var(--base-g6);--rs-thumb-value-c: #fff}sh-range-slider.raised.primary{--rst-bg: var(--primary-g2);--rs-thumb-arrow: var(--primary-8);--rs-thumb-value-bg: var(--primary-g3)}sh-range-slider.raised.accent{--rst-bg: var(--accent-g2);--rs-thumb-arrow: var(--accent-8);--rs-thumb-value-bg: var(--accent-8)}sh-range-slider.raised.warn{--rst-bg: var(--warn-g2);--rs-thumb-arrow: var(--warn-8);--rs-thumb-value-bg: var(--warn-8)}sh-range-slider.raised.error{--rst-bg: var(--error-g2);--rs-thumb-arrow: var(--error-8);--rs-thumb-value-bg: var(--error-8)}sh-range-slider.raised.success{--rst-bg: var(--success-g2);--rs-thumb-arrow: var(--success-8);--rs-thumb-value-bg: var(--success-8)}
|
|
2
|
-
`],encapsulation:2});}}return i})();var _n=["formRef"],cn=()=>[import('./chunk-I5dxaHZ4.js').then(i=>i.OptionsListComponent)];function dn(i,t){i&1&&(Qi(0,"sh-alert",3),nC(1,1),$l());}function Sn(i,t){if(i&1){let e=vT();Qi(0,"app-options-list",5),lm("optionsChange",function(s){Od(e);let l=iC();return UC(l.settings,s)||(l.settings=s),Pd(s)}),$l();}if(i&2){let e=iC();cm("options",e.settings),vg("hasFreeTextSettings",true);}}var K=class i{#n=T(O);#i=T(C$1);formRef=w1.required("formRef");settings=Ge([]);isSubmitting=Ge(false);isLoadingOptions=Ge(true);saved=Ge(false);lastRecievedServerSettings=Ge({});serverSettingsEffect=za(()=>{let t=this.#n.serverSettings();if(t===void 0)return;this.lastRecievedServerSettings.set(t),this.isLoadingOptions.set(true);let e=Object.entries(t);e.forEach(([n,s],l)=>{if(n.startsWith("--")){let E=n.substring(2);this.settings.update(T=>(T.some(m=>m.Name===E||m.Name===n)||T.push({Name:n,Value:s}),T));}l===e.length-1&&this.isLoadingOptions.set(false);});});submit(){this.isSubmitting.set(true);let t=this.settings(),e=this.lastRecievedServerSettings(),n=t.map(T=>T.Name?.startsWith("--")?T.Name:`--${T.Name}`),l=Object.keys(e).filter(T=>T.startsWith("--")).filter(T=>!n.includes(T)),E=t.reduce((T,m)=>{let f=m.Name?.startsWith("--")?m.Name:`--${m.Name}`;return T[f]=m.Value,T},{});l.forEach(T=>{E[T]=null;}),this.#i.patchApiV1Serversettings({requestBody:E}).pipe(zu(()=>this.isSubmitting.set(false))).subscribe({next:()=>{this.#n.refreshServerSettings(),this.saved.set(true),setTimeout(()=>{this.saved.set(false);},3e3);}});}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=hw({type:i,selectors:[["app-advanced-options-settings"]],viewQuery:function(e,n){e&1&&qg(n.formRef,_n,5),e&2&&fC();},decls:8,vars:4,consts:()=>{let t;t=$localize`${"\uFFFD#4\uFFFD"}:START_TAG_SH_ICON:floppy-disk${"\uFFFD/#4\uFFFD"}:CLOSE_TAG_SH_ICON: Save settings `;let e;return e=$localize`Settings saved`,[t,e,[1,"actions"],[1,"success"],["shButton","","type","button",1,"raised","primary",3,"click"],[3,"optionsChange","options","hasFreeTextSettings"]]},template:function(e,n){e&1&&(Qi(0,"div",2),aT(1,dn,2,0,"sh-alert",3),Qi(2,"button",4),Hg("click",function(){return n.submit()}),Fg(3,0),Ig(4,"sh-icon"),jg(),$l()(),lg(5,Sn,1,2),oT(6,5,cn)),e&2&&(CE(),cT(n.saved()?1:-1),CE(),Kg("loading",n.isSubmitting()),CE(4),iT(!n.isLoadingOptions()));},dependencies:[Gn$1,v,N,ue],styles:["[_nghost-%COMP%]{display:block;width:100%;max-width:40.625rem;justify-self:flex-end}.actions[_ngcontent-%COMP%]{display:flex;gap:.5rem;justify-content:flex-end;margin-bottom:.5rem}form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}.form-wrap[_ngcontent-%COMP%]{display:grid;grid-template-columns:2fr 2.5rem;gap:.5rem;align-items:flex-end}.remote-volume-wrap[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem}.remote-volume-wrap[_ngcontent-%COMP%] p.warning[_ngcontent-%COMP%]{color:#7d7d00}.row-inputs[_ngcontent-%COMP%]{display:flex;align-items:flex-end;gap:.5rem}.row-inputs[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1 0}.advanced-option[_ngcontent-%COMP%]{display:grid;gap:.5rem;grid-template-columns:1fr 1fr 2.5rem;align-items:flex-end}"]})};function un(i,t){if(i&1){let e=vT();Qi(0,"sh-form-field",12)(1,"input",13),lm("ngModelChange",function(s){Od(e);let l=iC(2);return UC(l.registerUrl,s)||(l.registerUrl=s),Pd(s)}),$l(),CD(),$l(),Qi(2,"button",14),Hg("click",function(){Od(e);let s=iC(2);return Pd(s.register())}),nC(3,0),$l();}if(i&2){let e=iC(2);CE(),cm("ngModel",e.registerUrl),_D();}}function gn(i,t){if(i&1&&(Qi(0,"div",9)(1,"label"),nC(2,1),$l(),Qi(3,"a",15),jC(4),$l()()),i&2){let e=iC(2);CE(3),vg("href",GC(e.claimUrl()),Zp),CE(),im(e.claimUrl());}}function pn(i,t){i&1&&(Qi(0,"div",9)(1,"label"),nC(2,2),$l()());}function Cn(i,t){if(i&1){let e=vT();Qi(0,"button",14),Hg("click",function(){Od(e);let s=iC(2);return Pd(s.cancel())}),nC(1,3),$l();}}function mn(i,t){if(i&1){let e=vT();Qi(0,"button",14),Hg("click",function(){Od(e);let s=iC(2);return Pd(s.disable())}),nC(1,4),$l();}}function En(i,t){if(i&1){let e=vT();Qi(0,"button",14),Hg("click",function(){Od(e);let s=iC(2);return Pd(s.enable())}),nC(1,5),$l(),Qi(2,"button",16),Hg("click",function(){Od(e);let s=iC(2);return Pd(s.delete())}),nC(3,6),$l();}}function Nn(i,t){i&1&&(Fg(0,7,1),Ig(1,"sh-icon"),jg());}function hn(i,t){i&1&&(Fg(0,7,2),Ig(1,"sh-icon"),jg());}function fn(i,t){if(i&1){let e=vT();Qi(0,"sh-chip",17),Hg("click",function(){Od(e);let s=iC(2);return Pd(s.copyReportingUrl())}),Fg(1,7),aT(2,Nn,2,0,"sh-icon")(3,hn,2,0,"sh-icon"),jg(),$l();}if(i&2){let e=iC(2);CE(2),cT(e.copiedReportingUrl()===true?2:3);}}function In(i,t){if(i&1&&(Qi(0,"div",8),aT(1,un,4,1),aT(2,gn,5,3,"div",9),aT(3,pn,3,0,"div",9),aT(4,Cn,2,0,"button",10),aT(5,mn,2,0,"button",10),aT(6,En,4,0),aT(7,fn,4,1,"sh-chip",11),$l()),i&2){let e=iC();CE(),cT(e.state()==="inactive"?1:-1),CE(),cT(e.state()==="registered"?2:-1),CE(),cT(e.state()==="registering"?3:-1),CE(),cT(e.state()==="registering"||e.state()==="registeringfaulted"||e.state()==="registered"?4:-1),CE(),cT(e.state()==="connected"||e.state()==="connecting"?5:-1),CE(),cT(e.state()==="disabled"?6:-1),CE(),cT(e.additionalReportingUrl()!==""&&e.state()!=="registered"?7:-1);}}var Se=class i{#n=T(C);#i=T(O);state=this.#n.state;claimUrl=this.#n.claimUrl;registerUrl=this.#n.registerUrl;additionalReportingUrl=Nt(()=>{let t=this.#i.serverSettings();return t&&t["additional-report-url"]||""});copiedReportingUrl=Ge(false);ngOnInit(){this.#n.refreshRemoteControlStatus();}cancel(){this.#n.cancelRemoteRegistration();}register(){this.#n.beginRemoteRegistration();}disable(){this.#n.disableRemoteControl();}enable(){this.#n.enableRemoteControl();}delete(){this.#n.deleteRemoteControl();}copyReportingUrl(){let t=this.additionalReportingUrl();t&&(this.copiedReportingUrl.set(true),setTimeout(()=>this.copiedReportingUrl.set(false),2e3),navigator.clipboard.writeText(t));}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=hw({type:i,selectors:[["app-remote-control"]],decls:1,vars:1,consts:()=>{let t;t=$localize`Register on console`;let e;e=$localize`Machine is now registered, open this link to add it to your account:`;let n;n=$localize`Registering, please wait...`;let s;s=$localize`Cancel registration`;let l;l=$localize`Disable console connection`;let E;E=$localize`Enable console connection`;let T;T=$localize` Delete console connection setup `;let m;return m=$localize` Reporting configured by server ${"\uFFFD*2:1\uFFFD"}:START_BLOCK_IF:${"[\uFFFD#1:1\uFFFD|\uFFFD#1:2\uFFFD]"}:START_TAG_SH_ICON:check${"[\uFFFD/#1:1\uFFFD|\uFFFD/#1:2\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/*2:1\uFFFD"}:CLOSE_BLOCK_IF:${"\uFFFD*3:2\uFFFD"}:START_BLOCK_ELSE:${"[\uFFFD#1:1\uFFFD|\uFFFD#1:2\uFFFD]"}:START_TAG_SH_ICON:copy${"[\uFFFD/#1:1\uFFFD|\uFFFD/#1:2\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/*3:2\uFFFD"}:CLOSE_BLOCK_ELSE:`,m=oC(m),[t,e,n,s,l,E,T,m,[1,"field-row"],[1,"field-col"],["type","button","shButton","",1,"raised"],[1,"reporting-url","primary","simple"],["label","Registration URL","for","remoteControlRegisterUrl"],["type","text","sh-input","","id","remoteControlRegisterUrl","name","remoteControlRegisterUrl",3,"ngModelChange","ngModel"],["type","button","shButton","",1,"raised",3,"click"],["target","_blank",3,"href"],["type","button","shButton","",1,"raised","error",3,"click"],[1,"reporting-url","primary","simple",3,"click"]]},template:function(e,n){e&1&&aT(0,In,8,7,"div",8),e&2&&cT(n.state()!=="unknown"?0:-1);},dependencies:[Bn$1,Ze,Rn$1,Jt,Fe,v,D,N],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] button[_ngcontent-%COMP%]{white-space:nowrap}.field-row[_ngcontent-%COMP%]{display:flex;gap:.5rem;width:100%}.field-row[_ngcontent-%COMP%] sh-form-field[_ngcontent-%COMP%], .field-row[_ngcontent-%COMP%] sh-select[_ngcontent-%COMP%]{flex:1 0}.reporting-url[_ngcontent-%COMP%]{cursor:pointer;-webkit-user-select:none;user-select:none;margin-top:.25rem}"]})};var fe=[{value:"default",label:$localize`System default ($value)`},{value:"information",label:$localize`Usage statistics, warnings, errors, and crashes`},{value:"warning",label:$localize`Warnings, errors and crashes`},{value:"error",label:$localize`Errors and crashes`},{value:"crash",label:$localize`Crashes only`},{value:"none",label:$localize`None / disabled`}],Mn=new Set(["information","warning","error","crash","none"]),sn=i=>{let t=(i??"").trim().toLowerCase();return t==="disabled"?"none":Mn.has(t)?t:"default"},an=i=>i==="default"?"":i;var Te=()=>({standalone:true});function Pn(i,t){i&1&&(Qi(0,"sh-chip",90),nC(1,33),$l());}function On(i,t){if(i&1&&(Qi(0,"section")(1,"div",67)(2,"h3"),nC(3,32),$l(),Qi(4,"p"),jC(5),$l()(),Qi(6,"div",68),aT(7,Pn,2,0,"sh-chip",90),$l()()),i&2){let e=iC();CE(5),im(e.remoteControlStatus()),CE(2),cT(e.additionalReportingUrl()!==""&&e.remoteControlState()!=="registered"?7:-1);}}function bn(i,t){if(i&1&&(Qi(0,"label"),Fg(1,37),Ig(2,"sh-icon",92),jg(),$l()),i&2){let e=iC(3);CE(2),vg("shTooltip",e.remoteControlTooltip());}}function Rn(i,t){if(i&1&&(Qi(0,"label"),Fg(1,38),Ig(2,"sh-icon",92),jg(),$l()),i&2){let e=iC(3);CE(2),vg("shTooltip",e.remoteControlTooltip());}}function vn(i,t){if(i&1&&(Qi(0,"label"),Fg(1,39),Ig(2,"sh-icon",92),jg(),$l()),i&2){let e=iC(3);CE(2),vg("shTooltip",e.connectionStatusIndicatorTooltip());}}function Gn(i,t){if(i&1&&(Qi(0,"label"),Fg(1,40),Ig(2,"sh-icon",92),jg(),$l()),i&2){let e=iC(3);CE(2),vg("shTooltip",e.connectionStatusIndicatorTooltip());}}function yn(i,t){if(i&1){let e=vT();Qi(0,"section")(1,"div",67)(2,"h3"),nC(3,35),$l(),Qi(4,"p"),nC(5,36),$l()(),Qi(6,"div",91)(7,"sh-toggle",79),Hg("checkedChange",function(s){Od(e);let l=iC(2);return Pd(l.toggleConsoleControl(s))}),aT(8,bn,3,1,"label")(9,Rn,3,1,"label"),$l(),Qi(10,"sh-toggle",79),Hg("checkedChange",function(s){Od(e);let l=iC(2);return Pd(l.saveHideConsoleConnectionStatus(s))}),aT(11,vn,3,1,"label")(12,Gn,3,1,"label"),$l()()();}if(i&2){let e=iC(2);CE(7),vg("checked",!e.consoleControlDisabled()),CE(),cT(e.consoleControlDisabled()?8:9),CE(2),vg("checked",!e.hideConsoleConnectionStatus()),CE(),cT(e.hideConsoleConnectionStatus()?11:12);}}function Fn(i,t){i&1&&(Qi(0,"label"),nC(1,43),$l());}function $n(i,t){i&1&&(Qi(0,"label"),nC(1,44),$l());}function An(i,t){if(i&1){let e=vT();Qi(0,"section")(1,"div",67)(2,"h3"),nC(3,41),$l(),Qi(4,"p"),nC(5,42),$l()(),Qi(6,"div",68)(7,"sh-toggle",79),Hg("checkedChange",function(s){Od(e);let l=iC(2);return Pd(l.saveHideConsoleConnectionStatus(s))}),aT(8,Fn,2,0,"label")(9,$n,2,0,"label"),$l()()();}if(i&2){let e=iC(2);CE(7),vg("checked",!e.hideConsoleConnectionStatus()),CE(),cT(e.hideConsoleConnectionStatus()?8:9);}}function Ln(i,t){if(i&1&&(Qi(0,"section")(1,"div",67)(2,"h3"),nC(3,34),$l(),Qi(4,"p"),jC(5),$l()(),Qi(6,"div",68),Ig(7,"app-remote-control"),$l()(),aT(8,yn,13,4,"section")(9,An,10,2,"section")),i&2){let e=iC();CE(5),im(e.remoteControlStatus()),CE(3),cT(e.remoteControlState()!="inactive"?8:9);}}function wn(i,t){i&1&&(Qi(0,"sh-icon",97),jC(1,"check"),$l());}function Dn(i,t){i&1&&(Qi(0,"sh-icon",98),jC(1,"prohibit"),$l());}function xn(i,t){if(i&1){let e=vT();Qi(0,"button",102),Hg("click",function(){Od(e);let s=iC(2);return Pd(s.updatePassphrase())}),nC(1,48),$l();}if(i&2){let e=iC(2);Kg("loading",e.isUpdating());}}function kn(i,t){if(i&1){let e=vT();Qi(0,"button",103),Hg("click",function(){Od(e);let s=iC(2);return Pd(s.updatePassphrase())}),nC(1,49),$l();}if(i&2){let e=iC(2);Kg("loading",e.isUpdating()),vg("disabled",true);}}function Xn(i,t){if(i&1){let e=vT();Qi(0,"sh-form-field")(1,"label",93),nC(2,45),$l(),Qi(3,"input",94),lm("ngModelChange",function(s){Od(e);let l=iC();return UC(l.passphrase,s)||(l.passphrase=s),Pd(s)}),$l(),CD(),$l(),Qi(4,"sh-form-field")(5,"label",95),nC(6,46),$l(),Qi(7,"input",96),lm("ngModelChange",function(s){Od(e);let l=iC();return UC(l.repeatPassphrase,s)||(l.repeatPassphrase=s),Pd(s)}),$l(),CD(),aT(8,wn,2,0,"sh-icon",97)(9,Dn,2,0,"sh-icon",98),$l(),Qi(10,"div",73)(11,"button",99),Hg("click",function(){Od(e);let s=iC();return Pd(s.cancelPasswordChange())}),nC(12,47),$l(),aT(13,xn,2,2,"button",100)(14,kn,2,3,"button",101),$l();}if(i&2){let e=iC();CE(3),cm("ngModel",e.passphrase),_D(),CE(4),vg("disabled",e.passphrase().length===0),cm("ngModel",e.repeatPassphrase),_D(),CE(),cT(e.passphrase().length!==0&&e.passphrase()===e.repeatPassphrase()?8:9),CE(3),Kg("loading",e.isUpdating()),CE(2),cT(e.passphrase().length!==0&&e.passphrase()===e.repeatPassphrase()?13:14);}}function Jn(i,t){i&1&&(Qi(0,"sh-icon",104),jC(1,"check"),$l());}function Vn(i,t){if(i&1){let e=vT();Qi(0,"div",73)(1,"button",99),Hg("click",function(){Od(e);let s=iC();return Pd(s.openPassphraseForm())}),nC(2,50),$l(),aT(3,Jn,2,0,"sh-icon",104),$l();}if(i&2){let e=iC();CE(3),cT(e.passwordUpdated()?3:-1);}}function zn(i,t){i&1&&(Fg(0,11,1),Ig(1,"span"),jg());}function Un(i,t){i&1&&(Fg(0,11,2),Ig(1,"span"),jg());}function Bn(i,t){if(i&1){let e=vT();Qi(0,"sh-form-field")(1,"label",105),nC(2,51),$l(),Qi(3,"textarea",106),lm("ngModelChange",function(s){Od(e);let l=iC();return UC(l.allowedHostnames,s)||(l.allowedHostnames=s),Pd(s)}),$l(),CD(),$l(),Qi(4,"sh-alert",107),nC(5,52),$l(),Qi(6,"button",102),Hg("click",function(){Od(e);let s=iC();return Pd(s.updateAllowedHostnames())}),nC(7,53),$l();}if(i&2){let e=iC();CE(3),cm("ngModel",e.allowedHostnames),_D(),CE(3),Kg("loading",e.updatingAllowedHosts());}}function Hn(i,t){if(i&1){let e=vT();Qi(0,"section")(1,"div",67)(2,"h3"),nC(3,54),$l(),Qi(4,"p"),nC(5,55),$l()(),Qi(6,"div",68)(7,"sh-select",108)(8,"input",75),Hg("ngModelChange",function(s){Od(e);let l=iC();return Pd(l.updatePowerMode(s))}),$l(),CD(),$l()()();}if(i&2){let e=iC();CE(7),vg("options",e.powerModeOptions())("isClearable",false),CE(),vg("ngModel",e.powerModeCtrl())("ngModelOptions",KC(4,Te)),_D();}}function Wn(i,t){if(i&1&&(Qi(0,"p"),nC(1,56),$l()),i&2){let e=iC();CE(),Vg(e.sysinfo()?.ServerVersionName),rC(1);}}function jn(i,t){i&1&&Ig(0,"sh-progress-bar",80);}function qn(i,t){if(i&1&&jC(0),i&2){let e=t.$implicit;Ql(" ",e.label," ");}}function Kn(i,t){if(i&1&&jC(0),i&2){let e=t.$implicit;Ql(" ",e.label," ");}}function Qn(i,t){if(i&1){let e=vT();Qi(0,"section")(1,"div",67)(2,"h3"),nC(3,57),$l(),Qi(4,"p")(5,"span"),nC(6,58),$l(),Qi(7,"a",109),nC(8,59),$l(),Ig(9,"br")(10,"br"),Qi(11,"span"),nC(12,60),$l()()(),Qi(13,"div",68)(14,"sh-select",110)(15,"input",75),Hg("ngModelChange",function(s){Od(e);let l=iC();return Pd(l.updateUsageStatistics(s))}),$l(),CD(),cg(16,Kn,1,1,"ng-template"),$l()()();}if(i&2){let e=iC();CE(14),vg("options",e.usageStatisticsOptions())("isLoading",e.updatingUsageStatistics()),CE(),vg("ngModel",e.usageStatistics())("ngModelOptions",KC(4,Te)),_D();}}function Yn(i,t){i&1&&(Qi(0,"label"),nC(1,63),$l());}function Zn(i,t){i&1&&(Qi(0,"label"),nC(1,64),$l());}function ei(i,t){if(i&1){let e=vT();Qi(0,"section")(1,"div",67)(2,"h3"),nC(3,61),$l(),Qi(4,"p"),nC(5,62),$l()(),Qi(6,"div",91)(7,"p"),jC(8,"Backup process isolation"),$l(),Qi(9,"sh-toggle",79),Hg("checkedChange",function(s){Od(e);let l=iC();return Pd(l.saveControllerIpcState(s))}),aT(10,Yn,2,0,"label")(11,Zn,2,0,"label"),$l()()();}if(i&2){let e=iC();CE(9),vg("checked",e.isControllerIpcEnabled()),CE(),cT(e.isControllerIpcEnabled()?10:11);}}function ti(i,t,e){let[n]=_s(i,e?.equal),s=n,l=n[j],E;return s.set=T=>{clearTimeout(E),E=setTimeout(()=>{ft(l,T);},t);},s.update=T=>{clearTimeout(E),E=setTimeout(()=>{go(l,T);},t);},s}var ni=[{value:"none",label:$localize`None`},{value:"s",label:$localize`Seconds`},{value:"m",label:$localize`Minutes`},{value:"h",label:$localize`Hours`}],Ie=class i{#n=T(be);#i=T(m);#e=T(m$1);#t=T(O);#o=T(C);#r=T(I);#s=T(f);#a=this.#s.getItem("locale")??"en-US";sysinfo=this.#e.systemInfo;isDarkMode=this.#i.isDarkMode;editAs=Ge("list");previousLang=this.#a;langCtrl=Ge(this.#a);powerModeCtrl=Ge("");usageStatistics=Ge("default");updatingUsageStatistics=Ge(false);remoteControlStatus=this.#o.statusMessage;remoteControlState=this.#o.state;updatingChannel=Ge(false);updateChannel=Ge("");isUsingRelay=this.#r.relayIsEnabled;defaultClient=Ge(this.#d());hasIpcController=this.#e.hasIpcController;usageStatisticsDisabled=Nt(()=>(this.#e.systemInfo()?.DefaultUsageReportLevel??"").toLowerCase()==="disabled");additionalReportingUrl=Nt(()=>{let t=this.#t.serverSettings();return t&&t["additional-report-url"]||""});#S=za(()=>{let t=this.#e.systemInfo()?.DefaultUsageReportLevel??"",e=fe;e[0].label=$localize`System default (${t})`,this.usageStatisticsOptions.set(e);});remoteControlTooltip=Ge($localize`Disabling console control will disable remote access to this machine from the console, but will keep the
|
|
3
|
-
registration intact and allow pushing settings from the console.`);connectionStatusIndicatorTooltip=Ge($localize`Hides the connection status indicator in the status bar. Useful if you are not using the remote console.`);setNewChannel(t){this.updateChannel();this.updateChannel.set(t),this.#t.setUpdateChannel(t).pipe(zu(()=>this.updatingChannel.set(false))).subscribe();}allowRemoteAccess=Ge(false);allowedHostnames=Ge("");loadedAllowedHostnames=Ge("");updatingRemoteAccess=Ge(false);updatingAllowedHosts=Ge(false);updatingConsoleControl=Ge(false);consoleControlDisabled=Ge(false);hideConsoleConnectionStatus=this.#t.isConsoleConnectionStatusHidden;isControllerIpcEnabled=this.#t.isControllerIpcEnabled;updateRemoteAccess(t){this.allowRemoteAccess.set(t),this.#t.setRemoteAccessInterface(t?"any":"loopback").pipe(zu(()=>this.updatingRemoteAccess.set(false))).subscribe();}updateAllowedHostnames(){let t=this.allowedHostnames();this.updatingAllowedHosts.set(true),this.#t.setRemoteAccessAllowedHostnames(t).pipe(zu(()=>this.updatingAllowedHosts.set(false))).subscribe();}toggleConsoleControl(t){this.consoleControlDisabled.set(!t),this.#t.setDisableConsoleControl(!t).pipe(zu(()=>this.updatingConsoleControl.set(false))).subscribe();}updatingDisableTrayIconLogin=Ge(false);disableTrayIconLogin=Ge(false);saveDisableTrayIconLogin(t){let e=t;this.updatingDisableTrayIconLogin.set(true),this.#t.setDisableTrayIconLogin(e).pipe(zu(()=>this.updatingDisableTrayIconLogin.set(false))).subscribe();}updatingHideConsoleConnectionStatus=Ge(false);saveHideConsoleConnectionStatus(t){this.updatingHideConsoleConnectionStatus.set(true),this.#t.setHideConsoleConnectionStatus(!t).pipe(zu(()=>this.updatingHideConsoleConnectionStatus.set(false))).subscribe();}updatingControllerIpcState=Ge(false);saveControllerIpcState(t){this.updatingControllerIpcState.set(true),this.#t.setControllerIpcState(!!t).pipe(zu(()=>this.updatingControllerIpcState.set(false))).subscribe();}showPassphraseForm=Ge(false);isUpdating=Ge(false);passphrase=Ge("");repeatPassphrase=Ge("");passwordUpdated=Ge(false);updatePassphrase(){this.passphrase()===this.repeatPassphrase()&&(this.isUpdating.set(true),this.#t.setRemoteAccessPassword(this.passphrase()).pipe(zu(()=>this.isUpdating.set(false))).subscribe({next:()=>{this.showPassphraseForm.set(false),this.passwordUpdated.set(true),setTimeout(()=>{this.passwordUpdated.set(false);},3e3);}}));}openPassphraseForm(){this.showPassphraseForm.set(true);}cancelPasswordChange(){this.showPassphraseForm.set(false);}languageOptions=Ge([...wt].sort((t,e)=>t.label.localeCompare(e.label)));powerModeOptions=Nt(()=>{let t=this.#e.systemInfo();return !t?.PowerModeProviders||t.PowerModeProviders.filter(e=>e!==""&&e!=="None").length==0?[]:t.PowerModeProviders.map(e=>({value:e==""?"default":e,label:e===""?$localize`Default`:e}))});usageStatisticsOptions=Ge(fe);timeTypeOptions=Ge(ni);timeType=Ge("none");timeValue=ti(0,300);timeRange=Nt(()=>this.timeType()==="h"?[1,24]:[1,60]);updateLocale(t){!t||t===""||t===this.previousLang||(this.#s.setItem("locale",t),window.location.reload());}updateTimeValue(t){this.timeValue.set(t),this.#_();}updateTimeType(t){this.timeType()==="none"&&this.timeValue.set(1),this.timeType.set(t),this.#_();}#l;#_(){this.#l&&clearTimeout(this.#l),this.#l=setTimeout(()=>{let t=this.timeValue(),e=this.timeType(),n=e==="none"||t===0?"":`${t}${e}`;n!==this.#t.serverSettings()?.["startup-delay"]&&this.#t.setStartupDelay(n).subscribe();},1e3);}updateUsageStatistics(t){let e=this.usageStatistics();t!==e&&(this.usageStatistics.set(t),this.updatingUsageStatistics.set(true),this.#t.setUsageReporterLevel(an(t)).subscribe());}updatePowerMode(t){this.powerModeCtrl()!==t&&(t==="default"&&(t=""),this.#t.setPowerModeProvider(t).subscribe());}serverSettingsEffect=za(()=>{let t=this.#t.serverSettings();if(t===void 0)return;let e=t["startup-delay"],n=e.slice(-1),s=e.slice(0,-1),l=["s","m","h"];this.disableTrayIconLogin.set(t["disable-tray-icon-login"]!=="False"),this.updateChannel.set(t["update-channel"]),this.allowRemoteAccess.set(t["server-listen-interface"]==="any"),this.allowedHostnames.set(t["allowed-hostnames"]),this.loadedAllowedHostnames.set(t["allowed-hostnames"]),this.consoleControlDisabled.set(t["disable-console-control"]==="True"),this.usageStatistics.set(sn(t["usage-reporter-level"])),this.timeType.set(e==""?"none":l.includes(n)?n:"none"),this.timeValue.set(e==""?0:parseInt(s));let E=t["power-mode-provider"]===""||t["power-mode-provider"]==null?"default":t["power-mode-provider"];this.powerModeCtrl.set(E);});setDarkMode(){this.#i.setDarkMode();}setLightMode(){this.#i.setLightMode();}changeDefaultClientTo(t){this.defaultClient()!==t&&(t==="ngax"?this.#n.open(h,{data:{title:$localize`Use legacy UI by default`,message:$localize`Are you sure you want to use the legacy user interface by default? This is not recommended unless you have a specific reason.`,confirmText:$localize`Use legacy UI by default`,cancelText:$localize`Cancel`},closed:e=>{e&&(window.location.href="/ngax",this.#c(t));}}):this.#c(t));}openLegacyUI(){this.#n.open(h,{data:{title:$localize`Open legacy UI`,message:$localize`Are you sure you want to open the legacy user interface? This is not recommended unless you have a specific reason.`,confirmText:$localize`Open legacy UI`,cancelText:$localize`Cancel`},closed:t=>{t&&window.open("/ngax","_blank");}});}#c(t){var e=new Date;e.setTime(e.getTime()+2160*60*60*1e3),document.cookie="default-client="+t+"; expires="+e.toUTCString()+"; path=/",this.defaultClient.set(t);}#d(){let t=document.cookie.split(";");for(let e=0;e<t.length;e++){let n=t[e].trim();if(n.startsWith("default-client="))return n.substring(15)}return "ngclient"}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=hw({type:i,selectors:[["app-settings"]],decls:130,vars:38,consts:()=>{let t;t=$localize`Settings`;let e;e=$localize`Configure your backup settings.`;let n;n=$localize`Color theme`;let s;s=$localize`Customize your application theme`;let l;l=$localize`Passwords`;let E;E=$localize`Change server passphrase`;let T;T=$localize`Language`;let m;m=$localize`Select a language for the platform`;let f;f=$localize`Use legacy interface`;let W;W=$localize`Use the old user interface, not recommended unless you have a specific reason.`;let ue;ue=$localize`${"\uFFFD#47\uFFFD"}:START_TAG_SH_ICON:arrow-square-right${"\uFFFD/#47\uFFFD"}:CLOSE_TAG_SH_ICON: Open legacy UI `;let J;J=$localize`${"\uFFFD#50\uFFFD"}:START_TAG_SH_ICON:swap${"\uFFFD/#50\uFFFD"}:CLOSE_TAG_SH_ICON:${"\uFFFD*51:1\uFFFD"}:START_BLOCK_IF:${"[\uFFFD#1:1\uFFFD|\uFFFD#1:2\uFFFD]"}:START_TAG_SPAN:Set current UI as default${"[\uFFFD/#1:1\uFFFD|\uFFFD/#1:2\uFFFD]"}:CLOSE_TAG_SPAN:${"\uFFFD/*51:1\uFFFD"}:CLOSE_BLOCK_IF:${"\uFFFD*52:2\uFFFD"}:START_BLOCK_ELSE:${"[\uFFFD#1:1\uFFFD|\uFFFD#1:2\uFFFD]"}:START_TAG_SPAN:Set legacy UI as default${"[\uFFFD/#1:1\uFFFD|\uFFFD/#1:2\uFFFD]"}:CLOSE_TAG_SPAN:${"\uFFFD/*52:2\uFFFD"}:CLOSE_BLOCK_ELSE:`,J=oC(J);let V;V=$localize`Allow remote access (requires restart)`;let Q;Q=$localize` By allowing remote access, the server listens to requests from any machine on your network. If you enable this option, make sure you are always using the computer on a secure firewall protected network. `;let Y;Y=$localize`Allow remote access`;let Me;Me=$localize`Prevent tray icon automatic log-in`;let Pe;Pe=$localize` By default, the tray icon will open the user interface with a token that unlocks the user interface. This ensures that you can access the user interface from the tray icon, while requiring others to enter a password. If you prefer having to type in the password, even when accessing the user interface from the tray icon, enable this option. `;let Oe;Oe=$localize`Prevent tray icon automatic log-in`;let be;be=$localize`Update channel`;let Re;Re=$localize` Default (${"\uFFFD0\uFFFD"}:INTERPOLATION:) `;let ve;ve=$localize`Same as the base install version: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let Ge;Ge=$localize`Stable`;let ye;ye=$localize`Official stable release.`;let Fe;Fe=$localize`Beta`;let $e;$e=$localize` Try out the new features that we are working on. Test a backup and restore before using this in production environments. `;let Ae;Ae=$localize`Experimental`;let Le;Le=$localize`Early previews of new features. Not for use with important data.`;let we;we=$localize`Canary`;let De;De=$localize`Builds for developers and testers only. Not for use with important data.`;let xe;xe=$localize`Pause after startup or hibernation`;let ke;ke=$localize` Duplicati will run when started, but will remain in paused state for the duration. Duplicati will occupy minimal system resources and no backups will be run. `;let Xe;Xe=$localize`Advanced options`;let Je;Je=$localize`Console connection status`;let Ve;Ve=$localize`Reporting configured by server`;let ze;ze=$localize`Connect to console`;let Ue;Ue=$localize`Configure console control`;let Be;Be=$localize` You can control various settings for the remote console connection. If you are not using the console, you can also hide the connection status indicator. `;let He;He=$localize` Remote control disabled ${"\uFFFD#2\uFFFD"}:START_TAG_SH_ICON:info${"\uFFFD/#2\uFFFD"}:CLOSE_TAG_SH_ICON:`;let We;We=$localize` Remote control enabled ${"\uFFFD#2\uFFFD"}:START_TAG_SH_ICON:info${"\uFFFD/#2\uFFFD"}:CLOSE_TAG_SH_ICON:`;let je;je=$localize` Console connection status is hidden ${"\uFFFD#2\uFFFD"}:START_TAG_SH_ICON:info${"\uFFFD/#2\uFFFD"}:CLOSE_TAG_SH_ICON:`;let qe;qe=$localize` Console connection status is visible ${"\uFFFD#2\uFFFD"}:START_TAG_SH_ICON:info${"\uFFFD/#2\uFFFD"}:CLOSE_TAG_SH_ICON:`;let Ke;Ke=$localize`Toggle console connection status`;let Qe;Qe=$localize`Toggle the visibility of the console connection status indicator.`;let Ye;Ye=$localize`Console connection status is hidden`;let Ze;Ze=$localize`Console connection status is visible`;let et;et=$localize`Enter new password`;let tt;tt=$localize`Repeat password`;let ge;ge=$localize`Password have to be filled and have to match`;let nt;nt=$localize`Passphrase`;let it;it=$localize`Repeat passphrase`;let ot;ot=$localize`Cancel`;let st;st=$localize` Update passphrase `;let at;at=$localize` Update passphrase `;let rt;rt=$localize`Change password`;let lt;lt=$localize`Allowed hostnames`;let _t;_t=$localize` To prevent various DNS based attacks, Duplicati limits the allowed hostnames to the ones listed here. Direct IP access and localhost is always allowed. Multiple hostnames can be supplied with a semicolon separator. If any of the allowed hostnames is an asterisk (*), all hostnames are allowed and this feature is disabled. If the field is empty, only IP address and localhost access is allowed. `;let ct;ct=$localize` Update allowed hostnames `;let dt;dt=$localize`Power mode provider`;let St;St=$localize` The power mode provider monitors the system for when it enters a low power state and pauses Duplicati. When the system resumes, Duplicati will resume as well. Choosing the None option disables detection of low power states and Duplicati will run all the time. `;let Tt;Tt=$localize`Installed version: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let ut;ut=$localize`Usage statistics`;let gt;gt=$localize` Usage reports help us improve the user experience and evaluate impact of new features. We use them to generate `;let pt;pt=$localize`public usage statistics.`;let Ct;Ct=$localize` All usage reports are sent anonymously and do not contain any personal information. They contain information about hardware and operating system, the type of backend, backup duration, overall size of source data and similar data. They do not contain paths, filenames, usernames, passwords or similar sensitive information. `;let mt;mt=$localize`Experimental options`;let Et;Et=$localize`Toggle experimental options.`;let Nt;Nt=$localize`Operations run in an isolated process`;let ht;return ht=$localize`Operations run inside the server process`,[t,e,n,s,l,E,T,m,f,W,ue,J,V,Q,Y,Me,Pe,Oe,be,Re,ve,Ge,ye,Fe,$e,Ae,Le,we,De,xe,ke,Xe,Je,Ve,ze,Ue,Be,He,We,je,qe,Ke,Qe,Ye,Ze,nt,it,ot,st,at,rt,lt,_t,ct,dt,St,Tt,ut,gt,pt,Ct,mt,Et,Nt,ht,[1,"content"],[1,"title"],[1,"left"],[1,"right"],[1,"themes"],["src","assets/images/light-theme.png","alt","light theme",3,"click"],["src","assets/images/dark-theme.png","alt","dark theme",3,"click"],[1,"right","passphrase-form"],[1,"actions"],["value","value","label","label",3,"options","isClearable","inlineSearch"],["type","text",3,"ngModelChange","ngModel","ngModelOptions"],[1,"right","buttons"],["shButton","",1,"primary",3,"click"],[1,"right","remote-access-form"],[1,"primary","raised",3,"checkedChange","checked"],[1,"indeterminate","primary"],[1,"right","radios"],[1,"radio-option",3,"click"],[1,"primary","raised",3,"checked"],[1,"field-row"],[1,"raised","primary",3,"unit"],["type","range",3,"ngModelChange","min","max","disabled","ngModel","ngModelOptions"],["label","label","value","value",3,"options","isClearable"],["type","text",3,"ngModelChange","ngModel"],[1,"advanced-settings"],[1,"reporting-url","primary","simple"],[1,"right","multiple"],["suffix","",3,"shTooltip"],["for","password"],["type","password","name","password","autocomplete","new-password","placeholder",et,"tabindex","1",3,"ngModelChange","ngModel"],["for","repeatPassword"],["type","password","name","repeatPassword","autocomplete","new-password","placeholder",tt,"tabindex","2",3,"ngModelChange","disabled","ngModel"],["suffix","",1,"sh-success"],["suffix",""],["shButton","",3,"click"],["shButton","",1,"raised","primary",3,"loading"],["shButton","","shTooltip",ge,1,"raised","primary",3,"loading","disabled"],["shButton","",1,"raised","primary",3,"click"],["shButton","","shTooltip",ge,1,"raised","primary",3,"click","disabled"],[1,"sh-success"],["for","allowedHostnames"],["type","text","id","allowedHostnames",3,"ngModelChange","ngModel"],["type","primary"],["value","value","label","label",3,"options","isClearable"],["href","https://usage-reporter.duplicati.com/","target","_blank"],["label","label","value","value",3,"options","isLoading"]]},template:function(e,n){e&1&&(Ig(0,"app-status-bar"),Qi(1,"div",65)(2,"header")(3,"div",66)(4,"h2"),nC(5,0),$l(),Qi(6,"p"),nC(7,1),$l()()(),aT(8,On,8,2,"section")(9,Ln,10,2),Qi(10,"section")(11,"div",67)(12,"h3"),nC(13,2),$l(),Qi(14,"p"),nC(15,3),$l()(),Qi(16,"div",68)(17,"div",69)(18,"img",70),Hg("click",function(){return n.setLightMode()}),$l(),Qi(19,"img",71),Hg("click",function(){return n.setDarkMode()}),$l()()()(),Qi(20,"section")(21,"div",67)(22,"h3"),nC(23,4),$l(),Qi(24,"p"),nC(25,5),$l()(),Qi(26,"div",72),aT(27,Xn,15,7)(28,Vn,4,1,"div",73),$l()(),Qi(29,"section")(30,"div",67)(31,"h3"),nC(32,6),$l(),Qi(33,"p"),nC(34,7),$l()(),Qi(35,"div",68)(36,"sh-select",74)(37,"input",75),Hg("ngModelChange",function(l){return n.updateLocale(l)}),$l(),CD(),$l()()(),Qi(38,"section")(39,"div",67)(40,"h3"),nC(41,8),$l(),Qi(42,"p"),nC(43,9),$l()(),Qi(44,"div",76)(45,"button",77),Hg("click",function(){return n.openLegacyUI()}),Fg(46,10),Ig(47,"sh-icon"),jg(),$l(),Qi(48,"button",77),Hg("click",function(){return n.changeDefaultClientTo(n.defaultClient()==="ngclient"?"ngax":"ngclient")}),Fg(49,11),Ig(50,"sh-icon"),aT(51,zn,2,0,"span")(52,Un,2,0,"span"),jg(),$l()()(),Qi(53,"section")(54,"div",67)(55,"h3"),nC(56,12),$l(),Qi(57,"p"),nC(58,13),$l()(),Qi(59,"div",78)(60,"sh-toggle",79),Hg("checkedChange",function(l){return n.updateRemoteAccess(l)}),Qi(61,"label"),nC(62,14),$l()(),aT(63,Bn,8,3),$l()(),Qi(64,"section")(65,"div",67)(66,"h3"),nC(67,15),$l(),Qi(68,"p"),nC(69,16),$l()(),Qi(70,"div",68)(71,"sh-toggle",79),Hg("checkedChange",function(l){return n.saveDisableTrayIconLogin(l)}),Qi(72,"label"),nC(73,17),$l()()()(),aT(74,Hn,9,5,"section"),Qi(75,"section")(76,"div",67)(77,"h3"),nC(78,18),$l(),aT(79,Wn,2,1,"p"),aT(80,jn,1,0,"sh-progress-bar",80),$l(),Qi(81,"div",81)(82,"div",82),Hg("click",function(){return n.setNewChannel("")}),Qi(83,"sh-radio",83),nC(84,19),$l(),Qi(85,"p"),nC(86,20),$l()(),Qi(87,"div",82),Hg("click",function(){return n.setNewChannel("stable")}),Qi(88,"sh-radio",83),nC(89,21),$l(),Qi(90,"p"),nC(91,22),$l()(),Qi(92,"div",82),Hg("click",function(){return n.setNewChannel("beta")}),Qi(93,"sh-radio",83),nC(94,23),$l(),Qi(95,"p"),nC(96,24),$l()(),Qi(97,"div",82),Hg("click",function(){return n.setNewChannel("experimental")}),Qi(98,"sh-radio",83),nC(99,25),$l(),Qi(100,"p"),nC(101,26),$l()(),Qi(102,"div",82),Hg("click",function(){return n.setNewChannel("canary")}),Qi(103,"sh-radio",83),nC(104,27),$l(),Qi(105,"p"),nC(106,28),$l()()()(),Qi(107,"section")(108,"div",67)(109,"h3"),nC(110,29),$l(),Qi(111,"p"),nC(112,30),$l()(),Qi(113,"div",68)(114,"div",84)(115,"sh-range-slider",85)(116,"input",86),lm("ngModelChange",function(l){return UC(n.timeValue,l)||(n.timeValue=l),l}),Hg("ngModelChange",function(l){return n.updateTimeValue(l)}),$l(),CD(),$l(),Qi(117,"sh-select",87)(118,"input",88),Hg("ngModelChange",function(l){return n.updateTimeType(l)}),$l(),CD(),cg(119,qn,1,1,"ng-template"),$l()()()(),aT(120,Qn,17,5,"section"),aT(121,ei,12,2,"section"),$l(),Ig(122,"sh-divider"),Qi(123,"div",65)(124,"section")(125,"div",89)(126,"h3"),nC(127,31),$l(),Ig(128,"app-advanced-options-settings"),$l()()(),Ig(129,"sh-divider")),e&2&&(CE(8),cT(n.isUsingRelay()?8:9),CE(10),Kg("active",!n.isDarkMode()),CE(),Kg("active",n.isDarkMode()),CE(8),cT(n.showPassphraseForm()?27:28),CE(9),vg("options",n.languageOptions())("isClearable",false)("inlineSearch",true),CE(),vg("ngModel",n.langCtrl())("ngModelOptions",KC(36,Te)),_D(),CE(14),cT(n.defaultClient()==="ngax"?51:52),CE(9),vg("checked",n.allowRemoteAccess()),CE(3),cT(n.allowRemoteAccess()?63:-1),CE(8),vg("checked",n.disableTrayIconLogin()),CE(3),cT(n.powerModeOptions().length>0?74:-1),CE(5),cT(n.sysinfo()?.ServerVersion?79:-1),CE(),cT(n.updatingChannel()?80:-1),CE(3),vg("checked",n.updateChannel()===""),CE(),Vg(n.sysinfo()?.DefaultUpdateChannel),rC(84),CE(2),Vg(n.sysinfo()?.ServerVersionType),rC(86),CE(2),vg("checked",n.updateChannel()==="stable"),CE(5),vg("checked",n.updateChannel()==="beta"),CE(5),vg("checked",n.updateChannel()==="experimental"),CE(5),vg("checked",n.updateChannel()==="canary"),CE(12),vg("unit",n.timeType()==="none"?"s":n.timeType()),CE(),vg("min",n.timeRange()[0])("max",n.timeRange()[1])("disabled",n.timeType()==="none"),cm("ngModel",n.timeValue),vg("ngModelOptions",KC(37,Te)),_D(),CE(),vg("options",n.timeTypeOptions())("isClearable",false),CE(),vg("ngModel",n.timeType()),_D(),CE(2),cT(n.usageStatisticsDisabled()?-1:120),CE(),cT(n.hasIpcController()?121:-1));},dependencies:[Bn$1,Ze,on,Rn$1,Jt,Gn$1,ee,Se,K,v,O$1,nn,d,J,at,Fe,N,c,ue,Nt$1,D],styles:["[_nghost-%COMP%]{display:block}.content[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:0 2rem 2rem}header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:2rem 0;background:var(--base-1);border-bottom:1px solid var(--base-4)}header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem}section[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;gap:1rem;padding:2rem 0;border-top:1px solid var(--base-4)}@media only screen and (max-width:768px){section[_ngcontent-%COMP%]{grid-template-columns:1fr}}section[_ngcontent-%COMP%]:first-of-type{border-top:0}section[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem;align-items:flex-start}section[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] sh-button-group[_ngcontent-%COMP%]{margin-top:.25rem}section[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-wrap:balance;width:50%}.passphrase-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;gap:1rem}.passphrase-form[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem}.remote-access-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem}.themes[_ngcontent-%COMP%]{display:flex;gap:.5rem}.themes[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:15rem;border-radius:var(--shape-3);cursor:pointer}.themes[_ngcontent-%COMP%] img.active[_ngcontent-%COMP%]{border:2px solid var(--primary-8)}.radios[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem}.radio-option[_ngcontent-%COMP%]{cursor:pointer}.radio-option[_ngcontent-%COMP%] sh-radio[_ngcontent-%COMP%]{color:var(--base-8);margin-bottom:.25rem}.radio-option[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-wrap:balance;color:var(--base-9)}.field-col[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem}.field-row[_ngcontent-%COMP%]{display:flex;gap:.5rem;width:100%}.field-row[_ngcontent-%COMP%] sh-form-field[_ngcontent-%COMP%], .field-row[_ngcontent-%COMP%] sh-select[_ngcontent-%COMP%]{flex:1 0}.advanced-settings[_ngcontent-%COMP%]{grid-column:1/-1;display:grid;grid-template-columns:auto 1fr;gap:1rem}.right.buttons[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:1rem}.right.multiple[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem}"]})};
|
|
4
|
-
export{ti as debounceSignal,Ie as default};
|