@sberbusiness/triplex-next 1.43.0 → 1.45.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-Dw-s37ux.js → AlertProcessSpoiler-54gQMEAr.js} +16 -16
- package/chunks/{AlertProcessSpoiler-Dw-s37ux.js.map → AlertProcessSpoiler-54gQMEAr.js.map} +1 -1
- package/chunks/{CalendarViewItem-DdKK7cTU.js → CalendarViewItem-cQjxsIMh.js} +20 -20
- package/chunks/{CalendarViewItem-DdKK7cTU.js.map → CalendarViewItem-cQjxsIMh.js.map} +1 -1
- package/chunks/Card.module-CNOChUdZ.js +32 -0
- package/chunks/Card.module-CNOChUdZ.js.map +1 -0
- package/chunks/Carousel.module-BpVAzSjh.js +34 -0
- package/chunks/Carousel.module-BpVAzSjh.js.map +1 -0
- package/chunks/CheckboxTreeExtended.module-BqOLLHuh.js +24 -0
- package/chunks/CheckboxTreeExtended.module-BqOLLHuh.js.map +1 -0
- package/chunks/{Chip-DMOFGadD.js → Chip-CWaqKk62.js} +16 -16
- package/chunks/{Chip-DMOFGadD.js.map → Chip-CWaqKk62.js.map} +1 -1
- package/chunks/Confirm.module-Dw5sV0a8.js +24 -0
- package/chunks/Confirm.module-Dw5sV0a8.js.map +1 -0
- package/chunks/{DropdownListItem-hLJFQ_q0.js → DropdownListItem-kMroiHoh.js} +10 -10
- package/chunks/{DropdownListItem-hLJFQ_q0.js.map → DropdownListItem-kMroiHoh.js.map} +1 -1
- package/chunks/DropdownMobile.module-ljfYoQZP.js +40 -0
- package/chunks/DropdownMobile.module-ljfYoQZP.js.map +1 -0
- package/chunks/Footer.module-DgSEqR3M.js +12 -0
- package/chunks/Footer.module-DgSEqR3M.js.map +1 -0
- package/chunks/{HeaderLayoutSidebar.module-Du7oNhcA.js → HeaderLayoutSidebar.module-k_1rIXs0.js} +4 -4
- package/chunks/HeaderLayoutSidebar.module-k_1rIXs0.js.map +1 -0
- package/chunks/HeaderTabs.module-Dm__bdlz.js +12 -0
- package/chunks/HeaderTabs.module-Dm__bdlz.js.map +1 -0
- package/chunks/{HeaderTitle.module-BpjoBzW6.js → HeaderTitle.module-BbIcVzwx.js} +4 -4
- package/chunks/HeaderTitle.module-BbIcVzwx.js.map +1 -0
- package/chunks/ImageGalleryExtendedMain.module--816bwiO.js +28 -0
- package/chunks/ImageGalleryExtendedMain.module--816bwiO.js.map +1 -0
- package/chunks/{ImageGalleryExtendedThumb-2kNnHEuL.js → ImageGalleryExtendedThumb-DlJrbeiX.js} +5 -5
- package/chunks/{ImageGalleryExtendedThumb-2kNnHEuL.js.map → ImageGalleryExtendedThumb-DlJrbeiX.js.map} +1 -1
- package/chunks/IslandAccordion.module-4rzQ8p9D.js +44 -0
- package/chunks/IslandAccordion.module-4rzQ8p9D.js.map +1 -0
- package/chunks/IslandWidgetFooter.module-Dxb05X44.js +18 -0
- package/chunks/IslandWidgetFooter.module-Dxb05X44.js.map +1 -0
- package/chunks/IslandWidgetHeader.module-K8SbMdcg.js +28 -0
- package/chunks/IslandWidgetHeader.module-K8SbMdcg.js.map +1 -0
- package/chunks/{LightBoxContent-D9EyEoR0.js → LightBoxContent-DDevHCAQ.js} +21 -17
- package/chunks/{LightBoxContent-D9EyEoR0.js.map → LightBoxContent-DDevHCAQ.js.map} +1 -1
- package/chunks/LightBoxControls.module-DsLaGx4X.js +26 -0
- package/chunks/LightBoxControls.module-DsLaGx4X.js.map +1 -0
- package/chunks/{LightBoxSideOverlayClose.module-B0uNmLho.js → LightBoxSideOverlayClose.module-B_RmH_Zj.js} +4 -4
- package/chunks/LightBoxSideOverlayClose.module-B_RmH_Zj.js.map +1 -0
- package/chunks/{ListItemControlsButton-CgcAyPtd.js → ListItemControlsButton-BGHyQIXE.js} +9 -9
- package/chunks/{ListItemControlsButton-CgcAyPtd.js.map → ListItemControlsButton-BGHyQIXE.js.map} +1 -1
- package/chunks/ListItemTail.module-CwDNx9W5.js +18 -0
- package/chunks/ListItemTail.module-CwDNx9W5.js.map +1 -0
- package/chunks/ListMasterFooter.module-D7b9ZUqR.js +14 -0
- package/chunks/ListMasterFooter.module-D7b9ZUqR.js.map +1 -0
- package/chunks/ModalWindow.module-urBVReGQ.js +28 -0
- package/chunks/ModalWindow.module-urBVReGQ.js.map +1 -0
- package/chunks/Notification.module-BgjNhU2P.js +34 -0
- package/chunks/Notification.module-BgjNhU2P.js.map +1 -0
- package/chunks/Overlay.module-DlzZBVdp.js +30 -0
- package/chunks/Overlay.module-DlzZBVdp.js.map +1 -0
- package/chunks/Page.module-CEeCuq1n.js +15 -0
- package/chunks/Page.module-CEeCuq1n.js.map +1 -0
- package/chunks/SMSField.module-CGuPONeF.js +30 -0
- package/chunks/SMSField.module-CGuPONeF.js.map +1 -0
- package/chunks/SliderExtendedMarks.module-SGdABaf_.js +24 -0
- package/chunks/SliderExtendedMarks.module-SGdABaf_.js.map +1 -0
- package/chunks/{SliderExtendedRail-BrLpOwFy.js → SliderExtendedRail-VEYm3CWM.js} +5 -5
- package/chunks/{SliderExtendedRail-BrLpOwFy.js.map → SliderExtendedRail-VEYm3CWM.js.map} +1 -1
- package/chunks/StatusTracker.module-oLJmSAgs.js +44 -0
- package/chunks/StatusTracker.module-oLJmSAgs.js.map +1 -0
- package/chunks/{StepperStepArrowBorder-Cp0G1HTs.js → StepperStepArrowBorder-B8OziF77.js} +16 -16
- package/chunks/{StepperStepArrowBorder-Cp0G1HTs.js.map → StepperStepArrowBorder-B8OziF77.js.map} +1 -1
- package/chunks/{SuggestFieldMobileDropdownHint-BLnAqUOu.js → SuggestFieldMobileDropdownHint-CEHlClB5.js} +3 -3
- package/chunks/{SuggestFieldMobileDropdownHint-BLnAqUOu.js.map → SuggestFieldMobileDropdownHint-CEHlClB5.js.map} +1 -1
- package/chunks/TableFooter.module-DOL7cRaV.js +22 -0
- package/chunks/TableFooter.module-DOL7cRaV.js.map +1 -0
- package/chunks/TabsExtended.module-DveIh7_v.js +26 -0
- package/chunks/TabsExtended.module-DveIh7_v.js.map +1 -0
- package/chunks/TabsLine.module-CFuF3nRE.js +36 -0
- package/chunks/TabsLine.module-CFuF3nRE.js.map +1 -0
- package/chunks/TooltipDesktop.module-Bay9M-y1.js +32 -0
- package/chunks/TooltipDesktop.module-Bay9M-y1.js.map +1 -0
- package/chunks/TreeView.module-B1mjvRWg.js +12 -0
- package/chunks/TreeView.module-B1mjvRWg.js.map +1 -0
- package/chunks/{UploadZoneInput-BU3nt7wc.js → UploadZoneInput-DW4bcKms.js} +5 -5
- package/chunks/{UploadZoneInput-BU3nt7wc.js.map → UploadZoneInput-DW4bcKms.js.map} +1 -1
- package/chunks/{constants-BxSYvMoV.js → constants-C-g_SxPw.js} +27 -27
- package/chunks/{constants-BxSYvMoV.js.map → constants-C-g_SxPw.js.map} +1 -1
- package/chunks/{utils-B25Ic6iq.js → utils-CRgskx0c.js} +28 -28
- package/chunks/{utils-B25Ic6iq.js.map → utils-CRgskx0c.js.map} +1 -1
- package/chunks/{utils-Cc9JBJpf.js → utils-DogucNlz.js} +11 -11
- package/chunks/{utils-Cc9JBJpf.js.map → utils-DogucNlz.js.map} +1 -1
- package/chunks/{utils-CLqTYw8x.js → utils-oLO5Fak1.js} +9 -9
- package/chunks/utils-oLO5Fak1.js.map +1 -0
- package/chunks/{utils-DjmAjzcV.js → utils-vSmFPvz4.js} +12 -10
- package/chunks/{utils-DjmAjzcV.js.map → utils-vSmFPvz4.js.map} +1 -1
- package/components/Alert/AlertContext/AlertContext.js +7 -7
- 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 +89 -48
- package/components/AmountField/AmountField.js.map +1 -1
- package/components/Avatar/Avatar.js +13 -13
- package/components/Badge/Badge.js +4 -4
- package/components/Badge/BadgeDot.js +4 -4
- package/components/Badge/components/BadgeContent.js +6 -6
- package/components/Badge/components/BadgePostfix.js +1 -1
- package/components/Badge/components/BadgePrefix.js +1 -1
- package/components/Body/Body.js +3 -3
- package/components/Button/Button.js +20 -20
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +8 -8
- package/components/Button/ButtonDropdownExtended.js +72 -56
- package/components/Button/ButtonDropdownExtended.js.map +1 -1
- package/components/Button/ButtonIcon.js +3 -3
- package/components/Calendar/Calendar.js +4 -4
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +1 -1
- 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 +5 -5
- 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/Carousel/Carousel.js +1 -1
- package/components/Carousel/Carousel.js.map +1 -1
- package/components/Carousel/CarouselButton.js +5 -5
- package/components/Carousel/CarouselButton.js.map +1 -1
- package/components/Carousel/CarouselIndicators.js +24 -7
- package/components/Carousel/CarouselIndicators.js.map +1 -1
- package/components/Carousel/CarouselItem.js +1 -1
- package/components/Carousel/CarouselTrack.js +1 -1
- package/components/Carousel/CarouselViewport.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +1 -1
- package/components/Checkbox/Checkbox.js +10 -10
- package/components/Checkbox/CheckboxXGroup.js +8 -8
- package/components/Checkbox/CheckboxYGroup.js +1 -1
- 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 +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +2 -2
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +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 +1 -1
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +7 -7
- package/components/Col/Col.js +132 -132
- package/components/CollapsibleTree/CollapsibleTree.js +1 -1
- package/components/CollapsibleTree/components/CollapsibleTreeLeafContent.js +1 -1
- package/components/CollapsibleTree/components/CollapsibleTreeLeafNode.js +1 -1
- package/components/CollapsibleTree/components/CollapsibleTreeNodeHeader.js +4 -4
- package/components/CollapsibleTreeExtended/components/CollapsibleTreeExtendedNode.js +1 -1
- 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/DateFieldTarget.js +5 -6
- package/components/DateField/DateFieldTarget.js.map +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +28 -23
- package/components/DatePickerExtended/DatePickerExtended.js.map +1 -1
- package/components/DatePickerExtended/DatePickerExtendedContext.js.map +1 -1
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +12 -5
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js.map +1 -1
- package/components/DatePickerExtended/index.js +3 -1
- package/components/DatePickerExtended/index.js.map +1 -1
- package/components/DateRange/DateRange.js +3 -3
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/DesignTokens/components/Button.js +1 -1
- package/components/DesignTokens/components/Button.js.map +1 -1
- package/components/DesignTokens/components/ImageGallery.js +0 -6
- package/components/DesignTokens/components/ImageGallery.js.map +1 -1
- package/components/DesignTokens/components/Skeleton.js +18 -12
- package/components/DesignTokens/components/Skeleton.js.map +1 -1
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +3 -3
- package/components/Dropdown/desktop/DropdownDesktop.js +6 -6
- 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 +1 -1
- 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 +3 -3
- package/components/EmptyView/EmptyView.js +6 -10
- package/components/EmptyView/EmptyView.js.map +1 -1
- package/components/ExpandAnimation/ExpandAnimation.js +15 -10
- package/components/ExpandAnimation/ExpandAnimation.js.map +1 -1
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/Footer.js.map +1 -1
- package/components/Footer/components/FooterDescription.js +1 -1
- package/components/Footer/components/FooterDescription.js.map +1 -1
- package/components/Footer/components/FooterDescriptionContent.js +1 -1
- package/components/Footer/components/FooterDescriptionContent.js.map +1 -1
- package/components/Footer/components/FooterDescriptionControls.js +1 -1
- package/components/FormField/FormField.js +11 -11
- package/components/FormField/components/FormFieldClear.js +1 -1
- package/components/FormField/components/FormFieldCounter.js +1 -1
- package/components/FormField/components/FormFieldDescription.js +2 -2
- package/components/FormField/components/FormFieldInput.js +6 -6
- package/components/FormField/components/FormFieldInput.js.map +1 -1
- package/components/FormField/components/FormFieldLabel.js +7 -7
- package/components/FormField/components/FormFieldMaskedInput.js +29 -24
- package/components/FormField/components/FormFieldMaskedInput.js.map +1 -1
- package/components/FormField/components/FormFieldPostfix.js +1 -1
- package/components/FormField/components/FormFieldPrefix.js +1 -1
- package/components/FormField/components/FormFieldTarget.js +8 -8
- package/components/FormField/components/FormFieldTextarea.js +4 -4
- package/components/FormGroup/FormGroup.js +1 -1
- package/components/FormGroup/FormGroup.js.map +1 -1
- package/components/Gap/Gap.js +8 -8
- package/components/Header/Header.js +1 -1
- package/components/Header/Header.js.map +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js.map +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js.map +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js.map +1 -1
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +3 -3
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js.map +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabs.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabs.js.map +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -4
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js.map +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js.map +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitle.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitle.js.map +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +10 -12
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js.map +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js.map +1 -1
- package/components/HelpBox/HelpBox.js +1 -1
- package/components/IconWrapper/IconWrapper.js +2 -2
- package/components/ImageGallery/ImageGallery.js +1 -1
- package/components/ImageGalleryExtended/ImageGalleryExtended.js +2 -2
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedArrow.js +1 -1
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedDots.js +3 -3
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedMain.js +1 -1
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedSlide.js +1 -1
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedSwipeTrack.js +1 -1
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedThumb.js +1 -1
- package/components/ImageGalleryExtended/components/ImageGalleryExtendedThumbnails.js +1 -1
- package/components/ImageGalleryExtended/components/index.js +1 -1
- package/components/ImageGalleryExtended/index.js +1 -1
- package/components/Island/Island.js +9 -2
- package/components/Island/Island.js.map +1 -1
- package/components/Island/components/IslandBody.js +1 -1
- package/components/Island/components/IslandFooter.js +1 -1
- 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 +2 -2
- package/components/IslandWidget/IslandWidget.js +8 -18
- package/components/IslandWidget/IslandWidget.js.map +1 -1
- package/components/IslandWidget/IslandWidgetContext.js +3 -1
- package/components/IslandWidget/IslandWidgetContext.js.map +1 -1
- package/components/IslandWidget/components/IslandWidgetBody.js +14 -3
- package/components/IslandWidget/components/IslandWidgetBody.js.map +1 -1
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooter.js +14 -2
- package/components/IslandWidget/components/IslandWidgetFooter.js.map +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +7 -4
- package/components/IslandWidget/components/IslandWidgetHeader.js.map +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +25 -13
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js.map +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderTitle.js +1 -1
- package/components/IslandWidget/components/IslandWidgetWrapper.js +1 -1
- package/components/LightBox/LightBox.js +6 -5
- package/components/LightBox/LightBox.js.map +1 -1
- package/components/LightBox/LightBoxContent.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxArrow.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 +12 -12
- 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 +3 -3
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +3 -3
- package/components/Link/Link.js +38 -40
- package/components/Link/Link.js.map +1 -1
- package/components/List/List.js +3 -3
- package/components/List/components/ListActionItem.js +1 -1
- package/components/List/components/ListEmptyState.js +1 -1
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +4 -4
- package/components/List/components/ListItemControls.js +1 -1
- package/components/List/components/ListItemControlsButton.js +1 -1
- package/components/List/components/ListItemControlsButtonDropdown.js +1 -1
- package/components/List/components/ListItemLoading.js +1 -1
- package/components/List/components/ListItemSelectable.js +6 -6
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +2 -2
- package/components/List/components/ListSortableItemControls.js +1 -1
- package/components/List/components/ListSortableItemTarget.js +4 -4
- package/components/List/components/ListTableItem.js +3 -3
- 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 +1 -1
- 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 +2 -2
- package/components/ListMaster/components/SelectionControls.js +2 -2
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +8 -8
- package/components/Loader/LoaderSmall/LoaderSmall.js +10 -10
- package/components/LoaderScreen/LoaderScreen.js +5 -5
- package/components/Marker/Marker.js +3 -2
- package/components/Marker/Marker.js.map +1 -1
- package/components/Marker/enums.js.map +1 -1
- package/components/Marker/utils.js +2 -2
- package/components/MarkerStatus/MarkerStatus.js +20 -14
- package/components/MarkerStatus/MarkerStatus.js.map +1 -1
- package/components/{TextField → MaskedField}/MaskedField.js +1 -1
- package/components/MaskedField/MaskedField.js.map +1 -0
- package/components/MaskedField/index.js +5 -0
- package/components/MaskedField/index.js.map +1 -0
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +1 -1
- package/components/ModalWindow/components/ModalWindowClose.js +1 -1
- package/components/ModalWindow/components/ModalWindowContent.js +1 -1
- package/components/ModalWindow/components/ModalWindowHeader.js +1 -1
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MonthYearField/MonthYearFieldTarget.js +4 -5
- package/components/MonthYearField/MonthYearFieldTarget.js.map +1 -1
- package/components/MonthYearRange/MonthYearRange.js +3 -3
- package/components/MultiselectField/MultiselectField.js +10 -6
- package/components/MultiselectField/MultiselectField.js.map +1 -1
- package/components/MultiselectField/MultiselectFieldContext.js.map +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +5 -5
- package/components/MultiselectField/components/MultiselectFieldDropdown.js.map +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +5 -5
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js.map +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js.map +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js.map +1 -1
- 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/OrderedList/OrderedList.js +2 -2
- package/components/OrderedList/OrderedListItem.js +2 -2
- package/components/Overlay/Overlay.js +1 -1
- package/components/Overlay/OverlayBase.js +4 -0
- package/components/Overlay/OverlayBase.js.map +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 +36 -9
- package/components/Page/components/BodyPage.js.map +1 -1
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Page/components/enums.js +1 -0
- package/components/Page/components/enums.js.map +1 -1
- package/components/Pagination/Pagination.js +1 -1
- package/components/Pagination/Pagination.js.map +1 -1
- package/components/Pagination/components/PaginationExtended.js +2 -2
- package/components/Pagination/components/PaginationNavigation.js +4 -3
- package/components/Pagination/components/PaginationNavigation.js.map +1 -1
- package/components/Pagination/components/PaginationNavigationButton.js +2 -2
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +2 -2
- package/components/Pagination/components/PaginationPageEllipsis.js +1 -1
- package/components/Pagination/components/PaginationSelect.js +17 -8
- package/components/Pagination/components/PaginationSelect.js.map +1 -1
- package/components/Radio/Radio.js +9 -9
- package/components/Radio/RadioXGroup.js +8 -8
- package/components/Radio/RadioYGroup.js +1 -1
- package/components/Row/Row.js +4 -4
- package/components/SMSField/SMSField.js +25 -5
- package/components/SMSField/SMSField.js.map +1 -1
- package/components/SMSField/SMSFieldContext.js +13 -2
- package/components/SMSField/SMSFieldContext.js.map +1 -1
- package/components/SMSField/components/RefreshIcon.js +1 -1
- package/components/SMSField/components/SMSFieldInput.js +38 -24
- package/components/SMSField/components/SMSFieldInput.js.map +1 -1
- package/components/SMSField/components/SMSFieldRefresh.js +20 -7
- package/components/SMSField/components/SMSFieldRefresh.js.map +1 -1
- package/components/SMSField/components/SMSFieldSubmit.js +16 -10
- package/components/SMSField/components/SMSFieldSubmit.js.map +1 -1
- package/components/SegmentedControl/SegmentedControl.js +9 -9
- package/components/SegmentedControl/SegmentedControlSegment.js +3 -3
- package/components/SelectExtendedField/SelectExtendedField.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +7 -7
- package/components/SelectField/SelectField.js +12 -19
- package/components/SelectField/SelectField.js.map +1 -1
- package/components/Skeleton/Skeleton.js +19 -11
- package/components/Skeleton/Skeleton.js.map +1 -1
- package/components/Skeleton/enums.js +3 -2
- package/components/Skeleton/enums.js.map +1 -1
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +5 -5
- 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 +6 -6
- package/components/SmallInput/SmallInput.js +5 -2
- package/components/SmallInput/SmallInput.js.map +1 -1
- package/components/Spoiler/Spoiler.js +10 -10
- 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/StatusTrackerStatusGroup.js +1 -1
- package/components/StatusTracker/components/StatusTrackerSum.js +1 -1
- package/components/StatusTracker/components/StatusTrackerTitle.js +1 -1
- package/components/Step/Step.js +10 -10
- package/components/Stepper/Stepper.js +8 -8
- package/components/Stepper/StepperExtended.js +1 -1
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperStepArrowBorder.js +1 -1
- package/components/Suggest/Suggest.js +6 -4
- package/components/Suggest/Suggest.js.map +1 -1
- package/components/Suggest/SuggestContext.js.map +1 -1
- package/components/Suggest/SuggestMobileDropdownContent.js +6 -7
- package/components/Suggest/SuggestMobileDropdownContent.js.map +1 -1
- package/components/Suggest/useSuggest.js +4 -4
- package/components/Suggest/useSuggest.js.map +1 -1
- package/components/SuggestField/SuggestField.js +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +1 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js.map +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +1 -1
- 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 +73 -116
- package/components/SwipeableArea/SwipeableArea.js.map +1 -1
- package/components/SwipeableArea/utils.js +72 -0
- package/components/SwipeableArea/utils.js.map +1 -0
- package/components/Table/ChipPanel.js +8 -3
- package/components/Table/ChipPanel.js.map +1 -1
- package/components/Table/ChipPanelLinks.js +15 -11
- package/components/Table/ChipPanelLinks.js.map +1 -1
- package/components/Table/FilterPanel.js +13 -9
- package/components/Table/FilterPanel.js.map +1 -1
- package/components/Table/MasterTable.js +30 -31
- package/components/Table/MasterTable.js.map +1 -1
- package/components/Table/NoColumns.js +10 -7
- package/components/Table/NoColumns.js.map +1 -1
- package/components/Table/PaginationPanel.js +13 -9
- package/components/Table/PaginationPanel.js.map +1 -1
- package/components/Table/TableBasic/TableBasic.js +58 -58
- package/components/Table/TableBasic/TableBasic.js.map +1 -1
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -3
- package/components/Table/TableBasic/components/TableBasicBody.js.map +1 -1
- package/components/Table/TableBasic/components/TableBasicHeader.js +48 -65
- package/components/Table/TableBasic/components/TableBasicHeader.js.map +1 -1
- package/components/Table/TableBasic/components/TableBasicRow.js +24 -27
- package/components/Table/TableBasic/components/TableBasicRow.js.map +1 -1
- package/components/Table/TableBasicSettings/TableBasicSettings.js +51 -46
- package/components/Table/TableBasicSettings/TableBasicSettings.js.map +1 -1
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +2 -2
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +1 -1
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +1 -1
- package/components/Table/TableFooter/TableFooter.js +12 -7
- package/components/Table/TableFooter/TableFooter.js.map +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/utils.js +1 -1
- package/components/Tabs/Tabs.js +25 -9
- package/components/Tabs/Tabs.js.map +1 -1
- 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 +2 -2
- package/components/Tag/Tag.js +50 -55
- package/components/Tag/Tag.js.map +1 -1
- package/components/TagColor/TagColor.js +10 -10
- package/components/TagGroup/TagGroup.js +4 -4
- package/components/TextField/TextField.js.map +1 -1
- package/components/TextField/index.js +0 -2
- package/components/TextField/index.js.map +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +1 -1
- package/components/Tooltip/components/common/TooltipLink.js +4 -4
- 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 +4 -4
- package/components/TopOverlay/TopOverlay.js +106 -97
- package/components/TopOverlay/TopOverlay.js.map +1 -1
- package/components/TopOverlay/utils.js +8 -0
- package/components/TopOverlay/utils.js.map +1 -0
- package/components/TreeView/TreeView.js +41 -16
- package/components/TreeView/TreeView.js.map +1 -1
- package/components/TreeView/TreeViewAbstractNodeUtils.js +30 -34
- package/components/TreeView/TreeViewAbstractNodeUtils.js.map +1 -1
- package/components/TreeView/TreeViewContext.js +0 -2
- package/components/TreeView/TreeViewContext.js.map +1 -1
- package/components/TreeView/components/TreeViewGroup.js +10 -2
- package/components/TreeView/components/TreeViewGroup.js.map +1 -1
- package/components/TreeView/components/TreeViewNode.js +8 -10
- package/components/TreeView/components/TreeViewNode.js.map +1 -1
- package/components/Typography/Caption.js +7 -7
- package/components/Typography/CodeText.js +2 -2
- package/components/Typography/Text.js +9 -9
- package/components/Typography/Title.js +9 -9
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedListExtended/UnorderedListExtended.js +2 -2
- package/components/UnorderedListExtended/UnorderedListExtendedItem.js +2 -2
- package/components/UnorderedListExtended/UnorderedListExtendedItemMarker.js +3 -3
- package/components/UploadZone/UploadZone.js +2 -2
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/UploadZone/index.js +1 -1
- package/components/index.js +9 -25
- package/components/index.js.map +1 -1
- package/index.d.ts +388 -162
- package/index.js +9 -7
- package/index.js.map +1 -1
- package/package.json +5 -1
- package/styles/triplex-next.css +6327 -6144
- package/chunks/Card.module-CJKLM6En.js +0 -32
- package/chunks/Card.module-CJKLM6En.js.map +0 -1
- package/chunks/Carousel.module-g5TYfNRR.js +0 -30
- package/chunks/Carousel.module-g5TYfNRR.js.map +0 -1
- package/chunks/CheckboxTreeExtended.module-3Qs071eq.js +0 -24
- package/chunks/CheckboxTreeExtended.module-3Qs071eq.js.map +0 -1
- package/chunks/Confirm.module-fkOpZSTz.js +0 -24
- package/chunks/Confirm.module-fkOpZSTz.js.map +0 -1
- package/chunks/DropdownMobile.module-Ddqns0Cv.js +0 -40
- package/chunks/DropdownMobile.module-Ddqns0Cv.js.map +0 -1
- package/chunks/Footer.module-Drrxy-6W.js +0 -12
- package/chunks/Footer.module-Drrxy-6W.js.map +0 -1
- package/chunks/HeaderLayoutSidebar.module-Du7oNhcA.js.map +0 -1
- package/chunks/HeaderTabs.module-DuLER5cV.js +0 -12
- package/chunks/HeaderTabs.module-DuLER5cV.js.map +0 -1
- package/chunks/HeaderTitle.module-BpjoBzW6.js.map +0 -1
- package/chunks/ImageGalleryExtendedMain.module-DdtxKZVk.js +0 -28
- package/chunks/ImageGalleryExtendedMain.module-DdtxKZVk.js.map +0 -1
- package/chunks/IslandAccordion.module-BSKYPAWV.js +0 -44
- package/chunks/IslandAccordion.module-BSKYPAWV.js.map +0 -1
- package/chunks/IslandWidgetFooter.module-Iynlil69.js +0 -12
- package/chunks/IslandWidgetFooter.module-Iynlil69.js.map +0 -1
- package/chunks/IslandWidgetHeader.module-DhLpsPi3.js +0 -20
- package/chunks/IslandWidgetHeader.module-DhLpsPi3.js.map +0 -1
- package/chunks/LightBoxControls.module-DrWaO0Tw.js +0 -26
- package/chunks/LightBoxControls.module-DrWaO0Tw.js.map +0 -1
- package/chunks/LightBoxSideOverlayClose.module-B0uNmLho.js.map +0 -1
- package/chunks/ListItemTail.module-BJTp-HUl.js +0 -18
- package/chunks/ListItemTail.module-BJTp-HUl.js.map +0 -1
- package/chunks/ListMasterFooter.module-CPTuou5-.js +0 -14
- package/chunks/ListMasterFooter.module-CPTuou5-.js.map +0 -1
- package/chunks/ModalWindow.module-ClLy376h.js +0 -28
- package/chunks/ModalWindow.module-ClLy376h.js.map +0 -1
- package/chunks/Notification.module-DAhgj_4u.js +0 -34
- package/chunks/Notification.module-DAhgj_4u.js.map +0 -1
- package/chunks/Overlay.module-DstpCyQx.js +0 -30
- package/chunks/Overlay.module-DstpCyQx.js.map +0 -1
- package/chunks/Page.module-BlMfM_F-.js +0 -15
- package/chunks/Page.module-BlMfM_F-.js.map +0 -1
- package/chunks/SMSField.module-e3cgZTSU.js +0 -26
- package/chunks/SMSField.module-e3cgZTSU.js.map +0 -1
- package/chunks/SliderExtendedMarks.module-DpSsY-cL.js +0 -24
- package/chunks/SliderExtendedMarks.module-DpSsY-cL.js.map +0 -1
- package/chunks/StatusTracker.module-D4AWWtIs.js +0 -44
- package/chunks/StatusTracker.module-D4AWWtIs.js.map +0 -1
- package/chunks/TableFooter.module-BNzWbmoH.js +0 -22
- package/chunks/TableFooter.module-BNzWbmoH.js.map +0 -1
- package/chunks/TabsExtended.module-X9j6lOjE.js +0 -26
- package/chunks/TabsExtended.module-X9j6lOjE.js.map +0 -1
- package/chunks/TabsLine.module-ChL37SLq.js +0 -36
- package/chunks/TabsLine.module-ChL37SLq.js.map +0 -1
- package/chunks/TooltipDesktop.module-CnBq_TZS.js +0 -32
- package/chunks/TooltipDesktop.module-CnBq_TZS.js.map +0 -1
- package/chunks/TreeView.module-C5KrbQR8.js +0 -12
- package/chunks/TreeView.module-C5KrbQR8.js.map +0 -1
- package/chunks/utils-CLqTYw8x.js.map +0 -1
- package/components/TextField/MaskedField.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useState } from "react";
|
|
2
|
+
import React__default, { useState, useMemo } from "react";
|
|
3
3
|
import { MasterTableContext } from "./MasterTableContext.js";
|
|
4
4
|
import { c as clsx } from "../../chunks/vendor-D4wvHis9.js";
|
|
5
5
|
import { NoColumns } from "./NoColumns.js";
|
|
@@ -15,40 +15,39 @@ import "./TableFooter/components/TableFooterSummaryAmount.js";
|
|
|
15
15
|
import "./TableFooter/components/TableFooterSummarySelectAllButton.js";
|
|
16
16
|
import "./TableFooter/components/TableFooterSummarySelectedCount.js";
|
|
17
17
|
import "./TableBasicSettings/components/ColumnSettingsSortableListItem.js";
|
|
18
|
-
const masterTable = "
|
|
18
|
+
const masterTable = "masterTable__b9573e43";
|
|
19
19
|
const styles = {
|
|
20
20
|
masterTable
|
|
21
21
|
};
|
|
22
|
-
const MasterTable = (
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
22
|
+
const MasterTable = Object.assign(
|
|
23
|
+
React__default.forwardRef(function MasterTable2({ children, className, loading = false, ...htmlDivAttributes }, ref) {
|
|
24
|
+
const [columns, setColumns] = useState([]);
|
|
25
|
+
const contextValue = useMemo(
|
|
26
|
+
() => ({ columns, loading, setColumns }),
|
|
27
|
+
[columns, loading]
|
|
28
|
+
);
|
|
29
|
+
return /* @__PURE__ */ jsx(MasterTableContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx(
|
|
30
|
+
"div",
|
|
31
|
+
{
|
|
32
|
+
className: clsx(styles.masterTable, className),
|
|
33
|
+
...htmlDivAttributes,
|
|
34
|
+
"data-tx": "1.45.0",
|
|
35
|
+
ref,
|
|
36
|
+
children
|
|
37
|
+
}
|
|
38
|
+
) });
|
|
39
|
+
}),
|
|
40
|
+
{
|
|
41
|
+
NoColumns,
|
|
42
|
+
FilterPanel,
|
|
43
|
+
ChipPanel,
|
|
44
|
+
TableBasic,
|
|
45
|
+
TableBasicSettings,
|
|
46
|
+
TableFooter,
|
|
47
|
+
PaginationPanel
|
|
48
|
+
}
|
|
49
|
+
);
|
|
44
50
|
MasterTable.displayName = "MasterTable";
|
|
45
|
-
MasterTable.NoColumns = NoColumns;
|
|
46
|
-
MasterTable.FilterPanel = FilterPanel;
|
|
47
|
-
MasterTable.ChipPanel = ChipPanel;
|
|
48
|
-
MasterTable.TableBasic = TableBasic;
|
|
49
|
-
MasterTable.TableBasicSettings = TableBasicSettings;
|
|
50
|
-
MasterTable.TableFooter = TableFooter;
|
|
51
|
-
MasterTable.PaginationPanel = PaginationPanel;
|
|
52
51
|
export {
|
|
53
52
|
MasterTable
|
|
54
53
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MasterTable.js","sources":["../../../src/components/Table/MasterTable.tsx"],"sourcesContent":["import React, { useState } from \"react\";\nimport {
|
|
1
|
+
{"version":3,"file":"MasterTable.js","sources":["../../../src/components/Table/MasterTable.tsx"],"sourcesContent":["import React, { useMemo, useState } from \"react\";\nimport {\n IMasterTableContextContext,\n MasterTableContext,\n} from \"@sberbusiness/triplex-next/components/Table/MasterTableContext\";\nimport styles from \"./styles/MasterTable.module.less\";\nimport { clsx } from \"clsx\";\nimport { NoColumns } from \"@sberbusiness/triplex-next/components/Table/NoColumns\";\nimport { IMasterTableProps, ITableBasicColumn } from \"@sberbusiness/triplex-next/components/Table/TableBasic/types\";\nimport { FilterPanel } from \"@sberbusiness/triplex-next/components/Table/FilterPanel\";\nimport { ChipPanel } from \"@sberbusiness/triplex-next/components/Table/ChipPanel\";\nimport { TableBasic } from \"@sberbusiness/triplex-next/components/Table/TableBasic/TableBasic\";\nimport { TableBasicSettings } from \"@sberbusiness/triplex-next/components/Table/TableBasicSettings/TableBasicSettings\";\nimport { TableFooter } from \"@sberbusiness/triplex-next/components/Table/TableFooter/TableFooter\";\nimport { PaginationPanel } from \"@sberbusiness/triplex-next/components/Table/PaginationPanel\";\n\n/**\n * Статические субкомпоненты MasterTable. Тип задан через typeof-запросы, а не выведен:\n * TableBasicSettings и TableFooter типизированы неэкспортируемыми интерфейсами, и выведенный\n * тип Object.assign невозможно сгенерировать в d.ts (TS4023) — declaration emit падает.\n *\n * Явная аннотация снимает проверку лишних свойств у Object.assign, поэтому при добавлении\n * или удалении статики этот интерфейс нужно править синхронно: иначе новая статика окажется\n * в рантайме, но не попадёт в публичный тип, и TypeScript промолчит.\n */\ninterface IMasterTableStatics {\n NoColumns: typeof NoColumns;\n FilterPanel: typeof FilterPanel;\n ChipPanel: typeof ChipPanel;\n TableBasic: typeof TableBasic;\n TableBasicSettings: typeof TableBasicSettings;\n TableFooter: typeof TableFooter;\n PaginationPanel: typeof PaginationPanel;\n}\n\n/**\n * Контейнер таблицы. Объединяет панели фильтров, саму таблицу, подвал и пагинацию,\n * раздавая им общее состояние (колонки и признак загрузки) через MasterTableContext.\n */\nexport const MasterTable: React.ForwardRefExoticComponent<IMasterTableProps & React.RefAttributes<HTMLDivElement>> &\n IMasterTableStatics = Object.assign(\n React.forwardRef<HTMLDivElement, IMasterTableProps>(function MasterTable(\n { children, className, loading = false, ...htmlDivAttributes },\n ref,\n ) {\n const [columns, setColumns] = useState<ITableBasicColumn[]>([]);\n\n const contextValue = useMemo<IMasterTableContextContext>(\n () => ({ columns, loading, setColumns }),\n [columns, loading],\n );\n\n return (\n <MasterTableContext.Provider value={contextValue}>\n <div\n className={clsx(styles.masterTable, className)}\n {...htmlDivAttributes}\n data-tx={process.env.npm_package_version}\n ref={ref}\n >\n {children}\n </div>\n </MasterTableContext.Provider>\n );\n }),\n {\n NoColumns,\n FilterPanel,\n ChipPanel,\n TableBasic,\n TableBasicSettings,\n TableFooter,\n PaginationPanel,\n },\n);\n\nMasterTable.displayName = \"MasterTable\";\n"],"names":["React","MasterTable"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAuCO,MAAM,cACa,OAAO;AAAA,EAC7BA,eAAM,WAA8C,SAASC,aACzD,EAAE,UAAU,WAAW,UAAU,OAAO,GAAG,kBAAA,GAC3C,KACF;AACE,UAAM,CAAC,SAAS,UAAU,IAAI,SAA8B,CAAA,CAAE;AAE9D,UAAM,eAAe;AAAA,MACjB,OAAO,EAAE,SAAS,SAAS;MAC3B,CAAC,SAAS,OAAO;AAAA,IAAA;AAGrB,+BACK,mBAAmB,UAAnB,EAA4B,OAAO,cAChC,UAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACG,WAAW,KAAK,OAAO,aAAa,SAAS;AAAA,QAC5C,GAAG;AAAA,QACJ,WAAS;AAAA,QACT;AAAA,QAEC;AAAA,MAAA;AAAA,IAAA,GAET;AAAA,EAER,CAAC;AAAA,EACD;AAAA,IACI;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EAAA;AAER;AAEA,YAAY,cAAc;"}
|
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import React__default from "react";
|
|
2
3
|
import { c as clsx } from "../../chunks/vendor-D4wvHis9.js";
|
|
3
4
|
import { Gap } from "../Gap/Gap.js";
|
|
4
5
|
import { ServicesetupSysIcon96 } from "@sberbusiness/icons-next";
|
|
5
|
-
const noColumns = "
|
|
6
|
-
const content = "
|
|
6
|
+
const noColumns = "noColumns__43e460c7";
|
|
7
|
+
const content = "content__439a3764";
|
|
7
8
|
const styles = {
|
|
8
9
|
noColumns,
|
|
9
10
|
content
|
|
10
11
|
};
|
|
11
|
-
const NoColumns = (
|
|
12
|
-
/* @__PURE__ */
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
const NoColumns = React__default.forwardRef(
|
|
13
|
+
({ children, className, ...htmlDivAttributes }, ref) => /* @__PURE__ */ jsxs("div", { className: clsx(styles.noColumns, className), ...htmlDivAttributes, ref, children: [
|
|
14
|
+
/* @__PURE__ */ jsx(ServicesetupSysIcon96, {}),
|
|
15
|
+
/* @__PURE__ */ jsx(Gap, { size: 8 }),
|
|
16
|
+
/* @__PURE__ */ jsx("div", { className: styles.content, children })
|
|
17
|
+
] })
|
|
18
|
+
);
|
|
16
19
|
NoColumns.displayName = "NoColumns";
|
|
17
20
|
export {
|
|
18
21
|
NoColumns
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NoColumns.js","sources":["../../../src/components/Table/NoColumns.tsx"],"sourcesContent":["import React from \"react\";\nimport { clsx } from \"clsx\";\nimport { INoColumnsProps } from \"@sberbusiness/triplex-next/components/Table/TableBasic/types\";\nimport { Gap } from \"@sberbusiness/triplex-next/components/Gap\";\nimport styles from \"./styles/NoColumns.module.less\";\nimport { ServicesetupSysIcon96 } from \"@sberbusiness/icons-next\";\n\n/** Компонент отображающий информацию, когда скрыты все колонки таблицы. */\nexport const NoColumns
|
|
1
|
+
{"version":3,"file":"NoColumns.js","sources":["../../../src/components/Table/NoColumns.tsx"],"sourcesContent":["import React from \"react\";\nimport { clsx } from \"clsx\";\nimport { INoColumnsProps } from \"@sberbusiness/triplex-next/components/Table/TableBasic/types\";\nimport { Gap } from \"@sberbusiness/triplex-next/components/Gap\";\nimport styles from \"./styles/NoColumns.module.less\";\nimport { ServicesetupSysIcon96 } from \"@sberbusiness/icons-next\";\n\n/** Компонент отображающий информацию, когда скрыты все колонки таблицы. */\nexport const NoColumns = React.forwardRef<HTMLDivElement, INoColumnsProps>(\n ({ children, className, ...htmlDivAttributes }, ref) => (\n <div className={clsx(styles.noColumns, className)} {...htmlDivAttributes} ref={ref}>\n <ServicesetupSysIcon96 />\n <Gap size={8} />\n <div className={styles.content}>{children}</div>\n </div>\n ),\n);\n\nNoColumns.displayName = \"NoColumns\";\n"],"names":["React"],"mappings":";;;;;;;;;;;AAQO,MAAM,YAAYA,eAAM;AAAA,EAC3B,CAAC,EAAE,UAAU,WAAW,GAAG,kBAAA,GAAqB,QAC5C,qBAAC,OAAA,EAAI,WAAW,KAAK,OAAO,WAAW,SAAS,GAAI,GAAG,mBAAmB,KACtE,UAAA;AAAA,IAAA,oBAAC,uBAAA,EAAsB;AAAA,IACvB,oBAAC,KAAA,EAAI,MAAM,EAAA,CAAG;AAAA,IACd,oBAAC,OAAA,EAAI,WAAW,OAAO,SAAU,SAAA,CAAS;AAAA,EAAA,EAAA,CAC9C;AAER;AAEA,UAAU,cAAc;"}
|
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import React__default from "react";
|
|
2
3
|
import { c as clsx } from "../../chunks/vendor-D4wvHis9.js";
|
|
3
|
-
const paginationPanel = "
|
|
4
|
+
const paginationPanel = "paginationPanel__767256d6";
|
|
4
5
|
const styles = {
|
|
5
6
|
paginationPanel
|
|
6
7
|
};
|
|
7
|
-
const PaginationPanel = (
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
const PaginationPanel = React__default.forwardRef(
|
|
9
|
+
({ children, className, ...htmlDivAttributes }, ref) => /* @__PURE__ */ jsx(
|
|
10
|
+
"div",
|
|
11
|
+
{
|
|
12
|
+
className: clsx(styles.paginationPanel, className),
|
|
13
|
+
...htmlDivAttributes,
|
|
14
|
+
"data-tx": "1.45.0",
|
|
15
|
+
ref,
|
|
16
|
+
children
|
|
17
|
+
}
|
|
18
|
+
)
|
|
15
19
|
);
|
|
16
20
|
PaginationPanel.displayName = "PaginationPanel";
|
|
17
21
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaginationPanel.js","sources":["../../../src/components/Table/PaginationPanel.tsx"],"sourcesContent":["import React from \"react\";\nimport { clsx } from \"clsx\";\nimport styles from \"./styles/PaginationPanel.module.less\";\nimport { IPaginationPanelProps } from \"@sberbusiness/triplex-next/components/Table/TableBasic/types\";\n\n/** Компонент панели под элементы пагинации таблицы. */\nexport const PaginationPanel
|
|
1
|
+
{"version":3,"file":"PaginationPanel.js","sources":["../../../src/components/Table/PaginationPanel.tsx"],"sourcesContent":["import React from \"react\";\nimport { clsx } from \"clsx\";\nimport styles from \"./styles/PaginationPanel.module.less\";\nimport { IPaginationPanelProps } from \"@sberbusiness/triplex-next/components/Table/TableBasic/types\";\n\n/** Компонент панели под элементы пагинации таблицы. */\nexport const PaginationPanel = React.forwardRef<HTMLDivElement, IPaginationPanelProps>(\n ({ children, className, ...htmlDivAttributes }, ref) => (\n <div\n className={clsx(styles.paginationPanel, className)}\n {...htmlDivAttributes}\n data-tx={process.env.npm_package_version}\n ref={ref}\n >\n {children}\n </div>\n ),\n);\n\nPaginationPanel.displayName = \"PaginationPanel\";\n"],"names":["React"],"mappings":";;;;;;;AAMO,MAAM,kBAAkBA,eAAM;AAAA,EACjC,CAAC,EAAE,UAAU,WAAW,GAAG,kBAAA,GAAqB,QAC5C;AAAA,IAAC;AAAA,IAAA;AAAA,MACG,WAAW,KAAK,OAAO,iBAAiB,SAAS;AAAA,MAChD,GAAG;AAAA,MACJ,WAAS;AAAA,MACT;AAAA,MAEC;AAAA,IAAA;AAAA,EAAA;AAGb;AAEA,gBAAgB,cAAc;"}
|
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useContext, useEffect } from "react";
|
|
2
|
+
import React__default, { useContext, useEffect } from "react";
|
|
3
3
|
import { i as isEqual } from "../../../chunks/vendor-D4wvHis9.js";
|
|
4
4
|
import { MasterTableContext } from "../MasterTableContext.js";
|
|
5
|
-
import { s as styles } from "../../../chunks/utils-
|
|
5
|
+
import { s as styles } from "../../../chunks/utils-CRgskx0c.js";
|
|
6
6
|
import { TableBasicHeader } from "./components/TableBasicHeader.js";
|
|
7
7
|
import { TableBasicBody } from "./components/TableBasicBody.js";
|
|
8
8
|
import { LoaderMiddle } from "../../Loader/LoaderMiddle/LoaderMiddle.js";
|
|
9
9
|
import { LoaderScreen } from "../../LoaderScreen/LoaderScreen.js";
|
|
10
|
-
const TableBasic = (
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
const
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
10
|
+
const TableBasic = React__default.forwardRef(
|
|
11
|
+
({
|
|
12
|
+
columns,
|
|
13
|
+
data,
|
|
14
|
+
highlightRowOnHover,
|
|
15
|
+
onOrderBy,
|
|
16
|
+
onClickRow,
|
|
17
|
+
renderNoColumns,
|
|
18
|
+
renderNoData,
|
|
19
|
+
headless,
|
|
20
|
+
...htmlTableAttributes
|
|
21
|
+
}, ref) => {
|
|
22
|
+
const { columns: contextColumns, loading, setColumns } = useContext(MasterTableContext);
|
|
23
|
+
const isEmptyData = data.length === 0;
|
|
24
|
+
useEffect(() => {
|
|
25
|
+
if (!isEqual(columns, contextColumns)) {
|
|
26
|
+
setColumns(columns);
|
|
27
|
+
}
|
|
28
|
+
}, [columns, contextColumns, setColumns]);
|
|
29
|
+
const renderTable = () => {
|
|
30
|
+
if (columns.every((column) => column.hidden) && renderNoColumns) {
|
|
31
|
+
return renderNoColumns();
|
|
32
|
+
}
|
|
33
|
+
return /* @__PURE__ */ jsxs("table", { ...htmlTableAttributes, ref, children: [
|
|
34
|
+
headless || /* @__PURE__ */ jsx(TableBasicHeader, { columns, onOrderBy }),
|
|
35
|
+
/* @__PURE__ */ jsx(
|
|
36
|
+
TableBasicBody,
|
|
37
|
+
{
|
|
38
|
+
columns,
|
|
39
|
+
data,
|
|
40
|
+
onClickRow,
|
|
41
|
+
highlightRowOnHover
|
|
42
|
+
}
|
|
43
|
+
)
|
|
44
|
+
] });
|
|
45
|
+
};
|
|
46
|
+
const renderFooter = () => {
|
|
47
|
+
if (loading && isEmptyData) {
|
|
48
|
+
return /* @__PURE__ */ jsxs("div", { className: styles.footerEmptyData, children: [
|
|
49
|
+
/* @__PURE__ */ jsx("div", { className: styles.overlayCover }),
|
|
50
|
+
/* @__PURE__ */ jsx(LoaderMiddle, {})
|
|
51
|
+
] });
|
|
52
|
+
}
|
|
53
|
+
if (isEmptyData) {
|
|
54
|
+
return /* @__PURE__ */ jsx("div", { className: styles.footerEmptyData, children: renderNoData() });
|
|
55
|
+
}
|
|
56
|
+
if (loading) {
|
|
57
|
+
return /* @__PURE__ */ jsx("div", { className: styles.spinnerWrapper, children: /* @__PURE__ */ jsx(LoaderScreen, { type: "middle", className: styles.tableLoaderScreen }) });
|
|
58
|
+
}
|
|
54
59
|
return null;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
return /* @__PURE__ */ jsxs("div", { className: styles.tableBasic, children: [
|
|
63
|
-
renderTable(),
|
|
64
|
-
renderFooter(isEmptyData)
|
|
65
|
-
] });
|
|
66
|
-
};
|
|
60
|
+
};
|
|
61
|
+
return /* @__PURE__ */ jsxs("div", { className: styles.tableBasic, children: [
|
|
62
|
+
renderTable(),
|
|
63
|
+
renderFooter()
|
|
64
|
+
] });
|
|
65
|
+
}
|
|
66
|
+
);
|
|
67
67
|
TableBasic.displayName = "TableBasic";
|
|
68
68
|
export {
|
|
69
69
|
TableBasic
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableBasic.js","sources":["../../../../src/components/Table/TableBasic/TableBasic.tsx"],"sourcesContent":["import React, { useContext, useEffect } from \"react\";\nimport isEqual from \"lodash-es/isEqual\";\nimport { MasterTableContext } from \"@sberbusiness/triplex-next/components/Table/MasterTableContext\";\nimport styles from \"./styles/TableBasic.module.less\";\nimport { TableBasicHeader } from \"@sberbusiness/triplex-next/components/Table/TableBasic/components/TableBasicHeader\";\nimport { TableBasicBody } from \"@sberbusiness/triplex-next/components/Table/TableBasic/components/TableBasicBody\";\nimport { ITableBasicProps } from \"@sberbusiness/triplex-next/components/Table/TableBasic/types\";\nimport { LoaderMiddle } from \"@sberbusiness/triplex-next/components/Loader/LoaderMiddle/LoaderMiddle\";\nimport { LoaderScreen } from \"@sberbusiness/triplex-next/components/LoaderScreen/LoaderScreen\";\n\n
|
|
1
|
+
{"version":3,"file":"TableBasic.js","sources":["../../../../src/components/Table/TableBasic/TableBasic.tsx"],"sourcesContent":["import React, { useContext, useEffect } from \"react\";\nimport isEqual from \"lodash-es/isEqual\";\nimport { MasterTableContext } from \"@sberbusiness/triplex-next/components/Table/MasterTableContext\";\nimport styles from \"./styles/TableBasic.module.less\";\nimport { TableBasicHeader } from \"@sberbusiness/triplex-next/components/Table/TableBasic/components/TableBasicHeader\";\nimport { TableBasicBody } from \"@sberbusiness/triplex-next/components/Table/TableBasic/components/TableBasicBody\";\nimport { ITableBasicProps } from \"@sberbusiness/triplex-next/components/Table/TableBasic/types\";\nimport { LoaderMiddle } from \"@sberbusiness/triplex-next/components/Loader/LoaderMiddle/LoaderMiddle\";\nimport { LoaderScreen } from \"@sberbusiness/triplex-next/components/LoaderScreen/LoaderScreen\";\n\n/**\n * Компонент обычной таблицы.\n * Состояние загрузки и общий для таблицы набор колонок берутся из контекста MasterTable.\n * Ref пробрасывается на элемент table — туда же, куда попадают остальные HTML-атрибуты.\n * Если все колонки скрыты и задан renderNoColumns, вместо таблицы рендерится заглушка,\n * и ref остаётся пустым — элемента table в этот момент нет.\n */\nexport const TableBasic = React.forwardRef<HTMLTableElement, ITableBasicProps>(\n (\n {\n columns,\n data,\n highlightRowOnHover,\n onOrderBy,\n onClickRow,\n renderNoColumns,\n renderNoData,\n headless,\n ...htmlTableAttributes\n },\n ref,\n ) => {\n const { columns: contextColumns, loading, setColumns } = useContext(MasterTableContext);\n const isEmptyData = data.length === 0;\n\n useEffect(() => {\n if (!isEqual(columns, contextColumns)) {\n setColumns(columns);\n }\n }, [columns, contextColumns, setColumns]);\n\n /** Рендер таблицы или заглушки, если пользователь скрыл все колонки. */\n const renderTable = () => {\n if (columns.every((column) => column.hidden) && renderNoColumns) {\n return renderNoColumns();\n }\n\n return (\n <table {...htmlTableAttributes} ref={ref}>\n {headless || <TableBasicHeader columns={columns} onOrderBy={onOrderBy} />}\n <TableBasicBody\n columns={columns}\n data={data}\n onClickRow={onClickRow}\n highlightRowOnHover={highlightRowOnHover}\n />\n </table>\n );\n };\n\n /** Рендер подвала: заглушка при отсутствии данных и индикаторы загрузки. */\n const renderFooter = () => {\n if (loading && isEmptyData) {\n return (\n <div className={styles.footerEmptyData}>\n <div className={styles.overlayCover} />\n <LoaderMiddle />\n </div>\n );\n }\n\n if (isEmptyData) {\n return <div className={styles.footerEmptyData}>{renderNoData()}</div>;\n }\n\n if (loading) {\n return (\n <div className={styles.spinnerWrapper}>\n <LoaderScreen type=\"middle\" className={styles.tableLoaderScreen} />\n </div>\n );\n }\n\n return null;\n };\n\n return (\n <div className={styles.tableBasic}>\n {renderTable()}\n {renderFooter()}\n </div>\n );\n },\n);\n\nTableBasic.displayName = \"TableBasic\";\n"],"names":["React"],"mappings":";;;;;;;;;AAiBO,MAAM,aAAaA,eAAM;AAAA,EAC5B,CACI;AAAA,IACI;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,GAAG;AAAA,EAAA,GAEP,QACC;AACD,UAAM,EAAE,SAAS,gBAAgB,SAAS,WAAA,IAAe,WAAW,kBAAkB;AACtF,UAAM,cAAc,KAAK,WAAW;AAEpC,cAAU,MAAM;AACZ,UAAI,CAAC,QAAQ,SAAS,cAAc,GAAG;AACnC,mBAAW,OAAO;AAAA,MACtB;AAAA,IACJ,GAAG,CAAC,SAAS,gBAAgB,UAAU,CAAC;AAGxC,UAAM,cAAc,MAAM;AACtB,UAAI,QAAQ,MAAM,CAAC,WAAW,OAAO,MAAM,KAAK,iBAAiB;AAC7D,eAAO,gBAAA;AAAA,MACX;AAEA,aACI,qBAAC,SAAA,EAAO,GAAG,qBAAqB,KAC3B,UAAA;AAAA,QAAA,YAAY,oBAAC,kBAAA,EAAiB,SAAkB,UAAA,CAAsB;AAAA,QACvE;AAAA,UAAC;AAAA,UAAA;AAAA,YACG;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,UAAA;AAAA,QAAA;AAAA,MACJ,GACJ;AAAA,IAER;AAGA,UAAM,eAAe,MAAM;AACvB,UAAI,WAAW,aAAa;AACxB,eACI,qBAAC,OAAA,EAAI,WAAW,OAAO,iBACnB,UAAA;AAAA,UAAA,oBAAC,OAAA,EAAI,WAAW,OAAO,aAAA,CAAc;AAAA,8BACpC,cAAA,CAAA,CAAa;AAAA,QAAA,GAClB;AAAA,MAER;AAEA,UAAI,aAAa;AACb,mCAAQ,OAAA,EAAI,WAAW,OAAO,iBAAkB,0BAAe;AAAA,MACnE;AAEA,UAAI,SAAS;AACT,eACI,oBAAC,OAAA,EAAI,WAAW,OAAO,gBACnB,UAAA,oBAAC,cAAA,EAAa,MAAK,UAAS,WAAW,OAAO,kBAAA,CAAmB,GACrE;AAAA,MAER;AAEA,aAAO;AAAA,IACX;AAEA,WACI,qBAAC,OAAA,EAAI,WAAW,OAAO,YAClB,UAAA;AAAA,MAAA,YAAA;AAAA,MACA,aAAA;AAAA,IAAa,GAClB;AAAA,EAER;AACJ;AAEA,WAAW,cAAc;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { TableBasicRow } from "./TableBasicRow.js";
|
|
3
3
|
import { c as clsx } from "../../../../chunks/vendor-D4wvHis9.js";
|
|
4
|
-
import { s as styles } from "../../../../chunks/utils-
|
|
4
|
+
import { s as styles } from "../../../../chunks/utils-CRgskx0c.js";
|
|
5
5
|
const TableBasicBody = ({ columns, data, highlightRowOnHover, onClickRow }) => {
|
|
6
6
|
if (data.length === 0) {
|
|
7
7
|
return null;
|
|
@@ -12,8 +12,7 @@ const TableBasicBody = ({ columns, data, highlightRowOnHover, onClickRow }) => {
|
|
|
12
12
|
[styles.clickable]: clickEnabled,
|
|
13
13
|
[styles.hoverable]: hoverable
|
|
14
14
|
});
|
|
15
|
-
|
|
16
|
-
return /* @__PURE__ */ jsx("tbody", { className, children: rows });
|
|
15
|
+
return /* @__PURE__ */ jsx("tbody", { className, children: data.map((rowData) => /* @__PURE__ */ jsx(TableBasicRow, { columns, data: rowData, onClickRow }, rowData.rowKey)) });
|
|
17
16
|
};
|
|
18
17
|
TableBasicBody.displayName = "TableBasicBody";
|
|
19
18
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableBasicBody.js","sources":["../../../../../src/components/Table/TableBasic/components/TableBasicBody.tsx"],"sourcesContent":["import React from \"react\";\nimport { ITableBasicColumn, ITableBasicRow } from \"@sberbusiness/triplex-next/components/Table/TableBasic/types\";\nimport { TableBasicRow } from \"@sberbusiness/triplex-next/components/Table/TableBasic/components/TableBasicRow\";\nimport { clsx } from \"clsx\";\nimport styles from \"../styles/TableBasic.module.less\";\n\n
|
|
1
|
+
{"version":3,"file":"TableBasicBody.js","sources":["../../../../../src/components/Table/TableBasic/components/TableBasicBody.tsx"],"sourcesContent":["import React from \"react\";\nimport { ITableBasicColumn, ITableBasicRow } from \"@sberbusiness/triplex-next/components/Table/TableBasic/types\";\nimport { TableBasicRow } from \"@sberbusiness/triplex-next/components/Table/TableBasic/components/TableBasicRow\";\nimport { clsx } from \"clsx\";\nimport styles from \"../styles/TableBasic.module.less\";\n\n/** Свойства компонента TableBasicBody. */\nexport interface ITableBasicBodyProps {\n /** Структура заголовков таблицы. */\n columns: ITableBasicColumn[];\n /** Массив значений для вывода в теле таблицы. */\n data: ITableBasicRow[];\n /** Подсветка строк при наведении мышки. */\n highlightRowOnHover?: boolean;\n /** Функция обработки клика по строке таблицы. */\n onClickRow?: (rowKey: string) => void;\n}\n\n/** Компонент тела таблицы. */\nexport const TableBasicBody = ({ columns, data, highlightRowOnHover, onClickRow }: ITableBasicBodyProps) => {\n if (data.length === 0) {\n return null;\n }\n\n const clickEnabled = Boolean(onClickRow);\n // Кликабельные строки подсвечиваются при наведении всегда, без отдельного highlightRowOnHover.\n const hoverable = clickEnabled || Boolean(highlightRowOnHover);\n const className = clsx({\n [styles.clickable]: clickEnabled,\n [styles.hoverable]: hoverable,\n });\n\n return (\n <tbody className={className}>\n {data.map((rowData) => (\n <TableBasicRow columns={columns} data={rowData} onClickRow={onClickRow} key={rowData.rowKey} />\n ))}\n </tbody>\n );\n};\n\nTableBasicBody.displayName = \"TableBasicBody\";\n"],"names":[],"mappings":";;;;AAmBO,MAAM,iBAAiB,CAAC,EAAE,SAAS,MAAM,qBAAqB,iBAAuC;AACxG,MAAI,KAAK,WAAW,GAAG;AACnB,WAAO;AAAA,EACX;AAEA,QAAM,eAAe,QAAQ,UAAU;AAEvC,QAAM,YAAY,gBAAgB,QAAQ,mBAAmB;AAC7D,QAAM,YAAY,KAAK;AAAA,IACnB,CAAC,OAAO,SAAS,GAAG;AAAA,IACpB,CAAC,OAAO,SAAS,GAAG;AAAA,EAAA,CACvB;AAED,6BACK,SAAA,EAAM,WACF,UAAA,KAAK,IAAI,CAAC,YACP,oBAAC,eAAA,EAAc,SAAkB,MAAM,SAAS,WAAA,GAA6B,QAAQ,MAAQ,CAChG,GACL;AAER;AAEA,eAAe,cAAc;"}
|
|
@@ -1,96 +1,79 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { SortdecreaseStrokeSrvIcon16, SortincreaseStrokeSrvIcon16, SortStrokeSrvIcon16 } from "@sberbusiness/icons-next";
|
|
3
|
-
import { isNullOrUndefined } from "../../../../utils/isNullOrUndefined.js";
|
|
4
3
|
import { getAriaHTMLAttributes } from "../../../../utils/html/AriaAttributes.js";
|
|
5
4
|
import { getDataHTMLAttributes } from "../../../../utils/html/DataAttributes.js";
|
|
6
5
|
import { ECellType, EHorizontalAlign, EOrderDirection } from "../enums.js";
|
|
7
6
|
import { c as clsx } from "../../../../chunks/vendor-D4wvHis9.js";
|
|
8
|
-
import { s as styles, m as mapHorizontalAlignToClassName } from "../../../../chunks/utils-
|
|
7
|
+
import { s as styles, m as mapHorizontalAlignToClassName } from "../../../../chunks/utils-CRgskx0c.js";
|
|
9
8
|
import { Text } from "../../../Typography/Text.js";
|
|
10
9
|
import { ETextSize } from "../../../Typography/enums.js";
|
|
10
|
+
const getNextOrderDirection = (currentDirection) => {
|
|
11
|
+
switch (currentDirection) {
|
|
12
|
+
case EOrderDirection.NONE:
|
|
13
|
+
return EOrderDirection.ASC;
|
|
14
|
+
case EOrderDirection.ASC:
|
|
15
|
+
return EOrderDirection.DESC;
|
|
16
|
+
case EOrderDirection.DESC:
|
|
17
|
+
return EOrderDirection.NONE;
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
const getOrderIcon = (orderDirection) => {
|
|
21
|
+
switch (orderDirection) {
|
|
22
|
+
case EOrderDirection.NONE:
|
|
23
|
+
return /* @__PURE__ */ jsx(SortStrokeSrvIcon16, { paletteIndex: 5 });
|
|
24
|
+
case EOrderDirection.ASC:
|
|
25
|
+
return /* @__PURE__ */ jsx(SortincreaseStrokeSrvIcon16, { paletteIndex: 5 });
|
|
26
|
+
case EOrderDirection.DESC:
|
|
27
|
+
return /* @__PURE__ */ jsx(SortdecreaseStrokeSrvIcon16, { paletteIndex: 5 });
|
|
28
|
+
}
|
|
29
|
+
};
|
|
11
30
|
const TableBasicHeader = ({ columns, onOrderBy }) => {
|
|
12
|
-
const hasOrderFunc =
|
|
13
|
-
const
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
icon = /* @__PURE__ */ jsx(SortStrokeSrvIcon16, { paletteIndex: 5 });
|
|
18
|
-
break;
|
|
19
|
-
}
|
|
20
|
-
case EOrderDirection.ASC: {
|
|
21
|
-
icon = /* @__PURE__ */ jsx(SortincreaseStrokeSrvIcon16, { paletteIndex: 5 });
|
|
22
|
-
break;
|
|
23
|
-
}
|
|
24
|
-
case EOrderDirection.DESC: {
|
|
25
|
-
icon = /* @__PURE__ */ jsx(SortdecreaseStrokeSrvIcon16, { paletteIndex: 5 });
|
|
26
|
-
break;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
31
|
+
const hasOrderFunc = onOrderBy != null;
|
|
32
|
+
const handleClickOrder = (fieldKey, currentDirection) => {
|
|
33
|
+
onOrderBy == null ? void 0 : onOrderBy({ direction: getNextOrderDirection(currentDirection), fieldKey });
|
|
34
|
+
};
|
|
35
|
+
const renderOrderButton = (column, orderDirection) => {
|
|
29
36
|
const orderButtonClassName = clsx(styles.orderButton, {
|
|
30
|
-
[styles.alignLeft]:
|
|
31
|
-
[styles.alignRight]:
|
|
32
|
-
[styles.sorted]:
|
|
37
|
+
[styles.alignLeft]: column.horizontalAlign === EHorizontalAlign.RIGHT,
|
|
38
|
+
[styles.alignRight]: column.horizontalAlign !== EHorizontalAlign.RIGHT,
|
|
39
|
+
[styles.sorted]: orderDirection !== EOrderDirection.NONE
|
|
33
40
|
});
|
|
34
|
-
return /* @__PURE__ */ jsx("span", { className: orderButtonClassName, children:
|
|
41
|
+
return /* @__PURE__ */ jsx("span", { className: orderButtonClassName, children: getOrderIcon(orderDirection) });
|
|
35
42
|
};
|
|
36
|
-
const renderTh = (
|
|
37
|
-
if (
|
|
43
|
+
const renderTh = (column) => {
|
|
44
|
+
if (column.hidden) {
|
|
38
45
|
return null;
|
|
39
46
|
}
|
|
40
|
-
const
|
|
41
|
-
const
|
|
42
|
-
const
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
const orderIcon = orderEnabled && renderOrderIcon(c);
|
|
46
|
-
const classNameTh = clsx(mapHorizontalAlignToClassName(c.horizontalAlign), {
|
|
47
|
-
[styles.checkboxType]: c.cellType === ECellType.CHECKBOX
|
|
47
|
+
const { ariaAttributes, cellType, dataAttributes, fieldKey, horizontalAlign, label, orderDirection, title } = column;
|
|
48
|
+
const styleTh = column.width ? { maxWidth: column.width, minWidth: column.width, width: column.width } : void 0;
|
|
49
|
+
const orderEnabled = hasOrderFunc && orderDirection != null;
|
|
50
|
+
const classNameTh = clsx(mapHorizontalAlignToClassName(horizontalAlign), {
|
|
51
|
+
[styles.checkboxType]: cellType === ECellType.CHECKBOX
|
|
48
52
|
});
|
|
49
53
|
const classNameThBlock = clsx(styles.thBlock, "hoverable", {
|
|
50
54
|
[styles.order]: orderEnabled
|
|
51
55
|
});
|
|
52
|
-
const labelElement = [ECellType.TEXT, void 0].includes(
|
|
53
|
-
const
|
|
54
|
-
|
|
56
|
+
const labelElement = [ECellType.TEXT, void 0].includes(cellType) ? /* @__PURE__ */ jsx(Text, { size: ETextSize.B3, children: label }) : label;
|
|
57
|
+
const orderButton = orderEnabled ? renderOrderButton(column, orderDirection) : null;
|
|
58
|
+
const content = horizontalAlign === EHorizontalAlign.RIGHT ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
59
|
+
orderButton,
|
|
55
60
|
labelElement
|
|
56
61
|
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
57
62
|
labelElement,
|
|
58
|
-
|
|
63
|
+
orderButton
|
|
59
64
|
] });
|
|
60
|
-
return /* @__PURE__ */ jsx("th", { className: classNameTh, title
|
|
65
|
+
return /* @__PURE__ */ jsx("th", { className: classNameTh, title, style: styleTh, children: /* @__PURE__ */ jsx(
|
|
61
66
|
"span",
|
|
62
67
|
{
|
|
63
68
|
className: classNameThBlock,
|
|
64
|
-
onClick:
|
|
65
|
-
...
|
|
66
|
-
...
|
|
69
|
+
onClick: orderEnabled ? () => handleClickOrder(fieldKey, orderDirection) : void 0,
|
|
70
|
+
...ariaAttributes && getAriaHTMLAttributes(ariaAttributes),
|
|
71
|
+
...dataAttributes && getDataHTMLAttributes(dataAttributes),
|
|
67
72
|
children: content
|
|
68
73
|
}
|
|
69
|
-
) },
|
|
70
|
-
};
|
|
71
|
-
const handleClickOrder = (fieldKey, currentDirection) => {
|
|
72
|
-
let nextDirection;
|
|
73
|
-
switch (currentDirection) {
|
|
74
|
-
case EOrderDirection.NONE: {
|
|
75
|
-
nextDirection = EOrderDirection.ASC;
|
|
76
|
-
break;
|
|
77
|
-
}
|
|
78
|
-
case EOrderDirection.ASC: {
|
|
79
|
-
nextDirection = EOrderDirection.DESC;
|
|
80
|
-
break;
|
|
81
|
-
}
|
|
82
|
-
case EOrderDirection.DESC: {
|
|
83
|
-
nextDirection = EOrderDirection.NONE;
|
|
84
|
-
break;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
if (onOrderBy) {
|
|
88
|
-
const OrderObj = { direction: nextDirection, fieldKey };
|
|
89
|
-
onOrderBy(OrderObj);
|
|
90
|
-
}
|
|
74
|
+
) }, fieldKey);
|
|
91
75
|
};
|
|
92
|
-
|
|
93
|
-
return /* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsx("tr", { children: thList }) });
|
|
76
|
+
return /* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsx("tr", { children: columns.map((column) => renderTh(column)) }) });
|
|
94
77
|
};
|
|
95
78
|
TableBasicHeader.displayName = "TableBasicHeader";
|
|
96
79
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableBasicHeader.js","sources":["../../../../../src/components/Table/TableBasic/components/TableBasicHeader.tsx"],"sourcesContent":["import React from \"react\";\nimport {\n SortdecreaseStrokeSrvIcon16,\n SortincreaseStrokeSrvIcon16,\n SortStrokeSrvIcon16,\n} from \"@sberbusiness/icons-next\";\nimport {
|
|
1
|
+
{"version":3,"file":"TableBasicHeader.js","sources":["../../../../../src/components/Table/TableBasic/components/TableBasicHeader.tsx"],"sourcesContent":["import React from \"react\";\nimport {\n SortdecreaseStrokeSrvIcon16,\n SortincreaseStrokeSrvIcon16,\n SortStrokeSrvIcon16,\n} from \"@sberbusiness/icons-next\";\nimport { getAriaHTMLAttributes } from \"@sberbusiness/triplex-next/utils/html/AriaAttributes\";\nimport { getDataHTMLAttributes } from \"@sberbusiness/triplex-next/utils/html/DataAttributes\";\nimport {\n ECellType,\n EHorizontalAlign,\n EOrderDirection,\n} from \"@sberbusiness/triplex-next/components/Table/TableBasic/enums\";\nimport { clsx } from \"clsx\";\nimport styles from \"../styles/TableBasic.module.less\";\nimport { ISortOrder, ITableBasicColumn } from \"@sberbusiness/triplex-next/components/Table/TableBasic/types\";\nimport { mapHorizontalAlignToClassName } from \"@sberbusiness/triplex-next/components/Table/utils\";\nimport { Text } from \"@sberbusiness/triplex-next/components/Typography/Text\";\nimport { ETextSize } from \"@sberbusiness/triplex-next/components/Typography/enums\";\n\n/** Свойства компонента TableBasicHeader. */\nexport interface ITableBasicHeaderProps {\n /** Структура заголовков таблицы. */\n columns: ITableBasicColumn[];\n /** Обработчик сортировки. */\n onOrderBy?: (order: ISortOrder) => void;\n}\n\n/** Следующее направление сортировки при клике по заголовку: none → asc → desc → none. */\nconst getNextOrderDirection = (currentDirection: EOrderDirection): EOrderDirection => {\n switch (currentDirection) {\n case EOrderDirection.NONE:\n return EOrderDirection.ASC;\n case EOrderDirection.ASC:\n return EOrderDirection.DESC;\n case EOrderDirection.DESC:\n return EOrderDirection.NONE;\n }\n};\n\n/** Иконка, соответствующая текущему направлению сортировки. */\nconst getOrderIcon = (orderDirection: EOrderDirection): React.JSX.Element => {\n switch (orderDirection) {\n case EOrderDirection.NONE:\n return <SortStrokeSrvIcon16 paletteIndex={5} />;\n case EOrderDirection.ASC:\n return <SortincreaseStrokeSrvIcon16 paletteIndex={5} />;\n case EOrderDirection.DESC:\n return <SortdecreaseStrokeSrvIcon16 paletteIndex={5} />;\n }\n};\n\n/** Компонент заголовка таблицы. */\nexport const TableBasicHeader = ({ columns, onOrderBy }: ITableBasicHeaderProps) => {\n const hasOrderFunc = onOrderBy != null;\n\n /** Обработчик клика сортировки столбца. */\n const handleClickOrder = (fieldKey: string, currentDirection: EOrderDirection) => {\n onOrderBy?.({ direction: getNextOrderDirection(currentDirection), fieldKey });\n };\n\n /** Рендер кнопки сортировки столбца. */\n const renderOrderButton = (column: ITableBasicColumn, orderDirection: EOrderDirection) => {\n const orderButtonClassName = clsx(styles.orderButton, {\n [styles.alignLeft]: column.horizontalAlign === EHorizontalAlign.RIGHT,\n [styles.alignRight]: column.horizontalAlign !== EHorizontalAlign.RIGHT,\n [styles.sorted]: orderDirection !== EOrderDirection.NONE,\n });\n\n return <span className={orderButtonClassName}>{getOrderIcon(orderDirection)}</span>;\n };\n\n /** Рендер заголовка столбца. */\n const renderTh = (column: ITableBasicColumn) => {\n // Столбец скрыт.\n if (column.hidden) {\n return null;\n }\n\n const { ariaAttributes, cellType, dataAttributes, fieldKey, horizontalAlign, label, orderDirection, title } =\n column;\n const styleTh = column.width\n ? { maxWidth: column.width, minWidth: column.width, width: column.width }\n : undefined;\n // Сортировка доступна, только если задан обработчик и у столбца есть текущее направление сортировки.\n const orderEnabled = hasOrderFunc && orderDirection != null;\n const classNameTh = clsx(mapHorizontalAlignToClassName(horizontalAlign), {\n [styles.checkboxType]: cellType === ECellType.CHECKBOX,\n });\n const classNameThBlock = clsx(styles.thBlock, \"hoverable\", {\n [styles.order]: orderEnabled,\n });\n\n const labelElement = [ECellType.TEXT, undefined].includes(cellType) ? (\n <Text size={ETextSize.B3}>{label}</Text>\n ) : (\n label\n );\n const orderButton = orderEnabled ? renderOrderButton(column, orderDirection) : null;\n\n const content =\n horizontalAlign === EHorizontalAlign.RIGHT ? (\n <>\n {orderButton}\n {labelElement}\n </>\n ) : (\n <>\n {labelElement}\n {orderButton}\n </>\n );\n\n return (\n <th className={classNameTh} title={title} key={fieldKey} style={styleTh}>\n <span\n className={classNameThBlock}\n onClick={orderEnabled ? () => handleClickOrder(fieldKey, orderDirection) : undefined}\n {...(ariaAttributes && getAriaHTMLAttributes(ariaAttributes))}\n {...(dataAttributes && getDataHTMLAttributes(dataAttributes))}\n >\n {content}\n </span>\n </th>\n );\n };\n\n return (\n <thead>\n <tr>{columns.map((column) => renderTh(column))}</tr>\n </thead>\n );\n};\n\nTableBasicHeader.displayName = \"TableBasicHeader\";\n"],"names":[],"mappings":";;;;;;;;;AA6BA,MAAM,wBAAwB,CAAC,qBAAuD;AAClF,UAAQ,kBAAA;AAAA,IACJ,KAAK,gBAAgB;AACjB,aAAO,gBAAgB;AAAA,IAC3B,KAAK,gBAAgB;AACjB,aAAO,gBAAgB;AAAA,IAC3B,KAAK,gBAAgB;AACjB,aAAO,gBAAgB;AAAA,EAAA;AAEnC;AAGA,MAAM,eAAe,CAAC,mBAAuD;AACzE,UAAQ,gBAAA;AAAA,IACJ,KAAK,gBAAgB;AACjB,aAAO,oBAAC,qBAAA,EAAoB,cAAc,EAAA,CAAG;AAAA,IACjD,KAAK,gBAAgB;AACjB,aAAO,oBAAC,6BAAA,EAA4B,cAAc,EAAA,CAAG;AAAA,IACzD,KAAK,gBAAgB;AACjB,aAAO,oBAAC,6BAAA,EAA4B,cAAc,EAAA,CAAG;AAAA,EAAA;AAEjE;AAGO,MAAM,mBAAmB,CAAC,EAAE,SAAS,gBAAwC;AAChF,QAAM,eAAe,aAAa;AAGlC,QAAM,mBAAmB,CAAC,UAAkB,qBAAsC;AAC9E,2CAAY,EAAE,WAAW,sBAAsB,gBAAgB,GAAG;EACtE;AAGA,QAAM,oBAAoB,CAAC,QAA2B,mBAAoC;AACtF,UAAM,uBAAuB,KAAK,OAAO,aAAa;AAAA,MAClD,CAAC,OAAO,SAAS,GAAG,OAAO,oBAAoB,iBAAiB;AAAA,MAChE,CAAC,OAAO,UAAU,GAAG,OAAO,oBAAoB,iBAAiB;AAAA,MACjE,CAAC,OAAO,MAAM,GAAG,mBAAmB,gBAAgB;AAAA,IAAA,CACvD;AAED,+BAAQ,QAAA,EAAK,WAAW,sBAAuB,UAAA,aAAa,cAAc,GAAE;AAAA,EAChF;AAGA,QAAM,WAAW,CAAC,WAA8B;AAE5C,QAAI,OAAO,QAAQ;AACf,aAAO;AAAA,IACX;AAEA,UAAM,EAAE,gBAAgB,UAAU,gBAAgB,UAAU,iBAAiB,OAAO,gBAAgB,MAAA,IAChG;AACJ,UAAM,UAAU,OAAO,QACjB,EAAE,UAAU,OAAO,OAAO,UAAU,OAAO,OAAO,OAAO,OAAO,UAChE;AAEN,UAAM,eAAe,gBAAgB,kBAAkB;AACvD,UAAM,cAAc,KAAK,8BAA8B,eAAe,GAAG;AAAA,MACrE,CAAC,OAAO,YAAY,GAAG,aAAa,UAAU;AAAA,IAAA,CACjD;AACD,UAAM,mBAAmB,KAAK,OAAO,SAAS,aAAa;AAAA,MACvD,CAAC,OAAO,KAAK,GAAG;AAAA,IAAA,CACnB;AAED,UAAM,eAAe,CAAC,UAAU,MAAM,MAAS,EAAE,SAAS,QAAQ,wBAC7D,MAAA,EAAK,MAAM,UAAU,IAAK,iBAAM,IAEjC;AAEJ,UAAM,cAAc,eAAe,kBAAkB,QAAQ,cAAc,IAAI;AAE/E,UAAM,UACF,oBAAoB,iBAAiB,QACjC,qBAAA,UAAA,EACK,UAAA;AAAA,MAAA;AAAA,MACA;AAAA,IAAA,EAAA,CACL,IAEA,qBAAA,UAAA,EACK,UAAA;AAAA,MAAA;AAAA,MACA;AAAA,IAAA,GACL;AAGR,+BACK,MAAA,EAAG,WAAW,aAAa,OAA6B,OAAO,SAC5D,UAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACG,WAAW;AAAA,QACX,SAAS,eAAe,MAAM,iBAAiB,UAAU,cAAc,IAAI;AAAA,QAC1E,GAAI,kBAAkB,sBAAsB,cAAc;AAAA,QAC1D,GAAI,kBAAkB,sBAAsB,cAAc;AAAA,QAE1D,UAAA;AAAA,MAAA;AAAA,IAAA,KAPsC,QAS/C;AAAA,EAER;AAEA,SACI,oBAAC,SAAA,EACG,UAAA,oBAAC,MAAA,EAAI,UAAA,QAAQ,IAAI,CAAC,WAAW,SAAS,MAAM,CAAC,EAAA,CAAE,GACnD;AAER;AAEA,iBAAiB,cAAc;"}
|