node-red-contrib-boolean-logic-ultimate 1.1.26 → 1.1.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -3,11 +3,14 @@
|
|
|
3
3
|
|
|
4
4
|
# CHANGELOG
|
|
5
5
|
|
|
6
|
+
<p>
|
|
7
|
+
<b>Version 1.1.27</b> July 2025<br/>
|
|
8
|
+
- Status node: UI correction. </br>
|
|
9
|
+
</p>
|
|
6
10
|
<p>
|
|
7
11
|
<b>Version 1.1.26</b> July 2025<br/>
|
|
8
12
|
- Interruptflow node: fixed non functional msg.play. </br>
|
|
9
13
|
</p>
|
|
10
|
-
|
|
11
14
|
<p>
|
|
12
15
|
<b>Version 1.1.25</b> January 2025<br/>
|
|
13
16
|
- BREAKING CHANGE<br/>
|
|
@@ -20,6 +20,10 @@
|
|
|
20
20
|
},
|
|
21
21
|
paletteLabel: function () {
|
|
22
22
|
return "Status";
|
|
23
|
+
},
|
|
24
|
+
oneditprepare: function () {
|
|
25
|
+
if ($("#node-input-property").val() === "") $("#node-input-property").val("payload");
|
|
26
|
+
$("#node-input-property").typedInput({ default: 'msg', types: ['msg'] });
|
|
23
27
|
}
|
|
24
28
|
});
|
|
25
29
|
</script>
|
|
@@ -36,7 +40,7 @@
|
|
|
36
40
|
<input type="text" id="node-input-name" placeholder="Name">
|
|
37
41
|
</div>
|
|
38
42
|
<div class="form-row">
|
|
39
|
-
<label for="node-input-property"><i class="
|
|
43
|
+
<label for="node-input-property"><i class="fa fa-ellipsis-h"></i> Show</label>
|
|
40
44
|
<input type="text" id="node-input-property" placeholder="payload">
|
|
41
45
|
</div>
|
|
42
46
|
</script>
|
|
@@ -27,17 +27,17 @@ module.exports = function (RED) {
|
|
|
27
27
|
|
|
28
28
|
this.on('input', function (msg) {
|
|
29
29
|
try {
|
|
30
|
+
node.send(msg);
|
|
30
31
|
let props = [] = this.config.property.split(".");
|
|
31
32
|
let ret = fetchFromObject(msg, this.config.property);
|
|
32
33
|
if (ret !== undefined) {
|
|
33
34
|
setNodeStatus({ fill: "green", shape: "ring", text: ret.toString() });
|
|
34
35
|
} else {
|
|
35
|
-
setNodeStatus({ fill: "red", shape: "ring", text: this.config.property + " is undefined."});
|
|
36
|
+
setNodeStatus({ fill: "red", shape: "ring", text: this.config.property + " is undefined." });
|
|
36
37
|
}
|
|
37
38
|
} catch (error) {
|
|
38
|
-
|
|
39
|
+
setNodeStatus({ fill: "red", shape: "ring", text: error.message });
|
|
39
40
|
}
|
|
40
|
-
node.send(msg);
|
|
41
41
|
});
|
|
42
42
|
|
|
43
43
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-red-contrib-boolean-logic-ultimate",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.27",
|
|
4
4
|
"description": "A set of Node-RED enhanced boolean logic and utility nodes, flow interruption, blinker, invert, filter, toggle etc.., with persistent values after reboot. Compatible also with Homeassistant values.",
|
|
5
5
|
"author": "Supergiovane (https://github.com/Supergiovane)",
|
|
6
6
|
"dependencies": {
|