homebridge-config-ui-x 5.3.1-beta.1 → 5.3.1-beta.10

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.
Files changed (86) hide show
  1. package/CHANGELOG.md +18 -1
  2. package/dist/modules/status/status.controller.d.ts +0 -1
  3. package/dist/modules/status/status.gateway.d.ts +0 -1
  4. package/dist/modules/status/status.service.d.ts +0 -1
  5. package/dist/modules/status/status.service.js +0 -30
  6. package/dist/modules/status/status.service.js.map +1 -1
  7. package/package.json +2 -2
  8. package/public/3rdpartylicenses.txt +78 -52
  9. package/public/assets/hap-icons/air-purifier.svg +59 -49
  10. package/public/assets/hap-icons/air-quality-sensor.svg +27 -23
  11. package/public/assets/hap-icons/carbon-dioxide-sensor.svg +55 -67
  12. package/public/assets/hap-icons/carbon-monoxide-sensor.svg +55 -67
  13. package/public/assets/hap-icons/doorbell.svg +5 -13
  14. package/public/assets/hap-icons/microphone.svg +9 -17
  15. package/public/assets/hap-icons/{vacuum-on.svg → robot-vacuum.svg} +27 -24
  16. package/public/assets/hap-icons/smoke-sensor.svg +60 -57
  17. package/public/assets/hap-icons/speaker.svg +4 -4
  18. package/public/assets/monaco/min/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
  19. package/public/{chunk-S7TOCZGS.js → chunk-24QBUK36.js} +1 -1
  20. package/public/{chunk-HFY24UNF.js → chunk-4BBCG5I4.js} +1 -1
  21. package/public/{chunk-IJFXFK57.js → chunk-4L2PTWQU.js} +1 -1
  22. package/public/{chunk-CU7PIYHU.js → chunk-4QIIABJ4.js} +1 -1
  23. package/public/chunk-4XPFV5QM.js +4 -0
  24. package/public/{chunk-2KRFK7IW.js → chunk-5KEJKADH.js} +1 -1
  25. package/public/{chunk-KY7IDLVE.js → chunk-5NN3P4WI.js} +1 -1
  26. package/public/chunk-6CDSEN3W.js +12 -0
  27. package/public/{chunk-BDGMOTRS.js → chunk-6UO5JCSI.js} +1 -1
  28. package/public/{chunk-XMB4NIH3.js → chunk-6Y4KT5KE.js} +1 -1
  29. package/public/{chunk-YXC4EMGP.js → chunk-6ZUM6263.js} +1 -1
  30. package/public/chunk-7PI3TP7B.js +1 -0
  31. package/public/chunk-7SCV5TRV.js +1 -0
  32. package/public/chunk-7U5RB2FK.js +1 -0
  33. package/public/{chunk-4PXGNN5B.js → chunk-7XWDCMGI.js} +1 -1
  34. package/public/{chunk-GQHI4XTW.js → chunk-CXZZHYNQ.js} +1 -1
  35. package/public/{chunk-2IJUFNYR.js → chunk-DE3ICEAN.js} +1 -1
  36. package/public/{chunk-IWCQMK7M.js → chunk-DGY43J2N.js} +1 -1
  37. package/public/{chunk-RHCMG64A.js → chunk-E5SQGHQ5.js} +1 -1
  38. package/public/chunk-EWHYPY7G.js +4 -0
  39. package/public/{chunk-MJK6N6PA.js → chunk-F27XTST6.js} +1 -1
  40. package/public/{chunk-FXEJT7GG.js → chunk-F6N6SZFT.js} +1 -1
  41. package/public/{chunk-5V2HRRTP.js → chunk-FDSEL4VJ.js} +1 -1
  42. package/public/chunk-GSM7JSWE.js +49 -0
  43. package/public/{chunk-ZS7IYMP4.js → chunk-HEGCEXAZ.js} +1 -1
  44. package/public/{chunk-IXD64QKB.js → chunk-IPXDPTDP.js} +1 -1
  45. package/public/chunk-J7KVPPRV.js +1 -0
  46. package/public/{chunk-SLR3NVYA.js → chunk-KDSFLQHL.js} +1 -1
  47. package/public/{chunk-MC3DBFRZ.js → chunk-KKBGGBZH.js} +1 -1
  48. package/public/chunk-KUNMS7VX.js +1 -0
  49. package/public/{chunk-XXPQF5XE.js → chunk-M6NSVIVL.js} +1 -1
  50. package/public/{chunk-EGJJG2RZ.js → chunk-MSWSD4TN.js} +1 -1
  51. package/public/{chunk-WFCOI7VK.js → chunk-N5TNAMR6.js} +1 -1
  52. package/public/{chunk-F3MG6UU6.js → chunk-N7EZXKV6.js} +1 -1
  53. package/public/{chunk-FTCRINBI.js → chunk-NF6Q6H2U.js} +1 -1
  54. package/public/{chunk-SS672TTT.js → chunk-NFX3TT7U.js} +1 -1
  55. package/public/{chunk-LWPMYHHA.js → chunk-NRM6AE5C.js} +1 -1
  56. package/public/{chunk-2Q5IEAZO.js → chunk-O5DNLKMW.js} +1 -1
  57. package/public/{chunk-UPWD7C23.js → chunk-PDQ4VVCA.js} +1 -1
  58. package/public/{chunk-XPHWFC2T.js → chunk-QJ3EE734.js} +1 -1
  59. package/public/chunk-QTNYLY3B.js +1 -0
  60. package/public/{chunk-VDG4QQHT.js → chunk-R2NZJIKS.js} +1 -1
  61. package/public/{chunk-7CEEAPZG.js → chunk-RKMCLAQL.js} +1 -1
  62. package/public/{chunk-DUQOTBHL.js → chunk-RX5WXXFZ.js} +1 -1
  63. package/public/{chunk-RLDDNMLB.js → chunk-TGQUMEBP.js} +1 -1
  64. package/public/{chunk-LQCAPPAR.js → chunk-TGXOFWUT.js} +1 -1
  65. package/public/{chunk-GV2XWDHB.js → chunk-UBZCVY4M.js} +1 -1
  66. package/public/{chunk-S7MG46BY.js → chunk-WXQARLHJ.js} +1 -1
  67. package/public/{chunk-6MTFGR5B.js → chunk-X7T4I2Y7.js} +1 -1
  68. package/public/{chunk-2HPRTE5R.js → chunk-XKIOQX5U.js} +1 -1
  69. package/public/chunk-XZFUALBE.js +1 -0
  70. package/public/{chunk-UAFLQBAP.js → chunk-Z24TYBME.js} +1 -1
  71. package/public/{chunk-3T4CLJZB.js → chunk-Z2JFLSVB.js} +1 -1
  72. package/public/index.html +1 -1
  73. package/public/main-ZUYAJZ4L.js +1 -0
  74. package/public/assets/hap-icons/vacuum-off.svg +0 -34
  75. package/public/chunk-GTH4PHUA.js +0 -12
  76. package/public/chunk-J55PBCQB.js +0 -4
  77. package/public/chunk-PBEWASUU.js +0 -1
  78. package/public/chunk-PKX43Z45.js +0 -1
  79. package/public/chunk-QBSRQJA7.js +0 -1
  80. package/public/chunk-SHVFBIT3.js +0 -1
  81. package/public/chunk-UOLEC72N.js +0 -1
  82. package/public/chunk-VPU5FNT3.js +0 -1
  83. package/public/chunk-WXEF2D2E.js +0 -28
  84. package/public/chunk-Z2W3X3WE.js +0 -1
  85. package/public/chunk-ZQEAB3ZB.js +0 -23
  86. package/public/main-EXDHZREW.js +0 -1
