Fixes the XSS sanitizer bypass in DOM.sanitize() (GHSA-jrc7-96c5-q579,
maplibre-gl <= 6.4.0).
- v6 removed the internal map.transform: sync the GL map with Leaflet
through the public jumpTo() and detect resizes from the container size
- v6 is ESM-only and the worker must be registered via setWorkerUrl():
copy maplibre-gl-worker.mjs and its maplibre-gl-shared.mjs dependency
to assets/maplibre-gl/
* Add API key support for CARTO basemap layers
* Move CARTO basemaps to a dedicated map provider and drop legacy HERE v2 credentials
- Add MapProvider.carto with its own layer types, settings and TbCartoMapLayer;
the API key is optional since CARTO serves tiles without one.
- Read CARTO layers stored under the OpenStreetMap provider as CARTO layers
(normalized in the layer factory and in the map layers settings form),
so existing widgets migrate on the next settings save without an upgrade script.
- Reset the API key when switching to CARTO instead of keeping the previous provider's key.
- Remove the useV3 toggle and app_id/app_code fields from legacy HERE settings;
leaflet-providers 4.x only supports HERE v3 with an API key.
---------
Co-authored-by: Vladyslav Prykhodko <vlad.pryhodko@icloud.com>
- Wire photoswipe (5.4.4) into ui-ngx and load its CSS via angular.json.
- Replace the in-place ".tb-gallery-img-expanded" toggle in
TbIotHubMarkdownComponent.onReady with a PhotoSwipe lightbox bound
to each ".tb-gallery-images" container, picking up
".tb-gallery-image" anchors. Items are sized from the underlying
image's naturalWidth/Height; the lightbox slide uses contained
rendering with a max viewport sized 90vw / 78vh and a 0-opacity
backdrop.
- Style the gallery: 240px-min auto-fill grid with 12px gap, 115px
thumbnail strip with object-fit contained images, hover lift
(border + translate + shadow) and a fade-in caption tooltip
bottom-pinned over the thumbnail.