hrm_ui_lib 2.0.3 → 2.1.0-alpha.10
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/README.md +1 -3
- package/assets/images/file-preview.svg.js +1 -0
- package/assets/images/no-result.svg.js +1 -0
- package/assets/images/no_mobile_image.svg.js +1 -0
- package/assets/images/under-construction.webp +0 -0
- package/assets/images/under-construction.webp.js +1 -0
- package/assets/styles/helpers/_mixin.scss +326 -464
- package/assets/styles/styles.css +1 -8776
- package/components/Alert/Alert.js +6 -52
- package/components/Alert/consts.d.ts +3 -4
- package/components/Alert/consts.js +1 -16
- package/components/Alert/index.js +1 -52
- package/components/Alert/types.js +0 -1
- package/components/Avatar/Avatar.js +1 -119
- package/components/Avatar/AvatarGroup.js +5 -120
- package/components/Avatar/index.js +1 -64
- package/components/Avatar/types.js +0 -1
- package/components/Badge/Badge.js +2 -24
- package/components/Badge/index.js +1 -6
- package/components/Badge/types.js +0 -1
- package/components/BadgeV2/BadgeV2.d.ts +3 -0
- package/components/BadgeV2/BadgeV2.js +1 -0
- package/components/BadgeV2/index.d.ts +1 -0
- package/components/BadgeV2/index.js +1 -0
- package/components/BadgeV2/types.d.ts +23 -0
- package/components/BadgeV2/types.js +1 -0
- package/components/Breadcrumb/Breadcrumb.js +2 -24
- package/components/Breadcrumb/index.js +1 -2
- package/components/Breadcrumb/types.js +0 -1
- package/components/Button/Button.js +2 -52
- package/components/Button/consts.d.ts +1 -1
- package/components/Button/consts.js +1 -16
- package/components/Button/index.js +1 -52
- package/components/Button/types.d.ts +2 -1
- package/components/Button/types.js +0 -1
- package/components/ButtonGroup/ButtonGroup.d.ts +2 -0
- package/components/ButtonGroup/ButtonGroup.js +2 -0
- package/components/ButtonGroup/ButtonGroupItem.d.ts +2 -0
- package/components/ButtonGroup/ButtonGroupItem.js +3 -0
- package/components/ButtonGroup/consts.d.ts +8 -0
- package/components/ButtonGroup/consts.js +1 -0
- package/components/ButtonGroup/index.d.ts +1 -0
- package/components/ButtonGroup/index.js +1 -0
- package/components/ButtonGroup/types.d.ts +23 -0
- package/components/ButtonGroup/types.js +0 -0
- package/components/Card/Card.d.ts +13 -0
- package/components/Card/Card.js +1 -0
- package/components/Card/CardComponent/Card.d.ts +4 -0
- package/components/Card/CardComponent/Card.js +3 -0
- package/components/Card/CardComponent/CardBody.d.ts +4 -0
- package/components/Card/CardComponent/CardBody.js +2 -0
- package/components/Card/CardComponent/CardFooter.d.ts +4 -0
- package/components/Card/CardComponent/CardFooter.js +1 -0
- package/components/Card/CardComponent/CardHead.d.ts +4 -0
- package/components/Card/CardComponent/CardHead.js +2 -0
- package/components/Card/CardContext.d.ts +7 -0
- package/components/Card/CardContext.js +1 -0
- package/components/Card/index.d.ts +1 -0
- package/components/Card/index.js +1 -0
- package/components/Card/types.d.ts +19 -0
- package/components/Card/types.js +0 -0
- package/components/CardGroup/CardGroup.d.ts +10 -0
- package/components/CardGroup/CardGroup.js +1 -0
- package/components/CardGroup/CardGroupComponent/CardBody.d.ts +4 -0
- package/components/CardGroup/CardGroupComponent/CardBody.js +2 -0
- package/components/CardGroup/CardGroupComponent/CardGroup.d.ts +4 -0
- package/components/CardGroup/CardGroupComponent/CardGroup.js +2 -0
- package/components/CardGroup/CardGroupComponent/CardHead.d.ts +4 -0
- package/components/CardGroup/CardGroupComponent/CardHead.js +3 -0
- package/components/CardGroup/CardGroupContext.d.ts +6 -0
- package/components/CardGroup/CardGroupContext.js +1 -0
- package/components/CardGroup/index.d.ts +1 -0
- package/components/CardGroup/index.js +1 -0
- package/components/CardGroup/types.d.ts +14 -0
- package/components/CardGroup/types.js +0 -0
- package/components/Checkbox/Checkbox.js +6 -52
- package/components/Checkbox/consts.d.ts +3 -0
- package/components/Checkbox/consts.js +1 -0
- package/components/Checkbox/index.js +1 -52
- package/components/Checkbox/types.d.ts +1 -0
- package/components/Checkbox/types.js +0 -1
- package/components/Chips/Chips.js +2 -67
- package/components/Chips/consts.d.ts +1 -1
- package/components/Chips/consts.js +1 -14
- package/components/Chips/index.js +1 -11
- package/components/Chips/types.d.ts +1 -1
- package/components/Chips/types.js +1 -7
- package/components/Collapse/Collapse/Collapse.d.ts +3 -0
- package/components/Collapse/Collapse/Collapse.js +5 -0
- package/components/Collapse/Collapse/Title.d.ts +10 -0
- package/components/Collapse/Collapse/Title.js +2 -0
- package/components/Collapse/CollapseGroup/CollapseGroup.js +3 -76
- package/components/Collapse/CollapseItem/CollapseItem.js +10 -89
- package/components/Collapse/index.d.ts +1 -0
- package/components/Collapse/index.js +1 -16
- package/components/Collapse/types.d.ts +16 -3
- package/components/Collapse/types.js +0 -1
- package/components/Container/Container.js +2 -10
- package/components/Container/index.js +1 -2
- package/components/Container/types.js +0 -1
- package/components/Copy/Copy.js +3 -94
- package/components/Copy/index.js +1 -54
- package/components/Copy/types.js +0 -1
- package/components/Counter/Counter.js +2 -137
- package/components/Counter/index.js +1 -61
- package/components/Counter/types.js +0 -1
- package/components/DarkModeSwitcher/DarkModeSwitcher.d.ts +11 -0
- package/components/DarkModeSwitcher/DarkModeSwitcher.js +5 -0
- package/components/DarkModeSwitcher/index.d.ts +1 -0
- package/components/DarkModeSwitcher/index.js +1 -0
- package/components/DarkModeSwitcher/types.d.ts +17 -0
- package/components/DarkModeSwitcher/types.js +1 -0
- package/components/DatePicker/CustomHeader/CustomHeader.js +7 -192
- package/components/DatePicker/CustomHeader/helpers.js +1 -17
- package/components/DatePicker/RangeDatePicker/RangeDatePicker.js +1 -130
- package/components/DatePicker/RangeDatePicker/RangeDatePickerDesktop.js +4 -177
- package/components/DatePicker/RangeDatePicker/RangeDatePickerMobile.js +8 -269
- package/components/DatePicker/RangeDatePicker/index.js +1 -124
- package/components/DatePicker/SimpleDatePicker/SimpleDatePicker.js +1 -130
- package/components/DatePicker/SimpleDatePicker/SimpleDatePickerDesktop.js +4 -205
- package/components/DatePicker/SimpleDatePicker/SimpleDatePickerMobile.js +5 -210
- package/components/DatePicker/SimpleDatePicker/index.js +1 -123
- package/components/DatePicker/TimePicker/MobileModalContent.js +4 -124
- package/components/DatePicker/TimePicker/TimePicker.js +1 -76
- package/components/DatePicker/TimePicker/TimePickerDesktop.js +4 -131
- package/components/DatePicker/TimePicker/TimePickerMobile.js +5 -127
- package/components/DatePicker/TimePicker/consts.js +1 -8
- package/components/DatePicker/TimePicker/helpers.js +1 -21
- package/components/DatePicker/TimePicker/index.js +1 -70
- package/components/DatePicker/hooks.js +1 -2175
- package/components/DatePicker/index.js +1 -134
- package/components/DatePicker/localization.js +1 -7
- package/components/DatePicker/types.js +1 -7
- package/components/Divider/Divider.js +2 -16
- package/components/Divider/index.js +1 -3
- package/components/Divider/types.d.ts +1 -0
- package/components/Divider/types.js +0 -1
- package/components/Empty/Empty.js +4 -85
- package/components/Empty/index.js +1 -54
- package/components/Empty/types.js +0 -1
- package/components/FileUpload/DropzoneFileUpload/DropzoneFileUpload.js +7 -52
- package/components/FileUpload/DropzoneFileUpload/ErrorItem.js +1 -52
- package/components/FileUpload/DropzoneFileUpload/FilePreview.js +2 -53
- package/components/FileUpload/DropzoneFileUpload/PreviewItem.js +7 -52
- package/components/FileUpload/DropzoneFileUpload/helpers.js +1 -52
- package/components/FileUpload/DropzoneFileUpload/index.js +1 -52
- package/components/FileUpload/FileUpload.js +6 -193
- package/components/FileUpload/UploadItems.js +6 -102
- package/components/FileUpload/index.js +1 -61
- package/components/FileUpload/types.js +1 -10
- package/components/FormContainer/FormContainer.js +1 -137
- package/components/FormContainer/index.js +1 -55
- package/components/FormContainer/types.d.ts +2 -2
- package/components/FormContainer/types.js +0 -1
- package/components/FormField/FormField.js +3 -115
- package/components/FormField/index.js +1 -56
- package/components/FormField/types.d.ts +1 -0
- package/components/FormField/types.js +0 -1
- package/components/Heading/Heading.js +2 -29
- package/components/Heading/index.js +1 -5
- package/components/Heading/types.js +0 -1
- package/components/Image/Image.js +1 -33
- package/components/Image/index.js +1 -2
- package/components/Image/types.js +0 -1
- package/components/Input/Input.js +9 -243
- package/components/Input/index.js +1 -58
- package/components/Input/types.d.ts +1 -1
- package/components/Input/types.js +0 -1
- package/components/Link/Link.js +2 -42
- package/components/Link/index.js +1 -3
- package/components/Link/types.js +0 -1
- package/components/Menu/Menu.js +3 -165
- package/components/Menu/NestedMenu.js +3 -178
- package/components/Menu/index.js +1 -72
- package/components/Menu/types.js +0 -1
- package/components/Modal/Modal.d.ts +1 -6
- package/components/Modal/Modal.js +1 -52
- package/components/Modal/ModalConfirmation.d.ts +1 -1
- package/components/Modal/ModalConfirmation.js +3 -143
- package/components/Modal/ModalContent.d.ts +3 -1
- package/components/Modal/ModalContent.js +5 -52
- package/components/Modal/index.js +1 -53
- package/components/Modal/types.d.ts +2 -0
- package/components/Modal/types.js +0 -1
- package/components/More/More.js +3 -86
- package/components/More/index.js +1 -53
- package/components/More/types.js +0 -1
- package/components/Pagination/Pagination.js +2 -59
- package/components/Pagination/consts.d.ts +1 -1
- package/components/Pagination/consts.js +1 -8
- package/components/Pagination/index.js +1 -10
- package/components/Pagination/types.js +0 -1
- package/components/Popover/Popover.js +1 -52
- package/components/Popover/PopoverDesktop.js +1 -71
- package/components/Popover/PopoverMobile.js +3 -52
- package/components/Popover/index.js +1 -52
- package/components/Popover/types.d.ts +2 -1
- package/components/Popover/types.js +0 -1
- package/components/Progress/Progress.js +4 -57
- package/components/Progress/index.js +1 -2
- package/components/Progress/types.js +0 -1
- 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 -113
- package/components/Radio/index.js +1 -55
- package/components/Radio/types.js +0 -1
- package/components/SVGIcons/IconAdd.d.ts +2 -2
- package/components/SVGIcons/IconAdd.js +1 -29
- package/components/SVGIcons/IconAddCircle.d.ts +2 -2
- package/components/SVGIcons/IconAddCircle.js +1 -32
- package/components/SVGIcons/IconAddCircleFilled.d.ts +2 -2
- package/components/SVGIcons/IconAddCircleFilled.js +1 -32
- package/components/SVGIcons/IconAddFilled.d.ts +2 -2
- package/components/SVGIcons/IconAddFilled.js +1 -29
- package/components/SVGIcons/IconAirplaneTakeOff.d.ts +4 -0
- package/components/SVGIcons/IconAirplaneTakeOff.js +1 -0
- package/components/SVGIcons/IconAirplaneTakeOffFilled.d.ts +4 -0
- package/components/SVGIcons/IconAirplaneTakeOffFilled.js +1 -0
- package/components/SVGIcons/IconAlert.d.ts +2 -2
- package/components/SVGIcons/IconAlert.js +1 -32
- package/components/SVGIcons/IconAlertBadge.d.ts +2 -2
- package/components/SVGIcons/IconAlertBadge.js +1 -32
- package/components/SVGIcons/IconAlertBadgeFilled.d.ts +2 -2
- package/components/SVGIcons/IconAlertBadgeFilled.js +1 -32
- package/components/SVGIcons/IconAlertFilled.d.ts +2 -2
- package/components/SVGIcons/IconAlertFilled.js +1 -32
- package/components/SVGIcons/IconAm.d.ts +2 -2
- package/components/SVGIcons/IconAm.js +7 -58
- package/components/SVGIcons/IconAmd.d.ts +2 -2
- package/components/SVGIcons/IconAmd.js +1 -29
- package/components/SVGIcons/IconAmdFilled.d.ts +2 -2
- package/components/SVGIcons/IconAmdFilled.js +1 -29
- package/components/SVGIcons/IconApple.d.ts +2 -2
- package/components/SVGIcons/IconApple.js +1 -32
- package/components/SVGIcons/IconArrowDown.d.ts +2 -2
- package/components/SVGIcons/IconArrowDown.js +1 -32
- package/components/SVGIcons/IconArrowDownFilled.d.ts +2 -2
- package/components/SVGIcons/IconArrowDownFilled.js +1 -32
- package/components/SVGIcons/IconArrowDownLeft.d.ts +2 -2
- package/components/SVGIcons/IconArrowDownLeft.js +1 -32
- package/components/SVGIcons/IconArrowDownLeftFilled.d.ts +2 -2
- package/components/SVGIcons/IconArrowDownLeftFilled.js +1 -32
- package/components/SVGIcons/IconArrowDownload.d.ts +2 -2
- package/components/SVGIcons/IconArrowDownload.js +1 -32
- package/components/SVGIcons/IconArrowDownloadFilled.d.ts +2 -2
- package/components/SVGIcons/IconArrowDownloadFilled.js +1 -32
- package/components/SVGIcons/IconArrowEnter.d.ts +2 -2
- package/components/SVGIcons/IconArrowEnter.js +1 -29
- package/components/SVGIcons/IconArrowEnterFilled.d.ts +2 -2
- package/components/SVGIcons/IconArrowEnterFilled.js +1 -29
- package/components/SVGIcons/IconArrowExit.d.ts +2 -2
- package/components/SVGIcons/IconArrowExit.js +1 -29
- package/components/SVGIcons/IconArrowExitFilled.d.ts +2 -2
- package/components/SVGIcons/IconArrowExitFilled.js +1 -29
- package/components/SVGIcons/IconArrowExportLeftToRight.d.ts +2 -2
- package/components/SVGIcons/IconArrowExportLeftToRight.js +1 -32
- package/components/SVGIcons/IconArrowExportLeftToRightFilled.d.ts +2 -2
- package/components/SVGIcons/IconArrowExportLeftToRightFilled.js +1 -32
- package/components/SVGIcons/IconArrowExportRightToLeft.d.ts +2 -2
- package/components/SVGIcons/IconArrowExportRightToLeft.js +1 -32
- package/components/SVGIcons/IconArrowExportRightToLeftFilled.d.ts +2 -2
- package/components/SVGIcons/IconArrowExportRightToLeftFilled.js +1 -32
- package/components/SVGIcons/IconArrowExportUp.d.ts +2 -2
- package/components/SVGIcons/IconArrowExportUp.js +1 -32
- package/components/SVGIcons/IconArrowExportUpFilled.d.ts +2 -2
- package/components/SVGIcons/IconArrowExportUpFilled.js +1 -32
- package/components/SVGIcons/IconArrowImport.d.ts +2 -2
- package/components/SVGIcons/IconArrowImport.js +1 -32
- package/components/SVGIcons/IconArrowImportFilled.d.ts +2 -2
- package/components/SVGIcons/IconArrowImportFilled.js +1 -32
- package/components/SVGIcons/IconArrowLeft.d.ts +2 -2
- package/components/SVGIcons/IconArrowLeft.js +1 -32
- package/components/SVGIcons/IconArrowLeftFilled.d.ts +2 -2
- package/components/SVGIcons/IconArrowLeftFilled.js +1 -32
- package/components/SVGIcons/IconArrowRepeatAll.d.ts +2 -2
- package/components/SVGIcons/IconArrowRepeatAll.js +1 -32
- package/components/SVGIcons/IconArrowRepeatAllFilled.d.ts +2 -2
- package/components/SVGIcons/IconArrowRepeatAllFilled.js +1 -32
- package/components/SVGIcons/IconArrowReset.d.ts +2 -2
- package/components/SVGIcons/IconArrowReset.js +1 -32
- package/components/SVGIcons/IconArrowResetFilled.d.ts +2 -2
- package/components/SVGIcons/IconArrowResetFilled.js +1 -32
- package/components/SVGIcons/IconArrowRight.d.ts +2 -2
- package/components/SVGIcons/IconArrowRight.js +1 -32
- package/components/SVGIcons/IconArrowRightFilled.d.ts +2 -2
- package/components/SVGIcons/IconArrowRightFilled.js +1 -32
- package/components/SVGIcons/IconArrowSort.d.ts +2 -2
- package/components/SVGIcons/IconArrowSort.js +1 -29
- package/components/SVGIcons/IconArrowSortFilled.d.ts +2 -2
- package/components/SVGIcons/IconArrowSortFilled.js +1 -29
- package/components/SVGIcons/IconArrowSync.d.ts +2 -2
- package/components/SVGIcons/IconArrowSync.js +1 -29
- package/components/SVGIcons/IconArrowSyncFilled.d.ts +2 -2
- package/components/SVGIcons/IconArrowSyncFilled.js +1 -29
- package/components/SVGIcons/IconArrowUp.d.ts +2 -2
- package/components/SVGIcons/IconArrowUp.js +1 -32
- package/components/SVGIcons/IconArrowUpFilled.d.ts +2 -2
- package/components/SVGIcons/IconArrowUpFilled.js +1 -32
- package/components/SVGIcons/IconArrowUpLeft.d.ts +2 -2
- package/components/SVGIcons/IconArrowUpLeft.js +1 -32
- package/components/SVGIcons/IconArrowUpLeftFilled.d.ts +2 -2
- package/components/SVGIcons/IconArrowUpLeftFilled.js +1 -32
- package/components/SVGIcons/IconArrowUpRight.d.ts +2 -2
- package/components/SVGIcons/IconArrowUpRight.js +1 -32
- package/components/SVGIcons/IconArrowUpRightFilled.d.ts +2 -2
- package/components/SVGIcons/IconArrowUpRightFilled.js +1 -32
- package/components/SVGIcons/IconAttach.d.ts +2 -2
- package/components/SVGIcons/IconAttach.js +1 -32
- package/components/SVGIcons/IconAttachFilled.d.ts +2 -2
- package/components/SVGIcons/IconAttachFilled.js +1 -32
- package/components/SVGIcons/IconBeach.d.ts +2 -2
- package/components/SVGIcons/IconBeach.js +1 -29
- package/components/SVGIcons/IconBeachFilled.d.ts +2 -2
- package/components/SVGIcons/IconBeachFilled.js +1 -29
- package/components/SVGIcons/IconBook.d.ts +2 -2
- package/components/SVGIcons/IconBook.js +1 -32
- package/components/SVGIcons/IconBookFilled.d.ts +2 -2
- package/components/SVGIcons/IconBookFilled.js +1 -32
- package/components/SVGIcons/IconBookmark.d.ts +2 -2
- package/components/SVGIcons/IconBookmark.js +1 -32
- package/components/SVGIcons/IconBookmarkFilled.d.ts +2 -2
- package/components/SVGIcons/IconBookmarkFilled.js +1 -32
- package/components/SVGIcons/IconBriefcase.d.ts +2 -2
- package/components/SVGIcons/IconBriefcase.js +1 -32
- package/components/SVGIcons/IconBriefcaseFilled.d.ts +2 -2
- package/components/SVGIcons/IconBriefcaseFilled.js +1 -32
- package/components/SVGIcons/IconBudgetTransfer.d.ts +4 -0
- package/components/SVGIcons/IconBudgetTransfer.js +7 -0
- package/components/SVGIcons/IconBuilding.d.ts +2 -2
- package/components/SVGIcons/IconBuilding.js +7 -55
- package/components/SVGIcons/IconBuildingBank.d.ts +2 -2
- package/components/SVGIcons/IconBuildingBank.js +1 -29
- package/components/SVGIcons/IconBuildingBankFilled.d.ts +2 -2
- package/components/SVGIcons/IconBuildingBankFilled.js +1 -29
- package/components/SVGIcons/IconBuildingFilled.d.ts +2 -2
- package/components/SVGIcons/IconBuildingFilled.js +1 -32
- package/components/SVGIcons/IconBulletListAdd.d.ts +2 -2
- package/components/SVGIcons/IconBulletListAdd.js +1 -32
- package/components/SVGIcons/IconBulletListAddFilled.d.ts +2 -2
- package/components/SVGIcons/IconBulletListAddFilled.js +1 -32
- package/components/SVGIcons/IconCalculator.d.ts +2 -2
- package/components/SVGIcons/IconCalculator.js +1 -32
- package/components/SVGIcons/IconCalculatorFilled.d.ts +2 -2
- package/components/SVGIcons/IconCalculatorFilled.js +1 -32
- package/components/SVGIcons/IconCalendarClock.d.ts +2 -2
- package/components/SVGIcons/IconCalendarClock.js +1 -29
- package/components/SVGIcons/IconCalendarClockFilled.d.ts +2 -2
- package/components/SVGIcons/IconCalendarClockFilled.js +1 -29
- package/components/SVGIcons/IconCalendarDay.d.ts +2 -2
- package/components/SVGIcons/IconCalendarDay.js +1 -32
- package/components/SVGIcons/IconCalendarDayFilled.d.ts +2 -2
- package/components/SVGIcons/IconCalendarDayFilled.js +1 -32
- package/components/SVGIcons/IconCalendarEmpty.d.ts +2 -2
- package/components/SVGIcons/IconCalendarEmpty.js +1 -29
- package/components/SVGIcons/IconCalendarLeft.d.ts +2 -2
- package/components/SVGIcons/IconCalendarLeft.js +1 -29
- package/components/SVGIcons/IconCalendarLeftFilled.d.ts +2 -2
- package/components/SVGIcons/IconCalendarLeftFilled.js +1 -29
- package/components/SVGIcons/IconCalendarRight.d.ts +2 -2
- package/components/SVGIcons/IconCalendarRight.js +1 -29
- package/components/SVGIcons/IconCalendarRightFilled.d.ts +2 -2
- package/components/SVGIcons/IconCalendarRightFilled.js +1 -29
- package/components/SVGIcons/IconCall.d.ts +2 -2
- package/components/SVGIcons/IconCall.js +1 -32
- package/components/SVGIcons/IconCallFilled.d.ts +2 -2
- package/components/SVGIcons/IconCallFilled.js +1 -32
- package/components/SVGIcons/IconCard.d.ts +2 -2
- package/components/SVGIcons/IconCard.js +1 -29
- package/components/SVGIcons/IconCardFilled.d.ts +2 -2
- package/components/SVGIcons/IconCardFilled.js +1 -29
- package/components/SVGIcons/IconCaretDown.d.ts +2 -2
- package/components/SVGIcons/IconCaretDown.js +1 -29
- package/components/SVGIcons/IconCaretDownFilled.d.ts +2 -2
- package/components/SVGIcons/IconCaretDownFilled.js +1 -29
- package/components/SVGIcons/IconCaretDownRight.d.ts +2 -2
- package/components/SVGIcons/IconCaretDownRight.js +1 -29
- package/components/SVGIcons/IconCaretDownRightFilled.d.ts +2 -2
- package/components/SVGIcons/IconCaretDownRightFilled.js +1 -29
- package/components/SVGIcons/IconCaretLeft.d.ts +2 -2
- package/components/SVGIcons/IconCaretLeft.js +1 -29
- package/components/SVGIcons/IconCaretLeftFilled.d.ts +2 -2
- package/components/SVGIcons/IconCaretLeftFilled.js +1 -29
- package/components/SVGIcons/IconCaretRight.d.ts +2 -2
- package/components/SVGIcons/IconCaretRight.js +1 -29
- package/components/SVGIcons/IconCaretRightFilled.d.ts +2 -2
- package/components/SVGIcons/IconCaretRightFilled.js +1 -29
- package/components/SVGIcons/IconCaretUp.d.ts +2 -2
- package/components/SVGIcons/IconCaretUp.js +1 -29
- package/components/SVGIcons/IconCaretUpFilled.d.ts +2 -2
- package/components/SVGIcons/IconCaretUpFilled.js +1 -29
- package/components/SVGIcons/IconChartPerson.d.ts +4 -0
- package/components/SVGIcons/IconChartPerson.js +1 -0
- package/components/SVGIcons/IconChartPersonFilled.d.ts +4 -0
- package/components/SVGIcons/IconChartPersonFilled.js +1 -0
- package/components/SVGIcons/IconChat.d.ts +2 -2
- package/components/SVGIcons/IconChat.js +1 -29
- package/components/SVGIcons/IconChatFilled.d.ts +2 -2
- package/components/SVGIcons/IconChatFilled.js +1 -29
- package/components/SVGIcons/IconChatMultiple.d.ts +2 -2
- package/components/SVGIcons/IconChatMultiple.js +1 -29
- package/components/SVGIcons/IconChatMultipleFilled.d.ts +2 -2
- package/components/SVGIcons/IconChatMultipleFilled.js +1 -29
- package/components/SVGIcons/IconCheckboxArrowRight.d.ts +2 -2
- package/components/SVGIcons/IconCheckboxArrowRight.js +1 -32
- package/components/SVGIcons/IconCheckboxArrowRightFilled.d.ts +2 -2
- package/components/SVGIcons/IconCheckboxArrowRightFilled.js +1 -32
- package/components/SVGIcons/IconCheckmark.d.ts +2 -2
- package/components/SVGIcons/IconCheckmark.js +1 -29
- package/components/SVGIcons/IconCheckmarkCircle.d.ts +2 -2
- package/components/SVGIcons/IconCheckmarkCircle.js +1 -29
- package/components/SVGIcons/IconCheckmarkCircleFilled.d.ts +2 -2
- package/components/SVGIcons/IconCheckmarkCircleFilled.js +1 -29
- package/components/SVGIcons/IconCheckmarkFilled.d.ts +2 -2
- package/components/SVGIcons/IconCheckmarkFilled.js +1 -29
- package/components/SVGIcons/IconChevronDoubleLeft.d.ts +4 -0
- package/components/SVGIcons/IconChevronDoubleLeft.js +1 -0
- package/components/SVGIcons/IconChevronDoubleRight.d.ts +4 -0
- package/components/SVGIcons/IconChevronDoubleRight.js +1 -0
- package/components/SVGIcons/IconChevronDown.d.ts +2 -2
- package/components/SVGIcons/IconChevronDown.js +1 -29
- package/components/SVGIcons/IconChevronDownFilled.d.ts +2 -2
- package/components/SVGIcons/IconChevronDownFilled.js +1 -29
- package/components/SVGIcons/IconChevronLeft.d.ts +2 -2
- package/components/SVGIcons/IconChevronLeft.js +1 -29
- package/components/SVGIcons/IconChevronLeftFilled.d.ts +2 -2
- package/components/SVGIcons/IconChevronLeftFilled.js +1 -29
- package/components/SVGIcons/IconChevronRight.d.ts +2 -2
- package/components/SVGIcons/IconChevronRight.js +1 -29
- package/components/SVGIcons/IconChevronRightFilled.d.ts +2 -2
- package/components/SVGIcons/IconChevronRightFilled.js +1 -29
- package/components/SVGIcons/IconChevronUp.d.ts +2 -2
- package/components/SVGIcons/IconChevronUp.js +1 -29
- package/components/SVGIcons/IconChevronUpDown.d.ts +2 -2
- package/components/SVGIcons/IconChevronUpDown.js +1 -32
- package/components/SVGIcons/IconChevronUpDownFilled.d.ts +2 -2
- package/components/SVGIcons/IconChevronUpDownFilled.js +1 -32
- package/components/SVGIcons/IconChevronUpFilled.d.ts +2 -2
- package/components/SVGIcons/IconChevronUpFilled.js +1 -29
- package/components/SVGIcons/IconClipboardDay.d.ts +2 -2
- package/components/SVGIcons/IconClipboardDay.js +1 -29
- package/components/SVGIcons/IconClock.d.ts +2 -2
- package/components/SVGIcons/IconClock.js +1 -32
- package/components/SVGIcons/IconClockDismiss.d.ts +2 -2
- package/components/SVGIcons/IconClockDismiss.js +1 -29
- package/components/SVGIcons/IconClockDismissFilled.d.ts +2 -2
- package/components/SVGIcons/IconClockDismissFilled.js +1 -29
- package/components/SVGIcons/IconClockFilled.d.ts +2 -2
- package/components/SVGIcons/IconClockFilled.js +1 -32
- package/components/SVGIcons/IconComment.d.ts +2 -2
- package/components/SVGIcons/IconComment.js +1 -32
- package/components/SVGIcons/IconCommentFilled.d.ts +2 -2
- package/components/SVGIcons/IconCommentFilled.js +1 -32
- package/components/SVGIcons/IconContractCard.d.ts +2 -2
- package/components/SVGIcons/IconContractCard.js +1 -29
- package/components/SVGIcons/IconContractCardFilled.d.ts +2 -2
- package/components/SVGIcons/IconContractCardFilled.js +1 -29
- package/components/SVGIcons/IconCopy.d.ts +2 -2
- package/components/SVGIcons/IconCopy.js +1 -29
- package/components/SVGIcons/IconCopyFilled.d.ts +2 -2
- package/components/SVGIcons/IconCopyFilled.js +1 -29
- package/components/SVGIcons/IconCubeTree.d.ts +2 -2
- package/components/SVGIcons/IconCubeTree.js +1 -29
- package/components/SVGIcons/IconCubeTreeFilled.d.ts +2 -2
- package/components/SVGIcons/IconCubeTreeFilled.js +1 -32
- package/components/SVGIcons/IconDatabase.d.ts +2 -2
- package/components/SVGIcons/IconDatabase.js +1 -32
- package/components/SVGIcons/IconDatabaseFilled.d.ts +2 -2
- package/components/SVGIcons/IconDatabaseFilled.js +1 -32
- package/components/SVGIcons/IconDelete.d.ts +2 -2
- package/components/SVGIcons/IconDelete.js +1 -29
- package/components/SVGIcons/IconDeleteFilled.d.ts +2 -2
- package/components/SVGIcons/IconDeleteFilled.js +1 -29
- package/components/SVGIcons/IconDeviceMeetingRoom.d.ts +2 -2
- package/components/SVGIcons/IconDeviceMeetingRoom.js +1 -29
- package/components/SVGIcons/IconDeviceMeetingRoomFilled.d.ts +2 -2
- package/components/SVGIcons/IconDeviceMeetingRoomFilled.js +1 -29
- package/components/SVGIcons/IconDismiss.d.ts +2 -2
- package/components/SVGIcons/IconDismiss.js +1 -29
- package/components/SVGIcons/IconDismissCircle.d.ts +2 -2
- package/components/SVGIcons/IconDismissCircle.js +1 -32
- package/components/SVGIcons/IconDismissCircleFilled.d.ts +2 -2
- package/components/SVGIcons/IconDismissCircleFilled.js +1 -32
- package/components/SVGIcons/IconDismissFilled.d.ts +2 -2
- package/components/SVGIcons/IconDismissFilled.js +1 -29
- package/components/SVGIcons/IconDocument.d.ts +2 -2
- package/components/SVGIcons/IconDocument.js +1 -29
- package/components/SVGIcons/IconDocumentBulletList.d.ts +2 -2
- package/components/SVGIcons/IconDocumentBulletList.js +1 -32
- package/components/SVGIcons/IconDocumentBulletListFilled.d.ts +2 -2
- package/components/SVGIcons/IconDocumentBulletListFilled.js +1 -32
- package/components/SVGIcons/IconDocumentEdit.d.ts +2 -2
- package/components/SVGIcons/IconDocumentEdit.js +1 -29
- package/components/SVGIcons/IconDocumentEditFilled.d.ts +2 -2
- package/components/SVGIcons/IconDocumentEditFilled.js +1 -29
- package/components/SVGIcons/IconDocumentFilled.d.ts +2 -2
- package/components/SVGIcons/IconDocumentFilled.js +1 -29
- package/components/SVGIcons/IconDocumentPerson.d.ts +2 -2
- package/components/SVGIcons/IconDocumentPerson.js +1 -29
- package/components/SVGIcons/IconEdit.d.ts +2 -2
- package/components/SVGIcons/IconEdit.js +1 -29
- package/components/SVGIcons/IconEditFilled.d.ts +2 -2
- package/components/SVGIcons/IconEditFilled.js +1 -29
- package/components/SVGIcons/IconErrorCircle.d.ts +2 -2
- package/components/SVGIcons/IconErrorCircle.js +1 -29
- package/components/SVGIcons/IconErrorCircleFilled.d.ts +2 -2
- package/components/SVGIcons/IconErrorCircleFilled.js +1 -29
- package/components/SVGIcons/IconEur.d.ts +2 -2
- package/components/SVGIcons/IconEur.js +1 -29
- package/components/SVGIcons/IconEurFilled.d.ts +2 -2
- package/components/SVGIcons/IconEurFilled.js +1 -29
- package/components/SVGIcons/IconExpandUpLeft.d.ts +2 -2
- package/components/SVGIcons/IconExpandUpLeft.js +1 -32
- package/components/SVGIcons/IconExpandUpLeftFilled.d.ts +2 -2
- package/components/SVGIcons/IconExpandUpLeftFilled.js +1 -32
- package/components/SVGIcons/IconExpandUpRight.d.ts +2 -2
- package/components/SVGIcons/IconExpandUpRight.js +1 -32
- package/components/SVGIcons/IconExpandUpRightFilled.d.ts +2 -2
- package/components/SVGIcons/IconExpandUpRightFilled.js +1 -32
- package/components/SVGIcons/IconEyeOff.d.ts +2 -2
- package/components/SVGIcons/IconEyeOff.js +1 -32
- package/components/SVGIcons/IconEyeOffFilled.d.ts +2 -2
- package/components/SVGIcons/IconEyeOffFilled.js +1 -32
- package/components/SVGIcons/IconEyeOn.d.ts +2 -2
- package/components/SVGIcons/IconEyeOn.js +1 -32
- package/components/SVGIcons/IconEyeOnFilled.d.ts +2 -2
- package/components/SVGIcons/IconEyeOnFilled.js +1 -32
- package/components/SVGIcons/IconFacebook.d.ts +2 -2
- package/components/SVGIcons/IconFacebook.js +3 -39
- package/components/SVGIcons/IconFastAcceleration.d.ts +4 -0
- package/components/SVGIcons/IconFastAcceleration.js +1 -0
- package/components/SVGIcons/IconFastAccelerationFilled.d.ts +4 -0
- package/components/SVGIcons/IconFastAccelerationFilled.js +1 -0
- package/components/SVGIcons/IconFeed.d.ts +4 -0
- package/components/SVGIcons/IconFeed.js +1 -0
- package/components/SVGIcons/IconFeedFilled.d.ts +4 -0
- package/components/SVGIcons/IconFeedFilled.js +1 -0
- package/components/SVGIcons/IconFilter.d.ts +2 -2
- package/components/SVGIcons/IconFilter.js +1 -29
- package/components/SVGIcons/IconFilterFilled.d.ts +2 -2
- package/components/SVGIcons/IconFilterFilled.js +1 -29
- package/components/SVGIcons/IconFlag.d.ts +2 -2
- package/components/SVGIcons/IconFlag.js +1 -32
- package/components/SVGIcons/IconFlagFilled.d.ts +2 -2
- package/components/SVGIcons/IconFlagFilled.js +1 -32
- package/components/SVGIcons/IconFolderLink.d.ts +2 -2
- package/components/SVGIcons/IconFolderLink.js +1 -29
- package/components/SVGIcons/IconFolderLinkFilled.d.ts +2 -2
- package/components/SVGIcons/IconFolderLinkFilled.js +1 -29
- package/components/SVGIcons/IconFood.d.ts +2 -2
- package/components/SVGIcons/IconFood.js +1 -29
- package/components/SVGIcons/IconFoodFilled.d.ts +2 -2
- package/components/SVGIcons/IconFoodFilled.js +1 -29
- package/components/SVGIcons/IconGb.d.ts +2 -2
- package/components/SVGIcons/IconGb.js +11 -72
- package/components/SVGIcons/IconGlobe.d.ts +2 -2
- package/components/SVGIcons/IconGlobe.js +1 -29
- package/components/SVGIcons/IconGlobeFilled.d.ts +2 -2
- package/components/SVGIcons/IconGlobeFilled.js +1 -29
- package/components/SVGIcons/IconGoogle.d.ts +2 -2
- package/components/SVGIcons/IconGoogle.js +3 -41
- package/components/SVGIcons/IconHandOpenHeart.d.ts +2 -2
- package/components/SVGIcons/IconHandOpenHeart.js +1 -32
- package/components/SVGIcons/IconHandOpenHeartFilled.d.ts +2 -2
- package/components/SVGIcons/IconHandOpenHeartFilled.js +1 -32
- package/components/SVGIcons/IconHeart.d.ts +2 -2
- package/components/SVGIcons/IconHeart.js +1 -32
- package/components/SVGIcons/IconHeartFilled.d.ts +2 -2
- package/components/SVGIcons/IconHeartFilled.js +1 -32
- package/components/SVGIcons/IconHistory.d.ts +2 -2
- package/components/SVGIcons/IconHistory.js +1 -32
- package/components/SVGIcons/IconHistoryFilled.d.ts +2 -2
- package/components/SVGIcons/IconHistoryFilled.js +1 -32
- package/components/SVGIcons/IconHome.d.ts +2 -2
- package/components/SVGIcons/IconHome.js +1 -32
- package/components/SVGIcons/IconHomeFilled.d.ts +2 -2
- package/components/SVGIcons/IconHomeFilled.js +1 -32
- package/components/SVGIcons/IconImage.d.ts +2 -2
- package/components/SVGIcons/IconImage.js +1 -32
- package/components/SVGIcons/IconImageFilled.d.ts +2 -2
- package/components/SVGIcons/IconImageFilled.js +1 -32
- package/components/SVGIcons/IconInfo.d.ts +2 -2
- package/components/SVGIcons/IconInfo.js +1 -29
- package/components/SVGIcons/IconInfoFilled.d.ts +2 -2
- package/components/SVGIcons/IconInfoFilled.js +1 -29
- package/components/SVGIcons/IconInstagram.d.ts +2 -2
- package/components/SVGIcons/IconInstagram.js +4 -40
- package/components/SVGIcons/IconKeyReset.d.ts +2 -2
- package/components/SVGIcons/IconKeyReset.js +1 -32
- package/components/SVGIcons/IconKeyResetFilled.d.ts +2 -2
- package/components/SVGIcons/IconKeyResetFilled.js +1 -32
- package/components/SVGIcons/IconLibrary.d.ts +4 -0
- package/components/SVGIcons/IconLibrary.js +1 -0
- package/components/SVGIcons/IconLibraryFilled.d.ts +4 -0
- package/components/SVGIcons/IconLibraryFilled.js +1 -0
- package/components/SVGIcons/IconLink.d.ts +2 -2
- package/components/SVGIcons/IconLink.js +1 -32
- package/components/SVGIcons/IconLinkFilled.d.ts +2 -2
- package/components/SVGIcons/IconLinkFilled.js +1 -32
- package/components/SVGIcons/IconLinkedin.d.ts +2 -2
- package/components/SVGIcons/IconLinkedin.js +1 -32
- package/components/SVGIcons/IconList.d.ts +2 -2
- package/components/SVGIcons/IconList.js +1 -29
- package/components/SVGIcons/IconListFilled.d.ts +2 -2
- package/components/SVGIcons/IconListFilled.js +1 -32
- package/components/SVGIcons/IconLocation.d.ts +2 -2
- package/components/SVGIcons/IconLocation.js +1 -32
- package/components/SVGIcons/IconLocationFilled.d.ts +2 -2
- package/components/SVGIcons/IconLocationFilled.js +1 -32
- package/components/SVGIcons/IconLockClosed.d.ts +2 -2
- package/components/SVGIcons/IconLockClosed.js +1 -32
- package/components/SVGIcons/IconLockClosedFilled.d.ts +2 -2
- package/components/SVGIcons/IconLockClosedFilled.js +1 -32
- package/components/SVGIcons/IconLockOpen.d.ts +2 -2
- package/components/SVGIcons/IconLockOpen.js +1 -32
- package/components/SVGIcons/IconLockOpenFilled.d.ts +2 -2
- package/components/SVGIcons/IconLockOpenFilled.js +1 -32
- package/components/SVGIcons/IconMail.d.ts +2 -2
- package/components/SVGIcons/IconMail.js +1 -32
- package/components/SVGIcons/IconMailAdd.d.ts +2 -2
- package/components/SVGIcons/IconMailAdd.js +1 -32
- package/components/SVGIcons/IconMailAddFilled.d.ts +2 -2
- package/components/SVGIcons/IconMailAddFilled.js +1 -32
- package/components/SVGIcons/IconMailArrowForward.d.ts +2 -2
- package/components/SVGIcons/IconMailArrowForward.js +1 -32
- package/components/SVGIcons/IconMailArrowForwardFilled.d.ts +2 -2
- package/components/SVGIcons/IconMailArrowForwardFilled.js +1 -32
- package/components/SVGIcons/IconMailFilled.d.ts +2 -2
- package/components/SVGIcons/IconMailFilled.js +1 -32
- package/components/SVGIcons/IconMailLink.d.ts +2 -2
- package/components/SVGIcons/IconMailLink.js +1 -32
- package/components/SVGIcons/IconMailLinkFilled.d.ts +2 -2
- package/components/SVGIcons/IconMailLinkFilled.js +1 -32
- package/components/SVGIcons/IconMedium.d.ts +2 -2
- package/components/SVGIcons/IconMedium.js +1 -32
- package/components/SVGIcons/IconMoon.d.ts +4 -0
- package/components/SVGIcons/IconMoon.js +1 -0
- package/components/SVGIcons/IconMore.d.ts +2 -2
- package/components/SVGIcons/IconMore.js +1 -32
- package/components/SVGIcons/IconMoreFilled.d.ts +2 -2
- package/components/SVGIcons/IconMoreFilled.js +1 -32
- package/components/SVGIcons/IconMoreVertical.d.ts +2 -2
- package/components/SVGIcons/IconMoreVertical.js +1 -32
- package/components/SVGIcons/IconMoreVerticalFilled.d.ts +2 -2
- package/components/SVGIcons/IconMoreVerticalFilled.js +1 -32
- package/components/SVGIcons/IconNavigation.d.ts +2 -2
- package/components/SVGIcons/IconNavigation.js +1 -32
- package/components/SVGIcons/IconNavigationFilled.d.ts +2 -2
- package/components/SVGIcons/IconNavigationFilled.js +1 -32
- package/components/SVGIcons/IconNotebook.d.ts +2 -2
- package/components/SVGIcons/IconNotebook.js +1 -32
- package/components/SVGIcons/IconNotebookAdd.d.ts +2 -2
- package/components/SVGIcons/IconNotebookAdd.js +7 -48
- package/components/SVGIcons/IconNotebookAddFilled.d.ts +2 -2
- package/components/SVGIcons/IconNotebookAddFilled.js +6 -45
- package/components/SVGIcons/IconNotebookFilled.d.ts +2 -2
- package/components/SVGIcons/IconNotebookFilled.js +1 -32
- package/components/SVGIcons/IconOnlyEmployee.d.ts +2 -2
- package/components/SVGIcons/IconOnlyEmployee.js +1 -29
- package/components/SVGIcons/IconOpen.d.ts +2 -2
- package/components/SVGIcons/IconOpen.js +1 -32
- package/components/SVGIcons/IconOpenFilled.d.ts +2 -2
- package/components/SVGIcons/IconOpenFilled.js +1 -32
- package/components/SVGIcons/IconPatient.d.ts +2 -2
- package/components/SVGIcons/IconPatient.js +1 -29
- package/components/SVGIcons/IconPatientFilled.d.ts +2 -2
- package/components/SVGIcons/IconPatientFilled.js +1 -29
- package/components/SVGIcons/IconPeople.d.ts +2 -2
- package/components/SVGIcons/IconPeople.js +1 -29
- package/components/SVGIcons/IconPeopleAdd.d.ts +2 -2
- package/components/SVGIcons/IconPeopleAdd.js +1 -32
- package/components/SVGIcons/IconPeopleAddFilled.d.ts +2 -2
- package/components/SVGIcons/IconPeopleAddFilled.js +1 -32
- package/components/SVGIcons/IconPeopleFilled.d.ts +2 -2
- package/components/SVGIcons/IconPeopleFilled.js +1 -32
- package/components/SVGIcons/IconPeopleList.d.ts +4 -0
- package/components/SVGIcons/IconPeopleList.js +1 -0
- package/components/SVGIcons/IconPeopleListFilled.d.ts +4 -0
- package/components/SVGIcons/IconPeopleListFilled.js +1 -0
- package/components/SVGIcons/IconPeopleTeam.d.ts +4 -0
- package/components/SVGIcons/IconPeopleTeam.js +1 -0
- package/components/SVGIcons/IconPeopleTeamFilled.d.ts +4 -0
- package/components/SVGIcons/IconPeopleTeamFilled.js +1 -0
- package/components/SVGIcons/IconPercent.d.ts +2 -2
- package/components/SVGIcons/IconPercent.js +1 -34
- package/components/SVGIcons/IconPerson.d.ts +2 -2
- package/components/SVGIcons/IconPerson.js +1 -32
- package/components/SVGIcons/IconPersonAccount.d.ts +2 -2
- package/components/SVGIcons/IconPersonAccount.js +1 -29
- package/components/SVGIcons/IconPersonAccountFilled.d.ts +2 -2
- package/components/SVGIcons/IconPersonAccountFilled.js +1 -29
- package/components/SVGIcons/IconPersonAdd.d.ts +2 -2
- package/components/SVGIcons/IconPersonAdd.js +1 -32
- package/components/SVGIcons/IconPersonAddFilled.d.ts +2 -2
- package/components/SVGIcons/IconPersonAddFilled.js +1 -32
- package/components/SVGIcons/IconPersonArrowLeft.d.ts +2 -2
- package/components/SVGIcons/IconPersonArrowLeft.js +1 -29
- package/components/SVGIcons/IconPersonArrowLeftFilled.d.ts +2 -2
- package/components/SVGIcons/IconPersonArrowLeftFilled.js +1 -29
- package/components/SVGIcons/IconPersonArrowRight.d.ts +2 -2
- package/components/SVGIcons/IconPersonArrowRight.js +1 -29
- package/components/SVGIcons/IconPersonArrowRightFilled.d.ts +2 -2
- package/components/SVGIcons/IconPersonArrowRightFilled.js +1 -29
- package/components/SVGIcons/IconPersonBoard.d.ts +2 -2
- package/components/SVGIcons/IconPersonBoard.js +1 -29
- package/components/SVGIcons/IconPersonFilled.d.ts +2 -2
- package/components/SVGIcons/IconPersonFilled.js +1 -32
- package/components/SVGIcons/IconPersonMinus.d.ts +2 -2
- package/components/SVGIcons/IconPersonMinus.js +1 -29
- package/components/SVGIcons/IconPersonStar.d.ts +2 -2
- package/components/SVGIcons/IconPersonStar.js +1 -32
- package/components/SVGIcons/IconPersonStarFilled.d.ts +2 -2
- package/components/SVGIcons/IconPersonStarFilled.js +1 -32
- package/components/SVGIcons/IconPersonSubtract.d.ts +2 -2
- package/components/SVGIcons/IconPersonSubtract.js +1 -32
- package/components/SVGIcons/IconPersonSubtractFilled.d.ts +2 -2
- package/components/SVGIcons/IconPersonSubtractFilled.js +1 -32
- package/components/SVGIcons/IconPhone.d.ts +2 -2
- package/components/SVGIcons/IconPhone.js +1 -32
- package/components/SVGIcons/IconPhoneFilled.d.ts +2 -2
- package/components/SVGIcons/IconPhoneFilled.js +1 -32
- package/components/SVGIcons/IconPlugConnected.d.ts +2 -2
- package/components/SVGIcons/IconPlugConnected.js +1 -29
- package/components/SVGIcons/IconPos.d.ts +2 -2
- package/components/SVGIcons/IconPos.js +1 -34
- package/components/SVGIcons/IconPosFilled.d.ts +2 -2
- package/components/SVGIcons/IconPosFilled.js +1 -34
- package/components/SVGIcons/IconProhibited.d.ts +2 -2
- package/components/SVGIcons/IconProhibited.js +1 -32
- package/components/SVGIcons/IconProhibitedFilled.d.ts +2 -2
- package/components/SVGIcons/IconProhibitedFilled.js +1 -32
- package/components/SVGIcons/IconProjectProduct.d.ts +2 -2
- package/components/SVGIcons/IconProjectProduct.js +1 -29
- package/components/SVGIcons/IconQuestion.d.ts +2 -2
- package/components/SVGIcons/IconQuestion.js +1 -32
- package/components/SVGIcons/IconQuestionFilled.d.ts +2 -2
- package/components/SVGIcons/IconQuestionFilled.js +1 -32
- package/components/SVGIcons/IconRedo.d.ts +2 -2
- package/components/SVGIcons/IconRedo.js +1 -32
- package/components/SVGIcons/IconRedoFilled.d.ts +2 -2
- package/components/SVGIcons/IconRedoFilled.js +1 -32
- package/components/SVGIcons/IconRibbon.d.ts +4 -0
- package/components/SVGIcons/IconRibbon.js +1 -0
- package/components/SVGIcons/IconRu.d.ts +2 -2
- package/components/SVGIcons/IconRu.js +6 -61
- package/components/SVGIcons/IconRub.d.ts +2 -2
- package/components/SVGIcons/IconRub.js +1 -29
- package/components/SVGIcons/IconRubFilled.d.ts +2 -2
- package/components/SVGIcons/IconRubFilled.js +1 -29
- package/components/SVGIcons/IconSave.d.ts +2 -2
- package/components/SVGIcons/IconSave.js +1 -32
- package/components/SVGIcons/IconSaveFilled.d.ts +2 -2
- package/components/SVGIcons/IconSaveFilled.js +1 -32
- package/components/SVGIcons/IconSavings.d.ts +2 -2
- package/components/SVGIcons/IconSavings.js +1 -32
- package/components/SVGIcons/IconSavingsFilled.d.ts +2 -2
- package/components/SVGIcons/IconSavingsFilled.js +1 -32
- package/components/SVGIcons/IconSearch.d.ts +2 -2
- package/components/SVGIcons/IconSearch.js +1 -32
- package/components/SVGIcons/IconSearchFilled.d.ts +2 -2
- package/components/SVGIcons/IconSearchFilled.js +1 -32
- package/components/SVGIcons/IconSelectAllOff.d.ts +2 -2
- package/components/SVGIcons/IconSelectAllOff.js +1 -32
- package/components/SVGIcons/IconSelectAllOffFilled.d.ts +2 -2
- package/components/SVGIcons/IconSelectAllOffFilled.js +1 -32
- package/components/SVGIcons/IconSelectAllOn.d.ts +2 -2
- package/components/SVGIcons/IconSelectAllOn.js +1 -32
- package/components/SVGIcons/IconSelectAllOnFilled.d.ts +2 -2
- package/components/SVGIcons/IconSelectAllOnFilled.js +1 -32
- package/components/SVGIcons/IconSend.d.ts +2 -2
- package/components/SVGIcons/IconSend.js +1 -32
- package/components/SVGIcons/IconSendFilled.d.ts +2 -2
- package/components/SVGIcons/IconSendFilled.js +1 -32
- package/components/SVGIcons/IconSettings.d.ts +2 -2
- package/components/SVGIcons/IconSettings.js +1 -29
- package/components/SVGIcons/IconSettingsFilled.d.ts +2 -2
- package/components/SVGIcons/IconSettingsFilled.js +1 -32
- package/components/SVGIcons/IconShare.d.ts +2 -2
- package/components/SVGIcons/IconShare.js +1 -32
- package/components/SVGIcons/IconShareAndroid.d.ts +2 -2
- package/components/SVGIcons/IconShareAndroid.js +1 -32
- package/components/SVGIcons/IconShareAndroidFilled.d.ts +2 -2
- package/components/SVGIcons/IconShareAndroidFilled.js +1 -32
- package/components/SVGIcons/IconShareFilled.d.ts +2 -2
- package/components/SVGIcons/IconShareFilled.js +1 -32
- package/components/SVGIcons/IconSignOut.d.ts +2 -2
- package/components/SVGIcons/IconSignOut.js +1 -32
- package/components/SVGIcons/IconSignOutFilled.d.ts +2 -2
- package/components/SVGIcons/IconSignOutFilled.js +1 -32
- package/components/SVGIcons/IconSpinner.d.ts +2 -2
- package/components/SVGIcons/IconSpinner.js +1 -32
- package/components/SVGIcons/IconSpinnerFilled.d.ts +2 -2
- package/components/SVGIcons/IconSpinnerFilled.js +1 -32
- package/components/SVGIcons/IconStatus.d.ts +2 -2
- package/components/SVGIcons/IconStatus.js +1 -32
- package/components/SVGIcons/IconStatusFilled.d.ts +2 -2
- package/components/SVGIcons/IconStatusFilled.js +1 -32
- package/components/SVGIcons/IconSubtract.d.ts +2 -2
- package/components/SVGIcons/IconSubtract.js +1 -32
- package/components/SVGIcons/IconSubtractCircle.d.ts +2 -2
- package/components/SVGIcons/IconSubtractCircle.js +1 -32
- package/components/SVGIcons/IconSubtractCircleFilled.d.ts +2 -2
- package/components/SVGIcons/IconSubtractCircleFilled.js +1 -32
- package/components/SVGIcons/IconSubtractFilled.d.ts +2 -2
- package/components/SVGIcons/IconSubtractFilled.js +1 -32
- package/components/SVGIcons/IconSun.d.ts +4 -0
- package/components/SVGIcons/IconSun.js +10 -0
- package/components/SVGIcons/IconTableCellEdit.d.ts +2 -2
- package/components/SVGIcons/IconTableCellEdit.js +3 -36
- package/components/SVGIcons/IconTableCellEditFilled.d.ts +2 -2
- package/components/SVGIcons/IconTableCellEditFilled.js +5 -42
- package/components/SVGIcons/IconTelegram.d.ts +2 -2
- package/components/SVGIcons/IconTelegram.js +3 -41
- package/components/SVGIcons/IconTimer.d.ts +2 -2
- package/components/SVGIcons/IconTimer.js +1 -32
- package/components/SVGIcons/IconTimerFilled.d.ts +2 -2
- package/components/SVGIcons/IconTimerFilled.js +1 -32
- package/components/SVGIcons/IconTrophy.d.ts +4 -0
- package/components/SVGIcons/IconTrophy.js +1 -0
- package/components/SVGIcons/IconTrophyFilled.d.ts +4 -0
- package/components/SVGIcons/IconTrophyFilled.js +1 -0
- package/components/SVGIcons/IconTwitter.d.ts +2 -2
- package/components/SVGIcons/IconTwitter.js +1 -32
- package/components/SVGIcons/IconUndo.d.ts +2 -2
- package/components/SVGIcons/IconUndo.js +1 -32
- package/components/SVGIcons/IconUndoFilled.d.ts +2 -2
- package/components/SVGIcons/IconUndoFilled.js +1 -32
- package/components/SVGIcons/IconUnitsEmployee.d.ts +2 -2
- package/components/SVGIcons/IconUnitsEmployee.js +1 -29
- package/components/SVGIcons/IconUpload.d.ts +2 -2
- package/components/SVGIcons/IconUpload.js +1 -29
- package/components/SVGIcons/IconUs.d.ts +4 -0
- package/components/SVGIcons/IconUs.js +11 -0
- package/components/SVGIcons/IconUsd.d.ts +2 -2
- package/components/SVGIcons/IconUsd.js +1 -29
- package/components/SVGIcons/IconUsdFilled.d.ts +2 -2
- package/components/SVGIcons/IconUsdFilled.js +1 -29
- package/components/SVGIcons/IconUserMinus.d.ts +2 -2
- package/components/SVGIcons/IconUserMinus.js +1 -32
- package/components/SVGIcons/IconVideo.d.ts +2 -2
- package/components/SVGIcons/IconVideo.js +1 -29
- package/components/SVGIcons/IconVideoFilled.d.ts +2 -2
- package/components/SVGIcons/IconVideoFilled.js +1 -29
- package/components/SVGIcons/IconWallet.d.ts +2 -2
- package/components/SVGIcons/IconWallet.js +1 -32
- package/components/SVGIcons/IconWalletFilled.d.ts +2 -2
- package/components/SVGIcons/IconWalletFilled.js +1 -32
- package/components/SVGIcons/IconWarning.d.ts +2 -2
- package/components/SVGIcons/IconWarning.js +1 -29
- package/components/SVGIcons/IconWarningFilled.d.ts +2 -2
- package/components/SVGIcons/IconWarningFilled.js +1 -29
- package/components/SVGIcons/IconYoutube.d.ts +2 -2
- package/components/SVGIcons/IconYoutube.js +1 -32
- package/components/Select/ButtonSelect/ButtonSelect.js +3 -198
- package/components/Select/FilterSelect/FilterDropdown.js +3 -96
- package/components/Select/FilterSelect/FilterGroupDropdown.js +4 -83
- package/components/Select/FilterSelect/FilterSelect.js +4 -202
- package/components/Select/MultiSelect/DesktopWrapper.js +1 -56
- package/components/Select/MultiSelect/MobileWrapper.js +2 -78
- package/components/Select/MultiSelect/MultiBase/MultiBase.js +5 -214
- package/components/Select/MultiSelect/MultiSelect.js +3 -246
- package/components/Select/MultiSelect/MultiSelectGrouped/MultiSelectGrouped.js +7 -268
- package/components/Select/MultiSelect/MultiSelectWithTabs/MultiSelectWithTabs.js +7 -253
- package/components/Select/MultiSelect/OptionsWrapper.js +1 -177
- package/components/Select/NestedSelect/NestedSelect.js +4 -200
- package/components/Select/ProfileDropdown/index.js +10 -83
- package/components/Select/Select/Select.js +1 -257
- package/components/Select/Select/SelectDesktop/index.js +2 -223
- package/components/Select/Select/SelectMobile/MobileTopContent.js +2 -91
- package/components/Select/Select/SelectMobile/index.js +5 -196
- package/components/Select/Select/helpers.js +1 -10
- package/components/Select/SharedComponents/Actions.js +3 -116
- package/components/Select/SharedComponents/ButtonSelectWrapper/Button/Button.js +3 -44
- package/components/Select/SharedComponents/ButtonSelectWrapper/ButtonSelectWrapper.js +3 -132
- package/components/Select/SharedComponents/ContentTop.d.ts +1 -0
- package/components/Select/SharedComponents/ContentTop.js +3 -179
- package/components/Select/SharedComponents/Footer.js +6 -99
- package/components/Select/SharedComponents/InputSelectWrapper/InputSelectWrapper.js +3 -164
- package/components/Select/SharedComponents/Loading.js +2 -17
- package/components/Select/SharedComponents/index.js +1 -92
- package/components/Select/constants.js +1 -9
- package/components/Select/helper.d.ts +0 -0
- package/components/Select/helper.js +0 -0
- package/components/Select/index.js +1 -114
- package/components/Select/localization.js +1 -31
- package/components/Select/types.d.ts +9 -5
- package/components/Select/types.js +0 -1
- package/components/SideSheet/Footer/Footer.js +5 -101
- package/components/SideSheet/SideSheet.js +8 -211
- package/components/SideSheet/index.js +1 -56
- package/components/SideSheet/types.js +0 -1
- package/components/Snackbar/Snackbar.js +5 -126
- package/components/Snackbar/consts.d.ts +3 -4
- package/components/Snackbar/consts.js +1 -15
- package/components/Snackbar/index.js +1 -54
- package/components/Snackbar/types.js +0 -1
- package/components/Status/Status.js +4 -53
- package/components/Status/index.js +1 -8
- package/components/Status/types.d.ts +1 -1
- package/components/Status/types.js +0 -1
- package/components/Stepper/Stepper.js +2 -45
- package/components/Stepper/index.js +1 -3
- package/components/Stepper/types.js +0 -1
- package/components/Switcher/Switcher.js +5 -116
- package/components/Switcher/index.js +1 -55
- package/components/Switcher/types.d.ts +2 -0
- package/components/Switcher/types.js +0 -1
- package/components/Tab/Tab.js +2 -37
- package/components/Tab/TabItem.js +3 -54
- package/components/Tab/index.js +1 -11
- package/components/Tab/types.js +0 -1
- package/components/Table/Header.d.ts +2 -1
- package/components/Table/Header.js +4 -123
- package/components/Table/IndeterminateCheckbox.d.ts +1 -0
- package/components/Table/IndeterminateCheckbox.js +1 -78
- package/components/Table/Row.d.ts +2 -1
- package/components/Table/Row.js +3 -94
- package/components/Table/Table.d.ts +1 -1
- package/components/Table/Table.js +6 -163
- package/components/Table/index.js +1 -61
- package/components/Table/localization.d.ts +5 -0
- package/components/Table/localization.js +1 -0
- package/components/Table/types.d.ts +6 -0
- package/components/Table/types.js +0 -1
- package/components/Table/utils.js +3 -78
- package/components/TableV2/AdvancedPagination.d.ts +8 -0
- package/components/TableV2/AdvancedPagination.js +12 -0
- package/components/TableV2/ColumnHeader.d.ts +9 -0
- package/components/TableV2/ColumnHeader.js +6 -0
- package/components/TableV2/ColumnSettings.d.ts +9 -0
- package/components/TableV2/ColumnSettings.js +8 -0
- package/components/TableV2/IndeterminateCheckbox.d.ts +13 -0
- package/components/TableV2/IndeterminateCheckbox.js +2 -0
- package/components/TableV2/Table.d.ts +3 -0
- package/components/TableV2/Table.js +8 -0
- package/components/TableV2/constants/index.d.ts +6 -0
- package/components/TableV2/constants/index.js +1 -0
- package/components/TableV2/hooks/useTableColumnSettings.d.ts +2 -0
- package/components/TableV2/hooks/useTableColumnSettings.js +1 -0
- package/components/TableV2/hooks/useTableControl.d.ts +11 -0
- package/components/TableV2/hooks/useTableControl.js +1 -0
- package/components/TableV2/index.d.ts +3 -0
- package/components/TableV2/index.js +1 -0
- package/components/TableV2/loadTableSettings.d.ts +2 -0
- package/components/TableV2/loadTableSettings.js +1 -0
- package/components/TableV2/types.d.ts +70 -0
- package/components/TableV2/types.js +0 -0
- package/components/Text/Text.js +2 -36
- package/components/Text/index.js +1 -5
- package/components/Text/types.d.ts +1 -1
- package/components/Text/types.js +0 -1
- package/components/Textarea/Textarea.js +6 -144
- package/components/Textarea/index.js +1 -56
- package/components/Textarea/types.js +0 -1
- package/components/Tooltip/Tooltip.js +1 -103
- package/components/Tooltip/index.js +1 -18
- package/components/Tooltip/types.d.ts +0 -1
- package/components/Tooltip/types.js +1 -13
- package/components/UnderConstruction/UnderConstruction.d.ts +3 -0
- package/components/UnderConstruction/UnderConstruction.js +6 -0
- package/components/UnderConstruction/index.d.ts +1 -0
- package/components/UnderConstruction/index.js +1 -0
- package/components/UnderConstruction/localization.d.ts +4 -0
- package/components/UnderConstruction/localization.js +1 -0
- package/components/UnderConstruction/types.d.ts +12 -0
- package/components/UnderConstruction/types.js +0 -0
- package/consts/index.d.ts +18 -0
- package/consts/index.js +1 -67
- package/context/FormContextProvider.d.ts +3 -2
- 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 -178
- package/helperComponents/CodeBlock/index.js +1 -3
- package/helperComponents/ErrorMessage/ErrorMessage.js +3 -27
- package/helperComponents/ErrorMessage/consts.d.ts +3 -0
- package/helperComponents/ErrorMessage/consts.js +1 -0
- package/helperComponents/ErrorMessage/index.js +1 -8
- package/helperComponents/ErrorMessage/types.js +0 -1
- package/helperComponents/GoToWebPage/GoToWebPage.js +1 -67
- package/helperComponents/IconDynamicComponent/IconDynamicComponent.d.ts +6 -8
- package/helperComponents/IconDynamicComponent/IconDynamicComponent.js +1 -26
- package/helperComponents/IconDynamicComponent/index.js +1 -3
- package/helperComponents/Label/Label.js +1 -29
- package/helperComponents/Label/index.js +1 -6
- package/helperComponents/Label/types.js +0 -1
- package/helperComponents/Loader/Loader.js +2 -15
- package/helperComponents/Loader/index.js +1 -2
- package/helperComponents/Loader/types.js +0 -1
- package/helperComponents/OptionItem/OptionItem.js +5 -150
- package/helperComponents/OptionItem/index.js +1 -64
- package/helperComponents/OptionItem/types.js +0 -1
- package/helpers/check-authorization.js +1 -114
- package/helpers/download-file.js +1 -10
- package/helpers/format-date.js +1 -46
- package/helpers/get-module-prefix.js +1 -6
- package/helpers/index.d.ts +1 -0
- package/helpers/index.js +1 -59
- package/helpers/isDeepEqual.js +1 -18
- package/helpers/locale.js +1 -17
- package/helpers/logout.d.ts +1 -0
- package/helpers/logout.js +1 -0
- package/helpers/storage.js +1 -20
- package/hooks/index.js +1 -21
- package/hooks/useAnimation.d.ts +12 -0
- package/hooks/useAnimation.js +1 -0
- package/hooks/useChangePositionsOnScroll.js +1 -34
- package/hooks/useDispatchEventOnScroll.js +1 -14
- package/hooks/useEscapeKey.d.ts +5 -0
- package/hooks/useEscapeKey.js +1 -0
- 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.d.ts +1 -1
- package/hooks/useHideOnScroll.js +1 -26
- package/hooks/useOnOutsideClick.js +1 -52
- package/hooks/useScreenSize.js +1 -38
- package/package.json +16 -8
- package/type/file-upload.js +1 -8
- package/type/index.d.ts +1 -0
- 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/type/svg-icons.js +0 -0
- package/utils/helpers.d.ts +1 -0
- package/utils/helpers.js +1 -89
- package/Alert-V_kH4Snn.js +0 -751
- package/assets/images/avatar.jpg +0 -0
- package/assets/styles/styles.scss +0 -1
- package/components/SVGIcons/index.d.ts +0 -300
- package/components/SVGIcons/index.js +0 -303
- package/components/SVGIcons/types.js +0 -1
- package/helperComponents/IconDynamicComponent/constants.d.ts +0 -3
- package/helperComponents/IconDynamicComponent/constants.js +0 -33
- package/helperComponents/index.d.ts +0 -6
- package/helperComponents/index.js +0 -65
- package/index.d.ts +0 -46
- package/index.js +0 -454
- package/types.d.js +0 -1
- /package/{components/SVGIcons/types.d.ts → type/svg-icons.d.ts} +0 -0
|
@@ -1,54 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { Badge } from '../Badge/Badge.js';
|
|
5
|
-
import { noop } from '../../utils/helpers.js';
|
|
6
|
-
import classNames from 'classnames';
|
|
7
|
-
import '../Text/Text.js';
|
|
8
|
-
import 'dayjs';
|
|
9
|
-
|
|
10
|
-
var TabItem = function TabItem(props) {
|
|
11
|
-
var _props$size = props.size,
|
|
12
|
-
size = _props$size === void 0 ? 'large' : _props$size,
|
|
13
|
-
iconProps = props.iconProps,
|
|
14
|
-
badgeProps = props.badgeProps,
|
|
15
|
-
label = props.label,
|
|
16
|
-
_props$className = props.className,
|
|
17
|
-
className = _props$className === void 0 ? '' : _props$className,
|
|
18
|
-
_props$disabled = props.disabled,
|
|
19
|
-
disabled = _props$disabled === void 0 ? false : _props$disabled,
|
|
20
|
-
isSelected = props.isSelected,
|
|
21
|
-
rightIconProps = props.rightIconProps,
|
|
22
|
-
val = props.val,
|
|
23
|
-
onClick = props.onClick,
|
|
24
|
-
dataId = props.dataId;
|
|
25
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
26
|
-
onClick: disabled ? noop : onClick,
|
|
27
|
-
className: classNames('tab', _defineProperty({}, "tab--".concat(size), size), {
|
|
28
|
-
'tab--disabled': disabled
|
|
29
|
-
}, {
|
|
30
|
-
'tab--selected': isSelected
|
|
31
|
-
}, className)
|
|
32
|
-
}, iconProps !== null && iconProps !== void 0 && iconProps.Component ? /*#__PURE__*/React.createElement(iconProps.Component, _extends({
|
|
33
|
-
className: "tab__icon mr-8",
|
|
34
|
-
size: "".concat(size == 'small' ? 'xsmall' : 'small')
|
|
35
|
-
}, iconProps)) : null, /*#__PURE__*/React.createElement("span", {
|
|
36
|
-
className: "tab__label",
|
|
37
|
-
"data-id": dataId
|
|
38
|
-
}, label), rightIconProps !== null && rightIconProps !== void 0 && rightIconProps.Component ? /*#__PURE__*/React.createElement(rightIconProps.Component, _extends({
|
|
39
|
-
onClick: function onClick(e) {
|
|
40
|
-
if (rightIconProps !== null && rightIconProps !== void 0 && rightIconProps.action) {
|
|
41
|
-
e.stopPropagation();
|
|
42
|
-
rightIconProps === null || rightIconProps === void 0 || rightIconProps.action(val);
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
className: "tab__icon ml-8",
|
|
46
|
-
size: "".concat(size == 'small' ? 'xsmall' : 'small')
|
|
47
|
-
}, rightIconProps)) : null, badgeProps !== null && badgeProps !== void 0 && badgeProps.text ? /*#__PURE__*/React.createElement(Badge, _extends({
|
|
48
|
-
className: "tab__badge ml-8",
|
|
49
|
-
size: "small",
|
|
50
|
-
type: "secondary"
|
|
51
|
-
}, badgeProps)) : null);
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
export { TabItem };
|
|
1
|
+
import{jsxs as C,jsx as m}from"react/jsx-runtime";import{Badge as N}from"../Badge/Badge.js";import{noop as f}from"../../utils/helpers.js";import x from"classnames";const $=a=>{const{size:l="large",iconProps:s,badgeProps:e,label:o,className:n="",disabled:t=!1,isSelected:i,rightIconProps:c,val:r,onClick:d,dataId:p}=a;/* @__PURE__ */
|
|
2
|
+
return C("div",{onClick:t?f:d,className:x("tab",{[`tab--${l}`]:l},{"tab--disabled":t},{"tab--selected":i},n),children:[null!=s&&s.Component?/* @__PURE__ */m(s.Component,{className:"tab__icon mr-8",size:""+("small"==l?"xsmall":"small"),...s}):null,
|
|
3
|
+
/* @__PURE__ */m("span",{className:"tab__label","data-id":p,children:o}),null!=c&&c.Component?/* @__PURE__ */m(c.Component,{onClick:a=>{null!=c&&c.action&&(a.stopPropagation(),null==c||c.action(r))},className:"tab__icon ml-8",size:""+("small"==l?"xsmall":"small"),...c}):null,null!=e&&e.text?/* @__PURE__ */m(N,{className:"tab__badge ml-8",size:"small",type:"secondary",...e}):null]})};export{$ as TabItem};
|
package/components/Tab/index.js
CHANGED
|
@@ -1,11 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import '@babel/runtime/helpers/extends';
|
|
3
|
-
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
4
|
-
import 'react';
|
|
5
|
-
import './TabItem.js';
|
|
6
|
-
import '@babel/runtime/helpers/defineProperty';
|
|
7
|
-
import '../Badge/Badge.js';
|
|
8
|
-
import '../Text/Text.js';
|
|
9
|
-
import 'classnames';
|
|
10
|
-
import '../../utils/helpers.js';
|
|
11
|
-
import 'dayjs';
|
|
1
|
+
import{Tab as a}from"./Tab.js";export{a as Tab};
|
package/components/Tab/types.js
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -5,6 +5,7 @@ type Props = {
|
|
|
5
5
|
withSelect: boolean;
|
|
6
6
|
tableWidth: number;
|
|
7
7
|
headerGroup: HeaderGroup;
|
|
8
|
+
uniqueKey: string;
|
|
8
9
|
};
|
|
9
|
-
export declare function Header({ headerGroup, tableWidth, withSelect, fixedHeader }: Props): ReactElement;
|
|
10
|
+
export declare function Header({ headerGroup, tableWidth, withSelect, uniqueKey, fixedHeader }: Props): ReactElement;
|
|
10
11
|
export {};
|
|
@@ -1,123 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { CHECKBOX_DEFAULT_WIDTH, calcColumnWidth, CHECKBOX_HEADER_ID } from './utils.js';
|
|
6
|
-
import { Text } from '../Text/Text.js';
|
|
7
|
-
import { IconArrowDown } from '../SVGIcons/IconArrowDown.js';
|
|
8
|
-
import { IconArrowUp } from '../SVGIcons/IconArrowUp.js';
|
|
9
|
-
import '@babel/runtime/helpers/toConsumableArray';
|
|
10
|
-
import './IndeterminateCheckbox.js';
|
|
11
|
-
import '../../Alert-V_kH4Snn.js';
|
|
12
|
-
import '../Alert/consts.js';
|
|
13
|
-
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
14
|
-
import 'dayjs';
|
|
15
|
-
import '../../helperComponents/Loader/Loader.js';
|
|
16
|
-
import '@babel/runtime/helpers/slicedToArray';
|
|
17
|
-
import '../../consts/index.js';
|
|
18
|
-
import '../../type/file-upload.js';
|
|
19
|
-
import '../../hooks/useScreenSize.js';
|
|
20
|
-
import 'react-hook-form';
|
|
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 '../../utils/helpers.js';
|
|
43
|
-
import 'react-syntax-highlighter';
|
|
44
|
-
import '../Link/Link.js';
|
|
45
|
-
import '../Popover/PopoverDesktop.js';
|
|
46
|
-
import '../SVGIcons/IconInfo.js';
|
|
47
|
-
import '../../helperComponents/IconDynamicComponent/IconDynamicComponent.js';
|
|
48
|
-
import '../../helperComponents/IconDynamicComponent/constants.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';
|
|
57
|
-
|
|
58
|
-
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; }
|
|
59
|
-
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; }
|
|
60
|
-
function Header(_ref) {
|
|
61
|
-
var headerGroup = _ref.headerGroup,
|
|
62
|
-
tableWidth = _ref.tableWidth,
|
|
63
|
-
withSelect = _ref.withSelect,
|
|
64
|
-
_ref$fixedHeader = _ref.fixedHeader,
|
|
65
|
-
fixedHeader = _ref$fixedHeader === void 0 ? false : _ref$fixedHeader;
|
|
66
|
-
return /*#__PURE__*/React.createElement("tr", _extends({}, headerGroup.getHeaderGroupProps(), {
|
|
67
|
-
className: classNames({
|
|
68
|
-
fixed_header: fixedHeader
|
|
69
|
-
})
|
|
70
|
-
}), headerGroup.headers.map(function (_ref2, i, arr) {
|
|
71
|
-
var _arr;
|
|
72
|
-
var id = _ref2.id,
|
|
73
|
-
minWidth = _ref2.minWidth,
|
|
74
|
-
maxWidth = _ref2.maxWidth,
|
|
75
|
-
width = _ref2.width,
|
|
76
|
-
widthInPercent = _ref2.widthInPercent,
|
|
77
|
-
getHeaderProps = _ref2.getHeaderProps,
|
|
78
|
-
fixed = _ref2.fixed,
|
|
79
|
-
columnProps = _ref2.columnProps,
|
|
80
|
-
render = _ref2.render,
|
|
81
|
-
isSorted = _ref2.isSorted,
|
|
82
|
-
isSortedDesc = _ref2.isSortedDesc,
|
|
83
|
-
getSortByToggleProps = _ref2.getSortByToggleProps;
|
|
84
|
-
var isSelection = id === CHECKBOX_HEADER_ID;
|
|
85
|
-
var style = _objectSpread(_objectSpread(_objectSpread({
|
|
86
|
-
width: isSelection ? CHECKBOX_DEFAULT_WIDTH : calcColumnWidth(widthInPercent, tableWidth),
|
|
87
|
-
left: !isSelection && withSelect && fixed === 'left' ? CHECKBOX_DEFAULT_WIDTH : 0
|
|
88
|
-
}, !isSelection && minWidth ? {
|
|
89
|
-
minWidth: minWidth
|
|
90
|
-
} : {}), !isSelection && maxWidth ? {
|
|
91
|
-
maxWidth: maxWidth
|
|
92
|
-
} : {}), !isSelection && width ? {
|
|
93
|
-
width: width
|
|
94
|
-
} : {});
|
|
95
|
-
return /*#__PURE__*/React.createElement("th", _extends({
|
|
96
|
-
key: i
|
|
97
|
-
}, getHeaderProps(columnProps !== null && columnProps !== void 0 && columnProps.sortable ? getSortByToggleProps() : undefined), {
|
|
98
|
-
className: classNames({
|
|
99
|
-
fixed_column_left: fixed === 'left',
|
|
100
|
-
fixed_column_right: fixed === 'right',
|
|
101
|
-
fixed_checkbox: isSelection && ((_arr = arr[i + 1]) === null || _arr === void 0 ? void 0 : _arr.fixed) === 'left',
|
|
102
|
-
pointer: columnProps === null || columnProps === void 0 ? void 0 : columnProps.sortable
|
|
103
|
-
}),
|
|
104
|
-
style: style
|
|
105
|
-
}), /*#__PURE__*/React.createElement("div", {
|
|
106
|
-
className: "flexbox align-items--center"
|
|
107
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
108
|
-
weight: "bold",
|
|
109
|
-
className: "table-header-title"
|
|
110
|
-
}, render('Header')), isSorted && isSortedDesc && /*#__PURE__*/React.createElement(IconArrowDown, {
|
|
111
|
-
size: "xsmall",
|
|
112
|
-
className: "ml-4"
|
|
113
|
-
}), isSorted && !isSortedDesc && /*#__PURE__*/React.createElement(IconArrowUp, {
|
|
114
|
-
size: "xsmall",
|
|
115
|
-
className: "ml-4"
|
|
116
|
-
}), !isSorted && (columnProps === null || columnProps === void 0 ? void 0 : columnProps.sortable) && /*#__PURE__*/React.createElement(IconArrowDown, {
|
|
117
|
-
size: "xsmall",
|
|
118
|
-
className: "ml-4 unsorted__icon"
|
|
119
|
-
})));
|
|
120
|
-
}));
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
export { Header };
|
|
1
|
+
import{jsx as t,jsxs as z}from"react/jsx-runtime";import c from"classnames";import{CHECKBOX_DEFAULT_WIDTH as x,calcColumnWidth as T,CHECKBOX_HEADER_ID as j}from"./utils.js";import{Text as v}from"../Text/Text.js";import o from"../SVGIcons/IconArrowDown.js";import B from"../SVGIcons/IconArrowUp.js";function L({headerGroup:e,tableWidth:r,withSelect:s,uniqueKey:i,fixedHeader:l=!1}){const{key:a,...d}=e.getHeaderGroupProps();/* @__PURE__ */
|
|
2
|
+
return t("tr",{...d,className:c({fixed_header:l}),children:e.headers.map(({id:e,minWidth:l,maxWidth:a,width:d,widthInPercent:m,getHeaderProps:n,fixed:h,columnProps:f,render:u,isSorted:p,isSortedDesc:_,getSortByToggleProps:b},g,w)=>{var H;const I=e===j,N={width:I?x:T(m,r),left:!I&&s&&"left"===h?x:0,...!I&&l?{minWidth:l}:{},...!I&&a?{maxWidth:a}:{},...!I&&d?{width:d}:{}},{key:W,...D}=n(null!=f&&f.sortable?b():void 0);/* @__PURE__ */
|
|
3
|
+
return t("th",{...D,className:c({fixed_column_left:"left"===h,fixed_column_right:"right"===h,fixed_checkbox:I&&"left"===(null==(H=w[g+1])?void 0:H.fixed),pointer:null==f?void 0:f.sortable}),style:N,children:/* @__PURE__ */z("div",{className:"flexbox align-items--center",children:[
|
|
4
|
+
/* @__PURE__ */t(v,{weight:"bold",className:"table-header-title",children:u("Header")}),p&&_&&/* @__PURE__ */t(o,{size:"xsmall",className:"ml-4"}),p&&!_&&/* @__PURE__ */t(B,{size:"xsmall",className:"ml-4"}),!p&&(null==f?void 0:f.sortable)&&/* @__PURE__ */t(o,{size:"xsmall",className:"ml-4 unsorted__icon"})]})},`table_head_${i}_${g}`)})})}export{L as Header};
|
|
@@ -1,78 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { C as Checkbox } from '../../Alert-V_kH4Snn.js';
|
|
3
|
-
import '@babel/runtime/helpers/extends';
|
|
4
|
-
import '../Alert/consts.js';
|
|
5
|
-
import 'classnames';
|
|
6
|
-
import '../Text/Text.js';
|
|
7
|
-
import '../../utils/helpers.js';
|
|
8
|
-
import 'dayjs';
|
|
9
|
-
import '@babel/runtime/helpers/defineProperty';
|
|
10
|
-
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
11
|
-
import '../../helperComponents/Loader/Loader.js';
|
|
12
|
-
import '@babel/runtime/helpers/slicedToArray';
|
|
13
|
-
import '@babel/runtime/helpers/toConsumableArray';
|
|
14
|
-
import '../../consts/index.js';
|
|
15
|
-
import '../../type/file-upload.js';
|
|
16
|
-
import '../../hooks/useScreenSize.js';
|
|
17
|
-
import 'react-hook-form';
|
|
18
|
-
import 'react-dropzone';
|
|
19
|
-
import '../SVGIcons/IconUpload.js';
|
|
20
|
-
import '../FileUpload/types.js';
|
|
21
|
-
import '../../helpers/format-date.js';
|
|
22
|
-
import '../../helpers/locale.js';
|
|
23
|
-
import '../../type/locale.js';
|
|
24
|
-
import '../../helpers/storage.js';
|
|
25
|
-
import 'react-toastify';
|
|
26
|
-
import '../../hooks/useGetIsMobile.js';
|
|
27
|
-
import 'framer-motion';
|
|
28
|
-
import '../../helperComponents/AnimatePresenceWrapper/AnimatePresenceWrapper.js';
|
|
29
|
-
import '../../hooks/useOnOutsideClick.js';
|
|
30
|
-
import '../../hooks/useHideBodyScroll.js';
|
|
31
|
-
import '../SVGIcons/IconDismiss.js';
|
|
32
|
-
import '../Tooltip/types.js';
|
|
33
|
-
import '../Tooltip/Tooltip.js';
|
|
34
|
-
import '../../hooks/useGetTooltipStyles.js';
|
|
35
|
-
import '../../hooks/useGetElemSizes.js';
|
|
36
|
-
import '../../hooks/useGetElemPositions.js';
|
|
37
|
-
import '../../hooks/useGetTooltipPosition.js';
|
|
38
|
-
import '../../hooks/useHideOnScroll.js';
|
|
39
|
-
import 'react-syntax-highlighter';
|
|
40
|
-
import '../Link/Link.js';
|
|
41
|
-
import '../Popover/PopoverDesktop.js';
|
|
42
|
-
import '../SVGIcons/IconInfo.js';
|
|
43
|
-
import '../../helperComponents/IconDynamicComponent/IconDynamicComponent.js';
|
|
44
|
-
import '../../helperComponents/IconDynamicComponent/constants.js';
|
|
45
|
-
import '@babel/runtime/helpers/typeof';
|
|
46
|
-
import '../SVGIcons/IconDismissFilled.js';
|
|
47
|
-
import '../SVGIcons/IconDelete.js';
|
|
48
|
-
import '../FileUpload/DropzoneFileUpload/FilePreview.js';
|
|
49
|
-
import '../Progress/Progress.js';
|
|
50
|
-
import '../SVGIcons/IconArrowDownloadFilled.js';
|
|
51
|
-
import '../../helpers/download-file.js';
|
|
52
|
-
import '../Button/consts.js';
|
|
53
|
-
|
|
54
|
-
var IndeterminateCheckbox = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
55
|
-
var indeterminate = _ref.indeterminate,
|
|
56
|
-
checked = _ref.checked,
|
|
57
|
-
onChange = _ref.onChange;
|
|
58
|
-
var defaultRef = useRef(null);
|
|
59
|
-
var resolvedRef = ref || defaultRef;
|
|
60
|
-
useEffect(function () {
|
|
61
|
-
resolvedRef.current.indeterminate = indeterminate;
|
|
62
|
-
}, [resolvedRef, indeterminate]);
|
|
63
|
-
var handleChange = function handleChange(v) {
|
|
64
|
-
onChange({
|
|
65
|
-
target: {
|
|
66
|
-
checked: v
|
|
67
|
-
}
|
|
68
|
-
});
|
|
69
|
-
};
|
|
70
|
-
return /*#__PURE__*/React.createElement(Checkbox, {
|
|
71
|
-
value: checked,
|
|
72
|
-
onClick: handleChange,
|
|
73
|
-
ref: resolvedRef
|
|
74
|
-
});
|
|
75
|
-
});
|
|
76
|
-
IndeterminateCheckbox.displayName = 'IndeterminateCheckbox';
|
|
77
|
-
|
|
78
|
-
export { IndeterminateCheckbox };
|
|
1
|
+
import{jsx as s}from"react/jsx-runtime";import{forwardRef as l,useRef as d,useEffect as m}from"react";import{Checkbox as h}from"../Checkbox/Checkbox.js";const i=l(({indeterminate:e,checked:t,onChange:r,disabled:a=!1},o)=>{const i=d(null),n=o||i;return m(()=>{n.current.indeterminate=e},[n,e]),/* @__PURE__ */s(h,{disabled:a,value:t,onClick:e=>{r({target:{checked:e}})},ref:n,stopPropagation:!0})});i.displayName="IndeterminateCheckbox";export{i as IndeterminateCheckbox};
|
|
@@ -5,6 +5,7 @@ type Props = {
|
|
|
5
5
|
handleRowClick?: (row: any) => void;
|
|
6
6
|
withSelect: boolean;
|
|
7
7
|
selectedFlatRows: RowType[];
|
|
8
|
+
uniqueKey: string;
|
|
8
9
|
};
|
|
9
|
-
export declare function Row({ row, selectedFlatRows, withSelect, handleRowClick }: Props): ReactElement;
|
|
10
|
+
export declare function Row({ row, selectedFlatRows, withSelect, uniqueKey, handleRowClick }: Props): ReactElement;
|
|
10
11
|
export {};
|
package/components/Table/Row.js
CHANGED
|
@@ -1,94 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { CHECKBOX_HEADER_ID, CHECKBOX_DEFAULT_WIDTH } from './utils.js';
|
|
5
|
-
import '@babel/runtime/helpers/toConsumableArray';
|
|
6
|
-
import './IndeterminateCheckbox.js';
|
|
7
|
-
import '../../Alert-V_kH4Snn.js';
|
|
8
|
-
import '../Alert/consts.js';
|
|
9
|
-
import '../Text/Text.js';
|
|
10
|
-
import '../../utils/helpers.js';
|
|
11
|
-
import 'dayjs';
|
|
12
|
-
import '@babel/runtime/helpers/defineProperty';
|
|
13
|
-
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
14
|
-
import '../../helperComponents/Loader/Loader.js';
|
|
15
|
-
import '@babel/runtime/helpers/slicedToArray';
|
|
16
|
-
import '../../consts/index.js';
|
|
17
|
-
import '../../type/file-upload.js';
|
|
18
|
-
import '../../hooks/useScreenSize.js';
|
|
19
|
-
import 'react-hook-form';
|
|
20
|
-
import 'react-dropzone';
|
|
21
|
-
import '../SVGIcons/IconUpload.js';
|
|
22
|
-
import '../FileUpload/types.js';
|
|
23
|
-
import '../../helpers/format-date.js';
|
|
24
|
-
import '../../helpers/locale.js';
|
|
25
|
-
import '../../type/locale.js';
|
|
26
|
-
import '../../helpers/storage.js';
|
|
27
|
-
import 'react-toastify';
|
|
28
|
-
import '../../hooks/useGetIsMobile.js';
|
|
29
|
-
import 'framer-motion';
|
|
30
|
-
import '../../helperComponents/AnimatePresenceWrapper/AnimatePresenceWrapper.js';
|
|
31
|
-
import '../../hooks/useOnOutsideClick.js';
|
|
32
|
-
import '../../hooks/useHideBodyScroll.js';
|
|
33
|
-
import '../SVGIcons/IconDismiss.js';
|
|
34
|
-
import '../Tooltip/types.js';
|
|
35
|
-
import '../Tooltip/Tooltip.js';
|
|
36
|
-
import '../../hooks/useGetTooltipStyles.js';
|
|
37
|
-
import '../../hooks/useGetElemSizes.js';
|
|
38
|
-
import '../../hooks/useGetElemPositions.js';
|
|
39
|
-
import '../../hooks/useGetTooltipPosition.js';
|
|
40
|
-
import '../../hooks/useHideOnScroll.js';
|
|
41
|
-
import 'react-syntax-highlighter';
|
|
42
|
-
import '../Link/Link.js';
|
|
43
|
-
import '../Popover/PopoverDesktop.js';
|
|
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 Row(_ref) {
|
|
57
|
-
var row = _ref.row,
|
|
58
|
-
selectedFlatRows = _ref.selectedFlatRows,
|
|
59
|
-
withSelect = _ref.withSelect,
|
|
60
|
-
handleRowClick = _ref.handleRowClick;
|
|
61
|
-
var isRowSelected = useMemo(function () {
|
|
62
|
-
return selectedFlatRows.find(function (r) {
|
|
63
|
-
return r.id === row.id;
|
|
64
|
-
});
|
|
65
|
-
}, [selectedFlatRows]);
|
|
66
|
-
return /*#__PURE__*/React.createElement("tr", _extends({}, row.getRowProps(), {
|
|
67
|
-
className: classNames({
|
|
68
|
-
selected: Boolean(isRowSelected)
|
|
69
|
-
}),
|
|
70
|
-
onClick: function onClick() {
|
|
71
|
-
return handleRowClick === null || handleRowClick === void 0 ? void 0 : handleRowClick(row.original);
|
|
72
|
-
}
|
|
73
|
-
}), row.cells.map(function (_ref2, i, arr) {
|
|
74
|
-
var _arr$column;
|
|
75
|
-
var getCellProps = _ref2.getCellProps,
|
|
76
|
-
column = _ref2.column,
|
|
77
|
-
render = _ref2.render;
|
|
78
|
-
var isSelection = column.id === CHECKBOX_HEADER_ID;
|
|
79
|
-
return /*#__PURE__*/React.createElement("td", _extends({
|
|
80
|
-
key: i
|
|
81
|
-
}, getCellProps(), {
|
|
82
|
-
style: {
|
|
83
|
-
left: !isSelection && withSelect && (column === null || column === void 0 ? void 0 : column.fixed) === 'left' ? CHECKBOX_DEFAULT_WIDTH : 0
|
|
84
|
-
},
|
|
85
|
-
className: classNames({
|
|
86
|
-
fixed_column_left: (column === null || column === void 0 ? void 0 : column.fixed) === 'left',
|
|
87
|
-
fixed_column_right: (column === null || column === void 0 ? void 0 : column.fixed) === 'right',
|
|
88
|
-
fixed_checkbox: isSelection && ((_arr$column = arr[i + 1].column) === null || _arr$column === void 0 ? void 0 : _arr$column.fixed) === 'left'
|
|
89
|
-
})
|
|
90
|
-
}), render('Cell'));
|
|
91
|
-
}));
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
export { Row };
|
|
1
|
+
import{jsx as x}from"react/jsx-runtime";import{useMemo as E}from"react";import l from"classnames";import{CHECKBOX_HEADER_ID as D,CHECKBOX_DEFAULT_WIDTH as H}from"./utils.js";function I({row:e,selectedFlatRows:o,withSelect:i,uniqueKey:t,handleRowClick:n}){const r=E(()=>o.find(l=>l.id===e.id),[o]),{key:s,...c}=e.getRowProps();/* @__PURE__ */
|
|
2
|
+
return x("tr",{...c,className:l({selected:!!r}),onClick:()=>null==n?void 0:n(e.original),children:e.cells.map(({getCellProps:e,column:o,render:n},r,s)=>{var c;const d=o.id===D,{key:a,...f}=e();/* @__PURE__ */
|
|
3
|
+
return x("td",{...f,style:{left:!d&&i&&"left"===(null==o?void 0:o.fixed)?H:0},className:l({fixed_column_left:"left"===(null==o?void 0:o.fixed),fixed_column_right:"right"===(null==o?void 0:o.fixed),fixed_checkbox:d&&"left"===(null==(c=s[r+1].column)?void 0:c.fixed)}),onClick:e=>{d&&e.stopPropagation(),f.onClick&&f.onClick(e)},children:n("Cell")},`table_cell_${t}_${r}`)})})}export{I as Row};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
2
|
import { TTableProps } from './types';
|
|
3
|
-
export declare function Table({ columns, data, onChange, fixedHeader, withSelect, handleRowClick, className, containerRefHandler }: TTableProps): ReactElement;
|
|
3
|
+
export declare function Table({ columns, data, onChange, fixedHeader, withSelect, handleRowClick, className, language, containerRefHandler, submitButtons }: TTableProps): ReactElement;
|
|
@@ -1,163 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import { Row } from './Row.js';
|
|
8
|
-
import { Header } from './Header.js';
|
|
9
|
-
import classNames from 'classnames';
|
|
10
|
-
import { useDispatchEventOnScroll } from '../../hooks/useDispatchEventOnScroll.js';
|
|
11
|
-
import './IndeterminateCheckbox.js';
|
|
12
|
-
import '../../Alert-V_kH4Snn.js';
|
|
13
|
-
import '../Alert/consts.js';
|
|
14
|
-
import '../Text/Text.js';
|
|
15
|
-
import '../../utils/helpers.js';
|
|
16
|
-
import 'dayjs';
|
|
17
|
-
import '@babel/runtime/helpers/defineProperty';
|
|
18
|
-
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
19
|
-
import '../../helperComponents/Loader/Loader.js';
|
|
20
|
-
import '../../consts/index.js';
|
|
21
|
-
import '../../type/file-upload.js';
|
|
22
|
-
import '../../hooks/useScreenSize.js';
|
|
23
|
-
import 'react-hook-form';
|
|
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 '../../helperComponents/IconDynamicComponent/IconDynamicComponent.js';
|
|
50
|
-
import '../../helperComponents/IconDynamicComponent/constants.js';
|
|
51
|
-
import '@babel/runtime/helpers/typeof';
|
|
52
|
-
import '../SVGIcons/IconDismissFilled.js';
|
|
53
|
-
import '../SVGIcons/IconDelete.js';
|
|
54
|
-
import '../FileUpload/DropzoneFileUpload/FilePreview.js';
|
|
55
|
-
import '../Progress/Progress.js';
|
|
56
|
-
import '../SVGIcons/IconArrowDownloadFilled.js';
|
|
57
|
-
import '../../helpers/download-file.js';
|
|
58
|
-
import '../Button/consts.js';
|
|
59
|
-
import '../SVGIcons/IconArrowDown.js';
|
|
60
|
-
import '../SVGIcons/IconArrowUp.js';
|
|
61
|
-
|
|
62
|
-
function Table(_ref) {
|
|
63
|
-
var columns = _ref.columns,
|
|
64
|
-
data = _ref.data,
|
|
65
|
-
onChange = _ref.onChange,
|
|
66
|
-
fixedHeader = _ref.fixedHeader,
|
|
67
|
-
_ref$withSelect = _ref.withSelect,
|
|
68
|
-
withSelect = _ref$withSelect === void 0 ? false : _ref$withSelect,
|
|
69
|
-
handleRowClick = _ref.handleRowClick,
|
|
70
|
-
className = _ref.className,
|
|
71
|
-
containerRefHandler = _ref.containerRefHandler;
|
|
72
|
-
var tableRef = useRef(null);
|
|
73
|
-
var _useState = useState(400),
|
|
74
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
75
|
-
tableWidth = _useState2[0],
|
|
76
|
-
setTableWidth = _useState2[1];
|
|
77
|
-
var dispatchScrollEvent = useDispatchEventOnScroll();
|
|
78
|
-
var sortedColumns = useMemo(function () {
|
|
79
|
-
var condition1 = function condition1(item) {
|
|
80
|
-
return item.fixed === 'left';
|
|
81
|
-
}; // Move even numbers to the start
|
|
82
|
-
var condition2 = function condition2(item) {
|
|
83
|
-
return item.fixed === 'right';
|
|
84
|
-
}; // Move numbers greater than 5 to the end
|
|
85
|
-
|
|
86
|
-
// Custom sorting function
|
|
87
|
-
columns.sort(function (a, b) {
|
|
88
|
-
if (condition1(a) && !condition1(b)) {
|
|
89
|
-
return -1; // Move 'a' to the start
|
|
90
|
-
} else if (!condition1(a) && condition1(b)) {
|
|
91
|
-
return 1; // Move 'b' to the start
|
|
92
|
-
} else if (condition2(a) && !condition2(b)) {
|
|
93
|
-
return 1; // Move 'a' to the end
|
|
94
|
-
} else if (!condition2(a) && condition2(b)) {
|
|
95
|
-
return -1; // Move 'b' to the end
|
|
96
|
-
} else {
|
|
97
|
-
return 0; // Their order doesn't matter
|
|
98
|
-
}
|
|
99
|
-
});
|
|
100
|
-
return _toConsumableArray(columns);
|
|
101
|
-
}, [columns]);
|
|
102
|
-
var _ref2 = useTable({
|
|
103
|
-
columns: sortedColumns,
|
|
104
|
-
data: data
|
|
105
|
-
}, useSortBy, useRowSelect, function (hooks) {
|
|
106
|
-
return setSelectedRows(hooks, withSelect);
|
|
107
|
-
}),
|
|
108
|
-
getTableProps = _ref2.getTableProps,
|
|
109
|
-
getTableBodyProps = _ref2.getTableBodyProps,
|
|
110
|
-
selectedFlatRows = _ref2.selectedFlatRows,
|
|
111
|
-
headerGroups = _ref2.headerGroups,
|
|
112
|
-
rows = _ref2.rows,
|
|
113
|
-
prepareRow = _ref2.prepareRow,
|
|
114
|
-
state = _ref2.state;
|
|
115
|
-
useEffect(function () {
|
|
116
|
-
onChange === null || onChange === void 0 || onChange(state);
|
|
117
|
-
}, [JSON.stringify(state)]);
|
|
118
|
-
var handleResize = function handleResize() {
|
|
119
|
-
if (tableRef.current) {
|
|
120
|
-
var _tableRef$current;
|
|
121
|
-
setTableWidth((_tableRef$current = tableRef.current) === null || _tableRef$current === void 0 ? void 0 : _tableRef$current.offsetWidth);
|
|
122
|
-
}
|
|
123
|
-
};
|
|
124
|
-
useEffect(function () {
|
|
125
|
-
window.addEventListener('resize', handleResize);
|
|
126
|
-
if (tableRef.current) {
|
|
127
|
-
var _tableRef$current2;
|
|
128
|
-
setTableWidth((_tableRef$current2 = tableRef.current) === null || _tableRef$current2 === void 0 ? void 0 : _tableRef$current2.offsetWidth);
|
|
129
|
-
}
|
|
130
|
-
return function () {
|
|
131
|
-
window.removeEventListener('resize', handleResize);
|
|
132
|
-
};
|
|
133
|
-
}, [tableRef.current]);
|
|
134
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
135
|
-
onScroll: dispatchScrollEvent,
|
|
136
|
-
ref: containerRefHandler,
|
|
137
|
-
className: classNames('table-wrapper scrollbar scrollbar--horizontal scrollbar--vertical', className),
|
|
138
|
-
style: {
|
|
139
|
-
maxHeight: fixedHeader === null || fixedHeader === void 0 ? void 0 : fixedHeader.y
|
|
140
|
-
}
|
|
141
|
-
}, /*#__PURE__*/React.createElement("table", _extends({}, getTableProps(), {
|
|
142
|
-
ref: tableRef
|
|
143
|
-
}), /*#__PURE__*/React.createElement("thead", null, headerGroups.map(function (headerGroup, i) {
|
|
144
|
-
return /*#__PURE__*/React.createElement(Header, {
|
|
145
|
-
key: i,
|
|
146
|
-
withSelect: withSelect,
|
|
147
|
-
fixedHeader: Boolean(fixedHeader),
|
|
148
|
-
headerGroup: headerGroup,
|
|
149
|
-
tableWidth: tableWidth
|
|
150
|
-
});
|
|
151
|
-
})), /*#__PURE__*/React.createElement("tbody", getTableBodyProps(), rows.map(function (row) {
|
|
152
|
-
prepareRow(row);
|
|
153
|
-
return /*#__PURE__*/React.createElement(Row, {
|
|
154
|
-
handleRowClick: handleRowClick,
|
|
155
|
-
withSelect: withSelect,
|
|
156
|
-
selectedFlatRows: selectedFlatRows,
|
|
157
|
-
row: row,
|
|
158
|
-
key: row.id
|
|
159
|
-
});
|
|
160
|
-
}))));
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
export { Table };
|
|
1
|
+
import{jsxs as u,jsx as s}from"react/jsx-runtime";import{useRef as W,useState as $,useId as j,useMemo as D,useCallback as T,useEffect as _}from"react";import{useTable as q,useSortBy as B,useRowSelect as F}from"react-table";import{setSelectedRows as G}from"./utils.js";import{Row as J}from"./Row.js";import{Header as K}from"./Header.js";import M from"classnames";import{useDispatchEventOnScroll as V}from"../../hooks/useDispatchEventOnScroll.js";import{Button as v}from"../Button/Button.js";import{TABLE_LOCALIZATION as Z}from"./localization.js";import{setTranslationValue as Q}from"../../utils/helpers.js";import U from"../SVGIcons/IconCheckmark.js";import X from"../SVGIcons/IconDismiss.js";function fe({columns:e,data:t,onChange:r,fixedHeader:o,withSelect:a=!1,handleRowClick:l,className:n,language:i="en",containerRefHandler:c,submitButtons:m}){const d=W(null),[p,f]=$(400),h=j(),w=V(),b=D(()=>{const t=e=>"left"===e.fixed,s=e=>"right"===e.fixed;return e.sort((e,r)=>t(e)&&!t(r)?-1:!t(e)&&t(r)||s(e)&&!s(r)?1:!s(e)&&s(r)?-1:0),[...e]},[e]),{getTableProps:g,getTableBodyProps:S,selectedFlatRows:x,headerGroups:y,rows:R,prepareRow:C,toggleAllRowsSelected:k,state:I}=q({columns:b,data:t},B,F,e=>G(e,a)),L=T(()=>{var e;d.current&&f(null==(e=d.current)?void 0:e.offsetWidth)},[d.current]);_(()=>{null==r||r(I)},[JSON.stringify(I)]),_(()=>{var e;return window.addEventListener("resize",L),d.current&&f(null==(e=d.current)?void 0:e.offsetWidth),()=>{window.removeEventListener("resize",L)}},[d.current]);const z=T(()=>{k(!1)},[]);/* @__PURE__ */
|
|
2
|
+
return u("div",{ref:c,children:[a&&x.length>0&&/* @__PURE__ */u("div",{className:"table-wrapper__selected-rows",children:[
|
|
3
|
+
/* @__PURE__ */s(v,{buttonText:Q(Z[i].n_selected||"",x.length),onClick:z,type:"tertiary",size:"medium",iconProps:{alignment:"left",Component:X}}),null==m?void 0:m.map(({buttonText:e,isLoading:t,onClick:r,iconProps:o})=>/* @__PURE__ */s(v,{iconProps:o||{alignment:"left",Component:U},onClick:e=>{r(e,I,z)},buttonText:e||"Submit",type:"secondary",size:"medium",className:"mr-8",isLoading:t}))]}),
|
|
4
|
+
/* @__PURE__ */s("div",{onScroll:w,className:M("table-wrapper scrollbar scrollbar--horizontal scrollbar--vertical",n,{"table-row-clickable":!!l}),style:{maxHeight:null==o?void 0:o.y},children:/* @__PURE__ */u("table",{...g(),ref:d,children:[
|
|
5
|
+
/* @__PURE__ */s("thead",{children:y.map((e,t)=>/* @__PURE__ */s(K,{withSelect:a,fixedHeader:!!o,headerGroup:e,tableWidth:p,uniqueKey:h},`table_head_${h}_${t}`))}),
|
|
6
|
+
/* @__PURE__ */s("tbody",{...S(),children:R.map(e=>(C(e),/* @__PURE__ */s(J,{handleRowClick:l,withSelect:a,selectedFlatRows:x,row:e,uniqueKey:h},`table_row_${h}_${e.id}`)))})]})})]})}export{fe as Table};
|