@opengeoweb/core 6.0.4 → 6.1.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.
- package/index.esm.js +2927 -8387
- package/package.json +10 -10
- package/src/lib/components/LanguageSelect/DemoLanguages.stories.d.ts +1 -0
- package/src/lib/components/LayerManager/AddLayersButton/AddLayersButton.d.ts +3 -2
- package/src/lib/components/LayerManager/AddLayersPopup/AddLayersPopup.d.ts +3 -2
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelectConnect.d.ts +6 -5
- package/src/lib/components/LayerManager/LayerManagerConnect.d.ts +1 -1
- package/src/lib/components/LayerManager/LayerSelect/LayerList/LayerAddRemoveButton.d.ts +10 -8
- package/src/lib/components/LayerManager/LayerSelect/LayerList/LayerList.d.ts +10 -8
- package/src/lib/components/LayerManager/LayerSelect/LayerList/LayerListRow.d.ts +10 -8
- package/src/lib/components/LayerManager/LayerSelect/LayerSelect.d.ts +5 -4
- package/src/lib/components/Legend/index.d.ts +0 -1
- package/src/lib/components/MapDraw/DrawingTool/DrawingToolConnect.d.ts +1 -1
- package/src/lib/components/MapDraw/MapDrawToolRedux.stories.d.ts +6 -0
- package/src/lib/components/MapDraw/index.d.ts +1 -5
- package/src/lib/components/MapDraw/storyComponents/StoryLayout.d.ts +1 -1
- package/src/lib/components/MapDraw/useMapDrawTool.d.ts +1 -2
- package/src/lib/components/MapTime/MapTime.d.ts +1 -1
- package/src/lib/components/MapView/MapViewConnect.d.ts +1 -0
- package/src/lib/components/MapView/MapViewLayer.d.ts +6 -4
- package/src/lib/components/MultiMapView/storyUtils/mapPresets.d.ts +10 -10
- package/src/lib/components/ReactMapView/ReactMapView.d.ts +2 -2
- package/src/lib/components/ReactMapView/ReactMapViewLayer.d.ts +2 -1
- package/src/lib/components/ReactMapView/utils.d.ts +1 -1
- package/src/lib/components/SyncGroups/SyncGroupListItem.d.ts +6 -5
- package/src/lib/components/TimeSlider/TimeSliderButtons/AnimationLengthButton/AnimationLengthButton.d.ts +0 -1
- package/src/lib/components/TimeSlider/TimeSliderButtons/BackwardForwardStepButton/BackwardForwardStepButtonConnect.d.ts +0 -1
- package/src/lib/components/TimeSlider/TimeSliderButtons/HideSliderButton/HideSliderButton.d.ts +2 -2
- package/src/lib/components/TimeSlider/TimeSliderButtons/SpeedButton/SpeedButtonConnect.d.ts +0 -1
- package/src/lib/components/TimeSlider/TimeSliderButtons/TimeSliderButtonsConnect.d.ts +2 -10
- package/src/lib/components/TimeSlider/TimeSliderButtons/TimeSpanButton/TimeSpanButton.d.ts +0 -1
- package/src/lib/components/TimeSlider/TimeSliderButtons/TimeSpanButton/TimeSpanButtonConnect.d.ts +0 -1
- package/src/lib/components/TimeSlider/timeSliderUtils.d.ts +1 -1
- package/src/lib/components/TimeSliderLite/TimeSliderLite.d.ts +3 -0
- package/src/lib/components/TimeSliderLite/TimeSliderLiteBackground/TimeSliderDraggableNeedle.d.ts +2 -0
- package/src/lib/components/TimeSliderLite/TimeSliderLiteBackground/TimeSliderLiteBackground.d.ts +2 -0
- package/src/lib/components/TimeSliderLite/TimeSliderLiteBackground/TimeSliderLiteBackgroundSvg.d.ts +2 -0
- package/src/lib/components/TimeSliderLite/TimeSliderLiteConnect.d.ts +2 -0
- package/src/lib/components/TimeSliderLite/TimeSliderLiteOptionsMenu/AnimationSpeedOptions/AnimationSpeedOptions.d.ts +13 -0
- package/src/lib/components/TimeSliderLite/TimeSliderLiteOptionsMenu/SubmenuSelectLabel.d.ts +8 -0
- package/src/lib/components/TimeSliderLite/TimeSliderLiteOptionsMenu/TimeRangeOptions/TimeRangeOptions.d.ts +3 -3
- package/src/lib/components/TimeSliderLite/TimeSliderLiteOptionsMenu/TimeSliderLiteOptionsMenu.d.ts +8 -11
- package/src/lib/components/TimeSliderLite/TimeSliderLiteOptionsMenu/TimeStepOptions/TimeStepOptions.d.ts +14 -0
- package/src/lib/components/TimeSliderLite/TimeSliderLiteOptionsMenu/TimeStepOptions/TimeStepSelector.d.ts +16 -0
- package/src/lib/components/TimeSliderLite/TimeSliderLiteOptionsMenu/TimeZoneSwitch/TimeZoneSwitch.d.ts +8 -0
- package/src/lib/components/TimeSliderLite/TimeSliderLiteOptionsMenu/UpdateIntervalOptions/UpdateIntervalOptions.d.ts +12 -0
- package/src/lib/components/TimeSliderLite/timeSliderLiteUtils.d.ts +13 -0
- package/src/lib/components/WMSLoader/WMSLayerTree/WMSLayerTreeConnect.d.ts +3 -2
- package/src/lib/components/WMSLoader/WMSLoaderConnect.d.ts +3 -2
- package/src/lib/index.d.ts +2 -2
- package/src/lib/utils/defaultTestSettings.d.ts +5 -26
- package/src/lib/utils/languageTranslation.d.ts +28 -16
- package/src/lib/utils/languagesService.d.ts +3 -5
- package/src/lib/utils/publicLayers.d.ts +43 -42
- package/src/lib/utils/testLayers.d.ts +10 -10
- package/src/lib/utils/translationUpdater.d.ts +7 -0
- package/src/lib/components/CanvasComponent/CanvasComponent.d.ts +0 -71
- package/src/lib/components/CanvasComponent/CanvasComponentDynamic.stories.d.ts +0 -6
- package/src/lib/components/CanvasComponent/CanvasComponentStatic.stories.d.ts +0 -6
- package/src/lib/components/Legend/Legend.d.ts +0 -7
- package/src/lib/components/Legend/Legend.stories.d.ts +0 -8
- package/src/lib/components/Legend/LegendLayout.d.ts +0 -13
- package/src/lib/components/MapDraw/MapDraw.d.ts +0 -151
- package/src/lib/components/MapDraw/MapDrawContainer.d.ts +0 -23
- package/src/lib/components/MapDraw/MapDrawContainer.spec.d.ts +0 -1
- package/src/lib/components/MapDraw/geojsonShapes.d.ts +0 -19
- package/src/lib/components/MapDraw/mapDrawUtils.d.ts +0 -57
- package/src/lib/components/MapDraw/mapDrawUtils.spec.d.ts +0 -1
- package/src/lib/components/MapDraw/storyComponents/geojsonExamples.d.ts +0 -10
- /package/src/lib/components/{CanvasComponent/CanvasComponent.spec.d.ts → TimeSliderLite/TimeSliderLiteOptionsMenu/AnimationSpeedOptions/AnimationSpeedOptions.spec.d.ts} +0 -0
- /package/src/lib/components/{Legend/Legend.spec.d.ts → TimeSliderLite/TimeSliderLiteOptionsMenu/TimeStepOptions/TimeStepOptions.spec.d.ts} +0 -0
- /package/src/lib/components/{Legend/LegendLayout.spec.d.ts → TimeSliderLite/TimeSliderLiteOptionsMenu/TimeZoneSwitch/TimeZoneSwitch.spec.d.ts} +0 -0
- /package/src/lib/components/{MapDraw/MapDraw.spec.d.ts → TimeSliderLite/TimeSliderLiteOptionsMenu/UpdateIntervalOptions/UpdateIntervalOptions.spec.d.ts} +0 -0
package/src/lib/components/TimeSliderLite/TimeSliderLiteOptionsMenu/TimeSliderLiteOptionsMenu.d.ts
CHANGED
|
@@ -1,21 +1,18 @@
|
|
|
1
1
|
import { SxProps } from '@mui/material';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
|
|
3
|
+
import { TimeStepOptionsProps } from './TimeStepOptions/TimeStepOptions';
|
|
4
|
+
import { TimeRangeOptionsProps } from './TimeRangeOptions/TimeRangeOptions';
|
|
5
|
+
import { AnimationSpeedSelectorProps } from './AnimationSpeedOptions/AnimationSpeedOptions';
|
|
6
|
+
import { UpdateIntervalOptionsProps } from './UpdateIntervalOptions/UpdateIntervalOptions';
|
|
7
|
+
import { TimeZoneSwitchProps } from './TimeZoneSwitch/TimeZoneSwitch';
|
|
8
|
+
export interface TimeSliderLiteOptionsMenuProps extends TimeStepOptionsProps, TimeRangeOptionsProps, AnimationSpeedSelectorProps, UpdateIntervalOptionsProps, TimeZoneSwitchProps {
|
|
4
9
|
closeButtonIcon?: React.ReactNode;
|
|
5
|
-
|
|
6
|
-
defaultTimeRange: [number, number];
|
|
7
|
-
dropdownButtonIcon?: React.ElementType;
|
|
10
|
+
defaultTimeStep: [number, number];
|
|
8
11
|
menuOpen?: boolean;
|
|
9
12
|
setMenuOpen?: (menuOpen: boolean) => void;
|
|
10
13
|
submenuSx?: SxProps;
|
|
11
14
|
sx?: SxProps;
|
|
12
|
-
|
|
13
|
-
[
|
|
14
|
-
number,
|
|
15
|
-
number
|
|
16
|
-
] | null,
|
|
17
|
-
(timeRange: [number, number] | null) => void
|
|
18
|
-
];
|
|
15
|
+
TimeZoneSwitch?: React.FC<TimeZoneSwitchProps>;
|
|
19
16
|
}
|
|
20
17
|
export declare enum Submenu {
|
|
21
18
|
TIME_RANGE = "Time range",
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface TimeStepOptionsProps {
|
|
3
|
+
useTimeStep?: [
|
|
4
|
+
[
|
|
5
|
+
number,
|
|
6
|
+
number
|
|
7
|
+
] | null,
|
|
8
|
+
(timeStep: [number, number] | null) => void
|
|
9
|
+
];
|
|
10
|
+
defaultTimeStep: [number, number];
|
|
11
|
+
dropdownButtonIcon?: React.ElementType;
|
|
12
|
+
}
|
|
13
|
+
declare const TimeStepOptions: React.FC<TimeStepOptionsProps>;
|
|
14
|
+
export default TimeStepOptions;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { SelectProps } from '@mui/material';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* TODO: Replace with actual translation keys
|
|
5
|
+
*/
|
|
6
|
+
interface TimeStepOptions {
|
|
7
|
+
[key: string]: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const defaultTimeStepOptions: TimeStepOptions;
|
|
10
|
+
interface CustomSelectProps extends SelectProps {
|
|
11
|
+
setValue: (value: number) => void;
|
|
12
|
+
dropdownButtonIcon?: React.ElementType;
|
|
13
|
+
defaultTimeStep: number;
|
|
14
|
+
}
|
|
15
|
+
declare const TimeStepSelector: React.FC<CustomSelectProps>;
|
|
16
|
+
export default TimeStepSelector;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const availableTimeZones: readonly ["LT", "UTC"];
|
|
3
|
+
export type TimeZone = (typeof availableTimeZones)[number];
|
|
4
|
+
export interface TimeZoneSwitchProps {
|
|
5
|
+
useTimeZone?: [TimeZone, (timeZone: TimeZone) => void] | [TimeZone];
|
|
6
|
+
}
|
|
7
|
+
declare const TimeZoneSwitch: React.FC<TimeZoneSwitchProps>;
|
|
8
|
+
export default TimeZoneSwitch;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface UpdateIntervalOptionsProps {
|
|
3
|
+
dropdownButtonIcon?: React.ElementType;
|
|
4
|
+
updateIntervalOptions?: number[];
|
|
5
|
+
defaultUpdateInterval?: number;
|
|
6
|
+
useUpdateInterval?: [number, (updateInterval: number) => void] | [number];
|
|
7
|
+
intervalOptionPrefix?: string;
|
|
8
|
+
intervalOptionPostfix?: string;
|
|
9
|
+
defaultOptionPostfix?: string;
|
|
10
|
+
}
|
|
11
|
+
declare const UpdateIntervalOptions: React.FC<UpdateIntervalOptionsProps>;
|
|
12
|
+
export default UpdateIntervalOptions;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ElementType, ReactNode } from 'react';
|
|
2
2
|
import { layerTypes } from '@opengeoweb/store';
|
|
3
|
+
import { TimeZoneSwitchProps } from './TimeSliderLiteOptionsMenu/TimeZoneSwitch/TimeZoneSwitch';
|
|
3
4
|
export declare const DAY_TO_MILLISECOND: number;
|
|
4
5
|
export declare const DAY_TO_SECOND = 86400;
|
|
5
6
|
export declare const HOUR_TO_SECOND = 3600;
|
|
@@ -18,6 +19,10 @@ export declare const SEVEN_DAYS_IN_SECONDS: number;
|
|
|
18
19
|
* @returns Reformatted date string
|
|
19
20
|
*/
|
|
20
21
|
export declare const reformatFinnishDateString: (dateString: string) => string;
|
|
22
|
+
/**
|
|
23
|
+
* Marks UTC time with Z after hh:mm or hh.mm or appends UTC to the end of the date string
|
|
24
|
+
*/
|
|
25
|
+
export declare const shortUTCTime: (dateString: string) => string;
|
|
21
26
|
export declare const getMonthChanges: (startDate: Date, endDate: Date) => number[];
|
|
22
27
|
export declare const getSelectedTimePx: (startTime: number, endTime: number, selectedTime: number, width: number) => number;
|
|
23
28
|
export declare const boundedValue: (value: number, bounds: [number, number]) => number;
|
|
@@ -41,10 +46,16 @@ export declare const TIME_SLIDER_LITE_DEFAULT_MAX_OBSERVED_RANGE: number;
|
|
|
41
46
|
*/
|
|
42
47
|
export declare const defaultTimeRange: (layers: layerTypes.ReduxLayer[], currentTime?: number, overrideDefaultTimeRange?: [number, number]) => [number, number];
|
|
43
48
|
export declare const useDefaultTimeRange: (layers: layerTypes.ReduxLayer[], updateThreshold: number, currentTime?: number) => [number, number];
|
|
49
|
+
interface TimeList {
|
|
50
|
+
name: string;
|
|
51
|
+
value: string;
|
|
52
|
+
}
|
|
53
|
+
export declare const generateCustomTimeList: (currentTime: number, startTime: number, endTime: number, timeStep: [number, number], timeZoneOffsetSeconds?: number) => TimeList[];
|
|
44
54
|
export declare const subTicksPerDay: (dayWidthInPixels: number) => number;
|
|
45
55
|
export declare const maxSubTicksPerDay: (dayWidthInPixels: number, timeStep: number) => number;
|
|
46
56
|
export declare const getRemainingHours: (maxHours: number | undefined, days: number) => number;
|
|
47
57
|
export declare const secondsSinceLocalMidnight: (currentTimeInSeconds: number) => number;
|
|
58
|
+
export declare const getTimeScaleDescription: (timeScale: number) => string;
|
|
48
59
|
export interface TimeSliderLiteCustomSettings {
|
|
49
60
|
menuButton?: {
|
|
50
61
|
label?: string;
|
|
@@ -70,6 +81,7 @@ export interface TimeSliderLiteCustomSettings {
|
|
|
70
81
|
backward?: ReactNode;
|
|
71
82
|
};
|
|
72
83
|
};
|
|
84
|
+
TimeZoneSwitch: React.FC<TimeZoneSwitchProps>;
|
|
73
85
|
hideButton?: {
|
|
74
86
|
label?: {
|
|
75
87
|
hide?: string;
|
|
@@ -87,3 +99,4 @@ export interface TimeSliderLiteCustomSettings {
|
|
|
87
99
|
icon?: ElementType;
|
|
88
100
|
};
|
|
89
101
|
}
|
|
102
|
+
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { layerActions, layerTypes, layerSelectTypes } from '@opengeoweb/store';
|
|
3
|
+
import { LayerType } from '@opengeoweb/webmap';
|
|
3
4
|
export interface WMSLayerTreeConnectProps {
|
|
4
5
|
service: layerSelectTypes.LayerSelectService;
|
|
5
6
|
addLayer?: typeof layerActions.addLayer;
|
|
@@ -7,12 +8,12 @@ export interface WMSLayerTreeConnectProps {
|
|
|
7
8
|
addAvailableBaseLayer?: typeof layerActions.addAvailableBaseLayer;
|
|
8
9
|
mapId: string;
|
|
9
10
|
loadedLayers?: layerTypes.Layer[];
|
|
10
|
-
layerType?:
|
|
11
|
+
layerType?: LayerType;
|
|
11
12
|
}
|
|
12
13
|
declare const WMSLayerTreeConnect: import("react-redux").ConnectedComponent<React.FC<WMSLayerTreeConnectProps>, {
|
|
13
14
|
service: layerSelectTypes.LayerSelectService;
|
|
14
15
|
mapId: string;
|
|
15
|
-
layerType?:
|
|
16
|
+
layerType?: LayerType | undefined;
|
|
16
17
|
addLayer?: import("@reduxjs/toolkit").ActionCreatorWithPayload<layerTypes.AddLayerPayload, "layerReducer/addLayer"> | undefined;
|
|
17
18
|
setBaseLayers?: import("@reduxjs/toolkit").ActionCreatorWithPayload<layerTypes.SetBaseLayersPayload, "layerReducer/setBaseLayers"> | undefined;
|
|
18
19
|
addAvailableBaseLayer?: import("@reduxjs/toolkit").ActionCreatorWithPayload<layerTypes.AddAvailableBaseLayerPayload, "layerReducer/addAvailableBaseLayer"> | undefined;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { layerSelectTypes
|
|
2
|
+
import { layerSelectTypes } from '@opengeoweb/store';
|
|
3
|
+
import { LayerType } from '@opengeoweb/webmap';
|
|
3
4
|
interface WMSLoaderConnectProps {
|
|
4
5
|
mapId: string;
|
|
5
6
|
preloadedServices?: layerSelectTypes.LayerSelectService[];
|
|
6
|
-
layerType?:
|
|
7
|
+
layerType?: LayerType;
|
|
7
8
|
tooltip?: string;
|
|
8
9
|
}
|
|
9
10
|
/**
|
package/src/lib/index.d.ts
CHANGED
|
@@ -10,10 +10,10 @@ export * from './components/MultiMapView/HarmoniePresets';
|
|
|
10
10
|
export * from './components/MapView';
|
|
11
11
|
export { MapControlButton } from './components/MapControls';
|
|
12
12
|
export { ReactMapView, ReactMapViewLayer } from './components/ReactMapView';
|
|
13
|
-
export { LegendConnect,
|
|
13
|
+
export { LegendConnect, LegendMapButtonConnect } from './components/Legend';
|
|
14
14
|
export { ZoomControls, ZoomControlConnect } from './components/MapControls';
|
|
15
15
|
export { TimeSlider, TimeSliderConnect, TimeSliderButtonsConnect, TimeSliderOptionsMenuButtonConnect, TimeSliderPlayButtonConnect, TimeSliderBackwardForwardStepButtonConnect, timeSliderUtils, } from './components/TimeSlider';
|
|
16
|
-
export { TimeSliderLite } from './components/TimeSliderLite';
|
|
16
|
+
export { TimeSliderLite, TimeSliderLiteOptionsMenu, TimeSliderLiteConnect, } from './components/TimeSliderLite';
|
|
17
17
|
export { MapControls } from './components/MapControls';
|
|
18
18
|
export { LayerManagerConnect, LayerManagerHeaderOptions, LayerManagerDescriptionRow, LayerManagerBaseLayerRow, LayerManagerLayerContainerRow, LayerSelectConnect, LayerManagerMapButtonConnect, LayerManager, useFetchServices, };
|
|
19
19
|
export { MultiDimensionSelectMapButtonsConnect, MultiMapDimensionSelectConnect, };
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import { WMLayer } from '@opengeoweb/webmap';
|
|
1
|
+
import { LayerType, WMLayer } from '@opengeoweb/webmap';
|
|
2
2
|
import { layerTypes, serviceTypes, layerSelectTypes } from '@opengeoweb/store';
|
|
3
|
+
export declare const multiDimensionLayer: import("@opengeoweb/webmap").LayerFoundation, WmdefaultReduxLayerRadarKNMI: WMLayer, defaultReduxLayerRadarKNMI: import("@opengeoweb/webmap").LayerFoundation & {
|
|
4
|
+
styles: import("@opengeoweb/webmap").Style[];
|
|
5
|
+
};
|
|
3
6
|
export declare const defaultReduxLayerRadarColor: {
|
|
4
7
|
service: string;
|
|
5
8
|
name: string;
|
|
@@ -7,7 +10,7 @@ export declare const defaultReduxLayerRadarColor: {
|
|
|
7
10
|
format: string;
|
|
8
11
|
style: string;
|
|
9
12
|
enabled: boolean;
|
|
10
|
-
layerType:
|
|
13
|
+
layerType: LayerType;
|
|
11
14
|
dimensions: never[];
|
|
12
15
|
styles: {
|
|
13
16
|
title: string;
|
|
@@ -17,32 +20,8 @@ export declare const defaultReduxLayerRadarColor: {
|
|
|
17
20
|
}[];
|
|
18
21
|
id: string;
|
|
19
22
|
};
|
|
20
|
-
export declare const defaultReduxLayerRadarKNMI: {
|
|
21
|
-
service: string;
|
|
22
|
-
name: string;
|
|
23
|
-
title: string;
|
|
24
|
-
format: string;
|
|
25
|
-
style: string;
|
|
26
|
-
enabled: boolean;
|
|
27
|
-
layerType: layerTypes.LayerType;
|
|
28
|
-
dimensions: {
|
|
29
|
-
name: string;
|
|
30
|
-
units: string;
|
|
31
|
-
currentValue: string;
|
|
32
|
-
}[];
|
|
33
|
-
styles: {
|
|
34
|
-
title: string;
|
|
35
|
-
name: string;
|
|
36
|
-
legendURL: string;
|
|
37
|
-
abstract: string;
|
|
38
|
-
}[];
|
|
39
|
-
id: string;
|
|
40
|
-
};
|
|
41
|
-
export declare const WmdefaultReduxLayerRadarKNMI: WMLayer;
|
|
42
|
-
export declare const makeGeoservicesRadarLayer: () => WMLayer;
|
|
43
23
|
export declare const defaultReduxActiveLayers: layerSelectTypes.ActiveLayerObject[];
|
|
44
24
|
export declare const defaultReduxActiveLayersWithoutOptionalVariables: layerSelectTypes.ActiveLayerObject[];
|
|
45
|
-
export declare const multiDimensionLayer: layerTypes.Layer;
|
|
46
25
|
export declare const flDimensionLayer: layerTypes.Layer;
|
|
47
26
|
export declare const layerWithSingleDimensionValue: WMLayer;
|
|
48
27
|
export declare const WmMultiDimensionLayer: WMLayer;
|
|
@@ -1,27 +1,39 @@
|
|
|
1
1
|
declare const translations: {
|
|
2
2
|
en: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
translation: {
|
|
4
|
+
greeting: string;
|
|
5
|
+
greetingWithName: string;
|
|
6
|
+
delete: string;
|
|
7
|
+
deleteOK: string;
|
|
8
|
+
restore: string;
|
|
9
|
+
};
|
|
7
10
|
};
|
|
8
11
|
nl: {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
translation: {
|
|
13
|
+
greeting: string;
|
|
14
|
+
greetingWithName: string;
|
|
15
|
+
delete: string;
|
|
16
|
+
deleteOK: string;
|
|
17
|
+
restore: string;
|
|
18
|
+
};
|
|
13
19
|
};
|
|
14
20
|
fi: {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
21
|
+
translation: {
|
|
22
|
+
greeting: string;
|
|
23
|
+
greetingWithName: string;
|
|
24
|
+
delete: string;
|
|
25
|
+
deleteOK: string;
|
|
26
|
+
restore: string;
|
|
27
|
+
};
|
|
19
28
|
};
|
|
20
29
|
no: {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
30
|
+
translation: {
|
|
31
|
+
greeting: string;
|
|
32
|
+
greetingWithName: string;
|
|
33
|
+
delete: string;
|
|
34
|
+
deleteOK: string;
|
|
35
|
+
restore: string;
|
|
36
|
+
};
|
|
25
37
|
};
|
|
26
38
|
};
|
|
27
39
|
export default translations;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import i18n from 'i18next';
|
|
2
2
|
interface Languages {
|
|
3
3
|
language: string;
|
|
4
4
|
code: string;
|
|
5
5
|
flag: string;
|
|
6
6
|
}
|
|
7
|
-
export declare
|
|
8
|
-
export
|
|
9
|
-
declare const _default: Languages[];
|
|
10
|
-
export default _default;
|
|
7
|
+
export declare const languages: Languages[];
|
|
8
|
+
export default i18n;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { defaultLayers } from '@opengeoweb/store';
|
|
2
|
+
import { LayerType } from '@opengeoweb/webmap';
|
|
2
3
|
export { defaultLayers };
|
|
3
4
|
export declare const baseLayer: {
|
|
4
5
|
name: string;
|
|
5
6
|
title: string;
|
|
6
7
|
type: string;
|
|
7
|
-
layerType:
|
|
8
|
+
layerType: LayerType;
|
|
8
9
|
enabled: boolean;
|
|
9
10
|
id: string;
|
|
10
11
|
};
|
|
@@ -12,7 +13,7 @@ export declare const baseLayerOpenStreetMapNL: {
|
|
|
12
13
|
id: string;
|
|
13
14
|
name: string;
|
|
14
15
|
type: string;
|
|
15
|
-
layerType:
|
|
16
|
+
layerType: LayerType;
|
|
16
17
|
enabled: boolean;
|
|
17
18
|
};
|
|
18
19
|
export declare const baseLayerArcGisCanvas: {
|
|
@@ -21,20 +22,20 @@ export declare const baseLayerArcGisCanvas: {
|
|
|
21
22
|
name: string;
|
|
22
23
|
type: string;
|
|
23
24
|
enabled: boolean;
|
|
24
|
-
layerType:
|
|
25
|
+
layerType: LayerType;
|
|
25
26
|
};
|
|
26
27
|
export declare const baseLayerWorldMap: {
|
|
27
28
|
id: string;
|
|
28
29
|
name: string;
|
|
29
30
|
type: string;
|
|
30
|
-
layerType:
|
|
31
|
+
layerType: LayerType;
|
|
31
32
|
enabled: boolean;
|
|
32
33
|
};
|
|
33
34
|
export declare const baseLayerHeiGit: {
|
|
34
35
|
service: string;
|
|
35
36
|
id: string;
|
|
36
37
|
name: string;
|
|
37
|
-
layerType:
|
|
38
|
+
layerType: LayerType;
|
|
38
39
|
};
|
|
39
40
|
export declare const msgCppLayer: {
|
|
40
41
|
service: string;
|
|
@@ -43,21 +44,21 @@ export declare const msgCppLayer: {
|
|
|
43
44
|
enabled: boolean;
|
|
44
45
|
style: string;
|
|
45
46
|
id: string;
|
|
46
|
-
layerType:
|
|
47
|
+
layerType: LayerType;
|
|
47
48
|
};
|
|
48
49
|
export declare const veiligheidsRegiosGebiedsIndelingenLabels: {
|
|
49
50
|
service: string;
|
|
50
51
|
name: string;
|
|
51
52
|
style: string;
|
|
52
53
|
enabled: boolean;
|
|
53
|
-
layerType:
|
|
54
|
+
layerType: LayerType;
|
|
54
55
|
};
|
|
55
56
|
export declare const veiligheidsRegiosGebiedsIndelingen: {
|
|
56
57
|
service: string;
|
|
57
58
|
name: string;
|
|
58
59
|
style: string;
|
|
59
60
|
enabled: boolean;
|
|
60
|
-
layerType:
|
|
61
|
+
layerType: LayerType;
|
|
61
62
|
};
|
|
62
63
|
export declare const radarLayer: {
|
|
63
64
|
service: string;
|
|
@@ -66,7 +67,7 @@ export declare const radarLayer: {
|
|
|
66
67
|
enabled: boolean;
|
|
67
68
|
style: string;
|
|
68
69
|
id: string;
|
|
69
|
-
layerType:
|
|
70
|
+
layerType: LayerType;
|
|
70
71
|
};
|
|
71
72
|
export declare const radarLayerWithError: {
|
|
72
73
|
service: string;
|
|
@@ -75,77 +76,77 @@ export declare const radarLayerWithError: {
|
|
|
75
76
|
enabled: boolean;
|
|
76
77
|
style: string;
|
|
77
78
|
id: string;
|
|
78
|
-
layerType:
|
|
79
|
+
layerType: LayerType;
|
|
79
80
|
};
|
|
80
81
|
export declare const obsAirTemperature: {
|
|
81
82
|
service: string;
|
|
82
83
|
name: string;
|
|
83
84
|
id: string;
|
|
84
|
-
layerType:
|
|
85
|
+
layerType: LayerType;
|
|
85
86
|
};
|
|
86
87
|
export declare const obsWind: {
|
|
87
88
|
service: string;
|
|
88
89
|
name: string;
|
|
89
90
|
id: string;
|
|
90
|
-
layerType:
|
|
91
|
+
layerType: LayerType;
|
|
91
92
|
};
|
|
92
93
|
export declare const obsAirPressureAtSeaLevel: {
|
|
93
94
|
service: string;
|
|
94
95
|
name: string;
|
|
95
96
|
id: string;
|
|
96
|
-
layerType:
|
|
97
|
+
layerType: LayerType;
|
|
97
98
|
};
|
|
98
99
|
export declare const obsRelativeHumidity: {
|
|
99
100
|
service: string;
|
|
100
101
|
name: string;
|
|
101
102
|
id: string;
|
|
102
|
-
layerType:
|
|
103
|
+
layerType: LayerType;
|
|
103
104
|
};
|
|
104
105
|
export declare const obsGlobalSolarRadiation: {
|
|
105
106
|
service: string;
|
|
106
107
|
name: string;
|
|
107
108
|
id: string;
|
|
108
|
-
layerType:
|
|
109
|
+
layerType: LayerType;
|
|
109
110
|
};
|
|
110
111
|
export declare const obsPrecipitationIntensityPWS: {
|
|
111
112
|
service: string;
|
|
112
113
|
name: string;
|
|
113
114
|
id: string;
|
|
114
|
-
layerType:
|
|
115
|
+
layerType: LayerType;
|
|
115
116
|
};
|
|
116
117
|
export declare const harmonieRelativeHumidityPl: {
|
|
117
118
|
service: string;
|
|
118
119
|
name: string;
|
|
119
120
|
id: string;
|
|
120
|
-
layerType:
|
|
121
|
+
layerType: LayerType;
|
|
121
122
|
enabled: boolean;
|
|
122
123
|
};
|
|
123
124
|
export declare const harmonieWindPl: {
|
|
124
125
|
service: string;
|
|
125
126
|
name: string;
|
|
126
127
|
id: string;
|
|
127
|
-
layerType:
|
|
128
|
+
layerType: LayerType;
|
|
128
129
|
enabled: boolean;
|
|
129
130
|
};
|
|
130
131
|
export declare const harmonieAirTemperature: {
|
|
131
132
|
service: string;
|
|
132
133
|
name: string;
|
|
133
134
|
id: string;
|
|
134
|
-
layerType:
|
|
135
|
+
layerType: LayerType;
|
|
135
136
|
enabled: boolean;
|
|
136
137
|
};
|
|
137
138
|
export declare const harmoniePrecipitation: {
|
|
138
139
|
service: string;
|
|
139
140
|
name: string;
|
|
140
141
|
id: string;
|
|
141
|
-
layerType:
|
|
142
|
+
layerType: LayerType;
|
|
142
143
|
enabled: boolean;
|
|
143
144
|
};
|
|
144
145
|
export declare const harmoniePressure: {
|
|
145
146
|
service: string;
|
|
146
147
|
name: string;
|
|
147
148
|
id: string;
|
|
148
|
-
layerType:
|
|
149
|
+
layerType: LayerType;
|
|
149
150
|
enabled: boolean;
|
|
150
151
|
};
|
|
151
152
|
export declare const harmonieWindFlags: {
|
|
@@ -153,14 +154,14 @@ export declare const harmonieWindFlags: {
|
|
|
153
154
|
name: string;
|
|
154
155
|
enabled: boolean;
|
|
155
156
|
id: string;
|
|
156
|
-
layerType:
|
|
157
|
+
layerType: LayerType;
|
|
157
158
|
};
|
|
158
159
|
export declare const klimaatAtlasTG3: {
|
|
159
160
|
service: string;
|
|
160
161
|
name: string;
|
|
161
162
|
enabled: boolean;
|
|
162
163
|
id: string;
|
|
163
|
-
layerType:
|
|
164
|
+
layerType: LayerType;
|
|
164
165
|
};
|
|
165
166
|
export declare const dwdWarningLayer: {
|
|
166
167
|
service: string;
|
|
@@ -168,7 +169,7 @@ export declare const dwdWarningLayer: {
|
|
|
168
169
|
format: string;
|
|
169
170
|
enabled: boolean;
|
|
170
171
|
id: string;
|
|
171
|
-
layerType:
|
|
172
|
+
layerType: LayerType;
|
|
172
173
|
};
|
|
173
174
|
export declare const dwdRadarLayer: {
|
|
174
175
|
service: string;
|
|
@@ -176,7 +177,7 @@ export declare const dwdRadarLayer: {
|
|
|
176
177
|
format: string;
|
|
177
178
|
enabled: boolean;
|
|
178
179
|
id: string;
|
|
179
|
-
layerType:
|
|
180
|
+
layerType: LayerType;
|
|
180
181
|
};
|
|
181
182
|
export declare const dwdObservationsWetterLayer: {
|
|
182
183
|
service: string;
|
|
@@ -185,7 +186,7 @@ export declare const dwdObservationsWetterLayer: {
|
|
|
185
186
|
format: string;
|
|
186
187
|
enabled: boolean;
|
|
187
188
|
id: string;
|
|
188
|
-
layerType:
|
|
189
|
+
layerType: LayerType;
|
|
189
190
|
};
|
|
190
191
|
export declare const dwdObservationsWetterLayerWithHeader: {
|
|
191
192
|
service: string;
|
|
@@ -194,7 +195,7 @@ export declare const dwdObservationsWetterLayerWithHeader: {
|
|
|
194
195
|
format: string;
|
|
195
196
|
enabled: boolean;
|
|
196
197
|
id: string;
|
|
197
|
-
layerType:
|
|
198
|
+
layerType: LayerType;
|
|
198
199
|
headers: {
|
|
199
200
|
name: string;
|
|
200
201
|
value: string;
|
|
@@ -207,7 +208,7 @@ export declare const dwdObservationsWindLayer: {
|
|
|
207
208
|
format: string;
|
|
208
209
|
enabled: boolean;
|
|
209
210
|
id: string;
|
|
210
|
-
layerType:
|
|
211
|
+
layerType: LayerType;
|
|
211
212
|
};
|
|
212
213
|
export declare const FMITemp: {
|
|
213
214
|
service: string;
|
|
@@ -215,7 +216,7 @@ export declare const FMITemp: {
|
|
|
215
216
|
format: string;
|
|
216
217
|
enabled: boolean;
|
|
217
218
|
id: string;
|
|
218
|
-
layerType:
|
|
219
|
+
layerType: LayerType;
|
|
219
220
|
};
|
|
220
221
|
export declare const MetNoTemp: {
|
|
221
222
|
service: string;
|
|
@@ -223,7 +224,7 @@ export declare const MetNoTemp: {
|
|
|
223
224
|
format: string;
|
|
224
225
|
enabled: boolean;
|
|
225
226
|
id: string;
|
|
226
|
-
layerType:
|
|
227
|
+
layerType: LayerType;
|
|
227
228
|
};
|
|
228
229
|
export declare const metNorwayWind1: {
|
|
229
230
|
service: string;
|
|
@@ -231,7 +232,7 @@ export declare const metNorwayWind1: {
|
|
|
231
232
|
format: string;
|
|
232
233
|
enabled: boolean;
|
|
233
234
|
id: string;
|
|
234
|
-
layerType:
|
|
235
|
+
layerType: LayerType;
|
|
235
236
|
};
|
|
236
237
|
export declare const metNorwayWind2: {
|
|
237
238
|
service: string;
|
|
@@ -239,7 +240,7 @@ export declare const metNorwayWind2: {
|
|
|
239
240
|
format: string;
|
|
240
241
|
enabled: boolean;
|
|
241
242
|
id: string;
|
|
242
|
-
layerType:
|
|
243
|
+
layerType: LayerType;
|
|
243
244
|
};
|
|
244
245
|
export declare const metNorwayWind3: {
|
|
245
246
|
service: string;
|
|
@@ -247,7 +248,7 @@ export declare const metNorwayWind3: {
|
|
|
247
248
|
format: string;
|
|
248
249
|
enabled: boolean;
|
|
249
250
|
id: string;
|
|
250
|
-
layerType:
|
|
251
|
+
layerType: LayerType;
|
|
251
252
|
};
|
|
252
253
|
export declare const metNorwayLatestT: {
|
|
253
254
|
service: string;
|
|
@@ -255,7 +256,7 @@ export declare const metNorwayLatestT: {
|
|
|
255
256
|
format: string;
|
|
256
257
|
enabled: boolean;
|
|
257
258
|
id: string;
|
|
258
|
-
layerType:
|
|
259
|
+
layerType: LayerType;
|
|
259
260
|
};
|
|
260
261
|
export declare const metNorwaySalinaty: {
|
|
261
262
|
service: string;
|
|
@@ -263,47 +264,47 @@ export declare const metNorwaySalinaty: {
|
|
|
263
264
|
format: string;
|
|
264
265
|
enabled: boolean;
|
|
265
266
|
id: string;
|
|
266
|
-
layerType:
|
|
267
|
+
layerType: LayerType;
|
|
267
268
|
};
|
|
268
269
|
export declare const msgFesEUMETSAT: {
|
|
269
270
|
service: string;
|
|
270
271
|
name: string;
|
|
271
272
|
enabled: boolean;
|
|
272
273
|
id: string;
|
|
273
|
-
layerType:
|
|
274
|
+
layerType: LayerType;
|
|
274
275
|
};
|
|
275
276
|
export declare const msgNaturalenhncdEUMETSAT: {
|
|
276
277
|
service: string;
|
|
277
278
|
name: string;
|
|
278
279
|
enabled: boolean;
|
|
279
280
|
id: string;
|
|
280
|
-
layerType:
|
|
281
|
+
layerType: LayerType;
|
|
281
282
|
};
|
|
282
283
|
export declare const msgAshEUMETSAT: {
|
|
283
284
|
service: string;
|
|
284
285
|
name: string;
|
|
285
286
|
enabled: boolean;
|
|
286
287
|
id: string;
|
|
287
|
-
layerType:
|
|
288
|
+
layerType: LayerType;
|
|
288
289
|
};
|
|
289
290
|
export declare const msgCthEUMETSAT: {
|
|
290
291
|
service: string;
|
|
291
292
|
name: string;
|
|
292
293
|
enabled: boolean;
|
|
293
294
|
id: string;
|
|
294
|
-
layerType:
|
|
295
|
+
layerType: LayerType;
|
|
295
296
|
};
|
|
296
297
|
export declare const msgFogEUMETSAT: {
|
|
297
298
|
service: string;
|
|
298
299
|
name: string;
|
|
299
300
|
enabled: boolean;
|
|
300
301
|
id: string;
|
|
301
|
-
layerType:
|
|
302
|
+
layerType: LayerType;
|
|
302
303
|
};
|
|
303
304
|
export declare const msgNaturalEUMETSAT: {
|
|
304
305
|
service: string;
|
|
305
306
|
name: string;
|
|
306
307
|
enabled: boolean;
|
|
307
308
|
id: string;
|
|
308
|
-
layerType:
|
|
309
|
+
layerType: LayerType;
|
|
309
310
|
};
|