homebridge-config-ui-x 5.3.1-beta.8 → 5.4.0
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 +14 -4
- package/dist/bin/standalone.d.ts +2 -0
- package/dist/bin/standalone.js +58 -0
- package/dist/bin/standalone.js.map +1 -0
- package/dist/modules/platform-tools/terminal/terminal.service.js +26 -26
- package/dist/modules/platform-tools/terminal/terminal.service.js.map +1 -1
- package/dist/modules/server/server.service.js +1 -1
- package/package.json +4 -4
- package/public/assets/monaco-0.21.3/LICENSE +21 -0
- package/public/assets/monaco-0.21.3/README.md +96 -0
- package/public/assets/monaco-0.21.3/ThirdPartyNotices.txt +283 -0
- package/public/assets/monaco-0.21.3/min/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/public/assets/monaco-0.21.3/package.json +38 -0
- package/public/assets/service-icons/air-purifier.svg +50 -0
- package/public/assets/{hap-icons → service-icons}/air-quality-sensor.svg +2 -2
- package/public/assets/service-icons/carbon-dioxide-sensor.svg +53 -0
- package/public/assets/service-icons/carbon-monoxide-sensor.svg +53 -0
- package/public/assets/service-icons/contact-sensor.svg +45 -0
- package/public/assets/service-icons/door.svg +28 -0
- package/public/assets/service-icons/doorbell.svg +7 -0
- package/public/assets/service-icons/fan.svg +15 -0
- package/public/assets/service-icons/filter-maintenance.svg +54 -0
- package/public/assets/service-icons/garage-door.svg +120 -0
- package/public/assets/service-icons/microphone.svg +12 -0
- package/public/assets/service-icons/smoke-sensor.svg +38 -0
- package/public/assets/service-icons/speaker.svg +28 -0
- package/public/assets/service-icons/television.svg +17 -0
- package/public/assets/service-icons/washing-machine.svg +34 -0
- package/public/assets/service-icons/window-covering.svg +44 -0
- package/public/assets/service-icons/window.svg +67 -0
- package/public/{chunk-2JIV277Z.js → chunk-2HZOWWRB.js} +1 -1
- package/public/{chunk-XWQ3MP3R.js → chunk-2TDOLECC.js} +1 -1
- package/public/chunk-2ZM2CO7S.js +1 -0
- package/public/{chunk-KKMV35EJ.js → chunk-3JNJJOX6.js} +1 -1
- package/public/{chunk-ALZRCF67.js → chunk-3L7PIOD5.js} +1 -1
- package/public/{chunk-AKD24HZC.js → chunk-3QBYXJ7T.js} +1 -1
- package/public/{chunk-YWMVRJI5.js → chunk-3WCZQYFM.js} +1 -1
- package/public/{chunk-N2AJOFIZ.js → chunk-4A6F5427.js} +1 -1
- package/public/{chunk-J23T3NRY.js → chunk-4I4YTNGD.js} +1 -1
- package/public/{chunk-PWD63BNX.js → chunk-5FOJUOIT.js} +1 -1
- package/public/chunk-645YHJEQ.js +4 -0
- package/public/{chunk-VQIHIGLC.js → chunk-6BITWEO6.js} +1 -1
- package/public/{chunk-25NXLXGL.js → chunk-6HJHVJPI.js} +1 -1
- package/public/chunk-6NW4EKE6.js +4 -0
- package/public/{chunk-Q5XUVLJA.js → chunk-73PB5ERF.js} +1 -1
- package/public/{chunk-IXXVSSF7.js → chunk-7M4GTFPB.js} +1 -1
- package/public/{chunk-B2VW3ZQI.js → chunk-7NWB7MN6.js} +1 -1
- package/public/chunk-BHQK7H4B.js +1 -0
- package/public/{chunk-V5ZUMJ2X.js → chunk-BLNEXUND.js} +1 -1
- package/public/{chunk-GR3ILWWZ.js → chunk-BQ7Q4FRF.js} +1 -1
- package/public/chunk-CLGDJPWG.js +12 -0
- package/public/{chunk-AAPPFSR7.js → chunk-DCEE4BJT.js} +1 -1
- package/public/{chunk-RPRM66DV.js → chunk-DYB33NRF.js} +1 -1
- package/public/{chunk-WBB65MTJ.js → chunk-EKINPADV.js} +1 -1
- package/public/{chunk-UPWD7C23.js → chunk-EQHN6CPG.js} +1 -1
- package/public/{chunk-3T4CLJZB.js → chunk-EZQF5CUM.js} +1 -1
- package/public/{chunk-GHVVXIDF.js → chunk-F6NZALU5.js} +1 -1
- package/public/{chunk-LBAYQDOV.js → chunk-FG5QICVJ.js} +1 -1
- package/public/{chunk-3QFXC5X6.js → chunk-FIQUQJTU.js} +1 -1
- package/public/{chunk-6YLJWQUB.js → chunk-FKZEDXUZ.js} +1 -1
- package/public/chunk-FYDO54CR.js +1 -0
- package/public/{chunk-MJK6N6PA.js → chunk-FYI7RHOJ.js} +1 -1
- package/public/{chunk-S7AIVWKK.js → chunk-G6KV6PYE.js} +1 -1
- package/public/chunk-GNULJZ2P.js +1 -0
- package/public/{chunk-H337OZRD.js → chunk-HHGB2T2Q.js} +1 -1
- package/public/{chunk-2FTHA637.js → chunk-HO4UVRDI.js} +1 -1
- package/public/{chunk-FBTBVR2O.js → chunk-HSAZV5QQ.js} +1 -1
- package/public/{chunk-R33OISYU.js → chunk-IAVKQO7M.js} +1 -1
- package/public/{chunk-RHCMG64A.js → chunk-JCYDPJQ5.js} +1 -1
- package/public/chunk-KLQ6BEKS.js +2 -0
- package/public/chunk-KPOP67KE.js +1 -0
- package/public/{chunk-VPU5FNT3.js → chunk-KYB236MX.js} +1 -1
- package/public/{chunk-23FYLGHC.js → chunk-LJDW32KF.js} +16 -14
- package/public/{chunk-F3MG6UU6.js → chunk-M4QDQWSG.js} +1 -1
- package/public/chunk-O7RJ6JXM.js +1 -0
- package/public/{chunk-CNMZOW2D.js → chunk-OMGXHYZA.js} +1 -1
- package/public/{chunk-DSUQJPY2.js → chunk-OSQ37ZQY.js} +1 -1
- package/public/{chunk-HWMBWLXB.js → chunk-OW6LBBVH.js} +1 -1
- package/public/{chunk-NO7RIAKI.js → chunk-PPSFRNJC.js} +1 -1
- package/public/{chunk-GWJ7ISZW.js → chunk-QL5UNVZO.js} +1 -1
- package/public/{chunk-EMOJK6NQ.js → chunk-QM6QRTMV.js} +1 -1
- package/public/{chunk-76XPFTSX.js → chunk-QZWC7RP4.js} +1 -1
- package/public/{chunk-JXNVM6CK.js → chunk-R6KN5Y43.js} +1 -1
- package/public/{chunk-UKEZ5GGN.js → chunk-RCYYU6LQ.js} +1 -1
- package/public/{chunk-V2JQMGNW.js → chunk-RGXCQLZU.js} +1 -1
- package/public/{chunk-S7D4ALZN.js → chunk-RZ4UMDVF.js} +1 -1
- package/public/{chunk-7RYLBOQ5.js → chunk-TOI5IERI.js} +1 -1
- package/public/{chunk-JAZMMXSA.js → chunk-U4UZ4WQX.js} +1 -1
- package/public/{chunk-TJCBCOGJ.js → chunk-U52WKM74.js} +1 -1
- package/public/{chunk-JNVGCARV.js → chunk-UFFQKHXE.js} +1 -1
- package/public/{chunk-O4DNLPYF.js → chunk-ULWO2VVV.js} +1 -1
- package/public/{chunk-IMT3YYMD.js → chunk-V35TPDVW.js} +1 -1
- package/public/{chunk-VRIOVBXE.js → chunk-V7OQR5Y4.js} +1 -1
- package/public/{chunk-BNM7RGNK.js → chunk-VJOMQ46T.js} +1 -1
- package/public/{chunk-OIOLFXMO.js → chunk-VRXR6ACJ.js} +1 -1
- package/public/{chunk-V2QWJKFB.js → chunk-WG533VX7.js} +1 -1
- package/public/{chunk-RMRJFNIT.js → chunk-YPZJFK3W.js} +1 -1
- package/public/chunk-Z6DMMN6D.js +1 -0
- package/public/{chunk-BSXHN5WA.js → chunk-ZO74PVYQ.js} +1 -1
- package/public/index.html +2 -2
- package/public/main-HN6ISZGH.js +1 -0
- package/public/media/fa-brands-400-Q3XCMWHQ.woff2 +0 -0
- package/public/media/fa-brands-400-R2XQZCET.ttf +0 -0
- package/public/media/fa-regular-400-QSNYFYRT.woff2 +0 -0
- package/public/media/fa-regular-400-XUOPSR7E.ttf +0 -0
- package/public/media/fa-solid-900-5ZUYHGA7.woff2 +0 -0
- package/public/media/fa-solid-900-PJNKLK6W.ttf +0 -0
- package/public/styles-XESJTHVW.css +1 -0
- package/public/assets/hap-icons/air-purifier.svg +0 -62
- package/public/assets/hap-icons/carbon-dioxide-sensor.svg +0 -72
- package/public/assets/hap-icons/carbon-monoxide-sensor.svg +0 -72
- package/public/assets/hap-icons/contact-sensor-closed.svg +0 -36
- package/public/assets/hap-icons/contact-sensor-open.svg +0 -81
- package/public/assets/hap-icons/door-closed.svg +0 -33
- package/public/assets/hap-icons/door-open.svg +0 -49
- package/public/assets/hap-icons/doorbell.svg +0 -9
- package/public/assets/hap-icons/fan-off.svg +0 -25
- package/public/assets/hap-icons/fan-on.svg +0 -25
- package/public/assets/hap-icons/filter-maintenance.svg +0 -26
- package/public/assets/hap-icons/garage-door.svg +0 -25
- package/public/assets/hap-icons/microphone.svg +0 -14
- package/public/assets/hap-icons/smoke-sensor.svg +0 -59
- package/public/assets/hap-icons/speaker.svg +0 -46
- package/public/assets/hap-icons/television.svg +0 -16
- package/public/assets/hap-icons/window-closed.svg +0 -86
- package/public/assets/hap-icons/window-covering-closed.svg +0 -49
- package/public/assets/hap-icons/window-covering-open.svg +0 -44
- package/public/assets/hap-icons/window-open.svg +0 -137
- package/public/chunk-7CDOEUGY.js +0 -1
- package/public/chunk-CPAHENLQ.js +0 -1
- package/public/chunk-ESQQ74VV.js +0 -4
- package/public/chunk-HEUWGOF3.js +0 -1
- package/public/chunk-LPDYQHMD.js +0 -1
- package/public/chunk-RJOGO4M5.js +0 -2
- package/public/chunk-SPLSJVTN.js +0 -1
- package/public/chunk-SW6PIZF7.js +0 -1
- package/public/chunk-TTMAUECI.js +0 -12
- package/public/chunk-WEVBEUAJ.js +0 -4
- package/public/chunk-YL2ITUR4.js +0 -1
- package/public/main-I34D7ZNT.js +0 -1
- package/public/media/fa-brands-400-WVWUIHCX.woff2 +0 -0
- package/public/media/fa-regular-400-I5DJMINO.woff2 +0 -0
- package/public/media/fa-solid-900-C5F6UWGT.woff2 +0 -0
- package/public/styles-LG2MDN7O.css +0 -1
- /package/public/assets/{monaco → monaco-0.21.3}/min/vs/base/worker/workerMain.js +0 -0
- /package/public/assets/{monaco → monaco-0.21.3}/min/vs/basic-languages/shell/shell.js +0 -0
- /package/public/assets/{monaco → monaco-0.21.3}/min/vs/editor/editor.main.css +0 -0
- /package/public/assets/{monaco → monaco-0.21.3}/min/vs/editor/editor.main.js +0 -0
- /package/public/assets/{monaco → monaco-0.21.3}/min/vs/editor/editor.main.nls.js +0 -0
- /package/public/assets/{monaco → monaco-0.21.3}/min/vs/language/json/jsonMode.js +0 -0
- /package/public/assets/{monaco → monaco-0.21.3}/min/vs/language/json/jsonWorker.js +0 -0
- /package/public/assets/{monaco → monaco-0.21.3}/min/vs/loader.js +0 -0
- /package/public/assets/{hap-icons → service-icons}/robot-vacuum.svg +0 -0
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
<svg
|
|
2
|
-
width="32px"
|
|
3
|
-
height="32px"
|
|
4
|
-
viewBox="0 0 32 32"
|
|
5
|
-
version="1.1"
|
|
6
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
7
|
-
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
8
|
-
>
|
|
9
|
-
<g>
|
|
10
|
-
<title>speaker</title>
|
|
11
|
-
<!-- Speaker path -->
|
|
12
|
-
<path
|
|
13
|
-
stroke="#7f7f7f"
|
|
14
|
-
id="speaker"
|
|
15
|
-
d="m2.63366,10.44981l0,11.04296l6.25803,0l8.3897,7.72829l0,-26.49955l-8.38553,7.7283l-6.26221,0z"
|
|
16
|
-
fill-opacity="null"
|
|
17
|
-
stroke-opacity="null"
|
|
18
|
-
stroke-width="2"
|
|
19
|
-
fill="none"
|
|
20
|
-
/>
|
|
21
|
-
|
|
22
|
-
<!-- First wave -->
|
|
23
|
-
<path
|
|
24
|
-
stroke="none"
|
|
25
|
-
id="wave1"
|
|
26
|
-
d="m21.86025,22.54724c1.7013,-1.70615 2.7538,-4.07114 2.75518,-6.67943c0.00138,-2.60829 -1.05806,-4.98158 -2.75796,-6.68786"
|
|
27
|
-
fill-opacity="null"
|
|
28
|
-
stroke-opacity="null"
|
|
29
|
-
stroke-width="2"
|
|
30
|
-
fill="none"
|
|
31
|
-
class="wave"
|
|
32
|
-
/>
|
|
33
|
-
|
|
34
|
-
<!-- Second wave -->
|
|
35
|
-
<path
|
|
36
|
-
stroke="none"
|
|
37
|
-
id="wave2"
|
|
38
|
-
d="m25.06092,26.02826c2.51718,-2.53001 4.07787,-6.03471 4.07506,-9.89195c0.00141,-3.86001 -1.55925,-7.3675 -4.08062,-9.8947"
|
|
39
|
-
fill-opacity="null"
|
|
40
|
-
stroke-opacity="null"
|
|
41
|
-
stroke-width="2"
|
|
42
|
-
fill="none"
|
|
43
|
-
class="wave"
|
|
44
|
-
/>
|
|
45
|
-
</g>
|
|
46
|
-
</svg>
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" ?>
|
|
2
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
3
|
-
<svg
|
|
4
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
5
|
-
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
6
|
-
version="1.1"
|
|
7
|
-
width="24"
|
|
8
|
-
height="24"
|
|
9
|
-
viewBox="0 0 24 24"
|
|
10
|
-
>
|
|
11
|
-
<path
|
|
12
|
-
id="accessoryIcon"
|
|
13
|
-
fill="#666666"
|
|
14
|
-
d="M21,17H3V5H21M21,3H3A2,2 0 0,0 1,5V17A2,2 0 0,0 3,19H8V21H16V19H21A2,2 0 0,0 23,17V5A2,2 0 0,0 21,3Z"
|
|
15
|
-
/>
|
|
16
|
-
</svg>
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
|
2
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
3
|
-
<svg
|
|
4
|
-
version="1.1"
|
|
5
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
6
|
-
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
7
|
-
preserveAspectRatio="xMidYMid meet"
|
|
8
|
-
viewBox="0 0 640 640"
|
|
9
|
-
width="640"
|
|
10
|
-
height="640"
|
|
11
|
-
>
|
|
12
|
-
<defs>
|
|
13
|
-
<path
|
|
14
|
-
d="M506.35 123.61L506.35 506.98L133.65 506.98L133.65 123.61L506.35 123.61M112.94 536.47L527.06 536.47L527.06 94.12L527.06 94.12L112.94 94.12L112.94 536.47Z"
|
|
15
|
-
id="f2pCRcSgv"
|
|
16
|
-
/>
|
|
17
|
-
<path
|
|
18
|
-
d="M506.35 123.61L506.35 506.98L133.65 506.98L133.65 123.61L506.35 123.61M112.94 536.47L527.06 536.47L527.06 94.12L527.06 94.12L112.94 94.12L112.94 536.47Z"
|
|
19
|
-
id="jvy0XBu5M"
|
|
20
|
-
/>
|
|
21
|
-
<path
|
|
22
|
-
d="M329.41 94.12C329.41 359.53 329.41 506.98 329.41 536.47C329.41 536.47 329.41 536.47 329.41 536.47C318.12 536.47 311.84 536.47 310.59 536.47C310.59 536.47 310.59 536.47 310.59 536.47C310.59 271.06 310.59 123.61 310.59 94.12C310.59 94.12 310.59 94.12 310.59 94.12C321.88 94.12 328.16 94.12 329.41 94.12C329.41 94.12 329.41 94.12 329.41 94.12Z"
|
|
23
|
-
id="eTErwsP1o"
|
|
24
|
-
/>
|
|
25
|
-
<path
|
|
26
|
-
d="M329.41 94.12C329.41 359.53 329.41 506.98 329.41 536.47C329.41 536.47 329.41 536.47 329.41 536.47C318.12 536.47 311.84 536.47 310.59 536.47C310.59 536.47 310.59 536.47 310.59 536.47C310.59 271.06 310.59 123.61 310.59 94.12C310.59 94.12 310.59 94.12 310.59 94.12C321.88 94.12 328.16 94.12 329.41 94.12C329.41 94.12 329.41 94.12 329.41 94.12Z"
|
|
27
|
-
id="f1QuyuvIlz"
|
|
28
|
-
/>
|
|
29
|
-
</defs>
|
|
30
|
-
<g>
|
|
31
|
-
<g>
|
|
32
|
-
<g>
|
|
33
|
-
<use xlink:href="#f2pCRcSgv" opacity="1" fill="#666666" fill-opacity="1" />
|
|
34
|
-
<g>
|
|
35
|
-
<use
|
|
36
|
-
xlink:href="#f2pCRcSgv"
|
|
37
|
-
opacity="1"
|
|
38
|
-
fill-opacity="0"
|
|
39
|
-
stroke="#000000"
|
|
40
|
-
stroke-width="1"
|
|
41
|
-
stroke-opacity="0"
|
|
42
|
-
/>
|
|
43
|
-
</g>
|
|
44
|
-
</g>
|
|
45
|
-
<g>
|
|
46
|
-
<use xlink:href="#jvy0XBu5M" opacity="1" fill="#666666" fill-opacity="0" />
|
|
47
|
-
<g>
|
|
48
|
-
<use
|
|
49
|
-
xlink:href="#jvy0XBu5M"
|
|
50
|
-
opacity="1"
|
|
51
|
-
fill-opacity="0"
|
|
52
|
-
stroke="#000000"
|
|
53
|
-
stroke-width="1"
|
|
54
|
-
stroke-opacity="0"
|
|
55
|
-
/>
|
|
56
|
-
</g>
|
|
57
|
-
</g>
|
|
58
|
-
<g>
|
|
59
|
-
<use xlink:href="#eTErwsP1o" opacity="1" fill="#666666" fill-opacity="1" />
|
|
60
|
-
<g>
|
|
61
|
-
<use
|
|
62
|
-
xlink:href="#eTErwsP1o"
|
|
63
|
-
opacity="1"
|
|
64
|
-
fill-opacity="0"
|
|
65
|
-
stroke="#000000"
|
|
66
|
-
stroke-width="1"
|
|
67
|
-
stroke-opacity="0"
|
|
68
|
-
/>
|
|
69
|
-
</g>
|
|
70
|
-
</g>
|
|
71
|
-
<g>
|
|
72
|
-
<use xlink:href="#f1QuyuvIlz" opacity="1" fill="#000000" fill-opacity="0" />
|
|
73
|
-
<g>
|
|
74
|
-
<use
|
|
75
|
-
xlink:href="#f1QuyuvIlz"
|
|
76
|
-
opacity="1"
|
|
77
|
-
fill-opacity="0"
|
|
78
|
-
stroke="#000000"
|
|
79
|
-
stroke-width="1"
|
|
80
|
-
stroke-opacity="0"
|
|
81
|
-
/>
|
|
82
|
-
</g>
|
|
83
|
-
</g>
|
|
84
|
-
</g>
|
|
85
|
-
</g>
|
|
86
|
-
</svg>
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8" ?>
|
|
2
|
-
<!-- Generator: Adobe Illustrator 23.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
-
<svg
|
|
4
|
-
version="1.1"
|
|
5
|
-
id="Ebene_1"
|
|
6
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
7
|
-
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
8
|
-
x="0px"
|
|
9
|
-
y="0px"
|
|
10
|
-
viewBox="0 0 68 56"
|
|
11
|
-
style="enable-background:new 0 0 68 56;"
|
|
12
|
-
xml:space="preserve"
|
|
13
|
-
>
|
|
14
|
-
<style type="text/css">
|
|
15
|
-
.st0 {
|
|
16
|
-
fill: #666666;
|
|
17
|
-
}
|
|
18
|
-
</style>
|
|
19
|
-
<g id="Layer_1" />
|
|
20
|
-
<g id="bell_x5F_icon_x5F_large" />
|
|
21
|
-
<g id="security_x5F_icon_x5F_large" />
|
|
22
|
-
<g id="camera_x5F_icon_x5F_large" />
|
|
23
|
-
<g id="bridges_x5F_icon_x5F_large" />
|
|
24
|
-
<g id="light_x5F_icon_x5F_large" />
|
|
25
|
-
<g id="sensors_x5F_icon_x5F_large" />
|
|
26
|
-
<g id="ac_x5F_icon_x5F_large" />
|
|
27
|
-
<g id="fan_x5F_icon_x5F_large" />
|
|
28
|
-
<g id="outlet_x5F_icon_x5F_large" />
|
|
29
|
-
<g id="garage_x5F_icon_x5F_large" />
|
|
30
|
-
<g id="humidifier_x5F_icon_x5F_large" />
|
|
31
|
-
<g id="heating_x5F_icon_x5F_large" />
|
|
32
|
-
<g id="locks_x5F_icon_x5F_large" />
|
|
33
|
-
<g id="shades_x5F_icon_x5F_large">
|
|
34
|
-
<g>
|
|
35
|
-
<path class="st0" d="M54,6v16H14V6H54 M56,4H12v20h44V4L56,4z" />
|
|
36
|
-
</g>
|
|
37
|
-
<g>
|
|
38
|
-
<path class="st0" d="M52,24v26H16V24H52 M54,22H14v30h40V22L54,22z" />
|
|
39
|
-
</g>
|
|
40
|
-
<rect x="33" y="23.4" class="st0" width="2" height="27.6" />
|
|
41
|
-
<rect x="14" y="46" class="st0" width="38" height="2" />
|
|
42
|
-
<rect x="15" y="42" class="st0" width="38" height="2" />
|
|
43
|
-
<rect x="15" y="37.8" class="st0" width="38" height="2" />
|
|
44
|
-
<rect x="15" y="33.3" class="st0" width="38" height="2" />
|
|
45
|
-
<rect x="15.2" y="29.3" class="st0" width="38" height="2" />
|
|
46
|
-
<rect x="15.1" y="25.3" class="st0" width="38" height="2" />
|
|
47
|
-
</g>
|
|
48
|
-
<g id="purifiers_x5F_icon_x5F_large" />
|
|
49
|
-
</svg>
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8" ?>
|
|
2
|
-
<!-- Generator: Adobe Illustrator 23.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
-
<svg
|
|
4
|
-
version="1.1"
|
|
5
|
-
id="Ebene_1"
|
|
6
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
7
|
-
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
8
|
-
x="0px"
|
|
9
|
-
y="0px"
|
|
10
|
-
viewBox="0 0 68 56"
|
|
11
|
-
style="enable-background:new 0 0 68 56;"
|
|
12
|
-
xml:space="preserve"
|
|
13
|
-
>
|
|
14
|
-
<style type="text/css">
|
|
15
|
-
.st0 {
|
|
16
|
-
fill: #00acff;
|
|
17
|
-
}
|
|
18
|
-
</style>
|
|
19
|
-
<g id="Layer_1" />
|
|
20
|
-
<g id="bell_x5F_icon_x5F_large" />
|
|
21
|
-
<g id="security_x5F_icon_x5F_large" />
|
|
22
|
-
<g id="camera_x5F_icon_x5F_large" />
|
|
23
|
-
<g id="bridges_x5F_icon_x5F_large" />
|
|
24
|
-
<g id="light_x5F_icon_x5F_large" />
|
|
25
|
-
<g id="sensors_x5F_icon_x5F_large" />
|
|
26
|
-
<g id="ac_x5F_icon_x5F_large" />
|
|
27
|
-
<g id="fan_x5F_icon_x5F_large" />
|
|
28
|
-
<g id="outlet_x5F_icon_x5F_large" />
|
|
29
|
-
<g id="garage_x5F_icon_x5F_large" />
|
|
30
|
-
<g id="humidifier_x5F_icon_x5F_large" />
|
|
31
|
-
<g id="heating_x5F_icon_x5F_large" />
|
|
32
|
-
<g id="locks_x5F_icon_x5F_large" />
|
|
33
|
-
<g id="shades_x5F_icon_x5F_large">
|
|
34
|
-
<g>
|
|
35
|
-
<path class="st0" d="M54,6v16H14V6H54 M56,4H12v20h44V4L56,4z" />
|
|
36
|
-
</g>
|
|
37
|
-
<g>
|
|
38
|
-
<path class="st0" d="M52,24v26H16V24H52 M54,22H14v30h40V22L54,22z" />
|
|
39
|
-
</g>
|
|
40
|
-
<rect x="33" y="23.4" class="st0" width="2" height="27.6" />
|
|
41
|
-
<rect x="15.1" y="25.3" class="st0" width="38" height="2" />
|
|
42
|
-
</g>
|
|
43
|
-
<g id="purifiers_x5F_icon_x5F_large" />
|
|
44
|
-
</svg>
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
|
2
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
3
|
-
<svg
|
|
4
|
-
version="1.1"
|
|
5
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
6
|
-
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
7
|
-
preserveAspectRatio="xMidYMid meet"
|
|
8
|
-
viewBox="0 0 640 640"
|
|
9
|
-
width="640"
|
|
10
|
-
height="640"
|
|
11
|
-
>
|
|
12
|
-
<defs>
|
|
13
|
-
<path
|
|
14
|
-
d="M506.35 123.61L506.35 506.98L133.65 506.98L133.65 123.61L506.35 123.61M112.94 94.12L112.94 536.47L527.06 536.47L527.06 94.12L527.06 94.12L112.94 94.12Z"
|
|
15
|
-
id="b4Fl6hSQ5v"
|
|
16
|
-
/>
|
|
17
|
-
<path
|
|
18
|
-
d="M247.89 467.69C247.89 467.69 247.89 467.69 247.89 467.69C170.82 495.74 128 511.32 119.44 514.43C119.44 514.43 119.44 514.43 119.44 514.43C115.58 503.82 113.43 497.92 113 496.75C113 496.75 113 496.75 113 496.75C190.07 468.7 232.89 453.12 241.45 450C241.45 450 241.45 450 241.45 450C245.31 460.61 247.46 466.51 247.89 467.69Z"
|
|
19
|
-
id="e29097qVAi"
|
|
20
|
-
/>
|
|
21
|
-
<path
|
|
22
|
-
d="M247.63 150.94C247.63 150.94 247.63 150.94 247.63 150.94C247.73 340.57 247.79 445.92 247.8 466.99C247.8 466.99 247.8 466.99 247.8 466.99C236.5 467 230.23 467 228.97 467C228.97 467 228.97 467 228.97 467C228.87 277.37 228.82 172.02 228.81 150.95C228.81 150.95 228.81 150.95 228.81 150.95C240.1 150.95 246.38 150.95 247.63 150.94Z"
|
|
23
|
-
id="b4gFt7F5c5"
|
|
24
|
-
/>
|
|
25
|
-
<path
|
|
26
|
-
d="M241.45 169.44C241.45 169.44 241.45 169.44 241.45 169.44C164.38 141.39 121.57 125.8 113 122.69C113 122.69 113 122.69 113 122.69C116.87 112.07 119.01 106.18 119.44 105C119.44 105 119.44 105 119.44 105C196.51 133.05 239.32 148.64 247.89 151.75C247.89 151.75 247.89 151.75 247.89 151.75C244.02 162.36 241.88 168.26 241.45 169.44Z"
|
|
27
|
-
id="a16AiNZUmY"
|
|
28
|
-
/>
|
|
29
|
-
<path
|
|
30
|
-
d="M519.45 514.43C519.45 514.43 519.45 514.43 519.45 514.43C442.38 486.38 399.56 470.8 391 467.69C391 467.69 391 467.69 391 467.69C394.86 457.08 397.01 451.18 397.44 450C397.44 450 397.44 450 397.44 450C474.51 478.04 517.32 493.62 525.89 496.74C525.89 496.74 525.89 496.74 525.89 496.74C522.02 507.35 519.88 513.25 519.45 514.43Z"
|
|
31
|
-
id="b1uuBEfib"
|
|
32
|
-
/>
|
|
33
|
-
<path
|
|
34
|
-
d="M410.48 151.94C410.48 151.94 410.48 151.94 410.48 151.94C410.57 341.57 410.63 446.92 410.64 467.99C410.64 467.99 410.64 467.99 410.64 467.99C399.35 468 393.07 468 391.82 468C391.82 468 391.82 468 391.82 468C391.72 278.37 391.66 173.02 391.65 151.95C391.65 151.95 391.65 151.95 391.65 151.95C402.95 151.95 409.22 151.95 410.48 151.94Z"
|
|
35
|
-
id="bAmqCK33"
|
|
36
|
-
/>
|
|
37
|
-
<path
|
|
38
|
-
d="M525.88 122.69C525.88 122.69 525.88 122.69 525.88 122.69C448.81 150.74 406 166.32 397.43 169.44C397.43 169.44 397.43 169.44 397.43 169.44C393.57 158.82 391.43 152.93 391 151.75C391 151.75 391 151.75 391 151.75C468.07 123.7 510.88 108.12 519.44 105C519.44 105 519.44 105 519.44 105C523.31 115.61 525.45 121.51 525.88 122.69Z"
|
|
39
|
-
id="c3F93mW3Nx"
|
|
40
|
-
/>
|
|
41
|
-
</defs>
|
|
42
|
-
<g>
|
|
43
|
-
<g>
|
|
44
|
-
<g>
|
|
45
|
-
<use xlink:href="#b4Fl6hSQ5v" opacity="1" fill="#f9bd2b" fill-opacity="1" />
|
|
46
|
-
<g>
|
|
47
|
-
<use
|
|
48
|
-
xlink:href="#b4Fl6hSQ5v"
|
|
49
|
-
opacity="1"
|
|
50
|
-
fill-opacity="0"
|
|
51
|
-
stroke="#000000"
|
|
52
|
-
stroke-width="1"
|
|
53
|
-
stroke-opacity="0"
|
|
54
|
-
/>
|
|
55
|
-
</g>
|
|
56
|
-
</g>
|
|
57
|
-
<g>
|
|
58
|
-
<use xlink:href="#e29097qVAi" opacity="1" fill="#f9bd2b" fill-opacity="1" />
|
|
59
|
-
<g>
|
|
60
|
-
<use
|
|
61
|
-
xlink:href="#e29097qVAi"
|
|
62
|
-
opacity="1"
|
|
63
|
-
fill-opacity="0"
|
|
64
|
-
stroke="#000000"
|
|
65
|
-
stroke-width="1"
|
|
66
|
-
stroke-opacity="0"
|
|
67
|
-
/>
|
|
68
|
-
</g>
|
|
69
|
-
</g>
|
|
70
|
-
<g>
|
|
71
|
-
<use xlink:href="#b4gFt7F5c5" opacity="1" fill="#f9bd2b" fill-opacity="1" />
|
|
72
|
-
<g>
|
|
73
|
-
<use
|
|
74
|
-
xlink:href="#b4gFt7F5c5"
|
|
75
|
-
opacity="1"
|
|
76
|
-
fill-opacity="0"
|
|
77
|
-
stroke="#000000"
|
|
78
|
-
stroke-width="1"
|
|
79
|
-
stroke-opacity="0"
|
|
80
|
-
/>
|
|
81
|
-
</g>
|
|
82
|
-
</g>
|
|
83
|
-
<g>
|
|
84
|
-
<use xlink:href="#a16AiNZUmY" opacity="1" fill="#f9bd2b" fill-opacity="1" />
|
|
85
|
-
<g>
|
|
86
|
-
<use
|
|
87
|
-
xlink:href="#a16AiNZUmY"
|
|
88
|
-
opacity="1"
|
|
89
|
-
fill-opacity="0"
|
|
90
|
-
stroke="#000000"
|
|
91
|
-
stroke-width="1"
|
|
92
|
-
stroke-opacity="0"
|
|
93
|
-
/>
|
|
94
|
-
</g>
|
|
95
|
-
</g>
|
|
96
|
-
<g>
|
|
97
|
-
<use xlink:href="#b1uuBEfib" opacity="1" fill="#f9bd2b" fill-opacity="1" />
|
|
98
|
-
<g>
|
|
99
|
-
<use
|
|
100
|
-
xlink:href="#b1uuBEfib"
|
|
101
|
-
opacity="1"
|
|
102
|
-
fill-opacity="0"
|
|
103
|
-
stroke="#000000"
|
|
104
|
-
stroke-width="1"
|
|
105
|
-
stroke-opacity="0"
|
|
106
|
-
/>
|
|
107
|
-
</g>
|
|
108
|
-
</g>
|
|
109
|
-
<g>
|
|
110
|
-
<use xlink:href="#bAmqCK33" opacity="1" fill="#f9bd2b" fill-opacity="1" />
|
|
111
|
-
<g>
|
|
112
|
-
<use
|
|
113
|
-
xlink:href="#bAmqCK33"
|
|
114
|
-
opacity="1"
|
|
115
|
-
fill-opacity="0"
|
|
116
|
-
stroke="#000000"
|
|
117
|
-
stroke-width="1"
|
|
118
|
-
stroke-opacity="0"
|
|
119
|
-
/>
|
|
120
|
-
</g>
|
|
121
|
-
</g>
|
|
122
|
-
<g>
|
|
123
|
-
<use xlink:href="#c3F93mW3Nx" opacity="1" fill="#f9bd2b" fill-opacity="1" />
|
|
124
|
-
<g>
|
|
125
|
-
<use
|
|
126
|
-
xlink:href="#c3F93mW3Nx"
|
|
127
|
-
opacity="1"
|
|
128
|
-
fill-opacity="0"
|
|
129
|
-
stroke="#000000"
|
|
130
|
-
stroke-width="1"
|
|
131
|
-
stroke-opacity="0"
|
|
132
|
-
/>
|
|
133
|
-
</g>
|
|
134
|
-
</g>
|
|
135
|
-
</g>
|
|
136
|
-
</g>
|
|
137
|
-
</svg>
|
package/public/chunk-7CDOEUGY.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as n}from"./chunk-76XPFTSX.js";import"./chunk-23FYLGHC.js";import"./chunk-CNMZOW2D.js";import"./chunk-LBAYQDOV.js";import"./chunk-F3MG6UU6.js";import"./chunk-AKD24HZC.js";import"./chunk-JNVGCARV.js";import"./chunk-H337OZRD.js";import"./chunk-IMT3YYMD.js";import"./chunk-UKEZ5GGN.js";import"./chunk-RPRM66DV.js";import"./chunk-S7AIVWKK.js";import"./chunk-3T4CLJZB.js";import"./chunk-MJK6N6PA.js";import"./chunk-VPU5FNT3.js";import"./chunk-TJCBCOGJ.js";import"./chunk-BSXHN5WA.js";import{g as r}from"./chunk-25NXLXGL.js";import"./chunk-LPDYQHMD.js";import"./chunk-SPLSJVTN.js";import"./chunk-CPAHENLQ.js";import"./chunk-RJOGO4M5.js";import{ha as t,nb as i}from"./chunk-WEVBEUAJ.js";var l=[{path:"",loadComponent:()=>import("./chunk-7RYLBOQ5.js").then(o=>o.PluginsComponent)}],u=(()=>{class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=i({type:o});static \u0275inj=t({imports:[r.forChild(l),r]})}return o})();var f=(()=>{class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=i({type:o});static \u0275inj=t({imports:[n,u]})}return o})();export{f as PluginsModule};
|
package/public/chunk-CPAHENLQ.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$ as M,B as F,C as P,D as q,Da as w,L as J,O as L,Uc as Z,Y as R,a as I,ga as h,gb as N,ha as X,ja as v,ka as o,nb as z,pb as W,r as p,t as f,ub as S,x as V}from"./chunk-WEVBEUAJ.js";var c=class{},Q=(()=>{class n extends c{getTranslation(e){return p({})}static \u0275fac=(()=>{let e;return function(s){return(e||(e=w(n)))(s||n)}})();static \u0275prov=h({token:n,factory:n.\u0275fac})}return n})(),b=class{},Y=(()=>{class n{handle(e){return e.key}static \u0275fac=function(t){return new(t||n)};static \u0275prov=h({token:n,factory:n.\u0275fac})}return n})();function j(n,r){if(n===r)return!0;if(n===null||r===null)return!1;if(n!==n&&r!==r)return!0;let e=typeof n,t=typeof r,s,i,a;if(e==t&&e=="object")if(Array.isArray(n)){if(!Array.isArray(r))return!1;if((s=n.length)==r.length){for(i=0;i<s;i++)if(!j(n[i],r[i]))return!1;return!0}}else{if(Array.isArray(r))return!1;a=Object.create(null);for(i in n){if(!j(n[i],r[i]))return!1;a[i]=!0}for(i in r)if(!(i in a)&&typeof r[i]<"u")return!1;return!0}return!1}function u(n){return typeof n<"u"&&n!==null}function D(n){return E(n)&&!H(n)&&n!==null}function E(n){return typeof n=="object"}function H(n){return Array.isArray(n)}function $(n){return typeof n=="string"}function ne(n){return typeof n=="function"}function K(n,r){let e=Object.assign({},n);return E(n)?(E(n)&&E(r)&&Object.keys(r).forEach(t=>{D(r[t])?t in n?e[t]=K(n[t],r[t]):Object.assign(e,{[t]:r[t]}):Object.assign(e,{[t]:r[t]})}),e):K({},r)}function x(n,r){let e=r.split(".");r="";do r+=e.shift(),u(n)&&u(n[r])&&(D(n[r])||H(n[r])||!e.length)?(n=n[r],r=""):e.length?r+=".":n=void 0;while(e.length);return n}function se(n,r,e){let t=r.split("."),s=n;for(let i=0;i<t.length;i++){let a=t[i];i===t.length-1?s[a]=e:((!s[a]||!D(s[a]))&&(s[a]={}),s=s[a])}}var d=class{},k=(()=>{class n extends d{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(e,t){if($(e))return this.interpolateString(e,t);if(ne(e))return this.interpolateFunction(e,t)}interpolateFunction(e,t){return e(t)}interpolateString(e,t){return t?e.replace(this.templateMatcher,(s,i)=>{let a=x(t,i);return u(a)?a:s}):e}static \u0275fac=(()=>{let e;return function(s){return(e||(e=w(n)))(s||n)}})();static \u0275prov=h({token:n,factory:n.\u0275fac})}return n})(),g=class{},ee=(()=>{class n extends g{compile(e,t){return e}compileTranslations(e,t){return e}static \u0275fac=(()=>{let e;return function(s){return(e||(e=w(n)))(s||n)}})();static \u0275prov=h({token:n,factory:n.\u0275fac})}return n})(),m=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new S;onLangChange=new S;onDefaultLangChange=new S},O=new v("ISOLATE_TRANSLATE_SERVICE"),U=new v("USE_DEFAULT_LANG"),_=new v("DEFAULT_LANGUAGE"),B=new v("USE_EXTEND"),C=n=>f(n)?n:p(n),G=(()=>{class n{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;extend;loadingTranslations;pending=!1;_translationRequests={};lastUseLanguage=null;get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onDefaultLangChange(){return this.store.onDefaultLangChange}get defaultLang(){return this.store.defaultLang}set defaultLang(e){this.store.defaultLang=e}get currentLang(){return this.store.currentLang}set currentLang(e){this.store.currentLang=e}get langs(){return this.store.langs}set langs(e){this.store.langs=e}get translations(){return this.store.translations}set translations(e){this.store.translations=e}constructor(e,t,s,i,a,A=!0,l=!1,T=!1,y){this.store=e,this.currentLoader=t,this.compiler=s,this.parser=i,this.missingTranslationHandler=a,this.useDefaultLang=A,this.extend=T,l&&(this.store=new m),y&&this.setDefaultLang(y)}setDefaultLang(e){if(e===this.defaultLang)return;let t=this.retrieveTranslations(e);typeof t<"u"?(this.defaultLang==null&&(this.defaultLang=e),t.pipe(L(1)).subscribe(()=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(this.lastUseLanguage=e,e===this.currentLang)return p(this.translations[e]);this.currentLang||(this.currentLang=e);let t=this.retrieveTranslations(e);return f(t)?(t.pipe(L(1)).subscribe(()=>{this.changeLang(e)}),t):(this.changeLang(e),p(this.translations[e]))}changeLang(e){e===this.lastUseLanguage&&(this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),this.defaultLang==null&&this.changeDefaultLang(e))}retrieveTranslations(e){if(typeof this.translations[e]>"u"||this.extend)return this._translationRequests[e]=this._translationRequests[e]||this.loadAndCompileTranslations(e),this._translationRequests[e]}getTranslation(e){return this.loadAndCompileTranslations(e)}loadAndCompileTranslations(e){this.pending=!0;let t=this.currentLoader.getTranslation(e).pipe(R(1),L(1));return this.loadingTranslations=t.pipe(V(s=>this.compiler.compileTranslations(s,e)),R(1),L(1)),this.loadingTranslations.subscribe({next:s=>{this.translations[e]=this.extend&&this.translations[e]?I(I({},s),this.translations[e]):s,this.updateLangs(),this.pending=!1},error:s=>{this.pending=!1}}),t}setTranslation(e,t,s=!1){let i=this.compiler.compileTranslations(t,e);(s||this.extend)&&this.translations[e]?this.translations[e]=K(this.translations[e],i):this.translations[e]=i,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){let t=e.filter(s=>!this.langs.includes(s));t.length>0&&(this.langs=[...this.langs,...t])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(e,t,s){let i;if(e&&(i=this.runInterpolation(x(e,t),s)),i===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(i=this.runInterpolation(x(this.translations[this.defaultLang],t),s)),i===void 0){let a={key:t,translateService:this};typeof s<"u"&&(a.interpolateParams=s),i=this.missingTranslationHandler.handle(a)}return i!==void 0?i:t}runInterpolation(e,t){if(H(e))return e.map(s=>this.runInterpolation(s,t));if(D(e)){let s={};for(let i in e){let a=this.runInterpolation(e[i],t);a!==void 0&&(s[i]=a)}return s}else return this.parser.interpolate(e,t)}getParsedResult(e,t,s){if(t instanceof Array){let i={},a=!1;for(let l of t)i[l]=this.getParsedResultForKey(e,l,s),a=a||f(i[l]);if(!a)return i;let A=t.map(l=>C(i[l]));return q(A).pipe(V(l=>{let T={};return l.forEach((y,te)=>{T[t[te]]=y}),T}))}return this.getParsedResultForKey(e,t,s)}get(e,t){if(!u(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(J(s=>C(this.getParsedResult(s,e,t)))):C(this.getParsedResult(this.translations[this.currentLang],e,t))}getStreamOnTranslationChange(e,t){if(!u(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return F(P(()=>this.get(e,t)),this.onTranslationChange.pipe(M(s=>{let i=this.getParsedResult(s.translations,e,t);return C(i)})))}stream(e,t){if(!u(e)||!e.length)throw new Error('Parameter "key" required');return F(P(()=>this.get(e,t)),this.onLangChange.pipe(M(s=>{let i=this.getParsedResult(s.translations,e,t);return C(i)})))}instant(e,t){if(!u(e)||e.length===0)throw new Error('Parameter "key" is required and cannot be empty');let s=this.getParsedResult(this.translations[this.currentLang],e,t);return f(s)?Array.isArray(e)?e.reduce((i,a)=>(i[a]=a,i),{}):e:s}set(e,t,s=this.currentLang){se(this.translations[s],e,$(t)?this.compiler.compile(t,s):this.compiler.compileTranslations(t,s)),this.updateLangs(),this.onTranslationChange.emit({lang:s,translations:this.translations[s]})}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.loadAndCompileTranslations(e)}resetLang(e){delete this._translationRequests[e],delete this.translations[e]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let e=this.getBrowserCultureLang();return e?e.split(/[-_]/)[0]:void 0}getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}static \u0275fac=function(t){return new(t||n)(o(m),o(c),o(g),o(d),o(b),o(U),o(O),o(B),o(_))};static \u0275prov=h({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var ve=(()=>{class n{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(e,t){this.translate=e,this._ref=t}updateValue(e,t,s){let i=a=>{this.value=a!==void 0?a:e,this.lastKey=e,this._ref.markForCheck()};if(s){let a=this.translate.getParsedResult(s,e,t);f(a)?a.subscribe(i):i(a)}this.translate.get(e,t).subscribe(i)}transform(e,...t){if(!e||!e.length)return e;if(j(e,this.lastKey)&&j(t,this.lastParams))return this.value;let s;if(u(t[0])&&t.length)if($(t[0])&&t[0].length){let i=t[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{s=JSON.parse(i)}catch(a){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${t[0]}`)}}else D(t[0])&&(s=t[0]);return this.lastKey=e,this.lastParams=t,this.updateValue(e,s),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(i=>{this.lastKey&&i.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,s,i.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(i=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,s,i.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,s))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(t){return new(t||n)(N(G,16),N(Z,16))};static \u0275pipe=W({name:"translate",type:n,pure:!1});static \u0275prov=h({token:n,factory:n.\u0275fac})}return n})();var Ce=(()=>{class n{static forRoot(e={}){return{ngModule:n,providers:[e.loader||{provide:c,useClass:Q},e.compiler||{provide:g,useClass:ee},e.parser||{provide:d,useClass:k},e.missingTranslationHandler||{provide:b,useClass:Y},m,{provide:O,useValue:e.isolate},{provide:U,useValue:e.useDefaultLang},{provide:B,useValue:e.extend},{provide:_,useValue:e.defaultLanguage},G]}}static forChild(e={}){return{ngModule:n,providers:[e.loader||{provide:c,useClass:Q},e.compiler||{provide:g,useClass:ee},e.parser||{provide:d,useClass:k},e.missingTranslationHandler||{provide:b,useClass:Y},{provide:O,useValue:e.isolate},{provide:U,useValue:e.useDefaultLang},{provide:B,useValue:e.extend},{provide:_,useValue:e.defaultLanguage},G]}}static \u0275fac=function(t){return new(t||n)};static \u0275mod=z({type:n});static \u0275inj=X({})}return n})();export{G as a,ve as b,Ce as c};
|