hrm_ui_lib 2.0.2 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/styles/styles.css +525 -0
- package/assets/styles/styles.scss +3 -1
- 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 +5 -2
- 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 +12 -3
- package/components/Input/index.js +1 -1
- package/components/Input/types.d.ts +2 -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/SVGIcons/IconChevronDoubleLeft.d.ts +4 -0
- package/components/SVGIcons/IconChevronDoubleLeft.js +29 -0
- package/components/SVGIcons/IconChevronDoubleRight.d.ts +4 -0
- package/components/SVGIcons/IconChevronDoubleRight.js +29 -0
- package/components/SVGIcons/index.d.ts +2 -0
- package/components/SVGIcons/index.js +2 -0
- 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.js +1 -1
- package/components/Table/IndeterminateCheckbox.js +1 -1
- package/components/Table/Row.js +1 -1
- package/components/Table/Table.js +1 -1
- package/components/Table/index.js +1 -1
- package/components/Table/utils.js +1 -1
- package/components/TableV2/AdvancedPagination.d.ts +8 -0
- package/components/TableV2/AdvancedPagination.js +271 -0
- package/components/TableV2/ColumnHeader.d.ts +9 -0
- package/components/TableV2/ColumnHeader.js +64 -0
- package/components/TableV2/ColumnSettings.d.ts +9 -0
- package/components/TableV2/ColumnSettings.js +164 -0
- package/components/TableV2/IndeterminateCheckbox.d.ts +13 -0
- package/components/TableV2/IndeterminateCheckbox.js +87 -0
- package/components/TableV2/Table.d.ts +3 -0
- package/components/TableV2/Table.js +319 -0
- package/components/TableV2/constants/index.d.ts +6 -0
- package/components/TableV2/constants/index.js +23 -0
- package/components/TableV2/hooks/useTableColumnSettings.d.ts +2 -0
- package/components/TableV2/hooks/useTableColumnSettings.js +20 -0
- package/components/TableV2/hooks/useTableControl.d.ts +11 -0
- package/components/TableV2/hooks/useTableControl.js +303 -0
- package/components/TableV2/index.d.ts +3 -0
- package/components/TableV2/index.js +131 -0
- package/components/TableV2/loadTableSettings.d.ts +2 -0
- package/components/TableV2/loadTableSettings.js +18 -0
- package/components/TableV2/types.d.ts +70 -0
- package/components/TableV2/types.js +1 -0
- package/components/Textarea/Textarea.js +1 -1
- package/components/Textarea/index.js +1 -1
- package/context/types.d.ts +1 -0
- 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.d.ts +1 -0
- package/index.js +16 -1
- package/package.json +5 -1
- /package/{Alert-V_kH4Snn.js → Alert-BslI0aA0.js} +0 -0
|
@@ -3,7 +3,7 @@ import 'react';
|
|
|
3
3
|
import './consts.js';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '../Text/Text.js';
|
|
6
|
-
export { A as Alert } from '../../Alert-
|
|
6
|
+
export { A as Alert } from '../../Alert-BslI0aA0.js';
|
|
7
7
|
import '../SVGIcons/IconDismissFilled.js';
|
|
8
8
|
import '../../helperComponents/IconDynamicComponent/IconDynamicComponent.js';
|
|
9
9
|
import 'dayjs';
|
|
@@ -2,7 +2,7 @@ import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
|
2
2
|
import React, { useState, useEffect } from 'react';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import { FileUpload } from '../FileUpload/FileUpload.js';
|
|
5
|
-
import '../../Alert-
|
|
5
|
+
import '../../Alert-BslI0aA0.js';
|
|
6
6
|
import { FileUploadMode } from '../FileUpload/types.js';
|
|
7
7
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
8
8
|
import '../../helperComponents/Label/Label.js';
|
|
@@ -21,7 +21,7 @@ import '../../type/file-upload.js';
|
|
|
21
21
|
import '../FileUpload/FileUpload.js';
|
|
22
22
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
23
23
|
import '../FileUpload/types.js';
|
|
24
|
-
import '../../Alert-
|
|
24
|
+
import '../../Alert-BslI0aA0.js';
|
|
25
25
|
import '@babel/runtime/helpers/extends';
|
|
26
26
|
import '../Alert/consts.js';
|
|
27
27
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
@@ -6,7 +6,7 @@ import 'classnames';
|
|
|
6
6
|
import '../FileUpload/FileUpload.js';
|
|
7
7
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
8
8
|
import '../FileUpload/types.js';
|
|
9
|
-
import '../../Alert-
|
|
9
|
+
import '../../Alert-BslI0aA0.js';
|
|
10
10
|
import '@babel/runtime/helpers/extends';
|
|
11
11
|
import '../Alert/consts.js';
|
|
12
12
|
import '../Text/Text.js';
|
|
@@ -7,7 +7,7 @@ import 'dayjs';
|
|
|
7
7
|
import '../../helperComponents/Loader/Loader.js';
|
|
8
8
|
import '@babel/runtime/helpers/slicedToArray';
|
|
9
9
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
10
|
-
export { B as Button } from '../../Alert-
|
|
10
|
+
export { B as Button } from '../../Alert-BslI0aA0.js';
|
|
11
11
|
import '../../consts/index.js';
|
|
12
12
|
import '../../hooks/useScreenSize.js';
|
|
13
13
|
import 'react-hook-form';
|
|
@@ -2,7 +2,7 @@ import '@babel/runtime/helpers/defineProperty';
|
|
|
2
2
|
import '@babel/runtime/helpers/extends';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'classnames';
|
|
5
|
-
export { C as Checkbox } from '../../Alert-
|
|
5
|
+
export { C as Checkbox } from '../../Alert-BslI0aA0.js';
|
|
6
6
|
import '../Link/Link.js';
|
|
7
7
|
import '../Text/Text.js';
|
|
8
8
|
import '../SVGIcons/IconInfo.js';
|
package/components/Copy/Copy.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
2
2
|
import React, { useState, useRef } from 'react';
|
|
3
|
-
import { B as Button, P as Popover } from '../../Alert-
|
|
3
|
+
import { B as Button, P as Popover } from '../../Alert-BslI0aA0.js';
|
|
4
4
|
import { IconCopy } from '../SVGIcons/IconCopy.js';
|
|
5
5
|
import '@babel/runtime/helpers/extends';
|
|
6
6
|
import '../Alert/consts.js';
|
package/components/Copy/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { Copy } from './Copy.js';
|
|
2
2
|
import '@babel/runtime/helpers/slicedToArray';
|
|
3
3
|
import 'react';
|
|
4
|
-
import '../../Alert-
|
|
4
|
+
import '../../Alert-BslI0aA0.js';
|
|
5
5
|
import '@babel/runtime/helpers/extends';
|
|
6
6
|
import '../Alert/consts.js';
|
|
7
7
|
import 'classnames';
|
|
@@ -21,7 +21,7 @@ import '../../consts/index.js';
|
|
|
21
21
|
import '../../type/file-upload.js';
|
|
22
22
|
import '../../hooks/useScreenSize.js';
|
|
23
23
|
import 'react-hook-form';
|
|
24
|
-
import '../../Alert-
|
|
24
|
+
import '../../Alert-BslI0aA0.js';
|
|
25
25
|
import '../Alert/consts.js';
|
|
26
26
|
import '../../helperComponents/Loader/Loader.js';
|
|
27
27
|
import 'react-dropzone';
|
|
@@ -20,7 +20,7 @@ import '../../consts/index.js';
|
|
|
20
20
|
import '../../type/file-upload.js';
|
|
21
21
|
import '../../hooks/useScreenSize.js';
|
|
22
22
|
import 'react-hook-form';
|
|
23
|
-
import '../../Alert-
|
|
23
|
+
import '../../Alert-BslI0aA0.js';
|
|
24
24
|
import '../Alert/consts.js';
|
|
25
25
|
import '../../helperComponents/Loader/Loader.js';
|
|
26
26
|
import 'react-dropzone';
|
|
@@ -12,7 +12,7 @@ import '@babel/runtime/helpers/objectWithoutProperties';
|
|
|
12
12
|
import '../../../consts/index.js';
|
|
13
13
|
import '../../../hooks/useScreenSize.js';
|
|
14
14
|
import 'react-hook-form';
|
|
15
|
-
import '../../../Alert-
|
|
15
|
+
import '../../../Alert-BslI0aA0.js';
|
|
16
16
|
import 'react-syntax-highlighter';
|
|
17
17
|
import { ButtonSelect } from '../../Select/ButtonSelect/ButtonSelect.js';
|
|
18
18
|
import { IconChevronLeft } from '../../SVGIcons/IconChevronLeft.js';
|
|
@@ -23,7 +23,7 @@ import '../../../consts/index.js';
|
|
|
23
23
|
import '../../../type/file-upload.js';
|
|
24
24
|
import '../../../hooks/useScreenSize.js';
|
|
25
25
|
import 'react-hook-form';
|
|
26
|
-
import '../../../Alert-
|
|
26
|
+
import '../../../Alert-BslI0aA0.js';
|
|
27
27
|
import '../../Alert/consts.js';
|
|
28
28
|
import '../../../helperComponents/Loader/Loader.js';
|
|
29
29
|
import 'react-dropzone';
|
|
@@ -15,7 +15,7 @@ import '@babel/runtime/helpers/defineProperty';
|
|
|
15
15
|
import '../../../consts/index.js';
|
|
16
16
|
import '../../../hooks/useScreenSize.js';
|
|
17
17
|
import 'react-hook-form';
|
|
18
|
-
import '../../../Alert-
|
|
18
|
+
import '../../../Alert-BslI0aA0.js';
|
|
19
19
|
import 'react-syntax-highlighter';
|
|
20
20
|
import { IconCalendarRight } from '../../SVGIcons/IconCalendarRight.js';
|
|
21
21
|
import 'react-input-mask';
|
|
@@ -8,7 +8,7 @@ import { DateFormat } from '../types.js';
|
|
|
8
8
|
import { useImportFilesDynamically } from '../hooks.js';
|
|
9
9
|
import { isSameDay } from '../../../utils/helpers.js';
|
|
10
10
|
import { IconCalendarRight } from '../../SVGIcons/IconCalendarRight.js';
|
|
11
|
-
import { a as Modal } from '../../../Alert-
|
|
11
|
+
import { a as Modal } from '../../../Alert-BslI0aA0.js';
|
|
12
12
|
import 'classnames';
|
|
13
13
|
import 'framer-motion';
|
|
14
14
|
import '../../../consts/index.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-BslI0aA0.js';
|
|
26
26
|
import '../../Alert/consts.js';
|
|
27
27
|
import '../../../helperComponents/Loader/Loader.js';
|
|
28
28
|
import 'react-dropzone';
|
|
@@ -23,7 +23,7 @@ import '../../../consts/index.js';
|
|
|
23
23
|
import '../../../type/file-upload.js';
|
|
24
24
|
import '../../../hooks/useScreenSize.js';
|
|
25
25
|
import 'react-hook-form';
|
|
26
|
-
import '../../../Alert-
|
|
26
|
+
import '../../../Alert-BslI0aA0.js';
|
|
27
27
|
import '../../Alert/consts.js';
|
|
28
28
|
import '../../../helperComponents/Loader/Loader.js';
|
|
29
29
|
import 'react-dropzone';
|
|
@@ -12,7 +12,7 @@ import '@babel/runtime/helpers/defineProperty';
|
|
|
12
12
|
import '../../../consts/index.js';
|
|
13
13
|
import '../../../hooks/useScreenSize.js';
|
|
14
14
|
import 'react-hook-form';
|
|
15
|
-
import '../../../Alert-
|
|
15
|
+
import '../../../Alert-BslI0aA0.js';
|
|
16
16
|
import 'react-syntax-highlighter';
|
|
17
17
|
import { CustomHeader } from '../CustomHeader/CustomHeader.js';
|
|
18
18
|
import { useImportFilesDynamically } from '../hooks.js';
|
|
@@ -6,7 +6,7 @@ import { Input } from '../../Input/Input.js';
|
|
|
6
6
|
import { IconCalendarRight } from '../../SVGIcons/IconCalendarRight.js';
|
|
7
7
|
import dayjs from 'dayjs';
|
|
8
8
|
import { useImportFilesDynamically } from '../hooks.js';
|
|
9
|
-
import { a as Modal } from '../../../Alert-
|
|
9
|
+
import { a as Modal } from '../../../Alert-BslI0aA0.js';
|
|
10
10
|
import 'classnames';
|
|
11
11
|
import 'framer-motion';
|
|
12
12
|
import '../../../consts/index.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-BslI0aA0.js';
|
|
26
26
|
import '../../Alert/consts.js';
|
|
27
27
|
import '../../../helperComponents/Loader/Loader.js';
|
|
28
28
|
import 'react-dropzone';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
2
2
|
import React, { useMemo, useRef, useCallback, useEffect, useState } from 'react';
|
|
3
|
-
import { a as Modal } from '../../../Alert-
|
|
3
|
+
import { a as Modal } from '../../../Alert-BslI0aA0.js';
|
|
4
4
|
import '@babel/runtime/helpers/extends';
|
|
5
5
|
import 'classnames';
|
|
6
6
|
import 'framer-motion';
|
|
@@ -16,7 +16,7 @@ import '@babel/runtime/helpers/toConsumableArray';
|
|
|
16
16
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
17
17
|
import '../../../hooks/useScreenSize.js';
|
|
18
18
|
import 'react-hook-form';
|
|
19
|
-
import '../../../Alert-
|
|
19
|
+
import '../../../Alert-BslI0aA0.js';
|
|
20
20
|
import '../../Alert/consts.js';
|
|
21
21
|
import '../../../helperComponents/Loader/Loader.js';
|
|
22
22
|
import 'react-dropzone';
|
|
@@ -12,7 +12,7 @@ import '@babel/runtime/helpers/defineProperty';
|
|
|
12
12
|
import '../../../consts/index.js';
|
|
13
13
|
import '../../../hooks/useScreenSize.js';
|
|
14
14
|
import 'react-hook-form';
|
|
15
|
-
import '../../../Alert-
|
|
15
|
+
import '../../../Alert-BslI0aA0.js';
|
|
16
16
|
import 'react-syntax-highlighter';
|
|
17
17
|
import { useImportFilesDynamically } from '../hooks.js';
|
|
18
18
|
import { IconClock } from '../../SVGIcons/IconClock.js';
|
|
@@ -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-BslI0aA0.js';
|
|
14
14
|
import 'react-syntax-highlighter';
|
|
15
15
|
import { Input } from '../../Input/Input.js';
|
|
16
16
|
import { IconCalendarRight } from '../../SVGIcons/IconCalendarRight.js';
|
|
@@ -16,7 +16,7 @@ import '@babel/runtime/helpers/toConsumableArray';
|
|
|
16
16
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
17
17
|
import '../../../hooks/useScreenSize.js';
|
|
18
18
|
import 'react-hook-form';
|
|
19
|
-
import '../../../Alert-
|
|
19
|
+
import '../../../Alert-BslI0aA0.js';
|
|
20
20
|
import '../../Alert/consts.js';
|
|
21
21
|
import '../../../helperComponents/Loader/Loader.js';
|
|
22
22
|
import 'react-dropzone';
|
|
@@ -18,7 +18,7 @@ import '@babel/runtime/helpers/toConsumableArray';
|
|
|
18
18
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
19
19
|
import '../../hooks/useScreenSize.js';
|
|
20
20
|
import 'react-hook-form';
|
|
21
|
-
import '../../Alert-
|
|
21
|
+
import '../../Alert-BslI0aA0.js';
|
|
22
22
|
import '../Alert/consts.js';
|
|
23
23
|
import '../../helperComponents/Loader/Loader.js';
|
|
24
24
|
import 'react-dropzone';
|
|
@@ -2,7 +2,7 @@ import _extends from '@babel/runtime/helpers/extends';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { Text } from '../Text/Text.js';
|
|
4
4
|
import { Image } from '../Image/Image.js';
|
|
5
|
-
import { B as Button } from '../../Alert-
|
|
5
|
+
import { B as Button } from '../../Alert-BslI0aA0.js';
|
|
6
6
|
import classNames from 'classnames';
|
|
7
7
|
import '../../utils/helpers.js';
|
|
8
8
|
import 'dayjs';
|
|
@@ -6,7 +6,7 @@ import 'classnames';
|
|
|
6
6
|
import '../../utils/helpers.js';
|
|
7
7
|
import 'dayjs';
|
|
8
8
|
import '../Image/Image.js';
|
|
9
|
-
import '../../Alert-
|
|
9
|
+
import '../../Alert-BslI0aA0.js';
|
|
10
10
|
import '../Alert/consts.js';
|
|
11
11
|
import '@babel/runtime/helpers/defineProperty';
|
|
12
12
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
@@ -8,7 +8,7 @@ import '../../Text/Text.js';
|
|
|
8
8
|
import 'classnames';
|
|
9
9
|
import '../../../type/file-upload.js';
|
|
10
10
|
import '../types.js';
|
|
11
|
-
export { D as DropzoneFileUpload } from '../../../Alert-
|
|
11
|
+
export { D as DropzoneFileUpload } from '../../../Alert-BslI0aA0.js';
|
|
12
12
|
import '../../../utils/helpers.js';
|
|
13
13
|
import '@babel/runtime/helpers/defineProperty';
|
|
14
14
|
import 'dayjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import 'react-dropzone';
|
|
3
|
-
export { E as ErrorItem } from '../../../Alert-
|
|
3
|
+
export { E as ErrorItem } from '../../../Alert-BslI0aA0.js';
|
|
4
4
|
import '@babel/runtime/helpers/extends';
|
|
5
5
|
import '../../Alert/consts.js';
|
|
6
6
|
import 'classnames';
|
|
@@ -12,7 +12,7 @@ import '@babel/runtime/helpers/slicedToArray';
|
|
|
12
12
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
13
13
|
import '../../../hooks/useScreenSize.js';
|
|
14
14
|
import 'react-hook-form';
|
|
15
|
-
export { f as formatFileSize, g as generateAreaContent, b as getDropzoneLocale, s as shortenFileName } from '../../../Alert-
|
|
15
|
+
export { f as formatFileSize, g as generateAreaContent, b as getDropzoneLocale, s as shortenFileName } from '../../../Alert-BslI0aA0.js';
|
|
16
16
|
import 'react-syntax-highlighter';
|
|
17
17
|
import '@babel/runtime/helpers/typeof';
|
|
18
18
|
import '../../../type/file-upload.js';
|
|
@@ -2,7 +2,7 @@ import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
|
|
|
2
2
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
3
3
|
import React, { useRef, useState, useCallback } from 'react';
|
|
4
4
|
import { FileUploadMode } from './types.js';
|
|
5
|
-
import { B as Button } from '../../Alert-
|
|
5
|
+
import { B as Button } from '../../Alert-BslI0aA0.js';
|
|
6
6
|
import { Label } from '../../helperComponents/Label/Label.js';
|
|
7
7
|
import 'classnames';
|
|
8
8
|
import { uniqueFiles, checkIsAllowedFileSize, checkIsAllowedTypes, getFormattedValues } from '../../utils/helpers.js';
|
|
@@ -10,7 +10,7 @@ import { ErrorMessage } from '../../helperComponents/ErrorMessage/ErrorMessage.j
|
|
|
10
10
|
import '@babel/runtime/helpers/extends';
|
|
11
11
|
import 'classnames';
|
|
12
12
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
13
|
-
import { B as Button } from '../../Alert-
|
|
13
|
+
import { B as Button } from '../../Alert-BslI0aA0.js';
|
|
14
14
|
import '@babel/runtime/helpers/defineProperty';
|
|
15
15
|
import 'react-syntax-highlighter';
|
|
16
16
|
import { IconDelete } from '../SVGIcons/IconDelete.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { FileUpload } from './FileUpload.js';
|
|
2
|
-
export { D as DropzoneFileUpload } from '../../Alert-
|
|
2
|
+
export { D as DropzoneFileUpload } from '../../Alert-BslI0aA0.js';
|
|
3
3
|
export { FileUploadMode } from './types.js';
|
|
4
4
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
5
5
|
import '@babel/runtime/helpers/slicedToArray';
|
|
@@ -4,7 +4,7 @@ import { appendErrors, useForm } from 'react-hook-form';
|
|
|
4
4
|
import { validateFieldsNatively, toNestErrors } from '@hookform/resolvers';
|
|
5
5
|
import classNames from 'classnames';
|
|
6
6
|
import { FormContext } from '../../context/types.js';
|
|
7
|
-
import { B as Button } from '../../Alert-
|
|
7
|
+
import { B as Button } from '../../Alert-BslI0aA0.js';
|
|
8
8
|
import '../../utils/helpers.js';
|
|
9
9
|
import 'dayjs';
|
|
10
10
|
import '../Alert/consts.js';
|
|
@@ -120,7 +120,10 @@ var FormContainer = function FormContainer(props) {
|
|
|
120
120
|
setError: setError,
|
|
121
121
|
dirtyFields: dirtyFields,
|
|
122
122
|
getFieldState: getFieldState,
|
|
123
|
-
unregister: unregister
|
|
123
|
+
unregister: unregister,
|
|
124
|
+
onSubmit: function onSubmit() {
|
|
125
|
+
return handleSubmit(customSubmit)();
|
|
126
|
+
}
|
|
124
127
|
}
|
|
125
128
|
}, /*#__PURE__*/React.createElement(React.Fragment, null, children, buttonConfigs && /*#__PURE__*/React.createElement("div", {
|
|
126
129
|
className: "form-container__buttons"
|
|
@@ -7,7 +7,7 @@ import 'classnames';
|
|
|
7
7
|
import '../../context/types.js';
|
|
8
8
|
import '../../utils/helpers.js';
|
|
9
9
|
import 'dayjs';
|
|
10
|
-
import '../../Alert-
|
|
10
|
+
import '../../Alert-BslI0aA0.js';
|
|
11
11
|
import '../Alert/consts.js';
|
|
12
12
|
import '../Text/Text.js';
|
|
13
13
|
import '@babel/runtime/helpers/defineProperty';
|
|
@@ -12,7 +12,7 @@ import '../../consts/index.js';
|
|
|
12
12
|
import { FormContext } from '../../context/types.js';
|
|
13
13
|
import '../../hooks/useScreenSize.js';
|
|
14
14
|
import { Controller } from 'react-hook-form';
|
|
15
|
-
import '../../Alert-
|
|
15
|
+
import '../../Alert-BslI0aA0.js';
|
|
16
16
|
import 'react-syntax-highlighter';
|
|
17
17
|
import '../Text/Text.js';
|
|
18
18
|
import '../../utils/helpers.js';
|
|
@@ -18,7 +18,7 @@ import '../../type/file-upload.js';
|
|
|
18
18
|
import '../../context/types.js';
|
|
19
19
|
import '../../hooks/useScreenSize.js';
|
|
20
20
|
import 'react-hook-form';
|
|
21
|
-
import '../../Alert-
|
|
21
|
+
import '../../Alert-BslI0aA0.js';
|
|
22
22
|
import '../Alert/consts.js';
|
|
23
23
|
import '../../helperComponents/Loader/Loader.js';
|
|
24
24
|
import 'react-dropzone';
|
|
@@ -14,7 +14,7 @@ import '../../consts/index.js';
|
|
|
14
14
|
import 'dayjs';
|
|
15
15
|
import '../../hooks/useScreenSize.js';
|
|
16
16
|
import 'react-hook-form';
|
|
17
|
-
import '../../Alert-
|
|
17
|
+
import '../../Alert-BslI0aA0.js';
|
|
18
18
|
import 'react-syntax-highlighter';
|
|
19
19
|
import { IconCheckmarkCircleFilled } from '../SVGIcons/IconCheckmarkCircleFilled.js';
|
|
20
20
|
import '../../utils/helpers.js';
|
|
@@ -56,7 +56,7 @@ import '../SVGIcons/IconArrowDownloadFilled.js';
|
|
|
56
56
|
import '../../helpers/download-file.js';
|
|
57
57
|
import '../Button/consts.js';
|
|
58
58
|
|
|
59
|
-
var _excluded = ["datePlaceHolderText", "className", "size", "error", "hasError", "label", "mask", "maskChar", "maskPlaceholder", "currentValue", "name", "leftIconProps", "rightIconProps", "disabled", "required", "readonly", "placeholder", "type", "helperText", "successMessage", "maxCount", "setFieldValue", "handleChange", "dataId", "isValid", "allowLeadingZeros", "thousandSeparator", "allowNegative", "hideCounter", "labelAddons", "witUpperCase", "isAllowed", "onChange"];
|
|
59
|
+
var _excluded = ["datePlaceHolderText", "className", "size", "error", "hasError", "label", "mask", "maskChar", "maskPlaceholder", "currentValue", "name", "leftIconProps", "rightIconProps", "disabled", "required", "readonly", "placeholder", "type", "helperText", "successMessage", "maxCount", "setFieldValue", "handleChange", "dataId", "isValid", "allowLeadingZeros", "thousandSeparator", "allowNegative", "hideCounter", "labelAddons", "witUpperCase", "isAllowed", "onChange", "handleBlurEvent"];
|
|
60
60
|
var Input = /*#__PURE__*/React.forwardRef(function (_ref, _ref2) {
|
|
61
61
|
var datePlaceHolderText = _ref.datePlaceHolderText,
|
|
62
62
|
className = _ref.className,
|
|
@@ -98,6 +98,7 @@ var Input = /*#__PURE__*/React.forwardRef(function (_ref, _ref2) {
|
|
|
98
98
|
witUpperCase = _ref$witUpperCase === void 0 ? false : _ref$witUpperCase,
|
|
99
99
|
isAllowed = _ref.isAllowed,
|
|
100
100
|
onChange = _ref.onChange,
|
|
101
|
+
handleBlurEvent = _ref.handleBlurEvent,
|
|
101
102
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
102
103
|
var isErrorVisible = hasError !== undefined ? hasError : !!error;
|
|
103
104
|
var placeHolder = label === placeholder ? '' : placeholder || datePlaceHolderText;
|
|
@@ -126,6 +127,11 @@ var Input = /*#__PURE__*/React.forwardRef(function (_ref, _ref2) {
|
|
|
126
127
|
}
|
|
127
128
|
return 0;
|
|
128
129
|
}, [rest, currentValue]);
|
|
130
|
+
var onBlurCallback = function onBlurCallback(e) {
|
|
131
|
+
var _rest$onBlur;
|
|
132
|
+
rest === null || rest === void 0 || (_rest$onBlur = rest.onBlur) === null || _rest$onBlur === void 0 || _rest$onBlur.call(rest, e);
|
|
133
|
+
handleBlurEvent === null || handleBlurEvent === void 0 || handleBlurEvent(e);
|
|
134
|
+
};
|
|
129
135
|
var input = mask ?
|
|
130
136
|
/*#__PURE__*/
|
|
131
137
|
// @ts-ignore
|
|
@@ -139,6 +145,7 @@ var Input = /*#__PURE__*/React.forwardRef(function (_ref, _ref2) {
|
|
|
139
145
|
}
|
|
140
146
|
}, rest, {
|
|
141
147
|
placeholder: placeHolder,
|
|
148
|
+
onBlur: onBlurCallback,
|
|
142
149
|
onChange: changeHandler,
|
|
143
150
|
disabled: disabled,
|
|
144
151
|
"data-id": dataId,
|
|
@@ -162,7 +169,8 @@ var Input = /*#__PURE__*/React.forwardRef(function (_ref, _ref2) {
|
|
|
162
169
|
maxLength: maxCount,
|
|
163
170
|
inputMode: 'numeric',
|
|
164
171
|
disabled: disabled,
|
|
165
|
-
isAllowed: isAllowed
|
|
172
|
+
isAllowed: isAllowed,
|
|
173
|
+
onBlur: onBlurCallback
|
|
166
174
|
}, currentValue !== undefined ? {
|
|
167
175
|
value: currentValue
|
|
168
176
|
} : {})) :
|
|
@@ -177,6 +185,7 @@ var Input = /*#__PURE__*/React.forwardRef(function (_ref, _ref2) {
|
|
|
177
185
|
placeholder: placeHolder,
|
|
178
186
|
"data-id": dataId
|
|
179
187
|
}, rest, {
|
|
188
|
+
onBlur: onBlurCallback,
|
|
180
189
|
onChange: changeHandler
|
|
181
190
|
}, currentValue !== undefined ? {
|
|
182
191
|
value: currentValue
|
|
@@ -19,7 +19,7 @@ import '../../consts/index.js';
|
|
|
19
19
|
import '../../type/file-upload.js';
|
|
20
20
|
import '../../hooks/useScreenSize.js';
|
|
21
21
|
import 'react-hook-form';
|
|
22
|
-
import '../../Alert-
|
|
22
|
+
import '../../Alert-BslI0aA0.js';
|
|
23
23
|
import '../Alert/consts.js';
|
|
24
24
|
import '../../helperComponents/Loader/Loader.js';
|
|
25
25
|
import 'react-dropzone';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InputHTMLAttributes, ReactElement, RefObject } from 'react';
|
|
1
|
+
import { InputHTMLAttributes, ReactElement, RefObject, FocusEvent } from 'react';
|
|
2
2
|
import { ISVGIconProps } from '../SVGIcons/types';
|
|
3
3
|
export interface InputCustomProps extends IFormCompProps, Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'onFocus' | 'value' | 'onChange' | 'autoComplete'> {
|
|
4
4
|
mask?: string;
|
|
@@ -24,6 +24,7 @@ export interface InputCustomProps extends IFormCompProps, Omit<InputHTMLAttribut
|
|
|
24
24
|
successMessage?: string;
|
|
25
25
|
maxCount?: number;
|
|
26
26
|
onFocus?: (event: TClickEventType) => void;
|
|
27
|
+
handleBlurEvent?: (e: FocusEvent<HTMLInputElement>) => void;
|
|
27
28
|
hideCounter?: boolean;
|
|
28
29
|
allowNegative?: boolean;
|
|
29
30
|
currencySymbol?: string;
|
package/components/Menu/Menu.js
CHANGED
|
@@ -20,7 +20,7 @@ import '../Avatar/Avatar.js';
|
|
|
20
20
|
import '../FileUpload/FileUpload.js';
|
|
21
21
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
22
22
|
import '../FileUpload/types.js';
|
|
23
|
-
import '../../Alert-
|
|
23
|
+
import '../../Alert-BslI0aA0.js';
|
|
24
24
|
import '../Alert/consts.js';
|
|
25
25
|
import '../Text/Text.js';
|
|
26
26
|
import '../../utils/helpers.js';
|
|
@@ -29,7 +29,7 @@ import '../SVGIcons/IconChevronDown.js';
|
|
|
29
29
|
import '../Avatar/Avatar.js';
|
|
30
30
|
import '../FileUpload/FileUpload.js';
|
|
31
31
|
import '../FileUpload/types.js';
|
|
32
|
-
import '../../Alert-
|
|
32
|
+
import '../../Alert-BslI0aA0.js';
|
|
33
33
|
import '../Alert/consts.js';
|
|
34
34
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
35
35
|
import '../../helperComponents/Loader/Loader.js';
|
package/components/Menu/index.js
CHANGED
|
@@ -21,7 +21,7 @@ import '../Avatar/Avatar.js';
|
|
|
21
21
|
import '../FileUpload/FileUpload.js';
|
|
22
22
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
23
23
|
import '../FileUpload/types.js';
|
|
24
|
-
import '../../Alert-
|
|
24
|
+
import '../../Alert-BslI0aA0.js';
|
|
25
25
|
import '../Alert/consts.js';
|
|
26
26
|
import '../Text/Text.js';
|
|
27
27
|
import '../../utils/helpers.js';
|
|
@@ -11,7 +11,7 @@ import '../../hooks/useOnOutsideClick.js';
|
|
|
11
11
|
import '../../hooks/useScreenSize.js';
|
|
12
12
|
import '../../hooks/useHideBodyScroll.js';
|
|
13
13
|
import 'react-hook-form';
|
|
14
|
-
export { M as MOBILE_ANIMATION, a as Modal } from '../../Alert-
|
|
14
|
+
export { M as MOBILE_ANIMATION, a as Modal } from '../../Alert-BslI0aA0.js';
|
|
15
15
|
import '../../hooks/useGetIsMobile.js';
|
|
16
16
|
import '@babel/runtime/helpers/defineProperty';
|
|
17
17
|
import '../../type/file-upload.js';
|
|
@@ -10,7 +10,7 @@ import { useOnOutsideClick } from '../../hooks/useOnOutsideClick.js';
|
|
|
10
10
|
import '../../hooks/useScreenSize.js';
|
|
11
11
|
import { useHideBodyScroll } from '../../hooks/useHideBodyScroll.js';
|
|
12
12
|
import 'react-hook-form';
|
|
13
|
-
import { B as Button } from '../../Alert-
|
|
13
|
+
import { B as Button } from '../../Alert-BslI0aA0.js';
|
|
14
14
|
import { Text } from '../Text/Text.js';
|
|
15
15
|
import '@babel/runtime/helpers/defineProperty';
|
|
16
16
|
import '../../type/file-upload.js';
|
|
@@ -2,7 +2,7 @@ import '@babel/runtime/helpers/extends';
|
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../SVGIcons/IconDismiss.js';
|
|
4
4
|
import '../Tooltip/types.js';
|
|
5
|
-
export { d as ModalContent } from '../../Alert-
|
|
5
|
+
export { d as ModalContent } from '../../Alert-BslI0aA0.js';
|
|
6
6
|
import '../Text/Text.js';
|
|
7
7
|
import '../Tooltip/Tooltip.js';
|
|
8
8
|
import '../../utils/helpers.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { M as MOBILE_ANIMATION, a as Modal } from '../../Alert-
|
|
1
|
+
export { M as MOBILE_ANIMATION, a as Modal } from '../../Alert-BslI0aA0.js';
|
|
2
2
|
export { ModalConfirmation } from './ModalConfirmation.js';
|
|
3
3
|
import '@babel/runtime/helpers/extends';
|
|
4
4
|
import 'react';
|
package/components/More/More.js
CHANGED
|
@@ -2,7 +2,7 @@ import _extends from '@babel/runtime/helpers/extends';
|
|
|
2
2
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
3
3
|
import React, { useState } from 'react';
|
|
4
4
|
import { Text } from '../Text/Text.js';
|
|
5
|
-
import { B as Button } from '../../Alert-
|
|
5
|
+
import { B as Button } from '../../Alert-BslI0aA0.js';
|
|
6
6
|
import 'classnames';
|
|
7
7
|
import '../../utils/helpers.js';
|
|
8
8
|
import 'dayjs';
|
package/components/More/index.js
CHANGED
|
@@ -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-BslI0aA0.js';
|
|
10
10
|
import '../Alert/consts.js';
|
|
11
11
|
import '@babel/runtime/helpers/defineProperty';
|
|
12
12
|
import '@babel/runtime/helpers/objectWithoutProperties';
|