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,308 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
3
|
-
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
4
|
-
import { useReactTable, getPaginationRowModel, getSortedRowModel, getCoreRowModel } from '@tanstack/react-table';
|
|
5
|
-
import { useSensors, useSensor, MouseSensor, TouchSensor } from '@dnd-kit/core';
|
|
6
|
-
import React, { useState, useMemo, useEffect } from 'react';
|
|
7
|
-
import { IndeterminateCheckbox } from '../IndeterminateCheckbox.js';
|
|
8
|
-
import { arrayMove } from '@dnd-kit/sortable';
|
|
9
|
-
import { loadTableSettings } from '../loadTableSettings.js';
|
|
10
|
-
import { useTableColumnSettings } from './useTableColumnSettings.js';
|
|
11
|
-
import { STORAGE_TYPE, TABLE_NAME_PREFIX } from '../constants/index.js';
|
|
12
|
-
import '../../../Alert-C_U8td2x.js';
|
|
13
|
-
import '@babel/runtime/helpers/extends';
|
|
14
|
-
import '../../Alert/consts.js';
|
|
15
|
-
import 'classnames';
|
|
16
|
-
import '../../Text/Text.js';
|
|
17
|
-
import '../../../utils/helpers.js';
|
|
18
|
-
import 'dayjs';
|
|
19
|
-
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
20
|
-
import '../../../helperComponents/Loader/Loader.js';
|
|
21
|
-
import '../../../consts/index.js';
|
|
22
|
-
import '../../../type/file-upload.js';
|
|
23
|
-
import '../../../hooks/useScreenSize.js';
|
|
24
|
-
import 'react-hook-form';
|
|
25
|
-
import 'react-dropzone';
|
|
26
|
-
import '../../SVGIcons/IconUpload.js';
|
|
27
|
-
import '../../FileUpload/types.js';
|
|
28
|
-
import '../../../helpers/format-date.js';
|
|
29
|
-
import 'dayjs/plugin/utc';
|
|
30
|
-
import '../../../helpers/locale.js';
|
|
31
|
-
import '../../../type/locale.js';
|
|
32
|
-
import '../../../helpers/storage.js';
|
|
33
|
-
import 'react-toastify';
|
|
34
|
-
import '../../../hooks/useGetIsMobile.js';
|
|
35
|
-
import 'motion/react';
|
|
36
|
-
import '../../../helperComponents/AnimatePresenceWrapper/AnimatePresenceWrapper.js';
|
|
37
|
-
import '../../../hooks/useOnOutsideClick.js';
|
|
38
|
-
import '../../../hooks/useHideBodyScroll.js';
|
|
39
|
-
import '../../SVGIcons/IconDismiss.js';
|
|
40
|
-
import '../../Tooltip/types.js';
|
|
41
|
-
import '../../Tooltip/Tooltip.js';
|
|
42
|
-
import '../../../hooks/useGetTooltipStyles.js';
|
|
43
|
-
import '../../../hooks/useGetElemSizes.js';
|
|
44
|
-
import '../../../hooks/useGetElemPositions.js';
|
|
45
|
-
import '../../../hooks/useGetTooltipPosition.js';
|
|
46
|
-
import '../../../hooks/useHideOnScroll.js';
|
|
47
|
-
import 'react-syntax-highlighter';
|
|
48
|
-
import 'react-syntax-highlighter/dist/esm/styles/prism';
|
|
49
|
-
import '../../Link/Link.js';
|
|
50
|
-
import '../../Popover/PopoverDesktop.js';
|
|
51
|
-
import '../../SVGIcons/IconInfo.js';
|
|
52
|
-
import '../../IconDynamicComponent/IconDynamicComponent.js';
|
|
53
|
-
import 'react-toastify/dist/ReactToastify.css';
|
|
54
|
-
import '@babel/runtime/helpers/typeof';
|
|
55
|
-
import '../../SVGIcons/IconDismissFilled.js';
|
|
56
|
-
import '../../SVGIcons/IconDelete.js';
|
|
57
|
-
import '../../FileUpload/DropzoneFileUpload/FilePreview.js';
|
|
58
|
-
import '../../Progress/Progress.js';
|
|
59
|
-
import '../../SVGIcons/IconArrowDownloadFilled.js';
|
|
60
|
-
import '../../../helpers/download-file.js';
|
|
61
|
-
import '../../Button/consts.js';
|
|
62
|
-
|
|
63
|
-
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; }
|
|
64
|
-
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; }
|
|
65
|
-
function useTableControl(_ref) {
|
|
66
|
-
var _savedSettings$column, _savedSettings$column2;
|
|
67
|
-
var withSelect = _ref.withSelect,
|
|
68
|
-
columns = _ref.columns,
|
|
69
|
-
data = _ref.data,
|
|
70
|
-
tableSettings = _ref.tableSettings,
|
|
71
|
-
_ref$totalCount = _ref.totalCount,
|
|
72
|
-
totalCount = _ref$totalCount === void 0 ? 0 : _ref$totalCount,
|
|
73
|
-
_ref$defaultPageSize = _ref.defaultPageSize,
|
|
74
|
-
defaultPageSize = _ref$defaultPageSize === void 0 ? 10 : _ref$defaultPageSize,
|
|
75
|
-
_ref$defaultPageIndex = _ref.defaultPageIndex,
|
|
76
|
-
defaultPageIndex = _ref$defaultPageIndex === void 0 ? 0 : _ref$defaultPageIndex,
|
|
77
|
-
_ref$defaultHiddenCol = _ref.defaultHiddenColumns,
|
|
78
|
-
defaultHiddenColumns = _ref$defaultHiddenCol === void 0 ? [] : _ref$defaultHiddenCol,
|
|
79
|
-
onSortChange = _ref.onSortChange,
|
|
80
|
-
onRowSelection = _ref.onRowSelection,
|
|
81
|
-
onColumnSizing = _ref.onColumnSizing,
|
|
82
|
-
onPaginationChange = _ref.onPaginationChange;
|
|
83
|
-
var shouldPersistToStorage = (tableSettings === null || tableSettings === void 0 ? void 0 : tableSettings.persistColumnSettings) === STORAGE_TYPE.LOCAL;
|
|
84
|
-
var shouldEmitExternal = (tableSettings === null || tableSettings === void 0 ? void 0 : tableSettings.persistColumnSettings) === STORAGE_TYPE.EXTERNAL;
|
|
85
|
-
var tableName = "".concat(TABLE_NAME_PREFIX, "-").concat(tableSettings === null || tableSettings === void 0 ? void 0 : tableSettings.tableName);
|
|
86
|
-
var savedSettings = shouldPersistToStorage && tableName ? loadTableSettings(tableName) : {
|
|
87
|
-
columnVisibility: {},
|
|
88
|
-
columnSizing: {},
|
|
89
|
-
columnOrder: []};
|
|
90
|
-
var _useState = useState(null),
|
|
91
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
92
|
-
activeId = _useState2[0],
|
|
93
|
-
setActiveId = _useState2[1];
|
|
94
|
-
var _useState3 = useState([]),
|
|
95
|
-
_useState4 = _slicedToArray(_useState3, 2),
|
|
96
|
-
sorting = _useState4[0],
|
|
97
|
-
setSorting = _useState4[1];
|
|
98
|
-
var _useState5 = useState({}),
|
|
99
|
-
_useState6 = _slicedToArray(_useState5, 2),
|
|
100
|
-
rowSelection = _useState6[0],
|
|
101
|
-
setRowSelection = _useState6[1];
|
|
102
|
-
var _useState7 = useState((_savedSettings$column = savedSettings.columnSizing) !== null && _savedSettings$column !== void 0 ? _savedSettings$column : {}),
|
|
103
|
-
_useState8 = _slicedToArray(_useState7, 2),
|
|
104
|
-
columnSizing = _useState8[0],
|
|
105
|
-
setColumnSizing = _useState8[1];
|
|
106
|
-
var _useState9 = useState(_objectSpread(_objectSpread({}, defaultHiddenColumns.reduce(function (acc, key) {
|
|
107
|
-
acc[key] = false;
|
|
108
|
-
return acc;
|
|
109
|
-
}, {})), savedSettings.columnVisibility)),
|
|
110
|
-
_useState0 = _slicedToArray(_useState9, 2),
|
|
111
|
-
columnVisibility = _useState0[0],
|
|
112
|
-
setColumnVisibility = _useState0[1];
|
|
113
|
-
var _useState1 = useState({
|
|
114
|
-
pageIndex: defaultPageIndex,
|
|
115
|
-
pageSize: defaultPageSize
|
|
116
|
-
}),
|
|
117
|
-
_useState10 = _slicedToArray(_useState1, 2),
|
|
118
|
-
pagination = _useState10[0],
|
|
119
|
-
setPagination = _useState10[1];
|
|
120
|
-
var memoizedColumns = useMemo(function () {
|
|
121
|
-
var columnsList = _toConsumableArray(columns).map(function (col) {
|
|
122
|
-
if (col.id === 'actions') {
|
|
123
|
-
return _objectSpread(_objectSpread({}, col), {}, {
|
|
124
|
-
enableColumnDragging: false,
|
|
125
|
-
enableSorting: false,
|
|
126
|
-
enableResizing: false,
|
|
127
|
-
enableHiding: false
|
|
128
|
-
});
|
|
129
|
-
}
|
|
130
|
-
return col;
|
|
131
|
-
});
|
|
132
|
-
if (withSelect) {
|
|
133
|
-
columnsList.unshift({
|
|
134
|
-
id: 'select',
|
|
135
|
-
enableHiding: false,
|
|
136
|
-
enableColumnDragging: false,
|
|
137
|
-
enablePinning: true,
|
|
138
|
-
header: function header(_ref2) {
|
|
139
|
-
var table = _ref2.table;
|
|
140
|
-
return /*#__PURE__*/React.createElement(IndeterminateCheckbox, {
|
|
141
|
-
checked: table.getIsAllRowsSelected(),
|
|
142
|
-
indeterminate: table.getIsSomeRowsSelected(),
|
|
143
|
-
onChange: table.getToggleAllRowsSelectedHandler()
|
|
144
|
-
});
|
|
145
|
-
},
|
|
146
|
-
cell: function cell(_ref3) {
|
|
147
|
-
var row = _ref3.row;
|
|
148
|
-
return /*#__PURE__*/React.createElement(IndeterminateCheckbox, {
|
|
149
|
-
checked: row.getIsSelected(),
|
|
150
|
-
disabled: !row.getCanSelect(),
|
|
151
|
-
indeterminate: row.getIsSomeSelected(),
|
|
152
|
-
onChange: row.getToggleSelectedHandler()
|
|
153
|
-
});
|
|
154
|
-
}
|
|
155
|
-
});
|
|
156
|
-
}
|
|
157
|
-
return columnsList;
|
|
158
|
-
}, [columns]);
|
|
159
|
-
var _useState11 = useState((_savedSettings$column2 = savedSettings.columnOrder) !== null && _savedSettings$column2 !== void 0 && _savedSettings$column2.length && savedSettings.columnOrder.length === memoizedColumns.length ? savedSettings.columnOrder : memoizedColumns.map(function (column) {
|
|
160
|
-
return column.id;
|
|
161
|
-
})),
|
|
162
|
-
_useState12 = _slicedToArray(_useState11, 2),
|
|
163
|
-
columnOrder = _useState12[0],
|
|
164
|
-
setColumnOrder = _useState12[1];
|
|
165
|
-
var reorderedColumns = columnOrder.map(function (columnId) {
|
|
166
|
-
return memoizedColumns.find(function (col) {
|
|
167
|
-
return col.id === columnId;
|
|
168
|
-
});
|
|
169
|
-
});
|
|
170
|
-
var handleSortingChange = function handleSortingChange(updaterOrValue) {
|
|
171
|
-
var newSorting = typeof updaterOrValue === 'function' ? updaterOrValue(sorting) : updaterOrValue;
|
|
172
|
-
setSorting(newSorting);
|
|
173
|
-
var sortingEvent = newSorting.map(function (sort) {
|
|
174
|
-
var _sort$id;
|
|
175
|
-
return {
|
|
176
|
-
column: (_sort$id = sort.id) !== null && _sort$id !== void 0 ? _sort$id : '',
|
|
177
|
-
direction: sort.desc ? 'desc' : sort.id ? 'asc' : false,
|
|
178
|
-
timestamp: Date.now()
|
|
179
|
-
};
|
|
180
|
-
});
|
|
181
|
-
onSortChange === null || onSortChange === void 0 || onSortChange(sortingEvent);
|
|
182
|
-
};
|
|
183
|
-
var handleRowSelect = function handleRowSelect(updaterOrValue) {
|
|
184
|
-
var newSelectionRow = typeof updaterOrValue === 'function' ? updaterOrValue(rowSelection) : updaterOrValue;
|
|
185
|
-
setRowSelection(newSelectionRow);
|
|
186
|
-
onRowSelection === null || onRowSelection === void 0 || onRowSelection(newSelectionRow);
|
|
187
|
-
};
|
|
188
|
-
var handleColumnSizingChange = function handleColumnSizingChange(updaterOrValue) {
|
|
189
|
-
var newColumnSizing = typeof updaterOrValue === 'function' ? updaterOrValue(columnSizing) : updaterOrValue;
|
|
190
|
-
setColumnSizing(newColumnSizing);
|
|
191
|
-
onColumnSizing === null || onColumnSizing === void 0 || onColumnSizing(newColumnSizing);
|
|
192
|
-
};
|
|
193
|
-
var handlePaginationChange = function handlePaginationChange(updaterOrValue) {
|
|
194
|
-
var newPagination = typeof updaterOrValue === 'function' ? updaterOrValue(pagination) : updaterOrValue;
|
|
195
|
-
setPagination(newPagination);
|
|
196
|
-
onPaginationChange === null || onPaginationChange === void 0 || onPaginationChange(newPagination);
|
|
197
|
-
};
|
|
198
|
-
var hiddenColumns = defaultHiddenColumns === null || defaultHiddenColumns === void 0 ? void 0 : defaultHiddenColumns.reduce(function (acc, key) {
|
|
199
|
-
acc[key] = false;
|
|
200
|
-
return acc;
|
|
201
|
-
}, {});
|
|
202
|
-
var columnPinning = useMemo(function () {
|
|
203
|
-
var left = [];
|
|
204
|
-
memoizedColumns.forEach(function (col) {
|
|
205
|
-
if (col.enablePinning && col.id) {
|
|
206
|
-
left.push(col.id);
|
|
207
|
-
}
|
|
208
|
-
});
|
|
209
|
-
return {
|
|
210
|
-
left: left,
|
|
211
|
-
right: ['actions']
|
|
212
|
-
};
|
|
213
|
-
}, [memoizedColumns]);
|
|
214
|
-
var table = useReactTable({
|
|
215
|
-
data: data,
|
|
216
|
-
columns: reorderedColumns,
|
|
217
|
-
pageCount: Math.ceil(totalCount / pagination.pageSize),
|
|
218
|
-
state: {
|
|
219
|
-
sorting: sorting,
|
|
220
|
-
pagination: pagination,
|
|
221
|
-
columnOrder: columnOrder,
|
|
222
|
-
columnSizing: columnSizing,
|
|
223
|
-
rowSelection: rowSelection,
|
|
224
|
-
columnVisibility: _objectSpread(_objectSpread({}, hiddenColumns), columnVisibility),
|
|
225
|
-
columnPinning: columnPinning
|
|
226
|
-
},
|
|
227
|
-
onPaginationChange: handlePaginationChange,
|
|
228
|
-
onColumnSizingChange: handleColumnSizingChange,
|
|
229
|
-
onSortingChange: handleSortingChange,
|
|
230
|
-
onRowSelectionChange: handleRowSelect,
|
|
231
|
-
onColumnVisibilityChange: setColumnVisibility,
|
|
232
|
-
getCoreRowModel: getCoreRowModel(),
|
|
233
|
-
getSortedRowModel: getSortedRowModel(),
|
|
234
|
-
getPaginationRowModel: getPaginationRowModel(),
|
|
235
|
-
columnResizeMode: 'onChange',
|
|
236
|
-
manualSorting: !!onSortChange,
|
|
237
|
-
manualPagination: !!onPaginationChange,
|
|
238
|
-
enableRowSelection: true,
|
|
239
|
-
enableColumnResizing: true,
|
|
240
|
-
isMultiSortEvent: function isMultiSortEvent() {
|
|
241
|
-
return true;
|
|
242
|
-
}
|
|
243
|
-
});
|
|
244
|
-
useTableColumnSettings(table, tableName, shouldPersistToStorage);
|
|
245
|
-
var sensors = useSensors(useSensor(MouseSensor, {
|
|
246
|
-
activationConstraint: {
|
|
247
|
-
distance: 8
|
|
248
|
-
}
|
|
249
|
-
}), useSensor(TouchSensor, {
|
|
250
|
-
activationConstraint: {
|
|
251
|
-
delay: 200,
|
|
252
|
-
tolerance: 5
|
|
253
|
-
}
|
|
254
|
-
}));
|
|
255
|
-
var handleDragStart = function handleDragStart(event) {
|
|
256
|
-
setActiveId(event.active.id);
|
|
257
|
-
document.body.classList.add('select-none');
|
|
258
|
-
};
|
|
259
|
-
var handleDragEnd = function handleDragEnd(event) {
|
|
260
|
-
var active = event.active,
|
|
261
|
-
over = event.over;
|
|
262
|
-
if (over && active.id !== over.id) {
|
|
263
|
-
var oldIndex = columnOrder.indexOf(active.id);
|
|
264
|
-
var newIndex = columnOrder.indexOf(over.id);
|
|
265
|
-
var oldColumn = reorderedColumns[newIndex];
|
|
266
|
-
if ((oldColumn === null || oldColumn === void 0 ? void 0 : oldColumn.enableColumnDragging) === false) {
|
|
267
|
-
return;
|
|
268
|
-
}
|
|
269
|
-
var newColumnOrder = arrayMove(columnOrder, oldIndex, newIndex);
|
|
270
|
-
setColumnOrder(newColumnOrder);
|
|
271
|
-
}
|
|
272
|
-
setActiveId(null);
|
|
273
|
-
document.body.classList.remove('select-none');
|
|
274
|
-
};
|
|
275
|
-
var handleDragCancel = function handleDragCancel() {
|
|
276
|
-
setActiveId(null);
|
|
277
|
-
document.body.classList.remove('select-none');
|
|
278
|
-
};
|
|
279
|
-
var activeHeader = activeId ? table.getHeaderGroups()[0].headers.find(function (header) {
|
|
280
|
-
return header.id === activeId;
|
|
281
|
-
}) : null;
|
|
282
|
-
useEffect(function () {
|
|
283
|
-
var settings = {
|
|
284
|
-
columnVisibility: columnVisibility,
|
|
285
|
-
columnOrder: columnOrder,
|
|
286
|
-
columnSizing: columnSizing
|
|
287
|
-
};
|
|
288
|
-
if (shouldPersistToStorage && tableSettings.tableName) {
|
|
289
|
-
var serialized = JSON.stringify(settings);
|
|
290
|
-
localStorage.setItem(tableName, serialized);
|
|
291
|
-
}
|
|
292
|
-
if (shouldEmitExternal) {
|
|
293
|
-
var _tableSettings$onColu;
|
|
294
|
-
tableSettings === null || tableSettings === void 0 || (_tableSettings$onColu = tableSettings.onColumnSettingsChange) === null || _tableSettings$onColu === void 0 || _tableSettings$onColu.call(tableSettings, settings);
|
|
295
|
-
}
|
|
296
|
-
}, [columnVisibility, columnOrder, columnSizing]);
|
|
297
|
-
return {
|
|
298
|
-
table: table,
|
|
299
|
-
activeHeader: activeHeader,
|
|
300
|
-
sensors: sensors,
|
|
301
|
-
memoizedColumns: memoizedColumns,
|
|
302
|
-
handleDragCancel: handleDragCancel,
|
|
303
|
-
handleDragEnd: handleDragEnd,
|
|
304
|
-
handleDragStart: handleDragStart
|
|
305
|
-
};
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
export { useTableControl };
|
|
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};
|
|
@@ -1,134 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { ColumnSettings } from './ColumnSettings.js';
|
|
3
|
-
export { AdvancedPagination } from './AdvancedPagination.js';
|
|
4
|
-
import '@babel/runtime/helpers/defineProperty';
|
|
5
|
-
import '@babel/runtime/helpers/toConsumableArray';
|
|
6
|
-
import '@babel/runtime/helpers/slicedToArray';
|
|
7
|
-
import 'react';
|
|
8
|
-
import '@tanstack/react-table';
|
|
9
|
-
import '@dnd-kit/core';
|
|
10
|
-
import '@dnd-kit/sortable';
|
|
11
|
-
import './ColumnHeader.js';
|
|
12
|
-
import '@babel/runtime/helpers/extends';
|
|
13
|
-
import '../SVGIcons/IconArrowDown.js';
|
|
14
|
-
import 'classnames';
|
|
15
|
-
import '../SVGIcons/IconArrowSort.js';
|
|
16
|
-
import '../SVGIcons/IconArrowUp.js';
|
|
17
|
-
import '../Text/Text.js';
|
|
18
|
-
import '../../utils/helpers.js';
|
|
19
|
-
import 'dayjs';
|
|
20
|
-
import 'react-loading-skeleton';
|
|
21
|
-
import './hooks/useTableControl.js';
|
|
22
|
-
import './IndeterminateCheckbox.js';
|
|
23
|
-
import '../../Alert-C_U8td2x.js';
|
|
24
|
-
import '../Alert/consts.js';
|
|
25
|
-
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
26
|
-
import '../../helperComponents/Loader/Loader.js';
|
|
27
|
-
import '../../consts/index.js';
|
|
28
|
-
import '../../type/file-upload.js';
|
|
29
|
-
import '../../hooks/useScreenSize.js';
|
|
30
|
-
import 'react-hook-form';
|
|
31
|
-
import 'react-dropzone';
|
|
32
|
-
import '../SVGIcons/IconUpload.js';
|
|
33
|
-
import '../FileUpload/types.js';
|
|
34
|
-
import '../../helpers/format-date.js';
|
|
35
|
-
import 'dayjs/plugin/utc';
|
|
36
|
-
import '../../helpers/locale.js';
|
|
37
|
-
import '../../type/locale.js';
|
|
38
|
-
import '../../helpers/storage.js';
|
|
39
|
-
import 'react-toastify';
|
|
40
|
-
import '../../hooks/useGetIsMobile.js';
|
|
41
|
-
import 'motion/react';
|
|
42
|
-
import '../../helperComponents/AnimatePresenceWrapper/AnimatePresenceWrapper.js';
|
|
43
|
-
import '../../hooks/useOnOutsideClick.js';
|
|
44
|
-
import '../../hooks/useHideBodyScroll.js';
|
|
45
|
-
import '../SVGIcons/IconDismiss.js';
|
|
46
|
-
import '../Tooltip/types.js';
|
|
47
|
-
import '../Tooltip/Tooltip.js';
|
|
48
|
-
import '../../hooks/useGetTooltipStyles.js';
|
|
49
|
-
import '../../hooks/useGetElemSizes.js';
|
|
50
|
-
import '../../hooks/useGetElemPositions.js';
|
|
51
|
-
import '../../hooks/useGetTooltipPosition.js';
|
|
52
|
-
import '../../hooks/useHideOnScroll.js';
|
|
53
|
-
import 'react-syntax-highlighter';
|
|
54
|
-
import 'react-syntax-highlighter/dist/esm/styles/prism';
|
|
55
|
-
import '../Link/Link.js';
|
|
56
|
-
import '../Popover/PopoverDesktop.js';
|
|
57
|
-
import '../SVGIcons/IconInfo.js';
|
|
58
|
-
import '../IconDynamicComponent/IconDynamicComponent.js';
|
|
59
|
-
import 'react-toastify/dist/ReactToastify.css';
|
|
60
|
-
import '@babel/runtime/helpers/typeof';
|
|
61
|
-
import '../SVGIcons/IconDismissFilled.js';
|
|
62
|
-
import '../SVGIcons/IconDelete.js';
|
|
63
|
-
import '../FileUpload/DropzoneFileUpload/FilePreview.js';
|
|
64
|
-
import '../Progress/Progress.js';
|
|
65
|
-
import '../SVGIcons/IconArrowDownloadFilled.js';
|
|
66
|
-
import '../../helpers/download-file.js';
|
|
67
|
-
import '../Button/consts.js';
|
|
68
|
-
import './loadTableSettings.js';
|
|
69
|
-
import './hooks/useTableColumnSettings.js';
|
|
70
|
-
import './constants/index.js';
|
|
71
|
-
import '../Empty/Empty.js';
|
|
72
|
-
import '../Image/Image.js';
|
|
73
|
-
import '../SVGIcons/IconChevronDown.js';
|
|
74
|
-
import '../SVGIcons/IconChevronUp.js';
|
|
75
|
-
import 'react-loading-skeleton/dist/skeleton.css';
|
|
76
|
-
import '../SVGIcons/IconSettings.js';
|
|
77
|
-
import '../Switcher/Switcher.js';
|
|
78
|
-
import '../../helperComponents/Label/Label.js';
|
|
79
|
-
import '../Menu/Menu.js';
|
|
80
|
-
import 'react-dom';
|
|
81
|
-
import '../../helperComponents/OptionItem/OptionItem.js';
|
|
82
|
-
import '../Avatar/Avatar.js';
|
|
83
|
-
import '../FileUpload/FileUpload.js';
|
|
84
|
-
import '../FileUpload/UploadItems.js';
|
|
85
|
-
import '../../hooks/useFormProps.js';
|
|
86
|
-
import '../../context/types.js';
|
|
87
|
-
import '../../helperComponents/ErrorMessage/ErrorMessage.js';
|
|
88
|
-
import '../SVGIcons/IconEditFilled.js';
|
|
89
|
-
import '../SVGIcons/IconEdit.js';
|
|
90
|
-
import '../SVGIcons/IconAttach.js';
|
|
91
|
-
import '../SVGIcons/IconCheckmark.js';
|
|
92
|
-
import '../Collapse/CollapseGroup/CollapseGroup.js';
|
|
93
|
-
import '../Collapse/CollapseItem/CollapseItem.js';
|
|
94
|
-
import '../SVGIcons/IconChevronRight.js';
|
|
95
|
-
import '../Divider/Divider.js';
|
|
96
|
-
import '../Input/Input.js';
|
|
97
|
-
import 'react-input-mask';
|
|
98
|
-
import 'react-number-format';
|
|
99
|
-
import '../SVGIcons/IconCheckmarkCircleFilled.js';
|
|
100
|
-
import '../Select/Select/Select.js';
|
|
101
|
-
import '../Select/Select/SelectDesktop/index.js';
|
|
102
|
-
import 'react-window';
|
|
103
|
-
import '../../hooks/useGetHasBottomSpace.js';
|
|
104
|
-
import '../../hooks/useChangePositionsOnScroll.js';
|
|
105
|
-
import '../Select/SharedComponents/ContentTop.js';
|
|
106
|
-
import '../Select/SharedComponents/Actions.js';
|
|
107
|
-
import '../SVGIcons/IconMore.js';
|
|
108
|
-
import '../SVGIcons/IconSearchFilled.js';
|
|
109
|
-
import '../SVGIcons/IconSelectAllOff.js';
|
|
110
|
-
import '../SVGIcons/IconChevronLeft.js';
|
|
111
|
-
import '../Select/SharedComponents/Loading.js';
|
|
112
|
-
import '../Select/constants.js';
|
|
113
|
-
import '../Select/Select/helpers.js';
|
|
114
|
-
import '../Select/Select/SelectMobile/index.js';
|
|
115
|
-
import '../Select/Select/SelectMobile/MobileTopContent.js';
|
|
116
|
-
import '../Select/localization.js';
|
|
117
|
-
import '../Select/MultiSelect/MultiSelect.js';
|
|
118
|
-
import '../Select/MultiSelect/OptionsWrapper.js';
|
|
119
|
-
import '../Select/MultiSelect/MultiSelectGrouped/MultiSelectGrouped.js';
|
|
120
|
-
import '../SVGIcons/IconCaretDownFilled.js';
|
|
121
|
-
import '../SVGIcons/IconCaretUpFilled.js';
|
|
122
|
-
import '../Select/MultiSelect/MultiBase/MultiBase.js';
|
|
123
|
-
import '../Select/MultiSelect/MultiSelectWithTabs/MultiSelectWithTabs.js';
|
|
124
|
-
import '../Tab/Tab.js';
|
|
125
|
-
import '../Tab/TabItem.js';
|
|
126
|
-
import '../Badge/Badge.js';
|
|
127
|
-
import '../Select/SharedComponents/Footer.js';
|
|
128
|
-
import '../Select/SharedComponents/InputSelectWrapper/InputSelectWrapper.js';
|
|
129
|
-
import '../Select/MultiSelect/MobileWrapper.js';
|
|
130
|
-
import '../Select/MultiSelect/DesktopWrapper.js';
|
|
131
|
-
import '../Select/SharedComponents/ButtonSelectWrapper/ButtonSelectWrapper.js';
|
|
132
|
-
import '../Select/SharedComponents/ButtonSelectWrapper/Button/Button.js';
|
|
133
|
-
import '../SVGIcons/IconChevronDoubleLeft.js';
|
|
134
|
-
import '../SVGIcons/IconChevronDoubleRight.js';
|
|
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};
|
|
@@ -1,18 +1 @@
|
|
|
1
|
-
|
|
2
|
-
try {
|
|
3
|
-
var raw = localStorage.getItem(tableKey);
|
|
4
|
-
return raw ? JSON.parse(raw) : {
|
|
5
|
-
columnOrder: [],
|
|
6
|
-
columnSizing: {},
|
|
7
|
-
columnVisibility: {}
|
|
8
|
-
};
|
|
9
|
-
} catch (_unused) {
|
|
10
|
-
return {
|
|
11
|
-
columnOrder: [],
|
|
12
|
-
columnSizing: {},
|
|
13
|
-
columnVisibility: {}
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
export { loadTableSettings };
|
|
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};
|
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