@opengeoweb/core 12.0.0 → 12.1.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 +68 -26
- package/package.json +26 -33
- package/src/lib/GeoWebDemo.stories.d.ts +4 -1
- package/src/lib/components/ComponentsLookUp/componentsLookUp.stories.d.ts +8 -7
- package/src/lib/components/ConfigurableMapConnect/ConfigurableMapConnect.stories.d.ts +6 -4
- package/src/lib/components/LanguageSelect/Languages.stories.d.ts +9 -33
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelect.d.ts +1 -0
- package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelectValue.d.ts +1 -0
- package/src/lib/components/LayerManager/LayerManager.custom.stories.d.ts +4 -1
- package/src/lib/components/LayerManager/LayerManager.stories.d.ts +19 -90
- package/src/lib/components/LayerManager/LayerManagerConnect.stories.d.ts +7 -22
- package/src/lib/components/LayerManager/LayerSelect/LayerSelectConnect.stories.d.ts +7 -7
- package/src/lib/components/LayerManager/ProjectionSelect/ProjectionSelect.stories.d.ts +1 -0
- package/src/lib/components/LegendConnect/LegendConnect.stories.d.ts +1 -0
- package/src/lib/components/MapDrawToolRedux/MapDrawToolRedux.stories.d.ts +1 -0
- package/src/lib/components/MapDrawToolRedux/MapDrawToolReduxIntersection.stories.d.ts +1 -0
- package/src/lib/components/MapDrawToolRedux/MapDrawToolReduxMultipleDrawTools.stories.d.ts +1 -0
- package/src/lib/components/MapViewConnect/MapViewConnect.DoubleMap.stories.d.ts +1 -0
- package/src/lib/components/MapViewConnect/MapViewConnect.Errors.stories.d.ts +1 -0
- package/src/lib/components/MapViewConnect/MapViewConnect.FeatureLayers.stories.d.ts +1 -0
- package/src/lib/components/MapViewConnect/MapViewConnect.InitialBBoxAndWithout.stories.d.ts +1 -0
- package/src/lib/components/MapViewConnect/MapViewConnect.LayerActions.stories.d.ts +1 -0
- package/src/lib/components/MapViewConnect/MapViewConnect.LayerChangeEnabledOpacity.stories.d.ts +1 -0
- package/src/lib/components/MapViewConnect/MapViewConnect.MapModuleOverDefaultMap.stories.d.ts +1 -0
- package/src/lib/components/MapViewConnect/MapViewConnect.MapPin.stories.d.ts +1 -0
- package/src/lib/components/MapViewConnect/MapViewConnect.MultiMapLayerManager.stories.d.ts +1 -0
- package/src/lib/components/MapViewConnect/MapViewConnect.SelectorTest.stories.d.ts +1 -0
- package/src/lib/components/MapViewConnect/MapViewConnect.SetBaseLayers.stories.d.ts +1 -0
- package/src/lib/components/MapViewConnect/MapViewConnect.ToggleControls.stories.d.ts +1 -0
- package/src/lib/components/MapViewConnect/OlMapViewConnect.spec.d.ts +1 -0
- package/src/lib/components/MapViewConnect/index.d.ts +1 -0
- package/src/lib/components/MultiMapDimensionSelectConnect/EnsembleDimensionExample.stories.d.ts +1 -0
- package/src/lib/components/MultiMapDimensionSelectConnect/MultiDimensionSelectConnect.stories.d.ts +1 -0
- package/src/lib/components/MultiMapDimensionSelectConnect/MultiMapMultiDimensionSelect.stories.d.ts +1 -0
- package/src/lib/components/MultiMapViewConnect/ModelRunInterval/ModelRunInterval.stories.d.ts +1 -0
- package/src/lib/components/MultiMapViewConnect/MultiMapView10x10.stories.d.ts +1 -0
- package/src/lib/components/MultiMapViewConnect/MultiMapView2x2.stories.d.ts +1 -0
- package/src/lib/components/MultiMapViewConnect/MultiMapView4x3.stories.d.ts +1 -0
- package/src/lib/components/Providers/Providers.d.ts +9 -0
- package/src/lib/components/Search/SearchDialog.stories.d.ts +7 -13
- package/src/lib/components/Search/SearchDialogConnect.stories.d.ts +5 -1
- package/src/lib/components/SyncGroups/SyncGroups.FourMapsSynced.stories.d.ts +5 -1
- package/src/lib/components/SyncGroups/SyncGroups.SyncMany.stories.d.ts +1 -0
- package/src/lib/components/SyncGroups/SyncGroups.SyncMaps.stories.d.ts +5 -1
- package/src/lib/components/SyncGroups/SyncGroups.TwoMapsSynced.stories.d.ts +5 -1
- package/src/lib/components/TimeSliderConnect/AutoUpdate.stories.d.ts +1 -0
- package/src/lib/components/TimeSliderConnect/TimeSliderConnect.stories.d.ts +6 -15
- package/src/lib/components/WMSLoader/WMSLoader.stories.d.ts +1 -0
- package/src/lib/components/MultiMapViewConnect/MultiMapView.stories.d.ts +0 -9
package/index.esm.js
CHANGED
|
@@ -12,8 +12,8 @@ import { useDispatch, useSelector, connect, useStore, Provider } from 'react-red
|
|
|
12
12
|
import { ReactSortable } from 'react-sortablejs';
|
|
13
13
|
import Sortable from 'sortablejs';
|
|
14
14
|
import { layerTypes, layerUtils, mapSelectors, layerActions, layerSelectors, serviceSelectors, serviceActions, mapActions, mapEnums, uiSelectors, uiTypes, useSetupDialog, filterLayers, getUserAddedServices, uiActions, genericSelectors, genericActions, drawingToolSelectors, syncConstants, loadingIndicatorActions, syncGroupsSelectors, getViewObjectForSyncGroup, getViewObjectForMapId, defaultLayers, getSingularDrawtoolDrawLayerId, syncGroupsSelector, syncGroupsActions, routerUtils } from '@opengeoweb/store';
|
|
15
|
-
import _, { isArray, isEqual, debounce, range } from 'lodash';
|
|
16
15
|
import { webmapUtils, queryWMSServiceInfo, queryWMSLayers, queryWMSLayersTree, invalidateWMSGetCapabilities, LayerType, getWMSServiceId, generateLayerId, getWMJSMapById, getWMSGetFeatureInfoRequestURL, getMapDimURL, handleDateUtilsISOString, wmServiceListener, EVENT_GETCAPABILITIES_START, EVENT_GETCAPABILITIES_READY, WMJSDimension, getWMLayerById, WMLayer } from '@opengeoweb/webmap';
|
|
16
|
+
import _, { isArray, isEqual, debounce, range } from 'lodash';
|
|
17
17
|
import { Box as Box$1, styled as styled$1 } from '@mui/system';
|
|
18
18
|
import { LayerSelectButtonConnect, LayerSelectConnect } from '@opengeoweb/layer-select';
|
|
19
19
|
import { useQuery, QueryClient, QueryClientProvider } from '@tanstack/react-query';
|
|
@@ -1257,10 +1257,11 @@ var DimensionSelectName = function DimensionSelectName(_ref) {
|
|
|
1257
1257
|
};
|
|
1258
1258
|
|
|
1259
1259
|
var DimensionSelectValue = function DimensionSelectValue(_ref) {
|
|
1260
|
-
var _selectedDimension$va;
|
|
1261
1260
|
var isEnabled = _ref.isEnabled,
|
|
1262
1261
|
tooltip = _ref.tooltip,
|
|
1263
1262
|
selectedDimension = _ref.selectedDimension,
|
|
1263
|
+
_ref$generatedValues = _ref.generatedValues,
|
|
1264
|
+
generatedValues = _ref$generatedValues === void 0 ? [] : _ref$generatedValues,
|
|
1264
1265
|
icon = _ref.icon,
|
|
1265
1266
|
onLayerChangeDimension = _ref.onLayerChangeDimension,
|
|
1266
1267
|
valueMappings = _ref.valueMappings,
|
|
@@ -1270,7 +1271,7 @@ var DimensionSelectValue = function DimensionSelectValue(_ref) {
|
|
|
1270
1271
|
skipLocalStyling = _ref.skipLocalStyling;
|
|
1271
1272
|
var _useCoreTranslation = useCoreTranslation(),
|
|
1272
1273
|
t = _useCoreTranslation.t;
|
|
1273
|
-
var dimensionValuesRaw =
|
|
1274
|
+
var dimensionValuesRaw = generatedValues.toReversed().slice(0, 100);
|
|
1274
1275
|
if (!(selectedDimension != null && selectedDimension.name) || !(dimensionValuesRaw != null && dimensionValuesRaw.length)) {
|
|
1275
1276
|
return null;
|
|
1276
1277
|
}
|
|
@@ -1361,7 +1362,8 @@ var DimensionSelect = function DimensionSelect(_ref) {
|
|
|
1361
1362
|
useLatestReferenceTime = _ref.useLatestReferenceTime,
|
|
1362
1363
|
SingleValueComponent = _ref.SingleValueComponent,
|
|
1363
1364
|
hideLatestDuplicate = _ref.hideLatestDuplicate,
|
|
1364
|
-
skipLocalStyling = _ref.skipLocalStyling
|
|
1365
|
+
skipLocalStyling = _ref.skipLocalStyling,
|
|
1366
|
+
layerId = _ref.layerId;
|
|
1365
1367
|
var _useCoreTranslation = useCoreTranslation(),
|
|
1366
1368
|
t = _useCoreTranslation.t;
|
|
1367
1369
|
var _useState = useState(layerDimensions == null || (_layerDimensions$ = layerDimensions[0]) == null ? void 0 : _layerDimensions$.name),
|
|
@@ -1370,6 +1372,8 @@ var DimensionSelect = function DimensionSelect(_ref) {
|
|
|
1370
1372
|
var selectedDimension = layerDimensions.find(function (dimension) {
|
|
1371
1373
|
return dimension.name === selectedDimensionName;
|
|
1372
1374
|
});
|
|
1375
|
+
var wmDimension = webmapUtils.getWMJSDimensionForLayerAndDimension(layerId || '', selectedDimension == null ? void 0 : selectedDimension.name);
|
|
1376
|
+
var generatedValues = (wmDimension == null ? void 0 : wmDimension.generateAllValues()) || [];
|
|
1373
1377
|
var dimensionNames = layerDimensions.map(function (dimension) {
|
|
1374
1378
|
return dimension.name;
|
|
1375
1379
|
});
|
|
@@ -1409,6 +1413,7 @@ var DimensionSelect = function DimensionSelect(_ref) {
|
|
|
1409
1413
|
position: "value"
|
|
1410
1414
|
})) : jsx(DimensionSelectValue, {
|
|
1411
1415
|
selectedDimension: selectedDimension,
|
|
1416
|
+
generatedValues: generatedValues,
|
|
1412
1417
|
onLayerChangeDimension: onLayerChangeDimension,
|
|
1413
1418
|
tooltip: valueTooltip,
|
|
1414
1419
|
isEnabled: isEnabled,
|
|
@@ -2435,7 +2440,8 @@ var LayerRowUnstyled = function LayerRowUnstyled(_ref8) {
|
|
|
2435
2440
|
layerId: layerId,
|
|
2436
2441
|
dimension: dimension
|
|
2437
2442
|
});
|
|
2438
|
-
}
|
|
2443
|
+
},
|
|
2444
|
+
layerId: layerId
|
|
2439
2445
|
})
|
|
2440
2446
|
}), jsx(RowItemCollapse, {
|
|
2441
2447
|
className: columnClasses.acceptanceTime,
|
|
@@ -2785,7 +2791,8 @@ var DimensionSelectConnect = function DimensionSelectConnect(_ref) {
|
|
|
2785
2791
|
isEnabled: isLayerEnabled,
|
|
2786
2792
|
useLatestReferenceTime: useLatestReferenceTime,
|
|
2787
2793
|
setUseLatestReferenceTime: setUseLatestReferenceTime,
|
|
2788
|
-
skipLocalStyling: skipLocalStyling
|
|
2794
|
+
skipLocalStyling: skipLocalStyling,
|
|
2795
|
+
layerId: layerId
|
|
2789
2796
|
});
|
|
2790
2797
|
};
|
|
2791
2798
|
|
|
@@ -3239,7 +3246,8 @@ var CustomDimensionSelectConnect = function CustomDimensionSelectConnect(_ref) {
|
|
|
3239
3246
|
},
|
|
3240
3247
|
isEnabled: isLayerEnabled,
|
|
3241
3248
|
useLatestReferenceTime: useLatestReferenceTime,
|
|
3242
|
-
setUseLatestReferenceTime: setUseLatestReferenceTime
|
|
3249
|
+
setUseLatestReferenceTime: setUseLatestReferenceTime,
|
|
3250
|
+
layerId: layerId
|
|
3243
3251
|
}, props));
|
|
3244
3252
|
};
|
|
3245
3253
|
|
|
@@ -6731,7 +6739,7 @@ var MapViewConnect = function MapViewConnect(_ref) {
|
|
|
6731
6739
|
return genericSelectors.selectLinkedPanelId(store, mapId);
|
|
6732
6740
|
});
|
|
6733
6741
|
var selectedFeatureCoordinates = useSelector(function (store) {
|
|
6734
|
-
return genericSelectors.getSelectedFeature(store.syncGroups, linkedPanelId);
|
|
6742
|
+
return linkedPanelId && genericSelectors.getSelectedFeature(store.syncGroups, linkedPanelId);
|
|
6735
6743
|
});
|
|
6736
6744
|
var disableMapPin = useSelector(function (store) {
|
|
6737
6745
|
return mapSelectors.getDisableMapPin(store, mapId);
|
|
@@ -7421,9 +7429,15 @@ var OlMapViewConnect = function OlMapViewConnect(_ref) {
|
|
|
7421
7429
|
var registerMap = React.useCallback(function (payload) {
|
|
7422
7430
|
dispatch(mapActions.registerMap(payload));
|
|
7423
7431
|
}, [dispatch]);
|
|
7432
|
+
var unregisterMap = React.useCallback(function (payload) {
|
|
7433
|
+
dispatch(mapActions.unregisterMap(payload));
|
|
7434
|
+
}, [dispatch]);
|
|
7424
7435
|
var syncGroupsAddSource = React.useCallback(function (payload) {
|
|
7425
7436
|
dispatch(genericActions.syncGroupAddSource(payload));
|
|
7426
7437
|
}, [dispatch]);
|
|
7438
|
+
var syncGroupRemoveSource = React.useCallback(function (payload) {
|
|
7439
|
+
dispatch(genericActions.syncGroupRemoveSource(payload));
|
|
7440
|
+
}, [dispatch]);
|
|
7427
7441
|
var hoverSelect = React.useMemo(function () {
|
|
7428
7442
|
return {
|
|
7429
7443
|
active: true,
|
|
@@ -7477,7 +7491,15 @@ var OlMapViewConnect = function OlMapViewConnect(_ref) {
|
|
|
7477
7491
|
id: mapId,
|
|
7478
7492
|
isGetMapLoading: false
|
|
7479
7493
|
}));
|
|
7480
|
-
|
|
7494
|
+
return function () {
|
|
7495
|
+
unregisterMap({
|
|
7496
|
+
mapId: mapId
|
|
7497
|
+
});
|
|
7498
|
+
syncGroupRemoveSource({
|
|
7499
|
+
id: mapId
|
|
7500
|
+
});
|
|
7501
|
+
};
|
|
7502
|
+
}, [dispatch, mapId, registerMap, syncGroupRemoveSource, syncGroupsAddSource, unregisterMap]);
|
|
7481
7503
|
var onGetMapLoadStart = React.useCallback(function () {
|
|
7482
7504
|
dispatch(loadingIndicatorActions.setGetMapIsLoading({
|
|
7483
7505
|
id: mapId,
|
|
@@ -8375,6 +8397,9 @@ var useUpdateTimeSpan = function useUpdateTimeSpan(mapId, myOnSetTimeSliderSpan)
|
|
|
8375
8397
|
var selectedTime = useSelector(function (store) {
|
|
8376
8398
|
return mapSelectors.getSelectedTime(store, mapId);
|
|
8377
8399
|
});
|
|
8400
|
+
var isAnimating = useSelector(function (store) {
|
|
8401
|
+
return mapSelectors.isAnimating(store, mapId);
|
|
8402
|
+
});
|
|
8378
8403
|
var updateTimeSliderSpan = function updateTimeSliderSpan(spanInSeconds, newCenterTime, newSecondsPerPx) {
|
|
8379
8404
|
if (spanInSeconds !== undefined && newCenterTime !== undefined && newSecondsPerPx !== undefined) {
|
|
8380
8405
|
// Do not dispatch actions if values are the same
|
|
@@ -8384,13 +8409,15 @@ var useUpdateTimeSpan = function useUpdateTimeSpan(mapId, myOnSetTimeSliderSpan)
|
|
|
8384
8409
|
}
|
|
8385
8410
|
};
|
|
8386
8411
|
React.useEffect(function () {
|
|
8387
|
-
if (isTimeSpanAuto && autoTimeStepLayerId && activeLayerTimeDimension) {
|
|
8412
|
+
if (isTimeSpanAuto && autoTimeStepLayerId && activeLayerTimeDimension && !isAnimating) {
|
|
8388
8413
|
var _getTimeBounds = getTimeBounds([activeLayerTimeDimension]),
|
|
8389
8414
|
startTime = _getTimeBounds.startTime,
|
|
8390
8415
|
endTime = _getTimeBounds.endTime;
|
|
8391
|
-
var
|
|
8416
|
+
var minimumStartTime = selectedTime - 24 * 3600;
|
|
8417
|
+
var slicedStartTime = startTime < minimumStartTime ? minimumStartTime : startTime;
|
|
8418
|
+
var spanInSeconds = endTime - slicedStartTime;
|
|
8392
8419
|
var newSecondsPerPx = secondsPerPxFromCanvasWidth(timeSliderWidth, spanInSeconds);
|
|
8393
|
-
var newCenterTime = (
|
|
8420
|
+
var newCenterTime = (slicedStartTime + endTime) / 2;
|
|
8394
8421
|
updateTimeSliderSpan(spanInSeconds, newCenterTime, newSecondsPerPx);
|
|
8395
8422
|
} else {
|
|
8396
8423
|
var _spanInSeconds = currentTimeSpan || defaultTimeSpan;
|
|
@@ -8399,7 +8426,7 @@ var useUpdateTimeSpan = function useUpdateTimeSpan(mapId, myOnSetTimeSliderSpan)
|
|
|
8399
8426
|
updateTimeSliderSpan(_spanInSeconds, _newCenterTime, _newSecondsPerPx);
|
|
8400
8427
|
}
|
|
8401
8428
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
8402
|
-
}, [autoTimeStepLayerId, isTimeSpanAuto, mapId]);
|
|
8429
|
+
}, [autoTimeStepLayerId, isTimeSpanAuto, mapId, activeLayerTimeDimension == null ? void 0 : activeLayerTimeDimension.name]);
|
|
8403
8430
|
};
|
|
8404
8431
|
var timeToIso = function timeToIso(selectedTime) {
|
|
8405
8432
|
return handleDateUtilsISOString(dateUtils.fromUnix(selectedTime).toISOString());
|
|
@@ -9167,7 +9194,7 @@ var HarmonieTempAndPrecipPreset = function HarmonieTempAndPrecipPreset(_ref) {
|
|
|
9167
9194
|
children: "Loading..."
|
|
9168
9195
|
});
|
|
9169
9196
|
}
|
|
9170
|
-
/* Helper to make a map layer
|
|
9197
|
+
/* Helper to make a map layer preset */
|
|
9171
9198
|
var makeMapPreset = function makeMapPreset(referenceTime, uniqueId, layer, syncGroupsIds, col) {
|
|
9172
9199
|
return {
|
|
9173
9200
|
id: uniqueId,
|
|
@@ -9182,6 +9209,7 @@ var HarmonieTempAndPrecipPreset = function HarmonieTempAndPrecipPreset(_ref) {
|
|
|
9182
9209
|
componentType: 'MultiMap',
|
|
9183
9210
|
layers: [Object.assign({}, layer, {
|
|
9184
9211
|
id: uniqueId,
|
|
9212
|
+
useLatestReferenceTime: false,
|
|
9185
9213
|
dimensions: [{
|
|
9186
9214
|
name: 'reference_time',
|
|
9187
9215
|
currentValue: referenceTime
|
|
@@ -9774,41 +9802,55 @@ var CoreThemeProvider = function CoreThemeProvider(_ref) {
|
|
|
9774
9802
|
});
|
|
9775
9803
|
};
|
|
9776
9804
|
/**
|
|
9777
|
-
* A Provider component which provides the GeoWeb
|
|
9805
|
+
* A Provider component which provides the GeoWeb store for the core.
|
|
9778
9806
|
* Note: Should only be used with core components, as the provided store is only for core.
|
|
9779
9807
|
* @param children
|
|
9780
9808
|
* @returns
|
|
9781
9809
|
*/
|
|
9782
|
-
var
|
|
9810
|
+
var CoreStoreProvider = function CoreStoreProvider(_ref2) {
|
|
9783
9811
|
var children = _ref2.children,
|
|
9784
|
-
_ref2$theme = _ref2.theme,
|
|
9785
|
-
theme = _ref2$theme === void 0 ? lightTheme : _ref2$theme,
|
|
9786
9812
|
store = _ref2.store;
|
|
9787
9813
|
return jsx(Provider, {
|
|
9814
|
+
store: store,
|
|
9815
|
+
children: jsx(SnackbarWrapperConnect, {
|
|
9816
|
+
children: children
|
|
9817
|
+
})
|
|
9818
|
+
});
|
|
9819
|
+
};
|
|
9820
|
+
/**
|
|
9821
|
+
* A Provider component which provides the GeoWeb theme and store for the core.
|
|
9822
|
+
* Note: Should only be used with core components, as the provided store is only for core.
|
|
9823
|
+
* @param children
|
|
9824
|
+
* @returns
|
|
9825
|
+
*/
|
|
9826
|
+
var CoreThemeStoreProvider = function CoreThemeStoreProvider(_ref3) {
|
|
9827
|
+
var children = _ref3.children,
|
|
9828
|
+
_ref3$theme = _ref3.theme,
|
|
9829
|
+
theme = _ref3$theme === void 0 ? lightTheme : _ref3$theme,
|
|
9830
|
+
store = _ref3.store;
|
|
9831
|
+
return jsx(CoreStoreProvider, {
|
|
9788
9832
|
store: store,
|
|
9789
9833
|
children: jsx(CoreThemeProvider, {
|
|
9790
9834
|
theme: theme,
|
|
9791
|
-
children:
|
|
9792
|
-
children: children
|
|
9793
|
-
})
|
|
9835
|
+
children: children
|
|
9794
9836
|
})
|
|
9795
9837
|
});
|
|
9796
9838
|
};
|
|
9797
|
-
var CoreI18nProvider = function CoreI18nProvider(
|
|
9798
|
-
var children =
|
|
9839
|
+
var CoreI18nProvider = function CoreI18nProvider(_ref4) {
|
|
9840
|
+
var children = _ref4.children;
|
|
9799
9841
|
initCoreReactI18n();
|
|
9800
9842
|
return jsx(I18nextProvider, {
|
|
9801
9843
|
i18n: i18n,
|
|
9802
9844
|
children: children
|
|
9803
9845
|
});
|
|
9804
9846
|
};
|
|
9805
|
-
// used for react
|
|
9847
|
+
// used for react tests
|
|
9806
9848
|
var DemoWrapper = function DemoWrapper(props) {
|
|
9807
9849
|
return jsx(CoreI18nProvider, {
|
|
9808
9850
|
children: jsx(CoreThemeProvider, Object.assign({}, props))
|
|
9809
9851
|
});
|
|
9810
9852
|
};
|
|
9811
|
-
// used for redux
|
|
9853
|
+
// used for redux tests
|
|
9812
9854
|
var DemoWrapperConnect = function DemoWrapperConnect(props) {
|
|
9813
9855
|
return jsx(CoreI18nProvider, {
|
|
9814
9856
|
children: jsx(CoreThemeStoreProvider, Object.assign({}, props))
|
|
@@ -10021,4 +10063,4 @@ var LanguageSelect = function LanguageSelect(_ref) {
|
|
|
10021
10063
|
});
|
|
10022
10064
|
};
|
|
10023
10065
|
|
|
10024
|
-
export { CORE_NAMESPACE, ConfigurableMapConnect, CoreI18nProvider, CoreThemeProvider, CoreThemeStoreProvider, DemoWrapper, DemoWrapperConnect, HarmonieTempAndPrecipPreset, LanguageSelect, LayerInfoButtonConnect, LayerInfoDialogConnect, LayerManager, BaseLayerRow as LayerManagerBaseLayerRow, LayerManagerConnect, DescriptionRow as LayerManagerDescriptionRow, HeaderOptions as LayerManagerHeaderOptions, LayerContainerRow as LayerManagerLayerContainerRow, LayerManagerMapButtonConnect, LegendConnect, LegendMapButtonConnect, MapViewConnect, MultiDimensionSelectMapButtonsConnect, MultiMapMultiDimensionSelectConnect as MultiMapDimensionSelectConnect, MultiMapViewConnect, MyMapLocation, OlMapViewConnect, RouterWrapperConnect, SearchControlButtonConnect, SearchDialog, SearchDialogConnect, SentryRecordButton, SyncGroupViewerConnect, TimeSliderConnect, ZoomControlConnect, componentsLookUp, coreTranslations, defaultBbox, defaultConfigurations, filterMapPresets, filterServices, filterTimeSeriesServices, getLanguageFromLocalStorage, languageLocalStorageKey, saveLanguageToLocalStorage, testLayers, useFetchServices, useUpdateTimeSpan, useUpdateTimestep };
|
|
10066
|
+
export { CORE_NAMESPACE, ConfigurableMapConnect, CoreI18nProvider, CoreStoreProvider, CoreThemeProvider, CoreThemeStoreProvider, DemoWrapper, DemoWrapperConnect, HarmonieTempAndPrecipPreset, LanguageSelect, LayerInfoButtonConnect, LayerInfoDialogConnect, LayerManager, BaseLayerRow as LayerManagerBaseLayerRow, LayerManagerConnect, DescriptionRow as LayerManagerDescriptionRow, HeaderOptions as LayerManagerHeaderOptions, LayerContainerRow as LayerManagerLayerContainerRow, LayerManagerMapButtonConnect, LegendConnect, LegendMapButtonConnect, MapViewConnect, MultiDimensionSelectMapButtonsConnect, MultiMapMultiDimensionSelectConnect as MultiMapDimensionSelectConnect, MultiMapViewConnect, MyMapLocation, OlMapViewConnect, RouterWrapperConnect, SearchControlButtonConnect, SearchDialog, SearchDialogConnect, SentryRecordButton, SyncGroupViewerConnect, TimeSliderConnect, ZoomControlConnect, componentsLookUp, coreTranslations, defaultBbox, defaultConfigurations, filterMapPresets, filterServices, filterTimeSeriesServices, getCenterOfLinkedFeature, getLanguageFromLocalStorage, languageLocalStorageKey, makeLayerInfoPayload, makePrefetchTimeSpan, saveLanguageToLocalStorage, testLayers, useFetchServices, useUpdateTimeSpan, useUpdateTimestep };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/core",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.1.1",
|
|
4
4
|
"description": "GeoWeb Core library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -8,44 +8,37 @@
|
|
|
8
8
|
"url": "git@gitlab.com:opengeoweb/opengeoweb.git"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@
|
|
12
|
-
"
|
|
13
|
-
"@
|
|
14
|
-
"@
|
|
15
|
-
"@mui/x-date-pickers": "7.27.1",
|
|
11
|
+
"@opengeoweb/shared": "12.1.1",
|
|
12
|
+
"react-redux": "^8.1.3",
|
|
13
|
+
"@opengeoweb/store": "12.1.1",
|
|
14
|
+
"@opengeoweb/timeslider": "12.1.1",
|
|
16
15
|
"@reduxjs/toolkit": "^1.9.7",
|
|
17
|
-
"@
|
|
18
|
-
"@
|
|
19
|
-
"@
|
|
20
|
-
"@storybook/react": "8.4.2",
|
|
21
|
-
"@tanstack/query-core": "5.67.1",
|
|
22
|
-
"@tanstack/react-query": "^5.62.7",
|
|
23
|
-
"@testing-library/react": "16.0.1",
|
|
24
|
-
"@testing-library/user-event": "14.5.2",
|
|
25
|
-
"@turf/turf": "7.2.0",
|
|
16
|
+
"@opengeoweb/webmap-react": "12.1.1",
|
|
17
|
+
"@opengeoweb/webmap": "12.1.1",
|
|
18
|
+
"@opengeoweb/theme": "12.1.1",
|
|
26
19
|
"axios": "^1.7.7",
|
|
27
|
-
"
|
|
28
|
-
"dompurify": "^3.0.6",
|
|
29
|
-
"i18next": "^23.11.5",
|
|
30
|
-
"immer": "10.1.1",
|
|
31
|
-
"jest-canvas-mock": "2.5.2",
|
|
32
|
-
"jest-date-mock": "1.0.10",
|
|
20
|
+
"@opengeoweb/layer-select": "12.1.1",
|
|
33
21
|
"lodash": "^4.17.21",
|
|
34
|
-
"msw": "2.7.3",
|
|
35
|
-
"msw-storybook-addon": "2.0.4",
|
|
36
22
|
"ol": "^10.4.0",
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
23
|
+
"react-sortablejs": "^6.1.4",
|
|
24
|
+
"sortablejs": "^1.15.1",
|
|
25
|
+
"@mui/system": "^6.1.1",
|
|
26
|
+
"@opengeoweb/snackbar": "12.1.1",
|
|
27
|
+
"react-router-dom": "^6.21.0",
|
|
40
28
|
"react-draggable": "^4.4.6",
|
|
41
|
-
"
|
|
29
|
+
"i18next": "^23.11.5",
|
|
42
30
|
"react-i18next": "^15.1.1",
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"react
|
|
46
|
-
"
|
|
47
|
-
"react-
|
|
48
|
-
"
|
|
31
|
+
"dompurify": "^3.0.6",
|
|
32
|
+
"@mui/material": "^6.1.1",
|
|
33
|
+
"@sentry/react": "^8.34.0",
|
|
34
|
+
"@opengeoweb/authentication": "12.1.1",
|
|
35
|
+
"@tanstack/react-query": "^5.62.7",
|
|
36
|
+
"@opengeoweb/api": "12.1.1"
|
|
37
|
+
},
|
|
38
|
+
"peerDependencies": {
|
|
39
|
+
"react": "18",
|
|
40
|
+
"@emotion/react": "*",
|
|
41
|
+
"@emotion/styled": "*"
|
|
49
42
|
},
|
|
50
43
|
"module": "./index.esm.js",
|
|
51
44
|
"type": "module",
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { componentsLookUp } from './componentsLookUp';
|
|
3
|
+
declare const meta: Meta<typeof componentsLookUp>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof componentsLookUp>;
|
|
6
|
+
export declare const Component: Story;
|
|
7
|
+
export declare const ComponentsLookUpLightTheme: Story;
|
|
8
|
+
export declare const ComponentsLookUpDarkTheme: Story;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export default
|
|
2
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
|
+
import { ConfigurableMapConnect } from './ConfigurableMapConnect';
|
|
4
|
+
declare const meta: Meta<typeof ConfigurableMapConnect>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<typeof ConfigurableMapConnect>;
|
|
7
|
+
export declare const Component: Story;
|
|
6
8
|
export declare const ConfigurableMapDefault: () => React.ReactElement;
|
|
7
9
|
export declare const ConfigurableMapCustomized: () => React.ReactElement;
|
|
8
10
|
export declare const ConfigurableMapDrawControls: () => React.ReactElement;
|
|
@@ -1,33 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare const Languages:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
zeplinLink: {
|
|
11
|
-
name: string;
|
|
12
|
-
link: string;
|
|
13
|
-
}[];
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export declare const LanguagesDark: {
|
|
17
|
-
(): React.ReactElement;
|
|
18
|
-
parameters: {
|
|
19
|
-
layout: string;
|
|
20
|
-
zeplinLink: {
|
|
21
|
-
name: string;
|
|
22
|
-
link: string;
|
|
23
|
-
}[];
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
export declare const LanguagesSnaphot: {
|
|
27
|
-
(): React.ReactElement;
|
|
28
|
-
tags: string[];
|
|
29
|
-
};
|
|
30
|
-
export declare const LanguagesSnapshotDark: {
|
|
31
|
-
(): React.ReactElement;
|
|
32
|
-
tags: string[];
|
|
33
|
-
};
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import LanguageSelect from './LanguageSelect';
|
|
3
|
+
declare const meta: Meta<typeof LanguageSelect>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof LanguageSelect>;
|
|
6
|
+
export declare const Languages: Story;
|
|
7
|
+
export declare const LanguagesDark: Story;
|
|
8
|
+
export declare const LanguagesSnaphot: Story;
|
|
9
|
+
export declare const LanguagesSnapshotDark: Story;
|
|
@@ -22,6 +22,7 @@ export interface DimensionSelectProps {
|
|
|
22
22
|
SingleValueComponent?: React.FC<SingleValueComponentProps>;
|
|
23
23
|
hideLatestDuplicate?: boolean;
|
|
24
24
|
skipLocalStyling?: boolean;
|
|
25
|
+
layerId: string;
|
|
25
26
|
}
|
|
26
27
|
declare const DimensionSelect: FC<DimensionSelectProps>;
|
|
27
28
|
export default DimensionSelect;
|
|
@@ -3,6 +3,7 @@ import { layerTypes, mapTypes } from '@opengeoweb/store';
|
|
|
3
3
|
import { DimensionValueMappings } from '../../../LayerManagerUtils';
|
|
4
4
|
declare const DimensionSelectValue: FC<{
|
|
5
5
|
selectedDimension?: mapTypes.Dimension;
|
|
6
|
+
generatedValues: string[];
|
|
6
7
|
icon?: ElementType;
|
|
7
8
|
tooltip: string;
|
|
8
9
|
isEnabled: boolean;
|
|
@@ -1,90 +1,19 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
export declare const
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
name: string;
|
|
21
|
-
link: string;
|
|
22
|
-
}[];
|
|
23
|
-
};
|
|
24
|
-
tags: string[];
|
|
25
|
-
};
|
|
26
|
-
export declare const LayerManagerLightThemeSmall: {
|
|
27
|
-
(): React.ReactElement;
|
|
28
|
-
tags: string[];
|
|
29
|
-
};
|
|
30
|
-
export declare const LayerManagerLightThemeMedium: {
|
|
31
|
-
(): React.ReactElement;
|
|
32
|
-
parameters: {
|
|
33
|
-
zeplinLink: {
|
|
34
|
-
name: string;
|
|
35
|
-
link: string;
|
|
36
|
-
}[];
|
|
37
|
-
};
|
|
38
|
-
tags: string[];
|
|
39
|
-
};
|
|
40
|
-
export declare const LayerManagerDarkTheme: {
|
|
41
|
-
(): React.ReactElement;
|
|
42
|
-
parameters: {
|
|
43
|
-
zeplinLink: {
|
|
44
|
-
name: string;
|
|
45
|
-
link: string;
|
|
46
|
-
}[];
|
|
47
|
-
};
|
|
48
|
-
tags: string[];
|
|
49
|
-
};
|
|
50
|
-
export declare const DockedLayerManagerDarkTheme: {
|
|
51
|
-
(): React.ReactElement;
|
|
52
|
-
parameters: {
|
|
53
|
-
zeplinLink: {
|
|
54
|
-
name: string;
|
|
55
|
-
link: string;
|
|
56
|
-
}[];
|
|
57
|
-
};
|
|
58
|
-
tags: string[];
|
|
59
|
-
};
|
|
60
|
-
export declare const LayerManagerDarkThemeSmall: {
|
|
61
|
-
(): React.ReactElement;
|
|
62
|
-
tags: string[];
|
|
63
|
-
};
|
|
64
|
-
export declare const LayerManagerDarkThemeMedium: {
|
|
65
|
-
(): React.ReactElement;
|
|
66
|
-
parameters: {
|
|
67
|
-
zeplinLink: {
|
|
68
|
-
name: string;
|
|
69
|
-
link: string;
|
|
70
|
-
}[];
|
|
71
|
-
};
|
|
72
|
-
tags: string[];
|
|
73
|
-
};
|
|
74
|
-
export declare const LayerManagerLoadingState: () => React.ReactElement;
|
|
75
|
-
export declare const LayerManagerWithErrorLight: {
|
|
76
|
-
(): React.ReactElement;
|
|
77
|
-
tags: string[];
|
|
78
|
-
};
|
|
79
|
-
export declare const LayerManagerWithErrorDark: {
|
|
80
|
-
(): React.ReactElement;
|
|
81
|
-
tags: string[];
|
|
82
|
-
};
|
|
83
|
-
export declare const LayerManagerCollapsedLight: {
|
|
84
|
-
(): React.ReactElement;
|
|
85
|
-
tags: string[];
|
|
86
|
-
};
|
|
87
|
-
export declare const LayerManagerCollapsedDark: {
|
|
88
|
-
(): React.ReactElement;
|
|
89
|
-
tags: string[];
|
|
90
|
-
};
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import LayerManager from './LayerManager';
|
|
3
|
+
declare const meta: Meta<typeof LayerManager>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof LayerManager>;
|
|
6
|
+
export declare const Component: Story;
|
|
7
|
+
export declare const LayerManagerLightTheme: Story;
|
|
8
|
+
export declare const DockedLayerManagerLightTheme: Story;
|
|
9
|
+
export declare const LayerManagerLightThemeSmall: Story;
|
|
10
|
+
export declare const LayerManagerLightThemeMedium: Story;
|
|
11
|
+
export declare const LayerManagerDarkTheme: Story;
|
|
12
|
+
export declare const DockedLayerManagerDarkTheme: Story;
|
|
13
|
+
export declare const LayerManagerDarkThemeSmall: Story;
|
|
14
|
+
export declare const LayerManagerDarkThemeMedium: Story;
|
|
15
|
+
export declare const LayerManagerLoadingState: Story;
|
|
16
|
+
export declare const LayerManagerWithErrorLight: Story;
|
|
17
|
+
export declare const LayerManagerWithErrorDark: Story;
|
|
18
|
+
export declare const LayerManagerCollapsedLight: Story;
|
|
19
|
+
export declare const LayerManagerCollapsedDark: Story;
|
|
@@ -1,25 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export default
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
zeplinLink: {
|
|
10
|
-
name: string;
|
|
11
|
-
link: string;
|
|
12
|
-
}[];
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export declare const LayerManagerConnectDarkTheme: {
|
|
16
|
-
(): React.ReactElement;
|
|
17
|
-
parameters: {
|
|
18
|
-
zeplinLink: {
|
|
19
|
-
name: string;
|
|
20
|
-
link: string;
|
|
21
|
-
}[];
|
|
22
|
-
};
|
|
23
|
-
};
|
|
2
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
|
+
import { LayerManagerConnect } from '.';
|
|
4
|
+
declare const meta: Meta<typeof LayerManagerConnect>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<typeof LayerManagerConnect>;
|
|
7
|
+
export declare const LayerManagerConnectLightTheme: Story;
|
|
8
|
+
export declare const LayerManagerConnectDarkTheme: Story;
|
|
24
9
|
export declare const LayerManagerConnectWithMultiMaps: () => React.ReactElement;
|
|
25
10
|
export declare const LayerManagerConnectWithTiledMap: () => React.ReactElement;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare const MapWithLayerSelectDemoLightTheme:
|
|
7
|
-
export declare const MapWithLayerSelectDemoDarkTheme:
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import LayerManagerMapButtonConnect from '../LayerManagerMapButtonConnect';
|
|
3
|
+
declare const meta: Meta<typeof LayerManagerMapButtonConnect>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof LayerManagerMapButtonConnect>;
|
|
6
|
+
export declare const MapWithLayerSelectDemoLightTheme: Story;
|
|
7
|
+
export declare const MapWithLayerSelectDemoDarkTheme: Story;
|
package/src/lib/components/MapViewConnect/MapViewConnect.LayerChangeEnabledOpacity.stories.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { layerActions, layerTypes } from '@opengeoweb/store';
|
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
5
|
component: React.FC<import("./MapViewConnect").MapViewConnectProps>;
|
|
6
|
+
tags: string[];
|
|
6
7
|
};
|
|
7
8
|
export default _default;
|
|
8
9
|
export interface LayerChangeOpacityInputProps {
|
package/src/lib/components/MapViewConnect/MapViewConnect.MapModuleOverDefaultMap.stories.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
declare const _default: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: React.FC<import("./MapViewConnect").MapViewConnectProps>;
|
|
5
|
+
tags: string[];
|
|
5
6
|
};
|
|
6
7
|
export default _default;
|
|
7
8
|
export declare const MapModuleOverDefaultMap: () => React.ReactElement;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -17,6 +17,15 @@ export declare const CoreThemeProvider: React.FC<CoreThemeProviderProps>;
|
|
|
17
17
|
interface CoreThemeStoreProviderProps extends CoreThemeProviderProps {
|
|
18
18
|
store: Store;
|
|
19
19
|
}
|
|
20
|
+
/**
|
|
21
|
+
* A Provider component which provides the GeoWeb store for the core.
|
|
22
|
+
* Note: Should only be used with core components, as the provided store is only for core.
|
|
23
|
+
* @param children
|
|
24
|
+
* @returns
|
|
25
|
+
*/
|
|
26
|
+
export declare const CoreStoreProvider: React.FC<CoreTranslationWrapperProps & {
|
|
27
|
+
store: Store;
|
|
28
|
+
}>;
|
|
20
29
|
/**
|
|
21
30
|
* A Provider component which provides the GeoWeb theme and store for the core.
|
|
22
31
|
* Note: Should only be used with core components, as the provided store is only for core.
|
|
@@ -1,13 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare const SearchDialogLight:
|
|
7
|
-
|
|
8
|
-
tags: string[];
|
|
9
|
-
};
|
|
10
|
-
export declare const SearchDialogDark: {
|
|
11
|
-
(): React.ReactElement;
|
|
12
|
-
tags: string[];
|
|
13
|
-
};
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { SearchDialog } from './SearchDialog';
|
|
3
|
+
declare const meta: Meta<typeof SearchDialog>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof SearchDialog>;
|
|
6
|
+
export declare const SearchDialogLight: Story;
|
|
7
|
+
export declare const SearchDialogDark: Story;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
declare const _default: {
|
|
3
3
|
title: string;
|
|
4
|
+
tags: string[];
|
|
4
5
|
};
|
|
5
6
|
export default _default;
|
|
6
7
|
export declare const SearchDialogConnectLight: () => React.ReactElement;
|
|
7
|
-
export declare const SearchDialogConnectDark:
|
|
8
|
+
export declare const SearchDialogConnectDark: {
|
|
9
|
+
(): React.ReactElement;
|
|
10
|
+
tags: string[];
|
|
11
|
+
};
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
declare const _default: {
|
|
3
3
|
title: string;
|
|
4
|
+
tags: string[];
|
|
4
5
|
};
|
|
5
6
|
export default _default;
|
|
6
|
-
export declare const FourMapsSynced:
|
|
7
|
+
export declare const FourMapsSynced: {
|
|
8
|
+
(): React.ReactElement;
|
|
9
|
+
tags: string[];
|
|
10
|
+
};
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
declare const _default: {
|
|
3
3
|
title: string;
|
|
4
|
+
tags: string[];
|
|
4
5
|
};
|
|
5
6
|
export default _default;
|
|
6
|
-
export declare const SyncMaps:
|
|
7
|
+
export declare const SyncMaps: {
|
|
8
|
+
(): React.ReactElement;
|
|
9
|
+
tags: string[];
|
|
10
|
+
};
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
declare const _default: {
|
|
3
3
|
title: string;
|
|
4
|
+
tags: string[];
|
|
4
5
|
};
|
|
5
6
|
export default _default;
|
|
6
|
-
export declare const TwoMapsSynced:
|
|
7
|
+
export declare const TwoMapsSynced: {
|
|
8
|
+
(): React.ReactElement;
|
|
9
|
+
tags: string[];
|
|
10
|
+
};
|
|
@@ -1,15 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare const DemoTimeSliderConnect:
|
|
7
|
-
(): React.ReactElement;
|
|
8
|
-
storyName: string;
|
|
9
|
-
parameters: {
|
|
10
|
-
zeplinLink: {
|
|
11
|
-
name: string;
|
|
12
|
-
link: string;
|
|
13
|
-
}[];
|
|
14
|
-
};
|
|
15
|
-
};
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { TimeSliderConnect } from './TimeSliderConnect';
|
|
3
|
+
declare const meta: Meta<typeof TimeSliderConnect>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof TimeSliderConnect>;
|
|
6
|
+
export declare const DemoTimeSliderConnect: Story;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { MultiMapViewStory2x2 } from './MultiMapView2x2.stories';
|
|
2
|
-
import { MultiMapViewStory4x3 } from './MultiMapView4x3.stories';
|
|
3
|
-
import { MultiMapViewStory10x10 } from './MultiMapView10x10.stories';
|
|
4
|
-
import { ModelRunIntervalCustomStart, ModelRunIntervalDefault, ModelRunIntervalHourly } from './ModelRunInterval/ModelRunInterval.stories';
|
|
5
|
-
export { MultiMapViewStory2x2, MultiMapViewStory4x3, MultiMapViewStory10x10, ModelRunIntervalDefault, ModelRunIntervalHourly, ModelRunIntervalCustomStart, };
|
|
6
|
-
declare const _default: {
|
|
7
|
-
title: string;
|
|
8
|
-
};
|
|
9
|
-
export default _default;
|