node-red-contrib-boolean-logic-ultimate 1.1.17 → 1.1.19

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,6 +3,14 @@
3
3
 
4
4
  # CHANGELOG
5
5
 
6
+ <p>
7
+ <b>Version 1.1.19</b> October 2024<br/>
8
+ - Maintenance release.</br>
9
+ </p>
10
+ <p>
11
+ <b>Version 1.1.18</b> September 2024<br/>
12
+ - Impulse node: changed the STOP procedure.</br>
13
+ </p>
6
14
  <p>
7
15
  <b>Version 1.1.17</b> September 2024<br/>
8
16
  - Railway Switcher: fixed an issue caused by fixing an issue for backward compatibility of true/false input msg. The node was emitting 0 and 1 instead of true and false</br>
@@ -193,7 +201,7 @@
193
201
  </p>
194
202
  <p>
195
203
  <b>Version 1.0.27</b> April 2021<br/>
196
- - Boolean logic ultimate: msg.reset = true now resets all inputs.</br>
204
+ - Boolean Logic Ultimate: msg.reset = true now resets all inputs.</br>
197
205
  - Update the help in the README to reflect the changes.</br>
198
206
  </p>
199
207
  <p>
@@ -244,7 +252,7 @@
244
252
  </p>
245
253
  <p>
246
254
  <b>Version 1.0.15</b> May 2020<br/>
247
- - Adjusted status of Boolean Logic ultimate. Replaced the text "null", with --- for better understanding.</br>
255
+ - Adjusted status of Boolean Logic Ultimate. Replaced the text "null", with --- for better understanding.</br>
248
256
  </p>
249
257
  <p>
250
258
  <b>Version 1.0.14</b><br/>
@@ -1,6 +1,6 @@
1
1
  <script type="text/javascript">
