@opengeoweb/core 7.0.0 → 8.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 +270 -1278
- package/package.json +14 -13
- package/src/lib/components/ConfigurableMap/ConfigurableMapConnect.d.ts +1 -1
- package/src/lib/components/TimeSlider/TimeSliderButtons/TimeSliderMenu/TimeSliderMenu.d.ts +1 -0
- package/src/lib/components/TimeSlider/TimeSliderCurrentTimeBox/TimeSliderCurrentTimeBoxConnect.d.ts +4 -8
- package/src/lib/components/TimeSlider/changeTimeFunctions.d.ts +14 -0
- package/src/lib/components/TimeSlider/timeSliderUtils.d.ts +1 -34
- package/src/lib/components/TimeSliderLite/TimeSliderLite.d.ts +3 -0
- package/src/lib/components/TimeSliderLite/TimeSliderLiteConnect.d.ts +6 -6
- package/src/lib/components/TimeSliderLite/TimeSliderLiteOptionsMenu/TimeSliderLiteOptionsMenu.d.ts +1 -1
- package/src/lib/components/TimeSliderLite/index.d.ts +1 -1
- package/src/lib/components/TimeSliderLite/timeSliderLiteUtils.d.ts +1 -1
- package/src/lib/index.d.ts +1 -3
- package/src/lib/utils/defaultTestSettings.d.ts +3 -19
- package/src/lib/components/MapDraw/DrawingTool/DrawingTool.stories.d.ts +0 -25
- package/src/lib/components/MapDraw/DrawingTool/DrawingToolConnect.d.ts +0 -14
- package/src/lib/components/MapDraw/DrawingTool/DrawingToolConnect.stories.d.ts +0 -25
- package/src/lib/components/MapDraw/DrawingTool/DrawingToolDialog.d.ts +0 -32
- package/src/lib/components/MapDraw/DrawingTool/DrawingToolMapButtonConnect.d.ts +0 -8
- package/src/lib/components/MapDraw/DrawingTool/DrawingToolMapButtonConnect.spec.d.ts +0 -1
- package/src/lib/components/MapDraw/DrawingTool/index.d.ts +0 -3
- package/src/lib/components/MapDraw/DrawingTool/useAreaDrawDialogAction.d.ts +0 -10
- package/src/lib/components/MapDraw/DrawingTool/useAreaDrawDialogAction.spec.d.ts +0 -1
- package/src/lib/components/MapDraw/DrawingToolForm/DrawingToolForm.d.ts +0 -23
- package/src/lib/components/MapDraw/DrawingToolForm/DrawingToolForm.spec.d.ts +0 -1
- package/src/lib/components/MapDraw/DrawingToolForm/DrawingToolFormConnect.d.ts +0 -4
- package/src/lib/components/MapDraw/DrawingToolForm/DrawingToolFormConnect.spec.d.ts +0 -1
- package/src/lib/components/MapDraw/DrawingToolForm/index.d.ts +0 -2
- package/src/lib/components/MapDraw/MapDraw.stories.d.ts +0 -33
- package/src/lib/components/MapDraw/MapDrawContext.d.ts +0 -11
- package/src/lib/components/MapDraw/MapDrawContext.spec.d.ts +0 -1
- package/src/lib/components/MapDraw/MapDrawContext.stories.d.ts +0 -6
- package/src/lib/components/MapDraw/MapDrawTool.stories.d.ts +0 -12
- package/src/lib/components/MapDraw/MapDrawToolDoubleControls.stories.d.ts +0 -6
- package/src/lib/components/MapDraw/MapDrawToolIntersection.stories.d.ts +0 -11
- package/src/lib/components/MapDraw/index.d.ts +0 -4
- package/src/lib/components/MapDraw/storyComponents/EditModeButton.d.ts +0 -8
- package/src/lib/components/MapDraw/storyComponents/FeatureInfo.d.ts +0 -3
- package/src/lib/components/MapDraw/storyComponents/FeatureInfoHTML.d.ts +0 -3
- package/src/lib/components/MapDraw/storyComponents/FeatureLayers.d.ts +0 -8
- package/src/lib/components/MapDraw/storyComponents/GeoJSONTextField.d.ts +0 -11
- package/src/lib/components/MapDraw/storyComponents/IntersectionSelect.d.ts +0 -11
- package/src/lib/components/MapDraw/storyComponents/MapDrawGeoJSON.d.ts +0 -51
- package/src/lib/components/MapDraw/storyComponents/StoryLayout.d.ts +0 -9
- package/src/lib/components/MapDraw/storyComponents/Synops.d.ts +0 -3
- package/src/lib/components/MapDraw/storyComponents/ToolButton.d.ts +0 -9
- package/src/lib/components/MapDraw/useMapDrawTool.d.ts +0 -105
- package/src/lib/components/MapDraw/useMapDrawTool.spec.d.ts +0 -1
- package/src/lib/components/MapWarning/MapWarningProperties.d.ts +0 -23
- package/src/lib/components/MapWarning/MapWarningProperties.spec.d.ts +0 -1
- package/src/lib/components/TimeSlider/TimeSliderButtons/BackwardForwardStepButton/BackwardForwardStepButtonConnect.spec.d.ts +0 -1
- package/src/lib/components/TimeSlider/TimeSliderButtons/NowButton/NowButtonConnect.spec.d.ts +0 -1
- package/src/lib/components/TimeSlider/TimeSliderButtons/TimeSliderButtonsConnect.spec.d.ts +0 -1
- /package/src/lib/components/{MapDraw → MapDrawToolRedux}/MapDrawToolRedux.stories.d.ts +0 -0
- /package/src/lib/components/{MapDraw/DrawingTool/DrawingToolConnect.spec.d.ts → TimeSlider/TimeSliderButtons/TimeSliderButtonsConnect.integration.spec.d.ts} +0 -0
- /package/src/lib/components/{MapDraw/DrawingTool/DrawingToolDialog.spec.d.ts → TimeSlider/changeTimeFunctions.spec.d.ts} +0 -0
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const drawPolyStoryStyles: {
|
|
3
|
-
MapDrawGeoJSONContainer: {
|
|
4
|
-
display: string;
|
|
5
|
-
gridTemplateColumns: string;
|
|
6
|
-
gridTemplateRows: string;
|
|
7
|
-
gridTemplateAreas: string;
|
|
8
|
-
width: string;
|
|
9
|
-
height: string;
|
|
10
|
-
};
|
|
11
|
-
MapDrawGeoJSONMapContainer: {
|
|
12
|
-
gridArea: string;
|
|
13
|
-
width: string;
|
|
14
|
-
height: string;
|
|
15
|
-
};
|
|
16
|
-
MapDrawGeoJSONControlsContainer: {
|
|
17
|
-
gridArea: string;
|
|
18
|
-
width: string;
|
|
19
|
-
height: string;
|
|
20
|
-
};
|
|
21
|
-
MapDrawGeoJSONTextAreaContainer: {
|
|
22
|
-
gridArea: string;
|
|
23
|
-
width: string;
|
|
24
|
-
height: string;
|
|
25
|
-
};
|
|
26
|
-
MapDrawGeoJSONTextArea: {
|
|
27
|
-
padding: number;
|
|
28
|
-
border: string;
|
|
29
|
-
width: string;
|
|
30
|
-
height: string;
|
|
31
|
-
fontSize: string;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
export declare const useGeoJSON: () => {
|
|
35
|
-
editModes: {
|
|
36
|
-
key: string;
|
|
37
|
-
value: string;
|
|
38
|
-
}[];
|
|
39
|
-
isInEditMode: boolean;
|
|
40
|
-
geojson: GeoJSON.FeatureCollection;
|
|
41
|
-
setGeojson: (geojson: GeoJSON.FeatureCollection) => void;
|
|
42
|
-
geojsonText: string;
|
|
43
|
-
setGeojsonText: (text: string) => void;
|
|
44
|
-
drawMode: string;
|
|
45
|
-
currentFeatureNrToEdit: number;
|
|
46
|
-
setCurrentFeatureNrToEdit: (featureNumber: number) => void;
|
|
47
|
-
changeDrawMode: (mode: string) => void;
|
|
48
|
-
setEditMode: (on: boolean) => void;
|
|
49
|
-
};
|
|
50
|
-
declare const DrawPolyStory: React.FC;
|
|
51
|
-
export default DrawPolyStory;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DrawModeExitCallback, MapViewLayerProps } from '@opengeoweb/webmap-react';
|
|
3
|
-
interface StoryLayoutProps {
|
|
4
|
-
layers: MapViewLayerProps[];
|
|
5
|
-
children: React.ReactElement;
|
|
6
|
-
onExitDrawMode: (reason: DrawModeExitCallback) => void;
|
|
7
|
-
}
|
|
8
|
-
declare const StoryLayout: React.FC<StoryLayoutProps>;
|
|
9
|
-
export default StoryLayout;
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DRAWMODE, MapViewLayerProps } from '@opengeoweb/webmap-react';
|
|
3
|
-
export declare const defaultIntersectionStyleProperties: GeoJSON.GeoJsonProperties;
|
|
4
|
-
export declare const emptyLineString: GeoJSON.Feature;
|
|
5
|
-
export declare const emptyPoint: GeoJSON.Feature;
|
|
6
|
-
export declare const emptyPolygon: GeoJSON.Feature;
|
|
7
|
-
export declare const emptyBox: GeoJSON.Feature;
|
|
8
|
-
export declare const emptyIntersectionShape: GeoJSON.FeatureCollection;
|
|
9
|
-
export type DrawMode = DRAWMODE | 'DELETE' | '';
|
|
10
|
-
type DrawLayerType = 'geoJSON' | 'geoJSONIntersection' | 'geoJSONIntersectionBounds';
|
|
11
|
-
export type EditMode = {
|
|
12
|
-
id: string;
|
|
13
|
-
value: DrawMode;
|
|
14
|
-
shape: GeoJSON.Feature | GeoJSON.FeatureCollection;
|
|
15
|
-
title: string;
|
|
16
|
-
icon: React.ReactElement;
|
|
17
|
-
isSelectable: boolean;
|
|
18
|
-
};
|
|
19
|
-
export interface MapDrawToolProps {
|
|
20
|
-
geoJSON: GeoJSON.FeatureCollection;
|
|
21
|
-
geoJSONIntersection?: GeoJSON.FeatureCollection;
|
|
22
|
-
geoJSONIntersectionBounds?: GeoJSON.FeatureCollection;
|
|
23
|
-
setGeoJSON: (geojson: GeoJSON.Feature | GeoJSON.FeatureCollection) => void;
|
|
24
|
-
setGeoJSONIntersectionBounds: (geojson: GeoJSON.Feature | GeoJSON.FeatureCollection) => void;
|
|
25
|
-
editModes: EditMode[];
|
|
26
|
-
changeDrawMode: (mode: DrawMode) => void;
|
|
27
|
-
isInEditMode: boolean;
|
|
28
|
-
setEditMode: (shouldEnable: boolean) => void;
|
|
29
|
-
featureLayerIndex: number;
|
|
30
|
-
setFeatureLayerIndex: (newIndex: number) => void;
|
|
31
|
-
activeTool: string;
|
|
32
|
-
changeActiveTool: (newMode: EditMode) => void;
|
|
33
|
-
setActiveTool: (newToolId: string) => void;
|
|
34
|
-
layers: MapViewLayerProps[];
|
|
35
|
-
getLayer: (layerType: DrawLayerType, layerId: string) => MapViewLayerProps;
|
|
36
|
-
deactivateTool: () => void;
|
|
37
|
-
setEditModes: (editModes: EditMode[]) => void;
|
|
38
|
-
changeProperties: (geoJSONProperties: GeoJSON.GeoJsonProperties) => void;
|
|
39
|
-
getProperties: () => GeoJSON.GeoJsonProperties;
|
|
40
|
-
}
|
|
41
|
-
export interface MapDrawToolOptions {
|
|
42
|
-
shouldAllowMultipleshapes?: boolean;
|
|
43
|
-
defaultEditModes?: EditMode[];
|
|
44
|
-
defaultGeoJSON?: GeoJSON.FeatureCollection;
|
|
45
|
-
defaultGeoJSONIntersection?: GeoJSON.FeatureCollection;
|
|
46
|
-
defaultGeoJSONIntersectionBounds?: GeoJSON.FeatureCollection;
|
|
47
|
-
defaultGeoJSONIntersectionProperties?: GeoJSON.GeoJsonProperties;
|
|
48
|
-
}
|
|
49
|
-
export declare const defaultPoint: {
|
|
50
|
-
id: string;
|
|
51
|
-
value: DRAWMODE;
|
|
52
|
-
title: string;
|
|
53
|
-
icon: React.JSX.Element;
|
|
54
|
-
shape: import("geojson").Feature<import("geojson").Geometry, import("geojson").GeoJsonProperties>;
|
|
55
|
-
isSelectable: boolean;
|
|
56
|
-
};
|
|
57
|
-
export declare const defaultPolygon: {
|
|
58
|
-
id: string;
|
|
59
|
-
value: DRAWMODE;
|
|
60
|
-
title: string;
|
|
61
|
-
icon: React.JSX.Element;
|
|
62
|
-
shape: import("geojson").Feature<import("geojson").Geometry, import("geojson").GeoJsonProperties>;
|
|
63
|
-
isSelectable: boolean;
|
|
64
|
-
};
|
|
65
|
-
export declare const defaultBox: {
|
|
66
|
-
id: string;
|
|
67
|
-
value: DRAWMODE;
|
|
68
|
-
title: string;
|
|
69
|
-
icon: React.JSX.Element;
|
|
70
|
-
shape: import("geojson").Feature<import("geojson").Geometry, import("geojson").GeoJsonProperties>;
|
|
71
|
-
isSelectable: boolean;
|
|
72
|
-
};
|
|
73
|
-
export declare const defaultLineString: {
|
|
74
|
-
id: string;
|
|
75
|
-
value: DRAWMODE;
|
|
76
|
-
title: string;
|
|
77
|
-
icon: React.JSX.Element;
|
|
78
|
-
shape: import("geojson").Feature<import("geojson").Geometry, import("geojson").GeoJsonProperties>;
|
|
79
|
-
isSelectable: boolean;
|
|
80
|
-
};
|
|
81
|
-
export declare const defaultDelete: {
|
|
82
|
-
id: string;
|
|
83
|
-
value: "DELETE";
|
|
84
|
-
title: string;
|
|
85
|
-
icon: React.JSX.Element;
|
|
86
|
-
shape: import("geojson").FeatureCollection<import("geojson").Geometry, import("geojson").GeoJsonProperties>;
|
|
87
|
-
isSelectable: boolean;
|
|
88
|
-
};
|
|
89
|
-
export declare const defaultModes: ({
|
|
90
|
-
id: string;
|
|
91
|
-
value: DRAWMODE;
|
|
92
|
-
title: string;
|
|
93
|
-
icon: React.JSX.Element;
|
|
94
|
-
shape: import("geojson").Feature<import("geojson").Geometry, import("geojson").GeoJsonProperties>;
|
|
95
|
-
isSelectable: boolean;
|
|
96
|
-
} | {
|
|
97
|
-
id: string;
|
|
98
|
-
value: "DELETE";
|
|
99
|
-
title: string;
|
|
100
|
-
icon: React.JSX.Element;
|
|
101
|
-
shape: import("geojson").FeatureCollection<import("geojson").Geometry, import("geojson").GeoJsonProperties>;
|
|
102
|
-
isSelectable: boolean;
|
|
103
|
-
})[];
|
|
104
|
-
export declare const useMapDrawTool: ({ defaultEditModes, shouldAllowMultipleshapes, defaultGeoJSON, defaultGeoJSONIntersection, defaultGeoJSONIntersectionBounds, defaultGeoJSONIntersectionProperties, }: MapDrawToolOptions) => MapDrawToolProps;
|
|
105
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface WarningListProps {
|
|
3
|
-
selectedFeatureProperties: {
|
|
4
|
-
identifier?: string;
|
|
5
|
-
severity?: string;
|
|
6
|
-
certainty?: string;
|
|
7
|
-
onset?: string;
|
|
8
|
-
expires?: string;
|
|
9
|
-
languages?: Language[];
|
|
10
|
-
};
|
|
11
|
-
languageIndex?: number;
|
|
12
|
-
parentSize?: number;
|
|
13
|
-
}
|
|
14
|
-
interface Language {
|
|
15
|
-
areaDesc: string;
|
|
16
|
-
language: string;
|
|
17
|
-
event: string;
|
|
18
|
-
senderName: string;
|
|
19
|
-
headline: string;
|
|
20
|
-
description: string;
|
|
21
|
-
}
|
|
22
|
-
export declare const MapWarningProperties: React.FC<WarningListProps>;
|
|
23
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/src/lib/components/TimeSlider/TimeSliderButtons/NowButton/NowButtonConnect.spec.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
File without changes
|
|
File without changes
|