@@ -1,72 +1,60 @@
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
- xmlns="http://www.w3.org/2000/svg"
5
- xmlns:xlink="http://www.w3.org/1999/xlink"
6
- version="1.1"
7
- width="500"
8
- height="500"
9
- viewBox="0 0 500 500"
10
- xml:space="preserve"
11
- >
12
- <desc>CO Sensor with Spaced, Wide, Thick Cyan Wavy Lines</desc>
13
- <defs />
14
- <!-- Sensor Housing -->
15
- <g transform="matrix(1 0 0 1 250 125)" opacity="1" fill="#3daeff" fill-opacity="1" class="smoke_sensor_box">
16
- <path
17
- style="stroke: none; fill-rule: nonzero; opacity: 1;"
18
- vector-effect="non-scaling-stroke"
19
- transform=" translate(-222.5, -100)"
20
- d="M 0 0 L 445 0 L 445 124.6137 L 402.96864 124.6137 L 350.9804 200 L 88.48046 200 L 36.492219999999996 124.6137 L 0.0011099999999970578 124.6137 z M 94.73049 185.04636 L 149.73026 185.04636 L 149.73026 130.21633 L 94.73048999999999 130.21633 z M 289.72949 184.04945 L 343.72913 184.04945 L 343.72913 130.21633 L 289.72949 130.21633 z M 224.72945 185.04636 L 279.72922 185.04636 L 279.72922 130.21633 L 224.72944999999999 130.21633 z M 159.73052 185.04636 L 214.73029000000002 185.04636 L 214.73029000000002 130.21633 L 159.73052 130.21633 z"
21
- />
22
- </g>
1
+ <svg width="32px" height="32px" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
2
+ <!-- outer casing -->
3
+ <rect x="1" y="1" width="30" height="12" rx="1" stroke="#7f7f7f" fill="none" stroke-width="1.25" />
23
4
 
24
- <!-- Centered CO Label -->
25
- <g transform="matrix(1 0 0 1 250 100)" fill="#ffffff" class="label-text">
26
- <text
27
- text-anchor="middle"
28
- dominant-baseline="middle"
29
- font-family="Arial"
30
- font-size="100"
31
- font-weight="bold"
32
- x="0"
33
- y="0"
34
- >
35
- CO2
36
- </text>
37
- </g>
38
-
39
- <!-- Cyan Wavy Lines -->
40
- <!-- Top Wave (narrowest) -->
41
- <g
42
- transform="matrix(1 0 0 1 250 268)"
43
- fill="none"
44
- stroke="#00cfd6"
45
- stroke-width="15"
46
- class="smoke_sensor_trigger_lines"
5
+ <!-- alarm type -->
6
+ <text
7
+ class="type"
8
+ text-anchor="middle"
9
+ dominant-baseline="middle"
10
+ font-family="Arial"
11
+ font-size="7.5"
12
+ x="16"
13
+ y="7.7"
14
+ fill="#7f7f7f"
15
+ stroke-width="0.6"
16
+ font-weight="900"
47
17
  >
48
- <path d="M -50 0 Q -40 10 -30 0 Q -20 -10 -10 0 Q 0 10 10 0 Q 20 -10 30 0 Q 40 10 50 0" />
49
- </g>
18
+ CO2
19
+ </text>
50
20
 
51
- <!-- Middle Wave (wider) -->
52
- <g
53
- transform="matrix(1 0 0 1 250 318)"
54
- fill="none"
55
- stroke="#00cfd6"
56
- stroke-width="15"
57
- class="smoke_sensor_trigger_lines"
58
- >
59
- <path d="M -65 0 Q -52 12 -39 0 Q -26 -12 -13 0 Q 0 12 13 0 Q 26 -12 39 0 Q 52 12 65 0" />
60
- </g>
21
+ <!-- grille vertical lines -->
22
+ <line stroke-linecap="round" x1="5" y1="13" x2="6.5" y2="16" stroke="#7f7f7f" stroke-width="1.25" />
23
+ <line stroke-linecap="round" x1="11" y1="13" x2="11" y2="16" stroke="#7f7f7f" stroke-width="1" />
24
+ <line stroke-linecap="round" x1="15.5" y1="13" x2="15.5" y2="16" stroke="#7f7f7f" stroke-width="1" />
25
+ <line stroke-linecap="round" x1="20" y1="13" x2="20" y2="16" stroke="#7f7f7f" stroke-width="1" />
26
+ <line stroke-linecap="round" x1="26" y1="13" x2="24.5" y2="16" stroke="#7f7f7f" stroke-width="1.25" />
61
27
 
