@sberbusiness/triplex-next 1.5.0 → 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunks/AlertProcessSpoiler-Dq0fm-3a.js +39 -0
- package/chunks/CalendarViewItem-BoFDPLNT.js +101 -0
- package/chunks/Card.module-xUBtHcBW.js +17 -0
- package/chunks/CheckboxTreeExtended.module-CzX04UVi.js +11 -0
- package/chunks/{Chip-DpSJGyYK.js → Chip-C91-I9zb.js} +11 -11
- package/chunks/Confirm.module-yvrei2lL.js +15 -0
- package/chunks/{DropdownListItem-SqymKZn5.js → DropdownListItem-PbfrmOZJ.js} +14 -14
- package/chunks/DropdownMobile.module-CvDbPL9W.js +21 -0
- package/chunks/Footer.module-Kij9_qbS.js +9 -0
- package/chunks/{FormFieldInput-BSxKZxcq.js → FormFieldInput-BL8yYnKo.js} +10 -10
- package/chunks/HeaderLayoutSidebar.module-CPvbS61i.js +9 -0
- package/chunks/HeaderTabs.module-xhlfJ1R9.js +9 -0
- package/chunks/{HeaderTitle.module-CEMLCR13.js → HeaderTitle.module-29jwPQr2.js} +2 -2
- package/chunks/IslandAccordion.module-C7SBNJJJ.js +26 -0
- package/chunks/{LightBoxContent-DTTxRVLQ.js → LightBoxContent-D9VFXK17.js} +15 -15
- package/chunks/LightBoxControls.module-C76N_yWS.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-CwTd-n3M.js +8 -0
- package/chunks/{ListItemControlsButton-AbCEipFe.js → ListItemControlsButton-DnuVSFV7.js} +7 -7
- package/chunks/ListItemTail.module-DE8OWHba.js +12 -0
- package/chunks/ListMasterFooter.module-FTLh0QAQ.js +10 -0
- package/chunks/ModalWindow.module-C7N9wjxW.js +17 -0
- package/chunks/Notification.module-ByRBfuR2.js +21 -0
- package/chunks/Overlay.module-EIMAbb4c.js +18 -0
- package/chunks/Page.module-BokYwJr5.js +12 -0
- package/chunks/{RightBorderArrow-Co_RT8lZ.js → RightBorderArrow-esMRIv7g.js} +6 -6
- package/chunks/SMSInput.module-5r7uaeim.js +16 -0
- package/chunks/SliderExtendedMarks.module-D1DTVGpV.js +15 -0
- package/chunks/SliderExtendedRail-Ck23Ui6E.js +40 -0
- package/chunks/StatusTracker.module-D1-siBfk.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-nZwpz9Eo.js → SuggestFieldMobileDropdownHint-CpoZIQ7a.js} +2 -2
- package/chunks/TableFooter.module-D8h1OLCP.js +14 -0
- package/chunks/TabsExtended.module-Dvvx9orv.js +16 -0
- package/chunks/TabsLine.module-BW1667el.js +23 -0
- package/chunks/TooltipDesktop.module-E3qNKUvc.js +19 -0
- package/chunks/{TooltipMobileCloseButton-DTtQoE3B.js → TooltipMobileCloseButton-Bdw8P_WT.js} +6 -6
- package/chunks/TreeView.module-CKfLtgeC.js +9 -0
- package/chunks/{UploadZoneInput-C2-_7DoS.js → UploadZoneInput-Cr1wEu6A.js} +6 -6
- package/chunks/utils-BGuB8cgl.js +73 -0
- package/chunks/utils-BJhZJ9SO.js +24 -0
- package/chunks/{utils-CFlJg-k1.js → utils-DpVkLh52.js} +5 -5
- package/chunks/{utils-Dhi5F6Da.js → utils-GixgRYNn.js} +9 -9
- package/chunks/{utils-D9w2Kvyk.js → utils-PII_juCp.js} +6 -6
- package/chunks/{vendor-9KVE23Ri.js → vendor-D3hUOusX.js} +4403 -4403
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +10 -10
- package/components/Alert/AlertContext/AlertContext.js +11 -11
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +8 -8
- package/components/AmountField/AmountField.js +11 -11
- package/components/Body/Body.js +10 -10
- package/components/Body/index.js +4 -2
- package/components/Button/Button.js +24 -24
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +61 -61
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +13 -13
- package/components/Calendar/Calendar.js +131 -126
- package/components/Calendar/CalendarContext.js +1 -1
- package/components/Calendar/components/CalendarControls.js +4 -5
- package/components/Calendar/components/CalendarFooter.js +4 -4
- package/components/Calendar/components/CalendarFooterButton.js +31 -0
- package/components/Calendar/components/CalendarViewDays.js +67 -76
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +9 -9
- package/components/Calendar/components/CalendarViewYears.js +10 -10
- package/components/Calendar/utils.js +5 -5
- package/components/Card/CardAction.js +16 -16
- package/components/Card/CardStatic.js +3 -3
- package/components/Card/components/CardContent/CardContent.js +2 -2
- package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
- package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
- package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
- package/components/Card/components/CardMedia.js +2 -2
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +2 -2
- package/components/Checkbox/Checkbox.js +17 -17
- package/components/Checkbox/CheckboxXGroup.js +13 -13
- package/components/Checkbox/CheckboxYGroup.js +2 -2
- package/components/CheckboxTree/index.js +5 -0
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +8 -7
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +4 -3
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +22 -21
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +21 -24
- package/components/CheckboxTreeExtended/index.js +5 -0
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +5 -5
- package/components/Chip/ChipDropdownArrow.js +2 -2
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +46 -0
- package/components/Chip/ChipOptions.js +8 -8
- package/components/Chip/ChipSelect.js +2 -2
- package/components/Chip/ChipSort.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +2 -2
- package/components/Chip/index.js +11 -9
- package/components/ChipGroup/ChipGroup.js +11 -11
- package/components/Col/Col.js +137 -137
- package/components/CollapsableTree/components/CollapsableTreeNode.js +17 -17
- package/components/Confirm/Confirm.js +41 -0
- package/components/Confirm/components/ConfirmClose.js +13 -0
- package/components/Confirm/components/ConfirmCloseButton.js +27 -0
- package/components/Confirm/components/ConfirmContent.js +13 -0
- package/components/Confirm/components/ConfirmContentSubTitle.js +15 -0
- package/components/Confirm/components/ConfirmContentTitle.js +16 -0
- package/components/Confirm/components/ConfirmControls.js +9 -0
- package/components/Confirm/enums.js +5 -0
- package/components/Confirm/index.js +5 -0
- package/components/DateField/DateField.js +8 -8
- package/components/DateField/utils.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +13 -13
- package/components/DateRange/DateRange.js +73 -0
- package/components/DateRange/enums.js +5 -0
- package/components/DesignTokens/DesignTokenUtils.js +7 -7
- package/components/DesignTokens/DesignTokensComponents.js +71 -54
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +64 -47
- package/components/DesignTokens/components/Calendar.js +0 -2
- package/components/DesignTokens/components/Island.js +4 -4
- package/components/DesignTokens/components/IslandAccordion.js +15 -4
- package/components/DesignTokens/components/MultiselectField.js +9 -0
- package/components/DesignTokens/components/Slider.js +59 -0
- package/components/DesignTokens/components/SmallInput.js +15 -0
- package/components/DesignTokens/components/TopOverlay.js +9 -0
- package/components/DesignTokens/components/UploadZone.js +1 -1
- package/components/DesignTokens/components/index.js +95 -83
- package/components/Divider/Divider.js +18 -18
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +64 -0
- package/components/DocumentNumberEdit/index.js +5 -0
- package/components/Dropdown/desktop/DropdownDesktop.js +17 -17
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +4 -4
- package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +3 -3
- package/components/Ellipsis/Ellipsis.js +9 -9
- package/components/ExpandAnimation/ExpandAnimation.js +13 -13
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +2 -2
- package/components/Footer/components/FooterDescriptionContent.js +2 -2
- package/components/Footer/components/FooterDescriptionControls.js +2 -2
- package/components/FormField/FormField.js +28 -28
- package/components/FormField/components/FormFieldClear.js +11 -11
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +7 -7
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +10 -10
- package/components/FormField/components/FormFieldMaskedInput.js +15 -15
- package/components/FormField/components/FormFieldPostfix.js +8 -8
- package/components/FormField/components/FormFieldPrefix.js +5 -5
- package/components/FormField/components/FormFieldTarget.js +38 -37
- package/components/FormField/components/FormFieldTextarea.js +14 -14
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +6 -6
- package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +2 -2
- package/components/HelpBox/HelpBox.js +8 -8
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +4 -4
- package/components/Island/components/IslandFooter.js +5 -5
- package/components/Island/components/IslandHeader.js +4 -4
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +3 -3
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionItem.js +81 -73
- package/components/LightBox/LightBox.js +27 -27
- package/components/LightBox/LightBoxContent.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxClose.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxControls.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxNext.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +6 -6
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +3 -3
- package/components/Link/Link.js +17 -17
- package/components/List/List.js +6 -6
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +6 -6
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +6 -6
- package/components/List/components/ListItemControls.js +6 -6
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +4 -4
- package/components/List/components/ListItemSelectable.js +9 -9
- package/components/List/components/ListItemTable.js +7 -7
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +7 -7
- package/components/List/components/ListSortableItemControls.js +7 -7
- package/components/List/components/ListSortableItemTarget.js +7 -7
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +5 -5
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +6 -6
- package/components/ListMaster/components/SelectionControls.js +3 -3
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +10 -10
- package/components/Loader/LoaderSmall/LoaderSmall.js +7 -7
- package/components/LoaderScreen/LoaderScreen.js +6 -6
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +13 -13
- package/components/ModalWindow/ModalWindow.js +6 -6
- package/components/ModalWindow/components/ModalWindowBody.js +14 -182
- package/components/ModalWindow/components/ModalWindowClose.js +4 -4
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +6 -6
- package/components/ModalWindow/components/ModalWindowViewManager.js +6 -6
- package/components/MonthYearField/utils.js +1 -1
- package/components/MultiselectField/MultiselectField.js +22 -0
- package/components/MultiselectField/MultiselectFieldContext.js +10 -0
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +65 -0
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +23 -0
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +13 -0
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +13 -0
- package/components/MultiselectField/components/index.js +11 -0
- package/components/MultiselectField/index.js +5 -0
- package/components/Notification/Notification.js +3 -3
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyContent.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/Notification/index.js +7 -0
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +7 -7
- package/components/OrderedList/OrderedListItem.js +8 -8
- package/components/Overlay/Overlay.js +2 -2
- package/components/Overlay/OverlayMask.js +2 -2
- package/components/Overlay/OverlayPanel.js +2 -2
- package/components/Page/Page.js +2 -2
- package/components/Page/components/BodyPage.js +2 -2
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +1 -1
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +5 -4
- package/components/Pagination/components/PaginationPageEllipsis.js +5 -5
- package/components/Pagination/components/PaginationSelect.js +4 -4
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +8 -8
- package/components/Radio/RadioXGroup.js +14 -14
- package/components/Radio/RadioYGroup.js +9 -9
- package/components/Row/Row.js +6 -6
- package/components/SMSInput/SMSInput.js +3 -3
- package/components/SMSInput/components/RefreshIcon.js +2 -2
- package/components/SMSInput/components/SMSInputInput.js +3 -3
- package/components/SMSInput/components/SMSInputRefresh.js +2 -2
- package/components/SMSInput/components/SMSInputSubmit.js +2 -2
- package/components/SMSInput/components/SMSInputTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +6 -6
- package/components/SegmentedControl/SegmentedControlSegment.js +11 -11
- package/components/SelectExtendedField/SelectExtendedField.js +60 -54
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +82 -68
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +11 -11
- package/components/Slider/Slider.js +20 -0
- package/components/Slider/index.js +5 -0
- package/components/SliderExtended/SliderExtended.js +102 -0
- package/components/SliderExtended/SliderExtendedContext.js +30 -0
- package/components/SliderExtended/SliderExtendedUtils.js +32 -0
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +158 -0
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDotActions.js +12 -0
- package/components/SliderExtended/components/SliderExtendedDot/useSliderExtendedDotTabIndex.js +21 -0
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +48 -0
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarkActions.js +27 -0
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +9 -0
- package/components/SliderExtended/components/SliderExtendedMoveHandler.js +25 -0
- package/components/SliderExtended/components/SliderExtendedRail.js +10 -0
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +39 -0
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +147 -0
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrackActions.js +36 -0
- package/components/SliderExtended/index.js +5 -0
- package/components/SliderRange/SliderRange.js +63 -0
- package/components/SliderRange/index.js +5 -0
- package/components/SmallInput/SmallInput.js +11 -0
- package/components/SmallInput/index.js +5 -0
- package/components/Spoiler/Spoiler.js +11 -11
- package/components/StatusTracker/StatusTracker.js +13 -13
- package/components/StatusTracker/components/StatusTrackerAlert.js +2 -2
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +2 -2
- package/components/StatusTracker/components/StatusTrackerFooter.js +2 -2
- package/components/StatusTracker/components/StatusTrackerHeader.js +2 -2
- package/components/StatusTracker/components/StatusTrackerMedia.js +2 -2
- package/components/StatusTracker/components/StatusTrackerStatus.js +2 -2
- package/components/StatusTracker/components/StatusTrackerSum.js +2 -2
- package/components/StatusTracker/components/StatusTrackerTitle.js +2 -2
- package/components/StatusTracker/enums.js +1 -1
- package/components/StatusTracker/index.js +3 -0
- package/components/Step/Step.js +7 -7
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +13 -13
- package/components/Stepper/StepperExtended.js +2 -2
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +5 -5
- package/components/Suggest/SuggestMobileDropdownContent.js +5 -5
- package/components/SuggestField/SuggestField.js +1 -1
- package/components/SuggestField/SuggestFieldTarget.js +1 -1
- package/components/SuggestField/SuggestFieldTargetPostfix.js +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +4 -4
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +3 -3
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +7 -7
- package/components/Table/NoColumns.js +8 -8
- package/components/Table/PaginationPanel.js +3 -3
- package/components/Table/TableBasic/TableBasic.js +20 -20
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +31 -34
- package/components/Table/TableBasicSettings/TableBasicSettings.js +27 -29
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +10 -10
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +6 -6
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +2 -2
- package/components/Table/TableFooter/TableFooter.js +14 -11
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +3 -3
- package/components/Table/TabsLinePanelLinks.js +22 -10
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +19 -19
- package/components/TabsExtended/TabsExtended.js +3 -3
- package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +7 -7
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +3 -3
- package/components/TabsLine/components/TabsLineItem.js +13 -12
- package/components/TabsLine/components/TabsLineMobile.js +10 -10
- package/components/Tag/Tag.js +20 -20
- package/components/TagGroup/TagGroup.js +6 -6
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +1 -1
- package/components/ThemeProvider/components/ThemeProviderView.js +3 -3
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +8 -8
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
- package/components/Tooltip/components/mobile/TooltipMobile.js +2 -2
- package/components/Tooltip/components/mobile/components/TooltipMobileCloseButton.js +1 -1
- package/components/Tooltip/components/mobile/components/TooltipMobileHeader.js +1 -1
- package/components/TopOverlay/TopOverlay.js +85 -0
- package/components/TopOverlay/index.js +5 -0
- package/components/TreeView/TreeView.js +9 -8
- package/components/TreeView/components/TreeViewGroup.js +3 -2
- package/components/TreeView/components/TreeViewNode.js +12 -11
- package/components/Typography/Caption.js +17 -17
- package/components/Typography/Text.js +32 -32
- package/components/Typography/Title.js +27 -27
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +7 -7
- package/components/UnorderedList/UnorderedListItem.js +3 -3
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +499 -415
- package/consts/DateConst.js +1 -1
- package/helpers/less/z-indexes.less +6 -1
- package/index.d.ts +1149 -141
- package/index.js +506 -422
- package/package.json +45 -1
- package/styles/triplex-next.css +527 -501
- package/utils/amountUtils.js +1 -1
- package/chunks/AlertProcessSpoiler-M7W9D-p3.js +0 -39
- package/chunks/CalendarViewItem-Cs4qo2T0.js +0 -105
- package/chunks/Card.module-lZl8x0iL.js +0 -17
- package/chunks/DropdownMobile.module-C_Jtpfxj.js +0 -21
- package/chunks/Footer.module-3tcvZGt3.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-DqrwTmWo.js +0 -9
- package/chunks/HeaderTabs.module-DegB0R8X.js +0 -9
- package/chunks/IslandAccordion.module-DFvQwhSg.js +0 -22
- package/chunks/LightBoxControls.module-Dn4GtUtF.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-BUvFYJwr.js +0 -8
- package/chunks/ListItemTail.module-CZYSMJRz.js +0 -12
- package/chunks/ListMasterFooter.module-Bw6BVPVj.js +0 -10
- package/chunks/ModalWindow.module-DGcF8-xJ.js +0 -17
- package/chunks/Notification.module-Cj_Pd4DQ.js +0 -21
- package/chunks/Overlay.module-BqJXvoeX.js +0 -18
- package/chunks/Page.module-DUQ6i8Ez.js +0 -12
- package/chunks/SMSInput.module-D1TiDw_A.js +0 -16
- package/chunks/StatusTracker.module-DetC6Udk.js +0 -24
- package/chunks/TableFooter.module-BF4P3QCw.js +0 -13
- package/chunks/TabsExtended.module-BciQYRi4.js +0 -16
- package/chunks/TabsLine.module-Cx0n_AdV.js +0 -23
- package/chunks/TooltipDesktop.module-DK06gaHe.js +0 -19
- package/chunks/utils-CXhKCNyM.js +0 -72
- package/chunks/utils-CoHHiBA8.js +0 -24
- package/components/Calendar/CalendarRange.js +0 -28
- package/components/Calendar/components/CalendarTodayButton.js +0 -31
- package/components/LightBox/LightBoxTopOverlay/LightBoxTopOverlay.js +0 -86
|
@@ -1,109 +1,100 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
3
|
-
import { useContext as
|
|
4
|
-
import { isDateOutOfRange as
|
|
5
|
-
import { WEEKDAYS_SET as
|
|
6
|
-
import { CalendarViewContext as
|
|
7
|
-
import { s as
|
|
8
|
-
import { isKey as
|
|
9
|
-
import { ECalendarDateMarkType as
|
|
10
|
-
import { CalendarContext as
|
|
11
|
-
const
|
|
12
|
-
pickedDate:
|
|
13
|
-
|
|
14
|
-
dayHtmlAttributes: h = {}
|
|
1
|
+
import { jsxs as U, jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { k as c, c as H } from "../../../chunks/vendor-D3hUOusX.js";
|
|
3
|
+
import { useContext as R, useCallback as O, useState as L, useEffect as q } from "react";
|
|
4
|
+
import { isDateOutOfRange as g, isDayDisabled as z } from "../utils.js";
|
|
5
|
+
import { WEEKDAYS_SET as J } from "../../../consts/DateConst.js";
|
|
6
|
+
import { CalendarViewContext as Q } from "../CalendarViewContext.js";
|
|
7
|
+
import { s as y, C as X } from "../../../chunks/CalendarViewItem-BoFDPLNT.js";
|
|
8
|
+
import { isKey as d } from "../../../utils/keyboard.js";
|
|
9
|
+
import { ECalendarDateMarkType as Z, ECalendarViewMode as E } from "../enums.js";
|
|
10
|
+
import { CalendarContext as ee } from "../CalendarContext.js";
|
|
11
|
+
const fe = ({
|
|
12
|
+
pickedDate: o,
|
|
13
|
+
dayHtmlAttributes: D = {}
|
|
15
14
|
}) => {
|
|
16
|
-
const { format:
|
|
17
|
-
(e) =>
|
|
18
|
-
[
|
|
19
|
-
),
|
|
20
|
-
if (
|
|
21
|
-
return
|
|
15
|
+
const { format: m, periodId: x, limitRange: h, viewDate: n, markedDays: f, disabledDays: w, onDateSelect: I, onPageChange: C } = R(ee), { viewItemFocusedRef: S } = R(Q), M = n.clone().startOf("month").startOf("week"), b = O(
|
|
16
|
+
(e) => g(e, h, "day") || z(e.format(m), w),
|
|
17
|
+
[h, w, m]
|
|
18
|
+
), p = O(() => {
|
|
19
|
+
if (o && o.isSame(n, "month"))
|
|
20
|
+
return o;
|
|
22
21
|
{
|
|
23
22
|
const e = n.clone().startOf("month");
|
|
24
23
|
for (let a = 0; a < e.daysInMonth(); a++)
|
|
25
24
|
if (e.add(a, "day"), !b(e))
|
|
26
25
|
return e;
|
|
27
26
|
}
|
|
28
|
-
}, [
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}, [n,
|
|
32
|
-
const
|
|
33
|
-
const e =
|
|
34
|
-
return /* @__PURE__ */
|
|
27
|
+
}, [o, n, b]), [k, T] = L(p());
|
|
28
|
+
q(() => {
|
|
29
|
+
S.current || T(p());
|
|
30
|
+
}, [n, S, p]);
|
|
31
|
+
const N = () => {
|
|
32
|
+
const e = c.weekdays(!0), a = c.weekdaysMin(!0);
|
|
33
|
+
return /* @__PURE__ */ l("thead", { children: /* @__PURE__ */ l("tr", { children: J.map((t) => /* @__PURE__ */ l(
|
|
35
34
|
"th",
|
|
36
35
|
{
|
|
37
|
-
className:
|
|
36
|
+
className: y.calendarViewDaysHeader,
|
|
38
37
|
abbr: e[t],
|
|
39
38
|
children: a[t]
|
|
40
39
|
},
|
|
41
40
|
`calendar-table-header-${t}`
|
|
42
41
|
)) }) });
|
|
43
|
-
},
|
|
44
|
-
const t =
|
|
45
|
-
return /* @__PURE__ */
|
|
46
|
-
|
|
42
|
+
}, V = () => /* @__PURE__ */ l("tbody", { className: y.calendarViewDaysBody, children: [0, 1, 2, 3, 4, 5].map((e) => /* @__PURE__ */ l("tr", { children: [0, 1, 2, 3, 4, 5, 6].map((a) => W(e, a)) }, `calendar-table-row-${e}`)) }), W = (e, a) => {
|
|
43
|
+
const t = c(M).add(e * 7 + a, "day"), r = H({ [y.current]: v(t) }), s = B(t), u = b(t), $ = !u && _(t), j = P(t), A = K(t);
|
|
44
|
+
return /* @__PURE__ */ l(
|
|
45
|
+
X,
|
|
47
46
|
{
|
|
48
|
-
className:
|
|
49
|
-
...typeof
|
|
47
|
+
className: r,
|
|
48
|
+
...typeof D == "function" ? D({ marked: A !== void 0 }) : D,
|
|
50
49
|
date: t,
|
|
51
50
|
unit: "day",
|
|
52
|
-
active:
|
|
53
|
-
disabled:
|
|
54
|
-
tabbable:
|
|
55
|
-
muted:
|
|
56
|
-
markType:
|
|
57
|
-
onKeyDown:
|
|
58
|
-
onDateSelect:
|
|
51
|
+
active: s,
|
|
52
|
+
disabled: u,
|
|
53
|
+
tabbable: $,
|
|
54
|
+
muted: j,
|
|
55
|
+
markType: A,
|
|
56
|
+
onKeyDown: F(t),
|
|
57
|
+
onDateSelect: G,
|
|
59
58
|
children: t.date()
|
|
60
59
|
},
|
|
61
60
|
`calendar-table-data-${a}`
|
|
62
61
|
);
|
|
63
|
-
},
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
if (
|
|
70
|
-
|
|
71
|
-
return ae.BASIC;
|
|
72
|
-
} else if (a in y)
|
|
73
|
-
return y[e.format(u)];
|
|
62
|
+
}, _ = (e) => k ? e.isSame(k, "day") : !1, P = (e) => !e.isSame(n, "month"), v = (e) => e.isSame(c(), "day"), B = (e) => !!o && e.isSame(o, "day"), K = (e) => {
|
|
63
|
+
if (f) {
|
|
64
|
+
const a = e.format(m);
|
|
65
|
+
if (Array.isArray(f)) {
|
|
66
|
+
if (f.includes(a))
|
|
67
|
+
return Z.BASIC;
|
|
68
|
+
} else if (a in f)
|
|
69
|
+
return f[e.format(m)];
|
|
74
70
|
}
|
|
75
|
-
},
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
return r[0].isSame(r[1], "day") ? a = o.rangeSingle : e.isSame(r[0], "day") ? a = o.rangeStart : e.isSame(r[1], "day") ? a = o.rangeEnd : a = o.rangeBetween, a;
|
|
80
|
-
}, c = (e, a, t, s) => {
|
|
81
|
-
const l = e.clone(), D = {
|
|
82
|
-
add: f.fn.add.bind(l),
|
|
83
|
-
subtract: f.fn.subtract.bind(l)
|
|
71
|
+
}, i = (e, a, t, r) => {
|
|
72
|
+
const s = e.clone(), u = {
|
|
73
|
+
add: c.fn.add.bind(s),
|
|
74
|
+
subtract: c.fn.subtract.bind(s)
|
|
84
75
|
}[a];
|
|
85
|
-
for (;
|
|
86
|
-
if (
|
|
76
|
+
for (; u(t, r); ) {
|
|
77
|
+
if (g(s, h, "day"))
|
|
87
78
|
return e;
|
|
88
|
-
if (!b(
|
|
79
|
+
if (!b(s))
|
|
89
80
|
break;
|
|
90
81
|
}
|
|
91
|
-
return
|
|
92
|
-
},
|
|
82
|
+
return s;
|
|
83
|
+
}, F = (e) => (a) => {
|
|
93
84
|
const t = a.code || a.keyCode;
|
|
94
|
-
let
|
|
95
|
-
|
|
96
|
-
},
|
|
97
|
-
|
|
98
|
-
},
|
|
99
|
-
|
|
85
|
+
let r;
|
|
86
|
+
d(t, "ARROW_RIGHT") ? (r = i(e, "add", 1, "day"), a.preventDefault()) : d(t, "ARROW_LEFT") ? (r = i(e, "subtract", 1, "day"), a.preventDefault()) : d(t, "ARROW_DOWN") ? (r = i(e, "add", 1, "week"), a.preventDefault()) : d(t, "ARROW_UP") ? (r = i(e, "subtract", 1, "week"), a.preventDefault()) : d(t, "PAGE_DOWN") ? (r = i(e, "add", 1, "month"), a.preventDefault()) : d(t, "PAGE_UP") && (r = i(e, "subtract", 1, "month"), a.preventDefault()), r && Y(r);
|
|
87
|
+
}, G = (e) => {
|
|
88
|
+
I(e);
|
|
89
|
+
}, Y = (e) => {
|
|
90
|
+
T(e), e.isBefore(n, "month") ? (e = n.clone().subtract(1, "month"), C(e, E.DAYS)) : e.isAfter(n, "month") && (e = n.clone().add(1, "month"), C(e, E.DAYS));
|
|
100
91
|
};
|
|
101
|
-
return /* @__PURE__ */
|
|
102
|
-
|
|
103
|
-
|
|
92
|
+
return /* @__PURE__ */ U("table", { className: y.calendarViewDays, role: "grid", "aria-labelledby": x, children: [
|
|
93
|
+
N(),
|
|
94
|
+
V()
|
|
104
95
|
] });
|
|
105
96
|
};
|
|
106
97
|
export {
|
|
107
|
-
|
|
98
|
+
fe as CalendarViewDays
|
|
108
99
|
};
|
|
109
100
|
//# sourceMappingURL=CalendarViewDays.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../../chunks/vendor-
|
|
2
|
+
import "../../../chunks/vendor-D3hUOusX.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "../enums.js";
|
|
5
5
|
import "../CalendarViewContext.js";
|
|
6
6
|
import "../../../utils/keyboard.js";
|
|
7
|
-
import { C } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { C } from "../../../chunks/CalendarViewItem-BoFDPLNT.js";
|
|
8
8
|
export {
|
|
9
9
|
C as CalendarViewItem
|
|
10
10
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as f } from "react/jsx-runtime";
|
|
2
|
-
import { useContext as S, useCallback as O, useState as
|
|
3
|
-
import { h } from "../../../chunks/vendor-
|
|
4
|
-
import { CalendarContext as
|
|
5
|
-
import { CalendarViewContext as
|
|
2
|
+
import { useContext as S, useCallback as O, useState as k, useEffect as F } from "react";
|
|
3
|
+
import { k as h } from "../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
+
import { CalendarContext as G } from "../CalendarContext.js";
|
|
5
|
+
import { CalendarViewContext as H } from "../CalendarViewContext.js";
|
|
6
6
|
import { isDateOutOfRange as R } from "../utils.js";
|
|
7
|
-
import { s as
|
|
7
|
+
import { s as K, C as B } from "../../../chunks/CalendarViewItem-BoFDPLNT.js";
|
|
8
8
|
import { isKey as l } from "../../../utils/keyboard.js";
|
|
9
9
|
import { ECalendarPickType as U, ECalendarViewMode as u } from "../enums.js";
|
|
10
10
|
const Z = ({ pickedDate: r, monthHtmlAttributes: T = {} }) => {
|
|
11
|
-
const { pickType: w, periodId: g, limitRange: m, viewDate: o, onDateSelect: A, onPageChange: D, onViewChange: P } = S(
|
|
11
|
+
const { pickType: w, periodId: g, limitRange: m, viewDate: o, onDateSelect: A, onPageChange: D, onViewChange: P } = S(G), { viewItemFocusedRef: y } = S(H), x = h.monthsShort(), b = O(
|
|
12
12
|
(e) => R(e, m, "month"),
|
|
13
13
|
[m]
|
|
14
14
|
), d = O(() => {
|
|
@@ -20,8 +20,8 @@ const Z = ({ pickedDate: r, monthHtmlAttributes: T = {} }) => {
|
|
|
20
20
|
if (e.add(t, "month"), !b(e))
|
|
21
21
|
return e;
|
|
22
22
|
}
|
|
23
|
-
}, [r, o, b]), [p, C] =
|
|
24
|
-
|
|
23
|
+
}, [r, o, b]), [p, C] = k(d());
|
|
24
|
+
F(() => {
|
|
25
25
|
y.current || C(d());
|
|
26
26
|
}, [o, y, d]);
|
|
27
27
|
const E = () => /* @__PURE__ */ f("tbody", { children: [0, 1, 2, 3].map((e) => /* @__PURE__ */ f("tr", { children: [0, 1, 2].map((t) => I(e, t)) }, `calendar-view-months-row-${e}`)) }), I = (e, t) => {
|
|
@@ -56,7 +56,7 @@ const Z = ({ pickedDate: r, monthHtmlAttributes: T = {} }) => {
|
|
|
56
56
|
}, N = (e) => {
|
|
57
57
|
C(e), e.isBefore(o, "year") ? (e = o.clone().subtract(1, "year"), D(e, u.MONTHS)) : e.isAfter(o, "year") && (e = o.clone().add(1, "year"), D(e, u.MONTHS));
|
|
58
58
|
};
|
|
59
|
-
return /* @__PURE__ */ f("table", { className:
|
|
59
|
+
return /* @__PURE__ */ f("table", { className: K.calendarViewMonths, role: "grid", "aria-labelledby": g, children: E() });
|
|
60
60
|
};
|
|
61
61
|
export {
|
|
62
62
|
Z as CalendarViewMonths
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as f } from "react/jsx-runtime";
|
|
2
|
-
import { useContext as
|
|
3
|
-
import {
|
|
2
|
+
import { useContext as h, useCallback as C, useState as v, useEffect as F } from "react";
|
|
3
|
+
import { k as w } from "../../../chunks/vendor-D3hUOusX.js";
|
|
4
4
|
import { CalendarContext as N } from "../CalendarContext.js";
|
|
5
5
|
import { CalendarViewContext as G } from "../CalendarViewContext.js";
|
|
6
6
|
import { isDateOutOfRange as O } from "../utils.js";
|
|
7
|
-
import { s as K, C as H } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { s as K, C as H } from "../../../chunks/CalendarViewItem-BoFDPLNT.js";
|
|
8
8
|
import { isKey as i } from "../../../utils/keyboard.js";
|
|
9
9
|
import { ECalendarViewMode as y } from "../enums.js";
|
|
10
|
-
const
|
|
11
|
-
const { periodId: g, limitRange: d, viewDate: n, onPageChange: m, onViewChange: A } =
|
|
10
|
+
const J = ({ pickedDate: s, yearHtmlAttributes: S = {} }) => {
|
|
11
|
+
const { periodId: g, limitRange: d, viewDate: n, onPageChange: m, onViewChange: A } = h(N), { viewItemFocusedRef: D } = h(G), T = n.year(), b = C(
|
|
12
12
|
(e) => O(e, d, "year"),
|
|
13
13
|
[d]
|
|
14
14
|
), u = C(() => {
|
|
@@ -20,9 +20,9 @@ const Q = ({ pickedDate: s, yearHtmlAttributes: S = {} }) => {
|
|
|
20
20
|
if (e.add(a, "month"), !b(e))
|
|
21
21
|
return e;
|
|
22
22
|
}
|
|
23
|
-
}, [s, n, b]), [
|
|
23
|
+
}, [s, n, b]), [p, R] = v(u());
|
|
24
24
|
F(() => {
|
|
25
|
-
D.current ||
|
|
25
|
+
D.current || R(u());
|
|
26
26
|
}, [n, D, u]);
|
|
27
27
|
const E = () => /* @__PURE__ */ f("tbody", { children: [0, 1, 2, 3].map((e) => /* @__PURE__ */ f("tr", { children: [0, 1, 2].map((a) => x(e, a)) }, `calendar-view-years-row-${e}`)) }), x = (e, a) => {
|
|
28
28
|
const t = T + e * 3 + a - 5, r = n.clone().startOf("year").year(t), l = I(r), c = b(r), Y = !c && V(r);
|
|
@@ -41,7 +41,7 @@ const Q = ({ pickedDate: s, yearHtmlAttributes: S = {} }) => {
|
|
|
41
41
|
},
|
|
42
42
|
`calendar-table-data-${a}`
|
|
43
43
|
);
|
|
44
|
-
}, I = (e) => s == null ? !1 : s.isSame(e, "year"), V = (e) =>
|
|
44
|
+
}, I = (e) => s == null ? !1 : s.isSame(e, "year"), V = (e) => p ? e.isSame(p, "year") : !1, W = (e) => (a) => {
|
|
45
45
|
const t = a.code || a.keyCode;
|
|
46
46
|
let r;
|
|
47
47
|
i(t, "ARROW_RIGHT") ? (r = o(e, "add", 1, "year"), a.preventDefault()) : i(t, "ARROW_LEFT") ? (r = o(e, "subtract", 1, "year"), a.preventDefault()) : i(t, "ARROW_DOWN") ? (r = o(e, "add", 3, "year"), a.preventDefault()) : i(t, "ARROW_UP") ? (r = o(e, "subtract", 3, "year"), a.preventDefault()) : i(t, "PAGE_DOWN") ? (r = o(e, "add", 12, "year"), a.preventDefault()) : i(t, "PAGE_UP") && (r = o(e, "subtract", 12, "year"), a.preventDefault()), r && P(r);
|
|
@@ -54,11 +54,11 @@ const Q = ({ pickedDate: s, yearHtmlAttributes: S = {} }) => {
|
|
|
54
54
|
}, _ = (e) => {
|
|
55
55
|
A(e, y.MONTHS);
|
|
56
56
|
}, P = (e) => {
|
|
57
|
-
|
|
57
|
+
R(e), e.year() + 5 < n.year() ? (e = n.clone().subtract(12, "years"), m(e, y.YEARS)) : e.year() - 6 > n.year() && (e = n.clone().add(12, "years"), m(e, y.YEARS));
|
|
58
58
|
};
|
|
59
59
|
return /* @__PURE__ */ f("table", { className: K.calendarViewYears, role: "grid", "aria-labelledby": g, children: E() });
|
|
60
60
|
};
|
|
61
61
|
export {
|
|
62
|
-
|
|
62
|
+
J as CalendarViewYears
|
|
63
63
|
};
|
|
64
64
|
//# sourceMappingURL=CalendarViewYears.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { k as s } from "../../chunks/vendor-D3hUOusX.js";
|
|
2
2
|
import { globalLimitRange as f, headerDateFormat as i } from "../../consts/DateConst.js";
|
|
3
3
|
import { ECalendarViewMode as a } from "./enums.js";
|
|
4
4
|
function Y(e, r) {
|
|
@@ -21,18 +21,18 @@ function l(e, r) {
|
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function y(e, r, t) {
|
|
25
25
|
const o = r.dateFrom || f.dateFrom, n = r.dateTo || f.dateTo;
|
|
26
26
|
return e.isBefore(o, t) || e.isAfter(n, t);
|
|
27
27
|
}
|
|
28
|
-
function
|
|
28
|
+
function D(e, r) {
|
|
29
29
|
return r === void 0 ? !1 : r.includes(e);
|
|
30
30
|
}
|
|
31
31
|
export {
|
|
32
32
|
l as formatDate,
|
|
33
33
|
c as getHeader,
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
y as isDateOutOfRange,
|
|
35
|
+
D as isDayDisabled,
|
|
36
36
|
Y as parsePickedDate
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=utils.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var o = (c, i, e) =>
|
|
4
|
-
import { jsx as
|
|
1
|
+
var y = Object.defineProperty;
|
|
2
|
+
var R = (c, i, e) => i in c ? y(c, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[i] = e;
|
|
3
|
+
var o = (c, i, e) => R(c, typeof i != "symbol" ? i + "" : i, e);
|
|
4
|
+
import { jsx as T } from "react/jsx-runtime";
|
|
5
5
|
import u from "react";
|
|
6
|
-
import { CardContent as
|
|
7
|
-
import { CardMedia as
|
|
6
|
+
import { CardContent as _ } from "./components/CardContent/CardContent.js";
|
|
7
|
+
import { CardMedia as b } from "./components/CardMedia.js";
|
|
8
8
|
import { ECardRoundingSize as M, ECardTheme as w } from "./enums.js";
|
|
9
9
|
import { EFocusSource as r } from "../../enums/EFocusSource.js";
|
|
10
10
|
import { mapCardRoundingSizeToCssClass as x, mapCardThemeToCssClass as K } from "./utils.js";
|
|
11
|
-
import { isKey as
|
|
12
|
-
import { c as k } from "../../chunks/vendor-
|
|
13
|
-
import { c as B } from "../../chunks/Card.module-
|
|
14
|
-
const O = "
|
|
11
|
+
import { isKey as f } from "../../utils/keyboard.js";
|
|
12
|
+
import { c as k } from "../../chunks/vendor-D3hUOusX.js";
|
|
13
|
+
import { c as B } from "../../chunks/Card.module-xUBtHcBW.js";
|
|
14
|
+
const O = "action__eaf6de79", F = "selected__19c5cf19", V = "focusVisible__7659ed40", a = {
|
|
15
15
|
action: O,
|
|
16
16
|
selected: F,
|
|
17
17
|
focusVisible: V
|
|
@@ -35,7 +35,7 @@ class l extends u.Component {
|
|
|
35
35
|
});
|
|
36
36
|
o(this, "handleKeyDown", (e) => {
|
|
37
37
|
const { onKeyDown: s } = this.props;
|
|
38
|
-
s == null || s(e),
|
|
38
|
+
s == null || s(e), f(e.keyCode, "SPACE") ? (e.preventDefault(), this.handleToggle()) : f(e.keyCode, "ENTER") && this.handleToggle();
|
|
39
39
|
});
|
|
40
40
|
o(this, "handleFocus", (e) => {
|
|
41
41
|
const { onFocus: s } = this.props, { focusSource: t } = this.state, { current: n } = this.ref;
|
|
@@ -66,7 +66,7 @@ class l extends u.Component {
|
|
|
66
66
|
onKeyDown: d,
|
|
67
67
|
onFocus: h,
|
|
68
68
|
onBlur: z,
|
|
69
|
-
roundingSize:
|
|
69
|
+
roundingSize: p = M.MD,
|
|
70
70
|
onToggle: A,
|
|
71
71
|
selected: m,
|
|
72
72
|
toggle: U,
|
|
@@ -76,14 +76,14 @@ class l extends u.Component {
|
|
|
76
76
|
B.card,
|
|
77
77
|
a.action,
|
|
78
78
|
K[S],
|
|
79
|
-
x[
|
|
79
|
+
x[p],
|
|
80
80
|
{
|
|
81
81
|
[a.focusVisible]: D === r.KEYBOARD,
|
|
82
82
|
[a.selected]: E ? !!m : g
|
|
83
83
|
},
|
|
84
84
|
s
|
|
85
85
|
);
|
|
86
|
-
return /* @__PURE__ */
|
|
86
|
+
return /* @__PURE__ */ T(
|
|
87
87
|
"div",
|
|
88
88
|
{
|
|
89
89
|
className: N,
|
|
@@ -96,13 +96,13 @@ class l extends u.Component {
|
|
|
96
96
|
role: "button",
|
|
97
97
|
...C,
|
|
98
98
|
ref: this.ref,
|
|
99
|
-
"data-tx": "1.
|
|
99
|
+
"data-tx": "1.6.1",
|
|
100
100
|
children: e
|
|
101
101
|
}
|
|
102
102
|
);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
|
-
o(l, "displayName", "CardAction"), o(l, "Content",
|
|
105
|
+
o(l, "displayName", "CardAction"), o(l, "Content", _), o(l, "Media", b);
|
|
106
106
|
export {
|
|
107
107
|
l as CardAction
|
|
108
108
|
};
|
|
@@ -2,8 +2,8 @@ import { jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import { CardContent as s } from "./components/CardContent/CardContent.js";
|
|
3
3
|
import { CardMedia as e } from "./components/CardMedia.js";
|
|
4
4
|
import { mapCardRoundingSizeToCssClass as C, mapCardThemeToCssClass as p } from "./utils.js";
|
|
5
|
-
import { c } from "../../chunks/vendor-
|
|
6
|
-
import { c as n } from "../../chunks/Card.module-
|
|
5
|
+
import { c } from "../../chunks/vendor-D3hUOusX.js";
|
|
6
|
+
import { c as n } from "../../chunks/Card.module-xUBtHcBW.js";
|
|
7
7
|
import { ECardRoundingSize as f, ECardTheme as l } from "./enums.js";
|
|
8
8
|
const a = ({
|
|
9
9
|
children: r,
|
|
@@ -21,7 +21,7 @@ const a = ({
|
|
|
21
21
|
o
|
|
22
22
|
),
|
|
23
23
|
...d,
|
|
24
|
-
"data-tx": "1.
|
|
24
|
+
"data-tx": "1.6.1",
|
|
25
25
|
children: r
|
|
26
26
|
}
|
|
27
27
|
);
|
|
@@ -3,8 +3,8 @@ import { CardContentBody as C } from "./components/CardContentBody.js";
|
|
|
3
3
|
import { CardContentHeader as i } from "./components/CardContentHeader.js";
|
|
4
4
|
import { CardContentFooter as s } from "./components/CardContentFooter.js";
|
|
5
5
|
import { ECardContentPaddingSize as t } from "../../enums.js";
|
|
6
|
-
import { c as p } from "../../../../chunks/vendor-
|
|
7
|
-
import { c as r } from "../../../../chunks/Card.module-
|
|
6
|
+
import { c as p } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
7
|
+
import { c as r } from "../../../../chunks/Card.module-xUBtHcBW.js";
|
|
8
8
|
const c = {
|
|
9
9
|
[t.MD]: r.paddingMD,
|
|
10
10
|
[t.SM]: r.paddingSM
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { c as d } from "../../../../../chunks/vendor-
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module-
|
|
2
|
+
import { c as d } from "../../../../../chunks/vendor-D3hUOusX.js";
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-xUBtHcBW.js";
|
|
4
4
|
const m = ({ children: o, className: t, ...r }) => /* @__PURE__ */ a("div", { className: d(s.cardContentBody, t), ...r, children: o });
|
|
5
5
|
m.displayName = "CardContentBody";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { c as e } from "../../../../../chunks/vendor-
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module-
|
|
2
|
+
import { c as e } from "../../../../../chunks/vendor-D3hUOusX.js";
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-xUBtHcBW.js";
|
|
4
4
|
const m = ({ children: o, className: t, ...r }) => /* @__PURE__ */ a("div", { className: e(s.cardContentFooter, t), ...r, children: o });
|
|
5
5
|
m.displayName = "CardContentFooter";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { c as o } from "../../../../../chunks/vendor-
|
|
3
|
-
import { c as d } from "../../../../../chunks/Card.module-
|
|
2
|
+
import { c as o } from "../../../../../chunks/vendor-D3hUOusX.js";
|
|
3
|
+
import { c as d } from "../../../../../chunks/Card.module-xUBtHcBW.js";
|
|
4
4
|
const s = ({ children: r, className: a, ...e }) => /* @__PURE__ */ t("div", { className: o(d.cardContentHeader, a), ...e, children: r });
|
|
5
5
|
s.displayName = "CardContentHeader";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
-
import { c as e } from "../../../chunks/vendor-
|
|
3
|
-
import { c as m } from "../../../chunks/Card.module-
|
|
2
|
+
import { c as e } from "../../../chunks/vendor-D3hUOusX.js";
|
|
3
|
+
import { c as m } from "../../../chunks/Card.module-xUBtHcBW.js";
|
|
4
4
|
const o = ({ children: a, className: r, ...s }) => {
|
|
5
5
|
const c = e(m.cardMedia, r);
|
|
6
6
|
return /* @__PURE__ */ d("div", { className: c, ...s, children: a });
|
package/components/Card/utils.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as p, jsx as b } from "react/jsx-runtime";
|
|
2
2
|
import C, { useState as w, useRef as D, useCallback as L, useEffect as d } from "react";
|
|
3
|
-
import { l as M, c as S } from "../../chunks/vendor-
|
|
3
|
+
import { l as M, c as S } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
4
|
import { scrollSmoothHorizontally as c } from "../../utils/scroll.js";
|
|
5
|
-
const R = "
|
|
5
|
+
const R = "carouselExtended__5c570046", k = {
|
|
6
6
|
carouselExtended: R
|
|
7
7
|
}, y = C.forwardRef(
|
|
8
8
|
({ children: l, buttonPrev: a, buttonNext: i, stepPrev: u, stepNext: f, ...h }, s) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsxs as I, jsx as
|
|
1
|
+
import { jsxs as I, jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import N from "react";
|
|
3
3
|
import { CheckboxbulkStrokeSrvIcon24 as z, CheckboxtickStrokeSrvIcon24 as C } from "@sberbusiness/icons-next";
|
|
4
4
|
import "../Typography/Title.js";
|
|
@@ -7,8 +7,8 @@ import "../Typography/Caption.js";
|
|
|
7
7
|
import { ETextSize as l } from "../Typography/enums.js";
|
|
8
8
|
import { EComponentSize as t } from "../../enums/EComponentSize.js";
|
|
9
9
|
import { createSizeToClassNameMap as u } from "../../utils/classNameMaps.js";
|
|
10
|
-
import { c as r } from "../../chunks/vendor-
|
|
11
|
-
const y = "
|
|
10
|
+
import { c as r } from "../../chunks/vendor-D3hUOusX.js";
|
|
11
|
+
const y = "label__f9fc3a1a", T = "md__688a298c", M = "nonempty__92f6bad9", g = "lg__9ef52e95", j = "disabled__e1e896ff", v = "checkbox__4e6c404a", B = "checkboxIcon__4bc3cdce", D = "checkmarkIcon__0d2e3d4a", e = {
|
|
12
12
|
label: y,
|
|
13
13
|
md: T,
|
|
14
14
|
nonempty: M,
|
|
@@ -20,29 +20,29 @@ const y = "label__1f8cb11d", T = "md__dd7ae17c", M = "nonempty__ca138f53", g = "
|
|
|
20
20
|
}, E = {
|
|
21
21
|
[t.LG]: l.B2,
|
|
22
22
|
[t.MD]: l.B3
|
|
23
|
-
},
|
|
23
|
+
}, i = u(e), L = N.forwardRef((k, b) => {
|
|
24
24
|
const {
|
|
25
25
|
children: s,
|
|
26
|
-
className:
|
|
26
|
+
className: d,
|
|
27
27
|
disabled: n,
|
|
28
28
|
bulk: p,
|
|
29
29
|
labelAttributes: o,
|
|
30
30
|
size: a = t.MD,
|
|
31
31
|
...x
|
|
32
|
-
} =
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
{ [
|
|
32
|
+
} = k, h = r(e.checkbox, d, i[a]), _ = r(
|
|
33
|
+
e.label,
|
|
34
|
+
i[a],
|
|
35
|
+
{ [e.disabled]: !!n, [e.nonempty]: !!s },
|
|
36
36
|
o == null ? void 0 : o.className
|
|
37
|
-
),
|
|
38
|
-
const m =
|
|
39
|
-
return p ? /* @__PURE__ */
|
|
37
|
+
), f = () => {
|
|
38
|
+
const m = e.checkmarkIcon;
|
|
39
|
+
return p ? /* @__PURE__ */ c(z, { className: m, paletteIndex: 7 }) : /* @__PURE__ */ c(C, { className: m, paletteIndex: 7 });
|
|
40
40
|
};
|
|
41
|
-
return /* @__PURE__ */ I("label", { ...o, className:
|
|
42
|
-
/* @__PURE__ */
|
|
43
|
-
/* @__PURE__ */
|
|
44
|
-
|
|
45
|
-
s && /* @__PURE__ */
|
|
41
|
+
return /* @__PURE__ */ I("label", { ...o, className: _, "data-tx": "1.6.1", children: [
|
|
42
|
+
/* @__PURE__ */ c("input", { type: "checkbox", className: h, disabled: n, ...x, ref: b }),
|
|
43
|
+
/* @__PURE__ */ c("span", { className: e.checkboxIcon }),
|
|
44
|
+
f(),
|
|
45
|
+
s && /* @__PURE__ */ c(S, { size: E[a], children: s })
|
|
46
46
|
] });
|
|
47
47
|
});
|
|
48
48
|
L.displayName = "Checkbox";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { c as
|
|
3
|
-
const
|
|
4
|
-
checkboxXGroup:
|
|
5
|
-
"indent-12": "indent-
|
|
6
|
-
label:
|
|
7
|
-
"indent-16": "indent-
|
|
8
|
-
"indent-20": "indent-
|
|
9
|
-
"indent-24": "indent-
|
|
10
|
-
"indent-28": "indent-
|
|
11
|
-
"indent-32": "indent-
|
|
12
|
-
}, l = (
|
|
13
|
-
const { children:
|
|
14
|
-
return /* @__PURE__ */ i("div", { className: s, role: "group", ...d, children:
|
|
2
|
+
import { c as r } from "../../chunks/vendor-D3hUOusX.js";
|
|
3
|
+
const _ = "checkboxXGroup__98533823", a = "label__f9fc3a1a", e = {
|
|
4
|
+
checkboxXGroup: _,
|
|
5
|
+
"indent-12": "indent-12__0d335180",
|
|
6
|
+
label: a,
|
|
7
|
+
"indent-16": "indent-16__3f68d997",
|
|
8
|
+
"indent-20": "indent-20__ef680e68",
|
|
9
|
+
"indent-24": "indent-24__b1317f4c",
|
|
10
|
+
"indent-28": "indent-28__d4b178dd",
|
|
11
|
+
"indent-32": "indent-32__7de7220a"
|
|
12
|
+
}, l = (n) => {
|
|
13
|
+
const { children: t, className: o, indent: c = 12, ...d } = n, s = r(e.checkboxXGroup, e[`indent-${c}`], o);
|
|
14
|
+
return /* @__PURE__ */ i("div", { className: s, role: "group", ...d, children: t });
|
|
15
15
|
};
|
|
16
16
|
l.displayName = "CheckboxXGroup";
|
|
17
17
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
-
import { c as t } from "../../chunks/vendor-
|
|
3
|
-
const a = "
|
|
2
|
+
import { c as t } from "../../chunks/vendor-D3hUOusX.js";
|
|
3
|
+
const a = "checkboxYGroup__9d87b7ca", x = {
|
|
4
4
|
checkboxYGroup: a
|
|
5
5
|
}, l = (o) => {
|
|
6
6
|
const { children: c, className: s, ...r } = o, e = t(x.checkboxYGroup, s);
|