@opengeoweb/core 2.1.0 → 2.1.4

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 (137) hide show
  1. package/{core.esm.js → index.esm.js} +3442 -1204
  2. package/{core.umd.js → index.umd.js} +3832 -1412
  3. package/lib/components/ComponentsLookUp/componentsLookUp.d.ts +48 -0
  4. package/lib/components/ComponentsLookUp/componentsLookUp.stories.d.ts +7 -0
  5. package/lib/components/ComponentsLookUp/componentsLookup.spec.d.ts +1 -0
  6. package/lib/components/ComponentsLookUp/index.d.ts +1 -0
  7. package/lib/components/ConfigurableConnectedMap/ConfigurableConnectedMap.d.ts +37 -0
  8. package/lib/components/ConfigurableConnectedMap/ConfigurableConnectedMap.spec.d.ts +1 -0
  9. package/lib/components/ConfigurableConnectedMap/ConfigurableConnectedMap.stories.d.ts +6 -0
  10. package/lib/components/ConfigurableConnectedMap/index.d.ts +1 -0
  11. package/lib/components/ConfigurableMapWithSlider/ConfigurableMapWithSliderConnect.d.ts +5 -0
  12. package/lib/components/CustomSwitch/CustomSwitch.d.ts +3 -0
  13. package/lib/components/CustomSwitch/CustomSwitch.spec.d.ts +1 -0
  14. package/lib/components/CustomSwitch/CustomSwitch.stories.d.ts +3 -0
  15. package/lib/components/CustomSwitch/index.d.ts +1 -0
  16. package/lib/components/LayerManager/DescriptionRow/DescriptionRow.d.ts +1 -0
  17. package/lib/components/LayerManager/LayerContainerRow/LayerManagerButton.d.ts +1 -1
  18. package/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelect.d.ts +4 -5
  19. package/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelectConnect.d.ts +0 -1
  20. package/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderStyles/RenderStyles.d.ts +5 -5
  21. package/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderStyles/RenderStylesConnect.d.ts +0 -1
  22. package/lib/components/LayerManager/LayerManager.d.ts +2 -0
  23. package/lib/components/LayerManager/LayerManager.stories.d.ts +7 -9
  24. package/lib/components/LayerManager/LayerManagerConnect.d.ts +1 -0
  25. package/lib/components/LayerManager/LayerManagerConnect.stories.d.ts +5 -0
  26. package/lib/components/LayerManager/LayerManagerStories.stories.d.ts +6 -0
  27. package/lib/components/LayerManager/LayerManagerUtils.d.ts +2 -2
  28. package/lib/components/LayerManager/LayerSelect/KeywordFilterButton/KeywordFilterButtonConnect.d.ts +8 -0
  29. package/lib/components/LayerManager/LayerSelect/KeywordFilterButton/KeywordFilterButtonConnect.spec.d.ts +1 -0
  30. package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResults.d.ts +16 -0
  31. package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResults.spec.d.ts +1 -0
  32. package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResults.stories.d.ts +13 -0
  33. package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResultsConnect.d.ts +7 -0
  34. package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResultsListItem.d.ts +10 -0
  35. package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResultsListItem.spec.d.ts +1 -0
  36. package/lib/components/LayerManager/LayerSelect/LayerList/LayerList.d.ts +10 -0
  37. package/lib/components/LayerManager/LayerSelect/LayerList/LayerList.spec.d.ts +1 -0
  38. package/lib/components/LayerManager/LayerSelect/LayerList/LayerListConnect.d.ts +6 -0
  39. package/lib/components/LayerManager/LayerSelect/LayerList/LayerListConnect.spec.d.ts +1 -0
  40. package/lib/components/LayerManager/LayerSelect/LayerSelect.stories.d.ts +7 -7
  41. package/lib/components/LayerManager/LayerSelect/LayerSelectConnect.d.ts +2 -0
  42. package/lib/components/LayerManager/LayerSelect/LayerSelectConnect.stories.d.ts +3 -0
  43. package/lib/components/LayerManager/LayerSelect/LayerSelectStories.stories.d.ts +6 -0
  44. package/lib/components/LayerManager/LayerSelect/SearchField/SearchField.d.ts +7 -0
  45. package/lib/components/LayerManager/LayerSelect/SearchField/SearchField.spec.d.ts +1 -0
  46. package/lib/components/LayerManager/LayerSelect/SearchField/SearchFieldButtonContainer.d.ts +8 -0
  47. package/lib/components/LayerManager/LayerSelect/SearchField/SearchFieldButtonContainer.spec.d.ts +1 -0
  48. package/lib/components/LayerManager/LayerSelect/SearchField/SearchFieldConnect.d.ts +3 -0
  49. package/lib/components/LayerManager/LayerSelect/SearchField/SearchFieldConnect.spec.d.ts +1 -0
  50. package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceChip.d.ts +10 -0
  51. package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceChip.spec.d.ts +1 -0
  52. package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceChipConnect.d.ts +9 -0
  53. package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceChipConnect.spec.d.ts +1 -0
  54. package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceList.d.ts +10 -0
  55. package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceList.spec.d.ts +1 -0
  56. package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceListConnect.d.ts +6 -0
  57. package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceListConnect.spec.d.ts +1 -0
  58. package/lib/components/LayerManager/LayerSelect/ServiceOptionsButton/ServiceOptionsButton.d.ts +3 -0
  59. package/lib/components/LayerManager/LayerSelect/ServiceOptionsButton/ServiceOptionsButton.spec.d.ts +1 -0
  60. package/lib/components/LayerManager/LayerSelect/ServiceOptionsButton/ServiceOptionsButton.stories.d.ts +7 -0
  61. package/lib/components/LayerManager/LayerSelect/ServiceOptionsDialog/ServiceOptionsDialog.d.ts +6 -0
  62. package/lib/components/LayerManager/LayerSelect/ServiceOptionsDialog/ServiceOptionsDialog.spec.d.ts +1 -0
  63. package/lib/components/LayerManager/LayerSelect/ServiceOptionsDialog/ServiceOptionsDialog.stories.d.ts +13 -0
  64. package/lib/components/LayerManager/LayerSelect/ServicePopup/ServicePopup.d.ts +3 -1
  65. package/lib/components/LayerManager/tooltipContainerStyles.d.ts +1 -1
  66. package/lib/components/Legend/LegendConnect.d.ts +3 -0
  67. package/lib/components/Legend/LegendDialog.d.ts +2 -0
  68. package/lib/components/Legend/LegendMapButtonConnect.d.ts +2 -0
  69. package/lib/components/MapView/MapView.Error.stories.d.ts +4 -0
  70. package/lib/components/MapView/{MapView.MapCursor.stories.d.ts → MapView.MapPin.stories.d.ts} +1 -1
  71. package/lib/components/MapView/MapView.ShowLayerInfo.stories.d.ts +5 -0
  72. package/lib/components/MapView/MapView.stories.d.ts +2 -1
  73. package/lib/components/MapView/MapViewConnect.LayerChangeEnabledOpacity.stories.d.ts +7 -0
  74. package/lib/components/MapView/MapViewConnect.MapPin.stories.d.ts +5 -0
  75. package/lib/components/MapView/MapViewConnect.d.ts +7 -3
  76. package/lib/components/MapView/MapViewConnect.stories.d.ts +1 -0
  77. package/lib/components/Mapcontrols/MapControlButton.d.ts +1 -1
  78. package/lib/components/MultiMapDimensionSelect/DimensionSelectButtonConnect.d.ts +2 -0
  79. package/lib/components/MultiMapDimensionSelect/DimensionSelectDialogConnect.d.ts +2 -0
  80. package/lib/components/MultiMapDimensionSelect/DimensionSelectDialogConnect.stories.d.ts +25 -0
  81. package/lib/components/MultiMapDimensionSelect/MultiDimensionSelect.stories.d.ts +1 -0
  82. package/lib/components/MultiMapDimensionSelect/MultiDimensionSelectConfig.d.ts +1 -1
  83. package/lib/components/MultiMapDimensionSelect/MultiDimensionSelectMapButtonsConnect.d.ts +2 -0
  84. package/lib/components/MultiMapView/MultiMapView.stories.d.ts +2 -0
  85. package/lib/components/MultiMapView/MultiMapView10x10.stories.d.ts +2 -0
  86. package/lib/components/MultiMapView/MultiMapViewConnect.d.ts +1 -1
  87. package/lib/components/Providers/Providers.d.ts +1 -1
  88. package/lib/components/ReactMapView/ReactMapView.d.ts +8 -9
  89. package/lib/components/ReactMapView/ReactMapViewParseLayer.d.ts +2 -2
  90. package/lib/components/ReactMapView/types.d.ts +6 -17
  91. package/lib/components/TimeSlider/TimeSliderButtons/PlayButton/PlayButtonConnect.d.ts +3 -3
  92. package/lib/components/TimeSlider/TimeSliderButtons/SpeedButton/SpeedButton.d.ts +0 -2
  93. package/lib/components/TimeSlider/TimeSliderLegend/TimeSliderLegendRenderFunctions.d.ts +1 -1
  94. package/lib/components/TimeSlider/TimeSliderRail/TimeSliderRail.d.ts +4 -4
  95. package/lib/components/TimeSlider/TimeSliderRail/TimeSliderRailRenderFunctions.d.ts +1 -1
  96. package/lib/components/TimeSlider/TimeSliderUtils.d.ts +10 -1
  97. package/lib/components/ToggleIconButton/ToggleIconButton.d.ts +6 -3
  98. package/lib/components/TooltipSelect/TooltipSelect.d.ts +2 -2
  99. package/lib/index.d.ts +2 -1
  100. package/lib/store/coreModuleConfig.d.ts +1 -1
  101. package/lib/store/layerSelect/actions.d.ts +30 -0
  102. package/lib/store/layerSelect/config.d.ts +4 -0
  103. package/lib/store/layerSelect/constants.d.ts +5 -0
  104. package/lib/store/layerSelect/reducer.d.ts +3 -0
  105. package/lib/store/layerSelect/reducer.spec.d.ts +1 -0
  106. package/lib/store/layerSelect/sagas.d.ts +6 -0
  107. package/lib/store/layerSelect/sagas.spec.d.ts +1 -0
  108. package/lib/store/layerSelect/selectors.d.ts +34 -0
  109. package/lib/store/layerSelect/selectors.spec.d.ts +1 -0
  110. package/lib/store/layerSelect/types.d.ts +61 -0
  111. package/lib/store/mapStore/layers/actions.d.ts +2 -1
  112. package/lib/store/mapStore/layers/constants.d.ts +1 -0
  113. package/lib/store/mapStore/layers/selectors.d.ts +14 -5
  114. package/lib/store/mapStore/layers/types.d.ts +44 -20
  115. package/lib/store/mapStore/map/actions.d.ts +12 -5
  116. package/lib/store/mapStore/map/constants.d.ts +1 -0
  117. package/lib/store/mapStore/map/reducer.d.ts +7 -0
  118. package/lib/store/mapStore/map/sagas.d.ts +2 -2
  119. package/lib/store/mapStore/map/selectors.d.ts +20 -12
  120. package/lib/store/mapStore/map/types.d.ts +19 -7
  121. package/lib/store/mapStore/service/actions.d.ts +1 -8
  122. package/lib/store/mapStore/service/constants.d.ts +0 -1
  123. package/lib/store/mapStore/service/selectors.d.ts +35 -5
  124. package/lib/store/mapStore/service/types.d.ts +12 -16
  125. package/lib/store/mapStore/utils/helpers.d.ts +4 -3
  126. package/lib/store/ui/actions.d.ts +2 -2
  127. package/lib/store/ui/types.d.ts +2 -1
  128. package/lib/storybookUtils/HelperComponents.d.ts +1 -1
  129. package/lib/storybookUtils/storyComponents/MapDrawGeoJSON.d.ts +5 -5
  130. package/lib/storybookUtils/storyComponents/MapDrawGeoJSONStyles.d.ts +2 -1
  131. package/lib/types/types.d.ts +2 -1
  132. package/lib/utils/__mocks__/WMS111GetCapabilitiesGeoServicesRADAR.d.ts +2 -0
  133. package/lib/utils/defaultTestSettings.d.ts +69 -190
  134. package/lib/utils/getCapabilities.d.ts +6 -0
  135. package/lib/utils/testUtils.d.ts +2 -2
  136. package/package.json +14 -15
  137. package/lib/components/SyncGroups/ConfigurableConnectedMap.d.ts +0 -19
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export declare const useDrawPolyStoryStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"MapDrawGeoJSONContainer" | "MapDrawGeoJSONMapContainer" | "MapDrawGeoJSONControlsContainer" | "MapDrawGeoJSONTextAreaContainer" | "MapDrawGeoJSONTextArea">;
2
+ export declare const useDrawPolyStoryStyles: (props?: any) => import("@mui/styles").ClassNameMap<"MapDrawGeoJSONContainer" | "MapDrawGeoJSONMapContainer" | "MapDrawGeoJSONControlsContainer" | "MapDrawGeoJSONTextAreaContainer" | "MapDrawGeoJSONTextArea">;
3
3
  export declare const useGeoJSON: () => {
4
4
  editModes: {
5
5
  key: string;
@@ -16,9 +16,9 @@ export declare const useGeoJSON: () => {
16
16
  changeDrawMode: (mode: string) => void;
17
17
  setEditMode: (on: boolean) => void;
18
18
  };
19
- declare const _default: React.ComponentType<Pick<{
20
- classes: import("@material-ui/styles").ClassNameMap<string>;
21
- } & {
19
+ declare const _default: React.JSXElementConstructor<Omit<{
20
+ classes: import("@mui/styles").ClassNameMap<string>;
21
+ } & Record<string, unknown> & {
22
22
  children?: React.ReactNode;
23
- }, "children"> & import("@material-ui/core").StyledComponentProps<string> & Record<string, unknown>>;
23
+ }, string> & import("@mui/styles").StyledComponentProps<string> & Record<string, unknown>>;
24
24
  export default _default;
@@ -1,3 +1,4 @@
1
- import { StyleRulesCallback, Theme } from '@material-ui/core';
1
+ import { Theme } from '@mui/material';
2
+ import { StyleRulesCallback } from '@mui/styles';
2
3
  declare const mapDrawGeoJSONStyles: StyleRulesCallback<Theme, Record<string, unknown>>;
3
4
  export default mapDrawGeoJSONStyles;
@@ -2,5 +2,6 @@ import { WebMapStateModuleState } from '../store/mapStore/types';
2
2
  import { AdvancedLayerStoreModuleState } from '../store/advancedLayerStore/types';
3
3
  import { SynchronizationGroupModuleState } from '../store/generic/synchronizationGroups/types';
4
4
  import { UIModuleState } from '../store/ui/types';
5
- export interface AppStore extends AdvancedLayerStoreModuleState, SynchronizationGroupModuleState, UIModuleState, WebMapStateModuleState {
5
+ import { LayerSelectModuleState } from '../store/layerSelect/types';
6
+ export interface AppStore extends AdvancedLayerStoreModuleState, SynchronizationGroupModuleState, UIModuleState, WebMapStateModuleState, LayerSelectModuleState {
6
7
  }
@@ -0,0 +1,2 @@
1
+ declare const _default: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE WMT_MS_Capabilities SYSTEM \"http://schemas.opengis.net/wms/1.1.1/WMS_MS_Capabilities.dtd\" [\n <!ELEMENT VendorSpecificCapabilities EMPTY>\n]>\n<!-- end of DOCTYPE declaration -->\n<WMT_MS_Capabilities version=\"1.1.1\">\n <Service>\n <Name>OGC:WMS</Name>\n <Title>RADAR</Title>\n <Abstract>This service demonstrates how the ADAGUC server can be used to create OGC services.</Abstract>\n <ServerInfo>ADAGUCServer version 2.5.8, of Apr 13 2021 07:55:43</ServerInfo>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;\" />\n <ContactInformation />\n </Service>\n <Capability>\n <Request>\n <GetCapabilities>\n <Format>application/vnd.ogc.wms_xml</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetCapabilities>\n <GetMap>\n <Format>image/png</Format>\n <Format>image/gif</Format>\n <Format>image/png32</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetMap>\n <GetFeatureInfo>\n <Format>text/plain</Format>\n <Format>text/html</Format>\n <Format>text/xml</Format>\n <Format>application/vnd.ogc.gml</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetFeatureInfo>\n <DescribeLayer>\n <Format>text/xml</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;\" />\n </Get>\n </HTTP>\n </DCPType>\n </DescribeLayer>\n <GetLegendGraphic>\n <Format>image/png</Format>\n <Format>image/gif</Format>\n <Format>image/png32</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetLegendGraphic>\n <GetStyles>\n <Format>text/xml</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetStyles>\n </Request>\n <Exception>\n <Format>application/vnd.ogc.se_xml</Format>\n <Format>application/vnd.ogc.se_inimage</Format>\n <Format>application/vnd.ogc.se_blank</Format>\n </Exception>\n <VendorSpecificCapabilities />\n <UserDefinedSymbolization SupportSLD=\"1\" UserLayer=\"0\" UserStyle=\"1\" RemoteWFS=\"0\" />\n <Layer>\n <Title>WMS of RADAR</Title>\n <SRS>EPSG:3411</SRS>\n <SRS>EPSG:3412</SRS>\n <SRS>EPSG:3575</SRS>\n <SRS>EPSG:3857</SRS>\n <SRS>EPSG:4258</SRS>\n <SRS>EPSG:4326</SRS>\n <SRS>CRS:84</SRS>\n <SRS>EPSG:25831</SRS>\n <SRS>EPSG:25832</SRS>\n <SRS>EPSG:28992</SRS>\n <SRS>EPSG:7399</SRS>\n <SRS>EPSG:50001</SRS>\n <SRS>EPSG:54030</SRS>\n <SRS>EPSG:32661</SRS>\n <SRS>EPSG:40000</SRS>\n <SRS>EPSG:900913</SRS>\n <SRS>PROJ4:%2Bproj%3Dstere%20%2Blat_0%3D90%20%2Blon_0%3D0%20%2Blat_ts%3D60%20%2Ba%3D6378%2E14%20%2Bb%3D6356%2E75%20%2Bx_0%3D0%20y_0%3D0</SRS>\n <Layer queryable=\"1\" opaque=\"1\" cascaded=\"0\">\n <Name>RAD_NL25_PCP_CM</Name>\n <Title>Precipitation Radar NL</Title>\n <Abstract>Radar NL</Abstract>\n <KeywordList>\n <Keyword>Radar</Keyword>\n </KeywordList>\n <SRS>EPSG:3411</SRS>\n <BoundingBox SRS=\"EPSG:3411\" minx=\"2682754.743620\" miny=\"-3245034.014141\" maxx=\"3759536.917562\" maxy=\"-2168251.989038\" />\n <SRS>EPSG:3412</SRS>\n <BoundingBox SRS=\"EPSG:3412\" minx=\"0.000000\" miny=\"32318824.826266\" maxx=\"7413041.166015\" maxy=\"40075258.815074\" />\n <SRS>EPSG:3575</SRS>\n <BoundingBox SRS=\"EPSG:3575\" minx=\"-770622.801471\" miny=\"-4485814.811314\" maxx=\"56845.766135\" maxy=\"-3684039.443620\" />\n <SRS>EPSG:3857</SRS>\n <BoundingBox SRS=\"EPSG:3857\" minx=\"0.000000\" miny=\"6257115.219364\" maxx=\"1208534.698398\" maxy=\"7553161.958695\" />\n <SRS>EPSG:4258</SRS>\n <BoundingBox SRS=\"EPSG:4258\" minx=\"0.000000\" miny=\"48.895303\" maxx=\"10.856452\" maxy=\"55.973600\" />\n <SRS>EPSG:4326</SRS>\n <BoundingBox SRS=\"EPSG:4326\" minx=\"0.000000\" miny=\"48.895303\" maxx=\"10.856452\" maxy=\"55.973600\" />\n <SRS>CRS:84</SRS>\n <BoundingBox SRS=\"CRS:84\" minx=\"0.000000\" miny=\"48.895303\" maxx=\"10.856452\" maxy=\"55.973600\" />\n <SRS>EPSG:25831</SRS>\n <BoundingBox SRS=\"EPSG:25831\" minx=\"282182.345905\" miny=\"5433247.394267\" maxx=\"997135.658653\" maxy=\"6207204.592736\" />\n <SRS>EPSG:25832</SRS>\n <BoundingBox SRS=\"EPSG:25832\" minx=\"-153083.019482\" miny=\"5415817.312927\" maxx=\"617595.626092\" maxy=\"6239769.309937\" />\n <SRS>EPSG:28992</SRS>\n <BoundingBox SRS=\"EPSG:28992\" minx=\"-236275.338083\" miny=\"106727.731651\" maxx=\"501527.918656\" maxy=\"900797.079725\" />\n <SRS>EPSG:7399</SRS>\n <BoundingBox SRS=\"EPSG:7399\" minx=\"0.000000\" miny=\"5757301.056717\" maxx=\"763611.971696\" maxy=\"6483919.801602\" />\n <SRS>EPSG:50001</SRS>\n <BoundingBox SRS=\"EPSG:50001\" minx=\"-2000000.000000\" miny=\"-2000000.000000\" maxx=\"10000000.000000\" maxy=\"8500000.000000\" />\n <SRS>EPSG:54030</SRS>\n <BoundingBox SRS=\"EPSG:54030\" minx=\"0.000000\" miny=\"5211855.054125\" maxx=\"853649.695106\" maxy=\"5936394.291427\" />\n <SRS>EPSG:32661</SRS>\n <BoundingBox SRS=\"EPSG:32661\" minx=\"2000000.000000\" miny=\"-2703305.597319\" maxx=\"2745713.040381\" maxy=\"-1888346.216710\" />\n <SRS>EPSG:40000</SRS>\n <BoundingBox SRS=\"EPSG:40000\" minx=\"0.000000\" miny=\"-4731695.771951\" maxx=\"750214.326339\" maxy=\"-3911817.119426\" />\n <SRS>EPSG:900913</SRS>\n <BoundingBox SRS=\"EPSG:900913\" minx=\"0.000000\" miny=\"6257115.219364\" maxx=\"1208534.698398\" maxy=\"7553161.958695\" />\n <SRS>PROJ4:%2Bproj%3Dstere%20%2Blat_0%3D90%20%2Blon_0%3D0%20%2Blat_ts%3D60%20%2Ba%3D6378%2E14%20%2Bb%3D6356%2E75%20%2Bx_0%3D0%20y_0%3D0</SRS>\n <BoundingBox SRS=\"PROJ4:%2Bproj%3Dstere%20%2Blat_0%3D90%20%2Blon_0%3D0%20%2Blat_ts%3D60%20%2Ba%3D6378%2E14%20%2Bb%3D6356%2E75%20%2Bx_0%3D0%20y_0%3D0\" minx=\"0.000000\" miny=\"-3649.999338\" maxx=\"700.002420\" maxy=\"-4415.002986\" />\n <LatLonBoundingBox minx=\"0.000000\" miny=\"48.895303\" maxx=\"10.856452\" maxy=\"55.973600\" />\n <Dimension name=\"time\" units=\"ISO8601\" />\n <Extent name=\"time\" default=\"2021-05-17T00:00:00Z\" multipleValues=\"1\" nearestValue=\"0\">2021-03-31T09:25:00Z/2021-05-18T07:45:00Z/PT5M</Extent>\n <Style>\n <Name>radar/nearest</Name>\n <Title>radar/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;&amp;version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=RAD_NL25_PCP_CM&amp;format=image/png&amp;STYLE=radar/nearest\" />\n </LegendURL>\n </Style>\n <Style>\n <Name>precip-rainbow/nearest</Name>\n <Title>precip-rainbow/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;&amp;version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=RAD_NL25_PCP_CM&amp;format=image/png&amp;STYLE=precip-rainbow/nearest\" />\n </LegendURL>\n </Style>\n <Style>\n <Name>precip-gray/nearest</Name>\n <Title>precip-gray/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;&amp;version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=RAD_NL25_PCP_CM&amp;format=image/png&amp;STYLE=precip-gray/nearest\" />\n </LegendURL>\n </Style>\n <Style>\n <Name>precip-blue/nearest</Name>\n <Title>precip-blue/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;&amp;version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=RAD_NL25_PCP_CM&amp;format=image/png&amp;STYLE=precip-blue/nearest\" />\n </LegendURL>\n </Style>\n <Style>\n <Name>precip-blue-transparent/nearest</Name>\n <Title>precip-blue-transparent/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;&amp;version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=RAD_NL25_PCP_CM&amp;format=image/png&amp;STYLE=precip-blue-transparent/nearest\" />\n </LegendURL>\n </Style>\n <Style>\n <Name>precip-with-range/nearest</Name>\n <Title>precip-with-range/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&amp;SERVICE=WMS&amp;&amp;version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=RAD_NL25_PCP_CM&amp;format=image/png&amp;STYLE=precip-with-range/nearest\" />\n </LegendURL>\n </Style>\n <ScaleHint min=\"0\" max=\"10000\" />\n </Layer>\n </Layer>\n </Capability>\n</WMT_MS_Capabilities>";
2
+ export default _default;
@@ -1,4 +1,4 @@
1
- import { WMLayer } from '@opengeoweb/webmap';
1
+ import { Style, WMLayer } from '@opengeoweb/webmap';
2
2
  import { Service } from '../components/WMSLoader/services';
3
3
  import { LayerType } from '../store/mapStore/types';
4
4
  export declare const defaultReduxLayerRadarColor: {
@@ -10,6 +10,12 @@ export declare const defaultReduxLayerRadarColor: {
10
10
  enabled: boolean;
11
11
  layerType: LayerType;
12
12
  dimensions: any[];
13
+ styles: {
14
+ title: string;
15
+ name: string;
16
+ legendURL: string;
17
+ abstract: string;
18
+ }[];
13
19
  id: string;
14
20
  };
15
21
  export declare const defaultReduxLayerRadarKNMI: {
@@ -25,160 +31,48 @@ export declare const defaultReduxLayerRadarKNMI: {
25
31
  units: string;
26
32
  currentValue: string;
27
33
  }[];
34
+ styles: {
35
+ title: string;
36
+ name: string;
37
+ legendURL: string;
38
+ abstract: string;
39
+ }[];
28
40
  id: string;
29
41
  };
30
42
  export declare const WmdefaultReduxLayerRadarKNMI: WMLayer;
31
43
  export declare const makeGeoservicesRadarLayer: () => WMLayer;
44
+ export declare const styleListForRADNL25PCPCMLayer: Style[];
45
+ export declare const styleListForRADNLOPERR25PCPRRL3KNMILayer: Style[];
32
46
  export declare const defaultReduxServices: {
33
47
  'https://testservice': {
34
- layers: {
48
+ id: string;
49
+ name: string;
50
+ service: string;
51
+ layers: ({
35
52
  name: string;
36
53
  text: string;
37
54
  leaf: boolean;
38
55
  path: string;
39
- }[];
40
- layer: {
41
- RAD_NL25_PCP_CM: {
42
- styles: {
43
- attr: {};
44
- Name: {
45
- attr: {};
46
- value: string;
47
- };
48
- Title: {
49
- attr: {};
50
- value: string;
51
- };
52
- LegendURL: {
53
- attr: {
54
- width: string;
55
- height: string;
56
- };
57
- Format: {
58
- attr: {};
59
- value: string;
60
- };
61
- OnlineResource: {
62
- attr: {
63
- 'xlink:type': string;
64
- 'xlink:href': string;
65
- };
66
- };
67
- };
68
- index: number;
69
- nrOfStyles: number;
70
- title: string;
71
- name: string;
72
- legendURL: string;
73
- abstracttext: string;
74
- }[];
75
- };
76
- RADNL_OPER_R___25PCPRR_L3_KNMI: {
77
- styles: {
78
- attr: {};
79
- Name: {
80
- attr: {};
81
- value: string;
82
- };
83
- Title: {
84
- attr: {};
85
- value: string;
86
- };
87
- LegendURL: {
88
- attr: {
89
- width: string;
90
- height: string;
91
- };
92
- Format: {
93
- attr: {};
94
- value: string;
95
- };
96
- OnlineResource: {
97
- attr: {
98
- 'xlink:type': string;
99
- 'xlink:href': string;
100
- };
101
- };
102
- };
103
- index: number;
104
- nrOfStyles: number;
105
- title: string;
106
- name: string;
107
- legendURL: string;
108
- abstracttext: string;
109
- }[];
110
- };
111
- MULTI_DIMENSION_LAYER: {
112
- styles: {
113
- attr: {};
114
- Name: {
115
- attr: {};
116
- value: string;
117
- };
118
- Title: {
119
- attr: {};
120
- value: string;
121
- };
122
- LegendURL: {
123
- attr: {
124
- width: string;
125
- height: string;
126
- };
127
- Format: {
128
- attr: {};
129
- value: string;
130
- };
131
- OnlineResource: {
132
- attr: {
133
- 'xlink:type': string;
134
- 'xlink:href': string;
135
- };
136
- };
137
- };
138
- index: number;
139
- nrOfStyles: number;
140
- title: string;
141
- name: string;
142
- legendURL: string;
143
- abstracttext: string;
144
- }[];
145
- };
146
- LAYER_WITHOUT_TIME: {
147
- styles: {
148
- attr: {};
149
- Name: {
150
- attr: {};
151
- value: string;
152
- };
153
- Title: {
154
- attr: {};
155
- value: string;
156
- };
157
- LegendURL: {
158
- attr: {
159
- width: string;
160
- height: string;
161
- };
162
- Format: {
163
- attr: {};
164
- value: string;
165
- };
166
- OnlineResource: {
167
- attr: {
168
- 'xlink:type': string;
169
- 'xlink:href': string;
170
- };
171
- };
172
- };
173
- index: number;
174
- nrOfStyles: number;
175
- title: string;
176
- name: string;
177
- legendURL: string;
178
- abstracttext: string;
179
- }[];
180
- };
181
- };
56
+ keywords: any[];
57
+ abstract: string;
58
+ styles?: undefined;
59
+ } | {
60
+ name: string;
61
+ text: string;
62
+ leaf: boolean;
63
+ path: string;
64
+ keywords: any[];
65
+ abstract: string;
66
+ styles: Style[];
67
+ } | {
68
+ name: string;
69
+ text: string;
70
+ leaf: boolean;
71
+ path: string;
72
+ keywords: any[];
73
+ abstract?: undefined;
74
+ styles?: undefined;
75
+ })[];
182
76
  };
183
77
  };
184
78
  export declare const multiDimensionLayer: {
@@ -199,6 +93,12 @@ export declare const multiDimensionLayer: {
199
93
  currentValue: string;
200
94
  values?: undefined;
201
95
  })[];
96
+ styles: {
97
+ title: string;
98
+ name: string;
99
+ legendURL: string;
100
+ abstract: string;
101
+ }[];
202
102
  };
203
103
  export declare const flDimensionLayer: {
204
104
  service: string;
@@ -236,6 +136,12 @@ export declare const multiDimensionLayer2: {
236
136
  currentValue: string;
237
137
  values?: undefined;
238
138
  })[];
139
+ styles: {
140
+ title: string;
141
+ name: string;
142
+ legendURL: string;
143
+ abstract: string;
144
+ }[];
239
145
  };
240
146
  export declare const multiDimensionLayer3: {
241
147
  service: string;
@@ -265,70 +171,37 @@ export declare const multiDimensionLayer3: {
265
171
  };
266
172
  values?: undefined;
267
173
  })[];
174
+ styles: {
175
+ title: string;
176
+ name: string;
177
+ legendURL: string;
178
+ abstract: string;
179
+ }[];
268
180
  };
