@equinor/echo-components 0.8.0-beta-5 → 0.8.0-beta-7

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.
@@ -1,19 +1,49 @@
1
- import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
2
- import { Icon as Icon$1, Button, DotProgress, Banner, CircularProgress, Typography, TextField, Dialog, Search, Tooltip as Tooltip$1, Menu, Autocomplete, Radio, Slider } from '@equinor/eds-core-react';
3
- import * as React from 'react';
4
- import React__default, { forwardRef, useState, useEffect, useRef, useCallback, useMemo, createContext, useContext, isValidElement, cloneElement } from 'react';
5
- import Chart from 'chart.js/auto';
6
- import { throttle } from 'lodash';
7
- import classnames$1 from 'classnames';
8
- import DatePicker from 'react-datepicker';
9
- import 'react-datepicker/dist/react-datepicker.css';
10
- import * as edsIcons from '@equinor/eds-icons';
11
- import { arrow_back, arrow_forward, time } from '@equinor/eds-icons';
12
- import { useOnOutsideClick, generateRandomId, useFocus, useInitial } from '@equinor/echo-utils';
13
- import { VariableSizeList } from 'react-window';
14
- import { useFloating, autoUpdate, offset, flip, shift, useHover, useFocus as useFocus$1, useDismiss, useRole, useInteractions, useMergeRefs, FloatingPortal } from '@floating-ui/react';
15
- import * as zustand from 'zustand';
16
- import { ReactSortable } from 'react-sortablejs';
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var jsxRuntime = require('react/jsx-runtime');
6
+ var edsCoreReact = require('@equinor/eds-core-react');
7
+ var React = require('react');
8
+ var Chart = require('chart.js/auto');
9
+ var lodash = require('lodash');
10
+ var classnames$1 = require('classnames');
11
+ var DatePicker = require('react-datepicker');
12
+ require('react-datepicker/dist/react-datepicker.css');
13
+ var edsIcons = require('@equinor/eds-icons');
14
+ var echoUtils = require('@equinor/echo-utils');
15
+ var reactWindow = require('react-window');
16
+ var react = require('@floating-ui/react');
17
+ var zustand = require('zustand');
18
+ var reactSortablejs = require('react-sortablejs');
19
+
20
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
21
+
22
+ function _interopNamespace(e) {
23
+ if (e && e.__esModule) return e;
24
+ var n = Object.create(null);
25
+ if (e) {
26
+ Object.keys(e).forEach(function (k) {
27
+ if (k !== 'default') {
28
+ var d = Object.getOwnPropertyDescriptor(e, k);
29
+ Object.defineProperty(n, k, d.get ? d : {
30
+ enumerable: true,
31
+ get: function () { return e[k]; }
32
+ });
33
+ }
34
+ });
35
+ }
36
+ n["default"] = e;
37
+ return Object.freeze(n);
38
+ }
39
+
40
+ var React__namespace = /*#__PURE__*/_interopNamespace(React);
41
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
42
+ var Chart__default = /*#__PURE__*/_interopDefaultLegacy(Chart);
43
+ var classnames__default = /*#__PURE__*/_interopDefaultLegacy(classnames$1);
44
+ var DatePicker__default = /*#__PURE__*/_interopDefaultLegacy(DatePicker);
45
+ var edsIcons__namespace = /*#__PURE__*/_interopNamespace(edsIcons);
46
+ var zustand__namespace = /*#__PURE__*/_interopNamespace(zustand);
17
47
 
