@sberbusiness/triplex-next 1.18.0 → 1.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunks/AlertProcessSpoiler-CJysh-L6.js +39 -0
- package/chunks/{CalendarViewItem-pHtA4Vlx.js → CalendarViewItem-Dxr-IKuh.js} +18 -18
- package/chunks/Card.module-DMUHU1y_.js +17 -0
- package/chunks/CheckboxTreeExtended.module-wyBivaJR.js +14 -0
- package/chunks/{Chip-CO3WBvtA.js → Chip-Cp4nSSv9.js} +20 -20
- package/chunks/Confirm.module-BMe3cCgA.js +15 -0
- package/chunks/DropdownListItem-Czxj-82d.js +65 -0
- package/chunks/DropdownMobile.module-ChlziR7V.js +23 -0
- package/chunks/Footer.module-DdBlWFOs.js +9 -0
- package/chunks/{FormFieldInput-BHKqXXmM.js → FormFieldInput-Bb0syEep.js} +12 -12
- package/chunks/HeaderLayoutSidebar.module-tndsgX78.js +9 -0
- package/chunks/HeaderTabs.module-T7IKL1xp.js +9 -0
- package/chunks/{HeaderTitle.module-DejeYBva.js → HeaderTitle.module-bJWT64K6.js} +2 -2
- package/chunks/IslandAccordion.module-CLQD0a3_.js +25 -0
- package/chunks/IslandWidgetFooter.module-CPs8lx4X.js +9 -0
- package/chunks/IslandWidgetHeader.module-EYRdEBM6.js +12 -0
- package/chunks/{LightBoxContent-CAboXCdn.js → LightBoxContent-6jOQAiJe.js} +14 -14
- package/chunks/LightBoxControls.module-OIHtatwH.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-BB5P2oIx.js +8 -0
- package/chunks/{ListItemControlsButton-rljKBmYs.js → ListItemControlsButton-CLWIOf-c.js} +8 -8
- package/chunks/ListItemTail.module-D9_VecUp.js +12 -0
- package/chunks/ListMasterFooter.module-Tad6_QUF.js +10 -0
- package/chunks/ModalWindow.module-CtWGFobP.js +17 -0
- package/chunks/Notification.module-1ONl_AQl.js +20 -0
- package/chunks/Overlay.module-BzUI6PNY.js +18 -0
- package/chunks/Page.module-BIAYhn48.js +11 -0
- package/chunks/{RightBorderArrow-VyofIz59.js → RightBorderArrow-CDLZGJBa.js} +11 -11
- package/chunks/SMSField.module-CshFlMUU.js +16 -0
- package/chunks/SliderExtendedMarks.module-BPt30iMn.js +15 -0
- package/chunks/{SliderExtendedRail-DgwS0MGB.js → SliderExtendedRail-Dc_iZlxS.js} +5 -5
- package/chunks/StatusTracker.module-CTVX8mSd.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-BLejFeyH.js → SuggestFieldMobileDropdownHint-B1qT-8-p.js} +4 -4
- package/chunks/TableFooter.module-CcIh2kO5.js +14 -0
- package/chunks/TabsExtended.module-DtrXq1jE.js +16 -0
- package/chunks/TabsLine.module-D5PBUMxf.js +21 -0
- package/chunks/TooltipDesktop.module-B2iSBrr1.js +19 -0
- package/chunks/TreeView.module-DEJX2JUM.js +9 -0
- package/chunks/{UploadZoneInput-CVEVGrOi.js → UploadZoneInput-CXhNQ2dO.js} +2 -2
- package/chunks/{constants-RnOklYSN.js → constants-sbJX8JQ4.js} +13 -13
- package/chunks/{utils-mnZTG3vL.js → utils-BIaaXA7W.js} +12 -12
- package/chunks/{utils-CgBTTmNc.js → utils-DHbotYsG.js} +7 -7
- package/chunks/utils-DjwTklmD.js +24 -0
- package/chunks/utils-OFOU7B72.js +18 -0
- package/components/Alert/AlertContext/AlertContext.js +12 -12
- package/components/Alert/AlertProcess/AlertProcess.js +2 -2
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +1 -1
- package/components/Amount/Amount.js +7 -7
- package/components/AmountField/AmountField.js +1 -1
- package/components/Avatar/Avatar.js +9 -9
- package/components/Badge/Badge.js +1 -1
- package/components/Badge/BadgeDot.js +7 -7
- package/components/Badge/components/BadgeContent.js +11 -11
- package/components/Badge/components/BadgePostfix.js +4 -4
- package/components/Badge/components/BadgePrefix.js +1 -1
- package/components/Body/Body.js +5 -5
- package/components/Button/Button.js +25 -25
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +11 -11
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +15 -15
- package/components/Calendar/Calendar.js +17 -17
- package/components/Calendar/components/CalendarControls.js +1 -1
- package/components/Calendar/components/CalendarFooter.js +4 -4
- package/components/Calendar/components/CalendarViewDays.js +1 -1
- package/components/Calendar/components/CalendarViewItem.js +1 -1
- package/components/Calendar/components/CalendarViewMonths.js +1 -1
- package/components/Calendar/components/CalendarViewYears.js +1 -1
- package/components/Card/CardAction.js +14 -14
- package/components/Card/CardStatic.js +2 -2
- package/components/Card/components/CardContent/CardContent.js +1 -1
- package/components/Card/components/CardContent/components/CardContentBody.js +1 -1
- package/components/Card/components/CardContent/components/CardContentFooter.js +1 -1
- package/components/Card/components/CardContent/components/CardContentHeader.js +1 -1
- package/components/Card/components/CardMedia.js +1 -1
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +1 -1
- package/components/Checkbox/Checkbox.js +2 -2
- package/components/Checkbox/CheckboxXGroup.js +14 -14
- package/components/Checkbox/CheckboxYGroup.js +3 -3
- 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 +13 -13
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +1 -1
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +13 -14
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +24 -17
- package/components/Chip/ChipOptions.js +11 -11
- package/components/Chip/ChipSelect/ChipSelect.js +1 -1
- package/components/Chip/ChipSelect/ChipSelectTarget.js +25 -24
- 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 +23 -23
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +5 -5
- package/components/Col/Col.js +130 -130
- package/components/CollapsableTree/components/CollapsableTreeNode.js +5 -5
- package/components/Confirm/Confirm.js +1 -1
- package/components/Confirm/components/ConfirmCloseButton.js +1 -1
- package/components/Confirm/components/ConfirmContent.js +1 -1
- package/components/Confirm/components/ConfirmContentTitle.js +1 -1
- package/components/Confirm/components/ConfirmControls.js +1 -1
- package/components/DateField/DateField.js +1 -1
- package/components/DatePickerExtended/DatePickerExtended.js +2 -2
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +1 -1
- package/components/DateRange/DateRange.js +12 -12
- package/components/DesignTokens/DesignTokenUtils.js +1 -1
- package/components/Divider/Divider.js +17 -17
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +5 -5
- package/components/Dropdown/desktop/DropdownDesktop.js +8 -8
- package/components/Dropdown/desktop/DropdownList.js +9 -8
- package/components/Dropdown/desktop/DropdownListItem.js +4 -3
- 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 +5 -5
- package/components/Dropdown/mobile/DropdownMobileList.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileListItem.js +16 -15
- package/components/Dropdown/mobile/DropdownMobileLoader.js +1 -1
- package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +1 -1
- package/components/Ellipsis/Ellipsis.js +5 -5
- package/components/ExpandAnimation/ExpandAnimation.js +6 -6
- package/components/Footer/Footer.js +1 -1
- package/components/Footer/components/FooterDescription.js +1 -1
- package/components/Footer/components/FooterDescriptionContent.js +1 -1
- package/components/Footer/components/FooterDescriptionControls.js +1 -1
- package/components/FormField/FormField.js +14 -14
- package/components/FormField/components/FormFieldClear.js +8 -8
- package/components/FormField/components/FormFieldCounter.js +3 -3
- package/components/FormField/components/FormFieldDescription.js +6 -6
- package/components/FormField/components/FormFieldInput.js +1 -1
- package/components/FormField/components/FormFieldLabel.js +9 -9
- package/components/FormField/components/FormFieldMaskedInput.js +25 -25
- package/components/FormField/components/FormFieldPostfix.js +6 -6
- package/components/FormField/components/FormFieldPrefix.js +7 -7
- package/components/FormField/components/FormFieldTarget.js +19 -19
- package/components/FormField/components/FormFieldTextarea.js +16 -16
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +1 -1
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +1 -1
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +5 -5
- package/components/Header/components/HeaderTabs/HeaderTabs.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +1 -1
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitle.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +1 -1
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +1 -1
- package/components/HelpBox/HelpBox.js +13 -13
- package/components/Island/Island.js +1 -1
- package/components/Island/components/IslandBody.js +3 -3
- package/components/Island/components/IslandFooter.js +4 -4
- package/components/Island/components/IslandHeader.js +3 -3
- 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 +15 -15
- package/components/IslandWidget/components/IslandWidgetBody.js +1 -1
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +4 -4
- package/components/IslandWidget/components/IslandWidgetFooter.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +1 -1
- package/components/IslandWidget/components/IslandWidgetWrapper.js +8 -8
- package/components/LightBox/LightBox.js +13 -13
- package/components/LightBox/LightBoxContent.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxClose.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxControls.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxNext.js +1 -1
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +25 -25
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +1 -1
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +3 -3
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +5 -5
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +1 -1
- package/components/Link/Link.js +24 -24
- package/components/List/List.js +5 -5
- package/components/List/components/ListEmptyState.js +2 -2
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +12 -12
- 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 +1 -1
- package/components/List/components/ListItemTable.js +9 -9
- package/components/List/components/ListItemTailLeft.js +1 -1
- package/components/List/components/ListItemTailRight.js +1 -1
- package/components/List/components/ListSortableItem.js +5 -5
- package/components/List/components/ListSortableItemControls.js +4 -4
- package/components/List/components/ListSortableItemTarget.js +4 -4
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +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 +1 -1
- package/components/ListMaster/components/SelectionControls.js +6 -6
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +9 -9
- package/components/Loader/LoaderSmall/LoaderSmall.js +10 -10
- package/components/LoaderScreen/LoaderScreen.js +6 -6
- package/components/Marker/Marker.js +7 -16
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +14 -14
- package/components/ModalWindow/ModalWindow.js +1 -1
- package/components/ModalWindow/components/ModalWindowBody.js +4 -4
- package/components/ModalWindow/components/ModalWindowClose.js +4 -4
- package/components/ModalWindow/components/ModalWindowContent.js +1 -1
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +14 -13
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +4 -4
- package/components/Notification/Notification.js +2 -2
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyContent.js +6 -5
- package/components/Notification/components/NotificationBodyList.js +1 -1
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +1 -1
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +6 -6
- package/components/OrderedList/OrderedListItem.js +6 -6
- package/components/Overlay/Overlay.js +1 -1
- package/components/Overlay/OverlayMask.js +1 -1
- package/components/Overlay/OverlayPanel.js +1 -1
- package/components/Page/Page.js +1 -1
- package/components/Page/components/BodyPage.js +4 -4
- package/components/Page/components/FooterPage.js +1 -1
- package/components/Page/components/HeaderPage.js +1 -1
- package/components/Pagination/components/PaginationExtended.js +5 -5
- package/components/Pagination/components/PaginationNavigationButton.js +1 -1
- package/components/Pagination/components/PaginationNavigationExtended.js +1 -1
- package/components/Pagination/components/PaginationPageButton.js +8 -8
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +15 -15
- package/components/Radio/Radio.js +15 -15
- package/components/Radio/RadioXGroup.js +10 -10
- package/components/Radio/RadioYGroup.js +6 -6
- package/components/Row/Row.js +6 -6
- package/components/SMSField/SMSField.js +2 -2
- package/components/SMSField/components/RefreshIcon.js +1 -1
- package/components/SMSField/components/SMSFieldInput.js +2 -2
- package/components/SMSField/components/SMSFieldRefresh.js +1 -1
- package/components/SMSField/components/SMSFieldSubmit.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +8 -8
- package/components/SegmentedControl/SegmentedControlSegment.js +14 -14
- package/components/SelectExtendedField/SelectExtendedField.js +4 -4
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +3 -3
- package/components/Skeleton/Skeleton.js +10 -10
- package/components/SliderExtended/SliderExtended.js +2 -2
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +16 -16
- 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 +10 -10
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +15 -15
- package/components/SmallInput/SmallInput.js +5 -5
- package/components/Spoiler/Spoiler.js +6 -6
- 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 +7 -9
- package/components/StatusTracker/components/StatusTrackerDescription.js +1 -1
- package/components/StatusTracker/components/StatusTrackerFooter.js +1 -1
- package/components/StatusTracker/components/StatusTrackerHeader.js +1 -1
- package/components/StatusTracker/components/StatusTrackerMedia.js +1 -1
- package/components/StatusTracker/components/StatusTrackerStatus.js +1 -1
- package/components/StatusTracker/components/StatusTrackerSum.js +1 -1
- package/components/StatusTracker/components/StatusTrackerTitle.js +1 -1
- package/components/Step/Step.js +14 -14
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +7 -7
- package/components/Stepper/StepperExtended.js +4 -4
- package/components/Stepper/StepperStep.js +2 -2
- package/components/Stepper/StepperWrapper.js +5 -5
- package/components/Suggest/SuggestMobileDropdownContent.js +10 -10
- package/components/SuggestField/SuggestField.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +2 -2
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
- package/components/SuggestField/mobile/index.js +1 -1
- package/components/SwipeableArea/SwipeableArea.js +20 -20
- package/components/Table/FilterPanel.js +5 -5
- package/components/Table/MasterTable.js +8 -8
- package/components/Table/NoColumns.js +5 -5
- package/components/Table/PaginationPanel.js +2 -2
- package/components/Table/TableBasic/TableBasic.js +1 -1
- package/components/Table/TableBasic/components/TableBasicBody.js +1 -1
- package/components/Table/TableBasic/components/TableBasicHeader.js +1 -1
- package/components/Table/TableBasic/components/TableBasicRow.js +1 -1
- package/components/Table/TableBasicSettings/TableBasicSettings.js +1 -1
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +9 -9
- 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 +4 -4
- package/components/Table/TableFooter/TableFooter.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +5 -5
- package/components/Table/TabsLinePanelLinks.js +1 -1
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +19 -19
- 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 +16 -16
- 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 +31 -31
- package/components/TabsLine/components/TabsLineMobile.js +10 -10
- package/components/Tag/Tag.js +30 -30
- package/components/TagColor/TagColor.js +16 -16
- package/components/TagGroup/TagGroup.js +12 -12
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +1 -1
- package/components/Tooltip/components/common/TooltipLink.js +10 -10
- 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 +10 -10
- package/components/TopOverlay/TopOverlay.js +15 -15
- package/components/TreeView/TreeView.js +1 -1
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +1 -1
- package/components/Typography/Caption.js +29 -29
- package/components/Typography/Text.js +12 -12
- package/components/Typography/Title.js +10 -10
- package/components/Typography/constants.js +1 -1
- package/components/UnorderedList/UnorderedList.js +5 -5
- package/components/UnorderedList/UnorderedListItem.js +6 -6
- package/components/UploadZone/UploadZone.js +74 -65
- package/components/UploadZone/components/UploadZoneInput.js +1 -1
- package/components/index.js +253 -255
- package/index.d.ts +10 -13
- package/index.js +66 -68
- package/package.json +2 -5
- package/styles/triplex-next.css +546 -546
- package/chunks/AlertProcessSpoiler-LkdaQ_Di.js +0 -39
- package/chunks/Card.module-BcSOlt-v.js +0 -17
- package/chunks/CheckboxTreeExtended.module-DiHCUVg2.js +0 -14
- package/chunks/Confirm.module-Dhpj4ZKo.js +0 -15
- package/chunks/DropdownListItem-BQHOMeuh.js +0 -63
- package/chunks/DropdownMobile.module-xbdFMKNS.js +0 -23
- package/chunks/Footer.module-C1SNucJG.js +0 -9
- package/chunks/HeaderLayoutSidebar.module-DwvmK73d.js +0 -9
- package/chunks/HeaderTabs.module-MEcJFqAB.js +0 -9
- package/chunks/IslandAccordion.module-BxCqLPl3.js +0 -25
- package/chunks/IslandWidgetFooter.module-D1LPR8QN.js +0 -9
- package/chunks/IslandWidgetHeader.module-BM15zmJI.js +0 -12
- package/chunks/LightBoxControls.module-DGtd3hzE.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-C1IxLp8t.js +0 -8
- package/chunks/ListItemTail.module-DeeZQGZM.js +0 -12
- package/chunks/ListMasterFooter.module-Deinj_Hn.js +0 -10
- package/chunks/ModalWindow.module-B0rsZ6qC.js +0 -17
- package/chunks/Notification.module-nKn4mJRI.js +0 -21
- package/chunks/Overlay.module-DK5sjXuJ.js +0 -18
- package/chunks/Page.module-CUe-R8bM.js +0 -11
- package/chunks/SMSField.module-GiwLpUxs.js +0 -16
- package/chunks/SliderExtendedMarks.module-n3OIn4Fh.js +0 -15
- package/chunks/StatusTracker.module-BMReqWPL.js +0 -24
- package/chunks/TableFooter.module-DFzmhqFH.js +0 -14
- package/chunks/TabsExtended.module-Dn0Lp5NZ.js +0 -16
- package/chunks/TabsLine.module-BXYAgYql.js +0 -21
- package/chunks/TooltipDesktop.module-Dabcv06X.js +0 -19
- package/chunks/TreeView.module-Bv5q9M8W.js +0 -9
- package/chunks/utils-BecQ3s95.js +0 -24
- package/chunks/utils-IR7tW0dD.js +0 -20
- package/components/NotificationIcon/NotificationIcon.js +0 -10
- package/components/NotificationIcon/index.js +0 -5
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as a, jsxs as b, Fragment as B } from "react/jsx-runtime";
|
|
2
2
|
import { useState as y, useRef as g, useEffect as C } from "react";
|
|
3
3
|
import { EOverlayDirection as R } from "../Overlay/OverlayBase.js";
|
|
4
4
|
import { Overlay as O } from "../Overlay/Overlay.js";
|
|
5
5
|
import { c as S, F as j } from "../../chunks/vendor-Dlne6Znf.js";
|
|
6
|
-
const D = "
|
|
6
|
+
const D = "topOverlayMask__a3791e75", E = "topOverlayWrapper__49e430dc", A = "closing__216ca779", V = "opened__e5148c95", $ = "topOverlayPanel__0516caa9", q = "topOverlay__0bbec7a2", t = {
|
|
7
7
|
topOverlayMask: D,
|
|
8
8
|
topOverlayWrapper: E,
|
|
9
9
|
closing: A,
|
|
@@ -12,13 +12,13 @@ const D = "topOverlayMask__526b5632", E = "topOverlayWrapper__159fc35c", A = "cl
|
|
|
12
12
|
topOverlay: q
|
|
13
13
|
}, K = ({
|
|
14
14
|
children: _,
|
|
15
|
-
focusTrapProps:
|
|
15
|
+
focusTrapProps: o,
|
|
16
16
|
opened: e,
|
|
17
17
|
onClose: l,
|
|
18
18
|
onOpen: n,
|
|
19
19
|
...h
|
|
20
20
|
}) => {
|
|
21
|
-
const [W, u] = y(!1), [x,
|
|
21
|
+
const [W, u] = y(!1), [x, d] = y(!1), [m, c] = y(0), p = g(e), s = g(null), f = () => {
|
|
22
22
|
if (s.current) {
|
|
23
23
|
const r = getComputedStyle(s.current).getPropertyValue("--lightBox-screen-top") || "0", i = s.current.getBoundingClientRect();
|
|
24
24
|
i.top < 0 ? c(
|
|
@@ -29,21 +29,21 @@ const D = "topOverlayMask__526b5632", E = "topOverlayWrapper__159fc35c", A = "cl
|
|
|
29
29
|
);
|
|
30
30
|
}
|
|
31
31
|
}, k = () => {
|
|
32
|
-
|
|
32
|
+
f(), d(!0), n == null || n();
|
|
33
33
|
};
|
|
34
34
|
C(() => {
|
|
35
|
-
p.current && !e ? u(!0) : !p.current && e &&
|
|
35
|
+
p.current && !e ? u(!0) : !p.current && e && f(), p.current = e;
|
|
36
36
|
}, [e]);
|
|
37
37
|
const M = () => {
|
|
38
38
|
u(!1), c(0), l == null || l();
|
|
39
|
-
}, T = () =>
|
|
40
|
-
/* @__PURE__ */
|
|
41
|
-
/* @__PURE__ */
|
|
39
|
+
}, T = () => d(!1), F = (r) => /* @__PURE__ */ b(B, { children: [
|
|
40
|
+
/* @__PURE__ */ a(O.Mask, { opened: r.opened, className: t.topOverlayMask }),
|
|
41
|
+
/* @__PURE__ */ a(O.Panel, { className: t.topOverlayPanel, ...r, children: _ })
|
|
42
42
|
] }), N = () => {
|
|
43
43
|
}, P = S(t.topOverlayWrapper, {
|
|
44
44
|
[t.closing]: W,
|
|
45
45
|
[t.opened]: e
|
|
46
|
-
}), I = /* @__PURE__ */
|
|
46
|
+
}), I = /* @__PURE__ */ a(
|
|
47
47
|
O,
|
|
48
48
|
{
|
|
49
49
|
onClose: M,
|
|
@@ -57,22 +57,22 @@ const D = "topOverlayMask__526b5632", E = "topOverlayWrapper__159fc35c", A = "cl
|
|
|
57
57
|
children: F
|
|
58
58
|
}
|
|
59
59
|
);
|
|
60
|
-
return /* @__PURE__ */
|
|
60
|
+
return /* @__PURE__ */ a(
|
|
61
61
|
j,
|
|
62
62
|
{
|
|
63
63
|
active: x,
|
|
64
|
-
...
|
|
64
|
+
...o,
|
|
65
65
|
focusTrapOptions: {
|
|
66
66
|
clickOutsideDeactivates: !0,
|
|
67
67
|
preventScroll: !0,
|
|
68
|
-
...
|
|
68
|
+
...o == null ? void 0 : o.focusTrapOptions
|
|
69
69
|
},
|
|
70
|
-
children: /* @__PURE__ */
|
|
70
|
+
children: /* @__PURE__ */ a(
|
|
71
71
|
"div",
|
|
72
72
|
{
|
|
73
73
|
className: P,
|
|
74
74
|
ref: s,
|
|
75
|
-
style:
|
|
75
|
+
style: m ? { top: `${m}px` } : void 0,
|
|
76
76
|
children: I
|
|
77
77
|
}
|
|
78
78
|
)
|
|
@@ -10,7 +10,7 @@ import { TreeViewAbstractNode as C } from "./TreeViewAbstractNode.js";
|
|
|
10
10
|
import { TreeViewNode as f } from "./components/TreeViewNode.js";
|
|
11
11
|
import { TreeViewGroup as b } from "./components/TreeViewGroup.js";
|
|
12
12
|
import { c as v } from "../../chunks/vendor-Dlne6Znf.js";
|
|
13
|
-
import { s as w } from "../../chunks/TreeView.module-
|
|
13
|
+
import { s as w } from "../../chunks/TreeView.module-DEJX2JUM.js";
|
|
14
14
|
const R = "rootNode";
|
|
15
15
|
class n extends m.Component {
|
|
16
16
|
constructor(e) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { s } from "../../../chunks/TreeView.module-
|
|
2
|
+
import { s } from "../../../chunks/TreeView.module-DEJX2JUM.js";
|
|
3
3
|
const m = ({ children: r, ...e }) => /* @__PURE__ */ o("ul", { role: "group", className: s.treeViewGroup, ...e, children: r });
|
|
4
4
|
export {
|
|
5
5
|
m as TreeViewGroup
|
|
@@ -7,7 +7,7 @@ import { TreeViewContext as m, withTreeViewContext as x } from "../TreeViewConte
|
|
|
7
7
|
import { TreeViewAbstractNode as b } from "../TreeViewAbstractNode.js";
|
|
8
8
|
import { TreeViewAbstractNodeUtils as n } from "../TreeViewAbstractNodeUtils.js";
|
|
9
9
|
import { c as w } from "../../../chunks/vendor-Dlne6Znf.js";
|
|
10
|
-
import { s as C } from "../../../chunks/TreeView.module-
|
|
10
|
+
import { s as C } from "../../../chunks/TreeView.module-DEJX2JUM.js";
|
|
11
11
|
class V extends l.Component {
|
|
12
12
|
constructor(e) {
|
|
13
13
|
super(e);
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import { jsx as E } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { c as
|
|
4
|
-
import { ECaptionSize as
|
|
5
|
-
import { t, F as
|
|
6
|
-
const
|
|
7
|
-
caption:
|
|
8
|
-
regular:
|
|
9
|
-
semibold:
|
|
10
|
-
c1:
|
|
11
|
-
c2:
|
|
12
|
-
d1:
|
|
13
|
-
}, L = {
|
|
14
|
-
[s.C1]: o.c1,
|
|
15
|
-
[s.C2]: o.c2,
|
|
16
|
-
[s.D1]: o.d1
|
|
2
|
+
import { forwardRef as S } from "react";
|
|
3
|
+
import { c as T } from "../../chunks/vendor-Dlne6Znf.js";
|
|
4
|
+
import { ECaptionSize as a, EFontWeightCaption as _, EFontType as f } from "./enums.js";
|
|
5
|
+
import { t, F as g } from "../../chunks/constants-sbJX8JQ4.js";
|
|
6
|
+
const C = "caption__ed86a079", y = "regular__9751b6c6", M = "semibold__4de90575", N = "c1__1d0291cf", R = "c2__15d6dfa1", L = "d1__c3c08d5c", o = {
|
|
7
|
+
caption: C,
|
|
8
|
+
regular: y,
|
|
9
|
+
semibold: M,
|
|
10
|
+
c1: N,
|
|
11
|
+
c2: R,
|
|
12
|
+
d1: L
|
|
17
13
|
}, O = {
|
|
14
|
+
[a.C1]: o.c1,
|
|
15
|
+
[a.C2]: o.c2,
|
|
16
|
+
[a.D1]: o.d1
|
|
17
|
+
}, b = {
|
|
18
18
|
[_.REGULAR]: o.regular,
|
|
19
19
|
[_.SEMIBOLD]: o.semibold
|
|
20
|
-
}, u =
|
|
20
|
+
}, u = S(
|
|
21
21
|
({
|
|
22
22
|
children: r,
|
|
23
23
|
className: n,
|
|
24
24
|
size: e,
|
|
25
25
|
weight: p = _.REGULAR,
|
|
26
|
-
type: i =
|
|
26
|
+
type: i = f.PRIMARY,
|
|
27
27
|
underline: c,
|
|
28
|
-
strikethrough:
|
|
29
|
-
tag:
|
|
30
|
-
...
|
|
31
|
-
},
|
|
32
|
-
const A =
|
|
28
|
+
strikethrough: s,
|
|
29
|
+
tag: d = "span",
|
|
30
|
+
...m
|
|
31
|
+
}, l) => {
|
|
32
|
+
const A = T(
|
|
33
33
|
t.typography,
|
|
34
34
|
o.caption,
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
O[e],
|
|
36
|
+
b[p],
|
|
37
|
+
g[i],
|
|
38
38
|
{
|
|
39
|
-
[t.strikethrough]: !!
|
|
40
|
-
[t.underline]: !!c && !
|
|
41
|
-
[t.underlineStrikethrough]: !!
|
|
39
|
+
[t.strikethrough]: !!s && !c,
|
|
40
|
+
[t.underline]: !!c && !s,
|
|
41
|
+
[t.underlineStrikethrough]: !!s && !!c
|
|
42
42
|
},
|
|
43
43
|
n
|
|
44
44
|
);
|
|
45
|
-
return /* @__PURE__ */ E(
|
|
45
|
+
return /* @__PURE__ */ E(d, { ref: l, className: A, ...m, children: r });
|
|
46
46
|
}
|
|
47
47
|
);
|
|
48
48
|
u.displayName = "Caption";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as M } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as S } from "react";
|
|
3
|
-
import { c as
|
|
3
|
+
import { c as d } from "../../chunks/vendor-Dlne6Znf.js";
|
|
4
4
|
import { ETextSize as o, EFontWeightText as c, ELineType as a, EFontType as x } from "./enums.js";
|
|
5
|
-
import { t as _, F as L } from "../../chunks/constants-
|
|
6
|
-
const N = "
|
|
5
|
+
import { t as _, F as L } from "../../chunks/constants-sbJX8JQ4.js";
|
|
6
|
+
const N = "text__489db179", O = "regular__9751b6c6", f = "semibold__4de90575", g = "b1__1724048c", y = "b2__7a01bed8", R = "b3__a4e9cfda", P = "compact__9c37f39d", C = "b4__9e92db00", t = {
|
|
7
7
|
text: N,
|
|
8
8
|
regular: O,
|
|
9
|
-
semibold:
|
|
10
|
-
b1:
|
|
11
|
-
b2:
|
|
12
|
-
b3:
|
|
9
|
+
semibold: f,
|
|
10
|
+
b1: g,
|
|
11
|
+
b2: y,
|
|
12
|
+
b3: R,
|
|
13
13
|
compact: P,
|
|
14
14
|
b4: C
|
|
15
15
|
}, u = {
|
|
@@ -25,8 +25,8 @@ const N = "text__7e56bbb8", O = "regular__7a7cbc43", g = "semibold__24f9d9eb", y
|
|
|
25
25
|
[a.COMPACT]: t.compact
|
|
26
26
|
}, I = S(
|
|
27
27
|
({
|
|
28
|
-
children:
|
|
29
|
-
className:
|
|
28
|
+
children: r,
|
|
29
|
+
className: b,
|
|
30
30
|
size: m,
|
|
31
31
|
weight: n = c.REGULAR,
|
|
32
32
|
line: p = a.NORMAL,
|
|
@@ -36,7 +36,7 @@ const N = "text__7e56bbb8", O = "regular__7a7cbc43", g = "semibold__24f9d9eb", y
|
|
|
36
36
|
tag: T = "span",
|
|
37
37
|
...E
|
|
38
38
|
}, l) => {
|
|
39
|
-
const i =
|
|
39
|
+
const i = d(
|
|
40
40
|
_.typography,
|
|
41
41
|
t.text,
|
|
42
42
|
u[m],
|
|
@@ -48,9 +48,9 @@ const N = "text__7e56bbb8", O = "regular__7a7cbc43", g = "semibold__24f9d9eb", y
|
|
|
48
48
|
[_.underline]: !!e && !s,
|
|
49
49
|
[_.underlineStrikethrough]: !!s && !!e
|
|
50
50
|
},
|
|
51
|
-
|
|
51
|
+
b
|
|
52
52
|
);
|
|
53
|
-
return /* @__PURE__ */ M(T, { ref: l, className: i, ...E, children:
|
|
53
|
+
return /* @__PURE__ */ M(T, { ref: l, className: i, ...E, children: r });
|
|
54
54
|
}
|
|
55
55
|
);
|
|
56
56
|
I.displayName = "Text";
|
|
@@ -2,8 +2,8 @@ import { jsx as E } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as b } from "react";
|
|
3
3
|
import { c as p } from "../../chunks/vendor-Dlne6Znf.js";
|
|
4
4
|
import { ETitleSize as l, EFontWeightTitle as o, EFontType as S } from "./enums.js";
|
|
5
|
-
import { t as e, F as A } from "../../chunks/constants-
|
|
6
|
-
const M = "
|
|
5
|
+
import { t as e, F as A } from "../../chunks/constants-sbJX8JQ4.js";
|
|
6
|
+
const M = "title__093a48db", f = "regular__9751b6c6", g = "semibold__4de90575", u = "medium__44eb8d88", y = "bold__8b1c8d06", O = "h1__5964210e", L = "h2__74a1fed8", N = "h3__fc8e56c5", t = {
|
|
7
7
|
title: M,
|
|
8
8
|
regular: f,
|
|
9
9
|
semibold: g,
|
|
@@ -23,11 +23,11 @@ const M = "title__9ce00217", f = "regular__7a7cbc43", g = "semibold__24f9d9eb",
|
|
|
23
23
|
[o.BOLD]: t.bold
|
|
24
24
|
}, P = b(
|
|
25
25
|
({
|
|
26
|
-
children:
|
|
27
|
-
className:
|
|
26
|
+
children: m,
|
|
27
|
+
className: i,
|
|
28
28
|
size: r,
|
|
29
|
-
weight:
|
|
30
|
-
type:
|
|
29
|
+
weight: c = o.SEMIBOLD,
|
|
30
|
+
type: a = S.PRIMARY,
|
|
31
31
|
underline: s,
|
|
32
32
|
strikethrough: _,
|
|
33
33
|
tag: d = `${r}`,
|
|
@@ -37,16 +37,16 @@ const M = "title__9ce00217", f = "regular__7a7cbc43", g = "semibold__24f9d9eb",
|
|
|
37
37
|
e.typography,
|
|
38
38
|
t.title,
|
|
39
39
|
I[r],
|
|
40
|
-
F[
|
|
41
|
-
A[
|
|
40
|
+
F[c],
|
|
41
|
+
A[a],
|
|
42
42
|
{
|
|
43
43
|
[e.strikethrough]: !!_ && !s,
|
|
44
44
|
[e.underline]: !!s && !_,
|
|
45
45
|
[e.underlineStrikethrough]: !!_ && !!s
|
|
46
46
|
},
|
|
47
|
-
|
|
47
|
+
i
|
|
48
48
|
);
|
|
49
|
-
return /* @__PURE__ */ E(d, { ref: h, className: T, ...n, children:
|
|
49
|
+
return /* @__PURE__ */ E(d, { ref: h, className: T, ...n, children: m });
|
|
50
50
|
}
|
|
51
51
|
);
|
|
52
52
|
P.displayName = "Title";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import s from "react";
|
|
3
3
|
import { c as d } from "../../chunks/vendor-Dlne6Znf.js";
|
|
4
|
-
import { UnorderedListItem as
|
|
5
|
-
const
|
|
6
|
-
unorderedList:
|
|
4
|
+
import { UnorderedListItem as a } from "./UnorderedListItem.js";
|
|
5
|
+
const i = "unorderedList__aa3732a9", m = {
|
|
6
|
+
unorderedList: i
|
|
7
7
|
}, n = Object.assign(
|
|
8
8
|
s.forwardRef(({ className: r, ...e }, t) => /* @__PURE__ */ o(
|
|
9
9
|
"ul",
|
|
10
10
|
{
|
|
11
11
|
className: d(m.unorderedList, r),
|
|
12
12
|
...e,
|
|
13
|
-
"data-tx": "1.
|
|
13
|
+
"data-tx": "1.19.1",
|
|
14
14
|
ref: t
|
|
15
15
|
}
|
|
16
16
|
)),
|
|
17
17
|
{
|
|
18
|
-
Item:
|
|
18
|
+
Item: a
|
|
19
19
|
}
|
|
20
20
|
);
|
|
21
21
|
n.displayName = "UnorderedList";
|
|
@@ -5,23 +5,23 @@ import { ETextSize as d } from "../Typography/enums.js";
|
|
|
5
5
|
import "../Typography/Caption.js";
|
|
6
6
|
import { Text as i } from "../Typography/Text.js";
|
|
7
7
|
import "../Typography/Title.js";
|
|
8
|
-
const a = "
|
|
8
|
+
const a = "unorderedListItem__4102a14d", n = {
|
|
9
9
|
unorderedListItem: a
|
|
10
|
-
},
|
|
10
|
+
}, p = m.forwardRef(
|
|
11
11
|
({ className: t, ...e }, r) => /* @__PURE__ */ o(
|
|
12
12
|
i,
|
|
13
13
|
{
|
|
14
|
-
className: s(
|
|
14
|
+
className: s(n.unorderedListItem, t),
|
|
15
15
|
size: d.B3,
|
|
16
16
|
tag: "li",
|
|
17
17
|
...e,
|
|
18
|
-
"data-tx": "1.
|
|
18
|
+
"data-tx": "1.19.1",
|
|
19
19
|
ref: r
|
|
20
20
|
}
|
|
21
21
|
)
|
|
22
22
|
);
|
|
23
|
-
|
|
23
|
+
p.displayName = "UnorderedListItem";
|
|
24
24
|
export {
|
|
25
|
-
|
|
25
|
+
p as UnorderedListItem
|
|
26
26
|
};
|
|
27
27
|
//# sourceMappingURL=UnorderedListItem.js.map
|
|
@@ -1,102 +1,111 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { createRoot as
|
|
4
|
-
import { c as
|
|
5
|
-
import { s as
|
|
6
|
-
import { UploadZoneContext as
|
|
7
|
-
const
|
|
8
|
-
|
|
1
|
+
import { jsx as w, jsxs as H } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as M, useState as U, useRef as h, useCallback as r, createElement as y, useEffect as Z } from "react";
|
|
3
|
+
import { createRoot as S } from "react-dom/client";
|
|
4
|
+
import { c as b } from "../../chunks/vendor-Dlne6Znf.js";
|
|
5
|
+
import { s as E, U as T } from "../../chunks/UploadZoneInput-CXhNQ2dO.js";
|
|
6
|
+
import { UploadZoneContext as q } from "./UploadZoneContext.js";
|
|
7
|
+
const z = Object.assign(
|
|
8
|
+
M((j, C) => {
|
|
9
9
|
const {
|
|
10
|
-
dropZoneContainer:
|
|
11
|
-
children:
|
|
12
|
-
className:
|
|
13
|
-
onChange:
|
|
14
|
-
renderContainerContent:
|
|
15
|
-
onDrop:
|
|
16
|
-
onDragOver:
|
|
17
|
-
...
|
|
18
|
-
} =
|
|
19
|
-
|
|
20
|
-
}, []),
|
|
21
|
-
|
|
22
|
-
}, []),
|
|
10
|
+
dropZoneContainer: n,
|
|
11
|
+
children: I,
|
|
12
|
+
className: f,
|
|
13
|
+
onChange: m,
|
|
14
|
+
renderContainerContent: c,
|
|
15
|
+
onDrop: l,
|
|
16
|
+
onDragOver: u,
|
|
17
|
+
...v
|
|
18
|
+
} = j, [L, D] = U(!1), [d, O] = U(void 0), t = h(0), o = h(null), a = h(null), i = r(() => {
|
|
19
|
+
t.current += 1, t.current === 1 && D(!0);
|
|
20
|
+
}, []), p = r(() => {
|
|
21
|
+
t.current -= 1, t.current === 0 && D(!1);
|
|
22
|
+
}, []), N = r(
|
|
23
23
|
(e) => {
|
|
24
|
-
e && (e.addEventListener("dragenter",
|
|
24
|
+
e && (e.addEventListener("dragenter", i), e.addEventListener("dragleave", p));
|
|
25
25
|
},
|
|
26
|
-
[
|
|
27
|
-
),
|
|
26
|
+
[i, p]
|
|
27
|
+
), R = r(
|
|
28
28
|
(e) => {
|
|
29
|
-
e && (e.removeEventListener("dragenter",
|
|
29
|
+
e && (e.removeEventListener("dragenter", i), e.removeEventListener("dragleave", p));
|
|
30
30
|
},
|
|
31
|
-
[
|
|
32
|
-
),
|
|
31
|
+
[i, p]
|
|
32
|
+
), k = r(
|
|
33
33
|
(e) => {
|
|
34
|
-
e.preventDefault(),
|
|
34
|
+
e.preventDefault(), u == null || u(e);
|
|
35
35
|
},
|
|
36
|
-
[
|
|
37
|
-
),
|
|
36
|
+
[u]
|
|
37
|
+
), x = r(
|
|
38
38
|
(e) => {
|
|
39
|
-
e.preventDefault(),
|
|
39
|
+
e.preventDefault(), l == null || l(e), m(e.dataTransfer.files, e), D(!1), t.current = 0;
|
|
40
40
|
},
|
|
41
|
-
[
|
|
42
|
-
),
|
|
41
|
+
[m, l]
|
|
42
|
+
), A = r(() => {
|
|
43
43
|
const e = document.createElement("div");
|
|
44
|
-
return
|
|
45
|
-
/* @__PURE__ */
|
|
44
|
+
return a.current = S(e), a.current.render(
|
|
45
|
+
/* @__PURE__ */ y(
|
|
46
46
|
"div",
|
|
47
47
|
{
|
|
48
|
-
className:
|
|
49
|
-
onDragOver:
|
|
50
|
-
onDrop:
|
|
51
|
-
...
|
|
48
|
+
className: b(E.uploadZoneContainerDragArea, f),
|
|
49
|
+
onDragOver: k,
|
|
50
|
+
onDrop: x,
|
|
51
|
+
...v,
|
|
52
52
|
key: "uploadZoneDragArea",
|
|
53
53
|
role: "none"
|
|
54
54
|
},
|
|
55
|
-
|
|
55
|
+
c == null ? void 0 : c()
|
|
56
56
|
)
|
|
57
57
|
), e;
|
|
58
|
-
}, [
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
58
|
+
}, [f, k, x, c, v]), s = r(() => {
|
|
59
|
+
a.current && (a.current.unmount(), a.current = null);
|
|
60
|
+
const e = o.current;
|
|
61
|
+
e != null && e.parentNode && e.parentNode.removeChild(e), o.current = null;
|
|
62
|
+
}, []);
|
|
63
|
+
Z(() => (N(n), () => {
|
|
64
|
+
R(n);
|
|
65
|
+
}), [n, N, R]), Z(() => {
|
|
66
|
+
n && (L ? o.current && n.contains(o.current) || (s(), o.current = A(), n.appendChild(o.current)) : s());
|
|
67
|
+
}, [L, n, A, s]), Z(
|
|
68
|
+
() => () => {
|
|
69
|
+
s(), t.current = 0;
|
|
70
|
+
},
|
|
71
|
+
[s]
|
|
72
|
+
);
|
|
73
|
+
const g = () => {
|
|
74
|
+
d == null || d.click();
|
|
75
|
+
}, P = (e) => {
|
|
76
|
+
e.stopPropagation(), g();
|
|
68
77
|
};
|
|
69
|
-
return /* @__PURE__ */
|
|
70
|
-
|
|
78
|
+
return /* @__PURE__ */ w(
|
|
79
|
+
q.Provider,
|
|
71
80
|
{
|
|
72
81
|
value: {
|
|
73
|
-
inputNode:
|
|
74
|
-
onChange:
|
|
75
|
-
openUploadDialog:
|
|
76
|
-
setInputNode:
|
|
82
|
+
inputNode: d,
|
|
83
|
+
onChange: m,
|
|
84
|
+
openUploadDialog: g,
|
|
85
|
+
setInputNode: O
|
|
77
86
|
},
|
|
78
|
-
children: /* @__PURE__ */
|
|
79
|
-
/* @__PURE__ */
|
|
87
|
+
children: /* @__PURE__ */ H("div", { className: E.uploadZone, "data-tx": "1.19.1", ref: C, children: [
|
|
88
|
+
/* @__PURE__ */ y(
|
|
80
89
|
"div",
|
|
81
90
|
{
|
|
82
|
-
className:
|
|
83
|
-
onClick:
|
|
84
|
-
...
|
|
91
|
+
className: b(E.uploadZoneDragArea, f),
|
|
92
|
+
onClick: P,
|
|
93
|
+
...v,
|
|
85
94
|
key: "uploadZoneDragArea",
|
|
86
95
|
role: "none"
|
|
87
96
|
}
|
|
88
97
|
),
|
|
89
|
-
|
|
98
|
+
I({ openUploadDialog: g })
|
|
90
99
|
] })
|
|
91
100
|
}
|
|
92
101
|
);
|
|
93
102
|
}),
|
|
94
103
|
{
|
|
95
|
-
Input:
|
|
104
|
+
Input: T
|
|
96
105
|
}
|
|
97
106
|
);
|
|
98
|
-
|
|
107
|
+
z.displayName = "UploadZone";
|
|
99
108
|
export {
|
|
100
|
-
|
|
109
|
+
z as UploadZone
|
|
101
110
|
};
|
|
102
111
|
//# sourceMappingURL=UploadZone.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react";
|
|
2
2
|
import "../UploadZoneContext.js";
|
|
3
3
|
import "../../../chunks/vendor-Dlne6Znf.js";
|
|
4
|
-
import { U as i } from "../../../chunks/UploadZoneInput-
|
|
4
|
+
import { U as i } from "../../../chunks/UploadZoneInput-CXhNQ2dO.js";
|
|
5
5
|
export {
|
|
6
6
|
i as UploadZoneInput
|
|
7
7
|
};
|