@opengeoweb/shared 9.30.0 → 9.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.esm.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
2
- import { Box, Typography, Tooltip, IconButton, Dialog, DialogTitle, DialogContent, DialogActions, Button, CircularProgress, Alert, AlertTitle, useTheme, Drawer, Link, Avatar as Avatar$1, Paper, ClickAwayListener, MenuList, MenuItem, Grid2, RadioGroup, FormControlLabel, Radio, List, ListItem, Tabs, Tab, Backdrop, Switch, Slider, ToggleButton, Menu, ListSubheader, ListItemText, ListItemIcon, styled, Select, Accordion, AccordionSummary, AccordionDetails, FormLabel, TextField, InputAdornment, Chip, Stack, debounce as debounce$1, Checkbox } from '@mui/material';
2
+ import { Box, Typography, Tooltip, IconButton, Dialog, DialogTitle, DialogContent, DialogActions, Button, CircularProgress, Alert, AlertTitle, useTheme, Drawer, Link, Avatar as Avatar$1, Paper, ClickAwayListener, MenuList, MenuItem, Grid2, RadioGroup, FormControlLabel, Radio, List, ListItem, Tabs, Tab, Backdrop, Switch, Slider, ToggleButton, Menu, ListSubheader, ListItemText, ListItemIcon, styled, Select, Accordion, AccordionSummary, AccordionDetails, FormLabel, TextField, InputAdornment, Chip, Stack, debounce as debounce$1, Checkbox, ListItemButton } from '@mui/material';
3
3
  import { Close, Exclamation, Success, Info, ChevronRight, GeoWebLogo, HamburgerMenu, Resize, Admin, useThemeContext, DragHandle, ArrowLeft, ArrowRight, KeyOption, ArrowUp, ArrowDown, KeyCommand, Options, ChevronDown, Search, Clear, Cached } from '@opengeoweb/theme';
4
4
  import * as React from 'react';
5
- import React__default, { useRef, Component } from 'react';
5
+ import React__default, { useRef, Component, useState } from 'react';
6
6
  import i18n from 'i18next';
7
7
  import { initReactI18next, useTranslation } from 'react-i18next';
8
8
  import { throttle, escapeRegExp, debounce } from 'lodash';
@@ -11,7 +11,6 @@ import { Resizable } from 're-resizable';
11
11
  import * as Sentry from '@sentry/react';
12
12
  import { useStore } from 'react-redux';
13
13
  import { parseISO, parse, format, isEqual, add as add$1, sub as sub$1, differenceInYears as differenceInYears$1, differenceInMonths as differenceInMonths$1, differenceInDays as differenceInDays$1, differenceInMinutes as differenceInMinutes$1, differenceInHours as differenceInHours$1, differenceInSeconds as differenceInSeconds$1, roundToNearestMinutes as roundToNearestMinutes$1, isBefore as isBefore$1, isAfter as isAfter$1, isValid as isValid$1, getUnixTime, fromUnixTime, set as set$3, getHours as getHours$1, startOfDay, addMinutes, addHours, getDay, getDayOfYear, getMonth, getWeek, getYear, isWithinInterval } from 'date-fns';
14
- import configureStoreToBeDeprecated from 'redux-mock-store';
15
14
  import { configureStore } from '@reduxjs/toolkit';
16
15
 
17
16
  var en = {
@@ -253,6 +252,16 @@ var sharedTranslations = {
253
252
  nl: nl
254
253
  };
255
254
 
255
+ function _objectWithoutPropertiesLoose(r, e) {
256
+ if (null == r) return {};
257
+ var t = {};
258
+ for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
259
+ if (e.indexOf(n) >= 0) continue;
260
+ t[n] = r[n];
261
+ }
262
+ return t;
263
+ }
264
+
256
265
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
257
266
 
