hrm_ui_lib 2.0.0-alpha.23 → 2.0.0-alpha.25
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/images/under-construction.webp +0 -0
- package/assets/styles/styles.css +1 -9462
- package/components/Alert/Alert.js +6 -54
- package/components/Alert/consts.js +1 -16
- package/components/Alert/index.js +1 -54
- package/components/Avatar/Avatar.js +1 -121
- package/components/Avatar/AvatarGroup.js +5 -122
- package/components/Avatar/index.js +1 -66
- package/components/Badge/Badge.js +2 -24
- package/components/Badge/index.js +1 -6
- package/components/BadgeV2/BadgeV2.js +1 -52
- package/components/BadgeV2/index.js +1 -7
- package/components/BadgeV2/types.js +1 -7
- package/components/Breadcrumb/Breadcrumb.js +2 -24
- package/components/Breadcrumb/index.js +1 -2
- package/components/Button/Button.js +2 -54
- package/components/Button/consts.js +1 -16
- package/components/Button/index.js +1 -54
- package/components/ButtonGroup/ButtonGroup.js +2 -46
- package/components/ButtonGroup/ButtonGroupItem.js +3 -52
- package/components/ButtonGroup/consts.js +1 -12
- package/components/ButtonGroup/index.js +1 -10
- package/components/Card/Card.js +1 -92
- package/components/Card/CardComponent/Card.js +3 -37
- package/components/Card/CardComponent/CardBody.js +2 -39
- package/components/Card/CardComponent/CardFooter.js +1 -13
- package/components/Card/CardComponent/CardHead.js +2 -91
- package/components/Card/CardContext.js +1 -11
- package/components/Card/index.js +1 -63
- package/components/CardGroup/CardGroup.js +1 -27
- package/components/CardGroup/CardGroupComponent/CardBody.js +2 -19
- package/components/CardGroup/CardGroupComponent/CardGroup.js +2 -28
- package/components/CardGroup/CardGroupComponent/CardHead.js +3 -19
- package/components/CardGroup/CardGroupContext.js +1 -8
- package/components/CardGroup/index.js +1 -11
- package/components/Checkbox/Checkbox.js +6 -54
- package/components/Checkbox/index.js +1 -54
- package/components/Chips/Chips.js +2 -67
- package/components/Chips/consts.js +1 -14
- package/components/Chips/index.js +1 -11
- package/components/Chips/types.js +1 -7
- package/components/Collapse/Collapse/Collapse.js +5 -79
- package/components/Collapse/Collapse/Title.js +2 -48
- package/components/Collapse/CollapseGroup/CollapseGroup.js +3 -76
- package/components/Collapse/CollapseItem/CollapseItem.js +10 -89
- package/components/Collapse/index.js +1 -19
- package/components/Container/Container.js +2 -10
- package/components/Container/index.js +1 -2
- package/components/Copy/Copy.js +3 -96
- package/components/Copy/index.js +1 -56
- package/components/Counter/Counter.js +2 -139
- package/components/Counter/index.js +1 -63
- package/components/DatePicker/CustomHeader/CustomHeader.js +7 -194
- package/components/DatePicker/CustomHeader/helpers.js +1 -17
- package/components/DatePicker/RangeDatePicker/RangeDatePicker.js +1 -138
- package/components/DatePicker/RangeDatePicker/RangeDatePickerDesktop.js +4 -185
- package/components/DatePicker/RangeDatePicker/RangeDatePickerMobile.js +8 -277
- package/components/DatePicker/RangeDatePicker/index.js +1 -132
- package/components/DatePicker/SimpleDatePicker/SimpleDatePicker.js +1 -138
- package/components/DatePicker/SimpleDatePicker/SimpleDatePickerDesktop.js +4 -213
- package/components/DatePicker/SimpleDatePicker/SimpleDatePickerMobile.js +5 -218
- package/components/DatePicker/SimpleDatePicker/index.js +1 -131
- package/components/DatePicker/TimePicker/MobileModalContent.js +4 -126
- package/components/DatePicker/TimePicker/TimePicker.js +1 -86
- package/components/DatePicker/TimePicker/TimePickerDesktop.js +4 -164
- package/components/DatePicker/TimePicker/TimePickerMobile.js +5 -131
- package/components/DatePicker/TimePicker/consts.js +1 -8
- package/components/DatePicker/TimePicker/helpers.js +1 -21
- package/components/DatePicker/TimePicker/index.js +1 -80
- package/components/DatePicker/hooks.js +1 -44
- package/components/DatePicker/index.js +1 -144
- package/components/DatePicker/localization.js +1 -7
- package/components/DatePicker/types.js +1 -7
- package/components/Divider/Divider.js +2 -19
- package/components/Divider/index.js +1 -3
- package/components/Empty/Empty.js +4 -87
- package/components/Empty/index.js +1 -56
- package/components/FileUpload/DropzoneFileUpload/DropzoneFileUpload.js +7 -54
- package/components/FileUpload/DropzoneFileUpload/ErrorItem.js +1 -54
- package/components/FileUpload/DropzoneFileUpload/FilePreview.js +2 -53
- package/components/FileUpload/DropzoneFileUpload/PreviewItem.js +7 -54
- package/components/FileUpload/DropzoneFileUpload/helpers.js +1 -54
- package/components/FileUpload/DropzoneFileUpload/index.js +1 -54
- package/components/FileUpload/FileUpload.js +6 -195
- package/components/FileUpload/UploadItems.js +6 -104
- package/components/FileUpload/index.js +1 -63
- package/components/FileUpload/types.js +1 -10
- package/components/FormContainer/FormContainer.js +1 -143
- package/components/FormContainer/index.js +1 -57
- package/components/FormContainer/types.d.ts +1 -2
- package/components/FormField/FormField.js +2 -117
- package/components/FormField/index.js +1 -58
- package/components/FormField/types.d.ts +1 -0
- package/components/Heading/Heading.js +2 -29
- package/components/Heading/index.js +1 -5
- package/components/IconDynamicComponent/IconDynamicComponent.js +1 -40
- package/components/IconDynamicComponent/index.js +1 -3
- package/components/Image/Image.js +1 -33
- package/components/Image/index.js +1 -2
- package/components/Input/Input.js +9 -245
- package/components/Input/index.js +1 -60
- package/components/Link/Link.js +2 -42
- package/components/Link/index.js +1 -3
- package/components/Menu/Menu.js +3 -167
- package/components/Menu/NestedMenu.js +3 -180
- package/components/Menu/index.js +1 -74
- package/components/Modal/Modal.js +1 -54
- package/components/Modal/ModalConfirmation.js +3 -145
- package/components/Modal/ModalContent.js +5 -54
- package/components/Modal/index.js +1 -55
- package/components/More/More.js +3 -88
- package/components/More/index.js +1 -55
- package/components/Pagination/Pagination.js +2 -59
- package/components/Pagination/consts.js +1 -8
- package/components/Pagination/index.js +1 -10
- package/components/Popover/Popover.js +1 -54
- package/components/Popover/PopoverDesktop.js +1 -71
- package/components/Popover/PopoverMobile.js +3 -54
- package/components/Popover/index.js +1 -54
- package/components/Progress/Progress.js +4 -57
- package/components/Progress/index.js +1 -2
- package/components/ProgressStep/ProgressStep.js +2 -39
- package/components/ProgressStep/Step.js +9 -101
- package/components/ProgressStep/consts.js +1 -9
- package/components/ProgressStep/index.js +1 -12
- package/components/ProgressStep/types.js +1 -7
- package/components/Radio/Radio.js +4 -58
- package/components/Radio/RadioGroup.js +4 -115
- package/components/Radio/index.js +1 -57
- package/components/SVGIcons/IconAdd.d.ts +1 -1
- package/components/SVGIcons/IconAdd.js +1 -29
- package/components/SVGIcons/IconAddCircle.d.ts +1 -1
- package/components/SVGIcons/IconAddCircle.js +1 -32
- package/components/SVGIcons/IconAddCircleFilled.d.ts +1 -1
- package/components/SVGIcons/IconAddCircleFilled.js +1 -32
- package/components/SVGIcons/IconAddFilled.d.ts +1 -1
- package/components/SVGIcons/IconAddFilled.js +1 -29
- package/components/SVGIcons/IconAirplaneTakeOff.d.ts +1 -1
- package/components/SVGIcons/IconAirplaneTakeOff.js +1 -29
- package/components/SVGIcons/IconAirplaneTakeOffFilled.d.ts +1 -1
- package/components/SVGIcons/IconAirplaneTakeOffFilled.js +1 -29
- package/components/SVGIcons/IconAlert.d.ts +1 -1
- package/components/SVGIcons/IconAlert.js +1 -32
- package/components/SVGIcons/IconAlertBadge.d.ts +1 -1
- package/components/SVGIcons/IconAlertBadge.js +1 -32
- package/components/SVGIcons/IconAlertBadgeFilled.d.ts +1 -1
- package/components/SVGIcons/IconAlertBadgeFilled.js +1 -32
- package/components/SVGIcons/IconAlertFilled.d.ts +1 -1
- package/components/SVGIcons/IconAlertFilled.js +1 -32
- package/components/SVGIcons/IconAm.d.ts +1 -1
- package/components/SVGIcons/IconAm.js +7 -58
- package/components/SVGIcons/IconAmd.d.ts +1 -1
- package/components/SVGIcons/IconAmd.js +1 -29
- package/components/SVGIcons/IconAmdFilled.d.ts +1 -1
- package/components/SVGIcons/IconAmdFilled.js +1 -29
- package/components/SVGIcons/IconApple.d.ts +1 -1
- package/components/SVGIcons/IconApple.js +1 -32
- package/components/SVGIcons/IconArrowDown.d.ts +1 -1
- package/components/SVGIcons/IconArrowDown.js +1 -32
- package/components/SVGIcons/IconArrowDownFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowDownFilled.js +1 -32
- package/components/SVGIcons/IconArrowDownLeft.d.ts +1 -1
- package/components/SVGIcons/IconArrowDownLeft.js +1 -32
- package/components/SVGIcons/IconArrowDownLeftFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowDownLeftFilled.js +1 -32
- package/components/SVGIcons/IconArrowDownload.d.ts +1 -1
- package/components/SVGIcons/IconArrowDownload.js +1 -32
- package/components/SVGIcons/IconArrowDownloadFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowDownloadFilled.js +1 -32
- package/components/SVGIcons/IconArrowEnter.d.ts +1 -1
- package/components/SVGIcons/IconArrowEnter.js +1 -29
- package/components/SVGIcons/IconArrowEnterFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowEnterFilled.js +1 -29
- package/components/SVGIcons/IconArrowExit.d.ts +1 -1
- package/components/SVGIcons/IconArrowExit.js +1 -29
- package/components/SVGIcons/IconArrowExitFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowExitFilled.js +1 -29
- package/components/SVGIcons/IconArrowExportLeftToRight.d.ts +1 -1
- package/components/SVGIcons/IconArrowExportLeftToRight.js +1 -32
- package/components/SVGIcons/IconArrowExportLeftToRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowExportLeftToRightFilled.js +1 -32
- package/components/SVGIcons/IconArrowExportRightToLeft.d.ts +1 -1
- package/components/SVGIcons/IconArrowExportRightToLeft.js +1 -32
- package/components/SVGIcons/IconArrowExportRightToLeftFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowExportRightToLeftFilled.js +1 -32
- package/components/SVGIcons/IconArrowExportUp.d.ts +1 -1
- package/components/SVGIcons/IconArrowExportUp.js +1 -32
- package/components/SVGIcons/IconArrowExportUpFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowExportUpFilled.js +1 -32
- package/components/SVGIcons/IconArrowImport.d.ts +1 -1
- package/components/SVGIcons/IconArrowImport.js +1 -32
- package/components/SVGIcons/IconArrowImportFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowImportFilled.js +1 -32
- package/components/SVGIcons/IconArrowLeft.d.ts +1 -1
- package/components/SVGIcons/IconArrowLeft.js +1 -32
- package/components/SVGIcons/IconArrowLeftFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowLeftFilled.js +1 -32
- package/components/SVGIcons/IconArrowRepeatAll.d.ts +1 -1
- package/components/SVGIcons/IconArrowRepeatAll.js +1 -32
- package/components/SVGIcons/IconArrowRepeatAllFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowRepeatAllFilled.js +1 -32
- package/components/SVGIcons/IconArrowReset.d.ts +1 -1
- package/components/SVGIcons/IconArrowReset.js +1 -32
- package/components/SVGIcons/IconArrowResetFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowResetFilled.js +1 -32
- package/components/SVGIcons/IconArrowRight.d.ts +1 -1
- package/components/SVGIcons/IconArrowRight.js +1 -32
- package/components/SVGIcons/IconArrowRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowRightFilled.js +1 -32
- package/components/SVGIcons/IconArrowSort.d.ts +1 -1
- package/components/SVGIcons/IconArrowSort.js +1 -29
- package/components/SVGIcons/IconArrowSortFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowSortFilled.js +1 -29
- package/components/SVGIcons/IconArrowSync.d.ts +1 -1
- package/components/SVGIcons/IconArrowSync.js +1 -29
- package/components/SVGIcons/IconArrowSyncFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowSyncFilled.js +1 -29
- package/components/SVGIcons/IconArrowUp.d.ts +1 -1
- package/components/SVGIcons/IconArrowUp.js +1 -32
- package/components/SVGIcons/IconArrowUpFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowUpFilled.js +1 -32
- package/components/SVGIcons/IconArrowUpLeft.d.ts +1 -1
- package/components/SVGIcons/IconArrowUpLeft.js +1 -32
- package/components/SVGIcons/IconArrowUpLeftFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowUpLeftFilled.js +1 -32
- package/components/SVGIcons/IconArrowUpRight.d.ts +1 -1
- package/components/SVGIcons/IconArrowUpRight.js +1 -32
- package/components/SVGIcons/IconArrowUpRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowUpRightFilled.js +1 -32
- package/components/SVGIcons/IconAttach.d.ts +1 -1
- package/components/SVGIcons/IconAttach.js +1 -32
- package/components/SVGIcons/IconAttachFilled.d.ts +1 -1
- package/components/SVGIcons/IconAttachFilled.js +1 -32
- package/components/SVGIcons/IconBeach.d.ts +1 -1
- package/components/SVGIcons/IconBeach.js +1 -29
- package/components/SVGIcons/IconBeachFilled.d.ts +1 -1
- package/components/SVGIcons/IconBeachFilled.js +1 -29
- package/components/SVGIcons/IconBook.d.ts +1 -1
- package/components/SVGIcons/IconBook.js +1 -32
- package/components/SVGIcons/IconBookFilled.d.ts +1 -1
- package/components/SVGIcons/IconBookFilled.js +1 -32
- package/components/SVGIcons/IconBookmark.d.ts +1 -1
- package/components/SVGIcons/IconBookmark.js +1 -32
- package/components/SVGIcons/IconBookmarkFilled.d.ts +1 -1
- package/components/SVGIcons/IconBookmarkFilled.js +1 -32
- package/components/SVGIcons/IconBriefcase.d.ts +1 -1
- package/components/SVGIcons/IconBriefcase.js +1 -32
- package/components/SVGIcons/IconBriefcaseFilled.d.ts +1 -1
- package/components/SVGIcons/IconBriefcaseFilled.js +1 -32
- package/components/SVGIcons/IconBuilding.d.ts +1 -1
- package/components/SVGIcons/IconBuilding.js +7 -55
- package/components/SVGIcons/IconBuildingBank.d.ts +1 -1
- package/components/SVGIcons/IconBuildingBank.js +1 -29
- package/components/SVGIcons/IconBuildingBankFilled.d.ts +1 -1
- package/components/SVGIcons/IconBuildingBankFilled.js +1 -29
- package/components/SVGIcons/IconBuildingFilled.d.ts +1 -1
- package/components/SVGIcons/IconBuildingFilled.js +1 -32
- package/components/SVGIcons/IconBulletListAdd.d.ts +1 -1
- package/components/SVGIcons/IconBulletListAdd.js +1 -32
- package/components/SVGIcons/IconBulletListAddFilled.d.ts +1 -1
- package/components/SVGIcons/IconBulletListAddFilled.js +1 -32
- package/components/SVGIcons/IconCalculator.d.ts +1 -1
- package/components/SVGIcons/IconCalculator.js +1 -32
- package/components/SVGIcons/IconCalculatorFilled.d.ts +1 -1
- package/components/SVGIcons/IconCalculatorFilled.js +1 -32
- package/components/SVGIcons/IconCalendarClock.d.ts +1 -1
- package/components/SVGIcons/IconCalendarClock.js +1 -29
- package/components/SVGIcons/IconCalendarClockFilled.d.ts +1 -1
- package/components/SVGIcons/IconCalendarClockFilled.js +1 -29
- package/components/SVGIcons/IconCalendarDay.d.ts +1 -1
- package/components/SVGIcons/IconCalendarDay.js +1 -32
- package/components/SVGIcons/IconCalendarDayFilled.d.ts +1 -1
- package/components/SVGIcons/IconCalendarDayFilled.js +1 -32
- package/components/SVGIcons/IconCalendarEmpty.d.ts +1 -1
- package/components/SVGIcons/IconCalendarEmpty.js +1 -29
- package/components/SVGIcons/IconCalendarLeft.d.ts +1 -1
- package/components/SVGIcons/IconCalendarLeft.js +1 -29
- package/components/SVGIcons/IconCalendarLeftFilled.d.ts +1 -1
- package/components/SVGIcons/IconCalendarLeftFilled.js +1 -29
- package/components/SVGIcons/IconCalendarRight.d.ts +1 -1
- package/components/SVGIcons/IconCalendarRight.js +1 -29
- package/components/SVGIcons/IconCalendarRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconCalendarRightFilled.js +1 -29
- package/components/SVGIcons/IconCall.d.ts +1 -1
- package/components/SVGIcons/IconCall.js +1 -32
- package/components/SVGIcons/IconCallFilled.d.ts +1 -1
- package/components/SVGIcons/IconCallFilled.js +1 -32
- package/components/SVGIcons/IconCard.d.ts +1 -1
- package/components/SVGIcons/IconCard.js +1 -29
- package/components/SVGIcons/IconCardFilled.d.ts +1 -1
- package/components/SVGIcons/IconCardFilled.js +1 -29
- package/components/SVGIcons/IconCaretDown.d.ts +1 -1
- package/components/SVGIcons/IconCaretDown.js +1 -29
- package/components/SVGIcons/IconCaretDownFilled.d.ts +1 -1
- package/components/SVGIcons/IconCaretDownFilled.js +1 -29
- package/components/SVGIcons/IconCaretDownRight.d.ts +1 -1
- package/components/SVGIcons/IconCaretDownRight.js +1 -29
- package/components/SVGIcons/IconCaretDownRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconCaretDownRightFilled.js +1 -29
- package/components/SVGIcons/IconCaretLeft.d.ts +1 -1
- package/components/SVGIcons/IconCaretLeft.js +1 -29
- package/components/SVGIcons/IconCaretLeftFilled.d.ts +1 -1
- package/components/SVGIcons/IconCaretLeftFilled.js +1 -29
- package/components/SVGIcons/IconCaretRight.d.ts +1 -1
- package/components/SVGIcons/IconCaretRight.js +1 -29
- package/components/SVGIcons/IconCaretRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconCaretRightFilled.js +1 -29
- package/components/SVGIcons/IconCaretUp.d.ts +1 -1
- package/components/SVGIcons/IconCaretUp.js +1 -29
- package/components/SVGIcons/IconCaretUpFilled.d.ts +1 -1
- package/components/SVGIcons/IconCaretUpFilled.js +1 -29
- package/components/SVGIcons/IconChartPerson.d.ts +1 -1
- package/components/SVGIcons/IconChartPerson.js +1 -29
- package/components/SVGIcons/IconChartPersonFilled.d.ts +1 -1
- package/components/SVGIcons/IconChartPersonFilled.js +1 -29
- package/components/SVGIcons/IconChat.d.ts +1 -1
- package/components/SVGIcons/IconChat.js +1 -29
- package/components/SVGIcons/IconChatFilled.d.ts +1 -1
- package/components/SVGIcons/IconChatFilled.js +1 -29
- package/components/SVGIcons/IconChatMultiple.d.ts +1 -1
- package/components/SVGIcons/IconChatMultiple.js +1 -29
- package/components/SVGIcons/IconChatMultipleFilled.d.ts +1 -1
- package/components/SVGIcons/IconChatMultipleFilled.js +1 -29
- package/components/SVGIcons/IconCheckboxArrowRight.d.ts +1 -1
- package/components/SVGIcons/IconCheckboxArrowRight.js +1 -32
- package/components/SVGIcons/IconCheckboxArrowRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconCheckboxArrowRightFilled.js +1 -32
- package/components/SVGIcons/IconCheckmark.d.ts +1 -1
- package/components/SVGIcons/IconCheckmark.js +1 -29
- package/components/SVGIcons/IconCheckmarkCircle.d.ts +1 -1
- package/components/SVGIcons/IconCheckmarkCircle.js +1 -29
- package/components/SVGIcons/IconCheckmarkCircleFilled.d.ts +1 -1
- package/components/SVGIcons/IconCheckmarkCircleFilled.js +1 -29
- package/components/SVGIcons/IconCheckmarkFilled.d.ts +1 -1
- package/components/SVGIcons/IconCheckmarkFilled.js +1 -29
- package/components/SVGIcons/IconChevronDoubleLeft.d.ts +1 -1
- package/components/SVGIcons/IconChevronDoubleLeft.js +1 -29
- package/components/SVGIcons/IconChevronDoubleRight.d.ts +1 -1
- package/components/SVGIcons/IconChevronDoubleRight.js +1 -29
- package/components/SVGIcons/IconChevronDown.d.ts +1 -1
- package/components/SVGIcons/IconChevronDown.js +1 -29
- package/components/SVGIcons/IconChevronDownFilled.d.ts +1 -1
- package/components/SVGIcons/IconChevronDownFilled.js +1 -29
- package/components/SVGIcons/IconChevronLeft.d.ts +1 -1
- package/components/SVGIcons/IconChevronLeft.js +1 -29
- package/components/SVGIcons/IconChevronLeftFilled.d.ts +1 -1
- package/components/SVGIcons/IconChevronLeftFilled.js +1 -29
- package/components/SVGIcons/IconChevronRight.d.ts +1 -1
- package/components/SVGIcons/IconChevronRight.js +1 -29
- package/components/SVGIcons/IconChevronRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconChevronRightFilled.js +1 -29
- package/components/SVGIcons/IconChevronUp.d.ts +1 -1
- package/components/SVGIcons/IconChevronUp.js +1 -29
- package/components/SVGIcons/IconChevronUpDown.d.ts +1 -1
- package/components/SVGIcons/IconChevronUpDown.js +1 -32
- package/components/SVGIcons/IconChevronUpDownFilled.d.ts +1 -1
- package/components/SVGIcons/IconChevronUpDownFilled.js +1 -32
- package/components/SVGIcons/IconChevronUpFilled.d.ts +1 -1
- package/components/SVGIcons/IconChevronUpFilled.js +1 -29
- package/components/SVGIcons/IconClipboardDay.d.ts +1 -1
- package/components/SVGIcons/IconClipboardDay.js +1 -29
- package/components/SVGIcons/IconClock.d.ts +1 -1
- package/components/SVGIcons/IconClock.js +1 -32
- package/components/SVGIcons/IconClockDismiss.d.ts +1 -1
- package/components/SVGIcons/IconClockDismiss.js +1 -29
- package/components/SVGIcons/IconClockDismissFilled.d.ts +1 -1
- package/components/SVGIcons/IconClockDismissFilled.js +1 -29
- package/components/SVGIcons/IconClockFilled.d.ts +1 -1
- package/components/SVGIcons/IconClockFilled.js +1 -32
- package/components/SVGIcons/IconComment.d.ts +1 -1
- package/components/SVGIcons/IconComment.js +1 -32
- package/components/SVGIcons/IconCommentFilled.d.ts +1 -1
- package/components/SVGIcons/IconCommentFilled.js +1 -32
- package/components/SVGIcons/IconContractCard.d.ts +1 -1
- package/components/SVGIcons/IconContractCard.js +1 -29
- package/components/SVGIcons/IconContractCardFilled.d.ts +1 -1
- package/components/SVGIcons/IconContractCardFilled.js +1 -29
- package/components/SVGIcons/IconCopy.d.ts +1 -1
- package/components/SVGIcons/IconCopy.js +1 -29
- package/components/SVGIcons/IconCopyFilled.d.ts +1 -1
- package/components/SVGIcons/IconCopyFilled.js +1 -29
- package/components/SVGIcons/IconCubeTree.d.ts +1 -1
- package/components/SVGIcons/IconCubeTree.js +1 -29
- package/components/SVGIcons/IconCubeTreeFilled.d.ts +1 -1
- package/components/SVGIcons/IconCubeTreeFilled.js +1 -32
- package/components/SVGIcons/IconDatabase.d.ts +1 -1
- package/components/SVGIcons/IconDatabase.js +1 -32
- package/components/SVGIcons/IconDatabaseFilled.d.ts +1 -1
- package/components/SVGIcons/IconDatabaseFilled.js +1 -32
- package/components/SVGIcons/IconDelete.d.ts +1 -1
- package/components/SVGIcons/IconDelete.js +1 -29
- package/components/SVGIcons/IconDeleteFilled.d.ts +1 -1
- package/components/SVGIcons/IconDeleteFilled.js +1 -29
- package/components/SVGIcons/IconDeviceMeetingRoom.d.ts +1 -1
- package/components/SVGIcons/IconDeviceMeetingRoom.js +1 -29
- package/components/SVGIcons/IconDeviceMeetingRoomFilled.d.ts +1 -1
- package/components/SVGIcons/IconDeviceMeetingRoomFilled.js +1 -29
- package/components/SVGIcons/IconDismiss.d.ts +1 -1
- package/components/SVGIcons/IconDismiss.js +1 -29
- package/components/SVGIcons/IconDismissCircle.d.ts +1 -1
- package/components/SVGIcons/IconDismissCircle.js +1 -32
- package/components/SVGIcons/IconDismissCircleFilled.d.ts +1 -1
- package/components/SVGIcons/IconDismissCircleFilled.js +1 -32
- package/components/SVGIcons/IconDismissFilled.d.ts +1 -1
- package/components/SVGIcons/IconDismissFilled.js +1 -29
- package/components/SVGIcons/IconDocument.d.ts +1 -1
- package/components/SVGIcons/IconDocument.js +1 -29
- package/components/SVGIcons/IconDocumentBulletList.d.ts +1 -1
- package/components/SVGIcons/IconDocumentBulletList.js +1 -32
- package/components/SVGIcons/IconDocumentBulletListFilled.d.ts +1 -1
- package/components/SVGIcons/IconDocumentBulletListFilled.js +1 -32
- package/components/SVGIcons/IconDocumentEdit.d.ts +1 -1
- package/components/SVGIcons/IconDocumentEdit.js +1 -29
- package/components/SVGIcons/IconDocumentEditFilled.d.ts +1 -1
- package/components/SVGIcons/IconDocumentEditFilled.js +1 -29
- package/components/SVGIcons/IconDocumentFilled.d.ts +1 -1
- package/components/SVGIcons/IconDocumentFilled.js +1 -29
- package/components/SVGIcons/IconDocumentPerson.d.ts +1 -1
- package/components/SVGIcons/IconDocumentPerson.js +1 -29
- package/components/SVGIcons/IconEdit.d.ts +1 -1
- package/components/SVGIcons/IconEdit.js +1 -29
- package/components/SVGIcons/IconEditFilled.d.ts +1 -1
- package/components/SVGIcons/IconEditFilled.js +1 -29
- package/components/SVGIcons/IconErrorCircle.d.ts +1 -1
- package/components/SVGIcons/IconErrorCircle.js +1 -29
- package/components/SVGIcons/IconErrorCircleFilled.d.ts +1 -1
- package/components/SVGIcons/IconErrorCircleFilled.js +1 -29
- package/components/SVGIcons/IconEur.d.ts +1 -1
- package/components/SVGIcons/IconEur.js +1 -29
- package/components/SVGIcons/IconEurFilled.d.ts +1 -1
- package/components/SVGIcons/IconEurFilled.js +1 -29
- package/components/SVGIcons/IconExpandUpLeft.d.ts +1 -1
- package/components/SVGIcons/IconExpandUpLeft.js +1 -32
- package/components/SVGIcons/IconExpandUpLeftFilled.d.ts +1 -1
- package/components/SVGIcons/IconExpandUpLeftFilled.js +1 -32
- package/components/SVGIcons/IconExpandUpRight.d.ts +1 -1
- package/components/SVGIcons/IconExpandUpRight.js +1 -32
- package/components/SVGIcons/IconExpandUpRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconExpandUpRightFilled.js +1 -32
- package/components/SVGIcons/IconEyeOff.d.ts +1 -1
- package/components/SVGIcons/IconEyeOff.js +1 -32
- package/components/SVGIcons/IconEyeOffFilled.d.ts +1 -1
- package/components/SVGIcons/IconEyeOffFilled.js +1 -32
- package/components/SVGIcons/IconEyeOn.d.ts +1 -1
- package/components/SVGIcons/IconEyeOn.js +1 -32
- package/components/SVGIcons/IconEyeOnFilled.d.ts +1 -1
- package/components/SVGIcons/IconEyeOnFilled.js +1 -32
- package/components/SVGIcons/IconFacebook.d.ts +1 -1
- package/components/SVGIcons/IconFacebook.js +3 -39
- package/components/SVGIcons/IconFastAcceleration.d.ts +1 -1
- package/components/SVGIcons/IconFastAcceleration.js +1 -29
- package/components/SVGIcons/IconFastAccelerationFilled.d.ts +1 -1
- package/components/SVGIcons/IconFastAccelerationFilled.js +1 -29
- package/components/SVGIcons/IconFeed.d.ts +1 -1
- package/components/SVGIcons/IconFeed.js +1 -29
- package/components/SVGIcons/IconFeedFilled.d.ts +1 -1
- package/components/SVGIcons/IconFeedFilled.js +1 -29
- package/components/SVGIcons/IconFilter.d.ts +1 -1
- package/components/SVGIcons/IconFilter.js +1 -29
- package/components/SVGIcons/IconFilterFilled.d.ts +1 -1
- package/components/SVGIcons/IconFilterFilled.js +1 -29
- package/components/SVGIcons/IconFlag.d.ts +1 -1
- package/components/SVGIcons/IconFlag.js +1 -32
- package/components/SVGIcons/IconFlagFilled.d.ts +1 -1
- package/components/SVGIcons/IconFlagFilled.js +1 -32
- package/components/SVGIcons/IconFolderLink.d.ts +1 -1
- package/components/SVGIcons/IconFolderLink.js +1 -29
- package/components/SVGIcons/IconFolderLinkFilled.d.ts +1 -1
- package/components/SVGIcons/IconFolderLinkFilled.js +1 -29
- package/components/SVGIcons/IconFood.d.ts +1 -1
- package/components/SVGIcons/IconFood.js +1 -29
- package/components/SVGIcons/IconFoodFilled.d.ts +1 -1
- package/components/SVGIcons/IconFoodFilled.js +1 -29
- package/components/SVGIcons/IconGb.d.ts +1 -1
- package/components/SVGIcons/IconGb.js +11 -72
- package/components/SVGIcons/IconGlobe.d.ts +1 -1
- package/components/SVGIcons/IconGlobe.js +1 -29
- package/components/SVGIcons/IconGlobeFilled.d.ts +1 -1
- package/components/SVGIcons/IconGlobeFilled.js +1 -29
- package/components/SVGIcons/IconGoogle.d.ts +1 -1
- package/components/SVGIcons/IconGoogle.js +3 -41
- package/components/SVGIcons/IconHandOpenHeart.d.ts +1 -1
- package/components/SVGIcons/IconHandOpenHeart.js +1 -32
- package/components/SVGIcons/IconHandOpenHeartFilled.d.ts +1 -1
- package/components/SVGIcons/IconHandOpenHeartFilled.js +1 -32
- package/components/SVGIcons/IconHeart.d.ts +1 -1
- package/components/SVGIcons/IconHeart.js +1 -32
- package/components/SVGIcons/IconHeartFilled.d.ts +1 -1
- package/components/SVGIcons/IconHeartFilled.js +1 -32
- package/components/SVGIcons/IconHistory.d.ts +1 -1
- package/components/SVGIcons/IconHistory.js +1 -32
- package/components/SVGIcons/IconHistoryFilled.d.ts +1 -1
- package/components/SVGIcons/IconHistoryFilled.js +1 -32
- package/components/SVGIcons/IconHome.d.ts +1 -1
- package/components/SVGIcons/IconHome.js +1 -32
- package/components/SVGIcons/IconHomeFilled.d.ts +1 -1
- package/components/SVGIcons/IconHomeFilled.js +1 -32
- package/components/SVGIcons/IconImage.d.ts +1 -1
- package/components/SVGIcons/IconImage.js +1 -32
- package/components/SVGIcons/IconImageFilled.d.ts +1 -1
- package/components/SVGIcons/IconImageFilled.js +1 -32
- package/components/SVGIcons/IconInfo.d.ts +1 -1
- package/components/SVGIcons/IconInfo.js +1 -29
- package/components/SVGIcons/IconInfoFilled.d.ts +1 -1
- package/components/SVGIcons/IconInfoFilled.js +1 -29
- package/components/SVGIcons/IconInstagram.d.ts +1 -1
- package/components/SVGIcons/IconInstagram.js +4 -40
- package/components/SVGIcons/IconKeyReset.d.ts +1 -1
- package/components/SVGIcons/IconKeyReset.js +1 -32
- package/components/SVGIcons/IconKeyResetFilled.d.ts +1 -1
- package/components/SVGIcons/IconKeyResetFilled.js +1 -32
- package/components/SVGIcons/IconLibrary.d.ts +1 -1
- package/components/SVGIcons/IconLibrary.js +1 -29
- package/components/SVGIcons/IconLibraryFilled.d.ts +1 -1
- package/components/SVGIcons/IconLibraryFilled.js +1 -29
- package/components/SVGIcons/IconLink.d.ts +1 -1
- package/components/SVGIcons/IconLink.js +1 -32
- package/components/SVGIcons/IconLinkFilled.d.ts +1 -1
- package/components/SVGIcons/IconLinkFilled.js +1 -32
- package/components/SVGIcons/IconLinkedin.d.ts +1 -1
- package/components/SVGIcons/IconLinkedin.js +1 -32
- package/components/SVGIcons/IconList.d.ts +1 -1
- package/components/SVGIcons/IconList.js +1 -29
- package/components/SVGIcons/IconListFilled.d.ts +1 -1
- package/components/SVGIcons/IconListFilled.js +1 -32
- package/components/SVGIcons/IconLocation.d.ts +1 -1
- package/components/SVGIcons/IconLocation.js +1 -32
- package/components/SVGIcons/IconLocationFilled.d.ts +1 -1
- package/components/SVGIcons/IconLocationFilled.js +1 -32
- package/components/SVGIcons/IconLockClosed.d.ts +1 -1
- package/components/SVGIcons/IconLockClosed.js +1 -32
- package/components/SVGIcons/IconLockClosedFilled.d.ts +1 -1
- package/components/SVGIcons/IconLockClosedFilled.js +1 -32
- package/components/SVGIcons/IconLockOpen.d.ts +1 -1
- package/components/SVGIcons/IconLockOpen.js +1 -32
- package/components/SVGIcons/IconLockOpenFilled.d.ts +1 -1
- package/components/SVGIcons/IconLockOpenFilled.js +1 -32
- package/components/SVGIcons/IconMail.d.ts +1 -1
- package/components/SVGIcons/IconMail.js +1 -32
- package/components/SVGIcons/IconMailAdd.d.ts +1 -1
- package/components/SVGIcons/IconMailAdd.js +1 -32
- package/components/SVGIcons/IconMailAddFilled.d.ts +1 -1
- package/components/SVGIcons/IconMailAddFilled.js +1 -32
- package/components/SVGIcons/IconMailArrowForward.d.ts +1 -1
- package/components/SVGIcons/IconMailArrowForward.js +1 -32
- package/components/SVGIcons/IconMailArrowForwardFilled.d.ts +1 -1
- package/components/SVGIcons/IconMailArrowForwardFilled.js +1 -32
- package/components/SVGIcons/IconMailFilled.d.ts +1 -1
- package/components/SVGIcons/IconMailFilled.js +1 -32
- package/components/SVGIcons/IconMailLink.d.ts +1 -1
- package/components/SVGIcons/IconMailLink.js +1 -32
- package/components/SVGIcons/IconMailLinkFilled.d.ts +1 -1
- package/components/SVGIcons/IconMailLinkFilled.js +1 -32
- package/components/SVGIcons/IconMedium.d.ts +1 -1
- package/components/SVGIcons/IconMedium.js +1 -32
- package/components/SVGIcons/IconMore.d.ts +1 -1
- package/components/SVGIcons/IconMore.js +1 -32
- package/components/SVGIcons/IconMoreFilled.d.ts +1 -1
- package/components/SVGIcons/IconMoreFilled.js +1 -32
- package/components/SVGIcons/IconMoreVertical.d.ts +1 -1
- package/components/SVGIcons/IconMoreVertical.js +1 -32
- package/components/SVGIcons/IconMoreVerticalFilled.d.ts +1 -1
- package/components/SVGIcons/IconMoreVerticalFilled.js +1 -32
- package/components/SVGIcons/IconNavigation.d.ts +1 -1
- package/components/SVGIcons/IconNavigation.js +1 -32
- package/components/SVGIcons/IconNavigationFilled.d.ts +1 -1
- package/components/SVGIcons/IconNavigationFilled.js +1 -32
- package/components/SVGIcons/IconNotebook.d.ts +1 -1
- package/components/SVGIcons/IconNotebook.js +1 -32
- package/components/SVGIcons/IconNotebookAdd.d.ts +1 -1
- package/components/SVGIcons/IconNotebookAdd.js +7 -48
- package/components/SVGIcons/IconNotebookAddFilled.d.ts +1 -1
- package/components/SVGIcons/IconNotebookAddFilled.js +6 -45
- package/components/SVGIcons/IconNotebookFilled.d.ts +1 -1
- package/components/SVGIcons/IconNotebookFilled.js +1 -32
- package/components/SVGIcons/IconOnlyEmployee.d.ts +1 -1
- package/components/SVGIcons/IconOnlyEmployee.js +1 -29
- package/components/SVGIcons/IconOpen.d.ts +1 -1
- package/components/SVGIcons/IconOpen.js +1 -32
- package/components/SVGIcons/IconOpenFilled.d.ts +1 -1
- package/components/SVGIcons/IconOpenFilled.js +1 -32
- package/components/SVGIcons/IconPatient.d.ts +1 -1
- package/components/SVGIcons/IconPatient.js +1 -29
- package/components/SVGIcons/IconPatientFilled.d.ts +1 -1
- package/components/SVGIcons/IconPatientFilled.js +1 -29
- package/components/SVGIcons/IconPeople.d.ts +1 -1
- package/components/SVGIcons/IconPeople.js +1 -29
- package/components/SVGIcons/IconPeopleAdd.d.ts +1 -1
- package/components/SVGIcons/IconPeopleAdd.js +1 -32
- package/components/SVGIcons/IconPeopleAddFilled.d.ts +1 -1
- package/components/SVGIcons/IconPeopleAddFilled.js +1 -32
- package/components/SVGIcons/IconPeopleFilled.d.ts +1 -1
- package/components/SVGIcons/IconPeopleFilled.js +1 -32
- package/components/SVGIcons/IconPeopleList.d.ts +1 -1
- package/components/SVGIcons/IconPeopleList.js +1 -29
- package/components/SVGIcons/IconPeopleListFilled.d.ts +1 -1
- package/components/SVGIcons/IconPeopleListFilled.js +1 -29
- package/components/SVGIcons/IconPeopleTeam.d.ts +1 -1
- package/components/SVGIcons/IconPeopleTeam.js +1 -29
- package/components/SVGIcons/IconPeopleTeamFilled.d.ts +1 -1
- package/components/SVGIcons/IconPeopleTeamFilled.js +1 -29
- package/components/SVGIcons/IconPercent.d.ts +1 -1
- package/components/SVGIcons/IconPercent.js +1 -34
- package/components/SVGIcons/IconPerson.d.ts +1 -1
- package/components/SVGIcons/IconPerson.js +1 -32
- package/components/SVGIcons/IconPersonAccount.d.ts +1 -1
- package/components/SVGIcons/IconPersonAccount.js +1 -29
- package/components/SVGIcons/IconPersonAccountFilled.d.ts +1 -1
- package/components/SVGIcons/IconPersonAccountFilled.js +1 -29
- package/components/SVGIcons/IconPersonAdd.d.ts +1 -1
- package/components/SVGIcons/IconPersonAdd.js +1 -32
- package/components/SVGIcons/IconPersonAddFilled.d.ts +1 -1
- package/components/SVGIcons/IconPersonAddFilled.js +1 -32
- package/components/SVGIcons/IconPersonArrowLeft.d.ts +1 -1
- package/components/SVGIcons/IconPersonArrowLeft.js +1 -29
- package/components/SVGIcons/IconPersonArrowLeftFilled.d.ts +1 -1
- package/components/SVGIcons/IconPersonArrowLeftFilled.js +1 -29
- package/components/SVGIcons/IconPersonArrowRight.d.ts +1 -1
- package/components/SVGIcons/IconPersonArrowRight.js +1 -29
- package/components/SVGIcons/IconPersonArrowRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconPersonArrowRightFilled.js +1 -29
- package/components/SVGIcons/IconPersonBoard.d.ts +1 -1
- package/components/SVGIcons/IconPersonBoard.js +1 -29
- package/components/SVGIcons/IconPersonFilled.d.ts +1 -1
- package/components/SVGIcons/IconPersonFilled.js +1 -32
- package/components/SVGIcons/IconPersonMinus.d.ts +1 -1
- package/components/SVGIcons/IconPersonMinus.js +1 -29
- package/components/SVGIcons/IconPersonStar.d.ts +1 -1
- package/components/SVGIcons/IconPersonStar.js +1 -32
- package/components/SVGIcons/IconPersonStarFilled.d.ts +1 -1
- package/components/SVGIcons/IconPersonStarFilled.js +1 -32
- package/components/SVGIcons/IconPersonSubtract.d.ts +1 -1
- package/components/SVGIcons/IconPersonSubtract.js +1 -32
- package/components/SVGIcons/IconPersonSubtractFilled.d.ts +1 -1
- package/components/SVGIcons/IconPersonSubtractFilled.js +1 -32
- package/components/SVGIcons/IconPhone.d.ts +1 -1
- package/components/SVGIcons/IconPhone.js +1 -32
- package/components/SVGIcons/IconPhoneFilled.d.ts +1 -1
- package/components/SVGIcons/IconPhoneFilled.js +1 -32
- package/components/SVGIcons/IconPlugConnected.d.ts +1 -1
- package/components/SVGIcons/IconPlugConnected.js +1 -29
- package/components/SVGIcons/IconPos.d.ts +1 -1
- package/components/SVGIcons/IconPos.js +1 -34
- package/components/SVGIcons/IconPosFilled.d.ts +1 -1
- package/components/SVGIcons/IconPosFilled.js +1 -34
- package/components/SVGIcons/IconProhibited.d.ts +1 -1
- package/components/SVGIcons/IconProhibited.js +1 -32
- package/components/SVGIcons/IconProhibitedFilled.d.ts +1 -1
- package/components/SVGIcons/IconProhibitedFilled.js +1 -32
- package/components/SVGIcons/IconProjectProduct.d.ts +1 -1
- package/components/SVGIcons/IconProjectProduct.js +1 -29
- package/components/SVGIcons/IconQuestion.d.ts +1 -1
- package/components/SVGIcons/IconQuestion.js +1 -32
- package/components/SVGIcons/IconQuestionFilled.d.ts +1 -1
- package/components/SVGIcons/IconQuestionFilled.js +1 -32
- package/components/SVGIcons/IconRedo.d.ts +1 -1
- package/components/SVGIcons/IconRedo.js +1 -32
- package/components/SVGIcons/IconRedoFilled.d.ts +1 -1
- package/components/SVGIcons/IconRedoFilled.js +1 -32
- package/components/SVGIcons/IconRu.d.ts +1 -1
- package/components/SVGIcons/IconRu.js +6 -61
- package/components/SVGIcons/IconRub.d.ts +1 -1
- package/components/SVGIcons/IconRub.js +1 -29
- package/components/SVGIcons/IconRubFilled.d.ts +1 -1
- package/components/SVGIcons/IconRubFilled.js +1 -29
- package/components/SVGIcons/IconSave.d.ts +1 -1
- package/components/SVGIcons/IconSave.js +1 -32
- package/components/SVGIcons/IconSaveFilled.d.ts +1 -1
- package/components/SVGIcons/IconSaveFilled.js +1 -32
- package/components/SVGIcons/IconSavings.d.ts +1 -1
- package/components/SVGIcons/IconSavings.js +1 -32
- package/components/SVGIcons/IconSavingsFilled.d.ts +1 -1
- package/components/SVGIcons/IconSavingsFilled.js +1 -32
- package/components/SVGIcons/IconSearch.d.ts +1 -1
- package/components/SVGIcons/IconSearch.js +1 -32
- package/components/SVGIcons/IconSearchFilled.d.ts +1 -1
- package/components/SVGIcons/IconSearchFilled.js +1 -32
- package/components/SVGIcons/IconSelectAllOff.d.ts +1 -1
- package/components/SVGIcons/IconSelectAllOff.js +1 -32
- package/components/SVGIcons/IconSelectAllOffFilled.d.ts +1 -1
- package/components/SVGIcons/IconSelectAllOffFilled.js +1 -32
- package/components/SVGIcons/IconSelectAllOn.d.ts +1 -1
- package/components/SVGIcons/IconSelectAllOn.js +1 -32
- package/components/SVGIcons/IconSelectAllOnFilled.d.ts +1 -1
- package/components/SVGIcons/IconSelectAllOnFilled.js +1 -32
- package/components/SVGIcons/IconSend.d.ts +1 -1
- package/components/SVGIcons/IconSend.js +1 -32
- package/components/SVGIcons/IconSendFilled.d.ts +1 -1
- package/components/SVGIcons/IconSendFilled.js +1 -32
- package/components/SVGIcons/IconSettings.d.ts +1 -1
- package/components/SVGIcons/IconSettings.js +1 -29
- package/components/SVGIcons/IconSettingsFilled.d.ts +1 -1
- package/components/SVGIcons/IconSettingsFilled.js +1 -32
- package/components/SVGIcons/IconShare.d.ts +1 -1
- package/components/SVGIcons/IconShare.js +1 -32
- package/components/SVGIcons/IconShareAndroid.d.ts +1 -1
- package/components/SVGIcons/IconShareAndroid.js +1 -32
- package/components/SVGIcons/IconShareAndroidFilled.d.ts +1 -1
- package/components/SVGIcons/IconShareAndroidFilled.js +1 -32
- package/components/SVGIcons/IconShareFilled.d.ts +1 -1
- package/components/SVGIcons/IconShareFilled.js +1 -32
- package/components/SVGIcons/IconSignOut.d.ts +1 -1
- package/components/SVGIcons/IconSignOut.js +1 -32
- package/components/SVGIcons/IconSignOutFilled.d.ts +1 -1
- package/components/SVGIcons/IconSignOutFilled.js +1 -32
- package/components/SVGIcons/IconSpinner.d.ts +1 -1
- package/components/SVGIcons/IconSpinner.js +1 -32
- package/components/SVGIcons/IconSpinnerFilled.d.ts +1 -1
- package/components/SVGIcons/IconSpinnerFilled.js +1 -32
- package/components/SVGIcons/IconStatus.d.ts +1 -1
- package/components/SVGIcons/IconStatus.js +1 -32
- package/components/SVGIcons/IconStatusFilled.d.ts +1 -1
- package/components/SVGIcons/IconStatusFilled.js +1 -32
- package/components/SVGIcons/IconSubtract.d.ts +1 -1
- package/components/SVGIcons/IconSubtract.js +1 -32
- package/components/SVGIcons/IconSubtractCircle.d.ts +1 -1
- package/components/SVGIcons/IconSubtractCircle.js +1 -32
- package/components/SVGIcons/IconSubtractCircleFilled.d.ts +1 -1
- package/components/SVGIcons/IconSubtractCircleFilled.js +1 -32
- package/components/SVGIcons/IconSubtractFilled.d.ts +1 -1
- package/components/SVGIcons/IconSubtractFilled.js +1 -32
- package/components/SVGIcons/IconTableCellEdit.d.ts +1 -1
- package/components/SVGIcons/IconTableCellEdit.js +3 -36
- package/components/SVGIcons/IconTableCellEditFilled.d.ts +1 -1
- package/components/SVGIcons/IconTableCellEditFilled.js +5 -42
- package/components/SVGIcons/IconTelegram.d.ts +1 -1
- package/components/SVGIcons/IconTelegram.js +3 -41
- package/components/SVGIcons/IconTimer.d.ts +1 -1
- package/components/SVGIcons/IconTimer.js +1 -32
- package/components/SVGIcons/IconTimerFilled.d.ts +1 -1
- package/components/SVGIcons/IconTimerFilled.js +1 -32
- package/components/SVGIcons/IconTrophy.d.ts +1 -1
- package/components/SVGIcons/IconTrophy.js +1 -29
- package/components/SVGIcons/IconTrophyFilled.d.ts +1 -1
- package/components/SVGIcons/IconTrophyFilled.js +1 -29
- package/components/SVGIcons/IconTwitter.d.ts +1 -1
- package/components/SVGIcons/IconTwitter.js +1 -32
- package/components/SVGIcons/IconUndo.d.ts +1 -1
- package/components/SVGIcons/IconUndo.js +1 -32
- package/components/SVGIcons/IconUndoFilled.d.ts +1 -1
- package/components/SVGIcons/IconUndoFilled.js +1 -32
- package/components/SVGIcons/IconUnitsEmployee.d.ts +1 -1
- package/components/SVGIcons/IconUnitsEmployee.js +1 -29
- package/components/SVGIcons/IconUpload.d.ts +1 -1
- package/components/SVGIcons/IconUpload.js +1 -29
- package/components/SVGIcons/IconUs.d.ts +1 -1
- package/components/SVGIcons/IconUs.js +11 -72
- package/components/SVGIcons/IconUsd.d.ts +1 -1
- package/components/SVGIcons/IconUsd.js +1 -29
- package/components/SVGIcons/IconUsdFilled.d.ts +1 -1
- package/components/SVGIcons/IconUsdFilled.js +1 -29
- package/components/SVGIcons/IconUserMinus.d.ts +1 -1
- package/components/SVGIcons/IconUserMinus.js +1 -32
- package/components/SVGIcons/IconVideo.d.ts +1 -1
- package/components/SVGIcons/IconVideo.js +1 -29
- package/components/SVGIcons/IconVideoFilled.d.ts +1 -1
- package/components/SVGIcons/IconVideoFilled.js +1 -29
- package/components/SVGIcons/IconWallet.d.ts +1 -1
- package/components/SVGIcons/IconWallet.js +1 -32
- package/components/SVGIcons/IconWalletFilled.d.ts +1 -1
- package/components/SVGIcons/IconWalletFilled.js +1 -32
- package/components/SVGIcons/IconWarning.d.ts +1 -1
- package/components/SVGIcons/IconWarning.js +1 -29
- package/components/SVGIcons/IconWarningFilled.d.ts +1 -1
- package/components/SVGIcons/IconWarningFilled.js +1 -29
- package/components/SVGIcons/IconYoutube.d.ts +1 -1
- package/components/SVGIcons/IconYoutube.js +1 -32
- package/components/SVGIcons/icon-names.js +1 -3
- package/components/SVGIcons/index.d.ts +319 -319
- package/components/SVGIcons/index.js +1 -322
- package/components/Select/ButtonSelect/ButtonSelect.js +3 -200
- package/components/Select/FilterSelect/FilterDropdown.js +3 -98
- package/components/Select/FilterSelect/FilterGroupDropdown.js +4 -85
- package/components/Select/FilterSelect/FilterSelect.js +4 -204
- package/components/Select/MultiSelect/DesktopWrapper.js +1 -56
- package/components/Select/MultiSelect/MobileWrapper.js +2 -80
- package/components/Select/MultiSelect/MultiBase/MultiBase.js +5 -216
- package/components/Select/MultiSelect/MultiSelect.js +3 -251
- package/components/Select/MultiSelect/MultiSelectGrouped/MultiSelectGrouped.js +7 -270
- package/components/Select/MultiSelect/MultiSelectWithTabs/MultiSelectWithTabs.js +7 -255
- package/components/Select/MultiSelect/OptionsWrapper.js +1 -179
- package/components/Select/NestedSelect/NestedSelect.js +4 -202
- package/components/Select/ProfileDropdown/index.js +10 -83
- package/components/Select/Select/Select.js +2 -259
- package/components/Select/Select/SelectDesktop/index.js +2 -225
- package/components/Select/Select/SelectMobile/MobileTopContent.js +2 -93
- package/components/Select/Select/SelectMobile/index.js +5 -198
- package/components/Select/Select/helpers.js +1 -10
- package/components/Select/SharedComponents/Actions.js +3 -118
- package/components/Select/SharedComponents/ButtonSelectWrapper/Button/Button.js +3 -44
- package/components/Select/SharedComponents/ButtonSelectWrapper/ButtonSelectWrapper.js +3 -134
- package/components/Select/SharedComponents/ContentTop.js +3 -181
- package/components/Select/SharedComponents/Footer.js +6 -101
- package/components/Select/SharedComponents/InputSelectWrapper/InputSelectWrapper.js +3 -168
- package/components/Select/SharedComponents/Loading.js +2 -17
- package/components/Select/SharedComponents/index.js +1 -94
- package/components/Select/constants.js +1 -9
- package/components/Select/index.js +1 -116
- package/components/Select/localization.js +1 -31
- package/components/SideSheet/Footer/Footer.js +5 -103
- package/components/SideSheet/SideSheet.js +8 -213
- package/components/SideSheet/index.js +1 -58
- package/components/Snackbar/Snackbar.js +5 -125
- package/components/Snackbar/consts.js +1 -15
- package/components/Snackbar/index.js +1 -56
- package/components/Status/Status.js +4 -53
- package/components/Status/index.js +1 -8
- package/components/Stepper/Stepper.js +2 -45
- package/components/Stepper/index.js +1 -3
- package/components/Switcher/Switcher.js +5 -124
- package/components/Switcher/index.js +1 -56
- package/components/Tab/Tab.js +2 -39
- package/components/Tab/TabItem.js +3 -54
- package/components/Tab/index.js +1 -11
- package/components/Table/Header.js +4 -134
- package/components/Table/IndeterminateCheckbox.js +1 -84
- package/components/Table/Row.js +3 -109
- package/components/Table/Table.js +6 -206
- package/components/Table/index.js +1 -65
- package/components/Table/localization.js +1 -13
- package/components/Table/utils.js +3 -106
- package/components/TableV2/AdvancedPagination.js +12 -273
- package/components/TableV2/ColumnHeader.js +6 -64
- package/components/TableV2/ColumnSettings.js +8 -166
- package/components/TableV2/IndeterminateCheckbox.js +2 -87
- package/components/TableV2/Table.js +8 -322
- package/components/TableV2/constants/index.js +1 -23
- package/components/TableV2/hooks/useTableColumnSettings.js +1 -20
- package/components/TableV2/hooks/useTableControl.js +1 -308
- package/components/TableV2/index.js +1 -134
- package/components/TableV2/loadTableSettings.js +1 -18
- package/components/Text/Text.js +2 -36
- package/components/Text/index.js +1 -5
- package/components/Textarea/Textarea.js +6 -146
- package/components/Textarea/index.js +1 -58
- package/components/Tooltip/Tooltip.js +1 -103
- package/components/Tooltip/index.js +1 -18
- package/components/Tooltip/types.js +1 -13
- package/components/UnderConstruction/UnderConstruction.js +6 -38
- package/components/UnderConstruction/index.js +1 -8
- package/components/UnderConstruction/localization.js +1 -16
- package/consts/index.js +1 -67
- package/context/FormContextProvider.js +1 -12
- package/context/index.js +1 -5
- package/context/types.js +1 -12
- package/helperComponents/AnimatePresenceWrapper/AnimatePresenceWrapper.js +2 -15
- package/helperComponents/AnimatePresenceWrapper/index.js +1 -3
- package/helperComponents/CodeBlock/CodeBlock.js +2 -25
- package/helperComponents/CodeBlock/index.js +1 -4
- package/helperComponents/ErrorMessage/ErrorMessage.js +2 -27
- package/helperComponents/ErrorMessage/index.js +1 -8
- package/helperComponents/GoToWebPage/GoToWebPage.js +1 -69
- package/helperComponents/Label/Label.js +1 -29
- package/helperComponents/Label/index.js +1 -6
- package/helperComponents/Loader/Loader.js +2 -15
- package/helperComponents/Loader/index.js +1 -2
- package/helperComponents/OptionItem/OptionItem.js +5 -152
- package/helperComponents/OptionItem/index.js +1 -66
- package/helpers/check-authorization.js +1 -116
- package/helpers/download-file.js +1 -10
- package/helpers/format-date.js +1 -25
- package/helpers/get-module-prefix.js +1 -6
- package/helpers/index.js +1 -61
- package/helpers/isDeepEqual.js +1 -18
- package/helpers/locale.js +1 -17
- package/helpers/storage.js +1 -20
- package/hooks/index.js +1 -21
- package/hooks/useChangePositionsOnScroll.js +1 -34
- package/hooks/useDispatchEventOnScroll.js +1 -14
- package/hooks/useFieldArray.js +1 -1
- package/hooks/useFormContext.js +1 -10
- package/hooks/useFormProps.js +1 -10
- package/hooks/useGetElemPositions.js +1 -19
- package/hooks/useGetElemSizes.js +1 -16
- package/hooks/useGetHasBottomSpace.js +1 -26
- package/hooks/useGetIsMobile.js +1 -49
- package/hooks/useGetTooltipPosition.js +1 -85
- package/hooks/useGetTooltipStyles.js +1 -89
- package/hooks/useHideBodyScroll.js +1 -35
- package/hooks/useHideOnScroll.js +1 -27
- package/hooks/useOnOutsideClick.js +1 -52
- package/hooks/useScreenSize.js +1 -38
- package/index.js +1 -518
- package/package.json +6 -4
- package/type/file-upload.js +1 -8
- package/type/index.js +1 -4
- package/type/locale.js +1 -14
- package/type/notification.js +1 -9
- package/type/status-code.js +1 -9
- package/types.d.js +0 -1
- package/utils/helpers.js +1 -89
- package/Alert-C_U8td2x.js +0 -761
- package/assets/images/under-construction.svg +0 -9
- package/assets/styles/styles.scss +0 -1
- package/components/Alert/types.js +0 -1
- package/components/Avatar/types.js +0 -1
- package/components/Badge/types.js +0 -1
- package/components/Breadcrumb/types.js +0 -1
- package/components/Button/types.js +0 -1
- package/components/ButtonGroup/types.js +0 -1
- package/components/Card/types.js +0 -1
- package/components/CardGroup/types.js +0 -1
- package/components/Checkbox/types.js +0 -1
- package/components/Collapse/types.js +0 -1
- package/components/Container/types.js +0 -1
- package/components/Copy/types.js +0 -1
- package/components/Counter/types.js +0 -1
- package/components/Divider/types.js +0 -1
- package/components/Empty/types.js +0 -1
- package/components/FormContainer/types.js +0 -1
- package/components/FormField/types.js +0 -1
- package/components/Heading/types.js +0 -1
- package/components/Image/types.js +0 -1
- package/components/Input/types.js +0 -1
- package/components/Link/types.js +0 -1
- package/components/Menu/types.js +0 -1
- package/components/Modal/types.js +0 -1
- package/components/More/types.js +0 -1
- package/components/Pagination/types.js +0 -1
- package/components/Popover/types.js +0 -1
- package/components/Progress/types.js +0 -1
- package/components/Radio/types.js +0 -1
- package/components/SVGIcons/types.js +0 -1
- package/components/Select/types.js +0 -1
- package/components/SideSheet/types.js +0 -1
- package/components/Snackbar/types.js +0 -1
- package/components/Status/types.js +0 -1
- package/components/Stepper/types.js +0 -1
- package/components/Switcher/types.js +0 -1
- package/components/Tab/types.js +0 -1
- package/components/Table/types.js +0 -1
- package/components/TableV2/types.js +0 -1
- package/components/Text/types.js +0 -1
- package/components/Textarea/types.js +0 -1
- package/components/UnderConstruction/types.js +0 -1
- package/helperComponents/ErrorMessage/types.js +0 -1
- package/helperComponents/Label/types.js +0 -1
- package/helperComponents/Loader/types.js +0 -1
- package/helperComponents/OptionItem/types.js +0 -1
- package/helperComponents/index.d.ts +0 -5
- package/helperComponents/index.js +0 -67
|
@@ -1,194 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import { noop, getYearOptions } from '../../../utils/helpers.js';
|
|
9
|
-
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
10
|
-
import '@babel/runtime/helpers/extends';
|
|
11
|
-
import '@babel/runtime/helpers/defineProperty';
|
|
12
|
-
import '../../../consts/index.js';
|
|
13
|
-
import '../../../hooks/useScreenSize.js';
|
|
14
|
-
import 'react-hook-form';
|
|
15
|
-
import '../../../Alert-C_U8td2x.js';
|
|
16
|
-
import 'react-syntax-highlighter';
|
|
17
|
-
import 'react-syntax-highlighter/dist/esm/styles/prism';
|
|
18
|
-
import { ButtonSelect } from '../../Select/ButtonSelect/ButtonSelect.js';
|
|
19
|
-
import { IconChevronLeft } from '../../SVGIcons/IconChevronLeft.js';
|
|
20
|
-
import { IconChevronRight } from '../../SVGIcons/IconChevronRight.js';
|
|
21
|
-
import { generateMonthOptions } from './helpers.js';
|
|
22
|
-
import '../../../hooks/useGetIsMobile.js';
|
|
23
|
-
import '../../../type/file-upload.js';
|
|
24
|
-
import '../../Select/Select/SelectDesktop/index.js';
|
|
25
|
-
import 'react-window';
|
|
26
|
-
import '../../Text/Text.js';
|
|
27
|
-
import 'dayjs';
|
|
28
|
-
import '../../../helperComponents/OptionItem/OptionItem.js';
|
|
29
|
-
import '../../Avatar/Avatar.js';
|
|
30
|
-
import '../../FileUpload/FileUpload.js';
|
|
31
|
-
import '../../FileUpload/types.js';
|
|
32
|
-
import '../../../helperComponents/Label/Label.js';
|
|
33
|
-
import '../../FileUpload/UploadItems.js';
|
|
34
|
-
import '../../../hooks/useFormProps.js';
|
|
35
|
-
import '../../../context/types.js';
|
|
36
|
-
import '../../../helperComponents/ErrorMessage/ErrorMessage.js';
|
|
37
|
-
import '../../IconDynamicComponent/IconDynamicComponent.js';
|
|
38
|
-
import '../../SVGIcons/IconDelete.js';
|
|
39
|
-
import '../../Alert/consts.js';
|
|
40
|
-
import '../../../helperComponents/Loader/Loader.js';
|
|
41
|
-
import 'react-dropzone';
|
|
42
|
-
import '../../SVGIcons/IconUpload.js';
|
|
43
|
-
import '../../../helpers/format-date.js';
|
|
44
|
-
import 'dayjs/plugin/utc';
|
|
45
|
-
import '../../../helpers/locale.js';
|
|
46
|
-
import '../../../type/locale.js';
|
|
47
|
-
import '../../../helpers/storage.js';
|
|
48
|
-
import 'react-toastify';
|
|
49
|
-
import 'motion/react';
|
|
50
|
-
import '../../../helperComponents/AnimatePresenceWrapper/AnimatePresenceWrapper.js';
|
|
51
|
-
import '../../../hooks/useOnOutsideClick.js';
|
|
52
|
-
import '../../../hooks/useHideBodyScroll.js';
|
|
53
|
-
import '../../SVGIcons/IconDismiss.js';
|
|
54
|
-
import '../../Tooltip/types.js';
|
|
55
|
-
import '../../Tooltip/Tooltip.js';
|
|
56
|
-
import '../../../hooks/useGetTooltipStyles.js';
|
|
57
|
-
import '../../../hooks/useGetElemSizes.js';
|
|
58
|
-
import '../../../hooks/useGetElemPositions.js';
|
|
59
|
-
import '../../../hooks/useGetTooltipPosition.js';
|
|
60
|
-
import '../../../hooks/useHideOnScroll.js';
|
|
61
|
-
import '../../Link/Link.js';
|
|
62
|
-
import '../../Popover/PopoverDesktop.js';
|
|
63
|
-
import '../../SVGIcons/IconInfo.js';
|
|
64
|
-
import 'react-toastify/dist/ReactToastify.css';
|
|
65
|
-
import '@babel/runtime/helpers/typeof';
|
|
66
|
-
import '../../SVGIcons/IconDismissFilled.js';
|
|
67
|
-
import '../../FileUpload/DropzoneFileUpload/FilePreview.js';
|
|
68
|
-
import '../../Progress/Progress.js';
|
|
69
|
-
import '../../SVGIcons/IconArrowDownloadFilled.js';
|
|
70
|
-
import '../../../helpers/download-file.js';
|
|
71
|
-
import '../../Button/consts.js';
|
|
72
|
-
import '../../SVGIcons/IconEditFilled.js';
|
|
73
|
-
import '../../SVGIcons/IconEdit.js';
|
|
74
|
-
import '../../SVGIcons/IconAttach.js';
|
|
75
|
-
import '../../SVGIcons/IconCheckmark.js';
|
|
76
|
-
import '../../../hooks/useGetHasBottomSpace.js';
|
|
77
|
-
import '../../../hooks/useChangePositionsOnScroll.js';
|
|
78
|
-
import '../../Empty/Empty.js';
|
|
79
|
-
import '../../Image/Image.js';
|
|
80
|
-
import 'react-dom';
|
|
81
|
-
import '../../Collapse/CollapseGroup/CollapseGroup.js';
|
|
82
|
-
import '../../Collapse/CollapseItem/CollapseItem.js';
|
|
83
|
-
import '../../Divider/Divider.js';
|
|
84
|
-
import '../../SVGIcons/IconChevronDown.js';
|
|
85
|
-
import '../../Select/SharedComponents/ContentTop.js';
|
|
86
|
-
import '../../Select/SharedComponents/Actions.js';
|
|
87
|
-
import '../../Menu/Menu.js';
|
|
88
|
-
import '../../SVGIcons/IconMore.js';
|
|
89
|
-
import '../../SVGIcons/IconSearchFilled.js';
|
|
90
|
-
import '../../SVGIcons/IconSelectAllOff.js';
|
|
91
|
-
import '../../Select/SharedComponents/Loading.js';
|
|
92
|
-
import '../../Select/constants.js';
|
|
93
|
-
import '../../Select/Select/helpers.js';
|
|
94
|
-
import '../../Select/Select/SelectMobile/index.js';
|
|
95
|
-
import '../../Select/Select/SelectMobile/MobileTopContent.js';
|
|
96
|
-
import '../../SVGIcons/IconChevronUp.js';
|
|
97
|
-
import '../../Select/localization.js';
|
|
98
|
-
import '../../Select/MultiSelect/OptionsWrapper.js';
|
|
99
|
-
import '../../Select/MultiSelect/MultiSelectGrouped/MultiSelectGrouped.js';
|
|
100
|
-
import '../../SVGIcons/IconCaretDownFilled.js';
|
|
101
|
-
import '../../SVGIcons/IconCaretUpFilled.js';
|
|
102
|
-
import '../../Select/MultiSelect/MultiBase/MultiBase.js';
|
|
103
|
-
import '../../Select/MultiSelect/MultiSelectWithTabs/MultiSelectWithTabs.js';
|
|
104
|
-
import '../../Tab/Tab.js';
|
|
105
|
-
import '../../Tab/TabItem.js';
|
|
106
|
-
import '../../Badge/Badge.js';
|
|
107
|
-
import '../../Select/SharedComponents/Footer.js';
|
|
108
|
-
import '../../Select/SharedComponents/InputSelectWrapper/InputSelectWrapper.js';
|
|
109
|
-
import '../../Select/MultiSelect/MobileWrapper.js';
|
|
110
|
-
import '../../Select/MultiSelect/DesktopWrapper.js';
|
|
111
|
-
import '../../Select/SharedComponents/ButtonSelectWrapper/ButtonSelectWrapper.js';
|
|
112
|
-
import '../../Select/SharedComponents/ButtonSelectWrapper/Button/Button.js';
|
|
113
|
-
import 'react-input-mask';
|
|
114
|
-
import 'react-number-format';
|
|
115
|
-
import '../../SVGIcons/IconCheckmarkCircleFilled.js';
|
|
116
|
-
import '../localization.js';
|
|
117
|
-
|
|
118
|
-
var CustomHeader = function CustomHeader(props) {
|
|
119
|
-
var date = props.date,
|
|
120
|
-
dataPrefix = props.dataPrefix,
|
|
121
|
-
changeYear = props.changeYear,
|
|
122
|
-
changeMonth = props.changeMonth,
|
|
123
|
-
decreaseMonth = props.decreaseMonth,
|
|
124
|
-
increaseMonth = props.increaseMonth,
|
|
125
|
-
startYear = props.startYear,
|
|
126
|
-
endYear = props.endYear,
|
|
127
|
-
prevMonthButtonDisabled = props.prevMonthButtonDisabled,
|
|
128
|
-
nextMonthButtonDisabled = props.nextMonthButtonDisabled,
|
|
129
|
-
locale = props.locale,
|
|
130
|
-
_props$isMobile = props.isMobile,
|
|
131
|
-
isMobile = _props$isMobile === void 0 ? false : _props$isMobile;
|
|
132
|
-
var months = generateMonthOptions(locale);
|
|
133
|
-
var getMonthLabel = function getMonthLabel(month) {
|
|
134
|
-
var selectMonth = months.find(function (item) {
|
|
135
|
-
return item.value === month;
|
|
136
|
-
});
|
|
137
|
-
return selectMonth === null || selectMonth === void 0 ? void 0 : selectMonth.label.toString();
|
|
138
|
-
};
|
|
139
|
-
var month = date === null || date === void 0 ? void 0 : date.getMonth();
|
|
140
|
-
var year = date === null || date === void 0 ? void 0 : date.getFullYear();
|
|
141
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
142
|
-
className: "flexbox custom_header_container"
|
|
143
|
-
}, /*#__PURE__*/React.createElement(IconChevronLeft, {
|
|
144
|
-
size: "small",
|
|
145
|
-
className: "cursor-pointer",
|
|
146
|
-
dataId: dataPrefix ? "".concat(dataPrefix, "-prev-month-button") : '',
|
|
147
|
-
onClick: prevMonthButtonDisabled ? noop : decreaseMonth,
|
|
148
|
-
type: prevMonthButtonDisabled ? 'disabled' : 'primary'
|
|
149
|
-
}), /*#__PURE__*/React.createElement("div", {
|
|
150
|
-
className: "selects_container"
|
|
151
|
-
}, /*#__PURE__*/React.createElement(ButtonSelect, {
|
|
152
|
-
size: "small",
|
|
153
|
-
type: "tertiary",
|
|
154
|
-
className: "date_picker_select",
|
|
155
|
-
offsets: isMobile ? {} : {
|
|
156
|
-
top: 42,
|
|
157
|
-
left: 48
|
|
158
|
-
},
|
|
159
|
-
placeHolder: getMonthLabel(month),
|
|
160
|
-
dataId: dataPrefix ? "".concat(dataPrefix, "-month-select") : '',
|
|
161
|
-
options: months,
|
|
162
|
-
selectedItem: month,
|
|
163
|
-
setSelectedItem: function setSelectedItem(m) {
|
|
164
|
-
return changeMonth(m);
|
|
165
|
-
},
|
|
166
|
-
dropdownWidth: 150,
|
|
167
|
-
isRequiredField: true
|
|
168
|
-
}), /*#__PURE__*/React.createElement(ButtonSelect, {
|
|
169
|
-
type: "tertiary",
|
|
170
|
-
className: "date_picker_select",
|
|
171
|
-
offsets: isMobile ? {} : {
|
|
172
|
-
top: 42,
|
|
173
|
-
left: 138
|
|
174
|
-
},
|
|
175
|
-
placeHolder: year.toString(),
|
|
176
|
-
dataId: dataPrefix ? "".concat(dataPrefix, "-year-select") : '',
|
|
177
|
-
size: "small",
|
|
178
|
-
options: getYearOptions(startYear, endYear),
|
|
179
|
-
selectedItem: year,
|
|
180
|
-
setSelectedItem: function setSelectedItem(y) {
|
|
181
|
-
return changeYear(y);
|
|
182
|
-
},
|
|
183
|
-
dropdownWidth: 100,
|
|
184
|
-
isRequiredField: true
|
|
185
|
-
})), /*#__PURE__*/React.createElement(IconChevronRight, {
|
|
186
|
-
size: "small",
|
|
187
|
-
className: "cursor-pointer",
|
|
188
|
-
dataId: dataPrefix ? "".concat(dataPrefix, "-next-month-button") : '',
|
|
189
|
-
onClick: nextMonthButtonDisabled ? noop : increaseMonth,
|
|
190
|
-
type: nextMonthButtonDisabled ? 'disabled' : 'primary'
|
|
191
|
-
}));
|
|
192
|
-
};
|
|
193
|
-
|
|
194
|
-
export { CustomHeader };
|
|
1
|
+
import{jsxs as p,jsx as r}from"react/jsx-runtime";import"../../Select/Select/Select.js";import"../../Select/MultiSelect/MultiSelect.js";import"react";import"../../Input/Input.js";import"classnames";import{noop as d,getYearOptions as N}from"../../../utils/helpers.js";import"../../../consts/index.js";import"../../../context/types.js";import"../../../hooks/useScreenSize.js";import"react-hook-form";import"../../FileUpload/DropzoneFileUpload/DropzoneFileUpload.js";import"../../Checkbox/Checkbox.js";import{ButtonSelect as h}from"../../Select/ButtonSelect/ButtonSelect.js";import C from"../../SVGIcons/IconChevronLeft.js";import S from"../../SVGIcons/IconChevronRight.js";import{generateMonthOptions as Y}from"./helpers.js";const G=e=>{const{date:t,dataPrefix:o,changeYear:s,changeMonth:l,decreaseMonth:a,increaseMonth:i,startYear:n,endYear:c,prevMonthButtonDisabled:m,nextMonthButtonDisabled:u,locale:f,isMobile:j=!1}=e,I=Y(f),x=null==t?void 0:t.getMonth(),b=null==t?void 0:t.getFullYear();/* @__PURE__ */
|
|
2
|
+
return p("div",{className:"flexbox custom_header_container",children:[
|
|
3
|
+
/* @__PURE__ */r(C,{size:"small",className:"cursor-pointer",dataId:o?`${o}-prev-month-button`:"",onClick:m?d:a,type:m?"disabled":"primary"}),
|
|
4
|
+
/* @__PURE__ */p("div",{className:"selects_container",children:[
|
|
5
|
+
/* @__PURE__ */r(h,{size:"small",type:"tertiary",className:"date_picker_select",offsets:j?{}:{top:42,left:48},placeHolder:(e=>{const t=I.find(t=>t.value===e);return null==t?void 0:t.label.toString()})(x),dataId:o?`${o}-month-select`:"",options:I,selectedItem:x,setSelectedItem:e=>l(e),dropdownWidth:150,isRequiredField:!0}),
|
|
6
|
+
/* @__PURE__ */r(h,{type:"tertiary",className:"date_picker_select",offsets:j?{}:{top:42,left:138},placeHolder:b.toString(),dataId:o?`${o}-year-select`:"",size:"small",options:N(n,c),selectedItem:b,setSelectedItem:e=>s(e),dropdownWidth:100,isRequiredField:!0})]}),
|
|
7
|
+
/* @__PURE__ */r(S,{size:"small",className:"cursor-pointer",dataId:o?`${o}-next-month-button`:"",onClick:u?d:i,type:u?"disabled":"primary"})]})};export{G as CustomHeader};
|
|
@@ -1,17 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
var generateMonthOptions = function generateMonthOptions() {
|
|
4
|
-
var locale = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'hy';
|
|
5
|
-
var defaultLocale = locale;
|
|
6
|
-
if (!MONTHS[locale]) {
|
|
7
|
-
defaultLocale = 'hy';
|
|
8
|
-
}
|
|
9
|
-
return MONTHS[defaultLocale].map(function (month, index) {
|
|
10
|
-
return {
|
|
11
|
-
label: month,
|
|
12
|
-
value: index
|
|
13
|
-
};
|
|
14
|
-
});
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
export { generateMonthOptions };
|
|
1
|
+
import{MONTHS as o}from"../localization.js";const l=(t="hy")=>{let a=t;return o[t]||(a="hy"),o[a].map((o,t)=>({label:o,value:t}))};export{l as generateMonthOptions};
|
|
@@ -1,138 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { RangeDatePickerDesktop } from './RangeDatePickerDesktop.js';
|
|
3
|
-
import { useIsMobile } from '../../../hooks/useGetIsMobile.js';
|
|
4
|
-
import { RangeDatePickerMobile } from './RangeDatePickerMobile.js';
|
|
5
|
-
import '@babel/runtime/helpers/extends';
|
|
6
|
-
import '@babel/runtime/helpers/slicedToArray';
|
|
7
|
-
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
8
|
-
import 'dayjs';
|
|
9
|
-
import 'react-datepicker';
|
|
10
|
-
import '../../Input/Input.js';
|
|
11
|
-
import '@babel/runtime/helpers/defineProperty';
|
|
12
|
-
import 'react-input-mask';
|
|
13
|
-
import 'classnames';
|
|
14
|
-
import 'react-number-format';
|
|
15
|
-
import '../../../helperComponents/Label/Label.js';
|
|
16
|
-
import '../../Text/Text.js';
|
|
17
|
-
import '../../../utils/helpers.js';
|
|
18
|
-
import '../../../helperComponents/ErrorMessage/ErrorMessage.js';
|
|
19
|
-
import '../../IconDynamicComponent/IconDynamicComponent.js';
|
|
20
|
-
import '@babel/runtime/helpers/toConsumableArray';
|
|
21
|
-
import '../../../consts/index.js';
|
|
22
|
-
import '../../../type/file-upload.js';
|
|
23
|
-
import '../../../hooks/useScreenSize.js';
|
|
24
|
-
import 'react-hook-form';
|
|
25
|
-
import '../../../Alert-C_U8td2x.js';
|
|
26
|
-
import '../../Alert/consts.js';
|
|
27
|
-
import '../../../helperComponents/Loader/Loader.js';
|
|
28
|
-
import 'react-dropzone';
|
|
29
|
-
import '../../SVGIcons/IconUpload.js';
|
|
30
|
-
import '../../FileUpload/types.js';
|
|
31
|
-
import '../../../helpers/format-date.js';
|
|
32
|
-
import 'dayjs/plugin/utc';
|
|
33
|
-
import '../../../helpers/locale.js';
|
|
34
|
-
import '../../../type/locale.js';
|
|
35
|
-
import '../../../helpers/storage.js';
|
|
36
|
-
import 'react-toastify';
|
|
37
|
-
import 'motion/react';
|
|
38
|
-
import '../../../helperComponents/AnimatePresenceWrapper/AnimatePresenceWrapper.js';
|
|
39
|
-
import '../../../hooks/useOnOutsideClick.js';
|
|
40
|
-
import '../../../hooks/useHideBodyScroll.js';
|
|
41
|
-
import '../../SVGIcons/IconDismiss.js';
|
|
42
|
-
import '../../Tooltip/types.js';
|
|
43
|
-
import '../../Tooltip/Tooltip.js';
|
|
44
|
-
import '../../../hooks/useGetTooltipStyles.js';
|
|
45
|
-
import '../../../hooks/useGetElemSizes.js';
|
|
46
|
-
import '../../../hooks/useGetElemPositions.js';
|
|
47
|
-
import '../../../hooks/useGetTooltipPosition.js';
|
|
48
|
-
import '../../../hooks/useHideOnScroll.js';
|
|
49
|
-
import 'react-syntax-highlighter';
|
|
50
|
-
import 'react-syntax-highlighter/dist/esm/styles/prism';
|
|
51
|
-
import '../../Link/Link.js';
|
|
52
|
-
import '../../Popover/PopoverDesktop.js';
|
|
53
|
-
import '../../SVGIcons/IconInfo.js';
|
|
54
|
-
import 'react-toastify/dist/ReactToastify.css';
|
|
55
|
-
import '@babel/runtime/helpers/typeof';
|
|
56
|
-
import '../../SVGIcons/IconDismissFilled.js';
|
|
57
|
-
import '../../SVGIcons/IconDelete.js';
|
|
58
|
-
import '../../FileUpload/DropzoneFileUpload/FilePreview.js';
|
|
59
|
-
import '../../Progress/Progress.js';
|
|
60
|
-
import '../../SVGIcons/IconArrowDownloadFilled.js';
|
|
61
|
-
import '../../../helpers/download-file.js';
|
|
62
|
-
import '../../Button/consts.js';
|
|
63
|
-
import '../../SVGIcons/IconCheckmarkCircleFilled.js';
|
|
64
|
-
import '../types.js';
|
|
65
|
-
import '../hooks.js';
|
|
66
|
-
import '@babel/runtime/helpers/asyncToGenerator';
|
|
67
|
-
import '@babel/runtime/regenerator';
|
|
68
|
-
import 'date-fns/locale/hy';
|
|
69
|
-
import 'date-fns/locale/en-GB';
|
|
70
|
-
import 'date-fns/locale/ru';
|
|
71
|
-
import 'dayjs/locale/hy-am';
|
|
72
|
-
import 'dayjs/locale/ru';
|
|
73
|
-
import 'dayjs/locale/en';
|
|
74
|
-
import '../../SVGIcons/IconCalendarRight.js';
|
|
75
|
-
import '../CustomHeader/CustomHeader.js';
|
|
76
|
-
import '../../Select/Select/Select.js';
|
|
77
|
-
import '../../Select/Select/SelectDesktop/index.js';
|
|
78
|
-
import 'react-window';
|
|
79
|
-
import '../../../helperComponents/OptionItem/OptionItem.js';
|
|
80
|
-
import '../../Avatar/Avatar.js';
|
|
81
|
-
import '../../FileUpload/FileUpload.js';
|
|
82
|
-
import '../../FileUpload/UploadItems.js';
|
|
83
|
-
import '../../../hooks/useFormProps.js';
|
|
84
|
-
import '../../../context/types.js';
|
|
85
|
-
import '../../SVGIcons/IconEditFilled.js';
|
|
86
|
-
import '../../SVGIcons/IconEdit.js';
|
|
87
|
-
import '../../SVGIcons/IconAttach.js';
|
|
88
|
-
import '../../SVGIcons/IconCheckmark.js';
|
|
89
|
-
import '../../../hooks/useGetHasBottomSpace.js';
|
|
90
|
-
import '../../../hooks/useChangePositionsOnScroll.js';
|
|
91
|
-
import '../../Empty/Empty.js';
|
|
92
|
-
import '../../Image/Image.js';
|
|
93
|
-
import 'react-dom';
|
|
94
|
-
import '../../Collapse/CollapseGroup/CollapseGroup.js';
|
|
95
|
-
import '../../Collapse/CollapseItem/CollapseItem.js';
|
|
96
|
-
import '../../SVGIcons/IconChevronRight.js';
|
|
97
|
-
import '../../Divider/Divider.js';
|
|
98
|
-
import '../../SVGIcons/IconChevronDown.js';
|
|
99
|
-
import '../../Select/SharedComponents/ContentTop.js';
|
|
100
|
-
import '../../Select/SharedComponents/Actions.js';
|
|
101
|
-
import '../../Menu/Menu.js';
|
|
102
|
-
import '../../SVGIcons/IconMore.js';
|
|
103
|
-
import '../../SVGIcons/IconSearchFilled.js';
|
|
104
|
-
import '../../SVGIcons/IconSelectAllOff.js';
|
|
105
|
-
import '../../SVGIcons/IconChevronLeft.js';
|
|
106
|
-
import '../../Select/SharedComponents/Loading.js';
|
|
107
|
-
import '../../Select/constants.js';
|
|
108
|
-
import '../../Select/Select/helpers.js';
|
|
109
|
-
import '../../Select/Select/SelectMobile/index.js';
|
|
110
|
-
import '../../Select/Select/SelectMobile/MobileTopContent.js';
|
|
111
|
-
import '../../SVGIcons/IconChevronUp.js';
|
|
112
|
-
import '../../Select/localization.js';
|
|
113
|
-
import '../../Select/MultiSelect/MultiSelect.js';
|
|
114
|
-
import '../../Select/MultiSelect/OptionsWrapper.js';
|
|
115
|
-
import '../../Select/MultiSelect/MultiSelectGrouped/MultiSelectGrouped.js';
|
|
116
|
-
import '../../SVGIcons/IconCaretDownFilled.js';
|
|
117
|
-
import '../../SVGIcons/IconCaretUpFilled.js';
|
|
118
|
-
import '../../Select/MultiSelect/MultiBase/MultiBase.js';
|
|
119
|
-
import '../../Select/MultiSelect/MultiSelectWithTabs/MultiSelectWithTabs.js';
|
|
120
|
-
import '../../Tab/Tab.js';
|
|
121
|
-
import '../../Tab/TabItem.js';
|
|
122
|
-
import '../../Badge/Badge.js';
|
|
123
|
-
import '../../Select/SharedComponents/Footer.js';
|
|
124
|
-
import '../../Select/SharedComponents/InputSelectWrapper/InputSelectWrapper.js';
|
|
125
|
-
import '../../Select/MultiSelect/MobileWrapper.js';
|
|
126
|
-
import '../../Select/MultiSelect/DesktopWrapper.js';
|
|
127
|
-
import '../../Select/SharedComponents/ButtonSelectWrapper/ButtonSelectWrapper.js';
|
|
128
|
-
import '../../Select/SharedComponents/ButtonSelectWrapper/Button/Button.js';
|
|
129
|
-
import '../../Select/ButtonSelect/ButtonSelect.js';
|
|
130
|
-
import '../CustomHeader/helpers.js';
|
|
131
|
-
import '../localization.js';
|
|
132
|
-
|
|
133
|
-
var RangeDatePicker = function RangeDatePicker(props) {
|
|
134
|
-
var isMobile = useIsMobile();
|
|
135
|
-
return isMobile ? /*#__PURE__*/React.createElement(RangeDatePickerMobile, props) : /*#__PURE__*/React.createElement(RangeDatePickerDesktop, props);
|
|
136
|
-
};
|
|
137
|
-
|
|
138
|
-
export { RangeDatePicker };
|
|
1
|
+
import{jsx as o}from"react/jsx-runtime";import{RangeDatePickerDesktop as i}from"./RangeDatePickerDesktop.js";import{useIsMobile as r}from"../../../hooks/useGetIsMobile.js";import{RangeDatePickerMobile as t}from"./RangeDatePickerMobile.js";const b=e=>r()?/* @__PURE__ */o(t,{...e}):/* @__PURE__ */o(i,{...e});export{b as RangeDatePicker};
|
|
@@ -1,185 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import dayjs from 'dayjs';
|
|
6
|
-
import DatePicker from 'react-datepicker';
|
|
7
|
-
import { Input } from '../../Input/Input.js';
|
|
8
|
-
import { DateFormat } from '../types.js';
|
|
9
|
-
import { useImportFilesDynamically } from '../hooks.js';
|
|
10
|
-
import { isSameDay } from '../../../utils/helpers.js';
|
|
11
|
-
import { Label } from '../../../helperComponents/Label/Label.js';
|
|
12
|
-
import 'classnames';
|
|
13
|
-
import '@babel/runtime/helpers/toConsumableArray';
|
|
14
|
-
import '@babel/runtime/helpers/defineProperty';
|
|
15
|
-
import '../../../consts/index.js';
|
|
16
|
-
import '../../../hooks/useScreenSize.js';
|
|
17
|
-
import 'react-hook-form';
|
|
18
|
-
import '../../../Alert-C_U8td2x.js';
|
|
19
|
-
import 'react-syntax-highlighter';
|
|
20
|
-
import 'react-syntax-highlighter/dist/esm/styles/prism';
|
|
21
|
-
import { IconCalendarRight } from '../../SVGIcons/IconCalendarRight.js';
|
|
22
|
-
import 'react-input-mask';
|
|
23
|
-
import 'react-number-format';
|
|
24
|
-
import '../../../helperComponents/ErrorMessage/ErrorMessage.js';
|
|
25
|
-
import '../../Text/Text.js';
|
|
26
|
-
import '../../IconDynamicComponent/IconDynamicComponent.js';
|
|
27
|
-
import '../../SVGIcons/IconCheckmarkCircleFilled.js';
|
|
28
|
-
import '../../../type/file-upload.js';
|
|
29
|
-
import '../../Alert/consts.js';
|
|
30
|
-
import '../../../helperComponents/Loader/Loader.js';
|
|
31
|
-
import 'react-dropzone';
|
|
32
|
-
import '../../SVGIcons/IconUpload.js';
|
|
33
|
-
import '../../FileUpload/types.js';
|
|
34
|
-
import '../../../helpers/format-date.js';
|
|
35
|
-
import 'dayjs/plugin/utc';
|
|
36
|
-
import '../../../helpers/locale.js';
|
|
37
|
-
import '../../../type/locale.js';
|
|
38
|
-
import '../../../helpers/storage.js';
|
|
39
|
-
import 'react-toastify';
|
|
40
|
-
import '../../../hooks/useGetIsMobile.js';
|
|
41
|
-
import 'motion/react';
|
|
42
|
-
import '../../../helperComponents/AnimatePresenceWrapper/AnimatePresenceWrapper.js';
|
|
43
|
-
import '../../../hooks/useOnOutsideClick.js';
|
|
44
|
-
import '../../../hooks/useHideBodyScroll.js';
|
|
45
|
-
import '../../SVGIcons/IconDismiss.js';
|
|
46
|
-
import '../../Tooltip/types.js';
|
|
47
|
-
import '../../Tooltip/Tooltip.js';
|
|
48
|
-
import '../../../hooks/useGetTooltipStyles.js';
|
|
49
|
-
import '../../../hooks/useGetElemSizes.js';
|
|
50
|
-
import '../../../hooks/useGetElemPositions.js';
|
|
51
|
-
import '../../../hooks/useGetTooltipPosition.js';
|
|
52
|
-
import '../../../hooks/useHideOnScroll.js';
|
|
53
|
-
import '../../Link/Link.js';
|
|
54
|
-
import '../../Popover/PopoverDesktop.js';
|
|
55
|
-
import '../../SVGIcons/IconInfo.js';
|
|
56
|
-
import 'react-toastify/dist/ReactToastify.css';
|
|
57
|
-
import '@babel/runtime/helpers/typeof';
|
|
58
|
-
import '../../SVGIcons/IconDismissFilled.js';
|
|
59
|
-
import '../../SVGIcons/IconDelete.js';
|
|
60
|
-
import '../../FileUpload/DropzoneFileUpload/FilePreview.js';
|
|
61
|
-
import '../../Progress/Progress.js';
|
|
62
|
-
import '../../SVGIcons/IconArrowDownloadFilled.js';
|
|
63
|
-
import '../../../helpers/download-file.js';
|
|
64
|
-
import '../../Button/consts.js';
|
|
65
|
-
import '@babel/runtime/helpers/asyncToGenerator';
|
|
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';
|
|
73
|
-
|
|
74
|
-
var _excluded = ["value", "currentDates", "setFieldValue", "name", "changeHandler", "dataId", "format", "maxDate", "minDate", "locale", "disabled", "placeholderText", "label", "hasError", "required"];
|
|
75
|
-
var RangeDatePickerDesktop = /*#__PURE__*/forwardRef(function (props, _ref) {
|
|
76
|
-
var value = props.value,
|
|
77
|
-
_props$currentDates = props.currentDates,
|
|
78
|
-
currentDates = _props$currentDates === void 0 ? [] : _props$currentDates,
|
|
79
|
-
setFieldValue = props.setFieldValue,
|
|
80
|
-
name = props.name,
|
|
81
|
-
changeHandler = props.changeHandler,
|
|
82
|
-
dataId = props.dataId,
|
|
83
|
-
_props$format = props.format,
|
|
84
|
-
format = _props$format === void 0 ? DateFormat.LongDate : _props$format,
|
|
85
|
-
maxDate = props.maxDate,
|
|
86
|
-
minDate = props.minDate,
|
|
87
|
-
_props$locale = props.locale,
|
|
88
|
-
locale = _props$locale === void 0 ? 'hy' : _props$locale,
|
|
89
|
-
disabled = props.disabled,
|
|
90
|
-
placeholderText = props.placeholderText,
|
|
91
|
-
label = props.label,
|
|
92
|
-
hasError = props.hasError,
|
|
93
|
-
required = props.required,
|
|
94
|
-
rest = _objectWithoutProperties(props, _excluded);
|
|
95
|
-
useImportFilesDynamically(locale);
|
|
96
|
-
var dateInitialValue = value !== undefined && Array.isArray(value) ? value : currentDates;
|
|
97
|
-
var _useState = useState(dateInitialValue),
|
|
98
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
99
|
-
rangeArray = _useState2[0],
|
|
100
|
-
setRangeDate = _useState2[1];
|
|
101
|
-
var calendarRef = useRef(null);
|
|
102
|
-
var onChange = function onChange(date) {
|
|
103
|
-
if (date && Array.isArray(date)) {
|
|
104
|
-
setRangeDate(date);
|
|
105
|
-
if (changeHandler) {
|
|
106
|
-
changeHandler(date);
|
|
107
|
-
}
|
|
108
|
-
if (setFieldValue && name) {
|
|
109
|
-
setFieldValue(name, date);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
};
|
|
113
|
-
useEffect(function () {
|
|
114
|
-
setRangeDate(dateInitialValue);
|
|
115
|
-
}, [dateInitialValue]);
|
|
116
|
-
if (!Array.isArray(rangeArray)) {
|
|
117
|
-
return null;
|
|
118
|
-
}
|
|
119
|
-
var formatDate = function formatDate(date) {
|
|
120
|
-
return date ? dayjs(date).format(format) : '';
|
|
121
|
-
};
|
|
122
|
-
var checkRange = function checkRange() {
|
|
123
|
-
var _rangeArray = _slicedToArray(rangeArray, 2),
|
|
124
|
-
startDate = _rangeArray[0],
|
|
125
|
-
endDate = _rangeArray[1];
|
|
126
|
-
if (!startDate || !endDate) {
|
|
127
|
-
onChange([null, null]);
|
|
128
|
-
}
|
|
129
|
-
};
|
|
130
|
-
var renderCurrentSelectedDate = function renderCurrentSelectedDate(rangeArray) {
|
|
131
|
-
var _rangeArray2 = _slicedToArray(rangeArray, 2),
|
|
132
|
-
startDate = _rangeArray2[0],
|
|
133
|
-
endDate = _rangeArray2[1];
|
|
134
|
-
var startDateFormatted = formatDate(startDate);
|
|
135
|
-
var endDateFormatted = formatDate(endDate);
|
|
136
|
-
if (isSameDay(startDate, endDate) || !rangeArray[1]) {
|
|
137
|
-
return startDateFormatted;
|
|
138
|
-
}
|
|
139
|
-
return "".concat(startDateFormatted, " - ").concat(endDateFormatted);
|
|
140
|
-
};
|
|
141
|
-
var openDatepicker = function openDatepicker() {
|
|
142
|
-
if (calendarRef.current) {
|
|
143
|
-
var _calendarRef$current, _calendarRef$current2;
|
|
144
|
-
var isOpen = (_calendarRef$current = calendarRef.current) === null || _calendarRef$current === void 0 ? void 0 : _calendarRef$current.isCalendarOpen();
|
|
145
|
-
(_calendarRef$current2 = calendarRef.current) === null || _calendarRef$current2 === void 0 || _calendarRef$current2.setOpen(!isOpen);
|
|
146
|
-
}
|
|
147
|
-
};
|
|
148
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
149
|
-
className: "picker-container input__inner"
|
|
150
|
-
}, /*#__PURE__*/React.createElement(Label, {
|
|
151
|
-
text: label,
|
|
152
|
-
required: required,
|
|
153
|
-
invalid: hasError
|
|
154
|
-
}), /*#__PURE__*/React.createElement(DatePicker, _extends({}, rest, {
|
|
155
|
-
locale: locale,
|
|
156
|
-
minDate: minDate,
|
|
157
|
-
maxDate: maxDate,
|
|
158
|
-
startDate: rangeArray[0],
|
|
159
|
-
endDate: rangeArray[1],
|
|
160
|
-
selectsRange: true,
|
|
161
|
-
disabled: disabled,
|
|
162
|
-
onChange: onChange,
|
|
163
|
-
onClickOutside: checkRange
|
|
164
|
-
// @ts-ignore
|
|
165
|
-
,
|
|
166
|
-
ref: calendarRef,
|
|
167
|
-
customInput: /*#__PURE__*/React.createElement("div", {
|
|
168
|
-
className: "date-picker_input-container"
|
|
169
|
-
}, /*#__PURE__*/React.createElement(Input, {
|
|
170
|
-
dataId: dataId,
|
|
171
|
-
disabled: disabled,
|
|
172
|
-
placeholder: placeholderText
|
|
173
|
-
// @ts-ignore
|
|
174
|
-
,
|
|
175
|
-
currentValue: renderCurrentSelectedDate(rangeArray),
|
|
176
|
-
rightIconProps: {
|
|
177
|
-
Component: IconCalendarRight,
|
|
178
|
-
onClick: openDatepicker
|
|
179
|
-
}
|
|
180
|
-
}))
|
|
181
|
-
})));
|
|
182
|
-
});
|
|
183
|
-
RangeDatePickerDesktop.displayName = 'RangeDatePickerDesktop';
|
|
184
|
-
|
|
185
|
-
export { RangeDatePickerDesktop };
|
|
1
|
+
import{jsxs as N,jsx as o}from"react/jsx-runtime";import{forwardRef as S,useState as V,useRef as E,useEffect as L}from"react";import $ from"dayjs";import q from"react-datepicker";import{Input as w}from"../../Input/Input.js";import{DateFormat as H}from"../types.js";import{useImportFilesDynamically as T}from"../hooks.js";import{isSameDay as z}from"../../../utils/helpers.js";import{Label as B}from"../../../helperComponents/Label/Label.js";import G from"../../SVGIcons/IconCalendarRight.js";const J=S((e,r)=>{const{value:a,currentDates:t=[],setFieldValue:s,name:n,changeHandler:i,dataId:l,format:c=H.LongDate,maxDate:m,minDate:p,locale:u="hy",disabled:d,placeholderText:f,label:D,hasError:h,required:y,...j}=e;T(u);const k=void 0!==a&&Array.isArray(a)?a:t,[I,g]=V(k),x=E(null),b=e=>{e&&Array.isArray(e)&&(g(e),i&&i(e),s&&n&&s(n,e))};if(L(()=>{g(k)},[k]),!Array.isArray(I))return null;const v=e=>e?$(e).format(c):"";/* @__PURE__ */
|
|
2
|
+
return N("div",{className:"picker-container input__inner",children:[
|
|
3
|
+
/* @__PURE__ */o(B,{text:D,required:y,invalid:h}),
|
|
4
|
+
/* @__PURE__ */o(q,{...j,locale:u,minDate:p,maxDate:m,startDate:I[0],endDate:I[1],selectsRange:!0,disabled:d,onChange:b,onClickOutside:()=>{const[e,r]=I;(!e||!r)&&b([null,null])},ref:x,customInput:/* @__PURE__ */o("div",{className:"date-picker_input-container",children:/* @__PURE__ */o(w,{dataId:l,disabled:d,placeholder:f,currentValue:(e=>{const[r,a]=e,t=v(r),s=v(a);return z(r,a)||!e[1]?t:`${t} - ${s}`})(I),rightIconProps:{Component:G,onClick:()=>{var e,r;if(x.current){const a=null==(e=x.current)?void 0:e.isCalendarOpen();null==(r=x.current)||r.setOpen(!a)}}}})})})]})});J.displayName="RangeDatePickerDesktop";export{J as RangeDatePickerDesktop};
|