@opengeoweb/store 9.28.1 → 9.29.0

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 (116) hide show
  1. package/index.esm.js +1377 -1377
  2. package/package.json +1 -1
  3. package/src/index.d.ts +1 -1
  4. package/src/store/coreModuleConfig.d.ts +1 -1
  5. package/src/store/drawingtool/config.d.ts +4 -4
  6. package/src/store/drawingtool/index.d.ts +6 -6
  7. package/src/store/drawingtool/listener.d.ts +3 -3
  8. package/src/store/drawingtool/listener.spec.d.ts +1 -1
  9. package/src/store/drawingtool/reducer.d.ts +46 -46
  10. package/src/store/drawingtool/reducer.spec.d.ts +4 -4
  11. package/src/store/drawingtool/selectors.d.ts +43 -43
  12. package/src/store/drawingtool/selectors.spec.d.ts +1 -1
  13. package/src/store/drawingtool/testUtils.d.ts +1 -1
  14. package/src/store/drawingtool/utils.d.ts +1 -1
  15. package/src/store/drawingtool/utils.spec.d.ts +1 -1
  16. package/src/store/generic/actions.d.ts +28 -28
  17. package/src/store/generic/config.d.ts +5 -5
  18. package/src/store/generic/index.d.ts +17 -17
  19. package/src/store/generic/listener.d.ts +2 -2
  20. package/src/store/generic/listener.spec.d.ts +1 -1
  21. package/src/store/generic/loadingIndicator/constants.d.ts +1 -1
  22. package/src/store/generic/loadingIndicator/index.d.ts +3 -3
  23. package/src/store/generic/loadingIndicator/reducer.d.ts +13 -13
  24. package/src/store/generic/loadingIndicator/reducer.spec.d.ts +1 -1
  25. package/src/store/generic/loadingIndicator/selectors.d.ts +22 -22
  26. package/src/store/generic/loadingIndicator/selectors.spec.d.ts +1 -1
  27. package/src/store/generic/loadingIndicator/types.d.ts +22 -22
  28. package/src/store/generic/selectors.d.ts +12 -12
  29. package/src/store/generic/selectors.spec.d.ts +1 -1
  30. package/src/store/generic/synchronizationActions/actions.d.ts +11 -11
  31. package/src/store/generic/synchronizationActions/types.d.ts +34 -34
  32. package/src/store/generic/synchronizationGroups/__mocks__/mockState.d.ts +2 -2
  33. package/src/store/generic/synchronizationGroups/constants.d.ts +4 -4
  34. package/src/store/generic/synchronizationGroups/index.d.ts +6 -6
  35. package/src/store/generic/synchronizationGroups/listener.d.ts +2 -2
  36. package/src/store/generic/synchronizationGroups/listener.spec.d.ts +1 -1
  37. package/src/store/generic/synchronizationGroups/reducer.d.ts +26 -26
  38. package/src/store/generic/synchronizationGroups/reducer.spec.d.ts +1 -1
  39. package/src/store/generic/synchronizationGroups/selector.d.ts +13 -13
  40. package/src/store/generic/synchronizationGroups/selectors.d.ts +64 -64
  41. package/src/store/generic/synchronizationGroups/selectors.spec.d.ts +1 -1
  42. package/src/store/generic/synchronizationGroups/types.d.ts +100 -100
  43. package/src/store/generic/synchronizationGroups/utils.d.ts +76 -76
  44. package/src/store/generic/synchronizationGroups/utils.spec.d.ts +1 -1
  45. package/src/store/generic/types.d.ts +23 -23
  46. package/src/store/generic/utils.d.ts +9 -9
  47. package/src/store/generic/utils.spec.d.ts +1 -1
  48. package/src/store/index.d.ts +14 -14
  49. package/src/store/mapStore/config.d.ts +9 -9
  50. package/src/store/mapStore/index.d.ts +96 -96
  51. package/src/store/mapStore/layers/index.d.ts +5 -5
  52. package/src/store/mapStore/layers/listeners.d.ts +2 -2
  53. package/src/store/mapStore/layers/listeners.spec.d.ts +1 -1
  54. package/src/store/mapStore/layers/reducer.d.ts +87 -87
  55. package/src/store/mapStore/layers/reducer.spec.d.ts +1 -1
  56. package/src/store/mapStore/layers/selectors.d.ts +380 -380
  57. package/src/store/mapStore/layers/selectors.spec.d.ts +1 -1
  58. package/src/store/mapStore/layers/types.d.ts +166 -166
  59. package/src/store/mapStore/layers/utils.d.ts +23 -23
  60. package/src/store/mapStore/layers/utils.spec.d.ts +1 -1
  61. package/src/store/mapStore/map/actions.d.ts +9 -9
  62. package/src/store/mapStore/map/constants.d.ts +1 -1
  63. package/src/store/mapStore/map/enums.d.ts +3 -3
  64. package/src/store/mapStore/map/filterLayers.d.ts +10 -10
  65. package/src/store/mapStore/map/filterLayers.spec.d.ts +1 -1
  66. package/src/store/mapStore/map/index.d.ts +25 -25
  67. package/src/store/mapStore/map/listener.d.ts +4 -4
  68. package/src/store/mapStore/map/listener.spec.d.ts +1 -1
  69. package/src/store/mapStore/map/mapListenerAnimationUtils.d.ts +38 -38
  70. package/src/store/mapStore/map/mapListenerAnimationUtils.spec.d.ts +1 -1
  71. package/src/store/mapStore/map/mapUiListener.d.ts +2 -2
  72. package/src/store/mapStore/map/mapUiListener.spec.d.ts +1 -1
  73. package/src/store/mapStore/map/metronomeListener.d.ts +2 -2
  74. package/src/store/mapStore/map/reducer.d.ts +109 -109
  75. package/src/store/mapStore/map/reducer.spec.d.ts +1 -1
  76. package/src/store/mapStore/map/replaceLayerIdsToEnsureUniqueLayerIdsInStore.d.ts +7 -7
  77. package/src/store/mapStore/map/replaceLayerIdsToEnsureUniqueLayerIdsInStore.spec.d.ts +1 -1
  78. package/src/store/mapStore/map/selectors.d.ts +733 -733
  79. package/src/store/mapStore/map/selectors.spec.d.ts +1 -1
  80. package/src/store/mapStore/map/types.d.ts +233 -233
  81. package/src/store/mapStore/map/utils.d.ts +85 -85
  82. package/src/store/mapStore/map/utils.spec.d.ts +1 -1
  83. package/src/store/mapStore/service/WMS111GetCapabilitiesGeoServicesRADAR.d.ts +2 -2
  84. package/src/store/mapStore/service/index.d.ts +4 -4
  85. package/src/store/mapStore/service/listener.d.ts +5 -5
  86. package/src/store/mapStore/service/listener.spec.d.ts +1 -1
  87. package/src/store/mapStore/service/localStorage.d.ts +3 -3
  88. package/src/store/mapStore/service/localStorage.spec.d.ts +1 -1
  89. package/src/store/mapStore/service/reducer.d.ts +11 -11
  90. package/src/store/mapStore/service/reducer.spec.d.ts +1 -1
  91. package/src/store/mapStore/service/selectors.d.ts +80 -80
  92. package/src/store/mapStore/service/selectors.spec.d.ts +1 -1
  93. package/src/store/mapStore/service/types.d.ts +50 -50
  94. package/src/store/mapStore/storeTestSettings.d.ts +7 -7
  95. package/src/store/mapStore/storeTestUtils.d.ts +17 -17
  96. package/src/store/mapStore/types.d.ts +11 -11
  97. package/src/store/router/config.d.ts +4 -4
  98. package/src/store/router/index.d.ts +3 -3
  99. package/src/store/router/listener.d.ts +2 -2
  100. package/src/store/router/listener.spec.d.ts +1 -1
  101. package/src/store/router/reducer.d.ts +9 -9
  102. package/src/store/router/reducer.spec.d.ts +1 -1
  103. package/src/store/router/types.d.ts +6 -6
  104. package/src/store/router/utils.d.ts +3 -3
  105. package/src/store/testUtils/Providers.d.ts +13 -13
  106. package/src/store/types.d.ts +7 -7
  107. package/src/store/ui/config.d.ts +4 -4
  108. package/src/store/ui/index.d.ts +4 -4
  109. package/src/store/ui/reducer.d.ts +33 -33
  110. package/src/store/ui/reducer.spec.d.ts +1 -1
  111. package/src/store/ui/selectors.d.ts +102 -102
  112. package/src/store/ui/selectors.spec.d.ts +1 -1
  113. package/src/store/ui/types.d.ts +78 -78
  114. package/src/store/ui/useSetupDialog.d.ts +11 -11
  115. package/src/store/ui/useSetupDialog.spec.d.ts +1 -1
  116. package/src/store/utils.d.ts +6 -6
