@opengeoweb/core 2.2.1 → 2.3.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 (32) hide show
  1. package/index.esm.js +597 -556
  2. package/index.umd.js +578 -548
  3. package/lib/components/ComponentsLookUp/componentsLookUp.d.ts +1 -1
  4. package/lib/components/ConfigurableConnectedMap/ConfigurableConnectedMap.d.ts +2 -0
  5. package/lib/components/ConfigurableMapWithSlider/ConfigurableMapWithSliderConnect.d.ts +3 -0
  6. package/lib/components/LayerManager/LayerContainerRow/LayerManagerButton.d.ts +1 -0
  7. package/lib/components/LayerManager/LayerContainerRow/LayerRow/Menubutton/MenuButton.d.ts +0 -2
  8. package/lib/components/LayerManager/LayerContainerRow/LayerRow/styles.d.ts +1 -0
  9. package/lib/components/LayerManager/LayerSelect/LayerList/LayerAddRemoveButton.d.ts +18 -0
  10. package/lib/components/{CustomToggleButton/CustomToggleButton.spec.d.ts → LayerManager/LayerSelect/LayerList/LayerAddRemoveButton.spec.d.ts} +0 -0
  11. package/lib/components/LayerManager/LayerSelect/LayerList/LayerList.d.ts +10 -0
  12. package/lib/components/LayerManager/LayerSelect/LayerList/LayerListConnect.d.ts +1 -0
  13. package/lib/components/MapControls/MapControlButton.d.ts +1 -1
  14. package/lib/components/MapView/MapViewConnect.DisableMapPin.stories.d.ts +5 -0
  15. package/lib/components/MapView/MapViewConnect.stories.d.ts +1 -0
  16. package/lib/components/ReactMapView/types.d.ts +1 -0
  17. package/lib/components/TooltipSelect/TooltipSelect.d.ts +1 -0
  18. package/lib/index.d.ts +4 -1
  19. package/lib/store/mapStore/map/actions.d.ts +8 -1
  20. package/lib/store/mapStore/map/constants.d.ts +1 -0
  21. package/lib/store/mapStore/map/selectors.d.ts +22 -1
  22. package/lib/store/mapStore/map/types.d.ts +11 -2
  23. package/lib/store/ui/types.d.ts +1 -1
  24. package/lib/utils/types.d.ts +14 -23
  25. package/package.json +5 -5
  26. package/lib/components/CustomToggleButton/CustomToggleButton.d.ts +0 -9
  27. package/lib/components/CustomToggleButton/CustomToggleButton.stories.d.ts +0 -13
  28. package/lib/components/LayerManager/LayerContainerRow/LayerRow/Menubutton/MenuItemButton.d.ts +0 -8
  29. package/lib/components/ToolButton/ToolButton.d.ts +0 -12
  30. package/lib/components/ToolButton/ToolButton.spec.d.ts +0 -1
  31. package/lib/components/ToolButton/ToolButton.stories.d.ts +0 -13
  32. package/lib/components/ToolButton/index.d.ts +0 -1
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { Bbox, Layer } from '../../store/mapStore/types';
3
3
  import { AnimationPayloadType } from '../ConfigurableConnectedMap';
4
4
  import { InitialHarmRefTimeProps, InitialHarmTempAndPrecipProps } from '../MultiMapView/HarmoniePresets';
