@opengeoweb/shared 15.3.0 → 17.0.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.
Files changed (190) hide show
  1. package/index.esm.js +947 -406
  2. package/package.json +3 -3
  3. package/src/index.d.ts +0 -7
  4. package/src/lib/components/AlertBanner/AlertBanner.d.ts +0 -16
  5. package/src/lib/components/AlertBanner/AlertBanner.spec.d.ts +0 -1
  6. package/src/lib/components/AlertBanner/AlertBanner.stories.d.ts +0 -8
  7. package/src/lib/components/AlertBanner/index.d.ts +0 -1
  8. package/src/lib/components/AlertIcon/AlertIcon.d.ts +0 -8
  9. package/src/lib/components/AlertIcon/index.d.ts +0 -1
  10. package/src/lib/components/AppHeader/AppHeader.d.ts +0 -10
  11. package/src/lib/components/AppHeader/AppHeader.spec.d.ts +0 -1
  12. package/src/lib/components/AppHeader/AppHeader.stories.d.ts +0 -8
  13. package/src/lib/components/AppHeader/index.d.ts +0 -1
  14. package/src/lib/components/AppLayout/AppLayout.d.ts +0 -7
  15. package/src/lib/components/AppLayout/AppLayout.spec.d.ts +0 -1
  16. package/src/lib/components/AppLayout/AppLayout.stories.d.ts +0 -8
  17. package/src/lib/components/AppLayout/index.d.ts +0 -1
  18. package/src/lib/components/Avatar/Avatar.d.ts +0 -8
  19. package/src/lib/components/Avatar/Avatar.stories.d.ts +0 -8
  20. package/src/lib/components/Avatar/index.d.ts +0 -1
  21. package/src/lib/components/CanvasComponent/CanvasComponent.d.ts +0 -71
  22. package/src/lib/components/CanvasComponent/CanvasComponent.spec.d.ts +0 -1
  23. package/src/lib/components/CanvasComponent/CanvasComponent.stories.d.ts +0 -8
  24. package/src/lib/components/CanvasComponent/index.d.ts +0 -1
  25. package/src/lib/components/ConfirmationDialog/ConfirmationButtons.d.ts +0 -12
  26. package/src/lib/components/ConfirmationDialog/ConfirmationButtons.spec.d.ts +0 -1
  27. package/src/lib/components/ConfirmationDialog/ConfirmationButtons.stories.d.ts +0 -9
  28. package/src/lib/components/ConfirmationDialog/ConfirmationDialog.d.ts +0 -22
  29. package/src/lib/components/ConfirmationDialog/ConfirmationDialog.spec.d.ts +0 -1
  30. package/src/lib/components/ConfirmationDialog/ConfirmationDialog.stories.d.ts +0 -21
  31. package/src/lib/components/ConfirmationDialog/ConfirmationService.d.ts +0 -18
  32. package/src/lib/components/ConfirmationDialog/ConfirmationService.spec.d.ts +0 -1
  33. package/src/lib/components/ConfirmationDialog/index.d.ts +0 -3
  34. package/src/lib/components/CustomAccordion/CustomAccordion.d.ts +0 -13
  35. package/src/lib/components/CustomAccordion/CustomAccordion.spec.d.ts +0 -1
  36. package/src/lib/components/CustomAccordion/CustomAccordion.stories.d.ts +0 -8
  37. package/src/lib/components/CustomAccordion/index.d.ts +0 -1
  38. package/src/lib/components/CustomDialog/CustomDialog.d.ts +0 -18
  39. package/src/lib/components/CustomDialog/CustomDialog.spec.d.ts +0 -1
  40. package/src/lib/components/CustomDialog/CustomDialog.stories.d.ts +0 -22
  41. package/src/lib/components/CustomDialog/CustomDialogHeader.d.ts +0 -13
  42. package/src/lib/components/CustomDialog/CustomDialogHeader.spec.d.ts +0 -1
  43. package/src/lib/components/CustomDialog/CustomDialogHeader.stories.d.ts +0 -11
  44. package/src/lib/components/CustomDialog/index.d.ts +0 -2
  45. package/src/lib/components/CustomDialog/types.d.ts +0 -1
  46. package/src/lib/components/CustomIconButton/CustomIconButton.d.ts +0 -15
  47. package/src/lib/components/CustomIconButton/CustomIconButton.spec.d.ts +0 -1
  48. package/src/lib/components/CustomIconButton/CustomIconButton.stories.d.ts +0 -8
  49. package/src/lib/components/CustomIconButton/index.d.ts +0 -1
  50. package/src/lib/components/CustomSlider/CustomSlider.d.ts +0 -14
  51. package/src/lib/components/CustomSlider/CustomSlider.spec.d.ts +0 -1
  52. package/src/lib/components/CustomSlider/CustomSlider.stories.d.ts +0 -8
  53. package/src/lib/components/CustomSlider/index.d.ts +0 -1
  54. package/src/lib/components/CustomToggleButton/CustomToggleButton.d.ts +0 -8
  55. package/src/lib/components/CustomToggleButton/CustomToggleButton.spec.d.ts +0 -1
  56. package/src/lib/components/CustomToggleButton/CustomToggleButton.stories.d.ts +0 -8
  57. package/src/lib/components/CustomToggleButton/index.d.ts +0 -1
  58. package/src/lib/components/CustomTooltip/CustomTooltip.d.ts +0 -5
  59. package/src/lib/components/CustomTooltip/CustomTooltip.spec.d.ts +0 -1
  60. package/src/lib/components/CustomTooltip/index.d.ts +0 -1
  61. package/src/lib/components/DraggableResizable/Draggable.d.ts +0 -16
  62. package/src/lib/components/DraggableResizable/Draggable.spec.d.ts +0 -1
  63. package/src/lib/components/DraggableResizable/Resizable.d.ts +0 -10
  64. package/src/lib/components/DraggableResizable/Resizable.spec.d.ts +0 -1
  65. package/src/lib/components/DraggableResizable/index.d.ts +0 -3
  66. package/src/lib/components/DraggableResizable/types.d.ts +0 -27
  67. package/src/lib/components/ErrorBoundary/ErrorBoundary.d.ts +0 -31
  68. package/src/lib/components/ErrorBoundary/ErrorBoundary.spec.d.ts +0 -1
  69. package/src/lib/components/ErrorBoundary/ErrorBoundary.stories.d.ts +0 -8
  70. package/src/lib/components/ErrorBoundary/index.d.ts +0 -1
  71. package/src/lib/components/Filter/Filter.d.ts +0 -18
  72. package/src/lib/components/Filter/Filter.spec.d.ts +0 -1
  73. package/src/lib/components/Filter/Filter.stories.d.ts +0 -8
  74. package/src/lib/components/Filter/FilterChip.d.ts +0 -14
  75. package/src/lib/components/Filter/FilterChip.spec.d.ts +0 -1
  76. package/src/lib/components/Filter/FilterList.d.ts +0 -19
  77. package/src/lib/components/Filter/FilterList.spec.d.ts +0 -1
  78. package/src/lib/components/Filter/FilterOption.d.ts +0 -12
  79. package/src/lib/components/Filter/FilterToggleButton.d.ts +0 -6
  80. package/src/lib/components/Filter/SearchField.d.ts +0 -8
  81. package/src/lib/components/Filter/SearchField.spec.d.ts +0 -1
  82. package/src/lib/components/Filter/index.d.ts +0 -7
  83. package/src/lib/components/LastUpdateTime/LastUpdateTime.d.ts +0 -14
  84. package/src/lib/components/LastUpdateTime/LastUpdateTime.spec.d.ts +0 -1
  85. package/src/lib/components/LastUpdateTime/LastUpdateTime.stories.d.ts +0 -8
  86. package/src/lib/components/LastUpdateTime/index.d.ts +0 -1
  87. package/src/lib/components/Providers/Providers.d.ts +0 -18
  88. package/src/lib/components/Providers/index.d.ts +0 -1
  89. package/src/lib/components/SearchField/SearchField.d.ts +0 -10
  90. package/src/lib/components/SearchField/SearchField.spec.d.ts +0 -1
  91. package/src/lib/components/SearchField/SearchFieldButtonContainer.d.ts +0 -9
  92. package/src/lib/components/SearchField/SearchFieldButtonContainer.spec.d.ts +0 -1
  93. package/src/lib/components/SearchField/index.d.ts +0 -2
  94. package/src/lib/components/SearchHighlight/SearchHighlight.d.ts +0 -7
  95. package/src/lib/components/SearchHighlight/SearchHighlight.spec.d.ts +0 -1
  96. package/src/lib/components/SearchHighlight/SearchHighlight.stories.d.ts +0 -8
  97. package/src/lib/components/SearchHighlight/index.d.ts +0 -1
  98. package/src/lib/components/StatusTag/StatusTag.d.ts +0 -17
  99. package/src/lib/components/StatusTag/StatusTag.spec.d.ts +0 -1
  100. package/src/lib/components/StatusTag/StatusTag.stories.d.ts +0 -8
  101. package/src/lib/components/StatusTag/index.d.ts +0 -1
  102. package/src/lib/components/Storybook/StorybookDocsWrapper.d.ts +0 -6
  103. package/src/lib/components/Storybook/index.d.ts +0 -1
  104. package/src/lib/components/SwitchButton/SwitchButton.d.ts +0 -8
  105. package/src/lib/components/SwitchButton/SwitchButton.spec.d.ts +0 -1
  106. package/src/lib/components/SwitchButton/index.d.ts +0 -1
  107. package/src/lib/components/ToggleMenu/ToggleMenu.d.ts +0 -30
  108. package/src/lib/components/ToggleMenu/ToggleMenu.spec.d.ts +0 -1
  109. package/src/lib/components/ToggleMenu/ToggleMenu.stories.d.ts +0 -8
  110. package/src/lib/components/ToggleMenu/index.d.ts +0 -1
  111. package/src/lib/components/ToolContainer/ToolContainer.d.ts +0 -5
  112. package/src/lib/components/ToolContainer/ToolContainer.spec.d.ts +0 -1
  113. package/src/lib/components/ToolContainer/ToolContainer.stories.d.ts +0 -16
  114. package/src/lib/components/ToolContainer/ToolContainerDraggable.d.ts +0 -39
  115. package/src/lib/components/ToolContainer/ToolContainerDraggable.spec.d.ts +0 -1
  116. package/src/lib/components/ToolContainer/ToolContainerDraggable.stories.d.ts +0 -13
  117. package/src/lib/components/ToolContainer/ToolContainerSnapShots.stories.d.ts +0 -13
  118. package/src/lib/components/ToolContainer/ToolFooter.d.ts +0 -3
  119. package/src/lib/components/ToolContainer/ToolFooter.spec.d.ts +0 -1
  120. package/src/lib/components/ToolContainer/ToolHeader.d.ts +0 -4
  121. package/src/lib/components/ToolContainer/ToolHeader.spec.d.ts +0 -1
  122. package/src/lib/components/ToolContainer/ToolHeader.stories.d.ts +0 -8
  123. package/src/lib/components/ToolContainer/index.d.ts +0 -7
  124. package/src/lib/components/ToolContainer/types.d.ts +0 -19
  125. package/src/lib/components/ToolContainer/useHandleSizeFromOutsideComponent.d.ts +0 -15
  126. package/src/lib/components/ToolContainer/useHandleSizeFromOutsideComponent.spec.d.ts +0 -1
  127. package/src/lib/components/TooltipSelect/TooltipSelect.d.ts +0 -23
  128. package/src/lib/components/TooltipSelect/TooltipSelect.spec.d.ts +0 -1
  129. package/src/lib/components/TooltipSelect/TooltipSelect.stories.d.ts +0 -10
  130. package/src/lib/components/TooltipSelect/index.d.ts +0 -1
  131. package/src/lib/components/UserMenu/CheatSheet/CheatSheet.d.ts +0 -3
  132. package/src/lib/components/UserMenu/CheatSheet/CheatSheet.spec.d.ts +0 -1
  133. package/src/lib/components/UserMenu/CheatSheet/CheatSheet.stories.d.ts +0 -10
  134. package/src/lib/components/UserMenu/CheatSheet/ShortcutList.d.ts +0 -6
  135. package/src/lib/components/UserMenu/CheatSheet/ShortcutList.spec.d.ts +0 -1
  136. package/src/lib/components/UserMenu/CheatSheet/ShortcutSegment.d.ts +0 -7
  137. package/src/lib/components/UserMenu/CheatSheet/ShortcutSegment.spec.d.ts +0 -1
  138. package/src/lib/components/UserMenu/UserMenu.d.ts +0 -11
  139. package/src/lib/components/UserMenu/UserMenu.spec.d.ts +0 -1
  140. package/src/lib/components/UserMenu/UserMenu.stories.d.ts +0 -10
  141. package/src/lib/components/UserMenu/UserMenuItemCheatSheet.d.ts +0 -3
  142. package/src/lib/components/UserMenu/UserMenuItemCheatSheet.spec.d.ts +0 -1
  143. package/src/lib/components/UserMenu/UserMenuItemTheme.d.ts +0 -6
  144. package/src/lib/components/UserMenu/UserMenuItemTheme.spec.d.ts +0 -1
  145. package/src/lib/components/UserMenu/index.d.ts +0 -5
  146. package/src/lib/components/UserMenu/useUserMenu.d.ts +0 -7
  147. package/src/lib/components/UserMenu/useUserMenu.spec.d.ts +0 -1
  148. package/src/lib/components/UserMenu/utils.d.ts +0 -1
  149. package/src/lib/components/index.d.ts +0 -26
  150. package/src/lib/hooks/index.d.ts +0 -9
  151. package/src/lib/hooks/useDebounce/useDebounce.d.ts +0 -1
  152. package/src/lib/hooks/useDebounce/useDebounce.spec.d.ts +0 -1
  153. package/src/lib/hooks/useIsMounted/useIsMounted.d.ts +0 -4
  154. package/src/lib/hooks/useIsMounted/useIsMounted.spec.d.ts +0 -1
  155. package/src/lib/hooks/useMakeSureContainerStaysInsideWindow/useMakeSureContainerStaysInsideWindow.d.ts +0 -4
  156. package/src/lib/hooks/useMakeSureContainerStaysInsideWindow/useMakeSureContainerStaysInsideWindow.spec.d.ts +0 -1
  157. package/src/lib/hooks/usePoller/usePoller.d.ts +0 -3
  158. package/src/lib/hooks/usePoller/usePoller.spec.d.ts +0 -1
  159. package/src/lib/hooks/usePoller/usePoller.stories.d.ts +0 -6
  160. package/src/lib/hooks/usePreventBrowserClose/usePreventBrowserClose.d.ts +0 -2
  161. package/src/lib/hooks/usePreventBrowserClose/usePreventBrowserClose.spec.d.ts +0 -1
  162. package/src/lib/hooks/usePreventBrowserClose/usePreventBrowserClose.stories.d.ts +0 -6
  163. package/src/lib/hooks/usePrevious/usePrevious.d.ts +0 -1
  164. package/src/lib/hooks/usePrevious/usePrevious.spec.d.ts +0 -1
  165. package/src/lib/hooks/usePrevious/usePrevious.stories.d.ts +0 -6
  166. package/src/lib/hooks/useResizeObserver/useResizeObserver.d.ts +0 -2
  167. package/src/lib/hooks/useResizeObserver/useResizeObserver.spec.d.ts +0 -1
  168. package/src/lib/hooks/useScrollingInIsolation/useScrollingInIsolation.d.ts +0 -11
  169. package/src/lib/hooks/useScrollingInIsolation/useScrollingInIsolation.spec.d.ts +0 -1
  170. package/src/lib/hooks/useWheelStopPropagation/useWheelStopPropagation.d.ts +0 -2
  171. package/src/lib/hooks/useWheelStopPropagation/useWheelStopPropagation.spec.d.ts +0 -1
  172. package/src/lib/types/crss-types.d.ts +0 -26
  173. package/src/lib/types/edr-coverage-types.d.ts +0 -98
  174. package/src/lib/types/index.d.ts +0 -2
  175. package/src/lib/types/types.d.ts +0 -190
  176. package/src/lib/utils/axiosErrorUtils/axiosErrorUtils.d.ts +0 -9
  177. package/src/lib/utils/axiosErrorUtils/axiosErrorUtils.spec.d.ts +0 -1
  178. package/src/lib/utils/axiosErrorUtils/index.d.ts +0 -1
  179. package/src/lib/utils/dateUtils/dateFormats.d.ts +0 -8
  180. package/src/lib/utils/dateUtils/dateUtils.d.ts +0 -372
  181. package/src/lib/utils/dateUtils/dateUtils.spec.d.ts +0 -1
  182. package/src/lib/utils/dateUtils/index.d.ts +0 -2
  183. package/src/lib/utils/i18n.d.ts +0 -14
  184. package/src/lib/utils/i18n.spec.d.ts +0 -1
  185. package/src/lib/utils/index.d.ts +0 -6
  186. package/src/lib/utils/mapProjections.d.ts +0 -79
  187. package/src/lib/utils/renderCounter.d.ts +0 -21
  188. package/src/lib/utils/renderCounter.spec.d.ts +0 -1
  189. package/src/lib/utils/sessionStorage.d.ts +0 -28
  190. package/src/lib/utils/sessionStorage.spec.d.ts +0 -1
