@opengeoweb/webmap-react 9.28.1 → 9.29.1

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 (126) hide show
  1. package/index.esm.js +251 -245
  2. package/package.json +1 -1
  3. package/src/index.d.ts +5 -5
  4. package/src/lib/components/Axis/ProfileAxis.d.ts +8 -8
  5. package/src/lib/components/Axis/ProfileAxis.spec.d.ts +1 -1
  6. package/src/lib/components/Axis/ProfileAxis.stories.d.ts +9 -9
  7. package/src/lib/components/Axis/profileUtils.d.ts +17 -17
  8. package/src/lib/components/Axis/profileUtils.spec.d.ts +1 -1
  9. package/src/lib/components/LayerInfo/LayerInfoButton.d.ts +9 -9
  10. package/src/lib/components/LayerInfo/LayerInfoButton.spec.d.ts +1 -1
  11. package/src/lib/components/LayerInfo/LayerInfoDialog.d.ts +14 -14
  12. package/src/lib/components/LayerInfo/LayerInfoDialog.spec.d.ts +1 -1
  13. package/src/lib/components/LayerInfo/LayerInfoDialog.stories.d.ts +25 -25
  14. package/src/lib/components/LayerInfo/LayerInfoLegend.d.ts +9 -9
  15. package/src/lib/components/LayerInfo/LayerInfoLegend.spec.d.ts +1 -1
  16. package/src/lib/components/LayerInfo/LayerInfoList.d.ts +11 -11
  17. package/src/lib/components/LayerInfo/LayerInfoText.d.ts +15 -15
  18. package/src/lib/components/LayerInfo/LayerInfoUtils.d.ts +9 -9
  19. package/src/lib/components/LayerInfo/LayerInfoUtils.spec.d.ts +1 -1
  20. package/src/lib/components/LayerInfo/index.d.ts +6 -6
  21. package/src/lib/components/Legend/Legend.d.ts +7 -7
  22. package/src/lib/components/Legend/Legend.spec.d.ts +1 -1
  23. package/src/lib/components/Legend/Legend.stories.d.ts +8 -8
  24. package/src/lib/components/Legend/LegendButton.d.ts +5 -5
  25. package/src/lib/components/Legend/LegendButton.spec.d.ts +1 -1
  26. package/src/lib/components/Legend/LegendDialog.d.ts +15 -15
  27. package/src/lib/components/Legend/LegendDialog.spec.d.ts +1 -1
  28. package/src/lib/components/Legend/LegendLayout.d.ts +13 -13
  29. package/src/lib/components/Legend/LegendLayout.spec.d.ts +1 -1
  30. package/src/lib/components/Legend/index.d.ts +4 -4
  31. package/src/lib/components/MapControls/MapControlButton.d.ts +10 -10
  32. package/src/lib/components/MapControls/MapControlButton.spec.d.ts +1 -1
  33. package/src/lib/components/MapControls/MapControls.d.ts +7 -7
  34. package/src/lib/components/MapControls/MapControls.spec.d.ts +1 -1
  35. package/src/lib/components/MapControls/ZoomControls.d.ts +8 -8
  36. package/src/lib/components/MapControls/ZoomControls.spec.d.ts +1 -1
  37. package/src/lib/components/MapControls/index.d.ts +3 -3
  38. package/src/lib/components/MapDimensionSelect/DimensionSelectButton.d.ts +8 -8
  39. package/src/lib/components/MapDimensionSelect/DimensionSelectButton.spec.d.ts +1 -1
  40. package/src/lib/components/MapDimensionSelect/DimensionSelectDialog.d.ts +14 -14
  41. package/src/lib/components/MapDimensionSelect/DimensionSelectDialog.stories.d.ts +29 -29
  42. package/src/lib/components/MapDimensionSelect/DimensionSelectSlider.d.ts +14 -14
  43. package/src/lib/components/MapDimensionSelect/DimensionSelectSlider.spec.d.ts +1 -1
  44. package/src/lib/components/MapDimensionSelect/MapDimensionSelect.d.ts +11 -11
  45. package/src/lib/components/MapDimensionSelect/MapDimensionSelect.spec.d.ts +1 -1
  46. package/src/lib/components/MapDimensionSelect/MapDimensionSelect.stories.d.ts +7 -7
  47. package/src/lib/components/MapDimensionSelect/index.d.ts +6 -6
  48. package/src/lib/components/MapDimensionSelect/utils.d.ts +17 -17
  49. package/src/lib/components/MapDimensionSelect/utils.spec.d.ts +1 -1
  50. package/src/lib/components/MapDraw/MapDraw.d.ts +158 -158
  51. package/src/lib/components/MapDraw/MapDraw.spec.d.ts +1 -1
  52. package/src/lib/components/MapDraw/MapDraw.stories.d.ts +37 -37
  53. package/src/lib/components/MapDraw/MapDrawContainer.d.ts +23 -23
  54. package/src/lib/components/MapDraw/MapDrawContainer.spec.d.ts +1 -1
  55. package/src/lib/components/MapDraw/geojsonShapes.d.ts +19 -19
  56. package/src/lib/components/MapDraw/index.d.ts +5 -5
  57. package/src/lib/components/MapDraw/mapDrawUtils.d.ts +44 -44
  58. package/src/lib/components/MapDraw/mapDrawUtils.spec.d.ts +1 -1
  59. package/src/lib/components/MapDraw/storyComponents/EditModeButton.d.ts +8 -8
  60. package/src/lib/components/MapDraw/storyComponents/FeatureInfo.d.ts +3 -3
  61. package/src/lib/components/MapDraw/storyComponents/FeatureInfoHTML.d.ts +3 -3
  62. package/src/lib/components/MapDraw/storyComponents/FeatureLayers.d.ts +9 -9
  63. package/src/lib/components/MapDraw/storyComponents/GeoJSONTextField.d.ts +11 -11
  64. package/src/lib/components/MapDraw/storyComponents/IntersectionSelect.d.ts +12 -12
  65. package/src/lib/components/MapDraw/storyComponents/MapDrawGeoJSON.d.ts +3 -3
  66. package/src/lib/components/MapDraw/storyComponents/SelectField.d.ts +10 -10
  67. package/src/lib/components/MapDraw/storyComponents/StoryLayout.d.ts +10 -10
  68. package/src/lib/components/MapDraw/storyComponents/StoryLayoutGrid.d.ts +5 -5
  69. package/src/lib/components/MapDraw/storyComponents/Synops.d.ts +3 -3
  70. package/src/lib/components/MapDraw/storyComponents/ToolButton.d.ts +10 -10
  71. package/src/lib/components/MapDraw/storyComponents/geojsonExamples.d.ts +12 -12
  72. package/src/lib/components/MapDraw/storyComponents/index.d.ts +8 -8
  73. package/src/lib/components/MapDraw/storyComponents/storyUtils.d.ts +49 -49
  74. package/src/lib/components/MapDrawTool/MapDrawTool.stories.d.ts +13 -13
  75. package/src/lib/components/MapDrawTool/MapDrawToolIntersection.stories.d.ts +11 -11
  76. package/src/lib/components/MapDrawTool/MapDrawToolMultipleDrawTools.stories.d.ts +6 -6
  77. package/src/lib/components/MapDrawTool/index.d.ts +7 -7
  78. package/src/lib/components/MapDrawTool/storyExamplesMapDrawTool.d.ts +10 -10
  79. package/src/lib/components/MapDrawTool/storyExamplesMapDrawToolIntersection.d.ts +10 -10
  80. package/src/lib/components/MapDrawTool/storyExamplesMapDrawToolMultipleDrawTools.d.ts +13 -13
  81. package/src/lib/components/MapDrawTool/types.d.ts +13 -13
  82. package/src/lib/components/MapDrawTool/useMapDrawTool.d.ts +53 -53
  83. package/src/lib/components/MapDrawTool/useMapDrawTool.spec.d.ts +1 -1
  84. package/src/lib/components/MapDrawTool/utils.d.ts +62 -62
  85. package/src/lib/components/MapDrawTool/utils.spec.d.ts +1 -1
  86. package/src/lib/components/MapTime/MapTime.d.ts +11 -11
  87. package/src/lib/components/MapTime/MapTime.spec.d.ts +1 -1
  88. package/src/lib/components/MapTime/index.d.ts +1 -1
  89. package/src/lib/components/MapView/MapView.Error.stories.d.ts +14 -14
  90. package/src/lib/components/MapView/MapView.MapPin.stories.d.ts +10 -10
  91. package/src/lib/components/MapView/MapView.Passive.stories.d.ts +10 -10
  92. package/src/lib/components/MapView/MapView.ProfileSounding.stories.d.ts +9 -9
  93. package/src/lib/components/MapView/MapView.RadarAnimation.stories.d.ts +10 -10
  94. package/src/lib/components/MapView/MapView.RadarData.stories.d.ts +10 -10
  95. package/src/lib/components/MapView/MapView.SetProjectionBBox.stories.d.ts +10 -10
  96. package/src/lib/components/MapView/MapView.SetProjectionBBoxLocalState.stories.d.ts +10 -10
  97. package/src/lib/components/MapView/MapView.ShiftToZoom.stories.d.ts +10 -10
  98. package/src/lib/components/MapView/MapView.ShowLayerInfo.stories.d.ts +10 -10
  99. package/src/lib/components/MapView/MapView.TiledBaseLayers.stories.d.ts +22 -22
  100. package/src/lib/components/MapView/MapView.d.ts +8 -8
  101. package/src/lib/components/MapView/MapView.spec.d.ts +1 -1
  102. package/src/lib/components/MapView/MapViewLayer.d.ts +16 -16
  103. package/src/lib/components/MapView/index.d.ts +2 -2
  104. package/src/lib/components/MapWarning/MapWarningProperties.d.ts +23 -23
  105. package/src/lib/components/MapWarning/MapWarningProperties.spec.d.ts +1 -1
  106. package/src/lib/components/MapWarning/index.d.ts +1 -1
  107. package/src/lib/components/Providers/Providers.d.ts +3 -3
  108. package/src/lib/components/Providers/index.d.ts +1 -1
  109. package/src/lib/components/ReactMapView/ReactMapView.d.ts +64 -64
  110. package/src/lib/components/ReactMapView/ReactMapView.spec.d.ts +2 -2
  111. package/src/lib/components/ReactMapView/ReactMapViewLayer.d.ts +8 -8
  112. package/src/lib/components/ReactMapView/ReactMapViewParseLayer.d.ts +4 -4
  113. package/src/lib/components/ReactMapView/ReactMapViewParseLayer.spec.d.ts +1 -1
  114. package/src/lib/components/ReactMapView/index.d.ts +5 -5
  115. package/src/lib/components/ReactMapView/types.d.ts +88 -86
  116. package/src/lib/components/ReactMapView/utils.d.ts +26 -26
  117. package/src/lib/components/ReactMapView/utils.spec.d.ts +1 -1
  118. package/src/lib/components/index.d.ts +12 -12
  119. package/src/lib/index.d.ts +3 -3
  120. package/src/lib/layers/defaultLayers.d.ts +15 -15
  121. package/src/lib/layers/defaultStorybookSettings.d.ts +9 -9
  122. package/src/lib/layers/index.d.ts +3 -3
  123. package/src/lib/layers/profileLayers.d.ts +19 -19
  124. package/src/lib/layers/publicLayers.d.ts +310 -310
  125. package/src/lib/layers/publicServices.d.ts +90 -90
  126. package/src/lib/utils/i18n.d.ts +6 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/webmap-react",
