@opengeoweb/store 6.0.1 → 6.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/index.esm.d.ts +1 -0
  2. package/{index.js → index.esm.js} +219 -82
  3. package/package.json +4 -5
  4. package/src/store/app/reducer.d.ts +1 -1
  5. package/src/store/coreModuleConfig.d.ts +1 -1
  6. package/src/store/drawings/config.d.ts +4 -0
  7. package/src/store/drawings/index.d.ts +4 -0
  8. package/src/store/drawings/reducer.d.ts +9 -0
  9. package/src/store/drawings/reducer.spec.d.ts +1 -0
  10. package/src/store/drawings/selectors.d.ts +3 -0
  11. package/src/store/drawings/selectors.spec.d.ts +1 -0
  12. package/src/store/drawings/testUtils.d.ts +1 -0
  13. package/src/store/drawings/types.d.ts +12 -0
  14. package/src/store/generic/selectors.d.ts +3 -13
  15. package/src/store/generic/synchronizationActions/actions.d.ts +1 -1
  16. package/src/store/generic/synchronizationActions/types.d.ts +1 -1
  17. package/src/store/generic/synchronizationGroups/selector.d.ts +2 -8
  18. package/src/store/generic/synchronizationGroups/selectors.d.ts +5 -40
  19. package/src/store/generic/synchronizationGroups/types.d.ts +3 -3
  20. package/src/store/generic/types.d.ts +3 -3
  21. package/src/store/index.d.ts +1 -0
  22. package/src/store/layerSelect/reducer.d.ts +1 -1
  23. package/src/store/layerSelect/selectors.d.ts +6 -48
  24. package/src/store/layerSelect/types.d.ts +5 -5
  25. package/src/store/mapStore/layers/reducer.d.ts +1 -1
  26. package/src/store/mapStore/layers/selectors.d.ts +24 -185
  27. package/src/store/mapStore/map/filterLayers.d.ts +1 -1
  28. package/src/store/mapStore/map/selectors.d.ts +49 -392
  29. package/src/store/mapStore/map/types.d.ts +3 -3
  30. package/src/store/mapStore/map/utils.d.ts +2 -2
  31. package/src/store/mapStore/service/reducer.d.ts +1 -1
  32. package/src/store/mapStore/service/selectors.d.ts +7 -48
  33. package/src/store/mapStore/service/types.d.ts +2 -2
  34. package/src/store/mapStore/storeTestUtils.d.ts +2 -2
  35. package/src/store/router/reducer.d.ts +1 -1
  36. package/src/store/router/types.d.ts +1 -1
  37. package/src/store/snackbar/reducer.d.ts +1 -1
  38. package/src/store/snackbar/selectors.d.ts +1 -3
  39. package/src/store/snackbar/types.d.ts +1 -1
  40. package/src/store/types.d.ts +2 -1
  41. package/src/store/ui/selectors.d.ts +7 -68
  42. package/src/store/ui/types.d.ts +4 -4
@@ -471,7 +471,12 @@ function __rest(s, e) {
471
471
  t[p[i]] = s[p[i]];
472
472
  }
473
473
  return t;
474
- }
474
+ }
475
+
476
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
477
+ var e = new Error(message);
478
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
479
+ };
475
480
 
