hrm_ui_lib 2.0.0-alpha.24 → 2.0.0-alpha.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/images/under-construction.webp +0 -0
- package/assets/styles/styles.css +1 -9462
- package/components/Alert/Alert.js +6 -54
- package/components/Alert/consts.js +1 -16
- package/components/Alert/index.js +1 -54
- package/components/Avatar/Avatar.js +1 -121
- package/components/Avatar/AvatarGroup.js +5 -122
- package/components/Avatar/index.js +1 -66
- package/components/Badge/Badge.js +2 -24
- package/components/Badge/index.js +1 -6
- package/components/BadgeV2/BadgeV2.js +1 -52
- package/components/BadgeV2/index.js +1 -7
- package/components/BadgeV2/types.js +1 -7
- package/components/Breadcrumb/Breadcrumb.js +2 -24
- package/components/Breadcrumb/index.js +1 -2
- package/components/Button/Button.js +2 -54
- package/components/Button/consts.js +1 -16
- package/components/Button/index.js +1 -54
- package/components/ButtonGroup/ButtonGroup.js +2 -46
- package/components/ButtonGroup/ButtonGroupItem.js +3 -52
- package/components/ButtonGroup/consts.js +1 -12
- package/components/ButtonGroup/index.js +1 -10
- package/components/Card/Card.js +1 -92
- package/components/Card/CardComponent/Card.js +3 -37
- package/components/Card/CardComponent/CardBody.js +2 -39
- package/components/Card/CardComponent/CardFooter.js +1 -13
- package/components/Card/CardComponent/CardHead.js +2 -91
- package/components/Card/CardContext.js +1 -11
- package/components/Card/index.js +1 -63
- package/components/CardGroup/CardGroup.js +1 -27
- package/components/CardGroup/CardGroupComponent/CardBody.js +2 -19
- package/components/CardGroup/CardGroupComponent/CardGroup.js +2 -28
- package/components/CardGroup/CardGroupComponent/CardHead.js +3 -19
- package/components/CardGroup/CardGroupContext.js +1 -8
- package/components/CardGroup/index.js +1 -11
- package/components/Checkbox/Checkbox.js +6 -54
- package/components/Checkbox/index.js +1 -54
- package/components/Chips/Chips.js +2 -67
- package/components/Chips/consts.js +1 -14
- package/components/Chips/index.js +1 -11
- package/components/Chips/types.js +1 -7
- package/components/Collapse/Collapse/Collapse.js +5 -79
- package/components/Collapse/Collapse/Title.js +2 -48
- package/components/Collapse/CollapseGroup/CollapseGroup.js +3 -76
- package/components/Collapse/CollapseItem/CollapseItem.js +10 -89
- package/components/Collapse/index.js +1 -19
- package/components/Container/Container.js +2 -10
- package/components/Container/index.js +1 -2
- package/components/Copy/Copy.js +3 -96
- package/components/Copy/index.js +1 -56
- package/components/Counter/Counter.js +2 -139
- package/components/Counter/index.js +1 -63
- package/components/DatePicker/CustomHeader/CustomHeader.js +7 -194
- package/components/DatePicker/CustomHeader/helpers.js +1 -17
- package/components/DatePicker/RangeDatePicker/RangeDatePicker.js +1 -138
- package/components/DatePicker/RangeDatePicker/RangeDatePickerDesktop.js +4 -185
- package/components/DatePicker/RangeDatePicker/RangeDatePickerMobile.js +8 -277
- package/components/DatePicker/RangeDatePicker/index.js +1 -132
- package/components/DatePicker/SimpleDatePicker/SimpleDatePicker.js +1 -138
- package/components/DatePicker/SimpleDatePicker/SimpleDatePickerDesktop.js +4 -213
- package/components/DatePicker/SimpleDatePicker/SimpleDatePickerMobile.js +5 -218
- package/components/DatePicker/SimpleDatePicker/index.js +1 -131
- package/components/DatePicker/TimePicker/MobileModalContent.js +4 -126
- package/components/DatePicker/TimePicker/TimePicker.js +1 -86
- package/components/DatePicker/TimePicker/TimePickerDesktop.js +4 -164
- package/components/DatePicker/TimePicker/TimePickerMobile.js +5 -131
- package/components/DatePicker/TimePicker/consts.js +1 -8
- package/components/DatePicker/TimePicker/helpers.js +1 -21
- package/components/DatePicker/TimePicker/index.js +1 -80
- package/components/DatePicker/hooks.js +1 -44
- package/components/DatePicker/index.js +1 -144
- package/components/DatePicker/localization.js +1 -7
- package/components/DatePicker/types.js +1 -7
- package/components/Divider/Divider.js +2 -19
- package/components/Divider/index.js +1 -3
- package/components/Empty/Empty.js +4 -87
- package/components/Empty/index.js +1 -56
- package/components/FileUpload/DropzoneFileUpload/DropzoneFileUpload.js +7 -54
- package/components/FileUpload/DropzoneFileUpload/ErrorItem.js +1 -54
- package/components/FileUpload/DropzoneFileUpload/FilePreview.js +2 -53
- package/components/FileUpload/DropzoneFileUpload/PreviewItem.js +7 -54
- package/components/FileUpload/DropzoneFileUpload/helpers.js +1 -54
- package/components/FileUpload/DropzoneFileUpload/index.js +1 -54
- package/components/FileUpload/FileUpload.js +6 -195
- package/components/FileUpload/UploadItems.js +6 -104
- package/components/FileUpload/index.js +1 -63
- package/components/FileUpload/types.js +1 -10
- package/components/FormContainer/FormContainer.js +1 -146
- package/components/FormContainer/index.js +1 -57
- package/components/FormContainer/types.d.ts +1 -2
- package/components/FormField/FormField.js +2 -117
- package/components/FormField/index.js +1 -58
- package/components/FormField/types.d.ts +1 -0
- package/components/Heading/Heading.js +2 -29
- package/components/Heading/index.js +1 -5
- package/components/IconDynamicComponent/IconDynamicComponent.js +1 -40
- package/components/IconDynamicComponent/index.js +1 -3
- package/components/Image/Image.js +1 -33
- package/components/Image/index.js +1 -2
- package/components/Input/Input.js +9 -245
- package/components/Input/index.js +1 -60
- package/components/Link/Link.js +2 -42
- package/components/Link/index.js +1 -3
- package/components/Menu/Menu.js +3 -167
- package/components/Menu/NestedMenu.js +3 -180
- package/components/Menu/index.js +1 -74
- package/components/Modal/Modal.js +1 -54
- package/components/Modal/ModalConfirmation.js +3 -145
- package/components/Modal/ModalContent.js +5 -54
- package/components/Modal/index.js +1 -55
- package/components/More/More.js +3 -88
- package/components/More/index.js +1 -55
- package/components/Pagination/Pagination.js +2 -59
- package/components/Pagination/consts.js +1 -8
- package/components/Pagination/index.js +1 -10
- package/components/Popover/Popover.js +1 -54
- package/components/Popover/PopoverDesktop.js +1 -71
- package/components/Popover/PopoverMobile.js +3 -54
- package/components/Popover/index.js +1 -54
- package/components/Progress/Progress.js +4 -57
- package/components/Progress/index.js +1 -2
- package/components/ProgressStep/ProgressStep.js +2 -39
- package/components/ProgressStep/Step.js +9 -101
- package/components/ProgressStep/consts.js +1 -9
- package/components/ProgressStep/index.js +1 -12
- package/components/ProgressStep/types.js +1 -7
- package/components/Radio/Radio.js +4 -58
- package/components/Radio/RadioGroup.js +4 -115
- package/components/Radio/index.js +1 -57
- package/components/SVGIcons/IconAdd.d.ts +1 -1
- package/components/SVGIcons/IconAdd.js +1 -29
- package/components/SVGIcons/IconAddCircle.d.ts +1 -1
- package/components/SVGIcons/IconAddCircle.js +1 -32
- package/components/SVGIcons/IconAddCircleFilled.d.ts +1 -1
- package/components/SVGIcons/IconAddCircleFilled.js +1 -32
- package/components/SVGIcons/IconAddFilled.d.ts +1 -1
- package/components/SVGIcons/IconAddFilled.js +1 -29
- package/components/SVGIcons/IconAirplaneTakeOff.d.ts +1 -1
- package/components/SVGIcons/IconAirplaneTakeOff.js +1 -29
- package/components/SVGIcons/IconAirplaneTakeOffFilled.d.ts +1 -1
- package/components/SVGIcons/IconAirplaneTakeOffFilled.js +1 -29
- package/components/SVGIcons/IconAlert.d.ts +1 -1
- package/components/SVGIcons/IconAlert.js +1 -32
- package/components/SVGIcons/IconAlertBadge.d.ts +1 -1
- package/components/SVGIcons/IconAlertBadge.js +1 -32
- package/components/SVGIcons/IconAlertBadgeFilled.d.ts +1 -1
- package/components/SVGIcons/IconAlertBadgeFilled.js +1 -32
- package/components/SVGIcons/IconAlertFilled.d.ts +1 -1
- package/components/SVGIcons/IconAlertFilled.js +1 -32
- package/components/SVGIcons/IconAm.d.ts +1 -1
- package/components/SVGIcons/IconAm.js +7 -58
- package/components/SVGIcons/IconAmd.d.ts +1 -1
- package/components/SVGIcons/IconAmd.js +1 -29
- package/components/SVGIcons/IconAmdFilled.d.ts +1 -1
- package/components/SVGIcons/IconAmdFilled.js +1 -29
- package/components/SVGIcons/IconApple.d.ts +1 -1
- package/components/SVGIcons/IconApple.js +1 -32
- package/components/SVGIcons/IconArrowDown.d.ts +1 -1
- package/components/SVGIcons/IconArrowDown.js +1 -32
- package/components/SVGIcons/IconArrowDownFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowDownFilled.js +1 -32
- package/components/SVGIcons/IconArrowDownLeft.d.ts +1 -1
- package/components/SVGIcons/IconArrowDownLeft.js +1 -32
- package/components/SVGIcons/IconArrowDownLeftFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowDownLeftFilled.js +1 -32
- package/components/SVGIcons/IconArrowDownload.d.ts +1 -1
- package/components/SVGIcons/IconArrowDownload.js +1 -32
- package/components/SVGIcons/IconArrowDownloadFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowDownloadFilled.js +1 -32
- package/components/SVGIcons/IconArrowEnter.d.ts +1 -1
- package/components/SVGIcons/IconArrowEnter.js +1 -29
- package/components/SVGIcons/IconArrowEnterFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowEnterFilled.js +1 -29
- package/components/SVGIcons/IconArrowExit.d.ts +1 -1
- package/components/SVGIcons/IconArrowExit.js +1 -29
- package/components/SVGIcons/IconArrowExitFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowExitFilled.js +1 -29
- package/components/SVGIcons/IconArrowExportLeftToRight.d.ts +1 -1
- package/components/SVGIcons/IconArrowExportLeftToRight.js +1 -32
- package/components/SVGIcons/IconArrowExportLeftToRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowExportLeftToRightFilled.js +1 -32
- package/components/SVGIcons/IconArrowExportRightToLeft.d.ts +1 -1
- package/components/SVGIcons/IconArrowExportRightToLeft.js +1 -32
- package/components/SVGIcons/IconArrowExportRightToLeftFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowExportRightToLeftFilled.js +1 -32
- package/components/SVGIcons/IconArrowExportUp.d.ts +1 -1
- package/components/SVGIcons/IconArrowExportUp.js +1 -32
- package/components/SVGIcons/IconArrowExportUpFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowExportUpFilled.js +1 -32
- package/components/SVGIcons/IconArrowImport.d.ts +1 -1
- package/components/SVGIcons/IconArrowImport.js +1 -32
- package/components/SVGIcons/IconArrowImportFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowImportFilled.js +1 -32
- package/components/SVGIcons/IconArrowLeft.d.ts +1 -1
- package/components/SVGIcons/IconArrowLeft.js +1 -32
- package/components/SVGIcons/IconArrowLeftFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowLeftFilled.js +1 -32
- package/components/SVGIcons/IconArrowRepeatAll.d.ts +1 -1
- package/components/SVGIcons/IconArrowRepeatAll.js +1 -32
- package/components/SVGIcons/IconArrowRepeatAllFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowRepeatAllFilled.js +1 -32
- package/components/SVGIcons/IconArrowReset.d.ts +1 -1
- package/components/SVGIcons/IconArrowReset.js +1 -32
- package/components/SVGIcons/IconArrowResetFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowResetFilled.js +1 -32
- package/components/SVGIcons/IconArrowRight.d.ts +1 -1
- package/components/SVGIcons/IconArrowRight.js +1 -32
- package/components/SVGIcons/IconArrowRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowRightFilled.js +1 -32
- package/components/SVGIcons/IconArrowSort.d.ts +1 -1
- package/components/SVGIcons/IconArrowSort.js +1 -29
- package/components/SVGIcons/IconArrowSortFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowSortFilled.js +1 -29
- package/components/SVGIcons/IconArrowSync.d.ts +1 -1
- package/components/SVGIcons/IconArrowSync.js +1 -29
- package/components/SVGIcons/IconArrowSyncFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowSyncFilled.js +1 -29
- package/components/SVGIcons/IconArrowUp.d.ts +1 -1
- package/components/SVGIcons/IconArrowUp.js +1 -32
- package/components/SVGIcons/IconArrowUpFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowUpFilled.js +1 -32
- package/components/SVGIcons/IconArrowUpLeft.d.ts +1 -1
- package/components/SVGIcons/IconArrowUpLeft.js +1 -32
- package/components/SVGIcons/IconArrowUpLeftFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowUpLeftFilled.js +1 -32
- package/components/SVGIcons/IconArrowUpRight.d.ts +1 -1
- package/components/SVGIcons/IconArrowUpRight.js +1 -32
- package/components/SVGIcons/IconArrowUpRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconArrowUpRightFilled.js +1 -32
- package/components/SVGIcons/IconAttach.d.ts +1 -1
- package/components/SVGIcons/IconAttach.js +1 -32
- package/components/SVGIcons/IconAttachFilled.d.ts +1 -1
- package/components/SVGIcons/IconAttachFilled.js +1 -32
- package/components/SVGIcons/IconBeach.d.ts +1 -1
- package/components/SVGIcons/IconBeach.js +1 -29
- package/components/SVGIcons/IconBeachFilled.d.ts +1 -1
- package/components/SVGIcons/IconBeachFilled.js +1 -29
- package/components/SVGIcons/IconBook.d.ts +1 -1
- package/components/SVGIcons/IconBook.js +1 -32
- package/components/SVGIcons/IconBookFilled.d.ts +1 -1
- package/components/SVGIcons/IconBookFilled.js +1 -32
- package/components/SVGIcons/IconBookmark.d.ts +1 -1
- package/components/SVGIcons/IconBookmark.js +1 -32
- package/components/SVGIcons/IconBookmarkFilled.d.ts +1 -1
- package/components/SVGIcons/IconBookmarkFilled.js +1 -32
- package/components/SVGIcons/IconBriefcase.d.ts +1 -1
- package/components/SVGIcons/IconBriefcase.js +1 -32
- package/components/SVGIcons/IconBriefcaseFilled.d.ts +1 -1
- package/components/SVGIcons/IconBriefcaseFilled.js +1 -32
- package/components/SVGIcons/IconBuilding.d.ts +1 -1
- package/components/SVGIcons/IconBuilding.js +7 -55
- package/components/SVGIcons/IconBuildingBank.d.ts +1 -1
- package/components/SVGIcons/IconBuildingBank.js +1 -29
- package/components/SVGIcons/IconBuildingBankFilled.d.ts +1 -1
- package/components/SVGIcons/IconBuildingBankFilled.js +1 -29
- package/components/SVGIcons/IconBuildingFilled.d.ts +1 -1
- package/components/SVGIcons/IconBuildingFilled.js +1 -32
- package/components/SVGIcons/IconBulletListAdd.d.ts +1 -1
- package/components/SVGIcons/IconBulletListAdd.js +1 -32
- package/components/SVGIcons/IconBulletListAddFilled.d.ts +1 -1
- package/components/SVGIcons/IconBulletListAddFilled.js +1 -32
- package/components/SVGIcons/IconCalculator.d.ts +1 -1
- package/components/SVGIcons/IconCalculator.js +1 -32
- package/components/SVGIcons/IconCalculatorFilled.d.ts +1 -1
- package/components/SVGIcons/IconCalculatorFilled.js +1 -32
- package/components/SVGIcons/IconCalendarClock.d.ts +1 -1
- package/components/SVGIcons/IconCalendarClock.js +1 -29
- package/components/SVGIcons/IconCalendarClockFilled.d.ts +1 -1
- package/components/SVGIcons/IconCalendarClockFilled.js +1 -29
- package/components/SVGIcons/IconCalendarDay.d.ts +1 -1
- package/components/SVGIcons/IconCalendarDay.js +1 -32
- package/components/SVGIcons/IconCalendarDayFilled.d.ts +1 -1
- package/components/SVGIcons/IconCalendarDayFilled.js +1 -32
- package/components/SVGIcons/IconCalendarEmpty.d.ts +1 -1
- package/components/SVGIcons/IconCalendarEmpty.js +1 -29
- package/components/SVGIcons/IconCalendarLeft.d.ts +1 -1
- package/components/SVGIcons/IconCalendarLeft.js +1 -29
- package/components/SVGIcons/IconCalendarLeftFilled.d.ts +1 -1
- package/components/SVGIcons/IconCalendarLeftFilled.js +1 -29
- package/components/SVGIcons/IconCalendarRight.d.ts +1 -1
- package/components/SVGIcons/IconCalendarRight.js +1 -29
- package/components/SVGIcons/IconCalendarRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconCalendarRightFilled.js +1 -29
- package/components/SVGIcons/IconCall.d.ts +1 -1
- package/components/SVGIcons/IconCall.js +1 -32
- package/components/SVGIcons/IconCallFilled.d.ts +1 -1
- package/components/SVGIcons/IconCallFilled.js +1 -32
- package/components/SVGIcons/IconCard.d.ts +1 -1
- package/components/SVGIcons/IconCard.js +1 -29
- package/components/SVGIcons/IconCardFilled.d.ts +1 -1
- package/components/SVGIcons/IconCardFilled.js +1 -29
- package/components/SVGIcons/IconCaretDown.d.ts +1 -1
- package/components/SVGIcons/IconCaretDown.js +1 -29
- package/components/SVGIcons/IconCaretDownFilled.d.ts +1 -1
- package/components/SVGIcons/IconCaretDownFilled.js +1 -29
- package/components/SVGIcons/IconCaretDownRight.d.ts +1 -1
- package/components/SVGIcons/IconCaretDownRight.js +1 -29
- package/components/SVGIcons/IconCaretDownRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconCaretDownRightFilled.js +1 -29
- package/components/SVGIcons/IconCaretLeft.d.ts +1 -1
- package/components/SVGIcons/IconCaretLeft.js +1 -29
- package/components/SVGIcons/IconCaretLeftFilled.d.ts +1 -1
- package/components/SVGIcons/IconCaretLeftFilled.js +1 -29
- package/components/SVGIcons/IconCaretRight.d.ts +1 -1
- package/components/SVGIcons/IconCaretRight.js +1 -29
- package/components/SVGIcons/IconCaretRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconCaretRightFilled.js +1 -29
- package/components/SVGIcons/IconCaretUp.d.ts +1 -1
- package/components/SVGIcons/IconCaretUp.js +1 -29
- package/components/SVGIcons/IconCaretUpFilled.d.ts +1 -1
- package/components/SVGIcons/IconCaretUpFilled.js +1 -29
- package/components/SVGIcons/IconChartPerson.d.ts +1 -1
- package/components/SVGIcons/IconChartPerson.js +1 -29
- package/components/SVGIcons/IconChartPersonFilled.d.ts +1 -1
- package/components/SVGIcons/IconChartPersonFilled.js +1 -29
- package/components/SVGIcons/IconChat.d.ts +1 -1
- package/components/SVGIcons/IconChat.js +1 -29
- package/components/SVGIcons/IconChatFilled.d.ts +1 -1
- package/components/SVGIcons/IconChatFilled.js +1 -29
- package/components/SVGIcons/IconChatMultiple.d.ts +1 -1
- package/components/SVGIcons/IconChatMultiple.js +1 -29
- package/components/SVGIcons/IconChatMultipleFilled.d.ts +1 -1
- package/components/SVGIcons/IconChatMultipleFilled.js +1 -29
- package/components/SVGIcons/IconCheckboxArrowRight.d.ts +1 -1
- package/components/SVGIcons/IconCheckboxArrowRight.js +1 -32
- package/components/SVGIcons/IconCheckboxArrowRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconCheckboxArrowRightFilled.js +1 -32
- package/components/SVGIcons/IconCheckmark.d.ts +1 -1
- package/components/SVGIcons/IconCheckmark.js +1 -29
- package/components/SVGIcons/IconCheckmarkCircle.d.ts +1 -1
- package/components/SVGIcons/IconCheckmarkCircle.js +1 -29
- package/components/SVGIcons/IconCheckmarkCircleFilled.d.ts +1 -1
- package/components/SVGIcons/IconCheckmarkCircleFilled.js +1 -29
- package/components/SVGIcons/IconCheckmarkFilled.d.ts +1 -1
- package/components/SVGIcons/IconCheckmarkFilled.js +1 -29
- package/components/SVGIcons/IconChevronDoubleLeft.d.ts +1 -1
- package/components/SVGIcons/IconChevronDoubleLeft.js +1 -29
- package/components/SVGIcons/IconChevronDoubleRight.d.ts +1 -1
- package/components/SVGIcons/IconChevronDoubleRight.js +1 -29
- package/components/SVGIcons/IconChevronDown.d.ts +1 -1
- package/components/SVGIcons/IconChevronDown.js +1 -29
- package/components/SVGIcons/IconChevronDownFilled.d.ts +1 -1
- package/components/SVGIcons/IconChevronDownFilled.js +1 -29
- package/components/SVGIcons/IconChevronLeft.d.ts +1 -1
- package/components/SVGIcons/IconChevronLeft.js +1 -29
- package/components/SVGIcons/IconChevronLeftFilled.d.ts +1 -1
- package/components/SVGIcons/IconChevronLeftFilled.js +1 -29
- package/components/SVGIcons/IconChevronRight.d.ts +1 -1
- package/components/SVGIcons/IconChevronRight.js +1 -29
- package/components/SVGIcons/IconChevronRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconChevronRightFilled.js +1 -29
- package/components/SVGIcons/IconChevronUp.d.ts +1 -1
- package/components/SVGIcons/IconChevronUp.js +1 -29
- package/components/SVGIcons/IconChevronUpDown.d.ts +1 -1
- package/components/SVGIcons/IconChevronUpDown.js +1 -32
- package/components/SVGIcons/IconChevronUpDownFilled.d.ts +1 -1
- package/components/SVGIcons/IconChevronUpDownFilled.js +1 -32
- package/components/SVGIcons/IconChevronUpFilled.d.ts +1 -1
- package/components/SVGIcons/IconChevronUpFilled.js +1 -29
- package/components/SVGIcons/IconClipboardDay.d.ts +1 -1
- package/components/SVGIcons/IconClipboardDay.js +1 -29
- package/components/SVGIcons/IconClock.d.ts +1 -1
- package/components/SVGIcons/IconClock.js +1 -32
- package/components/SVGIcons/IconClockDismiss.d.ts +1 -1
- package/components/SVGIcons/IconClockDismiss.js +1 -29
- package/components/SVGIcons/IconClockDismissFilled.d.ts +1 -1
- package/components/SVGIcons/IconClockDismissFilled.js +1 -29
- package/components/SVGIcons/IconClockFilled.d.ts +1 -1
- package/components/SVGIcons/IconClockFilled.js +1 -32
- package/components/SVGIcons/IconComment.d.ts +1 -1
- package/components/SVGIcons/IconComment.js +1 -32
- package/components/SVGIcons/IconCommentFilled.d.ts +1 -1
- package/components/SVGIcons/IconCommentFilled.js +1 -32
- package/components/SVGIcons/IconContractCard.d.ts +1 -1
- package/components/SVGIcons/IconContractCard.js +1 -29
- package/components/SVGIcons/IconContractCardFilled.d.ts +1 -1
- package/components/SVGIcons/IconContractCardFilled.js +1 -29
- package/components/SVGIcons/IconCopy.d.ts +1 -1
- package/components/SVGIcons/IconCopy.js +1 -29
- package/components/SVGIcons/IconCopyFilled.d.ts +1 -1
- package/components/SVGIcons/IconCopyFilled.js +1 -29
- package/components/SVGIcons/IconCubeTree.d.ts +1 -1
- package/components/SVGIcons/IconCubeTree.js +1 -29
- package/components/SVGIcons/IconCubeTreeFilled.d.ts +1 -1
- package/components/SVGIcons/IconCubeTreeFilled.js +1 -32
- package/components/SVGIcons/IconDatabase.d.ts +1 -1
- package/components/SVGIcons/IconDatabase.js +1 -32
- package/components/SVGIcons/IconDatabaseFilled.d.ts +1 -1
- package/components/SVGIcons/IconDatabaseFilled.js +1 -32
- package/components/SVGIcons/IconDelete.d.ts +1 -1
- package/components/SVGIcons/IconDelete.js +1 -29
- package/components/SVGIcons/IconDeleteFilled.d.ts +1 -1
- package/components/SVGIcons/IconDeleteFilled.js +1 -29
- package/components/SVGIcons/IconDeviceMeetingRoom.d.ts +1 -1
- package/components/SVGIcons/IconDeviceMeetingRoom.js +1 -29
- package/components/SVGIcons/IconDeviceMeetingRoomFilled.d.ts +1 -1
- package/components/SVGIcons/IconDeviceMeetingRoomFilled.js +1 -29
- package/components/SVGIcons/IconDismiss.d.ts +1 -1
- package/components/SVGIcons/IconDismiss.js +1 -29
- package/components/SVGIcons/IconDismissCircle.d.ts +1 -1
- package/components/SVGIcons/IconDismissCircle.js +1 -32
- package/components/SVGIcons/IconDismissCircleFilled.d.ts +1 -1
- package/components/SVGIcons/IconDismissCircleFilled.js +1 -32
- package/components/SVGIcons/IconDismissFilled.d.ts +1 -1
- package/components/SVGIcons/IconDismissFilled.js +1 -29
- package/components/SVGIcons/IconDocument.d.ts +1 -1
- package/components/SVGIcons/IconDocument.js +1 -29
- package/components/SVGIcons/IconDocumentBulletList.d.ts +1 -1
- package/components/SVGIcons/IconDocumentBulletList.js +1 -32
- package/components/SVGIcons/IconDocumentBulletListFilled.d.ts +1 -1
- package/components/SVGIcons/IconDocumentBulletListFilled.js +1 -32
- package/components/SVGIcons/IconDocumentEdit.d.ts +1 -1
- package/components/SVGIcons/IconDocumentEdit.js +1 -29
- package/components/SVGIcons/IconDocumentEditFilled.d.ts +1 -1
- package/components/SVGIcons/IconDocumentEditFilled.js +1 -29
- package/components/SVGIcons/IconDocumentFilled.d.ts +1 -1
- package/components/SVGIcons/IconDocumentFilled.js +1 -29
- package/components/SVGIcons/IconDocumentPerson.d.ts +1 -1
- package/components/SVGIcons/IconDocumentPerson.js +1 -29
- package/components/SVGIcons/IconEdit.d.ts +1 -1
- package/components/SVGIcons/IconEdit.js +1 -29
- package/components/SVGIcons/IconEditFilled.d.ts +1 -1
- package/components/SVGIcons/IconEditFilled.js +1 -29
- package/components/SVGIcons/IconErrorCircle.d.ts +1 -1
- package/components/SVGIcons/IconErrorCircle.js +1 -29
- package/components/SVGIcons/IconErrorCircleFilled.d.ts +1 -1
- package/components/SVGIcons/IconErrorCircleFilled.js +1 -29
- package/components/SVGIcons/IconEur.d.ts +1 -1
- package/components/SVGIcons/IconEur.js +1 -29
- package/components/SVGIcons/IconEurFilled.d.ts +1 -1
- package/components/SVGIcons/IconEurFilled.js +1 -29
- package/components/SVGIcons/IconExpandUpLeft.d.ts +1 -1
- package/components/SVGIcons/IconExpandUpLeft.js +1 -32
- package/components/SVGIcons/IconExpandUpLeftFilled.d.ts +1 -1
- package/components/SVGIcons/IconExpandUpLeftFilled.js +1 -32
- package/components/SVGIcons/IconExpandUpRight.d.ts +1 -1
- package/components/SVGIcons/IconExpandUpRight.js +1 -32
- package/components/SVGIcons/IconExpandUpRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconExpandUpRightFilled.js +1 -32
- package/components/SVGIcons/IconEyeOff.d.ts +1 -1
- package/components/SVGIcons/IconEyeOff.js +1 -32
- package/components/SVGIcons/IconEyeOffFilled.d.ts +1 -1
- package/components/SVGIcons/IconEyeOffFilled.js +1 -32
- package/components/SVGIcons/IconEyeOn.d.ts +1 -1
- package/components/SVGIcons/IconEyeOn.js +1 -32
- package/components/SVGIcons/IconEyeOnFilled.d.ts +1 -1
- package/components/SVGIcons/IconEyeOnFilled.js +1 -32
- package/components/SVGIcons/IconFacebook.d.ts +1 -1
- package/components/SVGIcons/IconFacebook.js +3 -39
- package/components/SVGIcons/IconFastAcceleration.d.ts +1 -1
- package/components/SVGIcons/IconFastAcceleration.js +1 -29
- package/components/SVGIcons/IconFastAccelerationFilled.d.ts +1 -1
- package/components/SVGIcons/IconFastAccelerationFilled.js +1 -29
- package/components/SVGIcons/IconFeed.d.ts +1 -1
- package/components/SVGIcons/IconFeed.js +1 -29
- package/components/SVGIcons/IconFeedFilled.d.ts +1 -1
- package/components/SVGIcons/IconFeedFilled.js +1 -29
- package/components/SVGIcons/IconFilter.d.ts +1 -1
- package/components/SVGIcons/IconFilter.js +1 -29
- package/components/SVGIcons/IconFilterFilled.d.ts +1 -1
- package/components/SVGIcons/IconFilterFilled.js +1 -29
- package/components/SVGIcons/IconFlag.d.ts +1 -1
- package/components/SVGIcons/IconFlag.js +1 -32
- package/components/SVGIcons/IconFlagFilled.d.ts +1 -1
- package/components/SVGIcons/IconFlagFilled.js +1 -32
- package/components/SVGIcons/IconFolderLink.d.ts +1 -1
- package/components/SVGIcons/IconFolderLink.js +1 -29
- package/components/SVGIcons/IconFolderLinkFilled.d.ts +1 -1
- package/components/SVGIcons/IconFolderLinkFilled.js +1 -29
- package/components/SVGIcons/IconFood.d.ts +1 -1
- package/components/SVGIcons/IconFood.js +1 -29
- package/components/SVGIcons/IconFoodFilled.d.ts +1 -1
- package/components/SVGIcons/IconFoodFilled.js +1 -29
- package/components/SVGIcons/IconGb.d.ts +1 -1
- package/components/SVGIcons/IconGb.js +11 -72
- package/components/SVGIcons/IconGlobe.d.ts +1 -1
- package/components/SVGIcons/IconGlobe.js +1 -29
- package/components/SVGIcons/IconGlobeFilled.d.ts +1 -1
- package/components/SVGIcons/IconGlobeFilled.js +1 -29
- package/components/SVGIcons/IconGoogle.d.ts +1 -1
- package/components/SVGIcons/IconGoogle.js +3 -41
- package/components/SVGIcons/IconHandOpenHeart.d.ts +1 -1
- package/components/SVGIcons/IconHandOpenHeart.js +1 -32
- package/components/SVGIcons/IconHandOpenHeartFilled.d.ts +1 -1
- package/components/SVGIcons/IconHandOpenHeartFilled.js +1 -32
- package/components/SVGIcons/IconHeart.d.ts +1 -1
- package/components/SVGIcons/IconHeart.js +1 -32
- package/components/SVGIcons/IconHeartFilled.d.ts +1 -1
- package/components/SVGIcons/IconHeartFilled.js +1 -32
- package/components/SVGIcons/IconHistory.d.ts +1 -1
- package/components/SVGIcons/IconHistory.js +1 -32
- package/components/SVGIcons/IconHistoryFilled.d.ts +1 -1
- package/components/SVGIcons/IconHistoryFilled.js +1 -32
- package/components/SVGIcons/IconHome.d.ts +1 -1
- package/components/SVGIcons/IconHome.js +1 -32
- package/components/SVGIcons/IconHomeFilled.d.ts +1 -1
- package/components/SVGIcons/IconHomeFilled.js +1 -32
- package/components/SVGIcons/IconImage.d.ts +1 -1
- package/components/SVGIcons/IconImage.js +1 -32
- package/components/SVGIcons/IconImageFilled.d.ts +1 -1
- package/components/SVGIcons/IconImageFilled.js +1 -32
- package/components/SVGIcons/IconInfo.d.ts +1 -1
- package/components/SVGIcons/IconInfo.js +1 -29
- package/components/SVGIcons/IconInfoFilled.d.ts +1 -1
- package/components/SVGIcons/IconInfoFilled.js +1 -29
- package/components/SVGIcons/IconInstagram.d.ts +1 -1
- package/components/SVGIcons/IconInstagram.js +4 -40
- package/components/SVGIcons/IconKeyReset.d.ts +1 -1
- package/components/SVGIcons/IconKeyReset.js +1 -32
- package/components/SVGIcons/IconKeyResetFilled.d.ts +1 -1
- package/components/SVGIcons/IconKeyResetFilled.js +1 -32
- package/components/SVGIcons/IconLibrary.d.ts +1 -1
- package/components/SVGIcons/IconLibrary.js +1 -29
- package/components/SVGIcons/IconLibraryFilled.d.ts +1 -1
- package/components/SVGIcons/IconLibraryFilled.js +1 -29
- package/components/SVGIcons/IconLink.d.ts +1 -1
- package/components/SVGIcons/IconLink.js +1 -32
- package/components/SVGIcons/IconLinkFilled.d.ts +1 -1
- package/components/SVGIcons/IconLinkFilled.js +1 -32
- package/components/SVGIcons/IconLinkedin.d.ts +1 -1
- package/components/SVGIcons/IconLinkedin.js +1 -32
- package/components/SVGIcons/IconList.d.ts +1 -1
- package/components/SVGIcons/IconList.js +1 -29
- package/components/SVGIcons/IconListFilled.d.ts +1 -1
- package/components/SVGIcons/IconListFilled.js +1 -32
- package/components/SVGIcons/IconLocation.d.ts +1 -1
- package/components/SVGIcons/IconLocation.js +1 -32
- package/components/SVGIcons/IconLocationFilled.d.ts +1 -1
- package/components/SVGIcons/IconLocationFilled.js +1 -32
- package/components/SVGIcons/IconLockClosed.d.ts +1 -1
- package/components/SVGIcons/IconLockClosed.js +1 -32
- package/components/SVGIcons/IconLockClosedFilled.d.ts +1 -1
- package/components/SVGIcons/IconLockClosedFilled.js +1 -32
- package/components/SVGIcons/IconLockOpen.d.ts +1 -1
- package/components/SVGIcons/IconLockOpen.js +1 -32
- package/components/SVGIcons/IconLockOpenFilled.d.ts +1 -1
- package/components/SVGIcons/IconLockOpenFilled.js +1 -32
- package/components/SVGIcons/IconMail.d.ts +1 -1
- package/components/SVGIcons/IconMail.js +1 -32
- package/components/SVGIcons/IconMailAdd.d.ts +1 -1
- package/components/SVGIcons/IconMailAdd.js +1 -32
- package/components/SVGIcons/IconMailAddFilled.d.ts +1 -1
- package/components/SVGIcons/IconMailAddFilled.js +1 -32
- package/components/SVGIcons/IconMailArrowForward.d.ts +1 -1
- package/components/SVGIcons/IconMailArrowForward.js +1 -32
- package/components/SVGIcons/IconMailArrowForwardFilled.d.ts +1 -1
- package/components/SVGIcons/IconMailArrowForwardFilled.js +1 -32
- package/components/SVGIcons/IconMailFilled.d.ts +1 -1
- package/components/SVGIcons/IconMailFilled.js +1 -32
- package/components/SVGIcons/IconMailLink.d.ts +1 -1
- package/components/SVGIcons/IconMailLink.js +1 -32
- package/components/SVGIcons/IconMailLinkFilled.d.ts +1 -1
- package/components/SVGIcons/IconMailLinkFilled.js +1 -32
- package/components/SVGIcons/IconMedium.d.ts +1 -1
- package/components/SVGIcons/IconMedium.js +1 -32
- package/components/SVGIcons/IconMore.d.ts +1 -1
- package/components/SVGIcons/IconMore.js +1 -32
- package/components/SVGIcons/IconMoreFilled.d.ts +1 -1
- package/components/SVGIcons/IconMoreFilled.js +1 -32
- package/components/SVGIcons/IconMoreVertical.d.ts +1 -1
- package/components/SVGIcons/IconMoreVertical.js +1 -32
- package/components/SVGIcons/IconMoreVerticalFilled.d.ts +1 -1
- package/components/SVGIcons/IconMoreVerticalFilled.js +1 -32
- package/components/SVGIcons/IconNavigation.d.ts +1 -1
- package/components/SVGIcons/IconNavigation.js +1 -32
- package/components/SVGIcons/IconNavigationFilled.d.ts +1 -1
- package/components/SVGIcons/IconNavigationFilled.js +1 -32
- package/components/SVGIcons/IconNotebook.d.ts +1 -1
- package/components/SVGIcons/IconNotebook.js +1 -32
- package/components/SVGIcons/IconNotebookAdd.d.ts +1 -1
- package/components/SVGIcons/IconNotebookAdd.js +7 -48
- package/components/SVGIcons/IconNotebookAddFilled.d.ts +1 -1
- package/components/SVGIcons/IconNotebookAddFilled.js +6 -45
- package/components/SVGIcons/IconNotebookFilled.d.ts +1 -1
- package/components/SVGIcons/IconNotebookFilled.js +1 -32
- package/components/SVGIcons/IconOnlyEmployee.d.ts +1 -1
- package/components/SVGIcons/IconOnlyEmployee.js +1 -29
- package/components/SVGIcons/IconOpen.d.ts +1 -1
- package/components/SVGIcons/IconOpen.js +1 -32
- package/components/SVGIcons/IconOpenFilled.d.ts +1 -1
- package/components/SVGIcons/IconOpenFilled.js +1 -32
- package/components/SVGIcons/IconPatient.d.ts +1 -1
- package/components/SVGIcons/IconPatient.js +1 -29
- package/components/SVGIcons/IconPatientFilled.d.ts +1 -1
- package/components/SVGIcons/IconPatientFilled.js +1 -29
- package/components/SVGIcons/IconPeople.d.ts +1 -1
- package/components/SVGIcons/IconPeople.js +1 -29
- package/components/SVGIcons/IconPeopleAdd.d.ts +1 -1
- package/components/SVGIcons/IconPeopleAdd.js +1 -32
- package/components/SVGIcons/IconPeopleAddFilled.d.ts +1 -1
- package/components/SVGIcons/IconPeopleAddFilled.js +1 -32
- package/components/SVGIcons/IconPeopleFilled.d.ts +1 -1
- package/components/SVGIcons/IconPeopleFilled.js +1 -32
- package/components/SVGIcons/IconPeopleList.d.ts +1 -1
- package/components/SVGIcons/IconPeopleList.js +1 -29
- package/components/SVGIcons/IconPeopleListFilled.d.ts +1 -1
- package/components/SVGIcons/IconPeopleListFilled.js +1 -29
- package/components/SVGIcons/IconPeopleTeam.d.ts +1 -1
- package/components/SVGIcons/IconPeopleTeam.js +1 -29
- package/components/SVGIcons/IconPeopleTeamFilled.d.ts +1 -1
- package/components/SVGIcons/IconPeopleTeamFilled.js +1 -29
- package/components/SVGIcons/IconPercent.d.ts +1 -1
- package/components/SVGIcons/IconPercent.js +1 -34
- package/components/SVGIcons/IconPerson.d.ts +1 -1
- package/components/SVGIcons/IconPerson.js +1 -32
- package/components/SVGIcons/IconPersonAccount.d.ts +1 -1
- package/components/SVGIcons/IconPersonAccount.js +1 -29
- package/components/SVGIcons/IconPersonAccountFilled.d.ts +1 -1
- package/components/SVGIcons/IconPersonAccountFilled.js +1 -29
- package/components/SVGIcons/IconPersonAdd.d.ts +1 -1
- package/components/SVGIcons/IconPersonAdd.js +1 -32
- package/components/SVGIcons/IconPersonAddFilled.d.ts +1 -1
- package/components/SVGIcons/IconPersonAddFilled.js +1 -32
- package/components/SVGIcons/IconPersonArrowLeft.d.ts +1 -1
- package/components/SVGIcons/IconPersonArrowLeft.js +1 -29
- package/components/SVGIcons/IconPersonArrowLeftFilled.d.ts +1 -1
- package/components/SVGIcons/IconPersonArrowLeftFilled.js +1 -29
- package/components/SVGIcons/IconPersonArrowRight.d.ts +1 -1
- package/components/SVGIcons/IconPersonArrowRight.js +1 -29
- package/components/SVGIcons/IconPersonArrowRightFilled.d.ts +1 -1
- package/components/SVGIcons/IconPersonArrowRightFilled.js +1 -29
- package/components/SVGIcons/IconPersonBoard.d.ts +1 -1
- package/components/SVGIcons/IconPersonBoard.js +1 -29
- package/components/SVGIcons/IconPersonFilled.d.ts +1 -1
- package/components/SVGIcons/IconPersonFilled.js +1 -32
- package/components/SVGIcons/IconPersonMinus.d.ts +1 -1
- package/components/SVGIcons/IconPersonMinus.js +1 -29
- package/components/SVGIcons/IconPersonStar.d.ts +1 -1
- package/components/SVGIcons/IconPersonStar.js +1 -32
- package/components/SVGIcons/IconPersonStarFilled.d.ts +1 -1
- package/components/SVGIcons/IconPersonStarFilled.js +1 -32
- package/components/SVGIcons/IconPersonSubtract.d.ts +1 -1
- package/components/SVGIcons/IconPersonSubtract.js +1 -32
- package/components/SVGIcons/IconPersonSubtractFilled.d.ts +1 -1
- package/components/SVGIcons/IconPersonSubtractFilled.js +1 -32
- package/components/SVGIcons/IconPhone.d.ts +1 -1
- package/components/SVGIcons/IconPhone.js +1 -32
- package/components/SVGIcons/IconPhoneFilled.d.ts +1 -1
- package/components/SVGIcons/IconPhoneFilled.js +1 -32
- package/components/SVGIcons/IconPlugConnected.d.ts +1 -1
- package/components/SVGIcons/IconPlugConnected.js +1 -29
- package/components/SVGIcons/IconPos.d.ts +1 -1
- package/components/SVGIcons/IconPos.js +1 -34
- package/components/SVGIcons/IconPosFilled.d.ts +1 -1
- package/components/SVGIcons/IconPosFilled.js +1 -34
- package/components/SVGIcons/IconProhibited.d.ts +1 -1
- package/components/SVGIcons/IconProhibited.js +1 -32
- package/components/SVGIcons/IconProhibitedFilled.d.ts +1 -1
- package/components/SVGIcons/IconProhibitedFilled.js +1 -32
- package/components/SVGIcons/IconProjectProduct.d.ts +1 -1
- package/components/SVGIcons/IconProjectProduct.js +1 -29
- package/components/SVGIcons/IconQuestion.d.ts +1 -1
- package/components/SVGIcons/IconQuestion.js +1 -32
- package/components/SVGIcons/IconQuestionFilled.d.ts +1 -1
- package/components/SVGIcons/IconQuestionFilled.js +1 -32
- package/components/SVGIcons/IconRedo.d.ts +1 -1
- package/components/SVGIcons/IconRedo.js +1 -32
- package/components/SVGIcons/IconRedoFilled.d.ts +1 -1
- package/components/SVGIcons/IconRedoFilled.js +1 -32
- package/components/SVGIcons/IconRu.d.ts +1 -1
- package/components/SVGIcons/IconRu.js +6 -61
- package/components/SVGIcons/IconRub.d.ts +1 -1
- package/components/SVGIcons/IconRub.js +1 -29
- package/components/SVGIcons/IconRubFilled.d.ts +1 -1
- package/components/SVGIcons/IconRubFilled.js +1 -29
- package/components/SVGIcons/IconSave.d.ts +1 -1
- package/components/SVGIcons/IconSave.js +1 -32
- package/components/SVGIcons/IconSaveFilled.d.ts +1 -1
- package/components/SVGIcons/IconSaveFilled.js +1 -32
- package/components/SVGIcons/IconSavings.d.ts +1 -1
- package/components/SVGIcons/IconSavings.js +1 -32
- package/components/SVGIcons/IconSavingsFilled.d.ts +1 -1
- package/components/SVGIcons/IconSavingsFilled.js +1 -32
- package/components/SVGIcons/IconSearch.d.ts +1 -1
- package/components/SVGIcons/IconSearch.js +1 -32
- package/components/SVGIcons/IconSearchFilled.d.ts +1 -1
- package/components/SVGIcons/IconSearchFilled.js +1 -32
- package/components/SVGIcons/IconSelectAllOff.d.ts +1 -1
- package/components/SVGIcons/IconSelectAllOff.js +1 -32
- package/components/SVGIcons/IconSelectAllOffFilled.d.ts +1 -1
- package/components/SVGIcons/IconSelectAllOffFilled.js +1 -32
- package/components/SVGIcons/IconSelectAllOn.d.ts +1 -1
- package/components/SVGIcons/IconSelectAllOn.js +1 -32
- package/components/SVGIcons/IconSelectAllOnFilled.d.ts +1 -1
- package/components/SVGIcons/IconSelectAllOnFilled.js +1 -32
- package/components/SVGIcons/IconSend.d.ts +1 -1
- package/components/SVGIcons/IconSend.js +1 -32
- package/components/SVGIcons/IconSendFilled.d.ts +1 -1
- package/components/SVGIcons/IconSendFilled.js +1 -32
- package/components/SVGIcons/IconSettings.d.ts +1 -1
- package/components/SVGIcons/IconSettings.js +1 -29
- package/components/SVGIcons/IconSettingsFilled.d.ts +1 -1
- package/components/SVGIcons/IconSettingsFilled.js +1 -32
- package/components/SVGIcons/IconShare.d.ts +1 -1
- package/components/SVGIcons/IconShare.js +1 -32
- package/components/SVGIcons/IconShareAndroid.d.ts +1 -1
- package/components/SVGIcons/IconShareAndroid.js +1 -32
- package/components/SVGIcons/IconShareAndroidFilled.d.ts +1 -1
- package/components/SVGIcons/IconShareAndroidFilled.js +1 -32
- package/components/SVGIcons/IconShareFilled.d.ts +1 -1
- package/components/SVGIcons/IconShareFilled.js +1 -32
- package/components/SVGIcons/IconSignOut.d.ts +1 -1
- package/components/SVGIcons/IconSignOut.js +1 -32
- package/components/SVGIcons/IconSignOutFilled.d.ts +1 -1
- package/components/SVGIcons/IconSignOutFilled.js +1 -32
- package/components/SVGIcons/IconSpinner.d.ts +1 -1
- package/components/SVGIcons/IconSpinner.js +1 -32
- package/components/SVGIcons/IconSpinnerFilled.d.ts +1 -1
- package/components/SVGIcons/IconSpinnerFilled.js +1 -32
- package/components/SVGIcons/IconStatus.d.ts +1 -1
- package/components/SVGIcons/IconStatus.js +1 -32
- package/components/SVGIcons/IconStatusFilled.d.ts +1 -1
- package/components/SVGIcons/IconStatusFilled.js +1 -32
- package/components/SVGIcons/IconSubtract.d.ts +1 -1
- package/components/SVGIcons/IconSubtract.js +1 -32
- package/components/SVGIcons/IconSubtractCircle.d.ts +1 -1
- package/components/SVGIcons/IconSubtractCircle.js +1 -32
- package/components/SVGIcons/IconSubtractCircleFilled.d.ts +1 -1
- package/components/SVGIcons/IconSubtractCircleFilled.js +1 -32
- package/components/SVGIcons/IconSubtractFilled.d.ts +1 -1
- package/components/SVGIcons/IconSubtractFilled.js +1 -32
- package/components/SVGIcons/IconTableCellEdit.d.ts +1 -1
- package/components/SVGIcons/IconTableCellEdit.js +3 -36
- package/components/SVGIcons/IconTableCellEditFilled.d.ts +1 -1
- package/components/SVGIcons/IconTableCellEditFilled.js +5 -42
- package/components/SVGIcons/IconTelegram.d.ts +1 -1
- package/components/SVGIcons/IconTelegram.js +3 -41
- package/components/SVGIcons/IconTimer.d.ts +1 -1
- package/components/SVGIcons/IconTimer.js +1 -32
- package/components/SVGIcons/IconTimerFilled.d.ts +1 -1
- package/components/SVGIcons/IconTimerFilled.js +1 -32
- package/components/SVGIcons/IconTrophy.d.ts +1 -1
- package/components/SVGIcons/IconTrophy.js +1 -29
- package/components/SVGIcons/IconTrophyFilled.d.ts +1 -1
- package/components/SVGIcons/IconTrophyFilled.js +1 -29
- package/components/SVGIcons/IconTwitter.d.ts +1 -1
- package/components/SVGIcons/IconTwitter.js +1 -32
- package/components/SVGIcons/IconUndo.d.ts +1 -1
- package/components/SVGIcons/IconUndo.js +1 -32
- package/components/SVGIcons/IconUndoFilled.d.ts +1 -1
- package/components/SVGIcons/IconUndoFilled.js +1 -32
- package/components/SVGIcons/IconUnitsEmployee.d.ts +1 -1
- package/components/SVGIcons/IconUnitsEmployee.js +1 -29
- package/components/SVGIcons/IconUpload.d.ts +1 -1
- package/components/SVGIcons/IconUpload.js +1 -29
- package/components/SVGIcons/IconUs.d.ts +1 -1
- package/components/SVGIcons/IconUs.js +11 -72
- package/components/SVGIcons/IconUsd.d.ts +1 -1
- package/components/SVGIcons/IconUsd.js +1 -29
- package/components/SVGIcons/IconUsdFilled.d.ts +1 -1
- package/components/SVGIcons/IconUsdFilled.js +1 -29
- package/components/SVGIcons/IconUserMinus.d.ts +1 -1
- package/components/SVGIcons/IconUserMinus.js +1 -32
- package/components/SVGIcons/IconVideo.d.ts +1 -1
- package/components/SVGIcons/IconVideo.js +1 -29
- package/components/SVGIcons/IconVideoFilled.d.ts +1 -1
- package/components/SVGIcons/IconVideoFilled.js +1 -29
- package/components/SVGIcons/IconWallet.d.ts +1 -1
- package/components/SVGIcons/IconWallet.js +1 -32
- package/components/SVGIcons/IconWalletFilled.d.ts +1 -1
- package/components/SVGIcons/IconWalletFilled.js +1 -32
- package/components/SVGIcons/IconWarning.d.ts +1 -1
- package/components/SVGIcons/IconWarning.js +1 -29
- package/components/SVGIcons/IconWarningFilled.d.ts +1 -1
- package/components/SVGIcons/IconWarningFilled.js +1 -29
- package/components/SVGIcons/IconYoutube.d.ts +1 -1
- package/components/SVGIcons/IconYoutube.js +1 -32
- package/components/SVGIcons/icon-names.js +1 -3
- package/components/SVGIcons/index.d.ts +319 -319
- package/components/SVGIcons/index.js +1 -322
- package/components/Select/ButtonSelect/ButtonSelect.js +3 -200
- package/components/Select/FilterSelect/FilterDropdown.js +3 -98
- package/components/Select/FilterSelect/FilterGroupDropdown.js +4 -85
- package/components/Select/FilterSelect/FilterSelect.js +4 -204
- package/components/Select/MultiSelect/DesktopWrapper.js +1 -56
- package/components/Select/MultiSelect/MobileWrapper.js +2 -80
- package/components/Select/MultiSelect/MultiBase/MultiBase.js +5 -216
- package/components/Select/MultiSelect/MultiSelect.js +3 -251
- package/components/Select/MultiSelect/MultiSelectGrouped/MultiSelectGrouped.js +7 -270
- package/components/Select/MultiSelect/MultiSelectWithTabs/MultiSelectWithTabs.js +7 -255
- package/components/Select/MultiSelect/OptionsWrapper.js +1 -179
- package/components/Select/NestedSelect/NestedSelect.js +4 -202
- package/components/Select/ProfileDropdown/index.js +10 -83
- package/components/Select/Select/Select.js +2 -259
- package/components/Select/Select/SelectDesktop/index.js +2 -225
- package/components/Select/Select/SelectMobile/MobileTopContent.js +2 -93
- package/components/Select/Select/SelectMobile/index.js +5 -198
- package/components/Select/Select/helpers.js +1 -10
- package/components/Select/SharedComponents/Actions.js +3 -118
- package/components/Select/SharedComponents/ButtonSelectWrapper/Button/Button.js +3 -44
- package/components/Select/SharedComponents/ButtonSelectWrapper/ButtonSelectWrapper.js +3 -134
- package/components/Select/SharedComponents/ContentTop.js +3 -181
- package/components/Select/SharedComponents/Footer.js +6 -101
- package/components/Select/SharedComponents/InputSelectWrapper/InputSelectWrapper.js +3 -168
- package/components/Select/SharedComponents/Loading.js +2 -17
- package/components/Select/SharedComponents/index.js +1 -94
- package/components/Select/constants.js +1 -9
- package/components/Select/index.js +1 -116
- package/components/Select/localization.js +1 -31
- package/components/SideSheet/Footer/Footer.js +5 -103
- package/components/SideSheet/SideSheet.js +8 -213
- package/components/SideSheet/index.js +1 -58
- package/components/Snackbar/Snackbar.js +5 -125
- package/components/Snackbar/consts.js +1 -15
- package/components/Snackbar/index.js +1 -56
- package/components/Status/Status.js +4 -53
- package/components/Status/index.js +1 -8
- package/components/Stepper/Stepper.js +2 -45
- package/components/Stepper/index.js +1 -3
- package/components/Switcher/Switcher.js +5 -124
- package/components/Switcher/index.js +1 -56
- package/components/Tab/Tab.js +2 -39
- package/components/Tab/TabItem.js +3 -54
- package/components/Tab/index.js +1 -11
- package/components/Table/Header.js +4 -134
- package/components/Table/IndeterminateCheckbox.js +1 -84
- package/components/Table/Row.js +3 -109
- package/components/Table/Table.js +6 -206
- package/components/Table/index.js +1 -65
- package/components/Table/localization.js +1 -13
- package/components/Table/utils.js +3 -106
- package/components/TableV2/AdvancedPagination.js +12 -273
- package/components/TableV2/ColumnHeader.js +6 -64
- package/components/TableV2/ColumnSettings.js +8 -166
- package/components/TableV2/IndeterminateCheckbox.js +2 -87
- package/components/TableV2/Table.js +8 -322
- package/components/TableV2/constants/index.js +1 -23
- package/components/TableV2/hooks/useTableColumnSettings.js +1 -20
- package/components/TableV2/hooks/useTableControl.js +1 -308
- package/components/TableV2/index.js +1 -134
- package/components/TableV2/loadTableSettings.js +1 -18
- package/components/Text/Text.js +2 -36
- package/components/Text/index.js +1 -5
- package/components/Textarea/Textarea.js +6 -146
- package/components/Textarea/index.js +1 -58
- package/components/Tooltip/Tooltip.js +1 -103
- package/components/Tooltip/index.js +1 -18
- package/components/Tooltip/types.js +1 -13
- package/components/UnderConstruction/UnderConstruction.js +6 -38
- package/components/UnderConstruction/index.js +1 -8
- package/components/UnderConstruction/localization.js +1 -16
- package/consts/index.js +1 -67
- package/context/FormContextProvider.js +1 -12
- package/context/index.js +1 -5
- package/context/types.js +1 -12
- package/helperComponents/AnimatePresenceWrapper/AnimatePresenceWrapper.js +2 -15
- package/helperComponents/AnimatePresenceWrapper/index.js +1 -3
- package/helperComponents/CodeBlock/CodeBlock.js +2 -25
- package/helperComponents/CodeBlock/index.js +1 -4
- package/helperComponents/ErrorMessage/ErrorMessage.js +2 -27
- package/helperComponents/ErrorMessage/index.js +1 -8
- package/helperComponents/GoToWebPage/GoToWebPage.js +1 -69
- package/helperComponents/Label/Label.js +1 -29
- package/helperComponents/Label/index.js +1 -6
- package/helperComponents/Loader/Loader.js +2 -15
- package/helperComponents/Loader/index.js +1 -2
- package/helperComponents/OptionItem/OptionItem.js +5 -152
- package/helperComponents/OptionItem/index.js +1 -66
- package/helpers/check-authorization.js +1 -116
- package/helpers/download-file.js +1 -10
- package/helpers/format-date.js +1 -25
- package/helpers/get-module-prefix.js +1 -6
- package/helpers/index.js +1 -61
- package/helpers/isDeepEqual.js +1 -18
- package/helpers/locale.js +1 -17
- package/helpers/storage.js +1 -20
- package/hooks/index.js +1 -21
- package/hooks/useChangePositionsOnScroll.js +1 -34
- package/hooks/useDispatchEventOnScroll.js +1 -14
- package/hooks/useFieldArray.js +1 -1
- package/hooks/useFormContext.js +1 -10
- package/hooks/useFormProps.js +1 -10
- package/hooks/useGetElemPositions.js +1 -19
- package/hooks/useGetElemSizes.js +1 -16
- package/hooks/useGetHasBottomSpace.js +1 -26
- package/hooks/useGetIsMobile.js +1 -49
- package/hooks/useGetTooltipPosition.js +1 -85
- package/hooks/useGetTooltipStyles.js +1 -89
- package/hooks/useHideBodyScroll.js +1 -35
- package/hooks/useHideOnScroll.js +1 -27
- package/hooks/useOnOutsideClick.js +1 -52
- package/hooks/useScreenSize.js +1 -38
- package/index.js +1 -518
- package/package.json +6 -4
- package/type/file-upload.js +1 -8
- package/type/index.js +1 -4
- package/type/locale.js +1 -14
- package/type/notification.js +1 -9
- package/type/status-code.js +1 -9
- package/types.d.js +0 -1
- package/utils/helpers.js +1 -89
- package/Alert-C_U8td2x.js +0 -761
- package/assets/images/under-construction.svg +0 -9
- package/assets/styles/styles.scss +0 -1
- package/components/Alert/types.js +0 -1
- package/components/Avatar/types.js +0 -1
- package/components/Badge/types.js +0 -1
- package/components/Breadcrumb/types.js +0 -1
- package/components/Button/types.js +0 -1
- package/components/ButtonGroup/types.js +0 -1
- package/components/Card/types.js +0 -1
- package/components/CardGroup/types.js +0 -1
- package/components/Checkbox/types.js +0 -1
- package/components/Collapse/types.js +0 -1
- package/components/Container/types.js +0 -1
- package/components/Copy/types.js +0 -1
- package/components/Counter/types.js +0 -1
- package/components/Divider/types.js +0 -1
- package/components/Empty/types.js +0 -1
- package/components/FormContainer/types.js +0 -1
- package/components/FormField/types.js +0 -1
- package/components/Heading/types.js +0 -1
- package/components/Image/types.js +0 -1
- package/components/Input/types.js +0 -1
- package/components/Link/types.js +0 -1
- package/components/Menu/types.js +0 -1
- package/components/Modal/types.js +0 -1
- package/components/More/types.js +0 -1
- package/components/Pagination/types.js +0 -1
- package/components/Popover/types.js +0 -1
- package/components/Progress/types.js +0 -1
- package/components/Radio/types.js +0 -1
- package/components/SVGIcons/types.js +0 -1
- package/components/Select/types.js +0 -1
- package/components/SideSheet/types.js +0 -1
- package/components/Snackbar/types.js +0 -1
- package/components/Status/types.js +0 -1
- package/components/Stepper/types.js +0 -1
- package/components/Switcher/types.js +0 -1
- package/components/Tab/types.js +0 -1
- package/components/Table/types.js +0 -1
- package/components/TableV2/types.js +0 -1
- package/components/Text/types.js +0 -1
- package/components/Textarea/types.js +0 -1
- package/components/UnderConstruction/types.js +0 -1
- package/helperComponents/ErrorMessage/types.js +0 -1
- package/helperComponents/Label/types.js +0 -1
- package/helperComponents/Loader/types.js +0 -1
- package/helperComponents/OptionItem/types.js +0 -1
- package/helperComponents/index.d.ts +0 -5
- package/helperComponents/index.js +0 -67
|
@@ -1,87 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import classNames from 'classnames';
|
|
4
|
-
import '@babel/runtime/helpers/extends';
|
|
5
|
-
import '../Alert/consts.js';
|
|
6
|
-
import '../Text/Text.js';
|
|
7
|
-
import '../../utils/helpers.js';
|
|
8
|
-
import 'dayjs';
|
|
9
|
-
import '@babel/runtime/helpers/defineProperty';
|
|
10
|
-
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
11
|
-
import '../../helperComponents/Loader/Loader.js';
|
|
12
|
-
import '@babel/runtime/helpers/slicedToArray';
|
|
13
|
-
import '@babel/runtime/helpers/toConsumableArray';
|
|
14
|
-
import '../../consts/index.js';
|
|
15
|
-
import '../../type/file-upload.js';
|
|
16
|
-
import '../../hooks/useScreenSize.js';
|
|
17
|
-
import 'react-hook-form';
|
|
18
|
-
import 'react-dropzone';
|
|
19
|
-
import '../SVGIcons/IconUpload.js';
|
|
20
|
-
import '../FileUpload/types.js';
|
|
21
|
-
import '../../helpers/format-date.js';
|
|
22
|
-
import 'dayjs/plugin/utc';
|
|
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 'motion/react';
|
|
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 'react-syntax-highlighter/dist/esm/styles/prism';
|
|
42
|
-
import '../Link/Link.js';
|
|
43
|
-
import '../Popover/PopoverDesktop.js';
|
|
44
|
-
import '../SVGIcons/IconInfo.js';
|
|
45
|
-
import '../IconDynamicComponent/IconDynamicComponent.js';
|
|
46
|
-
import 'react-toastify/dist/ReactToastify.css';
|
|
47
|
-
import '@babel/runtime/helpers/typeof';
|
|
48
|
-
import '../SVGIcons/IconDismissFilled.js';
|
|
49
|
-
import '../SVGIcons/IconDelete.js';
|
|
50
|
-
import '../FileUpload/DropzoneFileUpload/FilePreview.js';
|
|
51
|
-
import '../Progress/Progress.js';
|
|
52
|
-
import '../SVGIcons/IconArrowDownloadFilled.js';
|
|
53
|
-
import '../../helpers/download-file.js';
|
|
54
|
-
import '../Button/consts.js';
|
|
55
|
-
|
|
56
|
-
var IndeterminateCheckbox = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
57
|
-
var indeterminate = _ref.indeterminate,
|
|
58
|
-
checked = _ref.checked,
|
|
59
|
-
onChange = _ref.onChange,
|
|
60
|
-
disabled = _ref.disabled;
|
|
61
|
-
var defaultRef = useRef(null);
|
|
62
|
-
var resolvedRef = ref !== null && ref !== void 0 ? ref : defaultRef;
|
|
63
|
-
useEffect(function () {
|
|
64
|
-
resolvedRef.current.indeterminate = indeterminate;
|
|
65
|
-
}, [resolvedRef, indeterminate]);
|
|
66
|
-
var handleChange = function handleChange(v) {
|
|
67
|
-
onChange({
|
|
68
|
-
target: {
|
|
69
|
-
checked: v
|
|
70
|
-
}
|
|
71
|
-
});
|
|
72
|
-
};
|
|
73
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
74
|
-
className: 'actions-list'
|
|
75
|
-
}, /*#__PURE__*/React.createElement(Checkbox, {
|
|
76
|
-
className: classNames('actions-list__checkbox', {
|
|
77
|
-
'active-checkbox': checked
|
|
78
|
-
}),
|
|
79
|
-
value: checked,
|
|
80
|
-
disabled: disabled,
|
|
81
|
-
onClick: handleChange,
|
|
82
|
-
ref: resolvedRef
|
|
83
|
-
}));
|
|
84
|
-
});
|
|
85
|
-
IndeterminateCheckbox.displayName = 'IndeterminateCheckbox';
|
|
86
|
-
|
|
87
|
-
export { IndeterminateCheckbox };
|
|
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};
|
|
@@ -1,322 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import Skeleton from 'react-loading-skeleton';
|
|
10
|
-
import { useTableControl } from './hooks/useTableControl.js';
|
|
11
|
-
import { Text } from '../Text/Text.js';
|
|
12
|
-
import classNames from 'classnames';
|
|
13
|
-
import { Empty } from '../Empty/Empty.js';
|
|
14
|
-
import { B as Button } from '../../Alert-C_U8td2x.js';
|
|
15
|
-
import { IconChevronDown } from '../SVGIcons/IconChevronDown.js';
|
|
16
|
-
import { IconChevronUp } from '../SVGIcons/IconChevronUp.js';
|
|
17
|
-
import 'react-loading-skeleton/dist/skeleton.css';
|
|
18
|
-
import '@babel/runtime/helpers/extends';
|
|
19
|
-
import '../SVGIcons/IconArrowDown.js';
|
|
20
|
-
import '../SVGIcons/IconArrowSort.js';
|
|
21
|
-
import '../SVGIcons/IconArrowUp.js';
|
|
22
|
-
import '../../utils/helpers.js';
|
|
23
|
-
import 'dayjs';
|
|
24
|
-
import './IndeterminateCheckbox.js';
|
|
25
|
-
import '../Alert/consts.js';
|
|
26
|
-
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
27
|
-
import '../../helperComponents/Loader/Loader.js';
|
|
28
|
-
import '../../consts/index.js';
|
|
29
|
-
import '../../type/file-upload.js';
|
|
30
|
-
import '../../hooks/useScreenSize.js';
|
|
31
|
-
import 'react-hook-form';
|
|
32
|
-
import 'react-dropzone';
|
|
33
|
-
import '../SVGIcons/IconUpload.js';
|
|
34
|
-
import '../FileUpload/types.js';
|
|
35
|
-
import '../../helpers/format-date.js';
|
|
36
|
-
import 'dayjs/plugin/utc';
|
|
37
|
-
import '../../helpers/locale.js';
|
|
38
|
-
import '../../type/locale.js';
|
|
39
|
-
import '../../helpers/storage.js';
|
|
40
|
-
import 'react-toastify';
|
|
41
|
-
import '../../hooks/useGetIsMobile.js';
|
|
42
|
-
import 'motion/react';
|
|
43
|
-
import '../../helperComponents/AnimatePresenceWrapper/AnimatePresenceWrapper.js';
|
|
44
|
-
import '../../hooks/useOnOutsideClick.js';
|
|
45
|
-
import '../../hooks/useHideBodyScroll.js';
|
|
46
|
-
import '../SVGIcons/IconDismiss.js';
|
|
47
|
-
import '../Tooltip/types.js';
|
|
48
|
-
import '../Tooltip/Tooltip.js';
|
|
49
|
-
import '../../hooks/useGetTooltipStyles.js';
|
|
50
|
-
import '../../hooks/useGetElemSizes.js';
|
|
51
|
-
import '../../hooks/useGetElemPositions.js';
|
|
52
|
-
import '../../hooks/useGetTooltipPosition.js';
|
|
53
|
-
import '../../hooks/useHideOnScroll.js';
|
|
54
|
-
import 'react-syntax-highlighter';
|
|
55
|
-
import 'react-syntax-highlighter/dist/esm/styles/prism';
|
|
56
|
-
import '../Link/Link.js';
|
|
57
|
-
import '../Popover/PopoverDesktop.js';
|
|
58
|
-
import '../SVGIcons/IconInfo.js';
|
|
59
|
-
import '../IconDynamicComponent/IconDynamicComponent.js';
|
|
60
|
-
import 'react-toastify/dist/ReactToastify.css';
|
|
61
|
-
import '@babel/runtime/helpers/typeof';
|
|
62
|
-
import '../SVGIcons/IconDismissFilled.js';
|
|
63
|
-
import '../SVGIcons/IconDelete.js';
|
|
64
|
-
import '../FileUpload/DropzoneFileUpload/FilePreview.js';
|
|
65
|
-
import '../Progress/Progress.js';
|
|
66
|
-
import '../SVGIcons/IconArrowDownloadFilled.js';
|
|
67
|
-
import '../../helpers/download-file.js';
|
|
68
|
-
import '../Button/consts.js';
|
|
69
|
-
import './loadTableSettings.js';
|
|
70
|
-
import './hooks/useTableColumnSettings.js';
|
|
71
|
-
import './constants/index.js';
|
|
72
|
-
import '../Image/Image.js';
|
|
73
|
-
|
|
74
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
75
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
76
|
-
var ColumnId = /*#__PURE__*/function (ColumnId) {
|
|
77
|
-
ColumnId["Select"] = "select";
|
|
78
|
-
ColumnId["Actions"] = "actions";
|
|
79
|
-
ColumnId["Expand"] = "expand";
|
|
80
|
-
return ColumnId;
|
|
81
|
-
}(ColumnId || {});
|
|
82
|
-
var ExpandColumn = function ExpandColumn(_ref) {
|
|
83
|
-
var _row$original, _row$original2;
|
|
84
|
-
var row = _ref.row,
|
|
85
|
-
expandedRows = _ref.expandedRows,
|
|
86
|
-
onToggle = _ref.onToggle;
|
|
87
|
-
var hasSubRows = ((_row$original = row.original) === null || _row$original === void 0 ? void 0 : _row$original.subRows) && ((_row$original2 = row.original) === null || _row$original2 === void 0 || (_row$original2 = _row$original2.subRows) === null || _row$original2 === void 0 ? void 0 : _row$original2.length) > 0;
|
|
88
|
-
if (!hasSubRows) return null;
|
|
89
|
-
return /*#__PURE__*/React.createElement(Button, {
|
|
90
|
-
type: "tertiary",
|
|
91
|
-
size: "medium",
|
|
92
|
-
className: classNames('advanced-table__expand-button'),
|
|
93
|
-
iconProps: {
|
|
94
|
-
Component: expandedRows.has(row.id) ? IconChevronUp : IconChevronDown
|
|
95
|
-
},
|
|
96
|
-
onClick: function onClick(e) {
|
|
97
|
-
e.stopPropagation();
|
|
98
|
-
onToggle(row.id);
|
|
99
|
-
}
|
|
100
|
-
});
|
|
101
|
-
};
|
|
102
|
-
function Table(_ref2) {
|
|
103
|
-
var data = _ref2.data,
|
|
104
|
-
columns = _ref2.columns,
|
|
105
|
-
isLoading = _ref2.isLoading,
|
|
106
|
-
hasError = _ref2.hasError,
|
|
107
|
-
_ref2$isActionsVisibl = _ref2.isActionsVisible,
|
|
108
|
-
isActionsVisible = _ref2$isActionsVisibl === void 0 ? false : _ref2$isActionsVisibl,
|
|
109
|
-
_ref2$totalCount = _ref2.totalCount,
|
|
110
|
-
totalCount = _ref2$totalCount === void 0 ? 0 : _ref2$totalCount,
|
|
111
|
-
emptyTitle = _ref2.emptyTitle,
|
|
112
|
-
emptySubTitle = _ref2.emptySubTitle,
|
|
113
|
-
emptyIllustration = _ref2.emptyIllustration,
|
|
114
|
-
_ref2$withSelect = _ref2.withSelect,
|
|
115
|
-
withSelect = _ref2$withSelect === void 0 ? false : _ref2$withSelect,
|
|
116
|
-
_ref2$withBorder = _ref2.withBorder,
|
|
117
|
-
withBorder = _ref2$withBorder === void 0 ? true : _ref2$withBorder,
|
|
118
|
-
defaultPageIndex = _ref2.defaultPageIndex,
|
|
119
|
-
defaultPageSize = _ref2.defaultPageSize,
|
|
120
|
-
defaultHiddenColumns = _ref2.defaultHiddenColumns,
|
|
121
|
-
_ref2$collapsibleRows = _ref2.collapsibleRows,
|
|
122
|
-
collapsibleRows = _ref2$collapsibleRows === void 0 ? false : _ref2$collapsibleRows,
|
|
123
|
-
renderExpandedContent = _ref2.renderExpandedContent,
|
|
124
|
-
renderHeader = _ref2.renderHeader,
|
|
125
|
-
renderFooter = _ref2.renderFooter,
|
|
126
|
-
onSortChange = _ref2.onSortChange,
|
|
127
|
-
onRowClick = _ref2.onRowClick,
|
|
128
|
-
tableSettings = _ref2.tableSettings,
|
|
129
|
-
onRowSelection = _ref2.onRowSelection,
|
|
130
|
-
onColumnSizing = _ref2.onColumnSizing,
|
|
131
|
-
onPaginationChange = _ref2.onPaginationChange;
|
|
132
|
-
var _useState = useState(new Set()),
|
|
133
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
134
|
-
expandedRows = _useState2[0],
|
|
135
|
-
setExpandedRows = _useState2[1];
|
|
136
|
-
var handleToggleRow = useCallback(function (rowId) {
|
|
137
|
-
setExpandedRows(function (prev) {
|
|
138
|
-
var next = new Set(prev);
|
|
139
|
-
if (next.has(rowId)) {
|
|
140
|
-
next["delete"](rowId);
|
|
141
|
-
} else {
|
|
142
|
-
next.add(rowId);
|
|
143
|
-
}
|
|
144
|
-
return next;
|
|
145
|
-
});
|
|
146
|
-
}, []);
|
|
147
|
-
var expandColumn = useMemo(function () {
|
|
148
|
-
return {
|
|
149
|
-
id: ColumnId.Expand,
|
|
150
|
-
accessorKey: 'expand',
|
|
151
|
-
header: function header() {
|
|
152
|
-
return /*#__PURE__*/React.createElement("span", {
|
|
153
|
-
style: {
|
|
154
|
-
display: 'none'
|
|
155
|
-
}
|
|
156
|
-
}, "Expand");
|
|
157
|
-
},
|
|
158
|
-
size: 50,
|
|
159
|
-
minSize: 50,
|
|
160
|
-
maxSize: 50,
|
|
161
|
-
cell: function cell(_ref3) {
|
|
162
|
-
var row = _ref3.row;
|
|
163
|
-
return /*#__PURE__*/React.createElement(ExpandColumn, {
|
|
164
|
-
row: row,
|
|
165
|
-
expandedRows: expandedRows,
|
|
166
|
-
onToggle: handleToggleRow
|
|
167
|
-
});
|
|
168
|
-
},
|
|
169
|
-
meta: {
|
|
170
|
-
enableHiding: false,
|
|
171
|
-
enableColumnDragging: false,
|
|
172
|
-
enablePinning: true,
|
|
173
|
-
enableResizing: false,
|
|
174
|
-
headerVisible: false,
|
|
175
|
-
enableSorting: false
|
|
176
|
-
}
|
|
177
|
-
};
|
|
178
|
-
}, [expandedRows, handleToggleRow]);
|
|
179
|
-
var _useTableControl = useTableControl({
|
|
180
|
-
data: data,
|
|
181
|
-
tableSettings: tableSettings,
|
|
182
|
-
columns: collapsibleRows ? [expandColumn].concat(_toConsumableArray(columns)) : columns,
|
|
183
|
-
withSelect: withSelect,
|
|
184
|
-
totalCount: totalCount,
|
|
185
|
-
defaultPageIndex: defaultPageIndex,
|
|
186
|
-
defaultPageSize: defaultPageSize,
|
|
187
|
-
defaultHiddenColumns: defaultHiddenColumns,
|
|
188
|
-
onSortChange: onSortChange,
|
|
189
|
-
onRowSelection: onRowSelection,
|
|
190
|
-
onColumnSizing: onColumnSizing,
|
|
191
|
-
onPaginationChange: onPaginationChange
|
|
192
|
-
}),
|
|
193
|
-
table = _useTableControl.table,
|
|
194
|
-
sensors = _useTableControl.sensors,
|
|
195
|
-
handleDragStart = _useTableControl.handleDragStart,
|
|
196
|
-
handleDragEnd = _useTableControl.handleDragEnd,
|
|
197
|
-
handleDragCancel = _useTableControl.handleDragCancel,
|
|
198
|
-
activeHeader = _useTableControl.activeHeader;
|
|
199
|
-
var header = renderHeader === null || renderHeader === void 0 ? void 0 : renderHeader(table);
|
|
200
|
-
var footer = renderFooter === null || renderFooter === void 0 ? void 0 : renderFooter(table);
|
|
201
|
-
var getCommonPinningStyles = function getCommonPinningStyles(column) {
|
|
202
|
-
var isPinned = column.getIsPinned();
|
|
203
|
-
return {
|
|
204
|
-
left: isPinned === 'left' ? "".concat(column.getStart('left'), "px") : undefined,
|
|
205
|
-
right: isPinned === 'right' ? "".concat(column.getAfter('right'), "px") : undefined,
|
|
206
|
-
position: isPinned ? 'sticky' : 'relative',
|
|
207
|
-
backgroundColor: isPinned ? 'white' : undefined,
|
|
208
|
-
minWidth: column.getSize(),
|
|
209
|
-
zIndex: isPinned ? 1 : 0
|
|
210
|
-
};
|
|
211
|
-
};
|
|
212
|
-
var handleRowClick = function handleRowClick(column, row) {
|
|
213
|
-
if (column.id !== ColumnId.Actions && column.id !== ColumnId.Select && onRowClick) {
|
|
214
|
-
onRowClick(row);
|
|
215
|
-
}
|
|
216
|
-
};
|
|
217
|
-
var tableStyle = useMemo(function () {
|
|
218
|
-
return {
|
|
219
|
-
minWidth: data !== null && data !== void 0 && data.length ? table.getCenterTotalSize() : undefined
|
|
220
|
-
};
|
|
221
|
-
}, [data === null || data === void 0 ? void 0 : data.length, table]);
|
|
222
|
-
var skeletonRowSize = useMemo(function () {
|
|
223
|
-
return Array.from({
|
|
224
|
-
length: table.getState().pagination.pageSize
|
|
225
|
-
});
|
|
226
|
-
}, [table.getState().pagination.pageSize]);
|
|
227
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
228
|
-
className: classNames('advanced-table', {
|
|
229
|
-
'with-border': withBorder
|
|
230
|
-
})
|
|
231
|
-
}, header, /*#__PURE__*/React.createElement("div", {
|
|
232
|
-
className: classNames('advanced-table__inner scrollbar scrollbar--horizontal scrollbar--vertical')
|
|
233
|
-
}, /*#__PURE__*/React.createElement(DndContext, {
|
|
234
|
-
sensors: sensors,
|
|
235
|
-
collisionDetection: closestCenter,
|
|
236
|
-
onDragStart: handleDragStart,
|
|
237
|
-
onDragEnd: handleDragEnd,
|
|
238
|
-
onDragCancel: handleDragCancel
|
|
239
|
-
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("table", {
|
|
240
|
-
style: tableStyle
|
|
241
|
-
}, !isLoading && (!(data !== null && data !== void 0 && data.length) || hasError) ? /*#__PURE__*/React.createElement(Empty, {
|
|
242
|
-
mainMessage: emptyTitle,
|
|
243
|
-
paragraphMessage: emptySubTitle,
|
|
244
|
-
illustration: emptyIllustration
|
|
245
|
-
}) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("thead", {
|
|
246
|
-
className: classNames('advanced-table__thead')
|
|
247
|
-
}, table.getHeaderGroups().map(function (headerGroup) {
|
|
248
|
-
return /*#__PURE__*/React.createElement("tr", {
|
|
249
|
-
key: headerGroup.id
|
|
250
|
-
}, /*#__PURE__*/React.createElement(SortableContext, {
|
|
251
|
-
items: headerGroup.headers.map(function (header) {
|
|
252
|
-
return header.id;
|
|
253
|
-
}),
|
|
254
|
-
strategy: horizontalListSortingStrategy
|
|
255
|
-
}, headerGroup.headers.map(function (header) {
|
|
256
|
-
if (header.id === ColumnId.Actions && !isActionsVisible) return null;
|
|
257
|
-
return /*#__PURE__*/React.createElement(ColumnHeader, {
|
|
258
|
-
pinnedStyles: _objectSpread({}, getCommonPinningStyles(header.column)),
|
|
259
|
-
key: header.id,
|
|
260
|
-
header: header
|
|
261
|
-
});
|
|
262
|
-
})));
|
|
263
|
-
})), /*#__PURE__*/React.createElement("tbody", null, isLoading ? skeletonRowSize.map(function (_, i) {
|
|
264
|
-
return /*#__PURE__*/React.createElement("tr", {
|
|
265
|
-
key: "skeleton-row-".concat(i)
|
|
266
|
-
}, table.getVisibleFlatColumns().map(function (column) {
|
|
267
|
-
return /*#__PURE__*/React.createElement("td", {
|
|
268
|
-
className: classNames({
|
|
269
|
-
'with-checkbox': column.id === ColumnId.Select,
|
|
270
|
-
'pinned-cell': column.getIsPinned(),
|
|
271
|
-
'action-column': column.id === ColumnId.Actions && !isActionsVisible
|
|
272
|
-
}),
|
|
273
|
-
key: column.id,
|
|
274
|
-
style: _objectSpread({}, getCommonPinningStyles(column))
|
|
275
|
-
}, /*#__PURE__*/React.createElement(Skeleton, null));
|
|
276
|
-
}));
|
|
277
|
-
}) : table.getRowModel().rows.map(function (row) {
|
|
278
|
-
return /*#__PURE__*/React.createElement(React.Fragment, {
|
|
279
|
-
key: row.id
|
|
280
|
-
}, /*#__PURE__*/React.createElement("tr", {
|
|
281
|
-
className: classNames({
|
|
282
|
-
selected: row.getIsSelected()
|
|
283
|
-
})
|
|
284
|
-
}, row.getVisibleCells().map(function (cell) {
|
|
285
|
-
return /*#__PURE__*/React.createElement("td", {
|
|
286
|
-
className: classNames({
|
|
287
|
-
'with-checkbox': cell.column.id === ColumnId.Select,
|
|
288
|
-
'pinned-cell': cell.column.getIsPinned(),
|
|
289
|
-
'action-column': cell.column.id === ColumnId.Actions && !isActionsVisible,
|
|
290
|
-
'expand-column': cell.column.id === ColumnId.Expand
|
|
291
|
-
}),
|
|
292
|
-
id: cell.id,
|
|
293
|
-
key: cell.id,
|
|
294
|
-
onClick: function onClick() {
|
|
295
|
-
return handleRowClick(cell.column, row);
|
|
296
|
-
},
|
|
297
|
-
style: _objectSpread({}, getCommonPinningStyles(cell.column))
|
|
298
|
-
}, cell.column.id === ColumnId.Actions && !isActionsVisible ? /*#__PURE__*/React.createElement("div", {
|
|
299
|
-
className: classNames('actions-list__right')
|
|
300
|
-
}, flexRender(cell.column.columnDef.cell, cell.getContext())) : flexRender(cell.column.columnDef.cell, cell.getContext()));
|
|
301
|
-
})), collapsibleRows && expandedRows.has(row.id) && renderExpandedContent && /*#__PURE__*/React.createElement("tr", {
|
|
302
|
-
className: classNames('advanced-table__expanded-row')
|
|
303
|
-
}, /*#__PURE__*/React.createElement("td", {
|
|
304
|
-
colSpan: row.getVisibleCells().length
|
|
305
|
-
}, renderExpandedContent(row))));
|
|
306
|
-
}))))), /*#__PURE__*/React.createElement(DragOverlay, {
|
|
307
|
-
dropAnimation: null
|
|
308
|
-
}, activeHeader && /*#__PURE__*/React.createElement("table", {
|
|
309
|
-
style: {
|
|
310
|
-
width: activeHeader.getSize()
|
|
311
|
-
}
|
|
312
|
-
}, /*#__PURE__*/React.createElement("thead", null, /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("th", {
|
|
313
|
-
className: classNames('draggable-col'),
|
|
314
|
-
style: {
|
|
315
|
-
width: activeHeader.getSize()
|
|
316
|
-
}
|
|
317
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
318
|
-
weight: 'bold'
|
|
319
|
-
}, flexRender(activeHeader.column.columnDef.header, activeHeader.getContext()))))))))), !!data.length && !hasError && footer);
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
export { Table };
|
|
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};
|
|
@@ -1,23 +1 @@
|
|
|
1
|
-
|
|
2
|
-
LOCAL: 'localStorage',
|
|
3
|
-
EXTERNAL: 'external'
|
|
4
|
-
};
|
|
5
|
-
var TABLE_NAME_PREFIX = 'table-settings';
|
|
6
|
-
var OPTIONS = [{
|
|
7
|
-
value: '10',
|
|
8
|
-
label: '10'
|
|
9
|
-
}, {
|
|
10
|
-
value: '20',
|
|
11
|
-
label: '20'
|
|
12
|
-
}, {
|
|
13
|
-
value: '30',
|
|
14
|
-
label: '30'
|
|
15
|
-
}, {
|
|
16
|
-
value: '40',
|
|
17
|
-
label: '40'
|
|
18
|
-
}, {
|
|
19
|
-
value: '50',
|
|
20
|
-
label: '50'
|
|
21
|
-
}];
|
|
22
|
-
|
|
23
|
-
export { OPTIONS, STORAGE_TYPE, TABLE_NAME_PREFIX };
|
|
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};
|
|
@@ -1,20 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
var useTableColumnSettings = function useTableColumnSettings(table, tableName, shouldPersistToStorage) {
|
|
4
|
-
var prevSettings = useRef(null);
|
|
5
|
-
var state = table.getState();
|
|
6
|
-
useEffect(function () {
|
|
7
|
-
var settings = {
|
|
8
|
-
columnVisibility: state.columnVisibility,
|
|
9
|
-
columnOrder: state.columnOrder,
|
|
10
|
-
columnSizing: state.columnSizing
|
|
11
|
-
};
|
|
12
|
-
var serialized = JSON.stringify(settings);
|
|
13
|
-
if (prevSettings.current !== serialized && shouldPersistToStorage) {
|
|
14
|
-
localStorage.setItem(tableName, serialized);
|
|
15
|
-
prevSettings.current = serialized;
|
|
16
|
-
}
|
|
17
|
-
}, [state.columnVisibility, state.columnOrder, state.columnSizing, tableName]);
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
export { useTableColumnSettings };
|
|
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};
|