@sberbusiness/triplex-next 1.22.0 → 1.24.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 +8 -1
- package/assets/fonts/SBSansTextMono-Regular.woff2 +0 -0
- package/chunks/AlertProcessSpoiler-80EWxnlw.js +39 -0
- package/chunks/{CalendarViewItem-UwoR2Xwr.js → CalendarViewItem-DcrCLRoo.js} +22 -22
- package/chunks/Card.module-CUXrlJIK.js +17 -0
- package/chunks/CheckboxTreeExtended.module-Ie0bCwhb.js +15 -0
- package/chunks/Chip-DxpL0kHg.js +104 -0
- package/chunks/Confirm.module-Cr5VrxP0.js +15 -0
- package/chunks/{DropdownListItem-Dl8gN2ar.js → DropdownListItem-D_36RD5A.js} +12 -12
- package/chunks/DropdownMobile.module-C3vVcwH8.js +23 -0
- package/chunks/Footer.module-SSgVxTxk.js +9 -0
- package/chunks/{FormFieldInput--W9kjf4s.js → FormFieldInput-C7aO7-c1.js} +17 -17
- package/chunks/HeaderLayoutSidebar.module-D8g1wOUn.js +9 -0
- package/chunks/HeaderTabs.module-BvkH88vz.js +9 -0
- package/chunks/{HeaderTitle.module-DUqjpN6C.js → HeaderTitle.module-zCyPp1EB.js} +2 -2
- package/chunks/IslandAccordion.module-C00y6r96.js +25 -0
- package/chunks/IslandWidgetFooter.module-DrJEO_uY.js +9 -0
- package/chunks/IslandWidgetHeader.module-Dn_9gy4B.js +12 -0
- package/chunks/LightBoxContent-JnifyJVA.js +56 -0
- package/chunks/LightBoxControls.module-sVFD1v0Y.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-D-_ry0KX.js +9 -0
- package/chunks/ListItemControlsButton-BZ5uutQX.js +51 -0
- package/chunks/ListItemTail.module-Dx6BEkhi.js +12 -0
- package/chunks/ListMasterFooter.module-wZeGRX3y.js +10 -0
- package/chunks/ModalWindow.module-Cn_qF5og.js +17 -0
- package/chunks/Notification.module-ytSUjaU2.js +20 -0
- package/chunks/Overlay.module-0Rx__Ctf.js +18 -0
- package/chunks/Page.module-BWR-liu5.js +11 -0
- package/chunks/{RightBorderArrow-C390Za7P.js → RightBorderArrow-eMlmbMOj.js} +10 -10
- package/chunks/SMSField.module-CjgotURM.js +16 -0
- package/chunks/SliderExtendedMarks.module-BEldseQH.js +15 -0
- package/chunks/{SliderExtendedRail-Dld8UNeR.js → SliderExtendedRail-DjkasbSz.js} +13 -13
- package/chunks/StatusTracker.module-DSJGmASX.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-Cf_uwjFP.js → SuggestFieldMobileDropdownHint-BFJfXl0C.js} +3 -2
- package/chunks/TableFooter.module-BE2n5_2S.js +14 -0
- package/chunks/TabsExtended.module-BVEU3Ags.js +16 -0
- package/chunks/TabsLine.module-QKvdCYgI.js +21 -0
- package/chunks/TooltipDesktop.module-LbV07iSe.js +19 -0
- package/chunks/TreeView.module-KRwuysl3.js +9 -0
- package/chunks/{UploadZoneInput-CQYsDdG_.js → UploadZoneInput-PFc1lc82.js} +8 -8
- package/chunks/{constants-Crak3JEf.js → constants-L3AUxJxB.js} +12 -12
- package/chunks/{utils-Dq2VA3Zd.js → utils-BLU83HAp.js} +6 -6
- package/chunks/utils-BdtV3MzH.js +28 -0
- package/chunks/utils-CjaG-bCZ.js +24 -0
- package/chunks/utils-DaknoeiF.js +73 -0
- package/chunks/{vendor-BiObpx9E.js → vendor-DudMBGKr.js} +4964 -4966
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +13 -13
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +8 -8
- package/components/AmountField/AmountField.js +4 -3
- package/components/Avatar/Avatar.js +17 -17
- package/components/Badge/Badge.js +9 -9
- package/components/Badge/BadgeDot.js +5 -5
- package/components/Badge/components/BadgeContent.js +12 -12
- package/components/Badge/components/BadgePostfix.js +9 -9
- package/components/Badge/components/BadgePrefix.js +2 -2
- package/components/Body/Body.js +7 -7
- package/components/Button/Button.js +19 -19
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +71 -71
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +12 -12
- package/components/Calendar/Calendar.js +18 -18
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarViewDays.js +2 -2
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +8 -8
- package/components/Card/CardStatic.js +3 -3
- package/components/Card/components/CardContent/CardContent.js +2 -2
- package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
- package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
- package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
- package/components/Card/components/CardMedia.js +2 -2
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +2 -2
- package/components/Checkbox/Checkbox.js +7 -6
- package/components/Checkbox/CheckboxXGroup.js +16 -16
- package/components/Checkbox/CheckboxYGroup.js +4 -4
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +15 -15
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +4 -3
- 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 +2 -2
- package/components/Chip/ChipOptions.js +9 -9
- package/components/Chip/ChipSelect/ChipSelect.js +2 -2
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +22 -21
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +11 -11
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +9 -9
- package/components/Col/Col.js +131 -131
- package/components/CollapsableTree/components/CollapsableTreeNode.js +6 -6
- package/components/Confirm/Confirm.js +2 -2
- package/components/Confirm/components/ConfirmCloseButton.js +2 -2
- package/components/Confirm/components/ConfirmContent.js +2 -2
- package/components/Confirm/components/ConfirmContentSubTitle.js +4 -3
- package/components/Confirm/components/ConfirmContentTitle.js +2 -2
- package/components/Confirm/components/ConfirmControls.js +2 -2
- package/components/DateField/DateField.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +10 -10
- package/components/DateRange/DateRange.js +10 -10
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/components/ListItem.js +4 -4
- package/components/DesignTokens/components/ListMaster.js +8 -8
- package/components/Divider/Divider.js +18 -18
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +7 -7
- package/components/Dropdown/desktop/DropdownDesktop.js +72 -65
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/enums.js +2 -2
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +3 -3
- package/components/Ellipsis/Ellipsis.js +13 -13
- package/components/ExpandAnimation/ExpandAnimation.js +8 -8
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +2 -2
- package/components/Footer/components/FooterDescriptionContent.js +2 -2
- package/components/Footer/components/FooterDescriptionControls.js +2 -2
- package/components/FormField/FormField.js +22 -22
- package/components/FormField/components/FormFieldClear.js +6 -6
- package/components/FormField/components/FormFieldCounter.js +1 -1
- package/components/FormField/components/FormFieldDescription.js +4 -4
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +8 -8
- package/components/FormField/components/FormFieldMaskedInput.js +18 -18
- package/components/FormField/components/FormFieldPostfix.js +2 -2
- package/components/FormField/components/FormFieldPrefix.js +8 -8
- package/components/FormField/components/FormFieldTarget.js +12 -12
- package/components/FormField/components/FormFieldTextarea.js +10 -10
- 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 +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +6 -6
- package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +2 -2
- package/components/HelpBox/HelpBox.js +8 -8
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +8 -6
- 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 +3 -3
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionItem.js +4 -3
- package/components/IslandWidget/IslandWidget.js +15 -15
- package/components/IslandWidget/components/IslandWidgetBody.js +4 -4
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +2 -2
- package/components/IslandWidget/components/IslandWidgetWrapper.js +7 -7
- package/components/LightBox/LightBox.js +6 -6
- package/components/LightBox/LightBoxContent.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxClose.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxControls.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxNext.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +21 -21
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +40 -14
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +40 -14
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +17 -17
- package/components/List/List.js +8 -8
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +3 -3
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +3 -3
- package/components/List/components/ListItemControls.js +6 -6
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +13 -11
- package/components/List/components/ListItemSelectable.js +8 -8
- package/components/List/components/ListItemTable.js +16 -14
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +7 -15
- package/components/List/components/ListSortableItem.js +5 -5
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +10 -10
- 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 +6 -10
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +11 -11
- package/components/ListMaster/components/SelectionControls.js +7 -7
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +5 -5
- package/components/Loader/LoaderSmall/LoaderSmall.js +6 -6
- package/components/LoaderScreen/LoaderScreen.js +12 -12
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +18 -17
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +5 -5
- package/components/ModalWindow/components/ModalWindowClose.js +6 -6
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +33 -46
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +12 -12
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +2 -2
- package/components/Notification/Notification.js +3 -3
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +8 -8
- package/components/OrderedList/OrderedListItem.js +10 -9
- package/components/Overlay/Overlay.js +2 -2
- package/components/Overlay/OverlayMask.js +2 -2
- package/components/Overlay/OverlayPanel.js +2 -2
- package/components/Page/Page.js +2 -2
- package/components/Page/components/BodyPage.js +10 -10
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +1 -1
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +9 -8
- package/components/Pagination/components/PaginationPageEllipsis.js +8 -7
- package/components/Pagination/components/PaginationSelect.js +14 -13
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +17 -16
- package/components/Radio/RadioXGroup.js +12 -12
- package/components/Radio/RadioYGroup.js +9 -9
- package/components/Row/Row.js +10 -10
- package/components/SMSField/SMSField.js +3 -3
- package/components/SMSField/components/RefreshIcon.js +2 -2
- package/components/SMSField/components/SMSFieldInput.js +3 -3
- package/components/SMSField/components/SMSFieldRefresh.js +2 -2
- package/components/SMSField/components/SMSFieldSubmit.js +2 -2
- package/components/SMSField/components/SMSFieldTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +8 -8
- package/components/SegmentedControl/SegmentedControlSegment.js +13 -13
- package/components/SelectExtendedField/SelectExtendedField.js +50 -41
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +4 -3
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +37 -37
- package/components/SelectField/SelectField.js +2 -2
- package/components/Skeleton/Skeleton.js +10 -10
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +27 -27
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +2 -2
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +2 -2
- package/components/SliderExtended/components/SliderExtendedRail.js +2 -2
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +8 -8
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +23 -23
- package/components/SmallInput/SmallInput.js +6 -6
- package/components/Spoiler/Spoiler.js +19 -19
- package/components/StatusTracker/StatusTracker.js +3 -3
- package/components/StatusTracker/components/StatusTrackerAlert.js +5 -4
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +5 -4
- package/components/StatusTracker/components/StatusTrackerFooter.js +2 -2
- package/components/StatusTracker/components/StatusTrackerHeader.js +2 -2
- package/components/StatusTracker/components/StatusTrackerMedia.js +2 -2
- package/components/StatusTracker/components/StatusTrackerStatus.js +2 -2
- package/components/StatusTracker/components/StatusTrackerSum.js +11 -10
- package/components/StatusTracker/components/StatusTrackerTitle.js +9 -8
- package/components/Step/Step.js +12 -11
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +7 -7
- package/components/Stepper/StepperExtended.js +6 -6
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +7 -7
- package/components/Suggest/SuggestMobileDropdownContent.js +23 -21
- package/components/Suggest/useSuggest.js +1 -1
- package/components/SuggestField/SuggestField.js +13 -12
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +11 -11
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +31 -30
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +40 -38
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +51 -49
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +3 -2
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +13 -13
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +3 -3
- package/components/Table/NoColumns.js +5 -5
- package/components/Table/PaginationPanel.js +3 -3
- package/components/Table/TableBasic/TableBasic.js +2 -2
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +6 -6
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +6 -6
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +4 -4
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +6 -6
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +5 -5
- package/components/Table/TableFooter/TableFooter.js +2 -2
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +6 -6
- package/components/Table/TabsLinePanelLinks.js +8 -8
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +21 -21
- package/components/TabsExtended/TabsExtended.js +3 -3
- package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +3 -2
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +6 -5
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +8 -8
- package/components/Tag/Tag.js +22 -22
- package/components/TagColor/TagColor.js +15 -15
- package/components/TagGroup/TagGroup.js +10 -10
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +1 -1
- package/components/ThemeProvider/components/ThemeProviderView.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +4 -4
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
- package/components/Tooltip/components/mobile/TooltipMobile.js +12 -12
- package/components/TopOverlay/TopOverlay.js +15 -15
- package/components/TreeView/TreeView.js +2 -2
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +2 -2
- package/components/Typography/Caption.js +28 -28
- package/components/Typography/CodeText.js +36 -0
- package/components/Typography/Text.js +25 -25
- package/components/Typography/Title.js +17 -17
- package/components/Typography/constants.js +1 -1
- package/components/Typography/index.js +12 -10
- package/components/UnorderedList/UnorderedList.js +6 -6
- package/components/UnorderedList/UnorderedListItem.js +7 -6
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +17 -15
- package/index.d.ts +39 -16
- package/index.js +61 -59
- package/package.json +2 -2
- package/styles/triplex-next.css +541 -541
- package/utils/amountUtils.js +1 -1
- package/chunks/AlertProcessSpoiler-Cbhbwi6f.js +0 -39
- package/chunks/Card.module-CPD2xDmu.js +0 -17
- package/chunks/CheckboxTreeExtended.module-F91Rxq8x.js +0 -15
- package/chunks/Chip-Bxr2kLyU.js +0 -90
- package/chunks/Confirm.module-CmYpxyDp.js +0 -15
- package/chunks/DropdownMobile.module-l5rlPxNK.js +0 -23
- package/chunks/Footer.module-CjY-6G8t.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-fr4_lzKQ.js +0 -9
- package/chunks/HeaderTabs.module-Clz5KbqR.js +0 -9
- package/chunks/IslandAccordion.module-CPVWJz-Z.js +0 -25
- package/chunks/IslandWidgetFooter.module-BRjR7Nva.js +0 -9
- package/chunks/IslandWidgetHeader.module-CQVHkydc.js +0 -12
- package/chunks/LightBoxContent-CBpCA29-.js +0 -56
- package/chunks/LightBoxControls.module-6rLkTPqp.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-1PauvUbz.js +0 -9
- package/chunks/ListItemControlsButton-BZSR-ESi.js +0 -43
- package/chunks/ListItemTail.module-TZkbhx39.js +0 -12
- package/chunks/ListMasterFooter.module-BJocFxEb.js +0 -10
- package/chunks/ModalWindow.module-CACqfnx4.js +0 -17
- package/chunks/Notification.module-ByKcbqB9.js +0 -20
- package/chunks/Overlay.module-fYkVPgjL.js +0 -18
- package/chunks/Page.module-Bhn0Pz59.js +0 -11
- package/chunks/SMSField.module-KA-eacXJ.js +0 -16
- package/chunks/SliderExtendedMarks.module-Dy1FdmU-.js +0 -15
- package/chunks/StatusTracker.module-B8xoFRr0.js +0 -24
- package/chunks/TableFooter.module-b8TKJFW8.js +0 -14
- package/chunks/TabsExtended.module-k8oKnmv6.js +0 -16
- package/chunks/TabsLine.module-BLpqn-ZP.js +0 -21
- package/chunks/TooltipDesktop.module-DgogF0cV.js +0 -19
- package/chunks/TreeView.module-lJCCAWQb.js +0 -9
- package/chunks/utils-CS30w_en.js +0 -73
- package/chunks/utils-R-JQhhgt.js +0 -24
- package/chunks/utils-Z8JNo8tP.js +0 -28
|
@@ -2,49 +2,50 @@ import { Button as O } from "./Button.js";
|
|
|
2
2
|
import "./ButtonBase.js";
|
|
3
3
|
import "./ButtonIcon.js";
|
|
4
4
|
import { jsx as t, jsxs as B, Fragment as q } from "react/jsx-runtime";
|
|
5
|
-
import F, { useRef as
|
|
6
|
-
import { c as
|
|
5
|
+
import F, { useRef as R, useState as V, createElement as x } from "react";
|
|
6
|
+
import { c as b, u as J } from "../../chunks/vendor-DudMBGKr.js";
|
|
7
7
|
import { DotshorizontalStrokeSrvIcon32 as Q, DotshorizontalStrokeSrvIcon20 as y, CaretdownStrokeSrvIcon16 as X, CaretdownStrokeSrvIcon20 as Z, CaretdownStrokeSrvIcon24 as $ } from "@sberbusiness/icons-next";
|
|
8
|
-
import { ButtonDropdownExtended as
|
|
9
|
-
import { EButtonDotsTheme as
|
|
10
|
-
import { isKey as
|
|
8
|
+
import { ButtonDropdownExtended as g } from "./ButtonDropdownExtended.js";
|
|
9
|
+
import { EButtonDotsTheme as D, EButtonTheme as l } from "./enums.js";
|
|
10
|
+
import { isKey as p } from "../../utils/keyboard.js";
|
|
11
11
|
import { DropdownListContext as oo } from "../Dropdown/DropdownListContext.js";
|
|
12
12
|
import "../Dropdown/desktop/DropdownDesktop.js";
|
|
13
|
-
import { DropdownList as
|
|
14
|
-
import "../../chunks/DropdownListItem-
|
|
15
|
-
import {
|
|
13
|
+
import { DropdownList as L } from "../Dropdown/desktop/DropdownList.js";
|
|
14
|
+
import "../../chunks/DropdownListItem-D_36RD5A.js";
|
|
15
|
+
import { EDropdownAlignment as to, EDropdownWidth as ro } from "../Dropdown/desktop/enums.js";
|
|
16
16
|
import "../Dropdown/mobile/DropdownMobile.js";
|
|
17
|
-
import { DropdownMobileBody as
|
|
18
|
-
import { DropdownMobileClose as
|
|
17
|
+
import { DropdownMobileBody as eo } from "../Dropdown/mobile/DropdownMobileBody.js";
|
|
18
|
+
import { DropdownMobileClose as no } from "../Dropdown/mobile/DropdownMobileClose.js";
|
|
19
19
|
import "../Dropdown/mobile/DropdownMobileFooter.js";
|
|
20
|
-
import { DropdownMobileHeader as
|
|
20
|
+
import { DropdownMobileHeader as co } from "../Dropdown/mobile/DropdownMobileHeader.js";
|
|
21
21
|
import "../Dropdown/mobile/DropdownMobileInner.js";
|
|
22
22
|
import "../Dropdown/mobile/DropdownMobileInput.js";
|
|
23
|
-
import { DropdownMobileList as
|
|
24
|
-
import { DropdownMobileListItem as
|
|
23
|
+
import { DropdownMobileList as ao } from "../Dropdown/mobile/DropdownMobileList.js";
|
|
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 f } from "../../enums/EComponentSize.js";
|
|
28
28
|
import "../Dropdown/Dropdown.js";
|
|
29
|
-
import { ETextSize as
|
|
29
|
+
import { ETextSize as io } from "../Typography/enums.js";
|
|
30
30
|
import "../Typography/Caption.js";
|
|
31
|
-
import
|
|
31
|
+
import "../Typography/CodeText.js";
|
|
32
|
+
import { Text as mo } from "../Typography/Text.js";
|
|
32
33
|
import "../Typography/Title.js";
|
|
33
|
-
const
|
|
34
|
-
buttonDropdown:
|
|
35
|
-
block:
|
|
36
|
-
buttonDropdownTarget:
|
|
37
|
-
caretIcon:
|
|
38
|
-
active:
|
|
39
|
-
buttonDropdownMenuItem:
|
|
34
|
+
const lo = "buttonDropdown__9669e984", uo = "block__0772d8ed", Do = "buttonDropdownTarget__5b888168", po = "caretIcon__ae6677e9", fo = "active__44137668", wo = "buttonDropdownMenuItem__ac714db4", n = {
|
|
35
|
+
buttonDropdown: lo,
|
|
36
|
+
block: uo,
|
|
37
|
+
buttonDropdownTarget: Do,
|
|
38
|
+
caretIcon: po,
|
|
39
|
+
active: fo,
|
|
40
|
+
buttonDropdownMenuItem: wo
|
|
40
41
|
}, bo = {
|
|
41
|
-
[
|
|
42
|
-
[
|
|
43
|
-
[
|
|
44
|
-
},
|
|
45
|
-
(
|
|
46
|
-
const { buttonAttributes:
|
|
47
|
-
const a =
|
|
42
|
+
[f.SM]: /* @__PURE__ */ t(y, { paletteIndex: 0 }),
|
|
43
|
+
[f.MD]: /* @__PURE__ */ t(y, { paletteIndex: 0 }),
|
|
44
|
+
[f.LG]: /* @__PURE__ */ t(Q, { paletteIndex: 0 })
|
|
45
|
+
}, G = (w, c) => w === f.SM ? /* @__PURE__ */ t(X, { paletteIndex: c, className: n.caretIcon }) : w === f.MD ? /* @__PURE__ */ t(Z, { paletteIndex: c, className: n.caretIcon }) : /* @__PURE__ */ t($, { paletteIndex: c, className: n.caretIcon }), So = F.forwardRef(
|
|
46
|
+
(w, c) => {
|
|
47
|
+
const { buttonAttributes: _, children: h, className: Y, theme: d, size: s, options: T, selected: m, block: S, disabled: C, ...z } = w, E = R(null), A = R(null), W = b(n.buttonDropdown, { [n.block]: !!S }, Y), [N, H] = V(), I = R(J()), P = ({ opened: o, setOpened: e }) => {
|
|
48
|
+
const a = b(n.buttonDropdownTarget, "hoverable", {
|
|
48
49
|
[n.active]: o,
|
|
49
50
|
[n.block]: !!S
|
|
50
51
|
});
|
|
@@ -52,16 +53,16 @@ const mo = "buttonDropdown__5a05ef68", lo = "block__5dbb1748", uo = "buttonDropd
|
|
|
52
53
|
O,
|
|
53
54
|
{
|
|
54
55
|
className: a,
|
|
55
|
-
theme:
|
|
56
|
+
theme: d,
|
|
56
57
|
size: s,
|
|
57
|
-
onKeyDown:
|
|
58
|
-
onClick:
|
|
58
|
+
onKeyDown: v({ opened: o, setOpened: e }),
|
|
59
|
+
onClick: k({ opened: o, setOpened: e }),
|
|
59
60
|
disabled: C,
|
|
60
61
|
"aria-haspopup": "menu",
|
|
61
62
|
"aria-expanded": o,
|
|
62
|
-
"aria-controls":
|
|
63
|
+
"aria-controls": I.current,
|
|
63
64
|
"aria-activedescendant": N,
|
|
64
|
-
...
|
|
65
|
+
..._,
|
|
65
66
|
ref: M,
|
|
66
67
|
children: [
|
|
67
68
|
h,
|
|
@@ -70,7 +71,7 @@ const mo = "buttonDropdown__5a05ef68", lo = "block__5dbb1748", uo = "buttonDropd
|
|
|
70
71
|
}
|
|
71
72
|
);
|
|
72
73
|
}, K = ({ opened: o, setOpened: e }) => {
|
|
73
|
-
const a =
|
|
74
|
+
const a = b(n.buttonDropdownTarget, "hoverable", {
|
|
74
75
|
[n.active]: o,
|
|
75
76
|
[n.block]: !!S
|
|
76
77
|
});
|
|
@@ -78,82 +79,83 @@ const mo = "buttonDropdown__5a05ef68", lo = "block__5dbb1748", uo = "buttonDropd
|
|
|
78
79
|
O,
|
|
79
80
|
{
|
|
80
81
|
className: a,
|
|
81
|
-
theme:
|
|
82
|
+
theme: d === D.DOTS_SECONDARY ? l.SECONDARY : l.SECONDARY_LIGHT,
|
|
82
83
|
size: s,
|
|
83
|
-
onKeyDown:
|
|
84
|
-
onClick:
|
|
84
|
+
onKeyDown: v({ opened: o, setOpened: e }),
|
|
85
|
+
onClick: k({ opened: o, setOpened: e }),
|
|
85
86
|
disabled: C,
|
|
86
87
|
"aria-haspopup": "menu",
|
|
87
88
|
"aria-expanded": o,
|
|
88
|
-
"aria-controls":
|
|
89
|
+
"aria-controls": I.current,
|
|
89
90
|
"aria-activedescendant": N,
|
|
90
|
-
...
|
|
91
|
+
..._,
|
|
91
92
|
ref: M,
|
|
92
93
|
icon: bo[s]
|
|
93
94
|
}
|
|
94
95
|
);
|
|
95
|
-
},
|
|
96
|
+
}, k = ({ opened: o, setOpened: e }) => () => e(!o), v = ({ opened: o, setOpened: e }) => (a) => {
|
|
96
97
|
const { key: i } = a;
|
|
97
|
-
(
|
|
98
|
+
(p(i, "SPACE") || p(i, "ARROW_UP") || p(i, "ARROW_DOWN")) && a.preventDefault(), !o && (p(i, "ARROW_UP") || p(i, "ARROW_DOWN")) && e(!0);
|
|
98
99
|
}, j = () => {
|
|
99
|
-
switch (
|
|
100
|
+
switch (d) {
|
|
100
101
|
case l.GENERAL:
|
|
101
102
|
case l.DANGER:
|
|
102
|
-
case
|
|
103
|
-
case
|
|
104
|
-
return
|
|
103
|
+
case D.DOTS_SECONDARY:
|
|
104
|
+
case D.DOTS_SECONDARY_LIGHT:
|
|
105
|
+
return G(s, 7);
|
|
105
106
|
case l.SECONDARY:
|
|
106
107
|
case l.SECONDARY_LIGHT:
|
|
107
|
-
return
|
|
108
|
+
return G(s, 0);
|
|
108
109
|
default:
|
|
109
110
|
return null;
|
|
110
111
|
}
|
|
111
112
|
}, U = ({ opened: o, setOpened: e, className: a }) => {
|
|
112
|
-
const i =
|
|
113
|
+
const i = b(n.buttonDropdownMenu, a);
|
|
113
114
|
return /* @__PURE__ */ t(oo.Provider, { value: { activeDescendant: N, setActiveDescendant: H }, children: /* @__PURE__ */ t(
|
|
114
|
-
|
|
115
|
+
g.Dropdown,
|
|
115
116
|
{
|
|
116
|
-
size: s,
|
|
117
117
|
className: i,
|
|
118
|
+
size: s,
|
|
119
|
+
width: ro.MIN_TARGET,
|
|
120
|
+
alignment: to.RIGHT,
|
|
118
121
|
opened: o,
|
|
119
122
|
setOpened: e,
|
|
120
123
|
targetRef: E,
|
|
121
|
-
|
|
122
|
-
ref: k,
|
|
124
|
+
ref: A,
|
|
123
125
|
mobileViewProps: {
|
|
124
126
|
children: /* @__PURE__ */ B(q, { children: [
|
|
125
127
|
/* @__PURE__ */ t(
|
|
126
|
-
|
|
128
|
+
co,
|
|
127
129
|
{
|
|
128
|
-
controlButtons: /* @__PURE__ */ t(
|
|
129
|
-
children: /* @__PURE__ */ t(
|
|
130
|
+
controlButtons: /* @__PURE__ */ t(no, { onClick: () => e(!1) }),
|
|
131
|
+
children: /* @__PURE__ */ t(mo, { tag: "div", size: io.B3, children: h })
|
|
130
132
|
}
|
|
131
133
|
),
|
|
132
|
-
/* @__PURE__ */ t(
|
|
133
|
-
|
|
134
|
+
/* @__PURE__ */ t(eo, { children: /* @__PURE__ */ t(ao, { children: T.map((r) => /* @__PURE__ */ x(
|
|
135
|
+
so,
|
|
134
136
|
{
|
|
135
137
|
...r,
|
|
136
138
|
key: r.id,
|
|
137
139
|
selected: r.id === (m == null ? void 0 : m.id),
|
|
138
140
|
onSelect: () => {
|
|
139
|
-
var
|
|
140
|
-
(
|
|
141
|
+
var u;
|
|
142
|
+
(u = r.onSelect) == null || u.call(r), e(!1);
|
|
141
143
|
}
|
|
142
144
|
},
|
|
143
145
|
r.label
|
|
144
146
|
)) }) })
|
|
145
147
|
] })
|
|
146
148
|
},
|
|
147
|
-
children: /* @__PURE__ */ t(
|
|
148
|
-
|
|
149
|
+
children: /* @__PURE__ */ t(L, { dropdownOpened: o, id: I.current, size: s, children: T.map((r) => /* @__PURE__ */ x(
|
|
150
|
+
L.Item,
|
|
149
151
|
{
|
|
150
152
|
...r,
|
|
151
153
|
className: n.buttonDropdownMenuItem,
|
|
152
154
|
key: r.id,
|
|
153
155
|
selected: r.id === (m == null ? void 0 : m.id),
|
|
154
156
|
onSelect: () => {
|
|
155
|
-
var
|
|
156
|
-
(
|
|
157
|
+
var u;
|
|
158
|
+
(u = r.onSelect) == null || u.call(r), e(!1);
|
|
157
159
|
}
|
|
158
160
|
},
|
|
159
161
|
r.label
|
|
@@ -164,22 +166,20 @@ const mo = "buttonDropdown__5a05ef68", lo = "block__5dbb1748", uo = "buttonDropd
|
|
|
164
166
|
E.current = o, typeof c == "function" ? c(o) : c && (c.current = o);
|
|
165
167
|
};
|
|
166
168
|
return /* @__PURE__ */ t(
|
|
167
|
-
|
|
169
|
+
g,
|
|
168
170
|
{
|
|
169
171
|
className: W,
|
|
170
|
-
renderButton:
|
|
171
|
-
b
|
|
172
|
-
) ? K : P,
|
|
172
|
+
renderButton: d === D.DOTS_SECONDARY || d === D.DOTS_SECONDARY_LIGHT ? K : P,
|
|
173
173
|
renderDropdown: U,
|
|
174
|
-
dropdownRef:
|
|
174
|
+
dropdownRef: A,
|
|
175
175
|
closeOnTab: !0,
|
|
176
176
|
...z
|
|
177
177
|
}
|
|
178
178
|
);
|
|
179
179
|
}
|
|
180
180
|
);
|
|
181
|
-
|
|
181
|
+
So.displayName = "ButtonDropdown";
|
|
182
182
|
export {
|
|
183
|
-
|
|
183
|
+
So as ButtonDropdown
|
|
184
184
|
};
|
|
185
185
|
//# sourceMappingURL=ButtonDropdown.js.map
|
|
@@ -3,12 +3,12 @@ import { useRef as f, useState as C, useCallback as N, useEffect as R } from "re
|
|
|
3
3
|
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
|
-
import { c as A } from "../../chunks/vendor-
|
|
7
|
-
const K = "
|
|
6
|
+
import { c as A } from "../../chunks/vendor-DudMBGKr.js";
|
|
7
|
+
const K = "buttonDropdownExtended__276de70b", S = "buttonDropdownExtendedBlock__8908615d", E = {
|
|
8
8
|
buttonDropdownExtended: K,
|
|
9
9
|
buttonDropdownExtendedBlock: S
|
|
10
10
|
}, D = (s) => {
|
|
11
|
-
const { className:
|
|
11
|
+
const { className: v, opened: x, setOpened: c, renderButton: b, renderDropdown: k, dropdownRef: l, closeOnTab: p, ...L } = s, u = f(null), m = f(s.opened !== void 0), [O, y] = C((s.opened === void 0, !1)), e = m.current ? !!x : O, o = N(
|
|
12
12
|
(t) => {
|
|
13
13
|
if (m.current) {
|
|
14
14
|
c && c(t);
|
|
@@ -35,9 +35,9 @@ const K = "buttonDropdownExtended__38bfb108", S = "buttonDropdownExtendedBlock__
|
|
|
35
35
|
document.removeEventListener("keydown", t), document.removeEventListener("mousedown", d), document.removeEventListener("touchstart", d);
|
|
36
36
|
};
|
|
37
37
|
}, [e, p, l, o, u]);
|
|
38
|
-
const B = A(E.buttonDropdownExtended,
|
|
38
|
+
const B = A(E.buttonDropdownExtended, v);
|
|
39
39
|
return /* @__PURE__ */ h("div", { className: B, ref: u, ...L, children: [
|
|
40
|
-
|
|
40
|
+
b({ opened: e, setOpened: o }),
|
|
41
41
|
k({
|
|
42
42
|
className: E.buttonDropdownExtendedBlock,
|
|
43
43
|
opened: e,
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import u from "react";
|
|
3
|
-
import { c as m } from "../../chunks/vendor-
|
|
4
|
-
import { EButtonIconShape as
|
|
5
|
-
const
|
|
6
|
-
buttonIcon:
|
|
7
|
-
circle:
|
|
8
|
-
squircle:
|
|
3
|
+
import { c as m } from "../../chunks/vendor-DudMBGKr.js";
|
|
4
|
+
import { EButtonIconShape as c } from "./enums.js";
|
|
5
|
+
const b = "buttonIcon__12be4017", p = "circle__c4c3cb28", I = "squircle__230bdaf5", o = {
|
|
6
|
+
buttonIcon: b,
|
|
7
|
+
circle: p,
|
|
8
|
+
squircle: I
|
|
9
9
|
}, f = {
|
|
10
|
-
[
|
|
11
|
-
[
|
|
10
|
+
[c.SQUIRCLE]: o.squircle,
|
|
11
|
+
[c.CIRCLE]: o.circle
|
|
12
12
|
}, _ = u.forwardRef(
|
|
13
|
-
({ className: e, disabled:
|
|
14
|
-
const l = m(
|
|
13
|
+
({ className: e, disabled: t, shape: n = c.SQUIRCLE, active: s, ...r }, a) => {
|
|
14
|
+
const l = m(o.buttonIcon, f[n], "hoverable", e, {
|
|
15
15
|
active: !!s,
|
|
16
|
-
disabled: !!
|
|
16
|
+
disabled: !!t
|
|
17
17
|
});
|
|
18
|
-
return /* @__PURE__ */ i("button", { type: "button", className: l, disabled:
|
|
18
|
+
return /* @__PURE__ */ i("button", { type: "button", className: l, disabled: t, ...r, ref: a });
|
|
19
19
|
}
|
|
20
20
|
);
|
|
21
21
|
_.displayName = "ButtonIcon";
|
|
@@ -1,8 +1,8 @@
|
|
|
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 c = (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
|
-
import { u as I, c as R } from "../../chunks/vendor-
|
|
5
|
+
import { u as I, c as R } from "../../chunks/vendor-DudMBGKr.js";
|
|
6
6
|
import V from "react";
|
|
7
7
|
import D from "moment";
|
|
8
8
|
import { globalLimitRange as _, dateFormatYYYYMMDD as O } from "../../consts/DateConst.js";
|
|
@@ -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__773e1bd3", L = "adaptive__906385db", 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
|
+
c(this, "periodId", `calendar-period-${I()}`);
|
|
25
25
|
/** Обработчик выбора даты. */
|
|
26
|
-
|
|
26
|
+
c(this, "handleDateSelect", (t) => {
|
|
27
27
|
this.props.onDateChange(t);
|
|
28
28
|
});
|
|
29
29
|
/** Обработчик смены страницы. */
|
|
30
|
-
|
|
30
|
+
c(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
|
+
c(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
|
+
c(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 p = s && e === l.DAYS;
|
|
52
52
|
return /* @__PURE__ */ S(E, { children: [
|
|
53
|
-
|
|
53
|
+
p && 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
|
+
p && 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, p = f(t.pickedDate, o);
|
|
111
|
+
if (!(!i || p != null && p.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: p,
|
|
134
134
|
nextButtonProps: u,
|
|
135
135
|
viewButtonProps: C,
|
|
136
136
|
todayButtonProps: T
|
|
137
137
|
} = this.props, { viewMode: A, viewDate: B, header: Y } = this.state, b = R(g.calendar, {
|
|
138
138
|
[g.adaptive]: !!this.props.adaptiveMode
|
|
139
139
|
}), F = f(this.props.pickedDate, t);
|
|
140
|
-
return /* @__PURE__ */ h("div", { className: b, "data-tx": "1.
|
|
140
|
+
return /* @__PURE__ */ h("div", { className: b, "data-tx": "1.24.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: p,
|
|
161
161
|
nextButtonProps: u,
|
|
162
162
|
viewButtonProps: C,
|
|
163
163
|
children: Y
|
|
@@ -178,11 +178,11 @@ class k extends V.PureComponent {
|
|
|
178
178
|
) });
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
|
-
|
|
181
|
+
c(k, "defaultProps", {
|
|
182
182
|
format: O,
|
|
183
183
|
limitRange: _,
|
|
184
184
|
pickType: y.datePick
|
|
185
|
-
}),
|
|
185
|
+
}), c(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__2632f899", j = {
|
|
12
12
|
calendarControls: U
|
|
13
13
|
}, X = ({
|
|
14
14
|
children: m,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
const e = "
|
|
2
|
+
const e = "calendarFooter__739751c6", r = {
|
|
3
3
|
calendarFooter: e
|
|
4
4
|
}, t = ({ children: o }) => /* @__PURE__ */ a("div", { className: r.calendarFooter, children: o });
|
|
5
5
|
t.displayName = "CalendarFooter";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as U, jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { c as H } from "../../../chunks/vendor-
|
|
2
|
+
import { c as H } from "../../../chunks/vendor-DudMBGKr.js";
|
|
3
3
|
import { useContext as k, useCallback as O, useState as L, useEffect as q } from "react";
|
|
4
4
|
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-DcrCLRoo.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";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../../chunks/vendor-
|
|
2
|
+
import "../../../chunks/vendor-DudMBGKr.js";
|
|
3
3
|
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-DcrCLRoo.js";
|
|
8
8
|
export {
|
|
9
9
|
C as CalendarViewItem
|
|
10
10
|
};
|
|
@@ -4,7 +4,7 @@ import h from "moment";
|
|
|
4
4
|
import { CalendarContext as H } from "../CalendarContext.js";
|
|
5
5
|
import { CalendarViewContext as K } from "../CalendarViewContext.js";
|
|
6
6
|
import { isDateOutOfRange as R } from "../utils.js";
|
|
7
|
-
import { s as B, C as U } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { s as B, C as U } from "../../../chunks/CalendarViewItem-DcrCLRoo.js";
|
|
8
8
|
import { isKey as l } from "../../../utils/keyboard.js";
|
|
9
9
|
import { ECalendarPickType as Y, ECalendarViewMode as u } from "../enums.js";
|
|
10
10
|
const Z = ({ pickedDate: r, monthHtmlAttributes: T = {} }) => {
|
|
@@ -4,7 +4,7 @@ import w from "moment";
|
|
|
4
4
|
import { CalendarContext as N } from "../CalendarContext.js";
|
|
5
5
|
import { CalendarViewContext as G } from "../CalendarViewContext.js";
|
|
6
6
|
import { isDateOutOfRange as O } from "../utils.js";
|
|
7
|
-
import { s as K, C as H } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { s as K, C as H } from "../../../chunks/CalendarViewItem-DcrCLRoo.js";
|
|
8
8
|
import { isKey as i } from "../../../utils/keyboard.js";
|
|
9
9
|
import { ECalendarViewMode as y } from "../enums.js";
|
|
10
10
|
const Q = ({ pickedDate: s, yearHtmlAttributes: S = {} }) => {
|
|
@@ -8,10 +8,10 @@ import { CardMedia as _ } from "./components/CardMedia.js";
|
|
|
8
8
|
import { ECardRoundingSize as M, ECardTheme as w } from "./enums.js";
|
|
9
9
|
import { EFocusSource as r } from "../../enums/EFocusSource.js";
|
|
10
10
|
import { mapCardRoundingSizeToCssClass as x, mapCardThemeToCssClass as K } from "./utils.js";
|
|
11
|
-
import { isKey as
|
|
12
|
-
import { c as k } from "../../chunks/vendor-
|
|
13
|
-
import { c as B } from "../../chunks/Card.module-
|
|
14
|
-
const O = "
|
|
11
|
+
import { isKey as f } from "../../utils/keyboard.js";
|
|
12
|
+
import { c as k } from "../../chunks/vendor-DudMBGKr.js";
|
|
13
|
+
import { c as B } from "../../chunks/Card.module-CUXrlJIK.js";
|
|
14
|
+
const O = "action__9cd268f2", F = "selected__0d13d058", V = "focusVisible__753fc69b", a = {
|
|
15
15
|
action: O,
|
|
16
16
|
selected: F,
|
|
17
17
|
focusVisible: V
|
|
@@ -35,7 +35,7 @@ class l extends u.Component {
|
|
|
35
35
|
});
|
|
36
36
|
o(this, "handleKeyDown", (e) => {
|
|
37
37
|
const { onKeyDown: s } = this.props;
|
|
38
|
-
s == null || s(e),
|
|
38
|
+
s == null || s(e), f(e.keyCode, "SPACE") ? (e.preventDefault(), this.handleToggle()) : f(e.keyCode, "ENTER") && this.handleToggle();
|
|
39
39
|
});
|
|
40
40
|
o(this, "handleFocus", (e) => {
|
|
41
41
|
const { onFocus: s } = this.props, { focusSource: t } = this.state, { current: n } = this.ref;
|
|
@@ -66,7 +66,7 @@ class l extends u.Component {
|
|
|
66
66
|
onKeyDown: d,
|
|
67
67
|
onFocus: h,
|
|
68
68
|
onBlur: z,
|
|
69
|
-
roundingSize:
|
|
69
|
+
roundingSize: p = M.MD,
|
|
70
70
|
onToggle: A,
|
|
71
71
|
selected: m,
|
|
72
72
|
toggle: U,
|
|
@@ -76,7 +76,7 @@ class l extends u.Component {
|
|
|
76
76
|
B.card,
|
|
77
77
|
a.action,
|
|
78
78
|
K[S],
|
|
79
|
-
x[
|
|
79
|
+
x[p],
|
|
80
80
|
{
|
|
81
81
|
[a.focusVisible]: D === r.KEYBOARD,
|
|
82
82
|
[a.selected]: E ? !!m : g
|
|
@@ -96,7 +96,7 @@ class l extends u.Component {
|
|
|
96
96
|
role: "button",
|
|
97
97
|
...C,
|
|
98
98
|
ref: this.ref,
|
|
99
|
-
"data-tx": "1.
|
|
99
|
+
"data-tx": "1.24.0",
|
|
100
100
|
children: e
|
|
101
101
|
}
|
|
102
102
|
);
|
|
@@ -2,8 +2,8 @@ import { jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import { CardContent as s } from "./components/CardContent/CardContent.js";
|
|
3
3
|
import { CardMedia as e } from "./components/CardMedia.js";
|
|
4
4
|
import { mapCardRoundingSizeToCssClass as C, mapCardThemeToCssClass as p } from "./utils.js";
|
|
5
|
-
import { c } from "../../chunks/vendor-
|
|
6
|
-
import { c as n } from "../../chunks/Card.module-
|
|
5
|
+
import { c } from "../../chunks/vendor-DudMBGKr.js";
|
|
6
|
+
import { c as n } from "../../chunks/Card.module-CUXrlJIK.js";
|
|
7
7
|
import { ECardRoundingSize as f, ECardTheme as l } from "./enums.js";
|
|
8
8
|
const a = ({
|
|
9
9
|
children: r,
|
|
@@ -21,7 +21,7 @@ const a = ({
|
|
|
21
21
|
o
|
|
22
22
|
),
|
|
23
23
|
...d,
|
|
24
|
-
"data-tx": "1.
|
|
24
|
+
"data-tx": "1.24.0",
|
|
25
25
|
children: r
|
|
26
26
|
}
|
|
27
27
|
);
|
|
@@ -3,8 +3,8 @@ import { CardContentBody as C } from "./components/CardContentBody.js";
|
|
|
3
3
|
import { CardContentHeader as i } from "./components/CardContentHeader.js";
|
|
4
4
|
import { CardContentFooter as s } from "./components/CardContentFooter.js";
|
|
5
5
|
import { ECardContentPaddingSize as t } from "../../enums.js";
|
|
6
|
-
import { c as p } from "../../../../chunks/vendor-
|
|
7
|
-
import { c as r } from "../../../../chunks/Card.module-
|
|
6
|
+
import { c as p } from "../../../../chunks/vendor-DudMBGKr.js";
|
|
7
|
+
import { c as r } from "../../../../chunks/Card.module-CUXrlJIK.js";
|
|
8
8
|
const c = {
|
|
9
9
|
[t.MD]: r.paddingMD,
|
|
10
10
|
[t.SM]: r.paddingSM
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { c as d } from "../../../../../chunks/vendor-
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module-
|
|
2
|
+
import { c as d } from "../../../../../chunks/vendor-DudMBGKr.js";
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-CUXrlJIK.js";
|
|
4
4
|
const m = ({ children: o, className: t, ...r }) => /* @__PURE__ */ a("div", { className: d(s.cardContentBody, t), ...r, children: o });
|
|
5
5
|
m.displayName = "CardContentBody";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { c as e } from "../../../../../chunks/vendor-
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module-
|
|
2
|
+
import { c as e } from "../../../../../chunks/vendor-DudMBGKr.js";
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-CUXrlJIK.js";
|
|
4
4
|
const m = ({ children: o, className: t, ...r }) => /* @__PURE__ */ a("div", { className: e(s.cardContentFooter, t), ...r, children: o });
|
|
5
5
|
m.displayName = "CardContentFooter";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { c as o } from "../../../../../chunks/vendor-
|
|
3
|
-
import { c as d } from "../../../../../chunks/Card.module-
|
|
2
|
+
import { c as o } from "../../../../../chunks/vendor-DudMBGKr.js";
|
|
3
|
+
import { c as d } from "../../../../../chunks/Card.module-CUXrlJIK.js";
|
|
4
4
|
const s = ({ children: r, className: a, ...e }) => /* @__PURE__ */ t("div", { className: o(d.cardContentHeader, a), ...e, children: r });
|
|
5
5
|
s.displayName = "CardContentHeader";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
-
import { c as e } from "../../../chunks/vendor-
|
|
3
|
-
import { c as m } from "../../../chunks/Card.module-
|
|
2
|
+
import { c as e } from "../../../chunks/vendor-DudMBGKr.js";
|
|
3
|
+
import { c as m } from "../../../chunks/Card.module-CUXrlJIK.js";
|
|
4
4
|
const o = ({ children: a, className: r, ...s }) => {
|
|
5
5
|
const c = e(m.cardMedia, r);
|
|
6
6
|
return /* @__PURE__ */ d("div", { className: c, ...s, children: a });
|