@flowfuse/node-red-dashboard 1.30.3-e7d47a4-202605181243.0 → 1.30.3-e993dd5-202608141303.0

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.
@@ -26,7 +26,8 @@
26
26
  "expand": "展開"
27
27
  },
28
28
  "themes": {
29
- "header": "テーマ"
29
+ "header": "テーマ",
30
+ "theme": "テーマ"
30
31
  }
31
32
  }
32
33
  }
@@ -919,10 +919,10 @@ async function showDashboardWysiwygEditor (pageId, baseId) {
919
919
  // get all themes and determine the next theme number
920
920
  const entries = getConfigNodesByType(['ui-theme']) || []
921
921
  let counter = entries.length + 1
922
- themeName = counter === 1 ? c_('themes.defaultTheme') : c_('label.theme') + ` ${counter}`
922
+ themeName = counter === 1 ? c_('themes.defaultTheme') : c_('themes.theme') + ` ${counter}`
923
923
  while (entries.find(e => e.name === themeName)) {
924
924
  counter++
925
- themeName = c_('label.theme') + ` ${counter}`
925
+ themeName = c_('themes.theme') + ` ${counter}`
926
926
  }
927
927
  }
928
928
  const themeNode = {
@@ -95,22 +95,20 @@
95
95
  })
96
96
  },
97
97
  oneditsave: function () {
98
- // update our config values from the input values
98
+ const colors = {}
99
99
  Object.keys(this.colors).forEach((color) => {
100
- // set the value of the input
101
- this.colors[color] = $('#node-config-input-' + color).val()
100
+ colors[color] = $('#node-config-input-' + color).val()
102
101
  })
102
+ this.colors = colors
103
103
 
104
- // update our config values from the input values
104
+ const sizes = {}
105
105
  Object.keys(this.sizes).forEach((size) => {
106
- // get the value of the key
107
106
  let value = $('#node-config-input-' + size).val()
108
107
  // value is a number, add `px` to the end
109
108
  value += (parseFloat(value).toString() === value) ? 'px' : ''
110
-
111
- // set the value of the input
112
- this.sizes[size] = value
109
+ sizes[size] = value
113
110
  })
111
+ this.sizes = sizes
114
112
  },
115
113
  label: function () {
116
114
  return `${this.name}` || 'UI Theme'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowfuse/node-red-dashboard",
3
- "version": "1.30.3-e7d47a4-202605181243.0",
3
+ "version": "1.30.3-e993dd5-202608141303.0",
4
4
  "description": "FlowFuse Dashboard - A collection of Node-RED nodes that provide functionality to build your own UI applications (inc. forms, buttons, charts).",
5
5
  "keywords": [
6
6
  "node-red"
@@ -79,7 +79,7 @@
79
79
  "@vite-pwa/assets-generator": "^1.0.0",
80
80
  "@vitejs/plugin-vue": "^5.0.4",
81
81
  "cross-env": "^7.0.3",
82
- "cypress": "^13.17.0",
82
+ "cypress": "^15.15.0",
83
83
  "dompurify": "^3.3.1",
84
84
  "eslint": "^8.57.1",
85
85
  "eslint-config-standard": "^17.1.0",
@@ -99,7 +99,7 @@
99
99
  "medium-zoom": "^1.1.0",
100
100
  "mermaid": "^11.12.2",
101
101
  "mocha": "^11.7.5",
102
- "node-red": "^4.1.2",
102
+ "node-red": "^4.1.8",
103
103
  "node-red-node-test-helper": "^0.3.5",
104
104
  "npm-run-all": "^4.1.5",
105
105
  "sass": "^1.96.0",