@opengeoweb/store 9.1.0 → 9.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.
package/index.esm.js CHANGED
@@ -29868,7 +29868,7 @@ var linkedMapAnimationInfo = createSelector(function (store, mapId) {
29868
29868
  * @returns {string} returnType: string
29869
29869
  */
29870
29870
  var getAnimationStartTime = createSelector(getMapById, function (store) {
29871
- return store ? store.animationStartTime : moment.utc().subtract(6, 'h').format(dateFormat);
29871
+ return (store === null || store === void 0 ? void 0 : store.animationStartTime) ? store.animationStartTime : moment.utc().subtract(6, 'h').format(dateFormat);
29872
29872
  });
29873
29873
  /**
29874
29874
  * Gets end time of animation
@@ -29879,7 +29879,7 @@ var getAnimationStartTime = createSelector(getMapById, function (store) {
29879
29879
  * @returns {string} returnType: string
29880
29880
  */
29881
29881
  var getAnimationEndTime$1 = createSelector(getMapById, function (store) {
29882
- return store ? store.animationEndTime : moment.utc().subtract(10, 'm').format(dateFormat);
29882
+ return (store === null || store === void 0 ? void 0 : store.animationEndTime) ? store.animationEndTime : moment.utc().subtract(10, 'm').format(dateFormat);
29883
29883
  });
29884
29884
  /**
29885
29885
  * Returns map is auto updating
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/store",
3
- "version": "9.1.0",
3
+ "version": "9.3.0",
4
4
  "description": "GeoWeb Store library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -244,7 +244,7 @@ export declare const linkedMapAnimationInfo: ((state: CoreAppStore, mapId: strin
244
244
  * @param {string} mapId mapId: string - Id of the map
245
245
  * @returns {string} returnType: string
246
246
  */
247
- export declare const getAnimationStartTime: ((state: CoreAppStore | undefined, mapId: string) => string | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string | undefined, {
247
+ export declare const getAnimationStartTime: ((state: CoreAppStore | undefined, mapId: string) => string) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string, {
248
248
  clearCache: () => void;
249
249
  }> & {
250
250
  clearCache: () => void;
@@ -257,7 +257,7 @@ export declare const getAnimationStartTime: ((state: CoreAppStore | undefined, m
257
257
  * @param {string} mapId mapId: string - Id of the map
258
258
  * @returns {string} returnType: string
259
259
  */
260
- export declare const getAnimationEndTime: ((state: CoreAppStore | undefined, mapId: string) => string | undefined) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string | undefined, {
260
+ export declare const getAnimationEndTime: ((state: CoreAppStore | undefined, mapId: string) => string) & import("reselect").OutputSelectorFields<(args_0: WebMap | undefined) => string, {
261
261
  clearCache: () => void;
262
262
  }> & {
263
263
  clearCache: () => void;
@@ -627,7 +627,7 @@ export declare const getLegendId: ((state: CoreAppStore | undefined, mapId: stri
627
627
  * @param {string} mapId mapId: string - Id of the map
628
628
  * @returns {MapPreset} returnType: MapPreset
629
629
  */
630
- export declare const getMapPreset: ((state: CoreAppStore, mapId: string) => MapPreset) & import("reselect").OutputSelectorFields<(args_0: import("../types").ReduxLayer[], args_1: import("../types").ReduxLayer[], args_2: import("../types").ReduxLayer[], args_3: Bbox, args_4: string, args_5: string | undefined, args_6: string | undefined, args_7: string | undefined, args_8: boolean, args_9: boolean, args_10: boolean | undefined, args_11: boolean | undefined, args_12: boolean | undefined, args_13: number, args_14: number | undefined, args_15: string | undefined, args_16: string | undefined, args_17: boolean | undefined, args_18: string | undefined, args_19: uiTypes.UIStoreType) => MapPreset, {
630
+ export declare const getMapPreset: ((state: CoreAppStore, mapId: string) => MapPreset) & import("reselect").OutputSelectorFields<(args_0: import("../types").ReduxLayer[], args_1: import("../types").ReduxLayer[], args_2: import("../types").ReduxLayer[], args_3: Bbox, args_4: string, args_5: string | undefined, args_6: string | undefined, args_7: string | undefined, args_8: boolean, args_9: boolean, args_10: boolean | undefined, args_11: boolean | undefined, args_12: boolean | undefined, args_13: number, args_14: number | undefined, args_15: string, args_16: string, args_17: boolean | undefined, args_18: string | undefined, args_19: uiTypes.UIStoreType) => MapPreset, {
631
631
  clearCache: () => void;
632
632
  }> & {
633
633
  clearCache: () => void;