iobroker.imap 0.0.4 → 0.0.6
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 +40 -5
- package/admin/blockly.js +19 -19
- package/admin/img/copy.png +0 -0
- package/admin/img/flag.png +0 -0
- package/admin/img/move.png +0 -0
- package/admin/jsonConfig.json +0 -1
- package/io-package.json +32 -2
- package/lib/helper.js +512 -83
- package/lib/listener.js +376 -166
- package/lib/translator.js +401 -50
- package/main.js +439 -103
- package/package.json +1 -1
package/lib/helper.js
CHANGED
|
@@ -26,7 +26,7 @@ module.exports = {
|
|
|
26
26
|
await this.createDataPoint(`${id.user}.online`, common, "state");
|
|
27
27
|
common = {
|
|
28
28
|
type: "number",
|
|
29
|
-
role: "
|
|
29
|
+
role: "value.max",
|
|
30
30
|
name: this.helper_translator("total e-mails"),
|
|
31
31
|
desc: "Create by Adapter",
|
|
32
32
|
read: true,
|
|
@@ -36,7 +36,7 @@ module.exports = {
|
|
|
36
36
|
await this.createDataPoint(`${id.user}.total`, common, "state");
|
|
37
37
|
common = {
|
|
38
38
|
type: "number",
|
|
39
|
-
role: "
|
|
39
|
+
role: "value.max",
|
|
40
40
|
name: this.helper_translator("unread"),
|
|
41
41
|
desc: "Create by Adapter",
|
|
42
42
|
read: true,
|
|
@@ -44,9 +44,19 @@ module.exports = {
|
|
|
44
44
|
def: 0,
|
|
45
45
|
};
|
|
46
46
|
await this.createDataPoint(`${id.user}.total_unread`, common, "state");
|
|
47
|
+
common = {
|
|
48
|
+
type: "boolean",
|
|
49
|
+
role: "switch",
|
|
50
|
+
name: this.helper_translator("Is SORT supported"),
|
|
51
|
+
desc: "Create by Adapter",
|
|
52
|
+
read: true,
|
|
53
|
+
write: false,
|
|
54
|
+
def: false,
|
|
55
|
+
};
|
|
56
|
+
await this.createDataPoint(`${id.user}.sort`, common, "state");
|
|
47
57
|
common = {
|
|
48
58
|
type: "string",
|
|
49
|
-
role: "
|
|
59
|
+
role: "html",
|
|
50
60
|
name: this.helper_translator("html_code"),
|
|
51
61
|
desc: "Create by Adapter",
|
|
52
62
|
read: true,
|
|
@@ -64,6 +74,16 @@ module.exports = {
|
|
|
64
74
|
def: "",
|
|
65
75
|
};
|
|
66
76
|
await this.createDataPoint(`${id.user}.json`, common, "state");
|
|
77
|
+
common = {
|
|
78
|
+
type: "string",
|
|
79
|
+
role: "text",
|
|
80
|
+
name: this.helper_translator("Hostname"),
|
|
81
|
+
desc: "Create by Adapter",
|
|
82
|
+
read: true,
|
|
83
|
+
write: false,
|
|
84
|
+
def: id.host,
|
|
85
|
+
};
|
|
86
|
+
await this.createDataPoint(`${id.user}.host`, common, "state");
|
|
67
87
|
common = {
|
|
68
88
|
type: "string",
|
|
69
89
|
role: "info",
|
|
@@ -139,7 +159,7 @@ module.exports = {
|
|
|
139
159
|
await this.createDataPoint(`${id.user}.email.email_${mailid}`, common, "folder", { id: i });
|
|
140
160
|
common = {
|
|
141
161
|
type: "string",
|
|
142
|
-
role: "
|
|
162
|
+
role: "html",
|
|
143
163
|
name: this.helper_translator("Mail content"),
|
|
144
164
|
desc: "Create by Adapter",
|
|
145
165
|
read: true,
|
|
@@ -149,7 +169,7 @@ module.exports = {
|
|
|
149
169
|
await this.createDataPoint(`${id.user}.email.email_${mailid}.content`, common, "state");
|
|
150
170
|
common = {
|
|
151
171
|
type: "string",
|
|
152
|
-
role: "
|
|
172
|
+
role: "text",
|
|
153
173
|
name: this.helper_translator("Receive"),
|
|
154
174
|
desc: "Create by Adapter",
|
|
155
175
|
read: true,
|
|
@@ -159,7 +179,7 @@ module.exports = {
|
|
|
159
179
|
await this.createDataPoint(`${id.user}.email.email_${mailid}.receive`, common, "state");
|
|
160
180
|
common = {
|
|
161
181
|
type: "string",
|
|
162
|
-
role: "
|
|
182
|
+
role: "text",
|
|
163
183
|
name: this.helper_translator("e-Mail Subject"),
|
|
164
184
|
desc: "Create by Adapter",
|
|
165
185
|
read: true,
|
|
@@ -169,7 +189,7 @@ module.exports = {
|
|
|
169
189
|
await this.createDataPoint(`${id.user}.email.email_${mailid}.subject`, common, "state");
|
|
170
190
|
common = {
|
|
171
191
|
type: "string",
|
|
172
|
-
role: "
|
|
192
|
+
role: "text",
|
|
173
193
|
name: this.helper_translator("To"),
|
|
174
194
|
desc: "Create by Adapter",
|
|
175
195
|
read: true,
|
|
@@ -179,7 +199,7 @@ module.exports = {
|
|
|
179
199
|
await this.createDataPoint(`${id.user}.email.email_${mailid}.to`, common, "state");
|
|
180
200
|
common = {
|
|
181
201
|
type: "string",
|
|
182
|
-
role: "
|
|
202
|
+
role: "text",
|
|
183
203
|
name: this.helper_translator("From"),
|
|
184
204
|
desc: "Create by Adapter",
|
|
185
205
|
read: true,
|
|
@@ -189,7 +209,7 @@ module.exports = {
|
|
|
189
209
|
await this.createDataPoint(`${id.user}.email.email_${mailid}.from`, common, "state");
|
|
190
210
|
common = {
|
|
191
211
|
type: "string",
|
|
192
|
-
role: "
|
|
212
|
+
role: "text",
|
|
193
213
|
name: this.helper_translator("Text"),
|
|
194
214
|
desc: "Create by Adapter",
|
|
195
215
|
read: true,
|
|
@@ -199,7 +219,7 @@ module.exports = {
|
|
|
199
219
|
await this.createDataPoint(`${id.user}.email.email_${mailid}.text`, common, "state");
|
|
200
220
|
common = {
|
|
201
221
|
type: "string",
|
|
202
|
-
role: "
|
|
222
|
+
role: "html",
|
|
203
223
|
name: this.helper_translator("TextHTML"),
|
|
204
224
|
desc: "Create by Adapter",
|
|
205
225
|
read: true,
|
|
@@ -209,7 +229,7 @@ module.exports = {
|
|
|
209
229
|
await this.createDataPoint(`${id.user}.email.email_${mailid}.texthtml`, common, "state");
|
|
210
230
|
common = {
|
|
211
231
|
type: "string",
|
|
212
|
-
role: "
|
|
232
|
+
role: "text",
|
|
213
233
|
name: this.helper_translator("Flag"),
|
|
214
234
|
desc: "Create by Adapter",
|
|
215
235
|
read: true,
|
|
@@ -219,7 +239,7 @@ module.exports = {
|
|
|
219
239
|
await this.createDataPoint(`${id.user}.email.email_${mailid}.flag`, common, "state");
|
|
220
240
|
common = {
|
|
221
241
|
type: "number",
|
|
222
|
-
role: "
|
|
242
|
+
role: "value",
|
|
223
243
|
name: this.helper_translator("UID"),
|
|
224
244
|
desc: "Create by Adapter",
|
|
225
245
|
read: true,
|
|
@@ -229,7 +249,7 @@ module.exports = {
|
|
|
229
249
|
await this.createDataPoint(`${id.user}.email.email_${mailid}.uid`, common, "state");
|
|
230
250
|
common = {
|
|
231
251
|
type: "number",
|
|
232
|
-
role: "
|
|
252
|
+
role: "value",
|
|
233
253
|
name: this.helper_translator("SEQ"),
|
|
234
254
|
desc: "Create by Adapter",
|
|
235
255
|
read: true,
|
|
@@ -237,6 +257,27 @@ module.exports = {
|
|
|
237
257
|
def: 0,
|
|
238
258
|
};
|
|
239
259
|
await this.createDataPoint(`${id.user}.email.email_${mailid}.seq`, common, "state");
|
|
260
|
+
common = {
|
|
261
|
+
type: "number",
|
|
262
|
+
role: "value",
|
|
263
|
+
name: this.helper_translator("SIZE"),
|
|
264
|
+
desc: "Create by Adapter",
|
|
265
|
+
read: true,
|
|
266
|
+
write: false,
|
|
267
|
+
unit: "Byte",
|
|
268
|
+
def: 0,
|
|
269
|
+
};
|
|
270
|
+
await this.createDataPoint(`${id.user}.email.email_${mailid}.size`, common, "state");
|
|
271
|
+
common = {
|
|
272
|
+
type: "number",
|
|
273
|
+
role: "value",
|
|
274
|
+
name: this.helper_translator("Attachments"),
|
|
275
|
+
desc: "Create by Adapter",
|
|
276
|
+
read: true,
|
|
277
|
+
write: false,
|
|
278
|
+
def: 0,
|
|
279
|
+
};
|
|
280
|
+
await this.createDataPoint(`${id.user}.email.email_${mailid}.attach`, common, "state");
|
|
240
281
|
}
|
|
241
282
|
},
|
|
242
283
|
async createDataPoint(ident, common, types, native) {
|
|
@@ -256,7 +297,7 @@ module.exports = {
|
|
|
256
297
|
if (JSON.stringify(obj.common) != JSON.stringify(common)) ischange = true;
|
|
257
298
|
else if (JSON.stringify(obj.type) != JSON.stringify(types)) ischange = true;
|
|
258
299
|
if (native) {
|
|
259
|
-
if (JSON.stringify(obj.native) != JSON.stringify(nativvalue)) {
|
|
300
|
+
if (JSON.stringify(obj.native) != JSON.stringify(nativvalue.native)) {
|
|
260
301
|
ischange = true;
|
|
261
302
|
delete obj["native"];
|
|
262
303
|
obj["native"] = native;
|
|
@@ -282,15 +323,135 @@ module.exports = {
|
|
|
282
323
|
icon: "img/fernbedienung.png",
|
|
283
324
|
};
|
|
284
325
|
await this.createDataPoint(`${id.user}.remote`, common, "folder");
|
|
326
|
+
common = {
|
|
327
|
+
name: this.helper_translator("move e-mail"),
|
|
328
|
+
desc: "Create by Adapter",
|
|
329
|
+
icon: "img/move.png",
|
|
330
|
+
};
|
|
331
|
+
await this.createDataPoint(`${id.user}.remote.move`, common, "folder");
|
|
332
|
+
common = {
|
|
333
|
+
name: this.helper_translator("copy e-mail to folder"),
|
|
334
|
+
desc: "Create by Adapter",
|
|
335
|
+
icon: "img/copy.png",
|
|
336
|
+
};
|
|
337
|
+
await this.createDataPoint(`${id.user}.remote.copy`, common, "folder");
|
|
285
338
|
common = {
|
|
286
339
|
name: this.helper_translator("HTML"),
|
|
287
340
|
desc: "Create by Adapter",
|
|
288
341
|
icon: "img/html.png",
|
|
289
342
|
};
|
|
290
343
|
await this.createDataPoint(`${id.user}.remote.html`, common, "folder");
|
|
344
|
+
common = {
|
|
345
|
+
name: this.helper_translator("Flags"),
|
|
346
|
+
desc: "Create by Adapter",
|
|
347
|
+
icon: "img/flag.png",
|
|
348
|
+
};
|
|
349
|
+
await this.createDataPoint(`${id.user}.remote.flag`, common, "folder");
|
|
291
350
|
common = {
|
|
292
351
|
type: "string",
|
|
352
|
+
role: "text",
|
|
353
|
+
name: this.helper_translator("Flag Type"),
|
|
354
|
+
desc: "Create by Adapter",
|
|
355
|
+
read: true,
|
|
356
|
+
write: true,
|
|
357
|
+
def: "Seen",
|
|
358
|
+
states: {
|
|
359
|
+
Seen: "Seen",
|
|
360
|
+
Answered: "Answered",
|
|
361
|
+
Flagged: "Flagged",
|
|
362
|
+
Deleted: "Deleted",
|
|
363
|
+
Draft: "Draft",
|
|
364
|
+
},
|
|
365
|
+
};
|
|
366
|
+
await this.createDataPoint(`${id.user}.remote.flag.type`, common, "state");
|
|
367
|
+
common = {
|
|
368
|
+
type: "string",
|
|
369
|
+
role: "text",
|
|
370
|
+
name: this.helper_translator("Set Flag"),
|
|
371
|
+
desc: "Create by Adapter",
|
|
372
|
+
read: true,
|
|
373
|
+
write: true,
|
|
374
|
+
def: "setFlags",
|
|
375
|
+
states: {
|
|
376
|
+
setFlags: "setFlags",
|
|
377
|
+
addFlags: "addFlags",
|
|
378
|
+
delFlags: "delFlags",
|
|
379
|
+
},
|
|
380
|
+
};
|
|
381
|
+
await this.createDataPoint(`${id.user}.remote.flag.set`, common, "state");
|
|
382
|
+
common = {
|
|
383
|
+
type: "number",
|
|
384
|
+
role: "value",
|
|
385
|
+
name: this.helper_translator("UID"),
|
|
386
|
+
desc: "Create by Adapter",
|
|
387
|
+
read: true,
|
|
388
|
+
write: true,
|
|
389
|
+
def: 0,
|
|
390
|
+
};
|
|
391
|
+
await this.createDataPoint(`${id.user}.remote.flag.uid`, common, "state");
|
|
392
|
+
common = {
|
|
393
|
+
type: "boolean",
|
|
394
|
+
role: "button",
|
|
395
|
+
name: this.helper_translator("Apply selection"),
|
|
396
|
+
desc: "Create by Adapter",
|
|
397
|
+
read: true,
|
|
398
|
+
write: true,
|
|
399
|
+
def: false,
|
|
400
|
+
};
|
|
401
|
+
await this.createDataPoint(`${id.user}.remote.flag.apply_flag`, common, "state");
|
|
402
|
+
common = {
|
|
403
|
+
type: "string",
|
|
404
|
+
role: "text",
|
|
405
|
+
name: this.helper_translator("VIS command"),
|
|
406
|
+
desc: "Create by Adapter",
|
|
407
|
+
read: true,
|
|
408
|
+
write: true,
|
|
409
|
+
def: "",
|
|
410
|
+
};
|
|
411
|
+
await this.createDataPoint(`${id.user}.remote.vis_command`, common, "state");
|
|
412
|
+
common = {
|
|
413
|
+
type: "number",
|
|
293
414
|
role: "value",
|
|
415
|
+
name: this.helper_translator("UID"),
|
|
416
|
+
desc: "Create by Adapter",
|
|
417
|
+
read: true,
|
|
418
|
+
write: true,
|
|
419
|
+
def: 0,
|
|
420
|
+
};
|
|
421
|
+
await this.createDataPoint(`${id.user}.remote.move.uid`, common, "state");
|
|
422
|
+
common = {
|
|
423
|
+
type: "number",
|
|
424
|
+
role: "value",
|
|
425
|
+
name: this.helper_translator("UID"),
|
|
426
|
+
desc: "Create by Adapter",
|
|
427
|
+
read: true,
|
|
428
|
+
write: true,
|
|
429
|
+
def: 0,
|
|
430
|
+
};
|
|
431
|
+
await this.createDataPoint(`${id.user}.remote.copy.uid`, common, "state");
|
|
432
|
+
common = {
|
|
433
|
+
type: "boolean",
|
|
434
|
+
role: "button",
|
|
435
|
+
name: this.helper_translator("Apply selection"),
|
|
436
|
+
desc: "Create by Adapter",
|
|
437
|
+
read: true,
|
|
438
|
+
write: true,
|
|
439
|
+
def: false,
|
|
440
|
+
};
|
|
441
|
+
await this.createDataPoint(`${id.user}.remote.copy.apply_copy`, common, "state");
|
|
442
|
+
common = {
|
|
443
|
+
type: "boolean",
|
|
444
|
+
role: "button",
|
|
445
|
+
name: this.helper_translator("Apply selection"),
|
|
446
|
+
desc: "Create by Adapter",
|
|
447
|
+
read: true,
|
|
448
|
+
write: true,
|
|
449
|
+
def: false,
|
|
450
|
+
};
|
|
451
|
+
await this.createDataPoint(`${id.user}.remote.move.apply_move`, common, "state");
|
|
452
|
+
common = {
|
|
453
|
+
type: "string",
|
|
454
|
+
role: "json",
|
|
294
455
|
name: this.helper_translator("criteria"),
|
|
295
456
|
desc: "Create by Adapter",
|
|
296
457
|
read: true,
|
|
@@ -328,9 +489,19 @@ module.exports = {
|
|
|
328
489
|
def: false,
|
|
329
490
|
};
|
|
330
491
|
await this.createDataPoint(`${id.user}.remote.reload_emails`, common, "state");
|
|
492
|
+
common = {
|
|
493
|
+
type: "boolean",
|
|
494
|
+
role: "button",
|
|
495
|
+
name: this.helper_translator("Apply html changes"),
|
|
496
|
+
desc: "Create by Adapter",
|
|
497
|
+
read: true,
|
|
498
|
+
write: true,
|
|
499
|
+
def: false,
|
|
500
|
+
};
|
|
501
|
+
await this.createDataPoint(`${id.user}.remote.apply_html`, common, "state");
|
|
331
502
|
common = {
|
|
332
503
|
type: "string",
|
|
333
|
-
role: "
|
|
504
|
+
role: "level.color.rgb",
|
|
334
505
|
name: this.helper_translator("body_background"),
|
|
335
506
|
desc: "Create by Adapter",
|
|
336
507
|
read: true,
|
|
@@ -340,7 +511,7 @@ module.exports = {
|
|
|
340
511
|
await this.createDataPoint(`${id.user}.remote.html.body_background`, common, "state");
|
|
341
512
|
common = {
|
|
342
513
|
type: "string",
|
|
343
|
-
role: "
|
|
514
|
+
role: "text",
|
|
344
515
|
name: this.helper_translator("p_tag_text_align"),
|
|
345
516
|
desc: "Create by Adapter",
|
|
346
517
|
read: true,
|
|
@@ -356,7 +527,7 @@ module.exports = {
|
|
|
356
527
|
await this.createDataPoint(`${id.user}.remote.html.p_tag_text_align`, common, "state");
|
|
357
528
|
common = {
|
|
358
529
|
type: "number",
|
|
359
|
-
role: "value
|
|
530
|
+
role: "value",
|
|
360
531
|
name: this.helper_translator("td_tag_cell"),
|
|
361
532
|
desc: "Create by Adapter",
|
|
362
533
|
read: true,
|
|
@@ -367,7 +538,7 @@ module.exports = {
|
|
|
367
538
|
await this.createDataPoint(`${id.user}.remote.html.td_tag_cell`, common, "state");
|
|
368
539
|
common = {
|
|
369
540
|
type: "string",
|
|
370
|
-
role: "
|
|
541
|
+
role: "level.color.rgb",
|
|
371
542
|
name: this.helper_translator("td_tag_border_color"),
|
|
372
543
|
desc: "Create by Adapter",
|
|
373
544
|
read: true,
|
|
@@ -377,7 +548,157 @@ module.exports = {
|
|
|
377
548
|
await this.createDataPoint(`${id.user}.remote.html.td_tag_border_color`, common, "state");
|
|
378
549
|
common = {
|
|
379
550
|
type: "string",
|
|
380
|
-
role: "
|
|
551
|
+
role: "text",
|
|
552
|
+
name: this.helper_translator("ID"),
|
|
553
|
+
desc: "Create by Adapter",
|
|
554
|
+
read: true,
|
|
555
|
+
write: true,
|
|
556
|
+
def: this.helper_translator("ID"),
|
|
557
|
+
};
|
|
558
|
+
await this.createDataPoint(`${id.user}.remote.html.text_id`, common, "state");
|
|
559
|
+
common = {
|
|
560
|
+
type: "string",
|
|
561
|
+
role: "text",
|
|
562
|
+
name: this.helper_translator("Header_From"),
|
|
563
|
+
desc: "Create by Adapter",
|
|
564
|
+
read: true,
|
|
565
|
+
write: true,
|
|
566
|
+
def: this.helper_translator("Header_From"),
|
|
567
|
+
};
|
|
568
|
+
await this.createDataPoint(`${id.user}.remote.html.text_from`, common, "state");
|
|
569
|
+
common = {
|
|
570
|
+
type: "string",
|
|
571
|
+
role: "text",
|
|
572
|
+
name: this.helper_translator("Header_Subject"),
|
|
573
|
+
desc: "Create by Adapter",
|
|
574
|
+
read: true,
|
|
575
|
+
write: true,
|
|
576
|
+
def: this.helper_translator("Header_Subject"),
|
|
577
|
+
};
|
|
578
|
+
await this.createDataPoint(`${id.user}.remote.html.text_subject`, common, "state");
|
|
579
|
+
common = {
|
|
580
|
+
type: "string",
|
|
581
|
+
role: "text",
|
|
582
|
+
name: this.helper_translator("Header_Date"),
|
|
583
|
+
desc: "Create by Adapter",
|
|
584
|
+
read: true,
|
|
585
|
+
write: true,
|
|
586
|
+
def: this.helper_translator("Header_Date"),
|
|
587
|
+
};
|
|
588
|
+
await this.createDataPoint(`${id.user}.remote.html.text_date`, common, "state");
|
|
589
|
+
common = {
|
|
590
|
+
type: "string",
|
|
591
|
+
role: "text",
|
|
592
|
+
name: this.helper_translator("Header_Content"),
|
|
593
|
+
desc: "Create by Adapter",
|
|
594
|
+
read: true,
|
|
595
|
+
write: true,
|
|
596
|
+
def: this.helper_translator("Header_Content"),
|
|
597
|
+
};
|
|
598
|
+
await this.createDataPoint(`${id.user}.remote.html.text_content`, common, "state");
|
|
599
|
+
common = {
|
|
600
|
+
type: "string",
|
|
601
|
+
role: "text",
|
|
602
|
+
name: this.helper_translator("Header_SEQ"),
|
|
603
|
+
desc: "Create by Adapter",
|
|
604
|
+
read: true,
|
|
605
|
+
write: true,
|
|
606
|
+
def: this.helper_translator("Header_SEQ"),
|
|
607
|
+
};
|
|
608
|
+
await this.createDataPoint(`${id.user}.remote.html.text_seq`, common, "state");
|
|
609
|
+
common = {
|
|
610
|
+
type: "string",
|
|
611
|
+
role: "text",
|
|
612
|
+
name: this.helper_translator("Flag"),
|
|
613
|
+
desc: "Create by Adapter",
|
|
614
|
+
read: true,
|
|
615
|
+
write: true,
|
|
616
|
+
def: this.helper_translator("Flag"),
|
|
617
|
+
};
|
|
618
|
+
await this.createDataPoint(`${id.user}.remote.html.text_flag`, common, "state");
|
|
619
|
+
common = {
|
|
620
|
+
type: "string",
|
|
621
|
+
role: "text",
|
|
622
|
+
name: this.helper_translator("UID"),
|
|
623
|
+
desc: "Create by Adapter",
|
|
624
|
+
read: true,
|
|
625
|
+
write: true,
|
|
626
|
+
def: this.helper_translator("UID"),
|
|
627
|
+
};
|
|
628
|
+
await this.createDataPoint(`${id.user}.remote.html.text_uid`, common, "state");
|
|
629
|
+
common = {
|
|
630
|
+
type: "string",
|
|
631
|
+
role: "text",
|
|
632
|
+
name: this.helper_translator("move or copy"),
|
|
633
|
+
desc: "Create by Adapter",
|
|
634
|
+
read: true,
|
|
635
|
+
write: true,
|
|
636
|
+
def: this.helper_translator("move or copy"),
|
|
637
|
+
};
|
|
638
|
+
await this.createDataPoint(`${id.user}.remote.html.text_move_or_copy`, common, "state");
|
|
639
|
+
common = {
|
|
640
|
+
type: "string",
|
|
641
|
+
role: "text",
|
|
642
|
+
name: this.helper_translator("Flag action"),
|
|
643
|
+
desc: "Create by Adapter",
|
|
644
|
+
read: true,
|
|
645
|
+
write: true,
|
|
646
|
+
def: this.helper_translator("Flag action"),
|
|
647
|
+
};
|
|
648
|
+
await this.createDataPoint(`${id.user}.remote.html.text_setflag`, common, "state");
|
|
649
|
+
common = {
|
|
650
|
+
type: "string",
|
|
651
|
+
role: "text",
|
|
652
|
+
name: `${this.helper_translator("copy")} - `,
|
|
653
|
+
desc: "Create by Adapter",
|
|
654
|
+
read: true,
|
|
655
|
+
write: true,
|
|
656
|
+
def: `${this.helper_translator("copy")} - `,
|
|
657
|
+
};
|
|
658
|
+
await this.createDataPoint(`${id.user}.remote.html.text_select_copy`, common, "state");
|
|
659
|
+
common = {
|
|
660
|
+
type: "string",
|
|
661
|
+
role: "text",
|
|
662
|
+
name: `${this.helper_translator("move")} - `,
|
|
663
|
+
desc: "Create by Adapter",
|
|
664
|
+
read: true,
|
|
665
|
+
write: true,
|
|
666
|
+
def: `${this.helper_translator("move")} - `,
|
|
667
|
+
};
|
|
668
|
+
await this.createDataPoint(`${id.user}.remote.html.text_select_move`, common, "state");
|
|
669
|
+
common = {
|
|
670
|
+
type: "string",
|
|
671
|
+
role: "text",
|
|
672
|
+
name: "setFlags - ",
|
|
673
|
+
desc: "Create by Adapter",
|
|
674
|
+
read: true,
|
|
675
|
+
write: true,
|
|
676
|
+
def: "setFlags - ",
|
|
677
|
+
};
|
|
678
|
+
await this.createDataPoint(`${id.user}.remote.html.text_select_setflag`, common, "state");
|
|
679
|
+
common = {
|
|
680
|
+
type: "string",
|
|
681
|
+
role: "text",
|
|
682
|
+
name: "delFlags - ",
|
|
683
|
+
desc: "Create by Adapter",
|
|
684
|
+
read: true,
|
|
685
|
+
write: true,
|
|
686
|
+
def: "delFlags - ",
|
|
687
|
+
};
|
|
688
|
+
await this.createDataPoint(`${id.user}.remote.html.text_select_delflag`, common, "state");
|
|
689
|
+
common = {
|
|
690
|
+
type: "string",
|
|
691
|
+
role: "text",
|
|
692
|
+
name: "addFlags - ",
|
|
693
|
+
desc: "Create by Adapter",
|
|
694
|
+
read: true,
|
|
695
|
+
write: true,
|
|
696
|
+
def: "addFlags - ",
|
|
697
|
+
};
|
|
698
|
+
await this.createDataPoint(`${id.user}.remote.html.text_select_addflag`, common, "state");
|
|
699
|
+
common = {
|
|
700
|
+
type: "string",
|
|
701
|
+
role: "text",
|
|
381
702
|
name: this.helper_translator("Choose content"),
|
|
382
703
|
desc: "Create by Adapter",
|
|
383
704
|
read: true,
|
|
@@ -394,7 +715,7 @@ module.exports = {
|
|
|
394
715
|
await this.createDataPoint(`${id.user}.remote.html.choose_content`, common, "state");
|
|
395
716
|
common = {
|
|
396
717
|
type: "number",
|
|
397
|
-
role: "value
|
|
718
|
+
role: "value",
|
|
398
719
|
name: this.helper_translator("td_tag_border_right"),
|
|
399
720
|
desc: "Create by Adapter",
|
|
400
721
|
read: true,
|
|
@@ -405,7 +726,7 @@ module.exports = {
|
|
|
405
726
|
await this.createDataPoint(`${id.user}.remote.html.td_tag_border_right`, common, "state");
|
|
406
727
|
common = {
|
|
407
728
|
type: "number",
|
|
408
|
-
role: "value
|
|
729
|
+
role: "value",
|
|
409
730
|
name: this.helper_translator("td_tag_border_bottom"),
|
|
410
731
|
desc: "Create by Adapter",
|
|
411
732
|
read: true,
|
|
@@ -416,7 +737,7 @@ module.exports = {
|
|
|
416
737
|
await this.createDataPoint(`${id.user}.remote.html.td_tag_border_bottom`, common, "state");
|
|
417
738
|
common = {
|
|
418
739
|
type: "string",
|
|
419
|
-
role: "
|
|
740
|
+
role: "text",
|
|
420
741
|
name: this.helper_translator("table_tag_text_align"),
|
|
421
742
|
desc: "Create by Adapter",
|
|
422
743
|
read: true,
|
|
@@ -426,7 +747,7 @@ module.exports = {
|
|
|
426
747
|
await this.createDataPoint(`${id.user}.remote.html.table_tag_text_align`, common, "state");
|
|
427
748
|
common = {
|
|
428
749
|
type: "string",
|
|
429
|
-
role: "
|
|
750
|
+
role: "text",
|
|
430
751
|
name: this.helper_translator("table_tag_width"),
|
|
431
752
|
desc: "Create by Adapter",
|
|
432
753
|
read: true,
|
|
@@ -436,7 +757,7 @@ module.exports = {
|
|
|
436
757
|
await this.createDataPoint(`${id.user}.remote.html.table_tag_width`, common, "state");
|
|
437
758
|
common = {
|
|
438
759
|
type: "string",
|
|
439
|
-
role: "
|
|
760
|
+
role: "level.color.rgb",
|
|
440
761
|
name: this.helper_translator("table_tag_border_color"),
|
|
441
762
|
desc: "Create by Adapter",
|
|
442
763
|
read: true,
|
|
@@ -446,7 +767,7 @@ module.exports = {
|
|
|
446
767
|
await this.createDataPoint(`${id.user}.remote.html.table_tag_border_color`, common, "state");
|
|
447
768
|
common = {
|
|
448
769
|
type: "number",
|
|
449
|
-
role: "value
|
|
770
|
+
role: "value",
|
|
450
771
|
name: this.helper_translator("table_tag_cell"),
|
|
451
772
|
desc: "Create by Adapter",
|
|
452
773
|
read: true,
|
|
@@ -457,7 +778,7 @@ module.exports = {
|
|
|
457
778
|
await this.createDataPoint(`${id.user}.remote.html.table_tag_cell`, common, "state");
|
|
458
779
|
common = {
|
|
459
780
|
type: "string",
|
|
460
|
-
role: "
|
|
781
|
+
role: "text",
|
|
461
782
|
name: this.helper_translator("td_tag_2_colums"),
|
|
462
783
|
desc: "Create by Adapter",
|
|
463
784
|
read: true,
|
|
@@ -467,7 +788,7 @@ module.exports = {
|
|
|
467
788
|
await this.createDataPoint(`${id.user}.remote.html.td_tag_2_colums`, common, "state");
|
|
468
789
|
common = {
|
|
469
790
|
type: "string",
|
|
470
|
-
role: "
|
|
791
|
+
role: "level.color.rgb",
|
|
471
792
|
name: this.helper_translator("header_tag_border_color"),
|
|
472
793
|
desc: "Create by Adapter",
|
|
473
794
|
read: true,
|
|
@@ -477,7 +798,7 @@ module.exports = {
|
|
|
477
798
|
await this.createDataPoint(`${id.user}.remote.html.header_tag_border_color`, common, "state");
|
|
478
799
|
common = {
|
|
479
800
|
type: "number",
|
|
480
|
-
role: "value
|
|
801
|
+
role: "value",
|
|
481
802
|
name: this.helper_translator("header_border"),
|
|
482
803
|
desc: "Create by Adapter",
|
|
483
804
|
read: true,
|
|
@@ -488,7 +809,7 @@ module.exports = {
|
|
|
488
809
|
await this.createDataPoint(`${id.user}.remote.html.header_border`, common, "state");
|
|
489
810
|
common = {
|
|
490
811
|
type: "string",
|
|
491
|
-
role: "
|
|
812
|
+
role: "text",
|
|
492
813
|
name: this.helper_translator("header_width"),
|
|
493
814
|
desc: "Create by Adapter",
|
|
494
815
|
read: true,
|
|
@@ -498,23 +819,7 @@ module.exports = {
|
|
|
498
819
|
await this.createDataPoint(`${id.user}.remote.html.header_width`, common, "state");
|
|
499
820
|
common = {
|
|
500
821
|
type: "string",
|
|
501
|
-
role: "
|
|
502
|
-
name: this.helper_translator("header_rules"),
|
|
503
|
-
desc: "Create by Adapter",
|
|
504
|
-
read: true,
|
|
505
|
-
write: true,
|
|
506
|
-
def: "none",
|
|
507
|
-
states: {
|
|
508
|
-
none: "none",
|
|
509
|
-
all: "all",
|
|
510
|
-
cols: "cols",
|
|
511
|
-
rows: "rows",
|
|
512
|
-
},
|
|
513
|
-
};
|
|
514
|
-
await this.createDataPoint(`${id.user}.remote.html.header_rules`, common, "state");
|
|
515
|
-
common = {
|
|
516
|
-
type: "string",
|
|
517
|
-
role: "value.header",
|
|
822
|
+
role: "level.color.rgb",
|
|
518
823
|
name: this.helper_translator("header_text_color"),
|
|
519
824
|
desc: "Create by Adapter",
|
|
520
825
|
read: true,
|
|
@@ -524,7 +829,7 @@ module.exports = {
|
|
|
524
829
|
await this.createDataPoint(`${id.user}.remote.html.header_text_color`, common, "state");
|
|
525
830
|
common = {
|
|
526
831
|
type: "number",
|
|
527
|
-
role: "value
|
|
832
|
+
role: "value",
|
|
528
833
|
name: this.helper_translator("header_font_size"),
|
|
529
834
|
desc: "Create by Adapter",
|
|
530
835
|
read: true,
|
|
@@ -535,7 +840,7 @@ module.exports = {
|
|
|
535
840
|
await this.createDataPoint(`${id.user}.remote.html.header_font_size`, common, "state");
|
|
536
841
|
common = {
|
|
537
842
|
type: "string",
|
|
538
|
-
role: "
|
|
843
|
+
role: "text",
|
|
539
844
|
name: this.helper_translator("header_font"),
|
|
540
845
|
desc: "Create by Adapter",
|
|
541
846
|
read: true,
|
|
@@ -545,7 +850,7 @@ module.exports = {
|
|
|
545
850
|
await this.createDataPoint(`${id.user}.remote.html.header_font`, common, "state");
|
|
546
851
|
common = {
|
|
547
852
|
type: "string",
|
|
548
|
-
role: "
|
|
853
|
+
role: "level.color.rgb",
|
|
549
854
|
name: this.helper_translator("header_linear_color_1"),
|
|
550
855
|
desc: "Create by Adapter",
|
|
551
856
|
read: true,
|
|
@@ -555,7 +860,7 @@ module.exports = {
|
|
|
555
860
|
await this.createDataPoint(`${id.user}.remote.html.header_linear_color_1`, common, "state");
|
|
556
861
|
common = {
|
|
557
862
|
type: "string",
|
|
558
|
-
role: "
|
|
863
|
+
role: "text",
|
|
559
864
|
name: this.helper_translator("header_linear_color_2"),
|
|
560
865
|
desc: "Create by Adapter",
|
|
561
866
|
read: true,
|
|
@@ -565,7 +870,7 @@ module.exports = {
|
|
|
565
870
|
await this.createDataPoint(`${id.user}.remote.html.header_linear_color_2`, common, "state");
|
|
566
871
|
common = {
|
|
567
872
|
type: "number",
|
|
568
|
-
role: "value
|
|
873
|
+
role: "value",
|
|
569
874
|
name: this.helper_translator("headline_height"),
|
|
570
875
|
desc: "Create by Adapter",
|
|
571
876
|
read: true,
|
|
@@ -576,7 +881,7 @@ module.exports = {
|
|
|
576
881
|
await this.createDataPoint(`${id.user}.remote.html.headline_height`, common, "state");
|
|
577
882
|
common = {
|
|
578
883
|
type: "string",
|
|
579
|
-
role: "
|
|
884
|
+
role: "level.color.rgb",
|
|
580
885
|
name: this.helper_translator("headline_color"),
|
|
581
886
|
desc: "Create by Adapter",
|
|
582
887
|
read: true,
|
|
@@ -586,7 +891,7 @@ module.exports = {
|
|
|
586
891
|
await this.createDataPoint(`${id.user}.remote.html.headline_color`, common, "state");
|
|
587
892
|
common = {
|
|
588
893
|
type: "number",
|
|
589
|
-
role: "value
|
|
894
|
+
role: "value",
|
|
590
895
|
name: this.helper_translator("headline_font_size"),
|
|
591
896
|
desc: "Create by Adapter",
|
|
592
897
|
read: true,
|
|
@@ -597,7 +902,7 @@ module.exports = {
|
|
|
597
902
|
await this.createDataPoint(`${id.user}.remote.html.headline_font_size`, common, "state");
|
|
598
903
|
common = {
|
|
599
904
|
type: "string",
|
|
600
|
-
role: "
|
|
905
|
+
role: "text",
|
|
601
906
|
name: this.helper_translator("headline_style"),
|
|
602
907
|
desc: "Create by Adapter",
|
|
603
908
|
read: true,
|
|
@@ -611,7 +916,7 @@ module.exports = {
|
|
|
611
916
|
await this.createDataPoint(`${id.user}.remote.html.headline_style`, common, "state");
|
|
612
917
|
common = {
|
|
613
918
|
type: "number",
|
|
614
|
-
role: "value
|
|
919
|
+
role: "value",
|
|
615
920
|
name: this.helper_translator("headline_underlined"),
|
|
616
921
|
desc: "Create by Adapter",
|
|
617
922
|
read: true,
|
|
@@ -622,7 +927,7 @@ module.exports = {
|
|
|
622
927
|
await this.createDataPoint(`${id.user}.remote.html.headline_underlined`, common, "state");
|
|
623
928
|
common = {
|
|
624
929
|
type: "string",
|
|
625
|
-
role: "
|
|
930
|
+
role: "level.color.rgb",
|
|
626
931
|
name: this.helper_translator("headline_underlined_color"),
|
|
627
932
|
desc: "Create by Adapter",
|
|
628
933
|
read: true,
|
|
@@ -632,7 +937,7 @@ module.exports = {
|
|
|
632
937
|
await this.createDataPoint(`${id.user}.remote.html.headline_underlined_color`, common, "state");
|
|
633
938
|
common = {
|
|
634
939
|
type: "string",
|
|
635
|
-
role: "
|
|
940
|
+
role: "text",
|
|
636
941
|
name: this.helper_translator("headline_column_width", 1),
|
|
637
942
|
desc: "Create by Adapter",
|
|
638
943
|
read: true,
|
|
@@ -642,7 +947,7 @@ module.exports = {
|
|
|
642
947
|
await this.createDataPoint(`${id.user}.remote.html.headline_column_width_1`, common, "state");
|
|
643
948
|
common = {
|
|
644
949
|
type: "string",
|
|
645
|
-
role: "
|
|
950
|
+
role: "text",
|
|
646
951
|
name: this.helper_translator("headline_column_width", 2),
|
|
647
952
|
desc: "Create by Adapter",
|
|
648
953
|
read: true,
|
|
@@ -652,7 +957,7 @@ module.exports = {
|
|
|
652
957
|
await this.createDataPoint(`${id.user}.remote.html.headline_column_width_2`, common, "state");
|
|
653
958
|
common = {
|
|
654
959
|
type: "string",
|
|
655
|
-
role: "
|
|
960
|
+
role: "text",
|
|
656
961
|
name: this.helper_translator("headline_column_width", 3),
|
|
657
962
|
desc: "Create by Adapter",
|
|
658
963
|
read: true,
|
|
@@ -662,7 +967,7 @@ module.exports = {
|
|
|
662
967
|
await this.createDataPoint(`${id.user}.remote.html.headline_column_width_3`, common, "state");
|
|
663
968
|
common = {
|
|
664
969
|
type: "string",
|
|
665
|
-
role: "
|
|
970
|
+
role: "text",
|
|
666
971
|
name: this.helper_translator("headline_column_width", 4),
|
|
667
972
|
desc: "Create by Adapter",
|
|
668
973
|
read: true,
|
|
@@ -672,7 +977,7 @@ module.exports = {
|
|
|
672
977
|
await this.createDataPoint(`${id.user}.remote.html.headline_column_width_4`, common, "state");
|
|
673
978
|
common = {
|
|
674
979
|
type: "string",
|
|
675
|
-
role: "
|
|
980
|
+
role: "text",
|
|
676
981
|
name: this.helper_translator("headline_column_width", 5),
|
|
677
982
|
desc: "Create by Adapter",
|
|
678
983
|
read: true,
|
|
@@ -682,7 +987,7 @@ module.exports = {
|
|
|
682
987
|
await this.createDataPoint(`${id.user}.remote.html.headline_column_width_5`, common, "state");
|
|
683
988
|
common = {
|
|
684
989
|
type: "string",
|
|
685
|
-
role: "
|
|
990
|
+
role: "text",
|
|
686
991
|
name: this.helper_translator("headline_column_width", 6),
|
|
687
992
|
desc: "Create by Adapter",
|
|
688
993
|
read: true,
|
|
@@ -692,7 +997,7 @@ module.exports = {
|
|
|
692
997
|
await this.createDataPoint(`${id.user}.remote.html.headline_column_width_6`, common, "state");
|
|
693
998
|
common = {
|
|
694
999
|
type: "string",
|
|
695
|
-
role: "
|
|
1000
|
+
role: "text",
|
|
696
1001
|
name: this.helper_translator("headline_column_width", 7),
|
|
697
1002
|
desc: "Create by Adapter",
|
|
698
1003
|
read: true,
|
|
@@ -702,7 +1007,37 @@ module.exports = {
|
|
|
702
1007
|
await this.createDataPoint(`${id.user}.remote.html.headline_column_width_7`, common, "state");
|
|
703
1008
|
common = {
|
|
704
1009
|
type: "string",
|
|
705
|
-
role: "
|
|
1010
|
+
role: "text",
|
|
1011
|
+
name: this.helper_translator("headline_column_width", 8),
|
|
1012
|
+
desc: "Create by Adapter",
|
|
1013
|
+
read: true,
|
|
1014
|
+
write: true,
|
|
1015
|
+
def: "auto",
|
|
1016
|
+
};
|
|
1017
|
+
await this.createDataPoint(`${id.user}.remote.html.headline_column_width_8`, common, "state");
|
|
1018
|
+
common = {
|
|
1019
|
+
type: "string",
|
|
1020
|
+
role: "text",
|
|
1021
|
+
name: this.helper_translator("headline_column_width", 9),
|
|
1022
|
+
desc: "Create by Adapter",
|
|
1023
|
+
read: true,
|
|
1024
|
+
write: true,
|
|
1025
|
+
def: "auto",
|
|
1026
|
+
};
|
|
1027
|
+
await this.createDataPoint(`${id.user}.remote.html.headline_column_width_9`, common, "state");
|
|
1028
|
+
common = {
|
|
1029
|
+
type: "string",
|
|
1030
|
+
role: "text",
|
|
1031
|
+
name: this.helper_translator("headline_column_width", 10),
|
|
1032
|
+
desc: "Create by Adapter",
|
|
1033
|
+
read: true,
|
|
1034
|
+
write: true,
|
|
1035
|
+
def: "auto",
|
|
1036
|
+
};
|
|
1037
|
+
await this.createDataPoint(`${id.user}.remote.html.headline_column_width_10`, common, "state");
|
|
1038
|
+
common = {
|
|
1039
|
+
type: "string",
|
|
1040
|
+
role: "text",
|
|
706
1041
|
name: this.helper_translator("headline_align_column", 1),
|
|
707
1042
|
desc: "Create by Adapter",
|
|
708
1043
|
read: true,
|
|
@@ -718,7 +1053,7 @@ module.exports = {
|
|
|
718
1053
|
await this.createDataPoint(`${id.user}.remote.html.headline_align_column_1`, common, "state");
|
|
719
1054
|
common = {
|
|
720
1055
|
type: "string",
|
|
721
|
-
role: "
|
|
1056
|
+
role: "text",
|
|
722
1057
|
name: this.helper_translator("headline_align_column", 2),
|
|
723
1058
|
desc: "Create by Adapter",
|
|
724
1059
|
read: true,
|
|
@@ -734,7 +1069,7 @@ module.exports = {
|
|
|
734
1069
|
await this.createDataPoint(`${id.user}.remote.html.headline_align_column_2`, common, "state");
|
|
735
1070
|
common = {
|
|
736
1071
|
type: "string",
|
|
737
|
-
role: "
|
|
1072
|
+
role: "text",
|
|
738
1073
|
name: this.helper_translator("headline_align_column", 3),
|
|
739
1074
|
desc: "Create by Adapter",
|
|
740
1075
|
read: true,
|
|
@@ -750,7 +1085,7 @@ module.exports = {
|
|
|
750
1085
|
await this.createDataPoint(`${id.user}.remote.html.headline_align_column_3`, common, "state");
|
|
751
1086
|
common = {
|
|
752
1087
|
type: "string",
|
|
753
|
-
role: "
|
|
1088
|
+
role: "text",
|
|
754
1089
|
name: this.helper_translator("headline_align_column", 4),
|
|
755
1090
|
desc: "Create by Adapter",
|
|
756
1091
|
read: true,
|
|
@@ -766,7 +1101,7 @@ module.exports = {
|
|
|
766
1101
|
await this.createDataPoint(`${id.user}.remote.html.headline_align_column_4`, common, "state");
|
|
767
1102
|
common = {
|
|
768
1103
|
type: "string",
|
|
769
|
-
role: "
|
|
1104
|
+
role: "text",
|
|
770
1105
|
name: this.helper_translator("headline_align_column", 5),
|
|
771
1106
|
desc: "Create by Adapter",
|
|
772
1107
|
read: true,
|
|
@@ -782,7 +1117,7 @@ module.exports = {
|
|
|
782
1117
|
await this.createDataPoint(`${id.user}.remote.html.headline_align_column_5`, common, "state");
|
|
783
1118
|
common = {
|
|
784
1119
|
type: "string",
|
|
785
|
-
role: "
|
|
1120
|
+
role: "text",
|
|
786
1121
|
name: this.helper_translator("headline_align_column", 6),
|
|
787
1122
|
desc: "Create by Adapter",
|
|
788
1123
|
read: true,
|
|
@@ -798,7 +1133,7 @@ module.exports = {
|
|
|
798
1133
|
await this.createDataPoint(`${id.user}.remote.html.headline_align_column_6`, common, "state");
|
|
799
1134
|
common = {
|
|
800
1135
|
type: "string",
|
|
801
|
-
role: "
|
|
1136
|
+
role: "text",
|
|
802
1137
|
name: this.helper_translator("headline_align_column", 7),
|
|
803
1138
|
desc: "Create by Adapter",
|
|
804
1139
|
read: true,
|
|
@@ -814,7 +1149,55 @@ module.exports = {
|
|
|
814
1149
|
await this.createDataPoint(`${id.user}.remote.html.headline_align_column_7`, common, "state");
|
|
815
1150
|
common = {
|
|
816
1151
|
type: "string",
|
|
817
|
-
role: "
|
|
1152
|
+
role: "text",
|
|
1153
|
+
name: this.helper_translator("headline_align_column", 8),
|
|
1154
|
+
desc: "Create by Adapter",
|
|
1155
|
+
read: true,
|
|
1156
|
+
write: true,
|
|
1157
|
+
def: "center",
|
|
1158
|
+
states: {
|
|
1159
|
+
center: "center",
|
|
1160
|
+
left: "left",
|
|
1161
|
+
right: "right",
|
|
1162
|
+
auto: "auto",
|
|
1163
|
+
},
|
|
1164
|
+
};
|
|
1165
|
+
await this.createDataPoint(`${id.user}.remote.html.headline_align_column_8`, common, "state");
|
|
1166
|
+
common = {
|
|
1167
|
+
type: "string",
|
|
1168
|
+
role: "text",
|
|
1169
|
+
name: this.helper_translator("headline_align_column", 9),
|
|
1170
|
+
desc: "Create by Adapter",
|
|
1171
|
+
read: true,
|
|
1172
|
+
write: true,
|
|
1173
|
+
def: "center",
|
|
1174
|
+
states: {
|
|
1175
|
+
center: "center",
|
|
1176
|
+
left: "left",
|
|
1177
|
+
right: "right",
|
|
1178
|
+
auto: "auto",
|
|
1179
|
+
},
|
|
1180
|
+
};
|
|
1181
|
+
await this.createDataPoint(`${id.user}.remote.html.headline_align_column_9`, common, "state");
|
|
1182
|
+
common = {
|
|
1183
|
+
type: "string",
|
|
1184
|
+
role: "text",
|
|
1185
|
+
name: this.helper_translator("headline_align_column", 10),
|
|
1186
|
+
desc: "Create by Adapter",
|
|
1187
|
+
read: true,
|
|
1188
|
+
write: true,
|
|
1189
|
+
def: "center",
|
|
1190
|
+
states: {
|
|
1191
|
+
center: "center",
|
|
1192
|
+
left: "left",
|
|
1193
|
+
right: "right",
|
|
1194
|
+
auto: "auto",
|
|
1195
|
+
},
|
|
1196
|
+
};
|
|
1197
|
+
await this.createDataPoint(`${id.user}.remote.html.headline_align_column_10`, common, "state");
|
|
1198
|
+
common = {
|
|
1199
|
+
type: "string",
|
|
1200
|
+
role: "level.color.rgb",
|
|
818
1201
|
name: this.helper_translator("top_text_color"),
|
|
819
1202
|
desc: "Create by Adapter",
|
|
820
1203
|
read: true,
|
|
@@ -824,7 +1207,7 @@ module.exports = {
|
|
|
824
1207
|
await this.createDataPoint(`${id.user}.remote.html.top_text_color`, common, "state");
|
|
825
1208
|
common = {
|
|
826
1209
|
type: "string",
|
|
827
|
-
role: "
|
|
1210
|
+
role: "text",
|
|
828
1211
|
name: this.helper_translator("top_text"),
|
|
829
1212
|
desc: "Create by Adapter",
|
|
830
1213
|
read: true,
|
|
@@ -844,7 +1227,7 @@ module.exports = {
|
|
|
844
1227
|
await this.createDataPoint(`${id.user}.remote.html.jarvis`, common, "state");
|
|
845
1228
|
common = {
|
|
846
1229
|
type: "string",
|
|
847
|
-
role: "
|
|
1230
|
+
role: "text",
|
|
848
1231
|
name: this.helper_translator("top_font"),
|
|
849
1232
|
desc: "Create by Adapter",
|
|
850
1233
|
read: true,
|
|
@@ -854,7 +1237,7 @@ module.exports = {
|
|
|
854
1237
|
await this.createDataPoint(`${id.user}.remote.html.top_font`, common, "state");
|
|
855
1238
|
common = {
|
|
856
1239
|
type: "number",
|
|
857
|
-
role: "value
|
|
1240
|
+
role: "value",
|
|
858
1241
|
name: this.helper_translator("top_font_size"),
|
|
859
1242
|
desc: "Create by Adapter",
|
|
860
1243
|
read: true,
|
|
@@ -865,7 +1248,7 @@ module.exports = {
|
|
|
865
1248
|
await this.createDataPoint(`${id.user}.remote.html.top_font_size`, common, "state");
|
|
866
1249
|
common = {
|
|
867
1250
|
type: "string",
|
|
868
|
-
role: "
|
|
1251
|
+
role: "text",
|
|
869
1252
|
name: this.helper_translator("top_font_weight"),
|
|
870
1253
|
desc: "Create by Adapter",
|
|
871
1254
|
read: true,
|
|
@@ -879,7 +1262,7 @@ module.exports = {
|
|
|
879
1262
|
await this.createDataPoint(`${id.user}.remote.html.top_font_weight`, common, "state");
|
|
880
1263
|
common = {
|
|
881
1264
|
type: "string",
|
|
882
|
-
role: "
|
|
1265
|
+
role: "level.color.rgb",
|
|
883
1266
|
name: this.helper_translator("mails_today_color"),
|
|
884
1267
|
desc: "Create by Adapter",
|
|
885
1268
|
read: true,
|
|
@@ -889,7 +1272,7 @@ module.exports = {
|
|
|
889
1272
|
await this.createDataPoint(`${id.user}.remote.html.mails_today_color`, common, "state");
|
|
890
1273
|
common = {
|
|
891
1274
|
type: "string",
|
|
892
|
-
role: "
|
|
1275
|
+
role: "level.color.rgb",
|
|
893
1276
|
name: this.helper_translator("mails_today_color_odd"),
|
|
894
1277
|
desc: "Create by Adapter",
|
|
895
1278
|
read: true,
|
|
@@ -899,7 +1282,7 @@ module.exports = {
|
|
|
899
1282
|
await this.createDataPoint(`${id.user}.remote.html.mails_today_color_odd`, common, "state");
|
|
900
1283
|
common = {
|
|
901
1284
|
type: "string",
|
|
902
|
-
role: "
|
|
1285
|
+
role: "text",
|
|
903
1286
|
name: this.helper_translator("mails_nextday_color_even"),
|
|
904
1287
|
desc: "Create by Adapter",
|
|
905
1288
|
read: true,
|
|
@@ -909,7 +1292,7 @@ module.exports = {
|
|
|
909
1292
|
await this.createDataPoint(`${id.user}.remote.html.mails_nextday_color_even`, common, "state");
|
|
910
1293
|
common = {
|
|
911
1294
|
type: "string",
|
|
912
|
-
role: "
|
|
1295
|
+
role: "level.color.rgb",
|
|
913
1296
|
name: this.helper_translator("mails_nextday_color_odd"),
|
|
914
1297
|
desc: "Create by Adapter",
|
|
915
1298
|
read: true,
|
|
@@ -919,7 +1302,7 @@ module.exports = {
|
|
|
919
1302
|
await this.createDataPoint(`${id.user}.remote.html.mails_nextday_color_odd`, common, "state");
|
|
920
1303
|
common = {
|
|
921
1304
|
type: "string",
|
|
922
|
-
role: "
|
|
1305
|
+
role: "level.color.rgb",
|
|
923
1306
|
name: this.helper_translator("mails_even_color"),
|
|
924
1307
|
desc: "Create by Adapter",
|
|
925
1308
|
read: true,
|
|
@@ -929,7 +1312,7 @@ module.exports = {
|
|
|
929
1312
|
await this.createDataPoint(`${id.user}.remote.html.mails_even_color`, common, "state");
|
|
930
1313
|
common = {
|
|
931
1314
|
type: "string",
|
|
932
|
-
role: "
|
|
1315
|
+
role: "level.color.rgb",
|
|
933
1316
|
name: this.helper_translator("mails_odd_color"),
|
|
934
1317
|
desc: "Create by Adapter",
|
|
935
1318
|
read: true,
|
|
@@ -939,7 +1322,7 @@ module.exports = {
|
|
|
939
1322
|
await this.createDataPoint(`${id.user}.remote.html.mails_odd_color`, common, "state");
|
|
940
1323
|
common = {
|
|
941
1324
|
type: "number",
|
|
942
|
-
role: "value
|
|
1325
|
+
role: "value",
|
|
943
1326
|
name: this.helper_translator("short_subject"),
|
|
944
1327
|
desc: "Create by Adapter",
|
|
945
1328
|
read: true,
|
|
@@ -949,7 +1332,7 @@ module.exports = {
|
|
|
949
1332
|
await this.createDataPoint(`${id.user}.remote.html.short_subject`, common, "state");
|
|
950
1333
|
common = {
|
|
951
1334
|
type: "number",
|
|
952
|
-
role: "value
|
|
1335
|
+
role: "value",
|
|
953
1336
|
name: this.helper_translator("short_content"),
|
|
954
1337
|
desc: "Create by Adapter",
|
|
955
1338
|
read: true,
|
|
@@ -976,5 +1359,51 @@ module.exports = {
|
|
|
976
1359
|
states: states,
|
|
977
1360
|
};
|
|
978
1361
|
await this.createDataPoint(`${id}.remote.change_folder`, common, "state");
|
|
1362
|
+
common = {
|
|
1363
|
+
type: "string",
|
|
1364
|
+
role: "text",
|
|
1365
|
+
name: this.helper_translator("Select target folder"),
|
|
1366
|
+
desc: "Create by Adapter",
|
|
1367
|
+
read: true,
|
|
1368
|
+
write: true,
|
|
1369
|
+
def: "",
|
|
1370
|
+
states: states,
|
|
1371
|
+
};
|
|
1372
|
+
await this.createDataPoint(`${id}.remote.copy.folder`, common, "state");
|
|
1373
|
+
common = {
|
|
1374
|
+
type: "string",
|
|
1375
|
+
role: "text",
|
|
1376
|
+
name: this.helper_translator("Select target folder"),
|
|
1377
|
+
desc: "Create by Adapter",
|
|
1378
|
+
read: true,
|
|
1379
|
+
write: true,
|
|
1380
|
+
def: "",
|
|
1381
|
+
states: states,
|
|
1382
|
+
};
|
|
1383
|
+
await this.createDataPoint(`${id}.remote.move.folder`, common, "state");
|
|
1384
|
+
},
|
|
1385
|
+
async createSelect(id) {
|
|
1386
|
+
let common = {};
|
|
1387
|
+
common = {
|
|
1388
|
+
type: "string",
|
|
1389
|
+
role: "json",
|
|
1390
|
+
name: this.helper_translator("Last IMAP update"),
|
|
1391
|
+
desc: "Create by Adapter",
|
|
1392
|
+
read: true,
|
|
1393
|
+
write: false,
|
|
1394
|
+
def: "",
|
|
1395
|
+
};
|
|
1396
|
+
await this.createDataPoint(`json_table`, common, "state");
|
|
1397
|
+
common = {
|
|
1398
|
+
type: "string",
|
|
1399
|
+
role: "json",
|
|
1400
|
+
name: this.helper_translator("IMAP Server"),
|
|
1401
|
+
desc: "Create by Adapter",
|
|
1402
|
+
read: true,
|
|
1403
|
+
write: true,
|
|
1404
|
+
def: "",
|
|
1405
|
+
states: id.states,
|
|
1406
|
+
};
|
|
1407
|
+
await this.createDataPoint(`json_imap`, common, "state");
|
|
979
1408
|
},
|
|
980
1409
|
};
|