@opengeoweb/shared 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.
- package/index.esm.js +616 -606
- package/package.json +2 -2
- package/src/index.d.ts +7 -7
- package/src/lib/components/AlertBanner/AlertBanner.d.ts +16 -16
- package/src/lib/components/AlertBanner/AlertBanner.spec.d.ts +1 -1
- package/src/lib/components/AlertBanner/AlertBanner.stories.d.ts +13 -13
- package/src/lib/components/AlertBanner/index.d.ts +1 -1
- package/src/lib/components/AlertIcon/AlertIcon.d.ts +8 -8
- package/src/lib/components/AlertIcon/index.d.ts +1 -1
- package/src/lib/components/AppHeader/AppHeader.d.ts +10 -10
- package/src/lib/components/AppHeader/AppHeader.spec.d.ts +1 -1
- package/src/lib/components/AppHeader/AppHeader.stories.d.ts +25 -25
- package/src/lib/components/AppHeader/index.d.ts +1 -1
- package/src/lib/components/AppLayout/AppLayout.d.ts +7 -7
- package/src/lib/components/AppLayout/AppLayout.spec.d.ts +1 -1
- package/src/lib/components/AppLayout/AppLayout.stories.d.ts +7 -7
- package/src/lib/components/AppLayout/index.d.ts +1 -1
- package/src/lib/components/Avatar/Avatar.d.ts +7 -7
- package/src/lib/components/Avatar/Avatar.stories.d.ts +25 -25
- package/src/lib/components/Avatar/index.d.ts +1 -1
- package/src/lib/components/CanvasComponent/CanvasComponent.d.ts +71 -71
- package/src/lib/components/CanvasComponent/CanvasComponent.spec.d.ts +1 -1
- package/src/lib/components/CanvasComponent/CanvasComponent.stories.d.ts +7 -7
- package/src/lib/components/CanvasComponent/index.d.ts +1 -1
- package/src/lib/components/ConfirmationDialog/ConfirmationDialog.d.ts +22 -22
- package/src/lib/components/ConfirmationDialog/ConfirmationDialog.spec.d.ts +1 -1
- package/src/lib/components/ConfirmationDialog/ConfirmationDialog.stories.d.ts +15 -15
- package/src/lib/components/ConfirmationDialog/ConfirmationService.d.ts +18 -18
- package/src/lib/components/ConfirmationDialog/ConfirmationService.spec.d.ts +1 -1
- package/src/lib/components/ConfirmationDialog/index.d.ts +2 -2
- package/src/lib/components/CustomAccordion/CustomAccordion.d.ts +13 -12
- package/src/lib/components/CustomAccordion/CustomAccordion.spec.d.ts +1 -1
- package/src/lib/components/CustomAccordion/CustomAccordion.stories.d.ts +13 -13
- package/src/lib/components/CustomAccordion/index.d.ts +1 -1
- package/src/lib/components/CustomDialog/CustomDialog.d.ts +10 -10
- package/src/lib/components/CustomDialog/CustomDialog.spec.d.ts +1 -1
- package/src/lib/components/CustomDialog/CustomDialog.stories.d.ts +13 -13
- package/src/lib/components/CustomDialog/index.d.ts +1 -1
- package/src/lib/components/CustomIconButton/CustomIconButton.d.ts +13 -13
- package/src/lib/components/CustomIconButton/CustomIconButton.spec.d.ts +1 -1
- package/src/lib/components/CustomIconButton/CustomIconButton.stories.d.ts +25 -25
- package/src/lib/components/CustomIconButton/index.d.ts +1 -1
- package/src/lib/components/CustomSlider/CustomSlider.d.ts +14 -14
- package/src/lib/components/CustomSlider/CustomSlider.spec.d.ts +1 -1
- package/src/lib/components/CustomSlider/CustomSlider.stories.d.ts +13 -13
- package/src/lib/components/CustomSlider/index.d.ts +1 -1
- package/src/lib/components/CustomToggleButton/CustomToggleButton.d.ts +8 -8
- package/src/lib/components/CustomToggleButton/CustomToggleButton.spec.d.ts +1 -1
- package/src/lib/components/CustomToggleButton/CustomToggleButton.stories.d.ts +13 -13
- package/src/lib/components/CustomToggleButton/index.d.ts +1 -1
- package/src/lib/components/CustomTooltip/CustomTooltip.d.ts +8 -8
- package/src/lib/components/CustomTooltip/CustomTooltip.spec.d.ts +1 -1
- package/src/lib/components/CustomTooltip/index.d.ts +1 -1
- package/src/lib/components/DraggableResizable/Draggable.d.ts +15 -15
- package/src/lib/components/DraggableResizable/Draggable.spec.d.ts +1 -1
- package/src/lib/components/DraggableResizable/Resizable.d.ts +10 -10
- package/src/lib/components/DraggableResizable/Resizable.spec.d.ts +1 -1
- package/src/lib/components/DraggableResizable/index.d.ts +3 -3
- package/src/lib/components/DraggableResizable/types.d.ts +27 -27
- package/src/lib/components/ErrorBoundary/ErrorBoundary.d.ts +31 -31
- package/src/lib/components/ErrorBoundary/ErrorBoundary.spec.d.ts +1 -1
- package/src/lib/components/ErrorBoundary/ErrorBoundary.stories.d.ts +10 -10
- package/src/lib/components/ErrorBoundary/index.d.ts +1 -1
- package/src/lib/components/Filter/Filter.d.ts +13 -13
- package/src/lib/components/Filter/Filter.spec.d.ts +1 -1
- package/src/lib/components/Filter/Filter.stories.d.ts +25 -25
- package/src/lib/components/Filter/FilterChip.d.ts +13 -13
- package/src/lib/components/Filter/FilterChip.spec.d.ts +1 -1
- package/src/lib/components/Filter/FilterList.d.ts +15 -15
- package/src/lib/components/Filter/FilterList.spec.d.ts +1 -1
- package/src/lib/components/Filter/FilterListItem.d.ts +17 -17
- package/src/lib/components/Filter/FilterListItem.spec.d.ts +1 -1
- package/src/lib/components/Filter/FilterListItem.stories.d.ts +7 -7
- package/src/lib/components/Filter/SearchField.d.ts +8 -8
- package/src/lib/components/Filter/SearchField.spec.d.ts +1 -1
- package/src/lib/components/Filter/index.d.ts +8 -8
- package/src/lib/components/LastUpdateTime/LastUpdateTime.d.ts +10 -10
- package/src/lib/components/LastUpdateTime/LastUpdateTime.spec.d.ts +1 -1
- package/src/lib/components/LastUpdateTime/LastUpdateTime.stories.d.ts +13 -13
- package/src/lib/components/LastUpdateTime/index.d.ts +1 -1
- package/src/lib/components/Providers/Providers.d.ts +14 -14
- package/src/lib/components/Providers/index.d.ts +1 -1
- package/src/lib/components/SearchField/SearchField.d.ts +9 -9
- package/src/lib/components/SearchField/SearchField.spec.d.ts +1 -1
- package/src/lib/components/SearchField/SearchFieldButtonContainer.d.ts +9 -9
- package/src/lib/components/SearchField/SearchFieldButtonContainer.spec.d.ts +1 -1
- package/src/lib/components/SearchField/index.d.ts +2 -2
- package/src/lib/components/SearchHighlight/SearchHighlight.d.ts +7 -7
- package/src/lib/components/SearchHighlight/SearchHighlight.spec.d.ts +1 -1
- package/src/lib/components/SearchHighlight/SearchHighlight.stories.d.ts +13 -13
- package/src/lib/components/SearchHighlight/index.d.ts +1 -1
- package/src/lib/components/StatusTag/StatusTag.d.ts +9 -9
- package/src/lib/components/StatusTag/StatusTag.spec.d.ts +1 -1
- package/src/lib/components/StatusTag/StatusTag.stories.d.ts +25 -25
- package/src/lib/components/StatusTag/index.d.ts +1 -1
- package/src/lib/components/SwitchButton/SwitchButton.d.ts +8 -8
- package/src/lib/components/SwitchButton/SwitchButton.spec.d.ts +1 -1
- package/src/lib/components/SwitchButton/index.d.ts +1 -1
- package/src/lib/components/ToggleMenu/ToggleMenu.d.ts +30 -30
- package/src/lib/components/ToggleMenu/ToggleMenu.spec.d.ts +1 -1
- package/src/lib/components/ToggleMenu/ToggleMenu.stories.d.ts +13 -13
- package/src/lib/components/ToggleMenu/index.d.ts +1 -1
- package/src/lib/components/ToolContainer/ToolContainer.d.ts +5 -5
- package/src/lib/components/ToolContainer/ToolContainer.spec.d.ts +1 -1
- package/src/lib/components/ToolContainer/ToolContainer.stories.d.ts +28 -28
- package/src/lib/components/ToolContainer/ToolContainerDraggable.d.ts +37 -37
- package/src/lib/components/ToolContainer/ToolContainerDraggable.spec.d.ts +1 -1
- package/src/lib/components/ToolContainer/ToolContainerDraggable.stories.d.ts +7 -7
- package/src/lib/components/ToolContainer/ToolContainerSnapShots.stories.d.ts +13 -13
- package/src/lib/components/ToolContainer/ToolFooter.d.ts +3 -3
- package/src/lib/components/ToolContainer/ToolFooter.spec.d.ts +1 -1
- package/src/lib/components/ToolContainer/ToolHeader.d.ts +4 -4
- package/src/lib/components/ToolContainer/ToolHeader.spec.d.ts +1 -1
- package/src/lib/components/ToolContainer/ToolHeader.stories.d.ts +23 -23
- package/src/lib/components/ToolContainer/index.d.ts +7 -7
- package/src/lib/components/ToolContainer/types.d.ts +20 -20
- package/src/lib/components/ToolContainer/useHandleSizeFromOutsideComponent.d.ts +15 -15
- package/src/lib/components/ToolContainer/useHandleSizeFromOutsideComponent.spec.d.ts +1 -1
- package/src/lib/components/TooltipSelect/TooltipSelect.d.ts +20 -20
- package/src/lib/components/TooltipSelect/TooltipSelect.spec.d.ts +1 -1
- package/src/lib/components/TooltipSelect/TooltipSelect.stories.d.ts +13 -13
- package/src/lib/components/TooltipSelect/index.d.ts +1 -1
- package/src/lib/components/UserMenu/CheatSheet/CheatSheet.d.ts +3 -3
- package/src/lib/components/UserMenu/CheatSheet/CheatSheet.spec.d.ts +1 -1
- package/src/lib/components/UserMenu/CheatSheet/CheatSheet.stories.d.ts +31 -31
- package/src/lib/components/UserMenu/CheatSheet/ShortcutList.d.ts +6 -6
- package/src/lib/components/UserMenu/CheatSheet/ShortcutList.spec.d.ts +1 -1
- package/src/lib/components/UserMenu/CheatSheet/ShortcutSegment.d.ts +7 -7
- package/src/lib/components/UserMenu/CheatSheet/ShortcutSegment.spec.d.ts +1 -1
- package/src/lib/components/UserMenu/UserMenu.d.ts +11 -11
- package/src/lib/components/UserMenu/UserMenu.spec.d.ts +1 -1
- package/src/lib/components/UserMenu/UserMenu.stories.d.ts +15 -15
- package/src/lib/components/UserMenu/UserMenuItemCheatSheet.d.ts +3 -3
- package/src/lib/components/UserMenu/UserMenuItemCheatSheet.spec.d.ts +1 -1
- package/src/lib/components/UserMenu/UserMenuItemTheme.d.ts +3 -3
- package/src/lib/components/UserMenu/UserMenuItemTheme.spec.d.ts +1 -1
- package/src/lib/components/UserMenu/UserMenuSentryRecording.d.ts +7 -7
- package/src/lib/components/UserMenu/index.d.ts +6 -6
- package/src/lib/components/UserMenu/useUserMenu.d.ts +7 -7
- package/src/lib/components/UserMenu/useUserMenu.spec.d.ts +1 -1
- package/src/lib/components/UserMenu/utils.d.ts +1 -1
- package/src/lib/components/WithEggs/WithEggs.d.ts +7 -7
- package/src/lib/components/WithEggs/WithEggs.spec.d.ts +1 -1
- package/src/lib/components/WithEggs/index.d.ts +1 -1
- package/src/lib/components/components.stories.d.ts +5 -5
- package/src/lib/components/index.d.ts +26 -26
- package/src/lib/hooks/index.d.ts +6 -6
- package/src/lib/hooks/useDebounce/useDebounce.d.ts +1 -1
- package/src/lib/hooks/useDebounce/useDebounce.spec.d.ts +1 -1
- package/src/lib/hooks/useIsMounted/useIsMounted.d.ts +4 -4
- package/src/lib/hooks/useIsMounted/useIsMounted.spec.d.ts +1 -1
- package/src/lib/hooks/useMakeSureContainerStaysInsideWindow/useMakeSureContainerStaysInsideWindow.d.ts +4 -4
- package/src/lib/hooks/useMakeSureContainerStaysInsideWindow/useMakeSureContainerStaysInsideWindow.spec.d.ts +1 -1
- package/src/lib/hooks/usePoller/usePoller.d.ts +3 -3
- package/src/lib/hooks/usePoller/usePoller.spec.d.ts +1 -1
- package/src/lib/hooks/usePoller/usePoller.stories.d.ts +6 -6
- package/src/lib/hooks/usePreventBrowserClose/usePreventBrowserClose.d.ts +2 -2
- package/src/lib/hooks/usePreventBrowserClose/usePreventBrowserClose.spec.d.ts +1 -1
- package/src/lib/hooks/usePreventBrowserClose/usePreventBrowserClose.stories.d.ts +6 -6
- package/src/lib/hooks/usePrevious/usePrevious.d.ts +1 -1
- package/src/lib/hooks/usePrevious/usePrevious.spec.d.ts +1 -1
- package/src/lib/hooks/usePrevious/usePrevious.stories.d.ts +6 -6
- package/src/lib/types/index.d.ts +1 -1
- package/src/lib/types/types.d.ts +107 -108
- package/src/lib/utils/axiosErrorUtils/axiosErrorUtils.d.ts +8 -8
- package/src/lib/utils/axiosErrorUtils/axiosErrorUtils.spec.d.ts +1 -1
- package/src/lib/utils/axiosErrorUtils/index.d.ts +1 -1
- package/src/lib/utils/dateUtils/dateFormats.d.ts +7 -7
- package/src/lib/utils/dateUtils/dateUtils.d.ts +343 -343
- package/src/lib/utils/dateUtils/dateUtils.spec.d.ts +1 -1
- package/src/lib/utils/dateUtils/index.d.ts +2 -2
- package/src/lib/utils/i18n.d.ts +7 -7
- package/src/lib/utils/index.d.ts +5 -5
- package/src/lib/utils/mapProjections.d.ts +75 -75
- package/src/lib/utils/reduxTestUtils/createMockStoreWithEggs.d.ts +20 -20
- package/src/lib/utils/reduxTestUtils/createMockStoreWithEggs.spec.d.ts +1 -1
- package/src/lib/utils/reduxTestUtils/index.d.ts +1 -1
- package/src/lib/utils/renderCounter.d.ts +21 -21
- package/src/lib/utils/renderCounter.spec.d.ts +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export interface FilterChipProps {
|
|
3
|
-
id: string;
|
|
4
|
-
label: string;
|
|
5
|
-
isSelected?: boolean;
|
|
6
|
-
isDisabled?: boolean;
|
|
7
|
-
handleClick?: (label: string, isSelected?: boolean) => void;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
size?: 'small' | 'medium';
|
|
11
|
-
}
|
|
12
|
-
declare const FilterChip: React.FC<FilterChipProps>;
|
|
13
|
-
export default FilterChip;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface FilterChipProps {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
isSelected?: boolean;
|
|
6
|
+
isDisabled?: boolean;
|
|
7
|
+
handleClick?: (label: string, isSelected?: boolean) => void;
|
|
8
|
+
actionIcon?: React.ReactElement;
|
|
9
|
+
onClick?: (ref: HTMLElement | null) => void;
|
|
10
|
+
size?: 'small' | 'medium';
|
|
11
|
+
}
|
|
12
|
+
declare const FilterChip: React.FC<FilterChipProps>;
|
|
13
|
+
export default FilterChip;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export interface ListFilter {
|
|
3
|
-
label: string;
|
|
4
|
-
id: string;
|
|
5
|
-
type?: 'scope' | 'keyword';
|
|
6
|
-
isSelected?: boolean;
|
|
7
|
-
isDisabled?: boolean;
|
|
8
|
-
}
|
|
9
|
-
interface FilterListProps {
|
|
10
|
-
filters?: ListFilter[];
|
|
11
|
-
onChipClick?: (id: string, selected: boolean) => void;
|
|
12
|
-
isAllSelected?: boolean;
|
|
13
|
-
}
|
|
14
|
-
declare const FilterList: React.FC<FilterListProps>;
|
|
15
|
-
export default FilterList;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface ListFilter {
|
|
3
|
+
label: string;
|
|
4
|
+
id: string;
|
|
5
|
+
type?: 'scope' | 'keyword';
|
|
6
|
+
isSelected?: boolean;
|
|
7
|
+
isDisabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
interface FilterListProps {
|
|
10
|
+
filters?: ListFilter[];
|
|
11
|
+
onChipClick?: (id: string, selected: boolean) => void;
|
|
12
|
+
isAllSelected?: boolean;
|
|
13
|
+
}
|
|
14
|
+
declare const FilterList: React.FC<FilterListProps>;
|
|
15
|
+
export default FilterList;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export interface Filter {
|
|
3
|
-
id: string;
|
|
4
|
-
name: string;
|
|
5
|
-
checked?: boolean;
|
|
6
|
-
amountVisible?: number;
|
|
7
|
-
}
|
|
8
|
-
export interface FilterListItemProps {
|
|
9
|
-
filter: Filter;
|
|
10
|
-
toggleFilter?: (filterIds: string[]) => void;
|
|
11
|
-
enableOnlyOneFilter?: (filterId: string) => void;
|
|
12
|
-
children?: React.ReactNode;
|
|
13
|
-
}
|
|
14
|
-
export declare const FilterLabel: React.FC<{
|
|
15
|
-
name: string;
|
|
16
|
-
}>;
|
|
17
|
-
export declare const FilterListItem: React.FC<FilterListItemProps>;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface Filter {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
checked?: boolean;
|
|
6
|
+
amountVisible?: number;
|
|
7
|
+
}
|
|
8
|
+
export interface FilterListItemProps {
|
|
9
|
+
filter: Filter;
|
|
10
|
+
toggleFilter?: (filterIds: string[]) => void;
|
|
11
|
+
enableOnlyOneFilter?: (filterId: string) => void;
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
}
|
|
14
|
+
export declare const FilterLabel: React.FC<{
|
|
15
|
+
name: string;
|
|
16
|
+
}>;
|
|
17
|
+
export declare const FilterListItem: React.FC<FilterListItemProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const FilterListItemLight: () => React.ReactElement;
|
|
7
|
-
export declare const FilterListItemDark: () => React.ReactElement;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const FilterListItemLight: () => React.ReactElement;
|
|
7
|
+
export declare const FilterListItemDark: () => React.ReactElement;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export declare const DEBOUNCE_TIMEOUT = 300;
|
|
3
|
-
interface SearchFieldProps {
|
|
4
|
-
valueChanged: (value: string) => void;
|
|
5
|
-
value?: string;
|
|
6
|
-
}
|
|
7
|
-
declare const SearchField: React.FC<SearchFieldProps>;
|
|
8
|
-
export default SearchField;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare const DEBOUNCE_TIMEOUT = 300;
|
|
3
|
+
interface SearchFieldProps {
|
|
4
|
+
valueChanged: (value: string) => void;
|
|
5
|
+
value?: string;
|
|
6
|
+
}
|
|
7
|
+
declare const SearchField: React.FC<SearchFieldProps>;
|
|
8
|
+
export default SearchField;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { default as Filter } from './Filter';
|
|
2
|
-
export { DEFAULT_FILTER_HEIGHT } from './Filter';
|
|
3
|
-
export type { ListFilter } from './FilterList';
|
|
4
|
-
export { FilterListItem, FilterLabel } from './FilterListItem';
|
|
5
|
-
export type { Filter as FilterListItemFilter, FilterListItemProps, } from './FilterListItem';
|
|
6
|
-
export { default as FilterChip } from './FilterChip';
|
|
7
|
-
export type { FilterChipProps } from './FilterChip';
|
|
8
|
-
export { DEBOUNCE_TIMEOUT } from './SearchField';
|
|
1
|
+
export { default as Filter } from './Filter';
|
|
2
|
+
export { DEFAULT_FILTER_HEIGHT } from './Filter';
|
|
3
|
+
export type { ListFilter } from './FilterList';
|
|
4
|
+
export { FilterListItem, FilterLabel } from './FilterListItem';
|
|
5
|
+
export type { Filter as FilterListItemFilter, FilterListItemProps, } from './FilterListItem';
|
|
6
|
+
export { default as FilterChip } from './FilterChip';
|
|
7
|
+
export type { FilterChipProps } from './FilterChip';
|
|
8
|
+
export { DEBOUNCE_TIMEOUT } from './SearchField';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TFunction } from 'i18next';
|
|
3
|
-
export declare const getLastUpdateTitle: (time: string, t: TFunction) => string;
|
|
4
|
-
interface LastUpdateTimeProps {
|
|
5
|
-
onPressRefresh: () => void;
|
|
6
|
-
lastUpdateTime?: string;
|
|
7
|
-
dataTestId?: string;
|
|
8
|
-
}
|
|
9
|
-
declare const LastUpdateTime: React.FC<LastUpdateTimeProps>;
|
|
10
|
-
export default LastUpdateTime;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TFunction } from 'i18next';
|
|
3
|
+
export declare const getLastUpdateTitle: (time: string, t: TFunction) => string;
|
|
4
|
+
interface LastUpdateTimeProps {
|
|
5
|
+
onPressRefresh: () => void;
|
|
6
|
+
lastUpdateTime?: string;
|
|
7
|
+
dataTestId?: string;
|
|
8
|
+
}
|
|
9
|
+
declare const LastUpdateTime: React.FC<LastUpdateTimeProps>;
|
|
10
|
+
export default LastUpdateTime;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const LastUpdateTimeLightTheme: {
|
|
7
|
-
(): React.ReactElement;
|
|
8
|
-
tags: string[];
|
|
9
|
-
};
|
|
10
|
-
export declare const LastUpdateTimeDarkTheme: {
|
|
11
|
-
(): React.ReactElement;
|
|
12
|
-
tags: string[];
|
|
13
|
-
};
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const LastUpdateTimeLightTheme: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
tags: string[];
|
|
9
|
+
};
|
|
10
|
+
export declare const LastUpdateTimeDarkTheme: {
|
|
11
|
+
(): React.ReactElement;
|
|
12
|
+
tags: string[];
|
|
13
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as LastUpdateTime, getLastUpdateTitle, } from './LastUpdateTime';
|
|
1
|
+
export { default as LastUpdateTime, getLastUpdateTitle, } from './LastUpdateTime';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ThemeProviderProps } from '@opengeoweb/theme';
|
|
3
|
-
interface SharedStoryWrapperProps {
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
theme?: 'light' | 'dark';
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* A Provider component which provides the GeoWeb theme
|
|
9
|
-
* @param children
|
|
10
|
-
* @returns
|
|
11
|
-
*/
|
|
12
|
-
export declare const SharedThemeProvider: React.FC<ThemeProviderProps>;
|
|
13
|
-
export declare const SharedStoryWrapper: React.FC<SharedStoryWrapperProps>;
|
|
14
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ThemeProviderProps } from '@opengeoweb/theme';
|
|
3
|
+
interface SharedStoryWrapperProps {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
theme?: 'light' | 'dark';
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* A Provider component which provides the GeoWeb theme
|
|
9
|
+
* @param children
|
|
10
|
+
* @returns
|
|
11
|
+
*/
|
|
12
|
+
export declare const SharedThemeProvider: React.FC<ThemeProviderProps>;
|
|
13
|
+
export declare const SharedStoryWrapper: React.FC<SharedStoryWrapperProps>;
|
|
14
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Providers';
|
|
1
|
+
export * from './Providers';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
interface SearchFieldProps {
|
|
3
|
-
searchFilter: string;
|
|
4
|
-
label?: string;
|
|
5
|
-
setSearchFilter: (filterText: string) => void;
|
|
6
|
-
onOpenServicePopup: (url: string) => void;
|
|
7
|
-
}
|
|
8
|
-
export declare const SearchField: React.FC<SearchFieldProps>;
|
|
9
|
-
export {};
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
interface SearchFieldProps {
|
|
3
|
+
searchFilter: string;
|
|
4
|
+
label?: string;
|
|
5
|
+
setSearchFilter: (filterText: string) => void;
|
|
6
|
+
onOpenServicePopup: (url: string) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare const SearchField: React.FC<SearchFieldProps>;
|
|
9
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const isURL: (string: string) => boolean;
|
|
3
|
-
interface FieldButtonProps {
|
|
4
|
-
localSearchString: string;
|
|
5
|
-
onClickClear: () => void;
|
|
6
|
-
setPopupIsOpen: (value: boolean) => void;
|
|
7
|
-
}
|
|
8
|
-
export declare const SearchFieldButton: React.FC<FieldButtonProps>;
|
|
9
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const isURL: (string: string) => boolean;
|
|
3
|
+
interface FieldButtonProps {
|
|
4
|
+
localSearchString: string;
|
|
5
|
+
onClickClear: () => void;
|
|
6
|
+
setPopupIsOpen: (value: boolean) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare const SearchFieldButton: React.FC<FieldButtonProps>;
|
|
9
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { SearchField } from './SearchField';
|
|
2
|
-
export { SearchFieldButton } from './SearchFieldButtonContainer';
|
|
1
|
+
export { SearchField } from './SearchField';
|
|
2
|
+
export { SearchFieldButton } from './SearchFieldButtonContainer';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface HighlightProps {
|
|
3
|
-
text: string;
|
|
4
|
-
search: string;
|
|
5
|
-
}
|
|
6
|
-
declare const SearchHighlight: React.FC<HighlightProps>;
|
|
7
|
-
export default SearchHighlight;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface HighlightProps {
|
|
3
|
+
text: string;
|
|
4
|
+
search: string;
|
|
5
|
+
}
|
|
6
|
+
declare const SearchHighlight: React.FC<HighlightProps>;
|
|
7
|
+
export default SearchHighlight;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const SearchHighlightLightTheme: {
|
|
7
|
-
(): React.ReactElement;
|
|
8
|
-
tags: string[];
|
|
9
|
-
};
|
|
10
|
-
export declare const SearchHighlightDarkTheme: {
|
|
11
|
-
(): React.ReactElement;
|
|
12
|
-
tags: string[];
|
|
13
|
-
};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const SearchHighlightLightTheme: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
tags: string[];
|
|
9
|
+
};
|
|
10
|
+
export declare const SearchHighlightDarkTheme: {
|
|
11
|
+
(): React.ReactElement;
|
|
12
|
+
tags: string[];
|
|
13
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as SearchHighlight } from './SearchHighlight';
|
|
1
|
+
export { default as SearchHighlight } from './SearchHighlight';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { BoxProps } from '@mui/material';
|
|
3
|
-
interface StatusTagProps extends BoxProps {
|
|
4
|
-
content: string;
|
|
5
|
-
color: string;
|
|
6
|
-
icon?: React.ReactNode;
|
|
7
|
-
}
|
|
8
|
-
declare const StatusTag: React.FC<StatusTagProps>;
|
|
9
|
-
export default StatusTag;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { BoxProps } from '@mui/material';
|
|
3
|
+
interface StatusTagProps extends BoxProps {
|
|
4
|
+
content: string;
|
|
5
|
+
color: string;
|
|
6
|
+
icon?: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
declare const StatusTag: React.FC<StatusTagProps>;
|
|
9
|
+
export default StatusTag;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const StatusTagsLight: {
|
|
7
|
-
(): React.ReactElement;
|
|
8
|
-
tags: string[];
|
|
9
|
-
parameters: {
|
|
10
|
-
zeplinLink: {
|
|
11
|
-
name: string;
|
|
12
|
-
link: string;
|
|
13
|
-
}[];
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export declare const StatusTagsDark: {
|
|
17
|
-
(): React.ReactElement;
|
|
18
|
-
tags: string[];
|
|
19
|
-
parameters: {
|
|
20
|
-
zeplinLink: {
|
|
21
|
-
name: string;
|
|
22
|
-
link: string;
|
|
23
|
-
}[];
|
|
24
|
-
};
|
|
25
|
-
};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const StatusTagsLight: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
tags: string[];
|
|
9
|
+
parameters: {
|
|
10
|
+
zeplinLink: {
|
|
11
|
+
name: string;
|
|
12
|
+
link: string;
|
|
13
|
+
}[];
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export declare const StatusTagsDark: {
|
|
17
|
+
(): React.ReactElement;
|
|
18
|
+
tags: string[];
|
|
19
|
+
parameters: {
|
|
20
|
+
zeplinLink: {
|
|
21
|
+
name: string;
|
|
22
|
+
link: string;
|
|
23
|
+
}[];
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as StatusTag } from './StatusTag';
|
|
1
|
+
export { default as StatusTag } from './StatusTag';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { SwitchProps } from '@mui/material';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
declare const SwitchButton: React.FC<SwitchProps & {
|
|
4
|
-
activeLabel?: string;
|
|
5
|
-
inActiveLabel?: string;
|
|
6
|
-
tooltip?: string;
|
|
7
|
-
}>;
|
|
8
|
-
export default SwitchButton;
|
|
1
|
+
import { SwitchProps } from '@mui/material';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
declare const SwitchButton: React.FC<SwitchProps & {
|
|
4
|
+
activeLabel?: string;
|
|
5
|
+
inActiveLabel?: string;
|
|
6
|
+
tooltip?: string;
|
|
7
|
+
}>;
|
|
8
|
+
export default SwitchButton;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as SwitchButton } from './SwitchButton';
|
|
1
|
+
export { default as SwitchButton } from './SwitchButton';
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { PopoverOrigin, SxProps, Theme } from '@mui/material';
|
|
3
|
-
import { Variant } from '../CustomIconButton';
|
|
4
|
-
type MenuPosition = 'left' | 'right' | 'bottom';
|
|
5
|
-
export declare const getPosition: (menuPosition: MenuPosition) => {
|
|
6
|
-
anchorOrigin: PopoverOrigin;
|
|
7
|
-
transformOrigin: PopoverOrigin;
|
|
8
|
-
};
|
|
9
|
-
export interface MenuItemType {
|
|
10
|
-
text: string;
|
|
11
|
-
action: (event: React.MouseEvent) => void;
|
|
12
|
-
icon?: React.ReactNode;
|
|
13
|
-
isDisabled?: boolean;
|
|
14
|
-
isSelected?: boolean;
|
|
15
|
-
}
|
|
16
|
-
interface ToggleMenuProps {
|
|
17
|
-
buttonTestId?: string;
|
|
18
|
-
menuPosition?: MenuPosition;
|
|
19
|
-
menuItems?: MenuItemType[];
|
|
20
|
-
menuTitle?: string;
|
|
21
|
-
children?: React.ReactNode;
|
|
22
|
-
buttonSx?: SxProps<Theme>;
|
|
23
|
-
tooltipTitle?: string;
|
|
24
|
-
variant?: Variant;
|
|
25
|
-
isDefaultOpen?: boolean;
|
|
26
|
-
buttonIcon?: React.ReactNode;
|
|
27
|
-
isDisabled?: boolean;
|
|
28
|
-
}
|
|
29
|
-
export declare const ToggleMenu: React.FC<ToggleMenuProps>;
|
|
30
|
-
export {};
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { PopoverOrigin, SxProps, Theme } from '@mui/material';
|
|
3
|
+
import { Variant } from '../CustomIconButton';
|
|
4
|
+
type MenuPosition = 'left' | 'right' | 'bottom';
|
|
5
|
+
export declare const getPosition: (menuPosition: MenuPosition) => {
|
|
6
|
+
anchorOrigin: PopoverOrigin;
|
|
7
|
+
transformOrigin: PopoverOrigin;
|
|
8
|
+
};
|
|
9
|
+
export interface MenuItemType {
|
|
10
|
+
text: string;
|
|
11
|
+
action: (event: React.MouseEvent) => void;
|
|
12
|
+
icon?: React.ReactNode;
|
|
13
|
+
isDisabled?: boolean;
|
|
14
|
+
isSelected?: boolean;
|
|
15
|
+
}
|
|
16
|
+
interface ToggleMenuProps {
|
|
17
|
+
buttonTestId?: string;
|
|
18
|
+
menuPosition?: MenuPosition;
|
|
19
|
+
menuItems?: MenuItemType[];
|
|
20
|
+
menuTitle?: string;
|
|
21
|
+
children?: React.ReactNode;
|
|
22
|
+
buttonSx?: SxProps<Theme>;
|
|
23
|
+
tooltipTitle?: string;
|
|
24
|
+
variant?: Variant;
|
|
25
|
+
isDefaultOpen?: boolean;
|
|
26
|
+
buttonIcon?: React.ReactNode;
|
|
27
|
+
isDisabled?: boolean;
|
|
28
|
+
}
|
|
29
|
+
export declare const ToggleMenu: React.FC<ToggleMenuProps>;
|
|
30
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const ToggleMenuLight: {
|
|
7
|
-
(): React.ReactElement;
|
|
8
|
-
tags: string[];
|
|
9
|
-
};
|
|
10
|
-
export declare const ToggleMenuDark: {
|
|
11
|
-
(): React.ReactElement;
|
|
12
|
-
tags: string[];
|
|
13
|
-
};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const ToggleMenuLight: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
tags: string[];
|
|
9
|
+
};
|
|
10
|
+
export declare const ToggleMenuDark: {
|
|
11
|
+
(): React.ReactElement;
|
|
12
|
+
tags: string[];
|
|
13
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './ToggleMenu';
|
|
1
|
+
export * from './ToggleMenu';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ToolContainerProps } from './types';
|
|
3
|
-
export declare const BASE_ELEVATION = 5;
|
|
4
|
-
declare const ToolContainer: React.FC<ToolContainerProps>;
|
|
5
|
-
export default ToolContainer;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ToolContainerProps } from './types';
|
|
3
|
+
export declare const BASE_ELEVATION = 5;
|
|
4
|
+
declare const ToolContainer: React.FC<ToolContainerProps>;
|
|
5
|
+
export default ToolContainer;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
includeStories: string[];
|
|
5
|
-
};
|
|
6
|
-
export default _default;
|
|
7
|
-
interface ToolContainerDemoProps {
|
|
8
|
-
isSnapShot?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare const ToolContainerDemo: React.FC<ToolContainerDemoProps>;
|
|
11
|
-
export declare const ThemeLight: {
|
|
12
|
-
(): React.ReactElement;
|
|
13
|
-
parameters: {
|
|
14
|
-
zeplinLink: {
|
|
15
|
-
name: string;
|
|
16
|
-
link: string;
|
|
17
|
-
}[];
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
export declare const ThemeDark: {
|
|
21
|
-
(): React.ReactElement;
|
|
22
|
-
parameters: {
|
|
23
|
-
zeplinLink: {
|
|
24
|
-
name: string;
|
|
25
|
-
link: string;
|
|
26
|
-
}[];
|
|
27
|
-
};
|
|
28
|
-
};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
includeStories: string[];
|
|
5
|
+
};
|
|
6
|
+
export default _default;
|
|
7
|
+
interface ToolContainerDemoProps {
|
|
8
|
+
isSnapShot?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const ToolContainerDemo: React.FC<ToolContainerDemoProps>;
|
|
11
|
+
export declare const ThemeLight: {
|
|
12
|
+
(): React.ReactElement;
|
|
13
|
+
parameters: {
|
|
14
|
+
zeplinLink: {
|
|
15
|
+
name: string;
|
|
16
|
+
link: string;
|
|
17
|
+
}[];
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export declare const ThemeDark: {
|
|
21
|
+
(): React.ReactElement;
|
|
22
|
+
parameters: {
|
|
23
|
+
zeplinLink: {
|
|
24
|
+
name: string;
|
|
25
|
+
link: string;
|
|
26
|
+
}[];
|
|
27
|
+
};
|
|
28
|
+
};
|