homebridge-config-ui-x 5.4.2-beta.9 → 5.5.1-beta.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 +41 -8
- package/dist/bin/hb-service.js +1 -1
- package/dist/bin/hb-service.js.map +1 -1
- package/dist/core/auth/auth.controller.d.ts +2 -0
- package/dist/core/config/config.interfaces.d.ts +64 -0
- package/dist/core/config/config.interfaces.js +3 -0
- package/dist/core/config/config.interfaces.js.map +1 -0
- package/dist/core/config/config.service.d.ts +7 -22
- package/dist/core/config/config.service.js +7 -2
- package/dist/core/config/config.service.js.map +1 -1
- package/dist/core/config/config.startup.d.ts +2 -12
- package/dist/core/config/config.startup.js +11 -3
- package/dist/core/config/config.startup.js.map +1 -1
- package/dist/core/spa/spa-html.service.d.ts +5 -0
- package/dist/core/spa/spa-html.service.js +38 -0
- package/dist/core/spa/spa-html.service.js.map +1 -0
- package/dist/core/spa/spa.filter.d.ts +3 -0
- package/dist/core/spa/spa.filter.js +22 -2
- package/dist/core/spa/spa.filter.js.map +1 -1
- package/dist/globalDefaults.js +3 -0
- package/dist/globalDefaults.js.map +1 -1
- package/dist/main.js +18 -3
- package/dist/main.js.map +1 -1
- package/dist/modules/backup/backup.service.js +4 -1
- package/dist/modules/backup/backup.service.js.map +1 -1
- package/dist/modules/config-editor/config-editor.controller.d.ts +3 -3
- package/dist/modules/config-editor/config-editor.service.d.ts +3 -2
- package/dist/modules/config-editor/config-editor.service.js +38 -15
- package/dist/modules/config-editor/config-editor.service.js.map +1 -1
- package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.service.d.ts +1 -1
- package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.service.js +2 -1
- package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.service.js.map +1 -1
- package/dist/modules/log/log.gateway.d.ts +1 -1
- package/dist/modules/log/log.interfaces.d.ts +4 -0
- package/dist/modules/log/log.interfaces.js +3 -0
- package/dist/modules/log/log.interfaces.js.map +1 -0
- package/dist/modules/log/log.service.d.ts +1 -4
- package/dist/modules/log/log.service.js.map +1 -1
- package/dist/modules/platform-tools/terminal/terminal.gateway.d.ts +1 -1
- package/dist/modules/platform-tools/terminal/terminal.interfaces.d.ts +8 -0
- package/dist/modules/platform-tools/terminal/terminal.interfaces.js +3 -0
- package/dist/modules/platform-tools/terminal/terminal.interfaces.js.map +1 -0
- package/dist/modules/platform-tools/terminal/terminal.service.d.ts +1 -8
- package/dist/modules/platform-tools/terminal/terminal.service.js.map +1 -1
- package/dist/modules/plugins/plugins.controller.d.ts +5 -5
- package/dist/modules/plugins/plugins.interfaces.d.ts +211 -0
- package/dist/modules/plugins/plugins.interfaces.js +3 -0
- package/dist/modules/plugins/plugins.interfaces.js.map +1 -0
- package/dist/modules/plugins/plugins.service.d.ts +1 -1
- package/dist/modules/plugins/plugins.service.js +6 -0
- package/dist/modules/plugins/plugins.service.js.map +1 -1
- package/dist/modules/server/server.controller.d.ts +3 -0
- package/dist/modules/server/server.controller.js +13 -0
- package/dist/modules/server/server.controller.js.map +1 -1
- package/dist/modules/server/server.service.js +6 -4
- package/dist/modules/server/server.service.js.map +1 -1
- package/dist/modules/status/status.controller.d.ts +2 -2
- package/dist/modules/status/status.gateway.d.ts +5 -5
- package/dist/modules/status/status.interfaces.d.ts +27 -0
- package/dist/modules/status/status.interfaces.js +10 -0
- package/dist/modules/status/status.interfaces.js.map +1 -0
- package/dist/modules/status/status.service.d.ts +2 -29
- package/dist/modules/status/status.service.js +4 -9
- package/dist/modules/status/status.service.js.map +1 -1
- package/package.json +8 -8
- package/public/3rdpartylicenses.txt +94 -66
- package/public/assets/monaco/ThirdPartyNotices.txt +448 -0
- package/public/assets/monaco/min/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/public/assets/monaco/min/vs/base/worker/workerMain.js +31 -0
- package/public/assets/monaco/min/vs/basic-languages/shell/shell.js +10 -0
- package/public/assets/monaco/min/vs/editor/editor.main.css +8 -0
- package/public/assets/monaco/min/vs/editor/editor.main.js +798 -0
- package/public/assets/monaco/min/vs/language/json/jsonMode.js +19 -0
- package/public/assets/monaco/min/vs/language/json/jsonWorker.js +42 -0
- package/public/assets/monaco/min/vs/loader.js +11 -0
- package/public/chunk-27GIXBUL.js +1 -0
- package/public/chunk-2WTXSPUJ.js +4 -0
- package/public/chunk-3VWHW3VQ.js +1 -0
- package/public/{chunk-YATJTZML.js → chunk-4HJOARLT.js} +2 -2
- package/public/chunk-4LIGHDKI.js +1 -0
- package/public/chunk-4Y4F2KPM.js +1 -0
- package/public/chunk-4YVGH3ZE.js +1 -0
- package/public/chunk-5RPEHPDA.js +1 -0
- package/public/{chunk-77JZBWAC.js → chunk-5YEYAEII.js} +1 -1
- package/public/{chunk-EA3EXGPZ.js → chunk-6DTD6NF3.js} +2 -2
- package/public/chunk-6E7EK2GM.js +1 -0
- package/public/chunk-6G6CH3LL.js +16 -0
- package/public/{chunk-CCPSSGRZ.js → chunk-6RXVZPC7.js} +1 -1
- package/public/chunk-6SI7H6RT.js +1 -0
- package/public/{chunk-BU65ZOCD.js → chunk-A7SU4MHQ.js} +1 -1
- package/public/chunk-AACIDDLQ.js +9 -0
- package/public/chunk-AGWLRKYB.js +1 -0
- package/public/chunk-CDMUVE5I.js +1 -0
- package/public/{chunk-ICTLVT6T.js → chunk-CIUZSMW7.js} +1 -1
- package/public/chunk-CJB3QKGM.js +1 -0
- package/public/{chunk-ZHPB347D.js → chunk-D2HNCCB6.js} +1 -1
- package/public/chunk-D2TSHO5I.js +2 -0
- package/public/chunk-EAYEFDUO.js +1 -0
- package/public/{chunk-FXX7OM3C.js → chunk-EMWJQEBD.js} +4 -4
- package/public/{chunk-5TCYRJ6A.js → chunk-EOXVJQVC.js} +1 -1
- package/public/chunk-EP5GBNVN.js +1 -0
- package/public/chunk-FEIVHOIF.js +1 -0
- package/public/{chunk-SJ3DSNFF.js → chunk-G2KTO6WH.js} +1 -1
- package/public/chunk-GFF7L5IR.js +1 -0
- package/public/chunk-GJFQEACS.js +1 -0
- package/public/chunk-GWBV4NLJ.js +1 -0
- package/public/{chunk-V2P2FPJ7.js → chunk-HQBRFFPL.js} +1 -1
- package/public/chunk-II6FR7AV.js +1 -0
- package/public/{chunk-NJOBXAPT.js → chunk-IL6JW6PB.js} +1 -1
- package/public/chunk-IM3YQCR6.js +3 -0
- package/public/chunk-JGJU5I2Q.js +1 -0
- package/public/chunk-JOLVMSOY.js +1 -0
- package/public/chunk-KCLLEPG3.js +1 -0
- package/public/chunk-KQPTSJGX.js +1 -0
- package/public/chunk-LAPNBIDM.js +1 -0
- package/public/{chunk-I2TETZLW.js → chunk-M5WPLQER.js} +1 -1
- package/public/{chunk-NFWGYMP7.js → chunk-NHATITBP.js} +1 -1
- package/public/chunk-OCE3NZU3.js +1 -0
- package/public/chunk-OMVW5CZJ.js +1 -0
- package/public/chunk-OUH4ZSHO.js +1 -0
- package/public/chunk-OYQVCBHH.js +1 -0
- package/public/{chunk-H3PPMCMP.js → chunk-PMMMKI32.js} +1 -1
- package/public/chunk-PRNMO4E2.js +5 -0
- package/public/chunk-QQ7GUCKM.js +4 -0
- package/public/{chunk-LPHTUMGC.js → chunk-QTUF3RXY.js} +1 -1
- package/public/chunk-QXXHZHRV.js +1 -0
- package/public/{chunk-UHWT4HS2.js → chunk-R7VTFW66.js} +1 -1
- package/public/chunk-S6CG4V6V.js +1 -0
- package/public/chunk-SFIU77RQ.js +1 -0
- package/public/chunk-SHZTAKQI.js +1 -0
- package/public/chunk-SXT7ZQQT.js +1 -0
- package/public/chunk-T2O7MH3X.js +4 -0
- package/public/chunk-TBZ4GK6S.js +19 -0
- package/public/chunk-TUN7H57E.js +1 -0
- package/public/{chunk-DYJDYESS.js → chunk-TWTE7OA6.js} +1 -1
- package/public/chunk-UWTT2UAM.js +1 -0
- package/public/chunk-VHMNRRMA.js +1 -0
- package/public/chunk-WFEYL445.js +1 -0
- package/public/{chunk-4WAU3AJS.js → chunk-YD55GFUZ.js} +1 -1
- package/public/chunk-YLG54GZQ.js +49 -0
- package/public/chunk-Z6DR74QO.js +1 -0
- package/public/{chunk-VU6MPE5H.js → chunk-Z6GHP2MM.js} +1 -1
- package/public/chunk-ZX7APSEP.js +1 -0
- package/public/index.html +2 -2
- package/public/main-32NOGV4V.js +1 -0
- package/public/polyfills-5KWHJ7II.js +2 -0
- package/public/styles-643WFJRY.css +1 -0
- package/config.schema.json +0 -590
- package/public/assets/monaco-0.21.3/README.md +0 -96
- package/public/assets/monaco-0.21.3/ThirdPartyNotices.txt +0 -283
- 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/min/vs/base/worker/workerMain.js +0 -160
- package/public/assets/monaco-0.21.3/min/vs/basic-languages/shell/shell.js +0 -7
- package/public/assets/monaco-0.21.3/min/vs/editor/editor.main.css +0 -6
- package/public/assets/monaco-0.21.3/min/vs/editor/editor.main.js +0 -2368
- package/public/assets/monaco-0.21.3/min/vs/editor/editor.main.nls.js +0 -39
- package/public/assets/monaco-0.21.3/min/vs/language/json/jsonMode.js +0 -7
- package/public/assets/monaco-0.21.3/min/vs/language/json/jsonWorker.js +0 -7
- package/public/assets/monaco-0.21.3/min/vs/loader.js +0 -38
- package/public/assets/monaco-0.21.3/package.json +0 -38
- package/public/chunk-2CO3VBPY.js +0 -1
- package/public/chunk-3I6K5KUV.js +0 -1
- package/public/chunk-5VA2P7IY.js +0 -1
- package/public/chunk-6GMXEQVA.js +0 -2
- package/public/chunk-7LW4MGOQ.js +0 -1
- package/public/chunk-AE7VAWOU.js +0 -9
- package/public/chunk-BBMQHM5Y.js +0 -2
- package/public/chunk-BOJ5G5BR.js +0 -1
- package/public/chunk-CNMM42I5.js +0 -1
- package/public/chunk-D3JHDB7S.js +0 -1
- package/public/chunk-DP64F7AR.js +0 -1
- package/public/chunk-E6YWZCLV.js +0 -1
- package/public/chunk-EOD26MLT.js +0 -20
- package/public/chunk-F5LCQLBC.js +0 -1
- package/public/chunk-G7FA4DP4.js +0 -1
- package/public/chunk-GSI45GAI.js +0 -1
- package/public/chunk-H36QJYLQ.js +0 -4
- package/public/chunk-H5ZWWQ4N.js +0 -1
- package/public/chunk-J2QJA4E5.js +0 -1
- package/public/chunk-JIAMQ2VI.js +0 -1
- package/public/chunk-KJ7TFOAF.js +0 -1
- package/public/chunk-L452FIUI.js +0 -1
- package/public/chunk-MLQP4BIF.js +0 -1
- package/public/chunk-N2DFJK5J.js +0 -1
- package/public/chunk-NGCBLX4N.js +0 -1
- package/public/chunk-NQUU3I4B.js +0 -1
- package/public/chunk-OKJ3EDLI.js +0 -1
- package/public/chunk-OPI4KEXA.js +0 -1
- package/public/chunk-PGN4W67A.js +0 -1
- package/public/chunk-PJQJ4U6H.js +0 -1
- package/public/chunk-Q76LRRNA.js +0 -1
- package/public/chunk-QKX6ZW6V.js +0 -1
- package/public/chunk-QTPZZ54U.js +0 -4
- package/public/chunk-R2OFMY4D.js +0 -1
- package/public/chunk-RVZECQBJ.js +0 -1
- package/public/chunk-SAZZA33Y.js +0 -23
- package/public/chunk-SNHTHMX3.js +0 -1
- package/public/chunk-TGOCI72Q.js +0 -1
- package/public/chunk-U2KAF42T.js +0 -3
- package/public/chunk-UKLR7UOX.js +0 -14
- package/public/chunk-UOLP7IQJ.js +0 -1
- package/public/chunk-UQX3UTFZ.js +0 -4
- package/public/chunk-WV56IURB.js +0 -30
- package/public/chunk-X7YL6WTA.js +0 -1
- package/public/chunk-XHYVOBCA.js +0 -1
- package/public/chunk-XJZGI5OR.js +0 -1
- package/public/chunk-YXI6VAVI.js +0 -1
- package/public/chunk-Z3CXF63X.js +0 -1
- package/public/chunk-Z7BM53JV.js +0 -1
- package/public/main-BZ3XOOI6.js +0 -1
- package/public/polyfills-WE4HA5DL.js +0 -2
- package/public/styles-AUT3PDLG.css +0 -1
- /package/public/assets/{monaco-0.21.3 → monaco}/LICENSE +0 -0
package/config.schema.json
DELETED
|
@@ -1,590 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"pluginAlias": "config",
|
|
3
|
-
"pluginType": "platform",
|
|
4
|
-
"singular": true,
|
|
5
|
-
"strictValidation": true,
|
|
6
|
-
"schema": {
|
|
7
|
-
"type": "object",
|
|
8
|
-
"properties": {
|
|
9
|
-
"name": {
|
|
10
|
-
"title": "Name",
|
|
11
|
-
"type": "string",
|
|
12
|
-
"default": "Homebridge UI",
|
|
13
|
-
"minLength": 1,
|
|
14
|
-
"required": true,
|
|
15
|
-
"description": "The name of the Homebridge instance."
|
|
16
|
-
},
|
|
17
|
-
"port": {
|
|
18
|
-
"title": "Port",
|
|
19
|
-
"type": "integer",
|
|
20
|
-
"default": 8080,
|
|
21
|
-
"maximum": 65535,
|
|
22
|
-
"required": true,
|
|
23
|
-
"description": "The port number to run the Homebridge UI on."
|
|
24
|
-
},
|
|
25
|
-
"auth": {
|
|
26
|
-
"title": "Homebridge UI Authentication",
|
|
27
|
-
"type": "string",
|
|
28
|
-
"default": "form",
|
|
29
|
-
"description": "Whether to enable authentication for the Homebridge UI with a username and password.",
|
|
30
|
-
"oneOf": [
|
|
31
|
-
{
|
|
32
|
-
"title": "Require Authentication",
|
|
33
|
-
"enum": [
|
|
34
|
-
"form"
|
|
35
|
-
]
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"title": "None",
|
|
39
|
-
"enum": [
|
|
40
|
-
"none"
|
|
41
|
-
]
|
|
42
|
-
}
|
|
43
|
-
],
|
|
44
|
-
"required": true
|
|
45
|
-
},
|
|
46
|
-
"theme": {
|
|
47
|
-
"title": "UI Theme",
|
|
48
|
-
"description": "The theme used for the UI.",
|
|
49
|
-
"type": "string",
|
|
50
|
-
"default": "orange",
|
|
51
|
-
"oneOf": [
|
|
52
|
-
{
|
|
53
|
-
"title": "Orange",
|
|
54
|
-
"enum": [
|
|
55
|
-
"orange"
|
|
56
|
-
]
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"title": "Red",
|
|
60
|
-
"enum": [
|
|
61
|
-
"red"
|
|
62
|
-
]
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"title": "Pink",
|
|
66
|
-
"enum": [
|
|
67
|
-
"pink"
|
|
68
|
-
]
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"title": "Purple",
|
|
72
|
-
"enum": [
|
|
73
|
-
"purple"
|
|
74
|
-
]
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"title": "Deep Purple",
|
|
78
|
-
"enum": [
|
|
79
|
-
"deep-purple"
|
|
80
|
-
]
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"title": "Indigo",
|
|
84
|
-
"enum": [
|
|
85
|
-
"indigo"
|
|
86
|
-
]
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"title": "Blue",
|
|
90
|
-
"enum": [
|
|
91
|
-
"blue"
|
|
92
|
-
]
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"title": "Blue Grey",
|
|
96
|
-
"enum": [
|
|
97
|
-
"blue-grey"
|
|
98
|
-
]
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
"title": "Cyan",
|
|
102
|
-
"enum": [
|
|
103
|
-
"cyan"
|
|
104
|
-
]
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
"title": "Green",
|
|
108
|
-
"enum": [
|
|
109
|
-
"green"
|
|
110
|
-
]
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
"title": "Teal",
|
|
114
|
-
"enum": [
|
|
115
|
-
"teal"
|
|
116
|
-
]
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
"title": "Grey",
|
|
120
|
-
"enum": [
|
|
121
|
-
"grey"
|
|
122
|
-
]
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
"title": "Brown",
|
|
126
|
-
"enum": [
|
|
127
|
-
"brown"
|
|
128
|
-
]
|
|
129
|
-
}
|
|
130
|
-
],
|
|
131
|
-
"required": true
|
|
132
|
-
},
|
|
133
|
-
"lightingMode": {
|
|
134
|
-
"title": "UI Lighting Mode",
|
|
135
|
-
"description": "The lighting mode used for the UI.",
|
|
136
|
-
"type": "string",
|
|
137
|
-
"default": "auto",
|
|
138
|
-
"oneOf": [
|
|
139
|
-
{
|
|
140
|
-
"title": "Auto",
|
|
141
|
-
"enum": [
|
|
142
|
-
"auto"
|
|
143
|
-
]
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
"title": "Light",
|
|
147
|
-
"enum": [
|
|
148
|
-
"light"
|
|
149
|
-
]
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
"title": "Dark",
|
|
153
|
-
"enum": [
|
|
154
|
-
"dark"
|
|
155
|
-
]
|
|
156
|
-
}
|
|
157
|
-
]
|
|
158
|
-
},
|
|
159
|
-
"menuMode": {
|
|
160
|
-
"title": "Menu Mode",
|
|
161
|
-
"description": "Modes for the UI side menu.",
|
|
162
|
-
"type": "string",
|
|
163
|
-
"default": "default",
|
|
164
|
-
"oneOf": [
|
|
165
|
-
{
|
|
166
|
-
"title": "Default",
|
|
167
|
-
"enum": [
|
|
168
|
-
"default"
|
|
169
|
-
]
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
"title": "Freeze",
|
|
173
|
-
"enum": [
|
|
174
|
-
"freeze"
|
|
175
|
-
]
|
|
176
|
-
}
|
|
177
|
-
]
|
|
178
|
-
},
|
|
179
|
-
"temp": {
|
|
180
|
-
"title": "OS Temp File Path",
|
|
181
|
-
"type": "string",
|
|
182
|
-
"placeholder": "eg. /sys/class/thermal/thermal_zone0/temp",
|
|
183
|
-
"description": "If you are running Homebridge on a Raspberry Pi, you can enter the path to the OS temp file here. This will display the current temperature on the Homebridge status page."
|
|
184
|
-
},
|
|
185
|
-
"tempUnits": {
|
|
186
|
-
"title": "Temperature Display Units",
|
|
187
|
-
"description": "The units used to display the temperature.",
|
|
188
|
-
"type": "string",
|
|
189
|
-
"required": true,
|
|
190
|
-
"default": "c",
|
|
191
|
-
"oneOf": [
|
|
192
|
-
{
|
|
193
|
-
"title": "Celsius",
|
|
194
|
-
"enum": [
|
|
195
|
-
"c"
|
|
196
|
-
]
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
"title": "Fahrenheit",
|
|
200
|
-
"enum": [
|
|
201
|
-
"f"
|
|
202
|
-
]
|
|
203
|
-
}
|
|
204
|
-
]
|
|
205
|
-
},
|
|
206
|
-
"lang": {
|
|
207
|
-
"title": "Language",
|
|
208
|
-
"type": "string",
|
|
209
|
-
"default": "auto",
|
|
210
|
-
"description": "The language used for the UI.",
|
|
211
|
-
"required": true,
|
|
212
|
-
"oneOf": [
|
|
213
|
-
{
|
|
214
|
-
"title": "Automatic (Use Browser Settings)",
|
|
215
|
-
"enum": [
|
|
216
|
-
"auto"
|
|
217
|
-
]
|
|
218
|
-
},
|
|
219
|
-
{
|
|
220
|
-
"title": "Bulgarian (bg)",
|
|
221
|
-
"enum": [
|
|
222
|
-
"bg"
|
|
223
|
-
]
|
|
224
|
-
},
|
|
225
|
-
{
|
|
226
|
-
"title": "Catalan (ca)",
|
|
227
|
-
"enum": [
|
|
228
|
-
"ca"
|
|
229
|
-
]
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
"title": "Chinese - Simplified (zh-CN)",
|
|
233
|
-
"enum": [
|
|
234
|
-
"zh-CN"
|
|
235
|
-
]
|
|
236
|
-
},
|
|
237
|
-
{
|
|
238
|
-
"title": "Chinese - Traditional (zh-TW)",
|
|
239
|
-
"enum": [
|
|
240
|
-
"zh-TW"
|
|
241
|
-
]
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
"title": "Czech (cs)",
|
|
245
|
-
"enum": [
|
|
246
|
-
"cs"
|
|
247
|
-
]
|
|
248
|
-
},
|
|
249
|
-
{
|
|
250
|
-
"title": "Dutch (nl)",
|
|
251
|
-
"enum": [
|
|
252
|
-
"nl"
|
|
253
|
-
]
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
"title": "English (en)",
|
|
257
|
-
"enum": [
|
|
258
|
-
"en"
|
|
259
|
-
]
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
"title": "Finnish (fi)",
|
|
263
|
-
"enum": [
|
|
264
|
-
"fi"
|
|
265
|
-
]
|
|
266
|
-
},
|
|
267
|
-
{
|
|
268
|
-
"title": "French (fr)",
|
|
269
|
-
"enum": [
|
|
270
|
-
"fr"
|
|
271
|
-
]
|
|
272
|
-
},
|
|
273
|
-
{
|
|
274
|
-
"title": "German (de)",
|
|
275
|
-
"enum": [
|
|
276
|
-
"de"
|
|
277
|
-
]
|
|
278
|
-
},
|
|
279
|
-
{
|
|
280
|
-
"title": "Hebrew (he)",
|
|
281
|
-
"enum": [
|
|
282
|
-
"he"
|
|
283
|
-
]
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
"title": "Hungarian (hu)",
|
|
287
|
-
"enum": [
|
|
288
|
-
"hu"
|
|
289
|
-
]
|
|
290
|
-
},
|
|
291
|
-
{
|
|
292
|
-
"title": "Indonesian (id)",
|
|
293
|
-
"enum": [
|
|
294
|
-
"id"
|
|
295
|
-
]
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
"title": "Italian (it)",
|
|
299
|
-
"enum": [
|
|
300
|
-
"it"
|
|
301
|
-
]
|
|
302
|
-
},
|
|
303
|
-
{
|
|
304
|
-
"title": "Japanese (ja)",
|
|
305
|
-
"enum": [
|
|
306
|
-
"ja"
|
|
307
|
-
]
|
|
308
|
-
},
|
|
309
|
-
{
|
|
310
|
-
"title": "Korean (ko)",
|
|
311
|
-
"enum": [
|
|
312
|
-
"ko"
|
|
313
|
-
]
|
|
314
|
-
},
|
|
315
|
-
{
|
|
316
|
-
"title": "Macedonian (mk)",
|
|
317
|
-
"enum": [
|
|
318
|
-
"mk"
|
|
319
|
-
]
|
|
320
|
-
},
|
|
321
|
-
{
|
|
322
|
-
"title": "Norwegian (no)",
|
|
323
|
-
"enum": [
|
|
324
|
-
"no"
|
|
325
|
-
]
|
|
326
|
-
},
|
|
327
|
-
{
|
|
328
|
-
"title": "Polish (pl)",
|
|
329
|
-
"enum": [
|
|
330
|
-
"pl"
|
|
331
|
-
]
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
"title": "Portuguese (Brazil)",
|
|
335
|
-
"enum": [
|
|
336
|
-
"pt-BR"
|
|
337
|
-
]
|
|
338
|
-
},
|
|
339
|
-
{
|
|
340
|
-
"title": "Portuguese (Portugal)",
|
|
341
|
-
"enum": [
|
|
342
|
-
"pt"
|
|
343
|
-
]
|
|
344
|
-
},
|
|
345
|
-
{
|
|
346
|
-
"title": "Russian (ru)",
|
|
347
|
-
"enum": [
|
|
348
|
-
"ru"
|
|
349
|
-
]
|
|
350
|
-
},
|
|
351
|
-
{
|
|
352
|
-
"title": "Slovenian (sl)",
|
|
353
|
-
"enum": [
|
|
354
|
-
"sl"
|
|
355
|
-
]
|
|
356
|
-
},
|
|
357
|
-
{
|
|
358
|
-
"title": "Spanish (es)",
|
|
359
|
-
"enum": [
|
|
360
|
-
"es"
|
|
361
|
-
]
|
|
362
|
-
},
|
|
363
|
-
{
|
|
364
|
-
"title": "Swedish (sv)",
|
|
365
|
-
"enum": [
|
|
366
|
-
"sv"
|
|
367
|
-
]
|
|
368
|
-
},
|
|
369
|
-
{
|
|
370
|
-
"title": "Thai (th)",
|
|
371
|
-
"enum": [
|
|
372
|
-
"th"
|
|
373
|
-
]
|
|
374
|
-
},
|
|
375
|
-
{
|
|
376
|
-
"title": "Turkish (tr)",
|
|
377
|
-
"enum": [
|
|
378
|
-
"tr"
|
|
379
|
-
]
|
|
380
|
-
},
|
|
381
|
-
{
|
|
382
|
-
"title": "Ukrainian (uk)",
|
|
383
|
-
"enum": [
|
|
384
|
-
"uk"
|
|
385
|
-
]
|
|
386
|
-
}
|
|
387
|
-
]
|
|
388
|
-
},
|
|
389
|
-
"wallpaper": {
|
|
390
|
-
"title": "Login Wallpaper Path",
|
|
391
|
-
"description": "The full path to the .jpg file.",
|
|
392
|
-
"type": "string",
|
|
393
|
-
"placeholder": "eg. /home/pi/mywallpaper.jpg"
|
|
394
|
-
},
|
|
395
|
-
"homebridgePackagePath": {
|
|
396
|
-
"title": "Path To Homebridge Module",
|
|
397
|
-
"type": "string",
|
|
398
|
-
"description": "If you have multiple versions of Homebridge installed, you can specify the path to the version you want to use here.",
|
|
399
|
-
"placeholder": "eg. /usr/local/lib/node_modules/homebridge"
|
|
400
|
-
},
|
|
401
|
-
"host": {
|
|
402
|
-
"title": "Host IP Address",
|
|
403
|
-
"type": "string",
|
|
404
|
-
"pattern": "^[^{}/ :\\\\]+(?::\\d+)?$",
|
|
405
|
-
"description": "The host IP address to listen on. In most cases this will be '::' or '0.0.0.0'.",
|
|
406
|
-
"placeholder": "eg. 0.0.0.0"
|
|
407
|
-
},
|
|
408
|
-
"sessionTimeout": {
|
|
409
|
-
"title": "Session Timeout (Seconds)",
|
|
410
|
-
"type": "integer",
|
|
411
|
-
"placeholder": 28800,
|
|
412
|
-
"minimum": 600,
|
|
413
|
-
"maximum": 86400000,
|
|
414
|
-
"description": "The number of seconds before a user will be logged out of the UI. Defaults to 8 hours.",
|
|
415
|
-
"condition": {
|
|
416
|
-
"functionBody": "return model.auth === 'form'"
|
|
417
|
-
}
|
|
418
|
-
},
|
|
419
|
-
"log": {
|
|
420
|
-
"type": "object",
|
|
421
|
-
"title": "Log Settings",
|
|
422
|
-
"description": "The log settings for the Homebridge UI.",
|
|
423
|
-
"properties": {
|
|
424
|
-
"maxSize": {
|
|
425
|
-
"type": "integer",
|
|
426
|
-
"description": "The max log size (bytes). Set to -1 to disable log truncation.",
|
|
427
|
-
"minimum": -1
|
|
428
|
-
},
|
|
429
|
-
"truncateSize": {
|
|
430
|
-
"type": "integer",
|
|
431
|
-
"description": "The size (bytes) to truncate the log to once it goes over the max size specified above.",
|
|
432
|
-
"minimum": 0,
|
|
433
|
-
"condition": {
|
|
434
|
-
"functionBody": "return (model.log && model.log.maxSize > 0)"
|
|
435
|
-
}
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
},
|
|
439
|
-
"ssl": {
|
|
440
|
-
"title": "SSL Setup",
|
|
441
|
-
"type": "object",
|
|
442
|
-
"description": "The SSL settings for the Homebridge UI.",
|
|
443
|
-
"properties": {
|
|
444
|
-
"key": {
|
|
445
|
-
"title": "Private Key Path",
|
|
446
|
-
"type": "string",
|
|
447
|
-
"description": "The full path to the private key file.",
|
|
448
|
-
"placeholder": "eg. /Users/homebridge/.homebridge/certs/server.key"
|
|
449
|
-
},
|
|
450
|
-
"cert": {
|
|
451
|
-
"title": "Certificate Path",
|
|
452
|
-
"type": "string",
|
|
453
|
-
"description": "The full path to the certificate file.",
|
|
454
|
-
"placeholder": "eg. /Users/homebridge/.homebridge/certs/server.crt"
|
|
455
|
-
},
|
|
456
|
-
"pfx": {
|
|
457
|
-
"title": "PKCS#12 Certificate Path",
|
|
458
|
-
"type": "string",
|
|
459
|
-
"description": "The full path to the PKCS#12 certificate file.",
|
|
460
|
-
"placeholder": "eg. /Users/homebridge/.homebridge/certs/server.pfx"
|
|
461
|
-
},
|
|
462
|
-
"passphrase": {
|
|
463
|
-
"title": "PKCS#12 Certificate Passphrase",
|
|
464
|
-
"type": "string",
|
|
465
|
-
"description": "The passphrase for the PKCS#12 certificate file.",
|
|
466
|
-
"placeholder": "eg. mypassphrase"
|
|
467
|
-
}
|
|
468
|
-
}
|
|
469
|
-
},
|
|
470
|
-
"accessoryControl": {
|
|
471
|
-
"title": "Accessory Control Setup",
|
|
472
|
-
"type": "object",
|
|
473
|
-
"description": "The accessory control settings for the Homebridge UI.",
|
|
474
|
-
"properties": {
|
|
475
|
-
"debug": {
|
|
476
|
-
"title": "Enable Accessory Control Debug Logging",
|
|
477
|
-
"type": "boolean",
|
|
478
|
-
"description": "If enabled, the Homebridge UI will log debug level messages to the console."
|
|
479
|
-
},
|
|
480
|
-
"instanceBlacklist": {
|
|
481
|
-
"title": "Blacklisted Bridges/Instances",
|
|
482
|
-
"type": "array",
|
|
483
|
-
"description": "A list of instances (or bridge usernames) that should not be controlled via the web UI.",
|
|
484
|
-
"placeholder": "eg. 00:00:00:00:00:00",
|
|
485
|
-
"items": {
|
|
486
|
-
"title": "Instance Username",
|
|
487
|
-
"type": "string",
|
|
488
|
-
"pattern": "^([A-Fa-f0-9]{2}:){5}[A-Fa-f0-9]{2}$"
|
|
489
|
-
}
|
|
490
|
-
}
|
|
491
|
-
}
|
|
492
|
-
},
|
|
493
|
-
"linux": {
|
|
494
|
-
"title": "Linux Server Commands",
|
|
495
|
-
"type": "object",
|
|
496
|
-
"description": "The Linux server commands for the Homebridge UI.",
|
|
497
|
-
"properties": {
|
|
498
|
-
"shutdown": {
|
|
499
|
-
"title": "Shutdown Command",
|
|
500
|
-
"type": "string",
|
|
501
|
-
"placeholder": "eg. shutdown",
|
|
502
|
-
"description": "If no shutdown command is set the process will terminate with a non-zero exit code."
|
|
503
|
-
},
|
|
504
|
-
"restart": {
|
|
505
|
-
"title": "Restart Command",
|
|
506
|
-
"type": "string",
|
|
507
|
-
"placeholder": "eg. reboot",
|
|
508
|
-
"description": "If no restart command is set the process will terminate with a non-zero exit code."
|
|
509
|
-
}
|
|
510
|
-
}
|
|
511
|
-
},
|
|
512
|
-
"proxyHost": {
|
|
513
|
-
"title": "Reverse Proxy Hostname",
|
|
514
|
-
"type": "string",
|
|
515
|
-
"pattern": "^[^{}/ :\\\\]+(?::\\d+)?$",
|
|
516
|
-
"placeholder": "eg. example.com:8443",
|
|
517
|
-
"description": "When running behind a reverse proxy you may need to enter the hostname you use to access the UI."
|
|
518
|
-
},
|
|
519
|
-
"scheduledBackupPath": {
|
|
520
|
-
"title": "Scheduled Backup Destination",
|
|
521
|
-
"description": "The full path to where the service should save daily scheduled backups archives.",
|
|
522
|
-
"type": "string",
|
|
523
|
-
"placeholder": "eg. /home/pi/homebridge-backups",
|
|
524
|
-
"condition": {
|
|
525
|
-
"functionBody": "return !model.scheduledBackupDisable"
|
|
526
|
-
}
|
|
527
|
-
},
|
|
528
|
-
"scheduledBackupDisable": {
|
|
529
|
-
"title": "Disable Scheduled Backups",
|
|
530
|
-
"type": "boolean",
|
|
531
|
-
"description": "When enabled, the Homebridge UI will not create daily scheduled backups."
|
|
532
|
-
},
|
|
533
|
-
"disableServerMetricsMonitoring": {
|
|
534
|
-
"title": "Disable Server Metrics Monitoring",
|
|
535
|
-
"type": "boolean",
|
|
536
|
-
"description": "When enabled, the Homebridge UI will not collect or report CPU or memory stats."
|
|
537
|
-
},
|
|
538
|
-
"plugins": {
|
|
539
|
-
"title": "Plugins",
|
|
540
|
-
"type": "object",
|
|
541
|
-
"description": "Settings surrounding plugins used by the Homebridge UI.",
|
|
542
|
-
"properties": {
|
|
543
|
-
"hideUpdatesFor": {
|
|
544
|
-
"type": "array",
|
|
545
|
-
"title": "Hide Plugin Updates For",
|
|
546
|
-
"description": "A list of plugin names for which frontend update notifications will be hidden.",
|
|
547
|
-
"items": {
|
|
548
|
-
"type": "string",
|
|
549
|
-
"title": "Plugin Name",
|
|
550
|
-
"pattern": "^(?:@[\\w-]+(?:\\.[\\w-]+)*/)?homebridge-[\\w-]+$"
|
|
551
|
-
}
|
|
552
|
-
}
|
|
553
|
-
}
|
|
554
|
-
},
|
|
555
|
-
"terminal": {
|
|
556
|
-
"type": "object",
|
|
557
|
-
"title": "Terminal Settings",
|
|
558
|
-
"description": "The terminal settings for the Homebridge UI.",
|
|
559
|
-
"properties": {
|
|
560
|
-
"persistence": {
|
|
561
|
-
"title": "Terminal Session Persistence",
|
|
562
|
-
"type": "boolean",
|
|
563
|
-
"description": "When enabled, terminal sessions will persist when navigating away and can be resumed when returning to the terminal page (or status page widget). Terminal sessions are shared across Homebridge UI admin users.",
|
|
564
|
-
"default": false
|
|
565
|
-
},
|
|
566
|
-
"hideWarning": {
|
|
567
|
-
"title": "Hide Terminal Termination Warning",
|
|
568
|
-
"type": "boolean",
|
|
569
|
-
"description": "When enabled, the warning dialog will not be shown before terminating non-persistent terminal sessions.",
|
|
570
|
-
"default": false,
|
|
571
|
-
"condition": {
|
|
572
|
-
"functionBody": "return !model.terminal?.persistence"
|
|
573
|
-
}
|
|
574
|
-
},
|
|
575
|
-
"bufferSize": {
|
|
576
|
-
"title": "Terminal Buffer Character Size",
|
|
577
|
-
"type": "integer",
|
|
578
|
-
"description": "Amount of terminal output to preserve for persistent sessions. Larger values use more memory.",
|
|
579
|
-
"default": 50000,
|
|
580
|
-
"minimum": 0,
|
|
581
|
-
"condition": {
|
|
582
|
-
"functionBody": "return model.terminal?.persistence"
|
|
583
|
-
}
|
|
584
|
-
}
|
|
585
|
-
}
|
|
586
|
-
}
|
|
587
|
-
}
|
|
588
|
-
},
|
|
589
|
-
"layout": []
|
|
590
|
-
}
|
|
@@ -1,96 +0,0 @@
|
|
|
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.
|