@5minds/node-red-dashboard-2-processcube-ui-page-navigation 1.0.2 → 1.0.4-extend-documentation-b8283e-m4b4f4kc
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 +2 -0
- package/nodes/ui-page-navigation.html +6 -5
- package/package.json +11 -9
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
|
|
4
|
+
category: 'ProcessCube UI',
|
|
5
5
|
color: '#02AFD6',
|
|
6
6
|
defaults: {
|
|
7
7
|
ui: { type: 'ui-base', value: '', required: true },
|
|
@@ -54,15 +54,16 @@
|
|
|
54
54
|
</script>
|
|
55
55
|
|
|
56
56
|
<script type="text/markdown" data-help-name="ui-page-navigation">
|
|
57
|
-
A
|
|
57
|
+
A Node designed to listen for events related to page navigation. This node extends the functionality of the ui-event Node from Dashboard 2.
|
|
58
|
+
It builds on the same foundation but introduces enhanced filtering capabilities for both events and pages.
|
|
58
59
|
|
|
59
60
|
## Outputs
|
|
60
61
|
|
|
61
62
|
: page (Object) : An object representing the page where the event happend.
|
|
62
|
-
:
|
|
63
|
+
: Event (Object): Any, $pageleave or $pageview event type.
|
|
63
64
|
|
|
64
65
|
### References
|
|
65
66
|
|
|
66
|
-
- [The ProcessCube Developer Network](https://processcube.io) - All documentation for the ProcessCube© platform
|
|
67
|
-
- [
|
|
67
|
+
- [The ProcessCube© Developer Network](https://processcube.io) - All documentation for the ProcessCube© platform
|
|
68
|
+
- [ProcessCube© LowCode Integration](https://processcube.io/docs/node-red) - LowCode integration in ProcessCube©
|
|
68
69
|
</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.
|
|
4
|
-
"description": "A
|
|
3
|
+
"version": "1.0.4-extend-documentation-b8283e-m4b4f4kc",
|
|
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/
|
|
13
|
+
"url": "https://github.com/5minds/node-red-dashboard-2-ui-page-navigation"
|
|
12
14
|
},
|
|
13
|
-
"license": "
|
|
15
|
+
"license": "MIT",
|
|
14
16
|
"author": {
|
|
15
|
-
"name": "
|
|
16
|
-
"url": "https://github.com/
|
|
17
|
+
"name": "Luis Thieme",
|
|
18
|
+
"url": "https://github.com/luisthieme"
|
|
17
19
|
},
|
|
18
20
|
"contributors": [
|
|
19
21
|
{
|
|
20
|
-
"name": "
|
|
21
|
-
"url": "https://github.com/
|
|
22
|
+
"name": "Martin Moellenbeck",
|
|
23
|
+
"url": "https://github.com/moellenbeck"
|
|
22
24
|
}
|
|
23
25
|
],
|
|
24
26
|
"exports": {
|