269
181
  export declare const WmMultiDimensionLayer2: WMLayer;
270
182
  export declare const WmMultiDimensionLayer3: WMLayer;
271
183
  export declare const WmMultiDimensionServices: {
272
184
  'https://testservicedimensions': {
185
+ id: string;
186
+ name: string;
187
+ service: string;
273
188
  layers: {
274
189
  name: string;
275
190
  text: string;
276
191
  leaf: boolean;
277
192
  path: string;
278
193
  }[];
279
- layer: {
280
- netcdf_5dims: {
281
- styles: {
282
- attr: {};
283
- Name: {
284
- attr: {};
285
- value: string;
286
- };
287
- Title: {
288
- attr: {};
289
- value: string;
290
- };
291
- LegendURL: {
292
- attr: {
293
- width: string;
294
- height: string;
295
- };
296
- Format: {
297
- attr: {};
298
- value: string;
299
- };
300
- OnlineResource: {
301
- attr: {
302
- 'xlink:type': string;
303
- 'xlink:href': string;
304
- };
305
- };
306
- };
307
- index: number;
308
- nrOfStyles: number;
309
- title: string;
310
- name: string;
311
- legendURL: string;
312
- abstracttext: string;
313
- }[];
314
- };
315
- };
316
194
  };
317
195
  'https://testservice': {
196
+ id: string;
197
+ name: string;
198
+ service: string;
318
199
  layers: {
319
200
  name: string;
320
201
  text: string;
321
202
  leaf: boolean;
322
203
  path: string;
323
204
  }[];
324
- layer: {
325
- RADNL_OPER_R___25PCPRR_L3_KNMI: {
326
- styles: any[];
327
- };
328
- LAYER_WITHOUT_TIME: {
329
- styles: any[];
330
- };
331
- };
332
205
  };
333
206
  };
