@opengeoweb/layer-select 9.15.0 → 9.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.
- package/index.esm.js +38 -19
- package/package.json +4 -2
- package/src/index.d.ts +2 -0
- package/src/lib/components/KeywordFilterResults/KeywordFilterResults.stories.d.ts +2 -2
- package/src/lib/components/LayerSelect/LayerSelect.stories.d.ts +4 -4
- package/src/lib/components/Providers/Providers.d.ts +6 -0
- package/src/lib/components/Providers/index.d.ts +1 -0
- package/src/lib/components/ServiceOptionsDialog/ServiceOptionsDialog.stories.d.ts +2 -2
- package/src/lib/components/ServicePopup/ServicePopup.stories.d.ts +4 -4
- package/src/lib/utils/i18n.d.ts +2 -0
- package/src/lib/storyshots/Storyshots.spec.d.ts +0 -1
package/index.esm.js
CHANGED
|
@@ -18,6 +18,25 @@ import { snackbarActions } from '@opengeoweb/snackbar';
|
|
|
18
18
|
import { ReactHookFormProvider, defaultFormOptions, ReactHookFormTextField } from '@opengeoweb/form-fields';
|
|
19
19
|
import { useFormContext } from 'react-hook-form';
|
|
20
20
|
|
|
21
|
+
var en = {
|
|
22
|
+
"layer-select": "Layer Select"
|
|
23
|
+
};
|
|
24
|
+
var fi = {
|
|
25
|
+
"layer-select": "Layer Select"
|
|
26
|
+
};
|
|
27
|
+
var no = {
|
|
28
|
+
"layer-select": "Layer Select"
|
|
29
|
+
};
|
|
30
|
+
var nl = {
|
|
31
|
+
"layer-select": "Layer Select"
|
|
32
|
+
};
|
|
33
|
+
var layerSelect = {
|
|
34
|
+
en: en,
|
|
35
|
+
fi: fi,
|
|
36
|
+
no: no,
|
|
37
|
+
nl: nl
|
|
38
|
+
};
|
|
39
|
+
|
|
21
40
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
22
41
|
|
|
23
42
|
var check = function (it) {
|
|
@@ -2593,23 +2612,23 @@ const getServicePopupDetails = store => {
|
|
|
2593
2612
|
};
|
|
2594
2613
|
|
|
2595
2614
|
var selectors = /*#__PURE__*/Object.freeze({
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2615
|
+
__proto__: null,
|
|
2616
|
+
useAppSelector: useAppSelector,
|
|
2617
|
+
getSearchFilter: getSearchFilter,
|
|
2618
|
+
getActiveServices: getActiveServices,
|
|
2619
|
+
getActiveServicesDictionary: getActiveServicesDictionary,
|
|
2620
|
+
getActiveServiceById: getActiveServiceById,
|
|
2621
|
+
getAllActiveServices: getAllActiveServices,
|
|
2622
|
+
getEnabledServiceIds: getEnabledServiceIds,
|
|
2623
|
+
getAllFilterIds: getAllFilterIds,
|
|
2624
|
+
getAllFilters: getAllFilters,
|
|
2625
|
+
getAllFilterIdsEntity: getAllFilterIdsEntity,
|
|
2626
|
+
getFilterById: getFilterById,
|
|
2627
|
+
getCheckedFilterIds: getCheckedFilterIds,
|
|
2628
|
+
getFilters: getFilters,
|
|
2629
|
+
isAllFiltersChecked: isAllFiltersChecked,
|
|
2630
|
+
getFilteredLayers: getFilteredLayers,
|
|
2631
|
+
getServicePopupDetails: getServicePopupDetails
|
|
2613
2632
|
});
|
|
2614
2633
|
|
|
2615
2634
|
/* *
|
|
@@ -2630,7 +2649,7 @@ var selectors = /*#__PURE__*/Object.freeze({
|
|
|
2630
2649
|
* */
|
|
2631
2650
|
|
|
2632
2651
|
var types = /*#__PURE__*/Object.freeze({
|
|
2633
|
-
|
|
2652
|
+
__proto__: null
|
|
2634
2653
|
});
|
|
2635
2654
|
|
|
2636
2655
|
function* layerSelectCloseInfoDialogSaga({
|
|
@@ -4973,4 +4992,4 @@ const LayerSelectConnect = ({
|
|
|
4973
4992
|
});
|
|
4974
4993
|
};
|
|
4975
4994
|
|
|
4976
|
-
export { ADD_HEADING, AllChipConnect, COPY_URL_MESSAGE, DIALOG_TITLE, EDIT_HEADING, FilterListItem, KeywordFilterButtonConnect, KeywordFilterResults, KeywordFilterResultsConnect, KeywordFilterResultsListItemConnect, KeywordFilterSelectAllSwitchConnect, LayerAddRemoveButton, LayerList, LayerListConnect, LayerListDimensions, LayerListRow, LayerSelectButtonConnect, LayerSelectConnect, SAVE_HEADING, SearchFieldConnect, ServiceChip, ServiceChipConnect, ServiceList, ServiceListConnect, ServiceOptionsButton, ServiceOptionsDialog, ServiceOptionsDialogConnect, ServicePopup, ServicePopupConnect, ServicePopupDialogConnect, getServiceFailedUpdateMessage, getServiceSuccesUpdateMessage, getSuccesMessage, isUserAddedService, layerSelectActions, layerSelectConfig, initialState as layerSelectInitialState, reducer as layerSelectReducer, selectors as layerSelectSelectors, types as layerSelectTypes, useAppSelector };
|
|
4995
|
+
export { ADD_HEADING, AllChipConnect, COPY_URL_MESSAGE, DIALOG_TITLE, EDIT_HEADING, FilterListItem, KeywordFilterButtonConnect, KeywordFilterResults, KeywordFilterResultsConnect, KeywordFilterResultsListItemConnect, KeywordFilterSelectAllSwitchConnect, LayerAddRemoveButton, LayerList, LayerListConnect, LayerListDimensions, LayerListRow, LayerSelectButtonConnect, LayerSelectConnect, SAVE_HEADING, SearchFieldConnect, ServiceChip, ServiceChipConnect, ServiceList, ServiceListConnect, ServiceOptionsButton, ServiceOptionsDialog, ServiceOptionsDialogConnect, ServicePopup, ServicePopupConnect, ServicePopupDialogConnect, getServiceFailedUpdateMessage, getServiceSuccesUpdateMessage, getSuccesMessage, isUserAddedService, layerSelectActions, layerSelectConfig, initialState as layerSelectInitialState, reducer as layerSelectReducer, selectors as layerSelectSelectors, layerSelect as layerSelectTranslations, types as layerSelectTypes, useAppSelector };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/layer-select",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.17.0",
|
|
4
4
|
"description": "GeoWeb layer select library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -24,7 +24,9 @@
|
|
|
24
24
|
"@redux-eggs/redux-toolkit": "^2.2.0",
|
|
25
25
|
"@redux-eggs/saga-extension": "^2.2.0",
|
|
26
26
|
"lodash": "^4.17.21",
|
|
27
|
-
"redux-saga": "^1.2.3"
|
|
27
|
+
"redux-saga": "^1.2.3",
|
|
28
|
+
"i18next": "^23.7.11",
|
|
29
|
+
"react-i18next": "^13.5.0"
|
|
28
30
|
},
|
|
29
31
|
"peerDependencies": {
|
|
30
32
|
"react": "18"
|
package/src/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ declare const _default: {
|
|
|
5
5
|
export default _default;
|
|
6
6
|
export declare const KeywordFilterResultsLight: {
|
|
7
7
|
(): React.ReactElement;
|
|
8
|
-
|
|
8
|
+
tags: string[];
|
|
9
9
|
parameters: {
|
|
10
10
|
zeplinLink: {
|
|
11
11
|
name: string;
|
|
@@ -15,7 +15,7 @@ export declare const KeywordFilterResultsLight: {
|
|
|
15
15
|
};
|
|
16
16
|
export declare const KeywordFilterResultsDark: {
|
|
17
17
|
(): React.ReactElement;
|
|
18
|
-
|
|
18
|
+
tags: string[];
|
|
19
19
|
parameters: {
|
|
20
20
|
zeplinLink: {
|
|
21
21
|
name: string;
|
|
@@ -5,7 +5,7 @@ declare const _default: {
|
|
|
5
5
|
export default _default;
|
|
6
6
|
export declare const LayerSelectDemoLightTheme: {
|
|
7
7
|
(): React.ReactElement;
|
|
8
|
-
|
|
8
|
+
tags: string[];
|
|
9
9
|
parameters: {
|
|
10
10
|
zeplinLink: {
|
|
11
11
|
name: string;
|
|
@@ -15,7 +15,7 @@ export declare const LayerSelectDemoLightTheme: {
|
|
|
15
15
|
};
|
|
16
16
|
export declare const LayerSelectDemoDarkTheme: {
|
|
17
17
|
(): React.ReactElement;
|
|
18
|
-
|
|
18
|
+
tags: string[];
|
|
19
19
|
parameters: {
|
|
20
20
|
zeplinLink: {
|
|
21
21
|
name: string;
|
|
@@ -25,9 +25,9 @@ export declare const LayerSelectDemoDarkTheme: {
|
|
|
25
25
|
};
|
|
26
26
|
export declare const LayerSelectDemoSmallLightTheme: {
|
|
27
27
|
(): React.ReactElement;
|
|
28
|
-
|
|
28
|
+
tags: string[];
|
|
29
29
|
};
|
|
30
30
|
export declare const LayerSelectDemoSmallDarkTheme: {
|
|
31
31
|
(): React.ReactElement;
|
|
32
|
-
|
|
32
|
+
tags: string[];
|
|
33
33
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Providers';
|
|
@@ -5,7 +5,7 @@ declare const _default: {
|
|
|
5
5
|
export default _default;
|
|
6
6
|
export declare const ServiceOptionsDialogLight: {
|
|
7
7
|
(): React.ReactElement;
|
|
8
|
-
|
|
8
|
+
tags: string[];
|
|
9
9
|
parameters: {
|
|
10
10
|
zeplinLink: {
|
|
11
11
|
name: string;
|
|
@@ -15,7 +15,7 @@ export declare const ServiceOptionsDialogLight: {
|
|
|
15
15
|
};
|
|
16
16
|
export declare const ServiceOptionsDialogDark: {
|
|
17
17
|
(): React.ReactElement;
|
|
18
|
-
|
|
18
|
+
tags: string[];
|
|
19
19
|
parameters: {
|
|
20
20
|
zeplinLink: {
|
|
21
21
|
name: string;
|
|
@@ -2,7 +2,7 @@ declare const _default: import("@storybook/types").ComponentAnnotations<import("
|
|
|
2
2
|
export default _default;
|
|
3
3
|
export declare const ServicePopupAddLight: {
|
|
4
4
|
(): JSX.Element;
|
|
5
|
-
|
|
5
|
+
tags: string[];
|
|
6
6
|
parameters: {
|
|
7
7
|
zeplinLink: {
|
|
8
8
|
name: string;
|
|
@@ -12,7 +12,7 @@ export declare const ServicePopupAddLight: {
|
|
|
12
12
|
};
|
|
13
13
|
export declare const ServicePopupAddDark: {
|
|
14
14
|
(): JSX.Element;
|
|
15
|
-
|
|
15
|
+
tags: string[];
|
|
16
16
|
parameters: {
|
|
17
17
|
zeplinLink: {
|
|
18
18
|
name: string;
|
|
@@ -22,7 +22,7 @@ export declare const ServicePopupAddDark: {
|
|
|
22
22
|
};
|
|
23
23
|
export declare const ServicePopupShowLight: {
|
|
24
24
|
(): JSX.Element;
|
|
25
|
-
|
|
25
|
+
tags: string[];
|
|
26
26
|
parameters: {
|
|
27
27
|
zeplinLink: {
|
|
28
28
|
name: string;
|
|
@@ -32,7 +32,7 @@ export declare const ServicePopupShowLight: {
|
|
|
32
32
|
};
|
|
33
33
|
export declare const ServicePopupShowDark: {
|
|
34
34
|
(): JSX.Element;
|
|
35
|
-
|
|
35
|
+
tags: string[];
|
|
36
36
|
parameters: {
|
|
37
37
|
zeplinLink: {
|
|
38
38
|
name: string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|