258
267
  var check = function (it) {
@@ -260,7 +269,7 @@ var check = function (it) {
260
269
  };
261
270
 
262
271
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
263
- var global$q =
272
+ var globalThis_1 =
264
273
  // eslint-disable-next-line es/no-global-this -- safe
265
274
  check(typeof globalThis == 'object' && globalThis) ||
266
275
  check(typeof window == 'object' && window) ||
@@ -411,7 +420,7 @@ var isObject$e = function (it) {
411
420
  return typeof it == 'object' ? it !== null : isCallable$m(it);
412
421
  };
413
422
 
414
- var global$p = global$q;
423
+ var globalThis$r = globalThis_1;
415
424
  var isCallable$l = isCallable$n;
416
425
 
417
426
  var aFunction = function (argument) {
@@ -419,20 +428,25 @@ var aFunction = function (argument) {
419
428
  };
420
429
 
421
430
  var getBuiltIn$8 = function (namespace, method) {
422
- return arguments.length < 2 ? aFunction(global$p[namespace]) : global$p[namespace] && global$p[namespace][method];
431
+ return arguments.length < 2 ? aFunction(globalThis$r[namespace]) : globalThis$r[namespace] && globalThis$r[namespace][method];
423
432
  };
424
433
 
425
434
  var uncurryThis$n = functionUncurryThis;
426
435
 
427
436
  var objectIsPrototypeOf = uncurryThis$n({}.isPrototypeOf);
428
437
 
429
- var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
438
+ var globalThis$q = globalThis_1;
430
439
 
431
- var global$o = global$q;
432
- var userAgent$3 = engineUserAgent;
440
+ var navigator = globalThis$q.navigator;
441
+ var userAgent$5 = navigator && navigator.userAgent;
433
442
 
434
- var process$3 = global$o.process;
435
- var Deno$1 = global$o.Deno;
443
+ var environmentUserAgent = userAgent$5 ? String(userAgent$5) : '';
444
+
445
+ var globalThis$p = globalThis_1;
446
+ var userAgent$4 = environmentUserAgent;
447
+
448
+ var process$3 = globalThis$p.process;
449
+ var Deno$1 = globalThis$p.Deno;
436
450
  var versions = process$3 && process$3.versions || Deno$1 && Deno$1.version;
437
451
  var v8 = versions && versions.v8;
438
452
  var match, version;
@@ -446,22 +460,22 @@ if (v8) {
446
460
 
447
461
  // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
448
462
  // so check `userAgent` even if `.v8` exists, but 0
449
- if (!version && userAgent$3) {
450
- match = userAgent$3.match(/Edge\/(\d+)/);
463
+ if (!version && userAgent$4) {
464
+ match = userAgent$4.match(/Edge\/(\d+)/);
451
465
  if (!match || match[1] >= 74) {
452
- match = userAgent$3.match(/Chrome\/(\d+)/);
466
+ match = userAgent$4.match(/Chrome\/(\d+)/);
453
467
  if (match) version = +match[1];
454
468
  }
455
469
  }
456
470
 
457
- var engineV8Version = version;
471
+ var environmentV8Version = version;
458
472
 
459
473
  /* eslint-disable es/no-symbol -- required for testing */
460
- var V8_VERSION$1 = engineV8Version;
474
+ var V8_VERSION$1 = environmentV8Version;
461
475
  var fails$l = fails$p;
462
- var global$n = global$q;
476
+ var globalThis$o = globalThis_1;
463
477
 
464
- var $String$5 = global$n.String;
478
+ var $String$5 = globalThis$o.String;
465
479
 
466
480
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
467
481
  var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$l(function () {
@@ -478,9 +492,9 @@ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$l(func
478
492
  /* eslint-disable es/no-symbol -- required for testing */
479
493
  var NATIVE_SYMBOL$2 = symbolConstructorDetection;
480
494
 
481
- var useSymbolAsUid = NATIVE_SYMBOL$2
482
- && !Symbol.sham
483
- && typeof Symbol.iterator == 'symbol';
495
+ var useSymbolAsUid = NATIVE_SYMBOL$2 &&
496
+ !Symbol.sham &&
497
+ typeof Symbol.iterator == 'symbol';
484
498
 
485
499
  var getBuiltIn$7 = getBuiltIn$8;
486
500
  var isCallable$k = isCallable$n;
@@ -545,30 +559,30 @@ var ordinaryToPrimitive$1 = function (input, pref) {
545
559
 
546
560
  var sharedStore = {exports: {}};
547
561
 
548
- var global$m = global$q;
562
+ var globalThis$n = globalThis_1;
549
563
 
550
564
  // eslint-disable-next-line es/no-object-defineproperty -- safe
551
565
  var defineProperty$7 = Object.defineProperty;
552
566
 
553
567
  var defineGlobalProperty$3 = function (key, value) {
554
568
  try {
555
- defineProperty$7(global$m, key, { value: value, configurable: true, writable: true });
569
+ defineProperty$7(globalThis$n, key, { value: value, configurable: true, writable: true });
556
570
  } catch (error) {
557
- global$m[key] = value;
571
+ globalThis$n[key] = value;
558
572
  } return value;
559
573
  };
560
574
 
561
- var globalThis$1 = global$q;
575
+ var globalThis$m = globalThis_1;
562
576
  var defineGlobalProperty$2 = defineGlobalProperty$3;
563
577
 
564
578
  var SHARED = '__core-js_shared__';
565
- var store$3 = sharedStore.exports = globalThis$1[SHARED] || defineGlobalProperty$2(SHARED, {});
579
+ var store$3 = sharedStore.exports = globalThis$m[SHARED] || defineGlobalProperty$2(SHARED, {});
566
580
 
567
581
  (store$3.versions || (store$3.versions = [])).push({
568
- version: '3.37.1',
582
+ version: '3.39.0',
569
583
  mode: 'global',
570
584
  copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
571
- license: 'https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE',
585
+ license: 'https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE',
572
586
  source: 'https://github.com/zloirock/core-js'
573
587
  });
574
588
 
@@ -612,14 +626,14 @@ var uid$2 = function (key) {
612
626
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$e(++id + postfix, 36);
613
627
  };
614
628
 
615
- var global$l = global$q;
629
+ var globalThis$l = globalThis_1;
616
630
  var shared$3 = shared$4;
617
631
  var hasOwn$d = hasOwnProperty_1;
618
632
  var uid$1 = uid$2;
619
633
  var NATIVE_SYMBOL$1 = symbolConstructorDetection;
620
634
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
621
635
 
622
- var Symbol$3 = global$l.Symbol;
636
+ var Symbol$3 = globalThis$l.Symbol;
623
637
  var WellKnownSymbolsStore = shared$3('wks');
624
638
  var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$3['for'] || Symbol$3 : Symbol$3 && Symbol$3.withoutSetter || uid$1;
625
639
 
@@ -667,10 +681,10 @@ var toPropertyKey$2 = function (argument) {
667
681
  return isSymbol(key) ? key : key + '';
668
682
  };
669
683
 
670
- var global$k = global$q;
684
+ var globalThis$k = globalThis_1;
671
685
  var isObject$b = isObject$e;
672
686
 
673
- var document$3 = global$k.document;
687
+ var document$3 = globalThis$k.document;
674
688
  // typeof document.createElement is 'object' in old IE
675
689
  var EXISTS$1 = isObject$b(document$3) && isObject$b(document$3.createElement);
676
690
 
@@ -829,10 +843,10 @@ if (!isCallable$h(store$1.inspectSource)) {
829
843
 
830
844
  var inspectSource$3 = store$1.inspectSource;
831
845
 
832
- var global$j = global$q;
846
+ var globalThis$j = globalThis_1;
833
847
  var isCallable$g = isCallable$n;
834
848
 
835
- var WeakMap$1 = global$j.WeakMap;
849
+ var WeakMap$1 = globalThis$j.WeakMap;
836
850
 
837
851
  var weakMapBasicDetection = isCallable$g(WeakMap$1) && /native code/.test(String(WeakMap$1));
838
852
 
@@ -848,7 +862,7 @@ var sharedKey$3 = function (key) {
848
862
  var hiddenKeys$4 = {};
849
863
 
850
864
  var NATIVE_WEAK_MAP = weakMapBasicDetection;
851
- var global$i = global$q;
865
+ var globalThis$i = globalThis_1;
852
866
  var isObject$9 = isObject$e;
853
867
  var createNonEnumerableProperty$8 = createNonEnumerableProperty$9;
854
868
  var hasOwn$a = hasOwnProperty_1;
@@ -857,8 +871,8 @@ var sharedKey$2 = sharedKey$3;
857
871
  var hiddenKeys$3 = hiddenKeys$4;
858
872
 
859
873
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
860
- var TypeError$2 = global$i.TypeError;
861
- var WeakMap = global$i.WeakMap;
874
+ var TypeError$2 = globalThis$i.TypeError;
875
+ var WeakMap = globalThis$i.WeakMap;
862
876
  var set$2, get, has;
863
877
 
864
878
  var enforce = function (it) {
@@ -1196,7 +1210,7 @@ var POLYFILL = isForced$3.POLYFILL = 'P';
1196
1210
 
1197
1211
  var isForced_1 = isForced$3;
1198
1212
 
1199
- var global$h = global$q;
1213
+ var globalThis$h = globalThis_1;
1200
1214
  var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
1201
1215
  var createNonEnumerableProperty$7 = createNonEnumerableProperty$9;
1202
1216
  var defineBuiltIn$7 = defineBuiltIn$8;
@@ -1225,11 +1239,11 @@ var _export = function (options, source) {
1225
1239
  var STATIC = options.stat;
1226
1240
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
1227
1241
  if (GLOBAL) {
1228
- target = global$h;
1242
+ target = globalThis$h;
1229
1243
  } else if (STATIC) {
1230
- target = global$h[TARGET] || defineGlobalProperty(TARGET, {});
1244
+ target = globalThis$h[TARGET] || defineGlobalProperty(TARGET, {});
1231
1245
  } else {
1232
- target = global$h[TARGET] && global$h[TARGET].prototype;
1246
+ target = globalThis$h[TARGET] && globalThis$h[TARGET].prototype;
1233
1247
  }
1234
1248
  if (target) for (key in source) {
1235
1249
  sourceProperty = source[key];
@@ -1328,50 +1342,7 @@ $$i({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }
1328
1342
  assign: assign
1329
1343
  });
1330
1344
 
1331
- /******************************************************************************
1332
- Copyright (c) Microsoft Corporation.
1333
-
1334
- Permission to use, copy, modify, and/or distribute this software for any
1335
- purpose with or without fee is hereby granted.
1336
-
1337
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
1338
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1339
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
1340
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1341
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
1342
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1343
- PERFORMANCE OF THIS SOFTWARE.
1344
- ***************************************************************************** */
1345
- /* global Reflect, Promise, SuppressedError, Symbol */
1346
-
1347
-
1348
- function __rest(s, e) {
1349
- var t = {};
1350
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1351
- t[p] = s[p];
1352
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
1353
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
1354
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
1355
- t[p[i]] = s[p[i]];
1356
- }
1357
- return t;
1358
- }
1359
-
1360
- function __awaiter(thisArg, _arguments, P, generator) {
1361
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
1362
- return new (P || (P = Promise))(function (resolve, reject) {
1363
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
1364
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
1365
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
1366
- step((generator = generator.apply(thisArg, _arguments || [])).next());
1367
- });
1368
- }
1369
-
1370
- typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
1371
- var e = new Error(message);
1372
- return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
1373
- };
1374
-
1345
+ const _excluded$d = ["content", "color", "icon"];
1375
1346
  const bgColors = {
1376
1347
  green: 'geowebColors.functional.successOutline.fill',
1377
1348
  grey: 'geowebColors.functional.disabledOutline.fill',
@@ -1405,38 +1376,35 @@ const tagStyle = color => {
1405
1376
  color: 'geowebColors.captions.captionStatus.rgba'
1406
1377
  };
1407
1378
  };
1408
- const StatusTag = _a => {
1409
- var {
1379
+ const StatusTag = _ref => {
1380
+ let {
1410
1381
  content,
1411
1382
  color,
1412
1383
  icon
1413
- } = _a,
1414
- props = __rest(_a, ["content", "color", "icon"]);
1415
- return jsxs(Box, Object.assign({
1384
+ } = _ref,
1385
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$d);
1386
+ return jsxs(Box, {
1416
1387
  display: "flex",
1417
1388
  alignItems: "center",
1418
1389
  textAlign: "center",
1419
1390
  "data-testid": "statusTag",
1420
1391
  className: "statusTag",
1421
1392
  position: "relative",
1422
- sx: Object.assign(Object.assign({}, tagStyle(color)), props.sx)
1423
- }, {
1424
- children: [jsx(Box, Object.assign({
1393
+ sx: Object.assign({}, tagStyle(color), props.sx),
1394
+ children: [jsx(Box, {
1425
1395
  sx: {
1426
1396
  position: 'absolute',
1427
1397
  color: 'geowebColors.iconButtons.flat.default.color'
1428
- }
1429
- }, {
1398
+ },
1430
1399
  children: icon
1431
- })), jsx(Typography, Object.assign({
1400
+ }), jsx(Typography, {
1432
1401
  sx: {
1433
1402
  width: '100%'
1434
1403
  },
1435
- variant: "caption"
1436
- }, {
1404
+ variant: "caption",
1437
1405
  children: content
1438
- }))]
1439
- }));
1406
+ })]
1407
+ });
1440
1408
  };
1441
1409
 
1442
1410
  var wellKnownSymbol$h = wellKnownSymbol$j;
@@ -1498,7 +1466,7 @@ var defineBuiltInAccessor$3 = function (target, name, descriptor) {
1498
1466
 
1499
1467
  var $$h = _export;
1500
1468
  var DESCRIPTORS$7 = descriptors;
1501
- var global$g = global$q;
1469
+ var globalThis$g = globalThis_1;
1502
1470
  var uncurryThis$f = functionUncurryThis;
1503
1471
  var hasOwn$6 = hasOwnProperty_1;
1504
1472
  var isCallable$b = isCallable$n;
@@ -1507,7 +1475,7 @@ var toString$c = toString$d;
1507
1475
  var defineBuiltInAccessor$2 = defineBuiltInAccessor$3;
1508
1476
  var copyConstructorProperties$1 = copyConstructorProperties$3;
1509
1477
 
1510
- var NativeSymbol = global$g.Symbol;
1478
+ var NativeSymbol = globalThis$g.Symbol;
1511
1479
  var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
1512
1480
 
1513
1481
  if (DESCRIPTORS$7 && isCallable$b(NativeSymbol) && (!('description' in SymbolPrototype) ||
@@ -1519,6 +1487,7 @@ if (DESCRIPTORS$7 && isCallable$b(NativeSymbol) && (!('description' in SymbolPro
1519
1487
  var SymbolWrapper = function Symbol() {
1520
1488
  var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString$c(arguments[0]);
1521
1489
  var result = isPrototypeOf$5(SymbolPrototype, this)
1490
+ // eslint-disable-next-line sonarjs/inconsistent-function-call -- ok
1522
1491
  ? new NativeSymbol(description)
1523
1492
  // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'
1524
1493
  : description === undefined ? NativeSymbol() : NativeSymbol(description);
@@ -1606,7 +1575,8 @@ var NullProtoObjectViaActiveX = function (activeXDocument) {
1606
1575
  activeXDocument.write(scriptTag(''));
1607
1576
  activeXDocument.close();
1608
1577
  var temp = activeXDocument.parentWindow.Object;
1609
- activeXDocument = null; // avoid memory leak
1578
+ // eslint-disable-next-line no-useless-assignment -- avoid memory leak
1579
+ activeXDocument = null;
1610
1580
  return temp;
1611
1581
  };
1612
1582
 
@@ -1991,7 +1961,7 @@ var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind)
1991
1961
  var target = state.target;
1992
1962
  var index = state.index++;
1993
1963
  if (!target || index >= target.length) {
1994
- state.target = undefined;
1964
+ state.target = null;
1995
1965
  return createIterResultObject(undefined, true);
1996
1966
  }
1997
1967
  switch (state.kind) {
@@ -2059,7 +2029,7 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
2059
2029
 
2060
2030
  var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
2061
2031
 
2062
- var global$f = global$q;
2032
+ var globalThis$f = globalThis_1;
2063
2033
  var DOMIterables = domIterables;
2064
2034
  var DOMTokenListPrototype = domTokenListPrototype;
2065
2035
  var ArrayIteratorMethods = es_array_iterator;
@@ -2091,7 +2061,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
2091
2061
  };
2092
2062
 
2093
2063
  for (var COLLECTION_NAME in DOMIterables) {
2094
- handlePrototype(global$f[COLLECTION_NAME] && global$f[COLLECTION_NAME].prototype, COLLECTION_NAME);
2064
+ handlePrototype(globalThis$f[COLLECTION_NAME] && globalThis$f[COLLECTION_NAME].prototype, COLLECTION_NAME);
2095
2065
  }
2096
2066
 
2097
2067
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
@@ -2120,8 +2090,9 @@ const CustomTooltip = props => {
2120
2090
  }));
2121
2091
  };
2122
2092
 
2123
- const CustomIconButtonNoMemo = /*#__PURE__*/React.forwardRef((_a, ref) => {
2124
- var {
2093
+ const _excluded$c = ["tooltipTitle", "variant", "isSelected", "shouldShowAsDisabled", "size", "children", "className", "tooltipProps"];
2094
+ const CustomIconButtonNoMemo = /*#__PURE__*/React.forwardRef((_ref, ref) => {
2095
+ let {
2125
2096
  tooltipTitle: defaultTooltipTitle = '',
2126
2097
  variant = 'flat',
2127
2098
  isSelected = false,
@@ -2130,14 +2101,14 @@ const CustomIconButtonNoMemo = /*#__PURE__*/React.forwardRef((_a, ref) => {
2130
2101
  children,
2131
2102
  className,
2132
2103
  tooltipProps: defaultTooltipProps
2133
- } = _a,
2134
- props = __rest(_a, ["tooltipTitle", "variant", "isSelected", "shouldShowAsDisabled", "size", "children", "className", "tooltipProps"]);
2104
+ } = _ref,
2105
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$c);
2135
2106
  const classNames = [...(className ? [className] : []), ...(isSelected ? ['Mui-selected'] : []), variant].join(' ');
2136
- const tooltipTitle = (defaultTooltipProps === null || defaultTooltipProps === void 0 ? void 0 : defaultTooltipProps.title) || defaultTooltipTitle;
2107
+ const tooltipTitle = (defaultTooltipProps == null ? void 0 : defaultTooltipProps.title) || defaultTooltipTitle;
2137
2108
  const tooltipProps = React.useMemo(() => {
2138
- return Object.assign(Object.assign({}, defaultTooltipProps), {
2109
+ return Object.assign({}, defaultTooltipProps, {
2139
2110
  title: tooltipTitle,
2140
- placement: (defaultTooltipProps === null || defaultTooltipProps === void 0 ? void 0 : defaultTooltipProps.placement) || 'top',
2111
+ placement: (defaultTooltipProps == null ? void 0 : defaultTooltipProps.placement) || 'top',
2141
2112
  sx: {
2142
2113
  pointerEvents: 'none'
2143
2114
  }
@@ -2150,15 +2121,14 @@ const CustomIconButtonNoMemo = /*#__PURE__*/React.forwardRef((_a, ref) => {
2150
2121
  className: classNames,
2151
2122
  ref: ref,
2152
2123
  "aria-pressed": isSelected,
2153
- sx: Object.assign(Object.assign({}, props.sx), shouldShowAsDisabled && {
2124
+ sx: Object.assign({}, props.sx, shouldShowAsDisabled && {
2154
2125
  '&.MuiIconButton-root': {
2155
2126
  color: `geowebColors.iconButtons.${variant}.disabled.color`
2156
2127
  },
2157
2128
  '&.Mui-focusVisible': {
2158
2129
  color: `geowebColors.iconButtons.${variant}.default.color`
2159
2130
  }
2160
- })
2161
- }, {
2131
+ }),
2162
2132
  children: children
2163
2133
  }));
2164
2134
  return tooltipTitle && !props.disabled ? jsx(CustomTooltip, Object.assign({}, tooltipProps, {
@@ -2167,16 +2137,17 @@ const CustomIconButtonNoMemo = /*#__PURE__*/React.forwardRef((_a, ref) => {
2167
2137
  });
2168
2138
  const CustomIconButton = /*#__PURE__*/React.memo(CustomIconButtonNoMemo);
2169
2139
 
2170
- const CustomDialog = _a => {
2171
- var {
2140
+ const _excluded$b = ["title", "onClose", "description", "actions", "children", "sx"];
2141
+ const CustomDialog = _ref => {
2142
+ let {
2172
2143
  title,
2173
2144
  onClose,
2174
2145
  description = '',
2175
2146
  actions = null,
2176
2147
  children,
2177
2148
  sx
2178
- } = _a,
2179
- other = __rest(_a, ["title", "onClose", "description", "actions", "children", "sx"]);
2149
+ } = _ref,
2150
+ other = _objectWithoutPropertiesLoose(_ref, _excluded$b);
2180
2151
  return jsxs(Dialog, Object.assign({
2181
2152
  "data-testid": "customDialog",
2182
2153
  PaperProps: {
@@ -2192,7 +2163,7 @@ const CustomDialog = _a => {
2192
2163
  },
2193
2164
  "aria-labelledby": "dialog-title"
2194
2165
  }, other, {
2195
- children: [jsxs(DialogTitle, Object.assign({
2166
+ children: [jsxs(DialogTitle, {
2196
2167
  id: "dialog-title",
2197
2168
  sx: {
2198
2169
  zIndex: 1,
@@ -2200,18 +2171,16 @@ const CustomDialog = _a => {
2200
2171
  display: 'flex',
2201
2172
  justifyContent: 'space-between',
2202
2173
  alignItems: 'center'
2203
- }
2204
- }, {
2205
- children: [jsx(Typography, Object.assign({
2174
+ },
2175
+ children: [jsx(Typography, {
2206
2176
  sx: {
2207
2177
  fontSize: '16px',
2208
2178
  fontWeight: 500
2209
2179
  },
2210
2180
  "data-testid": "customDialog-title",
2211
- component: "span"
2212
- }, {
2181
+ component: "span",
2213
2182
  children: title
2214
- })), jsx(CustomIconButton, Object.assign({
2183
+ }), jsx(CustomIconButton, {
2215
2184
  "data-testid": "customDialog-close",
2216
2185
  "aria-label": "close",
2217
2186
  onClick: () => onClose('CLOSED'),
@@ -2219,39 +2188,35 @@ const CustomDialog = _a => {
2219
2188
  '&.MuiIconButton-root': {
2220
2189
  color: 'geowebColors.greys.accessible'
2221
2190
  }
2222
- }
2223
- }, {
2191
+ },
2224
2192
  children: jsx(Close, {
2225
2193
  "data-testid": "CloseIcon"
2226
2194
  })
2227
- }))]
2228
- })), jsxs(DialogContent, Object.assign({
2195
+ })]
2196
+ }), jsxs(DialogContent, {
2229
2197
  sx: {
2230
2198
  padding: '8px 16px'
2231
- }
2232
- }, {
2233
- children: [description && jsx(Typography, Object.assign({
2234
- variant: "body1"
2235
- }, {
2199
+ },
2200
+ children: [description && jsx(Typography, {
2201
+ variant: "body1",
2236
2202
  children: description
2237
- })), children]
2238
- })), jsx(DialogActions, Object.assign({
2203
+ }), children]
2204
+ }), jsx(DialogActions, {
2239
2205
  sx: {
2240
2206
  padding: 2,
2241
2207
  flexDirection: {
2242
2208
  xs: 'column',
2243
2209
  sm: 'row'
2244
2210
  }
2245
- }
2246
- }, {
2211
+ },
2247
2212
  children: actions
2248
- }))]
2213
+ })]
2249
2214
  }));
2250
2215
  };
2251
2216
 
2252
2217
  const SHARED_NAMESPACE = 'shared';
2253
2218
  const initSharedI18n = () => {
2254
- i18n.use(initReactI18next).init({
2219
+ void i18n.use(initReactI18next).init({
2255
2220
  lng: 'en',
2256
2221
  fallbackLng: 'en',
2257
2222
  ns: SHARED_NAMESPACE,
@@ -2275,11 +2240,10 @@ const initSharedI18n = () => {
2275
2240
  });
2276
2241
  };
2277
2242
  initSharedI18n();
2278
- const translateKeyOutsideComponents = (key, params = undefined) => i18n.t(key, Object.assign({
2279
- ns: SHARED_NAMESPACE
2280
- }, params));
2281
2243
  const useSharedTranslation = () => useTranslation([SHARED_NAMESPACE]);
2282
2244
 
2245
+ const _excluded$a = ["open", "title", "description", "confirmLabel", "cancelLabel", "onSubmit", "onClose", "content", "disableAutoFocus", "isLoading"],
2246
+ _excluded2$1 = ["catchOnCancel"];
2283
2247
  const confirmStyle = {
2284
2248
  width: {
2285
2249
  xs: '100%',
@@ -2298,29 +2262,32 @@ const confirmStyle = {
2298
2262
  sm: 0
2299
2263
  }
2300
2264
  };
2301
- const ConfirmationDialog = _a => {
2302
- var {
2265
+ const ConfirmationDialog = _ref => {
2266
+ let {
2303
2267
  open,
2304
2268
  title,
2305
- description = translateKeyOutsideComponents('shared-confirmation-description'),
2306
- confirmLabel = translateKeyOutsideComponents('shared-confirmation-submit'),
2307
- cancelLabel = translateKeyOutsideComponents('shared-confirmation-cancel'),
2269
+ description,
2270
+ confirmLabel,
2271
+ cancelLabel,
2308
2272
  onSubmit,
2309
2273
  onClose,
2310
2274
  content = null,
2311
2275
  disableAutoFocus = false,
2312
2276
  isLoading = false
2313
- } = _a,
2314
- other = __rest(_a, ["open", "title", "description", "confirmLabel", "cancelLabel", "onSubmit", "onClose", "content", "disableAutoFocus", "isLoading"]);
2315
- const rest = __rest(other, ["catchOnCancel"]); // remove unwanted props
2277
+ } = _ref,
2278
+ other = _objectWithoutPropertiesLoose(_ref, _excluded$a);
2279
+ const rest = _objectWithoutPropertiesLoose(other, _excluded2$1); // remove unwanted props
2280
+ const {
2281
+ t
2282
+ } = useSharedTranslation();
2316
2283
  return jsx(CustomDialog, Object.assign({
2317
2284
  "data-testid": "confirmationDialog",
2318
2285
  open: open,
2319
2286
  title: title,
2320
- description: description,
2287
+ description: description != null ? description : t('shared-confirmation-description'),
2321
2288
  onClose: onClose,
2322
2289
  actions: jsxs(Fragment, {
2323
- children: [jsx(Button, Object.assign({
2290
+ children: [jsx(Button, {
2324
2291
  "data-testid": "confirmationDialog-cancel",
2325
2292
  variant: "tertiary",
2326
2293
  // eslint-disable-next-line @typescript-eslint/explicit-function-return-type
@@ -2334,47 +2301,64 @@ const ConfirmationDialog = _a => {
2334
2301
  borderColor: 'transparent'
2335
2302
  }
2336
2303
  }),
2337
- onClick: () => onClose('CANCELLED')
2338
- }, {
2339
- children: cancelLabel
2340
- })), isLoading ? jsx(Box, Object.assign({
2304
+ onClick: () => onClose('CANCELLED'),
2305
+ children: cancelLabel != null ? cancelLabel : t('shared-confirmation-cancel')
2306
+ }), isLoading ? jsx(Box, {
2341
2307
  "data-testid": "confirm-dialog-spinner",
2342
- sx: Object.assign(Object.assign({}, confirmStyle), {
2308
+ sx: Object.assign({}, confirmStyle, {
2343
2309
  height: '40px',
2344
2310
  display: 'flex',
2345
2311
  justifyContent: 'center',
2346
2312
  alignItems: 'center'
2347
- })
2348
- }, {
2313
+ }),
2349
2314
  children: jsx(CircularProgress, {
2350
2315
  size: 40,
2351
2316
  color: "secondary"
2352
2317
  })
2353
- })) : jsx(Button, Object.assign({
2318
+ }) : jsx(Button, {
2354
2319
  "data-testid": "confirmationDialog-confirm",
2355
2320
  variant: "primary",
2356
2321
  // eslint-disable-next-line @typescript-eslint/explicit-function-return-type
2357
- sx: theme => Object.assign(Object.assign({}, confirmStyle), {
2322
+ sx: theme => Object.assign({}, confirmStyle, {
2358
2323
  '&:focus': {
2359
2324
  outline: theme.palette.geowebColors.buttons.primary.focus.outline,
2360
2325
  borderColor: 'transparent'
2361
2326
  }
2362
2327
  }),
2363
2328
  onClick: onSubmit,
2364
- autoFocus: !disableAutoFocus
2365
- }, {
2366
- children: confirmLabel
2367
- }))]
2329
+ autoFocus: !disableAutoFocus,
2330
+ children: confirmLabel != null ? confirmLabel : t('shared-confirmation-submit')
2331
+ })]
2368
2332
  })
2369
2333
  }, rest, {
2370
2334
  children: content
2371
2335
  }));
2372
2336
  };
2373
2337
 
2374
- var global$e = global$q;
2338
+ /* global Bun, Deno -- detection */
2339
+ var globalThis$e = globalThis_1;
2340
+ var userAgent$3 = environmentUserAgent;
2375
2341
  var classof$6 = classofRaw$2;
2376
2342
 
2377
- var engineIsNode = classof$6(global$e.process) === 'process';
2343
+ var userAgentStartsWith = function (string) {
2344
+ return userAgent$3.slice(0, string.length) === string;
2345
+ };
2346
+
2347
+ var environment = (function () {
2348
+ if (userAgentStartsWith('Bun/')) return 'BUN';
2349
+ if (userAgentStartsWith('Cloudflare-Workers')) return 'CLOUDFLARE';
2350
+ if (userAgentStartsWith('Deno/')) return 'DENO';
2351
+ if (userAgentStartsWith('Node.js/')) return 'NODE';
2352
+ if (globalThis$e.Bun && typeof Bun.version == 'string') return 'BUN';
2353
+ if (globalThis$e.Deno && typeof Deno.version == 'object') return 'DENO';
2354
+ if (classof$6(globalThis$e.process) === 'process') return 'NODE';
2355
+ if (globalThis$e.window && globalThis$e.document) return 'BROWSER';
2356
+ return 'REST';
2357
+ })();
2358
+
2359
+ var ENVIRONMENT$1 = environment;
2360
+
2361
+ var environmentIsNode = ENVIRONMENT$1 === 'NODE';
2378
2362
 
2379
2363
  var getBuiltIn$4 = getBuiltIn$8;
2380
2364
  var defineBuiltInAccessor$1 = defineBuiltInAccessor$3;
@@ -2527,12 +2511,12 @@ var validateArgumentsLength$1 = function (passed, required) {
2527
2511
  return passed;
2528
2512
  };
2529
2513
 
2530
- var userAgent$2 = engineUserAgent;
2514
+ var userAgent$2 = environmentUserAgent;
2531
2515
 
2532
2516
  // eslint-disable-next-line redos/no-vulnerable -- safe
2533
- var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
2517
+ var environmentIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
2534
2518
 
2535
- var global$d = global$q;
2519
+ var globalThis$d = globalThis_1;
2536
2520
  var apply$1 = functionApply;
2537
2521
  var bind$4 = functionBindContext;
2538
2522
  var isCallable$6 = isCallable$n;
@@ -2542,16 +2526,16 @@ var html = html$2;
2542
2526
  var arraySlice = arraySlice$1;
2543
2527
  var createElement = documentCreateElement$2;
2544
2528
  var validateArgumentsLength = validateArgumentsLength$1;
2545
- var IS_IOS$1 = engineIsIos;
2546
- var IS_NODE$4 = engineIsNode;
2547
-
2548
- var set$1 = global$d.setImmediate;
2549
- var clear = global$d.clearImmediate;
2550
- var process$2 = global$d.process;
2551
- var Dispatch = global$d.Dispatch;
2552
- var Function$1 = global$d.Function;
2553
- var MessageChannel = global$d.MessageChannel;
2554
- var String$1 = global$d.String;
2529
+ var IS_IOS$1 = environmentIsIos;
2530
+ var IS_NODE$3 = environmentIsNode;
2531
+
2532
+ var set$1 = globalThis$d.setImmediate;
2533
+ var clear = globalThis$d.clearImmediate;
2534
+ var process$2 = globalThis$d.process;
2535
+ var Dispatch = globalThis$d.Dispatch;
2536
+ var Function$1 = globalThis$d.Function;
2537
+ var MessageChannel = globalThis$d.MessageChannel;
2538
+ var String$1 = globalThis$d.String;
2555
2539
  var counter = 0;
2556
2540
  var queue$2 = {};
2557
2541
  var ONREADYSTATECHANGE = 'onreadystatechange';
@@ -2559,7 +2543,7 @@ var $location, defer, channel, port;
2559
2543
 
2560
2544
  fails$c(function () {
2561
2545
  // Deno throws a ReferenceError on `location` access without `--location` flag
2562
- $location = global$d.location;
2546
+ $location = globalThis$d.location;
2563
2547
  });
2564
2548
 
2565
2549
  var run = function (id) {
@@ -2582,7 +2566,7 @@ var eventListener = function (event) {
2582
2566
 
2583
2567
  var globalPostMessageDefer = function (id) {
2584
2568
  // old engines have not location.origin
2585
- global$d.postMessage(String$1(id), $location.protocol + '//' + $location.host);
2569
+ globalThis$d.postMessage(String$1(id), $location.protocol + '//' + $location.host);
2586
2570
  };
2587
2571
 
2588
2572
  // Node.js 0.9+ & IE10+ has setImmediate, otherwise:
@@ -2601,7 +2585,7 @@ if (!set$1 || !clear) {
2601
2585
  delete queue$2[id];
2602
2586
  };
2603
2587
  // Node.js 0.8-
2604
- if (IS_NODE$4) {
2588
+ if (IS_NODE$3) {
2605
2589
  defer = function (id) {
2606
2590
  process$2.nextTick(runner(id));
2607
2591
  };
@@ -2620,14 +2604,14 @@ if (!set$1 || !clear) {
2620
2604
  // Browsers with postMessage, skip WebWorkers
2621
2605
  // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
2622
2606
  } else if (
2623
- global$d.addEventListener &&
2624
- isCallable$6(global$d.postMessage) &&
2625
- !global$d.importScripts &&
2607
+ globalThis$d.addEventListener &&
2608
+ isCallable$6(globalThis$d.postMessage) &&
2609
+ !globalThis$d.importScripts &&
2626
2610
  $location && $location.protocol !== 'file:' &&
2627
2611
  !fails$c(globalPostMessageDefer)
2628
2612
  ) {
2629
2613
  defer = globalPostMessageDefer;
2630
- global$d.addEventListener('message', eventListener, false);
2614
+ globalThis$d.addEventListener('message', eventListener, false);
2631
2615
  // IE8-
2632
2616
  } else if (ONREADYSTATECHANGE in createElement('script')) {
2633
2617
  defer = function (id) {
@@ -2649,7 +2633,7 @@ var task$1 = {
2649
2633
  clear: clear
2650
2634
  };
2651
2635
 
2652
- var global$c = global$q;
2636
+ var globalThis$c = globalThis_1;
2653
2637
  var DESCRIPTORS$3 = descriptors;
2654
2638
 
2655
2639
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
@@ -2657,8 +2641,8 @@ var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
2657
2641
 
2658
2642
  // Avoid NodeJS experimental warning
2659
2643
  var safeGetBuiltIn$1 = function (name) {
2660
- if (!DESCRIPTORS$3) return global$c[name];
2661
- var descriptor = getOwnPropertyDescriptor(global$c, name);
2644
+ if (!DESCRIPTORS$3) return globalThis$c[name];
2645
+ var descriptor = getOwnPropertyDescriptor(globalThis$c, name);
2662
2646
  return descriptor && descriptor.value;
2663
2647
  };
2664
2648
 
@@ -2687,28 +2671,28 @@ Queue$2.prototype = {
2687
2671
 
2688
2672
  var queue$1 = Queue$2;
2689
2673
 
2690
- var userAgent$1 = engineUserAgent;
2674
+ var userAgent$1 = environmentUserAgent;
2691
2675
 
2692
- var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && typeof Pebble != 'undefined';
2676
+ var environmentIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && typeof Pebble != 'undefined';
2693
2677
 
2694
- var userAgent = engineUserAgent;
2678
+ var userAgent = environmentUserAgent;
2695
2679
 
2696
- var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
2680
+ var environmentIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
2697
2681
 
2698
- var global$b = global$q;
2682
+ var globalThis$b = globalThis_1;
2699
2683
  var safeGetBuiltIn = safeGetBuiltIn$1;
2700
2684
  var bind$3 = functionBindContext;
2701
2685
  var macrotask = task$1.set;
2702
2686
  var Queue$1 = queue$1;
2703
- var IS_IOS = engineIsIos;
2704
- var IS_IOS_PEBBLE = engineIsIosPebble;
2705
- var IS_WEBOS_WEBKIT = engineIsWebosWebkit;
2706
- var IS_NODE$3 = engineIsNode;
2707
-
2708
- var MutationObserver = global$b.MutationObserver || global$b.WebKitMutationObserver;
2709
- var document$2 = global$b.document;
2710
- var process$1 = global$b.process;
2711
- var Promise$1 = global$b.Promise;
2687
+ var IS_IOS = environmentIsIos;
2688
+ var IS_IOS_PEBBLE = environmentIsIosPebble;
2689
+ var IS_WEBOS_WEBKIT = environmentIsWebosWebkit;
2690
+ var IS_NODE$2 = environmentIsNode;
2691
+
2692
+ var MutationObserver = globalThis$b.MutationObserver || globalThis$b.WebKitMutationObserver;
2693
+ var document$2 = globalThis$b.document;
2694
+ var process$1 = globalThis$b.process;
2695
+ var Promise$1 = globalThis$b.Promise;
2712
2696
  var microtask$1 = safeGetBuiltIn('queueMicrotask');
2713
2697
  var notify$1, toggle, node, promise, then;
2714
2698
 
@@ -2718,7 +2702,7 @@ if (!microtask$1) {
2718
2702
 
2719
2703
  var flush = function () {
2720
2704
  var parent, fn;
2721
- if (IS_NODE$3 && (parent = process$1.domain)) parent.exit();
2705
+ if (IS_NODE$2 && (parent = process$1.domain)) parent.exit();
2722
2706
  while (fn = queue.get()) try {
2723
2707
  fn();
2724
2708
  } catch (error) {
@@ -2730,7 +2714,7 @@ if (!microtask$1) {
2730
2714
 
2731
2715
  // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339
2732
2716
  // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898
2733
- if (!IS_IOS && !IS_NODE$3 && !IS_WEBOS_WEBKIT && MutationObserver && document$2) {
2717
+ if (!IS_IOS && !IS_NODE$2 && !IS_WEBOS_WEBKIT && MutationObserver && document$2) {
2734
2718
  toggle = true;
2735
2719
  node = document$2.createTextNode('');
2736
2720
  new MutationObserver(flush).observe(node, { characterData: true });
@@ -2748,7 +2732,7 @@ if (!microtask$1) {
2748
2732
  then(flush);
2749
2733
  };
2750
2734
  // Node.js without promises
2751
- } else if (IS_NODE$3) {
2735
+ } else if (IS_NODE$2) {
2752
2736
  notify$1 = function () {
2753
2737
  process$1.nextTick(flush);
2754
2738
  };
@@ -2760,7 +2744,7 @@ if (!microtask$1) {
2760
2744
  // - setTimeout
2761
2745
  } else {
2762
2746
  // `webpack` dev server bug on IE global methods - use bind(fn, global)
2763
- macrotask = bind$3(macrotask, global$b);
2747
+ macrotask = bind$3(macrotask, globalThis$b);
2764
2748
  notify$1 = function () {
2765
2749
  macrotask(flush);
2766
2750
  };
@@ -2789,34 +2773,23 @@ var perform$3 = function (exec) {
2789
2773
  }
2790
2774
  };
2791
2775
 
2792
- var global$a = global$q;
2793
-
2794
- var promiseNativeConstructor = global$a.Promise;
2795
-
2796
- /* global Deno -- Deno case */
2797
- var engineIsDeno = typeof Deno == 'object' && Deno && typeof Deno.version == 'object';
2776
+ var globalThis$a = globalThis_1;
2798
2777
 
2799
- var IS_DENO$1 = engineIsDeno;
2800
- var IS_NODE$2 = engineIsNode;
2778
+ var promiseNativeConstructor = globalThis$a.Promise;
2801
2779
 
2802
- var engineIsBrowser = !IS_DENO$1 && !IS_NODE$2
2803
- && typeof window == 'object'
2804
- && typeof document == 'object';
2805
-
2806
- var global$9 = global$q;
2780
+ var globalThis$9 = globalThis_1;
2807
2781
  var NativePromiseConstructor$3 = promiseNativeConstructor;
2808
2782
  var isCallable$5 = isCallable$n;
2809
2783
  var isForced$1 = isForced_1;
2810
2784
  var inspectSource = inspectSource$3;
2811
2785
  var wellKnownSymbol$8 = wellKnownSymbol$j;
2812
- var IS_BROWSER = engineIsBrowser;
2813
- var IS_DENO = engineIsDeno;
2814
- var V8_VERSION = engineV8Version;
2786
+ var ENVIRONMENT = environment;
2787
+ var V8_VERSION = environmentV8Version;
2815
2788
 
2816
2789
  NativePromiseConstructor$3 && NativePromiseConstructor$3.prototype;
2817
2790
  var SPECIES$2 = wellKnownSymbol$8('species');
2818
2791
  var SUBCLASSING = false;
2819
- var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$5(global$9.PromiseRejectionEvent);
2792
+ var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$5(globalThis$9.PromiseRejectionEvent);
2820
2793
 
2821
2794
  var FORCED_PROMISE_CONSTRUCTOR$5 = isForced$1('Promise', function () {
2822
2795
  var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor$3);
@@ -2839,7 +2812,7 @@ var FORCED_PROMISE_CONSTRUCTOR$5 = isForced$1('Promise', function () {
2839
2812
  SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
2840
2813
  if (!SUBCLASSING) return true;
2841
2814
  // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test
2842
- } return !GLOBAL_CORE_JS_PROMISE && (IS_BROWSER || IS_DENO) && !NATIVE_PROMISE_REJECTION_EVENT$1;
2815
+ } return !GLOBAL_CORE_JS_PROMISE && (ENVIRONMENT === 'BROWSER' || ENVIRONMENT === 'DENO') && !NATIVE_PROMISE_REJECTION_EVENT$1;
2843
2816
  });
2844
2817
 
2845
2818
  var promiseConstructorDetection = {
@@ -2872,8 +2845,8 @@ newPromiseCapability$2.f = function (C) {
2872
2845
  };
2873
2846
 
2874
2847
  var $$f = _export;
2875
- var IS_NODE$1 = engineIsNode;
2876
- var global$8 = global$q;
2848
+ var IS_NODE$1 = environmentIsNode;
2849
+ var globalThis$8 = globalThis_1;
2877
2850
  var call$d = functionCall;
2878
2851
  var defineBuiltIn$4 = defineBuiltIn$8;
2879
2852
  var setPrototypeOf$2 = objectSetPrototypeOf;
@@ -2903,13 +2876,13 @@ var setInternalState = InternalStateModule.set;
2903
2876
  var NativePromisePrototype$1 = NativePromiseConstructor$2 && NativePromiseConstructor$2.prototype;
2904
2877
  var PromiseConstructor = NativePromiseConstructor$2;
2905
2878
  var PromisePrototype = NativePromisePrototype$1;
2906
- var TypeError$1 = global$8.TypeError;
2907
- var document$1 = global$8.document;
2908
- var process = global$8.process;
2879
+ var TypeError$1 = globalThis$8.TypeError;
2880
+ var document$1 = globalThis$8.document;
2881
+ var process = globalThis$8.process;
2909
2882
  var newPromiseCapability$1 = newPromiseCapabilityModule$3.f;
2910
2883
  var newGenericPromiseCapability = newPromiseCapability$1;
2911
2884
 
2912
- var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$8.dispatchEvent);
2885
+ var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && globalThis$8.dispatchEvent);
2913
2886
  var UNHANDLED_REJECTION = 'unhandledrejection';
2914
2887
  var REJECTION_HANDLED = 'rejectionhandled';
2915
2888
  var PENDING = 0;
@@ -2982,14 +2955,14 @@ var dispatchEvent = function (name, promise, reason) {
2982
2955
  event.promise = promise;
2983
2956
  event.reason = reason;
2984
2957
  event.initEvent(name, false, true);
2985
- global$8.dispatchEvent(event);
2958
+ globalThis$8.dispatchEvent(event);
2986
2959
  } else event = { promise: promise, reason: reason };
2987
- if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$8['on' + name])) handler(event);
2960
+ if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = globalThis$8['on' + name])) handler(event);
2988
2961
  else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
2989
2962
  };
2990
2963
 
2991
2964
  var onUnhandled = function (state) {
2992
- call$d(task, global$8, function () {
2965
+ call$d(task, globalThis$8, function () {
2993
2966
  var promise = state.facade;
2994
2967
  var value = state.value;
2995
2968
  var IS_UNHANDLED = isUnhandled(state);
@@ -3012,7 +2985,7 @@ var isUnhandled = function (state) {
3012
2985
  };
3013
2986
 
3014
2987
  var onHandleUnhandled = function (state) {
3015
- call$d(task, global$8, function () {
2988
+ call$d(task, globalThis$8, function () {
3016
2989
  var promise = state.facade;
3017
2990
  if (IS_NODE$1) {
3018
2991
  process.emit('rejectionHandled', promise);
@@ -3091,7 +3064,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
3091
3064
  reactions: new Queue(),
3092
3065
  rejection: false,
3093
3066
  state: PENDING,
3094
- value: undefined
3067
+ value: null
3095
3068
  });
3096
3069
  };
3097
3070
 
@@ -3151,6 +3124,8 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
3151
3124
  }
3152
3125
  }
3153
3126
 
3127
+ // `Promise` constructor
3128
+ // https://tc39.es/ecma262/#sec-promise-executor
3154
3129
  $$f({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR$4 }, {
3155
3130
  Promise: PromiseConstructor
3156
3131
  });
@@ -3623,25 +3598,25 @@ const adjustPosition = (bbox, containingView, position, setPosition) => {
3623
3598
  } else if (bbox.x < containingView.x || isHorizontallyLarger) {
3624
3599
  // left screen
3625
3600
  const diffX = containingView.x - bbox.x;
3626
- setPosition(Object.assign(Object.assign({}, position), {
3601
+ setPosition(Object.assign({}, position, {
3627
3602
  x: position.x + diffX
3628
3603
  }));
3629
3604
  } else if (bbox.right >= containingView.right) {
3630
3605
  // right screen
3631
3606
  const diffX = containingView.right - bbox.right;
3632
- setPosition(Object.assign(Object.assign({}, position), {
3607
+ setPosition(Object.assign({}, position, {
3633
3608
  x: position.x + diffX
3634
3609
  }));
3635
3610
  } else if (bbox.y < containingView.y || isVerticallyLarger) {
3636
3611
  // top screen
3637
3612
  const diffY = containingView.y - bbox.y;
3638
- setPosition(Object.assign(Object.assign({}, position), {
3613
+ setPosition(Object.assign({}, position, {
3639
3614
  y: position.y + diffY
3640
3615
  }));
3641
3616
  } else if (bbox.bottom >= containingView.bottom) {
3642
3617
  // bottom screen
3643
3618
  const diffY = containingView.bottom - bbox.bottom;
3644
- setPosition(Object.assign(Object.assign({}, position), {
3619
+ setPosition(Object.assign({}, position, {
3645
3620
  y: position.y + diffY
3646
3621
  }));
3647
3622
  }
@@ -3739,15 +3714,14 @@ const ConfirmationServiceProvider = ({
3739
3714
  handleSubmit,
3740
3715
  handleClose
3741
3716
  } = useDialogActions(awaitingPromiseRef);
3742
- return jsxs(ConfirmationServiceContext.Provider, Object.assign({
3743
- value: openConfirmation
3744
- }, {
3717
+ return jsxs(ConfirmationServiceContext.Provider, {
3718
+ value: openConfirmation,
3745
3719
  children: [children, jsx(ConfirmationDialog, Object.assign({
3746
3720
  open: Boolean(confirmationState),
3747
3721
  onSubmit: handleSubmit,
3748
3722
  onClose: handleClose
3749
3723
  }, confirmationState))]
3750
- }));
3724
+ });
3751
3725
  };
3752
3726
 
3753
3727
  const AlertIcon = ({
@@ -3803,21 +3777,20 @@ const AlertBanner = ({
3803
3777
  if (!isOpen) {
3804
3778
  return null;
3805
3779
  }
3806
- return jsxs(Alert, Object.assign({
3780
+ return jsxs(Alert, {
3807
3781
  "data-testid": _dataTestId,
3808
3782
  severity: _severity,
3809
3783
  icon: jsx(AlertIcon, {
3810
3784
  severity: _severity
3811
3785
  }),
3812
- action: _shouldClose ? jsx(Button, Object.assign({
3786
+ action: _shouldClose ? jsx(Button, {
3813
3787
  variant: "flat",
3814
3788
  onClick: () => setIsOpen(false),
3815
3789
  sx: {
3816
3790
  backgroundColor: 'transparent!important'
3817
- }
3818
- }, {
3791
+ },
3819
3792
  children: t('shared-close-caps')
3820
- })) : undefined,
3793
+ }) : undefined,
3821
3794
  sx: _isCompact ? {
3822
3795
  height: '32px',
3823
3796
  boxSizing: 'border-box',
@@ -3845,9 +3818,8 @@ const AlertBanner = ({
3845
3818
  '& .MuiAlert-action': {
3846
3819
  padding: 0
3847
3820
  }
3848
- }
3849
- }, {
3850
- children: [jsx(AlertTitle, Object.assign({
3821
+ },
3822
+ children: [jsx(AlertTitle, {
3851
3823
  sx: {
3852
3824
  fontSize: '14px',
3853
3825
  fontWeight: 'normal',
@@ -3855,19 +3827,17 @@ const AlertBanner = ({
3855
3827
  paddingTop: '0px!important',
3856
3828
  marginBottom: '0px!important',
3857
3829
  lineHeight: _isCompact ? '18px' : '24px'
3858
- }
3859
- }, {
3830
+ },
3860
3831
  children: title
3861
- })), _info && jsx(Box, Object.assign({
3832
+ }), _info && jsx(Box, {
3862
3833
  sx: {
3863
3834
  fontSize: '16px',
3864
3835
  marginTop: 1,
3865
3836
  wordBreak: 'break-word',
3866
3837
  lineHeight: '22px'
3867
- }
3868
- }, {
3838
+ },
3869
3839
  children: _info
3870
- })), _actionButtonProps && jsx(Button, Object.assign({
3840
+ }), _actionButtonProps && jsx(Button, {
3871
3841
  variant: "flat",
3872
3842
  onClick: event => {
3873
3843
  setIsOpen(false);
@@ -3876,35 +3846,32 @@ const AlertBanner = ({
3876
3846
  sx: {
3877
3847
  backgroundColor: 'transparent!important'
3878
3848
  },
3879
- startIcon: jsx(ChevronRight, {})
3880
- }, {
3849
+ startIcon: jsx(ChevronRight, {}),
3881
3850
  children: _actionButtonProps.title.toUpperCase()
3882
- }))]
3883
- }));
3851
+ })]
3852
+ });
3884
3853
  };
3885
3854
 
3886
3855
  const AppLayout = ({
3887
3856
  header,
3888
3857
  children
3889
3858
  }) => {
3890
- return jsxs(Box, Object.assign({
3859
+ return jsxs(Box, {
3891
3860
  sx: {
3892
3861
  height: '100vh',
3893
3862
  display: 'flex',
3894
3863
  flexDirection: 'column'
3895
3864
  },
3896
- "data-testid": "appLayout"
3897
- }, {
3898
- children: [header, jsx(Box, Object.assign({
3865
+ "data-testid": "appLayout",
3866
+ children: [header, jsx(Box, {
3899
3867
  component: "main",
3900
3868
  sx: {
3901
3869
  flex: 1,
3902
3870
  position: 'relative'
3903
- }
3904
- }, {
3871
+ },
3905
3872
  children: children
3906
- }))]
3907
- }));
3873
+ })]
3874
+ });
3908
3875
  };
3909
3876
 
3910
3877
  const AppHeader = ({
@@ -3923,7 +3890,7 @@ const AppHeader = ({
3923
3890
  }
3924
3891
  toggleDrawer(false);
3925
3892
  };
3926
- return jsxs(Box, Object.assign({
3893
+ return jsxs(Box, {
3927
3894
  component: "header",
3928
3895
  role: "heading",
3929
3896
  sx: {
@@ -3950,23 +3917,21 @@ const AppHeader = ({
3950
3917
  display: 'block'
3951
3918
  }
3952
3919
  }
3953
- }
3954
- }, {
3955
- children: [jsxs(Box, Object.assign({
3920
+ },
3921
+ children: [jsxs(Box, {
3956
3922
  onClick: onClick,
3957
3923
  sx: {
3958
3924
  display: 'inherit',
3959
3925
  alignItems: 'center',
3960
3926
  cursor: onClick ? 'pointer' : 'auto'
3961
- }
3962
- }, {
3927
+ },
3963
3928
  children: [jsx(GeoWebLogo, {
3964
3929
  style: {
3965
3930
  position: 'relative',
3966
3931
  top: '-1px',
3967
3932
  right: '-1px'
3968
3933
  }
3969
- }), jsx(Typography, Object.assign({
3934
+ }), jsx(Typography, {
3970
3935
  variant: "h1",
3971
3936
  sx: {
3972
3937
  display: 'none',
@@ -3982,25 +3947,22 @@ const AppHeader = ({
3982
3947
  color: 'geowebColors.typographyAndIcons.text',
3983
3948
  marginLeft: 1,
3984
3949
  maxWidth: 130
3985
- }
3986
- }, {
3950
+ },
3987
3951
  children: _title
3988
- }))]
3989
- })), menu && jsxs(Box, Object.assign({
3952
+ })]
3953
+ }), menu && jsxs(Box, {
3990
3954
  className: "hamburger-btn",
3991
3955
  sx: {
3992
3956
  display: 'flex',
3993
3957
  alignItems: 'center',
3994
3958
  marginLeft: 1
3995
- }
3996
- }, {
3997
- children: [jsx(CustomIconButton, Object.assign({
3959
+ },
3960
+ children: [jsx(CustomIconButton, {
3998
3961
  "data-testid": "menuButton",
3999
3962
  onClick: () => onToggleDrawer(true),
4000
- isSelected: isDrawerOpen
4001
- }, {
3963
+ isSelected: isDrawerOpen,
4002
3964
  children: jsx(HamburgerMenu, {})
4003
- })), jsx(Drawer, Object.assign({
3965
+ }), jsx(Drawer, {
4004
3966
  "data-testid": "app-drawer",
4005
3967
  anchor: "left",
4006
3968
  open: isDrawerOpen,
@@ -4011,19 +3973,17 @@ const AppHeader = ({
4011
3973
  '& .MuiDrawer-paper': {
4012
3974
  top: '40px'
4013
3975
  }
4014
- }
4015
- }, {
4016
- children: jsx(Box, Object.assign({
3976
+ },
3977
+ children: jsx(Box, {
4017
3978
  role: "presentation",
4018
3979
  sx: {
4019
3980
  width: '250px',
4020
3981
  overflowY: 'auto'
4021
- }
4022
- }, {
3982
+ },
4023
3983
  children: menu
4024
- }))
4025
- }))]
4026
- })), jsx(Box, Object.assign({
3984
+ })
3985
+ })]
3986
+ }), jsx(Box, {
4027
3987
  className: "workspace-topbar",
4028
3988
  sx: {
4029
3989
  flexGrow: 1,
@@ -4031,28 +3991,27 @@ const AppHeader = ({
4031
3991
  marginLeft: 1,
4032
3992
  alignItems: 'center',
4033
3993
  maxWidth: 168
4034
- }
4035
- }, {
3994
+ },
4036
3995
  children: workspaceTopBar
4037
- })), jsx(Box, Object.assign({
3996
+ }), jsx(Box, {
4038
3997
  sx: {
4039
3998
  display: 'flex',
4040
3999
  alignItems: 'center',
4041
4000
  flexGrow: 1,
4042
4001
  justifyContent: 'flex-end'
4043
- }
4044
- }, {
4002
+ },
4045
4003
  children: userMenu
4046
- }))]
4047
- }));
4004
+ })]
4005
+ });
4048
4006
  };
4049
4007
 
4050
- const DraggableComponent$1 = _a => {
4051
- var {
4008
+ const _excluded$9 = ["bounds", "children"];
4009
+ const DraggableComponent$1 = _ref => {
4010
+ let {
4052
4011
  bounds = 'body',
4053
4012
  children
4054
- } = _a,
4055
- props = __rest(_a, ["bounds", "children"]);
4013
+ } = _ref,
4014
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$9);
4056
4015
  const onDragStart = e => {
4057
4016
  // This makes sure that nothing is selected during drag
4058
4017
  e.preventDefault();
@@ -4061,8 +4020,7 @@ const DraggableComponent$1 = _a => {
4061
4020
  bounds: bounds
4062
4021
  }, props, {
4063
4022
  enableUserSelectHack: false,
4064
- onStart: onDragStart
4065
- }, {
4023
+ onStart: onDragStart,
4066
4024
  children: children
4067
4025
  }));
4068
4026
  };
@@ -4211,15 +4169,15 @@ var stringTrim = {
4211
4169
  trim: createMethod$2(3)
4212
4170
  };
4213
4171
 
4214
- var global$7 = global$q;
4172
+ var globalThis$7 = globalThis_1;
4215
4173
  var fails$b = fails$p;
4216
4174
  var uncurryThis$8 = functionUncurryThis;
4217
4175
  var toString$a = toString$d;
4218
4176
  var trim$1 = stringTrim.trim;
4219
4177
  var whitespaces$1 = whitespaces$3;
4220
4178
 
4221
- var $parseInt$1 = global$7.parseInt;
4222
- var Symbol$2 = global$7.Symbol;
4179
+ var $parseInt$1 = globalThis$7.parseInt;
4180
+ var Symbol$2 = globalThis$7.Symbol;
4223
4181
  var ITERATOR$1 = Symbol$2 && Symbol$2.iterator;
4224
4182
  var hex = /^[+-]?0x/i;
4225
4183
  var exec$2 = uncurryThis$8(hex.exec);
@@ -4243,14 +4201,15 @@ $$8({ global: true, forced: parseInt !== $parseInt }, {
4243
4201
  parseInt: $parseInt
4244
4202
  });
4245
4203
 
4204
+ const _excluded$8 = ["children", "onResizeStart", "onResizeStop", "size", "setSize", "minHeight", "minWidth", "enable", "nodeRef"];
4246
4205
  const isDraggingClassName = 'is-dragging';
4247
4206
  const useBoundsProps = nodeRef => {
4248
4207
  const [boundsProps, setBoundsProps] = React__default.useState({});
4249
4208
  React__default.useEffect(() => {
4250
- var _a;
4251
4209
  if (nodeRef) {
4210
+ var _nodeRef$current;
4252
4211
  setBoundsProps({
4253
- bounds: (_a = nodeRef === null || nodeRef === void 0 ? void 0 : nodeRef.current) === null || _a === void 0 ? void 0 : _a.parentNode,
4212
+ bounds: nodeRef == null || (_nodeRef$current = nodeRef.current) == null ? void 0 : _nodeRef$current.parentNode,
4254
4213
  boundsByDirection: true
4255
4214
  });
4256
4215
  }
@@ -4258,8 +4217,8 @@ const useBoundsProps = nodeRef => {
4258
4217
  }, []);
4259
4218
  return boundsProps;
4260
4219
  };
4261
- const ResizeComponent = _a => {
4262
- var {
4220
+ const ResizeComponent = _ref => {
4221
+ let {
4263
4222
  children,
4264
4223
  onResizeStart = () => {},
4265
4224
  onResizeStop = () => {},
@@ -4278,8 +4237,8 @@ const ResizeComponent = _a => {
4278
4237
  topLeft: true
4279
4238
  },
4280
4239
  nodeRef
4281
- } = _a,
4282
- props = __rest(_a, ["children", "onResizeStart", "onResizeStop", "size", "setSize", "minHeight", "minWidth", "enable", "nodeRef"]);
4240
+ } = _ref,
4241
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$8);
4283
4242
  const theme = useTheme();
4284
4243
  const onStartResize = React__default.useCallback((event, _direction, node) => {
4285
4244
  event.stopPropagation();
@@ -4397,7 +4356,7 @@ var $Error = Error;
4397
4356
  var replace$2 = uncurryThis$7(''.replace);
4398
4357
 
4399
4358
  var TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd');
4400
- // eslint-disable-next-line redos/no-vulnerable -- safe
4359
+ // eslint-disable-next-line redos/no-vulnerable, sonarjs/slow-regex -- safe
4401
4360
  var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/;
4402
4361
  var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);
4403
4362
 
@@ -4498,12 +4457,12 @@ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_A
4498
4457
 
4499
4458
  /* eslint-disable no-unused-vars -- required for functions `.length` */
4500
4459
  var $$7 = _export;
4501
- var global$6 = global$q;
4460
+ var globalThis$6 = globalThis_1;
4502
4461
  var apply = functionApply;
4503
4462
  var wrapErrorConstructorWithCause = wrapErrorConstructorWithCause$1;
4504
4463
 
4505
4464
  var WEB_ASSEMBLY = 'WebAssembly';
4506
- var WebAssembly = global$6[WEB_ASSEMBLY];
4465
+ var WebAssembly = globalThis$6[WEB_ASSEMBLY];
4507
4466
 
4508
4467
  // eslint-disable-next-line es/no-error-cause -- feature detection
4509
4468
  var FORCED$2 = new Error('e', { cause: 7 }).cause !== 7;
@@ -4692,25 +4651,23 @@ class ErrorBoundary extends React.Component {
4692
4651
  overflowY: 'scroll'
4693
4652
  };
4694
4653
  if (error) {
4695
- return jsx(Box, Object.assign({
4696
- sx: displayOnTop ? displayOnTopStyles : normalStyles
4697
- }, {
4654
+ return jsx(Box, {
4655
+ sx: displayOnTop ? displayOnTopStyles : normalStyles,
4698
4656
  children: jsx(AlertBanner, {
4699
4657
  severity: "error",
4700
4658
  title: "Woops, an error has occurred. Please report the error shown below and reload the page if needed.",
4701
4659
  info: jsxs("div", {
4702
- children: [jsx("br", {}), error.toString(), jsx("br", {}), errorInfo && errorInfo.componentStack, jsx("br", {}), jsx("br", {}), jsx(Link, Object.assign({
4660
+ children: [jsx("br", {}), error.toString(), jsx("br", {}), errorInfo && errorInfo.componentStack, jsx("br", {}), jsx("br", {}), jsx(Link, {
4703
4661
  underline: "always",
4704
4662
  style: {
4705
4663
  cursor: 'pointer'
4706
4664
  },
4707
- onClick: () => window.location.reload()
4708
- }, {
4665
+ onClick: () => window.location.reload(),
4709
4666
  children: reloadPage
4710
- }))]
4667
+ })]
4711
4668
  })
4712
4669
  })
4713
- }));
4670
+ });
4714
4671
  }
4715
4672
  return children;
4716
4673
  }
@@ -4731,12 +4688,11 @@ const Avatar = ({
4731
4688
  children,
4732
4689
  size: _size = 'large'
4733
4690
  }) => {
4734
- return jsx(Avatar$1, Object.assign({
4691
+ return jsx(Avatar$1, {
4735
4692
  "data-testid": "avatar",
4736
- sx: Object.assign({}, styles$5[_size])
4737
- }, {
4693
+ sx: Object.assign({}, styles$5[_size]),
4738
4694
  children: children
4739
- }));
4695
+ });
4740
4696
  };
4741
4697
 
4742
4698
  const styles$4 = {
@@ -4768,7 +4724,7 @@ const UserMenu = ({
4768
4724
  isAdmin: _isAdmin = false
4769
4725
  }) => {
4770
4726
  return jsxs(Fragment, {
4771
- children: [jsx(CustomIconButton, Object.assign({
4727
+ children: [jsx(CustomIconButton, {
4772
4728
  "data-testid": "userButton",
4773
4729
  onClick: _onToggle,
4774
4730
  sx: {
@@ -4785,39 +4741,34 @@ const UserMenu = ({
4785
4741
  }
4786
4742
  })
4787
4743
  },
4788
- size: "medium"
4789
- }, {
4744
+ size: "medium",
4790
4745
  children: !_isAdmin ? jsx(Avatar, {
4791
4746
  children: initials
4792
4747
  }) : jsxs(Fragment, {
4793
- children: [jsx(Admin, {}), initials && jsx("div", Object.assign({
4748
+ children: [jsx(Admin, {}), initials && jsx("div", {
4794
4749
  style: {
4795
4750
  position: 'absolute',
4796
4751
  fontSize: '14px',
4797
4752
  color: '#FFF',
4798
4753
  fontFamily: 'Roboto',
4799
4754
  fontWeight: 500
4800
- }
4801
- }, {
4755
+ },
4802
4756
  children: initials
4803
- }))]
4757
+ })]
4804
4758
  })
4805
- })), _isOpen && jsx(Paper, Object.assign({
4759
+ }), _isOpen && jsx(Paper, {
4806
4760
  sx: styles$4.container,
4807
- "data-testid": "userMenu"
4808
- }, {
4809
- children: jsx(ClickAwayListener, Object.assign({
4761
+ "data-testid": "userMenu",
4762
+ children: jsx(ClickAwayListener, {
4810
4763
  onClickAway: _onClose,
4811
- mouseEvent: "onMouseDown"
4812
- }, {
4813
- children: jsx(MenuList, Object.assign({
4764
+ mouseEvent: "onMouseDown",
4765
+ children: jsx(MenuList, {
4814
4766
  sx: styles$4.userMenu,
4815
- variant: "menu"
4816
- }, {
4767
+ variant: "menu",
4817
4768
  children: children
4818
- }))
4819
- }))
4820
- }))]
4769
+ })
4770
+ })
4771
+ })]
4821
4772
  });
4822
4773
  };
4823
4774
 
@@ -4829,18 +4780,15 @@ const MenuItemTheme = () => {
4829
4780
  const {
4830
4781
  t
4831
4782
  } = useTranslation(SHARED_NAMESPACE);
4832
- return jsx(MenuItem, Object.assign({
4833
- divider: true
4834
- }, {
4835
- children: jsxs(Grid2, Object.assign({
4836
- container: true
4837
- }, {
4783
+ return jsx(MenuItem, {
4784
+ divider: true,
4785
+ children: jsxs(Grid2, {
4786
+ container: true,
4838
4787
  children: [jsx(Grid2, {
4839
4788
  children: t('shared-choose-app-mode')
4840
4789
  }), jsx(Grid2, {
4841
- children: jsxs(RadioGroup, Object.assign({
4842
- onChange: toggleTheme
4843
- }, {
4790
+ children: jsxs(RadioGroup, {
4791
+ onChange: toggleTheme,
4844
4792
  children: [jsx(FormControlLabel, {
4845
4793
  value: true,
4846
4794
  control: jsx(Radio, {
@@ -4854,10 +4802,10 @@ const MenuItemTheme = () => {
4854
4802
  }),
4855
4803
  label: t('shared-dark')
4856
4804
  })]
4857
- }))
4805
+ })
4858
4806
  })]
4859
- }))
4860
- }));
4807
+ })
4808
+ });
4861
4809
  };
4862
4810
 
4863
4811
  // drag handles will be handled by DraggableResizable/Resizable
@@ -4956,59 +4904,54 @@ const ToolHeader = ({
4956
4904
  const {
4957
4905
  t
4958
4906
  } = useTranslation(SHARED_NAMESPACE);
4959
- return jsx(Box, Object.assign({
4907
+ return jsx(Box, {
4960
4908
  component: "header",
4961
4909
  className: _className,
4962
- sx: Object.assign(Object.assign({}, _rightHeaderComponent ? headerStyle : {}), {
4910
+ sx: Object.assign({}, _rightHeaderComponent ? headerStyle : {}, {
4963
4911
  boxShadow: 1,
4912
+ // elevation_01
4964
4913
  backgroundColor: 'geowebColors.background.surface',
4965
4914
  zIndex: 2,
4966
4915
  cursor: _isDraggable ? 'move' : null
4967
4916
  }),
4968
4917
  role: "heading",
4969
- "aria-label": "toolheader"
4970
- }, {
4971
- children: jsxs(Grid2, Object.assign({
4918
+ "aria-label": "toolheader",
4919
+ children: jsxs(Grid2, {
4972
4920
  container: true,
4973
4921
  alignItems: "center",
4974
4922
  sx: {
4975
4923
  padding: styles.padding,
4976
4924
  height: styles.height
4977
- }
4978
- }, {
4979
- children: [jsxs(Grid2, Object.assign({
4925
+ },
4926
+ children: [jsxs(Grid2, {
4980
4927
  className: "header-left",
4981
4928
  sx: {
4982
4929
  paddingRight: 1
4983
4930
  },
4984
4931
  size: {
4985
4932
  sm: columnSizeLeft
4986
- }
4987
- }, {
4988
- children: [_isDraggable && size !== 'xxs' && !_leftHeaderComponent && jsx(Grid2, Object.assign({
4933
+ },
4934
+ children: [_isDraggable && size !== 'xxs' && !_leftHeaderComponent && jsx(Grid2, {
4989
4935
  container: true,
4990
4936
  justifyContent: "flex-start",
4991
- size: "grow"
4992
- }, {
4993
- children: jsx(CustomIconButton, Object.assign({
4937
+ size: "grow",
4938
+ children: jsx(CustomIconButton, {
4994
4939
  "data-testid": "dragBtn",
4995
4940
  disableRipple: true,
4996
4941
  sx: {
4997
4942
  pointerEvents: 'none',
4998
4943
  '&.MuiIconButton-root': iconStyle
4999
- }
5000
- }, {
4944
+ },
5001
4945
  children: _dragHandleIcon
5002
- }))
5003
- })), _leftHeaderComponent && _leftHeaderComponent]
5004
- })), jsxs(Grid2, Object.assign({
4946
+ })
4947
+ }), _leftHeaderComponent && _leftHeaderComponent]
4948
+ }), jsxs(Grid2, {
5005
4949
  className: "header-title",
5006
4950
  size: title ? columnSizeTitle : 0,
5007
4951
  container: true,
5008
4952
  justifyContent: "center",
5009
- alignItems: "center"
5010
- }, {
5011
- children: [title && jsx(Typography, Object.assign({
4953
+ alignItems: "center",
4954
+ children: [title && jsx(Typography, {
5012
4955
  variant: "h2",
5013
4956
  noWrap: true,
5014
4957
  sx: {
@@ -5018,52 +4961,48 @@ const ToolHeader = ({
5018
4961
  marginTop: styles.marginTop,
5019
4962
  textAlign: 'center'
5020
4963
  },
5021
- role: "heading"
5022
- }, {
4964
+ role: "heading",
5023
4965
  children: title
5024
- })), size === 'xxs' && jsx(CustomIconButton, Object.assign({
4966
+ }), size === 'xxs' && jsx(CustomIconButton, {
5025
4967
  "data-testid": "dragBtn-xxs",
5026
4968
  disableRipple: true,
5027
4969
  sx: {
5028
4970
  pointerEvents: 'none',
5029
4971
  right: -12,
5030
4972
  transform: 'rotate(90deg)',
5031
- '&.MuiButtonBase-root.MuiIconButton-root': Object.assign(Object.assign({}, iconStyle), {
4973
+ '&.MuiButtonBase-root.MuiIconButton-root': Object.assign({}, iconStyle, {
5032
4974
  height: 12
5033
4975
  })
5034
- }
5035
- }, {
4976
+ },
5036
4977
  children: _dragHandleIcon
5037
- }))]
5038
- })), jsxs(Grid2, Object.assign({
4978
+ })]
4979
+ }), jsxs(Grid2, {
5039
4980
  className: "header-right",
5040
4981
  container: true,
5041
4982
  justifyContent: "flex-end",
5042
- size: columnSizeIcon
5043
- }, {
5044
- children: [_rightHeaderComponent && _rightHeaderComponent, _onClose && jsx(CustomTooltip, Object.assign({
4983
+ size: columnSizeIcon,
4984
+ children: [_rightHeaderComponent && _rightHeaderComponent, _onClose && jsx(CustomTooltip, {
5045
4985
  title: t('shared-close'),
5046
4986
  placement: "bottom",
5047
4987
  sx: {
5048
4988
  pointerEvents: 'none'
5049
- }
5050
- }, {
5051
- children: jsx(CustomIconButton, Object.assign({
4989
+ },
4990
+ children: jsx(CustomIconButton, {
5052
4991
  "data-testid": "closeBtn",
5053
4992
  onClick: _onClose,
5054
4993
  onTouchEnd: _onClose,
5055
4994
  sx: {
5056
4995
  '&.MuiButtonBase-root.MuiIconButton-root': iconStyle
5057
- }
5058
- }, {
4996
+ },
5059
4997
  children: _closeIcon
5060
- }))
5061
- }))]
5062
- }))]
5063
- }))
5064
- }));
4998
+ })
4999
+ })]
5000
+ })]
5001
+ })
5002
+ });
5065
5003
  };
5066
5004
 
5005
+ const _excluded$7 = ["title", "size", "children", "onClose", "isResizable", "isDraggable", "maxHeight", "elevation", "headerClassName", "leftHeaderComponent", "rightHeaderComponent", "dragHandleIcon", "closeIcon"];
5067
5006
  const styles$3 = {
5068
5007
  container: {
5069
5008
  overflow: 'hidden',
@@ -5079,8 +5018,8 @@ const styles$3 = {
5079
5018
  }
5080
5019
  };
5081
5020
  const BASE_ELEVATION = 5;
5082
- const ToolContainer = _a => {
5083
- var {
5021
+ const ToolContainer = _ref => {
5022
+ let {
5084
5023
  title = '',
5085
5024
  size = 'xs',
5086
5025
  children,
@@ -5095,8 +5034,8 @@ const ToolContainer = _a => {
5095
5034
  rightHeaderComponent = null,
5096
5035
  dragHandleIcon,
5097
5036
  closeIcon
5098
- } = _a,
5099
- props = __rest(_a, ["title", "size", "children", "onClose", "isResizable", "isDraggable", "maxHeight", "elevation", "headerClassName", "leftHeaderComponent", "rightHeaderComponent", "dragHandleIcon", "closeIcon"]);
5037
+ } = _ref,
5038
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$7);
5100
5039
  return jsxs(Paper, Object.assign({
5101
5040
  elevation: elevation,
5102
5041
  sx: styles$3.container
@@ -5113,18 +5052,17 @@ const ToolContainer = _a => {
5113
5052
  dragHandleIcon: dragHandleIcon,
5114
5053
  closeIcon: closeIcon
5115
5054
  })
5116
- }), jsx(Box, Object.assign({
5055
+ }), jsx(Box, {
5117
5056
  sx: styles$3.content,
5118
5057
  style: {
5119
5058
  maxHeight
5120
- }
5121
- }, {
5059
+ },
5122
5060
  children: children
5123
- })), isResizable && jsx(ToolFooter, {})]
5061
+ }), isResizable && jsx(ToolFooter, {})]
5124
5062
  }));
5125
5063
  };
5126
5064
 
5127
- var global$5 = global$q;
5065
+ var globalThis$5 = globalThis_1;
5128
5066
  var fails$8 = fails$p;
5129
5067
  var uncurryThis$6 = functionUncurryThis;
5130
5068
  var toString$8 = toString$d;
@@ -5132,8 +5070,8 @@ var trim = stringTrim.trim;
5132
5070
  var whitespaces = whitespaces$3;
5133
5071
 
5134
5072
  var charAt$4 = uncurryThis$6(''.charAt);
5135
- var $parseFloat$1 = global$5.parseFloat;
5136
- var Symbol$1 = global$5.Symbol;
5073
+ var $parseFloat$1 = globalThis$5.parseFloat;
5074
+ var Symbol$1 = globalThis$5.Symbol;
5137
5075
  var ITERATOR = Symbol$1 && Symbol$1.iterator;
5138
5076
  var FORCED$1 = 1 / $parseFloat$1(whitespaces + '-0') !== -Infinity
5139
5077
  // MS Edge 18- broken with boxed symbols
@@ -5226,8 +5164,8 @@ const useHandleSizeFromOutsideComponent = ({
5226
5164
  }
5227
5165
  }, [nodeRef]);
5228
5166
  const getBoundsNode = React__default.useCallback(() => {
5229
- var _a;
5230
- return bounds === 'parent' ? (_a = nodeRef.current) === null || _a === void 0 ? void 0 : _a.parentNode : document.querySelector(bounds);
5167
+ var _nodeRef$current;
5168
+ return bounds === 'parent' ? (_nodeRef$current = nodeRef.current) == null ? void 0 : _nodeRef$current.parentNode : document.querySelector(bounds);
5231
5169
  }, [bounds, nodeRef]);
5232
5170
  // store the position as ref so we can access it in another ref
5233
5171
  const refPosition = React__default.useRef(position);
@@ -5284,6 +5222,7 @@ const useHandleSizeFromOutsideComponent = ({
5284
5222
  }, [isOpen, getBoundsNode]);
5285
5223
  };
5286
5224
 
5225
+ const _excluded$6 = ["title", "bounds", "cancel", "headerSize", "startSize", "startPosition", "children", "isOpen", "onClose", "initialMaxHeight", "onChangeSize", "onMouseDown", "onResizeStop", "onDragEnd", "order", "source", "leftHeaderComponent", "rightHeaderComponent", "dragHandleIcon", "closeIcon", "className", "sx"];
5287
5226
  // calculate dialog size and position to 85% of screensize
5288
5227
  const calculateDialogSizeAndPosition = () => {
5289
5228
  const width = window.innerWidth * 0.85;
@@ -5334,8 +5273,8 @@ const calculateNewPosition = (position, isRightAligned, handle, delta) => {
5334
5273
  y
5335
5274
  };
5336
5275
  };
5337
- const DraggableComponent = _a => {
5338
- var {
5276
+ const DraggableComponent = _ref => {
5277
+ let {
5339
5278
  title,
5340
5279
  bounds = 'body',
5341
5280
  cancel = '.MuiButtonBase-root',
@@ -5365,8 +5304,8 @@ const DraggableComponent = _a => {
5365
5304
  closeIcon,
5366
5305
  className,
5367
5306
  sx = {}
5368
- } = _a,
5369
- props = __rest(_a, ["title", "bounds", "cancel", "headerSize", "startSize", "startPosition", "children", "isOpen", "onClose", "initialMaxHeight", "onChangeSize", "onMouseDown", "onResizeStop", "onDragEnd", "order", "source", "leftHeaderComponent", "rightHeaderComponent", "dragHandleIcon", "closeIcon", "className", "sx"]);
5307
+ } = _ref,
5308
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$6);
5370
5309
  const zIndex = (source === 'app' ? BASE_Z_INDEX : 1000) + order;
5371
5310
  const elevation = BASE_ELEVATION + order;
5372
5311
  const nodeRef = React__default.useRef(null);
@@ -5415,22 +5354,21 @@ const DraggableComponent = _a => {
5415
5354
  setSize(size);
5416
5355
  }
5417
5356
  });
5418
- return isOpen ? jsx(DraggableComponent$1, Object.assign({
5357
+ return isOpen ? jsx(DraggableComponent$1, {
5419
5358
  nodeRef: nodeRef,
5420
5359
  bounds: bounds,
5421
5360
  cancel: cancel,
5422
5361
  position: position,
5423
5362
  onStop: onStopDrag,
5424
5363
  handle: `.${headerClassName}`,
5425
- onMouseDown: onMouseDown
5426
- }, {
5427
- children: jsx(Box, Object.assign({
5364
+ onMouseDown: onMouseDown,
5365
+ children: jsx(Box, {
5428
5366
  tabIndex: -1,
5429
- sx: Object.assign(Object.assign(Object.assign({
5367
+ sx: Object.assign({
5430
5368
  position: 'absolute',
5431
5369
  pointerEvents: 'all',
5432
5370
  zIndex
5433
- }, startPosition), sx), {
5371
+ }, startPosition, sx, {
5434
5372
  '&:hover .resizableHandle': {
5435
5373
  display: 'inline'
5436
5374
  }
@@ -5438,17 +5376,15 @@ const DraggableComponent = _a => {
5438
5376
  ref: nodeRef,
5439
5377
  className: "toolContainerDraggable",
5440
5378
  role: "dialog",
5441
- "aria-label": title
5442
- }, {
5379
+ "aria-label": title,
5443
5380
  children: jsx(ResizeComponent, Object.assign({}, props, {
5444
5381
  size: size,
5445
5382
  setSize: setSize,
5446
5383
  onResizeStart: onStartResize,
5447
5384
  onResizeStop: onStopResize,
5448
5385
  onResize: onResize,
5449
- nodeRef: nodeRef
5450
- }, {
5451
- children: jsx(ToolContainer, Object.assign({
5386
+ nodeRef: nodeRef,
5387
+ children: jsx(ToolContainer, {
5452
5388
  maxHeight: initialMaxHeight,
5453
5389
  onClose: onClose,
5454
5390
  title: title,
@@ -5461,13 +5397,12 @@ const DraggableComponent = _a => {
5461
5397
  rightHeaderComponent: rightHeaderComponent,
5462
5398
  dragHandleIcon: dragHandleIcon,
5463
5399
  closeIcon: closeIcon,
5464
- className: className
5465
- }, {
5400
+ className: className,
5466
5401
  children: children
5467
- }))
5402
+ })
5468
5403
  }))
5469
- }))
5470
- })) : null;
5404
+ })
5405
+ }) : null;
5471
5406
  };
5472
5407
 
5473
5408
  const segmentStyle = {
@@ -5479,7 +5414,7 @@ const segmentStyle = {
5479
5414
  justifyContent: 'center'
5480
5415
  };
5481
5416
  const styles$2 = {
5482
- icon: Object.assign(Object.assign({}, segmentStyle), {
5417
+ icon: Object.assign({}, segmentStyle, {
5483
5418
  backgroundColor: 'geowebColors.textInputField.default.rgba',
5484
5419
  width: 40,
5485
5420
  height: 40,
@@ -5487,10 +5422,10 @@ const styles$2 = {
5487
5422
  alignItems: 'center',
5488
5423
  borderRadius: 1
5489
5424
  }),
5490
- connect: Object.assign(Object.assign({}, segmentStyle), {
5425
+ connect: Object.assign({}, segmentStyle, {
5491
5426
  fontSize: 18
5492
5427
  }),
5493
- divider: Object.assign(Object.assign({}, segmentStyle), {
5428
+ divider: Object.assign({}, segmentStyle, {
5494
5429
  margin: '0 6px',
5495
5430
  fontSize: 18
5496
5431
  })
@@ -5500,39 +5435,35 @@ const ShortCutSegment = ({
5500
5435
  children
5501
5436
  }) => {
5502
5437
  if (_type === 'divider') {
5503
- return jsx(Typography, Object.assign({
5438
+ return jsx(Typography, {
5504
5439
  sx: styles$2.divider,
5505
5440
  "data-testid": "segment-divider",
5506
- component: "span"
5507
- }, {
5441
+ component: "span",
5508
5442
  children: children
5509
- }));
5443
+ });
5510
5444
  }
5511
5445
  if (_type === 'icon') {
5512
- return jsx(Typography, Object.assign({
5446
+ return jsx(Typography, {
5513
5447
  sx: styles$2.icon,
5514
5448
  "data-testid": "segment-icon",
5515
- component: "span"
5516
- }, {
5449
+ component: "span",
5517
5450
  children: children
5518
- }));
5451
+ });
5519
5452
  }
5520
5453
  if (_type === 'connect') {
5521
- return jsx(Typography, Object.assign({
5454
+ return jsx(Typography, {
5522
5455
  sx: styles$2.connect,
5523
5456
  "data-testid": "segment-connect",
5524
- component: "span"
5525
- }, {
5457
+ component: "span",
5526
5458
  children: children
5527
- }));
5459
+ });
5528
5460
  }
5529
- return jsx(Typography, Object.assign({
5461
+ return jsx(Typography, {
5530
5462
  sx: segmentStyle,
5531
5463
  "data-testid": "segment-text",
5532
- component: "span"
5533
- }, {
5464
+ component: "span",
5534
5465
  children: children
5535
- }));
5466
+ });
5536
5467
  };
5537
5468
 
5538
5469
  const ShortcutList = ({
@@ -5554,66 +5485,53 @@ const ShortcutList = ({
5554
5485
  }, {
5555
5486
  titleKey: 'shared-move-one-step',
5556
5487
  description: jsxs(Fragment, {
5557
- children: [jsx(ShortCutSegment, Object.assign({
5558
- type: "icon"
5559
- }, {
5488
+ children: [jsx(ShortCutSegment, {
5489
+ type: "icon",
5560
5490
  children: "Ctrl"
5561
- })), jsx(ShortCutSegment, Object.assign({
5562
- type: "connect"
5563
- }, {
5491
+ }), jsx(ShortCutSegment, {
5492
+ type: "connect",
5564
5493
  children: "+"
5565
- })), jsx(ShortCutSegment, Object.assign({
5566
- type: "icon"
5567
- }, {
5494
+ }), jsx(ShortCutSegment, {
5495
+ type: "icon",
5568
5496
  children: jsx(ArrowLeft, {})
5569
- })), jsx(ShortCutSegment, Object.assign({
5570
- type: "divider"
5571
- }, {
5497
+ }), jsx(ShortCutSegment, {
5498
+ type: "divider",
5572
5499
  children: t('shared-shortcut-or')
5573
- })), jsx(ShortCutSegment, Object.assign({
5574
- type: "icon"
5575
- }, {
5500
+ }), jsx(ShortCutSegment, {
5501
+ type: "icon",
5576
5502
  children: jsx(ArrowRight, {})
5577
- }))]
5503
+ })]
5578
5504
  }),
5579
5505
  descriptionMac: jsxs(Fragment, {
5580
- children: [jsx(ShortCutSegment, Object.assign({
5581
- type: "icon"
5582
- }, {
5506
+ children: [jsx(ShortCutSegment, {
5507
+ type: "icon",
5583
5508
  children: "Ctrl"
5584
- })), jsx(ShortCutSegment, Object.assign({
5585
- type: "connect"
5586
- }, {
5509
+ }), jsx(ShortCutSegment, {
5510
+ type: "connect",
5587
5511
  children: "+"
5588
- })), jsx(ShortCutSegment, Object.assign({
5589
- type: "icon"
5590
- }, {
5512
+ }), jsx(ShortCutSegment, {
5513
+ type: "icon",
5591
5514
  children: jsx(KeyOption, {})
5592
- })), jsx(ShortCutSegment, Object.assign({
5593
- type: "connect"
5594
- }, {
5515
+ }), jsx(ShortCutSegment, {
5516
+ type: "connect",
5595
5517
  children: "+"
5596
- })), jsx(ShortCutSegment, Object.assign({
5597
- type: "icon"
5598
- }, {
5518
+ }), jsx(ShortCutSegment, {
5519
+ type: "icon",
5599
5520
  children: jsx(ArrowLeft, {})
5600
- })), jsx(ShortCutSegment, Object.assign({
5601
- type: "divider"
5602
- }, {
5521
+ }), jsx(ShortCutSegment, {
5522
+ type: "divider",
5603
5523
  children: t('shared-shortcut-or')
5604
- })), jsx(ShortCutSegment, Object.assign({
5605
- type: "icon"
5606
- }, {
5524
+ }), jsx(ShortCutSegment, {
5525
+ type: "icon",
5607
5526
  children: jsx(ArrowRight, {})
5608
- }))]
5527
+ })]
5609
5528
  })
5610
5529
  }, {
5611
5530
  titleKey: 'shared-toggle-timeslider',
5612
- description: jsx(ShortCutSegment, Object.assign({
5613
- type: "icon"
5614
- }, {
5531
+ description: jsx(ShortCutSegment, {
5532
+ type: "icon",
5615
5533
  children: "T"
5616
- }))
5534
+ })
5617
5535
  }, {
5618
5536
  titleKey: 'shared-timeslider-scale',
5619
5537
  description: jsx(ShortCutSegment, {
@@ -5622,11 +5540,10 @@ const ShortcutList = ({
5622
5540
  }, {
5623
5541
  titleKey: 'shared-expand-timeslider-scale',
5624
5542
  description: jsxs(Fragment, {
5625
- children: [jsx(ShortCutSegment, Object.assign({
5626
- type: "icon"
5627
- }, {
5543
+ children: [jsx(ShortCutSegment, {
5544
+ type: "icon",
5628
5545
  children: "Ctrl"
5629
- })), jsx(ShortCutSegment, {
5546
+ }), jsx(ShortCutSegment, {
5630
5547
  children: t('shared-shortcut-scroll')
5631
5548
  })]
5632
5549
  })
@@ -5638,317 +5555,267 @@ const ShortcutList = ({
5638
5555
  }, {
5639
5556
  titleKey: 'shared-mouseover-on-off',
5640
5557
  description: jsxs(Fragment, {
5641
- children: [jsx(ShortCutSegment, Object.assign({
5642
- type: "icon"
5643
- }, {
5558
+ children: [jsx(ShortCutSegment, {
5559
+ type: "icon",
5644
5560
  children: "Ctrl"
5645
- })), jsx(ShortCutSegment, Object.assign({
5646
- type: "connect"
5647
- }, {
5561
+ }), jsx(ShortCutSegment, {
5562
+ type: "connect",
5648
5563
  children: "+"
5649
- })), jsx(ShortCutSegment, Object.assign({
5650
- type: "icon"
5651
- }, {
5564
+ }), jsx(ShortCutSegment, {
5565
+ type: "icon",
5652
5566
  children: "Alt"
5653
- })), jsx(ShortCutSegment, Object.assign({
5654
- type: "connect"
5655
- }, {
5567
+ }), jsx(ShortCutSegment, {
5568
+ type: "connect",
5656
5569
  children: "+"
5657
- })), jsx(ShortCutSegment, Object.assign({
5658
- type: "icon"
5659
- }, {
5570
+ }), jsx(ShortCutSegment, {
5571
+ type: "icon",
5660
5572
  children: "h"
5661
- }))]
5573
+ })]
5662
5574
  }),
5663
5575
  descriptionMac: jsxs(Fragment, {
5664
- children: [jsx(ShortCutSegment, Object.assign({
5665
- type: "icon"
5666
- }, {
5576
+ children: [jsx(ShortCutSegment, {
5577
+ type: "icon",
5667
5578
  children: "Ctrl"
5668
- })), jsx(ShortCutSegment, Object.assign({
5669
- type: "connect"
5670
- }, {
5579
+ }), jsx(ShortCutSegment, {
5580
+ type: "connect",
5671
5581
  children: "+"
5672
- })), jsx(ShortCutSegment, Object.assign({
5673
- type: "icon"
5674
- }, {
5582
+ }), jsx(ShortCutSegment, {
5583
+ type: "icon",
5675
5584
  children: jsx(KeyOption, {})
5676
- })), jsx(ShortCutSegment, Object.assign({
5677
- type: "connect"
5678
- }, {
5585
+ }), jsx(ShortCutSegment, {
5586
+ type: "connect",
5679
5587
  children: "+"
5680
- })), jsx(ShortCutSegment, Object.assign({
5681
- type: "icon"
5682
- }, {
5588
+ }), jsx(ShortCutSegment, {
5589
+ type: "icon",
5683
5590
  children: "h"
5684
- }))]
5591
+ })]
5685
5592
  })
5686
5593
  }, {
5687
5594
  titleKey: 'shared-change-timestep-or-speed',
5688
5595
  description: jsxs(Fragment, {
5689
- children: [jsx(ShortCutSegment, Object.assign({
5690
- type: "icon"
5691
- }, {
5596
+ children: [jsx(ShortCutSegment, {
5597
+ type: "icon",
5692
5598
  children: "Ctrl"
5693
- })), jsx(ShortCutSegment, Object.assign({
5694
- type: "connect"
5695
- }, {
5599
+ }), jsx(ShortCutSegment, {
5600
+ type: "connect",
5696
5601
  children: "+"
5697
- })), jsx(ShortCutSegment, Object.assign({
5698
- type: "icon"
5699
- }, {
5602
+ }), jsx(ShortCutSegment, {
5603
+ type: "icon",
5700
5604
  children: jsx(ArrowUp, {})
5701
- })), jsx(ShortCutSegment, Object.assign({
5702
- type: "divider"
5703
- }, {
5605
+ }), jsx(ShortCutSegment, {
5606
+ type: "divider",
5704
5607
  children: t('shared-shortcut-or')
5705
- })), jsx(ShortCutSegment, Object.assign({
5706
- type: "icon"
5707
- }, {
5608
+ }), jsx(ShortCutSegment, {
5609
+ type: "icon",
5708
5610
  children: jsx(ArrowDown, {})
5709
- })), jsxs(ShortCutSegment, {
5611
+ }), jsxs(ShortCutSegment, {
5710
5612
  children: ["(", t('shared-shortcut-when-active'), ")"]
5711
5613
  })]
5712
5614
  }),
5713
5615
  descriptionMac: jsxs(Fragment, {
5714
- children: [jsx(ShortCutSegment, Object.assign({
5715
- type: "icon"
5716
- }, {
5616
+ children: [jsx(ShortCutSegment, {
5617
+ type: "icon",
5717
5618
  children: jsx(KeyCommand, {})
5718
- })), jsx(ShortCutSegment, Object.assign({
5719
- type: "connect"
5720
- }, {
5619
+ }), jsx(ShortCutSegment, {
5620
+ type: "connect",
5721
5621
  children: "+"
5722
- })), jsx(ShortCutSegment, Object.assign({
5723
- type: "icon"
5724
- }, {
5622
+ }), jsx(ShortCutSegment, {
5623
+ type: "icon",
5725
5624
  children: jsx(ArrowUp, {})
5726
- })), jsx(ShortCutSegment, Object.assign({
5727
- type: "divider"
5728
- }, {
5625
+ }), jsx(ShortCutSegment, {
5626
+ type: "divider",
5729
5627
  children: t('shared-shortcut-or')
5730
- })), jsx(ShortCutSegment, Object.assign({
5731
- type: "icon"
5732
- }, {
5628
+ }), jsx(ShortCutSegment, {
5629
+ type: "icon",
5733
5630
  children: jsx(ArrowDown, {})
5734
- })), jsxs(ShortCutSegment, {
5631
+ }), jsxs(ShortCutSegment, {
5735
5632
  children: ["(", t('shared-shortcut-when-active'), ")"]
5736
5633
  })]
5737
5634
  })
5738
5635
  }, {
5739
5636
  titleKey: 'shared-return-to-current-time',
5740
- description: jsx(ShortCutSegment, Object.assign({
5741
- type: "icon"
5742
- }, {
5637
+ description: jsx(ShortCutSegment, {
5638
+ type: "icon",
5743
5639
  children: t('shared-shortcut-home')
5744
- })),
5640
+ }),
5745
5641
  descriptionMac: jsxs(Fragment, {
5746
- children: [jsx(ShortCutSegment, Object.assign({
5747
- type: "icon"
5748
- }, {
5642
+ children: [jsx(ShortCutSegment, {
5643
+ type: "icon",
5749
5644
  children: "fn"
5750
- })), jsx(ShortCutSegment, Object.assign({
5751
- type: "connect"
5752
- }, {
5645
+ }), jsx(ShortCutSegment, {
5646
+ type: "connect",
5753
5647
  children: "+"
5754
- })), jsx(ShortCutSegment, Object.assign({
5755
- type: "icon"
5756
- }, {
5648
+ }), jsx(ShortCutSegment, {
5649
+ type: "icon",
5757
5650
  children: jsx(ArrowLeft, {})
5758
- }))]
5651
+ })]
5759
5652
  })
5760
5653
  }, {
5761
5654
  titleKey: 'shared-change-layer-values-scrolling',
5762
5655
  description: jsxs(Fragment, {
5763
- children: [jsx(ShortCutSegment, Object.assign({
5764
- type: "icon"
5765
- }, {
5656
+ children: [jsx(ShortCutSegment, {
5657
+ type: "icon",
5766
5658
  children: "Ctrl"
5767
- })), jsxs(ShortCutSegment, {
5659
+ }), jsxs(ShortCutSegment, {
5768
5660
  children: [' ', t('shared-shortcut-mouse-scroll')]
5769
5661
  })]
5770
5662
  }),
5771
5663
  descriptionMac: jsxs(Fragment, {
5772
- children: [jsx(ShortCutSegment, Object.assign({
5773
- type: "icon"
5774
- }, {
5664
+ children: [jsx(ShortCutSegment, {
5665
+ type: "icon",
5775
5666
  children: jsx(KeyCommand, {})
5776
- })), jsxs(ShortCutSegment, {
5667
+ }), jsxs(ShortCutSegment, {
5777
5668
  children: [' ', t('shared-shortcut-mouse-scroll')]
5778
5669
  })]
5779
5670
  })
5780
5671
  }, {
5781
5672
  titleKey: 'shared-change-layermanager-small',
5782
5673
  description: jsxs(Fragment, {
5783
- children: [jsx(ShortCutSegment, Object.assign({
5784
- type: "icon"
5785
- }, {
5674
+ children: [jsx(ShortCutSegment, {
5675
+ type: "icon",
5786
5676
  children: "Ctrl"
5787
- })), jsx(ShortCutSegment, {
5677
+ }), jsx(ShortCutSegment, {
5788
5678
  children: " + "
5789
- }), jsx(ShortCutSegment, Object.assign({
5790
- type: "icon"
5791
- }, {
5679
+ }), jsx(ShortCutSegment, {
5680
+ type: "icon",
5792
5681
  children: "Alt"
5793
- })), jsx(ShortCutSegment, {
5682
+ }), jsx(ShortCutSegment, {
5794
5683
  children: " + "
5795
- }), jsx(ShortCutSegment, Object.assign({
5796
- type: "icon"
5797
- }, {
5684
+ }), jsx(ShortCutSegment, {
5685
+ type: "icon",
5798
5686
  children: "s"
5799
- }))]
5687
+ })]
5800
5688
  }),
5801
5689
  descriptionMac: jsxs(Fragment, {
5802
- children: [jsx(ShortCutSegment, Object.assign({
5803
- type: "icon"
5804
- }, {
5690
+ children: [jsx(ShortCutSegment, {
5691
+ type: "icon",
5805
5692
  children: "Ctrl"
5806
- })), jsx(ShortCutSegment, {
5693
+ }), jsx(ShortCutSegment, {
5807
5694
  children: " + "
5808
- }), jsx(ShortCutSegment, Object.assign({
5809
- type: "icon"
5810
- }, {
5695
+ }), jsx(ShortCutSegment, {
5696
+ type: "icon",
5811
5697
  children: jsx(KeyOption, {})
5812
- })), jsx(ShortCutSegment, {
5698
+ }), jsx(ShortCutSegment, {
5813
5699
  children: " + "
5814
- }), jsx(ShortCutSegment, Object.assign({
5815
- type: "icon"
5816
- }, {
5700
+ }), jsx(ShortCutSegment, {
5701
+ type: "icon",
5817
5702
  children: "s"
5818
- }))]
5703
+ })]
5819
5704
  })
5820
5705
  }, {
5821
5706
  titleKey: 'shared-change-layermanager-medium',
5822
5707
  description: jsxs(Fragment, {
5823
- children: [jsx(ShortCutSegment, Object.assign({
5824
- type: "icon"
5825
- }, {
5708
+ children: [jsx(ShortCutSegment, {
5709
+ type: "icon",
5826
5710
  children: "Ctrl"
5827
- })), jsx(ShortCutSegment, {
5711
+ }), jsx(ShortCutSegment, {
5828
5712
  children: " + "
5829
- }), jsx(ShortCutSegment, Object.assign({
5830
- type: "icon"
5831
- }, {
5713
+ }), jsx(ShortCutSegment, {
5714
+ type: "icon",
5832
5715
  children: "Alt"
5833
- })), jsx(ShortCutSegment, {
5716
+ }), jsx(ShortCutSegment, {
5834
5717
  children: " + "
5835
- }), jsx(ShortCutSegment, Object.assign({
5836
- type: "icon"
5837
- }, {
5718
+ }), jsx(ShortCutSegment, {
5719
+ type: "icon",
5838
5720
  children: "m"
5839
- }))]
5721
+ })]
5840
5722
  }),
5841
5723
  descriptionMac: jsxs(Fragment, {
5842
- children: [jsx(ShortCutSegment, Object.assign({
5843
- type: "icon"
5844
- }, {
5724
+ children: [jsx(ShortCutSegment, {
5725
+ type: "icon",
5845
5726
  children: "Ctrl"
5846
- })), jsx(ShortCutSegment, {
5727
+ }), jsx(ShortCutSegment, {
5847
5728
  children: " + "
5848
- }), jsx(ShortCutSegment, Object.assign({
5849
- type: "icon"
5850
- }, {
5729
+ }), jsx(ShortCutSegment, {
5730
+ type: "icon",
5851
5731
  children: jsx(KeyOption, {})
5852
- })), jsx(ShortCutSegment, {
5732
+ }), jsx(ShortCutSegment, {
5853
5733
  children: " + "
5854
- }), jsx(ShortCutSegment, Object.assign({
5855
- type: "icon"
5856
- }, {
5734
+ }), jsx(ShortCutSegment, {
5735
+ type: "icon",
5857
5736
  children: "m"
5858
- }))]
5737
+ })]
5859
5738
  })
5860
5739
  }, {
5861
5740
  titleKey: 'shared-change-layermanager-large',
5862
5741
  description: jsxs(Fragment, {
5863
- children: [jsx(ShortCutSegment, Object.assign({
5864
- type: "icon"
5865
- }, {
5742
+ children: [jsx(ShortCutSegment, {
5743
+ type: "icon",
5866
5744
  children: "Ctrl"
5867
- })), jsx(ShortCutSegment, {
5745
+ }), jsx(ShortCutSegment, {
5868
5746
  children: " + "
5869
- }), jsx(ShortCutSegment, Object.assign({
5870
- type: "icon"
5871
- }, {
5747
+ }), jsx(ShortCutSegment, {
5748
+ type: "icon",
5872
5749
  children: "Alt"
5873
- })), jsx(ShortCutSegment, {
5750
+ }), jsx(ShortCutSegment, {
5874
5751
  children: " + "
5875
- }), jsx(ShortCutSegment, Object.assign({
5876
- type: "icon"
5877
- }, {
5752
+ }), jsx(ShortCutSegment, {
5753
+ type: "icon",
5878
5754
  children: "l"
5879
- }))]
5755
+ })]
5880
5756
  }),
5881
5757
  descriptionMac: jsxs(Fragment, {
5882
- children: [jsx(ShortCutSegment, Object.assign({
5883
- type: "icon"
5884
- }, {
5758
+ children: [jsx(ShortCutSegment, {
5759
+ type: "icon",
5885
5760
  children: "Ctrl"
5886
- })), jsx(ShortCutSegment, {
5761
+ }), jsx(ShortCutSegment, {
5887
5762
  children: " + "
5888
- }), jsx(ShortCutSegment, Object.assign({
5889
- type: "icon"
5890
- }, {
5763
+ }), jsx(ShortCutSegment, {
5764
+ type: "icon",
5891
5765
  children: jsx(KeyOption, {})
5892
- })), jsx(ShortCutSegment, {
5766
+ }), jsx(ShortCutSegment, {
5893
5767
  children: " + "
5894
- }), jsx(ShortCutSegment, Object.assign({
5895
- type: "icon"
5896
- }, {
5768
+ }), jsx(ShortCutSegment, {
5769
+ type: "icon",
5897
5770
  children: "l"
5898
- }))]
5771
+ })]
5899
5772
  })
5900
5773
  }];
5901
- return jsx(List, Object.assign({
5902
- "data-testid": `list-${_platform}`
5903
- }, {
5904
- children: shortcuts.map((shortcut, index) => jsx(ListItem, Object.assign({
5774
+ return jsx(List, {
5775
+ "data-testid": `list-${_platform}`,
5776
+ children: shortcuts.map((shortcut, index) => jsx(ListItem, {
5905
5777
  sx: {
5906
5778
  minHeight: 56
5907
5779
  },
5908
- divider: index !== shortcuts.length - 1
5909
- }, {
5910
- children: jsxs(Grid2, Object.assign({
5780
+ divider: index !== shortcuts.length - 1,
5781
+ children: jsxs(Grid2, {
5911
5782
  container: true,
5912
5783
  direction: "row",
5913
5784
  justifyContent: "space-between",
5914
5785
  alignItems: "center",
5915
- size: "grow"
5916
- }, {
5917
- children: [jsx(Grid2, Object.assign({
5786
+ size: "grow",
5787
+ children: [jsx(Grid2, {
5918
5788
  sx: {
5919
5789
  fontSize: 12,
5920
5790
  fontWeight: 300,
5921
5791
  letterSpacing: 0.4,
5922
5792
  opacity: 0.67
5923
- }
5924
- }, {
5793
+ },
5925
5794
  children: t(shortcut.titleKey)
5926
- })), jsx(Grid2, {
5927
- children: jsx(Box, Object.assign({
5795
+ }), jsx(Grid2, {
5796
+ children: jsx(Box, {
5928
5797
  sx: {
5929
5798
  alignItems: 'center'
5930
- }
5931
- }, {
5799
+ },
5932
5800
  children: _platform === 'mac' && shortcut.descriptionMac ? shortcut.descriptionMac : shortcut.description
5933
- }))
5801
+ })
5934
5802
  })]
5935
- }))
5936
- }), shortcut.titleKey))
5937
- }));
5803
+ })
5804
+ }, shortcut.titleKey))
5805
+ });
5938
5806
  };
5939
5807
 
5940
5808
  const TabPanel = ({
5941
5809
  children,
5942
5810
  value,
5943
5811
  index
5944
- }) => jsx("div", Object.assign({
5812
+ }) => jsx("div", {
5945
5813
  role: "tabpanel",
5946
5814
  hidden: value !== index,
5947
5815
  id: `tabpanel-${index}`,
5948
- "aria-labelledby": `tab-${index}`
5949
- }, {
5816
+ "aria-labelledby": `tab-${index}`,
5950
5817
  children: value === index && children
5951
- }));
5818
+ });
5952
5819
  const styles$1 = {
5953
5820
  container: {
5954
5821
  margin: '0px 20px',
@@ -5963,14 +5830,12 @@ const CheatSheet = () => {
5963
5830
  const onChangeTab = (_event, newValue) => {
5964
5831
  onChangeActiveTab(newValue);
5965
5832
  };
5966
- return jsxs(Box, Object.assign({
5967
- sx: styles$1.container
5968
- }, {
5969
- children: [jsxs(Tabs, Object.assign({
5833
+ return jsxs(Box, {
5834
+ sx: styles$1.container,
5835
+ children: [jsxs(Tabs, {
5970
5836
  value: activeTab,
5971
5837
  onChange: onChangeTab,
5972
- "aria-label": "platform"
5973
- }, {
5838
+ "aria-label": "platform",
5974
5839
  children: [jsx(Tab, {
5975
5840
  sx: styles$1.tab,
5976
5841
  label: "Windows"
@@ -5978,20 +5843,18 @@ const CheatSheet = () => {
5978
5843
  sx: styles$1.tab,
5979
5844
  label: "Mac"
5980
5845
  })]
5981
- })), jsx(TabPanel, Object.assign({
5846
+ }), jsx(TabPanel, {
5982
5847
  value: activeTab,
5983
- index: 0
5984
- }, {
5848
+ index: 0,
5985
5849
  children: jsx(ShortcutList, {})
5986
- })), jsx(TabPanel, Object.assign({
5850
+ }), jsx(TabPanel, {
5987
5851
  value: activeTab,
5988
- index: 1
5989
- }, {
5852
+ index: 1,
5990
5853
  children: jsx(ShortcutList, {
5991
5854
  platform: "mac"
5992
5855
  })
5993
- }))]
5994
- }));
5856
+ })]
5857
+ });
5995
5858
  };
5996
5859
 
5997
5860
  const UserMenuItemCheatSheet = () => {
@@ -6006,26 +5869,23 @@ const UserMenuItemCheatSheet = () => {
6006
5869
  t
6007
5870
  } = useTranslation(SHARED_NAMESPACE);
6008
5871
  return jsxs(Fragment, {
6009
- children: [jsx(MenuItem, Object.assign({
5872
+ children: [jsx(MenuItem, {
6010
5873
  "data-testid": "cheatsheet-btn",
6011
5874
  onClick: onOpen,
6012
- divider: true
6013
- }, {
6014
- children: jsx(Grid2, Object.assign({
6015
- container: true
6016
- }, {
5875
+ divider: true,
5876
+ children: jsx(Grid2, {
5877
+ container: true,
6017
5878
  children: jsx(Grid2, {
6018
5879
  children: t('shared-cheat-sheet')
6019
5880
  })
6020
- }))
6021
- })), jsx(Backdrop, Object.assign({
5881
+ })
5882
+ }), jsx(Backdrop, {
6022
5883
  "data-testid": "cheatsheet-content",
6023
5884
  open: open,
6024
5885
  sx: {
6025
5886
  zIndex: 1
6026
- }
6027
- }, {
6028
- children: jsx(DraggableComponent, Object.assign({
5887
+ },
5888
+ children: jsx(DraggableComponent, {
6029
5889
  startSize: {
6030
5890
  width: 700
6031
5891
  },
@@ -6034,11 +5894,10 @@ const UserMenuItemCheatSheet = () => {
6034
5894
  title: t('shared-cheat-sheet'),
6035
5895
  isOpen: true,
6036
5896
  onClose: onClose,
6037
- bounds: "parent"
6038
- }, {
5897
+ bounds: "parent",
6039
5898
  children: jsx(CheatSheet, {})
6040
- }))
6041
- }))]
5899
+ })
5900
+ })]
6042
5901
  });
6043
5902
  };
6044
5903
 
@@ -6058,7 +5917,7 @@ const UserMenuItemSentryRecording = ({
6058
5917
  const onOpen = () => {
6059
5918
  setOpen(true);
6060
5919
  };
6061
- const enableHTMLRecording = () => __awaiter(void 0, void 0, void 0, function* () {
5920
+ const enableHTMLRecording = async () => {
6062
5921
  if (recordButtonEnabled) {
6063
5922
  return;
6064
5923
  }
@@ -6068,7 +5927,7 @@ const UserMenuItemSentryRecording = ({
6068
5927
  try {
6069
5928
  const {
6070
5929
  replayIntegration
6071
- } = yield import('@sentry/react');
5930
+ } = await import('@sentry/react');
6072
5931
  Sentry.addIntegration(replayIntegration({
6073
5932
  maskAllText: false,
6074
5933
  blockAllMedia: false
@@ -6079,8 +5938,8 @@ const UserMenuItemSentryRecording = ({
6079
5938
  // eslint-disable-next-line no-console
6080
5939
  console.log(error);
6081
5940
  }
6082
- });
6083
- const enableHTMLAndCanvasRecording = () => __awaiter(void 0, void 0, void 0, function* () {
5941
+ };
5942
+ const enableHTMLAndCanvasRecording = async () => {
6084
5943
  if (recordButtonEnabled) {
6085
5944
  return;
6086
5945
  }
@@ -6088,7 +5947,7 @@ const UserMenuItemSentryRecording = ({
6088
5947
  const {
6089
5948
  replayIntegration,
6090
5949
  replayCanvasIntegration
6091
- } = yield import('@sentry/react');
5950
+ } = await import('@sentry/react');
6092
5951
  Sentry.addIntegration(replayIntegration({
6093
5952
  maskAllText: false,
6094
5953
  blockAllMedia: false
@@ -6100,28 +5959,25 @@ const UserMenuItemSentryRecording = ({
6100
5959
  // eslint-disable-next-line no-console
6101
5960
  console.log(error);
6102
5961
  }
6103
- });
5962
+ };
6104
5963
  return jsxs(ErrorBoundary, {
6105
- children: [jsx(MenuItem, Object.assign({
5964
+ children: [jsx(MenuItem, {
6106
5965
  "data-testid": "sentryRecording-btn",
6107
5966
  onClick: onOpen,
6108
- divider: true
6109
- }, {
6110
- children: jsx(Grid2, Object.assign({
6111
- container: true
6112
- }, {
5967
+ divider: true,
5968
+ children: jsx(Grid2, {
5969
+ container: true,
6113
5970
  children: jsx(Grid2, {
6114
5971
  children: t('shared-sentry-recording')
6115
5972
  })
6116
- }))
6117
- })), jsx(Backdrop, Object.assign({
5973
+ })
5974
+ }), jsx(Backdrop, {
6118
5975
  "data-testid": "sentryRecording-content",
6119
5976
  open: open,
6120
5977
  sx: {
6121
5978
  zIndex: 1
6122
- }
6123
- }, {
6124
- children: jsx(DraggableComponent, Object.assign({
5979
+ },
5980
+ children: jsx(DraggableComponent, {
6125
5981
  startSize: {
6126
5982
  width: 700
6127
5983
  },
@@ -6130,41 +5986,36 @@ const UserMenuItemSentryRecording = ({
6130
5986
  title: t('shared-sentry-recording'),
6131
5987
  isOpen: true,
6132
5988
  onClose: onClose,
6133
- bounds: "parent"
6134
- }, {
6135
- children: jsxs(Grid2, Object.assign({
5989
+ bounds: "parent",
5990
+ children: jsxs(Grid2, {
6136
5991
  container: true,
6137
5992
  spacing: 4,
6138
5993
  sx: {
6139
5994
  paddingLeft: '70px',
6140
5995
  paddingRight: '70px'
6141
- }
6142
- }, {
6143
- children: [jsx(Grid2, Object.assign({
5996
+ },
5997
+ children: [jsx(Grid2, {
6144
5998
  container: true,
6145
5999
  justifyContent: "center",
6146
6000
  sx: {
6147
6001
  textAlign: 'center'
6148
- }
6149
- }, {
6002
+ },
6150
6003
  children: jsx(Typography, {
6151
6004
  children: t('shared-sentry-information')
6152
6005
  })
6153
- })), jsx(Grid2, Object.assign({
6006
+ }), jsx(Grid2, {
6154
6007
  container: true,
6155
6008
  justifyContent: "center",
6156
6009
  sx: {
6157
6010
  textAlign: 'center'
6158
- }
6159
- }, {
6011
+ },
6160
6012
  children: jsx(Typography, {
6161
6013
  children: t('shared-sentry-enable-message')
6162
6014
  })
6163
- })), jsxs(Grid2, Object.assign({
6015
+ }), jsxs(Grid2, {
6164
6016
  container: true,
6165
6017
  alignItems: "center",
6166
- direction: "column"
6167
- }, {
6018
+ direction: "column",
6168
6019
  children: [jsx(Switch, {
6169
6020
  checked: recordButtonEnabled && !canvasIntegrationEnabled,
6170
6021
  onChange: enableHTMLRecording,
@@ -6174,11 +6025,10 @@ const UserMenuItemSentryRecording = ({
6174
6025
  }) : jsxs(Typography, {
6175
6026
  children: [" ", t('shared-sentry-enable')]
6176
6027
  })]
6177
- })), jsxs(Grid2, Object.assign({
6028
+ }), jsxs(Grid2, {
6178
6029
  container: true,
6179
6030
  alignItems: "center",
6180
- direction: "column"
6181
- }, {
6031
+ direction: "column",
6182
6032
  children: [jsx(Switch, {
6183
6033
  disabled: true,
6184
6034
  checked: canvasIntegrationEnabled,
@@ -6186,37 +6036,33 @@ const UserMenuItemSentryRecording = ({
6186
6036
  }), canvasIntegrationEnabled ? jsx(Typography, {
6187
6037
  children: t('shared-sentry-disable-both')
6188
6038
  }) : jsxs(Fragment, {
6189
- children: [jsx(Typography, Object.assign({
6039
+ children: [jsx(Typography, {
6190
6040
  sx: {
6191
6041
  color: 'gray'
6192
- }
6193
- }, {
6042
+ },
6194
6043
  children: t('shared-sentry-enable-both')
6195
- })), jsxs(Typography, Object.assign({
6044
+ }), jsxs(Typography, {
6196
6045
  textAlign: "center",
6197
6046
  sx: {
6198
6047
  color: 'gray'
6199
- }
6200
- }, {
6048
+ },
6201
6049
  children: ["(", t('shared-sentry-cors-wait'), ")"]
6202
- }))]
6050
+ })]
6203
6051
  })]
6204
- })), jsx(Grid2, Object.assign({
6052
+ }), jsx(Grid2, {
6205
6053
  container: true,
6206
- justifyContent: "center"
6207
- }, {
6208
- children: jsx(Typography, Object.assign({
6054
+ justifyContent: "center",
6055
+ children: jsx(Typography, {
6209
6056
  sx: {
6210
6057
  paddingTop: '20px',
6211
6058
  textAlign: 'center'
6212
- }
6213
- }, {
6059
+ },
6214
6060
  children: t('shared-sentry-disclaimer')
6215
- }))
6216
- }))]
6217
- }))
6218
- }))
6219
- }))]
6061
+ })
6062
+ })]
6063
+ })
6064
+ })
6065
+ })]
6220
6066
  });
6221
6067
  };
6222
6068
 
@@ -6281,6 +6127,7 @@ $$5({ target: 'Array', proto: true, forced: String(test) === String(test.reverse
6281
6127
  }
6282
6128
  });
6283
6129
 
6130
+ const _excluded$5 = ["value", "orientation", "shouldAutoFocus"];
6284
6131
  const sliderHeaderStyle = {
6285
6132
  fontFamily: 'Roboto-Black, Roboto',
6286
6133
  fontSize: 12,
@@ -6331,13 +6178,13 @@ const sliderStyle = {
6331
6178
  }
6332
6179
  }
6333
6180
  };
6334
- const CustomSlider = _a => {
6335
- var {
6181
+ const CustomSlider = _ref => {
6182
+ let {
6336
6183
  value,
6337
6184
  orientation = 'vertical',
6338
6185
  shouldAutoFocus = false
6339
- } = _a,
6340
- props = __rest(_a, ["value", "orientation", "shouldAutoFocus"]);
6186
+ } = _ref,
6187
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$5);
6341
6188
  // Add custom class (for bold text) to label adjacent to thumb component.
6342
6189
  // Material UI doesn't support highlighing only adjacent label
6343
6190
  // when track is highlighted everywhere below selected value.
@@ -6379,14 +6226,15 @@ const CustomSlider = _a => {
6379
6226
  }, props));
6380
6227
  };
6381
6228
 
6229
+ const _excluded$4 = ["variant", "className", "value"];
6382
6230
  // This button is same as MUI ToggleButton but adds the variant prop
6383
- const CustomToggleButton = /*#__PURE__*/React.forwardRef((_a, ref) => {
6384
- var {
6231
+ const CustomToggleButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
6232
+ let {
6385
6233
  variant = 'primary',
6386
6234
  className,
6387
6235
  value = 0
6388
- } = _a,
6389
- props = __rest(_a, ["variant", "className", "value"]);
6236
+ } = _ref,
6237
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$4);
6390
6238
  return jsx(ToggleButton, Object.assign({
6391
6239
  ref: ref,
6392
6240
  className: `${variant} ${className}`,
@@ -6466,7 +6314,7 @@ const ToggleMenu = ({
6466
6314
  }
6467
6315
  }, [_isDefaultOpen, _buttonTestId]);
6468
6316
  return jsxs(Fragment, {
6469
- children: [jsx(CustomIconButton, Object.assign({
6317
+ children: [jsx(CustomIconButton, {
6470
6318
  tooltipProps: {
6471
6319
  placement: 'top',
6472
6320
  title: _tooltipTitle
@@ -6477,10 +6325,9 @@ const ToggleMenu = ({
6477
6325
  "data-testid": _buttonTestId,
6478
6326
  variant: _variant,
6479
6327
  id: _buttonTestId,
6480
- disabled: _isDisabled
6481
- }, {
6328
+ disabled: _isDisabled,
6482
6329
  children: _buttonIcon
6483
- })), jsxs(Menu, Object.assign({
6330
+ }), jsxs(Menu, {
6484
6331
  anchorEl: anchorEl,
6485
6332
  open: isOpen,
6486
6333
  onClose: (event, reason) => {
@@ -6501,66 +6348,61 @@ const ToggleMenu = ({
6501
6348
  style: {
6502
6349
  padding: '0px'
6503
6350
  }
6504
- })
6505
- }, {
6506
- children: [_menuTitle && jsx(ListSubheader, Object.assign({
6507
- "data-testid": "toggleMenuTitle"
6508
- }, {
6509
- children: jsx(Typography, Object.assign({
6351
+ }),
6352
+ children: [_menuTitle && jsx(ListSubheader, {
6353
+ "data-testid": "toggleMenuTitle",
6354
+ children: jsx(Typography, {
6510
6355
  sx: {
6511
6356
  fontSize: '12px'
6512
- }
6513
- }, {
6357
+ },
6514
6358
  children: _menuTitle
6515
- }))
6516
- })), menuItems && menuItems.length ? menuItems.map(menuItem => {
6359
+ })
6360
+ }), menuItems && menuItems.length ? menuItems.map(menuItem => {
6517
6361
  const {
6518
6362
  text,
6519
6363
  icon,
6520
6364
  action,
6521
6365
  isDisabled
6522
6366
  } = menuItem;
6523
- return jsx(MenuItem, Object.assign({
6367
+ return jsx(MenuItem, {
6524
6368
  onClick: event => {
6525
6369
  action(event);
6526
6370
  handleClose(event);
6527
6371
  },
6528
6372
  disabled: isDisabled,
6529
- selected: menuItem.isSelected
6530
- }, {
6531
- children: jsxs(Grid2, Object.assign({
6373
+ selected: menuItem.isSelected,
6374
+ children: jsxs(Grid2, {
6532
6375
  container: true,
6533
6376
  spacing: 2,
6534
6377
  justifyContent: "space-between",
6535
- size: "grow"
6536
- }, {
6378
+ size: "grow",
6537
6379
  children: [jsx(Grid2, {
6538
6380
  children: jsx(ListItemText, {
6539
6381
  children: text
6540
6382
  })
6541
- }), icon && jsx(Grid2, Object.assign({
6542
- alignItems: "flex-end"
6543
- }, {
6544
- children: jsx(ListItemIcon, Object.assign({
6383
+ }), icon && jsx(Grid2, {
6384
+ alignItems: "flex-end",
6385
+ children: jsx(ListItemIcon, {
6545
6386
  sx: {
6546
6387
  '&.MuiListItemIcon-root': {
6547
6388
  minWidth: '24px'
6548
6389
  }
6549
- }
6550
- }, {
6390
+ },
6551
6391
  children: icon
6552
- }))
6553
- }))]
6554
- }))
6555
- }), text);
6392
+ })
6393
+ })]
6394
+ })
6395
+ }, text);
6556
6396
  }) : jsx("div", {}) // Needed to make the menu work without any menuItems
6557
6397
  , children]
6558
- }))]
6398
+ })]
6559
6399
  });
6560
6400
  };
6561
6401
 
6562
- const TooltipSelect = _a => {
6563
- var {
6402
+ const _excluded$3 = ["tooltip", "list", "currentIndex", "onChangeMouseWheel", "requiresCtrlToChange", "isEnabled", "hasBackgroundColor", "variant", "additionalStyling", "skipLocalStyling"],
6403
+ _excluded2 = ["className", "additionalStyling"];
6404
+ const TooltipSelect = _ref => {
6405
+ let {
6564
6406
  tooltip = '',
6565
6407
  list = [],
6566
6408
  currentIndex = -1,
@@ -6571,8 +6413,8 @@ const TooltipSelect = _a => {
6571
6413
  variant = 'standard',
6572
6414
  additionalStyling = {},
6573
6415
  skipLocalStyling = false
6574
- } = _a,
6575
- props = __rest(_a, ["tooltip", "list", "currentIndex", "onChangeMouseWheel", "requiresCtrlToChange", "isEnabled", "hasBackgroundColor", "variant", "additionalStyling", "skipLocalStyling"]);
6416
+ } = _ref,
6417
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$3);
6576
6418
  const [selectOpen, setSelectOpen] = React.useState(false);
6577
6419
  const [tooltipOpen, setTooltipOpen] = useControlledTooltip();
6578
6420
  const onWheel = React.useCallback(event => {
@@ -6609,11 +6451,10 @@ const TooltipSelect = _a => {
6609
6451
  const onBlur = React.useCallback(() => {
6610
6452
  setTooltipOpen(false);
6611
6453
  }, [setTooltipOpen]);
6612
- return jsx(CustomTooltip, Object.assign({
6454
+ return jsx(CustomTooltip, {
6613
6455
  title: tooltip,
6614
6456
  placement: "top",
6615
- open: tooltipOpen
6616
- }, {
6457
+ open: tooltipOpen,
6617
6458
  children: jsx(StyledSelect, Object.assign({
6618
6459
  variant: variant,
6619
6460
  disableUnderline: true,
@@ -6629,7 +6470,7 @@ const TooltipSelect = _a => {
6629
6470
  additionalStyling: additionalStyling,
6630
6471
  skipLocalStyling: skipLocalStyling
6631
6472
  }, props))
6632
- }));
6473
+ });
6633
6474
  };
6634
6475
  // Style the select
6635
6476
  const BaseSelect = styled(Select, {
@@ -6643,12 +6484,12 @@ const BaseSelect = styled(Select, {
6643
6484
  return Object.assign({}, !skipLocalStyling && tooltipContainerStyles(theme, !!isEnabled, hasBackgroundColor));
6644
6485
  });
6645
6486
  // Style the menu pop-over
6646
- const StyledSelect = styled( /*#__PURE__*/React.forwardRef((_a, ref) => {
6647
- var {
6487
+ const StyledSelect = styled( /*#__PURE__*/React.forwardRef((_ref2, ref) => {
6488
+ let {
6648
6489
  className,
6649
6490
  additionalStyling
6650
- } = _a,
6651
- props = __rest(_a, ["className", "additionalStyling"]);
6491
+ } = _ref2,
6492
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded2);
6652
6493
  return jsx(BaseSelect, Object.assign({}, props, {
6653
6494
  MenuProps: {
6654
6495
  classes: {
@@ -6708,7 +6549,7 @@ const StyledSelect = styled( /*#__PURE__*/React.forwardRef((_a, ref) => {
6708
6549
  }
6709
6550
  }
6710
6551
  }));
6711
- const tooltipContainerStyles = (theme, isEnabled, hasBackgroundColor = true) => Object.assign(Object.assign({
6552
+ const tooltipContainerStyles = (theme, isEnabled, hasBackgroundColor = true) => Object.assign({
6712
6553
  width: '100%',
6713
6554
  height: 32,
6714
6555
  fontWeight: 500,
@@ -6736,7 +6577,7 @@ const tooltipContainerStyles = (theme, isEnabled, hasBackgroundColor = true) =>
6736
6577
  '&>div': {
6737
6578
  paddingLeft: '8px!important'
6738
6579
  }
6739
- }, theme.palette.geowebColors.tooltips.tooltipSelect.select), hasBackgroundColor && {
6580
+ }, theme.palette.geowebColors.tooltips.tooltipSelect.select, hasBackgroundColor && {
6740
6581
  '&:hover': {
6741
6582
  backgroundColor: theme.palette.geowebColors.buttons.tool.mouseOver.fill,
6742
6583
  borderRadius: 0
@@ -6774,8 +6615,9 @@ function withEggs(eggs) {
6774
6615
  };
6775
6616
  }
6776
6617
 
6777
- const CustomAccordion = _a => {
6778
- var {
6618
+ const _excluded$2 = ["title", "title2", "defaultExpanded", "disableGutters", "expandedElevation", "collapsedElevation", "transitionDuration", "detailsSx", "CustomExpandIcon", "children", "amountOfItems"];
6619
+ const CustomAccordion = _ref => {
6620
+ let {
6779
6621
  title,
6780
6622
  title2,
6781
6623
  defaultExpanded = true,
@@ -6787,8 +6629,8 @@ const CustomAccordion = _a => {
6787
6629
  CustomExpandIcon,
6788
6630
  children,
6789
6631
  amountOfItems
6790
- } = _a,
6791
- props = __rest(_a, ["title", "title2", "defaultExpanded", "disableGutters", "expandedElevation", "collapsedElevation", "transitionDuration", "detailsSx", "CustomExpandIcon", "children", "amountOfItems"]);
6632
+ } = _ref,
6633
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$2);
6792
6634
  const [expanded, setExpanded] = React.useState(defaultExpanded);
6793
6635
  const theme = useTheme();
6794
6636
  const iconColor = theme.palette.geowebColors.buttons.icon.default.color;
@@ -6799,9 +6641,8 @@ const CustomAccordion = _a => {
6799
6641
  disableGutters: disableGutters,
6800
6642
  TransitionProps: {
6801
6643
  timeout: transitionDuration
6802
- }
6803
- }, {
6804
- children: [jsx(AccordionSummary, Object.assign({
6644
+ },
6645
+ children: [jsx(AccordionSummary, {
6805
6646
  expandIcon: CustomExpandIcon ? jsx(CustomExpandIcon, {
6806
6647
  style: {
6807
6648
  fill: `${iconColor}`
@@ -6810,53 +6651,46 @@ const CustomAccordion = _a => {
6810
6651
  style: {
6811
6652
  fill: `${iconColor}`
6812
6653
  }
6813
- })
6814
- }, {
6815
- children: jsxs(Box, Object.assign({
6654
+ }),
6655
+ children: jsxs(Box, {
6816
6656
  sx: {
6817
6657
  display: 'flex',
6818
6658
  justifyContent: 'space-between',
6819
6659
  width: '100%'
6820
- }
6821
- }, {
6822
- children: [jsxs(Box, Object.assign({
6660
+ },
6661
+ children: [jsxs(Box, {
6823
6662
  sx: {
6824
6663
  width: '100%',
6825
6664
  display: 'flex',
6826
6665
  justifyContent: 'space-between'
6827
- }
6828
- }, {
6829
- children: [jsx(Box, Object.assign({
6666
+ },
6667
+ children: [jsx(Box, {
6830
6668
  sx: {
6831
6669
  display: 'flex',
6832
6670
  justifyContent: 'flex-start'
6833
- }
6834
- }, {
6671
+ },
6835
6672
  children: title
6836
- })), jsx(Box, Object.assign({
6673
+ }), jsx(Box, {
6837
6674
  sx: {
6838
6675
  display: 'flex',
6839
6676
  justifyContent: 'flex-end',
6840
6677
  paddingRight: '25px'
6841
- }
6842
- }, {
6678
+ },
6843
6679
  children: title2
6844
- }))]
6845
- })), jsx(Box, Object.assign({
6680
+ })]
6681
+ }), jsx(Box, {
6846
6682
  sx: {
6847
6683
  display: 'flex',
6848
6684
  justifyContent: 'flex-end',
6849
6685
  marginRight: '10px'
6850
- }
6851
- }, {
6686
+ },
6852
6687
  children: amountOfItems
6853
- }))]
6854
- }))
6855
- })), jsx(AccordionDetails, Object.assign({
6856
- sx: detailsSx
6857
- }, {
6688
+ })]
6689
+ })
6690
+ }), jsx(AccordionDetails, {
6691
+ sx: detailsSx,
6858
6692
  children: children
6859
- }))]
6693
+ })]
6860
6694
  }));
6861
6695
  };
6862
6696
 
@@ -6941,8 +6775,8 @@ var arrayMethodIsStrict$1 = function (METHOD_NAME, argument) {
6941
6775
  var $$3 = _export;
6942
6776
  var $reduce = arrayReduce.left;
6943
6777
  var arrayMethodIsStrict = arrayMethodIsStrict$1;
6944
- var CHROME_VERSION = engineV8Version;
6945
- var IS_NODE = engineIsNode;
6778
+ var CHROME_VERSION = environmentV8Version;
6779
+ var IS_NODE = environmentIsNode;
6946
6780
 
6947
6781
  // Chrome 80-82 has a critical bug
6948
6782
  // https://bugs.chromium.org/p/chromium/issues/detail?id=1049982
@@ -6972,10 +6806,10 @@ var isRegexp = function (it) {
6972
6806
  };
6973
6807
 
6974
6808
  var fails$5 = fails$p;
6975
- var global$4 = global$q;
6809
+ var globalThis$4 = globalThis_1;
6976
6810
 
6977
6811
  // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
6978
- var $RegExp$2 = global$4.RegExp;
6812
+ var $RegExp$2 = globalThis$4.RegExp;
6979
6813
 
6980
6814
  var UNSUPPORTED_Y$3 = fails$5(function () {
6981
6815
  var re = $RegExp$2('a', 'y');
@@ -7003,10 +6837,10 @@ var regexpStickyHelpers = {
7003
6837
  };
7004
6838
 
7005
6839
  var fails$4 = fails$p;
7006
- var global$3 = global$q;
6840
+ var globalThis$3 = globalThis_1;
7007
6841
 
7008
6842
  // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
7009
- var $RegExp$1 = global$3.RegExp;
6843
+ var $RegExp$1 = globalThis$3.RegExp;
7010
6844
 
7011
6845
  var regexpUnsupportedDotAll = fails$4(function () {
7012
6846
  var re = $RegExp$1('.', 's');
@@ -7014,10 +6848,10 @@ var regexpUnsupportedDotAll = fails$4(function () {
7014
6848
  });
7015
6849
 
7016
6850
  var fails$3 = fails$p;
7017
- var global$2 = global$q;
6851
+ var globalThis$2 = globalThis_1;
7018
6852
 
7019
6853
  // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
7020
- var $RegExp = global$2.RegExp;
6854
+ var $RegExp = globalThis$2.RegExp;
7021
6855
 
7022
6856
  var regexpUnsupportedNcg = fails$3(function () {
7023
6857
  var re = $RegExp('(?<a>b)', 'g');
@@ -7026,7 +6860,7 @@ var regexpUnsupportedNcg = fails$3(function () {
7026
6860
  });
7027
6861
 
7028
6862
  var DESCRIPTORS$1 = descriptors;
7029
- var global$1 = global$q;
6863
+ var globalThis$1 = globalThis_1;
7030
6864
  var uncurryThis$4 = functionUncurryThis;
7031
6865
  var isForced = isForced_1;
7032
6866
  var inheritIfRequired = inheritIfRequired$2;
@@ -7049,9 +6883,9 @@ var UNSUPPORTED_DOT_ALL$2 = regexpUnsupportedDotAll;
7049
6883
  var UNSUPPORTED_NCG$1 = regexpUnsupportedNcg;
7050
6884
 
7051
6885
  var MATCH$1 = wellKnownSymbol$2('match');
7052
- var NativeRegExp = global$1.RegExp;
6886
+ var NativeRegExp = globalThis$1.RegExp;
7053
6887
  var RegExpPrototype$2 = NativeRegExp.prototype;
7054
- var SyntaxError = global$1.SyntaxError;
6888
+ var SyntaxError = globalThis$1.SyntaxError;
7055
6889
  var exec$1 = uncurryThis$4(RegExpPrototype$2.exec);
7056
6890
  var charAt$3 = uncurryThis$4(''.charAt);
7057
6891
  var replace$1 = uncurryThis$4(''.replace);
@@ -7072,6 +6906,7 @@ var BASE_FORCED = DESCRIPTORS$1 &&
7072
6906
  (!CORRECT_NEW || MISSED_STICKY || UNSUPPORTED_DOT_ALL$2 || UNSUPPORTED_NCG$1 || fails$2(function () {
7073
6907
  re2[MATCH$1] = false;
7074
6908
  // RegExp constructor can alter flags and IsRegExp works correct with @@match
6909
+ // eslint-disable-next-line sonarjs/inconsistent-function-call -- required for testing
7075
6910
  return NativeRegExp(re1) !== re1 || NativeRegExp(re2) === re2 || String(NativeRegExp(re1, 'i')) !== '/a/i';
7076
6911
  }));
7077
6912
 
@@ -7121,11 +6956,15 @@ var handleNCG = function (string) {
7121
6956
  brackets = true;
7122
6957
  break;
7123
6958
  case chr === '(':
6959
+ result += chr;
6960
+ // ignore non-capturing groups
6961
+ if (stringSlice$3(string, index + 1, index + 3) === '?:') {
6962
+ continue;
6963
+ }
7124
6964
  if (exec$1(IS_NCG, stringSlice$3(string, index + 1))) {
7125
6965
  index += 2;
7126
6966
  ncg = true;
7127
6967
  }
7128
- result += chr;
7129
6968
  groupid++;
7130
6969
  continue;
7131
6970
  case chr === '>' && ncg:
@@ -7211,7 +7050,7 @@ if (isForced('RegExp', BASE_FORCED)) {
7211
7050
 
7212
7051
  RegExpPrototype$2.constructor = RegExpWrapper;
7213
7052
  RegExpWrapper.prototype = RegExpPrototype$2;
7214
- defineBuiltIn$1(global$1, 'RegExp', RegExpWrapper, { constructor: true });
7053
+ defineBuiltIn$1(globalThis$1, 'RegExp', RegExpWrapper, { constructor: true });
7215
7054
  }
7216
7055
 
7217
7056
  // https://tc39.es/ecma262/#sec-get-regexp-@@species
@@ -7734,12 +7573,11 @@ const SearchHighlight = ({
7734
7573
  children: textParts.map((part, index) => {
7735
7574
  const key = `${part}-${index}`;
7736
7575
  if (searchWords.some(search => part.toLocaleLowerCase().includes(search))) {
7737
- return jsx("mark", Object.assign({
7576
+ return jsx("mark", {
7738
7577
  style: highlightStyle,
7739
- "data-testid": "mark"
7740
- }, {
7578
+ "data-testid": "mark",
7741
7579
  children: part
7742
- }), key);
7580
+ }, key);
7743
7581
  }
7744
7582
  return jsx("span", {
7745
7583
  children: part
@@ -7748,6 +7586,7 @@ const SearchHighlight = ({
7748
7586
  });
7749
7587
  };
7750
7588
 
7589
+ const _excluded$1 = ["activeLabel", "inActiveLabel", "tooltip"];
7751
7590
  const styles = {
7752
7591
  label: {
7753
7592
  color: 'geowebColors.buttons.tertiary.default.color',
@@ -7756,32 +7595,28 @@ const styles = {
7756
7595
  fontWeight: 500
7757
7596
  }
7758
7597
  };
7759
- const SwitchButton = _a => {
7760
- var {
7598
+ const SwitchButton = _ref => {
7599
+ let {
7761
7600
  activeLabel = 'Editor',
7762
7601
  inActiveLabel = 'Viewer',
7763
7602
  tooltip = 'Switch mode'
7764
- } = _a,
7765
- props = __rest(_a, ["activeLabel", "inActiveLabel", "tooltip"]);
7766
- return jsx(CustomTooltip, Object.assign({
7767
- title: tooltip
7768
- }, {
7769
- children: jsxs("span", Object.assign({
7770
- role: "button"
7771
- }, {
7772
- children: [jsx(FormLabel, Object.assign({
7773
- sx: styles.label
7774
- }, {
7603
+ } = _ref,
7604
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1);
7605
+ return jsx(CustomTooltip, {
7606
+ title: tooltip,
7607
+ children: jsxs("span", {
7608
+ role: "button",
7609
+ children: [jsx(FormLabel, {
7610
+ sx: styles.label,
7775
7611
  children: inActiveLabel
7776
- })), jsx(Switch, Object.assign({
7612
+ }), jsx(Switch, Object.assign({
7777
7613
  "data-testid": "switchMode"
7778
- }, props)), jsx(FormLabel, Object.assign({
7779
- sx: styles.label
7780
- }, {
7614
+ }, props)), jsx(FormLabel, {
7615
+ sx: styles.label,
7781
7616
  children: activeLabel
7782
- }))]
7783
- }))
7784
- }));
7617
+ })]
7618
+ })
7619
+ });
7785
7620
  };
7786
7621
 
7787
7622
  // TODO: Remove from `core-js@4` since it's moved to entry points
@@ -7822,13 +7657,17 @@ $({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {
7822
7657
  const isURL = string => /^https?:\/\//.test(string);
7823
7658
  const ClearButton$1 = ({
7824
7659
  onClick
7825
- }) => jsx(CustomIconButton, Object.assign({
7826
- tooltipTitle: translateKeyOutsideComponents('shared-clear'),
7827
- sx: buttonStyle,
7828
- onClick: onClick
7829
- }, {
7830
- children: jsx(Clear, {})
7831
- }));
7660
+ }) => {
7661
+ const {
7662
+ t
7663
+ } = useSharedTranslation();
7664
+ return jsx(CustomIconButton, {
7665
+ tooltipTitle: t('shared-clear'),
7666
+ sx: buttonStyle,
7667
+ onClick: onClick,
7668
+ children: jsx(Clear, {})
7669
+ });
7670
+ };
7832
7671
  const buttonStyle = {
7833
7672
  '&.MuiButtonBase-root.MuiIconButton-root': {
7834
7673
  width: 48,
@@ -7843,23 +7682,21 @@ const SearchFieldButton = ({
7843
7682
  }) => {
7844
7683
  const {
7845
7684
  t
7846
- } = useTranslation(SHARED_NAMESPACE);
7685
+ } = useSharedTranslation();
7847
7686
  if (isURL(localSearchString)) {
7848
7687
  return jsxs(Fragment, {
7849
- children: [jsx("div", Object.assign({
7688
+ children: [jsx("div", {
7850
7689
  style: {
7851
7690
  marginRight: '15px'
7852
- }
7853
- }, {
7691
+ },
7854
7692
  children: jsx(ClearButton$1, {
7855
7693
  onClick: () => onClickClear()
7856
7694
  })
7857
- })), jsx(Button, Object.assign({
7695
+ }), jsx(Button, {
7858
7696
  variant: "tertiary",
7859
- onClick: () => setPopupIsOpen(true)
7860
- }, {
7697
+ onClick: () => setPopupIsOpen(true),
7861
7698
  children: t('shared-save')
7862
- }))]
7699
+ })]
7863
7700
  });
7864
7701
  }
7865
7702
  if (localSearchString) {
@@ -7867,12 +7704,11 @@ const SearchFieldButton = ({
7867
7704
  onClick: () => onClickClear()
7868
7705
  });
7869
7706
  }
7870
- return jsx(CustomIconButton, Object.assign({
7707
+ return jsx(CustomIconButton, {
7871
7708
  tooltipTitle: t('shared-search'),
7872
- sx: buttonStyle
7873
- }, {
7709
+ sx: buttonStyle,
7874
7710
  children: jsx(Search, {})
7875
- }));
7711
+ });
7876
7712
  };
7877
7713
 
7878
7714
  const SearchField$1 = ({
@@ -7936,9 +7772,8 @@ const SearchField$1 = ({
7936
7772
  fullWidth: true,
7937
7773
  slotProps: {
7938
7774
  input: {
7939
- endAdornment: jsx(InputAdornment, Object.assign({
7940
- position: "end"
7941
- }, {
7775
+ endAdornment: jsx(InputAdornment, {
7776
+ position: "end",
7942
7777
  children: jsx(SearchFieldButton, {
7943
7778
  setPopupIsOpen: () => {
7944
7779
  onOpenServicePopup(localSearchString);
@@ -7951,7 +7786,7 @@ const SearchField$1 = ({
7951
7786
  setUrlIsValid(false);
7952
7787
  }
7953
7788
  })
7954
- }))
7789
+ })
7955
7790
  }
7956
7791
  }
7957
7792
  });
@@ -7970,25 +7805,23 @@ const LastUpdateTime = ({
7970
7805
  const {
7971
7806
  t
7972
7807
  } = useTranslation(SHARED_NAMESPACE);
7973
- return jsxs(Box, Object.assign({
7808
+ return jsxs(Box, {
7974
7809
  sx: {
7975
7810
  display: 'flex',
7976
7811
  alignItems: 'center',
7977
7812
  height: '100%',
7978
7813
  justifyContent: 'flex-end'
7979
- }
7980
- }, {
7981
- children: [jsx(Typography, Object.assign({
7814
+ },
7815
+ children: [jsx(Typography, {
7982
7816
  sx: {
7983
7817
  color: 'geowebColors.captions.captionStatus.rgba',
7984
7818
  fontSize: '10px',
7985
7819
  lineHeight: '1.6',
7986
7820
  letterSpacing: '0.33px'
7987
7821
  },
7988
- "data-testid": dataTestId
7989
- }, {
7822
+ "data-testid": dataTestId,
7990
7823
  children: getLastUpdateTitle(lastUpdateTime, t)
7991
- })), jsx(CustomIconButton, Object.assign({
7824
+ }), jsx(CustomIconButton, {
7992
7825
  "data-testid": "refresh-button",
7993
7826
  onClick: _onPressRefresh,
7994
7827
  sx: {
@@ -7999,11 +7832,10 @@ const LastUpdateTime = ({
7999
7832
  marginLeft: 1
8000
7833
  },
8001
7834
  tooltipTitle: t('shared-click-to-refresh'),
8002
- variant: "tool"
8003
- }, {
7835
+ variant: "tool",
8004
7836
  children: jsx(Cached, {})
8005
- }))]
8006
- }));
7837
+ })]
7838
+ });
8007
7839
  };
8008
7840
 
8009
7841
  class CanvasComponent extends Component {
@@ -8279,7 +8111,7 @@ class CanvasComponent extends Component {
8279
8111
  render() {
8280
8112
  this.updateCanvas();
8281
8113
  this._handleWindowResize();
8282
- return jsx("div", Object.assign({
8114
+ return jsx("div", {
8283
8115
  role: "button",
8284
8116
  ref: this.canvascontaineroutside,
8285
8117
  tabIndex: 0,
@@ -8291,9 +8123,8 @@ class CanvasComponent extends Component {
8291
8123
  border: 'none',
8292
8124
  display: 'block',
8293
8125
  overflow: 'hidden'
8294
- }
8295
- }, {
8296
- children: jsx("div", Object.assign({
8126
+ },
8127
+ children: jsx("div", {
8297
8128
  ref: this.canvascontainer,
8298
8129
  style: {
8299
8130
  minWidth: 'inherit',
@@ -8304,26 +8135,24 @@ class CanvasComponent extends Component {
8304
8135
  display: 'block',
8305
8136
  border: 'none'
8306
8137
  },
8307
- "data-testid": "canvas-container"
8308
- }, {
8309
- children: jsx("div", Object.assign({
8138
+ "data-testid": "canvas-container",
8139
+ children: jsx("div", {
8310
8140
  style: {
8311
8141
  overflow: 'visible',
8312
8142
  width: 0,
8313
8143
  height: 0
8314
8144
  },
8315
8145
  role: "presentation",
8316
- "aria-label": "canvas"
8317
- }, {
8146
+ "aria-label": "canvas",
8318
8147
  children: jsx("canvas", {
8319
8148
  "data-testid": "canvas",
8320
8149
  ref: canvas => {
8321
8150
  this.canvas = canvas;
8322
8151
  }
8323
8152
  })
8324
- }))
8325
- }))
8326
- }));
8153
+ })
8154
+ })
8155
+ });
8327
8156
  }
8328
8157
  }
8329
8158
  CanvasComponent.defaultProps = {
@@ -8405,12 +8234,11 @@ const FilterList = ({
8405
8234
  const {
8406
8235
  t
8407
8236
  } = useSharedTranslation();
8408
- return jsxs(Stack, Object.assign({
8237
+ return jsxs(Stack, {
8409
8238
  direction: "row",
8410
8239
  spacing: 1,
8411
8240
  "data-testid": "filterList",
8412
- className: "filter-list"
8413
- }, {
8241
+ className: "filter-list",
8414
8242
  children: [jsx(FilterChip, {
8415
8243
  id: "all",
8416
8244
  label: t('shared-filter-all'),
@@ -8429,29 +8257,27 @@ const FilterList = ({
8429
8257
  }
8430
8258
  }, filter.id);
8431
8259
  })]
8432
- }));
8260
+ });
8433
8261
  };
8434
8262
 
8435
8263
  const DEBOUNCE_TIMEOUT = 300;
8436
8264
  const SearchButton = ({
8437
8265
  label
8438
- }) => jsx(CustomIconButton, Object.assign({
8266
+ }) => jsx(CustomIconButton, {
8439
8267
  tooltipTitle: label,
8440
8268
  edge: "end",
8441
- size: "large"
8442
- }, {
8269
+ size: "large",
8443
8270
  children: jsx(Search, {})
8444
- }));
8271
+ });
8445
8272
  const ClearButton = ({
8446
8273
  onClick
8447
- }) => jsx(CustomIconButton, Object.assign({
8274
+ }) => jsx(CustomIconButton, {
8448
8275
  tooltipTitle: "Clear",
8449
8276
  edge: "end",
8450
8277
  onClick: onClick,
8451
- size: "large"
8452
- }, {
8278
+ size: "large",
8453
8279
  children: jsx(Clear, {})
8454
- }));
8280
+ });
8455
8281
  const SearchField = ({
8456
8282
  valueChanged,
8457
8283
  value: _value = ''
@@ -8481,9 +8307,8 @@ const SearchField = ({
8481
8307
  },
8482
8308
  slotProps: {
8483
8309
  input: {
8484
- endAdornment: jsx(InputAdornment, Object.assign({
8485
- position: "end"
8486
- }, {
8310
+ endAdornment: jsx(InputAdornment, {
8311
+ position: "end",
8487
8312
  children: localValue ? jsx(ClearButton, {
8488
8313
  onClick: () => {
8489
8314
  setLocalValue('');
@@ -8492,31 +8317,30 @@ const SearchField = ({
8492
8317
  }) : jsx(SearchButton, {
8493
8318
  label: label
8494
8319
  })
8495
- }))
8320
+ })
8496
8321
  }
8497
8322
  }
8498
8323
  });
8499
8324
  };
8500
8325
 
8326
+ const _excluded = ["filters", "onClickFilterChip", "onSearch", "isAllSelected", "searchQuery"];
8501
8327
  const DEFAULT_FILTER_HEIGHT = 85;
8502
- const Filter = /*#__PURE__*/React.forwardRef((_a, ref) => {
8503
- var {
8328
+ const Filter = /*#__PURE__*/React.forwardRef((_ref, ref) => {
8329
+ let {
8504
8330
  filters,
8505
8331
  onClickFilterChip = () => {},
8506
8332
  onSearch = () => {},
8507
8333
  isAllSelected,
8508
8334
  searchQuery
8509
- } = _a,
8510
- props = __rest(_a, ["filters", "onClickFilterChip", "onSearch", "isAllSelected", "searchQuery"]);
8511
- return jsx(Box, Object.assign({
8335
+ } = _ref,
8336
+ props = _objectWithoutPropertiesLoose(_ref, _excluded);
8337
+ return jsx(Box, {
8512
8338
  sx: Object.assign({
8513
8339
  marginBottom: '8px'
8514
8340
  }, props.sx),
8515
- ref: ref
8516
- }, {
8517
- children: jsxs(Stack, Object.assign({
8518
- spacing: 1
8519
- }, {
8341
+ ref: ref,
8342
+ children: jsxs(Stack, {
8343
+ spacing: 1,
8520
8344
  children: [jsx(SearchField, {
8521
8345
  value: searchQuery,
8522
8346
  valueChanged: onSearch
@@ -8525,23 +8349,22 @@ const Filter = /*#__PURE__*/React.forwardRef((_a, ref) => {
8525
8349
  onChipClick: onClickFilterChip,
8526
8350
  isAllSelected: isAllSelected
8527
8351
  })]
8528
- }))
8529
- }));
8352
+ })
8353
+ });
8530
8354
  });
8531
8355
 
8532
8356
  const FilterLabel = ({
8533
8357
  name
8534
- }) => jsx(Typography, Object.assign({
8358
+ }) => jsx(Typography, {
8535
8359
  variant: "body2",
8536
8360
  sx: {
8537
8361
  fontSize: '16px',
8538
8362
  textOverflow: 'ellipsis',
8539
8363
  whiteSpace: 'nowrap',
8540
8364
  overflow: 'hidden'
8541
- }
8542
- }, {
8365
+ },
8543
8366
  children: name
8544
- }));
8367
+ });
8545
8368
  const FilterListItem = ({
8546
8369
  filter,
8547
8370
  toggleFilter: _toggleFilter = () => {},
@@ -8584,14 +8407,13 @@ const FilterListItem = ({
8584
8407
  };
8585
8408
  const name = filter.amountVisible ? `${filter.name} (${filter.amountVisible})` : filter.name;
8586
8409
  if (filter.amountVisible !== 0) {
8587
- return jsx("div", Object.assign({
8410
+ return jsx("div", {
8588
8411
  ref: mouseMoveRef,
8589
8412
  onMouseEnter: handleMouseEnter,
8590
8413
  onMouseLeave: handleMouseLeave,
8591
8414
  onFocus: handleMouseEnter,
8592
- onBlur: handleMouseLeave
8593
- }, {
8594
- children: jsxs(ListItem, Object.assign({
8415
+ onBlur: handleMouseLeave,
8416
+ children: jsxs(ListItem, {
8595
8417
  sx: {
8596
8418
  width: '100%',
8597
8419
  minWidth: '300px',
@@ -8600,7 +8422,7 @@ const FilterListItem = ({
8600
8422
  paddingRight: '50px',
8601
8423
  fontSize: '12px'
8602
8424
  },
8603
- secondaryAction: jsx(CustomIconButton, Object.assign({
8425
+ secondaryAction: jsx(CustomIconButton, {
8604
8426
  "aria-label": `Only ${filter.name}`,
8605
8427
  style: {
8606
8428
  backgroundColor: 'transparent',
@@ -8610,24 +8432,20 @@ const FilterListItem = ({
8610
8432
  edge: "end",
8611
8433
  onClick: () => {
8612
8434
  selectOnlyOne(filter.id);
8613
- }
8614
- }, {
8615
- children: jsx(Typography, Object.assign({
8435
+ },
8436
+ children: jsx(Typography, {
8616
8437
  sx: {
8617
8438
  color: 'geowebColors.buttons.primary.default.fill',
8618
8439
  fontSize: '14px',
8619
8440
  fontWeight: 500
8620
- }
8621
- }, {
8441
+ },
8622
8442
  children: t('shared-only')
8623
- }))
8624
- }))
8625
- }, {
8626
- children: [jsx(ListItemIcon, Object.assign({
8443
+ })
8444
+ }),
8445
+ children: [jsx(ListItemIcon, {
8627
8446
  sx: {
8628
8447
  minWidth: '42px'
8629
- }
8630
- }, {
8448
+ },
8631
8449
  children: jsx(Checkbox, {
8632
8450
  inputProps: {
8633
8451
  'aria-label': filter.name,
@@ -8647,15 +8465,101 @@ const FilterListItem = ({
8647
8465
  }
8648
8466
  }
8649
8467
  })
8650
- })), children || jsx(FilterLabel, {
8468
+ }), children || jsx(FilterLabel, {
8651
8469
  name: name
8652
8470
  })]
8653
- }))
8654
- }));
8471
+ })
8472
+ });
8655
8473
  }
8656
8474
  return null;
8657
8475
  };
8658
8476
 
8477
+ const FilterOption = ({
8478
+ optionId,
8479
+ checked,
8480
+ onClick,
8481
+ labelStyle,
8482
+ label
8483
+ }) => {
8484
+ const {
8485
+ t
8486
+ } = useSharedTranslation();
8487
+ const [showOnly, setShowOnly] = useState(false);
8488
+ const updateShowOnly = debounce(show => setShowOnly(show), 100);
8489
+ return jsx(ListItem, {
8490
+ disablePadding: true,
8491
+ dense: true,
8492
+ sx: {
8493
+ width: '100%',
8494
+ minWidth: '300px',
8495
+ paddingRight: '0px',
8496
+ marginLeft: '-12px',
8497
+ fontSize: '12px'
8498
+ },
8499
+ secondaryAction: showOnly && jsx(CustomIconButton, {
8500
+ "aria-label": `Only ${label}`,
8501
+ style: {
8502
+ backgroundColor: 'transparent',
8503
+ width: 'auto'
8504
+ },
8505
+ edge: "end",
8506
+ onClick: () => onClick(!checked, true),
8507
+ onMouseOver: () => updateShowOnly(true),
8508
+ onMouseOut: () => updateShowOnly(false),
8509
+ children: jsx(Typography, {
8510
+ sx: {
8511
+ color: 'geowebColors.buttons.primary.default.fill',
8512
+ fontSize: '14px',
8513
+ fontWeight: 500
8514
+ },
8515
+ children: t('shared-only')
8516
+ })
8517
+ }),
8518
+ children: jsxs(ListItemButton, {
8519
+ role: undefined,
8520
+ onClick: () => onClick(!checked),
8521
+ onMouseOver: () => updateShowOnly(true),
8522
+ onMouseOut: () => updateShowOnly(false),
8523
+ dense: true,
8524
+ disableGutters: true,
8525
+ sx: {
8526
+ padding: 0
8527
+ },
8528
+ children: [jsx(ListItemIcon, {
8529
+ sx: {
8530
+ width: '42px'
8531
+ },
8532
+ children: jsx(Checkbox, {
8533
+ checked: checked,
8534
+ tabIndex: -1,
8535
+ disableRipple: true,
8536
+ inputProps: {
8537
+ 'aria-labelledby': optionId,
8538
+ 'aria-label': optionId
8539
+ },
8540
+ name: optionId
8541
+ })
8542
+ }), jsx(ListItemText, {
8543
+ id: optionId,
8544
+ sx: {
8545
+ padding: 0,
8546
+ margin: 0
8547
+ },
8548
+ primary: jsx(Typography, {
8549
+ variant: "body2",
8550
+ sx: Object.assign({
8551
+ fontSize: '16px',
8552
+ textOverflow: 'ellipsis',
8553
+ whiteSpace: 'nowrap',
8554
+ overflow: 'hidden'
8555
+ }, labelStyle),
8556
+ children: label
8557
+ })
8558
+ })]
8559
+ })
8560
+ });
8561
+ };
8562
+
8659
8563
  /* *
8660
8564
  * Licensed under the Apache License, Version 2.0 (the "License");
8661
8565
  * you may not use this file except in compliance with the License.
@@ -8679,9 +8583,9 @@ const isAxiosError = error => {
8679
8583
  return error.isAxiosError !== undefined;
8680
8584
  };
8681
8585
  const isAxiosAuthError = error => {
8682
- var _a, _b;
8683
8586
  if (isAxiosError(error)) {
8684
- return ((_a = error.response) === null || _a === void 0 ? void 0 : _a.status) === 401 || ((_b = error.response) === null || _b === void 0 ? void 0 : _b.status) === 403;
8587
+ var _error$response, _error$response2;
8588
+ return ((_error$response = error.response) == null ? void 0 : _error$response.status) === 401 || ((_error$response2 = error.response) == null ? void 0 : _error$response2.status) === 403;
8685
8589
  }
8686
8590
  return false;
8687
8591
  };
@@ -9439,18 +9343,12 @@ var index = /*#__PURE__*/Object.freeze({
9439
9343
  utc: utc
9440
9344
  });
9441
9345
 
9442
- const createMockStoreWithEggs = mockState => {
9443
- const mockStore = configureStoreToBeDeprecated();
9444
- const store = mockStore(mockState);
9445
- store.addEggs = typeof jest !== 'undefined' ? jest.fn() : () => {}; // mocking the dynamic module loader
9446
- return store;
9447
- };
9448
9346
  const createToolkitMockStoreWithEggs = storeConfig => {
9449
9347
  const {
9450
9348
  reducer,
9451
9349
  preloadedState
9452
9350
  } = storeConfig;
9453
- const store = configureStore(Object.assign(Object.assign({}, storeConfig), {
9351
+ const store = configureStore(Object.assign({}, storeConfig, {
9454
9352
  reducer,
9455
9353
  preloadedState
9456
9354
  }));
@@ -9599,4 +9497,4 @@ class RenderCounter {
9599
9497
  }
9600
9498
  const renderCounter = new RenderCounter();
9601
9499
 
9602
- export { AlertBanner, AlertIcon, AppHeader, AppLayout, Avatar, CanvasComponent, ConfirmationDialog, ConfirmationServiceProvider, CustomAccordion, CustomDialog, CustomIconButton, CustomSlider, CustomToggleButton, CustomTooltip, DEBOUNCE_TIMEOUT, DEFAULT_ERROR_MESSAGE, DEFAULT_FILTER_HEIGHT, DraggableComponent$1 as Draggable, ErrorBoundary, Filter, FilterChip, FilterLabel, FilterListItem, LastUpdateTime, PROJECTION, ResizeComponent as Resizable, SHARED_NAMESPACE, SearchField$1 as SearchField, SearchFieldButton, SearchHighlight, StatusTag, SwitchButton, ToggleMenu, ToolContainer, DraggableComponent as ToolContainerDraggable, ToolFooter, ToolHeader, TooltipSelect, UserMenu, UserMenuItemCheatSheet, UserMenuItemSentryRecording, MenuItemTheme as UserMenuItemTheme, adjustPosition, calculateDialogSizeAndPosition, calculateStartSize, createMockStoreWithEggs, createToolkitMockStoreWithEggs, index as dateUtils, defaultDelay, getAxiosErrorMessage, getAxiosWarningMessage, getErrorMessage, getInitials, getLastUpdateTitle, getPosition, getWarningMessage, isAxiosAuthError, isAxiosError, pollingIntervalTimeout, renderCounter, sharedTranslations, showPrompt, sliderHeaderStyle, tooltipContainerStyles, useConfirmationDialog, useControlledTooltip, useDebounce, useDialogActions, useIsMounted, useMakeSureContainerStaysInsideWindow, usePoller, usePreventBrowserClose, usePrevious, useUserMenu, withEggs };
9500
+ export { AlertBanner, AlertIcon, AppHeader, AppLayout, Avatar, CanvasComponent, ConfirmationDialog, ConfirmationServiceProvider, CustomAccordion, CustomDialog, CustomIconButton, CustomSlider, CustomToggleButton, CustomTooltip, DEBOUNCE_TIMEOUT, DEFAULT_ERROR_MESSAGE, DEFAULT_FILTER_HEIGHT, DraggableComponent$1 as Draggable, ErrorBoundary, Filter, FilterChip, FilterLabel, FilterListItem, FilterOption, LastUpdateTime, PROJECTION, ResizeComponent as Resizable, SHARED_NAMESPACE, SearchField$1 as SearchField, SearchFieldButton, SearchHighlight, StatusTag, SwitchButton, ToggleMenu, ToolContainer, DraggableComponent as ToolContainerDraggable, ToolFooter, ToolHeader, TooltipSelect, UserMenu, UserMenuItemCheatSheet, UserMenuItemSentryRecording, MenuItemTheme as UserMenuItemTheme, adjustPosition, calculateDialogSizeAndPosition, calculateStartSize, createToolkitMockStoreWithEggs, index as dateUtils, defaultDelay, getAxiosErrorMessage, getAxiosWarningMessage, getErrorMessage, getInitials, getLastUpdateTitle, getPosition, getWarningMessage, isAxiosAuthError, isAxiosError, pollingIntervalTimeout, renderCounter, sharedTranslations, showPrompt, sliderHeaderStyle, tooltipContainerStyles, useConfirmationDialog, useControlledTooltip, useDebounce, useDialogActions, useIsMounted, useMakeSureContainerStaysInsideWindow, usePoller, usePreventBrowserClose, usePrevious, useUserMenu, withEggs };