hrm_ui_lib 2.0.0-alpha.2 → 2.0.0-alpha.21
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/{Alert-w8FkRd9I.js → Alert--0rz5XL1.js} +22 -14
- package/assets/images/under-construction.svg +9 -0
- package/assets/styles/styles.css +4459 -4533
- package/assets/styles/styles.scss +1 -3
- package/components/Alert/Alert.js +12 -10
- package/components/Alert/index.js +6 -4
- package/components/Avatar/Avatar.js +7 -5
- package/components/Avatar/AvatarGroup.js +6 -4
- package/components/Avatar/index.js +6 -4
- package/components/BadgeV2/BadgeV2.d.ts +2 -2
- package/components/BadgeV2/BadgeV2.js +20 -8
- package/components/BadgeV2/types.d.ts +5 -2
- package/components/Button/Button.js +6 -4
- package/components/Button/index.js +6 -4
- package/components/ButtonGroup/ButtonGroup.d.ts +2 -0
- package/components/ButtonGroup/ButtonGroup.js +46 -0
- package/components/ButtonGroup/ButtonGroupItem.d.ts +2 -0
- package/components/ButtonGroup/ButtonGroupItem.js +52 -0
- package/components/ButtonGroup/consts.d.ts +8 -0
- package/components/ButtonGroup/consts.js +12 -0
- package/components/ButtonGroup/index.d.ts +1 -0
- package/components/ButtonGroup/index.js +10 -0
- package/components/ButtonGroup/types.d.ts +23 -0
- package/components/ButtonGroup/types.js +1 -0
- package/components/Card/Card.d.ts +5 -2
- package/components/Card/Card.js +58 -7
- package/components/Card/CardComponent/Card.js +4 -3
- package/components/Card/CardComponent/CardBody.d.ts +1 -1
- package/components/Card/CardComponent/CardBody.js +5 -5
- package/components/Card/CardComponent/CardFooter.d.ts +4 -0
- package/components/Card/CardComponent/CardFooter.js +13 -0
- package/components/Card/CardComponent/CardHead.js +67 -5
- package/components/Card/index.js +48 -2
- package/components/Card/types.d.ts +3 -0
- package/components/CardGroup/CardGroup.d.ts +10 -0
- package/components/CardGroup/CardGroup.js +27 -0
- package/components/CardGroup/CardGroupComponent/CardBody.d.ts +4 -0
- package/components/CardGroup/CardGroupComponent/CardBody.js +19 -0
- package/components/CardGroup/CardGroupComponent/CardGroup.d.ts +4 -0
- package/components/CardGroup/CardGroupComponent/CardGroup.js +28 -0
- package/components/CardGroup/CardGroupComponent/CardHead.d.ts +4 -0
- package/components/CardGroup/CardGroupComponent/CardHead.js +19 -0
- package/components/CardGroup/CardGroupContext.d.ts +6 -0
- package/components/CardGroup/CardGroupContext.js +8 -0
- package/components/CardGroup/index.d.ts +1 -0
- package/components/CardGroup/index.js +11 -0
- package/components/CardGroup/types.d.ts +14 -0
- package/components/CardGroup/types.js +1 -0
- package/components/Checkbox/Checkbox.js +11 -9
- package/components/Checkbox/index.js +6 -4
- package/components/Checkbox/types.d.ts +1 -0
- package/components/Collapse/Collapse/Collapse.js +2 -2
- package/components/Collapse/CollapseGroup/CollapseGroup.js +1 -1
- package/components/Collapse/CollapseItem/CollapseItem.js +1 -1
- package/components/Collapse/index.js +1 -1
- package/components/Collapse/types.d.ts +1 -1
- package/components/Copy/Copy.js +6 -4
- package/components/Copy/index.js +6 -4
- package/components/Counter/Counter.js +6 -4
- package/components/Counter/index.js +6 -4
- package/components/DatePicker/CustomHeader/CustomHeader.js +7 -5
- package/components/DatePicker/RangeDatePicker/RangeDatePicker.js +12 -4
- package/components/DatePicker/RangeDatePicker/RangeDatePickerDesktop.js +12 -4
- package/components/DatePicker/RangeDatePicker/RangeDatePickerMobile.js +12 -4
- package/components/DatePicker/RangeDatePicker/index.js +12 -4
- package/components/DatePicker/SimpleDatePicker/SimpleDatePicker.js +12 -4
- package/components/DatePicker/SimpleDatePicker/SimpleDatePickerDesktop.js +12 -4
- package/components/DatePicker/SimpleDatePicker/SimpleDatePickerMobile.js +12 -4
- package/components/DatePicker/SimpleDatePicker/index.js +12 -4
- package/components/DatePicker/TimePicker/MobileModalContent.js +7 -4
- package/components/DatePicker/TimePicker/TimePicker.js +14 -5
- package/components/DatePicker/TimePicker/TimePickerDesktop.js +13 -7
- package/components/DatePicker/TimePicker/TimePickerMobile.js +8 -5
- package/components/DatePicker/TimePicker/index.js +14 -5
- package/components/DatePicker/hooks.js +8 -2139
- package/components/DatePicker/index.js +14 -5
- package/components/Divider/Divider.js +6 -3
- package/components/Divider/types.d.ts +1 -0
- package/components/Empty/Empty.js +6 -4
- package/components/Empty/index.js +6 -4
- package/components/FileUpload/DropzoneFileUpload/DropzoneFileUpload.js +6 -4
- package/components/FileUpload/DropzoneFileUpload/ErrorItem.js +6 -4
- package/components/FileUpload/DropzoneFileUpload/PreviewItem.js +14 -12
- package/components/FileUpload/DropzoneFileUpload/helpers.js +6 -4
- package/components/FileUpload/DropzoneFileUpload/index.js +6 -4
- package/components/FileUpload/FileUpload.js +7 -5
- package/components/FileUpload/UploadItems.js +7 -5
- package/components/FileUpload/index.js +7 -5
- package/components/FormContainer/FormContainer.js +22 -12
- package/components/FormContainer/index.js +7 -5
- package/components/FormContainer/types.d.ts +1 -0
- package/components/FormField/FormField.js +6 -4
- package/components/FormField/index.js +7 -5
- package/components/IconDynamicComponent/IconDynamicComponent.d.ts +8 -0
- package/components/IconDynamicComponent/IconDynamicComponent.js +39 -0
- package/{helperComponents → components}/IconDynamicComponent/index.js +1 -1
- package/components/Input/Input.js +6 -4
- package/components/Input/index.js +6 -4
- package/components/Menu/Menu.js +7 -5
- package/components/Menu/NestedMenu.js +7 -5
- package/components/Menu/index.js +7 -5
- package/components/Modal/Modal.js +6 -4
- package/components/Modal/ModalConfirmation.js +6 -4
- package/components/Modal/ModalContent.js +6 -4
- package/components/Modal/index.js +6 -4
- package/components/More/More.js +6 -4
- package/components/More/index.js +6 -4
- package/components/Popover/Popover.js +6 -4
- package/components/Popover/PopoverDesktop.js +1 -1
- package/components/Popover/PopoverMobile.js +6 -4
- package/components/Popover/index.js +6 -4
- package/components/Popover/types.d.ts +2 -1
- package/components/Radio/RadioGroup.js +7 -5
- package/components/Radio/index.js +7 -5
- package/components/SVGIcons/IconAirplaneTakeOff.d.ts +4 -0
- package/components/SVGIcons/IconAirplaneTakeOff.js +29 -0
- package/components/SVGIcons/IconAirplaneTakeOffFilled.d.ts +4 -0
- package/components/SVGIcons/IconAirplaneTakeOffFilled.js +29 -0
- package/components/SVGIcons/IconChartPerson.d.ts +4 -0
- package/components/SVGIcons/IconChartPerson.js +29 -0
- package/components/SVGIcons/IconChartPersonFilled.d.ts +4 -0
- package/components/SVGIcons/IconChartPersonFilled.js +29 -0
- package/components/SVGIcons/IconFastAcceleration.d.ts +4 -0
- package/components/SVGIcons/IconFastAcceleration.js +29 -0
- package/components/SVGIcons/IconFastAccelerationFilled.d.ts +4 -0
- package/components/SVGIcons/IconFastAccelerationFilled.js +29 -0
- package/components/SVGIcons/IconFeed.d.ts +4 -0
- package/components/SVGIcons/IconFeed.js +29 -0
- package/components/SVGIcons/IconFeedFilled.d.ts +4 -0
- package/components/SVGIcons/IconFeedFilled.js +29 -0
- package/components/SVGIcons/IconLibrary.d.ts +4 -0
- package/components/SVGIcons/IconLibrary.js +29 -0
- package/components/SVGIcons/IconLibraryFilled.d.ts +4 -0
- package/components/SVGIcons/IconLibraryFilled.js +29 -0
- package/components/SVGIcons/IconPeopleList.d.ts +4 -0
- package/components/SVGIcons/IconPeopleList.js +29 -0
- package/components/SVGIcons/IconPeopleListFilled.d.ts +4 -0
- package/components/SVGIcons/IconPeopleListFilled.js +29 -0
- package/components/SVGIcons/IconPeopleTeam.d.ts +4 -0
- package/components/SVGIcons/IconPeopleTeam.js +29 -0
- package/components/SVGIcons/IconPeopleTeamFilled.d.ts +4 -0
- package/components/SVGIcons/IconPeopleTeamFilled.js +29 -0
- package/components/SVGIcons/IconTrophy.d.ts +4 -0
- package/components/SVGIcons/IconTrophy.js +29 -0
- package/components/SVGIcons/IconTrophyFilled.d.ts +4 -0
- package/components/SVGIcons/IconTrophyFilled.js +29 -0
- package/components/SVGIcons/IconUs.d.ts +4 -0
- package/components/SVGIcons/IconUs.js +72 -0
- package/components/SVGIcons/icon-names.d.ts +2 -0
- package/components/SVGIcons/icon-names.js +3 -0
- package/components/SVGIcons/index.d.ts +19 -2
- package/components/SVGIcons/index.js +19 -2
- package/components/Select/ButtonSelect/ButtonSelect.js +7 -5
- package/components/Select/FilterSelect/FilterDropdown.js +7 -5
- package/components/Select/FilterSelect/FilterGroupDropdown.js +6 -4
- package/components/Select/FilterSelect/FilterSelect.js +6 -4
- package/components/Select/MultiSelect/MobileWrapper.js +6 -4
- package/components/Select/MultiSelect/MultiBase/MultiBase.js +7 -5
- package/components/Select/MultiSelect/MultiSelect.js +6 -4
- package/components/Select/MultiSelect/MultiSelectGrouped/MultiSelectGrouped.js +7 -5
- package/components/Select/MultiSelect/MultiSelectWithTabs/MultiSelectWithTabs.js +7 -5
- package/components/Select/MultiSelect/OptionsWrapper.js +6 -4
- package/components/Select/NestedSelect/NestedSelect.js +7 -5
- package/components/Select/Select/Select.js +6 -4
- package/components/Select/Select/SelectDesktop/index.js +7 -5
- package/components/Select/Select/SelectMobile/MobileTopContent.js +6 -4
- package/components/Select/Select/SelectMobile/index.js +7 -5
- package/components/Select/SharedComponents/Actions.js +7 -5
- package/components/Select/SharedComponents/ButtonSelectWrapper/ButtonSelectWrapper.js +8 -6
- package/components/Select/SharedComponents/ContentTop.js +6 -4
- package/components/Select/SharedComponents/Footer.js +6 -4
- package/components/Select/SharedComponents/InputSelectWrapper/InputSelectWrapper.js +6 -4
- package/components/Select/SharedComponents/index.js +6 -4
- package/components/Select/index.js +6 -4
- package/components/SideSheet/Footer/Footer.js +6 -4
- package/components/SideSheet/SideSheet.js +6 -4
- package/components/SideSheet/index.js +6 -4
- package/components/Snackbar/Snackbar.js +14 -12
- package/components/Snackbar/index.js +6 -4
- package/components/Switcher/Switcher.js +27 -19
- package/components/Switcher/index.js +7 -6
- package/components/Switcher/types.d.ts +2 -0
- package/components/Tab/Tab.js +4 -2
- package/components/Table/Header.d.ts +2 -1
- package/components/Table/Header.js +19 -8
- package/components/Table/IndeterminateCheckbox.d.ts +1 -0
- package/components/Table/IndeterminateCheckbox.js +12 -6
- package/components/Table/Row.d.ts +2 -1
- package/components/Table/Row.js +24 -9
- package/components/Table/Table.d.ts +1 -1
- package/components/Table/Table.js +60 -17
- package/components/Table/index.js +8 -4
- package/components/Table/localization.d.ts +5 -0
- package/components/Table/localization.js +13 -0
- package/components/Table/types.d.ts +6 -0
- package/components/Table/utils.js +36 -8
- package/components/TableV2/AdvancedPagination.js +9 -7
- package/components/TableV2/ColumnSettings.js +8 -6
- package/components/TableV2/IndeterminateCheckbox.js +6 -4
- package/components/TableV2/Table.js +7 -4
- package/components/TableV2/hooks/useTableControl.js +20 -15
- package/components/TableV2/index.js +8 -5
- package/components/Text/types.d.ts +1 -1
- package/components/Textarea/Textarea.js +6 -4
- package/components/Textarea/index.js +6 -4
- package/components/Tooltip/types.d.ts +0 -1
- package/components/UnderConstruction/UnderConstruction.d.ts +3 -0
- package/components/UnderConstruction/UnderConstruction.js +38 -0
- package/components/UnderConstruction/index.d.ts +1 -0
- package/components/UnderConstruction/index.js +8 -0
- package/components/UnderConstruction/localization.d.ts +4 -0
- package/components/UnderConstruction/localization.js +16 -0
- package/components/UnderConstruction/types.d.ts +12 -0
- package/components/UnderConstruction/types.js +1 -0
- package/helperComponents/AnimatePresenceWrapper/AnimatePresenceWrapper.js +1 -1
- package/helperComponents/AnimatePresenceWrapper/index.js +1 -1
- package/helperComponents/CodeBlock/CodeBlock.js +1 -154
- package/helperComponents/CodeBlock/index.js +1 -0
- package/helperComponents/ErrorMessage/ErrorMessage.js +2 -2
- package/helperComponents/ErrorMessage/index.js +2 -2
- package/helperComponents/GoToWebPage/GoToWebPage.js +6 -4
- package/helperComponents/OptionItem/OptionItem.js +7 -5
- package/helperComponents/OptionItem/index.js +6 -4
- package/helperComponents/index.d.ts +0 -1
- package/helperComponents/index.js +7 -5
- package/helpers/check-authorization.js +8 -6
- package/helpers/format-date.js +1 -22
- package/helpers/index.js +6 -4
- package/hooks/useHideOnScroll.d.ts +1 -1
- package/hooks/useHideOnScroll.js +5 -4
- package/i18n.d.ts +4 -0
- package/i18n.js +50 -0
- package/index.d.ts +3 -0
- package/index.js +46 -7
- package/package.json +6 -5
- package/helperComponents/IconDynamicComponent/IconDynamicComponent.d.ts +0 -9
- package/helperComponents/IconDynamicComponent/IconDynamicComponent.js +0 -26
- package/helperComponents/IconDynamicComponent/constants.d.ts +0 -3
- package/helperComponents/IconDynamicComponent/constants.js +0 -33
- /package/{helperComponents → components}/IconDynamicComponent/index.d.ts +0 -0
|
@@ -6,9 +6,9 @@ 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--0rz5XL1.js';
|
|
10
10
|
import 'classnames';
|
|
11
|
-
import '
|
|
11
|
+
import 'motion/react';
|
|
12
12
|
import '../../../consts/index.js';
|
|
13
13
|
import '../../../hooks/useScreenSize.js';
|
|
14
14
|
import 'react-hook-form';
|
|
@@ -16,6 +16,7 @@ import '@babel/runtime/helpers/defineProperty';
|
|
|
16
16
|
import { Label } from '../../../helperComponents/Label/Label.js';
|
|
17
17
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
18
18
|
import 'react-syntax-highlighter';
|
|
19
|
+
import 'react-syntax-highlighter/dist/esm/styles/prism';
|
|
19
20
|
import { CustomHeader } from '../CustomHeader/CustomHeader.js';
|
|
20
21
|
import DatePicker from 'react-datepicker';
|
|
21
22
|
import 'react-input-mask';
|
|
@@ -23,8 +24,7 @@ import 'react-number-format';
|
|
|
23
24
|
import '../../../helperComponents/ErrorMessage/ErrorMessage.js';
|
|
24
25
|
import '../../Text/Text.js';
|
|
25
26
|
import '../../../utils/helpers.js';
|
|
26
|
-
import '
|
|
27
|
-
import '../../../helperComponents/IconDynamicComponent/constants.js';
|
|
27
|
+
import '../../IconDynamicComponent/IconDynamicComponent.js';
|
|
28
28
|
import '../../SVGIcons/IconCheckmarkCircleFilled.js';
|
|
29
29
|
import '../../../type/file-upload.js';
|
|
30
30
|
import '../../Alert/consts.js';
|
|
@@ -33,6 +33,7 @@ import 'react-dropzone';
|
|
|
33
33
|
import '../../SVGIcons/IconUpload.js';
|
|
34
34
|
import '../../FileUpload/types.js';
|
|
35
35
|
import '../../../helpers/format-date.js';
|
|
36
|
+
import 'dayjs/plugin/utc';
|
|
36
37
|
import '../../../helpers/locale.js';
|
|
37
38
|
import '../../../type/locale.js';
|
|
38
39
|
import '../../../helpers/storage.js';
|
|
@@ -52,6 +53,7 @@ import '../../../hooks/useHideOnScroll.js';
|
|
|
52
53
|
import '../../Link/Link.js';
|
|
53
54
|
import '../../Popover/PopoverDesktop.js';
|
|
54
55
|
import '../../SVGIcons/IconInfo.js';
|
|
56
|
+
import 'react-toastify/dist/ReactToastify.css';
|
|
55
57
|
import '@babel/runtime/helpers/typeof';
|
|
56
58
|
import '../../SVGIcons/IconDismissFilled.js';
|
|
57
59
|
import '../../SVGIcons/IconDelete.js';
|
|
@@ -62,6 +64,12 @@ import '../../../helpers/download-file.js';
|
|
|
62
64
|
import '../../Button/consts.js';
|
|
63
65
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
64
66
|
import '@babel/runtime/regenerator';
|
|
67
|
+
import 'date-fns/locale/hy';
|
|
68
|
+
import 'date-fns/locale/en-GB';
|
|
69
|
+
import 'date-fns/locale/ru';
|
|
70
|
+
import 'dayjs/locale/hy-am';
|
|
71
|
+
import 'dayjs/locale/ru';
|
|
72
|
+
import 'dayjs/locale/en';
|
|
65
73
|
import '../../Select/Select/Select.js';
|
|
66
74
|
import '../../Select/Select/SelectDesktop/index.js';
|
|
67
75
|
import 'react-window';
|
|
@@ -14,27 +14,27 @@ import '../../../helperComponents/Label/Label.js';
|
|
|
14
14
|
import '../../Text/Text.js';
|
|
15
15
|
import '../../../utils/helpers.js';
|
|
16
16
|
import '../../../helperComponents/ErrorMessage/ErrorMessage.js';
|
|
17
|
-
import '
|
|
18
|
-
import '../../../helperComponents/IconDynamicComponent/constants.js';
|
|
17
|
+
import '../../IconDynamicComponent/IconDynamicComponent.js';
|
|
19
18
|
import '@babel/runtime/helpers/slicedToArray';
|
|
20
19
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
21
20
|
import '../../../consts/index.js';
|
|
22
21
|
import '../../../type/file-upload.js';
|
|
23
22
|
import '../../../hooks/useScreenSize.js';
|
|
24
23
|
import 'react-hook-form';
|
|
25
|
-
import '../../../Alert
|
|
24
|
+
import '../../../Alert--0rz5XL1.js';
|
|
26
25
|
import '../../Alert/consts.js';
|
|
27
26
|
import '../../../helperComponents/Loader/Loader.js';
|
|
28
27
|
import 'react-dropzone';
|
|
29
28
|
import '../../SVGIcons/IconUpload.js';
|
|
30
29
|
import '../../FileUpload/types.js';
|
|
31
30
|
import '../../../helpers/format-date.js';
|
|
31
|
+
import 'dayjs/plugin/utc';
|
|
32
32
|
import '../../../helpers/locale.js';
|
|
33
33
|
import '../../../type/locale.js';
|
|
34
34
|
import '../../../helpers/storage.js';
|
|
35
35
|
import 'react-toastify';
|
|
36
36
|
import '../../../hooks/useGetIsMobile.js';
|
|
37
|
-
import '
|
|
37
|
+
import 'motion/react';
|
|
38
38
|
import '../../../helperComponents/AnimatePresenceWrapper/AnimatePresenceWrapper.js';
|
|
39
39
|
import '../../../hooks/useOnOutsideClick.js';
|
|
40
40
|
import '../../../hooks/useHideBodyScroll.js';
|
|
@@ -47,9 +47,11 @@ import '../../../hooks/useGetElemPositions.js';
|
|
|
47
47
|
import '../../../hooks/useGetTooltipPosition.js';
|
|
48
48
|
import '../../../hooks/useHideOnScroll.js';
|
|
49
49
|
import 'react-syntax-highlighter';
|
|
50
|
+
import 'react-syntax-highlighter/dist/esm/styles/prism';
|
|
50
51
|
import '../../Link/Link.js';
|
|
51
52
|
import '../../Popover/PopoverDesktop.js';
|
|
52
53
|
import '../../SVGIcons/IconInfo.js';
|
|
54
|
+
import 'react-toastify/dist/ReactToastify.css';
|
|
53
55
|
import '@babel/runtime/helpers/typeof';
|
|
54
56
|
import '../../SVGIcons/IconDismissFilled.js';
|
|
55
57
|
import '../../SVGIcons/IconDelete.js';
|
|
@@ -119,5 +121,11 @@ import '../localization.js';
|
|
|
119
121
|
import '../hooks.js';
|
|
120
122
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
121
123
|
import '@babel/runtime/regenerator';
|
|
124
|
+
import 'date-fns/locale/hy';
|
|
125
|
+
import 'date-fns/locale/en-GB';
|
|
126
|
+
import 'date-fns/locale/ru';
|
|
127
|
+
import 'dayjs/locale/hy-am';
|
|
128
|
+
import 'dayjs/locale/ru';
|
|
129
|
+
import 'dayjs/locale/en';
|
|
122
130
|
import '../../SVGIcons/IconCalendarRight.js';
|
|
123
131
|
import './SimpleDatePickerMobile.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
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--0rz5XL1.js';
|
|
4
4
|
import '@babel/runtime/helpers/extends';
|
|
5
5
|
import 'classnames';
|
|
6
|
-
import '
|
|
6
|
+
import 'motion/react';
|
|
7
7
|
import '../../../consts/index.js';
|
|
8
8
|
import 'dayjs';
|
|
9
9
|
import '../../../hooks/useScreenSize.js';
|
|
@@ -12,8 +12,10 @@ import '@babel/runtime/helpers/defineProperty';
|
|
|
12
12
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
13
13
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
14
14
|
import 'react-syntax-highlighter';
|
|
15
|
+
import 'react-syntax-highlighter/dist/esm/styles/prism';
|
|
15
16
|
import { HOUR_OPTIONS, MINUTE_OPTIONS } from './consts.js';
|
|
16
17
|
import { WheelPickerWrapper, WheelPicker } from '@ncdai/react-wheel-picker';
|
|
18
|
+
import '@ncdai/react-wheel-picker/style.css';
|
|
17
19
|
import '../../Alert/consts.js';
|
|
18
20
|
import '../../Text/Text.js';
|
|
19
21
|
import '../../../utils/helpers.js';
|
|
@@ -23,6 +25,7 @@ import '../../SVGIcons/IconUpload.js';
|
|
|
23
25
|
import '../../../type/file-upload.js';
|
|
24
26
|
import '../../FileUpload/types.js';
|
|
25
27
|
import '../../../helpers/format-date.js';
|
|
28
|
+
import 'dayjs/plugin/utc';
|
|
26
29
|
import '../../../helpers/locale.js';
|
|
27
30
|
import '../../../type/locale.js';
|
|
28
31
|
import '../../../helpers/storage.js';
|
|
@@ -42,8 +45,8 @@ import '../../../hooks/useHideOnScroll.js';
|
|
|
42
45
|
import '../../Link/Link.js';
|
|
43
46
|
import '../../Popover/PopoverDesktop.js';
|
|
44
47
|
import '../../SVGIcons/IconInfo.js';
|
|
45
|
-
import '
|
|
46
|
-
import '
|
|
48
|
+
import '../../IconDynamicComponent/IconDynamicComponent.js';
|
|
49
|
+
import 'react-toastify/dist/ReactToastify.css';
|
|
47
50
|
import '@babel/runtime/helpers/typeof';
|
|
48
51
|
import '../../SVGIcons/IconDismissFilled.js';
|
|
49
52
|
import '../../SVGIcons/IconDelete.js';
|
|
@@ -11,23 +11,24 @@ import '../../Text/Text.js';
|
|
|
11
11
|
import 'classnames';
|
|
12
12
|
import '../../../utils/helpers.js';
|
|
13
13
|
import 'dayjs';
|
|
14
|
+
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
14
15
|
import '@babel/runtime/helpers/extends';
|
|
15
16
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
16
|
-
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
17
17
|
import '../../../hooks/useScreenSize.js';
|
|
18
18
|
import 'react-hook-form';
|
|
19
|
-
import '../../../Alert
|
|
19
|
+
import '../../../Alert--0rz5XL1.js';
|
|
20
20
|
import '../../Alert/consts.js';
|
|
21
21
|
import '../../../helperComponents/Loader/Loader.js';
|
|
22
22
|
import 'react-dropzone';
|
|
23
23
|
import '../../SVGIcons/IconUpload.js';
|
|
24
24
|
import '../../FileUpload/types.js';
|
|
25
25
|
import '../../../helpers/format-date.js';
|
|
26
|
+
import 'dayjs/plugin/utc';
|
|
26
27
|
import '../../../helpers/locale.js';
|
|
27
28
|
import '../../../type/locale.js';
|
|
28
29
|
import '../../../helpers/storage.js';
|
|
29
30
|
import 'react-toastify';
|
|
30
|
-
import '
|
|
31
|
+
import 'motion/react';
|
|
31
32
|
import '../../../helperComponents/AnimatePresenceWrapper/AnimatePresenceWrapper.js';
|
|
32
33
|
import '../../../hooks/useOnOutsideClick.js';
|
|
33
34
|
import '../../../hooks/useHideBodyScroll.js';
|
|
@@ -40,11 +41,12 @@ import '../../../hooks/useGetElemPositions.js';
|
|
|
40
41
|
import '../../../hooks/useGetTooltipPosition.js';
|
|
41
42
|
import '../../../hooks/useHideOnScroll.js';
|
|
42
43
|
import 'react-syntax-highlighter';
|
|
44
|
+
import 'react-syntax-highlighter/dist/esm/styles/prism';
|
|
43
45
|
import '../../Link/Link.js';
|
|
44
46
|
import '../../Popover/PopoverDesktop.js';
|
|
45
47
|
import '../../SVGIcons/IconInfo.js';
|
|
46
|
-
import '
|
|
47
|
-
import '
|
|
48
|
+
import '../../IconDynamicComponent/IconDynamicComponent.js';
|
|
49
|
+
import 'react-toastify/dist/ReactToastify.css';
|
|
48
50
|
import '@babel/runtime/helpers/typeof';
|
|
49
51
|
import '../../SVGIcons/IconDismissFilled.js';
|
|
50
52
|
import '../../SVGIcons/IconDelete.js';
|
|
@@ -63,10 +65,17 @@ import './MobileModalContent.js';
|
|
|
63
65
|
import './consts.js';
|
|
64
66
|
import './helpers.js';
|
|
65
67
|
import '@ncdai/react-wheel-picker';
|
|
68
|
+
import '@ncdai/react-wheel-picker/style.css';
|
|
66
69
|
import 'react-datepicker';
|
|
67
70
|
import '../hooks.js';
|
|
68
71
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
69
72
|
import '@babel/runtime/regenerator';
|
|
73
|
+
import 'date-fns/locale/hy';
|
|
74
|
+
import 'date-fns/locale/en-GB';
|
|
75
|
+
import 'date-fns/locale/ru';
|
|
76
|
+
import 'dayjs/locale/hy-am';
|
|
77
|
+
import 'dayjs/locale/ru';
|
|
78
|
+
import 'dayjs/locale/en';
|
|
70
79
|
import '../../SVGIcons/IconClock.js';
|
|
71
80
|
|
|
72
81
|
var TimePicker = function TimePicker(props) {
|
|
@@ -12,8 +12,9 @@ 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--0rz5XL1.js';
|
|
16
16
|
import 'react-syntax-highlighter';
|
|
17
|
+
import 'react-syntax-highlighter/dist/esm/styles/prism';
|
|
17
18
|
import { useImportFilesDynamically } from '../hooks.js';
|
|
18
19
|
import { IconClock } from '../../SVGIcons/IconClock.js';
|
|
19
20
|
import 'react-input-mask';
|
|
@@ -21,8 +22,7 @@ import 'react-number-format';
|
|
|
21
22
|
import '../../../helperComponents/ErrorMessage/ErrorMessage.js';
|
|
22
23
|
import '../../Text/Text.js';
|
|
23
24
|
import '../../../utils/helpers.js';
|
|
24
|
-
import '
|
|
25
|
-
import '../../../helperComponents/IconDynamicComponent/constants.js';
|
|
25
|
+
import '../../IconDynamicComponent/IconDynamicComponent.js';
|
|
26
26
|
import '../../SVGIcons/IconCheckmarkCircleFilled.js';
|
|
27
27
|
import '../../../type/file-upload.js';
|
|
28
28
|
import '../../Alert/consts.js';
|
|
@@ -31,12 +31,13 @@ import 'react-dropzone';
|
|
|
31
31
|
import '../../SVGIcons/IconUpload.js';
|
|
32
32
|
import '../../FileUpload/types.js';
|
|
33
33
|
import '../../../helpers/format-date.js';
|
|
34
|
+
import 'dayjs/plugin/utc';
|
|
34
35
|
import '../../../helpers/locale.js';
|
|
35
36
|
import '../../../type/locale.js';
|
|
36
37
|
import '../../../helpers/storage.js';
|
|
37
38
|
import 'react-toastify';
|
|
38
39
|
import '../../../hooks/useGetIsMobile.js';
|
|
39
|
-
import '
|
|
40
|
+
import 'motion/react';
|
|
40
41
|
import '../../../helperComponents/AnimatePresenceWrapper/AnimatePresenceWrapper.js';
|
|
41
42
|
import '../../../hooks/useOnOutsideClick.js';
|
|
42
43
|
import '../../../hooks/useHideBodyScroll.js';
|
|
@@ -51,6 +52,7 @@ import '../../../hooks/useHideOnScroll.js';
|
|
|
51
52
|
import '../../Link/Link.js';
|
|
52
53
|
import '../../Popover/PopoverDesktop.js';
|
|
53
54
|
import '../../SVGIcons/IconInfo.js';
|
|
55
|
+
import 'react-toastify/dist/ReactToastify.css';
|
|
54
56
|
import '@babel/runtime/helpers/typeof';
|
|
55
57
|
import '../../SVGIcons/IconDismissFilled.js';
|
|
56
58
|
import '../../SVGIcons/IconDelete.js';
|
|
@@ -61,8 +63,14 @@ import '../../../helpers/download-file.js';
|
|
|
61
63
|
import '../../Button/consts.js';
|
|
62
64
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
63
65
|
import '@babel/runtime/regenerator';
|
|
66
|
+
import 'date-fns/locale/hy';
|
|
67
|
+
import 'date-fns/locale/en-GB';
|
|
68
|
+
import 'date-fns/locale/ru';
|
|
69
|
+
import 'dayjs/locale/hy-am';
|
|
70
|
+
import 'dayjs/locale/ru';
|
|
71
|
+
import 'dayjs/locale/en';
|
|
64
72
|
|
|
65
|
-
var _excluded = ["value", "currentTime", "name", "setFieldValue", "label", "size", "dataId", "changeHandler", "required", "format", "locale", "
|
|
73
|
+
var _excluded = ["value", "currentTime", "name", "setFieldValue", "label", "size", "dataId", "changeHandler", "required", "format", "locale", "hasError"];
|
|
66
74
|
var TimePickerDesktop = function TimePickerDesktop(props) {
|
|
67
75
|
var value = props.value,
|
|
68
76
|
currentTime = props.currentTime,
|
|
@@ -77,7 +85,6 @@ var TimePickerDesktop = function TimePickerDesktop(props) {
|
|
|
77
85
|
format = _props$format === void 0 ? 'HH:mm' : _props$format,
|
|
78
86
|
_props$locale = props.locale,
|
|
79
87
|
locale = _props$locale === void 0 ? 'hy' : _props$locale,
|
|
80
|
-
placeholderText = props.placeholderText,
|
|
81
88
|
hasError = props.hasError,
|
|
82
89
|
rest = _objectWithoutProperties(props, _excluded);
|
|
83
90
|
var dateInitialValue = value !== undefined && Object.prototype.toString.call(value) === '[object Date]' ? value : currentTime;
|
|
@@ -119,7 +126,6 @@ var TimePickerDesktop = function TimePickerDesktop(props) {
|
|
|
119
126
|
disabled: rest.disabled,
|
|
120
127
|
dataId: dataId,
|
|
121
128
|
size: size,
|
|
122
|
-
placeholder: placeholderText,
|
|
123
129
|
rightIconProps: {
|
|
124
130
|
Component: IconClock,
|
|
125
131
|
onClick: openDatepicker
|
|
@@ -3,15 +3,16 @@ import React, { useState } from 'react';
|
|
|
3
3
|
import { Label } from '../../../helperComponents/Label/Label.js';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import dayjs from 'dayjs';
|
|
6
|
+
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
6
7
|
import '@babel/runtime/helpers/extends';
|
|
7
8
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
8
9
|
import '@babel/runtime/helpers/defineProperty';
|
|
9
|
-
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--0rz5XL1.js';
|
|
14
14
|
import 'react-syntax-highlighter';
|
|
15
|
+
import 'react-syntax-highlighter/dist/esm/styles/prism';
|
|
15
16
|
import { Input } from '../../Input/Input.js';
|
|
16
17
|
import { IconCalendarRight } from '../../SVGIcons/IconCalendarRight.js';
|
|
17
18
|
import { MobileModalContent } from './MobileModalContent.js';
|
|
@@ -24,12 +25,13 @@ import 'react-dropzone';
|
|
|
24
25
|
import '../../SVGIcons/IconUpload.js';
|
|
25
26
|
import '../../FileUpload/types.js';
|
|
26
27
|
import '../../../helpers/format-date.js';
|
|
28
|
+
import 'dayjs/plugin/utc';
|
|
27
29
|
import '../../../helpers/locale.js';
|
|
28
30
|
import '../../../type/locale.js';
|
|
29
31
|
import '../../../helpers/storage.js';
|
|
30
32
|
import 'react-toastify';
|
|
31
33
|
import '../../../hooks/useGetIsMobile.js';
|
|
32
|
-
import '
|
|
34
|
+
import 'motion/react';
|
|
33
35
|
import '../../../helperComponents/AnimatePresenceWrapper/AnimatePresenceWrapper.js';
|
|
34
36
|
import '../../../hooks/useOnOutsideClick.js';
|
|
35
37
|
import '../../../hooks/useHideBodyScroll.js';
|
|
@@ -44,8 +46,8 @@ import '../../../hooks/useHideOnScroll.js';
|
|
|
44
46
|
import '../../Link/Link.js';
|
|
45
47
|
import '../../Popover/PopoverDesktop.js';
|
|
46
48
|
import '../../SVGIcons/IconInfo.js';
|
|
47
|
-
import '
|
|
48
|
-
import '
|
|
49
|
+
import '../../IconDynamicComponent/IconDynamicComponent.js';
|
|
50
|
+
import 'react-toastify/dist/ReactToastify.css';
|
|
49
51
|
import '@babel/runtime/helpers/typeof';
|
|
50
52
|
import '../../SVGIcons/IconDismissFilled.js';
|
|
51
53
|
import '../../SVGIcons/IconDelete.js';
|
|
@@ -61,6 +63,7 @@ import '../../SVGIcons/IconCheckmarkCircleFilled.js';
|
|
|
61
63
|
import './consts.js';
|
|
62
64
|
import './helpers.js';
|
|
63
65
|
import '@ncdai/react-wheel-picker';
|
|
66
|
+
import '@ncdai/react-wheel-picker/style.css';
|
|
64
67
|
|
|
65
68
|
var TimePickerMobile = function TimePickerMobile(props) {
|
|
66
69
|
var value = props.value,
|
|
@@ -11,23 +11,24 @@ import '../../Text/Text.js';
|
|
|
11
11
|
import 'classnames';
|
|
12
12
|
import '../../../utils/helpers.js';
|
|
13
13
|
import 'dayjs';
|
|
14
|
+
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
14
15
|
import '@babel/runtime/helpers/extends';
|
|
15
16
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
16
|
-
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
17
17
|
import '../../../hooks/useScreenSize.js';
|
|
18
18
|
import 'react-hook-form';
|
|
19
|
-
import '../../../Alert
|
|
19
|
+
import '../../../Alert--0rz5XL1.js';
|
|
20
20
|
import '../../Alert/consts.js';
|
|
21
21
|
import '../../../helperComponents/Loader/Loader.js';
|
|
22
22
|
import 'react-dropzone';
|
|
23
23
|
import '../../SVGIcons/IconUpload.js';
|
|
24
24
|
import '../../FileUpload/types.js';
|
|
25
25
|
import '../../../helpers/format-date.js';
|
|
26
|
+
import 'dayjs/plugin/utc';
|
|
26
27
|
import '../../../helpers/locale.js';
|
|
27
28
|
import '../../../type/locale.js';
|
|
28
29
|
import '../../../helpers/storage.js';
|
|
29
30
|
import 'react-toastify';
|
|
30
|
-
import '
|
|
31
|
+
import 'motion/react';
|
|
31
32
|
import '../../../helperComponents/AnimatePresenceWrapper/AnimatePresenceWrapper.js';
|
|
32
33
|
import '../../../hooks/useOnOutsideClick.js';
|
|
33
34
|
import '../../../hooks/useHideBodyScroll.js';
|
|
@@ -40,11 +41,12 @@ import '../../../hooks/useGetElemPositions.js';
|
|
|
40
41
|
import '../../../hooks/useGetTooltipPosition.js';
|
|
41
42
|
import '../../../hooks/useHideOnScroll.js';
|
|
42
43
|
import 'react-syntax-highlighter';
|
|
44
|
+
import 'react-syntax-highlighter/dist/esm/styles/prism';
|
|
43
45
|
import '../../Link/Link.js';
|
|
44
46
|
import '../../Popover/PopoverDesktop.js';
|
|
45
47
|
import '../../SVGIcons/IconInfo.js';
|
|
46
|
-
import '
|
|
47
|
-
import '
|
|
48
|
+
import '../../IconDynamicComponent/IconDynamicComponent.js';
|
|
49
|
+
import 'react-toastify/dist/ReactToastify.css';
|
|
48
50
|
import '@babel/runtime/helpers/typeof';
|
|
49
51
|
import '../../SVGIcons/IconDismissFilled.js';
|
|
50
52
|
import '../../SVGIcons/IconDelete.js';
|
|
@@ -63,9 +65,16 @@ import './MobileModalContent.js';
|
|
|
63
65
|
import './consts.js';
|
|
64
66
|
import './helpers.js';
|
|
65
67
|
import '@ncdai/react-wheel-picker';
|
|
68
|
+
import '@ncdai/react-wheel-picker/style.css';
|
|
66
69
|
import './TimePickerDesktop.js';
|
|
67
70
|
import 'react-datepicker';
|
|
68
71
|
import '../hooks.js';
|
|
69
72
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
70
73
|
import '@babel/runtime/regenerator';
|
|
74
|
+
import 'date-fns/locale/hy';
|
|
75
|
+
import 'date-fns/locale/en-GB';
|
|
76
|
+
import 'date-fns/locale/ru';
|
|
77
|
+
import 'dayjs/locale/hy-am';
|
|
78
|
+
import 'dayjs/locale/ru';
|
|
79
|
+
import 'dayjs/locale/en';
|
|
71
80
|
import '../../SVGIcons/IconClock.js';
|