@openui5/sap.m 1.108.2 → 1.110.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 +2 -2
- package/src/sap/m/ActionSelectRenderer.js +1 -1
- package/src/sap/m/ActionSheet.js +2 -2
- 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 +4 -4
- 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 +20 -7
- package/src/sap/m/CarouselLayout.js +3 -3
- package/src/sap/m/CarouselRenderer.js +3 -2
- package/src/sap/m/CheckBox.js +18 -3
- package/src/sap/m/CheckBoxRenderer.js +1 -1
- 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 +4 -5
- package/src/sap/m/ColumnHeaderPopover.js +9 -5
- package/src/sap/m/ColumnListItem.js +21 -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 +2 -2
- package/src/sap/m/ColumnPopoverSortItem.js +2 -2
- package/src/sap/m/ComboBox.js +44 -20
- package/src/sap/m/ComboBoxBase.js +20 -11
- 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 +22 -12
- package/src/sap/m/DatePickerRenderer.js +1 -1
- package/src/sap/m/DateRangeSelection.js +26 -15
- package/src/sap/m/DateRangeSelectionRenderer.js +1 -1
- package/src/sap/m/DateTimeField.js +11 -2
- 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 +5 -5
- package/src/sap/m/DateTimePickerRenderer.js +1 -1
- package/src/sap/m/Dialog.js +55 -9
- package/src/sap/m/DialogRenderer.js +15 -8
- 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 +2 -2
- package/src/sap/m/DynamicDateFormat.js +1 -1
- package/src/sap/m/DynamicDateOption.js +3 -3
- package/src/sap/m/DynamicDateRange.js +35 -2
- package/src/sap/m/DynamicDateRangeRenderer.js +1 -1
- package/src/sap/m/DynamicDateUtil.js +1 -1
- 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 +6 -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 +3 -3
- 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 +51 -18
- package/src/sap/m/GenericTileLineModeRenderer.js +4 -4
- package/src/sap/m/GenericTileRenderer.js +5 -2
- package/src/sap/m/GroupHeaderListItem.js +3 -3
- package/src/sap/m/GroupHeaderListItemRenderer.js +1 -1
- package/src/sap/m/GrowingEnablement.js +41 -11
- 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 +5 -4
- 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 +17 -4
- 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 +2 -2
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +2 -2
- package/src/sap/m/IconTabHeader.js +31 -2
- package/src/sap/m/IconTabHeaderRenderer.js +1 -1
- package/src/sap/m/IconTabSeparator.js +2 -2
- package/src/sap/m/IllustratedMessage.js +6 -3
- package/src/sap/m/IllustratedMessageRenderer.js +1 -1
- package/src/sap/m/IllustratedMessageSize.js +1 -1
- package/src/sap/m/IllustratedMessageType.js +21 -3
- 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 +160 -34
- package/src/sap/m/InputBase.js +4 -4
- package/src/sap/m/InputBaseRenderer.js +3 -3
- 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 +52 -66
- package/src/sap/m/LightBoxItem.js +2 -2
- package/src/sap/m/LightBoxRenderer.js +7 -5
- 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 +23 -12
- package/src/sap/m/ListBaseRenderer.js +1 -1
- package/src/sap/m/ListItemBase.js +6 -8
- package/src/sap/m/ListItemBaseRenderer.js +6 -6
- 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 +2 -2
- package/src/sap/m/MenuButton.js +18 -33
- 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 +1 -1
- package/src/sap/m/MessageItem.js +2 -2
- package/src/sap/m/MessageListItem.js +2 -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 +2 -2
- 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 +8 -8
- package/src/sap/m/MessageViewRenderer.js +1 -1
- package/src/sap/m/MultiComboBox.js +64 -38
- package/src/sap/m/MultiComboBoxRenderer.js +1 -1
- package/src/sap/m/MultiEditField.js +2 -2
- package/src/sap/m/MultiInput.js +10 -15
- package/src/sap/m/MultiInputRenderer.js +1 -1
- package/src/sap/m/NavContainer.js +3 -3
- 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 +3 -3
- 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 +22 -9
- package/src/sap/m/ObjectStatus.js +28 -15
- package/src/sap/m/ObjectStatusRenderer.js +3 -6
- package/src/sap/m/OverflowToolbar.js +23 -8
- package/src/sap/m/OverflowToolbarAssociativePopover.js +2 -2
- package/src/sap/m/OverflowToolbarAssociativePopoverControls.js +40 -6
- 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 +72 -0
- 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 +2 -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 +1 -1
- package/src/sap/m/Page.js +6 -5
- 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 +12 -2
- package/src/sap/m/PanelRenderer.js +1 -1
- package/src/sap/m/PlanningCalendar.js +187 -27
- package/src/sap/m/PlanningCalendarHeader.js +60 -5
- 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 +2 -2
- package/src/sap/m/PlanningCalendarView.js +2 -2
- package/src/sap/m/Popover.js +22 -32
- package/src/sap/m/PopoverRenderer.js +1 -1
- package/src/sap/m/ProgressIndicator.js +10 -8
- 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 +28 -3
- 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 +2 -2
- package/src/sap/m/RatingIndicatorRenderer.js +1 -1
- package/src/sap/m/ResponsivePopover.js +5 -3
- 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 +15 -4
- package/src/sap/m/SegmentedButtonItem.js +2 -2
- package/src/sap/m/SegmentedButtonRenderer.js +1 -1
- package/src/sap/m/Select.js +24 -5
- package/src/sap/m/SelectDialog.js +52 -12
- package/src/sap/m/SelectDialogBase.js +2 -2
- package/src/sap/m/SelectList.js +6 -8
- package/src/sap/m/SelectListRenderer.js +1 -1
- package/src/sap/m/SelectRenderer.js +1 -1
- package/src/sap/m/SelectionDetails.js +2 -2
- 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 +19 -4
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +1 -1
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +41 -15
- 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 +9 -20
- package/src/sap/m/SlideTileRenderer.js +1 -1
- package/src/sap/m/Slider.js +2 -2
- package/src/sap/m/SliderRenderer.js +5 -4
- 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 +2 -2
- 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 +31 -5
- 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 +40 -23
- 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 +2 -2
- package/src/sap/m/TableSelectDialog.js +44 -8
- 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 +19 -18
- package/src/sap/m/TimePickerClock.js +2 -2
- package/src/sap/m/TimePickerClockRenderer.js +1 -1
- package/src/sap/m/TimePickerClocks.js +2 -2
- 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 +3 -3
- 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 +5 -11
- package/src/sap/m/TokenRenderer.js +1 -1
- package/src/sap/m/Tokenizer.js +32 -12
- 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 +5 -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 +50 -10
- package/src/sap/m/ViewSettingsCustomItem.js +8 -7
- package/src/sap/m/ViewSettingsCustomTab.js +2 -2
- package/src/sap/m/ViewSettingsDialog.js +79 -69
- 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 +3 -3
- 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 +2 -2
- 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 +1 -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 +8 -2
- 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/messagebundle_en_US_saprigi.properties +0 -6
- 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 +1 -1
- 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 +1 -1
- package/src/sap/m/inputUtils/wordStartsWithValue.js +1 -1
- package/src/sap/m/library.js +80 -47
- package/src/sap/m/library.support.js +1 -1
- package/src/sap/m/messagebundle.properties +54 -29
- package/src/sap/m/messagebundle_ar.properties +45 -23
- package/src/sap/m/messagebundle_bg.properties +56 -34
- package/src/sap/m/messagebundle_ca.properties +40 -18
- package/src/sap/m/messagebundle_cs.properties +57 -35
- package/src/sap/m/messagebundle_cy.properties +40 -18
- package/src/sap/m/messagebundle_da.properties +40 -18
- package/src/sap/m/messagebundle_de.properties +40 -18
- package/src/sap/m/messagebundle_el.properties +40 -18
- package/src/sap/m/messagebundle_en.properties +41 -19
- package/src/sap/m/messagebundle_en_GB.properties +40 -18
- package/src/sap/m/messagebundle_en_US_sappsd.properties +41 -19
- package/src/sap/m/messagebundle_en_US_saprigi.properties +41 -19
- package/src/sap/m/messagebundle_en_US_saptrc.properties +41 -19
- package/src/sap/m/messagebundle_es.properties +52 -30
- package/src/sap/m/messagebundle_es_MX.properties +40 -18
- package/src/sap/m/messagebundle_et.properties +40 -18
- package/src/sap/m/messagebundle_fi.properties +41 -19
- package/src/sap/m/messagebundle_fr.properties +52 -30
- package/src/sap/m/messagebundle_fr_CA.properties +40 -18
- package/src/sap/m/messagebundle_hi.properties +40 -18
- package/src/sap/m/messagebundle_hr.properties +43 -21
- package/src/sap/m/messagebundle_hu.properties +40 -18
- package/src/sap/m/messagebundle_id.properties +40 -18
- package/src/sap/m/messagebundle_it.properties +40 -18
- package/src/sap/m/messagebundle_iw.properties +40 -18
- package/src/sap/m/messagebundle_ja.properties +56 -34
- package/src/sap/m/messagebundle_kk.properties +51 -29
- package/src/sap/m/messagebundle_ko.properties +42 -20
- package/src/sap/m/messagebundle_lt.properties +40 -18
- package/src/sap/m/messagebundle_lv.properties +40 -18
- package/src/sap/m/messagebundle_ms.properties +40 -18
- package/src/sap/m/messagebundle_nl.properties +42 -20
- package/src/sap/m/messagebundle_no.properties +40 -18
- package/src/sap/m/messagebundle_pl.properties +40 -18
- package/src/sap/m/messagebundle_pt.properties +40 -18
- package/src/sap/m/messagebundle_pt_PT.properties +40 -18
- package/src/sap/m/messagebundle_ro.properties +40 -18
- package/src/sap/m/messagebundle_ru.properties +40 -18
- package/src/sap/m/messagebundle_sh.properties +41 -19
- package/src/sap/m/messagebundle_sk.properties +40 -18
- package/src/sap/m/messagebundle_sl.properties +47 -25
- package/src/sap/m/messagebundle_sv.properties +50 -28
- package/src/sap/m/messagebundle_th.properties +49 -27
- package/src/sap/m/messagebundle_tr.properties +40 -18
- package/src/sap/m/messagebundle_uk.properties +40 -18
- package/src/sap/m/messagebundle_vi.properties +40 -18
- package/src/sap/m/messagebundle_zh_CN.properties +40 -18
- package/src/sap/m/messagebundle_zh_TW.properties +41 -19
- package/src/sap/m/p13n/AbstractContainer.js +3 -4
- package/src/sap/m/p13n/AbstractContainerItem.js +3 -4
- package/src/sap/m/p13n/BasePanel.js +32 -4
- package/src/sap/m/p13n/Container.js +4 -4
- package/src/sap/m/p13n/Engine.js +135 -96
- 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 +23 -7
- package/src/sap/m/p13n/Popup.js +16 -6
- package/src/sap/m/p13n/QueryPanel.js +37 -17
- package/src/sap/m/p13n/SelectionController.js +25 -12
- 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 +1 -1
- package/src/sap/m/p13n/enum/ProcessingStrategy.js +39 -0
- package/src/sap/m/p13n/handler/xConfigHandler.js +1 -1
- package/src/sap/m/p13n/modification/FlexModificationHandler.js +2 -2
- package/src/sap/m/p13n/modification/LocalStorageModificationHandler.js +2 -2
- package/src/sap/m/p13n/modification/ModificationHandler.js +2 -2
- package/src/sap/m/p13n/modules/AdaptationProvider.js +4 -7
- package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +18 -16
- package/src/sap/m/p13n/modules/StateHandlerRegistry.js +5 -4
- package/src/sap/m/p13n/modules/UIManager.js +29 -14
- package/src/sap/m/p13n/modules/xConfigAPI.js +18 -16
- 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 +7 -4
- 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 +132 -13
- package/src/sap/m/table/columnmenu/ActionItem.js +13 -12
- package/src/sap/m/table/columnmenu/Entry.js +18 -14
- package/src/sap/m/table/columnmenu/Item.js +20 -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 +75 -53
- package/src/sap/m/table/columnmenu/MenuRenderer.js +28 -1
- package/src/sap/m/table/columnmenu/QuickAction.js +11 -10
- package/src/sap/m/table/columnmenu/QuickActionBase.js +11 -10
- 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/ColumnMenu.less +13 -17
- package/src/sap/m/themes/base/ColumnResizer.less +1 -1
- package/src/sap/m/themes/base/Dialog.less +0 -30
- package/src/sap/m/themes/base/FeedInput.less +4 -0
- package/src/sap/m/themes/base/GenericTile.less +3 -11
- 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 +4 -1
- package/src/sap/m/themes/base/Label.less +21 -0
- package/src/sap/m/themes/base/LightBox.less +0 -53
- package/src/sap/m/themes/base/Link.less +3 -1
- package/src/sap/m/themes/base/ListBase.less +1 -0
- package/src/sap/m/themes/base/MenuButton.less +1 -1
- package/src/sap/m/themes/base/MenuListItem.less +27 -22
- package/src/sap/m/themes/base/MessageView.less +4 -0
- package/src/sap/m/themes/base/NewsContent.less +6 -0
- 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 +18 -0
- package/src/sap/m/themes/base/Panel.less +1 -1
- package/src/sap/m/themes/base/PlanningCalendar.less +14 -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/Slider.less +9 -9
- package/src/sap/m/themes/base/SplitButton.less +3 -1
- package/src/sap/m/themes/base/Table.less +16 -6
- package/src/sap/m/themes/base/TextArea.less +57 -16
- package/src/sap/m/themes/base/Toolbar.less +1 -1
- package/src/sap/m/themes/base/UploadCollection.less +1 -1
- package/src/sap/m/themes/base/VariantManagement.less +29 -27
- package/src/sap/m/themes/base/WizardProgressNavigator.less +4 -3
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-AddDimensions.svg +38 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoDimensionsSet.svg +39 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-UploadToCloud.svg +30 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-AddDimensions.svg +15 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoDimensionsSet.svg +6 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-ResizeColumn.svg +26 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-UploadCollection.svg +6 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-UploadToCloud.svg +5 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-AddDimensions.svg +34 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoDimensionsSet.svg +38 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-UploadToCloud.svg +24 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-AddDimensions.svg +38 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoDimensionsSet.svg +42 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-UploadToCloud.svg +30 -0
- package/src/sap/m/themes/base/library.source.less +1 -1
- package/src/sap/m/themes/base/p13n.Container.less +2 -2
- package/src/sap/m/themes/base/p13n.QueryPanel.less +5 -0
- package/src/sap/m/themes/sap_hcb/ObjectStatus.less +14 -0
- package/src/sap/m/themes/sap_hcb/Slider.less +4 -4
- package/src/sap/m/themes/sap_hcb/library.source.less +1 -1
- package/src/sap/m/upload/UploadSet.js +87 -21
- package/src/sap/m/upload/UploadSetItem.js +30 -12
- 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
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
/* eslint-disable no-loop-func */
|
|
2
|
+
/*!
|
|
3
|
+
* OpenUI5
|
|
4
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
sap.ui.define(["./PluginBase", "sap/ui/core/Core"], function(PluginBase, Core) {
|
|
9
|
+
"use strict";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Constructor for a new CopyProvider plugin that can be used to copy table rows to the clipboard.
|
|
13
|
+
*
|
|
14
|
+
* @param {string} [sId] ID for the new <code>CopyProvider</code>, generated automatically if no ID is given
|
|
15
|
+
* @param {object} [mSettings] Initial settings for the <code>CopyProvider</code>
|
|
16
|
+
*
|
|
17
|
+
* @class
|
|
18
|
+
* Provides copy to clipboard capabilities for the selected rows of the table.
|
|
19
|
+
* This plugin can copy individual cells if the {@link sap.m.plugins.CellSelector CellSelector} plugin is also enabled for that table.<br>
|
|
20
|
+
*
|
|
21
|
+
* <b>Note:</b> If a <code>sap.ui.table.Table</code> control is used together with server-side models, the {@link sap.ui.table.plugins.MultiSelectionPlugin MultiSelectionPlugin}
|
|
22
|
+
* must be set for that table to make this plugin work property with range selections. See also the {@link sap.ui.table.plugins.MultiSelectionPlugin#getLimit limit} property of
|
|
23
|
+
* the <code>MultiSelectionPlugin</code>.<br>
|
|
24
|
+
* <b>Note:</b> This plugin requires a secure origin, either HTTPS or localhost, in order to access the browser's clipboard API.
|
|
25
|
+
* For more information, see {@link https://w3c.github.io/webappsec-secure-contexts/}.
|
|
26
|
+
*
|
|
27
|
+
* @extends sap.ui.core.Element
|
|
28
|
+
* @author SAP SE
|
|
29
|
+
* @version 1.110.0
|
|
30
|
+
*
|
|
31
|
+
* @public
|
|
32
|
+
* @since 1.110
|
|
33
|
+
* @alias sap.m.plugins.CopyProvider
|
|
34
|
+
*/
|
|
35
|
+
var CopyProvider = PluginBase.extend("sap.m.plugins.CopyProvider", /** @lends sap.m.plugins.CopyProvider.prototype */ { metadata: {
|
|
36
|
+
library: "sap.m",
|
|
37
|
+
properties: {
|
|
38
|
+
/**
|
|
39
|
+
* Callback function to extract the cell data that is copied to the clipboard.
|
|
40
|
+
*
|
|
41
|
+
* @callback sap.m.plugins.CopyProvider~extractDataHandler
|
|
42
|
+
* @param {sap.ui.model.Context|sap.m.ColumnListItem} oContextOrRow The binding context of the selected row or the row instance if there is no binding
|
|
43
|
+
* @param {sap.m.Column|sap.ui.table.Column|sap.ui.mdc.table.Column} oColumn The related column instance of selected cells
|
|
44
|
+
* @returns {*|Array.<*>|undefined|null} The cell data to be copied or array of cell data to be split into different cells in the clipboard. <code>undefined</code> or <code>null</code> to exclude the cell from copying.
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
/**
|
|
48
|
+
* Defines a {@link sap.m.plugins.CopyProvider~extractDataHandler callback function} that gets called for each selected cell to extract the cell data that is copied to the clipboard.
|
|
49
|
+
*
|
|
50
|
+
* The callback function gets called with the binding context of the selected row and the column instance parameters.<br>
|
|
51
|
+
* For the <code>sap.ui.table.Table</code> control, the row context parameter can also be the context of an unselectable row in case of a range selection, for example the context of grouping or sub-total row.<br>
|
|
52
|
+
* For the <code>sap.m.Table</code> control, if the <code>items</code> aggregation of the table is not bound then the callback function gets called with the row instance instead of the binding context.<br>
|
|
53
|
+
* The callback function must return the cell data that is then stringified and copied to the clipboard.<br>
|
|
54
|
+
* If an array is returned from the callback function, then each array values will be copied as a separate cell into the clipboard.<br>
|
|
55
|
+
* If a column should not be copied to the clipboard, then the callback function must return <code>undefined</code> or <code>null</code> for each cell of the same column.<br>
|
|
56
|
+
* <br>
|
|
57
|
+
* <b>Note:</b> This property is mandatory to make the <code>CopyProvider</code> plugin work, and it must be set in the constructor.
|
|
58
|
+
*/
|
|
59
|
+
extractData: { type: "function", invalidate: false },
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Determines whether unselected rows that are located between the selected rows are copied to the clipboard as an empty row.
|
|
63
|
+
*
|
|
64
|
+
* This can be useful for maintaining the original structure of the data when it is pasted into a new location (e.g. spreadsheets).
|
|
65
|
+
*/
|
|
66
|
+
copySparse: { type: "boolean", defaultValue: false, invalidate: false },
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Callback function to exclude certain contexts from being copied to the clipboard.
|
|
70
|
+
*
|
|
71
|
+
* @callback sap.m.plugins.CopyProvider~excludeContextHandler
|
|
72
|
+
* @param {sap.ui.model.Context|sap.m.ColumnListItem} oContextOrRow The binding context of the selected row or the row instance if there is no binding
|
|
73
|
+
* @returns {Boolean} <code>true</code> to exclude the context, <code>false</code> otherwise
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
/**
|
|
77
|
+
* Defines a {@link sap.m.plugins.CopyProvider~excludeContextHandler callback function} which gets called to exclude certain contexts from being copied to the clipboard.
|
|
78
|
+
*
|
|
79
|
+
* This callback function gets called with the binding context or the row instance if there is no binding.
|
|
80
|
+
* Return <code>true</code> to exclude the context, <code>false</code> otherwise.
|
|
81
|
+
*/
|
|
82
|
+
excludeContext: { type: "function", invalidate: false }
|
|
83
|
+
},
|
|
84
|
+
events: {
|
|
85
|
+
/**
|
|
86
|
+
* This event is fired if there is a selection, and the user triggers the copy action.
|
|
87
|
+
*
|
|
88
|
+
* This can be done with the standard paste keyboard shortcut when the focus is on a selected row or cell. Also the {@link #copySelectionData} API can be called,
|
|
89
|
+
* for example, from the press handler of a copy button in a table toolbar to start the copy action synthetically, which might cause this event to be fired.
|
|
90
|
+
* To avoid writing the selection to the clipboard, call <code>preventDefault</code> on the event instance.
|
|
91
|
+
*/
|
|
92
|
+
copy: {
|
|
93
|
+
allowPreventDefault: true,
|
|
94
|
+
parameters: {
|
|
95
|
+
/**
|
|
96
|
+
* Two-dimensional mutable array of selection data to be copied to the clipboard.
|
|
97
|
+
* The first dimension represents the selected rows, and the second dimension represents the cells of the selected rows.
|
|
98
|
+
*/
|
|
99
|
+
data: { type: "any[][]" }
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}});
|
|
104
|
+
|
|
105
|
+
function isCellValueCopyable(vCellValue) {
|
|
106
|
+
return vCellValue != null;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
function stringifyForSpreadSheet(vCellValue) {
|
|
110
|
+
if (isCellValueCopyable(vCellValue)) {
|
|
111
|
+
var sCellValue = String(vCellValue);
|
|
112
|
+
return /\n|\r|\t/.test(sCellValue) ? '"' + sCellValue.replaceAll('"', '""') + '"' : sCellValue;
|
|
113
|
+
} else {
|
|
114
|
+
return "";
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
function copyMatrixForSpreadSheet(aMatrix) {
|
|
119
|
+
var sClipboardText = aMatrix.map(function(aRows) {
|
|
120
|
+
return aRows.map(stringifyForSpreadSheet).join("\t");
|
|
121
|
+
}).join("\n");
|
|
122
|
+
|
|
123
|
+
return navigator.clipboard.writeText(sClipboardText);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
CopyProvider.prototype.isApplicable = function() {
|
|
127
|
+
if (!navigator.clipboard) {
|
|
128
|
+
throw new Error(this + " requires a secure context in order to access the clipboard API.");
|
|
129
|
+
} else if (!this.getExtractData()) {
|
|
130
|
+
throw new Error("extractData property must be defined for " + this);
|
|
131
|
+
} else {
|
|
132
|
+
return true;
|
|
133
|
+
}
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
CopyProvider.prototype.onActivate = function(oControl) {
|
|
137
|
+
this._oDelegate = { onkeydown: this.onkeydown };
|
|
138
|
+
oControl.addEventDelegate(this._oDelegate, this);
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
CopyProvider.prototype.onDeactivate = function(oControl) {
|
|
142
|
+
oControl.removeEventDelegate(this._oDelegate, this);
|
|
143
|
+
this._oDelegate = null;
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Returns the extracted selection data as a two-dimensional array. This includes individual cell selections
|
|
148
|
+
* if the {@link sap.m.plugins.CellSelector CellSelector} plugin is also enabled for the table.
|
|
149
|
+
* <b>Note: </b> The returned array might be a sparse array if the {@link #getCopySparse copySparse} property is <code>true</code>.
|
|
150
|
+
*
|
|
151
|
+
* @returns {Array.<Array.<*>>} Two-dimensional extracted data from the selection.
|
|
152
|
+
* @public
|
|
153
|
+
*/
|
|
154
|
+
CopyProvider.prototype.getSelectionData = function() {
|
|
155
|
+
var oControl = this.getControl();
|
|
156
|
+
var fnExtractData = this.getExtractData();
|
|
157
|
+
if (!oControl || !fnExtractData || !navigator.clipboard) {
|
|
158
|
+
return [];
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
var aSelectableColumns = this.getConfig("selectableColumns", oControl);
|
|
162
|
+
if (!aSelectableColumns.length) {
|
|
163
|
+
return [];
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
if (oControl.getParent().isA("sap.ui.mdc.Table")) {
|
|
167
|
+
aSelectableColumns = aSelectableColumns.map(function(oSelectableColumn) {
|
|
168
|
+
return Core.byId(oSelectableColumn.getId().replace(/\-innerColumn$/, ""));
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
var aSelectionData = [];
|
|
173
|
+
var aAllSelectedRowContexts = [];
|
|
174
|
+
var bCopySparse = this.getCopySparse();
|
|
175
|
+
var fnExludeContext = this.getExcludeContext();
|
|
176
|
+
var oCellSelectorPlugin = PluginBase.getPlugin(oControl, "sap.m.plugins.CellSelector");
|
|
177
|
+
var mCellSelectionRange = oCellSelectorPlugin && oCellSelectorPlugin.getSelectionRange();
|
|
178
|
+
var aCellSelectorRowContexts = mCellSelectionRange ? oCellSelectorPlugin.getSelectedRowContexts() : [];
|
|
179
|
+
var bCellSelectorRowContextsMustBeMerged = Boolean(aCellSelectorRowContexts.length);
|
|
180
|
+
var bSelectedRowContextsMustBeSparse = bCellSelectorRowContextsMustBeMerged || bCopySparse;
|
|
181
|
+
var aSelectedRowContexts = this.getConfig("selectedContexts", oControl, bSelectedRowContextsMustBeSparse);
|
|
182
|
+
|
|
183
|
+
if (bCellSelectorRowContextsMustBeMerged) {
|
|
184
|
+
aCellSelectorRowContexts = Array(mCellSelectionRange.from.rowIndex).concat(aCellSelectorRowContexts);
|
|
185
|
+
Object.assign(aAllSelectedRowContexts, aSelectedRowContexts, aCellSelectorRowContexts);
|
|
186
|
+
} else {
|
|
187
|
+
aAllSelectedRowContexts = aSelectedRowContexts;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
for (var iContextIndex = 0; iContextIndex < aAllSelectedRowContexts.length; iContextIndex++) {
|
|
191
|
+
var oRowContext = aAllSelectedRowContexts[iContextIndex];
|
|
192
|
+
if (!oRowContext) {
|
|
193
|
+
if (bCopySparse && aSelectionData.length) {
|
|
194
|
+
aSelectionData.push(Array(aSelectionData[0].length));
|
|
195
|
+
}
|
|
196
|
+
} else if (fnExludeContext && fnExludeContext(oRowContext)) {
|
|
197
|
+
continue;
|
|
198
|
+
} else {
|
|
199
|
+
var aRowData = [];
|
|
200
|
+
var bContextFromSelectedRows = (oRowContext == aSelectedRowContexts[iContextIndex]);
|
|
201
|
+
aSelectableColumns.forEach(function(oColumn, iColumnIndex) {
|
|
202
|
+
if (bContextFromSelectedRows || (iColumnIndex >= mCellSelectionRange.from.colIndex && iColumnIndex <= mCellSelectionRange.to.colIndex)) {
|
|
203
|
+
var vCellData = fnExtractData(oRowContext, oColumn);
|
|
204
|
+
if (isCellValueCopyable(vCellData)) {
|
|
205
|
+
aRowData.push[Array.isArray(vCellData) ? "apply" : "call"](aRowData, vCellData);
|
|
206
|
+
}
|
|
207
|
+
} else if (aSelectedRowContexts.length) {
|
|
208
|
+
aRowData.push(undefined);
|
|
209
|
+
}
|
|
210
|
+
});
|
|
211
|
+
if (bCopySparse || aRowData.some(isCellValueCopyable)) {
|
|
212
|
+
aSelectionData.push(aRowData);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
return aSelectionData;
|
|
218
|
+
};
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* Writes the selection data to the system clipboard and returns a <code>Promise</code> which resolves once the clipboard's content has been updated.
|
|
222
|
+
*
|
|
223
|
+
* <b>Note: </b> The user has to interact with the page or a UI element when this API gets called.
|
|
224
|
+
*
|
|
225
|
+
* @param {boolean} [bFireCopyEvent=false] Whether the <code>copy</code> event should be triggered or not
|
|
226
|
+
* @returns {Promise} A <code>Promise</code> that is resolved after the selection data has been written to the clipboard
|
|
227
|
+
* @public
|
|
228
|
+
*/
|
|
229
|
+
CopyProvider.prototype.copySelectionData = function(bFireCopyEvent) {
|
|
230
|
+
var aSelectionData = this.getSelectionData();
|
|
231
|
+
if (!aSelectionData.length || bFireCopyEvent && !this.fireCopy({ data: aSelectionData }, true)) {
|
|
232
|
+
return Promise.resolve();
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
return copyMatrixForSpreadSheet(aSelectionData);
|
|
236
|
+
};
|
|
237
|
+
|
|
238
|
+
CopyProvider.prototype.onkeydown = function(oEvent) {
|
|
239
|
+
if (oEvent.isMarked() ||
|
|
240
|
+
oEvent.code != "KeyC" ||
|
|
241
|
+
!(oEvent.ctrlKey || oEvent.metaKey) ||
|
|
242
|
+
!oEvent.target.matches(this.getConfig("allowForCopySelector"))) {
|
|
243
|
+
return;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
oEvent.setMarked();
|
|
247
|
+
oEvent.preventDefault();
|
|
248
|
+
this.copySelectionData(true);
|
|
249
|
+
};
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* Plugin-specific control configurations.
|
|
254
|
+
*/
|
|
255
|
+
PluginBase.setConfigs({
|
|
256
|
+
"sap.m.Table": {
|
|
257
|
+
allowForCopySelector: ".sapMLIBFocusable,.sapMLIBSelectM,.sapMLIBSelectS",
|
|
258
|
+
selectedContexts: function(oTable, bSparse) {
|
|
259
|
+
var aSelectedContexts = [];
|
|
260
|
+
var oBindingInfo = oTable.getBindingInfo("items");
|
|
261
|
+
oTable.getItems(true).forEach(function(oItem, iIndex) {
|
|
262
|
+
if (oItem.isSelectable() && oItem.getVisible()) {
|
|
263
|
+
if (oItem.getSelected()) {
|
|
264
|
+
var oContextOrItem = oBindingInfo ? oItem.getBindingContext(oBindingInfo.model) : oItem;
|
|
265
|
+
var iSparseOrDenseIndex = bSparse ? iIndex : aSelectedContexts.length;
|
|
266
|
+
aSelectedContexts[iSparseOrDenseIndex] = oContextOrItem;
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
});
|
|
270
|
+
return aSelectedContexts;
|
|
271
|
+
},
|
|
272
|
+
selectableColumns: function(oTable) {
|
|
273
|
+
return oTable.getColumns(true).filter(function(oColumn) {
|
|
274
|
+
return oColumn.getVisible() && (oColumn.isPopin() || (!oColumn.isPopin() && !oColumn.isHidden()));
|
|
275
|
+
});
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
"sap.ui.table.Table": {
|
|
279
|
+
allowForCopySelector: ".sapUiTableCell",
|
|
280
|
+
selectedContexts: function(oTable, bSparse) {
|
|
281
|
+
var aSelectedContexts = [];
|
|
282
|
+
var oSelectionOwner = PluginBase.getPlugin(oTable, "sap.ui.table.plugins.SelectionPlugin") || oTable;
|
|
283
|
+
oSelectionOwner.getSelectedIndices().forEach(function(iSelectedIndex) {
|
|
284
|
+
var oContext = oTable.getContextByIndex(iSelectedIndex);
|
|
285
|
+
if (oContext) {
|
|
286
|
+
var iSparseOrDenseIndex = bSparse ? iSelectedIndex : aSelectedContexts.length;
|
|
287
|
+
aSelectedContexts[iSparseOrDenseIndex] = oContext;
|
|
288
|
+
}
|
|
289
|
+
});
|
|
290
|
+
return aSelectedContexts;
|
|
291
|
+
},
|
|
292
|
+
selectableColumns: function(oTable) {
|
|
293
|
+
return oTable.getColumns().filter(function(oColumn) {
|
|
294
|
+
return oColumn.getDomRef();
|
|
295
|
+
});
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
}, CopyProvider);
|
|
299
|
+
|
|
300
|
+
return CopyProvider;
|
|
301
|
+
|
|
302
|
+
});
|
|
@@ -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
|
|
|
@@ -19,7 +19,7 @@ sap.ui.define(["./PluginBase", "sap/ui/core/Core", "sap/ui/base/ManagedObjectObs
|
|
|
19
19
|
*
|
|
20
20
|
* @extends sap.ui.core.Element
|
|
21
21
|
* @author SAP SE
|
|
22
|
-
* @version 1.
|
|
22
|
+
* @version 1.110.0
|
|
23
23
|
*
|
|
24
24
|
* @public
|
|
25
25
|
* @since 1.73
|
|
@@ -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
|
|
|
@@ -28,7 +28,7 @@ sap.ui.define(["./PluginBase", "sap/ui/core/Core", "sap/ui/core/util/PasteHelper
|
|
|
28
28
|
*
|
|
29
29
|
* @extends sap.ui.core.Element
|
|
30
30
|
* @author SAP SE
|
|
31
|
-
* @version 1.
|
|
31
|
+
* @version 1.110.0
|
|
32
32
|
*
|
|
33
33
|
* @public
|
|
34
34
|
* @since 1.91
|
|
@@ -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
|
|
|
@@ -20,7 +20,7 @@ sap.ui.define(["sap/ui/core/Element"], function(Element) {
|
|
|
20
20
|
* @extends sap.ui.core.Element
|
|
21
21
|
*
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.110.0
|
|
24
24
|
*
|
|
25
25
|
* @private
|
|
26
26
|
* @experimental Since 1.73. This class is experimental and provides only limited functionality. Also the API might be changed in future.
|
|
@@ -105,7 +105,9 @@ sap.ui.define(["sap/ui/core/Element"], function(Element) {
|
|
|
105
105
|
vPlugin = vPlugin.getMetadata().getName();
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
return oControl.
|
|
108
|
+
return oControl.getDependents().filter(function(oDependent) {
|
|
109
|
+
return oDependent.isA(vPlugin);
|
|
110
|
+
})[0] || oControl.findElements(false, function(oElement) {
|
|
109
111
|
return oElement.isA(vPlugin);
|
|
110
112
|
})[0];
|
|
111
113
|
};
|
|
@@ -151,10 +153,11 @@ sap.ui.define(["sap/ui/core/Element"], function(Element) {
|
|
|
151
153
|
* @param {any} [vParam1] The first parameter if the sKey configuration is a type of function
|
|
152
154
|
* @param {any} [vParam2] The second parameter if the sKey configuration is a type of function
|
|
153
155
|
* @param {any} [vParam3] The third parameter if the sKey configuration is a type of function
|
|
156
|
+
* @param {any} [vParam4] The fourth parameter if the sKey configuration is a type of function
|
|
154
157
|
* @returns {*} The plugin configuration of the control, otherwise undefined
|
|
155
158
|
* @protected
|
|
156
159
|
*/
|
|
157
|
-
PluginBase.prototype.getConfig = function(sKey, vParam1, vParam2, vParam3) {
|
|
160
|
+
PluginBase.prototype.getConfig = function(sKey, vParam1, vParam2, vParam3, vParam4) {
|
|
158
161
|
var oControl = this.getControl();
|
|
159
162
|
if (!oControl) {
|
|
160
163
|
return;
|
|
@@ -165,7 +168,7 @@ sap.ui.define(["sap/ui/core/Element"], function(Element) {
|
|
|
165
168
|
var mPluginConfig = mPluginControlConfigs[sPluginName] || {};
|
|
166
169
|
var mControlConfig = mPluginConfig[sControlName] || {};
|
|
167
170
|
var fnReturn = function(mConfig) {
|
|
168
|
-
return (typeof mConfig[sKey] == "function") ? mConfig[sKey].call(mConfig, vParam1, vParam2, vParam3) : mConfig[sKey];
|
|
171
|
+
return (typeof mConfig[sKey] == "function") ? mConfig[sKey].call(mConfig, vParam1, vParam2, vParam3, vParam4) : mConfig[sKey];
|
|
169
172
|
};
|
|
170
173
|
|
|
171
174
|
if (sKey in mControlConfig) {
|
|
@@ -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
|
sap.ui.define(['sap/ui/base/Object', './TargetHandler', './Router', "sap/base/Log"],
|
|
@@ -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
|
sap.ui.define(['sap/ui/core/routing/Router', './TargetHandler', './Targets'],
|
|
@@ -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
|
sap.ui.define(['sap/ui/core/routing/Target', './async/Target', './sync/Target', "sap/base/Log", "sap/base/util/UriParameters"],
|
|
@@ -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
|
sap.ui.define(['sap/ui/core/routing/Targets', './TargetHandler', './Target', './async/Targets', './sync/Targets', "sap/base/Log", "sap/base/util/UriParameters"],
|