iobroker.sql 4.2.1 → 4.3.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/README.md +18 -6
- package/admin/custom/assets/Components-CWJJ3bu1.js +1 -0
- package/admin/custom/assets/{DataBrowser-7kgmmIwY.js → DataBrowser-CXd6Wilm.js} +1 -1
- package/admin/custom/assets/{_virtual_mf-localSharedImportMap___mfe_internal__SqlComponentsSet__mf_owner__1-BkAtL7lu.js → _virtual_mf-localSharedImportMap___mfe_internal__SqlComponentsSet__mf_owner__1-D9xu_nUa.js} +1 -1
- package/admin/custom/assets/{_virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__153366462090512__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-BJJWYgdj.js → _virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__233965516817701__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-D_KAxrKJ.js} +82 -98
- package/admin/custom/assets/_virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__233965516817701__loadShare__shared-CdBNI0v_.js +2 -0
- package/admin/custom/assets/_virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__233965516817701__prebuild___mf_0_iobroker_mf_1_json_mf_2_config__prebuild__-CH3Bc0Pg.js +122 -0
- package/admin/custom/assets/{_virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__153366462090512__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__-B_v57Qfr.js → _virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__233965516817701__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__--SURtz9t.js} +1 -1
- package/admin/custom/assets/_virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__233965516817701__prebuild__react_mf_2_dom_mf_1_client__prebuild__-DKp49xnK.js +9 -0
- package/admin/custom/assets/{dist-CSJEdwl2.js → dist-B3E7IYuQ.js} +1 -1
- package/admin/custom/assets/helpers-DE61bb74.js +1 -0
- package/admin/custom/assets/hostInit-DI6V2HBN.js +1 -0
- package/admin/custom/assets/{index-BiVFssgl.js → index-DVNkzy1M.js} +1 -1
- package/admin/custom/assets/{lib-CJNvVWNJ.js → lib-3uQoRWeQ.js} +2 -2
- package/admin/custom/assets/{mf-entry-bootstrap-0-93bb3b2a.js → mf-entry-bootstrap-0-3e3d8b70.js} +3 -3
- package/admin/custom/assets/{pendingShares-CpzmKQTZ.js → pendingShares-Cg-jucDv.js} +2 -2
- package/admin/custom/assets/prod-m5pRY8Jx.js +15 -0
- package/admin/custom/assets/rolldown-runtime-COiEfhsA.js +1 -0
- package/admin/custom/assets/utils-Bi7ATSfV.js +4 -0
- package/admin/custom/customComponents.js +2 -2
- package/admin/custom/mf-manifest.json +1 -1
- package/admin/jsonConfig.json +174 -52
- package/admin/jsonCustom.json +106 -27
- package/build/lib/errors.js +52 -0
- package/build/lib/errors.js.map +1 -1
- package/build/lib/mssql.js +22 -6
- package/build/lib/mssql.js.map +1 -1
- package/build/lib/mysql.js +20 -5
- package/build/lib/mysql.js.map +1 -1
- package/build/lib/postgresql.js +8 -3
- package/build/lib/postgresql.js.map +1 -1
- package/build/lib/sql-client.js +23 -0
- package/build/lib/sql-client.js.map +1 -1
- package/build/lib/sqlite.js +8 -3
- package/build/lib/sqlite.js.map +1 -1
- package/build/lib/values.js +15 -0
- package/build/lib/values.js.map +1 -1
- package/build/main.js +50 -17
- package/build/main.js.map +1 -1
- package/io-package.json +21 -15
- package/package.json +4 -4
- package/admin/custom/assets/Components-DSsR9Vkk.js +0 -1
- package/admin/custom/assets/_virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__153366462090512__loadShare__shared-Cngqjbz9.js +0 -2
- package/admin/custom/assets/_virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__153366462090512__prebuild___mf_0_iobroker_mf_1_json_mf_2_config__prebuild__-RXcK0i6Q.js +0 -122
- package/admin/custom/assets/_virtual_mf___mfe_internal__SqlComponentsSet__mf_owner__153366462090512__prebuild__react_mf_2_dom_mf_1_client__prebuild__-TBtXQFpm.js +0 -9
- package/admin/custom/assets/helpers-DT5-3o-l.js +0 -1
- package/admin/custom/assets/hostInit-ff9zqDdL.js +0 -1
- package/admin/custom/assets/rolldown-runtime-Dd_uD5pT.js +0 -1
- package/admin/custom/assets/utils-BFhwh2EC.js +0 -4
package/admin/jsonConfig.json
CHANGED
|
@@ -11,7 +11,11 @@
|
|
|
11
11
|
"type": "checkDocker",
|
|
12
12
|
"label": "Use self-hosted MySQL in Docker",
|
|
13
13
|
"help": "docker_explanation",
|
|
14
|
-
"xs": 12
|
|
14
|
+
"xs": 12,
|
|
15
|
+
"sm": 12,
|
|
16
|
+
"md": 12,
|
|
17
|
+
"lg": 12,
|
|
18
|
+
"xl": 12
|
|
15
19
|
},
|
|
16
20
|
"dockerPhpMyAdmin.enabled": {
|
|
17
21
|
"newLine": true,
|
|
@@ -19,7 +23,11 @@
|
|
|
19
23
|
"hideVersion": true,
|
|
20
24
|
"hidden": "!data.dockerMysql?.enabled",
|
|
21
25
|
"label": "Use self-hosted PhpMyAdmin in Docker",
|
|
22
|
-
"xs": 12
|
|
26
|
+
"xs": 12,
|
|
27
|
+
"sm": 12,
|
|
28
|
+
"md": 12,
|
|
29
|
+
"lg": 12,
|
|
30
|
+
"xl": 12
|
|
23
31
|
},
|
|
24
32
|
"dbtype": {
|
|
25
33
|
"type": "select",
|
|
@@ -32,9 +40,11 @@
|
|
|
32
40
|
{ "label": "MS-SQL", "value": "mssql" }
|
|
33
41
|
],
|
|
34
42
|
"label": "DB Type",
|
|
43
|
+
"xs": 12,
|
|
35
44
|
"sm": 12,
|
|
36
45
|
"md": 4,
|
|
37
|
-
"lg": 3
|
|
46
|
+
"lg": 3,
|
|
47
|
+
"xl": 3
|
|
38
48
|
},
|
|
39
49
|
|
|
40
50
|
"host": {
|
|
@@ -42,18 +52,22 @@
|
|
|
42
52
|
"type": "text",
|
|
43
53
|
"label": "Host",
|
|
44
54
|
"hidden": "data.dbtype === 'sqlite' || !!data.dockerMysql?.enabled || (data.dbtype === 'mysql' && !!data.socketPath)",
|
|
55
|
+
"xs": 12,
|
|
45
56
|
"sm": 12,
|
|
46
57
|
"md": 4,
|
|
47
|
-
"lg": 3
|
|
58
|
+
"lg": 3,
|
|
59
|
+
"xl": 3
|
|
48
60
|
},
|
|
49
61
|
"socketPath": {
|
|
50
62
|
"type": "text",
|
|
51
63
|
"label": "Unix socket",
|
|
52
64
|
"help": "Connect through this socket instead of host and port, e.g. /var/run/mysqld/mysqld.sock",
|
|
53
65
|
"hidden": "data.dbtype !== 'mysql' || !!data.dockerMysql?.enabled",
|
|
66
|
+
"xs": 12,
|
|
54
67
|
"sm": 12,
|
|
55
68
|
"md": 4,
|
|
56
|
-
"lg": 3
|
|
69
|
+
"lg": 3,
|
|
70
|
+
"xl": 3
|
|
57
71
|
},
|
|
58
72
|
"port": {
|
|
59
73
|
"type": "number",
|
|
@@ -61,17 +75,21 @@
|
|
|
61
75
|
"hidden": "data.dbtype === 'sqlite' || !!data.dockerMysql?.enabled || (data.dbtype === 'mysql' && !!data.socketPath)",
|
|
62
76
|
"min": 0,
|
|
63
77
|
"max": 65565,
|
|
78
|
+
"xs": 12,
|
|
64
79
|
"sm": 12,
|
|
65
80
|
"md": 4,
|
|
66
|
-
"lg": 3
|
|
81
|
+
"lg": 3,
|
|
82
|
+
"xl": 3
|
|
67
83
|
},
|
|
68
84
|
"dbname": {
|
|
69
85
|
"type": "text",
|
|
70
86
|
"label": "DB Name",
|
|
71
87
|
"hidden": "data.dbtype === 'sqlite' || !!data.dockerMysql?.enabled",
|
|
88
|
+
"xs": 12,
|
|
72
89
|
"sm": 12,
|
|
73
90
|
"md": 4,
|
|
74
|
-
"lg": 3
|
|
91
|
+
"lg": 3,
|
|
92
|
+
"xl": 3
|
|
75
93
|
},
|
|
76
94
|
|
|
77
95
|
"user": {
|
|
@@ -79,18 +97,22 @@
|
|
|
79
97
|
"type": "text",
|
|
80
98
|
"label": "User",
|
|
81
99
|
"hidden": "data.dbtype === 'sqlite' || !!data.dockerMysql?.enabled",
|
|
100
|
+
"xs": 12,
|
|
82
101
|
"sm": 12,
|
|
83
102
|
"md": 4,
|
|
84
|
-
"lg": 3
|
|
103
|
+
"lg": 3,
|
|
104
|
+
"xl": 3
|
|
85
105
|
},
|
|
86
106
|
"password": {
|
|
87
107
|
"type": "password",
|
|
88
108
|
"label": "Password",
|
|
89
109
|
"repeat": true,
|
|
90
110
|
"hidden": "data.dbtype === 'sqlite' || !!data.dockerMysql?.enabled",
|
|
111
|
+
"xs": 12,
|
|
91
112
|
"sm": 12,
|
|
92
113
|
"md": 8,
|
|
93
|
-
"lg": 6
|
|
114
|
+
"lg": 6,
|
|
115
|
+
"xl": 6
|
|
94
116
|
},
|
|
95
117
|
|
|
96
118
|
"fileName": {
|
|
@@ -99,17 +121,21 @@
|
|
|
99
121
|
"label": "File for sqlite",
|
|
100
122
|
"hidden": "data.dbtype !== 'sqlite' || !!data.dockerMysql?.enabled",
|
|
101
123
|
"help": "Input path with the file name.",
|
|
124
|
+
"xs": 12,
|
|
102
125
|
"sm": 12,
|
|
103
126
|
"md": 4,
|
|
104
|
-
"lg": 3
|
|
127
|
+
"lg": 3,
|
|
128
|
+
"xl": 3
|
|
105
129
|
},
|
|
106
130
|
"requestInterval": {
|
|
107
131
|
"type": "number",
|
|
108
132
|
"label": "requestInterval",
|
|
109
133
|
"hidden": "data.dbtype !== 'sqlite'",
|
|
134
|
+
"xs": 12,
|
|
110
135
|
"sm": 12,
|
|
111
136
|
"md": 4,
|
|
112
|
-
"lg": 3
|
|
137
|
+
"lg": 3,
|
|
138
|
+
"xl": 3
|
|
113
139
|
},
|
|
114
140
|
|
|
115
141
|
"encrypt": {
|
|
@@ -117,42 +143,52 @@
|
|
|
117
143
|
"type": "checkbox",
|
|
118
144
|
"hidden": "data.dbtype === 'sqlite' || !!data.dockerMysql?.enabled",
|
|
119
145
|
"label": "Encrypt",
|
|
146
|
+
"xs": 12,
|
|
120
147
|
"sm": 12,
|
|
121
148
|
"md": 4,
|
|
122
|
-
"lg": 3
|
|
149
|
+
"lg": 3,
|
|
150
|
+
"xl": 3
|
|
123
151
|
},
|
|
124
152
|
"rejectUnauthorized": {
|
|
125
153
|
"type": "checkbox",
|
|
126
154
|
"hidden": "data.dbtype === 'sqlite' || !!data.dockerMysql?.enabled",
|
|
127
155
|
"label": "Reject on SSL errors",
|
|
156
|
+
"xs": 12,
|
|
128
157
|
"sm": 12,
|
|
129
158
|
"md": 4,
|
|
130
|
-
"lg": 3
|
|
159
|
+
"lg": 3,
|
|
160
|
+
"xl": 3
|
|
131
161
|
},
|
|
132
162
|
"multiRequests": {
|
|
133
163
|
"newLine": true,
|
|
134
164
|
"type": "checkbox",
|
|
135
165
|
"hidden": "data.dbtype === 'sqlite' || !!data.dockerMysql?.enabled",
|
|
136
166
|
"label": "Allow parallel requests",
|
|
167
|
+
"xs": 12,
|
|
137
168
|
"sm": 12,
|
|
138
169
|
"md": 4,
|
|
139
|
-
"lg": 3
|
|
170
|
+
"lg": 3,
|
|
171
|
+
"xl": 3
|
|
140
172
|
},
|
|
141
173
|
"maxConnections": {
|
|
142
174
|
"type": "number",
|
|
143
175
|
"hidden": "data.dbtype === 'sqlite' || !!data.dockerMysql?.enabled",
|
|
144
176
|
"label": "Maximum concurrent connections",
|
|
177
|
+
"xs": 12,
|
|
145
178
|
"sm": 12,
|
|
146
179
|
"md": 4,
|
|
147
|
-
"lg": 3
|
|
180
|
+
"lg": 3,
|
|
181
|
+
"xl": 3
|
|
148
182
|
},
|
|
149
183
|
"doNotCreateDatabase": {
|
|
150
184
|
"type": "checkbox",
|
|
151
185
|
"hidden": "data.dbtype === 'sqlite' || !!data.dockerMysql?.enabled",
|
|
152
186
|
"label": "Do not create database (already created)",
|
|
187
|
+
"xs": 12,
|
|
153
188
|
"sm": 12,
|
|
154
189
|
"md": 4,
|
|
155
|
-
"lg":
|
|
190
|
+
"lg": 4,
|
|
191
|
+
"xl": 4
|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DguMDIgMCAwIDAgLTMuMTQgNC4wODZ6bTcuNTgxIDguNTRhNS45ODggNS45ODggMCAwIDEgLTUuODUxLTcuMzE1Yy4wMDYtLjAxOS4wMTEtLjAzOS4wMTYtLjA1OHMuMDA5LS4wMzkuMDEyLS4wNTlhNiA2IDAgMSAxIDUuODIzIDcuNDMyeiIvPg0KICAgIDxwYXRoIGZpbGw9ImN1cnJlbnRDb2xvciIgZD0ibTE5LjYzOSAyMS45YTEgMSAwIDAgMCAxLjQxOCAxLjQxMSAyLjYyOCAyLjYyOCAwIDAgMSAzLjcyNSAwIDEgMSAwIDAgMCAxLjQxOC0xLjQxMSA0LjYyOCA0LjYyOCAwIDAgMCAtNi41NjEgMHoiLz4NCiAgICA8ZWxsaXBzZSBmaWxsPSJjdXJyZW50Q29sb3IiIGN4PSIyMi45ODUiIGN5PSIyNC44NDMiIHJ4PSIxLjY2NyIgcnk9IjEuNjc0Ii8+DQogICAgPHBhdGggZmlsbD0iY3VycmVudENvbG9yIiBkPSJtMjcuOTc5IDE5Ljc2OGE3LjA0NSA3LjA0NSAwIDAgMCAtOS45ODggMCAxIDEgMCAxIDAgMS40MTcgMS40MTIgNS4wNDUgNS4wNDUgMCAwIDEgNy4xNTQgMCAxIDEgMCAxIDAgMS40MTctMS40MTJ6Ii8+DQo8L3N2Zz4=",
|
|
168
204
|
"command": "test",
|
|
169
205
|
"jsonData": "{\"config\": {\"dbtype\": ${JSON.stringify(data.dbtype || '')}, \"host\": ${JSON.stringify(data.host || '')}, \"port\": ${JSON.stringify(data.port || 0)}, \"user\": ${JSON.stringify(data.user || '')}, \"password\": ${JSON.stringify(data.password || '')}, \"dbname\": ${JSON.stringify(data.dbname || '')}, \"fileName\": ${JSON.stringify(data.fileName || '')}, \"encrypt\": ${JSON.stringify(!!data.encrypt)}, \"rejectUnauthorized\": ${JSON.stringify(!!data.rejectUnauthorized)}, \"doNotCreateDatabase\": ${JSON.stringify(!!data.doNotCreateDatabase)}, \"dockerMysql\": ${JSON.stringify(data.dockerMysql || null)}}}",
|
|
170
|
-
"label": "Test connection"
|
|
206
|
+
"label": "Test connection",
|
|
207
|
+
"xs": 12,
|
|
208
|
+
"sm": 12,
|
|
209
|
+
"md": 4,
|
|
210
|
+
"lg": 3,
|
|
211
|
+
"xl": 3
|
|
171
212
|
},
|
|
172
213
|
|
|
173
214
|
"_resetDB": {
|
|
@@ -186,14 +227,23 @@
|
|
|
186
227
|
"cancel": "Cancel"
|
|
187
228
|
},
|
|
188
229
|
"command": "destroy",
|
|
189
|
-
"label": "Reset DB"
|
|
230
|
+
"label": "Reset DB",
|
|
231
|
+
"xs": 12,
|
|
232
|
+
"sm": 12,
|
|
233
|
+
"md": 4,
|
|
234
|
+
"lg": 3,
|
|
235
|
+
"xl": 3
|
|
190
236
|
},
|
|
191
237
|
|
|
192
238
|
"writeNulls": {
|
|
193
239
|
"newLine": true,
|
|
194
240
|
"type": "checkbox",
|
|
195
241
|
"label": "Write NULL values on start/stop boundaries",
|
|
196
|
-
"
|
|
242
|
+
"xs": 12,
|
|
243
|
+
"sm": 12,
|
|
244
|
+
"md": 12,
|
|
245
|
+
"lg": 12,
|
|
246
|
+
"xl": 12
|
|
197
247
|
}
|
|
198
248
|
}
|
|
199
249
|
},
|
|
@@ -204,39 +254,49 @@
|
|
|
204
254
|
"debounceTime": {
|
|
205
255
|
"newLine": true,
|
|
206
256
|
"type": "number",
|
|
207
|
-
"sm": 12,
|
|
208
|
-
"md": 4,
|
|
209
257
|
"min": 0,
|
|
210
258
|
"max": 86400000,
|
|
211
259
|
"label": "De-bounce time",
|
|
212
|
-
"help": "De-bounce interval(ms)"
|
|
260
|
+
"help": "De-bounce interval(ms)",
|
|
261
|
+
"xs": 12,
|
|
262
|
+
"sm": 12,
|
|
263
|
+
"md": 4,
|
|
264
|
+
"lg": 4,
|
|
265
|
+
"xl": 4
|
|
213
266
|
},
|
|
214
267
|
"blockTime": {
|
|
215
268
|
"type": "number",
|
|
216
|
-
"sm": 12,
|
|
217
|
-
"md": 4,
|
|
218
269
|
"min": 0,
|
|
219
270
|
"max": 86400000,
|
|
220
271
|
"label": "Block time",
|
|
221
272
|
"defaultFunc": "(data.debounce || data.debounce === '0' || data.debounce === 0) ? parseInt(data.debounce, 10) : 0",
|
|
222
|
-
"help": "blockTime"
|
|
273
|
+
"help": "blockTime",
|
|
274
|
+
"xs": 12,
|
|
275
|
+
"sm": 12,
|
|
276
|
+
"md": 4,
|
|
277
|
+
"lg": 4,
|
|
278
|
+
"xl": 4
|
|
223
279
|
},
|
|
224
280
|
"changesRelogInterval": {
|
|
225
281
|
"newLine": true,
|
|
226
282
|
"type": "number",
|
|
227
283
|
"label": "log changes interval(s)",
|
|
228
284
|
"help": "0 = disable",
|
|
285
|
+
"xs": 12,
|
|
229
286
|
"sm": 12,
|
|
230
287
|
"md": 6,
|
|
231
|
-
"lg": 4
|
|
288
|
+
"lg": 4,
|
|
289
|
+
"xl": 4
|
|
232
290
|
},
|
|
233
291
|
"changesMinDelta": {
|
|
234
292
|
"type": "number",
|
|
235
293
|
"label": "log changes minimal delta",
|
|
236
294
|
"help": "0 = disable delta check",
|
|
295
|
+
"xs": 12,
|
|
237
296
|
"sm": 12,
|
|
238
297
|
"md": 6,
|
|
239
|
-
"lg": 4
|
|
298
|
+
"lg": 4,
|
|
299
|
+
"xl": 4
|
|
240
300
|
},
|
|
241
301
|
"retention": {
|
|
242
302
|
"newLine": true,
|
|
@@ -292,18 +352,23 @@
|
|
|
292
352
|
"label": "Custom timeframe"
|
|
293
353
|
}
|
|
294
354
|
],
|
|
355
|
+
"xs": 12,
|
|
295
356
|
"sm": 12,
|
|
296
357
|
"md": 6,
|
|
297
|
-
"lg": 4
|
|
358
|
+
"lg": 4,
|
|
359
|
+
"xl": 4
|
|
298
360
|
},
|
|
299
361
|
"customRetentionDuration": {
|
|
300
362
|
"type": "number",
|
|
301
363
|
"label": "Custom retention duration (days)",
|
|
302
364
|
"min": 1,
|
|
365
|
+
"hidden": "(data.retention !== -1)",
|
|
366
|
+
"help": "Number of days to keep the data.",
|
|
367
|
+
"xs": 12,
|
|
303
368
|
"sm": 12,
|
|
304
369
|
"md": 4,
|
|
305
|
-
"
|
|
306
|
-
"
|
|
370
|
+
"lg": 4,
|
|
371
|
+
"xl": 4
|
|
307
372
|
},
|
|
308
373
|
"maxLength": {
|
|
309
374
|
"newLine": true,
|
|
@@ -311,48 +376,65 @@
|
|
|
311
376
|
"label": "maximum datapoint count in RAM",
|
|
312
377
|
"min": 0,
|
|
313
378
|
"max": 100000,
|
|
379
|
+
"xs": 12,
|
|
314
380
|
"sm": 12,
|
|
315
|
-
"md": 4
|
|
381
|
+
"md": 4,
|
|
382
|
+
"lg": 4,
|
|
383
|
+
"xl": 4
|
|
316
384
|
},
|
|
317
385
|
"round": {
|
|
318
386
|
"newLine": true,
|
|
319
387
|
"type": "text",
|
|
320
388
|
"label": "Round real to",
|
|
389
|
+
"validator": "((data.round || '').toString().length === 0) || isFinite(data.round)",
|
|
390
|
+
"validatorErrorText": "Enter a number or leave the field empty",
|
|
391
|
+
"validatorNoSaveOnError": true,
|
|
392
|
+
"xs": 12,
|
|
321
393
|
"sm": 12,
|
|
322
394
|
"md": 4,
|
|
323
395
|
"lg": 3,
|
|
324
|
-
"
|
|
325
|
-
"validatorErrorText": "Enter a number or leave the field empty",
|
|
326
|
-
"validatorNoSaveOnError": true
|
|
396
|
+
"xl": 3
|
|
327
397
|
},
|
|
328
398
|
"writeNulls": {
|
|
329
399
|
"newLine": true,
|
|
330
400
|
"label": "Write NULL values on start/stop boundaries",
|
|
331
401
|
"type": "checkbox",
|
|
402
|
+
"xs": 12,
|
|
332
403
|
"sm": 12,
|
|
333
|
-
"md": 4
|
|
404
|
+
"md": 4,
|
|
405
|
+
"lg": 4,
|
|
406
|
+
"xl": 4
|
|
334
407
|
},
|
|
335
408
|
"disableSkippedValueLogging": {
|
|
336
409
|
"label": "Disable charting optimized logging of skipped values",
|
|
337
410
|
"type": "checkbox",
|
|
411
|
+
"xs": 12,
|
|
338
412
|
"sm": 12,
|
|
339
|
-
"md": 4
|
|
413
|
+
"md": 4,
|
|
414
|
+
"lg": 4,
|
|
415
|
+
"xl": 4
|
|
340
416
|
},
|
|
341
417
|
"enableDebugLogs": {
|
|
342
418
|
"newLine": true,
|
|
343
419
|
"label": "Enable enhanced debug logs for the datapoint",
|
|
344
420
|
"type": "checkbox",
|
|
421
|
+
"xs": 12,
|
|
345
422
|
"sm": 12,
|
|
346
|
-
"md": 4
|
|
423
|
+
"md": 4,
|
|
424
|
+
"lg": 4,
|
|
425
|
+
"xl": 4
|
|
347
426
|
},
|
|
348
427
|
"debounce": {
|
|
349
428
|
"type": "number",
|
|
350
|
-
"sm": 12,
|
|
351
|
-
"md": 4,
|
|
352
429
|
"min": 0,
|
|
353
430
|
"label": "De-bounce time",
|
|
354
431
|
"help": "debounce",
|
|
355
|
-
"hidden": "true"
|
|
432
|
+
"hidden": "true",
|
|
433
|
+
"xs": 12,
|
|
434
|
+
"sm": 12,
|
|
435
|
+
"md": 4,
|
|
436
|
+
"lg": 4,
|
|
437
|
+
"xl": 4
|
|
356
438
|
}
|
|
357
439
|
}
|
|
358
440
|
},
|
|
@@ -366,7 +448,11 @@
|
|
|
366
448
|
"url": "custom/customComponents.js",
|
|
367
449
|
"name": "SqlComponentsSet/Components/DataBrowser",
|
|
368
450
|
"guiApi": 2,
|
|
369
|
-
"
|
|
451
|
+
"xs": 12,
|
|
452
|
+
"sm": 12,
|
|
453
|
+
"md": 12,
|
|
454
|
+
"lg": 12,
|
|
455
|
+
"xl": 12
|
|
370
456
|
}
|
|
371
457
|
}
|
|
372
458
|
},
|
|
@@ -380,7 +466,11 @@
|
|
|
380
466
|
"url": "custom/customComponents.js",
|
|
381
467
|
"name": "SqlComponentsSet/Components/Statistics",
|
|
382
468
|
"guiApi": 2,
|
|
383
|
-
"
|
|
469
|
+
"xs": 12,
|
|
470
|
+
"sm": 12,
|
|
471
|
+
"md": 12,
|
|
472
|
+
"lg": 12,
|
|
473
|
+
"xl": 12
|
|
384
474
|
}
|
|
385
475
|
}
|
|
386
476
|
},
|
|
@@ -394,36 +484,52 @@
|
|
|
394
484
|
"listenOnAllPorts": true,
|
|
395
485
|
"type": "ip",
|
|
396
486
|
"label": "Start container on IP",
|
|
487
|
+
"xs": 12,
|
|
397
488
|
"sm": 12,
|
|
398
|
-
"md": 8
|
|
489
|
+
"md": 8,
|
|
490
|
+
"lg": 8,
|
|
491
|
+
"xl": 8
|
|
399
492
|
},
|
|
400
493
|
"dockerMysql.port": {
|
|
401
494
|
"type": "port",
|
|
402
495
|
"label": "Port",
|
|
403
496
|
"help": "The port on which the container will be reachable on localhost",
|
|
404
497
|
"default": 3306,
|
|
498
|
+
"xs": 12,
|
|
405
499
|
"sm": 12,
|
|
406
|
-
"md": 4
|
|
500
|
+
"md": 4,
|
|
501
|
+
"lg": 4,
|
|
502
|
+
"xl": 4
|
|
407
503
|
},
|
|
408
504
|
"dockerMysql.stopIfInstanceStopped": {
|
|
409
505
|
"newLine": true,
|
|
410
506
|
"type": "checkbox",
|
|
411
507
|
"label": "Stop container when instance stops",
|
|
508
|
+
"xs": 12,
|
|
412
509
|
"sm": 12,
|
|
413
|
-
"md": 6
|
|
510
|
+
"md": 6,
|
|
511
|
+
"lg": 6,
|
|
512
|
+
"xl": 6
|
|
414
513
|
},
|
|
415
514
|
"dockerMysql.autoImageUpdate": {
|
|
416
515
|
"type": "checkbox",
|
|
417
516
|
"label": "Auto-update Docker image",
|
|
418
517
|
"help": "If enabled, the latest Docker image will be pulled when the adapter starts.",
|
|
518
|
+
"xs": 12,
|
|
419
519
|
"sm": 12,
|
|
420
|
-
"md": 6
|
|
520
|
+
"md": 6,
|
|
521
|
+
"lg": 6,
|
|
522
|
+
"xl": 6
|
|
421
523
|
},
|
|
422
524
|
"dockerMysql.rootPassword": {
|
|
423
525
|
"newLine": true,
|
|
424
526
|
"type": "password",
|
|
425
527
|
"label": "Root password",
|
|
426
|
-
"xs": 12
|
|
528
|
+
"xs": 12,
|
|
529
|
+
"sm": 12,
|
|
530
|
+
"md": 12,
|
|
531
|
+
"lg": 12,
|
|
532
|
+
"xl": 12
|
|
427
533
|
}
|
|
428
534
|
}
|
|
429
535
|
},
|
|
@@ -436,38 +542,54 @@
|
|
|
436
542
|
"type": "ip",
|
|
437
543
|
"label": "Start container on IP",
|
|
438
544
|
"listenOnAllPorts": true,
|
|
545
|
+
"xs": 12,
|
|
439
546
|
"sm": 12,
|
|
440
|
-
"md": 8
|
|
547
|
+
"md": 8,
|
|
548
|
+
"lg": 8,
|
|
549
|
+
"xl": 8
|
|
441
550
|
},
|
|
442
551
|
"dockerPhpMyAdmin.port": {
|
|
443
552
|
"type": "port",
|
|
444
553
|
"label": "Port",
|
|
445
554
|
"help": "The port on which the container will be reachable on localhost",
|
|
446
555
|
"default": 8080,
|
|
556
|
+
"xs": 12,
|
|
447
557
|
"sm": 12,
|
|
448
|
-
"md": 4
|
|
558
|
+
"md": 4,
|
|
559
|
+
"lg": 4,
|
|
560
|
+
"xl": 4
|
|
449
561
|
},
|
|
450
562
|
"dockerPhpMyAdmin.stopIfInstanceStopped": {
|
|
451
563
|
"newLine": true,
|
|
452
564
|
"type": "checkbox",
|
|
453
565
|
"hidden": "!!data.dockerMysql?.stopIfInstanceStopped",
|
|
454
566
|
"label": "Stop container when instance stops",
|
|
567
|
+
"xs": 12,
|
|
455
568
|
"sm": 12,
|
|
456
|
-
"md": 6
|
|
569
|
+
"md": 6,
|
|
570
|
+
"lg": 6,
|
|
571
|
+
"xl": 6
|
|
457
572
|
},
|
|
458
573
|
"dockerPhpMyAdmin.autoImageUpdate": {
|
|
459
574
|
"type": "checkbox",
|
|
460
575
|
"label": "Auto-update Docker image",
|
|
461
576
|
"help": "If enabled, the latest Docker image will be pulled when the adapter starts.",
|
|
577
|
+
"xs": 12,
|
|
462
578
|
"sm": 12,
|
|
463
|
-
"md": 6
|
|
579
|
+
"md": 6,
|
|
580
|
+
"lg": 6,
|
|
581
|
+
"xl": 6
|
|
464
582
|
},
|
|
465
583
|
"dockerPhpMyAdmin.absoluteUri": {
|
|
466
584
|
"newLine": true,
|
|
467
585
|
"type": "text",
|
|
468
586
|
"label": "Root URL",
|
|
469
587
|
"help": "Defines the root URL, useful when PhpMyAdmin is behind a reverse proxy.",
|
|
470
|
-
"xs": 12
|
|
588
|
+
"xs": 12,
|
|
589
|
+
"sm": 12,
|
|
590
|
+
"md": 12,
|
|
591
|
+
"lg": 12,
|
|
592
|
+
"xl": 12
|
|
471
593
|
}
|
|
472
594
|
}
|
|
473
595
|
}
|