@opengeoweb/time-series 21.2.0 → 21.3.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/dist/index.esm.js +1227 -3654
- package/dist/src/lib/components/TimeSeries/TimeSeriesSettings.d.ts +9 -0
- package/dist/src/lib/components/TimeSeries/TimeSeriesSettingsSwitch.d.ts +11 -0
- package/dist/src/lib/components/TimeSeries/constants.d.ts +1 -1
- package/dist/src/lib/components/TimeSeries/types.d.ts +12 -0
- package/dist/src/lib/components/TimeSeriesManager/TimeSeriesManagerConnect.d.ts +5 -2
- package/dist/src/lib/components/{TimeSeriesSelect → TimeSeriesManager/TimeSeriesSelect}/TimeSeriesSelectConnect.d.ts +1 -0
- package/dist/src/lib/components/TimeSeriesManager/TimeSeriesSelect/useLoadServiceMetadata.d.ts +6 -0
- package/dist/src/lib/store/selectors.d.ts +22 -7
- package/dist/src/lib/utils/edrUtils.d.ts +1 -2
- package/dist/src/lib/utils/timeseries-api/api.d.ts +1 -2
- package/dist/src/lib/utils/timeseries-api/hooks.d.ts +3 -3
- package/package.json +11 -14
- package/dist/src/lib/components/TimeSeriesAddPlot/TimeSeriesAddPlot.d.ts +0 -10
- package/dist/src/lib/components/TimeSeriesManager/MissingUnitWarningConnect.d.ts +0 -8
- package/dist/src/lib/components/TimeSeriesManager/ParameterInfo/ParameterInfoDialog.d.ts +0 -43
- package/dist/src/lib/components/TimeSeriesManager/ParameterList.d.ts +0 -15
- package/dist/src/lib/components/TimeSeriesManager/PlotRows.d.ts +0 -22
- package/dist/src/lib/components/TimeSeriesManager/RowLayout.d.ts +0 -10
- package/dist/src/lib/components/TimeSeriesManager/TimeSeriesManager.d.ts +0 -41
- package/dist/src/lib/components/TimeSeriesManager/TimeSeriesManagerParameterComponents/ParameterDimensionIdSelect.d.ts +0 -14
- package/dist/src/lib/components/TimeSeriesManager/TimeSeriesManagerParameterComponents/ParameterDimensionSelect.d.ts +0 -10
- package/dist/src/lib/components/TimeSeriesManager/TimeSeriesManagerParameterComponents/ParameterDimensionValueSelect.d.ts +0 -12
- package/dist/src/lib/components/TimeSeriesManager/TimeSeriesManagerParameterComponents/ParameterNameSelect.d.ts +0 -10
- package/dist/src/lib/components/TimeSeriesManager/TimeSeriesManagerParameterComponents/ParameterReferenceTimeSelect.d.ts +0 -11
- package/dist/src/lib/components/TimeSeriesManager/TimeSeriesManagerRowAccordion.d.ts +0 -16
- package/dist/src/lib/components/TimeSeriesSelect/ServiceChips/ServiceChip.d.ts +0 -11
- package/dist/src/lib/components/TimeSeriesSelect/ServiceChips/ServiceChipConnect.d.ts +0 -12
- package/dist/src/lib/components/TimeSeriesSelect/ServiceOptionsConnect.d.ts +0 -6
- package/dist/src/lib/components/TimeSeriesSelect/ServiceOptionsDialog.d.ts +0 -13
- package/dist/src/lib/components/TimeSeriesSelect/ServicePopup/ServicePopup.d.ts +0 -18
- package/dist/src/lib/components/TimeSeriesSelect/ServicePopup/ServicePopupConnect.d.ts +0 -6
- package/dist/src/lib/components/TimeSeriesSelect/ServicePopup/ServicePopupDialogConnect.d.ts +0 -12
- package/dist/src/lib/components/TimeSeriesSelect/ServicePopup/utils.d.ts +0 -4
- package/dist/src/lib/components/TimeSeriesSelect/TimeSeriesSearchConnect.d.ts +0 -6
- package/dist/src/lib/components/TimeSeriesSelect/TimeSeriesSelect.d.ts +0 -15
- package/dist/src/lib/components/TimeSeriesSelect/TimeSeriesSelectButtonConnect.d.ts +0 -11
- package/dist/src/lib/components/TimeSeriesSelect/TimeSeriesSelectList.d.ts +0 -20
- package/dist/src/lib/components/TimeSeriesSelect/TimeSeriesSelectListConnect.d.ts +0 -12
- package/dist/src/lib/components/TimeSeriesSelect/TimeSeriesServiceList.d.ts +0 -9
- package/dist/src/lib/components/TimeSeriesSelect/TimeSeriesServiceListConnect.d.ts +0 -8
- package/dist/src/lib/components/TimeSeriesSelect/utils.d.ts +0 -20
- /package/dist/src/lib/components/TimeSeriesManager/{TimeSeriesManagerParameterComponents → StyleComponents}/ParameterColorSelect.d.ts +0 -0
- /package/dist/src/lib/components/TimeSeriesManager/{TimeSeriesManagerParameterComponents → StyleComponents}/ParameterOpacitySelect.d.ts +0 -0
- /package/dist/src/lib/components/TimeSeriesManager/{TimeSeriesManagerParameterComponents → StyleComponents}/ParameterTypeSelect.d.ts +0 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { TimeSeriesMarkersSwitchProps } from './TimeSeriesMarkersSwitch';
|
|
3
|
+
interface TimeSeriesSettingsProps extends TimeSeriesMarkersSwitchProps {
|
|
4
|
+
panelId: string;
|
|
5
|
+
shouldShowLegend: boolean;
|
|
6
|
+
toggleLegend: () => void;
|
|
7
|
+
}
|
|
8
|
+
export declare const TimeSeriesSettings: React.FC<TimeSeriesSettingsProps>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface TimeSeriesSettingsSwitchProps {
|
|
3
|
+
label: string;
|
|
4
|
+
description: string;
|
|
5
|
+
checked: boolean;
|
|
6
|
+
onChange?: (checked: boolean) => void;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
tooltip?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const TimeSeriesSettingsSwitch: React.FC<TimeSeriesSettingsSwitchProps>;
|
|
11
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const TIME_SERIES_CONTAINER_BREAKPOINT_PX = "
|
|
1
|
+
export declare const TIME_SERIES_CONTAINER_BREAKPOINT_PX = "682px";
|
|
2
2
|
export declare const TIME_SERIES_CONTAINER_NAME = "time-series-container";
|
|
@@ -257,3 +257,15 @@ export interface CustomDimension {
|
|
|
257
257
|
reference: string;
|
|
258
258
|
values: number[] | string[];
|
|
259
259
|
}
|
|
260
|
+
export interface TimeseriesCollectionDetail {
|
|
261
|
+
collectionId: string;
|
|
262
|
+
collectionTitle?: string;
|
|
263
|
+
collectionDescription?: string;
|
|
264
|
+
serviceId: string;
|
|
265
|
+
serviceName: string;
|
|
266
|
+
parameters: SelectParameter[];
|
|
267
|
+
dataQueries?: EDRDataQueriesObject;
|
|
268
|
+
customDimensions?: CustomDimension[];
|
|
269
|
+
allInstances?: EDRInstance[];
|
|
270
|
+
extent?: EDRExtentObject;
|
|
271
|
+
}
|
|
@@ -2,8 +2,11 @@ import type { FC } from 'react';
|
|
|
2
2
|
import type { TimeSeriesService } from '@opengeoweb/shared';
|
|
3
3
|
import { uiTypes } from '@opengeoweb/store';
|
|
4
4
|
export declare const DIALOG_TYPE_MANAGER = uiTypes.DialogTypes.TimeSeriesManager;
|
|
5
|
-
interface TimeSeriesManagerProps {
|
|
5
|
+
export interface TimeSeriesManagerProps {
|
|
6
6
|
preloadedTimeseriesServices?: TimeSeriesService[];
|
|
7
|
+
startSize?: {
|
|
8
|
+
width: number;
|
|
9
|
+
height: number;
|
|
10
|
+
};
|
|
7
11
|
}
|
|
8
12
|
export declare const TimeSeriesManagerConnect: FC<TimeSeriesManagerProps>;
|
|
9
|
-
export {};
|
|
@@ -8,6 +8,7 @@ interface TimeSeriesStateSlice {
|
|
|
8
8
|
export declare const getPanelState: (state: TimeSeriesStateSlice, panelId?: string) => TimeSeriesStoreType | undefined;
|
|
9
9
|
export declare const getPlotState: (state: TimeSeriesStateSlice, panelId?: string) => PlotPreset | undefined;
|
|
10
10
|
export declare const getParameterHasMissingUnit: (state: TimeSeriesStateSlice, panelId: string, parameter: Parameter) => boolean;
|
|
11
|
+
export declare const parameterHasMissingUnit: (missingUnitParameters: TimeSeriesStoreType["missingUnitParameters"], parameter: Parameter) => boolean;
|
|
11
12
|
export declare const getPlotById: (state: TimeSeriesStateSlice, panelId: string | undefined, plotId: string) => Plot | undefined;
|
|
12
13
|
export declare const getPlotIsOpen: (state: TimeSeriesStateSlice, panelId: string | undefined, plotId: string) => boolean;
|
|
13
14
|
export declare const getPlotCustomSize: (state: TimeSeriesStateSlice, panelId: string | undefined, plotId: string) => number | undefined;
|
|
@@ -104,13 +105,6 @@ export declare const getSearchFilter: ((state: TimeSeriesStateSlice, panelId?: s
|
|
|
104
105
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
105
106
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
106
107
|
};
|
|
107
|
-
/**
|
|
108
|
-
* Returns all currently used parameters
|
|
109
|
-
*
|
|
110
|
-
* Example getParametersInUse(store);
|
|
111
|
-
* @param {object} store store: object - store object
|
|
112
|
-
* @returns {Parameter[]} returnType: Parameter[]
|
|
113
|
-
*/
|
|
114
108
|
export declare const getParametersInUse: ((state: TimeSeriesStateSlice, panelId?: string | undefined) => Parameter[]) & {
|
|
115
109
|
clearCache: () => void;
|
|
116
110
|
resultsCount: () => number;
|
|
@@ -132,6 +126,27 @@ export declare const getParametersInUse: ((state: TimeSeriesStateSlice, panelId?
|
|
|
132
126
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
133
127
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
134
128
|
};
|
|
129
|
+
export declare const getUsedServiceIds: ((state: TimeSeriesStoreType | TimeSeriesState | undefined) => string[]) & {
|
|
130
|
+
clearCache: () => void;
|
|
131
|
+
resultsCount: () => number;
|
|
132
|
+
resetResultsCount: () => void;
|
|
133
|
+
} & {
|
|
134
|
+
resultFunc: (resultFuncArgs_0: TimeSeriesStoreType | TimeSeriesState | undefined) => string[];
|
|
135
|
+
memoizedResultFunc: ((resultFuncArgs_0: TimeSeriesStoreType | TimeSeriesState | undefined) => string[]) & {
|
|
136
|
+
clearCache: () => void;
|
|
137
|
+
resultsCount: () => number;
|
|
138
|
+
resetResultsCount: () => void;
|
|
139
|
+
};
|
|
140
|
+
lastResult: () => string[];
|
|
141
|
+
dependencies: [(state: TimeSeriesState | TimeSeriesStoreType | undefined) => TimeSeriesStoreType | TimeSeriesState | undefined];
|
|
142
|
+
recomputations: () => number;
|
|
143
|
+
resetRecomputations: () => void;
|
|
144
|
+
dependencyRecomputations: () => number;
|
|
145
|
+
resetDependencyRecomputations: () => void;
|
|
146
|
+
} & {
|
|
147
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
148
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
149
|
+
};
|
|
135
150
|
export declare const getServiceFilterChips: (store: TimeSeriesStateSlice, panelId?: string) => ServiceFilterChipsObjectEntities;
|
|
136
151
|
export declare const getServiceFilterChipsById: (store: TimeSeriesStateSlice, id: string, panelId?: string) => ServiceFilterChipsObject | undefined;
|
|
137
152
|
/**
|
|
@@ -2,8 +2,7 @@ import type { Feature, Geometry, GeometryObject, Position } from 'geojson';
|
|
|
2
2
|
import type { TimeSeriesService } from '@opengeoweb/shared';
|
|
3
3
|
import type { TimeSliderStartEndStep } from '@opengeoweb/store';
|
|
4
4
|
import { MapFeatureClass } from '@opengeoweb/webmap-react';
|
|
5
|
-
import type { EDRCollection, EDRInstance, EDRParameter, Parameter, PointerLocation, SelectParameter } from '../components/TimeSeries/types';
|
|
6
|
-
import type { TimeseriesCollectionDetail } from '../components/TimeSeriesSelect/utils';
|
|
5
|
+
import type { EDRCollection, EDRInstance, EDRParameter, Parameter, PointerLocation, SelectParameter, TimeseriesCollectionDetail } from '../components/TimeSeries/types';
|
|
7
6
|
export declare const createUrl: (baseUrl: string, pathToAdd?: string, queryParameters?: [string, string][]) => string;
|
|
8
7
|
export declare const supportedOutputFormat = "CoverageJSON";
|
|
9
8
|
export declare const serializeDimensions: (dimensions?: {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { GeometryObject } from 'geojson';
|
|
2
2
|
import type { PlotParameter, TimeSeriesService } from '@opengeoweb/shared';
|
|
3
|
-
import type { EDRCollection, EDRInstance, EDRPositionResponse, EDRPositionResponseCoverageCollection, GeoJsonWithService, PointerLocation } from '../../components/TimeSeries/types';
|
|
4
|
-
import type { TimeseriesCollectionDetail } from '../../components/TimeSeriesSelect/utils';
|
|
3
|
+
import type { EDRCollection, EDRInstance, EDRPositionResponse, EDRPositionResponseCoverageCollection, GeoJsonWithService, PointerLocation, TimeseriesCollectionDetail } from '../../components/TimeSeries/types';
|
|
5
4
|
export interface LocationsResult {
|
|
6
5
|
features: {
|
|
7
6
|
id: string;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import type { UseQueryResult } from '@tanstack/react-query';
|
|
2
2
|
import type { FeatureCollection, Geometry } from 'geojson';
|
|
3
3
|
import type { TFunction } from 'i18next';
|
|
4
|
-
import type { PlotPreset, TimeSeriesService } from '@opengeoweb/shared';
|
|
4
|
+
import type { PlotManagerCollection, PlotPreset, TimeSeriesService } from '@opengeoweb/shared';
|
|
5
5
|
import type { TimeSliderStartEndStep } from '@opengeoweb/store';
|
|
6
6
|
import type { EDRServiceInformation } from './api';
|
|
7
|
-
import type { EDRCollection, EDRInstance, GeoJsonWithService, PlotWithData, PointerLocation, UseGetLocationReturnTypeProperties } from '../../components/TimeSeries/types';
|
|
7
|
+
import type { EDRCollection, EDRInstance, GeoJsonWithService, PlotWithData, PointerLocation, UseGetLocationReturnTypeProperties, TimeseriesCollectionDetail } from '../../components/TimeSeries/types';
|
|
8
8
|
import type { ParameterCollectionQueryData } from '../../components/TimeSeries/utils';
|
|
9
|
-
import type { TimeseriesCollectionDetail } from '../../components/TimeSeriesSelect/utils';
|
|
10
9
|
interface CombinedResult<T> {
|
|
11
10
|
data: T | undefined;
|
|
12
11
|
isFetching: boolean;
|
|
@@ -51,6 +50,7 @@ export declare const useGetServiceInformation: (serviceUrl: string) => UseQueryR
|
|
|
51
50
|
export declare const useGetCollections: (serviceUrl: string) => UseQueryResult<EDRCollection[]>;
|
|
52
51
|
export declare const useGetDetailsForCollection: (service: TimeSeriesService, collectionId: string) => UseQueryResult<TimeseriesCollectionDetail>;
|
|
53
52
|
export declare const useGetInstances: (serviceUrl: string, collectionId: string, supportsInstances?: boolean) => UseQueryResult<EDRInstance[]>;
|
|
53
|
+
export declare const usePlotManagerCollections: (plotState: PlotPreset | undefined, services: TimeSeriesService[], isOpen: boolean) => PlotManagerCollection[];
|
|
54
54
|
export declare const useGetServiceCollectionDetails: (services: TimeSeriesService[], isOpen: boolean) => CombinedResult<TimeseriesCollectionDetail[]>;
|
|
55
55
|
export declare const useGetCollectionsAndInstanceDetails: (queryData: Record<string, ParameterCollectionQueryData>) => CombinedResult<TimeseriesCollectionDetail[]>;
|
|
56
56
|
export declare const useGetPlotsWithData: (plotsWithoutData: PlotPreset, selectedLocation: PointerLocation, services: TimeSeriesService[], splitGeoJsonByCollection: GeoJsonWithService[], t: TFunction, syncgroupTimeState?: TimeSliderStartEndStep) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/time-series",
|
|
3
|
-
"version": "21.
|
|
3
|
+
"version": "21.3.0",
|
|
4
4
|
"description": "GeoWeb time-series library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -21,28 +21,25 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"immer": "^10.0.3",
|
|
24
|
-
"@opengeoweb/shared": "21.
|
|
24
|
+
"@opengeoweb/shared": "21.3.0",
|
|
25
25
|
"@reduxjs/toolkit": "^2.6.1",
|
|
26
26
|
"react-redux": "^9.2.0",
|
|
27
|
-
"@opengeoweb/webmap": "21.
|
|
28
|
-
"@opengeoweb/webmap-react": "21.
|
|
27
|
+
"@opengeoweb/webmap": "21.3.0",
|
|
28
|
+
"@opengeoweb/webmap-react": "21.3.0",
|
|
29
29
|
"lodash": "^4.18.1",
|
|
30
|
-
"@opengeoweb/api": "21.
|
|
31
|
-
"@opengeoweb/authentication": "21.
|
|
32
|
-
"@opengeoweb/theme": "21.
|
|
33
|
-
"@opengeoweb/store": "21.
|
|
30
|
+
"@opengeoweb/api": "21.3.0",
|
|
31
|
+
"@opengeoweb/authentication": "21.3.0",
|
|
32
|
+
"@opengeoweb/theme": "21.3.0",
|
|
33
|
+
"@opengeoweb/store": "21.3.0",
|
|
34
34
|
"echarts-for-react": "^3.0.6",
|
|
35
35
|
"echarts": "^6.1.0",
|
|
36
|
-
"
|
|
37
|
-
"@opengeoweb/snackbar": "21.2.0",
|
|
36
|
+
"@opengeoweb/snackbar": "21.3.0",
|
|
38
37
|
"react-window": "^2.2.6",
|
|
39
38
|
"msw": "^2.7.3",
|
|
40
|
-
"i18next": "^
|
|
39
|
+
"i18next": "^26.3.4",
|
|
41
40
|
"react-i18next": "^15.1.1",
|
|
42
|
-
"@opengeoweb/core": "21.
|
|
43
|
-
"@opengeoweb/form-fields": "21.2.0",
|
|
41
|
+
"@opengeoweb/core": "21.3.0",
|
|
44
42
|
"@mui/material": "^9.0.1",
|
|
45
|
-
"react-hook-form": "^7.61.1",
|
|
46
43
|
"uuid": "^11.1.1",
|
|
47
44
|
"@turf/turf": "^7.2.0",
|
|
48
45
|
"@tanstack/react-query": "^5.85.5",
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { TFunction } from 'i18next';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import type { PlotPreset } from '../TimeSeries/types';
|
|
4
|
-
interface AddPlotButtonProps {
|
|
5
|
-
handleClick: (title: string) => void;
|
|
6
|
-
plotState: PlotPreset;
|
|
7
|
-
t: TFunction;
|
|
8
|
-
}
|
|
9
|
-
export declare const AddPlotButton: React.FC<AddPlotButtonProps>;
|
|
10
|
-
export {};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { TimeSeriesService } from '@opengeoweb/shared';
|
|
3
|
-
import type { uiTypes } from '@opengeoweb/store';
|
|
4
|
-
import type { EDRInstance, Parameter } from '../../TimeSeries/types';
|
|
5
|
-
import type { TimeseriesCollectionDetail } from '../../TimeSeriesSelect/utils';
|
|
6
|
-
export interface ParameterInfoDialogProps {
|
|
7
|
-
currentParameterInfo: Parameter;
|
|
8
|
-
relatedService: TimeSeriesService | undefined;
|
|
9
|
-
collectionInformation: TimeseriesCollectionDetail | undefined;
|
|
10
|
-
isLoadingCollectionInformation: boolean;
|
|
11
|
-
instanceInformation: EDRInstance[] | undefined;
|
|
12
|
-
isLoadingInstanceInformation: boolean;
|
|
13
|
-
supportsInstances: boolean;
|
|
14
|
-
onClose: () => void;
|
|
15
|
-
isOpen: boolean;
|
|
16
|
-
onMouseDown?: () => void;
|
|
17
|
-
order?: number;
|
|
18
|
-
source?: uiTypes.Source;
|
|
19
|
-
dialogHeight?: number;
|
|
20
|
-
}
|
|
21
|
-
export declare const ParameterInfoDialog: React.FC<ParameterInfoDialogProps>;
|
|
22
|
-
export declare const QueryInfoElement: React.FC<{
|
|
23
|
-
queryInformation: TimeseriesCollectionDetail | undefined;
|
|
24
|
-
isLoadingCollectionInformation: boolean;
|
|
25
|
-
}>;
|
|
26
|
-
export declare const DimensionInfoElement: React.FC<{
|
|
27
|
-
instanceInformation: EDRInstance[] | undefined;
|
|
28
|
-
isLoading: boolean;
|
|
29
|
-
}>;
|
|
30
|
-
export interface ParameterInfoTextProps {
|
|
31
|
-
label: string;
|
|
32
|
-
value: string;
|
|
33
|
-
}
|
|
34
|
-
export interface ListItem {
|
|
35
|
-
label: string;
|
|
36
|
-
value: string;
|
|
37
|
-
icon: React.ReactElement;
|
|
38
|
-
}
|
|
39
|
-
export interface ParameterInfoListProps {
|
|
40
|
-
label: string;
|
|
41
|
-
list: ListItem[];
|
|
42
|
-
}
|
|
43
|
-
export declare const ParameterInfoList: React.FC<ParameterInfoListProps>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { TFunction } from 'i18next';
|
|
2
|
-
import type { FC } from 'react';
|
|
3
|
-
import type { Parameter, Plot } from '../TimeSeries/types';
|
|
4
|
-
import type { MoveParameterPayload } from '../../store/types';
|
|
5
|
-
export declare const ParameterList: FC<{
|
|
6
|
-
panelId: string;
|
|
7
|
-
plot: Plot;
|
|
8
|
-
plotIsEnabled: boolean;
|
|
9
|
-
deleteParameter: (id: string) => void;
|
|
10
|
-
toggleParameter: (id: string) => void;
|
|
11
|
-
patchParameter: (parameter: Partial<Parameter>) => void;
|
|
12
|
-
addParameter: (parameter: Parameter) => void;
|
|
13
|
-
moveParameter: (event: MoveParameterPayload) => void;
|
|
14
|
-
t: TFunction;
|
|
15
|
-
}>;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { TFunction } from 'i18next';
|
|
2
|
-
import type { FC } from 'react';
|
|
3
|
-
import type { MoveParameterPayload, UpdateTitlePayload } from '../../store/types';
|
|
4
|
-
import type { Parameter, Plot } from '../TimeSeries/types';
|
|
5
|
-
export declare const PlotRows: FC<{
|
|
6
|
-
panelId: string;
|
|
7
|
-
plot: Plot;
|
|
8
|
-
rowIndex: number;
|
|
9
|
-
showTooltip: boolean;
|
|
10
|
-
deletePlot: (id: string) => void;
|
|
11
|
-
duplicatePlot: (id: string) => void;
|
|
12
|
-
deleteParameter: (id: string) => void;
|
|
13
|
-
togglePlot: (id: string) => void;
|
|
14
|
-
selectPlotId: string;
|
|
15
|
-
setSelectPlotId: (id: string) => void;
|
|
16
|
-
toggleParameter: (id: string) => void;
|
|
17
|
-
patchParameter: (parameter: Partial<Parameter>) => void;
|
|
18
|
-
updateTitle: (payload: UpdateTitlePayload) => void;
|
|
19
|
-
addParameter: (parameter: Parameter) => void;
|
|
20
|
-
moveParameter: (event: MoveParameterPayload) => void;
|
|
21
|
-
t: TFunction;
|
|
22
|
-
}>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { GridProps } from '@mui/material';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export declare const RowLayout: React.FC<{
|
|
4
|
-
plot?: React.ReactNode;
|
|
5
|
-
collection?: React.ReactNode;
|
|
6
|
-
parameter?: React.ReactNode;
|
|
7
|
-
style?: React.ReactNode;
|
|
8
|
-
dimension?: React.ReactNode;
|
|
9
|
-
actions?: React.ReactNode;
|
|
10
|
-
} & GridProps>;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import type { FC } from 'react';
|
|
2
|
-
import type { SortableEvent } from 'react-sortablejs';
|
|
3
|
-
import type { Position } from '@opengeoweb/shared';
|
|
4
|
-
import type { MoveParameterPayload, UpdateTitlePayload } from '../../store/types';
|
|
5
|
-
import type { Parameter, PlotPreset } from '../TimeSeries/types';
|
|
6
|
-
export declare const styles: {
|
|
7
|
-
headerText: {
|
|
8
|
-
fontSize: number;
|
|
9
|
-
opacity: number;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export interface CustomSortableEvent extends SortableEvent {
|
|
13
|
-
oldIndex: number;
|
|
14
|
-
newIndex: number;
|
|
15
|
-
}
|
|
16
|
-
export declare const TimeSeriesManager: FC<{
|
|
17
|
-
panelId: string;
|
|
18
|
-
onClose: () => void;
|
|
19
|
-
onMouseDown: () => void;
|
|
20
|
-
isOpen: boolean;
|
|
21
|
-
order: number;
|
|
22
|
-
plotState: PlotPreset;
|
|
23
|
-
addPlot: (title: string) => void;
|
|
24
|
-
deletePlot: (id: string) => void;
|
|
25
|
-
duplicatePlot: (id: string) => void;
|
|
26
|
-
togglePlot: (id: string) => void;
|
|
27
|
-
addParameter: (parameter: Parameter) => void;
|
|
28
|
-
deleteParameter: (id: string) => void;
|
|
29
|
-
toggleParameter: (id: string) => void;
|
|
30
|
-
selectPlotId: string;
|
|
31
|
-
setSelectPlotId: (id: string) => void;
|
|
32
|
-
startPosition?: Position;
|
|
33
|
-
patchParameter: (parameter: Partial<Parameter>) => void;
|
|
34
|
-
movePlot: (event: CustomSortableEvent) => void;
|
|
35
|
-
moveParameter: (event: MoveParameterPayload) => void;
|
|
36
|
-
updateTitle: (payload: UpdateTitlePayload) => void;
|
|
37
|
-
startSize?: {
|
|
38
|
-
width: number;
|
|
39
|
-
height: number;
|
|
40
|
-
};
|
|
41
|
-
}>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { TFunction } from 'i18next';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import type { CustomDimension, Parameter } from '../../TimeSeries/types';
|
|
4
|
-
declare const ParameterDimensionIdSelect: React.FC<{
|
|
5
|
-
rowIsEnabled: boolean;
|
|
6
|
-
parameter: Parameter;
|
|
7
|
-
customDimensions: CustomDimension[];
|
|
8
|
-
hasReferenceTime: boolean;
|
|
9
|
-
patchParameter: (parameter: Partial<Parameter>) => void;
|
|
10
|
-
selectedDimensionId?: string;
|
|
11
|
-
setSelectedDimensionId: (dimensionId: string) => void;
|
|
12
|
-
t: TFunction;
|
|
13
|
-
}>;
|
|
14
|
-
export default ParameterDimensionIdSelect;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { TFunction } from 'i18next';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import type { Parameter } from '../../TimeSeries/types';
|
|
4
|
-
declare const ParameterDimensionSelect: React.FC<{
|
|
5
|
-
rowIsEnabled: boolean;
|
|
6
|
-
parameter: Parameter;
|
|
7
|
-
patchParameter: (parameter: Partial<Parameter>) => void;
|
|
8
|
-
t: TFunction;
|
|
9
|
-
}>;
|
|
10
|
-
export default ParameterDimensionSelect;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { TFunction } from 'i18next';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import type { CustomDimension, Parameter } from '../../TimeSeries/types';
|
|
4
|
-
declare const ParameterDimensionValueSelect: React.FC<{
|
|
5
|
-
rowIsEnabled: boolean;
|
|
6
|
-
parameter: Parameter;
|
|
7
|
-
customDimensions: CustomDimension[];
|
|
8
|
-
patchParameter: (parameter: Partial<Parameter>) => void;
|
|
9
|
-
selectedDimensionId?: string;
|
|
10
|
-
t: TFunction;
|
|
11
|
-
}>;
|
|
12
|
-
export default ParameterDimensionValueSelect;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { TFunction } from 'i18next';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import type { Parameter } from '../../TimeSeries/types';
|
|
4
|
-
declare const ParameterNameSelect: React.FC<{
|
|
5
|
-
rowIsEnabled: boolean;
|
|
6
|
-
parameter: Parameter;
|
|
7
|
-
patchParameter: (parameter: Partial<Parameter>) => void;
|
|
8
|
-
t: TFunction;
|
|
9
|
-
}>;
|
|
10
|
-
export default ParameterNameSelect;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { TFunction } from 'i18next';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import type { EDRInstance, Parameter } from '../../TimeSeries/types';
|
|
4
|
-
export declare const defaultInstanceId = "latest-0";
|
|
5
|
-
export declare const ReferenceTimeSelect: React.FC<{
|
|
6
|
-
rowIsEnabled: boolean;
|
|
7
|
-
parameter: Parameter;
|
|
8
|
-
refTimeList: EDRInstance[];
|
|
9
|
-
t: TFunction;
|
|
10
|
-
patchParameter: (parameter: Partial<Parameter>) => void;
|
|
11
|
-
}>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { TFunction } from 'i18next';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import type { Parameter, ParameterListStyles } from '../TimeSeries/types';
|
|
4
|
-
declare const TimeSeriesManagerRowAccordion: React.FC<{
|
|
5
|
-
panelId: string;
|
|
6
|
-
plotIsEnabled: boolean;
|
|
7
|
-
rowIsEnabled: boolean;
|
|
8
|
-
parameter: Parameter;
|
|
9
|
-
styles: ParameterListStyles;
|
|
10
|
-
addParameter: (parameter: Parameter) => void;
|
|
11
|
-
patchParameter: (parameter: Partial<Parameter>) => void;
|
|
12
|
-
deleteParameter: (id: string) => void;
|
|
13
|
-
toggleParameter: (id: string) => void;
|
|
14
|
-
t: TFunction;
|
|
15
|
-
}>;
|
|
16
|
-
export default TimeSeriesManagerRowAccordion;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { ServiceFilterChipsObject } from '../../../store/types';
|
|
3
|
-
interface ServiceChipProps {
|
|
4
|
-
all?: boolean;
|
|
5
|
-
service?: ServiceFilterChipsObject;
|
|
6
|
-
isSelected?: boolean;
|
|
7
|
-
isDisabled?: boolean;
|
|
8
|
-
toggleChip?: (service: string) => void;
|
|
9
|
-
}
|
|
10
|
-
declare const ServiceChip: React.FC<ServiceChipProps>;
|
|
11
|
-
export default ServiceChip;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { ServiceFilterChipsObject } from '../../../store/types';
|
|
3
|
-
export interface ServiceChipConnectProps {
|
|
4
|
-
service: ServiceFilterChipsObject;
|
|
5
|
-
isAllSelected: boolean;
|
|
6
|
-
panelId: string;
|
|
7
|
-
}
|
|
8
|
-
export declare const ServiceChipConnect: React.FC<ServiceChipConnectProps>;
|
|
9
|
-
export declare const AllChipConnect: React.FC<{
|
|
10
|
-
isAllSelected: boolean;
|
|
11
|
-
panelId: string;
|
|
12
|
-
}>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { TimeSeriesService } from '@opengeoweb/shared';
|
|
3
|
-
import type { Parameter } from '../TimeSeries/types';
|
|
4
|
-
export declare const sortByService: (serviceObj: TimeSeriesService[]) => TimeSeriesService[];
|
|
5
|
-
interface ServiceOptionsDialogProps {
|
|
6
|
-
services: TimeSeriesService[] | undefined;
|
|
7
|
-
parametersInUse: Parameter[];
|
|
8
|
-
openNewServicePopup: () => void;
|
|
9
|
-
openServicePopup: (variant: 'edit' | 'show', id: string, url: string) => void;
|
|
10
|
-
removeService: (id: string, message?: string) => void;
|
|
11
|
-
}
|
|
12
|
-
export declare const ServiceOptionsDialog: React.FC<ServiceOptionsDialogProps>;
|
|
13
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { ServiceInterface, TimeSeriesService } from '@opengeoweb/shared';
|
|
3
|
-
import type { TimeSeriesTypes } from '../../../store';
|
|
4
|
-
export interface ServicePopupProps {
|
|
5
|
-
servicePopupVariant: TimeSeriesTypes.PopupVariant;
|
|
6
|
-
hideBackdrop?: boolean;
|
|
7
|
-
isOpen?: boolean;
|
|
8
|
-
closePopup: () => void;
|
|
9
|
-
shouldDisableAutoFocus?: boolean;
|
|
10
|
-
serviceUrl?: string;
|
|
11
|
-
serviceName?: string;
|
|
12
|
-
serviceDescription?: string;
|
|
13
|
-
serviceType?: ServiceInterface;
|
|
14
|
-
services?: TimeSeriesService[];
|
|
15
|
-
serviceSetService: (payload: TimeSeriesService) => void;
|
|
16
|
-
showSnackbar?: (message: string) => void;
|
|
17
|
-
}
|
|
18
|
-
export declare const ServicePopup: React.FC<ServicePopupProps>;
|
package/dist/src/lib/components/TimeSeriesSelect/ServicePopup/ServicePopupDialogConnect.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { TimeSeriesTypes } from '../../../store';
|
|
3
|
-
interface ServicePopupDialogConnectType {
|
|
4
|
-
isOpen: boolean;
|
|
5
|
-
panelId: string;
|
|
6
|
-
serviceId?: string;
|
|
7
|
-
variant: TimeSeriesTypes.PopupVariant;
|
|
8
|
-
url?: string;
|
|
9
|
-
setServicePopupClosed: () => void;
|
|
10
|
-
}
|
|
11
|
-
export declare const ServicePopupDialogConnect: React.FC<ServicePopupDialogConnectType>;
|
|
12
|
-
export {};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { TimeSeriesService } from '@opengeoweb/shared';
|
|
2
|
-
export type ValidationResult = string | boolean;
|
|
3
|
-
export declare const validateServiceName: (value: string, services: TimeSeriesService[], ownServiceName?: string) => ValidationResult;
|
|
4
|
-
export declare const validateServiceUrl: (value: string, services: TimeSeriesService[]) => ValidationResult;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { FC } from 'react';
|
|
2
|
-
import type { TimeSeriesService } from '@opengeoweb/shared';
|
|
3
|
-
import type { Parameter, Plot } from '../TimeSeries/types';
|
|
4
|
-
interface TimeSeriesSelectProps {
|
|
5
|
-
panelId: string;
|
|
6
|
-
onClose: () => void;
|
|
7
|
-
onMouseDown: () => void;
|
|
8
|
-
isOpen: boolean;
|
|
9
|
-
order: number;
|
|
10
|
-
selectPlot: Plot;
|
|
11
|
-
handleAddOrRemoveClick: (parameter: Parameter, plotHasParameter: boolean) => void;
|
|
12
|
-
services: TimeSeriesService[];
|
|
13
|
-
}
|
|
14
|
-
export declare const TimeSeriesSelect: FC<TimeSeriesSelectProps>;
|
|
15
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { TFunction } from 'i18next';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface TimeSeriesSelectButtonConnectProps {
|
|
4
|
-
isEnabled: boolean;
|
|
5
|
-
onClick: () => void;
|
|
6
|
-
t: TFunction;
|
|
7
|
-
plotId: string;
|
|
8
|
-
selectPlotId: string;
|
|
9
|
-
panelId: string;
|
|
10
|
-
}
|
|
11
|
-
export declare const TimeSeriesSelectButtonConnect: React.FC<TimeSeriesSelectButtonConnectProps>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { FC } from 'react';
|
|
2
|
-
import type { TimeseriesCollectionDetail } from './utils';
|
|
3
|
-
import type { CollectionSelectionTarget, ServiceFilterChipsObjectEntities } from '../../store/types';
|
|
4
|
-
import type { Parameter, Plot } from '../TimeSeries/types';
|
|
5
|
-
export declare const NO_RESULTS_FOUND_MESSAGE = "No parameters found";
|
|
6
|
-
export declare const DEFAULT_DIALOG_HEIGHT = 500;
|
|
7
|
-
interface TimeSeriesSelectListProps {
|
|
8
|
-
selectPlot: Plot;
|
|
9
|
-
panelId: string;
|
|
10
|
-
collectionListItemDetails: Record<string, boolean>;
|
|
11
|
-
collectionList?: TimeseriesCollectionDetail[];
|
|
12
|
-
setCollectionListItemDetails: (newList: Record<string, boolean>) => void;
|
|
13
|
-
handleAddOrRemoveClick: (parameter: Parameter, plotHasParameter: boolean) => void;
|
|
14
|
-
searchFilter: string;
|
|
15
|
-
filterChipsServices: ServiceFilterChipsObjectEntities;
|
|
16
|
-
allFilterChipsEnabled: boolean;
|
|
17
|
-
collectionSelection?: CollectionSelectionTarget;
|
|
18
|
-
}
|
|
19
|
-
export declare const TimeSeriesSelectList: FC<TimeSeriesSelectListProps>;
|
|
20
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { FC } from 'react';
|
|
2
|
-
import type { TimeSeriesService } from '@opengeoweb/shared';
|
|
3
|
-
import type { Parameter, Plot } from '../TimeSeries/types';
|
|
4
|
-
interface TimeSeriesSelectListConnectProps {
|
|
5
|
-
selectPlot: Plot;
|
|
6
|
-
handleAddOrRemoveClick: (parameter: Parameter, plotHasParameter: boolean) => void;
|
|
7
|
-
services: TimeSeriesService[];
|
|
8
|
-
isOpen: boolean;
|
|
9
|
-
panelId: string;
|
|
10
|
-
}
|
|
11
|
-
export declare const TimeSeriesSelectListConnect: FC<TimeSeriesSelectListConnectProps>;
|
|
12
|
-
export {};
|