* Improved swiping and keyboard and screen reader support in the IoT Hub screenshot and attribute widget carousels
ngx-hm-carousel is unmaintained, needed a patch to run on Angular 20 and pulled in
hammerjs (globally imported only for it) and @nghedgehog/core. It is replaced with an
in-house carousel that keeps the library's selectors, inputs, content templates and
currentIndex and is exposed under the same 'ngx-hm-carousel' module id, so custom
widgets keep working.
Swipe and mouse drag use Pointer Events; the carousel is focusable and switches slides
with the arrow keys, slides are labelled and off-screen slides are inert. The prev/next
buttons of the attribute widget preview got accessible names.
* Fixed IoT Hub screenshot carousel autoplay staying paused and showing a focus ring after closing the full-screen viewer
- A mouse click no longer focuses the carousel (it stays focusable from the keyboard), so the
full-screen viewer does not return focus to it with a focus ring.
- Autoplay pauses on focus only when it is keyboard focus (:focus-visible); moving the
mouse out of the carousel resumes it.
- Prev/next areas and dots react only to the carousel's own elements, not to elements
with the same classes inside slides.
- Slide role, aria-roledescription and aria-label set by the slide author are kept.
- Pinch-zoom stays available on touch screens over the carousel.
- The slides container is looked up by [ngx-hm-carousel-container].
- Removed inputs and templates the new carousel ignores ([data], default [infinite] and
[show-num], #carousel, empty prev/next/dot templates) and the styles that hid them.
* Removed leftover IoT Hub carousel styles of the replaced library and tidied carousel comments
* Updated the license header of the modified IoT Hub item dialog template
* UI: Map - load Esri reference layer styles from ArcGIS Online instead of bundling them
The styles are Esri content under the Esri Master License Agreement, which
prohibits redistributing or self-hosting it.
* UI: Map - retry a failed reference layer style load on the next map load and log the error
* UI: Map - remove Esri layers from the default map layers and the built-in Google and HERE API keys
* UI: Map - make the Google and HERE API keys optional with a warning, show the layers without a key without using ours
* UI: Map - add the Esri provider with an optional ArcGIS API key, use the key for the Esri reference layers and the ArcGIS vector basemap styles
* UI: Map - make the legacy Google and HERE API keys optional, show an accurate warning for a missing ArcGIS API key and add the Esri attribution to the raster Esri layers
* Update license headers of the modified map files
* UI: Map - drop the hidden reference layer API key, show the Esri attribution on the reference and legacy Esri layers and describe the missing API key warning to screen readers
* UI: Load Ace modes, snippets and themes on demand
The first editor used to load all 14 modes, 11 snippet files and 2 themes
up front (901 KB, 29 requests). Ace now loads only what an editor uses
through config.setModuleLoader; a JSON editor loads 534 KB in 5 requests.
- Once a module is defined, its loader is removed, so Ace resolves it
synchronously again, as before.
- getAce() accepts modules to preload for editors that read the session
mode synchronously after setMode; js-func preloads javascript and tbel.
- mode-c_cpp and snippets/protobuf are no longer loaded: no editor uses
the C/C++ mode, mode-protobuf bundles its own copy, and the protobuf
mode takes its snippets from snippets/c_cpp.
* UI: Load the SystemJS modules map lazily and cut eager imports of home code
- The SystemJS modules map, which imports most of the application, now
loads only when a widget or rule node loads an extension module. Pages
and dashboards no longer carry it.
- WidgetService, DashboardUtilsService and HomeService no longer import
the widget config component, the dashboard component models and the
router tabs component, which kept them in the login bundle:
the basic config base class is passed to
registerBasicWidgetConfigComponents, the gridster limits moved to
shared dashboard models (re-exported from the old place), and router
tabs are detected by a flag instead of instanceof.
- BlobEntitiesComponent reads the header actions panel from the widget
context instead of injecting WidgetComponent. That import closed the
only NgModule import cycle (SharedHomeComponentsModule ->
WidgetComponentsModule), which crashed startup with "Cannot read
properties of undefined (reading 'ngModule')" when the module init
order changed.
* UI: Take dashboard screenshots with modern-screenshot, loaded on demand
The dashboard image dialog used html2canvas, which is no longer
maintained. It shifted and cropped the captured area and failed on
dashboards that use the CSS color() function (charts, gauges, maps).
- modern-screenshot (MIT, no dependencies, 10 KB gzip instead of 44 KB)
renders the dashboard through the browser itself, so the thumbnail
matches the page. It loads only when a screenshot is taken.
- The whole dashboard is captured and the selected area is cut out of
the canvas; the development notice is still stamped before the image
is serialised.
- Elements marked with data-html2canvas-ignore are still left out, and
videos with no source are skipped, since the capture would wait for
them forever.
* UI: Import entity type models directly in entity chips instead of the shared public API barrel
The barrel re-exports report-component.models, which imports the time series
chart models and with them echarts and zrender. Any eager import path to
entity chips would pull ~1.7 MB of chart code into the startup bundle, as
happened in PE through the AI audit log dialog.
DeviceInstalledItemDescriptor.getUsedExistingEntities reads usedExistingEntityIds, or the install state of an install that has none. Update, delete and the delete dialog call it; the static helpers in DevicePackageEntities and both services are gone.
Installs made before 4.4.1 record the entities the user chose to use as they were only in their install state. The delete and the delete dialog read only usedExistingEntityIds, which those installs don't have, so they deleted the entities; update already fell back to the install state, as the 4.2 and 4.3 lines do. One implementation in DevicePackageEntities now serves update, delete and the dialog.