@opengeoweb/core 9.13.0 → 9.14.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 +966 -431
- package/package.json +1 -2
- package/src/lib/components/LayerInfoConnect/LayerInfoButtonConnect.d.ts +11 -0
- package/src/lib/components/LayerInfoConnect/LayerInfoButtonConnect.spec.d.ts +1 -0
- package/src/lib/components/LayerInfoConnect/LayerInfoDialogConnect.d.ts +2 -0
- package/src/lib/components/LayerInfoConnect/index.d.ts +2 -0
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/LayerRow.d.ts +1 -0
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/LoadDuration/LoadDuration.d.ts +10 -0
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/LoadDuration/LoadDuration.spec.d.ts +1 -0
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderLayers/RenderLayers.d.ts +2 -2
- package/src/lib/components/LayerManager/LayerManagerUtils.d.ts +8 -2
- package/src/lib/components/SyncGroups/SimpleTimeSlider.d.ts +2 -3
- package/src/lib/index.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/core",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.14.0",
|
|
4
4
|
"description": "GeoWeb Core library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -27,7 +27,6 @@
|
|
|
27
27
|
"@opengeoweb/snackbar": "*",
|
|
28
28
|
"react-router-dom": "^6.21.0",
|
|
29
29
|
"react-draggable": "^4.4.6",
|
|
30
|
-
"moment": "^2.29.4",
|
|
31
30
|
"i18next": "^23.7.11",
|
|
32
31
|
"react-i18next": "^13.5.0",
|
|
33
32
|
"dompurify": "^3.0.6"
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { uiTypes } from '@opengeoweb/store';
|
|
3
|
+
interface LayerInfoButtonProps {
|
|
4
|
+
isLayerMissing?: boolean;
|
|
5
|
+
mapId: string;
|
|
6
|
+
serviceUrl: string;
|
|
7
|
+
layerName: string;
|
|
8
|
+
source?: uiTypes.Source;
|
|
9
|
+
}
|
|
10
|
+
export declare const LayerInfoButtonConnect: React.FC<LayerInfoButtonProps>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -51,6 +51,7 @@ interface LayerRowProps {
|
|
|
51
51
|
layerShowLayerInfoLayout?: React.ReactElement;
|
|
52
52
|
layerMenuLayout?: React.ReactElement;
|
|
53
53
|
layerActiveLayout?: React.ReactElement;
|
|
54
|
+
layerLoadDurationLayout?: React.ReactElement;
|
|
54
55
|
disableActivateLayer?: boolean;
|
|
55
56
|
services?: serviceTypes.Services;
|
|
56
57
|
isEnabled?: boolean;
|
package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/LoadDuration/LoadDuration.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare const MAX_DURATION_IN_SECONDS = 60;
|
|
3
|
+
export declare const MIN_DURATION_IN_SECONDS = 0.1;
|
|
4
|
+
export declare const DECIMALS_IN_LABEL = 1;
|
|
5
|
+
export declare const DECIMALS_IN_TOOLTIP = 3;
|
|
6
|
+
declare const LoadDuration: React.FC<{
|
|
7
|
+
mapId: string;
|
|
8
|
+
layerId: string;
|
|
9
|
+
}>;
|
|
10
|
+
export default LoadDuration;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderLayers/RenderLayers.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { LayerProps } from '@opengeoweb/webmap';
|
|
3
3
|
export interface RenderLayersProps {
|
|
4
4
|
onChangeLayerName: (name: string) => void;
|
|
5
5
|
layerName: string;
|
|
6
|
-
layers:
|
|
6
|
+
layers: LayerProps[];
|
|
7
7
|
isEnabled?: boolean;
|
|
8
8
|
tooltipPrefix?: string;
|
|
9
9
|
}
|
|
@@ -11,6 +11,7 @@ export declare const columnClasses: {
|
|
|
11
11
|
column6: string;
|
|
12
12
|
column7: string;
|
|
13
13
|
acceptanceTime: string;
|
|
14
|
+
loadDuration: string;
|
|
14
15
|
};
|
|
15
16
|
export declare const leftButtonsStyle: {
|
|
16
17
|
width: number;
|
|
@@ -39,6 +40,11 @@ export declare const layerManagerStyle: {
|
|
|
39
40
|
'.column-acceptanceTime': {
|
|
40
41
|
width: number;
|
|
41
42
|
};
|
|
43
|
+
'.column-loadDuration': {
|
|
44
|
+
width: number;
|
|
45
|
+
paddingLeft: number;
|
|
46
|
+
paddingRight: number;
|
|
47
|
+
};
|
|
42
48
|
'.column-6': {
|
|
43
49
|
width: number;
|
|
44
50
|
display: string;
|
|
@@ -70,7 +76,7 @@ export declare const layerManagerStyle: {
|
|
|
70
76
|
'.enable-btn-mini': {
|
|
71
77
|
display: string;
|
|
72
78
|
};
|
|
73
|
-
'.activateLayer-btn, .enable-btn, .column-2, .column-3, .column-4, .column-5, .column-6, .column-7, .column-acceptanceTime': {
|
|
79
|
+
'.activateLayer-btn, .enable-btn, .column-2, .column-3, .column-4, .column-5, .column-6, .column-7, .column-acceptanceTime, .column-loadDuration': {
|
|
74
80
|
display: string;
|
|
75
81
|
};
|
|
76
82
|
'#mappresets-menubutton, .addLayer-column, .setProjection-column': {
|
|
@@ -103,7 +109,7 @@ export declare const layerManagerStyle: {
|
|
|
103
109
|
};
|
|
104
110
|
'@container (max-width: 600px)': {
|
|
105
111
|
'.layermanager': {
|
|
106
|
-
'.column-3, .column-4, .column-5, .column-6, .column-7, .column-acceptanceTime': {
|
|
112
|
+
'.column-3, .column-4, .column-5, .column-6, .column-7, .column-acceptanceTime, .column-loadDuration': {
|
|
107
113
|
display: string;
|
|
108
114
|
};
|
|
109
115
|
'.column-2': {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import moment from 'moment';
|
|
2
1
|
import React from 'react';
|
|
3
2
|
export interface SimpleTimeSliderProps {
|
|
4
3
|
setTime: (time: string) => void;
|
|
5
4
|
timeValue: string;
|
|
6
|
-
startValue:
|
|
7
|
-
endValue:
|
|
5
|
+
startValue: string;
|
|
6
|
+
endValue: string;
|
|
8
7
|
}
|
|
9
8
|
export declare const SimpleTimeSlider: React.FC<SimpleTimeSliderProps>;
|
package/src/lib/index.d.ts
CHANGED