@sberbusiness/triplex-next 0.12.0 → 0.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-Clc5Pcoq.js +39 -0
- package/chunks/{CalendarViewItem-B7_R_3t_.js → CalendarViewItem-BXB-l14w.js} +30 -30
- package/chunks/Card.module-Cu7AW6wF.js +17 -0
- package/chunks/CheckboxTreeExtended.module-C2bEprSb.js +14 -0
- package/chunks/{Chip-BiNNkTCM.js → Chip-CY6jm0GS.js} +7 -7
- package/chunks/Confirm.module-OZDQwZ76.js +15 -0
- package/chunks/{DropdownListItem-BxEqWaJ8.js → DropdownListItem-BsD2UckS.js} +22 -22
- package/chunks/DropdownMobile.module-DyAN0fdk.js +23 -0
- package/chunks/Footer.module-CNLRKuaO.js +9 -0
- package/chunks/FormFieldInput-fdQkON04.js +60 -0
- package/chunks/HeaderLayoutSidebar.module-D6JKqqZC.js +9 -0
- package/chunks/HeaderTabs.module-bgwZzpN5.js +9 -0
- package/chunks/{HeaderTitle.module-DlNyNird.js → HeaderTitle.module-DcwCxesK.js} +2 -2
- package/chunks/IslandAccordion.module-CkwZRvz0.js +25 -0
- package/chunks/IslandWidgetFooter.module-CRDSENKS.js +9 -0
- package/chunks/IslandWidgetHeader.module-CplPMePk.js +9 -0
- package/chunks/{LightBoxContent-DBZCrC3l.js → LightBoxContent-3oHJFM6-.js} +11 -11
- package/chunks/LightBoxControls.module-BiErhmuy.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-B1Ry_HK0.js +8 -0
- package/chunks/{ListItemControlsButton-B7xM1V5l.js → ListItemControlsButton-DQyZxkWl.js} +12 -12
- package/chunks/ListItemTail.module-BcXdd7Tg.js +12 -0
- package/chunks/ListMasterFooter.module-IIuFg261.js +10 -0
- package/chunks/ModalWindow.module-BxpQ7u7J.js +17 -0
- package/chunks/Notification.module-Dd05nJZX.js +21 -0
- package/chunks/Overlay.module-nyoFWXgt.js +18 -0
- package/chunks/Page.module-COesJT7Q.js +11 -0
- package/chunks/{RightBorderArrow-qUNK7k_Z.js → RightBorderArrow-NMZgNz0e.js} +11 -11
- package/chunks/SMSField.module-CyHqtrvG.js +16 -0
- package/chunks/SliderExtendedMarks.module-2LnzmFbF.js +15 -0
- package/chunks/{SliderExtendedRail-fxB35VnJ.js → SliderExtendedRail-w5E8mOCQ.js} +8 -8
- package/chunks/StatusTracker.module-4qTM1xYQ.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-BRLUCupu.js → SuggestFieldMobileDropdownHint-Bu9hDMWX.js} +2 -2
- package/chunks/TableFooter.module-w1swDJka.js +14 -0
- package/chunks/TabsExtended.module-tx9R1r2s.js +16 -0
- package/chunks/TabsLine.module-DySAqOh5.js +21 -0
- package/chunks/TooltipDesktop.module-CVyAe5HN.js +19 -0
- package/chunks/TreeView.module-4qMoe0gI.js +9 -0
- package/chunks/UploadZoneInput-DxpDQJSy.js +33 -0
- package/chunks/{utils-pT3qplA1.js → utils-BqO-7PCm.js} +5 -5
- package/chunks/{utils-Kc2jGbAd.js → utils-CXsSOP27.js} +6 -6
- package/chunks/utils-Clzm2Vel.js +73 -0
- package/chunks/utils-Dtu8f6BX.js +24 -0
- package/chunks/{utils-D3BbfI4I.js → utils-H2e9tc3r.js} +6 -6
- package/chunks/vendor-CalMVkfj.js +12482 -0
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +12 -12
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +7 -7
- 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 +13 -13
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +18 -18
- package/components/Button/ButtonDropdownExtended.js +8 -8
- package/components/Button/ButtonIcon.js +11 -11
- package/components/Calendar/Calendar.js +36 -35
- package/components/Calendar/CalendarContext.js +5 -5
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +4 -4
- package/components/Calendar/components/CalendarViewDays.js +21 -20
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +21 -21
- package/components/Calendar/components/CalendarViewYears.js +15 -15
- package/components/Calendar/utils.js +6 -6
- package/components/Card/CardAction.js +4 -4
- package/components/Card/CardStatic.js +3 -3
- package/components/Card/components/CardContent/CardContent.js +2 -2
- package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
- package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
- package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
- package/components/Card/components/CardMedia.js +2 -2
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +5 -5
- package/components/Checkbox/Checkbox.js +21 -21
- package/components/Checkbox/CheckboxXGroup.js +12 -12
- 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 +5 -5
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +16 -16
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +8 -8
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +4 -4
- 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 +6 -6
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +9 -9
- package/components/Col/Col.js +135 -135
- package/components/CollapsableTree/components/CollapsableTreeNode.js +2 -2
- 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 +9 -9
- package/components/DateField/utils.js +3 -3
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +2 -2
- package/components/DateRange/DateRange.js +31 -30
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- 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 +2 -2
- package/components/Dropdown/desktop/DropdownDesktop.js +11 -11
- 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 +4 -4
- 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 +6 -6
- package/components/ExpandAnimation/ExpandAnimation.js +18 -18
- 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 +51 -45
- package/components/FormField/components/FormFieldClear.js +18 -18
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +7 -7
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +11 -11
- package/components/FormField/components/FormFieldMaskedInput.js +22 -22
- package/components/FormField/components/FormFieldPostfix.js +2 -2
- package/components/FormField/components/FormFieldPrefix.js +6 -6
- package/components/FormField/components/FormFieldTarget.js +17 -17
- package/components/FormField/components/FormFieldTextarea.js +32 -35
- 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 +7 -7
- 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 +41 -42
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +5 -5
- package/components/Island/components/IslandFooter.js +4 -4
- package/components/Island/components/IslandHeader.js +2 -2
- 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 +14 -14
- 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 +6 -6
- package/components/LightBox/LightBox.js +12 -12
- 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 +20 -20
- 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 +14 -12
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +14 -12
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +12 -12
- package/components/List/List.js +6 -6
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +2 -2
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +6 -6
- package/components/List/components/ListItemControls.js +2 -2
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +2 -2
- package/components/List/components/ListItemSelectable.js +7 -7
- package/components/List/components/ListItemTable.js +2 -2
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +10 -10
- package/components/List/components/ListSortableItemControls.js +2 -2
- package/components/List/components/ListSortableItemTarget.js +8 -8
- 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 -6
- 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 +13 -13
- package/components/ListMaster/components/SelectionControls.js +7 -7
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +9 -9
- package/components/Loader/LoaderSmall/LoaderSmall.js +9 -9
- 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 +13 -13
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +3 -3
- package/components/ModalWindow/components/ModalWindowClose.js +10 -10
- 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/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 +6 -6
- 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 +9 -9
- 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 +1 -1
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +2 -2
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +5 -5
- package/components/Pagination/utils/paginationUtils.js +5 -5
- package/components/Radio/Radio.js +13 -13
- package/components/Radio/RadioXGroup.js +13 -13
- package/components/Radio/RadioYGroup.js +7 -7
- package/components/Row/Row.js +7 -7
- 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 +5 -5
- package/components/SegmentedControl/SegmentedControlSegment.js +7 -7
- package/components/SelectExtendedField/SelectExtendedField.js +2 -2
- 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 +8 -8
- 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 +2 -2
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +9 -9
- package/components/SmallInput/SmallInput.js +5 -5
- package/components/Spoiler/Spoiler.js +12 -12
- 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 +7 -7
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +16 -16
- package/components/Stepper/StepperExtended.js +2 -2
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +3 -3
- package/components/Suggest/Suggest.js +1 -1
- package/components/Suggest/SuggestMobileDropdownContent.js +2 -2
- 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 +31 -31
- 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 +11 -11
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +3 -3
- package/components/Table/NoColumns.js +2 -2
- 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 +8 -8
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +6 -6
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +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 +2 -2
- package/components/Table/TabsLinePanelLinks.js +8 -8
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +31 -30
- 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 +11 -11
- package/components/Tag/Tag.js +29 -29
- package/components/TagColor/TagColor.js +7 -7
- package/components/TagGroup/TagGroup.js +13 -13
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +2 -2
- package/components/ThemeProvider/ThemeProvider.js +4 -4
- package/components/ThemeProvider/components/ThemeProviderView.js +3 -3
- 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 +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 +37 -36
- package/components/TopOverlay/TopOverlay.js +2 -2
- 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 +24 -24
- package/components/Typography/Text.js +17 -17
- package/components/Typography/Title.js +13 -13
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +9 -9
- package/components/UnorderedList/UnorderedListItem.js +6 -6
- 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-SFMiAq2e.js +0 -39
- package/chunks/Card.module-B8eF0PyT.js +0 -17
- package/chunks/CheckboxTreeExtended.module-BL2GvhSW.js +0 -11
- package/chunks/Confirm.module-DtGkChdz.js +0 -15
- package/chunks/DropdownMobile.module-hCX_8o3O.js +0 -23
- package/chunks/Footer.module-CmBv6U70.js +0 -9
- package/chunks/FormFieldInput-B4hNuHJx.js +0 -62
- package/chunks/HeaderLayoutSidebar.module-72lLZguP.js +0 -9
- package/chunks/HeaderTabs.module-Cg4Skmf_.js +0 -9
- package/chunks/IslandAccordion.module-CASKTyF5.js +0 -25
- package/chunks/IslandWidgetFooter.module-BOmbhSZq.js +0 -9
- package/chunks/IslandWidgetHeader.module-Bb1VehSy.js +0 -9
- package/chunks/LightBoxControls.module-Bd3m7ZxT.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-BOo9E8eM.js +0 -8
- package/chunks/ListItemTail.module-Cc6Q6gR8.js +0 -12
- package/chunks/ListMasterFooter.module-CPTvVSEg.js +0 -10
- package/chunks/ModalWindow.module-Cjfs_3lX.js +0 -17
- package/chunks/Notification.module-DRNzc662.js +0 -21
- package/chunks/Overlay.module-CyE4VM64.js +0 -18
- package/chunks/Page.module-CiiwZIG0.js +0 -11
- package/chunks/SMSField.module-Df8IlNx3.js +0 -16
- package/chunks/SliderExtendedMarks.module-C3yroPQo.js +0 -15
- package/chunks/StatusTracker.module-C3dx5TPW.js +0 -24
- package/chunks/TableFooter.module-CJATQpk2.js +0 -14
- package/chunks/TabsExtended.module-mbk25DHy.js +0 -16
- package/chunks/TabsLine.module-eLr2Qyu1.js +0 -21
- package/chunks/TooltipDesktop.module-D4l2yNW-.js +0 -19
- package/chunks/TreeView.module-BZTj2oze.js +0 -9
- package/chunks/UploadZoneInput-ZvLsxymO.js +0 -35
- package/chunks/utils-CkEbPHhV.js +0 -73
- package/chunks/utils-bltVmJ1Y.js +0 -24
- package/chunks/vendor-BARd5eYq.js +0 -15069
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsxs as I, jsx as
|
|
1
|
+
import { jsxs as I, jsx as e } 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 y } from "../../utils/classNameMaps.js";
|
|
10
|
-
import { c as l } from "../../chunks/vendor-
|
|
11
|
-
const u = "
|
|
10
|
+
import { c as l } from "../../chunks/vendor-CalMVkfj.js";
|
|
11
|
+
const u = "label__5c81a752", M = "sm__de359a39", T = "nonempty__5df6ed52", g = "md__fcffd43c", v = "lg__508d6c72", B = "disabled__e9dab38c", j = "checkbox__e37b748f", D = "checkboxIcon__152834a3", E = "checkmarkIcon__a33f5b6b", c = {
|
|
12
12
|
label: u,
|
|
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
|
-
},
|
|
25
|
+
}, i = y(c), R = N.forwardRef((b, d) => {
|
|
26
26
|
const {
|
|
27
27
|
children: a,
|
|
28
|
-
className:
|
|
28
|
+
className: k,
|
|
29
29
|
disabled: m,
|
|
30
|
-
bulk:
|
|
30
|
+
bulk: p,
|
|
31
31
|
labelAttributes: o,
|
|
32
32
|
size: t = s.MD,
|
|
33
33
|
...x
|
|
34
|
-
} =
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
{ [
|
|
34
|
+
} = b, h = l(c.checkbox, k, i[t]), _ = l(
|
|
35
|
+
c.label,
|
|
36
|
+
i[t],
|
|
37
|
+
{ [c.disabled]: !!m, [c.nonempty]: !!a },
|
|
38
38
|
o == null ? void 0 : o.className
|
|
39
|
-
),
|
|
40
|
-
const r =
|
|
41
|
-
return
|
|
39
|
+
), f = () => {
|
|
40
|
+
const r = c.checkmarkIcon;
|
|
41
|
+
return p ? /* @__PURE__ */ e(S, { className: r, paletteIndex: 7 }) : /* @__PURE__ */ e(z, { className: r, paletteIndex: 7 });
|
|
42
42
|
};
|
|
43
|
-
return /* @__PURE__ */ I("label", { ...o, className:
|
|
44
|
-
/* @__PURE__ */
|
|
45
|
-
/* @__PURE__ */
|
|
46
|
-
|
|
47
|
-
a && /* @__PURE__ */
|
|
43
|
+
return /* @__PURE__ */ I("label", { ...o, className: _, "data-tx": "0.14.0", children: [
|
|
44
|
+
/* @__PURE__ */ e("input", { type: "checkbox", className: h, disabled: m, ...x, ref: d }),
|
|
45
|
+
/* @__PURE__ */ e("span", { className: c.checkboxIcon }),
|
|
46
|
+
f(),
|
|
47
|
+
a && /* @__PURE__ */ e(C, { size: L[t], tag: "div", children: a })
|
|
48
48
|
] });
|
|
49
49
|
});
|
|
50
50
|
R.displayName = "Checkbox";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
3
|
-
const r = "
|
|
1
|
+
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
+
import { c as i } from "../../chunks/vendor-CalMVkfj.js";
|
|
3
|
+
const r = "checkboxXGroup__6fea4faf", _ = "label__5c81a752", e = {
|
|
4
4
|
checkboxXGroup: r,
|
|
5
|
-
"indent-12": "indent-
|
|
5
|
+
"indent-12": "indent-12__e7a96882",
|
|
6
6
|
label: _,
|
|
7
|
-
"indent-16": "indent-
|
|
8
|
-
"indent-20": "indent-
|
|
9
|
-
"indent-24": "indent-
|
|
10
|
-
"indent-28": "indent-
|
|
11
|
-
"indent-32": "indent-
|
|
12
|
-
}, l = (
|
|
13
|
-
const { children: c, className: t, indent: o = 12, ...
|
|
14
|
-
return /* @__PURE__ */
|
|
7
|
+
"indent-16": "indent-16__5e31ce87",
|
|
8
|
+
"indent-20": "indent-20__bcae5acf",
|
|
9
|
+
"indent-24": "indent-24__84d8570d",
|
|
10
|
+
"indent-28": "indent-28__09c7c2a1",
|
|
11
|
+
"indent-32": "indent-32__bc882ce1"
|
|
12
|
+
}, l = (n) => {
|
|
13
|
+
const { children: c, className: t, indent: o = 12, ...s } = n, a = i(e.checkboxXGroup, e[`indent-${o}`], t);
|
|
14
|
+
return /* @__PURE__ */ d("div", { className: a, role: "group", ...s, children: c });
|
|
15
15
|
};
|
|
16
16
|
l.displayName = "CheckboxXGroup";
|
|
17
17
|
export {
|
|
@@ -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-CalMVkfj.js";
|
|
3
|
+
const a = "checkboxYGroup__8298b1b3", x = {
|
|
4
4
|
checkboxYGroup: a
|
|
5
5
|
}, b = (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-CalMVkfj.js";
|
|
7
|
+
import { EComponentSize as s } from "../../enums/EComponentSize.js";
|
|
8
|
+
import { s as n } from "../../chunks/CheckboxTreeExtended.module-C2bEprSb.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 i } from "../../../utils/keyboard.js";
|
|
7
7
|
import h from "react";
|
|
8
|
-
import { s as m } from "../../../chunks/CheckboxTreeExtended.module-
|
|
8
|
+
import { s as m } from "../../../chunks/CheckboxTreeExtended.module-C2bEprSb.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
|
-
|
|
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-CalMVkfj.js";
|
|
5
|
+
import { s as t } from "../../../chunks/CheckboxTreeExtended.module-C2bEprSb.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-BARd5eYq.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-CalMVkfj.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-C2bEprSb.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-CalMVkfj.js";
|
|
4
|
+
import { C as e } from "../../chunks/Chip-CY6jm0GS.js";
|
|
5
5
|
import "../../enums/EComponentSize.js";
|
|
6
6
|
import "../../utils/classNameMaps.js";
|
|
7
7
|
import "../../utils/keyboard.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { c as p } from "../../chunks/vendor-
|
|
2
|
+
import c from "react";
|
|
3
|
+
import { c as p } from "../../chunks/vendor-CalMVkfj.js";
|
|
4
4
|
import { CrossStrokeSrvIcon24 as a, CrossStrokeSrvIcon20 as i, CrossStrokeSrvIcon16 as m } from "@sberbusiness/icons-next";
|
|
5
5
|
import { EComponentSize as t } from "../../enums/EComponentSize.js";
|
|
6
6
|
import { ButtonIcon as l } from "../Button/ButtonIcon.js";
|
|
7
|
-
const C = "
|
|
7
|
+
const C = "chipClearButton__31be100c", f = {
|
|
8
8
|
chipClearButton: C
|
|
9
9
|
}, I = {
|
|
10
10
|
[t.SM]: /* @__PURE__ */ o(m, { paletteIndex: 6 }),
|
|
11
11
|
[t.MD]: /* @__PURE__ */ o(i, { paletteIndex: 6 }),
|
|
12
12
|
[t.LG]: /* @__PURE__ */ o(a, { paletteIndex: 6 })
|
|
13
|
-
}, S =
|
|
14
|
-
({ className: r, size: e = t.MD, ...
|
|
13
|
+
}, S = c.forwardRef(
|
|
14
|
+
({ className: r, size: e = t.MD, ...n }, s) => /* @__PURE__ */ o(l, { className: p(f.chipClearButton, r), ...n, ref: s, children: I[e] })
|
|
15
15
|
);
|
|
16
16
|
S.displayName = "ChipClearButton";
|
|
17
17
|
export {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { jsx as g } from "react/jsx-runtime";
|
|
2
|
+
import N, { useState as O, useRef as h, useEffect as j } from "react";
|
|
3
|
+
import k from "moment";
|
|
4
4
|
import { dateFormatYYYYMMDD as z, globalLimitRange as B } from "../../../consts/DateConst.js";
|
|
5
5
|
import { DateFieldUtils as u } from "../../DateField/utils.js";
|
|
6
6
|
import { DatePickerExtended as G } from "../../DatePickerExtended/DatePickerExtended.js";
|
|
7
7
|
import { ChipDatePickerTarget as H } 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 L } from "../../../chunks/Chip-
|
|
11
|
-
const U =
|
|
10
|
+
import { s as L } from "../../../chunks/Chip-CY6jm0GS.js";
|
|
11
|
+
const U = N.forwardRef((S, V) => {
|
|
12
12
|
const {
|
|
13
13
|
value: o,
|
|
14
14
|
label: P,
|
|
@@ -23,23 +23,23 @@ const U = E.forwardRef((S, V) => {
|
|
|
23
23
|
onDropdownClose: p,
|
|
24
24
|
size: v,
|
|
25
25
|
...y
|
|
26
|
-
} = S, [r, d] =
|
|
26
|
+
} = S, [r, d] = O(
|
|
27
27
|
u.getPickerValues(o, n, a, i)
|
|
28
|
-
), l = h(r), f = h(!1),
|
|
29
|
-
|
|
28
|
+
), l = h(r), f = h(!1), m = h(!1);
|
|
29
|
+
j(() => {
|
|
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(H, { 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,
|
|
@@ -51,7 +51,7 @@ const U = E.forwardRef((S, V) => {
|
|
|
51
51
|
), T = (e) => {
|
|
52
52
|
let t = null;
|
|
53
53
|
e.target.value.length === D.length && (t = k(e.target.value, D, !0), (!t.isValid() || !u.isAvailableDate(t, t.format(n), a, i)) && (t = null)), d({ calendarDate: t, inputString: e.target.value });
|
|
54
|
-
},
|
|
54
|
+
}, A = () => {
|
|
55
55
|
if (r.inputString.length === 0 && o.length !== 0)
|
|
56
56
|
return s(r.inputString);
|
|
57
57
|
const e = k(r.inputString, D, !0);
|
|
@@ -63,10 +63,10 @@ const U = E.forwardRef((S, V) => {
|
|
|
63
63
|
return s(t);
|
|
64
64
|
}
|
|
65
65
|
r.inputString !== l.current.inputString && d(l.current);
|
|
66
|
-
},
|
|
67
|
-
|
|
66
|
+
}, E = (e) => {
|
|
67
|
+
m.current = !0, s(e.format(n));
|
|
68
68
|
};
|
|
69
|
-
return /* @__PURE__ */
|
|
69
|
+
return /* @__PURE__ */ g(
|
|
70
70
|
G,
|
|
71
71
|
{
|
|
72
72
|
className: L.chipGroupItem,
|
|
@@ -77,7 +77,7 @@ const U = E.forwardRef((S, V) => {
|
|
|
77
77
|
limitRange: a,
|
|
78
78
|
onDropdownOpen: I,
|
|
79
79
|
onDropdownClose: Y,
|
|
80
|
-
onDateChange:
|
|
80
|
+
onDateChange: E,
|
|
81
81
|
disabledDays: i,
|
|
82
82
|
...y,
|
|
83
83
|
ref: V
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import u, { useContext as D } from "react";
|
|
3
|
-
import { C as k } from "../../../chunks/Chip-
|
|
3
|
+
import { C as k } from "../../../chunks/Chip-CY6jm0GS.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,18 +1,18 @@
|
|
|
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:
|
|
6
|
-
rotated:
|
|
7
|
-
},
|
|
3
|
+
import { c } from "../../chunks/vendor-CalMVkfj.js";
|
|
4
|
+
const d = "chipDropdownArrow__38378cb8", e = "rotated__1ca1efbd", o = {
|
|
5
|
+
chipDropdownArrow: d,
|
|
6
|
+
rotated: e
|
|
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
|
);
|
|
14
|
-
|
|
14
|
+
n.displayName = "ChipDropdownArrow";
|
|
15
15
|
export {
|
|
16
|
-
|
|
16
|
+
n as ChipDropdownArrow
|
|
17
17
|
};
|
|
18
18
|
//# sourceMappingURL=ChipDropdownArrow.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import f from "react";
|
|
3
|
-
import { C as m } from "../../chunks/Chip-
|
|
3
|
+
import { C as m } from "../../chunks/Chip-CY6jm0GS.js";
|
|
4
4
|
const t = f.forwardRef(({ children: p, ...r }, i) => /* @__PURE__ */ o(m, { ...r, prefix: p, postfix: /* @__PURE__ */ o("span", {}), ref: i }));
|
|
5
5
|
t.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-CY6jm0GS.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-CalMVkfj.js";
|
|
9
9
|
const B = w.forwardRef(
|
|
10
10
|
({ children: s, className: c, clearSelected: p, disabled: m, label: a, displayedValue: C, selected: i, size: e, ...d }, f) => {
|
|
11
11
|
const h = (o) => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import a from "react";
|
|
3
3
|
import { OptionsStrokeSrvIcon24 as i } from "@sberbusiness/icons-next";
|
|
4
|
-
import { C } from "../../chunks/Chip-
|
|
4
|
+
import { C } from "../../chunks/Chip-CY6jm0GS.js";
|
|
5
5
|
import { ChipClearButton as f } from "./ChipClearButton.js";
|
|
6
|
-
const
|
|
7
|
-
chipOptionsContent:
|
|
6
|
+
const c = "chipOptionsContent__2f8fe96c", m = {
|
|
7
|
+
chipOptionsContent: c
|
|
8
8
|
}, l = a.forwardRef(
|
|
9
9
|
({ children: o, clearSelected: e, selected: n, ...p }, s) => /* @__PURE__ */ t(
|
|
10
10
|
C,
|
|
@@ -16,7 +16,7 @@ const m = "chipOptionsContent__2d48f5e6", c = {
|
|
|
16
16
|
selected: n,
|
|
17
17
|
...p,
|
|
18
18
|
ref: s,
|
|
19
|
-
children: typeof o < "u" ? /* @__PURE__ */ t("span", { className:
|
|
19
|
+
children: typeof o < "u" ? /* @__PURE__ */ t("span", { className: m.chipOptionsContent, children: o }) : o
|
|
20
20
|
}
|
|
21
21
|
)
|
|
22
22
|
);
|
|
@@ -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-CY6jm0GS.js";
|
|
9
|
+
import { c as g } from "../../../chunks/vendor-CalMVkfj.js";
|
|
10
10
|
const y = S.forwardRef(
|
|
11
11
|
({ className: m, clearSelected: d, disabled: c, size: o, label: i, displayedValue: p, onChange: l, options: s, value: e, ...n }, f) => {
|
|
12
12
|
const a = (r) => /* @__PURE__ */ t(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as l } 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-CY6jm0GS.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";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import b from "react";
|
|
3
|
-
import { l as C, c as l } from "../../chunks/vendor-
|
|
3
|
+
import { l as C, c as l } from "../../chunks/vendor-CalMVkfj.js";
|
|
4
4
|
import { ChipIcon as E } from "./ChipIcon.js";
|
|
5
5
|
import { SortStrokeSrvIcon24 as m } from "@sberbusiness/icons-next";
|
|
6
6
|
import { SelectExtendedField as u } from "../SelectExtendedField/SelectExtendedField.js";
|
|
7
7
|
import "../SelectExtendedField/components/SelectExtendedFieldDropdown.js";
|
|
8
8
|
import "../SelectExtendedField/components/SelectExtendedFieldTarget.js";
|
|
9
9
|
import { SelectExtendedFieldDropdownDefault as w } from "../SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js";
|
|
10
|
-
import { s as D } from "../../chunks/Chip-
|
|
10
|
+
import { s as D } from "../../chunks/Chip-CY6jm0GS.js";
|
|
11
11
|
const N = b.forwardRef(
|
|
12
12
|
({ className: a, defaultValue: p, disabled: d, label: s, onChange: c, options: n, value: r, size: t, ...f }, x) => {
|
|
13
13
|
const i = !!r && !C.isEqual(p, r), h = ({ opened: e, setOpened: I }) => /* @__PURE__ */ o(
|