iobroker.vis-2-widgets-inventwo 2.3.0 → 2.4.1

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.
Files changed (59) hide show
  1. package/README.md +139 -219
  2. package/admin/custom/assets/{Components-CEBteUKs.js → Components-e0UZKMvi.js} +1 -1
  3. package/admin/custom/assets/{Migration-CH6O_Pac.js → Migration-BIL6qMNp.js} +1 -1
  4. package/admin/custom/assets/{index-BGHBfuXS.js → index-Dvg_-TLD.js} +1 -1
  5. package/admin/custom/assets/{mf-entry-bootstrap-0-847dbd7b.js → mf-entry-bootstrap-0-a7ad7568.js} +1 -1
  6. package/admin/custom/customComponents.js +1 -1
  7. package/admin/custom/i18n/de.json +1 -2
  8. package/admin/custom/i18n/en.json +1 -2
  9. package/admin/custom/i18n/es.json +1 -2
  10. package/admin/custom/i18n/fr.json +1 -2
  11. package/admin/custom/i18n/it.json +2 -3
  12. package/admin/custom/i18n/nl.json +1 -2
  13. package/admin/custom/i18n/pl.json +1 -2
  14. package/admin/custom/i18n/pt.json +1 -2
  15. package/admin/custom/i18n/ru.json +3 -4
  16. package/admin/custom/i18n/uk.json +3 -4
  17. package/admin/custom/i18n/zh-cn.json +3 -4
  18. package/admin/custom/mf-manifest.json +1 -1
  19. package/admin/i18n/de.json +1 -0
  20. package/admin/i18n/en.json +1 -0
  21. package/admin/i18n/es.json +1 -0
  22. package/admin/i18n/fr.json +1 -0
  23. package/admin/i18n/it.json +1 -0
  24. package/admin/i18n/nl.json +1 -0
  25. package/admin/i18n/pl.json +1 -0
  26. package/admin/i18n/pt.json +1 -0
  27. package/admin/i18n/ru.json +1 -0
  28. package/admin/i18n/uk.json +1 -0
  29. package/admin/i18n/zh-cn.json +1 -0
  30. package/io-package.json +38 -38
  31. package/package.json +1 -1
  32. package/widgets/vis-2-widgets-inventwo/assets/{InventwoWidgetCalendar-BGG29mjA.js → InventwoWidgetCalendar-Ce62Qtn8.js} +1 -1
  33. package/widgets/vis-2-widgets-inventwo/assets/InventwoWidgetCheckbox-Cd3BPiDE.js +1 -0
  34. package/widgets/vis-2-widgets-inventwo/assets/{InventwoWidgetDropdown-CH45TCpA.js → InventwoWidgetDropdown-CopKGCJ3.js} +1 -1
  35. package/widgets/vis-2-widgets-inventwo/assets/{InventwoWidgetEventCalendar-CeXW6qFF.js → InventwoWidgetEventCalendar-CCIk5qMy.js} +1 -1
  36. package/widgets/vis-2-widgets-inventwo/assets/{InventwoWidgetMarquee-CkTkeZK5.js → InventwoWidgetMarquee-DN4OlbA-.js} +1 -1
  37. package/widgets/vis-2-widgets-inventwo/assets/{InventwoWidgetRadialSlider-BopX4Zwv.js → InventwoWidgetRadialSlider-o4kTBEr4.js} +1 -1
  38. package/widgets/vis-2-widgets-inventwo/assets/{InventwoWidgetSlider-zyl2FsPw.js → InventwoWidgetSlider-DLaDVQzJ.js} +1 -1
  39. package/widgets/vis-2-widgets-inventwo/assets/{InventwoWidgetSwitch-CEs0FT2c.js → InventwoWidgetSwitch-BP0HycGR.js} +1 -1
  40. package/widgets/vis-2-widgets-inventwo/assets/{InventwoWidgetTable-D_yDAUyb.js → InventwoWidgetTable-_Fe_X7Mq.js} +1 -1
  41. package/widgets/vis-2-widgets-inventwo/assets/{InventwoWidgetUniversal-Bv1TjvZ_.js → InventwoWidgetUniversal-DssUos6b.js} +2 -2
  42. package/widgets/vis-2-widgets-inventwo/assets/{InventwoWidgetValueList-C8_Z-mU0.js → InventwoWidgetValueList-BmUFwbIF.js} +1 -1
  43. package/widgets/vis-2-widgets-inventwo/assets/translations-CxrKJ2aL.js +177 -0
  44. package/widgets/vis-2-widgets-inventwo/customWidgets.js +1 -1
  45. package/widgets/vis-2-widgets-inventwo/img/vis-widget-inventwo-calendar.png +0 -0
  46. package/widgets/vis-2-widgets-inventwo/img/vis-widget-inventwo-checkbox.png +0 -0
  47. package/widgets/vis-2-widgets-inventwo/img/vis-widget-inventwo-dropdown.png +0 -0
  48. package/widgets/vis-2-widgets-inventwo/img/vis-widget-inventwo-event-calendar.png +0 -0
  49. package/widgets/vis-2-widgets-inventwo/img/vis-widget-inventwo-marquee.png +0 -0
  50. package/widgets/vis-2-widgets-inventwo/img/vis-widget-inventwo-radial-slider.png +0 -0
  51. package/widgets/vis-2-widgets-inventwo/img/vis-widget-inventwo-slider.png +0 -0
  52. package/widgets/vis-2-widgets-inventwo/img/vis-widget-inventwo-switch.png +0 -0
  53. package/widgets/vis-2-widgets-inventwo/img/vis-widget-inventwo-table.png +0 -0
  54. package/widgets/vis-2-widgets-inventwo/img/vis-widget-inventwo-universal.png +0 -0
  55. package/widgets/vis-2-widgets-inventwo/img/vis-widget-inventwo-value-list.png +0 -0
  56. package/widgets/vis-2-widgets-inventwo/mf-manifest.json +1 -0
  57. package/widgets/vis-2-widgets-inventwo/mf-stats.json +1 -0
  58. package/widgets/vis-2-widgets-inventwo/assets/InventwoWidgetCheckbox-DtCk2iTF.js +0 -1
  59. package/widgets/vis-2-widgets-inventwo/assets/translations-B-XpQ7NF.js +0 -177
