@sberbusiness/triplex-next 0.13.0 → 0.14.1
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-w7bEDQkZ.js +39 -0
- package/chunks/{CalendarViewItem-DML7yFTS.js → CalendarViewItem-bjlzO6fA.js} +20 -20
- package/chunks/Card.module-BLsCGNSy.js +17 -0
- package/chunks/CheckboxTreeExtended.module-CgfwcCEk.js +14 -0
- package/chunks/{Chip-CI3sEzkq.js → Chip-BjcDj2XE.js} +6 -6
- package/chunks/Confirm.module-CzudnAyq.js +15 -0
- package/chunks/{DropdownListItem-9VgfsLJP.js → DropdownListItem-BByGOD7_.js} +8 -8
- package/chunks/DropdownMobile.module-DOLon8EA.js +23 -0
- package/chunks/Footer.module-BVFglVCT.js +9 -0
- package/chunks/FormFieldInput-CXE2lpa2.js +60 -0
- package/chunks/HeaderLayoutSidebar.module-DKuCSX50.js +9 -0
- package/chunks/HeaderTabs.module-BD-cjJN0.js +9 -0
- package/chunks/{HeaderTitle.module-e8_DcucZ.js → HeaderTitle.module-Aa8Ayziq.js} +2 -2
- package/chunks/IslandAccordion.module-DuBXHdTP.js +25 -0
- package/chunks/IslandWidgetFooter.module-Dv6ikQyO.js +9 -0
- package/chunks/IslandWidgetHeader.module-ChVPLOQn.js +9 -0
- package/chunks/{LightBoxContent-Dpu6E3Cr.js → LightBoxContent-B5TEJXI-.js} +13 -13
- package/chunks/LightBoxControls.module-4BsaXW9O.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-Bx568ER4.js +8 -0
- package/chunks/{ListItemControlsButton-BMsTQr9O.js → ListItemControlsButton-BQWXaAf7.js} +11 -11
- package/chunks/ListItemTail.module-Dqje1Ta9.js +12 -0
- package/chunks/ListMasterFooter.module-CQ5ySLht.js +10 -0
- package/chunks/ModalWindow.module-BhRZeAo8.js +17 -0
- package/chunks/Notification.module-DwrRfWOt.js +21 -0
- package/chunks/Overlay.module-B6CO6ER3.js +18 -0
- package/chunks/Page.module-DkHondpd.js +11 -0
- package/chunks/{RightBorderArrow-BQ_cZ8U3.js → RightBorderArrow-BjcGiO4Y.js} +8 -8
- package/chunks/SMSField.module-CDTpuKgF.js +16 -0
- package/chunks/SliderExtendedMarks.module--4YyXPzu.js +15 -0
- package/chunks/{SliderExtendedRail-oI7nifMP.js → SliderExtendedRail-DHe0BU85.js} +6 -6
- package/chunks/StatusTracker.module-DkISSFNd.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-Bilm-Pwh.js → SuggestFieldMobileDropdownHint-BM9lOqXe.js} +4 -4
- package/chunks/TableFooter.module-zu7cE58N.js +14 -0
- package/chunks/TabsExtended.module-CKJx5gTC.js +16 -0
- package/chunks/TabsLine.module-dWFH4Lb0.js +21 -0
- package/chunks/TooltipDesktop.module-8uJuXz2F.js +19 -0
- package/chunks/TreeView.module-CBWqJQ3g.js +9 -0
- package/chunks/{UploadZoneInput-CfYPrkK_.js → UploadZoneInput-DgPYo5Ct.js} +8 -8
- package/chunks/{utils-Bu0wcDBu.js → utils-D6gsTR6V.js} +16 -16
- package/chunks/{utils-SerS_ys8.js → utils-DQttOWML.js} +6 -6
- package/chunks/utils-DXZkhXsb.js +24 -0
- package/chunks/{utils-Ccw--G8d.js → utils-Ds7Etruz.js} +4 -4
- package/chunks/{utils-16fU9G4P.js → utils-QtOC5s-T.js} +7 -7
- 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 +10 -10
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +3 -3
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +11 -11
- package/components/Body/Body.js +6 -6
- package/components/Button/Button.js +27 -27
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +28 -28
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +8 -8
- 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 +25 -25
- package/components/Card/CardStatic.js +3 -3
- package/components/Card/components/CardContent/CardContent.js +2 -2
- package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
- package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
- package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
- package/components/Card/components/CardMedia.js +2 -2
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +2 -2
- package/components/Checkbox/Checkbox.js +18 -18
- package/components/Checkbox/CheckboxXGroup.js +16 -16
- package/components/Checkbox/CheckboxYGroup.js +7 -7
- 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 +6 -6
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +16 -16
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +4 -4
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +6 -6
- package/components/Chip/ChipSelect/ChipSelect.js +2 -2
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +21 -21
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +15 -15
- package/components/Col/Col.js +131 -131
- package/components/CollapsableTree/components/CollapsableTreeNode.js +7 -7
- package/components/Confirm/Confirm.js +2 -2
- package/components/Confirm/components/ConfirmCloseButton.js +2 -2
- package/components/Confirm/components/ConfirmContent.js +2 -2
- package/components/Confirm/components/ConfirmContentTitle.js +2 -2
- package/components/Confirm/components/ConfirmControls.js +2 -2
- package/components/DateField/DateField.js +8 -8
- package/components/DateField/utils.js +3 -3
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +5 -5
- package/components/DateRange/DateRange.js +30 -29
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/Divider/Divider.js +21 -21
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +9 -9
- package/components/Dropdown/desktop/DropdownDesktop.js +16 -16
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +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 +4 -4
- package/components/Ellipsis/Ellipsis.js +6 -6
- package/components/ExpandAnimation/ExpandAnimation.js +34 -34
- 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 +21 -21
- package/components/FormField/components/FormFieldClear.js +17 -17
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +4 -4
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +16 -16
- package/components/FormField/components/FormFieldMaskedInput.js +25 -25
- package/components/FormField/components/FormFieldPostfix.js +6 -6
- package/components/FormField/components/FormFieldPrefix.js +8 -8
- package/components/FormField/components/FormFieldTarget.js +13 -13
- package/components/FormField/components/FormFieldTextarea.js +32 -35
- 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 +2 -2
- 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 +6 -6
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +6 -6
- 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 +3 -3
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +8 -8
- package/components/IslandWidget/components/IslandWidgetFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +2 -2
- package/components/IslandWidget/components/IslandWidgetWrapper.js +5 -5
- package/components/LightBox/LightBox.js +28 -28
- 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 +15 -15
- 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 +2 -2
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +5 -5
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +19 -19
- package/components/List/List.js +9 -9
- 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 +7 -7
- package/components/List/components/ListItemControls.js +8 -8
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +5 -5
- package/components/List/components/ListItemSelectable.js +10 -10
- package/components/List/components/ListItemTable.js +4 -4
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +7 -7
- package/components/List/components/ListSortableItemControls.js +2 -2
- package/components/List/components/ListSortableItemTarget.js +4 -4
- 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 +2 -2
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +11 -11
- package/components/ListMaster/components/SelectionControls.js +3 -3
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +4 -4
- package/components/Loader/LoaderSmall/LoaderSmall.js +10 -10
- package/components/LoaderScreen/LoaderScreen.js +10 -10
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +12 -12
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +10 -10
- package/components/ModalWindow/components/ModalWindowClose.js +6 -6
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +2 -2
- package/components/MonthYearField/utils.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +8 -8
- 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 +1 -1
- package/components/OrderedList/OrderedList.js +6 -6
- package/components/OrderedList/OrderedListItem.js +7 -7
- 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 +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 +2 -2
- package/components/Pagination/components/PaginationSelect.js +2 -2
- package/components/Pagination/utils/paginationUtils.js +5 -5
- package/components/Radio/Radio.js +11 -11
- package/components/Radio/RadioXGroup.js +10 -10
- package/components/Radio/RadioYGroup.js +9 -9
- package/components/Row/Row.js +6 -6
- 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 +10 -10
- package/components/SegmentedControl/SegmentedControlSegment.js +2 -2
- package/components/SelectExtendedField/SelectExtendedField.js +2 -2
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +12 -12
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +9 -9
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +14 -14
- 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 +4 -4
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +18 -18
- package/components/SmallInput/SmallInput.js +7 -7
- 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 +13 -13
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +9 -9
- package/components/Stepper/StepperExtended.js +2 -2
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +5 -5
- package/components/Suggest/Suggest.js +1 -1
- package/components/Suggest/SuggestMobileDropdownContent.js +6 -6
- package/components/SuggestField/SuggestField.js +1 -1
- package/components/SuggestField/SuggestFieldTarget.js +1 -1
- package/components/SuggestField/SuggestFieldTargetPostfix.js +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +21 -21
- 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 +17 -17
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +20 -20
- package/components/Table/NoColumns.js +4 -4
- 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 +5 -5
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +2 -2
- package/components/Table/TableFooter/TableFooter.js +2 -2
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +6 -6
- package/components/Table/TabsLinePanelLinks.js +6 -6
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +2 -2
- 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 +5 -5
- package/components/Tag/Tag.js +25 -25
- package/components/TagColor/TagColor.js +12 -12
- package/components/TagGroup/TagGroup.js +13 -13
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- 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 +12 -12
- 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 +7 -7
- package/components/TopOverlay/TopOverlay.js +21 -21
- 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 +17 -17
- package/components/Typography/Text.js +19 -19
- package/components/Typography/Title.js +13 -13
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +3 -3
- package/components/UnorderedList/UnorderedListItem.js +3 -3
- 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 +5 -5
- package/consts/DateConst.js +6 -6
- package/index.js +5 -5
- package/package.json +2 -2
- package/styles/triplex-next.css +534 -534
- package/utils/amountUtils.js +1 -1
- package/chunks/AlertProcessSpoiler-DQAI3bgu.js +0 -39
- package/chunks/Card.module-Bg8-F1uZ.js +0 -17
- package/chunks/CheckboxTreeExtended.module-CZ2ujs_6.js +0 -14
- package/chunks/Confirm.module-C3SyV40Z.js +0 -15
- package/chunks/DropdownMobile.module-BLKzmRLM.js +0 -23
- package/chunks/Footer.module-D83FlUYZ.js +0 -9
- package/chunks/FormFieldInput-DurMmok0.js +0 -62
- package/chunks/HeaderLayoutSidebar.module-BhhWfVc-.js +0 -9
- package/chunks/HeaderTabs.module-11xkKwN7.js +0 -9
- package/chunks/IslandAccordion.module-C6INnFmn.js +0 -25
- package/chunks/IslandWidgetFooter.module-q--xXUCF.js +0 -9
- package/chunks/IslandWidgetHeader.module-CcgfF5TF.js +0 -9
- package/chunks/LightBoxControls.module-BkW_w9PJ.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-DAHE1sRE.js +0 -8
- package/chunks/ListItemTail.module-CcT-PrXt.js +0 -12
- package/chunks/ListMasterFooter.module-CV05gXbo.js +0 -10
- package/chunks/ModalWindow.module-DlNg_kPu.js +0 -17
- package/chunks/Notification.module-C5D-8Dtt.js +0 -21
- package/chunks/Overlay.module-3QvWfMgh.js +0 -18
- package/chunks/Page.module-BV59uicx.js +0 -11
- package/chunks/SMSField.module-BL9kkhHx.js +0 -16
- package/chunks/SliderExtendedMarks.module-Crtr3nYM.js +0 -15
- package/chunks/StatusTracker.module-CtjfmWAE.js +0 -24
- package/chunks/TableFooter.module-Bq2Lm9CG.js +0 -14
- package/chunks/TabsExtended.module-D0-Tp3Ed.js +0 -16
- package/chunks/TabsLine.module-D0stwkA6.js +0 -21
- package/chunks/TooltipDesktop.module-DUucrF7X.js +0 -19
- package/chunks/TreeView.module-CEYl8PNr.js +0 -9
- package/chunks/utils-CC47I1cc.js +0 -24
- package/chunks/vendor-BARd5eYq.js +0 -15069
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import { jsx as g } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
const
|
|
5
|
-
expandAnimation:
|
|
6
|
-
},
|
|
2
|
+
import N, { useRef as y } from "react";
|
|
3
|
+
import { z as U, c as j } from "../../chunks/vendor-CalMVkfj.js";
|
|
4
|
+
const z = "expandAnimation__02754bab", F = {
|
|
5
|
+
expandAnimation: z
|
|
6
|
+
}, I = 300, L = N.forwardRef(
|
|
7
7
|
({
|
|
8
|
-
children:
|
|
8
|
+
children: A,
|
|
9
9
|
className: E,
|
|
10
10
|
expanded: v,
|
|
11
|
-
animationTime:
|
|
11
|
+
animationTime: f = I,
|
|
12
12
|
style: R,
|
|
13
|
-
onStart:
|
|
13
|
+
onStart: d,
|
|
14
14
|
onEnd: h,
|
|
15
15
|
transitionProps: e,
|
|
16
16
|
...w
|
|
17
|
-
},
|
|
18
|
-
const m =
|
|
17
|
+
}, x) => {
|
|
18
|
+
const m = y({
|
|
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
|
-
}),
|
|
25
|
-
var
|
|
26
|
-
|
|
27
|
-
},
|
|
28
|
-
var
|
|
29
|
-
h == null || h(), (
|
|
30
|
-
},
|
|
24
|
+
}), l = y(null), b = (c) => {
|
|
25
|
+
var u;
|
|
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
|
+
}, H = (c) => {
|
|
28
|
+
var u;
|
|
29
|
+
h == null || h(), (u = e == null ? void 0 : e.onEntered) == null || u.call(e, c);
|
|
30
|
+
}, T = () => {
|
|
31
31
|
var c;
|
|
32
|
-
|
|
33
|
-
},
|
|
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
|
+
}, _ = () => {
|
|
34
34
|
var c;
|
|
35
35
|
h == null || h(), (c = e == null ? void 0 : e.onExited) == null || c.call(e);
|
|
36
|
-
},
|
|
37
|
-
|
|
36
|
+
}, D = (c) => {
|
|
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
|
-
timeout:
|
|
44
|
-
nodeRef:
|
|
43
|
+
timeout: f,
|
|
44
|
+
nodeRef: l,
|
|
45
45
|
...e,
|
|
46
|
-
onEnter:
|
|
47
|
-
onEntered:
|
|
48
|
-
onExit:
|
|
49
|
-
onExited:
|
|
46
|
+
onEnter: b,
|
|
47
|
+
onEntered: H,
|
|
48
|
+
onExit: T,
|
|
49
|
+
onExited: _,
|
|
50
50
|
children: (c) => /* @__PURE__ */ g(
|
|
51
51
|
"div",
|
|
52
52
|
{
|
|
53
|
-
className: j(
|
|
53
|
+
className: j(F.expandAnimation, E),
|
|
54
54
|
style: {
|
|
55
|
-
transitionDuration:
|
|
55
|
+
transitionDuration: f + "ms",
|
|
56
56
|
...m.current[c],
|
|
57
57
|
...R
|
|
58
58
|
},
|
|
59
59
|
...w,
|
|
60
|
-
ref:
|
|
61
|
-
children:
|
|
60
|
+
ref: D,
|
|
61
|
+
children: A
|
|
62
62
|
}
|
|
63
63
|
)
|
|
64
64
|
}
|
|
65
65
|
);
|
|
66
66
|
}
|
|
67
67
|
);
|
|
68
|
-
|
|
68
|
+
L.displayName = "ExpandAnimation";
|
|
69
69
|
export {
|
|
70
|
-
|
|
70
|
+
L as ExpandAnimation
|
|
71
71
|
};
|
|
72
72
|
//# sourceMappingURL=ExpandAnimation.js.map
|
|
@@ -5,7 +5,7 @@ import "./components/FooterDescriptionControls.js";
|
|
|
5
5
|
import "./components/FooterDescriptionContent.js";
|
|
6
6
|
const p = Object.assign(
|
|
7
7
|
e.forwardRef(function({ children: o, ...r }, t) {
|
|
8
|
-
return /* @__PURE__ */ i("div", { ...r, "data-tx": "0.
|
|
8
|
+
return /* @__PURE__ */ i("div", { ...r, "data-tx": "0.14.1", ref: t, 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-CalMVkfj.js";
|
|
6
|
+
import { s as c } from "../../../chunks/Footer.module-BVFglVCT.js";
|
|
7
7
|
const f = Object.assign(
|
|
8
8
|
s.forwardRef(function({ children: o, className: r, ...t }, e) {
|
|
9
9
|
return /* @__PURE__ */ i("div", { className: p(c.footerDescription, r), ...t, 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-CalMVkfj.js";
|
|
4
|
+
import { s as n } from "../../../chunks/Footer.module-BVFglVCT.js";
|
|
5
5
|
const p = 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 p } from "../../../chunks/Footer.module-
|
|
3
|
+
import { c as m } from "../../../chunks/vendor-CalMVkfj.js";
|
|
4
|
+
import { s as p } from "../../../chunks/Footer.module-BVFglVCT.js";
|
|
5
5
|
const a = i.forwardRef(
|
|
6
6
|
({ children: o, className: r, ...s }, t) => /* @__PURE__ */ e("div", { className: m(p.footerDescriptionControls, r), ...s, ref: t, children: o })
|
|
7
7
|
);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as f } from "react/jsx-runtime";
|
|
2
2
|
import { useState as t } from "react";
|
|
3
|
-
import { c as C } from "../../chunks/vendor-
|
|
3
|
+
import { c as C } from "../../chunks/vendor-CalMVkfj.js";
|
|
4
4
|
import { FormFieldContext as S } 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 W } from "../../enums/EComponentSize.js";
|
|
8
8
|
import { createSizeToClassNameMap as w } from "../../utils/classNameMaps.js";
|
|
9
|
-
const G = "
|
|
9
|
+
const G = "formField__b4b98094", I = "disabled__e741afb1", L = "active__065e37ce", P = "error__3159dee4", U = "warning__a0e2e410", y = "sm__6024f80b", z = "md__71d9ec8d", j = "lg__67a1e04d", e = {
|
|
10
10
|
formField: G,
|
|
11
|
-
default: "
|
|
11
|
+
default: "default__587cba61",
|
|
12
12
|
disabled: I,
|
|
13
13
|
active: L,
|
|
14
14
|
error: P,
|
|
@@ -31,30 +31,30 @@ const G = "formField__cd1aea1d", I = "disabled__c9760c40", L = "active__ef23f2ee
|
|
|
31
31
|
size: d = W.LG,
|
|
32
32
|
...g
|
|
33
33
|
}) => {
|
|
34
|
-
const [c,
|
|
34
|
+
const [c, b] = t(!1), [h, l] = t(!1), [u, v] = t(""), [m, E] = t(_), [n, T] = t(_), [A, D] = t(!1), N = (i) => {
|
|
35
35
|
l(!0), o == null || o(i);
|
|
36
|
-
},
|
|
36
|
+
}, R = (i) => {
|
|
37
37
|
l(!1), r == null || r(i);
|
|
38
38
|
};
|
|
39
|
-
return /* @__PURE__ */
|
|
39
|
+
return /* @__PURE__ */ f(
|
|
40
40
|
S.Provider,
|
|
41
41
|
{
|
|
42
42
|
value: {
|
|
43
43
|
status: a,
|
|
44
44
|
focused: c,
|
|
45
|
-
hovered:
|
|
46
|
-
id:
|
|
45
|
+
hovered: h,
|
|
46
|
+
id: u,
|
|
47
47
|
postfixWidth: m,
|
|
48
|
-
prefixWidth:
|
|
49
|
-
setFocused:
|
|
50
|
-
setId:
|
|
51
|
-
setPostfixWidth:
|
|
52
|
-
setPrefixWidth:
|
|
53
|
-
setValueExist:
|
|
54
|
-
valueExist:
|
|
48
|
+
prefixWidth: n,
|
|
49
|
+
setFocused: b,
|
|
50
|
+
setId: v,
|
|
51
|
+
setPostfixWidth: E,
|
|
52
|
+
setPrefixWidth: T,
|
|
53
|
+
setValueExist: D,
|
|
54
|
+
valueExist: A,
|
|
55
55
|
size: d
|
|
56
56
|
},
|
|
57
|
-
children: /* @__PURE__ */
|
|
57
|
+
children: /* @__PURE__ */ f(
|
|
58
58
|
"div",
|
|
59
59
|
{
|
|
60
60
|
className: C(
|
|
@@ -66,10 +66,10 @@ const G = "formField__cd1aea1d", I = "disabled__c9760c40", L = "active__ef23f2ee
|
|
|
66
66
|
},
|
|
67
67
|
F
|
|
68
68
|
),
|
|
69
|
-
onMouseEnter:
|
|
70
|
-
onMouseLeave:
|
|
71
|
-
"data-tx": "0.
|
|
72
|
-
style: { paddingLeft:
|
|
69
|
+
onMouseEnter: N,
|
|
70
|
+
onMouseLeave: R,
|
|
71
|
+
"data-tx": "0.14.1",
|
|
72
|
+
style: { paddingLeft: n, paddingRight: m, ...x },
|
|
73
73
|
...g,
|
|
74
74
|
children: p
|
|
75
75
|
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import n, { useContext as
|
|
3
|
-
import { c as
|
|
4
|
-
import { CrossStrokeSrvIcon16 as
|
|
5
|
-
import { FormFieldContext as
|
|
6
|
-
import { EFormFieldStatus as
|
|
7
|
-
import { ButtonIcon as
|
|
8
|
-
const
|
|
9
|
-
formFieldClear:
|
|
10
|
-
hidden:
|
|
11
|
-
},
|
|
12
|
-
({ className: l, onMouseDown: e, ...
|
|
13
|
-
const { status: a, valueExist:
|
|
2
|
+
import n, { useContext as F } from "react";
|
|
3
|
+
import { c as p } from "../../../chunks/vendor-CalMVkfj.js";
|
|
4
|
+
import { CrossStrokeSrvIcon16 as h } from "@sberbusiness/icons-next";
|
|
5
|
+
import { FormFieldContext as C } from "../FormFieldContext.js";
|
|
6
|
+
import { EFormFieldStatus as u } from "../enums.js";
|
|
7
|
+
import { ButtonIcon as x } from "../../Button/ButtonIcon.js";
|
|
8
|
+
const v = "formFieldClear__dc5f4610", I = "hidden__8f0e954b", t = {
|
|
9
|
+
formFieldClear: v,
|
|
10
|
+
hidden: I
|
|
11
|
+
}, S = n.forwardRef(
|
|
12
|
+
({ className: l, onMouseDown: e, ...d }, m) => {
|
|
13
|
+
const { status: s, focused: a, hovered: i, valueExist: c } = F(C), f = p(
|
|
14
14
|
t.formFieldClear,
|
|
15
15
|
"hoverable",
|
|
16
16
|
{
|
|
17
|
-
[t.hidden]: !
|
|
17
|
+
[t.hidden]: !c || s === u.DISABLED || !(a || i)
|
|
18
18
|
},
|
|
19
19
|
l
|
|
20
20
|
);
|
|
21
|
-
return /* @__PURE__ */ o(
|
|
21
|
+
return /* @__PURE__ */ o(x, { className: f, onMouseDown: (r) => {
|
|
22
22
|
r.preventDefault(), e == null || e(r);
|
|
23
|
-
}, ...
|
|
23
|
+
}, ...d, ref: m, children: /* @__PURE__ */ o(h, { paletteIndex: 5 }) });
|
|
24
24
|
}
|
|
25
25
|
);
|
|
26
|
-
|
|
26
|
+
S.displayName = "FormFieldClear";
|
|
27
27
|
export {
|
|
28
|
-
|
|
28
|
+
S as FormFieldClear
|
|
29
29
|
};
|
|
30
30
|
//# sourceMappingURL=FormFieldClear.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
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__f2e36b0a", u = {
|
|
5
5
|
formFieldCounter: s
|
|
6
|
-
},
|
|
6
|
+
}, f = ({ children: e, ...o }) => {
|
|
7
7
|
const { setWithCounter: t } = i(n);
|
|
8
8
|
return m(() => {
|
|
9
9
|
t(!0);
|
|
10
|
-
}, []), /* @__PURE__ */ r("div", { className: u.formFieldCounter, ...
|
|
10
|
+
}, []), /* @__PURE__ */ r("div", { className: u.formFieldCounter, ...o, children: e });
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
f.displayName = "FormFieldCounter";
|
|
13
13
|
export {
|
|
14
|
-
|
|
14
|
+
f as FormFieldCounter
|
|
15
15
|
};
|
|
16
16
|
//# sourceMappingURL=FormFieldCounter.js.map
|
|
@@ -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-
|
|
4
|
-
import { FormFieldDescriptionContext as
|
|
5
|
-
const l = "
|
|
3
|
+
import { c as m } from "../../../chunks/vendor-CalMVkfj.js";
|
|
4
|
+
import { FormFieldDescriptionContext as c } from "../FormFieldDescriptionContext.js";
|
|
5
|
+
const l = "formFieldDescription__f4be74ba", p = "withCounter__e74d27f3", e = {
|
|
6
6
|
formFieldDescription: l,
|
|
7
7
|
withCounter: p
|
|
8
8
|
}, d = ({ children: i, ...r }) => {
|
|
9
9
|
const [o, s] = n(!1);
|
|
10
|
-
return /* @__PURE__ */ t(
|
|
10
|
+
return /* @__PURE__ */ t(c.Provider, { value: { withCounter: o, setWithCounter: s }, children: /* @__PURE__ */ t("div", { className: m(e.formFieldDescription, { [e.withCounter]: o }), ...r, children: i }) });
|
|
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-CalMVkfj.js";
|
|
5
|
+
import { F as a } from "../../../chunks/FormFieldInput-CXE2lpa2.js";
|
|
6
6
|
import "../enums.js";
|
|
7
7
|
import "../../../utils/classNameMaps.js";
|
|
8
8
|
export {
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as m } 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
|
-
import { TARGET_PADDING_X_DEFAULT as
|
|
5
|
-
import {
|
|
4
|
+
import { TARGET_PADDING_X_DEFAULT as d } from "../consts.js";
|
|
5
|
+
import { m as D, c as N } from "../../../chunks/vendor-CalMVkfj.js";
|
|
6
6
|
import { EFormFieldStatus as y } from "../enums.js";
|
|
7
|
-
const A = "
|
|
7
|
+
const A = "formFieldLabel__0a1eb26b", R = "floating__b41be358", S = "formFieldLabelText__bed0a263", C = "disabled__e741afb1", s = {
|
|
8
8
|
formFieldLabel: A,
|
|
9
|
-
"size-sm": "size-
|
|
10
|
-
"size-md": "size-
|
|
11
|
-
"size-lg": "size-
|
|
9
|
+
"size-sm": "size-sm__e38e4cfb",
|
|
10
|
+
"size-md": "size-md__c398aa65",
|
|
11
|
+
"size-lg": "size-lg__fa0f795e",
|
|
12
12
|
floating: R,
|
|
13
13
|
formFieldLabelText: S,
|
|
14
14
|
disabled: C
|
|
15
15
|
}, G = p.forwardRef(
|
|
16
|
-
({ children: f, className: r, style:
|
|
17
|
-
const { status:
|
|
16
|
+
({ children: f, className: r, style: b, floating: e, ...c }, n) => {
|
|
17
|
+
const { status: F, focused: t, id: _, prefixWidth: L, postfixWidth: x, size: i, valueExist: a } = T(h), [l, o] = g(!1);
|
|
18
18
|
E(() => {
|
|
19
|
-
!D(e) && e !== l ?
|
|
20
|
-
}, [t,
|
|
19
|
+
!D(e) && e !== l ? o(e) : e !== l && o(t || a);
|
|
20
|
+
}, [t, a, e, l]);
|
|
21
21
|
const u = N(
|
|
22
22
|
s.formFieldLabel,
|
|
23
23
|
{
|
|
24
|
-
[s.disabled]:
|
|
24
|
+
[s.disabled]: F === y.DISABLED,
|
|
25
25
|
[s.floating]: l,
|
|
26
26
|
[s[`size-${i}`]]: i
|
|
27
27
|
},
|
|
28
28
|
r
|
|
29
29
|
), z = {
|
|
30
30
|
// Левая позиция элемента. Когда label по-середине инпута, позиция учитывает иконки по краям, когда сверху, позиция на все ширину поля ввода.
|
|
31
|
-
left: L ||
|
|
31
|
+
left: L || d,
|
|
32
32
|
// Правая позиция элемента. Когда label по-середине инпута, позиция учитывает иконки по краям, когда сверху, позиция на все ширину поля ввода.
|
|
33
|
-
right: x ||
|
|
34
|
-
...
|
|
33
|
+
right: x || d,
|
|
34
|
+
...b
|
|
35
35
|
};
|
|
36
|
-
return /* @__PURE__ */
|
|
36
|
+
return /* @__PURE__ */ m("label", { className: u, ref: n, htmlFor: _, ...c, style: z, children: /* @__PURE__ */ m("span", { className: s.formFieldLabelText, children: f }) });
|
|
37
37
|
}
|
|
38
38
|
);
|
|
39
39
|
G.displayName = "FormFieldLabel";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsxs as B, jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import { useState as $, useRef as L, useContext as N, useEffect as O, useCallback as
|
|
3
|
-
import { c as F,
|
|
2
|
+
import { useState as $, useRef as L, useContext as N, useEffect as O, useCallback as U } from "react";
|
|
3
|
+
import { c as F, n as q, o as a } from "../../../chunks/vendor-CalMVkfj.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-CXE2lpa2.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__4b608b16", X = "formFieldMaskedInputPlaceholder__f8e957bb", Y = "formFieldMaskedInput__6484a7a3", 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__e38e4cfb",
|
|
12
|
+
"size-md": "size-md__c398aa65",
|
|
13
|
+
"size-lg": "size-lg__fa0f795e",
|
|
14
14
|
formFieldMaskedInput: Y
|
|
15
|
-
},
|
|
15
|
+
}, p = ({
|
|
16
16
|
className: I,
|
|
17
17
|
forwardedRef: f,
|
|
18
18
|
mask: o,
|
|
@@ -23,32 +23,32 @@ const Q = "formFieldMaskedInputWrapper__51e099cd", 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 } = a.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 } = a.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 = U(
|
|
44
44
|
(e) => {
|
|
45
45
|
const { value: t } = e.target;
|
|
46
46
|
c.current = !1, s !== t && (d == null || d(e));
|
|
47
47
|
},
|
|
48
48
|
[s, d]
|
|
49
|
-
),
|
|
49
|
+
), S = () => {
|
|
50
50
|
c.current = !0;
|
|
51
|
-
},
|
|
51
|
+
}, T = (e, t) => o === p.presets.masks.phone ? e.length ? P(t.rawValue) : e : o === p.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__51e099cd", X = "formFieldMaskedInputPlac
|
|
|
56
56
|
} else (e === "7" || e === "8") && (e = "+7 (");
|
|
57
57
|
return {
|
|
58
58
|
indexesOfPipedChars: t,
|
|
59
|
-
value:
|
|
59
|
+
value: a.conformToMask(e, o, { guide: !1, placeholderChar: n }).conformedValue
|
|
60
60
|
};
|
|
61
|
-
}, D = () => o ===
|
|
61
|
+
}, D = () => o === p.presets.masks.phone ? (s = P(s).value, s) : a.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
|
{
|
|
@@ -75,7 +75,7 @@ const Q = "formFieldMaskedInputWrapper__51e099cd", X = "formFieldMaskedInputPlac
|
|
|
75
75
|
}
|
|
76
76
|
),
|
|
77
77
|
/* @__PURE__ */ m(
|
|
78
|
-
|
|
78
|
+
q,
|
|
79
79
|
{
|
|
80
80
|
className: F(l.formFieldMaskedInput, { [l.error]: !!M.error }, I),
|
|
81
81
|
defaultValue: "",
|
|
@@ -83,19 +83,19 @@ const Q = "formFieldMaskedInputWrapper__51e099cd", 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:
|
|
87
|
-
onPaste:
|
|
86
|
+
onChange: E,
|
|
87
|
+
onPaste: S,
|
|
88
88
|
placeholderChar: n,
|
|
89
89
|
value: D(),
|
|
90
|
-
pipe:
|
|
90
|
+
pipe: T,
|
|
91
91
|
type: "text",
|
|
92
92
|
...M
|
|
93
93
|
}
|
|
94
94
|
)
|
|
95
95
|
] });
|
|
96
96
|
};
|
|
97
|
-
|
|
97
|
+
p.presets = G;
|
|
98
98
|
export {
|
|
99
|
-
|
|
99
|
+
p as FormFieldMaskedInput
|
|
100
100
|
};
|
|
101
101
|
//# sourceMappingURL=FormFieldMaskedInput.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
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
|
|
5
|
-
const P = "
|
|
2
|
+
import d, { useContext as x, useRef as u, useEffect as a } from "react";
|
|
3
|
+
import { FormFieldContext as F } from "../FormFieldContext.js";
|
|
4
|
+
import { c as p } from "../../../chunks/vendor-CalMVkfj.js";
|
|
5
|
+
const P = "formFieldPostfix__318a6ac2", R = {
|
|
6
6
|
formFieldPostfix: P
|
|
7
7
|
}, h = d.forwardRef(
|
|
8
8
|
({ children: s, className: i, ...r }, o) => {
|
|
9
|
-
const f =
|
|
9
|
+
const f = p(R.formFieldPostfix, i), { postfixWidth: n, setPostfixWidth: c } = x(F), e = u(), m = (t) => {
|
|
10
10
|
e.current = t, typeof o == "function" ? o(t) : o && (o.current = t);
|
|
11
11
|
};
|
|
12
|
-
return
|
|
12
|
+
return a(() => {
|
|
13
13
|
if (!e.current)
|
|
14
14
|
return;
|
|
15
15
|
const { width: t } = e.current.getBoundingClientRect();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { FormFieldContext as
|
|
4
|
-
import { c as
|
|
5
|
-
const P = "
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
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-CalMVkfj.js";
|
|
5
|
+
const P = "formFieldPrefix__37c53a80", R = {
|
|
6
6
|
formFieldPrefix: P
|
|
7
|
-
}, h =
|
|
7
|
+
}, h = d.forwardRef(
|
|
8
8
|
({ children: o, className: i, ...f }, r) => {
|
|
9
|
-
const s =
|
|
9
|
+
const s = p(R.formFieldPrefix, i), { 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
12
|
return F(() => {
|
|
@@ -14,7 +14,7 @@ const P = "formFieldPrefix__3d36d1d5", R = {
|
|
|
14
14
|
return;
|
|
15
15
|
const { width: e } = t.current.getBoundingClientRect();
|
|
16
16
|
e !== n && c(e);
|
|
17
|
-
}), /* @__PURE__ */
|
|
17
|
+
}), /* @__PURE__ */ l("span", { className: s, ref: m, ...f, children: o });
|
|
18
18
|
}
|
|
19
19
|
);
|
|
20
20
|
h.displayName = "FormFieldPrefix";
|
|
@@ -1,20 +1,20 @@
|
|
|
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, a as S } from "../../../chunks/vendor-
|
|
5
|
-
import { EFormFieldStatus as
|
|
6
|
-
const A = "
|
|
4
|
+
import { c as N, a as S } from "../../../chunks/vendor-CalMVkfj.js";
|
|
5
|
+
import { EFormFieldStatus as o } from "../enums.js";
|
|
6
|
+
const A = "formFieldTarget__a438e549", L = "placeholder__b4a710bc", W = "disabled__e741afb1", R = "placeholderWrapper__a6e689fd", 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__e38e4cfb",
|
|
11
|
+
"size-md": "size-md__c398aa65",
|
|
12
|
+
"size-lg": "size-lg__fa0f795e",
|
|
13
13
|
placeholderWrapper: R
|
|
14
14
|
}, y = x.forwardRef((F, _) => {
|
|
15
|
-
const { className: h, id: r, onBlur:
|
|
16
|
-
[e.disabled]: a ===
|
|
17
|
-
[e.placeholder]: !!m && !s && a !==
|
|
15
|
+
const { className: h, id: r, onBlur: d, onFocus: c, placeholder: m, children: s, ...b } = F, { status: a, setFocused: p, setId: l, setValueExist: f, size: g } = E(B), z = N(e.formFieldTarget, h, e[`size-${g}`], {
|
|
16
|
+
[e.disabled]: a === o.DISABLED,
|
|
17
|
+
[e.placeholder]: !!m && !s && a !== o.DISABLED
|
|
18
18
|
}), t = T(r || S("formFieldTarget_"));
|
|
19
19
|
n(() => {
|
|
20
20
|
l(t.current);
|
|
@@ -24,20 +24,20 @@ const A = "formFieldTarget__342f000d", L = "placeholder__23cfe9cc", W = "disable
|
|
|
24
24
|
f(!!s);
|
|
25
25
|
}, [f, s]);
|
|
26
26
|
const D = (i) => {
|
|
27
|
-
p(!1),
|
|
27
|
+
p(!1), d == null || d(i);
|
|
28
28
|
}, I = (i) => {
|
|
29
29
|
p(!0), c == null || c(i);
|
|
30
30
|
};
|
|
31
31
|
return /* @__PURE__ */ u(
|
|
32
32
|
"div",
|
|
33
33
|
{
|
|
34
|
-
...
|
|
34
|
+
...b,
|
|
35
35
|
className: z,
|
|
36
|
-
"aria-disabled": a ===
|
|
36
|
+
"aria-disabled": a === o.DISABLED,
|
|
37
37
|
id: t.current,
|
|
38
38
|
onFocus: I,
|
|
39
39
|
onBlur: D,
|
|
40
|
-
tabIndex: a ===
|
|
40
|
+
tabIndex: a === o.DISABLED ? -1 : 0,
|
|
41
41
|
ref: _,
|
|
42
42
|
children: s || /* @__PURE__ */ u("span", { className: e.placeholderWrapper, children: m })
|
|
43
43
|
}
|