@5minds/node-red-dashboard-2-processcube-dynamic-form 1.1.0 → 1.1.1-feature-348775-m3ifcswt

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.
@@ -0,0 +1,37 @@
1
+ <script type="text/javascript">
2
+ RED.nodes.registerType('dynamic-form-theme', {
3
+ category: 'config',
4
+ defaults: {
5
+ colors: {
6
+ value: {
7
+ surface: '#ffffff',
8
+ primary: '#0094CE',
9
+ bgPage: '#eeeeee',
10
+ groupBg: '#ffffff',
11
+ groupOutline: '#cccccc',
12
+ },
13
+ },
14
+ },
15
+ label: function () {
16
+ return this.name || 'DynamicForm Theme';
17
+ },
18
+ oneditprepare: function () {},
19
+ oneditsave: function () {},
20
+ });
21
+ </script>
22
+
23
+ <script type="text/html" data-template-name="dynamic-form-theme">
24
+ <div class="form-row">
25
+ <label for="node-config-input-name"><i class="fa fa-tag"></i> Name</label>
26
+ <input type="text" id="node-config-input-name" />
27
+ </div>
28
+ </script>
29
+
30
+ <script type="text/markdown" data-help-name="dynamic-form-theme">
31
+ Theme configuration for the DynamicForm
32
+
33
+ ### References
34
+
35
+ - [The ProcessCube&copy; Developer Network](https://processcube.io) - All documentation for the ProcessCube&copy; platform
36
+ - [ProcessCube&copy; LowCode Integration](https://processcube.io/docs/node-red) - LowCode integration in ProcessCube&copy;
37
+ </script>
@@ -0,0 +1,6 @@
1
+ module.exports = function (RED) {
2
+ function DynamicFormTheme(n) {
3
+ RED.nodes.createNode(this, n);
4
+ }
5
+ RED.nodes.registerType('dynamic-form-theme', DynamicFormTheme);
6
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@5minds/node-red-dashboard-2-processcube-dynamic-form",
3
- "version": "1.1.0",
3
+ "version": "1.1.1-feature-348775-m3ifcswt",
4
4
  "description": "The ui component for the ProcessCube dynamic-form",
5
5
  "keywords": [
6
6
  "processcube",
@@ -76,7 +76,11 @@
76
76
  "node-red": {
77
77
  "version": ">=3.0.0",
78
78
  "nodes": {
79
- "ui-dynamic-form": "nodes/ui-dynamic-form.js"
79
+ "ui-dynamic-form": "nodes/ui-dynamic-form.js",
80
+ "dynamic-form-theme": "nodes/dynamic-form-theme.js"
81
+ },
82
+ "plugins": {
83
+ "node-red-dashboard-2-dynamic-form-theme": "plugins/node-red-dashboard-2-dynamic-form-theme.js"
80
84
  }
81
85
  },
82
86
  "node-red-dashboard-2": {
@@ -119,7 +119,6 @@ code {
119
119
  --fk-color-input: rgb(var(--v-theme-on-group-background));
120
120
  --fk-color-help: rgb(var(--v-theme-on-group-background));
121
121
  --fk-color-border-focus: rgb(var(--v-theme-primary));
122
-
123
122
  }
124
123
 
125
124
  .reset-background {