@opengeoweb/core 4.4.0 → 4.5.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 (74) hide show
  1. package/index.esm.js +4548 -3662
  2. package/index.umd.js +4489 -3550
  3. package/lib/components/CanvasComponent/CanvasComponent.d.ts +2 -2
  4. package/lib/components/ConfigurableMap/ConfigurableMapConnect.d.ts +1 -0
  5. package/lib/components/LayerManager/BaseLayerRow/BaseLayerRow.d.ts +0 -2
  6. package/lib/components/LayerManager/DescriptionRow/DescriptionRow.d.ts +3 -8
  7. package/lib/components/LayerManager/DockedLayerManagerConnect.d.ts +20 -0
  8. package/lib/components/{TimeSlider/TimeSliderLegend/TimeSliderLegendRenderFunctions.spec.d.ts → LayerManager/DockedLayerManagerConnect.spec.d.ts} +0 -0
  9. package/lib/components/LayerManager/LayerContainerRow/LayerContainerRow.d.ts +0 -2
  10. package/lib/components/LayerManager/LayerContainerRow/LayerRow/ActivateLayer/ActivateLayer.d.ts +1 -0
  11. package/lib/components/LayerManager/LayerContainerRow/LayerRow/EnableLayer/EnableLayerConnect.d.ts +2 -0
  12. package/lib/components/LayerManager/LayerContainerRow/LayerRow/LayerRow.d.ts +1 -2
  13. package/lib/components/LayerManager/LayerContainerRow/LayerRow/LayerRowConnect.d.ts +0 -2
  14. package/lib/components/LayerManager/LayerManager.d.ts +12 -17
  15. package/lib/components/LayerManager/LayerManager.stories.d.ts +40 -0
  16. package/lib/components/LayerManager/LayerManagerConnect.d.ts +1 -2
  17. package/lib/components/LayerManager/LayerManagerHeaderOptions.d.ts +24 -0
  18. package/lib/components/{TimeSlider/TimeSliderRail/TimeSliderRail.spec.d.ts → LayerManager/LayerManagerHeaderOptions.spec.d.ts} +0 -0
  19. package/lib/components/LayerManager/LayerManagerUtils.d.ts +125 -28
  20. package/lib/components/LayerManager/LayerSelect/LayerSelectUtils.d.ts +2 -0
  21. package/lib/components/{TimeSlider/TimeSliderRail/TimeSliderRailConnect.spec.d.ts → LayerManager/LayerSelect/LayerSelectUtils.spec.d.ts} +0 -0
  22. package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceListConnect.d.ts +0 -2
  23. package/lib/components/LayerManager/LayerSelect/ServiceOptionsDialog/ServiceOptionsDialog.d.ts +1 -1
  24. package/lib/components/LayerManager/LayerSelect/ServicePopup/ServicePopup.d.ts +1 -0
  25. package/lib/components/LayerManager/LayerSelect/ServicePopup/utils.d.ts +1 -0
  26. package/lib/components/LayerManager/index.d.ts +2 -0
  27. package/lib/components/TimeSlider/TimeSlider.d.ts +1 -1
  28. package/lib/components/TimeSlider/TimeSliderButtons/ControlButtons/ControlButtons.d.ts +6 -0
  29. package/lib/components/TimeSlider/TimeSliderButtons/ControlButtons/ControlButtonsConnect.d.ts +4 -0
  30. package/lib/components/TimeSlider/TimeSliderButtons/ControlButtons/ControlButtonsConnect.spec.d.ts +1 -0
  31. package/lib/components/TimeSlider/TimeSliderButtons/OptionsMenuButton/OptionsMenu.d.ts +8 -0
  32. package/lib/components/TimeSlider/TimeSliderButtons/OptionsMenuButton/OptionsMenuButton.d.ts +2 -2
  33. package/lib/components/TimeSlider/TimeSliderButtons/OptionsMenuButton/OptionsMenuConnect.d.ts +5 -0
  34. package/lib/components/TimeSlider/TimeSliderButtons/OptionsMenuButton/OptionsMenuConnect.spec.d.ts +1 -0
  35. package/lib/components/TimeSlider/TimeSliderButtons/TimeSliderMenu/TimeSliderMenu.d.ts +2 -1
  36. package/lib/components/TimeSlider/TimeSliderClock/ClockContainer.d.ts +12 -0
  37. package/lib/components/TimeSlider/TimeSliderClock/PopperMenu.d.ts +9 -0
  38. package/lib/components/TimeSlider/TimeSliderClock/TimeSliderClock.d.ts +7 -2
  39. package/lib/components/TimeSlider/TimeSliderClock/TimeSliderClock.spec.d.ts +1 -0
  40. package/lib/components/TimeSlider/TimeSliderClock/TimeSliderClock.stories.d.ts +22 -2
  41. package/lib/components/TimeSlider/TimeSliderCurrentTimeBox/TimeSliderCurrenTimeBox.spec.d.ts +1 -0
  42. package/lib/components/TimeSlider/TimeSliderCurrentTimeBox/TimeSliderCurrentTimeBox.d.ts +15 -0
  43. package/lib/components/TimeSlider/TimeSliderCurrentTimeBox/TimeSliderCurrentTimeBoxConnect.d.ts +32 -0
  44. package/lib/components/TimeSlider/TimeSliderCurrentTimeBox/TimeSliderCurrentTimeBoxConnect.spec.d.ts +1 -0
  45. package/lib/components/TimeSlider/TimeSliderCurrentTimeBox/TimeSliderCurrentTimeBoxMouseEvents.d.ts +2 -0
  46. package/lib/components/TimeSlider/TimeSliderCurrentTimeBox/TimeSliderCurrentTimeBoxMouseEvents.spec.d.ts +1 -0
  47. package/lib/components/TimeSlider/TimeSliderCurrentTimeBox/TimeSliderCurrentTimeBoxRenderFunctions.d.ts +3 -0
  48. package/lib/components/TimeSlider/TimeSliderLegend/TimeSliderLegend.d.ts +3 -0
  49. package/lib/components/TimeSlider/TimeSliderLegend/TimeSliderLegend.stories.d.ts +12 -0
  50. package/lib/components/TimeSlider/TimeSliderLegend/TimeSliderLegendConnect.d.ts +4 -0
  51. package/lib/components/TimeSlider/TimeSliderLegend/TimeSliderLegendUtils.d.ts +21 -0
  52. package/lib/components/TimeSlider/TimeSliderLegend/TimeSliderLegenedUtils.spec.d.ts +1 -0
  53. package/lib/components/TimeSlider/TimeSliderLegend/drawFunctions/drawBackground.d.ts +4 -0
  54. package/lib/components/TimeSlider/TimeSliderLegend/drawFunctions/drawBackground.spec.d.ts +1 -0
  55. package/lib/components/TimeSlider/TimeSliderLegend/drawFunctions/drawCurrentTime.d.ts +2 -0
  56. package/lib/components/TimeSlider/TimeSliderLegend/drawFunctions/drawNeedle.d.ts +2 -0
  57. package/lib/components/TimeSlider/TimeSliderLegend/drawFunctions/drawTimeScale.d.ts +8 -0
  58. package/lib/components/TimeSlider/TimeSliderLegend/drawFunctions/drawTimeScale.spec.d.ts +1 -0
  59. package/lib/components/TimeSlider/TimeSliderLegend/drawFunctions/drawTimeSliderLegend.d.ts +3 -0
  60. package/lib/components/TimeSlider/TimeSliderLegend/drawFunctions/index.d.ts +1 -0
  61. package/lib/components/TimeSlider/TimeSliderUtils.d.ts +2 -2
  62. package/lib/index.d.ts +4 -3
  63. package/lib/store/layerSelect/types.d.ts +5 -1
  64. package/lib/store/mapStore/layers/types.d.ts +3 -1
  65. package/lib/store/mapStore/map/reducer.d.ts +3 -1
  66. package/lib/store/mapStore/map/selectors.d.ts +20 -0
  67. package/lib/store/mapStore/map/types.d.ts +10 -2
  68. package/lib/store/mapStore/map/utils.d.ts +3 -2
  69. package/package.json +6 -6
  70. package/lib/components/TimeSlider/TimeSliderLegend/TimeSliderLegendRenderFunctions.d.ts +0 -5
  71. package/lib/components/TimeSlider/TimeSliderRail/TimeSliderRail.d.ts +0 -23
  72. package/lib/components/TimeSlider/TimeSliderRail/TimeSliderRail.stories.d.ts +0 -13
  73. package/lib/components/TimeSlider/TimeSliderRail/TimeSliderRailConnect.d.ts +0 -46
  74. package/lib/components/TimeSlider/TimeSliderRail/TimeSliderRailRenderFunctions.d.ts +0 -3
