@openui5/sap.m 1.109.0 → 1.111.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/.reuse/dep5 +16 -16
- package/THIRDPARTY.txt +2 -2
- package/package.json +4 -4
- package/src/sap/m/.library +2 -2
- package/src/sap/m/AccButton.js +2 -2
- package/src/sap/m/AccButtonRenderer.js +1 -1
- package/src/sap/m/ActionListItem.js +2 -2
- package/src/sap/m/ActionListItemRenderer.js +1 -1
- package/src/sap/m/ActionSelect.js +3 -2
- package/src/sap/m/ActionSelectRenderer.js +1 -1
- package/src/sap/m/ActionSheet.js +3 -3
- package/src/sap/m/ActionSheetRenderer.js +1 -1
- package/src/sap/m/ActionTile.js +88 -88
- package/src/sap/m/ActionTileContent.js +2 -2
- package/src/sap/m/ActionTileContentRenderer.js +1 -1
- package/src/sap/m/AdditionalTextButton.js +2 -2
- package/src/sap/m/AdditionalTextButtonRenderer.js +1 -1
- package/src/sap/m/App.js +2 -2
- package/src/sap/m/AppRenderer.js +1 -1
- package/src/sap/m/AssociativeOverflowToolbar.js +2 -2
- package/src/sap/m/Avatar.js +2 -2
- package/src/sap/m/AvatarColor.js +1 -1
- package/src/sap/m/AvatarImageFitType.js +1 -1
- package/src/sap/m/AvatarRenderer.js +1 -1
- package/src/sap/m/AvatarShape.js +1 -1
- package/src/sap/m/AvatarSize.js +1 -1
- package/src/sap/m/AvatarType.js +1 -1
- package/src/sap/m/BadgeCustomData.js +1 -1
- package/src/sap/m/BadgeEnabler.js +1 -1
- package/src/sap/m/Bar.js +23 -22
- package/src/sap/m/BarInPageEnabler.js +21 -3
- package/src/sap/m/BarRenderer.js +1 -1
- package/src/sap/m/Breadcrumbs.js +16 -2
- package/src/sap/m/BreadcrumbsRenderer.js +1 -1
- package/src/sap/m/BusyDialog.js +2 -2
- package/src/sap/m/BusyIndicator.js +2 -2
- package/src/sap/m/BusyIndicatorRenderer.js +1 -1
- package/src/sap/m/Button.js +19 -4
- package/src/sap/m/ButtonRenderer.js +1 -1
- package/src/sap/m/Carousel.js +17 -10
- package/src/sap/m/CarouselLayout.js +3 -3
- package/src/sap/m/CarouselRenderer.js +3 -2
- package/src/sap/m/CheckBox.js +20 -4
- package/src/sap/m/CheckBoxRenderer.js +3 -2
- package/src/sap/m/ColorPalette.js +3 -3
- package/src/sap/m/ColorPalettePopover.js +2 -2
- package/src/sap/m/ColorPaletteRenderer.js +1 -1
- package/src/sap/m/Column.js +15 -7
- package/src/sap/m/ColumnHeaderPopover.js +2 -2
- package/src/sap/m/ColumnListItem.js +3 -3
- package/src/sap/m/ColumnListItemRenderer.js +1 -1
- package/src/sap/m/ColumnPopoverActionItem.js +2 -2
- package/src/sap/m/ColumnPopoverCustomItem.js +2 -2
- package/src/sap/m/ColumnPopoverItem.js +2 -2
- package/src/sap/m/ColumnPopoverSelectListItem.js +3 -3
- package/src/sap/m/ColumnPopoverSortItem.js +2 -2
- package/src/sap/m/ComboBox.js +46 -22
- package/src/sap/m/ComboBoxBase.js +19 -14
- package/src/sap/m/ComboBoxBaseRenderer.js +4 -4
- package/src/sap/m/ComboBoxRenderer.js +1 -1
- package/src/sap/m/ComboBoxTextField.js +2 -2
- package/src/sap/m/ComboBoxTextFieldRenderer.js +1 -1
- package/src/sap/m/CustomAttribute.js +1 -1
- package/src/sap/m/CustomDynamicDateOption.js +2 -2
- package/src/sap/m/CustomListItem.js +3 -3
- package/src/sap/m/CustomListItemRenderer.js +1 -1
- package/src/sap/m/CustomTile.js +2 -2
- package/src/sap/m/CustomTileRenderer.js +1 -1
- package/src/sap/m/CustomTreeItem.js +2 -2
- package/src/sap/m/CustomTreeItemRenderer.js +1 -1
- package/src/sap/m/DatePicker.js +46 -63
- package/src/sap/m/DatePickerRenderer.js +1 -1
- package/src/sap/m/DateRangeSelection.js +70 -58
- package/src/sap/m/DateRangeSelectionRenderer.js +1 -1
- package/src/sap/m/DateTimeField.js +24 -22
- package/src/sap/m/DateTimeFieldRenderer.js +1 -1
- package/src/sap/m/DateTimeInput.js +28 -5
- package/src/sap/m/DateTimeInputRenderer.js +1 -1
- package/src/sap/m/DateTimePicker.js +117 -103
- package/src/sap/m/DateTimePickerRenderer.js +16 -6
- package/src/sap/m/Dialog.js +82 -21
- package/src/sap/m/DialogRenderer.js +44 -36
- package/src/sap/m/DisplayListItem.js +2 -2
- package/src/sap/m/DisplayListItemRenderer.js +1 -1
- package/src/sap/m/DraftIndicator.js +2 -2
- package/src/sap/m/DraftIndicatorRenderer.js +1 -1
- package/src/sap/m/DynamicDate.js +6 -6
- package/src/sap/m/DynamicDateFormat.js +22 -5
- package/src/sap/m/DynamicDateOption.js +24 -18
- package/src/sap/m/DynamicDateRange.js +235 -45
- package/src/sap/m/DynamicDateRangeRenderer.js +1 -1
- package/src/sap/m/DynamicDateUtil.js +15 -6
- package/src/sap/m/DynamicDateValueHelpUIType.js +3 -3
- package/src/sap/m/ExpandableText.js +23 -11
- package/src/sap/m/ExpandableTextRenderer.js +1 -1
- package/src/sap/m/FacetFilter.js +7 -4
- package/src/sap/m/FacetFilterItem.js +2 -2
- package/src/sap/m/FacetFilterItemRenderer.js +1 -1
- package/src/sap/m/FacetFilterList.js +2 -2
- package/src/sap/m/FacetFilterListRenderer.js +1 -1
- package/src/sap/m/FacetFilterRenderer.js +1 -1
- package/src/sap/m/FeedContent.js +2 -2
- package/src/sap/m/FeedContentRenderer.js +1 -1
- package/src/sap/m/FeedInput.js +2 -2
- package/src/sap/m/FeedInputRenderer.js +1 -1
- package/src/sap/m/FeedListItem.js +2 -2
- package/src/sap/m/FeedListItemAction.js +2 -2
- package/src/sap/m/FeedListItemRenderer.js +1 -1
- package/src/sap/m/Fiori20Adapter.js +21 -14
- package/src/sap/m/FlexBox.js +3 -3
- package/src/sap/m/FlexBoxRenderer.js +1 -1
- package/src/sap/m/FlexBoxStylingHelper.js +1 -1
- package/src/sap/m/FlexItemData.js +2 -2
- package/src/sap/m/FormattedText.js +2 -2
- package/src/sap/m/FormattedTextAnchorGenerator.js +1 -1
- package/src/sap/m/FormattedTextRenderer.js +1 -1
- package/src/sap/m/GenericTag.js +19 -3
- package/src/sap/m/GenericTagRenderer.js +1 -1
- package/src/sap/m/GenericTile.js +43 -27
- package/src/sap/m/GenericTileLineModeRenderer.js +4 -4
- package/src/sap/m/GenericTileRenderer.js +2 -2
- package/src/sap/m/GroupHeaderListItem.js +2 -2
- package/src/sap/m/GroupHeaderListItemRenderer.js +1 -1
- package/src/sap/m/GrowingEnablement.js +29 -9
- package/src/sap/m/GrowingList.js +2 -2
- package/src/sap/m/GrowingListRenderer.js +1 -1
- package/src/sap/m/HBox.js +2 -2
- package/src/sap/m/HBoxRenderer.js +1 -1
- package/src/sap/m/HeaderContainer.js +2 -2
- package/src/sap/m/HeaderContainerItemNavigator.js +2 -2
- package/src/sap/m/HeaderContainerRenderer.js +1 -1
- package/src/sap/m/HyphenationSupport.js +1 -1
- package/src/sap/m/IconTabBar.js +16 -3
- package/src/sap/m/IconTabBarDragAndDropUtil.js +1 -1
- package/src/sap/m/IconTabBarRenderer.js +1 -1
- package/src/sap/m/IconTabBarSelectList.js +2 -2
- package/src/sap/m/IconTabBarSelectListRenderer.js +1 -1
- package/src/sap/m/IconTabFilter.js +9 -9
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +2 -2
- package/src/sap/m/IconTabHeader.js +44 -2
- package/src/sap/m/IconTabHeaderRenderer.js +26 -4
- package/src/sap/m/IconTabSeparator.js +2 -2
- package/src/sap/m/IllustratedMessage.js +66 -27
- package/src/sap/m/IllustratedMessageRenderer.js +14 -6
- package/src/sap/m/IllustratedMessageSize.js +1 -1
- package/src/sap/m/IllustratedMessageType.js +1 -1
- package/src/sap/m/Illustration.js +2 -2
- package/src/sap/m/IllustrationPool.js +1 -1
- package/src/sap/m/IllustrationRenderer.js +1 -1
- package/src/sap/m/Image.js +4 -3
- package/src/sap/m/ImageContent.js +2 -2
- package/src/sap/m/ImageContentRenderer.js +1 -1
- package/src/sap/m/ImageRenderer.js +1 -1
- package/src/sap/m/Input.js +84 -19
- package/src/sap/m/InputBase.js +8 -8
- package/src/sap/m/InputBaseRenderer.js +2 -2
- package/src/sap/m/InputListItem.js +2 -2
- package/src/sap/m/InputListItemRenderer.js +1 -1
- package/src/sap/m/InputRenderer.js +1 -1
- package/src/sap/m/InstanceManager.js +1 -1
- package/src/sap/m/Label.js +18 -4
- package/src/sap/m/LabelRenderer.js +1 -1
- package/src/sap/m/LightBox.js +2 -2
- package/src/sap/m/LightBoxItem.js +2 -2
- package/src/sap/m/LightBoxRenderer.js +1 -1
- package/src/sap/m/Link.js +19 -4
- package/src/sap/m/LinkRenderer.js +1 -1
- package/src/sap/m/List.js +2 -2
- package/src/sap/m/ListBase.js +10 -8
- package/src/sap/m/ListBaseRenderer.js +1 -1
- package/src/sap/m/ListItemBase.js +6 -13
- package/src/sap/m/ListItemBaseRenderer.js +4 -4
- package/src/sap/m/ListRenderer.js +1 -1
- package/src/sap/m/MaskEnabler.js +2 -2
- package/src/sap/m/MaskInput.js +2 -2
- package/src/sap/m/MaskInputRenderer.js +1 -1
- package/src/sap/m/MaskInputRule.js +2 -2
- package/src/sap/m/Menu.js +5 -5
- package/src/sap/m/MenuButton.js +37 -34
- package/src/sap/m/MenuButtonRenderer.js +1 -1
- package/src/sap/m/MenuItem.js +2 -2
- package/src/sap/m/MenuListItem.js +2 -2
- package/src/sap/m/MenuListItemRenderer.js +1 -1
- package/src/sap/m/MessageBox.js +54 -36
- package/src/sap/m/MessageItem.js +2 -2
- package/src/sap/m/MessageListItem.js +23 -2
- package/src/sap/m/MessageListItemRenderer.js +1 -1
- package/src/sap/m/MessagePage.js +21 -23
- package/src/sap/m/MessagePageRenderer.js +1 -1
- package/src/sap/m/MessagePopover.js +4 -5
- package/src/sap/m/MessagePopoverItem.js +2 -2
- package/src/sap/m/MessagePopoverRenderer.js +1 -1
- package/src/sap/m/MessageStrip.js +8 -3
- package/src/sap/m/MessageStripRenderer.js +1 -1
- package/src/sap/m/MessageStripUtilities.js +2 -3
- package/src/sap/m/MessageToast.js +6 -4
- package/src/sap/m/MessageView.js +13 -25
- package/src/sap/m/MessageViewRenderer.js +1 -1
- package/src/sap/m/MultiComboBox.js +63 -35
- package/src/sap/m/MultiComboBoxRenderer.js +1 -1
- package/src/sap/m/MultiEditField.js +2 -2
- package/src/sap/m/MultiInput.js +33 -13
- package/src/sap/m/MultiInputRenderer.js +1 -1
- package/src/sap/m/NavContainer.js +68 -4
- package/src/sap/m/NavContainerRenderer.js +1 -1
- package/src/sap/m/NewsContent.js +2 -2
- package/src/sap/m/NewsContentRenderer.js +1 -1
- package/src/sap/m/NotificationList.js +27 -2
- package/src/sap/m/NotificationListBase.js +193 -3
- package/src/sap/m/NotificationListGroup.js +29 -3
- package/src/sap/m/NotificationListGroupRenderer.js +3 -5
- package/src/sap/m/NotificationListItem.js +6 -39
- package/src/sap/m/NotificationListItemRenderer.js +2 -5
- package/src/sap/m/NotificationListRenderer.js +1 -1
- package/src/sap/m/NumericContent.js +2 -2
- package/src/sap/m/NumericContentRenderer.js +1 -1
- package/src/sap/m/NumericInput.js +2 -2
- package/src/sap/m/NumericInputRenderer.js +1 -1
- package/src/sap/m/ObjectAttribute.js +2 -2
- package/src/sap/m/ObjectAttributeRenderer.js +1 -1
- package/src/sap/m/ObjectHeader.js +2 -2
- package/src/sap/m/ObjectHeaderRenderer.js +1 -1
- package/src/sap/m/ObjectIdentifier.js +3 -3
- package/src/sap/m/ObjectIdentifierRenderer.js +1 -1
- package/src/sap/m/ObjectListItem.js +2 -2
- package/src/sap/m/ObjectListItemRenderer.js +1 -1
- package/src/sap/m/ObjectMarker.js +10 -9
- package/src/sap/m/ObjectMarkerRenderer.js +1 -1
- package/src/sap/m/ObjectNumber.js +5 -3
- package/src/sap/m/ObjectNumberRenderer.js +1 -1
- package/src/sap/m/ObjectStatus.js +28 -15
- package/src/sap/m/ObjectStatusRenderer.js +3 -6
- package/src/sap/m/OverflowToolbar.js +56 -6
- package/src/sap/m/OverflowToolbarAssociativePopover.js +2 -2
- package/src/sap/m/OverflowToolbarAssociativePopoverControls.js +3 -3
- package/src/sap/m/OverflowToolbarAssociativePopoverRenderer.js +1 -1
- package/src/sap/m/OverflowToolbarButton.js +32 -18
- package/src/sap/m/OverflowToolbarLayoutData.js +2 -2
- package/src/sap/m/OverflowToolbarMenuButton.js +2 -2
- package/src/sap/m/OverflowToolbarRenderer.js +1 -1
- package/src/sap/m/OverflowToolbarToggleButton.js +2 -2
- package/src/sap/m/P13nAnyFilterItem.js +2 -2
- package/src/sap/m/P13nColumnsItem.js +2 -2
- package/src/sap/m/P13nColumnsPanel.js +2 -2
- package/src/sap/m/P13nConditionPanel.js +2 -2
- package/src/sap/m/P13nConditionPanelRenderer.js +1 -1
- package/src/sap/m/P13nDialog.js +2 -2
- package/src/sap/m/P13nDimMeasureItem.js +2 -2
- package/src/sap/m/P13nDimMeasurePanel.js +2 -2
- package/src/sap/m/P13nFilterItem.js +2 -2
- package/src/sap/m/P13nFilterPanel.js +2 -2
- package/src/sap/m/P13nFilterPanelRenderer.js +1 -1
- package/src/sap/m/P13nGroupItem.js +2 -2
- package/src/sap/m/P13nGroupPanel.js +2 -2
- package/src/sap/m/P13nItem.js +8 -6
- package/src/sap/m/P13nOperationsHelper.js +1 -1
- package/src/sap/m/P13nPanel.js +2 -2
- package/src/sap/m/P13nSelectionItem.js +2 -2
- package/src/sap/m/P13nSelectionPanel.js +2 -2
- package/src/sap/m/P13nSortItem.js +2 -2
- package/src/sap/m/P13nSortPanel.js +2 -2
- package/src/sap/m/PDFViewer.js +3 -3
- package/src/sap/m/PDFViewerRenderManager.js +1 -1
- package/src/sap/m/PDFViewerRenderer.js +14 -6
- package/src/sap/m/Page.js +5 -4
- package/src/sap/m/PageAccessibleLandmarkInfo.js +2 -2
- package/src/sap/m/PageRenderer.js +1 -1
- package/src/sap/m/PagingButton.js +2 -2
- package/src/sap/m/PagingButtonRenderer.js +1 -1
- package/src/sap/m/Panel.js +2 -2
- package/src/sap/m/PanelRenderer.js +1 -1
- package/src/sap/m/PlanningCalendar.js +61 -24
- package/src/sap/m/PlanningCalendarHeader.js +15 -4
- package/src/sap/m/PlanningCalendarHeaderRenderer.js +1 -1
- package/src/sap/m/PlanningCalendarLegend.js +2 -2
- package/src/sap/m/PlanningCalendarLegendRenderer.js +1 -1
- package/src/sap/m/PlanningCalendarRenderer.js +1 -1
- package/src/sap/m/PlanningCalendarRow.js +3 -4
- package/src/sap/m/PlanningCalendarView.js +2 -2
- package/src/sap/m/Popover.js +6 -8
- package/src/sap/m/PopoverRenderer.js +1 -1
- package/src/sap/m/ProgressIndicator.js +5 -4
- package/src/sap/m/ProgressIndicatorRenderer.js +1 -1
- package/src/sap/m/PullToRefresh.js +4 -6
- package/src/sap/m/PullToRefreshRenderer.js +1 -1
- package/src/sap/m/QuickView.js +3 -3
- package/src/sap/m/QuickViewBase.js +2 -2
- package/src/sap/m/QuickViewCard.js +2 -2
- package/src/sap/m/QuickViewCardRenderer.js +1 -1
- package/src/sap/m/QuickViewGroup.js +2 -2
- package/src/sap/m/QuickViewGroupElement.js +2 -2
- package/src/sap/m/QuickViewPage.js +43 -8
- package/src/sap/m/QuickViewPageRenderer.js +1 -1
- package/src/sap/m/RadioButton.js +21 -6
- package/src/sap/m/RadioButtonGroup.js +2 -2
- package/src/sap/m/RadioButtonGroupRenderer.js +1 -1
- package/src/sap/m/RadioButtonRenderer.js +1 -1
- package/src/sap/m/RangeSlider.js +3 -3
- package/src/sap/m/RangeSliderRenderer.js +1 -1
- package/src/sap/m/RatingIndicator.js +3 -3
- package/src/sap/m/RatingIndicatorRenderer.js +1 -1
- package/src/sap/m/ResponsivePopover.js +2 -2
- package/src/sap/m/ResponsivePopoverRenderer.js +1 -1
- package/src/sap/m/ResponsiveScale.js +2 -2
- package/src/sap/m/ScrollBar.js +2 -2
- package/src/sap/m/ScrollBarRenderer.js +1 -1
- package/src/sap/m/ScrollContainer.js +2 -2
- package/src/sap/m/ScrollContainerRenderer.js +1 -1
- package/src/sap/m/SearchField.js +28 -62
- package/src/sap/m/SearchFieldRenderer.js +3 -21
- package/src/sap/m/SegmentedButton.js +16 -5
- package/src/sap/m/SegmentedButtonItem.js +2 -2
- package/src/sap/m/SegmentedButtonRenderer.js +1 -1
- package/src/sap/m/Select.js +67 -6
- package/src/sap/m/SelectDialog.js +47 -7
- package/src/sap/m/SelectDialogBase.js +19 -9
- package/src/sap/m/SelectList.js +4 -7
- package/src/sap/m/SelectListRenderer.js +1 -1
- package/src/sap/m/SelectRenderer.js +1 -1
- package/src/sap/m/SelectionDetails.js +4 -4
- package/src/sap/m/SelectionDetailsFacade.js +3 -3
- package/src/sap/m/SelectionDetailsItem.js +2 -2
- package/src/sap/m/SelectionDetailsItemLine.js +2 -2
- package/src/sap/m/SelectionDetailsListItemRenderer.js +1 -1
- package/src/sap/m/SelectionDetailsRenderer.js +1 -1
- package/src/sap/m/Shell.js +12 -3
- package/src/sap/m/ShellRenderer.js +1 -1
- package/src/sap/m/SimpleFixFlex.js +2 -2
- package/src/sap/m/SimpleFixFlexRenderer.js +1 -1
- package/src/sap/m/SinglePlanningCalendar.js +56 -17
- package/src/sap/m/SinglePlanningCalendarDayView.js +2 -2
- package/src/sap/m/SinglePlanningCalendarGrid.js +52 -26
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +1 -1
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +68 -43
- package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +24 -4
- package/src/sap/m/SinglePlanningCalendarMonthView.js +2 -2
- package/src/sap/m/SinglePlanningCalendarRenderer.js +1 -1
- package/src/sap/m/SinglePlanningCalendarUtilities.js +1 -1
- package/src/sap/m/SinglePlanningCalendarView.js +12 -4
- package/src/sap/m/SinglePlanningCalendarWeekView.js +20 -8
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +2 -2
- package/src/sap/m/SlideTile.js +28 -25
- package/src/sap/m/SlideTileRenderer.js +1 -1
- package/src/sap/m/Slider.js +3 -3
- package/src/sap/m/SliderRenderer.js +1 -1
- package/src/sap/m/SliderTooltip.js +2 -2
- package/src/sap/m/SliderTooltipBase.js +2 -2
- package/src/sap/m/SliderTooltipBaseRenderer.js +1 -1
- package/src/sap/m/SliderTooltipContainer.js +2 -2
- package/src/sap/m/SliderTooltipContainerRenderer.js +1 -1
- package/src/sap/m/SliderTooltipRenderer.js +1 -1
- package/src/sap/m/SliderUtilities.js +1 -1
- package/src/sap/m/SplitApp.js +2 -2
- package/src/sap/m/SplitAppRenderer.js +1 -1
- package/src/sap/m/SplitButton.js +16 -4
- package/src/sap/m/SplitButtonRenderer.js +1 -1
- package/src/sap/m/SplitContainer.js +47 -47
- package/src/sap/m/SplitContainerRenderer.js +1 -1
- package/src/sap/m/StandardDynamicDateOption.js +52 -19
- package/src/sap/m/StandardListItem.js +2 -2
- package/src/sap/m/StandardListItemRenderer.js +1 -1
- package/src/sap/m/StandardTile.js +2 -2
- package/src/sap/m/StandardTileRenderer.js +1 -1
- package/src/sap/m/StandardTreeItem.js +2 -2
- package/src/sap/m/StandardTreeItemRenderer.js +1 -1
- package/src/sap/m/StepInput.js +40 -7
- package/src/sap/m/StepInputRenderer.js +1 -1
- package/src/sap/m/Suggest.js +1 -1
- package/src/sap/m/SuggestionItem.js +2 -2
- package/src/sap/m/SuggestionsList.js +1 -1
- package/src/sap/m/SuggestionsListRenderer.js +1 -1
- package/src/sap/m/SuggestionsPopover.js +2 -2
- package/src/sap/m/Support.js +1 -1
- package/src/sap/m/Switch.js +19 -5
- package/src/sap/m/SwitchRenderer.js +3 -3
- package/src/sap/m/TabContainer.js +2 -2
- package/src/sap/m/TabContainerItem.js +2 -2
- package/src/sap/m/TabContainerRenderer.js +1 -1
- package/src/sap/m/TabStrip.js +13 -8
- package/src/sap/m/TabStripItem.js +2 -2
- package/src/sap/m/TabStripRenderer.js +1 -1
- package/src/sap/m/Table.js +5 -5
- package/src/sap/m/TablePersoController.js +2 -2
- package/src/sap/m/TablePersoDialog.js +31 -8
- package/src/sap/m/TablePersoProvider.js +2 -2
- package/src/sap/m/TableRenderer.js +3 -2
- package/src/sap/m/TableSelectDialog.js +39 -4
- package/src/sap/m/Text.js +18 -4
- package/src/sap/m/TextArea.js +2 -2
- package/src/sap/m/TextAreaRenderer.js +1 -1
- package/src/sap/m/TextRenderer.js +1 -1
- package/src/sap/m/Tile.js +2 -2
- package/src/sap/m/TileContainer.js +5 -5
- package/src/sap/m/TileContainerRenderer.js +1 -1
- package/src/sap/m/TileContent.js +2 -2
- package/src/sap/m/TileContentRenderer.js +3 -4
- package/src/sap/m/TileRenderer.js +1 -1
- package/src/sap/m/TimePicker.js +30 -52
- package/src/sap/m/TimePickerClock.js +2 -2
- package/src/sap/m/TimePickerClockRenderer.js +1 -1
- package/src/sap/m/TimePickerClocks.js +8 -6
- package/src/sap/m/TimePickerClocksRenderer.js +1 -1
- package/src/sap/m/TimePickerInputs.js +2 -2
- package/src/sap/m/TimePickerInputsRenderer.js +1 -1
- package/src/sap/m/TimePickerInternals.js +7 -5
- package/src/sap/m/TimePickerInternalsRenderer.js +1 -1
- package/src/sap/m/TimePickerRenderer.js +1 -1
- package/src/sap/m/TimePickerSlider.js +5 -3
- package/src/sap/m/TimePickerSliderRenderer.js +1 -1
- package/src/sap/m/TimePickerSliders.js +4 -4
- package/src/sap/m/TimePickerSlidersRenderer.js +1 -1
- package/src/sap/m/Title.js +19 -4
- package/src/sap/m/TitlePropagationSupport.js +2 -2
- package/src/sap/m/TitleRenderer.js +1 -1
- package/src/sap/m/ToDoCardRenderer.js +1 -1
- package/src/sap/m/ToggleButton.js +18 -4
- package/src/sap/m/ToggleButtonRenderer.js +1 -1
- package/src/sap/m/Token.js +2 -2
- package/src/sap/m/TokenRenderer.js +1 -1
- package/src/sap/m/Tokenizer.js +34 -13
- package/src/sap/m/TokenizerRenderer.js +8 -22
- package/src/sap/m/Toolbar.js +30 -4
- package/src/sap/m/ToolbarLayoutData.js +2 -2
- package/src/sap/m/ToolbarRenderer.js +7 -6
- package/src/sap/m/ToolbarSeparator.js +4 -3
- package/src/sap/m/ToolbarSeparatorRenderer.js +1 -1
- package/src/sap/m/ToolbarSpacer.js +2 -2
- package/src/sap/m/ToolbarSpacerRenderer.js +1 -1
- package/src/sap/m/Tree.js +2 -2
- package/src/sap/m/TreeItemBase.js +2 -2
- package/src/sap/m/TreeItemBaseRenderer.js +1 -1
- package/src/sap/m/TreeRenderer.js +1 -1
- package/src/sap/m/UploadCollection.js +11 -26
- package/src/sap/m/UploadCollectionItem.js +2 -2
- package/src/sap/m/UploadCollectionParameter.js +2 -2
- package/src/sap/m/UploadCollectionRenderer.js +1 -1
- package/src/sap/m/UploadCollectionToolbarPlaceholder.js +2 -2
- package/src/sap/m/VBox.js +2 -2
- package/src/sap/m/VBoxRenderer.js +1 -1
- package/src/sap/m/ValueStateHeader.js +2 -2
- package/src/sap/m/VariantItem.js +1 -1
- package/src/sap/m/VariantManagement.js +21 -3
- package/src/sap/m/ViewSettingsCustomItem.js +8 -7
- package/src/sap/m/ViewSettingsCustomTab.js +2 -2
- package/src/sap/m/ViewSettingsDialog.js +55 -49
- package/src/sap/m/ViewSettingsDialogRenderer.js +1 -1
- package/src/sap/m/ViewSettingsFilterItem.js +2 -2
- package/src/sap/m/ViewSettingsItem.js +2 -2
- package/src/sap/m/VisibleItem.js +2 -2
- package/src/sap/m/WheelSlider.js +5 -3
- package/src/sap/m/WheelSliderContainer.js +2 -2
- package/src/sap/m/WheelSliderContainerRenderer.js +1 -1
- package/src/sap/m/WheelSliderRenderer.js +1 -1
- package/src/sap/m/Wizard.js +19 -11
- package/src/sap/m/WizardProgressNavigator.js +2 -2
- package/src/sap/m/WizardProgressNavigatorRenderer.js +1 -1
- package/src/sap/m/WizardRenderer.js +1 -1
- package/src/sap/m/WizardStep.js +21 -6
- package/src/sap/m/WizardStepRenderer.js +1 -1
- package/src/sap/m/changeHandler/AddTableColumn.js +2 -2
- package/src/sap/m/changeHandler/ChangeLinkTarget.js +2 -2
- package/src/sap/m/changeHandler/CombineButtons.js +2 -2
- package/src/sap/m/changeHandler/MoveTableColumns.js +2 -2
- package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +2 -2
- package/src/sap/m/changeHandler/SplitMenuButton.js +2 -2
- package/src/sap/m/delegate/DateNavigation.js +11 -2
- package/src/sap/m/delegate/ValueStateMessage.js +1 -1
- package/src/sap/m/designtime/ActionSheet.designtime.js +1 -1
- package/src/sap/m/designtime/Avatar.designtime.js +1 -1
- package/src/sap/m/designtime/Bar.designtime.js +1 -1
- package/src/sap/m/designtime/Breadcrumbs.designtime.js +1 -1
- package/src/sap/m/designtime/BusyDialog.designtime.js +1 -1
- package/src/sap/m/designtime/Button.designtime.js +1 -1
- package/src/sap/m/designtime/Carousel.designtime.js +1 -1
- package/src/sap/m/designtime/CheckBox.designtime.js +1 -1
- package/src/sap/m/designtime/Column.designtime.js +1 -1
- package/src/sap/m/designtime/ComboBox.designtime.js +1 -1
- package/src/sap/m/designtime/CustomListItem.designtime.js +1 -1
- package/src/sap/m/designtime/CustomTile.designtime.js +1 -1
- package/src/sap/m/designtime/DatePicker.designtime.js +1 -1
- package/src/sap/m/designtime/DateRangeSelection.designtime.js +1 -1
- package/src/sap/m/designtime/DateTimeInput.designtime.js +1 -1
- package/src/sap/m/designtime/DateTimePicker.designtime.js +1 -1
- package/src/sap/m/designtime/Dialog.designtime.js +1 -1
- package/src/sap/m/designtime/DraftIndicator.designtime.js +1 -1
- package/src/sap/m/designtime/ExpandableText.designtime.js +1 -1
- package/src/sap/m/designtime/FeedInput.designtime.js +1 -1
- package/src/sap/m/designtime/FeedListItem.designtime.js +1 -1
- package/src/sap/m/designtime/FlexBox.designtime.js +1 -1
- package/src/sap/m/designtime/HBox.designtime.js +1 -1
- package/src/sap/m/designtime/IconTabBar.designtime.js +1 -1
- package/src/sap/m/designtime/IconTabFilter.designtime.js +1 -1
- package/src/sap/m/designtime/IconTabSeparator.designtime.js +1 -1
- package/src/sap/m/designtime/Image.designtime.js +1 -1
- package/src/sap/m/designtime/Input.designtime.js +1 -1
- package/src/sap/m/designtime/InputBase.designtime.js +1 -1
- package/src/sap/m/designtime/InputListItem.designtime.js +1 -1
- package/src/sap/m/designtime/Label.designtime.js +1 -1
- package/src/sap/m/designtime/LightBox.designtime.js +1 -1
- package/src/sap/m/designtime/Link.designtime.js +1 -1
- package/src/sap/m/designtime/ListBase.designtime.js +1 -1
- package/src/sap/m/designtime/ListItemBase.designtime.js +1 -1
- package/src/sap/m/designtime/MenuButton.designtime.js +1 -1
- package/src/sap/m/designtime/MessagePage.designtime.js +1 -1
- package/src/sap/m/designtime/MessageStrip.designtime.js +1 -1
- package/src/sap/m/designtime/MultiComboBox.designtime.js +1 -1
- package/src/sap/m/designtime/MultiInput.designtime.js +1 -1
- package/src/sap/m/designtime/NewsContent.designtime.js +1 -1
- package/src/sap/m/designtime/ObjectAttribute.designtime.js +1 -1
- package/src/sap/m/designtime/ObjectHeader.designtime.js +1 -1
- package/src/sap/m/designtime/ObjectIdentifier.designtime.js +1 -1
- package/src/sap/m/designtime/ObjectListItem.designtime.js +1 -1
- package/src/sap/m/designtime/ObjectMarker.designtime.js +1 -1
- package/src/sap/m/designtime/ObjectNumber.designtime.js +1 -1
- package/src/sap/m/designtime/ObjectStatus.designtime.js +1 -1
- package/src/sap/m/designtime/OverflowToolbar.designtime.js +1 -1
- package/src/sap/m/designtime/OverflowToolbarButton.designtime.js +1 -1
- package/src/sap/m/designtime/Page.designtime.js +1 -1
- package/src/sap/m/designtime/Panel.designtime.js +1 -1
- package/src/sap/m/designtime/PlanningCalendar.designtime.js +1 -1
- package/src/sap/m/designtime/PlanningCalendarLegend.designtime.js +1 -1
- package/src/sap/m/designtime/Popover.designtime.js +1 -1
- package/src/sap/m/designtime/ProgressIndicator.designtime.js +1 -1
- package/src/sap/m/designtime/QuickView.designtime.js +1 -1
- package/src/sap/m/designtime/QuickViewCard.designtime.js +1 -1
- package/src/sap/m/designtime/RadioButton.designtime.js +1 -1
- package/src/sap/m/designtime/RadioButtonGroup.designtime.js +1 -1
- package/src/sap/m/designtime/RangeSlider.designtime.js +1 -1
- package/src/sap/m/designtime/RatingIndicator.designtime.js +1 -1
- package/src/sap/m/designtime/ScrollContainer.designtime.js +1 -1
- package/src/sap/m/designtime/SearchField.designtime.js +1 -1
- package/src/sap/m/designtime/SegmentedButton.designtime.js +1 -1
- package/src/sap/m/designtime/Select.designtime.js +1 -1
- package/src/sap/m/designtime/Slider.designtime.js +1 -1
- package/src/sap/m/designtime/SplitApp.designtime.js +1 -1
- package/src/sap/m/designtime/SplitContainer.designtime.js +1 -1
- package/src/sap/m/designtime/StandardListItem.designtime.js +1 -1
- package/src/sap/m/designtime/StepInput.designtime.js +1 -1
- package/src/sap/m/designtime/Switch.designtime.js +1 -1
- package/src/sap/m/designtime/TabContainer.designtime.js +1 -1
- package/src/sap/m/designtime/Table.designtime.js +1 -1
- package/src/sap/m/designtime/Text.designtime.js +1 -1
- package/src/sap/m/designtime/TextArea.designtime.js +1 -1
- package/src/sap/m/designtime/TimePicker.designtime.js +6 -1
- package/src/sap/m/designtime/Title.designtime.js +1 -1
- package/src/sap/m/designtime/ToggleButton.designtime.js +1 -1
- package/src/sap/m/designtime/Toolbar.designtime.js +1 -1
- package/src/sap/m/designtime/VBox.designtime.js +1 -1
- package/src/sap/m/designtime/VariantManagement.designtime.js +1 -1
- package/src/sap/m/designtime/Wizard.designtime.js +1 -1
- package/src/sap/m/designtime/library.designtime.js +1 -1
- package/src/sap/m/designtime/semantic/DetailPage.designtime.js +1 -1
- package/src/sap/m/designtime/semantic/SemanticPage.designtime.js +1 -1
- package/src/sap/m/designtime/semantic/ShareMenuPage.designtime.js +1 -1
- package/src/sap/m/flexibility/Avatar.flexibility.js +1 -1
- package/src/sap/m/flexibility/Bar.flexibility.js +1 -1
- package/src/sap/m/flexibility/Button.flexibility.js +1 -1
- package/src/sap/m/flexibility/CheckBox.flexibility.js +1 -1
- package/src/sap/m/flexibility/Dialog.flexibility.js +1 -1
- package/src/sap/m/flexibility/EngineFlex.js +1 -1
- package/src/sap/m/flexibility/ExpandableText.flexibility.js +1 -1
- package/src/sap/m/flexibility/IconTabBar.flexibility.js +1 -1
- package/src/sap/m/flexibility/IconTabFilter.flexibility.js +1 -1
- package/src/sap/m/flexibility/InputListItem.flexibility.js +1 -1
- package/src/sap/m/flexibility/Label.flexibility.js +1 -1
- package/src/sap/m/flexibility/Link.flexibility.js +1 -1
- package/src/sap/m/flexibility/MenuButton.flexibility.js +1 -1
- package/src/sap/m/flexibility/OverflowToolbar.flexibility.js +1 -1
- package/src/sap/m/flexibility/OverflowToolbarButton.flexibility.js +1 -1
- package/src/sap/m/flexibility/Page.flexibility.js +1 -1
- package/src/sap/m/flexibility/Panel.flexibility.js +1 -1
- package/src/sap/m/flexibility/Popover.flexibility.js +1 -1
- package/src/sap/m/flexibility/RadioButton.flexibility.js +1 -1
- package/src/sap/m/flexibility/StandardListItem.flexibility.js +1 -1
- package/src/sap/m/flexibility/Table.flexibility.js +1 -1
- package/src/sap/m/flexibility/Text.flexibility.js +1 -1
- package/src/sap/m/flexibility/Title.flexibility.js +1 -1
- package/src/sap/m/flexibility/Toolbar.flexibility.js +1 -1
- package/src/sap/m/inputUtils/ListHelpers.js +4 -2
- package/src/sap/m/inputUtils/SuggestionsPopoverDialogMixin.js +9 -3
- package/src/sap/m/inputUtils/SuggestionsPopoverPopoverMixin.js +1 -1
- package/src/sap/m/inputUtils/calculateSelectionStart.js +1 -1
- package/src/sap/m/inputUtils/completeTextSelected.js +1 -1
- package/src/sap/m/inputUtils/filterItems.js +1 -1
- package/src/sap/m/inputUtils/forwardItemProperties.js +1 -1
- package/src/sap/m/inputUtils/forwardItemPropertiesToToken.js +1 -1
- package/src/sap/m/inputUtils/getTokenByItem.js +1 -1
- package/src/sap/m/inputUtils/highlightDOMElements.js +1 -1
- package/src/sap/m/inputUtils/inputsDefaultFilter.js +1 -1
- package/src/sap/m/inputUtils/itemsVisibilityHandler.js +1 -1
- package/src/sap/m/inputUtils/scrollToItem.js +1 -1
- package/src/sap/m/inputUtils/selectionRange.js +1 -1
- package/src/sap/m/inputUtils/typeAhead.js +11 -1
- package/src/sap/m/inputUtils/wordStartsWithValue.js +1 -1
- package/src/sap/m/library.js +133 -39
- package/src/sap/m/library.support.js +1 -1
- package/src/sap/m/messagebundle.properties +50 -30
- package/src/sap/m/messagebundle_ar.properties +55 -24
- package/src/sap/m/messagebundle_bg.properties +121 -90
- package/src/sap/m/messagebundle_ca.properties +49 -18
- package/src/sap/m/messagebundle_cs.properties +71 -40
- package/src/sap/m/messagebundle_cy.properties +47 -16
- package/src/sap/m/messagebundle_da.properties +47 -16
- package/src/sap/m/messagebundle_de.properties +57 -26
- package/src/sap/m/messagebundle_el.properties +64 -33
- package/src/sap/m/messagebundle_en.properties +45 -14
- package/src/sap/m/messagebundle_en_GB.properties +43 -12
- package/src/sap/m/messagebundle_en_US_sappsd.properties +40 -14
- package/src/sap/m/messagebundle_en_US_saprigi.properties +34 -20
- package/src/sap/m/messagebundle_en_US_saptrc.properties +44 -13
- package/src/sap/m/messagebundle_es.properties +63 -32
- package/src/sap/m/messagebundle_es_MX.properties +49 -18
- package/src/sap/m/messagebundle_et.properties +47 -16
- package/src/sap/m/messagebundle_fi.properties +50 -19
- package/src/sap/m/messagebundle_fr.properties +90 -59
- package/src/sap/m/messagebundle_fr_CA.properties +49 -18
- package/src/sap/m/messagebundle_hi.properties +56 -25
- package/src/sap/m/messagebundle_hr.properties +58 -27
- package/src/sap/m/messagebundle_hu.properties +67 -36
- package/src/sap/m/messagebundle_id.properties +49 -18
- package/src/sap/m/messagebundle_it.properties +58 -27
- package/src/sap/m/messagebundle_iw.properties +47 -16
- package/src/sap/m/messagebundle_ja.properties +63 -32
- package/src/sap/m/messagebundle_kk.properties +58 -27
- package/src/sap/m/messagebundle_ko.properties +50 -19
- package/src/sap/m/messagebundle_lt.properties +47 -16
- package/src/sap/m/messagebundle_lv.properties +49 -18
- package/src/sap/m/messagebundle_ms.properties +47 -16
- package/src/sap/m/messagebundle_nl.properties +50 -19
- package/src/sap/m/messagebundle_no.properties +50 -19
- package/src/sap/m/messagebundle_pl.properties +56 -25
- package/src/sap/m/messagebundle_pt.properties +49 -18
- package/src/sap/m/messagebundle_pt_PT.properties +47 -16
- package/src/sap/m/messagebundle_ro.properties +48 -17
- package/src/sap/m/messagebundle_ru.properties +47 -16
- package/src/sap/m/messagebundle_sh.properties +48 -17
- package/src/sap/m/messagebundle_sk.properties +48 -17
- package/src/sap/m/messagebundle_sl.properties +54 -23
- package/src/sap/m/messagebundle_sv.properties +57 -26
- package/src/sap/m/messagebundle_th.properties +78 -47
- package/src/sap/m/messagebundle_tr.properties +47 -16
- package/src/sap/m/messagebundle_uk.properties +47 -16
- package/src/sap/m/messagebundle_vi.properties +47 -16
- package/src/sap/m/messagebundle_zh_CN.properties +47 -16
- package/src/sap/m/messagebundle_zh_TW.properties +49 -18
- package/src/sap/m/p13n/AbstractContainer.js +3 -4
- package/src/sap/m/p13n/AbstractContainerItem.js +4 -4
- package/src/sap/m/p13n/BasePanel.js +58 -28
- package/src/sap/m/p13n/Container.js +2 -2
- package/src/sap/m/p13n/Engine.js +62 -52
- package/src/sap/m/p13n/FlexUtil.js +1 -1
- package/src/sap/m/p13n/GroupController.js +2 -3
- package/src/sap/m/p13n/GroupPanel.js +2 -4
- package/src/sap/m/p13n/MetadataHelper.js +2 -2
- package/src/sap/m/p13n/PersistenceProvider.js +28 -9
- package/src/sap/m/p13n/Popup.js +21 -9
- package/src/sap/m/p13n/QueryPanel.js +37 -17
- package/src/sap/m/p13n/SelectionController.js +23 -9
- package/src/sap/m/p13n/SelectionPanel.js +14 -5
- package/src/sap/m/p13n/SortController.js +3 -4
- package/src/sap/m/p13n/SortPanel.js +2 -4
- package/src/sap/m/p13n/enum/PersistenceMode.js +4 -1
- package/src/sap/m/p13n/enum/ProcessingStrategy.js +3 -2
- package/src/sap/m/p13n/handler/xConfigHandler.js +2 -2
- package/src/sap/m/p13n/modification/FlexModificationHandler.js +1 -1
- package/src/sap/m/p13n/modification/LocalStorageModificationHandler.js +1 -1
- package/src/sap/m/p13n/modification/ModificationHandler.js +1 -1
- package/src/sap/m/p13n/modules/AdaptationProvider.js +4 -7
- package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +16 -14
- package/src/sap/m/p13n/modules/StateHandlerRegistry.js +5 -4
- package/src/sap/m/p13n/modules/UIManager.js +5 -5
- package/src/sap/m/p13n/modules/xConfigAPI.js +5 -2
- package/src/sap/m/plugins/CellSelector.js +114 -56
- package/src/sap/m/plugins/ColumnResizer.js +9 -9
- package/src/sap/m/plugins/CopyProvider.js +302 -0
- package/src/sap/m/plugins/DataStateIndicator.js +2 -2
- package/src/sap/m/plugins/PasteProvider.js +2 -2
- package/src/sap/m/plugins/PluginBase.js +8 -5
- package/src/sap/m/routing/RouteMatchedHandler.js +1 -1
- package/src/sap/m/routing/Router.js +1 -1
- package/src/sap/m/routing/Target.js +1 -1
- package/src/sap/m/routing/TargetHandler.js +1 -1
- package/src/sap/m/routing/Targets.js +1 -1
- package/src/sap/m/routing/async/Target.js +1 -1
- package/src/sap/m/routing/async/Targets.js +1 -1
- package/src/sap/m/routing/sync/Target.js +1 -1
- package/src/sap/m/routing/sync/Targets.js +1 -1
- package/src/sap/m/rules/Breadcrumbs.support.js +1 -1
- package/src/sap/m/rules/Button.support.js +1 -1
- package/src/sap/m/rules/CheckBox.support.js +1 -1
- package/src/sap/m/rules/DatePicker.support.js +1 -1
- package/src/sap/m/rules/DateRangeSelection.support.js +1 -1
- package/src/sap/m/rules/Dialog.support.js +1 -1
- package/src/sap/m/rules/FacetFilter.support.js +1 -1
- package/src/sap/m/rules/IconTabBar.support.js +1 -1
- package/src/sap/m/rules/Image.support.js +1 -1
- package/src/sap/m/rules/Input.support.js +1 -1
- package/src/sap/m/rules/Link.support.js +1 -1
- package/src/sap/m/rules/MaskInput.support.js +1 -1
- package/src/sap/m/rules/MessagePage.support.js +1 -1
- package/src/sap/m/rules/ObjectHeader.support.js +1 -1
- package/src/sap/m/rules/ObjectListItem.support.js +1 -1
- package/src/sap/m/rules/ObjectMarker.support.js +1 -1
- package/src/sap/m/rules/ObjectStatus.support.js +1 -1
- package/src/sap/m/rules/Panel.support.js +1 -1
- package/src/sap/m/rules/Select.support.js +1 -1
- package/src/sap/m/rules/SelectDialog.support.js +1 -1
- package/src/sap/m/rules/StepInput.support.js +1 -1
- package/src/sap/m/rules/Table.support.js +1 -1
- package/src/sap/m/rules/Title.support.js +1 -1
- package/src/sap/m/rules/Tokenizer.support.js +1 -1
- package/src/sap/m/rules/ViewSettingsDialog.support.js +1 -1
- package/src/sap/m/semantic/AddAction.js +2 -2
- package/src/sap/m/semantic/CancelAction.js +2 -2
- package/src/sap/m/semantic/DeleteAction.js +2 -2
- package/src/sap/m/semantic/DetailPage.js +2 -2
- package/src/sap/m/semantic/DiscussInJamAction.js +2 -2
- package/src/sap/m/semantic/EditAction.js +2 -2
- package/src/sap/m/semantic/FavoriteAction.js +2 -2
- package/src/sap/m/semantic/FilterAction.js +2 -2
- package/src/sap/m/semantic/FilterSelect.js +2 -2
- package/src/sap/m/semantic/FlagAction.js +2 -2
- package/src/sap/m/semantic/ForwardAction.js +2 -2
- package/src/sap/m/semantic/FullscreenPage.js +2 -2
- package/src/sap/m/semantic/GroupAction.js +2 -2
- package/src/sap/m/semantic/GroupSelect.js +2 -2
- package/src/sap/m/semantic/MainAction.js +2 -2
- package/src/sap/m/semantic/MasterPage.js +2 -2
- package/src/sap/m/semantic/MessagesIndicator.js +2 -2
- package/src/sap/m/semantic/MultiSelectAction.js +2 -2
- package/src/sap/m/semantic/NegativeAction.js +2 -2
- package/src/sap/m/semantic/OpenInAction.js +2 -2
- package/src/sap/m/semantic/PositiveAction.js +2 -2
- package/src/sap/m/semantic/PrintAction.js +2 -2
- package/src/sap/m/semantic/SaveAction.js +2 -2
- package/src/sap/m/semantic/Segment.js +2 -2
- package/src/sap/m/semantic/SegmentedContainer.js +2 -2
- package/src/sap/m/semantic/SemanticButton.js +2 -2
- package/src/sap/m/semantic/SemanticConfiguration.js +2 -2
- package/src/sap/m/semantic/SemanticControl.js +2 -2
- package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +2 -2
- package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +2 -2
- package/src/sap/m/semantic/SemanticPage.js +2 -2
- package/src/sap/m/semantic/SemanticPageRenderer.js +1 -1
- package/src/sap/m/semantic/SemanticSelect.js +2 -2
- package/src/sap/m/semantic/SemanticToggleButton.js +2 -2
- package/src/sap/m/semantic/SendEmailAction.js +2 -2
- package/src/sap/m/semantic/SendMessageAction.js +2 -2
- package/src/sap/m/semantic/ShareInJamAction.js +2 -2
- package/src/sap/m/semantic/ShareMenu.js +2 -2
- package/src/sap/m/semantic/ShareMenuPage.js +2 -2
- package/src/sap/m/semantic/SortAction.js +2 -2
- package/src/sap/m/semantic/SortSelect.js +2 -2
- package/src/sap/m/table/Util.js +31 -11
- package/src/sap/m/table/columnmenu/ActionItem.js +20 -14
- package/src/sap/m/table/columnmenu/Entry.js +18 -14
- package/src/sap/m/table/columnmenu/Item.js +21 -19
- package/src/sap/m/table/columnmenu/ItemBase.js +26 -23
- package/src/sap/m/table/columnmenu/ItemContainer.js +1 -1
- package/src/sap/m/table/columnmenu/Menu.js +107 -106
- package/src/sap/m/table/columnmenu/MenuRenderer.js +2 -4
- package/src/sap/m/table/columnmenu/QuickAction.js +12 -11
- package/src/sap/m/table/columnmenu/QuickActionBase.js +12 -11
- package/src/sap/m/table/columnmenu/QuickActionContainer.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionItem.js +10 -9
- package/src/sap/m/table/columnmenu/QuickGroup.js +10 -8
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +10 -9
- package/src/sap/m/table/columnmenu/QuickSort.js +11 -9
- package/src/sap/m/table/columnmenu/QuickSortItem.js +16 -9
- package/src/sap/m/table/columnmenu/QuickTotal.js +10 -8
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +10 -9
- package/src/sap/m/themes/base/Carousel.less +17 -4
- package/src/sap/m/themes/base/ColumnResizer.less +1 -1
- package/src/sap/m/themes/base/Dialog.less +22 -52
- package/src/sap/m/themes/base/FeedInput.less +4 -0
- package/src/sap/m/themes/base/FeedListItem.less +1 -1
- package/src/sap/m/themes/base/GenericTile.less +97 -16
- package/src/sap/m/themes/base/IconTabBar.less +7 -4
- package/src/sap/m/themes/base/IllustratedMessage.less +1 -0
- package/src/sap/m/themes/base/InputBase.less +11 -2
- package/src/sap/m/themes/base/Label.less +22 -0
- package/src/sap/m/themes/base/Link.less +3 -1
- package/src/sap/m/themes/base/MenuButton.less +1 -1
- package/src/sap/m/themes/base/MessageBox.less +5 -5
- package/src/sap/m/themes/base/MessageView.less +4 -0
- package/src/sap/m/themes/base/MultiComboBox.less +6 -4
- package/src/sap/m/themes/base/NotificationListBase.less +3 -18
- package/src/sap/m/themes/base/NotificationListGroup.less +14 -0
- package/src/sap/m/themes/base/NotificationListItem.less +12 -0
- package/src/sap/m/themes/base/ObjectNumber.less +9 -0
- package/src/sap/m/themes/base/ObjectStatus.less +44 -0
- package/src/sap/m/themes/base/PlanningCalendar.less +1 -0
- package/src/sap/m/themes/base/RadioButton.less +1 -1
- package/src/sap/m/themes/base/SinglePlanningCalendarMonthGrid.less +1 -0
- package/src/sap/m/themes/base/SlideTile.less +4 -4
- package/src/sap/m/themes/base/SplitButton.less +3 -1
- package/src/sap/m/themes/base/SuggestionsPopover.less +14 -6
- package/src/sap/m/themes/base/Table.less +9 -16
- package/src/sap/m/themes/base/Text.less +1 -0
- package/src/sap/m/themes/base/TextArea.less +57 -16
- package/src/sap/m/themes/base/Tokenizer.less +23 -0
- package/src/sap/m/themes/base/Toolbar.less +1 -1
- package/src/sap/m/themes/base/WizardProgressNavigator.less +4 -3
- package/src/sap/m/themes/base/library.source.less +1 -1
- package/src/sap/m/themes/base/p13n.QueryPanel.less +5 -0
- package/src/sap/m/themes/sap_hcb/Dialog.less +2 -2
- package/src/sap/m/themes/sap_hcb/ObjectStatus.less +40 -0
- package/src/sap/m/themes/sap_hcb/library.source.less +1 -1
- package/src/sap/m/themes/sap_horizon/Label.less +10 -0
- package/src/sap/m/themes/sap_horizon/Text.less +10 -0
- package/src/sap/m/upload/UploadSet.js +65 -5
- package/src/sap/m/upload/UploadSetItem.js +15 -11
- package/src/sap/m/upload/UploadSetRenderer.js +1 -1
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +2 -2
- package/src/sap/m/upload/Uploader.js +1 -1
- package/src/sap/m/upload/UploaderHttpRequestMethod.js +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -23,7 +23,8 @@ sap.ui.define([
|
|
|
23
23
|
'sap/ui/unified/DateTypeRange',
|
|
24
24
|
'sap/ui/unified/library',
|
|
25
25
|
'sap/ui/base/ManagedObjectObserver',
|
|
26
|
-
"sap/ui/thirdparty/jquery"
|
|
26
|
+
"sap/ui/thirdparty/jquery",
|
|
27
|
+
"sap/ui/core/date/CalendarWeekNumbering"
|
|
27
28
|
],
|
|
28
29
|
function(
|
|
29
30
|
library,
|
|
@@ -43,7 +44,8 @@ function(
|
|
|
43
44
|
DateTypeRange,
|
|
44
45
|
unifiedLibrary,
|
|
45
46
|
ManagedObjectObserver,
|
|
46
|
-
jQuery
|
|
47
|
+
jQuery,
|
|
48
|
+
CalendarWeekNumbering
|
|
47
49
|
) {
|
|
48
50
|
"use strict";
|
|
49
51
|
|
|
@@ -102,7 +104,7 @@ function(
|
|
|
102
104
|
* @extends sap.ui.core.Control
|
|
103
105
|
*
|
|
104
106
|
* @author SAP SE
|
|
105
|
-
* @version 1.
|
|
107
|
+
* @version 1.111.0
|
|
106
108
|
*
|
|
107
109
|
* @constructor
|
|
108
110
|
* @public
|
|
@@ -210,10 +212,19 @@ function(
|
|
|
210
212
|
*
|
|
211
213
|
* Note: This property will only have effect in Week view and Month view of the SinglePlanningCalendar,
|
|
212
214
|
* but it wouldn't have effect in WorkWeek view.
|
|
215
|
+
* This property should not be used with the calendarWeekNumbering property.
|
|
213
216
|
*
|
|
214
217
|
* @since 1.98
|
|
215
218
|
*/
|
|
216
|
-
firstDayOfWeek : {type : "int", group : "Appearance", defaultValue : -1}
|
|
219
|
+
firstDayOfWeek : {type : "int", group : "Appearance", defaultValue : -1},
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* If set, the calendar week numbering is used for display.
|
|
223
|
+
* If not set, the calendar week numbering of the global configuration is used.
|
|
224
|
+
* Note: This property should not be used with firstDayOfWeek property.
|
|
225
|
+
* @since 1.110.0
|
|
226
|
+
*/
|
|
227
|
+
calendarWeekNumbering : { type : "sap.ui.core.date.CalendarWeekNumbering", group : "Appearance", defaultValue: null}
|
|
217
228
|
},
|
|
218
229
|
|
|
219
230
|
aggregations : {
|
|
@@ -503,6 +514,11 @@ function(
|
|
|
503
514
|
SinglePlanningCalendar.prototype.onBeforeRendering = function () {
|
|
504
515
|
// We can apply/remove sticky classes even before the control is rendered.
|
|
505
516
|
this._toggleStickyClasses();
|
|
517
|
+
|
|
518
|
+
if (this.getFirstDayOfWeek() !== -1 && this.getCalendarWeekNumbering()) {
|
|
519
|
+
Log.warning("Both properties firstDayOfWeek and calendarWeekNumbering should not be used at the same time!");
|
|
520
|
+
}
|
|
521
|
+
|
|
506
522
|
};
|
|
507
523
|
|
|
508
524
|
/**
|
|
@@ -541,7 +557,7 @@ function(
|
|
|
541
557
|
* Called when the navigation toolbar changes its width or height.
|
|
542
558
|
*
|
|
543
559
|
* @param oEvent The resize event
|
|
544
|
-
* @returns {this} <code>this</code> for chaining
|
|
560
|
+
* @returns {this} Reference to <code>this</code> for method chaining
|
|
545
561
|
* @private
|
|
546
562
|
*/
|
|
547
563
|
SinglePlanningCalendar.prototype._onHeaderResize = function (oEvent) {
|
|
@@ -581,6 +597,12 @@ function(
|
|
|
581
597
|
return this;
|
|
582
598
|
};
|
|
583
599
|
|
|
600
|
+
/**
|
|
601
|
+
* Sets the start date of the grid.
|
|
602
|
+
* @param {Date} oDate A JavaScript Date
|
|
603
|
+
* @returns {this} Reference to <code>this</code> for method chaining
|
|
604
|
+
* @public
|
|
605
|
+
*/
|
|
584
606
|
SinglePlanningCalendar.prototype.setStartDate = function (oDate) {
|
|
585
607
|
this.setProperty("startDate", oDate);
|
|
586
608
|
this._alignColumns();
|
|
@@ -631,7 +653,7 @@ function(
|
|
|
631
653
|
/**
|
|
632
654
|
* Applies or removes sticky classes based on <code>stickyMode</code>'s value.
|
|
633
655
|
*
|
|
634
|
-
* @returns {this} <code>this</code> for chaining
|
|
656
|
+
* @returns {this} Reference to <code>this</code> for method chaining
|
|
635
657
|
* @private
|
|
636
658
|
*/
|
|
637
659
|
SinglePlanningCalendar.prototype._toggleStickyClasses = function () {
|
|
@@ -647,7 +669,7 @@ function(
|
|
|
647
669
|
* Makes sure that the column headers are offset in such a way, that they are positioned right
|
|
648
670
|
* after the navigation toolbar.
|
|
649
671
|
*
|
|
650
|
-
* @returns {this} <code>this</code> for chaining
|
|
672
|
+
* @returns {this} Reference to <code>this</code> for method chaining
|
|
651
673
|
* @private
|
|
652
674
|
*/
|
|
653
675
|
SinglePlanningCalendar.prototype._adjustColumnHeadersTopOffset = function () {
|
|
@@ -842,7 +864,7 @@ function(
|
|
|
842
864
|
/**
|
|
843
865
|
* Returns the ManagedObjectObserver for the views
|
|
844
866
|
*
|
|
845
|
-
* @
|
|
867
|
+
* @returns {sap.ui.base.ManagedObjectObserver} the views observer object
|
|
846
868
|
* @private
|
|
847
869
|
*/
|
|
848
870
|
SinglePlanningCalendar.prototype._getViewsObserver = function () {
|
|
@@ -963,11 +985,28 @@ function(
|
|
|
963
985
|
return this;
|
|
964
986
|
};
|
|
965
987
|
|
|
988
|
+
SinglePlanningCalendar.prototype.setCalendarWeekNumbering = function(sCalendarWeekNumbering) {
|
|
989
|
+
this.setProperty("calendarWeekNumbering", sCalendarWeekNumbering);
|
|
990
|
+
this.getViews().forEach(function (oView) {
|
|
991
|
+
oView.setCalendarWeekNumbering(sCalendarWeekNumbering);
|
|
992
|
+
});
|
|
993
|
+
var oHeader = this._getHeader(),
|
|
994
|
+
oPicker = oHeader.getAggregation("_calendarPicker") ? oHeader.getAggregation("_calendarPicker") : oHeader._oPopup.getContent()[0],
|
|
995
|
+
oMonthGrid = this.getAggregation("_mvgrid");
|
|
996
|
+
|
|
997
|
+
oMonthGrid.setCalendarWeekNumbering(this.getCalendarWeekNumbering());
|
|
998
|
+
oPicker.setCalendarWeekNumbering(this.getCalendarWeekNumbering());
|
|
999
|
+
|
|
1000
|
+
this._alignColumns();
|
|
1001
|
+
|
|
1002
|
+
return this;
|
|
1003
|
+
};
|
|
1004
|
+
|
|
966
1005
|
/**
|
|
967
1006
|
* Switches the visibility of the SegmentedButton in the _header and aligns the columns in the grid after an
|
|
968
1007
|
* operation (add, insert, remove, removeAll, destroy) with the views is performed.
|
|
969
1008
|
*
|
|
970
|
-
* @returns {this} this for method chaining
|
|
1009
|
+
* @returns {this} Reference to <code>this</code> for method chaining
|
|
971
1010
|
* @private
|
|
972
1011
|
*/
|
|
973
1012
|
SinglePlanningCalendar.prototype._alignView = function () {
|
|
@@ -1067,7 +1106,7 @@ function(
|
|
|
1067
1106
|
* If the SinglePlanningCalendar has only one view added to its view aggregation, the button is not visible.
|
|
1068
1107
|
* Otherwise, it is displayed in the _header.
|
|
1069
1108
|
*
|
|
1070
|
-
* @returns {this} this for method chaining
|
|
1109
|
+
* @returns {this} Reference to <code>this</code> for method chaining
|
|
1071
1110
|
* @private
|
|
1072
1111
|
*/
|
|
1073
1112
|
SinglePlanningCalendar.prototype._switchViewButtonVisibility = function () {
|
|
@@ -1082,7 +1121,7 @@ function(
|
|
|
1082
1121
|
/**
|
|
1083
1122
|
* Attaches handlers to the events in the _header aggregation.
|
|
1084
1123
|
*
|
|
1085
|
-
* @returns {this} this for method chaining
|
|
1124
|
+
* @returns {this} Reference to <code>this</code> for method chaining
|
|
1086
1125
|
* @private
|
|
1087
1126
|
*/
|
|
1088
1127
|
SinglePlanningCalendar.prototype._attachHeaderEvents = function () {
|
|
@@ -1119,7 +1158,7 @@ function(
|
|
|
1119
1158
|
/**
|
|
1120
1159
|
* Attaches handlers to the events in the _grid aggregation.
|
|
1121
1160
|
*
|
|
1122
|
-
* @returns {this} this for method chaining
|
|
1161
|
+
* @returns {this} Reference to <code>this</code> for method chaining
|
|
1123
1162
|
* @private
|
|
1124
1163
|
*/
|
|
1125
1164
|
SinglePlanningCalendar.prototype._attachGridEvents = function () {
|
|
@@ -1331,7 +1370,7 @@ function(
|
|
|
1331
1370
|
endDate: oRangeDates.oEndDate.toLocalJSDate()
|
|
1332
1371
|
});
|
|
1333
1372
|
|
|
1334
|
-
oCalPicker.
|
|
1373
|
+
oCalPicker.destroySelectedDates();
|
|
1335
1374
|
oCalPicker.addSelectedDate(oSelectedRange);
|
|
1336
1375
|
};
|
|
1337
1376
|
|
|
@@ -1424,7 +1463,7 @@ function(
|
|
|
1424
1463
|
oCalViewDate = CalendarDate.fromLocalJSDate(oViewStartDate);
|
|
1425
1464
|
|
|
1426
1465
|
oHeader.setStartDate(oViewStartDate);
|
|
1427
|
-
oHeader.
|
|
1466
|
+
oHeader.setPickerText(this._formatPickerText(oCalViewDate));
|
|
1428
1467
|
this._updateCalendarPickerSelection();
|
|
1429
1468
|
oGrid.setStartDate(oViewStartDate);
|
|
1430
1469
|
oGridMV.setStartDate(oViewStartDate);
|
|
@@ -1479,7 +1518,7 @@ function(
|
|
|
1479
1518
|
* @param {string} sHandler the handler ID
|
|
1480
1519
|
* @param {Object} oObject
|
|
1481
1520
|
* @param {Function} fnHandler
|
|
1482
|
-
* @returns {this} <code>this</code> for chaining
|
|
1521
|
+
* @returns {this} Reference to <code>this</code> for method chaining
|
|
1483
1522
|
* @private
|
|
1484
1523
|
*/
|
|
1485
1524
|
SinglePlanningCalendar.prototype._registerResizeHandler = function (sHandler, oObject, fnHandler) {
|
|
@@ -1493,7 +1532,7 @@ function(
|
|
|
1493
1532
|
/**
|
|
1494
1533
|
* De-registers resize handler.
|
|
1495
1534
|
* @param {string} sHandler the handler ID
|
|
1496
|
-
* @returns {this} <code>this</code> for chaining
|
|
1535
|
+
* @returns {this} Reference to <code>this</code> for method chaining
|
|
1497
1536
|
* @private
|
|
1498
1537
|
*/
|
|
1499
1538
|
SinglePlanningCalendar.prototype._deRegisterResizeHandler = function (sHandler) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -25,7 +25,7 @@ function (library, SinglePlanningCalendarView) {
|
|
|
25
25
|
* @extends sap.m.SinglePlanningCalendarView
|
|
26
26
|
*
|
|
27
27
|
* @author SAP SE
|
|
28
|
-
* @version 1.
|
|
28
|
+
* @version 1.111.0
|
|
29
29
|
*
|
|
30
30
|
* @constructor
|
|
31
31
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -102,7 +102,7 @@ sap.ui.define([
|
|
|
102
102
|
* @extends sap.ui.core.Control
|
|
103
103
|
*
|
|
104
104
|
* @author SAP SE
|
|
105
|
-
* @version 1.
|
|
105
|
+
* @version 1.111.0
|
|
106
106
|
*
|
|
107
107
|
* @constructor
|
|
108
108
|
* @private
|
|
@@ -181,7 +181,14 @@ sap.ui.define([
|
|
|
181
181
|
* Acceptable range is from 1 to 6.
|
|
182
182
|
* @since 1.99
|
|
183
183
|
*/
|
|
184
|
-
scaleFactor: {type: "float", group: "Data", defaultValue: 1}
|
|
184
|
+
scaleFactor: {type: "float", group: "Data", defaultValue: 1},
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* If set, the calendar week numbering is used for display.
|
|
188
|
+
* If not set, the calendar week numbering of the global configuration is used.
|
|
189
|
+
* @since 1.110.0
|
|
190
|
+
*/
|
|
191
|
+
calendarWeekNumbering : { type : "sap.ui.core.date.CalendarWeekNumbering", group : "Appearance", defaultValue: null}
|
|
185
192
|
},
|
|
186
193
|
aggregations: {
|
|
187
194
|
|
|
@@ -349,7 +356,8 @@ sap.ui.define([
|
|
|
349
356
|
oDatesRow = new DatesRow(this.getId() + "-columnHeaders", {
|
|
350
357
|
showDayNamesLine: false,
|
|
351
358
|
showWeekNumbers: false,
|
|
352
|
-
startDate: oStartDate
|
|
359
|
+
startDate: oStartDate,
|
|
360
|
+
calendarWeekNumbering: this.getCalendarWeekNumbering()
|
|
353
361
|
}).addStyleClass("sapMSinglePCColumnHeader"),
|
|
354
362
|
iDelay = (60 - oStartDate.getSeconds()) * 1000,
|
|
355
363
|
sTimePattern = this._getCoreLocaleData().getTimePattern("medium");
|
|
@@ -403,6 +411,13 @@ sap.ui.define([
|
|
|
403
411
|
this._oInvisibleMessage = InvisibleMessage.getInstance();
|
|
404
412
|
};
|
|
405
413
|
|
|
414
|
+
SinglePlanningCalendarGrid.prototype.setCalendarWeekNumbering = function (sCalendarWeekNumbering){
|
|
415
|
+
this.setProperty("calendarWeekNumbering",sCalendarWeekNumbering);
|
|
416
|
+
var oDatesRow = this.getAggregation("_columnHeaders");
|
|
417
|
+
oDatesRow.setCalendarWeekNumbering(sCalendarWeekNumbering);
|
|
418
|
+
return this;
|
|
419
|
+
};
|
|
420
|
+
|
|
406
421
|
SinglePlanningCalendarGrid.prototype.onmousedown = function(oEvent) {
|
|
407
422
|
var oClassList = oEvent.target.classList;
|
|
408
423
|
this._isResizeHandleBottomMouseDownTarget = oClassList.contains("sapMSinglePCAppResizeHandleBottom");
|
|
@@ -758,6 +773,7 @@ sap.ui.define([
|
|
|
758
773
|
oBrowserEvent.dataTransfer.setDragImage(getResizeGhost(), 0, 0);
|
|
759
774
|
|
|
760
775
|
var oGrid = oEvent.getParameter("target"),
|
|
776
|
+
bIsRtl = Configuration.getRTL(),
|
|
761
777
|
aIntervalPlaceholders = oGrid.getAggregation("_intervalPlaceholders"),
|
|
762
778
|
oFirstIntervalRectangle = aIntervalPlaceholders[0].getDomRef().getBoundingClientRect(),
|
|
763
779
|
iIntervalHeight = oFirstIntervalRectangle.height,
|
|
@@ -770,10 +786,9 @@ sap.ui.define([
|
|
|
770
786
|
if (this._iColumns === 1) {
|
|
771
787
|
iIntervalIndex = iIndexInColumn;
|
|
772
788
|
} else {
|
|
773
|
-
var
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
iColumnsFromStart = Math.floor(Math.floor((oBrowserEvent.offsetX - iHeaderSize)) / iIntervalWidth),
|
|
789
|
+
var iHeaderWidthSize = bIsRtl ? 0 : this.getDomRef().querySelector(".sapMSinglePCRowHeaders").getClientRects()[0].width,
|
|
790
|
+
iIntervalWidth = oGrid._aGridCells[0].getClientRects()[0].width,
|
|
791
|
+
iColumnsFromStart = Math.floor(Math.floor((oBrowserEvent.offsetX - iHeaderWidthSize)) / iIntervalWidth),
|
|
777
792
|
iIntervalsInColumn = aIntervalPlaceholders.length / this._iColumns;
|
|
778
793
|
|
|
779
794
|
iIntervalIndex = iIndexInColumn + ((iColumnsFromStart) * iIntervalsInColumn);
|
|
@@ -2103,32 +2118,43 @@ sap.ui.define([
|
|
|
2103
2118
|
}
|
|
2104
2119
|
};
|
|
2105
2120
|
|
|
2106
|
-
SinglePlanningCalendarGrid.prototype.
|
|
2121
|
+
SinglePlanningCalendarGrid.prototype._createAppointmentsMatrix = function (oStartDate, index) {
|
|
2122
|
+
var oColumnCalDate = new CalendarDate(oStartDate.getFullYear(), oStartDate.getMonth(), oStartDate.getDate() + index);
|
|
2107
2123
|
var iStartHour = this._getVisibleStartHour(),
|
|
2108
|
-
|
|
2124
|
+
iEndHour = this._getVisibleEndHour();
|
|
2109
2125
|
|
|
2110
|
-
this._dndPlaceholdersMap
|
|
2111
|
-
|
|
2126
|
+
if (!this._dndPlaceholdersMap[oColumnCalDate]) {
|
|
2127
|
+
this._dndPlaceholdersMap[oColumnCalDate] = [];
|
|
2128
|
+
}
|
|
2112
2129
|
|
|
2113
|
-
for (var
|
|
2114
|
-
var
|
|
2130
|
+
for (var j = iStartHour; j <= iEndHour; j++) {
|
|
2131
|
+
var aDndForTheDay = this._dndPlaceholdersMap[oColumnCalDate],
|
|
2132
|
+
iYear = oColumnCalDate.getYear(),
|
|
2133
|
+
iMonth = oColumnCalDate.getMonth(),
|
|
2134
|
+
iDate = oColumnCalDate.getDate(),
|
|
2135
|
+
iCurrentScale = this.getScaleFactor() * 2,
|
|
2136
|
+
iTimeSlot = 60 / iCurrentScale * 60;
|
|
2115
2137
|
|
|
2116
|
-
|
|
2117
|
-
this.
|
|
2138
|
+
for (var y = 0; y < iCurrentScale; y++) {
|
|
2139
|
+
aDndForTheDay.push(this._createAppointmentsDndPlaceHolder(new UniversalDate(iYear, iMonth, iDate, j, 0, iTimeSlot * y)));
|
|
2118
2140
|
}
|
|
2141
|
+
}
|
|
2142
|
+
};
|
|
2119
2143
|
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
iMonth = oColumnCalDate.getMonth(),
|
|
2124
|
-
iDate = oColumnCalDate.getDate(),
|
|
2125
|
-
iCurrentScale = this.getScaleFactor() * 2,
|
|
2126
|
-
iTimeSlot = 60 / iCurrentScale * 60;
|
|
2144
|
+
SinglePlanningCalendarGrid.prototype._createAppointmentsDndPlaceholders = function (oStartDate, iColumns) {
|
|
2145
|
+
var bIsRtl = Configuration.getRTL(),
|
|
2146
|
+
i;
|
|
2127
2147
|
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
}
|
|
2148
|
+
this._dndPlaceholdersMap = {};
|
|
2149
|
+
this.destroyAggregation("_intervalPlaceholders");
|
|
2131
2150
|
|
|
2151
|
+
if (bIsRtl) {
|
|
2152
|
+
for (i = iColumns - 1; i >= 0; i--) {
|
|
2153
|
+
this._createAppointmentsMatrix(oStartDate, i);
|
|
2154
|
+
}
|
|
2155
|
+
} else {
|
|
2156
|
+
for (i = 0; i < iColumns; i++) {
|
|
2157
|
+
this._createAppointmentsMatrix(oStartDate, i);
|
|
2132
2158
|
}
|
|
2133
2159
|
}
|
|
2134
2160
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -25,7 +25,10 @@ sap.ui.define([
|
|
|
25
25
|
'./SinglePlanningCalendarMonthGridRenderer',
|
|
26
26
|
'sap/ui/thirdparty/jquery',
|
|
27
27
|
'sap/ui/core/InvisibleMessage',
|
|
28
|
-
'sap/ui/core/library'
|
|
28
|
+
'sap/ui/core/library',
|
|
29
|
+
"sap/ui/core/date/CalendarWeekNumbering",
|
|
30
|
+
"sap/ui/core/date/CalendarUtils",
|
|
31
|
+
"sap/ui/core/Configuration"
|
|
29
32
|
],
|
|
30
33
|
function (
|
|
31
34
|
Control,
|
|
@@ -47,7 +50,10 @@ sap.ui.define([
|
|
|
47
50
|
SinglePlanningCalendarMonthGridRenderer,
|
|
48
51
|
jQuery,
|
|
49
52
|
InvisibleMessage,
|
|
50
|
-
coreLibrary
|
|
53
|
+
coreLibrary,
|
|
54
|
+
CalendarWeekNumbering,
|
|
55
|
+
CalendarDateUtils,
|
|
56
|
+
Configuration
|
|
51
57
|
) {
|
|
52
58
|
"use strict";
|
|
53
59
|
|
|
@@ -83,7 +89,7 @@ sap.ui.define([
|
|
|
83
89
|
* @extends sap.ui.core.Control
|
|
84
90
|
*
|
|
85
91
|
* @author SAP SE
|
|
86
|
-
* @version 1.
|
|
92
|
+
* @version 1.111.0
|
|
87
93
|
*
|
|
88
94
|
* @constructor
|
|
89
95
|
* @private
|
|
@@ -116,7 +122,14 @@ sap.ui.define([
|
|
|
116
122
|
*
|
|
117
123
|
* @since 1.98
|
|
118
124
|
*/
|
|
119
|
-
firstDayOfWeek : {type : "int", group : "Appearance", defaultValue : -1}
|
|
125
|
+
firstDayOfWeek : {type : "int", group : "Appearance", defaultValue : -1},
|
|
126
|
+
/**
|
|
127
|
+
* If set, the calendar week numbering is used for display.
|
|
128
|
+
* If not set, the calendar week numbering of the global configuration is used.
|
|
129
|
+
* Note: This property should not be used with firstDayOfWeek property.
|
|
130
|
+
* @since 1.110.0
|
|
131
|
+
*/
|
|
132
|
+
calendarWeekNumbering : { type : "sap.ui.core.date.CalendarWeekNumbering", group : "Appearance", defaultValue: null}
|
|
120
133
|
},
|
|
121
134
|
aggregations: {
|
|
122
135
|
|
|
@@ -262,6 +275,10 @@ sap.ui.define([
|
|
|
262
275
|
this._oAppointmentsToRender = this._calculateAppointmentsNodes(oStartDate);
|
|
263
276
|
this._createAppointmentsDndPlaceholders(oStartDate);
|
|
264
277
|
this._oInvisibleMessage = InvisibleMessage.getInstance();
|
|
278
|
+
|
|
279
|
+
if (this.getFirstDayOfWeek() !== -1 && this.getCalendarWeekNumbering()) {
|
|
280
|
+
Log.warning("Both properties firstDayOfWeek and calendarWeekNumbering should not be used at the same time!");
|
|
281
|
+
}
|
|
265
282
|
};
|
|
266
283
|
|
|
267
284
|
SinglePlanningCalendarMonthGrid.prototype.onAfterRendering = function() {
|
|
@@ -376,7 +393,7 @@ sap.ui.define([
|
|
|
376
393
|
iTimestamp = parseInt(oTarget.getAttribute("sap-ui-date"));
|
|
377
394
|
|
|
378
395
|
oStartDate = new Date(iTimestamp);
|
|
379
|
-
oStartDate = new Date(oStartDate.
|
|
396
|
+
oStartDate = new Date(oStartDate.getUTCFullYear(), oStartDate.getUTCMonth(), oStartDate.getUTCDate());
|
|
380
397
|
|
|
381
398
|
oEndDate = new Date(oStartDate);
|
|
382
399
|
oEndDate.setDate(oEndDate.getDate() + 1);
|
|
@@ -471,7 +488,7 @@ sap.ui.define([
|
|
|
471
488
|
var iTimestamp = parseInt(oEvent.getSource().getCustomData()[0].getValue()),
|
|
472
489
|
oDate = new Date(iTimestamp);
|
|
473
490
|
|
|
474
|
-
oDate = new Date(oDate.
|
|
491
|
+
oDate = new Date(oDate.getUTCFullYear(), oDate.getUTCMonth(), oDate.getUTCDate());
|
|
475
492
|
|
|
476
493
|
this.fireEvent("moreLinkPress", { date: oDate });
|
|
477
494
|
};
|
|
@@ -491,15 +508,13 @@ sap.ui.define([
|
|
|
491
508
|
var aDays = this._getVisibleDays(this.getStartDate()),
|
|
492
509
|
iColumns = this._getColumns(),
|
|
493
510
|
aResult = [],
|
|
494
|
-
sLocale = Core.getConfiguration().getFormatLocale().toString()
|
|
495
|
-
oLocaleData = this._getCoreLocaleData();
|
|
511
|
+
sLocale = Core.getConfiguration().getFormatLocale().toString();
|
|
496
512
|
|
|
497
513
|
for (var i = 0; i < this._getRows(); i++) {
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
oLocaleData));
|
|
514
|
+
var oDateFormat = DateFormat.getInstance({pattern: "w", calendarType: "Gregorian", calendarWeekNumbering: this.getCalendarWeekNumbering()}, new Locale(sLocale));
|
|
515
|
+
var iWeekNumber = Number(oDateFormat.format(aDays[i * iColumns].toUTCJSDate(), true));
|
|
516
|
+
|
|
517
|
+
aResult.push(iWeekNumber);
|
|
503
518
|
}
|
|
504
519
|
|
|
505
520
|
return aResult;
|
|
@@ -522,7 +537,18 @@ sap.ui.define([
|
|
|
522
537
|
|
|
523
538
|
oCalStartDate = CalendarDate.fromLocalJSDate(oStartDate);
|
|
524
539
|
iAPIFirstDayOfWeek = this.getFirstDayOfWeek();
|
|
525
|
-
|
|
540
|
+
|
|
541
|
+
if (iAPIFirstDayOfWeek < 0 || iAPIFirstDayOfWeek > 6) {
|
|
542
|
+
var oWeekConfigurationValues = CalendarDateUtils.getWeekConfigurationValues(this.getCalendarWeekNumbering(), new Locale(Configuration.getFormatSettings().getFormatLocale().toString()));
|
|
543
|
+
|
|
544
|
+
if (oWeekConfigurationValues) {
|
|
545
|
+
iFirstDayOfWeek = oWeekConfigurationValues.firstDayOfWeek;
|
|
546
|
+
} else {
|
|
547
|
+
var oLocaleData = this._getCoreLocaleData();
|
|
548
|
+
iFirstDayOfWeek = oLocaleData.getFirstDayOfWeek();
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
|
|
526
552
|
|
|
527
553
|
// determine weekday of first day in month
|
|
528
554
|
oFirstDay = new CalendarDate(oCalStartDate);
|
|
@@ -555,14 +581,14 @@ sap.ui.define([
|
|
|
555
581
|
var aVisibleDays = this._getVisibleDays(oStartDate),
|
|
556
582
|
oFirstVisibleDay = aVisibleDays[0],
|
|
557
583
|
oLastVisibleDay = aVisibleDays[aVisibleDays.length - 1],
|
|
558
|
-
//
|
|
584
|
+
// We do not need appointments without start and end dates
|
|
559
585
|
aApps = this.getAppointments().filter(function(app) {
|
|
560
586
|
var bValid = app._getStartDateWithTimezoneAdaptation() && app._getEndDateWithTimezoneAdaptation();
|
|
561
587
|
if (!bValid) {
|
|
562
588
|
Log.warning("Appointment " + app.getId() + " has no start or no end date. It is ignored.");
|
|
563
589
|
}
|
|
564
590
|
return bValid;
|
|
565
|
-
//
|
|
591
|
+
// Map to a structure ready for calculations
|
|
566
592
|
}).map(function(app) {
|
|
567
593
|
var oStart = CalendarDate.fromLocalJSDate(app._getStartDateWithTimezoneAdaptation()),
|
|
568
594
|
oEnd = CalendarDate.fromLocalJSDate(app._getEndDateWithTimezoneAdaptation());
|
|
@@ -572,21 +598,21 @@ sap.ui.define([
|
|
|
572
598
|
end: oEnd,
|
|
573
599
|
len: CalendarUtils._daysBetween(oEnd, oStart)
|
|
574
600
|
};
|
|
575
|
-
//
|
|
601
|
+
// Get only the visible appointments
|
|
576
602
|
}).filter(function(app) {
|
|
577
603
|
return CalendarUtils._isBetween(app.start, oFirstVisibleDay, oLastVisibleDay, true) // app starts in the current view port
|
|
578
604
|
|| CalendarUtils._isBetween(app.end, oFirstVisibleDay, oLastVisibleDay, true) // app ends in the current view port
|
|
579
605
|
|| (CalendarUtils._isBetween(oFirstVisibleDay, app.start, oLastVisibleDay, true) // app starts before the view port...
|
|
580
606
|
&& CalendarUtils._isBetween(oLastVisibleDay, oFirstVisibleDay, app.end,true)); // ...and ends after the view port
|
|
581
|
-
//
|
|
607
|
+
// Sort by start date
|
|
582
608
|
}).sort(function compare(a, b) {
|
|
583
609
|
return a.start.valueOf() - b.start.valueOf();
|
|
584
610
|
}),
|
|
585
|
-
//
|
|
611
|
+
// Array of taken levels per visible day
|
|
586
612
|
aVisibleDaysLevels = [],
|
|
587
613
|
oApp,
|
|
588
|
-
|
|
589
|
-
|
|
614
|
+
iAppointmentStartIndex,
|
|
615
|
+
iAppointmentEndIndex,
|
|
590
616
|
iFirstFreeIndex,
|
|
591
617
|
i,
|
|
592
618
|
j,
|
|
@@ -596,25 +622,29 @@ sap.ui.define([
|
|
|
596
622
|
aVisibleDaysLevels.push([]);
|
|
597
623
|
}
|
|
598
624
|
|
|
599
|
-
//
|
|
625
|
+
// Each appointment gets its width and level
|
|
600
626
|
for (i = 0; i < aApps.length; i++) {
|
|
601
627
|
oApp = aApps[i];
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
628
|
+
iAppointmentStartIndex = CalendarUtils._daysBetween(oApp.start, aVisibleDays[0]);
|
|
629
|
+
iAppointmentEndIndex = iAppointmentStartIndex + oApp.len;
|
|
630
|
+
|
|
631
|
+
// If appointment is out of bounds, set it in bounds
|
|
632
|
+
iAppointmentStartIndex = iAppointmentStartIndex > 0 ? iAppointmentStartIndex : 0;
|
|
633
|
+
iAppointmentEndIndex = iAppointmentEndIndex < aVisibleDays.length ? iAppointmentEndIndex : aVisibleDays.length - 1;
|
|
606
634
|
|
|
607
635
|
oApp.width = oApp.len + 1;
|
|
608
636
|
|
|
609
|
-
//
|
|
610
|
-
iFirstFreeIndex = aVisibleDaysLevels[
|
|
637
|
+
// Find the first level that is not taken for the start date of the appointment
|
|
638
|
+
iFirstFreeIndex = aVisibleDaysLevels[iAppointmentStartIndex].indexOf(true);
|
|
611
639
|
if (iFirstFreeIndex === -1) {
|
|
612
|
-
iFirstFreeIndex = aVisibleDaysLevels[
|
|
640
|
+
iFirstFreeIndex = aVisibleDaysLevels[iAppointmentStartIndex].length;
|
|
613
641
|
}
|
|
642
|
+
|
|
643
|
+
// Rendered position of appointment in day
|
|
614
644
|
oApp.level = iFirstFreeIndex;
|
|
615
645
|
|
|
616
|
-
//
|
|
617
|
-
for (j =
|
|
646
|
+
// Adjust the taken levels for all days of the current appointment
|
|
647
|
+
for (j = iAppointmentStartIndex; j <= iAppointmentEndIndex; j++) {
|
|
618
648
|
aVisibleDaysLevels[j][iFirstFreeIndex] = false;
|
|
619
649
|
|
|
620
650
|
for (k = 0; k < iFirstFreeIndex; k++) {
|
|
@@ -633,24 +663,19 @@ sap.ui.define([
|
|
|
633
663
|
SinglePlanningCalendarMonthGrid.prototype._getMoreCountPerCell = function(iCellIndex) {
|
|
634
664
|
var aLevelsForADay = this._aAppsLevelsPerDay[iCellIndex];
|
|
635
665
|
var iMaxAppointmentsRendered = this._getMaxAppointments();
|
|
636
|
-
var
|
|
637
|
-
var iSlotsToRender = 0;
|
|
666
|
+
var iMoreCount = 0;
|
|
638
667
|
|
|
639
|
-
if (aLevelsForADay.length
|
|
668
|
+
if (aLevelsForADay.length < iMaxAppointmentsRendered) {
|
|
640
669
|
return 0;
|
|
641
670
|
}
|
|
642
671
|
|
|
643
|
-
|
|
672
|
+
// Count the number of hidden appointments
|
|
673
|
+
for (var i = iMaxAppointmentsRendered - 1; i < aLevelsForADay.length; i++){
|
|
644
674
|
if (!aLevelsForADay[i]) {
|
|
645
|
-
|
|
646
|
-
}
|
|
647
|
-
|
|
648
|
-
if (i < iMaxAppointmentsRendered - 1) {
|
|
649
|
-
iSlotsToRender++;
|
|
675
|
+
iMoreCount++;
|
|
650
676
|
}
|
|
651
677
|
}
|
|
652
|
-
|
|
653
|
-
return iAllApps - iSlotsToRender;
|
|
678
|
+
return iMoreCount;
|
|
654
679
|
};
|
|
655
680
|
|
|
656
681
|
SinglePlanningCalendarMonthGrid.prototype._configureAppointmentsDragAndDrop = function() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -12,7 +12,10 @@ sap.ui.define([
|
|
|
12
12
|
'./PlanningCalendarLegend',
|
|
13
13
|
'sap/ui/core/InvisibleText',
|
|
14
14
|
'sap/ui/core/Core',
|
|
15
|
-
'sap/ui/unified/library'
|
|
15
|
+
'sap/ui/unified/library',
|
|
16
|
+
"sap/ui/core/date/CalendarUtils",
|
|
17
|
+
'sap/ui/core/Locale',
|
|
18
|
+
"sap/ui/core/Configuration"
|
|
16
19
|
],
|
|
17
20
|
function(
|
|
18
21
|
CalendarDate,
|
|
@@ -22,7 +25,11 @@ sap.ui.define([
|
|
|
22
25
|
PlanningCalendarLegend,
|
|
23
26
|
InvisibleText,
|
|
24
27
|
Core,
|
|
25
|
-
unifiedLibrary
|
|
28
|
+
unifiedLibrary,
|
|
29
|
+
CalendarDateUtils,
|
|
30
|
+
Locale,
|
|
31
|
+
Configuration
|
|
32
|
+
) {
|
|
26
33
|
"use strict";
|
|
27
34
|
|
|
28
35
|
// shortcut for sap.ui.unified.CalendarDayType
|
|
@@ -379,7 +386,7 @@ sap.ui.define([
|
|
|
379
386
|
|
|
380
387
|
SinglePlanningCalendarMonthGridRenderer.renderDayNames = function(oRm, oControl, oLocaleData) {
|
|
381
388
|
var iAPIFirstDayOfWeek = oControl.getFirstDayOfWeek(),
|
|
382
|
-
iFirstDayOfWeek
|
|
389
|
+
iFirstDayOfWeek,
|
|
383
390
|
sId = oControl.getId(),
|
|
384
391
|
sDayId,
|
|
385
392
|
sCalendarType = Core.getConfiguration().getCalendarType(),
|
|
@@ -389,6 +396,19 @@ sap.ui.define([
|
|
|
389
396
|
oFirstRenderedDate,
|
|
390
397
|
iDayIndex;
|
|
391
398
|
|
|
399
|
+
|
|
400
|
+
if (iAPIFirstDayOfWeek < 0 || iAPIFirstDayOfWeek > 6) {
|
|
401
|
+
var oWeekConfigurationValues = CalendarDateUtils.getWeekConfigurationValues(oControl.getCalendarWeekNumbering(), new Locale(Configuration.getFormatSettings().getFormatLocale().toString()));
|
|
402
|
+
|
|
403
|
+
if (oWeekConfigurationValues) {
|
|
404
|
+
iFirstDayOfWeek = oWeekConfigurationValues.firstDayOfWeek;
|
|
405
|
+
} else {
|
|
406
|
+
iFirstDayOfWeek = oControl._getCoreLocaleData().getFirstDayOfWeek();
|
|
407
|
+
}
|
|
408
|
+
} else {
|
|
409
|
+
iFirstDayOfWeek = iAPIFirstDayOfWeek;
|
|
410
|
+
}
|
|
411
|
+
|
|
392
412
|
oStartDate.setDate(oStartDate.getDate() - oStartDate.getDay() + iFirstDayOfWeek);
|
|
393
413
|
oFirstRenderedDate = CalendarDate.fromLocalJSDate(oStartDate);
|
|
394
414
|
oRm.openStart("div", sId + "-Names");
|