diff --git a/README.md b/README.md index 57de15c..5c8562b 100644 --- a/README.md +++ b/README.md @@ -520,6 +520,9 @@ sendTo('sql.0', 'getEnabledDPs', {}, function (result) { --> ## Changelog +### **WORK IN PROGRESS** +* (simatec) Responsive Design added + ### 3.0.1 (2024-06-13) * (foxriver76) upgraded dependencies diff --git a/admin/jsonConfig.json b/admin/jsonConfig.json index 05fab46..11537b2 100644 --- a/admin/jsonConfig.json +++ b/admin/jsonConfig.json @@ -16,6 +16,7 @@ {"label": "MS-SQL", "value": "mssql"} ], "label": "DB Type", + "xs": 12, "sm": 12, "md": 4, "lg": 3 @@ -26,6 +27,7 @@ "type": "text", "label": "Host", "hidden": "data.dbtype === 'sqlite'", + "xs": 12, "sm": 12, "md": 4, "lg": 3 @@ -36,6 +38,7 @@ "hidden": "data.dbtype === 'sqlite'", "min": 0, "max": 65565, + "xs": 12, "sm": 12, "md": 4, "lg": 3 @@ -44,6 +47,7 @@ "type": "text", "label": "DB Name", "hidden": "data.dbtype === 'sqlite'", + "xs": 12, "sm": 12, "md": 4, "lg": 3 @@ -54,6 +58,7 @@ "type": "text", "label": "User", "hidden": "data.dbtype === 'sqlite'", + "xs": 12, "sm": 12, "md": 4, "lg": 3 @@ -63,6 +68,7 @@ "label": "Password", "repeat": true, "hidden": "data.dbtype === 'sqlite'", + "xs": 12, "sm": 12, "md": 8, "lg": 6 @@ -75,6 +81,7 @@ "label": "File for sqlite", "hidden": "data.dbtype !== 'sqlite'", "help": "Input path with the file name.", + "xs": 12, "sm": 12, "md": 4, "lg": 3 @@ -83,6 +90,7 @@ "type": "number", "label": "requestInterval", "hidden": "data.dbtype !== 'sqlite'", + "xs": 12, "sm": 12, "md": 4, "lg": 3 @@ -93,6 +101,7 @@ "type": "checkbox", "hidden": "data.dbtype === 'sqlite'", "label": "Encrypt", + "xs": 12, "sm": 12, "md": 4, "lg": 3 @@ -101,6 +110,7 @@ "type": "checkbox", "hidden": "data.dbtype === 'sqlite'", "label": "Reject on SSL errors", + "xs": 12, "sm": 12, "md": 4, "lg": 3 @@ -110,6 +120,7 @@ "type": "checkbox", "hidden": "data.dbtype === 'sqlite'", "label": "Allow parallel requests", + "xs": 12, "sm": 12, "md": 4, "lg": 3 @@ -118,6 +129,7 @@ "type": "number", "hidden": "data.dbtype === 'sqlite'", "label": "Maximum concurrent connections", + "xs": 12, "sm": 12, "md": 4, "lg": 3 @@ -126,6 +138,7 @@ "type": "checkbox", "hidden": "data.dbtype === 'sqlite'", "label": "Do not create database (already created)", + "xs": 12, "sm": 12, "md": 4, "lg": 6 @@ -168,6 +181,7 @@ "newLine": true, "type": "checkbox", "label": "Write NULL values on start/stop boundaries", + "xs": 12, "sm": 12 } } @@ -179,6 +193,7 @@ "debounceTime": { "newLine": true, "type": "number", + "xs": 12, "sm": 12, "md": 4, "min": 0, @@ -188,6 +203,7 @@ }, "blockTime": { "type": "number", + "xs": 12, "sm": 12, "md": 4, "min": 0, @@ -201,6 +217,7 @@ "type": "number", "label": "log changes interval(s)", "help": "0 = disable", + "xs": 12, "sm": 12, "md": 6, "lg": 4 @@ -209,6 +226,7 @@ "type": "number", "label": "log changes minimal delta", "help": "0 = disable delta check", + "xs": 12, "sm": 12, "md": 6, "lg": 4 @@ -267,6 +285,7 @@ "label": "Custom timeframe" } ], + "xs": 12, "sm": 12, "md": 6, "lg": 4 @@ -275,6 +294,7 @@ "type": "number", "label": "Custom retention duration (days)", "min": 1, + "xs": 12, "sm": 12, "md": 4, "hidden": "(data.retention !== -1)", @@ -286,6 +306,7 @@ "label": "maximum datapoint count in RAM", "min": 0, "max": 100000, + "xs": 12, "sm": 12, "md": 4 }, @@ -293,6 +314,7 @@ "newLine": true, "type": "text", "label": "Round real to", + "xs": 12, "sm": 12, "md": 4, "lg": 3, @@ -304,12 +326,14 @@ "newLine": true, "label": "Write NULL values on start/stop boundaries", "type": "checkbox", + "xs": 12, "sm": 12, "md": 4 }, "disableSkippedValueLogging": { "label": "Disable charting optimized logging of skipped values", "type": "checkbox", + "xs": 12, "sm": 12, "md": 4 }, @@ -317,11 +341,13 @@ "newLine": true, "label": "Enable enhanced debug logs for the datapoint", "type": "checkbox", + "xs": 12, "sm": 12, "md": 4 }, "debounce": { "type": "number", + "xs": 12, "sm": 12, "md": 4, "min": 0, diff --git a/admin/jsonCustom.json b/admin/jsonCustom.json index 3fc87d9..20260e7 100644 --- a/admin/jsonCustom.json +++ b/admin/jsonCustom.json @@ -5,6 +5,7 @@ "debounceTime": { "newLine": true, "type": "number", + "xs": 12, "sm": 6, "min": 0, "max": 86400000, @@ -14,6 +15,7 @@ }, "blockTime": { "type": "number", + "xs": 12, "sm": 6, "min": 0, "max": 86400000, @@ -26,6 +28,7 @@ "type": "checkbox", "label": "log changes only", "defaultFunc": "customObj && customObj.common && customObj.common.type === 'number'", + "xs": 12, "sm": 6 }, "changesRelogInterval": { @@ -36,6 +39,7 @@ "max": 86400000, "help": "0 = disabled", "defaultFunc": "instanceObj.native.changesRelogInterval", + "xs": 12, "sm": 6, "disabled": "!data.changesOnly" }, @@ -45,6 +49,7 @@ "min": 0, "defaultFunc": "customObj && customObj.common && customObj.common.type === 'number' ? instanceObj.native.changesMinDelta : 0", "default": 0, + "xs": 12, "sm": 6, "help": "0 = disable delta check", "disabled": "!data.changesOnly" @@ -58,6 +63,7 @@ "validator": "((data.ignoreBelowNumber || '').toString().length === 0) || isFinite(data.ignoreBelowNumber)", "validatorErrorText": "Enter a number or leave the field empty", "validatorNoSaveOnError": true, + "xs": 12, "sm": 6 }, "ignoreAboveNumber": { @@ -67,18 +73,21 @@ "validator": "((data.ignoreAboveNumber || '').toString().length === 0) || isFinite(data.ignoreAboveNumber)", "validatorErrorText": "Enter a number or leave the field empty", "validatorNoSaveOnError": true, + "xs": 12, "sm": 6 }, "ignoreZero": { "newLine": true, "type": "checkbox", "label": "ignore zero or null values", + "xs": 12, "sm": 6 }, "disableSkippedValueLogging": { "newLine": true, "label": "Disable charting optimized logging of skipped values", "type": "checkbox", + "xs": 12, "sm": 12, "defaultFunc": "instanceObj.native.disableSkippedValueLogging || false" }, @@ -105,6 +114,7 @@ } ], "default": "", + "xs": 12, "sm": 6 }, "counter": { @@ -112,6 +122,7 @@ "label": "Counter", "default": false, "hidden": "data.storageType !== 'Number'", + "xs": 12, "sm": 6 }, "aliasId": { @@ -120,6 +131,7 @@ "label": "aliasId", "maxLength": 255, "default": "", + "xs": 12, "sm": 12, "help": "Alias Info" }, @@ -178,12 +190,14 @@ } ], "defaultFunc": "instanceObj.native.retention", + "xs": 12, "sm": 6 }, "customRetentionDuration": { "type": "number", "label": "Custom retention duration (days)", "min": 1, + "xs": 12, "sm": 12, "md": 4, "hidden": "(data.retention !== -1)", @@ -197,12 +211,14 @@ "min": 0, "max": 100000, "defaultFunc": "customObj && customObj.common && customObj.common.type === 'number' ? instanceObj.native.maxLength : 10", + "xs": 12, "sm": 6 }, "round": { "newLine": true, "type": "text", "label": "Round real to", + "xs": 12, "sm": 6, "validator": "((data.round || '').toString().length === 0) || isFinite(data.round)", "validatorErrorText": "Enter a number or leave the field empty", @@ -213,6 +229,7 @@ "newLine": true, "label": "Enable enhanced debug logs for the datapoint", "type": "checkbox", + "xs": 12, "sm": 12, "defaultFunc": "instanceObj.native.enableDebugLogs || false" }, @@ -224,12 +241,14 @@ "max": 86400000, "defaultFunc": "customObj && customObj.common && customObj.common.type === 'number' ? instanceObj.native.debounce : 0", "hidden": "true", + "xs": 12, "sm": 6 }, "ignoreBelowZero": { "type": "checkbox", "label": "ignore values below zero", "hidden": "true", + "xs": 12, "sm": 6 } }