@sberbusiness/triplex-next 1.24.0 → 1.26.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/README.md +0 -1
- package/chunks/AlertProcessSpoiler-Boz5enko.js +41 -0
- package/chunks/CalendarViewItem-DHFLturD.js +101 -0
- package/chunks/Card.module-Bn676gKC.js +17 -0
- package/chunks/CheckboxTreeExtended.module-QbHPuClH.js +15 -0
- package/chunks/Chip-Di8g8Z6j.js +77 -0
- package/chunks/Confirm.module-b8ZTqcR2.js +15 -0
- package/chunks/{DropdownListItem-D_36RD5A.js → DropdownListItem-CjZLy9zZ.js} +12 -12
- package/chunks/DropdownMobile.module-B2yaydF-.js +23 -0
- package/chunks/Footer.module-DlTuw8bG.js +9 -0
- package/chunks/{FormFieldInput-C7aO7-c1.js → FormFieldInput-C2TczHnQ.js} +19 -19
- package/chunks/HeaderLayoutSidebar.module-BR0oblQF.js +9 -0
- package/chunks/HeaderTabs.module-D88xeP19.js +9 -0
- package/chunks/{HeaderTitle.module-zCyPp1EB.js → HeaderTitle.module-BdAYtCP5.js} +2 -2
- package/chunks/IslandAccordion.module-CbGSbbl6.js +25 -0
- package/chunks/IslandWidgetFooter.module-DzcObfJV.js +9 -0
- package/chunks/IslandWidgetHeader.module-_sYg-PBp.js +12 -0
- package/chunks/LightBoxContent-B8dwsZcd.js +63 -0
- package/chunks/LightBoxControls.module-DHrZ8-M9.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-CgO3NViT.js +9 -0
- package/chunks/ListItemControlsButton-DjUxcey4.js +59 -0
- package/chunks/ListItemTail.module-CIBEtGa9.js +12 -0
- package/chunks/ListMasterFooter.module-DDv57q5J.js +10 -0
- package/chunks/ModalWindow.module-Cek3j-PN.js +17 -0
- package/chunks/Notification.module-BWxDmBI2.js +20 -0
- package/chunks/Overlay.module-CUZKmhvQ.js +18 -0
- package/chunks/Page.module-BD0MsbnW.js +11 -0
- package/chunks/SMSField.module-B6sFmN1l.js +16 -0
- package/chunks/SliderExtendedMarks.module-jwnpPZXf.js +15 -0
- package/chunks/{SliderExtendedRail-DjkasbSz.js → SliderExtendedRail-BYK2Vyz9.js} +12 -12
- package/chunks/StatusTracker.module-DQI30fwP.js +24 -0
- package/chunks/StepperStepArrowBorder-CHpL6Q5q.js +101 -0
- package/chunks/{SuggestFieldMobileDropdownHint-BFJfXl0C.js → SuggestFieldMobileDropdownHint-BpAuE0ir.js} +6 -6
- package/chunks/TableFooter.module-DB3LfuRN.js +14 -0
- package/chunks/TabsExtended.module-DbTk0iCS.js +16 -0
- package/chunks/TabsLine.module-D3zxaGjs.js +21 -0
- package/chunks/TooltipDesktop.module-BTHsU4ca.js +19 -0
- package/chunks/TreeView.module-BXHaAGRo.js +9 -0
- package/chunks/{UploadZoneInput-PFc1lc82.js → UploadZoneInput-qDtiZYmT.js} +4 -4
- package/chunks/{constants-L3AUxJxB.js → constants-CtrvWwDT.js} +6 -6
- package/chunks/utils-4uYqfVa-.js +73 -0
- package/chunks/{utils-BLU83HAp.js → utils-BYHIu3S4.js} +2 -2
- package/chunks/utils-CqjXJ4Td.js +28 -0
- package/chunks/utils-DhWCXYI8.js +24 -0
- package/components/Alert/AlertContext/AlertContext.js +35 -35
- package/components/Alert/AlertProcess/AlertProcess.js +44 -37
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Alert/AlertProcess/enums.js +5 -0
- package/components/Alert/AlertTypeUtils.js +2 -2
- package/components/Alert/index.js +7 -5
- package/components/Amount/Amount.js +15 -15
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +20 -20
- package/components/Badge/Badge.js +17 -17
- package/components/Badge/BadgeDot.js +7 -7
- package/components/Badge/components/BadgeContent.js +14 -14
- package/components/Badge/components/BadgePostfix.js +6 -6
- package/components/Badge/components/BadgePrefix.js +4 -4
- package/components/Body/Body.js +4 -4
- package/components/Button/Button.js +63 -86
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +65 -64
- package/components/Button/ButtonDropdownExtended.js +1 -1
- package/components/Button/ButtonIcon.js +16 -18
- package/components/Calendar/Calendar.js +20 -20
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +4 -4
- 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 +12 -12
- 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/CarouselExtended/CarouselExtended.js +1 -1
- package/components/Checkbox/Checkbox.js +28 -27
- package/components/Checkbox/CheckboxXGroup.js +17 -16
- package/components/Checkbox/CheckboxYGroup.js +11 -10
- 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 +3 -2
- package/components/Chip/ChipClearButton.js +5 -5
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +5 -5
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +8 -8
- package/components/Chip/ChipSelect/ChipSelect.js +1 -1
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +38 -43
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +7 -7
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +28 -27
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +75 -65
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +10 -10
- package/components/Col/Col.js +145 -145
- package/components/CollapsableTree/components/CollapsableTreeNode.js +11 -11
- 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 +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +11 -11
- package/components/DateRange/DateRange.js +31 -31
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/components/AlertProcess.js +1 -1
- package/components/DesignTokens/components/Stepper.js +11 -20
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +6 -6
- package/components/Dropdown/desktop/DropdownDesktop.js +21 -21
- package/components/Dropdown/desktop/DropdownList.js +1 -1
- package/components/Dropdown/desktop/DropdownListItem.js +1 -1
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileClose.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileFooter.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileHeader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInner.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInput.js +5 -5
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileLoader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +4 -4
- package/components/Ellipsis/Ellipsis.js +8 -8
- package/components/EmptyView/EmptyView.js +78 -0
- package/components/EmptyView/enums.js +5 -0
- package/components/EmptyView/index.js +7 -0
- package/components/EmptyView/types.js +2 -0
- package/components/ExpandAnimation/ExpandAnimation.js +11 -11
- 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 +15 -15
- package/components/FormField/components/FormFieldClear.js +4 -4
- package/components/FormField/components/FormFieldCounter.js +1 -1
- package/components/FormField/components/FormFieldDescription.js +5 -5
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +9 -9
- package/components/FormField/components/FormFieldMaskedInput.js +14 -14
- package/components/FormField/components/FormFieldPostfix.js +5 -5
- package/components/FormField/components/FormFieldPrefix.js +7 -7
- package/components/FormField/components/FormFieldTarget.js +12 -12
- package/components/FormField/components/FormFieldTextarea.js +24 -24
- package/components/FormField/components/index.js +1 -1
- package/components/FormField/index.js +1 -1
- 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 +4 -4
- 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 +92 -88
- package/components/IconWrapper/IconWrapper.js +27 -0
- package/components/IconWrapper/index.js +5 -0
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +1 -1
- package/components/Island/components/IslandFooter.js +3 -3
- package/components/Island/components/IslandHeader.js +3 -3
- 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 +27 -27
- package/components/IslandWidget/IslandWidget.js +22 -22
- package/components/IslandWidget/components/IslandWidgetBody.js +3 -3
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +10 -10
- 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/IslandWidgetHeaderContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +1 -1
- package/components/IslandWidget/components/IslandWidgetWrapper.js +5 -5
- package/components/LightBox/LightBox.js +41 -38
- package/components/LightBox/LightBoxContent.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 +7 -7
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +11 -11
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +7 -7
- package/components/LightBox/enums.js +5 -0
- package/components/LightBox/index.js +4 -2
- package/components/Link/Link.js +45 -44
- package/components/List/List.js +2 -2
- package/components/List/components/ListEmptyState.js +2 -2
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +5 -5
- package/components/List/components/ListItemControls.js +7 -7
- package/components/List/components/ListItemControlsButton.js +3 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +24 -25
- package/components/List/components/ListItemLoading.js +4 -4
- package/components/List/components/ListItemSelectable.js +5 -5
- package/components/List/components/ListItemTable.js +7 -7
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +4 -4
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +6 -6
- 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 +9 -9
- package/components/ListMaster/components/SelectionControls.js +6 -6
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +7 -7
- package/components/Loader/LoaderSmall/LoaderSmall.js +7 -7
- package/components/LoaderScreen/LoaderScreen.js +9 -9
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +9 -9
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +2 -2
- 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 +14 -13
- package/components/MonthYearRange/MonthYearRange.js +76 -0
- package/components/MonthYearRange/enums.js +5 -0
- package/components/MonthYearRange/index.js +7 -0
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +8 -8
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +4 -4
- 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/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +20 -15
- 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/Pagination/components/PaginationExtended.js +2 -2
- package/components/Pagination/components/PaginationNavigationButton.js +1 -1
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +4 -4
- package/components/Pagination/components/PaginationPageEllipsis.js +5 -5
- package/components/Pagination/components/PaginationSelect.js +14 -14
- package/components/Radio/Radio.js +15 -15
- package/components/Radio/RadioXGroup.js +10 -10
- package/components/Radio/RadioYGroup.js +9 -9
- package/components/Row/Row.js +6 -6
- package/components/SMSField/SMSField.js +2 -2
- package/components/SMSField/components/RefreshIcon.js +1 -1
- package/components/SMSField/components/SMSFieldInput.js +2 -2
- package/components/SMSField/components/SMSFieldRefresh.js +1 -1
- package/components/SMSField/components/SMSFieldSubmit.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +18 -18
- package/components/SegmentedControl/SegmentedControlSegment.js +37 -42
- package/components/SelectExtendedField/SelectExtendedField.js +10 -10
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +90 -90
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +8 -8
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +15 -15
- 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 +9 -9
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +17 -17
- package/components/SmallInput/SmallInput.js +3 -3
- package/components/Spoiler/Spoiler.js +8 -8
- 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/StatusTrackerSum.js +1 -1
- package/components/StatusTracker/components/StatusTrackerTitle.js +1 -1
- package/components/Step/Step.js +9 -9
- package/components/Stepper/Stepper.js +104 -89
- package/components/Stepper/StepperExtended.js +22 -20
- package/components/Stepper/StepperExtendedContext.js +6 -6
- package/components/Stepper/StepperStep.js +61 -64
- package/components/Stepper/StepperStepArrowBorder.js +7 -0
- package/components/Stepper/enums.js +3 -4
- package/components/Stepper/index.js +4 -5
- package/components/Stepper/types.js +2 -0
- package/components/Suggest/SuggestMobileDropdownContent.js +11 -11
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +58 -58
- 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 +12 -12
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +8 -8
- package/components/Table/NoColumns.js +6 -6
- package/components/Table/PaginationPanel.js +4 -4
- 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 +5 -5
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +7 -7
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +4 -4
- 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/TabsLinePanel.js +5 -5
- package/components/Table/TabsLinePanelLinks.js +5 -5
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +21 -21
- 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 +17 -17
- package/components/TabsLine/components/TabsLineItem.js +1 -1
- package/components/TabsLine/components/TabsLineMobile.js +10 -10
- package/components/Tag/Tag.js +26 -26
- package/components/TagColor/TagColor.js +9 -9
- package/components/TagColor/index.js +4 -2
- package/components/TagGroup/TagGroup.js +9 -9
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +1 -1
- package/components/Tooltip/components/common/TooltipLink.js +3 -3
- 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 +9 -9
- package/components/TopOverlay/TopOverlay.js +15 -15
- 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 +34 -34
- package/components/Typography/CodeText.js +6 -6
- package/components/Typography/Text.js +26 -26
- package/components/Typography/Title.js +19 -19
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +6 -6
- package/components/UnorderedList/UnorderedListItem.js +2 -2
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +596 -581
- package/index.d.ts +136 -36
- package/index.js +642 -627
- package/package.json +14 -2
- package/styles/triplex-next.css +538 -541
- package/chunks/AlertProcessSpoiler-80EWxnlw.js +0 -39
- package/chunks/CalendarViewItem-DcrCLRoo.js +0 -101
- package/chunks/Card.module-CUXrlJIK.js +0 -17
- package/chunks/CheckboxTreeExtended.module-Ie0bCwhb.js +0 -15
- package/chunks/Chip-DxpL0kHg.js +0 -104
- package/chunks/Confirm.module-Cr5VrxP0.js +0 -15
- package/chunks/DropdownMobile.module-C3vVcwH8.js +0 -23
- package/chunks/Footer.module-SSgVxTxk.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-D8g1wOUn.js +0 -9
- package/chunks/HeaderTabs.module-BvkH88vz.js +0 -9
- package/chunks/IslandAccordion.module-C00y6r96.js +0 -25
- package/chunks/IslandWidgetFooter.module-DrJEO_uY.js +0 -9
- package/chunks/IslandWidgetHeader.module-Dn_9gy4B.js +0 -12
- package/chunks/LightBoxContent-JnifyJVA.js +0 -56
- package/chunks/LightBoxControls.module-sVFD1v0Y.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-D-_ry0KX.js +0 -9
- package/chunks/ListItemControlsButton-BZ5uutQX.js +0 -51
- package/chunks/ListItemTail.module-Dx6BEkhi.js +0 -12
- package/chunks/ListMasterFooter.module-wZeGRX3y.js +0 -10
- package/chunks/ModalWindow.module-Cn_qF5og.js +0 -17
- package/chunks/Notification.module-ytSUjaU2.js +0 -20
- package/chunks/Overlay.module-0Rx__Ctf.js +0 -18
- package/chunks/Page.module-BWR-liu5.js +0 -11
- package/chunks/RightBorderArrow-eMlmbMOj.js +0 -146
- package/chunks/SMSField.module-CjgotURM.js +0 -16
- package/chunks/SliderExtendedMarks.module-BEldseQH.js +0 -15
- package/chunks/StatusTracker.module-DSJGmASX.js +0 -24
- package/chunks/TableFooter.module-BE2n5_2S.js +0 -14
- package/chunks/TabsExtended.module-BVEU3Ags.js +0 -16
- package/chunks/TabsLine.module-QKvdCYgI.js +0 -21
- package/chunks/TooltipDesktop.module-LbV07iSe.js +0 -19
- package/chunks/TreeView.module-KRwuysl3.js +0 -9
- package/chunks/utils-BdtV3MzH.js +0 -28
- package/chunks/utils-CjaG-bCZ.js +0 -24
- package/chunks/utils-DaknoeiF.js +0 -73
- package/components/Stepper/RightBorderArrow.js +0 -7
- package/components/Stepper/StepperWrapper.js +0 -12
|
@@ -1,101 +1,78 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
1
|
+
import { jsxs as i, jsx as x } from "react/jsx-runtime";
|
|
2
|
+
import b from "react";
|
|
3
|
+
import { c as m } from "../../chunks/vendor-DudMBGKr.js";
|
|
4
4
|
import { LoaderSmall as R } from "../Loader/LoaderSmall/LoaderSmall.js";
|
|
5
|
-
import { ELoaderSmallTheme as
|
|
5
|
+
import { ELoaderSmallTheme as p } from "../Loader/LoaderSmall/enum.js";
|
|
6
6
|
import "../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
7
|
-
import { ButtonBase as
|
|
8
|
-
import { EButtonTheme as
|
|
9
|
-
import { EComponentSize as
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
secondaryLight: G,
|
|
18
|
-
expanded: I
|
|
19
|
-
}, v = "danger__e2804447", O = "expanded__50674376", b = {
|
|
20
|
-
danger: v,
|
|
7
|
+
import { ButtonBase as T } from "./ButtonBase.js";
|
|
8
|
+
import { EButtonTheme as e } from "./enums.js";
|
|
9
|
+
import { EComponentSize as u } from "../../enums/EComponentSize.js";
|
|
10
|
+
import { IconWrapper as D } from "../IconWrapper/IconWrapper.js";
|
|
11
|
+
import { createSizeToClassNameMap as C } from "../../utils/classNameMaps.js";
|
|
12
|
+
const k = "general__fff4f187", M = "expanded__ce0c86c5", E = {
|
|
13
|
+
general: k,
|
|
14
|
+
expanded: M
|
|
15
|
+
}, I = "secondary__aadbded9", O = "expanded__ce0c86c5", N = {
|
|
16
|
+
secondary: I,
|
|
21
17
|
expanded: O
|
|
22
|
-
},
|
|
23
|
-
|
|
18
|
+
}, G = "secondaryLight__ca31d7be", B = "expanded__ce0c86c5", g = {
|
|
19
|
+
secondaryLight: G,
|
|
20
|
+
expanded: B
|
|
21
|
+
}, Y = "danger__d9720150", H = "expanded__ce0c86c5", f = {
|
|
22
|
+
danger: Y,
|
|
23
|
+
expanded: H
|
|
24
|
+
}, P = "link__a274176c", $ = "expanded__ce0c86c5", A = {
|
|
25
|
+
link: P,
|
|
24
26
|
expanded: $
|
|
25
|
-
},
|
|
26
|
-
button:
|
|
27
|
+
}, v = "button__adf25459", z = "sm__aa752ac0", j = "icon__1b178210", K = "md__8226a45e", w = "lg__83f8729e", U = "block__906144f4", W = "content__03599638", X = "loading__38790ef4", Z = "loader__f247cfb6", q = "hidden__3641b058", n = {
|
|
28
|
+
button: v,
|
|
27
29
|
sm: z,
|
|
28
|
-
icon:
|
|
29
|
-
md:
|
|
30
|
-
lg:
|
|
31
|
-
block:
|
|
32
|
-
content:
|
|
33
|
-
loading:
|
|
34
|
-
loader:
|
|
35
|
-
hidden:
|
|
36
|
-
},
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
return {
|
|
57
|
-
[f.link]: !0,
|
|
58
|
-
[f.expanded]: n
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
}, Q = (t) => {
|
|
62
|
-
switch (t) {
|
|
63
|
-
case s.LG:
|
|
64
|
-
return e.lg;
|
|
65
|
-
case s.MD:
|
|
66
|
-
return e.md;
|
|
67
|
-
case s.SM:
|
|
68
|
-
return e.sm;
|
|
69
|
-
}
|
|
70
|
-
}, V = (t, n) => {
|
|
71
|
-
const d = [o.SECONDARY, o.SECONDARY_LIGHT].includes(t) ? g.BRAND : g.NEUTRAL;
|
|
72
|
-
return /* @__PURE__ */ y(R, { theme: d, size: n });
|
|
73
|
-
}, W = k.forwardRef((t, n) => {
|
|
74
|
-
const { children: d, className: N, disabled: c, theme: r, size: l = s.MD, block: L, loading: a, icon: i, ...S } = t, { "aria-expanded": _ } = t, E = p(
|
|
75
|
-
e.button,
|
|
76
|
-
P(r, !!_),
|
|
77
|
-
Q(l),
|
|
78
|
-
{ [e.block]: !!L, [e.loading]: !!a },
|
|
79
|
-
{ [e.icon]: !!i && !d },
|
|
80
|
-
// Классы для иконок, начало.
|
|
81
|
-
"hoverable",
|
|
30
|
+
icon: j,
|
|
31
|
+
md: K,
|
|
32
|
+
lg: w,
|
|
33
|
+
block: U,
|
|
34
|
+
content: W,
|
|
35
|
+
loading: X,
|
|
36
|
+
loader: Z,
|
|
37
|
+
hidden: q
|
|
38
|
+
}, F = {
|
|
39
|
+
[e.GENERAL]: E.general,
|
|
40
|
+
[e.SECONDARY]: N.secondary,
|
|
41
|
+
[e.SECONDARY_LIGHT]: g.secondaryLight,
|
|
42
|
+
[e.DANGER]: f.danger,
|
|
43
|
+
[e.LINK]: A.link
|
|
44
|
+
}, J = {
|
|
45
|
+
[e.GENERAL]: E.expanded,
|
|
46
|
+
[e.SECONDARY]: N.expanded,
|
|
47
|
+
[e.SECONDARY_LIGHT]: g.expanded,
|
|
48
|
+
[e.DANGER]: f.expanded,
|
|
49
|
+
[e.LINK]: A.expanded
|
|
50
|
+
}, Q = C(n), V = (o, c) => {
|
|
51
|
+
const d = [e.SECONDARY, e.SECONDARY_LIGHT].includes(o) ? p.BRAND : p.NEUTRAL;
|
|
52
|
+
return /* @__PURE__ */ x(R, { theme: d, size: c });
|
|
53
|
+
}, ee = b.forwardRef((o, c) => {
|
|
54
|
+
const { children: d, className: S, disabled: s, theme: t, size: r = u.MD, block: L, loading: a, icon: _, ...h } = o, { "aria-expanded": l } = o, y = m(
|
|
55
|
+
n.button,
|
|
56
|
+
F[t],
|
|
57
|
+
Q[r],
|
|
82
58
|
{
|
|
83
|
-
|
|
84
|
-
|
|
59
|
+
[n.block]: !!L,
|
|
60
|
+
[n.loading]: !!a,
|
|
61
|
+
[n.icon]: !!_ && !d,
|
|
62
|
+
[J[t]]: !!l
|
|
85
63
|
},
|
|
86
|
-
|
|
87
|
-
N
|
|
64
|
+
S
|
|
88
65
|
);
|
|
89
|
-
return /* @__PURE__ */
|
|
90
|
-
/* @__PURE__ */
|
|
91
|
-
|
|
66
|
+
return /* @__PURE__ */ i(T, { className: y, tabIndex: a ? -1 : void 0, disabled: s, ...h, ref: c, children: [
|
|
67
|
+
/* @__PURE__ */ i(D, { className: n.content, disabled: s, active: !!l, children: [
|
|
68
|
+
_,
|
|
92
69
|
d
|
|
93
70
|
] }),
|
|
94
|
-
/* @__PURE__ */
|
|
71
|
+
/* @__PURE__ */ x("div", { className: m(n.loader, !a && n.hidden), children: V(t, r) })
|
|
95
72
|
] });
|
|
96
73
|
});
|
|
97
|
-
|
|
74
|
+
ee.displayName = "Button";
|
|
98
75
|
export {
|
|
99
|
-
|
|
76
|
+
ee as Button
|
|
100
77
|
};
|
|
101
78
|
//# sourceMappingURL=Button.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import e from "react";
|
|
3
|
-
const r = e.forwardRef((t, o) => /* @__PURE__ */ a("button", { type: "button", ...t, "data-tx": "1.
|
|
3
|
+
const r = e.forwardRef((t, o) => /* @__PURE__ */ a("button", { type: "button", ...t, "data-tx": "1.26.0", ref: o }));
|
|
4
4
|
r.displayName = "ButtonBase";
|
|
5
5
|
export {
|
|
6
6
|
r as ButtonBase
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { Button as
|
|
1
|
+
import { Button as v } from "./Button.js";
|
|
2
2
|
import "./ButtonBase.js";
|
|
3
3
|
import "./ButtonIcon.js";
|
|
4
|
-
import { jsx as t, jsxs as
|
|
5
|
-
import
|
|
6
|
-
import { c as
|
|
7
|
-
import { DotshorizontalStrokeSrvIcon32 as
|
|
4
|
+
import { jsx as t, jsxs as x, Fragment as Z } from "react/jsx-runtime";
|
|
5
|
+
import q, { useRef as I, useState as F, createElement as B } from "react";
|
|
6
|
+
import { c as w, u as V } from "../../chunks/vendor-DudMBGKr.js";
|
|
7
|
+
import { DotshorizontalStrokeSrvIcon32 as J, DotshorizontalStrokeSrvIcon20 as y, CaretdownStrokeSrvIcon24 as Q, CaretdownStrokeSrvIcon20 as X, CaretdownStrokeSrvIcon16 as $ } from "@sberbusiness/icons-next";
|
|
8
8
|
import { ButtonDropdownExtended as g } from "./ButtonDropdownExtended.js";
|
|
9
|
-
import { EButtonDotsTheme as
|
|
10
|
-
import { isKey as
|
|
9
|
+
import { EButtonDotsTheme as N, EButtonTheme as l } from "./enums.js";
|
|
10
|
+
import { isKey as D } from "../../utils/keyboard.js";
|
|
11
11
|
import { DropdownListContext as oo } from "../Dropdown/DropdownListContext.js";
|
|
12
12
|
import "../Dropdown/desktop/DropdownDesktop.js";
|
|
13
13
|
import { DropdownList as L } from "../Dropdown/desktop/DropdownList.js";
|
|
14
|
-
import "../../chunks/DropdownListItem-
|
|
14
|
+
import "../../chunks/DropdownListItem-CjZLy9zZ.js";
|
|
15
15
|
import { EDropdownAlignment as to, EDropdownWidth as ro } from "../Dropdown/desktop/enums.js";
|
|
16
16
|
import "../Dropdown/mobile/DropdownMobile.js";
|
|
17
17
|
import { DropdownMobileBody as eo } from "../Dropdown/mobile/DropdownMobileBody.js";
|
|
@@ -24,45 +24,49 @@ import { DropdownMobileList as ao } from "../Dropdown/mobile/DropdownMobileList.
|
|
|
24
24
|
import { DropdownMobileListItem as so } from "../Dropdown/mobile/DropdownMobileListItem.js";
|
|
25
25
|
import "../Loader/LoaderSmall/LoaderSmall.js";
|
|
26
26
|
import "../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
27
|
-
import { EComponentSize as
|
|
27
|
+
import { EComponentSize as d } from "../../enums/EComponentSize.js";
|
|
28
28
|
import "../Dropdown/Dropdown.js";
|
|
29
29
|
import { ETextSize as io } from "../Typography/enums.js";
|
|
30
30
|
import "../Typography/Caption.js";
|
|
31
31
|
import "../Typography/CodeText.js";
|
|
32
32
|
import { Text as mo } from "../Typography/Text.js";
|
|
33
33
|
import "../Typography/Title.js";
|
|
34
|
-
const lo = "
|
|
34
|
+
const lo = "buttonDropdown__9645dfba", uo = "block__906144f4", po = "buttonDropdownTarget__085f4014", Do = "caretIcon__bbbe9946", fo = "active__314f8f1c", wo = "buttonDropdownMenuItem__c9a13045", n = {
|
|
35
35
|
buttonDropdown: lo,
|
|
36
36
|
block: uo,
|
|
37
|
-
buttonDropdownTarget:
|
|
38
|
-
caretIcon:
|
|
37
|
+
buttonDropdownTarget: po,
|
|
38
|
+
caretIcon: Do,
|
|
39
39
|
active: fo,
|
|
40
40
|
buttonDropdownMenuItem: wo
|
|
41
41
|
}, bo = {
|
|
42
|
-
[
|
|
43
|
-
[
|
|
44
|
-
[
|
|
45
|
-
}, G =
|
|
46
|
-
(
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
42
|
+
[d.SM]: /* @__PURE__ */ t(y, { paletteIndex: 0 }),
|
|
43
|
+
[d.MD]: /* @__PURE__ */ t(y, { paletteIndex: 0 }),
|
|
44
|
+
[d.LG]: /* @__PURE__ */ t(J, { paletteIndex: 0 })
|
|
45
|
+
}, G = {
|
|
46
|
+
[d.SM]: (a) => /* @__PURE__ */ t($, { paletteIndex: a, className: n.caretIcon }),
|
|
47
|
+
[d.MD]: (a) => /* @__PURE__ */ t(X, { paletteIndex: a, className: n.caretIcon }),
|
|
48
|
+
[d.LG]: (a) => /* @__PURE__ */ t(Q, { paletteIndex: a, className: n.caretIcon })
|
|
49
|
+
}, So = q.forwardRef(
|
|
50
|
+
(a, f) => {
|
|
51
|
+
const { buttonAttributes: R, children: h, className: P, theme: u, size: s, options: E, selected: m, block: b, disabled: T, ...W } = a, C = I(null), A = I(null), Y = w(n.buttonDropdown, { [n.block]: !!b }, P), [S, z] = F(), _ = I(V()), H = ({ opened: o, setOpened: e }) => {
|
|
52
|
+
const c = w(n.buttonDropdownTarget, {
|
|
53
|
+
[n.block]: !!b,
|
|
54
|
+
[n.active]: o
|
|
51
55
|
});
|
|
52
|
-
return /* @__PURE__ */
|
|
53
|
-
|
|
56
|
+
return /* @__PURE__ */ x(
|
|
57
|
+
v,
|
|
54
58
|
{
|
|
55
|
-
className:
|
|
56
|
-
theme:
|
|
59
|
+
className: c,
|
|
60
|
+
theme: u,
|
|
57
61
|
size: s,
|
|
58
|
-
onKeyDown:
|
|
62
|
+
onKeyDown: O({ opened: o, setOpened: e }),
|
|
59
63
|
onClick: k({ opened: o, setOpened: e }),
|
|
60
|
-
disabled:
|
|
64
|
+
disabled: T,
|
|
61
65
|
"aria-haspopup": "menu",
|
|
62
66
|
"aria-expanded": o,
|
|
63
|
-
"aria-controls":
|
|
64
|
-
"aria-activedescendant":
|
|
65
|
-
...
|
|
67
|
+
"aria-controls": _.current,
|
|
68
|
+
"aria-activedescendant": S,
|
|
69
|
+
...R,
|
|
66
70
|
ref: M,
|
|
67
71
|
children: [
|
|
68
72
|
h,
|
|
@@ -71,47 +75,44 @@ const lo = "buttonDropdown__9669e984", uo = "block__0772d8ed", Do = "buttonDropd
|
|
|
71
75
|
}
|
|
72
76
|
);
|
|
73
77
|
}, K = ({ opened: o, setOpened: e }) => {
|
|
74
|
-
const
|
|
75
|
-
[n.
|
|
76
|
-
[n.block]: !!S
|
|
78
|
+
const c = w(n.buttonDropdownTarget, {
|
|
79
|
+
[n.block]: !!b
|
|
77
80
|
});
|
|
78
81
|
return /* @__PURE__ */ t(
|
|
79
|
-
|
|
82
|
+
v,
|
|
80
83
|
{
|
|
81
|
-
className:
|
|
82
|
-
theme:
|
|
84
|
+
className: c,
|
|
85
|
+
theme: u === N.DOTS_SECONDARY ? l.SECONDARY : l.SECONDARY_LIGHT,
|
|
83
86
|
size: s,
|
|
84
|
-
onKeyDown:
|
|
87
|
+
onKeyDown: O({ opened: o, setOpened: e }),
|
|
85
88
|
onClick: k({ opened: o, setOpened: e }),
|
|
86
|
-
disabled:
|
|
89
|
+
disabled: T,
|
|
87
90
|
"aria-haspopup": "menu",
|
|
88
91
|
"aria-expanded": o,
|
|
89
|
-
"aria-controls":
|
|
90
|
-
"aria-activedescendant":
|
|
91
|
-
...
|
|
92
|
+
"aria-controls": _.current,
|
|
93
|
+
"aria-activedescendant": S,
|
|
94
|
+
...R,
|
|
92
95
|
ref: M,
|
|
93
96
|
icon: bo[s]
|
|
94
97
|
}
|
|
95
98
|
);
|
|
96
|
-
}, k = ({ opened: o, setOpened: e }) => () => e(!o),
|
|
97
|
-
const { key: i } =
|
|
98
|
-
(
|
|
99
|
+
}, k = ({ opened: o, setOpened: e }) => () => e(!o), O = ({ opened: o, setOpened: e }) => (c) => {
|
|
100
|
+
const { key: i } = c;
|
|
101
|
+
(D(i, "SPACE") || D(i, "ARROW_UP") || D(i, "ARROW_DOWN")) && c.preventDefault(), !o && (D(i, "ARROW_UP") || D(i, "ARROW_DOWN")) && e(!0);
|
|
99
102
|
}, j = () => {
|
|
100
|
-
switch (
|
|
103
|
+
switch (u) {
|
|
101
104
|
case l.GENERAL:
|
|
102
105
|
case l.DANGER:
|
|
103
|
-
|
|
104
|
-
case D.DOTS_SECONDARY_LIGHT:
|
|
105
|
-
return G(s, 7);
|
|
106
|
+
return G[s](7);
|
|
106
107
|
case l.SECONDARY:
|
|
107
108
|
case l.SECONDARY_LIGHT:
|
|
108
|
-
return G(
|
|
109
|
+
return G[s](0);
|
|
109
110
|
default:
|
|
110
111
|
return null;
|
|
111
112
|
}
|
|
112
|
-
}, U = ({ opened: o, setOpened: e, className:
|
|
113
|
-
const i =
|
|
114
|
-
return /* @__PURE__ */ t(oo.Provider, { value: { activeDescendant:
|
|
113
|
+
}, U = ({ opened: o, setOpened: e, className: c }) => {
|
|
114
|
+
const i = w(n.buttonDropdownMenu, c);
|
|
115
|
+
return /* @__PURE__ */ t(oo.Provider, { value: { activeDescendant: S, setActiveDescendant: z }, children: /* @__PURE__ */ t(
|
|
115
116
|
g.Dropdown,
|
|
116
117
|
{
|
|
117
118
|
className: i,
|
|
@@ -120,10 +121,10 @@ const lo = "buttonDropdown__9669e984", uo = "block__0772d8ed", Do = "buttonDropd
|
|
|
120
121
|
alignment: to.RIGHT,
|
|
121
122
|
opened: o,
|
|
122
123
|
setOpened: e,
|
|
123
|
-
targetRef:
|
|
124
|
+
targetRef: C,
|
|
124
125
|
ref: A,
|
|
125
126
|
mobileViewProps: {
|
|
126
|
-
children: /* @__PURE__ */
|
|
127
|
+
children: /* @__PURE__ */ x(Z, { children: [
|
|
127
128
|
/* @__PURE__ */ t(
|
|
128
129
|
co,
|
|
129
130
|
{
|
|
@@ -131,22 +132,22 @@ const lo = "buttonDropdown__9669e984", uo = "block__0772d8ed", Do = "buttonDropd
|
|
|
131
132
|
children: /* @__PURE__ */ t(mo, { tag: "div", size: io.B3, children: h })
|
|
132
133
|
}
|
|
133
134
|
),
|
|
134
|
-
/* @__PURE__ */ t(eo, { children: /* @__PURE__ */ t(ao, { children:
|
|
135
|
+
/* @__PURE__ */ t(eo, { children: /* @__PURE__ */ t(ao, { children: E.map((r) => /* @__PURE__ */ B(
|
|
135
136
|
so,
|
|
136
137
|
{
|
|
137
138
|
...r,
|
|
138
139
|
key: r.id,
|
|
139
140
|
selected: r.id === (m == null ? void 0 : m.id),
|
|
140
141
|
onSelect: () => {
|
|
141
|
-
var
|
|
142
|
-
(
|
|
142
|
+
var p;
|
|
143
|
+
(p = r.onSelect) == null || p.call(r), e(!1);
|
|
143
144
|
}
|
|
144
145
|
},
|
|
145
146
|
r.label
|
|
146
147
|
)) }) })
|
|
147
148
|
] })
|
|
148
149
|
},
|
|
149
|
-
children: /* @__PURE__ */ t(L, { dropdownOpened: o, id:
|
|
150
|
+
children: /* @__PURE__ */ t(L, { dropdownOpened: o, id: _.current, size: s, children: E.map((r) => /* @__PURE__ */ B(
|
|
150
151
|
L.Item,
|
|
151
152
|
{
|
|
152
153
|
...r,
|
|
@@ -154,8 +155,8 @@ const lo = "buttonDropdown__9669e984", uo = "block__0772d8ed", Do = "buttonDropd
|
|
|
154
155
|
key: r.id,
|
|
155
156
|
selected: r.id === (m == null ? void 0 : m.id),
|
|
156
157
|
onSelect: () => {
|
|
157
|
-
var
|
|
158
|
-
(
|
|
158
|
+
var p;
|
|
159
|
+
(p = r.onSelect) == null || p.call(r), e(!1);
|
|
159
160
|
}
|
|
160
161
|
},
|
|
161
162
|
r.label
|
|
@@ -163,17 +164,17 @@ const lo = "buttonDropdown__9669e984", uo = "block__0772d8ed", Do = "buttonDropd
|
|
|
163
164
|
}
|
|
164
165
|
) });
|
|
165
166
|
}, M = (o) => {
|
|
166
|
-
|
|
167
|
+
C.current = o, typeof f == "function" ? f(o) : f && (f.current = o);
|
|
167
168
|
};
|
|
168
169
|
return /* @__PURE__ */ t(
|
|
169
170
|
g,
|
|
170
171
|
{
|
|
171
|
-
className:
|
|
172
|
-
renderButton:
|
|
172
|
+
className: Y,
|
|
173
|
+
renderButton: u === N.DOTS_SECONDARY || u === N.DOTS_SECONDARY_LIGHT ? K : H,
|
|
173
174
|
renderDropdown: U,
|
|
174
175
|
dropdownRef: A,
|
|
175
176
|
closeOnTab: !0,
|
|
176
|
-
...
|
|
177
|
+
...W
|
|
177
178
|
}
|
|
178
179
|
);
|
|
179
180
|
}
|
|
@@ -4,7 +4,7 @@ import { Dropdown as _ } from "../Dropdown/Dropdown.js";
|
|
|
4
4
|
import { isKey as w } from "../../utils/keyboard.js";
|
|
5
5
|
import { DropdownList as g } from "../Dropdown/desktop/DropdownList.js";
|
|
6
6
|
import { c as A } from "../../chunks/vendor-DudMBGKr.js";
|
|
7
|
-
const K = "
|
|
7
|
+
const K = "buttonDropdownExtended__9bfe1206", S = "buttonDropdownExtendedBlock__ce44c209", E = {
|
|
8
8
|
buttonDropdownExtended: K,
|
|
9
9
|
buttonDropdownExtendedBlock: S
|
|
10
10
|
}, D = (s) => {
|
|
@@ -1,25 +1,23 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import a from "react";
|
|
3
3
|
import { c as m } from "../../chunks/vendor-DudMBGKr.js";
|
|
4
|
-
import { EButtonIconShape as
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
import { EButtonIconShape as t } from "./enums.js";
|
|
5
|
+
import { IconWrapper as p } from "../IconWrapper/IconWrapper.js";
|
|
6
|
+
const _ = "buttonIcon__2f586e4f", f = "circle__0ee45ad7", I = "squircle__bef3ac03", o = {
|
|
7
|
+
buttonIcon: _,
|
|
8
|
+
circle: f,
|
|
8
9
|
squircle: I
|
|
9
|
-
},
|
|
10
|
-
[
|
|
11
|
-
[
|
|
12
|
-
},
|
|
13
|
-
({ className:
|
|
14
|
-
const l = m(o.buttonIcon,
|
|
15
|
-
|
|
16
|
-
disabled: !!t
|
|
17
|
-
});
|
|
18
|
-
return /* @__PURE__ */ i("button", { type: "button", className: l, disabled: t, ...r, ref: a });
|
|
10
|
+
}, b = {
|
|
11
|
+
[t.SQUIRCLE]: o.squircle,
|
|
12
|
+
[t.CIRCLE]: o.circle
|
|
13
|
+
}, C = a.forwardRef(
|
|
14
|
+
({ className: r, disabled: c, shape: e = t.SQUIRCLE, active: s, ...u }, i) => {
|
|
15
|
+
const l = m(o.buttonIcon, b[e], r);
|
|
16
|
+
return /* @__PURE__ */ n(p, { displayContents: !0, disabled: c, active: s, children: /* @__PURE__ */ n("button", { type: "button", className: l, disabled: c, ...u, ref: i }) });
|
|
19
17
|
}
|
|
20
18
|
);
|
|
21
|
-
|
|
19
|
+
C.displayName = "ButtonIcon";
|
|
22
20
|
export {
|
|
23
|
-
|
|
21
|
+
C as ButtonIcon
|
|
24
22
|
};
|
|
25
23
|
//# sourceMappingURL=ButtonIcon.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var M = Object.defineProperty;
|
|
2
2
|
var H = (m, d, t) => d in m ? M(m, d, { enumerable: !0, configurable: !0, writable: !0, value: t }) : m[d] = t;
|
|
3
|
-
var
|
|
3
|
+
var p = (m, d, t) => H(m, typeof d != "symbol" ? d + "" : d, t);
|
|
4
4
|
import { jsx as h, jsxs as S } from "react/jsx-runtime";
|
|
5
5
|
import { u as I, c as R } from "../../chunks/vendor-DudMBGKr.js";
|
|
6
6
|
import V from "react";
|
|
@@ -13,7 +13,7 @@ import { CalendarView as N } from "./components/CalendarView.js";
|
|
|
13
13
|
import { CalendarFooter as E } from "./components/CalendarFooter.js";
|
|
14
14
|
import { CalendarFooterButton as v } from "./components/CalendarFooterButton.js";
|
|
15
15
|
import { parsePickedDate as f, formatDate as P, getHeader as j } from "./utils.js";
|
|
16
|
-
const q = "
|
|
16
|
+
const q = "calendar__772387ad", L = "adaptive__1dc213ac", g = {
|
|
17
17
|
calendar: q,
|
|
18
18
|
adaptive: L
|
|
19
19
|
};
|
|
@@ -21,13 +21,13 @@ class k extends V.PureComponent {
|
|
|
21
21
|
constructor(t) {
|
|
22
22
|
super(t);
|
|
23
23
|
// Уникальный идентификатор для связи периода с таблицей.
|
|
24
|
-
|
|
24
|
+
p(this, "periodId", `calendar-period-${I()}`);
|
|
25
25
|
/** Обработчик выбора даты. */
|
|
26
|
-
|
|
26
|
+
p(this, "handleDateSelect", (t) => {
|
|
27
27
|
this.props.onDateChange(t);
|
|
28
28
|
});
|
|
29
29
|
/** Обработчик смены страницы. */
|
|
30
|
-
|
|
30
|
+
p(this, "handlePageChange", (t, a) => {
|
|
31
31
|
const { onPageChange: o } = this.props;
|
|
32
32
|
this.setState({
|
|
33
33
|
header: P(t, a),
|
|
@@ -35,7 +35,7 @@ class k extends V.PureComponent {
|
|
|
35
35
|
}), o == null || o(t, a);
|
|
36
36
|
});
|
|
37
37
|
/** Обработчик изменения вида отображения. */
|
|
38
|
-
|
|
38
|
+
p(this, "handleViewChange", (t, a) => {
|
|
39
39
|
const { onViewChange: o } = this.props;
|
|
40
40
|
this.setState({
|
|
41
41
|
header: P(t, a),
|
|
@@ -44,13 +44,13 @@ class k extends V.PureComponent {
|
|
|
44
44
|
}), o == null || o(t, a);
|
|
45
45
|
});
|
|
46
46
|
/** Рендер футера. */
|
|
47
|
-
|
|
47
|
+
p(this, "renderFooter", () => {
|
|
48
48
|
const { pickType: t, yesterdayButtonProps: a, todayButtonProps: o, tomorrowButtonProps: r } = this.props, { viewDate: n, viewMode: e } = this.state;
|
|
49
49
|
let i, s;
|
|
50
50
|
t === y.datePick ? (i = D().startOf("day"), s = e === l.DAYS && n.isSame(i, "month")) : (i = D().startOf("month"), s = e === l.MONTHS && n.isSame(i, "year"));
|
|
51
|
-
const
|
|
51
|
+
const c = s && e === l.DAYS;
|
|
52
52
|
return /* @__PURE__ */ S(E, { children: [
|
|
53
|
-
|
|
53
|
+
c && a && /* @__PURE__ */ h(
|
|
54
54
|
v,
|
|
55
55
|
{
|
|
56
56
|
date: i.clone().subtract(1, "day"),
|
|
@@ -66,7 +66,7 @@ class k extends V.PureComponent {
|
|
|
66
66
|
...typeof o == "function" ? o({ viewMode: e, currentPeriodSelected: s }) : o
|
|
67
67
|
}
|
|
68
68
|
),
|
|
69
|
-
|
|
69
|
+
c && r && /* @__PURE__ */ h(
|
|
70
70
|
v,
|
|
71
71
|
{
|
|
72
72
|
date: i.clone().add(1, "day"),
|
|
@@ -107,8 +107,8 @@ class k extends V.PureComponent {
|
|
|
107
107
|
return n;
|
|
108
108
|
}
|
|
109
109
|
componentDidUpdate(t, a) {
|
|
110
|
-
const { format: o } = this.props, { viewDate: r } = this.state, { viewDate: n } = a, e = f(this.props.pickedDate, o), i = e == null ? void 0 : e.isValid(), s = i ? e : n,
|
|
111
|
-
if (!(!i ||
|
|
110
|
+
const { format: o } = this.props, { viewDate: r } = this.state, { viewDate: n } = a, e = f(this.props.pickedDate, o), i = e == null ? void 0 : e.isValid(), s = i ? e : n, c = f(t.pickedDate, o);
|
|
111
|
+
if (!(!i || c != null && c.isSame(s, "day"))) {
|
|
112
112
|
let u = {};
|
|
113
113
|
r && !r.isSame(e, "month") && (u = {
|
|
114
114
|
currentTab: l.DAYS,
|
|
@@ -130,14 +130,14 @@ class k extends V.PureComponent {
|
|
|
130
130
|
dayHtmlAttributes: e,
|
|
131
131
|
monthHtmlAttributes: i,
|
|
132
132
|
yearHtmlAttributes: s,
|
|
133
|
-
prevButtonProps:
|
|
133
|
+
prevButtonProps: c,
|
|
134
134
|
nextButtonProps: u,
|
|
135
135
|
viewButtonProps: C,
|
|
136
136
|
todayButtonProps: T
|
|
137
|
-
} = this.props, { viewMode: A, viewDate: B, header: Y } = this.state,
|
|
137
|
+
} = this.props, { viewMode: A, viewDate: B, header: Y } = this.state, F = R(g.calendar, {
|
|
138
138
|
[g.adaptive]: !!this.props.adaptiveMode
|
|
139
|
-
}),
|
|
140
|
-
return /* @__PURE__ */ h("div", { className:
|
|
139
|
+
}), b = f(this.props.pickedDate, t);
|
|
140
|
+
return /* @__PURE__ */ h("div", { className: F, "data-tx": "1.26.0", children: /* @__PURE__ */ S(
|
|
141
141
|
w.Provider,
|
|
142
142
|
{
|
|
143
143
|
value: {
|
|
@@ -157,7 +157,7 @@ class k extends V.PureComponent {
|
|
|
157
157
|
/* @__PURE__ */ h(
|
|
158
158
|
x,
|
|
159
159
|
{
|
|
160
|
-
prevButtonProps:
|
|
160
|
+
prevButtonProps: c,
|
|
161
161
|
nextButtonProps: u,
|
|
162
162
|
viewButtonProps: C,
|
|
163
163
|
children: Y
|
|
@@ -166,7 +166,7 @@ class k extends V.PureComponent {
|
|
|
166
166
|
/* @__PURE__ */ h(
|
|
167
167
|
N,
|
|
168
168
|
{
|
|
169
|
-
pickedDate:
|
|
169
|
+
pickedDate: b,
|
|
170
170
|
dayHtmlAttributes: e,
|
|
171
171
|
monthHtmlAttributes: i,
|
|
172
172
|
yearHtmlAttributes: s
|
|
@@ -178,11 +178,11 @@ class k extends V.PureComponent {
|
|
|
178
178
|
) });
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
|
-
|
|
181
|
+
p(k, "defaultProps", {
|
|
182
182
|
format: O,
|
|
183
183
|
limitRange: _,
|
|
184
184
|
pickType: y.datePick
|
|
185
|
-
}),
|
|
185
|
+
}), p(k, "contextType", w);
|
|
186
186
|
export {
|
|
187
187
|
k as Calendar
|
|
188
188
|
};
|
|
@@ -8,7 +8,7 @@ import { EButtonIconShape as E, EButtonTheme as L } from "../../Button/enums.js"
|
|
|
8
8
|
import { ECalendarViewMode as e } from "../enums.js";
|
|
9
9
|
import { globalLimitRange as O } from "../../../consts/DateConst.js";
|
|
10
10
|
import { EComponentSize as V } from "../../../enums/EComponentSize.js";
|
|
11
|
-
const U = "
|
|
11
|
+
const U = "calendarControls__2add8050", j = {
|
|
12
12
|
calendarControls: U
|
|
13
13
|
}, X = ({
|
|
14
14
|
children: m,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
const
|
|
3
|
-
calendarFooter:
|
|
4
|
-
}, t = ({ children:
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
const a = "calendarFooter__ee5e8fb6", r = {
|
|
3
|
+
calendarFooter: a
|
|
4
|
+
}, t = ({ children: e }) => /* @__PURE__ */ o("div", { className: r.calendarFooter, children: e });
|
|
5
5
|
t.displayName = "CalendarFooter";
|
|
6
6
|
export {
|
|
7
7
|
t as CalendarFooter
|
|
@@ -5,7 +5,7 @@ import c from "moment";
|
|
|
5
5
|
import { isDateOutOfRange as g, isDayDisabled as z } from "../utils.js";
|
|
6
6
|
import { WEEKDAYS_SET as J } from "../../../consts/DateConst.js";
|
|
7
7
|
import { CalendarViewContext as Q } from "../CalendarViewContext.js";
|
|
8
|
-
import { s as y, C as X } from "../../../chunks/CalendarViewItem-
|
|
8
|
+
import { s as y, C as X } from "../../../chunks/CalendarViewItem-DHFLturD.js";
|
|
9
9
|
import { isKey as d } from "../../../utils/keyboard.js";
|
|
10
10
|
import { ECalendarDateMarkType as Z, ECalendarViewMode as E } from "../enums.js";
|
|
11
11
|
import { CalendarContext as ee } from "../CalendarContext.js";
|
|
@@ -4,7 +4,7 @@ import "react";
|
|
|
4
4
|
import "../enums.js";
|
|
5
5
|
import "../CalendarViewContext.js";
|
|
6
6
|
import "../../../utils/keyboard.js";
|
|
7
|
-
import { C } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { C } from "../../../chunks/CalendarViewItem-DHFLturD.js";
|
|
8
8
|
export {
|
|
9
9
|
C as CalendarViewItem
|
|
10
10
|
};
|