@@ -3,7 +3,7 @@ interface CanvasComponentProps {
3
3
  onRenderCanvas: (ctx: CanvasRenderingContext2D, width: number, height: number, canvas: HTMLCanvasElement) => void;
4
4
  onCanvasClick?: (x: number, y: number, width: number, height: number) => void;
5
5
  onMouseMove?: (x: number, y: number, event: MouseEvent, width: number) => void;
6
- onMouseUp?: () => void;
6
+ onMouseUp?: (x: number) => void;
7
7
  onMouseDown?: (x: number, y: number, width: number) => void;
8
8
  onTouchStart?: (event: TouchEvent, width: number) => void;
9
9
  onTouchEnd?: () => void;
@@ -59,7 +59,7 @@ export default class CanvasComponent extends Component<CanvasComponentProps> {
59
59
  updateCanvas(): void;
60
60
  resize(): void;
61
61
  handleMouseMoveEvent(event: MouseEvent): void;
62
- handleMouseUpEvent(): void;
62
+ handleMouseUpEvent(event: MouseEvent): void;
63
63
  handleMouseDownEvent(event: MouseEvent): void;
64
64
  handleTouchStartEvent(event: TouchEvent): void;
65
65
  handleTouchEndEvent(): void;
@@ -30,5 +30,6 @@ export interface ConfigurableMapConnectProps {
30
30
  multiLegend?: boolean;
31
31
  shouldShowLayerManager?: boolean;
32
32
  showClock?: boolean;
33
+ children?: React.ReactNode;
33
34
  }
34
35
  export declare const ConfigurableMapConnect: React.FC<ConfigurableMapConnectProps>;
@@ -1,12 +1,10 @@
1
1
  import * as React from 'react';
2
- import { LayerManagerWidth } from '../LayerManagerUtils';
3
2
  import { Layer } from '../../../store/mapStore/types';
4
3
  import { Service } from '../../WMSLoader/services';
5
4
  interface BaseLayerRowProps {
6
5
  mapId: string;
7
6
  preloadedAvailableBaseLayers?: Layer[];
8
7
  preloadedServices?: Service[];
9
- layerManagerWidth: LayerManagerWidth;
10
8
  tooltip?: string;
11
9
  }
12
10
  declare const BaseLayerRow: React.FC<BaseLayerRowProps>;
@@ -1,14 +1,9 @@
1
1
  import * as React from 'react';
2
- import { Service } from '../../WMSLoader/services';
3
- import { LayerType } from '../../../store/mapStore/types';
4
- import { LayerManagerWidth } from '../LayerManagerUtils';
2
+ import { Source } from '../../../store/ui/types';
5
3
  interface DescriptionRowProps {
6
4
  mapId: string;
7
- preloadedServices?: Service[];
8
- layerType?: LayerType;
9
- tooltip?: string;
10
- layerManagerWidth: LayerManagerWidth;
11
- layerSelect?: boolean;
5
+ mapPresetsModule?: React.ReactElement;
6
+ source?: Source;
12
7
  }
13
8
  declare const DescriptionRow: React.FC<DescriptionRowProps>;
14
9
  export default DescriptionRow;
@@ -0,0 +1,20 @@
1
+ import * as React from 'react';
2
+ import { Layer } from '../../store/mapStore/types';
3
+ import { Service } from '../WMSLoader/services';
4
+ interface DockedLayerManagerConnectProps {
5
+ mapId: string;
6
+ preloadedAvailableBaseLayers?: Layer[];
7
+ preloadedBaseServices?: Service[];
8
+ bounds?: string;
9
+ showTitle?: boolean;
10
+ leftHeaderComponent?: React.ReactElement;
11
+ }
12
+ /**
13
+ * Docked Layer Manager connected to the store displaying the layers for the corresponding map it's included in
14
+ * Expects the following props:
15
+ * @param {Service[]} preloadedBaseServices preloadedBaseServices: array of Service objects - contains an array of Service objects that are preloaded into in the WMS Loader fpr baselayers
16
+ * @param {Layer[]} preloadedAvailableBaseLayers preloadedAvailableBaseLayers: array of Layer objects - contains an array of Layer objects (consisting solely of type baseLayer) that are available to be shown as basemaps
17
+ * ``` <LayerManagerConnect />```
18
+ */
19
+ declare const DockedLayerManagerConnect: React.FC<DockedLayerManagerConnectProps>;
20
+ export default DockedLayerManagerConnect;
@@ -1,8 +1,6 @@
1
1
  import * as React from 'react';
2
- import { LayerManagerWidth } from '../LayerManagerUtils';
3
2
  interface LayerContainerRowProps {
4
3
  mapId: string;
5
- layerManagerWidth: LayerManagerWidth;
6
4
  }
7
5
  declare const LayerContainerRow: React.FC<LayerContainerRowProps>;
8
6
  /**
@@ -4,6 +4,7 @@ interface ActivateLayerProps {
4
4
  onClickActivate: () => void;
5
5
  isActive?: boolean;
6
6
  isEnabled?: boolean;
7
+ id?: string;
7
8
  }
8
9
  declare const ActivateLayer: React.FC<ActivateLayerProps>;
9
10
  export default ActivateLayer;
@@ -2,6 +2,8 @@ import * as React from 'react';
2
2
  interface EnableLayerProps {
3
3
  layerId: string;
4
4
  mapId: string;
5
+ isEnabled?: boolean;
6
+ layerName?: string;
5
7
  }
6
8
  declare const EnableLayerConnect: React.FC<EnableLayerProps>;
7
9
  /**
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
2
  import { Dimension, Layer, Services } from '../../../../store/mapStore/types';
3
- import { LayerManagerWidth } from '../../LayerManagerUtils';
4
3
  interface LayerRowProps {
5
4
  layerId?: string;
6
5
  layer?: Layer;
6
+ layerName?: string;
7
7
  mapId: string;
8
8
  onLayerRowClick?: (layerId?: string) => void;
9
9
  onLayerEnable?: (payload: {
@@ -44,7 +44,6 @@ interface LayerRowProps {
44
44
  layerMenuLayout?: React.ReactChild;
45
45
  layerActiveLayout?: React.ReactChild;
46
46
  services?: Services;
47
- layerManagerWidth: LayerManagerWidth;
48
47
  isEnabled?: boolean;
49
48
  dragHandle?: React.ReactElement;
50
49
  isLayerMissing?: boolean;
@@ -1,9 +1,7 @@
1
1
  import * as React from 'react';
2
- import { LayerManagerWidth } from '../../LayerManagerUtils';
3
2
  interface LayerRowConnectProps {
4
3
  layerId: string;
5
4
  mapId: string;
6
- layerManagerWidth: LayerManagerWidth;
7
5
  dragHandle: React.ReactElement;
8
6
  layerIndex: number;
9
7
  }
@@ -2,10 +2,15 @@ import * as React from 'react';
2
2
  import { Layer } from '../../store/mapStore/types';
3
3
  import { Source } from '../../store/ui/types';
4
4
  import { Service } from '../WMSLoader/services';
5
+ import { Size } from './LayerManagerHeaderOptions';
6
+ export declare type Position = {
7
+ top: number;
8
+ left?: number;
9
+ right?: number;
10
+ };
5
11
  interface LayerManagerProps {
6
12
  mapId: string;
7
13
  preloadedAvailableBaseLayers?: Layer[];
8
- preloadedMapServices?: Service[];
9
14
  preloadedBaseServices?: Service[];
10
15
  bounds?: string;
11
16
  showTitle?: boolean;
@@ -14,24 +19,14 @@ interface LayerManagerProps {
14
19
  isOpen: boolean;
15
20
  order?: number;
16
21
  source?: Source;
17
- layerSelect?: boolean;
18
- showAddLayersTooltip?: boolean;
19
- leftComponent?: React.ReactNode;
22
+ leftHeaderComponent?: React.ReactElement;
20
23
  isLoading?: boolean;
21
24
  error?: string;
25
+ isDockedLayerManager?: boolean;
26
+ onToggleDock?: () => void;
27
+ size?: Size;
28
+ startPosition?: Position;
22
29
  }
23
- export declare const calculateStartSize: (minSize: {
24
- width: number;
25
- height: number;
26
- }, prefSize: {
27
- width: number;
28
- height: number;
29
- }, startPosition: {
30
- top: number;
31
- left: number;
32
- }) => {
33
- width: number;
34
- height: number;
35
- };
30
+ export declare const calculateStartSize: (minSize: Size, prefSize: Size, startPosition: Position) => Size;
36
31
  declare const LayerManager: React.FC<LayerManagerProps>;
37
32
  export default LayerManager;
@@ -9,6 +9,26 @@ export declare const LayerManagerLightTheme: {
9
9
  };
10
10
  storyName: string;
11
11
  };
12
+ export declare const DockedLayerManagerLightTheme: {
13
+ (): React.ReactElement;
14
+ parameters: {
15
+ zeplinLink: {
16
+ name: string;
17
+ link: string;
18
+ }[];
19
+ };
20
+ storyName: string;
21
+ };
22
+ export declare const LayerManagerLightThemeSmall: () => React.ReactElement;
23
+ export declare const LayerManagerLightThemeMedium: {
24
+ (): React.ReactElement;
25
+ parameters: {
26
+ zeplinLink: {
27
+ name: string;
28
+ link: string;
29
+ }[];
30
+ };
31
+ };
12
32
  export declare const LayerManagerDarkTheme: {
13
33
  (): React.ReactElement;
14
34
  parameters: {
@@ -19,6 +39,26 @@ export declare const LayerManagerDarkTheme: {
19
39
  };
20
40
  storyName: string;
21
41
  };
42
+ export declare const DockedLayerManagerDarkTheme: {
43
+ (): React.ReactElement;
44
+ parameters: {
45
+ zeplinLink: {
46
+ name: string;
47
+ link: string;
48
+ }[];
49
+ };
50
+ storyName: string;
51
+ };
52
+ export declare const LayerManagerDarkThemeSmall: () => React.ReactElement;
53
+ export declare const LayerManagerDarkThemeMedium: {
54
+ (): React.ReactElement;
55
+ parameters: {
56
+ zeplinLink: {
57
+ name: string;
58
+ link: string;
59
+ }[];
60
+ };
61
+ };
22
62
  export declare const LayerManagerLoadingState: () => React.ReactElement;
23
63
  export declare const LayerManagerWithErrorLight: {
24
64
  (): React.ReactElement;
@@ -7,8 +7,7 @@ interface LayerManagerConnectProps {
7
7
  preloadedBaseServices?: Service[];
8
8
  bounds?: string;
9
9
  showTitle?: boolean;
10
- layerSelect?: boolean;
11
- leftComponent?: React.ReactNode;
10
+ leftHeaderComponent?: React.ReactElement;
12
11
  }
13
12
  /**
14
13
  * Layer Managerconnected to the store displaying the layers forthe active map Id
@@ -0,0 +1,24 @@
1
+ import * as React from 'react';
2
+ export declare type Size = {
3
+ width: number;
4
+ height: number;
5
+ };
6
+ interface HeaderOptionsProps {
7
+ isDockedLayerManager: boolean;
8
+ onClickDockButton: () => void;
9
+ onChangeSize: (size: Size) => void;
10
+ }
11
+ export declare const sizeSmall: {
12
+ width: number;
13
+ height: number;
14
+ };
15
+ export declare const sizeMedium: {
16
+ width: number;
17
+ height: number;
18
+ };
19
+ export declare const sizeLarge: {
20
+ width: number;
21
+ height: number;
22
+ };
23
+ declare const HeaderOptions: React.FC<HeaderOptionsProps>;
24
+ export default HeaderOptions;
@@ -1,54 +1,151 @@
1
- export declare const LayerManagerColumnsLarge: {
2
- column1: {
1
+ export declare const columnClasses: {
2
+ column1: string;
3
+ column2: string;
4
+ column3: string;
5
+ column4: string;
6
+ column5: string;
7
+ column6: string;
8
+ column7: string;
9
+ };
10
+ export declare const layerManagerStyle: {
11
+ '@container (max-width: 320px)'?: {
12
+ '.layermanager': {
13
+ '.column-1:not(.container-query-polyfill)': {
14
+ width: string;
15
+ };
16
+ '.enable-btn-mini:not(.container-query-polyfill)': {
17
+ display: string;
18
+ };
19
+ '.activateLayer-btn:not(.container-query-polyfill), .enable-btn:not(.container-query-polyfill), .column-2:not(.container-query-polyfill), .column-3:not(.container-query-polyfill), .column-4:not(.container-query-polyfill), .column-5:not(.container-query-polyfill), .column-6:not(.container-query-polyfill), .column-7:not(.container-query-polyfill)': {
20
+ display: string;
21
+ };
22
+ '#mappresets-menubutton:not(.container-query-polyfill), .addLayer-column:not(.container-query-polyfill)': {
23
+ display: string;
24
+ };
25
+ '.descriptionRow:not(.container-query-polyfill)': {
26
+ height: number;
27
+ '.MuiButtonBase-root:not(.container-query-polyfill)': {
28
+ display: string;
29
+ };
30
+ };
31
+ };
32
+ '.header-layermanager': {
33
+ '.header-left:not(.container-query-polyfill), .header-title:not(.container-query-polyfill)': {
34
+ display: string;
35
+ };
36
+ '&>div:not(.container-query-polyfill)': {
37
+ justifyContent: string;
38
+ padding: number;
39
+ height: number;
40
+ };
41
+ '.header-right:not(.container-query-polyfill)': {
42
+ maxWidth: string;
43
+ flexBasis: string;
44
+ };
45
+ '.collapseSmall-btn:not(.container-query-polyfill)': {
46
+ display: string;
47
+ };
48
+ };
49
+ } | undefined;
50
+ '@container (max-width: 600px)'?: {
51
+ '.layermanager': {
52
+ '.column-3:not(.container-query-polyfill), .column-4:not(.container-query-polyfill), .column-5:not(.container-query-polyfill), .column-6:not(.container-query-polyfill), .column-7:not(.container-query-polyfill)': {
53
+ display: string;
54
+ };
55
+ '.column-2:not(.container-query-polyfill)': {
56
+ width: string;
57
+ };
58
+ '.header-layer.mappresetsModule-enabled:not(.container-query-polyfill)': {
59
+ display: string;
60
+ };
61
+ '.header-mapPresets:not(.container-query-polyfill)': {
62
+ display: string;
63
+ '.MuiButtonBase-root:not(.container-query-polyfill)': {
64
+ height: number;
65
+ '.MuiBox-root:not(.container-query-polyfill)': {
66
+ textAlign: string;
67
+ };
68
+ };
69
+ };
70
+ };
71
+ '.header-layermanager': {
72
+ '.mapPresets-btn:not(.container-query-polyfill)': {
73
+ display: string;
74
+ };
75
+ '.collapseLarge-btn:not(.container-query-polyfill)': {
76
+ display: string;
77
+ };
78
+ };
79
+ } | undefined;
80
+ '@container (max-width: 600px) and (min-width: 321px)'?: {
81
+ '.layermanager': {
82
+ '.medium-layermanager:not(.container-query-polyfill)': {
83
+ display: string;
84
+ };
85
+ };
86
+ '.deleteBtnMedium:not(.container-query-polyfill)': {
87
+ display: string;
88
+ '&+button:not(.container-query-polyfill)': {
89
+ display: string;
90
+ };
91
+ };
92
+ '.layerRow': {
93
+ '.column-1:not(.container-query-polyfill)': {
94
+ display: string;
95
+ };
96
+ '.column-2:not(.container-query-polyfill)': {
97
+ display: string;
98
+ };
99
+ };
100
+ '.header-layermanager': {
101
+ '.collapseMedium-btn:not(.container-query-polyfill)': {
102
+ display: string;
103
+ };
104
+ };
105
+ } | undefined;
106
+ '.layerManagerContainer': {
107
+ containerType: string;
108
+ };
109
+ '.is-dragging header+.MuiBox-root': {
110
+ overflow: string;
111
+ };
112
+ '.column-1': {
3
113
  width: number;
4
114
  display: string;
115
+ background: string;
5
116
  };
6
- column2: {
117
+ '.column-2': {
7
118
  width: string;
8
119
  };
9
- column3: {
120
+ '.column-3': {
10
121
  width: string;
11
122
  };
12
- column4: {
123
+ '.column-4': {
13
124
  width: string;
14
125
  };
15
- column5: {
126
+ '.column-5': {
16
127
  width: string;
17
128
  };
18
- column6: {
129
+ '.column-6': {
19
130
  width: number;
20
131
  display: string;
21
132
  };
22
- columns35: {
23
- width: string;
24
- };
25
- };
26
- export declare const LayerManagerColumnsSmall: {
27
- column1: {
28
- width: number;
29
- };
30
- column2: {
133
+ '.column-7': {
31
134
  width: string;
32
135
  };
33
- column3: {
136
+ '.enable-btn-mini': {
34
137
  display: string;
35
138
  };
36
- column4: {
37
- display: string;
139
+ '.header-layermanager': {
140
+ containerType: string;
38
141
  };
39
- column5: {
142
+ '.header-mapPresets': {
40
143
  display: string;
41
144
  };
42
- column6: {
43
- width: number;
145
+ '.medium-layermanager': {
44
146
  display: string;
45
147
  };
46
- columns35: {
148
+ '.collapseLarge-btn': {
47
149
  display: string;
48
150
  };
49
151
  };
50
- export declare enum LayerManagerWidth {
51
- sm = 0,
52
- lg = 1
53
- }
54
- export declare const widthToWidthClass: (w: number) => LayerManagerWidth;
@@ -1,4 +1,5 @@
1
1
  import { CSSProperties } from 'react';
2
+ import { ActiveServices } from '../../../store/layerSelect/types';
2
3
  export declare const layerSelectColumnsLarge: {
3
4
  column1: {
4
5
  width: number;
@@ -73,3 +74,4 @@ export declare const layerSelectColumnsSmall: {
73
74
  };
74
75
  export declare const widthToColumns: (width: number) => Record<string, CSSProperties>;
75
76
  export declare const widthToRowHeight: (width: number) => number;
77
+ export declare const sortByService: (serviceObj: ActiveServices) => ActiveServices;
@@ -1,8 +1,6 @@
1
1
  import * as React from 'react';
2
- import { ActiveServices } from '../../../../store/layerSelect/types';
3
2
  interface ServiceListConnectProps {
4
3
  setHeight: (height: number) => void;
5
4
  }
6
- export declare const sortByService: (serviceObj: ActiveServices) => ActiveServices;
7
5
  declare const ServiceListConnect: React.FC<ServiceListConnectProps>;
8
6
  export default ServiceListConnect;
@@ -4,7 +4,7 @@ import { PopupVariant } from '../ServicePopup/ServicePopup';
4
4
  import { ReduxLayer } from '../../../../store/mapStore/types';
5
5
  interface ServiceOptionsDialogProps {
6
6
  services: ActiveServices;
7
- layerSelectRemoveService?: (serviceId: string, serviceUrl: string) => void;
7
+ layerSelectRemoveService?: (serviceId: string, serviceUrl: string, serviceName: string) => void;
8
8
  layerSelectReloadService?: (serviceUrl: string) => void;
9
9
  selectedLayers: ReduxLayer[];
10
10
  setServicePopupInfo?: (popupInfo: ServicePopupInfo) => void;
@@ -7,6 +7,7 @@ export interface ServicePopupProps {
7
7
  hideBackdrop?: boolean;
8
8
  isOpen?: boolean;
9
9
  closePopup?: () => void;
10
+ shouldDisableAutoFocus?: boolean;
10
11
  serviceId?: string;
11
12
  serviceUrl?: string;
12
13
  serviceName?: string;
@@ -5,6 +5,7 @@ export declare const VALIDATIONS_NAME_EXISTING = "This name already exists. Choo
5
5
  export declare const VALIDATIONS_SERVICE_EXISTING = "URL already exists.";
6
6
  export declare const VALIDATIONS_SERVICE_VALID_URL = "Not a valid URL.";
7
7
  export declare const VALIDATIONS_REQUEST_FAILED = "Download failed. Check the URL.";
8
+ export declare const VALIDATIONS_FIELD_REQUIRED = "This field is required";
8
9
  export declare const validateServiceName: (value: string, services: ActiveServices, ownServiceName?: string) => ValidationResult;
9
10
  export declare const validateServiceUrl: (value: string, services: ActiveServices) => ValidationResult;
10
11
  export declare const loadWMSService: (serviceUrl: string, forceReload?: boolean) => Promise<SetLayersForServicePayload>;
@@ -1,2 +1,4 @@
1
1
  export { default as LayerManagerConnect } from './LayerManagerConnect';
2
+ export { default as DockedLayerManagerConnect } from './DockedLayerManagerConnect';
3
+ export { default as LayerSelectConnect } from './LayerSelect/LayerSelectConnect';
2
4
  export { default as LayerManagerMapButtonConnect } from './LayerManagerMapButtonConnect';
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  export interface TimeSliderProps {
3
3
  buttons?: React.ReactChild;
4
- rail?: React.ReactChild;
4
+ timeBox?: React.ReactChild;
5
5
  legend?: React.ReactChild;
6
6
  mapIsActive?: boolean;
7
7
  onToggleTimeSlider?: (isVisible: boolean) => void;
@@ -0,0 +1,6 @@
1
+ import * as React from 'react';
2
+ export declare const ControlButtons: React.FC<{
3
+ backwardBtn?: React.ReactChild;
4
+ forwardBtn?: React.ReactChild;
5
+ playBtn?: React.ReactChild;
6
+ }>;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ export declare const ControlButtonsConnect: React.FC<{
3
+ mapId: string;
4
+ }>;
@@ -0,0 +1,8 @@
1
+ import React, { FC } from 'react';
2
+ export declare const OptionsMenu: FC<{
3
+ nowBtn?: React.ReactChild;
4
+ timeScaleBtn?: React.ReactChild;
5
+ timeStepBtn?: React.ReactChild;
6
+ speedBtn?: React.ReactChild;
7
+ autoUpdateBtn?: React.ReactChild;
8
+ }>;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import React, { FC } from 'react';
2
2
  interface OptionsMenuButtonProps {
3
3
  nowBtn?: React.ReactChild;
4
4
  autoUpdateBtn?: React.ReactChild;
@@ -7,5 +7,5 @@ interface OptionsMenuButtonProps {
7
7
  timeScaleBtn?: React.ReactChild;
8
8
  isOpenByDefault?: boolean;
9
9
  }
10
- declare const OptionsMenuButton: React.FC<OptionsMenuButtonProps>;
10
+ declare const OptionsMenuButton: FC<OptionsMenuButtonProps>;
11
11
  export default OptionsMenuButton;
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ export declare const OptionsMenuConnect: FC<{
3
+ sourceId: string;
4
+ mapId: string;
5
+ }>;
@@ -14,5 +14,6 @@ export interface TimeSliderMenuProps {
14
14
  isDisabled?: boolean;
15
15
  handleAutoClick?: () => void;
16
16
  isAutoSelected?: boolean;
17
+ onChangeMouseWheel?: (element: Mark) => void;
17
18
  }
18
- export declare const TimeSliderMenu: ({ marks, value, isOpenByDefault, handleMenuItemClick, isDisabled, handleAutoClick, isAutoSelected, title, icon, }: TimeSliderMenuProps) => JSX.Element;
19
+ export declare const TimeSliderMenu: ({ marks, value, isOpenByDefault, handleMenuItemClick, isDisabled, handleAutoClick, isAutoSelected, title, icon, onChangeMouseWheel, }: TimeSliderMenuProps) => JSX.Element;
@@ -0,0 +1,12 @@
1
+ import moment from 'moment';
2
+ import { FC } from 'react';
3
+ import type { PopperPlacement } from './TimeSliderClock';
4
+ export declare const ClockContainer: FC<{
5
+ hideButton: boolean;
6
+ onButtonClick: () => void;
7
+ isPopperOpen: boolean;
8
+ fontSize: number;
9
+ time: moment.Moment;
10
+ setButtonElement: (anchorElement: HTMLDivElement | null) => void;
11
+ popperPlacement: PopperPlacement;
12
+ }>;
@@ -0,0 +1,9 @@
1
+ import { FC } from 'react';
2
+ import type { PopperPlacement } from './TimeSliderClock';
3
+ export declare const PopperMenu: FC<{
4
+ popperPlacement: PopperPlacement;
5
+ isPopperOpen: boolean;
6
+ buttonElement: HTMLDivElement | null;
7
+ options: JSX.Element | undefined;
8
+ controls: JSX.Element | undefined;
9
+ }>;
@@ -1,5 +1,10 @@
1
1
  import { Moment } from 'moment';
2
- import * as React from 'react';
3
- export declare const TimeSliderClock: React.FC<{
2
+ import { FC } from 'react';
3
+ export declare type PopperPlacement = 'right' | 'left' | 'top' | 'bottom';
4
+ export declare const TimeSliderClock: FC<{
4
5
  time: Moment;
6
+ options?: JSX.Element;
7
+ controls?: JSX.Element;
8
+ hideButton?: boolean;
9
+ isPopperOpenByDefault?: boolean;
5
10
  }>;