@sberbusiness/triplex-next 1.50.0 → 1.52.0
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-j0wThVzZ.js → AlertProcessSpoiler-BQ-PlA6j.js} +16 -16
- package/chunks/{AlertProcessSpoiler-j0wThVzZ.js.map → AlertProcessSpoiler-BQ-PlA6j.js.map} +1 -1
- package/chunks/{CalendarViewItem-BCcAb-X6.js → CalendarViewItem-DzgMlLlH.js} +20 -20
- package/chunks/{CalendarViewItem-BCcAb-X6.js.map → CalendarViewItem-DzgMlLlH.js.map} +1 -1
- package/chunks/Card.module-DVndDHx3.js +32 -0
- package/chunks/Card.module-DVndDHx3.js.map +1 -0
- package/chunks/Carousel.module-D9WQGi1c.js +26 -0
- package/chunks/Carousel.module-D9WQGi1c.js.map +1 -0
- package/chunks/CheckboxTreeExtended.module-CGwoKN_-.js +24 -0
- package/chunks/CheckboxTreeExtended.module-CGwoKN_-.js.map +1 -0
- package/chunks/{Chip-HiAUilI6.js → Chip-DCtXwIVE.js} +16 -16
- package/chunks/{Chip-HiAUilI6.js.map → Chip-DCtXwIVE.js.map} +1 -1
- package/chunks/Confirm.module-GtloV6ct.js +24 -0
- package/chunks/Confirm.module-GtloV6ct.js.map +1 -0
- package/chunks/{DropdownListItem-BDtBpFPH.js → DropdownListItem-DkX7SolI.js} +10 -10
- package/chunks/{DropdownListItem-BDtBpFPH.js.map → DropdownListItem-DkX7SolI.js.map} +1 -1
- package/chunks/DropdownMobile.module-UMAxYrhB.js +40 -0
- package/chunks/DropdownMobile.module-UMAxYrhB.js.map +1 -0
- package/chunks/Footer.module-C9ZPrzq8.js +12 -0
- package/chunks/Footer.module-C9ZPrzq8.js.map +1 -0
- package/chunks/{HeaderLayoutSidebar.module-CLhjV8YX.js → HeaderLayoutSidebar.module-DSmgJbQB.js} +4 -4
- package/chunks/HeaderLayoutSidebar.module-DSmgJbQB.js.map +1 -0
- package/chunks/HeaderTabs.module-MHO3tBJF.js +12 -0
- package/chunks/HeaderTabs.module-MHO3tBJF.js.map +1 -0
- package/chunks/{HeaderTitle.module-L5xbACMY.js → HeaderTitle.module-AIcDT3si.js} +4 -4
- package/chunks/HeaderTitle.module-AIcDT3si.js.map +1 -0
- package/chunks/ImageGalleryExtendedMain.module-CIVzluST.js +28 -0
- package/chunks/ImageGalleryExtendedMain.module-CIVzluST.js.map +1 -0
- package/chunks/{ImageGalleryExtendedThumb-D4Ws4ax0.js → ImageGalleryExtendedThumb-CNDXMYAQ.js} +5 -5
- package/chunks/{ImageGalleryExtendedThumb-D4Ws4ax0.js.map → ImageGalleryExtendedThumb-CNDXMYAQ.js.map} +1 -1
- package/chunks/IslandAccordion.module-CmLF3WGX.js +44 -0
- package/chunks/IslandAccordion.module-CmLF3WGX.js.map +1 -0
- package/chunks/IslandWidgetFooter.module-CUF_6WR2.js +18 -0
- package/chunks/IslandWidgetFooter.module-CUF_6WR2.js.map +1 -0
- package/chunks/IslandWidgetHeader.module-_cT499Sp.js +28 -0
- package/chunks/IslandWidgetHeader.module-_cT499Sp.js.map +1 -0
- package/chunks/{LightBoxContent-C3x8czUb.js → LightBoxContent-D57LJodq.js} +16 -16
- package/chunks/{LightBoxContent-C3x8czUb.js.map → LightBoxContent-D57LJodq.js.map} +1 -1
- package/chunks/LightBoxControls.module-BYb-Rhia.js +26 -0
- package/chunks/LightBoxControls.module-BYb-Rhia.js.map +1 -0
- package/chunks/{LightBoxSideOverlayClose.module-CQVu4Q1F.js → LightBoxSideOverlayClose.module-BShtnKHl.js} +4 -4
- package/chunks/LightBoxSideOverlayClose.module-BShtnKHl.js.map +1 -0
- package/chunks/{ListItemControlsButton-DZKgVfLa.js → ListItemControlsButton-MRVASAo0.js} +9 -9
- package/chunks/{ListItemControlsButton-DZKgVfLa.js.map → ListItemControlsButton-MRVASAo0.js.map} +1 -1
- package/chunks/ListItemTail.module-D0juSo0x.js +18 -0
- package/chunks/ListItemTail.module-D0juSo0x.js.map +1 -0
- package/chunks/ListMasterFooter.module-ivuXYkfd.js +14 -0
- package/chunks/ListMasterFooter.module-ivuXYkfd.js.map +1 -0
- package/chunks/ModalWindow.module-CWWUaDZb.js +28 -0
- package/chunks/ModalWindow.module-CWWUaDZb.js.map +1 -0
- package/chunks/Notification.module-B8ZAEh9G.js +34 -0
- package/chunks/Notification.module-B8ZAEh9G.js.map +1 -0
- package/chunks/Overlay.module-CtiKw8Dq.js +30 -0
- package/chunks/Overlay.module-CtiKw8Dq.js.map +1 -0
- package/chunks/Page.module-DyUBYgo-.js +17 -0
- package/chunks/Page.module-DyUBYgo-.js.map +1 -0
- package/chunks/SMSField.module-B9DdT9lT.js +30 -0
- package/chunks/SMSField.module-B9DdT9lT.js.map +1 -0
- package/chunks/SliderExtendedMarks.module-DDou_WlE.js +24 -0
- package/chunks/SliderExtendedMarks.module-DDou_WlE.js.map +1 -0
- package/chunks/{SliderExtendedRail-DJ-AY9GZ.js → SliderExtendedRail-DB-zuc_f.js} +5 -5
- package/chunks/{SliderExtendedRail-DJ-AY9GZ.js.map → SliderExtendedRail-DB-zuc_f.js.map} +1 -1
- package/chunks/StatusTracker.module-CvJSNkUB.js +44 -0
- package/chunks/StatusTracker.module-CvJSNkUB.js.map +1 -0
- package/chunks/{StepperStepArrowBorder-UArUUlmL.js → StepperStepArrowBorder-BVia57h0.js} +16 -16
- package/chunks/{StepperStepArrowBorder-UArUUlmL.js.map → StepperStepArrowBorder-BVia57h0.js.map} +1 -1
- package/chunks/{SuggestFieldMobileDropdownHint-BogTgDdU.js → SuggestFieldMobileDropdownHint-Bd5V-v7D.js} +3 -3
- package/chunks/{SuggestFieldMobileDropdownHint-BogTgDdU.js.map → SuggestFieldMobileDropdownHint-Bd5V-v7D.js.map} +1 -1
- package/chunks/TableFooter.module-BUwVEilh.js +22 -0
- package/chunks/TableFooter.module-BUwVEilh.js.map +1 -0
- package/chunks/TabsExtended.module-DFVoru97.js +26 -0
- package/chunks/TabsExtended.module-DFVoru97.js.map +1 -0
- package/chunks/TabsLine.module-qil8v0MJ.js +36 -0
- package/chunks/TabsLine.module-qil8v0MJ.js.map +1 -0
- package/chunks/TooltipDesktop.module-P0sKj6LV.js +32 -0
- package/chunks/TooltipDesktop.module-P0sKj6LV.js.map +1 -0
- package/chunks/TreeView.module-2FuWZMt0.js +12 -0
- package/chunks/TreeView.module-2FuWZMt0.js.map +1 -0
- package/chunks/{UploadZoneInput-Dne6D9Xv.js → UploadZoneInput-nnI1y5rq.js} +5 -5
- package/chunks/{UploadZoneInput-Dne6D9Xv.js.map → UploadZoneInput-nnI1y5rq.js.map} +1 -1
- package/chunks/{constants-kTbOu3rB.js → constants-CB-4VZ_D.js} +27 -27
- package/chunks/{constants-kTbOu3rB.js.map → constants-CB-4VZ_D.js.map} +1 -1
- package/chunks/{utils-aCX4wxJN.js → utils-B1JQm06g.js} +10 -10
- package/chunks/{utils-aCX4wxJN.js.map → utils-B1JQm06g.js.map} +1 -1
- package/chunks/{utils-DwZMn3Pm.js → utils-B7-CS58J.js} +11 -11
- package/chunks/{utils-DwZMn3Pm.js.map → utils-B7-CS58J.js.map} +1 -1
- package/chunks/{utils-QB9OKYfu.js → utils-DfaitlVx.js} +27 -27
- package/chunks/{utils-QB9OKYfu.js.map → utils-DfaitlVx.js.map} +1 -1
- package/chunks/{utils-CpB4d_7x.js → utils-SVi0Xiqy.js} +6 -6
- package/chunks/{utils-CpB4d_7x.js.map → utils-SVi0Xiqy.js.map} +1 -1
- package/components/Alert/AlertContext/AlertContext.js +7 -7
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +2 -2
- package/components/AmountField/AmountField.js +8 -8
- package/components/Avatar/Avatar.js +13 -13
- package/components/Badge/Badge.js +4 -4
- package/components/Badge/BadgeDot.js +4 -4
- package/components/Badge/components/BadgeContent.js +6 -6
- package/components/Badge/components/BadgePostfix.js +1 -1
- package/components/Badge/components/BadgePrefix.js +1 -1
- package/components/Body/Body.js +3 -3
- package/components/Button/Button.js +20 -20
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +8 -8
- package/components/Button/ButtonDropdownExtended.js +2 -2
- package/components/Button/ButtonIcon.js +3 -3
- package/components/Calendar/Calendar.js +4 -4
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarViewDays.js +1 -1
- package/components/Calendar/components/CalendarViewItem.js +1 -1
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +5 -5
- package/components/Card/CardStatic.js +2 -2
- package/components/Card/components/CardContent/CardContent.js +1 -1
- package/components/Card/components/CardContent/components/CardContentBody.js +1 -1
- package/components/Card/components/CardContent/components/CardContentFooter.js +1 -1
- package/components/Card/components/CardContent/components/CardContentHeader.js +1 -1
- package/components/Card/components/CardMedia.js +1 -1
- package/components/Card/utils.js +1 -1
- package/components/Carousel/Carousel.js +21 -16
- package/components/Carousel/Carousel.js.map +1 -1
- package/components/Carousel/CarouselButton.js +6 -6
- package/components/Carousel/CarouselButton.js.map +1 -1
- package/components/Carousel/CarouselContext.js +4 -4
- package/components/Carousel/CarouselContext.js.map +1 -1
- package/components/Carousel/CarouselIndicators.js +13 -190
- package/components/Carousel/CarouselIndicators.js.map +1 -1
- package/components/Carousel/CarouselItem.js +3 -3
- package/components/Carousel/CarouselItem.js.map +1 -1
- package/components/Carousel/CarouselTrack.js +2 -2
- package/components/Carousel/CarouselTrack.js.map +1 -1
- package/components/Carousel/CarouselViewport.js +7 -7
- package/components/Carousel/CarouselViewport.js.map +1 -1
- package/components/Carousel/constants.js +3 -3
- package/components/Carousel/constants.js.map +1 -1
- package/components/Carousel/enums.js +0 -6
- package/components/Carousel/enums.js.map +1 -1
- package/components/Carousel/index.js +1 -2
- package/components/Carousel/utils.js +1 -23
- package/components/Carousel/utils.js.map +1 -1
- package/components/CarouselExtended/CarouselExtended.js +1 -1
- package/components/Checkbox/Checkbox.js +10 -10
- package/components/Checkbox/CheckboxXGroup.js +8 -8
- package/components/Checkbox/CheckboxYGroup.js +1 -1
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +1 -1
- package/components/Chip/Chip.js +1 -1
- package/components/Chip/ChipClearButton.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +2 -2
- package/components/Chip/ChipDatePicker/ChipDatePicker.js.map +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js.map +1 -1
- package/components/Chip/ChipDropdownArrow.js +2 -2
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMonthYearPicker/ChipMonthYearPicker.js +1 -1
- package/components/Chip/ChipMonthYearPicker/ChipMonthYearPickerTarget.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +2 -2
- package/components/Chip/ChipSelect/ChipSelect.js +1 -1
- package/components/Chip/ChipSelect/ChipSelect.js.map +1 -1
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +1 -1
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +7 -7
- package/components/Col/Col.js +132 -132
- package/components/CollapsibleTree/CollapsibleTree.js +1 -1
- package/components/CollapsibleTree/components/CollapsibleTreeLeafContent.js +1 -1
- package/components/CollapsibleTree/components/CollapsibleTreeLeafNode.js +1 -1
- package/components/CollapsibleTree/components/CollapsibleTreeNodeHeader.js +4 -4
- package/components/CollapsibleTreeExtended/components/CollapsibleTreeExtendedNode.js +1 -1
- package/components/Confirm/Confirm.js +1 -1
- package/components/Confirm/components/ConfirmCloseButton.js +1 -1
- package/components/Confirm/components/ConfirmContent.js +1 -1
- package/components/Confirm/components/ConfirmContentTitle.js +1 -1
- package/components/Confirm/components/ConfirmControls.js +1 -1
- package/components/DateField/DateFieldTarget.js +4 -4
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +1 -1
- package/components/DateRange/DateRange.js +20 -16
- package/components/DateRange/DateRange.js.map +1 -1
- package/components/DateRange/utils.js +10 -3
- package/components/DateRange/utils.js.map +1 -1
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/DesignTokensComponents.js +5 -0
- package/components/DesignTokens/DesignTokensComponents.js.map +1 -1
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +5 -0
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js.map +1 -1
- package/components/DesignTokens/components/Carousel.js +2 -29
- package/components/DesignTokens/components/Carousel.js.map +1 -1
- package/components/DesignTokens/components/ImageGallery.js +0 -9
- package/components/DesignTokens/components/ImageGallery.js.map +1 -1
- package/components/DesignTokens/components/PageIndicators.js +36 -0
- package/components/DesignTokens/components/PageIndicators.js.map +1 -0
- package/components/DesignTokens/components/index.js +3 -0
- package/components/DesignTokens/components/index.js.map +1 -1
- package/components/DesignTokens/types/DesignTokensTypes.js.map +1 -1
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +3 -3
- package/components/Dropdown/desktop/DropdownDesktop.js +6 -6
- package/components/Dropdown/desktop/DropdownList.js +1 -1
- package/components/Dropdown/desktop/DropdownListItem.js +1 -1
- 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 +1 -1
- package/components/Dropdown/mobile/DropdownMobileClose.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileFooter.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileHeader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInner.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInput.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileLoader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +1 -1
- package/components/Ellipsis/Ellipsis.js +3 -3
- package/components/EmptyView/EmptyView.js +14 -9
- package/components/EmptyView/EmptyView.js.map +1 -1
- package/components/ExpandAnimation/ExpandAnimation.js +1 -1
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +1 -1
- package/components/Footer/components/FooterDescriptionContent.js +1 -1
- package/components/Footer/components/FooterDescriptionControls.js +1 -1
- package/components/FormField/FormField.js +11 -11
- package/components/FormField/components/FormFieldClear.js +1 -1
- package/components/FormField/components/FormFieldCounter.js +1 -1
- package/components/FormField/components/FormFieldDescription.js +2 -2
- package/components/FormField/components/FormFieldInput.js +4 -4
- package/components/FormField/components/FormFieldLabel.js +7 -7
- package/components/FormField/components/FormFieldMaskedInput.js +8 -8
- package/components/FormField/components/FormFieldPostfix.js +1 -1
- package/components/FormField/components/FormFieldPrefix.js +1 -1
- package/components/FormField/components/FormFieldTarget.js +8 -8
- package/components/FormField/components/FormFieldTextarea.js +4 -4
- package/components/Gap/Gap.js +8 -8
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +1 -1
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabs.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitle.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +1 -1
- package/components/HelpBox/HelpBox.js +1 -1
- package/components/IconWrapper/IconWrapper.js +2 -2
- package/components/ImageGallery/ImageGallery.js +5 -5
- package/components/ImageGallery/ImageGallery.js.map +1 -1
- package/components/ImageGalleryExtended/ImageGalleryExtended.js +4 -4
- package/components/ImageGalleryExtended/ImageGalleryExtended.js.map +1 -1
- package/components/ImageGalleryExtended/ImageGalleryExtendedContext.js.map +1 -1
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedArrow.js +1 -1
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedMain.js +1 -1
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedPageIndicators.js +39 -0
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedPageIndicators.js.map +1 -0
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedSlide.js +1 -1
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedSwipeTrack.js +1 -1
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedThumb.js +1 -1
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedThumbnails.js +1 -1
- package/components/ImageGalleryExtended/components/index.js +3 -3
- package/components/ImageGalleryExtended/index.js +3 -3
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +1 -1
- package/components/Island/components/IslandFooter.js +1 -1
- package/components/Island/components/IslandHeader.js +1 -1
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +2 -2
- package/components/IslandWidget/IslandWidget.js +3 -3
- package/components/IslandWidget/components/IslandWidgetBody.js +4 -4
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooter.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderTitle.js +1 -1
- package/components/IslandWidget/components/IslandWidgetWrapper.js +1 -1
- package/components/LightBox/LightBox.js +5 -5
- package/components/LightBox/LightBoxContent.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxArrow.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxClose.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxControls.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxNext.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +12 -12
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +3 -3
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +3 -3
- package/components/Link/Link.js +5 -5
- package/components/List/List.js +3 -3
- package/components/List/components/ListActionItem.js +1 -1
- package/components/List/components/ListEmptyState.js +1 -1
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +4 -4
- package/components/List/components/ListItemControls.js +1 -1
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +1 -1
- package/components/List/components/ListItemLoading.js +1 -1
- package/components/List/components/ListItemSelectable.js +6 -6
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +2 -2
- package/components/List/components/ListSortableItemControls.js +1 -1
- package/components/List/components/ListSortableItemTarget.js +4 -4
- package/components/List/components/ListTableItem.js +3 -3
- 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 +1 -1
- package/components/ListMaster/components/ListMasterFooter.js +1 -1
- package/components/ListMaster/components/ListMasterFooterControls.js +1 -1
- package/components/ListMaster/components/ListMasterFooterDescription.js +1 -1
- package/components/ListMaster/components/ListMasterHeader.js +2 -2
- package/components/ListMaster/components/SelectionControls.js +2 -2
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +8 -8
- package/components/Loader/LoaderSmall/LoaderSmall.js +10 -10
- package/components/LoaderScreen/LoaderScreen.js +5 -5
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +7 -7
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +1 -1
- package/components/ModalWindow/components/ModalWindowClose.js +1 -1
- package/components/ModalWindow/components/ModalWindowContent.js +1 -1
- package/components/ModalWindow/components/ModalWindowHeader.js +1 -1
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MonthYearField/MonthYearFieldTarget.js +4 -4
- package/components/MonthYearRange/MonthYearRange.js +27 -45
- package/components/MonthYearRange/MonthYearRange.js.map +1 -1
- package/components/MonthYearRange/types.js +2 -0
- package/components/MonthYearRange/types.js.map +1 -0
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +5 -5
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +1 -1
- package/components/Notification/Notification.js +2 -2
- package/components/Notification/NotificationGrouped.js +2 -2
- package/components/Notification/NotificationGrouped.js.map +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +1 -1
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js.map +1 -1
- 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/NumberField/NumberField.js +3 -1
- package/components/NumberField/NumberField.js.map +1 -1
- package/components/NumberField/NumberFieldInput.js +25 -27
- package/components/NumberField/NumberFieldInput.js.map +1 -1
- package/components/OrderedList/OrderedList.js +18 -15
- package/components/OrderedList/OrderedList.js.map +1 -1
- package/components/OrderedList/OrderedListItem.js +2 -2
- package/components/Overlay/Overlay.js +1 -1
- package/components/Overlay/OverlayMask.js +1 -1
- package/components/Overlay/OverlayPanel.js +1 -1
- package/components/Page/Page.js +1 -1
- package/components/Page/components/BodyPage.js +7 -7
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/PageIndicators/PageIndicators.js +223 -0
- package/components/PageIndicators/PageIndicators.js.map +1 -0
- package/components/PageIndicators/index.js +5 -0
- package/components/PageIndicators/index.js.map +1 -0
- package/components/PageIndicators/types.js +2 -0
- package/components/PageIndicators/types.js.map +1 -0
- package/components/Pagination/components/PaginationExtended.js +3 -3
- package/components/Pagination/components/PaginationExtended.js.map +1 -1
- package/components/Pagination/components/PaginationNavigationButton.js +2 -2
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationNavigationExtended.js.map +1 -1
- package/components/Pagination/components/PaginationPageButton.js +2 -2
- package/components/Pagination/components/PaginationPageEllipsis.js +1 -1
- package/components/Pagination/components/PaginationSelect.js +2 -2
- package/components/Radio/Radio.js +9 -9
- package/components/Radio/RadioXGroup.js +8 -8
- package/components/Radio/RadioYGroup.js +1 -1
- package/components/Row/Row.js +4 -4
- package/components/SMSField/SMSField.js +54 -41
- package/components/SMSField/SMSField.js.map +1 -1
- package/components/SMSField/components/RefreshIcon.js +1 -1
- package/components/SMSField/components/RefreshIcon.js.map +1 -1
- package/components/SMSField/components/SMSFieldInput.js +17 -16
- package/components/SMSField/components/SMSFieldInput.js.map +1 -1
- package/components/SMSField/components/SMSFieldRefresh.js +6 -13
- package/components/SMSField/components/SMSFieldRefresh.js.map +1 -1
- package/components/SMSField/components/SMSFieldSubmit.js +30 -27
- package/components/SMSField/components/SMSFieldSubmit.js.map +1 -1
- package/components/SMSField/components/SMSFieldTooltip.js +7 -9
- package/components/SMSField/components/SMSFieldTooltip.js.map +1 -1
- package/components/SegmentedControl/SegmentedControl.js +9 -9
- package/components/SegmentedControl/SegmentedControlSegment.js +3 -3
- package/components/SelectExtendedField/SelectExtendedField.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +7 -7
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +5 -5
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +5 -5
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +1 -1
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +1 -1
- package/components/SliderExtended/components/SliderExtendedRail.js +1 -1
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +4 -4
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +6 -6
- package/components/SmallInput/SmallInput.js +1 -1
- package/components/Spoiler/Spoiler.js +10 -10
- package/components/StatusTracker/StatusTracker.js +2 -2
- package/components/StatusTracker/components/StatusTrackerAlert.js +1 -1
- package/components/StatusTracker/components/StatusTrackerBody.js +1 -1
- package/components/StatusTracker/components/StatusTrackerButton.js +1 -1
- package/components/StatusTracker/components/StatusTrackerDescription.js +1 -1
- package/components/StatusTracker/components/StatusTrackerFooter.js +1 -1
- package/components/StatusTracker/components/StatusTrackerHeader.js +1 -1
- package/components/StatusTracker/components/StatusTrackerMedia.js +1 -1
- package/components/StatusTracker/components/StatusTrackerStatus.js +1 -1
- package/components/StatusTracker/components/StatusTrackerStatusGroup.js +1 -1
- package/components/StatusTracker/components/StatusTrackerSum.js +1 -1
- package/components/StatusTracker/components/StatusTrackerTitle.js +1 -1
- package/components/Step/Step.js +10 -10
- package/components/Stepper/Stepper.js +8 -8
- package/components/Stepper/StepperExtended.js +1 -1
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperStepArrowBorder.js +1 -1
- package/components/Suggest/SuggestMobileDropdownContent.js +3 -3
- package/components/SuggestField/SuggestField.js +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +1 -1
- 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 +8 -8
- package/components/Table/ChipPanel.js +1 -1
- package/components/Table/ChipPanelLinks.js +1 -1
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +2 -2
- package/components/Table/NoColumns.js +2 -2
- package/components/Table/PaginationPanel.js +2 -2
- package/components/Table/TableBasic/TableBasic.js +1 -1
- package/components/Table/TableBasic/components/TableBasicBody.js +1 -1
- package/components/Table/TableBasic/components/TableBasicHeader.js +1 -1
- package/components/Table/TableBasic/components/TableBasicRow.js +1 -1
- package/components/Table/TableBasicSettings/TableBasicSettings.js +2 -2
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +2 -2
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +1 -1
- package/components/Table/TableFooter/TableFooter.js +1 -1
- 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/utils.js +1 -1
- package/components/Tabs/Tabs.js +8 -8
- package/components/TabsExtended/TabsExtended.js +2 -2
- package/components/TabsExtended/components/TabsExtendedContent.js +1 -1
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTab.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabButton.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +1 -1
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +1 -1
- package/components/TabsLine/components/TabsLineDesktop.js +1 -1
- package/components/TabsLine/components/TabsLineDropdown.js +2 -2
- package/components/TabsLine/components/TabsLineItem.js +1 -1
- package/components/TabsLine/components/TabsLineMobile.js +2 -2
- package/components/Tag/Tag.js +5 -5
- package/components/TagColor/TagColor.js +10 -10
- package/components/TagGroup/TagGroup.js +4 -4
- package/components/Tooltip/components/common/TooltipBody.js +1 -1
- package/components/Tooltip/components/common/TooltipLink.js +4 -4
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +1 -1
- package/components/Tooltip/components/mobile/TooltipMobile.js +4 -4
- package/components/TopOverlay/TopOverlay.js +6 -6
- package/components/TreeView/TreeView.js +1 -1
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +1 -1
- package/components/Typography/Caption.js +7 -7
- package/components/Typography/CodeText.js +2 -2
- package/components/Typography/Text.js +9 -9
- package/components/Typography/Title.js +9 -9
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedListExtended/UnorderedListExtended.js +2 -2
- package/components/UnorderedListExtended/UnorderedListExtendedItem.js +2 -2
- package/components/UnorderedListExtended/UnorderedListExtendedItemMarker.js +3 -3
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/UploadZone/index.js +1 -1
- package/components/index.js +11 -10
- package/components/index.js.map +1 -1
- package/enums/EOrientation.js +9 -0
- package/enums/EOrientation.js.map +1 -0
- package/enums/index.js +3 -1
- package/enums/index.js.map +1 -1
- package/index.d.ts +189 -99
- package/index.js +13 -10
- package/index.js.map +1 -1
- package/package.json +5 -1
- package/styles/triplex-next.css +3062 -3073
- package/utils/refs.js +25 -0
- package/utils/refs.js.map +1 -0
- package/chunks/Card.module-BgGathht.js +0 -32
- package/chunks/Card.module-BgGathht.js.map +0 -1
- package/chunks/Carousel.module-DbmVe45I.js +0 -30
- package/chunks/Carousel.module-DbmVe45I.js.map +0 -1
- package/chunks/CheckboxTreeExtended.module-lrAhb-JM.js +0 -24
- package/chunks/CheckboxTreeExtended.module-lrAhb-JM.js.map +0 -1
- package/chunks/Confirm.module-Btu_s_B3.js +0 -24
- package/chunks/Confirm.module-Btu_s_B3.js.map +0 -1
- package/chunks/DropdownMobile.module-Coly2dBq.js +0 -40
- package/chunks/DropdownMobile.module-Coly2dBq.js.map +0 -1
- package/chunks/Footer.module-CMT_QTyt.js +0 -12
- package/chunks/Footer.module-CMT_QTyt.js.map +0 -1
- package/chunks/HeaderLayoutSidebar.module-CLhjV8YX.js.map +0 -1
- package/chunks/HeaderTabs.module-15nUfmri.js +0 -12
- package/chunks/HeaderTabs.module-15nUfmri.js.map +0 -1
- package/chunks/HeaderTitle.module-L5xbACMY.js.map +0 -1
- package/chunks/ImageGalleryExtendedMain.module-NWp-c6Ht.js +0 -28
- package/chunks/ImageGalleryExtendedMain.module-NWp-c6Ht.js.map +0 -1
- package/chunks/IslandAccordion.module-Bowpgf8f.js +0 -44
- package/chunks/IslandAccordion.module-Bowpgf8f.js.map +0 -1
- package/chunks/IslandWidgetFooter.module-Ds3Pu4f2.js +0 -18
- package/chunks/IslandWidgetFooter.module-Ds3Pu4f2.js.map +0 -1
- package/chunks/IslandWidgetHeader.module-BcEtSLGh.js +0 -28
- package/chunks/IslandWidgetHeader.module-BcEtSLGh.js.map +0 -1
- package/chunks/LightBoxControls.module-Dm4NcLwN.js +0 -26
- package/chunks/LightBoxControls.module-Dm4NcLwN.js.map +0 -1
- package/chunks/LightBoxSideOverlayClose.module-CQVu4Q1F.js.map +0 -1
- package/chunks/ListItemTail.module-DpKR3Mxq.js +0 -18
- package/chunks/ListItemTail.module-DpKR3Mxq.js.map +0 -1
- package/chunks/ListMasterFooter.module-VoIrJbom.js +0 -14
- package/chunks/ListMasterFooter.module-VoIrJbom.js.map +0 -1
- package/chunks/ModalWindow.module-D_kBZ7O8.js +0 -28
- package/chunks/ModalWindow.module-D_kBZ7O8.js.map +0 -1
- package/chunks/Notification.module-D6HiZ6Jt.js +0 -34
- package/chunks/Notification.module-D6HiZ6Jt.js.map +0 -1
- package/chunks/Overlay.module-BNLC7R-z.js +0 -30
- package/chunks/Overlay.module-BNLC7R-z.js.map +0 -1
- package/chunks/Page.module-CIIKtXO3.js +0 -17
- package/chunks/Page.module-CIIKtXO3.js.map +0 -1
- package/chunks/SMSField.module-CXQtdBIm.js +0 -30
- package/chunks/SMSField.module-CXQtdBIm.js.map +0 -1
- package/chunks/SliderExtendedMarks.module-DfS3xeG5.js +0 -24
- package/chunks/SliderExtendedMarks.module-DfS3xeG5.js.map +0 -1
- package/chunks/StatusTracker.module-CyB7fUmf.js +0 -44
- package/chunks/StatusTracker.module-CyB7fUmf.js.map +0 -1
- package/chunks/TableFooter.module-D3fdigOM.js +0 -22
- package/chunks/TableFooter.module-D3fdigOM.js.map +0 -1
- package/chunks/TabsExtended.module-jwxLpxEH.js +0 -26
- package/chunks/TabsExtended.module-jwxLpxEH.js.map +0 -1
- package/chunks/TabsLine.module-DOyLDwGW.js +0 -36
- package/chunks/TabsLine.module-DOyLDwGW.js.map +0 -1
- package/chunks/TooltipDesktop.module-Bu2xz65U.js +0 -32
- package/chunks/TooltipDesktop.module-Bu2xz65U.js.map +0 -1
- package/chunks/TreeView.module-CaCtjc5I.js +0 -12
- package/chunks/TreeView.module-CaCtjc5I.js.map +0 -1
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedDots.js +0 -46
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedDots.js.map +0 -1
|
@@ -3,7 +3,7 @@ import { c as clsx } from "../../../chunks/vendor-CUIykw0y.js";
|
|
|
3
3
|
import { Island } from "../../Island/Island.js";
|
|
4
4
|
import { EComponentSize } from "../../../enums/EComponentSize.js";
|
|
5
5
|
import { EIslandType } from "../../Island/enums.js";
|
|
6
|
-
const modalWindowBody = "
|
|
6
|
+
const modalWindowBody = "modalWindowBody__6ea4a2d5";
|
|
7
7
|
const styles = {
|
|
8
8
|
modalWindowBody
|
|
9
9
|
};
|
|
@@ -6,7 +6,7 @@ import { EButtonTheme } from "../../Button/enums.js";
|
|
|
6
6
|
import { TriggerClickOnKeyDownEvent } from "../../Triggers/TriggerClickOnKeyDownEvent.js";
|
|
7
7
|
import { EComponentSize } from "../../../enums/EComponentSize.js";
|
|
8
8
|
import { EVENT_KEY_CODES } from "../../../utils/keyboard.js";
|
|
9
|
-
const modalWindowClose = "
|
|
9
|
+
const modalWindowClose = "modalWindowClose__ea1c391b";
|
|
10
10
|
const styles = {
|
|
11
11
|
modalWindowClose
|
|
12
12
|
};
|
|
@@ -2,7 +2,7 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { c as clsx } from "../../../chunks/vendor-CUIykw0y.js";
|
|
3
3
|
import React__default from "react";
|
|
4
4
|
import { LoaderScreen } from "../../LoaderScreen/LoaderScreen.js";
|
|
5
|
-
import { s as styles } from "../../../chunks/ModalWindow.module-
|
|
5
|
+
import { s as styles } from "../../../chunks/ModalWindow.module-CWWUaDZb.js";
|
|
6
6
|
import { Page } from "../../Page/Page.js";
|
|
7
7
|
const ModalWindowContent = React__default.forwardRef(
|
|
8
8
|
({ isLoading, className, loaderScreenProps, children, ...rest }, ref) => /* @__PURE__ */ jsxs(
|
|
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { HeaderPage } from "../../Page/components/HeaderPage.js";
|
|
3
3
|
import { EHeaderPageType } from "../../Page/components/enums.js";
|
|
4
4
|
import { c as clsx } from "../../../chunks/vendor-CUIykw0y.js";
|
|
5
|
-
const modalWindowHeader = "
|
|
5
|
+
const modalWindowHeader = "modalWindowHeader__58c3b942";
|
|
6
6
|
const styles = {
|
|
7
7
|
modalWindowHeader
|
|
8
8
|
};
|
|
@@ -2,7 +2,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import React__default, { useState, useRef, useLayoutEffect } from "react";
|
|
3
3
|
import { g as useResizeDetector, i as isEqual, p as pick } from "../../../chunks/vendor-CUIykw0y.js";
|
|
4
4
|
import { Portal } from "../../Portal/Portal.js";
|
|
5
|
-
import { s as styles } from "../../../chunks/ModalWindow.module-
|
|
5
|
+
import { s as styles } from "../../../chunks/ModalWindow.module-CWWUaDZb.js";
|
|
6
6
|
const modalWindowViewManagerNodeId = "modalWindowViewManagerNodeId";
|
|
7
7
|
const getOrCreateModalWindowViewManagerNode = () => {
|
|
8
8
|
let node = document.querySelector(`#${modalWindowViewManagerNodeId}`);
|
|
@@ -11,10 +11,10 @@ import { useMobileView } from "../MobileView/useMobileView.js";
|
|
|
11
11
|
import { isKey } from "../../utils/keyboard.js";
|
|
12
12
|
import { EComponentSize } from "../../enums/EComponentSize.js";
|
|
13
13
|
import { EFormFieldStatus } from "../FormField/enums.js";
|
|
14
|
-
const monthYearFieldTarget = "
|
|
15
|
-
const minWidthSM = "
|
|
16
|
-
const minWidthMD = "
|
|
17
|
-
const minWidthLG = "
|
|
14
|
+
const monthYearFieldTarget = "monthYearFieldTarget__6bde6123";
|
|
15
|
+
const minWidthSM = "minWidthSM__33e2da12";
|
|
16
|
+
const minWidthMD = "minWidthMD__f7b00544";
|
|
17
|
+
const minWidthLG = "minWidthLG__7079eb2e";
|
|
18
18
|
const styles = {
|
|
19
19
|
monthYearFieldTarget,
|
|
20
20
|
minWidthSM,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import moment from "moment";
|
|
4
3
|
import { CaretleftStrokeSrvIcon20, RangeStrokeSrvIcon16, CaretrightStrokeSrvIcon20 } from "@sberbusiness/icons-next";
|
|
5
4
|
import { c as clsx } from "../../chunks/vendor-CUIykw0y.js";
|
|
6
5
|
import { dateFormatYYYYMMDD } from "../../consts/DateConst.js";
|
|
6
|
+
import { shiftDateRange, isDateAfter } from "../DateRange/utils.js";
|
|
7
7
|
import { EMonthYearRangeShiftUnit } from "./enums.js";
|
|
8
|
-
const monthYearRange = "
|
|
9
|
-
const monthYearRangeButton = "
|
|
10
|
-
const separator = "
|
|
8
|
+
const monthYearRange = "monthYearRange__c9e3caee";
|
|
9
|
+
const monthYearRangeButton = "monthYearRangeButton__ea262974";
|
|
10
|
+
const separator = "separator__cab1c0a9";
|
|
11
11
|
const styles = {
|
|
12
12
|
monthYearRange,
|
|
13
13
|
monthYearRangeButton,
|
|
@@ -17,81 +17,63 @@ const MonthYearRange = React__default.forwardRef(
|
|
|
17
17
|
({
|
|
18
18
|
className,
|
|
19
19
|
value,
|
|
20
|
-
|
|
20
|
+
format = dateFormatYYYYMMDD,
|
|
21
21
|
shiftAmount = 1,
|
|
22
22
|
shiftUnit = EMonthYearRangeShiftUnit.MONTH,
|
|
23
23
|
hideNavigation,
|
|
24
|
+
onChange,
|
|
24
25
|
renderPickerFrom,
|
|
25
26
|
renderPickerTo,
|
|
26
27
|
renderButtonForward,
|
|
27
28
|
renderButtonBack,
|
|
28
|
-
...
|
|
29
|
+
...restProps
|
|
29
30
|
}, ref) => {
|
|
30
31
|
const [start, end] = value;
|
|
31
32
|
const classNames = clsx(styles.monthYearRange, className);
|
|
33
|
+
const shiftDisabled = !(start && end);
|
|
32
34
|
const handleChangePickerFrom = (date) => {
|
|
33
|
-
if (!date || !end || date
|
|
35
|
+
if (!date || !end || !isDateAfter(date, end, format)) {
|
|
34
36
|
onChange([date, end]);
|
|
35
37
|
} else {
|
|
36
38
|
onChange([date, ""]);
|
|
37
39
|
}
|
|
38
40
|
};
|
|
39
41
|
const handleChangePickerTo = (date) => {
|
|
40
|
-
if (!date || !start || date
|
|
42
|
+
if (!date || !start || !isDateAfter(start, date, format)) {
|
|
41
43
|
onChange([start, date]);
|
|
42
44
|
} else {
|
|
43
45
|
onChange(["", date]);
|
|
44
46
|
}
|
|
45
47
|
};
|
|
46
|
-
const
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
const momentStart = moment(start, dateFormatYYYYMMDD, true);
|
|
51
|
-
const momentEnd = moment(end, dateFormatYYYYMMDD, true);
|
|
52
|
-
if (!momentStart.isValid() || !momentEnd.isValid()) {
|
|
53
|
-
return;
|
|
54
|
-
}
|
|
55
|
-
onChange([
|
|
56
|
-
momentStart.subtract(shiftAmount, shiftUnit).format(dateFormatYYYYMMDD),
|
|
57
|
-
momentEnd.subtract(shiftAmount, shiftUnit).format(dateFormatYYYYMMDD)
|
|
58
|
-
]);
|
|
59
|
-
};
|
|
60
|
-
const shiftRangeForward = () => {
|
|
61
|
-
if (!start || !end) {
|
|
62
|
-
return;
|
|
63
|
-
}
|
|
64
|
-
const momentStart = moment(start, dateFormatYYYYMMDD, true);
|
|
65
|
-
const momentEnd = moment(end, dateFormatYYYYMMDD, true);
|
|
66
|
-
if (!momentStart.isValid() || !momentEnd.isValid()) {
|
|
67
|
-
return;
|
|
48
|
+
const shiftRange = (amount) => {
|
|
49
|
+
const shiftedValue = shiftDateRange(value, amount, shiftUnit, format);
|
|
50
|
+
if (shiftedValue) {
|
|
51
|
+
onChange(shiftedValue);
|
|
68
52
|
}
|
|
69
|
-
onChange([
|
|
70
|
-
momentStart.add(shiftAmount, shiftUnit).format(dateFormatYYYYMMDD),
|
|
71
|
-
momentEnd.add(shiftAmount, shiftUnit).format(dateFormatYYYYMMDD)
|
|
72
|
-
]);
|
|
73
53
|
};
|
|
74
|
-
return /* @__PURE__ */ jsxs("div", { className: classNames, ...
|
|
54
|
+
return /* @__PURE__ */ jsxs("div", { className: classNames, ...restProps, ref, children: [
|
|
75
55
|
!hideNavigation && renderButtonBack({
|
|
76
56
|
children: /* @__PURE__ */ jsx(CaretleftStrokeSrvIcon20, { paletteIndex: 5 }),
|
|
77
|
-
className:
|
|
78
|
-
disabled:
|
|
79
|
-
onClick:
|
|
57
|
+
className: styles.monthYearRangeButton,
|
|
58
|
+
disabled: shiftDisabled,
|
|
59
|
+
onClick: () => shiftRange(-shiftAmount)
|
|
80
60
|
}),
|
|
81
61
|
renderPickerFrom({
|
|
82
|
-
|
|
83
|
-
|
|
62
|
+
value: start,
|
|
63
|
+
format,
|
|
64
|
+
onChange: handleChangePickerFrom
|
|
84
65
|
}),
|
|
85
66
|
/* @__PURE__ */ jsx(RangeStrokeSrvIcon16, { className: styles.separator, paletteIndex: 5 }),
|
|
86
67
|
renderPickerTo({
|
|
87
|
-
|
|
88
|
-
|
|
68
|
+
value: end,
|
|
69
|
+
format,
|
|
70
|
+
onChange: handleChangePickerTo
|
|
89
71
|
}),
|
|
90
72
|
!hideNavigation && renderButtonForward({
|
|
91
73
|
children: /* @__PURE__ */ jsx(CaretrightStrokeSrvIcon20, { paletteIndex: 5 }),
|
|
92
|
-
className:
|
|
93
|
-
disabled:
|
|
94
|
-
onClick:
|
|
74
|
+
className: styles.monthYearRangeButton,
|
|
75
|
+
disabled: shiftDisabled,
|
|
76
|
+
onClick: () => shiftRange(shiftAmount)
|
|
95
77
|
})
|
|
96
78
|
] });
|
|
97
79
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MonthYearRange.js","sources":["../../../src/components/MonthYearRange/MonthYearRange.tsx"],"sourcesContent":["import React from \"react\";\nimport
|
|
1
|
+
{"version":3,"file":"MonthYearRange.js","sources":["../../../src/components/MonthYearRange/MonthYearRange.tsx"],"sourcesContent":["import React from \"react\";\nimport { RangeStrokeSrvIcon16, CaretleftStrokeSrvIcon20, CaretrightStrokeSrvIcon20 } from \"@sberbusiness/icons-next\";\nimport clsx from \"clsx\";\nimport { dateFormatYYYYMMDD } from \"../../consts/DateConst\";\nimport { isDateAfter, shiftDateRange } from \"../DateRange/utils\";\nimport { EMonthYearRangeShiftUnit } from \"./enums\";\nimport { IMonthYearRangeProps } from \"./types\";\nimport styles from \"./styles/MonthYearRange.module.less\";\n\n/**\n * Выбор диапазона месяцев: поля «от» и «до» и кнопки сдвига диапазона назад и вперёд.\n * Поля и кнопки рендерит потребитель через render-props.\n */\nexport const MonthYearRange = React.forwardRef<HTMLDivElement, IMonthYearRangeProps>(\n (\n {\n className,\n value,\n format = dateFormatYYYYMMDD,\n shiftAmount = 1,\n shiftUnit = EMonthYearRangeShiftUnit.MONTH,\n hideNavigation,\n onChange,\n renderPickerFrom,\n renderPickerTo,\n renderButtonForward,\n renderButtonBack,\n ...restProps\n },\n ref,\n ) => {\n const [start, end] = value;\n const classNames = clsx(styles.monthYearRange, className);\n /** Сдвиг возможен только при обеих заполненных границах диапазона. */\n const shiftDisabled = !(start && end);\n\n /** Обработчик изменения значения в поле выбора месяца \"от\". Сбрасывает месяц \"до\", если он оказался меньше. */\n const handleChangePickerFrom = (date: string) => {\n if (!date || !end || !isDateAfter(date, end, format)) {\n onChange([date, end]);\n } else {\n onChange([date, \"\"]);\n }\n };\n\n /** Обработчик изменения значения в поле выбора месяца \"до\". Сбрасывает месяц \"от\", если он оказался больше. */\n const handleChangePickerTo = (date: string) => {\n if (!date || !start || !isDateAfter(start, date, format)) {\n onChange([start, date]);\n } else {\n onChange([\"\", date]);\n }\n };\n\n /** Смещает обе границы диапазона на amount единиц. Неполный или невалидный диапазон не сдвигается. */\n const shiftRange = (amount: number) => {\n const shiftedValue = shiftDateRange(value, amount, shiftUnit, format);\n\n if (shiftedValue) {\n onChange(shiftedValue);\n }\n };\n\n return (\n <div className={classNames} {...restProps} ref={ref}>\n {!hideNavigation &&\n renderButtonBack({\n children: <CaretleftStrokeSrvIcon20 paletteIndex={5} />,\n className: styles.monthYearRangeButton,\n disabled: shiftDisabled,\n onClick: () => shiftRange(-shiftAmount),\n })}\n {renderPickerFrom({\n value: start,\n format,\n onChange: handleChangePickerFrom,\n })}\n <RangeStrokeSrvIcon16 className={styles.separator} paletteIndex={5} />\n {renderPickerTo({\n value: end,\n format,\n onChange: handleChangePickerTo,\n })}\n {!hideNavigation &&\n renderButtonForward({\n children: <CaretrightStrokeSrvIcon20 paletteIndex={5} />,\n className: styles.monthYearRangeButton,\n disabled: shiftDisabled,\n onClick: () => shiftRange(shiftAmount),\n })}\n </div>\n );\n },\n);\n\nMonthYearRange.displayName = \"MonthYearRange\";\n"],"names":["React"],"mappings":";;;;;;;;;;;;;;;AAaO,MAAM,iBAAiBA,eAAM;AAAA,EAChC,CACI;AAAA,IACI;AAAA,IACA;AAAA,IACA,SAAS;AAAA,IACT,cAAc;AAAA,IACd,YAAY,yBAAyB;AAAA,IACrC;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,GAAG;AAAA,EAAA,GAEP,QACC;AACD,UAAM,CAAC,OAAO,GAAG,IAAI;AACrB,UAAM,aAAa,KAAK,OAAO,gBAAgB,SAAS;AAExD,UAAM,gBAAgB,EAAE,SAAS;AAGjC,UAAM,yBAAyB,CAAC,SAAiB;AAC7C,UAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,YAAY,MAAM,KAAK,MAAM,GAAG;AAClD,iBAAS,CAAC,MAAM,GAAG,CAAC;AAAA,MACxB,OAAO;AACH,iBAAS,CAAC,MAAM,EAAE,CAAC;AAAA,MACvB;AAAA,IACJ;AAGA,UAAM,uBAAuB,CAAC,SAAiB;AAC3C,UAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,YAAY,OAAO,MAAM,MAAM,GAAG;AACtD,iBAAS,CAAC,OAAO,IAAI,CAAC;AAAA,MAC1B,OAAO;AACH,iBAAS,CAAC,IAAI,IAAI,CAAC;AAAA,MACvB;AAAA,IACJ;AAGA,UAAM,aAAa,CAAC,WAAmB;AACnC,YAAM,eAAe,eAAe,OAAO,QAAQ,WAAW,MAAM;AAEpE,UAAI,cAAc;AACd,iBAAS,YAAY;AAAA,MACzB;AAAA,IACJ;AAEA,gCACK,OAAA,EAAI,WAAW,YAAa,GAAG,WAAW,KACtC,UAAA;AAAA,MAAA,CAAC,kBACE,iBAAiB;AAAA,QACb,UAAU,oBAAC,0BAAA,EAAyB,cAAc,EAAA,CAAG;AAAA,QACrD,WAAW,OAAO;AAAA,QAClB,UAAU;AAAA,QACV,SAAS,MAAM,WAAW,CAAC,WAAW;AAAA,MAAA,CACzC;AAAA,MACJ,iBAAiB;AAAA,QACd,OAAO;AAAA,QACP;AAAA,QACA,UAAU;AAAA,MAAA,CACb;AAAA,0BACA,sBAAA,EAAqB,WAAW,OAAO,WAAW,cAAc,GAAG;AAAA,MACnE,eAAe;AAAA,QACZ,OAAO;AAAA,QACP;AAAA,QACA,UAAU;AAAA,MAAA,CACb;AAAA,MACA,CAAC,kBACE,oBAAoB;AAAA,QAChB,UAAU,oBAAC,2BAAA,EAA0B,cAAc,EAAA,CAAG;AAAA,QACtD,WAAW,OAAO;AAAA,QAClB,UAAU;AAAA,QACV,SAAS,MAAM,WAAW,WAAW;AAAA,MAAA,CACxC;AAAA,IAAA,GACT;AAAA,EAER;AACJ;AAEA,eAAe,cAAc;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -4,7 +4,7 @@ import { j as focusTrapReactExports } from "../../../chunks/vendor-CUIykw0y.js";
|
|
|
4
4
|
import "../../Dropdown/DropdownListContext.js";
|
|
5
5
|
import "../../Dropdown/desktop/DropdownDesktop.js";
|
|
6
6
|
import "../../Dropdown/desktop/DropdownList.js";
|
|
7
|
-
import "../../../chunks/DropdownListItem-
|
|
7
|
+
import "../../../chunks/DropdownListItem-DkX7SolI.js";
|
|
8
8
|
import { EDropdownWidth } from "../../Dropdown/desktop/enums.js";
|
|
9
9
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
10
10
|
import "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
@@ -4,11 +4,11 @@ import { MultiselectFieldContext } from "../MultiselectFieldContext.js";
|
|
|
4
4
|
import { createSizeToClassNameMap } from "../../../utils/classNameMaps.js";
|
|
5
5
|
import { c as clsx } from "../../../chunks/vendor-CUIykw0y.js";
|
|
6
6
|
import { LoaderScreen } from "../../LoaderScreen/LoaderScreen.js";
|
|
7
|
-
const multiselectFieldContent = "
|
|
8
|
-
const loaderScreen = "
|
|
9
|
-
const sm = "
|
|
10
|
-
const md = "
|
|
11
|
-
const lg = "
|
|
7
|
+
const multiselectFieldContent = "multiselectFieldContent__c6c94dc1";
|
|
8
|
+
const loaderScreen = "loaderScreen__3679a905";
|
|
9
|
+
const sm = "sm__d3776626";
|
|
10
|
+
const md = "md__602287f6";
|
|
11
|
+
const lg = "lg__ff17f759";
|
|
12
12
|
const styles = {
|
|
13
13
|
multiselectFieldContent,
|
|
14
14
|
loaderScreen,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { c as clsx } from "../../../chunks/vendor-CUIykw0y.js";
|
|
3
|
-
const multiselectFieldFooter = "
|
|
3
|
+
const multiselectFieldFooter = "multiselectFieldFooter__1613627d";
|
|
4
4
|
const styles = {
|
|
5
5
|
multiselectFieldFooter
|
|
6
6
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { c as clsx } from "../../../chunks/vendor-CUIykw0y.js";
|
|
3
|
-
const multiselectFieldHeader = "
|
|
3
|
+
const multiselectFieldHeader = "multiselectFieldHeader__ab6e4e7d";
|
|
4
4
|
const styles = {
|
|
5
5
|
multiselectFieldHeader
|
|
6
6
|
};
|
|
@@ -5,7 +5,7 @@ import { NotificationClose } from "./components/NotificationClose.js";
|
|
|
5
5
|
import { NotificationIcon } from "./components/NotificationIcon.js";
|
|
6
6
|
import { NotificationTime } from "./components/NotificationTime.js";
|
|
7
7
|
import React__default from "react";
|
|
8
|
-
import { s as styles } from "../../chunks/Notification.module-
|
|
8
|
+
import { s as styles } from "../../chunks/Notification.module-B8ZAEh9G.js";
|
|
9
9
|
const Notification = Object.assign(
|
|
10
10
|
React__default.forwardRef(function Notification2({ children, className, withExtraBottomPadding = false, isShowCloseOnHover = false, onClick, ...HTMLAttributes }, ref) {
|
|
11
11
|
const cn = clsx(className, styles.notification, {
|
|
@@ -20,7 +20,7 @@ const Notification = Object.assign(
|
|
|
20
20
|
className: cn,
|
|
21
21
|
onClick,
|
|
22
22
|
ref,
|
|
23
|
-
"data-tx": "1.
|
|
23
|
+
"data-tx": "1.52.0",
|
|
24
24
|
children
|
|
25
25
|
}
|
|
26
26
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { NotificationGroupedFooter } from "./components/NotificationGroupedFooter.js";
|
|
3
2
|
import React__default from "react";
|
|
4
|
-
import {
|
|
3
|
+
import { NotificationGroupedFooter } from "./components/NotificationGroupedFooter.js";
|
|
4
|
+
import { s as styles } from "../../chunks/Notification.module-B8ZAEh9G.js";
|
|
5
5
|
const NotificationGrouped = React__default.forwardRef(
|
|
6
6
|
function NotificationGrouped2({ children }, ref) {
|
|
7
7
|
return /* @__PURE__ */ jsxs("div", { className: styles.notificationGroupedWrapper, ref, children: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationGrouped.js","sources":["../../../src/components/Notification/NotificationGrouped.tsx"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"file":"NotificationGrouped.js","sources":["../../../src/components/Notification/NotificationGrouped.tsx"],"sourcesContent":["import React from \"react\";\nimport { NotificationGroupedFooter } from \"./components/NotificationGroupedFooter\";\nimport styles from \"./styles/Notification.module.less\";\n\n/** Свойства NotificationGrouped. */\nexport interface INotificationGroupedProps {\n /** Содержимое группы; обычно один Notification, под которым отображаются декоративные слои. */\n children: React.ReactNode;\n}\n\n/** Обёртка, обозначающая группу уведомлений двумя декоративными слоями под содержимым. */\nexport const NotificationGrouped = React.forwardRef<HTMLDivElement, INotificationGroupedProps>(\n function NotificationGrouped({ children }, ref) {\n return (\n <div className={styles.notificationGroupedWrapper} ref={ref}>\n {children}\n <NotificationGroupedFooter />\n </div>\n );\n },\n);\n\nNotificationGrouped.displayName = \"NotificationGrouped\";\n"],"names":["React","NotificationGrouped"],"mappings":";;;;AAWO,MAAM,sBAAsBA,eAAM;AAAA,EACrC,SAASC,qBAAoB,EAAE,SAAA,GAAY,KAAK;AAC5C,WACI,qBAAC,OAAA,EAAI,WAAW,OAAO,4BAA4B,KAC9C,UAAA;AAAA,MAAA;AAAA,0BACA,2BAAA,CAAA,CAA0B;AAAA,IAAA,GAC/B;AAAA,EAER;AACJ;AAEA,oBAAoB,cAAc;"}
|
|
@@ -4,7 +4,7 @@ import { NotificationHeader } from "./NotificationHeader.js";
|
|
|
4
4
|
import { NotificationBodyContent } from "./NotificationBodyContent.js";
|
|
5
5
|
import { NotificationFooter } from "./NotificationFooter.js";
|
|
6
6
|
import { NotificationBodyList } from "./NotificationBodyList.js";
|
|
7
|
-
import { s as styles } from "../../../chunks/Notification.module-
|
|
7
|
+
import { s as styles } from "../../../chunks/Notification.module-B8ZAEh9G.js";
|
|
8
8
|
const NotificationBody = Object.assign(
|
|
9
9
|
React__default.forwardRef(function NotificationBody2({ children }, ref) {
|
|
10
10
|
return /* @__PURE__ */ jsx("div", { className: styles.notificationBody, ref, children });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { c as clsx } from "../../../chunks/vendor-CUIykw0y.js";
|
|
3
3
|
import { UnorderedList } from "../../UnorderedList/UnorderedList.js";
|
|
4
|
-
import { s as styles } from "../../../chunks/Notification.module-
|
|
4
|
+
import { s as styles } from "../../../chunks/Notification.module-B8ZAEh9G.js";
|
|
5
5
|
const NotificationBodyList = ({ className, ...restProps }) => /* @__PURE__ */ jsx(UnorderedList, { className: clsx(styles.notificationBodyList, className), ...restProps });
|
|
6
6
|
NotificationBodyList.displayName = "NotificationBodyList";
|
|
7
7
|
export {
|
|
@@ -4,7 +4,7 @@ import "../../Button/Button.js";
|
|
|
4
4
|
import { ButtonIcon } from "../../Button/ButtonIcon.js";
|
|
5
5
|
import "../../Button/ButtonDropdown.js";
|
|
6
6
|
import "../../Button/ButtonDropdownExtended.js";
|
|
7
|
-
import { s as styles } from "../../../chunks/Notification.module-
|
|
7
|
+
import { s as styles } from "../../../chunks/Notification.module-B8ZAEh9G.js";
|
|
8
8
|
const NotificationClose = ({ onClick, ...buttonProps }) => /* @__PURE__ */ jsx("span", { className: styles.notificationClose, children: /* @__PURE__ */ jsx(ButtonIcon, { ...buttonProps, onClick, children: /* @__PURE__ */ jsx(CrossStrokeSrvIcon16, { paletteIndex: 5 }) }) });
|
|
9
9
|
NotificationClose.displayName = "NotificationClose";
|
|
10
10
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { s as styles } from "../../../chunks/Notification.module-
|
|
2
|
+
import { s as styles } from "../../../chunks/Notification.module-B8ZAEh9G.js";
|
|
3
3
|
const NotificationFooter = ({ children }) => /* @__PURE__ */ jsx("div", { className: styles.notificationFooter, children });
|
|
4
4
|
NotificationFooter.displayName = "NotificationFooter";
|
|
5
5
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { c as clsx } from "../../../chunks/vendor-CUIykw0y.js";
|
|
3
|
-
import { s as styles } from "../../../chunks/Notification.module-
|
|
3
|
+
import { s as styles } from "../../../chunks/Notification.module-B8ZAEh9G.js";
|
|
4
4
|
const NotificationGroupedFooter = () => /* @__PURE__ */ jsxs("div", { children: [
|
|
5
5
|
/* @__PURE__ */ jsx("div", { className: clsx(styles.notificationGroupedFooterItem, styles.first) }),
|
|
6
6
|
/* @__PURE__ */ jsx("div", { className: clsx(styles.notificationGroupedFooterItem, styles.second) })
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationGroupedFooter.js","sources":["../../../../src/components/Notification/components/NotificationGroupedFooter.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport styles from \"../styles/Notification.module.less\";\n\n
|
|
1
|
+
{"version":3,"file":"NotificationGroupedFooter.js","sources":["../../../../src/components/Notification/components/NotificationGroupedFooter.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport styles from \"../styles/Notification.module.less\";\n\n/** Два декоративных слоя под содержимым NotificationGrouped. */\nexport const NotificationGroupedFooter = () => (\n <div>\n <div className={clsx(styles.notificationGroupedFooterItem, styles.first)} />\n <div className={clsx(styles.notificationGroupedFooterItem, styles.second)} />\n </div>\n);\n"],"names":[],"mappings":";;;AAIO,MAAM,4BAA4B,MACrC,qBAAC,OAAA,EACG,UAAA;AAAA,EAAA,oBAAC,SAAI,WAAW,KAAK,OAAO,+BAA+B,OAAO,KAAK,GAAG;AAAA,EAC1E,oBAAC,SAAI,WAAW,KAAK,OAAO,+BAA+B,OAAO,MAAM,EAAA,CAAG;AAAA,EAAA,CAC/E;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { s as styles } from "../../../chunks/Notification.module-
|
|
2
|
+
import { s as styles } from "../../../chunks/Notification.module-B8ZAEh9G.js";
|
|
3
3
|
const NotificationHeader = ({ children }) => /* @__PURE__ */ jsx("h3", { className: styles.notificationHeader, children });
|
|
4
4
|
NotificationHeader.displayName = "NotificationHeader";
|
|
5
5
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { s as styles } from "../../../chunks/Notification.module-
|
|
2
|
+
import { s as styles } from "../../../chunks/Notification.module-B8ZAEh9G.js";
|
|
3
3
|
const NotificationIcon = ({ children }) => /* @__PURE__ */ jsx("div", { className: styles.notificationIcon, children });
|
|
4
4
|
NotificationIcon.displayName = "NotificationIcon";
|
|
5
5
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { s as styles } from "../../../chunks/Notification.module-
|
|
2
|
+
import { s as styles } from "../../../chunks/Notification.module-B8ZAEh9G.js";
|
|
3
3
|
const NotificationTime = ({ time }) => /* @__PURE__ */ jsx("span", { className: styles.notificationTime, children: time });
|
|
4
4
|
NotificationTime.displayName = "NotificationTime";
|
|
5
5
|
export {
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import React__default from "react";
|
|
2
3
|
import { NumberFieldInput } from "./NumberFieldInput.js";
|
|
3
4
|
import { TextFieldBase } from "../TextField/TextFieldBase.js";
|
|
4
|
-
const NumberField = ({ inputProps, ...restProps }) => /* @__PURE__ */ jsx(TextFieldBase, { ...restProps, children: /* @__PURE__ */ jsx(NumberFieldInput, { ...inputProps }) });
|
|
5
|
+
const NumberField = React__default.forwardRef(({ inputProps, ...restProps }, ref) => /* @__PURE__ */ jsx(TextFieldBase, { ...restProps, ref, children: /* @__PURE__ */ jsx(NumberFieldInput, { ...inputProps }) }));
|
|
6
|
+
NumberField.displayName = "NumberField";
|
|
5
7
|
export {
|
|
6
8
|
NumberField
|
|
7
9
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumberField.js","sources":["../../../src/components/NumberField/NumberField.tsx"],"sourcesContent":["import React from \"react\";\nimport { INumberFieldProps } from \"
|
|
1
|
+
{"version":3,"file":"NumberField.js","sources":["../../../src/components/NumberField/NumberField.tsx"],"sourcesContent":["import React from \"react\";\nimport { INumberFieldProps } from \"./types\";\nimport { NumberFieldInput } from \"./NumberFieldInput\";\nimport { TextFieldBase } from \"../TextField/TextFieldBase\";\n\n/**\n * Текстовое поле для ввода числовых значений: фильтрует ввод, сохраняя цифры, ведущий минус и десятичную запятую.\n * Передаёт ref на контейнер FormField, а inputProps.ref — на вложенный input.\n */\nexport const NumberField = React.forwardRef<HTMLDivElement, INumberFieldProps>(({ inputProps, ...restProps }, ref) => (\n <TextFieldBase {...restProps} ref={ref}>\n <NumberFieldInput {...inputProps} />\n </TextFieldBase>\n));\n\nNumberField.displayName = \"NumberField\";\n"],"names":["React"],"mappings":";;;;AASO,MAAM,cAAcA,eAAM,WAA8C,CAAC,EAAE,YAAY,GAAG,aAAa,4BACzG,eAAA,EAAe,GAAG,WAAW,KAC1B,UAAA,oBAAC,oBAAkB,GAAG,WAAA,CAAY,GACtC,CACH;AAED,YAAY,cAAc;"}
|
|
@@ -14,44 +14,42 @@ import "../FormField/FormField.js";
|
|
|
14
14
|
import { getCaretPosition, setCaretPosition } from "../../utils/inputUtils.js";
|
|
15
15
|
import { StringUtils } from "../../utils/stringUtils.js";
|
|
16
16
|
import { AmountConst } from "../../consts/AmountConst.js";
|
|
17
|
+
const filterValue = (value, caret) => {
|
|
18
|
+
const buffer = [];
|
|
19
|
+
let separatorIndex = -1;
|
|
20
|
+
for (let i = 0; i < value.length; i++) {
|
|
21
|
+
const char = value[i];
|
|
22
|
+
if (StringUtils.isDigit(char)) {
|
|
23
|
+
buffer.push(char);
|
|
24
|
+
} else if (StringUtils.isDecimalSeparator(char) && (separatorIndex === -1 || i > caret)) {
|
|
25
|
+
if (separatorIndex !== -1) {
|
|
26
|
+
buffer[separatorIndex] = "";
|
|
27
|
+
}
|
|
28
|
+
buffer.push(AmountConst.DecimalComma);
|
|
29
|
+
separatorIndex = i;
|
|
30
|
+
} else if (i === 0 && StringUtils.isUnaryMinus(char)) {
|
|
31
|
+
buffer.push("-");
|
|
32
|
+
} else {
|
|
33
|
+
buffer.push("");
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
return { value: buffer.join(""), caret: buffer.slice(0, caret).join("").length };
|
|
37
|
+
};
|
|
17
38
|
const NumberFieldInput = React__default.forwardRef(
|
|
18
39
|
({ onChange, ...restProps }, ref) => {
|
|
19
|
-
const getFilteredValue = useCallback((value, caret) => {
|
|
20
|
-
const buffer = [];
|
|
21
|
-
const length = value.length;
|
|
22
|
-
let separatorIndex = -1;
|
|
23
|
-
for (let i = 0; i < length; i++) {
|
|
24
|
-
if (StringUtils.isDigit(value[i])) {
|
|
25
|
-
buffer.push(value[i]);
|
|
26
|
-
} else if (StringUtils.isDecimalSeparator(value[i])) {
|
|
27
|
-
if (separatorIndex == -1) {
|
|
28
|
-
buffer.push(AmountConst.DecimalComma);
|
|
29
|
-
separatorIndex = buffer.length - 1;
|
|
30
|
-
} else if (i > caret) {
|
|
31
|
-
buffer.push(AmountConst.DecimalComma);
|
|
32
|
-
buffer[separatorIndex] = "";
|
|
33
|
-
separatorIndex = buffer.length - 1;
|
|
34
|
-
}
|
|
35
|
-
} else if (i === 0 && StringUtils.isUnaryMinus(value[i])) {
|
|
36
|
-
buffer.push("-");
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
return buffer.join("");
|
|
40
|
-
}, []);
|
|
41
40
|
const handleChange = useCallback(
|
|
42
41
|
(event) => {
|
|
43
|
-
const caret = getCaretPosition(event.target);
|
|
44
|
-
const value = getFilteredValue(event.target.value, caret);
|
|
45
|
-
const caretShift = value.length - event.target.value.length;
|
|
42
|
+
const { value, caret } = filterValue(event.target.value, getCaretPosition(event.target));
|
|
46
43
|
event.target.value = value;
|
|
47
|
-
setCaretPosition(event.target, caret
|
|
44
|
+
setCaretPosition(event.target, caret);
|
|
48
45
|
onChange == null ? void 0 : onChange(event);
|
|
49
46
|
},
|
|
50
|
-
[
|
|
47
|
+
[onChange]
|
|
51
48
|
);
|
|
52
49
|
return /* @__PURE__ */ jsx(FormFieldInput, { onChange: handleChange, ...restProps, ref });
|
|
53
50
|
}
|
|
54
51
|
);
|
|
52
|
+
NumberFieldInput.displayName = "NumberFieldInput";
|
|
55
53
|
export {
|
|
56
54
|
NumberFieldInput
|
|
57
55
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumberFieldInput.js","sources":["../../../src/components/NumberField/NumberFieldInput.tsx"],"sourcesContent":["import React, { useCallback } from \"react\";\nimport { FormFieldInput, IFormFieldInputProps } from \"../FormField\";\nimport { getCaretPosition, setCaretPosition } from \"@sberbusiness/triplex-next/utils/inputUtils\";\nimport { StringUtils } from \"@sberbusiness/triplex-next/utils/stringUtils\";\nimport { AmountConst } from \"@sberbusiness/triplex-next/consts/AmountConst\";\n\n
|
|
1
|
+
{"version":3,"file":"NumberFieldInput.js","sources":["../../../src/components/NumberField/NumberFieldInput.tsx"],"sourcesContent":["import React, { useCallback } from \"react\";\nimport { FormFieldInput, IFormFieldInputProps } from \"../FormField\";\nimport { getCaretPosition, setCaretPosition } from \"@sberbusiness/triplex-next/utils/inputUtils\";\nimport { StringUtils } from \"@sberbusiness/triplex-next/utils/stringUtils\";\nimport { AmountConst } from \"@sberbusiness/triplex-next/consts/AmountConst\";\n\n/**\n * Оставляет в строке цифры, ведущий минус и одну десятичную запятую (точка заменяется запятой).\n * При повторном разделителе сохраняется тот, что стоит правее каретки.\n * Каретка сдвигается только на символы, удалённые левее неё.\n */\nconst filterValue = (value: string, caret: number): { value: string; caret: number } => {\n /** Символы результата по позициям исходной строки; пустая строка — символ удалён. */\n const buffer: string[] = [];\n let separatorIndex = -1;\n\n for (let i = 0; i < value.length; i++) {\n const char = value[i];\n\n if (StringUtils.isDigit(char)) {\n buffer.push(char);\n } else if (StringUtils.isDecimalSeparator(char) && (separatorIndex === -1 || i > caret)) {\n if (separatorIndex !== -1) {\n buffer[separatorIndex] = \"\";\n }\n buffer.push(AmountConst.DecimalComma);\n separatorIndex = i;\n } else if (i === 0 && StringUtils.isUnaryMinus(char)) {\n buffer.push(\"-\");\n } else {\n buffer.push(\"\");\n }\n }\n\n return { value: buffer.join(\"\"), caret: buffer.slice(0, caret).join(\"\").length };\n};\n\n/** Поле ввода компонента NumberField. */\nexport const NumberFieldInput = React.forwardRef<HTMLInputElement, IFormFieldInputProps>(\n ({ onChange, ...restProps }, ref) => {\n /** Обработчик изменения значения. */\n const handleChange = useCallback(\n (event: React.ChangeEvent<HTMLInputElement>) => {\n const { value, caret } = filterValue(event.target.value, getCaretPosition(event.target));\n\n event.target.value = value;\n\n setCaretPosition(event.target, caret);\n\n onChange?.(event);\n },\n [onChange],\n );\n\n return <FormFieldInput onChange={handleChange} {...restProps} ref={ref} />;\n },\n);\n\nNumberFieldInput.displayName = \"NumberFieldInput\";\n"],"names":["React"],"mappings":";;;;;;;;;;;;;;;;AAWA,MAAM,cAAc,CAAC,OAAe,UAAoD;AAEpF,QAAM,SAAmB,CAAA;AACzB,MAAI,iBAAiB;AAErB,WAAS,IAAI,GAAG,IAAI,MAAM,QAAQ,KAAK;AACnC,UAAM,OAAO,MAAM,CAAC;AAEpB,QAAI,YAAY,QAAQ,IAAI,GAAG;AAC3B,aAAO,KAAK,IAAI;AAAA,IACpB,WAAW,YAAY,mBAAmB,IAAI,MAAM,mBAAmB,MAAM,IAAI,QAAQ;AACrF,UAAI,mBAAmB,IAAI;AACvB,eAAO,cAAc,IAAI;AAAA,MAC7B;AACA,aAAO,KAAK,YAAY,YAAY;AACpC,uBAAiB;AAAA,IACrB,WAAW,MAAM,KAAK,YAAY,aAAa,IAAI,GAAG;AAClD,aAAO,KAAK,GAAG;AAAA,IACnB,OAAO;AACH,aAAO,KAAK,EAAE;AAAA,IAClB;AAAA,EACJ;AAEA,SAAO,EAAE,OAAO,OAAO,KAAK,EAAE,GAAG,OAAO,OAAO,MAAM,GAAG,KAAK,EAAE,KAAK,EAAE,EAAE,OAAA;AAC5E;AAGO,MAAM,mBAAmBA,eAAM;AAAA,EAClC,CAAC,EAAE,UAAU,GAAG,UAAA,GAAa,QAAQ;AAEjC,UAAM,eAAe;AAAA,MACjB,CAAC,UAA+C;AAC5C,cAAM,EAAE,OAAO,MAAA,IAAU,YAAY,MAAM,OAAO,OAAO,iBAAiB,MAAM,MAAM,CAAC;AAEvF,cAAM,OAAO,QAAQ;AAErB,yBAAiB,MAAM,QAAQ,KAAK;AAEpC,6CAAW;AAAA,MACf;AAAA,MACA,CAAC,QAAQ;AAAA,IAAA;AAGb,+BAAQ,gBAAA,EAAe,UAAU,cAAe,GAAG,WAAW,KAAU;AAAA,EAC5E;AACJ;AAEA,iBAAiB,cAAc;"}
|
|
@@ -2,25 +2,28 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import React__default from "react";
|
|
3
3
|
import { c as clsx } from "../../chunks/vendor-CUIykw0y.js";
|
|
4
4
|
import { OrderedListItem } from "./OrderedListItem.js";
|
|
5
|
-
const orderedList = "
|
|
5
|
+
const orderedList = "orderedList__85dbec2f";
|
|
6
6
|
const styles = {
|
|
7
7
|
orderedList
|
|
8
8
|
};
|
|
9
9
|
const OrderedList = Object.assign(
|
|
10
|
-
React__default.forwardRef(({ className, start, style, ...restProps }, ref) =>
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
10
|
+
React__default.forwardRef(({ className, start, style, ...restProps }, ref) => {
|
|
11
|
+
const orderedListStyle = start !== void 0 ? {
|
|
12
|
+
...style,
|
|
13
|
+
"--triplex-next-runtime-OrderedList-Root_CounterReset": start - 1
|
|
14
|
+
} : style;
|
|
15
|
+
return /* @__PURE__ */ jsx(
|
|
16
|
+
"ol",
|
|
17
|
+
{
|
|
18
|
+
className: clsx(styles.orderedList, className),
|
|
19
|
+
start,
|
|
20
|
+
style: orderedListStyle,
|
|
21
|
+
...restProps,
|
|
22
|
+
"data-tx": "1.52.0",
|
|
23
|
+
ref
|
|
24
|
+
}
|
|
25
|
+
);
|
|
26
|
+
}),
|
|
24
27
|
{
|
|
25
28
|
Item: OrderedListItem
|
|
26
29
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OrderedList.js","sources":["../../../src/components/OrderedList/OrderedList.tsx"],"sourcesContent":["import React from \"react\";\nimport clsx from \"clsx\";\nimport { IOrderedListProps } from \"@sberbusiness/triplex-next/components/OrderedList/types\";\nimport { OrderedListItem } from \"@sberbusiness/triplex-next/components/OrderedList/OrderedListItem\";\nimport styles from \"./styles/OrderedList.module.less\";\n\n/** Нумерованный список. */\nexport const OrderedList = Object.assign(\n React.forwardRef<HTMLOListElement, IOrderedListProps>(({ className, start, style, ...restProps }, ref) =>
|
|
1
|
+
{"version":3,"file":"OrderedList.js","sources":["../../../src/components/OrderedList/OrderedList.tsx"],"sourcesContent":["import React from \"react\";\nimport clsx from \"clsx\";\nimport { IOrderedListProps } from \"@sberbusiness/triplex-next/components/OrderedList/types\";\nimport { OrderedListItem } from \"@sberbusiness/triplex-next/components/OrderedList/OrderedListItem\";\nimport styles from \"./styles/OrderedList.module.less\";\n\ninterface IOrderedListStyle extends React.CSSProperties {\n \"--triplex-next-runtime-OrderedList-Root_CounterReset\": number;\n}\n\n/** Нумерованный список. */\nexport const OrderedList = Object.assign(\n React.forwardRef<HTMLOListElement, IOrderedListProps>(({ className, start, style, ...restProps }, ref) => {\n // Каждый пункт увеличивает счётчик до вывода номера, поэтому сброс — на единицу меньше start.\n const orderedListStyle =\n start !== undefined\n ? ({\n ...style,\n \"--triplex-next-runtime-OrderedList-Root_CounterReset\": start - 1,\n } satisfies IOrderedListStyle)\n : style;\n\n return (\n <ol\n className={clsx(styles.orderedList, className)}\n start={start}\n style={orderedListStyle}\n {...restProps}\n data-tx={process.env.npm_package_version}\n ref={ref}\n />\n );\n }),\n {\n Item: OrderedListItem,\n },\n);\n\nOrderedList.displayName = \"OrderedList\";\n"],"names":["React"],"mappings":";;;;;;;;AAWO,MAAM,cAAc,OAAO;AAAA,EAC9BA,eAAM,WAAgD,CAAC,EAAE,WAAW,OAAO,OAAO,GAAG,UAAA,GAAa,QAAQ;AAEtG,UAAM,mBACF,UAAU,SACH;AAAA,MACG,GAAG;AAAA,MACH,wDAAwD,QAAQ;AAAA,IAAA,IAEpE;AAEV,WACI;AAAA,MAAC;AAAA,MAAA;AAAA,QACG,WAAW,KAAK,OAAO,aAAa,SAAS;AAAA,QAC7C;AAAA,QACA,OAAO;AAAA,QACN,GAAG;AAAA,QACJ,WAAS;AAAA,QACT;AAAA,MAAA;AAAA,IAAA;AAAA,EAGZ,CAAC;AAAA,EACD;AAAA,IACI,MAAM;AAAA,EAAA;AAEd;AAEA,YAAY,cAAc;"}
|
|
@@ -6,7 +6,7 @@ import "../Typography/Caption.js";
|
|
|
6
6
|
import "../Typography/CodeText.js";
|
|
7
7
|
import { Text } from "../Typography/Text.js";
|
|
8
8
|
import "../Typography/Title.js";
|
|
9
|
-
const orderedListItem = "
|
|
9
|
+
const orderedListItem = "orderedListItem__86b96936";
|
|
10
10
|
const styles = {
|
|
11
11
|
orderedListItem
|
|
12
12
|
};
|
|
@@ -18,7 +18,7 @@ const OrderedListItem = React__default.forwardRef(
|
|
|
18
18
|
size: ETextSize.B3,
|
|
19
19
|
tag: "li",
|
|
20
20
|
...restProps,
|
|
21
|
-
"data-tx": "1.
|
|
21
|
+
"data-tx": "1.52.0",
|
|
22
22
|
ref
|
|
23
23
|
}
|
|
24
24
|
)
|