@opengeoweb/workspace 12.10.0 → 12.12.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/workspace",
3
- "version": "12.10.0",
3
+ "version": "12.12.0",
4
4
  "description": "GeoWeb Workspace library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -9,30 +9,30 @@
9
9
  },
10
10
  "dependencies": {
11
11
  "react-redux": "^9.2.0",
12
- "@opengeoweb/shared": "12.10.0",
13
- "@opengeoweb/store": "12.10.0",
14
- "@opengeoweb/api": "12.10.0",
12
+ "@opengeoweb/shared": "12.12.0",
13
+ "@opengeoweb/store": "12.12.0",
14
+ "@opengeoweb/api": "12.12.0",
15
15
  "react-hook-form": "^7.50.1",
16
- "@opengeoweb/theme": "12.10.0",
16
+ "@opengeoweb/theme": "12.12.0",
17
17
  "@reduxjs/toolkit": "^2.6.1",
18
- "@opengeoweb/snackbar": "12.10.0",
18
+ "@opengeoweb/snackbar": "12.12.0",
19
19
  "react-window": "^1.8.10",
20
20
  "lodash": "^4.17.21",
21
21
  "axios": "^1.7.7",
22
22
  "react-virtualized-auto-sizer": "^1.0.21",
23
23
  "react-mosaic-component": "^6.1.0",
24
- "@opengeoweb/form-fields": "12.10.0",
25
- "@opengeoweb/timeseries": "12.10.0",
26
- "@opengeoweb/authentication": "12.10.0",
27
- "@opengeoweb/core": "12.10.0",
28
- "@opengeoweb/taf": "12.10.0",
29
- "@opengeoweb/sigmet-airmet": "12.10.0",
30
- "@opengeoweb/warnings": "12.10.0",
31
- "@opengeoweb/spaceweather": "12.10.0",
24
+ "@opengeoweb/form-fields": "12.12.0",
25
+ "@opengeoweb/timeseries": "12.12.0",
26
+ "@opengeoweb/authentication": "12.12.0",
27
+ "@opengeoweb/core": "12.12.0",
28
+ "@opengeoweb/taf": "12.12.0",
29
+ "@opengeoweb/sigmet-airmet": "12.12.0",
30
+ "@opengeoweb/warnings": "12.12.0",
31
+ "@opengeoweb/spaceweather": "12.12.0",
32
32
  "i18next": "^25.0.1",
33
33
  "react-i18next": "^15.1.1",
34
34
  "@mui/material": "^7.0.1",
35
- "@opengeoweb/webmap-react": "12.10.0",
35
+ "@opengeoweb/webmap-react": "12.12.0",
36
36
  "@tanstack/react-query": "^5.69.2"
37
37
  },
38
38
  "peerDependencies": {
@@ -40,6 +40,9 @@
40
40
  "@emotion/react": "*",
41
41
  "@emotion/styled": "*"
42
42
  },
43
+ "devDependencies": {
44
+ "eslint-plugin-storybook": "9.0.17"
45
+ },
43
46
  "module": "./index.esm.js",
44
47
  "type": "module",
45
48
  "main": "./index.esm.js",
@@ -1,4 +1,4 @@
1
- import type { StoryObj } from '@storybook/react';
1
+ import type { StoryObj } from '@storybook/react-webpack5';
2
2
  import { StoryWrapper } from './storyUtils/StoryWrapper';