5
- export interface TSMapPreset {
5
+ interface TSMapPreset {
6
6
  layers?: Layer[];
7
7
  activeLayerId?: string;
8
8
  baseLayer?: Layer;
@@ -33,5 +33,7 @@ export interface ConfigurableConnectedMapProps {
33
33
  animationPayload?: AnimationPayloadType;
34
34
  shouldShowZoomControls?: boolean;
35
35
  displayMapPin?: boolean;
36
+ toggleTimestepAuto?: boolean;
37
+ setTimestep?: number;
36
38
  }
37
39
  export declare const ConfigurableConnectedMap: React.FC<ConfigurableConnectedMapProps>;
@@ -15,5 +15,8 @@ export interface ConfigurableMapWithSliderConnectProps {
15
15
  shouldShowZoomControls?: boolean;
16
16
  animationPayload?: AnimationPayloadType;
17
17
  displayMapPin?: boolean;
18
+ showTimeSlider?: boolean;
19
+ toggleTimestepAuto?: boolean;
20
+ setTimestep?: number;
18
21
  }
19
22
  export declare const ConfigurableMapWithSliderConnect: React.FC<ConfigurableMapWithSliderConnectProps>;
@@ -7,6 +7,7 @@ interface LayerManagerButtonProps extends IconButtonProps {
7
7
  isEnabled?: boolean;
8
8
  icon: React.ReactNode;
9
9
  testId: string;
10
+ isAccessible?: boolean;
10
11
  }
11
12
  declare const LayerManagerButton: React.FC<LayerManagerButtonProps>;
12
13
  export default LayerManagerButton;
@@ -1,13 +1,11 @@
1
1
  import * as React from 'react';
2
2
  interface LayerManagerButtonProps {
3
- tooltipTitle: string;
4
3
  mapId: string;
5
4
  layerId?: string;
6
5
  onLayerDuplicate?: (payload: {
7
6
  mapId: string;
8
7
  layerId: string;
9
8
  }) => void;
10
- isEnabled?: boolean;
11
9
  }
12
10
  declare const LayerManagerMenuButton: React.FC<LayerManagerButtonProps>;
13
11
  export default LayerManagerMenuButton;
@@ -1,4 +1,5 @@
1
1
  export interface LayerRowStyle {
2
2
  isActive?: boolean;
3
3
  isEnabled?: boolean;
4
+ isAccessible?: boolean;
4
5
  }
@@ -0,0 +1,18 @@
1
+ import * as React from 'react';
2
+ import { ReduxLayer } from '../../../../store/mapStore/layers/types';
3
+ interface LayerAddRemoveButtonProps {
4
+ layer: ReduxLayer;
5
+ layerIndex: number;
6
+ serviceId: string;
7
+ addLayer: ({ serviceURL, layerName }: {
8
+ serviceURL: any;
9
+ layerName: any;
10
+ }) => void;
11
+ deleteLayer: ({ layerId, layerIndex }: {
12
+ layerId: any;
13
+ layerIndex: any;
14
+ }) => void;
15
+ mapLayers: ReduxLayer[];
16
+ }
17
+ declare const LayerAddRemoveButton: React.FC<LayerAddRemoveButtonProps>;
18
+ export default LayerAddRemoveButton;
@@ -1,10 +1,20 @@
1
1
  import * as React from 'react';
2
+ import { ReduxLayer } from '../../../../store/mapStore/layers/types';
2
3
  import { Services } from '../../../../store/mapStore/service/types';
3
4
  interface LayerListProps {
4
5
  services: Services;
5
6
  serviceIds: string[];
6
7
  layerSelectHeight: number;
8
+ addLayer: ({ serviceURL, layerName }: {
9
+ serviceURL: any;
10
+ layerName: any;
11
+ }) => void;
12
+ deleteLayer: ({ layerId, layerIndex }: {
13
+ layerId: any;
14
+ layerIndex: any;
15
+ }) => void;
7
16
  searchString: string;
17
+ mapLayers: ReduxLayer[];
8
18
  keywordIds: string[];
9
19
  allKeywordsActive: boolean;
10
20
  }
@@ -1,5 +1,6 @@
1
1
  import * as React from 'react';
2
2
  interface LayerListConnectProps {
3
+ mapId: string;
3
4
  layerSelectHeight: number;
4
5
  }
5
6
  declare const LayerListConnect: React.FC<LayerListConnectProps>;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { TooltipProps } from '@mui/material';
3
- import { ToolButtonProps } from '../ToolButton/ToolButton';
3
+ import { ToolButtonProps } from '@opengeoweb/shared';
4
4
  interface MapControlButtonProps extends ToolButtonProps {
5
5
  onClick: () => void;
6
6
  isActive?: boolean;
@@ -0,0 +1,5 @@
1
+ import * as React from 'react';
2
+ export declare const SetAndDisableMapPinAction: {
3
+ (): React.ReactElement;
4
+ storyName: string;
5
+ };
@@ -9,6 +9,7 @@ export * from './MapViewConnect.SetBaseLayers.stories';
9
9
  export * from './MapViewConnect.ToggleControls.stories';
10
10
  export * from './MapViewConnect.FeatureLayers.stories';
11
11
  export * from './MapViewConnect.MapPin.stories';
12
+ export * from './MapViewConnect.DisableMapPin.stories';
12
13
  export * from './MapViewConnect.SelectorTest.stories';
13
14
  declare const _default: {
14
15
  title: string;
@@ -24,6 +24,7 @@ export interface ReactMapViewProps {
24
24
  mapPinLocation?: MapLocation;
25
25
  shouldAutoFetch?: boolean;
26
26
  showLayerInfo?: boolean;
27
+ disableMapPin?: boolean;
27
28
  onMount?: (mapId: string, WMJSMapInstance: WMJSMap) => void;
28
29
  onUnMount?: (mapId: string, WMJSMapInstance: WMJSMap) => void;
29
30
  onMapChangeDimension?: (payload: SetMapDimensionPayload) => void;
@@ -9,6 +9,7 @@ interface TooltipSelectProps extends SelectProps {
9
9
  list?: ListELement[];
10
10
  currentIndex?: number;
11
11
  onChangeMouseWheel?: (element: ListELement) => void;
12
+ requiresCtrlToChange?: boolean;
12
13
  }
13
14
  declare const TooltipSelect: React.FC<TooltipSelectProps>;
14
15
  export default TooltipSelect;
package/lib/index.d.ts CHANGED
@@ -4,6 +4,7 @@ import * as mapTypes from './store/mapStore/types';
4
4
  import * as mapConstants from './store/mapStore/constants';
5
5
  import * as mapUtils from './store/mapStore/map/utils';
6
6
  import * as uiActions from './store/ui/actions';
7
+ import * as uiSelectors from './store/ui/selectors';
7
8
  import * as uiTypes from './store/ui/types';
8
9
  import * as syncGroupActions from './store/generic/actions';
9
10
  import * as layerReducer from './store/mapStore/layers/reducer';
@@ -21,7 +22,7 @@ export { LegendConnect, Legend, LegendMapButtonConnect, } from './components/Leg
21
22
  export { ZoomControls, ZoomControlConnect } from './components/MapControls';
22
23
  export { TimeSliderConnect } from './components/TimeSlider';
23
24
  export { MapControls } from './components/MapControls';
24
- export { mapActions, mapSelectors, mapTypes, mapConstants, mapUtils, layerReducer, uiActions, uiTypes, syncGroupActions, };
25
+ export { mapActions, mapSelectors, mapTypes, mapConstants, mapUtils, layerReducer, uiActions, uiSelectors, uiTypes, syncGroupActions, };
25
26
  export { synchronizationGroupConfig as synchronizationGroupModuleConfig };
26
27
  export * from './components/ComponentsLookUp';
27
28
  export * from './components/ConfigurableMapWithSlider';
@@ -42,3 +43,5 @@ export * from './utils/jsonPresetFilter';
42
43
  export * from './utils/types';
43
44
  export * as defaultConfigurations from './utils/defaultConfigurations';
44
45
  export * from './components/Providers/Providers';
46
+ export { default as uiModuleConfig } from './store/ui/config';
47
+ export { default as mapModuleConfig } from './store/mapStore/config';
@@ -1,4 +1,4 @@
1
- import { MapActions, SetBboxPayload, MoveLayerPayload, SetMapDimensionPayload, UpdateAllMapDimensionsPayload, SetMapAnimationStartPayload, SetMapAnimationStopPayload, SetActiveLayerIdPayload, MoveLayer, SetActiveLayerId, ToggleAutoUpdatePayload, ToggleAutoUpdate, ToggleLoopPayload, ToggleLoop, SetTimeSliderScalePayload, SetTimeStepPayload, SetAnimationDelayPayload, SetAnimationStartTimePayload, SetAnimationEndTimePayload, ToggleTimestepAutoPayload, ToggleTimestepAuto, ToggleTimeSliderHoverPayload, ToggleTimeSliderHover, SetTimeSliderCenterTimePayload, SetTimeSliderSecondsPerPxPayload, SetTimeSliderDataScaleToSecondsPerPxPayload, MapPinLocationPayload } from './types';
1
+ import { MapActions, SetBboxPayload, MoveLayerPayload, SetMapDimensionPayload, UpdateAllMapDimensionsPayload, SetMapAnimationStartPayload, SetMapAnimationStopPayload, SetActiveLayerIdPayload, MoveLayer, SetActiveLayerId, ToggleAutoUpdatePayload, ToggleAutoUpdate, ToggleLoopPayload, ToggleLoop, SetTimeSliderScalePayload, SetTimeStepPayload, SetAnimationDelayPayload, SetAnimationStartTimePayload, SetAnimationEndTimePayload, ToggleTimestepAutoPayload, ToggleTimestepAuto, ToggleTimeSliderHoverPayload, ToggleTimeSliderHover, SetTimeSliderCenterTimePayload, SetTimeSliderSecondsPerPxPayload, SetTimeSliderDataScaleToSecondsPerPxPayload, MapPinLocationPayload, DisableMapPinPayload } from './types';
2
2
  /**
3
3
  * Registers the map in the store and creates the map state
4
4
  *
@@ -154,3 +154,10 @@ export declare const setTimeSliderDataScaleToSecondsPerPx: (payload: SetTimeSlid
154
154
  * @param {object} payload object with mapId: string, mapPinLocation: MapLocation
155
155
  */
156
156
  export declare const setMapPinLocation: (payload: MapPinLocationPayload) => MapActions;
157
+ /**
158
+ * Sets the diable map pin boolean
159
+ *
160
+ * Example: setMapPinLocation({ mapId: 'mapId1', diableMapPin: true })
161
+ * @param {object} payload object with mapId: string, diableMapPin: boolean
162
+ */
163
+ export declare const setDisableMapPin: (payload: DisableMapPinPayload) => MapActions;
@@ -20,3 +20,4 @@ export declare const WEBMAP_SET_TIME_SLIDER_CENTER_TIME = "WEBMAP_SET_TIME_SLIDE
20
20
  export declare const WEBMAP_SET_TIME_SLIDER_SECONDS_PER_PX = "WEBMAP_SET_TIME_SLIDER_SECONDS_PER_PX";
21
21
  export declare const WEBMAP_SET_TIME_SLIDER_DATA_SCALE_TO_SECONDS_PER_PX = "WEBMAP_SET_TIME_SLIDER_DATA_SCALE_TO_SECONDS_PER_PX";
22
22
  export declare const WEBMAP_SET_PIN = "WEBMAP_SET_PIN";
23
+ export declare const WEBMAP_DISABLE_PIN = "WEBMAP_DISABLE_PIN";
@@ -712,7 +712,7 @@ export declare const getAllUniqueDimensions: ((state: {
712
712
  /**
713
713
  * Returns the mapPinLocation for the current map
714
714
  *
715
- * Example getAllUniqueDimensions(store);
715
+ * Example getPinLocation(store);
716
716
  * @param {object} store store: object - store object
717
717
  * @param {string} mapId mapId: string - Id of the map
718
718
  * @returns {object} returnType: latitude and longitude of pin
@@ -730,3 +730,24 @@ export declare const getPinLocation: ((state: {
730
730
  }> & {
731
731
  clearCache: () => void;
732
732
  };
733
+ /**
734
+ * Returns the disable map pin boolean for the current map
735
+ *
736
+ * Example getDisableMapPin(store);
737
+ * @param {object} store store: object - store object
738
+ * @param {string} mapId mapId: string - Id of the map
739
+ * @returns {boolean} returnType: boolean or undefined
740
+ */
741
+ export declare const getDisableMapPin: ((state: {
742
+ advancedLayerStore?: import("../../advancedLayerStore/types").AdvancedLayerStoreState;
743
+ syncronizationGroupStore?: import("../../generic/synchronizationGroups/types").SynchronizationGroupState;
744
+ ui?: import("../../ui/types").UIStoreType;
745
+ webmap?: WebMapState;
746
+ services?: import("../types").ServiceState;
747
+ layers?: import("../types").LayerState;
748
+ layerSelect?: import("../../layerSelect/types").LayerSelectStoreType;
749
+ }, params_0: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: WebMap) => boolean & {
750
+ clearCache: () => void;
751
+ }> & {
752
+ clearCache: () => void;
753
+ };
@@ -1,6 +1,6 @@
1
1
  import { DateInterval } from '@opengeoweb/webmap';
2
2
  import { Action } from 'redux';
3
- import { WEBMAP_LAYER_MOVE, WEBMAP_SET_BBOX, WEBMAP_MAP_UPDATE_ALL_DIMENSIONS, WEBMAP_MAP_CHANGE_DIMENSION, WEBMAP_START_ANIMATION, WEBMAP_STOP_ANIMATION, WEBMAP_REGISTER_MAP, WEBMAP_UNREGISTER_MAP, WEBMAP_SET_ACTIVELAYERID, WEBMAP_TOGGLE_AUTO_UPDATE, WEBMAP_TOGGLE_LOOP, WEBMAP_SET_TIME_SLIDER_SCALE, WEBMAP_SET_TIME_STEP, WEBMAP_SET_ANIMATION_DELAY, WEBMAP_SET_ANIMATION_START_TIME, WEBMAP_SET_ANIMATION_END_TIME, WEBMAP_TOGGLE_TIMESTEP_AUTO, WEBMAP_TOGGLE_TIME_SLIDER_HOVER, WEBMAP_SET_TIME_SLIDER_CENTER_TIME, WEBMAP_SET_TIME_SLIDER_SECONDS_PER_PX, WEBMAP_SET_TIME_SLIDER_DATA_SCALE_TO_SECONDS_PER_PX, WEBMAP_SET_PIN } from './constants';
3
+ import { WEBMAP_LAYER_MOVE, WEBMAP_SET_BBOX, WEBMAP_MAP_UPDATE_ALL_DIMENSIONS, WEBMAP_MAP_CHANGE_DIMENSION, WEBMAP_START_ANIMATION, WEBMAP_STOP_ANIMATION, WEBMAP_REGISTER_MAP, WEBMAP_UNREGISTER_MAP, WEBMAP_SET_ACTIVELAYERID, WEBMAP_TOGGLE_AUTO_UPDATE, WEBMAP_TOGGLE_LOOP, WEBMAP_SET_TIME_SLIDER_SCALE, WEBMAP_SET_TIME_STEP, WEBMAP_SET_ANIMATION_DELAY, WEBMAP_SET_ANIMATION_START_TIME, WEBMAP_SET_ANIMATION_END_TIME, WEBMAP_TOGGLE_TIMESTEP_AUTO, WEBMAP_TOGGLE_TIME_SLIDER_HOVER, WEBMAP_SET_TIME_SLIDER_CENTER_TIME, WEBMAP_SET_TIME_SLIDER_SECONDS_PER_PX, WEBMAP_SET_TIME_SLIDER_DATA_SCALE_TO_SECONDS_PER_PX, WEBMAP_SET_PIN, WEBMAP_DISABLE_PIN } from './constants';
4
4
  export interface Dimension {
5
5
  name?: string;
6
6
  units?: string;
@@ -36,6 +36,7 @@ export interface WebMap {
36
36
  isTimestepAuto?: boolean;
37
37
  isTimeSliderHoverOn?: boolean;
38
38
  mapPinLocation?: MapLocation;
39
+ disableMapPin?: boolean;
39
40
  }
40
41
  export interface WebMapState {
41
42
  byId: Record<string, WebMap>;
@@ -245,4 +246,12 @@ export interface MapPinLocationPayload {
245
246
  mapId: string;
246
247
  mapPinLocation: MapLocation;
247
248
  }
248
- export declare type MapActions = RegisterMap | UnregisterMap | SetMapDimension | UpdateAllMapDimensions | SetMapAnimationStart | SetMapAnimationStop | SetBbox | MoveLayer | SetActiveLayerId | ToggleAutoUpdate | ToggleLoop | SetTimeStep | SetTimeSliderScale | SetAnimationDelay | SetAnimationStartTime | SetAnimationEndTime | ToggleTimestepAuto | ToggleTimeSliderHover | SetTimeSliderCenterTime | SetTimeSliderSecondsPerPx | SetTimeSliderDataScaleToSecondsPerPx | SetMapPinLocation;
249
+ export interface SetDisableMapPin extends Action {
250
+ type: typeof WEBMAP_DISABLE_PIN;
251
+ payload: DisableMapPinPayload;
252
+ }
253
+ export interface DisableMapPinPayload {
254
+ mapId: string;
255
+ disableMapPin: boolean;
256
+ }
257
+ export declare type MapActions = RegisterMap | UnregisterMap | SetMapDimension | UpdateAllMapDimensions | SetMapAnimationStart | SetMapAnimationStop | SetBbox | MoveLayer | SetActiveLayerId | ToggleAutoUpdate | ToggleLoop | SetTimeStep | SetTimeSliderScale | SetAnimationDelay | SetAnimationStartTime | SetAnimationEndTime | ToggleTimestepAuto | ToggleTimeSliderHover | SetTimeSliderCenterTime | SetTimeSliderSecondsPerPx | SetTimeSliderDataScaleToSecondsPerPx | SetMapPinLocation | SetDisableMapPin;
@@ -1,6 +1,6 @@
1
1
  import { Action } from 'redux';
2
2
  import { UI_SET_ACTIVE_MAPID_FOR_DIALOG, UI_REGISTER_DIALOG, UI_TOGGLE_DIALOG, UI_UNREGISTER_DIALOG, UI_ORDER_DIALOG } from './constants';
3
- export declare type DialogType = 'legend' | 'layerManager' | 'layerSelect' | 'dimensionSelect-elevation' | 'dimensionSelect-ensemble_member' | 'keywordFilter';
3
+ export declare type DialogType = 'legend' | 'layerManager' | 'layerSelect' | 'dimensionSelect-elevation' | 'dimensionSelect-ensemble_member' | 'keywordFilter' | 'timeSeriesManager';
4
4
  export declare type Source = 'app' | 'module';
5
5
  export interface UIType {
6
6
  type: DialogType;
@@ -1,18 +1,4 @@
1
1
  import { Bbox, Dimension, Layer } from '../store/mapStore/types';
2
- export interface MapPresets {
3
- preset: MapPreset;
4
- }
5
- export interface MapPreset {
6
- presetType?: string;
7
- presetId?: string;
8
- presetName?: string;
9
- srs?: string;
10
- bbox?: Bbox;
11
- services?: Service[];
12
- baseServices?: Service[];
13
- layers?: PresetLayer[];
14
- activeLayerId?: string;
15
- }
16
2
  export interface Service {
17
3
  id: string;
18
4
  name: string;
@@ -32,21 +18,26 @@ export interface PresetLayer {
32
18
  layerType?: string;
33
19
  status?: string;
34
20
  }
35
- export interface LayerDimension {
36
- dimension?: Dimension;
37
- layerId?: string;
38
- }
39
- export interface FilteredMapPresets {
21
+ export interface MapPreset {
40
22
  presetType?: string;
41
23
  presetId?: string;
42
24
  presetName?: string;
25
+ srs?: string;
43
26
  bbox?: Bbox;
44
27
  services?: Service[];
45
- srs?: string;
46
- layers?: Layer[];
28
+ baseServices?: Service[];
29
+ layers?: PresetLayer[];
30
+ activeLayerId?: string;
31
+ }
32
+ export interface MapPresets {
33
+ preset: MapPreset;
34
+ }
35
+ export interface LayerDimension {
36
+ dimension?: Dimension;
37
+ layerId?: string;
38
+ }
39
+ export interface FilteredMapPresets extends MapPreset {
47
40
  baseLayers?: Layer[];
48
41
  mapLayers?: Layer[];
49
- activeLayerId?: string;
50
42
  layerDimensions?: LayerDimension[];
51
- baseServices?: Service[];
52
43
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/core",
3
- "version": "2.2.1",
3
+ "version": "2.3.0",
4
4
  "description": "GeoWeb Core library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -13,22 +13,22 @@
13
13
  "dependencies": {},
14
14
  "peerDependencies": {
15
15
  "react": "^17.0.2",
16
- "@opengeoweb/theme": "2.2.1",
16
+ "@opengeoweb/theme": "2.3.0",
17
17
  "@mui/material": "^5.2.8",
18
18
  "@mui/styles": "^5.2.3",
19
19
  "@mui/icons-material": "^5.2.5",
20
20
  "react-redux": "7.2.2",
21
21
  "moment": "^2.29.0",
22
22
  "react-intl": "^5.17.5",
23
- "@opengeoweb/webmap": "2.2.1",
23
+ "@opengeoweb/webmap": "2.3.0",
24
24
  "throttle-debounce": "^3.0.1",
25
25
  "proj4": "^2.6.2",
26
26
  "react-sortablejs": "^6.0.0",
27
- "@opengeoweb/shared": "2.2.1",
27
+ "@opengeoweb/shared": "2.3.0",
28
28
  "react-draggable": "^4.4.3",
29
29
  "re-resizable": "^6.9.0",
30
30
  "lodash": "^4.17.20",
31
- "@opengeoweb/form-fields": "2.2.1",
31
+ "@opengeoweb/form-fields": "2.3.0",
32
32
  "react-hook-form": "^6.12.1",
33
33
  "moment-timezone": "^0.5.31",
34
34
  "@mui/lab": "^5.0.0-alpha.64",
@@ -1,9 +0,0 @@
1
- import * as React from 'react';
2
- import { ToggleButtonProps } from '@mui/material';
3
- import { ButtonVariant } from '@opengeoweb/theme';
4
- export interface CustomToggleButtonProps extends Omit<ToggleButtonProps, 'value'> {
5
- variant?: ButtonVariant;
6
- value?: unknown;
7
- }
8
- declare const CustomToggleButton: React.FC<CustomToggleButtonProps>;
9
- export default CustomToggleButton;
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- declare const _default: {
3
- title: string;
4
- };
5
- export default _default;
6
- export declare const CustomToggleButtonLight: {
7
- (): React.ReactElement;
8
- storyName: string;
9
- };
10
- export declare const CustomToggleButtonDark: {
11
- (): React.ReactElement;
12
- storyName: string;
13
- };
@@ -1,8 +0,0 @@
1
- import * as React from 'react';
2
- interface MenuItemButtonProps {
3
- tooltipTitle: string | JSX.Element;
4
- title: string;
5
- icon: JSX.Element;
6
- }
7
- declare const MenuItemButton: React.FC<MenuItemButtonProps>;
8
- export default MenuItemButton;
@@ -1,12 +0,0 @@
1
- import * as React from 'react';
2
- import { Theme, SxProps } from '@mui/material';
3
- import { CustomToggleButtonProps } from '../CustomToggleButton/CustomToggleButton';
4
- export interface ToolButtonProps extends CustomToggleButtonProps {
5
- active?: boolean;
6
- width?: string;
7
- height?: string;
8
- value?: unknown;
9
- sx?: SxProps<Theme>;
10
- }
11
- declare const ToolButton: React.FC<ToolButtonProps>;
12
- export default ToolButton;
@@ -1 +0,0 @@
1
- export {};
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- declare const _default: {
3
- title: string;
4
- };
5
- export default _default;
6
- export declare const ToolButtonLight: {
7
- (): React.ReactElement;
8
- storyName: string;
9
- };
10
- export declare const ToolButtonDark: {
11
- (): React.ReactElement;
12
- storyName: string;
13
- };
@@ -1 +0,0 @@
1
- export { default as ToolButton } from './ToolButton';