hrm_ui_lib 2.0.0-alpha.12 → 2.0.0-alpha.13
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/Card/Card.js +1 -1
- package/components/Card/CardComponent/CardHead.js +1 -1
- package/components/Card/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 +3 -16
- package/components/FormContainer/index.js +1 -4
- 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 +2 -5
- 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.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.d.ts +0 -1
- package/index.js +6 -7
- package/package.json +1 -1
- package/i18n.d.ts +0 -4
- package/i18n.js +0 -2676
- package/node-ponyfill-CCC52WRr.js +0 -81701
- /package/{Alert--0rz5XL1.js → Alert-Ocpfzvmz.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-Ocpfzvmz.js';
|
|
7
7
|
import '../SVGIcons/IconDismissFilled.js';
|
|
8
8
|
import '../IconDynamicComponent/IconDynamicComponent.js';
|
|
9
9
|
import '../../utils/helpers.js';
|
|
@@ -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-Ocpfzvmz.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-Ocpfzvmz.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-Ocpfzvmz.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-Ocpfzvmz.js';
|
|
11
11
|
import '../../consts/index.js';
|
|
12
12
|
import '../../hooks/useScreenSize.js';
|
|
13
13
|
import 'react-hook-form';
|
package/components/Card/Card.js
CHANGED
|
@@ -11,7 +11,7 @@ import { noop } from '../../utils/helpers.js';
|
|
|
11
11
|
import 'classnames';
|
|
12
12
|
import '../SVGIcons/IconChevronDown.js';
|
|
13
13
|
import '../SVGIcons/IconChevronRight.js';
|
|
14
|
-
import '../../Alert
|
|
14
|
+
import '../../Alert-Ocpfzvmz.js';
|
|
15
15
|
import '@babel/runtime/helpers/extends';
|
|
16
16
|
import '../Alert/consts.js';
|
|
17
17
|
import '../Text/Text.js';
|
|
@@ -5,7 +5,7 @@ import classNames from 'classnames';
|
|
|
5
5
|
import { IconChevronDown } from '../../SVGIcons/IconChevronDown.js';
|
|
6
6
|
import { IconChevronRight } from '../../SVGIcons/IconChevronRight.js';
|
|
7
7
|
import { noop } from '../../../utils/helpers.js';
|
|
8
|
-
import { B as Button } from '../../../Alert
|
|
8
|
+
import { B as Button } from '../../../Alert-Ocpfzvmz.js';
|
|
9
9
|
import 'dayjs';
|
|
10
10
|
import '@babel/runtime/helpers/extends';
|
|
11
11
|
import '../../Alert/consts.js';
|
package/components/Card/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import 'dayjs';
|
|
|
11
11
|
import './CardComponent/CardHead.js';
|
|
12
12
|
import '../SVGIcons/IconChevronDown.js';
|
|
13
13
|
import '../SVGIcons/IconChevronRight.js';
|
|
14
|
-
import '../../Alert
|
|
14
|
+
import '../../Alert-Ocpfzvmz.js';
|
|
15
15
|
import '@babel/runtime/helpers/extends';
|
|
16
16
|
import '../Alert/consts.js';
|
|
17
17
|
import '../Text/Text.js';
|
|
@@ -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-Ocpfzvmz.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-Ocpfzvmz.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-Ocpfzvmz.js';
|
|
5
5
|
import '@babel/runtime/helpers/extends';
|
|
6
6
|
import '../Alert/consts.js';
|
|
7
7
|
import 'classnames';
|
|
@@ -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-Ocpfzvmz.js';
|
|
24
24
|
import '../Alert/consts.js';
|
|
25
25
|
import '../../helperComponents/Loader/Loader.js';
|
|
26
26
|
import 'react-dropzone';
|
|
@@ -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-Ocpfzvmz.js';
|
|
23
23
|
import '../Alert/consts.js';
|
|
24
24
|
import '../../helperComponents/Loader/Loader.js';
|
|
25
25
|
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-Ocpfzvmz.js';
|
|
16
16
|
import 'react-syntax-highlighter';
|
|
17
17
|
import 'react-syntax-highlighter/dist/esm/styles/prism';
|
|
18
18
|
import { ButtonSelect } from '../../Select/ButtonSelect/ButtonSelect.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-Ocpfzvmz.js';
|
|
26
26
|
import '../../Alert/consts.js';
|
|
27
27
|
import '../../../helperComponents/Loader/Loader.js';
|
|
28
28
|
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-Ocpfzvmz.js';
|
|
19
19
|
import 'react-syntax-highlighter';
|
|
20
20
|
import 'react-syntax-highlighter/dist/esm/styles/prism';
|
|
21
21
|
import { IconCalendarRight } from '../../SVGIcons/IconCalendarRight.js';
|
|
@@ -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-Ocpfzvmz.js';
|
|
12
12
|
import 'classnames';
|
|
13
13
|
import 'motion/react';
|
|
14
14
|
import '../../../consts/index.js';
|
|
@@ -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-Ocpfzvmz.js';
|
|
25
25
|
import '../../Alert/consts.js';
|
|
26
26
|
import '../../../helperComponents/Loader/Loader.js';
|
|
27
27
|
import 'react-dropzone';
|
|
@@ -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-Ocpfzvmz.js';
|
|
26
26
|
import '../../Alert/consts.js';
|
|
27
27
|
import '../../../helperComponents/Loader/Loader.js';
|
|
28
28
|
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-Ocpfzvmz.js';
|
|
16
16
|
import 'react-syntax-highlighter';
|
|
17
17
|
import 'react-syntax-highlighter/dist/esm/styles/prism';
|
|
18
18
|
import { CustomHeader } from '../CustomHeader/CustomHeader.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-Ocpfzvmz.js';
|
|
10
10
|
import 'classnames';
|
|
11
11
|
import 'motion/react';
|
|
12
12
|
import '../../../consts/index.js';
|
|
@@ -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-Ocpfzvmz.js';
|
|
25
25
|
import '../../Alert/consts.js';
|
|
26
26
|
import '../../../helperComponents/Loader/Loader.js';
|
|
27
27
|
import 'react-dropzone';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
2
2
|
import React, { useState } from 'react';
|
|
3
|
-
import { a as Modal } from '../../../Alert
|
|
3
|
+
import { a as Modal } from '../../../Alert-Ocpfzvmz.js';
|
|
4
4
|
import '@babel/runtime/helpers/extends';
|
|
5
5
|
import 'classnames';
|
|
6
6
|
import 'motion/react';
|
|
@@ -16,7 +16,7 @@ import '@babel/runtime/helpers/extends';
|
|
|
16
16
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
17
17
|
import '../../../hooks/useScreenSize.js';
|
|
18
18
|
import 'react-hook-form';
|
|
19
|
-
import '../../../Alert
|
|
19
|
+
import '../../../Alert-Ocpfzvmz.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-Ocpfzvmz.js';
|
|
16
16
|
import 'react-syntax-highlighter';
|
|
17
17
|
import 'react-syntax-highlighter/dist/esm/styles/prism';
|
|
18
18
|
import { useImportFilesDynamically } from '../hooks.js';
|
|
@@ -10,7 +10,7 @@ import '@babel/runtime/helpers/defineProperty';
|
|
|
10
10
|
import '../../../consts/index.js';
|
|
11
11
|
import '../../../hooks/useScreenSize.js';
|
|
12
12
|
import 'react-hook-form';
|
|
13
|
-
import '../../../Alert
|
|
13
|
+
import '../../../Alert-Ocpfzvmz.js';
|
|
14
14
|
import 'react-syntax-highlighter';
|
|
15
15
|
import 'react-syntax-highlighter/dist/esm/styles/prism';
|
|
16
16
|
import { Input } from '../../Input/Input.js';
|
|
@@ -16,7 +16,7 @@ import '@babel/runtime/helpers/extends';
|
|
|
16
16
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
17
17
|
import '../../../hooks/useScreenSize.js';
|
|
18
18
|
import 'react-hook-form';
|
|
19
|
-
import '../../../Alert
|
|
19
|
+
import '../../../Alert-Ocpfzvmz.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/extends';
|
|
|
18
18
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
19
19
|
import '../../hooks/useScreenSize.js';
|
|
20
20
|
import 'react-hook-form';
|
|
21
|
-
import '../../Alert
|
|
21
|
+
import '../../Alert-Ocpfzvmz.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-Ocpfzvmz.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-Ocpfzvmz.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-Ocpfzvmz.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-Ocpfzvmz.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-Ocpfzvmz.js';
|
|
16
16
|
import 'react-syntax-highlighter';
|
|
17
17
|
import 'react-syntax-highlighter/dist/esm/styles/prism';
|
|
18
18
|
import 'react-toastify/dist/ReactToastify.css';
|
|
@@ -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-Ocpfzvmz.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-Ocpfzvmz.js';
|
|
14
14
|
import '@babel/runtime/helpers/defineProperty';
|
|
15
15
|
import 'react-syntax-highlighter';
|
|
16
16
|
import 'react-syntax-highlighter/dist/esm/styles/prism';
|
|
@@ -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-Ocpfzvmz.js';
|
|
3
3
|
export { FileUploadMode } from './types.js';
|
|
4
4
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
5
5
|
import '@babel/runtime/helpers/slicedToArray';
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import _extends from '@babel/runtime/helpers/extends';
|
|
2
|
-
import React
|
|
2
|
+
import React from 'react';
|
|
3
3
|
import { useForm } from 'react-hook-form';
|
|
4
4
|
import { yupResolver } from '@hookform/resolvers/yup';
|
|
5
5
|
import classNames from 'classnames';
|
|
6
6
|
import { FormContext } from '../../context/types.js';
|
|
7
|
-
import { B as Button } from '../../Alert
|
|
8
|
-
import instance from '../../i18n.js';
|
|
7
|
+
import { B as Button } from '../../Alert-Ocpfzvmz.js';
|
|
9
8
|
import '../../utils/helpers.js';
|
|
10
9
|
import 'dayjs';
|
|
11
10
|
import '../Alert/consts.js';
|
|
@@ -55,8 +54,6 @@ import '../Progress/Progress.js';
|
|
|
55
54
|
import '../SVGIcons/IconArrowDownloadFilled.js';
|
|
56
55
|
import '../../helpers/download-file.js';
|
|
57
56
|
import '../Button/consts.js';
|
|
58
|
-
import '@babel/runtime/helpers/asyncToGenerator';
|
|
59
|
-
import '@babel/runtime/regenerator';
|
|
60
57
|
|
|
61
58
|
var FormContainer = function FormContainer(props) {
|
|
62
59
|
var children = props.children,
|
|
@@ -72,15 +69,9 @@ var FormContainer = function FormContainer(props) {
|
|
|
72
69
|
buttonConfigs = props.buttonConfigs,
|
|
73
70
|
formId = props.formId,
|
|
74
71
|
onSubmit = props.onSubmit;
|
|
75
|
-
var schema = useMemo(function () {
|
|
76
|
-
return validationScheme;
|
|
77
|
-
}, [instance.language, validationScheme]);
|
|
78
|
-
var resolver = useMemo(function () {
|
|
79
|
-
return yupResolver(schema);
|
|
80
|
-
}, [schema]);
|
|
81
72
|
var _useForm = useForm({
|
|
82
73
|
mode: mode,
|
|
83
|
-
resolver:
|
|
74
|
+
resolver: yupResolver(validationScheme),
|
|
84
75
|
defaultValues: initialValues,
|
|
85
76
|
shouldFocusError: shouldFocusError,
|
|
86
77
|
shouldUnregister: shouldUnregister
|
|
@@ -108,10 +99,6 @@ var FormContainer = function FormContainer(props) {
|
|
|
108
99
|
onSubmit(data, formState, dirtyFields);
|
|
109
100
|
}
|
|
110
101
|
};
|
|
111
|
-
useEffect(function () {
|
|
112
|
-
console.log('Language changed, updating validation messages', instance.language);
|
|
113
|
-
trigger(); // re-run validation with new messages
|
|
114
|
-
}, [instance.language]);
|
|
115
102
|
return /*#__PURE__*/React.createElement("form", {
|
|
116
103
|
onSubmit: handleSubmit(customSubmit),
|
|
117
104
|
id: formId,
|
|
@@ -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-Ocpfzvmz.js';
|
|
11
11
|
import '../Alert/consts.js';
|
|
12
12
|
import '../Text/Text.js';
|
|
13
13
|
import '@babel/runtime/helpers/defineProperty';
|
|
@@ -55,6 +55,3 @@ import '../Progress/Progress.js';
|
|
|
55
55
|
import '../SVGIcons/IconArrowDownloadFilled.js';
|
|
56
56
|
import '../../helpers/download-file.js';
|
|
57
57
|
import '../Button/consts.js';
|
|
58
|
-
import '../../i18n.js';
|
|
59
|
-
import '@babel/runtime/helpers/asyncToGenerator';
|
|
60
|
-
import '@babel/runtime/regenerator';
|
|
@@ -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-Ocpfzvmz.js';
|
|
16
16
|
import 'react-syntax-highlighter';
|
|
17
17
|
import 'react-syntax-highlighter/dist/esm/styles/prism';
|
|
18
18
|
import '../Text/Text.js';
|
|
@@ -17,7 +17,7 @@ import '../../type/file-upload.js';
|
|
|
17
17
|
import '../../context/types.js';
|
|
18
18
|
import '../../hooks/useScreenSize.js';
|
|
19
19
|
import 'react-hook-form';
|
|
20
|
-
import '../../Alert
|
|
20
|
+
import '../../Alert-Ocpfzvmz.js';
|
|
21
21
|
import '../Alert/consts.js';
|
|
22
22
|
import '../../helperComponents/Loader/Loader.js';
|
|
23
23
|
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-Ocpfzvmz.js';
|
|
18
18
|
import 'react-syntax-highlighter';
|
|
19
19
|
import 'react-syntax-highlighter/dist/esm/styles/prism';
|
|
20
20
|
import { IconCheckmarkCircleFilled } from '../SVGIcons/IconCheckmarkCircleFilled.js';
|
|
@@ -18,7 +18,7 @@ import '../../consts/index.js';
|
|
|
18
18
|
import '../../type/file-upload.js';
|
|
19
19
|
import '../../hooks/useScreenSize.js';
|
|
20
20
|
import 'react-hook-form';
|
|
21
|
-
import '../../Alert
|
|
21
|
+
import '../../Alert-Ocpfzvmz.js';
|
|
22
22
|
import '../Alert/consts.js';
|
|
23
23
|
import '../../helperComponents/Loader/Loader.js';
|
|
24
24
|
import 'react-dropzone';
|
package/components/Menu/Menu.js
CHANGED
|
@@ -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-Ocpfzvmz.js';
|
|
26
26
|
import '../Alert/consts.js';
|
|
27
27
|
import '../Text/Text.js';
|
|
28
28
|
import '../../utils/helpers.js';
|
|
@@ -31,7 +31,7 @@ import '../SVGIcons/IconChevronDown.js';
|
|
|
31
31
|
import '../Avatar/Avatar.js';
|
|
32
32
|
import '../FileUpload/FileUpload.js';
|
|
33
33
|
import '../FileUpload/types.js';
|
|
34
|
-
import '../../Alert
|
|
34
|
+
import '../../Alert-Ocpfzvmz.js';
|
|
35
35
|
import '../Alert/consts.js';
|
|
36
36
|
import '../../helperComponents/Loader/Loader.js';
|
|
37
37
|
import 'react-dropzone';
|
package/components/Menu/index.js
CHANGED
|
@@ -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-Ocpfzvmz.js';
|
|
26
26
|
import '../Alert/consts.js';
|
|
27
27
|
import '../Text/Text.js';
|
|
28
28
|
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-Ocpfzvmz.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-Ocpfzvmz.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-Ocpfzvmz.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-Ocpfzvmz.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-Ocpfzvmz.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-Ocpfzvmz.js';
|
|
10
10
|
import '../Alert/consts.js';
|
|
11
11
|
import '@babel/runtime/helpers/defineProperty';
|
|
12
12
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
@@ -3,7 +3,7 @@ import '@babel/runtime/helpers/slicedToArray';
|
|
|
3
3
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
4
4
|
import 'react';
|
|
5
5
|
import '../../hooks/useGetIsMobile.js';
|
|
6
|
-
export { P as Popover } from '../../Alert
|
|
6
|
+
export { P as Popover } from '../../Alert-Ocpfzvmz.js';
|
|
7
7
|
import './PopoverDesktop.js';
|
|
8
8
|
import '../../consts/index.js';
|
|
9
9
|
import '@babel/runtime/helpers/defineProperty';
|