@sberbusiness/triplex-next 1.3.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-BQv9QI6L.js +39 -0
- 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-Ms4q9wDe.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-D6ZllSTT.js → RightBorderArrow-BHW7rkmN.js} +4 -4
- package/chunks/SMSInput.module-Ci4GRnk_.js +16 -0
- package/chunks/StatusTracker.module-zTyojoH4.js +24 -0
- package/chunks/{SuggestFieldMobileDropdownHint-Cc_fZLBH.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-Bkv3b0F5.js → UploadZoneInput-pdhICY56.js} +3 -3
- package/chunks/{utils-CVSz7tV_.js → utils-B7AjUpy-.js} +2 -2
- package/chunks/utils-C-1ATq_g.js +24 -0
- package/chunks/{utils-DWPj89gs.js → utils-C8a4iCV0.js} +6 -6
- package/chunks/{utils-BZFu5eVD.js → utils-C9-tOm2Z.js} +10 -10
- package/chunks/utils-DwX2_kEA.js +72 -0
- package/chunks/{vendor-CehxOAkM.js → vendor-Ba_pyhza.js} +5132 -5003
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +14 -14
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +20 -21
- 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 +42 -41
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +2 -2
- package/components/Button/ButtonDropdownExtended.js +2 -2
- package/components/Button/ButtonIcon.js +9 -9
- package/components/Card/CardAction.js +16 -16
- 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 +7 -7
- package/components/Checkbox/Checkbox.js +21 -21
- package/components/Checkbox/CheckboxXGroup.js +14 -14
- package/components/Checkbox/CheckboxYGroup.js +2 -2
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +3 -3
- package/components/Chip/Chip.js +5 -3
- package/components/Chip/ChipClearButton.js +16 -24
- package/components/Chip/ChipDropdownArrow.js +5 -5
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipOptions.js +6 -6
- package/components/Chip/ChipSelect.js +2 -2
- 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/index.js +7 -3
- package/components/ChipGroup/ChipGroup.js +13 -13
- package/components/Col/Col.js +135 -135
- package/components/CollapsableTree/components/CollapsableTreeNode.js +6 -6
- package/components/DesignTokens/DesignTokenUtils.js +2 -2
- package/components/DesignTokens/DesignTokensComponents.js +54 -40
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +59 -40
- 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/SMSInput.js +26 -0
- package/components/DesignTokens/components/StatusTracker.js +35 -0
- package/components/DesignTokens/components/Step.js +44 -0
- package/components/DesignTokens/components/index.js +76 -64
- package/components/Divider/Divider.js +21 -21
- package/components/Dropdown/desktop/DropdownDesktop.js +15 -15
- 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 +4 -4
- 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 +12 -12
- 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 +9 -9
- package/components/FormField/components/FormFieldClear.js +10 -10
- package/components/FormField/components/FormFieldCounter.js +1 -1
- package/components/FormField/components/FormFieldDescription.js +4 -4
- package/components/FormField/components/FormFieldInput.js +4 -3
- package/components/FormField/components/FormFieldLabel.js +9 -9
- package/components/FormField/components/FormFieldMaskedInput.js +22 -22
- package/components/FormField/components/FormFieldPostfix.js +8 -8
- package/components/FormField/components/FormFieldPrefix.js +8 -8
- package/components/FormField/components/FormFieldTarget.js +11 -11
- 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 +6 -6
- 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 +20 -20
- package/components/Island/Island.js +12 -16
- package/components/Island/components/IslandBody.js +4 -4
- package/components/Island/components/IslandFooter.js +3 -3
- package/components/Island/components/IslandHeader.js +4 -4
- 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 +21 -21
- package/components/List/List.js +8 -8
- 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 +5 -5
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
- package/components/List/components/ListItemLoading.js +7 -7
- package/components/List/components/ListItemSelectable.js +7 -7
- package/components/List/components/ListItemTable.js +4 -4
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +10 -10
- package/components/List/components/ListSortableItemControls.js +5 -5
- package/components/List/components/ListSortableItemTarget.js +5 -5
- 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 +7 -7
- 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 +3 -3
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +18 -17
- package/components/Loader/LoaderSmall/LoaderSmall.js +11 -11
- package/components/LoaderScreen/LoaderScreen.js +17 -18
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +13 -13
- package/components/Notification/Notification.js +3 -3
- package/components/Notification/NotificationGrouped.js +1 -1
- package/components/Notification/components/NotificationBody.js +1 -1
- package/components/Notification/components/NotificationBodyContent.js +1 -1
- package/components/Notification/components/NotificationBodyList.js +2 -2
- package/components/Notification/components/NotificationClose.js +1 -1
- package/components/Notification/components/NotificationFooter.js +1 -1
- package/components/Notification/components/NotificationGroupedFooter.js +2 -2
- package/components/Notification/components/NotificationHeader.js +1 -1
- package/components/Notification/components/NotificationIcon.js +1 -1
- package/components/Notification/components/NotificationTime.js +1 -1
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +7 -7
- package/components/OrderedList/OrderedListItem.js +9 -9
- 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 +5 -5
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +6 -6
- package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
- package/components/Pagination/components/PaginationSelect.js +8 -8
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +16 -16
- package/components/Radio/RadioXGroup.js +12 -12
- 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 +14 -14
- package/components/SegmentedControl/SegmentedControlSegment.js +6 -6
- package/components/SelectExtendedField/SelectExtendedField.js +7 -7
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +8 -8
- 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 +2 -2
- 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 +24 -24
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +18 -18
- 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 +2 -2
- 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 +5 -5
- 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 +15 -15
- package/components/TabsExtended/TabsExtended.js +3 -3
- package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +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 +3 -3
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +7 -7
- package/components/Tag/Tag.js +12 -12
- package/components/TagGroup/TagGroup.js +10 -10
- 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 +19 -19
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
- package/components/Tooltip/components/mobile/TooltipMobile.js +7 -7
- package/components/TreeView/TreeView.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +1 -1
- package/components/Triggers/TriggerClickOnKeyDownEvent.js +15 -0
- package/components/Typography/Caption.js +17 -17
- package/components/Typography/Text.js +28 -28
- package/components/Typography/Title.js +11 -11
- package/components/Typography/index.js +15 -13
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +6 -6
- package/components/UnorderedList/UnorderedListItem.js +11 -11
- 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 -366
- package/index.d.ts +740 -58
- package/index.js +424 -372
- package/package.json +33 -1
- package/styles/triplex-next.css +472 -441
- package/utils/amountUtils.js +1 -1
- package/utils/focus/FocusTrapUtils.js +11 -0
- package/utils/scroll/scrollbar.js +14 -0
- package/chunks/AlertProcessSpoiler-B91XiZ7K.js +0 -39
- package/chunks/Card.module-NgdHcwYS.js +0 -17
- package/chunks/Chip-XyednI9u.js +0 -87
- package/chunks/DropdownListItem-g0mYNHIW.js +0 -57
- package/chunks/DropdownMobile.module-BBY44sVr.js +0 -21
- package/chunks/Footer.module-4a0n1yRR.js +0 -11
- package/chunks/FormFieldInput-qaJqBTBV.js +0 -63
- package/chunks/HeaderLayoutSidebar.module-BP0DyJae.js +0 -9
- package/chunks/HeaderTabs.module-CXcyvbb5.js +0 -9
- package/chunks/HeaderTitle.module-B-6xJFnf.js +0 -9
- package/chunks/ListItemTail.module-D5VudFCz.js +0 -12
- package/chunks/ListMasterFooter.module-DzXu5TSC.js +0 -10
- package/chunks/Notification.module-MX1NZXsu.js +0 -21
- package/chunks/Overlay.module-B1IlIRoo.js +0 -18
- package/chunks/Page.module-Cwb_zvqj.js +0 -12
- package/chunks/TableFooter.module-D9_esv5A.js +0 -13
- package/chunks/TabsExtended.module--2PQhvJQ.js +0 -16
- package/chunks/TabsLine.module-CH_sqFyE.js +0 -23
- package/chunks/TooltipDesktop.module-D3cbaDX1.js +0 -19
- package/chunks/utils-D8e1oAR3.js +0 -72
- package/chunks/utils-dyCpsmr1.js +0 -48
- package/components/DesignTokens/components/Page.js +0 -9
- /package/components/{Island → Chip/ChipSuggest}/types.js +0 -0
|
@@ -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__c617376c", u = "currentPage__2ee526a7", 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,7 +1,7 @@
|
|
|
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
7
|
({ children: s, className: a, ...i }, l) => /* @__PURE__ */ p("span", { className: e(r.pageEllipsis, a), ...i, ref: l, children: s })
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { a as x, c as N } from "../../../chunks/vendor-
|
|
1
|
+
import { jsxs as g, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import S, { useRef as f } from "react";
|
|
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 b = "
|
|
8
|
+
const b = "paginationSelect__edb33000", h = "paginationSelectControl__4469791d", o = {
|
|
9
9
|
paginationSelect: b,
|
|
10
10
|
paginationSelectControl: h
|
|
11
|
-
}, y =
|
|
12
|
-
({ paginationLabel: c, className: s, hidden:
|
|
13
|
-
const l =
|
|
11
|
+
}, y = S.forwardRef(
|
|
12
|
+
({ paginationLabel: c, className: s, hidden: d, options: i, value: a, onChange: n }, m) => {
|
|
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
15
|
Number.isNaN(r) || n == null || n(r);
|
|
16
16
|
};
|
|
17
|
-
return
|
|
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 }),
|
|
19
19
|
/* @__PURE__ */ t("div", { className: o.paginationSelectControl, children: /* @__PURE__ */ t(
|
|
20
20
|
"select",
|
|
@@ -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
|
-
import { jsxs as
|
|
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,19 +16,19 @@ const y = "label__065c3332", T = "md__8cdbcdeb", M = "nonempty__736d5aec", u = "
|
|
|
16
16
|
radio: R,
|
|
17
17
|
radioIcon: S
|
|
18
18
|
}, g = {
|
|
19
|
-
[i.LG]:
|
|
20
|
-
[i.MD]:
|
|
21
|
-
}, C = z(
|
|
22
|
-
const { children:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
{ [
|
|
26
|
-
|
|
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
|
+
a.label,
|
|
24
|
+
a[e],
|
|
25
|
+
{ [a.disabled]: !!c, [a.nonempty]: !!s },
|
|
26
|
+
o == null ? void 0 : o.className
|
|
27
27
|
);
|
|
28
|
-
return /* @__PURE__ */
|
|
29
|
-
/* @__PURE__ */ t("input", { type: "radio", className: _, disabled: c, ...p, ref:
|
|
30
|
-
/* @__PURE__ */ t("span", { className:
|
|
31
|
-
|
|
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
|
+
/* @__PURE__ */ t("span", { className: a.radioIcon }),
|
|
31
|
+
s && /* @__PURE__ */ t(x, { size: g[e], children: s })
|
|
32
32
|
] });
|
|
33
33
|
});
|
|
34
34
|
h.displayName = "Radio";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
3
|
-
const
|
|
4
|
-
radioXGroup:
|
|
5
|
-
"indent-12": "indent-
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { c as s } from "../../chunks/vendor-Ba_pyhza.js";
|
|
3
|
+
const c = "radioXGroup__ecb24a83", _ = "label__c3fe9303", n = {
|
|
4
|
+
radioXGroup: c,
|
|
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-
|
|
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
12
|
}, l = (e) => {
|
|
13
|
-
const { children: i, className: o, indent: t = 12, ...d } = e, a =
|
|
14
|
-
return /* @__PURE__ */
|
|
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
1
|
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
-
import { c as
|
|
3
|
-
const
|
|
4
|
-
row:
|
|
2
|
+
import { c as m } from "../../chunks/vendor-Ba_pyhza.js";
|
|
3
|
+
const a = "row__19f39b2b", i = "noPaddingBottom__7c495d32", o = {
|
|
4
|
+
row: a,
|
|
5
5
|
noPaddingBottom: i
|
|
6
6
|
}, e = ({ children: t, className: n, paddingBottom: s = !0, ...r }) => {
|
|
7
|
-
const
|
|
8
|
-
return /* @__PURE__ */ c("div", { className:
|
|
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
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { c as S } from "../../../chunks/vendor-Ba_pyhza.js";
|
|
3
|
+
import { useContext as f, useEffect as I } from "react";
|
|
4
|
+
import "../../Button/Button.js";
|
|
5
|
+
import "../../Button/ButtonBase.js";
|
|
6
|
+
import { ButtonIcon as C } from "../../Button/ButtonIcon.js";
|
|
7
|
+
import "../../Button/ButtonDropdown.js";
|
|
8
|
+
import "../../Button/ButtonDropdownExtended.js";
|
|
9
|
+
import { EButtonIconShape as h } from "../../Button/enums.js";
|
|
10
|
+
import { SMSInputContext as x } from "../SMSInputContext.js";
|
|
11
|
+
import { SubmitIcon as N } from "./SubmitIcon.js";
|
|
12
|
+
import { s as e } from "../../../chunks/SMSInput.module-Ci4GRnk_.js";
|
|
13
|
+
const D = ({ className: r, disabled: a, onClick: o, ...p }) => {
|
|
14
|
+
const {
|
|
15
|
+
code: t,
|
|
16
|
+
disabled: n,
|
|
17
|
+
onSubmitCode: u,
|
|
18
|
+
setDisabledSubmit: s,
|
|
19
|
+
size: c,
|
|
20
|
+
sizeClassName: l
|
|
21
|
+
} = f(x), m = n || a || t === "", b = S(e.btnSubmit, { [e.active]: !!t }, l, r);
|
|
22
|
+
return I(() => {
|
|
23
|
+
s(m);
|
|
24
|
+
}, [m, s]), /* @__PURE__ */ i(
|
|
25
|
+
C,
|
|
26
|
+
{
|
|
27
|
+
active: !!t,
|
|
28
|
+
className: b,
|
|
29
|
+
disabled: m,
|
|
30
|
+
onClick: (d) => {
|
|
31
|
+
u(t), o == null || o(d);
|
|
32
|
+
},
|
|
33
|
+
shape: h.CIRCLE,
|
|
34
|
+
...p,
|
|
35
|
+
children: /* @__PURE__ */ i(N, { size: c })
|
|
36
|
+
}
|
|
37
|
+
);
|
|
38
|
+
};
|
|
39
|
+
D.displayName = "SMSInputSubmit";
|
|
40
|
+
export {
|
|
41
|
+
D as SMSInputSubmit
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=SMSInputSubmit.js.map
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { jsxs as s, jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import { useContext as T, useEffect as f } from "react";
|
|
3
|
+
import { SMSInputContext as d } from "../SMSInputContext.js";
|
|
4
|
+
import { ETooltipSize as u, ETooltipAlign as S } from "../../Tooltip/enums.js";
|
|
5
|
+
import { Tooltip as t } from "../../Tooltip/Tooltip.js";
|
|
6
|
+
import { a } from "../../../chunks/vendor-Ba_pyhza.js";
|
|
7
|
+
const I = ({
|
|
8
|
+
children: r,
|
|
9
|
+
id: o,
|
|
10
|
+
message: l,
|
|
11
|
+
targetRef: m,
|
|
12
|
+
...n
|
|
13
|
+
}) => {
|
|
14
|
+
const { tooltipId: i, setTooltipId: e } = T(d);
|
|
15
|
+
return f(() => {
|
|
16
|
+
o === void 0 ? e(a()) : o !== i && e(o);
|
|
17
|
+
}, [o]), /* @__PURE__ */ s(
|
|
18
|
+
t,
|
|
19
|
+
{
|
|
20
|
+
alignTip: S.START,
|
|
21
|
+
disableAdaptiveMode: !0,
|
|
22
|
+
id: i,
|
|
23
|
+
size: u.SM,
|
|
24
|
+
targetRef: m,
|
|
25
|
+
toggleType: "hover",
|
|
26
|
+
...n,
|
|
27
|
+
children: [
|
|
28
|
+
/* @__PURE__ */ p(t.Body, { children: l }),
|
|
29
|
+
/* @__PURE__ */ p(t.Target, { children: r })
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
);
|
|
33
|
+
};
|
|
34
|
+
I.displayName = "SMSInputTooltip";
|
|
35
|
+
export {
|
|
36
|
+
I as SMSInputTooltip
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=SMSInputTooltip.js.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { jsx as C } from "react/jsx-runtime";
|
|
2
|
+
import { EComponentSize as i } from "../../../enums/EComponentSize.js";
|
|
3
|
+
const o = ({ size: e }) => e === i.LG ? /* @__PURE__ */ C("svg", { width: "26", height: "26", viewBox: "0 0 26 26", children: /* @__PURE__ */ C(
|
|
4
|
+
"path",
|
|
5
|
+
{
|
|
6
|
+
d: "M13 0C5.82 0 0 5.82 0 13C0 20.17 5.82 26 13 26C20.17 26 26 20.17 26 13C26 5.82 20.17 0 13 0ZM14.7 6.29L20.7 12.29C20.9 12.48 21 12.72 21 13C21 13.27 20.9 13.51 20.7 13.7L14.7 19.7C14.31 20.1 13.68 20.1 13.29 19.7C12.89 19.31 12.89 18.68 13.29 18.29L17.58 14L6 14C5.43 14 5 13.56 5 13C5 12.44 5.43 12 6 12L17.58 12L13.29 7.7C12.89 7.31 12.89 6.68 13.29 6.29C13.68 5.89 14.31 5.89 14.7 6.29Z",
|
|
7
|
+
fillRule: "evenodd"
|
|
8
|
+
}
|
|
9
|
+
) }) : /* @__PURE__ */ C("svg", { width: "20", height: "20", viewBox: "0 0 20 20", children: /* @__PURE__ */ C(
|
|
10
|
+
"path",
|
|
11
|
+
{
|
|
12
|
+
d: "M10 0C4.47 0 0 4.47 0 10C0 15.52 4.47 20 10 20C15.52 20 20 15.52 20 10C20 4.47 15.52 0 10 0ZM15.71 9.28L15.8 9.38 15.87 9.49 15.91 9.61C16.02 9.86 16.02 10.13 15.91 10.37C15.87 10.5 15.8 10.61 15.71 10.7L10.71 15.7C10.52 15.89 10.26 16 10 16C9.73 16 9.47 15.89 9.29 15.7C9.1 15.51 8.99 15.26 8.99 14.99C8.99 14.72 9.1 14.47 9.29 14.28L12.59 10.99L5 10.99C4.44 10.99 4 10.55 4 9.99C4 9.44 4.44 9 5 9L12.59 9L9.29 5.71C9.03 5.45 8.93 5.08 9.03 4.74C9.12 4.39 9.39 4.12 9.74 4.03C10.08 3.94 10.45 4.04 10.71 4.29L15.71 9.28Z",
|
|
13
|
+
fillRule: "evenodd"
|
|
14
|
+
}
|
|
15
|
+
) });
|
|
16
|
+
export {
|
|
17
|
+
o as SubmitIcon
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=SubmitIcon.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { ESegmentedControlTheme as o, ESegmentedControlType as m } from "./enums.js";
|
|
2
2
|
import { SegmentedControlSegment as y } from "./SegmentedControlSegment.js";
|
|
3
|
-
import { jsx as
|
|
3
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
4
4
|
import E from "react";
|
|
5
|
-
import { c as
|
|
6
|
-
import { SegmentedControlContext as
|
|
7
|
-
import { createSizeToClassNameMap as
|
|
8
|
-
const
|
|
9
|
-
segmentedControl:
|
|
10
|
-
general1:
|
|
11
|
-
secondary1:
|
|
5
|
+
import { c as b } from "../../chunks/vendor-Ba_pyhza.js";
|
|
6
|
+
import { SegmentedControlContext as R } from "./SegmentedControlContext.js";
|
|
7
|
+
import { createSizeToClassNameMap as T } from "../../utils/classNameMaps.js";
|
|
8
|
+
const h = "segmentedControl__92bc0336", x = "general1__39d67cc0", L = "secondary1__c26891fa", A = "general2__616f869e", M = "secondary2__39f5f0ce", G = "sm__96ba2861", O = "md__94bd2d9b", j = "lg__d92a95ae", e = {
|
|
9
|
+
segmentedControl: h,
|
|
10
|
+
general1: x,
|
|
11
|
+
secondary1: L,
|
|
12
12
|
general2: A,
|
|
13
13
|
secondary2: M,
|
|
14
14
|
sm: G,
|
|
@@ -19,10 +19,10 @@ const x = "segmentedControl__79dada7d", L = "general1__518914e0", b = "secondary
|
|
|
19
19
|
[o.GENERAL_2]: e.general2,
|
|
20
20
|
[o.SECONDARY_1]: e.secondary1,
|
|
21
21
|
[o.SECONDARY_2]: e.secondary2
|
|
22
|
-
}, z =
|
|
22
|
+
}, z = T(e), D = Object.assign(
|
|
23
23
|
E.forwardRef(
|
|
24
|
-
({ children:
|
|
25
|
-
const p =
|
|
24
|
+
({ children: d, className: l, value: n, theme: g, type: r, size: _, disabled: i, onSelect: t, ...f }, C) => {
|
|
25
|
+
const p = b(
|
|
26
26
|
e.segmentedControl,
|
|
27
27
|
v[g],
|
|
28
28
|
z[_],
|
|
@@ -39,8 +39,8 @@ const x = "segmentedControl__79dada7d", L = "general1__518914e0", b = "secondary
|
|
|
39
39
|
t(a ? [...n, s] : [...n].filter((N) => N !== s));
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
|
-
return /* @__PURE__ */
|
|
43
|
-
|
|
42
|
+
return /* @__PURE__ */ c(
|
|
43
|
+
R.Provider,
|
|
44
44
|
{
|
|
45
45
|
value: {
|
|
46
46
|
type: r,
|
|
@@ -48,7 +48,7 @@ const x = "segmentedControl__79dada7d", L = "general1__518914e0", b = "secondary
|
|
|
48
48
|
disabled: !!i,
|
|
49
49
|
onSegmentSelect: S
|
|
50
50
|
},
|
|
51
|
-
children: /* @__PURE__ */
|
|
51
|
+
children: /* @__PURE__ */ c("div", { className: p, ...f, "data-tx": "1.4.0", ref: C, children: d })
|
|
52
52
|
}
|
|
53
53
|
);
|
|
54
54
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as x } from "react";
|
|
3
|
-
import { c as L } from "../../chunks/vendor-
|
|
3
|
+
import { c as L } from "../../chunks/vendor-Ba_pyhza.js";
|
|
4
4
|
import { ButtonBase as N } from "../Button/ButtonBase.js";
|
|
5
5
|
import { ESegmentedControlType as n } from "./enums.js";
|
|
6
6
|
import { SegmentedControlContext as _ } from "./SegmentedControlContext.js";
|
|
7
|
-
const y = "
|
|
7
|
+
const y = "segmentedControlSegment__62bdda84", E = "selected__38b19bb8", I = "content__a3f72550", r = {
|
|
8
8
|
segmentedControlSegment: y,
|
|
9
9
|
selected: E,
|
|
10
10
|
content: I
|
|
@@ -29,7 +29,7 @@ const y = "segmentedControlSegment__bc94b2dc", E = "selected__d069c239", I = "co
|
|
|
29
29
|
case n.MULTIPLE:
|
|
30
30
|
return d.includes(e);
|
|
31
31
|
}
|
|
32
|
-
})(),
|
|
32
|
+
})(), b = L(
|
|
33
33
|
r.segmentedControlSegment,
|
|
34
34
|
{ [r.selected]: t },
|
|
35
35
|
"hoverable",
|
|
@@ -40,7 +40,7 @@ const y = "segmentedControlSegment__bc94b2dc", E = "selected__d069c239", I = "co
|
|
|
40
40
|
return c;
|
|
41
41
|
if (typeof s == "string")
|
|
42
42
|
return s;
|
|
43
|
-
},
|
|
43
|
+
}, C = (u) => {
|
|
44
44
|
switch (m) {
|
|
45
45
|
case n.SINGLE:
|
|
46
46
|
l({ value: e, selected: !0 });
|
|
@@ -54,11 +54,11 @@ const y = "segmentedControlSegment__bc94b2dc", E = "selected__d069c239", I = "co
|
|
|
54
54
|
return /* @__PURE__ */ a(
|
|
55
55
|
N,
|
|
56
56
|
{
|
|
57
|
-
className:
|
|
57
|
+
className: b,
|
|
58
58
|
title: f(),
|
|
59
59
|
disabled: g || p,
|
|
60
60
|
"aria-pressed": t,
|
|
61
|
-
onClick:
|
|
61
|
+
onClick: C,
|
|
62
62
|
...S,
|
|
63
63
|
children: /* @__PURE__ */ a("span", { className: r.content, children: s })
|
|
64
64
|
}
|