@bigbinary/neetoui 8.2.57 → 8.2.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ActionDropdown.js +1 -1
- package/dist/Alert.js +2 -2
- package/dist/Checkbox.js +1 -1
- package/dist/ColorPicker.js +2 -2
- package/dist/DatePicker.js +6 -6
- package/dist/Dropdown.js +1 -1
- package/dist/Input.js +1 -1
- package/dist/Modal.js +2 -2
- package/dist/MultiEmailInput.js +1 -1
- package/dist/Pagination.js +1 -1
- package/dist/Pane.js +2 -2
- package/dist/Radio.js +1 -1
- package/dist/Select.js +1 -1
- package/dist/Sidebar.js +1 -1
- package/dist/Slider.js +1 -1
- package/dist/Switch.js +1 -1
- package/dist/Table.js +3 -13
- package/dist/Table.js.map +1 -1
- package/dist/{Textarea-DmDxJibw.js → Textarea-DsBVtWMa.js} +2 -2
- package/dist/{Textarea-DmDxJibw.js.map → Textarea-DsBVtWMa.js.map} +1 -1
- package/dist/Textarea.js +2 -2
- package/dist/TimePicker.js +6 -6
- package/dist/Toastr.js +1 -1
- package/dist/Tree.js +1 -1
- package/dist/TreeSelect.js +1 -1
- package/dist/cjs/ActionDropdown.js +1 -1
- package/dist/cjs/Alert.js +2 -2
- package/dist/cjs/Checkbox.js +1 -1
- package/dist/cjs/ColorPicker.js +2 -2
- package/dist/cjs/DatePicker.js +6 -6
- package/dist/cjs/Dropdown.js +1 -1
- package/dist/cjs/Input.js +1 -1
- package/dist/cjs/Modal.js +2 -2
- package/dist/cjs/MultiEmailInput.js +1 -1
- package/dist/cjs/Pagination.js +1 -1
- package/dist/cjs/Pane.js +2 -2
- package/dist/cjs/Radio.js +1 -1
- package/dist/cjs/Select.js +1 -1
- package/dist/cjs/Sidebar.js +1 -1
- package/dist/cjs/Slider.js +1 -1
- package/dist/cjs/Switch.js +1 -1
- package/dist/cjs/Table.js +3 -13
- package/dist/cjs/Table.js.map +1 -1
- package/dist/cjs/{Textarea-nNNwpIm3.js → Textarea-NSw6qW8g.js} +2 -2
- package/dist/cjs/{Textarea-nNNwpIm3.js.map → Textarea-NSw6qW8g.js.map} +1 -1
- package/dist/cjs/Textarea.js +2 -2
- package/dist/cjs/TimePicker.js +6 -6
- package/dist/cjs/Toastr.js +1 -1
- package/dist/cjs/Tree.js +1 -1
- package/dist/cjs/TreeSelect.js +1 -1
- package/dist/cjs/formik/ActionBlock.js +1 -1
- package/dist/cjs/formik/BlockNavigation.js +2 -2
- package/dist/cjs/formik/Checkbox.js +1 -1
- package/dist/cjs/formik/Input.js +1 -1
- package/dist/cjs/formik/MultiEmailInput.js +1 -1
- package/dist/cjs/formik/Radio.js +1 -1
- package/dist/cjs/formik/Select.js +1 -1
- package/dist/cjs/formik/Slider.js +1 -1
- package/dist/cjs/formik/Switch.js +1 -1
- package/dist/cjs/formik/Textarea.js +2 -2
- package/dist/cjs/formik/TreeSelect.js +1 -1
- package/dist/cjs/formik/index.js +3 -3
- package/dist/cjs/{index-H1fHQDBL.js → index-B0UWKWWM.js} +20 -10
- package/dist/cjs/index-B0UWKWWM.js.map +1 -0
- package/dist/cjs/{index-CJX-j3hk.js → index-ClODY_G-.js} +5 -5
- package/dist/cjs/{index-CJX-j3hk.js.map → index-ClODY_G-.js.map} +1 -1
- package/dist/cjs/index.js +6 -6
- package/dist/cjs/layouts.js +1 -1
- package/dist/cjs/{useOverlayManager-B8KqNsXk.js → useOverlayManager-Dws0oNMb.js} +2 -2
- package/dist/cjs/{useOverlayManager-B8KqNsXk.js.map → useOverlayManager-Dws0oNMb.js.map} +1 -1
- package/dist/cjs/{useRecentlyUsedColors-vx3sC9ls.js → useRecentlyUsedColors-COJ_Yy6S.js} +2 -2
- package/dist/cjs/{useRecentlyUsedColors-vx3sC9ls.js.map → useRecentlyUsedColors-COJ_Yy6S.js.map} +1 -1
- package/dist/cjs/{useRestoreScrollPosition-CrQouB8p.js → useRestoreScrollPosition-CsE_6uNi.js} +2 -2
- package/dist/cjs/{useRestoreScrollPosition-CrQouB8p.js.map → useRestoreScrollPosition-CsE_6uNi.js.map} +1 -1
- package/dist/formik/ActionBlock.js +1 -1
- package/dist/formik/BlockNavigation.js +2 -2
- package/dist/formik/Checkbox.js +1 -1
- package/dist/formik/Input.js +1 -1
- package/dist/formik/MultiEmailInput.js +1 -1
- package/dist/formik/Radio.js +1 -1
- package/dist/formik/Select.js +1 -1
- package/dist/formik/Slider.js +1 -1
- package/dist/formik/Switch.js +1 -1
- package/dist/formik/Textarea.js +2 -2
- package/dist/formik/TreeSelect.js +1 -1
- package/dist/formik/index.js +3 -3
- package/dist/{index-BQigAGFU.js → index-Bugo-iau.js} +20 -10
- package/dist/index-Bugo-iau.js.map +1 -0
- package/dist/{index-DkcABAjZ.js → index-KFJttma5.js} +5 -5
- package/dist/{index-DkcABAjZ.js.map → index-KFJttma5.js.map} +1 -1
- package/dist/index.js +6 -6
- package/dist/layouts.js +1 -1
- package/dist/{useOverlayManager-08Hf97Df.js → useOverlayManager-WMHQ-zMl.js} +2 -2
- package/dist/{useOverlayManager-08Hf97Df.js.map → useOverlayManager-WMHQ-zMl.js.map} +1 -1
- package/dist/{useRecentlyUsedColors-D3eceLPO.js → useRecentlyUsedColors-KA1lk4I5.js} +2 -2
- package/dist/{useRecentlyUsedColors-D3eceLPO.js.map → useRecentlyUsedColors-KA1lk4I5.js.map} +1 -1
- package/dist/{useRestoreScrollPosition-C3xZfliW.js → useRestoreScrollPosition-C-Uw1lxd.js} +2 -2
- package/dist/{useRestoreScrollPosition-C3xZfliW.js.map → useRestoreScrollPosition-C-Uw1lxd.js.map} +1 -1
- package/package.json +1 -1
- package/dist/cjs/index-H1fHQDBL.js.map +0 -1
- package/dist/index-BQigAGFU.js.map +0 -1
package/dist/ActionDropdown.js
CHANGED
|
@@ -3,7 +3,7 @@ import _extends from '@babel/runtime/helpers/extends';
|
|
|
3
3
|
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
4
4
|
import React__default from 'react';
|
|
5
5
|
import classnames from 'classnames';
|
|
6
|
-
import { n as noop } from './index-
|
|
6
|
+
import { n as noop } from './index-Bugo-iau.js';
|
|
7
7
|
import Button from './Button.js';
|
|
8
8
|
import Dropdown from './Dropdown.js';
|
|
9
9
|
import '@babel/runtime/helpers/slicedToArray';
|
package/dist/Alert.js
CHANGED
|
@@ -13,7 +13,7 @@ import '@babel/runtime/helpers/slicedToArray';
|
|
|
13
13
|
import '@tippyjs/react';
|
|
14
14
|
import 'tippy.js';
|
|
15
15
|
import '@bigbinary/neeto-icons';
|
|
16
|
-
import './useOverlayManager-
|
|
16
|
+
import './useOverlayManager-WMHQ-zMl.js';
|
|
17
17
|
import '@babel/runtime/helpers/esm/extends';
|
|
18
18
|
import '@babel/runtime/helpers/esm/objectWithoutPropertiesLoose';
|
|
19
19
|
import '@babel/runtime/helpers/esm/inheritsLoose';
|
|
@@ -23,7 +23,7 @@ import '@bigbinary/neeto-hotkeys';
|
|
|
23
23
|
import './overlayManager.js';
|
|
24
24
|
import '@babel/runtime/helpers/classCallCheck';
|
|
25
25
|
import '@babel/runtime/helpers/createClass';
|
|
26
|
-
import './index-
|
|
26
|
+
import './index-Bugo-iau.js';
|
|
27
27
|
import '@bigbinary/neeto-cist';
|
|
28
28
|
import 'qs';
|
|
29
29
|
import './en-D0AIwLkS.js';
|
package/dist/Checkbox.js
CHANGED
|
@@ -7,7 +7,7 @@ import '@babel/runtime/helpers/slicedToArray';
|
|
|
7
7
|
import 'react-router-dom';
|
|
8
8
|
import '@bigbinary/neeto-hotkeys';
|
|
9
9
|
import './overlayManager.js';
|
|
10
|
-
import { h as hyphenize } from './index-
|
|
10
|
+
import { h as hyphenize } from './index-Bugo-iau.js';
|
|
11
11
|
import '@babel/runtime/helpers/defineProperty';
|
|
12
12
|
import 'qs';
|
|
13
13
|
import Label from './Label.js';
|
package/dist/ColorPicker.js
CHANGED
|
@@ -9,11 +9,11 @@ import classnames from 'classnames';
|
|
|
9
9
|
import { ColorPicker as ColorPicker$1, Down } from '@bigbinary/neeto-icons';
|
|
10
10
|
import { HexColorInput, HexAlphaColorPicker, HexColorPicker } from 'react-colorful';
|
|
11
11
|
import { useTranslation } from 'react-i18next';
|
|
12
|
-
import { t as tinycolor, u as useRecentlyUsedColors } from './useRecentlyUsedColors-
|
|
12
|
+
import { t as tinycolor, u as useRecentlyUsedColors } from './useRecentlyUsedColors-KA1lk4I5.js';
|
|
13
13
|
import Button from './Button.js';
|
|
14
14
|
import Dropdown from './Dropdown.js';
|
|
15
15
|
import Typography from './Typography.js';
|
|
16
|
-
import { g as getLocale, n as noop } from './index-
|
|
16
|
+
import { g as getLocale, n as noop } from './index-Bugo-iau.js';
|
|
17
17
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
18
18
|
import 'react-router-dom';
|
|
19
19
|
import './Spinner.js';
|
package/dist/DatePicker.js
CHANGED
|
@@ -23,10 +23,10 @@ import '@babel/runtime/helpers/asyncToGenerator';
|
|
|
23
23
|
import '@babel/runtime/regenerator';
|
|
24
24
|
import 'react-colorful';
|
|
25
25
|
import 'react-i18next';
|
|
26
|
-
import './useRecentlyUsedColors-
|
|
26
|
+
import './useRecentlyUsedColors-KA1lk4I5.js';
|
|
27
27
|
import './Dropdown.js';
|
|
28
|
-
import './index-
|
|
29
|
-
export { D as default } from './index-
|
|
28
|
+
import './index-Bugo-iau.js';
|
|
29
|
+
export { D as default } from './index-KFJttma5.js';
|
|
30
30
|
import './Input.js';
|
|
31
31
|
import './Label.js';
|
|
32
32
|
import './MultiEmailInput.js';
|
|
@@ -35,7 +35,7 @@ import './useId-Jj9hXm-g.js';
|
|
|
35
35
|
import '@bigbinary/neeto-hotkeys';
|
|
36
36
|
import './overlayManager.js';
|
|
37
37
|
import 'qs';
|
|
38
|
-
import './Textarea-
|
|
38
|
+
import './Textarea-DsBVtWMa.js';
|
|
39
39
|
import './Pane.js';
|
|
40
40
|
import './Popover.js';
|
|
41
41
|
import 'framer-motion';
|
|
@@ -62,7 +62,7 @@ import './Switch.js';
|
|
|
62
62
|
import './Tab.js';
|
|
63
63
|
import 'antd/lib/table';
|
|
64
64
|
import 'react-drag-listview';
|
|
65
|
-
import './useRestoreScrollPosition-
|
|
65
|
+
import './useRestoreScrollPosition-C-Uw1lxd.js';
|
|
66
66
|
import 'react-resizable';
|
|
67
67
|
import './Tag.js';
|
|
68
68
|
import './Toastr.js';
|
|
@@ -77,7 +77,7 @@ import 'dayjs/plugin/weekday';
|
|
|
77
77
|
import 'dayjs/plugin/weekOfYear';
|
|
78
78
|
import './Spinner.js';
|
|
79
79
|
import './Tooltip.js';
|
|
80
|
-
import './useOverlayManager-
|
|
80
|
+
import './useOverlayManager-WMHQ-zMl.js';
|
|
81
81
|
import '@babel/runtime/helpers/esm/objectWithoutPropertiesLoose';
|
|
82
82
|
import '@babel/runtime/helpers/esm/inheritsLoose';
|
|
83
83
|
import './constants.js';
|
package/dist/Dropdown.js
CHANGED
|
@@ -8,7 +8,7 @@ import classnames from 'classnames';
|
|
|
8
8
|
import { Down } from '@bigbinary/neeto-icons';
|
|
9
9
|
import { isNil } from 'ramda';
|
|
10
10
|
import Button from './Button.js';
|
|
11
|
-
import { h as hyphenize, n as noop } from './index-
|
|
11
|
+
import { h as hyphenize, n as noop } from './index-Bugo-iau.js';
|
|
12
12
|
import { isPresent } from '@bigbinary/neeto-cist';
|
|
13
13
|
import Tooltip from './Tooltip.js';
|
|
14
14
|
import { Link } from 'react-router-dom';
|
package/dist/Input.js
CHANGED
|
@@ -9,7 +9,7 @@ import { u as useId } from './useId-Jj9hXm-g.js';
|
|
|
9
9
|
import 'react-router-dom';
|
|
10
10
|
import '@bigbinary/neeto-hotkeys';
|
|
11
11
|
import './overlayManager.js';
|
|
12
|
-
import { h as hyphenize } from './index-
|
|
12
|
+
import { h as hyphenize } from './index-Bugo-iau.js';
|
|
13
13
|
import 'qs';
|
|
14
14
|
import Label from './Label.js';
|
|
15
15
|
import '@babel/runtime/helpers/classCallCheck';
|
package/dist/Modal.js
CHANGED
|
@@ -5,7 +5,7 @@ import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProper
|
|
|
5
5
|
import React__default, { useState, useRef } from 'react';
|
|
6
6
|
import classnames from 'classnames';
|
|
7
7
|
import { Close } from '@bigbinary/neeto-icons';
|
|
8
|
-
import { u as useOverlayManager, a as useOverlay, P as Portal, C as CSSTransition, B as Backdrop } from './useOverlayManager-
|
|
8
|
+
import { u as useOverlayManager, a as useOverlay, P as Portal, C as CSSTransition, B as Backdrop } from './useOverlayManager-WMHQ-zMl.js';
|
|
9
9
|
import Button from './Button.js';
|
|
10
10
|
import 'react-router-dom';
|
|
11
11
|
import 'qs';
|
|
@@ -19,7 +19,7 @@ import '@bigbinary/neeto-hotkeys';
|
|
|
19
19
|
import './overlayManager.js';
|
|
20
20
|
import '@babel/runtime/helpers/classCallCheck';
|
|
21
21
|
import '@babel/runtime/helpers/createClass';
|
|
22
|
-
import './index-
|
|
22
|
+
import './index-Bugo-iau.js';
|
|
23
23
|
import '@bigbinary/neeto-cist';
|
|
24
24
|
import './en-D0AIwLkS.js';
|
|
25
25
|
import '@babel/runtime/helpers/toConsumableArray';
|
package/dist/MultiEmailInput.js
CHANGED
|
@@ -7,7 +7,7 @@ import React__default, { useRef, useEffect, forwardRef, useState } from 'react';
|
|
|
7
7
|
import classnames from 'classnames';
|
|
8
8
|
import { assoc, pluck, mergeLeft, isEmpty } from 'ramda';
|
|
9
9
|
import { c as components, C as CreatableSelect } from './react-select-creatable.esm-Dx_vEnyD.js';
|
|
10
|
-
import { h as hyphenize, n as noop } from './index-
|
|
10
|
+
import { h as hyphenize, n as noop } from './index-Bugo-iau.js';
|
|
11
11
|
import _toArray from '@babel/runtime/helpers/toArray';
|
|
12
12
|
import { Close } from '@bigbinary/neeto-icons';
|
|
13
13
|
import Tag from './Tag.js';
|
package/dist/Pagination.js
CHANGED
|
@@ -6,7 +6,7 @@ import { useHistory } from 'react-router-dom';
|
|
|
6
6
|
import '@babel/runtime/helpers/slicedToArray';
|
|
7
7
|
import '@bigbinary/neeto-hotkeys';
|
|
8
8
|
import './overlayManager.js';
|
|
9
|
-
import { b as buildUrl } from './index-
|
|
9
|
+
import { b as buildUrl } from './index-Bugo-iau.js';
|
|
10
10
|
import { u as useQueryParams } from './useQueryParams-b60CHFUx.js';
|
|
11
11
|
import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
|
|
12
12
|
import '@babel/runtime/helpers/classCallCheck';
|
package/dist/Pane.js
CHANGED
|
@@ -5,7 +5,7 @@ import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProper
|
|
|
5
5
|
import React__default, { useState, useRef, useEffect } from 'react';
|
|
6
6
|
import classnames from 'classnames';
|
|
7
7
|
import { Close } from '@bigbinary/neeto-icons';
|
|
8
|
-
import { u as useOverlayManager, a as useOverlay, P as Portal, C as CSSTransition, B as Backdrop } from './useOverlayManager-
|
|
8
|
+
import { u as useOverlayManager, a as useOverlay, P as Portal, C as CSSTransition, B as Backdrop } from './useOverlayManager-WMHQ-zMl.js';
|
|
9
9
|
import Button from './Button.js';
|
|
10
10
|
import 'react-router-dom';
|
|
11
11
|
import 'qs';
|
|
@@ -18,7 +18,7 @@ import '@bigbinary/neeto-hotkeys';
|
|
|
18
18
|
import './overlayManager.js';
|
|
19
19
|
import '@babel/runtime/helpers/classCallCheck';
|
|
20
20
|
import '@babel/runtime/helpers/createClass';
|
|
21
|
-
import './index-
|
|
21
|
+
import './index-Bugo-iau.js';
|
|
22
22
|
import '@bigbinary/neeto-cist';
|
|
23
23
|
import './en-D0AIwLkS.js';
|
|
24
24
|
import '@babel/runtime/helpers/toConsumableArray';
|
package/dist/Radio.js
CHANGED
|
@@ -9,7 +9,7 @@ import { u as useId } from './useId-Jj9hXm-g.js';
|
|
|
9
9
|
import 'react-router-dom';
|
|
10
10
|
import '@bigbinary/neeto-hotkeys';
|
|
11
11
|
import './overlayManager.js';
|
|
12
|
-
import { h as hyphenize } from './index-
|
|
12
|
+
import { h as hyphenize } from './index-Bugo-iau.js';
|
|
13
13
|
import 'qs';
|
|
14
14
|
import '@bigbinary/neeto-icons';
|
|
15
15
|
import './Button.js';
|
package/dist/Select.js
CHANGED
|
@@ -27,7 +27,7 @@ import { u as useId } from './useId-Jj9hXm-g.js';
|
|
|
27
27
|
import 'react-router-dom';
|
|
28
28
|
import '@bigbinary/neeto-hotkeys';
|
|
29
29
|
import './overlayManager.js';
|
|
30
|
-
import { h as hyphenize } from './index-
|
|
30
|
+
import { h as hyphenize } from './index-Bugo-iau.js';
|
|
31
31
|
import 'qs';
|
|
32
32
|
import Label from './Label.js';
|
|
33
33
|
import Spinner from './Spinner.js';
|
package/dist/Sidebar.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default, { forwardRef, useState } from 'react';
|
|
2
2
|
import classnames from 'classnames';
|
|
3
|
-
import { n as noop } from './index-
|
|
3
|
+
import { n as noop } from './index-Bugo-iau.js';
|
|
4
4
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
5
5
|
import Tooltip from './Tooltip.js';
|
|
6
6
|
import { AppSwitcher as AppSwitcher$1, Help, Book, Keyboard, ChatEmpty, Gift } from '@bigbinary/neeto-icons';
|
package/dist/Slider.js
CHANGED
|
@@ -12,7 +12,7 @@ import '@babel/runtime/helpers/slicedToArray';
|
|
|
12
12
|
import 'react-router-dom';
|
|
13
13
|
import '@bigbinary/neeto-hotkeys';
|
|
14
14
|
import './overlayManager.js';
|
|
15
|
-
import { h as hyphenize, n as noop, A as ANT_DESIGN_GLOBAL_TOKEN_OVERRIDES } from './index-
|
|
15
|
+
import { h as hyphenize, n as noop, A as ANT_DESIGN_GLOBAL_TOKEN_OVERRIDES } from './index-Bugo-iau.js';
|
|
16
16
|
import 'qs';
|
|
17
17
|
import 'antd/locale/de_DE';
|
|
18
18
|
import 'antd/locale/en_US';
|
package/dist/Switch.js
CHANGED
|
@@ -8,7 +8,7 @@ import '@babel/runtime/helpers/slicedToArray';
|
|
|
8
8
|
import 'react-router-dom';
|
|
9
9
|
import '@bigbinary/neeto-hotkeys';
|
|
10
10
|
import './overlayManager.js';
|
|
11
|
-
import { h as hyphenize, n as noop } from './index-
|
|
11
|
+
import { h as hyphenize, n as noop } from './index-Bugo-iau.js';
|
|
12
12
|
import '@babel/runtime/helpers/defineProperty';
|
|
13
13
|
import 'qs';
|
|
14
14
|
import Label from './Label.js';
|
package/dist/Table.js
CHANGED
|
@@ -15,12 +15,12 @@ import { useHistory } from 'react-router-dom';
|
|
|
15
15
|
import { ANTD_LOCALE } from './constants.js';
|
|
16
16
|
import '@bigbinary/neeto-hotkeys';
|
|
17
17
|
import './overlayManager.js';
|
|
18
|
-
import { g as getLocale, r as removeFromLocalStorage, s as setToLocalStorage, b as buildUrl, n as noop$1, A as ANT_DESIGN_GLOBAL_TOKEN_OVERRIDES } from './index-
|
|
18
|
+
import { g as getLocale, a as getFromLocalStorage, r as removeFromLocalStorage, s as setToLocalStorage, b as buildUrl, n as noop$1, A as ANT_DESIGN_GLOBAL_TOKEN_OVERRIDES } from './index-Bugo-iau.js';
|
|
19
19
|
import { u as useQueryParams } from './useQueryParams-b60CHFUx.js';
|
|
20
20
|
import Button from './Button.js';
|
|
21
21
|
import Callout from './Callout.js';
|
|
22
22
|
import Typography from './Typography.js';
|
|
23
|
-
import { T as TABLE_SORT_ORDERS, U as URL_SORT_ORDERS, H as HeaderCellMenu, C as COLUMN_FIXED_VALUES, S as SELECT_ALL_ROWS_CALLOUT_MOBILE_HEIGHT, a as SELECT_ALL_ROWS_CALLOUT_DESKTOP_HEIGHT, u as useRestoreScrollPosition } from './useRestoreScrollPosition-
|
|
23
|
+
import { T as TABLE_SORT_ORDERS, U as URL_SORT_ORDERS, H as HeaderCellMenu, C as COLUMN_FIXED_VALUES, S as SELECT_ALL_ROWS_CALLOUT_MOBILE_HEIGHT, a as SELECT_ALL_ROWS_CALLOUT_DESKTOP_HEIGHT, u as useRestoreScrollPosition } from './useRestoreScrollPosition-C-Uw1lxd.js';
|
|
24
24
|
import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
|
|
25
25
|
import { Resizable } from 'react-resizable';
|
|
26
26
|
import Spinner from './Spinner.js';
|
|
@@ -108,19 +108,9 @@ var SelectAllRowsCallout = function SelectAllRowsCallout(_ref) {
|
|
|
108
108
|
})));
|
|
109
109
|
};
|
|
110
110
|
|
|
111
|
-
var getStorageValue = function getStorageValue(key, defaultValue) {
|
|
112
|
-
try {
|
|
113
|
-
var storedValue = localStorage.getItem(key);
|
|
114
|
-
return storedValue ? JSON.parse(storedValue) : defaultValue;
|
|
115
|
-
} catch (error) {
|
|
116
|
-
// eslint-disable-next-line no-console
|
|
117
|
-
console.error(error);
|
|
118
|
-
return defaultValue;
|
|
119
|
-
}
|
|
120
|
-
};
|
|
121
111
|
var useLocalStorage = function useLocalStorage(key, defaultValue) {
|
|
122
112
|
var _useState = useState(function () {
|
|
123
|
-
return
|
|
113
|
+
return getFromLocalStorage(key, defaultValue);
|
|
124
114
|
}),
|
|
125
115
|
_useState2 = _slicedToArray(_useState, 2),
|
|
126
116
|
storedValue = _useState2[0],
|