@opengeoweb/workspace 6.0.0 → 6.0.2

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.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "./src/index";
@@ -1,9 +1,9 @@
1
1
  import { syncGroupsTypes, syncGroupsActions, layerActions, mapStoreActions, uiActions, genericActions, layerTypes, mapEnums, genericSelectors, mapSelectors, syncGroupsSelectors, routerActions, snackbarActions, coreModuleConfig, uiSelectors } from '@opengeoweb/store';
2
2
  import { createApiInstance, createNonAuthApiInstance, getApi, createFakeApiInstance, ApiProvider, useApiContext } from '@opengeoweb/api';
3
3
  import { getLeaves, MosaicContext, getAndAssertNodeAtPathExists, createBalancedTreeFromLeaves, MosaicWindow, MosaicWithoutDragDropContext } from 'react-mosaic-component';
4
- import { isAxiosError, getAxiosErrorMessage, withEggs, useConfirmationDialog, CustomIconButton, AlertBanner, CustomTooltip, SearchHighlight, ToggleMenu, ToolContainer, CustomToggleButton, ConfirmationServiceProvider, ConfirmationDialog } from '@opengeoweb/shared';
4
+ import { isAxiosError, getAxiosErrorMessage, withEggs, useConfirmationDialog, CustomIconButton, AlertBanner, CustomTooltip, SearchHighlight, ToggleMenu, usePrevious, ToolContainer, CustomToggleButton, ConfirmationServiceProvider, ConfirmationDialog } from '@opengeoweb/shared';
5
5
  import * as React from 'react';
6
- import React__default, { createContext, version, useContext, useRef, useCallback, useDebugValue, useLayoutEffect, useEffect, useMemo, memo, forwardRef, createElement, Fragment } from 'react';
6
+ import React__default, { useContext, useRef, useCallback, useDebugValue, createContext, memo, useEffect, forwardRef } from 'react';
7
7
  import { ThemeWrapper, lightTheme, Menu, SplitVertical, SplitHorizontal, Expand, UnExpand, Close, Delete, Preset, PresetWorkspace, PresetTiles, Clear, Search, WebAssetOff } from '@opengeoweb/theme';
8
8
  import { unstable_batchedUpdates } from 'react-dom';
9
9
  import { SnackbarWrapperConnect } from '@opengeoweb/core';