62
- <!-- Bottom Wave (widest) -->
63
- <g
64
- transform="matrix(1 0 0 1 250 368)"
65
- fill="none"
66
- stroke="#00cfd6"
67
- stroke-width="15"
68
- class="smoke_sensor_trigger_lines"
69
- >
70
- <path d="M -80 0 Q -64 14 -48 0 Q -32 -14 -16 0 Q 0 14 16 0 Q 32 -14 48 0 Q 64 14 80 0" />
71
- </g>
28
+ <!-- grille horizontal lines -->
29
+ <line stroke-linecap="round" x1="6.5" y1="16" x2="24.5" y2="16" stroke="#7f7f7f" stroke-width="1.25" />
30
+
31
+ <!-- top wave -->
32
+ <path
33
+ d="M3,22.0706147 C3.28945166,22.8007217 5.978098,23.1773883 10.0660175,23.2006147 C12.5085124,23.2144929 18.5053297,20.8514837 22.4060749,20.1943647 C24.1588716,19.898084 26.5955382,20.1756219 28.716875,21.0221772"
34
+ class="air-line line1"
35
+ stroke="#7f7f7f"
36
+ fill="transparent"
37
+ stroke-width="1.5"
38
+ stroke-linecap="round"
39
+ />
40
+
41
+ <!-- middle wave -->
42
+ <path
43
+ d="M3,26.0706147 C3.28945166,26.8007217 5.978098,27.1773883 10.0660175,27.2006147 C12.5085124,27.2144929 18.5053297,24.8514837 22.4060749,24.1943647 C24.1588716,23.898084 26.5955382,24.1756219 28.716875,25.0221772"
44
+ class="air-line line2"
45
+ stroke="#7f7f7f"
46
+ fill="transparent"
47
+ stroke-width="1.5"
48
+ stroke-linecap="round"
49
+ />
50
+
51
+ <!-- bottom wave -->
52
+ <path
53
+ d="M3,30.0706147 C3.28945166,30.8007217 5.978098,31.1773883 10.0660175,31.2006147 C12.5085124,31.2144929 18.5053297,28.8514837 22.4060749,28.1943647 C24.1588716,27.898084 26.5955382,28.1756219 28.716875,29.0221772"
54
+ class="air-line line3"
55
+ stroke="#7f7f7f"
56
+ fill="transparent"
57
+ stroke-width="1.5"
58
+ stroke-linecap="round"
59
+ />
72
60
  </svg>
@@ -1,72 +1,60 @@
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
- xmlns="http://www.w3.org/2000/svg"
5
- xmlns:xlink="http://www.w3.org/1999/xlink"
6
- version="1.1"
7
- width="500"
8
- height="500"
9
- viewBox="0 0 500 500"
10
- xml:space="preserve"
11
- >
12
- <desc>CO Sensor with Spaced, Wide, Thick Cyan Wavy Lines</desc>
13
- <defs />
14
- <!-- Sensor Housing -->
15
- <g transform="matrix(1 0 0 1 250 125)" opacity="1" fill="#3daeff" fill-opacity="1" class="smoke_sensor_box">
16
- <path
17
- style="stroke: none; fill-rule: nonzero; opacity: 1;"
18
- vector-effect="non-scaling-stroke"
19
- transform=" translate(-222.5, -100)"
20
- d="M 0 0 L 445 0 L 445 124.6137 L 402.96864 124.6137 L 350.9804 200 L 88.48046 200 L 36.492219999999996 124.6137 L 0.0011099999999970578 124.6137 z M 94.73049 185.04636 L 149.73026 185.04636 L 149.73026 130.21633 L 94.73048999999999 130.21633 z M 289.72949 184.04945 L 343.72913 184.04945 L 343.72913 130.21633 L 289.72949 130.21633 z M 224.72945 185.04636 L 279.72922 185.04636 L 279.72922 130.21633 L 224.72944999999999 130.21633 z M 159.73052 185.04636 L 214.73029000000002 185.04636 L 214.73029000000002 130.21633 L 159.73052 130.21633 z"
21
- />
22
- </g>
1
+ <svg width="32px" height="32px" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
2
+ <!-- outer casing -->
3
+ <rect x="1" y="1" width="30" height="12" rx="1" stroke="#7f7f7f" fill="none" stroke-width="1.25" />
23
4
 
24
- <!-- Centered CO Label -->
25
- <g transform="matrix(1 0 0 1 250 100)" fill="#ffffff" class="label-text">
26
- <text
27
- text-anchor="middle"
28
- dominant-baseline="middle"
29
- font-family="Arial"
30
- font-size="100"
31
- font-weight="bold"
32
- x="0"
33
- y="0"
34
- >
35
- CO
36
- </text>
37
- </g>
38
-
39
- <!-- Cyan Wavy Lines -->
40
- <!-- Top Wave (narrowest) -->
41
- <g
42
- transform="matrix(1 0 0 1 250 268)"
43
- fill="none"
44
- stroke="#00cfd6"
45
- stroke-width="15"
46
- class="smoke_sensor_trigger_lines"
5
+ <!-- alarm type -->
6
+ <text
7
+ class="type"
8
+ text-anchor="middle"
9
+ dominant-baseline="middle"
10
+ font-family="Arial"
11
+ font-size="7.5"
12
+ x="16"
13
+ y="7.7"
14
+ fill="#7f7f7f"
15
+ stroke-width="0.6"
16
+ font-weight="900"
47
17
  >
48
- <path d="M -50 0 Q -40 10 -30 0 Q -20 -10 -10 0 Q 0 10 10 0 Q 20 -10 30 0 Q 40 10 50 0" />
49
- </g>
18
+ CO
19
+ </text>
50
20
 
51
- <!-- Middle Wave (wider) -->
52
- <g
53
- transform="matrix(1 0 0 1 250 318)"
54
- fill="none"
55
- stroke="#00cfd6"
56
- stroke-width="15"
57
- class="smoke_sensor_trigger_lines"
58
- >
59
- <path d="M -65 0 Q -52 12 -39 0 Q -26 -12 -13 0 Q 0 12 13 0 Q 26 -12 39 0 Q 52 12 65 0" />
60
- </g>
21
+ <!-- grille vertical lines -->
22
+ <line stroke-linecap="round" x1="5" y1="13" x2="6.5" y2="16" stroke="#7f7f7f" stroke-width="1.25" />
23
+ <line stroke-linecap="round" x1="11" y1="13" x2="11" y2="16" stroke="#7f7f7f" stroke-width="1" />
24
+ <line stroke-linecap="round" x1="15.5" y1="13" x2="15.5" y2="16" stroke="#7f7f7f" stroke-width="1" />
25
+ <line stroke-linecap="round" x1="20" y1="13" x2="20" y2="16" stroke="#7f7f7f" stroke-width="1" />
26
+ <line stroke-linecap="round" x1="26" y1="13" x2="24.5" y2="16" stroke="#7f7f7f" stroke-width="1.25" />
61
27
 
62
- <!-- Bottom Wave (widest) -->
63
- <g
64
- transform="matrix(1 0 0 1 250 368)"
65
- fill="none"
66
- stroke="#00cfd6"
67
- stroke-width="15"
68
- class="smoke_sensor_trigger_lines"
69
- >
70
- <path d="M -80 0 Q -64 14 -48 0 Q -32 -14 -16 0 Q 0 14 16 0 Q 32 -14 48 0 Q 64 14 80 0" />
71
- </g>
28
+ <!-- grille horizontal lines -->
29
+ <line stroke-linecap="round" x1="6.5" y1="16" x2="24.5" y2="16" stroke="#7f7f7f" stroke-width="1.25" />
30
+
31
+ <!-- top wave -->
32
+ <path
33
+ d="M3,20 C6,22 9,18 12,20 C15,22 18,18 21,20 C24,22 27,18 30,20"
34
+ class="air-line line2"
35
+ stroke="#7f7f7f"
36
+ fill="transparent"
37
+ stroke-width="1.5"
38
+ stroke-linecap="round"
39
+ />
40
+
41
+ <!-- middle wave -->
42
+ <path
43
+ d="M3,25 C6,27 9,23 12,25 C15,27 18,23 21,25 C24,27 27,23 30,25"
44
+ class="air-line line2"
45
+ stroke="#7f7f7f"
46
+ fill="transparent"
47
+ stroke-width="1.5"
48
+ stroke-linecap="round"
49
+ />
50
+
51
+ <!-- bottom wave -->
52
+ <path
53
+ d="M3,30 C6,32 9,28 12,30 C15,32 18,28 21,30 C24,32 27,28 30,30"
54
+ class="air-line line2"
55
+ stroke="#7f7f7f"
56
+ fill="transparent"
57
+ stroke-width="1.5"
58
+ stroke-linecap="round"
59
+ />
72
60
  </svg>
