@opengeoweb/store 9.28.1 → 9.29.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.
Files changed (116) hide show
  1. package/index.esm.js +1377 -1377
  2. package/package.json +1 -1
  3. package/src/index.d.ts +1 -1
  4. package/src/store/coreModuleConfig.d.ts +1 -1
  5. package/src/store/drawingtool/config.d.ts +4 -4
  6. package/src/store/drawingtool/index.d.ts +6 -6
  7. package/src/store/drawingtool/listener.d.ts +3 -3
  8. package/src/store/drawingtool/listener.spec.d.ts +1 -1
  9. package/src/store/drawingtool/reducer.d.ts +46 -46
  10. package/src/store/drawingtool/reducer.spec.d.ts +4 -4
  11. package/src/store/drawingtool/selectors.d.ts +43 -43
  12. package/src/store/drawingtool/selectors.spec.d.ts +1 -1
  13. package/src/store/drawingtool/testUtils.d.ts +1 -1
  14. package/src/store/drawingtool/utils.d.ts +1 -1
  15. package/src/store/drawingtool/utils.spec.d.ts +1 -1
  16. package/src/store/generic/actions.d.ts +28 -28
  17. package/src/store/generic/config.d.ts +5 -5
  18. package/src/store/generic/index.d.ts +17 -17
  19. package/src/store/generic/listener.d.ts +2 -2
  20. package/src/store/generic/listener.spec.d.ts +1 -1
  21. package/src/store/generic/loadingIndicator/constants.d.ts +1 -1
  22. package/src/store/generic/loadingIndicator/index.d.ts +3 -3
  23. package/src/store/generic/loadingIndicator/reducer.d.ts +13 -13
  24. package/src/store/generic/loadingIndicator/reducer.spec.d.ts +1 -1
  25. package/src/store/generic/loadingIndicator/selectors.d.ts +22 -22
  26. package/src/store/generic/loadingIndicator/selectors.spec.d.ts +1 -1
  27. package/src/store/generic/loadingIndicator/types.d.ts +22 -22
  28. package/src/store/generic/selectors.d.ts +12 -12
  29. package/src/store/generic/selectors.spec.d.ts +1 -1
  30. package/src/store/generic/synchronizationActions/actions.d.ts +11 -11
  31. package/src/store/generic/synchronizationActions/types.d.ts +34 -34
  32. package/src/store/generic/synchronizationGroups/__mocks__/mockState.d.ts +2 -2
  33. package/src/store/generic/synchronizationGroups/constants.d.ts +4 -4
  34. package/src/store/generic/synchronizationGroups/index.d.ts +6 -6
  35. package/src/store/generic/synchronizationGroups/listener.d.ts +2 -2
  36. package/src/store/generic/synchronizationGroups/listener.spec.d.ts +1 -1
  37. package/src/store/generic/synchronizationGroups/reducer.d.ts +26 -26
  38. package/src/store/generic/synchronizationGroups/reducer.spec.d.ts +1 -1
  39. package/src/store/generic/synchronizationGroups/selector.d.ts +13 -13
  40. package/src/store/generic/synchronizationGroups/selectors.d.ts +64 -64
  41. package/src/store/generic/synchronizationGroups/selectors.spec.d.ts +1 -1
  42. package/src/store/generic/synchronizationGroups/types.d.ts +100 -100
  43. package/src/store/generic/synchronizationGroups/utils.d.ts +76 -76
  44. package/src/store/generic/synchronizationGroups/utils.spec.d.ts +1 -1
  45. package/src/store/generic/types.d.ts +23 -23
  46. package/src/store/generic/utils.d.ts +9 -9
  47. package/src/store/generic/utils.spec.d.ts +1 -1
  48. package/src/store/index.d.ts +14 -14
  49. package/src/store/mapStore/config.d.ts +9 -9
  50. package/src/store/mapStore/index.d.ts +96 -96
  51. package/src/store/mapStore/layers/index.d.ts +5 -5
  52. package/src/store/mapStore/layers/listeners.d.ts +2 -2
  53. package/src/store/mapStore/layers/listeners.spec.d.ts +1 -1
  54. package/src/store/mapStore/layers/reducer.d.ts +87 -87
  55. package/src/store/mapStore/layers/reducer.spec.d.ts +1 -1
  56. package/src/store/mapStore/layers/selectors.d.ts +380 -380
  57. package/src/store/mapStore/layers/selectors.spec.d.ts +1 -1
  58. package/src/store/mapStore/layers/types.d.ts +166 -166
  59. package/src/store/mapStore/layers/utils.d.ts +23 -23
  60. package/src/store/mapStore/layers/utils.spec.d.ts +1 -1
  61. package/src/store/mapStore/map/actions.d.ts +9 -9
  62. package/src/store/mapStore/map/constants.d.ts +1 -1
  63. package/src/store/mapStore/map/enums.d.ts +3 -3
  64. package/src/store/mapStore/map/filterLayers.d.ts +10 -10
  65. package/src/store/mapStore/map/filterLayers.spec.d.ts +1 -1
  66. package/src/store/mapStore/map/index.d.ts +25 -25
  67. package/src/store/mapStore/map/listener.d.ts +4 -4
  68. package/src/store/mapStore/map/listener.spec.d.ts +1 -1
  69. package/src/store/mapStore/map/mapListenerAnimationUtils.d.ts +38 -38
  70. package/src/store/mapStore/map/mapListenerAnimationUtils.spec.d.ts +1 -1
  71. package/src/store/mapStore/map/mapUiListener.d.ts +2 -2
  72. package/src/store/mapStore/map/mapUiListener.spec.d.ts +1 -1
  73. package/src/store/mapStore/map/metronomeListener.d.ts +2 -2
  74. package/src/store/mapStore/map/reducer.d.ts +109 -109
  75. package/src/store/mapStore/map/reducer.spec.d.ts +1 -1
  76. package/src/store/mapStore/map/replaceLayerIdsToEnsureUniqueLayerIdsInStore.d.ts +7 -7
  77. package/src/store/mapStore/map/replaceLayerIdsToEnsureUniqueLayerIdsInStore.spec.d.ts +1 -1
  78. package/src/store/mapStore/map/selectors.d.ts +733 -733
  79. package/src/store/mapStore/map/selectors.spec.d.ts +1 -1
  80. package/src/store/mapStore/map/types.d.ts +233 -233
  81. package/src/store/mapStore/map/utils.d.ts +85 -85
  82. package/src/store/mapStore/map/utils.spec.d.ts +1 -1
  83. package/src/store/mapStore/service/WMS111GetCapabilitiesGeoServicesRADAR.d.ts +2 -2
  84. package/src/store/mapStore/service/index.d.ts +4 -4
  85. package/src/store/mapStore/service/listener.d.ts +5 -5
  86. package/src/store/mapStore/service/listener.spec.d.ts +1 -1
  87. package/src/store/mapStore/service/localStorage.d.ts +3 -3
  88. package/src/store/mapStore/service/localStorage.spec.d.ts +1 -1
  89. package/src/store/mapStore/service/reducer.d.ts +11 -11
  90. package/src/store/mapStore/service/reducer.spec.d.ts +1 -1
  91. package/src/store/mapStore/service/selectors.d.ts +80 -80
  92. package/src/store/mapStore/service/selectors.spec.d.ts +1 -1
  93. package/src/store/mapStore/service/types.d.ts +50 -50
  94. package/src/store/mapStore/storeTestSettings.d.ts +7 -7
  95. package/src/store/mapStore/storeTestUtils.d.ts +17 -17
  96. package/src/store/mapStore/types.d.ts +11 -11
  97. package/src/store/router/config.d.ts +4 -4
  98. package/src/store/router/index.d.ts +3 -3
  99. package/src/store/router/listener.d.ts +2 -2
  100. package/src/store/router/listener.spec.d.ts +1 -1
  101. package/src/store/router/reducer.d.ts +9 -9
  102. package/src/store/router/reducer.spec.d.ts +1 -1
  103. package/src/store/router/types.d.ts +6 -6
  104. package/src/store/router/utils.d.ts +3 -3
  105. package/src/store/testUtils/Providers.d.ts +13 -13
  106. package/src/store/types.d.ts +7 -7
  107. package/src/store/ui/config.d.ts +4 -4
  108. package/src/store/ui/index.d.ts +4 -4
  109. package/src/store/ui/reducer.d.ts +33 -33
  110. package/src/store/ui/reducer.spec.d.ts +1 -1
  111. package/src/store/ui/selectors.d.ts +102 -102
  112. package/src/store/ui/selectors.spec.d.ts +1 -1
  113. package/src/store/ui/types.d.ts +78 -78
  114. package/src/store/ui/useSetupDialog.d.ts +11 -11
  115. package/src/store/ui/useSetupDialog.spec.d.ts +1 -1
  116. package/src/store/utils.d.ts +6 -6
