@sberbusiness/triplex-next 0.14.1 → 0.16.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-BfExIHyf.js +39 -0
- package/chunks/{CalendarViewItem-bjlzO6fA.js → CalendarViewItem-DjDlwsr-.js} +18 -18
- package/chunks/Card.module-BDhkqA-1.js +17 -0
- package/chunks/CheckboxTreeExtended.module-DvYrGq2d.js +14 -0
- package/chunks/{Chip-BjcDj2XE.js → Chip-Is4KDVHc.js} +3 -3
- package/chunks/Confirm.module-DJgmkdgX.js +15 -0
- package/chunks/{DropdownListItem-BByGOD7_.js → DropdownListItem-BdSacGyt.js} +21 -21
- package/chunks/DropdownMobile.module-04Mon9FN.js +23 -0
- package/chunks/Footer.module-B0GfNisY.js +9 -0
- package/chunks/FormFieldInput-DDUEO0k6.js +60 -0
- package/chunks/HeaderLayoutSidebar.module-BvdGzIVf.js +9 -0
- package/chunks/HeaderTabs.module-COsRYfxE.js +9 -0
- package/chunks/{HeaderTitle.module-Aa8Ayziq.js → HeaderTitle.module-LN1Fj13p.js} +2 -2
- package/chunks/IslandAccordion.module-GnMVxP0n.js +25 -0
- package/chunks/IslandWidgetFooter.module-Cvl5d8YC.js +9 -0
- package/chunks/IslandWidgetHeader.module-JkauVtWn.js +12 -0
- package/chunks/{LightBoxContent-B5TEJXI-.js → LightBoxContent-CN7SmRwX.js} +13 -13
- package/chunks/LightBoxControls.module-koLoz_-f.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-D6FP9Ulx.js +8 -0
- package/chunks/{ListItemControlsButton-BQWXaAf7.js → ListItemControlsButton-CgrHz7BO.js} +3 -3
- package/chunks/ListItemTail.module-DNRGTk64.js +12 -0
- package/chunks/ListMasterFooter.module-iy5cZxzC.js +10 -0
- package/chunks/ModalWindow.module-boLwaSVC.js +17 -0
- package/chunks/Notification.module-6l7KFShv.js +21 -0
- package/chunks/Overlay.module-COWWNc0T.js +18 -0
- package/chunks/Page.module-UL2Y8-XU.js +11 -0
- package/chunks/{RightBorderArrow-BjcGiO4Y.js → RightBorderArrow-B47Am4iB.js} +9 -9
- package/chunks/SMSField.module-BGqA-NcR.js +16 -0
- package/chunks/SliderExtendedMarks.module-CrvLHlu0.js +15 -0
- package/chunks/{SliderExtendedRail-DHe0BU85.js → SliderExtendedRail-C_eWUceV.js} +6 -6
- package/chunks/StatusTracker.module-BIpb3AbV.js +24 -0
- package/chunks/SuggestFieldMobileDropdownHint-C_9OyUAk.js +14 -0
- package/chunks/TableFooter.module-DpjOyrUF.js +14 -0
- package/chunks/TabsExtended.module-hRiksHlb.js +16 -0
- package/chunks/TabsLine.module-3hdH-7s8.js +21 -0
- package/chunks/TooltipDesktop.module-BQ_-qhMK.js +19 -0
- package/chunks/TreeView.module-BHzh1VmC.js +9 -0
- package/chunks/UploadZoneInput--8r5kxhe.js +33 -0
- package/chunks/constants-BY1BSJmu.js +57 -0
- package/chunks/{utils-DQttOWML.js → utils-Bg2bllE8.js} +9 -9
- package/chunks/utils-e1nAN4Kk.js +20 -0
- package/chunks/utils-rqbzWAF8.js +24 -0
- package/chunks/utils-zNOBXKDX.js +73 -0
- package/chunks/{vendor-CalMVkfj.js → vendor-DE8Zvm0w.js} +5 -5
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +4 -4
- 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 +26 -26
- package/components/Avatar/Avatar.js +14 -14
- package/components/Badge/Badge.js +30 -0
- 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/Badge/index.js +5 -0
- package/components/Badge/types.js +2 -0
- package/components/Body/Body.js +5 -5
- package/components/Button/Button.js +36 -36
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +24 -24
- package/components/Button/ButtonDropdownExtended.js +6 -6
- package/components/Button/ButtonIcon.js +10 -10
- 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 +12 -12
- package/components/Card/CardStatic.js +3 -3
- package/components/Card/components/CardContent/CardContent.js +2 -2
- package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
- package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
- package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
- package/components/Card/components/CardMedia.js +2 -2
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +5 -5
- package/components/Checkbox/Checkbox.js +16 -16
- package/components/Checkbox/CheckboxXGroup.js +11 -11
- package/components/Checkbox/CheckboxYGroup.js +6 -6
- 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 +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +2 -2
- 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 +51 -42
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +7 -7
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +18 -18
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +16 -16
- package/components/Col/Col.js +141 -141
- package/components/CollapsableTree/components/CollapsableTreeNode.js +6 -6
- package/components/Confirm/Confirm.js +2 -2
- package/components/Confirm/components/ConfirmCloseButton.js +2 -2
- package/components/Confirm/components/ConfirmContent.js +2 -2
- package/components/Confirm/components/ConfirmContentSubTitle.js +5 -5
- 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 +29 -28
- package/components/DatePickerExtended/DatePickerExtended.js +7 -7
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +8 -8
- package/components/DateRange/DateRange.js +9 -9
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/DesignTokensComponents.js +88 -86
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +92 -90
- package/components/DesignTokens/components/Badge.js +9 -0
- package/components/DesignTokens/components/Dropdown.js +3 -3
- package/components/DesignTokens/components/DropdownMobileList.js +2 -2
- package/components/DesignTokens/components/Typography.js +35 -2
- package/components/DesignTokens/components/index.js +150 -147
- package/components/Divider/Divider.js +21 -21
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +9 -9
- package/components/Dropdown/desktop/DropdownDesktop.js +70 -69
- 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 +35 -35
- 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 +9 -9
- package/components/ExpandAnimation/ExpandAnimation.js +20 -20
- 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 +79 -75
- package/components/FormField/components/FormFieldClear.js +10 -10
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +9 -9
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +8 -8
- package/components/FormField/components/FormFieldMaskedInput.js +17 -17
- package/components/FormField/components/FormFieldPostfix.js +6 -6
- package/components/FormField/components/FormFieldPrefix.js +5 -5
- package/components/FormField/components/FormFieldTarget.js +5 -5
- package/components/FormField/components/FormFieldTextarea.js +8 -8
- 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 +4 -4
- 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 +37 -36
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +5 -5
- package/components/Island/components/IslandFooter.js +5 -5
- package/components/Island/components/IslandHeader.js +3 -3
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +3 -3
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionItem.js +87 -72
- package/components/IslandWidget/IslandWidget.js +68 -37
- package/components/IslandWidget/IslandWidgetContext.js +5 -5
- package/components/IslandWidget/IslandWidgetLayoutContext.js +10 -0
- package/components/IslandWidget/components/IslandWidgetBody.js +7 -4
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +3 -3
- 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 +28 -10
- 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 +21 -22
- 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 +1 -1
- package/components/LightBox/LightBoxSideOverlay/index.js +0 -2
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +5 -5
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/LightBox/index.js +0 -2
- package/components/Link/Link.js +28 -28
- package/components/List/List.js +6 -6
- 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 +3 -3
- package/components/List/components/ListItemSelectable.js +11 -11
- package/components/List/components/ListItemTable.js +7 -7
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +2 -2
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +2 -2
- 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 +8 -8
- package/components/ListMaster/components/SelectionControls.js +3 -3
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +5 -5
- 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 +4 -4
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +5 -5
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +10 -10
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- 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 +4 -4
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +3 -3
- package/components/OrderedList/OrderedListItem.js +6 -6
- package/components/Overlay/Overlay.js +2 -2
- package/components/Overlay/OverlayMask.js +2 -2
- package/components/Overlay/OverlayPanel.js +2 -2
- package/components/Page/Page.js +2 -2
- package/components/Page/components/BodyPage.js +13 -13
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/Pagination.js +4 -4
- 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 +26 -30
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +16 -16
- package/components/Radio/RadioXGroup.js +12 -12
- package/components/Radio/RadioYGroup.js +8 -8
- package/components/Row/Row.js +5 -5
- package/components/SMSField/SMSField.js +3 -3
- package/components/SMSField/components/RefreshIcon.js +2 -2
- package/components/SMSField/components/SMSFieldInput.js +3 -3
- package/components/SMSField/components/SMSFieldRefresh.js +2 -2
- package/components/SMSField/components/SMSFieldSubmit.js +2 -2
- package/components/SMSField/components/SMSFieldTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +5 -5
- package/components/SegmentedControl/SegmentedControlSegment.js +9 -9
- package/components/SelectExtendedField/SelectExtendedField.js +5 -5
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +5 -5
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +15 -15
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +12 -12
- package/components/SelectField/SelectField.js +5 -5
- package/components/Skeleton/Skeleton.js +7 -7
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +21 -21
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +2 -2
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +2 -2
- package/components/SliderExtended/components/SliderExtendedRail.js +2 -2
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +8 -8
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +20 -20
- 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 +6 -6
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +8 -8
- 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 +8 -8
- package/components/StatusTracker/components/StatusTrackerTitle.js +8 -8
- package/components/Step/Step.js +10 -10
- 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 +3 -3
- package/components/Suggest/Suggest.js +52 -89
- package/components/Suggest/SuggestContext.js +4 -7
- package/components/Suggest/SuggestMobileDropdownContent.js +9 -9
- package/components/Suggest/useSuggest.js +64 -0
- package/components/SuggestField/SuggestField.js +44 -47
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +132 -133
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +5 -5
- package/components/SuggestField/index.js +8 -10
- package/components/SuggestField/mobile/SuggestFieldMobile.js +94 -75
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +26 -26
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +4 -4
- package/components/SuggestField/mobile/index.js +4 -6
- 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 +2 -2
- 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 +2 -2
- 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 +6 -6
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +5 -5
- 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 +6 -6
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +14 -14
- 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 +19 -19
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +9 -9
- package/components/Tag/Tag.js +18 -18
- package/components/TagColor/TagColor.js +18 -18
- package/components/TagGroup/TagGroup.js +14 -14
- package/components/TextField/TextField.js +1 -1
- package/components/TextField/TextFieldBase.js +25 -30
- 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 +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 +6 -6
- package/components/TopOverlay/TopOverlay.js +10 -10
- 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 +40 -42
- package/components/Typography/Text.js +44 -46
- package/components/Typography/Title.js +40 -42
- package/components/Typography/constants.js +6 -0
- package/components/Typography/enums.js +9 -8
- package/components/Typography/index.js +15 -16
- package/components/UnorderedList/UnorderedList.js +3 -3
- package/components/UnorderedList/UnorderedListItem.js +12 -12
- 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 +532 -533
- package/index.d.ts +108 -117
- package/index.js +576 -577
- package/package.json +9 -1
- package/styles/triplex-next.css +546 -534
- package/utils/amountUtils.js +1 -1
- package/chunks/AlertProcessSpoiler-w7bEDQkZ.js +0 -39
- package/chunks/Card.module-BLsCGNSy.js +0 -17
- package/chunks/CheckboxTreeExtended.module-CgfwcCEk.js +0 -14
- package/chunks/Confirm.module-CzudnAyq.js +0 -15
- package/chunks/DropdownMobile.module-DOLon8EA.js +0 -23
- package/chunks/Footer.module-BVFglVCT.js +0 -9
- package/chunks/FormFieldInput-CXE2lpa2.js +0 -60
- package/chunks/HeaderLayoutSidebar.module-DKuCSX50.js +0 -9
- package/chunks/HeaderTabs.module-BD-cjJN0.js +0 -9
- package/chunks/IslandAccordion.module-DuBXHdTP.js +0 -25
- package/chunks/IslandWidgetFooter.module-Dv6ikQyO.js +0 -9
- package/chunks/IslandWidgetHeader.module-ChVPLOQn.js +0 -9
- package/chunks/LightBoxControls.module-4BsaXW9O.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-Bx568ER4.js +0 -8
- package/chunks/ListItemTail.module-Dqje1Ta9.js +0 -12
- package/chunks/ListMasterFooter.module-CQ5ySLht.js +0 -10
- package/chunks/ModalWindow.module-BhRZeAo8.js +0 -17
- package/chunks/Notification.module-DwrRfWOt.js +0 -21
- package/chunks/Overlay.module-B6CO6ER3.js +0 -18
- package/chunks/Page.module-DkHondpd.js +0 -11
- package/chunks/SMSField.module-CDTpuKgF.js +0 -16
- package/chunks/SliderExtendedMarks.module--4YyXPzu.js +0 -15
- package/chunks/StatusTracker.module-DkISSFNd.js +0 -24
- package/chunks/SuggestFieldMobileDropdownHint-BM9lOqXe.js +0 -15
- package/chunks/TableFooter.module-zu7cE58N.js +0 -14
- package/chunks/TabsExtended.module-CKJx5gTC.js +0 -16
- package/chunks/TabsLine.module-dWFH4Lb0.js +0 -21
- package/chunks/TooltipDesktop.module-8uJuXz2F.js +0 -19
- package/chunks/TreeView.module-CBWqJQ3g.js +0 -9
- package/chunks/UploadZoneInput-DgPYo5Ct.js +0 -33
- package/chunks/utils-D6gsTR6V.js +0 -73
- package/chunks/utils-DXZkhXsb.js +0 -24
- package/chunks/utils-Ds7Etruz.js +0 -20
- package/chunks/utils-QtOC5s-T.js +0 -36
- package/components/LightBox/LightBoxSideOverlay/enums.js +0 -5
- package/components/SuggestField/SuggestFieldTarget.js +0 -70
- package/components/SuggestField/SuggestFieldTargetPostfix.js +0 -28
- package/components/SuggestField/mobile/SuggestFieldMobileTarget.js +0 -30
- package/components/Typography/utils.js +0 -6
|
@@ -1,27 +1,29 @@
|
|
|
1
|
-
import { SuggestFieldDesktopDropdown as
|
|
2
|
-
import { jsxs as
|
|
3
|
-
import { useState as
|
|
4
|
-
import {
|
|
5
|
-
import { Tooltip as
|
|
6
|
-
import { ETooltipSize as
|
|
7
|
-
import {
|
|
1
|
+
import { SuggestFieldDesktopDropdown as dt } from "./SuggestFieldDesktopDropdown.js";
|
|
2
|
+
import { jsxs as w, jsx as n } from "react/jsx-runtime";
|
|
3
|
+
import lt, { useState as u, useRef as b, useCallback as s, useEffect as x } from "react";
|
|
4
|
+
import { EComponentSize as ct } from "../../../enums/EComponentSize.js";
|
|
5
|
+
import { Tooltip as R } from "../../Tooltip/Tooltip.js";
|
|
6
|
+
import { ETooltipSize as pt } from "../../Tooltip/enums.js";
|
|
7
|
+
import { TextFieldBase as at } from "../../TextField/TextFieldBase.js";
|
|
8
8
|
import "../../FormField/FormField.js";
|
|
9
9
|
import "../../FormField/components/FormFieldDescription.js";
|
|
10
10
|
import "../../FormField/components/FormFieldCounter.js";
|
|
11
11
|
import "../../FormField/components/FormFieldLabel.js";
|
|
12
|
-
import "../../FormField/components/FormFieldClear.js";
|
|
12
|
+
import { FormFieldClear as ft } from "../../FormField/components/FormFieldClear.js";
|
|
13
13
|
import "../../FormField/components/FormFieldTarget.js";
|
|
14
|
-
import "../../../chunks/FormFieldInput-
|
|
14
|
+
import { F as gt } from "../../../chunks/FormFieldInput-DDUEO0k6.js";
|
|
15
15
|
import "../../FormField/components/FormFieldMaskedInput.js";
|
|
16
16
|
import "../../FormField/components/FormFieldPostfix.js";
|
|
17
17
|
import "../../FormField/components/FormFieldPrefix.js";
|
|
18
18
|
import "../../FormField/components/FormFieldTextarea.js";
|
|
19
|
-
import { EFormFieldStatus as
|
|
20
|
-
import "../../
|
|
21
|
-
import {
|
|
19
|
+
import { EFormFieldStatus as T } from "../../FormField/enums.js";
|
|
20
|
+
import { LoaderSmall as ht } from "../../Loader/LoaderSmall/LoaderSmall.js";
|
|
21
|
+
import { ELoaderSmallTheme as ut } from "../../Loader/LoaderSmall/enum.js";
|
|
22
|
+
import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
23
|
+
import { DropdownListContext as bt } from "../../Dropdown/DropdownListContext.js";
|
|
22
24
|
import "../../Dropdown/desktop/DropdownDesktop.js";
|
|
23
25
|
import "../../Dropdown/desktop/DropdownList.js";
|
|
24
|
-
import "../../../chunks/DropdownListItem-
|
|
26
|
+
import "../../../chunks/DropdownListItem-BdSacGyt.js";
|
|
25
27
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
26
28
|
import "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
27
29
|
import "../../Dropdown/mobile/DropdownMobileClose.js";
|
|
@@ -31,167 +33,164 @@ import "../../Dropdown/mobile/DropdownMobileInner.js";
|
|
|
31
33
|
import "../../Dropdown/mobile/DropdownMobileInput.js";
|
|
32
34
|
import "../../Dropdown/mobile/DropdownMobileList.js";
|
|
33
35
|
import "../../Dropdown/mobile/DropdownMobileListItem.js";
|
|
34
|
-
import "../../
|
|
35
|
-
import "
|
|
36
|
-
import {
|
|
37
|
-
const
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
value: e,
|
|
42
|
-
options: p,
|
|
43
|
-
size: y,
|
|
36
|
+
import "../../Dropdown/Dropdown.js";
|
|
37
|
+
import { DataTestId as j } from "../../../consts/DataTestId.js";
|
|
38
|
+
import { u as St, z as Ft } from "../../../chunks/vendor-DE8Zvm0w.js";
|
|
39
|
+
const io = ({
|
|
40
|
+
value: o,
|
|
41
|
+
options: m,
|
|
42
|
+
size: S = ct.LG,
|
|
44
43
|
status: F,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
loading:
|
|
48
|
-
dropdownListLoading:
|
|
49
|
-
tooltipHint:
|
|
50
|
-
tooltipOpen:
|
|
51
|
-
clearInputOnFocus:
|
|
52
|
-
onSelect:
|
|
44
|
+
placeholder: z,
|
|
45
|
+
"data-test-id": d,
|
|
46
|
+
loading: q,
|
|
47
|
+
dropdownListLoading: G,
|
|
48
|
+
tooltipHint: J,
|
|
49
|
+
tooltipOpen: K,
|
|
50
|
+
clearInputOnFocus: k,
|
|
51
|
+
onSelect: g,
|
|
53
52
|
onFilter: h,
|
|
54
|
-
onScrollEnd:
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
renderDropdownListItem: Z,
|
|
65
|
-
"data-test-id": c,
|
|
66
|
-
...T
|
|
53
|
+
onScrollEnd: y,
|
|
54
|
+
onClear: p,
|
|
55
|
+
prefix: Q,
|
|
56
|
+
postfix: U,
|
|
57
|
+
renderInput: A,
|
|
58
|
+
renderDropdown: C,
|
|
59
|
+
renderDropdownList: V,
|
|
60
|
+
renderDropdownListItem: W,
|
|
61
|
+
inputProps: i,
|
|
62
|
+
...X
|
|
67
63
|
}) => {
|
|
68
|
-
const [
|
|
69
|
-
|
|
70
|
-
const
|
|
64
|
+
const [a, l] = u((o == null ? void 0 : o.label) || ""), [H, D] = u(), [f, $] = u(!1), [r, c] = u(!1), M = b(St()), L = b(null), N = b(null), E = b(y);
|
|
65
|
+
E.current = y;
|
|
66
|
+
const Y = s(
|
|
71
67
|
(t) => {
|
|
72
|
-
l((t == null ? void 0 : t.label) || ""),
|
|
68
|
+
l((t == null ? void 0 : t.label) || ""), D(void 0), c(!1), g(t);
|
|
73
69
|
},
|
|
74
|
-
[
|
|
75
|
-
),
|
|
70
|
+
[g]
|
|
71
|
+
), Z = s(
|
|
76
72
|
(t) => {
|
|
77
|
-
|
|
73
|
+
var e;
|
|
74
|
+
$(!0), k && a.length !== 0 && l(""), (e = i.onFocus) == null || e.call(i, t);
|
|
78
75
|
},
|
|
79
|
-
[
|
|
80
|
-
),
|
|
76
|
+
[k, a, i]
|
|
77
|
+
), _ = s(
|
|
81
78
|
(t) => {
|
|
82
|
-
|
|
79
|
+
var e;
|
|
80
|
+
D(void 0), $(!1), c(!1), a.length !== 0 ? l((o == null ? void 0 : o.label) || "") : g(void 0), (e = i.onBlur) == null || e.call(i, t);
|
|
83
81
|
},
|
|
84
|
-
[
|
|
85
|
-
),
|
|
86
|
-
|
|
87
|
-
}, [
|
|
82
|
+
[o == null ? void 0 : o.label, a, g, i]
|
|
83
|
+
), v = s(() => {
|
|
84
|
+
f && !r && c(!0);
|
|
85
|
+
}, [f, r]), P = s(
|
|
88
86
|
(t) => {
|
|
89
|
-
const
|
|
90
|
-
|
|
87
|
+
const e = t.target.value;
|
|
88
|
+
r === !1 && m.length > 0 && c(!0), l(e), h(e);
|
|
91
89
|
},
|
|
92
|
-
[h]
|
|
93
|
-
),
|
|
94
|
-
i ? (l(""), h("")) : d(void 0);
|
|
95
|
-
}, [i, h, d]), it = s(
|
|
90
|
+
[r, m.length, h]
|
|
91
|
+
), tt = s(
|
|
96
92
|
(t) => {
|
|
97
|
-
|
|
93
|
+
f && (l(""), h("")), p == null || p(t);
|
|
98
94
|
},
|
|
99
|
-
[
|
|
100
|
-
),
|
|
101
|
-
|
|
102
|
-
if (
|
|
95
|
+
[f, h, p]
|
|
96
|
+
), I = s(
|
|
97
|
+
Ft((t) => {
|
|
98
|
+
if (E.current === void 0)
|
|
103
99
|
return;
|
|
104
|
-
const
|
|
105
|
-
if (
|
|
100
|
+
const e = t.target, B = e.parentElement;
|
|
101
|
+
if (B === null)
|
|
106
102
|
return;
|
|
107
|
-
const
|
|
108
|
-
Math.abs(
|
|
103
|
+
const et = e.scrollHeight, rt = e.scrollTop, it = B.scrollHeight, O = window.getComputedStyle(B), nt = O.getPropertyValue("padding-top"), st = O.getPropertyValue("padding-bottom"), mt = Number.parseInt(st) + Number.parseInt(nt);
|
|
104
|
+
Math.abs(rt + it - mt - et) <= 1 && E.current();
|
|
109
105
|
}, 100),
|
|
110
106
|
[]
|
|
111
107
|
);
|
|
112
|
-
|
|
113
|
-
l((
|
|
114
|
-
}, [
|
|
115
|
-
|
|
116
|
-
}, [
|
|
117
|
-
if (
|
|
118
|
-
const t =
|
|
119
|
-
return t && t.addEventListener("scroll",
|
|
120
|
-
t && t.removeEventListener("scroll",
|
|
108
|
+
x(() => {
|
|
109
|
+
l((o == null ? void 0 : o.label) || "");
|
|
110
|
+
}, [o]), x(() => {
|
|
111
|
+
r && m.length === 0 && c(!1);
|
|
112
|
+
}, [r, m.length]), x(() => {
|
|
113
|
+
if (r) {
|
|
114
|
+
const t = N.current;
|
|
115
|
+
return t && t.addEventListener("scroll", I), () => {
|
|
116
|
+
t && t.removeEventListener("scroll", I);
|
|
121
117
|
};
|
|
122
118
|
}
|
|
123
|
-
}, [
|
|
124
|
-
const
|
|
125
|
-
const t =
|
|
126
|
-
return /* @__PURE__ */
|
|
127
|
-
|
|
119
|
+
}, [r, I]);
|
|
120
|
+
const ot = () => {
|
|
121
|
+
const t = A === void 0 ? gt : A, e = C === void 0 ? dt : C;
|
|
122
|
+
return /* @__PURE__ */ w(
|
|
123
|
+
at,
|
|
128
124
|
{
|
|
129
|
-
|
|
125
|
+
"data-test-id": d,
|
|
126
|
+
status: F,
|
|
127
|
+
size: S,
|
|
128
|
+
prefix: Q,
|
|
129
|
+
postfix: /* @__PURE__ */ w(lt.Fragment, { children: [
|
|
130
|
+
p !== void 0 && /* @__PURE__ */ n(ft, { onClick: tt }),
|
|
131
|
+
q && /* @__PURE__ */ n(ht, { theme: ut.BRAND, size: S }),
|
|
132
|
+
U
|
|
133
|
+
] }),
|
|
134
|
+
...X,
|
|
135
|
+
ref: L,
|
|
130
136
|
children: [
|
|
131
|
-
/* @__PURE__ */
|
|
132
|
-
|
|
137
|
+
/* @__PURE__ */ n(
|
|
138
|
+
t,
|
|
133
139
|
{
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
"aria-controls":
|
|
140
|
-
"aria-activedescendant":
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
onFocus:
|
|
144
|
-
onBlur:
|
|
145
|
-
onClick:
|
|
146
|
-
onChange:
|
|
147
|
-
onClear: st,
|
|
148
|
-
renderInput: U,
|
|
149
|
-
renderLabel: V,
|
|
150
|
-
renderPrefix: W,
|
|
151
|
-
renderPostfix: X,
|
|
152
|
-
dataTestId: c
|
|
140
|
+
value: a,
|
|
141
|
+
placeholder: z,
|
|
142
|
+
"data-test-id": d && `${d}${j.Suggest.input}`,
|
|
143
|
+
...i,
|
|
144
|
+
role: "combobox",
|
|
145
|
+
"aria-controls": M.current,
|
|
146
|
+
"aria-activedescendant": H,
|
|
147
|
+
"aria-expanded": r,
|
|
148
|
+
disabled: F === T.DISABLED,
|
|
149
|
+
onFocus: Z,
|
|
150
|
+
onBlur: _,
|
|
151
|
+
onClick: v,
|
|
152
|
+
onChange: P
|
|
153
153
|
}
|
|
154
154
|
),
|
|
155
|
-
/* @__PURE__ */
|
|
156
|
-
|
|
155
|
+
/* @__PURE__ */ n(bt.Provider, { value: { activeDescendant: H, setActiveDescendant: D }, children: /* @__PURE__ */ n(
|
|
156
|
+
e,
|
|
157
157
|
{
|
|
158
|
-
value:
|
|
159
|
-
options:
|
|
160
|
-
size:
|
|
161
|
-
listId:
|
|
162
|
-
opened:
|
|
163
|
-
listLoading:
|
|
164
|
-
listRef:
|
|
165
|
-
onSelect:
|
|
166
|
-
renderList:
|
|
167
|
-
renderListItem:
|
|
168
|
-
setOpened:
|
|
158
|
+
value: o,
|
|
159
|
+
options: m,
|
|
160
|
+
size: S,
|
|
161
|
+
listId: M.current,
|
|
162
|
+
opened: r && m.length > 0,
|
|
163
|
+
listLoading: G,
|
|
164
|
+
listRef: N,
|
|
165
|
+
onSelect: Y,
|
|
166
|
+
renderList: V,
|
|
167
|
+
renderListItem: W,
|
|
168
|
+
setOpened: c,
|
|
169
169
|
targetRef: L,
|
|
170
|
-
dataTestId:
|
|
170
|
+
dataTestId: d
|
|
171
171
|
}
|
|
172
|
-
)
|
|
172
|
+
) })
|
|
173
173
|
]
|
|
174
174
|
}
|
|
175
|
-
)
|
|
175
|
+
);
|
|
176
176
|
};
|
|
177
|
-
return /* @__PURE__ */
|
|
178
|
-
|
|
177
|
+
return /* @__PURE__ */ w(
|
|
178
|
+
R,
|
|
179
179
|
{
|
|
180
|
-
size:
|
|
181
|
-
isOpen: !!(
|
|
180
|
+
size: pt.SM,
|
|
181
|
+
isOpen: !!(K && f) && F !== T.DISABLED,
|
|
182
182
|
toggle: () => {
|
|
183
183
|
},
|
|
184
184
|
targetRef: L,
|
|
185
185
|
disableAdaptiveMode: !0,
|
|
186
186
|
children: [
|
|
187
|
-
/* @__PURE__ */
|
|
188
|
-
/* @__PURE__ */
|
|
187
|
+
/* @__PURE__ */ n(R.Body, { "data-test-id": d && `${d}${j.Suggest.tooltip}`, children: J }),
|
|
188
|
+
/* @__PURE__ */ n(R.Target, { children: ot() })
|
|
189
189
|
]
|
|
190
190
|
}
|
|
191
191
|
);
|
|
192
192
|
};
|
|
193
|
-
Pt.displayName = "SuggestFieldDesktop";
|
|
194
193
|
export {
|
|
195
|
-
|
|
194
|
+
io as SuggestFieldDesktop
|
|
196
195
|
};
|
|
197
196
|
//# sourceMappingURL=SuggestFieldDesktop.js.map
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import { Dropdown as $ } from "../../Dropdown/Dropdown.js";
|
|
3
2
|
import "../../Dropdown/DropdownListContext.js";
|
|
4
3
|
import "../../Dropdown/desktop/DropdownDesktop.js";
|
|
5
|
-
import { DropdownList as
|
|
6
|
-
import { D as
|
|
4
|
+
import { DropdownList as $ } from "../../Dropdown/desktop/DropdownList.js";
|
|
5
|
+
import { D as h } from "../../../chunks/DropdownListItem-BdSacGyt.js";
|
|
7
6
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
8
7
|
import "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
9
8
|
import "../../Dropdown/mobile/DropdownMobileClose.js";
|
|
@@ -15,6 +14,7 @@ import "../../Dropdown/mobile/DropdownMobileList.js";
|
|
|
15
14
|
import "../../Dropdown/mobile/DropdownMobileListItem.js";
|
|
16
15
|
import "../../Loader/LoaderSmall/LoaderSmall.js";
|
|
17
16
|
import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
17
|
+
import { Dropdown as C } from "../../Dropdown/Dropdown.js";
|
|
18
18
|
import { EVENT_KEY_CODES as L } from "../../../utils/keyboard.js";
|
|
19
19
|
import { DataTestId as d } from "../../../consts/DataTestId.js";
|
|
20
20
|
const _ = [L.ENTER], G = ({
|
|
@@ -33,9 +33,9 @@ const _ = [L.ENTER], G = ({
|
|
|
33
33
|
setOpened: l,
|
|
34
34
|
...w
|
|
35
35
|
}) => {
|
|
36
|
-
const S = n === void 0 ?
|
|
36
|
+
const S = n === void 0 ? $ : n, g = D === void 0 ? h : D;
|
|
37
37
|
return /* @__PURE__ */ m(
|
|
38
|
-
|
|
38
|
+
C,
|
|
39
39
|
{
|
|
40
40
|
size: e,
|
|
41
41
|
targetRef: s,
|
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
import { SuggestFieldDesktopDropdown as r } from "./desktop/SuggestFieldDesktopDropdown.js";
|
|
2
2
|
import { SuggestFieldDesktop as g } from "./desktop/SuggestFieldDesktop.js";
|
|
3
|
-
import { SuggestFieldMobile as
|
|
4
|
-
import { SuggestFieldMobileDropdown as
|
|
5
|
-
import { S } from "../../chunks/SuggestFieldMobileDropdownHint-
|
|
6
|
-
import {
|
|
7
|
-
import { SuggestField as x } from "./SuggestField.js";
|
|
3
|
+
import { SuggestFieldMobile as i } from "./mobile/SuggestFieldMobile.js";
|
|
4
|
+
import { SuggestFieldMobileDropdown as l } from "./mobile/SuggestFieldMobileDropdown.js";
|
|
5
|
+
import { S } from "../../chunks/SuggestFieldMobileDropdownHint-C_9OyUAk.js";
|
|
6
|
+
import { SuggestField as m } from "./SuggestField.js";
|
|
8
7
|
export {
|
|
9
|
-
|
|
8
|
+
m as SuggestField,
|
|
10
9
|
g as SuggestFieldDesktop,
|
|
11
10
|
r as SuggestFieldDesktopDropdown,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
S as SuggestFieldMobileDropdownHint
|
|
15
|
-
m as SuggestFieldMobileTarget
|
|
11
|
+
i as SuggestFieldMobile,
|
|
12
|
+
l as SuggestFieldMobileDropdown,
|
|
13
|
+
S as SuggestFieldMobileDropdownHint
|
|
16
14
|
};
|
|
17
15
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,80 +1,99 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useState as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { jsxs as u, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import k, { useState as v, useRef as F, useEffect as B } from "react";
|
|
3
|
+
import { EComponentSize as C } from "../../../enums/EComponentSize.js";
|
|
4
|
+
import { SuggestFieldMobileDropdown as I } from "./SuggestFieldMobileDropdown.js";
|
|
5
|
+
import { TextFieldBase as M } from "../../TextField/TextFieldBase.js";
|
|
6
|
+
import { DataTestId as $ } from "../../../consts/DataTestId.js";
|
|
7
|
+
import "../../FormField/FormField.js";
|
|
8
|
+
import "../../FormField/components/FormFieldDescription.js";
|
|
9
|
+
import "../../FormField/components/FormFieldCounter.js";
|
|
10
|
+
import "../../FormField/components/FormFieldLabel.js";
|
|
11
|
+
import { FormFieldClear as y } from "../../FormField/components/FormFieldClear.js";
|
|
12
|
+
import "../../FormField/components/FormFieldTarget.js";
|
|
13
|
+
import { F as A } from "../../../chunks/FormFieldInput-DDUEO0k6.js";
|
|
14
|
+
import "../../FormField/components/FormFieldMaskedInput.js";
|
|
15
|
+
import "../../FormField/components/FormFieldPostfix.js";
|
|
16
|
+
import "../../FormField/components/FormFieldPrefix.js";
|
|
17
|
+
import "../../FormField/components/FormFieldTextarea.js";
|
|
18
|
+
import { LoaderSmall as G } from "../../Loader/LoaderSmall/LoaderSmall.js";
|
|
19
|
+
import { ELoaderSmallTheme as N } from "../../Loader/LoaderSmall/enum.js";
|
|
20
|
+
import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
21
|
+
import "../../../chunks/SuggestFieldMobileDropdownHint-C_9OyUAk.js";
|
|
22
|
+
const no = ({
|
|
9
23
|
value: r,
|
|
10
|
-
options:
|
|
11
|
-
size:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
loading:
|
|
17
|
-
dropdownListLoading:
|
|
18
|
-
clearInputOnFocus:
|
|
19
|
-
onFilter:
|
|
20
|
-
onSelect:
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
})
|
|
31
|
-
const
|
|
32
|
-
|
|
33
|
-
f
|
|
34
|
-
}, [e]);
|
|
35
|
-
const V = () => i(void 0), k = (y) => {
|
|
36
|
-
d(!0), o == null || o(y);
|
|
24
|
+
options: x,
|
|
25
|
+
size: n = C.LG,
|
|
26
|
+
placeholder: p,
|
|
27
|
+
"data-test-id": m,
|
|
28
|
+
postfix: S,
|
|
29
|
+
tooltipHint: b,
|
|
30
|
+
loading: d,
|
|
31
|
+
dropdownListLoading: g,
|
|
32
|
+
clearInputOnFocus: w,
|
|
33
|
+
onFilter: D,
|
|
34
|
+
onSelect: O,
|
|
35
|
+
onClear: l,
|
|
36
|
+
onScrollEnd: h,
|
|
37
|
+
renderInput: s,
|
|
38
|
+
inputProps: e,
|
|
39
|
+
...E
|
|
40
|
+
}) => {
|
|
41
|
+
const [o, c] = v(!1), i = F(null), a = F(!1), L = s === void 0 ? A : s;
|
|
42
|
+
B(() => {
|
|
43
|
+
a.current && !o && i.current && i.current.scrollIntoView({ block: "center" }), a.current = o;
|
|
44
|
+
}, [o]);
|
|
45
|
+
const R = (j) => {
|
|
46
|
+
var f;
|
|
47
|
+
c(!0), (f = e.onFocus) == null || f.call(e, j);
|
|
37
48
|
};
|
|
38
|
-
return /* @__PURE__ */
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
49
|
+
return /* @__PURE__ */ u(
|
|
50
|
+
M,
|
|
51
|
+
{
|
|
52
|
+
"data-test-id": m,
|
|
53
|
+
size: n,
|
|
54
|
+
postfix: /* @__PURE__ */ u(k.Fragment, { children: [
|
|
55
|
+
l !== void 0 && /* @__PURE__ */ t(y, { onClick: l }),
|
|
56
|
+
d && /* @__PURE__ */ t(G, { theme: N.BRAND, size: n }),
|
|
57
|
+
S
|
|
58
|
+
] }),
|
|
59
|
+
...E,
|
|
60
|
+
ref: i,
|
|
61
|
+
children: [
|
|
62
|
+
/* @__PURE__ */ t(
|
|
63
|
+
L,
|
|
64
|
+
{
|
|
65
|
+
value: r ? r.label : "",
|
|
66
|
+
placeholder: p,
|
|
67
|
+
role: "combobox",
|
|
68
|
+
"aria-expanded": o,
|
|
69
|
+
"data-test-id": m && `${m}${$.Suggest.input}`,
|
|
70
|
+
...e,
|
|
71
|
+
readOnly: !0,
|
|
72
|
+
onFocus: R
|
|
73
|
+
}
|
|
74
|
+
),
|
|
75
|
+
/* @__PURE__ */ t(
|
|
76
|
+
I,
|
|
77
|
+
{
|
|
78
|
+
value: r,
|
|
79
|
+
options: x,
|
|
80
|
+
placeholder: p,
|
|
81
|
+
tooltipHint: b,
|
|
82
|
+
opened: o,
|
|
83
|
+
loading: d,
|
|
84
|
+
dropdownListLoading: g,
|
|
85
|
+
clearInputOnFocus: w,
|
|
86
|
+
setOpened: c,
|
|
87
|
+
onFilter: D,
|
|
88
|
+
onSelect: O,
|
|
89
|
+
onScrollEnd: h
|
|
90
|
+
}
|
|
91
|
+
)
|
|
92
|
+
]
|
|
93
|
+
}
|
|
94
|
+
);
|
|
95
|
+
};
|
|
77
96
|
export {
|
|
78
|
-
|
|
97
|
+
no as SuggestFieldMobile
|
|
79
98
|
};
|
|
80
99
|
//# sourceMappingURL=SuggestFieldMobile.js.map
|