@opengeoweb/data-explorer 21.0.0 → 21.1.0-nightly-20261106

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.
@@ -1,5 +1,6 @@
1
1
  import dataExplorerTranslations from '../locales/dataexplorer.json';
2
2
  export { DataExplorerConnect } from './lib/components/DataExplorerConnect';
3
+ export type { DatasetTimeseriesRequest, AddDatasetTimeseries, } from './lib/components/DatasetActionsContext';
3
4
  export { dataExplorerMiddlewares, dataExplorerReducersMap, DataExplorerTypes, } from './lib/store';
4
5
  export { DATA_EXPLORER_NAMESPACE } from './lib/utils/i18n';
5
6
  export { dataExplorerTranslations };
@@ -1,6 +1,8 @@
1
1
  import React from 'react';
2
+ import type { AddDatasetTimeseries } from './DatasetActionsContext';
2
3
  interface Props {
3
4
  productConfigKey: string;
5
+ onAddTimeseries?: AddDatasetTimeseries;
4
6
  }
5
7
  export declare const DataExplorerConnect: React.FC<Props>;
6
8
  export {};
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import type { InfoDialogLinksProps } from '../store/types';
3
+ export interface DatasetTimeseriesRequest {
4
+ title: string;
5
+ collectionLinks: InfoDialogLinksProps[];
6
+ targetMapId?: string;
7
+ }
8
+ export type AddDatasetTimeseries = (request: DatasetTimeseriesRequest) => Promise<void>;
9
+ interface DatasetActions {
10
+ addTimeseries?: AddDatasetTimeseries;
11
+ isAddingTimeseries: boolean;
12
+ }
13
+ export declare const DatasetActionsProvider: React.FC<{
14
+ onAddTimeseries?: AddDatasetTimeseries;
15
+ children: React.ReactNode;
16
+ }>;
17
+ export declare const useDatasetActions: () => DatasetActions;
18
+ export {};
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import type { layerTypes } from '@opengeoweb/store';
2
3
  interface DatasetAddRemoveButtonProps {
3
4
  layerName: string;
@@ -5,6 +6,11 @@ interface DatasetAddRemoveButtonProps {
5
6
  disabled: boolean;
6
7
  addLayer: () => void;
7
8
  deleteLayer: () => void;
9
+ isLoading?: boolean;
10
+ addOptions?: {
11
+ label: string;
12
+ onClick: () => void;
13
+ }[];
8
14
  }
9
15
  declare const DatasetAddRemoveButton: React.FC<DatasetAddRemoveButtonProps>;
10
16
  export default DatasetAddRemoveButton;
@@ -9,6 +9,12 @@ interface DatasetRowProps {
9
9
  addDisabled?: boolean;
10
10
  foundLayer?: layerTypes.Layer | null;
11
11
  layerName?: string | null;
12
+ isAdding?: boolean;
13
+ addError?: string;
14
+ addOptions?: {
15
+ label: string;
16
+ onClick: () => void;
17
+ }[];
12
18
  }
13
19
  declare const DatasetRow: React.FC<DatasetRowProps>;
14
20
  export default DatasetRow;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/data-explorer",
3
- "version": "21.0.0",
3
+ "version": "21.1.0-nightly-20261106",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git@gitlab.com:opengeoweb/opengeoweb.git"
@@ -19,15 +19,15 @@
19
19
  },
20
20
  "dependencies": {
21
21
  "@mui/material": "^9.0.1",
22
- "@opengeoweb/api": "21.0.0",
23
- "@opengeoweb/authentication": "21.0.0",
24
- "@opengeoweb/core": "21.0.0",
25
- "@opengeoweb/shared": "21.0.0",
26
- "@opengeoweb/snackbar": "21.0.0",
27
- "@opengeoweb/store": "21.0.0",
28
- "@opengeoweb/theme": "21.0.0",
29
- "@opengeoweb/webmap": "21.0.0",
30
- "@opengeoweb/webmap-react": "21.0.0",
22
+ "@opengeoweb/api": "21.1.0-nightly-20261106",
23
+ "@opengeoweb/authentication": "21.1.0-nightly-20261106",
24
+ "@opengeoweb/core": "21.1.0-nightly-20261106",
25
+ "@opengeoweb/shared": "21.1.0-nightly-20261106",
26
+ "@opengeoweb/snackbar": "21.1.0-nightly-20261106",
27
+ "@opengeoweb/store": "21.1.0-nightly-20261106",
28
+ "@opengeoweb/theme": "21.1.0-nightly-20261106",
29
+ "@opengeoweb/webmap": "21.1.0-nightly-20261106",
30
+ "@opengeoweb/webmap-react": "21.1.0-nightly-20261106",
31
31
  "@reduxjs/toolkit": "^2.6.1",
32
32
  "@tanstack/query-core": "^5.69.2",
33
33
  "@tanstack/react-query": "^5.85.5",
@@ -40,7 +40,7 @@
40
40
  "react-redux": "^9.2.0"
41
41
  },
42
42
  "devDependencies": {
43
- "eslint-plugin-storybook": "10.3.3"
43
+ "eslint-plugin-storybook": "^10.3.3"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "react": "19"