@opengeoweb/core 4.15.1 → 4.17.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.
@@ -0,0 +1 @@
1
+ export declare const NavigateSetter: () => null;
@@ -0,0 +1,6 @@
1
+ import * as React from 'react';
2
+ interface WrapperProps {
3
+ children?: React.ReactElement;
4
+ }
5
+ export declare const RouterWrapperConnect: React.FC<WrapperProps>;
6
+ export {};
@@ -0,0 +1 @@
1
+ export { RouterWrapperConnect } from './RouterWrapperConnect';
package/lib/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { mapSelectors, uiActions, uiSelectors, layerActions, genericActions, snackbarActions, appActions, layerSelectors } from './store';
1
+ import { mapSelectors, uiActions, uiSelectors, layerActions, genericActions, snackbarActions, routerActions, appActions, layerSelectors } from './store';
2
2
  import * as mapTypes from './store/mapStore/types';
3
3
  import * as layerTypes from './store/mapStore/layers/types';
4
4
  import * as mapUtils from './store/mapStore/map/utils';
@@ -74,7 +74,7 @@ export declare const mapActions: {
74
74
  onUpdateLayerInformation: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.UpdateLayerInfoPayload, string>;
75
75
  setSelectedFeature: import("@reduxjs/toolkit").ActionCreatorWithPayload<mapTypes.SetSelectedFeaturePayload, string>;
76
76
  };
77
- export { mapSelectors, mapTypes, mapUtils, layerTypes, layerReducer, layerActions, uiActions, uiSelectors, uiTypes, genericActions as syncGroupActions, snackbarActions, appActions, layerSelectors, };
77
+ export { mapSelectors, mapTypes, mapUtils, layerTypes, layerReducer, layerActions, uiActions, uiSelectors, uiTypes, genericActions as syncGroupActions, snackbarActions, appActions, layerSelectors, routerActions, };
78
78
  export { synchronizationGroupConfig as synchronizationGroupModuleConfig };
79
79
  export * from './components/ComponentsLookUp';
80
80
  export * from './components/ConfigurableMap';
@@ -94,6 +94,7 @@ export * from './utils/types';
94
94
  export * as defaultConfigurations from './utils/defaultConfigurations';
95
95
  export * from './components/Providers/Providers';
96
96
  export * from './components/Snackbar';
97
+ export * from './components/RouterWrapper';
97
98
  export * from './components/AppWrapper';
98
99
  export { default as uiModuleConfig } from './store/ui/config';
99
100
  export { default as mapModuleConfig } from './store/mapStore/config';
@@ -3,4 +3,5 @@ export * from './layerSelect';
3
3
  export * from './ui';
4
4
  export * from './generic';
5
5
  export * from './snackbar';
6
+ export * from './router';
6
7
  export * from './app';
@@ -0,0 +1,5 @@
1
+ import { Store } from '@reduxjs/toolkit';
2
+ import { Egg } from '@redux-eggs/core';
3
+ import { RouterModuleStore } from './types';
4
+ declare const routerModuleConfig: Egg<Store<RouterModuleStore>>;
5
+ export default routerModuleConfig;
@@ -0,0 +1 @@
1
+ export { routerActions } from './reducer';
@@ -0,0 +1,8 @@
1
+ import { PayloadAction } from '@reduxjs/toolkit';
2
+ import { NavigateToUrlPayload } from './types';
3
+ export declare const initialState: {};
4
+ export declare const reducer: import("redux").Reducer<{}, import("redux").AnyAction>;
5
+ export declare const routerActions: import("@reduxjs/toolkit").CaseReducerActions<{
6
+ navigateToUrl: (draft: import("immer/dist/internal").WritableDraft<{}>, action: PayloadAction<NavigateToUrlPayload>) => void;
7
+ }>;
8
+ export declare type RouterActions = ReturnType<typeof routerActions.navigateToUrl>;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,5 @@
1
+ import { SagaIterator } from 'redux-saga';
2
+ import { RouterActions } from './reducer';
3
+ export declare function navigateToUrlSaga(action: RouterActions): SagaIterator;
4
+ export declare function rootSaga(): SagaIterator;
5
+ export default rootSaga;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,8 @@
1
+ import { EntityState } from '@reduxjs/toolkit';
2
+ export declare type RouterState = EntityState<undefined>;
3
+ export interface RouterModuleStore {
4
+ router?: RouterState;
5
+ }
6
+ export interface NavigateToUrlPayload {
7
+ url: string;
8
+ }
@@ -0,0 +1,3 @@
1
+ export declare const historyDict: {
2
+ navigate: never;
3
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/core",
3
- "version": "4.15.1",
3
+ "version": "4.17.0",
4
4
  "description": "GeoWeb Core library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -13,9 +13,9 @@
13
13
  "dependencies": {},
14
14
  "peerDependencies": {
15
15
  "react": "^18.2.0",
16
- "@opengeoweb/shared": "4.15.1",
16
+ "@opengeoweb/shared": "4.17.0",
17
17
  "@mui/material": "^5.10.8",
18
- "@opengeoweb/theme": "4.15.1",
18
+ "@opengeoweb/theme": "4.17.0",
19
19
  "react-draggable": "^4.4.5",
20
20
  "re-resizable": "^6.9.0",
21
21
  "@redux-eggs/core": "^2.2.0",
@@ -24,22 +24,23 @@
24
24
  "axios": "^0.25.0",
25
25
  "date-fns": "^2.29.3",
26
26
  "moment": "^2.29.0",
27
- "@opengeoweb/webmap": "4.15.1",
27
+ "@opengeoweb/webmap": "4.17.0",
28
28
  "throttle-debounce": "^3.0.1",
29
29
  "proj4": "^2.6.2",
30
- "@opengeoweb/api": "4.15.1",
30
+ "@opengeoweb/api": "4.17.0",
31
31
  "react-intl": "^5.17.5",
32
32
  "react-sortablejs": "^6.1.4",
33
33
  "sortablejs": "^1.15.0",
34
34
  "immer": "^9.0.15",
35
35
  "react-window": "^1.8.7",
36
- "@opengeoweb/form-fields": "4.15.1",
36
+ "@opengeoweb/form-fields": "4.17.0",
37
37
  "react-hook-form": "^7.41.5",
38
38
  "moment-timezone": "^0.5.31",
39
39
  "@mui/x-date-pickers": "^5.0.4",
40
40
  "@reduxjs/toolkit": "^1.8.3",
41
41
  "lodash.clonedeep": "^4.5.0",
42
42
  "@turf/turf": "^5.1.6",
43
+ "react-router-dom": "^6.4.2",
43
44
  "@mui/system": "^5.10.8",
44
45
  "redux-saga": "^1.2.1",
45
46
  "@redux-eggs/redux-toolkit": "^2.2.0",