@5minds/node-red-dashboard-2-processcube-ui-page-navigation 1.0.2 → 1.0.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
@@ -6,3 +6,5 @@ This repository contains a Dashboard 2.0 UI node that listens to UI events on a
6
6
 
7
7
  To use this node, you need to install the Dashboard 2.0 plugin for Node-RED.
8
8
  After installing both packages, simply drag the node into your flow and specify the name of the page where you want to listen for events.
9
+
10
+ Inspired by the code of [https://dashboard.flowfuse.com/](Dashboard 2) ui-event node.
@@ -1,7 +1,7 @@
1
1
  <script type="text/javascript">
2
2
  (function () {
3
3
  RED.nodes.registerType('ui-page-navigation', {
4
- category: 'ProcessCube Events',
4
+ category: 'ProcessCube UI',
5
5
  color: '#02AFD6',
6
6
  defaults: {
7
7
  ui: { type: 'ui-base', value: '', required: true },
@@ -54,15 +54,15 @@
54
54
  </script>
55
55
 
56
56
  <script type="text/markdown" data-help-name="ui-page-navigation">
57
- A node to listen for specific ui events on a specific page.
57
+ A Note to listen on events for the page navigation.
58
58
 
59
59
  ## Outputs
60
60
 
61
61
  : page (Object) : An object representing the page where the event happend.
62
- : query (Object): An object representing the query.
62
+ : Event (Object): Any, $pageleave or $pageview event type.
63
63
 
64
64
  ### References
65
65
 
66
- - [The ProcessCube Developer Network](https://processcube.io) - All documentation for the ProcessCube&copy; platform
67
- - [Node-RED Integration in ProcessCube&copy;](https://processcube.io/docs/node-red) - Node-RED integration in ProcessCube&copy;
66
+ - [The ProcessCube&copy; Developer Network](https://processcube.io) - All documentation for the ProcessCube&copy; platform
67
+ - [ProcessCube&copy; LowCode Integration](https://processcube.io/docs/node-red) - LowCode integration in ProcessCube&copy;
68
68
  </script>
package/package.json CHANGED
@@ -1,24 +1,26 @@
1
1
  {
2
2
  "name": "@5minds/node-red-dashboard-2-processcube-ui-page-navigation",
3
- "version": "1.0.2",
4
- "description": "A basic example of a third-party node that integrates with Node-RED Dashboard 2.0",
3
+ "version": "1.0.4",
4
+ "description": "A node to handle the navigation between pages in the Node-RED Dashboard",
5
5
  "keywords": [
6
6
  "node-red",
7
- "node-red-dashboard-2"
7
+ "node-red-dashboard-2",
8
+ "processcube",
9
+ "lowcode"
8
10
  ],
9
11
  "repository": {
10
12
  "type": "git",
11
- "url": "https://github.com/flowforge/node-red-dashboard-3rd-party.git"
13
+ "url": "https://github.com/5minds/node-red-dashboard-2-ui-page-navigation"
12
14
  },
13
- "license": "Apache-2.0",
15
+ "license": "MIT",
14
16
  "author": {
15
- "name": "Joe Pavitt",
16
- "url": "https://github.com/joepavitt"
17
+ "name": "Luis Thieme",
18
+ "url": "https://github.com/luisthieme"
17
19
  },
18
20
  "contributors": [
19
21
  {
20
- "name": "Pez Cuckow",
21
- "url": "https://github.com/pezmc"
22
+ "name": "Martin Moellenbeck",
23
+ "url": "https://github.com/moellenbeck"
22
24
  }
23
25
  ],
24
26
  "exports": {