hrm_ui_lib 2.0.3 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/styles/styles.css +525 -0
- package/assets/styles/styles.scss +3 -1
- package/components/Alert/Alert.js +11 -52
- package/components/Alert/consts.js +12 -14
- package/components/Alert/index.js +1 -52
- package/components/Alert/types.js +1 -1
- package/components/Avatar/Avatar.js +21 -117
- package/components/Avatar/AvatarGroup.js +18 -117
- package/components/Avatar/index.js +2 -64
- package/components/Avatar/types.js +1 -1
- package/components/Badge/Badge.js +5 -22
- package/components/Badge/index.js +1 -6
- package/components/Badge/types.js +1 -1
- package/components/Breadcrumb/Breadcrumb.js +6 -23
- package/components/Breadcrumb/index.js +1 -2
- package/components/Breadcrumb/types.js +1 -1
- package/components/Button/Button.js +29 -52
- package/components/Button/consts.js +12 -14
- package/components/Button/index.js +1 -52
- package/components/Button/types.js +1 -1
- package/components/Checkbox/Checkbox.js +45 -52
- package/components/Checkbox/index.js +1 -52
- package/components/Checkbox/types.js +1 -1
- package/components/Chips/Chips.js +23 -65
- package/components/Chips/consts.js +10 -12
- package/components/Chips/index.js +1 -11
- package/components/Chips/types.js +5 -7
- package/components/Collapse/CollapseGroup/CollapseGroup.js +22 -73
- package/components/Collapse/CollapseItem/CollapseItem.js +11 -86
- package/components/Collapse/index.js +2 -16
- package/components/Collapse/types.js +1 -1
- package/components/Container/Container.js +4 -9
- package/components/Container/index.js +1 -2
- package/components/Container/types.js +1 -1
- package/components/Copy/Copy.js +15 -93
- package/components/Copy/index.js +1 -54
- package/components/Copy/types.js +1 -1
- package/components/Counter/Counter.js +54 -134
- package/components/Counter/index.js +1 -61
- package/components/Counter/types.js +1 -1
- package/components/DatePicker/CustomHeader/CustomHeader.js +16 -191
- package/components/DatePicker/CustomHeader/helpers.js +10 -16
- package/components/DatePicker/RangeDatePicker/RangeDatePicker.js +7 -129
- package/components/DatePicker/RangeDatePicker/RangeDatePickerDesktop.js +71 -172
- package/components/DatePicker/RangeDatePicker/RangeDatePickerMobile.js +86 -265
- package/components/DatePicker/RangeDatePicker/index.js +1 -124
- package/components/DatePicker/SimpleDatePicker/SimpleDatePicker.js +8 -128
- package/components/DatePicker/SimpleDatePicker/SimpleDatePickerDesktop.js +45 -202
- package/components/DatePicker/SimpleDatePicker/SimpleDatePickerMobile.js +44 -206
- package/components/DatePicker/SimpleDatePicker/index.js +1 -123
- package/components/DatePicker/TimePicker/MobileModalContent.js +33 -123
- package/components/DatePicker/TimePicker/TimePicker.js +7 -75
- package/components/DatePicker/TimePicker/TimePickerDesktop.js +42 -128
- package/components/DatePicker/TimePicker/TimePickerMobile.js +27 -125
- package/components/DatePicker/TimePicker/consts.js +5 -8
- package/components/DatePicker/TimePicker/helpers.js +9 -19
- package/components/DatePicker/TimePicker/index.js +1 -70
- package/components/DatePicker/hooks.js +33 -2171
- package/components/DatePicker/index.js +3 -134
- package/components/DatePicker/localization.js +43 -6
- package/components/DatePicker/types.js +5 -7
- package/components/Divider/Divider.js +8 -15
- package/components/Divider/index.js +1 -3
- package/components/Divider/types.js +1 -1
- package/components/Empty/Empty.js +9 -83
- package/components/Empty/index.js +1 -54
- package/components/Empty/types.js +1 -1
- package/components/FileUpload/DropzoneFileUpload/DropzoneFileUpload.js +67 -52
- package/components/FileUpload/DropzoneFileUpload/ErrorItem.js +21 -52
- package/components/FileUpload/DropzoneFileUpload/FilePreview.js +23 -52
- package/components/FileUpload/DropzoneFileUpload/PreviewItem.js +30 -52
- package/components/FileUpload/DropzoneFileUpload/helpers.js +79 -52
- package/components/FileUpload/DropzoneFileUpload/index.js +1 -52
- package/components/FileUpload/FileUpload.js +69 -192
- package/components/FileUpload/UploadItems.js +22 -101
- package/components/FileUpload/index.js +3 -61
- package/components/FileUpload/types.js +6 -10
- package/components/FormContainer/FormContainer.js +43 -136
- package/components/FormContainer/index.js +1 -55
- package/components/FormContainer/types.js +1 -1
- package/components/FormField/FormField.js +17 -112
- package/components/FormField/index.js +1 -56
- package/components/FormField/types.js +1 -1
- package/components/Heading/Heading.js +5 -27
- package/components/Heading/index.js +1 -5
- package/components/Heading/types.js +1 -1
- package/components/Image/Image.js +12 -32
- package/components/Image/index.js +1 -2
- package/components/Image/types.js +1 -1
- package/components/Input/Input.js +68 -236
- package/components/Input/index.js +1 -58
- package/components/Input/types.js +1 -1
- package/components/Link/Link.js +14 -40
- package/components/Link/index.js +1 -3
- package/components/Link/types.js +1 -1
- package/components/Menu/Menu.js +47 -161
- package/components/Menu/NestedMenu.js +47 -173
- package/components/Menu/index.js +2 -72
- package/components/Menu/types.js +1 -1
- package/components/Modal/Modal.js +70 -52
- package/components/Modal/ModalConfirmation.js +30 -137
- package/components/Modal/ModalContent.js +10 -52
- package/components/Modal/index.js +2 -53
- package/components/Modal/types.js +1 -1
- package/components/More/More.js +19 -85
- package/components/More/index.js +1 -53
- package/components/More/types.js +1 -1
- package/components/Pagination/Pagination.js +15 -56
- package/components/Pagination/consts.js +5 -7
- package/components/Pagination/index.js +1 -10
- package/components/Pagination/types.js +1 -1
- package/components/Popover/Popover.js +41 -52
- package/components/Popover/PopoverDesktop.js +16 -69
- package/components/Popover/PopoverMobile.js +8 -52
- package/components/Popover/index.js +1 -52
- package/components/Popover/types.js +1 -1
- package/components/Progress/Progress.js +21 -56
- package/components/Progress/index.js +1 -2
- package/components/Progress/types.js +1 -1
- package/components/ProgressStep/ProgressStep.js +9 -38
- package/components/ProgressStep/Step.js +51 -98
- package/components/ProgressStep/consts.js +7 -9
- package/components/ProgressStep/index.js +1 -12
- package/components/ProgressStep/types.js +5 -7
- package/components/Radio/Radio.js +19 -56
- package/components/Radio/RadioGroup.js +21 -111
- package/components/Radio/index.js +2 -55
- package/components/Radio/types.js +1 -1
- package/components/SVGIcons/IconAdd.js +7 -28
- package/components/SVGIcons/IconAddCircle.js +7 -31
- package/components/SVGIcons/IconAddCircleFilled.js +7 -31
- package/components/SVGIcons/IconAddFilled.js +7 -28
- package/components/SVGIcons/IconAlert.js +7 -31
- package/components/SVGIcons/IconAlertBadge.js +7 -31
- package/components/SVGIcons/IconAlertBadgeFilled.js +7 -31
- package/components/SVGIcons/IconAlertFilled.js +7 -31
- package/components/SVGIcons/IconAm.js +6 -57
- package/components/SVGIcons/IconAmd.js +7 -28
- package/components/SVGIcons/IconAmdFilled.js +7 -28
- package/components/SVGIcons/IconApple.js +7 -31
- package/components/SVGIcons/IconArrowDown.js +7 -31
- package/components/SVGIcons/IconArrowDownFilled.js +7 -31
- package/components/SVGIcons/IconArrowDownLeft.js +7 -31
- package/components/SVGIcons/IconArrowDownLeftFilled.js +7 -31
- package/components/SVGIcons/IconArrowDownload.js +7 -31
- package/components/SVGIcons/IconArrowDownloadFilled.js +7 -31
- package/components/SVGIcons/IconArrowEnter.js +7 -28
- package/components/SVGIcons/IconArrowEnterFilled.js +7 -28
- package/components/SVGIcons/IconArrowExit.js +7 -28
- package/components/SVGIcons/IconArrowExitFilled.js +7 -28
- package/components/SVGIcons/IconArrowExportLeftToRight.js +7 -31
- package/components/SVGIcons/IconArrowExportLeftToRightFilled.js +7 -31
- package/components/SVGIcons/IconArrowExportRightToLeft.js +7 -31
- package/components/SVGIcons/IconArrowExportRightToLeftFilled.js +7 -31
- package/components/SVGIcons/IconArrowExportUp.js +7 -31
- package/components/SVGIcons/IconArrowExportUpFilled.js +7 -31
- package/components/SVGIcons/IconArrowImport.js +7 -31
- package/components/SVGIcons/IconArrowImportFilled.js +7 -31
- package/components/SVGIcons/IconArrowLeft.js +7 -31
- package/components/SVGIcons/IconArrowLeftFilled.js +7 -31
- package/components/SVGIcons/IconArrowRepeatAll.js +7 -31
- package/components/SVGIcons/IconArrowRepeatAllFilled.js +7 -31
- package/components/SVGIcons/IconArrowReset.js +7 -31
- package/components/SVGIcons/IconArrowResetFilled.js +7 -31
- package/components/SVGIcons/IconArrowRight.js +7 -31
- package/components/SVGIcons/IconArrowRightFilled.js +7 -31
- package/components/SVGIcons/IconArrowSort.js +7 -28
- package/components/SVGIcons/IconArrowSortFilled.js +7 -28
- package/components/SVGIcons/IconArrowSync.js +7 -28
- package/components/SVGIcons/IconArrowSyncFilled.js +7 -28
- package/components/SVGIcons/IconArrowUp.js +7 -31
- package/components/SVGIcons/IconArrowUpFilled.js +7 -31
- package/components/SVGIcons/IconArrowUpLeft.js +7 -31
- package/components/SVGIcons/IconArrowUpLeftFilled.js +7 -31
- package/components/SVGIcons/IconArrowUpRight.js +7 -31
- package/components/SVGIcons/IconArrowUpRightFilled.js +7 -31
- package/components/SVGIcons/IconAttach.js +7 -31
- package/components/SVGIcons/IconAttachFilled.js +7 -31
- package/components/SVGIcons/IconBeach.js +7 -28
- package/components/SVGIcons/IconBeachFilled.js +7 -28
- package/components/SVGIcons/IconBook.js +7 -31
- package/components/SVGIcons/IconBookFilled.js +7 -31
- package/components/SVGIcons/IconBookmark.js +7 -31
- package/components/SVGIcons/IconBookmarkFilled.js +7 -31
- package/components/SVGIcons/IconBriefcase.js +7 -31
- package/components/SVGIcons/IconBriefcaseFilled.js +7 -31
- package/components/SVGIcons/IconBuilding.js +7 -54
- package/components/SVGIcons/IconBuildingBank.js +7 -28
- package/components/SVGIcons/IconBuildingBankFilled.js +7 -28
- package/components/SVGIcons/IconBuildingFilled.js +7 -31
- package/components/SVGIcons/IconBulletListAdd.js +7 -31
- package/components/SVGIcons/IconBulletListAddFilled.js +7 -31
- package/components/SVGIcons/IconCalculator.js +7 -31
- package/components/SVGIcons/IconCalculatorFilled.js +7 -31
- package/components/SVGIcons/IconCalendarClock.js +7 -28
- package/components/SVGIcons/IconCalendarClockFilled.js +7 -28
- package/components/SVGIcons/IconCalendarDay.js +7 -31
- package/components/SVGIcons/IconCalendarDayFilled.js +7 -31
- package/components/SVGIcons/IconCalendarEmpty.js +7 -28
- package/components/SVGIcons/IconCalendarLeft.js +7 -28
- package/components/SVGIcons/IconCalendarLeftFilled.js +7 -28
- package/components/SVGIcons/IconCalendarRight.js +7 -28
- package/components/SVGIcons/IconCalendarRightFilled.js +7 -28
- package/components/SVGIcons/IconCall.js +7 -31
- package/components/SVGIcons/IconCallFilled.js +7 -31
- package/components/SVGIcons/IconCard.js +7 -28
- package/components/SVGIcons/IconCardFilled.js +7 -28
- package/components/SVGIcons/IconCaretDown.js +7 -28
- package/components/SVGIcons/IconCaretDownFilled.js +7 -28
- package/components/SVGIcons/IconCaretDownRight.js +7 -28
- package/components/SVGIcons/IconCaretDownRightFilled.js +7 -28
- package/components/SVGIcons/IconCaretLeft.js +7 -28
- package/components/SVGIcons/IconCaretLeftFilled.js +7 -28
- package/components/SVGIcons/IconCaretRight.js +7 -28
- package/components/SVGIcons/IconCaretRightFilled.js +7 -28
- package/components/SVGIcons/IconCaretUp.js +7 -28
- package/components/SVGIcons/IconCaretUpFilled.js +7 -28
- package/components/SVGIcons/IconChat.js +7 -28
- package/components/SVGIcons/IconChatFilled.js +7 -28
- package/components/SVGIcons/IconChatMultiple.js +7 -28
- package/components/SVGIcons/IconChatMultipleFilled.js +7 -28
- package/components/SVGIcons/IconCheckboxArrowRight.js +7 -31
- package/components/SVGIcons/IconCheckboxArrowRightFilled.js +7 -31
- package/components/SVGIcons/IconCheckmark.js +7 -28
- package/components/SVGIcons/IconCheckmarkCircle.js +7 -28
- package/components/SVGIcons/IconCheckmarkCircleFilled.js +7 -28
- package/components/SVGIcons/IconCheckmarkFilled.js +7 -28
- package/components/SVGIcons/IconChevronDoubleLeft.d.ts +4 -0
- package/components/SVGIcons/IconChevronDoubleLeft.js +8 -0
- package/components/SVGIcons/IconChevronDoubleRight.d.ts +4 -0
- package/components/SVGIcons/IconChevronDoubleRight.js +8 -0
- package/components/SVGIcons/IconChevronDown.js +7 -28
- package/components/SVGIcons/IconChevronDownFilled.js +7 -28
- package/components/SVGIcons/IconChevronLeft.js +7 -28
- package/components/SVGIcons/IconChevronLeftFilled.js +7 -28
- package/components/SVGIcons/IconChevronRight.js +7 -28
- package/components/SVGIcons/IconChevronRightFilled.js +7 -28
- package/components/SVGIcons/IconChevronUp.js +7 -28
- package/components/SVGIcons/IconChevronUpDown.js +7 -31
- package/components/SVGIcons/IconChevronUpDownFilled.js +7 -31
- package/components/SVGIcons/IconChevronUpFilled.js +7 -28
- package/components/SVGIcons/IconClipboardDay.js +7 -28
- package/components/SVGIcons/IconClock.js +7 -31
- package/components/SVGIcons/IconClockDismiss.js +7 -28
- package/components/SVGIcons/IconClockDismissFilled.js +7 -28
- package/components/SVGIcons/IconClockFilled.js +7 -31
- package/components/SVGIcons/IconComment.js +7 -31
- package/components/SVGIcons/IconCommentFilled.js +7 -31
- package/components/SVGIcons/IconContractCard.js +7 -28
- package/components/SVGIcons/IconContractCardFilled.js +7 -28
- package/components/SVGIcons/IconCopy.js +7 -28
- package/components/SVGIcons/IconCopyFilled.js +7 -28
- package/components/SVGIcons/IconCubeTree.js +7 -28
- package/components/SVGIcons/IconCubeTreeFilled.js +7 -31
- package/components/SVGIcons/IconDatabase.js +7 -31
- package/components/SVGIcons/IconDatabaseFilled.js +7 -31
- package/components/SVGIcons/IconDelete.js +7 -28
- package/components/SVGIcons/IconDeleteFilled.js +7 -28
- package/components/SVGIcons/IconDeviceMeetingRoom.js +7 -28
- package/components/SVGIcons/IconDeviceMeetingRoomFilled.js +7 -28
- package/components/SVGIcons/IconDismiss.js +7 -28
- package/components/SVGIcons/IconDismissCircle.js +7 -31
- package/components/SVGIcons/IconDismissCircleFilled.js +7 -31
- package/components/SVGIcons/IconDismissFilled.js +7 -28
- package/components/SVGIcons/IconDocument.js +7 -28
- package/components/SVGIcons/IconDocumentBulletList.js +7 -31
- package/components/SVGIcons/IconDocumentBulletListFilled.js +7 -31
- package/components/SVGIcons/IconDocumentEdit.js +7 -28
- package/components/SVGIcons/IconDocumentEditFilled.js +7 -28
- package/components/SVGIcons/IconDocumentFilled.js +7 -28
- package/components/SVGIcons/IconDocumentPerson.js +7 -28
- package/components/SVGIcons/IconEdit.js +7 -28
- package/components/SVGIcons/IconEditFilled.js +7 -28
- package/components/SVGIcons/IconErrorCircle.js +7 -28
- package/components/SVGIcons/IconErrorCircleFilled.js +7 -28
- package/components/SVGIcons/IconEur.js +7 -28
- package/components/SVGIcons/IconEurFilled.js +7 -28
- package/components/SVGIcons/IconExpandUpLeft.js +7 -31
- package/components/SVGIcons/IconExpandUpLeftFilled.js +7 -31
- package/components/SVGIcons/IconExpandUpRight.js +7 -31
- package/components/SVGIcons/IconExpandUpRightFilled.js +7 -31
- package/components/SVGIcons/IconEyeOff.js +7 -31
- package/components/SVGIcons/IconEyeOffFilled.js +7 -31
- package/components/SVGIcons/IconEyeOn.js +7 -31
- package/components/SVGIcons/IconEyeOnFilled.js +7 -31
- package/components/SVGIcons/IconFacebook.js +7 -38
- package/components/SVGIcons/IconFilter.js +7 -28
- package/components/SVGIcons/IconFilterFilled.js +7 -28
- package/components/SVGIcons/IconFlag.js +7 -31
- package/components/SVGIcons/IconFlagFilled.js +7 -31
- package/components/SVGIcons/IconFolderLink.js +7 -28
- package/components/SVGIcons/IconFolderLinkFilled.js +7 -28
- package/components/SVGIcons/IconFood.js +7 -28
- package/components/SVGIcons/IconFoodFilled.js +7 -28
- package/components/SVGIcons/IconGb.js +6 -71
- package/components/SVGIcons/IconGlobe.js +7 -28
- package/components/SVGIcons/IconGlobeFilled.js +7 -28
- package/components/SVGIcons/IconGoogle.js +7 -40
- package/components/SVGIcons/IconHandOpenHeart.js +7 -31
- package/components/SVGIcons/IconHandOpenHeartFilled.js +7 -31
- package/components/SVGIcons/IconHeart.js +7 -31
- package/components/SVGIcons/IconHeartFilled.js +7 -31
- package/components/SVGIcons/IconHistory.js +7 -31
- package/components/SVGIcons/IconHistoryFilled.js +7 -31
- package/components/SVGIcons/IconHome.js +7 -31
- package/components/SVGIcons/IconHomeFilled.js +7 -31
- package/components/SVGIcons/IconImage.js +7 -31
- package/components/SVGIcons/IconImageFilled.js +7 -31
- package/components/SVGIcons/IconInfo.js +7 -28
- package/components/SVGIcons/IconInfoFilled.js +7 -28
- package/components/SVGIcons/IconInstagram.js +7 -39
- package/components/SVGIcons/IconKeyReset.js +7 -31
- package/components/SVGIcons/IconKeyResetFilled.js +7 -31
- package/components/SVGIcons/IconLink.js +7 -31
- package/components/SVGIcons/IconLinkFilled.js +7 -31
- package/components/SVGIcons/IconLinkedin.js +7 -31
- package/components/SVGIcons/IconList.js +7 -28
- package/components/SVGIcons/IconListFilled.js +7 -31
- package/components/SVGIcons/IconLocation.js +7 -31
- package/components/SVGIcons/IconLocationFilled.js +7 -31
- package/components/SVGIcons/IconLockClosed.js +7 -31
- package/components/SVGIcons/IconLockClosedFilled.js +7 -31
- package/components/SVGIcons/IconLockOpen.js +7 -31
- package/components/SVGIcons/IconLockOpenFilled.js +7 -31
- package/components/SVGIcons/IconMail.js +7 -31
- package/components/SVGIcons/IconMailAdd.js +7 -31
- package/components/SVGIcons/IconMailAddFilled.js +7 -31
- package/components/SVGIcons/IconMailArrowForward.js +7 -31
- package/components/SVGIcons/IconMailArrowForwardFilled.js +7 -31
- package/components/SVGIcons/IconMailFilled.js +7 -31
- package/components/SVGIcons/IconMailLink.js +7 -31
- package/components/SVGIcons/IconMailLinkFilled.js +7 -31
- package/components/SVGIcons/IconMedium.js +7 -31
- package/components/SVGIcons/IconMore.js +7 -31
- package/components/SVGIcons/IconMoreFilled.js +7 -31
- package/components/SVGIcons/IconMoreVertical.js +7 -31
- package/components/SVGIcons/IconMoreVerticalFilled.js +7 -31
- package/components/SVGIcons/IconNavigation.js +7 -31
- package/components/SVGIcons/IconNavigationFilled.js +7 -31
- package/components/SVGIcons/IconNotebook.js +7 -31
- package/components/SVGIcons/IconNotebookAdd.js +7 -47
- package/components/SVGIcons/IconNotebookAddFilled.js +7 -44
- package/components/SVGIcons/IconNotebookFilled.js +7 -31
- package/components/SVGIcons/IconOnlyEmployee.js +7 -28
- package/components/SVGIcons/IconOpen.js +7 -31
- package/components/SVGIcons/IconOpenFilled.js +7 -31
- package/components/SVGIcons/IconPatient.js +7 -28
- package/components/SVGIcons/IconPatientFilled.js +7 -28
- package/components/SVGIcons/IconPeople.js +7 -28
- package/components/SVGIcons/IconPeopleAdd.js +7 -31
- package/components/SVGIcons/IconPeopleAddFilled.js +7 -31
- package/components/SVGIcons/IconPeopleFilled.js +7 -31
- package/components/SVGIcons/IconPercent.js +7 -33
- package/components/SVGIcons/IconPerson.js +7 -31
- package/components/SVGIcons/IconPersonAccount.js +7 -28
- package/components/SVGIcons/IconPersonAccountFilled.js +7 -28
- package/components/SVGIcons/IconPersonAdd.js +7 -31
- package/components/SVGIcons/IconPersonAddFilled.js +7 -31
- package/components/SVGIcons/IconPersonArrowLeft.js +7 -28
- package/components/SVGIcons/IconPersonArrowLeftFilled.js +7 -28
- package/components/SVGIcons/IconPersonArrowRight.js +7 -28
- package/components/SVGIcons/IconPersonArrowRightFilled.js +7 -28
- package/components/SVGIcons/IconPersonBoard.js +7 -28
- package/components/SVGIcons/IconPersonFilled.js +7 -31
- package/components/SVGIcons/IconPersonMinus.js +7 -28
- package/components/SVGIcons/IconPersonStar.js +7 -31
- package/components/SVGIcons/IconPersonStarFilled.js +7 -31
- package/components/SVGIcons/IconPersonSubtract.js +7 -31
- package/components/SVGIcons/IconPersonSubtractFilled.js +7 -31
- package/components/SVGIcons/IconPhone.js +7 -31
- package/components/SVGIcons/IconPhoneFilled.js +7 -31
- package/components/SVGIcons/IconPlugConnected.js +7 -28
- package/components/SVGIcons/IconPos.js +7 -33
- package/components/SVGIcons/IconPosFilled.js +7 -33
- package/components/SVGIcons/IconProhibited.js +7 -31
- package/components/SVGIcons/IconProhibitedFilled.js +7 -31
- package/components/SVGIcons/IconProjectProduct.js +7 -28
- package/components/SVGIcons/IconQuestion.js +7 -31
- package/components/SVGIcons/IconQuestionFilled.js +7 -31
- package/components/SVGIcons/IconRedo.js +7 -31
- package/components/SVGIcons/IconRedoFilled.js +7 -31
- package/components/SVGIcons/IconRu.js +6 -60
- package/components/SVGIcons/IconRub.js +7 -28
- package/components/SVGIcons/IconRubFilled.js +7 -28
- package/components/SVGIcons/IconSave.js +7 -31
- package/components/SVGIcons/IconSaveFilled.js +7 -31
- package/components/SVGIcons/IconSavings.js +7 -31
- package/components/SVGIcons/IconSavingsFilled.js +7 -31
- package/components/SVGIcons/IconSearch.js +7 -31
- package/components/SVGIcons/IconSearchFilled.js +7 -31
- package/components/SVGIcons/IconSelectAllOff.js +7 -31
- package/components/SVGIcons/IconSelectAllOffFilled.js +7 -31
- package/components/SVGIcons/IconSelectAllOn.js +7 -31
- package/components/SVGIcons/IconSelectAllOnFilled.js +7 -31
- package/components/SVGIcons/IconSend.js +7 -31
- package/components/SVGIcons/IconSendFilled.js +7 -31
- package/components/SVGIcons/IconSettings.js +7 -28
- package/components/SVGIcons/IconSettingsFilled.js +7 -31
- package/components/SVGIcons/IconShare.js +7 -31
- package/components/SVGIcons/IconShareAndroid.js +7 -31
- package/components/SVGIcons/IconShareAndroidFilled.js +7 -31
- package/components/SVGIcons/IconShareFilled.js +7 -31
- package/components/SVGIcons/IconSignOut.js +7 -31
- package/components/SVGIcons/IconSignOutFilled.js +7 -31
- package/components/SVGIcons/IconSpinner.js +7 -31
- package/components/SVGIcons/IconSpinnerFilled.js +7 -31
- package/components/SVGIcons/IconStatus.js +7 -31
- package/components/SVGIcons/IconStatusFilled.js +7 -31
- package/components/SVGIcons/IconSubtract.js +7 -31
- package/components/SVGIcons/IconSubtractCircle.js +7 -31
- package/components/SVGIcons/IconSubtractCircleFilled.js +7 -31
- package/components/SVGIcons/IconSubtractFilled.js +7 -31
- package/components/SVGIcons/IconTableCellEdit.js +7 -35
- package/components/SVGIcons/IconTableCellEditFilled.js +7 -41
- package/components/SVGIcons/IconTelegram.js +7 -40
- package/components/SVGIcons/IconTimer.js +7 -31
- package/components/SVGIcons/IconTimerFilled.js +7 -31
- package/components/SVGIcons/IconTwitter.js +7 -31
- package/components/SVGIcons/IconUndo.js +7 -31
- package/components/SVGIcons/IconUndoFilled.js +7 -31
- package/components/SVGIcons/IconUnitsEmployee.js +7 -28
- package/components/SVGIcons/IconUpload.js +7 -28
- package/components/SVGIcons/IconUsd.js +7 -28
- package/components/SVGIcons/IconUsdFilled.js +7 -28
- package/components/SVGIcons/IconUserMinus.js +7 -31
- package/components/SVGIcons/IconVideo.js +7 -28
- package/components/SVGIcons/IconVideoFilled.js +7 -28
- package/components/SVGIcons/IconWallet.js +7 -31
- package/components/SVGIcons/IconWalletFilled.js +7 -31
- package/components/SVGIcons/IconWarning.js +7 -28
- package/components/SVGIcons/IconWarningFilled.js +7 -28
- package/components/SVGIcons/IconYoutube.js +7 -31
- package/components/SVGIcons/index.d.ts +2 -0
- package/components/SVGIcons/index.js +302 -303
- package/components/SVGIcons/types.js +1 -1
- package/components/Select/ButtonSelect/ButtonSelect.js +42 -195
- package/components/Select/FilterSelect/FilterDropdown.js +14 -95
- package/components/Select/FilterSelect/FilterGroupDropdown.js +18 -82
- package/components/Select/FilterSelect/FilterSelect.js +69 -199
- package/components/Select/MultiSelect/DesktopWrapper.js +18 -55
- package/components/Select/MultiSelect/MobileWrapper.js +12 -77
- package/components/Select/MultiSelect/MultiBase/MultiBase.js +60 -211
- package/components/Select/MultiSelect/MultiSelect.js +66 -244
- package/components/Select/MultiSelect/MultiSelectGrouped/MultiSelectGrouped.js +94 -264
- package/components/Select/MultiSelect/MultiSelectWithTabs/MultiSelectWithTabs.js +76 -251
- package/components/Select/MultiSelect/OptionsWrapper.js +64 -175
- package/components/Select/NestedSelect/NestedSelect.js +55 -197
- package/components/Select/ProfileDropdown/index.js +12 -82
- package/components/Select/Select/Select.js +85 -254
- package/components/Select/Select/SelectDesktop/index.js +66 -219
- package/components/Select/Select/SelectMobile/MobileTopContent.js +17 -90
- package/components/Select/Select/SelectMobile/index.js +49 -194
- package/components/Select/Select/helpers.js +8 -9
- package/components/Select/SharedComponents/Actions.js +13 -115
- package/components/Select/SharedComponents/ButtonSelectWrapper/Button/Button.js +8 -43
- package/components/Select/SharedComponents/ButtonSelectWrapper/ButtonSelectWrapper.js +27 -130
- package/components/Select/SharedComponents/ContentTop.js +70 -177
- package/components/Select/SharedComponents/Footer.js +10 -97
- package/components/Select/SharedComponents/InputSelectWrapper/InputSelectWrapper.js +49 -161
- package/components/Select/SharedComponents/Loading.js +5 -16
- package/components/Select/SharedComponents/index.js +6 -92
- package/components/Select/constants.js +7 -9
- package/components/Select/index.js +6 -114
- package/components/Select/localization.js +28 -30
- package/components/Select/types.js +1 -1
- package/components/SideSheet/Footer/Footer.js +13 -99
- package/components/SideSheet/SideSheet.js +55 -208
- package/components/SideSheet/index.js +1 -56
- package/components/SideSheet/types.js +1 -1
- package/components/Snackbar/Snackbar.js +29 -123
- package/components/Snackbar/consts.js +11 -13
- package/components/Snackbar/index.js +1 -54
- package/components/Snackbar/types.js +1 -1
- package/components/Status/Status.js +16 -51
- package/components/Status/index.js +1 -8
- package/components/Status/types.js +1 -1
- package/components/Stepper/Stepper.js +28 -44
- package/components/Stepper/index.js +1 -3
- package/components/Stepper/types.js +1 -1
- package/components/Switcher/Switcher.js +17 -114
- package/components/Switcher/index.js +1 -55
- package/components/Switcher/types.js +1 -1
- package/components/Tab/Tab.js +18 -35
- package/components/Tab/TabItem.js +11 -52
- package/components/Tab/index.js +1 -11
- package/components/Tab/types.js +1 -1
- package/components/Table/Header.js +19 -121
- package/components/Table/IndeterminateCheckbox.js +13 -76
- package/components/Table/Row.js +16 -92
- package/components/Table/Table.js +60 -160
- package/components/Table/index.js +1 -61
- package/components/Table/types.js +1 -1
- package/components/Table/utils.js +17 -76
- package/components/TableV2/AdvancedPagination.d.ts +8 -0
- package/components/TableV2/AdvancedPagination.js +62 -0
- package/components/TableV2/ColumnHeader.d.ts +9 -0
- package/components/TableV2/ColumnHeader.js +32 -0
- package/components/TableV2/ColumnSettings.d.ts +9 -0
- package/components/TableV2/ColumnSettings.js +33 -0
- package/components/TableV2/IndeterminateCheckbox.d.ts +13 -0
- package/components/TableV2/IndeterminateCheckbox.js +16 -0
- package/components/TableV2/Table.d.ts +3 -0
- package/components/TableV2/Table.js +123 -0
- package/components/TableV2/constants/index.d.ts +6 -0
- package/components/TableV2/constants/index.js +27 -0
- package/components/TableV2/hooks/useTableColumnSettings.d.ts +2 -0
- package/components/TableV2/hooks/useTableColumnSettings.js +17 -0
- package/components/TableV2/hooks/useTableControl.d.ts +11 -0
- package/components/TableV2/hooks/useTableControl.js +182 -0
- package/components/TableV2/index.d.ts +3 -0
- package/components/TableV2/index.js +3 -0
- package/components/TableV2/loadTableSettings.d.ts +2 -0
- package/components/TableV2/loadTableSettings.js +9 -0
- package/components/TableV2/types.d.ts +70 -0
- package/components/TableV2/types.js +1 -0
- package/components/Text/Text.js +5 -34
- package/components/Text/index.js +1 -5
- package/components/Text/types.js +1 -1
- package/components/Textarea/Textarea.js +36 -140
- package/components/Textarea/index.js +1 -56
- package/components/Textarea/types.js +1 -1
- package/components/Tooltip/Tooltip.js +49 -99
- package/components/Tooltip/index.js +1 -18
- package/components/Tooltip/types.js +11 -13
- package/consts/index.js +86 -65
- package/context/FormContextProvider.js +4 -10
- package/context/index.js +2 -5
- package/context/types.js +6 -10
- package/helperComponents/AnimatePresenceWrapper/AnimatePresenceWrapper.js +4 -12
- package/helperComponents/AnimatePresenceWrapper/index.js +1 -3
- package/helperComponents/CodeBlock/CodeBlock.js +4 -178
- package/helperComponents/CodeBlock/index.js +1 -3
- package/helperComponents/ErrorMessage/ErrorMessage.js +7 -26
- package/helperComponents/ErrorMessage/index.js +1 -8
- package/helperComponents/ErrorMessage/types.js +1 -1
- package/helperComponents/GoToWebPage/GoToWebPage.js +5 -66
- package/helperComponents/IconDynamicComponent/IconDynamicComponent.js +11 -25
- package/helperComponents/IconDynamicComponent/constants.js +10 -31
- package/helperComponents/IconDynamicComponent/index.js +1 -3
- package/helperComponents/Label/Label.js +8 -28
- package/helperComponents/Label/index.js +1 -6
- package/helperComponents/Label/types.js +1 -1
- package/helperComponents/Loader/Loader.js +4 -14
- package/helperComponents/Loader/index.js +1 -2
- package/helperComponents/Loader/types.js +1 -1
- package/helperComponents/OptionItem/OptionItem.js +27 -148
- package/helperComponents/OptionItem/index.js +1 -64
- package/helperComponents/OptionItem/types.js +1 -1
- package/helperComponents/index.js +6 -65
- package/helpers/check-authorization.js +57 -111
- package/helpers/download-file.js +7 -9
- package/helpers/format-date.js +14 -42
- package/helpers/get-module-prefix.js +3 -5
- package/helpers/index.js +7 -59
- package/helpers/isDeepEqual.js +11 -17
- package/helpers/locale.js +10 -15
- package/helpers/storage.js +17 -18
- package/hooks/index.js +12 -21
- package/hooks/useChangePositionsOnScroll.js +28 -32
- package/hooks/useDispatchEventOnScroll.js +8 -13
- package/hooks/useFormContext.js +3 -8
- package/hooks/useFormProps.js +3 -8
- package/hooks/useGetElemPositions.js +14 -16
- package/hooks/useGetElemSizes.js +11 -13
- package/hooks/useGetHasBottomSpace.js +13 -24
- package/hooks/useGetIsMobile.js +33 -45
- package/hooks/useGetTooltipPosition.js +66 -82
- package/hooks/useGetTooltipStyles.js +45 -87
- package/hooks/useHideBodyScroll.js +25 -34
- package/hooks/useHideOnScroll.js +19 -24
- package/hooks/useOnOutsideClick.js +33 -46
- package/hooks/useScreenSize.js +24 -34
- package/index.d.ts +1 -0
- package/index.js +46 -453
- package/package.json +5 -1
- package/type/file-upload.js +6 -8
- package/type/index.js +4 -4
- package/type/locale.js +12 -14
- package/type/notification.js +7 -9
- package/type/status-code.js +7 -9
- package/utils/helpers.js +63 -77
- /package/{Alert-V_kH4Snn.js → Alert-sShHxUYN.js} +0 -0
|
@@ -1,102 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Text } from '../Text
|
|
3
|
-
import '../../
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import '
|
|
7
|
-
import '
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
24
|
-
import '../../helperComponents/Loader/Loader.js';
|
|
25
|
-
import 'react-dropzone';
|
|
26
|
-
import '../SVGIcons/IconUpload.js';
|
|
27
|
-
import './types.js';
|
|
28
|
-
import '../../helpers/format-date.js';
|
|
29
|
-
import '../../helpers/locale.js';
|
|
30
|
-
import '../../type/locale.js';
|
|
31
|
-
import '../../helpers/storage.js';
|
|
32
|
-
import 'react-toastify';
|
|
33
|
-
import '../../hooks/useGetIsMobile.js';
|
|
34
|
-
import 'framer-motion';
|
|
35
|
-
import '../../helperComponents/AnimatePresenceWrapper/AnimatePresenceWrapper.js';
|
|
36
|
-
import '../../hooks/useOnOutsideClick.js';
|
|
37
|
-
import '../../hooks/useHideBodyScroll.js';
|
|
38
|
-
import '../SVGIcons/IconDismiss.js';
|
|
39
|
-
import '../Tooltip/types.js';
|
|
40
|
-
import '../Tooltip/Tooltip.js';
|
|
41
|
-
import '../../hooks/useGetTooltipStyles.js';
|
|
42
|
-
import '../../hooks/useGetElemSizes.js';
|
|
43
|
-
import '../../hooks/useGetElemPositions.js';
|
|
44
|
-
import '../../hooks/useGetTooltipPosition.js';
|
|
45
|
-
import '../../hooks/useHideOnScroll.js';
|
|
46
|
-
import '../Link/Link.js';
|
|
47
|
-
import '../Popover/PopoverDesktop.js';
|
|
48
|
-
import '../SVGIcons/IconInfo.js';
|
|
49
|
-
import '@babel/runtime/helpers/typeof';
|
|
50
|
-
import '../SVGIcons/IconDismissFilled.js';
|
|
51
|
-
import './DropzoneFileUpload/FilePreview.js';
|
|
52
|
-
import '../Progress/Progress.js';
|
|
53
|
-
import '../SVGIcons/IconArrowDownloadFilled.js';
|
|
54
|
-
import '../../helpers/download-file.js';
|
|
55
|
-
import '../Button/consts.js';
|
|
56
|
-
|
|
57
|
-
var UploadItems = function UploadItems(props) {
|
|
58
|
-
var files = props.files,
|
|
59
|
-
onRemove = props.onRemove,
|
|
60
|
-
withFilePreview = props.withFilePreview,
|
|
61
|
-
handleFileClick = props.handleFileClick;
|
|
62
|
-
var _useFormProps = useFormProps(),
|
|
63
|
-
errors = _useFormProps.errors;
|
|
64
|
-
var filesErrors = errors && errors.files && errors.files.length > 0;
|
|
65
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, files.map(function (file, index) {
|
|
66
|
-
var _errors$files$index, _errors$files$index2;
|
|
67
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
68
|
-
className: "upload-item mt-4 ".concat(filesErrors && (_errors$files$index = errors.files[index]) !== null && _errors$files$index !== void 0 && _errors$files$index.message ? 'upload-item--error' : ''),
|
|
69
|
-
key: index
|
|
70
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
71
|
-
className: "upload-item__inner"
|
|
72
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
73
|
-
className: "upload-item__content mb-2"
|
|
74
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
75
|
-
className: "upload-item__content__inner pr-8"
|
|
76
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
77
|
-
size: "small",
|
|
78
|
-
lineHeight: "medium",
|
|
79
|
-
className: "upload-item__text",
|
|
80
|
-
onClick: function onClick(e) {
|
|
81
|
-
return withFilePreview && openFileInNewWindow({
|
|
82
|
-
e: e,
|
|
83
|
-
file: file,
|
|
84
|
-
handleFileClick: handleFileClick
|
|
85
|
-
});
|
|
86
|
-
}
|
|
87
|
-
}, file.name), filesErrors && /*#__PURE__*/React.createElement(ErrorMessage, {
|
|
88
|
-
message: (_errors$files$index2 = errors.files[index]) === null || _errors$files$index2 === void 0 ? void 0 : _errors$files$index2.message
|
|
89
|
-
})), /*#__PURE__*/React.createElement(Button, {
|
|
90
|
-
type: "tertiary",
|
|
91
|
-
size: "small",
|
|
92
|
-
iconProps: {
|
|
93
|
-
Component: IconDelete
|
|
94
|
-
},
|
|
95
|
-
onClick: function onClick() {
|
|
96
|
-
onRemove(file, index);
|
|
97
|
-
}
|
|
98
|
-
}))));
|
|
99
|
-
}));
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { Text } from '../Text';
|
|
3
|
+
import { useFormProps } from '../../hooks';
|
|
4
|
+
import { openFileInNewWindow } from '../../utils/helpers';
|
|
5
|
+
import { ErrorMessage } from '../../helperComponents';
|
|
6
|
+
import { Button } from '../Button';
|
|
7
|
+
import IconDelete from '../SVGIcons/IconDelete';
|
|
8
|
+
export const UploadItems = (props) => {
|
|
9
|
+
const { files, onRemove, withFilePreview, handleFileClick } = props;
|
|
10
|
+
const { errors } = useFormProps();
|
|
11
|
+
const filesErrors = errors && errors.files && errors.files.length > 0;
|
|
12
|
+
return (_jsx(_Fragment, { children: files.map((file, index) => {
|
|
13
|
+
var _a, _b;
|
|
14
|
+
return (_jsx("div", { className: `upload-item mt-4 ${filesErrors && ((_a = errors.files[index]) === null || _a === void 0 ? void 0 : _a.message) ? 'upload-item--error' : ''}`, children: _jsx("div", { className: "upload-item__inner", children: _jsxs("div", { className: "upload-item__content mb-2", children: [_jsxs("div", { className: "upload-item__content__inner pr-8", children: [_jsx(Text, { size: "small", lineHeight: "medium", className: "upload-item__text", onClick: (e) => withFilePreview &&
|
|
15
|
+
openFileInNewWindow({
|
|
16
|
+
e,
|
|
17
|
+
file,
|
|
18
|
+
handleFileClick
|
|
19
|
+
}), children: file.name }), filesErrors && _jsx(ErrorMessage, { message: (_b = errors.files[index]) === null || _b === void 0 ? void 0 : _b.message })] }), _jsx(Button, { type: "tertiary", size: "small", iconProps: { Component: IconDelete }, onClick: () => {
|
|
20
|
+
onRemove(file, index);
|
|
21
|
+
} })] }) }) }, index));
|
|
22
|
+
}) }));
|
|
100
23
|
};
|
|
101
|
-
|
|
102
|
-
export { UploadItems };
|
|
@@ -1,61 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
import '@babel/runtime/helpers/toConsumableArray';
|
|
5
|
-
import '@babel/runtime/helpers/slicedToArray';
|
|
6
|
-
import 'react';
|
|
7
|
-
import '../../helperComponents/Label/Label.js';
|
|
8
|
-
import '../Text/Text.js';
|
|
9
|
-
import 'classnames';
|
|
10
|
-
import '../../utils/helpers.js';
|
|
11
|
-
import 'dayjs';
|
|
12
|
-
import '@babel/runtime/helpers/extends';
|
|
13
|
-
import '../../consts/index.js';
|
|
14
|
-
import '@babel/runtime/helpers/defineProperty';
|
|
15
|
-
import '../../type/file-upload.js';
|
|
16
|
-
import '../../hooks/useScreenSize.js';
|
|
17
|
-
import 'react-hook-form';
|
|
18
|
-
import 'react-syntax-highlighter';
|
|
19
|
-
import './UploadItems.js';
|
|
20
|
-
import '../../hooks/useFormProps.js';
|
|
21
|
-
import '../../context/types.js';
|
|
22
|
-
import '../../helperComponents/ErrorMessage/ErrorMessage.js';
|
|
23
|
-
import '../../helperComponents/IconDynamicComponent/IconDynamicComponent.js';
|
|
24
|
-
import '../../helperComponents/IconDynamicComponent/constants.js';
|
|
25
|
-
import '../SVGIcons/IconDelete.js';
|
|
26
|
-
import '../SVGIcons/IconEditFilled.js';
|
|
27
|
-
import '../SVGIcons/IconEdit.js';
|
|
28
|
-
import '../SVGIcons/IconAttach.js';
|
|
29
|
-
import '../Alert/consts.js';
|
|
30
|
-
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
31
|
-
import '../../helperComponents/Loader/Loader.js';
|
|
32
|
-
import 'react-dropzone';
|
|
33
|
-
import '../SVGIcons/IconUpload.js';
|
|
34
|
-
import '../../helpers/format-date.js';
|
|
35
|
-
import '../../helpers/locale.js';
|
|
36
|
-
import '../../type/locale.js';
|
|
37
|
-
import '../../helpers/storage.js';
|
|
38
|
-
import 'react-toastify';
|
|
39
|
-
import '../../hooks/useGetIsMobile.js';
|
|
40
|
-
import 'framer-motion';
|
|
41
|
-
import '../../helperComponents/AnimatePresenceWrapper/AnimatePresenceWrapper.js';
|
|
42
|
-
import '../../hooks/useOnOutsideClick.js';
|
|
43
|
-
import '../../hooks/useHideBodyScroll.js';
|
|
44
|
-
import '../SVGIcons/IconDismiss.js';
|
|
45
|
-
import '../Tooltip/types.js';
|
|
46
|
-
import '../Tooltip/Tooltip.js';
|
|
47
|
-
import '../../hooks/useGetTooltipStyles.js';
|
|
48
|
-
import '../../hooks/useGetElemSizes.js';
|
|
49
|
-
import '../../hooks/useGetElemPositions.js';
|
|
50
|
-
import '../../hooks/useGetTooltipPosition.js';
|
|
51
|
-
import '../../hooks/useHideOnScroll.js';
|
|
52
|
-
import '../Link/Link.js';
|
|
53
|
-
import '../Popover/PopoverDesktop.js';
|
|
54
|
-
import '../SVGIcons/IconInfo.js';
|
|
55
|
-
import '@babel/runtime/helpers/typeof';
|
|
56
|
-
import '../SVGIcons/IconDismissFilled.js';
|
|
57
|
-
import './DropzoneFileUpload/FilePreview.js';
|
|
58
|
-
import '../Progress/Progress.js';
|
|
59
|
-
import '../SVGIcons/IconArrowDownloadFilled.js';
|
|
60
|
-
import '../../helpers/download-file.js';
|
|
61
|
-
import '../Button/consts.js';
|
|
1
|
+
export * from './FileUpload';
|
|
2
|
+
export * from './DropzoneFileUpload';
|
|
3
|
+
export * from './types';
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
var FileUploadMode
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}({});
|
|
7
|
-
|
|
8
|
-
// DnDFileUpload types
|
|
9
|
-
|
|
10
|
-
export { FileUploadMode };
|
|
1
|
+
export var FileUploadMode;
|
|
2
|
+
(function (FileUploadMode) {
|
|
3
|
+
FileUploadMode["edit"] = "edit";
|
|
4
|
+
FileUploadMode["attach"] = "attach";
|
|
5
|
+
FileUploadMode["view"] = "view";
|
|
6
|
+
})(FileUploadMode || (FileUploadMode = {}));
|
|
@@ -1,137 +1,44 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import { FormContext } from '../../context
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
import '../SVGIcons/IconInfo.js';
|
|
45
|
-
import '../../helperComponents/IconDynamicComponent/IconDynamicComponent.js';
|
|
46
|
-
import '../../helperComponents/IconDynamicComponent/constants.js';
|
|
47
|
-
import '@babel/runtime/helpers/typeof';
|
|
48
|
-
import '../SVGIcons/IconDismissFilled.js';
|
|
49
|
-
import '../SVGIcons/IconDelete.js';
|
|
50
|
-
import '../FileUpload/DropzoneFileUpload/FilePreview.js';
|
|
51
|
-
import '../Progress/Progress.js';
|
|
52
|
-
import '../SVGIcons/IconArrowDownloadFilled.js';
|
|
53
|
-
import '../../helpers/download-file.js';
|
|
54
|
-
import '../Button/consts.js';
|
|
55
|
-
|
|
56
|
-
function o(o,n,s){return void 0===s&&(s={}),function(a,i,c){try{return Promise.resolve(function(t,r){try{var u=(null!=n&&n.context&&"development"===process.env.NODE_ENV&&console.warn("You should not used the yup options context. Please, use the 'useForm' context object instead"),Promise.resolve(o["sync"===s.mode?"validateSync":"validate"](a,Object.assign({abortEarly:!1},n,{context:i}))).then(function(t){return c.shouldUseNativeValidation&&validateFieldsNatively({},c),{values:s.raw?Object.assign({},a):t,errors:{}}}));}catch(e){return r(e)}return u&&u.then?u.then(void 0,r):u}(0,function(e){if(!e.inner)throw e;return {values:{},errors:toNestErrors((o=e,n=!c.shouldUseNativeValidation&&"all"===c.criteriaMode,(o.inner||[]).reduce(function(e,t){if(e[t.path]||(e[t.path]={message:t.message,type:t.type}),n){var o=e[t.path].types,s=o&&o[t.type];e[t.path]=appendErrors(t.path,n,e,t.type,s?[].concat(s,t.message):t.message);}return e},{})),c)};var o,n;}))}catch(e){return Promise.reject(e)}}}
|
|
57
|
-
|
|
58
|
-
var FormContainer = function FormContainer(props) {
|
|
59
|
-
var children = props.children,
|
|
60
|
-
_props$className = props.className,
|
|
61
|
-
className = _props$className === void 0 ? '' : _props$className,
|
|
62
|
-
shouldUnregister = props.shouldUnregister,
|
|
63
|
-
_props$shouldFocusErr = props.shouldFocusError,
|
|
64
|
-
shouldFocusError = _props$shouldFocusErr === void 0 ? true : _props$shouldFocusErr,
|
|
65
|
-
_props$mode = props.mode,
|
|
66
|
-
mode = _props$mode === void 0 ? 'onBlur' : _props$mode,
|
|
67
|
-
initialValues = props.initialValues,
|
|
68
|
-
validationScheme = props.validationScheme,
|
|
69
|
-
buttonConfigs = props.buttonConfigs,
|
|
70
|
-
formId = props.formId,
|
|
71
|
-
onSubmit = props.onSubmit;
|
|
72
|
-
var _useForm = useForm({
|
|
73
|
-
mode: mode,
|
|
74
|
-
resolver: o(validationScheme),
|
|
75
|
-
defaultValues: initialValues,
|
|
76
|
-
shouldFocusError: shouldFocusError,
|
|
77
|
-
shouldUnregister: shouldUnregister
|
|
78
|
-
}),
|
|
79
|
-
handleSubmit = _useForm.handleSubmit,
|
|
80
|
-
register = _useForm.register,
|
|
81
|
-
setValue = _useForm.setValue,
|
|
82
|
-
control = _useForm.control,
|
|
83
|
-
formState = _useForm.formState,
|
|
84
|
-
getValues = _useForm.getValues,
|
|
85
|
-
watch = _useForm.watch,
|
|
86
|
-
reset = _useForm.reset,
|
|
87
|
-
clearErrors = _useForm.clearErrors,
|
|
88
|
-
setError = _useForm.setError,
|
|
89
|
-
trigger = _useForm.trigger,
|
|
90
|
-
getFieldState = _useForm.getFieldState,
|
|
91
|
-
unregister = _useForm.unregister;
|
|
92
|
-
var errors = formState.errors,
|
|
93
|
-
isDirty = formState.isDirty,
|
|
94
|
-
isSubmitted = formState.isSubmitted,
|
|
95
|
-
isSubmitting = formState.isSubmitting,
|
|
96
|
-
dirtyFields = formState.dirtyFields;
|
|
97
|
-
var customSubmit = function customSubmit(data) {
|
|
98
|
-
if (onSubmit) {
|
|
99
|
-
onSubmit(data, formState, dirtyFields);
|
|
100
|
-
}
|
|
101
|
-
};
|
|
102
|
-
return /*#__PURE__*/React.createElement("form", {
|
|
103
|
-
onSubmit: handleSubmit(customSubmit),
|
|
104
|
-
id: formId,
|
|
105
|
-
className: classNames('form-container', className)
|
|
106
|
-
}, /*#__PURE__*/React.createElement(FormContext.Provider, {
|
|
107
|
-
value: {
|
|
108
|
-
trigger: trigger,
|
|
109
|
-
register: register,
|
|
110
|
-
errors: errors,
|
|
111
|
-
control: control,
|
|
112
|
-
setValue: setValue,
|
|
113
|
-
getValues: getValues,
|
|
114
|
-
watch: watch,
|
|
115
|
-
reset: reset,
|
|
116
|
-
isDirty: isDirty,
|
|
117
|
-
isSubmitted: isSubmitted,
|
|
118
|
-
isSubmitting: isSubmitting,
|
|
119
|
-
clearErrors: clearErrors,
|
|
120
|
-
setError: setError,
|
|
121
|
-
dirtyFields: dirtyFields,
|
|
122
|
-
getFieldState: getFieldState,
|
|
123
|
-
unregister: unregister,
|
|
124
|
-
onSubmit: function onSubmit() {
|
|
125
|
-
return handleSubmit(customSubmit)();
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
}, /*#__PURE__*/React.createElement(React.Fragment, null, children, buttonConfigs && /*#__PURE__*/React.createElement("div", {
|
|
129
|
-
className: "form-container__buttons"
|
|
130
|
-
}, buttonConfigs.map(function (buttonConfig, index) {
|
|
131
|
-
return /*#__PURE__*/React.createElement(Button, _extends({}, buttonConfig, {
|
|
132
|
-
key: index
|
|
133
|
-
}));
|
|
134
|
-
})))));
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { createElement as _createElement } from "react";
|
|
3
|
+
import { useForm } from 'react-hook-form';
|
|
4
|
+
import { yupResolver } from '@hookform/resolvers/yup';
|
|
5
|
+
import classnames from 'classnames';
|
|
6
|
+
import { FormContext } from '../../context';
|
|
7
|
+
import { Button } from '../Button';
|
|
8
|
+
export const FormContainer = (props) => {
|
|
9
|
+
const { children, className = '', shouldUnregister, shouldFocusError = true, mode = 'onBlur', initialValues, validationScheme, buttonConfigs, formId, onSubmit } = props;
|
|
10
|
+
const { handleSubmit, register, setValue, control, formState, getValues, watch, reset, clearErrors, setError, trigger, getFieldState, unregister } = useForm({
|
|
11
|
+
mode: mode,
|
|
12
|
+
resolver: yupResolver(validationScheme),
|
|
13
|
+
defaultValues: initialValues,
|
|
14
|
+
shouldFocusError: shouldFocusError,
|
|
15
|
+
shouldUnregister: shouldUnregister
|
|
16
|
+
});
|
|
17
|
+
const { errors, isDirty, isSubmitted, isSubmitting, dirtyFields } = formState;
|
|
18
|
+
const customSubmit = (data) => {
|
|
19
|
+
if (onSubmit) {
|
|
20
|
+
onSubmit(data, formState, dirtyFields);
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
return (_jsx("form", { onSubmit: handleSubmit(customSubmit), id: formId, className: classnames('form-container', className), children: _jsx(FormContext.Provider, { value: {
|
|
24
|
+
trigger,
|
|
25
|
+
register,
|
|
26
|
+
errors,
|
|
27
|
+
control,
|
|
28
|
+
setValue,
|
|
29
|
+
getValues,
|
|
30
|
+
watch,
|
|
31
|
+
reset,
|
|
32
|
+
isDirty,
|
|
33
|
+
isSubmitted,
|
|
34
|
+
isSubmitting,
|
|
35
|
+
clearErrors,
|
|
36
|
+
setError,
|
|
37
|
+
dirtyFields,
|
|
38
|
+
getFieldState,
|
|
39
|
+
unregister,
|
|
40
|
+
onSubmit: () => handleSubmit(customSubmit)()
|
|
41
|
+
}, children: _jsxs(_Fragment, { children: [children, buttonConfigs && (_jsx("div", { className: "form-container__buttons", children: buttonConfigs.map((buttonConfig, index) => {
|
|
42
|
+
return _createElement(Button, Object.assign({}, buttonConfig, { key: index }));
|
|
43
|
+
}) }))] }) }) }));
|
|
135
44
|
};
|
|
136
|
-
|
|
137
|
-
export { FormContainer };
|
|
@@ -1,55 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
import '@babel/runtime/helpers/extends';
|
|
3
|
-
import 'react';
|
|
4
|
-
import 'react-hook-form';
|
|
5
|
-
import '@hookform/resolvers';
|
|
6
|
-
import 'classnames';
|
|
7
|
-
import '../../context/types.js';
|
|
8
|
-
import '../../utils/helpers.js';
|
|
9
|
-
import 'dayjs';
|
|
10
|
-
import '../../Alert-V_kH4Snn.js';
|
|
11
|
-
import '../Alert/consts.js';
|
|
12
|
-
import '../Text/Text.js';
|
|
13
|
-
import '@babel/runtime/helpers/defineProperty';
|
|
14
|
-
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
15
|
-
import '../../helperComponents/Loader/Loader.js';
|
|
16
|
-
import '@babel/runtime/helpers/slicedToArray';
|
|
17
|
-
import '@babel/runtime/helpers/toConsumableArray';
|
|
18
|
-
import '../../consts/index.js';
|
|
19
|
-
import '../../type/file-upload.js';
|
|
20
|
-
import '../../hooks/useScreenSize.js';
|
|
21
|
-
import 'react-dropzone';
|
|
22
|
-
import '../SVGIcons/IconUpload.js';
|
|
23
|
-
import '../FileUpload/types.js';
|
|
24
|
-
import '../../helpers/format-date.js';
|
|
25
|
-
import '../../helpers/locale.js';
|
|
26
|
-
import '../../type/locale.js';
|
|
27
|
-
import '../../helpers/storage.js';
|
|
28
|
-
import 'react-toastify';
|
|
29
|
-
import '../../hooks/useGetIsMobile.js';
|
|
30
|
-
import 'framer-motion';
|
|
31
|
-
import '../../helperComponents/AnimatePresenceWrapper/AnimatePresenceWrapper.js';
|
|
32
|
-
import '../../hooks/useOnOutsideClick.js';
|
|
33
|
-
import '../../hooks/useHideBodyScroll.js';
|
|
34
|
-
import '../SVGIcons/IconDismiss.js';
|
|
35
|
-
import '../Tooltip/types.js';
|
|
36
|
-
import '../Tooltip/Tooltip.js';
|
|
37
|
-
import '../../hooks/useGetTooltipStyles.js';
|
|
38
|
-
import '../../hooks/useGetElemSizes.js';
|
|
39
|
-
import '../../hooks/useGetElemPositions.js';
|
|
40
|
-
import '../../hooks/useGetTooltipPosition.js';
|
|
41
|
-
import '../../hooks/useHideOnScroll.js';
|
|
42
|
-
import 'react-syntax-highlighter';
|
|
43
|
-
import '../Link/Link.js';
|
|
44
|
-
import '../Popover/PopoverDesktop.js';
|
|
45
|
-
import '../SVGIcons/IconInfo.js';
|
|
46
|
-
import '../../helperComponents/IconDynamicComponent/IconDynamicComponent.js';
|
|
47
|
-
import '../../helperComponents/IconDynamicComponent/constants.js';
|
|
48
|
-
import '@babel/runtime/helpers/typeof';
|
|
49
|
-
import '../SVGIcons/IconDismissFilled.js';
|
|
50
|
-
import '../SVGIcons/IconDelete.js';
|
|
51
|
-
import '../FileUpload/DropzoneFileUpload/FilePreview.js';
|
|
52
|
-
import '../Progress/Progress.js';
|
|
53
|
-
import '../SVGIcons/IconArrowDownloadFilled.js';
|
|
54
|
-
import '../../helpers/download-file.js';
|
|
55
|
-
import '../Button/consts.js';
|
|
1
|
+
export * from './FormContainer';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
|
@@ -1,115 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import { ErrorMessage } from '@hookform/error-message';
|
|
4
|
-
import
|
|
5
|
-
import '
|
|
6
|
-
import { ErrorMessage as ErrorMessage$1 } from '../../helperComponents/ErrorMessage/ErrorMessage.js';
|
|
7
|
-
import '@babel/runtime/helpers/extends';
|
|
8
|
-
import '@babel/runtime/helpers/slicedToArray';
|
|
9
|
-
import '@babel/runtime/helpers/toConsumableArray';
|
|
10
|
-
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
11
|
-
import '../../consts/index.js';
|
|
12
|
-
import { FormContext } from '../../context/types.js';
|
|
13
|
-
import '../../hooks/useScreenSize.js';
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useContext } from 'react';
|
|
3
|
+
import { ErrorMessage as ReactHookFormErrorMessage } from '@hookform/error-message';
|
|
4
|
+
import { ErrorMessage } from '../../helperComponents';
|
|
5
|
+
import { FormContext } from '../../context';
|
|
14
6
|
import { Controller } from 'react-hook-form';
|
|
15
|
-
import '
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
import '../../type/file-upload.js';
|
|
22
|
-
import '../Alert/consts.js';
|
|
23
|
-
import '../../helperComponents/Loader/Loader.js';
|
|
24
|
-
import 'react-dropzone';
|
|
25
|
-
import '../SVGIcons/IconUpload.js';
|
|
26
|
-
import '../FileUpload/types.js';
|
|
27
|
-
import '../../helpers/format-date.js';
|
|
28
|
-
import '../../helpers/locale.js';
|
|
29
|
-
import '../../type/locale.js';
|
|
30
|
-
import '../../helpers/storage.js';
|
|
31
|
-
import 'react-toastify';
|
|
32
|
-
import '../../hooks/useGetIsMobile.js';
|
|
33
|
-
import 'framer-motion';
|
|
34
|
-
import '../../helperComponents/AnimatePresenceWrapper/AnimatePresenceWrapper.js';
|
|
35
|
-
import '../../hooks/useOnOutsideClick.js';
|
|
36
|
-
import '../../hooks/useHideBodyScroll.js';
|
|
37
|
-
import '../SVGIcons/IconDismiss.js';
|
|
38
|
-
import '../Tooltip/types.js';
|
|
39
|
-
import '../Tooltip/Tooltip.js';
|
|
40
|
-
import '../../hooks/useGetTooltipStyles.js';
|
|
41
|
-
import '../../hooks/useGetElemSizes.js';
|
|
42
|
-
import '../../hooks/useGetElemPositions.js';
|
|
43
|
-
import '../../hooks/useGetTooltipPosition.js';
|
|
44
|
-
import '../../hooks/useHideOnScroll.js';
|
|
45
|
-
import '../Link/Link.js';
|
|
46
|
-
import '../Popover/PopoverDesktop.js';
|
|
47
|
-
import '../SVGIcons/IconInfo.js';
|
|
48
|
-
import '@babel/runtime/helpers/typeof';
|
|
49
|
-
import '../SVGIcons/IconDismissFilled.js';
|
|
50
|
-
import '../SVGIcons/IconDelete.js';
|
|
51
|
-
import '../FileUpload/DropzoneFileUpload/FilePreview.js';
|
|
52
|
-
import '../Progress/Progress.js';
|
|
53
|
-
import '../SVGIcons/IconArrowDownloadFilled.js';
|
|
54
|
-
import '../../helpers/download-file.js';
|
|
55
|
-
import '../Button/consts.js';
|
|
56
|
-
|
|
57
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
58
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
59
|
-
var FormField = function FormField(props) {
|
|
60
|
-
var As = props.As,
|
|
61
|
-
name = props.name,
|
|
62
|
-
_props$className = props.className,
|
|
63
|
-
className = _props$className === void 0 ? '' : _props$className,
|
|
64
|
-
_props$dataId = props.dataId,
|
|
65
|
-
dataId = _props$dataId === void 0 ? '' : _props$dataId,
|
|
66
|
-
_props$hideErrorMessa = props.hideErrorMessage,
|
|
67
|
-
hideErrorMessage = _props$hideErrorMessa === void 0 ? false : _props$hideErrorMessa,
|
|
68
|
-
errorMessageIcon = props.errorMessageIcon;
|
|
69
|
-
var _useContext = useContext(FormContext),
|
|
70
|
-
register = _useContext.register,
|
|
71
|
-
errors = _useContext.errors,
|
|
72
|
-
setValue = _useContext.setValue,
|
|
73
|
-
control = _useContext.control;
|
|
74
|
-
if (!register) {
|
|
75
|
-
return null;
|
|
76
|
-
}
|
|
77
|
-
var registerOptions = register(name);
|
|
78
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
79
|
-
className: classNames('form-container__field', className, name)
|
|
80
|
-
}, /*#__PURE__*/React.createElement(Controller, {
|
|
81
|
-
control: control,
|
|
82
|
-
name: name,
|
|
83
|
-
render: function render(_ref) {
|
|
84
|
-
var field = _ref.field,
|
|
85
|
-
fieldState = _ref.fieldState;
|
|
86
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, As(_objectSpread(_objectSpread({
|
|
87
|
-
hasError: !!fieldState.error,
|
|
88
|
-
isValid: fieldState.isTouched && fieldState.isDirty && !fieldState.invalid,
|
|
89
|
-
dataId: dataId
|
|
90
|
-
}, registerOptions), {}, {
|
|
91
|
-
setFieldValue: function setFieldValue(data, name, options) {
|
|
92
|
-
return setValue(data, name, _objectSpread({
|
|
93
|
-
shouldValidate: true,
|
|
94
|
-
shouldDirty: true,
|
|
95
|
-
shouldTouch: true
|
|
96
|
-
}, options));
|
|
97
|
-
}
|
|
98
|
-
}, field)), !hideErrorMessage ? /*#__PURE__*/React.createElement(ErrorMessage, {
|
|
99
|
-
name: name,
|
|
100
|
-
errors: errors,
|
|
101
|
-
render: function render(_ref2) {
|
|
102
|
-
var message = _ref2.message;
|
|
103
|
-
return /*#__PURE__*/React.createElement(ErrorMessage$1, {
|
|
104
|
-
dataId: dataId,
|
|
105
|
-
message: message || '',
|
|
106
|
-
className: "full-width",
|
|
107
|
-
icon: errorMessageIcon
|
|
108
|
-
});
|
|
109
|
-
}
|
|
110
|
-
}) : null);
|
|
7
|
+
import classnames from 'classnames';
|
|
8
|
+
export const FormField = (props) => {
|
|
9
|
+
const { As, name, className = '', dataId = '', hideErrorMessage = false, errorMessageIcon } = props;
|
|
10
|
+
const { register, errors, setValue, control } = useContext(FormContext);
|
|
11
|
+
if (!register) {
|
|
12
|
+
return null;
|
|
111
13
|
}
|
|
112
|
-
|
|
14
|
+
const registerOptions = register(name);
|
|
15
|
+
return (_jsx("div", { className: classnames('form-container__field', className, name), children: _jsx(Controller, { control: control, name: name, render: ({ field, fieldState }) => {
|
|
16
|
+
return (_jsxs(_Fragment, { children: [As(Object.assign(Object.assign(Object.assign({ hasError: !!fieldState.error, isValid: fieldState.isTouched && fieldState.isDirty && !fieldState.invalid, dataId }, registerOptions), { setFieldValue: (data, name, options) => setValue(data, name, Object.assign({ shouldValidate: true, shouldDirty: true, shouldTouch: true }, options)) }), field)), !hideErrorMessage ? (_jsx(ReactHookFormErrorMessage, { name: name, errors: errors, render: ({ message }) => {
|
|
17
|
+
return (_jsx(ErrorMessage, { dataId: dataId, message: message || '', className: "full-width", icon: errorMessageIcon }));
|
|
18
|
+
} })) : null] }));
|
|
19
|
+
} }) }));
|
|
113
20
|
};
|
|
114
|
-
|
|
115
|
-
export { FormField };
|
|
@@ -1,56 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
import '@babel/runtime/helpers/defineProperty';
|
|
3
|
-
import 'react';
|
|
4
|
-
import '@hookform/error-message';
|
|
5
|
-
import 'classnames';
|
|
6
|
-
import 'dayjs';
|
|
7
|
-
import '../../helperComponents/ErrorMessage/ErrorMessage.js';
|
|
8
|
-
import '../Text/Text.js';
|
|
9
|
-
import '../../utils/helpers.js';
|
|
10
|
-
import '../../helperComponents/IconDynamicComponent/IconDynamicComponent.js';
|
|
11
|
-
import '../../helperComponents/IconDynamicComponent/constants.js';
|
|
12
|
-
import '@babel/runtime/helpers/extends';
|
|
13
|
-
import '@babel/runtime/helpers/slicedToArray';
|
|
14
|
-
import '@babel/runtime/helpers/toConsumableArray';
|
|
15
|
-
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
16
|
-
import '../../consts/index.js';
|
|
17
|
-
import '../../type/file-upload.js';
|
|
18
|
-
import '../../context/types.js';
|
|
19
|
-
import '../../hooks/useScreenSize.js';
|
|
20
|
-
import 'react-hook-form';
|
|
21
|
-
import '../../Alert-V_kH4Snn.js';
|
|
22
|
-
import '../Alert/consts.js';
|
|
23
|
-
import '../../helperComponents/Loader/Loader.js';
|
|
24
|
-
import 'react-dropzone';
|
|
25
|
-
import '../SVGIcons/IconUpload.js';
|
|
26
|
-
import '../FileUpload/types.js';
|
|
27
|
-
import '../../helpers/format-date.js';
|
|
28
|
-
import '../../helpers/locale.js';
|
|
29
|
-
import '../../type/locale.js';
|
|
30
|
-
import '../../helpers/storage.js';
|
|
31
|
-
import 'react-toastify';
|
|
32
|
-
import '../../hooks/useGetIsMobile.js';
|
|
33
|
-
import 'framer-motion';
|
|
34
|
-
import '../../helperComponents/AnimatePresenceWrapper/AnimatePresenceWrapper.js';
|
|
35
|
-
import '../../hooks/useOnOutsideClick.js';
|
|
36
|
-
import '../../hooks/useHideBodyScroll.js';
|
|
37
|
-
import '../SVGIcons/IconDismiss.js';
|
|
38
|
-
import '../Tooltip/types.js';
|
|
39
|
-
import '../Tooltip/Tooltip.js';
|
|
40
|
-
import '../../hooks/useGetTooltipStyles.js';
|
|
41
|
-
import '../../hooks/useGetElemSizes.js';
|
|
42
|
-
import '../../hooks/useGetElemPositions.js';
|
|
43
|
-
import '../../hooks/useGetTooltipPosition.js';
|
|
44
|
-
import '../../hooks/useHideOnScroll.js';
|
|
45
|
-
import 'react-syntax-highlighter';
|
|
46
|
-
import '../Link/Link.js';
|
|
47
|
-
import '../Popover/PopoverDesktop.js';
|
|
48
|
-
import '../SVGIcons/IconInfo.js';
|
|
49
|
-
import '@babel/runtime/helpers/typeof';
|
|
50
|
-
import '../SVGIcons/IconDismissFilled.js';
|
|
51
|
-
import '../SVGIcons/IconDelete.js';
|
|
52
|
-
import '../FileUpload/DropzoneFileUpload/FilePreview.js';
|
|
53
|
-
import '../Progress/Progress.js';
|
|
54
|
-
import '../SVGIcons/IconArrowDownloadFilled.js';
|
|
55
|
-
import '../../helpers/download-file.js';
|
|
56
|
-
import '../Button/consts.js';
|
|
1
|
+
export * from './FormField';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|