@sberbusiness/triplex-next 1.15.0 → 1.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunks/AlertProcessSpoiler-t7fDdqO9.js +39 -0
- package/chunks/{CalendarViewItem-B0gKGk70.js → CalendarViewItem-C2DNB4Jw.js} +26 -26
- package/chunks/Card.module-CoTlxJ6e.js +17 -0
- package/chunks/CheckboxTreeExtended.module-bZi9dSDw.js +14 -0
- package/chunks/{Chip-L-EcpRzH.js → Chip-Cf-GM0CV.js} +14 -14
- package/chunks/Confirm.module-BI8PM4Hz.js +15 -0
- package/chunks/{DropdownListItem-khM2CJWN.js → DropdownListItem-Cy40lpF7.js} +3 -3
- package/chunks/DropdownMobile.module-CiteH_xj.js +23 -0
- package/chunks/Footer.module-DnotaF0A.js +9 -0
- package/chunks/FormFieldInput-AMteABRz.js +60 -0
- package/chunks/HeaderLayoutSidebar.module-Bd_GF8rz.js +9 -0
- package/chunks/HeaderTabs.module-Cfl_jvQ5.js +9 -0
- package/chunks/{HeaderTitle.module-Dmmc04q6.js → HeaderTitle.module-CWH4Qtxu.js} +2 -2
- package/chunks/IslandAccordion.module-C-ODuVTy.js +25 -0
- package/chunks/IslandWidgetFooter.module-BKWOZe3U.js +9 -0
- package/chunks/IslandWidgetHeader.module-iR-r9VBx.js +12 -0
- package/chunks/{LightBoxContent-CjX1eN8g.js → LightBoxContent-OGbq-MPG.js} +14 -14
- package/chunks/LightBoxControls.module-yMjZxWFf.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-DIr7bB-Q.js +8 -0
- package/chunks/{ListItemControlsButton-OLK_OaQU.js → ListItemControlsButton-D5VCVobZ.js} +13 -13
- package/chunks/ListItemTail.module-psSZKLRd.js +12 -0
- package/chunks/ListMasterFooter.module-B-sVcLFb.js +10 -0
- package/chunks/ModalWindow.module-kWUQDYW7.js +17 -0
- package/chunks/Notification.module-CglusCHB.js +21 -0
- package/chunks/Overlay.module-DrUdkKMZ.js +18 -0
- package/chunks/Page.module-BqOHwRFw.js +11 -0
- package/chunks/{RightBorderArrow-DbiOM5xn.js → RightBorderArrow-Cg9t6wps.js} +13 -13
- package/chunks/SMSField.module-Bu6Qam45.js +16 -0
- package/chunks/SliderExtendedMarks.module-BtIySKC1.js +15 -0
- package/chunks/{SliderExtendedRail-CVnVXjG6.js → SliderExtendedRail-C3YHkDdA.js} +9 -9
- package/chunks/StatusTracker.module-C6hh8Ogq.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-DWutbDoW.js → SuggestFieldMobileDropdownHint-DFpzFnw4.js} +2 -2
- package/chunks/TableFooter.module-CD1rdwIS.js +14 -0
- package/chunks/TabsExtended.module-dt080T3c.js +16 -0
- package/chunks/TabsLine.module-BxpgcF_Y.js +21 -0
- package/chunks/TooltipDesktop.module-Dg73ZVxN.js +19 -0
- package/chunks/TreeView.module-IDSIrNif.js +9 -0
- package/chunks/{UploadZoneInput-BceBvb-b.js → UploadZoneInput-y4jP_J3Z.js} +8 -8
- package/chunks/{constants-BUeoiUro.js → constants-BVwJOKSH.js} +10 -10
- package/chunks/utils-C2wI3ypW.js +27 -0
- package/chunks/{utils-NV5e2Mzn.js → utils-CnUVPndw.js} +4 -4
- package/chunks/utils-DTJIF2M7.js +24 -0
- package/chunks/utils-DfZbK225.js +73 -0
- package/chunks/{vendor-DucOfXwy.js → vendor-Dlne6Znf.js} +5 -5
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +4 -4
- package/components/Alert/AlertContext/AlertContext.js +14 -14
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +8 -8
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +6 -6
- package/components/Badge/Badge.js +26 -13
- package/components/Badge/BadgeDot.js +15 -0
- package/components/Badge/components/BadgeContent.js +35 -0
- package/components/Badge/components/BadgePostfix.js +14 -0
- package/components/Badge/components/BadgePrefix.js +10 -0
- package/components/Body/Body.js +3 -3
- package/components/Button/Button.js +27 -27
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +13 -13
- package/components/Button/ButtonDropdownExtended.js +9 -9
- package/components/Button/ButtonIcon.js +5 -5
- package/components/Calendar/Calendar.js +6 -6
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarViewDays.js +2 -2
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +14 -14
- 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 +9 -9
- package/components/Checkbox/CheckboxXGroup.js +13 -13
- package/components/Checkbox/CheckboxYGroup.js +9 -9
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +7 -7
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +5 -5
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +8 -8
- package/components/Chip/ChipSelect/ChipSelect.js +2 -2
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +51 -42
- 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 +13 -13
- package/components/Col/Col.js +146 -146
- package/components/CollapsableTree/components/CollapsableTreeNode.js +6 -6
- package/components/Confirm/Confirm.js +2 -2
- package/components/Confirm/components/ConfirmCloseButton.js +2 -2
- package/components/Confirm/components/ConfirmContent.js +2 -2
- package/components/Confirm/components/ConfirmContentTitle.js +2 -2
- package/components/Confirm/components/ConfirmControls.js +2 -2
- package/components/DateField/DateField.js +1 -1
- package/components/DateField/DateFieldTarget.js +31 -30
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +5 -5
- package/components/DateRange/DateRange.js +7 -7
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/Divider/Divider.js +24 -24
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +9 -9
- package/components/Dropdown/desktop/DropdownDesktop.js +3 -3
- 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 +4 -4
- package/components/Ellipsis/Ellipsis.js +10 -10
- package/components/ExpandAnimation/ExpandAnimation.js +13 -13
- package/components/ExpandAnimation/index.js +5 -0
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +2 -2
- package/components/Footer/components/FooterDescriptionContent.js +2 -2
- package/components/Footer/components/FooterDescriptionControls.js +2 -2
- package/components/FormField/FormField.js +22 -22
- package/components/FormField/components/FormFieldClear.js +7 -7
- package/components/FormField/components/FormFieldCounter.js +1 -1
- package/components/FormField/components/FormFieldDescription.js +4 -4
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +8 -8
- package/components/FormField/components/FormFieldMaskedInput.js +20 -20
- package/components/FormField/components/FormFieldPostfix.js +9 -9
- package/components/FormField/components/FormFieldPrefix.js +7 -7
- package/components/FormField/components/FormFieldTarget.js +5 -5
- package/components/FormField/components/FormFieldTextarea.js +12 -12
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +5 -5
- 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 +35 -34
- 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 +4 -4
- 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 +8 -8
- package/components/IslandWidget/IslandWidget.js +6 -6
- package/components/IslandWidget/components/IslandWidgetBody.js +4 -4
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +11 -11
- 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 +5 -5
- package/components/LightBox/LightBox.js +23 -24
- 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 +70 -72
- 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/LightBoxSideOverlay/index.js +0 -2
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +7 -7
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +2 -2
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/LightBox/index.js +0 -2
- package/components/Link/Link.js +18 -18
- package/components/List/List.js +7 -7
- 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 +11 -11
- package/components/List/components/ListItemControls.js +2 -2
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +9 -9
- package/components/List/components/ListItemLoading.js +3 -3
- package/components/List/components/ListItemSelectable.js +5 -5
- 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 +9 -9
- 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 +8 -8
- package/components/ListMaster/components/SelectionControls.js +3 -3
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +6 -6
- package/components/Loader/LoaderSmall/LoaderSmall.js +11 -11
- package/components/LoaderScreen/LoaderScreen.js +13 -13
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +9 -9
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +5 -5
- package/components/ModalWindow/components/ModalWindowClose.js +4 -4
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +6 -6
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +4 -4
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +6 -6
- 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 +1 -1
- package/components/OrderedList/OrderedList.js +3 -3
- package/components/OrderedList/OrderedListItem.js +11 -11
- 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 +8 -8
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +4 -4
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +2 -2
- package/components/Pagination/components/PaginationPageEllipsis.js +6 -6
- package/components/Pagination/components/PaginationSelect.js +10 -10
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +8 -8
- package/components/Radio/RadioXGroup.js +11 -11
- package/components/Radio/RadioYGroup.js +5 -5
- 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 +11 -11
- package/components/SegmentedControl/SegmentedControlSegment.js +17 -17
- package/components/SelectExtendedField/SelectExtendedField.js +2 -2
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +15 -15
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +16 -16
- package/components/SelectField/SelectField.js +11 -11
- package/components/Skeleton/Skeleton.js +3 -3
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +19 -19
- 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 +5 -5
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +23 -23
- package/components/SmallInput/SmallInput.js +2 -2
- package/components/Spoiler/Spoiler.js +17 -17
- 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 +14 -14
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +2 -2
- package/components/Stepper/StepperExtended.js +6 -6
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +3 -3
- package/components/Suggest/SuggestMobileDropdownContent.js +6 -6
- package/components/Suggest/useSuggest.js +3 -3
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +8 -8
- 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 +21 -21
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +19 -19
- package/components/Table/NoColumns.js +5 -5
- package/components/Table/PaginationPanel.js +5 -5
- package/components/Table/TableBasic/TableBasic.js +2 -2
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +6 -6
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +7 -7
- 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 +3 -3
- package/components/Table/TabsLinePanelLinks.js +2 -2
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +21 -21
- package/components/TabsExtended/TabsExtended.js +3 -3
- package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +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 +8 -8
- package/components/Tag/Tag.js +12 -12
- package/components/TagColor/TagColor.js +9 -9
- package/components/TagGroup/TagGroup.js +7 -7
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +1 -1
- package/components/ThemeProvider/components/ThemeProviderView.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +8 -8
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
- package/components/Tooltip/components/mobile/TooltipMobile.js +4 -4
- package/components/TopOverlay/TopOverlay.js +16 -16
- 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 +31 -31
- package/components/Typography/Text.js +14 -14
- package/components/Typography/Title.js +12 -12
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +9 -9
- package/components/UnorderedList/UnorderedListItem.js +11 -11
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +162 -162
- package/index.d.ts +40 -13
- package/index.js +161 -161
- package/package.json +5 -1
- package/styles/triplex-next.css +546 -546
- package/utils/amountUtils.js +1 -1
- package/chunks/AlertProcessSpoiler-BHAU8N38.js +0 -39
- package/chunks/Card.module-eeYi3ItS.js +0 -17
- package/chunks/CheckboxTreeExtended.module-CIXQDBeU.js +0 -14
- package/chunks/Confirm.module-BgO9xuES.js +0 -15
- package/chunks/DropdownMobile.module-Bya5zssZ.js +0 -23
- package/chunks/Footer.module-Bxx6jElq.js +0 -9
- package/chunks/FormFieldInput-D2EXurFF.js +0 -60
- package/chunks/HeaderLayoutSidebar.module-C5m0I2xF.js +0 -9
- package/chunks/HeaderTabs.module-C3-8xyq-.js +0 -9
- package/chunks/IslandAccordion.module-Cqv_yxiK.js +0 -25
- package/chunks/IslandWidgetFooter.module-PaNLvdB0.js +0 -9
- package/chunks/IslandWidgetHeader.module-D_ZngNjX.js +0 -12
- package/chunks/LightBoxControls.module-D7BQsPK3.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-DiEMyDDt.js +0 -8
- package/chunks/ListItemTail.module-DxIG-P_H.js +0 -12
- package/chunks/ListMasterFooter.module-DPZnWvfb.js +0 -10
- package/chunks/ModalWindow.module-D4shxCeu.js +0 -17
- package/chunks/Notification.module-B29_MBTz.js +0 -21
- package/chunks/Overlay.module-BJJ7PDLJ.js +0 -18
- package/chunks/Page.module-CzfG8baM.js +0 -11
- package/chunks/SMSField.module-BDZwT1N-.js +0 -16
- package/chunks/SliderExtendedMarks.module-Bhhqk5er.js +0 -15
- package/chunks/StatusTracker.module-CWpv3e3x.js +0 -24
- package/chunks/TableFooter.module-NX6NNBfH.js +0 -14
- package/chunks/TabsExtended.module-Bga_JXqh.js +0 -16
- package/chunks/TabsLine.module-BMBZODMz.js +0 -21
- package/chunks/TooltipDesktop.module-tqRh40wY.js +0 -19
- package/chunks/TreeView.module-Bkn2k1RS.js +0 -9
- package/chunks/utils-DKorGAMQ.js +0 -73
- package/chunks/utils-Sxh3Du0J.js +0 -24
- package/chunks/utils-tf6Rfsu7.js +0 -27
- package/components/LightBox/LightBoxSideOverlay/enums.js +0 -5
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import { c as d } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
3
3
|
import { FormFieldMaskedInput as o } from "../../FormField/components/FormFieldMaskedInput.js";
|
|
4
|
-
const t = "
|
|
4
|
+
const t = "dropdownMobileMaskedInput__47eb6b36", r = {
|
|
5
5
|
dropdownMobileMaskedInput: t
|
|
6
|
-
}, n = ({ className:
|
|
6
|
+
}, n = ({ className: e, ...s }) => /* @__PURE__ */ p(o, { className: d(r.dropdownMobileMaskedInput, e), ...s });
|
|
7
7
|
n.presets = o.presets;
|
|
8
8
|
export {
|
|
9
9
|
n as DropdownMobileMaskedInput
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import t from "react";
|
|
3
|
-
import { c } from "../../chunks/vendor-
|
|
4
|
-
const m = "
|
|
3
|
+
import { c } from "../../chunks/vendor-Dlne6Znf.js";
|
|
4
|
+
const m = "ellipsisLineClamp__c0af19cc", r = "oneLine__b5177e81", e = {
|
|
5
5
|
ellipsisLineClamp: m,
|
|
6
6
|
oneLine: r
|
|
7
7
|
}, f = t.forwardRef(
|
|
8
|
-
({ children: i, maxLines:
|
|
9
|
-
const
|
|
10
|
-
return /* @__PURE__ */
|
|
8
|
+
({ children: i, maxLines: s, className: l, ...n }, a) => {
|
|
9
|
+
const o = c(e.ellipsisLineClamp, { [e.oneLine]: s === 1 }, l);
|
|
10
|
+
return /* @__PURE__ */ p(
|
|
11
11
|
"div",
|
|
12
12
|
{
|
|
13
|
-
className:
|
|
14
|
-
style: { "--ellipsis-line-clamp":
|
|
13
|
+
className: o,
|
|
14
|
+
style: { "--ellipsis-line-clamp": s },
|
|
15
15
|
...n,
|
|
16
|
-
"data-tx": "1.
|
|
17
|
-
ref:
|
|
16
|
+
"data-tx": "1.17.0",
|
|
17
|
+
ref: a,
|
|
18
18
|
children: i
|
|
19
19
|
}
|
|
20
20
|
);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as g } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
const F = "
|
|
2
|
+
import N, { useRef as E } from "react";
|
|
3
|
+
import { E as U, c as j } from "../../chunks/vendor-Dlne6Znf.js";
|
|
4
|
+
const F = "expandAnimation__aaeb7765", I = {
|
|
5
5
|
expandAnimation: F
|
|
6
|
-
}, L = 300, M =
|
|
6
|
+
}, L = 300, M = N.forwardRef(
|
|
7
7
|
({
|
|
8
8
|
children: y,
|
|
9
|
-
className:
|
|
9
|
+
className: A,
|
|
10
10
|
expanded: v,
|
|
11
11
|
animationTime: f = L,
|
|
12
12
|
style: R,
|
|
@@ -15,13 +15,13 @@ const F = "expandAnimation__17e5821e", I = {
|
|
|
15
15
|
transitionProps: e,
|
|
16
16
|
..._
|
|
17
17
|
}, x) => {
|
|
18
|
-
const m =
|
|
18
|
+
const m = E({
|
|
19
19
|
entering: { height: void 0, overflow: "hidden" },
|
|
20
20
|
entered: {},
|
|
21
21
|
exiting: { height: 0, overflow: "hidden" },
|
|
22
22
|
exited: { height: 0, overflow: "hidden", visibility: "hidden" },
|
|
23
23
|
unmounted: {}
|
|
24
|
-
}), l =
|
|
24
|
+
}), l = E(null), w = (c) => {
|
|
25
25
|
var u;
|
|
26
26
|
l.current && (m.current.entering.height = l.current.scrollHeight), d == null || d(), (u = e == null ? void 0 : e.onEnter) == null || u.call(e, c);
|
|
27
27
|
}, H = (c) => {
|
|
@@ -30,14 +30,14 @@ const F = "expandAnimation__17e5821e", I = {
|
|
|
30
30
|
}, T = () => {
|
|
31
31
|
var c;
|
|
32
32
|
l.current && (l.current.style.height = l.current.scrollHeight + "px", l.current.scrollHeight), d == null || d(), (c = e == null ? void 0 : e.onExit) == null || c.call(e);
|
|
33
|
-
},
|
|
33
|
+
}, b = () => {
|
|
34
34
|
var c;
|
|
35
35
|
h == null || h(), (c = e == null ? void 0 : e.onExited) == null || c.call(e);
|
|
36
|
-
},
|
|
36
|
+
}, D = (c) => {
|
|
37
37
|
l.current = c, typeof x == "function" ? x(c) : x && (x.current = c);
|
|
38
38
|
};
|
|
39
39
|
return /* @__PURE__ */ g(
|
|
40
|
-
|
|
40
|
+
U,
|
|
41
41
|
{
|
|
42
42
|
in: v,
|
|
43
43
|
timeout: f,
|
|
@@ -46,18 +46,18 @@ const F = "expandAnimation__17e5821e", I = {
|
|
|
46
46
|
onEnter: w,
|
|
47
47
|
onEntered: H,
|
|
48
48
|
onExit: T,
|
|
49
|
-
onExited:
|
|
49
|
+
onExited: b,
|
|
50
50
|
children: (c) => /* @__PURE__ */ g(
|
|
51
51
|
"div",
|
|
52
52
|
{
|
|
53
|
-
className: j(I.expandAnimation,
|
|
53
|
+
className: j(I.expandAnimation, A),
|
|
54
54
|
style: {
|
|
55
55
|
transitionDuration: f + "ms",
|
|
56
56
|
...m.current[c],
|
|
57
57
|
...R
|
|
58
58
|
},
|
|
59
59
|
..._,
|
|
60
|
-
ref:
|
|
60
|
+
ref: D,
|
|
61
61
|
children: y
|
|
62
62
|
}
|
|
63
63
|
)
|
|
@@ -5,7 +5,7 @@ import "./components/FooterDescriptionControls.js";
|
|
|
5
5
|
import "./components/FooterDescriptionContent.js";
|
|
6
6
|
const p = Object.assign(
|
|
7
7
|
i.forwardRef(function({ children: o, ...t }, r) {
|
|
8
|
-
return /* @__PURE__ */ e("div", { ...t, "data-tx": "1.
|
|
8
|
+
return /* @__PURE__ */ e("div", { ...t, "data-tx": "1.17.0", ref: r, children: o });
|
|
9
9
|
}),
|
|
10
10
|
{
|
|
11
11
|
Description: m
|
|
@@ -2,8 +2,8 @@ import { jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import s from "react";
|
|
3
3
|
import { FooterDescriptionContent as n } from "./FooterDescriptionContent.js";
|
|
4
4
|
import { FooterDescriptionControls as m } from "./FooterDescriptionControls.js";
|
|
5
|
-
import { c as p } from "../../../chunks/vendor-
|
|
6
|
-
import { s as c } from "../../../chunks/Footer.module-
|
|
5
|
+
import { c as p } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
6
|
+
import { s as c } from "../../../chunks/Footer.module-DnotaF0A.js";
|
|
7
7
|
const f = Object.assign(
|
|
8
8
|
s.forwardRef(function({ children: o, className: t, ...r }, e) {
|
|
9
9
|
return /* @__PURE__ */ i("div", { className: p(c.footerDescription, t), ...r, ref: e, children: o });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
|
-
import { c as m } from "../../../chunks/vendor-
|
|
4
|
-
import { s as n } from "../../../chunks/Footer.module-
|
|
3
|
+
import { c as m } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
4
|
+
import { s as n } from "../../../chunks/Footer.module-DnotaF0A.js";
|
|
5
5
|
const a = i.forwardRef(
|
|
6
6
|
({ children: o, className: t, ...r }, e) => /* @__PURE__ */ s("div", { className: m(n.footerDescriptionContent, t), ...r, ref: e, children: o })
|
|
7
7
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
|
-
import { c as m } from "../../../chunks/vendor-
|
|
4
|
-
import { s as a } from "../../../chunks/Footer.module-
|
|
3
|
+
import { c as m } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
4
|
+
import { s as a } from "../../../chunks/Footer.module-DnotaF0A.js";
|
|
5
5
|
const p = i.forwardRef(
|
|
6
6
|
({ children: o, className: r, ...t }, s) => /* @__PURE__ */ e("div", { className: m(a.footerDescriptionControls, r), ...t, ref: s, children: o })
|
|
7
7
|
);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import C, { useState as
|
|
3
|
-
import { c as S } from "../../chunks/vendor-
|
|
2
|
+
import C, { useState as t } from "react";
|
|
3
|
+
import { c as S } from "../../chunks/vendor-Dlne6Znf.js";
|
|
4
4
|
import { FormFieldContext as W } from "./FormFieldContext.js";
|
|
5
5
|
import { TARGET_PADDING_X_DEFAULT as _ } from "./consts.js";
|
|
6
6
|
import { EFormFieldStatus as s } from "./enums.js";
|
|
7
7
|
import { EComponentSize as G } from "../../enums/EComponentSize.js";
|
|
8
8
|
import { createSizeToClassNameMap as I } from "../../utils/classNameMaps.js";
|
|
9
|
-
const L = "
|
|
9
|
+
const L = "formField__eeb249da", P = "disabled__f0d34e29", y = "active__bbf7633c", U = "error__b0552519", z = "warning__e0a93e19", j = "sm__159406fa", B = "md__7a7f132f", H = "lg__2beef4b4", e = {
|
|
10
10
|
formField: L,
|
|
11
|
-
default: "
|
|
11
|
+
default: "default__1fc86d4a",
|
|
12
12
|
disabled: P,
|
|
13
13
|
active: y,
|
|
14
14
|
error: U,
|
|
@@ -17,11 +17,11 @@ const L = "formField__15f75360", P = "disabled__763082bf", y = "active__3f1b38cf
|
|
|
17
17
|
md: B,
|
|
18
18
|
lg: H
|
|
19
19
|
}, O = {
|
|
20
|
-
[s.DEFAULT]:
|
|
21
|
-
[s.DISABLED]:
|
|
22
|
-
[s.ERROR]:
|
|
23
|
-
[s.WARNING]:
|
|
24
|
-
}, V = I(
|
|
20
|
+
[s.DEFAULT]: e.default,
|
|
21
|
+
[s.DISABLED]: e.disabled,
|
|
22
|
+
[s.ERROR]: e.error,
|
|
23
|
+
[s.WARNING]: e.warning
|
|
24
|
+
}, V = I(e), X = C.forwardRef(
|
|
25
25
|
({
|
|
26
26
|
children: p,
|
|
27
27
|
className: F,
|
|
@@ -30,9 +30,9 @@ const L = "formField__15f75360", P = "disabled__763082bf", y = "active__3f1b38cf
|
|
|
30
30
|
onMouseLeave: r,
|
|
31
31
|
style: x,
|
|
32
32
|
size: i = G.LG,
|
|
33
|
-
...
|
|
34
|
-
},
|
|
35
|
-
const [l,
|
|
33
|
+
...b
|
|
34
|
+
}, g) => {
|
|
35
|
+
const [l, h] = t(!1), [u, m] = t(!1), [v, E] = t(""), [f, N] = t(_), [c, R] = t(_), [T, A] = t(!1), D = (a) => {
|
|
36
36
|
m(!0), o == null || o(a);
|
|
37
37
|
}, w = (a) => {
|
|
38
38
|
m(!1), r == null || r(a);
|
|
@@ -43,11 +43,11 @@ const L = "formField__15f75360", P = "disabled__763082bf", y = "active__3f1b38cf
|
|
|
43
43
|
value: {
|
|
44
44
|
status: d,
|
|
45
45
|
focused: l,
|
|
46
|
-
hovered:
|
|
46
|
+
hovered: u,
|
|
47
47
|
id: v,
|
|
48
|
-
postfixWidth:
|
|
49
|
-
prefixWidth:
|
|
50
|
-
setFocused:
|
|
48
|
+
postfixWidth: f,
|
|
49
|
+
prefixWidth: c,
|
|
50
|
+
setFocused: h,
|
|
51
51
|
setId: E,
|
|
52
52
|
setPostfixWidth: N,
|
|
53
53
|
setPrefixWidth: R,
|
|
@@ -59,20 +59,20 @@ const L = "formField__15f75360", P = "disabled__763082bf", y = "active__3f1b38cf
|
|
|
59
59
|
"div",
|
|
60
60
|
{
|
|
61
61
|
className: S(
|
|
62
|
-
|
|
62
|
+
e.formField,
|
|
63
63
|
V[i],
|
|
64
64
|
O[d],
|
|
65
65
|
{
|
|
66
|
-
[
|
|
66
|
+
[e.active]: l
|
|
67
67
|
},
|
|
68
68
|
F
|
|
69
69
|
),
|
|
70
70
|
onMouseEnter: D,
|
|
71
71
|
onMouseLeave: w,
|
|
72
|
-
"data-tx": "1.
|
|
73
|
-
style: { paddingLeft:
|
|
74
|
-
...
|
|
75
|
-
ref:
|
|
72
|
+
"data-tx": "1.17.0",
|
|
73
|
+
style: { paddingLeft: c, paddingRight: f, ...x },
|
|
74
|
+
...b,
|
|
75
|
+
ref: g,
|
|
76
76
|
children: p
|
|
77
77
|
}
|
|
78
78
|
)
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import f, { useContext as F } from "react";
|
|
3
|
-
import { c as p } from "../../../chunks/vendor-
|
|
3
|
+
import { c as p } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
4
4
|
import { CrossStrokeSrvIcon16 as h } from "@sberbusiness/icons-next";
|
|
5
5
|
import { FormFieldContext as C } from "../FormFieldContext.js";
|
|
6
6
|
import { EFormFieldStatus as u } from "../enums.js";
|
|
7
7
|
import { ButtonIcon as x } from "../../Button/ButtonIcon.js";
|
|
8
|
-
const _ = "
|
|
8
|
+
const _ = "formFieldClear__ee20add1", v = "hidden__a846d5e4", t = {
|
|
9
9
|
formFieldClear: _,
|
|
10
10
|
hidden: v
|
|
11
11
|
}, I = f.forwardRef(
|
|
12
|
-
({ className:
|
|
13
|
-
const { status:
|
|
12
|
+
({ className: d, onMouseDown: e, ...l }, a) => {
|
|
13
|
+
const { status: m, focused: s, hovered: i, valueExist: n } = F(C), c = p(
|
|
14
14
|
t.formFieldClear,
|
|
15
15
|
"hoverable",
|
|
16
16
|
{
|
|
17
|
-
[t.hidden]: !n ||
|
|
17
|
+
[t.hidden]: !n || m === u.DISABLED || !(s || i)
|
|
18
18
|
},
|
|
19
|
-
|
|
19
|
+
d
|
|
20
20
|
);
|
|
21
21
|
return /* @__PURE__ */ o(x, { className: c, onMouseDown: (r) => {
|
|
22
22
|
r.preventDefault(), e == null || e(r);
|
|
23
|
-
}, ...
|
|
23
|
+
}, ...l, ref: a, children: /* @__PURE__ */ o(h, { paletteIndex: 5 }) });
|
|
24
24
|
}
|
|
25
25
|
);
|
|
26
26
|
I.displayName = "FormFieldClear";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as i, useEffect as m } from "react";
|
|
3
3
|
import { FormFieldDescriptionContext as n } from "../FormFieldDescriptionContext.js";
|
|
4
|
-
const s = "
|
|
4
|
+
const s = "formFieldCounter__54703cbd", u = {
|
|
5
5
|
formFieldCounter: s
|
|
6
6
|
}, d = ({ children: o, ...e }) => {
|
|
7
7
|
const { setWithCounter: t } = i(n);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useState as n } from "react";
|
|
3
|
-
import { c } from "../../../chunks/vendor-
|
|
3
|
+
import { c } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
4
4
|
import { FormFieldDescriptionContext as m } from "../FormFieldDescriptionContext.js";
|
|
5
|
-
const l = "
|
|
5
|
+
const l = "formFieldDescription__08896a93", p = "withCounter__c618e83b", i = {
|
|
6
6
|
formFieldDescription: l,
|
|
7
7
|
withCounter: p
|
|
8
|
-
}, d = ({ children:
|
|
8
|
+
}, d = ({ children: e, ...r }) => {
|
|
9
9
|
const [o, s] = n(!1);
|
|
10
|
-
return /* @__PURE__ */ t(m.Provider, { value: { withCounter: o, setWithCounter: s }, children: /* @__PURE__ */ t("div", { className: c(
|
|
10
|
+
return /* @__PURE__ */ t(m.Provider, { value: { withCounter: o, setWithCounter: s }, children: /* @__PURE__ */ t("div", { className: c(i.formFieldDescription, { [i.withCounter]: o }), ...r, children: e }) });
|
|
11
11
|
};
|
|
12
12
|
d.displayName = "FormFieldDescription";
|
|
13
13
|
export {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../FormFieldContext.js";
|
|
4
|
-
import "../../../chunks/vendor-
|
|
5
|
-
import { F as a } from "../../../chunks/FormFieldInput-
|
|
4
|
+
import "../../../chunks/vendor-Dlne6Znf.js";
|
|
5
|
+
import { F as a } from "../../../chunks/FormFieldInput-AMteABRz.js";
|
|
6
6
|
import "../enums.js";
|
|
7
7
|
import "../../../utils/classNameMaps.js";
|
|
8
8
|
export {
|
|
@@ -2,22 +2,22 @@ import { jsx as d } from "react/jsx-runtime";
|
|
|
2
2
|
import p, { useContext as T, useState as g, useEffect as E } from "react";
|
|
3
3
|
import { FormFieldContext as h } from "../FormFieldContext.js";
|
|
4
4
|
import { TARGET_PADDING_X_DEFAULT as f } from "../consts.js";
|
|
5
|
-
import { n as D, c as N } from "../../../chunks/vendor-
|
|
5
|
+
import { n as D, c as N } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
6
6
|
import { EFormFieldStatus as y } from "../enums.js";
|
|
7
|
-
const A = "
|
|
7
|
+
const A = "formFieldLabel__8d76f0fd", R = "floating__b508622f", S = "formFieldLabelText__09a3dfc7", C = "disabled__f0d34e29", s = {
|
|
8
8
|
formFieldLabel: A,
|
|
9
|
-
"size-sm": "size-
|
|
10
|
-
"size-md": "size-
|
|
11
|
-
"size-lg": "size-
|
|
9
|
+
"size-sm": "size-sm__355740bd",
|
|
10
|
+
"size-md": "size-md__5548392b",
|
|
11
|
+
"size-lg": "size-lg__d8febe83",
|
|
12
12
|
floating: R,
|
|
13
13
|
formFieldLabelText: S,
|
|
14
14
|
disabled: C
|
|
15
15
|
}, G = p.forwardRef(
|
|
16
16
|
({ children: m, className: r, style: n, floating: e, ...b }, c) => {
|
|
17
|
-
const { status: F, focused: t, id: _, prefixWidth: L, postfixWidth: x, size: i, valueExist:
|
|
17
|
+
const { status: F, focused: t, id: _, prefixWidth: L, postfixWidth: x, size: i, valueExist: o } = T(h), [l, a] = g(!1);
|
|
18
18
|
E(() => {
|
|
19
|
-
!D(e) && e !== l ?
|
|
20
|
-
}, [t,
|
|
19
|
+
!D(e) && e !== l ? a(e) : e !== l && a(t || o);
|
|
20
|
+
}, [t, o, e, l]);
|
|
21
21
|
const u = N(
|
|
22
22
|
s.formFieldLabel,
|
|
23
23
|
{
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsxs as B, jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import { useState as $, useRef as L, useContext as N, useEffect as O, useCallback as q } from "react";
|
|
3
|
-
import { c as F, o as U, q as
|
|
3
|
+
import { c as F, o as U, q as p } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
4
4
|
import { presets as G } from "./FormFieldMaskedInputPresets.js";
|
|
5
|
-
import { s as H, F as J } from "../../../chunks/FormFieldInput-
|
|
5
|
+
import { s as H, F as J } from "../../../chunks/FormFieldInput-AMteABRz.js";
|
|
6
6
|
import { FormFieldContext as K } from "../FormFieldContext.js";
|
|
7
7
|
import { EFormFieldStatus as V } from "../enums.js";
|
|
8
|
-
const Q = "
|
|
8
|
+
const Q = "formFieldMaskedInputWrapper__f74344e8", X = "formFieldMaskedInputPlaceholder__7f6a3f1f", Y = "formFieldMaskedInput__8b2a3017", l = {
|
|
9
9
|
formFieldMaskedInputWrapper: Q,
|
|
10
10
|
formFieldMaskedInputPlaceholder: X,
|
|
11
|
-
"size-sm": "size-
|
|
12
|
-
"size-md": "size-
|
|
13
|
-
"size-lg": "size-
|
|
11
|
+
"size-sm": "size-sm__355740bd",
|
|
12
|
+
"size-md": "size-md__5548392b",
|
|
13
|
+
"size-lg": "size-lg__d8febe83",
|
|
14
14
|
formFieldMaskedInput: Y
|
|
15
|
-
},
|
|
15
|
+
}, a = ({
|
|
16
16
|
className: I,
|
|
17
17
|
forwardedRef: f,
|
|
18
18
|
mask: o,
|
|
@@ -23,24 +23,24 @@ const Q = "formFieldMaskedInputWrapper__44d6661c", X = "formFieldMaskedInputPlac
|
|
|
23
23
|
value: s,
|
|
24
24
|
...M
|
|
25
25
|
}) => {
|
|
26
|
-
const [x,
|
|
26
|
+
const [x, b] = $(""), c = L(!1), { valueExist: y, focused: z, size: k, status: _ } = N(K);
|
|
27
27
|
O(() => {
|
|
28
|
-
|
|
28
|
+
b((() => {
|
|
29
29
|
let t = [];
|
|
30
30
|
if (s) {
|
|
31
|
-
const { conformedValue: i } =
|
|
31
|
+
const { conformedValue: i } = p.conformToMask(s.toString(), o, { guide: !0, placeholderChar: n });
|
|
32
32
|
for (let r = 0; r < o.length; r++)
|
|
33
33
|
typeof o[r] == "string" ? t[r] = i[r] : i[r] === n && !s.toString()[r] ? t[r] = (u == null ? void 0 : u[r]) || n : t[r] = i[r];
|
|
34
34
|
} else if (u)
|
|
35
35
|
t = u.split("");
|
|
36
36
|
else {
|
|
37
|
-
const { conformedValue: i } =
|
|
37
|
+
const { conformedValue: i } = p.conformToMask("", o, { guide: !0, placeholderChar: n });
|
|
38
38
|
t = i.split("");
|
|
39
39
|
}
|
|
40
40
|
return t.join("");
|
|
41
41
|
})());
|
|
42
42
|
}, [s, o, n, u]);
|
|
43
|
-
const
|
|
43
|
+
const E = q(
|
|
44
44
|
(e) => {
|
|
45
45
|
const { value: t } = e.target;
|
|
46
46
|
c.current = !1, s !== t && (d == null || d(e));
|
|
@@ -48,7 +48,7 @@ const Q = "formFieldMaskedInputWrapper__44d6661c", X = "formFieldMaskedInputPlac
|
|
|
48
48
|
[s, d]
|
|
49
49
|
), S = () => {
|
|
50
50
|
c.current = !0;
|
|
51
|
-
}, T = (e, t) => o ===
|
|
51
|
+
}, T = (e, t) => o === a.presets.masks.phone ? e.length ? P(t.rawValue) : e : o === a.presets.masks.swiftCode ? e.toUpperCase() : e, P = (e) => {
|
|
52
52
|
let t = [];
|
|
53
53
|
if (c.current) {
|
|
54
54
|
let i = /^[78]((\D*\d)*)/;
|
|
@@ -56,12 +56,12 @@ const Q = "formFieldMaskedInputWrapper__44d6661c", X = "formFieldMaskedInputPlac
|
|
|
56
56
|
} else (e === "7" || e === "8") && (e = "+7 (");
|
|
57
57
|
return {
|
|
58
58
|
indexesOfPipedChars: t,
|
|
59
|
-
value:
|
|
59
|
+
value: p.conformToMask(e, o, { guide: !1, placeholderChar: n }).conformedValue
|
|
60
60
|
};
|
|
61
|
-
}, D = () => o ===
|
|
61
|
+
}, D = () => o === a.presets.masks.phone ? (s = P(s).value, s) : p.conformToMask(s, o, { guide: !1, placeholderChar: n }).conformedValue, W = (e) => (t) => {
|
|
62
62
|
t && e(t), typeof f == "function" ? f(t) : f && (f.current = t);
|
|
63
|
-
}, j = () => !
|
|
64
|
-
return /* @__PURE__ */ B("div", { className: F(l.formFieldMaskedInputWrapper, l[`size-${
|
|
63
|
+
}, j = () => !y && !z || !s && g ? "" : x;
|
|
64
|
+
return /* @__PURE__ */ B("div", { className: F(l.formFieldMaskedInputWrapper, l[`size-${k}`]), children: [
|
|
65
65
|
/* @__PURE__ */ m(
|
|
66
66
|
"input",
|
|
67
67
|
{
|
|
@@ -83,7 +83,7 @@ const Q = "formFieldMaskedInputWrapper__44d6661c", X = "formFieldMaskedInputPlac
|
|
|
83
83
|
guide: !1,
|
|
84
84
|
render: (e, t) => /* @__PURE__ */ m(J, { ...t, value: s, placeholder: g || "", ref: W(e) }),
|
|
85
85
|
mask: o,
|
|
86
|
-
onChange:
|
|
86
|
+
onChange: E,
|
|
87
87
|
onPaste: S,
|
|
88
88
|
placeholderChar: n,
|
|
89
89
|
value: D(),
|
|
@@ -94,8 +94,8 @@ const Q = "formFieldMaskedInputWrapper__44d6661c", X = "formFieldMaskedInputPlac
|
|
|
94
94
|
)
|
|
95
95
|
] });
|
|
96
96
|
};
|
|
97
|
-
|
|
97
|
+
a.presets = G;
|
|
98
98
|
export {
|
|
99
|
-
|
|
99
|
+
a as FormFieldMaskedInput
|
|
100
100
|
};
|
|
101
101
|
//# sourceMappingURL=FormFieldMaskedInput.js.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import d, { useContext as x, useRef as u, useEffect as
|
|
3
|
-
import { FormFieldContext as
|
|
4
|
-
import { c as p } from "../../../chunks/vendor-
|
|
5
|
-
const P = "
|
|
2
|
+
import d, { useContext as x, useRef as u, useEffect as F } from "react";
|
|
3
|
+
import { FormFieldContext as a } from "../FormFieldContext.js";
|
|
4
|
+
import { c as p } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
5
|
+
const P = "formFieldPostfix__8c75f69c", R = {
|
|
6
6
|
formFieldPostfix: P
|
|
7
7
|
}, _ = d.forwardRef(
|
|
8
|
-
({ children: s, className:
|
|
9
|
-
const
|
|
8
|
+
({ children: s, className: f, ...i }, o) => {
|
|
9
|
+
const r = p(R.formFieldPostfix, f), { postfixWidth: c, setPostfixWidth: n } = x(a), e = u(), m = (t) => {
|
|
10
10
|
e.current = t, typeof o == "function" ? o(t) : o && (o.current = t);
|
|
11
11
|
};
|
|
12
|
-
return
|
|
12
|
+
return F(() => {
|
|
13
13
|
if (!e.current)
|
|
14
14
|
return;
|
|
15
15
|
const { width: t } = e.current.getBoundingClientRect();
|
|
16
|
-
t !==
|
|
17
|
-
}), /* @__PURE__ */ l("span", { className:
|
|
16
|
+
t !== c && n(t);
|
|
17
|
+
}), /* @__PURE__ */ l("span", { className: r, ref: m, ...i, children: s });
|
|
18
18
|
}
|
|
19
19
|
);
|
|
20
20
|
_.displayName = "FormFieldPostfix";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import d, { useContext as x, useRef as u, useEffect as
|
|
3
|
-
import { FormFieldContext as
|
|
4
|
-
import { c as p } from "../../../chunks/vendor-
|
|
5
|
-
const P = "
|
|
2
|
+
import d, { useContext as x, useRef as u, useEffect as F } from "react";
|
|
3
|
+
import { FormFieldContext as a } from "../FormFieldContext.js";
|
|
4
|
+
import { c as p } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
5
|
+
const P = "formFieldPrefix__2f208393", R = {
|
|
6
6
|
formFieldPrefix: P
|
|
7
7
|
}, _ = d.forwardRef(
|
|
8
8
|
({ children: o, className: f, ...i }, r) => {
|
|
9
|
-
const s = p(R.formFieldPrefix, f), { prefixWidth:
|
|
9
|
+
const s = p(R.formFieldPrefix, f), { prefixWidth: n, setPrefixWidth: c } = x(a), t = u(), m = (e) => {
|
|
10
10
|
t.current = e, typeof r == "function" ? r(e) : r && (r.current = e);
|
|
11
11
|
};
|
|
12
|
-
return
|
|
12
|
+
return F(() => {
|
|
13
13
|
if (!t.current)
|
|
14
14
|
return;
|
|
15
15
|
const { width: e } = t.current.getBoundingClientRect();
|
|
16
|
-
e !==
|
|
16
|
+
e !== n && c(e);
|
|
17
17
|
}), /* @__PURE__ */ l("span", { className: s, ref: m, ...i, children: o });
|
|
18
18
|
}
|
|
19
19
|
);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as u } from "react/jsx-runtime";
|
|
2
2
|
import x, { useContext as E, useRef as T, useEffect as n } from "react";
|
|
3
3
|
import { FormFieldContext as B } from "../FormFieldContext.js";
|
|
4
|
-
import { c as N,
|
|
4
|
+
import { c as N, u as S } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
5
5
|
import { EFormFieldStatus as d } from "../enums.js";
|
|
6
|
-
const A = "
|
|
6
|
+
const A = "formFieldTarget__c8f40561", L = "placeholder__c91a4296", W = "disabled__f0d34e29", R = "placeholderWrapper__bffb098b", e = {
|
|
7
7
|
formFieldTarget: A,
|
|
8
8
|
placeholder: L,
|
|
9
9
|
disabled: W,
|
|
10
|
-
"size-sm": "size-
|
|
11
|
-
"size-md": "size-
|
|
12
|
-
"size-lg": "size-
|
|
10
|
+
"size-sm": "size-sm__355740bd",
|
|
11
|
+
"size-md": "size-md__5548392b",
|
|
12
|
+
"size-lg": "size-lg__d8febe83",
|
|
13
13
|
placeholderWrapper: R
|
|
14
14
|
}, y = x.forwardRef((_, F) => {
|
|
15
15
|
const { className: h, id: r, onBlur: o, onFocus: c, placeholder: m, children: s, ...b } = _, { status: a, setFocused: p, setId: l, setValueExist: f, size: g } = E(B), z = N(e.formFieldTarget, h, e[`size-${g}`], {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsx as N } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import { createSizeToClassNameMap as
|
|
5
|
-
import { FormFieldContext as
|
|
6
|
-
import { EFormFieldStatus as
|
|
7
|
-
const h = "
|
|
2
|
+
import b, { useContext as C, useMemo as E, useEffect as l } from "react";
|
|
3
|
+
import { u as I, c as g } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
4
|
+
import { createSizeToClassNameMap as z } from "../../../utils/classNameMaps.js";
|
|
5
|
+
import { FormFieldContext as M } from "../FormFieldContext.js";
|
|
6
|
+
import { EFormFieldStatus as S } from "../enums.js";
|
|
7
|
+
const h = "formFieldTextarea__403597b9", y = "sm__159406fa", D = "md__7a7f132f", R = "lg__2beef4b4", f = {
|
|
8
8
|
formFieldTextarea: h,
|
|
9
9
|
sm: y,
|
|
10
10
|
md: D,
|
|
11
11
|
lg: R
|
|
12
|
-
}, j =
|
|
13
|
-
({ className:
|
|
14
|
-
const { size: F, status: _, setFocused: m, setId: d, setValueExist: i } =
|
|
15
|
-
|
|
12
|
+
}, j = z(f), q = b.forwardRef(
|
|
13
|
+
({ className: c, id: e, onBlur: t, onFocus: s, value: a, ...n }, x) => {
|
|
14
|
+
const { size: F, status: _, setFocused: m, setId: d, setValueExist: i } = C(M), o = E(() => e === void 0 ? I("textarea_") : e, [e]), p = g(f.formFieldTextarea, j[F], c);
|
|
15
|
+
l(() => {
|
|
16
16
|
d(o);
|
|
17
|
-
}, [o, d]),
|
|
17
|
+
}, [o, d]), l(() => {
|
|
18
18
|
i(!!a);
|
|
19
19
|
}, [i, a]);
|
|
20
20
|
const T = (r) => {
|
|
@@ -28,7 +28,7 @@ const h = "formFieldTextarea__b1f9272e", y = "sm__02d44dd6", D = "md__a635573c",
|
|
|
28
28
|
...n,
|
|
29
29
|
id: o,
|
|
30
30
|
className: p,
|
|
31
|
-
disabled: _ ===
|
|
31
|
+
disabled: _ === S.DISABLED,
|
|
32
32
|
onFocus: u,
|
|
33
33
|
onBlur: T,
|
|
34
34
|
value: a,
|
|
@@ -4,7 +4,7 @@ import { FormFieldCounter as p } from "./components/FormFieldCounter.js";
|
|
|
4
4
|
import { FormFieldLabel as x } from "./components/FormFieldLabel.js";
|
|
5
5
|
import { FormFieldClear as d } from "./components/FormFieldClear.js";
|
|
6
6
|
import { FormFieldTarget as s } from "./components/FormFieldTarget.js";
|
|
7
|
-
import { F as n } from "../../chunks/FormFieldInput-
|
|
7
|
+
import { F as n } from "../../chunks/FormFieldInput-AMteABRz.js";
|
|
8
8
|
import { FormFieldMaskedInput as T } from "./components/FormFieldMaskedInput.js";
|
|
9
9
|
import { FormFieldPostfix as M } from "./components/FormFieldPostfix.js";
|
|
10
10
|
import { FormFieldPrefix as b } from "./components/FormFieldPrefix.js";
|
|
@@ -12,7 +12,7 @@ import "./components/HeaderTitle/HeaderTitleContent.js";
|
|
|
12
12
|
import "./components/HeaderTitle/HeaderTitleControls.js";
|
|
13
13
|
const f = Object.assign(
|
|
14
14
|
a.forwardRef(function({ children: r, ...e }, t) {
|
|
15
|
-
return /* @__PURE__ */ o("div", { ...e, "data-tx": "1.
|
|
15
|
+
return /* @__PURE__ */ o("div", { ...e, "data-tx": "1.17.0", ref: t, children: r });
|
|
16
16
|
}),
|
|
17
17
|
{
|
|
18
18
|
LayoutSidebar: p,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import d from "react";
|
|
3
|
-
import { c as i } from "../../../../chunks/vendor-
|
|
3
|
+
import { c as i } from "../../../../chunks/vendor-Dlne6Znf.js";
|
|
4
4
|
import { HeaderLayoutSidebarContent as m } from "./HeaderLayoutSidebarContent.js";
|
|
5
5
|
import { HeaderLayoutSidebarSidebar as s } from "./HeaderLayoutSidebarSidebar.js";
|
|
6
|
-
import { s as f } from "../../../../chunks/HeaderLayoutSidebar.module-
|
|
6
|
+
import { s as f } from "../../../../chunks/HeaderLayoutSidebar.module-Bd_GF8rz.js";
|
|
7
7
|
const b = Object.assign(
|
|
8
8
|
d.forwardRef(function({ children: e, className: r, ...a }, o) {
|
|
9
9
|
return /* @__PURE__ */ t("div", { className: i(f.headerLayoutSidebar, r), ...a, ref: o, children: e });
|