@@ -1,17 +1,9 @@
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
- >
1
+ <svg width="32px" height="32px" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
9
2
  <g>
10
- <title>doorbell</title>
11
- <!-- Doorbell outer casing (maximum reasonable size) -->
12
- <rect x="6" y="1" width="18" height="30" rx="3" stroke="#7F7F7F" fill="none" stroke-width="2.0" />
3
+ <!-- outer casing -->
4
+ <rect x="6" y="1" width="18" height="30" rx="3" stroke="#7f7f7f" fill="none" stroke-width="2" />
13
5
 
14
- <!-- Doorbell button -->
15
- <circle cx="15" cy="16" r="5" stroke="#7F7F7F" stroke-width="2.0" fill="#1976d2" fill-opacity="0.3" />
6
+ <!-- power button -->
7
+ <circle cx="15" cy="16" r="5" stroke="#7f7f7f" stroke-width="2" fill="#1976d2" fill-opacity="0.5" />
16
8
  </g>
17
9
  </svg>
@@ -1,22 +1,14 @@
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
- >
1
+ <svg width="32px" height="32px" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
9
2
  <g>
10
- <title>microphone</title>
11
- <!-- Intercom outer casing -->
12
- <rect x="6" y="1" width="18" height="30" rx="3" stroke="#7F7F7F" fill="none" stroke-width="2.0" />
3
+ <!-- outer casing -->
4
+ <rect x="6" y="1" width="18" height="30" rx="3" stroke="#7f7f7f" fill="none" stroke-width="2" />
13
5
 
14
- <!-- Microphone grille lines -->
15
- <line x1="10" y1="6" x2="20" y2="6" stroke="#7F7F7F" stroke-width="2.0" />
16
- <line x1="10" y1="10" x2="20" y2="10" stroke="#7F7F7F" stroke-width="2.0" />
17
- <line x1="10" y1="14" x2="20" y2="14" stroke="#7F7F7F" stroke-width="2.0" />
6
+ <!-- grille lines -->
7
+ <line stroke-linecap="round" x1="10" y1="6" x2="20" y2="6" stroke="#7f7f7f" stroke-width="2" />
8
+ <line stroke-linecap="round" x1="10" y1="10" x2="20" y2="10" stroke="#7f7f7f" stroke-width="2" />
9
+ <line stroke-linecap="round" x1="10" y1="14" x2="20" y2="14" stroke="#7f7f7f" stroke-width="2" />
18
10
 
19
- <!-- Microphone button -->
20
- <circle cx="15" cy="23" r="3" stroke="#7F7F7F" stroke-width="2.0" fill="#1976d2" fill-opacity="0.3" />
11
+ <!-- power button -->
12
+ <circle cx="15" cy="23" r="3" stroke="#7f7f7f" stroke-width="2" fill="#1976d2" fill-opacity="0.5" />
21
13
  </g>
22
14
  </svg>
@@ -1,34 +1,37 @@
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
- >
1
+ <svg width="32px" height="32px" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
9
2
  <defs>
10
- <!-- Clip lines to the top part, above robot back (approx y=5) -->
3
+ <!-- clip lines to above the machine -->
11
4
  <clipPath id="motionClip">
12
5
  <rect x="0" y="-0.5" width="32" height="8" />
13
6
  </clipPath>
14
7
  </defs>
15
8
 
16
9
  <g transform="translate(0, 5)">
17
- <!-- Robot shape -->
18
- <ellipse cx="16" cy="10" rx="14" ry="8.4" stroke="#7F7F7F" stroke-width="1.75" fill="none" />
19
- <line x1="2" y1="10" x2="2" y2="16" stroke="#7F7F7F" stroke-width="1.75" />
20
- <line x1="30" y1="10" x2="30" y2="16" stroke="#7F7F7F" stroke-width="1.75" />
21
- <path d="M2,16 A14,6.9 0 0,0 30,16" stroke="#7F7F7F" stroke-width="1.75" fill="none" />
22
- <ellipse cx="16" cy="10" rx="4.2" ry="2.5" stroke="#7F7F7F" stroke-width="1" fill="#1976d2" fill-opacity="0.3" />
23
- <circle cx="16" cy="15" r="0.9" fill="#7F7F7F" />
24
- <line x1="2" y1="16" x2="0.5" y2="18.5" stroke="#7F7F7F" stroke-width="1" />
25
- <line x1="2" y1="16" x2="0.5" y2="14" stroke="#7F7F7F" stroke-width="1" />
26
- <line x1="30" y1="16" x2="31.5" y2="18.5" stroke="#7F7F7F" stroke-width="1" />
27
- <line x1="30" y1="16" x2="31.5" y2="14" stroke="#7F7F7F" stroke-width="1" />
10
+ <!-- main ellipse -->
11
+ <ellipse cx="16" cy="10" rx="14" ry="8.4" stroke="#7f7f7f" stroke-width="1.75" fill="none" />
12
+
13
+ <!-- side walls -->
14
+ <line x1="2" y1="10" x2="2" y2="16" stroke="#7f7f7f" stroke-width="1.75" />
15
+ <line x1="30" y1="10" x2="30" y2="16" stroke="#7f7f7f" stroke-width="1.75" />
16
+
17
+ <!-- base arc -->
18
+ <path d="M2,16 A14,6.9 0 0,0 30,16" stroke="#7f7f7f" stroke-width="1.75" fill="none" />
19
+
20
+ <!-- blue ring -->
21
+ <ellipse cx="16" cy="10" rx="4.2" ry="2.5" stroke="#7f7f7f" stroke-width="1" fill="#1976d2" fill-opacity="0.5" />
22
+
23
+ <!-- power button -->
24
+ <circle cx="16" cy="15" r="0.9" fill="#7f7f7f" />
25
+
26
+ <!-- whisker brushes -->
27
+ <line x1="2" y1="16" x2="0.5" y2="18.5" stroke="#7f7f7f" stroke-width="1" />
28
+ <line x1="2" y1="16" x2="0.5" y2="14" stroke="#7f7f7f" stroke-width="1" />
29
+ <line x1="30" y1="16" x2="31.5" y2="18.5" stroke="#7f7f7f" stroke-width="1" />
30
+ <line x1="30" y1="16" x2="31.5" y2="14" stroke="#7f7f7f" stroke-width="1" />
28
31
  </g>
