@sberbusiness/triplex-next 1.13.0 → 1.15.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-BHAU8N38.js +39 -0
- package/chunks/{CalendarViewItem-h3bxNCuW.js → CalendarViewItem-B0gKGk70.js} +25 -25
- package/chunks/Card.module-eeYi3ItS.js +17 -0
- package/chunks/CheckboxTreeExtended.module-CIXQDBeU.js +14 -0
- package/chunks/{Chip-DaZ9JtW-.js → Chip-L-EcpRzH.js} +17 -17
- package/chunks/Confirm.module-BgO9xuES.js +15 -0
- package/chunks/{DropdownListItem-D52nAe3Z.js → DropdownListItem-khM2CJWN.js} +13 -13
- package/chunks/DropdownMobile.module-Bya5zssZ.js +23 -0
- package/chunks/Footer.module-Bxx6jElq.js +9 -0
- package/chunks/FormFieldInput-D2EXurFF.js +60 -0
- package/chunks/HeaderLayoutSidebar.module-C5m0I2xF.js +9 -0
- package/chunks/HeaderTabs.module-C3-8xyq-.js +9 -0
- package/chunks/{HeaderTitle.module-Bvdyra1H.js → HeaderTitle.module-Dmmc04q6.js} +2 -2
- package/chunks/IslandAccordion.module-Cqv_yxiK.js +25 -0
- package/chunks/IslandWidgetFooter.module-PaNLvdB0.js +9 -0
- package/chunks/IslandWidgetHeader.module-D_ZngNjX.js +12 -0
- package/chunks/{LightBoxContent-BXDZ6C5k.js → LightBoxContent-CjX1eN8g.js} +12 -12
- package/chunks/LightBoxControls.module-D7BQsPK3.js +16 -0
- package/chunks/LightBoxSideOverlayClose.module-DiEMyDDt.js +8 -0
- package/chunks/{ListItemControlsButton-BHqWsm74.js → ListItemControlsButton-OLK_OaQU.js} +11 -11
- package/chunks/ListItemTail.module-DxIG-P_H.js +12 -0
- package/chunks/ListMasterFooter.module-DPZnWvfb.js +10 -0
- package/chunks/ModalWindow.module-D4shxCeu.js +17 -0
- package/chunks/Notification.module-B29_MBTz.js +21 -0
- package/chunks/Overlay.module-BJJ7PDLJ.js +18 -0
- package/chunks/Page.module-CzfG8baM.js +11 -0
- package/chunks/{RightBorderArrow-BomPWl1J.js → RightBorderArrow-DbiOM5xn.js} +12 -12
- package/chunks/SMSField.module-BDZwT1N-.js +16 -0
- package/chunks/SliderExtendedMarks.module-Bhhqk5er.js +15 -0
- package/chunks/{SliderExtendedRail-D96vBE1q.js → SliderExtendedRail-CVnVXjG6.js} +10 -10
- package/chunks/StatusTracker.module-CWpv3e3x.js +24 -0
- package/chunks/SuggestFieldMobileDropdownHint-DWutbDoW.js +14 -0
- package/chunks/TableFooter.module-NX6NNBfH.js +14 -0
- package/chunks/TabsExtended.module-Bga_JXqh.js +16 -0
- package/chunks/TabsLine.module-BMBZODMz.js +21 -0
- package/chunks/TooltipDesktop.module-tqRh40wY.js +19 -0
- package/chunks/TreeView.module-Bkn2k1RS.js +9 -0
- package/chunks/{UploadZoneInput-scXVyf90.js → UploadZoneInput-BceBvb-b.js} +3 -3
- package/chunks/constants-BUeoiUro.js +57 -0
- package/chunks/utils-DKorGAMQ.js +73 -0
- package/chunks/utils-NV5e2Mzn.js +20 -0
- package/chunks/utils-Sxh3Du0J.js +24 -0
- package/chunks/{utils-C_xmindK.js → utils-tf6Rfsu7.js} +5 -5
- package/chunks/vendor-DucOfXwy.js +12269 -0
- package/components/AbstractTree/AbstractTreeNode.js +1 -1
- package/components/AccordionBase/protected/AccordionBase.js +1 -1
- package/components/Alert/AlertContext/AlertContext.js +10 -10
- package/components/Alert/AlertProcess/AlertProcess.js +3 -3
- package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
- package/components/Amount/Amount.js +3 -3
- package/components/AmountField/AmountField.js +27 -27
- package/components/Avatar/Avatar.js +13 -13
- package/components/Badge/Badge.js +17 -0
- package/components/Badge/index.js +5 -0
- package/components/Badge/types.js +2 -0
- package/components/Body/Body.js +7 -7
- package/components/Button/Button.js +33 -33
- package/components/Button/ButtonBase.js +1 -1
- package/components/Button/ButtonDropdown.js +21 -21
- package/components/Button/ButtonDropdownExtended.js +2 -2
- package/components/Button/ButtonIcon.js +8 -8
- package/components/Calendar/Calendar.js +37 -36
- package/components/Calendar/CalendarContext.js +4 -4
- package/components/Calendar/components/CalendarControls.js +9 -9
- package/components/Calendar/components/CalendarFooter.js +1 -1
- package/components/Calendar/components/CalendarViewDays.js +14 -13
- package/components/Calendar/components/CalendarViewItem.js +2 -2
- package/components/Calendar/components/CalendarViewMonths.js +26 -26
- package/components/Calendar/components/CalendarViewYears.js +16 -16
- package/components/Calendar/utils.js +6 -6
- package/components/Card/CardAction.js +4 -4
- 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 +16 -16
- package/components/Checkbox/CheckboxXGroup.js +12 -12
- package/components/Checkbox/CheckboxYGroup.js +6 -6
- package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +1 -1
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +2 -2
- package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +2 -2
- package/components/Chip/Chip.js +2 -2
- package/components/Chip/ChipClearButton.js +10 -10
- package/components/Chip/ChipDatePicker/ChipDatePicker.js +9 -9
- package/components/Chip/ChipDatePicker/ChipDatePickerTarget.js +1 -1
- package/components/Chip/ChipDropdownArrow.js +5 -5
- package/components/Chip/ChipIcon.js +1 -1
- package/components/Chip/ChipMultiselect.js +2 -2
- package/components/Chip/ChipOptions.js +8 -8
- package/components/Chip/ChipSelect/ChipSelect.js +2 -2
- package/components/Chip/ChipSelect/ChipSelectTarget.js +1 -1
- package/components/Chip/ChipSort.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
- package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +7 -7
- package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
- package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +21 -21
- package/components/Chip/index.js +1 -1
- package/components/ChipGroup/ChipGroup.js +14 -14
- package/components/Col/Col.js +146 -146
- package/components/CollapsableTree/components/CollapsableTreeNode.js +2 -2
- package/components/Confirm/Confirm.js +2 -2
- package/components/Confirm/components/ConfirmCloseButton.js +2 -2
- package/components/Confirm/components/ConfirmContent.js +2 -2
- package/components/Confirm/components/ConfirmContentSubTitle.js +5 -5
- package/components/Confirm/components/ConfirmContentTitle.js +2 -2
- package/components/Confirm/components/ConfirmControls.js +2 -2
- package/components/DateField/DateField.js +11 -11
- package/components/DateField/utils.js +3 -3
- package/components/DatePickerExtended/DatePickerExtended.js +7 -7
- package/components/DatePickerExtended/DatePickerExtendedDropdown.js +5 -5
- package/components/DateRange/DateRange.js +27 -26
- package/components/DesignTokens/DesignTokenUtils.js +7 -7
- package/components/DesignTokens/DesignTokensComponents.js +88 -86
- package/components/DesignTokens/DesignTokensComponentsThemeDark.js +92 -90
- package/components/DesignTokens/components/Badge.js +9 -0
- package/components/DesignTokens/components/Dropdown.js +3 -3
- package/components/DesignTokens/components/DropdownMobileList.js +2 -2
- package/components/DesignTokens/components/Typography.js +35 -2
- package/components/DesignTokens/components/index.js +150 -147
- package/components/Divider/Divider.js +24 -24
- package/components/DocumentNumberEdit/DocumentNumberEdit.js +9 -9
- package/components/Dropdown/desktop/DropdownDesktop.js +70 -69
- package/components/Dropdown/desktop/DropdownList.js +2 -2
- package/components/Dropdown/desktop/DropdownListItem.js +2 -2
- package/components/Dropdown/desktop/index.js +1 -1
- package/components/Dropdown/index.js +35 -35
- 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 +2 -2
- 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/Dropdown/mobile/DropdownMobileMaskedInput.js +2 -2
- package/components/Ellipsis/Ellipsis.js +11 -11
- package/components/ExpandAnimation/ExpandAnimation.js +12 -12
- package/components/Footer/Footer.js +1 -1
- 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 +78 -74
- package/components/FormField/components/FormFieldClear.js +17 -17
- package/components/FormField/components/FormFieldCounter.js +5 -5
- package/components/FormField/components/FormFieldDescription.js +4 -4
- package/components/FormField/components/FormFieldInput.js +2 -2
- package/components/FormField/components/FormFieldLabel.js +8 -8
- package/components/FormField/components/FormFieldMaskedInput.js +19 -19
- package/components/FormField/components/FormFieldPostfix.js +10 -10
- package/components/FormField/components/FormFieldPrefix.js +9 -9
- package/components/FormField/components/FormFieldTarget.js +5 -5
- package/components/FormField/components/FormFieldTextarea.js +33 -36
- package/components/FormField/index.js +1 -1
- package/components/Header/Header.js +1 -1
- 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 +2 -2
- package/components/Header/components/HeaderTitle/HeaderTitleControls.js +2 -2
- package/components/HelpBox/HelpBox.js +8 -8
- package/components/Island/Island.js +2 -2
- package/components/Island/components/IslandBody.js +3 -3
- package/components/Island/components/IslandFooter.js +5 -5
- package/components/Island/components/IslandHeader.js +3 -3
- package/components/Island/utils.js +1 -1
- package/components/IslandAccordion/IslandAccordion.js +3 -3
- package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
- package/components/IslandAccordion/components/IslandAccordionFooter.js +2 -2
- package/components/IslandAccordion/components/IslandAccordionItem.js +89 -74
- package/components/IslandWidget/IslandWidget.js +68 -37
- package/components/IslandWidget/IslandWidgetContext.js +5 -5
- package/components/IslandWidget/IslandWidgetLayoutContext.js +10 -0
- package/components/IslandWidget/components/IslandWidgetBody.js +7 -4
- package/components/IslandWidget/components/IslandWidgetExtraFooter.js +12 -12
- package/components/IslandWidget/components/IslandWidgetFooter.js +2 -2
- package/components/IslandWidget/components/IslandWidgetFooterContent.js +1 -1
- package/components/IslandWidget/components/IslandWidgetFooterControls.js +1 -1
- package/components/IslandWidget/components/IslandWidgetHeader.js +28 -10
- package/components/IslandWidget/components/IslandWidgetHeaderContent.js +2 -2
- package/components/IslandWidget/components/IslandWidgetHeaderDescription.js +2 -2
- package/components/IslandWidget/components/IslandWidgetWrapper.js +7 -7
- package/components/LightBox/LightBox.js +19 -19
- package/components/LightBox/LightBoxContent.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxClose.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxControls.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxNext.js +2 -2
- package/components/LightBox/LightBoxControls/LightBoxPrev.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +23 -23
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
- package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +6 -6
- package/components/LightBox/LightBoxSidebars/LightBoxLeftSidebar.js +7 -7
- package/components/LightBox/LightBoxSidebars/LightBoxRightSidebar.js +4 -4
- package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
- package/components/Link/Link.js +24 -24
- package/components/List/List.js +5 -5
- package/components/List/ListSortable.js +1 -1
- package/components/List/components/ListEmptyState.js +4 -4
- package/components/List/components/ListItem.js +1 -1
- package/components/List/components/ListItemContent.js +11 -11
- 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 +4 -4
- package/components/List/components/ListItemSelectable.js +2 -2
- package/components/List/components/ListItemTable.js +2 -2
- package/components/List/components/ListItemTailLeft.js +2 -2
- package/components/List/components/ListItemTailRight.js +2 -2
- package/components/List/components/ListSortableItem.js +11 -11
- package/components/List/components/ListSortableItemControls.js +2 -2
- package/components/List/components/ListSortableItemTarget.js +10 -10
- package/components/List/index.js +1 -1
- package/components/ListMaster/ListMaster.js +1 -1
- package/components/ListMaster/components/ListMasterBody.js +1 -1
- package/components/ListMaster/components/ListMasterChipGroup.js +2 -2
- package/components/ListMaster/components/ListMasterFooter.js +2 -2
- package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
- package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
- package/components/ListMaster/components/ListMasterHeader.js +8 -8
- package/components/ListMaster/components/SelectionControls.js +7 -7
- package/components/Loader/LoaderMiddle/LoaderMiddle.js +10 -10
- package/components/Loader/LoaderSmall/LoaderSmall.js +8 -8
- package/components/LoaderScreen/LoaderScreen.js +9 -9
- package/components/Marker/Marker.js +2 -2
- package/components/Marker/utils.js +1 -1
- package/components/MarkerStatus/MarkerStatus.js +17 -17
- package/components/ModalWindow/ModalWindow.js +2 -2
- package/components/ModalWindow/components/ModalWindowBody.js +10 -10
- package/components/ModalWindow/components/ModalWindowClose.js +6 -6
- package/components/ModalWindow/components/ModalWindowContent.js +2 -2
- package/components/ModalWindow/components/ModalWindowHeader.js +2 -2
- package/components/ModalWindow/components/ModalWindowViewManager.js +2 -2
- package/components/MonthYearField/utils.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdown.js +1 -1
- package/components/MultiselectField/components/MultiselectFieldDropdownContent.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownFooter.js +2 -2
- package/components/MultiselectField/components/MultiselectFieldDropdownHeader.js +2 -2
- 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/NotificationIcon/NotificationIcon.js +2 -2
- package/components/NumberField/NumberFieldInput.js +1 -1
- package/components/OrderedList/OrderedList.js +6 -6
- package/components/OrderedList/OrderedListItem.js +8 -8
- 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 +12 -12
- package/components/Page/components/FooterPage.js +2 -2
- package/components/Page/components/HeaderPage.js +2 -2
- package/components/Pagination/Pagination.js +4 -4
- package/components/Pagination/components/PaginationExtended.js +6 -6
- 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 +5 -5
- package/components/Pagination/components/PaginationSelect.js +26 -30
- package/components/Pagination/utils/paginationUtils.js +5 -5
- 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 +6 -6
- package/components/SMSField/SMSField.js +3 -3
- package/components/SMSField/components/RefreshIcon.js +2 -2
- package/components/SMSField/components/SMSFieldInput.js +3 -3
- package/components/SMSField/components/SMSFieldRefresh.js +2 -2
- package/components/SMSField/components/SMSFieldSubmit.js +2 -2
- package/components/SMSField/components/SMSFieldTooltip.js +1 -1
- package/components/SegmentedControl/SegmentedControl.js +5 -5
- package/components/SegmentedControl/SegmentedControlSegment.js +6 -6
- package/components/SelectExtendedField/SelectExtendedField.js +12 -12
- package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +5 -5
- package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +4 -4
- package/components/SelectField/SelectField.js +1 -1
- package/components/Skeleton/Skeleton.js +7 -7
- package/components/SliderExtended/SliderExtended.js +3 -3
- package/components/SliderExtended/components/SliderExtendedDot/SliderExtendedDot.js +19 -19
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMark.js +2 -2
- package/components/SliderExtended/components/SliderExtendedMarks/SliderExtendedMarks.js +2 -2
- package/components/SliderExtended/components/SliderExtendedRail.js +2 -2
- package/components/SliderExtended/components/SliderExtendedTooltip/SliderExtendedTooltip.js +7 -7
- package/components/SliderExtended/components/SliderExtendedTrack/SliderExtendedTrack.js +19 -19
- package/components/SmallInput/SmallInput.js +2 -2
- package/components/Spoiler/Spoiler.js +16 -16
- package/components/StatusTracker/StatusTracker.js +3 -3
- package/components/StatusTracker/components/StatusTrackerAlert.js +6 -6
- package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
- package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
- package/components/StatusTracker/components/StatusTrackerDescription.js +8 -8
- package/components/StatusTracker/components/StatusTrackerFooter.js +2 -2
- package/components/StatusTracker/components/StatusTrackerHeader.js +2 -2
- package/components/StatusTracker/components/StatusTrackerMedia.js +2 -2
- package/components/StatusTracker/components/StatusTrackerStatus.js +2 -2
- package/components/StatusTracker/components/StatusTrackerSum.js +8 -8
- package/components/StatusTracker/components/StatusTrackerTitle.js +8 -8
- package/components/Step/Step.js +17 -17
- package/components/Stepper/RightBorderArrow.js +1 -1
- package/components/Stepper/Stepper.js +4 -4
- package/components/Stepper/StepperExtended.js +4 -4
- package/components/Stepper/StepperStep.js +3 -3
- package/components/Stepper/StepperWrapper.js +5 -5
- package/components/Suggest/Suggest.js +52 -88
- package/components/Suggest/SuggestContext.js +4 -7
- package/components/Suggest/SuggestMobileDropdownContent.js +19 -19
- package/components/Suggest/useSuggest.js +64 -0
- package/components/SuggestField/SuggestField.js +44 -47
- package/components/SuggestField/desktop/SuggestFieldDesktop.js +129 -130
- package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +5 -5
- package/components/SuggestField/index.js +8 -10
- package/components/SuggestField/mobile/SuggestFieldMobile.js +94 -75
- package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +26 -26
- package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +4 -4
- package/components/SuggestField/mobile/index.js +4 -6
- package/components/SwipeableArea/SwipeableArea.js +8 -8
- package/components/Table/FilterPanel.js +3 -3
- package/components/Table/MasterTable.js +3 -3
- package/components/Table/NoColumns.js +4 -4
- package/components/Table/PaginationPanel.js +3 -3
- package/components/Table/TableBasic/TableBasic.js +2 -2
- package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
- package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
- package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
- package/components/Table/TableBasicSettings/TableBasicSettings.js +6 -6
- package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +8 -8
- package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +6 -6
- package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
- package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +2 -2
- package/components/Table/TableFooter/TableFooter.js +2 -2
- package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
- package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
- package/components/Table/TabsLinePanel.js +6 -6
- package/components/Table/TabsLinePanelLinks.js +2 -2
- package/components/Table/utils.js +1 -1
- package/components/Tabs/Tabs.js +13 -13
- 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 +9 -9
- package/components/TabsLine/components/TabsLineItem.js +2 -2
- package/components/TabsLine/components/TabsLineMobile.js +10 -10
- package/components/Tag/Tag.js +22 -22
- package/components/TagColor/TagColor.js +6 -6
- package/components/TagGroup/TagGroup.js +9 -9
- package/components/TextField/TextField.js +1 -1
- package/components/TextField/TextFieldBase.js +23 -28
- package/components/TextareaField/TextareaField.js +1 -1
- package/components/ThemeProvider/ThemeProvider.js +1 -1
- package/components/ThemeProvider/components/ThemeProviderView.js +1 -1
- package/components/Tooltip/components/common/TooltipBody.js +2 -2
- package/components/Tooltip/components/common/TooltipLink.js +4 -4
- package/components/Tooltip/components/common/TooltipXButton.js +1 -1
- package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
- package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
- package/components/Tooltip/components/mobile/TooltipMobile.js +2 -2
- package/components/TopOverlay/TopOverlay.js +13 -13
- package/components/TreeView/TreeView.js +2 -2
- package/components/TreeView/components/TreeViewGroup.js +1 -1
- package/components/TreeView/components/TreeViewNode.js +2 -2
- package/components/Typography/Caption.js +40 -42
- package/components/Typography/Text.js +50 -52
- package/components/Typography/Title.js +41 -43
- package/components/Typography/constants.js +6 -0
- package/components/Typography/enums.js +9 -8
- package/components/Typography/index.js +15 -16
- package/components/UnorderedList/UnorderedList.js +3 -3
- package/components/UnorderedList/UnorderedListItem.js +6 -6
- package/components/UploadZone/UploadZone.js +3 -3
- package/components/UploadZone/components/UploadZoneInput.js +2 -2
- package/components/WindowResizeListener/WindowResizeListener.js +1 -1
- package/components/index.js +539 -540
- package/consts/DateConst.js +6 -6
- package/index.d.ts +200 -228
- package/index.js +588 -589
- package/package.json +6 -2
- package/styles/triplex-next.css +546 -534
- package/utils/amountUtils.js +1 -1
- package/chunks/AlertProcessSpoiler-CKP4h8-E.js +0 -39
- package/chunks/Card.module-bJptPqpj.js +0 -17
- package/chunks/CheckboxTreeExtended.module-bphUNnbQ.js +0 -14
- package/chunks/Confirm.module-BF4VDMnq.js +0 -15
- package/chunks/DropdownMobile.module-ClkvaJLd.js +0 -23
- package/chunks/Footer.module-QvomhMbc.js +0 -9
- package/chunks/FormFieldInput-GtoWWQRE.js +0 -62
- package/chunks/HeaderLayoutSidebar.module-OCqAbr7a.js +0 -9
- package/chunks/HeaderTabs.module-jYlPSHw3.js +0 -9
- package/chunks/IslandAccordion.module-Z_pjfKJd.js +0 -25
- package/chunks/IslandWidgetFooter.module-ChRxDXcv.js +0 -9
- package/chunks/IslandWidgetHeader.module-RRcKD0BV.js +0 -9
- package/chunks/LightBoxControls.module-BkOqYjOz.js +0 -16
- package/chunks/LightBoxSideOverlayClose.module-CeFQNtqn.js +0 -8
- package/chunks/ListItemTail.module-CunfwMYT.js +0 -12
- package/chunks/ListMasterFooter.module-Dtv2xqml.js +0 -10
- package/chunks/ModalWindow.module-BHX3St6k.js +0 -17
- package/chunks/Notification.module-C4_TLm8a.js +0 -21
- package/chunks/Overlay.module-B6Jld0v6.js +0 -18
- package/chunks/Page.module-2EjEIDnt.js +0 -11
- package/chunks/SMSField.module-BKVjFcIn.js +0 -16
- package/chunks/SliderExtendedMarks.module-BGXnGEBx.js +0 -15
- package/chunks/StatusTracker.module-BKem67MH.js +0 -24
- package/chunks/SuggestFieldMobileDropdownHint-CmJLz6qx.js +0 -15
- package/chunks/TableFooter.module-BAduw_pb.js +0 -14
- package/chunks/TabsExtended.module-D_KXJPSZ.js +0 -16
- package/chunks/TabsLine.module-COfUYGXF.js +0 -21
- package/chunks/TooltipDesktop.module-CG3_T63F.js +0 -19
- package/chunks/TreeView.module-CtJTgfbr.js +0 -9
- package/chunks/utils-B-KTHE01.js +0 -20
- package/chunks/utils-CkGPjHGm.js +0 -73
- package/chunks/utils-esDpM0b2.js +0 -24
- package/chunks/utils-yLrEzIHN.js +0 -36
- package/chunks/vendor-CwhnMZ7o.js +0 -14856
- package/components/SuggestField/SuggestFieldTarget.js +0 -70
- package/components/SuggestField/SuggestFieldTargetPostfix.js +0 -28
- package/components/SuggestField/mobile/SuggestFieldMobileTarget.js +0 -30
- package/components/Typography/utils.js +0 -6
|
@@ -2,21 +2,22 @@ var M = Object.defineProperty;
|
|
|
2
2
|
var H = (m, d, t) => d in m ? M(m, d, { enumerable: !0, configurable: !0, writable: !0, value: t }) : m[d] = t;
|
|
3
3
|
var p = (m, d, t) => H(m, typeof d != "symbol" ? d + "" : d, t);
|
|
4
4
|
import { jsx as h, jsxs as S } from "react/jsx-runtime";
|
|
5
|
-
import { a as I,
|
|
5
|
+
import { a as I, c as R } from "../../chunks/vendor-DucOfXwy.js";
|
|
6
6
|
import V from "react";
|
|
7
|
+
import D from "moment";
|
|
7
8
|
import { globalLimitRange as _, dateFormatYYYYMMDD as O } from "../../consts/DateConst.js";
|
|
8
9
|
import { ECalendarPickType as y, ECalendarViewMode as l } from "./enums.js";
|
|
9
|
-
import { CalendarContext as
|
|
10
|
+
import { CalendarContext as w } from "./CalendarContext.js";
|
|
10
11
|
import { CalendarControls as x } from "./components/CalendarControls.js";
|
|
11
12
|
import { CalendarView as N } from "./components/CalendarView.js";
|
|
12
13
|
import { CalendarFooter as E } from "./components/CalendarFooter.js";
|
|
13
14
|
import { CalendarFooterButton as v } from "./components/CalendarFooterButton.js";
|
|
14
15
|
import { parsePickedDate as f, formatDate as P, getHeader as j } from "./utils.js";
|
|
15
|
-
const q = "
|
|
16
|
+
const q = "calendar__4f3ece8e", L = "adaptive__fc1fd618", g = {
|
|
16
17
|
calendar: q,
|
|
17
18
|
adaptive: L
|
|
18
19
|
};
|
|
19
|
-
class
|
|
20
|
+
class k extends V.PureComponent {
|
|
20
21
|
constructor(t) {
|
|
21
22
|
super(t);
|
|
22
23
|
// Уникальный идентификатор для связи периода с таблицей.
|
|
@@ -45,45 +46,45 @@ class g extends V.PureComponent {
|
|
|
45
46
|
/** Рендер футера. */
|
|
46
47
|
p(this, "renderFooter", () => {
|
|
47
48
|
const { pickType: t, yesterdayButtonProps: a, todayButtonProps: o, tomorrowButtonProps: r } = this.props, { viewDate: n, viewMode: e } = this.state;
|
|
48
|
-
let
|
|
49
|
-
t === y.datePick ? (
|
|
50
|
-
const c =
|
|
49
|
+
let i, s;
|
|
50
|
+
t === y.datePick ? (i = D().startOf("day"), s = e === l.DAYS && n.isSame(i, "month")) : (i = D().startOf("month"), s = e === l.MONTHS && n.isSame(i, "year"));
|
|
51
|
+
const c = s && e === l.DAYS;
|
|
51
52
|
return /* @__PURE__ */ S(E, { children: [
|
|
52
53
|
c && a && /* @__PURE__ */ h(
|
|
53
54
|
v,
|
|
54
55
|
{
|
|
55
|
-
date:
|
|
56
|
-
currentPeriodSelected:
|
|
56
|
+
date: i.clone().subtract(1, "day"),
|
|
57
|
+
currentPeriodSelected: s,
|
|
57
58
|
...typeof a == "function" ? a(e) : a
|
|
58
59
|
}
|
|
59
60
|
),
|
|
60
61
|
/* @__PURE__ */ h(
|
|
61
62
|
v,
|
|
62
63
|
{
|
|
63
|
-
date:
|
|
64
|
-
currentPeriodSelected:
|
|
65
|
-
...typeof o == "function" ? o({ viewMode: e, currentPeriodSelected:
|
|
64
|
+
date: i,
|
|
65
|
+
currentPeriodSelected: s,
|
|
66
|
+
...typeof o == "function" ? o({ viewMode: e, currentPeriodSelected: s }) : o
|
|
66
67
|
}
|
|
67
68
|
),
|
|
68
69
|
c && r && /* @__PURE__ */ h(
|
|
69
70
|
v,
|
|
70
71
|
{
|
|
71
|
-
date:
|
|
72
|
-
currentPeriodSelected:
|
|
72
|
+
date: i.clone().add(1, "day"),
|
|
73
|
+
currentPeriodSelected: s,
|
|
73
74
|
...typeof r == "function" ? r(e) : r
|
|
74
75
|
}
|
|
75
76
|
)
|
|
76
77
|
] });
|
|
77
78
|
});
|
|
78
79
|
const { format: a, pickType: o, reversedPick: r } = this.props, n = f(this.props.pickedDate, a), e = this.getInitialViewDate(n);
|
|
79
|
-
let
|
|
80
|
-
r ?
|
|
81
|
-
const
|
|
80
|
+
let i;
|
|
81
|
+
r ? i = l.YEARS : o == y.monthYearPick ? i = l.MONTHS : i = l.DAYS;
|
|
82
|
+
const s = P(e, i);
|
|
82
83
|
this.state = {
|
|
83
|
-
header:
|
|
84
|
+
header: s,
|
|
84
85
|
pickedDate: n,
|
|
85
86
|
viewDate: e,
|
|
86
|
-
viewMode:
|
|
87
|
+
viewMode: i
|
|
87
88
|
};
|
|
88
89
|
}
|
|
89
90
|
/** Получить изначальную дату для навигации. */
|
|
@@ -106,13 +107,13 @@ class g extends V.PureComponent {
|
|
|
106
107
|
return n;
|
|
107
108
|
}
|
|
108
109
|
componentDidUpdate(t, a) {
|
|
109
|
-
const { format: o } = this.props, { viewDate: r } = this.state, { viewDate: n } = a, e = f(this.props.pickedDate, o),
|
|
110
|
-
if (!(!
|
|
110
|
+
const { format: o } = this.props, { viewDate: r } = this.state, { viewDate: n } = a, e = f(this.props.pickedDate, o), i = e == null ? void 0 : e.isValid(), s = i ? e : n, c = f(t.pickedDate, o);
|
|
111
|
+
if (!(!i || c != null && c.isSame(s, "day"))) {
|
|
111
112
|
let u = {};
|
|
112
113
|
r && !r.isSame(e, "month") && (u = {
|
|
113
114
|
currentTab: l.DAYS,
|
|
114
|
-
header: j(
|
|
115
|
-
viewDate:
|
|
115
|
+
header: j(s),
|
|
116
|
+
viewDate: s.clone()
|
|
116
117
|
}), this.setState({
|
|
117
118
|
...u,
|
|
118
119
|
pickedDate: e
|
|
@@ -127,17 +128,17 @@ class g extends V.PureComponent {
|
|
|
127
128
|
markedDays: r,
|
|
128
129
|
disabledDays: n,
|
|
129
130
|
dayHtmlAttributes: e,
|
|
130
|
-
monthHtmlAttributes:
|
|
131
|
-
yearHtmlAttributes:
|
|
131
|
+
monthHtmlAttributes: i,
|
|
132
|
+
yearHtmlAttributes: s,
|
|
132
133
|
prevButtonProps: c,
|
|
133
134
|
nextButtonProps: u,
|
|
134
135
|
viewButtonProps: C,
|
|
135
136
|
todayButtonProps: T
|
|
136
|
-
} = this.props, { viewMode: A, viewDate: B, header: Y } = this.state,
|
|
137
|
-
[
|
|
138
|
-
}),
|
|
139
|
-
return /* @__PURE__ */ h("div", { className:
|
|
140
|
-
|
|
137
|
+
} = this.props, { viewMode: A, viewDate: B, header: Y } = this.state, F = R(g.calendar, {
|
|
138
|
+
[g.adaptive]: !!this.props.adaptiveMode
|
|
139
|
+
}), b = f(this.props.pickedDate, t);
|
|
140
|
+
return /* @__PURE__ */ h("div", { className: F, "data-tx": "1.15.0", children: /* @__PURE__ */ S(
|
|
141
|
+
w.Provider,
|
|
141
142
|
{
|
|
142
143
|
value: {
|
|
143
144
|
format: t,
|
|
@@ -165,10 +166,10 @@ class g extends V.PureComponent {
|
|
|
165
166
|
/* @__PURE__ */ h(
|
|
166
167
|
N,
|
|
167
168
|
{
|
|
168
|
-
pickedDate:
|
|
169
|
+
pickedDate: b,
|
|
169
170
|
dayHtmlAttributes: e,
|
|
170
|
-
monthHtmlAttributes:
|
|
171
|
-
yearHtmlAttributes:
|
|
171
|
+
monthHtmlAttributes: i,
|
|
172
|
+
yearHtmlAttributes: s
|
|
172
173
|
}
|
|
173
174
|
),
|
|
174
175
|
T && this.renderFooter()
|
|
@@ -177,12 +178,12 @@ class g extends V.PureComponent {
|
|
|
177
178
|
) });
|
|
178
179
|
}
|
|
179
180
|
}
|
|
180
|
-
p(
|
|
181
|
+
p(k, "defaultProps", {
|
|
181
182
|
format: O,
|
|
182
183
|
limitRange: _,
|
|
183
184
|
pickType: y.datePick
|
|
184
|
-
}), p(
|
|
185
|
+
}), p(k, "contextType", w);
|
|
185
186
|
export {
|
|
186
|
-
|
|
187
|
+
k as Calendar
|
|
187
188
|
};
|
|
188
189
|
//# sourceMappingURL=Calendar.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import e from "react";
|
|
2
|
-
import
|
|
3
|
-
import { globalLimitRange as
|
|
2
|
+
import t from "moment";
|
|
3
|
+
import { globalLimitRange as a, dateFormatYYYYMMDD as o } from "../../consts/DateConst.js";
|
|
4
4
|
import { ECalendarViewMode as r, ECalendarPickType as i } from "./enums.js";
|
|
5
5
|
const l = e.createContext({
|
|
6
6
|
format: o,
|
|
7
|
-
limitRange:
|
|
7
|
+
limitRange: a,
|
|
8
8
|
pickType: i.datePick,
|
|
9
|
-
viewDate:
|
|
9
|
+
viewDate: t().startOf("day"),
|
|
10
10
|
viewMode: r.DAYS,
|
|
11
11
|
periodId: "",
|
|
12
12
|
onDateSelect: () => {
|
|
@@ -4,11 +4,11 @@ import { CaretleftStrokeSrvIcon24 as B, CaretrightStrokeSrvIcon24 as v } from "@
|
|
|
4
4
|
import { CalendarContext as w } from "../CalendarContext.js";
|
|
5
5
|
import { Button as H } from "../../Button/Button.js";
|
|
6
6
|
import { ButtonIcon as A } from "../../Button/ButtonIcon.js";
|
|
7
|
-
import { EButtonIconShape as
|
|
7
|
+
import { EButtonIconShape as b, EButtonTheme as L } from "../../Button/enums.js";
|
|
8
8
|
import { ECalendarViewMode as e } from "../enums.js";
|
|
9
|
-
import { globalLimitRange as
|
|
9
|
+
import { globalLimitRange as E } from "../../../consts/DateConst.js";
|
|
10
10
|
import { EComponentSize as V } from "../../../enums/EComponentSize.js";
|
|
11
|
-
const U = "
|
|
11
|
+
const U = "calendarControls__f3b3e081", j = {
|
|
12
12
|
calendarControls: U
|
|
13
13
|
}, X = ({
|
|
14
14
|
children: m,
|
|
@@ -16,12 +16,12 @@ const U = "calendarControls__7c713dd5", j = {
|
|
|
16
16
|
nextButtonProps: d = {},
|
|
17
17
|
viewButtonProps: c = {}
|
|
18
18
|
}) => {
|
|
19
|
-
const { viewDate: a, viewMode: n, limitRange: u, periodId: S, onPageChange: h, onViewChange: p } = D(w),
|
|
19
|
+
const { viewDate: a, viewMode: n, limitRange: u, periodId: S, onPageChange: h, onViewChange: p } = D(w), O = () => {
|
|
20
20
|
const { disabled: t, onClick: o, ...r } = typeof i == "function" ? i(n) : i;
|
|
21
21
|
return /* @__PURE__ */ s(
|
|
22
22
|
A,
|
|
23
23
|
{
|
|
24
|
-
shape:
|
|
24
|
+
shape: b.CIRCLE,
|
|
25
25
|
disabled: t || N(),
|
|
26
26
|
onClick: R(o),
|
|
27
27
|
...r,
|
|
@@ -33,7 +33,7 @@ const U = "calendarControls__7c713dd5", j = {
|
|
|
33
33
|
return /* @__PURE__ */ s(
|
|
34
34
|
A,
|
|
35
35
|
{
|
|
36
|
-
shape:
|
|
36
|
+
shape: b.CIRCLE,
|
|
37
37
|
disabled: t || Y(),
|
|
38
38
|
onClick: x(o),
|
|
39
39
|
...r,
|
|
@@ -56,10 +56,10 @@ const U = "calendarControls__7c713dd5", j = {
|
|
|
56
56
|
);
|
|
57
57
|
}, N = () => {
|
|
58
58
|
const t = a.clone();
|
|
59
|
-
return n === e.DAYS ? t.startOf("month") : n === e.MONTHS ? t.startOf("year") : n === e.YEARS && t.startOf("year").subtract(5, "years"), t.subtract(1, "day").isBefore(u.dateFrom ||
|
|
59
|
+
return n === e.DAYS ? t.startOf("month") : n === e.MONTHS ? t.startOf("year") : n === e.YEARS && t.startOf("year").subtract(5, "years"), t.subtract(1, "day").isBefore(u.dateFrom || E.dateFrom, "day");
|
|
60
60
|
}, Y = () => {
|
|
61
61
|
const t = a.clone();
|
|
62
|
-
return n === e.DAYS ? t.endOf("month") : n === e.MONTHS ? t.endOf("year") : n === e.YEARS && t.endOf("year").add(6, "years"), t.add(1, "day").isAfter(u.dateTo ||
|
|
62
|
+
return n === e.DAYS ? t.endOf("month") : n === e.MONTHS ? t.endOf("year") : n === e.YEARS && t.endOf("year").add(6, "years"), t.add(1, "day").isAfter(u.dateTo || E.dateTo, "day");
|
|
63
63
|
}, R = (t) => (o) => {
|
|
64
64
|
const r = C(), l = y(), f = a.clone().subtract(l, r);
|
|
65
65
|
h(f, n), t == null || t(o);
|
|
@@ -86,7 +86,7 @@ const U = "calendarControls__7c713dd5", j = {
|
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
88
|
return /* @__PURE__ */ T("div", { className: j.calendarControls, children: [
|
|
89
|
-
|
|
89
|
+
O(),
|
|
90
90
|
n === e.YEARS ? /* @__PURE__ */ s("span", { id: S, tabIndex: -1, "aria-live": "polite", children: m }) : I(),
|
|
91
91
|
g()
|
|
92
92
|
] });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
const e = "
|
|
2
|
+
const e = "calendarFooter__f3d2bf42", r = {
|
|
3
3
|
calendarFooter: e
|
|
4
4
|
}, t = ({ children: o }) => /* @__PURE__ */ a("div", { className: r.calendarFooter, children: o });
|
|
5
5
|
t.displayName = "CalendarFooter";
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { jsxs as U, jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { useContext as
|
|
2
|
+
import { c as H } from "../../../chunks/vendor-DucOfXwy.js";
|
|
3
|
+
import { useContext as k, useCallback as O, useState as L, useEffect as q } from "react";
|
|
4
|
+
import c from "moment";
|
|
4
5
|
import { isDateOutOfRange as g, isDayDisabled as z } from "../utils.js";
|
|
5
6
|
import { WEEKDAYS_SET as J } from "../../../consts/DateConst.js";
|
|
6
7
|
import { CalendarViewContext as Q } from "../CalendarViewContext.js";
|
|
7
|
-
import { s as y, C as X } from "../../../chunks/CalendarViewItem-
|
|
8
|
+
import { s as y, C as X } from "../../../chunks/CalendarViewItem-B0gKGk70.js";
|
|
8
9
|
import { isKey as d } from "../../../utils/keyboard.js";
|
|
9
10
|
import { ECalendarDateMarkType as Z, ECalendarViewMode as E } from "../enums.js";
|
|
10
11
|
import { CalendarContext as ee } from "../CalendarContext.js";
|
|
11
|
-
const
|
|
12
|
+
const me = ({
|
|
12
13
|
pickedDate: o,
|
|
13
14
|
dayHtmlAttributes: D = {}
|
|
14
15
|
}) => {
|
|
15
|
-
const { format: m, periodId: x, limitRange: h, viewDate: n, markedDays: f, disabledDays: w, onDateSelect: I, onPageChange: C } =
|
|
16
|
+
const { format: m, periodId: x, limitRange: h, viewDate: n, markedDays: f, disabledDays: w, onDateSelect: I, onPageChange: C } = k(ee), { viewItemFocusedRef: S } = k(Q), M = n.clone().startOf("month").startOf("week"), b = O(
|
|
16
17
|
(e) => g(e, h, "day") || z(e.format(m), w),
|
|
17
18
|
[h, w, m]
|
|
18
19
|
), p = O(() => {
|
|
@@ -24,9 +25,9 @@ const fe = ({
|
|
|
24
25
|
if (e.add(a, "day"), !b(e))
|
|
25
26
|
return e;
|
|
26
27
|
}
|
|
27
|
-
}, [o, n, b]), [
|
|
28
|
+
}, [o, n, b]), [T, A] = L(p());
|
|
28
29
|
q(() => {
|
|
29
|
-
S.current ||
|
|
30
|
+
S.current || A(p());
|
|
30
31
|
}, [n, S, p]);
|
|
31
32
|
const N = () => {
|
|
32
33
|
const e = c.weekdays(!0), a = c.weekdaysMin(!0);
|
|
@@ -40,26 +41,26 @@ const fe = ({
|
|
|
40
41
|
`calendar-table-header-${t}`
|
|
41
42
|
)) }) });
|
|
42
43
|
}, V = () => /* @__PURE__ */ l("tbody", { className: y.calendarViewDaysBody, children: [0, 1, 2, 3, 4, 5].map((e) => /* @__PURE__ */ l("tr", { children: [0, 1, 2, 3, 4, 5, 6].map((a) => W(e, a)) }, `calendar-table-row-${e}`)) }), W = (e, a) => {
|
|
43
|
-
const t = c(M).add(e * 7 + a, "day"), r = H({ [y.current]: v(t) }), s = B(t), u = b(t), $ = !u && _(t), j = P(t),
|
|
44
|
+
const t = c(M).add(e * 7 + a, "day"), r = H({ [y.current]: v(t) }), s = B(t), u = b(t), $ = !u && _(t), j = P(t), R = K(t);
|
|
44
45
|
return /* @__PURE__ */ l(
|
|
45
46
|
X,
|
|
46
47
|
{
|
|
47
48
|
className: r,
|
|
48
|
-
...typeof D == "function" ? D({ marked:
|
|
49
|
+
...typeof D == "function" ? D({ marked: R !== void 0 }) : D,
|
|
49
50
|
date: t,
|
|
50
51
|
unit: "day",
|
|
51
52
|
active: s,
|
|
52
53
|
disabled: u,
|
|
53
54
|
tabbable: $,
|
|
54
55
|
muted: j,
|
|
55
|
-
markType:
|
|
56
|
+
markType: R,
|
|
56
57
|
onKeyDown: F(t),
|
|
57
58
|
onDateSelect: G,
|
|
58
59
|
children: t.date()
|
|
59
60
|
},
|
|
60
61
|
`calendar-table-data-${a}`
|
|
61
62
|
);
|
|
62
|
-
}, _ = (e) =>
|
|
63
|
+
}, _ = (e) => T ? e.isSame(T, "day") : !1, P = (e) => !e.isSame(n, "month"), v = (e) => e.isSame(c(), "day"), B = (e) => !!o && e.isSame(o, "day"), K = (e) => {
|
|
63
64
|
if (f) {
|
|
64
65
|
const a = e.format(m);
|
|
65
66
|
if (Array.isArray(f)) {
|
|
@@ -87,7 +88,7 @@ const fe = ({
|
|
|
87
88
|
}, G = (e) => {
|
|
88
89
|
I(e);
|
|
89
90
|
}, Y = (e) => {
|
|
90
|
-
|
|
91
|
+
A(e), e.isBefore(n, "month") ? (e = n.clone().subtract(1, "month"), C(e, E.DAYS)) : e.isAfter(n, "month") && (e = n.clone().add(1, "month"), C(e, E.DAYS));
|
|
91
92
|
};
|
|
92
93
|
return /* @__PURE__ */ U("table", { className: y.calendarViewDays, role: "grid", "aria-labelledby": x, children: [
|
|
93
94
|
N(),
|
|
@@ -95,6 +96,6 @@ const fe = ({
|
|
|
95
96
|
] });
|
|
96
97
|
};
|
|
97
98
|
export {
|
|
98
|
-
|
|
99
|
+
me as CalendarViewDays
|
|
99
100
|
};
|
|
100
101
|
//# sourceMappingURL=CalendarViewDays.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../../chunks/vendor-
|
|
2
|
+
import "../../../chunks/vendor-DucOfXwy.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "../enums.js";
|
|
5
5
|
import "../CalendarViewContext.js";
|
|
6
6
|
import "../../../utils/keyboard.js";
|
|
7
|
-
import { C } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { C } from "../../../chunks/CalendarViewItem-B0gKGk70.js";
|
|
8
8
|
export {
|
|
9
9
|
C as CalendarViewItem
|
|
10
10
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useContext as S, useCallback as O, useState as
|
|
3
|
-
import
|
|
4
|
-
import { CalendarContext as
|
|
5
|
-
import { CalendarViewContext as
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { useContext as S, useCallback as O, useState as F, useEffect as G } from "react";
|
|
3
|
+
import h from "moment";
|
|
4
|
+
import { CalendarContext as H } from "../CalendarContext.js";
|
|
5
|
+
import { CalendarViewContext as K } from "../CalendarViewContext.js";
|
|
6
6
|
import { isDateOutOfRange as R } from "../utils.js";
|
|
7
|
-
import { s as
|
|
7
|
+
import { s as B, C as U } from "../../../chunks/CalendarViewItem-B0gKGk70.js";
|
|
8
8
|
import { isKey as l } from "../../../utils/keyboard.js";
|
|
9
|
-
import { ECalendarPickType as
|
|
9
|
+
import { ECalendarPickType as Y, ECalendarViewMode as u } from "../enums.js";
|
|
10
10
|
const Z = ({ pickedDate: r, monthHtmlAttributes: T = {} }) => {
|
|
11
|
-
const { pickType: w, periodId: g, limitRange:
|
|
12
|
-
(e) => R(e,
|
|
13
|
-
[
|
|
11
|
+
const { pickType: w, periodId: g, limitRange: f, viewDate: o, onDateSelect: A, onPageChange: D, onViewChange: P } = S(H), { viewItemFocusedRef: y } = S(K), x = h.monthsShort(), b = O(
|
|
12
|
+
(e) => R(e, f, "month"),
|
|
13
|
+
[f]
|
|
14
14
|
), d = O(() => {
|
|
15
15
|
if (r && r.isSame(o, "year"))
|
|
16
16
|
return r;
|
|
@@ -20,43 +20,43 @@ const Z = ({ pickedDate: r, monthHtmlAttributes: T = {} }) => {
|
|
|
20
20
|
if (e.add(t, "month"), !b(e))
|
|
21
21
|
return e;
|
|
22
22
|
}
|
|
23
|
-
}, [r, o, b]), [p, C] =
|
|
24
|
-
|
|
23
|
+
}, [r, o, b]), [p, C] = F(d());
|
|
24
|
+
G(() => {
|
|
25
25
|
y.current || C(d());
|
|
26
26
|
}, [o, y, d]);
|
|
27
|
-
const E = () => /* @__PURE__ */
|
|
28
|
-
const
|
|
29
|
-
return /* @__PURE__ */
|
|
30
|
-
|
|
27
|
+
const E = () => /* @__PURE__ */ m("tbody", { children: [0, 1, 2, 3].map((e) => /* @__PURE__ */ m("tr", { children: [0, 1, 2].map((t) => I(e, t)) }, `calendar-view-months-row-${e}`)) }), I = (e, t) => {
|
|
28
|
+
const a = e * 3 + t, n = o.clone().startOf("month").month(a), i = V(n), c = b(n), v = !c && W(n);
|
|
29
|
+
return /* @__PURE__ */ m(
|
|
30
|
+
U,
|
|
31
31
|
{
|
|
32
32
|
...T,
|
|
33
|
-
date:
|
|
33
|
+
date: n,
|
|
34
34
|
unit: "month",
|
|
35
35
|
active: i,
|
|
36
36
|
disabled: c,
|
|
37
37
|
tabbable: v,
|
|
38
|
-
onKeyDown: _(
|
|
38
|
+
onKeyDown: _(n),
|
|
39
39
|
onDateSelect: M,
|
|
40
|
-
children: x[
|
|
40
|
+
children: x[a]
|
|
41
41
|
},
|
|
42
42
|
`calendar-table-data-${t}`
|
|
43
43
|
);
|
|
44
44
|
}, V = (e) => r == null ? !1 : r.isSame(e, "month"), W = (e) => p ? e.isSame(p, "month") : !1, _ = (e) => (t) => {
|
|
45
|
-
const
|
|
46
|
-
let
|
|
47
|
-
l(
|
|
48
|
-
}, s = (e, t,
|
|
45
|
+
const a = t.code || t.keyCode;
|
|
46
|
+
let n;
|
|
47
|
+
l(a, "ARROW_RIGHT") ? (n = s(e, "add", 1, "month"), t.preventDefault()) : l(a, "ARROW_LEFT") ? (n = s(e, "subtract", 1, "month"), t.preventDefault()) : l(a, "ARROW_DOWN") ? (n = s(e, "add", 3, "month"), t.preventDefault()) : l(a, "ARROW_UP") ? (n = s(e, "subtract", 3, "month"), t.preventDefault()) : l(a, "PAGE_DOWN") ? (n = s(e, "add", 1, "year"), t.preventDefault()) : l(a, "PAGE_UP") && (n = s(e, "subtract", 1, "year"), t.preventDefault()), n && N(n);
|
|
48
|
+
}, s = (e, t, a, n) => {
|
|
49
49
|
const i = e.clone(), c = {
|
|
50
50
|
add: h.fn.add.bind(i),
|
|
51
51
|
subtract: h.fn.subtract.bind(i)
|
|
52
52
|
}[t];
|
|
53
|
-
return c(
|
|
53
|
+
return c(a, n), R(i, f, "month") ? e : i;
|
|
54
54
|
}, M = (e) => {
|
|
55
|
-
w ===
|
|
55
|
+
w === Y.monthYearPick ? A(e) : P(e, u.DAYS);
|
|
56
56
|
}, N = (e) => {
|
|
57
57
|
C(e), e.isBefore(o, "year") ? (e = o.clone().subtract(1, "year"), D(e, u.MONTHS)) : e.isAfter(o, "year") && (e = o.clone().add(1, "year"), D(e, u.MONTHS));
|
|
58
58
|
};
|
|
59
|
-
return /* @__PURE__ */
|
|
59
|
+
return /* @__PURE__ */ m("table", { className: B.calendarViewMonths, role: "grid", "aria-labelledby": g, children: E() });
|
|
60
60
|
};
|
|
61
61
|
export {
|
|
62
62
|
Z as CalendarViewMonths
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as f } from "react/jsx-runtime";
|
|
2
|
-
import { useContext as
|
|
3
|
-
import
|
|
2
|
+
import { useContext as C, useCallback as h, useState as v, useEffect as F } from "react";
|
|
3
|
+
import w from "moment";
|
|
4
4
|
import { CalendarContext as N } from "../CalendarContext.js";
|
|
5
5
|
import { CalendarViewContext as G } from "../CalendarViewContext.js";
|
|
6
6
|
import { isDateOutOfRange as O } from "../utils.js";
|
|
7
|
-
import { s as K, C as H } from "../../../chunks/CalendarViewItem-
|
|
7
|
+
import { s as K, C as H } from "../../../chunks/CalendarViewItem-B0gKGk70.js";
|
|
8
8
|
import { isKey as i } from "../../../utils/keyboard.js";
|
|
9
9
|
import { ECalendarViewMode as y } from "../enums.js";
|
|
10
|
-
const
|
|
11
|
-
const { periodId: g, limitRange: d, viewDate: n, onPageChange: m, onViewChange: A } =
|
|
10
|
+
const Q = ({ pickedDate: s, yearHtmlAttributes: S = {} }) => {
|
|
11
|
+
const { periodId: g, limitRange: d, viewDate: n, onPageChange: m, onViewChange: A } = C(N), { viewItemFocusedRef: D } = C(G), T = n.year(), b = h(
|
|
12
12
|
(e) => O(e, d, "year"),
|
|
13
13
|
[d]
|
|
14
|
-
), u =
|
|
14
|
+
), u = h(() => {
|
|
15
15
|
if (s && s.isSame(n, "year"))
|
|
16
16
|
return s;
|
|
17
17
|
{
|
|
@@ -25,32 +25,32 @@ const J = ({ pickedDate: s, yearHtmlAttributes: S = {} }) => {
|
|
|
25
25
|
D.current || R(u());
|
|
26
26
|
}, [n, D, u]);
|
|
27
27
|
const E = () => /* @__PURE__ */ f("tbody", { children: [0, 1, 2, 3].map((e) => /* @__PURE__ */ f("tr", { children: [0, 1, 2].map((a) => x(e, a)) }, `calendar-view-years-row-${e}`)) }), x = (e, a) => {
|
|
28
|
-
const
|
|
28
|
+
const r = T + e * 3 + a - 5, t = n.clone().startOf("year").year(r), l = I(t), c = b(t), Y = !c && V(t);
|
|
29
29
|
return /* @__PURE__ */ f(
|
|
30
30
|
H,
|
|
31
31
|
{
|
|
32
32
|
...S,
|
|
33
|
-
date:
|
|
33
|
+
date: t,
|
|
34
34
|
unit: "year",
|
|
35
35
|
active: l,
|
|
36
36
|
disabled: c,
|
|
37
37
|
tabbable: Y,
|
|
38
|
-
onKeyDown: W(
|
|
38
|
+
onKeyDown: W(t),
|
|
39
39
|
onDateSelect: _,
|
|
40
|
-
children:
|
|
40
|
+
children: r
|
|
41
41
|
},
|
|
42
42
|
`calendar-table-data-${a}`
|
|
43
43
|
);
|
|
44
44
|
}, I = (e) => s == null ? !1 : s.isSame(e, "year"), V = (e) => p ? e.isSame(p, "year") : !1, W = (e) => (a) => {
|
|
45
|
-
const
|
|
46
|
-
let
|
|
47
|
-
i(
|
|
48
|
-
}, o = (e, a,
|
|
45
|
+
const r = a.code || a.keyCode;
|
|
46
|
+
let t;
|
|
47
|
+
i(r, "ARROW_RIGHT") ? (t = o(e, "add", 1, "year"), a.preventDefault()) : i(r, "ARROW_LEFT") ? (t = o(e, "subtract", 1, "year"), a.preventDefault()) : i(r, "ARROW_DOWN") ? (t = o(e, "add", 3, "year"), a.preventDefault()) : i(r, "ARROW_UP") ? (t = o(e, "subtract", 3, "year"), a.preventDefault()) : i(r, "PAGE_DOWN") ? (t = o(e, "add", 12, "year"), a.preventDefault()) : i(r, "PAGE_UP") && (t = o(e, "subtract", 12, "year"), a.preventDefault()), t && P(t);
|
|
48
|
+
}, o = (e, a, r, t) => {
|
|
49
49
|
const l = e.clone(), c = {
|
|
50
50
|
add: w.fn.add.bind(l),
|
|
51
51
|
subtract: w.fn.subtract.bind(l)
|
|
52
52
|
}[a];
|
|
53
|
-
return c(
|
|
53
|
+
return c(r, t), O(l, d, "year") ? e : l;
|
|
54
54
|
}, _ = (e) => {
|
|
55
55
|
A(e, y.MONTHS);
|
|
56
56
|
}, P = (e) => {
|
|
@@ -59,6 +59,6 @@ const J = ({ pickedDate: s, yearHtmlAttributes: S = {} }) => {
|
|
|
59
59
|
return /* @__PURE__ */ f("table", { className: K.calendarViewYears, role: "grid", "aria-labelledby": g, children: E() });
|
|
60
60
|
};
|
|
61
61
|
export {
|
|
62
|
-
|
|
62
|
+
Q as CalendarViewYears
|
|
63
63
|
};
|
|
64
64
|
//# sourceMappingURL=CalendarViewYears.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { globalLimitRange as
|
|
1
|
+
import f from "moment";
|
|
2
|
+
import { globalLimitRange as i, headerDateFormat as s } from "../../consts/DateConst.js";
|
|
3
3
|
import { ECalendarViewMode as a } from "./enums.js";
|
|
4
4
|
function Y(e, r) {
|
|
5
|
-
return e ? typeof e == "string" ?
|
|
5
|
+
return e ? typeof e == "string" ? f(e, r) : e : null;
|
|
6
6
|
}
|
|
7
7
|
function c(e, r) {
|
|
8
8
|
let t;
|
|
9
|
-
return r && r.isValid() ? t = r : e && e.isValid() ? t = e : t =
|
|
9
|
+
return r && r.isValid() ? t = r : e && e.isValid() ? t = e : t = f(), t.format(s);
|
|
10
10
|
}
|
|
11
11
|
function l(e, r) {
|
|
12
|
-
const t = e ||
|
|
12
|
+
const t = e || f();
|
|
13
13
|
switch (r) {
|
|
14
14
|
case a.DAYS:
|
|
15
15
|
return c(t);
|
|
@@ -22,7 +22,7 @@ function l(e, r) {
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
function y(e, r, t) {
|
|
25
|
-
const o = r.dateFrom ||
|
|
25
|
+
const o = r.dateFrom || i.dateFrom, n = r.dateTo || i.dateTo;
|
|
26
26
|
return e.isBefore(o, t) || e.isAfter(n, t);
|
|
27
27
|
}
|
|
28
28
|
function D(e, r) {
|
|
@@ -9,9 +9,9 @@ import { ECardRoundingSize as M, ECardTheme as w } from "./enums.js";
|
|
|
9
9
|
import { EFocusSource as r } from "../../enums/EFocusSource.js";
|
|
10
10
|
import { mapCardRoundingSizeToCssClass as x, mapCardThemeToCssClass as K } from "./utils.js";
|
|
11
11
|
import { isKey as p } from "../../utils/keyboard.js";
|
|
12
|
-
import { c as k } from "../../chunks/vendor-
|
|
13
|
-
import { c as B } from "../../chunks/Card.module-
|
|
14
|
-
const O = "
|
|
12
|
+
import { c as k } from "../../chunks/vendor-DucOfXwy.js";
|
|
13
|
+
import { c as B } from "../../chunks/Card.module-eeYi3ItS.js";
|
|
14
|
+
const O = "action__e703e73a", F = "selected__cde1c331", V = "focusVisible__884f39be", a = {
|
|
15
15
|
action: O,
|
|
16
16
|
selected: F,
|
|
17
17
|
focusVisible: V
|
|
@@ -96,7 +96,7 @@ class l extends u.Component {
|
|
|
96
96
|
role: "button",
|
|
97
97
|
...C,
|
|
98
98
|
ref: this.ref,
|
|
99
|
-
"data-tx": "1.
|
|
99
|
+
"data-tx": "1.15.0",
|
|
100
100
|
children: e
|
|
101
101
|
}
|
|
102
102
|
);
|
|
@@ -2,8 +2,8 @@ import { jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import { CardContent as s } from "./components/CardContent/CardContent.js";
|
|
3
3
|
import { CardMedia as e } from "./components/CardMedia.js";
|
|
4
4
|
import { mapCardRoundingSizeToCssClass as C, mapCardThemeToCssClass as p } from "./utils.js";
|
|
5
|
-
import { c } from "../../chunks/vendor-
|
|
6
|
-
import { c as n } from "../../chunks/Card.module-
|
|
5
|
+
import { c } from "../../chunks/vendor-DucOfXwy.js";
|
|
6
|
+
import { c as n } from "../../chunks/Card.module-eeYi3ItS.js";
|
|
7
7
|
import { ECardRoundingSize as f, ECardTheme as l } from "./enums.js";
|
|
8
8
|
const a = ({
|
|
9
9
|
children: r,
|
|
@@ -21,7 +21,7 @@ const a = ({
|
|
|
21
21
|
o
|
|
22
22
|
),
|
|
23
23
|
...d,
|
|
24
|
-
"data-tx": "1.
|
|
24
|
+
"data-tx": "1.15.0",
|
|
25
25
|
children: r
|
|
26
26
|
}
|
|
27
27
|
);
|
|
@@ -3,8 +3,8 @@ import { CardContentBody as C } from "./components/CardContentBody.js";
|
|
|
3
3
|
import { CardContentHeader as i } from "./components/CardContentHeader.js";
|
|
4
4
|
import { CardContentFooter as s } from "./components/CardContentFooter.js";
|
|
5
5
|
import { ECardContentPaddingSize as t } from "../../enums.js";
|
|
6
|
-
import { c as p } from "../../../../chunks/vendor-
|
|
7
|
-
import { c as r } from "../../../../chunks/Card.module-
|
|
6
|
+
import { c as p } from "../../../../chunks/vendor-DucOfXwy.js";
|
|
7
|
+
import { c as r } from "../../../../chunks/Card.module-eeYi3ItS.js";
|
|
8
8
|
const c = {
|
|
9
9
|
[t.MD]: r.paddingMD,
|
|
10
10
|
[t.SM]: r.paddingSM
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { c as d } from "../../../../../chunks/vendor-
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module-
|
|
2
|
+
import { c as d } from "../../../../../chunks/vendor-DucOfXwy.js";
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-eeYi3ItS.js";
|
|
4
4
|
const m = ({ children: o, className: t, ...r }) => /* @__PURE__ */ a("div", { className: d(s.cardContentBody, t), ...r, children: o });
|
|
5
5
|
m.displayName = "CardContentBody";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { c as e } from "../../../../../chunks/vendor-
|
|
3
|
-
import { c as s } from "../../../../../chunks/Card.module-
|
|
2
|
+
import { c as e } from "../../../../../chunks/vendor-DucOfXwy.js";
|
|
3
|
+
import { c as s } from "../../../../../chunks/Card.module-eeYi3ItS.js";
|
|
4
4
|
const m = ({ children: o, className: t, ...r }) => /* @__PURE__ */ a("div", { className: e(s.cardContentFooter, t), ...r, children: o });
|
|
5
5
|
m.displayName = "CardContentFooter";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { c as o } from "../../../../../chunks/vendor-
|
|
3
|
-
import { c as d } from "../../../../../chunks/Card.module-
|
|
2
|
+
import { c as o } from "../../../../../chunks/vendor-DucOfXwy.js";
|
|
3
|
+
import { c as d } from "../../../../../chunks/Card.module-eeYi3ItS.js";
|
|
4
4
|
const s = ({ children: r, className: a, ...e }) => /* @__PURE__ */ t("div", { className: o(d.cardContentHeader, a), ...e, children: r });
|
|
5
5
|
s.displayName = "CardContentHeader";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
-
import { c as e } from "../../../chunks/vendor-
|
|
3
|
-
import { c as m } from "../../../chunks/Card.module-
|
|
2
|
+
import { c as e } from "../../../chunks/vendor-DucOfXwy.js";
|
|
3
|
+
import { c as m } from "../../../chunks/Card.module-eeYi3ItS.js";
|
|
4
4
|
const o = ({ children: a, className: r, ...s }) => {
|
|
5
5
|
const c = e(m.cardMedia, r);
|
|
6
6
|
return /* @__PURE__ */ d("div", { className: c, ...s, children: a });
|