@sberbusiness/triplex-next 0.26.0 → 0.28.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-vonjWRtY.js +41 -0
- package/chunks/{CalendarViewItem-BdyVWg8a.js → CalendarViewItem-DysxnR-B.js} +13 -13
- package/chunks/Card.module-DLzMeKEe.js +17 -0
- package/chunks/CheckboxTreeExtended.module-_hckc6T1.js +15 -0
- package/chunks/Chip-C8WEqATD.js +77 -0
- package/chunks/Confirm.module-C9UyoM6r.js +15 -0
- package/chunks/{DropdownListItem-CRdOVwlq.js → DropdownListItem-DEMHVloq.js} +17 -17
- package/chunks/DropdownMobile.module-D_HYruos.js +23 -0
- package/chunks/Footer.module-BijXXNLX.js +9 -0
- package/chunks/{FormFieldInput-CyAOOwnJ.js → FormFieldInput-Cb-NqZOL.js} +17 -17
- package/chunks/HeaderLayoutSidebar.module-BvSSRT60.js +9 -0
- package/chunks/HeaderTabs.module-Yh7VuJr3.js +9 -0
- package/chunks/{HeaderTitle.module-BDZQCHuH.js → HeaderTitle.module-B2aVG-8s.js} +2 -2
- package/chunks/IslandAccordion.module-DXpQN7Ws.js +25 -0
- package/chunks/IslandWidgetFooter.module-DsHrU6Ao.js +9 -0
- package/chunks/IslandWidgetHeader.module-BntNmew_.js +12 -0
- package/chunks/{LightBoxContent-Bp6XRgdB.js → LightBoxContent-CpxzDBba.js} +8 -8
- package/chunks/LightBoxControls.module-BulvfqYp.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-jdGcrQ0Q.js +9 -0
- package/chunks/{ListItemControlsButton-PANaJdYf.js → ListItemControlsButton-BcWg1BjZ.js} +19 -19
- package/chunks/ListItemTail.module-lle264d5.js +12 -0
- package/chunks/ListMasterFooter.module-ezPsYAZz.js +10 -0
- package/chunks/ModalWindow.module-CbeisCTo.js +17 -0
- package/chunks/Notification.module-Cdt0qyac.js +20 -0
- package/chunks/Overlay.module-s6l_vTfQ.js +18 -0
- package/chunks/Page.module-DfXEH6KZ.js +11 -0
- package/chunks/SMSField.module-CTGDSJ9H.js +16 -0
- package/chunks/SliderExtendedMarks.module-CEd_dK23.js +15 -0
- package/chunks/{SliderExtendedRail-B33WytbG.js → SliderExtendedRail-D-T2vfBA.js} +2 -2
- package/chunks/StatusTracker.module-DhavZ4lj.js +24 -0
- package/chunks/{StepperStepArrowBorder-9OXwuqOn.js → StepperStepArrowBorder-DoCkMkMz.js} +6 -6
- package/chunks/{SuggestFieldMobileDropdownHint-dcZDUPZa.js → SuggestFieldMobileDropdownHint-DMUtIm6D.js} +4 -4
- package/chunks/TableFooter.module-BEbAVyAP.js +14 -0
- package/chunks/TabsExtended.module-DvTlvDRg.js +16 -0
- package/chunks/TabsLine.module-Dc3Qo19q.js +21 -0
- package/chunks/TooltipDesktop.module-CU7dGBwe.js +19 -0
- package/chunks/TreeView.module-BYYaw1fa.js +9 -0
- package/chunks/{UploadZoneInput-BsJhqlie.js → UploadZoneInput-DBUlHhad.js} +2 -2
- package/chunks/{constants-KINy2OSZ.js → constants-3hOLYskn.js} +9 -9
- package/chunks/utils-8R7OR9DQ.js +24 -0
- package/chunks/{utils-CWqa2skI.js → utils-BzsnXGYj.js} +5 -5
- package/chunks/utils-C0T4qN0O.js +73 -0
- package/chunks/utils-C3N8DE_4.js +28 -0
- package/components/Alert/AlertContext/AlertContext.js +15 -15
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +2 -2
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +3 -3
- package/components/Badge/Badge.js +5 -5
- package/components/Badge/BadgeDot.js +7 -7
- package/components/Badge/components/BadgeContent.js +6 -6
- package/components/Badge/components/BadgePostfix.js +6 -6
- package/components/Badge/components/BadgePrefix.js +6 -6
- package/components/Body/Body.js +3 -3
- package/components/Button/Button.js +23 -23
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +2 -2
- package/components/Button/ButtonDropdownExtended.js +4 -4
- package/components/Button/ButtonIcon.js +10 -10
- package/components/Calendar/Calendar.js +20 -20
- package/components/Calendar/components/CalendarControls.js +13 -13
- package/components/Calendar/components/CalendarFooter.js +4 -4
- package/components/Calendar/components/CalendarViewDays.js +1 -1
- package/components/Calendar/components/CalendarViewItem.js +1 -1
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +10 -10
- package/components/Card/CardStatic.js +2 -2
- package/components/Card/components/CardContent/CardContent.js +1 -1
- package/components/Card/components/CardContent/components/CardContentBody.js +1 -1
- package/components/Card/components/CardContent/components/CardContentFooter.js +1 -1
- package/components/Card/components/CardContent/components/CardContentHeader.js +1 -1
- package/components/Card/components/CardMedia.js +1 -1
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +1 -1
- package/components/Checkbox/Checkbox.js +14 -14
- package/components/Checkbox/CheckboxXGroup.js +14 -14
- package/components/Checkbox/CheckboxYGroup.js +6 -6
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +1 -1
- package/components/Chip/Chip.js +1 -1
- package/components/Chip/ChipClearButton.js +10 -10
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +1 -1
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +1 -1
- package/components/Chip/ChipOptions.js +2 -2
- package/components/Chip/ChipSelect/ChipSelect.js +1 -1
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggest.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +17 -17
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +15 -15
- package/components/Col/Col.js +145 -145
- package/components/CollapsableTree/components/CollapsableTreeNode.js +8 -8
- package/components/Confirm/Confirm.js +1 -1
- package/components/Confirm/components/ConfirmCloseButton.js +1 -1
- package/components/Confirm/components/ConfirmContent.js +1 -1
- package/components/Confirm/components/ConfirmContentTitle.js +1 -1
- package/components/Confirm/components/ConfirmControls.js +1 -1
- package/components/DateField/DateField.js +53 -51
- package/components/DateField/DateFieldTarget.js +38 -37
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +5 -5
- package/components/DateRange/DateRange.js +19 -19
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/Divider/Divider.js +20 -20
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +6 -6
- package/components/Dropdown/desktop/DropdownDesktop.js +11 -11
- package/components/Dropdown/desktop/DropdownList.js +1 -1
- package/components/Dropdown/desktop/DropdownListItem.js +1 -1
- 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 +1 -1
- package/components/Dropdown/mobile/DropdownMobileClose.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileFooter.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileHeader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInner.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileInput.js +4 -4
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileLoader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +1 -1
- package/components/Ellipsis/Ellipsis.js +5 -5
- package/components/EmptyView/EmptyView.js +20 -20
- package/components/ExpandAnimation/ExpandAnimation.js +7 -7
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +1 -1
- package/components/Footer/components/FooterDescriptionContent.js +1 -1
- package/components/Footer/components/FooterDescriptionControls.js +1 -1
- package/components/FormField/FormField.js +21 -21
- package/components/FormField/components/FormFieldClear.js +6 -6
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +5 -5
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +12 -12
- package/components/FormField/components/FormFieldMaskedInput.js +19 -19
- package/components/FormField/components/FormFieldPostfix.js +1 -1
- package/components/FormField/components/FormFieldPrefix.js +9 -9
- package/components/FormField/components/FormFieldTarget.js +13 -13
- package/components/FormField/components/FormFieldTextarea.js +16 -16
- package/components/FormField/components/index.js +1 -1
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +1 -1
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +4 -4
- package/components/Header/components/HeaderTabs/HeaderTabs.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitle.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +1 -1
- package/components/HelpBox/HelpBox.js +4 -4
- package/components/IconWrapper/IconWrapper.js +10 -10
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +3 -3
- package/components/Island/components/IslandFooter.js +4 -4
- package/components/Island/components/IslandHeader.js +1 -1
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionItem.js +70 -64
- package/components/IslandWidget/IslandWidget.js +49 -41
- package/components/IslandWidget/components/IslandWidgetBody.js +1 -1
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +7 -7
- package/components/IslandWidget/components/IslandWidgetFooter.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +1 -1
- package/components/IslandWidget/components/IslandWidgetWrapper.js +6 -6
- package/components/LightBox/LightBox.js +17 -17
- package/components/LightBox/LightBoxContent.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxClose.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxControls.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxNext.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +75 -68
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +15 -15
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +12 -12
- package/components/Link/Link.js +19 -19
- package/components/List/List.js +8 -8
- package/components/List/ListSortable.js +30 -55
- package/components/List/components/ListEmptyState.js +4 -4
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +6 -6
- package/components/List/components/ListItemControls.js +5 -5
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +43 -42
- package/components/List/components/ListItemLoading.js +4 -4
- package/components/List/components/ListItemSelectable.js +10 -10
- package/components/List/components/ListItemTable.js +1 -1
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +22 -21
- package/components/List/components/ListSortableItemControls.js +8 -8
- package/components/List/components/ListSortableItemTarget.js +11 -11
- package/components/List/index.js +1 -1
- package/components/List/utils.js +20 -0
- package/components/ListMaster/ListMaster.js +22 -15
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +7 -7
- package/components/ListMaster/components/ListMasterFooter.js +1 -1
- package/components/ListMaster/components/ListMasterFooterControls.js +1 -1
- package/components/ListMaster/components/ListMasterFooterDescription.js +1 -1
- package/components/ListMaster/components/ListMasterHeader.js +5 -5
- package/components/ListMaster/components/SelectionControls.js +2 -2
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +4 -4
- package/components/Loader/LoaderSmall/LoaderSmall.js +9 -9
- package/components/LoaderScreen/LoaderScreen.js +7 -7
- package/components/Marker/Marker.js +1 -1
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +10 -10
- package/components/ModalWindow/ModalWindow.js +61 -65
- package/components/ModalWindow/components/ModalWindowBody.js +14 -13
- package/components/ModalWindow/components/ModalWindowClose.js +16 -17
- package/components/ModalWindow/components/ModalWindowContent.js +22 -16
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +27 -26
- package/components/MonthYearField/MonthYearField.js +28 -26
- package/components/MonthYearField/MonthYearFieldTarget.js +36 -36
- package/components/MonthYearRange/MonthYearRange.js +9 -9
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +7 -7
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +4 -4
- package/components/Notification/Notification.js +2 -2
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +1 -1
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +1 -1
- 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/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +2 -2
- package/components/OrderedList/OrderedListItem.js +5 -5
- package/components/Overlay/Overlay.js +1 -1
- package/components/Overlay/OverlayMask.js +1 -1
- package/components/Overlay/OverlayPanel.js +1 -1
- package/components/Page/Page.js +1 -1
- package/components/Page/components/BodyPage.js +10 -10
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +2 -2
- package/components/Pagination/components/PaginationNavigationButton.js +5 -5
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +1 -1
- package/components/Pagination/components/PaginationPageEllipsis.js +5 -5
- package/components/Pagination/components/PaginationSelect.js +11 -11
- package/components/Radio/Radio.js +13 -13
- package/components/Radio/RadioXGroup.js +14 -14
- package/components/Radio/RadioYGroup.js +6 -6
- package/components/Row/Row.js +7 -7
- package/components/SMSField/SMSField.js +2 -2
- package/components/SMSField/components/RefreshIcon.js +1 -1
- package/components/SMSField/components/SMSFieldInput.js +2 -2
- package/components/SMSField/components/SMSFieldRefresh.js +1 -1
- package/components/SMSField/components/SMSFieldSubmit.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +3 -3
- package/components/SegmentedControl/SegmentedControlSegment.js +4 -4
- package/components/SelectExtendedField/SelectExtendedField.js +15 -15
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +3 -3
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +13 -13
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +7 -7
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +1 -1
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +1 -1
- package/components/SliderExtended/components/SliderExtendedRail.js +1 -1
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +4 -4
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +16 -16
- package/components/SmallInput/SmallInput.js +4 -4
- package/components/Spoiler/Spoiler.js +13 -13
- package/components/StatusTracker/StatusTracker.js +2 -2
- package/components/StatusTracker/components/StatusTrackerAlert.js +1 -1
- package/components/StatusTracker/components/StatusTrackerBody.js +1 -1
- package/components/StatusTracker/components/StatusTrackerButton.js +1 -1
- package/components/StatusTracker/components/StatusTrackerDescription.js +1 -1
- package/components/StatusTracker/components/StatusTrackerFooter.js +1 -1
- package/components/StatusTracker/components/StatusTrackerHeader.js +1 -1
- package/components/StatusTracker/components/StatusTrackerMedia.js +1 -1
- package/components/StatusTracker/components/StatusTrackerStatus.js +1 -1
- package/components/StatusTracker/components/StatusTrackerSum.js +1 -1
- package/components/StatusTracker/components/StatusTrackerTitle.js +1 -1
- package/components/Step/Step.js +31 -25
- package/components/Stepper/Stepper.js +13 -13
- package/components/Stepper/StepperExtended.js +6 -6
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperStepArrowBorder.js +1 -1
- package/components/Suggest/SuggestMobileDropdownContent.js +9 -9
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +2 -2
- 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 +14 -14
- package/components/Table/FilterPanel.js +2 -2
- package/components/Table/MasterTable.js +15 -15
- package/components/Table/NoColumns.js +3 -3
- package/components/Table/PaginationPanel.js +2 -2
- package/components/Table/TableBasic/TableBasic.js +1 -1
- package/components/Table/TableBasic/components/TableBasicBody.js +1 -1
- package/components/Table/TableBasic/components/TableBasicHeader.js +1 -1
- package/components/Table/TableBasic/components/TableBasicRow.js +1 -1
- package/components/Table/TableBasicSettings/TableBasicSettings.js +7 -7
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +8 -8
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +5 -5
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +1 -1
- package/components/Table/TableFooter/TableFooter.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +2 -2
- package/components/Table/TabsLinePanelLinks.js +8 -8
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +21 -21
- package/components/TabsExtended/TabsExtended.js +2 -2
- package/components/TabsExtended/components/TabsExtendedContent.js +1 -1
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTab.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabButton.js +1 -1
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +1 -1
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +1 -1
- package/components/TabsLine/components/TabsLineDesktop.js +1 -1
- package/components/TabsLine/components/TabsLineDropdown.js +2 -2
- package/components/TabsLine/components/TabsLineItem.js +1 -1
- package/components/TabsLine/components/TabsLineMobile.js +8 -8
- package/components/Tag/Tag.js +11 -11
- package/components/TagColor/TagColor.js +16 -16
- package/components/TagGroup/TagGroup.js +10 -10
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +1 -1
- package/components/Tooltip/components/common/TooltipLink.js +14 -14
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +1 -1
- package/components/Tooltip/components/mobile/TooltipMobile.js +7 -7
- package/components/TopOverlay/TopOverlay.js +5 -5
- package/components/TreeView/TreeView.js +1 -1
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +1 -1
- package/components/Typography/Caption.js +18 -18
- package/components/Typography/CodeText.js +7 -7
- package/components/Typography/Text.js +21 -21
- package/components/Typography/Title.js +12 -12
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +2 -2
- package/components/UnorderedList/UnorderedListItem.js +2 -2
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +5 -5
- package/index.d.ts +96 -28
- package/index.js +5 -5
- package/package.json +1 -1
- package/styles/triplex-next.css +538 -538
- package/chunks/AlertProcessSpoiler-BjHTZKgZ.js +0 -41
- package/chunks/Card.module-gPkzcCGo.js +0 -17
- package/chunks/CheckboxTreeExtended.module-BqmTzdxy.js +0 -15
- package/chunks/Chip-CuoqjaG4.js +0 -77
- package/chunks/Confirm.module-bXfHpEZY.js +0 -15
- package/chunks/DropdownMobile.module-H5txYrQf.js +0 -23
- package/chunks/Footer.module-Dhevv5cy.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-CqLx3F7A.js +0 -9
- package/chunks/HeaderTabs.module-BQHI-7dx.js +0 -9
- package/chunks/IslandAccordion.module-ElAylnXP.js +0 -25
- package/chunks/IslandWidgetFooter.module-km-5hDpn.js +0 -9
- package/chunks/IslandWidgetHeader.module-DZJujJ9z.js +0 -12
- package/chunks/LightBoxControls.module-Dp8lh2Rg.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-DDGxczL0.js +0 -9
- package/chunks/ListItemTail.module-BKP1QEpv.js +0 -12
- package/chunks/ListMasterFooter.module-D1BeGub8.js +0 -10
- package/chunks/ModalWindow.module-PJk-BOT5.js +0 -17
- package/chunks/Notification.module-7THtDpDh.js +0 -20
- package/chunks/Overlay.module-B0Fayqn2.js +0 -18
- package/chunks/Page.module-oxsZ2i2v.js +0 -11
- package/chunks/SMSField.module-DQoHDr5D.js +0 -16
- package/chunks/SliderExtendedMarks.module-CEOeXrfd.js +0 -15
- package/chunks/StatusTracker.module-CwUmaWht.js +0 -24
- package/chunks/TableFooter.module-DaFBiojx.js +0 -14
- package/chunks/TabsExtended.module-D4GCJESe.js +0 -16
- package/chunks/TabsLine.module-BEA3Lssg.js +0 -21
- package/chunks/TooltipDesktop.module-hff_h0-q.js +0 -19
- package/chunks/TreeView.module-C-XaQJbB.js +0 -9
- package/chunks/utils-BVhTB5hC.js +0 -73
- package/chunks/utils-DFHOghtD.js +0 -28
- package/chunks/utils-TZKbWcP7.js +0 -24
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { jsx as n, jsxs as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as n, jsxs as Q } from "react/jsx-runtime";
|
|
2
|
+
import W, { useState as X, useRef as l, useEffect as Z } from "react";
|
|
3
3
|
import y from "moment";
|
|
4
|
-
import { DatePickerExtended as
|
|
5
|
-
import { dateFormatYYYYMMDD as
|
|
4
|
+
import { DatePickerExtended as _ } from "../DatePickerExtended/DatePickerExtended.js";
|
|
5
|
+
import { dateFormatYYYYMMDD as $, globalLimitRange as ee } from "../../consts/DateConst.js";
|
|
6
6
|
import { DateFieldUtils as m } from "./utils.js";
|
|
7
|
-
import { DateFieldTarget as
|
|
7
|
+
import { DateFieldTarget as te } from "./DateFieldTarget.js";
|
|
8
8
|
import { inputDateFormat as b } from "./constants.js";
|
|
9
9
|
import { Tooltip as S } from "../Tooltip/Tooltip.js";
|
|
10
|
-
import { ETooltipSize as
|
|
11
|
-
import { MobileView as
|
|
10
|
+
import { ETooltipSize as re } from "../Tooltip/enums.js";
|
|
11
|
+
import { MobileView as ae } from "../MobileView/MobileView.js";
|
|
12
12
|
import { DropdownMobileMaskedInput as T } from "../Dropdown/mobile/DropdownMobileMaskedInput.js";
|
|
13
|
-
import { DateFieldContext as
|
|
13
|
+
import { DateFieldContext as ne } from "./DateFieldContext.js";
|
|
14
14
|
import "../FormField/components/FormFieldClear.js";
|
|
15
15
|
import "../FormField/components/FormFieldCounter.js";
|
|
16
16
|
import "../FormField/components/FormFieldDescription.js";
|
|
17
|
-
import "../../chunks/FormFieldInput-
|
|
17
|
+
import "../../chunks/FormFieldInput-Cb-NqZOL.js";
|
|
18
18
|
import "../FormField/components/FormFieldLabel.js";
|
|
19
|
-
import { FormFieldMaskedInput as
|
|
19
|
+
import { FormFieldMaskedInput as ie } from "../FormField/components/FormFieldMaskedInput.js";
|
|
20
20
|
import "../FormField/components/FormFieldPostfix.js";
|
|
21
21
|
import "../FormField/components/FormFieldPrefix.js";
|
|
22
22
|
import "../FormField/components/FormFieldTarget.js";
|
|
23
23
|
import "../FormField/components/FormFieldTextarea.js";
|
|
24
24
|
import "../FormField/FormField.js";
|
|
25
|
-
const
|
|
25
|
+
const oe = W.forwardRef((x, p) => {
|
|
26
26
|
const {
|
|
27
27
|
size: I,
|
|
28
28
|
status: E,
|
|
@@ -31,47 +31,49 @@ const ie = Q.forwardRef((x, p) => {
|
|
|
31
31
|
placeholderMask: P,
|
|
32
32
|
"aria-label": Y,
|
|
33
33
|
"aria-labelledby": z,
|
|
34
|
-
format: a =
|
|
35
|
-
limitRange: i =
|
|
34
|
+
format: a = $,
|
|
35
|
+
limitRange: i = ee,
|
|
36
36
|
disabledDays: o,
|
|
37
|
-
onChange:
|
|
37
|
+
onChange: d,
|
|
38
|
+
onClear: L,
|
|
38
39
|
onDropdownOpen: f,
|
|
39
40
|
onDropdownClose: g,
|
|
40
|
-
invalidDateHint:
|
|
41
|
-
targetProps:
|
|
42
|
-
...
|
|
43
|
-
} = x, [r, D] =
|
|
41
|
+
invalidDateHint: j,
|
|
42
|
+
targetProps: A,
|
|
43
|
+
...B
|
|
44
|
+
} = x, [r, D] = X(
|
|
44
45
|
m.getPickerValues(s, a, i, o)
|
|
45
|
-
),
|
|
46
|
-
|
|
46
|
+
), C = l(null), c = l(r), F = l(!1), R = l(!1), h = l(!1), u = l(!1);
|
|
47
|
+
Z(() => {
|
|
47
48
|
const e = m.getPickerValues(s, a, i, o);
|
|
48
|
-
e.inputString !== r.inputString && D(e),
|
|
49
|
+
e.inputString !== r.inputString && D(e), c.current = e;
|
|
49
50
|
}, [s, a, i, o]);
|
|
50
|
-
const
|
|
51
|
-
|
|
52
|
-
},
|
|
53
|
-
const { maskedInputProps: e, ...t } =
|
|
54
|
-
return /* @__PURE__ */ n(
|
|
55
|
-
|
|
51
|
+
const H = (e) => {
|
|
52
|
+
C.current = e, typeof p == "function" ? p(e) : p && (p.current = e);
|
|
53
|
+
}, N = () => {
|
|
54
|
+
const { maskedInputProps: e, ...t } = A || {}, { onChange: k, ...K } = e || {};
|
|
55
|
+
return /* @__PURE__ */ n(ne.Provider, { value: { inputFocusedRef: F, onChange: d, triggerChangeFromInput: w }, children: /* @__PURE__ */ n(
|
|
56
|
+
te,
|
|
56
57
|
{
|
|
57
58
|
size: I,
|
|
58
59
|
status: E,
|
|
59
60
|
label: O,
|
|
61
|
+
onClear: L,
|
|
60
62
|
maskedInputProps: {
|
|
61
63
|
value: r.inputString,
|
|
62
|
-
mask:
|
|
64
|
+
mask: ie.presets.masks.date,
|
|
63
65
|
placeholderMask: P,
|
|
64
66
|
"aria-label": Y,
|
|
65
67
|
"aria-labelledby": z,
|
|
66
68
|
onChange: (v) => {
|
|
67
69
|
V(v), k == null || k(v);
|
|
68
70
|
},
|
|
69
|
-
...
|
|
71
|
+
...K
|
|
70
72
|
},
|
|
71
73
|
...t
|
|
72
74
|
}
|
|
73
75
|
) });
|
|
74
|
-
},
|
|
76
|
+
}, U = () => /* @__PURE__ */ n(
|
|
75
77
|
T,
|
|
76
78
|
{
|
|
77
79
|
value: r.inputString,
|
|
@@ -85,51 +87,51 @@ const ie = Q.forwardRef((x, p) => {
|
|
|
85
87
|
e.target.value.length === b.length ? (t = y(e.target.value, b, !0), (!t.isValid() || !m.isAvailableDate(t, t.format(a), i, o)) && (t = null), u.current = !t) : u.current = !1, D({ calendarDate: t, inputString: e.target.value });
|
|
86
88
|
}, w = () => {
|
|
87
89
|
if (r.inputString.length === 0 && s.length !== 0)
|
|
88
|
-
return
|
|
90
|
+
return d(r.inputString);
|
|
89
91
|
const e = y(r.inputString, b, !0);
|
|
90
92
|
if (e.isValid()) {
|
|
91
93
|
const t = e.format(a);
|
|
92
94
|
if (t === s)
|
|
93
95
|
return;
|
|
94
96
|
if (m.isAvailableDate(e, t, i, o))
|
|
95
|
-
return
|
|
97
|
+
return d(t);
|
|
96
98
|
}
|
|
97
|
-
r.inputString !==
|
|
98
|
-
}, U = () => {
|
|
99
|
-
F.current = !0, f == null || f();
|
|
99
|
+
r.inputString !== c.current.inputString && (u.current = !1, D(c.current));
|
|
100
100
|
}, q = () => {
|
|
101
|
-
|
|
102
|
-
}, G = (
|
|
103
|
-
|
|
101
|
+
R.current = !0, f == null || f();
|
|
102
|
+
}, G = () => {
|
|
103
|
+
R.current = !1, h.current ? h.current = !1 : !F.current && r.inputString !== c.current.inputString && w(), g == null || g();
|
|
104
|
+
}, J = (e) => {
|
|
105
|
+
h.current = !0, u.current = !1, d(e.format(a));
|
|
104
106
|
}, M = () => /* @__PURE__ */ n(
|
|
105
|
-
|
|
107
|
+
_,
|
|
106
108
|
{
|
|
107
|
-
renderTarget:
|
|
108
|
-
renderDropdownHeaderTarget:
|
|
109
|
+
renderTarget: N,
|
|
110
|
+
renderDropdownHeaderTarget: U,
|
|
109
111
|
pickedDate: r.calendarDate,
|
|
110
112
|
format: a,
|
|
111
113
|
limitRange: i,
|
|
112
114
|
disabledDays: o,
|
|
113
|
-
onDropdownOpen:
|
|
114
|
-
onDropdownClose:
|
|
115
|
-
onDateChange:
|
|
116
|
-
...
|
|
117
|
-
ref:
|
|
115
|
+
onDropdownOpen: q,
|
|
116
|
+
onDropdownClose: G,
|
|
117
|
+
onDateChange: J,
|
|
118
|
+
...B,
|
|
119
|
+
ref: H
|
|
118
120
|
}
|
|
119
121
|
);
|
|
120
122
|
return /* @__PURE__ */ n(
|
|
121
|
-
|
|
123
|
+
ae,
|
|
122
124
|
{
|
|
123
|
-
fallback: /* @__PURE__ */
|
|
124
|
-
/* @__PURE__ */ n(S.Body, { children:
|
|
125
|
+
fallback: /* @__PURE__ */ Q(S, { targetRef: C, size: re.SM, isOpen: u.current, children: [
|
|
126
|
+
/* @__PURE__ */ n(S.Body, { children: j }),
|
|
125
127
|
/* @__PURE__ */ n(S.Target, { children: M() })
|
|
126
128
|
] }),
|
|
127
129
|
children: M()
|
|
128
130
|
}
|
|
129
131
|
);
|
|
130
132
|
});
|
|
131
|
-
|
|
133
|
+
oe.displayName = "DateField";
|
|
132
134
|
export {
|
|
133
|
-
|
|
135
|
+
oe as DateField
|
|
134
136
|
};
|
|
135
137
|
//# sourceMappingURL=DateField.js.map
|
|
@@ -1,57 +1,58 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { CalendarStrokeSrvIcon20 as
|
|
4
|
-
import { MaskedField as T } from "../TextField/MaskedField.js";
|
|
1
|
+
import { jsx as e, jsxs as w, Fragment as P } from "react/jsx-runtime";
|
|
2
|
+
import { useContext as u } from "react";
|
|
3
|
+
import { CalendarStrokeSrvIcon24 as y, CalendarStrokeSrvIcon20 as K, CalendarStrokeSrvIcon16 as T } from "@sberbusiness/icons-next";
|
|
5
4
|
import { DatePickerExtendedContext as j } from "../DatePickerExtended/DatePickerExtendedContext.js";
|
|
6
|
-
import { DateFieldContext as
|
|
7
|
-
import {
|
|
8
|
-
import { FormFieldClear as
|
|
9
|
-
import {
|
|
10
|
-
import { ButtonIcon as b } from "../Button/ButtonIcon.js";
|
|
5
|
+
import { DateFieldContext as v } from "./DateFieldContext.js";
|
|
6
|
+
import { MaskedField as A } from "../TextField/MaskedField.js";
|
|
7
|
+
import { FormFieldClear as L } from "../FormField/components/FormFieldClear.js";
|
|
8
|
+
import { ButtonIcon as O } from "../Button/ButtonIcon.js";
|
|
11
9
|
import { isKey as C } from "../../utils/keyboard.js";
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
[r.
|
|
10
|
+
import { EComponentSize as r } from "../../enums/EComponentSize.js";
|
|
11
|
+
import { EFormFieldStatus as R } from "../FormField/enums.js";
|
|
12
|
+
const b = {
|
|
13
|
+
[r.SM]: /* @__PURE__ */ e(T, { paletteIndex: 5 }),
|
|
14
|
+
[r.MD]: /* @__PURE__ */ e(K, { paletteIndex: 5 }),
|
|
15
|
+
[r.LG]: /* @__PURE__ */ e(y, { paletteIndex: 5 })
|
|
16
16
|
}, Y = ({
|
|
17
|
-
size:
|
|
17
|
+
size: a = r.MD,
|
|
18
18
|
postfix: x,
|
|
19
19
|
maskedInputProps: F,
|
|
20
|
-
|
|
20
|
+
onClear: l,
|
|
21
|
+
...m
|
|
21
22
|
}) => {
|
|
22
|
-
const { dropdownOpen: t, setDropdownOpen: n } =
|
|
23
|
+
const { dropdownOpen: t, setDropdownOpen: n } = u(j), { inputFocusedRef: p, triggerChangeFromInput: I } = u(v), { status: k } = m, {
|
|
23
24
|
onFocus: i,
|
|
24
25
|
onBlur: c,
|
|
25
|
-
onKeyDown:
|
|
26
|
-
onClick:
|
|
27
|
-
...
|
|
28
|
-
} = F,
|
|
29
|
-
|
|
26
|
+
onKeyDown: s,
|
|
27
|
+
onClick: d,
|
|
28
|
+
...D
|
|
29
|
+
} = F, f = k === R.DISABLED, S = (o) => {
|
|
30
|
+
p.current = !0, i == null || i(o);
|
|
31
|
+
}, h = (o) => {
|
|
32
|
+
p.current = !1, t || I(), c == null || c(o);
|
|
30
33
|
}, E = (o) => {
|
|
31
|
-
|
|
34
|
+
t || n(!0), d == null || d(o);
|
|
32
35
|
}, g = (o) => {
|
|
33
|
-
t
|
|
34
|
-
}, B = (
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
/* @__PURE__ */ e(O, { onClick: w }),
|
|
38
|
-
/* @__PURE__ */ e(b, { active: t, disabled: p, onClick: M, children: v[l] }),
|
|
36
|
+
C(o.code, "ENTER") ? n(!t) : C(o.code, "SPACE") && (o.preventDefault(), n(!t)), s == null || s(o);
|
|
37
|
+
}, B = () => n(!t), M = () => /* @__PURE__ */ w(P, { children: [
|
|
38
|
+
l && /* @__PURE__ */ e(L, { onClick: l }),
|
|
39
|
+
/* @__PURE__ */ e(O, { active: t, disabled: f, onClick: B, children: b[a] }),
|
|
39
40
|
x
|
|
40
41
|
] });
|
|
41
42
|
return /* @__PURE__ */ e(
|
|
42
|
-
|
|
43
|
+
A,
|
|
43
44
|
{
|
|
44
|
-
size:
|
|
45
|
+
size: a,
|
|
45
46
|
maskedInputProps: {
|
|
46
|
-
disabled:
|
|
47
|
+
disabled: f,
|
|
47
48
|
onFocus: S,
|
|
48
|
-
onBlur:
|
|
49
|
-
onClick:
|
|
50
|
-
onKeyDown:
|
|
51
|
-
...
|
|
49
|
+
onBlur: h,
|
|
50
|
+
onClick: E,
|
|
51
|
+
onKeyDown: g,
|
|
52
|
+
...D
|
|
52
53
|
},
|
|
53
|
-
postfix:
|
|
54
|
-
...
|
|
54
|
+
postfix: M(),
|
|
55
|
+
...m
|
|
55
56
|
}
|
|
56
57
|
);
|
|
57
58
|
};
|
|
@@ -5,7 +5,7 @@ import { Calendar as X } from "../Calendar/Calendar.js";
|
|
|
5
5
|
import "../Dropdown/DropdownListContext.js";
|
|
6
6
|
import "../Dropdown/desktop/DropdownDesktop.js";
|
|
7
7
|
import "../Dropdown/desktop/DropdownList.js";
|
|
8
|
-
import "../../chunks/DropdownListItem-
|
|
8
|
+
import "../../chunks/DropdownListItem-DEMHVloq.js";
|
|
9
9
|
import { EDropdownAlignment as Y } from "../Dropdown/desktop/enums.js";
|
|
10
10
|
import "../Dropdown/mobile/DropdownMobile.js";
|
|
11
11
|
import "../Dropdown/mobile/DropdownMobileBody.js";
|
|
@@ -103,7 +103,7 @@ const ee = I.forwardRef((l, r) => {
|
|
|
103
103
|
onKeyDown: F,
|
|
104
104
|
onMouseDown: N,
|
|
105
105
|
...V,
|
|
106
|
-
"data-tx": "0.
|
|
106
|
+
"data-tx": "0.28.0",
|
|
107
107
|
ref: (e) => {
|
|
108
108
|
a.current = e, typeof r == "function" ? r(e) : r && (r.current = e);
|
|
109
109
|
},
|
|
@@ -2,9 +2,9 @@ import { jsx as e, jsxs as s, Fragment as m } from "react/jsx-runtime";
|
|
|
2
2
|
import f, { useContext as u } from "react";
|
|
3
3
|
import { F as D } from "../../chunks/vendor---Om3uMV.js";
|
|
4
4
|
import { Dropdown as w } from "../Dropdown/Dropdown.js";
|
|
5
|
-
import { DatePickerExtendedContext as
|
|
5
|
+
import { DatePickerExtendedContext as x } from "./DatePickerExtendedContext.js";
|
|
6
6
|
import "../Dropdown/mobile/DropdownMobile.js";
|
|
7
|
-
import { DropdownMobileBody as
|
|
7
|
+
import { DropdownMobileBody as b } from "../Dropdown/mobile/DropdownMobileBody.js";
|
|
8
8
|
import { DropdownMobileClose as k } from "../Dropdown/mobile/DropdownMobileClose.js";
|
|
9
9
|
import "../Dropdown/mobile/DropdownMobileFooter.js";
|
|
10
10
|
import { DropdownMobileHeader as M } from "../Dropdown/mobile/DropdownMobileHeader.js";
|
|
@@ -14,11 +14,11 @@ import "../Dropdown/mobile/DropdownMobileList.js";
|
|
|
14
14
|
import "../Dropdown/mobile/DropdownMobileListItem.js";
|
|
15
15
|
import "../Loader/LoaderSmall/LoaderSmall.js";
|
|
16
16
|
import "../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
17
|
-
const h = "
|
|
17
|
+
const h = "datePickerExtendedMobileDropdown__21f4541c", C = {
|
|
18
18
|
datePickerExtendedMobileDropdown: h
|
|
19
19
|
}, E = f.forwardRef(
|
|
20
20
|
(i, d) => {
|
|
21
|
-
const { children: P, targetRef: r, setOpened: c, renderHeaderTarget: a, renderCalendar: t, focusTrapProps: o, ...p } = i, { mouseUsedRef: n, setDropdownOpen: l } = u(
|
|
21
|
+
const { children: P, targetRef: r, setOpened: c, renderHeaderTarget: a, renderCalendar: t, focusTrapProps: o, ...p } = i, { mouseUsedRef: n, setDropdownOpen: l } = u(x);
|
|
22
22
|
return /* @__PURE__ */ e(
|
|
23
23
|
w,
|
|
24
24
|
{
|
|
@@ -28,7 +28,7 @@ const h = "datePickerExtendedMobileDropdown__6c830cfb", C = {
|
|
|
28
28
|
mobileViewProps: {
|
|
29
29
|
children: /* @__PURE__ */ s(m, { children: [
|
|
30
30
|
/* @__PURE__ */ e(M, { controlButtons: /* @__PURE__ */ e(k, { onClick: () => l(!1) }), children: a() }),
|
|
31
|
-
/* @__PURE__ */ e(
|
|
31
|
+
/* @__PURE__ */ e(b, { children: t(!0) })
|
|
32
32
|
] }),
|
|
33
33
|
className: C.datePickerExtendedMobileDropdown
|
|
34
34
|
},
|
|
@@ -4,64 +4,64 @@ import { CaretleftStrokeSrvIcon20 as D, RangeStrokeSrvIcon16 as Y, CaretrightStr
|
|
|
4
4
|
import { dateFormatYYYYMMDD as r } from "../../consts/DateConst.js";
|
|
5
5
|
import { EDateRangeShiftUnit as E } from "./enums.js";
|
|
6
6
|
import { c as i } from "../../chunks/vendor---Om3uMV.js";
|
|
7
|
-
const F = "
|
|
7
|
+
const F = "dateRange__99d6e3fa", M = "dateRangeButton__a463cbdf", h = "separator__7889f8bd", d = {
|
|
8
8
|
dateRange: F,
|
|
9
9
|
dateRangeButton: M,
|
|
10
10
|
separator: h
|
|
11
11
|
}, j = ({
|
|
12
12
|
children: y,
|
|
13
|
-
className:
|
|
14
|
-
value:
|
|
13
|
+
className: p,
|
|
14
|
+
value: R,
|
|
15
15
|
onChange: o,
|
|
16
16
|
shiftAmount: n = 1,
|
|
17
17
|
shiftUnit: s = E.MONTH,
|
|
18
|
-
hideNavigation:
|
|
19
|
-
renderPickerFrom:
|
|
18
|
+
hideNavigation: f,
|
|
19
|
+
renderPickerFrom: g,
|
|
20
20
|
renderPickerTo: u,
|
|
21
21
|
renderButtonForward: S,
|
|
22
|
-
renderButtonBack:
|
|
23
|
-
...
|
|
22
|
+
renderButtonBack: b,
|
|
23
|
+
...k
|
|
24
24
|
}) => {
|
|
25
|
-
const [t, a] =
|
|
25
|
+
const [t, a] = R, x = i(d.dateRange, p), B = (e) => {
|
|
26
26
|
!e || !a || e <= a ? o([e, a]) : o([e, ""]);
|
|
27
27
|
}, I = (e) => {
|
|
28
28
|
!e || !t || e >= t ? o([t, e]) : o(["", e]);
|
|
29
29
|
}, N = () => {
|
|
30
30
|
if (!t || !a)
|
|
31
31
|
return;
|
|
32
|
-
const e = c(t, r),
|
|
32
|
+
const e = c(t, r), m = c(a, r);
|
|
33
33
|
o([
|
|
34
34
|
e.subtract(n, s).format(r),
|
|
35
|
-
|
|
35
|
+
m.subtract(n, s).format(r)
|
|
36
36
|
]);
|
|
37
37
|
}, _ = () => {
|
|
38
38
|
if (!t || !a)
|
|
39
39
|
return;
|
|
40
|
-
const e = c(t, r),
|
|
40
|
+
const e = c(t, r), m = c(a, r);
|
|
41
41
|
o([
|
|
42
42
|
e.add(n, s).format(r),
|
|
43
|
-
|
|
43
|
+
m.add(n, s).format(r)
|
|
44
44
|
]);
|
|
45
45
|
};
|
|
46
|
-
return /* @__PURE__ */ v("div", { className:
|
|
47
|
-
!
|
|
46
|
+
return /* @__PURE__ */ v("div", { className: x, ...k, children: [
|
|
47
|
+
!f && b({
|
|
48
48
|
children: /* @__PURE__ */ l(D, { paletteIndex: 5 }),
|
|
49
|
-
className: i(
|
|
49
|
+
className: i(d.dateRangeButton, { disabled: !(t && a) }),
|
|
50
50
|
disabled: !(t && a),
|
|
51
51
|
onClick: N
|
|
52
52
|
}),
|
|
53
|
-
|
|
53
|
+
g({
|
|
54
54
|
onChange: B,
|
|
55
55
|
value: t
|
|
56
56
|
}),
|
|
57
|
-
/* @__PURE__ */ l(Y, { className:
|
|
57
|
+
/* @__PURE__ */ l(Y, { className: d.separator, paletteIndex: 5 }),
|
|
58
58
|
u({
|
|
59
59
|
onChange: I,
|
|
60
60
|
value: a
|
|
61
61
|
}),
|
|
62
|
-
!
|
|
62
|
+
!f && S({
|
|
63
63
|
children: /* @__PURE__ */ l(C, { paletteIndex: 5 }),
|
|
64
|
-
className: i(
|
|
64
|
+
className: i(d.dateRangeButton, { disabled: !(t && a) }),
|
|
65
65
|
disabled: !(t && a),
|
|
66
66
|
onClick: _
|
|
67
67
|
})
|
|
@@ -7,7 +7,7 @@ import { k as l } from "../../chunks/vendor---Om3uMV.js";
|
|
|
7
7
|
const n = {
|
|
8
8
|
getCSSVariableByTokenGroup: (t, s) => {
|
|
9
9
|
const e = Object.keys(t)[0], r = "triplex-next";
|
|
10
|
-
let o = "0.
|
|
10
|
+
let o = "0.28.0";
|
|
11
11
|
return o = o.replace(/\./g, "-"), Object.keys(t[e]).map(
|
|
12
12
|
(T) => `--${r}-${e}-${T}-${o}: ${n.getTokenValue(
|
|
13
13
|
t[e][T],
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { c as g } from "../../chunks/vendor---Om3uMV.js";
|
|
3
|
-
const z = "
|
|
3
|
+
const z = "divider__86b45003", i = {
|
|
4
4
|
divider: z,
|
|
5
|
-
"marginTopSize-4": "marginTopSize-
|
|
6
|
-
"marginBottomSize-4": "marginBottomSize-
|
|
7
|
-
"marginTopSize-8": "marginTopSize-
|
|
8
|
-
"marginBottomSize-8": "marginBottomSize-
|
|
9
|
-
"marginTopSize-12": "marginTopSize-
|
|
10
|
-
"marginBottomSize-12": "marginBottomSize-
|
|
11
|
-
"marginTopSize-16": "marginTopSize-
|
|
12
|
-
"marginBottomSize-16": "marginBottomSize-
|
|
13
|
-
"marginTopSize-20": "marginTopSize-
|
|
14
|
-
"marginBottomSize-20": "marginBottomSize-
|
|
15
|
-
"marginTopSize-24": "marginTopSize-
|
|
16
|
-
"marginBottomSize-24": "marginBottomSize-
|
|
17
|
-
"marginTopSize-28": "marginTopSize-
|
|
18
|
-
"marginBottomSize-28": "marginBottomSize-
|
|
19
|
-
"marginTopSize-32": "marginTopSize-
|
|
20
|
-
"marginBottomSize-32": "marginBottomSize-
|
|
21
|
-
}, S = (
|
|
22
|
-
const { className:
|
|
5
|
+
"marginTopSize-4": "marginTopSize-4__5963b41b",
|
|
6
|
+
"marginBottomSize-4": "marginBottomSize-4__36737931",
|
|
7
|
+
"marginTopSize-8": "marginTopSize-8__136f63aa",
|
|
8
|
+
"marginBottomSize-8": "marginBottomSize-8__35c3dcb3",
|
|
9
|
+
"marginTopSize-12": "marginTopSize-12__be4afd49",
|
|
10
|
+
"marginBottomSize-12": "marginBottomSize-12__debaf484",
|
|
11
|
+
"marginTopSize-16": "marginTopSize-16__0deaef9f",
|
|
12
|
+
"marginBottomSize-16": "marginBottomSize-16__3d87368b",
|
|
13
|
+
"marginTopSize-20": "marginTopSize-20__a97cc7d0",
|
|
14
|
+
"marginBottomSize-20": "marginBottomSize-20__d0da7add",
|
|
15
|
+
"marginTopSize-24": "marginTopSize-24__85056a57",
|
|
16
|
+
"marginBottomSize-24": "marginBottomSize-24__06a021f7",
|
|
17
|
+
"marginTopSize-28": "marginTopSize-28__fcfc9f80",
|
|
18
|
+
"marginBottomSize-28": "marginBottomSize-28__66d9b429",
|
|
19
|
+
"marginTopSize-32": "marginTopSize-32__2bff3cb9",
|
|
20
|
+
"marginBottomSize-32": "marginBottomSize-32__ede6c52a"
|
|
21
|
+
}, S = (a) => {
|
|
22
|
+
const { className: e, marginTopSize: o, marginBottomSize: m, ...r } = a, t = g(
|
|
23
23
|
i.divider,
|
|
24
24
|
o && i[`marginTopSize-${o}`],
|
|
25
25
|
m && i[`marginBottomSize-${m}`],
|
|
26
|
-
|
|
26
|
+
e
|
|
27
27
|
);
|
|
28
28
|
return /* @__PURE__ */ n("hr", { className: t, ...r });
|
|
29
29
|
};
|
|
@@ -8,7 +8,7 @@ import { StringUtils as B } from "../../utils/stringUtils.js";
|
|
|
8
8
|
import { isKey as O } from "../../utils/keyboard.js";
|
|
9
9
|
import { c as U } from "../../chunks/vendor---Om3uMV.js";
|
|
10
10
|
import { Link as Y } from "../Link/Link.js";
|
|
11
|
-
const $ = "
|
|
11
|
+
const $ = "documentNumberEdit__8f96cb13", G = "label__789d9b87", H = "inputEditWrapper__0ed0c9f6", c = {
|
|
12
12
|
documentNumberEdit: $,
|
|
13
13
|
label: G,
|
|
14
14
|
inputEditWrapper: H
|
|
@@ -18,14 +18,14 @@ const $ = "documentNumberEdit__e3bba00f", G = "label__45d220d4", H = "inputEditW
|
|
|
18
18
|
buttonLabel: b,
|
|
19
19
|
emptyNumberButtonLabel: _,
|
|
20
20
|
emptyNumberLabel: u,
|
|
21
|
-
numberLabel:
|
|
21
|
+
numberLabel: n,
|
|
22
22
|
maxLength: f = V,
|
|
23
23
|
onBlur: l,
|
|
24
24
|
onChange: a,
|
|
25
25
|
onKeyDown: d,
|
|
26
26
|
...S
|
|
27
27
|
}) => {
|
|
28
|
-
const [p, m] = y(!1), T = z(() => p ?
|
|
28
|
+
const [p, m] = y(!1), T = z(() => p ? n : r ? `${n} ${r}` : u, [r, n, u, p]), x = () => /* @__PURE__ */ i("div", { className: c.inputEditWrapper, children: /* @__PURE__ */ i(
|
|
29
29
|
A,
|
|
30
30
|
{
|
|
31
31
|
...S,
|
|
@@ -49,11 +49,11 @@ const $ = "documentNumberEdit__e3bba00f", G = "label__45d220d4", H = "inputEditW
|
|
|
49
49
|
for (let e = 0; e < s; e++)
|
|
50
50
|
B.isDigit(t[e]) && o.push(t[e]);
|
|
51
51
|
return o.join("");
|
|
52
|
-
}, W = () => /* @__PURE__ */ i(E, { className:
|
|
52
|
+
}, W = () => /* @__PURE__ */ i(E, { className: c.label, tag: "div", size: N.B3, type: h.SECONDARY, children: /* @__PURE__ */ i(Y, { href: "#", onClick: j, children: r ? b : _ }) }), j = (t) => {
|
|
53
53
|
t.preventDefault(), m(!0);
|
|
54
54
|
};
|
|
55
|
-
return /* @__PURE__ */ k("div", { className: U(
|
|
56
|
-
/* @__PURE__ */ i(E, { className:
|
|
55
|
+
return /* @__PURE__ */ k("div", { className: U(c.documentNumberEdit, g), children: [
|
|
56
|
+
/* @__PURE__ */ i(E, { className: c.label, tag: "div", size: N.B3, type: h.SECONDARY, children: T }),
|
|
57
57
|
p ? x() : W()
|
|
58
58
|
] });
|
|
59
59
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as U } from "react/jsx-runtime";
|
|
2
2
|
import B, { useState as F, useRef as I, useCallback as d, useEffect as O } from "react";
|
|
3
3
|
import { c as j } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
|
-
import { EDropdownDirection as u, EDropdownAlignment as
|
|
4
|
+
import { EDropdownDirection as u, EDropdownAlignment as b, EDropdownWidth as T } from "./enums.js";
|
|
5
5
|
import { EComponentSize as K } from "../../../enums/EComponentSize.js";
|
|
6
6
|
import { createSizeToClassNameMap as V } from "../../../utils/classNameMaps.js";
|
|
7
7
|
import { useToken as q } from "../../ThemeProvider/useToken.js";
|
|
8
8
|
import { isKey as n } from "../../../utils/keyboard.js";
|
|
9
|
-
const J = "
|
|
9
|
+
const J = "dropdownDesktop__fec92d37", Q = "sm__29a1800a", X = "md__d38e1f53", Y = "lg__e9a0ddfd", Z = "dropdownDesktopOverflowHidden__fc26e988", k = {
|
|
10
10
|
dropdownDesktop: J,
|
|
11
11
|
sm: Q,
|
|
12
12
|
md: X,
|
|
@@ -19,13 +19,13 @@ const J = "dropdownDesktop__3ae3f157", Q = "sm__ab2e1fef", X = "md__42338f01", Y
|
|
|
19
19
|
style: C,
|
|
20
20
|
size: M = K.MD,
|
|
21
21
|
direction: a = u.AUTO,
|
|
22
|
-
alignment: _ =
|
|
22
|
+
alignment: _ = b.LEFT,
|
|
23
23
|
width: p = T.CONTENT,
|
|
24
24
|
opened: s,
|
|
25
25
|
targetRef: l,
|
|
26
26
|
setOpened: te,
|
|
27
27
|
...S
|
|
28
|
-
} = H, [W,
|
|
28
|
+
} = H, [W, g] = F({ opacity: 0 }), i = I(null), { scopeClassName: z } = q(), x = j(k.dropdownDesktop, $[M], z, A), w = d(
|
|
29
29
|
(e) => {
|
|
30
30
|
var t;
|
|
31
31
|
(t = i.current) != null && t.contains(e.target) || e.preventDefault();
|
|
@@ -42,10 +42,10 @@ const J = "dropdownDesktop__3ae3f157", Q = "sm__ab2e1fef", X = "md__42338f01", Y
|
|
|
42
42
|
e ? (document.addEventListener("wheel", w, { passive: !1 }), document.addEventListener("keydown", h)) : (document.removeEventListener("wheel", w), document.removeEventListener("keydown", h));
|
|
43
43
|
},
|
|
44
44
|
[w, h]
|
|
45
|
-
),
|
|
45
|
+
), L = d(
|
|
46
46
|
(e, t, o) => {
|
|
47
47
|
const r = document.documentElement.clientWidth, v = t.left, D = t.right - o;
|
|
48
|
-
if (_ ===
|
|
48
|
+
if (_ === b.LEFT) {
|
|
49
49
|
const y = v + o <= r;
|
|
50
50
|
e.left = y ? v : Math.max(0, D);
|
|
51
51
|
} else {
|
|
@@ -54,7 +54,7 @@ const J = "dropdownDesktop__3ae3f157", Q = "sm__ab2e1fef", X = "md__42338f01", Y
|
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
[_]
|
|
57
|
-
),
|
|
57
|
+
), R = d(
|
|
58
58
|
(e, t, o) => {
|
|
59
59
|
a === u.AUTO ? o.bottom + 4 + t.height < document.documentElement.clientHeight ? e.top = o.bottom + 4 : o.top - 4 - t.height > 0 ? e.bottom = document.documentElement.clientHeight - o.top + 4 : e.top = o.bottom + 4 : a === u.BOTTOM ? e.top = o.bottom + 4 : a === u.TOP && (e.bottom = document.documentElement.clientHeight - o.top + 4);
|
|
60
60
|
},
|
|
@@ -63,10 +63,10 @@ const J = "dropdownDesktop__3ae3f157", Q = "sm__ab2e1fef", X = "md__42338f01", Y
|
|
|
63
63
|
if (i.current === null || l.current === null) return;
|
|
64
64
|
const e = i.current.getBoundingClientRect(), t = l.current.getBoundingClientRect(), o = {};
|
|
65
65
|
let r = e.width;
|
|
66
|
-
p === T.TARGET ? (r = t.width, o.width = t.width) : p === T.MIN_TARGET && (r = Math.max(e.width, t.width), o.minWidth = t.width),
|
|
67
|
-
}, [l, p,
|
|
66
|
+
p === T.TARGET ? (r = t.width, o.width = t.width) : p === T.MIN_TARGET && (r = Math.max(e.width, t.width), o.minWidth = t.width), R(o, e, t), L(o, t, r), g(o);
|
|
67
|
+
}, [l, p, R, L]);
|
|
68
68
|
O(() => {
|
|
69
|
-
s ? c() :
|
|
69
|
+
s ? c() : g({ opacity: 0 });
|
|
70
70
|
}, [s, c]), O(() => {
|
|
71
71
|
if (!s || i.current === null || l.current === null) return;
|
|
72
72
|
const e = new ResizeObserver(c);
|
|
@@ -90,7 +90,7 @@ const J = "dropdownDesktop__3ae3f157", Q = "sm__ab2e1fef", X = "md__42338f01", Y
|
|
|
90
90
|
className: x,
|
|
91
91
|
style: { ...W, ...C },
|
|
92
92
|
...S,
|
|
93
|
-
"data-tx": "0.
|
|
93
|
+
"data-tx": "0.28.0",
|
|
94
94
|
ref: G,
|
|
95
95
|
children: P
|
|
96
96
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as y, jsx as h } from "react/jsx-runtime";
|
|
2
2
|
import l, { useContext as B, useRef as b, useState as z, useEffect as f } from "react";
|
|
3
3
|
import { c as _ } from "../../../chunks/vendor---Om3uMV.js";
|
|
4
|
-
import { s as D, D as x } from "../../../chunks/DropdownListItem-
|
|
4
|
+
import { s as D, D as x } from "../../../chunks/DropdownListItem-DEMHVloq.js";
|
|
5
5
|
import { EVENT_KEY_CODES as w } from "../../../utils/keyboard.js";
|
|
6
6
|
import { DropdownListContext as V } from "../DropdownListContext.js";
|
|
7
7
|
import { LoaderSmall as W } from "../../Loader/LoaderSmall/LoaderSmall.js";
|
|
@@ -4,7 +4,7 @@ import "../../../chunks/vendor---Om3uMV.js";
|
|
|
4
4
|
import "../../../enums/EComponentSize.js";
|
|
5
5
|
import "../../../utils/keyboard.js";
|
|
6
6
|
import "../../Badge/Badge.js";
|
|
7
|
-
import { D } from "../../../chunks/DropdownListItem-
|
|
7
|
+
import { D } from "../../../chunks/DropdownListItem-DEMHVloq.js";
|
|
8
8
|
export {
|
|
9
9
|
D as DropdownListItem
|
|
10
10
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DropdownDesktop as p } from "./DropdownDesktop.js";
|
|
2
2
|
import { DropdownList as n } from "./DropdownList.js";
|
|
3
|
-
import { D as e } from "../../../chunks/DropdownListItem-
|
|
3
|
+
import { D as e } from "../../../chunks/DropdownListItem-DEMHVloq.js";
|
|
4
4
|
import { EDropdownAlignment as i, EDropdownDirection as m, EDropdownWidth as w } from "./enums.js";
|
|
5
5
|
export {
|
|
6
6
|
p as DropdownDesktop,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DropdownListContext as e } from "./DropdownListContext.js";
|
|
2
2
|
import { DropdownDesktop as t } from "./desktop/DropdownDesktop.js";
|
|
3
3
|
import { DropdownList as d } from "./desktop/DropdownList.js";
|
|
4
|
-
import { D as i } from "../../chunks/DropdownListItem-
|
|
4
|
+
import { D as i } from "../../chunks/DropdownListItem-DEMHVloq.js";
|
|
5
5
|
import { EDropdownAlignment as w, EDropdownDirection as x, EDropdownWidth as f } from "./desktop/enums.js";
|
|
6
6
|
import { DropdownMobile as b } from "./mobile/DropdownMobile.js";
|
|
7
7
|
import { DropdownMobileBody as s } from "./mobile/DropdownMobileBody.js";
|