@@ -1,4 +1,4 @@
1
- import { Egg } from '@redux-eggs/core';
2
- import { Store } from '@reduxjs/toolkit';
3
- import { UIModuleState } from './types';
4
- export declare const uiModuleConfig: Egg<Store<UIModuleState>>;
1
+ import { Egg } from '@redux-eggs/core';
2
+ import { Store } from '@reduxjs/toolkit';
3
+ import { UIModuleState } from './types';
4
+ export declare const uiModuleConfig: Egg<Store<UIModuleState>>;
@@ -1,4 +1,4 @@
1
- export { uiActions, reducer as uiReducer } from './reducer';
2
- export * as uiSelectors from './selectors';
3
- export * as uiTypes from './types';
4
- export { useSetupDialog } from './useSetupDialog';
1
+ export { uiActions, reducer as uiReducer } from './reducer';
2
+ export * as uiSelectors from './selectors';
3
+ export * as uiTypes from './types';
4
+ export { useSetupDialog } from './useSetupDialog';
@@ -1,33 +1,33 @@
1
- import { PayloadAction, Draft } from '@reduxjs/toolkit';
2
- import { DialogType, SetActiveMapIdForDialogPayload, SetActiveWindowIdPayload, Source, UIOrderDialogPayload, UIRegisterDialogPayload, UISetErrorPayload, UIStoreType, UIToggleDialogPayload, UIToggleIsLoadingPayload, UIType, UIUnRegisterDialogPayload } from './types';
3
- interface CreateUIDialogElementProps {
4
- activeMapId: string;
5
- type: DialogType;
6
- setOpen: boolean;
7
- source?: Source;
8
- }
9
- export declare const moveToTop: <Type>(list: Type[], element: Type) => Type[];
10
- export declare const createUIDialogElement: ({ activeMapId, type, setOpen, source, }: CreateUIDialogElementProps) => UIType;
11
- export declare const initialState: UIStoreType;
12
- export declare const slice: import("@reduxjs/toolkit").Slice<UIStoreType, {
13
- registerDialog: (draft: Draft<UIStoreType>, action: PayloadAction<UIRegisterDialogPayload>) => void;
14
- unregisterDialog: (draft: Draft<UIStoreType>, action: PayloadAction<UIUnRegisterDialogPayload>) => void;
15
- setActiveMapIdForDialog: (draft: Draft<UIStoreType>, action: PayloadAction<SetActiveMapIdForDialogPayload>) => void;
16
- setToggleOpenDialog: (draft: Draft<UIStoreType>, action: PayloadAction<UIToggleDialogPayload>) => void;
17
- orderDialog: (draft: Draft<UIStoreType>, action: PayloadAction<UIOrderDialogPayload>) => void;
18
- setActiveWindowId: (draft: Draft<UIStoreType>, action: PayloadAction<SetActiveWindowIdPayload>) => void;
19
- toggleIsLoadingDialog: (draft: Draft<UIStoreType>, action: PayloadAction<UIToggleIsLoadingPayload>) => void;
20
- setErrorDialog: (draft: Draft<UIStoreType>, action: PayloadAction<UISetErrorPayload>) => void;
21
- }, "uiReducer">;
22
- export declare const reducer: import("redux").Reducer<UIStoreType, import("redux").AnyAction>;
23
- export declare const uiActions: import("@reduxjs/toolkit").CaseReducerActions<{
24
- registerDialog: (draft: Draft<UIStoreType>, action: PayloadAction<UIRegisterDialogPayload>) => void;
25
- unregisterDialog: (draft: Draft<UIStoreType>, action: PayloadAction<UIUnRegisterDialogPayload>) => void;
26
- setActiveMapIdForDialog: (draft: Draft<UIStoreType>, action: PayloadAction<SetActiveMapIdForDialogPayload>) => void;
27
- setToggleOpenDialog: (draft: Draft<UIStoreType>, action: PayloadAction<UIToggleDialogPayload>) => void;
28
- orderDialog: (draft: Draft<UIStoreType>, action: PayloadAction<UIOrderDialogPayload>) => void;
29
- setActiveWindowId: (draft: Draft<UIStoreType>, action: PayloadAction<SetActiveWindowIdPayload>) => void;
30
- toggleIsLoadingDialog: (draft: Draft<UIStoreType>, action: PayloadAction<UIToggleIsLoadingPayload>) => void;
31
- setErrorDialog: (draft: Draft<UIStoreType>, action: PayloadAction<UISetErrorPayload>) => void;
32
- }, "uiReducer">;
33
- export {};
1
+ import { PayloadAction, Draft } from '@reduxjs/toolkit';
2
+ import { DialogType, SetActiveMapIdForDialogPayload, SetActiveWindowIdPayload, Source, UIOrderDialogPayload, UIRegisterDialogPayload, UISetErrorPayload, UIStoreType, UIToggleDialogPayload, UIToggleIsLoadingPayload, UIType, UIUnRegisterDialogPayload } from './types';
3
+ interface CreateUIDialogElementProps {
4
+ activeMapId: string;
5
+ type: DialogType;
6
+ setOpen: boolean;
7
+ source?: Source;
8
+ }
9
+ export declare const moveToTop: <Type>(list: Type[], element: Type) => Type[];
10
+ export declare const createUIDialogElement: ({ activeMapId, type, setOpen, source, }: CreateUIDialogElementProps) => UIType;
11
+ export declare const initialState: UIStoreType;
12
+ export declare const slice: import("@reduxjs/toolkit").Slice<UIStoreType, {
13
+ registerDialog: (draft: Draft<UIStoreType>, action: PayloadAction<UIRegisterDialogPayload>) => void;
14
+ unregisterDialog: (draft: Draft<UIStoreType>, action: PayloadAction<UIUnRegisterDialogPayload>) => void;
15
+ setActiveMapIdForDialog: (draft: Draft<UIStoreType>, action: PayloadAction<SetActiveMapIdForDialogPayload>) => void;
16
+ setToggleOpenDialog: (draft: Draft<UIStoreType>, action: PayloadAction<UIToggleDialogPayload>) => void;
17
+ orderDialog: (draft: Draft<UIStoreType>, action: PayloadAction<UIOrderDialogPayload>) => void;
18
+ setActiveWindowId: (draft: Draft<UIStoreType>, action: PayloadAction<SetActiveWindowIdPayload>) => void;
19
+ toggleIsLoadingDialog: (draft: Draft<UIStoreType>, action: PayloadAction<UIToggleIsLoadingPayload>) => void;
20
+ setErrorDialog: (draft: Draft<UIStoreType>, action: PayloadAction<UISetErrorPayload>) => void;
21
+ }, "uiReducer">;
22
+ export declare const reducer: import("redux").Reducer<UIStoreType>;
23
+ export declare const uiActions: import("@reduxjs/toolkit").CaseReducerActions<{
24
+ registerDialog: (draft: Draft<UIStoreType>, action: PayloadAction<UIRegisterDialogPayload>) => void;
25
+ unregisterDialog: (draft: Draft<UIStoreType>, action: PayloadAction<UIUnRegisterDialogPayload>) => void;
26
+ setActiveMapIdForDialog: (draft: Draft<UIStoreType>, action: PayloadAction<SetActiveMapIdForDialogPayload>) => void;
27
+ setToggleOpenDialog: (draft: Draft<UIStoreType>, action: PayloadAction<UIToggleDialogPayload>) => void;
28
+ orderDialog: (draft: Draft<UIStoreType>, action: PayloadAction<UIOrderDialogPayload>) => void;
29
+ setActiveWindowId: (draft: Draft<UIStoreType>, action: PayloadAction<SetActiveWindowIdPayload>) => void;
30
+ toggleIsLoadingDialog: (draft: Draft<UIStoreType>, action: PayloadAction<UIToggleIsLoadingPayload>) => void;
31
+ setErrorDialog: (draft: Draft<UIStoreType>, action: PayloadAction<UISetErrorPayload>) => void;
32
+ }, "uiReducer">;
33
+ export {};
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,102 +1,102 @@
1
- import { TypedUseSelectorHook } from 'react-redux';
2
- import type { CoreAppStore } from '../types';
3
- import type { UIModuleState, UIStoreType, UIType } from './types';
4
- export declare const useAppSelector: TypedUseSelectorHook<CoreAppStore>;
5
- export declare const getUiStore: (store: UIModuleState) => UIStoreType;
6
- /**
7
- * Gets the active map Id and wether a dialog is open or closed
8
- *
9
- * Example: getDialogDetailsByType(store, 'legend')
10
- * @param {object} store store object from which the ui state wll be extracted
11
- * @param {string} dialogType type of the dialog
12
- * @returns {array} [string, boolean] first element gives the active map id, second element whether the dialog is open
13
- */
14
- export declare const getDialogDetailsByType: (store: UIModuleState, dialogType: string) => UIType;
15
- /**
16
- * For a given ui component: gets wether the dialog is open or closed
17
- *
18
- * @param {object} store store object from which the ui state wll be extracted
19
- * @param {string} dialogType type of the dialog
20
- * @returns {boolean} returnType: boolean
21
- */
22
- export declare const getisDialogOpen: ((state: UIModuleState, dialogType: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: UIType) => boolean, {
23
- clearCache: () => void;
24
- }> & {
25
- clearCache: () => void;
26
- };
27
- /**
28
- *For a given ui component: gets the active map Id
29
- *
30
- * @param {object} store store object from which the ui state wll be extracted
31
- * @param {string} dialogType type of the dialog
32
- * @returns {string} returnType: string - the active map id
33
- */
34
- export declare const getDialogMapId: ((state: UIModuleState, dialogType: string) => string) & import("reselect").OutputSelectorFields<(args_0: UIType) => string, {
35
- clearCache: () => void;
36
- }> & {
37
- clearCache: () => void;
38
- };
39
- /**
40
- *For a given ui component: gets the order of visible dialog
41
- *
42
- * @param {object} store store object from which the ui state wll be extracted
43
- * @param {DialogType} dialogType type of the dialog
44
- * @returns {number} the higher the order number the higher the zIndex
45
- */
46
- export declare const getDialogOrder: ((state: UIModuleState, dialogType: string) => number) & import("reselect").OutputSelectorFields<(args_0: number) => number, {
47
- clearCache: () => void;
48
- }> & {
49
- clearCache: () => void;
50
- };
51
- /**
52
- *For a given ui component: returns if ordered on top
53
- *
54
- * @param {object} store store object from which the ui state wll be extracted
55
- * @param {DialogType} dialogType type of the dialog
56
- * @returns {boolean}
57
- */
58
- export declare const getDialogIsOrderedOnTop: ((state: UIModuleState, dialogType: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: boolean) => boolean, {
59
- clearCache: () => void;
60
- }> & {
61
- clearCache: () => void;
62
- };
63
- export declare const getDialogSource: ((state: UIModuleState, dialogType: string) => import("dist/libs/shared/src/lib/components/ToolContainer/ToolContainerDraggable").Source) & import("reselect").OutputSelectorFields<(args_0: UIType) => import("dist/libs/shared/src/lib/components/ToolContainer/ToolContainerDraggable").Source, {
64
- clearCache: () => void;
65
- }> & {
66
- clearCache: () => void;
67
- };
68
- /**
69
- * Get the active window that should receive keyboard shortcuts
70
- *
71
- * Example: getActiveWindowId(store)
72
- * @param {object} store store object from which the window state will be extracted
73
- * @returns {string} active window id
74
- */
75
- export declare const getActiveWindowId: ((state: UIModuleState) => string) & import("reselect").OutputSelectorFields<(args_0: UIStoreType) => string, {
76
- clearCache: () => void;
77
- }> & {
78
- clearCache: () => void;
79
- };
80
- /**
81
- * Gets if this is the active window
82
- *
83
- * Example: getIsActiveWindowId(store, viewId)
84
- * @param {object} store store object from which the window state will be extracted
85
- * @returns {string} active window id
86
- */
87
- export declare const getIsActiveWindowId: ((state: UIModuleState, viewId: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: UIStoreType, args_1: string) => boolean, {
88
- clearCache: () => void;
89
- }> & {
90
- clearCache: () => void;
91
- };
92
- export declare const getDialogIsLoading: ((state: UIModuleState, dialogType: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: UIType) => boolean, {
93
- clearCache: () => void;
94
- }> & {
95
- clearCache: () => void;
96
- };
97
- export declare const getDialogError: ((state: UIModuleState, dialogType: string) => string) & import("reselect").OutputSelectorFields<(args_0: UIType) => string, {
98
- clearCache: () => void;
99
- }> & {
100
- clearCache: () => void;
101
- };
102
- export declare const getUiDialogsByActiveMapId: (store: UIModuleState, mapId: string) => UIType[];
1
+ import { TypedUseSelectorHook } from 'react-redux';
2
+ import type { CoreAppStore } from '../types';
3
+ import type { UIModuleState, UIStoreType, UIType } from './types';
4
+ export declare const useAppSelector: TypedUseSelectorHook<CoreAppStore>;
5
+ export declare const getUiStore: (store: UIModuleState) => UIStoreType;
6
+ /**
7
+ * Gets the active map Id and wether a dialog is open or closed
8
+ *
9
+ * Example: getDialogDetailsByType(store, 'legend')
10
+ * @param {object} store store object from which the ui state wll be extracted
11
+ * @param {string} dialogType type of the dialog
12
+ * @returns {array} [string, boolean] first element gives the active map id, second element whether the dialog is open
13
+ */
14
+ export declare const getDialogDetailsByType: (store: UIModuleState, dialogType: string) => UIType;
15
+ /**
16
+ * For a given ui component: gets wether the dialog is open or closed
17
+ *
18
+ * @param {object} store store object from which the ui state wll be extracted
19
+ * @param {string} dialogType type of the dialog
20
+ * @returns {boolean} returnType: boolean
21
+ */
22
+ export declare const getisDialogOpen: ((state: UIModuleState, dialogType: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: UIType) => boolean, {
23
+ clearCache: () => void;
24
+ }> & {
25
+ clearCache: () => void;
26
+ };
27
+ /**
28
+ *For a given ui component: gets the active map Id
29
+ *
30
+ * @param {object} store store object from which the ui state wll be extracted
31
+ * @param {string} dialogType type of the dialog
32
+ * @returns {string} returnType: string - the active map id
33
+ */
34
+ export declare const getDialogMapId: ((state: UIModuleState, dialogType: string) => string) & import("reselect").OutputSelectorFields<(args_0: UIType) => string, {
35
+ clearCache: () => void;
36
+ }> & {
37
+ clearCache: () => void;
38
+ };
39
+ /**
40
+ *For a given ui component: gets the order of visible dialog
41
+ *
42
+ * @param {object} store store object from which the ui state wll be extracted
43
+ * @param {DialogType} dialogType type of the dialog
44
+ * @returns {number} the higher the order number the higher the zIndex
45
+ */
46
+ export declare const getDialogOrder: ((state: UIModuleState, dialogType: string) => number) & import("reselect").OutputSelectorFields<(args_0: number) => number, {
47
+ clearCache: () => void;
48
+ }> & {
49
+ clearCache: () => void;
50
+ };
51
+ /**
52
+ *For a given ui component: returns if ordered on top
53
+ *
54
+ * @param {object} store store object from which the ui state wll be extracted
55
+ * @param {DialogType} dialogType type of the dialog
56
+ * @returns {boolean}
57
+ */
58
+ export declare const getDialogIsOrderedOnTop: ((state: UIModuleState, dialogType: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: boolean) => boolean, {
59
+ clearCache: () => void;
60
+ }> & {
61
+ clearCache: () => void;
62
+ };
63
+ export declare const getDialogSource: ((state: UIModuleState, dialogType: string) => import("dist/libs/shared/src/lib/components/ToolContainer/ToolContainerDraggable").Source) & import("reselect").OutputSelectorFields<(args_0: UIType) => import("dist/libs/shared/src/lib/components/ToolContainer/ToolContainerDraggable").Source, {
64
+ clearCache: () => void;
65
+ }> & {
66
+ clearCache: () => void;
67
+ };
68
+ /**
69
+ * Get the active window that should receive keyboard shortcuts
70
+ *
71
+ * Example: getActiveWindowId(store)
72
+ * @param {object} store store object from which the window state will be extracted
73
+ * @returns {string} active window id
74
+ */
75
+ export declare const getActiveWindowId: ((state: UIModuleState) => string) & import("reselect").OutputSelectorFields<(args_0: UIStoreType) => string, {
76
+ clearCache: () => void;
77
+ }> & {
78
+ clearCache: () => void;
79
+ };
80
+ /**
81
+ * Gets if this is the active window
82
+ *
83
+ * Example: getIsActiveWindowId(store, viewId)
84
+ * @param {object} store store object from which the window state will be extracted
85
+ * @returns {string} active window id
86
+ */
87
+ export declare const getIsActiveWindowId: ((state: UIModuleState, viewId: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: UIStoreType, args_1: string) => boolean, {
88
+ clearCache: () => void;
89
+ }> & {
90
+ clearCache: () => void;
91
+ };
92
+ export declare const getDialogIsLoading: ((state: UIModuleState, dialogType: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: UIType) => boolean, {
93
+ clearCache: () => void;
94
+ }> & {
95
+ clearCache: () => void;
96
+ };
97
+ export declare const getDialogError: ((state: UIModuleState, dialogType: string) => string) & import("reselect").OutputSelectorFields<(args_0: UIType) => string, {
98
+ clearCache: () => void;
99
+ }> & {
100
+ clearCache: () => void;
101
+ };
102
+ export declare const getUiDialogsByActiveMapId: (store: UIModuleState, mapId: string) => UIType[];
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,78 +1,78 @@
1
- import { Source } from '@opengeoweb/shared';
2
- type LegendDialogType = string;
3
- type GetFeatureInfoDialogType = string;
4
- export declare enum DialogTypes {
5
- LayerInfo = "layerInfo",
6
- SyncGroups = "syncGroups",
7
- TimeSeriesSelect = "timeSeriesSelect",
8
- TimeSeriesManager = "timeSeriesManager",
9
- TimeseriesInfo = "timeseriesInfo",
10
- KeywordFilter = "keywordFilter",
11
- DimensionSelectEnsembleMember = "dimensionSelect-ensemble_member",
12
- DimensionSelectElevation = "dimensionSelect-elevation",
13
- LayerManager = "layerManager",
14
- LayerSelect = "layerSelect",
15
- DrawingTool = "drawingTool",
16
- DockedLayerManager = "dockedLayerManager",
17
- ObjectManager = "objectManager",
18
- PublicWarnings = "publicWarnings",
19
- Search = "search",
20
- AreaObjectLoader = "areaObjectLoader"
21
- }
22
- export type DialogType = DialogTypes | LegendDialogType | GetFeatureInfoDialogType;
23
- export type { Source };
24
- export interface UIType {
25
- type: DialogType;
26
- activeMapId: string;
27
- isOpen: boolean;
28
- source?: Source;
29
- isLoading?: boolean;
30
- error?: string;
31
- }
32
- export interface UIStoreType {
33
- order: DialogType[];
34
- dialogs: Partial<Record<DialogType, UIType>>;
35
- activeWindowId?: string;
36
- }
37
- export interface UIModuleState {
38
- ui?: UIStoreType;
39
- }
40
- export interface SetActiveMapIdForDialogPayload {
41
- type: DialogType;
42
- mapId: string;
43
- setOpen?: boolean;
44
- source?: Source;
45
- origin?: string;
46
- }
47
- export interface UIRegisterDialogPayload {
48
- type: DialogType;
49
- mapId?: string;
50
- setOpen?: boolean;
51
- source?: Source;
52
- }
53
- export interface UIUnRegisterDialogPayload {
54
- type: DialogType;
55
- }
56
- export interface UIToggleDialogPayload {
57
- type: DialogType;
58
- setOpen: boolean;
59
- origin?: string;
60
- mapId?: string;
61
- }
62
- export interface UIOrderDialogPayload {
63
- type: DialogType;
64
- }
65
- export interface SetActiveWindowIdPayload {
66
- activeWindowId: string;
67
- }
68
- export interface UIToggleIsLoadingPayload {
69
- type: DialogType;
70
- isLoading: boolean;
71
- }
72
- export interface UISetErrorPayload {
73
- type: DialogType;
74
- error: string;
75
- }
76
- export interface UIToggleShowSentryRecordButton {
77
- type: DialogType;
78
- }
1
+ import { Source } from '@opengeoweb/shared';
2
+ type LegendDialogType = string;
3
+ type GetFeatureInfoDialogType = string;
4
+ export declare enum DialogTypes {
5
+ LayerInfo = "layerInfo",
6
+ SyncGroups = "syncGroups",
7
+ TimeSeriesSelect = "timeSeriesSelect",
8
+ TimeSeriesManager = "timeSeriesManager",
9
+ TimeseriesInfo = "timeseriesInfo",
10
+ KeywordFilter = "keywordFilter",
11
+ DimensionSelectEnsembleMember = "dimensionSelect-ensemble_member",
12
+ DimensionSelectElevation = "dimensionSelect-elevation",
13
+ LayerManager = "layerManager",
14
+ LayerSelect = "layerSelect",
15
+ DrawingTool = "drawingTool",
16
+ DockedLayerManager = "dockedLayerManager",
17
+ ObjectManager = "objectManager",
18
+ PublicWarnings = "publicWarnings",
19
+ Search = "search",
20
+ AreaObjectLoader = "areaObjectLoader"
21
+ }
22
+ export type DialogType = DialogTypes | LegendDialogType | GetFeatureInfoDialogType;
23
+ export type { Source };
24
+ export interface UIType {
25
+ type: DialogType;
26
+ activeMapId: string;
27
+ isOpen: boolean;
28
+ source?: Source;
29
+ isLoading?: boolean;
30
+ error?: string;
31
+ }
32
+ export interface UIStoreType {
33
+ order: DialogType[];
34
+ dialogs: Partial<Record<DialogType, UIType>>;
35
+ activeWindowId?: string;
36
+ }
37
+ export interface UIModuleState {
38
+ ui?: UIStoreType;
39
+ }
40
+ export interface SetActiveMapIdForDialogPayload {
41
+ type: DialogType;
42
+ mapId: string;
43
+ setOpen?: boolean;
44
+ source?: Source;
45
+ origin?: string;
46
+ }
47
+ export interface UIRegisterDialogPayload {
48
+ type: DialogType;
49
+ mapId?: string;
50
+ setOpen?: boolean;
51
+ source?: Source;
52
+ }
53
+ export interface UIUnRegisterDialogPayload {
54
+ type: DialogType;
55
+ }
56
+ export interface UIToggleDialogPayload {
57
+ type: DialogType;
58
+ setOpen: boolean;
59
+ origin?: string;
60
+ mapId?: string;
61
+ }
62
+ export interface UIOrderDialogPayload {
63
+ type: DialogType;
64
+ }
65
+ export interface SetActiveWindowIdPayload {
66
+ activeWindowId: string;
67
+ }
68
+ export interface UIToggleIsLoadingPayload {
69
+ type: DialogType;
70
+ isLoading: boolean;
71
+ }
72
+ export interface UISetErrorPayload {
73
+ type: DialogType;
74
+ error: string;
75
+ }
76
+ export interface UIToggleShowSentryRecordButton {
77
+ type: DialogType;
78
+ }
@@ -1,11 +1,11 @@
1
- import type { uiTypes } from '.';
2
- export interface SetupDialogReturnValue {
3
- setDialogOrder: () => void;
4
- dialogOrder: number;
5
- onCloseDialog: () => void;
6
- uiSource: uiTypes.Source;
7
- isDialogOpen: boolean;
8
- uiIsLoading: boolean;
9
- uiError: string;
10
- }
11
- export declare const useSetupDialog: (dialogType: uiTypes.DialogType, source?: uiTypes.Source) => SetupDialogReturnValue;
1
+ import type { uiTypes } from '.';
2
+ export interface SetupDialogReturnValue {
3
+ setDialogOrder: () => void;
4
+ dialogOrder: number;
5
+ onCloseDialog: () => void;
6
+ uiSource: uiTypes.Source;
7
+ isDialogOpen: boolean;
8
+ uiIsLoading: boolean;
9
+ uiError: string;
10
+ }
11
+ export declare const useSetupDialog: (dialogType: uiTypes.DialogType, source?: uiTypes.Source) => SetupDialogReturnValue;
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,6 +1,6 @@
1
- export declare const selectorMemoizationOptions: {
2
- memoizeOptions: {
3
- maxSize: number;
4
- resultEqualityCheck: (value: any, other: any) => boolean;
5
- };
6
- };
1
+ export declare const selectorMemoizationOptions: {
2
+ memoizeOptions: {
3
+ maxSize: number;
4
+ resultEqualityCheck: (value: any, other: any) => boolean;
5
+ };
6
+ };