18
48
  function styleInject(css, ref) {
19
49
  if ( ref === void 0 ) ref = {};
@@ -64,7 +94,7 @@ const Icon = ({
64
94
  size
65
95
  }) => {
66
96
  // EdsIcon.add(icons);
67
- return jsx(Icon$1, {
97
+ return jsxRuntime.jsx(edsCoreReact.Icon, {
68
98
  name: name,
69
99
  title: title,
70
100
  color: color,
@@ -270,22 +300,22 @@ var process$1 = global$f.process;
270
300
  var Deno = global$f.Deno;
271
301
  var versions = process$1 && process$1.versions || Deno && Deno.version;
272
302
  var v8 = versions && versions.v8;
273
- var match, version;
303
+ var match$2, version;
274
304
 
275
305
  if (v8) {
276
- match = v8.split('.');
306
+ match$2 = v8.split('.');
277
307
  // in old Chrome, versions of V8 isn't V8 = Chrome / 10
278
308
  // but their correct versions are not interesting for us
279
- version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
309
+ version = match$2[0] > 0 && match$2[0] < 4 ? 1 : +(match$2[0] + match$2[1]);
280
310
  }
281
311
 
282
312
  // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
283
313
  // so check `userAgent` even if `.v8` exists, but 0
284
314
  if (!version && userAgent) {
285
- match = userAgent.match(/Edge\/(\d+)/);
286
- if (!match || match[1] >= 74) {
287
- match = userAgent.match(/Chrome\/(\d+)/);
288
- if (match) version = +match[1];
315
+ match$2 = userAgent.match(/Edge\/(\d+)/);
316
+ if (!match$2 || match$2[1] >= 74) {
317
+ match$2 = userAgent.match(/Chrome\/(\d+)/);
318
+ if (match$2) version = +match$2[1];
289
319
  }
290
320
  }
291
321
 
@@ -1521,7 +1551,7 @@ var SvgCableIcon = function SvgCableIcon(_ref, ref) {
1521
1551
  var title = _ref.title,
1522
1552
  titleId = _ref.titleId,
1523
1553
  props = _objectWithoutProperties$b(_ref, _excluded$b);
1524
- return /*#__PURE__*/React.createElement("svg", _extends$b({
1554
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$b({
1525
1555
  width: 24,
1526
1556
  height: 24,
1527
1557
  viewBox: "0 0 24 24",
@@ -1529,20 +1559,20 @@ var SvgCableIcon = function SvgCableIcon(_ref, ref) {
1529
1559
  xmlns: "http://www.w3.org/2000/svg",
1530
1560
  ref: ref,
1531
1561
  "aria-labelledby": titleId
1532
- }, props), title ? /*#__PURE__*/React.createElement("title", {
1562
+ }, props), title ? /*#__PURE__*/React__namespace.createElement("title", {
1533
1563
  id: titleId
1534
- }, title) : null, _path$7 || (_path$7 = /*#__PURE__*/React.createElement("path", {
1564
+ }, title) : null, _path$7 || (_path$7 = /*#__PURE__*/React__namespace.createElement("path", {
1535
1565
  d: "M21.8 2.3C21.7 2.1 21.4 2 21.1 2.1C20.4 2.5 19.9 3.2 19.4 3.8V1.6C19.5 1.2 19.2 1 19 1C18.7 1 18.5 1.2 18.5 1.5V3.8C18 3.2 17.4 2.5 16.6 2.1C16.4 2 16.1 2.1 15.9 2.3C15.8 2.5 15.9 2.8 16.1 3C16.7 3.3 16.8 3.3 17.1 3.8H16.9V6.8H20.9V3.7H20.5C20.9 3.2 21 3.2 21.5 2.9C21.9 2.8 22 2.5 21.8 2.3Z",
1536
1566
  fill: "white"
1537
- })), _path2$3 || (_path2$3 = /*#__PURE__*/React.createElement("path", {
1567
+ })), _path2$3 || (_path2$3 = /*#__PURE__*/React__namespace.createElement("path", {
1538
1568
  d: "M2.09999 21.3C2.19999 21.5 2.49999 21.6 2.79999 21.5C3.49999 21.1 3.99999 20.4 4.49999 19.8V22C4.49999 22.3 4.69999 22.5 4.99999 22.5C5.29999 22.5 5.49999 22.3 5.49999 22V19.7C5.99999 20.3 6.59999 21 7.39999 21.4C7.59999 21.5 7.89999 21.4 8.09999 21.2C8.19999 21 8.09999 20.7 7.89999 20.5C7.29999 20.2 7.19999 20.2 6.89999 19.7H7.09999V16.7H3.09999V19.8H3.49999C3.09999 20.3 2.99999 20.3 2.49999 20.6C1.99999 20.7 1.89999 21 2.09999 21.3Z",
1539
1569
  fill: "white"
1540
- })), _path3$2 || (_path3$2 = /*#__PURE__*/React.createElement("path", {
1570
+ })), _path3$2 || (_path3$2 = /*#__PURE__*/React__namespace.createElement("path", {
1541
1571
  d: "M16.9 18.8H13.9C12.2 18.8 10.9 17.5 10.9 15.8V7.79999C10.9 7.29999 10.5 6.79999 9.89999 6.79999H6.89999C6.39999 6.79999 5.89999 7.19999 5.89999 7.79999V15.8H3.89999V7.79999C3.89999 6.09999 5.19999 4.79999 6.89999 4.79999H9.89999C11.6 4.79999 12.9 6.09999 12.9 7.79999V15.8C12.9 16.3 13.3 16.8 13.9 16.8H16.9C17.4 16.8 17.9 16.4 17.9 15.8V7.79999H19.9V15.8C19.9 17.4 18.6 18.8 16.9 18.8Z",
1542
1572
  fill: "white"
1543
1573
  })));
1544
1574
  };
1545
- var ForwardRef$b = /*#__PURE__*/forwardRef(SvgCableIcon);
1575
+ var ForwardRef$b = /*#__PURE__*/React.forwardRef(SvgCableIcon);
1546
1576
 
1547
1577
  var _path$6, _path2$2, _path3$1, _path4$1;
1548
1578
  var _excluded$a = ["title", "titleId"];
@@ -1553,7 +1583,7 @@ var SvgCircuitIcon = function SvgCircuitIcon(_ref, ref) {
1553
1583
  var title = _ref.title,
1554
1584
  titleId = _ref.titleId,
1555
1585
  props = _objectWithoutProperties$a(_ref, _excluded$a);
1556
- return /*#__PURE__*/React.createElement("svg", _extends$a({
1586
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$a({
1557
1587
  width: 24,
1558
1588
  height: 24,
1559
1589
  viewBox: "0 0 24 24",
@@ -1561,23 +1591,23 @@ var SvgCircuitIcon = function SvgCircuitIcon(_ref, ref) {
1561
1591
  xmlns: "http://www.w3.org/2000/svg",
1562
1592
  ref: ref,
1563
1593
  "aria-labelledby": titleId
1564
- }, props), title ? /*#__PURE__*/React.createElement("title", {
1594
+ }, props), title ? /*#__PURE__*/React__namespace.createElement("title", {
1565
1595
  id: titleId
1566
- }, title) : null, _path$6 || (_path$6 = /*#__PURE__*/React.createElement("path", {
1596
+ }, title) : null, _path$6 || (_path$6 = /*#__PURE__*/React__namespace.createElement("path", {
1567
1597
  d: "M12 7C11.4 7 11 6.7 11 6.25V1.75C11 1.3 11.4 1 12 1C12.6 1 13 1.3 13 1.75V6.25C13 6.7 12.5 7 12 7Z",
1568
1598
  fill: "white"
1569
- })), _path2$2 || (_path2$2 = /*#__PURE__*/React.createElement("path", {
1599
+ })), _path2$2 || (_path2$2 = /*#__PURE__*/React__namespace.createElement("path", {
1570
1600
  d: "M11.9 23C11.3 23 10.9 22.6 10.9 22V17C10.9 16.4 11.3 16 11.9 16C12.5 16 12.9 16.4 12.9 17V22C12.9 22.5 12.5 23 11.9 23Z",
1571
1601
  fill: "white"
1572
- })), _path3$1 || (_path3$1 = /*#__PURE__*/React.createElement("path", {
1602
+ })), _path3$1 || (_path3$1 = /*#__PURE__*/React__namespace.createElement("path", {
1573
1603
  d: "M11.8 17.8C9.50001 17.8 7.60001 15.9 7.60001 13.6C7.60001 11.3 9.50001 9.39999 11.8 9.39999C14.1 9.39999 16 11.3 16 13.6C16 15.9 14.1 17.8 11.8 17.8ZM11.8 11.4C10.6 11.4 9.60001 12.4 9.60001 13.6C9.60001 14.8 10.6 15.8 11.8 15.8C13 15.8 14 14.8 14 13.6C14 12.4 13 11.4 11.8 11.4Z",
1574
1604
  fill: "white"
1575
- })), _path4$1 || (_path4$1 = /*#__PURE__*/React.createElement("path", {
1605
+ })), _path4$1 || (_path4$1 = /*#__PURE__*/React__namespace.createElement("path", {
1576
1606
  d: "M9.6 11.6C9.3 11.6 9.1 11.5 8.9 11.3L4.3 6.7C3.9 6.3 3.9 5.7 4.3 5.3C4.7 4.9 5.3 4.9 5.7 5.3L10.3 9.9C10.7 10.3 10.7 10.9 10.3 11.3C10.1 11.5 9.8 11.6 9.6 11.6Z",
1577
1607
  fill: "white"
1578
1608
  })));
1579
1609
  };
1580
- var ForwardRef$a = /*#__PURE__*/forwardRef(SvgCircuitIcon);
1610
+ var ForwardRef$a = /*#__PURE__*/React.forwardRef(SvgCircuitIcon);
1581
1611
 
1582
1612
  var _path$5;
1583
1613
  var _excluded$9 = ["title", "titleId"];
@@ -1588,7 +1618,7 @@ var SvgElectricalIcon = function SvgElectricalIcon(_ref, ref) {
1588
1618
  var title = _ref.title,
1589
1619
  titleId = _ref.titleId,
1590
1620
  props = _objectWithoutProperties$9(_ref, _excluded$9);
1591
- return /*#__PURE__*/React.createElement("svg", _extends$9({
1621
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$9({
1592
1622
  width: 24,
1593
1623
  height: 24,
1594
1624
  viewBox: "0 0 24 24",
@@ -1596,16 +1626,16 @@ var SvgElectricalIcon = function SvgElectricalIcon(_ref, ref) {
1596
1626
  xmlns: "http://www.w3.org/2000/svg",
1597
1627
  ref: ref,
1598
1628
  "aria-labelledby": titleId
1599
- }, props), title ? /*#__PURE__*/React.createElement("title", {
1629
+ }, props), title ? /*#__PURE__*/React__namespace.createElement("title", {
1600
1630
  id: titleId
1601
- }, title) : null, _path$5 || (_path$5 = /*#__PURE__*/React.createElement("path", {
1631
+ }, title) : null, _path$5 || (_path$5 = /*#__PURE__*/React__namespace.createElement("path", {
1602
1632
  fillRule: "evenodd",
1603
1633
  clipRule: "evenodd",
1604
1634
  d: "M12 2L1 21H23L12 2ZM12 5.99L19.53 19H4.47L12 5.99ZM10.6029 14.8265L9.24576 18.3842L13.5879 14.4833L12.3422 14.0081L13.6993 10.4504L9.35713 14.3513L10.6029 14.8265Z",
1605
1635
  fill: "white"
1606
1636
  })));
1607
1637
  };
1608
- var ForwardRef$9 = /*#__PURE__*/forwardRef(SvgElectricalIcon);
1638
+ var ForwardRef$9 = /*#__PURE__*/React.forwardRef(SvgElectricalIcon);
1609
1639
 
1610
1640
  var _g$3, _defs$3;
1611
1641
  var _excluded$8 = ["title", "titleId"];
@@ -1616,7 +1646,7 @@ var SvgFunctionIcon = function SvgFunctionIcon(_ref, ref) {
1616
1646
  var title = _ref.title,
1617
1647
  titleId = _ref.titleId,
1618
1648
  props = _objectWithoutProperties$8(_ref, _excluded$8);
1619
- return /*#__PURE__*/React.createElement("svg", _extends$8({
1649
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$8({
1620
1650
  width: 24,
1621
1651
  height: 24,
1622
1652
  viewBox: "0 0 24 24",
@@ -1624,23 +1654,23 @@ var SvgFunctionIcon = function SvgFunctionIcon(_ref, ref) {
1624
1654
  xmlns: "http://www.w3.org/2000/svg",
1625
1655
  ref: ref,
1626
1656
  "aria-labelledby": titleId
1627
- }, props), title ? /*#__PURE__*/React.createElement("title", {
1657
+ }, props), title ? /*#__PURE__*/React__namespace.createElement("title", {
1628
1658
  id: titleId
1629
- }, title) : null, _g$3 || (_g$3 = /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
1659
+ }, title) : null, _g$3 || (_g$3 = /*#__PURE__*/React__namespace.createElement("g", null, /*#__PURE__*/React__namespace.createElement("path", {
1630
1660
  d: "M4.3 6.6C4.3 3.6 5.9 2 9 2C9.8 2 10.6 2.1 11.3 2.3V4.6C10.6 4.4 10.1 4.4 9.6 4.4C8 4.4 7.3 5.3 7.3 7V8.3H10.6V10.5H7.3V22H4.3V10.5H2V8.3H4.3V6.6Z",
1631
1661
  fill: "white"
1632
- }), /*#__PURE__*/React.createElement("path", {
1662
+ }), /*#__PURE__*/React__namespace.createElement("path", {
1633
1663
  d: "M17.2 17.5L18.7 20.4H16.4L15.7 19L15 20.4H13L14.5 17.8L13.1 15.1H15.4L15.9 16.3L16.5 15.1H18.4L17.2 17.5Z",
1634
1664
  fill: "white"
1635
- }), /*#__PURE__*/React.createElement("path", {
1665
+ }), /*#__PURE__*/React__namespace.createElement("path", {
1636
1666
  d: "M12 22.8C8.1 18 10.3 13.2 12 11.3L13.5 12.6L12.8 12L13.5 12.7C13.3 12.9 9.8 16.9 13.5 21.6L12 22.8Z",
1637
1667
  fill: "white"
1638
- }), /*#__PURE__*/React.createElement("path", {
1668
+ }), /*#__PURE__*/React__namespace.createElement("path", {
1639
1669
  d: "M19.8 22.9L18.3 21.6C18.5 21.4 22 17.4 18.3 12.7L19.9 11.4C23.7 16.2 21.5 21 19.8 22.9Z",
1640
1670
  fill: "white"
1641
- }))), _defs$3 || (_defs$3 = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
1671
+ }))), _defs$3 || (_defs$3 = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
1642
1672
  id: "clip0"
1643
- }, /*#__PURE__*/React.createElement("rect", {
1673
+ }, /*#__PURE__*/React__namespace.createElement("rect", {
1644
1674
  x: 2,
1645
1675
  y: 2,
1646
1676
  width: 20,
@@ -1648,7 +1678,7 @@ var SvgFunctionIcon = function SvgFunctionIcon(_ref, ref) {
1648
1678
  fill: "white"
1649
1679
  })))));
1650
1680
  };
1651
- var ForwardRef$8 = /*#__PURE__*/forwardRef(SvgFunctionIcon);
1681
+ var ForwardRef$8 = /*#__PURE__*/React.forwardRef(SvgFunctionIcon);
1652
1682
 
1653
1683
  var _g$2, _defs$2;
1654
1684
  var _excluded$7 = ["title", "titleId"];
@@ -1659,7 +1689,7 @@ var SvgInstrumentIcon = function SvgInstrumentIcon(_ref, ref) {
1659
1689
  var title = _ref.title,
1660
1690
  titleId = _ref.titleId,
1661
1691
  props = _objectWithoutProperties$7(_ref, _excluded$7);
1662
- return /*#__PURE__*/React.createElement("svg", _extends$7({
1692
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$7({
1663
1693
  width: 24,
1664
1694
  height: 24,
1665
1695
  viewBox: "0 0 24 24",
@@ -1667,25 +1697,25 @@ var SvgInstrumentIcon = function SvgInstrumentIcon(_ref, ref) {
1667
1697
  xmlns: "http://www.w3.org/2000/svg",
1668
1698
  ref: ref,
1669
1699
  "aria-labelledby": titleId
1670
- }, props), title ? /*#__PURE__*/React.createElement("title", {
1700
+ }, props), title ? /*#__PURE__*/React__namespace.createElement("title", {
1671
1701
  id: titleId
1672
- }, title) : null, _g$2 || (_g$2 = /*#__PURE__*/React.createElement("g", {
1702
+ }, title) : null, _g$2 || (_g$2 = /*#__PURE__*/React__namespace.createElement("g", {
1673
1703
  clipPath: "url(#clip0)"
1674
- }, /*#__PURE__*/React.createElement("path", {
1704
+ }, /*#__PURE__*/React__namespace.createElement("path", {
1675
1705
  d: "M12 4C15.9 4 19 7.1 19 11C19 14.9 15.9 18 12 18C8.1 18 5 14.9 5 11C5 7.1 8.1 4 12 4ZM12 2C7 2 3 6 3 11C3 16 7 20 12 20C17 20 21 16 21 11C21 6 17 2 12 2Z",
1676
1706
  fill: "white"
1677
- }), /*#__PURE__*/React.createElement("path", {
1707
+ }), /*#__PURE__*/React__namespace.createElement("path", {
1678
1708
  d: "M11.9 15.8C11.7 15.8 11.6 15.8 11.4 15.7C10.9 15.4 10.7 14.8 11 14.3L15 7.2C15.3 6.7 15.9 6.5 16.4 6.8C16.9 7.1 17.1 7.7 16.8 8.2L12.8 15.3C12.5 15.6 12.2 15.8 11.9 15.8Z",
1679
1709
  fill: "white"
1680
- }), /*#__PURE__*/React.createElement("path", {
1710
+ }), /*#__PURE__*/React__namespace.createElement("path", {
1681
1711
  d: "M12 22.4C11.4 22.4 11 22 11 21.4V20C11 19.4 11.4 19 12 19C12.6 19 13 19.4 13 20V21.4C13 22 12.6 22.4 12 22.4Z",
1682
1712
  fill: "white"
1683
- }), /*#__PURE__*/React.createElement("path", {
1713
+ }), /*#__PURE__*/React__namespace.createElement("path", {
1684
1714
  d: "M7.39999 17.8C8.69999 16.7 10.3 16 12.1 16C13.6 16 15.1 16.5 16.2 17.4L17.7 16C16.2 14.8 14.2 14 12.1 14C9.69999 14 7.59999 14.9 5.89999 16.4L7.39999 17.8Z",
1685
1715
  fill: "white"
1686
- }))), _defs$2 || (_defs$2 = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
1716
+ }))), _defs$2 || (_defs$2 = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
1687
1717
  id: "clip0"
1688
- }, /*#__PURE__*/React.createElement("rect", {
1718
+ }, /*#__PURE__*/React__namespace.createElement("rect", {
1689
1719
  x: 3,
1690
1720
  y: 2,
1691
1721
  width: 18,
@@ -1693,7 +1723,7 @@ var SvgInstrumentIcon = function SvgInstrumentIcon(_ref, ref) {
1693
1723
  fill: "white"
1694
1724
  })))));
1695
1725
  };
1696
- var ForwardRef$7 = /*#__PURE__*/forwardRef(SvgInstrumentIcon);
1726
+ var ForwardRef$7 = /*#__PURE__*/React.forwardRef(SvgInstrumentIcon);
1697
1727
 
1698
1728
  var _path$4;
1699
1729
  var _excluded$6 = ["title", "titleId"];
@@ -1704,7 +1734,7 @@ var SvgJunctionBoxIcon = function SvgJunctionBoxIcon(_ref, ref) {
1704
1734
  var title = _ref.title,
1705
1735
  titleId = _ref.titleId,
1706
1736
  props = _objectWithoutProperties$6(_ref, _excluded$6);
1707
- return /*#__PURE__*/React.createElement("svg", _extends$6({
1737
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$6({
1708
1738
  width: 24,
1709
1739
  height: 24,
1710
1740
  viewBox: "0 0 24 24",
@@ -1712,16 +1742,16 @@ var SvgJunctionBoxIcon = function SvgJunctionBoxIcon(_ref, ref) {
1712
1742
  xmlns: "http://www.w3.org/2000/svg",
1713
1743
  ref: ref,
1714
1744
  "aria-labelledby": titleId
1715
- }, props), title ? /*#__PURE__*/React.createElement("title", {
1745
+ }, props), title ? /*#__PURE__*/React__namespace.createElement("title", {
1716
1746
  id: titleId
1717
- }, title) : null, _path$4 || (_path$4 = /*#__PURE__*/React.createElement("path", {
1747
+ }, title) : null, _path$4 || (_path$4 = /*#__PURE__*/React__namespace.createElement("path", {
1718
1748
  fillRule: "evenodd",
1719
1749
  clipRule: "evenodd",
1720
1750
  d: "M3.02304 3.69542C3.16973 2.73541 3.99898 2 5 2H19C19.9665 2 20.7729 2.68556 20.9594 3.59693C20.986 3.72713 21 3.86193 21 4V17C21 18.1046 20.1046 19 19 19H17V22H15V19H13V22H11V19H9V22H7V19H5C3.98052 19 3.13919 18.2372 3.01563 17.2512C3.00845 17.194 3.0037 17.136 3.00147 17.0773C3.00049 17.0517 3 17.0259 3 17V4V4C3 3.89644 3.00787 3.79473 3.02304 3.69542ZM5 4L5 17H7H9H11H13H15H17L19 17V4H5Z",
1721
1751
  fill: "white"
1722
1752
  })));
1723
1753
  };
1724
- var ForwardRef$6 = /*#__PURE__*/forwardRef(SvgJunctionBoxIcon);
1754
+ var ForwardRef$6 = /*#__PURE__*/React.forwardRef(SvgJunctionBoxIcon);
1725
1755
 
1726
1756
  var _path$3, _path2$1, _path3, _path4, _path5, _path6, _path7, _path8, _path9;
1727
1757
  var _excluded$5 = ["title", "titleId"];
@@ -1732,7 +1762,7 @@ var SvgLineIcon = function SvgLineIcon(_ref, ref) {
1732
1762
  var title = _ref.title,
1733
1763
  titleId = _ref.titleId,
1734
1764
  props = _objectWithoutProperties$5(_ref, _excluded$5);
1735
- return /*#__PURE__*/React.createElement("svg", _extends$5({
1765
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$5({
1736
1766
  width: 24,
1737
1767
  height: 24,
1738
1768
  viewBox: "0 0 24 24",
@@ -1740,40 +1770,40 @@ var SvgLineIcon = function SvgLineIcon(_ref, ref) {
1740
1770
  xmlns: "http://www.w3.org/2000/svg",
1741
1771
  ref: ref,
1742
1772
  "aria-labelledby": titleId
1743
- }, props), title ? /*#__PURE__*/React.createElement("title", {
1773
+ }, props), title ? /*#__PURE__*/React__namespace.createElement("title", {
1744
1774
  id: titleId
1745
- }, title) : null, _path$3 || (_path$3 = /*#__PURE__*/React.createElement("path", {
1775
+ }, title) : null, _path$3 || (_path$3 = /*#__PURE__*/React__namespace.createElement("path", {
1746
1776
  fillRule: "evenodd",
1747
1777
  clipRule: "evenodd",
1748
1778
  d: "M17 10H7V14H17V10ZM5 8V16H19V8H5Z",
1749
1779
  fill: "white"
1750
- })), _path2$1 || (_path2$1 = /*#__PURE__*/React.createElement("path", {
1780
+ })), _path2$1 || (_path2$1 = /*#__PURE__*/React__namespace.createElement("path", {
1751
1781
  d: "M1 8C1 6.89543 1.89543 6 3 6H5C6.10457 6 7 6.89543 7 8V8H1V8Z",
1752
1782
  fill: "white"
1753
- })), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
1783
+ })), _path3 || (_path3 = /*#__PURE__*/React__namespace.createElement("path", {
1754
1784
  d: "M7 16C7 17.1046 6.10457 18 5 18L3 18C1.89543 18 1 17.1046 1 16V16L7 16V16Z",
1755
1785
  fill: "white"
1756
- })), _path4 || (_path4 = /*#__PURE__*/React.createElement("path", {
1786
+ })), _path4 || (_path4 = /*#__PURE__*/React__namespace.createElement("path", {
1757
1787
  d: "M5 6C6.10457 6 7 6.89543 7 8L7 16C7 17.1046 6.10457 18 5 18V18L5 6V6Z",
1758
1788
  fill: "white"
1759
- })), _path5 || (_path5 = /*#__PURE__*/React.createElement("path", {
1789
+ })), _path5 || (_path5 = /*#__PURE__*/React__namespace.createElement("path", {
1760
1790
  d: "M3 18C1.89543 18 1 17.1046 1 16L1 8C1 6.89543 1.89543 6 3 6V6L3 18V18Z",
1761
1791
  fill: "white"
1762
- })), _path6 || (_path6 = /*#__PURE__*/React.createElement("path", {
1792
+ })), _path6 || (_path6 = /*#__PURE__*/React__namespace.createElement("path", {
1763
1793
  d: "M17 8C17 6.89543 17.8954 6 19 6H21C22.1046 6 23 6.89543 23 8V8H17V8Z",
1764
1794
  fill: "white"
1765
- })), _path7 || (_path7 = /*#__PURE__*/React.createElement("path", {
1795
+ })), _path7 || (_path7 = /*#__PURE__*/React__namespace.createElement("path", {
1766
1796
  d: "M23 16C23 17.1046 22.1046 18 21 18L19 18C17.8954 18 17 17.1046 17 16V16L23 16V16Z",
1767
1797
  fill: "white"
1768
- })), _path8 || (_path8 = /*#__PURE__*/React.createElement("path", {
1798
+ })), _path8 || (_path8 = /*#__PURE__*/React__namespace.createElement("path", {
1769
1799
  d: "M21 6C22.1046 6 23 6.89543 23 8L23 16C23 17.1046 22.1046 18 21 18V18L21 6V6Z",
1770
1800
  fill: "white"
1771
- })), _path9 || (_path9 = /*#__PURE__*/React.createElement("path", {
1801
+ })), _path9 || (_path9 = /*#__PURE__*/React__namespace.createElement("path", {
1772
1802
  d: "M19 18C17.8954 18 17 17.1046 17 16L17 8C17 6.89543 17.8954 6 19 6V6L19 18V18Z",
1773
1803
  fill: "white"
1774
1804
  })));
1775
1805
  };
1776
- var ForwardRef$5 = /*#__PURE__*/forwardRef(SvgLineIcon);
1806
+ var ForwardRef$5 = /*#__PURE__*/React.forwardRef(SvgLineIcon);
1777
1807
 
1778
1808
  var _path$2, _path2;
1779
1809
  var _excluded$4 = ["title", "titleId"];
@@ -1784,7 +1814,7 @@ var SvgMainEquipmentIcon = function SvgMainEquipmentIcon(_ref, ref) {
1784
1814
  var title = _ref.title,
1785
1815
  titleId = _ref.titleId,
1786
1816
  props = _objectWithoutProperties$4(_ref, _excluded$4);
1787
- return /*#__PURE__*/React.createElement("svg", _extends$4({
1817
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$4({
1788
1818
  width: 24,
1789
1819
  height: 24,
1790
1820
  viewBox: "0 0 24 24",
@@ -1792,19 +1822,19 @@ var SvgMainEquipmentIcon = function SvgMainEquipmentIcon(_ref, ref) {
1792
1822
  xmlns: "http://www.w3.org/2000/svg",
1793
1823
  ref: ref,
1794
1824
  "aria-labelledby": titleId
1795
- }, props), title ? /*#__PURE__*/React.createElement("title", {
1825
+ }, props), title ? /*#__PURE__*/React__namespace.createElement("title", {
1796
1826
  id: titleId
1797
- }, title) : null, _path$2 || (_path$2 = /*#__PURE__*/React.createElement("path", {
1827
+ }, title) : null, _path$2 || (_path$2 = /*#__PURE__*/React__namespace.createElement("path", {
1798
1828
  fillRule: "evenodd",
1799
1829
  clipRule: "evenodd",
1800
1830
  d: "M21.4 11.6L12.4 2.6C12.1 2.2 11.6 2 11 2H4C2.9 2 2 2.9 2 4V11C2 11.6 2.2 12.1 2.6 12.4L11.6 21.4C11.9 21.8 12.4 22 13 22C13.6 22 14.1 21.8 14.4 21.4L21.4 14.4C21.8 14 22 13.5 22 13C22 12.5 21.8 11.9 21.4 11.6ZM13 20L4 11V4H11L20 13L13 20ZM5 6.5C5 5.7 5.7 5 6.5 5C7.3 5 8 5.7 8 6.5C8 7.3 7.3 8 6.5 8C5.7 8 5 7.3 5 6.5Z",
1801
1831
  fill: "white"
1802
- })), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
1832
+ })), _path2 || (_path2 = /*#__PURE__*/React__namespace.createElement("path", {
1803
1833
  d: "M18.2 12.3L16.8 13.7L15.3 12.2L13.6 10.3L14.4 13.3L13.5 14.2L10.5 13.5L12.3 15.1L13.8 16.6L12.4 18L6.7 12.3L8.2 10.8L12 12L10.9 8.10001L12.4 6.60001L18.2 12.3Z",
1804
1834
  fill: "white"
1805
1835
  })));
1806
1836
  };
1807
- var ForwardRef$4 = /*#__PURE__*/forwardRef(SvgMainEquipmentIcon);
1837
+ var ForwardRef$4 = /*#__PURE__*/React.forwardRef(SvgMainEquipmentIcon);
1808
1838
 
1809
1839
  var _g$1, _defs$1;
1810
1840
  var _excluded$3 = ["title", "titleId"];
@@ -1815,7 +1845,7 @@ var SvgManualValveIcon = function SvgManualValveIcon(_ref, ref) {
1815
1845
  var title = _ref.title,
1816
1846
  titleId = _ref.titleId,
1817
1847
  props = _objectWithoutProperties$3(_ref, _excluded$3);
1818
- return /*#__PURE__*/React.createElement("svg", _extends$3({
1848
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$3({
1819
1849
  width: 24,
1820
1850
  height: 24,
1821
1851
  viewBox: "0 0 24 24",
@@ -1823,21 +1853,21 @@ var SvgManualValveIcon = function SvgManualValveIcon(_ref, ref) {
1823
1853
  xmlns: "http://www.w3.org/2000/svg",
1824
1854
  ref: ref,
1825
1855
  "aria-labelledby": titleId
1826
- }, props), title ? /*#__PURE__*/React.createElement("title", {
1856
+ }, props), title ? /*#__PURE__*/React__namespace.createElement("title", {
1827
1857
  id: titleId
1828
- }, title) : null, _g$1 || (_g$1 = /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
1858
+ }, title) : null, _g$1 || (_g$1 = /*#__PURE__*/React__namespace.createElement("g", null, /*#__PURE__*/React__namespace.createElement("path", {
1829
1859
  d: "M4 8.30001L9.8 13.1L4 17.8V8.30001ZM2 4.10001V22.1L13 13.1L2 4.10001Z",
1830
1860
  fill: "white"
1831
- }), /*#__PURE__*/React.createElement("path", {
1861
+ }), /*#__PURE__*/React__namespace.createElement("path", {
1832
1862
  d: "M20 8.3V17.9L14.1 13L20 8.3ZM22 4L11 13L22 22V4Z",
1833
1863
  fill: "white"
1834
- }), /*#__PURE__*/React.createElement("path", {
1864
+ }), /*#__PURE__*/React__namespace.createElement("path", {
1835
1865
  d: "M13 3.70001H11V13.5H13V3.70001Z",
1836
1866
  fill: "white"
1837
- }), /*#__PURE__*/React.createElement("path", {
1867
+ }), /*#__PURE__*/React__namespace.createElement("path", {
1838
1868
  d: "M15 4H9C8.5 4 8 3.6 8 3C8 2.4 8.4 2 9 2H15C15.6 2 16 2.4 16 3C16 3.6 15.5 4 15 4Z",
1839
1869
  fill: "white"
1840
- }))), _defs$1 || (_defs$1 = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", null, /*#__PURE__*/React.createElement("rect", {
1870
+ }))), _defs$1 || (_defs$1 = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", null, /*#__PURE__*/React__namespace.createElement("rect", {
1841
1871
  x: 2,
1842
1872
  y: 2,
1843
1873
  width: 20,
@@ -1845,7 +1875,7 @@ var SvgManualValveIcon = function SvgManualValveIcon(_ref, ref) {
1845
1875
  fill: "white"
1846
1876
  })))));
1847
1877
  };
1848
- var ForwardRef$3 = /*#__PURE__*/forwardRef(SvgManualValveIcon);
1878
+ var ForwardRef$3 = /*#__PURE__*/React.forwardRef(SvgManualValveIcon);
1849
1879
 
1850
1880
  var _path$1;
1851
1881
  var _excluded$2 = ["title", "titleId"];
@@ -1856,7 +1886,7 @@ var SvgSignalIcon = function SvgSignalIcon(_ref, ref) {
1856
1886
  var title = _ref.title,
1857
1887
  titleId = _ref.titleId,
1858
1888
  props = _objectWithoutProperties$2(_ref, _excluded$2);
1859
- return /*#__PURE__*/React.createElement("svg", _extends$2({
1889
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$2({
1860
1890
  width: 24,
1861
1891
  height: 24,
1862
1892
  viewBox: "0 0 24 24",
@@ -1864,14 +1894,14 @@ var SvgSignalIcon = function SvgSignalIcon(_ref, ref) {
1864
1894
  xmlns: "http://www.w3.org/2000/svg",
1865
1895
  ref: ref,
1866
1896
  "aria-labelledby": titleId
1867
- }, props), title ? /*#__PURE__*/React.createElement("title", {
1897
+ }, props), title ? /*#__PURE__*/React__namespace.createElement("title", {
1868
1898
  id: titleId
1869
- }, title) : null, _path$1 || (_path$1 = /*#__PURE__*/React.createElement("path", {
1899
+ }, title) : null, _path$1 || (_path$1 = /*#__PURE__*/React__namespace.createElement("path", {
1870
1900
  d: "M14.1 20C13.5 20 13 19.6 12.9 19L11.7 10.5L11 14.5C10.9 15 10.5 15.4 9.9 15.5C9.4 15.5 8.9 15.2 8.7 14.7L8.3 13.7L7.9 16H2C1.4 16 1 15.6 1 15C1 14.4 1.4 14 2 14H6.2L6.8 10.4C6.9 9.9 7.3 9.5 7.9 9.4C8.4 9.4 8.9 9.7 9.1 10.2L9.5 11.2L10.6 5C10.7 4.4 11.2 4 11.8 4C12.4 4 12.9 4.4 13 5L14.2 13.4L15 8.7C15.1 8.1 15.5 7.7 16.1 7.7C16.7 7.7 17.2 8 17.3 8.6L18.8 14.1H22C22.6 14.1 23 14.5 23 15.1C23 15.7 22.6 16.1 22 16.1H17.2L16.2 12.7L15.2 19.1C15.1 19.6 14.6 20 14.1 20Z",
1871
1901
  fill: "white"
1872
1902
  })));
1873
1903
  };
1874
- var ForwardRef$2 = /*#__PURE__*/forwardRef(SvgSignalIcon);
1904
+ var ForwardRef$2 = /*#__PURE__*/React.forwardRef(SvgSignalIcon);
1875
1905
 
1876
1906
  var _path;
1877
1907
  var _excluded$1 = ["title", "titleId"];
@@ -1882,7 +1912,7 @@ var SvgTagIcon = function SvgTagIcon(_ref, ref) {
1882
1912
  var title = _ref.title,
1883
1913
  titleId = _ref.titleId,
1884
1914
  props = _objectWithoutProperties$1(_ref, _excluded$1);
1885
- return /*#__PURE__*/React.createElement("svg", _extends$1({
1915
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$1({
1886
1916
  width: 24,
1887
1917
  height: 24,
1888
1918
  viewBox: "0 0 24 24",
@@ -1890,16 +1920,16 @@ var SvgTagIcon = function SvgTagIcon(_ref, ref) {
1890
1920
  xmlns: "http://www.w3.org/2000/svg",
1891
1921
  ref: ref,
1892
1922
  "aria-labelledby": titleId
1893
- }, props), title ? /*#__PURE__*/React.createElement("title", {
1923
+ }, props), title ? /*#__PURE__*/React__namespace.createElement("title", {
1894
1924
  id: titleId
1895
- }, title) : null, _path || (_path = /*#__PURE__*/React.createElement("path", {
1925
+ }, title) : null, _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
1896
1926
  fillRule: "evenodd",
1897
1927
  clipRule: "evenodd",
1898
1928
  d: "M21.41 11.58L12.41 2.58C12.05 2.22 11.55 2 11 2H4C2.9 2 2 2.9 2 4V11C2 11.55 2.22 12.05 2.59 12.42L11.59 21.42C11.95 21.78 12.45 22 13 22C13.55 22 14.05 21.78 14.41 21.41L21.41 14.41C21.78 14.05 22 13.55 22 13C22 12.45 21.77 11.94 21.41 11.58ZM13 20.01L4 11V4H11V3.99L20 12.99L13 20.01ZM5 6.5C5 5.67157 5.67157 5 6.5 5C7.32843 5 8 5.67157 8 6.5C8 7.32843 7.32843 8 6.5 8C5.67157 8 5 7.32843 5 6.5Z",
1899
1929
  fill: "white"
1900
1930
  })));
1901
1931
  };
1902
- var ForwardRef$1 = /*#__PURE__*/forwardRef(SvgTagIcon);
1932
+ var ForwardRef$1 = /*#__PURE__*/React.forwardRef(SvgTagIcon);
1903
1933
 
1904
1934
  var _g, _defs;
1905
1935
  var _excluded = ["title", "titleId"];
@@ -1910,7 +1940,7 @@ var SvgTelecomIcon = function SvgTelecomIcon(_ref, ref) {
1910
1940
  var title = _ref.title,
1911
1941
  titleId = _ref.titleId,
1912
1942
  props = _objectWithoutProperties(_ref, _excluded);
1913
- return /*#__PURE__*/React.createElement("svg", _extends({
1943
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends({
1914
1944
  width: 24,
1915
1945
  height: 24,
1916
1946
  viewBox: "0 0 24 24",
@@ -1918,25 +1948,25 @@ var SvgTelecomIcon = function SvgTelecomIcon(_ref, ref) {
1918
1948
  xmlns: "http://www.w3.org/2000/svg",
1919
1949
  ref: ref,
1920
1950
  "aria-labelledby": titleId
1921
- }, props), title ? /*#__PURE__*/React.createElement("title", {
1951
+ }, props), title ? /*#__PURE__*/React__namespace.createElement("title", {
1922
1952
  id: titleId
1923
- }, title) : null, _g || (_g = /*#__PURE__*/React.createElement("g", {
1953
+ }, title) : null, _g || (_g = /*#__PURE__*/React__namespace.createElement("g", {
1924
1954
  clipPath: "url(#clip0)"
1925
- }, /*#__PURE__*/React.createElement("path", {
1955
+ }, /*#__PURE__*/React__namespace.createElement("path", {
1926
1956
  d: "M14.6558 12.2385L16.4582 11.6089C15.2089 8.04077 12.4339 7.62099 12.3099 7.60191L12.0334 9.4909C12.1097 9.50044 13.8071 9.81527 14.6558 12.2385Z",
1927
1957
  fill: "white"
1928
- }), /*#__PURE__*/React.createElement("path", {
1958
+ }), /*#__PURE__*/React__namespace.createElement("path", {
1929
1959
  d: "M12.844 4.26279L12.3481 6.10407C12.4911 6.14223 15.9337 7.14397 17.9744 11.7519L19.7195 10.9792C17.2974 5.49349 13.0251 4.31049 12.844 4.26279Z",
1930
1960
  fill: "white"
1931
- }), /*#__PURE__*/React.createElement("path", {
1961
+ }), /*#__PURE__*/React__namespace.createElement("path", {
1932
1962
  d: "M13.1682 1L12.5197 2.79358C12.5769 2.81266 18.4798 4.9974 21.2358 11.7329L23 11.0078C19.9198 3.49957 13.4352 1.0954 13.1682 1Z",
1933
1963
  fill: "white"
1934
- }), /*#__PURE__*/React.createElement("path", {
1964
+ }), /*#__PURE__*/React__namespace.createElement("path", {
1935
1965
  d: "M12.7486 15.32C12.8821 14.9766 12.9679 14.6141 12.9679 14.2229C12.9679 12.4866 11.5566 11.0841 9.83051 11.0841C9.42046 11.0841 9.01993 11.1605 8.65756 11.3131L4.40442 7.13443C4.17555 6.90547 3.88946 6.80052 3.59384 6.80052C3.22193 6.80052 2.85002 6.98179 2.62115 7.3157C0.160811 10.9029 0.408752 16.5984 4.0039 20.1188C5.99696 22.0746 8.63849 22.9905 11.1942 22.9905C13.254 22.9905 15.2566 22.399 16.8396 21.2732C17.4309 20.8534 17.5071 19.9948 16.9922 19.4796L12.7486 15.32ZM11.1942 21.0919C8.94364 21.0919 6.86476 20.2619 5.33896 18.7641C2.56393 16.0451 2.38274 11.8855 3.74642 9.15698L7.78023 13.1162L8.63849 13.9653C8.76246 13.412 9.22973 12.9827 9.82098 12.9827C10.498 12.9827 11.0511 13.536 11.0511 14.2134C11.0511 14.7953 10.6411 15.2628 10.0975 15.3964L11.5566 16.8369L14.9705 20.1856C13.8739 20.7676 12.5579 21.0919 11.1942 21.0919Z",
1936
1966
  fill: "white"
1937
- }))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
1967
+ }))), _defs || (_defs = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
1938
1968
  id: "clip0"
1939
- }, /*#__PURE__*/React.createElement("rect", {
1969
+ }, /*#__PURE__*/React__namespace.createElement("rect", {
1940
1970
  x: 1,
1941
1971
  y: 1,
1942
1972
  width: 22,
@@ -1944,9 +1974,9 @@ var SvgTelecomIcon = function SvgTelecomIcon(_ref, ref) {
1944
1974
  fill: "white"
1945
1975
  })))));
1946
1976
  };
1947
- var ForwardRef = /*#__PURE__*/forwardRef(SvgTelecomIcon);
1977
+ var ForwardRef = /*#__PURE__*/React.forwardRef(SvgTelecomIcon);
1948
1978
 
1949
- var TagCategoryType;
1979
+ exports.TagCategoryType = void 0;
1950
1980
  (function (TagCategoryType) {
1951
1981
  TagCategoryType["Electrical"] = "electrical";
1952
1982
  TagCategoryType["MainEquipment"] = "main equipment";
@@ -1960,7 +1990,7 @@ var TagCategoryType;
1960
1990
  TagCategoryType["Telecom"] = "telecom";
1961
1991
  TagCategoryType["JunctionBox"] = "junction box";
1962
1992
  TagCategoryType["Administrative"] = "administrative";
1963
- })(TagCategoryType || (TagCategoryType = {}));
1993
+ })(exports.TagCategoryType || (exports.TagCategoryType = {}));
1964
1994
  /**
1965
1995
  * Method that returns the relevant Icon for the tagCategoryDescription provided
1966
1996
  * Tag icon is the default JSX.Element Icon returned
@@ -1984,53 +2014,53 @@ const TagCategoryIcon = ({
1984
2014
  }) => {
1985
2015
  const tagCategory = tagCategoryDescription.toLocaleLowerCase().toString();
1986
2016
  switch (tagCategory.includes(tagCategory)) {
1987
- case isGivenTagCategory(tagCategory, TagCategoryType.Electrical):
1988
- return jsx(ForwardRef$9, {
2017
+ case isGivenTagCategory(tagCategory, exports.TagCategoryType.Electrical):
2018
+ return jsxRuntime.jsx(ForwardRef$9, {
1989
2019
  "aria-label": 'electrical'
1990
2020
  });
1991
- case isGivenTagCategory(tagCategory, TagCategoryType.MainEquipment):
1992
- return jsx(ForwardRef$4, {
2021
+ case isGivenTagCategory(tagCategory, exports.TagCategoryType.MainEquipment):
2022
+ return jsxRuntime.jsx(ForwardRef$4, {
1993
2023
  "aria-label": 'main equipment'
1994
2024
  });
1995
- case isGivenTagCategory(tagCategory, TagCategoryType.Line):
1996
- return jsx(ForwardRef$5, {
2025
+ case isGivenTagCategory(tagCategory, exports.TagCategoryType.Line):
2026
+ return jsxRuntime.jsx(ForwardRef$5, {
1997
2027
  "aria-label": 'line'
1998
2028
  });
1999
- case isGivenTagCategory(tagCategory, TagCategoryType.ManualValve):
2000
- return jsx(ForwardRef$3, {
2029
+ case isGivenTagCategory(tagCategory, exports.TagCategoryType.ManualValve):
2030
+ return jsxRuntime.jsx(ForwardRef$3, {
2001
2031
  "aria-label": 'manual valve'
2002
2032
  });
2003
- case isGivenTagCategory(tagCategory, TagCategoryType.CircuitAndStarter):
2004
- return jsx(ForwardRef$a, {
2033
+ case isGivenTagCategory(tagCategory, exports.TagCategoryType.CircuitAndStarter):
2034
+ return jsxRuntime.jsx(ForwardRef$a, {
2005
2035
  "aria-label": 'circuit/starter'
2006
2036
  });
2007
- case isGivenTagCategory(tagCategory, TagCategoryType.Instrument):
2008
- return jsx(ForwardRef$7, {
2037
+ case isGivenTagCategory(tagCategory, exports.TagCategoryType.Instrument):
2038
+ return jsxRuntime.jsx(ForwardRef$7, {
2009
2039
  "aria-label": 'instrument'
2010
2040
  });
2011
- case isGivenTagCategory(tagCategory, TagCategoryType.Cable):
2012
- return jsx(ForwardRef$b, {
2041
+ case isGivenTagCategory(tagCategory, exports.TagCategoryType.Cable):
2042
+ return jsxRuntime.jsx(ForwardRef$b, {
2013
2043
  "aria-label": 'cable'
2014
2044
  });
2015
- case isGivenTagCategory(tagCategory, TagCategoryType.Function):
2016
- return jsx(ForwardRef$8, {
2045
+ case isGivenTagCategory(tagCategory, exports.TagCategoryType.Function):
2046
+ return jsxRuntime.jsx(ForwardRef$8, {
2017
2047
  "aria-label": 'function'
2018
2048
  });
2019
- case isGivenTagCategory(tagCategory, TagCategoryType.Signal):
2020
- return jsx(ForwardRef$2, {
2049
+ case isGivenTagCategory(tagCategory, exports.TagCategoryType.Signal):
2050
+ return jsxRuntime.jsx(ForwardRef$2, {
2021
2051
  "aria-label": 'signal'
2022
2052
  });
2023
- case isGivenTagCategory(tagCategory, TagCategoryType.Telecom):
2024
- return jsx(ForwardRef, {
2053
+ case isGivenTagCategory(tagCategory, exports.TagCategoryType.Telecom):
2054
+ return jsxRuntime.jsx(ForwardRef, {
2025
2055
  "aria-label": 'telecom'
2026
2056
  });
2027
- case isGivenTagCategory(tagCategory, TagCategoryType.JunctionBox):
2028
- return jsx(ForwardRef$6, {
2057
+ case isGivenTagCategory(tagCategory, exports.TagCategoryType.JunctionBox):
2058
+ return jsxRuntime.jsx(ForwardRef$6, {
2029
2059
  "aria-label": 'junction box'
2030
2060
  });
2031
- case isGivenTagCategory(tagCategory, TagCategoryType.Administrative):
2061
+ case isGivenTagCategory(tagCategory, exports.TagCategoryType.Administrative):
2032
2062
  default:
2033
- return jsx(ForwardRef$1, {
2063
+ return jsxRuntime.jsx(ForwardRef$1, {
2034
2064
  "aria-label": 'tag'
2035
2065
  });
2036
2066
  }
@@ -2040,7 +2070,7 @@ function isGivenTagCategory(tagCategoryDescription, tagCategoryType) {
2040
2070
  }
2041
2071
 
2042
2072
  function getIcon(tagCategoryDescription) {
2043
- return jsx(TagCategoryIcon, {
2073
+ return jsxRuntime.jsx(TagCategoryIcon, {
2044
2074
  tagCategoryDescription: tagCategoryDescription
2045
2075
  });
2046
2076
  }
@@ -2056,17 +2086,17 @@ const BlackLink = ({
2056
2086
  preserveTab
2057
2087
  }) => {
2058
2088
  const linkElement = classnames(className, styles$t.linkElement);
2059
- return jsxs("a", {
2089
+ return jsxRuntime.jsxs("a", {
2060
2090
  className: linkElement,
2061
2091
  id: linkText,
2062
2092
  href: href,
2063
2093
  tabIndex: 0,
2064
2094
  target: !preserveTab ? '_blank' : undefined,
2065
2095
  rel: "noreferrer",
2066
- children: [jsx("label", {
2096
+ children: [jsxRuntime.jsx("label", {
2067
2097
  htmlFor: linkText,
2068
2098
  children: linkText
2069
- }), jsx(Icon, {
2099
+ }), jsxRuntime.jsx(Icon, {
2070
2100
  className: styles$t.linkIcon,
2071
2101
  color: 'var(--echoText)',
2072
2102
  name: "external_link",
@@ -2579,7 +2609,7 @@ const DataInfoButton = ({
2579
2609
  data
2580
2610
  }) => {
2581
2611
  var _a;
2582
- return jsx(Button, {
2612
+ return jsxRuntime.jsx(edsCoreReact.Button, {
2583
2613
  "aria-label": (_a = data.ariaLabel) !== null && _a !== void 0 ? _a : data.label,
2584
2614
  onClick: data.onTagInfoClicked,
2585
2615
  className: `${data.itemButtonClassName} ${style$a.button} ${data.numberOfItems > 1 ? style$a.buttonWithBadge : ''}`,
@@ -2615,40 +2645,40 @@ const DataInfoPopover = ({
2615
2645
  }
2616
2646
  return dictionary;
2617
2647
  }, {});
2618
- const [showNoDataIndicator, setShowNoDataIndicator] = useState(false);
2619
- useEffect(() => {
2648
+ const [showNoDataIndicator, setShowNoDataIndicator] = React.useState(false);
2649
+ React.useEffect(() => {
2620
2650
  const delay = 200;
2621
2651
  const timer = setTimeout(() => setShowNoDataIndicator(true), delay);
2622
2652
  return () => {
2623
2653
  clearTimeout(timer);
2624
2654
  };
2625
2655
  });
2626
- return jsxs("div", {
2656
+ return jsxRuntime.jsxs("div", {
2627
2657
  className: style$9.wrapper,
2628
- children: [jsx("div", {
2658
+ children: [jsxRuntime.jsx("div", {
2629
2659
  className: style$9.arrow
2630
- }), jsxs("div", {
2660
+ }), jsxRuntime.jsxs("div", {
2631
2661
  className: style$9.optionsPopover,
2632
- children: [isLoading && dataToShow.length === 0 && jsx(DotProgress, {
2662
+ children: [isLoading && dataToShow.length === 0 && jsxRuntime.jsx(edsCoreReact.DotProgress, {
2633
2663
  color: "neutral"
2634
- }), showNoDataIndicator && !isLoading && dataToShow.length === 0 && jsxs(Banner, {
2664
+ }), showNoDataIndicator && !isLoading && dataToShow.length === 0 && jsxRuntime.jsxs(edsCoreReact.Banner, {
2635
2665
  className: style$9.banner,
2636
- children: [jsx(Banner.Icon, {
2666
+ children: [jsxRuntime.jsx(edsCoreReact.Banner.Icon, {
2637
2667
  variant: "info",
2638
- children: jsx(Icon, {
2668
+ children: jsxRuntime.jsx(Icon, {
2639
2669
  name: "info_circle",
2640
2670
  title: "No data to display",
2641
2671
  color: themeConst.asBuilt
2642
2672
  })
2643
- }), jsx(Banner.Message, {
2673
+ }), jsxRuntime.jsx(edsCoreReact.Banner.Message, {
2644
2674
  className: style$9.infoMessage,
2645
2675
  children: "No information to display"
2646
2676
  })]
2647
2677
  }), Object.keys(getDataGroupings).map(key => {
2648
- return jsx("div", {
2678
+ return jsxRuntime.jsx("div", {
2649
2679
  className: style$9.groupWrapper,
2650
2680
  children: getDataGroupings[key].map((data, index) => {
2651
- return jsx(DataInfoButton, {
2681
+ return jsxRuntime.jsx(DataInfoButton, {
2652
2682
  data: data
2653
2683
  }, index);
2654
2684
  })
@@ -2681,33 +2711,33 @@ const ButtonWithPopover = ({
2681
2711
  }) => {
2682
2712
  const renderPopoverButton = () => {
2683
2713
  if (!expanded) {
2684
- return jsx(Icon, {
2714
+ return jsxRuntime.jsx(Icon, {
2685
2715
  name: "more_horizontal",
2686
2716
  title: "more options",
2687
2717
  color: themeConst.asBuilt
2688
2718
  });
2689
2719
  } else {
2690
- return jsx(Icon, {
2720
+ return jsxRuntime.jsx(Icon, {
2691
2721
  name: "close",
2692
2722
  title: "close more options",
2693
2723
  color: themeConst.asBuilt
2694
2724
  });
2695
2725
  }
2696
2726
  };
2697
- return jsxs("div", {
2727
+ return jsxRuntime.jsxs("div", {
2698
2728
  className: style$8.wrapper,
2699
- children: [expanded && isLoading ? jsx("div", {
2729
+ children: [expanded && isLoading ? jsxRuntime.jsx("div", {
2700
2730
  className: style$8.button,
2701
2731
  onClick: onShowMoreClicked,
2702
- children: jsx(CircularProgress, {
2732
+ children: jsxRuntime.jsx(edsCoreReact.CircularProgress, {
2703
2733
  className: style$8.spinner
2704
2734
  })
2705
- }) : jsx(Button, {
2735
+ }) : jsxRuntime.jsx(edsCoreReact.Button, {
2706
2736
  className: style$8.button,
2707
2737
  variant: "ghost_icon",
2708
2738
  onClick: onShowMoreClicked,
2709
2739
  children: renderPopoverButton()
2710
- }), expanded && jsx(DataInfoPopover, {
2740
+ }), expanded && jsxRuntime.jsx(DataInfoPopover, {
2711
2741
  isLoading: isLoading,
2712
2742
  dataToShow: fetchedData
2713
2743
  })]
@@ -2811,16 +2841,16 @@ function LineChart({
2811
2841
  defaults,
2812
2842
  callbacks
2813
2843
  } = chartConfigs;
2814
- const canvasRef = useRef(null);
2815
- const chartInstanceRef = useRef(undefined);
2816
- const initChartDefaults = useCallback(() => {
2844
+ const canvasRef = React.useRef(null);
2845
+ const chartInstanceRef = React.useRef(undefined);
2846
+ const initChartDefaults = React.useCallback(() => {
2817
2847
  var _a, _b, _c, _d, _e;
2818
- Chart.defaults.font.size = ((_a = defaults === null || defaults === void 0 ? void 0 : defaults.font) === null || _a === void 0 ? void 0 : _a.size) || 12;
2819
- Chart.defaults.font.family = ((_b = defaults === null || defaults === void 0 ? void 0 : defaults.font) === null || _b === void 0 ? void 0 : _b.family) || 'Equinor';
2820
- Chart.defaults.interaction.mode = ((_c = defaults === null || defaults === void 0 ? void 0 : defaults.interaction) === null || _c === void 0 ? void 0 : _c.mode) || 'nearest'; // popup
2821
- Chart.defaults.elements.point.pointStyle = ((_e = (_d = defaults === null || defaults === void 0 ? void 0 : defaults.elements) === null || _d === void 0 ? void 0 : _d.point) === null || _e === void 0 ? void 0 : _e.pointStyle) || false;
2848
+ Chart__default["default"].defaults.font.size = ((_a = defaults === null || defaults === void 0 ? void 0 : defaults.font) === null || _a === void 0 ? void 0 : _a.size) || 12;
2849
+ Chart__default["default"].defaults.font.family = ((_b = defaults === null || defaults === void 0 ? void 0 : defaults.font) === null || _b === void 0 ? void 0 : _b.family) || 'Equinor';
2850
+ Chart__default["default"].defaults.interaction.mode = ((_c = defaults === null || defaults === void 0 ? void 0 : defaults.interaction) === null || _c === void 0 ? void 0 : _c.mode) || 'nearest'; // popup
2851
+ Chart__default["default"].defaults.elements.point.pointStyle = ((_e = (_d = defaults === null || defaults === void 0 ? void 0 : defaults.elements) === null || _d === void 0 ? void 0 : _d.point) === null || _e === void 0 ? void 0 : _e.pointStyle) || false;
2822
2852
  }, [defaults]);
2823
- const setupChartConfig = useCallback(() => {
2853
+ const setupChartConfig = React.useCallback(() => {
2824
2854
  initChartDefaults();
2825
2855
  let config;
2826
2856
  if (lineChartConfig) config = lineChartConfig;else if (chartDataSet) {
@@ -2837,13 +2867,13 @@ function LineChart({
2837
2867
  }
2838
2868
  return config;
2839
2869
  }, [callbacks, chartDataSet, chartTitle, initChartDefaults, lineChartConfig, xAxisTitle, yAxisTitle]);
2840
- useEffect(() => {
2870
+ React.useEffect(() => {
2841
2871
  const canvas = canvasRef.current;
2842
2872
  const chartInstance = chartInstanceRef.current;
2843
2873
  if (!canvas) return;
2844
2874
  if (chartInstance) chartInstance.destroy();
2845
2875
  const chartConfig = setupChartConfig();
2846
- const lineChart = new Chart(canvas, chartConfig);
2876
+ const lineChart = new Chart__default["default"](canvas, chartConfig);
2847
2877
  onChartInstance === null || onChartInstance === void 0 ? void 0 : onChartInstance(lineChart);
2848
2878
  chartInstanceRef.current = lineChart;
2849
2879
  const cleanup = () => {
@@ -2857,7 +2887,7 @@ function LineChart({
2857
2887
  };
2858
2888
  return cleanup;
2859
2889
  }, [callbacks, chartDataSet, chartTitle, initChartDefaults, lineChartConfig, onChartInstance, setupChartConfig, xAxisTitle, yAxisTitle]);
2860
- useEffect(function listenToOrientationOnMount() {
2890
+ React.useEffect(function listenToOrientationOnMount() {
2861
2891
  const handleOrientationChange = () => {
2862
2892
  const {
2863
2893
  current: chartInstance
@@ -2866,7 +2896,7 @@ function LineChart({
2866
2896
  setTimeout(() => chartInstance.resize(), 500);
2867
2897
  }
2868
2898
  };
2869
- const throttledOrientationHandler = throttle(handleOrientationChange, 1000);
2899
+ const throttledOrientationHandler = lodash.throttle(handleOrientationChange, 1000);
2870
2900
  if (screen.orientation && 'addEventListener' in screen.orientation) {
2871
2901
  screen.orientation.addEventListener('change', throttledOrientationHandler);
2872
2902
  return () => {
@@ -2888,7 +2918,7 @@ function LineChart({
2888
2918
  };
2889
2919
  // eslint-disable-next-line react-hooks/exhaustive-deps
2890
2920
  }, []);
2891
- return jsx("canvas", {
2921
+ return jsxRuntime.jsx("canvas", {
2892
2922
  id: id,
2893
2923
  ref: canvasRef,
2894
2924
  width: width,
@@ -2980,7 +3010,7 @@ const TagIcon = ({
2980
3010
  icon,
2981
3011
  legendColor
2982
3012
  }) => {
2983
- return jsx("div", {
3013
+ return jsxRuntime.jsx("div", {
2984
3014
  style: {
2985
3015
  background: legendColor
2986
3016
  },
@@ -2999,7 +3029,7 @@ const TagIcon = ({
2999
3029
  const TagIconShadowWrapper = ({
3000
3030
  children
3001
3031
  }) => {
3002
- return jsx("div", {
3032
+ return jsxRuntime.jsx("div", {
3003
3033
  className: `${styles$s.shadow}`,
3004
3034
  children: children
3005
3035
  });
@@ -3037,27 +3067,27 @@ const TagContextMenu = ({
3037
3067
  children
3038
3068
  }) => {
3039
3069
  if (expanded) {
3040
- return jsx("div", {
3070
+ return jsxRuntime.jsx("div", {
3041
3071
  className: styles$r.contextWrapperExpanded,
3042
3072
  onClick: openTagInformation,
3043
- children: jsxs("div", {
3073
+ children: jsxRuntime.jsxs("div", {
3044
3074
  className: styles$r.tagInfoWrapper,
3045
- children: [children, jsxs("div", {
3075
+ children: [children, jsxRuntime.jsxs("div", {
3046
3076
  className: styles$r.tagText,
3047
- children: [jsx(Typography, {
3077
+ children: [jsxRuntime.jsx(edsCoreReact.Typography, {
3048
3078
  variant: "h5",
3049
3079
  className: styles$r.tagHeader,
3050
3080
  children: tagNo
3051
- }), jsx(Typography, {
3081
+ }), jsxRuntime.jsx(edsCoreReact.Typography, {
3052
3082
  variant: "body_short",
3053
3083
  className: styles$r.tagDescription,
3054
3084
  children: description
3055
3085
  })]
3056
- }), jsx("div", {
3086
+ }), jsxRuntime.jsx("div", {
3057
3087
  className: styles$r.tagInfoIcon,
3058
- children: jsx(Button, {
3088
+ children: jsxRuntime.jsx(edsCoreReact.Button, {
3059
3089
  variant: "ghost_icon",
3060
- children: jsx(Icon, {
3090
+ children: jsxRuntime.jsx(Icon, {
3061
3091
  name: "info_circle",
3062
3092
  title: "tag information",
3063
3093
  color: themeConst.asBuilt
@@ -3067,13 +3097,13 @@ const TagContextMenu = ({
3067
3097
  })
3068
3098
  });
3069
3099
  } else {
3070
- return jsx("div", {
3100
+ return jsxRuntime.jsx("div", {
3071
3101
  "data-testid": "open-tag-info",
3072
3102
  className: `${styles$r.contextWrapper} ${selected ? selectedClassName ? selectedClassName : styles$r.selected : ''}`,
3073
3103
  onClick: () => {
3074
3104
  setExpanded(true);
3075
3105
  },
3076
- children: jsx(TagIconShadowWrapper, {
3106
+ children: jsxRuntime.jsx(TagIconShadowWrapper, {
3077
3107
  children: children
3078
3108
  })
3079
3109
  });
@@ -3116,10 +3146,10 @@ const ContextMenu = ({
3116
3146
  openTagInformation,
3117
3147
  children
3118
3148
  }) => {
3119
- return jsxs("div", {
3149
+ return jsxRuntime.jsxs("div", {
3120
3150
  style: positionStyle,
3121
3151
  className: style$7.wrapper,
3122
- children: [jsx(TagContextMenu, {
3152
+ children: [jsxRuntime.jsx(TagContextMenu, {
3123
3153
  setExpanded: setExpanded,
3124
3154
  openTagInformation: openTagInformation,
3125
3155
  tagNo: tagNo,
@@ -3127,7 +3157,7 @@ const ContextMenu = ({
3127
3157
  expanded: expanded,
3128
3158
  selected: selected,
3129
3159
  selectedClassName: selectedClassName,
3130
- children: jsx(TagIcon, {
3160
+ children: jsxRuntime.jsx(TagIcon, {
3131
3161
  icon: icon,
3132
3162
  legendColor: legendColor
3133
3163
  })
@@ -3184,9 +3214,9 @@ styleInject(css_248z$y);
3184
3214
  const CopyToClipboard = props => {
3185
3215
  var _a;
3186
3216
  if (!props.variant) props.variant = 'neutral';
3187
- const [textIsCopied, setTextIsCopied] = useState(false);
3188
- const edsRef = useRef(null);
3189
- useEffect(function autosizeTextarea() {
3217
+ const [textIsCopied, setTextIsCopied] = React.useState(false);
3218
+ const edsRef = React.useRef(null);
3219
+ React.useEffect(function autosizeTextarea() {
3190
3220
  if (props.multiline && edsRef.current instanceof HTMLTextAreaElement) {
3191
3221
  const textarea = edsRef.current.querySelector('textarea');
3192
3222
  if (textarea) textarea.style.height = String(textarea.scrollHeight) + 'px';
@@ -3214,13 +3244,13 @@ const CopyToClipboard = props => {
3214
3244
  edsInput.disabled = true;
3215
3245
  }
3216
3246
  }
3217
- return jsxs("div", {
3247
+ return jsxRuntime.jsxs("div", {
3218
3248
  className: styles$q.copyToClipboardContainer,
3219
3249
  "aria-label": props.multiline ? `${props.variant}-multiline` : props.variant,
3220
- children: [jsx("div", {
3250
+ children: [jsxRuntime.jsx("div", {
3221
3251
  className: styles$q.textFieldSelector,
3222
3252
  onClick: () => handleReadonlySelect(),
3223
- children: jsx(TextField, {
3253
+ children: jsxRuntime.jsx(edsCoreReact.TextField, {
3224
3254
  ref: edsRef,
3225
3255
  className: styles$q.readonlyInput,
3226
3256
  id: `copy-${(_a = props.copyableText) === null || _a === void 0 ? void 0 : _a.substring(0, 8)}`,
@@ -3228,14 +3258,14 @@ const CopyToClipboard = props => {
3228
3258
  disabled: true,
3229
3259
  multiline: props.multiline
3230
3260
  })
3231
- }), jsxs(Button, {
3261
+ }), jsxRuntime.jsxs(edsCoreReact.Button, {
3232
3262
  "aria-label": `${props.variant}-button`,
3233
3263
  className: styles$q.copyButton,
3234
3264
  variant: "outlined",
3235
3265
  onClick: () => handleClipboard(props.copyableText),
3236
3266
  disabled: !(props.copyableText.length > 0),
3237
3267
  "aria-pressed": textIsCopied,
3238
- children: [jsx(Icon$1, {
3268
+ children: [jsxRuntime.jsx(edsCoreReact.Icon, {
3239
3269
  name: textIsCopied ? 'check' : 'copy'
3240
3270
  }), textIsCopied ? 'Copied' : 'Copy']
3241
3271
  })]
@@ -3309,6 +3339,493 @@ $$1({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }
3309
3339
  assign: assign
3310
3340
  });
3311
3341
 
3342
+ var formatDistanceLocale = {
3343
+ lessThanXSeconds: {
3344
+ one: 'less than a second',
3345
+ other: 'less than {{count}} seconds'
3346
+ },
3347
+ xSeconds: {
3348
+ one: '1 second',
3349
+ other: '{{count}} seconds'
3350
+ },
3351
+ halfAMinute: 'half a minute',
3352
+ lessThanXMinutes: {
3353
+ one: 'less than a minute',
3354
+ other: 'less than {{count}} minutes'
3355
+ },
3356
+ xMinutes: {
3357
+ one: '1 minute',
3358
+ other: '{{count}} minutes'
3359
+ },
3360
+ aboutXHours: {
3361
+ one: 'about 1 hour',
3362
+ other: 'about {{count}} hours'
3363
+ },
3364
+ xHours: {
3365
+ one: '1 hour',
3366
+ other: '{{count}} hours'
3367
+ },
3368
+ xDays: {
3369
+ one: '1 day',
3370
+ other: '{{count}} days'
3371
+ },
3372
+ aboutXWeeks: {
3373
+ one: 'about 1 week',
3374
+ other: 'about {{count}} weeks'
3375
+ },
3376
+ xWeeks: {
3377
+ one: '1 week',
3378
+ other: '{{count}} weeks'
3379
+ },
3380
+ aboutXMonths: {
3381
+ one: 'about 1 month',
3382
+ other: 'about {{count}} months'
3383
+ },
3384
+ xMonths: {
3385
+ one: '1 month',
3386
+ other: '{{count}} months'
3387
+ },
3388
+ aboutXYears: {
3389
+ one: 'about 1 year',
3390
+ other: 'about {{count}} years'
3391
+ },
3392
+ xYears: {
3393
+ one: '1 year',
3394
+ other: '{{count}} years'
3395
+ },
3396
+ overXYears: {
3397
+ one: 'over 1 year',
3398
+ other: 'over {{count}} years'
3399
+ },
3400
+ almostXYears: {
3401
+ one: 'almost 1 year',
3402
+ other: 'almost {{count}} years'
3403
+ }
3404
+ };
3405
+ var formatDistance = function formatDistance(token, count, options) {
3406
+ var result;
3407
+ var tokenValue = formatDistanceLocale[token];
3408
+ if (typeof tokenValue === 'string') {
3409
+ result = tokenValue;
3410
+ } else if (count === 1) {
3411
+ result = tokenValue.one;
3412
+ } else {
3413
+ result = tokenValue.other.replace('{{count}}', count.toString());
3414
+ }
3415
+ if (options !== null && options !== void 0 && options.addSuffix) {
3416
+ if (options.comparison && options.comparison > 0) {
3417
+ return 'in ' + result;
3418
+ } else {
3419
+ return result + ' ago';
3420
+ }
3421
+ }
3422
+ return result;
3423
+ };
3424
+ var formatDistance$1 = formatDistance;
3425
+
3426
+ var formatRelativeLocale = {
3427
+ lastWeek: "'last' eeee 'at' p",
3428
+ yesterday: "'yesterday at' p",
3429
+ today: "'today at' p",
3430
+ tomorrow: "'tomorrow at' p",
3431
+ nextWeek: "eeee 'at' p",
3432
+ other: 'P'
3433
+ };
3434
+ var formatRelative = function formatRelative(token, _date, _baseDate, _options) {
3435
+ return formatRelativeLocale[token];
3436
+ };
3437
+ var formatRelative$1 = formatRelative;
3438
+
3439
+ function buildLocalizeFn(args) {
3440
+ return function (dirtyIndex, options) {
3441
+ var context = options !== null && options !== void 0 && options.context ? String(options.context) : 'standalone';
3442
+ var valuesArray;
3443
+ if (context === 'formatting' && args.formattingValues) {
3444
+ var defaultWidth = args.defaultFormattingWidth || args.defaultWidth;
3445
+ var width = options !== null && options !== void 0 && options.width ? String(options.width) : defaultWidth;
3446
+ valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];
3447
+ } else {
3448
+ var _defaultWidth = args.defaultWidth;
3449
+ var _width = options !== null && options !== void 0 && options.width ? String(options.width) : args.defaultWidth;
3450
+ valuesArray = args.values[_width] || args.values[_defaultWidth];
3451
+ }
3452
+ var index = args.argumentCallback ? args.argumentCallback(dirtyIndex) : dirtyIndex;
3453
+ // @ts-ignore: For some reason TypeScript just don't want to match it, no matter how hard we try. I challenge you to try to remove it!
3454
+ return valuesArray[index];
3455
+ };
3456
+ }
3457
+
3458
+ var eraValues = {
3459
+ narrow: ['B', 'A'],
3460
+ abbreviated: ['BC', 'AD'],
3461
+ wide: ['Before Christ', 'Anno Domini']
3462
+ };
3463
+ var quarterValues = {
3464
+ narrow: ['1', '2', '3', '4'],
3465
+ abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],
3466
+ wide: ['1st quarter', '2nd quarter', '3rd quarter', '4th quarter']
3467
+ };
3468
+
3469
+ // Note: in English, the names of days of the week and months are capitalized.
3470
+ // If you are making a new locale based on this one, check if the same is true for the language you're working on.
3471
+ // Generally, formatted dates should look like they are in the middle of a sentence,
3472
+ // e.g. in Spanish language the weekdays and months should be in the lowercase.
3473
+ var monthValues = {
3474
+ narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
3475
+ abbreviated: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
3476
+ wide: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']
3477
+ };
3478
+ var dayValues = {
3479
+ narrow: ['S', 'M', 'T', 'W', 'T', 'F', 'S'],
3480
+ short: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],
3481
+ abbreviated: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
3482
+ wide: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']
3483
+ };
3484
+ var dayPeriodValues = {
3485
+ narrow: {
3486
+ am: 'a',
3487
+ pm: 'p',
3488
+ midnight: 'mi',
3489
+ noon: 'n',
3490
+ morning: 'morning',
3491
+ afternoon: 'afternoon',
3492
+ evening: 'evening',
3493
+ night: 'night'
3494
+ },
3495
+ abbreviated: {
3496
+ am: 'AM',
3497
+ pm: 'PM',
3498
+ midnight: 'midnight',
3499
+ noon: 'noon',
3500
+ morning: 'morning',
3501
+ afternoon: 'afternoon',
3502
+ evening: 'evening',
3503
+ night: 'night'
3504
+ },
3505
+ wide: {
3506
+ am: 'a.m.',
3507
+ pm: 'p.m.',
3508
+ midnight: 'midnight',
3509
+ noon: 'noon',
3510
+ morning: 'morning',
3511
+ afternoon: 'afternoon',
3512
+ evening: 'evening',
3513
+ night: 'night'
3514
+ }
3515
+ };
3516
+ var formattingDayPeriodValues = {
3517
+ narrow: {
3518
+ am: 'a',
3519
+ pm: 'p',
3520
+ midnight: 'mi',
3521
+ noon: 'n',
3522
+ morning: 'in the morning',
3523
+ afternoon: 'in the afternoon',
3524
+ evening: 'in the evening',
3525
+ night: 'at night'
3526
+ },
3527
+ abbreviated: {
3528
+ am: 'AM',
3529
+ pm: 'PM',
3530
+ midnight: 'midnight',
3531
+ noon: 'noon',
3532
+ morning: 'in the morning',
3533
+ afternoon: 'in the afternoon',
3534
+ evening: 'in the evening',
3535
+ night: 'at night'
3536
+ },
3537
+ wide: {
3538
+ am: 'a.m.',
3539
+ pm: 'p.m.',
3540
+ midnight: 'midnight',
3541
+ noon: 'noon',
3542
+ morning: 'in the morning',
3543
+ afternoon: 'in the afternoon',
3544
+ evening: 'in the evening',
3545
+ night: 'at night'
3546
+ }
3547
+ };
3548
+ var ordinalNumber = function ordinalNumber(dirtyNumber, _options) {
3549
+ var number = Number(dirtyNumber);
3550
+
3551
+ // If ordinal numbers depend on context, for example,
3552
+ // if they are different for different grammatical genders,
3553
+ // use `options.unit`.
3554
+ //
3555
+ // `unit` can be 'year', 'quarter', 'month', 'week', 'date', 'dayOfYear',
3556
+ // 'day', 'hour', 'minute', 'second'.
3557
+
3558
+ var rem100 = number % 100;
3559
+ if (rem100 > 20 || rem100 < 10) {
3560
+ switch (rem100 % 10) {
3561
+ case 1:
3562
+ return number + 'st';
3563
+ case 2:
3564
+ return number + 'nd';
3565
+ case 3:
3566
+ return number + 'rd';
3567
+ }
3568
+ }
3569
+ return number + 'th';
3570
+ };
3571
+ var localize = {
3572
+ ordinalNumber: ordinalNumber,
3573
+ era: buildLocalizeFn({
3574
+ values: eraValues,
3575
+ defaultWidth: 'wide'
3576
+ }),
3577
+ quarter: buildLocalizeFn({
3578
+ values: quarterValues,
3579
+ defaultWidth: 'wide',
3580
+ argumentCallback: function argumentCallback(quarter) {
3581
+ return quarter - 1;
3582
+ }
3583
+ }),
3584
+ month: buildLocalizeFn({
3585
+ values: monthValues,
3586
+ defaultWidth: 'wide'
3587
+ }),
3588
+ day: buildLocalizeFn({
3589
+ values: dayValues,
3590
+ defaultWidth: 'wide'
3591
+ }),
3592
+ dayPeriod: buildLocalizeFn({
3593
+ values: dayPeriodValues,
3594
+ defaultWidth: 'wide',
3595
+ formattingValues: formattingDayPeriodValues,
3596
+ defaultFormattingWidth: 'wide'
3597
+ })
3598
+ };
3599
+ var localize$1 = localize;
3600
+
3601
+ function buildMatchFn(args) {
3602
+ return function (string) {
3603
+ var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
3604
+ var width = options.width;
3605
+ var matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];
3606
+ var matchResult = string.match(matchPattern);
3607
+ if (!matchResult) {
3608
+ return null;
3609
+ }
3610
+ var matchedString = matchResult[0];
3611
+ var parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];
3612
+ var key = Array.isArray(parsePatterns) ? findIndex(parsePatterns, function (pattern) {
3613
+ return pattern.test(matchedString);
3614
+ }) : findKey(parsePatterns, function (pattern) {
3615
+ return pattern.test(matchedString);
3616
+ });
3617
+ var value;
3618
+ value = args.valueCallback ? args.valueCallback(key) : key;
3619
+ value = options.valueCallback ? options.valueCallback(value) : value;
3620
+ var rest = string.slice(matchedString.length);
3621
+ return {
3622
+ value: value,
3623
+ rest: rest
3624
+ };
3625
+ };
3626
+ }
3627
+ function findKey(object, predicate) {
3628
+ for (var key in object) {
3629
+ if (object.hasOwnProperty(key) && predicate(object[key])) {
3630
+ return key;
3631
+ }
3632
+ }
3633
+ return undefined;
3634
+ }
3635
+ function findIndex(array, predicate) {
3636
+ for (var key = 0; key < array.length; key++) {
3637
+ if (predicate(array[key])) {
3638
+ return key;
3639
+ }
3640
+ }
3641
+ return undefined;
3642
+ }
3643
+
3644
+ function buildMatchPatternFn(args) {
3645
+ return function (string) {
3646
+ var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
3647
+ var matchResult = string.match(args.matchPattern);
3648
+ if (!matchResult) return null;
3649
+ var matchedString = matchResult[0];
3650
+ var parseResult = string.match(args.parsePattern);
3651
+ if (!parseResult) return null;
3652
+ var value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];
3653
+ value = options.valueCallback ? options.valueCallback(value) : value;
3654
+ var rest = string.slice(matchedString.length);
3655
+ return {
3656
+ value: value,
3657
+ rest: rest
3658
+ };
3659
+ };
3660
+ }
3661
+
3662
+ var matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i;
3663
+ var parseOrdinalNumberPattern = /\d+/i;
3664
+ var matchEraPatterns = {
3665
+ narrow: /^(b|a)/i,
3666
+ abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
3667
+ wide: /^(before christ|before common era|anno domini|common era)/i
3668
+ };
3669
+ var parseEraPatterns = {
3670
+ any: [/^b/i, /^(a|c)/i]
3671
+ };
3672
+ var matchQuarterPatterns = {
3673
+ narrow: /^[1234]/i,
3674
+ abbreviated: /^q[1234]/i,
3675
+ wide: /^[1234](th|st|nd|rd)? quarter/i
3676
+ };
3677
+ var parseQuarterPatterns = {
3678
+ any: [/1/i, /2/i, /3/i, /4/i]
3679
+ };
3680
+ var matchMonthPatterns = {
3681
+ narrow: /^[jfmasond]/i,
3682
+ abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
3683
+ wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
3684
+ };
3685
+ var parseMonthPatterns = {
3686
+ narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],
3687
+ any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]
3688
+ };
3689
+ var matchDayPatterns = {
3690
+ narrow: /^[smtwf]/i,
3691
+ short: /^(su|mo|tu|we|th|fr|sa)/i,
3692
+ abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
3693
+ wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
3694
+ };
3695
+ var parseDayPatterns = {
3696
+ narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
3697
+ any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
3698
+ };
3699
+ var matchDayPeriodPatterns = {
3700
+ narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
3701
+ any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
3702
+ };
3703
+ var parseDayPeriodPatterns = {
3704
+ any: {
3705
+ am: /^a/i,
3706
+ pm: /^p/i,
3707
+ midnight: /^mi/i,
3708
+ noon: /^no/i,
3709
+ morning: /morning/i,
3710
+ afternoon: /afternoon/i,
3711
+ evening: /evening/i,
3712
+ night: /night/i
3713
+ }
3714
+ };
3715
+ var match = {
3716
+ ordinalNumber: buildMatchPatternFn({
3717
+ matchPattern: matchOrdinalNumberPattern,
3718
+ parsePattern: parseOrdinalNumberPattern,
3719
+ valueCallback: function valueCallback(value) {
3720
+ return parseInt(value, 10);
3721
+ }
3722
+ }),
3723
+ era: buildMatchFn({
3724
+ matchPatterns: matchEraPatterns,
3725
+ defaultMatchWidth: 'wide',
3726
+ parsePatterns: parseEraPatterns,
3727
+ defaultParseWidth: 'any'
3728
+ }),
3729
+ quarter: buildMatchFn({
3730
+ matchPatterns: matchQuarterPatterns,
3731
+ defaultMatchWidth: 'wide',
3732
+ parsePatterns: parseQuarterPatterns,
3733
+ defaultParseWidth: 'any',
3734
+ valueCallback: function valueCallback(index) {
3735
+ return index + 1;
3736
+ }
3737
+ }),
3738
+ month: buildMatchFn({
3739
+ matchPatterns: matchMonthPatterns,
3740
+ defaultMatchWidth: 'wide',
3741
+ parsePatterns: parseMonthPatterns,
3742
+ defaultParseWidth: 'any'
3743
+ }),
3744
+ day: buildMatchFn({
3745
+ matchPatterns: matchDayPatterns,
3746
+ defaultMatchWidth: 'wide',
3747
+ parsePatterns: parseDayPatterns,
3748
+ defaultParseWidth: 'any'
3749
+ }),
3750
+ dayPeriod: buildMatchFn({
3751
+ matchPatterns: matchDayPeriodPatterns,
3752
+ defaultMatchWidth: 'any',
3753
+ parsePatterns: parseDayPeriodPatterns,
3754
+ defaultParseWidth: 'any'
3755
+ })
3756
+ };
3757
+ var match$1 = match;
3758
+
3759
+ function buildFormatLongFn(args) {
3760
+ return function () {
3761
+ var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3762
+ // TODO: Remove String()
3763
+ var width = options.width ? String(options.width) : args.defaultWidth;
3764
+ var format = args.formats[width] || args.formats[args.defaultWidth];
3765
+ return format;
3766
+ };
3767
+ }
3768
+
3769
+ var dateFormats = {
3770
+ full: 'EEEE, d MMMM yyyy',
3771
+ long: 'd MMMM yyyy',
3772
+ medium: 'd MMM yyyy',
3773
+ short: 'dd/MM/yyyy'
3774
+ };
3775
+ var timeFormats = {
3776
+ full: 'HH:mm:ss zzzz',
3777
+ long: 'HH:mm:ss z',
3778
+ medium: 'HH:mm:ss',
3779
+ short: 'HH:mm'
3780
+ };
3781
+ var dateTimeFormats = {
3782
+ full: "{{date}} 'at' {{time}}",
3783
+ long: "{{date}} 'at' {{time}}",
3784
+ medium: '{{date}}, {{time}}',
3785
+ short: '{{date}}, {{time}}'
3786
+ };
3787
+ var formatLong = {
3788
+ date: buildFormatLongFn({
3789
+ formats: dateFormats,
3790
+ defaultWidth: 'full'
3791
+ }),
3792
+ time: buildFormatLongFn({
3793
+ formats: timeFormats,
3794
+ defaultWidth: 'full'
3795
+ }),
3796
+ dateTime: buildFormatLongFn({
3797
+ formats: dateTimeFormats,
3798
+ defaultWidth: 'full'
3799
+ })
3800
+ };
3801
+ var formatLong$1 = formatLong;
3802
+
3803
+ /**
3804
+ * @type {Locale}
3805
+ * @category Locales
3806
+ * @summary English locale (United Kingdom).
3807
+ * @language English
3808
+ * @iso-639-2 eng
3809
+ * @author Alex [@glintik]{@link https://github.com/glintik}
3810
+ */
3811
+ var locale = {
3812
+ code: 'en-GB',
3813
+ formatDistance: formatDistance$1,
3814
+ formatLong: formatLong$1,
3815
+ formatRelative: formatRelative$1,
3816
+ localize: localize$1,
3817
+ match: match$1,
3818
+ options: {
3819
+ weekStartsOn: 1 /* Monday */,
3820
+ firstWeekContainsDate: 4
3821
+ }
3822
+ };
3823
+ var enGb = locale;
3824
+
3825
+ var css_248z$x = ".datePicker-module_ReactDatePicker__HwdfW{display:flex;flex-direction:column;max-width:250px;position:relative;width:100%}.datePicker-module_dateLabel__5DXi5{color:#6f6f6f;font-family:Equinor;font-size:.75rem;font-weight:400;line-height:1.333em;margin-bottom:0;margin-left:8px;position:relative;text-align:left}.datePicker-module_dateInput__jJtch{background-color:#f7f7f7!important;box-shadow:inset 0 -1px 0 0 #6f6f6f;display:inline-block;height:36px;width:100%}.datePicker-module_calendarIcon__Dw54b{bottom:-28px;color:#616161;cursor:pointer;height:20px;position:absolute;right:12px;width:20px;z-index:1}.datePicker-module_closeIcon__vTpuW{color:#616161;cursor:pointer;height:20px!important;width:20px!important;z-index:1}.datePicker-module_clearDateValue__pd8qT{bottom:4px;cursor:pointer;height:30px!important;position:absolute!important;right:9px;width:30px!important}";
3826
+ var style$6 = {"ReactDatePicker":"datePicker-module_ReactDatePicker__HwdfW","dateLabel":"datePicker-module_dateLabel__5DXi5","dateInput":"datePicker-module_dateInput__jJtch","calendarIcon":"datePicker-module_calendarIcon__Dw54b","closeIcon":"datePicker-module_closeIcon__vTpuW","clearDateValue":"datePicker-module_clearDateValue__pd8qT"};
3827
+ styleInject(css_248z$x);
3828
+
3312
3829
  function _typeof(obj) {
3313
3830
  "@babel/helpers - typeof";
3314
3831
 
@@ -3422,9 +3939,9 @@ function getYear(dirtyDate) {
3422
3939
  return toDate(dirtyDate).getFullYear();
3423
3940
  }
3424
3941
 
3425
- var css_248z$x = ".popupHeader-module_popupHeader__D-rFH{align-items:center;column-gap:16px;display:grid;grid-template-columns:20px auto auto 20px;max-width:250px;padding:24px 20px;width:100%}.popupHeader-module_iconButton__Nt2hU{color:#006f79;height:20px;line-height:0;margin:0;padding:0;text-align:center;width:20px}.popupHeader-module_todayLabel__mvmBJ{color:#006f79;cursor:pointer;text-align:right}";
3426
- var style$6 = {"popupHeader":"popupHeader-module_popupHeader__D-rFH","iconButton":"popupHeader-module_iconButton__Nt2hU","todayLabel":"popupHeader-module_todayLabel__mvmBJ"};
3427
- styleInject(css_248z$x);
3942
+ var css_248z$w = ".popupHeader-module_popupHeader__D-rFH{align-items:center;column-gap:16px;display:grid;grid-template-columns:20px auto auto 20px;max-width:250px;padding:24px 20px;width:100%}.popupHeader-module_iconButton__Nt2hU{color:#006f79;height:20px;line-height:0;margin:0;padding:0;text-align:center;width:20px}.popupHeader-module_todayLabel__mvmBJ{color:#006f79;cursor:pointer;text-align:right}";
3943
+ var style$5 = {"popupHeader":"popupHeader-module_popupHeader__D-rFH","iconButton":"popupHeader-module_iconButton__Nt2hU","todayLabel":"popupHeader-module_todayLabel__mvmBJ"};
3944
+ styleInject(css_248z$w);
3428
3945
 
3429
3946
  const PopupHeader = ({
3430
3947
  date,
@@ -3435,51 +3952,48 @@ const PopupHeader = ({
3435
3952
  nextMonthButtonDisabled
3436
3953
  }) => {
3437
3954
  const months = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'];
3438
- return jsxs("div", {
3439
- className: style$6.popupHeader,
3440
- children: [jsx("button", {
3441
- className: style$6.iconButton,
3955
+ return jsxRuntime.jsxs("div", {
3956
+ className: style$5.popupHeader,
3957
+ children: [jsxRuntime.jsx("button", {
3958
+ className: style$5.iconButton,
3442
3959
  onClick: event => {
3443
3960
  event.preventDefault();
3444
3961
  event.stopPropagation();
3445
3962
  decreaseMonth();
3446
3963
  },
3447
3964
  disabled: prevMonthButtonDisabled,
3448
- children: jsx(Icon$1, {
3965
+ children: jsxRuntime.jsx(edsCoreReact.Icon, {
3449
3966
  size: 16,
3450
- data: arrow_back
3967
+ data: edsIcons.arrow_back
3451
3968
  })
3452
- }), jsxs(Typography, {
3969
+ }), jsxRuntime.jsxs(edsCoreReact.Typography, {
3453
3970
  variant: "body_short",
3454
3971
  children: [months[getMonth(date)], " ", getYear(date)]
3455
- }), jsx(Typography, {
3456
- className: style$6.todayLabel,
3972
+ }), jsxRuntime.jsx(edsCoreReact.Typography, {
3973
+ className: style$5.todayLabel,
3457
3974
  variant: "body_short",
3458
3975
  onClick: () => changeDate === null || changeDate === void 0 ? void 0 : changeDate(new Date()),
3459
3976
  children: "Today"
3460
- }), jsx("button", {
3461
- className: style$6.iconButton,
3977
+ }), jsxRuntime.jsx("button", {
3978
+ className: style$5.iconButton,
3462
3979
  onClick: event => {
3463
3980
  event.preventDefault();
3464
3981
  event.stopPropagation();
3465
3982
  increaseMonth();
3466
3983
  },
3467
3984
  disabled: nextMonthButtonDisabled,
3468
- children: jsx(Icon$1, {
3985
+ children: jsxRuntime.jsx(edsCoreReact.Icon, {
3469
3986
  size: 16,
3470
- data: arrow_forward
3987
+ data: edsIcons.arrow_forward
3471
3988
  })
3472
3989
  })]
3473
3990
  });
3474
3991
  };
3475
3992
 
3476
- var css_248z$w = ".datePicker-module_ReactDatePicker__HwdfW{display:flex;flex-direction:column;max-width:250px;position:relative;width:100%}.datePicker-module_dateLabel__5DXi5{color:#6f6f6f;font-family:Equinor;font-size:.75rem;font-weight:400;line-height:1.333em;margin-bottom:0;margin-left:8px;position:relative;text-align:left}.datePicker-module_dateInput__jJtch{background-color:#f7f7f7!important;box-shadow:inset 0 -1px 0 0 #6f6f6f;display:inline-block;height:36px;width:100%}.datePicker-module_calendarIcon__Dw54b{bottom:-28px;color:#616161;cursor:pointer;height:20px;position:absolute;right:12px;width:20px;z-index:1}.datePicker-module_closeIcon__vTpuW{color:#616161;cursor:pointer;height:20px!important;width:20px!important;z-index:1}.datePicker-module_clearDateValue__pd8qT{bottom:4px;cursor:pointer;height:30px!important;position:absolute!important;right:9px;width:30px!important}";
3477
- var style$5 = {"ReactDatePicker":"datePicker-module_ReactDatePicker__HwdfW","dateLabel":"datePicker-module_dateLabel__5DXi5","dateInput":"datePicker-module_dateInput__jJtch","calendarIcon":"datePicker-module_calendarIcon__Dw54b","closeIcon":"datePicker-module_closeIcon__vTpuW","clearDateValue":"datePicker-module_clearDateValue__pd8qT"};
3478
- styleInject(css_248z$w);
3479
-
3480
3993
  var css_248z$v = ".reactDatePicker_EDSPicker__z3yXi .reactDatePicker_react-datepicker__EjHai{font-family:Equinor!important}.reactDatePicker_EDSPicker__z3yXi .reactDatePicker_react-datepicker__header__m7M0R{background-color:#fff;border-bottom:none;line-height:48px;min-height:48px}.reactDatePicker_EDSPicker__z3yXi .reactDatePicker_react-datepicker__navigation--next__HKTJx,.reactDatePicker_EDSPicker__z3yXi .reactDatePicker_react-datepicker__navigation--previous__aenVq{min-height:48px;right:8px;top:6px}.reactDatePicker_react-datepicker__navigation-icon__iglY-:before{border-color:var(--asBuilt)}.reactDatePicker_EDSPicker__z3yXi .reactDatePicker_react-datepicker__current-month__sZHE6{font-weight:500}.reactDatePicker_EDSPicker__z3yXi .reactDatePicker_react-datepicker__day-names__EHGp-{border-top:1px solid #ececec;margin:10px 0 0;padding:10px 0 0;text-align:center}.reactDatePicker_EDSPicker__z3yXi .reactDatePicker_react-datepicker__day-name__IREzf{color:#6f6f6f;font-size:11px;line-height:unset;visibility:hidden;width:35px}.reactDatePicker_EDSPicker__z3yXi .reactDatePicker_react-datepicker__day-name__IREzf:first-letter{visibility:visible}.reactDatePicker_EDSPicker__z3yXi .reactDatePicker_react-datepicker__day__P5XNw{color:#007079;font-weight:500;line-height:35px;width:35px}.reactDatePicker_EDSPicker__z3yXi .reactDatePicker_react-datepicker__day--selected__L4p3V,.reactDatePicker_EDSPicker__z3yXi .reactDatePicker_react-datepicker__month-text--keyboard-selected__-5ZXm,.reactDatePicker_EDSPicker__z3yXi .reactDatePicker_react-datepicker__quarter-text--keyboard-selected__pu7-1,.reactDatePicker_EDSPicker__z3yXi .reactDatePicker_react-datepicker__year-text--keyboard-selected__En4W2{background-color:#007079;color:#fff}.reactDatePicker_EDSPicker__z3yXi .reactDatePicker_react-datepicker__day--keyboard-selected__Ey4Ww{background-color:unset}.reactDatePicker_EDSPicker__z3yXi .reactDatePicker_react-datepicker__day--disabled__Zx1i-{color:#ccc}.reactDatePicker_EDSPicker__z3yXi .reactDatePicker_react-datepicker-popper__1mWle{z-index:4!important}.reactDatePicker_react-datepicker__time-container__k3rBO{border:none;float:left;padding-top:8px;width:100%}.reactDatePicker_react-datepicker__header--time__MZ3AF{padding:0 16px;text-align:left;width:100%}.reactDatePicker_react-datepicker__time-container__k3rBO .reactDatePicker_react-datepicker__time__EFonp .reactDatePicker_react-datepicker__time-box__ADe-m{padding:0 8px;text-align:left;width:100%}";
3481
3994
  styleInject(css_248z$v);
3482
3995
 
3996
+ DatePicker.registerLocale('en-gb', enGb);
3483
3997
  const ReactDatePicker = ({
3484
3998
  label,
3485
3999
  value,
@@ -3493,27 +4007,28 @@ const ReactDatePicker = ({
3493
4007
  maxDate,
3494
4008
  minDate
3495
4009
  }) => {
3496
- const ref = /*#__PURE__*/React__default.createRef();
3497
- const onDateValueChange = useCallback(date => {
4010
+ const ref = /*#__PURE__*/React__default["default"].createRef();
4011
+ const onDateValueChange = React.useCallback(date => {
3498
4012
  onChanged === null || onChanged === void 0 ? void 0 : onChanged(date);
3499
4013
  }, [onChanged]);
3500
- return jsxs("div", {
3501
- className: classnames$1(style$5.ReactDatePicker, 'EDSPicker') + ` ${className !== null && className !== void 0 ? className : ''}`,
3502
- children: [jsxs("label", {
3503
- className: style$5.dateLabel,
4014
+ return jsxRuntime.jsxs("div", {
4015
+ className: classnames__default["default"](style$6.ReactDatePicker, 'EDSPicker') + ` ${className !== null && className !== void 0 ? className : ''}`,
4016
+ children: [jsxRuntime.jsxs("label", {
4017
+ className: style$6.dateLabel,
3504
4018
  htmlFor: id,
3505
4019
  onClick: () => {
3506
4020
  var _a;
3507
4021
  (_a = ref === null || ref === void 0 ? void 0 : ref.current) === null || _a === void 0 ? void 0 : _a.setOpen(true);
3508
4022
  },
3509
- children: [label, !value && jsx(Icon, {
4023
+ children: [label, !value && jsxRuntime.jsx(Icon, {
3510
4024
  color: themeConst.asBuilt,
3511
4025
  name: "calendar",
3512
- className: style$5.calendarIcon
4026
+ className: style$6.calendarIcon
3513
4027
  })]
3514
- }), jsx(DatePicker, {
4028
+ }), jsxRuntime.jsx(DatePicker__default["default"], {
3515
4029
  ref: ref,
3516
- className: style$5.dateInput,
4030
+ locale: "en-gb",
4031
+ className: style$6.dateInput,
3517
4032
  selected: value,
3518
4033
  onChange: onDateValueChange,
3519
4034
  dateFormat: showTimeSelect ? 'dd.MM.yyyy HH:mm' : 'dd.MM.yyyy',
@@ -3535,21 +4050,21 @@ const ReactDatePicker = ({
3535
4050
  autoComplete: 'false',
3536
4051
  popperPlacement: popperPlacement,
3537
4052
  showTimeSelect: showTimeSelect,
3538
- renderCustomHeader: props => jsx(PopupHeader, Object.assign({}, props, {
4053
+ renderCustomHeader: props => jsxRuntime.jsx(PopupHeader, Object.assign({}, props, {
3539
4054
  changeDate: onDateValueChange
3540
4055
  })),
3541
4056
  minDate: maxDate,
3542
4057
  maxDate: minDate
3543
- }), value && jsx(Button, {
3544
- className: style$5.clearDateValue,
4058
+ }), value && jsxRuntime.jsx(edsCoreReact.Button, {
4059
+ className: style$6.clearDateValue,
3545
4060
  variant: 'ghost_icon',
3546
4061
  onClick: () => {
3547
4062
  onChanged(null);
3548
4063
  },
3549
- children: jsx(Icon, {
4064
+ children: jsxRuntime.jsx(Icon, {
3550
4065
  color: themeConst.asBuilt,
3551
4066
  name: "close",
3552
- className: style$5.closeIcon
4067
+ className: style$6.closeIcon
3553
4068
  })
3554
4069
  })]
3555
4070
  });
@@ -3582,21 +4097,21 @@ const DialogGenerator = ({
3582
4097
  isDismissable,
3583
4098
  onClose
3584
4099
  }) => {
3585
- return jsxs(Dialog, {
4100
+ return jsxRuntime.jsxs(edsCoreReact.Dialog, {
3586
4101
  style: dialogStyle,
3587
4102
  open: open,
3588
4103
  isDismissable: isDismissable,
3589
4104
  onClose: () => onClose && onClose(),
3590
- children: [jsx(Dialog.Header, {
3591
- children: jsx(Dialog.Title, {
4105
+ children: [jsxRuntime.jsx(edsCoreReact.Dialog.Header, {
4106
+ children: jsxRuntime.jsx(edsCoreReact.Dialog.Title, {
3592
4107
  children: title
3593
4108
  })
3594
- }), jsx(Dialog.CustomContent, {
4109
+ }), jsxRuntime.jsx(edsCoreReact.Dialog.CustomContent, {
3595
4110
  children: children
3596
- }), actionButtons.length > 0 && jsx(Dialog.Actions, {
4111
+ }), actionButtons.length > 0 && jsxRuntime.jsx(edsCoreReact.Dialog.Actions, {
3597
4112
  className: styles$p.footer,
3598
4113
  children: actionButtons.map((actionButton, index) => {
3599
- return jsx(Button, {
4114
+ return jsxRuntime.jsx(edsCoreReact.Button, {
3600
4115
  onClick: actionButton.onClick,
3601
4116
  variant: actionButton.variant,
3602
4117
  color: actionButton.color,
@@ -3645,24 +4160,24 @@ const Dropdown = ({
3645
4160
  position: _position = 'absolute',
3646
4161
  triggerOpen
3647
4162
  }) => {
3648
- const [isOpen, setIsOpen] = useState(false);
3649
- const buttonRef = useRef(null);
3650
- const [filter, setFilter] = useState('');
3651
- const [filteredData, setFilteredData] = useState([]);
3652
- const [width, setWidth] = useState(0);
3653
- const [height, setHeight] = useState(0);
3654
- const [dropdownId, setDropdownId] = useState('');
3655
- const listRef = useRef(null);
3656
- const wrapperRef = useOnOutsideClick(() => {
4163
+ const [isOpen, setIsOpen] = React.useState(false);
4164
+ const buttonRef = React.useRef(null);
4165
+ const [filter, setFilter] = React.useState('');
4166
+ const [filteredData, setFilteredData] = React.useState([]);
4167
+ const [width, setWidth] = React.useState(0);
4168
+ const [height, setHeight] = React.useState(0);
4169
+ const [dropdownId, setDropdownId] = React.useState('');
4170
+ const listRef = React.useRef(null);
4171
+ const wrapperRef = echoUtils.useOnOutsideClick(() => {
3657
4172
  if (triggerOpen) triggerOpen(false);
3658
4173
  setIsOpen(false);
3659
4174
  });
3660
- useEffect(() => {
4175
+ React.useEffect(() => {
3661
4176
  if (!dropdownId) {
3662
- setDropdownId(generateRandomId());
4177
+ setDropdownId(echoUtils.generateRandomId());
3663
4178
  }
3664
4179
  }, [dropdownId, setDropdownId]);
3665
- useEffect(() => {
4180
+ React.useEffect(() => {
3666
4181
  const dropdownElement = document.getElementById('dropdown-' + dropdownId);
3667
4182
  const widthOffset = 20;
3668
4183
  const heightOffset = showSearch ? 110 : 20;
@@ -3671,7 +4186,7 @@ const Dropdown = ({
3671
4186
  setHeight(dropdownElement.offsetHeight - heightOffset);
3672
4187
  }
3673
4188
  }, [setWidth, setHeight, isOpen, showSearch, dropdownId]);
3674
- useEffect(() => {
4189
+ React.useEffect(() => {
3675
4190
  if (filterFunc && isOpen) {
3676
4191
  setFilteredData(filterFunc(data, filter));
3677
4192
  } else {
@@ -3702,7 +4217,7 @@ const Dropdown = ({
3702
4217
  return text.slice(0, characterLimit).concat('...');
3703
4218
  };
3704
4219
  // This will reset and calculate new dynamic row heights when filteredData changes, i.e., when the user starts typing a search.
3705
- useEffect(() => {
4220
+ React.useEffect(() => {
3706
4221
  if (listRef.current) {
3707
4222
  listRef.current.resetAfterIndex(0);
3708
4223
  }
@@ -3710,23 +4225,23 @@ const Dropdown = ({
3710
4225
  const RenderDropdown = () => {
3711
4226
  var _a, _b;
3712
4227
  const dropdownShow = openDownWards ? styles$o.dropdownDownShow : styles$o.dropdownUpShow;
3713
- const [searchInput, setFocus] = useFocus();
4228
+ const [searchInput, setFocus] = echoUtils.useFocus();
3714
4229
  const estimatedItemSize = 50;
3715
- useEffect(() => {
4230
+ React.useEffect(() => {
3716
4231
  setFocus();
3717
4232
  }, [setFocus]);
3718
4233
  const Row = ({
3719
4234
  index,
3720
4235
  style
3721
4236
  }) => {
3722
- return jsx("button", {
4237
+ return jsxRuntime.jsx("button", {
3723
4238
  style: style,
3724
4239
  tabIndex: 0,
3725
4240
  role: "option",
3726
4241
  "aria-selected": false,
3727
4242
  className: styles$o.options,
3728
4243
  onClick: event => handleItemSelected(event, filteredData[index]),
3729
- children: jsx("div", {
4244
+ children: jsxRuntime.jsx("div", {
3730
4245
  className: styles$o.optionsItem,
3731
4246
  children: filteredData[index]
3732
4247
  })
@@ -3738,7 +4253,7 @@ const Dropdown = ({
3738
4253
  if (ratio < 6.3) return 80;else if (ratio < 8.1) return 65;
3739
4254
  return estimatedItemSize;
3740
4255
  };
3741
- return jsxs("div", {
4256
+ return jsxRuntime.jsxs("div", {
3742
4257
  ref: wrapperRef,
3743
4258
  "data-testid": "dropdown-content",
3744
4259
  id: 'dropdown-' + dropdownId,
@@ -3747,17 +4262,17 @@ const Dropdown = ({
3747
4262
  position: _position
3748
4263
  },
3749
4264
  className: isOpen ? dropdownShow : styles$o.dropdown,
3750
- children: [showSearch && jsx("div", {
4265
+ children: [showSearch && jsxRuntime.jsx("div", {
3751
4266
  className: styles$o.searchWrapper,
3752
- children: jsx(Search, {
4267
+ children: jsxRuntime.jsx(edsCoreReact.Search, {
3753
4268
  onChange: handleSetFilter,
3754
4269
  value: filter,
3755
4270
  ref: searchInput,
3756
4271
  placeholder: 'Search'
3757
4272
  })
3758
- }), jsx("div", {
4273
+ }), jsxRuntime.jsx("div", {
3759
4274
  className: filterFunc ? styles$o.filteredDataListWithSearch : styles$o.filteredDataList,
3760
- children: isOpen && filteredData ? jsx(VariableSizeList, {
4275
+ children: isOpen && filteredData ? jsxRuntime.jsx(reactWindow.VariableSizeList, {
3761
4276
  ref: listRef,
3762
4277
  width: width,
3763
4278
  height: height,
@@ -3769,18 +4284,18 @@ const Dropdown = ({
3769
4284
  })]
3770
4285
  });
3771
4286
  };
3772
- return jsxs("div", {
3773
- children: [!openDownWards && RenderDropdown(), jsxs("button", {
4287
+ return jsxRuntime.jsxs("div", {
4288
+ children: [!openDownWards && RenderDropdown(), jsxRuntime.jsxs("button", {
3774
4289
  "data-testid": "dropdown-button",
3775
4290
  disabled: isDisabled,
3776
4291
  ref: buttonRef,
3777
4292
  className: [variant === 'compact' ? styles$o.dropdownToggleHome : styles$o.dropdownToggle, variant === 'compact' && isOpen === true ? styles$o.dropdownToggleHomeActive : '', variant === 'compact' && selected ? styles$o.dropdownSelected : ''].join(' '),
3778
4293
  onClick: event => handleIsOpenToggle(event),
3779
4294
  title: isDisabled ? _disabledText : 'Choose an option',
3780
- children: [jsx("div", {
4295
+ children: [jsxRuntime.jsx("div", {
3781
4296
  "data-testid": "display-text",
3782
4297
  children: selected.length > 0 ? generateDisplayText(selected, maxCharacterCount) : placeholder
3783
- }), jsx(Icon, {
4298
+ }), jsxRuntime.jsx(Icon, {
3784
4299
  name: "arrow_drop_down",
3785
4300
  title: "Choose options",
3786
4301
  color: isDisabled ? themeConst.disabledColor : themeConst.asBuilt,
@@ -3798,9 +4313,9 @@ const EchoBottomBar = ({
3798
4313
  children,
3799
4314
  style
3800
4315
  }) => {
3801
- return jsx("div", {
4316
+ return jsxRuntime.jsx("div", {
3802
4317
  className: styles$n.barWrapper,
3803
- children: jsx("div", {
4318
+ children: jsxRuntime.jsx("div", {
3804
4319
  className: styles$n.barContainer,
3805
4320
  style: style,
3806
4321
  children: children
@@ -3817,12 +4332,12 @@ const Body = ({
3817
4332
  children,
3818
4333
  className
3819
4334
  }) => {
3820
- return jsxs("div", {
4335
+ return jsxRuntime.jsxs("div", {
3821
4336
  className: `${style$4.body} ${className}`,
3822
- children: [jsx("p", {
4337
+ children: [jsxRuntime.jsx("p", {
3823
4338
  className: style$4.bodyText,
3824
4339
  children: bodyText
3825
- }), jsx("div", {
4340
+ }), jsxRuntime.jsx("div", {
3826
4341
  children: children
3827
4342
  })]
3828
4343
  });
@@ -3835,22 +4350,22 @@ const DateSection = ({
3835
4350
  className
3836
4351
  }) => {
3837
4352
  const months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'June', 'July', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
3838
- return jsxs("div", {
4353
+ return jsxRuntime.jsxs("div", {
3839
4354
  className: `${style$4.dateSection} ${className}`,
3840
- children: [date && jsxs(Fragment, {
3841
- children: [jsx("span", {
4355
+ children: [date && jsxRuntime.jsxs(jsxRuntime.Fragment, {
4356
+ children: [jsxRuntime.jsx("span", {
3842
4357
  children: dateSectionText
3843
- }), jsxs("div", {
4358
+ }), jsxRuntime.jsxs("div", {
3844
4359
  className: style$4.date,
3845
- children: [jsxs("span", {
4360
+ children: [jsxRuntime.jsxs("span", {
3846
4361
  className: style$4.dayOfMonth,
3847
4362
  children: [" ", new Date(date).getDate()]
3848
- }), jsxs("span", {
4363
+ }), jsxRuntime.jsxs("span", {
3849
4364
  className: style$4.monthText,
3850
4365
  children: [months[new Date(date).getMonth()], " ", new Date(date).getFullYear()]
3851
4366
  })]
3852
4367
  })]
3853
- }), jsx("div", {
4368
+ }), jsxRuntime.jsx("div", {
3854
4369
  children: children
3855
4370
  })]
3856
4371
  });
@@ -3861,7 +4376,7 @@ const EchoCard$1 = ({
3861
4376
  className,
3862
4377
  style
3863
4378
  }) => {
3864
- return jsx("div", {
4379
+ return jsxRuntime.jsx("div", {
3865
4380
  className: `${style$4.cardContainer} ${className}`,
3866
4381
  style: style,
3867
4382
  children: children
@@ -3875,20 +4390,20 @@ const LinkSection = ({
3875
4390
  }) => {
3876
4391
  const linkActionSection = linkSectionIcons && linkSectionIcons.map(icon => {
3877
4392
  if (icon.onClick) {
3878
- return jsx(Button, {
4393
+ return jsxRuntime.jsx(edsCoreReact.Button, {
3879
4394
  variant: "ghost_icon",
3880
4395
  onClick: icon.onClick,
3881
4396
  className: style$4.iconContainer,
3882
- children: jsx(Icon$1, {
4397
+ children: jsxRuntime.jsx(edsCoreReact.Icon, {
3883
4398
  color: icon.color,
3884
4399
  name: icon.name,
3885
4400
  title: icon.name
3886
4401
  })
3887
4402
  }, icon.name);
3888
4403
  } else {
3889
- return jsx("div", {
4404
+ return jsxRuntime.jsx("div", {
3890
4405
  className: style$4.iconContainer,
3891
- children: jsx(Icon$1, {
4406
+ children: jsxRuntime.jsx(edsCoreReact.Icon, {
3892
4407
  color: icon.color,
3893
4408
  name: icon.name,
3894
4409
  title: icon.name
@@ -3896,7 +4411,7 @@ const LinkSection = ({
3896
4411
  }, icon.name);
3897
4412
  }
3898
4413
  });
3899
- return jsxs("div", {
4414
+ return jsxRuntime.jsxs("div", {
3900
4415
  className: `${style$4.linkSection} ${className}`,
3901
4416
  children: [children, linkActionSection]
3902
4417
  });
@@ -3910,20 +4425,20 @@ const Title = ({
3910
4425
  }) => {
3911
4426
  const headerActionSection = headerIcons && headerIcons.map(icon => {
3912
4427
  if (icon.onClick) {
3913
- return jsx(Button, {
4428
+ return jsxRuntime.jsx(edsCoreReact.Button, {
3914
4429
  variant: "ghost_icon",
3915
4430
  onClick: icon.onClick,
3916
4431
  className: style$4.iconContainer,
3917
- children: jsx(Icon, {
4432
+ children: jsxRuntime.jsx(Icon, {
3918
4433
  color: icon.color,
3919
4434
  name: icon.name,
3920
4435
  title: icon.name
3921
4436
  })
3922
4437
  }, icon.name);
3923
4438
  } else {
3924
- return jsx("div", {
4439
+ return jsxRuntime.jsx("div", {
3925
4440
  className: style$4.iconContainer,
3926
- children: jsx(Icon, {
4441
+ children: jsxRuntime.jsx(Icon, {
3927
4442
  color: icon.color,
3928
4443
  name: icon.name,
3929
4444
  title: icon.name
@@ -3931,16 +4446,16 @@ const Title = ({
3931
4446
  }, icon.name);
3932
4447
  }
3933
4448
  });
3934
- const titleClassNames = classnames$1(style$4.titleSection, {
4449
+ const titleClassNames = classnames__default["default"](style$4.titleSection, {
3935
4450
  [style$4.titlePadding]: headerIcons && headerIcons.length > 0
3936
4451
  });
3937
- return jsxs("div", {
4452
+ return jsxRuntime.jsxs("div", {
3938
4453
  className: `${titleClassNames} ${className}`,
3939
- children: [jsx("span", {
4454
+ children: [jsxRuntime.jsx("span", {
3940
4455
  className: style$4.tileHeaderTitle,
3941
4456
  onClick: onHeaderClick,
3942
4457
  children: headerTitle
3943
- }), jsx("div", {
4458
+ }), jsxRuntime.jsx("div", {
3944
4459
  className: style$4.iconContainer,
3945
4460
  children: headerActionSection
3946
4461
  })]
@@ -3976,27 +4491,27 @@ const EchoHeader = ({
3976
4491
  }) => {
3977
4492
  const CustomSection = customHeaderSection;
3978
4493
  const ModuleIcon = _moduleIcon;
3979
- return jsxs("header", {
4494
+ return jsxRuntime.jsxs("header", {
3980
4495
  className: styles$m.headerWrapper,
3981
- children: [jsxs("div", {
4496
+ children: [jsxRuntime.jsxs("div", {
3982
4497
  className: styles$m.headerContainer,
3983
- children: [typeof ModuleIcon == 'string' ? jsx(Icon, {
4498
+ children: [typeof ModuleIcon == 'string' ? jsxRuntime.jsx(Icon, {
3984
4499
  className: styles$m.moduleIcon,
3985
4500
  name: ModuleIcon,
3986
4501
  color: themeConst.asBuilt
3987
- }) : jsx(ModuleIcon, {}), jsxs("div", {
4502
+ }) : jsxRuntime.jsx(ModuleIcon, {}), jsxRuntime.jsxs("div", {
3988
4503
  className: styles$m.titleSection,
3989
- children: [jsx("h2", {
4504
+ children: [jsxRuntime.jsx("h2", {
3990
4505
  className: styles$m.moduleTextTitle,
3991
4506
  children: _moduleTitle
3992
- }), plantName && jsx("div", {
4507
+ }), plantName && jsxRuntime.jsx("div", {
3993
4508
  className: styles$m.plantName,
3994
4509
  children: '- ' + plantName
3995
4510
  })]
3996
4511
  })]
3997
- }), jsx("div", {
4512
+ }), jsxRuntime.jsx("div", {
3998
4513
  className: styles$m.customSection,
3999
- children: CustomSection && jsx(CustomSection, {})
4514
+ children: CustomSection && jsxRuntime.jsx(CustomSection, {})
4000
4515
  })]
4001
4516
  });
4002
4517
  };
@@ -4007,43 +4522,43 @@ function useTooltip({
4007
4522
  open: controlledOpen,
4008
4523
  onOpenChange: setControlledOpen
4009
4524
  } = {}) {
4010
- const [uncontrolledOpen, setUncontrolledOpen] = useState(initialOpen);
4525
+ const [uncontrolledOpen, setUncontrolledOpen] = React.useState(initialOpen);
4011
4526
  const open = controlledOpen !== null && controlledOpen !== void 0 ? controlledOpen : uncontrolledOpen;
4012
4527
  const setOpen = setControlledOpen !== null && setControlledOpen !== void 0 ? setControlledOpen : setUncontrolledOpen;
4013
4528
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
4014
- const data = useFloating({
4529
+ const data = react.useFloating({
4015
4530
  placement,
4016
4531
  open,
4017
4532
  onOpenChange: setOpen,
4018
- whileElementsMounted: autoUpdate,
4019
- middleware: [offset(5), flip({
4533
+ whileElementsMounted: react.autoUpdate,
4534
+ middleware: [react.offset(5), react.flip({
4020
4535
  fallbackAxisSideDirection: 'start',
4021
4536
  crossAxis: placement.includes('-')
4022
- }), shift({
4537
+ }), react.shift({
4023
4538
  padding: 8
4024
4539
  })]
4025
4540
  });
4026
4541
  const context = data.context;
4027
- const hover = useHover(context, {
4542
+ const hover = react.useHover(context, {
4028
4543
  move: false,
4029
4544
  enabled: controlledOpen == null
4030
4545
  });
4031
- const focus = useFocus$1(context, {
4546
+ const focus = react.useFocus(context, {
4032
4547
  enabled: controlledOpen == null
4033
4548
  });
4034
- const dismiss = useDismiss(context);
4035
- const role = useRole(context, {
4549
+ const dismiss = react.useDismiss(context);
4550
+ const role = react.useRole(context, {
4036
4551
  role: 'tooltip'
4037
4552
  });
4038
- const interactions = useInteractions([hover, focus, dismiss, role]);
4039
- return useMemo(() => Object.assign(Object.assign({
4553
+ const interactions = react.useInteractions([hover, focus, dismiss, role]);
4554
+ return React.useMemo(() => Object.assign(Object.assign({
4040
4555
  open,
4041
4556
  setOpen
4042
4557
  }, interactions), data), [open, setOpen, interactions, data]);
4043
4558
  }
4044
- const TooltipContext = /*#__PURE__*/createContext(null);
4559
+ const TooltipContext = /*#__PURE__*/React.createContext(null);
4045
4560
  const useTooltipContext = () => {
4046
- const context = useContext(TooltipContext);
4561
+ const context = React.useContext(TooltipContext);
4047
4562
  if (context == null) {
4048
4563
  throw new Error('Tooltip components must be wrapped in <Tooltip />');
4049
4564
  }
@@ -4057,12 +4572,12 @@ function Tooltip(_a) {
4057
4572
  options = __rest(_a, ["children"]);
4058
4573
  // The hook accepts props as options or other positioning attributes
4059
4574
  const tooltip = useTooltip(options);
4060
- return jsx(TooltipContext.Provider, {
4575
+ return jsxRuntime.jsx(TooltipContext.Provider, {
4061
4576
  value: tooltip,
4062
4577
  children: children
4063
4578
  });
4064
4579
  }
4065
- const TooltipAnchor = /*#__PURE__*/forwardRef(function TooltipAnchor(_a, propRef) {
4580
+ const TooltipAnchor = /*#__PURE__*/React.forwardRef(function TooltipAnchor(_a, propRef) {
4066
4581
  var {
4067
4582
  children
4068
4583
  } = _a,
@@ -4070,27 +4585,27 @@ const TooltipAnchor = /*#__PURE__*/forwardRef(function TooltipAnchor(_a, propRef
4070
4585
  const context = useTooltipContext();
4071
4586
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
4072
4587
  const childrenRef = children.ref;
4073
- const ref = useMergeRefs([context.refs.setReference, propRef, childrenRef]);
4074
- if ( /*#__PURE__*/isValidElement(children)) {
4075
- return /*#__PURE__*/cloneElement(children, context.getReferenceProps(Object.assign(Object.assign(Object.assign({
4588
+ const ref = react.useMergeRefs([context.refs.setReference, propRef, childrenRef]);
4589
+ if ( /*#__PURE__*/React.isValidElement(children)) {
4590
+ return /*#__PURE__*/React.cloneElement(children, context.getReferenceProps(Object.assign(Object.assign(Object.assign({
4076
4591
  ref
4077
4592
  }, props), children.props), {
4078
4593
  'data-state': context.open ? 'open' : 'closed'
4079
4594
  })));
4080
4595
  }
4081
- return jsx("div", Object.assign({
4596
+ return jsxRuntime.jsx("div", Object.assign({
4082
4597
  ref: ref,
4083
4598
  "data-state": context.open ? 'open' : 'closed'
4084
4599
  }, context.getReferenceProps(props), {
4085
4600
  children: children
4086
4601
  }));
4087
4602
  });
4088
- const TooltipContent = /*#__PURE__*/forwardRef(function TooltipContent(props, propRef) {
4603
+ const TooltipContent = /*#__PURE__*/React.forwardRef(function TooltipContent(props, propRef) {
4089
4604
  var _a, _b;
4090
4605
  const context = useTooltipContext();
4091
- const ref = useMergeRefs([context.refs.setFloating, propRef]);
4092
- return jsx(FloatingPortal, {
4093
- children: context.open && jsx("div", Object.assign({
4606
+ const ref = react.useMergeRefs([context.refs.setFloating, propRef]);
4607
+ return jsxRuntime.jsx(react.FloatingPortal, {
4608
+ children: context.open && jsxRuntime.jsx("div", Object.assign({
4094
4609
  ref: ref,
4095
4610
  style: Object.assign({
4096
4611
  position: context.strategy,
@@ -4150,16 +4665,16 @@ const FloatingActionButton = ({
4150
4665
  active,
4151
4666
  onClick
4152
4667
  }) => {
4153
- return jsxs(Button, {
4668
+ return jsxRuntime.jsxs(edsCoreReact.Button, {
4154
4669
  "aria-label": ariaLabel !== null && ariaLabel !== void 0 ? ariaLabel : label,
4155
4670
  onClick: onClick,
4156
4671
  className: `${style$3.button} ${!disabled && style$3.primary} ${active && style$3.active} ${getEchoVariantStyle(variant)}`,
4157
4672
  variant: getEdsVariant(variant),
4158
4673
  disabled: disabled !== null && disabled !== void 0 ? disabled : false,
4159
- children: [jsx(Icon$1, {
4674
+ children: [jsxRuntime.jsx(edsCoreReact.Icon, {
4160
4675
  name: iconName,
4161
4676
  className: style$3.icon
4162
- }), (variant === 'square_icon_with_text' || variant === 'square_icon_with_text_below') && label && jsx("span", {
4677
+ }), (variant === 'square_icon_with_text' || variant === 'square_icon_with_text_below') && label && jsxRuntime.jsx("span", {
4163
4678
  children: label
4164
4679
  })]
4165
4680
  });
@@ -4180,7 +4695,7 @@ const InlineTagIconLink = ({
4180
4695
  }) => {
4181
4696
  const showEDSOrCustomIcon = iconToShow => {
4182
4697
  if (typeof iconToShow === 'string') {
4183
- return jsx(Icon, {
4698
+ return jsxRuntime.jsx(Icon, {
4184
4699
  name: iconToShow,
4185
4700
  color: 'white',
4186
4701
  title: iconToShow
@@ -4190,23 +4705,23 @@ const InlineTagIconLink = ({
4190
4705
  }
4191
4706
  };
4192
4707
  const buttonStyle = disableHover ? styles$l.tagButtonNoHover : styles$l.tagButton;
4193
- return jsxs(Button, {
4708
+ return jsxRuntime.jsxs(edsCoreReact.Button, {
4194
4709
  variant: 'ghost',
4195
4710
  onClick: onClickHandler,
4196
4711
  className: buttonStyle,
4197
- children: [jsxs("div", {
4712
+ children: [jsxRuntime.jsxs("div", {
4198
4713
  style: {
4199
4714
  background: legendColor
4200
4715
  },
4201
4716
  className: styles$l.icon,
4202
4717
  children: [tagCategoryDescription && getIcon(tagCategoryDescription !== null && tagCategoryDescription !== void 0 ? tagCategoryDescription : ''), !tagCategoryDescription && icon && showEDSOrCustomIcon(icon)]
4203
- }), jsxs("div", {
4718
+ }), jsxRuntime.jsxs("div", {
4204
4719
  className: styles$l.textContainer,
4205
- children: [jsx(Typography, {
4720
+ children: [jsxRuntime.jsx(edsCoreReact.Typography, {
4206
4721
  variant: "body_short_link",
4207
4722
  className: styles$l.tag,
4208
4723
  children: tagNo
4209
- }), jsx(Typography, {
4724
+ }), jsxRuntime.jsx(edsCoreReact.Typography, {
4210
4725
  className: styles$l.description,
4211
4726
  variant: "body_short",
4212
4727
  children: description
@@ -4400,8 +4915,8 @@ $({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
4400
4915
  * @returns boolean true if on mobile.
4401
4916
  */
4402
4917
  function useIsMobile() {
4403
- const [isMobile, setIsMobile] = useState(false);
4404
- useInitial(() => {
4918
+ const [isMobile, setIsMobile] = React.useState(false);
4919
+ echoUtils.useInitial(() => {
4405
4920
  if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {
4406
4921
  // true for mobile device
4407
4922
  setIsMobile(true);
@@ -4437,15 +4952,15 @@ function MainLegend({
4437
4952
  legendStyle,
4438
4953
  legendContentStyle
4439
4954
  }) {
4440
- const [defaultLayers, setDefaultLayers] = useState([]);
4441
- const [uniqueLayers, setUniqueLayers] = useState([]);
4442
- const [isOpen, setIsOpen] = useState(false);
4955
+ const [defaultLayers, setDefaultLayers] = React.useState([]);
4956
+ const [uniqueLayers, setUniqueLayers] = React.useState([]);
4957
+ const [isOpen, setIsOpen] = React.useState(false);
4443
4958
  const isMobile = useIsMobile();
4444
4959
  const toggle = () => {
4445
4960
  setIsOpen(isOpen => !isOpen);
4446
4961
  };
4447
4962
  // Set icons on main layer
4448
- useEffect(() => {
4963
+ React.useEffect(() => {
4449
4964
  const [iconLayers, nonIconLayers] = separateLayers(layers);
4450
4965
  setUniqueLayers(iconLayers);
4451
4966
  setDefaultLayers(nonIconLayers);
@@ -4462,52 +4977,52 @@ function MainLegend({
4462
4977
  [styles$k.contentMobile]: isMobile,
4463
4978
  [styles$k.content]: !isMobile
4464
4979
  });
4465
- return jsxs(Fragment, {
4466
- children: [isOpen && jsx("div", {
4980
+ return jsxRuntime.jsxs(jsxRuntime.Fragment, {
4981
+ children: [isOpen && jsxRuntime.jsx("div", {
4467
4982
  style: legendContentStyle,
4468
4983
  className: content,
4469
4984
  children: legends
4470
- }), jsxs("button", {
4985
+ }), jsxRuntime.jsxs("button", {
4471
4986
  style: legendStyle,
4472
4987
  className: accordion,
4473
4988
  onClick: toggle,
4474
- children: [jsxs("div", {
4989
+ children: [jsxRuntime.jsxs("div", {
4475
4990
  className: styles$k.left,
4476
- children: [jsx(Icon$1, {
4991
+ children: [jsxRuntime.jsx(edsCoreReact.Icon, {
4477
4992
  className: styles$k.icon,
4478
4993
  size: 24,
4479
4994
  name: "map_legend_info"
4480
- }), isOpen ? jsxs(Fragment, {
4481
- children: [jsx("div", {
4995
+ }), isOpen ? jsxRuntime.jsxs(jsxRuntime.Fragment, {
4996
+ children: [jsxRuntime.jsx("div", {
4482
4997
  children: "Minimize map legend"
4483
- }), jsx(Icon$1, {
4998
+ }), jsxRuntime.jsx(edsCoreReact.Icon, {
4484
4999
  className: styles$k.icon,
4485
5000
  size: 24,
4486
5001
  name: "chevron_down"
4487
5002
  })]
4488
- }) : jsxs(Fragment, {
4489
- children: [jsx("div", {
5003
+ }) : jsxRuntime.jsxs(jsxRuntime.Fragment, {
5004
+ children: [jsxRuntime.jsx("div", {
4490
5005
  children: "Expand map legend"
4491
- }), jsx(Icon$1, {
5006
+ }), jsxRuntime.jsx(edsCoreReact.Icon, {
4492
5007
  className: styles$k.icon,
4493
5008
  size: 24,
4494
5009
  name: "chevron_up"
4495
5010
  })]
4496
5011
  })]
4497
- }), !isMobile && !isOpen && jsxs("div", {
5012
+ }), !isMobile && !isOpen && jsxRuntime.jsxs("div", {
4498
5013
  className: styles$k.right,
4499
- children: [uniqueLayers.map((layer, index) => jsx("div", {
5014
+ children: [uniqueLayers.map((layer, index) => jsxRuntime.jsx("div", {
4500
5015
  className: styles$k.layerIcon,
4501
- children: jsx(Tooltip$1, {
5016
+ children: jsxRuntime.jsx(edsCoreReact.Tooltip, {
4502
5017
  title: layer.title,
4503
- children: jsx(Icon$1, {
5018
+ children: jsxRuntime.jsx(edsCoreReact.Icon, {
4504
5019
  size: 18,
4505
5020
  name: layer.iconName
4506
5021
  })
4507
5022
  })
4508
- }, layer.title + index)), defaultLayers.length > 0 && jsx(Tooltip$1, {
5023
+ }, layer.title + index)), defaultLayers.length > 0 && jsxRuntime.jsx(edsCoreReact.Tooltip, {
4509
5024
  title: displayDefaultLayerNames(),
4510
- children: jsxs("div", {
5025
+ children: jsxRuntime.jsxs("div", {
4511
5026
  children: ["+", defaultLayers.length]
4512
5027
  })
4513
5028
  })]
@@ -4518,11 +5033,11 @@ function MainLegend({
4518
5033
 
4519
5034
  const useEventListener = (eventName, handler, options, element = document) => {
4520
5035
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
4521
- const savedHandler = useRef();
4522
- useEffect(() => {
5036
+ const savedHandler = React.useRef();
5037
+ React.useEffect(() => {
4523
5038
  savedHandler.current = handler;
4524
5039
  }, [handler]);
4525
- useEffect(() => {
5040
+ React.useEffect(() => {
4526
5041
  if (!element || !element.addEventListener) {
4527
5042
  return;
4528
5043
  }
@@ -4544,7 +5059,7 @@ const Keys = {
4544
5059
  Escape: 'escape'
4545
5060
  };
4546
5061
  const useKeyboardNavigation = (keyboardEvents, listenerTarget = document) => {
4547
- const handleKeyDown = useCallback(e => {
5062
+ const handleKeyDown = React.useCallback(e => {
4548
5063
  const key = Keys[e.key];
4549
5064
  const handler = keyboardEvents[key];
4550
5065
  if (handler) {
@@ -4557,9 +5072,9 @@ const useKeyboardNavigation = (keyboardEvents, listenerTarget = document) => {
4557
5072
  * Handles keyboard navigation and key events in the floating search bar suggestions.
4558
5073
  */
4559
5074
  const useSearchBarSectionNavigator = (sections, initialSelected, keyboardEvents, listenerTarget = document) => {
4560
- const [focusedSection, setFocusedSection] = useState(initialSelected);
4561
- const [focusedOption, setFocusedOption] = useState(initialSelected);
4562
- const up = useCallback(() => {
5075
+ const [focusedSection, setFocusedSection] = React.useState(initialSelected);
5076
+ const [focusedOption, setFocusedOption] = React.useState(initialSelected);
5077
+ const up = React.useCallback(() => {
4563
5078
  let nextSection = focusedSection;
4564
5079
  let nextOption = focusedOption;
4565
5080
  if (nextOption > 0) {
@@ -4589,7 +5104,7 @@ const useSearchBarSectionNavigator = (sections, initialSelected, keyboardEvents,
4589
5104
  }
4590
5105
  }
4591
5106
  }, [sections, focusedSection, focusedOption]);
4592
- const down = useCallback(() => {
5107
+ const down = React.useCallback(() => {
4593
5108
  var _a, _b;
4594
5109
  const nextSection = focusedSection;
4595
5110
  const nextOption = focusedOption;
@@ -4614,7 +5129,7 @@ const useSearchBarSectionNavigator = (sections, initialSelected, keyboardEvents,
4614
5129
  }
4615
5130
  }
4616
5131
  }, [sections, focusedSection, focusedOption]);
4617
- const enter = useCallback(() => {
5132
+ const enter = React.useCallback(() => {
4618
5133
  if (keyboardEvents.enter) {
4619
5134
  if (focusedOption === -1 && focusedSection === -1) {
4620
5135
  return;
@@ -4622,7 +5137,7 @@ const useSearchBarSectionNavigator = (sections, initialSelected, keyboardEvents,
4622
5137
  keyboardEvents.enter(focusedSection, focusedOption);
4623
5138
  }
4624
5139
  }, [focusedSection, focusedOption, keyboardEvents]);
4625
- const escape = useCallback(() => {
5140
+ const escape = React.useCallback(() => {
4626
5141
  keyboardEvents.escape && keyboardEvents.escape();
4627
5142
  }, [focusedSection, focusedOption, keyboardEvents]);
4628
5143
  useKeyboardNavigation({
@@ -4650,7 +5165,7 @@ function LayerLegend({
4650
5165
  disabled,
4651
5166
  style
4652
5167
  }) {
4653
- const [isOpen, setIsOpen] = useState(false);
5168
+ const [isOpen, setIsOpen] = React.useState(false);
4654
5169
  const isMobile = useIsMobile();
4655
5170
  const toggle = () => {
4656
5171
  setIsOpen(isOpen => !isOpen);
@@ -4663,40 +5178,40 @@ function LayerLegend({
4663
5178
  [styles$j.mobileHeader]: isMobile,
4664
5179
  [styles$j.desktopHeader]: !isMobile
4665
5180
  });
4666
- return jsxs("div", {
5181
+ return jsxRuntime.jsxs("div", {
4667
5182
  style: style,
4668
5183
  className: styles$j.layerLegendContainer,
4669
- children: [jsxs("button", {
5184
+ children: [jsxRuntime.jsxs("button", {
4670
5185
  className: disabled ? styles$j.disabledHeader : header,
4671
5186
  onClick: toggle,
4672
5187
  "aria-expanded": isOpen,
4673
5188
  "aria-controls": "legendContent",
4674
5189
  disabled: disabled,
4675
- children: [jsxs("div", {
5190
+ children: [jsxRuntime.jsxs("div", {
4676
5191
  className: left,
4677
- children: [iconName && jsx(Icon$1, {
5192
+ children: [iconName && jsxRuntime.jsx(edsCoreReact.Icon, {
4678
5193
  className: styles$j.icon,
4679
5194
  size: 18,
4680
5195
  name: iconName
4681
- }), jsx("div", {
5196
+ }), jsxRuntime.jsx("div", {
4682
5197
  className: styles$j.title,
4683
5198
  children: title
4684
5199
  })]
4685
- }), jsxs("div", {
5200
+ }), jsxRuntime.jsxs("div", {
4686
5201
  className: styles$j.right,
4687
- children: [!isMobile && jsxs(Fragment, {
4688
- children: [jsxs("div", {
5202
+ children: [!isMobile && jsxRuntime.jsxs(jsxRuntime.Fragment, {
5203
+ children: [jsxRuntime.jsxs("div", {
4689
5204
  className: styles$j.items,
4690
5205
  children: [itemsTitle ? itemsTitle.toUpperCase() : 'ITEMS', ":"]
4691
- }), jsx("div", {
5206
+ }), jsxRuntime.jsx("div", {
4692
5207
  children: itemsCount
4693
5208
  })]
4694
- }), disabled ? null : jsx(Icon$1, {
5209
+ }), disabled ? null : jsxRuntime.jsx(edsCoreReact.Icon, {
4695
5210
  size: 24,
4696
5211
  name: `${isOpen ? 'chevron_up' : 'chevron_down'}`
4697
5212
  })]
4698
5213
  })]
4699
- }), isOpen && jsx("div", {
5214
+ }), isOpen && jsxRuntime.jsx("div", {
4700
5215
  id: "legendContent",
4701
5216
  className: styles$j.content,
4702
5217
  children: children
@@ -4721,21 +5236,21 @@ function ListItem(props) {
4721
5236
  const containerClassNames = classnames(styles$i.listItemContainer, {
4722
5237
  [styles$i.hoverItem]: !!props.onCardClick
4723
5238
  }, props.className);
4724
- return jsxs(Container, {
5239
+ return jsxRuntime.jsxs(Container, {
4725
5240
  href: props.href,
4726
5241
  className: containerClassNames,
4727
5242
  style: props.style,
4728
5243
  onClick: props.onCardClick,
4729
- children: [props.listAction, props.visual, props.icon && jsx("div", {
5244
+ children: [props.listAction, props.visual, props.icon && jsxRuntime.jsx("div", {
4730
5245
  className: styles$i.icon,
4731
5246
  style: {
4732
5247
  backgroundColor: props.icon.backgroundColor
4733
5248
  },
4734
- children: jsx(Icon$1, {
5249
+ children: jsxRuntime.jsx(edsCoreReact.Icon, {
4735
5250
  name: props.icon.name,
4736
5251
  color: props.icon.color
4737
5252
  })
4738
- }), jsxs("div", {
5253
+ }), jsxRuntime.jsxs("div", {
4739
5254
  className: styles$i.infoContainer,
4740
5255
  children: [primary, secondary, tertiary]
4741
5256
  }), caption, props.itemAction]
@@ -4744,7 +5259,7 @@ function ListItem(props) {
4744
5259
  function resolvePropToComponent(variant, prop, group) {
4745
5260
  if (prop) {
4746
5261
  if (typeof prop === 'string') {
4747
- return jsx(Typography, {
5262
+ return jsxRuntime.jsx(edsCoreReact.Typography, {
4748
5263
  variant: variant,
4749
5264
  group: group,
4750
5265
  children: prop
@@ -4786,73 +5301,73 @@ const ListRow = ({
4786
5301
  expandable,
4787
5302
  style
4788
5303
  }) => {
4789
- return jsxs("div", {
5304
+ return jsxRuntime.jsxs("div", {
4790
5305
  className: styles$h.wrapper,
4791
5306
  style: style,
4792
- children: [jsxs("div", {
5307
+ children: [jsxRuntime.jsxs("div", {
4793
5308
  className: styles$h.row,
4794
- children: [jsxs("div", {
5309
+ children: [jsxRuntime.jsxs("div", {
4795
5310
  className: styles$h.infoCol,
4796
- children: [isDraggable && jsx("div", {
5311
+ children: [isDraggable && jsxRuntime.jsx("div", {
4797
5312
  className: styles$h.draggable,
4798
- children: jsx(Icon, {
5313
+ children: jsxRuntime.jsx(Icon, {
4799
5314
  name: "unfold_more",
4800
5315
  title: "Move",
4801
5316
  color: themeConst.asBuilt
4802
5317
  })
4803
- }), jsxs("div", {
5318
+ }), jsxRuntime.jsxs("div", {
4804
5319
  className: styles$h.info,
4805
- children: [item.title && jsx(Typography, {
5320
+ children: [item.title && jsxRuntime.jsx(edsCoreReact.Typography, {
4806
5321
  variant: "body_short",
4807
5322
  bold: true,
4808
5323
  children: item.title
4809
- }), item.subTitle && jsx(Typography, {
5324
+ }), item.subTitle && jsxRuntime.jsx(edsCoreReact.Typography, {
4810
5325
  variant: "body_short",
4811
5326
  children: item.subTitle
4812
5327
  })]
4813
5328
  })]
4814
- }), jsxs("div", {
5329
+ }), jsxRuntime.jsxs("div", {
4815
5330
  className: styles$h.iconCol,
4816
5331
  children: [item.icons.map((icon, itemIndex) => {
4817
- return jsx("button", {
5332
+ return jsxRuntime.jsx("button", {
4818
5333
  className: styles$h.iconButton,
4819
5334
  onClick: icon.onClick,
4820
- children: jsx(Icon, {
5335
+ children: jsxRuntime.jsx(Icon, {
4821
5336
  name: icon.icon,
4822
5337
  title: icon.icon,
4823
5338
  color: themeConst.asBuilt
4824
5339
  })
4825
5340
  }, itemIndex);
4826
- }), expandable && jsx("button", {
5341
+ }), expandable && jsxRuntime.jsx("button", {
4827
5342
  className: expandable && expandable.expanded ? styles$h.activeIconButton : styles$h.iconButton,
4828
5343
  onClick: () => {
4829
5344
  expandable.setExpanded(true);
4830
5345
  },
4831
- children: jsx(Icon, {
5346
+ children: jsxRuntime.jsx(Icon, {
4832
5347
  name: "more_vertical",
4833
5348
  title: "Expand",
4834
5349
  color: themeConst.asBuilt
4835
5350
  })
4836
5351
  })]
4837
5352
  })]
4838
- }), expandable && expandable.expanded && jsxs("div", {
5353
+ }), expandable && expandable.expanded && jsxRuntime.jsxs("div", {
4839
5354
  className: styles$h.expandedRow,
4840
5355
  children: [expandable.iconItems.map((icon, iconItemsIndex) => {
4841
- return jsx("button", {
5356
+ return jsxRuntime.jsx("button", {
4842
5357
  className: styles$h.iconButton,
4843
5358
  onClick: icon.onClick,
4844
- children: jsx(Icon, {
5359
+ children: jsxRuntime.jsx(Icon, {
4845
5360
  name: icon.icon,
4846
5361
  title: icon.icon,
4847
5362
  color: themeConst.asBuilt
4848
5363
  })
4849
5364
  }, iconItemsIndex);
4850
- }), jsx("button", {
5365
+ }), jsxRuntime.jsx("button", {
4851
5366
  className: styles$h.iconButton,
4852
5367
  onClick: () => {
4853
5368
  expandable.setExpanded(false);
4854
5369
  },
4855
- children: jsx(Icon, {
5370
+ children: jsxRuntime.jsx(Icon, {
4856
5371
  name: 'close',
4857
5372
  title: 'Close',
4858
5373
  color: themeConst.asBuilt
@@ -4894,7 +5409,7 @@ const PCMatrix = ({
4894
5409
  [styles$g.highlightedMediumRiskCell]: props.factor === 'medium' && isHighlighted,
4895
5410
  [styles$g.highlightedHighRiskCell]: props.factor === 'high' && isHighlighted
4896
5411
  });
4897
- return jsx("div", {
5412
+ return jsxRuntime.jsx("div", {
4898
5413
  className: cellClassName,
4899
5414
  style: {
4900
5415
  gridArea: props.gridArea
@@ -4902,14 +5417,14 @@ const PCMatrix = ({
4902
5417
  });
4903
5418
  };
4904
5419
  const pcMatrixGrid = classnames(className, styles$g.grid);
4905
- return jsxs("section", {
5420
+ return jsxRuntime.jsxs("section", {
4906
5421
  className: pcMatrixGrid,
4907
- children: [jsx(Typography, {
5422
+ children: [jsxRuntime.jsx(edsCoreReact.Typography, {
4908
5423
  group: "paragraph",
4909
5424
  variant: "meta",
4910
5425
  className: styles$g.consequenceLabel,
4911
5426
  children: "Consequence"
4912
- }), jsx(Typography, {
5427
+ }), jsxRuntime.jsx(edsCoreReact.Typography, {
4913
5428
  group: "paragraph",
4914
5429
  variant: "overline",
4915
5430
  style: {
@@ -4917,7 +5432,7 @@ const PCMatrix = ({
4917
5432
  },
4918
5433
  className: styles$g.riskLabel,
4919
5434
  children: "Low"
4920
- }), jsx(Typography, {
5435
+ }), jsxRuntime.jsx(edsCoreReact.Typography, {
4921
5436
  group: "paragraph",
4922
5437
  variant: "overline",
4923
5438
  style: {
@@ -4925,7 +5440,7 @@ const PCMatrix = ({
4925
5440
  },
4926
5441
  className: styles$g.riskLabel,
4927
5442
  children: "Medium"
4928
- }), jsx(Typography, {
5443
+ }), jsxRuntime.jsx(edsCoreReact.Typography, {
4929
5444
  group: "paragraph",
4930
5445
  variant: "overline",
4931
5446
  style: {
@@ -4933,7 +5448,7 @@ const PCMatrix = ({
4933
5448
  },
4934
5449
  className: styles$g.riskLabel,
4935
5450
  children: "High"
4936
- }), jsx(Typography, {
5451
+ }), jsxRuntime.jsx(edsCoreReact.Typography, {
4937
5452
  group: "paragraph",
4938
5453
  variant: "overline",
4939
5454
  style: {
@@ -4941,7 +5456,7 @@ const PCMatrix = ({
4941
5456
  },
4942
5457
  className: styles$g.riskLabel,
4943
5458
  children: "Low"
4944
- }), jsx(Typography, {
5459
+ }), jsxRuntime.jsx(edsCoreReact.Typography, {
4945
5460
  group: "paragraph",
4946
5461
  variant: "overline",
4947
5462
  style: {
@@ -4949,7 +5464,7 @@ const PCMatrix = ({
4949
5464
  },
4950
5465
  className: styles$g.riskLabel,
4951
5466
  children: "Medium"
4952
- }), jsx(Typography, {
5467
+ }), jsxRuntime.jsx(edsCoreReact.Typography, {
4953
5468
  group: "paragraph",
4954
5469
  variant: "overline",
4955
5470
  style: {
@@ -4957,44 +5472,44 @@ const PCMatrix = ({
4957
5472
  },
4958
5473
  className: styles$g.riskLabel,
4959
5474
  children: "High"
4960
- }), jsx(Typography, {
5475
+ }), jsxRuntime.jsx(edsCoreReact.Typography, {
4961
5476
  group: "paragraph",
4962
5477
  variant: "meta",
4963
5478
  className: styles$g.probabilityLabel,
4964
5479
  children: "Probability"
4965
- }), jsx(RiskCell, {
5480
+ }), jsxRuntime.jsx(RiskCell, {
4966
5481
  riskTuple: [0, 0],
4967
5482
  gridArea: "low0",
4968
5483
  factor: "low"
4969
- }), jsx(RiskCell, {
5484
+ }), jsxRuntime.jsx(RiskCell, {
4970
5485
  riskTuple: [0, 1],
4971
5486
  gridArea: "med0",
4972
5487
  factor: "low"
4973
- }), jsx(RiskCell, {
5488
+ }), jsxRuntime.jsx(RiskCell, {
4974
5489
  riskTuple: [0, 2],
4975
5490
  gridArea: "high0",
4976
5491
  factor: "medium"
4977
- }), jsx(RiskCell, {
5492
+ }), jsxRuntime.jsx(RiskCell, {
4978
5493
  riskTuple: [1, 0],
4979
5494
  gridArea: "low1",
4980
5495
  factor: "low"
4981
- }), jsx(RiskCell, {
5496
+ }), jsxRuntime.jsx(RiskCell, {
4982
5497
  riskTuple: [1, 1],
4983
5498
  gridArea: "med1",
4984
5499
  factor: "medium"
4985
- }), jsx(RiskCell, {
5500
+ }), jsxRuntime.jsx(RiskCell, {
4986
5501
  riskTuple: [1, 2],
4987
5502
  gridArea: "high1",
4988
5503
  factor: "high"
4989
- }), jsx(RiskCell, {
5504
+ }), jsxRuntime.jsx(RiskCell, {
4990
5505
  riskTuple: [2, 0],
4991
5506
  gridArea: "low2",
4992
5507
  factor: "low"
4993
- }), jsx(RiskCell, {
5508
+ }), jsxRuntime.jsx(RiskCell, {
4994
5509
  riskTuple: [2, 1],
4995
5510
  gridArea: "med2",
4996
5511
  factor: "medium"
4997
- }), jsx(RiskCell, {
5512
+ }), jsxRuntime.jsx(RiskCell, {
4998
5513
  riskTuple: [2, 2],
4999
5514
  gridArea: "high2",
5000
5515
  factor: "high"
@@ -5020,7 +5535,7 @@ styleInject(css_248z$i);
5020
5535
  * }
5021
5536
  * @return {*} {JSX.Element}
5022
5537
  */
5023
- const MenuButton = /*#__PURE__*/React__default.forwardRef((props, ref) => {
5538
+ const MenuButton = /*#__PURE__*/React__default["default"].forwardRef((props, ref) => {
5024
5539
  const {
5025
5540
  text,
5026
5541
  active,
@@ -5029,16 +5544,16 @@ const MenuButton = /*#__PURE__*/React__default.forwardRef((props, ref) => {
5029
5544
  id
5030
5545
  } = props,
5031
5546
  otherProps = __rest(props, ["text", "active", "children", "onClick", "id"]);
5032
- return jsxs("button", Object.assign({}, otherProps, {
5547
+ return jsxRuntime.jsxs("button", Object.assign({}, otherProps, {
5033
5548
  title: text,
5034
5549
  ref: ref,
5035
5550
  type: "button",
5036
5551
  onClick: onClick,
5037
5552
  id: id,
5038
- className: classnames$1(styles$f.button, {
5553
+ className: classnames__default["default"](styles$f.button, {
5039
5554
  [styles$f.active]: active
5040
5555
  }),
5041
- children: [children, jsx(Typography, {
5556
+ children: [children, jsxRuntime.jsx(edsCoreReact.Typography, {
5042
5557
  className: styles$f.text,
5043
5558
  children: text
5044
5559
  })]
@@ -5050,7 +5565,7 @@ MenuButton.defaultProps = {
5050
5565
  };
5051
5566
 
5052
5567
  // need to import whole of zustand for the build to be correct so the store can be used by other modules in the proper way
5053
- const usePanelStore = zustand.create(set => ({
5568
+ const usePanelStore = zustand__namespace.create(set => ({
5054
5569
  activePanel: undefined,
5055
5570
  panelSize: 'wide',
5056
5571
  overflowMenuOpen: false,
@@ -5095,12 +5610,12 @@ const PanelWrapper = ({
5095
5610
  updatePanelSize,
5096
5611
  overflowMenuOpen
5097
5612
  } = usePanelStore();
5098
- const menuRef = useRef(null);
5099
- const [buttonsToDisplay, setButtonsToDisplay] = useState([]);
5100
- const [buttonsInOverflow, setButtonsInOverflow] = useState([]);
5101
- const [buttonAtBottom, setButtonAtBottom] = useState();
5102
- const mobileWrapperRef = useRef(null);
5103
- const desktopWrapperRef = useRef(null);
5613
+ const menuRef = React.useRef(null);
5614
+ const [buttonsToDisplay, setButtonsToDisplay] = React.useState([]);
5615
+ const [buttonsInOverflow, setButtonsInOverflow] = React.useState([]);
5616
+ const [buttonAtBottom, setButtonAtBottom] = React.useState();
5617
+ const mobileWrapperRef = React.useRef(null);
5618
+ const desktopWrapperRef = React.useRef(null);
5104
5619
  const handleActiveMenuItemChanged = (menuItemType, panelSizeToUse) => {
5105
5620
  usePanelStore.setState({
5106
5621
  overflowMenuOpen: false
@@ -5112,7 +5627,7 @@ const PanelWrapper = ({
5112
5627
  }
5113
5628
  updatePanelSize(panelSizeToUse !== null && panelSizeToUse !== void 0 ? panelSizeToUse : 'wide');
5114
5629
  };
5115
- const calculateOverflow = useCallback(() => {
5630
+ const calculateOverflow = React.useCallback(() => {
5116
5631
  var _a, _b, _c, _d, _e, _f, _g;
5117
5632
  let numberOfIconsThereIsRoomFor;
5118
5633
  let shouldShowButtonAtBottom = false;
@@ -5148,17 +5663,17 @@ const PanelWrapper = ({
5148
5663
  setButtonsToDisplay(menuItemsCopy.slice(0, menuItems.length - iconsInOverflow));
5149
5664
  setButtonsInOverflow(menuItemsCopy.slice(menuItems.length - iconsInOverflow));
5150
5665
  }, [menuItems, mobileWrapperRef, desktopWrapperRef]);
5151
- useEffect(() => {
5666
+ React.useEffect(() => {
5152
5667
  calculateOverflow();
5153
5668
  }, [calculateOverflow]);
5154
- useEffect(() => {
5669
+ React.useEffect(() => {
5155
5670
  function updateSize() {
5156
5671
  usePanelStore.setState({
5157
5672
  overflowMenuOpen: false
5158
5673
  });
5159
5674
  calculateOverflow();
5160
5675
  }
5161
- const throttledUpdateResize = throttle(updateSize, 1000);
5676
+ const throttledUpdateResize = lodash.throttle(updateSize, 1000);
5162
5677
  window.addEventListener('resize', throttledUpdateResize);
5163
5678
  return () => {
5164
5679
  window.removeEventListener('resize', throttledUpdateResize);
@@ -5176,7 +5691,7 @@ const PanelWrapper = ({
5176
5691
  const panel = getActivePanel(panelId);
5177
5692
  if (panel) {
5178
5693
  const PanelComponent = panel.component;
5179
- return jsx(PanelComponent, {});
5694
+ return jsxRuntime.jsx(PanelComponent, {});
5180
5695
  }
5181
5696
  return null;
5182
5697
  };
@@ -5193,19 +5708,19 @@ const PanelWrapper = ({
5193
5708
  if (!button) return;
5194
5709
  if (button.skipPanelContent) {
5195
5710
  const PanelComponent = button.component;
5196
- return jsx("div", {
5711
+ return jsxRuntime.jsx("div", {
5197
5712
  className: styles$e.buttonAtBottomWrapper,
5198
- children: jsx(PanelComponent, {}, button.labelId)
5713
+ children: jsxRuntime.jsx(PanelComponent, {}, button.labelId)
5199
5714
  });
5200
5715
  }
5201
- return jsx("div", {
5716
+ return jsxRuntime.jsx("div", {
5202
5717
  className: styles$e.buttonAtBottomWrapper,
5203
- children: jsx(MenuButton, {
5718
+ children: jsxRuntime.jsx(MenuButton, {
5204
5719
  text: button.label,
5205
5720
  id: button.labelId,
5206
5721
  active: activePanel === button.labelId,
5207
5722
  onClick: () => handleActiveMenuItemChanged(button.labelId, button.panelSize),
5208
- children: typeof button.icon === 'string' ? jsx(Icon$1, {
5723
+ children: typeof button.icon === 'string' ? jsxRuntime.jsx(edsCoreReact.Icon, {
5209
5724
  color: themeConst.echoText,
5210
5725
  name: button.icon
5211
5726
  }) : button.icon
@@ -5214,24 +5729,24 @@ const PanelWrapper = ({
5214
5729
  };
5215
5730
  const renderMenuItems = () => {
5216
5731
  var _a, _b;
5217
- return jsxs(Fragment, {
5732
+ return jsxRuntime.jsxs(jsxRuntime.Fragment, {
5218
5733
  children: [buttonsToDisplay.map(button => {
5219
5734
  if (button.skipPanelContent) {
5220
5735
  const PanelComponent = button.component;
5221
- return jsx(PanelComponent, {}, button.labelId);
5736
+ return jsxRuntime.jsx(PanelComponent, {}, button.labelId);
5222
5737
  }
5223
- return jsx(MenuButton, {
5738
+ return jsxRuntime.jsx(MenuButton, {
5224
5739
  text: button.label,
5225
5740
  id: button.labelId,
5226
5741
  active: activePanel === button.labelId,
5227
5742
  onClick: () => handleActiveMenuItemChanged(button.labelId, button.panelSize),
5228
- children: typeof button.icon === 'string' ? jsx(Icon$1, {
5743
+ children: typeof button.icon === 'string' ? jsxRuntime.jsx(edsCoreReact.Icon, {
5229
5744
  color: themeConst.echoText,
5230
5745
  name: button.icon
5231
5746
  }) : button.icon
5232
5747
  }, button.labelId);
5233
- }), buttonsInOverflow.length > 0 && jsxs(Fragment, {
5234
- children: [jsx(MenuButton, {
5748
+ }), buttonsInOverflow.length > 0 && jsxRuntime.jsxs(jsxRuntime.Fragment, {
5749
+ children: [jsxRuntime.jsx(MenuButton, {
5235
5750
  text: "More",
5236
5751
  ref: menuRef,
5237
5752
  id: "more-menu-options-anchor",
@@ -5239,11 +5754,11 @@ const PanelWrapper = ({
5239
5754
  onClick: () => usePanelStore.setState({
5240
5755
  overflowMenuOpen: !overflowMenuOpen
5241
5756
  }),
5242
- children: jsx(Icon$1, {
5757
+ children: jsxRuntime.jsx(edsCoreReact.Icon, {
5243
5758
  color: themeConst.echoText,
5244
5759
  name: "more_vertical"
5245
5760
  })
5246
- }), jsx(Menu, {
5761
+ }), jsxRuntime.jsx(edsCoreReact.Menu, {
5247
5762
  style: {
5248
5763
  overflowX: 'auto',
5249
5764
  maxHeight: 'calc(100dvh - 70px)'
@@ -5256,13 +5771,13 @@ const PanelWrapper = ({
5256
5771
  children: buttonsInOverflow.map(button => {
5257
5772
  if (button.skipPanelContent) {
5258
5773
  const PanelComponent = button.component;
5259
- return jsx(PanelComponent, {
5774
+ return jsxRuntime.jsx(PanelComponent, {
5260
5775
  isOverflow: true
5261
5776
  }, button.labelId);
5262
5777
  }
5263
- return jsxs(Menu.Item, {
5778
+ return jsxRuntime.jsxs(edsCoreReact.Menu.Item, {
5264
5779
  onClick: () => handleActiveMenuItemChanged(button.labelId, button.panelSize),
5265
- children: [typeof button.icon === 'string' ? jsx(Icon$1, {
5780
+ children: [typeof button.icon === 'string' ? jsxRuntime.jsx(edsCoreReact.Icon, {
5266
5781
  color: themeConst.echoText,
5267
5782
  name: button.icon
5268
5783
  }) : button.icon, button.label]
@@ -5275,26 +5790,26 @@ const PanelWrapper = ({
5275
5790
  const renderMenuItemsBasedOnRef = ref => {
5276
5791
  if (ref) return renderMenuItems();
5277
5792
  };
5278
- return jsxs("div", {
5793
+ return jsxRuntime.jsxs("div", {
5279
5794
  className: styles$e.wrapper,
5280
- children: [jsxs("div", {
5795
+ children: [jsxRuntime.jsxs("div", {
5281
5796
  className: styles$e.topBarWrapper,
5282
- children: [typeof header === 'string' ? jsx("div", {
5797
+ children: [typeof header === 'string' ? jsxRuntime.jsx("div", {
5283
5798
  className: styles$e.moduleTitle,
5284
- children: jsx(Typography, {
5799
+ children: jsxRuntime.jsx(edsCoreReact.Typography, {
5285
5800
  children: header
5286
5801
  })
5287
- }) : header, jsx("div", {
5802
+ }) : header, jsxRuntime.jsx("div", {
5288
5803
  ref: mobileWrapperRef,
5289
5804
  className: styles$e.buttonWrapperMobile,
5290
5805
  children: renderMenuItemsBasedOnRef((_a = mobileWrapperRef.current) === null || _a === void 0 ? void 0 : _a.clientWidth)
5291
- }), jsx("div", {
5806
+ }), jsxRuntime.jsx("div", {
5292
5807
  className: styles$e.buttonWrapper,
5293
5808
  ref: desktopWrapperRef,
5294
5809
  children: renderMenuItemsBasedOnRef((_b = desktopWrapperRef.current) === null || _b === void 0 ? void 0 : _b.clientHeight)
5295
5810
  })]
5296
- }), !((_c = getActivePanel(activePanel)) === null || _c === void 0 ? void 0 : _c.skipPanelContent) && jsx("div", {
5297
- className: classnames$1(styles$e.contentPanel, {
5811
+ }), !((_c = getActivePanel(activePanel)) === null || _c === void 0 ? void 0 : _c.skipPanelContent) && jsxRuntime.jsx("div", {
5812
+ className: classnames__default["default"](styles$e.contentPanel, {
5298
5813
  [styles$e.narrowPanel]: panelSize === 'narrow' && activePanel,
5299
5814
  [styles$e.activeContentPanel]: activePanel
5300
5815
  }),
@@ -5324,7 +5839,7 @@ const Panel = ({
5324
5839
  menuItems,
5325
5840
  header
5326
5841
  }) => {
5327
- return jsx(PanelWrapper, {
5842
+ return jsxRuntime.jsx(PanelWrapper, {
5328
5843
  header: header,
5329
5844
  menuItems: menuItems
5330
5845
  });
@@ -5358,16 +5873,16 @@ const PanelContent = ({
5358
5873
  updateActivePanel,
5359
5874
  panelSize
5360
5875
  } = usePanelStore();
5361
- return jsxs(Fragment, {
5362
- children: [jsxs("div", {
5876
+ return jsxRuntime.jsxs(jsxRuntime.Fragment, {
5877
+ children: [jsxRuntime.jsxs("div", {
5363
5878
  className: styles$d.headerWrapper,
5364
- children: [backToMainPanel && jsx(Button, {
5879
+ children: [backToMainPanel && jsxRuntime.jsx(edsCoreReact.Button, {
5365
5880
  variant: "ghost_icon",
5366
5881
  onClick: backToMainPanel,
5367
- children: jsx(Icon$1, {
5882
+ children: jsxRuntime.jsx(edsCoreReact.Icon, {
5368
5883
  name: "arrow_back_ios"
5369
5884
  })
5370
- }), jsx(Typography, {
5885
+ }), jsxRuntime.jsx(edsCoreReact.Typography, {
5371
5886
  group: "heading",
5372
5887
  variant: "h2",
5373
5888
  className: classnames({
@@ -5377,17 +5892,17 @@ const PanelContent = ({
5377
5892
  [styles$d.panelTitle]: panelSize !== 'narrow' && !backToMainPanel
5378
5893
  }),
5379
5894
  children: header
5380
- }), jsx(Button, {
5895
+ }), jsxRuntime.jsx(edsCoreReact.Button, {
5381
5896
  variant: "ghost_icon",
5382
5897
  onClick: () => updateActivePanel(undefined),
5383
- children: jsx(Icon$1, {
5898
+ children: jsxRuntime.jsx(edsCoreReact.Icon, {
5384
5899
  name: "close"
5385
5900
  })
5386
5901
  })]
5387
- }), jsx("div", {
5902
+ }), jsxRuntime.jsx("div", {
5388
5903
  className: footer ? styles$d.bodyWrapperWithFooter : styles$d.bodyWrapper,
5389
5904
  children: children
5390
- }), footer && jsx("div", {
5905
+ }), footer && jsxRuntime.jsx("div", {
5391
5906
  className: styles$d.footer,
5392
5907
  children: footer
5393
5908
  })]
@@ -5410,7 +5925,7 @@ PanelContent.defaultProps = {
5410
5925
  const PanelContentWrapper = ({
5411
5926
  children
5412
5927
  }) => {
5413
- return jsx("div", {
5928
+ return jsxRuntime.jsx("div", {
5414
5929
  className: styles$d.contentWrapper,
5415
5930
  children: children
5416
5931
  });
@@ -5423,14 +5938,14 @@ function SuggestionGroup({
5423
5938
  styles
5424
5939
  }) {
5425
5940
  var _a;
5426
- return jsxs("ul", {
5941
+ return jsxRuntime.jsxs("ul", {
5427
5942
  role: "listbox",
5428
5943
  className: styles.groupWrapper,
5429
5944
  "aria-expanded": true,
5430
5945
  id: suggestionGroup.id,
5431
- children: [suggestionGroup.title && jsx("div", {
5946
+ children: [suggestionGroup.title && jsxRuntime.jsx("div", {
5432
5947
  className: styles.groupTitle,
5433
- children: jsx(Typography, {
5948
+ children: jsxRuntime.jsx(edsCoreReact.Typography, {
5434
5949
  group: "paragraph",
5435
5950
  variant: "overline",
5436
5951
  children: suggestionGroup.title
@@ -5439,17 +5954,17 @@ function SuggestionGroup({
5439
5954
  const className = classnames(styles.item, {
5440
5955
  [styles.activeItem]: index === focusedOption
5441
5956
  });
5442
- return jsxs("li", {
5957
+ return jsxRuntime.jsxs("li", {
5443
5958
  role: "option",
5444
5959
  id: suggestion.id,
5445
5960
  className: className,
5446
5961
  onClick: () => {
5447
5962
  onClick(suggestion);
5448
5963
  },
5449
- children: [jsx(Icon$1, {
5964
+ children: [jsxRuntime.jsx(edsCoreReact.Icon, {
5450
5965
  className: styles.itemIcon,
5451
5966
  name: suggestion.iconName
5452
- }), jsx(Typography, {
5967
+ }), jsxRuntime.jsx(edsCoreReact.Typography, {
5453
5968
  className: styles.itemText,
5454
5969
  group: "heading",
5455
5970
  variant: "h6",
@@ -5476,9 +5991,9 @@ function SearchSuggestions({
5476
5991
  onClick(option);
5477
5992
  }
5478
5993
  }, containerRef !== null && containerRef !== void 0 ? containerRef : undefined);
5479
- return jsx(Fragment, {
5994
+ return jsxRuntime.jsx(jsxRuntime.Fragment, {
5480
5995
  children: suggestionGroups.map((suggestionGroup, index) => {
5481
- return jsx(SuggestionGroup, {
5996
+ return jsxRuntime.jsx(SuggestionGroup, {
5482
5997
  suggestionGroup: suggestionGroup,
5483
5998
  onClick: onClick,
5484
5999
  focusedOption: index === focusedSection ? focusedOption : -1,
@@ -5507,16 +6022,16 @@ const FloatingSearchBar = ({
5507
6022
  onSuggestionClick,
5508
6023
  isLoading
5509
6024
  }) => {
5510
- const [isOpen, setIsOpen] = useState(false);
5511
- const [value, setValue] = useState('');
5512
- const containerRef = useRef(null);
6025
+ const [isOpen, setIsOpen] = React.useState(false);
6026
+ const [value, setValue] = React.useState('');
6027
+ const containerRef = React.useRef(null);
5513
6028
  const openMenu = () => {
5514
6029
  setIsOpen(true);
5515
6030
  };
5516
6031
  const closeMenu = () => {
5517
6032
  if (isOpen) setIsOpen(false);
5518
6033
  };
5519
- useOnOutsideClick(closeMenu, {
6034
+ echoUtils.useOnOutsideClick(closeMenu, {
5520
6035
  refs: [containerRef]
5521
6036
  });
5522
6037
  useKeyboardNavigation({
@@ -5527,13 +6042,13 @@ const FloatingSearchBar = ({
5527
6042
  closeMenu();
5528
6043
  onSuggestionClick(suggestion);
5529
6044
  }
5530
- return jsxs("form", {
6045
+ return jsxRuntime.jsxs("form", {
5531
6046
  ref: containerRef,
5532
6047
  className: style$2.searchbarWrapper,
5533
6048
  onFocus: () => value && openMenu(),
5534
6049
  autoComplete: 'off',
5535
6050
  onSubmit: e => e.preventDefault(),
5536
- children: [jsx(Search, {
6051
+ children: [jsxRuntime.jsx(edsCoreReact.Search, {
5537
6052
  id: 'search',
5538
6053
  "aria-label": ariaLabel !== null && ariaLabel !== void 0 ? ariaLabel : 'Search',
5539
6054
  placeholder: placeholder !== null && placeholder !== void 0 ? placeholder : 'Search',
@@ -5549,17 +6064,17 @@ const FloatingSearchBar = ({
5549
6064
  if (val === '') closeMenu();else if (!isOpen) openMenu();
5550
6065
  },
5551
6066
  value: value
5552
- }), isOpen && jsxs("div", {
6067
+ }), isOpen && jsxRuntime.jsxs("div", {
5553
6068
  className: style$2.items,
5554
- children: [isLoading && jsx("li", {
6069
+ children: [isLoading && jsxRuntime.jsx("li", {
5555
6070
  className: style$2.loading,
5556
6071
  role: 'option',
5557
6072
  id: 'loading',
5558
- children: jsx(CircularProgress, {
6073
+ children: jsxRuntime.jsx(edsCoreReact.CircularProgress, {
5559
6074
  size: 24,
5560
6075
  color: 'neutral'
5561
6076
  })
5562
- }, 'loading'), !isLoading && isOpen && suggestionGroups && suggestionGroups.length > 0 && jsx(SearchSuggestions, {
6077
+ }, 'loading'), !isLoading && isOpen && suggestionGroups && suggestionGroups.length > 0 && jsxRuntime.jsx(SearchSuggestions, {
5563
6078
  suggestionGroups: suggestionGroups,
5564
6079
  containerRef: containerRef.current,
5565
6080
  onClick: onClick,
@@ -5590,16 +6105,16 @@ const ResponsiveSearchBar = _a => {
5590
6105
  isLoading
5591
6106
  } = _a,
5592
6107
  props = __rest(_a, ["ariaLabel", "placeholder", "onSearchQueryChange", "suggestionGroups", "onSuggestionClick", "isLoading"]);
5593
- const [isOpen, setIsOpen] = useState(false);
5594
- const [value, setValue] = useState('');
5595
- const containerRef = useRef(null);
6108
+ const [isOpen, setIsOpen] = React.useState(false);
6109
+ const [value, setValue] = React.useState('');
6110
+ const containerRef = React.useRef(null);
5596
6111
  const openMenu = () => {
5597
6112
  setIsOpen(true);
5598
6113
  };
5599
6114
  const closeMenu = () => {
5600
6115
  if (isOpen) setIsOpen(false);
5601
6116
  };
5602
- useOnOutsideClick(closeMenu, {
6117
+ echoUtils.useOnOutsideClick(closeMenu, {
5603
6118
  refs: [containerRef]
5604
6119
  });
5605
6120
  useKeyboardNavigation({
@@ -5616,14 +6131,14 @@ const ResponsiveSearchBar = _a => {
5616
6131
  onSearchQueryChange(val);
5617
6132
  if (val === '') closeMenu();else if (!isOpen) openMenu();
5618
6133
  }
5619
- return jsxs("form", Object.assign({
6134
+ return jsxRuntime.jsxs("form", Object.assign({
5620
6135
  ref: containerRef,
5621
6136
  className: styles$c.searchbarWrapper,
5622
6137
  onFocus: () => value && openMenu(),
5623
6138
  autoComplete: 'off',
5624
6139
  onSubmit: e => e.preventDefault()
5625
6140
  }, props, {
5626
- children: [jsx(Search, {
6141
+ children: [jsxRuntime.jsx(edsCoreReact.Search, {
5627
6142
  id: "responsiveSearch",
5628
6143
  "aria-label": ariaLabel !== null && ariaLabel !== void 0 ? ariaLabel : 'Search',
5629
6144
  placeholder: placeholder !== null && placeholder !== void 0 ? placeholder : 'Search',
@@ -5632,15 +6147,15 @@ const ResponsiveSearchBar = _a => {
5632
6147
  className: styles$c.searchbar,
5633
6148
  onChange: onSearchValueChange,
5634
6149
  value: value
5635
- }), isOpen && jsxs("div", {
6150
+ }), isOpen && jsxRuntime.jsxs("div", {
5636
6151
  className: styles$c.items,
5637
- children: [isLoading && jsx("li", {
6152
+ children: [isLoading && jsxRuntime.jsx("li", {
5638
6153
  className: styles$c.loading,
5639
6154
  id: 'loading',
5640
- children: jsx(CircularProgress, {
6155
+ children: jsxRuntime.jsx(edsCoreReact.CircularProgress, {
5641
6156
  size: 24
5642
6157
  })
5643
- }, 'loading'), !isLoading && isOpen && suggestionGroups && suggestionGroups.length > 0 && jsx(SearchSuggestions, {
6158
+ }, 'loading'), !isLoading && isOpen && suggestionGroups && suggestionGroups.length > 0 && jsxRuntime.jsx(SearchSuggestions, {
5644
6159
  suggestionGroups: suggestionGroups,
5645
6160
  containerRef: containerRef.current,
5646
6161
  onClick: onClick,
@@ -5687,23 +6202,23 @@ const SidebarButton = ({
5687
6202
  id,
5688
6203
  children
5689
6204
  }) => {
5690
- return jsxs("button", {
6205
+ return jsxRuntime.jsxs("button", {
5691
6206
  title: text,
5692
6207
  ref: refValue,
5693
6208
  type: "button",
5694
6209
  onClick: onClick,
5695
6210
  id: id,
5696
6211
  "aria-pressed": active,
5697
- className: classnames$1(styles$b.button, {
6212
+ className: classnames__default["default"](styles$b.button, {
5698
6213
  [styles$b.leftBarButton]: buttonPosition === 'left',
5699
6214
  [styles$b.rightBarButton]: buttonPosition === 'right',
5700
6215
  [styles$b.bottomBarButton]: buttonPosition === 'bottom',
5701
6216
  [styles$b.tabButton]: buttonPosition === 'tab'
5702
6217
  }),
5703
- children: [children, count && count > 1 && jsx("span", {
6218
+ children: [children, count && count > 1 && jsxRuntime.jsx("span", {
5704
6219
  className: styles$b.tabItemCount,
5705
6220
  children: count
5706
- }), jsx(Typography, {
6221
+ }), jsxRuntime.jsx(edsCoreReact.Typography, {
5707
6222
  className: styles$b.text,
5708
6223
  children: text
5709
6224
  })]
@@ -5711,7 +6226,7 @@ const SidebarButton = ({
5711
6226
  };
5712
6227
  SidebarButton.defaultProps = {
5713
6228
  text: 'text',
5714
- children: jsx(Icon$1, {
6229
+ children: jsxRuntime.jsx(edsCoreReact.Icon, {
5715
6230
  name: 'search',
5716
6231
  color: themeConst.echoText
5717
6232
  }),
@@ -5720,12 +6235,12 @@ SidebarButton.defaultProps = {
5720
6235
  buttonPosition: 'right'
5721
6236
  };
5722
6237
 
5723
- var SideSheetOrientation;
6238
+ exports.SideSheetOrientation = void 0;
5724
6239
  (function (SideSheetOrientation) {
5725
6240
  SideSheetOrientation["Vertical"] = "vertical";
5726
6241
  SideSheetOrientation["Horizontal"] = "horizontal";
5727
6242
  SideSheetOrientation["Fullscreen"] = "fullscreen";
5728
- })(SideSheetOrientation || (SideSheetOrientation = {}));
6243
+ })(exports.SideSheetOrientation || (exports.SideSheetOrientation = {}));
5729
6244
 
5730
6245
  var css_248z$c = ".Sheet-module_container__e8d9c{background-color:var(--white);bottom:0;display:flex;flex-direction:column;overflow:hidden;position:absolute;z-index:10}.Sheet-module_verticalContainer__pcU0W{box-shadow:0 3px 4px 0 rgba(0,0,0,.12),0 2px 4px 0 rgba(0,0,0,.14);top:0;width:480px}.Sheet-module_blockContainer__wrDIj{position:static}.Sheet-module_rightContainer__ASnit{right:0}.Sheet-module_leftContainer__LIFVE{left:0}.Sheet-module_horizontalContainer__Boq2T{box-shadow:3px 0 4px 0 rgba(0,0,0,.12),2px 0 4px 0 rgba(0,0,0,.14);height:min-content;left:0;max-height:720px;min-height:240px;position:absolute;right:0}.Sheet-module_fullscreenContainer__4SmfI{left:0;position:absolute;right:0;top:0}";
5731
6246
  var styles$a = {"container":"Sheet-module_container__e8d9c","verticalContainer":"Sheet-module_verticalContainer__pcU0W Sheet-module_container__e8d9c","blockContainer":"Sheet-module_blockContainer__wrDIj","rightContainer":"Sheet-module_rightContainer__ASnit Sheet-module_verticalContainer__pcU0W Sheet-module_container__e8d9c","leftContainer":"Sheet-module_leftContainer__LIFVE Sheet-module_verticalContainer__pcU0W Sheet-module_container__e8d9c","horizontalContainer":"Sheet-module_horizontalContainer__Boq2T Sheet-module_container__e8d9c","fullscreenContainer":"Sheet-module_fullscreenContainer__4SmfI Sheet-module_container__e8d9c"};
@@ -5734,11 +6249,11 @@ styleInject(css_248z$c);
5734
6249
  function GetSheetContainerClass(side, orientation, floating, isMobile) {
5735
6250
  if (isMobile) return styles$a.fullscreenContainer;
5736
6251
  switch (orientation) {
5737
- case SideSheetOrientation.Horizontal:
6252
+ case exports.SideSheetOrientation.Horizontal:
5738
6253
  return styles$a.horizontalContainer;
5739
- case SideSheetOrientation.Fullscreen:
6254
+ case exports.SideSheetOrientation.Fullscreen:
5740
6255
  return styles$a.fullscreenContainer;
5741
- case SideSheetOrientation.Vertical:
6256
+ case exports.SideSheetOrientation.Vertical:
5742
6257
  default:
5743
6258
  {
5744
6259
  let className = side === 'left' ? styles$a.leftContainer : styles$a.rightContainer;
@@ -5759,11 +6274,11 @@ function Sheet({
5759
6274
  style
5760
6275
  }) {
5761
6276
  const isMobile = useIsMobile();
5762
- let containerClass = useMemo(() => GetSheetContainerClass(side, orientation, floating, isMobile), [side, orientation, floating, isMobile]);
6277
+ let containerClass = React.useMemo(() => GetSheetContainerClass(side, orientation, floating, isMobile), [side, orientation, floating, isMobile]);
5763
6278
  if (className !== undefined) {
5764
6279
  containerClass += ' ' + className;
5765
6280
  }
5766
- return jsx("div", {
6281
+ return jsxRuntime.jsx("div", {
5767
6282
  className: containerClass,
5768
6283
  style: style,
5769
6284
  children: children
@@ -5785,18 +6300,18 @@ function SheetTopArea({
5785
6300
  if (!previous && !renderOrientationActions && !closeSheet) {
5786
6301
  return null;
5787
6302
  }
5788
- return jsxs("div", {
6303
+ return jsxRuntime.jsxs("div", {
5789
6304
  className: styles$9.topArea,
5790
- children: [jsx("div", {
6305
+ children: [jsxRuntime.jsx("div", {
5791
6306
  children: previous
5792
- }), renderOrientationActions && jsx(SheetOrientationActions, {
6307
+ }), renderOrientationActions && jsxRuntime.jsx(SheetOrientationActions, {
5793
6308
  orientation: orientation,
5794
6309
  onOrientationChange: onOrientationChange
5795
- }), closeSheet && jsx(Button, {
6310
+ }), closeSheet && jsxRuntime.jsx(edsCoreReact.Button, {
5796
6311
  variant: "ghost_icon",
5797
6312
  onClick: closeSheet,
5798
6313
  "aria-label": "Close",
5799
- children: jsx(Icon$1, {
6314
+ children: jsxRuntime.jsx(edsCoreReact.Icon, {
5800
6315
  name: "close",
5801
6316
  color: "var(--asBuilt)"
5802
6317
  })
@@ -5815,34 +6330,34 @@ function SheetOrientationActions({
5815
6330
  onOrientationChange && onOrientationChange(newOrientation);
5816
6331
  }
5817
6332
  }
5818
- return jsxs("div", {
6333
+ return jsxRuntime.jsxs("div", {
5819
6334
  className: styles$9.actions,
5820
- children: [jsx(Typography, {
6335
+ children: [jsxRuntime.jsx(edsCoreReact.Typography, {
5821
6336
  variant: "overline",
5822
6337
  children: "ViewPort:"
5823
- }), jsx(Button, {
6338
+ }), jsxRuntime.jsx(edsCoreReact.Button, {
5824
6339
  variant: "ghost_icon",
5825
- onClick: () => handleChange(SideSheetOrientation.Vertical),
6340
+ onClick: () => handleChange(exports.SideSheetOrientation.Vertical),
5826
6341
  "aria-label": "Set sheet orientation Vertical",
5827
- children: jsx(Icon$1, {
6342
+ children: jsxRuntime.jsx(edsCoreReact.Icon, {
5828
6343
  name: "sheet_leftposition",
5829
- color: calculateColor(SideSheetOrientation.Vertical)
6344
+ color: calculateColor(exports.SideSheetOrientation.Vertical)
5830
6345
  })
5831
- }), jsx(Button, {
6346
+ }), jsxRuntime.jsx(edsCoreReact.Button, {
5832
6347
  variant: "ghost_icon",
5833
- onClick: () => handleChange(SideSheetOrientation.Horizontal),
6348
+ onClick: () => handleChange(exports.SideSheetOrientation.Horizontal),
5834
6349
  "aria-label": "Set sheet orientation Horizontal",
5835
- children: jsx(Icon$1, {
6350
+ children: jsxRuntime.jsx(edsCoreReact.Icon, {
5836
6351
  name: "sheet_bottom_position",
5837
- color: calculateColor(SideSheetOrientation.Horizontal)
6352
+ color: calculateColor(exports.SideSheetOrientation.Horizontal)
5838
6353
  })
5839
- }), jsx(Button, {
6354
+ }), jsxRuntime.jsx(edsCoreReact.Button, {
5840
6355
  variant: "ghost_icon",
5841
- onClick: () => handleChange(SideSheetOrientation.Fullscreen),
6356
+ onClick: () => handleChange(exports.SideSheetOrientation.Fullscreen),
5842
6357
  "aria-label": "Set sheet orientation Fullscreen",
5843
- children: jsx(Icon$1, {
6358
+ children: jsxRuntime.jsx(edsCoreReact.Icon, {
5844
6359
  name: "fullscreen",
5845
- color: calculateColor(SideSheetOrientation.Fullscreen)
6360
+ color: calculateColor(exports.SideSheetOrientation.Fullscreen)
5846
6361
  })
5847
6362
  })]
5848
6363
  });
@@ -5864,13 +6379,13 @@ function SideSheet(_a) {
5864
6379
  // TOP BAR
5865
6380
  topBarProps = __rest(_a, ["open", "side", "orientation", "floating", "children", "className", "style"]);
5866
6381
  if (open) {
5867
- return jsxs(Sheet, {
6382
+ return jsxRuntime.jsxs(Sheet, {
5868
6383
  className: className,
5869
6384
  style: style,
5870
6385
  orientation: orientation,
5871
6386
  side: side,
5872
6387
  floating: floating,
5873
- children: [jsx(SheetTopArea, Object.assign({
6388
+ children: [jsxRuntime.jsx(SheetTopArea, Object.assign({
5874
6389
  orientation: orientation
5875
6390
  }, topBarProps)), children]
5876
6391
  });
@@ -5889,25 +6404,25 @@ function Left({
5889
6404
  defaultMinimized = false,
5890
6405
  children
5891
6406
  }) {
5892
- const [isMinimized, setIsMinimized] = useState(defaultMinimized || false);
6407
+ const [isMinimized, setIsMinimized] = React.useState(defaultMinimized || false);
5893
6408
  const containerClassName = classnames(styles$8.left, {
5894
6409
  [styles$8.collapsedLeft]: isMinimized
5895
6410
  }, className);
5896
- return jsxs("div", {
6411
+ return jsxRuntime.jsxs("div", {
5897
6412
  className: containerClassName,
5898
6413
  style: style,
5899
- children: [!isMinimized && children, isMinimizable && jsx("div", {
6414
+ children: [!isMinimized && children, isMinimizable && jsxRuntime.jsx("div", {
5900
6415
  className: styles$8.minimize,
5901
- children: isMinimized ? jsx(Button, {
6416
+ children: isMinimized ? jsxRuntime.jsx(edsCoreReact.Button, {
5902
6417
  variant: "ghost_icon",
5903
6418
  onClick: () => setIsMinimized(false),
5904
- children: jsx(Icon$1, {
6419
+ children: jsxRuntime.jsx(edsCoreReact.Icon, {
5905
6420
  name: "last_page"
5906
6421
  })
5907
- }) : jsxs(Button, {
6422
+ }) : jsxRuntime.jsxs(edsCoreReact.Button, {
5908
6423
  variant: "ghost",
5909
6424
  onClick: () => setIsMinimized(true),
5910
- children: ["Minimize ", jsx(Icon$1, {
6425
+ children: ["Minimize ", jsxRuntime.jsx(edsCoreReact.Icon, {
5911
6426
  name: "first_page"
5912
6427
  }), ' ']
5913
6428
  })
@@ -5925,7 +6440,7 @@ function SplitView$1({
5925
6440
  children
5926
6441
  }) {
5927
6442
  const containerClass = classnames(styles$7.container, className);
5928
- return jsx("div", {
6443
+ return jsxRuntime.jsx("div", {
5929
6444
  className: containerClass,
5930
6445
  style: style,
5931
6446
  children: children
@@ -5937,7 +6452,7 @@ function Right({
5937
6452
  children
5938
6453
  }) {
5939
6454
  const containerClass = classnames(styles$7.right, className);
5940
- return jsx("div", {
6455
+ return jsxRuntime.jsx("div", {
5941
6456
  className: containerClass,
5942
6457
  style: style,
5943
6458
  children: children
@@ -5960,23 +6475,23 @@ const TimePicker = ({
5960
6475
  readOnly: _readOnly = false,
5961
6476
  timeRange
5962
6477
  }) => {
5963
- const ref = /*#__PURE__*/React__default.createRef();
5964
- const [selectedTime, setSelectedTime] = useState(_value);
5965
- const openDropDown = useCallback(() => {
6478
+ const ref = /*#__PURE__*/React__default["default"].createRef();
6479
+ const [selectedTime, setSelectedTime] = React.useState(_value);
6480
+ const openDropDown = React.useCallback(() => {
5966
6481
  var _a, _b;
5967
6482
  (_b = (_a = ref.current) === null || _a === void 0 ? void 0 : _a.querySelector('input')) === null || _b === void 0 ? void 0 : _b.focus();
5968
6483
  }, [ref]);
5969
6484
  const defaultTimeRange = ['00:00', '01:00', '02:00', '03:00', '04:00', '05:00', '06:00', '07:00', '08:00', '09:00', '10:00', '11:00', '12:00', '13:00', '14:00', '15:00', '16:00', '17:00', '18:00', '19:00', '20:00', '21:00', '22:00', '23:00'];
5970
- return jsxs("div", {
6485
+ return jsxRuntime.jsxs("div", {
5971
6486
  id: id,
5972
6487
  className: style$1.timeContainer,
5973
- children: [jsx(Icon$1, {
6488
+ children: [jsxRuntime.jsx(edsCoreReact.Icon, {
5974
6489
  name: "time",
5975
6490
  className: `${style$1.timeIcon} time-icon`,
5976
- data: time,
6491
+ data: edsIcons.time,
5977
6492
  size: 24,
5978
6493
  onClick: openDropDown
5979
- }), jsx(Autocomplete, {
6494
+ }), jsxRuntime.jsx(edsCoreReact.Autocomplete, {
5980
6495
  ref: ref,
5981
6496
  className: style$1.timeSelect,
5982
6497
  label: label,
@@ -6093,12 +6608,12 @@ styleInject(css_248z$7);
6093
6608
  function WorkOrderStatusLabel({
6094
6609
  isActive
6095
6610
  }) {
6096
- return jsxs("div", {
6611
+ return jsxRuntime.jsxs("div", {
6097
6612
  className: styles$6.workorderStatusContainer,
6098
6613
  role: "status",
6099
- children: [jsx("span", {
6614
+ children: [jsxRuntime.jsx("span", {
6100
6615
  className: isActive ? styles$6.activeIndicator : styles$6.completedIndicator
6101
- }), jsx(Typography, {
6616
+ }), jsxRuntime.jsx(edsCoreReact.Typography, {
6102
6617
  variant: 'chart',
6103
6618
  group: 'ui',
6104
6619
  className: styles$6.workorderstatusText,
@@ -6122,9 +6637,9 @@ function WorkOrderListItem(props) {
6122
6637
  const displayHeaderDate = () => {
6123
6638
  var _a, _b;
6124
6639
  if (((_a = wo.orderType) === null || _a === void 0 ? void 0 : _a.toUpperCase()) === 'PM01') {
6125
- return jsxs("time", {
6640
+ return jsxRuntime.jsxs("time", {
6126
6641
  dateTime: getFullLocaledDatetime(wo.requiredEndDateTime),
6127
- children: ["Req. end date:", ' ', jsx("span", {
6642
+ children: ["Req. end date:", ' ', jsxRuntime.jsx("span", {
6128
6643
  style: {
6129
6644
  background: requiredEndDateColor.background,
6130
6645
  color: requiredEndDateColor.color
@@ -6135,9 +6650,9 @@ function WorkOrderListItem(props) {
6135
6650
  });
6136
6651
  }
6137
6652
  if (((_b = wo.orderType) === null || _b === void 0 ? void 0 : _b.toUpperCase()) === 'PM02') {
6138
- return jsxs("time", {
6653
+ return jsxRuntime.jsxs("time", {
6139
6654
  dateTime: getFullLocaledDatetime(wo.maintenancePlanDate),
6140
- children: ["Planned date:", ' ', jsx("span", {
6655
+ children: ["Planned date:", ' ', jsxRuntime.jsx("span", {
6141
6656
  style: {
6142
6657
  background: requiredEndDateColor.background,
6143
6658
  color: requiredEndDateColor.color
@@ -6149,41 +6664,41 @@ function WorkOrderListItem(props) {
6149
6664
  }
6150
6665
  return null;
6151
6666
  };
6152
- return jsx(ListItem, {
6667
+ return jsxRuntime.jsx(ListItem, {
6153
6668
  className: styles$6.container,
6154
6669
  onCardClick: props.isHeader ? undefined : props.onCardClick,
6155
- primary: jsxs("div", {
6670
+ primary: jsxRuntime.jsxs("div", {
6156
6671
  className: styles$6.primary,
6157
- children: [jsx(Typography, {
6672
+ children: [jsxRuntime.jsx(edsCoreReact.Typography, {
6158
6673
  className: styles$6.workorderId,
6159
6674
  variant: 'h6',
6160
6675
  children: wo.id.substring(4)
6161
- }), jsx(WorkOrderStatusLabel, {
6676
+ }), jsxRuntime.jsx(WorkOrderStatusLabel, {
6162
6677
  isActive: wo.isActive
6163
6678
  })]
6164
6679
  }),
6165
- secondary: jsx(Typography, {
6680
+ secondary: jsxRuntime.jsx(edsCoreReact.Typography, {
6166
6681
  variant: 'caption',
6167
6682
  className: styles$6.secondaryText,
6168
6683
  children: wo.description
6169
6684
  }),
6170
- tertiary: jsxs(Fragment, {
6171
- children: [jsxs(Typography, {
6685
+ tertiary: jsxRuntime.jsxs(jsxRuntime.Fragment, {
6686
+ children: [jsxRuntime.jsxs(edsCoreReact.Typography, {
6172
6687
  variant: "meta",
6173
6688
  className: styles$6.tertiary,
6174
- children: [wo.planningPlant, jsx("span", {
6689
+ children: [wo.planningPlant, jsxRuntime.jsx("span", {
6175
6690
  "aria-orientation": "vertical",
6176
6691
  className: styles$6.divider
6177
6692
  }), wo.workCenterId]
6178
- }), showDate && jsx(Typography, {
6693
+ }), showDate && jsxRuntime.jsx(edsCoreReact.Typography, {
6179
6694
  variant: "meta",
6180
6695
  className: styles$6.tertiary,
6181
6696
  children: displayHeaderDate()
6182
6697
  })]
6183
6698
  }),
6184
- visual: jsx("div", {
6699
+ visual: jsxRuntime.jsx("div", {
6185
6700
  className: wo.isActive ? styles$6.visualActive : styles$6.visualCompleted,
6186
- children: jsx(Icon$1, {
6701
+ children: jsxRuntime.jsx(edsCoreReact.Icon, {
6187
6702
  name: setWorkOrderIconName(wo.orderType),
6188
6703
  color: "black"
6189
6704
  })
@@ -6209,13 +6724,13 @@ const DraggableItemsWrapper = ({
6209
6724
  onChange,
6210
6725
  children
6211
6726
  }) => {
6212
- const [dragItems, setDragItems] = useState(children.map((element, id) => {
6727
+ const [dragItems, setDragItems] = React.useState(children.map((element, id) => {
6213
6728
  return {
6214
6729
  id,
6215
6730
  element
6216
6731
  };
6217
6732
  }));
6218
- useEffect(() => {
6733
+ React.useEffect(() => {
6219
6734
  setDragItems(children.map((element, id) => {
6220
6735
  return {
6221
6736
  id,
@@ -6223,9 +6738,9 @@ const DraggableItemsWrapper = ({
6223
6738
  };
6224
6739
  }));
6225
6740
  }, [children]);
6226
- return jsx("div", {
6741
+ return jsxRuntime.jsx("div", {
6227
6742
  style: style,
6228
- children: dragItems.length > 0 && jsx(ReactSortable, {
6743
+ children: dragItems.length > 0 && jsxRuntime.jsx(reactSortablejs.ReactSortable, {
6229
6744
  animation: 200,
6230
6745
  handle: `.${DraggableHandleSelector}`,
6231
6746
  list: dragItems,
@@ -6233,7 +6748,7 @@ const DraggableItemsWrapper = ({
6233
6748
  onChange(dragItems, evt.oldIndex, evt.newIndex);
6234
6749
  },
6235
6750
  setList: setDragItems,
6236
- children: dragItems.map(dragItem => jsx("div", {
6751
+ children: dragItems.map(dragItem => jsxRuntime.jsx("div", {
6237
6752
  className: DraggableHandleSelector,
6238
6753
  children: dragItem.element
6239
6754
  }, dragItem.id))
@@ -6262,16 +6777,16 @@ const RadioButtonGroup = ({
6262
6777
  style,
6263
6778
  onSelected
6264
6779
  }) => {
6265
- return jsxs("div", {
6780
+ return jsxRuntime.jsxs("div", {
6266
6781
  style: style,
6267
- children: [jsx(Typography, {
6782
+ children: [jsxRuntime.jsx(edsCoreReact.Typography, {
6268
6783
  variant: "body_short",
6269
6784
  className: styles$5.header,
6270
6785
  children: title
6271
- }), jsx("div", {
6786
+ }), jsxRuntime.jsx("div", {
6272
6787
  className: styles$5.buttonWrapper,
6273
6788
  children: options.map((option, index) => {
6274
- return jsx(Radio, {
6789
+ return jsxRuntime.jsx(edsCoreReact.Radio, {
6275
6790
  label: option.title,
6276
6791
  checked: option.isChecked,
6277
6792
  onChange: () => {
@@ -6287,11 +6802,11 @@ var css_248z$5 = ".roundIconButton-module_pageMenuButton__KZlt4{background:#fff;
6287
6802
  var style = {"pageMenuButton":"roundIconButton-module_pageMenuButton__KZlt4","toggleButton":"roundIconButton-module_toggleButton__MOztz","activeButton":"roundIconButton-module_activeButton__4dLNN"};
6288
6803
  styleInject(css_248z$5);
6289
6804
 
6290
- var RoundIconButtonVariants;
6805
+ exports.RoundIconButtonVariants = void 0;
6291
6806
  (function (RoundIconButtonVariants) {
6292
6807
  RoundIconButtonVariants["OpenCloseButton"] = "openCloseButton";
6293
6808
  RoundIconButtonVariants["ToggleButton"] = "toggleButton";
6294
- })(RoundIconButtonVariants || (RoundIconButtonVariants = {}));
6809
+ })(exports.RoundIconButtonVariants || (exports.RoundIconButtonVariants = {}));
6295
6810
  const RoundIconButton = ({
6296
6811
  onClick,
6297
6812
  label,
@@ -6299,11 +6814,11 @@ const RoundIconButton = ({
6299
6814
  variant,
6300
6815
  active
6301
6816
  }) => {
6302
- const isToggleVariant = variant === RoundIconButtonVariants.ToggleButton;
6817
+ const isToggleVariant = variant === exports.RoundIconButtonVariants.ToggleButton;
6303
6818
  const mutateIcon = buttonVariant => {
6304
6819
  switch (buttonVariant) {
6305
- case RoundIconButtonVariants.OpenCloseButton:
6306
- return active ? jsx(Icon$1, {
6820
+ case exports.RoundIconButtonVariants.OpenCloseButton:
6821
+ return active ? jsxRuntime.jsx(edsCoreReact.Icon, {
6307
6822
  color: themeConst.white,
6308
6823
  name: 'close'
6309
6824
  }) : children;
@@ -6311,7 +6826,7 @@ const RoundIconButton = ({
6311
6826
  return children;
6312
6827
  }
6313
6828
  };
6314
- return jsx("button", {
6829
+ return jsxRuntime.jsx("button", {
6315
6830
  className: `${style.pageMenuButton} ${isToggleVariant ? style.toggleButton : ''} ${active ? style.activeButton : ''}`,
6316
6831
  onClick: onClick,
6317
6832
  title: label,
@@ -6349,15 +6864,15 @@ const SliderField = ({
6349
6864
  const outputFunctionForLabels = (currentValue, labelsAsParam) => {
6350
6865
  return labelsAsParam[currentValue];
6351
6866
  };
6352
- return jsxs("div", {
6867
+ return jsxRuntime.jsxs("div", {
6353
6868
  className: styles$4.sliderField,
6354
6869
  style: style,
6355
- children: [jsx(Typography, {
6870
+ children: [jsxRuntime.jsx(edsCoreReact.Typography, {
6356
6871
  variant: "body_short",
6357
6872
  children: title
6358
- }), jsx("div", {
6873
+ }), jsxRuntime.jsx("div", {
6359
6874
  className: styles$4.sliderWrapper,
6360
- children: !labels || labels && labels.length === 0 ? jsx(Slider, {
6875
+ children: !labels || labels && labels.length === 0 ? jsxRuntime.jsx(edsCoreReact.Slider, {
6361
6876
  value: value,
6362
6877
  min: min,
6363
6878
  max: max,
@@ -6365,7 +6880,7 @@ const SliderField = ({
6365
6880
  onChange: (e, newValue) => {
6366
6881
  onChange(newValue);
6367
6882
  }
6368
- }) : jsx(Slider, {
6883
+ }) : jsxRuntime.jsx(edsCoreReact.Slider, {
6369
6884
  value: value,
6370
6885
  min: 0,
6371
6886
  max: labels.length - 1,
@@ -6401,16 +6916,16 @@ const TextIconButton = ({
6401
6916
  style
6402
6917
  }) => {
6403
6918
  const CustomIcon = icon;
6404
- return jsxs("button", {
6919
+ return jsxRuntime.jsxs("button", {
6405
6920
  className: styles$3.button,
6406
6921
  onClick: onClick,
6407
6922
  style: style,
6408
- children: [typeof icon == 'string' ? jsx(Icon, {
6923
+ children: [typeof icon == 'string' ? jsxRuntime.jsx(Icon, {
6409
6924
  name: icon,
6410
6925
  title: title,
6411
6926
  color: themeConst.asBuilt,
6412
6927
  size: 40
6413
- }) : jsx(CustomIcon, {}), jsx(Typography, {
6928
+ }) : jsxRuntime.jsx(CustomIcon, {}), jsxRuntime.jsx(edsCoreReact.Typography, {
6414
6929
  className: styles$3.text,
6415
6930
  color: themeConst.asBuilt,
6416
6931
  children: title
@@ -6644,7 +7159,7 @@ var echoIcons = /*#__PURE__*/Object.freeze({
6644
7159
  distance_circle: distance_circle
6645
7160
  });
6646
7161
 
6647
- Icon$1.add(Object.assign(Object.assign({}, edsIcons), echoIcons));
7162
+ edsCoreReact.Icon.add(Object.assign(Object.assign({}, edsIcons__namespace), echoIcons));
6648
7163
 
6649
7164
  /**
6650
7165
  * Helper method that will return a list row given some input values. Used in IconList component for rendering rows
@@ -6657,7 +7172,7 @@ Icon$1.add(Object.assign(Object.assign({}, edsIcons), echoIcons));
6657
7172
  * @return {*} {React.ReactNode} A list row component created from the input parameters
6658
7173
  */
6659
7174
  const createListRow = (isDraggable, index, iconListState, setIconListState, expandedIcons) => {
6660
- return jsx(ListRow, {
7175
+ return jsxRuntime.jsx(ListRow, {
6661
7176
  isDraggable: isDraggable,
6662
7177
  item: iconListState.orderedItems[index],
6663
7178
  expandable: expandedIcons ? {
@@ -6710,12 +7225,12 @@ const IconList = ({
6710
7225
  expandedIcons,
6711
7226
  onUpdatedOrder
6712
7227
  }) => {
6713
- const [iconListState, setIconListState] = useState({
7228
+ const [iconListState, setIconListState] = React.useState({
6714
7229
  orderedItems: items,
6715
7230
  expandedIndex: -1
6716
7231
  });
6717
- const [rowElements, setRowElements] = useState(iconListState.orderedItems.map((_, index) => createListRow(isDraggable, index, iconListState, setIconListState, expandedIcons)));
6718
- useEffect(() => {
7232
+ const [rowElements, setRowElements] = React.useState(iconListState.orderedItems.map((_, index) => createListRow(isDraggable, index, iconListState, setIconListState, expandedIcons)));
7233
+ React.useEffect(() => {
6719
7234
  setIconListState({
6720
7235
  orderedItems: items,
6721
7236
  expandedIndex: -1
@@ -6735,31 +7250,31 @@ const IconList = ({
6735
7250
  });
6736
7251
  onUpdatedOrder(updatedOrder);
6737
7252
  };
6738
- const createRows = useCallback(() => {
7253
+ const createRows = React.useCallback(() => {
6739
7254
  setRowElements(iconListState.orderedItems.map((_, index) => createListRow(isDraggable, index, iconListState, setIconListState, expandedIcons)));
6740
7255
  }, [iconListState, isDraggable, expandedIcons]);
6741
- useEffect(() => {
7256
+ React.useEffect(() => {
6742
7257
  createRows();
6743
7258
  }, [items, createRows]);
6744
- return jsxs("div", {
7259
+ return jsxRuntime.jsxs("div", {
6745
7260
  className: styles$2.wrapper,
6746
7261
  style: style,
6747
- children: [jsx("div", {
7262
+ children: [jsxRuntime.jsx("div", {
6748
7263
  className: styles$2.header,
6749
- children: jsx(Typography, {
7264
+ children: jsxRuntime.jsx(edsCoreReact.Typography, {
6750
7265
  group: "table",
6751
7266
  variant: "cell_text",
6752
7267
  bold: true,
6753
7268
  children: title
6754
7269
  })
6755
- }), isDraggable ? jsx(DraggableItemsWrapper, {
7270
+ }), isDraggable ? jsxRuntime.jsx(DraggableItemsWrapper, {
6756
7271
  style: style,
6757
7272
  onChange: newDragItems => {
6758
7273
  setRowElements(newDragItems.map(d => d.element));
6759
7274
  reorderOnChange(newDragItems);
6760
7275
  },
6761
7276
  children: rowElements
6762
- }) : jsx("div", {
7277
+ }) : jsxRuntime.jsx("div", {
6763
7278
  style: style,
6764
7279
  children: rowElements
6765
7280
  })]
@@ -6793,67 +7308,67 @@ const LinkCard = ({
6793
7308
  subTitle,
6794
7309
  links
6795
7310
  }) => {
6796
- const titleRef = /*#__PURE__*/React__default.createRef();
6797
- const subTitleRef = /*#__PURE__*/React__default.createRef();
6798
- const [showTitleToolTip, setShowTitleToolTip] = useState(false);
6799
- const [showSubTitleToolTip, setShowSubTitleToolTip] = useState(false);
6800
- useEffect(() => {
7311
+ const titleRef = /*#__PURE__*/React__default["default"].createRef();
7312
+ const subTitleRef = /*#__PURE__*/React__default["default"].createRef();
7313
+ const [showTitleToolTip, setShowTitleToolTip] = React.useState(false);
7314
+ const [showSubTitleToolTip, setShowSubTitleToolTip] = React.useState(false);
7315
+ React.useEffect(() => {
6801
7316
  if (titleRef.current && titleRef.current.scrollHeight > 46) {
6802
7317
  setShowTitleToolTip(true);
6803
7318
  }
6804
7319
  }, [titleRef]);
6805
- useEffect(() => {
7320
+ React.useEffect(() => {
6806
7321
  if (subTitleRef.current && subTitleRef.current.scrollHeight > 46) {
6807
7322
  setShowSubTitleToolTip(true);
6808
7323
  }
6809
7324
  }, [subTitleRef]);
6810
- return jsxs("div", {
7325
+ return jsxRuntime.jsxs("div", {
6811
7326
  className: styles$1.wrapper,
6812
7327
  style: style,
6813
- children: [jsx("div", {
7328
+ children: [jsxRuntime.jsx("div", {
6814
7329
  className: styles$1.image,
6815
7330
  style: {
6816
7331
  backgroundImage: `url(${image})`
6817
7332
  }
6818
- }), jsxs("div", {
7333
+ }), jsxRuntime.jsxs("div", {
6819
7334
  className: styles$1.header,
6820
- children: [showTitleToolTip ? jsx(Tooltip$1, {
7335
+ children: [showTitleToolTip ? jsxRuntime.jsx(edsCoreReact.Tooltip, {
6821
7336
  placement: "bottom-start",
6822
7337
  title: title,
6823
- children: jsx(Typography, {
7338
+ children: jsxRuntime.jsx(edsCoreReact.Typography, {
6824
7339
  variant: "h3",
6825
7340
  className: styles$1.title,
6826
7341
  ref: titleRef,
6827
7342
  children: title
6828
7343
  })
6829
- }) : jsx(Typography, {
7344
+ }) : jsxRuntime.jsx(edsCoreReact.Typography, {
6830
7345
  className: styles$1.title,
6831
7346
  variant: "h3",
6832
7347
  ref: titleRef,
6833
7348
  children: title
6834
- }), showSubTitleToolTip ? jsx(Tooltip$1, {
7349
+ }), showSubTitleToolTip ? jsxRuntime.jsx(edsCoreReact.Tooltip, {
6835
7350
  placement: "bottom-start",
6836
7351
  title: subTitle,
6837
- children: jsx(Typography, {
7352
+ children: jsxRuntime.jsx(edsCoreReact.Typography, {
6838
7353
  className: styles$1.subTitle,
6839
7354
  variant: "h3",
6840
7355
  ref: subTitleRef,
6841
7356
  children: subTitle
6842
7357
  })
6843
- }) : jsx(Typography, {
7358
+ }) : jsxRuntime.jsx(edsCoreReact.Typography, {
6844
7359
  className: styles$1.subTitle,
6845
7360
  variant: "h3",
6846
7361
  ref: subTitleRef,
6847
7362
  children: subTitle
6848
7363
  })]
6849
- }), jsx("div", {
7364
+ }), jsxRuntime.jsx("div", {
6850
7365
  className: styles$1.links,
6851
7366
  children: links.map((link, index) => {
6852
7367
  var _a;
6853
- return jsx("a", {
7368
+ return jsxRuntime.jsx("a", {
6854
7369
  href: link.url,
6855
7370
  target: (_a = link.target) !== null && _a !== void 0 ? _a : '_self',
6856
- children: jsx(Typography, {
7371
+ children: jsxRuntime.jsx(edsCoreReact.Typography, {
6857
7372
  className: styles$1.link,
6858
7373
  variant: "body_short",
6859
7374
  children: link.title
@@ -6889,13 +7404,13 @@ const OptionsList = ({
6889
7404
  titles,
6890
7405
  columns
6891
7406
  }) => {
6892
- return jsxs("div", {
7407
+ return jsxRuntime.jsxs("div", {
6893
7408
  className: styles.wrapper,
6894
7409
  style: style,
6895
- children: [jsx("div", {
7410
+ children: [jsxRuntime.jsx("div", {
6896
7411
  className: styles.head,
6897
7412
  children: titles.map((title, index) => {
6898
- return jsx(Typography, {
7413
+ return jsxRuntime.jsx(edsCoreReact.Typography, {
6899
7414
  group: "table",
6900
7415
  variant: "cell_text",
6901
7416
  bold: true,
@@ -6904,21 +7419,21 @@ const OptionsList = ({
6904
7419
  }, index);
6905
7420
  })
6906
7421
  }), items.map((item, rowIndex) => {
6907
- return jsxs("div", {
7422
+ return jsxRuntime.jsxs("div", {
6908
7423
  className: styles.row,
6909
- children: [jsxs("div", {
7424
+ children: [jsxRuntime.jsxs("div", {
6910
7425
  className: styles.item,
6911
- children: [item.color && jsx("div", {
7426
+ children: [item.color && jsxRuntime.jsx("div", {
6912
7427
  className: styles.circle,
6913
7428
  style: {
6914
7429
  backgroundColor: item.color
6915
7430
  }
6916
- }), jsx(Typography, {
7431
+ }), jsxRuntime.jsx(edsCoreReact.Typography, {
6917
7432
  className: styles.itemTitle,
6918
7433
  children: item.title
6919
7434
  })]
6920
7435
  }), createNumberArray(columns).map(columnIndex => {
6921
- return jsx(Radio, {
7436
+ return jsxRuntime.jsx(edsCoreReact.Radio, {
6922
7437
  title: item.title,
6923
7438
  className: styles.radio,
6924
7439
  label: '',
@@ -6945,4 +7460,93 @@ function createNumberArray(N) {
6945
7460
  return numberArray;
6946
7461
  }
6947
7462
 
6948
- export { BlackLink, ButtonWithPopover, ContextMenu, CopyToClipboard, DataInfoButton, DialogGenerator, DraggableItemsWrapper, Dropdown, EchoBottomBar, EchoCard, EchoHeader, EchoTooltip, FloatingActionButton, FloatingSearchBar, Icon, IconList, InlineTagIconLink, LayerLegend, LineChart, LinkCard, ListItem, ListRow, MainLegend, MenuButton, OptionsList, PCMatrix, Panel, PanelContent, PanelContentWrapper, PanelWrapper, RadioButtonGroup, ReactDatePicker, ResponsiveSearchBar, RoundIconButton, RoundIconButtonVariants, SideSheet, SideSheetOrientation, SidebarButton, SliderField, SplitView, TagCategoryIcon, TagCategoryType, TagContextMenu, TagIcon, TagIconShadowWrapper, TextIconButton, TimePicker, WorkOrderListItem, classnames, dateToStringOrEmpty, distance_circle, echoIcons, getIcon, map_legend_info, measuring_point, notifications_m1, notifications_m2, notifications_m3, notifications_m4, notifications_m5, notifications_m6, notifications_m9, notifications_main_group, polygon, polygon_symbol, polyline, polyrectangle, punches_main_group, punches_pa, punches_pb, robim_external_ald, robim_external_iwit, robim_external_methane_sensor, robim_external_satellite, robim_external_timp, robim_external_timp_text, setRequiredEndDateColor, setWorkOrderIconName, themeConst, useIsMobile, useKeyboardNavigation, usePanelStore, useSearchBarSectionNavigator, workorders_main_group, workorders_pm01, workorders_pm02, workorders_pm03, workorders_pm04, workorders_pm05, workorders_pm06, workorders_pm10, workorders_pm15, workorders_pm20 };
7463
+ exports.BlackLink = BlackLink;
7464
+ exports.ButtonWithPopover = ButtonWithPopover;
7465
+ exports.ContextMenu = ContextMenu;
7466
+ exports.CopyToClipboard = CopyToClipboard;
7467
+ exports.DataInfoButton = DataInfoButton;
7468
+ exports.DialogGenerator = DialogGenerator;
7469
+ exports.DraggableItemsWrapper = DraggableItemsWrapper;
7470
+ exports.Dropdown = Dropdown;
7471
+ exports.EchoBottomBar = EchoBottomBar;
7472
+ exports.EchoCard = EchoCard;
7473
+ exports.EchoHeader = EchoHeader;
7474
+ exports.EchoTooltip = EchoTooltip;
7475
+ exports.FloatingActionButton = FloatingActionButton;
7476
+ exports.FloatingSearchBar = FloatingSearchBar;
7477
+ exports.Icon = Icon;
7478
+ exports.IconList = IconList;
7479
+ exports.InlineTagIconLink = InlineTagIconLink;
7480
+ exports.LayerLegend = LayerLegend;
7481
+ exports.LineChart = LineChart;
7482
+ exports.LinkCard = LinkCard;
7483
+ exports.ListItem = ListItem;
7484
+ exports.ListRow = ListRow;
7485
+ exports.MainLegend = MainLegend;
7486
+ exports.MenuButton = MenuButton;
7487
+ exports.OptionsList = OptionsList;
7488
+ exports.PCMatrix = PCMatrix;
7489
+ exports.Panel = Panel;
7490
+ exports.PanelContent = PanelContent;
7491
+ exports.PanelContentWrapper = PanelContentWrapper;
7492
+ exports.PanelWrapper = PanelWrapper;
7493
+ exports.RadioButtonGroup = RadioButtonGroup;
7494
+ exports.ReactDatePicker = ReactDatePicker;
7495
+ exports.ResponsiveSearchBar = ResponsiveSearchBar;
7496
+ exports.RoundIconButton = RoundIconButton;
7497
+ exports.SideSheet = SideSheet;
7498
+ exports.SidebarButton = SidebarButton;
7499
+ exports.SliderField = SliderField;
7500
+ exports.SplitView = SplitView;
7501
+ exports.TagCategoryIcon = TagCategoryIcon;
7502
+ exports.TagContextMenu = TagContextMenu;
7503
+ exports.TagIcon = TagIcon;
7504
+ exports.TagIconShadowWrapper = TagIconShadowWrapper;
7505
+ exports.TextIconButton = TextIconButton;
7506
+ exports.TimePicker = TimePicker;
7507
+ exports.WorkOrderListItem = WorkOrderListItem;
7508
+ exports.classnames = classnames;
7509
+ exports.dateToStringOrEmpty = dateToStringOrEmpty;
7510
+ exports.distance_circle = distance_circle;
7511
+ exports.echoIcons = echoIcons;
7512
+ exports.getIcon = getIcon;
7513
+ exports.map_legend_info = map_legend_info;
7514
+ exports.measuring_point = measuring_point;
7515
+ exports.notifications_m1 = notifications_m1;
7516
+ exports.notifications_m2 = notifications_m2;
7517
+ exports.notifications_m3 = notifications_m3;
7518
+ exports.notifications_m4 = notifications_m4;
7519
+ exports.notifications_m5 = notifications_m5;
7520
+ exports.notifications_m6 = notifications_m6;
7521
+ exports.notifications_m9 = notifications_m9;
7522
+ exports.notifications_main_group = notifications_main_group;
7523
+ exports.polygon = polygon;
7524
+ exports.polygon_symbol = polygon_symbol;
7525
+ exports.polyline = polyline;
7526
+ exports.polyrectangle = polyrectangle;
7527
+ exports.punches_main_group = punches_main_group;
7528
+ exports.punches_pa = punches_pa;
7529
+ exports.punches_pb = punches_pb;
7530
+ exports.robim_external_ald = robim_external_ald;
7531
+ exports.robim_external_iwit = robim_external_iwit;
7532
+ exports.robim_external_methane_sensor = robim_external_methane_sensor;
7533
+ exports.robim_external_satellite = robim_external_satellite;
7534
+ exports.robim_external_timp = robim_external_timp;
7535
+ exports.robim_external_timp_text = robim_external_timp_text;
7536
+ exports.setRequiredEndDateColor = setRequiredEndDateColor;
7537
+ exports.setWorkOrderIconName = setWorkOrderIconName;
7538
+ exports.themeConst = themeConst;
7539
+ exports.useIsMobile = useIsMobile;
7540
+ exports.useKeyboardNavigation = useKeyboardNavigation;
7541
+ exports.usePanelStore = usePanelStore;
7542
+ exports.useSearchBarSectionNavigator = useSearchBarSectionNavigator;
7543
+ exports.workorders_main_group = workorders_main_group;
7544
+ exports.workorders_pm01 = workorders_pm01;
7545
+ exports.workorders_pm02 = workorders_pm02;
7546
+ exports.workorders_pm03 = workorders_pm03;
7547
+ exports.workorders_pm04 = workorders_pm04;
7548
+ exports.workorders_pm05 = workorders_pm05;
7549
+ exports.workorders_pm06 = workorders_pm06;
7550
+ exports.workorders_pm10 = workorders_pm10;
7551
+ exports.workorders_pm15 = workorders_pm15;
7552
+ exports.workorders_pm20 = workorders_pm20;