@sberbusiness/triplex-next 1.12.0 → 1.14.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 +4 -4
- package/chunks/AlertProcessSpoiler-DALLbh4Y.js +39 -0
- package/chunks/{CalendarViewItem-DM6giHDZ.js → CalendarViewItem-DE57LdxF.js} +28 -28
- package/chunks/Card.module-D18ujhsr.js +17 -0
- package/chunks/CheckboxTreeExtended.module-BGrgoYFp.js +14 -0
- package/chunks/{Chip-DAuhowke.js → Chip-CBP_avtm.js} +11 -11
- package/chunks/Confirm.module-Y-2NyRFX.js +15 -0
- package/chunks/{DropdownListItem-Dd97YDii.js → DropdownListItem-C6I9gVRb.js} +13 -13
- package/chunks/DropdownMobile.module-ppF6TvoG.js +23 -0
- package/chunks/Footer.module-BlHDTNCR.js +9 -0
- package/chunks/FormFieldInput-D2lqfg4n.js +60 -0
- package/chunks/HeaderLayoutSidebar.module-hEx6xNDd.js +9 -0
- package/chunks/HeaderTabs.module-msmMm_BI.js +9 -0
- package/chunks/{HeaderTitle.module-B5-wunmu.js → HeaderTitle.module-D2Le-Vmd.js} +2 -2
- package/chunks/IslandAccordion.module-DpgAGmIN.js +25 -0
- package/chunks/IslandWidgetFooter.module-DhoYKy6M.js +9 -0
- package/chunks/IslandWidgetHeader.module-BFXzve-T.js +9 -0
- package/chunks/LightBoxContent-Bi0IQWNc.js +56 -0
- package/chunks/LightBoxControls.module-DTFEWumP.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-CLzUeuQG.js +8 -0
- package/chunks/{ListItemControlsButton-CzGamwTx.js → ListItemControlsButton--Ek4l8AX.js} +13 -13
- package/chunks/ListItemTail.module-DrFpbbjw.js +12 -0
- package/chunks/ListMasterFooter.module-CMNUIWxu.js +10 -0
- package/chunks/ModalWindow.module-CMT6Qwhi.js +17 -0
- package/chunks/Notification.module-8g0up3Mn.js +21 -0
- package/chunks/Overlay.module-CJZIns4Y.js +18 -0
- package/chunks/Page.module-Cq-KMJ_J.js +11 -0
- package/chunks/{RightBorderArrow-DCUUrij3.js → RightBorderArrow-BqzM7D6K.js} +12 -12
- package/chunks/SMSField.module-Dpw_velC.js +16 -0
- package/chunks/SliderExtendedMarks.module-Cwy_TAtg.js +15 -0
- package/chunks/{SliderExtendedRail-BGydR8-k.js → SliderExtendedRail-BxflNPkW.js} +11 -11
- package/chunks/StatusTracker.module-BPaAftS3.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-B1y2_WeW.js → SuggestFieldMobileDropdownHint-CooicUNx.js} +2 -2
- package/chunks/TableFooter.module-BXib8bAF.js +14 -0
- package/chunks/TabsExtended.module-41dIJqTz.js +16 -0
- package/chunks/TabsLine.module-DY1bt47O.js +21 -0
- package/chunks/TooltipDesktop.module-BP9en5Mr.js +19 -0
- package/chunks/TreeView.module-ssEB6Mn6.js +9 -0
- package/chunks/UploadZoneInput--oJn7HTT.js +33 -0
- package/chunks/utils-6FIQkvvy.js +36 -0
- package/chunks/utils-B5Py99ZO.js +73 -0
- package/chunks/utils-BX1E8zy3.js +24 -0
- package/chunks/utils-Cyb1tecG.js +20 -0
- package/chunks/{utils-BxluXyQN.js → utils-DPkyEvqV.js} +10 -10
- package/chunks/vendor-DucOfXwy.js +12269 -0
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +10 -10
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +11 -11
- package/components/AmountField/AmountField.js +7 -7
- package/components/Avatar/Avatar.js +27 -0
- package/components/Avatar/enums.js +5 -0
- package/components/Avatar/index.js +7 -0
- package/components/Avatar/types.js +2 -0
- package/components/Body/Body.js +6 -6
- package/components/Button/Button.js +32 -32
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +27 -27
- package/components/Button/ButtonDropdownExtended.js +8 -8
- package/components/Button/ButtonIcon.js +7 -7
- package/components/Calendar/Calendar.js +45 -44
- package/components/Calendar/CalendarContext.js +4 -4
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +3 -3
- package/components/Calendar/components/CalendarViewDays.js +14 -13
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +26 -26
- package/components/Calendar/components/CalendarViewYears.js +16 -16
- package/components/Calendar/utils.js +6 -6
- package/components/Card/CardAction.js +12 -12
- 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 +18 -18
- package/components/Checkbox/CheckboxXGroup.js +14 -14
- package/components/Checkbox/CheckboxYGroup.js +2 -2
- package/components/CheckboxTree/CheckboxTree.js +14 -13
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +11 -9
- package/components/CheckboxTreeExtended/CheckboxTreeExtendedContext.js +12 -0
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +34 -37
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +39 -46
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +6 -6
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +9 -9
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +4 -4
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +6 -6
- 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 +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +21 -21
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +15 -15
- package/components/Col/Col.js +140 -140
- package/components/CollapsableTree/components/CollapsableTreeNode.js +7 -7
- 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/ConfirmContentTitle.js +2 -2
- package/components/Confirm/components/ConfirmControls.js +2 -2
- package/components/DateField/DateField.js +12 -12
- package/components/DateField/utils.js +3 -3
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +5 -5
- package/components/DateRange/DateRange.js +37 -36
- package/components/DesignTokens/DesignTokenUtils.js +7 -7
- package/components/DesignTokens/DesignTokensComponents.js +106 -104
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +104 -102
- package/components/DesignTokens/components/Avatar.js +9 -0
- package/components/DesignTokens/components/LightBox.js +1 -1
- package/components/DesignTokens/components/index.js +156 -153
- package/components/Divider/Divider.js +21 -21
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +7 -7
- package/components/Dropdown/desktop/DropdownDesktop.js +16 -16
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +3 -3
- package/components/Ellipsis/Ellipsis.js +11 -11
- package/components/ExpandAnimation/ExpandAnimation.js +13 -13
- 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 +56 -50
- package/components/FormField/components/FormFieldClear.js +18 -18
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +9 -9
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +9 -9
- package/components/FormField/components/FormFieldMaskedInput.js +27 -27
- package/components/FormField/components/FormFieldPostfix.js +2 -2
- package/components/FormField/components/FormFieldPrefix.js +10 -10
- package/components/FormField/components/FormFieldTarget.js +17 -17
- package/components/FormField/components/FormFieldTextarea.js +34 -37
- package/components/FormField/index.js +16 -15
- 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 +3 -3
- 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 +47 -48
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +2 -2
- package/components/Island/components/IslandFooter.js +4 -4
- 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 +3 -3
- package/components/IslandWidget/IslandWidget.js +7 -7
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +8 -8
- 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 +4 -4
- package/components/LightBox/LightBox.js +20 -20
- 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 +11 -11
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +14 -12
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +13 -11
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +33 -33
- package/components/List/List.js +5 -5
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +4 -4
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +10 -10
- package/components/List/components/ListItemControls.js +7 -7
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +4 -4
- package/components/List/components/ListItemSelectable.js +14 -14
- package/components/List/components/ListItemTable.js +7 -7
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +8 -8
- package/components/List/components/ListSortableItemControls.js +2 -2
- package/components/List/components/ListSortableItemTarget.js +9 -9
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +5 -5
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +6 -6
- package/components/ListMaster/components/SelectionControls.js +9 -9
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +9 -9
- package/components/Loader/LoaderSmall/LoaderSmall.js +4 -4
- package/components/LoaderScreen/LoaderScreen.js +8 -8
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +13 -13
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +10 -10
- package/components/ModalWindow/components/ModalWindowClose.js +4 -4
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +3 -3
- package/components/ModalWindow/components/ModalWindowViewManager.js +2 -2
- package/components/MonthYearField/utils.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +21 -16
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +4 -4
- package/components/Notification/Notification.js +3 -3
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyContent.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NotificationIcon/NotificationIcon.js +2 -2
- package/components/NumberField/NumberFieldInput.js +2 -2
- package/components/OrderedList/OrderedList.js +3 -3
- package/components/OrderedList/OrderedListItem.js +6 -6
- package/components/Overlay/Overlay.js +2 -2
- package/components/Overlay/OverlayMask.js +2 -2
- package/components/Overlay/OverlayPanel.js +2 -2
- package/components/Page/Page.js +2 -2
- package/components/Page/components/BodyPage.js +11 -11
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/components/PaginationExtended.js +3 -3
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +4 -4
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +8 -8
- package/components/Pagination/utils/paginationUtils.js +5 -5
- package/components/Radio/Radio.js +20 -20
- package/components/Radio/RadioXGroup.js +12 -12
- package/components/Radio/RadioYGroup.js +9 -9
- package/components/Row/Row.js +5 -5
- 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 +4 -4
- package/components/SegmentedControl/SegmentedControlSegment.js +5 -5
- package/components/SelectExtendedField/SelectExtendedField.js +5 -5
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +90 -82
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +11 -11
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +29 -29
- 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 +12 -12
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +37 -37
- package/components/SmallInput/SmallInput.js +2 -2
- package/components/Spoiler/Spoiler.js +13 -13
- package/components/StatusTracker/StatusTracker.js +3 -3
- package/components/StatusTracker/components/StatusTrackerAlert.js +2 -2
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +2 -2
- package/components/StatusTracker/components/StatusTrackerFooter.js +2 -2
- package/components/StatusTracker/components/StatusTrackerHeader.js +2 -2
- package/components/StatusTracker/components/StatusTrackerMedia.js +2 -2
- package/components/StatusTracker/components/StatusTrackerStatus.js +2 -2
- package/components/StatusTracker/components/StatusTrackerSum.js +2 -2
- package/components/StatusTracker/components/StatusTrackerTitle.js +2 -2
- package/components/Step/Step.js +8 -8
- 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 +5 -5
- package/components/Suggest/SuggestMobileDropdownContent.js +11 -11
- package/components/SuggestField/SuggestField.js +1 -1
- package/components/SuggestField/SuggestFieldTarget.js +1 -1
- package/components/SuggestField/SuggestFieldTargetPostfix.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +23 -23
- 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 +15 -15
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +3 -3
- package/components/Table/NoColumns.js +4 -4
- 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 +2 -2
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +2 -2
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +4 -4
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +2 -2
- 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 +4 -4
- package/components/Table/TabsLinePanelLinks.js +8 -8
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +30 -29
- 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 +2 -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 +3 -3
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +7 -7
- package/components/Tag/Tag.js +30 -30
- package/components/TagColor/TagColor.js +12 -12
- package/components/TagGroup/TagGroup.js +9 -9
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +2 -2
- 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 +8 -8
- package/components/Tooltip/components/common/TooltipXButton.js +8 -8
- 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 +36 -35
- package/components/TopOverlay/TopOverlay.js +22 -22
- 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 +5 -5
- package/components/Typography/Text.js +21 -21
- package/components/Typography/Title.js +16 -16
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +7 -7
- package/components/UnorderedList/UnorderedListItem.js +7 -7
- package/components/UploadZone/UploadZone.js +69 -91
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +554 -549
- package/consts/DateConst.js +6 -6
- package/index.d.ts +59 -23
- package/index.js +598 -593
- package/package.json +7 -3
- package/styles/triplex-next.css +534 -533
- package/utils/amountUtils.js +1 -1
- package/chunks/AlertProcessSpoiler-2ISgLMAv.js +0 -39
- package/chunks/Card.module-B3p3ckTi.js +0 -17
- package/chunks/CheckboxTreeExtended.module-C9E_PNKd.js +0 -11
- package/chunks/Confirm.module-C8vukyYR.js +0 -15
- package/chunks/DropdownMobile.module-CCITYoi5.js +0 -23
- package/chunks/Footer.module-CvMg6tX7.js +0 -9
- package/chunks/FormFieldInput-CkbWg1jd.js +0 -62
- package/chunks/HeaderLayoutSidebar.module-Dsxv0xGF.js +0 -9
- package/chunks/HeaderTabs.module-BByuDFWD.js +0 -9
- package/chunks/IslandAccordion.module-xj0cP0m9.js +0 -25
- package/chunks/IslandWidgetFooter.module-bDnVNRPn.js +0 -9
- package/chunks/IslandWidgetHeader.module-BW5vlxfL.js +0 -9
- package/chunks/LightBoxContent-CkXwpIcr.js +0 -56
- package/chunks/LightBoxControls.module-CzUVzNt3.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-DLin9oqm.js +0 -8
- package/chunks/ListItemTail.module-nXIzaumG.js +0 -12
- package/chunks/ListMasterFooter.module-DSwVh_Ga.js +0 -10
- package/chunks/ModalWindow.module-Cve8WlGX.js +0 -17
- package/chunks/Notification.module-CPxgLCeP.js +0 -21
- package/chunks/Overlay.module-CUGc7krZ.js +0 -18
- package/chunks/Page.module-F4pO41fd.js +0 -11
- package/chunks/SMSField.module-DsbfVxJI.js +0 -16
- package/chunks/SliderExtendedMarks.module-gx4fpmmQ.js +0 -15
- package/chunks/StatusTracker.module-BfU9IGap.js +0 -24
- package/chunks/TableFooter.module-B85spOme.js +0 -14
- package/chunks/TabsExtended.module-D5Cengc4.js +0 -16
- package/chunks/TabsLine.module-BIWiErhn.js +0 -21
- package/chunks/TooltipDesktop.module-BHooJ0zu.js +0 -19
- package/chunks/TreeView.module-BlFF2oGU.js +0 -9
- package/chunks/UploadZoneInput-BERiqnOn.js +0 -35
- package/chunks/utils-7DZsULe6.js +0 -73
- package/chunks/utils-BSFj4o72.js +0 -24
- package/chunks/utils-Bn_7-Ayu.js +0 -36
- package/chunks/utils-x7NpEaSu.js +0 -20
- package/chunks/vendor-CwhnMZ7o.js +0 -14856
|
@@ -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-DucOfXwy.js";
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-D18ujhsr.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-DucOfXwy.js";
|
|
3
|
+
import { c as d } from "../../../../../chunks/Card.module-D18ujhsr.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-DucOfXwy.js";
|
|
3
|
+
import { c as m } from "../../../chunks/Card.module-D18ujhsr.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 });
|
package/components/Card/utils.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as p, jsx as b } from "react/jsx-runtime";
|
|
2
2
|
import C, { useState as w, useRef as D, useCallback as L, useEffect as d } from "react";
|
|
3
|
-
import { l as M, c as S } from "../../chunks/vendor-
|
|
3
|
+
import { l as M, c as S } from "../../chunks/vendor-DucOfXwy.js";
|
|
4
4
|
import { scrollSmoothHorizontally as c } from "../../utils/scroll.js";
|
|
5
|
-
const R = "
|
|
5
|
+
const R = "carouselExtended__6fbe8ee7", k = {
|
|
6
6
|
carouselExtended: R
|
|
7
7
|
}, y = C.forwardRef(
|
|
8
8
|
({ children: l, buttonPrev: a, buttonNext: i, stepPrev: u, stepNext: f, ...h }, s) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsxs as I, jsx as
|
|
1
|
+
import { jsxs as I, jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import N from "react";
|
|
3
3
|
import { CheckboxbulkStrokeSrvIcon24 as S, CheckboxtickStrokeSrvIcon24 as z } from "@sberbusiness/icons-next";
|
|
4
4
|
import "../Typography/Title.js";
|
|
@@ -7,44 +7,44 @@ import "../Typography/Caption.js";
|
|
|
7
7
|
import { ETextSize as n } from "../Typography/enums.js";
|
|
8
8
|
import { EComponentSize as s } from "../../enums/EComponentSize.js";
|
|
9
9
|
import { createSizeToClassNameMap as u } from "../../utils/classNameMaps.js";
|
|
10
|
-
import { c as r } from "../../chunks/vendor-
|
|
11
|
-
const y = "
|
|
10
|
+
import { c as r } from "../../chunks/vendor-DucOfXwy.js";
|
|
11
|
+
const y = "label__b554115b", M = "sm__061d343a", T = "nonempty__a3f05303", g = "md__1baa2ace", v = "lg__f1d05179", B = "disabled__e51f3480", j = "checkbox__52d99f1f", D = "checkboxIcon__4a56f6fb", E = "checkmarkIcon__4b8c7968", e = {
|
|
12
12
|
label: y,
|
|
13
13
|
sm: M,
|
|
14
14
|
nonempty: T,
|
|
15
15
|
md: g,
|
|
16
|
-
lg:
|
|
17
|
-
disabled:
|
|
18
|
-
checkbox:
|
|
16
|
+
lg: v,
|
|
17
|
+
disabled: B,
|
|
18
|
+
checkbox: j,
|
|
19
19
|
checkboxIcon: D,
|
|
20
20
|
checkmarkIcon: E
|
|
21
21
|
}, L = {
|
|
22
22
|
[s.LG]: n.B2,
|
|
23
23
|
[s.MD]: n.B3,
|
|
24
24
|
[s.SM]: n.B4
|
|
25
|
-
}, b = u(
|
|
25
|
+
}, b = u(e), R = N.forwardRef((i, k) => {
|
|
26
26
|
const {
|
|
27
27
|
children: a,
|
|
28
|
-
className:
|
|
28
|
+
className: d,
|
|
29
29
|
disabled: m,
|
|
30
|
-
bulk:
|
|
30
|
+
bulk: p,
|
|
31
31
|
labelAttributes: o,
|
|
32
32
|
size: t = s.MD,
|
|
33
33
|
...x
|
|
34
|
-
} = i, h = r(
|
|
35
|
-
|
|
34
|
+
} = i, h = r(e.checkbox, d, b[t]), _ = r(
|
|
35
|
+
e.label,
|
|
36
36
|
b[t],
|
|
37
|
-
{ [
|
|
37
|
+
{ [e.disabled]: !!m, [e.nonempty]: !!a },
|
|
38
38
|
o == null ? void 0 : o.className
|
|
39
39
|
), f = () => {
|
|
40
|
-
const l =
|
|
41
|
-
return
|
|
40
|
+
const l = e.checkmarkIcon;
|
|
41
|
+
return p ? /* @__PURE__ */ c(S, { className: l, paletteIndex: 7 }) : /* @__PURE__ */ c(z, { className: l, paletteIndex: 7 });
|
|
42
42
|
};
|
|
43
|
-
return /* @__PURE__ */ I("label", { ...o, className: _, "data-tx": "1.
|
|
44
|
-
/* @__PURE__ */
|
|
45
|
-
/* @__PURE__ */
|
|
43
|
+
return /* @__PURE__ */ I("label", { ...o, className: _, "data-tx": "1.14.0", children: [
|
|
44
|
+
/* @__PURE__ */ c("input", { type: "checkbox", className: h, disabled: m, ...x, ref: k }),
|
|
45
|
+
/* @__PURE__ */ c("span", { className: e.checkboxIcon }),
|
|
46
46
|
f(),
|
|
47
|
-
a && /* @__PURE__ */
|
|
47
|
+
a && /* @__PURE__ */ c(C, { size: L[t], tag: "div", children: a })
|
|
48
48
|
] });
|
|
49
49
|
});
|
|
50
50
|
R.displayName = "Checkbox";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { c as r } from "../../chunks/vendor-
|
|
3
|
-
const _ = "
|
|
2
|
+
import { c as r } from "../../chunks/vendor-DucOfXwy.js";
|
|
3
|
+
const _ = "checkboxXGroup__815128e6", l = "label__b554115b", e = {
|
|
4
4
|
checkboxXGroup: _,
|
|
5
|
-
"indent-12": "indent-
|
|
6
|
-
label:
|
|
7
|
-
"indent-16": "indent-
|
|
8
|
-
"indent-20": "indent-
|
|
9
|
-
"indent-24": "indent-
|
|
10
|
-
"indent-28": "indent-
|
|
11
|
-
"indent-32": "indent-
|
|
12
|
-
},
|
|
13
|
-
const { children:
|
|
14
|
-
return /* @__PURE__ */ i("div", { className: s, role: "group", ...d, children:
|
|
5
|
+
"indent-12": "indent-12__7ed86823",
|
|
6
|
+
label: l,
|
|
7
|
+
"indent-16": "indent-16__7f6c3e80",
|
|
8
|
+
"indent-20": "indent-20__0993cfeb",
|
|
9
|
+
"indent-24": "indent-24__a277f8bc",
|
|
10
|
+
"indent-28": "indent-28__76d2ee45",
|
|
11
|
+
"indent-32": "indent-32__ed7637cc"
|
|
12
|
+
}, a = (n) => {
|
|
13
|
+
const { children: c, className: t, indent: o = 12, ...d } = n, s = r(e.checkboxXGroup, e[`indent-${o}`], t);
|
|
14
|
+
return /* @__PURE__ */ i("div", { className: s, role: "group", ...d, children: c });
|
|
15
15
|
};
|
|
16
|
-
|
|
16
|
+
a.displayName = "CheckboxXGroup";
|
|
17
17
|
export {
|
|
18
|
-
|
|
18
|
+
a as CheckboxXGroup
|
|
19
19
|
};
|
|
20
20
|
//# sourceMappingURL=CheckboxXGroup.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
-
import { c as t } from "../../chunks/vendor-
|
|
3
|
-
const a = "
|
|
2
|
+
import { c as t } from "../../chunks/vendor-DucOfXwy.js";
|
|
3
|
+
const a = "checkboxYGroup__dd8dff67", x = {
|
|
4
4
|
checkboxYGroup: a
|
|
5
5
|
}, l = (o) => {
|
|
6
6
|
const { children: c, className: s, ...r } = o, e = t(x.checkboxYGroup, s);
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { CheckboxTreeExtended as t } from "../CheckboxTreeExtended/CheckboxTreeExtended.js";
|
|
3
|
-
import { checkChildrenCheckboxes as f, traverseCheckboxes as g, checkParentCheckboxes as
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
import { checkChildrenCheckboxes as f, traverseCheckboxes as g, checkParentCheckboxes as C } from "./utils.js";
|
|
4
|
+
import { EComponentSize as T } from "../../enums/EComponentSize.js";
|
|
5
|
+
const h = ({ checkboxes: e, onChange: o, size: u = T.MD }) => {
|
|
6
|
+
const N = (d) => (r) => {
|
|
6
7
|
const { checked: i } = r.target;
|
|
7
|
-
d.checked = d.bulk ? !0 : i, f(d), g(e,
|
|
8
|
-
},
|
|
8
|
+
d.checked = d.bulk ? !0 : i, f(d), g(e, C), o([...e]);
|
|
9
|
+
}, m = (d, r, i) => /* @__PURE__ */ l(
|
|
9
10
|
t.Node,
|
|
10
11
|
{
|
|
11
12
|
id: d.id,
|
|
12
|
-
checkbox: (
|
|
13
|
+
checkbox: (n) => /* @__PURE__ */ l(
|
|
13
14
|
t.Checkbox,
|
|
14
15
|
{
|
|
15
|
-
...
|
|
16
|
-
onChange:
|
|
16
|
+
...n,
|
|
17
|
+
onChange: N(d),
|
|
17
18
|
bulk: d.bulk,
|
|
18
19
|
checked: d.checked,
|
|
19
20
|
children: d.label
|
|
@@ -22,15 +23,15 @@ const h = ({ checkboxes: e, onChange: N }) => {
|
|
|
22
23
|
prevNodeId: r == null ? void 0 : r.id,
|
|
23
24
|
nextNodeId: i == null ? void 0 : i.id,
|
|
24
25
|
children: d.children && d.children.map(
|
|
25
|
-
(
|
|
26
|
-
var
|
|
27
|
-
return
|
|
26
|
+
(n, a) => {
|
|
27
|
+
var p, s;
|
|
28
|
+
return m(n, (p = d.children) == null ? void 0 : p[a - 1], (s = d.children) == null ? void 0 : s[a + 1]);
|
|
28
29
|
}
|
|
29
30
|
)
|
|
30
31
|
},
|
|
31
32
|
d.id
|
|
32
33
|
);
|
|
33
|
-
return /* @__PURE__ */
|
|
34
|
+
return /* @__PURE__ */ l(t, { size: u, children: e.map((d, r) => m(d, e[r - 1], e[r + 1])) });
|
|
34
35
|
};
|
|
35
36
|
h.displayName = "CheckboxTree";
|
|
36
37
|
export {
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { CollapsableTree as
|
|
3
|
-
import { CheckboxTreeExtendedCheckbox as
|
|
4
|
-
import { CheckboxTreeExtendedNode as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { CollapsableTree as x } from "../CollapsableTree/CollapsableTree.js";
|
|
3
|
+
import { CheckboxTreeExtendedCheckbox as d } from "./components/CheckboxTreeExtendedCheckbox.js";
|
|
4
|
+
import { CheckboxTreeExtendedNode as c } from "./components/CheckboxTreeExtendedNode.js";
|
|
5
|
+
import { CheckboxTreeExtendedContext as i } from "./CheckboxTreeExtendedContext.js";
|
|
6
|
+
import { c as p } from "../../chunks/vendor-DucOfXwy.js";
|
|
7
|
+
import { EComponentSize as s } from "../../enums/EComponentSize.js";
|
|
8
|
+
import { s as n } from "../../chunks/CheckboxTreeExtended.module-BGrgoYFp.js";
|
|
9
|
+
const e = ({ className: r, size: t = s.MD, ...m }) => /* @__PURE__ */ o(i.Provider, { value: { size: t }, children: /* @__PURE__ */ o(x, { className: p(n.checkboxTreeExtended, r), ...m }) });
|
|
8
10
|
e.displayName = "CheckboxTreeExtended";
|
|
9
|
-
e.Checkbox =
|
|
10
|
-
e.Node =
|
|
11
|
+
e.Checkbox = d;
|
|
12
|
+
e.Node = c;
|
|
11
13
|
export {
|
|
12
14
|
e as CheckboxTreeExtended
|
|
13
15
|
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import e from "react";
|
|
2
|
+
import { EComponentSize as t } from "../../enums/EComponentSize.js";
|
|
3
|
+
const o = {
|
|
4
|
+
size: t.MD
|
|
5
|
+
}, x = e.createContext(
|
|
6
|
+
o
|
|
7
|
+
);
|
|
8
|
+
export {
|
|
9
|
+
x as CheckboxTreeExtendedContext,
|
|
10
|
+
o as initialCheckboxTreeExtendedContext
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=CheckboxTreeExtendedContext.js.map
|
|
@@ -5,7 +5,7 @@ import { jsx as p } from "react/jsx-runtime";
|
|
|
5
5
|
import { CaretdownStrokeSrvIcon16 as l } from "@sberbusiness/icons-next";
|
|
6
6
|
import { EVENT_KEY_CODES as d } from "../../../utils/keyboard.js";
|
|
7
7
|
import h from "react";
|
|
8
|
-
import { s as f } from "../../../chunks/CheckboxTreeExtended.module-
|
|
8
|
+
import { s as f } from "../../../chunks/CheckboxTreeExtended.module-BGrgoYFp.js";
|
|
9
9
|
class x extends h.Component {
|
|
10
10
|
constructor() {
|
|
11
11
|
super(...arguments);
|
|
@@ -1,40 +1,37 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
m,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as h, useContext as u, useEffect as d } from "react";
|
|
3
|
+
import { Checkbox as f } from "../../Checkbox/Checkbox.js";
|
|
4
|
+
import { c as i } from "../../../chunks/vendor-DucOfXwy.js";
|
|
5
|
+
import { s as t } from "../../../chunks/CheckboxTreeExtended.module-BGrgoYFp.js";
|
|
6
|
+
import { CheckboxTreeExtendedContext as k } from "../CheckboxTreeExtendedContext.js";
|
|
7
|
+
const l = ({
|
|
8
|
+
active: r,
|
|
9
|
+
className: s,
|
|
10
|
+
opened: C,
|
|
11
|
+
...n
|
|
12
|
+
}) => {
|
|
13
|
+
const o = h(null), { size: x } = u(k);
|
|
14
|
+
d(() => {
|
|
15
|
+
var e, c;
|
|
16
|
+
(e = document.activeElement) != null && e.contains(o.current) || (c = o.current) == null || c.focus();
|
|
17
|
+
}, [r]);
|
|
18
|
+
const m = (e) => {
|
|
19
|
+
}, b = (e) => {
|
|
20
|
+
o.current = e;
|
|
21
|
+
};
|
|
22
|
+
return /* @__PURE__ */ a(
|
|
23
|
+
f,
|
|
24
|
+
{
|
|
25
|
+
className: i(t.checkboxTreeCheckbox, s),
|
|
26
|
+
ref: b,
|
|
27
|
+
labelAttributes: { className: t.checkboxTreeCheckboxLabel, onFocus: m },
|
|
28
|
+
size: x,
|
|
29
|
+
...n
|
|
30
|
+
}
|
|
31
|
+
);
|
|
32
|
+
};
|
|
33
|
+
l.displayName = "CheckboxTreeExtendedCheckbox";
|
|
37
34
|
export {
|
|
38
|
-
|
|
35
|
+
l as CheckboxTreeExtendedCheckbox
|
|
39
36
|
};
|
|
40
37
|
//# sourceMappingURL=CheckboxTreeExtendedCheckbox.js.map
|
|
@@ -1,50 +1,43 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import { CollapsableTree as m } from "../../CollapsableTree/CollapsableTree.js";
|
|
7
|
-
import { isStaticCheckboxTreeExtended as x } from "../isStaticCheckboxTreeExtended.js";
|
|
8
|
-
import { c as u } from "../../../chunks/vendor-CwhnMZ7o.js";
|
|
1
|
+
import { jsx as p, jsxs as i } from "react/jsx-runtime";
|
|
2
|
+
import { useContext as x } from "react";
|
|
3
|
+
import { CollapsableTree as l } from "../../CollapsableTree/CollapsableTree.js";
|
|
4
|
+
import { isStaticCheckboxTreeExtended as f } from "../isStaticCheckboxTreeExtended.js";
|
|
5
|
+
import { c as u } from "../../../chunks/vendor-DucOfXwy.js";
|
|
9
6
|
import "./CheckboxTreeExtendedArrow.js";
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
44
|
-
);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
7
|
+
import { createSizeToClassNameMap as T } from "../../../utils/classNameMaps.js";
|
|
8
|
+
import { s as o } from "../../../chunks/CheckboxTreeExtended.module-BGrgoYFp.js";
|
|
9
|
+
import { CheckboxTreeExtendedContext as C } from "../CheckboxTreeExtendedContext.js";
|
|
10
|
+
const N = T(o), y = ({
|
|
11
|
+
children: r,
|
|
12
|
+
checkbox: t,
|
|
13
|
+
opened: h,
|
|
14
|
+
...s
|
|
15
|
+
}) => {
|
|
16
|
+
const { size: d } = x(C), n = (e) => {
|
|
17
|
+
e.target === e.currentTarget && e.preventDefault();
|
|
18
|
+
}, a = ({ activeNode: e, opened: m, toggle: b }) => /* @__PURE__ */ i(
|
|
19
|
+
"div",
|
|
20
|
+
{
|
|
21
|
+
className: u(o.checkboxTreeExtendedNodeHeader, N[d], { opened: m }),
|
|
22
|
+
onMouseDown: n,
|
|
23
|
+
children: [
|
|
24
|
+
!f,
|
|
25
|
+
t({ active: e, opened: !0 })
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
), c = () => r;
|
|
29
|
+
return /* @__PURE__ */ p(
|
|
30
|
+
l.Node,
|
|
31
|
+
{
|
|
32
|
+
className: o.checkboxTreeExtendedNode,
|
|
33
|
+
opened: !0,
|
|
34
|
+
renderHeader: a,
|
|
35
|
+
renderBody: c,
|
|
36
|
+
...s
|
|
37
|
+
}
|
|
38
|
+
);
|
|
39
|
+
};
|
|
47
40
|
export {
|
|
48
|
-
|
|
41
|
+
y as CheckboxTreeExtendedNode
|
|
49
42
|
};
|
|
50
43
|
//# sourceMappingURL=CheckboxTreeExtendedNode.js.map
|
package/components/Chip/Chip.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../../chunks/vendor-
|
|
4
|
-
import { C as e } from "../../chunks/Chip-
|
|
3
|
+
import "../../chunks/vendor-DucOfXwy.js";
|
|
4
|
+
import { C as e } from "../../chunks/Chip-CBP_avtm.js";
|
|
5
5
|
import "../../enums/EComponentSize.js";
|
|
6
6
|
import "../../utils/classNameMaps.js";
|
|
7
7
|
import "../../utils/keyboard.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as p } from "../../chunks/vendor-
|
|
4
|
-
import { CrossStrokeSrvIcon24 as
|
|
2
|
+
import c from "react";
|
|
3
|
+
import { c as p } from "../../chunks/vendor-DucOfXwy.js";
|
|
4
|
+
import { CrossStrokeSrvIcon24 as a, CrossStrokeSrvIcon20 as i, CrossStrokeSrvIcon16 as l } from "@sberbusiness/icons-next";
|
|
5
5
|
import { EComponentSize as t } from "../../enums/EComponentSize.js";
|
|
6
6
|
import { ButtonIcon as m } from "../Button/ButtonIcon.js";
|
|
7
|
-
const C = "
|
|
7
|
+
const C = "chipClearButton__b51762c3", f = {
|
|
8
8
|
chipClearButton: C
|
|
9
9
|
}, u = {
|
|
10
10
|
[t.SM]: /* @__PURE__ */ o(l, { paletteIndex: 6 }),
|
|
11
11
|
[t.MD]: /* @__PURE__ */ o(i, { paletteIndex: 6 }),
|
|
12
|
-
[t.LG]: /* @__PURE__ */ o(
|
|
13
|
-
}, I =
|
|
12
|
+
[t.LG]: /* @__PURE__ */ o(a, { paletteIndex: 6 })
|
|
13
|
+
}, I = c.forwardRef(
|
|
14
14
|
({ className: r, size: e = t.MD, ...n }, s) => /* @__PURE__ */ o(m, { className: p(f.chipClearButton, r), ...n, ref: s, children: u[e] })
|
|
15
15
|
);
|
|
16
16
|
I.displayName = "ChipClearButton";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as g } from "react/jsx-runtime";
|
|
2
2
|
import N, { useState as O, useRef as h, useEffect as _ } from "react";
|
|
3
|
-
import
|
|
3
|
+
import k from "moment";
|
|
4
4
|
import { dateFormatYYYYMMDD as j, globalLimitRange as z } from "../../../consts/DateConst.js";
|
|
5
5
|
import { DateFieldUtils as u } from "../../DateField/utils.js";
|
|
6
6
|
import { DatePickerExtended as B } from "../../DatePickerExtended/DatePickerExtended.js";
|
|
7
7
|
import { ChipDatePickerTarget as G } from "./ChipDatePickerTarget.js";
|
|
8
8
|
import { inputDateFormat as D } from "../../DateField/constants.js";
|
|
9
9
|
import { DropdownMobileMaskedInput as C } from "../../Dropdown/mobile/DropdownMobileMaskedInput.js";
|
|
10
|
-
import { s as H } from "../../../chunks/Chip-
|
|
10
|
+
import { s as H } from "../../../chunks/Chip-CBP_avtm.js";
|
|
11
11
|
const L = N.forwardRef((S, V) => {
|
|
12
12
|
const {
|
|
13
13
|
value: o,
|
|
@@ -25,21 +25,21 @@ const L = N.forwardRef((S, V) => {
|
|
|
25
25
|
...y
|
|
26
26
|
} = S, [r, d] = O(
|
|
27
27
|
u.getPickerValues(o, n, a, i)
|
|
28
|
-
), l = h(r), f = h(!1),
|
|
28
|
+
), l = h(r), f = h(!1), m = h(!1);
|
|
29
29
|
_(() => {
|
|
30
30
|
const e = u.getPickerValues(o, n, a, i);
|
|
31
31
|
l.current = e, e.inputString !== r.inputString && d(e);
|
|
32
32
|
}, [o, n, a, i]);
|
|
33
33
|
const F = () => {
|
|
34
34
|
const e = f.current ? l.current : r, t = e.calendarDate !== null;
|
|
35
|
-
return /* @__PURE__ */
|
|
35
|
+
return /* @__PURE__ */ g(G, { selected: t, disabled: R, onClear: M, size: v, children: t ? b ?? e.inputString : P });
|
|
36
36
|
}, M = () => {
|
|
37
37
|
s("");
|
|
38
38
|
}, I = () => {
|
|
39
39
|
f.current = !0, c == null || c();
|
|
40
40
|
}, Y = () => {
|
|
41
|
-
f.current = !1,
|
|
42
|
-
}, x = () => /* @__PURE__ */
|
|
41
|
+
f.current = !1, m.current ? m.current = !1 : r.inputString !== l.current.inputString && A(), p == null || p();
|
|
42
|
+
}, x = () => /* @__PURE__ */ g(
|
|
43
43
|
C,
|
|
44
44
|
{
|
|
45
45
|
value: r.inputString,
|
|
@@ -64,9 +64,9 @@ const L = N.forwardRef((S, V) => {
|
|
|
64
64
|
}
|
|
65
65
|
r.inputString !== l.current.inputString && d(l.current);
|
|
66
66
|
}, E = (e) => {
|
|
67
|
-
|
|
67
|
+
m.current = !0, s(e.format(n));
|
|
68
68
|
};
|
|
69
|
-
return /* @__PURE__ */
|
|
69
|
+
return /* @__PURE__ */ g(
|
|
70
70
|
B,
|
|
71
71
|
{
|
|
72
72
|
className: H.chipGroupItem,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import x, { useContext as D } from "react";
|
|
3
|
-
import { C as k } from "../../../chunks/Chip-
|
|
3
|
+
import { C as k } from "../../../chunks/Chip-CBP_avtm.js";
|
|
4
4
|
import { ChipDropdownArrow as w } from "../ChipDropdownArrow.js";
|
|
5
5
|
import { ChipClearButton as P } from "../ChipClearButton.js";
|
|
6
6
|
import { DatePickerExtendedContext as g } from "../../DatePickerExtended/DatePickerExtendedContext.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { CaretdownStrokeSrvIcon20 as p } from "@sberbusiness/icons-next";
|
|
3
|
-
import { c
|
|
4
|
-
const
|
|
5
|
-
chipDropdownArrow:
|
|
3
|
+
import { c } from "../../chunks/vendor-DucOfXwy.js";
|
|
4
|
+
const d = "chipDropdownArrow__2c386f7c", e = "rotated__af1c99c8", o = {
|
|
5
|
+
chipDropdownArrow: d,
|
|
6
6
|
rotated: e
|
|
7
7
|
}, n = ({ rotated: r }) => /* @__PURE__ */ t(
|
|
8
8
|
p,
|
|
9
9
|
{
|
|
10
|
-
className:
|
|
10
|
+
className: c(o.chipDropdownArrow, { [o.rotated]: r }),
|
|
11
11
|
paletteIndex: 5
|
|
12
12
|
}
|
|
13
13
|
);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import f from "react";
|
|
3
|
-
import { C as t } from "../../chunks/Chip-
|
|
3
|
+
import { C as t } from "../../chunks/Chip-CBP_avtm.js";
|
|
4
4
|
const a = f.forwardRef(({ children: p, ...r }, i) => /* @__PURE__ */ o(t, { ...r, prefix: p, postfix: /* @__PURE__ */ o("span", {}), ref: i }));
|
|
5
5
|
a.displayName = "ChipIcon";
|
|
6
6
|
export {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import w from "react";
|
|
3
3
|
import { MultiselectField as y } from "../MultiselectField/MultiselectField.js";
|
|
4
|
-
import { s as x, C as D } from "../../chunks/Chip-
|
|
4
|
+
import { s as x, C as D } from "../../chunks/Chip-CBP_avtm.js";
|
|
5
5
|
import { ChipClearButton as E } from "./ChipClearButton.js";
|
|
6
6
|
import { ChipDropdownArrow as K } from "./ChipDropdownArrow.js";
|
|
7
7
|
import { isKey as t } from "../../utils/keyboard.js";
|
|
8
|
-
import { c as g } from "../../chunks/vendor-
|
|
8
|
+
import { c as g } from "../../chunks/vendor-DucOfXwy.js";
|
|
9
9
|
const B = w.forwardRef(
|
|
10
10
|
({ children: s, className: c, clearSelected: p, disabled: m, label: a, displayedValue: d, selected: i, size: e, ...f }, C) => {
|
|
11
11
|
const h = (o) => {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import r from "react";
|
|
3
3
|
import { OptionsStrokeSrvIcon24 as i } from "@sberbusiness/icons-next";
|
|
4
|
-
import { C } from "../../chunks/Chip-
|
|
4
|
+
import { C } from "../../chunks/Chip-CBP_avtm.js";
|
|
5
5
|
import { ChipClearButton as f } from "./ChipClearButton.js";
|
|
6
|
-
const m = "
|
|
6
|
+
const m = "chipOptionsContent__794357a3", c = {
|
|
7
7
|
chipOptionsContent: m
|
|
8
|
-
}, l =
|
|
8
|
+
}, l = r.forwardRef(
|
|
9
9
|
({ children: o, clearSelected: e, selected: n, ...p }, s) => /* @__PURE__ */ t(
|
|
10
10
|
C,
|
|
11
11
|
{
|
|
12
12
|
prefix: n ? /* @__PURE__ */ t(i, { paletteIndex: 6 }) : /* @__PURE__ */ t(i, { paletteIndex: 5 }),
|
|
13
|
-
postfix: n ? /* @__PURE__ */ t(f, { onClick: (
|
|
14
|
-
|
|
13
|
+
postfix: n ? /* @__PURE__ */ t(f, { onClick: (a) => {
|
|
14
|
+
a.stopPropagation(), e();
|
|
15
15
|
}, size: p.size }) : /* @__PURE__ */ t("span", {}),
|
|
16
16
|
selected: n,
|
|
17
17
|
...p,
|
|
@@ -5,8 +5,8 @@ import "../../SelectExtendedField/components/SelectExtendedFieldDropdown.js";
|
|
|
5
5
|
import "../../SelectExtendedField/components/SelectExtendedFieldTarget.js";
|
|
6
6
|
import { SelectExtendedFieldDropdownDefault as w } from "../../SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js";
|
|
7
7
|
import { ChipSelectTarget as D } from "./ChipSelectTarget.js";
|
|
8
|
-
import { s as T } from "../../../chunks/Chip-
|
|
9
|
-
import { c as g } from "../../../chunks/vendor-
|
|
8
|
+
import { s as T } from "../../../chunks/Chip-CBP_avtm.js";
|
|
9
|
+
import { c as g } from "../../../chunks/vendor-DucOfXwy.js";
|
|
10
10
|
const u = S.forwardRef(
|
|
11
11
|
({ className: d, clearSelected: m, disabled: c, size: o, label: i, displayedValue: l, onChange: p, options: s, value: e, ...n }, f) => {
|
|
12
12
|
const a = (r) => /* @__PURE__ */ t(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import T, { useCallback as t } from "react";
|
|
3
|
-
import { C as g } from "../../../chunks/Chip-
|
|
3
|
+
import { C as g } from "../../../chunks/Chip-CBP_avtm.js";
|
|
4
4
|
import { ChipDropdownArrow as x } from "../ChipDropdownArrow.js";
|
|
5
5
|
import { ChipClearButton as y } from "../ChipClearButton.js";
|
|
6
6
|
import { isKey as a } from "../../../utils/keyboard.js";
|