@@ -1,10 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react-webpack5';
2
- import { TooltipSelect } from './TooltipSelect';
3
- declare const meta: Meta<typeof TooltipSelect>;
4
- export default meta;
5
- type Story = StoryObj<typeof TooltipSelect>;
6
- export declare const Component: Story;
7
- export declare const TooltipSelectLightDemo: Story;
8
- export declare const TooltipSelectDarkDemo: Story;
9
- export declare const TooltipSelectLight: Story;
10
- export declare const TooltipSelectDark: Story;
@@ -1 +0,0 @@
1
- export * from './TooltipSelect';
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const CheatSheet: React.FC;
3
- export default CheatSheet;
@@ -1,10 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react-webpack5';
2
- import CheatSheet from './CheatSheet';
3
- declare const meta: Meta<typeof CheatSheet>;
4
- export default meta;
5
- type Story = StoryObj<typeof CheatSheet>;
6
- export declare const Component: Story;
7
- export declare const ThemeLight: Story;
8
- export declare const ThemeDark: Story;
9
- export declare const CheatSheetLight: Story;
10
- export declare const CheatSheetDark: Story;
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- type Platform = 'windows' | 'mac';
3
- declare const ShortcutList: React.FC<{
4
- platform?: Platform;
5
- }>;
6
- export default ShortcutList;
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- interface ShortCutSegmentProps {
3
- type?: 'text' | 'icon' | 'divider' | 'connect';
4
- children?: React.ReactNode;
5
- }
6
- declare const ShortCutSegment: React.FC<ShortCutSegmentProps>;
7
- export default ShortCutSegment;
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- interface UserMenuProps {
3
- isOpen?: boolean;
4
- onToggle?: () => void;
5
- onClose?: () => void;
6
- children?: React.ReactNode;
7
- initials?: string;
8
- isAdmin?: boolean;
9
- }
10
- declare const UserMenu: React.FC<UserMenuProps>;
11
- export default UserMenu;
@@ -1 +0,0 @@
1
- export {};
@@ -1,10 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react-webpack5';
2
- import { UserMenu } from '.';
3
- declare const meta: Meta<typeof UserMenu>;
4
- export default meta;
5
- type Story = StoryObj<typeof UserMenu>;
6
- export declare const Component: Story;
7
- export declare const ThemeLight: Story;
8
- export declare const ThemeDark: Story;
9
- export declare const UserMenuLight: Story;
10
- export declare const UserMenuDark: Story;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const UserMenuItemCheatSheet: React.FC;
3
- export default UserMenuItemCheatSheet;
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- interface MenuItemThemeProps {
3
- enableSpecialThemes?: boolean;
4
- }
5
- declare const MenuItemTheme: React.FC<MenuItemThemeProps>;
6
- export default MenuItemTheme;
@@ -1,5 +0,0 @@
1
- export { default as UserMenu } from './UserMenu';
2
- export { default as UserMenuItemTheme } from './UserMenuItemTheme';
3
- export { default as UserMenuItemCheatSheet } from './UserMenuItemCheatSheet';
4
- export { useUserMenu } from './useUserMenu';
5
- export { getInitials } from './utils';
@@ -1,7 +0,0 @@
1
- interface UseUserMenuProps {
2
- isOpen: boolean;
3
- onClose: () => void;
4
- onToggle: () => void;
5
- }
6
- export declare const useUserMenu: (open?: boolean) => UseUserMenuProps;
7
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export declare const getInitials: (name: string) => string;
@@ -1,26 +0,0 @@
1
- export * from './StatusTag';
2
- export * from './ConfirmationDialog';
3
- export * from './AlertBanner';
4
- export * from './AppLayout';
5
- export * from './AppHeader';
6
- export * from './DraggableResizable';
7
- export * from './ErrorBoundary';
8
- export * from './UserMenu';
9
- export * from './ToolContainer';
10
- export * from './CustomSlider';
11
- export * from './CustomToggleButton';
12
- export * from './ToggleMenu';
13
- export * from './AlertIcon';
14
- export * from './TooltipSelect';
15
- export * from './Avatar';
16
- export * from './CustomTooltip';
17
- export * from './CustomAccordion';
18
- export * from './CustomDialog';
19
- export * from './CustomIconButton';
20
- export * from './SearchHighlight';
21
- export * from './SwitchButton';
22
- export * from './SearchField';
23
- export * from './LastUpdateTime';
24
- export * from './CanvasComponent';
25
- export * from './Filter';
26
- export * from './Storybook';
@@ -1,9 +0,0 @@
1
- export * from './usePreventBrowserClose/usePreventBrowserClose';
2
- export * from './usePoller/usePoller';
3
- export * from './usePrevious/usePrevious';
4
- export * from './useIsMounted/useIsMounted';
5
- export * from './useMakeSureContainerStaysInsideWindow/useMakeSureContainerStaysInsideWindow';
6
- export * from './useDebounce/useDebounce';
7
- export * from './useWheelStopPropagation/useWheelStopPropagation';
8
- export * from './useScrollingInIsolation/useScrollingInIsolation';
9
- export * from './useResizeObserver/useResizeObserver';
@@ -1 +0,0 @@
1
- export declare const useDebounce: <S>(value: S, timeout: number) => S;
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- export declare const useIsMounted: () => {
3
- isMounted: React.MutableRefObject<boolean>;
4
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import type { DraggablePosition } from '../../components/DraggableResizable/types';
3
- export declare const adjustPosition: (bbox: DOMRect, containingView: DOMRect, position: DraggablePosition, setPosition: (position: DraggablePosition) => void) => void;
4
- export declare const useMakeSureContainerStaysInsideWindow: (nodeRef: React.RefObject<HTMLDivElement>, position: DraggablePosition, setPosition: (position: DraggablePosition) => void) => void;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- export declare const pollingIntervalTimeout = 300000;
3
- export declare const usePoller: (deps: unknown[], callback: () => void, pollingInterval?: number) => React.RefObject<ReturnType<typeof setTimeout>>;
@@ -1 +0,0 @@
1
- export {};
@@ -1,6 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react-webpack5';
2
- import { usePoller } from './usePoller';
3
- declare const meta: Meta<typeof usePoller>;
4
- export default meta;
5
- type Story = StoryObj<typeof usePoller>;
6
- export declare const Component: Story;
@@ -1,2 +0,0 @@
1
- export declare const showPrompt: (event: Event) => void;
2
- export declare function usePreventBrowserClose(shouldPreventClose: boolean): void;
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- declare const _default: {
3
- title: string;
4
- };
5
- export default _default;
6
- export declare const UsePreventBrowserReload: () => React.ReactElement;
@@ -1 +0,0 @@
1
- export declare function usePrevious<T>(value: T): T;
@@ -1 +0,0 @@
1
- export {};
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- declare const _default: {
3
- title: string;
4
- };
5
- export default _default;
6
- export declare const UsePreviousDemo: () => React.ReactElement;
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const useResizeObserver: (listContainerRef: React.RefObject<HTMLDivElement>, collections: unknown[], ResizeObserverImpl?: typeof ResizeObserver) => number;
@@ -1,11 +0,0 @@
1
- /**
2
- * This hook allows to stop wheel events from propagating to parent elements.
3
- * Normally, when you scroll a child element, the scroll event will propagate to the parent element,
4
- * as calling event.stopPropagation() on syncthetic events does not stop the propagation
5
- */
6
- import React from 'react';
7
- interface ScrollInIsolationProps {
8
- onWheel?: (event: WheelEvent) => void;
9
- }
10
- export declare const useScrollingInIsolation: <T extends HTMLElement>(options?: ScrollInIsolationProps) => React.RefObject<T>;
11
- export {};
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const useWheelStopPropagation: <T extends HTMLElement>() => React.MutableRefObject<T | null>;
@@ -1,26 +0,0 @@
1
- export interface Referencing {
2
- coordinates: string[];
3
- system: CRSSystem;
4
- }
5
- interface GeographicCRS {
6
- type: 'GeographicCRS';
7
- id: string;
8
- }
9
- interface ProjectedCRS {
10
- type: 'ProjectedCRS';
11
- id: string;
12
- }
13
- interface VerticalCRS {
14
- type: 'VerticalCRS';
15
- id: string;
16
- }
17
- interface EngineeringCRS {
18
- type: 'EngineeringCRS';
19
- id?: string;
20
- }
21
- interface TemporalRS {
22
- type: 'TemporalRS';
23
- calendar: string;
24
- }
25
- type CRSSystem = GeographicCRS | ProjectedCRS | VerticalCRS | EngineeringCRS | TemporalRS;
26
- export {};
@@ -1,98 +0,0 @@
1
- import type { Referencing } from './crss-types';
2
- interface AxisValues {
3
- values: number[] | string[];
4
- }
5
- interface SingleValueAxis {
6
- values: [number];
7
- }
8
- interface SingleTimeValueAxis {
9
- values: [string];
10
- }
11
- interface PointSeriesAxes {
12
- x: SingleValueAxis;
13
- y: SingleValueAxis;
14
- z?: SingleTimeValueAxis;
15
- t: AxisValues;
16
- }
17
- export interface PointSeriesDomain {
18
- type: 'Domain';
19
- domainType: 'PointSeries';
20
- axes: PointSeriesAxes;
21
- referencing?: Referencing[];
22
- }
23
- interface PointAxes {
24
- x: SingleValueAxis;
25
- y: SingleValueAxis;
26
- z?: SingleValueAxis;
27
- t?: SingleTimeValueAxis;
28
- }
29
- export interface PointDomain {
30
- type: 'Domain';
31
- domainType: 'Point';
32
- axes: PointAxes;
33
- referencing?: Referencing[];
34
- }
35
- interface VerticalProfileAxes {
36
- x: SingleValueAxis;
37
- y: SingleValueAxis;
38
- z: AxisValues;
39
- t?: SingleTimeValueAxis;
40
- }
41
- export interface VerticalProfileDomain {
42
- type: 'Domain';
43
- domainType: 'VerticalProfile';
44
- axes: VerticalProfileAxes;
45
- referencing?: Referencing[];
46
- }
47
- interface GridAxes {
48
- x: SingleValueAxis;
49
- y: SingleValueAxis;
50
- z: AxisValues;
51
- t?: SingleTimeValueAxis;
52
- }
53
- export interface GridDomain {
54
- type: 'Domain';
55
- domainType: 'Grid';
56
- axes: GridAxes;
57
- referencing?: Referencing[];
58
- }
59
- export type CoverageDomain = VerticalProfileDomain | PointDomain | PointSeriesDomain | GridDomain;
60
- interface NdArray {
61
- type: 'NdArray';
62
- dataType: 'float' | 'integer' | 'string';
63
- axisNames?: string[];
64
- shape?: number[];
65
- values: number[] | string[];
66
- }
67
- type Ranges = Record<string, NdArray>;
68
- type Description = Record<string, string>;
69
- type Label = Record<string, string>;
70
- interface Parameter {
71
- type: 'Parameter';
72
- id?: string;
73
- label?: Label;
74
- description?: Description;
75
- unit?: {
76
- label?: Label;
77
- symbol?: Record<string, string>;
78
- };
79
- observedProperty: {
80
- id?: string;
81
- label: Label;
82
- description?: Description;
83
- };
84
- }
85
- export interface Coverage<T extends CoverageDomain> {
86
- type: 'Coverage';
87
- domain: T;
88
- ranges: Ranges;
89
- }
90
- export interface CoverageCollection<T extends CoverageDomain> {
91
- type: 'CoverageCollection';
92
- domainType: string;
93
- parameters: Record<string, Parameter>;
94
- ranges: Record<string, NdArray>;
95
- coverages: Coverage<T>[];
96
- referencing: Referencing[];
97
- }
98
- export {};
@@ -1,2 +0,0 @@
1
- export * from './types';
2
- export type * from './edr-coverage-types';
@@ -1,190 +0,0 @@
1
- import type { ThemeTypes } from '@opengeoweb/theme';
2
- export interface ConfigType {
3
- GW_AUTH_LOGIN_URL?: string;
4
- GW_AUTH_LOGOUT_URL?: string;
5
- GW_AUTH_TOKEN_URL?: string;
6
- GW_AUTH_CLIENT_ID?: string;
7
- GW_AUTH_ROLE_CLAIM_NAME?: string;
8
- GW_AUTH_ROLE_CLAIM_VALUE_PRESETS_ADMIN?: string;
9
- GW_BE_VERSION_BASE_URL?: string;
10
- GW_APP_URL?: string;
11
- GW_INITIAL_PRESETS_FILENAME?: string;
12
- GW_CAP_CONFIGURATION_FILENAME?: string;
13
- GW_DEFAULT_THEME?: ThemeTypes;
14
- GW_INITIAL_WORKSPACE_PRESET?: string;
15
- GW_SW_BASE_URL?: string;
16
- GW_SIGMET_BASE_URL?: string;
17
- GW_AIRMET_BASE_URL?: string;
18
- GW_TAF_BASE_URL?: string;
19
- GW_PRESET_BACKEND_URL?: string;
20
- GW_CAP_BASE_URL?: string;
21
- GW_DRAWINGS_BASE_URL?: string;
22
- GW_WARNINGS_WORKSPACE_ID?: string;
23
- GW_SPACE_WEATHER_WORKSPACE_ID?: string;
24
- GW_TRAJKS_WORKSPACE_ID?: string;
25
- GW_TECHNICAL_RELEASE_NOTES_URL?: string;
26
- GW_VERSION_PROGRESS_NOTES_URL?: string;
27
- GW_BE_RELEASE_URL?: string;
28
- GW_LOCATION_BASE_URL?: string;
29
- GW_KNMI_PUBLISHER_BASE_URL?: string;
30
- GW_FEATURE_APP_TITLE?: string;
31
- GW_FEATURE_FORCE_AUTHENTICATION?: boolean;
32
- GW_FEATURE_MODULE_SPACE_WEATHER?: boolean;
33
- GW_FEATURE_MENU_FEEDBACK?: boolean;
34
- GW_FEATURE_MENU_INFO?: boolean;
35
- GW_FEATURE_MENU_VERSION?: boolean;
36
- GW_FEATURE_MENU_FE_VERSION?: boolean;
37
- GW_FEATURE_DISPLAY_SEARCH_ON_MAP?: boolean;
38
- GW_FEATURE_INITIALIZE_SENTRY?: boolean;
39
- GW_FEATURE_ENABLE_SPECIAL_THEMES?: boolean;
40
- GW_FEATURE_TAF_AUTOTAF_ENABLED?: boolean;
41
- GW_FEATURE_NAF_ENABLED?: boolean;
42
- GW_WARNINGS_MARITIME_WARNINGS?: boolean;
43
- GW_DATA_EXPLORER_CONFIGURATION_FILENAME?: string;
44
- GW_DATA_EXPLORER_BUTTON_ON_MAP?: boolean;
45
- GW_HIDE_SIGMET_MENU?: boolean;
46
- GW_HIDE_AIRMET_MENU?: boolean;
47
- GW_LANGUAGE?: string;
48
- GW_EXTERNAL_APPLICATIONS_MENU_LINKS?: string;
49
- }
50
- export interface SoundingsCollection {
51
- name: string;
52
- id: string;
53
- url: string;
54
- description: string;
55
- parameterMappings?: Record<string, string>;
56
- windSpeedUnit?: string;
57
- }
58
- export type Coordinates = [number, number];
59
- export interface SourceSelection {
60
- url?: string;
61
- instanceId?: string;
62
- isChecked?: boolean;
63
- verticalRange?: string;
64
- parameterMappings?: Record<string, string>;
65
- windSpeedUnit?: string;
66
- name?: string;
67
- }
68
- export interface TimeSeriesService {
69
- id: string;
70
- description: string;
71
- url: string;
72
- type: ServiceInterface;
73
- name: string;
74
- scope?: SystemScope;
75
- }
76
- export type ServiceInterface = 'EDR';
77
- export type SystemScope = 'user' | 'system';
78
- export declare const SystemScope: {
79
- readonly user: SystemScope;
80
- readonly system: SystemScope;
81
- };
82
- export interface PlotPreset {
83
- mapId: string;
84
- plots: Plot[];
85
- parameters: PlotParameter[];
86
- }
87
- export interface Plot {
88
- title: string;
89
- plotId: string;
90
- enabled?: boolean;
91
- parameters?: PlotParameter[];
92
- }
93
- export interface PlotParameter {
94
- id?: string;
95
- plotId: string;
96
- unit?: string;
97
- propertyName: string;
98
- propertyLabel?: string;
99
- plotType: PlotType | 'area';
100
- enabled?: boolean;
101
- color?: string;
102
- opacity?: number;
103
- serviceId: string;
104
- collectionId: string;
105
- instanceId?: string;
106
- instances?: EDRInstance[];
107
- dimension?: {
108
- id: string;
109
- value: string;
110
- };
111
- }
112
- export type PlotType = 'bar' | 'line' | 'scatter';
113
- export interface EdrParameter {
114
- type: string;
115
- label?: string;
116
- description?: string;
117
- 'data-type'?: string;
118
- unit?: {
119
- label: string;
120
- symbol: {
121
- value: string;
122
- type: string;
123
- };
124
- };
125
- observedProperty: {
126
- label: string;
127
- id: string;
128
- description?: string;
129
- };
130
- measurementType?: {
131
- method: string;
132
- duration: string;
133
- };
134
- }
135
- export type EdrParameters = Record<string, EdrParameter>;
136
- export interface EDRInstance {
137
- id: string;
138
- data_queries?: {
139
- position?: {
140
- link: {
141
- variables: {
142
- output_formats: string[];
143
- };
144
- };
145
- };
146
- locations?: {
147
- link: {
148
- variables: {
149
- output_formats: string[];
150
- };
151
- };
152
- };
153
- area?: {
154
- link: {
155
- variables: {
156
- output_formats: string[];
157
- };
158
- };
159
- };
160
- cube?: {
161
- link: {
162
- variables: {
163
- output_formats: string[];
164
- };
165
- };
166
- };
167
- instances?: {
168
- link: string;
169
- };
170
- };
171
- extent?: {
172
- temporal?: {
173
- interval: string[][];
174
- trs: string;
175
- values: string[];
176
- };
177
- spatial: {
178
- crs: string;
179
- bbox: [[number, number, number, number]];
180
- };
181
- vertical?: {
182
- interval: string[][];
183
- vrs: string;
184
- values: string[];
185
- };
186
- };
187
- parameter_names?: object;
188
- title?: string;
189
- description?: string;
190
- }
@@ -1,9 +0,0 @@
1
- import type { AxiosError } from 'axios';
2
- export declare const DEFAULT_ERROR_MESSAGE = "An error has occurred";
3
- export declare const isAxiosError: (error: AxiosError | Error) => error is AxiosError;
4
- export declare const isAxiosAuthError: (error: AxiosError | Error) => boolean;
5
- export declare const isAuthError: (error: AxiosError | Error) => boolean;
6
- export declare const getAxiosErrorMessage: (error: AxiosError) => string;
7
- export declare const getErrorMessage: (error: Error | AxiosError) => string;
8
- export declare const getAxiosWarningMessage: (error: AxiosError) => string;
9
- export declare const getWarningMessage: (error: AxiosError | Error) => string;
@@ -1 +0,0 @@
1
- export * from './axiosErrorUtils';
@@ -1,8 +0,0 @@
1
- export declare const DATE_FORMAT_DATEPICKER = "dd/MM/yyyy HH:mm";
2
- export declare const DATE_FORMAT_DATEPICKER_NO_YEAR = "dd/MM HH:mm";
3
- export declare const DATE_FORMAT_UTC = "yyyy-MM-dd'T'HH:mm:ss'Z'";
4
- export declare const DATE_FORMAT_YEAR = "yyyy-MM-dd";
5
- export declare const DATE_FORMAT_HOURS = "HH:mm";
6
- export declare const DATE_FORMAT_NAME_OF_DAY_MONTH = "eee dd MMM HH:mm";
7
- export declare const DATE_FORMAT_NAME_OF_MONTH = "dd MMM yyyy, HH:mm";
8
- export declare const DATE_FORMAT_NAME_OF_DAY = "eee dd/MM/yyyy HH:mm";