@sberbusiness/triplex-next 1.5.0 → 1.6.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-M7W9D-p3.js → AlertProcessSpoiler-BCXIqVd5.js} +3 -3
- package/chunks/CalendarViewItem-CHiqUGxF.js +101 -0
- package/chunks/Card.module-CmXEvD5r.js +17 -0
- package/chunks/CheckboxTreeExtended.module-D-2ZUrcy.js +11 -0
- package/chunks/{Chip-DpSJGyYK.js → Chip-yWyfl_o2.js} +9 -9
- package/chunks/Confirm.module-Ds4ZMYVB.js +15 -0
- package/chunks/DropdownListItem-DgEkMGvB.js +57 -0
- package/chunks/DropdownMobile.module-thvNKX4t.js +21 -0
- package/chunks/Footer.module-DZhiuTzP.js +9 -0
- package/chunks/{FormFieldInput-BSxKZxcq.js → FormFieldInput-BBhoiftf.js} +15 -15
- package/chunks/HeaderLayoutSidebar.module-DaB6pHPF.js +9 -0
- package/chunks/HeaderTabs.module-DK3rR1yV.js +9 -0
- package/chunks/{HeaderTitle.module-CEMLCR13.js → HeaderTitle.module-CBMLSjn-.js} +2 -2
- package/chunks/IslandAccordion.module-D9LSijXT.js +26 -0
- package/chunks/{LightBoxContent-DTTxRVLQ.js → LightBoxContent-BjsBFl6W.js} +15 -15
- package/chunks/LightBoxControls.module-BHw6I5-d.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-VE4NCDr0.js +8 -0
- package/chunks/{ListItemControlsButton-AbCEipFe.js → ListItemControlsButton-CueYzEGM.js} +11 -11
- package/chunks/ListItemTail.module-Bw2cyg-n.js +12 -0
- package/chunks/ListMasterFooter.module-BfD7OQFa.js +10 -0
- package/chunks/ModalWindow.module-Nps-2rvx.js +17 -0
- package/chunks/Notification.module-DZZnmvDX.js +21 -0
- package/chunks/Overlay.module-BGfiVeol.js +18 -0
- package/chunks/Page.module-CV4uy77C.js +12 -0
- package/chunks/{RightBorderArrow-Co_RT8lZ.js → RightBorderArrow-rROpeCX0.js} +14 -14
- package/chunks/SMSInput.module-Br6FTDVD.js +16 -0
- package/chunks/SliderExtendedMarks.module-Bubs2UAN.js +15 -0
- package/chunks/SliderExtendedRail-BmH-0W3L.js +40 -0
- package/chunks/StatusTracker.module-BVzGbfDD.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-nZwpz9Eo.js → SuggestFieldMobileDropdownHint-Bh4smUeN.js} +2 -2
- package/chunks/TableFooter.module-hx13-EO6.js +14 -0
- package/chunks/TabsExtended.module-CNjCgifz.js +16 -0
- package/chunks/TabsLine.module-_Jn8K0jv.js +23 -0
- package/chunks/TooltipDesktop.module-Cx6fDiek.js +19 -0
- package/chunks/{TooltipMobileCloseButton-DTtQoE3B.js → TooltipMobileCloseButton-BUyQFHWX.js} +4 -4
- package/chunks/TreeView.module-oeG4_2Ve.js +9 -0
- package/chunks/{UploadZoneInput-C2-_7DoS.js → UploadZoneInput-CjsECm07.js} +3 -3
- package/chunks/utils-C1Q-0uVF.js +36 -0
- package/chunks/{utils-CFlJg-k1.js → utils-C8A7RzC0.js} +5 -5
- package/chunks/utils-Cb3psf0n.js +73 -0
- package/chunks/{utils-Dhi5F6Da.js → utils-D-KMukhm.js} +4 -4
- package/chunks/utils-vwCIbf0H.js +24 -0
- package/chunks/{vendor-9KVE23Ri.js → vendor-D3hUOusX.js} +4403 -4403
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +10 -10
- package/components/Alert/AlertContext/AlertContext.js +16 -16
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +8 -8
- package/components/AmountField/AmountField.js +11 -11
- package/components/Body/Body.js +13 -13
- package/components/Body/index.js +4 -2
- package/components/Button/Button.js +26 -26
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +54 -54
- package/components/Button/ButtonDropdownExtended.js +6 -6
- package/components/Button/ButtonIcon.js +14 -14
- package/components/Calendar/Calendar.js +131 -126
- package/components/Calendar/CalendarContext.js +1 -1
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarFooterButton.js +31 -0
- package/components/Calendar/components/CalendarViewDays.js +67 -76
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +9 -9
- package/components/Calendar/components/CalendarViewYears.js +10 -10
- package/components/Calendar/utils.js +5 -5
- package/components/Card/CardAction.js +4 -4
- package/components/Card/CardStatic.js +3 -3
- package/components/Card/components/CardContent/CardContent.js +2 -2
- package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
- package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
- package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
- package/components/Card/components/CardMedia.js +2 -2
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +7 -7
- package/components/Checkbox/Checkbox.js +17 -17
- package/components/Checkbox/CheckboxXGroup.js +11 -11
- package/components/Checkbox/CheckboxYGroup.js +4 -4
- package/components/CheckboxTree/index.js +5 -0
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +8 -7
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +4 -3
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +22 -21
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +21 -24
- package/components/CheckboxTreeExtended/index.js +5 -0
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +4 -4
- package/components/Chip/ChipDropdownArrow.js +2 -2
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +46 -0
- package/components/Chip/ChipOptions.js +4 -4
- package/components/Chip/ChipSelect.js +2 -2
- package/components/Chip/ChipSort.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +6 -6
- package/components/Chip/index.js +11 -9
- package/components/ChipGroup/ChipGroup.js +5 -5
- package/components/Col/Col.js +137 -137
- package/components/CollapsableTree/components/CollapsableTreeNode.js +6 -6
- package/components/Confirm/Confirm.js +41 -0
- package/components/Confirm/components/ConfirmClose.js +13 -0
- package/components/Confirm/components/ConfirmCloseButton.js +27 -0
- package/components/Confirm/components/ConfirmContent.js +13 -0
- package/components/Confirm/components/ConfirmContentSubTitle.js +15 -0
- package/components/Confirm/components/ConfirmContentTitle.js +16 -0
- package/components/Confirm/components/ConfirmControls.js +9 -0
- package/components/Confirm/enums.js +5 -0
- package/components/Confirm/index.js +5 -0
- package/components/DateField/DateField.js +8 -8
- package/components/DateField/utils.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +13 -13
- package/components/DateRange/DateRange.js +73 -0
- package/components/DateRange/enums.js +5 -0
- package/components/DesignTokens/DesignTokenUtils.js +7 -7
- package/components/DesignTokens/DesignTokensComponents.js +71 -54
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +64 -47
- package/components/DesignTokens/components/Calendar.js +0 -2
- package/components/DesignTokens/components/Island.js +4 -4
- package/components/DesignTokens/components/IslandAccordion.js +15 -4
- package/components/DesignTokens/components/MultiselectField.js +9 -0
- package/components/DesignTokens/components/Slider.js +59 -0
- package/components/DesignTokens/components/SmallInput.js +15 -0
- package/components/DesignTokens/components/TopOverlay.js +9 -0
- package/components/DesignTokens/components/UploadZone.js +1 -1
- package/components/DesignTokens/components/index.js +95 -83
- package/components/Divider/Divider.js +18 -18
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +64 -0
- package/components/DocumentNumberEdit/index.js +5 -0
- package/components/Dropdown/desktop/DropdownDesktop.js +17 -17
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +4 -4
- package/components/Ellipsis/Ellipsis.js +9 -9
- package/components/ExpandAnimation/ExpandAnimation.js +14 -14
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +2 -2
- package/components/Footer/components/FooterDescriptionContent.js +2 -2
- package/components/Footer/components/FooterDescriptionControls.js +2 -2
- package/components/FormField/FormField.js +21 -21
- package/components/FormField/components/FormFieldClear.js +6 -6
- package/components/FormField/components/FormFieldCounter.js +3 -3
- package/components/FormField/components/FormFieldDescription.js +6 -6
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +10 -10
- package/components/FormField/components/FormFieldMaskedInput.js +10 -10
- package/components/FormField/components/FormFieldPostfix.js +10 -10
- package/components/FormField/components/FormFieldPrefix.js +6 -6
- package/components/FormField/components/FormFieldTarget.js +38 -37
- package/components/FormField/components/FormFieldTextarea.js +16 -16
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +6 -6
- package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +2 -2
- package/components/HelpBox/HelpBox.js +13 -13
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +4 -4
- package/components/Island/components/IslandFooter.js +5 -5
- package/components/Island/components/IslandHeader.js +4 -4
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +3 -3
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionItem.js +81 -73
- package/components/LightBox/LightBox.js +24 -24
- package/components/LightBox/LightBoxContent.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxClose.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxControls.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxNext.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +9 -9
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +3 -3
- package/components/Link/Link.js +22 -22
- package/components/List/List.js +5 -5
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +2 -2
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +3 -3
- package/components/List/components/ListItemControls.js +6 -6
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +4 -4
- package/components/List/components/ListItemSelectable.js +5 -5
- package/components/List/components/ListItemTable.js +6 -6
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +6 -6
- package/components/List/components/ListSortableItemControls.js +8 -8
- package/components/List/components/ListSortableItemTarget.js +9 -9
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +5 -5
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +8 -8
- package/components/ListMaster/components/SelectionControls.js +6 -6
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +5 -5
- package/components/Loader/LoaderSmall/LoaderSmall.js +5 -5
- package/components/LoaderScreen/LoaderScreen.js +13 -13
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +7 -7
- package/components/ModalWindow/ModalWindow.js +6 -6
- package/components/ModalWindow/components/ModalWindowBody.js +14 -182
- package/components/ModalWindow/components/ModalWindowClose.js +6 -6
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +6 -6
- package/components/MonthYearField/utils.js +1 -1
- package/components/MultiselectField/MultiselectField.js +22 -0
- package/components/MultiselectField/MultiselectFieldContext.js +10 -0
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +65 -0
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +23 -0
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +13 -0
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +13 -0
- package/components/MultiselectField/components/index.js +11 -0
- package/components/MultiselectField/index.js +5 -0
- package/components/Notification/Notification.js +3 -3
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyContent.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/Notification/index.js +7 -0
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +3 -3
- package/components/OrderedList/OrderedListItem.js +6 -6
- package/components/Overlay/Overlay.js +2 -2
- package/components/Overlay/OverlayMask.js +2 -2
- package/components/Overlay/OverlayPanel.js +2 -2
- package/components/Page/Page.js +2 -2
- package/components/Page/components/BodyPage.js +2 -2
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +5 -4
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +10 -10
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +10 -10
- package/components/Radio/RadioXGroup.js +13 -13
- package/components/Radio/RadioYGroup.js +5 -5
- package/components/Row/Row.js +5 -5
- package/components/SMSInput/SMSInput.js +3 -3
- package/components/SMSInput/components/RefreshIcon.js +2 -2
- package/components/SMSInput/components/SMSInputInput.js +3 -3
- package/components/SMSInput/components/SMSInputRefresh.js +2 -2
- package/components/SMSInput/components/SMSInputSubmit.js +2 -2
- package/components/SMSInput/components/SMSInputTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +5 -5
- package/components/SegmentedControl/SegmentedControlSegment.js +9 -9
- package/components/SelectExtendedField/SelectExtendedField.js +60 -54
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +83 -69
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +9 -9
- package/components/Slider/Slider.js +20 -0
- package/components/Slider/index.js +5 -0
- package/components/SliderExtended/SliderExtended.js +102 -0
- package/components/SliderExtended/SliderExtendedContext.js +30 -0
- package/components/SliderExtended/SliderExtendedUtils.js +32 -0
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +158 -0
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDotActions.js +12 -0
- package/components/SliderExtended/components/SliderExtendedDot/useSliderExtendedDotTabIndex.js +21 -0
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +48 -0
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarkActions.js +27 -0
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +9 -0
- package/components/SliderExtended/components/SliderExtendedMoveHandler.js +25 -0
- package/components/SliderExtended/components/SliderExtendedRail.js +10 -0
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +39 -0
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +147 -0
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrackActions.js +36 -0
- package/components/SliderExtended/index.js +5 -0
- package/components/SliderRange/SliderRange.js +63 -0
- package/components/SliderRange/index.js +5 -0
- package/components/SmallInput/SmallInput.js +11 -0
- package/components/SmallInput/index.js +5 -0
- package/components/Spoiler/Spoiler.js +5 -5
- package/components/StatusTracker/StatusTracker.js +13 -13
- package/components/StatusTracker/components/StatusTrackerAlert.js +2 -2
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +2 -2
- package/components/StatusTracker/components/StatusTrackerFooter.js +2 -2
- package/components/StatusTracker/components/StatusTrackerHeader.js +2 -2
- package/components/StatusTracker/components/StatusTrackerMedia.js +2 -2
- package/components/StatusTracker/components/StatusTrackerStatus.js +2 -2
- package/components/StatusTracker/components/StatusTrackerSum.js +2 -2
- package/components/StatusTracker/components/StatusTrackerTitle.js +2 -2
- package/components/StatusTracker/enums.js +1 -1
- package/components/StatusTracker/index.js +3 -0
- package/components/Step/Step.js +7 -7
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +4 -4
- package/components/Stepper/StepperExtended.js +6 -6
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +7 -7
- package/components/Suggest/SuggestMobileDropdownContent.js +6 -6
- package/components/SuggestField/SuggestField.js +1 -1
- package/components/SuggestField/SuggestFieldTarget.js +1 -1
- package/components/SuggestField/SuggestFieldTargetPostfix.js +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +14 -14
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +3 -3
- package/components/Table/FilterPanel.js +7 -7
- package/components/Table/MasterTable.js +7 -7
- package/components/Table/NoColumns.js +8 -8
- package/components/Table/PaginationPanel.js +5 -5
- package/components/Table/TableBasic/TableBasic.js +20 -20
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +31 -34
- package/components/Table/TableBasicSettings/TableBasicSettings.js +27 -29
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +4 -4
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +6 -6
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +5 -5
- package/components/Table/TableFooter/TableFooter.js +14 -11
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +6 -6
- package/components/Table/TabsLinePanelLinks.js +22 -10
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +14 -14
- package/components/TabsExtended/TabsExtended.js +3 -3
- package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +7 -7
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +3 -3
- package/components/TabsLine/components/TabsLineItem.js +13 -12
- package/components/TabsLine/components/TabsLineMobile.js +10 -10
- package/components/Tag/Tag.js +7 -7
- package/components/TagGroup/TagGroup.js +13 -13
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +1 -1
- package/components/ThemeProvider/components/ThemeProviderView.js +3 -3
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +7 -7
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
- package/components/Tooltip/components/mobile/TooltipMobile.js +2 -2
- package/components/Tooltip/components/mobile/components/TooltipMobileCloseButton.js +1 -1
- package/components/Tooltip/components/mobile/components/TooltipMobileHeader.js +1 -1
- package/components/TopOverlay/TopOverlay.js +85 -0
- package/components/TopOverlay/index.js +5 -0
- package/components/TreeView/TreeView.js +9 -8
- package/components/TreeView/components/TreeViewGroup.js +3 -2
- package/components/TreeView/components/TreeViewNode.js +12 -11
- package/components/Typography/Caption.js +8 -8
- package/components/Typography/Text.js +17 -17
- package/components/Typography/Title.js +13 -13
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +3 -3
- package/components/UnorderedList/UnorderedListItem.js +7 -7
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +499 -415
- package/consts/DateConst.js +1 -1
- package/helpers/less/z-indexes.less +6 -1
- package/index.d.ts +1149 -141
- package/index.js +506 -422
- package/package.json +45 -1
- package/styles/triplex-next.css +527 -501
- package/utils/amountUtils.js +1 -1
- package/chunks/CalendarViewItem-Cs4qo2T0.js +0 -105
- package/chunks/Card.module-lZl8x0iL.js +0 -17
- package/chunks/DropdownListItem-SqymKZn5.js +0 -57
- package/chunks/DropdownMobile.module-C_Jtpfxj.js +0 -21
- package/chunks/Footer.module-3tcvZGt3.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-DqrwTmWo.js +0 -9
- package/chunks/HeaderTabs.module-DegB0R8X.js +0 -9
- package/chunks/IslandAccordion.module-DFvQwhSg.js +0 -22
- package/chunks/LightBoxControls.module-Dn4GtUtF.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-BUvFYJwr.js +0 -8
- package/chunks/ListItemTail.module-CZYSMJRz.js +0 -12
- package/chunks/ListMasterFooter.module-Bw6BVPVj.js +0 -10
- package/chunks/ModalWindow.module-DGcF8-xJ.js +0 -17
- package/chunks/Notification.module-Cj_Pd4DQ.js +0 -21
- package/chunks/Overlay.module-BqJXvoeX.js +0 -18
- package/chunks/Page.module-DUQ6i8Ez.js +0 -12
- package/chunks/SMSInput.module-D1TiDw_A.js +0 -16
- package/chunks/StatusTracker.module-DetC6Udk.js +0 -24
- package/chunks/TableFooter.module-BF4P3QCw.js +0 -13
- package/chunks/TabsExtended.module-BciQYRi4.js +0 -16
- package/chunks/TabsLine.module-Cx0n_AdV.js +0 -23
- package/chunks/TooltipDesktop.module-DK06gaHe.js +0 -19
- package/chunks/utils-CXhKCNyM.js +0 -72
- package/chunks/utils-CoHHiBA8.js +0 -24
- package/chunks/utils-D9w2Kvyk.js +0 -36
- package/components/Calendar/CalendarRange.js +0 -28
- package/components/Calendar/components/CalendarTodayButton.js +0 -31
- package/components/LightBox/LightBoxTopOverlay/LightBoxTopOverlay.js +0 -86
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { ConfirmClose as p } from "./components/ConfirmClose.js";
|
|
3
|
+
import { ConfirmContent as l } from "./components/ConfirmContent.js";
|
|
4
|
+
import { ConfirmControls as f } from "./components/ConfirmControls.js";
|
|
5
|
+
import { c as C } from "../../chunks/vendor-D3hUOusX.js";
|
|
6
|
+
import { Island as t } from "../Island/Island.js";
|
|
7
|
+
import { EIslandType as I } from "../Island/enums.js";
|
|
8
|
+
import "../Island/components/IslandBody.js";
|
|
9
|
+
import "../Island/components/IslandHeader.js";
|
|
10
|
+
import "../Island/components/IslandFooter.js";
|
|
11
|
+
import { EConfirmParentComponent as o } from "./enums.js";
|
|
12
|
+
import { s as r } from "../../chunks/Confirm.module-Ds4ZMYVB.js";
|
|
13
|
+
const d = {
|
|
14
|
+
[o.LIGHTBOX]: r.isInLightBox,
|
|
15
|
+
[o.SIDE_OVERLAY_SM]: r.isInSideOverlaySM,
|
|
16
|
+
[o.SIDE_OVERLAY_MD]: r.isInSideOverlayMD,
|
|
17
|
+
[o.SIDE_OVERLAY_LG]: r.isInSideOverlayLG
|
|
18
|
+
}, m = ({
|
|
19
|
+
children: n,
|
|
20
|
+
className: e,
|
|
21
|
+
parentComponent: s = o.LIGHTBOX,
|
|
22
|
+
...a
|
|
23
|
+
}) => /* @__PURE__ */ i(
|
|
24
|
+
t,
|
|
25
|
+
{
|
|
26
|
+
type: I.TYPE_1,
|
|
27
|
+
className: C(e, r.confirm, d[s]),
|
|
28
|
+
role: "dialog",
|
|
29
|
+
"aria-modal": "true",
|
|
30
|
+
...a,
|
|
31
|
+
children: /* @__PURE__ */ i(t.Body, { children: n })
|
|
32
|
+
}
|
|
33
|
+
);
|
|
34
|
+
m.displayName = "Confirm";
|
|
35
|
+
m.Close = p;
|
|
36
|
+
m.Content = l;
|
|
37
|
+
m.Controls = f;
|
|
38
|
+
export {
|
|
39
|
+
m as Confirm
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=Confirm.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as n } from "react";
|
|
3
|
+
import { TriggerClickOnKeyDownEvent as f } from "../../Triggers/TriggerClickOnKeyDownEvent.js";
|
|
4
|
+
import { EVENT_KEY_CODES as i } from "../../../utils/keyboard.js";
|
|
5
|
+
import { ConfirmCloseButton as t } from "./ConfirmCloseButton.js";
|
|
6
|
+
const c = ({ clickByEsc: m, ...e }) => {
|
|
7
|
+
const o = n(null);
|
|
8
|
+
return m ? /* @__PURE__ */ r(f, { targetRef: o, eventKeyCode: i.ESCAPE, children: /* @__PURE__ */ r(t, { ...e, ref: o }) }) : /* @__PURE__ */ r(t, { ...e });
|
|
9
|
+
};
|
|
10
|
+
export {
|
|
11
|
+
c as ConfirmClose
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=ConfirmClose.js.map
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import s from "react";
|
|
3
|
+
import { CrossStrokeSrvIcon20 as i } from "@sberbusiness/icons-next";
|
|
4
|
+
import { c as f } from "../../../chunks/vendor-D3hUOusX.js";
|
|
5
|
+
import { s as n } from "../../../chunks/Confirm.module-Ds4ZMYVB.js";
|
|
6
|
+
import { Button as p } from "../../Button/Button.js";
|
|
7
|
+
import { EButtonTheme as a } from "../../Button/enums.js";
|
|
8
|
+
import { EComponentSize as l } from "../../../enums/EComponentSize.js";
|
|
9
|
+
const c = s.forwardRef(
|
|
10
|
+
({ className: t, title: r = "Закрыть", ...m }, e) => /* @__PURE__ */ o(
|
|
11
|
+
p,
|
|
12
|
+
{
|
|
13
|
+
icon: /* @__PURE__ */ o(i, { paletteIndex: 0 }),
|
|
14
|
+
theme: a.SECONDARY,
|
|
15
|
+
size: l.MD,
|
|
16
|
+
ref: e,
|
|
17
|
+
className: f(t, n.confirmCloseButton),
|
|
18
|
+
title: r,
|
|
19
|
+
...m
|
|
20
|
+
}
|
|
21
|
+
)
|
|
22
|
+
);
|
|
23
|
+
c.displayName = "ConfirmCloseButton";
|
|
24
|
+
export {
|
|
25
|
+
c as ConfirmCloseButton
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=ConfirmCloseButton.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { ConfirmContentSubTitle as r } from "./ConfirmContentSubTitle.js";
|
|
3
|
+
import { ConfirmContentTitle as e } from "./ConfirmContentTitle.js";
|
|
4
|
+
import { c as s } from "../../../chunks/vendor-D3hUOusX.js";
|
|
5
|
+
import { s as f } from "../../../chunks/Confirm.module-Ds4ZMYVB.js";
|
|
6
|
+
const o = ({ children: t, className: m, ...i }) => /* @__PURE__ */ n("div", { className: s(m, f.confirmContent), ...i, children: t });
|
|
7
|
+
o.displayName = "ConfirmContent";
|
|
8
|
+
o.Title = e;
|
|
9
|
+
o.SubTitle = r;
|
|
10
|
+
export {
|
|
11
|
+
o as ConfirmContent
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=ConfirmContent.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import "../../Typography/Title.js";
|
|
3
|
+
import { Text as r } from "../../Typography/Text.js";
|
|
4
|
+
import "../../Typography/Caption.js";
|
|
5
|
+
import { ETextSize as e } from "../../Typography/enums.js";
|
|
6
|
+
const n = ({
|
|
7
|
+
children: t,
|
|
8
|
+
size: o = e.B2,
|
|
9
|
+
...i
|
|
10
|
+
}) => /* @__PURE__ */ m(r, { size: o, tag: "div", ...i, children: t });
|
|
11
|
+
n.displayName = "ConfirmContentSubTitle";
|
|
12
|
+
export {
|
|
13
|
+
n as ConfirmContentSubTitle
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=ConfirmContentSubTitle.js.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { ETitleSize as e } from "../../Typography/enums.js";
|
|
3
|
+
import { Title as s } from "../../Typography/Title.js";
|
|
4
|
+
import { c as n } from "../../../chunks/vendor-D3hUOusX.js";
|
|
5
|
+
import { s as l } from "../../../chunks/Confirm.module-Ds4ZMYVB.js";
|
|
6
|
+
const f = ({
|
|
7
|
+
children: t,
|
|
8
|
+
className: o,
|
|
9
|
+
size: i = e.H3,
|
|
10
|
+
...m
|
|
11
|
+
}) => /* @__PURE__ */ r(s, { size: i, className: n(o, l.confirmContentTitle), ...m, children: t });
|
|
12
|
+
f.displayName = "ConfirmContentTitle";
|
|
13
|
+
export {
|
|
14
|
+
f as ConfirmContentTitle
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=ConfirmContentTitle.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { c as t } from "../../../chunks/vendor-D3hUOusX.js";
|
|
3
|
+
import { s as i } from "../../../chunks/Confirm.module-Ds4ZMYVB.js";
|
|
4
|
+
const l = ({ children: o, className: s, ...r }) => /* @__PURE__ */ m("div", { className: t(s, i.confirmControls), ...r, children: o });
|
|
5
|
+
l.displayName = "ConfirmControls";
|
|
6
|
+
export {
|
|
7
|
+
l as ConfirmControls
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=ConfirmControls.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as n, jsxs as J } from "react/jsx-runtime";
|
|
2
2
|
import K, { useState as Q, useRef as l, useEffect as W } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { k as y } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
4
|
import { DatePickerExtended as X } from "../DatePickerExtended/DatePickerExtended.js";
|
|
5
5
|
import { dateFormatYYYYMMDD as Z, globalLimitRange as $ } from "../../consts/DateConst.js";
|
|
6
6
|
import { DateFieldUtils as m } from "./utils.js";
|
|
@@ -17,7 +17,7 @@ import "../FormField/components/FormFieldCounter.js";
|
|
|
17
17
|
import "../FormField/components/FormFieldLabel.js";
|
|
18
18
|
import "../FormField/components/FormFieldClear.js";
|
|
19
19
|
import "../FormField/components/FormFieldTarget.js";
|
|
20
|
-
import "../../chunks/FormFieldInput-
|
|
20
|
+
import "../../chunks/FormFieldInput-BBhoiftf.js";
|
|
21
21
|
import { FormFieldMaskedInput as ne } from "../FormField/components/FormFieldMaskedInput.js";
|
|
22
22
|
import "../FormField/components/FormFieldPostfix.js";
|
|
23
23
|
import "../FormField/components/FormFieldPrefix.js";
|
|
@@ -40,17 +40,17 @@ const ie = K.forwardRef((x, p) => {
|
|
|
40
40
|
invalidDateHint: L,
|
|
41
41
|
targetProps: j,
|
|
42
42
|
...A
|
|
43
|
-
} = x, [r,
|
|
43
|
+
} = x, [r, k] = Q(
|
|
44
44
|
m.getPickerValues(s, a, i, o)
|
|
45
45
|
), R = l(null), d = l(r), C = l(!1), F = l(!1), D = l(!1), u = l(!1);
|
|
46
46
|
W(() => {
|
|
47
47
|
const e = m.getPickerValues(s, a, i, o);
|
|
48
|
-
e.inputString !== r.inputString &&
|
|
48
|
+
e.inputString !== r.inputString && k(e), d.current = e;
|
|
49
49
|
}, [s, a, i, o]);
|
|
50
50
|
const B = (e) => {
|
|
51
51
|
R.current = e, typeof p == "function" ? p(e) : p && (p.current = e);
|
|
52
52
|
}, H = () => {
|
|
53
|
-
const { maskedInputProps: e, ...t } = j || {}, { onChange:
|
|
53
|
+
const { maskedInputProps: e, ...t } = j || {}, { onChange: h, ...G } = e || {};
|
|
54
54
|
return /* @__PURE__ */ n(ae.Provider, { value: { inputFocusedRef: C, onChange: c, triggerChangeFromInput: w }, children: /* @__PURE__ */ n(
|
|
55
55
|
ee,
|
|
56
56
|
{
|
|
@@ -64,7 +64,7 @@ const ie = K.forwardRef((x, p) => {
|
|
|
64
64
|
"aria-label": Y,
|
|
65
65
|
"aria-labelledby": z,
|
|
66
66
|
onChange: (v) => {
|
|
67
|
-
V(v),
|
|
67
|
+
V(v), h == null || h(v);
|
|
68
68
|
},
|
|
69
69
|
...G
|
|
70
70
|
},
|
|
@@ -82,7 +82,7 @@ const ie = K.forwardRef((x, p) => {
|
|
|
82
82
|
}
|
|
83
83
|
), V = (e) => {
|
|
84
84
|
let t = null;
|
|
85
|
-
e.target.value.length === b.length ? (t = y(e.target.value, b, !0), (!t.isValid() || !m.isAvailableDate(t, t.format(a), i, o)) && (t = null), u.current = !t) : u.current = !1,
|
|
85
|
+
e.target.value.length === b.length ? (t = y(e.target.value, b, !0), (!t.isValid() || !m.isAvailableDate(t, t.format(a), i, o)) && (t = null), u.current = !t) : u.current = !1, k({ calendarDate: t, inputString: e.target.value });
|
|
86
86
|
}, w = () => {
|
|
87
87
|
if (r.inputString.length === 0 && s.length !== 0)
|
|
88
88
|
return c(r.inputString);
|
|
@@ -94,7 +94,7 @@ const ie = K.forwardRef((x, p) => {
|
|
|
94
94
|
if (m.isAvailableDate(e, t, i, o))
|
|
95
95
|
return c(t);
|
|
96
96
|
}
|
|
97
|
-
r.inputString !== d.current.inputString && (u.current = !1,
|
|
97
|
+
r.inputString !== d.current.inputString && (u.current = !1, k(d.current));
|
|
98
98
|
}, N = () => {
|
|
99
99
|
F.current = !0, f == null || f();
|
|
100
100
|
}, U = () => {
|
|
@@ -6,7 +6,7 @@ import "../Dropdown/Dropdown.js";
|
|
|
6
6
|
import "../Dropdown/DropdownListContext.js";
|
|
7
7
|
import "../Dropdown/desktop/DropdownDesktop.js";
|
|
8
8
|
import "../Dropdown/desktop/DropdownList.js";
|
|
9
|
-
import "../../chunks/DropdownListItem-
|
|
9
|
+
import "../../chunks/DropdownListItem-DgEkMGvB.js";
|
|
10
10
|
import "../Dropdown/mobile/DropdownMobile.js";
|
|
11
11
|
import "../Dropdown/mobile/DropdownMobileBody.js";
|
|
12
12
|
import "../Dropdown/mobile/DropdownMobileClose.js";
|
|
@@ -103,7 +103,7 @@ const ee = G.forwardRef((l, r) => {
|
|
|
103
103
|
onKeyDown: _,
|
|
104
104
|
onMouseDown: F,
|
|
105
105
|
...V,
|
|
106
|
-
"data-tx": "1.
|
|
106
|
+
"data-tx": "1.6.0",
|
|
107
107
|
ref: (e) => {
|
|
108
108
|
s.current = e, typeof r == "function" ? r(e) : r && (r.current = e);
|
|
109
109
|
},
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
1
|
+
import { jsx as e, jsxs as n, Fragment as m } from "react/jsx-runtime";
|
|
2
2
|
import f, { useContext as u } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { h as D } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
4
|
import { Dropdown as w } from "../Dropdown/Dropdown.js";
|
|
5
5
|
import { DatePickerExtendedContext as x } from "./DatePickerExtendedContext.js";
|
|
6
6
|
import "../Dropdown/mobile/DropdownMobile.js";
|
|
7
7
|
import { DropdownMobileBody as b } from "../Dropdown/mobile/DropdownMobileBody.js";
|
|
8
8
|
import { DropdownMobileClose as k } from "../Dropdown/mobile/DropdownMobileClose.js";
|
|
9
9
|
import "../Dropdown/mobile/DropdownMobileFooter.js";
|
|
10
|
-
import { DropdownMobileHeader as
|
|
10
|
+
import { DropdownMobileHeader as h } from "../Dropdown/mobile/DropdownMobileHeader.js";
|
|
11
11
|
import "../Dropdown/mobile/DropdownMobileInner.js";
|
|
12
12
|
import "../Dropdown/mobile/DropdownMobileInput.js";
|
|
13
13
|
import "../Dropdown/mobile/DropdownMobileList.js";
|
|
14
14
|
import "../Dropdown/mobile/DropdownMobileListItem.js";
|
|
15
15
|
import "../Loader/LoaderSmall/LoaderSmall.js";
|
|
16
16
|
import "../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
17
|
-
const
|
|
18
|
-
datePickerExtendedMobileDropdown:
|
|
17
|
+
const M = "datePickerExtendedMobileDropdown__d37d403e", E = {
|
|
18
|
+
datePickerExtendedMobileDropdown: M
|
|
19
19
|
}, C = f.forwardRef(
|
|
20
|
-
(d,
|
|
21
|
-
const { children: P, targetRef: o, setOpened:
|
|
20
|
+
(d, a) => {
|
|
21
|
+
const { children: P, targetRef: o, setOpened: c, renderHeaderTarget: p, renderCalendar: t, focusTrapProps: r, ...s } = d, { mouseUsedRef: i, setDropdownOpen: l } = u(x);
|
|
22
22
|
return /* @__PURE__ */ e(
|
|
23
23
|
w,
|
|
24
24
|
{
|
|
@@ -26,8 +26,8 @@ const h = "datePickerExtendedMobileDropdown__f46d6c9c", E = {
|
|
|
26
26
|
"aria-modal": "true",
|
|
27
27
|
targetRef: o,
|
|
28
28
|
mobileViewProps: {
|
|
29
|
-
children: /* @__PURE__ */
|
|
30
|
-
/* @__PURE__ */
|
|
29
|
+
children: /* @__PURE__ */ n(m, { children: [
|
|
30
|
+
/* @__PURE__ */ n(h, { children: [
|
|
31
31
|
p(),
|
|
32
32
|
/* @__PURE__ */ e(k, { onClick: () => l(!1) })
|
|
33
33
|
] }),
|
|
@@ -35,9 +35,9 @@ const h = "datePickerExtendedMobileDropdown__f46d6c9c", E = {
|
|
|
35
35
|
] }),
|
|
36
36
|
className: E.datePickerExtendedMobileDropdown
|
|
37
37
|
},
|
|
38
|
-
setOpened:
|
|
38
|
+
setOpened: c,
|
|
39
39
|
...s,
|
|
40
|
-
ref:
|
|
40
|
+
ref: a,
|
|
41
41
|
children: /* @__PURE__ */ e(
|
|
42
42
|
D.FocusTrap,
|
|
43
43
|
{
|
|
@@ -45,8 +45,8 @@ const h = "datePickerExtendedMobileDropdown__f46d6c9c", E = {
|
|
|
45
45
|
focusTrapOptions: {
|
|
46
46
|
clickOutsideDeactivates: !0,
|
|
47
47
|
fallbackFocus: o.current,
|
|
48
|
-
initialFocus: !
|
|
49
|
-
returnFocusOnDeactivate: !
|
|
48
|
+
initialFocus: !i.current && void 0,
|
|
49
|
+
returnFocusOnDeactivate: !i.current,
|
|
50
50
|
...r == null ? void 0 : r.focusTrapOptions
|
|
51
51
|
},
|
|
52
52
|
children: /* @__PURE__ */ e("div", { role: "presentation", children: t(!1) })
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { jsxs as v, jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { c as i, k as c } from "../../chunks/vendor-D3hUOusX.js";
|
|
3
|
+
import { CaretleftStrokeSrvIcon20 as D, MinusStrokeSrvIcon20 as M, CaretrightStrokeSrvIcon20 as Y } from "@sberbusiness/icons-next";
|
|
4
|
+
import { dateFormatYYYYMMDD as r } from "../../consts/DateConst.js";
|
|
5
|
+
import { EDateRangeShiftUnit as h } from "./enums.js";
|
|
6
|
+
const C = "dateRange__4b2d55c3", E = "dateRangeButton__6aaf9774", F = "separator__fddd545b", d = {
|
|
7
|
+
dateRange: C,
|
|
8
|
+
dateRangeButton: E,
|
|
9
|
+
separator: F
|
|
10
|
+
}, j = ({
|
|
11
|
+
children: y,
|
|
12
|
+
className: R,
|
|
13
|
+
value: f,
|
|
14
|
+
onChange: o,
|
|
15
|
+
shiftAmount: n = 1,
|
|
16
|
+
shiftUnit: s = h.MONTH,
|
|
17
|
+
hideNavigation: p,
|
|
18
|
+
renderPickerFrom: g,
|
|
19
|
+
renderPickerTo: k,
|
|
20
|
+
renderButtonForward: u,
|
|
21
|
+
renderButtonBack: S,
|
|
22
|
+
...b
|
|
23
|
+
}) => {
|
|
24
|
+
const [a, t] = f, x = i(d.dateRange, R), B = (e) => {
|
|
25
|
+
!e || !t || e <= t ? o([e, t]) : o([e, ""]);
|
|
26
|
+
}, I = (e) => {
|
|
27
|
+
!e || !a || e >= a ? o([a, e]) : o(["", e]);
|
|
28
|
+
}, N = () => {
|
|
29
|
+
if (!a || !t)
|
|
30
|
+
return;
|
|
31
|
+
const e = c(a, r), l = c(t, r);
|
|
32
|
+
o([
|
|
33
|
+
e.subtract(n, s).format(r),
|
|
34
|
+
l.subtract(n, s).format(r)
|
|
35
|
+
]);
|
|
36
|
+
}, _ = () => {
|
|
37
|
+
if (!a || !t)
|
|
38
|
+
return;
|
|
39
|
+
const e = c(a, r), l = c(t, r);
|
|
40
|
+
o([
|
|
41
|
+
e.add(n, s).format(r),
|
|
42
|
+
l.add(n, s).format(r)
|
|
43
|
+
]);
|
|
44
|
+
};
|
|
45
|
+
return /* @__PURE__ */ v("div", { className: x, ...b, children: [
|
|
46
|
+
!p && S({
|
|
47
|
+
children: /* @__PURE__ */ m(D, { paletteIndex: 5 }),
|
|
48
|
+
className: i(d.dateRangeButton, { disabled: !(a && t) }),
|
|
49
|
+
disabled: !(a && t),
|
|
50
|
+
onClick: N
|
|
51
|
+
}),
|
|
52
|
+
g({
|
|
53
|
+
onChange: B,
|
|
54
|
+
value: a
|
|
55
|
+
}),
|
|
56
|
+
/* @__PURE__ */ m(M, { className: d.separator, paletteIndex: 5 }),
|
|
57
|
+
k({
|
|
58
|
+
onChange: I,
|
|
59
|
+
value: t
|
|
60
|
+
}),
|
|
61
|
+
!p && u({
|
|
62
|
+
children: /* @__PURE__ */ m(Y, { paletteIndex: 5 }),
|
|
63
|
+
className: i(d.dateRangeButton, { disabled: !(a && t) }),
|
|
64
|
+
disabled: !(a && t),
|
|
65
|
+
onClick: _
|
|
66
|
+
})
|
|
67
|
+
] });
|
|
68
|
+
};
|
|
69
|
+
j.displayName = "DateRange";
|
|
70
|
+
export {
|
|
71
|
+
j as DateRange
|
|
72
|
+
};
|
|
73
|
+
//# sourceMappingURL=DateRange.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { ETriplexNextTheme as i } from "../ThemeProvider/ETriplexNextTheme.js";
|
|
2
|
-
import { DesignTokensCore as
|
|
2
|
+
import { DesignTokensCore as l } from "./DesignTokensCore.js";
|
|
3
3
|
import { DesignTokensCoreThemeDark as a } from "./DesignTokensCoreThemeDark.js";
|
|
4
4
|
import { DesignTokensComponents as c } from "./DesignTokensComponents.js";
|
|
5
5
|
import { DesignTokensComponentsThemeDark as f } from "./DesignTokensComponentsThemeDark.js";
|
|
6
|
-
import {
|
|
6
|
+
import { m as T } from "../../chunks/vendor-D3hUOusX.js";
|
|
7
7
|
const n = {
|
|
8
8
|
getCSSVariableByTokenGroup: (t, s) => {
|
|
9
9
|
const e = Object.keys(t)[0], r = "triplex-next";
|
|
10
|
-
let o = "1.
|
|
10
|
+
let o = "1.6.0";
|
|
11
11
|
return o = o.replace(/\./g, "-"), Object.keys(t[e]).map(
|
|
12
|
-
(
|
|
13
|
-
t[e][
|
|
12
|
+
(m) => `--${r}-${e}-${m}-${o}: ${n.getTokenValue(
|
|
13
|
+
t[e][m],
|
|
14
14
|
s
|
|
15
15
|
)};`
|
|
16
16
|
).join(`
|
|
@@ -34,12 +34,12 @@ const n = {
|
|
|
34
34
|
let e = "";
|
|
35
35
|
switch (t) {
|
|
36
36
|
case i.LIGHT: {
|
|
37
|
-
const r =
|
|
37
|
+
const r = T({}, s, l, c);
|
|
38
38
|
e = n.getStyleByTokens(r);
|
|
39
39
|
break;
|
|
40
40
|
}
|
|
41
41
|
case i.DARK: {
|
|
42
|
-
const r =
|
|
42
|
+
const r = T(
|
|
43
43
|
{},
|
|
44
44
|
s,
|
|
45
45
|
a,
|
|
@@ -14,38 +14,42 @@ import { Typography_Tokens as k } from "./components/Typography.js";
|
|
|
14
14
|
import { Tooltip_Tokens as I } from "./components/Tooltip.js";
|
|
15
15
|
import { AlertContext_Tokens as f } from "./components/AlertContext.js";
|
|
16
16
|
import { AlertProcess_Tokens as H } from "./components/AlertProcess.js";
|
|
17
|
-
import { Divider_Tokens as
|
|
18
|
-
import { Dropdown_Tokens as
|
|
19
|
-
import { DropdownList_Tokens as
|
|
20
|
-
import { DropdownMobile_Tokens as
|
|
17
|
+
import { Divider_Tokens as l } from "./components/Divider.js";
|
|
18
|
+
import { Dropdown_Tokens as G } from "./components/Dropdown.js";
|
|
19
|
+
import { DropdownList_Tokens as _ } from "./components/DropdownList.js";
|
|
20
|
+
import { DropdownMobile_Tokens as d } from "./components/DropdownMobile.js";
|
|
21
21
|
import { DropdownMobileList_Tokens as S } from "./components/DropdownMobileList.js";
|
|
22
|
-
import { Overlay_Tokens as
|
|
23
|
-
import { ListItem_Tokens as
|
|
22
|
+
import { Overlay_Tokens as c } from "./components/Overlay.js";
|
|
23
|
+
import { ListItem_Tokens as g } from "./components/ListItem.js";
|
|
24
24
|
import { ListItemControlsButton_Tokens as C } from "./components/ListItemControlsButton.js";
|
|
25
25
|
import { ListMaster_Tokens as M } from "./components/ListMaster.js";
|
|
26
|
-
import { Marker_Tokens as
|
|
27
|
-
import { MarkerStatus_Tokens as
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
26
|
+
import { Marker_Tokens as u } from "./components/Marker.js";
|
|
27
|
+
import { MarkerStatus_Tokens as b } from "./components/MarkerStatus.js";
|
|
28
|
+
import { MultiselectField_Tokens as D } from "./components/MultiselectField.js";
|
|
29
|
+
import { UploadZone_Tokens as h } from "./components/UploadZone.js";
|
|
30
|
+
import { Pagination_Tokens as w } from "./components/Pagination.js";
|
|
31
|
+
import { Card_Tokens as x } from "./components/Card.js";
|
|
32
|
+
import { Skeleton_Tokens as y } from "./components/Skeleton.js";
|
|
32
33
|
import { SegmentedControl_Tokens as B } from "./components/SegmentedControl.js";
|
|
33
|
-
import { SegmentedControlSegment_Tokens as
|
|
34
|
-
import { Stepper_Tokens as
|
|
35
|
-
import { HeaderPage_Tokens as
|
|
36
|
-
import { FooterPage_Tokens as
|
|
37
|
-
import { Island_Tokens as
|
|
34
|
+
import { SegmentedControlSegment_Tokens as F } from "./components/SegmentedControlSegment.js";
|
|
35
|
+
import { Stepper_Tokens as P } from "./components/Stepper.js";
|
|
36
|
+
import { HeaderPage_Tokens as v } from "./components/HeaderPage.js";
|
|
37
|
+
import { FooterPage_Tokens as A } from "./components/FooterPage.js";
|
|
38
|
+
import { Island_Tokens as O } from "./components/Island.js";
|
|
38
39
|
import { IslandAccordion_Tokens as N } from "./components/IslandAccordion.js";
|
|
39
|
-
import { TableBasic_Tokens as
|
|
40
|
-
import { Chip_Tokens as
|
|
41
|
-
import { LightBox_Tokens as
|
|
42
|
-
import { Tag_Tokens as
|
|
43
|
-
import { Notification_Tokens as
|
|
44
|
-
import { SMSInput_Tokens as
|
|
45
|
-
import { StatusTracker_Tokens as
|
|
46
|
-
import { Step_Tokens as
|
|
47
|
-
import { ModalWindow_Tokens as
|
|
48
|
-
|
|
40
|
+
import { TableBasic_Tokens as R } from "./components/TableBasic.js";
|
|
41
|
+
import { Chip_Tokens as U } from "./components/Chip.js";
|
|
42
|
+
import { LightBox_Tokens as W } from "./components/LightBox.js";
|
|
43
|
+
import { Tag_Tokens as Z } from "./components/Tag.js";
|
|
44
|
+
import { Notification_Tokens as E } from "./components/Notification.js";
|
|
45
|
+
import { SMSInput_Tokens as V } from "./components/SMSInput.js";
|
|
46
|
+
import { StatusTracker_Tokens as j } from "./components/StatusTracker.js";
|
|
47
|
+
import { Step_Tokens as q } from "./components/Step.js";
|
|
48
|
+
import { ModalWindow_Tokens as z } from "./components/ModalWindow.js";
|
|
49
|
+
import { TopOverlay_Tokens as J } from "./components/TopOverlay.js";
|
|
50
|
+
import { SmallInput_Tokens as K } from "./components/SmallInput.js";
|
|
51
|
+
import { Slider_Tokens as Q } from "./components/Slider.js";
|
|
52
|
+
const Ko = {
|
|
49
53
|
AlertContext: r(
|
|
50
54
|
o.LIGHT,
|
|
51
55
|
f
|
|
@@ -56,18 +60,18 @@ const Wo = {
|
|
|
56
60
|
),
|
|
57
61
|
Button: r(o.LIGHT, e),
|
|
58
62
|
Calendar: r(o.LIGHT, t),
|
|
59
|
-
Card: r(o.LIGHT,
|
|
63
|
+
Card: r(o.LIGHT, x),
|
|
60
64
|
Checkbox: r(o.LIGHT, m),
|
|
61
|
-
Chip: r(o.LIGHT,
|
|
62
|
-
Divider: r(o.LIGHT,
|
|
63
|
-
Dropdown: r(o.LIGHT,
|
|
65
|
+
Chip: r(o.LIGHT, U),
|
|
66
|
+
Divider: r(o.LIGHT, l),
|
|
67
|
+
Dropdown: r(o.LIGHT, G),
|
|
64
68
|
DropdownList: r(
|
|
65
69
|
o.LIGHT,
|
|
66
|
-
|
|
70
|
+
_
|
|
67
71
|
),
|
|
68
72
|
DropdownMobile: r(
|
|
69
73
|
o.LIGHT,
|
|
70
|
-
|
|
74
|
+
d
|
|
71
75
|
),
|
|
72
76
|
DropdownMobileList: r(
|
|
73
77
|
o.LIGHT,
|
|
@@ -75,20 +79,20 @@ const Wo = {
|
|
|
75
79
|
),
|
|
76
80
|
FooterPage: r(
|
|
77
81
|
o.LIGHT,
|
|
78
|
-
|
|
82
|
+
A
|
|
79
83
|
),
|
|
80
84
|
FormField: r(o.LIGHT, T),
|
|
81
85
|
HeaderPage: r(
|
|
82
86
|
o.LIGHT,
|
|
83
|
-
|
|
87
|
+
v
|
|
84
88
|
),
|
|
85
|
-
Island: r(o.LIGHT,
|
|
89
|
+
Island: r(o.LIGHT, O),
|
|
86
90
|
IslandAccordion: r(
|
|
87
91
|
o.LIGHT,
|
|
88
92
|
N
|
|
89
93
|
),
|
|
90
94
|
Link: r(o.LIGHT, n),
|
|
91
|
-
ListItem: r(o.LIGHT,
|
|
95
|
+
ListItem: r(o.LIGHT, g),
|
|
92
96
|
ListItemControlsButton: r(
|
|
93
97
|
o.LIGHT,
|
|
94
98
|
C
|
|
@@ -102,15 +106,19 @@ const Wo = {
|
|
|
102
106
|
o.LIGHT,
|
|
103
107
|
L
|
|
104
108
|
),
|
|
105
|
-
Marker: r(o.LIGHT,
|
|
109
|
+
Marker: r(o.LIGHT, u),
|
|
106
110
|
MarkerStatus: r(
|
|
107
111
|
o.LIGHT,
|
|
108
|
-
|
|
112
|
+
b
|
|
113
|
+
),
|
|
114
|
+
MultiselectField: r(
|
|
115
|
+
o.LIGHT,
|
|
116
|
+
D
|
|
109
117
|
),
|
|
110
|
-
Overlay: r(o.LIGHT,
|
|
118
|
+
Overlay: r(o.LIGHT, c),
|
|
111
119
|
Pagination: r(
|
|
112
120
|
o.LIGHT,
|
|
113
|
-
|
|
121
|
+
w
|
|
114
122
|
),
|
|
115
123
|
Radio: r(o.LIGHT, a),
|
|
116
124
|
SegmentedControl: r(
|
|
@@ -119,18 +127,19 @@ const Wo = {
|
|
|
119
127
|
),
|
|
120
128
|
SegmentedControlSegment: r(
|
|
121
129
|
o.LIGHT,
|
|
122
|
-
|
|
130
|
+
F
|
|
123
131
|
),
|
|
124
|
-
Skeleton: r(o.LIGHT,
|
|
125
|
-
SMSInput: r(o.LIGHT,
|
|
126
|
-
|
|
127
|
-
|
|
132
|
+
Skeleton: r(o.LIGHT, y),
|
|
133
|
+
SMSInput: r(o.LIGHT, V),
|
|
134
|
+
Slider: r(o.LIGHT, Q),
|
|
135
|
+
Step: r(o.LIGHT, q),
|
|
136
|
+
Stepper: r(o.LIGHT, P),
|
|
128
137
|
TableBasic: r(
|
|
129
138
|
o.LIGHT,
|
|
130
|
-
|
|
139
|
+
R
|
|
131
140
|
),
|
|
132
141
|
Tabs: r(o.LIGHT, i),
|
|
133
|
-
Tag: r(o.LIGHT,
|
|
142
|
+
Tag: r(o.LIGHT, Z),
|
|
134
143
|
TabsLine: r(o.LIGHT, s),
|
|
135
144
|
Tooltip: r(o.LIGHT, I),
|
|
136
145
|
Typography: r(
|
|
@@ -139,23 +148,31 @@ const Wo = {
|
|
|
139
148
|
),
|
|
140
149
|
UploadZone: r(
|
|
141
150
|
o.LIGHT,
|
|
142
|
-
|
|
151
|
+
h
|
|
143
152
|
),
|
|
144
|
-
LightBox: r(o.LIGHT,
|
|
153
|
+
LightBox: r(o.LIGHT, W),
|
|
145
154
|
Notification: r(
|
|
146
155
|
o.LIGHT,
|
|
147
|
-
|
|
156
|
+
E
|
|
148
157
|
),
|
|
149
158
|
StatusTracker: r(
|
|
150
159
|
o.LIGHT,
|
|
151
|
-
|
|
160
|
+
j
|
|
152
161
|
),
|
|
153
162
|
ModalWindow: r(
|
|
154
163
|
o.LIGHT,
|
|
155
|
-
|
|
164
|
+
z
|
|
165
|
+
),
|
|
166
|
+
TopOverlay: r(
|
|
167
|
+
o.LIGHT,
|
|
168
|
+
J
|
|
169
|
+
),
|
|
170
|
+
SmallInput: r(
|
|
171
|
+
o.LIGHT,
|
|
172
|
+
K
|
|
156
173
|
)
|
|
157
174
|
};
|
|
158
175
|
export {
|
|
159
|
-
|
|
176
|
+
Ko as DesignTokensComponents
|
|
160
177
|
};
|
|
161
178
|
//# sourceMappingURL=DesignTokensComponents.js.map
|