homebridge-config-ui-x 5.3.1-beta.2 → 5.3.1-beta.21
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 +22 -1
- 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/status/status.controller.d.ts +0 -1
- package/dist/modules/status/status.gateway.d.ts +0 -1
- package/dist/modules/status/status.service.d.ts +0 -1
- package/dist/modules/status/status.service.js +0 -30
- package/dist/modules/status/status.service.js.map +1 -1
- package/package.json +2 -2
- package/public/assets/accessory-icons/air-purifier.svg +50 -0
- package/public/assets/accessory-icons/air-quality-sensor.svg +30 -0
- package/public/assets/accessory-icons/carbon-dioxide-sensor.svg +53 -0
- package/public/assets/accessory-icons/carbon-monoxide-sensor.svg +53 -0
- package/public/assets/accessory-icons/contact-sensor.svg +45 -0
- package/public/assets/accessory-icons/door.svg +28 -0
- package/public/assets/accessory-icons/doorbell.svg +7 -0
- package/public/assets/accessory-icons/garage-door.svg +120 -0
- package/public/assets/accessory-icons/microphone.svg +12 -0
- package/public/assets/{hap-icons/vacuum-on.svg → accessory-icons/robot-vacuum.svg} +27 -24
- package/public/assets/accessory-icons/smoke-sensor.svg +38 -0
- package/public/assets/hap-icons/speaker.svg +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/{chunk-RUGXAJFG.js → chunk-266W2IXX.js} +1 -1
- package/public/{chunk-S7D4ALZN.js → chunk-2HQZ67OQ.js} +1 -1
- package/public/{chunk-RHCMG64A.js → chunk-4IO5CZNO.js} +1 -1
- package/public/{chunk-M5NQ4PPK.js → chunk-4VJBOLKN.js} +1 -1
- package/public/{chunk-Y2WR3DTD.js → chunk-5LZZ7QL3.js} +1 -1
- package/public/chunk-5NFFYPKF.js +1 -0
- package/public/{chunk-VPU5FNT3.js → chunk-5SOYD2TJ.js} +1 -1
- package/public/{chunk-QWFWYENA.js → chunk-65YEFWKG.js} +1 -1
- package/public/{chunk-MFAGY6KM.js → chunk-765D7VYU.js} +1 -1
- package/public/{chunk-LTNHCFVE.js → chunk-7FGHR4MI.js} +1 -1
- package/public/chunk-7I6N5VRM.js +1 -0
- package/public/{chunk-H337OZRD.js → chunk-AGG2PKOU.js} +1 -1
- package/public/chunk-ANMMY5CI.js +1 -0
- package/public/{chunk-IMT3YYMD.js → chunk-BICPFHAC.js} +1 -1
- package/public/{chunk-MEUQDXB4.js → chunk-BIK2UD4M.js} +1 -1
- package/public/{chunk-FDLD6PXT.js → chunk-BZMJIEWN.js} +1 -1
- package/public/{chunk-ZHHBQLMW.js → chunk-C2YY224G.js} +1 -1
- package/public/{chunk-2FTHA637.js → chunk-CWQ6ZSGE.js} +1 -1
- package/public/{chunk-UORORZRF.js → chunk-D3REX5AX.js} +2 -2
- package/public/{chunk-TGNWWUX2.js → chunk-E6O3ARSU.js} +1 -1
- package/public/{chunk-2SFFQU7E.js → chunk-EY6WW3AK.js} +1 -1
- package/public/{chunk-HWLFFU24.js → chunk-EYEQ6NN4.js} +1 -1
- package/public/{chunk-UBUPCIG7.js → chunk-F3BKNHYI.js} +2 -2
- package/public/{chunk-RPRM66DV.js → chunk-FLJ5YMEV.js} +1 -1
- package/public/chunk-FPC6DQKK.js +1 -0
- package/public/{chunk-F3MG6UU6.js → chunk-GH4LZN3L.js} +1 -1
- package/public/chunk-GLRIWBOZ.js +1 -0
- package/public/chunk-HCP4JDTX.js +1 -0
- package/public/{chunk-XMU54Z4I.js → chunk-HG72TAZA.js} +1 -1
- package/public/chunk-HLJ7HDRH.js +1 -0
- package/public/{chunk-FBUMZH3M.js → chunk-HPH2XH5T.js} +1 -1
- package/public/{chunk-3T5DWLEU.js → chunk-J4YU65LZ.js} +1 -1
- package/public/chunk-JHYSVQC3.js +1 -0
- package/public/{chunk-MG3W55EH.js → chunk-K55VCLYN.js} +1 -1
- package/public/chunk-KAW657JE.js +1 -0
- package/public/{chunk-5CJVTJIE.js → chunk-KLP4CBZ4.js} +1 -1
- package/public/{chunk-NO7RIAKI.js → chunk-KR2T7G6K.js} +1 -1
- package/public/{chunk-VW3OPYPI.js → chunk-KW2EE34I.js} +1 -1
- package/public/{chunk-7MIPVXLJ.js → chunk-L2MRC6AR.js} +1 -1
- package/public/{chunk-BSPKLFZ5.js → chunk-L34HBBHI.js} +2 -2
- package/public/{chunk-S7AIVWKK.js → chunk-L6QEXIU2.js} +1 -1
- package/public/chunk-LCTW2GII.js +1 -0
- package/public/{chunk-CTBYEKWZ.js → chunk-LURKJXHA.js} +1 -1
- package/public/{chunk-RMZGW2GZ.js → chunk-MF2XI7O3.js} +1 -1
- package/public/{chunk-QOUFFCXD.js → chunk-MV2TAERN.js} +1 -1
- package/public/{chunk-6KU2OSFL.js → chunk-NNXSRPDM.js} +2 -2
- package/public/chunk-NUAVF2CP.js +1 -0
- package/public/chunk-OQMXN2HP.js +1 -0
- package/public/chunk-OYUCEKDP.js +4 -0
- package/public/{chunk-LDDVDB32.js → chunk-PDDLHA2Z.js} +1 -1
- package/public/{chunk-25NXLXGL.js → chunk-QIW6M5VR.js} +1 -1
- package/public/chunk-QKVY4ZEN.js +12 -0
- package/public/{chunk-AKD24HZC.js → chunk-RCWSDUTV.js} +1 -1
- package/public/{chunk-GXKYHQPV.js → chunk-RHVXSVTG.js} +1 -1
- package/public/{chunk-O4DNLPYF.js → chunk-RORN44IG.js} +1 -1
- package/public/{chunk-E3QJRRZX.js → chunk-SS2MPODH.js} +1 -1
- package/public/{chunk-MJK6N6PA.js → chunk-SXLEIQ7L.js} +1 -1
- package/public/chunk-TIL3AXXZ.js +4 -0
- package/public/{chunk-KKMV35EJ.js → chunk-U3S5RZBK.js} +1 -1
- package/public/{chunk-UKEZ5GGN.js → chunk-UDZCOX6Z.js} +1 -1
- package/public/{chunk-FUQWPOJU.js → chunk-UPEVR422.js} +1 -1
- package/public/chunk-VLDEJRYU.js +1 -0
- package/public/{chunk-VZRW6ATJ.js → chunk-VQ6CMHDR.js} +1 -1
- package/public/{chunk-C2H4WU7E.js → chunk-VQFV46GS.js} +1 -1
- package/public/chunk-W2DFSRPJ.js +1 -0
- package/public/{chunk-V2JQMGNW.js → chunk-W7HZZAPO.js} +1 -1
- package/public/{chunk-RJOGO4M5.js → chunk-WBXDUV2S.js} +1 -1
- package/public/chunk-XEWNX5CX.js +1 -0
- package/public/{chunk-WX2DXDQP.js → chunk-ZWLJYFRW.js} +17 -15
- package/public/index.html +2 -2
- package/public/main-BXMYH6PX.js +1 -0
- package/public/{styles-LG2MDN7O.css → styles-COBBPQJD.css} +1 -1
- package/public/assets/hap-icons/air-purifier.svg +0 -50
- package/public/assets/hap-icons/air-quality-sensor.svg +0 -25
- 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/doorbell.svg +0 -17
- package/public/assets/hap-icons/garage-door.svg +0 -25
- package/public/assets/hap-icons/microphone.svg +0 -22
- package/public/assets/hap-icons/smoke-sensor.svg +0 -59
- package/public/assets/hap-icons/vacuum-off.svg +0 -34
- package/public/chunk-3T4CLJZB.js +0 -1
- package/public/chunk-57GCR4EG.js +0 -1
- package/public/chunk-AZGZHQ6H.js +0 -1
- package/public/chunk-B24CHCYQ.js +0 -4
- package/public/chunk-CPAHENLQ.js +0 -1
- package/public/chunk-EB55AKA5.js +0 -1
- package/public/chunk-GUMW23NO.js +0 -1
- package/public/chunk-JTGQF57R.js +0 -1
- package/public/chunk-LLUK2BKI.js +0 -1
- package/public/chunk-NBH3OPPF.js +0 -1
- package/public/chunk-PYHGTQGK.js +0 -1
- package/public/chunk-RRLXIJI2.js +0 -1
- package/public/chunk-SBRL5MLD.js +0 -1
- package/public/chunk-TU6EJB5I.js +0 -1
- package/public/chunk-UPWD7C23.js +0 -1
- package/public/chunk-WEVBEUAJ.js +0 -4
- package/public/chunk-ZSSKZOCU.js +0 -1
- package/public/chunk-ZUJKHS4Z.js +0 -12
- package/public/main-JC5QHSTM.js +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
|
@@ -0,0 +1,53 @@
|
|
|
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"
|
|
17
|
+
>
|
|
18
|
+
CO
|
|
19
|
+
</text>
|
|
20
|
+
|
|
21
|
+
<!-- grille blue background -->
|
|
22
|
+
<line x1="6" y1="14.5" x2="25.5" y2="14.5" stroke="#1976d2" stroke-opacity="0.5" stroke-width="2" />
|
|
23
|
+
|
|
24
|
+
<!-- grille vertical lines -->
|
|
25
|
+
<line stroke-linecap="round" x1="5" y1="13" x2="6.5" y2="16" stroke="#7f7f7f" stroke-width="1.25" />
|
|
26
|
+
<line stroke-linecap="round" x1="11" y1="13" x2="11" y2="16" stroke="#7f7f7f" stroke-width="1" />
|
|
27
|
+
<line stroke-linecap="round" x1="15.5" y1="13" x2="15.5" y2="16" stroke="#7f7f7f" stroke-width="1" />
|
|
28
|
+
<line stroke-linecap="round" x1="20" y1="13" x2="20" y2="16" stroke="#7f7f7f" stroke-width="1" />
|
|
29
|
+
<line stroke-linecap="round" x1="26" y1="13" x2="24.5" y2="16" stroke="#7f7f7f" stroke-width="1.25" />
|
|
30
|
+
|
|
31
|
+
<!-- grille horizontal lines -->
|
|
32
|
+
<line stroke-linecap="round" x1="6.5" y1="16" x2="24.5" y2="16" stroke="#7f7f7f" stroke-width="1.25" />
|
|
33
|
+
|
|
34
|
+
<!-- top wave -->
|
|
35
|
+
<path
|
|
36
|
+
d="M3,23 C6,25 9,21 12,23 C15,25 18,21 21,23 C24,25 27,21 30,23"
|
|
37
|
+
class="air-line"
|
|
38
|
+
stroke="#7f7f7f"
|
|
39
|
+
fill="transparent"
|
|
40
|
+
stroke-width="1.5"
|
|
41
|
+
stroke-linecap="round"
|
|
42
|
+
/>
|
|
43
|
+
|
|
44
|
+
<!-- bottom wave -->
|
|
45
|
+
<path
|
|
46
|
+
d="M3,30 C6,32 9,28 12,30 C15,32 18,28 21,30 C24,32 27,28 30,30"
|
|
47
|
+
class="air-line"
|
|
48
|
+
stroke="#7f7f7f"
|
|
49
|
+
fill="transparent"
|
|
50
|
+
stroke-width="1.5"
|
|
51
|
+
stroke-linecap="round"
|
|
52
|
+
/>
|
|
53
|
+
</svg>
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
<svg width="32px" height="32px" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<!-- left object -->
|
|
3
|
+
<rect class="left-object" x="1" y="1" width="15" height="30" rx="2" stroke="#7f7f7f" fill="none" stroke-width="1.5" />
|
|
4
|
+
|
|
5
|
+
<!-- right object -->
|
|
6
|
+
<rect
|
|
7
|
+
class="right-object"
|
|
8
|
+
x="16"
|
|
9
|
+
y="1"
|
|
10
|
+
width="15"
|
|
11
|
+
height="30"
|
|
12
|
+
rx="2"
|
|
13
|
+
stroke="#7f7f7f"
|
|
14
|
+
fill="none"
|
|
15
|
+
stroke-width="1.5"
|
|
16
|
+
/>
|
|
17
|
+
|
|
18
|
+
<!-- left sensor -->
|
|
19
|
+
<rect
|
|
20
|
+
class="left-sensor"
|
|
21
|
+
x="10"
|
|
22
|
+
y="11"
|
|
23
|
+
width="6"
|
|
24
|
+
height="10"
|
|
25
|
+
rx="1"
|
|
26
|
+
stroke="#7f7f7f"
|
|
27
|
+
fill="#4caf50"
|
|
28
|
+
fill-opacity="0.5"
|
|
29
|
+
stroke-width="0.5"
|
|
30
|
+
/>
|
|
31
|
+
|
|
32
|
+
<!-- right sensor -->
|
|
33
|
+
<rect
|
|
34
|
+
class="right-sensor"
|
|
35
|
+
x="16"
|
|
36
|
+
y="11"
|
|
37
|
+
width="6"
|
|
38
|
+
height="10"
|
|
39
|
+
rx="1"
|
|
40
|
+
stroke="#7f7f7f"
|
|
41
|
+
fill="#4caf50"
|
|
42
|
+
fill-opacity="0.5"
|
|
43
|
+
stroke-width="0.5"
|
|
44
|
+
/>
|
|
45
|
+
</svg>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<svg width="32px" height="32px" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<!-- outer frame -->
|
|
3
|
+
<rect x="7.8" y="0.8" width="16.4" height="30.2" rx="0.5" stroke="#7f7f7f" fill="none" stroke-width="1.5" />
|
|
4
|
+
|
|
5
|
+
<!-- door outline -->
|
|
6
|
+
<rect class="outline" x="9.6" y="2.6" width="12.8" height="26.6" stroke="#7f7f7f" fill="none" stroke-width="1" />
|
|
7
|
+
|
|
8
|
+
<!-- top panel -->
|
|
9
|
+
<rect class="panel" x="11.2" y="4.2" width="9.6" height="10.8" stroke="#7f7f7f" fill-opacity="0" stroke-width="0.5" />
|
|
10
|
+
|
|
11
|
+
<!-- bottom panel -->
|
|
12
|
+
<rect
|
|
13
|
+
class="panel"
|
|
14
|
+
x="11.2"
|
|
15
|
+
y="16.8"
|
|
16
|
+
width="9.6"
|
|
17
|
+
height="10.8"
|
|
18
|
+
stroke="#7f7f7f"
|
|
19
|
+
fill-opacity="0"
|
|
20
|
+
stroke-width="0.5"
|
|
21
|
+
/>
|
|
22
|
+
|
|
23
|
+
<!-- wider floor -->
|
|
24
|
+
<line x1="0" y1="31" x2="32" y2="31" stroke="#7f7f7f" stroke-width="1.5" />
|
|
25
|
+
|
|
26
|
+
<!-- door handles -->
|
|
27
|
+
<line class="handle" x1="19" y1="15.9" x2="21" y2="15.9" stroke="#7f7f7f" stroke-width="0.5" />
|
|
28
|
+
</svg>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg width="32px" height="32px" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<!-- outer casing -->
|
|
3
|
+
<rect x="6" y="1" width="18" height="30" rx="3" stroke="#7f7f7f" fill="none" stroke-width="2" />
|
|
4
|
+
|
|
5
|
+
<!-- power button -->
|
|
6
|
+
<circle cx="15" cy="16" r="5" stroke="#7f7f7f" stroke-width="2" fill="#1976d2" fill-opacity="0.5" />
|
|
7
|
+
</svg>
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
<svg width="32px" height="32px" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<!-- circle in roof -->
|
|
3
|
+
<circle
|
|
4
|
+
class="window"
|
|
5
|
+
cx="15.5"
|
|
6
|
+
cy="10.25"
|
|
7
|
+
r="3"
|
|
8
|
+
stroke="#7f7f7f"
|
|
9
|
+
stroke-width="0.5"
|
|
10
|
+
fill="#1976d2"
|
|
11
|
+
fill-opacity="0.5"
|
|
12
|
+
/>
|
|
13
|
+
|
|
14
|
+
<!-- left roof line -->
|
|
15
|
+
<line x1="1" y1="12" x2="15" y2="1" stroke="#7f7f7f" stroke-width="1.5" stroke-linecap="round" />
|
|
16
|
+
|
|
17
|
+
<!-- right roof line -->
|
|
18
|
+
<line x1="31" y1="12" x2="16" y2="1" stroke="#7f7f7f" stroke-width="1.5" stroke-linecap="round" />
|
|
19
|
+
|
|
20
|
+
<!-- roof summit -->
|
|
21
|
+
<circle cx="15.5" cy="1.3" r="0.5" stroke="#7f7f7f" stroke-width="1.5" />
|
|
22
|
+
|
|
23
|
+
<!-- side left line -->
|
|
24
|
+
<line x1="3" y1="11" x2="3" y2="31" stroke="#7f7f7f" stroke-width="1.5" stroke-linecap="round" />
|
|
25
|
+
|
|
26
|
+
<!-- right side line -->
|
|
27
|
+
<line x1="29" y1="11" x2="29" y2="31" stroke="#7f7f7f" stroke-width="1.5" stroke-linecap="round" />
|
|
28
|
+
|
|
29
|
+
<!-- bottom left horizontal line -->
|
|
30
|
+
<line x1="3" y1="31" x2="6" y2="31" stroke="#7f7f7f" stroke-width="1.5" stroke-linecap="round" />
|
|
31
|
+
|
|
32
|
+
<!-- bottom right horizontal line -->
|
|
33
|
+
<line x1="26" y1="31" x2="29" y2="31" stroke="#7f7f7f" stroke-width="1.5" stroke-linecap="round" />
|
|
34
|
+
|
|
35
|
+
<!-- left garage line -->
|
|
36
|
+
<line x1="6" y1="17" x2="6" y2="31" stroke="#7f7f7f" stroke-width="1.5" />
|
|
37
|
+
|
|
38
|
+
<!-- right garage line -->
|
|
39
|
+
<line x1="26" y1="17" x2="26" y2="31" stroke="#7f7f7f" stroke-width="1.5" />
|
|
40
|
+
|
|
41
|
+
<!-- garage door lines -->
|
|
42
|
+
<line x1="5.25" y1="17" x2="26.75" y2="17" stroke="#7f7f7f" stroke-width="1" />
|
|
43
|
+
<line
|
|
44
|
+
class="line line1"
|
|
45
|
+
x1="6.75"
|
|
46
|
+
y1="18"
|
|
47
|
+
x2="25.25"
|
|
48
|
+
y2="18"
|
|
49
|
+
stroke="#1976d2"
|
|
50
|
+
stroke-width="1"
|
|
51
|
+
stroke-opacity="0.5"
|
|
52
|
+
/>
|
|
53
|
+
<line class="line line2" x1="5.25" y1="19" x2="26.75" y2="19" stroke="#7f7f7f" stroke-width="1" />
|
|
54
|
+
<line
|
|
55
|
+
class="line line3"
|
|
56
|
+
x1="6.75"
|
|
57
|
+
y1="20"
|
|
58
|
+
x2="25.25"
|
|
59
|
+
y2="20"
|
|
60
|
+
stroke="#1976d2"
|
|
61
|
+
stroke-width="1"
|
|
62
|
+
stroke-opacity="0.5"
|
|
63
|
+
/>
|
|
64
|
+
<line class="line line4" x1="5.25" y1="21" x2="26.75" y2="21" stroke="#7f7f7f" stroke-width="1" />
|
|
65
|
+
<line
|
|
66
|
+
class="line line5"
|
|
67
|
+
x1="6.75"
|
|
68
|
+
y1="22"
|
|
69
|
+
x2="25.25"
|
|
70
|
+
y2="22"
|
|
71
|
+
stroke="#1976d2"
|
|
72
|
+
stroke-width="1"
|
|
73
|
+
stroke-opacity="0.5"
|
|
74
|
+
/>
|
|
75
|
+
<line class="line line6" x1="5.25" y1="23" x2="26.75" y2="23" stroke="#7f7f7f" stroke-width="1" />
|
|
76
|
+
<line
|
|
77
|
+
class="line line7"
|
|
78
|
+
x1="6.75"
|
|
79
|
+
y1="24"
|
|
80
|
+
x2="25.25"
|
|
81
|
+
y2="24"
|
|
82
|
+
stroke="#1976d2"
|
|
83
|
+
stroke-width="1"
|
|
84
|
+
stroke-opacity="0.5"
|
|
85
|
+
/>
|
|
86
|
+
<line class="line line8" x1="5.25" y1="25" x2="26.75" y2="25" stroke="#7f7f7f" stroke-width="1" />
|
|
87
|
+
<line
|
|
88
|
+
class="line line9"
|
|
89
|
+
x1="6.75"
|
|
90
|
+
y1="26"
|
|
91
|
+
x2="25.25"
|
|
92
|
+
y2="26"
|
|
93
|
+
stroke="#1976d2"
|
|
94
|
+
stroke-width="1"
|
|
95
|
+
stroke-opacity="0.5"
|
|
96
|
+
/>
|
|
97
|
+
<line class="line line10" x1="5.25" y1="27" x2="26.75" y2="27" stroke="#7f7f7f" stroke-width="1" />
|
|
98
|
+
<line
|
|
99
|
+
class="line line11"
|
|
100
|
+
x1="6.75"
|
|
101
|
+
y1="28"
|
|
102
|
+
x2="25.25"
|
|
103
|
+
y2="28"
|
|
104
|
+
stroke="#1976d2"
|
|
105
|
+
stroke-width="1"
|
|
106
|
+
stroke-opacity="0.5"
|
|
107
|
+
/>
|
|
108
|
+
<line class="line line12" x1="5.25" y1="29" x2="26.75" y2="29" stroke="#7f7f7f" stroke-width="1" />
|
|
109
|
+
<line
|
|
110
|
+
class="line line13"
|
|
111
|
+
x1="6.75"
|
|
112
|
+
y1="30"
|
|
113
|
+
x2="25.25"
|
|
114
|
+
y2="30"
|
|
115
|
+
stroke="#1976d2"
|
|
116
|
+
stroke-width="1"
|
|
117
|
+
stroke-opacity="0.5"
|
|
118
|
+
/>
|
|
119
|
+
<line class="line line14" x1="5.25" y1="31" x2="26.75" y2="31" stroke="#7f7f7f" stroke-width="1" />
|
|
120
|
+
</svg>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<svg width="32px" height="32px" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<!-- outer casing -->
|
|
3
|
+
<rect x="6" y="1" width="18" height="30" rx="3" stroke="#7f7f7f" fill="none" stroke-width="2" />
|
|
4
|
+
|
|
5
|
+
<!-- grille lines -->
|
|
6
|
+
<line stroke-linecap="round" x1="10" y1="6" x2="20" y2="6" stroke="#7f7f7f" stroke-width="2" />
|
|
7
|
+
<line stroke-linecap="round" x1="10" y1="10" x2="20" y2="10" stroke="#7f7f7f" stroke-width="2" />
|
|
8
|
+
<line stroke-linecap="round" x1="10" y1="14" x2="20" y2="14" stroke="#7f7f7f" stroke-width="2" />
|
|
9
|
+
|
|
10
|
+
<!-- power button -->
|
|
11
|
+
<circle cx="15" cy="23" r="3" stroke="#7f7f7f" stroke-width="2" fill="#1976d2" fill-opacity="0.5" />
|
|
12
|
+
</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
|
-
<!--
|
|
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
|
-
<!--
|
|
18
|
-
<ellipse cx="16" cy="10" rx="14" ry="8.4" stroke="#
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
<
|
|
22
|
-
<
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
<
|
|
26
|
-
|
|
27
|
-
|
|
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="#
|
|
31
|
-
<!--
|
|
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
|
-
<!--
|
|
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
|
-
<!--
|
|
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" />
|
|
@@ -0,0 +1,38 @@
|
|
|
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"
|
|
17
|
+
>
|
|
18
|
+
SMOKE
|
|
19
|
+
</text>
|
|
20
|
+
|
|
21
|
+
<!-- grille blue background -->
|
|
22
|
+
<line x1="6" y1="14.5" x2="25.5" y2="14.5" stroke="#1976d2" stroke-opacity="0.5" stroke-width="2" />
|
|
23
|
+
|
|
24
|
+
<!-- grille vertical lines -->
|
|
25
|
+
<line stroke-linecap="round" x1="5" y1="13" x2="6.5" y2="16" stroke="#7f7f7f" stroke-width="1.25" />
|
|
26
|
+
<line stroke-linecap="round" x1="11" y1="13" x2="11" y2="16" stroke="#7f7f7f" stroke-width="1" />
|
|
27
|
+
<line stroke-linecap="round" x1="15.5" y1="13" x2="15.5" y2="16" stroke="#7f7f7f" stroke-width="1" />
|
|
28
|
+
<line stroke-linecap="round" x1="20" y1="13" x2="20" y2="16" stroke="#7f7f7f" stroke-width="1" />
|
|
29
|
+
<line stroke-linecap="round" x1="26" y1="13" x2="24.5" y2="16" stroke="#7f7f7f" stroke-width="1.25" />
|
|
30
|
+
|
|
31
|
+
<!-- grille horizontal lines -->
|
|
32
|
+
<line stroke-linecap="round" x1="6.5" y1="16" x2="24.5" y2="16" stroke="#7f7f7f" stroke-width="1.25" />
|
|
33
|
+
|
|
34
|
+
<!-- left to right air lines -->
|
|
35
|
+
<line stroke-linecap="round" x1="11" y1="21" x2="6" y2="27" stroke="#7f7f7f" stroke-width="1.25" class="air-line" />
|
|
36
|
+
<line stroke-linecap="round" x1="16" y1="21" x2="16" y2="31" stroke="#7f7f7f" stroke-width="1.25" class="air-line" />
|
|
37
|
+
<line stroke-linecap="round" x1="21" y1="21" x2="26" y2="27" stroke="#7f7f7f" stroke-width="1.25" class="air-line" />
|
|
38
|
+
</svg>
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
<title>speaker</title>
|
|
11
11
|
<!-- Speaker path -->
|
|
12
12
|
<path
|
|
13
|
-
stroke="#
|
|
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
|
|
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
|
|
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
|
|
41
|
+
stroke-width="2"
|
|
42
42
|
fill="none"
|
|
43
43
|
class="wave"
|
|
44
44
|
/>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2016 - present Microsoft Corporation
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
# Monaco Editor
|
|
2
|
+
|
|
3
|
+
[](https://dev.azure.com/ms/monaco-editor/_build/latest?definitionId=3)
|
|
4
|
+
|
|
5
|
+
The Monaco Editor is the code editor which powers [VS Code](https://github.com/Microsoft/vscode), with the features better described [here](https://code.visualstudio.com/docs/editor/editingevolved).
|
|
6
|
+
|
|
7
|
+
Please note that this repository contains no source code for the code editor, it only contains the scripts to package everything together and ship the `monaco-editor` npm module.
|
|
8
|
+
|
|
9
|
+

|
|
10
|
+
|
|
11
|
+
## Try it out
|
|
12
|
+
|
|
13
|
+
Try the editor out [on our website](https://microsoft.github.io/monaco-editor/index.html).
|
|
14
|
+
|
|
15
|
+
## Installing
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
$ npm install monaco-editor
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
You will get:
|
|
22
|
+
* inside `esm`: ESM version of the editor (compatible with e.g. webpack)
|
|
23
|
+
* inside `dev`: AMD bundled, not minified
|
|
24
|
+
* inside `min`: AMD bundled, and minified
|
|
25
|
+
* inside `min-maps`: source maps for `min`
|
|
26
|
+
* `monaco.d.ts`: this specifies the API of the editor (this is what is actually versioned, everything else is considered private and might break with any release).
|
|
27
|
+
|
|
28
|
+
It is recommended to develop against the `dev` version, and in production to use the `min` version.
|
|
29
|
+
|
|
30
|
+
## Documentation
|
|
31
|
+
|
|
32
|
+
* Learn how to integrate the editor with these [complete samples](https://github.com/Microsoft/monaco-editor-samples/).
|
|
33
|
+
* [Integrate the AMD version](./docs/integrate-amd.md).
|
|
34
|
+
* [Integrate the AMD version cross-domain](./docs/integrate-amd-cross.md)
|
|
35
|
+
* [Integrate the ESM version](./docs/integrate-esm.md)
|
|
36
|
+
* Learn how to use the editor API and try out your own customizations in the [playground](https://microsoft.github.io/monaco-editor/playground.html).
|
|
37
|
+
* Explore the [API docs](https://microsoft.github.io/monaco-editor/api/index.html) or read them straight from [`monaco.d.ts`](https://github.com/Microsoft/monaco-editor/blob/master/website/playground/monaco.d.ts.txt).
|
|
38
|
+
* Read [this guide](https://github.com/Microsoft/monaco-editor/wiki/Accessibility-Guide-for-Integrators) to ensure the editor is accessible to all your users!
|
|
39
|
+
* Create a Monarch tokenizer for a new programming language [in the Monarch playground](https://microsoft.github.io/monaco-editor/monarch.html).
|
|
40
|
+
* Ask questions on [StackOverflow](https://stackoverflow.com/questions/tagged/monaco-editor)! Search open and closed issues, there are a lot of tips in there!
|
|
41
|
+
|
|
42
|
+
## Issues
|
|
43
|
+
|
|
44
|
+
Create [issues](https://github.com/Microsoft/monaco-editor/issues) in this repository for anything related to the Monaco Editor. Always mention **the version** of the editor when creating issues and **the browser** you're having trouble in. Please search for existing issues to avoid duplicates.
|
|
45
|
+
|
|
46
|
+
## FAQ
|
|
47
|
+
|
|
48
|
+
❓ **What is the relationship between VS Code and the Monaco Editor?**
|
|
49
|
+
|
|
50
|
+
The Monaco Editor is generated straight from VS Code's sources with some shims around services the code needs to make it run in a web browser outside of its home.
|
|
51
|
+
|
|
52
|
+
❓ **What is the relationship between VS Code's version and the Monaco Editor's version?**
|
|
53
|
+
|
|
54
|
+
None. The Monaco Editor is a library and it reflects directly the source code.
|
|
55
|
+
|
|
56
|
+
❓ **I've written an extension for VS Code, will it work on the Monaco Editor in a browser?**
|
|
57
|
+
|
|
58
|
+
No.
|
|
59
|
+
|
|
60
|
+
> Note: If the extension is fully based on the [LSP](https://microsoft.github.io/language-server-protocol/) and if the language server is authored in JavaScript, then it would be possible.
|
|
61
|
+
|
|
62
|
+
❓ **Why all these web workers and why should I care?**
|
|
63
|
+
|
|
64
|
+
Language services create web workers to compute heavy stuff outside of the UI thread. They cost hardly anything in terms of resource overhead and you shouldn't worry too much about them, as long as you get them to work (see above the cross-domain case).
|
|
65
|
+
|
|
66
|
+
❓ **What is this `loader.js`? Can I use `require.js`?**
|
|
67
|
+
|
|
68
|
+
It is an AMD loader that we use in VS Code. Yes.
|
|
69
|
+
|
|
70
|
+
❓ **I see the warning "Could not create web worker". What should I do?**
|
|
71
|
+
|
|
72
|
+
HTML5 does not allow pages loaded on `file://` to create web workers. Please load the editor with a web server on `http://` or `https://` schemes. Please also see the cross-domain case above.
|
|
73
|
+
|
|
74
|
+
❓ **Is the editor supported in mobile browsers or mobile web app frameworks?**
|
|
75
|
+
|
|
76
|
+
No.
|
|
77
|
+
|
|
78
|
+
❓ **Why doesn't the editor support TextMate grammars?**
|
|
79
|
+
|
|
80
|
+
* Please see https://github.com/bolinfest/monaco-tm which puts together `monaco-editor`, `vscode-oniguruma` and `vscode-textmate` to get TM grammar support in the editor.
|
|
81
|
+
|
|
82
|
+
❓ **What about IE 11 support?**
|
|
83
|
+
|
|
84
|
+
* The Monaco Editor no longer supports IE 11. The last version that was tested on IE 11 is `0.18.1`.
|
|
85
|
+
|
|
86
|
+
## Development setup
|
|
87
|
+
|
|
88
|
+
Please see [CONTRIBUTING](./CONTRIBUTING.md)
|
|
89
|
+
|
|
90
|
+
## Code of Conduct
|
|
91
|
+
|
|
92
|
+
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
## License
|
|
96
|
+
Licensed under the [MIT](https://github.com/Microsoft/monaco-editor/blob/master/LICENSE.md) License.
|