@opengeoweb/layer-select 12.1.2 → 12.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/layer-select",
3
- "version": "12.1.2",
3
+ "version": "12.3.0",
4
4
  "description": "GeoWeb layer select library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -8,20 +8,20 @@
8
8
  "url": "git@gitlab.com:opengeoweb/opengeoweb.git"
9
9
  },
10
10
  "dependencies": {
11
- "@opengeoweb/shared": "12.1.2",
12
- "@opengeoweb/store": "12.1.2",
13
- "react-redux": "^8.1.3",
14
- "@opengeoweb/theme": "12.1.2",
15
- "@opengeoweb/webmap-react": "12.1.2",
16
- "@opengeoweb/webmap": "12.1.2",
11
+ "@opengeoweb/shared": "12.3.0",
12
+ "@opengeoweb/store": "12.3.0",
13
+ "react-redux": "^9.2.0",
14
+ "@opengeoweb/theme": "12.3.0",
15
+ "@opengeoweb/webmap-react": "12.3.0",
16
+ "@opengeoweb/webmap": "12.3.0",
17
17
  "react-window": "^1.8.10",
18
- "@opengeoweb/snackbar": "12.1.2",
19
- "@opengeoweb/form-fields": "12.1.2",
18
+ "@opengeoweb/snackbar": "12.3.0",
19
+ "@opengeoweb/form-fields": "12.3.0",
20
20
  "react-hook-form": "^7.50.1",
21
- "@reduxjs/toolkit": "^1.9.7",
21
+ "@reduxjs/toolkit": "^2.6.1",
22
22
  "lodash": "^4.17.21",
23
23
  "i18next": "^23.11.5",
24
- "@mui/material": "^6.1.1",
24
+ "@mui/material": "^7.0.1",
25
25
  "react-i18next": "^15.1.1"
26
26
  },
27
27
  "peerDependencies": {
@@ -8,6 +8,7 @@ interface ServiceOptionsDialogProps {
8
8
  selectedLayers: layerTypes.ReduxLayer[];
9
9
  setServicePopupInfo?: (popupInfo: ServicePopupInfo) => void;
10
10
  isLoading?: boolean;
11
+ error?: string;
11
12
  }
12
13
  export interface ServicePopupInfo {
13
14
  isOpen: boolean;
@@ -34,3 +34,12 @@ export declare const ServiceOptionsDialogDark: {
34
34
  }[];
35
35
  };
36
36
  };
37
+ export declare const ServiceOptionsDialogWithError: {
38
+ tags: string[];
39
+ args: {
40
+ services: layerSelectTypes.ActiveServiceObjectEntities;
41
+ selectedLayers: layerTypes.Layer[];
42
+ isLoading: boolean;
43
+ error: string;
44
+ };
45
+ };
@@ -4,6 +4,5 @@ interface ServiceOptionsDialogConnectProps {
4
4
  mapId?: string;
5
5
  }
6
6
  export declare const getServiceSuccesUpdateMessage: (serviceName: string) => snackbarTypes.TranslatableMessage;
7
- export declare const getServiceFailedUpdateMessage: (error: Error) => snackbarTypes.TranslatableMessage;
8
7
  export declare const ServiceOptionsDialogConnect: React.FC<ServiceOptionsDialogConnectProps>;
9
8
  export {};
@@ -1,47 +1,12 @@
1
- import * as React from 'react';
2
1
  import type { Meta, StoryObj } from '@storybook/react';
3
2
  import { ServicePopup } from './ServicePopup';
4
3
  declare const meta: Meta<typeof ServicePopup>;
5
4
  export default meta;
6
5
  type Story = StoryObj<typeof ServicePopup>;
7
6
  export declare const Component: Story;
8
- export declare const ServicePopupAddLight: {
9
- (): React.ReactElement;
10
- tags: string[];
11
- parameters: {
12
- zeplinLink: {
13
- name: string;
14
- link: string;
15
- }[];
16
- };
17
- };
18
- export declare const ServicePopupAddDark: {
19
- (): React.ReactElement;
20
- tags: string[];
21
- parameters: {
22
- zeplinLink: {
23
- name: string;
24
- link: string;
25
- }[];
26
- };
27
- };
28
- export declare const ServicePopupShowLight: {
29
- (): React.ReactElement;
30
- tags: string[];
31
- parameters: {
32
- zeplinLink: {
33
- name: string;
34
- link: string;
35
- }[];
36
- };
37
- };
38
- export declare const ServicePopupShowDark: {
39
- (): React.ReactElement;
40
- tags: string[];
41
- parameters: {
42
- zeplinLink: {
43
- name: string;
44
- link: string;
45
- }[];
46
- };
47
- };
7
+ export declare const ServicePopupAddLight: Story;
8
+ export declare const ServicePopupAddDark: Story;
9
+ export declare const ServicePopupShowLight: Story;
10
+ export declare const ServicePopupShowDark: Story;
11
+ export declare const ServicePopupEditLight: Story;
12
+ export declare const ServicePopupEditDark: Story;
@@ -1,2 +1,2 @@
1
1
  import { RootState } from './types';
2
- export declare const layerSelectListener: import("@reduxjs/toolkit").ListenerMiddlewareInstance<RootState, import("@reduxjs/toolkit").ThunkDispatch<RootState, unknown, import("redux").AnyAction>, unknown>;
2
+ export declare const layerSelectListener: import("@reduxjs/toolkit").ListenerMiddlewareInstance<RootState, import("redux-thunk").ThunkDispatch<RootState, unknown, import("redux").UnknownAction>, unknown>;
@@ -1,8 +1,8 @@
1
1
  import { PayloadAction, Draft } from '@reduxjs/toolkit';
2
2
  import { uiTypes } from '@opengeoweb/store';
3
3
  import { LayerSelectRemoveServicePayload, LayerSelectStoreType, SetSearchFilterPayload, ToggleKeywordsPayload, Filter, ActiveServiceObject, ToggleServicePopupPayload, ServicePopupObject } from './types';
4
- export declare const layerSelectFilterAdapter: import("@reduxjs/toolkit").EntityAdapter<Filter>;
5
- export declare const layerSelectActiveServicesAdapter: import("@reduxjs/toolkit").EntityAdapter<ActiveServiceObject>;
4
+ export declare const layerSelectFilterAdapter: import("@reduxjs/toolkit").EntityAdapter<Filter, string>;
5
+ export declare const layerSelectActiveServicesAdapter: import("@reduxjs/toolkit").EntityAdapter<ActiveServiceObject, string>;
6
6
  export declare const initialServicePopupState: ServicePopupObject;
7
7
  export declare const initialState: LayerSelectStoreType;
8
8
  export declare const layerSelectReducer: import("redux").Reducer<LayerSelectStoreType>, layerSelectActions: import("@reduxjs/toolkit").CaseReducerActions<{