@@ -1,2 +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
+ 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
- export { serviceActions } from './reducer';
2
- export * as serviceSelectors from './selectors';
3
- export * as serviceTypes from './types';
4
- export * from './localStorage';
1
+ export { serviceActions } from './reducer';
2
+ export * as serviceSelectors from './selectors';
3
+ export * as serviceTypes from './types';
4
+ export * from './localStorage';
@@ -1,5 +1,5 @@
1
- import { AnyAction, ListenerEffectAPI, ThunkDispatch } from '@reduxjs/toolkit';
2
- import { FetchInitialServicesPayload, SetLayersForServicePayload, WebMapStateModuleState } from '../types';
3
- export declare const serviceListener: import("@reduxjs/toolkit").ListenerMiddlewareInstance<WebMapStateModuleState, ThunkDispatch<WebMapStateModuleState, unknown, AnyAction>, unknown>;
4
- export declare const fetchService: (service: SetLayersForServicePayload, listenerApi: ListenerEffectAPI<WebMapStateModuleState, ThunkDispatch<WebMapStateModuleState, unknown, AnyAction>, unknown>) => Promise<void>;
5
- export declare const fetchInitialServices: (payload: FetchInitialServicesPayload, listenerApi: ListenerEffectAPI<WebMapStateModuleState, ThunkDispatch<WebMapStateModuleState, unknown, AnyAction>, unknown>) => Promise<void>;
1
+ import { AnyAction, ListenerEffectAPI, ThunkDispatch } from '@reduxjs/toolkit';
2
+ import { FetchInitialServicesPayload, SetLayersForServicePayload, WebMapStateModuleState } from '../types';
3
+ export declare const serviceListener: import("@reduxjs/toolkit").ListenerMiddlewareInstance<WebMapStateModuleState, ThunkDispatch<WebMapStateModuleState, unknown, AnyAction>, unknown>;
4
+ export declare const fetchService: (service: SetLayersForServicePayload, listenerApi: ListenerEffectAPI<WebMapStateModuleState, ThunkDispatch<WebMapStateModuleState, unknown, AnyAction>, unknown>) => Promise<void>;
5
+ export declare const fetchInitialServices: (payload: FetchInitialServicesPayload, listenerApi: ListenerEffectAPI<WebMapStateModuleState, ThunkDispatch<WebMapStateModuleState, unknown, AnyAction>, unknown>) => Promise<void>;
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,3 +1,3 @@
1
- import { UserAddedServices } from './types';
2
- export declare const getUserAddedServices: () => UserAddedServices;
3
- export declare const setUserAddedServices: (services: UserAddedServices) => void;
1
+ import { UserAddedServices } from './types';
2
+ export declare const getUserAddedServices: () => UserAddedServices;
3
+ export declare const setUserAddedServices: (services: UserAddedServices) => void;
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,11 +1,11 @@
1
- import { PayloadAction, Draft } from '@reduxjs/toolkit';
2
- import { FetchInitialServicesPayload, MapStoreRemoveServicePayload, ServiceState, SetLayersForServicePayload } from './types';
3
- import { layerActions } from '../layers/reducer';
4
- export declare const initialState: ServiceState;
5
- export declare const reducer: import("redux").Reducer<ServiceState, import("redux").AnyAction>;
6
- export declare const serviceActions: import("@reduxjs/toolkit").CaseReducerActions<{
7
- serviceSetLayers: (draft: Draft<ServiceState>, action: PayloadAction<SetLayersForServicePayload>) => void;
8
- mapStoreRemoveService: (draft: Draft<ServiceState>, action: PayloadAction<MapStoreRemoveServicePayload>) => void;
9
- fetchInitialServices: (draft: Draft<ServiceState>, action: PayloadAction<FetchInitialServicesPayload>) => void;
10
- }, "serviceReducer">;
11
- export type ServiceActions = ReturnType<typeof serviceActions.mapStoreRemoveService> | ReturnType<typeof serviceActions.serviceSetLayers> | ReturnType<typeof serviceActions.fetchInitialServices> | ReturnType<typeof layerActions.onUpdateLayerInformation>;
1
+ import { PayloadAction, Draft } from '@reduxjs/toolkit';
2
+ import { FetchInitialServicesPayload, MapStoreRemoveServicePayload, ServiceState, SetLayersForServicePayload } from './types';
3
+ import { layerActions } from '../layers/reducer';
4
+ export declare const initialState: ServiceState;
5
+ export declare const reducer: import("redux").Reducer<ServiceState>;
6
+ export declare const serviceActions: import("@reduxjs/toolkit").CaseReducerActions<{
7
+ serviceSetLayers: (draft: Draft<ServiceState>, action: PayloadAction<SetLayersForServicePayload>) => void;
8
+ mapStoreRemoveService: (draft: Draft<ServiceState>, action: PayloadAction<MapStoreRemoveServicePayload>) => void;
9
+ fetchInitialServices: (draft: Draft<ServiceState>, action: PayloadAction<FetchInitialServicesPayload>) => void;
10
+ }, "serviceReducer">;
11
+ export type ServiceActions = ReturnType<typeof serviceActions.mapStoreRemoveService> | ReturnType<typeof serviceActions.serviceSetLayers> | ReturnType<typeof serviceActions.fetchInitialServices> | ReturnType<typeof layerActions.onUpdateLayerInformation>;
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,80 +1,80 @@
1
- import { Style } from '@opengeoweb/webmap';
2
- import type { CoreAppStore } from '../../types';
3
- import { ServiceState, ReduxService } from './types';
4
- /**
5
- * Retrieves all serviceIds
6
- *
7
- * Example: serviceIds = getServiceIds(store)
8
- * @param {object} store store: object - object from which the service state will be extracted
9
- * @returns {array} returnType: array - an array of all serviceIds
10
- */
11
- export declare const getServiceIds: ((state: CoreAppStore) => string[]) & import("reselect").OutputSelectorFields<(args_0: ServiceState | undefined) => string[], {
12
- clearCache: () => void;
13
- }> & {
14
- clearCache: () => void;
15
- };
16
- /**
17
- * Gets map services
18
- *
19
- * Example: services = getServices(store)
20
- * @param {object} store store: object - Store object
21
- * @returns {object} returnType: ServiceState
22
- */
23
- export declare const getServices: ((state: CoreAppStore) => import("./types").Services) & import("reselect").OutputSelectorFields<(args_0: ServiceState | undefined) => import("./types").Services, {
24
- clearCache: () => void;
25
- }> & {
26
- clearCache: () => void;
27
- };
28
- /**
29
- * Gets the service object by its url
30
- *
31
- * Example: service = getServiceByName(store, 'serviceName')
32
- * @param {object} store store: object - Store object
33
- * @returns {ReduxService} returnType: Service
34
- */
35
- export declare const getServiceByUrl: ((state: CoreAppStore, serviceUrl: string) => ReduxService | undefined) & import("reselect").OutputSelectorFields<(args_0: ServiceState | undefined, args_1: string) => ReduxService | undefined, {
36
- clearCache: () => void;
37
- }> & {
38
- clearCache: () => void;
39
- };
40
- /**
41
- * Gets the layer from the store using the serviceUrl and layerName
42
- *
43
- * Example: layers = getLayersFromService(store, 'https://geoservices.knmi.nl/...')
44
- * @param {object} store store: object - object from which the layers state will be extracted
45
- * @param {string} serviceUrl serviceUrl: string - Url of the service where the layer belongs to
46
- * @returns {array} returnType: ServiceLayer[] - All layers within the service object.
47
- */
48
- export declare const getLayersFromServiceSelector: ((state: CoreAppStore, serviceUrl: string) => import("@opengeoweb/webmap").LayerProps[]) & import("reselect").OutputSelectorFields<(args_0: ReduxService | undefined) => import("@opengeoweb/webmap").LayerProps[], {
49
- clearCache: () => void;
50
- }> & {
51
- clearCache: () => void;
52
- };
53
- /**
54
- * Gets the layer from the store using the serviceUrl and layerName
55
- *
56
- * Example: layer = getLayerFromService(store, 'https://geoservices.knmi.nl/...', 'radar')
57
- * @param {object} store store: object - The application store
58
- * @param {string} serviceUrl serviceUrl: string - Url of the service where the layer belongs to
59
- * @param {string} layerName layerName: string - Name of the layer in the service
60
- * @returns {ServiceLayer} returnType: ServiceLayer - The layer from the service object.
61
- */
62
- export declare const getLayerFromService: ((state: CoreAppStore, _serviceUrl: string, layerName: string) => import("@opengeoweb/webmap").LayerProps | undefined) & import("reselect").OutputSelectorFields<(args_0: import("@opengeoweb/webmap").LayerProps[], args_1: string) => import("@opengeoweb/webmap").LayerProps | undefined, {
63
- clearCache: () => void;
64
- }> & {
65
- clearCache: () => void;
66
- };
67
- /**
68
- * Gets the layers stylelist from the servicestore using the serviceUrl and layerName
69
- *
70
- * Example: layerStyles = getLayerStyles(store, layerService, layerName);
71
- * @param {object} store store: object - store from which the layers state will be extracted
72
- * @param {string} serviceUrl serviceUrl: string - Url of the service where the layer belongs to
73
- * @param {string} layerName layerName: string - Name of the layer in the service
74
- * @returns {array} returnType: Style[] - array containing layer styles
75
- */
76
- export declare const getLayerStyles: ((state: CoreAppStore, _serviceUrl: string, layerName: string) => Style[]) & import("reselect").OutputSelectorFields<(args_0: import("@opengeoweb/webmap").LayerProps | undefined) => Style[], {
77
- clearCache: () => void;
78
- }> & {
79
- clearCache: () => void;
80
- };
1
+ import { Style } from '@opengeoweb/webmap';
2
+ import type { CoreAppStore } from '../../types';
3
+ import { ServiceState, ReduxService } from './types';
4
+ /**
5
+ * Retrieves all serviceIds
6
+ *
7
+ * Example: serviceIds = getServiceIds(store)
8
+ * @param {object} store store: object - object from which the service state will be extracted
9
+ * @returns {array} returnType: array - an array of all serviceIds
10
+ */
11
+ export declare const getServiceIds: ((state: CoreAppStore) => string[]) & import("reselect").OutputSelectorFields<(args_0: ServiceState | undefined) => string[], {
12
+ clearCache: () => void;
13
+ }> & {
14
+ clearCache: () => void;
15
+ };
16
+ /**
17
+ * Gets map services
18
+ *
19
+ * Example: services = getServices(store)
20
+ * @param {object} store store: object - Store object
21
+ * @returns {object} returnType: ServiceState
22
+ */
23
+ export declare const getServices: ((state: CoreAppStore) => import("./types").Services) & import("reselect").OutputSelectorFields<(args_0: ServiceState | undefined) => import("./types").Services, {
24
+ clearCache: () => void;
25
+ }> & {
26
+ clearCache: () => void;
27
+ };
28
+ /**
29
+ * Gets the service object by its url
30
+ *
31
+ * Example: service = getServiceByName(store, 'serviceName')
32
+ * @param {object} store store: object - Store object
33
+ * @returns {ReduxService} returnType: Service
34
+ */
35
+ export declare const getServiceByUrl: ((state: CoreAppStore, serviceUrl: string) => ReduxService | undefined) & import("reselect").OutputSelectorFields<(args_0: ServiceState | undefined, args_1: string) => ReduxService | undefined, {
36
+ clearCache: () => void;
37
+ }> & {
38
+ clearCache: () => void;
39
+ };
40
+ /**
41
+ * Gets the layer from the store using the serviceUrl and layerName
42
+ *
43
+ * Example: layers = getLayersFromService(store, 'https://geoservices.knmi.nl/...')
44
+ * @param {object} store store: object - object from which the layers state will be extracted
45
+ * @param {string} serviceUrl serviceUrl: string - Url of the service where the layer belongs to
46
+ * @returns {array} returnType: ServiceLayer[] - All layers within the service object.
47
+ */
48
+ export declare const getLayersFromServiceSelector: ((state: CoreAppStore, serviceUrl: string) => import("@opengeoweb/webmap").LayerProps[]) & import("reselect").OutputSelectorFields<(args_0: ReduxService | undefined) => import("@opengeoweb/webmap").LayerProps[], {
49
+ clearCache: () => void;
50
+ }> & {
51
+ clearCache: () => void;
52
+ };
53
+ /**
54
+ * Gets the layer from the store using the serviceUrl and layerName
55
+ *
56
+ * Example: layer = getLayerFromService(store, 'https://geoservices.knmi.nl/...', 'radar')
57
+ * @param {object} store store: object - The application store
58
+ * @param {string} serviceUrl serviceUrl: string - Url of the service where the layer belongs to
59
+ * @param {string} layerName layerName: string - Name of the layer in the service
60
+ * @returns {ServiceLayer} returnType: ServiceLayer - The layer from the service object.
61
+ */
62
+ export declare const getLayerFromService: ((state: CoreAppStore, _serviceUrl: string, layerName: string) => import("@opengeoweb/webmap").LayerProps | undefined) & import("reselect").OutputSelectorFields<(args_0: import("@opengeoweb/webmap").LayerProps[], args_1: string) => import("@opengeoweb/webmap").LayerProps | undefined, {
63
+ clearCache: () => void;
64
+ }> & {
65
+ clearCache: () => void;
66
+ };
67
+ /**
68
+ * Gets the layers stylelist from the servicestore using the serviceUrl and layerName
69
+ *
70
+ * Example: layerStyles = getLayerStyles(store, layerService, layerName);
71
+ * @param {object} store store: object - store from which the layers state will be extracted
72
+ * @param {string} serviceUrl serviceUrl: string - Url of the service where the layer belongs to
73
+ * @param {string} layerName layerName: string - Name of the layer in the service
74
+ * @returns {array} returnType: Style[] - array containing layer styles
75
+ */
76
+ export declare const getLayerStyles: ((state: CoreAppStore, _serviceUrl: string, layerName: string) => Style[]) & import("reselect").OutputSelectorFields<(args_0: import("@opengeoweb/webmap").LayerProps | undefined) => Style[], {
77
+ clearCache: () => void;
78
+ }> & {
79
+ clearCache: () => void;
80
+ };
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,50 +1,50 @@
1
- import { LayerProps } from '@opengeoweb/webmap';
2
- export interface InitialService {
3
- id: string;
4
- name: string;
5
- url: string;
6
- scope?: ServiceScope;
7
- abstract?: string;
8
- }
9
- export type NoIdService = Omit<InitialService, 'id'>;
10
- export type UserAddedServices = Record<string, NoIdService>;
11
- export type Services = Record<string, ReduxService>;
12
- export type ServiceScope = 'user' | 'system';
13
- export interface ReduxService {
14
- id?: string;
15
- name?: string;
16
- serviceUrl?: string;
17
- active?: boolean;
18
- layers?: ServiceLayer[];
19
- scope?: ServiceScope;
20
- }
21
- /**
22
- Used in the services object of webmap to keep a list of available layers in the service
23
- */
24
- export type ServiceLayer = LayerProps;
25
- export interface ServiceState {
26
- byId: Services;
27
- allIds: string[];
28
- }
29
- export interface SetLayersForServicePayload {
30
- id: string;
31
- name: string;
32
- serviceUrl: string;
33
- abstract?: string;
34
- layers: ServiceLayer[];
35
- scope: ServiceScope;
36
- isUpdating?: boolean;
37
- }
38
- export interface MapStoreRemoveServicePayload {
39
- id: string;
40
- serviceUrl: string;
41
- }
42
- export interface FetchInitialServicesPayload {
43
- services: InitialService[];
44
- }
45
- export interface ServiceFilterSettings {
46
- enabledServiceIds: string[];
47
- searchString: string;
48
- checkedFilterIds: string[];
49
- allFiltersActive: boolean;
50
- }
1
+ import { LayerProps } from '@opengeoweb/webmap';
2
+ export interface InitialService {
3
+ id: string;
4
+ name: string;
5
+ url: string;
6
+ scope?: ServiceScope;
7
+ abstract?: string;
8
+ }
9
+ export type NoIdService = Omit<InitialService, 'id'>;
10
+ export type UserAddedServices = Record<string, NoIdService>;
11
+ export type Services = Record<string, ReduxService>;
12
+ export type ServiceScope = 'user' | 'system';
13
+ export interface ReduxService {
14
+ id?: string;
15
+ name?: string;
16
+ serviceUrl?: string;
17
+ active?: boolean;
18
+ layers?: ServiceLayer[];
19
+ scope?: ServiceScope;
20
+ }
21
+ /**
22
+ Used in the services object of webmap to keep a list of available layers in the service
23
+ */
24
+ export type ServiceLayer = LayerProps;
25
+ export interface ServiceState {
26
+ byId: Services;
27
+ allIds: string[];
28
+ }
29
+ export interface SetLayersForServicePayload {
30
+ id: string;
31
+ name: string;
32
+ serviceUrl: string;
33
+ abstract?: string;
34
+ layers: ServiceLayer[];
35
+ scope: ServiceScope;
36
+ isUpdating?: boolean;
37
+ }
38
+ export interface MapStoreRemoveServicePayload {
39
+ id: string;
40
+ serviceUrl: string;
41
+ }
42
+ export interface FetchInitialServicesPayload {
43
+ services: InitialService[];
44
+ }
45
+ export interface ServiceFilterSettings {
46
+ enabledServiceIds: string[];
47
+ searchString: string;
48
+ checkedFilterIds: string[];
49
+ allFiltersActive: boolean;
50
+ }
@@ -1,7 +1,7 @@
1
- import { Style, WMLayer } from '@opengeoweb/webmap';
2
- import { serviceTypes } from './service';
3
- export declare const WmLayerWithoutTimeDimension: WMLayer, WmMultiDimensionLayer: WMLayer, layerWithoutTimeDimension: import("@opengeoweb/webmap").LayerOptions;
4
- export declare const styleListForRADNLOPERR25PCPRRL3KNMILayer: Style[];
5
- export declare const defaultReduxServices: serviceTypes.Services;
6
- export declare const WmMultiDimensionLayer2: WMLayer;
7
- export declare const WmMultiDimensionServices: serviceTypes.Services;
1
+ import { Style, WMLayer } from '@opengeoweb/webmap';
2
+ import { serviceTypes } from './service';
3
+ export declare const WmLayerWithoutTimeDimension: WMLayer, WmMultiDimensionLayer: WMLayer, layerWithoutTimeDimension: import("@opengeoweb/webmap").LayerOptions;
4
+ export declare const styleListForRADNLOPERR25PCPRRL3KNMILayer: Style[];
5
+ export declare const defaultReduxServices: serviceTypes.Services;
6
+ export declare const WmMultiDimensionLayer2: WMLayer;
7
+ export declare const WmMultiDimensionServices: serviceTypes.Services;
@@ -1,17 +1,17 @@
1
- import { LayerType } from '@opengeoweb/webmap';
2
- import type { CoreAppStore } from '../types';
3
- import { layerTypes } from './layers';
4
- import { mapTypes } from './map';
5
- import { WebMapStateModuleState } from './types';
6
- export declare const createLayersState: (layerId: string, props?: {}) => layerTypes.LayerState;
7
- export declare const createMultipleLayersState: (layers: layerTypes.Layer[], mapId: string) => layerTypes.LayerState;
8
- export declare const createWebmapState: (...mapIds: string[]) => mapTypes.WebMapState;
9
- export declare const createMapDimensionsState: (dimensions?: mapTypes.Dimension[], ...mapIds: string[]) => mapTypes.WebMapState;
10
- export declare const webmapStateWithAddedLayer: (layerType: LayerType, layerId: string, mapId: string, dimensions?: mapTypes.Dimension[]) => mapTypes.WebMapState;
11
- export declare const mockStateMapWithLayer: (layer: layerTypes.Layer, mapId: string) => CoreAppStore;
12
- export declare const mockStateMapWithMultipleLayers: (layers: layerTypes.Layer[], mapId: string) => CoreAppStore;
13
- export declare const testGeoJSON: GeoJSON.FeatureCollection;
14
- export declare const mockStateMapWithAnimationDelayWithoutLayers: (mapId: string) => WebMapStateModuleState;
15
- export declare const mockStateMapWithTimeSliderSpanWithoutLayers: (mapId: string, timeSliderSpan: number) => WebMapStateModuleState;
16
- export declare const mockStateMapWithDimensions: (layer: layerTypes.Layer, mapId: string) => WebMapStateModuleState;
17
- export declare const mockStateMapWithTimeStepWithoutLayers: (mapId: string, timeStep: number) => WebMapStateModuleState;
1
+ import { LayerType } from '@opengeoweb/webmap';
2
+ import type { CoreAppStore } from '../types';
3
+ import { layerTypes } from './layers';
4
+ import { mapTypes } from './map';
5
+ import { WebMapStateModuleState } from './types';
6
+ export declare const createLayersState: (layerId: string, props?: {}) => layerTypes.LayerState;
7
+ export declare const createMultipleLayersState: (layers: layerTypes.Layer[], mapId: string) => layerTypes.LayerState;
8
+ export declare const createWebmapState: (...mapIds: string[]) => mapTypes.WebMapState;
9
+ export declare const createMapDimensionsState: (dimensions?: mapTypes.Dimension[], ...mapIds: string[]) => mapTypes.WebMapState;
10
+ export declare const webmapStateWithAddedLayer: (layerType: LayerType, layerId: string, mapId: string, dimensions?: mapTypes.Dimension[]) => mapTypes.WebMapState;
11
+ export declare const mockStateMapWithLayer: (layer: layerTypes.Layer, mapId: string) => CoreAppStore;
12
+ export declare const mockStateMapWithMultipleLayers: (layers: layerTypes.Layer[], mapId: string) => CoreAppStore;
13
+ export declare const testGeoJSON: GeoJSON.FeatureCollection;
14
+ export declare const mockStateMapWithAnimationDelayWithoutLayers: (mapId: string) => WebMapStateModuleState;
15
+ export declare const mockStateMapWithTimeSliderSpanWithoutLayers: (mapId: string, timeSliderSpan: number) => WebMapStateModuleState;
16
+ export declare const mockStateMapWithDimensions: (layer: layerTypes.Layer, mapId: string) => WebMapStateModuleState;
17
+ export declare const mockStateMapWithTimeStepWithoutLayers: (mapId: string, timeStep: number) => WebMapStateModuleState;
@@ -1,11 +1,11 @@
1
- import { LayerState } from './layers/types';
2
- import { WebMapState } from './map/types';
3
- import { ServiceState } from './service/types';
4
- export * from './map/types';
5
- export * from './layers/types';
6
- export * from './service/types';
7
- export interface WebMapStateModuleState {
8
- webmap?: WebMapState;
9
- services?: ServiceState;
10
- layers?: LayerState;
11
- }
1
+ import { LayerState } from './layers/types';
2
+ import { WebMapState } from './map/types';
3
+ import { ServiceState } from './service/types';
4
+ export * from './map/types';
5
+ export * from './layers/types';
6
+ export * from './service/types';
7
+ export interface WebMapStateModuleState {
8
+ webmap?: WebMapState;
9
+ services?: ServiceState;
10
+ layers?: LayerState;
11
+ }
@@ -1,4 +1,4 @@
1
- import { Store } from '@reduxjs/toolkit';
2
- import { Egg } from '@redux-eggs/core';
3
- import { RouterModuleStore } from './types';
4
- export declare const routerModuleConfig: Egg<Store<RouterModuleStore>>;
1
+ import { Store } from '@reduxjs/toolkit';
2
+ import { Egg } from '@redux-eggs/core';
3
+ import { RouterModuleStore } from './types';
4
+ export declare const routerModuleConfig: Egg<Store<RouterModuleStore>>;
@@ -1,3 +1,3 @@
1
- export { routerActions } from './reducer';
2
- export * as routerUtils from './utils';
3
- export * from './config';
1
+ export { routerActions } from './reducer';
2
+ export * as routerUtils from './utils';
3
+ export * from './config';
@@ -1,2 +1,2 @@
1
- import { RouterModuleStore } from './types';
2
- export declare const routerListener: import("@reduxjs/toolkit").ListenerMiddlewareInstance<RouterModuleStore, import("@reduxjs/toolkit").ThunkDispatch<RouterModuleStore, unknown, import("redux").AnyAction>, unknown>;
1
+ import { RouterModuleStore } from './types';
2
+ export declare const routerListener: import("@reduxjs/toolkit").ListenerMiddlewareInstance<RouterModuleStore, import("@reduxjs/toolkit").ThunkDispatch<RouterModuleStore, unknown, import("redux").AnyAction>, unknown>;
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,9 +1,9 @@
1
- import { Draft } from 'immer';
2
- import { PayloadAction } from '@reduxjs/toolkit';
3
- import { NavigateToUrlPayload } from './types';
4
- export declare const initialState: {};
5
- export declare const reducer: import("redux").Reducer<{}, import("redux").AnyAction>;
6
- export declare const routerActions: import("@reduxjs/toolkit").CaseReducerActions<{
7
- navigateToUrl: (draft: Draft<unknown>, action: PayloadAction<NavigateToUrlPayload>) => void;
8
- }, "router">;
9
- export type RouterActions = ReturnType<typeof routerActions.navigateToUrl>;
1
+ import { Draft } from 'immer';
2
+ import { PayloadAction } from '@reduxjs/toolkit';
3
+ import { NavigateToUrlPayload } from './types';
4
+ export declare const initialState: {};
5
+ export declare const reducer: import("redux").Reducer<{}>;
6
+ export declare const routerActions: import("@reduxjs/toolkit").CaseReducerActions<{
7
+ navigateToUrl: (draft: Draft<unknown>, action: PayloadAction<NavigateToUrlPayload>) => void;
8
+ }, "router">;
9
+ export type RouterActions = ReturnType<typeof routerActions.navigateToUrl>;
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,6 +1,6 @@
1
- export interface RouterModuleStore {
2
- router?: Record<string, never>;
3
- }
4
- export interface NavigateToUrlPayload {
5
- url: string;
6
- }
1
+ export interface RouterModuleStore {
2
+ router?: Record<string, never>;
3
+ }
4
+ export interface NavigateToUrlPayload {
5
+ url: string;
6
+ }
@@ -1,3 +1,3 @@
1
- export declare const historyDict: {
2
- navigate: any;
3
- };
1
+ export declare const historyDict: {
2
+ navigate: any;
3
+ };
@@ -1,13 +1,13 @@
1
- import React from 'react';
2
- import { Store } from '@reduxjs/toolkit';
3
- export declare const createCustomStore: () => Store;
4
- /**
5
- * A Provider component which provides the GeoWeb theme and store for the core.
6
- * Note: Should only be used with core components, as the provided store is only for core.
7
- * @param children
8
- * @returns
9
- */
10
- export declare const StoreProvider: React.FC<{
11
- children?: React.ReactNode;
12
- store: Store;
13
- }>;
1
+ import React from 'react';
2
+ import { Store } from '@reduxjs/toolkit';
3
+ export declare const createCustomStore: () => Store;
4
+ /**
5
+ * A Provider component which provides the GeoWeb theme and store for the core.
6
+ * Note: Should only be used with core components, as the provided store is only for core.
7
+ * @param children
8
+ * @returns
9
+ */
10
+ export declare const StoreProvider: React.FC<{
11
+ children?: React.ReactNode;
12
+ store: Store;
13
+ }>;
@@ -1,7 +1,7 @@
1
- import type { WebMapStateModuleState } from './mapStore/types';
2
- import type { SynchronizationGroupModuleState } from './generic/synchronizationGroups/types';
3
- import type { uiTypes } from '.';
4
- import type { DrawtoolModuleStore } from './drawingtool';
5
- import type { LoadingIndicatorModuleState } from './generic/loadingIndicator/types';
6
- export interface CoreAppStore extends SynchronizationGroupModuleState, LoadingIndicatorModuleState, uiTypes.UIModuleState, WebMapStateModuleState, DrawtoolModuleStore {
7
- }
1
+ import type { WebMapStateModuleState } from './mapStore/types';
2
+ import type { SynchronizationGroupModuleState } from './generic/synchronizationGroups/types';
3
+ import type { uiTypes } from '.';
4
+ import type { DrawtoolModuleStore } from './drawingtool';
5
+ import type { LoadingIndicatorModuleState } from './generic/loadingIndicator/types';
6
+ export interface CoreAppStore extends SynchronizationGroupModuleState, LoadingIndicatorModuleState, uiTypes.UIModuleState, WebMapStateModuleState, DrawtoolModuleStore {
7
+ }