@@ -18763,7 +18763,10 @@ function _regeneratorRuntime() {
18763
18763
  if ("executing" === state) throw new Error("Generator is already running");
18764
18764
  if ("completed" === state) {
18765
18765
  if ("throw" === method) throw arg;
18766
- return doneResult();
18766
+ return {
18767
+ value: void 0,
18768
+ done: !0
18769
+ };
18767
18770
  }
18768
18771
  for (context.method = method, context.arg = arg;;) {
18769
18772
  var delegate = context.delegate;
@@ -18816,7 +18819,7 @@ function _regeneratorRuntime() {
18816
18819
  }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
18817
18820
  }
18818
18821
  function values(iterable) {
18819
- if (iterable) {
18822
+ if (iterable || "" === iterable) {
18820
18823
  var iteratorMethod = iterable[iteratorSymbol];
18821
18824
  if (iteratorMethod) return iteratorMethod.call(iterable);
18822
18825
  if ("function" == typeof iterable.next) return iterable;
@@ -18829,15 +18832,7 @@ function _regeneratorRuntime() {
18829
18832
  return next.next = next;
18830
18833
  }
18831
18834
  }
18832
- return {
18833
- next: doneResult
18834
- };
18835
- }
18836
- function doneResult() {
18837
- return {
18838
- value: undefined,
18839
- done: !0
18840
- };
18835
+ throw new TypeError(typeof iterable + " is not iterable");
18841
18836
  }
18842
18837
  return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
18843
18838
  value: GeneratorFunctionPrototype,
@@ -24618,40 +24613,39 @@ const setBatch = newBatch => batch = newBatch; // Supply a getter just to skip d
24618
24613
 
24619
24614
  const getBatch = () => batch;
24620
24615
 
24621
- const ContextKey = Symbol.for(`react-redux-context-${version}`);
24622
- const gT = globalThis;
24616
+ const ContextKey = Symbol.for(`react-redux-context`);
24617
+ const gT = typeof globalThis !== "undefined" ? globalThis :
24618
+ /* fall back to a per-module scope (pre-8.1 behaviour) if `globalThis` is not available */
24619
+ {};
24623
24620
 
24624
24621
  function getContext() {
24625
- let realContext = gT[ContextKey];
24622
+ var _gT$ContextKey;
24623
+
24624
+ if (!React.createContext) return {};
24625
+ const contextMap = (_gT$ContextKey = gT[ContextKey]) != null ? _gT$ContextKey : gT[ContextKey] = new Map();
24626
+ let realContext = contextMap.get(React.createContext);
24626
24627
 
24627
24628
  if (!realContext) {
24628
- realContext = createContext(null);
24629
+ realContext = React.createContext(null);
24629
24630
 
24630
24631
  if (process.env.NODE_ENV !== 'production') {
24631
24632
  realContext.displayName = 'ReactRedux';
24632
24633
  }
24633
24634
 
24634
- gT[ContextKey] = realContext;
24635
+ contextMap.set(React.createContext, realContext);
24635
24636
  }
24636
24637
 
24637
24638
  return realContext;
24638
24639
  }
24639
24640
 
24640
- const ReactReduxContext = /*#__PURE__*/new Proxy({}, /*#__PURE__*/new Proxy({}, {
24641
- get(_, handler) {
24642
- const target = getContext(); // @ts-ignore
24643
-
24644
- return (_target, ...args) => Reflect[handler](target, ...args);
24645
- }
24646
-
24647
- }));
24641
+ const ReactReduxContext = /*#__PURE__*/getContext();
24648
24642
 
24649
- /**
24650
- * Hook factory, which creates a `useReduxContext` hook bound to a given context. This is a low-level
24651
- * hook that you should usually not need to call directly.
24652
- *
24653
- * @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
24654
- * @returns {Function} A `useReduxContext` hook bound to the specified context.
24643
+ /**
24644
+ * Hook factory, which creates a `useReduxContext` hook bound to a given context. This is a low-level
24645
+ * hook that you should usually not need to call directly.
24646
+ *
24647
+ * @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
24648
+ * @returns {Function} A `useReduxContext` hook bound to the specified context.
24655
24649
  */
24656
24650
  function createReduxContextHook(context = ReactReduxContext) {
24657
24651
  return function useReduxContext() {
@@ -24664,21 +24658,21 @@ function createReduxContextHook(context = ReactReduxContext) {
24664
24658
  return contextValue;
24665
24659
  };
24666
24660
  }
24667
- /**
24668
- * A hook to access the value of the `ReactReduxContext`. This is a low-level
24669
- * hook that you should usually not need to call directly.
24670
- *
24671
- * @returns {any} the value of the `ReactReduxContext`
24672
- *
24673
- * @example
24674
- *
24675
- * import React from 'react'
24676
- * import { useReduxContext } from 'react-redux'
24677
- *
24678
- * export const CounterComponent = () => {
24679
- * const { store } = useReduxContext()
24680
- * return <div>{store.getState()}</div>
24681
- * }
24661
+ /**
24662
+ * A hook to access the value of the `ReactReduxContext`. This is a low-level
24663
+ * hook that you should usually not need to call directly.
24664
+ *
24665
+ * @returns {any} the value of the `ReactReduxContext`
24666
+ *
24667
+ * @example
24668
+ *
24669
+ * import React from 'react'
24670
+ * import { useReduxContext } from 'react-redux'
24671
+ *
24672
+ * export const CounterComponent = () => {
24673
+ * const { store } = useReduxContext()
24674
+ * return <div>{store.getState()}</div>
24675
+ * }
24682
24676
  */
24683
24677
 
24684
24678
  const useReduxContext = /*#__PURE__*/createReduxContextHook();
@@ -24693,11 +24687,11 @@ const initializeUseSelector = fn => {
24693
24687
  };
24694
24688
 
24695
24689
  const refEquality = (a, b) => a === b;
24696
- /**
24697
- * Hook factory, which creates a `useSelector` hook bound to a given context.
24698
- *
24699
- * @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
24700
- * @returns {Function} A `useSelector` hook bound to the specified context.
24690
+ /**
24691
+ * Hook factory, which creates a `useSelector` hook bound to a given context.
24692
+ *
24693
+ * @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
24694
+ * @returns {Function} A `useSelector` hook bound to the specified context.
24701
24695
  */
24702
24696
 
24703
24697
 
@@ -24774,28 +24768,28 @@ function createSelectorHook(context = ReactReduxContext) {
24774
24768
  return selectedState;
24775
24769
  };
24776
24770
  }
24777
- /**
24778
- * A hook to access the redux store's state. This hook takes a selector function
24779
- * as an argument. The selector is called with the store state.
24780
- *
24781
- * This hook takes an optional equality comparison function as the second parameter
24782
- * that allows you to customize the way the selected state is compared to determine
24783
- * whether the component needs to be re-rendered.
24784
- *
24785
- * @param {Function} selector the selector function
24786
- * @param {Function=} equalityFn the function that will be used to determine equality
24787
- *
24788
- * @returns {any} the selected state
24789
- *
24790
- * @example
24791
- *
24792
- * import React from 'react'
24793
- * import { useSelector } from 'react-redux'
24794
- *
24795
- * export const CounterComponent = () => {
24796
- * const counter = useSelector(state => state.counter)
24797
- * return <div>{counter}</div>
24798
- * }
24771
+ /**
24772
+ * A hook to access the redux store's state. This hook takes a selector function
24773
+ * as an argument. The selector is called with the store state.
24774
+ *
24775
+ * This hook takes an optional equality comparison function as the second parameter
24776
+ * that allows you to customize the way the selected state is compared to determine
24777
+ * whether the component needs to be re-rendered.
24778
+ *
24779
+ * @param {Function} selector the selector function
24780
+ * @param {Function=} equalityFn the function that will be used to determine equality
24781
+ *
24782
+ * @returns {any} the selected state
24783
+ *
24784
+ * @example
24785
+ *
24786
+ * import React from 'react'
24787
+ * import { useSelector } from 'react-redux'
24788
+ *
24789
+ * export const CounterComponent = () => {
24790
+ * const counter = useSelector(state => state.counter)
24791
+ * return <div>{counter}</div>
24792
+ * }
24799
24793
  */
24800
24794
 
24801
24795
  const useSelector = /*#__PURE__*/createSelectorHook();
@@ -25416,7 +25410,7 @@ function createSubscription(store, parentSub) {
25416
25410
  // Matches logic in React's `shared/ExecutionEnvironment` file
25417
25411
 
25418
25412
  const canUseDOM = !!(typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined');
25419
- const useIsomorphicLayoutEffect = canUseDOM ? useLayoutEffect : useEffect;
25413
+ const useIsomorphicLayoutEffect = canUseDOM ? React.useLayoutEffect : React.useEffect;
25420
25414
 
25421
25415
  function Provider({
25422
25416
  store,
@@ -25426,7 +25420,7 @@ function Provider({
25426
25420
  stabilityCheck = 'once',
25427
25421
  noopCheck = 'once'
25428
25422
  }) {
25429
- const contextValue = useMemo(() => {
25423
+ const contextValue = React.useMemo(() => {
25430
25424
  const subscription = createSubscription(store);
25431
25425
  return {
25432
25426
  store,
@@ -25436,7 +25430,7 @@ function Provider({
25436
25430
  noopCheck
25437
25431
  };
25438
25432
  }, [store, serverState, stabilityCheck, noopCheck]);
25439
- const previousState = useMemo(() => store.getState(), [store]);
25433
+ const previousState = React.useMemo(() => store.getState(), [store]);
25440
25434
  useIsomorphicLayoutEffect(() => {
25441
25435
  const {
25442
25436
  subscription
@@ -25455,16 +25449,16 @@ function Provider({
25455
25449
  }, [contextValue, previousState]);
25456
25450
  const Context = context || ReactReduxContext; // @ts-ignore 'AnyAction' is assignable to the constraint of type 'A', but 'A' could be instantiated with a different subtype
25457
25451
 
25458
- return /*#__PURE__*/React__default.createElement(Context.Provider, {
25452
+ return /*#__PURE__*/React.createElement(Context.Provider, {
25459
25453
  value: contextValue
25460
25454
  }, children);
25461
25455
  }
25462
25456
 
25463
- /**
25464
- * Hook factory, which creates a `useStore` hook bound to a given context.
25465
- *
25466
- * @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
25467
- * @returns {Function} A `useStore` hook bound to the specified context.
25457
+ /**
25458
+ * Hook factory, which creates a `useStore` hook bound to a given context.
25459
+ *
25460
+ * @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
25461
+ * @returns {Function} A `useStore` hook bound to the specified context.
25468
25462
  */
25469
25463
 
25470
25464
  function createStoreHook(context = ReactReduxContext) {
@@ -25479,29 +25473,29 @@ function createStoreHook(context = ReactReduxContext) {
25479
25473
  return store;
25480
25474
  };
25481
25475
  }
25482
- /**
25483
- * A hook to access the redux store.
25484
- *
25485
- * @returns {any} the redux store
25486
- *
25487
- * @example
25488
- *
25489
- * import React from 'react'
25490
- * import { useStore } from 'react-redux'
25491
- *
25492
- * export const ExampleComponent = () => {
25493
- * const store = useStore()
25494
- * return <div>{store.getState()}</div>
25495
- * }
25476
+ /**
25477
+ * A hook to access the redux store.
25478
+ *
25479
+ * @returns {any} the redux store
25480
+ *
25481
+ * @example
25482
+ *
25483
+ * import React from 'react'
25484
+ * import { useStore } from 'react-redux'
25485
+ *
25486
+ * export const ExampleComponent = () => {
25487
+ * const store = useStore()
25488
+ * return <div>{store.getState()}</div>
25489
+ * }
25496
25490
  */
25497
25491
 
25498
25492
  const useStore = /*#__PURE__*/createStoreHook();
25499
25493
 
25500
- /**
25501
- * Hook factory, which creates a `useDispatch` hook bound to a given context.
25502
- *
25503
- * @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
25504
- * @returns {Function} A `useDispatch` hook bound to the specified context.
25494
+ /**
25495
+ * Hook factory, which creates a `useDispatch` hook bound to a given context.
25496
+ *
25497
+ * @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
25498
+ * @returns {Function} A `useDispatch` hook bound to the specified context.
25505
25499
  */
25506
25500
 
25507
25501
  function createDispatchHook(context = ReactReduxContext) {
@@ -25513,26 +25507,26 @@ function createDispatchHook(context = ReactReduxContext) {
25513
25507
  return store.dispatch;
25514
25508
  };
25515
25509
  }
25516
- /**
25517
- * A hook to access the redux `dispatch` function.
25518
- *
25519
- * @returns {any|function} redux store's `dispatch` function
25520
- *
25521
- * @example
25522
- *
25523
- * import React, { useCallback } from 'react'
25524
- * import { useDispatch } from 'react-redux'
25525
- *
25526
- * export const CounterComponent = ({ value }) => {
25527
- * const dispatch = useDispatch()
25528
- * const increaseCounter = useCallback(() => dispatch({ type: 'increase-counter' }), [])
25529
- * return (
25530
- * <div>
25531
- * <span>{value}</span>
25532
- * <button onClick={increaseCounter}>Increase counter</button>
25533
- * </div>
25534
- * )
25535
- * }
25510
+ /**
25511
+ * A hook to access the redux `dispatch` function.
25512
+ *
25513
+ * @returns {any|function} redux store's `dispatch` function
25514
+ *
25515
+ * @example
25516
+ *
25517
+ * import React, { useCallback } from 'react'
25518
+ * import { useDispatch } from 'react-redux'
25519
+ *
25520
+ * export const CounterComponent = ({ value }) => {
25521
+ * const dispatch = useDispatch()
25522
+ * const increaseCounter = useCallback(() => dispatch({ type: 'increase-counter' }), [])
25523
+ * return (
25524
+ * <div>
25525
+ * <span>{value}</span>
25526
+ * <button onClick={increaseCounter}>Increase counter</button>
25527
+ * </div>
25528
+ * )
25529
+ * }
25536
25530
  */
25537
25531
 
25538
25532
  const useDispatch = /*#__PURE__*/createDispatchHook();
@@ -31384,7 +31378,12 @@ function __awaiter(thisArg, _arguments, P, generator) {
31384
31378
  function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
31385
31379
  step((generator = generator.apply(thisArg, _arguments || [])).next());
31386
31380
  });
31387
- }
31381
+ }
31382
+
31383
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
31384
+ var e = new Error(message);
31385
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
31386
+ };
31388
31387
 
31389
31388
  // takes a component and connects module methods with workspace store
31390
31389
  var ComponentsLookUpWrapper = function ComponentsLookUpWrapper(_a) {
@@ -32096,9 +32095,7 @@ var WorkspaceFilter = function WorkspaceFilter(_ref) {
32096
32095
  var ERROR_TITLE = 'View presets not available';
32097
32096
  var ERROR_RETRY = 'Try again';
32098
32097
  var ViewPresetMenuListConnect = function ViewPresetMenuListConnect(_ref) {
32099
- var panelId = _ref.panelId,
32100
- _ref$isOpen = _ref.isOpen,
32101
- isOpen = _ref$isOpen === void 0 ? true : _ref$isOpen;
32098
+ var panelId = _ref.panelId;
32102
32099
  var viewPresets = useSelector(function (store) {
32103
32100
  return getFilteredViewPresetListForView(store, panelId);
32104
32101
  });
@@ -32111,9 +32108,11 @@ var ViewPresetMenuListConnect = function ViewPresetMenuListConnect(_ref) {
32111
32108
  var viewPresetListFilters = useSelector(function (store) {
32112
32109
  return getViewPresetListFiltersForView(store, panelId);
32113
32110
  });
32111
+ var lastViewPresetListFilters = usePrevious(viewPresetListFilters);
32114
32112
  var viewPresetListSearchQuery = useSelector(function (store) {
32115
32113
  return getViewPresetListSearchQueryForView(store, panelId);
32116
32114
  });
32115
+ var lastViewPresetListSearchQuery = usePrevious(viewPresetListSearchQuery);
32117
32116
  var relatedSyncGroupIds = useSelector(function (store) {
32118
32117
  return syncGroupsSelectors.getAllTargetGroupsForSource(store, panelId);
32119
32118
  });
@@ -32127,11 +32126,11 @@ var ViewPresetMenuListConnect = function ViewPresetMenuListConnect(_ref) {
32127
32126
  isLoggedIn = _useAuthenticationCon.isLoggedIn;
32128
32127
  React.useEffect(function () {
32129
32128
  // Only refetch list on changes to the filters if the dialog is open
32130
- if (isOpen) {
32129
+ if (lastViewPresetListSearchQuery !== viewPresetListSearchQuery && lastViewPresetListSearchQuery !== undefined || lastViewPresetListFilters !== viewPresetListFilters && lastViewPresetListFilters !== undefined) {
32131
32130
  fetchViewPresets();
32132
32131
  }
32133
32132
  // eslint-disable-next-line react-hooks/exhaustive-deps
32134
- }, [viewPresetListFilters, viewPresetListSearchQuery]);
32133
+ }, [viewPresetListFilters, viewPresetListSearchQuery, lastViewPresetListFilters, lastViewPresetListSearchQuery]);
32135
32134
  var dispatch = useDispatch();
32136
32135
  var openViewPresetsDialog = React.useCallback(function (viewPresetDialogOptions) {
32137
32136
  dispatch(viewPresetActions.openViewPresetDialog({
@@ -32280,8 +32279,7 @@ var ViewPresetMenuListConnect = function ViewPresetMenuListConnect(_ref) {
32280
32279
  * */
32281
32280
  var DIALOG_TITLE = 'View presets menu';
32282
32281
  var ViewPresetMenu = function ViewPresetMenu(_ref) {
32283
- var isOpen = _ref.isOpen,
32284
- _ref$hideBackdrop = _ref.hideBackdrop,
32282
+ var _ref$hideBackdrop = _ref.hideBackdrop,
32285
32283
  hideBackdrop = _ref$hideBackdrop === void 0 ? false : _ref$hideBackdrop,
32286
32284
  closeMenu = _ref.closeMenu,
32287
32285
  panelId = _ref.panelId;
@@ -32299,14 +32297,13 @@ var ViewPresetMenu = function ViewPresetMenu(_ref) {
32299
32297
  event.stopPropagation();
32300
32298
  }
32301
32299
  }, /*#__PURE__*/React__default.createElement(ViewPresetMenuListConnect, {
32302
- panelId: panelId,
32303
- isOpen: isOpen
32300
+ panelId: panelId
32304
32301
  }));
32305
32302
  return /*#__PURE__*/React__default.createElement("div", null, hideBackdrop ?
32306
32303
  // Enable hiding backdrop from snapshot tests
32307
32304
  toolContainer : /*#__PURE__*/React__default.createElement(Backdrop, {
32308
32305
  "data-testid": "viewpresetMenuBackdrop",
32309
- open: isOpen,
32306
+ open: true,
32310
32307
  sx: {
32311
32308
  '&.MuiBackdrop-root': {
32312
32309
  position: 'absolute',
@@ -32710,9 +32707,8 @@ var WorkspaceTileConnect = function WorkspaceTileConnect(_ref) {
32710
32707
  id: mosaicNodeId,
32711
32708
  componentType: view === null || view === void 0 ? void 0 : view.componentType,
32712
32709
  initialProps: view === null || view === void 0 ? void 0 : view.initialProps
32713
- }), /*#__PURE__*/React.createElement(ViewPresetMenu, {
32710
+ }), isViewPresetDialogOpen && /*#__PURE__*/React.createElement(ViewPresetMenu, {
32714
32711
  panelId: mosaicNodeId,
32715
- isOpen: isViewPresetDialogOpen || false,
32716
32712
  closeMenu: function closeMenu() {
32717
32713
  toggleViewPresetDialog({
32718
32714
  panelId: mosaicNodeId,
@@ -33175,6 +33171,7 @@ var RULESET = 'rule';
33175
33171
  var DECLARATION = 'decl';
33176
33172
  var IMPORT = '@import';
33177
33173
  var KEYFRAMES = '@keyframes';
33174
+ var LAYER = '@layer';
33178
33175
 
33179
33176
  /**
33180
33177
  * @param {number}
@@ -33589,7 +33586,7 @@ function parse (value, root, parent, rule, rules, rulesets, pseudo, points, decl
33589
33586
  // \0 }
33590
33587
  case 0: case 125: scanning = 0;
33591
33588
  // ;
33592
- case 59 + offset:
33589
+ case 59 + offset: if (ampersand == -1) characters = replace(characters, /\f/g, '');
33593
33590
  if (property > 0 && (strlen(characters) - length))
33594
33591
  append(property > 32 ? declaration(characters + ';', rule, parent, length - 1) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2), declarations);
33595
33592
  break
@@ -33604,8 +33601,8 @@ function parse (value, root, parent, rule, rules, rulesets, pseudo, points, decl
33604
33601
  parse(characters, root, reference, reference, props, rulesets, length, points, children);
33605
33602
  else
33606
33603
  switch (atrule === 99 && charat(characters, 3) === 110 ? 100 : atrule) {
33607
- // d m s
33608
- case 100: case 109: case 115:
33604
+ // d l m s
33605
+ case 100: case 108: case 109: case 115:
33609
33606
  parse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length), children), rules, children, length, points, rule ? props : children);
33610
33607
  break
33611
33608
  default:
@@ -33724,6 +33721,7 @@ function serialize (children, callback) {
33724
33721
  */
33725
33722
  function stringify (element, index, children, callback) {
33726
33723
  switch (element.type) {
33724
+ case LAYER: if (element.children.length) break
33727
33725
  case IMPORT: case DECLARATION: return element.return = element.return || element.value
33728
33726
  case COMMENT: return ''
33729
33727
  case KEYFRAMES: return element.return = element.value + '{' + serialize(element.children, callback) + '}'
@@ -34527,6 +34525,7 @@ function murmur2(str) {
34527
34525
 
34528
34526
  var unitlessKeys = {
34529
34527
  animationIterationCount: 1,
34528
+ aspectRatio: 1,
34530
34529
  borderImageOutset: 1,
34531
34530
  borderImageSlice: 1,
34532
34531
  borderImageWidth: 1,
@@ -34897,7 +34896,7 @@ var useInsertionEffectAlwaysWithSyncFallback = !isBrowser$2 ? syncFallback : use
34897
34896
  var isBrowser$1 = typeof document !== 'undefined';
34898
34897
  var hasOwnProperty = {}.hasOwnProperty;
34899
34898
 
34900
- var EmotionCacheContext = /* #__PURE__ */createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case
34899
+ var EmotionCacheContext = /* #__PURE__ */React.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case
34901
34900
  // because this module is primarily intended for the browser and node
34902
34901
  // but it's also required in react native and similar environments sometimes
34903
34902
  // and we could have a special build just for that
@@ -34936,7 +34935,7 @@ if (!isBrowser$1) {
34936
34935
  cache = createCache({
34937
34936
  key: 'css'
34938
34937
  });
34939
- return /*#__PURE__*/createElement(EmotionCacheContext.Provider, {
34938
+ return /*#__PURE__*/React.createElement(EmotionCacheContext.Provider, {
34940
34939
  value: cache
34941
34940
  }, func(props, cache));
34942
34941
  } else {
@@ -34946,7 +34945,7 @@ if (!isBrowser$1) {
34946
34945
  };
34947
34946
  }
34948
34947
 
34949
- var ThemeContext = /* #__PURE__ */createContext({});
34948
+ var ThemeContext = /* #__PURE__ */React.createContext({});
34950
34949
 
34951
34950
  if (process.env.NODE_ENV !== 'production') {
34952
34951
  ThemeContext.displayName = 'EmotionThemeContext';
@@ -34975,7 +34974,7 @@ var Insertion$1 = function Insertion(_ref) {
34975
34974
  next = next.next;
34976
34975
  }
34977
34976
 
34978
- return /*#__PURE__*/createElement("style", (_ref2 = {}, _ref2["data-emotion"] = cache.key + " " + serializedNames, _ref2.dangerouslySetInnerHTML = {
34977
+ return /*#__PURE__*/React.createElement("style", (_ref2 = {}, _ref2["data-emotion"] = cache.key + " " + serializedNames, _ref2.dangerouslySetInnerHTML = {
34979
34978
  __html: rules
34980
34979
  }, _ref2.nonce = cache.sheet.nonce, _ref2));
34981
34980
  }
@@ -35002,7 +35001,7 @@ var Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {
35002
35001
  className = props.className + " ";
35003
35002
  }
35004
35003
 
35005
- var serialized = serializeStyles(registeredStyles, undefined, useContext(ThemeContext));
35004
+ var serialized = serializeStyles(registeredStyles, undefined, React.useContext(ThemeContext));
35006
35005
 
35007
35006
  if (process.env.NODE_ENV !== 'production' && serialized.name.indexOf('-') === -1) {
35008
35007
  var labelFromStack = props[labelPropName];
@@ -35023,11 +35022,11 @@ var Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {
35023
35022
 
35024
35023
  newProps.ref = ref;
35025
35024
  newProps.className = className;
35026
- return /*#__PURE__*/createElement(Fragment, null, /*#__PURE__*/createElement(Insertion$1, {
35025
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Insertion$1, {
35027
35026
  cache: cache,
35028
35027
  serialized: serialized,
35029
35028
  isStringTag: typeof WrappedComponent === 'string'
35030
- }), /*#__PURE__*/createElement(WrappedComponent, newProps));
35029
+ }), /*#__PURE__*/React.createElement(WrappedComponent, newProps));
35031
35030
  });
35032
35031
 
35033
35032
  if (process.env.NODE_ENV !== 'production') {
@@ -35086,7 +35085,7 @@ var Insertion = function Insertion(_ref) {
35086
35085
  next = next.next;
35087
35086
  }
35088
35087
 
35089
- return /*#__PURE__*/createElement("style", (_ref2 = {}, _ref2["data-emotion"] = cache.key + " " + serializedNames, _ref2.dangerouslySetInnerHTML = {
35088
+ return /*#__PURE__*/React.createElement("style", (_ref2 = {}, _ref2["data-emotion"] = cache.key + " " + serializedNames, _ref2.dangerouslySetInnerHTML = {
35090
35089
  __html: rules
35091
35090
  }, _ref2.nonce = cache.sheet.nonce, _ref2));
35092
35091
  }
@@ -35156,7 +35155,7 @@ var createStyled = function createStyled(tag, options) {
35156
35155
  mergedProps[key] = props[key];
35157
35156
  }
35158
35157
 
35159
- mergedProps.theme = useContext(ThemeContext);
35158
+ mergedProps.theme = React.useContext(ThemeContext);
35160
35159
  }
35161
35160
 
35162
35161
  if (typeof props.className === 'string') {
@@ -35186,11 +35185,11 @@ var createStyled = function createStyled(tag, options) {
35186
35185
 
35187
35186
  newProps.className = className;
35188
35187
  newProps.ref = ref;
35189
- return /*#__PURE__*/createElement(Fragment, null, /*#__PURE__*/createElement(Insertion, {
35188
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Insertion, {
35190
35189
  cache: cache,
35191
35190
  serialized: serialized,
35192
35191
  isStringTag: typeof FinalTag === 'string'
35193
- }), /*#__PURE__*/createElement(FinalTag, newProps));
35192
+ }), /*#__PURE__*/React.createElement(FinalTag, newProps));
35194
35193
  });
35195
35194
  Styled.displayName = identifierName !== undefined ? identifierName : "Styled(" + (typeof baseTag === 'string' ? baseTag : baseTag.displayName || baseTag.name || 'Component') + ")";
35196
35195
  Styled.defaultProps = tag.defaultProps;
@@ -35228,17 +35227,15 @@ tags.forEach(function (tagName) {
35228
35227
  newStyled[tagName] = newStyled(tagName);
35229
35228
  });
35230
35229
 
35231
- var emStyled = newStyled;
35232
-
35233
35230
  /**
35234
- * @mui/styled-engine v5.12.0
35231
+ * @mui/styled-engine v5.13.2
35235
35232
  *
35236
35233
  * @license MIT
35237
35234
  * This source code is licensed under the MIT license found in the
35238
35235
  * LICENSE file in the root directory of this source tree.
35239
35236
  */
35240
35237
  function styled(tag, options) {
35241
- const stylesFactory = emStyled(tag, options);
35238
+ const stylesFactory = newStyled(tag, options);
35242
35239
  if (process.env.NODE_ENV !== 'production') {
35243
35240
  return (...styles) => {
35244
35241
  const component = typeof tag === 'string' ? `"${tag}"` : 'component';
@@ -35634,6 +35631,9 @@ process.env.NODE_ENV !== 'production' ? spacingKeys.reduce((obj, key) => {
35634
35631
  return obj;
35635
35632
  }, {}) : {};
35636
35633
 
35634
+ // The different signatures imply different meaning for their arguments that can't be expressed structurally.
35635
+ // We express the difference with variable names.
35636
+ /* tslint:disable:unified-signatures */
35637
35637
  /* tslint:enable:unified-signatures */
35638
35638
 
35639
35639
  function createSpacing(spacingInput = 8) {
@@ -35870,8 +35870,8 @@ const width = style$1({
35870
35870
  const maxWidth = props => {
35871
35871
  if (props.maxWidth !== undefined && props.maxWidth !== null) {
35872
35872
  const styleFromPropValue = propValue => {
35873
- var _props$theme, _props$theme$breakpoi, _props$theme$breakpoi2;
35874
- const breakpoint = ((_props$theme = props.theme) == null ? void 0 : (_props$theme$breakpoi = _props$theme.breakpoints) == null ? void 0 : (_props$theme$breakpoi2 = _props$theme$breakpoi.values) == null ? void 0 : _props$theme$breakpoi2[propValue]) || values[propValue];
35873
+ var _props$theme;
35874
+ const breakpoint = ((_props$theme = props.theme) == null || (_props$theme = _props$theme.breakpoints) == null || (_props$theme = _props$theme.values) == null ? void 0 : _props$theme[propValue]) || values[propValue];
35875
35875
  return {
35876
35876
  maxWidth: breakpoint || sizingTransform(propValue)
35877
35877
  };
@@ -36223,6 +36223,8 @@ function unstable_createStyleFunctionSx() {
36223
36223
  if (val == null) {
36224
36224
  return null;
36225
36225
  }
36226
+
36227
+ // TODO v6: remove, see https://github.com/mui/material-ui/pull/38123
36226
36228
  if (themeKey === 'typography' && val === 'inherit') {
36227
36229
  return {
36228
36230
  [prop]: val
@@ -36367,7 +36369,7 @@ const splitProps = props => {
36367
36369
  systemProps: {},
36368
36370
  otherProps: {}
36369
36371
  };
36370
- const config = (_props$theme$unstable = props == null ? void 0 : (_props$theme = props.theme) == null ? void 0 : _props$theme.unstable_sxConfig) != null ? _props$theme$unstable : defaultSxConfig$1;
36372
+ const config = (_props$theme$unstable = props == null || (_props$theme = props.theme) == null ? void 0 : _props$theme.unstable_sxConfig) != null ? _props$theme$unstable : defaultSxConfig$1;
36371
36373
  Object.keys(props).forEach(prop => {
36372
36374
  if (config[prop]) {
36373
36375
  result.systemProps[prop] = props[prop];
package/package.json CHANGED
@@ -1,31 +1,30 @@
1
1
  {
2
2
  "name": "@opengeoweb/workspace",
3
- "version": "6.0.0",
3
+ "version": "6.0.2",
4
4
  "description": "GeoWeb Workspace library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "git@gitlab.com:opengeoweb/opengeoweb.git"
9
9
  },
10
- "module": "./index.js",
11
- "main": "./index.js",
10
+ "module": "./index.esm.js",
12
11
  "type": "module",
13
- "types": "./src/index.d.ts",
12
+ "main": "./index.esm.js",
14
13
  "dependencies": {},
15
14
  "peerDependencies": {
16
- "@emotion/react": "11.10.6",
15
+ "@emotion/react": "11.11.1",
17
16
  "@mui/material": "5.12.0",
18
- "@mui/system": "5.12.0",
19
- "@opengeoweb/api": "6.0.0",
20
- "@opengeoweb/authentication": "6.0.0",
21
- "@opengeoweb/core": "6.0.0",
22
- "@opengeoweb/form-fields": "6.0.0",
23
- "@opengeoweb/shared": "6.0.0",
24
- "@opengeoweb/sigmet-airmet": "6.0.0",
25
- "@opengeoweb/store": "6.0.0",
26
- "@opengeoweb/taf": "6.0.0",
27
- "@opengeoweb/theme": "6.0.0",
28
- "@opengeoweb/timeseries": "6.0.0",
17
+ "@mui/system": "5.14.5",
18
+ "@opengeoweb/api": "6.0.2",
19
+ "@opengeoweb/authentication": "6.0.2",
20
+ "@opengeoweb/core": "6.0.2",
21
+ "@opengeoweb/form-fields": "6.0.2",
22
+ "@opengeoweb/shared": "6.0.2",
23
+ "@opengeoweb/sigmet-airmet": "6.0.2",
24
+ "@opengeoweb/store": "6.0.2",
25
+ "@opengeoweb/taf": "6.0.2",
26
+ "@opengeoweb/theme": "6.0.2",
27
+ "@opengeoweb/timeseries": "6.0.2",
29
28
  "@redux-eggs/core": "2.2.0",
30
29
  "@redux-eggs/redux-toolkit": "2.2.0",
31
30
  "@redux-eggs/saga-extension": "2.2.0",
@@ -35,9 +34,9 @@
35
34
  "lodash": "4.17.21",
36
35
  "react": "18.2.0",
37
36
  "react-dnd-multi-backend": "6.0.2",
38
- "react-hook-form": "7.45.2",
37
+ "react-hook-form": "7.45.4",
39
38
  "react-mosaic-component": "5.3.0",
40
- "react-redux": "8.1.1",
39
+ "react-redux": "8.1.2",
41
40
  "redux-saga": "1.2.3"
42
41
  }
43
42
  }
@@ -1,7 +1,7 @@
1
1
  import { mapTypes } from '@opengeoweb/store';
2
2
  import React from 'react';
3
3
  import { PresetAction } from '../../store/viewPresets/types';
4
- export declare type MapPresetFormValues = {
4
+ export type MapPresetFormValues = {
5
5
  title?: string;
6
6
  initialProps?: {
7
7
  mapPreset: mapTypes.MapPreset;
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
2
  export declare const DIALOG_TITLE = "View presets menu";
3
3
  export interface ViewPresetMenuProps {
4
- isOpen: boolean;
5
4
  panelId: string;
6
5
  hideBackdrop?: boolean;
7
6
  closeMenu?: () => void;
@@ -3,7 +3,6 @@ export declare const ERROR_TITLE = "View presets not available";
3
3
  export declare const ERROR_RETRY = "Try again";
4
4
  interface ViewPresetMenuListConnectProps {
5
5
  panelId: string;
6
- isOpen?: boolean;
7
6
  }
8
7
  export declare const ViewPresetMenuListConnect: React.FC<ViewPresetMenuListConnectProps>;
9
8
  export {};
@@ -4,7 +4,7 @@ import { ErrorInitialViewPresetsPayload, ErrorViewPresetPayload, FetchedInitialV
4
4
  export declare const viewPresetsListFilterOptions: ViewPresetsListFilter[];
5
5
  export declare const viewPresetsAdapter: import("@reduxjs/toolkit").EntityAdapter<ViewPresetEntity>;
6
6
  export declare const initialState: ViewPresetState;
7
- export declare type SupportedOrigins = layerTypes.LayerActionOrigin | mapEnums.MapActionOrigin;
7
+ export type SupportedOrigins = layerTypes.LayerActionOrigin | mapEnums.MapActionOrigin;
8
8
  export declare const supportedChangeOrigins: SupportedOrigins[];
9
9
  export declare const reducer: import("redux").Reducer<ViewPresetState, import("redux").AnyAction>;
10
10
  export declare const viewPresetActions: import("@reduxjs/toolkit").CaseReducerActions<{
@@ -11,35 +11,13 @@ export declare const getViewPresetHasChanges: (store: AppStore, panelId: string)
11
11
  export declare const getViewPresetActiveId: (store: AppStore, panelId: string) => string | undefined;
12
12
  export declare const getDialogOptions: (store: AppStore) => ViewPresetDialog | undefined;
13
13
  export declare const getIsViewPresetListDialogOpen: (store: AppStore, panelId: string) => boolean | undefined;
14
- export declare const getViewPresetListFiltersForView: ((state: {
15
- workspace?: import("../workspace/types").WorkspaceState | undefined;
16
- workspaceList?: import("../workspaceList/types").WorkspaceListState | undefined;
17
- viewPresetsList?: import("../viewPresetsList/types").ViewPresetListState | undefined;
18
- viewPresets?: ViewPresetState | undefined;
19
- syncronizationGroupStore?: import("dist/libs/store/src/store/generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
20
- ui?: import("dist/libs/store/src/store/ui/types").UIStoreType | undefined;
21
- webmap?: import("dist/libs/store/src/store/mapStore/types").WebMapState | undefined;
22
- services?: import("dist/libs/store/src/store/mapStore/types").ServiceState | undefined;
23
- layers?: import("dist/libs/store/src/store/mapStore/types").LayerState | undefined;
24
- layerSelect?: import("dist/libs/store/src/store/layerSelect/types").LayerSelectStoreType | undefined;
25
- }, params_0: import("@reduxjs/toolkit").EntityId) => ViewPresetsListFilter[]) & import("reselect").OutputSelectorFields<(args_0: import("./types").ViewPresetEntity | undefined) => ViewPresetsListFilter[], {
14
+ export declare const getViewPresetListFiltersForView: ((state: AppStore, id: import("@reduxjs/toolkit").EntityId) => ViewPresetsListFilter[]) & import("reselect").OutputSelectorFields<(args_0: import("./types").ViewPresetEntity | undefined) => ViewPresetsListFilter[], {
26
15
  clearCache: () => void;
27
16
  }> & {
28
17
  clearCache: () => void;
29
18
  };
30
19
  export declare const getViewPresetListSearchQueryForView: (store: AppStore, panelId: string) => string;
31
- export declare const getViewPresetListFilterResultsForView: ((state: {
32
- workspace?: import("../workspace/types").WorkspaceState | undefined;
33
- workspaceList?: import("../workspaceList/types").WorkspaceListState | undefined;
34
- viewPresetsList?: import("../viewPresetsList/types").ViewPresetListState | undefined;
35
- viewPresets?: ViewPresetState | undefined;
36
- syncronizationGroupStore?: import("dist/libs/store/src/store/generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
37
- ui?: import("dist/libs/store/src/store/ui/types").UIStoreType | undefined;
38
- webmap?: import("dist/libs/store/src/store/mapStore/types").WebMapState | undefined;
39
- services?: import("dist/libs/store/src/store/mapStore/types").ServiceState | undefined;
40
- layers?: import("dist/libs/store/src/store/mapStore/types").LayerState | undefined;
41
- layerSelect?: import("dist/libs/store/src/store/layerSelect/types").LayerSelectStoreType | undefined;
42
- }, params_0: import("@reduxjs/toolkit").EntityId) => ViewPresetListItem[]) & import("reselect").OutputSelectorFields<(args_0: import("./types").ViewPresetEntity | undefined) => ViewPresetListItem[], {
20
+ export declare const getViewPresetListFilterResultsForView: ((state: AppStore, id: import("@reduxjs/toolkit").EntityId) => ViewPresetListItem[]) & import("reselect").OutputSelectorFields<(args_0: import("./types").ViewPresetEntity | undefined) => ViewPresetListItem[], {
43
21
  clearCache: () => void;
44
22
  }> & {
45
23
  clearCache: () => void;
@@ -14,7 +14,7 @@ export declare enum ViewPresetType {
14
14
  PRESET_DETAIL = "PRESET_DETAIL",
15
15
  PRESET_LIST = "PRESET_LIST"
16
16
  }
17
- export declare type ViewPresetError = {
17
+ export type ViewPresetError = {
18
18
  type: ViewPresetType;
19
19
  message: string;
20
20
  } | undefined;
@@ -115,11 +115,11 @@ export interface ToggleSelectFilterChip extends ViewPresetAction {
115
115
  id: string;
116
116
  isSelected: boolean;
117
117
  }
118
- export declare type SetSelectAllFilterChip = ViewPresetAction;
118
+ export type SetSelectAllFilterChip = ViewPresetAction;
119
119
  export interface SearchWorkspaceFilter extends ViewPresetAction {
120
120
  searchQuery: string;
121
121
  }
122
- export declare type UnregisterViewPresetPayload = ViewPresetAction;
122
+ export type UnregisterViewPresetPayload = ViewPresetAction;
123
123
  export interface OpenViewPresetDialogPayload {
124
124
  viewPresetDialog: ViewPresetDialog;
125
125
  }
@@ -3,18 +3,7 @@ import { ViewPresetListItem, ViewPresetListState } from './types';
3
3
  import { ViewPresetsListFilter } from '../viewPresets/types';
4
4
  export declare const getViewPresetsListStore: (store: AppStore) => ViewPresetListState;
5
5
  export declare const getViewPresetsList: (state: AppStore) => ViewPresetListItem[], selectById: (state: AppStore, id: import("@reduxjs/toolkit").EntityId) => ViewPresetListItem | undefined;
6
- export declare const getFilteredViewPresetListForView: ((state: {
7
- workspace?: import("../workspace/types").WorkspaceState | undefined;
8
- workspaceList?: import("../workspaceList/types").WorkspaceListState | undefined;
9
- viewPresetsList?: ViewPresetListState | undefined;
10
- viewPresets?: import("../viewPresets/types").ViewPresetState | undefined;
11
- syncronizationGroupStore?: import("dist/libs/store/src/store/generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
12
- ui?: import("dist/libs/store/src/store/ui/types").UIStoreType | undefined;
13
- webmap?: import("dist/libs/store/src/store/mapStore/types").WebMapState | undefined;
14
- services?: import("dist/libs/store/src/store/mapStore/types").ServiceState | undefined;
15
- layers?: import("dist/libs/store/src/store/mapStore/types").LayerState | undefined;
16
- layerSelect?: import("dist/libs/store/src/store/layerSelect/types").LayerSelectStoreType | undefined;
17
- }, params_0: string) => ViewPresetListItem[]) & import("reselect").OutputSelectorFields<(args_0: ViewPresetListItem[], args_1: import("../workspace/types").ViewPresetListItem[], args_2: ViewPresetsListFilter[], args_3: string) => ViewPresetListItem[], {
6
+ export declare const getFilteredViewPresetListForView: ((state: AppStore, id: string) => ViewPresetListItem[]) & import("reselect").OutputSelectorFields<(args_0: ViewPresetListItem[], args_1: import("../workspace/types").ViewPresetListItem[], args_2: ViewPresetsListFilter[], args_3: string) => ViewPresetListItem[], {
18
7
  clearCache: () => void;
19
8
  }> & {
20
9
  clearCache: () => void;
@@ -1,16 +1,16 @@
1
1
  import { EntityState } from '@reduxjs/toolkit';
2
- export declare type PresetScope = 'user' | 'system';
3
- export declare type ViewPresetListItem = {
2
+ export type PresetScope = 'user' | 'system';
3
+ export type ViewPresetListItem = {
4
4
  id: string;
5
5
  title: string;
6
6
  date: string;
7
7
  scope: PresetScope;
8
8
  };
9
- export declare type FetchViewPresetsListParams = {
9
+ export type FetchViewPresetsListParams = {
10
10
  scope?: string;
11
11
  search?: string;
12
12
  };
13
- export declare type ViewPresetListState = EntityState<ViewPresetListItem>;
13
+ export type ViewPresetListState = EntityState<ViewPresetListItem>;
14
14
  export interface LoadViewPresetsPayload {
15
15
  viewPresets: ViewPresetListItem[];
16
16
  }
@@ -6,18 +6,7 @@ import { AppStore } from '../store';
6
6
  * @param {object} store store: object - Store object
7
7
  * @returns {object} returnType: WorkspaceState
8
8
  */
9
- export declare const getWorkspaceState: ((state: {
10
- workspace?: WorkspaceState | undefined;
11
- workspaceList?: import("../workspaceList/types").WorkspaceListState | undefined;
12
- viewPresetsList?: import("../viewPresetsList/types").ViewPresetListState | undefined;
13
- viewPresets?: import("../viewPresets/types").ViewPresetState | undefined;
14
- syncronizationGroupStore?: import("dist/libs/store/src/store/generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
15
- ui?: import("dist/libs/store/src/store/ui/types").UIStoreType | undefined;
16
- webmap?: import("dist/libs/store/src/store/mapStore/types").WebMapState | undefined;
17
- services?: import("dist/libs/store/src/store/mapStore/types").ServiceState | undefined;
18
- layers?: import("dist/libs/store/src/store/mapStore/types").LayerState | undefined;
19
- layerSelect?: import("dist/libs/store/src/store/layerSelect/types").LayerSelectStoreType | undefined;
20
- }) => WorkspaceState) & import("reselect").OutputSelectorFields<(args_0: WorkspaceState) => WorkspaceState, {
9
+ export declare const getWorkspaceState: ((state: AppStore) => WorkspaceState) & import("reselect").OutputSelectorFields<(args_0: WorkspaceState) => WorkspaceState, {
21
10
  clearCache: () => void;
22
11
  }> & {
23
12
  clearCache: () => void;
@@ -28,18 +17,7 @@ export declare const getWorkspaceState: ((state: {
28
17
  * @param {object} store store: object - Store object
29
18
  * @returns {MosaicNode<string>} returnType: MosaicNode<string>
30
19
  */
31
- export declare const getMosaicNode: ((state: {
32
- workspace?: WorkspaceState | undefined;
33
- workspaceList?: import("../workspaceList/types").WorkspaceListState | undefined;
34
- viewPresetsList?: import("../viewPresetsList/types").ViewPresetListState | undefined;
35
- viewPresets?: import("../viewPresets/types").ViewPresetState | undefined;
36
- syncronizationGroupStore?: import("dist/libs/store/src/store/generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
37
- ui?: import("dist/libs/store/src/store/ui/types").UIStoreType | undefined;
38
- webmap?: import("dist/libs/store/src/store/mapStore/types").WebMapState | undefined;
39
- services?: import("dist/libs/store/src/store/mapStore/types").ServiceState | undefined;
40
- layers?: import("dist/libs/store/src/store/mapStore/types").LayerState | undefined;
41
- layerSelect?: import("dist/libs/store/src/store/layerSelect/types").LayerSelectStoreType | undefined;
42
- }) => import("react-mosaic-component").MosaicNode<string>) & import("reselect").OutputSelectorFields<(args_0: WorkspaceState) => import("react-mosaic-component").MosaicNode<string>, {
20
+ export declare const getMosaicNode: ((state: AppStore) => import("react-mosaic-component").MosaicNode<string>) & import("reselect").OutputSelectorFields<(args_0: WorkspaceState) => import("react-mosaic-component").MosaicNode<string>, {
43
21
  clearCache: () => void;
44
22
  }> & {
45
23
  clearCache: () => void;
@@ -58,18 +36,7 @@ export declare const getViewById: (store: AppStore, viewId: string) => Workspace
58
36
  * @param {object} store store: object - Store object
59
37
  * @returns {object} returnType: string[]
60
38
  */
61
- export declare const getViewIds: ((state: {
62
- workspace?: WorkspaceState | undefined;
63
- workspaceList?: import("../workspaceList/types").WorkspaceListState | undefined;
64
- viewPresetsList?: import("../viewPresetsList/types").ViewPresetListState | undefined;
65
- viewPresets?: import("../viewPresets/types").ViewPresetState | undefined;
66
- syncronizationGroupStore?: import("dist/libs/store/src/store/generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
67
- ui?: import("dist/libs/store/src/store/ui/types").UIStoreType | undefined;
68
- webmap?: import("dist/libs/store/src/store/mapStore/types").WebMapState | undefined;
69
- services?: import("dist/libs/store/src/store/mapStore/types").ServiceState | undefined;
70
- layers?: import("dist/libs/store/src/store/mapStore/types").LayerState | undefined;
71
- layerSelect?: import("dist/libs/store/src/store/layerSelect/types").LayerSelectStoreType | undefined;
72
- }) => string[]) & import("reselect").OutputSelectorFields<(args_0: WorkspaceState) => string[], {
39
+ export declare const getViewIds: ((state: AppStore) => string[]) & import("reselect").OutputSelectorFields<(args_0: WorkspaceState) => string[], {
73
40
  clearCache: () => void;
74
41
  }> & {
75
42
  clearCache: () => void;
@@ -81,50 +48,17 @@ export declare const getViewIds: ((state: {
81
48
  * @param {string} viewId viewId: string - view id
82
49
  * @returns {boolean} returnType: boolean
83
50
  */
84
- export declare const getShouldPreventClose: ((state: {
85
- workspace?: WorkspaceState | undefined;
86
- workspaceList?: import("../workspaceList/types").WorkspaceListState | undefined;
87
- viewPresetsList?: import("../viewPresetsList/types").ViewPresetListState | undefined;
88
- viewPresets?: import("../viewPresets/types").ViewPresetState | undefined;
89
- syncronizationGroupStore?: import("dist/libs/store/src/store/generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
90
- ui?: import("dist/libs/store/src/store/ui/types").UIStoreType | undefined;
91
- webmap?: import("dist/libs/store/src/store/mapStore/types").WebMapState | undefined;
92
- services?: import("dist/libs/store/src/store/mapStore/types").ServiceState | undefined;
93
- layers?: import("dist/libs/store/src/store/mapStore/types").LayerState | undefined;
94
- layerSelect?: import("dist/libs/store/src/store/layerSelect/types").LayerSelectStoreType | undefined;
95
- }, params_0: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: WorkspaceViewType) => boolean, {
51
+ export declare const getShouldPreventClose: ((state: AppStore, viewId: string) => boolean) & import("reselect").OutputSelectorFields<(args_0: WorkspaceViewType) => boolean, {
96
52
  clearCache: () => void;
97
53
  }> & {
98
54
  clearCache: () => void;
99
55
  };
100
- export declare const isWorkspaceLoading: ((state: {
101
- workspace?: WorkspaceState | undefined;
102
- workspaceList?: import("../workspaceList/types").WorkspaceListState | undefined;
103
- viewPresetsList?: import("../viewPresetsList/types").ViewPresetListState | undefined;
104
- viewPresets?: import("../viewPresets/types").ViewPresetState | undefined;
105
- syncronizationGroupStore?: import("dist/libs/store/src/store/generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
106
- ui?: import("dist/libs/store/src/store/ui/types").UIStoreType | undefined;
107
- webmap?: import("dist/libs/store/src/store/mapStore/types").WebMapState | undefined;
108
- services?: import("dist/libs/store/src/store/mapStore/types").ServiceState | undefined;
109
- layers?: import("dist/libs/store/src/store/mapStore/types").LayerState | undefined;
110
- layerSelect?: import("dist/libs/store/src/store/layerSelect/types").LayerSelectStoreType | undefined;
111
- }) => boolean) & import("reselect").OutputSelectorFields<(args_0: WorkspaceState) => boolean, {
56
+ export declare const isWorkspaceLoading: ((state: AppStore) => boolean) & import("reselect").OutputSelectorFields<(args_0: WorkspaceState) => boolean, {
112
57
  clearCache: () => void;
113
58
  }> & {
114
59
  clearCache: () => void;
115
60
  };
116
- export declare const getWorkspaceError: ((state: {
117
- workspace?: WorkspaceState | undefined;
118
- workspaceList?: import("../workspaceList/types").WorkspaceListState | undefined;
119
- viewPresetsList?: import("../viewPresetsList/types").ViewPresetListState | undefined;
120
- viewPresets?: import("../viewPresets/types").ViewPresetState | undefined;
121
- syncronizationGroupStore?: import("dist/libs/store/src/store/generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
122
- ui?: import("dist/libs/store/src/store/ui/types").UIStoreType | undefined;
123
- webmap?: import("dist/libs/store/src/store/mapStore/types").WebMapState | undefined;
124
- services?: import("dist/libs/store/src/store/mapStore/types").ServiceState | undefined;
125
- layers?: import("dist/libs/store/src/store/mapStore/types").LayerState | undefined;
126
- layerSelect?: import("dist/libs/store/src/store/layerSelect/types").LayerSelectStoreType | undefined;
127
- }) => import("./types").WorkspaceError) & import("reselect").OutputSelectorFields<(args_0: WorkspaceState) => import("./types").WorkspaceError, {
61
+ export declare const getWorkspaceError: ((state: AppStore) => import("./types").WorkspaceError) & import("reselect").OutputSelectorFields<(args_0: WorkspaceState) => import("./types").WorkspaceError, {
128
62
  clearCache: () => void;
129
63
  }> & {
130
64
  clearCache: () => void;
@@ -135,34 +69,12 @@ export declare const getWorkspaceError: ((state: {
135
69
  * @param {object} store store: object - Store object
136
70
  * @returns {string} returnType: string
137
71
  */
138
- export declare const getSelectedWorkspaceTitle: ((state: {
139
- workspace?: WorkspaceState | undefined;
140
- workspaceList?: import("../workspaceList/types").WorkspaceListState | undefined;
141
- viewPresetsList?: import("../viewPresetsList/types").ViewPresetListState | undefined;
142
- viewPresets?: import("../viewPresets/types").ViewPresetState | undefined;
143
- syncronizationGroupStore?: import("dist/libs/store/src/store/generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
144
- ui?: import("dist/libs/store/src/store/ui/types").UIStoreType | undefined;
145
- webmap?: import("dist/libs/store/src/store/mapStore/types").WebMapState | undefined;
146
- services?: import("dist/libs/store/src/store/mapStore/types").ServiceState | undefined;
147
- layers?: import("dist/libs/store/src/store/mapStore/types").LayerState | undefined;
148
- layerSelect?: import("dist/libs/store/src/store/layerSelect/types").LayerSelectStoreType | undefined;
149
- }) => string) & import("reselect").OutputSelectorFields<(args_0: WorkspaceState) => string, {
72
+ export declare const getSelectedWorkspaceTitle: ((state: AppStore) => string) & import("reselect").OutputSelectorFields<(args_0: WorkspaceState) => string, {
150
73
  clearCache: () => void;
151
74
  }> & {
152
75
  clearCache: () => void;
153
76
  };
154
- export declare const hasWorkspaceChanges: ((state: {
155
- workspace?: WorkspaceState | undefined;
156
- workspaceList?: import("../workspaceList/types").WorkspaceListState | undefined;
157
- viewPresetsList?: import("../viewPresetsList/types").ViewPresetListState | undefined;
158
- viewPresets?: import("../viewPresets/types").ViewPresetState | undefined;
159
- syncronizationGroupStore?: import("dist/libs/store/src/store/generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
160
- ui?: import("dist/libs/store/src/store/ui/types").UIStoreType | undefined;
161
- webmap?: import("dist/libs/store/src/store/mapStore/types").WebMapState | undefined;
162
- services?: import("dist/libs/store/src/store/mapStore/types").ServiceState | undefined;
163
- layers?: import("dist/libs/store/src/store/mapStore/types").LayerState | undefined;
164
- layerSelect?: import("dist/libs/store/src/store/layerSelect/types").LayerSelectStoreType | undefined;
165
- }) => boolean) & import("reselect").OutputSelectorFields<(args_0: WorkspaceState) => boolean, {
77
+ export declare const hasWorkspaceChanges: ((state: AppStore) => boolean) & import("reselect").OutputSelectorFields<(args_0: WorkspaceState) => boolean, {
166
78
  clearCache: () => void;
167
79
  }> & {
168
80
  clearCache: () => void;
@@ -173,18 +85,7 @@ export declare const hasWorkspaceChanges: ((state: {
173
85
  * @param {object} store store: object - Store object
174
86
  * @returns {string} returnType: string
175
87
  */
176
- export declare const getViewType: ((state: {
177
- workspace?: WorkspaceState | undefined;
178
- workspaceList?: import("../workspaceList/types").WorkspaceListState | undefined;
179
- viewPresetsList?: import("../viewPresetsList/types").ViewPresetListState | undefined;
180
- viewPresets?: import("../viewPresets/types").ViewPresetState | undefined;
181
- syncronizationGroupStore?: import("dist/libs/store/src/store/generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
182
- ui?: import("dist/libs/store/src/store/ui/types").UIStoreType | undefined;
183
- webmap?: import("dist/libs/store/src/store/mapStore/types").WebMapState | undefined;
184
- services?: import("dist/libs/store/src/store/mapStore/types").ServiceState | undefined;
185
- layers?: import("dist/libs/store/src/store/mapStore/types").LayerState | undefined;
186
- layerSelect?: import("dist/libs/store/src/store/layerSelect/types").LayerSelectStoreType | undefined;
187
- }) => "" | import("./types").ViewType) & import("reselect").OutputSelectorFields<(args_0: WorkspaceState) => "" | import("./types").ViewType, {
88
+ export declare const getViewType: ((state: AppStore) => "" | import("./types").ViewType) & import("reselect").OutputSelectorFields<(args_0: WorkspaceState) => "" | import("./types").ViewType, {
188
89
  clearCache: () => void;
189
90
  }> & {
190
91
  clearCache: () => void;
@@ -195,18 +96,7 @@ export declare const getViewType: ((state: {
195
96
  * @param {object} store store: object - Store object
196
97
  * @returns {string} returnType: string
197
98
  */
198
- export declare const getSelectedWorkspaceScope: ((state: {
199
- workspace?: WorkspaceState | undefined;
200
- workspaceList?: import("../workspaceList/types").WorkspaceListState | undefined;
201
- viewPresetsList?: import("../viewPresetsList/types").ViewPresetListState | undefined;
202
- viewPresets?: import("../viewPresets/types").ViewPresetState | undefined;
203
- syncronizationGroupStore?: import("dist/libs/store/src/store/generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
204
- ui?: import("dist/libs/store/src/store/ui/types").UIStoreType | undefined;
205
- webmap?: import("dist/libs/store/src/store/mapStore/types").WebMapState | undefined;
206
- services?: import("dist/libs/store/src/store/mapStore/types").ServiceState | undefined;
207
- layers?: import("dist/libs/store/src/store/mapStore/types").LayerState | undefined;
208
- layerSelect?: import("dist/libs/store/src/store/layerSelect/types").LayerSelectStoreType | undefined;
209
- }) => import("./types").PresetScope) & import("reselect").OutputSelectorFields<(args_0: WorkspaceState) => import("./types").PresetScope, {
99
+ export declare const getSelectedWorkspaceScope: ((state: AppStore) => import("./types").PresetScope) & import("reselect").OutputSelectorFields<(args_0: WorkspaceState) => import("./types").PresetScope, {
210
100
  clearCache: () => void;
211
101
  }> & {
212
102
  clearCache: () => void;
@@ -217,18 +107,7 @@ export declare const getSelectedWorkspaceScope: ((state: {
217
107
  * @param {object} store store: object - Store object
218
108
  * @returns {object} returnType: object - WorkspacePresetFromBE
219
109
  */
220
- export declare const getWorkspaceData: ((state: {
221
- workspace?: WorkspaceState | undefined;
222
- workspaceList?: import("../workspaceList/types").WorkspaceListState | undefined;
223
- viewPresetsList?: import("../viewPresetsList/types").ViewPresetListState | undefined;
224
- viewPresets?: import("../viewPresets/types").ViewPresetState | undefined;
225
- syncronizationGroupStore?: import("dist/libs/store/src/store/generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
226
- ui?: import("dist/libs/store/src/store/ui/types").UIStoreType | undefined;
227
- webmap?: import("dist/libs/store/src/store/mapStore/types").WebMapState | undefined;
228
- services?: import("dist/libs/store/src/store/mapStore/types").ServiceState | undefined;
229
- layers?: import("dist/libs/store/src/store/mapStore/types").LayerState | undefined;
230
- layerSelect?: import("dist/libs/store/src/store/layerSelect/types").LayerSelectStoreType | undefined;
231
- }) => {
110
+ export declare const getWorkspaceData: ((state: AppStore & import("@opengeoweb/store").CoreAppStore) => {
232
111
  id: string | undefined;
233
112
  title: string;
234
113
  syncGroups: {
@@ -263,18 +142,7 @@ export declare const getWorkspaceData: ((state: {
263
142
  }> & {
264
143
  clearCache: () => void;
265
144
  };
266
- export declare const getViewPresetToSendToBackend: ((state: {
267
- workspace?: WorkspaceState | undefined;
268
- workspaceList?: import("../workspaceList/types").WorkspaceListState | undefined;
269
- viewPresetsList?: import("../viewPresetsList/types").ViewPresetListState | undefined;
270
- viewPresets?: import("../viewPresets/types").ViewPresetState | undefined;
271
- syncronizationGroupStore?: import("dist/libs/store/src/store/generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
272
- ui?: import("dist/libs/store/src/store/ui/types").UIStoreType | undefined;
273
- webmap?: import("dist/libs/store/src/store/mapStore/types").WebMapState | undefined;
274
- services?: import("dist/libs/store/src/store/mapStore/types").ServiceState | undefined;
275
- layers?: import("dist/libs/store/src/store/mapStore/types").LayerState | undefined;
276
- layerSelect?: import("dist/libs/store/src/store/layerSelect/types").LayerSelectStoreType | undefined;
277
- }, params_0: string) => {
145
+ export declare const getViewPresetToSendToBackend: ((state: any, viewId: string) => {
278
146
  id: string | undefined;
279
147
  scope: import("./types").PresetScope;
280
148
  title: string;
@@ -1,8 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  import { syncGroupsTypes } from '@opengeoweb/store';
3
3
  import { MosaicNode } from 'react-mosaic-component';
4
- declare type InitialPropsWorkspaceViewType = Record<string, unknown>;
5
- export declare type WorkspaceViewPresetComponentsLookupType = 'ViewError' | 'ViewLoading';
4
+ type InitialPropsWorkspaceViewType = Record<string, unknown>;
5
+ export type WorkspaceViewPresetComponentsLookupType = 'ViewError' | 'ViewLoading';
6
6
  export interface WorkspaceViewType {
7
7
  id?: string;
8
8
  title?: string;
@@ -20,7 +20,7 @@ export interface WorkspaceViewsFromBE {
20
20
  mosaicNodeId: string;
21
21
  viewPresetId: string;
22
22
  }
23
- export declare type ViewType = 'singleWindow' | 'multiWindow' | 'tiledWindow';
23
+ export type ViewType = 'singleWindow' | 'multiWindow' | 'tiledWindow';
24
24
  export interface WorkspaceSyncGroup {
25
25
  id: string;
26
26
  type: syncGroupsTypes.SyncType;
@@ -96,9 +96,9 @@ export interface WorkspaceComponentLookupPayload {
96
96
  title?: string;
97
97
  initialProps: unknown;
98
98
  }
99
- export declare type WorkspaceLookupFunctionType = (payload: WorkspaceComponentLookupPayload) => React.ReactElement;
100
- export declare type PresetScope = 'user' | 'system';
101
- export declare type ViewPresetListItem = {
99
+ export type WorkspaceLookupFunctionType = (payload: WorkspaceComponentLookupPayload) => React.ReactElement;
100
+ export type PresetScope = 'user' | 'system';
101
+ export type ViewPresetListItem = {
102
102
  id: string;
103
103
  title: string;
104
104
  date: string;
@@ -123,7 +123,7 @@ export declare enum WorkspaceErrorType {
123
123
  GENERIC = "GENERIC",
124
124
  SAVE = "SAVE"
125
125
  }
126
- export declare type WorkspaceError = {
126
+ export type WorkspaceError = {
127
127
  type: WorkspaceErrorType;
128
128
  message: string;
129
129
  } | undefined;
@@ -6,18 +6,7 @@ export declare const getWorkspaceListError: (store: AppStore) => WorkspaceListEr
6
6
  export declare const getWorkspaceList: (state: AppStore) => import("../workspace/types").WorkspacePresetListItem[];
7
7
  export declare const getWorkspaceActionDialogDetails: (store: AppStore) => WorkspaceActionDialogType | boolean;
8
8
  export declare const getIsWorkspaceListDialogOpen: (store: AppStore) => boolean;
9
- export declare const getWorkspaceListFilters: ((state: {
10
- workspace?: import("../workspace/types").WorkspaceState | undefined;
11
- workspaceList?: WorkspaceListState | undefined;
12
- viewPresetsList?: import("../viewPresetsList/types").ViewPresetListState | undefined;
13
- viewPresets?: import("../viewPresets/types").ViewPresetState | undefined;
14
- syncronizationGroupStore?: import("dist/libs/store/src/store/generic/synchronizationGroups/types").SynchronizationGroupState | undefined;
15
- ui?: import("dist/libs/store/src/store/ui/types").UIStoreType | undefined;
16
- webmap?: import("dist/libs/store/src/store/mapStore/types").WebMapState | undefined;
17
- services?: import("dist/libs/store/src/store/mapStore/types").ServiceState | undefined;
18
- layers?: import("dist/libs/store/src/store/mapStore/types").LayerState | undefined;
19
- layerSelect?: import("dist/libs/store/src/store/layerSelect/types").LayerSelectStoreType | undefined;
20
- }) => WorkspaceListFilter[]) & import("reselect").OutputSelectorFields<(args_0: WorkspaceListState) => WorkspaceListFilter[], {
9
+ export declare const getWorkspaceListFilters: ((state: AppStore) => WorkspaceListFilter[]) & import("reselect").OutputSelectorFields<(args_0: WorkspaceListState) => WorkspaceListFilter[], {
21
10
  clearCache: () => void;
22
11
  }> & {
23
12
  clearCache: () => void;
@@ -3,7 +3,7 @@ import { WorkspacePresetListItem, WorkspacePresetAction, PresetScope, WorkspaceP
3
3
  export declare enum WorkspaceListErrorType {
4
4
  GENERIC = "GENERIC"
5
5
  }
6
- export declare type WorkspaceListError = {
6
+ export type WorkspaceListError = {
7
7
  type: WorkspaceListErrorType;
8
8
  message: string;
9
9
  } | undefined;
@@ -14,12 +14,12 @@ export interface WorkspaceListFilter {
14
14
  isSelected?: boolean;
15
15
  isDisabled?: boolean;
16
16
  }
17
- export declare type FetchWorkspaceParams = {
17
+ export type FetchWorkspaceParams = {
18
18
  scope?: string;
19
19
  search?: string;
20
20
  };
21
- export declare type WorkspaceListEntityState = EntityState<WorkspacePresetListItem>;
22
- export declare type WorkspacePresetFormValues = {
21
+ export type WorkspaceListEntityState = EntityState<WorkspacePresetListItem>;
22
+ export type WorkspacePresetFormValues = {
23
23
  title?: string;
24
24
  abstract?: string;
25
25
  scope?: PresetScope;
@@ -40,7 +40,7 @@ export interface WorkspaceListState extends WorkspaceListEntityState {
40
40
  searchQuery?: string;
41
41
  workspaceListFilters?: WorkspaceListFilter[];
42
42
  }
43
- export declare type FetchWorkspaceList = FetchWorkspaceParams;
43
+ export type FetchWorkspaceList = FetchWorkspaceParams;
44
44
  export interface FetchedWorkspaceList {
45
45
  workspaceList: WorkspacePresetListItem[];
46
46
  }
@@ -57,7 +57,7 @@ export interface ToggleSelectFilterChip {
57
57
  export interface SearchWorkspaceFilter {
58
58
  searchQuery: string;
59
59
  }
60
- export declare type OpenWorkspaceActionDialogPayload = WorkspaceActionDialogType;
60
+ export type OpenWorkspaceActionDialogPayload = WorkspaceActionDialogType;
61
61
  export interface SubmitFormWorkspaceActionDialogPayload {
62
62
  presetAction: WorkspacePresetAction;
63
63
  presetId: string;
@@ -5,7 +5,7 @@ import { ViewPreset } from '../store/viewPresets/types';
5
5
  import { FetchViewPresetsListParams } from '../store/viewPresetsList/types';
6
6
  export declare const API_NAME = "workspacepresets";
7
7
  export declare const getIdFromUrl: (url: string) => string;
8
- export declare type PresetsApi = {
8
+ export type PresetsApi = {
9
9
  getWorkspacePresets: (params?: FetchWorkspaceParams) => Promise<{
10
10
  data: WorkspacePresetListItem[];
11
11
  }>;
@@ -1,8 +1,8 @@
1
- declare type WorkspaceRoutes = {
1
+ type WorkspaceRoutes = {
2
2
  root: string;
3
3
  workspace: string;
4
4
  workspaceDetail: string;
5
5
  };
6
6
  export declare const routes: WorkspaceRoutes;
7
- export declare const getWorkspaceRouteUrl: (workspaceId?: string | undefined) => string;
7
+ export declare const getWorkspaceRouteUrl: (workspaceId?: string) => string;
8
8
  export {};
File without changes