334
207
  export declare const layerWithoutTimeDimension: {
@@ -342,6 +215,12 @@ export declare const layerWithoutTimeDimension: {
342
215
  currentValue: string;
343
216
  values: string;
344
217
  }[];
218
+ styles: {
219
+ title: string;
220
+ name: string;
221
+ legendURL: string;
222
+ abstract: string;
223
+ }[];
345
224
  };
346
225
  export declare const WmLayerWithoutTimeDimension: WMLayer;
347
226
  export declare const defaultTestServices: Service[];
@@ -22,3 +22,9 @@ export declare const recurseNodes: (nodesToRecur: LayerTree) => LayerTree;
22
22
  * @param {boolean} forceReload **optional** forceReload: boolean, true will force the layers to be reloaded from the service, defaults to false
23
23
  */
24
24
  export declare const getLayersFromService: (serviceUrl: string, forceReload?: boolean) => Promise<LayerTree>;
25
+ /**
26
+ * Returns a promise with a webmapjs node structure layers from the WMS GetCapabilities document.
27
+ * @param serviceUrl The URL of the WMS service
28
+ * @param {boolean} forceReload **optional** forceReload: boolean, true will force the layers to be reloaded from the service, defaults to false
29
+ */
30
+ export declare const getLayerNodesFromService: (serviceUrl: string, forceReload?: boolean) => Promise<[]>;
@@ -1,4 +1,4 @@
1
- import { WebMapState, LayerState, Dimension, Layer, WebMapStateModuleState } from '../store/mapStore/types';
1
+ import { WebMapState, LayerState, Dimension, Layer, WebMapStateModuleState, Scale } from '../store/mapStore/types';
2
2
  export declare const createWebmapState: (...mapIds: string[]) => WebMapState;
