- Add @ & @@ operators to insert item states.
- Add `user` context object.
- Allow expressions to specify the component type.
- Allow HTML elements as component types to build HTML structures with components & slots.
- Add 'Content' element (add the `text` config parameter inline).
Signed-off-by: justin <justin.georgi@gmail.com>
* [MainUI] Improve docs for the `actionPhotos` prop & Make Item start with uppercase
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
* [MainUI] Regenerate component docs
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
* [MainUI] widget-mixin: Evaluate expressions in Arrays
This adds support for evaluating expressions in Arrays of the configuration of a component.
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
For Main UI's Thing-Details view.
Matching is by group param context ("actions") first, then falls back to
"by name" for Z-Wave binding backwards-compatibility.
Closes#1491.
Signed-off-by: Mateusz Bronk <bronk.m+gh@gmail.com>
Also-by: Yannick Schaus <github@schaus.net>
The add-on image downloading is a lot faster when using non-sequential lazy loading.
Signed-off-by: Wouter Born <github@maindrain.net>
Signed-off-by: Wouter Born <github@maindrain.net>
moduleError is not used, so don't even bother setting it, and
just always assign the script if it's set up in the module's configuration.
this makes it easier for different scripting tools to expose their data
in the editor
Signed-off-by: Cody Cutrer <cody@cutrer.us>
file-based scripts use SimpleRule, which use jsr223.ScriptedAction,
not script.ScriptAction. so detect them, and allow the script to be loaded.
also use the proper comment character for ruby. syntax highlighting already
works
https://github.com/boc-tothefuture/openhab-jruby/pull/617 will update
the ruby scripting library to provide the additional necessary metadata.
Signed-off-by: Cody Cutrer <cody@cutrer.us>
Hides 'NULL' labels in oh-label-item while not preventing display of labels for Group where the item to display option has been set.
Signed-off-by: Gautier Taravella <tarag@mailbox.org>
On Windows org.openhab.ui.cometvisu fails to build:
`Failed to execute goal org.codehaus.mojo:jaxb2-maven-plugin:2.5.0:xjc (default) on project org.openhab.ui.cometvisu: "file:\C:\Users\runneradmin\.m2\repository\org\glassfish\jaxb\jaxb-xjc\2.3.2\jaxb-xjc-2.3.2.jar!\META-INF\versions\9" is not a valid file name: {1}: Invalid file path -> [Help 1]`
Signed-off-by: Wouter Born <github@maindrain.net>
#1380 introduced new code with ES6 syntax (arrow functions) that isn't supported in older browsers.
See https://github.com/openhab/openhab-webui/pull/1380#issuecomment-1166344112
Reimplement using the code from the selection widget to determine the option
(uses angularJS helpers)
Signed-off-by: Yannick Schaus <github@schaus.net>
This updates `addItem(...)` and `updateItem(...)` for the breaking
changes from https://github.com/openhab/openhab-js/pull/109.
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
Also-by: Yannick Schaus <github@schaus.net>
* New translations en.json (Portuguese)
* New translations en.json (Portuguese)
* New translations opennlphli.properties (Portuguese)
* New translations en.json (Portuguese)
* New translations en.json (Latvian)
* New translations en.json (Bulgarian)
* New translations en.json (German)
* New translations en.json (Portuguese)
* New translations en.json (Turkish)
* New translations en.json (Latvian)
* New translations en.json (Latvian)
* New translations en.json (German)
* New translations en.json (Lithuanian)
* New translations en.json (Turkish)
* New translations en.json (Turkish)
* New translations en.json (Hebrew)
* New translations en.json (Lithuanian)
* New translations en.json (Hebrew)
* New translations en.json (Turkish)
* New translations en.json (Hebrew)
* New translations en.json (Hebrew)
* New translations cometvisu.properties (Bulgarian)
* New translations cometvisu.properties (Catalan)
* New translations cometvisu.properties (Czech)
* New translations cometvisu.properties (German)
* New translations cometvisu.properties (Hebrew)
* New translations cometvisu.properties (Hungarian)
* New translations en.json (Turkish)
* New translations cometvisu.properties (Dutch)
* New translations cometvisu.properties (Russian)
* New translations opennlphli.properties (Catalan)
* New translations opennlphli.properties (Czech)
* New translations opennlphli.properties (German)
* New translations opennlphli.properties (Hebrew)
* New translations opennlphli.properties (Hungarian)
* New translations opennlphli.properties (Dutch)
* New translations opennlphli.properties (Russian)
* New translations opennlphli.properties (Bulgarian)
* New translations basic.properties (Bulgarian)
* New translations basic.properties (Dutch)
* New translations basic.properties (Hungarian)
* New translations basic.properties (Hebrew)
* New translations basic.properties (German)
* New translations basic.properties (Czech)
* New translations basic.properties (Catalan)
* New translations iconset.properties (German)
* New translations iconset.properties (Russian)
* New translations iconset.properties (Dutch)
* New translations iconset.properties (Hungarian)
* New translations iconset.properties (Hebrew)
* New translations iconset.properties (Czech)
* New translations iconset.properties (Catalan)
* New translations iconset.properties (Bulgarian)
* New translations basic.properties (Russian)
* Add color picking to dummy and clock widget
* Add state description option to dummy widget
Closes: #1349Closes: #1293Closes: #1294
Signed-off-by: Bastiaan van Haastrecht <b.vanhaastrecht@gmail.com>