3
3
  declare const _default: {
4
4
  title: string;
@@ -1,4 +1,4 @@
1
- import type { StoryObj } from '@storybook/react';
1
+ import type { StoryObj } from '@storybook/react-webpack5';
2
2
  import { ViewPresetMenu } from './ViewPresetMenu';
3
3
  declare const _default: {
4
4
  title: string;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { Meta, StoryObj } from '@storybook/react';
2
+ import type { Meta, StoryObj } from '@storybook/react-webpack5';
3
3
  import ViewPresetsFormDialog from './ViewPresetsFormDialog';
4
4
  declare const meta: Meta<typeof ViewPresetsFormDialog>;
5
5
  export default meta;
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from '@storybook/react';
1
+ import type { Meta, StoryObj } from '@storybook/react-webpack5';
2
2
  import { WorkspaceMenu } from './WorkspaceMenu';
3
3
  declare const meta: Meta<typeof WorkspaceMenu>;
4
4
  export default meta;
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from '@storybook/react';
1
+ import type { Meta, StoryObj } from '@storybook/react-webpack5';
2
2
  import { WorkspaceMenuButton } from './WorkspaceMenuButton';
3
3
  declare const meta: Meta<typeof WorkspaceMenuButton>;
4
4
  export default meta;
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from '@storybook/react';
1
+ import type { Meta, StoryObj } from '@storybook/react-webpack5';
2
2
  import { WorkspaceOptions } from './WorkspaceOptions';
3
3
  declare const meta: Meta<typeof WorkspaceOptions>;
4
4
  export default meta;
@@ -1,4 +1,4 @@
1
- import type { StoryObj } from '@storybook/react';
1
+ import type { StoryObj } from '@storybook/react-webpack5';
2
2
  import WorkspacePresetsFormDialog from './WorkspacePresetsFormDialog';
3
3
  declare const _default: {
4
4
  title: string;
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from '@storybook/react';
1
+ import type { Meta, StoryObj } from '@storybook/react-webpack5';
2
2
  import WorkspacePresetsSelectListRow from './WorkspaceSelectListRow';
3
3
  declare const meta: Meta<typeof WorkspacePresetsSelectListRow>;
4
4
  export default meta;
@@ -386,7 +386,7 @@ export declare const getViewPresetListFiltersForView: ((state: AppStore, _panelI
386
386
  isDisabled: boolean;
387
387
  label: string;
388
388
  id: import("../workspaceList/types").PresetFilterType | "all";
389
- isSelected?: boolean | undefined;
389
+ isSelected?: boolean;
390
390
  }[]) & {
391
391
  clearCache: () => void;
392
392
  resultsCount: () => number;
@@ -406,7 +406,7 @@ export declare const getViewPresetListFiltersForView: ((state: AppStore, _panelI
406
406
  isDisabled: boolean;
407
407
  label: string;
408
408
  id: import("../workspaceList/types").PresetFilterType | "all";
409
- isSelected?: boolean | undefined;
409
+ isSelected?: boolean;
410
410
  }[];
411
411
  memoizedResultFunc: ((resultFuncArgs_0: {
412
412
  panelId: string;
@@ -422,7 +422,7 @@ export declare const getViewPresetListFiltersForView: ((state: AppStore, _panelI
422
422
  isDisabled: boolean;
423
423
  label: string;
424
424
  id: import("../workspaceList/types").PresetFilterType | "all";
425
- isSelected?: boolean | undefined;
425
+ isSelected?: boolean;
426
426
  }[]) & {
427
427
  clearCache: () => void;
428
428
  resultsCount: () => number;
@@ -432,7 +432,7 @@ export declare const getViewPresetListFiltersForView: ((state: AppStore, _panelI
432
432
  isDisabled: boolean;
433
433
  label: string;
434
434
  id: import("../workspaceList/types").PresetFilterType | "all";
435
- isSelected?: boolean | undefined;
435
+ isSelected?: boolean;
436
436
  }[];
437
437
  dependencies: [(state: AppStore, id: string) => {
438
438
  panelId: string;
@@ -1,7 +1,7 @@
1
1
  import { AppStore } from '../types';
2
2
  import { ViewPresetListItem, ViewPresetListState } from './types';
3
3
  export declare const getViewPresetsListStore: (store: AppStore) => ViewPresetListState;
4
- export declare const getViewPresetsList: (state: AppStore) => ViewPresetListItem[], selectById: (state: AppStore, id: string) => {
4
+ export declare const getViewPresetsList: (state: AppStore) => ViewPresetListItem[], getViewPresetFromList: (state: AppStore, id: string) => {
5
5
  id: string;
6
6
  title: string;
7
7
  date: string;
@@ -687,24 +687,24 @@ export declare const getViewComponentType: ((state: AppStore, viewId: string) =>
687
687
  argsMemoize: typeof import("reselect").weakMapMemoize;
688
688
  };
689
689
  export declare const getViewPresetToSendToBackend: ((state: any, viewId: any) => Omit<ViewPreset, "title"> & {
690
- title?: string | undefined;
690
+ title?: string;
691
691
  }) & {
692
692
  clearCache: () => void;
693
693
  resultsCount: () => number;
694
694
  resetResultsCount: () => void;
695
695
  } & {
696
696
  resultFunc: (resultFuncArgs_0: import("./types").WorkspaceViewType, resultFuncArgs_1: WorkspaceSupportedComponentTypes, resultFuncArgs_2: import("@opengeoweb/store").MapPreset, resultFuncArgs_3: string[], resultFuncArgs_4: import("dist/libs/timeseries/src/lib/store/types").TimeSeriesPreset | undefined) => Omit<ViewPreset, "title"> & {
697
- title?: string | undefined;
697
+ title?: string;
698
698
  };
699
699
  memoizedResultFunc: ((resultFuncArgs_0: import("./types").WorkspaceViewType, resultFuncArgs_1: WorkspaceSupportedComponentTypes, resultFuncArgs_2: import("@opengeoweb/store").MapPreset, resultFuncArgs_3: string[], resultFuncArgs_4: import("dist/libs/timeseries/src/lib/store/types").TimeSeriesPreset | undefined) => Omit<ViewPreset, "title"> & {
700
- title?: string | undefined;
700
+ title?: string;
701
701
  }) & {
702
702
  clearCache: () => void;
703
703
  resultsCount: () => number;
704
704
  resetResultsCount: () => void;
705
705
  };
706
706
  lastResult: () => Omit<ViewPreset, "title"> & {
707
- title?: string | undefined;
707
+ title?: string;
708
708
  };
709
709
  dependencies: [((state: AppStore, viewId: string) => import("./types").WorkspaceViewType) & {
710
710
  clearCache: () => void;
@@ -811,8 +811,8 @@ export declare const getViewPresetToSendToBackend: ((state: any, viewId: any) =>
811
811
  resultsCount: () => number;
812
812
  resetResultsCount: () => void;
813
813
  } & {
814
- resultFunc: (resultFuncArgs_0: import("dist/libs/store/src/store/map/types").ReduxLayer[], resultFuncArgs_1: import("dist/libs/store/src/store/map/types").ReduxLayer[], resultFuncArgs_2: import("dist/libs/store/src/store/map/types").ReduxLayer[], resultFuncArgs_3: import("dist/libs/store/src/store/map/types").Bbox, resultFuncArgs_4: string, resultFuncArgs_5: string | undefined, resultFuncArgs_6: string | undefined, resultFuncArgs_7: string | undefined, resultFuncArgs_8: boolean, resultFuncArgs_9: boolean, resultFuncArgs_10: boolean | undefined, resultFuncArgs_11: boolean | undefined, resultFuncArgs_12: boolean | undefined, resultFuncArgs_13: number, resultFuncArgs_14: number | undefined, resultFuncArgs_15: string | undefined, resultFuncArgs_16: string | undefined, resultFuncArgs_17: number | undefined, resultFuncArgs_18: boolean | undefined, resultFuncArgs_19: boolean | undefined, resultFuncArgs_20: string | undefined, resultFuncArgs_21: import("dist/libs/store/src/store/ui/types").UIStoreType) => import("@opengeoweb/store").MapPreset;
815
- memoizedResultFunc: ((resultFuncArgs_0: import("dist/libs/store/src/store/map/types").ReduxLayer[], resultFuncArgs_1: import("dist/libs/store/src/store/map/types").ReduxLayer[], resultFuncArgs_2: import("dist/libs/store/src/store/map/types").ReduxLayer[], resultFuncArgs_3: import("dist/libs/store/src/store/map/types").Bbox, resultFuncArgs_4: string, resultFuncArgs_5: string | undefined, resultFuncArgs_6: string | undefined, resultFuncArgs_7: string | undefined, resultFuncArgs_8: boolean, resultFuncArgs_9: boolean, resultFuncArgs_10: boolean | undefined, resultFuncArgs_11: boolean | undefined, resultFuncArgs_12: boolean | undefined, resultFuncArgs_13: number, resultFuncArgs_14: number | undefined, resultFuncArgs_15: string | undefined, resultFuncArgs_16: string | undefined, resultFuncArgs_17: number | undefined, resultFuncArgs_18: boolean | undefined, resultFuncArgs_19: boolean | undefined, resultFuncArgs_20: string | undefined, resultFuncArgs_21: import("dist/libs/store/src/store/ui/types").UIStoreType) => import("@opengeoweb/store").MapPreset) & {
814
+ resultFunc: (resultFuncArgs_0: import("dist/libs/store/src/store/map/types").ReduxLayer[], resultFuncArgs_1: import("dist/libs/store/src/store/map/types").ReduxLayer[], resultFuncArgs_2: import("dist/libs/store/src/store/map/types").ReduxLayer[], resultFuncArgs_3: import("dist/libs/store/src/store/map/types").Bbox, resultFuncArgs_4: string, resultFuncArgs_5: string | undefined, resultFuncArgs_6: string | undefined, resultFuncArgs_7: string | undefined, resultFuncArgs_8: boolean, resultFuncArgs_9: boolean, resultFuncArgs_10: boolean | undefined, resultFuncArgs_11: boolean | undefined, resultFuncArgs_12: boolean | undefined, resultFuncArgs_13: number, resultFuncArgs_14: number | undefined, resultFuncArgs_15: string | undefined, resultFuncArgs_16: string | undefined, resultFuncArgs_17: number | undefined, resultFuncArgs_18: boolean | undefined, resultFuncArgs_19: boolean | undefined, resultFuncArgs_20: string | undefined, resultFuncArgs_21: import("dist/libs/store/src/store/ui/types").UIStoreType, resultFuncArgs_22: string) => import("@opengeoweb/store").MapPreset;
815
+ memoizedResultFunc: ((resultFuncArgs_0: import("dist/libs/store/src/store/map/types").ReduxLayer[], resultFuncArgs_1: import("dist/libs/store/src/store/map/types").ReduxLayer[], resultFuncArgs_2: import("dist/libs/store/src/store/map/types").ReduxLayer[], resultFuncArgs_3: import("dist/libs/store/src/store/map/types").Bbox, resultFuncArgs_4: string, resultFuncArgs_5: string | undefined, resultFuncArgs_6: string | undefined, resultFuncArgs_7: string | undefined, resultFuncArgs_8: boolean, resultFuncArgs_9: boolean, resultFuncArgs_10: boolean | undefined, resultFuncArgs_11: boolean | undefined, resultFuncArgs_12: boolean | undefined, resultFuncArgs_13: number, resultFuncArgs_14: number | undefined, resultFuncArgs_15: string | undefined, resultFuncArgs_16: string | undefined, resultFuncArgs_17: number | undefined, resultFuncArgs_18: boolean | undefined, resultFuncArgs_19: boolean | undefined, resultFuncArgs_20: string | undefined, resultFuncArgs_21: import("dist/libs/store/src/store/ui/types").UIStoreType, resultFuncArgs_22: string) => import("@opengeoweb/store").MapPreset) & {
816
816
  clearCache: () => void;
817
817
  resultsCount: () => number;
818
818
  resetResultsCount: () => void;
@@ -1338,7 +1338,7 @@ export declare const getViewPresetToSendToBackend: ((state: any, viewId: any) =>
1338
1338
  } & {
1339
1339
  memoize: typeof import("reselect").weakMapMemoize;
1340
1340
  argsMemoize: typeof import("reselect").weakMapMemoize;
1341
- }, (store: import("@opengeoweb/store").UIModuleState) => import("dist/libs/store/src/store/ui/types").UIStoreType];
1341
+ }, (store: import("@opengeoweb/store").UIModuleState) => import("dist/libs/store/src/store/ui/types").UIStoreType, (_store: import("@opengeoweb/store").CoreAppStore, mapId: string) => string];
1342
1342
  recomputations: () => number;
1343
1343
  resetRecomputations: () => void;
1344
1344
  dependencyRecomputations: () => number;
@@ -1374,9 +1374,9 @@ export declare const getViewPresetToSendToBackend: ((state: any, viewId: any) =>
1374
1374
  resetResultsCount: () => void;
1375
1375
  };
1376
1376
  lastResult: () => string;
1377
- dependencies: [(store: import("@opengeoweb/store").CoreAppStore) => import("dist/libs/store/src/store/generic/syncGroups/types").SynchronizationGroupState, (syncGroupStore: any, sourceId: any) => string | {
1377
+ dependencies: [(store: import("@opengeoweb/store").CoreAppStore) => import("dist/libs/store/src/store/generic/syncGroups/types").SynchronizationGroupState, (syncGroupStore: any, sourceId: any) => {
1378
1378
  sourceId: string;
1379
- }];
1379
+ } | string];
1380
1380
  recomputations: () => number;
1381
1381
  resetRecomputations: () => void;
1382
1382
  dependencyRecomputations: () => number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SystemScope } from '@opengeoweb/shared';
3
2
  import { syncGroupsTypes } from '@opengeoweb/store';
4
3
  import { MosaicNode } from 'react-mosaic-component';
@@ -8,7 +8,7 @@ import { WorkspacePreset, WorkspacePresetForBE, WorkspaceViewsFromBE, ViewType,
8
8
  import { WorkspaceDialogView } from '../workspaceList/types';
9
9
  import { SaveViewPresetPayload, ViewPreset } from '../viewPresets/types';
10
10
  export declare const getWorkspaceApi: () => PresetsApi;
11
- export declare const getViewPresetState: (viewPresetId: string, mosaicNodeId: string, state: 'loading' | 'error') => {
11
+ export declare const getViewPresetState: (viewPresetId: string, mosaicNodeId: string, state: "loading" | "error") => {
12
12
  title: string;
13
13
  id: string;
14
14
  mosaicNodeId: string;
@@ -102,10 +102,10 @@ export declare const getWorkspaceActionDialogDetails: ((state: AppStore) => fals
102
102
  hasChanges: boolean;
103
103
  scope: SystemScope;
104
104
  }[];
105
- id?: string | undefined;
106
- title?: string | undefined;
107
- abstract?: string | undefined;
108
- scope?: SystemScope | undefined;
105
+ id?: string;
106
+ title?: string;
107
+ abstract?: string;
108
+ scope?: SystemScope;
109
109
  } | {
110
110
  views: {
111
111
  mosaicNodeId: string;
@@ -117,22 +117,22 @@ export declare const getWorkspaceActionDialogDetails: ((state: AppStore) => fals
117
117
  hasChanges: boolean;
118
118
  scope: SystemScope;
119
119
  }[];
120
- id?: string | undefined;
120
+ id?: string;
121
121
  title: string;
122
- syncGroups?: import("../workspace/types").WorkspaceSyncGroup[] | undefined;
123
- linking?: Record<string, string[]> | undefined;
124
- viewType?: import("../workspace/types").ViewType | undefined;
122
+ syncGroups?: import("../workspace/types").WorkspaceSyncGroup[];
123
+ linking?: Record<string, string[]>;
124
+ viewType?: import("../workspace/types").ViewType;
125
125
  mosaicNode: import("react-mosaic-component").MosaicNode<string>;
126
- scope?: SystemScope | undefined;
127
- is_shared?: boolean | undefined;
128
- username?: string | undefined;
129
- abstract?: string | undefined;
126
+ scope?: SystemScope;
127
+ is_shared?: boolean;
128
+ username?: string;
129
+ abstract?: string;
130
130
  };
131
131
  action: import("../workspace/types").WorkspacePresetAction;
132
132
  presetId: string;
133
133
  error?: import("./types").WorkspaceListError;
134
- isFetching?: boolean | undefined;
135
- hasSaved?: boolean | undefined;
134
+ isFetching?: boolean;
135
+ hasSaved?: boolean;
136
136
  }) & {
137
137
  clearCache: () => void;
138
138
  resultsCount: () => number;
@@ -150,10 +150,10 @@ export declare const getWorkspaceActionDialogDetails: ((state: AppStore) => fals
150
150
  hasChanges: boolean;
151
151
  scope: SystemScope;
152
152
  }[];
153
- id?: string | undefined;
154
- title?: string | undefined;
155
- abstract?: string | undefined;
156
- scope?: SystemScope | undefined;
153
+ id?: string;
154
+ title?: string;
155
+ abstract?: string;
156
+ scope?: SystemScope;
157
157
  } | {
158
158
  views: {
159
159
  mosaicNodeId: string;
@@ -165,22 +165,22 @@ export declare const getWorkspaceActionDialogDetails: ((state: AppStore) => fals
165
165
  hasChanges: boolean;
166
166
  scope: SystemScope;
167
167
  }[];
168
- id?: string | undefined;
168
+ id?: string;
169
169
  title: string;
170
- syncGroups?: import("../workspace/types").WorkspaceSyncGroup[] | undefined;
171
- linking?: Record<string, string[]> | undefined;
172
- viewType?: import("../workspace/types").ViewType | undefined;
170
+ syncGroups?: import("../workspace/types").WorkspaceSyncGroup[];
171
+ linking?: Record<string, string[]>;
172
+ viewType?: import("../workspace/types").ViewType;
173
173
  mosaicNode: import("react-mosaic-component").MosaicNode<string>;
174
- scope?: SystemScope | undefined;
175
- is_shared?: boolean | undefined;
176
- username?: string | undefined;
177
- abstract?: string | undefined;
174
+ scope?: SystemScope;
175
+ is_shared?: boolean;
176
+ username?: string;
177
+ abstract?: string;
178
178
  };
179
179
  action: import("../workspace/types").WorkspacePresetAction;
180
180
  presetId: string;
181
181
  error?: import("./types").WorkspaceListError;
182
- isFetching?: boolean | undefined;
183
- hasSaved?: boolean | undefined;
182
+ isFetching?: boolean;
183
+ hasSaved?: boolean;
184
184
  };
185
185
  memoizedResultFunc: ((resultFuncArgs_0: WorkspaceListState, resultFuncArgs_1: WorkspaceState, resultFuncArgs_2: ViewPresetState) => false | {
186
186
  formValues: {
@@ -194,10 +194,10 @@ export declare const getWorkspaceActionDialogDetails: ((state: AppStore) => fals
194
194
  hasChanges: boolean;
195
195
  scope: SystemScope;
196
196
  }[];
197
- id?: string | undefined;
198
- title?: string | undefined;
199
- abstract?: string | undefined;
200
- scope?: SystemScope | undefined;
197
+ id?: string;
198
+ title?: string;
199
+ abstract?: string;
200
+ scope?: SystemScope;
201
201
  } | {
202
202
  views: {
203
203
  mosaicNodeId: string;
@@ -209,22 +209,22 @@ export declare const getWorkspaceActionDialogDetails: ((state: AppStore) => fals
209
209
  hasChanges: boolean;
210
210
  scope: SystemScope;
211
211
  }[];
212
- id?: string | undefined;
212
+ id?: string;
213
213
  title: string;
214
- syncGroups?: import("../workspace/types").WorkspaceSyncGroup[] | undefined;
215
- linking?: Record<string, string[]> | undefined;
216
- viewType?: import("../workspace/types").ViewType | undefined;
214
+ syncGroups?: import("../workspace/types").WorkspaceSyncGroup[];
215
+ linking?: Record<string, string[]>;
216
+ viewType?: import("../workspace/types").ViewType;
217
217
  mosaicNode: import("react-mosaic-component").MosaicNode<string>;
218
- scope?: SystemScope | undefined;
219
- is_shared?: boolean | undefined;
220
- username?: string | undefined;
221
- abstract?: string | undefined;
218
+ scope?: SystemScope;
219
+ is_shared?: boolean;
220
+ username?: string;
221
+ abstract?: string;
222
222
  };
223
223
  action: import("../workspace/types").WorkspacePresetAction;
224
224
  presetId: string;
225
225
  error?: import("./types").WorkspaceListError;
226
- isFetching?: boolean | undefined;
227
- hasSaved?: boolean | undefined;
226
+ isFetching?: boolean;
227
+ hasSaved?: boolean;
228
228
  }) & {
229
229
  clearCache: () => void;
230
230
  resultsCount: () => number;
@@ -242,10 +242,10 @@ export declare const getWorkspaceActionDialogDetails: ((state: AppStore) => fals
242
242
  hasChanges: boolean;
243
243
  scope: SystemScope;
244
244
  }[];
245
- id?: string | undefined;
246
- title?: string | undefined;
247
- abstract?: string | undefined;
248
- scope?: SystemScope | undefined;
245
+ id?: string;
246
+ title?: string;
247
+ abstract?: string;
248
+ scope?: SystemScope;
249
249
  } | {
250
250
  views: {
251
251
  mosaicNodeId: string;
@@ -257,22 +257,22 @@ export declare const getWorkspaceActionDialogDetails: ((state: AppStore) => fals
257
257
  hasChanges: boolean;
258
258
  scope: SystemScope;
259
259
  }[];
260
- id?: string | undefined;
260
+ id?: string;
261
261
  title: string;
262
- syncGroups?: import("../workspace/types").WorkspaceSyncGroup[] | undefined;
263
- linking?: Record<string, string[]> | undefined;
264
- viewType?: import("../workspace/types").ViewType | undefined;
262
+ syncGroups?: import("../workspace/types").WorkspaceSyncGroup[];
263
+ linking?: Record<string, string[]>;
264
+ viewType?: import("../workspace/types").ViewType;
265
265
  mosaicNode: import("react-mosaic-component").MosaicNode<string>;
266
- scope?: SystemScope | undefined;
267
- is_shared?: boolean | undefined;
268
- username?: string | undefined;
269
- abstract?: string | undefined;
266
+ scope?: SystemScope;
267
+ is_shared?: boolean;
268
+ username?: string;
269
+ abstract?: string;
270
270
  };
271
271
  action: import("../workspace/types").WorkspacePresetAction;
272
272
  presetId: string;
273
273
  error?: import("./types").WorkspaceListError;
274
- isFetching?: boolean | undefined;
275
- hasSaved?: boolean | undefined;
274
+ isFetching?: boolean;
275
+ hasSaved?: boolean;
276
276
  };
277
277
  dependencies: [(store: AppStore) => WorkspaceListState, ((state: AppStore) => WorkspaceState) & {
278
278
  clearCache: () => void;
@@ -328,7 +328,7 @@ export declare const getWorkspaceListFilters: ((state: AppStore, _scope?: System
328
328
  isDisabled: boolean;
329
329
  label: string;
330
330
  id: import("./types").PresetFilterType;
331
- isSelected?: boolean | undefined;
331
+ isSelected?: boolean;
332
332
  }[]) & {
333
333
  clearCache: () => void;
334
334
  resultsCount: () => number;
@@ -338,13 +338,13 @@ export declare const getWorkspaceListFilters: ((state: AppStore, _scope?: System
338
338
  isDisabled: boolean;
339
339
  label: string;
340
340
  id: import("./types").PresetFilterType;
341
- isSelected?: boolean | undefined;
341
+ isSelected?: boolean;
342
342
  }[];
343
343
  memoizedResultFunc: ((resultFuncArgs_0: WorkspaceListState, resultFuncArgs_1: SystemScope | undefined, resultFuncArgs_2: boolean | undefined) => {
344
344
  isDisabled: boolean;
345
345
  label: string;
346
346
  id: import("./types").PresetFilterType;
347
- isSelected?: boolean | undefined;
347
+ isSelected?: boolean;
348
348
  }[]) & {
349
349
  clearCache: () => void;
350
350
  resultsCount: () => number;
@@ -354,7 +354,7 @@ export declare const getWorkspaceListFilters: ((state: AppStore, _scope?: System
354
354
  isDisabled: boolean;
355
355
  label: string;
356
356
  id: import("./types").PresetFilterType;
357
- isSelected?: boolean | undefined;
357
+ isSelected?: boolean;
358
358
  }[];
359
359
  dependencies: [(store: AppStore) => WorkspaceListState, (_store: AppStore, scope?: SystemScope) => SystemScope | undefined, (_store: AppStore, _scope?: SystemScope, isAdmin?: boolean) => boolean | undefined];
360
360
  recomputations: () => number;
@@ -11,6 +11,6 @@ export declare function getEmptyWorkspaceListItem(t: TFunction): WorkspacePreset
11
11
  export declare function getEmptyWorkspaceListItem(t?: TFunction): Omit<WorkspacePresetListItem, 'title'> | WorkspacePresetListItem;
12
12
  export declare function getEmptyMapWorkspace(): Omit<WorkspacePreset, 'title'>;
13
13
  export declare function getEmptyMapWorkspace(t: TFunction): WorkspacePreset;
14
- export declare const getEmptyWorkspacePreset: () => Omit<WorkspacePreset, 'title'>;
14
+ export declare const getEmptyWorkspacePreset: () => Omit<WorkspacePreset, "title">;
15
15
  export declare const createCustomEmptyMapWorkspace: (emptyWorkspaceTitle: string, emptyMapWorkspaceTitle: string, customMapPreset?: MapPreset) => WorkspacePreset;
16
16
  export declare const constructFilterParams: (filters: WorkspaceListFilter[] | ViewPresetsListFilter[], searchQuery: string) => FetchWorkspaceParams | FetchViewPresetsListParams;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import type { Meta, StoryObj } from '@storybook/react';
2
+ import type { Meta, StoryObj } from '@storybook/react-webpack5';
3
3
  import { WorkspacePreset } from '../store/workspace/types';
4
4
  interface ComponentTypeDemoProps {
5
5
  screenPreset: WorkspacePreset;