hrm_ui_lib 2.0.0-alpha.5 → 2.0.0-alpha.6
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/components/Alert/Alert.js +1 -1
- package/components/Alert/index.js +1 -1
- package/components/Avatar/Avatar.js +1 -1
- package/components/Avatar/AvatarGroup.js +1 -1
- package/components/Avatar/index.js +1 -1
- package/components/Button/Button.js +1 -1
- package/components/Button/index.js +1 -1
- package/components/Checkbox/Checkbox.js +1 -1
- package/components/Checkbox/index.js +1 -1
- package/components/Copy/Copy.js +1 -1
- package/components/Copy/index.js +1 -1
- package/components/Counter/Counter.js +1 -1
- package/components/Counter/index.js +1 -1
- package/components/DatePicker/CustomHeader/CustomHeader.js +1 -1
- package/components/DatePicker/RangeDatePicker/RangeDatePicker.js +1 -1
- package/components/DatePicker/RangeDatePicker/RangeDatePickerDesktop.js +1 -1
- package/components/DatePicker/RangeDatePicker/RangeDatePickerMobile.js +1 -1
- package/components/DatePicker/RangeDatePicker/index.js +1 -1
- package/components/DatePicker/SimpleDatePicker/SimpleDatePicker.js +1 -1
- package/components/DatePicker/SimpleDatePicker/SimpleDatePickerDesktop.js +1 -1
- package/components/DatePicker/SimpleDatePicker/SimpleDatePickerMobile.js +1 -1
- package/components/DatePicker/SimpleDatePicker/index.js +1 -1
- package/components/DatePicker/TimePicker/MobileModalContent.js +1 -1
- package/components/DatePicker/TimePicker/TimePicker.js +1 -1
- package/components/DatePicker/TimePicker/TimePickerDesktop.js +1 -1
- package/components/DatePicker/TimePicker/TimePickerMobile.js +1 -1
- package/components/DatePicker/TimePicker/index.js +1 -1
- package/components/DatePicker/index.js +1 -1
- package/components/Empty/Empty.js +1 -1
- package/components/Empty/index.js +1 -1
- package/components/FileUpload/DropzoneFileUpload/DropzoneFileUpload.js +1 -1
- package/components/FileUpload/DropzoneFileUpload/ErrorItem.js +1 -1
- package/components/FileUpload/DropzoneFileUpload/PreviewItem.js +1 -1
- package/components/FileUpload/DropzoneFileUpload/helpers.js +1 -1
- package/components/FileUpload/DropzoneFileUpload/index.js +1 -1
- package/components/FileUpload/FileUpload.js +1 -1
- package/components/FileUpload/UploadItems.js +1 -1
- package/components/FileUpload/index.js +1 -1
- package/components/FormContainer/FormContainer.js +1 -1
- package/components/FormContainer/index.js +1 -1
- package/components/FormField/FormField.js +1 -1
- package/components/FormField/index.js +1 -1
- package/components/Input/Input.js +1 -1
- package/components/Input/index.js +1 -1
- package/components/Menu/Menu.js +1 -1
- package/components/Menu/NestedMenu.js +1 -1
- package/components/Menu/index.js +1 -1
- package/components/Modal/Modal.js +1 -1
- package/components/Modal/ModalConfirmation.js +1 -1
- package/components/Modal/ModalContent.js +1 -1
- package/components/Modal/index.js +1 -1
- package/components/More/More.js +1 -1
- package/components/More/index.js +1 -1
- package/components/Popover/Popover.js +1 -1
- package/components/Popover/PopoverMobile.js +1 -1
- package/components/Popover/index.js +1 -1
- package/components/Radio/RadioGroup.js +1 -1
- package/components/Radio/index.js +1 -1
- package/components/Select/ButtonSelect/ButtonSelect.js +1 -1
- package/components/Select/FilterSelect/FilterDropdown.js +1 -1
- package/components/Select/FilterSelect/FilterGroupDropdown.js +1 -1
- package/components/Select/FilterSelect/FilterSelect.js +1 -1
- package/components/Select/MultiSelect/MobileWrapper.js +1 -1
- package/components/Select/MultiSelect/MultiBase/MultiBase.js +1 -1
- package/components/Select/MultiSelect/MultiSelect.js +1 -1
- package/components/Select/MultiSelect/MultiSelectGrouped/MultiSelectGrouped.js +1 -1
- package/components/Select/MultiSelect/MultiSelectWithTabs/MultiSelectWithTabs.js +1 -1
- package/components/Select/MultiSelect/OptionsWrapper.js +1 -1
- package/components/Select/NestedSelect/NestedSelect.js +1 -1
- package/components/Select/Select/Select.js +1 -1
- package/components/Select/Select/SelectDesktop/index.js +1 -1
- package/components/Select/Select/SelectMobile/MobileTopContent.js +1 -1
- package/components/Select/Select/SelectMobile/index.js +1 -1
- package/components/Select/SharedComponents/Actions.js +1 -1
- package/components/Select/SharedComponents/ButtonSelectWrapper/ButtonSelectWrapper.js +1 -1
- package/components/Select/SharedComponents/ContentTop.js +1 -1
- package/components/Select/SharedComponents/Footer.js +1 -1
- package/components/Select/SharedComponents/InputSelectWrapper/InputSelectWrapper.js +1 -1
- package/components/Select/SharedComponents/index.js +1 -1
- package/components/Select/index.js +1 -1
- package/components/SideSheet/Footer/Footer.js +1 -1
- package/components/SideSheet/SideSheet.js +1 -1
- package/components/SideSheet/index.js +1 -1
- package/components/Snackbar/Snackbar.js +1 -1
- package/components/Snackbar/index.js +1 -1
- package/components/Switcher/Switcher.js +1 -1
- package/components/Switcher/index.js +1 -1
- package/components/Table/Header.d.ts +2 -1
- package/components/Table/Header.js +14 -5
- package/components/Table/IndeterminateCheckbox.js +1 -1
- package/components/Table/Row.d.ts +2 -1
- package/components/Table/Row.js +14 -5
- package/components/Table/Table.js +8 -5
- package/components/Table/index.js +1 -1
- package/components/Table/utils.js +1 -1
- package/components/TableV2/AdvancedPagination.js +1 -1
- package/components/TableV2/ColumnSettings.js +1 -1
- package/components/TableV2/IndeterminateCheckbox.js +1 -1
- package/components/TableV2/Table.js +1 -1
- package/components/TableV2/hooks/useTableControl.js +1 -1
- package/components/TableV2/index.js +1 -1
- package/components/Textarea/Textarea.js +1 -1
- package/components/Textarea/index.js +1 -1
- package/helperComponents/GoToWebPage/GoToWebPage.js +1 -1
- package/helperComponents/OptionItem/OptionItem.js +1 -1
- package/helperComponents/OptionItem/index.js +1 -1
- package/helperComponents/index.js +1 -1
- package/helpers/check-authorization.js +1 -1
- package/helpers/index.js +1 -1
- package/index.js +1 -1
- package/package.json +4 -7
- /package/{Alert-CMRDKdZp.js → Alert-BeoBp9Jk.js} +0 -0
|
@@ -15,7 +15,7 @@ import { Footer } from '../SharedComponents/Footer.js';
|
|
|
15
15
|
import '@babel/runtime/helpers/defineProperty';
|
|
16
16
|
import 'classnames';
|
|
17
17
|
import '../../../consts/index.js';
|
|
18
|
-
import '../../../Alert-
|
|
18
|
+
import '../../../Alert-BeoBp9Jk.js';
|
|
19
19
|
import 'react-syntax-highlighter';
|
|
20
20
|
import 'framer-motion';
|
|
21
21
|
import { IconDismissFilled } from '../../SVGIcons/IconDismissFilled.js';
|
|
@@ -9,7 +9,7 @@ import { OptionItem } from '../../../../helperComponents/OptionItem/OptionItem.j
|
|
|
9
9
|
import 'react-syntax-highlighter';
|
|
10
10
|
import '@babel/runtime/helpers/defineProperty';
|
|
11
11
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
12
|
-
import '../../../../Alert-
|
|
12
|
+
import '../../../../Alert-BeoBp9Jk.js';
|
|
13
13
|
import 'react-dom';
|
|
14
14
|
import '../../../../consts/index.js';
|
|
15
15
|
import '../../../../hooks/useScreenSize.js';
|
|
@@ -12,7 +12,7 @@ import '../../../consts/index.js';
|
|
|
12
12
|
import { useOnOutsideClick } from '../../../hooks/useOnOutsideClick.js';
|
|
13
13
|
import '../../../hooks/useScreenSize.js';
|
|
14
14
|
import 'react-hook-form';
|
|
15
|
-
import '../../../Alert-
|
|
15
|
+
import '../../../Alert-BeoBp9Jk.js';
|
|
16
16
|
import 'react-syntax-highlighter';
|
|
17
17
|
import 'react-dom';
|
|
18
18
|
import 'framer-motion';
|
|
@@ -15,7 +15,7 @@ import { OptionItem } from '../../../../helperComponents/OptionItem/OptionItem.j
|
|
|
15
15
|
import 'react-syntax-highlighter';
|
|
16
16
|
import '@babel/runtime/helpers/defineProperty';
|
|
17
17
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
18
|
-
import '../../../../Alert-
|
|
18
|
+
import '../../../../Alert-BeoBp9Jk.js';
|
|
19
19
|
import 'react-dom';
|
|
20
20
|
import 'framer-motion';
|
|
21
21
|
import { IconCaretDownFilled } from '../../../SVGIcons/IconCaretDownFilled.js';
|
|
@@ -15,7 +15,7 @@ import { OptionItem } from '../../../../helperComponents/OptionItem/OptionItem.j
|
|
|
15
15
|
import 'react-syntax-highlighter';
|
|
16
16
|
import '@babel/runtime/helpers/defineProperty';
|
|
17
17
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
18
|
-
import '../../../../Alert-
|
|
18
|
+
import '../../../../Alert-BeoBp9Jk.js';
|
|
19
19
|
import 'react-dom';
|
|
20
20
|
import 'framer-motion';
|
|
21
21
|
import '../../../Collapse/CollapseGroup/CollapseGroup.js';
|
|
@@ -11,7 +11,7 @@ import '../../../consts/index.js';
|
|
|
11
11
|
import '../../../hooks/useScreenSize.js';
|
|
12
12
|
import { useGetHasBottomSpace, useGetHasTopSpace } from '../../../hooks/useGetHasBottomSpace.js';
|
|
13
13
|
import 'react-hook-form';
|
|
14
|
-
import '../../../Alert-
|
|
14
|
+
import '../../../Alert-BeoBp9Jk.js';
|
|
15
15
|
import 'react-syntax-highlighter';
|
|
16
16
|
import 'react-dom';
|
|
17
17
|
import 'framer-motion';
|
|
@@ -25,7 +25,7 @@ import '../../../utils/helpers.js';
|
|
|
25
25
|
import '../../../helperComponents/ErrorMessage/ErrorMessage.js';
|
|
26
26
|
import '../../../helperComponents/IconDynamicComponent/IconDynamicComponent.js';
|
|
27
27
|
import '../../../helperComponents/IconDynamicComponent/constants.js';
|
|
28
|
-
import '../../../Alert-
|
|
28
|
+
import '../../../Alert-BeoBp9Jk.js';
|
|
29
29
|
import '../../Alert/consts.js';
|
|
30
30
|
import '../../../helperComponents/Loader/Loader.js';
|
|
31
31
|
import 'react-dropzone';
|
|
@@ -13,7 +13,7 @@ import { SelectMobile } from './SelectMobile/index.js';
|
|
|
13
13
|
import { IconChevronUp } from '../../SVGIcons/IconChevronUp.js';
|
|
14
14
|
import { IconChevronDown } from '../../SVGIcons/IconChevronDown.js';
|
|
15
15
|
import { SELECT_TRANSLATIONS } from '../localization.js';
|
|
16
|
-
import { B as Button } from '../../../Alert-
|
|
16
|
+
import { B as Button } from '../../../Alert-BeoBp9Jk.js';
|
|
17
17
|
import '../../../consts/index.js';
|
|
18
18
|
import '../../../type/file-upload.js';
|
|
19
19
|
import 'react-window';
|
|
@@ -18,7 +18,7 @@ import { useChangePositionsOnScroll } from '../../../../hooks/useChangePositions
|
|
|
18
18
|
import { Empty } from '../../../Empty/Empty.js';
|
|
19
19
|
import '@babel/runtime/helpers/extends';
|
|
20
20
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
21
|
-
import '../../../../Alert-
|
|
21
|
+
import '../../../../Alert-BeoBp9Jk.js';
|
|
22
22
|
import 'react-dom';
|
|
23
23
|
import 'framer-motion';
|
|
24
24
|
import '../../../Collapse/CollapseGroup/CollapseGroup.js';
|
|
@@ -22,7 +22,7 @@ import '../../../../consts/index.js';
|
|
|
22
22
|
import '../../../../type/file-upload.js';
|
|
23
23
|
import '../../../../hooks/useScreenSize.js';
|
|
24
24
|
import 'react-hook-form';
|
|
25
|
-
import '../../../../Alert-
|
|
25
|
+
import '../../../../Alert-BeoBp9Jk.js';
|
|
26
26
|
import '../../../Alert/consts.js';
|
|
27
27
|
import '../../../../helperComponents/Loader/Loader.js';
|
|
28
28
|
import 'react-dropzone';
|
|
@@ -6,7 +6,7 @@ import 'classnames';
|
|
|
6
6
|
import { OptionItem } from '../../../../helperComponents/OptionItem/OptionItem.js';
|
|
7
7
|
import 'react-syntax-highlighter';
|
|
8
8
|
import { Empty } from '../../../Empty/Empty.js';
|
|
9
|
-
import { a as Modal } from '../../../../Alert-
|
|
9
|
+
import { a as Modal } from '../../../../Alert-BeoBp9Jk.js';
|
|
10
10
|
import '@babel/runtime/helpers/extends';
|
|
11
11
|
import 'framer-motion';
|
|
12
12
|
import '../../../../consts/index.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
2
2
|
import React, { useState } from 'react';
|
|
3
|
-
import { B as Button } from '../../../Alert-
|
|
3
|
+
import { B as Button } from '../../../Alert-BeoBp9Jk.js';
|
|
4
4
|
import { Menu } from '../../Menu/Menu.js';
|
|
5
5
|
import '@babel/runtime/helpers/defineProperty';
|
|
6
6
|
import 'react-dom';
|
|
@@ -18,7 +18,7 @@ import '../../../SVGIcons/IconChevronDown.js';
|
|
|
18
18
|
import '../../../../type/file-upload.js';
|
|
19
19
|
import '../../../../hooks/useGetElemPositions.js';
|
|
20
20
|
import '../../../../hooks/useGetElemSizes.js';
|
|
21
|
-
import '../../../../Alert-
|
|
21
|
+
import '../../../../Alert-BeoBp9Jk.js';
|
|
22
22
|
import '@babel/runtime/helpers/extends';
|
|
23
23
|
import '../../../Alert/consts.js';
|
|
24
24
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
@@ -25,7 +25,7 @@ import '../../../consts/index.js';
|
|
|
25
25
|
import '../../../type/file-upload.js';
|
|
26
26
|
import '../../../hooks/useScreenSize.js';
|
|
27
27
|
import 'react-hook-form';
|
|
28
|
-
import '../../../Alert-
|
|
28
|
+
import '../../../Alert-BeoBp9Jk.js';
|
|
29
29
|
import '../../Alert/consts.js';
|
|
30
30
|
import '../../../helperComponents/Loader/Loader.js';
|
|
31
31
|
import 'react-dropzone';
|
|
@@ -2,7 +2,7 @@ import _extends from '@babel/runtime/helpers/extends';
|
|
|
2
2
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
3
3
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
4
4
|
import React from 'react';
|
|
5
|
-
import { C as Checkbox, B as Button } from '../../../Alert-
|
|
5
|
+
import { C as Checkbox, B as Button } from '../../../Alert-BeoBp9Jk.js';
|
|
6
6
|
import { SELECT_TRANSLATIONS } from '../localization.js';
|
|
7
7
|
import '../../Alert/consts.js';
|
|
8
8
|
import 'classnames';
|
|
@@ -25,7 +25,7 @@ import '../../../../helperComponents/ErrorMessage/ErrorMessage.js';
|
|
|
25
25
|
import '../../../../helperComponents/IconDynamicComponent/IconDynamicComponent.js';
|
|
26
26
|
import '../../../../helperComponents/IconDynamicComponent/constants.js';
|
|
27
27
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
28
|
-
import '../../../../Alert-
|
|
28
|
+
import '../../../../Alert-BeoBp9Jk.js';
|
|
29
29
|
import '../../../Alert/consts.js';
|
|
30
30
|
import '../../../../helperComponents/Loader/Loader.js';
|
|
31
31
|
import 'react-dropzone';
|
|
@@ -8,7 +8,7 @@ import '@babel/runtime/helpers/extends';
|
|
|
8
8
|
import '@babel/runtime/helpers/defineProperty';
|
|
9
9
|
import '@babel/runtime/helpers/slicedToArray';
|
|
10
10
|
import 'react';
|
|
11
|
-
import '../../../Alert-
|
|
11
|
+
import '../../../Alert-BeoBp9Jk.js';
|
|
12
12
|
import '../../Alert/consts.js';
|
|
13
13
|
import 'classnames';
|
|
14
14
|
import '../../Text/Text.js';
|
|
@@ -22,7 +22,7 @@ import '../Avatar/Avatar.js';
|
|
|
22
22
|
import '../FileUpload/FileUpload.js';
|
|
23
23
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
24
24
|
import '../FileUpload/types.js';
|
|
25
|
-
import '../../Alert-
|
|
25
|
+
import '../../Alert-BeoBp9Jk.js';
|
|
26
26
|
import '../Alert/consts.js';
|
|
27
27
|
import '../../helperComponents/Loader/Loader.js';
|
|
28
28
|
import '../../hooks/useScreenSize.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _extends from '@babel/runtime/helpers/extends';
|
|
2
2
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
3
3
|
import React, { useCallback } from 'react';
|
|
4
|
-
import { C as Checkbox, B as Button } from '../../../Alert-
|
|
4
|
+
import { C as Checkbox, B as Button } from '../../../Alert-BeoBp9Jk.js';
|
|
5
5
|
import '../../Alert/consts.js';
|
|
6
6
|
import 'classnames';
|
|
7
7
|
import '../../Text/Text.js';
|
|
@@ -11,7 +11,7 @@ import '../../hooks/useScreenSize.js';
|
|
|
11
11
|
import { useHideBodyScroll } from '../../hooks/useHideBodyScroll.js';
|
|
12
12
|
import 'react-hook-form';
|
|
13
13
|
import { AnimatePresenceWrapper } from '../../helperComponents/AnimatePresenceWrapper/AnimatePresenceWrapper.js';
|
|
14
|
-
import { B as Button } from '../../Alert-
|
|
14
|
+
import { B as Button } from '../../Alert-BeoBp9Jk.js';
|
|
15
15
|
import { Text } from '../Text/Text.js';
|
|
16
16
|
import { useDispatchEventOnScroll } from '../../hooks/useDispatchEventOnScroll.js';
|
|
17
17
|
import { Footer } from './Footer/Footer.js';
|
|
@@ -13,7 +13,7 @@ import '../../hooks/useScreenSize.js';
|
|
|
13
13
|
import '../../hooks/useHideBodyScroll.js';
|
|
14
14
|
import 'react-hook-form';
|
|
15
15
|
import '../../helperComponents/AnimatePresenceWrapper/AnimatePresenceWrapper.js';
|
|
16
|
-
import '../../Alert-
|
|
16
|
+
import '../../Alert-BeoBp9Jk.js';
|
|
17
17
|
import '../Alert/consts.js';
|
|
18
18
|
import '../Text/Text.js';
|
|
19
19
|
import '../../utils/helpers.js';
|
|
@@ -2,7 +2,7 @@ import _extends from '@babel/runtime/helpers/extends';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { toast, ToastContainer, Slide } from 'react-toastify';
|
|
4
4
|
import { Text } from '../Text/Text.js';
|
|
5
|
-
import { B as Button } from '../../Alert-
|
|
5
|
+
import { B as Button } from '../../Alert-BeoBp9Jk.js';
|
|
6
6
|
import { DEFAULT_DURATION, TYPE_MAPPING, ICONS_MAPPING } from './consts.js';
|
|
7
7
|
import { IconDynamicComponent } from '../../helperComponents/IconDynamicComponent/IconDynamicComponent.js';
|
|
8
8
|
import 'dayjs';
|
|
@@ -6,7 +6,7 @@ import '../Text/Text.js';
|
|
|
6
6
|
import 'classnames';
|
|
7
7
|
import '../../utils/helpers.js';
|
|
8
8
|
import 'dayjs';
|
|
9
|
-
import '../../Alert-
|
|
9
|
+
import '../../Alert-BeoBp9Jk.js';
|
|
10
10
|
import '../Alert/consts.js';
|
|
11
11
|
import '@babel/runtime/helpers/defineProperty';
|
|
12
12
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
@@ -10,7 +10,7 @@ import '@babel/runtime/helpers/objectWithoutProperties';
|
|
|
10
10
|
import '../../consts/index.js';
|
|
11
11
|
import '../../hooks/useScreenSize.js';
|
|
12
12
|
import 'react-hook-form';
|
|
13
|
-
import '../../Alert-
|
|
13
|
+
import '../../Alert-BeoBp9Jk.js';
|
|
14
14
|
import 'react-syntax-highlighter';
|
|
15
15
|
import '../Text/Text.js';
|
|
16
16
|
import '../../utils/helpers.js';
|
|
@@ -14,7 +14,7 @@ import '../../consts/index.js';
|
|
|
14
14
|
import '../../type/file-upload.js';
|
|
15
15
|
import '../../hooks/useScreenSize.js';
|
|
16
16
|
import 'react-hook-form';
|
|
17
|
-
import '../../Alert-
|
|
17
|
+
import '../../Alert-BeoBp9Jk.js';
|
|
18
18
|
import '../Alert/consts.js';
|
|
19
19
|
import '../../helperComponents/Loader/Loader.js';
|
|
20
20
|
import 'react-dropzone';
|
|
@@ -5,6 +5,7 @@ type Props = {
|
|
|
5
5
|
withSelect: boolean;
|
|
6
6
|
tableWidth: number;
|
|
7
7
|
headerGroup: HeaderGroup;
|
|
8
|
+
uniqueKey: string;
|
|
8
9
|
};
|
|
9
|
-
export declare function Header({ headerGroup, tableWidth, withSelect, fixedHeader }: Props): ReactElement;
|
|
10
|
+
export declare function Header({ headerGroup, tableWidth, withSelect, uniqueKey, fixedHeader }: Props): ReactElement;
|
|
10
11
|
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import _extends from '@babel/runtime/helpers/extends';
|
|
2
2
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
3
|
+
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
3
4
|
import React from 'react';
|
|
4
5
|
import classNames from 'classnames';
|
|
5
6
|
import { CHECKBOX_DEFAULT_WIDTH, calcColumnWidth, CHECKBOX_HEADER_ID } from './utils.js';
|
|
@@ -8,9 +9,8 @@ import { IconArrowDown } from '../SVGIcons/IconArrowDown.js';
|
|
|
8
9
|
import { IconArrowUp } from '../SVGIcons/IconArrowUp.js';
|
|
9
10
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
10
11
|
import './IndeterminateCheckbox.js';
|
|
11
|
-
import '../../Alert-
|
|
12
|
+
import '../../Alert-BeoBp9Jk.js';
|
|
12
13
|
import '../Alert/consts.js';
|
|
13
|
-
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
14
14
|
import 'dayjs';
|
|
15
15
|
import '../../helperComponents/Loader/Loader.js';
|
|
16
16
|
import '@babel/runtime/helpers/slicedToArray';
|
|
@@ -55,15 +55,21 @@ import '../SVGIcons/IconArrowDownloadFilled.js';
|
|
|
55
55
|
import '../../helpers/download-file.js';
|
|
56
56
|
import '../Button/consts.js';
|
|
57
57
|
|
|
58
|
+
var _excluded = ["key"],
|
|
59
|
+
_excluded2 = ["key"];
|
|
58
60
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
59
61
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
60
62
|
function Header(_ref) {
|
|
61
63
|
var headerGroup = _ref.headerGroup,
|
|
62
64
|
tableWidth = _ref.tableWidth,
|
|
63
65
|
withSelect = _ref.withSelect,
|
|
66
|
+
uniqueKey = _ref.uniqueKey,
|
|
64
67
|
_ref$fixedHeader = _ref.fixedHeader,
|
|
65
68
|
fixedHeader = _ref$fixedHeader === void 0 ? false : _ref$fixedHeader;
|
|
66
|
-
|
|
69
|
+
var _headerGroup$getHeade = headerGroup.getHeaderGroupProps();
|
|
70
|
+
_headerGroup$getHeade.key;
|
|
71
|
+
var headerGroupProps = _objectWithoutProperties(_headerGroup$getHeade, _excluded);
|
|
72
|
+
return /*#__PURE__*/React.createElement("tr", _extends({}, headerGroupProps, {
|
|
67
73
|
className: classNames({
|
|
68
74
|
fixed_header: fixedHeader
|
|
69
75
|
})
|
|
@@ -92,9 +98,12 @@ function Header(_ref) {
|
|
|
92
98
|
} : {}), !isSelection && width ? {
|
|
93
99
|
width: width
|
|
94
100
|
} : {});
|
|
101
|
+
var _getHeaderProps = getHeaderProps(columnProps !== null && columnProps !== void 0 && columnProps.sortable ? getSortByToggleProps() : undefined);
|
|
102
|
+
_getHeaderProps.key;
|
|
103
|
+
var headProps = _objectWithoutProperties(_getHeaderProps, _excluded2);
|
|
95
104
|
return /*#__PURE__*/React.createElement("th", _extends({
|
|
96
|
-
key: i
|
|
97
|
-
},
|
|
105
|
+
key: "table_head_".concat(uniqueKey, "_").concat(i)
|
|
106
|
+
}, headProps, {
|
|
98
107
|
className: classNames({
|
|
99
108
|
fixed_column_left: fixed === 'left',
|
|
100
109
|
fixed_column_right: fixed === 'right',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { forwardRef, useRef, useEffect } from 'react';
|
|
2
|
-
import { C as Checkbox } from '../../Alert-
|
|
2
|
+
import { C as Checkbox } from '../../Alert-BeoBp9Jk.js';
|
|
3
3
|
import '@babel/runtime/helpers/extends';
|
|
4
4
|
import '../Alert/consts.js';
|
|
5
5
|
import 'classnames';
|
|
@@ -5,6 +5,7 @@ type Props = {
|
|
|
5
5
|
handleRowClick?: (row: any) => void;
|
|
6
6
|
withSelect: boolean;
|
|
7
7
|
selectedFlatRows: RowType[];
|
|
8
|
+
uniqueKey: string;
|
|
8
9
|
};
|
|
9
|
-
export declare function Row({ row, selectedFlatRows, withSelect, handleRowClick }: Props): ReactElement;
|
|
10
|
+
export declare function Row({ row, selectedFlatRows, withSelect, uniqueKey, handleRowClick }: Props): ReactElement;
|
|
10
11
|
export {};
|
package/components/Table/Row.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import _extends from '@babel/runtime/helpers/extends';
|
|
2
|
+
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
2
3
|
import React, { useMemo } from 'react';
|
|
3
4
|
import classNames from 'classnames';
|
|
4
5
|
import { CHECKBOX_HEADER_ID, CHECKBOX_DEFAULT_WIDTH } from './utils.js';
|
|
5
6
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
6
7
|
import './IndeterminateCheckbox.js';
|
|
7
|
-
import '../../Alert-
|
|
8
|
+
import '../../Alert-BeoBp9Jk.js';
|
|
8
9
|
import '../Alert/consts.js';
|
|
9
10
|
import '../Text/Text.js';
|
|
10
11
|
import '../../utils/helpers.js';
|
|
11
12
|
import 'dayjs';
|
|
12
13
|
import '@babel/runtime/helpers/defineProperty';
|
|
13
|
-
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
14
14
|
import '../../helperComponents/Loader/Loader.js';
|
|
15
15
|
import '@babel/runtime/helpers/slicedToArray';
|
|
16
16
|
import '../../consts/index.js';
|
|
@@ -53,17 +53,23 @@ import '../SVGIcons/IconArrowDownloadFilled.js';
|
|
|
53
53
|
import '../../helpers/download-file.js';
|
|
54
54
|
import '../Button/consts.js';
|
|
55
55
|
|
|
56
|
+
var _excluded = ["key"],
|
|
57
|
+
_excluded2 = ["key"];
|
|
56
58
|
function Row(_ref) {
|
|
57
59
|
var row = _ref.row,
|
|
58
60
|
selectedFlatRows = _ref.selectedFlatRows,
|
|
59
61
|
withSelect = _ref.withSelect,
|
|
62
|
+
uniqueKey = _ref.uniqueKey,
|
|
60
63
|
handleRowClick = _ref.handleRowClick;
|
|
61
64
|
var isRowSelected = useMemo(function () {
|
|
62
65
|
return selectedFlatRows.find(function (r) {
|
|
63
66
|
return r.id === row.id;
|
|
64
67
|
});
|
|
65
68
|
}, [selectedFlatRows]);
|
|
66
|
-
|
|
69
|
+
var _row$getRowProps = row.getRowProps();
|
|
70
|
+
_row$getRowProps.key;
|
|
71
|
+
var rowProps = _objectWithoutProperties(_row$getRowProps, _excluded);
|
|
72
|
+
return /*#__PURE__*/React.createElement("tr", _extends({}, rowProps, {
|
|
67
73
|
className: classNames({
|
|
68
74
|
selected: Boolean(isRowSelected)
|
|
69
75
|
}),
|
|
@@ -76,9 +82,12 @@ function Row(_ref) {
|
|
|
76
82
|
column = _ref2.column,
|
|
77
83
|
render = _ref2.render;
|
|
78
84
|
var isSelection = column.id === CHECKBOX_HEADER_ID;
|
|
85
|
+
var _getCellProps = getCellProps();
|
|
86
|
+
_getCellProps.key;
|
|
87
|
+
var cellProps = _objectWithoutProperties(_getCellProps, _excluded2);
|
|
79
88
|
return /*#__PURE__*/React.createElement("td", _extends({
|
|
80
|
-
key: i
|
|
81
|
-
},
|
|
89
|
+
key: "table_cell_".concat(uniqueKey, "_").concat(i)
|
|
90
|
+
}, cellProps, {
|
|
82
91
|
style: {
|
|
83
92
|
left: !isSelection && withSelect && (column === null || column === void 0 ? void 0 : column.fixed) === 'left' ? CHECKBOX_DEFAULT_WIDTH : 0
|
|
84
93
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _extends from '@babel/runtime/helpers/extends';
|
|
2
2
|
import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
|
|
3
3
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
4
|
-
import React, { useRef, useState, useMemo, useEffect } from 'react';
|
|
4
|
+
import React, { useRef, useState, useId, useMemo, useEffect } from 'react';
|
|
5
5
|
import { useTable, useSortBy, useRowSelect } from 'react-table';
|
|
6
6
|
import { setSelectedRows } from './utils.js';
|
|
7
7
|
import { Row } from './Row.js';
|
|
@@ -9,7 +9,7 @@ import { Header } from './Header.js';
|
|
|
9
9
|
import classNames from 'classnames';
|
|
10
10
|
import { useDispatchEventOnScroll } from '../../hooks/useDispatchEventOnScroll.js';
|
|
11
11
|
import './IndeterminateCheckbox.js';
|
|
12
|
-
import '../../Alert-
|
|
12
|
+
import '../../Alert-BeoBp9Jk.js';
|
|
13
13
|
import '../Alert/consts.js';
|
|
14
14
|
import '../Text/Text.js';
|
|
15
15
|
import '../../utils/helpers.js';
|
|
@@ -74,6 +74,7 @@ function Table(_ref) {
|
|
|
74
74
|
_useState2 = _slicedToArray(_useState, 2),
|
|
75
75
|
tableWidth = _useState2[0],
|
|
76
76
|
setTableWidth = _useState2[1];
|
|
77
|
+
var uniqueKey = useId();
|
|
77
78
|
var dispatchScrollEvent = useDispatchEventOnScroll();
|
|
78
79
|
var sortedColumns = useMemo(function () {
|
|
79
80
|
var condition1 = function condition1(item) {
|
|
@@ -142,11 +143,12 @@ function Table(_ref) {
|
|
|
142
143
|
ref: tableRef
|
|
143
144
|
}), /*#__PURE__*/React.createElement("thead", null, headerGroups.map(function (headerGroup, i) {
|
|
144
145
|
return /*#__PURE__*/React.createElement(Header, {
|
|
145
|
-
key: i,
|
|
146
|
+
key: "table_head_".concat(uniqueKey, "_").concat(i),
|
|
146
147
|
withSelect: withSelect,
|
|
147
148
|
fixedHeader: Boolean(fixedHeader),
|
|
148
149
|
headerGroup: headerGroup,
|
|
149
|
-
tableWidth: tableWidth
|
|
150
|
+
tableWidth: tableWidth,
|
|
151
|
+
uniqueKey: uniqueKey
|
|
150
152
|
});
|
|
151
153
|
})), /*#__PURE__*/React.createElement("tbody", getTableBodyProps(), rows.map(function (row) {
|
|
152
154
|
prepareRow(row);
|
|
@@ -155,7 +157,8 @@ function Table(_ref) {
|
|
|
155
157
|
withSelect: withSelect,
|
|
156
158
|
selectedFlatRows: selectedFlatRows,
|
|
157
159
|
row: row,
|
|
158
|
-
key: row.id
|
|
160
|
+
key: "table_row_".concat(uniqueKey, "_").concat(row.id),
|
|
161
|
+
uniqueKey: uniqueKey
|
|
159
162
|
});
|
|
160
163
|
}))));
|
|
161
164
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { IndeterminateCheckbox } from './IndeterminateCheckbox.js';
|
|
4
|
-
import '../../Alert-
|
|
4
|
+
import '../../Alert-BeoBp9Jk.js';
|
|
5
5
|
import '@babel/runtime/helpers/extends';
|
|
6
6
|
import '../Alert/consts.js';
|
|
7
7
|
import 'classnames';
|
|
@@ -2,7 +2,7 @@ import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
|
2
2
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
3
3
|
import React, { useState, useEffect } from 'react';
|
|
4
4
|
import { Input } from '../Input/Input.js';
|
|
5
|
-
import { B as Button } from '../../Alert-
|
|
5
|
+
import { B as Button } from '../../Alert-BeoBp9Jk.js';
|
|
6
6
|
import { Select } from '../Select/Select/Select.js';
|
|
7
7
|
import '../Select/MultiSelect/MultiSelect.js';
|
|
8
8
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
2
2
|
import React, { useState } from 'react';
|
|
3
|
-
import { B as Button } from '../../Alert-
|
|
3
|
+
import { B as Button } from '../../Alert-BeoBp9Jk.js';
|
|
4
4
|
import '@babel/runtime/helpers/defineProperty';
|
|
5
5
|
import 'classnames';
|
|
6
6
|
import { IconSettings } from '../SVGIcons/IconSettings.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { forwardRef, useRef, useEffect } from 'react';
|
|
2
|
-
import { C as Checkbox } from '../../Alert-
|
|
2
|
+
import { C as Checkbox } from '../../Alert-BeoBp9Jk.js';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import '@babel/runtime/helpers/extends';
|
|
5
5
|
import '../Alert/consts.js';
|
|
@@ -11,7 +11,7 @@ import { useTableControl } from './hooks/useTableControl.js';
|
|
|
11
11
|
import { Text } from '../Text/Text.js';
|
|
12
12
|
import classNames from 'classnames';
|
|
13
13
|
import { Empty } from '../Empty/Empty.js';
|
|
14
|
-
import { B as Button } from '../../Alert-
|
|
14
|
+
import { B as Button } from '../../Alert-BeoBp9Jk.js';
|
|
15
15
|
import { IconChevronDown } from '../SVGIcons/IconChevronDown.js';
|
|
16
16
|
import { IconChevronUp } from '../SVGIcons/IconChevronUp.js';
|
|
17
17
|
import '@babel/runtime/helpers/extends';
|
|
@@ -9,7 +9,7 @@ import { arrayMove } from '@dnd-kit/sortable';
|
|
|
9
9
|
import { loadTableSettings } from '../loadTableSettings.js';
|
|
10
10
|
import { useTableColumnSettings } from './useTableColumnSettings.js';
|
|
11
11
|
import { STORAGE_TYPE, TABLE_NAME_PREFIX } from '../constants/index.js';
|
|
12
|
-
import '../../../Alert-
|
|
12
|
+
import '../../../Alert-BeoBp9Jk.js';
|
|
13
13
|
import '@babel/runtime/helpers/extends';
|
|
14
14
|
import '../../Alert/consts.js';
|
|
15
15
|
import 'classnames';
|
|
@@ -20,7 +20,7 @@ import 'dayjs';
|
|
|
20
20
|
import 'react-loading-skeleton';
|
|
21
21
|
import './hooks/useTableControl.js';
|
|
22
22
|
import './IndeterminateCheckbox.js';
|
|
23
|
-
import '../../Alert-
|
|
23
|
+
import '../../Alert-BeoBp9Jk.js';
|
|
24
24
|
import '../Alert/consts.js';
|
|
25
25
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
26
26
|
import '../../helperComponents/Loader/Loader.js';
|
|
@@ -12,7 +12,7 @@ import '../../consts/index.js';
|
|
|
12
12
|
import 'dayjs';
|
|
13
13
|
import '../../hooks/useScreenSize.js';
|
|
14
14
|
import 'react-hook-form';
|
|
15
|
-
import '../../Alert-
|
|
15
|
+
import '../../Alert-BeoBp9Jk.js';
|
|
16
16
|
import 'react-syntax-highlighter';
|
|
17
17
|
import { IconCheckmarkCircleFilled } from '../SVGIcons/IconCheckmarkCircleFilled.js';
|
|
18
18
|
import '../../utils/helpers.js';
|
|
@@ -17,7 +17,7 @@ import '../../consts/index.js';
|
|
|
17
17
|
import '../../type/file-upload.js';
|
|
18
18
|
import '../../hooks/useScreenSize.js';
|
|
19
19
|
import 'react-hook-form';
|
|
20
|
-
import '../../Alert-
|
|
20
|
+
import '../../Alert-BeoBp9Jk.js';
|
|
21
21
|
import '../Alert/consts.js';
|
|
22
22
|
import '../../helperComponents/Loader/Loader.js';
|
|
23
23
|
import 'react-dropzone';
|
|
@@ -6,7 +6,7 @@ import 'classnames';
|
|
|
6
6
|
import '../../utils/helpers.js';
|
|
7
7
|
import 'dayjs';
|
|
8
8
|
import '../../components/Image/Image.js';
|
|
9
|
-
import '../../Alert-
|
|
9
|
+
import '../../Alert-BeoBp9Jk.js';
|
|
10
10
|
import '../../components/Alert/consts.js';
|
|
11
11
|
import '@babel/runtime/helpers/defineProperty';
|
|
12
12
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
@@ -9,7 +9,7 @@ import '../../hooks/useScreenSize.js';
|
|
|
9
9
|
import '@babel/runtime/helpers/slicedToArray';
|
|
10
10
|
import 'react-hook-form';
|
|
11
11
|
import '@babel/runtime/helpers/defineProperty';
|
|
12
|
-
import { C as Checkbox } from '../../Alert-
|
|
12
|
+
import { C as Checkbox } from '../../Alert-BeoBp9Jk.js';
|
|
13
13
|
import { IconCheckmark } from '../../components/SVGIcons/IconCheckmark.js';
|
|
14
14
|
import '../../components/FileUpload/FileUpload.js';
|
|
15
15
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
@@ -7,7 +7,7 @@ import '@babel/runtime/helpers/slicedToArray';
|
|
|
7
7
|
import '../../components/FileUpload/FileUpload.js';
|
|
8
8
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
9
9
|
import '../../components/FileUpload/types.js';
|
|
10
|
-
import '../../Alert-
|
|
10
|
+
import '../../Alert-BeoBp9Jk.js';
|
|
11
11
|
import '../../components/Alert/consts.js';
|
|
12
12
|
import '../../components/Text/Text.js';
|
|
13
13
|
import '../../utils/helpers.js';
|
|
@@ -15,7 +15,7 @@ import '@babel/runtime/helpers/slicedToArray';
|
|
|
15
15
|
import '../components/FileUpload/FileUpload.js';
|
|
16
16
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
17
17
|
import '../components/FileUpload/types.js';
|
|
18
|
-
import '../Alert-
|
|
18
|
+
import '../Alert-BeoBp9Jk.js';
|
|
19
19
|
import '../components/Alert/consts.js';
|
|
20
20
|
import '@babel/runtime/helpers/defineProperty';
|
|
21
21
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
@@ -10,7 +10,7 @@ import '../components/Text/Text.js';
|
|
|
10
10
|
import 'classnames';
|
|
11
11
|
import '../utils/helpers.js';
|
|
12
12
|
import 'dayjs';
|
|
13
|
-
import '../Alert-
|
|
13
|
+
import '../Alert-BeoBp9Jk.js';
|
|
14
14
|
import '../components/Alert/consts.js';
|
|
15
15
|
import '@babel/runtime/helpers/defineProperty';
|
|
16
16
|
import '@babel/runtime/helpers/objectWithoutProperties';
|