@opengeoweb/layer-select 16.0.0 → 17.0.1
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 +606 -158
- package/package.json +9 -9
- package/jest.config.d.ts +0 -0
- package/src/index.d.ts +0 -4
- package/src/lib/components/DataExplorerButtonConnect/DataExplorerButtonConnect.d.ts +0 -8
- package/src/lib/components/DataExplorerButtonConnect/index.d.ts +0 -1
- package/src/lib/components/KeywordFilterButton/KeywordFilterButtonConnect.d.ts +0 -9
- package/src/lib/components/KeywordFilterButton/KeywordFilterButtonConnect.spec.d.ts +0 -1
- package/src/lib/components/KeywordFilterButton/index.d.ts +0 -1
- package/src/lib/components/KeywordFilterResults/KeywordFilterResults.d.ts +0 -13
- package/src/lib/components/KeywordFilterResults/KeywordFilterResults.integration.spec.d.ts +0 -1
- package/src/lib/components/KeywordFilterResults/KeywordFilterResults.stories.d.ts +0 -8
- package/src/lib/components/KeywordFilterResults/KeywordFilterResultsConnect.d.ts +0 -8
- package/src/lib/components/KeywordFilterResults/KeywordFilterResultsListItemConnect.d.ts +0 -6
- package/src/lib/components/KeywordFilterResults/KeywordFilterSelectAllSwitchConnect.d.ts +0 -2
- package/src/lib/components/KeywordFilterResults/index.d.ts +0 -4
- package/src/lib/components/LayerList/LayerAddRemoveButton.d.ts +0 -23
- package/src/lib/components/LayerList/LayerAddRemoveButton.spec.d.ts +0 -1
- package/src/lib/components/LayerList/LayerList.d.ts +0 -30
- package/src/lib/components/LayerList/LayerList.spec.d.ts +0 -3
- package/src/lib/components/LayerList/LayerListConnect.d.ts +0 -9
- package/src/lib/components/LayerList/LayerListConnect.spec.d.ts +0 -1
- package/src/lib/components/LayerList/LayerListDimensions.d.ts +0 -7
- package/src/lib/components/LayerList/LayerListRow.d.ts +0 -25
- package/src/lib/components/LayerList/index.d.ts +0 -5
- package/src/lib/components/LayerSelect/LayerSelect.d.ts +0 -21
- package/src/lib/components/LayerSelect/LayerSelect.spec.d.ts +0 -1
- package/src/lib/components/LayerSelect/LayerSelect.stories.d.ts +0 -14
- package/src/lib/components/LayerSelect/LayerSelectButtonConnect.d.ts +0 -11
- package/src/lib/components/LayerSelect/LayerSelectButtonConnect.spec.d.ts +0 -1
- package/src/lib/components/LayerSelect/LayerSelectConnect.d.ts +0 -16
- package/src/lib/components/LayerSelect/LayerSelectConnect.integration.spec.d.ts +0 -1
- package/src/lib/components/LayerSelect/LayerSelectConnect.spec.d.ts +0 -1
- package/src/lib/components/LayerSelect/LayerSelectUtils.d.ts +0 -77
- package/src/lib/components/LayerSelect/LayerSelectUtils.spec.d.ts +0 -1
- package/src/lib/components/LayerSelect/index.d.ts +0 -2
- package/src/lib/components/Providers/Providers.d.ts +0 -22
- package/src/lib/components/Providers/index.d.ts +0 -1
- package/src/lib/components/SearchField/SearchFieldConnect.d.ts +0 -2
- package/src/lib/components/SearchField/SearchFieldConnect.spec.d.ts +0 -1
- package/src/lib/components/SearchField/index.d.ts +0 -1
- package/src/lib/components/ServiceList/ServiceChip.d.ts +0 -12
- package/src/lib/components/ServiceList/ServiceChip.spec.d.ts +0 -1
- package/src/lib/components/ServiceList/ServiceChipConnect.d.ts +0 -10
- package/src/lib/components/ServiceList/ServiceList.d.ts +0 -8
- package/src/lib/components/ServiceList/ServiceListConnect.d.ts +0 -6
- package/src/lib/components/ServiceList/ServiceListConnect.spec.d.ts +0 -1
- package/src/lib/components/ServiceList/index.d.ts +0 -4
- package/src/lib/components/ServiceOptionsButton/ServiceOptionsButton.d.ts +0 -6
- package/src/lib/components/ServiceOptionsButton/ServiceOptionsButton.spec.d.ts +0 -1
- package/src/lib/components/ServiceOptionsButton/ServiceOptionsButton.stories.d.ts +0 -8
- package/src/lib/components/ServiceOptionsButton/index.d.ts +0 -1
- package/src/lib/components/ServiceOptionsDialog/ServiceOptionsDialog.d.ts +0 -20
- package/src/lib/components/ServiceOptionsDialog/ServiceOptionsDialog.spec.d.ts +0 -1
- package/src/lib/components/ServiceOptionsDialog/ServiceOptionsDialog.stories.d.ts +0 -45
- package/src/lib/components/ServiceOptionsDialog/ServiceOptionsDialogConnect.d.ts +0 -8
- package/src/lib/components/ServiceOptionsDialog/ServiceOptionsDialogConnect.spec.d.ts +0 -1
- package/src/lib/components/ServiceOptionsDialog/index.d.ts +0 -2
- package/src/lib/components/ServicePopup/ServicePopup.d.ts +0 -20
- package/src/lib/components/ServicePopup/ServicePopup.spec.d.ts +0 -1
- package/src/lib/components/ServicePopup/ServicePopup.stories.d.ts +0 -12
- package/src/lib/components/ServicePopup/ServicePopupConnect.d.ts +0 -2
- package/src/lib/components/ServicePopup/ServicePopupConnect.spec.d.ts +0 -1
- package/src/lib/components/ServicePopup/ServicePopupConnect.stories.d.ts +0 -9
- package/src/lib/components/ServicePopup/ServicePopupDialogConnect.d.ts +0 -11
- package/src/lib/components/ServicePopup/index.d.ts +0 -3
- package/src/lib/components/ServicePopup/utils.d.ts +0 -7
- package/src/lib/components/ServicePopup/utils.spec.d.ts +0 -1
- package/src/lib/components/index.d.ts +0 -10
- package/src/lib/index.d.ts +0 -2
- package/src/lib/store/index.d.ts +0 -7
- package/src/lib/store/listeners.d.ts +0 -2
- package/src/lib/store/listeners.spec.d.ts +0 -1
- package/src/lib/store/reducer.d.ts +0 -26
- package/src/lib/store/reducer.spec.d.ts +0 -1
- package/src/lib/store/selectors.d.ts +0 -535
- package/src/lib/store/selectors.spec.d.ts +0 -1
- package/src/lib/store/store.d.ts +0 -13
- package/src/lib/store/types.d.ts +0 -71
- package/src/lib/store/utils.d.ts +0 -9
- package/src/lib/store/utils.spec.d.ts +0 -1
- package/src/lib/utils/i18n.d.ts +0 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/layer-select",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "17.0.1",
|
|
4
4
|
"description": "GeoWeb layer select library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -8,15 +8,15 @@
|
|
|
8
8
|
"url": "git@gitlab.com:opengeoweb/opengeoweb.git"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@opengeoweb/shared": "
|
|
12
|
-
"@opengeoweb/store": "
|
|
11
|
+
"@opengeoweb/shared": "17.0.1",
|
|
12
|
+
"@opengeoweb/store": "17.0.1",
|
|
13
13
|
"react-redux": "^9.2.0",
|
|
14
|
-
"@opengeoweb/theme": "
|
|
15
|
-
"@opengeoweb/webmap-react": "
|
|
16
|
-
"@opengeoweb/webmap": "
|
|
14
|
+
"@opengeoweb/theme": "17.0.1",
|
|
15
|
+
"@opengeoweb/webmap-react": "17.0.1",
|
|
16
|
+
"@opengeoweb/webmap": "17.0.1",
|
|
17
17
|
"react-window": "^2.2.6",
|
|
18
|
-
"@opengeoweb/snackbar": "
|
|
19
|
-
"@opengeoweb/form-fields": "
|
|
18
|
+
"@opengeoweb/snackbar": "17.0.1",
|
|
19
|
+
"@opengeoweb/form-fields": "17.0.1",
|
|
20
20
|
"react-hook-form": "^7.50.1",
|
|
21
21
|
"@reduxjs/toolkit": "^2.6.1",
|
|
22
22
|
"lodash": "^4.17.21",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@emotion/styled": "*"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"eslint-plugin-storybook": "
|
|
33
|
+
"eslint-plugin-storybook": "10.3.3"
|
|
34
34
|
},
|
|
35
35
|
"module": "./index.esm.js",
|
|
36
36
|
"type": "module",
|
package/jest.config.d.ts
DELETED
|
File without changes
|
package/src/index.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { uiTypes } from '@opengeoweb/store';
|
|
3
|
-
interface DataExplorerButtonConnectProps {
|
|
4
|
-
mapId: string;
|
|
5
|
-
source?: uiTypes.Source;
|
|
6
|
-
}
|
|
7
|
-
export declare const DataExplorerButtonConnect: React.FC<DataExplorerButtonConnectProps>;
|
|
8
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { DataExplorerButtonConnect } from './DataExplorerButtonConnect';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { uiTypes } from '@opengeoweb/store';
|
|
3
|
-
interface KeywordFilterButtonConnectProps {
|
|
4
|
-
mapId: string;
|
|
5
|
-
source?: uiTypes.Source;
|
|
6
|
-
isMultiMap?: boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare const KeywordFilterButtonConnect: React.FC<KeywordFilterButtonConnectProps>;
|
|
9
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './KeywordFilterButtonConnect';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { uiTypes } from '@opengeoweb/store';
|
|
3
|
-
import type { FiltersGrouped } from '../../store/selectors';
|
|
4
|
-
export interface KeywordFilterResultsProps {
|
|
5
|
-
bounds?: string;
|
|
6
|
-
onClose?: () => void;
|
|
7
|
-
onMouseDown?: () => void;
|
|
8
|
-
isOpen: boolean;
|
|
9
|
-
order?: number;
|
|
10
|
-
source?: uiTypes.Source;
|
|
11
|
-
filters: FiltersGrouped;
|
|
12
|
-
}
|
|
13
|
-
export declare const KeywordFilterResults: React.FC<KeywordFilterResultsProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react-webpack5';
|
|
2
|
-
import { KeywordFilterResults } from './KeywordFilterResults';
|
|
3
|
-
declare const meta: Meta<typeof KeywordFilterResults>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof KeywordFilterResults>;
|
|
6
|
-
export declare const Component: Story;
|
|
7
|
-
export declare const KeywordFilterResultsLight: Story;
|
|
8
|
-
export declare const KeywordFilterResultsDark: Story;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { layerSelectTypes } from '../../store';
|
|
3
|
-
export interface KeywordFilterResultsListItemConnectProps {
|
|
4
|
-
filter: layerSelectTypes.Filter;
|
|
5
|
-
}
|
|
6
|
-
export declare const KeywordFilterResultsListItemConnect: React.FC<KeywordFilterResultsListItemConnectProps>;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { layerTypes } from '@opengeoweb/store';
|
|
3
|
-
interface AddLayerParams {
|
|
4
|
-
serviceUrl: string;
|
|
5
|
-
layerName: string;
|
|
6
|
-
}
|
|
7
|
-
export interface DeleteLayerParams {
|
|
8
|
-
layerId: string;
|
|
9
|
-
layerIndex: number;
|
|
10
|
-
}
|
|
11
|
-
interface LayerAddRemoveButtonProps {
|
|
12
|
-
layer: layerTypes.ReduxLayer;
|
|
13
|
-
serviceUrl: string;
|
|
14
|
-
allLayers: layerTypes.ReduxLayer[];
|
|
15
|
-
allMapIds: string[];
|
|
16
|
-
addLayer: ({ serviceUrl, layerName }: AddLayerParams) => void;
|
|
17
|
-
addLayerToAllMaps: ({ serviceUrl, layerName }: AddLayerParams) => void;
|
|
18
|
-
deleteLayer: ({ layerId, layerIndex }: DeleteLayerParams) => void;
|
|
19
|
-
removeLayerFromAllMaps: (layerId: string) => void;
|
|
20
|
-
mapLayers: layerTypes.ReduxLayer[];
|
|
21
|
-
}
|
|
22
|
-
export declare const LayerAddRemoveButton: React.FC<LayerAddRemoveButtonProps>;
|
|
23
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { layerTypes, serviceTypes } from '@opengeoweb/store';
|
|
3
|
-
import type { DeleteLayerParams } from './LayerAddRemoveButton';
|
|
4
|
-
import type { LayerWithServiceName } from '../../store/types';
|
|
5
|
-
interface AddLayerParams {
|
|
6
|
-
serviceUrl: string;
|
|
7
|
-
layerName: string;
|
|
8
|
-
}
|
|
9
|
-
export interface LayerListProps {
|
|
10
|
-
services: serviceTypes.Services;
|
|
11
|
-
filteredLayers: LayerWithServiceName[];
|
|
12
|
-
layerSelectHeight: number;
|
|
13
|
-
serviceListHeight: number;
|
|
14
|
-
layerSelectWidth: number;
|
|
15
|
-
allLayers: layerTypes.ReduxLayer[];
|
|
16
|
-
allMapIds: string[];
|
|
17
|
-
addLayer: ({ serviceUrl, layerName }: AddLayerParams) => void;
|
|
18
|
-
addLayerToAllMaps: ({ serviceUrl, layerName }: AddLayerParams) => void;
|
|
19
|
-
deleteLayer: ({ layerId }: DeleteLayerParams) => void;
|
|
20
|
-
removeLayerFromAllMaps: (layerId: string) => void;
|
|
21
|
-
mapLayers: layerTypes.ReduxLayer[];
|
|
22
|
-
searchFilter: string;
|
|
23
|
-
isLayerInfoVisibleInStore: boolean;
|
|
24
|
-
onToggleActiveLayer: (params: AddLayerParams & {
|
|
25
|
-
isActiveLayer: boolean;
|
|
26
|
-
}) => void;
|
|
27
|
-
currentLayerInfo?: AddLayerParams;
|
|
28
|
-
}
|
|
29
|
-
export declare const LayerList: React.FC<LayerListProps>;
|
|
30
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { layerTypes, serviceTypes } from '@opengeoweb/store';
|
|
3
|
-
import type { LayerProps } from '@opengeoweb/webmap';
|
|
4
|
-
import type { DeleteLayerParams } from './LayerAddRemoveButton';
|
|
5
|
-
interface AddLayerParams {
|
|
6
|
-
serviceUrl: string;
|
|
7
|
-
layerName: string;
|
|
8
|
-
}
|
|
9
|
-
interface LayerListRowProps {
|
|
10
|
-
layer: LayerProps;
|
|
11
|
-
service: serviceTypes.ReduxService;
|
|
12
|
-
allLayers: layerTypes.ReduxLayer[];
|
|
13
|
-
allMapIds: string[];
|
|
14
|
-
addLayer: ({ serviceUrl, layerName }: AddLayerParams) => void;
|
|
15
|
-
addLayerToAllMaps: ({ serviceUrl, layerName }: AddLayerParams) => void;
|
|
16
|
-
deleteLayer: ({ layerId, layerIndex }: DeleteLayerParams) => void;
|
|
17
|
-
removeLayerFromAllMaps: (layerId: string) => void;
|
|
18
|
-
mapLayers: layerTypes.ReduxLayer[];
|
|
19
|
-
layerSelectWidth: number;
|
|
20
|
-
searchFilter: string;
|
|
21
|
-
hasActiveLayer: boolean;
|
|
22
|
-
onToggleActiveLayer: () => void;
|
|
23
|
-
}
|
|
24
|
-
export declare const LayerListRow: React.FC<LayerListRowProps>;
|
|
25
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { uiTypes } from '@opengeoweb/store';
|
|
3
|
-
interface Size {
|
|
4
|
-
width: number;
|
|
5
|
-
height: number;
|
|
6
|
-
}
|
|
7
|
-
interface LayerSelectProps {
|
|
8
|
-
mapId: string;
|
|
9
|
-
bounds?: string;
|
|
10
|
-
showTitle?: boolean;
|
|
11
|
-
onClose?: () => void;
|
|
12
|
-
onMouseDown?: (event: MouseEvent) => void;
|
|
13
|
-
isOpen: boolean;
|
|
14
|
-
order?: number;
|
|
15
|
-
source?: uiTypes.Source;
|
|
16
|
-
startSize?: Size;
|
|
17
|
-
isMultiMap?: boolean;
|
|
18
|
-
hasDataExplorer?: boolean;
|
|
19
|
-
}
|
|
20
|
-
export declare const LayerSelect: React.FC<LayerSelectProps>;
|
|
21
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react-webpack5';
|
|
2
|
-
import { LayerSelect } from './LayerSelect';
|
|
3
|
-
declare const meta: Meta<typeof LayerSelect>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof LayerSelect>;
|
|
6
|
-
export declare const Component: Story;
|
|
7
|
-
export declare const LayerSelectDemoLightTheme: Story;
|
|
8
|
-
export declare const LayerSelectDemoDarkTheme: Story;
|
|
9
|
-
export declare const LayerSelectWithDataExplorerDemoLightTheme: Story;
|
|
10
|
-
export declare const LayerSelectWithDataExplorerDemoDarkTheme: Story;
|
|
11
|
-
export declare const LayerSelectDemoSmallLightTheme: Story;
|
|
12
|
-
export declare const LayerSelectDemoSmallDarkTheme: Story;
|
|
13
|
-
export declare const LayerSelectWithDataExplorerDemoSmallLightTheme: Story;
|
|
14
|
-
export declare const LayerSelectWithDataExplorerDemoSmallDarkTheme: Story;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { uiTypes } from '@opengeoweb/store';
|
|
3
|
-
interface LayerSelectButtonConnectProps {
|
|
4
|
-
mapId: string;
|
|
5
|
-
source?: uiTypes.Source;
|
|
6
|
-
tooltipTitle?: string;
|
|
7
|
-
icon?: React.ReactNode;
|
|
8
|
-
isMultiMap?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare const LayerSelectButtonConnect: React.FC<LayerSelectButtonConnectProps>;
|
|
11
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface LayerSelectConnectProps {
|
|
3
|
-
mapId?: string;
|
|
4
|
-
bounds?: string;
|
|
5
|
-
showTitle?: boolean;
|
|
6
|
-
isMultiMap?: boolean;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* LayerSelectConnect is a component that is opened from LayerManager
|
|
10
|
-
* It's used to add Services and Layers to the application
|
|
11
|
-
* It doesn't expect any props, its subcomponents only read and write to redux store
|
|
12
|
-
*
|
|
13
|
-
* ``` <LayerSelectConnect />```
|
|
14
|
-
*/
|
|
15
|
-
export declare const LayerSelectConnect: React.FC<LayerSelectConnectProps>;
|
|
16
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import type { CSSProperties } from 'react';
|
|
2
|
-
import type { layerSelectTypes } from '../../store';
|
|
3
|
-
export declare const layerSelectColumnsLarge: {
|
|
4
|
-
column1: {
|
|
5
|
-
width: number;
|
|
6
|
-
};
|
|
7
|
-
column2: {
|
|
8
|
-
marginTop: string;
|
|
9
|
-
width: string;
|
|
10
|
-
height: string;
|
|
11
|
-
paddingLeft: string;
|
|
12
|
-
};
|
|
13
|
-
column3: {
|
|
14
|
-
height: string;
|
|
15
|
-
};
|
|
16
|
-
column4: {
|
|
17
|
-
height: string;
|
|
18
|
-
};
|
|
19
|
-
column5: {
|
|
20
|
-
height: string;
|
|
21
|
-
width: number;
|
|
22
|
-
};
|
|
23
|
-
column6: {
|
|
24
|
-
height: string;
|
|
25
|
-
width: string;
|
|
26
|
-
};
|
|
27
|
-
column7: {
|
|
28
|
-
height: string;
|
|
29
|
-
width: number;
|
|
30
|
-
marginRight: number;
|
|
31
|
-
marginLeft: number;
|
|
32
|
-
};
|
|
33
|
-
column8: {
|
|
34
|
-
width: string;
|
|
35
|
-
};
|
|
36
|
-
column9: {
|
|
37
|
-
width: string;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
export declare const layerSelectColumnsSmall: {
|
|
41
|
-
column1: {
|
|
42
|
-
width: string;
|
|
43
|
-
};
|
|
44
|
-
column2: {
|
|
45
|
-
marginTop: string;
|
|
46
|
-
width: string;
|
|
47
|
-
};
|
|
48
|
-
column3: {
|
|
49
|
-
height: string;
|
|
50
|
-
};
|
|
51
|
-
column4: {
|
|
52
|
-
height: string;
|
|
53
|
-
};
|
|
54
|
-
column5: {
|
|
55
|
-
height: string;
|
|
56
|
-
width: string;
|
|
57
|
-
};
|
|
58
|
-
column6: {
|
|
59
|
-
height: string;
|
|
60
|
-
width: string;
|
|
61
|
-
};
|
|
62
|
-
column7: {
|
|
63
|
-
height: string;
|
|
64
|
-
width: number;
|
|
65
|
-
marginRight: number;
|
|
66
|
-
marginLeft: number;
|
|
67
|
-
};
|
|
68
|
-
column8: {
|
|
69
|
-
width: string;
|
|
70
|
-
};
|
|
71
|
-
column9: {
|
|
72
|
-
width: string;
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
export declare const widthToColumns: (width: number) => Record<string, CSSProperties>;
|
|
76
|
-
export declare const widthToRowHeight: (width: number) => number;
|
|
77
|
-
export declare const sortByService: (serviceObj: layerSelectTypes.ActiveServiceObjectEntities) => layerSelectTypes.ActiveServiceObjectEntities;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { Theme } from '@mui/material';
|
|
2
|
-
import type { Store } from '@reduxjs/toolkit';
|
|
3
|
-
import type i18n from 'i18next';
|
|
4
|
-
import React from 'react';
|
|
5
|
-
import type { ThemeProviderProps } from '@opengeoweb/theme';
|
|
6
|
-
interface BaseProviderProps {
|
|
7
|
-
children?: React.ReactNode;
|
|
8
|
-
theme?: Theme;
|
|
9
|
-
}
|
|
10
|
-
interface LayerSelectTranslationWrapperProps {
|
|
11
|
-
children?: React.ReactNode;
|
|
12
|
-
i18nInstance?: typeof i18n;
|
|
13
|
-
}
|
|
14
|
-
export declare const LayerSelecti18nProvider: React.FC<LayerSelectTranslationWrapperProps>;
|
|
15
|
-
export declare const DemoWrapper: React.FC<BaseProviderProps>;
|
|
16
|
-
export declare const LayerSelectStoreProvider: React.FC<ThemeProviderProps & {
|
|
17
|
-
store: Store;
|
|
18
|
-
}>;
|
|
19
|
-
export declare const TestThemeStoreProvider: React.FC<ThemeProviderProps & {
|
|
20
|
-
store: Store;
|
|
21
|
-
}>;
|
|
22
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Providers';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './SearchFieldConnect';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { layerSelectTypes } from '../../store';
|
|
3
|
-
interface ServiceChipProps {
|
|
4
|
-
all?: boolean;
|
|
5
|
-
service?: layerSelectTypes.ActiveServiceObject;
|
|
6
|
-
isSelected?: boolean;
|
|
7
|
-
isDisabled?: boolean;
|
|
8
|
-
toggleChip?: (service: string) => void;
|
|
9
|
-
isInSearch?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export declare const ServiceChip: React.FC<ServiceChipProps>;
|
|
12
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { layerSelectTypes } from '../../store';
|
|
3
|
-
export interface ServiceChipConnectProps {
|
|
4
|
-
service: layerSelectTypes.ActiveServiceObject;
|
|
5
|
-
isAllSelected: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare const ServiceChipConnect: React.FC<ServiceChipConnectProps>;
|
|
8
|
-
export declare const AllChipConnect: React.FC<{
|
|
9
|
-
isAllSelected: boolean;
|
|
10
|
-
}>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { layerSelectTypes } from '../../store';
|
|
3
|
-
interface ServiceListProps {
|
|
4
|
-
activeServicesById: layerSelectTypes.ActiveServiceObjectEntities;
|
|
5
|
-
setHeight: (height: number) => void;
|
|
6
|
-
}
|
|
7
|
-
export declare const ServiceList: React.FC<ServiceListProps>;
|
|
8
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react-webpack5';
|
|
2
|
-
import { ServiceOptionsButton } from './ServiceOptionsButton';
|
|
3
|
-
declare const meta: Meta<typeof ServiceOptionsButton>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof ServiceOptionsButton>;
|
|
6
|
-
export declare const Component: Story;
|
|
7
|
-
export declare const ServiceOptionsButtonLight: Story;
|
|
8
|
-
export declare const ServiceOptionsButtonDark: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './ServiceOptionsButton';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { layerTypes } from '@opengeoweb/store';
|
|
3
|
-
import type { layerSelectTypes } from '../../store';
|
|
4
|
-
interface ServiceOptionsDialogProps {
|
|
5
|
-
services: layerSelectTypes.ActiveServiceObjectEntities;
|
|
6
|
-
layerSelectRemoveService?: (serviceId: string, serviceUrl: string, serviceName: string) => void;
|
|
7
|
-
layerSelectReloadService?: (serviceUrl: string) => void;
|
|
8
|
-
selectedLayers: layerTypes.ReduxLayer[];
|
|
9
|
-
setServicePopupInfo?: (popupInfo: ServicePopupInfo) => void;
|
|
10
|
-
isLoading?: boolean;
|
|
11
|
-
error?: string;
|
|
12
|
-
}
|
|
13
|
-
export interface ServicePopupInfo {
|
|
14
|
-
isOpen: boolean;
|
|
15
|
-
serviceId?: string;
|
|
16
|
-
serviceUrl?: string;
|
|
17
|
-
variant: layerSelectTypes.PopupVariant;
|
|
18
|
-
}
|
|
19
|
-
export declare const ServiceOptionsDialog: React.FC<ServiceOptionsDialogProps>;
|
|
20
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react-webpack5';
|
|
2
|
-
import type { layerTypes } from '@opengeoweb/store';
|
|
3
|
-
import { ServiceOptionsDialog } from './ServiceOptionsDialog';
|
|
4
|
-
import type { layerSelectTypes } from '../../store';
|
|
5
|
-
declare const meta: Meta<typeof ServiceOptionsDialog>;
|
|
6
|
-
export default meta;
|
|
7
|
-
type Story = StoryObj<typeof ServiceOptionsDialog>;
|
|
8
|
-
export declare const Component: Story;
|
|
9
|
-
export declare const ServiceOptionsDialogLight: {
|
|
10
|
-
tags: string[];
|
|
11
|
-
args: {
|
|
12
|
-
services: layerSelectTypes.ActiveServiceObjectEntities;
|
|
13
|
-
selectedLayers: layerTypes.Layer[];
|
|
14
|
-
isLoading: boolean;
|
|
15
|
-
};
|
|
16
|
-
parameters: {
|
|
17
|
-
zeplinLink: {
|
|
18
|
-
name: string;
|
|
19
|
-
link: string;
|
|
20
|
-
}[];
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
export declare const ServiceOptionsDialogDark: {
|
|
24
|
-
tags: string[];
|
|
25
|
-
args: {
|
|
26
|
-
services: layerSelectTypes.ActiveServiceObjectEntities;
|
|
27
|
-
selectedLayers: layerTypes.Layer[];
|
|
28
|
-
isLoading: boolean;
|
|
29
|
-
};
|
|
30
|
-
parameters: {
|
|
31
|
-
zeplinLink: {
|
|
32
|
-
name: string;
|
|
33
|
-
link: string;
|
|
34
|
-
}[];
|
|
35
|
-
};
|
|
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
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { snackbarTypes } from '@opengeoweb/snackbar';
|
|
3
|
-
interface ServiceOptionsDialogConnectProps {
|
|
4
|
-
mapId?: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const getServiceSuccesUpdateMessage: (serviceName: string) => snackbarTypes.TranslatableMessage;
|
|
7
|
-
export declare const ServiceOptionsDialogConnect: React.FC<ServiceOptionsDialogConnectProps>;
|
|
8
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|