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