29
32
 
30
- <g clip-path="url(#motionClip)" stroke="#7F7F7F" stroke-linecap="round">
31
- <!-- Left middle line -->
33
+ <g class="motion-lines" style="display: none;" clip-path="url(#motionClip)" stroke="#7f7f7f" stroke-linecap="round">
34
+ <!-- left line -->
32
35
  <line x1="12" y1="8" x2="12" y2="14" stroke-width="2.1" opacity="0">
33
36
  <animate attributeName="y1" values="8;0" dur="3s" begin="0.3s" repeatCount="indefinite" />
34
37
  <animate attributeName="y2" values="14;6" dur="3s" begin="0.3s" repeatCount="indefinite" />
@@ -42,7 +45,7 @@
42
45
  />
43
46
  </line>
44
47
 
45
- <!-- Middle line -->
48
+ <!-- middle line -->
46
49
  <line x1="16" y1="8" x2="16" y2="14" stroke-width="2.5" opacity="0">
47
50
  <animate attributeName="y1" values="8;0" dur="3s" begin="0.6s" repeatCount="indefinite" />
48
51
  <animate attributeName="y2" values="14;6" dur="3s" begin="0.6s" repeatCount="indefinite" />
@@ -56,7 +59,7 @@
56
59
  />
57
60
  </line>
58
61
 
59
- <!-- Right middle line -->
62
+ <!-- right line -->
60
63
  <line x1="20" y1="8" x2="20" y2="14" stroke-width="2.1" opacity="0">
61
64
  <animate attributeName="y1" values="8;0" dur="3s" begin="0.9s" repeatCount="indefinite" />
62
65
  <animate attributeName="y2" values="14;6" dur="3s" begin="0.9s" repeatCount="indefinite" />
@@ -1,59 +1,62 @@
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
- xmlns="http://www.w3.org/2000/svg"
5
- xmlns:xlink="http://www.w3.org/1999/xlink"
6
- version="1.1"
7
- width="500"
8
- height="500"
9
- viewBox="0 0 500 500"
10
- xml:space="preserve"
11
- >
12
- <desc>Created with Fabric.js 4.6.0</desc>
13
- <defs />
14
- <g
15
- transform="matrix(1 0 0 1 250 125)"
16
- id="Ly0Zljdh6uDT129kqPq2c"
17
- opacity="1"
18
- fill="#fc861d"
19
- fill-opacity="1"
20
- class="smoke_sensor_box"
1
+ <svg width="32px" height="32px" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
2
+ <!-- outer casing -->
3
+ <rect x="1" y="1" width="30" height="12" rx="1" stroke="#7f7f7f" fill="none" stroke-width="1.25" />
4
+
5
+ <!-- alarm type -->
6
+ <text
7
+ class="type"
8
+ text-anchor="middle"
9
+ dominant-baseline="middle"
10
+ font-family="Arial"
11
+ font-size="7.5"
12
+ x="16"
13
+ y="7.7"
14
+ fill="#7f7f7f"
15
+ stroke-width="0.6"
16
+ font-weight="900"
21
17
  >
22
- <path
23
- style="stroke: rgb(183,90,243); stroke-width: 0; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; fill-rule: nonzero; opacity: 1;"
24
- vector-effect="non-scaling-stroke"
25
- transform=" translate(-222.5, -100)"
26
- d="M 0 0 L 445 0 L 445 124.6137 L 402.96864 124.6137 L 350.9804 200 L 88.48046 200 L 36.492219999999996 124.6137 L 0.0011099999999970578 124.6137 z M 94.73049 185.04636 L 149.73026 185.04636 L 149.73026 130.21633 L 94.73048999999999 130.21633 z M 289.72949 184.04945 L 343.72913 184.04945 L 343.72913 130.21633 L 289.72949 130.21633 z M 224.72945 185.04636 L 279.72922 185.04636 L 279.72922 130.21633 L 224.72944999999999 130.21633 z M 159.73052 185.04636 L 214.73029000000002 185.04636 L 214.73029000000002 130.21633 L 159.73052 130.21633 z"
27
- stroke-linecap="round"
28
- />
29
- </g>
30
- <g transform="matrix(1 0 0 1 250 100)" fill="#ffffff" class="label-text">
31
- <text
32
- text-anchor="middle"
33
- dominant-baseline="middle"
34
- font-family="Arial"
35
- font-size="100"
36
- font-weight="bold"
37
- x="0"
38
- y="0"
39
- >
40
- SMOKE
41
- </text>
42
- </g>
43
- <g
44
- transform="matrix(1 0 0 1 249.09 329.19)"
45
- id="1bkxD90ICefRta9rtUGNo"
46
- opacity="1"
47
- fill="#fb0000"
48
- fill-opacity="1"
49
- class="smoke_sensor_trigger_lines"
50
- >
51
- <path
52
- style="stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; fill-rule: nonzero; opacity: 1;"
53
- vector-effect="non-scaling-stroke"
54
- transform=" translate(-155.85, -60.81)"
55
- d="M 171.76478 114.74011 C 171.76478 118.53511 167.28498 121.61471 161.76478 121.61471 C 156.24458 121.61471 151.76478 118.53511 151.76478 114.74011 C 151.76478 98.11741 151.76478 55.11191 151.76478 38.48931 C 151.76478 34.69431 156.24458 31.614710000000002 161.76478 31.614710000000002 C 167.28498 31.614710000000002 171.76478 34.69431 171.76478 38.48931 C 171.76478 55.11201 171.76478 98.11751000000001 171.76478 114.74011 z M 16.50458 73.14822 C 14.0652 76.05536 8.653950000000002 75.53491 4.425230000000001 71.98658999999999 C 0.19651000000000085 68.43826999999999 -1.2556899999999995 63.19959999999999 1.1836900000000008 60.29245999999999 C 11.86856 47.55872999999999 39.51196 14.614609999999992 50.19676 1.8809599999999946 C 52.63614 -1.0261800000000054 58.04739 -0.5057300000000056 62.276109999999996 3.0425899999999944 C 66.50483 6.590909999999994 67.95703 11.829579999999993 65.51764999999999 14.736719999999995 C 54.832779999999985 27.470449999999992 27.189379999999986 60.41457 16.50457999999999 73.14822 z M 246.18369 14.73671 C 243.74431 11.82957 245.19651000000002 6.5908999999999995 249.42523 3.042580000000001 C 253.65395 -0.505739999999999 259.0652 -1.0261899999999988 261.50458 1.880950000000001 C 272.18944999999997 14.61468 299.83285 47.5588 310.51765 60.292449999999995 C 312.95703000000003 63.19958999999999 311.50483 68.43826 307.27611 71.98657999999999 C 303.04739 75.5349 297.63614 76.05534999999999 295.19676000000004 73.14820999999999 C 284.51189000000005 60.41447999999999 256.86849000000007 27.470359999999992 246.18369000000004 14.736709999999995 z"
56
- stroke-linecap="round"
57
- />
58
- </g>
18
+ SMOKE
19
+ </text>
20
+
21
+ <!-- grille vertical lines -->
22
+ <line stroke-linecap="round" x1="5" y1="13" x2="6.5" y2="16" stroke="#7f7f7f" stroke-width="1.25" />
23
+ <line stroke-linecap="round" x1="11" y1="13" x2="11" y2="16" stroke="#7f7f7f" stroke-width="1" />
24
+ <line stroke-linecap="round" x1="15.5" y1="13" x2="15.5" y2="16" stroke="#7f7f7f" stroke-width="1" />
25
+ <line stroke-linecap="round" x1="20" y1="13" x2="20" y2="16" stroke="#7f7f7f" stroke-width="1" />
26
+ <line stroke-linecap="round" x1="26" y1="13" x2="24.5" y2="16" stroke="#7f7f7f" stroke-width="1.25" />
27
+
28
+ <!-- grille horizontal lines -->
29
+ <line stroke-linecap="round" x1="6.5" y1="16" x2="24.5" y2="16" stroke="#7f7f7f" stroke-width="1.25" />
30
+
31
+ <!-- left to right vertical lines -->
32
+ <line
33
+ stroke-linecap="round"
34
+ x1="12"
35
+ y1="20"
36
+ x2="6"
37
+ y2="27"
38
+ stroke="#7f7f7f"
39
+ stroke-width="1.25"
40
+ class="air-line line1"
41
+ />
42
+ <line
43
+ stroke-linecap="round"
44
+ x1="16"
45
+ y1="20"
46
+ x2="16"
47
+ y2="31"
48
+ stroke="#7f7f7f"
49
+ stroke-width="1.25"
50
+ class="air-line line2"
51
+ />
52
+ <line
53
+ stroke-linecap="round"
54
+ x1="20"
55
+ y1="20"
56
+ x2="26"
57
+ y2="27"
58
+ stroke="#7f7f7f"
59
+ stroke-width="1.25"
60
+ class="air-line line3"
61
+ />
59
62
  </svg>
