@sberbusiness/triplex-next 1.4.0 → 1.6.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-BQv9QI6L.js → AlertProcessSpoiler-BCXIqVd5.js} +6 -6
- package/chunks/CalendarViewItem-CHiqUGxF.js +101 -0
- package/chunks/Card.module-CmXEvD5r.js +17 -0
- package/chunks/CheckboxTreeExtended.module-D-2ZUrcy.js +11 -0
- package/chunks/{Chip-G6cGXuGj.js → Chip-yWyfl_o2.js} +11 -11
- package/chunks/Confirm.module-Ds4ZMYVB.js +15 -0
- package/chunks/{DropdownListItem-D2hzyBGc.js → DropdownListItem-DgEkMGvB.js} +19 -19
- package/chunks/DropdownMobile.module-thvNKX4t.js +21 -0
- package/chunks/Footer.module-DZhiuTzP.js +9 -0
- package/chunks/{FormFieldInput-CO7yZP0Q.js → FormFieldInput-BBhoiftf.js} +10 -10
- package/chunks/HeaderLayoutSidebar.module-DaB6pHPF.js +9 -0
- package/chunks/HeaderTabs.module-DK3rR1yV.js +9 -0
- package/chunks/{HeaderTitle.module-BHyH17ZI.js → HeaderTitle.module-CBMLSjn-.js} +2 -2
- package/chunks/IslandAccordion.module-D9LSijXT.js +26 -0
- package/chunks/{LightBoxContent-DmoszkOx.js → LightBoxContent-BjsBFl6W.js} +12 -12
- package/chunks/LightBoxControls.module-BHw6I5-d.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-VE4NCDr0.js +8 -0
- package/chunks/{ListItemControlsButton-BoEiexyr.js → ListItemControlsButton-CueYzEGM.js} +10 -10
- package/chunks/ListItemTail.module-Bw2cyg-n.js +12 -0
- package/chunks/ListMasterFooter.module-BfD7OQFa.js +10 -0
- package/chunks/ModalWindow.module-Nps-2rvx.js +17 -0
- package/chunks/Notification.module-DZZnmvDX.js +21 -0
- package/chunks/Overlay.module-BGfiVeol.js +18 -0
- package/chunks/Page.module-CV4uy77C.js +12 -0
- package/chunks/{RightBorderArrow-BHW7rkmN.js → RightBorderArrow-rROpeCX0.js} +8 -8
- package/chunks/SMSInput.module-Br6FTDVD.js +16 -0
- package/chunks/SliderExtendedMarks.module-Bubs2UAN.js +15 -0
- package/chunks/SliderExtendedRail-BmH-0W3L.js +40 -0
- package/chunks/StatusTracker.module-BVzGbfDD.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-CMKMF0PQ.js → SuggestFieldMobileDropdownHint-Bh4smUeN.js} +2 -2
- package/chunks/TableFooter.module-hx13-EO6.js +14 -0
- package/chunks/TabsExtended.module-CNjCgifz.js +16 -0
- package/chunks/TabsLine.module-_Jn8K0jv.js +23 -0
- package/chunks/TooltipDesktop.module-Cx6fDiek.js +19 -0
- package/chunks/TooltipMobileCloseButton-BUyQFHWX.js +20 -0
- package/chunks/TreeView.module-oeG4_2Ve.js +9 -0
- package/chunks/{UploadZoneInput-pdhICY56.js → UploadZoneInput-CjsECm07.js} +3 -3
- package/chunks/{utils-C8a4iCV0.js → utils-C1Q-0uVF.js} +6 -6
- package/chunks/utils-C8A7RzC0.js +20 -0
- package/chunks/utils-Cb3psf0n.js +73 -0
- package/chunks/{utils-C9-tOm2Z.js → utils-D-KMukhm.js} +8 -8
- package/chunks/utils-vwCIbf0H.js +24 -0
- package/chunks/vendor-D3hUOusX.js +14839 -0
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +10 -10
- package/components/Alert/AlertContext/AlertContext.js +13 -13
- 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 +11 -11
- package/components/Body/Body.js +13 -13
- package/components/Body/index.js +4 -2
- package/components/Button/Button.js +22 -22
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +2 -2
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +12 -12
- package/components/Calendar/Calendar.js +188 -0
- package/components/Calendar/CalendarContext.js +22 -0
- package/components/Calendar/CalendarViewContext.js +8 -0
- package/components/Calendar/components/CalendarControls.js +98 -0
- package/components/Calendar/components/CalendarFooter.js +9 -0
- package/components/Calendar/components/CalendarFooterButton.js +31 -0
- package/components/Calendar/components/CalendarView.js +30 -0
- package/components/Calendar/components/CalendarViewDays.js +100 -0
- package/components/Calendar/components/CalendarViewItem.js +11 -0
- package/components/Calendar/components/CalendarViewMonths.js +64 -0
- package/components/Calendar/components/CalendarViewYears.js +64 -0
- package/components/Calendar/enums.js +7 -0
- package/components/Calendar/index.js +9 -0
- package/components/Calendar/types.js +2 -0
- package/components/Calendar/utils.js +38 -0
- package/components/Card/CardAction.js +14 -14
- package/components/Card/CardStatic.js +3 -3
- package/components/Card/components/CardContent/CardContent.js +2 -2
- package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
- package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
- package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
- package/components/Card/components/CardMedia.js +2 -2
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +12 -12
- package/components/Checkbox/Checkbox.js +16 -16
- package/components/Checkbox/CheckboxXGroup.js +13 -13
- package/components/Checkbox/CheckboxYGroup.js +4 -4
- package/components/CheckboxTree/index.js +5 -0
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +8 -7
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +4 -3
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +22 -21
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +21 -24
- package/components/CheckboxTreeExtended/index.js +5 -0
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +7 -7
- package/components/Chip/ChipDropdownArrow.js +4 -4
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +46 -0
- package/components/Chip/ChipOptions.js +9 -9
- package/components/Chip/ChipSelect.js +2 -2
- package/components/Chip/ChipSort.js +55 -0
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +21 -21
- package/components/Chip/index.js +13 -9
- package/components/ChipGroup/ChipGroup.js +13 -13
- package/components/Col/Col.js +137 -137
- package/components/CollapsableTree/components/CollapsableTreeNode.js +2 -2
- package/components/Confirm/Confirm.js +41 -0
- package/components/Confirm/components/ConfirmClose.js +13 -0
- package/components/Confirm/components/ConfirmCloseButton.js +27 -0
- package/components/Confirm/components/ConfirmContent.js +13 -0
- package/components/Confirm/components/ConfirmContentSubTitle.js +15 -0
- package/components/Confirm/components/ConfirmContentTitle.js +16 -0
- package/components/Confirm/components/ConfirmControls.js +9 -0
- package/components/Confirm/enums.js +5 -0
- package/components/Confirm/index.js +5 -0
- package/components/DateField/DateField.js +135 -0
- package/components/DateField/DateFieldContext.js +12 -0
- package/components/DateField/DateFieldTarget.js +60 -0
- package/components/DateField/constants.js +5 -0
- package/components/DateField/index.js +5 -0
- package/components/DateField/types.js +2 -0
- package/components/DateField/utils.js +23 -0
- package/components/DatePickerExtended/DatePickerExtended.js +136 -0
- package/components/DatePickerExtended/DatePickerExtendedContext.js +11 -0
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +63 -0
- package/components/DateRange/DateRange.js +73 -0
- package/components/DateRange/enums.js +5 -0
- package/components/DesignTokens/DesignTokenUtils.js +7 -7
- package/components/DesignTokens/DesignTokensComponents.js +94 -70
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +89 -65
- package/components/DesignTokens/DesignTokensCore.js +1 -1
- package/components/DesignTokens/components/Calendar.js +107 -0
- package/components/DesignTokens/components/Divider.js +4 -4
- package/components/DesignTokens/components/Island.js +4 -4
- package/components/DesignTokens/components/IslandAccordion.js +15 -4
- package/components/DesignTokens/components/ModalWindow.js +11 -0
- package/components/DesignTokens/components/MultiselectField.js +9 -0
- package/components/DesignTokens/components/Slider.js +59 -0
- package/components/DesignTokens/components/SmallInput.js +15 -0
- package/components/DesignTokens/components/TopOverlay.js +9 -0
- package/components/DesignTokens/components/UploadZone.js +1 -1
- package/components/DesignTokens/components/index.js +144 -126
- package/components/Divider/Divider.js +21 -21
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +64 -0
- package/components/DocumentNumberEdit/index.js +5 -0
- package/components/Dropdown/desktop/DropdownDesktop.js +16 -16
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +11 -0
- package/components/Ellipsis/Ellipsis.js +13 -13
- package/components/ExpandAnimation/ExpandAnimation.js +24 -24
- 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 +25 -25
- package/components/FormField/components/FormFieldClear.js +13 -17
- package/components/FormField/components/FormFieldCounter.js +4 -4
- package/components/FormField/components/FormFieldDescription.js +4 -4
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +5 -5
- package/components/FormField/components/FormFieldMaskedInput.js +24 -28
- package/components/FormField/components/FormFieldPostfix.js +8 -8
- package/components/FormField/components/FormFieldPrefix.js +8 -8
- package/components/FormField/components/FormFieldTarget.js +37 -36
- package/components/FormField/components/FormFieldTextarea.js +11 -11
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +2 -2
- package/components/HelpBox/HelpBox.js +6 -6
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +5 -5
- package/components/Island/components/IslandFooter.js +4 -4
- package/components/Island/components/IslandHeader.js +4 -4
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +3 -3
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionItem.js +81 -73
- package/components/LightBox/LightBox.js +29 -29
- 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 +9 -9
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +3 -3
- package/components/Link/Link.js +17 -17
- package/components/List/List.js +6 -6
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +2 -2
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +7 -7
- package/components/List/components/ListItemControls.js +2 -2
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +7 -7
- package/components/List/components/ListItemSelectable.js +7 -7
- package/components/List/components/ListItemTable.js +4 -4
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +6 -6
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +6 -6
- 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 +6 -6
- package/components/ListMaster/components/SelectionControls.js +6 -6
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +13 -13
- package/components/Loader/LoaderSmall/LoaderSmall.js +8 -8
- package/components/LoaderScreen/LoaderScreen.js +2 -2
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +13 -13
- package/components/ModalWindow/ModalWindow.js +98 -0
- package/components/ModalWindow/components/ModalWindowBody.js +21 -0
- package/components/ModalWindow/components/ModalWindowClose.js +29 -0
- package/components/ModalWindow/components/ModalWindowContent.js +13 -0
- package/components/ModalWindow/components/ModalWindowFooter.js +10 -0
- package/components/ModalWindow/components/ModalWindowHeader.js +13 -0
- package/components/ModalWindow/components/ModalWindowViewManager.js +45 -0
- package/components/ModalWindow/index.js +17 -0
- package/components/MonthYearField/MonthYearField.js +66 -0
- package/components/MonthYearField/MonthYearFieldContext.js +9 -0
- package/components/MonthYearField/MonthYearFieldTarget.js +59 -0
- package/components/MonthYearField/constants.js +5 -0
- package/components/MonthYearField/index.js +5 -0
- package/components/MonthYearField/types.js +2 -0
- package/components/MonthYearField/utils.js +22 -0
- package/components/MultiselectField/MultiselectField.js +22 -0
- package/components/MultiselectField/MultiselectFieldContext.js +10 -0
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +65 -0
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +23 -0
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +13 -0
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +13 -0
- package/components/MultiselectField/components/index.js +11 -0
- package/components/MultiselectField/index.js +5 -0
- 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/Notification/index.js +7 -0
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +5 -5
- package/components/OrderedList/OrderedListItem.js +10 -10
- 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 +2 -2
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Page/components/useStickyCornerRadius.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +5 -5
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +9 -8
- package/components/Pagination/components/PaginationPageEllipsis.js +3 -3
- package/components/Pagination/components/PaginationSelect.js +6 -6
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +6 -6
- package/components/Radio/RadioXGroup.js +11 -11
- package/components/Radio/RadioYGroup.js +8 -8
- package/components/Row/Row.js +6 -6
- package/components/SMSInput/SMSInput.js +3 -3
- package/components/SMSInput/components/RefreshIcon.js +2 -2
- package/components/SMSInput/components/SMSInputInput.js +3 -3
- package/components/SMSInput/components/SMSInputRefresh.js +2 -2
- package/components/SMSInput/components/SMSInputSubmit.js +2 -2
- package/components/SMSInput/components/SMSInputTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +6 -6
- package/components/SegmentedControl/SegmentedControlSegment.js +7 -7
- package/components/SelectExtendedField/SelectExtendedField.js +60 -54
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +81 -67
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +8 -8
- package/components/Slider/Slider.js +20 -0
- package/components/Slider/index.js +5 -0
- package/components/SliderExtended/SliderExtended.js +102 -0
- package/components/SliderExtended/SliderExtendedContext.js +30 -0
- package/components/SliderExtended/SliderExtendedUtils.js +32 -0
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +158 -0
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDotActions.js +12 -0
- package/components/SliderExtended/components/SliderExtendedDot/useSliderExtendedDotTabIndex.js +21 -0
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +48 -0
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarkActions.js +27 -0
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +9 -0
- package/components/SliderExtended/components/SliderExtendedMoveHandler.js +25 -0
- package/components/SliderExtended/components/SliderExtendedRail.js +10 -0
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +39 -0
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +147 -0
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrackActions.js +36 -0
- package/components/SliderExtended/index.js +5 -0
- package/components/SliderRange/SliderRange.js +63 -0
- package/components/SliderRange/index.js +5 -0
- package/components/SmallInput/SmallInput.js +11 -0
- package/components/SmallInput/index.js +5 -0
- package/components/Spoiler/Spoiler.js +15 -15
- package/components/StatusTracker/StatusTracker.js +13 -13
- package/components/StatusTracker/components/StatusTrackerAlert.js +2 -2
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +2 -2
- package/components/StatusTracker/components/StatusTrackerFooter.js +2 -2
- package/components/StatusTracker/components/StatusTrackerHeader.js +2 -2
- package/components/StatusTracker/components/StatusTrackerMedia.js +2 -2
- package/components/StatusTracker/components/StatusTrackerStatus.js +2 -2
- package/components/StatusTracker/components/StatusTrackerSum.js +2 -2
- package/components/StatusTracker/components/StatusTrackerTitle.js +2 -2
- package/components/StatusTracker/enums.js +1 -1
- package/components/StatusTracker/index.js +3 -0
- package/components/Step/Step.js +10 -10
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +56 -56
- package/components/Stepper/StepperExtended.js +6 -6
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +7 -7
- package/components/Suggest/SuggestMobileDropdownContent.js +10 -10
- package/components/SuggestField/SuggestField.js +1 -1
- package/components/SuggestField/SuggestFieldTarget.js +1 -1
- package/components/SuggestField/SuggestFieldTargetPostfix.js +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +25 -25
- 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 +20 -20
- package/components/Table/FilterPanel.js +7 -7
- package/components/Table/MasterTable.js +3 -3
- package/components/Table/NoColumns.js +4 -4
- package/components/Table/PaginationPanel.js +3 -3
- package/components/Table/TableBasic/TableBasic.js +20 -20
- 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 +31 -34
- package/components/Table/TableBasicSettings/TableBasicSettings.js +29 -31
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +8 -8
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +4 -4
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +5 -5
- package/components/Table/TableFooter/TableFooter.js +14 -11
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +6 -6
- package/components/Table/TabsLinePanelLinks.js +22 -10
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +15 -15
- 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 +7 -7
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +3 -3
- package/components/TabsLine/components/TabsLineItem.js +13 -12
- package/components/TabsLine/components/TabsLineMobile.js +8 -8
- package/components/Tag/Tag.js +20 -20
- package/components/TagGroup/TagGroup.js +10 -10
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +4 -4
- package/components/ThemeProvider/components/ThemeProviderView.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +19 -19
- 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 +28 -32
- package/components/Tooltip/components/mobile/components/TooltipMobileCloseButton.js +6 -11
- package/components/Tooltip/components/mobile/components/TooltipMobileHeader.js +4 -4
- package/components/TopOverlay/TopOverlay.js +85 -0
- package/components/TopOverlay/index.js +5 -0
- package/components/TreeView/TreeView.js +9 -8
- package/components/TreeView/components/TreeViewGroup.js +3 -2
- package/components/TreeView/components/TreeViewNode.js +12 -11
- package/components/Typography/Caption.js +14 -14
- package/components/Typography/Text.js +29 -29
- package/components/Typography/Title.js +12 -12
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +6 -6
- package/components/UnorderedList/UnorderedListItem.js +7 -7
- 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 +515 -421
- package/consts/DateConst.js +14 -0
- package/helpers/less/z-indexes.less +6 -1
- package/index.d.ts +1344 -56
- package/index.js +518 -424
- package/package.json +62 -1
- package/styles/triplex-next.css +527 -472
- package/types/DateTypes.js +2 -0
- package/utils/amountUtils.js +1 -1
- package/chunks/Card.module-kTbr6OQy.js +0 -17
- package/chunks/DropdownMobile.module-Fa_t6vz1.js +0 -21
- package/chunks/Footer.module-B3uFxh54.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-CGCy_cim.js +0 -9
- package/chunks/HeaderTabs.module-DMuNfILv.js +0 -9
- package/chunks/IslandAccordion.module-7xAwgJVI.js +0 -22
- package/chunks/LightBoxControls.module-42gn-co3.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-B_oIB3rc.js +0 -8
- package/chunks/ListItemTail.module-BB5TJPEc.js +0 -12
- package/chunks/ListMasterFooter.module-DxZ_nXDV.js +0 -10
- package/chunks/Notification.module-C-HCMpAz.js +0 -21
- package/chunks/Overlay.module-q-oPhooa.js +0 -18
- package/chunks/Page.module-DjGbJ-Uw.js +0 -12
- package/chunks/SMSInput.module-Ci4GRnk_.js +0 -16
- package/chunks/StatusTracker.module-zTyojoH4.js +0 -24
- package/chunks/TableFooter.module-DrRycaTr.js +0 -13
- package/chunks/TabsExtended.module-Be8qpZYz.js +0 -16
- package/chunks/TabsLine.module-DKAp48Sx.js +0 -23
- package/chunks/TooltipDesktop.module-D72ObNia.js +0 -19
- package/chunks/utils-B7AjUpy-.js +0 -20
- package/chunks/utils-C-1ATq_g.js +0 -24
- package/chunks/utils-DwX2_kEA.js +0 -72
- package/chunks/vendor-Ba_pyhza.js +0 -12036
- package/components/LightBox/LightBoxTopOverlay/LightBoxTopOverlay.js +0 -86
|
@@ -2,7 +2,7 @@ import "./desktop/SuggestFieldDesktopDropdown.js";
|
|
|
2
2
|
import { SuggestFieldDesktop as L } from "./desktop/SuggestFieldDesktop.js";
|
|
3
3
|
import { SuggestFieldMobile as O } from "./mobile/SuggestFieldMobile.js";
|
|
4
4
|
import "./mobile/SuggestFieldMobileDropdown.js";
|
|
5
|
-
import "../../chunks/SuggestFieldMobileDropdownHint-
|
|
5
|
+
import "../../chunks/SuggestFieldMobileDropdownHint-Bh4smUeN.js";
|
|
6
6
|
import "./mobile/SuggestFieldMobileTarget.js";
|
|
7
7
|
import { jsx as e } from "react/jsx-runtime";
|
|
8
8
|
import { MobileView as h } from "../MobileView/MobileView.js";
|
|
@@ -5,7 +5,7 @@ import "../FormField/components/FormFieldCounter.js";
|
|
|
5
5
|
import { FormFieldLabel as p } from "../FormField/components/FormFieldLabel.js";
|
|
6
6
|
import "../FormField/components/FormFieldClear.js";
|
|
7
7
|
import "../FormField/components/FormFieldTarget.js";
|
|
8
|
-
import { F as d } from "../../chunks/FormFieldInput-
|
|
8
|
+
import { F as d } from "../../chunks/FormFieldInput-BBhoiftf.js";
|
|
9
9
|
import "../FormField/components/FormFieldMaskedInput.js";
|
|
10
10
|
import "../FormField/components/FormFieldPostfix.js";
|
|
11
11
|
import { FormFieldPrefix as l } from "../FormField/components/FormFieldPrefix.js";
|
|
@@ -6,7 +6,7 @@ import "../FormField/components/FormFieldCounter.js";
|
|
|
6
6
|
import "../FormField/components/FormFieldLabel.js";
|
|
7
7
|
import { FormFieldClear as f } from "../FormField/components/FormFieldClear.js";
|
|
8
8
|
import "../FormField/components/FormFieldTarget.js";
|
|
9
|
-
import "../../chunks/FormFieldInput-
|
|
9
|
+
import "../../chunks/FormFieldInput-BBhoiftf.js";
|
|
10
10
|
import "../FormField/components/FormFieldMaskedInput.js";
|
|
11
11
|
import { FormFieldPostfix as d } from "../FormField/components/FormFieldPostfix.js";
|
|
12
12
|
import "../FormField/components/FormFieldPrefix.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SuggestFieldDesktopDropdown as
|
|
2
|
-
import { jsxs as q, jsx as
|
|
3
|
-
import { useState as
|
|
4
|
-
import { a as
|
|
1
|
+
import { SuggestFieldDesktopDropdown as ft } from "./SuggestFieldDesktopDropdown.js";
|
|
2
|
+
import { jsxs as q, jsx as f } from "react/jsx-runtime";
|
|
3
|
+
import { useState as g, useRef as k, useCallback as s, useEffect as E } from "react";
|
|
4
|
+
import { a as gt, G as ht, c as Dt } from "../../../chunks/vendor-D3hUOusX.js";
|
|
5
5
|
import { Tooltip as x } from "../../Tooltip/Tooltip.js";
|
|
6
6
|
import { ETooltipSize as bt } from "../../Tooltip/enums.js";
|
|
7
7
|
import { SuggestFieldTarget as ut } from "../SuggestFieldTarget.js";
|
|
@@ -12,7 +12,7 @@ import "../../FormField/components/FormFieldCounter.js";
|
|
|
12
12
|
import "../../FormField/components/FormFieldLabel.js";
|
|
13
13
|
import "../../FormField/components/FormFieldClear.js";
|
|
14
14
|
import "../../FormField/components/FormFieldTarget.js";
|
|
15
|
-
import "../../../chunks/FormFieldInput-
|
|
15
|
+
import "../../../chunks/FormFieldInput-BBhoiftf.js";
|
|
16
16
|
import "../../FormField/components/FormFieldMaskedInput.js";
|
|
17
17
|
import "../../FormField/components/FormFieldPostfix.js";
|
|
18
18
|
import "../../FormField/components/FormFieldPrefix.js";
|
|
@@ -21,7 +21,7 @@ import "../../Dropdown/Dropdown.js";
|
|
|
21
21
|
import { DropdownListContext as kt } from "../../Dropdown/DropdownListContext.js";
|
|
22
22
|
import "../../Dropdown/desktop/DropdownDesktop.js";
|
|
23
23
|
import "../../Dropdown/desktop/DropdownList.js";
|
|
24
|
-
import "../../../chunks/DropdownListItem-
|
|
24
|
+
import "../../../chunks/DropdownListItem-DgEkMGvB.js";
|
|
25
25
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
26
26
|
import "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
27
27
|
import "../../Dropdown/mobile/DropdownMobileClose.js";
|
|
@@ -34,7 +34,7 @@ import "../../Dropdown/mobile/DropdownMobileListItem.js";
|
|
|
34
34
|
import "../../Loader/LoaderSmall/LoaderSmall.js";
|
|
35
35
|
import "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
36
36
|
import { DataTestId as wt } from "../../../consts/DataTestId.js";
|
|
37
|
-
const Lt = "
|
|
37
|
+
const Lt = "suggestFieldDesktop__c99f9d45", Ct = {
|
|
38
38
|
suggestFieldDesktop: Lt
|
|
39
39
|
}, Pt = ({
|
|
40
40
|
className: z,
|
|
@@ -42,16 +42,16 @@ const Lt = "suggestFieldDesktop__83a89ae8", Ct = {
|
|
|
42
42
|
options: p,
|
|
43
43
|
size: y,
|
|
44
44
|
status: F,
|
|
45
|
-
label:
|
|
46
|
-
placeholder:
|
|
47
|
-
loading:
|
|
45
|
+
label: G,
|
|
46
|
+
placeholder: v,
|
|
47
|
+
loading: B,
|
|
48
48
|
dropdownListLoading: J,
|
|
49
49
|
tooltipHint: K,
|
|
50
50
|
tooltipOpen: Q,
|
|
51
|
-
clearInputOnFocus:
|
|
51
|
+
clearInputOnFocus: R,
|
|
52
52
|
onSelect: d,
|
|
53
53
|
onFilter: h,
|
|
54
|
-
onScrollEnd:
|
|
54
|
+
onScrollEnd: A,
|
|
55
55
|
onTargetInputFocus: D,
|
|
56
56
|
onTargetInputBlur: b,
|
|
57
57
|
renderTarget: N,
|
|
@@ -65,8 +65,8 @@ const Lt = "suggestFieldDesktop__83a89ae8", Ct = {
|
|
|
65
65
|
"data-test-id": c,
|
|
66
66
|
...T
|
|
67
67
|
}) => {
|
|
68
|
-
const [m, l] =
|
|
69
|
-
C.current =
|
|
68
|
+
const [m, l] = g((e == null ? void 0 : e.label) || ""), [u, w] = g(), [i, M] = g(!1), [o, n] = g(!1), [O, S] = g(!1), j = k(gt()), L = k(null), _ = k(null), C = k(A);
|
|
69
|
+
C.current = A;
|
|
70
70
|
const I = s(
|
|
71
71
|
(t) => {
|
|
72
72
|
l((t == null ? void 0 : t.label) || ""), w(void 0), n(!1), S(!0), d(t);
|
|
@@ -74,9 +74,9 @@ const Lt = "suggestFieldDesktop__83a89ae8", Ct = {
|
|
|
74
74
|
[d]
|
|
75
75
|
), tt = s(
|
|
76
76
|
(t) => {
|
|
77
|
-
M(!0), n(!0),
|
|
77
|
+
M(!0), n(!0), R && m.length !== 0 && l(""), D == null || D(t);
|
|
78
78
|
},
|
|
79
|
-
[
|
|
79
|
+
[R, m, D]
|
|
80
80
|
), et = s(
|
|
81
81
|
(t) => {
|
|
82
82
|
w(void 0), M(!1), n(!1), S(!1), m.length !== 0 ? l((e == null ? void 0 : e.label) || "") : d(void 0), b == null || b(t);
|
|
@@ -122,23 +122,23 @@ const Lt = "suggestFieldDesktop__83a89ae8", Ct = {
|
|
|
122
122
|
}
|
|
123
123
|
}, [o, P]);
|
|
124
124
|
const nt = () => {
|
|
125
|
-
const t = Dt(Ct.suggestFieldDesktop, "hoverable", z), r = N === void 0 ? ut : N, a = H === void 0 ?
|
|
126
|
-
return /* @__PURE__ */
|
|
125
|
+
const t = Dt(Ct.suggestFieldDesktop, "hoverable", z), r = N === void 0 ? ut : N, a = H === void 0 ? ft : H;
|
|
126
|
+
return /* @__PURE__ */ f("div", { className: t, "data-test-id": c, ...T, ref: L, children: /* @__PURE__ */ q(
|
|
127
127
|
kt.Provider,
|
|
128
128
|
{
|
|
129
129
|
value: { activeDescendant: u, setActiveDescendant: it },
|
|
130
130
|
children: [
|
|
131
|
-
/* @__PURE__ */
|
|
131
|
+
/* @__PURE__ */ f(
|
|
132
132
|
r,
|
|
133
133
|
{
|
|
134
134
|
size: y,
|
|
135
135
|
status: F,
|
|
136
136
|
inputValue: m,
|
|
137
|
-
label:
|
|
138
|
-
placeholder:
|
|
137
|
+
label: G,
|
|
138
|
+
placeholder: v,
|
|
139
139
|
"aria-controls": j.current,
|
|
140
140
|
"aria-activedescendant": u,
|
|
141
|
-
loading:
|
|
141
|
+
loading: B,
|
|
142
142
|
dropdownOpen: o,
|
|
143
143
|
onFocus: tt,
|
|
144
144
|
onBlur: et,
|
|
@@ -152,7 +152,7 @@ const Lt = "suggestFieldDesktop__83a89ae8", Ct = {
|
|
|
152
152
|
dataTestId: c
|
|
153
153
|
}
|
|
154
154
|
),
|
|
155
|
-
/* @__PURE__ */
|
|
155
|
+
/* @__PURE__ */ f(
|
|
156
156
|
a,
|
|
157
157
|
{
|
|
158
158
|
value: e,
|
|
@@ -184,8 +184,8 @@ const Lt = "suggestFieldDesktop__83a89ae8", Ct = {
|
|
|
184
184
|
targetRef: L,
|
|
185
185
|
disableAdaptiveMode: !0,
|
|
186
186
|
children: [
|
|
187
|
-
/* @__PURE__ */
|
|
188
|
-
/* @__PURE__ */
|
|
187
|
+
/* @__PURE__ */ f(x.Body, { "data-test-id": c && `${c}${wt.Suggest.tooltip}`, children: K }),
|
|
188
|
+
/* @__PURE__ */ f(x.Target, { children: nt() })
|
|
189
189
|
]
|
|
190
190
|
}
|
|
191
191
|
);
|
|
@@ -3,7 +3,7 @@ import { Dropdown as $ } from "../../Dropdown/Dropdown.js";
|
|
|
3
3
|
import "../../Dropdown/DropdownListContext.js";
|
|
4
4
|
import "../../Dropdown/desktop/DropdownDesktop.js";
|
|
5
5
|
import { DropdownList as h } from "../../Dropdown/desktop/DropdownList.js";
|
|
6
|
-
import { D as C } from "../../../chunks/DropdownListItem-
|
|
6
|
+
import { D as C } from "../../../chunks/DropdownListItem-DgEkMGvB.js";
|
|
7
7
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
8
8
|
import "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
9
9
|
import "../../Dropdown/mobile/DropdownMobileClose.js";
|
|
@@ -2,7 +2,7 @@ import { SuggestFieldDesktopDropdown as r } from "./desktop/SuggestFieldDesktopD
|
|
|
2
2
|
import { SuggestFieldDesktop as g } from "./desktop/SuggestFieldDesktop.js";
|
|
3
3
|
import { SuggestFieldMobile as p } from "./mobile/SuggestFieldMobile.js";
|
|
4
4
|
import { SuggestFieldMobileDropdown as d } from "./mobile/SuggestFieldMobileDropdown.js";
|
|
5
|
-
import { S } from "../../chunks/SuggestFieldMobileDropdownHint-
|
|
5
|
+
import { S } from "../../chunks/SuggestFieldMobileDropdownHint-Bh4smUeN.js";
|
|
6
6
|
import { SuggestFieldMobileTarget as m } from "./mobile/SuggestFieldMobileTarget.js";
|
|
7
7
|
import { SuggestField as x } from "./SuggestField.js";
|
|
8
8
|
export {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as B, jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import { useState as E, useRef as p, useEffect as L } from "react";
|
|
3
|
-
import { c as N } from "../../../chunks/vendor-
|
|
3
|
+
import { c as N } from "../../../chunks/vendor-D3hUOusX.js";
|
|
4
4
|
import { SuggestFieldMobileTarget as R } from "./SuggestFieldMobileTarget.js";
|
|
5
5
|
import { SuggestFieldMobileDropdown as q } from "./SuggestFieldMobileDropdown.js";
|
|
6
|
-
import { s as z } from "../../../chunks/SuggestFieldMobileDropdownHint-
|
|
6
|
+
import { s as z } from "../../../chunks/SuggestFieldMobileDropdownHint-Bh4smUeN.js";
|
|
7
7
|
function U({
|
|
8
8
|
className: m,
|
|
9
9
|
value: r,
|
|
@@ -4,7 +4,7 @@ import { Dropdown as j } from "../../Dropdown/Dropdown.js";
|
|
|
4
4
|
import "../../Dropdown/DropdownListContext.js";
|
|
5
5
|
import "../../Dropdown/desktop/DropdownDesktop.js";
|
|
6
6
|
import "../../Dropdown/desktop/DropdownList.js";
|
|
7
|
-
import "../../../chunks/DropdownListItem-
|
|
7
|
+
import "../../../chunks/DropdownListItem-DgEkMGvB.js";
|
|
8
8
|
import "../../Dropdown/mobile/DropdownMobile.js";
|
|
9
9
|
import { DropdownMobileBody as k } from "../../Dropdown/mobile/DropdownMobileBody.js";
|
|
10
10
|
import { DropdownMobileClose as _ } from "../../Dropdown/mobile/DropdownMobileClose.js";
|
|
@@ -15,7 +15,7 @@ import { DropdownMobileInput as O } from "../../Dropdown/mobile/DropdownMobileIn
|
|
|
15
15
|
import { DropdownMobileList as P } from "../../Dropdown/mobile/DropdownMobileList.js";
|
|
16
16
|
import { DropdownMobileListItem as T } from "../../Dropdown/mobile/DropdownMobileListItem.js";
|
|
17
17
|
import { DropdownMobileLoader as q } from "../../Dropdown/mobile/DropdownMobileLoader.js";
|
|
18
|
-
import { s as z, S as A } from "../../../chunks/SuggestFieldMobileDropdownHint-
|
|
18
|
+
import { s as z, S as A } from "../../../chunks/SuggestFieldMobileDropdownHint-Bh4smUeN.js";
|
|
19
19
|
const E = ({
|
|
20
20
|
value: o,
|
|
21
21
|
options: c,
|
|
@@ -3,7 +3,7 @@ import "../../Typography/Title.js";
|
|
|
3
3
|
import "../../Typography/Text.js";
|
|
4
4
|
import "../../Typography/Caption.js";
|
|
5
5
|
import "../../Typography/enums.js";
|
|
6
|
-
import { S as d } from "../../../chunks/SuggestFieldMobileDropdownHint-
|
|
6
|
+
import { S as d } from "../../../chunks/SuggestFieldMobileDropdownHint-Bh4smUeN.js";
|
|
7
7
|
export {
|
|
8
8
|
d as SuggestFieldMobileDropdownHint
|
|
9
9
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SuggestFieldMobile as r } from "./SuggestFieldMobile.js";
|
|
2
2
|
import { SuggestFieldMobileDropdown as g } from "./SuggestFieldMobileDropdown.js";
|
|
3
|
-
import { S as l } from "../../../chunks/SuggestFieldMobileDropdownHint-
|
|
3
|
+
import { S as l } from "../../../chunks/SuggestFieldMobileDropdownHint-Bh4smUeN.js";
|
|
4
4
|
import { SuggestFieldMobileTarget as p } from "./SuggestFieldMobileTarget.js";
|
|
5
5
|
export {
|
|
6
6
|
r as SuggestFieldMobile,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsxs as j, jsx as
|
|
2
|
-
import z, { useState as
|
|
3
|
-
import { c as g } from "../../chunks/vendor-
|
|
4
|
-
const H = "
|
|
1
|
+
import { jsxs as j, jsx as w } from "react/jsx-runtime";
|
|
2
|
+
import z, { useState as A, useRef as u, useEffect as M, useImperativeHandle as W } from "react";
|
|
3
|
+
import { c as g } from "../../chunks/vendor-D3hUOusX.js";
|
|
4
|
+
const H = "swipeableArea__c01fc7ec", V = "content__3764a6a3", $ = "disableScroll__303e376a", k = "disablePointerEvents__6ad521bb", q = "swipeAnimationFinish__e9ccfe2b", G = "leftContent__3e9739ce", J = "rightContent__e7af4989", s = {
|
|
5
5
|
swipeableArea: H,
|
|
6
6
|
content: V,
|
|
7
7
|
disableScroll: $,
|
|
@@ -9,9 +9,9 @@ const H = "swipeableArea__f2b5a350", V = "content__8d64dd62", $ = "disableScroll
|
|
|
9
9
|
swipeAnimationFinish: q,
|
|
10
10
|
leftContent: G,
|
|
11
11
|
rightContent: J
|
|
12
|
-
}, p = 24,
|
|
12
|
+
}, p = 24, b = s.swipeAnimationFinish, K = s.disableScroll, Q = s.disablePointerEvents, N = { clientX: 0, clientY: 0 }, U = z.forwardRef(
|
|
13
13
|
({ children: L, className: I, leftSwipeableArea: m, rightSwipeableArea: C, ...y }, B) => {
|
|
14
|
-
const [S, a] =
|
|
14
|
+
const [S, a] = A(!1), [l, d] = A(), [o, e] = A(0), i = u(null), r = u(null), n = u(0), h = u(N), _ = u(null), X = () => {
|
|
15
15
|
a(!0);
|
|
16
16
|
const t = n.current - o;
|
|
17
17
|
n.current === 0 ? t > 0 ? e(
|
|
@@ -24,17 +24,17 @@ const H = "swipeableArea__f2b5a350", V = "content__8d64dd62", $ = "disableScroll
|
|
|
24
24
|
Math.abs(t) > p ? 0 : -r.current.getBoundingClientRect().width
|
|
25
25
|
);
|
|
26
26
|
}, E = () => {
|
|
27
|
-
|
|
27
|
+
h.current = N, d(void 0), document.removeEventListener("touchend", E);
|
|
28
28
|
};
|
|
29
29
|
M(() => {
|
|
30
30
|
!l && o !== n.current && X();
|
|
31
31
|
}, [l]);
|
|
32
32
|
const x = (t) => {
|
|
33
|
-
|
|
33
|
+
h.current = { clientX: t.touches[0].clientX, clientY: t.touches[0].clientY }, n.current = o, document.addEventListener("touchend", E);
|
|
34
34
|
}, O = (t) => {
|
|
35
35
|
if (t.touches.length != 1)
|
|
36
36
|
return;
|
|
37
|
-
const c = t.touches[0].clientX -
|
|
37
|
+
const c = t.touches[0].clientX - h.current.clientX, F = t.touches[0].clientY - h.current.clientY;
|
|
38
38
|
if (!l) {
|
|
39
39
|
Math.abs(F) > Math.abs(c) ? d(
|
|
40
40
|
"vertical"
|
|
@@ -47,12 +47,12 @@ const H = "swipeableArea__f2b5a350", V = "content__8d64dd62", $ = "disableScroll
|
|
|
47
47
|
}
|
|
48
48
|
if (l === "vertical")
|
|
49
49
|
return;
|
|
50
|
-
const
|
|
50
|
+
const f = n.current + c;
|
|
51
51
|
n.current === 0 ? c > 0 && m ? e(
|
|
52
|
-
Math.min(
|
|
52
|
+
Math.min(f, i.current.getBoundingClientRect().width)
|
|
53
53
|
) : c < 0 && C && e(
|
|
54
|
-
Math.max(
|
|
55
|
-
) : n.current > 0 ? c < 0 && e(Math.max(0,
|
|
54
|
+
Math.max(f, -r.current.getBoundingClientRect().width)
|
|
55
|
+
) : n.current > 0 ? c < 0 && e(Math.max(0, f)) : n.current < 0 && c > 0 && e(Math.min(0, f));
|
|
56
56
|
}, D = () => a(!1), P = () => r.current ? Math.abs(o) / r.current.getBoundingClientRect().width : 1, Y = () => i.current ? Math.abs(o) / i.current.getBoundingClientRect().width : 1;
|
|
57
57
|
M(() => {
|
|
58
58
|
const t = (c) => {
|
|
@@ -86,38 +86,38 @@ const H = "swipeableArea__f2b5a350", V = "content__8d64dd62", $ = "disableScroll
|
|
|
86
86
|
{
|
|
87
87
|
className: g(s.swipeableArea, I),
|
|
88
88
|
...y,
|
|
89
|
-
"data-tx": "1.
|
|
89
|
+
"data-tx": "1.6.0",
|
|
90
90
|
ref: _,
|
|
91
91
|
children: [
|
|
92
|
-
typeof m < "u" ? /* @__PURE__ */
|
|
92
|
+
typeof m < "u" ? /* @__PURE__ */ w(
|
|
93
93
|
"div",
|
|
94
94
|
{
|
|
95
95
|
className: g(s.leftContent, {
|
|
96
|
-
[
|
|
96
|
+
[b]: S
|
|
97
97
|
}),
|
|
98
98
|
ref: i,
|
|
99
99
|
style: { opacity: Y() },
|
|
100
100
|
children: m
|
|
101
101
|
}
|
|
102
102
|
) : null,
|
|
103
|
-
typeof C < "u" ? /* @__PURE__ */
|
|
103
|
+
typeof C < "u" ? /* @__PURE__ */ w(
|
|
104
104
|
"div",
|
|
105
105
|
{
|
|
106
106
|
className: g(s.rightContent, {
|
|
107
|
-
[
|
|
107
|
+
[b]: S
|
|
108
108
|
}),
|
|
109
109
|
ref: r,
|
|
110
110
|
style: { opacity: P() },
|
|
111
111
|
children: C
|
|
112
112
|
}
|
|
113
113
|
) : null,
|
|
114
|
-
/* @__PURE__ */
|
|
114
|
+
/* @__PURE__ */ w(
|
|
115
115
|
"div",
|
|
116
116
|
{
|
|
117
117
|
className: g(s.content, {
|
|
118
118
|
[Q]: o !== 0,
|
|
119
119
|
[K]: l === "horizontal",
|
|
120
|
-
[
|
|
120
|
+
[b]: S
|
|
121
121
|
}),
|
|
122
122
|
onTouchStart: x,
|
|
123
123
|
onTouchMove: O,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as r } from "../../chunks/vendor-
|
|
3
|
-
const s = "
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { c as r } from "../../chunks/vendor-D3hUOusX.js";
|
|
3
|
+
const s = "filterPanel__7ae6a2a5", i = {
|
|
4
4
|
filterPanel: s
|
|
5
|
-
}, n = ({ children: e, className:
|
|
5
|
+
}, n = ({ children: e, className: a, ...l }) => /* @__PURE__ */ t(
|
|
6
6
|
"div",
|
|
7
7
|
{
|
|
8
|
-
className: r(i.filterPanel,
|
|
9
|
-
...
|
|
10
|
-
"data-tx": "1.
|
|
8
|
+
className: r(i.filterPanel, a),
|
|
9
|
+
...l,
|
|
10
|
+
"data-tx": "1.6.0",
|
|
11
11
|
children: e
|
|
12
12
|
}
|
|
13
13
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as i } from "react";
|
|
3
3
|
import { MasterTableContext as n } from "./MasterTableContext.js";
|
|
4
|
-
import { c as b } from "../../chunks/vendor-
|
|
4
|
+
import { c as b } from "../../chunks/vendor-D3hUOusX.js";
|
|
5
5
|
import { NoColumns as p } from "./NoColumns.js";
|
|
6
6
|
import { FilterPanel as T } from "./FilterPanel.js";
|
|
7
7
|
import { TabsLinePanel as c } from "./TabsLinePanel.js";
|
|
@@ -11,7 +11,7 @@ import { TableFooter as u } from "./TableFooter/TableFooter.js";
|
|
|
11
11
|
import { PaginationPanel as d } from "./PaginationPanel.js";
|
|
12
12
|
import "./TableBasicSettings/components/ColumnSettings.js";
|
|
13
13
|
import "./TableBasic/enums.js";
|
|
14
|
-
const x = "
|
|
14
|
+
const x = "masterTable__fa6c94ad", g = {
|
|
15
15
|
masterTable: x
|
|
16
16
|
}, a = ({ children: t, className: o, loading: r = !1, ...m }) => {
|
|
17
17
|
const [s, l] = i([]);
|
|
@@ -28,7 +28,7 @@ const x = "masterTable__b18bca89", g = {
|
|
|
28
28
|
{
|
|
29
29
|
className: b(g.masterTable, o),
|
|
30
30
|
...m,
|
|
31
|
-
"data-tx": "1.
|
|
31
|
+
"data-tx": "1.6.0",
|
|
32
32
|
children: t
|
|
33
33
|
}
|
|
34
34
|
)
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as c, jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { c as e } from "../../chunks/vendor-
|
|
2
|
+
import { c as e } from "../../chunks/vendor-D3hUOusX.js";
|
|
3
3
|
import { Gap as l } from "../Gap/Gap.js";
|
|
4
|
-
import {
|
|
5
|
-
const a = "
|
|
4
|
+
import { ServicesetupSysIcon96 as r } from "@sberbusiness/icons-next";
|
|
5
|
+
const a = "noColumns__99300b12", i = "content__aa47c6df", s = {
|
|
6
6
|
noColumns: a,
|
|
7
7
|
content: i
|
|
8
8
|
}, p = ({ children: n, className: t, ...m }) => /* @__PURE__ */ c("div", { className: e(s.noColumns, t), ...m, children: [
|
|
9
9
|
/* @__PURE__ */ o(r, {}),
|
|
10
|
-
/* @__PURE__ */ o(l, { size:
|
|
10
|
+
/* @__PURE__ */ o(l, { size: 8 }),
|
|
11
11
|
/* @__PURE__ */ o("div", { className: s.content, children: n })
|
|
12
12
|
] });
|
|
13
13
|
p.displayName = "NoColumns";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { c as o } from "../../chunks/vendor-
|
|
3
|
-
const s = "
|
|
2
|
+
import { c as o } from "../../chunks/vendor-D3hUOusX.js";
|
|
3
|
+
const s = "paginationPanel__80b2c10f", e = {
|
|
4
4
|
paginationPanel: s
|
|
5
5
|
}, l = ({ children: a, className: n, ...i }) => /* @__PURE__ */ t(
|
|
6
6
|
"div",
|
|
7
7
|
{
|
|
8
8
|
className: o(e.paginationPanel, n),
|
|
9
9
|
...i,
|
|
10
|
-
"data-tx": "1.
|
|
10
|
+
"data-tx": "1.6.0",
|
|
11
11
|
children: a
|
|
12
12
|
}
|
|
13
13
|
);
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import { jsxs as d, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { useContext as B, useEffect as
|
|
3
|
-
import { i as
|
|
4
|
-
import { MasterTableContext as
|
|
5
|
-
import { s as a } from "../../../chunks/utils-
|
|
6
|
-
import { TableBasicHeader as
|
|
7
|
-
import { TableBasicBody as
|
|
8
|
-
import { LoaderMiddle as
|
|
2
|
+
import { useContext as B, useEffect as N } from "react";
|
|
3
|
+
import { i as T } from "../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
+
import { MasterTableContext as L } from "../MasterTableContext.js";
|
|
5
|
+
import { s as a } from "../../../chunks/utils-Cb3psf0n.js";
|
|
6
|
+
import { TableBasicHeader as g } from "./components/TableBasicHeader.js";
|
|
7
|
+
import { TableBasicBody as C } from "./components/TableBasicBody.js";
|
|
8
|
+
import { LoaderMiddle as E } from "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
9
9
|
import { LoaderScreen as j } from "../../LoaderScreen/LoaderScreen.js";
|
|
10
10
|
const D = ({
|
|
11
11
|
columns: t,
|
|
12
|
-
data:
|
|
13
|
-
highlightRowOnHover:
|
|
14
|
-
onOrderBy:
|
|
12
|
+
data: i,
|
|
13
|
+
highlightRowOnHover: c,
|
|
14
|
+
onOrderBy: m,
|
|
15
15
|
onClickRow: f,
|
|
16
16
|
renderNoColumns: n,
|
|
17
17
|
renderNoData: p,
|
|
18
18
|
headless: b,
|
|
19
19
|
...v
|
|
20
20
|
}) => {
|
|
21
|
-
const o = B(
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
const o = B(L), y = i.length === 0;
|
|
22
|
+
N(() => {
|
|
23
|
+
T(t, o.columns) || o.setColumns(t);
|
|
24
24
|
}, [t, o]);
|
|
25
25
|
const u = () => t.every((e) => e.hidden) && n ? n() : /* @__PURE__ */ d("table", { ...v, children: [
|
|
26
|
-
b || /* @__PURE__ */ r(
|
|
26
|
+
b || /* @__PURE__ */ r(g, { columns: t, onOrderBy: m }),
|
|
27
27
|
/* @__PURE__ */ r(
|
|
28
|
-
|
|
28
|
+
C,
|
|
29
29
|
{
|
|
30
30
|
columns: t,
|
|
31
|
-
data:
|
|
31
|
+
data: i,
|
|
32
32
|
onClickRow: f,
|
|
33
|
-
highlightRowOnHover:
|
|
33
|
+
highlightRowOnHover: c
|
|
34
34
|
}
|
|
35
35
|
)
|
|
36
36
|
] }, "table"), h = (e) => {
|
|
37
|
-
const { loading:
|
|
38
|
-
return
|
|
37
|
+
const { loading: s } = o;
|
|
38
|
+
return s && e ? l(x()) : !s && e ? l(p()) : s && !e ? /* @__PURE__ */ r("div", { className: a.spinnerWrapper, children: /* @__PURE__ */ r(j, { type: "middle", className: a.tableLoaderScreen }) }) : null;
|
|
39
39
|
}, l = (e) => /* @__PURE__ */ r("div", { className: a.footerEmptyData, children: e }), x = () => [
|
|
40
40
|
/* @__PURE__ */ r("div", { className: a.overlayCover }, "overlay"),
|
|
41
|
-
/* @__PURE__ */ r(
|
|
41
|
+
/* @__PURE__ */ r(E, {}, "spinner")
|
|
42
42
|
];
|
|
43
43
|
return /* @__PURE__ */ d("div", { className: a.tableBasic, children: [
|
|
44
44
|
u(),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { TableBasicRow as b } from "./TableBasicRow.js";
|
|
3
|
-
import { c as p } from "../../../../chunks/vendor-
|
|
4
|
-
import { s as r } from "../../../../chunks/utils-
|
|
3
|
+
import { c as p } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
4
|
+
import { s as r } from "../../../../chunks/utils-Cb3psf0n.js";
|
|
5
5
|
const B = ({ columns: c, data: o, highlightRowOnHover: t, onClickRow: e }) => {
|
|
6
6
|
if (o.length === 0)
|
|
7
7
|
return null;
|
|
@@ -4,8 +4,8 @@ import { isNullOrUndefined as b } from "../../../../utils/isNullOrUndefined.js";
|
|
|
4
4
|
import { getAriaHTMLAttributes as H } from "../../../../utils/html/AriaAttributes.js";
|
|
5
5
|
import { getDataHTMLAttributes as y } from "../../../../utils/html/DataAttributes.js";
|
|
6
6
|
import { ECellType as T, EHorizontalAlign as s, EOrderDirection as t } from "../enums.js";
|
|
7
|
-
import { c as d } from "../../../../chunks/vendor-
|
|
8
|
-
import { s as n, m as z } from "../../../../chunks/utils-
|
|
7
|
+
import { c as d } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
8
|
+
import { s as n, m as z } from "../../../../chunks/utils-Cb3psf0n.js";
|
|
9
9
|
import { Text as B } from "../../../Typography/Text.js";
|
|
10
10
|
import { ETextSize as v } from "../../../Typography/enums.js";
|
|
11
11
|
const w = ({ columns: u, onOrderBy: l }) => {
|
|
@@ -1,48 +1,45 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { getAriaHTMLAttributes as
|
|
3
|
-
import { getDataHTMLAttributes as
|
|
4
|
-
import { DataTestId as
|
|
5
|
-
import { c as
|
|
6
|
-
import { s as
|
|
7
|
-
import { ECellType as
|
|
8
|
-
import { ETextSize as
|
|
9
|
-
import { Text as
|
|
10
|
-
const j = ({ columns:
|
|
11
|
-
const { rowKey:
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { getAriaHTMLAttributes as H } from "../../../../utils/html/AriaAttributes.js";
|
|
3
|
+
import { getDataHTMLAttributes as D } from "../../../../utils/html/DataAttributes.js";
|
|
4
|
+
import { DataTestId as L } from "../../../../consts/DataTestId.js";
|
|
5
|
+
import { c as p } from "../../../../chunks/vendor-D3hUOusX.js";
|
|
6
|
+
import { s as M, a as S, m as X, b as $ } from "../../../../chunks/utils-Cb3psf0n.js";
|
|
7
|
+
import { ECellType as a, EVerticalAlign as f } from "../enums.js";
|
|
8
|
+
import { ETextSize as A } from "../../../Typography/enums.js";
|
|
9
|
+
import { Text as N } from "../../../Typography/Text.js";
|
|
10
|
+
const j = ({ columns: y, data: C, onClickRow: n }) => {
|
|
11
|
+
const { rowKey: b, rowData: d, rowLayout: l, ariaAttributes: c, dataAttributes: r, selected: T = !1 } = C, h = p({ [M.selected]: T, selected: T }), B = n ? () => n(b) : void 0, E = r ? r["test-id"] : void 0, g = (e, t, O, m) => {
|
|
12
12
|
if (e.hidden)
|
|
13
13
|
return null;
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
),
|
|
19
|
-
|
|
20
|
-
if (e.cellType !== H.COMPONENTS) return "---";
|
|
21
|
-
};
|
|
22
|
-
return /* @__PURE__ */ a(
|
|
14
|
+
const o = e.renderCell ? e.renderCell(t) : t, s = e.cellType ?? a.TEXT, w = e.verticalAlign ?? (s === a.TEXT ? f.BASELINE : f.TOP), z = p(
|
|
15
|
+
$(s),
|
|
16
|
+
X(e.horizontalAlign),
|
|
17
|
+
S(w)
|
|
18
|
+
), K = e.width ? { width: e.width } : void 0, v = () => o ? s === a.CHECKBOX || s === a.COMPONENTS ? o : /* @__PURE__ */ i(N, { size: A.B3, children: o }) : /* @__PURE__ */ i(N, { size: A.B3, children: "---" });
|
|
19
|
+
return /* @__PURE__ */ i(
|
|
23
20
|
"td",
|
|
24
21
|
{
|
|
25
|
-
className:
|
|
26
|
-
...
|
|
27
|
-
"data-test-id":
|
|
28
|
-
style:
|
|
29
|
-
children:
|
|
22
|
+
className: z,
|
|
23
|
+
...O,
|
|
24
|
+
"data-test-id": m && `${m}__${e.fieldKey}${L.Table.TableBasic.td}`,
|
|
25
|
+
style: K,
|
|
26
|
+
children: v()
|
|
30
27
|
},
|
|
31
28
|
e.fieldKey
|
|
32
29
|
);
|
|
33
|
-
},
|
|
30
|
+
}, x = y.map((e) => {
|
|
34
31
|
const { fieldKey: t } = e;
|
|
35
|
-
if (Object.keys(
|
|
36
|
-
return
|
|
32
|
+
if (Object.keys(d).indexOf(t) !== -1)
|
|
33
|
+
return g(e, d[t], l == null ? void 0 : l[t], E);
|
|
37
34
|
});
|
|
38
|
-
return /* @__PURE__ */
|
|
35
|
+
return /* @__PURE__ */ i(
|
|
39
36
|
"tr",
|
|
40
37
|
{
|
|
41
|
-
className:
|
|
42
|
-
onClick:
|
|
43
|
-
...!!
|
|
44
|
-
...!!r &&
|
|
45
|
-
children:
|
|
38
|
+
className: h,
|
|
39
|
+
onClick: B,
|
|
40
|
+
...!!c && H(c),
|
|
41
|
+
...!!r && D(r),
|
|
42
|
+
children: x
|
|
46
43
|
}
|
|
47
44
|
);
|
|
48
45
|
};
|