3
3
  export declare const createLayersState: (layerId: string, props?: {}) => LayerState;
4
4
  export declare const createMultipleLayersState: (layers: Layer[], mapId: string) => LayerState;
@@ -7,6 +7,6 @@ export declare const mockStateMapWithLayer: (layer: Layer, mapId: string) => Web
7
7
  export declare const mockStateMapWithMultipleLayers: (layers: Layer[], mapId: string) => WebMapStateModuleState;
8
8
  export declare const mockStateMapWithDimensions: (layer: Layer, mapId: string) => WebMapStateModuleState;
9
9
  export declare const mockStateMapWithDimensionsWithoutLayers: (mapId: string) => WebMapStateModuleState;
10
- export declare const mockStateMapWithTimeSliderScaleWithoutLayers: (mapId: string, timeSliderScale: number) => WebMapStateModuleState;
10
+ export declare const mockStateMapWithTimeSliderScaleWithoutLayers: (mapId: string, timeSliderScale: Scale) => WebMapStateModuleState;
11
11
  export declare const mockStateMapWithTimeStepWithoutLayers: (mapId: string, timeStep: number) => WebMapStateModuleState;
12
12
  export declare const mockStateMapWithAnimationDelayWithoutLayers: (mapId: string) => WebMapStateModuleState;