package/README.md CHANGED
@@ -7,297 +7,210 @@
7
7
  [![Downloads](https://img.shields.io/npm/dm/iobroker.vis-2-widgets-inventwo.svg)](https://www.npmjs.com/package/iobroker.vis-2-widgets-inventwo)
8
8
  [![Paypal Donation](https://img.shields.io/badge/paypal-donate%20|%20spenden-green.svg)](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
- A collection of highly customizable widgets for **ioBroker vis 2.0** — built for users who want full control over the look and feel of their dashboards. Every widget comes with extensive styling options and integrates seamlessly with ioBroker data points.
12
+ ![Dark dashboard built with inventwo widgets](https://github.com/inventwo/ioBroker.vis-2-widgets-inventwo/raw/main/img/showcase_dark.png)
15
13
 
16
- 📖 **[User Documentation](docs/README.md)** — detailed guides for all widgets, settings and examples.
14
+ 📖 **[User Documentation](docs/README.md)** - detailed guides for all widgets, settings and examples.
17
15
 
18
16
  ---
19
17
 
20
- ## Migrating from vis-inventwo (vis 1)
18
+ ## Why these widgets?
21
19
 
22
- 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.
23
-
24
- 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.
25
-
26
- 📖 **Migration guide:** [English](docs/en/migration.md) · [Deutsch](docs/de/migration.md)
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
- ## Widgets
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
- ## Widget - Universal
31
+ All screens on this page are built only with the widgets of this adapter - no custom CSS, no extra adapters.
50
32
 
51
- The flagship widget of this adapter — a single widget that can act as a switch, button, navigation element, read-only display, and much more.
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
- ![Preview Universal Widget](https://github.com/inventwo/ioBroker.vis-2-widgets-inventwo/raw/main/img/preview_universal_widget.png)
36
+ | Light | Glass |
37
+ |---|---|
38
+ | ![Light dashboard](https://github.com/inventwo/ioBroker.vis-2-widgets-inventwo/raw/main/img/showcase_light.png) | ![Glass dashboard](https://github.com/inventwo/ioBroker.vis-2-widgets-inventwo/raw/main/img/showcase_glass.png) |
54
39
 
55
- ### Interaction types
56
- - **Switch** – toggles a data point between two values
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
+ ![Shapes and styles](https://github.com/inventwo/ioBroker.vis-2-widgets-inventwo/raw/main/img/showcase_styles.png)
63
42
 
64
- ### Display modes
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
- ### Content types
69
- Freely combine multiple content elements per state:
45
+ ### Data at a glance
46
+ ![Data widgets](https://github.com/inventwo/ioBroker.vis-2-widgets-inventwo/raw/main/img/showcase_data.png)
70
47
 
71
- ![Preview Content Types](https://github.com/inventwo/ioBroker.vis-2-widgets-inventwo/raw/main/img/preview_content_types.png)
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
- - **Text / HTML** – static or dynamic label
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
- ![Preview Color Picker](https://github.com/inventwo/ioBroker.vis-2-widgets-inventwo/raw/main/img/preview_colorpicker.png)
52
+ ## The widgets at a glance
80
53
 
81
- - **Analog Clock** – SVG analog clock with configurable face design, tick marks, numbers and hands
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
- ![Preview Analog Clock](https://github.com/inventwo/ioBroker.vis-2-widgets-inventwo/raw/main/img/preview_content_type_clock_analog.png)
70
+ ---
84
71
 
85
- ### Other features
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
- ### Design
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
- ![Preview CSS Customization](https://github.com/inventwo/ioBroker.vis-2-widgets-inventwo/raw/main/img/preview_css_customization.png)
95
- ![Preview Design Examples](https://github.com/inventwo/ioBroker.vis-2-widgets-inventwo/raw/main/img/preview_univseral_design_examples.png)
76
+ ![Preview Universal Widget](https://github.com/inventwo/ioBroker.vis-2-widgets-inventwo/raw/main/img/preview_universal_widget.png)
96
77
 
97
- For detailed design examples see [here](https://github.com/inventwo/ioBroker.vis-2-widgets-inventwo/blob/main/docs/universal-widget-design-examples.md).
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
- ### Polygon shapes
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
- Widgets are not limited to rectangles. The **Shape** setting lets you choose from built-in polygon forms or define a fully custom outline:
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
- | Shape | Description |
104
- |-------|-------------|
105
- | Rectangle | Default — standard rectangular card |
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
  ![Preview Shapes](https://github.com/inventwo/ioBroker.vis-2-widgets-inventwo/raw/main/img/preview_shapes.png)
116
99
 
117
- **Additional shape options:**
118
- - **Rotation** (0–359°) — rotate any built-in polygon to any angle
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
- ## Widget - Slider
130
-
131
- A horizontal or vertical slider for controlling numeric data points.
105
+ ## Slider
132
106
 
133
107
  ![Preview Slider](https://github.com/inventwo/ioBroker.vis-2-widgets-inventwo/raw/main/img/preview_sliders.png)
134
108
 
135
- **Key features:**
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
- ## Widget - Radial Slider
114
+ 📖 [Slider documentation](docs/en/widgets/slider-widget.md)
148
115
 
149
- A circular arc slider for an elegant alternative to the classic linear slider.
116
+ ## Radial Slider
150
117
 
151
118
  ![Preview Radial Slider](https://github.com/inventwo/ioBroker.vis-2-widgets-inventwo/raw/main/src-widgets/public/img/vis-widget-inventwo-radial-slider.png)
152
119
 
153
- **Key features:**
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
- ## Widget - Switch
127
+ 📖 [Radial Slider documentation](docs/en/widgets/radial-slider-widget.md)
164
128
 
165
- A toggle switch for boolean or two-state data points.
129
+ ## Switch
166
130
 
167
131
  ![Preview Switches](https://github.com/inventwo/ioBroker.vis-2-widgets-inventwo/raw/main/img/preview_switches.png)
168
132
 
169
- **Key features:**
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
- ## Widget - Checkbox
179
-
180
- A checkbox for boolean or two-state data points.
137
+ ## Checkbox
181
138
 
182
139
  ![Preview Checkbox](https://github.com/inventwo/ioBroker.vis-2-widgets-inventwo/raw/main/img/preview_checkbox.png)
183
140
 
184
- **Key features:**
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
+ ![Preview Dropdown](https://github.com/inventwo/ioBroker.vis-2-widgets-inventwo/raw/main/src-widgets/public/img/vis-widget-inventwo-dropdown.png)
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
- ## Widget - Table
151
+ 📖 [Dropdown documentation](docs/en/widgets/dropdown-widget.md)
193
152
 
194
- A dynamic data table that renders JSON objects from an ioBroker data point.
153
+ ## Table
195
154
 
196
155
  ![Preview Table](https://github.com/inventwo/ioBroker.vis-2-widgets-inventwo/raw/main/img/preview_table.png)
197
156
 
198
- **Key features:**
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
- ## Widget - Dropdown
164
+ 📖 [Table documentation](docs/en/widgets/table-widget.md)
212
165
 
213
- A dropdown select control that auto-populates its options from the `common.states` property of an ioBroker object.
166
+ ## Calendar
214
167
 
215
- ![Preview Dropdown](https://github.com/inventwo/ioBroker.vis-2-widgets-inventwo/raw/main/src-widgets/public/img/vis-widget-inventwo-dropdown.png)
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
- **Key features:**
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
- ## Widget - Marquee
174
+ Google-Calendar-style view of appointments, fed from a JSON datapoint (for example from the **ical** adapter).
229
175
 
230
- A horizontally scrolling text ticker — ideal for displaying long text values or notifications.
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
- **Key features:**
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
- ## Widget - Value List
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
- ## Widget - Calendar
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
- Month calendar view, a plain date picker based on MUI's Date Calendar (datepicker, read-only date display, and/or today-highlighter — freely combinable via "Read only" and "Highlight today").
192
+ 📖 [Value List documentation](docs/en/widgets/value-list-widget.md)
270
193
 
271
- **Key features:**
272
- - Reads/writes a date from an object ID, as timestamp (ms) or ISO date string (`YYYY-MM-DD`)
273
- - "Read only" mode to just display a date without allowing changes
274
- - "Highlight today" to mark the current day distinctly
275
- - Disable past and/or future dates
276
- - Optional month/year quick navigation via the header
277
- - First day of week: Monday or Sunday
278
- - Optional calendar week numbers, ISO-8601 or "simple" (week 1 contains Jan 1st) style
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
- ## Widget - Event Calendar
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
- Google-Calendar-style view for events/appointments, based on FullCalendar. Every color, font size, and border is configurable.
211
+ 📖 **Migration guide:** [English](docs/en/migration.md) · [Deutsch](docs/de/migration.md)
289
212
 
290
- **Key features:**
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,20 @@ 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.1 (2026-11-25)
223
+ - Dropdown Widget: the opened option list looked different on Safari/iPadOS (rounded, inset and blue selected item); items now span the full width with square corners and use the configured highlight color
224
+
225
+ ### 2.4.0 (2026-11-24)
226
+ - 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
227
+ - 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
228
+ - 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)
229
+ - Dropdown Widget: the opened list no longer shows a rounded border on iOS (explicit square paper without border/outline) (#350)
230
+ - 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)
231
+ - README: new overview with showcase screenshots
232
+ - 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
233
+ - Fixed order of the widgets in the vis-2 editor palette (`visOrder`); before, the order depended on which widget finished loading first
234
+ - 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
235
+
309
236
  ### 2.3.0 (2026-11-23)
310
237
  - 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
311
238
  - Universal Widget: Type button can reset the value after a configurable time; the migration assistant takes over the reset time of vis-1
@@ -321,13 +248,6 @@ Google-Calendar-style view for events/appointments, based on FullCalendar. Every
321
248
  ### 2.1.1 (2026-11-03)
322
249
  - Universal Widget: Fixed content color of images not being applied for `rgb()` colors and colors given as hex (`#rgb`, `#rrggbb`, with optional alpha)
323
250
 
324
- ### 2.1.0 (2026-11-03)
325
- - Universal Widget: Up to 5 additional inner and outer shadows per widget; X/Y offsets of shadows may now be negative (#286)
326
- - 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)
327
-
328
- ### 2.0.2 (2026-10-17)
329
- - Removed default react 19 border on universal widget
330
-
331
251
  ## Older changes
332
252
  Can be found in [CHANGELOG_OLD.md](CHANGELOG_OLD.md)
333
253
 
@@ -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-CH6O_Pac.js";var r={MigrationComponent:class extends t{renderItem(){return e(n,{socket:this.props.oContext.socket})}}};export{r as default};
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};