@provoly/dashboard 0.13.5 → 0.13.6

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 (30) hide show
  1. package/esm2022/dataset/components/dataset-detail/dataset-detail.component.mjs +1 -1
  2. package/esm2022/lib/core/model/display-options.interface.mjs +55 -0
  3. package/esm2022/lib/core/model/public-api.mjs +2 -1
  4. package/esm2022/lib/dashboard/components/dashboard.component.mjs +9 -2
  5. package/esm2022/lib/dashboard/store/dashboard.actions.mjs +3 -2
  6. package/esm2022/lib/dashboard/store/dashboard.reducers.mjs +7 -1
  7. package/esm2022/lib/dashboard/store/dashboard.selectors.mjs +4 -2
  8. package/esm2022/presentation/components/presentation.component.mjs +5 -2
  9. package/esm2022/toolbox/components/toolbox.component.mjs +4 -3
  10. package/esm2022/widgets/widget-map/pipe/widget-map-legend-url.pipe.mjs +7 -2
  11. package/esm2022/widgets/widget-map/public-api.mjs +2 -1
  12. package/fesm2022/provoly-dashboard-dataset.mjs +1 -1
  13. package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
  14. package/fesm2022/provoly-dashboard-presentation.mjs +4 -1
  15. package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
  16. package/fesm2022/provoly-dashboard-toolbox.mjs +3 -2
  17. package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
  18. package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +7 -2
  19. package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
  20. package/fesm2022/provoly-dashboard.mjs +73 -4
  21. package/fesm2022/provoly-dashboard.mjs.map +1 -1
  22. package/lib/core/model/display-options.interface.d.ts +24 -0
  23. package/lib/core/model/public-api.d.ts +1 -0
  24. package/lib/dashboard/components/dashboard.component.d.ts +6 -3
  25. package/lib/dashboard/store/dashboard.actions.d.ts +8 -0
  26. package/lib/dashboard/store/dashboard.reducers.d.ts +2 -0
  27. package/lib/dashboard/store/dashboard.selectors.d.ts +1 -0
  28. package/package.json +7 -7
  29. package/toolbox/components/toolbox.component.d.ts +1 -0
  30. package/widgets/widget-map/public-api.d.ts +1 -0
@@ -1220,7 +1220,12 @@ class WidgetMapLegendUrlPipe {
1220
1220
  if (Capabilities) {
1221
1221
  const Layer = XMLUtils.find(Capabilities.childNodes, 'Layer');
1222
1222
  if (Layer) {
1223
- const matchingLayer = XMLUtils.findWith(Layer.childNodes, 'Name', geoLayer.paramLayer);
1223
+ let matchingLayer = XMLUtils.findWith(Layer.childNodes, 'Name', geoLayer.paramLayer);
1224
+ const split = geoLayer.paramLayer.split(':');
1225
+ if (!matchingLayer && split.length >= 2) {
1226
+ // Try again, splitting on ":" in the name to ignore namespace if present
1227
+ matchingLayer = XMLUtils.findWith(Layer.childNodes, 'Name', split[split.length - 1]);
1228
+ }
1224
1229
  if (matchingLayer) {
1225
1230
  const matchingStyle = XMLUtils.find(matchingLayer.childNodes, 'Style');
1226
1231
  if (matchingStyle) {
@@ -2144,5 +2149,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImpor
2144
2149
  * Generated bundle index. Do not edit.
2145
2150
  */
2146
2151
 
2147
- export { DEFAULT_HEATMAP_RADIUS, DEFAULT_MAP_CENTER, DEFAULT_RADIUS_INTENSITY_FACTOR, DEFAULT_ZOOM_MAX, DEFAULT_ZOOM_MIN, DEFAULT_ZOOM_START, EMPTY_MAP_STYLE, GeometryFieldsForPipe, InteractionManager, SelectionInteraction, WidgetMapComponent, WidgetMapLayerService, WidgetMapLegendUrlPipe, WidgetMapModule, exportMapAsGeoJSON, exportMapAsImage, exportMapAsKML, geometryForLayer, getCircleFeatureFromItem, getFeatureFromItem, getLinkFeature, getMapAsPng, populateIntensityAttribute, populateLocationAttribute };
2152
+ export { DEFAULT_HEATMAP_RADIUS, DEFAULT_MAP_CENTER, DEFAULT_RADIUS_INTENSITY_FACTOR, DEFAULT_ZOOM_MAX, DEFAULT_ZOOM_MIN, DEFAULT_ZOOM_START, EMPTY_MAP_STYLE, GeometryFieldsForPipe, InteractionManager, PryWidgetMapCssComponent, SelectionInteraction, WidgetMapComponent, WidgetMapLayerService, WidgetMapLegendUrlPipe, WidgetMapModule, exportMapAsGeoJSON, exportMapAsImage, exportMapAsKML, geometryForLayer, getCircleFeatureFromItem, getFeatureFromItem, getLinkFeature, getMapAsPng, populateIntensityAttribute, populateLocationAttribute };
2148
2153
  //# sourceMappingURL=provoly-dashboard-widgets-widget-map.mjs.map