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,61 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import '@babel/runtime/helpers/extends';
|
|
3
|
-
import '@babel/runtime/helpers/toConsumableArray';
|
|
4
|
-
import '@babel/runtime/helpers/slicedToArray';
|
|
5
|
-
import 'react';
|
|
6
|
-
import 'react-table';
|
|
7
|
-
import './utils.js';
|
|
8
|
-
import './IndeterminateCheckbox.js';
|
|
9
|
-
import '../../Alert-V_kH4Snn.js';
|
|
10
|
-
import '../Alert/consts.js';
|
|
11
|
-
import 'classnames';
|
|
12
|
-
import '../Text/Text.js';
|
|
13
|
-
import '../../utils/helpers.js';
|
|
14
|
-
import 'dayjs';
|
|
15
|
-
import '@babel/runtime/helpers/defineProperty';
|
|
16
|
-
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
17
|
-
import '../../helperComponents/Loader/Loader.js';
|
|
18
|
-
import '../../consts/index.js';
|
|
19
|
-
import '../../type/file-upload.js';
|
|
20
|
-
import '../../hooks/useScreenSize.js';
|
|
21
|
-
import 'react-hook-form';
|
|
22
|
-
import 'react-dropzone';
|
|
23
|
-
import '../SVGIcons/IconUpload.js';
|
|
24
|
-
import '../FileUpload/types.js';
|
|
25
|
-
import '../../helpers/format-date.js';
|
|
26
|
-
import '../../helpers/locale.js';
|
|
27
|
-
import '../../type/locale.js';
|
|
28
|
-
import '../../helpers/storage.js';
|
|
29
|
-
import 'react-toastify';
|
|
30
|
-
import '../../hooks/useGetIsMobile.js';
|
|
31
|
-
import 'framer-motion';
|
|
32
|
-
import '../../helperComponents/AnimatePresenceWrapper/AnimatePresenceWrapper.js';
|
|
33
|
-
import '../../hooks/useOnOutsideClick.js';
|
|
34
|
-
import '../../hooks/useHideBodyScroll.js';
|
|
35
|
-
import '../SVGIcons/IconDismiss.js';
|
|
36
|
-
import '../Tooltip/types.js';
|
|
37
|
-
import '../Tooltip/Tooltip.js';
|
|
38
|
-
import '../../hooks/useGetTooltipStyles.js';
|
|
39
|
-
import '../../hooks/useGetElemSizes.js';
|
|
40
|
-
import '../../hooks/useGetElemPositions.js';
|
|
41
|
-
import '../../hooks/useGetTooltipPosition.js';
|
|
42
|
-
import '../../hooks/useHideOnScroll.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
|
-
import './Row.js';
|
|
58
|
-
import './Header.js';
|
|
59
|
-
import '../SVGIcons/IconArrowDown.js';
|
|
60
|
-
import '../SVGIcons/IconArrowUp.js';
|
|
61
|
-
import '../../hooks/useDispatchEventOnScroll.js';
|
|
1
|
+
import{Table as r}from"./Table.js";export{r as Table};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={en:{n_selected:"%s selected"},ru:{n_selected:"%s выбранно"},hy:{n_selected:"%s ընտրված"}};export{e as TABLE_LOCALIZATION};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Column, TableState } from 'react-table';
|
|
2
|
+
import { TButtonPropTypes } from '../Button/types';
|
|
2
3
|
type Enumerate<N extends number, Acc extends number[] = []> = Acc['length'] extends N ? Acc[number] : Enumerate<N, [...Acc, Acc['length']]>;
|
|
3
4
|
export type IntRange<F extends number, T extends number> = Exclude<Enumerate<T>, Enumerate<F>>;
|
|
4
5
|
export type TColumnProps = {
|
|
@@ -11,6 +12,9 @@ export type TColumnFields = {
|
|
|
11
12
|
widthInPercent?: IntRange<0, 100>;
|
|
12
13
|
};
|
|
13
14
|
export type TColumn = Column & TColumnFields;
|
|
15
|
+
export interface IButtonPropTypes extends Omit<TButtonPropTypes, 'onClick'> {
|
|
16
|
+
onClick: (event: TClickEventType, data: any, clearRowSelection?: () => void) => void;
|
|
17
|
+
}
|
|
14
18
|
export type TTableProps = {
|
|
15
19
|
className?: string;
|
|
16
20
|
columns: TColumn[];
|
|
@@ -22,6 +26,8 @@ export type TTableProps = {
|
|
|
22
26
|
handleRowClick?: (row: any) => void;
|
|
23
27
|
onChange?: (state: TableState) => void;
|
|
24
28
|
containerRefHandler?: (ref: HTMLDivElement) => void;
|
|
29
|
+
language?: string;
|
|
30
|
+
submitButtons?: IButtonPropTypes[];
|
|
25
31
|
};
|
|
26
32
|
export type SortBy = {
|
|
27
33
|
id: string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,78 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import '../../Alert-V_kH4Snn.js';
|
|
5
|
-
import '@babel/runtime/helpers/extends';
|
|
6
|
-
import '../Alert/consts.js';
|
|
7
|
-
import 'classnames';
|
|
8
|
-
import '../Text/Text.js';
|
|
9
|
-
import '../../utils/helpers.js';
|
|
10
|
-
import 'dayjs';
|
|
11
|
-
import '@babel/runtime/helpers/defineProperty';
|
|
12
|
-
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
13
|
-
import '../../helperComponents/Loader/Loader.js';
|
|
14
|
-
import '@babel/runtime/helpers/slicedToArray';
|
|
15
|
-
import '../../consts/index.js';
|
|
16
|
-
import '../../type/file-upload.js';
|
|
17
|
-
import '../../hooks/useScreenSize.js';
|
|
18
|
-
import 'react-hook-form';
|
|
19
|
-
import 'react-dropzone';
|
|
20
|
-
import '../SVGIcons/IconUpload.js';
|
|
21
|
-
import '../FileUpload/types.js';
|
|
22
|
-
import '../../helpers/format-date.js';
|
|
23
|
-
import '../../helpers/locale.js';
|
|
24
|
-
import '../../type/locale.js';
|
|
25
|
-
import '../../helpers/storage.js';
|
|
26
|
-
import 'react-toastify';
|
|
27
|
-
import '../../hooks/useGetIsMobile.js';
|
|
28
|
-
import 'framer-motion';
|
|
29
|
-
import '../../helperComponents/AnimatePresenceWrapper/AnimatePresenceWrapper.js';
|
|
30
|
-
import '../../hooks/useOnOutsideClick.js';
|
|
31
|
-
import '../../hooks/useHideBodyScroll.js';
|
|
32
|
-
import '../SVGIcons/IconDismiss.js';
|
|
33
|
-
import '../Tooltip/types.js';
|
|
34
|
-
import '../Tooltip/Tooltip.js';
|
|
35
|
-
import '../../hooks/useGetTooltipStyles.js';
|
|
36
|
-
import '../../hooks/useGetElemSizes.js';
|
|
37
|
-
import '../../hooks/useGetElemPositions.js';
|
|
38
|
-
import '../../hooks/useGetTooltipPosition.js';
|
|
39
|
-
import '../../hooks/useHideOnScroll.js';
|
|
40
|
-
import 'react-syntax-highlighter';
|
|
41
|
-
import '../Link/Link.js';
|
|
42
|
-
import '../Popover/PopoverDesktop.js';
|
|
43
|
-
import '../SVGIcons/IconInfo.js';
|
|
44
|
-
import '../../helperComponents/IconDynamicComponent/IconDynamicComponent.js';
|
|
45
|
-
import '../../helperComponents/IconDynamicComponent/constants.js';
|
|
46
|
-
import '@babel/runtime/helpers/typeof';
|
|
47
|
-
import '../SVGIcons/IconDismissFilled.js';
|
|
48
|
-
import '../SVGIcons/IconDelete.js';
|
|
49
|
-
import '../FileUpload/DropzoneFileUpload/FilePreview.js';
|
|
50
|
-
import '../Progress/Progress.js';
|
|
51
|
-
import '../SVGIcons/IconArrowDownloadFilled.js';
|
|
52
|
-
import '../../helpers/download-file.js';
|
|
53
|
-
import '../Button/consts.js';
|
|
54
|
-
|
|
55
|
-
var CHECKBOX_HEADER_ID = 'selection';
|
|
56
|
-
var CHECKBOX_DEFAULT_WIDTH = 48;
|
|
57
|
-
function setSelectedRows(hooks, withSelect) {
|
|
58
|
-
if (withSelect) {
|
|
59
|
-
hooks.visibleColumns.push(function (columns) {
|
|
60
|
-
return [{
|
|
61
|
-
id: CHECKBOX_HEADER_ID,
|
|
62
|
-
Header: function Header(_ref) {
|
|
63
|
-
var getToggleAllRowsSelectedProps = _ref.getToggleAllRowsSelectedProps;
|
|
64
|
-
return /*#__PURE__*/React.createElement(IndeterminateCheckbox, getToggleAllRowsSelectedProps());
|
|
65
|
-
},
|
|
66
|
-
Cell: function Cell(_ref2) {
|
|
67
|
-
var row = _ref2.row;
|
|
68
|
-
return /*#__PURE__*/React.createElement(IndeterminateCheckbox, row.getToggleRowSelectedProps());
|
|
69
|
-
}
|
|
70
|
-
}].concat(_toConsumableArray(columns));
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
function calcColumnWidth(percent, tableWidth) {
|
|
75
|
-
return percent * tableWidth / 100;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
export { CHECKBOX_DEFAULT_WIDTH, CHECKBOX_HEADER_ID, calcColumnWidth, setSelectedRows };
|
|
1
|
+
import{jsx as s}from"react/jsx-runtime";import{IndeterminateCheckbox as r}from"./IndeterminateCheckbox.js";const u="selection",S=48;function E(e,t){t&&e.visibleColumns.push(e=>[{id:u,Header:({getToggleAllRowsSelectedProps:e,rows:t,state:o,toggleRowSelected:n})=>{const i=t.filter(e=>!("enableSelection"in e.original)||e.original.enableSelection),l=i.every(e=>o.selectedRowIds[e.id]),c=i.some(e=>o.selectedRowIds[e.id]);/* @__PURE__ */
|
|
2
|
+
return s(r,{...e({checked:l,indeterminate:!l&&c,disabled:0===i.length}),onChange:e=>{const t=e.target.checked;i.forEach(e=>{n(e.id,t)})}})},Cell:({row:e})=>{const t="enableSelection"in e.original&&!e.original.enableSelection;/* @__PURE__ */
|
|
3
|
+
return s(r,{...e.getToggleRowSelectedProps({disabled:t})})}},...e])}function R(e,t){return e*t/100}export{S as CHECKBOX_DEFAULT_WIDTH,u as CHECKBOX_HEADER_ID,R as calcColumnWidth,E as setSelectedRows};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Table } from '@tanstack/react-table';
|
|
2
|
+
interface PaginationProps<T> {
|
|
3
|
+
table: Table<T>;
|
|
4
|
+
totalCount: number;
|
|
5
|
+
buttonText?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function AdvancedPagination<TData>({ table, totalCount, buttonText }: PaginationProps<TData>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import{jsxs as r,jsx as i}from"react/jsx-runtime";import{useState as v,useEffect as C}from"react";import{Input as x}from"../Input/Input.js";import{Button as N}from"../Button/Button.js";import{Select as _}from"../Select/Select/Select.js";import"../Select/MultiSelect/MultiSelect.js";import I from"classnames";import{Text as z}from"../Text/Text.js";import"../../consts/index.js";import"../../context/types.js";import"../../hooks/useScreenSize.js";import"react-hook-form";import"dayjs";import"../../helperComponents/ErrorMessage/consts.js";import"../FileUpload/DropzoneFileUpload/DropzoneFileUpload.js";import"../Checkbox/Checkbox.js";import"react-dom";import"motion/react";import S from"../SVGIcons/IconChevronRight.js";import"../Collapse/CollapseGroup/CollapseGroup.js";import m from"../SVGIcons/IconMore.js";import"../Select/SharedComponents/ContentTop.js";import{OPTIONS as k}from"./constants/index.js";import $ from"../SVGIcons/IconChevronLeft.js";import y from"../SVGIcons/IconChevronDoubleLeft.js";import T from"../SVGIcons/IconChevronDoubleRight.js";function oe({table:e,totalCount:t,buttonText:o}){const[a,n]=v("1"),s=e.getState().pagination.pageIndex,l=e.getState().pagination.pageSize;return C(()=>{e.getPageCount()<Number(a)&&n("1")},[e.getPageCount(),e.getState().pagination]),/* @__PURE__ */r("div",{className:"advanced-table__pagination",children:[
|
|
2
|
+
/* @__PURE__ */i(_,{setSelectedItem:t=>(t=>{t&&e.setPagination({pageIndex:0,pageSize:Number(t)})})(t),selectedItem:`${l}`,className:"no-border",options:k}),
|
|
3
|
+
/* @__PURE__ */r("div",{className:"advanced-table__pagination__right",children:[
|
|
4
|
+
/* @__PURE__ */r(z,{type:"tertiary",children:[s*l+1," - ",(s+1)*l," / ",t]}),
|
|
5
|
+
/* @__PURE__ */r("div",{className:"flexbox align-items--center",children:[
|
|
6
|
+
/* @__PURE__ */i(x,{currentValue:a,size:"small",onChange:t=>(t=>{(!t||/^[1-9]\d*$/.test(t)&&e.getPageCount()>=Number(t))&&n(t)})(t.target.value),className:"advanced-table__pagination__right__input mr-8"}),
|
|
7
|
+
/* @__PURE__ */i(N,{onClick:()=>{const t=a?Number(a)-1:0;e.setPageIndex(t)},type:"secondary",size:"medium",buttonText:o??"Go to page"})]}),
|
|
8
|
+
/* @__PURE__ */r("ul",{className:"pagination",children:[
|
|
9
|
+
/* @__PURE__ */i("li",{className:"previous "+(e.getCanPreviousPage()?"":"disabled"),children:/* @__PURE__ */i("a",{rel:"prev",role:"button",onClick:()=>e.firstPage(),children:/* @__PURE__ */i(y,{size:"small"})})}),
|
|
10
|
+
/* @__PURE__ */i("li",{className:"previous "+(e.getCanPreviousPage()?"":"disabled"),children:/* @__PURE__ */i("a",{rel:"prev",role:"button",onClick:()=>e.previousPage(),children:/* @__PURE__ */i($,{size:"small"})})}),(()=>{const t=s,o=e.getPageCount(),i=[];return o<=7?Array.from({length:o},(e,t)=>t+1):(i.push(1),t<=3?i.push(2,3,4,5,"+++",o):t>o-5?i.push("---",o-4,o-3,o-2,o-1,o):i.push("---",t,t+1,t+2,"+++",o),i)})().map((t,o)=>"---"===t?/* @__PURE__ */i("li",{className:"pagination__more",children:/* @__PURE__ */i("a",{role:"button",onClick:()=>e.setPageIndex(+s-3),children:/* @__PURE__ */i(m,{size:"small"})})},`ellipsis-${o}`):"+++"===t?/* @__PURE__ */i("li",{className:"pagination__more",children:/* @__PURE__ */i("a",{role:"button",onClick:()=>e.setPageIndex(+s+3),children:/* @__PURE__ */i(m,{size:"small"})})},`ellipsis-${o}`):/* @__PURE__ */i("li",{className:I({active:t===s+1}),children:/* @__PURE__ */i("a",{role:"button",onClick:()=>e.setPageIndex(+t-1),children:t})},t)),
|
|
11
|
+
/* @__PURE__ */i("li",{className:"next "+(e.getCanNextPage()?"":"disabled"),children:/* @__PURE__ */i("a",{rel:"next",role:"button",onClick:()=>e.nextPage(),children:/* @__PURE__ */i(S,{size:"small"})})}),
|
|
12
|
+
/* @__PURE__ */i("li",{className:"next "+(e.getCanNextPage()?"":"disabled"),children:/* @__PURE__ */i("a",{rel:"next",role:"button",onClick:()=>e.lastPage(),children:/* @__PURE__ */i(T,{size:"small"})})})]})]})]})}export{oe as AdvancedPagination};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { CSSProperties } from 'react';
|
|
2
|
+
import type { Header } from '@tanstack/react-table';
|
|
3
|
+
interface DraggableColumnHeaderProps<TData> {
|
|
4
|
+
header: Header<TData, unknown>;
|
|
5
|
+
isPinned?: boolean;
|
|
6
|
+
pinnedStyles: CSSProperties;
|
|
7
|
+
}
|
|
8
|
+
export declare function ColumnHeader<TData>({ header, pinnedStyles }: DraggableColumnHeaderProps<TData>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{jsxs as i,jsx as t}from"react/jsx-runtime";import{flexRender as g}from"@tanstack/react-table";import{useSortable as u}from"@dnd-kit/sortable";import x from"../SVGIcons/IconArrowDown.js";import f from"../SVGIcons/IconArrowSort.js";import d from"../SVGIcons/IconArrowUp.js";import{Text as p}from"../Text/Text.js";import z from"classnames";function H({header:e,pinnedStyles:o}){const{attributes:n,listeners:s,setNodeRef:r,transform:a,transition:l,isDragging:c}=u({id:e.id}),m=a?{transform:`translate3d(${a.x}px, ${a.y}px, 0)`,transition:l,minWidth:e.getSize(),position:"relative",zIndex:c?1:0}:{minWidth:e.getSize(),position:"relative",zIndex:c?1:0};/* @__PURE__ */
|
|
2
|
+
return i("th",{ref:r,style:{...m,...o},className:z("select-none",{"with-checkbox":"select"===e.column.id,"actions-header":"actions"===e.column.id,"cursor-pointer":e.column.getCanSort()}),...n,children:[
|
|
3
|
+
/* @__PURE__ */i("div",{onClick:e.column.getToggleSortingHandler(),className:"flexbox align-items--center",children:[
|
|
4
|
+
/* @__PURE__ */t("div",{...s,children:/* @__PURE__ */t(p,{className:"text-left",weight:"bold",children:g(e.column.columnDef.header,e.getContext())})}),
|
|
5
|
+
/* @__PURE__ */t("span",{className:"ml-4",children:e.column.getCanSort()&&("asc"===e.column.getIsSorted()?/* @__PURE__ */t(d,{size:"xsmall"}):"desc"===e.column.getIsSorted()?/* @__PURE__ */t(x,{size:"xsmall"}):/* @__PURE__ */t(f,{size:"xsmall"}))})]}),
|
|
6
|
+
/* @__PURE__ */t("div",{onMouseDown:e.getResizeHandler(),onTouchStart:e.getResizeHandler(),className:"resize-icon select-none touch-none"})]})}export{H as ColumnHeader};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Table } from '@tanstack/react-table';
|
|
2
|
+
interface ColumnSettingsProps<T> {
|
|
3
|
+
table: Table<T>;
|
|
4
|
+
tooltipText?: string;
|
|
5
|
+
hiddenColumns?: string[];
|
|
6
|
+
allToggleText?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function ColumnSettings<T>({ table, tooltipText, hiddenColumns, allToggleText }: ColumnSettingsProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import{jsxs as n,jsx as i}from"react/jsx-runtime";import{useState as d}from"react";import{Button as h}from"../Button/Button.js";import _ from"../SVGIcons/IconSettings.js";import{Switcher as a}from"../Switcher/Switcher.js";import{Menu as b}from"../Menu/Menu.js";import"react-dom";import{Positions as v}from"../Tooltip/types.js";import"../../consts/index.js";import"../../context/types.js";import"../../hooks/useScreenSize.js";import"react-hook-form";import"classnames";import"motion/react";import"dayjs";import"../Collapse/CollapseGroup/CollapseGroup.js";import"../../helperComponents/ErrorMessage/consts.js";import"../FileUpload/DropzoneFileUpload/DropzoneFileUpload.js";import{Tooltip as y}from"../Tooltip/Tooltip.js";import"../Checkbox/Checkbox.js";const N=["select","actions","expand"];function q({table:e,tooltipText:o,hiddenColumns:t=[],allToggleText:s="All"}){const[l,r]=d(null),[c,m]=d(!1),p=N.concat(t);/* @__PURE__ */
|
|
2
|
+
return n("div",{ref:r,children:[
|
|
3
|
+
/* @__PURE__ */i(h,{type:"secondary",iconProps:{Component:_},onClick:()=>m(e=>!e)}),
|
|
4
|
+
/* @__PURE__ */i(b,{className:"settings-menu",position:"top-left",onClose:()=>{m(!1)},isOpen:c,parentRef:l,children:/* @__PURE__ */n("div",{className:"settings-menu__dropdown",children:[
|
|
5
|
+
/* @__PURE__ */i("div",{className:"relative",children:/* @__PURE__ */i("div",{className:"settings-menu__dropdown__option sticky",children:/* @__PURE__ */i(a,{label:s,selectedValue:e.getIsAllColumnsVisible(),onClick:()=>e.toggleAllColumnsVisible(),inlineType:!0,size:"small"})})}),
|
|
6
|
+
/* @__PURE__ */i("div",{className:"scrollbar--content scrollbar scrollbar--vertical",children:e.getAllLeafColumns().map(e=>{if(null==p||!p.includes(e.id)){const t="string"==typeof e.columnDef.header?e.columnDef.header:e.columnDef.id;/* @__PURE__ */
|
|
7
|
+
return n("div",{className:"settings-menu__dropdown__option",children:[o&&!e.getCanHide()&&/* @__PURE__ */i(y,{position:v.TOP_CENTER,text:o,id:e.columnDef.id}),
|
|
8
|
+
/* @__PURE__ */i(a,{label:t,id:e.columnDef.id,selectedValue:e.getIsVisible(),onClick:()=>(e=>{const o=e.getToggleVisibilityHandler();o&&o({target:{checked:!e.getIsVisible()}})})(e),disabled:!e.getCanHide(),inlineType:!0,size:"small"})]},e.id)}})})]})})]})}export{q as ColumnSettings};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type IndeterminateCheckboxProps = {
|
|
3
|
+
indeterminate: boolean;
|
|
4
|
+
checked: boolean;
|
|
5
|
+
onChange: (e: {
|
|
6
|
+
target: {
|
|
7
|
+
checked: boolean;
|
|
8
|
+
};
|
|
9
|
+
}) => void;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
};
|
|
12
|
+
export declare const IndeterminateCheckbox: React.ForwardRefExoticComponent<IndeterminateCheckboxProps & React.RefAttributes<HTMLInputElement>>;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{jsx as c}from"react/jsx-runtime";import{forwardRef as m,useRef as f,useEffect as d}from"react";import{Checkbox as h}from"../Checkbox/Checkbox.js";import u from"classnames";const x=m(({indeterminate:e,checked:a,onChange:t,disabled:s},r)=>{const o=f(null),i=r??o;d(()=>{i.current.indeterminate=e},[i,e]);/* @__PURE__ */
|
|
2
|
+
return c("div",{className:"actions-list",children:/* @__PURE__ */c(h,{className:u("actions-list__checkbox",{"active-checkbox":a}),value:a,disabled:s,onClick:e=>{t({target:{checked:e}})},ref:i})})});x.displayName="IndeterminateCheckbox";export{x as IndeterminateCheckbox};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { TTableProps } from './types';
|
|
2
|
+
import 'react-loading-skeleton/dist/skeleton.css';
|
|
3
|
+
export declare function Table<TData>({ data, columns, isLoading, hasError, isActionsVisible, totalCount, emptyTitle, emptySubTitle, emptyIllustration, withSelect, withBorder, defaultPageIndex, defaultPageSize, defaultHiddenColumns, collapsibleRows, renderExpandedContent, renderHeader, renderFooter, onSortChange, onRowClick, tableSettings, onRowSelection, onColumnSizing, onPaginationChange }: TTableProps<TData>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import{jsx as t,jsxs as h,Fragment as Q}from"react/jsx-runtime";import X,{useState as Y,useCallback as Z,useMemo as C}from"react";import{flexRender as y}from"@tanstack/react-table";import{DndContext as F,closestCenter as G,DragOverlay as ee}from"@dnd-kit/core";import{SortableContext as ne,horizontalListSortingStrategy as te}from"@dnd-kit/sortable";import{ColumnHeader as ie}from"./ColumnHeader.js";import le from"react-loading-skeleton";import{useTableControl as oe}from"./hooks/useTableControl.js";import{Text as ae}from"../Text/Text.js";import o from"classnames";import{Empty as se}from"../Empty/Empty.js";import{Button as re}from"../Button/Button.js";import ce from"../SVGIcons/IconChevronDown.js";import de from"../SVGIcons/IconChevronUp.js";import"react-loading-skeleton/dist/skeleton.css";const me=({row:e,expandedRows:n,onToggle:a})=>{var l,i,r;return(null==(l=e.original)?void 0:l.subRows)&&(null==(r=null==(i=e.original)?void 0:i.subRows)?void 0:r.length)>0?/* @__PURE__ */t(re,{type:"tertiary",size:"medium",className:o("advanced-table__expand-button"),iconProps:{Component:n.has(e.id)?de:ce},onClick:t=>{t.stopPropagation(),a(e.id)}}):null};function _e({data:e,columns:n,isLoading:a,hasError:l,isActionsVisible:i=!1,totalCount:r=0,emptyTitle:d,emptySubTitle:s,emptyIllustration:c,withSelect:m=!1,withBorder:g=!0,defaultPageIndex:u,defaultPageSize:p,defaultHiddenColumns:b,collapsibleRows:S=!1,renderExpandedContent:x,renderHeader:f,renderFooter:w,onSortChange:v,onRowClick:z,tableSettings:k,onRowSelection:D,onColumnSizing:I,onPaginationChange:P}){const[_,R]=Y(/* @__PURE__ */new Set),T=Z(e=>{R(t=>{const n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n})},[]),j=C(()=>({id:"expand",accessorKey:"expand",header:()=>/* @__PURE__ */t("span",{style:{display:"none"},children:"Expand"}),size:50,minSize:50,maxSize:50,cell:({row:e})=>/* @__PURE__ */t(me,{row:e,expandedRows:_,onToggle:T}),meta:{enableHiding:!1,enableColumnDragging:!1,enablePinning:!0,enableResizing:!1,headerVisible:!1,enableSorting:!1}}),[_,T]),{table:N,sensors:E,handleDragStart:H,handleDragEnd:V,handleDragCancel:A,activeHeader:B}=oe({data:e,tableSettings:k,columns:S?[j,...n]:n,withSelect:m,totalCount:r,defaultPageIndex:u,defaultPageSize:p,defaultHiddenColumns:b,onSortChange:v,onRowSelection:D,onColumnSizing:I,onPaginationChange:P}),M=null==f?void 0:f(N),$=null==w?void 0:w(N),L=e=>{const t=e.getIsPinned();return{left:"left"===t?`${e.getStart("left")}px`:void 0,right:"right"===t?`${e.getAfter("right")}px`:void 0,position:t?"sticky":"relative",backgroundColor:t?"white":void 0,minWidth:e.getSize(),zIndex:t?1:0}},W=C(()=>({minWidth:null!=e&&e.length?N.getCenterTotalSize():void 0}),[null==e?void 0:e.length,N]),K=C(()=>Array.from({length:N.getState().pagination.pageSize}),[N.getState().pagination.pageSize]);/* @__PURE__ */
|
|
2
|
+
return h("div",{className:o("advanced-table",{"with-border":g}),children:[M,
|
|
3
|
+
/* @__PURE__ */t("div",{className:o("advanced-table__inner scrollbar scrollbar--horizontal scrollbar--vertical"),children:/* @__PURE__ */h(F,{sensors:E,collisionDetection:G,onDragStart:H,onDragEnd:V,onDragCancel:A,children:[
|
|
4
|
+
/* @__PURE__ */t("div",{children:/* @__PURE__ */t("table",{style:W,children:a||null!=e&&e.length&&!l?/* @__PURE__ */h(Q,{children:[
|
|
5
|
+
/* @__PURE__ */t("thead",{className:o("advanced-table__thead"),children:N.getHeaderGroups().map(e=>/* @__PURE__ */t("tr",{children:/* @__PURE__ */t(ne,{items:e.headers.map(e=>e.id),strategy:te,children:e.headers.map(e=>"actions"!==e.id||i?/* @__PURE__ */t(ie,{pinnedStyles:{...L(e.column)},header:e},e.id):null)})},e.id))}),
|
|
6
|
+
/* @__PURE__ */t("tbody",{children:a?K.map((e,n)=>/* @__PURE__ */t("tr",{children:N.getVisibleFlatColumns().map(e=>/* @__PURE__ */t("td",{className:o({"with-checkbox":"select"===e.id,"pinned-cell":e.getIsPinned(),"action-column":"actions"===e.id&&!i}),style:{...L(e)},children:/* @__PURE__ */t(le,{})},e.id))},`skeleton-row-${n}`)):N.getRowModel().rows.map(e=>/* @__PURE__ */h(X.Fragment,{children:[
|
|
7
|
+
/* @__PURE__ */t("tr",{className:o({selected:e.getIsSelected()}),children:e.getVisibleCells().map(n=>/* @__PURE__ */t("td",{className:o({"with-checkbox":"select"===n.column.id,"pinned-cell":n.column.getIsPinned(),"action-column":"actions"===n.column.id&&!i,"expand-column":"expand"===n.column.id}),id:n.id,onClick:()=>((e,t)=>{"actions"!==e.id&&"select"!==e.id&&z&&z(t)})(n.column,e),style:{...L(n.column)},children:"actions"!==n.column.id||i?y(n.column.columnDef.cell,n.getContext()):/* @__PURE__ */t("div",{className:o("actions-list__right"),children:y(n.column.columnDef.cell,n.getContext())})},n.id))}),S&&_.has(e.id)&&x&&/* @__PURE__ */t("tr",{className:o("advanced-table__expanded-row"),children:/* @__PURE__ */t("td",{colSpan:e.getVisibleCells().length,children:x(e)})})]},e.id))})]}):/* @__PURE__ */t(se,{mainMessage:d,paragraphMessage:s,illustration:c})})}),
|
|
8
|
+
/* @__PURE__ */t(ee,{dropAnimation:null,children:B&&/* @__PURE__ */t("table",{style:{width:B.getSize()},children:/* @__PURE__ */t("thead",{children:/* @__PURE__ */t("tr",{children:/* @__PURE__ */t("th",{className:o("draggable-col"),style:{width:B.getSize()},children:/* @__PURE__ */t(ae,{weight:"bold",children:y(B.column.columnDef.header,B.getContext())})})})})})})]})}),!!e.length&&!l&&$]})}export{_e as Table};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const l={LOCAL:"localStorage",EXTERNAL:"external"},e="table-settings",a=[{value:"10",label:"10"},{value:"20",label:"20"},{value:"30",label:"30"},{value:"40",label:"40"},{value:"50",label:"50"}];export{a as OPTIONS,l as STORAGE_TYPE,e as TABLE_NAME_PREFIX};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useRef as l,useEffect as r}from"react";const m=(i,n,t)=>{const e=l(null),o=i.getState();r(()=>{const i={columnVisibility:o.columnVisibility,columnOrder:o.columnOrder,columnSizing:o.columnSizing},l=JSON.stringify(i);e.current!==l&&t&&(localStorage.setItem(n,l),e.current=l)},[o.columnVisibility,o.columnOrder,o.columnSizing,n])};export{m as useTableColumnSettings};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { DragEndEvent, DragStartEvent } from '@dnd-kit/core';
|
|
2
|
+
import type { Column, TTableProps } from '../types';
|
|
3
|
+
export declare function useTableControl<TData>({ withSelect, columns, data, tableSettings, totalCount, defaultPageSize, defaultPageIndex, defaultHiddenColumns, onSortChange, onRowSelection, onColumnSizing, onPaginationChange }: TTableProps<TData>): {
|
|
4
|
+
table: import("@tanstack/react-table").Table<TData>;
|
|
5
|
+
activeHeader: import("@tanstack/react-table").Header<TData, unknown> | null | undefined;
|
|
6
|
+
sensors: import("@dnd-kit/core").SensorDescriptor<import("@dnd-kit/core").SensorOptions>[];
|
|
7
|
+
memoizedColumns: Column<TData>[];
|
|
8
|
+
handleDragCancel: () => void;
|
|
9
|
+
handleDragEnd: (event: DragEndEvent) => void;
|
|
10
|
+
handleDragStart: (event: DragStartEvent) => void;
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as A}from"react/jsx-runtime";import{useReactTable as se,getPaginationRowModel as te,getSortedRowModel as ce,getCoreRowModel as re}from"@tanstack/react-table";import{useSensors as le,useSensor as L,MouseSensor as de,TouchSensor as me}from"@dnd-kit/core";import{useState as t,useMemo as P,useEffect as ae}from"react";import{IndeterminateCheckbox as D}from"../IndeterminateCheckbox.js";import{arrayMove as ue}from"@dnd-kit/sortable";import{loadTableSettings as ge}from"../loadTableSettings.js";import{useTableColumnSettings as fe}from"./useTableColumnSettings.js";import{STORAGE_TYPE as N,TABLE_NAME_PREFIX as he}from"../constants/index.js";function Se({withSelect:e,columns:n,data:o,tableSettings:i,totalCount:l=0,defaultPageSize:a=10,defaultPageIndex:s=0,defaultHiddenColumns:r=[],onSortChange:d,onRowSelection:c,onColumnSizing:u,onPaginationChange:g}){var m;const S=(null==i?void 0:i.persistColumnSettings)===N.LOCAL,C=(null==i?void 0:i.persistColumnSettings)===N.EXTERNAL,f=`${he}-${null==i?void 0:i.tableName}`,b=S&&f?ge(f):{columnVisibility:{},columnSizing:{},columnOrder:[]},[h,p]=t(null),[R,v]=t([]),[w,y]=t({}),[z,M]=t(b.columnSizing??{}),[T,E]=t({...r.reduce((e,n)=>(e[n]=!1,e),{}),...b.columnVisibility}),[O,x]=t({pageIndex:s,pageSize:a}),I=P(()=>{const t=[...n].map(e=>"actions"===e.id?{...e,enableColumnDragging:!1,enableSorting:!1,enableResizing:!1,enableHiding:!1}:e);return e&&t.unshift({id:"select",enableHiding:!1,enableColumnDragging:!1,enablePinning:!0,header:({table:e})=>/* @__PURE__ */A(D,{checked:e.getIsAllRowsSelected(),indeterminate:e.getIsSomeRowsSelected(),onChange:e.getToggleAllRowsSelectedHandler()}),cell:({row:e})=>/* @__PURE__ */A(D,{checked:e.getIsSelected(),disabled:!e.getCanSelect(),indeterminate:e.getIsSomeSelected(),onChange:e.getToggleSelectedHandler()})}),t},[n]),[k,H]=t(null!=(m=b.columnOrder)&&m.length&&b.columnOrder.length===I.length?b.columnOrder:I.map(e=>e.id)),j=k.map(e=>I.find(n=>n.id===e)),V=null==r?void 0:r.reduce((e,n)=>(e[n]=!1,e),{}),_=P(()=>{const e=[];return I.forEach(n=>{n.enablePinning&&n.id&&e.push(n.id)}),{left:e,right:["actions"]}},[I]),G=se({data:o,columns:j,pageCount:Math.ceil(l/O.pageSize),state:{sorting:R,pagination:O,columnOrder:k,columnSizing:z,rowSelection:w,columnVisibility:{...V,...T},columnPinning:_},onPaginationChange:e=>{const n="function"==typeof e?e(O):e;x(n),null==g||g(n)},onColumnSizingChange:e=>{const n="function"==typeof e?e(z):e;M(n),null==u||u(n)},onSortingChange:e=>{const n="function"==typeof e?e(R):e;v(n);const t=n.map(e=>({column:e.id??"",direction:e.desc?"desc":!!e.id&&"asc",timestamp:Date.now()}));null==d||d(t)},onRowSelectionChange:e=>{const n="function"==typeof e?e(w):e;y(n),null==c||c(n)},onColumnVisibilityChange:E,getCoreRowModel:re(),getSortedRowModel:ce(),getPaginationRowModel:te(),columnResizeMode:"onChange",manualSorting:!!d,manualPagination:!!g,enableRowSelection:!0,enableColumnResizing:!0,isMultiSortEvent:()=>!0});fe(G,f,S);const X=le(L(de,{activationConstraint:{distance:8}}),L(me,{activationConstraint:{delay:200,tolerance:5}})),$=h?G.getHeaderGroups()[0].headers.find(e=>e.id===h):null;return ae(()=>{var e;const n={columnVisibility:T,columnOrder:k,columnSizing:z};if(S&&i.tableName){const e=JSON.stringify(n);localStorage.setItem(f,e)}C&&(null==(e=null==i?void 0:i.onColumnSettingsChange)||e.call(i,n))},[T,k,z]),{table:G,activeHeader:$,sensors:X,memoizedColumns:I,handleDragCancel:()=>{p(null),document.body.classList.remove("select-none")},handleDragEnd:e=>{const{active:n,over:t}=e;if(t&&n.id!==t.id){const e=k.indexOf(n.id),o=k.indexOf(t.id),i=j[o];if(!1===(null==i?void 0:i.enableColumnDragging))return;const l=ue(k,e,o);H(l)}p(null),document.body.classList.remove("select-none")},handleDragStart:e=>{p(e.active.id),document.body.classList.add("select-none")}}}export{Se as useTableControl};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Table as a}from"./Table.js";import{ColumnSettings as t}from"./ColumnSettings.js";import{AdvancedPagination as m}from"./AdvancedPagination.js";export{m as AdvancedPagination,t as ColumnSettings,a as TableV2};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const n=n=>{try{const t=localStorage.getItem(n);return t?JSON.parse(t):{columnOrder:[],columnSizing:{},columnVisibility:{}}}catch{return{columnOrder:[],columnSizing:{},columnVisibility:{}}}};export{n as loadTableSettings};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import type { ColumnDef, ColumnSizingState, PaginationState, RowSelectionState, Table, Row } from '@tanstack/react-table';
|
|
2
|
+
import type { ReactNode } from 'react';
|
|
3
|
+
export type TTable<TData> = Table<TData>;
|
|
4
|
+
export type TRowSelectionState = RowSelectionState;
|
|
5
|
+
export type TColumnSizingState = ColumnSizingState;
|
|
6
|
+
export type TPaginationState = PaginationState;
|
|
7
|
+
export type TPersistColumnSettings = 'localStorage' | 'external';
|
|
8
|
+
export type TTableProps<TData> = {
|
|
9
|
+
data: (TData & {
|
|
10
|
+
subRows?: TData[];
|
|
11
|
+
})[];
|
|
12
|
+
isLoading?: boolean;
|
|
13
|
+
columns: ColumnDef<TData>[];
|
|
14
|
+
wi?: boolean;
|
|
15
|
+
isActionsVisible?: boolean;
|
|
16
|
+
totalCount?: number;
|
|
17
|
+
hasError?: boolean;
|
|
18
|
+
emptyTitle?: string;
|
|
19
|
+
emptySubTitle?: string;
|
|
20
|
+
emptyIllustration?: string;
|
|
21
|
+
className?: string;
|
|
22
|
+
withSelect?: boolean;
|
|
23
|
+
withBorder?: boolean;
|
|
24
|
+
customHeader?: ReactNode;
|
|
25
|
+
defaultPageIndex?: number;
|
|
26
|
+
defaultPageSize?: number;
|
|
27
|
+
defaultHiddenColumns?: string[];
|
|
28
|
+
collapsibleRows?: boolean;
|
|
29
|
+
tableSettings?: {
|
|
30
|
+
tableName: string;
|
|
31
|
+
persistColumnSettings?: TPersistColumnSettings;
|
|
32
|
+
onColumnSettingsChange?: (settings: ColumnSettings) => void;
|
|
33
|
+
};
|
|
34
|
+
renderExpandedContent?: (row: Row<TData>) => ReactNode;
|
|
35
|
+
renderHeader?: (table: TTable<TData>) => ReactNode;
|
|
36
|
+
renderFooter?: (table: Table<TData>) => ReactNode;
|
|
37
|
+
onRowClick?: (row: Row<TData>) => void;
|
|
38
|
+
onSortChange?: (state: SortingUpdateEvent[]) => void;
|
|
39
|
+
onRowSelection?: (state: TRowSelectionState) => void;
|
|
40
|
+
onColumnSizing?: (state: TColumnSizingState) => void;
|
|
41
|
+
onPaginationChange?: (state: TPaginationState) => void;
|
|
42
|
+
};
|
|
43
|
+
export type Column<TData> = ColumnDef<TData> & {
|
|
44
|
+
enableColumnDragging?: boolean;
|
|
45
|
+
};
|
|
46
|
+
export type SortingUpdateEvent = {
|
|
47
|
+
column: string;
|
|
48
|
+
direction: 'asc' | 'desc' | false;
|
|
49
|
+
timestamp: number;
|
|
50
|
+
};
|
|
51
|
+
export interface ICellProps<TData> {
|
|
52
|
+
row: Row<TData>;
|
|
53
|
+
}
|
|
54
|
+
export interface IHeaderProps<TData> {
|
|
55
|
+
table: Table<TData>;
|
|
56
|
+
}
|
|
57
|
+
export interface TableData {
|
|
58
|
+
subRows: TableData[];
|
|
59
|
+
[key: string]: unknown;
|
|
60
|
+
}
|
|
61
|
+
export interface ExpandColumnProps<TData> {
|
|
62
|
+
row: Row<TData>;
|
|
63
|
+
expandedRows: Set<string>;
|
|
64
|
+
onToggle: (rowId: string) => void;
|
|
65
|
+
}
|
|
66
|
+
export interface ColumnSettings {
|
|
67
|
+
columnVisibility: Record<string, boolean>;
|
|
68
|
+
columnOrder: string[];
|
|
69
|
+
columnSizing: Record<string, number>;
|
|
70
|
+
}
|
|
File without changes
|
package/components/Text/Text.js
CHANGED
|
@@ -1,36 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import { noop } from '../../utils/helpers.js';
|
|
4
|
-
import 'dayjs';
|
|
5
|
-
|
|
6
|
-
var Text = function Text(props) {
|
|
7
|
-
var children = props.children,
|
|
8
|
-
_props$className = props.className,
|
|
9
|
-
className = _props$className === void 0 ? '' : _props$className,
|
|
10
|
-
_props$type = props.type,
|
|
11
|
-
type = _props$type === void 0 ? 'primary' : _props$type,
|
|
12
|
-
_props$size = props.size,
|
|
13
|
-
size = _props$size === void 0 ? 'standard' : _props$size,
|
|
14
|
-
_props$weight = props.weight,
|
|
15
|
-
weight = _props$weight === void 0 ? 'regular' : _props$weight,
|
|
16
|
-
_props$lineHeight = props.lineHeight,
|
|
17
|
-
lineHeight = _props$lineHeight === void 0 ? 'medium' : _props$lineHeight,
|
|
18
|
-
_props$as = props.as,
|
|
19
|
-
As = _props$as === void 0 ? 'p' : _props$as,
|
|
20
|
-
_props$dataId = props.dataId,
|
|
21
|
-
dataId = _props$dataId === void 0 ? '' : _props$dataId,
|
|
22
|
-
_props$onClick = props.onClick,
|
|
23
|
-
onClick = _props$onClick === void 0 ? noop : _props$onClick,
|
|
24
|
-
_props$id = props.id,
|
|
25
|
-
id = _props$id === void 0 ? '' : _props$id,
|
|
26
|
-
title = props.title;
|
|
27
|
-
return /*#__PURE__*/React.createElement(As, {
|
|
28
|
-
id: id,
|
|
29
|
-
title: title,
|
|
30
|
-
"data-id": dataId,
|
|
31
|
-
onClick: onClick,
|
|
32
|
-
className: classNames('body', size && "body-".concat(size), type && "color-".concat(type), weight, lineHeight && "lh-".concat(lineHeight), className)
|
|
33
|
-
}, children);
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
export { Text };
|
|
1
|
+
import{jsx as p}from"react/jsx-runtime";import h from"classnames";import{noop as y}from"../../utils/helpers.js";const x=e=>{const{children:t,className:i="",type:r="primary",size:s="standard",weight:a="regular",lineHeight:o="medium",as:l="p",dataId:d="",onClick:m=y,id:n="",title:c}=e;/* @__PURE__ */
|
|
2
|
+
return p(l,{id:n,title:c,"data-id":d,onClick:m,className:h("body",s&&`body-${s}`,r&&`color-${r}`,a,o&&`lh-${o}`,i),children:t})};export{x as Text};
|
package/components/Text/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ElementType, MouseEvent, ReactNode } from 'react';
|
|
2
2
|
type TTextTypes = 'primary' | 'secondary' | 'tertiary' | 'disabled' | 'inverse' | 'selected' | 'brand' | 'danger' | 'warning' | 'success' | 'information' | 'discovery';
|
|
3
|
-
type TTextSize = 'xxsmall' | 'xsmall' | 'small' | 'standard' | 'medium' | 'large';
|
|
3
|
+
export type TTextSize = 'xxsmall' | 'xsmall' | 'small' | 'standard' | 'medium' | 'large' | 'xlarge';
|
|
4
4
|
type TTextWeight = 'regular' | 'semibold' | 'bold' | 'bolder';
|
|
5
5
|
type TTextLineHeight = 'xsmall' | 'small' | 'medium' | 'large';
|
|
6
6
|
export interface TextPropTypes {
|
package/components/Text/types.js
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|