2
2
  RED.nodes.registerType('BlinkerUltimate', {
3
- category: 'boolean logic ultimate',
3
+ category: 'Boolean Logic Ultimate',
4
4
  color: '#ff8080',
5
5
  defaults: {
6
6
  name: { value: "Blinker" },
@@ -30,7 +30,7 @@
30
30
  return (this.name || "Blinker") + " (" + this.blinkfrequency + "ms)";
31
31
  },
32
32
  paletteLabel: function () {
33
- return "BlinkerUltimate";
33
+ return "Blinker";
34
34
  },
35
35
  oneditprepare: function () {
36
36
  if ($("#node-input-payloadPropName").val() === "") $("#node-input-payloadPropName").val("payload");
@@ -1,6 +1,6 @@
1
1
  <script type="text/javascript">
2
2
  RED.nodes.registerType('BooleanLogicUltimate', {
3
- category: 'boolean logic ultimate',
3
+ category: 'Boolean Logic Ultimate',
4
4
  color: '#ff8080',
5
5
  defaults: {
6
6
  name: {
@@ -76,7 +76,7 @@
76
76
  return label;
77
77
  },
78
78
  paletteLabel: function () {
79
- return "BooleanLogicUltimate";
79
+ return "Boolean Logic";
80
80
  },
81
81
  oneditprepare: function () {
82
82
 
@@ -1,6 +1,6 @@
1
1
  <script type="text/javascript">
2
2
  RED.nodes.registerType('Comparator', {
3
- category: 'boolean logic ultimate',
3
+ category: 'Boolean Logic Ultimate',
4
4
  color: '#ff8080',
5
5
  defaults: {
6
6
  name: {
@@ -27,7 +27,7 @@
27
27
  return this.name || "Comparator";
28
28
  },
29
29
  paletteLabel: function () {
30
- return "ComparatorUltimate";
30
+ return "Comparator";
31
31
  },
32
32
  oneditprepare: function () {
33
33
  if ($("#node-input-property").val() === "") $("#node-input-property").val("payload");
@@ -1,6 +1,6 @@
1
1
  <script type="text/javascript">
2
2
  RED.nodes.registerType('FilterUltimate', {
3
- category: 'boolean logic ultimate',
3
+ category: 'Boolean Logic Ultimate',
4
4
  color: '#ff8080',
5
5
  defaults: {
6
6
  name: {
@@ -30,9 +30,9 @@
30
30
  return this.name || "Filter";
31
31
  },
32
32
  paletteLabel: function () {
33
- return "FilterUltimate";
33
+ return "Filter";
34
34
  },
35
- oneditprepare: function () {
35
+ oneditprepare: function () {
36
36
  if ($("#node-input-payloadPropName").val() === "") $("#node-input-payloadPropName").val("payload");
37
37
  $("#node-input-payloadPropName").typedInput({ default: 'msg', types: ['msg'] });
38
38
  }
@@ -1,6 +1,6 @@
1
1
  <script type="text/javascript">
2
2
  RED.nodes.registerType('ImpulseUltimate', {
3
- category: 'boolean logic ultimate',
3
+ category: 'Boolean Logic Ultimate',
4
4
  color: '#ff8080',
5
5
  defaults: {
6
6
  name: { value: "" },
@@ -15,7 +15,7 @@
15
15
  icon: "feed.svg",
16
16
  label:
17
17
  function () {
18
- var label = "ImpulseUltimate"
18
+ var label = "Impulse"
19
19
  if (this.name !== undefined && this.name.length > 0) {
20
20
  label = this.name;
21
21
  }
@@ -90,7 +90,7 @@ module.exports = function (RED) {
90
90
  }
91
91
 
92
92
  this.on('input', function (msg) {
93
-
93
+
94
94
  const utils = require("./utils.js");
95
95
  let sPayload = utils.fetchFromObject(msg, config.payloadPropName || "payload");
96
96
 
@@ -102,8 +102,8 @@ module.exports = function (RED) {
102
102
  avvio();
103
103
 
104
104
  } else if (sPayload === false) {
105
- if (node.timerWait !== null) clearTimeout(node.timerWait);
106
105
  node.isPlaying = false;
106
+ if (node.timerWait !== null) clearTimeout(node.timerWait);
107
107
  node.setNodeStatus({ fill: "red", shape: "dot", text: "Forced stop" });
108
108
  }
109
109
 
@@ -77,7 +77,7 @@
77
77
  delete node.editor;
78
78
  },
79
79
  paletteLabel: function () {
80
- return "InjectUltimate";
80
+ return "Inject";
81
81
  }
82
82
  });
83
83
  </script>
@@ -1,6 +1,6 @@
1
1
  <script type="text/javascript">
2
2
  RED.nodes.registerType('InterruptFlowUltimate', {
3
- category: 'boolean logic ultimate',
3
+ category: 'Boolean Logic Ultimate',
4
4
  color: '#ff8080',
5
5
  defaults: {
6
6
  name: { value: "Interrupt Flow" },
@@ -31,7 +31,7 @@
31
31
  return (this.name || "Interrupt") + " (" + this.triggertopic + ")";
32
32
  },
33
33
  paletteLabel: function () {
34
- return "InterruptFlowUltimate";
34
+ return "Interrupt Flow";
35
35
  },
36
36
  oneditprepare: function () {
37
37
  if ($("#node-input-payloadPropName").val() === "") $("#node-input-payloadPropName").val("payload");
@@ -1,29 +1,29 @@
1
1
  <script type="text/javascript">
2
- RED.nodes.registerType('InvertUltimate',{
3
- category: 'boolean logic ultimate',
4
- color: '#ff8080',
5
- defaults: {
6
- name: {
2
+ RED.nodes.registerType('InvertUltimate', {
3
+ category: 'Boolean Logic Ultimate',
4
+ color: '#ff8080',
5
+ defaults: {
6
+ name: {
7
7
  value: "Invert"
8
8
  },
9
9
  payloadPropName: { value: "payload", required: false },
10
- translatorConfig: { type: "translator-config", required: false }
11
- },
12
- inputs:1,
13
- outputs:1,
14
- icon: "swap.png",
15
- label:
16
- function() {
17
- return this.name||"Invert";
10
+ translatorConfig: { type: "translator-config", required: false }
11
+ },
12
+ inputs: 1,
13
+ outputs: 1,
14
+ icon: "swap.png",
15
+ label:
16
+ function () {
17
+ return this.name || "Invert";
18
18
  },
19
- paletteLabel: function() {
20
- return "InvertUltimate";
19
+ paletteLabel: function () {
20
+ return "Invert";
21
21
  },
22
22
  oneditprepare: function () {
23
23
  if ($("#node-input-payloadPropName").val() === "") $("#node-input-payloadPropName").val("payload");
24
24
  $("#node-input-payloadPropName").typedInput({ default: 'msg', types: ['msg'] });
25
25
  }
26
- });
26
+ });
27
27
  </script>
28
28
 
29
29
  <script type="text/html" data-template-name="InvertUltimate">
@@ -1,6 +1,6 @@
1
1
  <script type="text/javascript">
2
2
  RED.nodes.registerType('RailwaySwitchUltimate', {
3
- category: 'boolean logic ultimate',
3
+ category: 'Boolean Logic Ultimate',
4
4
  color: '#ff8080',
5
5
  defaults: {
6
6
  name: { value: "Railway Switch" },
@@ -20,7 +20,7 @@
20
20
  return (this.name || "Switch") + " (" + this.triggertopic + ")";
21
21
  },
22
22
  paletteLabel: function () {
23
- return "RailwaySwitchUltimate";
23
+ return "Railway Switch";
24
24
  },
25
25
  oneditprepare: function () {
26
26
  if ($("#node-input-payloadPropName").val() === "") $("#node-input-payloadPropName").val("payload");
@@ -1,6 +1,6 @@
1
1
  <script type="text/javascript">
2
2
  RED.nodes.registerType('SimpleOutputUltimate', {
3
- category: 'boolean logic ultimate',
3
+ category: 'Boolean Logic Ultimate',
4
4
  color: '#ff8080',
5
5
  defaults: {
6
6
  name: {
@@ -25,10 +25,10 @@
25
25
  icon: "font-awesome/fa-arrow-circle-o-right",
26
26
  label:
27
27
  function () {
28
- return this.name || "SimpleOutput";
28
+ return this.name || "Simple Output";
29
29
  },
30
30
  paletteLabel: function () {
31
- return "SimpleOutputUltimate";
31
+ return "Simple Output";
32
32
  }
33
33
  });
34
34
  </script>
@@ -53,7 +53,7 @@ This is useful if you need to simply send a true or false payload.
53
53
 
54
54
  |Property|Description|
55
55
  |--|--|
56
- | Input | It's the msg property to be evaluated. *By default, it is "payload", but you can also specify other properties, for example "payload.value"* |
56
+ | Input | It's the msg property to be evaluated. By default, it is "payload", but you can also specify other properties, for example "payload.value" |
57
57
 
58
58
  <br/>
59
59
 
@@ -1,6 +1,6 @@
1
1
  <script type="text/javascript">
2
2
  RED.nodes.registerType('StatusUltimate', {
3
- category: 'boolean logic ultimate',
3
+ category: 'Boolean Logic Ultimate',
4
4
  color: '#ff8080',
5
5
  defaults: {
6
6
  name: {
@@ -9,7 +9,7 @@
9
9
  property: {
10
10
  value: "payload"
11
11
  }
12
-
12
+
13
13
  },
14
14
  inputs: 1,
15
15
  outputs: 1,
@@ -19,7 +19,7 @@
19
19
  return this.name || "Status";
20
20
  },
21
21
  paletteLabel: function () {
22
- return "StatusUltimate";
22
+ return "Status";
23
23
  }
24
24
  });
25
25
  </script>
@@ -1,6 +1,6 @@
1
1
  <script type="text/javascript">
2
2
  RED.nodes.registerType('SumUltimate', {
3
- category: 'boolean logic ultimate',
3
+ category: 'Boolean Logic Ultimate',
4
4
  color: '#ff8080',
5
5
  defaults: {
6
6
  name: {
@@ -22,7 +22,7 @@
22
22
  return this.name || "Math";
23
23
  },
24
24
  paletteLabel: function () {
25
- return "MathUltimate";
25
+ return "Math";
26
26
  },
27
27
  oneditprepare: function () {
28
28
  if ($("#node-input-property").val() === "") $("#node-input-property").val("payload");
@@ -1,6 +1,6 @@
1
1
  <script type="text/javascript">
2
2
  RED.nodes.registerType('toggleUltimate', {
3
- category: 'boolean logic ultimate',
3
+ category: 'Boolean Logic Ultimate',
4
4
  color: '#ff8080',
5
5
  defaults: {
6
6
  name: {
@@ -18,7 +18,7 @@
18
18
  return this.name || "Toggle";
19
19
  },
20
20
  paletteLabel: function () {
21
- return "toggleUltimate";
21
+ return "Toggle";
22
22
  },
23
23
  oneditprepare: function () {
24
24
  if ($("#node-input-payloadPropName").val() === "") $("#node-input-payloadPropName").val("payload");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red-contrib-boolean-logic-ultimate",
3
- "version": "1.1.17",
3
+ "version": "1.1.19",
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": {