@@ -10,12 +10,12 @@
10
10
  <title>speaker</title>
11
11
  <!-- Speaker path -->
12
12
  <path
13
- stroke="#7F7F7F"
13
+ stroke="#7f7f7f"
14
14
  id="speaker"
15
15
  d="m2.63366,10.44981l0,11.04296l6.25803,0l8.3897,7.72829l0,-26.49955l-8.38553,7.7283l-6.26221,0z"
16
16
  fill-opacity="null"
17
17
  stroke-opacity="null"
18
- stroke-width="2.0"
18
+ stroke-width="2"
19
19
  fill="none"
20
20
  />
21
21
 
@@ -26,7 +26,7 @@
26
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
27
  fill-opacity="null"
28
28
  stroke-opacity="null"
29
- stroke-width="2.0"
29
+ stroke-width="2"
30
30
  fill="none"
31
31
  class="wave"
32
32
  />
@@ -38,7 +38,7 @@
38
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
39
  fill-opacity="null"
40
40
  stroke-opacity="null"
41
- stroke-width="2.0"
41
+ stroke-width="2"
42
42
  fill="none"
43
43
  class="wave"
44
44
  />
@@ -1 +1 @@
1
- import{a as D}from"./chunk-SLR3NVYA.js";import"./chunk-KY7IDLVE.js";import{d as E}from"./chunk-25NXLXGL.js";import{b as R}from"./chunk-UOLEC72N.js";import{k as O,n as B}from"./chunk-XXPQF5XE.js";import{a as k,b as I}from"./chunk-CPAHENLQ.js";import"./chunk-RJOGO4M5.js";import{Dc as b,Ec as g,Hc as o,Ib as f,Ic as l,Jb as _,Ob as x,Pb as r,Qb as n,Rb as v,_b as $,ab as i,bc as S,dc as d,id as T,la as m,mb as w,qc as a,ra as C,rc as c,sa as y,sc as h}from"./chunk-WEVBEUAJ.js";var U=(t,p)=>({"fas fa-fw fa-spinner fa-spin":t,"far fa-fw fa-check-circle":p}),F=t=>({"grey-text":t}),P=(t,p)=>({"far fa-fw fa-circle":t,"fas fa-fw fa-spinner fa-spin":p});function j(t,p){if(t&1&&(r(0,"div",7),a(1),n()),t&2){let e=d();i(),c(e.error)}}function M(t,p){if(t&1&&(r(0,"p",9),a(1),o(2,"translate"),n(),r(3,"div",10)(4,"div",11)(5,"span"),v(6,"i",12),a(7),o(8,"translate"),n()(),r(9,"div",11)(10,"span",12),v(11,"i",12),a(12),o(13,"translate"),n()()()),t&2){let e=d();i(),c(l(2,6,"restart.please_wait_while_server_restarts")),i(5),x("ngClass",g(12,U,!e.uiOnline,e.uiOnline)),i(),h(" ",l(8,8,"restart.ui_online")," "),i(3),x("ngClass",b(15,F,!e.uiOnline)),i(),x("ngClass",g(17,P,!e.uiOnline,e.uiOnline)),i(),h(" ",l(13,10,"restart.service_ready")," ")}}function V(t,p){if(t&1){let e=$();r(0,"p",15)(1,"button",16),S("click",function(){C(e);let u=d(2);return y(u.viewLogs())}),a(2),o(3,"translate"),n()()}t&2&&(i(2),c(l(3,1,"menu.tooltip_view_logs")))}function z(t,p){if(t&1&&(r(0,"div",8)(1,"p"),a(2),o(3,"translate"),n(),r(4,"p",13),a(5),o(6,"translate"),r(7,"span",14),a(8),n()(),f(9,V,4,3,"p",15),n()),t&2){let e=d();i(2),c(l(3,4,"restart.server_is_taking_long_time_to_restart")),i(3),h(" ",l(6,6,"restart.label_restart_command_executed"),": "),i(3),c(e.resp.command||"End Process"),i(),_(e.uiOnline?9:-1)}}var X=(()=>{class t{$api=m(B);$router=m(E);$settings=m(R);$toastr=m(O);$translate=m(k);$ws=m(D);checkTimeout;checkDelay;io;uiOnline=!1;error=!1;resp={};timeout=!1;ngOnInit(){this.io=this.$ws.connectToNamespace("status"),this.io.connected.subscribe(()=>{this.io.socket.emit("monitor-server-status"),this.$settings.getAppSettings().catch(()=>{})}),this.$router.parseUrl(this.$router.url).queryParams.restarting?(this.uiOnline=!0,this.checkIfServerUp()):this.$api.put("/server/restart",{}).subscribe({next:s=>{this.resp=s,this.checkIfServerUp(),s.restartingUI||(this.uiOnline=!0)},error:s=>{console.error(s),this.error=this.$translate.instant("restart.toast_server_restart_error"),this.$toastr.error(this.$translate.instant("restart.toast_server_restart_error"),this.$translate.instant("toast.title_error"))}})}viewLogs(){this.$router.navigate(["/logs"])}ngOnDestroy(){this.io.end(),clearTimeout(this.checkDelay),clearTimeout(this.checkTimeout)}checkIfServerUp(){this.checkDelay=setTimeout(()=>{this.io.socket.on("homebridge-status",e=>{this.uiOnline=!0,(e.status==="up"||e.status==="pending")&&(this.$toastr.success(this.$translate.instant("restart.toast_server_restarted"),this.$translate.instant("toast.title_success")),this.$router.navigate(["/"]))})},7e3),this.checkTimeout=setTimeout(()=>{this.$toastr.warning(this.$translate.instant("restart.toast_server_restart_timeout"),this.$translate.instant("toast.title_warning"),{timeOut:1e4}),this.timeout=!0},4e4)}static \u0275fac=function(s){return new(s||t)};static \u0275cmp=w({type:t,selectors:[["ng-component"]],decls:14,vars:8,consts:[[1,"d-flex","justify-content-between"],[1,"primary-text","m-0"],[1,"my-4","align-items-center",2,"max-width","1000px","margin","auto"],[1,"w-100","text-center","primary-text","mb-5"],[1,"fas","fa-fw","fa-power-off",2,"font-size","75px"],[1,"text-center"],[1,"primary-text","mb-4"],[1,"alert","alert-error","my-4"],[1,"alert","alert-warning","my-4"],[1,"grey-text"],[1,"justify-content-center","my-4"],[1,"restart-progress-box","primary-text"],[3,"ngClass"],[1,"grey-text","mb-0"],[1,"font-monospace"],[1,"mt-2","mb-0"],[1,"btn","btn-primary","mb-0",3,"click"]],template:function(s,u){s&1&&(r(0,"div",0)(1,"h3",1),a(2),o(3,"translate"),n()(),r(4,"div",2)(5,"div",3),v(6,"i",4),n(),r(7,"div",5)(8,"h4",6),a(9),o(10,"translate"),n(),f(11,j,2,1,"div",7)(12,M,14,20),f(13,z,10,8,"div",8),n()()),s&2&&(i(2),c(l(3,4,"menu.restart.title")),i(7),c(l(10,6,"restart.title_restart")),i(2),_(u.error?11:12),i(2),_(u.timeout?13:-1))},dependencies:[T,I],styles:[".restart-progress-box[_ngcontent-%COMP%]{font-size:22px;font-weight:300;margin-top:15px}"]})}return t})();export{X as RestartComponent};
1
+ import{a as D}from"./chunk-KDSFLQHL.js";import"./chunk-5NN3P4WI.js";import{d as E}from"./chunk-25NXLXGL.js";import{b as R}from"./chunk-QTNYLY3B.js";import{k as O,n as B}from"./chunk-M6NSVIVL.js";import{a as k,b as I}from"./chunk-CPAHENLQ.js";import"./chunk-RJOGO4M5.js";import{Dc as b,Ec as g,Hc as o,Ib as f,Ic as l,Jb as _,Ob as x,Pb as r,Qb as n,Rb as v,_b as $,ab as i,bc as S,dc as d,id as T,la as m,mb as w,qc as a,ra as C,rc as c,sa as y,sc as h}from"./chunk-WEVBEUAJ.js";var U=(t,p)=>({"fas fa-fw fa-spinner fa-spin":t,"far fa-fw fa-check-circle":p}),F=t=>({"grey-text":t}),P=(t,p)=>({"far fa-fw fa-circle":t,"fas fa-fw fa-spinner fa-spin":p});function j(t,p){if(t&1&&(r(0,"div",7),a(1),n()),t&2){let e=d();i(),c(e.error)}}function M(t,p){if(t&1&&(r(0,"p",9),a(1),o(2,"translate"),n(),r(3,"div",10)(4,"div",11)(5,"span"),v(6,"i",12),a(7),o(8,"translate"),n()(),r(9,"div",11)(10,"span",12),v(11,"i",12),a(12),o(13,"translate"),n()()()),t&2){let e=d();i(),c(l(2,6,"restart.please_wait_while_server_restarts")),i(5),x("ngClass",g(12,U,!e.uiOnline,e.uiOnline)),i(),h(" ",l(8,8,"restart.ui_online")," "),i(3),x("ngClass",b(15,F,!e.uiOnline)),i(),x("ngClass",g(17,P,!e.uiOnline,e.uiOnline)),i(),h(" ",l(13,10,"restart.service_ready")," ")}}function V(t,p){if(t&1){let e=$();r(0,"p",15)(1,"button",16),S("click",function(){C(e);let u=d(2);return y(u.viewLogs())}),a(2),o(3,"translate"),n()()}t&2&&(i(2),c(l(3,1,"menu.tooltip_view_logs")))}function z(t,p){if(t&1&&(r(0,"div",8)(1,"p"),a(2),o(3,"translate"),n(),r(4,"p",13),a(5),o(6,"translate"),r(7,"span",14),a(8),n()(),f(9,V,4,3,"p",15),n()),t&2){let e=d();i(2),c(l(3,4,"restart.server_is_taking_long_time_to_restart")),i(3),h(" ",l(6,6,"restart.label_restart_command_executed"),": "),i(3),c(e.resp.command||"End Process"),i(),_(e.uiOnline?9:-1)}}var X=(()=>{class t{$api=m(B);$router=m(E);$settings=m(R);$toastr=m(O);$translate=m(k);$ws=m(D);checkTimeout;checkDelay;io;uiOnline=!1;error=!1;resp={};timeout=!1;ngOnInit(){this.io=this.$ws.connectToNamespace("status"),this.io.connected.subscribe(()=>{this.io.socket.emit("monitor-server-status"),this.$settings.getAppSettings().catch(()=>{})}),this.$router.parseUrl(this.$router.url).queryParams.restarting?(this.uiOnline=!0,this.checkIfServerUp()):this.$api.put("/server/restart",{}).subscribe({next:s=>{this.resp=s,this.checkIfServerUp(),s.restartingUI||(this.uiOnline=!0)},error:s=>{console.error(s),this.error=this.$translate.instant("restart.toast_server_restart_error"),this.$toastr.error(this.$translate.instant("restart.toast_server_restart_error"),this.$translate.instant("toast.title_error"))}})}viewLogs(){this.$router.navigate(["/logs"])}ngOnDestroy(){this.io.end(),clearTimeout(this.checkDelay),clearTimeout(this.checkTimeout)}checkIfServerUp(){this.checkDelay=setTimeout(()=>{this.io.socket.on("homebridge-status",e=>{this.uiOnline=!0,(e.status==="up"||e.status==="pending")&&(this.$toastr.success(this.$translate.instant("restart.toast_server_restarted"),this.$translate.instant("toast.title_success")),this.$router.navigate(["/"]))})},7e3),this.checkTimeout=setTimeout(()=>{this.$toastr.warning(this.$translate.instant("restart.toast_server_restart_timeout"),this.$translate.instant("toast.title_warning"),{timeOut:1e4}),this.timeout=!0},4e4)}static \u0275fac=function(s){return new(s||t)};static \u0275cmp=w({type:t,selectors:[["ng-component"]],decls:14,vars:8,consts:[[1,"d-flex","justify-content-between"],[1,"primary-text","m-0"],[1,"my-4","align-items-center",2,"max-width","1000px","margin","auto"],[1,"w-100","text-center","primary-text","mb-5"],[1,"fas","fa-fw","fa-power-off",2,"font-size","75px"],[1,"text-center"],[1,"primary-text","mb-4"],[1,"alert","alert-error","my-4"],[1,"alert","alert-warning","my-4"],[1,"grey-text"],[1,"justify-content-center","my-4"],[1,"restart-progress-box","primary-text"],[3,"ngClass"],[1,"grey-text","mb-0"],[1,"font-monospace"],[1,"mt-2","mb-0"],[1,"btn","btn-primary","mb-0",3,"click"]],template:function(s,u){s&1&&(r(0,"div",0)(1,"h3",1),a(2),o(3,"translate"),n()(),r(4,"div",2)(5,"div",3),v(6,"i",4),n(),r(7,"div",5)(8,"h4",6),a(9),o(10,"translate"),n(),f(11,j,2,1,"div",7)(12,M,14,20),f(13,z,10,8,"div",8),n()()),s&2&&(i(2),c(l(3,4,"menu.restart.title")),i(7),c(l(10,6,"restart.title_restart")),i(2),_(u.error?11:12),i(2),_(u.timeout?13:-1))},dependencies:[T,I],styles:[".restart-progress-box[_ngcontent-%COMP%]{font-size:22px;font-weight:300;margin-top:15px}"]})}return t})();export{X as RestartComponent};
@@ -1 +1 @@
1
- import{a as l}from"./chunk-VDG4QQHT.js";import{a as m}from"./chunk-3T4CLJZB.js";import{n as s}from"./chunk-MJK6N6PA.js";import{b as o}from"./chunk-UOLEC72N.js";import{a as i}from"./chunk-CPAHENLQ.js";import{ga as r,la as n}from"./chunk-WEVBEUAJ.js";var I=(()=>{class e{$terminal=n(l);$settings=n(o);$modal=n(s);$translate=n(i);handleBeforeUnload(t){if(!this.$settings.env.terminal?.persistence&&!this.$settings.env.terminal?.hideWarning&&this.$terminal.hasActiveSession()&&this.$terminal.hasUserTypedInSession()){let a=this.$translate.instant("platform.terminal.terminate_unload");return t.preventDefault(),t.returnValue=a,a}}canDeactivate(){if(this.$settings.env.terminal?.persistence||this.$settings.env.terminal?.hideWarning||!this.$terminal.hasActiveSession()||!this.$terminal.hasUserTypedInSession())return!0;let t=this.$modal.open(m,{size:"lg",backdrop:"static"});return t.componentInstance.title=this.$translate.instant("platform.terminal.terminate_title"),t.componentInstance.message=this.$translate.instant("platform.terminal.terminate_message_1"),t.componentInstance.message2=this.$translate.instant("platform.terminal.terminate_message_2"),t.componentInstance.message3=this.$translate.instant("common.phrases.are_you_sure"),t.componentInstance.confirmButtonLabel=this.$translate.instant("form.button_continue"),t.componentInstance.confirmButtonClass="btn-primary",t.componentInstance.faIconClass="fas fa-exclamation-triangle text-warning",t.result.then(()=>!0).catch(()=>!1)}static \u0275fac=function(a){return new(a||e)};static \u0275prov=r({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();export{I as a};
1
+ import{a as l}from"./chunk-R2NZJIKS.js";import{a as m}from"./chunk-Z2JFLSVB.js";import{n as s}from"./chunk-F27XTST6.js";import{b as o}from"./chunk-QTNYLY3B.js";import{a as i}from"./chunk-CPAHENLQ.js";import{ga as r,la as n}from"./chunk-WEVBEUAJ.js";var I=(()=>{class e{$terminal=n(l);$settings=n(o);$modal=n(s);$translate=n(i);handleBeforeUnload(t){if(!this.$settings.env.terminal?.persistence&&!this.$settings.env.terminal?.hideWarning&&this.$terminal.hasActiveSession()&&this.$terminal.hasUserTypedInSession()){let a=this.$translate.instant("platform.terminal.terminate_unload");return t.preventDefault(),t.returnValue=a,a}}canDeactivate(){if(this.$settings.env.terminal?.persistence||this.$settings.env.terminal?.hideWarning||!this.$terminal.hasActiveSession()||!this.$terminal.hasUserTypedInSession())return!0;let t=this.$modal.open(m,{size:"lg",backdrop:"static"});return t.componentInstance.title=this.$translate.instant("platform.terminal.terminate_title"),t.componentInstance.message=this.$translate.instant("platform.terminal.terminate_message_1"),t.componentInstance.message2=this.$translate.instant("platform.terminal.terminate_message_2"),t.componentInstance.message3=this.$translate.instant("common.phrases.are_you_sure"),t.componentInstance.confirmButtonLabel=this.$translate.instant("form.button_continue"),t.componentInstance.confirmButtonClass="btn-primary",t.componentInstance.faIconClass="fas fa-exclamation-triangle text-warning",t.result.then(()=>!0).catch(()=>!1)}static \u0275fac=function(a){return new(a||e)};static \u0275prov=r({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();export{I as a};