@sberbusiness/triplex-next 0.51.0 → 0.53.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-Ctx-2wgy.js → AlertProcessSpoiler-STpCfJuF.js} +16 -16
- package/chunks/{AlertProcessSpoiler-Ctx-2wgy.js.map → AlertProcessSpoiler-STpCfJuF.js.map} +1 -1
- package/chunks/{CalendarViewItem-CvdMWlYm.js → CalendarViewItem-BDetBtIJ.js} +20 -20
- package/chunks/{CalendarViewItem-CvdMWlYm.js.map → CalendarViewItem-BDetBtIJ.js.map} +1 -1
- package/chunks/Card.module-BDKegNQB.js +32 -0
- package/chunks/Card.module-BDKegNQB.js.map +1 -0
- package/chunks/Carousel.module-ugT1KfWo.js +26 -0
- package/chunks/Carousel.module-ugT1KfWo.js.map +1 -0
- package/chunks/CheckboxTreeExtended.module-DIkMbiFc.js +24 -0
- package/chunks/CheckboxTreeExtended.module-DIkMbiFc.js.map +1 -0
- package/chunks/{Chip-SVIdZjNC.js → Chip-DOtRbYR5.js} +16 -16
- package/chunks/{Chip-SVIdZjNC.js.map → Chip-DOtRbYR5.js.map} +1 -1
- package/chunks/Confirm.module-Bd5pQ3Lp.js +24 -0
- package/chunks/Confirm.module-Bd5pQ3Lp.js.map +1 -0
- package/chunks/{DropdownListItem-DbG8a_Rw.js → DropdownListItem-DtBDNMDu.js} +10 -10
- package/chunks/{DropdownListItem-DbG8a_Rw.js.map → DropdownListItem-DtBDNMDu.js.map} +1 -1
- package/chunks/Footer.module-D6LiswG5.js +12 -0
- package/chunks/Footer.module-D6LiswG5.js.map +1 -0
- package/chunks/{HeaderLayoutSidebar.module-BvCPxkNk.js → HeaderLayoutSidebar.module-DvuWrb8r.js} +4 -4
- package/chunks/HeaderLayoutSidebar.module-DvuWrb8r.js.map +1 -0
- package/chunks/HeaderTabs.module-49s0no12.js +12 -0
- package/chunks/HeaderTabs.module-49s0no12.js.map +1 -0
- package/chunks/{HeaderTitle.module-gbla84yG.js → HeaderTitle.module-BoICKOHo.js} +4 -4
- package/chunks/HeaderTitle.module-BoICKOHo.js.map +1 -0
- package/chunks/ImageGalleryExtendedMain.module-CJbkuDsY.js +28 -0
- package/chunks/ImageGalleryExtendedMain.module-CJbkuDsY.js.map +1 -0
- package/chunks/{ImageGalleryExtendedThumb-eZ1U9hun.js → ImageGalleryExtendedThumb-DaYWIal7.js} +5 -5
- package/chunks/{ImageGalleryExtendedThumb-eZ1U9hun.js.map → ImageGalleryExtendedThumb-DaYWIal7.js.map} +1 -1
- package/chunks/IslandAccordion.module-DulT1VwH.js +44 -0
- package/chunks/IslandAccordion.module-DulT1VwH.js.map +1 -0
- package/chunks/IslandWidgetFooter.module-DTifP3wy.js +18 -0
- package/chunks/IslandWidgetFooter.module-DTifP3wy.js.map +1 -0
- package/chunks/IslandWidgetHeader.module-E-Y7Ydgr.js +28 -0
- package/chunks/IslandWidgetHeader.module-E-Y7Ydgr.js.map +1 -0
- package/chunks/{LightBoxContent-CWtp-PJm.js → LightBoxContent-Cb1g3JDX.js} +16 -16
- package/chunks/{LightBoxContent-CWtp-PJm.js.map → LightBoxContent-Cb1g3JDX.js.map} +1 -1
- package/chunks/LightBoxControls.module-CKff0gTS.js +26 -0
- package/chunks/LightBoxControls.module-CKff0gTS.js.map +1 -0
- package/chunks/{LightBoxSideOverlayClose.module-Bu0mbQ2E.js → LightBoxSideOverlayClose.module-DWKvzJvF.js} +4 -4
- package/chunks/LightBoxSideOverlayClose.module-DWKvzJvF.js.map +1 -0
- package/chunks/{ListItemControlsButton-EF-ovU6G.js → ListItemControlsButton-CTZwACLC.js} +9 -9
- package/chunks/{ListItemControlsButton-EF-ovU6G.js.map → ListItemControlsButton-CTZwACLC.js.map} +1 -1
- package/chunks/ListItemTail.module-Dj4lU9aU.js +18 -0
- package/chunks/ListItemTail.module-Dj4lU9aU.js.map +1 -0
- package/chunks/ListMasterFooter.module-MxUcjmi_.js +14 -0
- package/chunks/ListMasterFooter.module-MxUcjmi_.js.map +1 -0
- package/chunks/ModalWindow.module-DACUI-Ug.js +28 -0
- package/chunks/ModalWindow.module-DACUI-Ug.js.map +1 -0
- package/chunks/Notification.module-DvJpk7mJ.js +34 -0
- package/chunks/Notification.module-DvJpk7mJ.js.map +1 -0
- package/chunks/Overlay.module-BUiSNz4S.js +30 -0
- package/chunks/Overlay.module-BUiSNz4S.js.map +1 -0
- package/chunks/Page.module-BcGCfrAq.js +17 -0
- package/chunks/Page.module-BcGCfrAq.js.map +1 -0
- package/chunks/Puller.module-D99aZDfb.js +38 -0
- package/chunks/Puller.module-D99aZDfb.js.map +1 -0
- package/chunks/SMSField.module-DsssNQ7k.js +30 -0
- package/chunks/SMSField.module-DsssNQ7k.js.map +1 -0
- package/chunks/SliderExtendedMarks.module-DqaV_gtD.js +24 -0
- package/chunks/SliderExtendedMarks.module-DqaV_gtD.js.map +1 -0
- package/chunks/{SliderExtendedRail-BLBXp_mr.js → SliderExtendedRail-C9_AzU7r.js} +5 -5
- package/chunks/{SliderExtendedRail-BLBXp_mr.js.map → SliderExtendedRail-C9_AzU7r.js.map} +1 -1
- package/chunks/StatusTracker.module-BlqC0dZw.js +44 -0
- package/chunks/StatusTracker.module-BlqC0dZw.js.map +1 -0
- package/chunks/{StepperStepArrowBorder-BAh7ttCH.js → StepperStepArrowBorder-DxBecxv9.js} +16 -16
- package/chunks/{StepperStepArrowBorder-BAh7ttCH.js.map → StepperStepArrowBorder-DxBecxv9.js.map} +1 -1
- package/chunks/{SuggestFieldMobileDropdownHint-Dwl6zzq8.js → SuggestFieldMobileDropdownHint-MIGePHD9.js} +3 -3
- package/chunks/{SuggestFieldMobileDropdownHint-Dwl6zzq8.js.map → SuggestFieldMobileDropdownHint-MIGePHD9.js.map} +1 -1
- package/chunks/TableFooter.module-CtnIdZfR.js +22 -0
- package/chunks/TableFooter.module-CtnIdZfR.js.map +1 -0
- package/chunks/TabsExtended.module-CUIB5d3J.js +26 -0
- package/chunks/TabsExtended.module-CUIB5d3J.js.map +1 -0
- package/chunks/TabsLine.module-eEenlMUm.js +36 -0
- package/chunks/TabsLine.module-eEenlMUm.js.map +1 -0
- package/chunks/TooltipDesktop.module-DItC194g.js +32 -0
- package/chunks/TooltipDesktop.module-DItC194g.js.map +1 -0
- package/chunks/TreeView.module-D7TFEY8e.js +12 -0
- package/chunks/TreeView.module-D7TFEY8e.js.map +1 -0
- package/chunks/{UploadZoneInput-dlRcClcR.js → UploadZoneInput-CEMLfPD2.js} +5 -5
- package/chunks/{UploadZoneInput-dlRcClcR.js.map → UploadZoneInput-CEMLfPD2.js.map} +1 -1
- package/chunks/{constants-D9y0PXCn.js → constants-C_cUBgTm.js} +27 -27
- package/chunks/{constants-D9y0PXCn.js.map → constants-C_cUBgTm.js.map} +1 -1
- package/chunks/{utils-C5ANP-lJ.js → utils-CR7AKWB9.js} +6 -6
- package/chunks/{utils-C5ANP-lJ.js.map → utils-CR7AKWB9.js.map} +1 -1
- package/chunks/{utils-EB3nf6Gq.js → utils-CjT9HwBp.js} +10 -10
- package/chunks/{utils-EB3nf6Gq.js.map → utils-CjT9HwBp.js.map} +1 -1
- package/chunks/{utils-TRZEn9vv.js → utils-CrdZr25q.js} +27 -27
- package/chunks/{utils-TRZEn9vv.js.map → utils-CrdZr25q.js.map} +1 -1
- package/chunks/{utils-NWb0RM-6.js → utils-CuHxUheL.js} +11 -11
- package/chunks/{utils-NWb0RM-6.js.map → utils-CuHxUheL.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 +22 -28
- package/components/Button/ButtonDropdown.js.map +1 -1
- 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 +10 -6
- package/components/Carousel/Carousel.js.map +1 -1
- package/components/Carousel/CarouselButton.js +40 -35
- package/components/Carousel/CarouselButton.js.map +1 -1
- package/components/Carousel/CarouselIndicators.js +1 -1
- package/components/Carousel/CarouselItem.js +2 -2
- package/components/Carousel/CarouselItem.js.map +1 -1
- package/components/Carousel/CarouselTrack.js +1 -1
- package/components/Carousel/CarouselViewport.js +75 -105
- package/components/Carousel/CarouselViewport.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 +5 -5
- 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 +2 -13
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js.map +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/DateField.js +3 -3
- package/components/DateField/DateField.js.map +1 -1
- package/components/DateField/DateFieldTarget.js +4 -4
- package/components/DatePickerExtended/DatePickerExtended.js +3 -14
- package/components/DatePickerExtended/DatePickerExtended.js.map +1 -1
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +13 -13
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js.map +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 +9 -10
- package/components/DesignTokens/DesignTokensComponents.js.map +1 -1
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +9 -10
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js.map +1 -1
- package/components/DesignTokens/components/Puller.js +24 -0
- package/components/DesignTokens/components/Puller.js.map +1 -0
- package/components/DesignTokens/components/PullerList.js +12 -0
- package/components/DesignTokens/components/PullerList.js.map +1 -0
- package/components/DesignTokens/components/SmartSpot.js +57 -0
- package/components/DesignTokens/components/SmartSpot.js.map +1 -0
- package/components/DesignTokens/components/index.js +9 -6
- 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/Dropdown.js +4 -4
- package/components/Dropdown/Dropdown.js.map +1 -1
- package/components/Dropdown/desktop/DropdownDesktop.js +10 -10
- package/components/Dropdown/desktop/DropdownDesktop.js.map +1 -1
- 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 -21
- package/components/Dropdown/index.js.map +1 -1
- package/components/Ellipsis/Ellipsis.js +3 -3
- package/components/EmptyView/EmptyView.js +4 -4
- 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/FormFieldContext.js +1 -1
- package/components/FormField/FormFieldContext.js.map +1 -1
- 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 +1 -1
- package/components/ImageGalleryExtended/ImageGalleryExtended.js +2 -2
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedArrow.js +1 -1
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedMain.js +1 -1
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedPageIndicators.js +1 -1
- 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 +1 -1
- package/components/ImageGalleryExtended/index.js +1 -1
- 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 +15 -21
- package/components/List/components/ListItemControlsButtonDropdown.js.map +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 +19 -24
- 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 +4 -15
- package/components/MultiselectField/components/MultiselectFieldDropdown.js.map +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 +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/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/OrderedList/OrderedList.js +2 -2
- 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 +5 -5
- package/components/Pagination/components/PaginationExtended.js +2 -2
- package/components/Pagination/components/PaginationNavigationButton.js +2 -2
- package/components/Pagination/components/PaginationNavigationExtended.js +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/Puller/Puller.js +21 -0
- package/components/Puller/Puller.js.map +1 -0
- package/components/Puller/PullerBody.js +12 -0
- package/components/Puller/PullerBody.js.map +1 -0
- package/components/Puller/PullerClose.js +10 -0
- package/components/Puller/PullerClose.js.map +1 -0
- package/components/Puller/PullerFooter.js +12 -0
- package/components/Puller/PullerFooter.js.map +1 -0
- package/components/Puller/PullerHeader.js +15 -0
- package/components/Puller/PullerHeader.js.map +1 -0
- package/components/{Dropdown/mobile/DropdownMobileInner.js → Puller/PullerInner.js} +18 -25
- package/components/Puller/PullerInner.js.map +1 -0
- package/components/Puller/PullerInput.js +13 -0
- package/components/Puller/PullerInput.js.map +1 -0
- package/components/Puller/PullerList.js +18 -0
- package/components/Puller/PullerList.js.map +1 -0
- package/components/{Dropdown/mobile/DropdownMobileListItem.js → Puller/PullerListItem.js} +15 -14
- package/components/Puller/PullerListItem.js.map +1 -0
- package/components/Puller/PullerLoader.js +20 -0
- package/components/Puller/PullerLoader.js.map +1 -0
- package/components/Puller/PullerMaskedInput.js +19 -0
- package/components/Puller/PullerMaskedInput.js.map +1 -0
- package/components/Puller/index.js +23 -0
- 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 +2 -2
- package/components/SMSField/components/RefreshIcon.js +1 -1
- package/components/SMSField/components/SMSFieldInput.js +1 -1
- package/components/SMSField/components/SMSFieldRefresh.js +1 -1
- package/components/SMSField/components/SMSFieldSubmit.js +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 -12
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js.map +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +12 -17
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js.map +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +7 -7
- package/components/SelectField/SelectField.js +1 -12
- package/components/SelectField/SelectField.js.map +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/SmartSpot/SmartSpot.js +110 -0
- package/components/SmartSpot/SmartSpot.js.map +1 -0
- package/components/SmartSpot/consts.js +47 -0
- package/components/SmartSpot/consts.js.map +1 -0
- package/components/SmartSpot/enums.js +26 -0
- package/components/SmartSpot/enums.js.map +1 -0
- package/components/SmartSpot/index.js +9 -0
- package/components/SmartSpot/index.js.map +1 -0
- package/components/SmartSpot/utils.js +36 -0
- package/components/SmartSpot/utils.js.map +1 -0
- 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 +19 -24
- package/components/Suggest/SuggestMobileDropdownContent.js.map +1 -1
- package/components/SuggestField/SuggestField.js +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +1 -10
- package/components/SuggestField/desktop/SuggestFieldDesktop.js.map +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -12
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js.map +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +19 -19
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js.map +1 -1
- 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 -13
- package/components/TabsLine/components/TabsLineDropdown.js.map +1 -1
- 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 +10 -10
- package/components/Tooltip/components/mobile/TooltipMobile.js.map +1 -1
- package/components/Tooltip/components/mobile/components/TooltipMobileCloseButton.js +2 -2
- package/components/Tooltip/components/mobile/components/TooltipMobileCloseButton.js.map +1 -1
- package/components/Tooltip/components/mobile/components/TooltipMobileHeader.js +2 -2
- package/components/Tooltip/components/mobile/components/TooltipMobileHeader.js.map +1 -1
- 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 +32 -26
- package/components/index.js.map +1 -1
- package/index.d.ts +233 -134
- package/index.js +32 -26
- package/index.js.map +1 -1
- package/package.json +9 -1
- package/styles/triplex-next.css +3139 -3038
- package/utils/scroll/bodyScrollLock.js +23 -0
- package/utils/scroll/bodyScrollLock.js.map +1 -0
- package/chunks/Card.module-C7xz0eKx.js +0 -32
- package/chunks/Card.module-C7xz0eKx.js.map +0 -1
- package/chunks/Carousel.module-CXIfk_97.js +0 -26
- package/chunks/Carousel.module-CXIfk_97.js.map +0 -1
- package/chunks/CheckboxTreeExtended.module-DLKb2rTf.js +0 -24
- package/chunks/CheckboxTreeExtended.module-DLKb2rTf.js.map +0 -1
- package/chunks/Confirm.module-YWhb2Ve3.js +0 -24
- package/chunks/Confirm.module-YWhb2Ve3.js.map +0 -1
- package/chunks/DropdownMobile.module-CHJp6QN5.js +0 -40
- package/chunks/DropdownMobile.module-CHJp6QN5.js.map +0 -1
- package/chunks/Footer.module-52DeBs5u.js +0 -12
- package/chunks/Footer.module-52DeBs5u.js.map +0 -1
- package/chunks/HeaderLayoutSidebar.module-BvCPxkNk.js.map +0 -1
- package/chunks/HeaderTabs.module-DcnxvYN-.js +0 -12
- package/chunks/HeaderTabs.module-DcnxvYN-.js.map +0 -1
- package/chunks/HeaderTitle.module-gbla84yG.js.map +0 -1
- package/chunks/ImageGalleryExtendedMain.module-DEMmSVQp.js +0 -28
- package/chunks/ImageGalleryExtendedMain.module-DEMmSVQp.js.map +0 -1
- package/chunks/IslandAccordion.module-bwQFP0tP.js +0 -44
- package/chunks/IslandAccordion.module-bwQFP0tP.js.map +0 -1
- package/chunks/IslandWidgetFooter.module-CP5njAOS.js +0 -18
- package/chunks/IslandWidgetFooter.module-CP5njAOS.js.map +0 -1
- package/chunks/IslandWidgetHeader.module-Czxumpj0.js +0 -28
- package/chunks/IslandWidgetHeader.module-Czxumpj0.js.map +0 -1
- package/chunks/LightBoxControls.module-CCqAYXOp.js +0 -26
- package/chunks/LightBoxControls.module-CCqAYXOp.js.map +0 -1
- package/chunks/LightBoxSideOverlayClose.module-Bu0mbQ2E.js.map +0 -1
- package/chunks/ListItemTail.module-DNcipOgP.js +0 -18
- package/chunks/ListItemTail.module-DNcipOgP.js.map +0 -1
- package/chunks/ListMasterFooter.module-BO7_lx0S.js +0 -14
- package/chunks/ListMasterFooter.module-BO7_lx0S.js.map +0 -1
- package/chunks/ModalWindow.module-Bb8wLMOR.js +0 -28
- package/chunks/ModalWindow.module-Bb8wLMOR.js.map +0 -1
- package/chunks/Notification.module-C27U0YZV.js +0 -34
- package/chunks/Notification.module-C27U0YZV.js.map +0 -1
- package/chunks/Overlay.module-BzjO-w78.js +0 -30
- package/chunks/Overlay.module-BzjO-w78.js.map +0 -1
- package/chunks/Page.module-BkhV9GYk.js +0 -17
- package/chunks/Page.module-BkhV9GYk.js.map +0 -1
- package/chunks/SMSField.module-ro6oGp6K.js +0 -30
- package/chunks/SMSField.module-ro6oGp6K.js.map +0 -1
- package/chunks/SliderExtendedMarks.module-kZFbIl0G.js +0 -24
- package/chunks/SliderExtendedMarks.module-kZFbIl0G.js.map +0 -1
- package/chunks/StatusTracker.module-C20aPMTU.js +0 -44
- package/chunks/StatusTracker.module-C20aPMTU.js.map +0 -1
- package/chunks/TableFooter.module-0fRaQavw.js +0 -22
- package/chunks/TableFooter.module-0fRaQavw.js.map +0 -1
- package/chunks/TabsExtended.module-edmUKSS3.js +0 -26
- package/chunks/TabsExtended.module-edmUKSS3.js.map +0 -1
- package/chunks/TabsLine.module-0jeKJFx6.js +0 -36
- package/chunks/TabsLine.module-0jeKJFx6.js.map +0 -1
- package/chunks/TooltipDesktop.module-B4l074WB.js +0 -32
- package/chunks/TooltipDesktop.module-B4l074WB.js.map +0 -1
- package/chunks/TreeView.module-6Cj379Bu.js +0 -12
- package/chunks/TreeView.module-6Cj379Bu.js.map +0 -1
- package/components/DesignTokens/components/DropdownMobile.js +0 -24
- package/components/DesignTokens/components/DropdownMobile.js.map +0 -1
- package/components/DesignTokens/components/DropdownMobileList.js +0 -12
- package/components/DesignTokens/components/DropdownMobileList.js.map +0 -1
- package/components/Dropdown/mobile/DropdownMobile.js +0 -33
- package/components/Dropdown/mobile/DropdownMobile.js.map +0 -1
- package/components/Dropdown/mobile/DropdownMobileBody.js +0 -12
- package/components/Dropdown/mobile/DropdownMobileBody.js.map +0 -1
- package/components/Dropdown/mobile/DropdownMobileClose.js +0 -14
- package/components/Dropdown/mobile/DropdownMobileClose.js.map +0 -1
- package/components/Dropdown/mobile/DropdownMobileFooter.js +0 -12
- package/components/Dropdown/mobile/DropdownMobileFooter.js.map +0 -1
- package/components/Dropdown/mobile/DropdownMobileHeader.js +0 -15
- package/components/Dropdown/mobile/DropdownMobileHeader.js.map +0 -1
- package/components/Dropdown/mobile/DropdownMobileInner.js.map +0 -1
- package/components/Dropdown/mobile/DropdownMobileInput.js +0 -15
- package/components/Dropdown/mobile/DropdownMobileInput.js.map +0 -1
- package/components/Dropdown/mobile/DropdownMobileList.js +0 -24
- package/components/Dropdown/mobile/DropdownMobileList.js.map +0 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js.map +0 -1
- package/components/Dropdown/mobile/DropdownMobileLoader.js +0 -20
- package/components/Dropdown/mobile/DropdownMobileLoader.js.map +0 -1
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +0 -19
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js.map +0 -1
- package/components/Dropdown/mobile/index.js +0 -23
- /package/components/{Dropdown/mobile → Puller}/index.js.map +0 -0
package/components/Col/Col.js
CHANGED
|
@@ -3,141 +3,141 @@ import React, { useContext } from "react";
|
|
|
3
3
|
import { c as clsx } from "../../chunks/vendor-Bf_-FiU6.js";
|
|
4
4
|
import { RowContext } from "../Row/RowContext.js";
|
|
5
5
|
import { EComponentSize } from "../../enums/EComponentSize.js";
|
|
6
|
-
const gridHorizontalGapSM = "
|
|
7
|
-
const gridHorizontalGapMD = "
|
|
6
|
+
const gridHorizontalGapSM = "gridHorizontalGapSM__2aae53de";
|
|
7
|
+
const gridHorizontalGapMD = "gridHorizontalGapMD__3ce49ba9";
|
|
8
8
|
const styles = {
|
|
9
9
|
gridHorizontalGapSM,
|
|
10
10
|
gridHorizontalGapMD,
|
|
11
|
-
"col-1": "col-
|
|
12
|
-
"col-2": "col-
|
|
13
|
-
"col-3": "col-
|
|
14
|
-
"col-4": "col-
|
|
15
|
-
"col-5": "col-
|
|
16
|
-
"col-6": "col-
|
|
17
|
-
"col-7": "col-
|
|
18
|
-
"col-8": "col-
|
|
19
|
-
"col-9": "col-
|
|
20
|
-
"col-10": "col-
|
|
21
|
-
"col-11": "col-
|
|
22
|
-
"col-12": "col-
|
|
23
|
-
"offset-0": "offset-
|
|
24
|
-
"offset-1": "offset-
|
|
25
|
-
"offset-2": "offset-
|
|
26
|
-
"offset-3": "offset-
|
|
27
|
-
"offset-4": "offset-
|
|
28
|
-
"offset-5": "offset-
|
|
29
|
-
"offset-6": "offset-
|
|
30
|
-
"offset-7": "offset-
|
|
31
|
-
"offset-8": "offset-
|
|
32
|
-
"offset-9": "offset-
|
|
33
|
-
"offset-10": "offset-
|
|
34
|
-
"offset-11": "offset-
|
|
35
|
-
"d-none": "d-
|
|
36
|
-
"d-block": "d-
|
|
37
|
-
"col-sm-1": "col-sm-
|
|
38
|
-
"col-sm-2": "col-sm-
|
|
39
|
-
"col-sm-3": "col-sm-
|
|
40
|
-
"col-sm-4": "col-sm-
|
|
41
|
-
"col-sm-5": "col-sm-
|
|
42
|
-
"col-sm-6": "col-sm-
|
|
43
|
-
"col-sm-7": "col-sm-
|
|
44
|
-
"col-sm-8": "col-sm-
|
|
45
|
-
"col-sm-9": "col-sm-
|
|
46
|
-
"col-sm-10": "col-sm-
|
|
47
|
-
"col-sm-11": "col-sm-
|
|
48
|
-
"col-sm-12": "col-sm-
|
|
49
|
-
"offset-sm-0": "offset-sm-
|
|
50
|
-
"offset-sm-1": "offset-sm-
|
|
51
|
-
"offset-sm-2": "offset-sm-
|
|
52
|
-
"offset-sm-3": "offset-sm-
|
|
53
|
-
"offset-sm-4": "offset-sm-
|
|
54
|
-
"offset-sm-5": "offset-sm-
|
|
55
|
-
"offset-sm-6": "offset-sm-
|
|
56
|
-
"offset-sm-7": "offset-sm-
|
|
57
|
-
"offset-sm-8": "offset-sm-
|
|
58
|
-
"offset-sm-9": "offset-sm-
|
|
59
|
-
"offset-sm-10": "offset-sm-
|
|
60
|
-
"offset-sm-11": "offset-sm-
|
|
61
|
-
"d-none-sm": "d-none-
|
|
62
|
-
"d-block-sm": "d-block-
|
|
63
|
-
"col-md-1": "col-md-
|
|
64
|
-
"col-md-2": "col-md-
|
|
65
|
-
"col-md-3": "col-md-
|
|
66
|
-
"col-md-4": "col-md-
|
|
67
|
-
"col-md-5": "col-md-
|
|
68
|
-
"col-md-6": "col-md-
|
|
69
|
-
"col-md-7": "col-md-
|
|
70
|
-
"col-md-8": "col-md-
|
|
71
|
-
"col-md-9": "col-md-
|
|
72
|
-
"col-md-10": "col-md-
|
|
73
|
-
"col-md-11": "col-md-
|
|
74
|
-
"col-md-12": "col-md-
|
|
75
|
-
"offset-md-0": "offset-md-
|
|
76
|
-
"offset-md-1": "offset-md-
|
|
77
|
-
"offset-md-2": "offset-md-
|
|
78
|
-
"offset-md-3": "offset-md-
|
|
79
|
-
"offset-md-4": "offset-md-
|
|
80
|
-
"offset-md-5": "offset-md-
|
|
81
|
-
"offset-md-6": "offset-md-
|
|
82
|
-
"offset-md-7": "offset-md-
|
|
83
|
-
"offset-md-8": "offset-md-
|
|
84
|
-
"offset-md-9": "offset-md-
|
|
85
|
-
"offset-md-10": "offset-md-
|
|
86
|
-
"offset-md-11": "offset-md-
|
|
87
|
-
"d-none-md": "d-none-
|
|
88
|
-
"d-block-md": "d-block-
|
|
89
|
-
"col-lg-1": "col-lg-
|
|
90
|
-
"col-lg-2": "col-lg-
|
|
91
|
-
"col-lg-3": "col-lg-
|
|
92
|
-
"col-lg-4": "col-lg-
|
|
93
|
-
"col-lg-5": "col-lg-
|
|
94
|
-
"col-lg-6": "col-lg-
|
|
95
|
-
"col-lg-7": "col-lg-
|
|
96
|
-
"col-lg-8": "col-lg-
|
|
97
|
-
"col-lg-9": "col-lg-
|
|
98
|
-
"col-lg-10": "col-lg-
|
|
99
|
-
"col-lg-11": "col-lg-
|
|
100
|
-
"col-lg-12": "col-lg-
|
|
101
|
-
"offset-lg-0": "offset-lg-
|
|
102
|
-
"offset-lg-1": "offset-lg-
|
|
103
|
-
"offset-lg-2": "offset-lg-
|
|
104
|
-
"offset-lg-3": "offset-lg-
|
|
105
|
-
"offset-lg-4": "offset-lg-
|
|
106
|
-
"offset-lg-5": "offset-lg-
|
|
107
|
-
"offset-lg-6": "offset-lg-
|
|
108
|
-
"offset-lg-7": "offset-lg-
|
|
109
|
-
"offset-lg-8": "offset-lg-
|
|
110
|
-
"offset-lg-9": "offset-lg-
|
|
111
|
-
"offset-lg-10": "offset-lg-
|
|
112
|
-
"offset-lg-11": "offset-lg-
|
|
113
|
-
"d-none-lg": "d-none-
|
|
114
|
-
"d-block-lg": "d-block-
|
|
115
|
-
"col-xl-1": "col-xl-
|
|
116
|
-
"col-xl-2": "col-xl-
|
|
117
|
-
"col-xl-3": "col-xl-
|
|
118
|
-
"col-xl-4": "col-xl-
|
|
119
|
-
"col-xl-5": "col-xl-
|
|
120
|
-
"col-xl-6": "col-xl-
|
|
121
|
-
"col-xl-7": "col-xl-
|
|
122
|
-
"col-xl-8": "col-xl-
|
|
123
|
-
"col-xl-9": "col-xl-
|
|
124
|
-
"col-xl-10": "col-xl-
|
|
125
|
-
"col-xl-11": "col-xl-
|
|
126
|
-
"col-xl-12": "col-xl-
|
|
127
|
-
"offset-xl-0": "offset-xl-
|
|
128
|
-
"offset-xl-1": "offset-xl-
|
|
129
|
-
"offset-xl-2": "offset-xl-
|
|
130
|
-
"offset-xl-3": "offset-xl-
|
|
131
|
-
"offset-xl-4": "offset-xl-
|
|
132
|
-
"offset-xl-5": "offset-xl-
|
|
133
|
-
"offset-xl-6": "offset-xl-
|
|
134
|
-
"offset-xl-7": "offset-xl-
|
|
135
|
-
"offset-xl-8": "offset-xl-
|
|
136
|
-
"offset-xl-9": "offset-xl-
|
|
137
|
-
"offset-xl-10": "offset-xl-
|
|
138
|
-
"offset-xl-11": "offset-xl-
|
|
139
|
-
"d-none-xl": "d-none-
|
|
140
|
-
"d-block-xl": "d-block-
|
|
11
|
+
"col-1": "col-1__bbcd5b22",
|
|
12
|
+
"col-2": "col-2__3da6717f",
|
|
13
|
+
"col-3": "col-3__e1c3451b",
|
|
14
|
+
"col-4": "col-4__95ea56d9",
|
|
15
|
+
"col-5": "col-5__0b8d03ca",
|
|
16
|
+
"col-6": "col-6__de12e47b",
|
|
17
|
+
"col-7": "col-7__862028c4",
|
|
18
|
+
"col-8": "col-8__6af4354f",
|
|
19
|
+
"col-9": "col-9__d7f63724",
|
|
20
|
+
"col-10": "col-10__2e5b847e",
|
|
21
|
+
"col-11": "col-11__245ca02e",
|
|
22
|
+
"col-12": "col-12__6dd48806",
|
|
23
|
+
"offset-0": "offset-0__692c1162",
|
|
24
|
+
"offset-1": "offset-1__18600215",
|
|
25
|
+
"offset-2": "offset-2__95635940",
|
|
26
|
+
"offset-3": "offset-3__f2aea083",
|
|
27
|
+
"offset-4": "offset-4__002a7c0d",
|
|
28
|
+
"offset-5": "offset-5__058db334",
|
|
29
|
+
"offset-6": "offset-6__17969501",
|
|
30
|
+
"offset-7": "offset-7__026e3109",
|
|
31
|
+
"offset-8": "offset-8__cad08381",
|
|
32
|
+
"offset-9": "offset-9__2839be68",
|
|
33
|
+
"offset-10": "offset-10__73b433bf",
|
|
34
|
+
"offset-11": "offset-11__7eed2f63",
|
|
35
|
+
"d-none": "d-none__a1042f3f",
|
|
36
|
+
"d-block": "d-block__026d1ed0",
|
|
37
|
+
"col-sm-1": "col-sm-1__eea34bf6",
|
|
38
|
+
"col-sm-2": "col-sm-2__41264188",
|
|
39
|
+
"col-sm-3": "col-sm-3__36719f83",
|
|
40
|
+
"col-sm-4": "col-sm-4__1185cf3f",
|
|
41
|
+
"col-sm-5": "col-sm-5__62921357",
|
|
42
|
+
"col-sm-6": "col-sm-6__0f3ad0e8",
|
|
43
|
+
"col-sm-7": "col-sm-7__1d3a0e91",
|
|
44
|
+
"col-sm-8": "col-sm-8__0f8c7fcc",
|
|
45
|
+
"col-sm-9": "col-sm-9__48706ad5",
|
|
46
|
+
"col-sm-10": "col-sm-10__f3b91897",
|
|
47
|
+
"col-sm-11": "col-sm-11__bb57d44c",
|
|
48
|
+
"col-sm-12": "col-sm-12__dbfb4025",
|
|
49
|
+
"offset-sm-0": "offset-sm-0__35c6c598",
|
|
50
|
+
"offset-sm-1": "offset-sm-1__e786fe59",
|
|
51
|
+
"offset-sm-2": "offset-sm-2__a6205902",
|
|
52
|
+
"offset-sm-3": "offset-sm-3__3a0e683c",
|
|
53
|
+
"offset-sm-4": "offset-sm-4__f17f7456",
|
|
54
|
+
"offset-sm-5": "offset-sm-5__b07bbe8f",
|
|
55
|
+
"offset-sm-6": "offset-sm-6__6fe06977",
|
|
56
|
+
"offset-sm-7": "offset-sm-7__4c743ed6",
|
|
57
|
+
"offset-sm-8": "offset-sm-8__f51e208a",
|
|
58
|
+
"offset-sm-9": "offset-sm-9__b46dc8ce",
|
|
59
|
+
"offset-sm-10": "offset-sm-10__fff7598f",
|
|
60
|
+
"offset-sm-11": "offset-sm-11__e4c65c91",
|
|
61
|
+
"d-none-sm": "d-none-sm__66d2d157",
|
|
62
|
+
"d-block-sm": "d-block-sm__880456ff",
|
|
63
|
+
"col-md-1": "col-md-1__726070ad",
|
|
64
|
+
"col-md-2": "col-md-2__dd118671",
|
|
65
|
+
"col-md-3": "col-md-3__cb479953",
|
|
66
|
+
"col-md-4": "col-md-4__340f33e4",
|
|
67
|
+
"col-md-5": "col-md-5__d2155149",
|
|
68
|
+
"col-md-6": "col-md-6__9c8c1267",
|
|
69
|
+
"col-md-7": "col-md-7__3da6a07b",
|
|
70
|
+
"col-md-8": "col-md-8__0c4c99e0",
|
|
71
|
+
"col-md-9": "col-md-9__f95eb0fa",
|
|
72
|
+
"col-md-10": "col-md-10__f972647b",
|
|
73
|
+
"col-md-11": "col-md-11__cca2ab0a",
|
|
74
|
+
"col-md-12": "col-md-12__e6343bba",
|
|
75
|
+
"offset-md-0": "offset-md-0__6d467a0f",
|
|
76
|
+
"offset-md-1": "offset-md-1__2cb7100f",
|
|
77
|
+
"offset-md-2": "offset-md-2__c3839dff",
|
|
78
|
+
"offset-md-3": "offset-md-3__a074eaf6",
|
|
79
|
+
"offset-md-4": "offset-md-4__c4ff8fbc",
|
|
80
|
+
"offset-md-5": "offset-md-5__ddadeca7",
|
|
81
|
+
"offset-md-6": "offset-md-6__3e627fa5",
|
|
82
|
+
"offset-md-7": "offset-md-7__4948c6cf",
|
|
83
|
+
"offset-md-8": "offset-md-8__9e070837",
|
|
84
|
+
"offset-md-9": "offset-md-9__e319d762",
|
|
85
|
+
"offset-md-10": "offset-md-10__f733c009",
|
|
86
|
+
"offset-md-11": "offset-md-11__8b5a7859",
|
|
87
|
+
"d-none-md": "d-none-md__f618c1a1",
|
|
88
|
+
"d-block-md": "d-block-md__069159fb",
|
|
89
|
+
"col-lg-1": "col-lg-1__f84392e5",
|
|
90
|
+
"col-lg-2": "col-lg-2__e677343c",
|
|
91
|
+
"col-lg-3": "col-lg-3__b6355dea",
|
|
92
|
+
"col-lg-4": "col-lg-4__dbf0dc87",
|
|
93
|
+
"col-lg-5": "col-lg-5__7e6f5b10",
|
|
94
|
+
"col-lg-6": "col-lg-6__6ff8a90a",
|
|
95
|
+
"col-lg-7": "col-lg-7__a3879c31",
|
|
96
|
+
"col-lg-8": "col-lg-8__8e9788fd",
|
|
97
|
+
"col-lg-9": "col-lg-9__bb505d2b",
|
|
98
|
+
"col-lg-10": "col-lg-10__6068167e",
|
|
99
|
+
"col-lg-11": "col-lg-11__9d324406",
|
|
100
|
+
"col-lg-12": "col-lg-12__b6fa7f92",
|
|
101
|
+
"offset-lg-0": "offset-lg-0__23f3ca85",
|
|
102
|
+
"offset-lg-1": "offset-lg-1__1290d1cb",
|
|
103
|
+
"offset-lg-2": "offset-lg-2__ae1044ff",
|
|
104
|
+
"offset-lg-3": "offset-lg-3__f5257c0c",
|
|
105
|
+
"offset-lg-4": "offset-lg-4__4fef6adf",
|
|
106
|
+
"offset-lg-5": "offset-lg-5__3cbbe383",
|
|
107
|
+
"offset-lg-6": "offset-lg-6__a3c75e10",
|
|
108
|
+
"offset-lg-7": "offset-lg-7__afb1c1fa",
|
|
109
|
+
"offset-lg-8": "offset-lg-8__99edad0a",
|
|
110
|
+
"offset-lg-9": "offset-lg-9__e06caa77",
|
|
111
|
+
"offset-lg-10": "offset-lg-10__62d23354",
|
|
112
|
+
"offset-lg-11": "offset-lg-11__00105d60",
|
|
113
|
+
"d-none-lg": "d-none-lg__7f35097f",
|
|
114
|
+
"d-block-lg": "d-block-lg__536ef972",
|
|
115
|
+
"col-xl-1": "col-xl-1__3d60fb31",
|
|
116
|
+
"col-xl-2": "col-xl-2__507e012c",
|
|
117
|
+
"col-xl-3": "col-xl-3__4569f1af",
|
|
118
|
+
"col-xl-4": "col-xl-4__cb8da81b",
|
|
119
|
+
"col-xl-5": "col-xl-5__1e2707ef",
|
|
120
|
+
"col-xl-6": "col-xl-6__b540cc2d",
|
|
121
|
+
"col-xl-7": "col-xl-7__36addc31",
|
|
122
|
+
"col-xl-8": "col-xl-8__87b4f786",
|
|
123
|
+
"col-xl-9": "col-xl-9__893388d9",
|
|
124
|
+
"col-xl-10": "col-xl-10__acc3c5ae",
|
|
125
|
+
"col-xl-11": "col-xl-11__bf606267",
|
|
126
|
+
"col-xl-12": "col-xl-12__94111e15",
|
|
127
|
+
"offset-xl-0": "offset-xl-0__08cfb523",
|
|
128
|
+
"offset-xl-1": "offset-xl-1__0d789a94",
|
|
129
|
+
"offset-xl-2": "offset-xl-2__b6ecd94c",
|
|
130
|
+
"offset-xl-3": "offset-xl-3__95329428",
|
|
131
|
+
"offset-xl-4": "offset-xl-4__7e9ecc66",
|
|
132
|
+
"offset-xl-5": "offset-xl-5__11d65436",
|
|
133
|
+
"offset-xl-6": "offset-xl-6__ef03eded",
|
|
134
|
+
"offset-xl-7": "offset-xl-7__d3cfcdb3",
|
|
135
|
+
"offset-xl-8": "offset-xl-8__bcc6f57e",
|
|
136
|
+
"offset-xl-9": "offset-xl-9__d3441d76",
|
|
137
|
+
"offset-xl-10": "offset-xl-10__e4e96422",
|
|
138
|
+
"offset-xl-11": "offset-xl-11__ccdf3229",
|
|
139
|
+
"d-none-xl": "d-none-xl__abc7055f",
|
|
140
|
+
"d-block-xl": "d-block-xl__e78d6f35"
|
|
141
141
|
};
|
|
142
142
|
const GRID_HORIZONTAL_GAP_TO_CLASS_NAME_MAP = {
|
|
143
143
|
[EComponentSize.SM]: styles.gridHorizontalGapSM,
|
|
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { c as clsx } from "../../chunks/vendor-Bf_-FiU6.js";
|
|
3
3
|
import { CollapsibleTreeExtended } from "../CollapsibleTreeExtended/CollapsibleTreeExtended.js";
|
|
4
4
|
import { CollapsibleTreeBranchNode } from "./components/CollapsibleTreeBranchNode.js";
|
|
5
|
-
const collapsibleTree = "
|
|
5
|
+
const collapsibleTree = "collapsibleTree__1018fad4";
|
|
6
6
|
const styles = {
|
|
7
7
|
collapsibleTree
|
|
8
8
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef } from "react";
|
|
3
3
|
import { c as clsx } from "../../../chunks/vendor-Bf_-FiU6.js";
|
|
4
|
-
const collapsibleTreeLeafContent = "
|
|
4
|
+
const collapsibleTreeLeafContent = "collapsibleTreeLeafContent__d72166f7";
|
|
5
5
|
const styles = {
|
|
6
6
|
collapsibleTreeLeafContent
|
|
7
7
|
};
|
|
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { CollapsibleTreeExtended } from "../../CollapsibleTreeExtended/CollapsibleTreeExtended.js";
|
|
3
3
|
import { CollapsibleTreeLeafContent } from "./CollapsibleTreeLeafContent.js";
|
|
4
4
|
import { x as noop } from "../../../chunks/vendor-Bf_-FiU6.js";
|
|
5
|
-
const collapsibleTreeLeafNode = "
|
|
5
|
+
const collapsibleTreeLeafNode = "collapsibleTreeLeafNode__b035adba";
|
|
6
6
|
const styles = {
|
|
7
7
|
collapsibleTreeLeafNode
|
|
8
8
|
};
|
|
@@ -2,10 +2,10 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef } from "react";
|
|
3
3
|
import { CaretrightStrokeSrvIcon24 } from "@sberbusiness/icons-next";
|
|
4
4
|
import { c as clsx } from "../../../chunks/vendor-Bf_-FiU6.js";
|
|
5
|
-
const collapsibleTreeNodeHeader = "
|
|
6
|
-
const interactive = "
|
|
7
|
-
const chevron = "
|
|
8
|
-
const opened = "
|
|
5
|
+
const collapsibleTreeNodeHeader = "collapsibleTreeNodeHeader__1dd01865";
|
|
6
|
+
const interactive = "interactive__276f8da6";
|
|
7
|
+
const chevron = "chevron__579ab529";
|
|
8
|
+
const opened = "opened__c17c98ae";
|
|
9
9
|
const styles = {
|
|
10
10
|
collapsibleTreeNodeHeader,
|
|
11
11
|
interactive,
|
|
@@ -6,7 +6,7 @@ import React from "react";
|
|
|
6
6
|
import { TreeView } from "../../TreeView/TreeView.js";
|
|
7
7
|
import { AccordionBase } from "../../AccordionBase/protected/AccordionBase.js";
|
|
8
8
|
import { c as clsx } from "../../../chunks/vendor-Bf_-FiU6.js";
|
|
9
|
-
const collapsibleTreeExtendedNodeContent = "
|
|
9
|
+
const collapsibleTreeExtendedNodeContent = "collapsibleTreeExtendedNodeContent__28506992";
|
|
10
10
|
const styles = {
|
|
11
11
|
collapsibleTreeExtendedNodeContent
|
|
12
12
|
};
|
|
@@ -10,7 +10,7 @@ import "../Island/components/IslandBody.js";
|
|
|
10
10
|
import "../Island/components/IslandHeader.js";
|
|
11
11
|
import "../Island/components/IslandFooter.js";
|
|
12
12
|
import { EConfirmParentComponent } from "./enums.js";
|
|
13
|
-
import { s as styles } from "../../chunks/Confirm.module-
|
|
13
|
+
import { s as styles } from "../../chunks/Confirm.module-Bd5pQ3Lp.js";
|
|
14
14
|
const PARENT_COMPONENT_TO_CLASS_NAME_MAP = {
|
|
15
15
|
[EConfirmParentComponent.LIGHTBOX]: styles.isInLightBox,
|
|
16
16
|
[EConfirmParentComponent.SIDE_OVERLAY_SM]: styles.isInSideOverlaySM,
|
|
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { CrossStrokeSrvIcon20 } from "@sberbusiness/icons-next";
|
|
4
4
|
import { c as clsx } from "../../../chunks/vendor-Bf_-FiU6.js";
|
|
5
|
-
import { s as styles } from "../../../chunks/Confirm.module-
|
|
5
|
+
import { s as styles } from "../../../chunks/Confirm.module-Bd5pQ3Lp.js";
|
|
6
6
|
import { Button } from "../../Button/Button.js";
|
|
7
7
|
import { EButtonTheme } from "../../Button/enums.js";
|
|
8
8
|
import { EComponentSize } from "../../../enums/EComponentSize.js";
|
|
@@ -3,7 +3,7 @@ import React from "react";
|
|
|
3
3
|
import { ConfirmContentSubTitle } from "./ConfirmContentSubTitle.js";
|
|
4
4
|
import { ConfirmContentTitle } from "./ConfirmContentTitle.js";
|
|
5
5
|
import { c as clsx } from "../../../chunks/vendor-Bf_-FiU6.js";
|
|
6
|
-
import { s as styles } from "../../../chunks/Confirm.module-
|
|
6
|
+
import { s as styles } from "../../../chunks/Confirm.module-Bd5pQ3Lp.js";
|
|
7
7
|
const ConfirmContent = Object.assign(
|
|
8
8
|
React.forwardRef(({ children, className, ...htmlDivAttributes }, ref) => /* @__PURE__ */ jsx("div", { className: clsx(styles.confirmContent, className), ...htmlDivAttributes, ref, children })),
|
|
9
9
|
{
|
|
@@ -3,7 +3,7 @@ import React from "react";
|
|
|
3
3
|
import { ETitleSize } from "../../Typography/enums.js";
|
|
4
4
|
import { Title } from "../../Typography/Title.js";
|
|
5
5
|
import { c as clsx } from "../../../chunks/vendor-Bf_-FiU6.js";
|
|
6
|
-
import { s as styles } from "../../../chunks/Confirm.module-
|
|
6
|
+
import { s as styles } from "../../../chunks/Confirm.module-Bd5pQ3Lp.js";
|
|
7
7
|
const TitleBase = Title;
|
|
8
8
|
const ConfirmContentTitle = React.forwardRef(
|
|
9
9
|
({ children, className, size = ETitleSize.H3, ...rest }, ref) => /* @__PURE__ */ jsx(TitleBase, { size, className: clsx(styles.confirmContentTitle, className), ...rest, ref, children })
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { c as clsx } from "../../../chunks/vendor-Bf_-FiU6.js";
|
|
4
|
-
import { s as styles } from "../../../chunks/Confirm.module-
|
|
4
|
+
import { s as styles } from "../../../chunks/Confirm.module-Bd5pQ3Lp.js";
|
|
5
5
|
const ConfirmControls = React.forwardRef(
|
|
6
6
|
({ children, className, ...htmlDivAttributes }, ref) => /* @__PURE__ */ jsx("div", { className: clsx(styles.confirmControls, className), ...htmlDivAttributes, ref, children })
|
|
7
7
|
);
|
|
@@ -9,7 +9,7 @@ import { inputDateFormat } from "./constants.js";
|
|
|
9
9
|
import { Tooltip } from "../Tooltip/Tooltip.js";
|
|
10
10
|
import { ETooltipSize } from "../Tooltip/enums.js";
|
|
11
11
|
import { MobileView } from "../MobileView/MobileView.js";
|
|
12
|
-
import {
|
|
12
|
+
import { PullerMaskedInput } from "../Puller/PullerMaskedInput.js";
|
|
13
13
|
import { DateFieldContext } from "./DateFieldContext.js";
|
|
14
14
|
import { FormFieldMaskedInput } from "../FormField/components/FormFieldMaskedInput.js";
|
|
15
15
|
const DateField = React.forwardRef((props, ref) => {
|
|
@@ -135,10 +135,10 @@ const DateField = React.forwardRef((props, ref) => {
|
|
|
135
135
|
) });
|
|
136
136
|
};
|
|
137
137
|
const renderDropdownHeaderTarget = () => /* @__PURE__ */ jsx(
|
|
138
|
-
|
|
138
|
+
PullerMaskedInput,
|
|
139
139
|
{
|
|
140
140
|
value: pickerValues.inputString,
|
|
141
|
-
mask:
|
|
141
|
+
mask: PullerMaskedInput.presets.masks.date,
|
|
142
142
|
placeholderMask,
|
|
143
143
|
onChange: handleInputChange,
|
|
144
144
|
autoFocus: true
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateField.js","sources":["../../../src/components/DateField/DateField.tsx"],"sourcesContent":["import React, { useState, useEffect, useRef } from \"react\";\nimport moment from \"moment\";\nimport { IDateFieldProps } from \"./types\";\nimport { DatePickerExtended } from \"../DatePickerExtended/DatePickerExtended\";\nimport { dateFormatYYYYMMDD, globalLimitRange } from \"../../consts/DateConst\";\nimport { DateFieldUtils } from \"./utils\";\nimport { DateFieldTarget } from \"./DateFieldTarget\";\nimport { inputDateFormat } from \"./constants\";\nimport { Tooltip } from \"../Tooltip/Tooltip\";\nimport { ETooltipSize } from \"../Tooltip/enums\";\nimport { MobileView } from \"../MobileView/MobileView\";\nimport { DropdownMobileMaskedInput } from \"../Dropdown/mobile/DropdownMobileMaskedInput\";\nimport { DateFieldContext } from \"./DateFieldContext\";\nimport { FormFieldMaskedInput } from \"../FormField/components/FormFieldMaskedInput\";\n\n/** Компонент ввода и выбора даты. */\nexport const DateField = React.forwardRef<HTMLDivElement, IDateFieldProps>((props, ref) => {\n const {\n size,\n status,\n value,\n label,\n placeholderMask,\n \"aria-label\": ariaLabel,\n \"aria-labelledby\": ariaLabelledby,\n format = dateFormatYYYYMMDD,\n limitRange = globalLimitRange,\n disabledDays,\n onChange,\n onClear,\n onDropdownOpen,\n onDropdownClose,\n invalidDateHint,\n targetProps,\n ...restProps\n } = props;\n const [pickerValues, setPickerValues] = useState(\n DateFieldUtils.getPickerValues(value, format, limitRange, disabledDays),\n );\n const tooltipTargetRef = useRef<HTMLDivElement | null>(null);\n const dropdownTargetRef = useRef<HTMLDivElement | null>(null);\n const lastValidPickerValuesRef = useRef(pickerValues);\n const inputFocusedRef = useRef(false);\n const dropdownOpenRef = useRef(false);\n const dropdownClosedByCalendarRef = useRef(false); // Dropdown закрылся от выбора даты в календаре\n const tooltipOpenedRef = useRef(false);\n\n useEffect(() => {\n const newPickerValues = DateFieldUtils.getPickerValues(value, format, limitRange, disabledDays);\n\n if (newPickerValues.inputString !== pickerValues.inputString) {\n setPickerValues(newPickerValues);\n }\n lastValidPickerValuesRef.current = newPickerValues;\n // pickerValues намеренно не в зависимостях: эффект синхронизирует поле с внешним value,\n // а не реагирует на ввод пользователя — иначе он затирал бы промежуточный ввод.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [value, format, limitRange, disabledDays]);\n\n const setRef = (instance: HTMLDivElement | null) => {\n tooltipTargetRef.current = instance;\n if (typeof ref === \"function\") {\n ref(instance);\n } else if (ref) {\n ref.current = instance;\n }\n };\n\n /** Обработчик изменения значения поля ввода с маской. */\n const handleInputChange = (event: React.ChangeEvent<HTMLInputElement>) => {\n let date: moment.Moment | null = null;\n\n if (event.target.value.length === inputDateFormat.length) {\n date = moment(event.target.value, inputDateFormat, true);\n\n if (\n !date.isValid() ||\n !DateFieldUtils.isAvailableDate(date, date.format(format), limitRange, disabledDays)\n ) {\n date = null;\n }\n\n tooltipOpenedRef.current = !date;\n } else {\n tooltipOpenedRef.current = false;\n }\n\n setPickerValues({ calendarDate: date, inputString: event.target.value });\n };\n\n /** Триггер изменения значения из поля ввода. */\n const triggerChangeFromInput = () => {\n if (pickerValues.inputString.length === 0 && value.length !== 0) {\n return onChange(pickerValues.inputString);\n }\n\n const date = moment(pickerValues.inputString, inputDateFormat, true);\n\n if (date.isValid()) {\n const newValue = date.format(format);\n\n if (newValue === value) {\n return;\n }\n\n if (DateFieldUtils.isAvailableDate(date, newValue, limitRange, disabledDays)) {\n return onChange(newValue);\n }\n }\n\n // Текущее значение в поле невалидно, возвращаем последнее валидное.\n if (pickerValues.inputString !== lastValidPickerValuesRef.current.inputString) {\n tooltipOpenedRef.current = false;\n setPickerValues(lastValidPickerValuesRef.current);\n }\n };\n\n /** Обработчик открытия Dropdown. */\n const handleDropdownOpen = () => {\n dropdownOpenRef.current = true;\n\n onDropdownOpen?.();\n };\n\n /** Обработчик закрытия Dropdown. */\n const handleDropdownClose = () => {\n dropdownOpenRef.current = false;\n\n if (dropdownClosedByCalendarRef.current) {\n dropdownClosedByCalendarRef.current = false;\n } else if (\n !inputFocusedRef.current &&\n pickerValues.inputString !== lastValidPickerValuesRef.current.inputString\n ) {\n triggerChangeFromInput();\n }\n\n onDropdownClose?.();\n };\n\n /** Обработчик изменения даты. */\n const handleDateChange = (date: moment.Moment) => {\n dropdownClosedByCalendarRef.current = true;\n tooltipOpenedRef.current = false;\n\n onChange(date.format(format));\n };\n\n /** Рендер-функция управляющего элемента. */\n const renderTarget = () => {\n const { maskedInputProps, ...restTargetProps } = targetProps || {};\n const { onChange: onInputChange, ...restMaskedInputProps } = maskedInputProps || {};\n\n return (\n <DateFieldContext.Provider value={{ inputFocusedRef, onChange, triggerChangeFromInput }}>\n <DateFieldTarget\n size={size}\n status={status}\n label={label}\n onClear={onClear}\n maskedInputProps={{\n value: pickerValues.inputString,\n mask: FormFieldMaskedInput.presets.masks.date,\n placeholderMask,\n \"aria-label\": ariaLabel,\n \"aria-labelledby\": ariaLabelledby,\n onChange: (event) => {\n handleInputChange(event);\n onInputChange?.(event);\n },\n ...restMaskedInputProps,\n }}\n {...restTargetProps}\n ref={dropdownTargetRef}\n />\n </DateFieldContext.Provider>\n );\n };\n\n /** Рендер-функция управляющего элемента в заголовке DropdownMobile. */\n const renderDropdownHeaderTarget = () => (\n <DropdownMobileMaskedInput\n value={pickerValues.inputString}\n mask={DropdownMobileMaskedInput.presets.masks.date}\n placeholderMask={placeholderMask}\n onChange={handleInputChange}\n autoFocus={true}\n />\n );\n\n /** Рендер-функция DatePickerExtended — поле ввода с выпадающим календарём. */\n const renderDatePickerExtended = () => (\n <DatePickerExtended\n dropdownTargetRef={dropdownTargetRef}\n renderTarget={renderTarget}\n renderDropdownHeaderTarget={renderDropdownHeaderTarget}\n pickedDate={pickerValues.calendarDate}\n format={format}\n limitRange={limitRange}\n disabledDays={disabledDays}\n onDropdownOpen={handleDropdownOpen}\n onDropdownClose={handleDropdownClose}\n onDateChange={handleDateChange}\n {...restProps}\n ref={setRef}\n />\n );\n\n return (\n <MobileView\n fallback={\n <Tooltip targetRef={tooltipTargetRef} size={ETooltipSize.SM} isOpen={tooltipOpenedRef.current}>\n <Tooltip.Body>{invalidDateHint}</Tooltip.Body>\n <Tooltip.Target>{renderDatePickerExtended()}</Tooltip.Target>\n </Tooltip>\n }\n >\n {renderDatePickerExtended()}\n </MobileView>\n );\n});\n\nDateField.displayName = \"DateField\";\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAgBO,MAAM,YAAY,MAAM,WAA4C,CAAC,OAAO,QAAQ;AACvF,QAAM;AAAA,IACF;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,cAAc;AAAA,IACd,mBAAmB;AAAA,IACnB,SAAS;AAAA,IACT,aAAa;AAAA,IACb;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,GAAG;AAAA,EAAA,IACH;AACJ,QAAM,CAAC,cAAc,eAAe,IAAI;AAAA,IACpC,eAAe,gBAAgB,OAAO,QAAQ,YAAY,YAAY;AAAA,EAAA;AAE1E,QAAM,mBAAmB,OAA8B,IAAI;AAC3D,QAAM,oBAAoB,OAA8B,IAAI;AAC5D,QAAM,2BAA2B,OAAO,YAAY;AACpD,QAAM,kBAAkB,OAAO,KAAK;AACpC,QAAM,kBAAkB,OAAO,KAAK;AACpC,QAAM,8BAA8B,OAAO,KAAK;AAChD,QAAM,mBAAmB,OAAO,KAAK;AAErC,YAAU,MAAM;AACZ,UAAM,kBAAkB,eAAe,gBAAgB,OAAO,QAAQ,YAAY,YAAY;AAE9F,QAAI,gBAAgB,gBAAgB,aAAa,aAAa;AAC1D,sBAAgB,eAAe;AAAA,IACnC;AACA,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;AAAA,MACA,YAAY,aAAa;AAAA,MACzB;AAAA,MACA;AAAA,MACA;AAAA,MACA,gBAAgB;AAAA,MAChB,iBAAiB;AAAA,MACjB,cAAc;AAAA,MACb,GAAG;AAAA,MACJ,KAAK;AAAA,IAAA;AAAA,EAAA;AAIb,SACI;AAAA,IAAC;AAAA,IAAA;AAAA,MACG,UACI,qBAAC,SAAA,EAAQ,WAAW,kBAAkB,MAAM,aAAa,IAAI,QAAQ,iBAAiB,SAClF,UAAA;AAAA,QAAA,oBAAC,QAAQ,MAAR,EAAc,UAAA,gBAAA,CAAgB;AAAA,QAC/B,oBAAC,QAAQ,QAAR,EAAgB,qCAAyB,CAAE;AAAA,MAAA,GAChD;AAAA,MAGH,UAAA,yBAAA;AAAA,IAAyB;AAAA,EAAA;AAGtC,CAAC;AAED,UAAU,cAAc;"}
|
|
1
|
+
{"version":3,"file":"DateField.js","sources":["../../../src/components/DateField/DateField.tsx"],"sourcesContent":["import React, { useState, useEffect, useRef } from \"react\";\nimport moment from \"moment\";\nimport { IDateFieldProps } from \"./types\";\nimport { DatePickerExtended } from \"../DatePickerExtended/DatePickerExtended\";\nimport { dateFormatYYYYMMDD, globalLimitRange } from \"../../consts/DateConst\";\nimport { DateFieldUtils } from \"./utils\";\nimport { DateFieldTarget } from \"./DateFieldTarget\";\nimport { inputDateFormat } from \"./constants\";\nimport { Tooltip } from \"../Tooltip/Tooltip\";\nimport { ETooltipSize } from \"../Tooltip/enums\";\nimport { MobileView } from \"../MobileView/MobileView\";\nimport { PullerMaskedInput } from \"../Puller/PullerMaskedInput\";\nimport { DateFieldContext } from \"./DateFieldContext\";\nimport { FormFieldMaskedInput } from \"../FormField/components/FormFieldMaskedInput\";\n\n/** Компонент ввода и выбора даты. */\nexport const DateField = React.forwardRef<HTMLDivElement, IDateFieldProps>((props, ref) => {\n const {\n size,\n status,\n value,\n label,\n placeholderMask,\n \"aria-label\": ariaLabel,\n \"aria-labelledby\": ariaLabelledby,\n format = dateFormatYYYYMMDD,\n limitRange = globalLimitRange,\n disabledDays,\n onChange,\n onClear,\n onDropdownOpen,\n onDropdownClose,\n invalidDateHint,\n targetProps,\n ...restProps\n } = props;\n const [pickerValues, setPickerValues] = useState(\n DateFieldUtils.getPickerValues(value, format, limitRange, disabledDays),\n );\n const tooltipTargetRef = useRef<HTMLDivElement | null>(null);\n const dropdownTargetRef = useRef<HTMLDivElement | null>(null);\n const lastValidPickerValuesRef = useRef(pickerValues);\n const inputFocusedRef = useRef(false);\n const dropdownOpenRef = useRef(false);\n const dropdownClosedByCalendarRef = useRef(false); // Dropdown закрылся от выбора даты в календаре\n const tooltipOpenedRef = useRef(false);\n\n useEffect(() => {\n const newPickerValues = DateFieldUtils.getPickerValues(value, format, limitRange, disabledDays);\n\n if (newPickerValues.inputString !== pickerValues.inputString) {\n setPickerValues(newPickerValues);\n }\n lastValidPickerValuesRef.current = newPickerValues;\n // pickerValues намеренно не в зависимостях: эффект синхронизирует поле с внешним value,\n // а не реагирует на ввод пользователя — иначе он затирал бы промежуточный ввод.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [value, format, limitRange, disabledDays]);\n\n const setRef = (instance: HTMLDivElement | null) => {\n tooltipTargetRef.current = instance;\n if (typeof ref === \"function\") {\n ref(instance);\n } else if (ref) {\n ref.current = instance;\n }\n };\n\n /** Обработчик изменения значения поля ввода с маской. */\n const handleInputChange = (event: React.ChangeEvent<HTMLInputElement>) => {\n let date: moment.Moment | null = null;\n\n if (event.target.value.length === inputDateFormat.length) {\n date = moment(event.target.value, inputDateFormat, true);\n\n if (\n !date.isValid() ||\n !DateFieldUtils.isAvailableDate(date, date.format(format), limitRange, disabledDays)\n ) {\n date = null;\n }\n\n tooltipOpenedRef.current = !date;\n } else {\n tooltipOpenedRef.current = false;\n }\n\n setPickerValues({ calendarDate: date, inputString: event.target.value });\n };\n\n /** Триггер изменения значения из поля ввода. */\n const triggerChangeFromInput = () => {\n if (pickerValues.inputString.length === 0 && value.length !== 0) {\n return onChange(pickerValues.inputString);\n }\n\n const date = moment(pickerValues.inputString, inputDateFormat, true);\n\n if (date.isValid()) {\n const newValue = date.format(format);\n\n if (newValue === value) {\n return;\n }\n\n if (DateFieldUtils.isAvailableDate(date, newValue, limitRange, disabledDays)) {\n return onChange(newValue);\n }\n }\n\n // Текущее значение в поле невалидно, возвращаем последнее валидное.\n if (pickerValues.inputString !== lastValidPickerValuesRef.current.inputString) {\n tooltipOpenedRef.current = false;\n setPickerValues(lastValidPickerValuesRef.current);\n }\n };\n\n /** Обработчик открытия Dropdown. */\n const handleDropdownOpen = () => {\n dropdownOpenRef.current = true;\n\n onDropdownOpen?.();\n };\n\n /** Обработчик закрытия Dropdown. */\n const handleDropdownClose = () => {\n dropdownOpenRef.current = false;\n\n if (dropdownClosedByCalendarRef.current) {\n dropdownClosedByCalendarRef.current = false;\n } else if (\n !inputFocusedRef.current &&\n pickerValues.inputString !== lastValidPickerValuesRef.current.inputString\n ) {\n triggerChangeFromInput();\n }\n\n onDropdownClose?.();\n };\n\n /** Обработчик изменения даты. */\n const handleDateChange = (date: moment.Moment) => {\n dropdownClosedByCalendarRef.current = true;\n tooltipOpenedRef.current = false;\n\n onChange(date.format(format));\n };\n\n /** Рендер-функция управляющего элемента. */\n const renderTarget = () => {\n const { maskedInputProps, ...restTargetProps } = targetProps || {};\n const { onChange: onInputChange, ...restMaskedInputProps } = maskedInputProps || {};\n\n return (\n <DateFieldContext.Provider value={{ inputFocusedRef, onChange, triggerChangeFromInput }}>\n <DateFieldTarget\n size={size}\n status={status}\n label={label}\n onClear={onClear}\n maskedInputProps={{\n value: pickerValues.inputString,\n mask: FormFieldMaskedInput.presets.masks.date,\n placeholderMask,\n \"aria-label\": ariaLabel,\n \"aria-labelledby\": ariaLabelledby,\n onChange: (event) => {\n handleInputChange(event);\n onInputChange?.(event);\n },\n ...restMaskedInputProps,\n }}\n {...restTargetProps}\n ref={dropdownTargetRef}\n />\n </DateFieldContext.Provider>\n );\n };\n\n /** Рендер-функция управляющего элемента в заголовке Puller. */\n const renderDropdownHeaderTarget = () => (\n <PullerMaskedInput\n value={pickerValues.inputString}\n mask={PullerMaskedInput.presets.masks.date}\n placeholderMask={placeholderMask}\n onChange={handleInputChange}\n autoFocus={true}\n />\n );\n\n /** Рендер-функция DatePickerExtended — поле ввода с выпадающим календарём. */\n const renderDatePickerExtended = () => (\n <DatePickerExtended\n dropdownTargetRef={dropdownTargetRef}\n renderTarget={renderTarget}\n renderDropdownHeaderTarget={renderDropdownHeaderTarget}\n pickedDate={pickerValues.calendarDate}\n format={format}\n limitRange={limitRange}\n disabledDays={disabledDays}\n onDropdownOpen={handleDropdownOpen}\n onDropdownClose={handleDropdownClose}\n onDateChange={handleDateChange}\n {...restProps}\n ref={setRef}\n />\n );\n\n return (\n <MobileView\n fallback={\n <Tooltip targetRef={tooltipTargetRef} size={ETooltipSize.SM} isOpen={tooltipOpenedRef.current}>\n <Tooltip.Body>{invalidDateHint}</Tooltip.Body>\n <Tooltip.Target>{renderDatePickerExtended()}</Tooltip.Target>\n </Tooltip>\n }\n >\n {renderDatePickerExtended()}\n </MobileView>\n );\n});\n\nDateField.displayName = \"DateField\";\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAgBO,MAAM,YAAY,MAAM,WAA4C,CAAC,OAAO,QAAQ;AACvF,QAAM;AAAA,IACF;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,cAAc;AAAA,IACd,mBAAmB;AAAA,IACnB,SAAS;AAAA,IACT,aAAa;AAAA,IACb;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,GAAG;AAAA,EAAA,IACH;AACJ,QAAM,CAAC,cAAc,eAAe,IAAI;AAAA,IACpC,eAAe,gBAAgB,OAAO,QAAQ,YAAY,YAAY;AAAA,EAAA;AAE1E,QAAM,mBAAmB,OAA8B,IAAI;AAC3D,QAAM,oBAAoB,OAA8B,IAAI;AAC5D,QAAM,2BA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,MAAA;AAAA,IAAA,GAEb;AAAA,EAER;AAGA,QAAM,6BAA6B,MAC/B;AAAA,IAAC;AAAA,IAAA;AAAA,MACG,OAAO,aAAa;AAAA,MACpB,MAAM,kBAAkB,QAAQ,MAAM;AAAA,MACtC;AAAA,MACA,UAAU;AAAA,MACV,WAAW;AAAA,IAAA;AAAA,EAAA;AAKnB,QAAM,2BAA2B,MAC7B;AAAA,IAAC;AAAA,IAAA;AAAA,MACG;AAAA,MACA;AAAA,MACA;AAAA,MACA,YAAY,aAAa;AAAA,MACzB;AAAA,MACA;AAAA,MACA;AAAA,MACA,gBAAgB;AAAA,MAChB,iBAAiB;AAAA,MACjB,cAAc;AAAA,MACb,GAAG;AAAA,MACJ,KAAK;AAAA,IAAA;AAAA,EAAA;AAIb,SACI;AAAA,IAAC;AAAA,IAAA;AAAA,MACG,UACI,qBAAC,SAAA,EAAQ,WAAW,kBAAkB,MAAM,aAAa,IAAI,QAAQ,iBAAiB,SAClF,UAAA;AAAA,QAAA,oBAAC,QAAQ,MAAR,EAAc,UAAA,gBAAA,CAAgB;AAAA,QAC/B,oBAAC,QAAQ,QAAR,EAAgB,qCAAyB,CAAE;AAAA,MAAA,GAChD;AAAA,MAGH,UAAA,yBAAA;AAAA,IAAyB;AAAA,EAAA;AAGtC,CAAC;AAED,UAAU,cAAc;"}
|
|
@@ -12,10 +12,10 @@ import { useMobileView } from "../MobileView/useMobileView.js";
|
|
|
12
12
|
import { isKey } from "../../utils/keyboard.js";
|
|
13
13
|
import { EComponentSize } from "../../enums/EComponentSize.js";
|
|
14
14
|
import { EFormFieldStatus } from "../FormField/enums.js";
|
|
15
|
-
const dateFieldTarget = "
|
|
16
|
-
const minWidthSM = "
|
|
17
|
-
const minWidthMD = "
|
|
18
|
-
const minWidthLG = "
|
|
15
|
+
const dateFieldTarget = "dateFieldTarget__ea77bd10";
|
|
16
|
+
const minWidthSM = "minWidthSM__badfef40";
|
|
17
|
+
const minWidthMD = "minWidthMD__597329f0";
|
|
18
|
+
const minWidthLG = "minWidthLG__c019264d";
|
|
19
19
|
const styles = {
|
|
20
20
|
dateFieldTarget,
|
|
21
21
|
minWidthSM,
|
|
@@ -5,23 +5,12 @@ import { Calendar } from "../Calendar/Calendar.js";
|
|
|
5
5
|
import "../Dropdown/DropdownListContext.js";
|
|
6
6
|
import "../Dropdown/desktop/DropdownDesktop.js";
|
|
7
7
|
import "../Dropdown/desktop/DropdownList.js";
|
|
8
|
-
import "../../chunks/DropdownListItem-
|
|
8
|
+
import "../../chunks/DropdownListItem-DtBDNMDu.js";
|
|
9
9
|
import { EDropdownAlignment } from "../Dropdown/desktop/enums.js";
|
|
10
|
-
import "../Dropdown/mobile/DropdownMobile.js";
|
|
11
|
-
import "../Dropdown/mobile/DropdownMobileBody.js";
|
|
12
|
-
import "../Dropdown/mobile/DropdownMobileClose.js";
|
|
13
|
-
import "../Dropdown/mobile/DropdownMobileFooter.js";
|
|
14
|
-
import "../Dropdown/mobile/DropdownMobileHeader.js";
|
|
15
|
-
import "../Dropdown/mobile/DropdownMobileInner.js";
|
|
16
|
-
import "../Dropdown/mobile/DropdownMobileInput.js";
|
|
17
|
-
import "../Dropdown/mobile/DropdownMobileList.js";
|
|
18
|
-
import "../Dropdown/mobile/DropdownMobileListItem.js";
|
|
19
|
-
import "../Loader/LoaderSmall/LoaderSmall.js";
|
|
20
|
-
import "../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
21
|
-
import { EComponentSize } from "../../enums/EComponentSize.js";
|
|
22
10
|
import "../Dropdown/Dropdown.js";
|
|
23
11
|
import { DatePickerExtendedContext } from "./DatePickerExtendedContext.js";
|
|
24
12
|
import { DatePickerExtendedDropdown } from "./DatePickerExtendedDropdown.js";
|
|
13
|
+
import { EComponentSize } from "../../enums/EComponentSize.js";
|
|
25
14
|
const DatePickerExtended = React.forwardRef((props, ref) => {
|
|
26
15
|
const {
|
|
27
16
|
// Dropdown props
|
|
@@ -136,7 +125,7 @@ const DatePickerExtended = React.forwardRef((props, ref) => {
|
|
|
136
125
|
onKeyDown: handleKeyDown,
|
|
137
126
|
onMouseDown: handleMouseDown,
|
|
138
127
|
...restProps,
|
|
139
|
-
"data-tx": "0.
|
|
128
|
+
"data-tx": "0.53.0",
|
|
140
129
|
ref: setRef,
|
|
141
130
|
children: /* @__PURE__ */ jsxs(DatePickerExtendedContext.Provider, { value: { dropdownOpen, mouseUsedRef, setDropdownOpen }, children: [
|
|
142
131
|
renderTarget(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatePickerExtended.js","sources":["../../../src/components/DatePickerExtended/DatePickerExtended.tsx"],"sourcesContent":["import React, { useState, useEffect, useRef } from \"react\";\nimport moment from \"moment\";\nimport FocusTrap from \"focus-trap-react\";\nimport { isKey } from \"../../utils/keyboard\";\nimport { Calendar, ICalendarProps } from \"../Calendar\";\nimport { EDropdownAlignment, IDropdownProps } from \"../Dropdown\";\nimport { DatePickerExtendedContext } from \"./DatePickerExtendedContext\";\nimport { DatePickerExtendedDropdown } from \"./DatePickerExtendedDropdown\";\nimport { EComponentSize } from \"../../enums\";\n\n/**\n * Свойства компонента DatePickerExtended.\n * adaptiveMode исключён из props календаря: адаптивный режим компонент определяет сам по версии дропдауна.\n */\nexport interface IDatePickerExtendedProps\n extends\n Omit<React.HTMLAttributes<HTMLDivElement>, \"onChange\">,\n Pick<IDropdownProps, \"alignment\">,\n Omit<ICalendarProps, \"adaptiveMode\"> {\n /** Ссылка на целевой элемент для Dropdown. По умолчанию — корневой элемент компонента. */\n dropdownTargetRef?: React.RefObject<HTMLElement>;\n /** Рендер-функция целевого элемента. */\n renderTarget: () => React.ReactNode;\n /** Рендер-функция целевого элемента в заголовке
|
|
1
|
+
{"version":3,"file":"DatePickerExtended.js","sources":["../../../src/components/DatePickerExtended/DatePickerExtended.tsx"],"sourcesContent":["import React, { useState, useEffect, useRef } from \"react\";\nimport moment from \"moment\";\nimport FocusTrap from \"focus-trap-react\";\nimport { isKey } from \"../../utils/keyboard\";\nimport { Calendar, ICalendarProps } from \"../Calendar\";\nimport { EDropdownAlignment, IDropdownProps } from \"../Dropdown\";\nimport { DatePickerExtendedContext } from \"./DatePickerExtendedContext\";\nimport { DatePickerExtendedDropdown } from \"./DatePickerExtendedDropdown\";\nimport { EComponentSize } from \"../../enums\";\n\n/**\n * Свойства компонента DatePickerExtended.\n * adaptiveMode исключён из props календаря: адаптивный режим компонент определяет сам по версии дропдауна.\n */\nexport interface IDatePickerExtendedProps\n extends\n Omit<React.HTMLAttributes<HTMLDivElement>, \"onChange\">,\n Pick<IDropdownProps, \"alignment\">,\n Omit<ICalendarProps, \"adaptiveMode\"> {\n /** Ссылка на целевой элемент для Dropdown. По умолчанию — корневой элемент компонента. */\n dropdownTargetRef?: React.RefObject<HTMLElement>;\n /** Рендер-функция целевого элемента. */\n renderTarget: () => React.ReactNode;\n /** Рендер-функция целевого элемента в заголовке Puller. */\n renderDropdownHeaderTarget: () => React.ReactNode;\n /** Callback на открытие Dropdown. */\n onDropdownOpen?: () => void;\n /** Callback на закрытие Dropdown. */\n onDropdownClose?: () => void;\n /** Свойства FocusTrap. Используется npm-пакет focus-trap-react. */\n focusTrapProps?: FocusTrap.Props;\n}\n\n/**\n * База для компонентов выбора даты (DateField, MonthYearField, ChipDatePicker, ChipMonthYearPicker).\n * Рендерит переданный целевым элемент и выпадающий Calendar, хранит состояние открытости\n * дропдауна и отдаёт его целевому элементу через DatePickerExtendedContext.\n */\nexport const DatePickerExtended = React.forwardRef<HTMLDivElement, IDatePickerExtendedProps>((props, ref) => {\n const {\n // Dropdown props\n dropdownTargetRef,\n alignment = EDropdownAlignment.LEFT,\n focusTrapProps,\n // Calendar props — перечислены явно, иначе они попадут в restProps и осядут на корневом div.\n pickType,\n format,\n defaultViewDate,\n onViewChange,\n onPageChange,\n pickedDate,\n limitRange,\n markedDays,\n disabledDays,\n reversedPick,\n dayHtmlAttributes,\n monthHtmlAttributes,\n yearHtmlAttributes,\n prevButtonProps,\n nextButtonProps,\n viewButtonProps,\n yesterdayButtonProps,\n todayButtonProps,\n tomorrowButtonProps,\n onDateChange,\n // Other\n renderTarget,\n renderDropdownHeaderTarget,\n onKeyDown,\n onMouseDown,\n onDropdownOpen,\n onDropdownClose,\n // adaptiveMode исключён из публичного типа, но JS-потребитель и старый скомпилированный код\n // всё ещё могут его передать. Снимаем значение здесь, иначе оно уйдёт на корневой div.\n adaptiveMode,\n ...restProps\n } = props as IDatePickerExtendedProps & Pick<ICalendarProps, \"adaptiveMode\">;\n const [dropdownOpen, setDropdownOpen] = useState(false);\n const containerRef = useRef<HTMLDivElement | null>(null);\n const dropdownRef = useRef<HTMLDivElement>(null);\n /** Флаг взаимодействия пользователя мышью. */\n const mouseUsedRef = useRef(false);\n\n useEffect(() => {\n if (!dropdownOpen) {\n mouseUsedRef.current = false;\n\n return;\n }\n\n /** Обработчик нажатия мыши вне компонента. */\n const handleOutsideMouseDown = (event: MouseEvent) => {\n if (\n !containerRef.current?.contains(event.target as Node) &&\n !dropdownRef.current?.contains(event.target as Node)\n ) {\n setDropdownOpen(false);\n }\n };\n\n document.addEventListener(\"mousedown\", handleOutsideMouseDown);\n\n return () => {\n document.removeEventListener(\"mousedown\", handleOutsideMouseDown);\n };\n }, [dropdownOpen]);\n\n /** Обработчик нажатия клавиши. */\n const handleKeyDown = (event: React.KeyboardEvent<HTMLDivElement>) => {\n const key = event.code || event.keyCode;\n\n if (dropdownOpen && isKey(key, \"ESCAPE\")) {\n setDropdownOpen(false);\n }\n\n onKeyDown?.(event);\n };\n\n /** Обработчик нажатия мыши. */\n const handleMouseDown = (event: React.MouseEvent<HTMLDivElement>) => {\n mouseUsedRef.current = true;\n\n onMouseDown?.(event);\n };\n\n /** Обработчик изменения даты. Выбор даты закрывает дропдаун. */\n const handleDateChange = (date: moment.Moment) => {\n setDropdownOpen(false);\n\n onDateChange(date);\n };\n\n /** Рендер календаря. Адаптивный режим включает мобильная версия дропдауна. */\n const renderCalendar = (adaptive: boolean) => (\n <Calendar\n defaultViewDate={defaultViewDate}\n pickedDate={pickedDate}\n pickType={pickType}\n format={format}\n limitRange={limitRange}\n markedDays={markedDays}\n disabledDays={disabledDays}\n reversedPick={reversedPick}\n adaptiveMode={adaptive}\n onDateChange={handleDateChange}\n onPageChange={onPageChange}\n onViewChange={onViewChange}\n dayHtmlAttributes={dayHtmlAttributes}\n monthHtmlAttributes={monthHtmlAttributes}\n yearHtmlAttributes={yearHtmlAttributes}\n prevButtonProps={prevButtonProps}\n nextButtonProps={nextButtonProps}\n viewButtonProps={viewButtonProps}\n yesterdayButtonProps={yesterdayButtonProps}\n todayButtonProps={todayButtonProps}\n tomorrowButtonProps={tomorrowButtonProps}\n />\n );\n\n const setRef = (node: HTMLDivElement | null) => {\n containerRef.current = node;\n\n if (typeof ref === \"function\") {\n ref(node);\n } else if (ref) {\n ref.current = node;\n }\n };\n\n return (\n <div\n onKeyDown={handleKeyDown}\n onMouseDown={handleMouseDown}\n {...restProps}\n data-tx={process.env.npm_package_version}\n ref={setRef}\n >\n <DatePickerExtendedContext.Provider value={{ dropdownOpen, mouseUsedRef, setDropdownOpen }}>\n {renderTarget()}\n <DatePickerExtendedDropdown\n opened={dropdownOpen}\n size={EComponentSize.MD}\n alignment={alignment}\n targetRef={dropdownTargetRef || containerRef}\n focusTrapProps={focusTrapProps}\n renderCalendar={renderCalendar}\n renderHeaderTarget={renderDropdownHeaderTarget}\n setOpened={setDropdownOpen}\n onOpen={onDropdownOpen}\n onClose={onDropdownClose}\n ref={dropdownRef}\n />\n </DatePickerExtendedContext.Provider>\n </div>\n );\n});\n\nDatePickerExtended.displayName = \"DatePickerExtended\";\n"],"names":[],"mappings":";;;;;;;;;;;;;AAsCO,MAAM,qBAAqB,MAAM,WAAqD,CAAC,OAAO,QAAQ;AACzG,QAAM;AAAA;AAAA,IAEF;AAAA,IACA,YAAY,mBAAmB;AAAA,IAC/B;AAAA;AAAA,IAEA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAA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