iobroker.vis-2-widgets-inventwo 2.2.0 → 2.4.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.
- package/README.md +145 -219
- package/admin/custom/assets/{Components-DtzDRG-J.js → Components-e0UZKMvi.js} +1 -1
- package/admin/custom/assets/{Migration-DXhCASvT.js → Migration-BIL6qMNp.js} +1 -1
- package/admin/custom/assets/{index-CO0OFFDF.js → index-Dvg_-TLD.js} +1 -1
- package/admin/custom/assets/{mf-entry-bootstrap-0-ec27e3f9.js → mf-entry-bootstrap-0-a7ad7568.js} +1 -1
- package/admin/custom/customComponents.js +1 -1
- package/admin/custom/i18n/de.json +2 -3
- package/admin/custom/i18n/en.json +2 -3
- package/admin/custom/i18n/es.json +4 -5
- package/admin/custom/i18n/fr.json +2 -3
- package/admin/custom/i18n/it.json +3 -4
- package/admin/custom/i18n/nl.json +3 -4
- package/admin/custom/i18n/pl.json +2 -3
- package/admin/custom/i18n/pt.json +5 -6
- package/admin/custom/i18n/ru.json +2 -3
- package/admin/custom/i18n/uk.json +2 -3
- package/admin/custom/i18n/zh-cn.json +2 -3
- package/admin/custom/mf-manifest.json +1 -1
- package/admin/i18n/de.json +1 -0
- package/admin/i18n/en.json +1 -0
- package/admin/i18n/es.json +1 -0
- package/admin/i18n/fr.json +1 -0
- package/admin/i18n/it.json +1 -0
- package/admin/i18n/nl.json +1 -0
- package/admin/i18n/pl.json +1 -0
- package/admin/i18n/pt.json +1 -0
- package/admin/i18n/ru.json +1 -0
- package/admin/i18n/uk.json +1 -0
- package/admin/i18n/zh-cn.json +1 -0
- package/admin/jsonConfig.json +1 -1
- package/io-package.json +43 -38
- package/package.json +1 -1
- package/widgets/vis-2-widgets-inventwo/assets/{InventwoWidgetCalendar-is_oBR3z.js → InventwoWidgetCalendar-Ce62Qtn8.js} +1 -1
- package/widgets/vis-2-widgets-inventwo/assets/InventwoWidgetCheckbox-Cd3BPiDE.js +1 -0
- package/widgets/vis-2-widgets-inventwo/assets/{InventwoWidgetDropdown-B2KscJx6.js → InventwoWidgetDropdown-WmMNrBOP.js} +1 -1
- package/widgets/vis-2-widgets-inventwo/assets/{InventwoWidgetEventCalendar--zSHQIVD.js → InventwoWidgetEventCalendar-CCIk5qMy.js} +1 -1
- package/widgets/vis-2-widgets-inventwo/assets/{InventwoWidgetMarquee-DPggjnZR.js → InventwoWidgetMarquee-DN4OlbA-.js} +1 -1
- package/widgets/vis-2-widgets-inventwo/assets/InventwoWidgetRadialSlider-o4kTBEr4.js +1 -0
- package/widgets/vis-2-widgets-inventwo/assets/InventwoWidgetSlider-DLaDVQzJ.js +1 -0
- package/widgets/vis-2-widgets-inventwo/assets/{InventwoWidgetSwitch-esnTmIaW.js → InventwoWidgetSwitch-BP0HycGR.js} +1 -1
- package/widgets/vis-2-widgets-inventwo/assets/{InventwoWidgetTable-BIBmsSc-.js → InventwoWidgetTable-_Fe_X7Mq.js} +1 -1
- package/widgets/vis-2-widgets-inventwo/assets/{InventwoWidgetUniversal-CcTrYobz.js → InventwoWidgetUniversal-DssUos6b.js} +2 -2
- package/widgets/vis-2-widgets-inventwo/assets/{InventwoWidgetValueList-DNLn-NwM.js → InventwoWidgetValueList-BmUFwbIF.js} +1 -1
- package/widgets/vis-2-widgets-inventwo/assets/colorZoneFields-D8_77dDd.js +1 -0
- package/widgets/vis-2-widgets-inventwo/assets/docLinkField-CFNWDqGO.js +1 -0
- package/widgets/vis-2-widgets-inventwo/assets/translations-CxrKJ2aL.js +177 -0
- package/widgets/vis-2-widgets-inventwo/customWidgets.js +1 -1
- package/widgets/vis-2-widgets-inventwo/img/vis-widget-inventwo-calendar.png +0 -0
- package/widgets/vis-2-widgets-inventwo/img/vis-widget-inventwo-checkbox.png +0 -0
- package/widgets/vis-2-widgets-inventwo/img/vis-widget-inventwo-dropdown.png +0 -0
- package/widgets/vis-2-widgets-inventwo/img/vis-widget-inventwo-event-calendar.png +0 -0
- package/widgets/vis-2-widgets-inventwo/img/vis-widget-inventwo-marquee.png +0 -0
- package/widgets/vis-2-widgets-inventwo/img/vis-widget-inventwo-radial-slider.png +0 -0
- package/widgets/vis-2-widgets-inventwo/img/vis-widget-inventwo-slider.png +0 -0
- package/widgets/vis-2-widgets-inventwo/img/vis-widget-inventwo-switch.png +0 -0
- package/widgets/vis-2-widgets-inventwo/img/vis-widget-inventwo-table.png +0 -0
- package/widgets/vis-2-widgets-inventwo/img/vis-widget-inventwo-universal.png +0 -0
- package/widgets/vis-2-widgets-inventwo/img/vis-widget-inventwo-value-list.png +0 -0
- package/widgets/vis-2-widgets-inventwo/mf-manifest.json +1 -0
- package/widgets/vis-2-widgets-inventwo/mf-stats.json +1 -0
- package/widgets/vis-2-widgets-inventwo/assets/InventwoWidgetCheckbox-C296KjQZ.js +0 -1
- package/widgets/vis-2-widgets-inventwo/assets/InventwoWidgetRadialSlider-CgvcsdT-.js +0 -1
- package/widgets/vis-2-widgets-inventwo/assets/InventwoWidgetSlider-DieMkj2L.js +0 -1
- package/widgets/vis-2-widgets-inventwo/assets/docLinkField-Dl5w8_9Y.js +0 -1
- package/widgets/vis-2-widgets-inventwo/assets/translations-By0CTzxk.js +0 -177
package/README.md
CHANGED
|
@@ -7,297 +7,210 @@
|
|
|
7
7
|
[](https://www.npmjs.com/package/iobroker.vis-2-widgets-inventwo)
|
|
8
8
|
[](https://www.paypal.com/donate/?hosted_button_id=7W6M3TFZ4W9LW)
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
## About
|
|
10
|
+
**Build dashboards that look exactly the way you want.** A set of 11 widgets for **ioBroker vis 2.0** with one idea: every widget can be styled down to the last detail - colors and gradients, shapes, shadows, borders, fonts, sizes - without a single line of CSS.
|
|
13
11
|
|
|
14
|
-
|
|
12
|
+

|
|
15
13
|
|
|
16
|
-
📖 **[User Documentation](docs/README.md)**
|
|
14
|
+
📖 **[User Documentation](docs/README.md)** - detailed guides for all widgets, settings and examples.
|
|
17
15
|
|
|
18
16
|
---
|
|
19
17
|
|
|
20
|
-
##
|
|
18
|
+
## Why these widgets?
|
|
21
19
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
> **Please note:** The migration was built with care, but there is no guarantee that it works flawlessly for every project — vis-1 projects come in too many different shapes for that. If something is not converted as expected, please [open an issue](https://github.com/inventwo/ioBroker.vis-2-widgets-inventwo/issues). Your feedback helps to improve the tool.
|
|
20
|
+
- 🎨 **Total design freedom** - gradients, glow, glass, neumorphism, hexagons, stars or your own polygon. Every color field accepts any CSS color, including `linear-gradient(...)`.
|
|
21
|
+
- 🧩 **One widget, many jobs** - the [Universal widget](#universal) is a switch, button, navigation tile, status display, dialog opener, color picker, clock and more, with its own look for every state.
|
|
22
|
+
- 📊 **Show data, don't just switch it** - gauges with color zones, scales and needles, sliders, tables with conditional row colors, calendars, event lists, tickers.
|
|
23
|
+
- 🔒 **Safe for wall panels** - password/PIN protection for any action, read-only modes, "hold to activate" buttons, automatic value reset.
|
|
24
|
+
- ♻️ **Consistent styling** - "From widget" lets many widgets share one look, so a redesign is a change in one place.
|
|
25
|
+
- 🔁 **Coming from vis 1?** A built-in [migration assistant](#migrating-from-vis-inventwo-vis-1) converts old `i-vis-*` widgets.
|
|
29
26
|
|
|
30
27
|
---
|
|
31
28
|
|
|
32
|
-
##
|
|
33
|
-
|
|
34
|
-
| Widget | Description |
|
|
35
|
-
|---|---|
|
|
36
|
-
| [Universal](#widget---universal) | All-in-one widget: switch, button, nav, read-only display, color picker, analog clock and more |
|
|
37
|
-
| [Slider](#widget---slider) | Horizontal or vertical slider with step display and gradient colors |
|
|
38
|
-
| [Radial Slider](#widget---radial-slider) | Circular arc slider with configurable angles, track and thumb styling |
|
|
39
|
-
| [Switch](#widget---switch) | Toggle switch with custom labels and track/thumb colors |
|
|
40
|
-
| [Checkbox](#widget---checkbox) | Checkbox with custom true/false values and label positioning |
|
|
41
|
-
| [Table](#widget---table) | Dynamic JSON data table with sorting, filtering and conditional row colors |
|
|
42
|
-
| [Dropdown](#widget---dropdown) | Dropdown select auto-populated from ioBroker object states |
|
|
43
|
-
| [Marquee](#widget---marquee) | Scrolling text ticker with configurable speed, direction and gap |
|
|
44
|
-
| [Value List](#widget---value-list) | Bullet-point list generated from a text value or data point |
|
|
45
|
-
| [Calendar](#widget---calendar) | Month calendar view, usable as a datepicker, read-only display, and/or today-highlighter |
|
|
46
|
-
|
|
47
|
-
---
|
|
29
|
+
## See what is possible
|
|
48
30
|
|
|
49
|
-
|
|
31
|
+
All screens on this page are built only with the widgets of this adapter - no custom CSS, no extra adapters.
|
|
50
32
|
|
|
51
|
-
|
|
33
|
+
### Same dashboard, three looks
|
|
34
|
+
The dashboard above, with the same layout and widgets. Only the colors, radii, borders and shadows in the widget settings are different.
|
|
52
35
|
|
|
53
|
-
|
|
36
|
+
| Light | Glass |
|
|
37
|
+
|---|---|
|
|
38
|
+
|  |  |
|
|
54
39
|
|
|
55
|
-
###
|
|
56
|
-
|
|
57
|
-
- **Button** – sets a value on press; optionally holds the value as long as pressed and resets on release
|
|
58
|
-
- **Navigation** – navigates to a vis view on click
|
|
59
|
-
- **Read-only** – displays a value without any interaction
|
|
60
|
-
- **View in Dialog** – opens a vis view in a modal dialog
|
|
61
|
-
- **Increase / Decrease Value** – increments or decrements a numeric data point
|
|
62
|
-
- **HTTP Request / Open URL** – sends an HTTP request or opens a URL (same tab or new tab)
|
|
40
|
+
### Shapes and styles
|
|
41
|
+

|
|
63
42
|
|
|
64
|
-
|
|
65
|
-
- **Single button** – one widget with one or more states
|
|
66
|
-
- **Separated buttons** – each state rendered as its own button (replaces the classic radio button list)
|
|
43
|
+
The Universal widget in different shapes (rounded, hexagon, star, diamond, octagon, triangle - or your own polygon) and styles (neumorphism, inset shadows, neon glow, gradients, chamfered corners, dashed borders).
|
|
67
44
|
|
|
68
|
-
###
|
|
69
|
-
|
|
45
|
+
### Data at a glance
|
|
46
|
+

|
|
70
47
|
|
|
71
|
-
|
|
48
|
+
A device table with number and time formats and conditional row colors, gauges with the three color-zone modes, and an event calendar - all fed from plain datapoints.
|
|
72
49
|
|
|
73
|
-
|
|
74
|
-
- **Icon** – ioBroker icon library
|
|
75
|
-
- **Image** – local or remote image with configurable scale, position and fill mode
|
|
76
|
-
- **View in widget** – embed another vis view directly inside the widget
|
|
77
|
-
- **Color Picker** – full-featured color picker (HEX, HEX8, RGB, HSL, HSV, CIE) with configurable component visibility
|
|
50
|
+
---
|
|
78
51
|
|
|
79
|
-
|
|
52
|
+
## The widgets at a glance
|
|
80
53
|
|
|
81
|
-
|
|
54
|
+
| Widget | What it does |
|
|
55
|
+
|---|---|
|
|
56
|
+
| [**Universal**](#universal) | The all-rounder: switch, button, navigation, read-only display, dialog, +/- value, HTTP request, color picker, analog clock |
|
|
57
|
+
| [**Slider**](#slider) | Horizontal or vertical slider and bar display, with scale and color zones |
|
|
58
|
+
| [**Radial Slider**](#radial-slider) | Circular slider and gauge with scale, needle, second value and color zones |
|
|
59
|
+
| [**Switch**](#switch) | Toggle switch with custom values and labels |
|
|
60
|
+
| [**Checkbox**](#checkbox) | Checkbox with custom values and labels |
|
|
61
|
+
| [**Dropdown**](#dropdown) | Selection list filled from the states of a datapoint, with conditional background |
|
|
62
|
+
| [**Table**](#table) | JSON data as a table: formats, sorting, filters, pagination, row colors |
|
|
63
|
+
| [**Calendar**](#calendar) | Month calendar as date picker or date display |
|
|
64
|
+
| [**Event Calendar**](#event-calendar) | Google-Calendar-style view for appointments (month, week, day, year, lists) |
|
|
65
|
+
| [**Marquee**](#marquee) | Scrolling text ticker in any direction |
|
|
66
|
+
| [**Value List**](#value-list) | Bullet list from a text or datapoint |
|
|
67
|
+
|
|
68
|
+
> Every widget page in the [documentation](docs/README.md) lists all settings in detail.
|
|
82
69
|
|
|
83
|
-
|
|
70
|
+
---
|
|
84
71
|
|
|
85
|
-
|
|
86
|
-
- Multiple states with individual styling per state
|
|
87
|
-
- Click feedback animation
|
|
88
|
-
- Conditional state comparison (by value or other criteria)
|
|
89
|
-
- Configurable dialog options (fullscreen, close on outside click, auto-close timer)
|
|
72
|
+
## Universal
|
|
90
73
|
|
|
91
|
-
|
|
92
|
-
Every aspect of the widget is customizable:
|
|
74
|
+
*The flagship widget.* One tile that reacts to your data and looks different in every state.
|
|
93
75
|
|
|
94
|
-

|
|
76
|
+

|
|
96
77
|
|
|
97
|
-
|
|
78
|
+
**What happens on click (type)**
|
|
79
|
+
- **Switch** toggles a datapoint between two values; **Button** sends a value - optionally only while pressed ("hold") or with automatic reset after a time
|
|
80
|
+
- **Navigation** to another view (the active view can be highlighted); **View in dialog** with position, size, title, auto-close and optional control by datapoint
|
|
81
|
+
- **Increase / decrease** a number by a step, **HTTP request** or **open URL**
|
|
82
|
+
- **Read-only** for pure status tiles
|
|
83
|
+
- **Password / PIN protection** for any of the actions above
|
|
98
84
|
|
|
99
|
-
|
|
85
|
+
**What is shown (content)**
|
|
86
|
+
- Icon, image, text/HTML with datapoint bindings, an embedded **view**, a full **color picker** (HEX, RGB, HSL, HSV, CIE) or an **analog clock** in several designs
|
|
87
|
+
- Content can blink, rotate, mirror and scale
|
|
100
88
|
|
|
101
|
-
|
|
89
|
+
**States and modes**
|
|
90
|
+
- Any number of states, chosen by value comparison, each with its own text, icon, colors and shadows
|
|
91
|
+
- **Single button** or **separated buttons** (mode selector, radio-button style)
|
|
92
|
+
- Click feedback, click-through, content opacity
|
|
102
93
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
| Triangle | Equilateral triangle |
|
|
107
|
-
| Diamond | 4-sided rotated square |
|
|
108
|
-
| Pentagon | 5-sided polygon |
|
|
109
|
-
| Hexagon | 6-sided polygon — perfect for honeycomb layouts |
|
|
110
|
-
| Heptagon | 7-sided polygon |
|
|
111
|
-
| Octagon | 8-sided polygon |
|
|
112
|
-
| Star | 5-pointed star |
|
|
113
|
-
| **Custom** | Any polygon — enter clip-path points manually |
|
|
94
|
+
**Design**
|
|
95
|
+
- Shapes: rectangle, triangle, diamond, pentagon, hexagon, heptagon, octagon, star or a **custom polygon**, with rotation and corner radius
|
|
96
|
+
- Rounded or chamfered corners, borders, several outer and inner shadows, gradient backgrounds, spacing and alignment
|
|
114
97
|
|
|
115
98
|

|
|
116
99
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
- **Corner radius** (0–30) — rounds all vertices uniformly using Bézier curves; works for every shape including custom
|
|
120
|
-
- **Custom polygon points** — comma-separated `X% Y%` pairs in clockwise order, e.g. `40% 0%, 100% 50%, 40% 100%, 0% 50%` · Create paths visually at [https://bennettfeely.com/clippy/](https://bennettfeely.com/clippy/)
|
|
121
|
-
|
|
122
|
-
All existing features — inner/outer shadow, border, gradient backgrounds, click feedback — work with every shape.
|
|
123
|
-
|
|
124
|
-
> **Example:** Hexagonal honeycomb dashboard → [docs/example-views/hexagonal-view.md](https://github.com/inventwo/ioBroker.vis-2-widgets-inventwo/blob/main/docs/example-views/hexagonal-view.md)
|
|
125
|
-
> **Example:** Rectangular dashboard → [docs/example-views/rectangle-view.md](https://github.com/inventwo/ioBroker.vis-2-widgets-inventwo/blob/main/docs/example-views/rectangle-view.md)
|
|
100
|
+
📖 [Universal widget](docs/en/widgets/universal-widget.md) · [Interaction types](docs/en/widgets/universal/interaction-types.md) · [Content types](docs/en/widgets/universal/content-types.md) · [Styling and shapes](docs/en/widgets/universal/styling-and-shapes.md)
|
|
101
|
+
· Examples: [hexagon dashboard](docs/example-views/hexagonal-view.md), [rectangle dashboard](docs/example-views/rectangle-view.md), [design examples](docs/universal-widget-design-examples.md)
|
|
126
102
|
|
|
127
103
|
---
|
|
128
104
|
|
|
129
|
-
##
|
|
130
|
-
|
|
131
|
-
A horizontal or vertical slider for controlling numeric data points.
|
|
105
|
+
## Slider
|
|
132
106
|
|
|
133
107
|

|
|
134
108
|
|
|
135
|
-
**
|
|
136
|
-
- Horizontal and vertical orientation
|
|
137
|
-
- Configurable min, max and step values (auto-read from data point object)
|
|
138
|
-
- Optional min/max value labels
|
|
139
|
-
- Step display (auto or custom step values)
|
|
140
|
-
- Steps can be placed inside the slider bar
|
|
141
|
-
- **Read-only mode** – displays a value without allowing interaction
|
|
142
|
-
- Gradient color support for rail and active rail (any CSS color string including `linear-gradient(...)`)
|
|
143
|
-
- Individual styling for track, active track and thumb including shadow effects
|
|
109
|
+
Horizontal or vertical, with min/max, step, scale (automatic or custom marks) and value label. Works as an input or as a **read-only bar display**.
|
|
144
110
|
|
|
145
|
-
|
|
111
|
+
- **Color zones** (e.g. green / yellow / red from a value on) over the active range, as segments, or across the whole track - with hard edges or smooth gradients
|
|
112
|
+
- Gradients for rail and active rail, inverted bar, individual track and thumb styling including shadows
|
|
146
113
|
|
|
147
|
-
|
|
114
|
+
📖 [Slider documentation](docs/en/widgets/slider-widget.md)
|
|
148
115
|
|
|
149
|
-
|
|
116
|
+
## Radial Slider
|
|
150
117
|
|
|
151
118
|

|
|
152
119
|
|
|
153
|
-
**
|
|
154
|
-
- Freely configurable start and end angle
|
|
155
|
-
- Configurable track width, track color and active track color
|
|
156
|
-
- Optional value display in the center with font size and color
|
|
157
|
-
- Optional label below the value
|
|
158
|
-
- Thumb size and color
|
|
159
|
-
- Shadow effects for both track and thumb
|
|
120
|
+
A circular slider that doubles as a **gauge** for temperatures, power, humidity and more.
|
|
160
121
|
|
|
161
|
-
|
|
122
|
+
- Free start and end angle - full circle, three quarters, half circle
|
|
123
|
+
- Value in the center with decimals, separator and unit, optional label, **second value** (e.g. target next to actual) and **time of last change**
|
|
124
|
+
- **Color zones**, **scale** with ticks and labels, and a **needle**
|
|
125
|
+
- Track and thumb styling including shadows; the thumb can be hidden for pure displays
|
|
162
126
|
|
|
163
|
-
|
|
127
|
+
📖 [Radial Slider documentation](docs/en/widgets/radial-slider-widget.md)
|
|
164
128
|
|
|
165
|
-
|
|
129
|
+
## Switch
|
|
166
130
|
|
|
167
131
|

|
|
168
132
|
|
|
169
|
-
|
|
170
|
-
- Custom true/false values (not limited to boolean)
|
|
171
|
-
- Individual text labels for each state
|
|
172
|
-
- Label position: top, bottom, start or end
|
|
173
|
-
- Fully customizable track and thumb colors (including gradients)
|
|
174
|
-
- "From Widget" styling – inherit styling from another switch widget
|
|
133
|
+
Toggle switch for boolean or any two-state datapoint: own values for on/off, texts per state, label position, and fully styled track and thumb (colors, size, radius, shadows, gradients).
|
|
175
134
|
|
|
176
|
-
|
|
135
|
+
📖 [Switch documentation](docs/en/widgets/switch-widget.md)
|
|
177
136
|
|
|
178
|
-
##
|
|
179
|
-
|
|
180
|
-
A checkbox for boolean or two-state data points.
|
|
137
|
+
## Checkbox
|
|
181
138
|
|
|
182
139
|

|
|
183
140
|
|
|
184
|
-
|
|
185
|
-
- Custom true/false values
|
|
186
|
-
- Individual text labels for each state
|
|
187
|
-
- Label position: top, bottom, start or end
|
|
188
|
-
- Customizable box and active box colors and size
|
|
141
|
+
Checkbox with own true/false values, texts per state, label position, and custom box size and colors.
|
|
189
142
|
|
|
190
|
-
|
|
143
|
+
📖 [Checkbox documentation](docs/en/widgets/checkbox-widget.md)
|
|
144
|
+
|
|
145
|
+
## Dropdown
|
|
146
|
+
|
|
147
|
+

|
|
148
|
+
|
|
149
|
+
Selection list that takes its options from the states list of the datapoint, or from your own list of values. Optional title, read-only mode, **background color by condition**, and full control over font, colors, border, radius and shadows.
|
|
191
150
|
|
|
192
|
-
|
|
151
|
+
📖 [Dropdown documentation](docs/en/widgets/dropdown-widget.md)
|
|
193
152
|
|
|
194
|
-
|
|
153
|
+
## Table
|
|
195
154
|
|
|
196
155
|

|
|
197
156
|
|
|
198
|
-
|
|
199
|
-
- Configurable columns: key, title, prefix, suffix, placeholder
|
|
200
|
-
- Column value formats: Text, Number (with decimals), Datetime, Image
|
|
201
|
-
- Sortable columns with single or **multi-column sorting**
|
|
202
|
-
- **Column filter** – filter rows by column value
|
|
203
|
-
- **Sticky header** – header stays visible while scrolling
|
|
204
|
-
- Default sort configuration (column and direction)
|
|
205
|
-
- Max row limit
|
|
206
|
-
- **Conditional row colors** – highlight rows based on column value conditions
|
|
207
|
-
- Customizable header and row styling (background, height, border)
|
|
157
|
+
Turns a JSON datapoint into a table.
|
|
208
158
|
|
|
209
|
-
|
|
159
|
+
- Columns with title, width, alignment, prefix/suffix and **formats**: text, number, boolean, date/time, image, link, IP address; calculated columns via formula
|
|
160
|
+
- **Sorting** (also multi-column), **column filters**, pagination, sticky header, sum row
|
|
161
|
+
- **Row colors by condition** - highlight errors, warnings, thresholds
|
|
162
|
+
- Header and row styling, borders, rounded corners, shadows
|
|
210
163
|
|
|
211
|
-
|
|
164
|
+
📖 [Table documentation](docs/en/widgets/table-widget.md)
|
|
212
165
|
|
|
213
|
-
|
|
166
|
+
## Calendar
|
|
214
167
|
|
|
215
|
-
|
|
168
|
+
A month calendar as **date picker**, read-only date display or "today" highlighter. Timestamp or ISO date, past/future lock, week numbers, adjustable day size and full color styling per part (header, weekdays, days, selected day, today).
|
|
216
169
|
|
|
217
|
-
|
|
218
|
-
- Options are automatically loaded from the data point's defined states
|
|
219
|
-
- Options can display value, text label or both
|
|
220
|
-
- Optional title above the dropdown
|
|
221
|
-
- **Read-only mode**
|
|
222
|
-
- **Conditional background color** – changes dropdown background based on value conditions (with optional application to title)
|
|
223
|
-
- Customizable font, text color, background, highlight color, border (width, color, radius) and shadow
|
|
224
|
-
- Individual title styling (font size, color, padding)
|
|
170
|
+
📖 [Calendar documentation](docs/en/widgets/calendar-widget.md)
|
|
225
171
|
|
|
226
|
-
|
|
172
|
+
## Event Calendar
|
|
227
173
|
|
|
228
|
-
|
|
174
|
+
Google-Calendar-style view of appointments, fed from a JSON datapoint (for example from the **ical** adapter).
|
|
229
175
|
|
|
230
|
-
|
|
176
|
+
- Views: month, week, day, multi-month/year and four list views
|
|
177
|
+
- **Several calendars** with own colors and legend, **color rules by title**, week numbers, "+N more" per day
|
|
178
|
+
- Every part of the look is configurable
|
|
231
179
|
|
|
232
|
-
|
|
233
|
-
- Data point or static text as source
|
|
234
|
-
- Scroll direction: left or right
|
|
235
|
-
- Configurable scroll speed (px/s)
|
|
236
|
-
- Configurable number of text copies (prevents gaps for short texts)
|
|
237
|
-
- Configurable gap between copies
|
|
238
|
-
- **Pause on hover**
|
|
239
|
-
- Background color support
|
|
240
|
-
- Inherits font styling from vis widget settings
|
|
180
|
+
📖 [Event Calendar documentation](docs/en/widgets/event-calendar-widget.md)
|
|
241
181
|
|
|
242
|
-
|
|
182
|
+
## Marquee
|
|
243
183
|
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
Renders a bullet-point list from a single text value — either from a data point or entered manually.
|
|
247
|
-
|
|
248
|
-
**Key features:**
|
|
249
|
-
- Data point or manual text input as source
|
|
250
|
-
- Freely configurable separator — any character or string:
|
|
251
|
-
- Comma: `,`
|
|
252
|
-
- Semicolon: `;`
|
|
253
|
-
- Newline: `\n`
|
|
254
|
-
- Tab: `\t`
|
|
255
|
-
- Any other custom string
|
|
256
|
-
- Trimming of leading/trailing whitespace per item
|
|
257
|
-
- Filtering of empty items
|
|
258
|
-
- Bullet types: `•` Disc, `○` Circle, `▪` Square, `–` Dash, `›` Arrow, `1. 2. 3.` Numbered, None, Custom character
|
|
259
|
-
- Individual bullet color, independent from text color
|
|
260
|
-
- Text color, background, font size, text alignment
|
|
261
|
-
- Configurable spacing between bullet and text
|
|
262
|
-
- Configurable line spacing between items
|
|
263
|
-
- Inner padding
|
|
184
|
+
Scrolling ticker for long texts and notifications: from a datapoint or fixed text, direction left/right/up/down, speed, gap, pause on hover, background.
|
|
264
185
|
|
|
265
|
-
|
|
186
|
+
📖 [Marquee documentation](docs/en/widgets/marquee-widget.md)
|
|
187
|
+
|
|
188
|
+
## Value List
|
|
266
189
|
|
|
267
|
-
|
|
190
|
+
Bullet list from a single text value with any separator. Bullet types (disc, circle, square, dash, arrow, numbers, custom character), bullet color, spacing and padding.
|
|
268
191
|
|
|
269
|
-
|
|
192
|
+
📖 [Value List documentation](docs/en/widgets/value-list-widget.md)
|
|
270
193
|
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
- Configurable day cell size
|
|
280
|
-
- Independent color styling for header, weekdays, regular days, selected day (incl. shadow), today marker and week numbers
|
|
281
|
-
- Follows the browser language for month/weekday names
|
|
282
|
-
- "From widget" style reuse across multiple Calendar widgets
|
|
194
|
+
---
|
|
195
|
+
|
|
196
|
+
## Getting started
|
|
197
|
+
|
|
198
|
+
1. Install the adapter **vis-2-widgets-inventwo** in ioBroker Admin (requires vis 2.0).
|
|
199
|
+
2. Open the vis 2 editor and pick a widget from the **inventwo design** list.
|
|
200
|
+
3. Select your datapoint and adjust the settings - the preview updates live.
|
|
201
|
+
4. To reuse a look, set **From widget** in a style group and pick another widget of the same type.
|
|
283
202
|
|
|
284
203
|
---
|
|
285
204
|
|
|
286
|
-
##
|
|
205
|
+
## Migrating from vis-inventwo (vis 1)
|
|
206
|
+
|
|
207
|
+
Coming from the vis-1 adapter **[vis-inventwo](https://github.com/inventwo/ioBroker.vis-inventwo)**? This adapter includes a migration tool that converts the old widgets (`i-vis-*`) of a project imported into vis 2 to the widgets of this set. You find it in the instance settings of `vis-2-widgets-inventwo` in ioBroker Admin.
|
|
208
|
+
|
|
209
|
+
It shows a preview first, can write the result into a new project or back up the existing one, and lists everything that should be checked by hand afterwards. Not every widget can be converted completely.
|
|
287
210
|
|
|
288
|
-
|
|
211
|
+
📖 **Migration guide:** [English](docs/en/migration.md) · [Deutsch](docs/de/migration.md)
|
|
289
212
|
|
|
290
|
-
**
|
|
291
|
-
- Point "Events (datapoint)" at a datapoint holding a JSON list of events - either a simple custom shape or the native JSON produced by the ioBroker "ical" adapter
|
|
292
|
-
- All views from FullCalendar's free/MIT bundle: Month, Week, Day, Multi-month (year), and List (day/week/month/year)
|
|
293
|
-
- Optional calendar week numbers (ISO-8601 or "simple"/locale-dependent), mainly for Month/Multi-month views
|
|
294
|
-
- Header bar (title + prev/next/today navigation) can be shown/hidden, and navigation can be disabled independently while keeping the title
|
|
295
|
-
- Correctly handles multi-day/all-day events (iCal exclusive-end convention)
|
|
296
|
-
- Only needs the events datapoint - no separate object ID required
|
|
297
|
-
- Configurable event color rules: color events by title (case-insensitive substring match), overriding the source color - works around the ioBroker "ical" adapter only providing one color per calendar, not per event
|
|
298
|
-
- Fully configurable header (title color/size, button text/background/border/radius incl. hover), weekdays (color/background/size), day (color/size, outside-month color, weekend background), today (background/text/border color+width, live now-indicator line), event tiles (background/text/border/radius/size, "+N more" link color), and grid borders (show/hide, width, color) - each color group with independent "From widget" style reuse
|
|
299
|
-
- Calendar resizes live when the widget is resized in the vis editor (no page reload needed)
|
|
300
|
-
- Follows the browser language for month/weekday names
|
|
213
|
+
> **Please note:** The migration was built with care, but there is no guarantee that it works flawlessly for every project - vis-1 projects come in too many different shapes for that. If something is not converted as expected, please [open an issue](https://github.com/inventwo/ioBroker.vis-2-widgets-inventwo/issues). Your feedback helps to improve the tool.
|
|
301
214
|
|
|
302
215
|
---
|
|
303
216
|
|
|
@@ -306,6 +219,26 @@ Google-Calendar-style view for events/appointments, based on FullCalendar. Every
|
|
|
306
219
|
Placeholder for the next version (at the beginning of the line):
|
|
307
220
|
### **WORK IN PROGRESS**
|
|
308
221
|
-->
|
|
222
|
+
### 2.4.0 (2026-11-24)
|
|
223
|
+
- Calendar Widget: the day, today, selected and month/year colors had no effect with the current MUI X version (renamed CSS classes), so the theme text color was used instead; fixed
|
|
224
|
+
- Checkbox Widget: true/false values default to `true`/`false` when left empty (like the Switch Widget), so a checkbox without custom values reflects and toggles boolean datapoints
|
|
225
|
+
- Universal Widget: no more white border when the border color is left empty (border is now transparent instead of falling back to the text color) (#353)
|
|
226
|
+
- Dropdown Widget: the opened list no longer shows a rounded border on iOS (explicit square paper without border/outline) (#350)
|
|
227
|
+
- Build: `mf-manifest.json` and `mf-stats.json` are now copied into `widgets/` and thus included in the npm package (fixes 404 errors in the browser) (#349)
|
|
228
|
+
- README: new overview with showcase screenshots
|
|
229
|
+
- New preview images for all widgets in the vis-2 editor, rendered from real widgets (Radial Slider now shows the gauge look with color zones and scale); the Marquee Widget got a preview image for the first time
|
|
230
|
+
- Fixed order of the widgets in the vis-2 editor palette (`visOrder`); before, the order depended on which widget finished loading first
|
|
231
|
+
- Universal Widget: new optional hover colors (content, background incl. gradients, text, border, outer/inner shadow) with "From widget" support; empty fields leave the color unchanged, mouse only (no sticky hover on touch devices); the migration assistant now takes over the vis-1 hover colors
|
|
232
|
+
|
|
233
|
+
### 2.3.0 (2026-11-23)
|
|
234
|
+
- Universal Widget: Password/PIN protection is now available for all types that trigger an action (switch, button, view in dialog, increase/decrease, HTTP), not only for navigation
|
|
235
|
+
- Universal Widget: Type button can reset the value after a configurable time; the migration assistant takes over the reset time of vis-1
|
|
236
|
+
- Slider & Radial Slider: New color zones – the active part changes its color depending on the value (e.g. green/yellow/red), either as a whole, per zone segment or as a fixed scale along the whole track, with a hard cut or a gradient between the zones
|
|
237
|
+
- Radial Slider: Decimals, decimal separator and unit for the displayed value; the thumb can be hidden (thumb size 0) to use the widget as a gauge
|
|
238
|
+
- Radial Slider: Optional scale ticks with labels, a needle, a second value (e.g. setpoint) and the time of the last change
|
|
239
|
+
- Slider: Fixed min/max not being taken over from the object when selecting the object ID
|
|
240
|
+
- Universal Widget: Scrolling and pinch-zoom with the finger on touchscreens now also work over the widget; only a button with **Hold value** still blocks touch gestures. A gesture that turns into scrolling no longer triggers the action
|
|
241
|
+
|
|
309
242
|
### 2.2.0 (2026-11-17)
|
|
310
243
|
- Adapter settings: New migration assistant that converts the old vis-1 widgets of the adapter vis-inventwo (`i-vis-*`) in a vis-2 project into the widgets of this adapter – with preview, a list of widgets to check manually and either an automatic backup or a converted copy as new project. It can also restore widgets shown in several views, which vis-2 drops when importing a vis-1 project. Based on the community tool [inventwo-vis1-to-vis2](https://github.com/crunchip77/inventwo-vis1-to-vis2) by crunchip77
|
|
311
244
|
|
|
@@ -316,13 +249,6 @@ Google-Calendar-style view for events/appointments, based on FullCalendar. Every
|
|
|
316
249
|
- Universal Widget: Up to 5 additional inner and outer shadows per widget; X/Y offsets of shadows may now be negative (#286)
|
|
317
250
|
- Universal Widget (View in dialog): New option "Set value false on close" – closing the dialog (close button, click outside, timeout) writes "Value false" to the object ID, as long as it still holds "Value true" (#309)
|
|
318
251
|
|
|
319
|
-
### 2.0.2 (2026-10-17)
|
|
320
|
-
- Removed default react 19 border on universal widget
|
|
321
|
-
|
|
322
|
-
### 2.0.1 (2026-10-17)
|
|
323
|
-
- Breaking: Requires vis-2 >= 2.20.0 (React 19 / MUI 9). Older vis-2 versions (React 18) are no longer supported
|
|
324
|
-
- Updated dependencies to React 19 and MUI 9
|
|
325
|
-
|
|
326
252
|
## Older changes
|
|
327
253
|
Can be found in [CHANGELOG_OLD.md](CHANGELOG_OLD.md)
|
|
328
254
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Br as e}from"./_virtual_mf___mfe_internal__AdminComponentInventwoSet__mf_owner__72039846547856__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-C5MeurQp.js";import{t}from"./_virtual_mf___mfe_internal__AdminComponentInventwoSet__mf_owner__72039846547856__loadShare__shared-C6E_W1MX.js";import{t as n}from"./Migration-
|
|
1
|
+
import{Br as e}from"./_virtual_mf___mfe_internal__AdminComponentInventwoSet__mf_owner__72039846547856__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-C5MeurQp.js";import{t}from"./_virtual_mf___mfe_internal__AdminComponentInventwoSet__mf_owner__72039846547856__loadShare__shared-C6E_W1MX.js";import{t as n}from"./Migration-BIL6qMNp.js";var r={MigrationComponent:class extends t{renderItem(){return e(n,{socket:this.props.oContext.socket})}}};export{r as default};
|