smart-nodes 0.4.1 → 0.4.3

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
@@ -83,5 +83,10 @@
83
83
 
84
84
  ## Version 0.4.1:
85
85
 
86
- - Show only up to 2 decimal places in node status text.
87
- - Improved warn messages shown in console.
86
+ - Show only up to 2 decimal places in node status text.
87
+ - Improved warn messages shown in console.
88
+
89
+ ## Version 0.4.2:
90
+
91
+ - Fixed design of property page of forwarder node.
92
+ - Corrected hysteresis to send original message.
@@ -46,15 +46,15 @@
46
46
  </div>
47
47
  <div class="form-row">
48
48
  <input type="checkbox" id="node-input-forward_last_on_enable" style="width: 20px;" />
49
- <label for="node-input-forward_last_on_enable" data-i18n="forwarder.ui.forward_last_on_enable"></label>
49
+ <label for="node-input-forward_last_on_enable" style="width: calc(100% - 30px);" data-i18n="forwarder.ui.forward_last_on_enable"></label>
50
50
  </div>
51
51
  <div class="form-row">
52
52
  <input type="checkbox" id="node-input-always_forward_true" style="width: 20px;" />
53
- <label for="node-input-always_forward_true" data-i18n="[html]forwarder.ui.always_forward_true"></label>
53
+ <label for="node-input-always_forward_true" style="width: calc(100% - 30px);" data-i18n="[html]forwarder.ui.always_forward_true"></label>
54
54
  </div>
55
55
  <div class="form-row">
56
56
  <input type="checkbox" id="node-input-always_forward_false" style="width: 20px;" />
57
- <label for="node-input-always_forward_false" data-i18n="[html]forwarder.ui.always_forward_false"></label>
57
+ <label for="node-input-always_forward_false" style="width: calc(100% - 30px);" data-i18n="[html]forwarder.ui.always_forward_false"></label>
58
58
  </div>
59
59
  <hr/>
60
60
  <h4 style="margin: 0.5rem 0;" data-i18n="forwarder.ui.system_start"></h4>
@@ -124,6 +124,18 @@
124
124
  this.out_lower_type = "NOTHING";
125
125
  $("#node-input-out_lower_type").val("NOTHING");
126
126
  }
127
+
128
+ if (this.out_higher_type == "original")
129
+ {
130
+ this.out_higher_type = "ORIGINAL";
131
+ $("#node-input-out_higher_type").val("ORIGINAL");
132
+ }
133
+
134
+ if (this.out_lower_type == "original")
135
+ {
136
+ this.out_lower_type = "ORIGINAL";
137
+ $("#node-input-out_lower_type").val("ORIGINAL");
138
+ }
127
139
  },
128
140
  oneditsave: function ()
129
141
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "smart-nodes",
3
- "version": "0.4.1",
3
+ "version": "0.4.3",
4
4
  "description": "Smart Nodes",
5
5
  "keywords": [
6
6
  "node-red",