@gregoriusrippenstein/node-red-contrib-introspection 0.7.3 → 0.7.4

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 CHANGED
@@ -172,6 +172,7 @@ There are [example flows](/examples) contained in the package, examples can also
172
172
  - [Sink and Seeker](https://flowhub.org/f/139a816449acd89f)
173
173
  - [Obfuscation](https://flowhub.org/f/825ddf24d98eb011)
174
174
  - [InstallPackage](https://flowhub.org/f/6dcbd2643ea80615)
175
+ - [Complete deployment](https://flowhub.org/f/7e50047a51586752)
175
176
 
176
177
  ## License
177
178
 
@@ -3,6 +3,7 @@
3
3
  color: '#e5e4ef',
4
4
  icon: "introspesubflow.svg",
5
5
  category: 'introspection',
6
+ paletteLabel: "InstallPkg",
6
7
  defaults: {
7
8
  name: {
8
9
  value:"",
@@ -25,6 +26,9 @@
25
26
  apiPasswordType: {
26
27
  value: "env",
27
28
  },
29
+ locally: {
30
+ value: false
31
+ }
28
32
  },
29
33
  inputs:1,
30
34
  outputs:1,
@@ -60,6 +64,20 @@
60
64
  $('#useAuthentication-input-fields').hide()
61
65
  }
62
66
  });
67
+
68
+ if ( $('#node-input-locally').is(":checked") ) {
69
+ $('.hostUrl-row').hide();
70
+ } else {
71
+ $('.hostUrl-row').show();
72
+ }
73
+
74
+ $('#node-input-locally').on( 'change', function() {
75
+ if ( $('#node-input-locally').is(":checked") ) {
76
+ $('.hostUrl-row').hide();
77
+ } else {
78
+ $('.hostUrl-row').show();
79
+ }
80
+ });
63
81
  },
64
82
  });
65
83
  </script>
@@ -70,19 +88,27 @@
70
88
  <input type="text" id="node-input-name" placeholder="Name">
71
89
  </div>
72
90
 
91
+ <!--
73
92
  <div class="form-row">
93
+ <input type="checkbox" id="node-input-locally"
94
+ style="display:inline-block; width:15px; vertical-align:baseline;">
95
+ <label for="node-input-locally"><i class="fa fa-home"></i> Locally?</label>
96
+ </div>
97
+ -->
98
+
99
+ <div class="form-row hostUrl-row">
74
100
  <label for="node-input-hostUrl"><i class="fa fa-tag"></i> Host</label>
75
101
  <input type="text" id="node-input-hostUrl" placeholder="Host URL">
76
102
  </div>
77
103
 
78
104
  <div class="form-row">
105
+ <input type="checkbox" id="node-input-useAuthentication"
106
+ style="display:inline-block; width:15px; vertical-align:baseline;">
107
+
79
108
  <label for="node-input-useAuthentication">
80
- <i class="fa "></i>
109
+ <i class="fa fa-key"></i>
81
110
  <span>Use Authentication?</span>
82
111
  </label>
83
-
84
- <input type="checkbox" id="node-input-useAuthentication"
85
- style="display:inline-block; width:15px; vertical-align:baseline;">
86
112
  </div>
87
113
 
88
114
  <div id="useAuthentication-input-fields" class="hidden">
@@ -107,5 +133,5 @@
107
133
  </script>
108
134
 
109
135
  <script type="text/html" data-help-name="InstallPackage">
110
- <p>Send flow to another Node-RED instance.</p>
136
+ <p>Install package on another Node-RED instance.</p>
111
137
  </script>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gregoriusrippenstein/node-red-contrib-introspection",
3
- "version": "0.7.3",
3
+ "version": "0.7.4",
4
4
  "dependencies": {
5
5
  "got": "^13",
6
6
  "uglify-js": "^3.17.4",
@@ -30,10 +30,10 @@
30
30
  "nodes": {
31
31
  "seeker": "nodes/05-seeker.js",
32
32
  "sink": "nodes/10-sink.js",
33
+ "clientcode": "nodes/60-client-code.js",
33
34
  "getflows": "nodes/45-get-flows.js",
34
35
  "sendflow": "nodes/50-send-flow.js",
35
- "installpackage": "nodes/51-install-package.js",
36
- "clientcode": "nodes/60-client-code.js"
36
+ "installpackage": "nodes/51-install-package.js"
37
37
  }
38
38
  },
39
39