@sberbusiness/triplex-next 1.1.1 → 1.3.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/README.md +8 -8
- package/chunks/{AlertProcessSpoiler-Caa0745n.js → AlertProcessSpoiler-B91XiZ7K.js} +9 -9
- package/chunks/Card.module-NgdHcwYS.js +17 -0
- package/chunks/Chip-XyednI9u.js +87 -0
- package/chunks/DropdownListItem-g0mYNHIW.js +57 -0
- package/chunks/DropdownMobile.module-BBY44sVr.js +21 -0
- package/chunks/Footer.module-4a0n1yRR.js +11 -0
- package/chunks/{FormFieldInput-rV5ZVe9k.js → FormFieldInput-qaJqBTBV.js} +19 -19
- package/chunks/HeaderLayoutSidebar.module-BP0DyJae.js +9 -0
- package/chunks/HeaderTabs.module-CXcyvbb5.js +9 -0
- package/chunks/HeaderTitle.module-B-6xJFnf.js +9 -0
- package/chunks/{ListItemControlsButton-Ch-5PQYH.js → ListItemControlsButton-Ms4q9wDe.js} +10 -10
- package/chunks/ListItemTail.module-D5VudFCz.js +12 -0
- package/chunks/ListMasterFooter.module-DzXu5TSC.js +10 -0
- package/chunks/Notification.module-MX1NZXsu.js +21 -0
- package/chunks/Overlay.module-B1IlIRoo.js +18 -0
- package/chunks/Page.module-Cwb_zvqj.js +12 -0
- package/chunks/RightBorderArrow-D6ZllSTT.js +146 -0
- package/chunks/SuggestFieldMobileDropdownHint-Cc_fZLBH.js +15 -0
- package/chunks/TableFooter.module-D9_esv5A.js +13 -0
- package/chunks/TabsExtended.module--2PQhvJQ.js +16 -0
- package/chunks/TabsLine.module-CH_sqFyE.js +23 -0
- package/chunks/TooltipDesktop.module-D3cbaDX1.js +19 -0
- package/chunks/{UploadZoneInput-CXjerIVV.js → UploadZoneInput-Bkv3b0F5.js} +6 -6
- package/chunks/utils-BZFu5eVD.js +26 -0
- package/chunks/utils-CVSz7tV_.js +20 -0
- package/chunks/utils-D8e1oAR3.js +72 -0
- package/chunks/utils-DWPj89gs.js +36 -0
- package/chunks/utils-dyCpsmr1.js +48 -0
- package/chunks/vendor-CehxOAkM.js +11907 -0
- package/components/AbstractTree/AbstractTreeNode.js +50 -0
- package/components/AccordionBase/protected/AccordionBase.js +83 -0
- package/components/AccordionBase/types.js +2 -0
- package/components/Alert/AlertContext/AlertContext.js +9 -9
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +37 -0
- package/components/Amount/index.js +5 -0
- package/components/AmountField/AmountBaseInputCore.js +46 -0
- package/components/AmountField/AmountBaseInputFormatter.js +57 -0
- package/components/AmountField/AmountBaseInputParser.js +110 -0
- package/components/AmountField/AmountField.js +76 -0
- package/components/AmountField/index.js +5 -0
- package/components/AmountField/utils.js +38 -0
- package/components/Body/Body.js +6 -6
- package/components/Button/Button.js +68 -67
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +113 -127
- package/components/Button/ButtonDropdownExtended.js +9 -9
- package/components/Button/ButtonIcon.js +16 -20
- package/components/Button/enums.js +2 -3
- package/components/Button/index.js +9 -10
- 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 +48 -0
- package/components/Checkbox/Checkbox.js +46 -30
- package/components/Checkbox/CheckboxXGroup.js +15 -15
- package/components/Checkbox/CheckboxYGroup.js +2 -2
- package/components/Checkbox/index.js +4 -6
- 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 +9 -0
- package/components/Chip/ChipClearButton.js +28 -0
- package/components/Chip/ChipDropdownArrow.js +18 -0
- package/components/Chip/ChipIcon.js +9 -0
- package/components/Chip/ChipOptions.js +27 -0
- package/components/Chip/ChipSelect.js +55 -0
- package/components/Chip/index.js +15 -0
- package/components/ChipGroup/ChipGroup.js +32 -0
- package/components/ChipGroup/index.js +5 -0
- 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 +95 -68
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +98 -76
- package/components/DesignTokens/components/Card.js +23 -20
- package/components/DesignTokens/components/Checkbox.js +32 -14
- package/components/DesignTokens/components/Chip.js +59 -0
- package/components/DesignTokens/components/Divider.js +9 -0
- package/components/DesignTokens/components/Dropdown.js +1 -1
- package/components/DesignTokens/components/DropdownList.js +2 -2
- package/components/DesignTokens/components/DropdownMobile.js +3 -3
- package/components/DesignTokens/components/FooterPage.js +3 -3
- package/components/DesignTokens/components/HeaderPage.js +4 -4
- package/components/DesignTokens/components/ListItemControlsButton.js +20 -5
- package/components/DesignTokens/components/LoaderScreen.js +17 -0
- package/components/DesignTokens/components/Marker.js +20 -0
- package/components/DesignTokens/components/MarkerStatus.js +9 -0
- package/components/DesignTokens/components/Notification.js +15 -0
- package/components/DesignTokens/components/Radio.js +22 -13
- package/components/DesignTokens/components/Stepper.js +71 -0
- package/components/DesignTokens/components/TableBasic.js +41 -0
- package/components/DesignTokens/components/Tabs.js +45 -15
- package/components/DesignTokens/components/TabsLine.js +32 -0
- package/components/DesignTokens/components/Tag.js +9 -0
- package/components/DesignTokens/components/index.js +110 -83
- package/components/Divider/Divider.js +34 -0
- package/components/Divider/index.js +5 -0
- package/components/Dropdown/desktop/DropdownDesktop.js +52 -51
- package/components/Dropdown/desktop/DropdownList.js +66 -53
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/index.js +9 -0
- package/components/Dropdown/index.js +33 -29
- 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 +9 -8
- package/components/Dropdown/mobile/DropdownMobileList.js +26 -17
- package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
- package/components/Dropdown/mobile/DropdownMobileLoader.js +20 -0
- package/components/Dropdown/mobile/index.js +5 -3
- package/components/Ellipsis/Ellipsis.js +27 -0
- package/components/Ellipsis/index.js +5 -0
- package/components/ExpandAnimation/ExpandAnimation.js +72 -0
- package/components/Footer/Footer.js +3 -3
- 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 +36 -35
- package/components/FormField/FormFieldContext.js +8 -7
- package/components/FormField/components/FormFieldClear.js +24 -20
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +9 -9
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +10 -10
- package/components/FormField/components/FormFieldMaskedInput.js +12 -12
- package/components/FormField/components/FormFieldPostfix.js +5 -5
- package/components/FormField/components/FormFieldPrefix.js +2 -2
- package/components/FormField/components/FormFieldTarget.js +17 -17
- package/components/FormField/components/FormFieldTextarea.js +6 -6
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +12 -12
- 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 +5 -5
- package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
- package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleContent.js +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +2 -2
- package/components/HelpBox/HelpBox.js +94 -0
- package/components/Island/Island.js +25 -66
- package/components/Island/components/IslandBody.js +2 -2
- package/components/Island/components/IslandFooter.js +2 -2
- package/components/Island/components/IslandHeader.js +3 -3
- package/components/Island/enums.js +1 -3
- package/components/Island/index.js +4 -6
- package/components/Island/types.js +2 -0
- package/components/Island/utils.js +8 -0
- package/components/Link/Link.js +18 -18
- package/components/List/List.js +12 -20
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +2 -2
- package/components/List/components/ListItem.js +1 -10
- package/components/List/components/ListItemContent.js +3 -3
- package/components/List/components/ListItemControls.js +8 -8
- package/components/List/components/ListItemControlsButton.js +2 -2
- package/components/List/components/ListItemControlsButtonDropdown.js +4 -2
- package/components/List/components/ListItemLoading.js +9 -7
- package/components/List/components/ListItemSelectable.js +6 -6
- package/components/List/components/ListItemTable.js +9 -9
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +8 -8
- package/components/List/components/ListSortableItemControls.js +2 -2
- package/components/List/components/ListSortableItemTarget.js +6 -6
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +8 -8
- 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 +7 -7
- package/components/ListMaster/components/SelectionControls.js +7 -7
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +5 -5
- package/components/Loader/LoaderSmall/LoaderSmall.js +26 -37
- package/components/LoaderScreen/LoaderScreen.js +29 -0
- package/components/LoaderScreen/index.js +5 -0
- package/components/Marker/Marker.js +20 -0
- package/components/Marker/enums.js +5 -0
- package/components/Marker/index.js +7 -0
- package/components/Marker/utils.js +6 -0
- package/components/MarkerStatus/MarkerStatus.js +40 -0
- package/components/MarkerStatus/index.js +5 -0
- 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 +25 -0
- package/components/OrderedList/OrderedListItem.js +27 -0
- package/components/OrderedList/index.js +7 -0
- package/components/OrderedList/types.js +2 -0
- package/components/Overlay/Overlay.js +2 -2
- package/components/Overlay/OverlayMask.js +2 -2
- package/components/Overlay/OverlayPanel.js +2 -2
- package/components/Page/Page.js +2 -2
- package/components/Page/components/BodyPage.js +2 -2
- package/components/Page/components/FooterPage.js +28 -31
- package/components/Page/components/HeaderPage.js +26 -29
- package/components/Page/components/useStickyCornerRadius.js +34 -0
- package/components/Pagination/components/PaginationExtended.js +3 -3
- package/components/Pagination/components/PaginationNavigationButton.js +1 -1
- package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
- package/components/Pagination/components/PaginationPageButton.js +2 -2
- package/components/Pagination/components/PaginationPageEllipsis.js +3 -3
- package/components/Pagination/components/PaginationSelect.js +9 -9
- package/components/Pagination/utils/paginationUtils.js +1 -1
- package/components/Radio/Radio.js +30 -22
- package/components/Radio/RadioXGroup.js +13 -13
- package/components/Radio/RadioYGroup.js +7 -7
- package/components/Radio/index.js +4 -6
- package/components/Row/Row.js +10 -10
- package/components/SegmentedControl/SegmentedControl.js +39 -42
- package/components/SegmentedControl/SegmentedControlSegment.js +11 -11
- package/components/SelectExtendedField/SelectExtendedField.js +2 -2
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +5 -2
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +22 -18
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +37 -36
- package/components/SelectField/SelectField.js +62 -0
- package/components/SelectField/index.js +5 -0
- package/components/Skeleton/Skeleton.js +8 -8
- package/components/Stepper/RightBorderArrow.js +7 -0
- package/components/Stepper/Stepper.js +103 -0
- package/components/Stepper/StepperExtended.js +26 -0
- package/components/Stepper/StepperExtendedContext.js +12 -0
- package/components/Stepper/StepperStep.js +88 -0
- package/components/Stepper/StepperStepIcon.js +23 -0
- package/components/Stepper/StepperWrapper.js +12 -0
- package/components/Stepper/enums.js +7 -0
- package/components/Stepper/index.js +11 -0
- package/components/SuggestField/SuggestField.js +64 -0
- package/components/SuggestField/SuggestFieldTarget.js +67 -0
- package/components/SuggestField/SuggestFieldTargetPostfix.js +28 -0
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +196 -0
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +76 -0
- package/components/SuggestField/desktop/index.js +7 -0
- package/components/SuggestField/desktop/types.js +2 -0
- package/components/SuggestField/index.js +17 -0
- package/components/SuggestField/mobile/SuggestFieldMobile.js +79 -0
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +94 -0
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +10 -0
- package/components/SuggestField/mobile/SuggestFieldMobileTarget.js +30 -0
- package/components/SuggestField/mobile/index.js +11 -0
- package/components/SuggestField/mobile/types.js +2 -0
- package/components/SuggestField/types.js +2 -0
- package/components/SwipeableArea/SwipeableArea.js +13 -13
- package/components/Table/FilterPanel.js +18 -0
- package/components/Table/MasterTable.js +49 -0
- package/components/Table/MasterTableContext.js +11 -0
- package/components/Table/NoColumns.js +17 -0
- package/components/Table/PaginationPanel.js +18 -0
- package/components/Table/TableBasic/TableBasic.js +51 -0
- package/components/Table/TableBasic/components/TableBasicBody.js +18 -0
- package/components/Table/TableBasic/components/TableBasicHeader.js +83 -0
- package/components/Table/TableBasic/components/TableBasicRow.js +53 -0
- package/components/Table/TableBasic/enums.js +8 -0
- package/components/Table/TableBasic/types.js +2 -0
- package/components/Table/TableBasicSettings/TableBasicSettings.js +58 -0
- package/components/Table/TableBasicSettings/components/ColumnSettings.js +20 -0
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableList.js +24 -0
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItem.js +25 -0
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +29 -0
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticList.js +17 -0
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +14 -0
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +13 -0
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +13 -0
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +26 -0
- package/components/Table/TableFooter/TableFooter.js +14 -0
- package/components/Table/TableFooter/components/TableFooterSummary.js +19 -0
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +18 -0
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +31 -0
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +8 -0
- package/components/Table/TabsLinePanel.js +12 -0
- package/components/Table/TabsLinePanelLinks.js +14 -0
- package/components/Table/index.js +26 -0
- package/components/Table/utils.js +8 -0
- package/components/Tabs/Tabs.js +75 -0
- package/components/Tabs/index.js +5 -0
- package/components/TabsExtended/TabsExtended.js +37 -21
- package/components/TabsExtended/TabsExtendedContext.js +6 -4
- package/components/TabsExtended/components/TabsExtendedContent.js +19 -15
- package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
- package/components/TabsExtended/components/TabsExtendedTabButton.js +17 -15
- package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +7 -7
- package/components/TabsExtended/components/index.js +15 -0
- package/components/TabsExtended/enums.js +2 -2
- package/components/TabsExtended/index.js +15 -3
- package/components/TabsExtended/utils.js +9 -0
- package/components/TabsLine/TabsLine.js +48 -0
- package/components/TabsLine/components/TabsLineDesktop.js +81 -0
- package/components/TabsLine/components/TabsLineDropdown.js +151 -0
- package/components/TabsLine/components/TabsLineItem.js +26 -0
- package/components/TabsLine/components/TabsLineMobile.js +21 -0
- package/components/TabsLine/components/index.js +11 -0
- package/components/TabsLine/index.js +13 -0
- package/components/TabsLine/types.js +2 -0
- 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/ThemeProvider/ThemeProvider.js +1 -1
- package/components/ThemeProvider/components/ThemeProviderView.js +4 -4
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +11 -11
- 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/Typography/Caption.js +12 -12
- package/components/Typography/Text.js +19 -19
- package/components/Typography/Title.js +11 -11
- package/components/Typography/utils.js +1 -1
- package/components/UnorderedList/UnorderedList.js +25 -0
- package/components/UnorderedList/UnorderedListItem.js +27 -0
- package/components/UnorderedList/index.js +7 -0
- package/components/UnorderedList/types.js +2 -0
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/index.js +379 -278
- package/consts/AmountConst.js +10 -0
- package/consts/DataTestId.js +19 -0
- package/enums/EComponentSize.js +5 -0
- package/enums/index.js +7 -0
- package/helpers/less/z-indexes.less +3 -3
- package/index.d.ts +1235 -148
- package/index.js +368 -265
- package/package.json +85 -6
- package/styles/triplex-next.css +441 -354
- package/types/CoreTypes.js +2 -0
- package/utils/amountUtils.js +34 -0
- package/utils/classNameMaps.js +10 -0
- package/utils/html/AriaAttributes.js +11 -0
- package/utils/html/DataAttributes.js +11 -0
- package/utils/inputUtils.js +11 -0
- package/utils/isNullOrUndefined.js +5 -0
- package/utils/scroll.js +13 -0
- package/utils/stringUtils.js +13 -0
- package/chunks/Card.module-BRANBAxP.js +0 -17
- package/chunks/DropdownListItem-DIIAnvmw.js +0 -56
- package/chunks/DropdownMobile.module-BUeZuAYr.js +0 -19
- package/chunks/Footer.module-BFo05t5_.js +0 -11
- package/chunks/HeaderLayoutSidebar.module-CEqBuRNu.js +0 -9
- package/chunks/HeaderTabs.module-BEaVu2Hx.js +0 -9
- package/chunks/HeaderTitle.module-Db-1fcNm.js +0 -9
- package/chunks/ListItemTail.module-C5-4SAqt.js +0 -12
- package/chunks/ListMasterFooter.module-Dph-_lLg.js +0 -10
- package/chunks/Overlay.module-D6LEz1jT.js +0 -18
- package/chunks/Page.module-Ct9ky9ko.js +0 -16
- package/chunks/TabsExtended.module-CmU9j8zG.js +0 -13
- package/chunks/TabsExtendedUtils-CkAvE1fA.js +0 -23
- package/chunks/TooltipDesktop.module-KrPZMfQD.js +0 -19
- package/chunks/utils-bbbspEnw.js +0 -36
- package/chunks/vendor-D-uL_icH.js +0 -5895
- package/components/Checkbox/enum.js +0 -5
- package/components/DesignTokens/components/LoaderWidget.js +0 -17
- package/components/LoaderWidget/LoaderWidget.js +0 -28
- package/components/LoaderWidget/index.js +0 -5
- package/components/Radio/enum.js +0 -5
- package/components/TabsExtended/TabsExtendedUtils.js +0 -8
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import l, { useMemo as f } from "react";
|
|
3
|
+
import { ColumnSettingsSortableListItem as d } from "./ColumnSettingsSortableListItem.js";
|
|
4
|
+
import { ListSortable as g } from "../../../List/ListSortable.js";
|
|
5
|
+
const p = Object.assign(
|
|
6
|
+
l.forwardRef(function({ columns: e, onColumnsChange: o, ...s }, i) {
|
|
7
|
+
const n = f(
|
|
8
|
+
() => e.map((t) => ({ id: t.fieldKey, ...t })),
|
|
9
|
+
[e]
|
|
10
|
+
);
|
|
11
|
+
return /* @__PURE__ */ r(g, { items: n, onItemsChange: (t) => {
|
|
12
|
+
const m = t.map(({ id: b, ...a }) => a);
|
|
13
|
+
o(m);
|
|
14
|
+
}, ...s, ref: i });
|
|
15
|
+
}),
|
|
16
|
+
{
|
|
17
|
+
Item: d
|
|
18
|
+
}
|
|
19
|
+
);
|
|
20
|
+
p.displayName = "ColumnSettingsSortableList";
|
|
21
|
+
export {
|
|
22
|
+
p as ColumnSettingsSortableList
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=ColumnSettingsSortableList.js.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { jsx as t, jsxs as s, Fragment as f } from "react/jsx-runtime";
|
|
2
|
+
import p from "react";
|
|
3
|
+
import { ListSortableItem as d } from "../../../List/components/ListSortableItem.js";
|
|
4
|
+
import { ColumnSettingsSortableListItemTarget as S } from "./ColumnSettingsSortableListItemTarget.js";
|
|
5
|
+
import { ExpandAnimation as u } from "../../../ExpandAnimation/ExpandAnimation.js";
|
|
6
|
+
const x = p.forwardRef(
|
|
7
|
+
({ children: m, staticContent: e, ...o }, i) => /* @__PURE__ */ t(d, { ...o, ref: i, children: ({ listeners: n, dragging: r, disabled: a, setActivatorNodeRef: l }) => /* @__PURE__ */ s(f, { children: [
|
|
8
|
+
/* @__PURE__ */ t(
|
|
9
|
+
S,
|
|
10
|
+
{
|
|
11
|
+
...n,
|
|
12
|
+
dragging: r,
|
|
13
|
+
disabled: a,
|
|
14
|
+
ref: l,
|
|
15
|
+
children: m
|
|
16
|
+
}
|
|
17
|
+
),
|
|
18
|
+
e && /* @__PURE__ */ t(u, { expanded: !r, children: e })
|
|
19
|
+
] }) })
|
|
20
|
+
);
|
|
21
|
+
x.displayName = "ColumnSettingsSortableListItem";
|
|
22
|
+
export {
|
|
23
|
+
x as ColumnSettingsSortableListItem
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=ColumnSettingsSortableListItem.js.map
|
package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import i from "react";
|
|
3
|
+
import { ListSortableItemTarget as g } from "../../../List/components/ListSortableItemTarget.js";
|
|
4
|
+
import { ListSortableItemControls as l } from "../../../List/components/ListSortableItemControls.js";
|
|
5
|
+
import { c as n } from "../../../../chunks/vendor-CehxOAkM.js";
|
|
6
|
+
const c = "columnSettingsSortableListItemTarget__e1b30b44", S = "dragging__09e70f6c", r = {
|
|
7
|
+
columnSettingsSortableListItemTarget: c,
|
|
8
|
+
dragging: S
|
|
9
|
+
}, b = i.forwardRef(
|
|
10
|
+
({ children: o, className: s, style: f, dragging: t, ...a }, m) => /* @__PURE__ */ e(
|
|
11
|
+
g,
|
|
12
|
+
{
|
|
13
|
+
className: n(
|
|
14
|
+
r.columnSettingsSortableListItemTarget,
|
|
15
|
+
{ [r.dragging]: t },
|
|
16
|
+
s
|
|
17
|
+
),
|
|
18
|
+
dragging: t,
|
|
19
|
+
...a,
|
|
20
|
+
ref: m,
|
|
21
|
+
children: /* @__PURE__ */ e(l, { children: o })
|
|
22
|
+
}
|
|
23
|
+
)
|
|
24
|
+
);
|
|
25
|
+
b.displayName = "ColumnSettingsSortableListItemTarget";
|
|
26
|
+
export {
|
|
27
|
+
b as ColumnSettingsSortableListItemTarget
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=ColumnSettingsSortableListItemTarget.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import s from "react";
|
|
3
|
+
import { List as n } from "../../../List/List.js";
|
|
4
|
+
import { ColumnSettingsStaticListItem as r } from "./ColumnSettingsStaticListItem.js";
|
|
5
|
+
const a = Object.assign(
|
|
6
|
+
s.forwardRef(function({ style: t, depth: i = 0, ...o }, e) {
|
|
7
|
+
return /* @__PURE__ */ m(n, { style: { paddingLeft: `${12 + 12 * i}px`, ...t }, ...o, ref: e });
|
|
8
|
+
}),
|
|
9
|
+
{
|
|
10
|
+
Item: r
|
|
11
|
+
}
|
|
12
|
+
);
|
|
13
|
+
a.displayName = "ColumnSettingsStaticList";
|
|
14
|
+
export {
|
|
15
|
+
a as ColumnSettingsStaticList
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=ColumnSettingsStaticList.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import e from "react";
|
|
3
|
+
import { c as o } from "../../../../chunks/vendor-CehxOAkM.js";
|
|
4
|
+
import { ListItem as c } from "../../../List/components/ListItem.js";
|
|
5
|
+
const n = "columnSettingsStaticListItem__fd6104e5", a = {
|
|
6
|
+
columnSettingsStaticListItem: n
|
|
7
|
+
}, r = e.forwardRef(
|
|
8
|
+
({ className: t, ...i }, s) => /* @__PURE__ */ m(c, { className: o(a.columnSettingsStaticListItem, t), ...i, ref: s })
|
|
9
|
+
);
|
|
10
|
+
r.displayName = "ColumnSettingsStaticListItem";
|
|
11
|
+
export {
|
|
12
|
+
r as ColumnSettingsStaticListItem
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=ColumnSettingsStaticListItem.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import o from "react";
|
|
3
|
+
import { c } from "../../../../chunks/vendor-CehxOAkM.js";
|
|
4
|
+
const B = "tableBasicSettingsBody__f8988c1b", l = {
|
|
5
|
+
tableBasicSettingsBody: B
|
|
6
|
+
}, d = o.forwardRef(
|
|
7
|
+
({ children: t, className: s, ...a }, e) => /* @__PURE__ */ i("div", { className: c(l.tableBasicSettingsBody, s), ref: e, ...a, children: t })
|
|
8
|
+
);
|
|
9
|
+
d.displayName = "TableBasicSettingsBody";
|
|
10
|
+
export {
|
|
11
|
+
d as TableBasicSettingsBody
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=TableBasicSettingsBody.js.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import i from "react";
|
|
3
|
+
import { c as r } from "../../../../chunks/vendor-CehxOAkM.js";
|
|
4
|
+
const c = "tableBasicSettingsFooter__f4063993", l = {
|
|
5
|
+
tableBasicSettingsFooter: c
|
|
6
|
+
}, n = i.forwardRef(
|
|
7
|
+
({ children: t, className: e, ...o }, s) => /* @__PURE__ */ a("div", { className: r(l.tableBasicSettingsFooter, e), ref: s, ...o, children: t })
|
|
8
|
+
);
|
|
9
|
+
n.displayName = "TableBasicSettingsFooter";
|
|
10
|
+
export {
|
|
11
|
+
n as TableBasicSettingsFooter
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=TableBasicSettingsFooter.js.map
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { c as i } from "../../../../chunks/vendor-CehxOAkM.js";
|
|
3
|
+
import { Text as r } from "../../../Typography/Text.js";
|
|
4
|
+
import { EFontWeightText as c, ETextSize as o } from "../../../Typography/enums.js";
|
|
5
|
+
const l = "tableBasicSettingsHeader__8cb828a4", m = {
|
|
6
|
+
tableBasicSettingsHeader: l
|
|
7
|
+
}, n = ({
|
|
8
|
+
children: e,
|
|
9
|
+
className: t,
|
|
10
|
+
...a
|
|
11
|
+
}) => /* @__PURE__ */ s(
|
|
12
|
+
r,
|
|
13
|
+
{
|
|
14
|
+
className: i(m.tableBasicSettingsHeader, t),
|
|
15
|
+
size: o.B1,
|
|
16
|
+
weight: c.SEMIBOLD,
|
|
17
|
+
tag: "div",
|
|
18
|
+
...a,
|
|
19
|
+
children: e
|
|
20
|
+
}
|
|
21
|
+
);
|
|
22
|
+
n.displayName = "TableBasicSettingsHeader";
|
|
23
|
+
export {
|
|
24
|
+
n as TableBasicSettingsHeader
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=TableBasicSettingsHeader.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { c as a } from "../../../chunks/vendor-CehxOAkM.js";
|
|
3
|
+
import { s as e } from "../../../chunks/TableFooter.module-D9_esv5A.js";
|
|
4
|
+
import { FooterDescription as i } from "../../Footer/components/FooterDescription.js";
|
|
5
|
+
import { FooterDescriptionControls as l } from "../../Footer/components/FooterDescriptionControls.js";
|
|
6
|
+
import { TableFooterSummary as p } from "./components/TableFooterSummary.js";
|
|
7
|
+
const r = ({ children: t, className: m, ...s }) => /* @__PURE__ */ o("div", { className: a(e.tableFooterWrapper, m), ...s, children: /* @__PURE__ */ o("div", { className: e.tableFooter, children: /* @__PURE__ */ o(i, { children: t }) }) });
|
|
8
|
+
r.displayName = "TableFooter";
|
|
9
|
+
r.Summary = p;
|
|
10
|
+
r.Controls = l;
|
|
11
|
+
export {
|
|
12
|
+
r as TableFooter
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=TableFooter.js.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { FooterDescription as r } from "../../../Footer/components/FooterDescription.js";
|
|
3
|
+
import { TableFooterSummaryAmount as m } from "./TableFooterSummaryAmount.js";
|
|
4
|
+
import { TableFooterSummarySelectedCount as a } from "./TableFooterSummarySelectedCount.js";
|
|
5
|
+
import { TableFooterSummarySelectAllButton as l } from "./TableFooterSummarySelectAllButton.js";
|
|
6
|
+
import { s as n } from "../../../../chunks/TableFooter.module-D9_esv5A.js";
|
|
7
|
+
const u = Object.assign(
|
|
8
|
+
({ children: t, ...e }) => /* @__PURE__ */ o(r.Content, { ...e, children: /* @__PURE__ */ o("div", { className: n.tableFooterSummary, children: t }) }),
|
|
9
|
+
{
|
|
10
|
+
Amount: m,
|
|
11
|
+
SelectedCount: a,
|
|
12
|
+
SelectAllButton: l
|
|
13
|
+
}
|
|
14
|
+
);
|
|
15
|
+
u.displayName = "TableFooterSummary";
|
|
16
|
+
export {
|
|
17
|
+
u as TableFooterSummary
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=TableFooterSummary.js.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsxs as m, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { s as o } from "../../../../chunks/TableFooter.module-D9_esv5A.js";
|
|
3
|
+
import { Amount as s } from "../../../Amount/Amount.js";
|
|
4
|
+
import { Text as i } from "../../../Typography/Text.js";
|
|
5
|
+
import { ETextSize as l } from "../../../Typography/enums.js";
|
|
6
|
+
const n = ({ label: e, sum: t, currency: a }) => /* @__PURE__ */ m(i, { size: l.B3, children: [
|
|
7
|
+
/* @__PURE__ */ r("span", { className: o.tableFooterSummaryDivider, children: "|" }),
|
|
8
|
+
/* @__PURE__ */ m("span", { className: o.tableFooterSummaryAmount, children: [
|
|
9
|
+
e,
|
|
10
|
+
" ",
|
|
11
|
+
/* @__PURE__ */ r(s, { value: t, currency: a })
|
|
12
|
+
] })
|
|
13
|
+
] });
|
|
14
|
+
n.displayName = "TableFooterSummaryAmount";
|
|
15
|
+
export {
|
|
16
|
+
n as TableFooterSummaryAmount
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=TableFooterSummaryAmount.js.map
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { c as s } from "../../../../chunks/vendor-CehxOAkM.js";
|
|
3
|
+
import { s as i } from "../../../../chunks/TableFooter.module-D9_esv5A.js";
|
|
4
|
+
import { ETextSize as p } from "../../../Typography/enums.js";
|
|
5
|
+
import { Link as f } from "../../../Link/Link.js";
|
|
6
|
+
import { Text as u } from "../../../Typography/Text.js";
|
|
7
|
+
const c = ({
|
|
8
|
+
children: o,
|
|
9
|
+
className: m,
|
|
10
|
+
onClick: t,
|
|
11
|
+
...l
|
|
12
|
+
}) => {
|
|
13
|
+
const a = (e) => {
|
|
14
|
+
e.preventDefault(), t == null || t(e);
|
|
15
|
+
};
|
|
16
|
+
return /* @__PURE__ */ r(u, { size: p.B3, children: /* @__PURE__ */ r(
|
|
17
|
+
f,
|
|
18
|
+
{
|
|
19
|
+
...l,
|
|
20
|
+
href: "#",
|
|
21
|
+
className: s(i.tableFooterSummarySelectAllButton, m),
|
|
22
|
+
onClick: a,
|
|
23
|
+
children: o
|
|
24
|
+
}
|
|
25
|
+
) });
|
|
26
|
+
};
|
|
27
|
+
c.displayName = "TableFooterSummarySelectAllButton";
|
|
28
|
+
export {
|
|
29
|
+
c as TableFooterSummarySelectAllButton
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=TableFooterSummarySelectAllButton.js.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { s as t } from "../../../../chunks/TableFooter.module-D9_esv5A.js";
|
|
3
|
+
const a = ({ children: e }) => /* @__PURE__ */ o("span", { className: t.tableFooterSummarySelectedCount, children: e });
|
|
4
|
+
a.displayName = "TableFooterSummarySelectedCount";
|
|
5
|
+
export {
|
|
6
|
+
a as TableFooterSummarySelectedCount
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=TableFooterSummarySelectedCount.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { c as t } from "../../chunks/vendor-CehxOAkM.js";
|
|
3
|
+
import { TabsLinePanelLinks as l } from "./TabsLinePanelLinks.js";
|
|
4
|
+
const o = "tabsLinePanel__0c9dbfb9", b = {
|
|
5
|
+
tabsLinePanel: o
|
|
6
|
+
}, s = ({ children: a, className: n, ...e }) => /* @__PURE__ */ i("div", { className: t(b.tabsLinePanel, n), ...e, children: a });
|
|
7
|
+
s.Links = l;
|
|
8
|
+
s.displayName = "TabsLinePanel";
|
|
9
|
+
export {
|
|
10
|
+
s as TabsLinePanel
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=TabsLinePanel.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { c as i } from "../../chunks/vendor-CehxOAkM.js";
|
|
3
|
+
const L = "tabsLinePanelLinks__7ec026d7", t = {
|
|
4
|
+
tabsLinePanelLinks: L
|
|
5
|
+
}, l = ({
|
|
6
|
+
children: s,
|
|
7
|
+
className: n,
|
|
8
|
+
...a
|
|
9
|
+
}) => /* @__PURE__ */ e("div", { className: i(n, t.tabsLinePanelLinks), ...a, children: s });
|
|
10
|
+
l.displayName = "TabsLinePanelLinks";
|
|
11
|
+
export {
|
|
12
|
+
l as TabsLinePanelLinks
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=TabsLinePanelLinks.js.map
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { MasterTable as r } from "./MasterTable.js";
|
|
2
|
+
import { TableBasic as l } from "./TableBasic/TableBasic.js";
|
|
3
|
+
import { TableFooter as i } from "./TableFooter/TableFooter.js";
|
|
4
|
+
import { NoColumns as m } from "./NoColumns.js";
|
|
5
|
+
import { FilterPanel as f } from "./FilterPanel.js";
|
|
6
|
+
import { TabsLinePanel as s } from "./TabsLinePanel.js";
|
|
7
|
+
import { PaginationPanel as b } from "./PaginationPanel.js";
|
|
8
|
+
import { TableBasicSettings as c } from "./TableBasicSettings/TableBasicSettings.js";
|
|
9
|
+
import { ColumnSettings as P } from "./TableBasicSettings/components/ColumnSettings.js";
|
|
10
|
+
import { ECellType as u, EHorizontalAlign as A, EOrderDirection as B, EVerticalAlign as F } from "./TableBasic/enums.js";
|
|
11
|
+
export {
|
|
12
|
+
P as ColumnSettings,
|
|
13
|
+
u as ECellType,
|
|
14
|
+
A as EHorizontalAlign,
|
|
15
|
+
B as EOrderDirection,
|
|
16
|
+
F as EVerticalAlign,
|
|
17
|
+
f as FilterPanel,
|
|
18
|
+
r as MasterTable,
|
|
19
|
+
m as NoColumns,
|
|
20
|
+
b as PaginationPanel,
|
|
21
|
+
l as TableBasic,
|
|
22
|
+
c as TableBasicSettings,
|
|
23
|
+
i as TableFooter,
|
|
24
|
+
s as TabsLinePanel
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { jsx as s, jsxs as N } from "react/jsx-runtime";
|
|
2
|
+
import { useState as a, useRef as D } from "react";
|
|
3
|
+
import { TabsExtended as c } from "../TabsExtended/TabsExtended.js";
|
|
4
|
+
import "../TabsExtended/components/TabsExtendedContent.js";
|
|
5
|
+
import { c as W } from "../../chunks/vendor-CehxOAkM.js";
|
|
6
|
+
import "../TabsExtended/TabsExtendedContext.js";
|
|
7
|
+
import "../TabsExtended/components/TabsExtendedTab.js";
|
|
8
|
+
import "../TabsExtended/components/TabsExtendedTabButton.js";
|
|
9
|
+
import "../TabsExtended/components/TabsExtendedTabContext.js";
|
|
10
|
+
import "../Button/Button.js";
|
|
11
|
+
import "../Button/ButtonBase.js";
|
|
12
|
+
import "../Button/ButtonIcon.js";
|
|
13
|
+
import { ButtonDropdown as x } from "../Button/ButtonDropdown.js";
|
|
14
|
+
import "../Button/ButtonDropdownExtended.js";
|
|
15
|
+
import { EButtonDotsTheme as j } from "../Button/enums.js";
|
|
16
|
+
import { EComponentSize as K } from "../../enums/EComponentSize.js";
|
|
17
|
+
import { isKey as _ } from "../../utils/keyboard.js";
|
|
18
|
+
const k = "tabButtonDropdown__231d8d4d", G = "sm__2b178d75", H = "md__c259aa11", L = "lg__155411f5", p = {
|
|
19
|
+
tabButtonDropdown: k,
|
|
20
|
+
sm: G,
|
|
21
|
+
md: H,
|
|
22
|
+
lg: L
|
|
23
|
+
}, so = ({
|
|
24
|
+
buttonDropdownAttributes: v,
|
|
25
|
+
selectedId: l,
|
|
26
|
+
onSelectTab: R,
|
|
27
|
+
size: i = K.MD,
|
|
28
|
+
tabs: t,
|
|
29
|
+
...A
|
|
30
|
+
}) => {
|
|
31
|
+
const [h, d] = a(l || t[0].id), [w, C] = a(""), [F, S] = a(""), m = D(null), u = D(null), B = ({ dropdownItemsIds: e, onSelectTab: o }) => t.filter((n) => e.includes(n.id)).map((n) => ({ ...n, onSelect: () => o(n.id) })), I = (e, o) => /* @__PURE__ */ s(c.Content.Tab, { ...e, children: ({ selected: n, isFirstInlineTab: g, isLastInlineTab: E }) => {
|
|
32
|
+
const O = h === e.id ? 0 : -1, y = () => {
|
|
33
|
+
let r;
|
|
34
|
+
return w === e.id ? r = m : F === e.id && (r = u), r;
|
|
35
|
+
};
|
|
36
|
+
return /* @__PURE__ */ s(
|
|
37
|
+
c.Content.TabButton,
|
|
38
|
+
{
|
|
39
|
+
selected: n,
|
|
40
|
+
tabIndex: O,
|
|
41
|
+
ref: y(),
|
|
42
|
+
size: i,
|
|
43
|
+
onFocus: () => {
|
|
44
|
+
C(t[o - 1] ? t[o - 1].id : ""), S(t[o + 1] ? t[o + 1].id : "");
|
|
45
|
+
},
|
|
46
|
+
onKeyDown: (r) => {
|
|
47
|
+
var T, b;
|
|
48
|
+
const { key: f } = r;
|
|
49
|
+
_(f, "ARROW_LEFT") ? (g || (d(t[o - 1].id), (T = m.current) == null || T.focus()), r.preventDefault()) : _(f, "ARROW_RIGHT") && (E || (d(t[o + 1].id), (b = u.current) == null || b.focus()), r.preventDefault());
|
|
50
|
+
},
|
|
51
|
+
children: e.label
|
|
52
|
+
}
|
|
53
|
+
);
|
|
54
|
+
} }, o);
|
|
55
|
+
return /* @__PURE__ */ s(c, { ...A, selectedId: l, onSelectTab: R, children: /* @__PURE__ */ N(c.Content, { className: p.tabsContent, size: i, children: [
|
|
56
|
+
/* @__PURE__ */ s(c.Content.TabsWrapper, { children: t.map(I) }),
|
|
57
|
+
/* @__PURE__ */ s(c.Content.DropdownWrapper, { children: ({ dropdownItemsIds: e, onSelectTab: o }) => /* @__PURE__ */ s(
|
|
58
|
+
x,
|
|
59
|
+
{
|
|
60
|
+
theme: j.DOTS_SECONDARY,
|
|
61
|
+
size: i,
|
|
62
|
+
options: B({ dropdownItemsIds: e, onSelectTab: o }),
|
|
63
|
+
selected: t.filter((n) => n.id === l)[0],
|
|
64
|
+
buttonAttributes: {
|
|
65
|
+
...v,
|
|
66
|
+
className: W(p.tabButtonDropdown, p[i])
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
) })
|
|
70
|
+
] }) });
|
|
71
|
+
};
|
|
72
|
+
export {
|
|
73
|
+
so as Tabs
|
|
74
|
+
};
|
|
75
|
+
//# sourceMappingURL=Tabs.js.map
|
|
@@ -1,38 +1,54 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { c as
|
|
4
|
-
import { TabsExtendedContext as
|
|
5
|
-
import { TabsExtendedContent as
|
|
6
|
-
import { s as
|
|
7
|
-
import "./enums.js";
|
|
8
|
-
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { useState as r, useRef as T } from "react";
|
|
3
|
+
import { c as b } from "../../chunks/vendor-CehxOAkM.js";
|
|
4
|
+
import { TabsExtendedContext as E } from "./TabsExtendedContext.js";
|
|
5
|
+
import { TabsExtendedContent as I } from "./components/TabsExtendedContent.js";
|
|
6
|
+
import { s as u } from "../../chunks/TabsExtended.module--2PQhvJQ.js";
|
|
7
|
+
import { ETabsExtendedType as C } from "./enums.js";
|
|
8
|
+
import { t as v } from "../../chunks/utils-BZFu5eVD.js";
|
|
9
|
+
import "./components/TabsExtendedDropdownWrapper.js";
|
|
10
|
+
import "./components/TabsExtendedTab.js";
|
|
11
|
+
import "./components/TabsExtendedTabButton.js";
|
|
12
|
+
import "./components/TabsExtendedTabContext.js";
|
|
13
|
+
import "./components/TabsExtendedTabsWrapper.js";
|
|
14
|
+
const w = ({
|
|
9
15
|
children: n,
|
|
10
|
-
className:
|
|
16
|
+
className: m,
|
|
11
17
|
selectedId: t,
|
|
12
18
|
onSelectTab: d,
|
|
13
|
-
|
|
19
|
+
type: e = C.TYPE_1,
|
|
20
|
+
...a
|
|
14
21
|
}) => {
|
|
15
|
-
const [
|
|
16
|
-
t !==
|
|
22
|
+
const [i, p] = r([]), [l, f] = r([]), c = T(null), x = (o) => {
|
|
23
|
+
t !== o && d(o);
|
|
17
24
|
};
|
|
18
|
-
return /* @__PURE__ */
|
|
19
|
-
|
|
25
|
+
return /* @__PURE__ */ s(
|
|
26
|
+
E.Provider,
|
|
20
27
|
{
|
|
21
28
|
value: {
|
|
22
29
|
dropdownItemsIds: l,
|
|
23
30
|
dropdownRef: c,
|
|
24
|
-
inlineItemsIds:
|
|
25
|
-
onSelectTab:
|
|
31
|
+
inlineItemsIds: i,
|
|
32
|
+
onSelectTab: x,
|
|
26
33
|
selectedId: t,
|
|
27
|
-
setDropdownItemsIds:
|
|
28
|
-
setInlineItemsIds:
|
|
34
|
+
setDropdownItemsIds: f,
|
|
35
|
+
setInlineItemsIds: p,
|
|
36
|
+
type: e
|
|
29
37
|
},
|
|
30
|
-
children: /* @__PURE__ */
|
|
38
|
+
children: /* @__PURE__ */ s(
|
|
39
|
+
"div",
|
|
40
|
+
{
|
|
41
|
+
className: b(u.tabsExtended, v[e], m),
|
|
42
|
+
role: "tablist",
|
|
43
|
+
...a,
|
|
44
|
+
children: n
|
|
45
|
+
}
|
|
46
|
+
)
|
|
31
47
|
}
|
|
32
48
|
);
|
|
33
49
|
};
|
|
34
|
-
|
|
50
|
+
w.Content = I;
|
|
35
51
|
export {
|
|
36
|
-
|
|
52
|
+
w as TabsExtended
|
|
37
53
|
};
|
|
38
54
|
//# sourceMappingURL=TabsExtended.js.map
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import e from "react";
|
|
2
|
-
|
|
2
|
+
import { ETabsExtendedType as t } from "./enums.js";
|
|
3
|
+
const n = {
|
|
3
4
|
dropdownItemsIds: [],
|
|
4
5
|
dropdownRef: { current: null },
|
|
5
6
|
inlineItemsIds: [],
|
|
@@ -9,9 +10,10 @@ const t = {
|
|
|
9
10
|
setDropdownItemsIds: () => {
|
|
10
11
|
},
|
|
11
12
|
setInlineItemsIds: () => {
|
|
12
|
-
}
|
|
13
|
-
|
|
13
|
+
},
|
|
14
|
+
type: t.TYPE_1
|
|
15
|
+
}, s = e.createContext(n);
|
|
14
16
|
export {
|
|
15
|
-
|
|
17
|
+
s as TabsExtendedContext
|
|
16
18
|
};
|
|
17
19
|
//# sourceMappingURL=TabsExtendedContext.js.map
|
|
@@ -1,20 +1,24 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
3
|
-
import { TabsExtendedTabsWrapper as
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { c as m } from "../../../chunks/vendor-CehxOAkM.js";
|
|
3
|
+
import { TabsExtendedTabsWrapper as n } from "./TabsExtendedTabsWrapper.js";
|
|
4
4
|
import { TabsExtendedTab as d } from "./TabsExtendedTab.js";
|
|
5
|
-
import { TabsExtendedTabButton as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
5
|
+
import { TabsExtendedTabButton as i } from "./TabsExtendedTabButton.js";
|
|
6
|
+
import { EComponentSize as T } from "../../../enums/EComponentSize.js";
|
|
7
|
+
import { TabsExtendedDropdownWrapper as b } from "./TabsExtendedDropdownWrapper.js";
|
|
8
|
+
import { s as r } from "../../../chunks/TabsExtended.module--2PQhvJQ.js";
|
|
9
|
+
import { createSizeToClassNameMap as f } from "../../../utils/classNameMaps.js";
|
|
10
|
+
import "./TabsExtendedTabContext.js";
|
|
11
|
+
const x = f(r), o = ({
|
|
9
12
|
children: t,
|
|
10
|
-
className:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
r.
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
className: e,
|
|
14
|
+
size: a = T.MD,
|
|
15
|
+
...p
|
|
16
|
+
}) => /* @__PURE__ */ s("div", { className: m(r.tabsExtendedContent, x[a], e), ...p, children: t });
|
|
17
|
+
o.TabsWrapper = n;
|
|
18
|
+
o.Tab = d;
|
|
19
|
+
o.TabButton = i;
|
|
20
|
+
o.DropdownWrapper = b;
|
|
17
21
|
export {
|
|
18
|
-
|
|
22
|
+
o as TabsExtendedContent
|
|
19
23
|
};
|
|
20
24
|
//# sourceMappingURL=TabsExtendedContent.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { useContext as m } from "react";
|
|
3
|
-
import { s as p } from "../../../chunks/TabsExtended.module
|
|
4
|
-
import { c as a } from "../../../chunks/vendor-
|
|
3
|
+
import { s as p } from "../../../chunks/TabsExtended.module--2PQhvJQ.js";
|
|
4
|
+
import { c as a } from "../../../chunks/vendor-CehxOAkM.js";
|
|
5
5
|
import { TabsExtendedContext as i } from "../TabsExtendedContext.js";
|
|
6
6
|
const w = ({
|
|
7
7
|
children: e,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import x, { useContext as d } from "react";
|
|
3
|
-
import { s as o } from "../../../chunks/TabsExtended.module
|
|
4
|
-
import { c as I } from "../../../chunks/vendor-
|
|
3
|
+
import { s as o } from "../../../chunks/TabsExtended.module--2PQhvJQ.js";
|
|
4
|
+
import { c as I } from "../../../chunks/vendor-CehxOAkM.js";
|
|
5
5
|
import { TabsExtendedContext as u } from "../TabsExtendedContext.js";
|
|
6
6
|
import { TabsExtendedTabContext as E } from "./TabsExtendedTabContext.js";
|
|
7
7
|
const h = x.forwardRef(
|
|
@@ -1,22 +1,24 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import i from "react";
|
|
3
|
-
import { s, t as b, a as
|
|
4
|
-
import { c
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import x, { useContext as i } from "react";
|
|
3
|
+
import { s as t, t as b, a as T } from "../../../chunks/utils-BZFu5eVD.js";
|
|
4
|
+
import { c } from "../../../chunks/vendor-CehxOAkM.js";
|
|
5
|
+
import { EComponentSize as l } from "../../../enums/EComponentSize.js";
|
|
6
|
+
import { TabsExtendedContext as f } from "../TabsExtendedContext.js";
|
|
7
|
+
import { Text as u } from "../../Typography/Text.js";
|
|
8
|
+
const E = x.forwardRef(
|
|
9
|
+
({ children: s, className: r, selected: e, size: a = l.MD, ...m }, n) => {
|
|
10
|
+
const { type: d } = i(f), p = c(
|
|
11
|
+
t.tabsExtendedTabButton,
|
|
12
|
+
t[a],
|
|
13
|
+
b[d],
|
|
14
|
+
{ [t.selected]: !!e },
|
|
13
15
|
r
|
|
14
16
|
);
|
|
15
|
-
return /* @__PURE__ */
|
|
17
|
+
return /* @__PURE__ */ o("button", { className: p, role: "tab", "aria-selected": e, ref: n, ...m, children: /* @__PURE__ */ o(u, { size: T[a], className: t.tabButtonText, children: s }) });
|
|
16
18
|
}
|
|
17
19
|
);
|
|
18
|
-
|
|
20
|
+
E.displayName = "TabsExtendedTabButton";
|
|
19
21
|
export {
|
|
20
|
-
|
|
22
|
+
E as TabsExtendedTabButton
|
|
21
23
|
};
|
|
22
24
|
//# sourceMappingURL=TabsExtendedTabButton.js.map
|