package/package.json CHANGED
@@ -1,39 +1,38 @@
1
1
  {
2
2
  "name": "@opengeoweb/core",
3
- "version": "2.1.0",
3
+ "version": "2.1.4",
4
4
  "description": "GeoWeb Core library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "git@gitlab.com:opengeoweb/opengeoweb.git"
9
9
  },
10
- "main": "./core.umd.js",
11
- "module": "./core.esm.js",
10
+ "main": "./index.umd.js",
11
+ "module": "./index.esm.js",
12
12
  "typings": "./index.d.ts",
13
13
  "dependencies": {},
14
14
  "peerDependencies": {
15
- "react": "16.14.0",
16
- "@material-ui/core": "^4.11.0",
17
- "@material-ui/icons": "^4.9.1",
18
- "react-intl": "^5.17.5",
15
+ "react": "^17.0.2",
16
+ "@opengeoweb/theme": "2.1.4",
17
+ "@mui/material": "^5.2.8",
18
+ "@mui/styles": "^5.2.3",
19
+ "@mui/icons-material": "^5.2.5",
19
20
  "react-redux": "7.2.2",
20
- "@opengeoweb/webmap": "2.1.0",
21
21
  "moment": "^2.29.0",
22
+ "react-intl": "^5.17.5",
23
+ "@opengeoweb/webmap": "2.1.4",
22
24
  "throttle-debounce": "^3.0.1",
23
25
  "proj4": "^2.6.2",
24
26
  "react-sortablejs": "^6.0.0",
25
- "@opengeoweb/shared": "2.1.0",
26
- "@material-ui/lab": "^4.0.0-alpha.56",
27
- "@opengeoweb/theme": "2.1.0",
27
+ "@opengeoweb/shared": "2.1.4",
28
28
  "react-draggable": "^4.4.3",
29
29
  "re-resizable": "^6.9.0",
30
30
  "lodash": "^4.17.20",
31
- "@opengeoweb/form-fields": "2.1.0",
31
+ "@opengeoweb/form-fields": "2.1.4",
32
32
  "react-hook-form": "^6.12.1",
33
- "@material-ui/pickers": "^3.2.10",
34
- "@date-io/moment": "^1.3.13",
35
33
  "moment-timezone": "^0.5.31",
36
- "axios": "^0.21.4",
34
+ "@mui/lab": "^5.0.0-alpha.64",
35
+ "axios": "^0.25.0",
37
36
  "redux-dynamic-modules": "^5.2.0",
38
37
  "redux": "^4.0.4",
39
38
  "lodash.clonedeep": "^4.5.0",
@@ -1,19 +0,0 @@
1
- import React from 'react';
2
- import { Bbox, Layer } from '../../store/mapStore/types';
3
- interface ConfigurableConnectedMapProps {
4
- title?: string;
5
- id?: string;
6
- className?: string;
7
- layers: Layer[];
8
- activeLayerId?: string;
9
- baseLayer?: Layer;
10
- bbox?: Bbox;
11
- srs?: string;
12
- displayTimeInMap?: boolean;
13
- displayLayerManagerButtonInMap?: boolean;
14
- displayDimensionSelectButtonInMap?: boolean;
15
- shouldAutoUpdate?: boolean;
16
- shouldShowZoomControls?: boolean;
17
- }
18
- export declare const ConfigurableConnectedMap: React.FC<ConfigurableConnectedMapProps>;
19
- export {};