@sberbusiness/triplex-next 1.2.0 → 1.4.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-B3Xzh0I2.js → AlertProcessSpoiler-BQv9QI6L.js} +10 -10
- package/chunks/Card.module-kTbr6OQy.js +17 -0
- package/chunks/Chip-G6cGXuGj.js +90 -0
- package/chunks/DropdownListItem-D2hzyBGc.js +57 -0
- package/chunks/DropdownMobile.module-Fa_t6vz1.js +21 -0
- package/chunks/Footer.module-B3uFxh54.js +9 -0
- package/chunks/FormFieldInput-CO7yZP0Q.js +62 -0
- package/chunks/HeaderLayoutSidebar.module-CGCy_cim.js +9 -0
- package/chunks/HeaderTabs.module-DMuNfILv.js +9 -0
- package/chunks/HeaderTitle.module-BHyH17ZI.js +11 -0
- package/chunks/IslandAccordion.module-7xAwgJVI.js +22 -0
- package/chunks/LightBoxContent-DmoszkOx.js +56 -0
- package/chunks/LightBoxControls.module-42gn-co3.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-B_oIB3rc.js +8 -0
- package/chunks/{ListItemControlsButton-BdtSkcyn.js → ListItemControlsButton-BoEiexyr.js} +6 -6
- package/chunks/ListItemTail.module-BB5TJPEc.js +12 -0
- package/chunks/ListMasterFooter.module-DxZ_nXDV.js +10 -0
- package/chunks/Notification.module-C-HCMpAz.js +21 -0
- package/chunks/Overlay.module-q-oPhooa.js +18 -0
- package/chunks/Page.module-DjGbJ-Uw.js +12 -0
- package/chunks/{RightBorderArrow-BA2_2Ry3.js → RightBorderArrow-BHW7rkmN.js} +15 -15
- package/chunks/SMSInput.module-Ci4GRnk_.js +16 -0
- package/chunks/StatusTracker.module-zTyojoH4.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-Dz-VDDoR.js → SuggestFieldMobileDropdownHint-CMKMF0PQ.js} +2 -2
- package/chunks/TableFooter.module-DrRycaTr.js +13 -0
- package/chunks/TabsExtended.module-Be8qpZYz.js +16 -0
- package/chunks/TabsLine.module-DKAp48Sx.js +23 -0
- package/chunks/TooltipDesktop.module-D72ObNia.js +19 -0
- package/chunks/{UploadZoneInput-CioKsqkV.js → UploadZoneInput-pdhICY56.js} +9 -9
- package/chunks/utils-B7AjUpy-.js +20 -0
- package/chunks/utils-C-1ATq_g.js +24 -0
- package/chunks/{utils-D7E_PKCe.js → utils-C8a4iCV0.js} +5 -5
- package/chunks/{utils-B5p23Ple.js → utils-C9-tOm2Z.js} +7 -7
- package/chunks/{utils-DPXynVs1.js → utils-DwX2_kEA.js} +10 -10
- package/chunks/{vendor-CehxOAkM.js → vendor-Ba_pyhza.js} +5132 -5003
- package/components/AbstractTree/AbstractTreeNode.js +50 -0
- package/components/AccordionBase/protected/AccordionBase.js +83 -0
- package/components/Alert/AlertContext/AlertContext.js +12 -12
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +23 -24
- package/components/AmountField/AmountField.js +11 -11
- package/components/Body/Body.js +25 -8
- package/components/Body/enums.js +5 -0
- package/components/Button/Button.js +47 -46
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +13 -13
- package/components/Button/ButtonDropdownExtended.js +5 -5
- package/components/Button/ButtonIcon.js +15 -19
- package/components/Button/enums.js +2 -3
- package/components/Button/index.js +9 -10
- package/components/Card/CardAction.js +10 -10
- package/components/Card/CardStatic.js +3 -3
- package/components/Card/components/CardContent/CardContent.js +2 -2
- package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
- package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
- package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
- package/components/Card/components/CardMedia.js +2 -2
- package/components/Card/utils.js +1 -1
- package/components/CarouselExtended/CarouselExtended.js +2 -2
- package/components/Checkbox/Checkbox.js +15 -15
- package/components/Checkbox/CheckboxXGroup.js +13 -13
- package/components/Checkbox/CheckboxYGroup.js +4 -4
- package/components/CheckboxTree/CheckboxTree.js +39 -0
- package/components/CheckboxTree/types.js +2 -0
- package/components/CheckboxTree/utils.js +22 -0
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +13 -0
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +52 -0
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +39 -0
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +53 -0
- package/components/CheckboxTreeExtended/isStaticCheckboxTreeExtended.js +5 -0
- package/components/Chip/Chip.js +8 -83
- package/components/Chip/ChipClearButton.js +16 -24
- package/components/Chip/ChipDropdownArrow.js +9 -9
- package/components/Chip/ChipIcon.js +4 -4
- package/components/Chip/ChipOptions.js +6 -6
- package/components/Chip/ChipSelect.js +55 -0
- package/components/Chip/ChipSuggest/ChipSuggest.js +21 -0
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +85 -0
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +42 -0
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +81 -0
- package/components/Chip/ChipSuggest/index.js +7 -0
- package/components/Chip/ChipSuggest/types.js +2 -0
- package/components/Chip/index.js +9 -5
- package/components/ChipGroup/ChipGroup.js +15 -15
- package/components/Col/Col.js +141 -141
- package/components/CollapsableTree/CollapsableTree.js +10 -0
- package/components/CollapsableTree/components/CollapsableTreeNode.js +79 -0
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/DesignTokensComponents.js +61 -40
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +60 -34
- package/components/DesignTokens/components/Card.js +6 -3
- package/components/DesignTokens/components/Island.js +1 -1
- package/components/DesignTokens/components/IslandAccordion.js +9 -0
- package/components/DesignTokens/components/LightBox.js +11 -0
- package/components/DesignTokens/components/Loader.js +13 -7
- package/components/DesignTokens/components/LoaderScreen.js +17 -0
- package/components/DesignTokens/components/Marker.js +4 -4
- package/components/DesignTokens/components/Notification.js +15 -0
- package/components/DesignTokens/components/SMSInput.js +26 -0
- package/components/DesignTokens/components/StatusTracker.js +35 -0
- package/components/DesignTokens/components/Step.js +44 -0
- package/components/DesignTokens/components/Tag.js +9 -0
- package/components/DesignTokens/components/index.js +81 -63
- package/components/Divider/Divider.js +21 -21
- package/components/Dropdown/desktop/DropdownDesktop.js +18 -18
- package/components/Dropdown/desktop/DropdownList.js +42 -41
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Dropdown/mobile/DropdownMobile.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileInput.js +6 -6
- package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
- package/components/Ellipsis/Ellipsis.js +8 -8
- package/components/ExpandAnimation/ExpandAnimation.js +26 -26
- package/components/Footer/Footer.js +9 -20
- package/components/Footer/components/FooterDescription.js +2 -2
- package/components/Footer/components/FooterDescriptionContent.js +2 -2
- package/components/Footer/components/FooterDescriptionControls.js +2 -2
- package/components/FormField/FormField.js +21 -21
- package/components/FormField/components/FormFieldClear.js +9 -9
- package/components/FormField/components/FormFieldCounter.js +1 -1
- package/components/FormField/components/FormFieldDescription.js +5 -5
- package/components/FormField/components/FormFieldInput.js +4 -3
- package/components/FormField/components/FormFieldLabel.js +14 -14
- package/components/FormField/components/FormFieldMaskedInput.js +15 -15
- package/components/FormField/components/FormFieldPostfix.js +6 -6
- package/components/FormField/components/FormFieldPrefix.js +9 -9
- package/components/FormField/components/FormFieldTarget.js +22 -22
- package/components/FormField/components/FormFieldTextarea.js +32 -28
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +15 -27
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
- package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
- package/components/Header/components/HeaderSubheader/HeaderSubheader.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +15 -7
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +14 -6
- package/components/HelpBox/HelpBox.js +13 -13
- package/components/Island/Island.js +12 -16
- package/components/Island/components/IslandBody.js +5 -5
- package/components/Island/components/IslandFooter.js +5 -5
- package/components/Island/components/IslandHeader.js +3 -3
- package/components/Island/components/index.js +9 -0
- package/components/Island/index.js +7 -1
- package/components/Island/utils.js +1 -3
- package/components/IslandAccordion/IslandAccordion.js +31 -0
- package/components/IslandAccordion/IslandAccordionContext.js +16 -0
- package/components/IslandAccordion/components/IslandAccordionContent.js +12 -0
- package/components/IslandAccordion/components/IslandAccordionFooter.js +13 -0
- package/components/IslandAccordion/components/IslandAccordionItem.js +122 -0
- package/components/IslandAccordion/components/IslandAccordionTitle.js +21 -0
- package/components/IslandAccordion/components/index.js +11 -0
- package/components/IslandAccordion/index.js +13 -0
- package/components/LightBox/LightBox.js +105 -0
- package/components/LightBox/LightBoxContent.js +10 -0
- package/components/LightBox/LightBoxControls/LightBoxClose.js +53 -0
- package/components/LightBox/LightBoxControls/LightBoxControls.js +15 -0
- package/components/LightBox/LightBoxControls/LightBoxNext.js +58 -0
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +58 -0
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +106 -0
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +35 -0
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +27 -0
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +21 -0
- package/components/LightBox/LightBoxTopOverlay/LightBoxTopOverlay.js +86 -0
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +63 -0
- package/components/LightBox/LightBoxViewManager/LightBoxViewManagerConsts.js +28 -0
- package/components/LightBox/index.js +7 -0
- package/components/Link/Link.js +11 -11
- package/components/List/List.js +11 -11
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +2 -2
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +7 -7
- package/components/List/components/ListItemControls.js +6 -6
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +7 -7
- package/components/List/components/ListItemSelectable.js +16 -16
- package/components/List/components/ListItemTable.js +7 -7
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +6 -6
- package/components/List/components/ListSortableItemControls.js +5 -5
- 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 +2 -2
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +11 -11
- package/components/ListMaster/components/SelectionControls.js +7 -7
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +18 -17
- package/components/Loader/LoaderSmall/LoaderSmall.js +5 -5
- package/components/LoaderScreen/LoaderScreen.js +28 -0
- package/components/LoaderScreen/index.js +5 -0
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +32 -28
- package/components/Notification/Notification.js +40 -0
- package/components/Notification/NotificationGrouped.js +12 -0
- package/components/Notification/components/NotificationBody.js +19 -0
- package/components/Notification/components/NotificationBodyContent.js +8 -0
- package/components/Notification/components/NotificationBodyList.js +11 -0
- package/components/Notification/components/NotificationClose.js +14 -0
- package/components/Notification/components/NotificationFooter.js +8 -0
- package/components/Notification/components/NotificationGroupedFooter.js +11 -0
- package/components/Notification/components/NotificationHeader.js +8 -0
- package/components/Notification/components/NotificationIcon.js +8 -0
- package/components/Notification/components/NotificationTime.js +8 -0
- package/components/NumberField/NumberField.js +8 -0
- package/components/NumberField/NumberFieldInput.js +38 -0
- package/components/NumberField/index.js +5 -0
- package/components/NumberField/types.js +2 -0
- package/components/OrderedList/OrderedList.js +6 -6
- package/components/OrderedList/OrderedListItem.js +11 -11
- package/components/Overlay/Overlay.js +2 -2
- package/components/Overlay/OverlayMask.js +2 -2
- package/components/Overlay/OverlayPanel.js +2 -2
- package/components/Page/Page.js +13 -13
- package/components/Page/components/BodyPage.js +2 -2
- package/components/Page/components/FooterPage.js +35 -29
- package/components/Page/components/HeaderPage.js +22 -28
- package/components/Page/components/useStickyCornerRadius.js +32 -22
- package/components/Pagination/components/PaginationExtended.js +6 -6
- package/components/Pagination/components/PaginationNavigationButton.js +7 -7
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +6 -6
- package/components/Pagination/components/PaginationPageEllipsis.js +3 -3
- package/components/Pagination/components/PaginationSelect.js +7 -7
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +10 -10
- package/components/Radio/RadioXGroup.js +11 -11
- package/components/Radio/RadioYGroup.js +9 -9
- package/components/Row/Row.js +5 -5
- package/components/SMSInput/SMSInput.js +41 -0
- package/components/SMSInput/SMSInputContext.js +23 -0
- package/components/SMSInput/components/RefreshIcon.js +35 -0
- package/components/SMSInput/components/SMSInputInput.js +63 -0
- package/components/SMSInput/components/SMSInputRefresh.js +39 -0
- package/components/SMSInput/components/SMSInputSubmit.js +43 -0
- package/components/SMSInput/components/SMSInputTooltip.js +38 -0
- package/components/SMSInput/components/SubmitIcon.js +19 -0
- package/components/SMSInput/index.js +5 -0
- package/components/SMSInput/types.js +2 -0
- package/components/SegmentedControl/SegmentedControl.js +11 -11
- package/components/SegmentedControl/SegmentedControlSegment.js +11 -11
- package/components/SelectExtendedField/SelectExtendedField.js +2 -2
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +4 -4
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +10 -10
- package/components/Spoiler/Spoiler.js +75 -0
- package/components/Spoiler/index.js +5 -0
- package/components/StatusTracker/StatusTracker.js +45 -0
- package/components/StatusTracker/components/StatusTrackerAlert.js +18 -0
- package/components/StatusTracker/components/StatusTrackerBody.js +20 -0
- package/components/StatusTracker/components/StatusTrackerButton.js +16 -0
- package/components/StatusTracker/components/StatusTrackerDescription.js +24 -0
- package/components/StatusTracker/components/StatusTrackerFooter.js +28 -0
- package/components/StatusTracker/components/StatusTrackerHeader.js +22 -0
- package/components/StatusTracker/components/StatusTrackerMedia.js +11 -0
- package/components/StatusTracker/components/StatusTrackerStatus.js +12 -0
- package/components/StatusTracker/components/StatusTrackerSum.js +25 -0
- package/components/StatusTracker/components/StatusTrackerTitle.js +24 -0
- package/components/StatusTracker/enums.js +6 -0
- package/components/StatusTracker/index.js +5 -0
- package/components/Step/Step.js +49 -0
- package/components/Step/enums.js +6 -0
- package/components/Step/index.js +9 -0
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +7 -7
- package/components/Stepper/StepperExtended.js +5 -5
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +5 -5
- package/components/Suggest/Suggest.js +99 -0
- package/components/Suggest/SuggestContext.js +29 -0
- package/components/Suggest/SuggestMobileDropdownContent.js +96 -0
- package/components/Suggest/index.js +8 -0
- package/components/Suggest/types.js +2 -0
- package/components/SuggestField/SuggestField.js +11 -12
- package/components/SuggestField/SuggestFieldTarget.js +35 -32
- package/components/SuggestField/SuggestFieldTargetPostfix.js +1 -1
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +81 -80
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
- package/components/SuggestField/index.js +1 -1
- package/components/SuggestField/mobile/SuggestFieldMobile.js +27 -26
- 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 +17 -17
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +3 -3
- package/components/Table/NoColumns.js +6 -6
- package/components/Table/PaginationPanel.js +3 -3
- package/components/Table/TableBasic/TableBasic.js +33 -32
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +19 -18
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +11 -11
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +6 -6
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +7 -7
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +10 -10
- package/components/Table/TableFooter/TableFooter.js +2 -2
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +9 -9
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +10 -21
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +6 -6
- package/components/Table/TabsLinePanelLinks.js +2 -2
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +6 -6
- package/components/TabsExtended/TabsExtended.js +3 -3
- package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
- package/components/TabsExtended/utils.js +1 -1
- package/components/TabsLine/TabsLine.js +2 -2
- package/components/TabsLine/components/TabsLineDesktop.js +2 -2
- package/components/TabsLine/components/TabsLineDropdown.js +4 -4
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +10 -10
- package/components/Tag/Tag.js +70 -0
- package/components/Tag/index.js +5 -0
- package/components/Tag/types.js +2 -0
- package/components/TagGroup/TagGroup.js +25 -0
- package/components/TagGroup/index.js +5 -0
- package/components/TagGroup/types.js +2 -0
- package/components/TextField/TextField.js +1 -1
- package/components/TextareaField/TextareaField.js +18 -0
- package/components/TextareaField/index.js +5 -0
- package/components/TextareaField/types.js +2 -0
- package/components/ThemeProvider/ThemeProvider.js +3 -3
- package/components/ThemeProvider/components/ThemeProviderView.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +16 -16
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
- package/components/Tooltip/components/mobile/TooltipMobile.js +7 -7
- package/components/TreeView/TreeView.js +88 -0
- package/components/TreeView/TreeViewAbstractNode.js +38 -0
- package/components/TreeView/TreeViewAbstractNodeUtils.js +112 -0
- package/components/TreeView/TreeViewContext.js +30 -0
- package/components/TreeView/components/TreeViewGroup.js +6 -0
- package/components/TreeView/components/TreeViewNode.js +81 -0
- package/components/Triggers/TriggerClickOnKeyDownEvent.js +15 -0
- package/components/Typography/Caption.js +9 -9
- package/components/Typography/Text.js +30 -30
- package/components/Typography/Title.js +15 -15
- package/components/Typography/index.js +15 -13
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +3 -3
- package/components/UnorderedList/UnorderedListItem.js +7 -7
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +18 -0
- package/components/index.js +418 -356
- package/helpers/less/z-indexes.less +3 -3
- package/index.d.ts +952 -88
- package/index.js +426 -364
- package/package.json +49 -5
- package/styles/triplex-next.css +472 -436
- package/utils/amountUtils.js +1 -1
- package/utils/focus/FocusTrapUtils.js +11 -0
- package/utils/scroll/scrollbar.js +14 -0
- package/chunks/Card.module-Dh5vP2zv.js +0 -17
- package/chunks/DropdownListItem-B1GkU8rn.js +0 -57
- package/chunks/DropdownMobile.module-CYlB98Oc.js +0 -21
- package/chunks/Footer.module-Bk8QkaWN.js +0 -11
- package/chunks/FormFieldInput-n8Ee4EcP.js +0 -63
- package/chunks/HeaderLayoutSidebar.module-CDNHX5_G.js +0 -9
- package/chunks/HeaderTabs.module-yaGpurOU.js +0 -9
- package/chunks/HeaderTitle.module-XzB-YndL.js +0 -9
- package/chunks/ListItemTail.module-D_m5pMsh.js +0 -12
- package/chunks/ListMasterFooter.module-DXrsYZZo.js +0 -10
- package/chunks/Overlay.module-BghrPKKn.js +0 -18
- package/chunks/Page.module-D6xCdUbr.js +0 -12
- package/chunks/TableFooter.module-BzfTOGS_.js +0 -13
- package/chunks/TabsExtended.module-B3nvdhKr.js +0 -16
- package/chunks/TabsLine.module-Dlj__Yjk.js +0 -23
- package/chunks/TooltipDesktop.module-TiWl3v5C.js +0 -19
- package/chunks/utils-BtcCJ4_U.js +0 -20
- package/chunks/utils-DjxtOr-n.js +0 -48
- package/components/Chip/enums.js +0 -5
- package/components/DesignTokens/components/LoaderWidget.js +0 -17
- package/components/DesignTokens/components/Page.js +0 -9
- package/components/LoaderWidget/LoaderWidget.js +0 -29
- package/components/LoaderWidget/index.js +0 -5
- /package/components/{Island → AccordionBase}/types.js +0 -0
|
@@ -1,31 +1,25 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import T, { useRef as R } from "react";
|
|
3
3
|
import { Header as e } from "../../Header/Header.js";
|
|
4
|
-
import { EHeaderPageType as
|
|
5
|
-
import { c as
|
|
6
|
-
import { Island as
|
|
7
|
-
import { EIslandType as
|
|
8
|
-
import { useStickyCornerRadius as
|
|
9
|
-
import { s as
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
paddingSize: 16,
|
|
24
|
-
ref: n,
|
|
25
|
-
children: /* @__PURE__ */ o(e, { ...s })
|
|
26
|
-
}
|
|
27
|
-
) : /* @__PURE__ */ o(e, { ref: r, className: m(p.headerPageTypeFirst, t), ...s });
|
|
28
|
-
}),
|
|
4
|
+
import { EHeaderPageType as t } from "./enums.js";
|
|
5
|
+
import { c as p } from "../../../chunks/vendor-Ba_pyhza.js";
|
|
6
|
+
import { Island as S } from "../../Island/Island.js";
|
|
7
|
+
import { EIslandType as y } from "../../Island/enums.js";
|
|
8
|
+
import { useStickyCornerRadius as b } from "./useStickyCornerRadius.js";
|
|
9
|
+
import { s as i } from "../../../chunks/Page.module-DjGbJ-Uw.js";
|
|
10
|
+
const j = Object.assign(
|
|
11
|
+
T.forwardRef(
|
|
12
|
+
({ className: m, type: a, size: n, sticky: d, ...f }, r) => {
|
|
13
|
+
const l = R(null);
|
|
14
|
+
b(l, "top", a === t.FIRST && d);
|
|
15
|
+
const c = (o) => {
|
|
16
|
+
l.current = o, typeof r == "function" ? r(o) : r && (r.current = o);
|
|
17
|
+
}, u = p(m, i.headerPageTypeFirst, {
|
|
18
|
+
[i.sticky]: a === t.FIRST && d
|
|
19
|
+
});
|
|
20
|
+
return a === t.FIRST ? /* @__PURE__ */ s(S, { className: u, type: y.TYPE_1, size: n, ref: c, children: /* @__PURE__ */ s(e, { ...f }) }) : /* @__PURE__ */ s(e, { ref: r, className: p(i.headerPageTypeSecond, m), ...f });
|
|
21
|
+
}
|
|
22
|
+
),
|
|
29
23
|
{
|
|
30
24
|
LayoutSidebar: e.LayoutSidebar,
|
|
31
25
|
Subhead: e.Subhead,
|
|
@@ -34,6 +28,6 @@ const H = Object.assign(
|
|
|
34
28
|
}
|
|
35
29
|
);
|
|
36
30
|
export {
|
|
37
|
-
|
|
31
|
+
j as HeaderPage
|
|
38
32
|
};
|
|
39
33
|
//# sourceMappingURL=HeaderPage.js.map
|
|
@@ -1,34 +1,44 @@
|
|
|
1
|
-
import { useEffect as
|
|
2
|
-
function
|
|
3
|
-
let t =
|
|
1
|
+
import { useEffect as v } from "react";
|
|
2
|
+
function E(i) {
|
|
3
|
+
let t = i;
|
|
4
4
|
for (; t && t !== document.documentElement; ) {
|
|
5
|
-
const
|
|
6
|
-
if (/(auto|scroll|overlay)/.test(
|
|
5
|
+
const e = getComputedStyle(t).overflowY;
|
|
6
|
+
if (/(auto|scroll|overlay)/.test(e) && t.scrollHeight > t.clientHeight) return t;
|
|
7
7
|
t = t.parentElement;
|
|
8
8
|
}
|
|
9
9
|
return window;
|
|
10
10
|
}
|
|
11
|
-
function
|
|
12
|
-
|
|
13
|
-
const e =
|
|
11
|
+
function L(i, t, c = !0) {
|
|
12
|
+
v(() => {
|
|
13
|
+
const e = i.current;
|
|
14
14
|
if (!e) return;
|
|
15
|
-
const
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
15
|
+
const u = t === "top" ? "--r-top" : "--r-bottom";
|
|
16
|
+
if (!c) {
|
|
17
|
+
e.style.removeProperty(u), delete e.dataset.stuck;
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
const p = 24;
|
|
21
|
+
let d = 0, r = 0, s = window, l = null;
|
|
22
|
+
const m = () => {
|
|
23
|
+
r = 0;
|
|
24
|
+
const o = e.getBoundingClientRect(), n = s === window ? { top: 0, bottom: window.innerHeight } : s.getBoundingClientRect(), g = t === "top" ? o.top - (n.top + d) : n.bottom - d - o.bottom, f = Math.max(0, Math.min(p, g));
|
|
25
|
+
e.style.setProperty(u, `${f}px`), f <= 0.5 ? e.dataset.stuck = "true" : delete e.dataset.stuck;
|
|
26
|
+
}, a = () => {
|
|
27
|
+
r || (r = requestAnimationFrame(m));
|
|
28
|
+
}, y = () => {
|
|
29
|
+
const o = getComputedStyle(e), n = t === "top" ? o.top : o.bottom;
|
|
30
|
+
d = parseFloat(n || "0") || 0, s = E(e), l = s === window ? window : s, m(), l.addEventListener("scroll", a, { passive: !0 }), window.addEventListener("resize", a), window.addEventListener("transitionend", w);
|
|
31
|
+
}, w = (o) => {
|
|
32
|
+
o.target && o.target instanceof HTMLElement && o.target.classList && o.propertyName === "transform" && Array.from(o.target.classList).some(
|
|
33
|
+
(n) => n.includes("lightBoxSideOverlayContent")
|
|
34
|
+
) && m();
|
|
23
35
|
};
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
return u.addEventListener("scroll", s, { passive: !0 }), window.addEventListener("resize", s), () => {
|
|
27
|
-
u.removeEventListener("scroll", s), window.removeEventListener("resize", s), o && cancelAnimationFrame(o);
|
|
36
|
+
return y(), () => {
|
|
37
|
+
l && l.removeEventListener("scroll", a), window.removeEventListener("resize", a), window.removeEventListener("transitionend", w), r && cancelAnimationFrame(r);
|
|
28
38
|
};
|
|
29
|
-
}, [
|
|
39
|
+
}, [i, t, c]);
|
|
30
40
|
}
|
|
31
41
|
export {
|
|
32
|
-
|
|
42
|
+
L as useStickyCornerRadius
|
|
33
43
|
};
|
|
34
44
|
//# sourceMappingURL=useStickyCornerRadius.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
1
|
+
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
+
import { c as o } from "../../../chunks/vendor-Ba_pyhza.js";
|
|
3
3
|
import i from "react";
|
|
4
|
-
const r = "
|
|
4
|
+
const r = "paginationExtended__7979df6c", s = {
|
|
5
5
|
paginationExtended: r
|
|
6
6
|
}, x = i.forwardRef(
|
|
7
|
-
({ children: t, className: a, ...n }, e) => /* @__PURE__ */
|
|
7
|
+
({ children: t, className: a, ...n }, e) => /* @__PURE__ */ d(
|
|
8
8
|
"nav",
|
|
9
9
|
{
|
|
10
|
-
className:
|
|
11
|
-
"data-tx": "1.
|
|
10
|
+
className: o(s.paginationExtended, a),
|
|
11
|
+
"data-tx": "1.4.0",
|
|
12
12
|
...n,
|
|
13
13
|
ref: e,
|
|
14
14
|
children: t
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import r from "react";
|
|
3
3
|
import { ButtonIcon as p } from "../../Button/ButtonIcon.js";
|
|
4
4
|
import { EButtonIconShape as m } from "../../Button/enums.js";
|
|
5
5
|
import { EPaginationNavigationIconDirection as s } from "../enums.js";
|
|
6
6
|
import { CaretleftStrokeSrvIcon24 as o } from "@sberbusiness/icons-next";
|
|
7
|
-
const g = "
|
|
7
|
+
const g = "paginationNavigationButton__d18ce87c", N = "directionIconNext__4555aac3", n = {
|
|
8
8
|
paginationNavigationButton: g,
|
|
9
9
|
directionIconNext: N
|
|
10
|
-
},
|
|
10
|
+
}, d = r.forwardRef(
|
|
11
11
|
({ direction: i, ...a }, e) => {
|
|
12
|
-
const
|
|
12
|
+
const c = i === s.BACK;
|
|
13
13
|
return /* @__PURE__ */ t(
|
|
14
14
|
p,
|
|
15
15
|
{
|
|
@@ -17,13 +17,13 @@ const g = "paginationNavigationButton__4e277988", N = "directionIconNext__f08058
|
|
|
17
17
|
shape: m.SQUIRCLE,
|
|
18
18
|
...a,
|
|
19
19
|
ref: e,
|
|
20
|
-
children:
|
|
20
|
+
children: c ? /* @__PURE__ */ t(o, { paletteIndex: 5 }) : /* @__PURE__ */ t(o, { paletteIndex: 5, className: n.directionIconNext })
|
|
21
21
|
}
|
|
22
22
|
);
|
|
23
23
|
}
|
|
24
24
|
);
|
|
25
|
-
|
|
25
|
+
d.displayName = "PaginationNavigationButton";
|
|
26
26
|
export {
|
|
27
|
-
|
|
27
|
+
d as PaginationNavigationButton
|
|
28
28
|
};
|
|
29
29
|
//# sourceMappingURL=PaginationNavigationButton.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import e from "react";
|
|
3
|
-
import { c as d } from "../../../chunks/vendor-
|
|
4
|
-
const g = "
|
|
3
|
+
import { c as d } from "../../../chunks/vendor-Ba_pyhza.js";
|
|
4
|
+
const g = "paginationNavigationExtended__b95e2d3a", r = {
|
|
5
5
|
paginationNavigationExtended: g
|
|
6
6
|
}, s = e.forwardRef(
|
|
7
7
|
({ children: a, className: t, ...i }, n) => /* @__PURE__ */ o("ul", { className: d(r.paginationNavigationExtended, t), ...i, ref: n, children: a })
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import g from "react";
|
|
3
|
-
import { c } from "../../../chunks/vendor-
|
|
4
|
-
const s = "
|
|
3
|
+
import { c } from "../../../chunks/vendor-Ba_pyhza.js";
|
|
4
|
+
const s = "paginationPageButton__6e91ed4b", u = "currentPage__aefe3f07", a = {
|
|
5
5
|
paginationPageButton: s,
|
|
6
6
|
currentPage: u
|
|
7
7
|
}, P = g.forwardRef(
|
|
8
|
-
({ isCurrent: t = !1, children:
|
|
8
|
+
({ isCurrent: t = !1, children: e, className: n, ...o }, i) => /* @__PURE__ */ r(
|
|
9
9
|
"button",
|
|
10
10
|
{
|
|
11
11
|
className: c(
|
|
@@ -13,12 +13,12 @@ const s = "paginationPageButton__d2028b65", u = "currentPage__51807c3f", a = {
|
|
|
13
13
|
{
|
|
14
14
|
[a.currentPage]: t
|
|
15
15
|
},
|
|
16
|
-
|
|
16
|
+
n
|
|
17
17
|
),
|
|
18
18
|
"aria-live": t ? "polite" : void 0,
|
|
19
|
-
...
|
|
19
|
+
...o,
|
|
20
20
|
ref: i,
|
|
21
|
-
children:
|
|
21
|
+
children: e
|
|
22
22
|
}
|
|
23
23
|
)
|
|
24
24
|
);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
-
import { c as e } from "../../../chunks/vendor-
|
|
2
|
+
import { c as e } from "../../../chunks/vendor-Ba_pyhza.js";
|
|
3
3
|
import o from "react";
|
|
4
|
-
const t = "
|
|
4
|
+
const t = "pageEllipsis__59df78ae", r = {
|
|
5
5
|
pageEllipsis: t
|
|
6
6
|
}, n = o.forwardRef(
|
|
7
|
-
({ children: s, className:
|
|
7
|
+
({ children: s, className: a, ...i }, l) => /* @__PURE__ */ p("span", { className: e(r.pageEllipsis, a), ...i, ref: l, children: s })
|
|
8
8
|
);
|
|
9
9
|
n.displayName = "PaginationPageEllipsis";
|
|
10
10
|
export {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsxs as g, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import S, { useRef as f } from "react";
|
|
3
|
-
import { a as x, c as N } from "../../../chunks/vendor-
|
|
3
|
+
import { a as x, c as N } from "../../../chunks/vendor-Ba_pyhza.js";
|
|
4
4
|
import "../../Typography/Title.js";
|
|
5
5
|
import { Text as v } from "../../Typography/Text.js";
|
|
6
6
|
import "../../Typography/Caption.js";
|
|
7
7
|
import { ETextSize as _ } from "../../Typography/enums.js";
|
|
8
|
-
const
|
|
9
|
-
paginationSelect:
|
|
10
|
-
paginationSelectControl:
|
|
8
|
+
const b = "paginationSelect__edb33000", h = "paginationSelectControl__4469791d", o = {
|
|
9
|
+
paginationSelect: b,
|
|
10
|
+
paginationSelectControl: h
|
|
11
11
|
}, y = S.forwardRef(
|
|
12
|
-
({ paginationLabel: c, className: s, hidden: d, options: i, value:
|
|
12
|
+
({ paginationLabel: c, className: s, hidden: d, options: i, value: a, onChange: n }, m) => {
|
|
13
13
|
const l = f(`Pagination-${x()}`), p = i && i.length > 0 ? i : [10, 20, 50, 100], u = (e) => {
|
|
14
14
|
const r = Number(e.target.value);
|
|
15
|
-
Number.isNaN(r) ||
|
|
15
|
+
Number.isNaN(r) || n == null || n(r);
|
|
16
16
|
};
|
|
17
17
|
return d ? null : /* @__PURE__ */ g("div", { className: N(o.paginationSelect, s), ref: m, children: [
|
|
18
18
|
/* @__PURE__ */ t(v, { size: _.B3, id: l.current, children: c }),
|
|
@@ -20,7 +20,7 @@ const h = "paginationSelect__5ed26ede", b = "paginationSelectControl__1da96928",
|
|
|
20
20
|
"select",
|
|
21
21
|
{
|
|
22
22
|
"aria-labelledby": l.current,
|
|
23
|
-
value:
|
|
23
|
+
value: a !== void 0 ? String(a) : void 0,
|
|
24
24
|
onChange: u,
|
|
25
25
|
children: p.map((e) => /* @__PURE__ */ t("option", { value: e, children: e }, e))
|
|
26
26
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as R } from "../../../chunks/vendor-
|
|
1
|
+
import { j as R } from "../../../chunks/vendor-Ba_pyhza.js";
|
|
2
2
|
const m = -1, h = {
|
|
3
3
|
// Создание массива чисел в заданном диапазоне с заданным шагом.
|
|
4
4
|
generateRange: (n, i, e = 1) => n > i ? [] : R(n, i + 1, e),
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as f, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import N from "react";
|
|
3
|
-
import { c as
|
|
3
|
+
import { c as m } from "../../chunks/vendor-Ba_pyhza.js";
|
|
4
4
|
import "../Typography/Title.js";
|
|
5
5
|
import { Text as x } from "../Typography/Text.js";
|
|
6
6
|
import "../Typography/Caption.js";
|
|
7
|
-
import { ETextSize as
|
|
7
|
+
import { ETextSize as n } from "../Typography/enums.js";
|
|
8
8
|
import { EComponentSize as i } from "../../enums/EComponentSize.js";
|
|
9
9
|
import { createSizeToClassNameMap as z } from "../../utils/classNameMaps.js";
|
|
10
|
-
const y = "
|
|
10
|
+
const y = "label__c3fe9303", T = "md__21a37875", M = "nonempty__6261ba27", u = "lg__1f2875fa", I = "disabled__be8cd257", R = "radio__dcefb078", S = "radioIcon__19939bac", a = {
|
|
11
11
|
label: y,
|
|
12
12
|
md: T,
|
|
13
13
|
nonempty: M,
|
|
@@ -16,17 +16,17 @@ const y = "label__8e78cb1e", T = "md__8280a700", M = "nonempty__9b65a847", u = "
|
|
|
16
16
|
radio: R,
|
|
17
17
|
radioIcon: S
|
|
18
18
|
}, g = {
|
|
19
|
-
[i.LG]:
|
|
20
|
-
[i.MD]:
|
|
21
|
-
}, C = z(a), h = N.forwardRef((
|
|
22
|
-
const { children: s, className:
|
|
19
|
+
[i.LG]: n.B2,
|
|
20
|
+
[i.MD]: n.B3
|
|
21
|
+
}, C = z(a), h = N.forwardRef((r, d) => {
|
|
22
|
+
const { children: s, className: l, disabled: c, labelAttributes: o, size: e = i.MD, ...p } = r, _ = m(a.radio, l, C[e]), b = m(
|
|
23
23
|
a.label,
|
|
24
24
|
a[e],
|
|
25
|
-
{ [a.disabled]: !!
|
|
25
|
+
{ [a.disabled]: !!c, [a.nonempty]: !!s },
|
|
26
26
|
o == null ? void 0 : o.className
|
|
27
27
|
);
|
|
28
|
-
return /* @__PURE__ */ f("label", { ...o, className: b, "data-tx": "1.
|
|
29
|
-
/* @__PURE__ */ t("input", { type: "radio", className: _, disabled:
|
|
28
|
+
return /* @__PURE__ */ f("label", { ...o, className: b, "data-tx": "1.4.0", children: [
|
|
29
|
+
/* @__PURE__ */ t("input", { type: "radio", className: _, disabled: c, ...p, ref: d }),
|
|
30
30
|
/* @__PURE__ */ t("span", { className: a.radioIcon }),
|
|
31
31
|
s && /* @__PURE__ */ t(x, { size: g[e], children: s })
|
|
32
32
|
] });
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { c as s } from "../../chunks/vendor-
|
|
3
|
-
const c = "
|
|
2
|
+
import { c as s } from "../../chunks/vendor-Ba_pyhza.js";
|
|
3
|
+
const c = "radioXGroup__ecb24a83", _ = "label__c3fe9303", n = {
|
|
4
4
|
radioXGroup: c,
|
|
5
|
-
"indent-12": "indent-
|
|
5
|
+
"indent-12": "indent-12__555c2369",
|
|
6
6
|
label: _,
|
|
7
|
-
"indent-16": "indent-
|
|
8
|
-
"indent-20": "indent-
|
|
9
|
-
"indent-24": "indent-
|
|
10
|
-
"indent-28": "indent-
|
|
11
|
-
"indent-32": "indent-
|
|
12
|
-
}, l = (
|
|
13
|
-
const { children:
|
|
14
|
-
return /* @__PURE__ */ r("div", { className: a, role: "radiogroup", ...
|
|
7
|
+
"indent-16": "indent-16__2708432f",
|
|
8
|
+
"indent-20": "indent-20__6cbab84c",
|
|
9
|
+
"indent-24": "indent-24__50f6ef8b",
|
|
10
|
+
"indent-28": "indent-28__ca1ff69f",
|
|
11
|
+
"indent-32": "indent-32__eecf987e"
|
|
12
|
+
}, l = (e) => {
|
|
13
|
+
const { children: i, className: o, indent: t = 12, ...d } = e, a = s(n.radioXGroup, n[`indent-${t}`], o);
|
|
14
|
+
return /* @__PURE__ */ r("div", { className: a, role: "radiogroup", ...d, children: i });
|
|
15
15
|
};
|
|
16
16
|
l.displayName = "RadioXGroup";
|
|
17
17
|
export {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c
|
|
3
|
-
const
|
|
4
|
-
radioYGroup:
|
|
5
|
-
},
|
|
6
|
-
const { children: r, className: s, ...a } = o,
|
|
7
|
-
return /* @__PURE__ */
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { c } from "../../chunks/vendor-Ba_pyhza.js";
|
|
3
|
+
const e = "radioYGroup__1f7e60dd", p = {
|
|
4
|
+
radioYGroup: e
|
|
5
|
+
}, t = (o) => {
|
|
6
|
+
const { children: r, className: s, ...a } = o, d = c(p.radioYGroup, s);
|
|
7
|
+
return /* @__PURE__ */ i("div", { className: d, role: "radiogroup", ...a, children: r });
|
|
8
8
|
};
|
|
9
|
-
|
|
9
|
+
t.displayName = "RadioYGroup";
|
|
10
10
|
export {
|
|
11
|
-
|
|
11
|
+
t as RadioYGroup
|
|
12
12
|
};
|
|
13
13
|
//# sourceMappingURL=RadioYGroup.js.map
|
package/components/Row/Row.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as m } from "../../chunks/vendor-
|
|
3
|
-
const a = "
|
|
1
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import { c as m } from "../../chunks/vendor-Ba_pyhza.js";
|
|
3
|
+
const a = "row__19f39b2b", i = "noPaddingBottom__7c495d32", o = {
|
|
4
4
|
row: a,
|
|
5
5
|
noPaddingBottom: i
|
|
6
6
|
}, e = ({ children: t, className: n, paddingBottom: s = !0, ...r }) => {
|
|
7
|
-
const
|
|
8
|
-
return /* @__PURE__ */
|
|
7
|
+
const d = m(n, o.row, { [o.noPaddingBottom]: !s });
|
|
8
|
+
return /* @__PURE__ */ c("div", { className: d, ...r, children: t });
|
|
9
9
|
};
|
|
10
10
|
e.displayName = "Row";
|
|
11
11
|
export {
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { c as C } from "../../chunks/vendor-Ba_pyhza.js";
|
|
3
|
+
import { useState as e } from "react";
|
|
4
|
+
import { SMSInputContext as h } from "./SMSInputContext.js";
|
|
5
|
+
import { SMSInputInput as N } from "./components/SMSInputInput.js";
|
|
6
|
+
import { SMSInputRefresh as x } from "./components/SMSInputRefresh.js";
|
|
7
|
+
import { SMSInputSubmit as T } from "./components/SMSInputSubmit.js";
|
|
8
|
+
import { SMSInputTooltip as v } from "./components/SMSInputTooltip.js";
|
|
9
|
+
import { s as r } from "../../chunks/SMSInput.module-Ci4GRnk_.js";
|
|
10
|
+
import { createSizeToClassNameMap as z } from "../../utils/classNameMaps.js";
|
|
11
|
+
const y = z(r), t = (i) => {
|
|
12
|
+
const { children: m, className: p, code: a, disabled: n, error: S, onChangeCode: l, onSubmitCode: u, size: o, ...d } = i, [c, I] = e(!0), [f, b] = e(), M = C(r.smsInput, p);
|
|
13
|
+
return /* @__PURE__ */ s(
|
|
14
|
+
h.Provider,
|
|
15
|
+
{
|
|
16
|
+
value: {
|
|
17
|
+
code: a,
|
|
18
|
+
disabled: !!n,
|
|
19
|
+
disabledSubmit: c,
|
|
20
|
+
error: !!S,
|
|
21
|
+
onChangeCode: l,
|
|
22
|
+
onSubmitCode: u,
|
|
23
|
+
setDisabledSubmit: I,
|
|
24
|
+
setTooltipId: b,
|
|
25
|
+
size: o,
|
|
26
|
+
sizeClassName: y[o],
|
|
27
|
+
tooltipId: f
|
|
28
|
+
},
|
|
29
|
+
children: /* @__PURE__ */ s("div", { className: M, ...d, "data-tx": "1.4.0", children: m })
|
|
30
|
+
}
|
|
31
|
+
);
|
|
32
|
+
};
|
|
33
|
+
t.displayName = "SMSInput";
|
|
34
|
+
t.Tooltip = v;
|
|
35
|
+
t.Refresh = x;
|
|
36
|
+
t.Input = N;
|
|
37
|
+
t.Submit = T;
|
|
38
|
+
export {
|
|
39
|
+
t as SMSInput
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=SMSInput.js.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import e from "react";
|
|
2
|
+
import { EComponentSize as t } from "../../enums/EComponentSize.js";
|
|
3
|
+
const o = {
|
|
4
|
+
code: "",
|
|
5
|
+
disabled: !1,
|
|
6
|
+
disabledSubmit: !0,
|
|
7
|
+
error: !1,
|
|
8
|
+
onChangeCode: () => {
|
|
9
|
+
},
|
|
10
|
+
onSubmitCode: () => {
|
|
11
|
+
},
|
|
12
|
+
setDisabledSubmit: () => {
|
|
13
|
+
},
|
|
14
|
+
setTooltipId: () => {
|
|
15
|
+
},
|
|
16
|
+
size: t.LG,
|
|
17
|
+
sizeClassName: "",
|
|
18
|
+
tooltipId: void 0
|
|
19
|
+
}, a = e.createContext(o);
|
|
20
|
+
export {
|
|
21
|
+
a as SMSInputContext
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=SMSInputContext.js.map
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { jsxs as i, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { c as P } from "../../../chunks/vendor-Ba_pyhza.js";
|
|
3
|
+
import { s as o } from "../../../chunks/SMSInput.module-Ci4GRnk_.js";
|
|
4
|
+
import { EComponentSize as u } from "../../../enums/EComponentSize.js";
|
|
5
|
+
const r = "M2 10c0-4.42 3.58-8 8-8 2.52 0 4.77 1.16 6.24 3H13.5c-.56 0-1 .44-1 1 0 .55.44 1 1 1h5c.55 0 1-.45 1-1V1c0-.56-.45-1-1-1-.56 0-1 .44-1 1v2.38A10.02 10.02 0 0 0 10 0C4.47 0 0 4.47 0 10c0 5.52 4.47 10 10 10 5.52 0 10-4.48 10-10 0-.56-.45-1-1-1-.56 0-1 .44-1 1 0 4.41-3.59 8-8 8-4.42 0-8-3.59-8-8", d = "M27 16c0 .81-.09 1.61-.27 2.39a10.9 10.9 0 0 1-1.54 3.65c-.41.62-.88 1.2-1.42 1.73-.53.54-1.11 1.01-1.73 1.42a10.906 10.906 0 0 1-3.65 1.54c-.78.18-1.58.27-2.39.27q-1.23 0-2.4-.27a10.9 10.9 0 0 1-3.65-1.54c-.62-.41-1.2-.88-1.73-1.42-.54-.53-1.01-1.11-1.42-1.73a10.906 10.906 0 0 1-1.54-3.65C5.08 17.61 5 16.81 5 16c0-.82.08-1.62.26-2.4A10.9 10.9 0 0 1 6.8 9.95c.41-.62.88-1.2 1.42-1.73.53-.54 1.11-1.01 1.73-1.42a10.906 10.906 0 0 1 3.65-1.54C14.38 5.08 15.18 5 16 5a11.1 11.1 0 0 1 2.93.39c.44.12.86.27 1.27.44.47.19.93.42 1.37.68.39.23.75.47 1.1.74.4.31.78.64 1.14 1 .06.06.12.13.19.2V6c0-.57.44-1 1-1s1 .43 1 1v5c0 .66-.34 1-1 1h-5c-.56 0-1-.44-1-1 0-.57.44-1 1-1h2.7c-.1-.12-.21-.23-.31-.34-.3-.3-.61-.58-.95-.83-.28-.21-.57-.41-.88-.59a8.753 8.753 0 0 0-3-1.11C17.05 7.04 16.53 7 16 7c-.69 0-1.35.07-2 .22-.52.11-1.02.27-1.51.48-.5.21-.97.47-1.42.76a9 9 0 0 0-2.61 2.61c-.29.45-.55.92-.76 1.42-.21.49-.37.99-.48 1.51A8.8 8.8 0 0 0 7 16c0 .68.07 1.34.22 1.99.11.52.27 1.02.48 1.51.21.5.47.97.76 1.42q.51.78 1.17 1.44c.45.44.92.83 1.44 1.17.45.29.92.55 1.42.76.49.21.99.37 1.51.48a8.803 8.803 0 0 0 3.99 0c.52-.11 1.02-.27 1.51-.48.5-.21.97-.47 1.42-.76a9 9 0 0 0 2.61-2.61c.29-.45.55-.92.76-1.42.21-.49.37-.99.48-1.51.15-.65.23-1.31.23-1.99 0-.57.44-1 1-1s1 .43 1 1", v = Math.PI / 180, e = Math.PI * 2, M = (c) => (c = c % 360, c = c < 0 ? 360 + c : c, c * v), n = M(-8), h = M(-19), m = h < n ? e - (n - h) : h - n, p = (c, t) => Math.round(c * Math.cos(t) * 1e3) / 1e3, f = (c, t) => Math.round(c * Math.sin(t) * 1e3) / 1e3, w = (c, t, a, l) => "M" + c + " " + t + // Смещаем перо в центр окружности.
|
|
6
|
+
"L" + // Рисуем горизонтальную линию вправо в начало сектора.
|
|
7
|
+
(c + p(a, n)) + // Координата X начала дуги.
|
|
8
|
+
" " + (t + f(a, n)) + // Координата Y начала дуги.
|
|
9
|
+
"A" + // Рисуем дугу.
|
|
10
|
+
a + // Радиус окружности дуги по оси X.
|
|
11
|
+
" " + a + // Радиус окружности дуги по оси Y.
|
|
12
|
+
" 0 " + // Смещение центра по оси X.
|
|
13
|
+
(l > 0.5 ? "1" : "0") + // Флаг отрисовки длинной дуги (если 0 то короткой).
|
|
14
|
+
" 1 " + // Рисовать по часовой стрелке.
|
|
15
|
+
(c + p(a, (n + l * m) % e)) + // Координата X конца дуги.
|
|
16
|
+
" " + (t + f(a, (n + l * m) % e)) + // Координата Y конца дуги.
|
|
17
|
+
"Z", C = (c) => {
|
|
18
|
+
const t = Math.round(Math.min(c.percent, 0.999) * 1e3) / 1e3, a = P({
|
|
19
|
+
[o.disabled]: c.disabled,
|
|
20
|
+
[o.empty]: !c.disabled
|
|
21
|
+
});
|
|
22
|
+
return c.size === u.LG ? /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "32", viewBox: "0 0 32 32", focusable: "false", children: [
|
|
23
|
+
/* @__PURE__ */ s("clipPath", { id: `clipFront${t}`, children: /* @__PURE__ */ s("path", { d: w(16, 16, 18, t) }) }),
|
|
24
|
+
/* @__PURE__ */ s("path", { className: a, d }),
|
|
25
|
+
/* @__PURE__ */ s("path", { className: o.full, d, clipPath: `url(#clipFront${t})` })
|
|
26
|
+
] }) : /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", focusable: "false", children: [
|
|
27
|
+
/* @__PURE__ */ s("clipPath", { id: `clipFront${t}`, children: /* @__PURE__ */ s("path", { d: w(10, 10, 14, t) }) }),
|
|
28
|
+
/* @__PURE__ */ s("path", { className: a, d: r }),
|
|
29
|
+
/* @__PURE__ */ s("path", { className: o.full, d: r, clipPath: `url(#clipFront${t})` })
|
|
30
|
+
] });
|
|
31
|
+
};
|
|
32
|
+
export {
|
|
33
|
+
C as RefreshIcon
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=RefreshIcon.js.map
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { jsxs as d, jsx as r, Fragment as g } from "react/jsx-runtime";
|
|
2
|
+
import { c as _ } from "../../../chunks/vendor-Ba_pyhza.js";
|
|
3
|
+
import v, { useContext as M } from "react";
|
|
4
|
+
import { FormField as T } from "../../FormField/FormField.js";
|
|
5
|
+
import { FormFieldDescription as j } from "../../FormField/components/FormFieldDescription.js";
|
|
6
|
+
import { FormFieldCounter as y } from "../../FormField/components/FormFieldCounter.js";
|
|
7
|
+
import "../../FormField/components/FormFieldLabel.js";
|
|
8
|
+
import "../../FormField/components/FormFieldClear.js";
|
|
9
|
+
import "../../FormField/components/FormFieldTarget.js";
|
|
10
|
+
import { F as z } from "../../../chunks/FormFieldInput-CO7yZP0Q.js";
|
|
11
|
+
import "../../FormField/components/FormFieldMaskedInput.js";
|
|
12
|
+
import "../../FormField/components/FormFieldPostfix.js";
|
|
13
|
+
import "../../FormField/components/FormFieldPrefix.js";
|
|
14
|
+
import "../../FormField/components/FormFieldTextarea.js";
|
|
15
|
+
import { EFormFieldStatus as s } from "../../FormField/enums.js";
|
|
16
|
+
import { FormGroup as A } from "../../FormGroup/FormGroup.js";
|
|
17
|
+
import { SMSInputContext as L } from "../SMSInputContext.js";
|
|
18
|
+
import { s as O } from "../../../chunks/SMSInput.module-Ci4GRnk_.js";
|
|
19
|
+
import { EVENT_KEY_CODES as k } from "../../../utils/keyboard.js";
|
|
20
|
+
const w = new RegExp(/^[0-9]*$/), B = v.forwardRef(
|
|
21
|
+
({ className: u, counter: o, description: l, disabled: f, maxLength: c = 8, onChange: e, onKeyDown: m, placeholder: F, ...E }, S) => {
|
|
22
|
+
const {
|
|
23
|
+
code: p,
|
|
24
|
+
disabled: C,
|
|
25
|
+
disabledSubmit: h,
|
|
26
|
+
error: x,
|
|
27
|
+
onChangeCode: I,
|
|
28
|
+
onSubmitCode: N,
|
|
29
|
+
size: R,
|
|
30
|
+
sizeClassName: a
|
|
31
|
+
} = M(L), b = C || f, D = _(O.input, a, u);
|
|
32
|
+
let i = s.DEFAULT;
|
|
33
|
+
return b && (i = s.DISABLED), x && (i = s.ERROR), /* @__PURE__ */ d(A, { children: [
|
|
34
|
+
/* @__PURE__ */ r(T, { className: a, onKeyDown: (t) => {
|
|
35
|
+
t.keyCode === k.ENTER && !h && N(p), m == null || m(t);
|
|
36
|
+
}, size: R, status: i, children: /* @__PURE__ */ r(
|
|
37
|
+
z,
|
|
38
|
+
{
|
|
39
|
+
autoComplete: "off",
|
|
40
|
+
className: D,
|
|
41
|
+
maxLength: c,
|
|
42
|
+
onChange: (t) => {
|
|
43
|
+
const n = t.target.value;
|
|
44
|
+
w.test(n) && (I(n), e == null || e(t));
|
|
45
|
+
},
|
|
46
|
+
placeholder: F,
|
|
47
|
+
ref: S,
|
|
48
|
+
value: p,
|
|
49
|
+
...E
|
|
50
|
+
}
|
|
51
|
+
) }),
|
|
52
|
+
/* @__PURE__ */ r(j, { children: l || o ? /* @__PURE__ */ d(g, { children: [
|
|
53
|
+
l,
|
|
54
|
+
o ? /* @__PURE__ */ r(y, { children: o }) : null
|
|
55
|
+
] }) : null })
|
|
56
|
+
] });
|
|
57
|
+
}
|
|
58
|
+
);
|
|
59
|
+
B.displayName = "SMSInputInput";
|
|
60
|
+
export {
|
|
61
|
+
B as SMSInputInput
|
|
62
|
+
};
|
|
63
|
+
//# sourceMappingURL=SMSInputInput.js.map
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import { c as u } from "../../../chunks/vendor-Ba_pyhza.js";
|
|
3
|
+
import { forwardRef as x, useContext as M, useMemo as N } from "react";
|
|
4
|
+
import "../../Button/Button.js";
|
|
5
|
+
import "../../Button/ButtonBase.js";
|
|
6
|
+
import { ButtonIcon as y } from "../../Button/ButtonIcon.js";
|
|
7
|
+
import "../../Button/ButtonDropdown.js";
|
|
8
|
+
import "../../Button/ButtonDropdownExtended.js";
|
|
9
|
+
import { EButtonIconShape as B } from "../../Button/enums.js";
|
|
10
|
+
import { SMSInputContext as z } from "../SMSInputContext.js";
|
|
11
|
+
import { RefreshIcon as D } from "./RefreshIcon.js";
|
|
12
|
+
import { s as m } from "../../../chunks/SMSInput.module-Ci4GRnk_.js";
|
|
13
|
+
const E = x(
|
|
14
|
+
({ className: i, disabled: r, countdownTime: s, countdownTimeLeft: e, onClick: o, onRefresh: l, ...n }, f) => {
|
|
15
|
+
const { disabled: t, error: c, size: h, sizeClassName: I, tooltipId: S } = M(z), d = e > 0, a = t && !c || r || d, b = u(m.btnRefresh, I, i, {
|
|
16
|
+
[m.disabled]: a
|
|
17
|
+
}), C = N(() => e >= s || t || r ? 0 : (s - e) / s, [s, e, t, r]);
|
|
18
|
+
return /* @__PURE__ */ p(
|
|
19
|
+
y,
|
|
20
|
+
{
|
|
21
|
+
"aria-describedby": S,
|
|
22
|
+
className: b,
|
|
23
|
+
disabled: a,
|
|
24
|
+
onClick: (R) => {
|
|
25
|
+
l(), o == null || o(R);
|
|
26
|
+
},
|
|
27
|
+
ref: f,
|
|
28
|
+
shape: B.CIRCLE,
|
|
29
|
+
...n,
|
|
30
|
+
children: /* @__PURE__ */ p(D, { percent: C || 0, size: h, disabled: !!(t || r) })
|
|
31
|
+
}
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
);
|
|
35
|
+
E.displayName = "SMSInputRefresh";
|
|
36
|
+
export {
|
|
37
|
+
E as SMSInputRefresh
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=SMSInputRefresh.js.map
|