@sberbusiness/triplex-next 1.25.0 → 1.27.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-kutiygyc.js +41 -0
- package/chunks/{CalendarViewItem-D-POWd2-.js → CalendarViewItem-5MWTfOXg.js} +14 -14
- package/chunks/Card.module-BdHlvmcC.js +17 -0
- package/chunks/CheckboxTreeExtended.module-CtU7nxR-.js +15 -0
- package/chunks/Chip-BOBB8hDQ.js +77 -0
- package/chunks/Confirm.module-DX-8Qawd.js +15 -0
- package/chunks/{DropdownListItem-DEiNYa7V.js → DropdownListItem-kVq_Shxy.js} +16 -16
- package/chunks/DropdownMobile.module-DxT1Mh6q.js +23 -0
- package/chunks/Footer.module-DBFjyD0W.js +9 -0
- package/chunks/{FormFieldInput-DtYGQ_bi.js → FormFieldInput-DB9UpgIs.js} +29 -29
- package/chunks/HeaderLayoutSidebar.module-BIMH5ZRB.js +9 -0
- package/chunks/HeaderTabs.module-D62rOoJt.js +9 -0
- package/chunks/{HeaderTitle.module-C31ELKBY.js → HeaderTitle.module-Ckh2V8ux.js} +2 -2
- package/chunks/IslandAccordion.module-BI69hCoR.js +25 -0
- package/chunks/IslandWidgetFooter.module-BUJQAvCe.js +9 -0
- package/chunks/IslandWidgetHeader.module-DqTmcCwj.js +12 -0
- package/chunks/{LightBoxContent-9gb9WiYK.js → LightBoxContent-CK07PlB9.js} +11 -11
- package/chunks/LightBoxControls.module-DR9tmKz6.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-BiFhnV3i.js +9 -0
- package/chunks/{ListItemControlsButton-DYBfA1gz.js → ListItemControlsButton-27xRORri.js} +13 -13
- package/chunks/ListItemTail.module-DKJmlaMg.js +12 -0
- package/chunks/ListMasterFooter.module-DkH4Ou-p.js +10 -0
- package/chunks/ModalWindow.module-Be4wGbwq.js +17 -0
- package/chunks/Notification.module-O5iV5kzx.js +20 -0
- package/chunks/Overlay.module-B0iGlEWG.js +18 -0
- package/chunks/Page.module-D0FFKxyx.js +11 -0
- package/chunks/SMSField.module-DrbNbpz3.js +16 -0
- package/chunks/SliderExtendedMarks.module-A0_OgEiW.js +15 -0
- package/chunks/SliderExtendedRail-D7nuFyRp.js +40 -0
- package/chunks/StatusTracker.module-DenK6Z9K.js +24 -0
- package/chunks/StepperStepArrowBorder-D9rM6XEL.js +101 -0
- package/chunks/{SuggestFieldMobileDropdownHint-Bl-fHUU9.js → SuggestFieldMobileDropdownHint-CSrNs8VF.js} +5 -5
- package/chunks/TableFooter.module-BqHcJ9ea.js +14 -0
- package/chunks/TabsExtended.module-BtTx6oxY.js +16 -0
- package/chunks/TabsLine.module-C9KVj0hj.js +21 -0
- package/chunks/TooltipDesktop.module-uHaX3xgt.js +19 -0
- package/chunks/TreeView.module-BKi0xbbR.js +9 -0
- package/chunks/{UploadZoneInput-CUKt0mmY.js → UploadZoneInput-Bjnmk93x.js} +4 -4
- package/chunks/{constants-CmdvDG7U.js → constants-1ccyxiKh.js} +4 -4
- package/chunks/{utils-iU8-da0U.js → utils-BxF0Dq4C.js} +6 -6
- package/chunks/utils-CVIZqPO7.js +28 -0
- package/chunks/{utils-B8JwCW07.js → utils-CZzNEYf-.js} +7 -7
- package/chunks/{utils-DILds0zQ.js → utils-DfVeTN89.js} +5 -5
- package/components/Alert/AlertContext/AlertContext.js +11 -11
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +2 -2
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +18 -18
- package/components/Badge/Badge.js +10 -10
- package/components/Badge/BadgeDot.js +10 -10
- package/components/Badge/components/BadgeContent.js +20 -20
- package/components/Badge/components/BadgePostfix.js +7 -7
- package/components/Badge/components/BadgePrefix.js +6 -6
- package/components/Body/Body.js +5 -5
- package/components/Button/Button.js +15 -15
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +15 -15
- package/components/Button/ButtonDropdownExtended.js +1 -1
- package/components/Button/ButtonIcon.js +4 -4
- package/components/Calendar/Calendar.js +2 -2
- package/components/Calendar/components/CalendarControls.js +13 -13
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarViewDays.js +1 -1
- package/components/Calendar/components/CalendarViewItem.js +1 -1
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +19 -19
- 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 +9 -9
- package/components/Checkbox/Checkbox.js +17 -17
- package/components/Checkbox/CheckboxXGroup.js +14 -14
- package/components/Checkbox/CheckboxYGroup.js +1 -1
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +1 -1
- package/components/Chip/Chip.js +1 -1
- package/components/Chip/ChipClearButton.js +4 -4
- 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 +6 -6
- package/components/Chip/ChipSelect/ChipSelect.js +1 -1
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +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 +11 -11
- package/components/Col/Col.js +136 -136
- 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 +53 -51
- package/components/DateField/DateFieldTarget.js +39 -38
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +4 -4
- package/components/DateRange/DateRange.js +18 -18
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/components/Stepper.js +11 -20
- package/components/Divider/Divider.js +20 -20
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +1 -1
- package/components/Dropdown/desktop/DropdownDesktop.js +7 -7
- 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 +4 -4
- 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 +1 -1
- package/components/ExpandAnimation/ExpandAnimation.js +23 -23
- 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 +20 -20
- package/components/FormField/components/FormFieldClear.js +7 -7
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +4 -4
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +7 -7
- package/components/FormField/components/FormFieldMaskedInput.js +14 -14
- package/components/FormField/components/FormFieldPostfix.js +6 -6
- package/components/FormField/components/FormFieldPrefix.js +9 -9
- package/components/FormField/components/FormFieldTarget.js +4 -4
- package/components/FormField/components/FormFieldTextarea.js +28 -28
- 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 +8 -8
- package/components/Header/components/HeaderTabs/HeaderTabs.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitle.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +1 -1
- package/components/HelpBox/HelpBox.js +1 -1
- package/components/IconWrapper/IconWrapper.js +10 -10
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +2 -2
- package/components/Island/components/IslandFooter.js +5 -5
- 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 +69 -63
- package/components/IslandWidget/IslandWidget.js +49 -41
- package/components/IslandWidget/components/IslandWidgetBody.js +1 -1
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +4 -4
- 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 +7 -7
- package/components/LightBox/LightBox.js +5 -5
- 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 +10 -10
- 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 +15 -15
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +7 -7
- package/components/Link/Link.js +24 -24
- package/components/List/List.js +5 -5
- package/components/List/ListSortable.js +30 -55
- package/components/List/components/ListEmptyState.js +6 -6
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +10 -10
- package/components/List/components/ListItemControls.js +6 -6
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +40 -39
- package/components/List/components/ListItemLoading.js +8 -8
- package/components/List/components/ListItemSelectable.js +10 -10
- package/components/List/components/ListItemTable.js +6 -6
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +22 -21
- package/components/List/components/ListSortableItemControls.js +1 -1
- package/components/List/components/ListSortableItemTarget.js +8 -8
- package/components/List/index.js +1 -1
- package/components/List/utils.js +20 -0
- package/components/ListMaster/ListMaster.js +20 -13
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +7 -7
- 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 +9 -9
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +7 -7
- package/components/Loader/LoaderSmall/LoaderSmall.js +8 -8
- package/components/LoaderScreen/LoaderScreen.js +11 -11
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +12 -12
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +2 -2
- package/components/ModalWindow/components/ModalWindowClose.js +3 -3
- 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/MonthYearField.js +32 -30
- package/components/MonthYearField/MonthYearFieldTarget.js +37 -36
- 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 +10 -10
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +6 -6
- 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 +2 -2
- package/components/OrderedList/OrderedListItem.js +5 -5
- 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 +8 -8
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +5 -5
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +8 -8
- package/components/Pagination/components/PaginationPageEllipsis.js +1 -1
- package/components/Pagination/components/PaginationSelect.js +1 -1
- package/components/Radio/Radio.js +16 -16
- package/components/Radio/RadioXGroup.js +10 -10
- package/components/Radio/RadioYGroup.js +6 -6
- 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 +11 -11
- package/components/SegmentedControl/SegmentedControlSegment.js +12 -12
- 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 +22 -22
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +9 -9
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +7 -7
- 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 +6 -6
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +26 -26
- package/components/SmallInput/SmallInput.js +1 -1
- package/components/Spoiler/Spoiler.js +13 -13
- 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 +30 -24
- package/components/Stepper/Stepper.js +104 -89
- package/components/Stepper/StepperExtended.js +23 -21
- package/components/Stepper/StepperExtendedContext.js +6 -6
- package/components/Stepper/StepperStep.js +62 -63
- 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 +5 -5
- package/components/Table/MasterTable.js +2 -2
- package/components/Table/NoColumns.js +1 -1
- package/components/Table/PaginationPanel.js +2 -2
- package/components/Table/TableBasic/TableBasic.js +1 -1
- package/components/Table/TableBasic/components/TableBasicBody.js +1 -1
- package/components/Table/TableBasic/components/TableBasicHeader.js +1 -1
- package/components/Table/TableBasic/components/TableBasicRow.js +1 -1
- package/components/Table/TableBasicSettings/TableBasicSettings.js +9 -9
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +2 -2
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +4 -4
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +6 -6
- 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 +8 -8
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +13 -13
- package/components/TabsExtended/TabsExtended.js +2 -2
- package/components/TabsExtended/components/TabsExtendedContent.js +1 -1
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTab.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabButton.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +1 -1
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +1 -1
- package/components/TabsLine/components/TabsLineDesktop.js +1 -1
- package/components/TabsLine/components/TabsLineDropdown.js +2 -2
- package/components/TabsLine/components/TabsLineItem.js +1 -1
- package/components/TabsLine/components/TabsLineMobile.js +1 -1
- package/components/Tag/Tag.js +6 -6
- package/components/TagColor/TagColor.js +15 -15
- package/components/TagColor/index.js +4 -2
- package/components/TagGroup/TagGroup.js +7 -7
- 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 +7 -7
- 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 +13 -13
- package/components/TopOverlay/TopOverlay.js +19 -19
- 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 +21 -21
- package/components/Typography/CodeText.js +7 -7
- package/components/Typography/Text.js +20 -20
- package/components/Typography/Title.js +24 -24
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +5 -5
- package/components/UnorderedList/UnorderedListItem.js +11 -11
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +299 -294
- package/index.d.ts +115 -42
- package/index.js +329 -324
- package/package.json +6 -2
- package/styles/triplex-next.css +538 -541
- package/chunks/AlertProcessSpoiler-B46jKfAb.js +0 -41
- package/chunks/Card.module-CncHGyjC.js +0 -17
- package/chunks/CheckboxTreeExtended.module-B1Kgd0nu.js +0 -15
- package/chunks/Chip-DTIbYTEg.js +0 -77
- package/chunks/Confirm.module-EXbF7o_5.js +0 -15
- package/chunks/DropdownMobile.module-BoKjV5kN.js +0 -23
- package/chunks/Footer.module-DZkZf8cZ.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-DgEDu6U2.js +0 -9
- package/chunks/HeaderTabs.module-BepwFanR.js +0 -9
- package/chunks/IslandAccordion.module-rpYHTG9-.js +0 -25
- package/chunks/IslandWidgetFooter.module-CGX_gIzr.js +0 -9
- package/chunks/IslandWidgetHeader.module-CBRjot0L.js +0 -12
- package/chunks/LightBoxControls.module-DW8BGlP2.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-DfPgpuEZ.js +0 -9
- package/chunks/ListItemTail.module-BaV7s4hM.js +0 -12
- package/chunks/ListMasterFooter.module-DJ5zh4gk.js +0 -10
- package/chunks/ModalWindow.module-CBYym922.js +0 -17
- package/chunks/Notification.module-DxdRS8Y5.js +0 -20
- package/chunks/Overlay.module-BNFZ_rbt.js +0 -18
- package/chunks/Page.module-C50cd0OD.js +0 -11
- package/chunks/RightBorderArrow-BDD4mS5-.js +0 -146
- package/chunks/SMSField.module-C20gqTPw.js +0 -16
- package/chunks/SliderExtendedMarks.module-CsyPT1yp.js +0 -15
- package/chunks/SliderExtendedRail-D5G6Gddu.js +0 -40
- package/chunks/StatusTracker.module-Dn-2MvTp.js +0 -24
- package/chunks/TableFooter.module-CVe7H3F5.js +0 -14
- package/chunks/TabsExtended.module-DAVeemgZ.js +0 -16
- package/chunks/TabsLine.module-DpFaqhk4.js +0 -21
- package/chunks/TooltipDesktop.module-OpglHVA8.js +0 -19
- package/chunks/TreeView.module-D0XjOCzq.js +0 -9
- package/chunks/utils-D0TxmRz_.js +0 -28
- package/components/Stepper/RightBorderArrow.js +0 -7
- package/components/Stepper/StepperWrapper.js +0 -12
|
@@ -6,7 +6,7 @@ import C from "react";
|
|
|
6
6
|
import { TreeView as g } from "../../TreeView/TreeView.js";
|
|
7
7
|
import { AccordionBase as u } from "../../AccordionBase/protected/AccordionBase.js";
|
|
8
8
|
import { c as y } from "../../../chunks/vendor-DudMBGKr.js";
|
|
9
|
-
const T = "
|
|
9
|
+
const T = "collapsableTreeNodeContent__b873ef4d", b = {
|
|
10
10
|
collapsableTreeNodeContent: T
|
|
11
11
|
};
|
|
12
12
|
class B extends C.Component {
|
|
@@ -25,27 +25,27 @@ class B extends C.Component {
|
|
|
25
25
|
});
|
|
26
26
|
/** Render-функция для передачи дочерних нод. */
|
|
27
27
|
i(this, "renderBody", (e) => (r) => {
|
|
28
|
-
const { activeNode: t, openedNode: s, hasChildNodes: l } = e, { animating: o } = r, { opened:
|
|
28
|
+
const { activeNode: t, openedNode: s, hasChildNodes: l } = e, { animating: o } = r, { opened: p, renderBody: d } = this.props, { controlled: a } = this.state;
|
|
29
29
|
return e.hasChildNodes ? /* @__PURE__ */ h(g.Group, { children: d({
|
|
30
30
|
activeNode: t,
|
|
31
31
|
animating: o,
|
|
32
32
|
hasChildNodes: l,
|
|
33
|
-
opened:
|
|
33
|
+
opened: a ? p : s,
|
|
34
34
|
toggle: this.toggle(e)
|
|
35
35
|
}) }) : d({
|
|
36
36
|
activeNode: t,
|
|
37
37
|
animating: o,
|
|
38
38
|
hasChildNodes: l,
|
|
39
|
-
opened:
|
|
39
|
+
opened: a ? p : s,
|
|
40
40
|
toggle: this.toggle(e)
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
/** Render-функция не сворачиваемой части ноды. */
|
|
44
44
|
i(this, "renderHeader", (e) => (r) => {
|
|
45
|
-
const { activeNode: t, openedNode: s, hasChildNodes: l, isLastNode: o } = e, { animating:
|
|
46
|
-
return
|
|
45
|
+
const { activeNode: t, openedNode: s, hasChildNodes: l, isLastNode: o } = e, { animating: p } = r, { opened: d, renderHeader: a } = this.props, { controlled: m } = this.state;
|
|
46
|
+
return a({
|
|
47
47
|
activeNode: t,
|
|
48
|
-
animating:
|
|
48
|
+
animating: p,
|
|
49
49
|
hasChildNodes: l,
|
|
50
50
|
isLastNode: o,
|
|
51
51
|
opened: m ? d : s,
|
|
@@ -54,18 +54,18 @@ class B extends C.Component {
|
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
|
-
const { opened: e, onToggle: r, renderBody: t, renderHeader: s, toggle: l, ...o } = this.props, { controlled:
|
|
57
|
+
const { opened: e, onToggle: r, renderBody: t, renderHeader: s, toggle: l, ...o } = this.props, { controlled: p } = this.state;
|
|
58
58
|
return /* @__PURE__ */ h(g.Node, { opened: e, ...o, children: (d) => {
|
|
59
|
-
const
|
|
59
|
+
const a = p ? e : d.openedNode;
|
|
60
60
|
return /* @__PURE__ */ h(
|
|
61
61
|
u,
|
|
62
62
|
{
|
|
63
63
|
expandAnimationClassName: y(b.collapsableTreeNodeContent, {
|
|
64
|
-
collapsed: !
|
|
64
|
+
collapsed: !a
|
|
65
65
|
}),
|
|
66
66
|
renderBody: this.renderBody(d),
|
|
67
67
|
renderHeader: this.renderHeader(d),
|
|
68
|
-
isOpen:
|
|
68
|
+
isOpen: a,
|
|
69
69
|
onToggle: r
|
|
70
70
|
}
|
|
71
71
|
);
|
|
@@ -9,7 +9,7 @@ import "../Island/components/IslandBody.js";
|
|
|
9
9
|
import "../Island/components/IslandHeader.js";
|
|
10
10
|
import "../Island/components/IslandFooter.js";
|
|
11
11
|
import { EConfirmParentComponent as o } from "./enums.js";
|
|
12
|
-
import { s as r } from "../../chunks/Confirm.module-
|
|
12
|
+
import { s as r } from "../../chunks/Confirm.module-DX-8Qawd.js";
|
|
13
13
|
const d = {
|
|
14
14
|
[o.LIGHTBOX]: r.isInLightBox,
|
|
15
15
|
[o.SIDE_OVERLAY_SM]: r.isInSideOverlaySM,
|
|
@@ -2,7 +2,7 @@ import { jsx as o } from "react/jsx-runtime";
|
|
|
2
2
|
import s from "react";
|
|
3
3
|
import { CrossStrokeSrvIcon20 as i } from "@sberbusiness/icons-next";
|
|
4
4
|
import { c as f } from "../../../chunks/vendor-DudMBGKr.js";
|
|
5
|
-
import { s as n } from "../../../chunks/Confirm.module-
|
|
5
|
+
import { s as n } from "../../../chunks/Confirm.module-DX-8Qawd.js";
|
|
6
6
|
import { Button as p } from "../../Button/Button.js";
|
|
7
7
|
import { EButtonTheme as a } from "../../Button/enums.js";
|
|
8
8
|
import { EComponentSize as l } from "../../../enums/EComponentSize.js";
|
|
@@ -2,7 +2,7 @@ import { jsx as n } from "react/jsx-runtime";
|
|
|
2
2
|
import { ConfirmContentSubTitle as r } from "./ConfirmContentSubTitle.js";
|
|
3
3
|
import { ConfirmContentTitle as e } from "./ConfirmContentTitle.js";
|
|
4
4
|
import { c as s } from "../../../chunks/vendor-DudMBGKr.js";
|
|
5
|
-
import { s as f } from "../../../chunks/Confirm.module-
|
|
5
|
+
import { s as f } from "../../../chunks/Confirm.module-DX-8Qawd.js";
|
|
6
6
|
const o = ({ children: t, className: m, ...i }) => /* @__PURE__ */ n("div", { className: s(m, f.confirmContent), ...i, children: t });
|
|
7
7
|
o.displayName = "ConfirmContent";
|
|
8
8
|
o.Title = e;
|
|
@@ -2,7 +2,7 @@ import { jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import { ETitleSize as e } from "../../Typography/enums.js";
|
|
3
3
|
import { Title as s } from "../../Typography/Title.js";
|
|
4
4
|
import { c as n } from "../../../chunks/vendor-DudMBGKr.js";
|
|
5
|
-
import { s as l } from "../../../chunks/Confirm.module-
|
|
5
|
+
import { s as l } from "../../../chunks/Confirm.module-DX-8Qawd.js";
|
|
6
6
|
const f = ({
|
|
7
7
|
children: t,
|
|
8
8
|
className: o,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import { c as t } from "../../../chunks/vendor-DudMBGKr.js";
|
|
3
|
-
import { s as i } from "../../../chunks/Confirm.module-
|
|
3
|
+
import { s as i } from "../../../chunks/Confirm.module-DX-8Qawd.js";
|
|
4
4
|
const l = ({ children: o, className: s, ...r }) => /* @__PURE__ */ m("div", { className: t(s, i.confirmControls), ...r, children: o });
|
|
5
5
|
l.displayName = "ConfirmControls";
|
|
6
6
|
export {
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { jsx as n, jsxs as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as n, jsxs as K } from "react/jsx-runtime";
|
|
2
|
+
import Q, { useState as W, useRef as l, useEffect as X } from "react";
|
|
3
3
|
import y from "moment";
|
|
4
|
-
import { DatePickerExtended as
|
|
5
|
-
import { dateFormatYYYYMMDD as
|
|
4
|
+
import { DatePickerExtended as Z } from "../DatePickerExtended/DatePickerExtended.js";
|
|
5
|
+
import { dateFormatYYYYMMDD as $, globalLimitRange as ee } from "../../consts/DateConst.js";
|
|
6
6
|
import { DateFieldUtils as m } from "./utils.js";
|
|
7
|
-
import { DateFieldTarget as
|
|
7
|
+
import { DateFieldTarget as te } from "./DateFieldTarget.js";
|
|
8
8
|
import { inputDateFormat as b } from "./constants.js";
|
|
9
9
|
import { Tooltip as S } from "../Tooltip/Tooltip.js";
|
|
10
|
-
import { ETooltipSize as
|
|
11
|
-
import { MobileView as
|
|
10
|
+
import { ETooltipSize as re } from "../Tooltip/enums.js";
|
|
11
|
+
import { MobileView as ae } from "../MobileView/MobileView.js";
|
|
12
12
|
import { DropdownMobileMaskedInput as T } from "../Dropdown/mobile/DropdownMobileMaskedInput.js";
|
|
13
|
-
import { DateFieldContext as
|
|
13
|
+
import { DateFieldContext as ne } from "./DateFieldContext.js";
|
|
14
14
|
import "../FormField/components/FormFieldClear.js";
|
|
15
15
|
import "../FormField/components/FormFieldCounter.js";
|
|
16
16
|
import "../FormField/components/FormFieldDescription.js";
|
|
17
|
-
import "../../chunks/FormFieldInput-
|
|
17
|
+
import "../../chunks/FormFieldInput-DB9UpgIs.js";
|
|
18
18
|
import "../FormField/components/FormFieldLabel.js";
|
|
19
|
-
import { FormFieldMaskedInput as
|
|
19
|
+
import { FormFieldMaskedInput as ie } from "../FormField/components/FormFieldMaskedInput.js";
|
|
20
20
|
import "../FormField/components/FormFieldPostfix.js";
|
|
21
21
|
import "../FormField/components/FormFieldPrefix.js";
|
|
22
22
|
import "../FormField/components/FormFieldTarget.js";
|
|
23
23
|
import "../FormField/components/FormFieldTextarea.js";
|
|
24
24
|
import "../FormField/FormField.js";
|
|
25
|
-
const
|
|
25
|
+
const oe = Q.forwardRef((x, p) => {
|
|
26
26
|
const {
|
|
27
27
|
size: I,
|
|
28
28
|
status: E,
|
|
@@ -31,47 +31,49 @@ const ie = K.forwardRef((x, p) => {
|
|
|
31
31
|
placeholderMask: P,
|
|
32
32
|
"aria-label": Y,
|
|
33
33
|
"aria-labelledby": z,
|
|
34
|
-
format: a =
|
|
35
|
-
limitRange: i =
|
|
34
|
+
format: a = $,
|
|
35
|
+
limitRange: i = ee,
|
|
36
36
|
disabledDays: o,
|
|
37
|
-
onChange:
|
|
37
|
+
onChange: d,
|
|
38
|
+
onClear: L,
|
|
38
39
|
onDropdownOpen: f,
|
|
39
40
|
onDropdownClose: g,
|
|
40
|
-
invalidDateHint:
|
|
41
|
-
targetProps:
|
|
42
|
-
...
|
|
43
|
-
} = x, [r, D] =
|
|
41
|
+
invalidDateHint: j,
|
|
42
|
+
targetProps: A,
|
|
43
|
+
...B
|
|
44
|
+
} = x, [r, D] = W(
|
|
44
45
|
m.getPickerValues(s, a, i, o)
|
|
45
|
-
),
|
|
46
|
-
|
|
46
|
+
), C = l(null), c = l(r), F = l(!1), R = l(!1), h = l(!1), u = l(!1);
|
|
47
|
+
X(() => {
|
|
47
48
|
const e = m.getPickerValues(s, a, i, o);
|
|
48
|
-
e.inputString !== r.inputString && D(e),
|
|
49
|
+
e.inputString !== r.inputString && D(e), c.current = e;
|
|
49
50
|
}, [s, a, i, o]);
|
|
50
|
-
const
|
|
51
|
-
|
|
52
|
-
},
|
|
53
|
-
const { maskedInputProps: e, ...t } =
|
|
54
|
-
return /* @__PURE__ */ n(
|
|
55
|
-
|
|
51
|
+
const H = (e) => {
|
|
52
|
+
C.current = e, typeof p == "function" ? p(e) : p && (p.current = e);
|
|
53
|
+
}, _ = () => {
|
|
54
|
+
const { maskedInputProps: e, ...t } = A || {}, { onChange: k, ...J } = e || {};
|
|
55
|
+
return /* @__PURE__ */ n(ne.Provider, { value: { inputFocusedRef: F, onChange: d, triggerChangeFromInput: w }, children: /* @__PURE__ */ n(
|
|
56
|
+
te,
|
|
56
57
|
{
|
|
57
58
|
size: I,
|
|
58
59
|
status: E,
|
|
59
60
|
label: O,
|
|
61
|
+
onClear: L,
|
|
60
62
|
maskedInputProps: {
|
|
61
63
|
value: r.inputString,
|
|
62
|
-
mask:
|
|
64
|
+
mask: ie.presets.masks.date,
|
|
63
65
|
placeholderMask: P,
|
|
64
66
|
"aria-label": Y,
|
|
65
67
|
"aria-labelledby": z,
|
|
66
68
|
onChange: (v) => {
|
|
67
69
|
V(v), k == null || k(v);
|
|
68
70
|
},
|
|
69
|
-
...
|
|
71
|
+
...J
|
|
70
72
|
},
|
|
71
73
|
...t
|
|
72
74
|
}
|
|
73
75
|
) });
|
|
74
|
-
},
|
|
76
|
+
}, N = () => /* @__PURE__ */ n(
|
|
75
77
|
T,
|
|
76
78
|
{
|
|
77
79
|
value: r.inputString,
|
|
@@ -85,51 +87,51 @@ const ie = K.forwardRef((x, p) => {
|
|
|
85
87
|
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, D({ calendarDate: t, inputString: e.target.value });
|
|
86
88
|
}, w = () => {
|
|
87
89
|
if (r.inputString.length === 0 && s.length !== 0)
|
|
88
|
-
return
|
|
90
|
+
return d(r.inputString);
|
|
89
91
|
const e = y(r.inputString, b, !0);
|
|
90
92
|
if (e.isValid()) {
|
|
91
93
|
const t = e.format(a);
|
|
92
94
|
if (t === s)
|
|
93
95
|
return;
|
|
94
96
|
if (m.isAvailableDate(e, t, i, o))
|
|
95
|
-
return
|
|
97
|
+
return d(t);
|
|
96
98
|
}
|
|
97
|
-
r.inputString !==
|
|
98
|
-
}, N = () => {
|
|
99
|
-
F.current = !0, f == null || f();
|
|
99
|
+
r.inputString !== c.current.inputString && (u.current = !1, D(c.current));
|
|
100
100
|
}, U = () => {
|
|
101
|
-
|
|
102
|
-
}, q = (
|
|
103
|
-
|
|
101
|
+
R.current = !0, f == null || f();
|
|
102
|
+
}, q = () => {
|
|
103
|
+
R.current = !1, h.current ? h.current = !1 : !F.current && r.inputString !== c.current.inputString && w(), g == null || g();
|
|
104
|
+
}, G = (e) => {
|
|
105
|
+
h.current = !0, u.current = !1, d(e.format(a));
|
|
104
106
|
}, M = () => /* @__PURE__ */ n(
|
|
105
|
-
|
|
107
|
+
Z,
|
|
106
108
|
{
|
|
107
|
-
renderTarget:
|
|
108
|
-
renderDropdownHeaderTarget:
|
|
109
|
+
renderTarget: _,
|
|
110
|
+
renderDropdownHeaderTarget: N,
|
|
109
111
|
pickedDate: r.calendarDate,
|
|
110
112
|
format: a,
|
|
111
113
|
limitRange: i,
|
|
112
114
|
disabledDays: o,
|
|
113
|
-
onDropdownOpen:
|
|
114
|
-
onDropdownClose:
|
|
115
|
-
onDateChange:
|
|
116
|
-
...
|
|
117
|
-
ref:
|
|
115
|
+
onDropdownOpen: U,
|
|
116
|
+
onDropdownClose: q,
|
|
117
|
+
onDateChange: G,
|
|
118
|
+
...B,
|
|
119
|
+
ref: H
|
|
118
120
|
}
|
|
119
121
|
);
|
|
120
122
|
return /* @__PURE__ */ n(
|
|
121
|
-
|
|
123
|
+
ae,
|
|
122
124
|
{
|
|
123
|
-
fallback: /* @__PURE__ */
|
|
124
|
-
/* @__PURE__ */ n(S.Body, { children:
|
|
125
|
+
fallback: /* @__PURE__ */ K(S, { targetRef: C, size: re.SM, isOpen: u.current, children: [
|
|
126
|
+
/* @__PURE__ */ n(S.Body, { children: j }),
|
|
125
127
|
/* @__PURE__ */ n(S.Target, { children: M() })
|
|
126
128
|
] }),
|
|
127
129
|
children: M()
|
|
128
130
|
}
|
|
129
131
|
);
|
|
130
132
|
});
|
|
131
|
-
|
|
133
|
+
oe.displayName = "DateField";
|
|
132
134
|
export {
|
|
133
|
-
|
|
135
|
+
oe as DateField
|
|
134
136
|
};
|
|
135
137
|
//# sourceMappingURL=DateField.js.map
|
|
@@ -1,61 +1,62 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { CalendarStrokeSrvIcon20 as
|
|
4
|
-
import { MaskedField as T } from "../TextField/MaskedField.js";
|
|
1
|
+
import { jsx as e, jsxs as w, Fragment as P } from "react/jsx-runtime";
|
|
2
|
+
import { useContext as u } from "react";
|
|
3
|
+
import { CalendarStrokeSrvIcon24 as y, CalendarStrokeSrvIcon20 as K, CalendarStrokeSrvIcon16 as T } from "@sberbusiness/icons-next";
|
|
5
4
|
import { DatePickerExtendedContext as j } from "../DatePickerExtended/DatePickerExtendedContext.js";
|
|
6
|
-
import { DateFieldContext as
|
|
7
|
-
import {
|
|
8
|
-
import { FormFieldClear as
|
|
9
|
-
import {
|
|
10
|
-
import { ButtonIcon as _ } from "../Button/ButtonIcon.js";
|
|
5
|
+
import { DateFieldContext as v } from "./DateFieldContext.js";
|
|
6
|
+
import { MaskedField as A } from "../TextField/MaskedField.js";
|
|
7
|
+
import { FormFieldClear as L } from "../FormField/components/FormFieldClear.js";
|
|
8
|
+
import { ButtonIcon as O } from "../Button/ButtonIcon.js";
|
|
11
9
|
import { isKey as C } from "../../utils/keyboard.js";
|
|
10
|
+
import { EComponentSize as r } from "../../enums/EComponentSize.js";
|
|
11
|
+
import { EFormFieldStatus as R } from "../FormField/enums.js";
|
|
12
12
|
const b = {
|
|
13
|
-
[r.SM]: /* @__PURE__ */ e(
|
|
14
|
-
[r.MD]: /* @__PURE__ */ e(
|
|
15
|
-
[r.LG]: /* @__PURE__ */ e(
|
|
16
|
-
},
|
|
17
|
-
size:
|
|
13
|
+
[r.SM]: /* @__PURE__ */ e(T, { paletteIndex: 5 }),
|
|
14
|
+
[r.MD]: /* @__PURE__ */ e(K, { paletteIndex: 5 }),
|
|
15
|
+
[r.LG]: /* @__PURE__ */ e(y, { paletteIndex: 5 })
|
|
16
|
+
}, Y = ({
|
|
17
|
+
size: a = r.MD,
|
|
18
18
|
postfix: x,
|
|
19
19
|
maskedInputProps: F,
|
|
20
|
-
|
|
20
|
+
onClear: l,
|
|
21
|
+
...m
|
|
21
22
|
}) => {
|
|
22
|
-
const { dropdownOpen: t, setDropdownOpen: n } =
|
|
23
|
+
const { dropdownOpen: t, setDropdownOpen: n } = u(j), { inputFocusedRef: p, triggerChangeFromInput: I } = u(v), { status: k } = m, {
|
|
23
24
|
onFocus: i,
|
|
24
25
|
onBlur: c,
|
|
25
|
-
onKeyDown:
|
|
26
|
-
onClick:
|
|
27
|
-
...
|
|
28
|
-
} = F,
|
|
29
|
-
|
|
26
|
+
onKeyDown: s,
|
|
27
|
+
onClick: d,
|
|
28
|
+
...D
|
|
29
|
+
} = F, f = k === R.DISABLED, S = (o) => {
|
|
30
|
+
p.current = !0, i == null || i(o);
|
|
31
|
+
}, h = (o) => {
|
|
32
|
+
p.current = !1, t || I(), c == null || c(o);
|
|
30
33
|
}, E = (o) => {
|
|
31
|
-
|
|
34
|
+
t || n(!0), d == null || d(o);
|
|
32
35
|
}, g = (o) => {
|
|
33
|
-
t
|
|
34
|
-
}, B = (
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
/* @__PURE__ */ e(O, { onClick: w }),
|
|
38
|
-
/* @__PURE__ */ e(_, { active: t, disabled: p, onClick: M, children: b[s] }),
|
|
36
|
+
C(o.code, "ENTER") ? n(!t) : C(o.code, "SPACE") && (o.preventDefault(), n(!t)), s == null || s(o);
|
|
37
|
+
}, B = () => n(!t), M = () => /* @__PURE__ */ w(P, { children: [
|
|
38
|
+
l && /* @__PURE__ */ e(L, { onClick: l }),
|
|
39
|
+
/* @__PURE__ */ e(O, { active: t, disabled: f, onClick: B, children: b[a] }),
|
|
39
40
|
x
|
|
40
41
|
] });
|
|
41
42
|
return /* @__PURE__ */ e(
|
|
42
|
-
|
|
43
|
+
A,
|
|
43
44
|
{
|
|
44
|
-
size:
|
|
45
|
+
size: a,
|
|
45
46
|
maskedInputProps: {
|
|
46
|
-
disabled:
|
|
47
|
+
disabled: f,
|
|
47
48
|
onFocus: S,
|
|
48
|
-
onBlur:
|
|
49
|
-
onClick:
|
|
50
|
-
onKeyDown:
|
|
51
|
-
...
|
|
49
|
+
onBlur: h,
|
|
50
|
+
onClick: E,
|
|
51
|
+
onKeyDown: g,
|
|
52
|
+
...D
|
|
52
53
|
},
|
|
53
|
-
postfix:
|
|
54
|
-
...
|
|
54
|
+
postfix: M(),
|
|
55
|
+
...m
|
|
55
56
|
}
|
|
56
57
|
);
|
|
57
58
|
};
|
|
58
59
|
export {
|
|
59
|
-
|
|
60
|
+
Y as DateFieldTarget
|
|
60
61
|
};
|
|
61
62
|
//# sourceMappingURL=DateFieldTarget.js.map
|
|
@@ -5,7 +5,7 @@ import { Calendar as W } from "../Calendar/Calendar.js";
|
|
|
5
5
|
import "../Dropdown/DropdownListContext.js";
|
|
6
6
|
import "../Dropdown/desktop/DropdownDesktop.js";
|
|
7
7
|
import "../Dropdown/desktop/DropdownList.js";
|
|
8
|
-
import "../../chunks/DropdownListItem-
|
|
8
|
+
import "../../chunks/DropdownListItem-kVq_Shxy.js";
|
|
9
9
|
import { EDropdownAlignment as X } from "../Dropdown/desktop/enums.js";
|
|
10
10
|
import "../Dropdown/mobile/DropdownMobile.js";
|
|
11
11
|
import "../Dropdown/mobile/DropdownMobileBody.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.27.0",
|
|
107
107
|
ref: (e) => {
|
|
108
108
|
s.current = e, typeof r == "function" ? r(e) : r && (r.current = e);
|
|
109
109
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e, jsxs as l, Fragment as m } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import f, { useContext as u } from "react";
|
|
3
3
|
import { g as D } from "../../chunks/vendor-DudMBGKr.js";
|
|
4
4
|
import { Dropdown as w } from "../Dropdown/Dropdown.js";
|
|
5
5
|
import { DatePickerExtendedContext as x } from "./DatePickerExtendedContext.js";
|
|
@@ -14,11 +14,11 @@ 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 h = "
|
|
17
|
+
const h = "datePickerExtendedMobileDropdown__af462fe5", E = {
|
|
18
18
|
datePickerExtendedMobileDropdown: h
|
|
19
|
-
}, C =
|
|
19
|
+
}, C = f.forwardRef(
|
|
20
20
|
(i, d) => {
|
|
21
|
-
const { children: P, targetRef: r, setOpened: a, renderHeaderTarget: c, renderCalendar: t, focusTrapProps: o, ...p } = i, { mouseUsedRef: n, setDropdownOpen: s } =
|
|
21
|
+
const { children: P, targetRef: r, setOpened: a, renderHeaderTarget: c, renderCalendar: t, focusTrapProps: o, ...p } = i, { mouseUsedRef: n, setDropdownOpen: s } = u(x);
|
|
22
22
|
return /* @__PURE__ */ e(
|
|
23
23
|
w,
|
|
24
24
|
{
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { jsxs as v, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import c from "moment";
|
|
3
|
-
import { CaretleftStrokeSrvIcon20 as D,
|
|
3
|
+
import { CaretleftStrokeSrvIcon20 as D, RangeStrokeSrvIcon16 as Y, CaretrightStrokeSrvIcon20 as C } from "@sberbusiness/icons-next";
|
|
4
4
|
import { dateFormatYYYYMMDD as r } from "../../consts/DateConst.js";
|
|
5
|
-
import { EDateRangeShiftUnit as
|
|
5
|
+
import { EDateRangeShiftUnit as E } from "./enums.js";
|
|
6
6
|
import { c as i } from "../../chunks/vendor-DudMBGKr.js";
|
|
7
|
-
const
|
|
8
|
-
dateRange:
|
|
9
|
-
dateRangeButton:
|
|
7
|
+
const F = "dateRange__f13ebdd3", M = "dateRangeButton__e045774d", h = "separator__f543d43f", d = {
|
|
8
|
+
dateRange: F,
|
|
9
|
+
dateRangeButton: M,
|
|
10
10
|
separator: h
|
|
11
11
|
}, j = ({
|
|
12
12
|
children: y,
|
|
13
|
-
className:
|
|
14
|
-
value:
|
|
13
|
+
className: p,
|
|
14
|
+
value: R,
|
|
15
15
|
onChange: o,
|
|
16
16
|
shiftAmount: n = 1,
|
|
17
|
-
shiftUnit: s =
|
|
18
|
-
hideNavigation:
|
|
19
|
-
renderPickerFrom:
|
|
17
|
+
shiftUnit: s = E.MONTH,
|
|
18
|
+
hideNavigation: f,
|
|
19
|
+
renderPickerFrom: g,
|
|
20
20
|
renderPickerTo: u,
|
|
21
21
|
renderButtonForward: S,
|
|
22
22
|
renderButtonBack: k,
|
|
23
|
-
...
|
|
23
|
+
...b
|
|
24
24
|
}) => {
|
|
25
|
-
const [t, a] =
|
|
25
|
+
const [t, a] = R, x = i(d.dateRange, p), B = (e) => {
|
|
26
26
|
!e || !a || e <= a ? o([e, a]) : o([e, ""]);
|
|
27
27
|
}, I = (e) => {
|
|
28
28
|
!e || !t || e >= t ? o([t, e]) : o(["", e]);
|
|
@@ -43,24 +43,24 @@ const E = "dateRange__2aeed3ce", F = "dateRangeButton__40843218", h = "separator
|
|
|
43
43
|
m.add(n, s).format(r)
|
|
44
44
|
]);
|
|
45
45
|
};
|
|
46
|
-
return /* @__PURE__ */ v("div", { className:
|
|
47
|
-
!
|
|
46
|
+
return /* @__PURE__ */ v("div", { className: x, ...b, children: [
|
|
47
|
+
!f && k({
|
|
48
48
|
children: /* @__PURE__ */ l(D, { paletteIndex: 5 }),
|
|
49
49
|
className: i(d.dateRangeButton, { disabled: !(t && a) }),
|
|
50
50
|
disabled: !(t && a),
|
|
51
51
|
onClick: N
|
|
52
52
|
}),
|
|
53
|
-
|
|
53
|
+
g({
|
|
54
54
|
onChange: B,
|
|
55
55
|
value: t
|
|
56
56
|
}),
|
|
57
|
-
/* @__PURE__ */ l(
|
|
57
|
+
/* @__PURE__ */ l(Y, { className: d.separator, paletteIndex: 5 }),
|
|
58
58
|
u({
|
|
59
59
|
onChange: I,
|
|
60
60
|
value: a
|
|
61
61
|
}),
|
|
62
|
-
!
|
|
63
|
-
children: /* @__PURE__ */ l(
|
|
62
|
+
!f && S({
|
|
63
|
+
children: /* @__PURE__ */ l(C, { paletteIndex: 5 }),
|
|
64
64
|
className: i(d.dateRangeButton, { disabled: !(t && a) }),
|
|
65
65
|
disabled: !(t && a),
|
|
66
66
|
onClick: _
|
|
@@ -7,7 +7,7 @@ import { m as T } from "../../chunks/vendor-DudMBGKr.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.27.0";
|
|
11
11
|
return o = o.replace(/\./g, "-"), Object.keys(t[e]).map(
|
|
12
12
|
(m) => `--${r}-${e}-${m}-${o}: ${n.getTokenValue(
|
|
13
13
|
t[e][m],
|
|
@@ -13,11 +13,8 @@ const r = [
|
|
|
13
13
|
"Step_Color_Default",
|
|
14
14
|
"Step_Color_Hover",
|
|
15
15
|
"Step_Color_Disabled",
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"ButtonPrev_Background",
|
|
19
|
-
"Wrapper_Background",
|
|
20
|
-
"Wrapper_BoxShadow"
|
|
16
|
+
"ButtonWrapper_Background_Prev",
|
|
17
|
+
"ButtonWrapper_Background_Next"
|
|
21
18
|
], o = {
|
|
22
19
|
Step_Background_Default: [{ ref: "ColorNeutral.90" }, { ref: "ColorDarkNeutral.80" }],
|
|
23
20
|
// var(--triplex-next-Stepper-Step_Background_Default)
|
|
@@ -47,22 +44,16 @@ const r = [
|
|
|
47
44
|
// var(--triplex-next-Stepper-Step_Color_Hover)
|
|
48
45
|
Step_Color_Disabled: [{ ref: "ColorDarkNeutralAlpha.70" }, { ref: "ColorNeutralAlpha.80" }],
|
|
49
46
|
// var(--triplex-next-Stepper-Step_Color_Disabled)
|
|
50
|
-
|
|
51
|
-
{ value: "linear-gradient(to
|
|
52
|
-
{ value: "linear-gradient(to
|
|
47
|
+
ButtonWrapper_Background_Prev: [
|
|
48
|
+
{ value: "linear-gradient(to right, rgba(255,255,255,1) 39.06%, rgba(255,255,255,0) 100%)" },
|
|
49
|
+
{ value: "linear-gradient(to right, rgba(38,38,41,1) 39.06%, rgba(38,38,41,0) 100%)" }
|
|
53
50
|
],
|
|
54
|
-
// var(--triplex-next-Stepper-
|
|
55
|
-
|
|
56
|
-
{ value: "linear-gradient(to
|
|
57
|
-
{ value: "linear-gradient(to
|
|
58
|
-
]
|
|
59
|
-
// var(--triplex-next-Stepper-
|
|
60
|
-
Background: [{ value: "#FFFFFF" }, { value: "#181819" }],
|
|
61
|
-
// var(--triplex-next-Stepper-Background)
|
|
62
|
-
Wrapper_Background: [{ value: "linear-gradient(#FFFFFF 64px, transparent 0)" }, { ref: "ColorNeutral.50" }],
|
|
63
|
-
// var(--triplex-next-Stepper-Wrapper_Background)
|
|
64
|
-
Wrapper_BoxShadow: [{ value: "0 10px 15px 0 rgba(228, 232, 235, 0.5)" }, { value: "none" }]
|
|
65
|
-
// var(--triplex-next-Stepper-Wrapper_BoxShadow)
|
|
51
|
+
// var(--triplex-next-Stepper-ButtonWrapper_Background_Prev)
|
|
52
|
+
ButtonWrapper_Background_Next: [
|
|
53
|
+
{ value: "linear-gradient(to left, rgba(255,255,255,1) 39.06%, rgba(255,255,255,0) 100%)" },
|
|
54
|
+
{ value: "linear-gradient(to left, rgba(38,38,41,1) 39.06%, rgba(38,38,41,0) 100%)" }
|
|
55
|
+
]
|
|
56
|
+
// var(--triplex-next-Stepper-ButtonWrapper_Background_Next)
|
|
66
57
|
};
|
|
67
58
|
export {
|
|
68
59
|
o as Stepper_Tokens,
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { c as g } from "../../chunks/vendor-DudMBGKr.js";
|
|
3
|
-
const z = "
|
|
3
|
+
const z = "divider__34bb7a89", i = {
|
|
4
4
|
divider: z,
|
|
5
|
-
"marginTopSize-4": "marginTopSize-
|
|
6
|
-
"marginBottomSize-4": "marginBottomSize-
|
|
7
|
-
"marginTopSize-8": "marginTopSize-
|
|
8
|
-
"marginBottomSize-8": "marginBottomSize-
|
|
9
|
-
"marginTopSize-12": "marginTopSize-
|
|
10
|
-
"marginBottomSize-12": "marginBottomSize-
|
|
11
|
-
"marginTopSize-16": "marginTopSize-
|
|
12
|
-
"marginBottomSize-16": "marginBottomSize-
|
|
13
|
-
"marginTopSize-20": "marginTopSize-
|
|
14
|
-
"marginBottomSize-20": "marginBottomSize-
|
|
15
|
-
"marginTopSize-24": "marginTopSize-
|
|
16
|
-
"marginBottomSize-24": "marginBottomSize-
|
|
17
|
-
"marginTopSize-28": "marginTopSize-
|
|
18
|
-
"marginBottomSize-28": "marginBottomSize-
|
|
19
|
-
"marginTopSize-32": "marginTopSize-
|
|
20
|
-
"marginBottomSize-32": "marginBottomSize-
|
|
21
|
-
}, S = (
|
|
22
|
-
const { className:
|
|
5
|
+
"marginTopSize-4": "marginTopSize-4__456f3f02",
|
|
6
|
+
"marginBottomSize-4": "marginBottomSize-4__54665f18",
|
|
7
|
+
"marginTopSize-8": "marginTopSize-8__56911d69",
|
|
8
|
+
"marginBottomSize-8": "marginBottomSize-8__28a66f5e",
|
|
9
|
+
"marginTopSize-12": "marginTopSize-12__88ed7b21",
|
|
10
|
+
"marginBottomSize-12": "marginBottomSize-12__f854cb22",
|
|
11
|
+
"marginTopSize-16": "marginTopSize-16__366a86e9",
|
|
12
|
+
"marginBottomSize-16": "marginBottomSize-16__03f0855d",
|
|
13
|
+
"marginTopSize-20": "marginTopSize-20__00071959",
|
|
14
|
+
"marginBottomSize-20": "marginBottomSize-20__81f0a694",
|
|
15
|
+
"marginTopSize-24": "marginTopSize-24__af706b99",
|
|
16
|
+
"marginBottomSize-24": "marginBottomSize-24__bb8066fa",
|
|
17
|
+
"marginTopSize-28": "marginTopSize-28__d3acb103",
|
|
18
|
+
"marginBottomSize-28": "marginBottomSize-28__0677b86d",
|
|
19
|
+
"marginTopSize-32": "marginTopSize-32__0ebb9615",
|
|
20
|
+
"marginBottomSize-32": "marginBottomSize-32__aa1c69d5"
|
|
21
|
+
}, S = (a) => {
|
|
22
|
+
const { className: e, marginTopSize: o, marginBottomSize: m, ...r } = a, t = g(
|
|
23
23
|
i.divider,
|
|
24
24
|
o && i[`marginTopSize-${o}`],
|
|
25
25
|
m && i[`marginBottomSize-${m}`],
|
|
26
|
-
|
|
26
|
+
e
|
|
27
27
|
);
|
|
28
28
|
return /* @__PURE__ */ n("hr", { className: t, ...r });
|
|
29
29
|
};
|
|
@@ -8,7 +8,7 @@ import { StringUtils as B } from "../../utils/stringUtils.js";
|
|
|
8
8
|
import { isKey as O } from "../../utils/keyboard.js";
|
|
9
9
|
import { c as U } from "../../chunks/vendor-DudMBGKr.js";
|
|
10
10
|
import { Link as Y } from "../Link/Link.js";
|
|
11
|
-
const $ = "
|
|
11
|
+
const $ = "documentNumberEdit__f7bf4f85", G = "label__7ba57bb5", H = "inputEditWrapper__7fdfed3e", n = {
|
|
12
12
|
documentNumberEdit: $,
|
|
13
13
|
label: G,
|
|
14
14
|
inputEditWrapper: H
|