openhab-webui/bundles/org.openhab.ui/doc/components
Thomas Wunschel 94aa16aba8
Allow model cards and model tabs outside of homepage (#2584)
Fixes #2583. Fixes #1591.

This moves model loading code to a new Vuex store module named model.
Model loading is now done by app.vue on init and when an Item change event is received through SSE.

home.vue and home-edit.vue now get the model from the Vuex store instead of loading it.
Add tab components for locations-tab, equipment-tab and properties-tab for easy usage in tabbed pages.
Add card components for oh-.location-card, oh-equipment-card and oh-property-card to standard widget list.

---------

Also-by: Florian Hotze <florianh_dev@icloud.com>
Signed-off-by: Thomas Wunschel <4302898+wuschi@users.noreply.github.com>
2024-08-12 13:00:03 +02:00
..
images oh-input: Fix select with options & setting style not working (#2633) 2024-06-27 13:50:48 +02:00
src [documentation] Escape quotes in generate.js script (#1116) 2021-06-27 18:16:10 +02:00
index.md Allow model cards and model tabs outside of homepage (#2584) 2024-08-12 13:00:03 +02:00
oh-aggregate-series.md Analyzer: Fix silent failure if no items are set (#2631) 2024-06-27 12:33:30 +02:00
oh-block.md Corrected small typo (#1076) 2021-05-31 08:57:32 +02:00
oh-button.md Analyzer: Fix silent failure if no items are set (#2631) 2024-06-27 12:33:30 +02:00
oh-calendar-axis.md Analyzer: Fix silent failure if no items are set (#2631) 2024-06-27 12:33:30 +02:00
oh-calendar-series.md Analyzer: Fix silent failure if no items are set (#2631) 2024-06-27 12:33:30 +02:00
oh-canvas-item.md New fixed layout: canvas (#1100) 2021-10-01 15:47:57 +02:00
oh-canvas-layer.md Addition of graphical layer management for canvas layouts (#1187) 2021-11-07 20:14:57 +01:00
oh-canvas-layout.md Fixes to canvas layout display in full screen (#1554) 2022-12-11 14:11:28 +01:00
oh-category-axis.md Component docs (#900) 2021-03-01 15:42:17 +01:00
oh-cell.md Analyzer: Fix silent failure if no items are set (#2631) 2024-06-27 12:33:30 +02:00
oh-chart-datazoom.md Component docs (#900) 2021-03-01 15:42:17 +01:00
oh-chart-grid.md Component docs (#900) 2021-03-01 15:42:17 +01:00
oh-chart-legend.md Component docs (#900) 2021-03-01 15:42:17 +01:00
oh-chart-page.md Charts: Add option to extend initial period to future & Refactor prop defs (#2545) 2024-04-21 17:13:39 +02:00
oh-chart-title.md Component docs (#900) 2021-03-01 15:42:17 +01:00
oh-chart-toolbox.md Component docs (#900) 2021-03-01 15:42:17 +01:00
oh-chart-tooltip.md Component docs (#900) 2021-03-01 15:42:17 +01:00
oh-chart-visualmap.md Component docs (#900) 2021-03-01 15:42:17 +01:00
oh-chart.md Charts: Add option to extend initial period to future & Refactor prop defs (#2545) 2024-04-21 17:13:39 +02:00
oh-clock-card.md Analyzer: Fix silent failure if no items are set (#2631) 2024-06-27 12:33:30 +02:00
oh-clock.md Migrate clock to system widget (#977) 2021-03-27 00:36:23 +01:00
oh-colorpicker-card.md oh-colorpicker: Replace defaultColor option with an actual default color (#2270) 2024-01-14 14:50:56 +01:00
oh-colorpicker-cell.md Analyzer: Fix silent failure if no items are set (#2631) 2024-06-27 12:33:30 +02:00
oh-colorpicker-item.md oh-colorpicker: Replace defaultColor option with an actual default color (#2270) 2024-01-14 14:50:56 +01:00
oh-colorpicker.md oh-colorpicker: Replace defaultColor option with an actual default color (#2270) 2024-01-14 14:50:56 +01:00
oh-context.md Add oh-context component (#2533) 2024-06-01 18:31:27 +02:00
oh-data-series.md Analyzer: Fix silent failure if no items are set (#2631) 2024-06-27 12:33:30 +02:00
oh-equipment-card.md Allow model cards and model tabs outside of homepage (#2584) 2024-08-12 13:00:03 +02:00
oh-gauge-card.md Analyzer: Fix silent failure if no items are set (#2631) 2024-06-27 12:33:30 +02:00
oh-gauge.md Add new capabilities to oh-knob component using vue-round-slider (#1703) 2023-02-12 20:21:15 +01:00
oh-grid-col.md Component docs (#900) 2021-03-01 15:42:17 +01:00
oh-grid-layout.md Fix height description in grid layout properties (#1023) 2021-05-09 10:14:43 +02:00
oh-grid-row.md Component docs (#900) 2021-03-01 15:42:17 +01:00
oh-icon.md Analyzer: Fix silent failure if no items are set (#2631) 2024-06-27 12:33:30 +02:00
oh-image-card.md Analyzer: Fix silent failure if no items are set (#2631) 2024-06-27 12:33:30 +02:00
oh-image.md Analyzer: Fix silent failure if no items are set (#2631) 2024-06-27 12:33:30 +02:00
oh-input-card.md oh-input: Update component docs & Minor fixes (#2215) 2023-12-13 00:25:45 +01:00
oh-input-item.md oh-input: Update component docs & Minor fixes (#2215) 2023-12-13 00:25:45 +01:00
oh-input.md oh-input: Fix select with options & setting style not working (#2633) 2024-06-27 13:50:48 +02:00
oh-knob-card.md `oh-slider` & `oh-knob`: Add option to ignore displayState (#1924) 2023-06-13 15:32:35 +02:00
oh-knob-cell.md Analyzer: Fix silent failure if no items are set (#2631) 2024-06-27 12:33:30 +02:00
oh-knob.md `oh-slider` & `oh-knob`: Add option to ignore displayState (#1924) 2023-06-13 15:32:35 +02:00
oh-label-card.md Analyzer: Fix silent failure if no items are set (#2631) 2024-06-27 12:33:30 +02:00
oh-label-cell.md Analyzer: Fix silent failure if no items are set (#2631) 2024-06-27 12:33:30 +02:00
oh-label-item.md Analyzer: Fix silent failure if no items are set (#2631) 2024-06-27 12:33:30 +02:00
oh-link.md Analyzer: Fix silent failure if no items are set (#2631) 2024-06-27 12:33:30 +02:00
oh-list-card.md Component docs (#900) 2021-03-01 15:42:17 +01:00
oh-list-item.md Analyzer: Fix silent failure if no items are set (#2631) 2024-06-27 12:33:30 +02:00
oh-list.md Component docs (#900) 2021-03-01 15:42:17 +01:00
oh-location-card.md Allow model cards and model tabs outside of homepage (#2584) 2024-08-12 13:00:03 +02:00
oh-map-circle-marker.md Analyzer: Fix silent failure if no items are set (#2631) 2024-06-27 12:33:30 +02:00
oh-map-marker.md Analyzer: Fix silent failure if no items are set (#2631) 2024-06-27 12:33:30 +02:00
oh-map-page.md Fix link for oh-map-page docs (#1704) 2023-02-16 23:18:35 +01:00
oh-masonry.md Component docs (#900) 2021-03-01 15:42:17 +01:00
oh-plan-marker.md Analyzer: Fix silent failure if no items are set (#2631) 2024-06-27 12:33:30 +02:00
oh-plan-page.md New SIP client component & widget (#1453) 2022-07-29 22:23:45 +02:00
oh-player-card.md Component docs (#900) 2021-03-01 15:42:17 +01:00
oh-player-item.md Enable dynamic icons only for some icon types in default list widget (#1874) 2023-05-07 15:22:46 +02:00
oh-player.md Component docs (#900) 2021-03-01 15:42:17 +01:00
oh-property-card.md Allow model cards and model tabs outside of homepage (#2584) 2024-08-12 13:00:03 +02:00
oh-repeater.md `oh-repeater`: Make caching configurable (#1963) 2023-07-15 23:58:53 +02:00
oh-rollershutter-card.md Component docs (#900) 2021-03-01 15:42:17 +01:00
oh-rollershutter-cell.md Analyzer: Fix silent failure if no items are set (#2631) 2024-06-27 12:33:30 +02:00
oh-rollershutter-item.md Enable dynamic icons only for some icon types in default list widget (#1874) 2023-05-07 15:22:46 +02:00
oh-rollershutter.md Component docs (#900) 2021-03-01 15:42:17 +01:00
oh-sipclient-card.md oh-sipclient: Regenerate component docs (#2666) 2024-07-13 14:35:15 +02:00
oh-sipclient.md oh-sipclient: Regenerate component docs (#2666) 2024-07-13 14:35:15 +02:00
oh-slider-card.md `oh-slider` & `oh-knob`: Add option to ignore displayState (#1924) 2023-06-13 15:32:35 +02:00
oh-slider-cell.md Analyzer: Fix silent failure if no items are set (#2631) 2024-06-27 12:33:30 +02:00
oh-slider-item.md `oh-slider` & `oh-knob`: Add option to ignore displayState (#1924) 2023-06-13 15:32:35 +02:00
oh-slider.md `oh-slider` & `oh-knob`: Add option to ignore displayState (#1924) 2023-06-13 15:32:35 +02:00
oh-stepper-card.md `oh-knob` & `oh-stepper`: Add offset functionality (#1875) 2023-05-07 14:20:42 +02:00
oh-stepper-item.md Enable dynamic icons only for some icon types in default list widget (#1874) 2023-05-07 15:22:46 +02:00
oh-stepper.md `oh-knob` & `oh-stepper`: Add offset functionality (#1875) 2023-05-07 14:20:42 +02:00
oh-swiper-card.md Component docs (#900) 2021-03-01 15:42:17 +01:00
oh-swiper.md Component docs (#900) 2021-03-01 15:42:17 +01:00
oh-time-axis.md Component docs (#900) 2021-03-01 15:42:17 +01:00
oh-time-series.md Analyzer: Fix silent failure if no items are set (#2631) 2024-06-27 12:33:30 +02:00
oh-toggle-card.md Fix zero margin not applied in oh-grid-layout (#973) 2021-03-25 20:35:39 +01:00
oh-toggle-item.md Enable dynamic icons only for some icon types in default list widget (#1874) 2023-05-07 15:22:46 +02:00
oh-toggle.md Add possibility to edit JSON variable keys in widgets (#1556) 2022-12-11 12:35:11 +01:00
oh-trend.md oh-trend: Fix type of trendlineSampling parameter (#1995) 2023-08-19 19:48:29 +02:00
oh-value-axis.md Component docs (#900) 2021-03-01 15:42:17 +01:00
oh-video-card.md Add poster image option to video widget (#1469) 2022-08-23 20:33:31 +02:00
oh-video.md Analyzer: Fix silent failure if no items are set (#2631) 2024-06-27 12:33:30 +02:00
oh-webframe-card.md Component docs (#900) 2021-03-01 15:42:17 +01:00
oh-webframe.md Component docs (#900) 2021-03-01 15:42:17 +01:00