3
- "version": "9.28.1",
3
+ "version": "9.29.1",
4
4
  "description": "GeoWeb react wrapper for webmap",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
package/src/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { WEBMAP_NAMESPACE, webmapTranslations } from '@opengeoweb/webmap';
2
- import webmapReactTranslations from '../locales/webmap-react.json';
3
- export * from './lib';
4
- export { webmapReactTranslations };
5
- export { WEBMAP_NAMESPACE, webmapTranslations };
1
+ import { WEBMAP_NAMESPACE, webmapTranslations } from '@opengeoweb/webmap';
2
+ import webmapReactTranslations from '../locales/webmap-react.json';
3
+ export * from './lib';
4
+ export { webmapReactTranslations };
5
+ export { WEBMAP_NAMESPACE, webmapTranslations };
@@ -1,8 +1,8 @@
1
- import React from 'react';
2
- export interface ProfileAxisProps {
3
- mapId: string;
4
- }
5
- /**
6
- * This component registers to a webmap instance and draws axis for height and time in the map using the Map Canvas.
7
- */
8
- export declare const ProfileAxis: React.FC<ProfileAxisProps>;
1
+ import React from 'react';
2
+ export interface ProfileAxisProps {
3
+ mapId: string;
4
+ }
5
+ /**
6
+ * This component registers to a webmap instance and draws axis for height and time in the map using the Map Canvas.
7
+ */
8
+ export declare const ProfileAxis: React.FC<ProfileAxisProps>;
@@ -1 +1 @@
1
- import 'jest-canvas-mock';
1
+ import 'jest-canvas-mock';
@@ -1,9 +1,9 @@
1
- import * as React from 'react';
2
- export declare const ProfileAxisStory: {
3
- (): React.ReactElement;
4
- storyName: string;
5
- };
6
- declare const _default: {
7
- title: string;
8
- };
9
- export default _default;
1
+ import * as React from 'react';
2
+ export declare const ProfileAxisStory: {
3
+ (): React.ReactElement;
4
+ storyName: string;
5
+ };
6
+ declare const _default: {
7
+ title: string;
8
+ };
9
+ export default _default;
@@ -1,17 +1,17 @@
1
- export type GFIResult = [{
2
- data: {
3
- '0': number;
4
- };
5
- }];
6
- export declare const CEILONETSTATIONLAYERNAME = "hasceilometerWMONAME";
7
- export declare const CEILONETPROFILELAYERPREFIX = "ceilonet_";
8
- /**
9
- * Connects a Map with a WMS layer with ceilometer stations to a Map withj profile layers.
10
- * Clicking on the station map causes the layer in the profile map to be changed accordingly.
11
- * The layername comes from a GetFeatureInfo request on the stations layer.
12
- *
13
- * @param mapIdWithProfileViewer
14
- * @param mapIdWithCeilometerStations
15
- * @returns
16
- */
17
- export declare const connectProfileMapViewToProfileStationsMapById: (mapIdWithProfileViewer: string, mapIdWithCeilometerStations: string) => void;
1
+ export type GFIResult = [{
2
+ data: {
3
+ '0': number;
4
+ };
5
+ }];
6
+ export declare const CEILONETSTATIONLAYERNAME = "hasceilometerWMONAME";
7
+ export declare const CEILONETPROFILELAYERPREFIX = "ceilonet_";
8
+ /**
9
+ * Connects a Map with a WMS layer with ceilometer stations to a Map withj profile layers.
10
+ * Clicking on the station map causes the layer in the profile map to be changed accordingly.
11
+ * The layername comes from a GetFeatureInfo request on the stations layer.
12
+ *
13
+ * @param mapIdWithProfileViewer
14
+ * @param mapIdWithCeilometerStations
15
+ * @returns
16
+ */
17
+ export declare const connectProfileMapViewToProfileStationsMapById: (mapIdWithProfileViewer: string, mapIdWithCeilometerStations: string) => void;
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,9 +1,9 @@
1
- import React from 'react';
2
- import { CustomIconProps } from '@opengeoweb/shared';
3
- interface LayerInfoButtonProps extends CustomIconProps {
4
- disabled?: boolean;
5
- isActive?: boolean;
6
- onClick?: () => void;
7
- }
8
- export declare const LayerInfoButton: React.FC<LayerInfoButtonProps>;
9
- export {};
1
+ import React from 'react';
2
+ import { CustomIconProps } from '@opengeoweb/shared';
3
+ interface LayerInfoButtonProps extends CustomIconProps {
4
+ disabled?: boolean;
5
+ isActive?: boolean;
6
+ onClick?: () => void;
7
+ }
8
+ export declare const LayerInfoButton: React.FC<LayerInfoButtonProps>;
9
+ export {};
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,14 +1,14 @@
1
- import React from 'react';
2
- import { Source } from '@opengeoweb/shared';
3
- import { LayerProps } from '@opengeoweb/webmap';
4
- export interface LayerInfoDialogProps {
5
- layer: LayerProps;
6
- serviceName: string;
7
- onClose: () => void;
8
- isOpen: boolean;
9
- onMouseDown?: () => void;
10
- order?: number;
11
- source?: Source;
12
- dialogHeight?: number;
13
- }
14
- export declare const LayerInfoDialog: React.FC<LayerInfoDialogProps>;
1
+ import React from 'react';
2
+ import { Source } from '@opengeoweb/shared';
3
+ import { LayerProps } from '@opengeoweb/webmap';
4
+ export interface LayerInfoDialogProps {
5
+ layer: LayerProps;
6
+ serviceName: string;
7
+ onClose: () => void;
8
+ isOpen: boolean;
9
+ onMouseDown?: () => void;
10
+ order?: number;
11
+ source?: Source;
12
+ dialogHeight?: number;
13
+ }
14
+ export declare const LayerInfoDialog: React.FC<LayerInfoDialogProps>;
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,25 +1,25 @@
1
- import * as React from 'react';
2
- declare const _default: {
3
- title: string;
4
- };
5
- export default _default;
6
- export declare const LayerInfoDialogLight: {
7
- (): React.ReactElement;
8
- tags: string[];
9
- parameters: {
10
- zeplinLink: {
11
- name: string;
12
- link: string;
13
- }[];
14
- };
15
- };
16
- export declare const LayerInfoDialogDark: {
17
- (): React.ReactElement;
18
- tags: string[];
19
- parameters: {
20
- zeplinLink: {
21
- name: string;
22
- link: string;
23
- }[];
24
- };
25
- };
1
+ import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
+ export default _default;
6
+ export declare const LayerInfoDialogLight: {
7
+ (): React.ReactElement;
8
+ tags: string[];
9
+ parameters: {
10
+ zeplinLink: {
11
+ name: string;
12
+ link: string;
13
+ }[];
14
+ };
15
+ };
16
+ export declare const LayerInfoDialogDark: {
17
+ (): React.ReactElement;
18
+ tags: string[];
19
+ parameters: {
20
+ zeplinLink: {
21
+ name: string;
22
+ link: string;
23
+ }[];
24
+ };
25
+ };
@@ -1,9 +1,9 @@
1
- import React from 'react';
2
- import { Dimension } from '@opengeoweb/webmap';
3
- export interface LayerInfoLegendProps {
4
- title: string;
5
- name: string;
6
- dimensions: Dimension[];
7
- legendURL: string;
8
- }
9
- export declare const LayerInfoLegend: React.FC<LayerInfoLegendProps>;
1
+ import React from 'react';
2
+ import { Dimension } from '@opengeoweb/webmap';
3
+ export interface LayerInfoLegendProps {
4
+ title: string;
5
+ name: string;
6
+ dimensions: Dimension[];
7
+ legendURL: string;
8
+ }
9
+ export declare const LayerInfoLegend: React.FC<LayerInfoLegendProps>;
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,11 +1,11 @@
1
- import React from 'react';
2
- export interface ListItem {
3
- label: string;
4
- value: string;
5
- icon: React.ReactElement;
6
- }
7
- export interface LayerInfoListProps {
8
- label: string;
9
- list: ListItem[];
10
- }
11
- export declare const LayerInfoList: React.FC<LayerInfoListProps>;
1
+ import React from 'react';
2
+ export interface ListItem {
3
+ label: string;
4
+ value: string;
5
+ icon: React.ReactElement;
6
+ }
7
+ export interface LayerInfoListProps {
8
+ label: string;
9
+ list: ListItem[];
10
+ }
11
+ export declare const LayerInfoList: React.FC<LayerInfoListProps>;
@@ -1,15 +1,15 @@
1
- import React from 'react';
2
- export interface LayerInfoTextProps {
3
- label: string;
4
- value: string;
5
- }
6
- export declare const textStyle: {
7
- lineHeight: string;
8
- letterSpacing: string;
9
- };
10
- export declare const textStyleWithMargin: {
11
- marginBottom: number;
12
- lineHeight: string;
13
- letterSpacing: string;
14
- };
15
- export declare const LayerInfoText: React.FC<LayerInfoTextProps>;
1
+ import React from 'react';
2
+ export interface LayerInfoTextProps {
3
+ label: string;
4
+ value: string;
5
+ }
6
+ export declare const textStyle: {
7
+ lineHeight: string;
8
+ letterSpacing: string;
9
+ };
10
+ export declare const textStyleWithMargin: {
11
+ marginBottom: number;
12
+ lineHeight: string;
13
+ letterSpacing: string;
14
+ };
15
+ export declare const LayerInfoText: React.FC<LayerInfoTextProps>;
@@ -1,9 +1,9 @@
1
- import React from 'react';
2
- import { Dimension, LayerProps } from '@opengeoweb/webmap';
3
- import { ListItem } from './LayerInfoList';
4
- export declare const getLayerStyles: (layer: LayerProps) => string;
5
- export declare const getDimensionValue: (name: string, dimensions: Dimension[]) => string;
6
- export declare const getLayerBbox: (layer: LayerProps) => string;
7
- export declare const getDimensionIcon: (name: string, dimensions: Dimension[]) => React.ReactElement;
8
- export declare const getDimensionLabel: (name: string) => string;
9
- export declare const getDimensionsList: (dimensions: Dimension[]) => ListItem[];
1
+ import React from 'react';
2
+ import { Dimension, LayerProps } from '@opengeoweb/webmap';
3
+ import { ListItem } from './LayerInfoList';
4
+ export declare const getLayerStyles: (layer: LayerProps) => string;
5
+ export declare const getDimensionValue: (name: string, dimensions: Dimension[]) => string;
6
+ export declare const getLayerBbox: (layer: LayerProps) => string;
7
+ export declare const getDimensionIcon: (name: string, dimensions: Dimension[]) => React.ReactElement;
8
+ export declare const getDimensionLabel: (name: string) => string;
9
+ export declare const getDimensionsList: (dimensions: Dimension[]) => ListItem[];
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,6 +1,6 @@
1
- export * from './LayerInfoButton';
2
- export * from './LayerInfoDialog';
3
- export * from './LayerInfoLegend';
4
- export * from './LayerInfoList';
5
- export * from './LayerInfoText';
6
- export * from './LayerInfoUtils';
1
+ export * from './LayerInfoButton';
2
+ export * from './LayerInfoDialog';
3
+ export * from './LayerInfoLegend';
4
+ export * from './LayerInfoList';
5
+ export * from './LayerInfoText';
6
+ export * from './LayerInfoUtils';
@@ -1,7 +1,7 @@
1
- import React from 'react';
2
- import { LayerFoundation } from '@opengeoweb/webmap';
3
- interface LegendProps {
4
- layer: LayerFoundation;
5
- }
6
- export declare const Legend: React.FC<LegendProps>;
7
- export {};
1
+ import React from 'react';
2
+ import { LayerFoundation } from '@opengeoweb/webmap';
3
+ interface LegendProps {
4
+ layer: LayerFoundation;
5
+ }
6
+ export declare const Legend: React.FC<LegendProps>;
7
+ export {};
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,8 +1,8 @@
1
- import * as React from 'react';
2
- declare const _default: {
3
- title: string;
4
- };
5
- export default _default;
6
- export declare const SimpleLegend: () => React.ReactElement;
7
- export declare const SimpleLegendWithMultiDimensions: () => React.ReactElement;
8
- export declare const SimpleLegendWithoutDimensionsOrGraphic: () => React.ReactElement;
1
+ import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
+ export default _default;
6
+ export declare const SimpleLegend: () => React.ReactElement;
7
+ export declare const SimpleLegendWithMultiDimensions: () => React.ReactElement;
8
+ export declare const SimpleLegendWithoutDimensionsOrGraphic: () => React.ReactElement;
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- export declare const LegendButton: React.FC<{
3
- openLegendDialog: () => void;
4
- isOpen: boolean;
5
- }>;
1
+ import * as React from 'react';
2
+ export declare const LegendButton: React.FC<{
3
+ openLegendDialog: () => void;
4
+ isOpen: boolean;
5
+ }>;
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,15 +1,15 @@
1
- import * as React from 'react';
2
- import { Source } from '@opengeoweb/shared';
3
- import { LayerFoundation } from '@opengeoweb/webmap';
4
- interface LegendDialogProps {
5
- layers: LayerFoundation[];
6
- isOpen: boolean;
7
- onClose: () => void;
8
- onMouseDown?: () => void;
9
- mapId: string;
10
- showMapId?: boolean;
11
- order?: number;
12
- source?: Source;
13
- }
14
- export declare const LegendDialog: React.FC<LegendDialogProps>;
15
- export {};
1
+ import * as React from 'react';
2
+ import { Source } from '@opengeoweb/shared';
3
+ import { LayerFoundation } from '@opengeoweb/webmap';
4
+ interface LegendDialogProps {
5
+ layers: LayerFoundation[];
6
+ isOpen: boolean;
7
+ onClose: () => void;
8
+ onMouseDown?: () => void;
9
+ mapId: string;
10
+ showMapId?: boolean;
11
+ order?: number;
12
+ source?: Source;
13
+ }
14
+ export declare const LegendDialog: React.FC<LegendDialogProps>;
15
+ export {};
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,13 +1,13 @@
1
- import React from 'react';
2
- import { Dimension } from '@opengeoweb/webmap';
3
- interface LegendLayoutProps {
4
- title: string;
5
- name: string;
6
- dimensions: Dimension[];
7
- children: React.ReactNode;
8
- height?: number;
9
- width?: number;
10
- minWidth?: number;
11
- }
12
- export declare const LegendLayout: React.FC<LegendLayoutProps>;
13
- export {};
1
+ import React from 'react';
2
+ import { Dimension } from '@opengeoweb/webmap';
3
+ interface LegendLayoutProps {
4
+ title: string;
5
+ name: string;
6
+ dimensions: Dimension[];
7
+ children: React.ReactNode;
8
+ height?: number;
9
+ width?: number;
10
+ minWidth?: number;
11
+ }
12
+ export declare const LegendLayout: React.FC<LegendLayoutProps>;
13
+ export {};
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,4 +1,4 @@
1
- export * from './Legend';
2
- export * from './LegendLayout';
3
- export * from './LegendDialog';
4
- export * from './LegendButton';
1
+ export * from './Legend';
2
+ export * from './LegendLayout';
3
+ export * from './LegendDialog';
4
+ export * from './LegendButton';
@@ -1,10 +1,10 @@
1
- import * as React from 'react';
2
- import { TooltipProps } from '@mui/material';
3
- import { CustomIconProps } from '@opengeoweb/shared';
4
- interface MapControlButtonProps extends CustomIconProps {
5
- isActive?: boolean;
6
- placement?: TooltipProps['placement'];
7
- children: React.ReactNode;
8
- }
9
- export declare const MapControlButton: React.FC<MapControlButtonProps>;
10
- export {};
1
+ import * as React from 'react';
2
+ import { TooltipProps } from '@mui/material';
3
+ import { CustomIconProps } from '@opengeoweb/shared';
4
+ interface MapControlButtonProps extends CustomIconProps {
5
+ isActive?: boolean;
6
+ placement?: TooltipProps['placement'];
7
+ children: React.ReactNode;
8
+ }
9
+ export declare const MapControlButton: React.FC<MapControlButtonProps>;
10
+ export {};
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,7 +1,7 @@
1
- import * as React from 'react';
2
- interface MapControlsProps {
3
- children: React.ReactNode;
4
- style?: React.CSSProperties;
5
- }
6
- export declare const MapControls: React.FC<MapControlsProps>;
7
- export {};
1
+ import * as React from 'react';
2
+ interface MapControlsProps {
3
+ children: React.ReactNode;
4
+ style?: React.CSSProperties;
5
+ }
6
+ export declare const MapControls: React.FC<MapControlsProps>;
7
+ export {};
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,8 +1,8 @@
1
- import * as React from 'react';
2
- interface ZoomControlsProps {
3
- onZoomIn: () => void;
4
- onZoomOut: () => void;
5
- onZoomReset: () => void;
6
- }
7
- export declare const ZoomControls: React.FC<ZoomControlsProps>;
8
- export {};
1
+ import * as React from 'react';
2
+ interface ZoomControlsProps {
3
+ onZoomIn: () => void;
4
+ onZoomOut: () => void;
5
+ onZoomReset: () => void;
6
+ }
7
+ export declare const ZoomControls: React.FC<ZoomControlsProps>;
8
+ export {};
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,3 +1,3 @@
1
- export * from './ZoomControls';
2
- export * from './MapControlButton';
3
- export * from './MapControls';
1
+ export * from './ZoomControls';
2
+ export * from './MapControlButton';
3
+ export * from './MapControls';
@@ -1,8 +1,8 @@
1
- import * as React from 'react';
2
- interface DimensionSelectButtonProps {
3
- dimension: string;
4
- onClickDimensionButton: () => void;
5
- isActive?: boolean;
6
- }
7
- declare const DimensionSelectButton: React.FC<DimensionSelectButtonProps>;
8
- export default DimensionSelectButton;
1
+ import * as React from 'react';
2
+ interface DimensionSelectButtonProps {
3
+ dimension: string;
4
+ onClickDimensionButton: () => void;
5
+ isActive?: boolean;
6
+ }
7
+ declare const DimensionSelectButton: React.FC<DimensionSelectButtonProps>;
8
+ export default DimensionSelectButton;
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,14 +1,14 @@
1
- import * as React from 'react';
2
- import { Source } from '@opengeoweb/shared';
3
- export interface DimensionSelectProps {
4
- isOpen: boolean;
5
- order?: number;
6
- onMouseDown?: () => void;
7
- onClose?: () => void;
8
- source?: Source;
9
- dimensionName: string;
10
- index?: number;
11
- children?: React.ReactNode;
12
- }
13
- declare const DimensionSelectDialog: React.FC<DimensionSelectProps>;
14
- export default DimensionSelectDialog;
1
+ import * as React from 'react';
2
+ import { Source } from '@opengeoweb/shared';
3
+ export interface DimensionSelectProps {
4
+ isOpen: boolean;
5
+ order?: number;
6
+ onMouseDown?: () => void;
7
+ onClose?: () => void;
8
+ source?: Source;
9
+ dimensionName: string;
10
+ index?: number;
11
+ children?: React.ReactNode;
12
+ }
13
+ declare const DimensionSelectDialog: React.FC<DimensionSelectProps>;
14
+ export default DimensionSelectDialog;