476
481
  function n$2(n){for(var r=arguments.length,t=Array(r>1?r-1:0),e=1;e<r;e++)t[e-1]=arguments[e];if("production"!==process.env.NODE_ENV){var i=Y$1[n],o=i?"function"==typeof i?i.apply(null,t):i:"unknown error nr: "+n;throw Error("[Immer] "+o)}throw Error("[Immer] minified error nr: "+n+(t.length?" "+t.map((function(n){return "'"+n+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function r$2(n){return !!n&&!!n[Q$1]}function t$4(n){var r;return !!n&&(function(n){if(!n||"object"!=typeof n)return !1;var r=Object.getPrototypeOf(n);if(null===r)return !0;var t=Object.hasOwnProperty.call(r,"constructor")&&r.constructor;return t===Object||"function"==typeof t&&Function.toString.call(t)===Z$1}(n)||Array.isArray(n)||!!n[L$1]||!!(null===(r=n.constructor)||void 0===r?void 0:r[L$1])||s$1(n)||v$1(n))}function i$2(n,r,t){void 0===t&&(t=!1),0===o$2(n)?(t?Object.keys:nn$1)(n).forEach((function(e){t&&"symbol"==typeof e||r(e,n[e],n);})):n.forEach((function(t,e){return r(e,t,n)}));}function o$2(n){var r=n[Q$1];return r?r.i>3?r.i-4:r.i:Array.isArray(n)?1:s$1(n)?2:v$1(n)?3:0}function u$2(n,r){return 2===o$2(n)?n.has(r):Object.prototype.hasOwnProperty.call(n,r)}function a$2(n,r){return 2===o$2(n)?n.get(r):n[r]}function f$1(n,r,t){var e=o$2(n);2===e?n.set(r,t):3===e?n.add(t):n[r]=t;}function c$2(n,r){return n===r?0!==n||1/n==1/r:n!=n&&r!=r}function s$1(n){return X$1&&n instanceof Map}function v$1(n){return q$1&&n instanceof Set}function p$1(n){return n.o||n.t}function l$1(n){if(Array.isArray(n))return Array.prototype.slice.call(n);var r=rn$1(n);delete r[Q$1];for(var t=nn$1(r),e=0;e<t.length;e++){var i=t[e],o=r[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(r[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:n[i]});}return Object.create(Object.getPrototypeOf(n),r)}function d$1(n,e){return void 0===e&&(e=!1),y$1(n)||r$2(n)||!t$4(n)||(o$2(n)>1&&(n.set=n.add=n.clear=n.delete=h$1),Object.freeze(n),e&&i$2(n,(function(n,r){return d$1(r,!0)}),!0)),n}function h$1(){n$2(2);}function y$1(n){return null==n||"object"!=typeof n||Object.isFrozen(n)}function b$1(r){var t=tn$1[r];return t||n$2(18,r),t}function _$1(){return "production"===process.env.NODE_ENV||U$1||n$2(0),U$1}function j$1(n,r){r&&(b$1("Patches"),n.u=[],n.s=[],n.v=r);}function g$1(n){O$1(n),n.p.forEach(S$1),n.p=null;}function O$1(n){n===U$1&&(U$1=n.l);}function w$1(n){return U$1={p:[],l:U$1,h:n,m:!0,_:0}}function S$1(n){var r=n[Q$1];0===r.i||1===r.i?r.j():r.g=!0;}function P$1(r,e){e._=e.p.length;var i=e.p[0],o=void 0!==r&&r!==i;return e.h.O||b$1("ES5").S(e,r,o),o?(i[Q$1].P&&(g$1(e),n$2(4)),t$4(r)&&(r=M$1(e,r),e.l||x$1(e,r)),e.u&&b$1("Patches").M(i[Q$1].t,r,e.u,e.s)):r=M$1(e,i,[]),g$1(e),e.u&&e.v(e.u,e.s),r!==H$1?r:void 0}function M$1(n,r,t){if(y$1(r))return r;var e=r[Q$1];if(!e)return i$2(r,(function(i,o){return A$1(n,e,r,i,o,t)}),!0),r;if(e.A!==n)return r;if(!e.P)return x$1(n,e.t,!0),e.t;if(!e.I){e.I=!0,e.A._--;var o=4===e.i||5===e.i?e.o=l$1(e.k):e.o,u=o,a=!1;3===e.i&&(u=new Set(o),o.clear(),a=!0),i$2(u,(function(r,i){return A$1(n,e,o,r,i,t,a)})),x$1(n,o,!1),t&&n.u&&b$1("Patches").N(e,t,n.u,n.s);}return e.o}function A$1(e,i,o,a,c,s,v){if("production"!==process.env.NODE_ENV&&c===o&&n$2(5),r$2(c)){var p=M$1(e,c,s&&i&&3!==i.i&&!u$2(i.R,a)?s.concat(a):void 0);if(f$1(o,a,p),!r$2(p))return;e.m=!1;}else v&&o.add(c);if(t$4(c)&&!y$1(c)){if(!e.h.D&&e._<1)return;M$1(e,c),i&&i.A.l||x$1(e,c);}}function x$1(n,r,t){void 0===t&&(t=!1),!n.l&&n.h.D&&n.m&&d$1(r,t);}function z$1(n,r){var t=n[Q$1];return (t?p$1(t):n)[r]}function I$1(n,r){if(r in n)for(var t=Object.getPrototypeOf(n);t;){var e=Object.getOwnPropertyDescriptor(t,r);if(e)return e;t=Object.getPrototypeOf(t);}}function k$1(n){n.P||(n.P=!0,n.l&&k$1(n.l));}function E$1(n){n.o||(n.o=l$1(n.t));}function N$1(n,r,t){var e=s$1(r)?b$1("MapSet").F(r,t):v$1(r)?b$1("MapSet").T(r,t):n.O?function(n,r){var t=Array.isArray(n),e={i:t?1:0,A:r?r.A:_$1(),P:!1,I:!1,R:{},l:r,t:n,k:null,o:null,j:null,C:!1},i=e,o=en$1;t&&(i=[e],o=on$1);var u=Proxy.revocable(i,o),a=u.revoke,f=u.proxy;return e.k=f,e.j=a,f}(r,t):b$1("ES5").J(r,t);return (t?t.A:_$1()).p.push(e),e}function R$1(e){return r$2(e)||n$2(22,e),function n(r){if(!t$4(r))return r;var e,u=r[Q$1],c=o$2(r);if(u){if(!u.P&&(u.i<4||!b$1("ES5").K(u)))return u.t;u.I=!0,e=D$1(r,c),u.I=!1;}else e=D$1(r,c);return i$2(e,(function(r,t){u&&a$2(u.t,r)===t||f$1(e,r,n(t));})),3===c?new Set(e):e}(e)}function D$1(n,r){switch(r){case 2:return new Map(n);case 3:return Array.from(n)}return l$1(n)}var G$1,U$1,W$1="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),X$1="undefined"!=typeof Map,q$1="undefined"!=typeof Set,B$1="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,H$1=W$1?Symbol.for("immer-nothing"):((G$1={})["immer-nothing"]=!0,G$1),L$1=W$1?Symbol.for("immer-draftable"):"__$immer_draftable",Q$1=W$1?Symbol.for("immer-state"):"__$immer_state",Y$1={0:"Illegal state",1:"Immer drafts cannot have computed properties",2:"This object has been frozen and should not be mutated",3:function(n){return "Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+n},4:"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.",5:"Immer forbids circular references",6:"The first or second argument to `produce` must be a function",7:"The third argument to `produce` must be a function or undefined",8:"First argument to `createDraft` must be a plain object, an array, or an immerable object",9:"First argument to `finishDraft` must be a draft returned by `createDraft`",10:"The given draft is already finalized",11:"Object.defineProperty() cannot be used on an Immer draft",12:"Object.setPrototypeOf() cannot be used on an Immer draft",13:"Immer only supports deleting array indices",14:"Immer only supports setting array indices and the 'length' property",15:function(n){return "Cannot apply patch, path doesn't resolve: "+n},16:'Sets cannot have "replace" patches.',17:function(n){return "Unsupported patch operation: "+n},18:function(n){return "The plugin for '"+n+"' has not been loaded into Immer. To enable the plugin, import and call `enable"+n+"()` when initializing your application."},20:"Cannot use proxies if Proxy, Proxy.revocable or Reflect are not available",21:function(n){return "produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '"+n+"'"},22:function(n){return "'current' expects a draft, got: "+n},23:function(n){return "'original' expects a draft, got: "+n},24:"Patching reserved attributes like __proto__, prototype and constructor is not allowed"},Z$1=""+Object.prototype.constructor,nn$1="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(n){return Object.getOwnPropertyNames(n).concat(Object.getOwnPropertySymbols(n))}:Object.getOwnPropertyNames,rn$1=Object.getOwnPropertyDescriptors||function(n){var r={};return nn$1(n).forEach((function(t){r[t]=Object.getOwnPropertyDescriptor(n,t);})),r},tn$1={},en$1={get:function(n,r){if(r===Q$1)return n;var e=p$1(n);if(!u$2(e,r))return function(n,r,t){var e,i=I$1(r,t);return i?"value"in i?i.value:null===(e=i.get)||void 0===e?void 0:e.call(n.k):void 0}(n,e,r);var i=e[r];return n.I||!t$4(i)?i:i===z$1(n.t,r)?(E$1(n),n.o[r]=N$1(n.A.h,i,n)):i},has:function(n,r){return r in p$1(n)},ownKeys:function(n){return Reflect.ownKeys(p$1(n))},set:function(n,r,t){var e=I$1(p$1(n),r);if(null==e?void 0:e.set)return e.set.call(n.k,t),!0;if(!n.P){var i=z$1(p$1(n),r),o=null==i?void 0:i[Q$1];if(o&&o.t===t)return n.o[r]=t,n.R[r]=!1,!0;if(c$2(t,i)&&(void 0!==t||u$2(n.t,r)))return !0;E$1(n),k$1(n);}return n.o[r]===t&&(void 0!==t||r in n.o)||Number.isNaN(t)&&Number.isNaN(n.o[r])||(n.o[r]=t,n.R[r]=!0),!0},deleteProperty:function(n,r){return void 0!==z$1(n.t,r)||r in n.t?(n.R[r]=!1,E$1(n),k$1(n)):delete n.R[r],n.o&&delete n.o[r],!0},getOwnPropertyDescriptor:function(n,r){var t=p$1(n),e=Reflect.getOwnPropertyDescriptor(t,r);return e?{writable:!0,configurable:1!==n.i||"length"!==r,enumerable:e.enumerable,value:t[r]}:e},defineProperty:function(){n$2(11);},getPrototypeOf:function(n){return Object.getPrototypeOf(n.t)},setPrototypeOf:function(){n$2(12);}},on$1={};i$2(en$1,(function(n,r){on$1[n]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)};})),on$1.deleteProperty=function(r,t){return "production"!==process.env.NODE_ENV&&isNaN(parseInt(t))&&n$2(13),on$1.set.call(this,r,t,void 0)},on$1.set=function(r,t,e){return "production"!==process.env.NODE_ENV&&"length"!==t&&isNaN(parseInt(t))&&n$2(14),en$1.set.call(this,r[0],t,e,r[0])};var un$1=function(){function e(r){var e=this;this.O=B$1,this.D=!0,this.produce=function(r,i,o){if("function"==typeof r&&"function"!=typeof i){var u=i;i=r;var a=e;return function(n){var r=this;void 0===n&&(n=u);for(var t=arguments.length,e=Array(t>1?t-1:0),o=1;o<t;o++)e[o-1]=arguments[o];return a.produce(n,(function(n){var t;return (t=i).call.apply(t,[r,n].concat(e))}))}}var f;if("function"!=typeof i&&n$2(6),void 0!==o&&"function"!=typeof o&&n$2(7),t$4(r)){var c=w$1(e),s=N$1(e,r,void 0),v=!0;try{f=i(s),v=!1;}finally{v?g$1(c):O$1(c);}return "undefined"!=typeof Promise&&f instanceof Promise?f.then((function(n){return j$1(c,o),P$1(n,c)}),(function(n){throw g$1(c),n})):(j$1(c,o),P$1(f,c))}if(!r||"object"!=typeof r){if(void 0===(f=i(r))&&(f=r),f===H$1&&(f=void 0),e.D&&d$1(f,!0),o){var p=[],l=[];b$1("Patches").M(r,f,p,l),o(p,l);}return f}n$2(21,r);},this.produceWithPatches=function(n,r){if("function"==typeof n)return function(r){for(var t=arguments.length,i=Array(t>1?t-1:0),o=1;o<t;o++)i[o-1]=arguments[o];return e.produceWithPatches(r,(function(r){return n.apply(void 0,[r].concat(i))}))};var t,i,o=e.produce(n,r,(function(n,r){t=n,i=r;}));return "undefined"!=typeof Promise&&o instanceof Promise?o.then((function(n){return [n,t,i]})):[o,t,i]},"boolean"==typeof(null==r?void 0:r.useProxies)&&this.setUseProxies(r.useProxies),"boolean"==typeof(null==r?void 0:r.autoFreeze)&&this.setAutoFreeze(r.autoFreeze);}var i=e.prototype;return i.createDraft=function(e){t$4(e)||n$2(8),r$2(e)&&(e=R$1(e));var i=w$1(this),o=N$1(this,e,void 0);return o[Q$1].C=!0,O$1(i),o},i.finishDraft=function(r,t){var e=r&&r[Q$1];"production"!==process.env.NODE_ENV&&(e&&e.C||n$2(9),e.I&&n$2(10));var i=e.A;return j$1(i,t),P$1(void 0,i)},i.setAutoFreeze=function(n){this.D=n;},i.setUseProxies=function(r){r&&!B$1&&n$2(20),this.O=r;},i.applyPatches=function(n,t){var e;for(e=t.length-1;e>=0;e--){var i=t[e];if(0===i.path.length&&"replace"===i.op){n=i.value;break}}e>-1&&(t=t.slice(e+1));var o=b$1("Patches").$;return r$2(n)?o(n,t):this.produce(n,(function(n){return o(n,t)}))},e}(),an$1=new un$1,fn$1=an$1.produce;an$1.produceWithPatches.bind(an$1);an$1.setAutoFreeze.bind(an$1);an$1.setUseProxies.bind(an$1);an$1.applyPatches.bind(an$1);an$1.createDraft.bind(an$1);an$1.finishDraft.bind(an$1);
477
482
 
@@ -2810,7 +2815,7 @@ var LayerActionOrigin;
2810
2815
  LayerActionOrigin["unregisterMapSaga"] = "unregisterMapSaga";
2811
2816
  })(LayerActionOrigin || (LayerActionOrigin = {}));
2812
2817
 
2813
- var types$7 = /*#__PURE__*/Object.freeze({
2818
+ var types$8 = /*#__PURE__*/Object.freeze({
2814
2819
  __proto__: null,
2815
2820
  get LayerType () { return LayerType; },
2816
2821
  get LayerStatus () { return LayerStatus; },
@@ -9192,7 +9197,7 @@ var createLayer = function createLayer(_a) {
9192
9197
  status: status
9193
9198
  });
9194
9199
  };
9195
- var initialState$8 = {
9200
+ var initialState$9 = {
9196
9201
  byId: {},
9197
9202
  allIds: [],
9198
9203
  availableBaseLayers: {
@@ -9200,8 +9205,8 @@ var initialState$8 = {
9200
9205
  allIds: []
9201
9206
  }
9202
9207
  };
9203
- var slice$8 = createSlice({
9204
- initialState: initialState$8,
9208
+ var slice$9 = createSlice({
9209
+ initialState: initialState$9,
9205
9210
  name: 'layerReducer',
9206
9211
  reducers: {
9207
9212
  addLayer: function addLayer(draft, action) {
@@ -9555,7 +9560,7 @@ var slice$8 = createSlice({
9555
9560
  type: source.type
9556
9561
  };
9557
9562
  /* Handle the Layer action with the same logic, using the same reducer */
9558
- return reducer$8(prevState, action);
9563
+ return reducer$9(prevState, action);
9559
9564
  }, state);
9560
9565
  }).addCase(setMapPreset, function (draft, action) {
9561
9566
  var mapId = action.payload.mapId;
@@ -9575,8 +9580,8 @@ var slice$8 = createSlice({
9575
9580
  });
9576
9581
  }
9577
9582
  });
9578
- var reducer$8 = slice$8.reducer;
9579
- var layerActions = slice$8.actions;
9583
+ var reducer$9 = slice$9.reducer;
9584
+ var layerActions = slice$9.actions;
9580
9585
 
9581
9586
  var lodash = {exports: {}};
9582
9587
 
@@ -27130,7 +27135,7 @@ var getLayerIsInsideAcceptanceTime = createSelector(getAcceptanceTimeInMinutes,
27130
27135
  return 'inside';
27131
27136
  });
27132
27137
 
27133
- var selectors$7 = /*#__PURE__*/Object.freeze({
27138
+ var selectors$8 = /*#__PURE__*/Object.freeze({
27134
27139
  __proto__: null,
27135
27140
  getLayerById: getLayerById,
27136
27141
  getLayersById: getLayersById,
@@ -27186,7 +27191,7 @@ var AnimationLength;
27186
27191
  AnimationLength[AnimationLength["Hours24"] = 1440] = "Hours24";
27187
27192
  })(AnimationLength || (AnimationLength = {}));
27188
27193
 
27189
- var types$6 = /*#__PURE__*/Object.freeze({
27194
+ var types$7 = /*#__PURE__*/Object.freeze({
27190
27195
  __proto__: null,
27191
27196
  get AnimationLength () { return AnimationLength; }
27192
27197
  });
@@ -27308,7 +27313,7 @@ function replaceLayerIds(layers, autoLayerIdOld, autoLayerIdNew) {
27308
27313
  * Copyright 2023 - Finnish Meteorological Institute (FMI)
27309
27314
  * */
27310
27315
 
27311
- var types$5 = /*#__PURE__*/Object.freeze({
27316
+ var types$6 = /*#__PURE__*/Object.freeze({
27312
27317
  __proto__: null
27313
27318
  });
27314
27319
 
@@ -27335,13 +27340,13 @@ var createUIDialogElement = function createUIDialogElement(_ref) {
27335
27340
  focused: false
27336
27341
  };
27337
27342
  };
27338
- var initialState$7 = {
27343
+ var initialState$8 = {
27339
27344
  order: [],
27340
27345
  dialogs: {},
27341
27346
  activeWindowId: undefined
27342
27347
  };
27343
- var slice$7 = createSlice({
27344
- initialState: initialState$7,
27348
+ var slice$8 = createSlice({
27349
+ initialState: initialState$8,
27345
27350
  name: 'uiReducer',
27346
27351
  reducers: {
27347
27352
  registerDialog: function registerDialog(draft, action) {
@@ -27433,8 +27438,8 @@ var slice$7 = createSlice({
27433
27438
  }
27434
27439
  }
27435
27440
  });
27436
- var reducer$7 = slice$7.reducer;
27437
- var uiActions = slice$7.actions;
27441
+ var reducer$8 = slice$8.reducer;
27442
+ var uiActions = slice$8.actions;
27438
27443
 
27439
27444
  var addBaseLayer = layerActions.addBaseLayer,
27440
27445
  addLayer$1 = layerActions.addLayer,
@@ -27481,12 +27486,12 @@ var createLayersWithIds = function createLayersWithIds(state, layers) {
27481
27486
  }
27482
27487
  });
27483
27488
  };
27484
- var initialState$6 = {
27489
+ var initialState$7 = {
27485
27490
  byId: {},
27486
27491
  allIds: []
27487
27492
  };
27488
- var slice$6 = createSlice({
27489
- initialState: initialState$6,
27493
+ var slice$7 = createSlice({
27494
+ initialState: initialState$7,
27490
27495
  name: 'mapReducer',
27491
27496
  reducers: {
27492
27497
  registerMap: function registerMap(draft, action) {
@@ -28001,7 +28006,7 @@ var slice$6 = createSlice({
28001
28006
  type: source.type
28002
28007
  };
28003
28008
  /* Handle the Layer action with the same logic, using the same reducer */
28004
- return reducer$6(prevState, action);
28009
+ return reducer$7(prevState, action);
28005
28010
  }, draft);
28006
28011
  }).addCase(onUpdateLayerInformation, function (draft, action) {
28007
28012
  var mapDimensions = action.payload.mapDimensions;
@@ -28047,11 +28052,11 @@ var slice$6 = createSlice({
28047
28052
  });
28048
28053
  }
28049
28054
  });
28050
- var mapActions = Object.assign(Object.assign({}, slice$6.actions), {
28055
+ var mapActions = Object.assign(Object.assign({}, slice$7.actions), {
28051
28056
  setMapPreset: setMapPreset,
28052
28057
  mapChangeDimension: mapChangeDimension
28053
28058
  });
28054
- var reducer$6 = slice$6.reducer;
28059
+ var reducer$7 = slice$7.reducer;
28055
28060
 
28056
28061
  /* *
28057
28062
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -28177,11 +28182,8 @@ var getDialogIsLoading = createSelector(getDialogDetailsByType, function (detail
28177
28182
  var getDialogError = createSelector(getDialogDetailsByType, function (details) {
28178
28183
  return details && details.error || '';
28179
28184
  });
28180
- var getDialogFocused = createSelector(getDialogDetailsByType, function (details) {
28181
- return details && details.focused || false;
28182
- });
28183
28185
 
28184
- var selectors$6 = /*#__PURE__*/Object.freeze({
28186
+ var selectors$7 = /*#__PURE__*/Object.freeze({
28185
28187
  __proto__: null,
28186
28188
  getUiStore: getUiStore,
28187
28189
  getDialogDetailsByType: getDialogDetailsByType,
@@ -28192,8 +28194,7 @@ var selectors$6 = /*#__PURE__*/Object.freeze({
28192
28194
  getDialogSource: getDialogSource,
28193
28195
  getActiveWindowId: getActiveWindowId,
28194
28196
  getDialogIsLoading: getDialogIsLoading,
28195
- getDialogError: getDialogError,
28196
- getDialogFocused: getDialogFocused
28197
+ getDialogError: getDialogError
28197
28198
  });
28198
28199
 
28199
28200
  /* *
@@ -28229,7 +28230,7 @@ var DialogTypes;
28229
28230
  DialogTypes["AreaManager"] = "areaManager";
28230
28231
  })(DialogTypes || (DialogTypes = {}));
28231
28232
 
28232
- var types$4 = /*#__PURE__*/Object.freeze({
28233
+ var types$5 = /*#__PURE__*/Object.freeze({
28233
28234
  __proto__: null,
28234
28235
  get DialogTypes () { return DialogTypes; }
28235
28236
  });
@@ -28319,7 +28320,7 @@ var removeInPlace = function removeInPlace(inDraftArray, condition) {
28319
28320
  * Copyright 2020 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
28320
28321
  * Copyright 2020 - Finnish Meteorological Institute (FMI)
28321
28322
  * */
28322
- var initialState$5 = {
28323
+ var initialState$6 = {
28323
28324
  sources: {
28324
28325
  byId: {},
28325
28326
  allIds: []
@@ -28343,8 +28344,8 @@ var initialState$5 = {
28343
28344
  }
28344
28345
  }
28345
28346
  };
28346
- var slice$5 = createSlice({
28347
- initialState: initialState$5,
28347
+ var slice$6 = createSlice({
28348
+ initialState: initialState$6,
28348
28349
  name: 'synchronizationGroupsReducer',
28349
28350
  reducers: {
28350
28351
  syncGroupAddSource: function syncGroupAddSource(draft, action) {
@@ -28473,7 +28474,7 @@ var slice$5 = createSlice({
28473
28474
  });
28474
28475
  },
28475
28476
  syncGroupClear: function syncGroupClear() {
28476
- return initialState$5;
28477
+ return initialState$6;
28477
28478
  },
28478
28479
  syncGroupSetViewState: function syncGroupSetViewState(draft, action) {
28479
28480
  var viewState = action.payload.viewState;
@@ -28532,7 +28533,7 @@ var setBboxOrTimeSync = function setBboxOrTimeSync(state, action) {
28532
28533
  });
28533
28534
  });
28534
28535
  };
28535
- var _slice$actions = slice$5.actions,
28536
+ var _slice$actions = slice$6.actions,
28536
28537
  syncGroupAddGroup = _slice$actions.syncGroupAddGroup,
28537
28538
  syncGroupAddSource = _slice$actions.syncGroupAddSource,
28538
28539
  syncGroupAddTarget = _slice$actions.syncGroupAddTarget;
@@ -28542,8 +28543,8 @@ var _slice$actions = slice$5.actions,
28542
28543
  syncGroupRemoveSource = _slice$actions.syncGroupRemoveSource,
28543
28544
  syncGroupRemoveTarget = _slice$actions.syncGroupRemoveTarget,
28544
28545
  syncGroupSetViewState = _slice$actions.syncGroupSetViewState;
28545
- var actions = slice$5.actions,
28546
- reducer$5 = slice$5.reducer;
28546
+ var actions = slice$6.actions,
28547
+ reducer$6 = slice$6.reducer;
28547
28548
 
28548
28549
  /* *
28549
28550
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -28571,7 +28572,7 @@ var SyncGroupActionOrigin;
28571
28572
  SyncGroupActionOrigin["activateLayerId"] = "ORIGIN_GENERIC_SYNCHRONIZATIONGROUP_UTILS_ACTIVELAYERIDACTION";
28572
28573
  })(SyncGroupActionOrigin || (SyncGroupActionOrigin = {}));
28573
28574
 
28574
- var types$3 = /*#__PURE__*/Object.freeze({
28575
+ var types$4 = /*#__PURE__*/Object.freeze({
28575
28576
  __proto__: null,
28576
28577
  SyncGroupTypeList: SyncGroupTypeList,
28577
28578
  get SyncGroupActionOrigin () { return SyncGroupActionOrigin; }
@@ -28712,7 +28713,7 @@ var getSyncGroupTargets = createSelector(syncGroupStore, function (store) {
28712
28713
  }, []);
28713
28714
  });
28714
28715
 
28715
- var selectors$5 = /*#__PURE__*/Object.freeze({
28716
+ var selectors$6 = /*#__PURE__*/Object.freeze({
28716
28717
  __proto__: null,
28717
28718
  syncGroupStore: syncGroupStore,
28718
28719
  getSynchronizationGroupState: getSynchronizationGroupState,
@@ -28864,7 +28865,7 @@ var getTime = createSelector(getSyncSourceBySourceId, function (store) {
28864
28865
  return store && store.payloadByType && store.payloadByType[SYNCGROUPS_TYPE_SETTIME] ? store.payloadByType[SYNCGROUPS_TYPE_SETTIME].value : null;
28865
28866
  });
28866
28867
 
28867
- var selectors$4 = /*#__PURE__*/Object.freeze({
28868
+ var selectors$5 = /*#__PURE__*/Object.freeze({
28868
28869
  __proto__: null,
28869
28870
  getSynchronizationGroupStore: getSynchronizationGroupStore,
28870
28871
  getTime: getTime
@@ -28887,7 +28888,7 @@ var selectors$4 = /*#__PURE__*/Object.freeze({
28887
28888
  * Copyright 2020 - Finnish Meteorological Institute (FMI)
28888
28889
  * */
28889
28890
 
28890
- var types$2 = /*#__PURE__*/Object.freeze({
28891
+ var types$3 = /*#__PURE__*/Object.freeze({
28891
28892
  __proto__: null
28892
28893
  });
28893
28894
 
@@ -29591,7 +29592,7 @@ var getDockedLayerManagerSize = createSelector(getMapById, function (store) {
29591
29592
  return store ? store.dockedLayerManagerSize : 'sizeSmall';
29592
29593
  });
29593
29594
 
29594
- var selectors$3 = /*#__PURE__*/Object.freeze({
29595
+ var selectors$4 = /*#__PURE__*/Object.freeze({
29595
29596
  __proto__: null,
29596
29597
  getMapById: getMapById,
29597
29598
  getAllMapIds: getAllMapIds,
@@ -29801,12 +29802,12 @@ var mapUtils = Object.assign(Object.assign({}, utils$3), {
29801
29802
  * Copyright 2020 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
29802
29803
  * Copyright 2020 - Finnish Meteorological Institute (FMI)
29803
29804
  * */
29804
- var initialState$4 = {
29805
+ var initialState$5 = {
29805
29806
  byId: {},
29806
29807
  allIds: []
29807
29808
  };
29808
- var slice$4 = createSlice({
29809
- initialState: initialState$4,
29809
+ var slice$5 = createSlice({
29810
+ initialState: initialState$5,
29810
29811
  name: 'serviceReducer',
29811
29812
  reducers: {
29812
29813
  serviceSetLayers: function serviceSetLayers(draft, action) {
@@ -29835,8 +29836,8 @@ var slice$4 = createSlice({
29835
29836
  action) {}
29836
29837
  }
29837
29838
  });
29838
- var reducer$4 = slice$4.reducer;
29839
- var serviceActions = slice$4.actions;
29839
+ var reducer$5 = slice$5.reducer;
29840
+ var serviceActions = slice$5.actions;
29840
29841
 
29841
29842
  /* *
29842
29843
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -29948,7 +29949,7 @@ var getLayerStyles = createSelector(getLayerFromService, function (layer) {
29948
29949
  return layer && layer.styles ? layer.styles : [];
29949
29950
  }, selectorMemoizationOptions);
29950
29951
 
29951
- var selectors$2 = /*#__PURE__*/Object.freeze({
29952
+ var selectors$3 = /*#__PURE__*/Object.freeze({
29952
29953
  __proto__: null,
29953
29954
  getServiceIds: getServiceIds,
29954
29955
  getServices: getServices,
@@ -33198,9 +33199,9 @@ i({
33198
33199
  var mapStoreModuleConfig = {
33199
33200
  id: 'webmap-module',
33200
33201
  reducersMap: {
33201
- webmap: reducer$6,
33202
- services: reducer$4,
33203
- layers: reducer$8
33202
+ webmap: reducer$7,
33203
+ services: reducer$5,
33204
+ layers: reducer$9
33204
33205
  },
33205
33206
  sagas: [rootSaga$7, rootSaga$6]
33206
33207
  };
@@ -33245,7 +33246,7 @@ var FilterType;
33245
33246
  FilterType["Group"] = "groups";
33246
33247
  })(FilterType || (FilterType = {}));
33247
33248
 
33248
- var types$1 = /*#__PURE__*/Object.freeze({
33249
+ var types$2 = /*#__PURE__*/Object.freeze({
33249
33250
  __proto__: null,
33250
33251
  get FilterType () { return FilterType; }
33251
33252
  });
@@ -33335,7 +33336,7 @@ var initialServicePopupState = {
33335
33336
  serviceId: '',
33336
33337
  variant: 'add'
33337
33338
  };
33338
- var initialState$3 = {
33339
+ var initialState$4 = {
33339
33340
  filters: {
33340
33341
  searchFilter: '',
33341
33342
  activeServices: layerSelectActiveServicesAdapter.getInitialState(),
@@ -33351,8 +33352,8 @@ var initialState$3 = {
33351
33352
  },
33352
33353
  servicePopup: initialServicePopupState
33353
33354
  };
33354
- var slice$3 = createSlice({
33355
- initialState: initialState$3,
33355
+ var slice$4 = createSlice({
33356
+ initialState: initialState$4,
33356
33357
  name: DialogTypes.LayerSelect,
33357
33358
  reducers: {
33358
33359
  setSearchFilter: function setSearchFilter(draft, action) {
@@ -33526,8 +33527,8 @@ var slice$3 = createSlice({
33526
33527
  });
33527
33528
  }
33528
33529
  });
33529
- var reducer$3 = slice$3.reducer;
33530
- var layerSelectActions = slice$3.actions;
33530
+ var reducer$4 = slice$4.reducer;
33531
+ var layerSelectActions = slice$4.actions;
33531
33532
 
33532
33533
  /* *
33533
33534
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -33692,7 +33693,7 @@ var getServicePopupDetails = function getServicePopupDetails(store) {
33692
33693
  return ((_a = store === null || store === void 0 ? void 0 : store.layerSelect) === null || _a === void 0 ? void 0 : _a.servicePopup) || initialServicePopupState;
33693
33694
  };
33694
33695
 
33695
- var selectors$1 = /*#__PURE__*/Object.freeze({
33696
+ var selectors$2 = /*#__PURE__*/Object.freeze({
33696
33697
  __proto__: null,
33697
33698
  getSearchFilter: getSearchFilter,
33698
33699
  getActiveServices: getActiveServices,
@@ -33773,9 +33774,9 @@ var isNoIdService = function isNoIdService(param) {
33773
33774
  * Copyright 2022 - Finnish Meteorological Institute (FMI)
33774
33775
  * */
33775
33776
  var snackbarAdapter = createEntityAdapter();
33776
- var initialState$2 = snackbarAdapter.getInitialState();
33777
- var slice$2 = createSlice({
33778
- initialState: initialState$2,
33777
+ var initialState$3 = snackbarAdapter.getInitialState();
33778
+ var slice$3 = createSlice({
33779
+ initialState: initialState$3,
33779
33780
  name: 'snackbar',
33780
33781
  reducers: {
33781
33782
  // To open the snackbar call this action
@@ -33799,8 +33800,8 @@ var slice$2 = createSlice({
33799
33800
  }
33800
33801
  }
33801
33802
  });
33802
- var reducer$2 = slice$2.reducer;
33803
- var snackbarActions = slice$2.actions;
33803
+ var reducer$3 = slice$3.reducer;
33804
+ var snackbarActions = slice$3.actions;
33804
33805
 
33805
33806
  /* *
33806
33807
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -33836,7 +33837,7 @@ var getFirstSnackbarMessage = createSelector(getCurrentSnackbarMessages, functio
33836
33837
  return currentMessages.length > 0 ? currentMessages[0] : undefined;
33837
33838
  });
33838
33839
 
33839
- var selectors = /*#__PURE__*/Object.freeze({
33840
+ var selectors$1 = /*#__PURE__*/Object.freeze({
33840
33841
  __proto__: null,
33841
33842
  getSnackbarStore: getSnackbarStore,
33842
33843
  getCurrentSnackbarMessages: getCurrentSnackbarMessages,
@@ -33860,7 +33861,7 @@ var selectors = /*#__PURE__*/Object.freeze({
33860
33861
  * Copyright 2022 - Finnish Meteorological Institute (FMI)
33861
33862
  * */
33862
33863
 
33863
- var types = /*#__PURE__*/Object.freeze({
33864
+ var types$1 = /*#__PURE__*/Object.freeze({
33864
33865
  __proto__: null
33865
33866
  });
33866
33867
 
@@ -33945,7 +33946,7 @@ function rootSaga$5() {
33945
33946
  var snackbarModuleConfig = {
33946
33947
  id: 'snackbar-module',
33947
33948
  reducersMap: {
33948
- snackbar: reducer$2
33949
+ snackbar: reducer$3
33949
33950
  },
33950
33951
  sagas: [rootSaga$5]
33951
33952
  };
@@ -33966,9 +33967,9 @@ var snackbarModuleConfig = {
33966
33967
  * Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
33967
33968
  * Copyright 2023 - Finnish Meteorological Institute (FMI)
33968
33969
  * */
33969
- var initialState$1 = {};
33970
- var slice$1 = createSlice({
33971
- initialState: initialState$1,
33970
+ var initialState$2 = {};
33971
+ var slice$2 = createSlice({
33972
+ initialState: initialState$2,
33972
33973
  name: 'router',
33973
33974
  reducers: {
33974
33975
  navigateToUrl: function navigateToUrl(
@@ -33978,8 +33979,8 @@ var slice$1 = createSlice({
33978
33979
  action) {}
33979
33980
  }
33980
33981
  });
33981
- var reducer$1 = slice$1.reducer;
33982
- var routerActions = slice$1.actions;
33982
+ var reducer$2 = slice$2.reducer;
33983
+ var routerActions = slice$2.actions;
33983
33984
 
33984
33985
  /* *
33985
33986
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -34056,7 +34057,7 @@ function rootSaga$4() {
34056
34057
  var routerModuleConfig = {
34057
34058
  id: 'router',
34058
34059
  reducersMap: {
34059
- router: reducer$1
34060
+ router: reducer$2
34060
34061
  },
34061
34062
  sagas: [rootSaga$4]
34062
34063
  };
@@ -34077,11 +34078,11 @@ var routerModuleConfig = {
34077
34078
  * Copyright 2022 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
34078
34079
  * Copyright 2022 - Finnish Meteorological Institute (FMI)
34079
34080
  * */
34080
- var initialState = {
34081
+ var initialState$1 = {
34081
34082
  isInitialised: false
34082
34083
  };
34083
- var slice = createSlice({
34084
- initialState: initialState,
34084
+ var slice$1 = createSlice({
34085
+ initialState: initialState$1,
34085
34086
  name: 'app',
34086
34087
  reducers: {
34087
34088
  initialiseApp: function initialiseApp(draft) {
@@ -34089,8 +34090,8 @@ var slice = createSlice({
34089
34090
  }
34090
34091
  }
34091
34092
  });
34092
- var reducer = slice.reducer;
34093
- var appActions = slice.actions;
34093
+ var reducer$1 = slice$1.reducer;
34094
+ var appActions = slice$1.actions;
34094
34095
 
34095
34096
  /* *
34096
34097
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -34111,10 +34112,146 @@ var appActions = slice.actions;
34111
34112
  var appModuleConfig = {
34112
34113
  id: 'app-module',
34113
34114
  reducersMap: {
34114
- app: reducer
34115
+ app: reducer$1
34115
34116
  }
34116
34117
  };
34117
34118
 
34119
+ /* *
34120
+ * Licensed under the Apache License, Version 2.0 (the "License");
34121
+ * you may not use this file except in compliance with the License.
34122
+ * You may obtain a copy of the License at
34123
+ *
34124
+ * http://www.apache.org/licenses/LICENSE-2.0
34125
+ *
34126
+ * Unless required by applicable law or agreed to in writing, software
34127
+ * distributed under the License is distributed on an "AS IS" BASIS,
34128
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
34129
+ * See the License for the specific language governing permissions and
34130
+ * limitations under the License.
34131
+ *
34132
+ * Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
34133
+ * Copyright 2023 - Finnish Meteorological Institute (FMI)
34134
+ * */
34135
+ var drawAdapter = createEntityAdapter({
34136
+ selectId: function selectId(draw) {
34137
+ return draw.mapId;
34138
+ }
34139
+ });
34140
+ var initialState = drawAdapter.getInitialState();
34141
+ var slice = createSlice({
34142
+ initialState: initialState,
34143
+ name: 'draw',
34144
+ reducers: {
34145
+ setDrawValues: function setDrawValues(draft, action) {
34146
+ if (draft.entities[action.payload.mapId]) {
34147
+ drawAdapter.setOne(draft, action.payload);
34148
+ }
34149
+ },
34150
+ // action caught in drawings/saga
34151
+ submitDrawValues: function submitDrawValues(
34152
+ // eslint-disable-next-line no-unused-vars
34153
+ draft,
34154
+ // eslint-disable-next-line no-unused-vars
34155
+ action) {}
34156
+ },
34157
+ extraReducers: function extraReducers(builder) {
34158
+ builder.addCase(mapActions.registerMap, function (draft, action) {
34159
+ drawAdapter.addOne(draft, {
34160
+ mapId: action.payload.mapId,
34161
+ area: undefined,
34162
+ areaName: '',
34163
+ id: ''
34164
+ });
34165
+ }).addCase(mapActions.unregisterMap, function (draft, action) {
34166
+ drawAdapter.removeOne(draft, action.payload.mapId);
34167
+ });
34168
+ }
34169
+ });
34170
+ var reducer = slice.reducer;
34171
+ var drawActions = slice.actions;
34172
+
34173
+ /* *
34174
+ * Licensed under the Apache License, Version 2.0 (the "License");
34175
+ * you may not use this file except in compliance with the License.
34176
+ * You may obtain a copy of the License at
34177
+ *
34178
+ * http://www.apache.org/licenses/LICENSE-2.0
34179
+ *
34180
+ * Unless required by applicable law or agreed to in writing, software
34181
+ * distributed under the License is distributed on an "AS IS" BASIS,
34182
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
34183
+ * See the License for the specific language governing permissions and
34184
+ * limitations under the License.
34185
+ *
34186
+ * Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
34187
+ * Copyright 2023 - Finnish Meteorological Institute (FMI)
34188
+ * */
34189
+ var getDrawStore = function getDrawStore(store) {
34190
+ if (store && store.drawings) {
34191
+ return store.drawings;
34192
+ }
34193
+ return null;
34194
+ };
34195
+ var _drawAdapter$getSelec = drawAdapter.getSelectors(function (state) {
34196
+ var _a;
34197
+ return (_a = state === null || state === void 0 ? void 0 : state.drawings) !== null && _a !== void 0 ? _a : {
34198
+ entities: {},
34199
+ ids: []
34200
+ };
34201
+ }),
34202
+ selectDrawByMapId = _drawAdapter$getSelec.selectById;
34203
+
34204
+ var selectors = /*#__PURE__*/Object.freeze({
34205
+ __proto__: null,
34206
+ getDrawStore: getDrawStore,
34207
+ selectDrawByMapId: selectDrawByMapId
34208
+ });
34209
+
34210
+ /* *
34211
+ * Licensed under the Apache License, Version 2.0 (the "License");
34212
+ * you may not use this file except in compliance with the License.
34213
+ * You may obtain a copy of the License at
34214
+ *
34215
+ * http://www.apache.org/licenses/LICENSE-2.0
34216
+ *
34217
+ * Unless required by applicable law or agreed to in writing, software
34218
+ * distributed under the License is distributed on an "AS IS" BASIS,
34219
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
34220
+ * See the License for the specific language governing permissions and
34221
+ * limitations under the License.
34222
+ *
34223
+ * Copyright 2022 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
34224
+ * Copyright 2022 - Finnish Meteorological Institute (FMI)
34225
+ * */
34226
+
34227
+ var types = /*#__PURE__*/Object.freeze({
34228
+ __proto__: null
34229
+ });
34230
+
34231
+ /* *
34232
+ * Licensed under the Apache License, Version 2.0 (the "License");
34233
+ * you may not use this file except in compliance with the License.
34234
+ * You may obtain a copy of the License at
34235
+ *
34236
+ * http://www.apache.org/licenses/LICENSE-2.0
34237
+ *
34238
+ * Unless required by applicable law or agreed to in writing, software
34239
+ * distributed under the License is distributed on an "AS IS" BASIS,
34240
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
34241
+ * See the License for the specific language governing permissions and
34242
+ * limitations under the License.
34243
+ *
34244
+ * Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
34245
+ * Copyright 2023 - Finnish Meteorological Institute (FMI)
34246
+ * */
34247
+ var drawModuleConfig = {
34248
+ id: 'draw-module',
34249
+ reducersMap: {
34250
+ drawings: reducer
34251
+ },
34252
+ sagas: []
34253
+ };
34254
+
34118
34255
  var createLayersState = function createLayersState(layerId) {
34119
34256
  var props = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
34120
34257
  return {
@@ -34973,7 +35110,7 @@ function rootSaga$2() {
34973
35110
  var synchronizationGroupConfig = {
34974
35111
  id: 'syncronizationGroupStore-module',
34975
35112
  reducersMap: {
34976
- syncronizationGroupStore: reducer$5
35113
+ syncronizationGroupStore: reducer$6
34977
35114
  },
34978
35115
  sagas: [rootSaga$3, rootSaga$2]
34979
35116
  };
@@ -35153,7 +35290,7 @@ function rootSaga$1() {
35153
35290
  var layerSelectConfig = {
35154
35291
  id: 'layerSelect-module',
35155
35292
  reducersMap: {
35156
- layerSelect: reducer$3
35293
+ layerSelect: reducer$4
35157
35294
  },
35158
35295
  sagas: [rootSaga$1]
35159
35296
  };
@@ -35268,7 +35405,7 @@ function rootSaga() {
35268
35405
  var uiModuleConfig = {
35269
35406
  id: 'ui-module',
35270
35407
  reducersMap: {
35271
- ui: reducer$7
35408
+ ui: reducer$8
35272
35409
  },
35273
35410
  sagas: [rootSaga]
35274
35411
  };
@@ -35289,6 +35426,6 @@ var uiModuleConfig = {
35289
35426
  * Copyright 2021 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
35290
35427
  * Copyright 2021 - Finnish Meteorological Institute (FMI)
35291
35428
  * */
35292
- var coreModuleConfig = [mapStoreModuleConfig, synchronizationGroupConfig, uiModuleConfig, layerSelectConfig, snackbarModuleConfig];
35429
+ var coreModuleConfig = [mapStoreModuleConfig, synchronizationGroupConfig, uiModuleConfig, layerSelectConfig, snackbarModuleConfig, drawModuleConfig];
35293
35430
 
35294
- export { appActions, appModuleConfig, coreModuleConfig, defaultLayers, filterLayers$1 as filterLayers, genericActions, selectors$4 as genericSelectors, types$2 as genericTypes, getUserAddedServices, initialState$5 as initialState, layerActions, reducer$8 as layerReducer, layerSelectActions, initialState$3 as layerSelectInitialState, selectors$1 as layerSelectSelectors, types$1 as layerSelectTypes, selectors$7 as layerSelectors, types$7 as layerTypes, utils$2 as layerUtils, mapActions, constants$1 as mapConstants, enums as mapEnums, selectors$3 as mapSelectors, mapStoreActions, mapStoreModuleConfig, types$6 as mapTypes, mapUtils, routerActions, routerModuleConfig, utils as routerUtils, serviceActions, selectors$2 as serviceSelectors, types$5 as serviceTypes, setUserAddedServices, snackbarActions, snackbarModuleConfig, selectors as snackbarSelectors, types as snackbarTypes, storeTestSettings, storeTestUtils, utils$1 as storeUtils, constants as syncConstants, actions as syncGroupsActions, selector as syncGroupsSelector, selectors$5 as syncGroupsSelectors, types$3 as syncGroupsTypes, types$3 as types, uiActions, uiModuleConfig, reducer$7 as uiReducer, selectors$6 as uiSelectors, types$4 as uiTypes, reducer$6 as webmapReducer };
35431
+ export { appActions, appModuleConfig, coreModuleConfig, defaultLayers, drawActions, drawModuleConfig, selectors as drawSelectors, types as drawTypes, filterLayers$1 as filterLayers, genericActions, selectors$5 as genericSelectors, types$3 as genericTypes, getUserAddedServices, initialState$6 as initialState, layerActions, reducer$9 as layerReducer, layerSelectActions, initialState$4 as layerSelectInitialState, selectors$2 as layerSelectSelectors, types$2 as layerSelectTypes, selectors$8 as layerSelectors, types$8 as layerTypes, utils$2 as layerUtils, mapActions, constants$1 as mapConstants, enums as mapEnums, selectors$4 as mapSelectors, mapStoreActions, mapStoreModuleConfig, types$7 as mapTypes, mapUtils, routerActions, routerModuleConfig, utils as routerUtils, serviceActions, selectors$3 as serviceSelectors, types$6 as serviceTypes, setUserAddedServices, snackbarActions, snackbarModuleConfig, selectors$1 as snackbarSelectors, types$1 as snackbarTypes, storeTestSettings, storeTestUtils, utils$1 as storeUtils, constants as syncConstants, actions as syncGroupsActions, selector as syncGroupsSelector, selectors$6 as syncGroupsSelectors, types$4 as syncGroupsTypes, types$4 as types, uiActions, uiModuleConfig, reducer$8 as uiReducer, selectors$7 as uiSelectors, types$5 as uiTypes, reducer$7 as webmapReducer };