@openui5/sap.m 1.97.1 → 1.100.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 +25 -30
- package/THIRDPARTY.txt +15 -22
- package/package.json +4 -4
- package/src/sap/m/.library +1 -1
- package/src/sap/m/AccButton.js +1 -1
- package/src/sap/m/ActionListItem.js +2 -2
- package/src/sap/m/ActionListItemRenderer.js +5 -7
- package/src/sap/m/ActionSelect.js +1 -1
- package/src/sap/m/ActionSelectRenderer.js +1 -1
- package/src/sap/m/ActionSheet.js +6 -6
- package/src/sap/m/ActionSheetRenderer.js +1 -1
- package/src/sap/m/App.js +1 -1
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +21 -4
- package/src/sap/m/AvatarRenderer.js +6 -1
- package/src/sap/m/BadgeCustomData.js +6 -4
- package/src/sap/m/BadgeEnabler.js +3 -2
- package/src/sap/m/Bar.js +1 -1
- package/src/sap/m/BarRenderer.js +6 -6
- package/src/sap/m/Breadcrumbs.js +81 -7
- package/src/sap/m/BreadcrumbsRenderer.js +8 -7
- package/src/sap/m/BusyDialog.js +1 -1
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/BusyIndicatorRenderer.js +1 -1
- package/src/sap/m/Button.js +2 -2
- package/src/sap/m/ButtonRenderer.js +3 -3
- package/src/sap/m/Carousel.js +19 -17
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CarouselRenderer.js +8 -3
- package/src/sap/m/CheckBox.js +3 -25
- package/src/sap/m/CheckBoxRenderer.js +1 -1
- package/src/sap/m/ColorPalette.js +1 -1
- package/src/sap/m/ColorPalettePopover.js +1 -1
- package/src/sap/m/Column.js +26 -7
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +1 -1
- package/src/sap/m/ColumnListItemRenderer.js +16 -15
- package/src/sap/m/ColumnPopoverActionItem.js +1 -1
- package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
- package/src/sap/m/ColumnPopoverItem.js +1 -1
- package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
- package/src/sap/m/ColumnPopoverSortItem.js +1 -1
- package/src/sap/m/ComboBox.js +5 -4
- package/src/sap/m/ComboBoxBase.js +6 -6
- package/src/sap/m/ComboBoxBaseRenderer.js +2 -2
- package/src/sap/m/ComboBoxRenderer.js +4 -4
- package/src/sap/m/ComboBoxTextField.js +1 -1
- package/src/sap/m/ComboBoxTextFieldRenderer.js +2 -2
- package/src/sap/m/CustomDynamicDateOption.js +1 -1
- package/src/sap/m/CustomListItem.js +1 -1
- package/src/sap/m/CustomListItemRenderer.js +4 -6
- package/src/sap/m/CustomTile.js +1 -1
- package/src/sap/m/CustomTileRenderer.js +2 -2
- package/src/sap/m/CustomTreeItem.js +1 -1
- package/src/sap/m/CustomTreeItemRenderer.js +2 -2
- package/src/sap/m/DatePicker.js +19 -14
- package/src/sap/m/DatePickerRenderer.js +1 -5
- package/src/sap/m/DateRangeSelection.js +2 -2
- package/src/sap/m/DateRangeSelectionRenderer.js +1 -1
- package/src/sap/m/DateTimeField.js +15 -6
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +399 -63
- package/src/sap/m/DateTimePickerRenderer.js +57 -0
- package/src/sap/m/Dialog.js +14 -7
- package/src/sap/m/DialogRenderer.js +1 -1
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DisplayListItemRenderer.js +4 -6
- package/src/sap/m/DraftIndicator.js +1 -1
- package/src/sap/m/DraftIndicatorRenderer.js +1 -1
- package/src/sap/m/DynamicDate.js +3 -3
- package/src/sap/m/DynamicDateFormat.js +36 -3
- package/src/sap/m/DynamicDateOption.js +134 -9
- package/src/sap/m/DynamicDateRange.js +219 -77
- package/src/sap/m/DynamicDateRangeRenderer.js +1 -1
- package/src/sap/m/DynamicDateUtil.js +86 -6
- package/src/sap/m/DynamicDateValueHelpUIType.js +7 -2
- package/src/sap/m/ExpandableText.js +1 -1
- package/src/sap/m/FacetFilter.js +21 -18
- package/src/sap/m/FacetFilterItem.js +1 -1
- package/src/sap/m/FacetFilterItemRenderer.js +1 -1
- package/src/sap/m/FacetFilterList.js +7 -5
- package/src/sap/m/FacetFilterRenderer.js +10 -10
- package/src/sap/m/FeedContent.js +2 -2
- package/src/sap/m/FeedInput.js +1 -1
- package/src/sap/m/FeedInputRenderer.js +1 -1
- package/src/sap/m/FeedListItem.js +7 -7
- package/src/sap/m/FeedListItemAction.js +1 -1
- package/src/sap/m/FeedListItemRenderer.js +12 -7
- package/src/sap/m/Fiori20Adapter.js +2 -2
- package/src/sap/m/FlexBox.js +1 -1
- package/src/sap/m/FlexItemData.js +1 -1
- package/src/sap/m/FormattedText.js +4 -1
- package/src/sap/m/GenericTag.js +5 -3
- package/src/sap/m/GenericTagRenderer.js +3 -3
- package/src/sap/m/GenericTile.js +49 -16
- package/src/sap/m/GenericTileLineModeRenderer.js +4 -12
- package/src/sap/m/GenericTileRenderer.js +14 -15
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GroupHeaderListItemRenderer.js +2 -2
- package/src/sap/m/GrowingEnablement.js +53 -3
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HBoxRenderer.js +1 -1
- package/src/sap/m/HeaderContainer.js +71 -16
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/HeaderContainerRenderer.js +1 -1
- package/src/sap/m/HyphenationSupport.js +1 -5
- package/src/sap/m/IconTabBar.js +1 -1
- package/src/sap/m/IconTabBarDragAndDropUtil.js +5 -4
- package/src/sap/m/IconTabBarSelectList.js +14 -5
- package/src/sap/m/IconTabBarSelectListRenderer.js +1 -1
- package/src/sap/m/IconTabFilter.js +14 -9
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +63 -43
- package/src/sap/m/IconTabHeaderRenderer.js +1 -1
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/IllustratedMessage.js +622 -0
- package/src/sap/m/IllustratedMessageRenderer.js +55 -0
- package/src/sap/m/IllustratedMessageSize.js +64 -0
- package/src/sap/m/IllustratedMessageType.js +343 -0
- package/src/sap/m/Illustration.js +117 -0
- package/src/sap/m/IllustrationPool.js +392 -0
- package/src/sap/m/IllustrationRenderer.js +43 -0
- package/src/sap/m/Image.js +1 -1
- package/src/sap/m/ImageContent.js +2 -2
- package/src/sap/m/ImageRenderer.js +1 -1
- package/src/sap/m/Input.js +33 -22
- package/src/sap/m/InputBase.js +6 -8
- package/src/sap/m/InputBaseRenderer.js +53 -39
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/InputListItemRenderer.js +4 -6
- package/src/sap/m/InputRenderer.js +12 -9
- package/src/sap/m/Label.js +24 -5
- package/src/sap/m/LabelRenderer.js +9 -6
- package/src/sap/m/LightBox.js +5 -5
- package/src/sap/m/LightBoxItem.js +2 -3
- package/src/sap/m/LightBoxRenderer.js +1 -1
- package/src/sap/m/Link.js +2 -2
- package/src/sap/m/LinkRenderer.js +1 -1
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +15 -6
- package/src/sap/m/ListBaseRenderer.js +19 -21
- package/src/sap/m/ListItemBase.js +2 -2
- package/src/sap/m/ListItemBaseRenderer.js +23 -23
- package/src/sap/m/MaskEnabler.js +11 -11
- package/src/sap/m/MaskInput.js +9 -1
- package/src/sap/m/MaskInputRenderer.js +9 -43
- package/src/sap/m/MaskInputRule.js +5 -5
- package/src/sap/m/Menu.js +3 -3
- package/src/sap/m/MenuButton.js +6 -2
- package/src/sap/m/MenuButtonRenderer.js +1 -1
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuListItem.js +1 -1
- package/src/sap/m/MenuListItemRenderer.js +2 -2
- package/src/sap/m/MessageItem.js +1 -1
- package/src/sap/m/MessageListItem.js +1 -1
- package/src/sap/m/MessagePage.js +1 -1
- package/src/sap/m/MessagePageRenderer.js +1 -1
- package/src/sap/m/MessagePopover.js +5 -2
- package/src/sap/m/MessagePopoverItem.js +1 -1
- package/src/sap/m/MessagePopoverRenderer.js +1 -1
- package/src/sap/m/MessageStrip.js +2 -2
- package/src/sap/m/MessageStripRenderer.js +1 -1
- package/src/sap/m/MessageToast.js +1 -1
- package/src/sap/m/MessageView.js +10 -5
- package/src/sap/m/MultiComboBox.js +14 -13
- package/src/sap/m/MultiComboBoxRenderer.js +4 -4
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +57 -44
- package/src/sap/m/NavContainer.js +17 -17
- package/src/sap/m/NavContainerRenderer.js +1 -1
- package/src/sap/m/NewsContent.js +2 -2
- package/src/sap/m/NotificationList.js +1 -1
- package/src/sap/m/NotificationListBase.js +1 -1
- package/src/sap/m/NotificationListGroup.js +1 -1
- package/src/sap/m/NotificationListGroupRenderer.js +1 -1
- package/src/sap/m/NotificationListItem.js +1 -1
- package/src/sap/m/NotificationListItemRenderer.js +1 -1
- package/src/sap/m/NotificationListRenderer.js +2 -2
- package/src/sap/m/NumericContent.js +30 -22
- package/src/sap/m/NumericContentRenderer.js +10 -10
- package/src/sap/m/NumericInput.js +138 -0
- package/src/sap/m/NumericInputRenderer.js +124 -0
- package/src/sap/m/ObjectAttribute.js +23 -19
- package/src/sap/m/ObjectAttributeRenderer.js +17 -10
- package/src/sap/m/ObjectHeader.js +20 -7
- package/src/sap/m/ObjectHeaderRenderer.js +3 -3
- package/src/sap/m/ObjectIdentifier.js +3 -3
- package/src/sap/m/ObjectIdentifierRenderer.js +1 -1
- package/src/sap/m/ObjectListItem.js +1 -1
- package/src/sap/m/ObjectListItemRenderer.js +2 -2
- package/src/sap/m/ObjectMarker.js +2 -2
- package/src/sap/m/ObjectMarkerRenderer.js +1 -1
- package/src/sap/m/ObjectNumber.js +1 -1
- package/src/sap/m/ObjectNumberRenderer.js +1 -2
- package/src/sap/m/ObjectStatus.js +1 -1
- package/src/sap/m/ObjectStatusRenderer.js +4 -5
- package/src/sap/m/OverflowToolbar.js +23 -3
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- package/src/sap/m/OverflowToolbarButton.js +1 -1
- package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
- package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
- package/src/sap/m/P13nAnyFilterItem.js +1 -1
- package/src/sap/m/P13nColumnsItem.js +1 -1
- package/src/sap/m/P13nColumnsPanel.js +3 -1
- package/src/sap/m/P13nConditionPanel.js +2 -2
- package/src/sap/m/P13nDialog.js +3 -2
- package/src/sap/m/P13nDimMeasureItem.js +1 -1
- package/src/sap/m/P13nDimMeasurePanel.js +1 -1
- package/src/sap/m/P13nFilterItem.js +1 -1
- package/src/sap/m/P13nFilterPanel.js +12 -7
- package/src/sap/m/P13nGroupItem.js +1 -1
- package/src/sap/m/P13nGroupPanel.js +5 -4
- package/src/sap/m/P13nItem.js +1 -1
- package/src/sap/m/P13nPanel.js +1 -1
- package/src/sap/m/P13nSelectionItem.js +1 -1
- package/src/sap/m/P13nSelectionPanel.js +1 -1
- package/src/sap/m/P13nSortItem.js +1 -1
- package/src/sap/m/P13nSortPanel.js +3 -2
- package/src/sap/m/PDFViewer.js +5 -4
- package/src/sap/m/Page.js +1 -1
- package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/m/PagingButton.js +1 -1
- package/src/sap/m/Panel.js +1 -1
- package/src/sap/m/PanelRenderer.js +1 -1
- package/src/sap/m/PlanningCalendar.js +3 -2
- package/src/sap/m/PlanningCalendarHeader.js +1 -1
- package/src/sap/m/PlanningCalendarLegend.js +1 -1
- package/src/sap/m/PlanningCalendarRow.js +1 -1
- package/src/sap/m/PlanningCalendarView.js +1 -1
- package/src/sap/m/Popover.js +12 -1
- package/src/sap/m/PopoverRenderer.js +1 -1
- package/src/sap/m/ProgressIndicator.js +3 -3
- package/src/sap/m/ProgressIndicatorRenderer.js +1 -1
- package/src/sap/m/PullToRefresh.js +1 -1
- package/src/sap/m/PullToRefreshRenderer.js +2 -2
- package/src/sap/m/QuickView.js +1 -1
- package/src/sap/m/QuickViewBase.js +1 -1
- package/src/sap/m/QuickViewCard.js +1 -1
- package/src/sap/m/QuickViewCardRenderer.js +1 -1
- package/src/sap/m/QuickViewGroup.js +1 -1
- package/src/sap/m/QuickViewGroupElement.js +1 -1
- package/src/sap/m/QuickViewPage.js +5 -2
- package/src/sap/m/QuickViewPageRenderer.js +1 -1
- package/src/sap/m/RadioButton.js +1 -1
- package/src/sap/m/RadioButtonGroup.js +12 -1
- package/src/sap/m/RadioButtonRenderer.js +1 -2
- package/src/sap/m/RangeSlider.js +4 -5
- package/src/sap/m/RangeSliderRenderer.js +5 -5
- package/src/sap/m/RatingIndicator.js +2 -2
- package/src/sap/m/RatingIndicatorRenderer.js +1 -1
- package/src/sap/m/ResponsivePopover.js +3 -5
- package/src/sap/m/ResponsivePopoverRenderer.js +1 -1
- package/src/sap/m/ResponsiveScale.js +1 -1
- package/src/sap/m/ScrollBar.js +3 -3
- package/src/sap/m/ScrollBarRenderer.js +1 -1
- package/src/sap/m/ScrollContainer.js +1 -1
- package/src/sap/m/ScrollContainerRenderer.js +1 -1
- package/src/sap/m/SearchField.js +2 -2
- package/src/sap/m/SegmentedButton.js +18 -8
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/SegmentedButtonRenderer.js +2 -2
- package/src/sap/m/Select.js +41 -6
- package/src/sap/m/SelectDialog.js +4 -4
- package/src/sap/m/SelectDialogBase.js +1 -1
- package/src/sap/m/SelectList.js +4 -3
- package/src/sap/m/SelectListRenderer.js +5 -5
- package/src/sap/m/SelectRenderer.js +5 -5
- package/src/sap/m/SelectionDetails.js +3 -5
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +1 -1
- package/src/sap/m/SelectionDetailsItemLine.js +3 -3
- package/src/sap/m/SelectionDetailsRenderer.js +1 -1
- package/src/sap/m/Shell.js +4 -4
- package/src/sap/m/ShellRenderer.js +1 -1
- package/src/sap/m/SimpleFixFlex.js +1 -1
- package/src/sap/m/SimpleFixFlexRenderer.js +1 -1
- package/src/sap/m/SinglePlanningCalendar.js +59 -3
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +29 -20
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +6 -5
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +17 -5
- package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +7 -3
- package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarView.js +13 -2
- package/src/sap/m/SinglePlanningCalendarWeekView.js +15 -4
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
- package/src/sap/m/SlideTile.js +17 -2
- package/src/sap/m/SlideTileRenderer.js +13 -4
- package/src/sap/m/Slider.js +1 -1
- package/src/sap/m/SliderRenderer.js +9 -9
- package/src/sap/m/SliderTooltip.js +3 -3
- package/src/sap/m/SliderTooltipBase.js +1 -1
- package/src/sap/m/SliderTooltipBaseRenderer.js +2 -2
- 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/SplitApp.js +1 -1
- package/src/sap/m/SplitButton.js +3 -1
- package/src/sap/m/SplitButtonRenderer.js +1 -1
- package/src/sap/m/SplitContainer.js +24 -31
- package/src/sap/m/StandardDynamicDateOption.js +258 -20
- package/src/sap/m/StandardListItem.js +34 -1
- package/src/sap/m/StandardListItemRenderer.js +12 -10
- package/src/sap/m/StandardTile.js +1 -1
- package/src/sap/m/StandardTileRenderer.js +1 -1
- package/src/sap/m/StandardTreeItem.js +1 -1
- package/src/sap/m/StepInput.js +61 -159
- package/src/sap/m/SuggestionItem.js +1 -1
- package/src/sap/m/SuggestionsPopover.js +3 -10
- package/src/sap/m/Switch.js +16 -3
- package/src/sap/m/SwitchRenderer.js +3 -3
- package/src/sap/m/TabContainer.js +1 -1
- package/src/sap/m/TabContainerItem.js +1 -3
- package/src/sap/m/TabContainerRenderer.js +2 -2
- package/src/sap/m/TabStrip.js +2 -2
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/TabStripRenderer.js +2 -2
- package/src/sap/m/Table.js +51 -9
- package/src/sap/m/TablePersoController.js +1 -1
- package/src/sap/m/TablePersoDialog.js +1 -1
- package/src/sap/m/TablePersoProvider.js +1 -1
- package/src/sap/m/TableRenderer.js +4 -3
- package/src/sap/m/TableSelectDialog.js +19 -19
- package/src/sap/m/Text.js +1 -1
- package/src/sap/m/TextArea.js +3 -38
- package/src/sap/m/TextAreaRenderer.js +1 -1
- package/src/sap/m/Tile.js +3 -3
- package/src/sap/m/TileContainer.js +6 -4
- package/src/sap/m/TileContainerRenderer.js +1 -1
- package/src/sap/m/TileContent.js +37 -5
- package/src/sap/m/TileContentRenderer.js +43 -6
- package/src/sap/m/TileRenderer.js +2 -2
- package/src/sap/m/TimePicker.js +46 -17
- package/src/sap/m/TimePickerClock.js +5 -6
- package/src/sap/m/TimePickerClockRenderer.js +1 -1
- package/src/sap/m/TimePickerClocks.js +11 -5
- package/src/sap/m/TimePickerClocksRenderer.js +5 -3
- package/src/sap/m/TimePickerInputs.js +6 -1
- package/src/sap/m/TimePickerInputsRenderer.js +3 -1
- package/src/sap/m/TimePickerInternals.js +58 -8
- package/src/sap/m/TimePickerRenderer.js +5 -16
- package/src/sap/m/TimePickerSlider.js +2 -2
- package/src/sap/m/TimePickerSliderRenderer.js +2 -2
- package/src/sap/m/TimePickerSliders.js +7 -5
- package/src/sap/m/TimePickerSlidersRenderer.js +1 -1
- package/src/sap/m/Title.js +1 -5
- package/src/sap/m/TitlePropagationSupport.js +1 -1
- package/src/sap/m/TitleRenderer.js +2 -2
- package/src/sap/m/ToggleButton.js +1 -1
- package/src/sap/m/Token.js +1 -2
- package/src/sap/m/TokenRenderer.js +21 -3
- package/src/sap/m/Tokenizer.js +7 -8
- package/src/sap/m/TokenizerRenderer.js +41 -7
- package/src/sap/m/Toolbar.js +5 -5
- package/src/sap/m/ToolbarLayoutData.js +1 -1
- package/src/sap/m/ToolbarRenderer.js +3 -3
- package/src/sap/m/ToolbarSeparator.js +5 -3
- package/src/sap/m/ToolbarSpacer.js +1 -1
- package/src/sap/m/Tree.js +1 -1
- package/src/sap/m/TreeItemBase.js +6 -6
- package/src/sap/m/TreeItemBaseRenderer.js +2 -2
- package/src/sap/m/TreeRenderer.js +2 -2
- package/src/sap/m/UploadCollection.js +5 -3
- package/src/sap/m/UploadCollectionItem.js +1 -1
- package/src/sap/m/UploadCollectionParameter.js +1 -1
- package/src/sap/m/UploadCollectionRenderer.js +2 -1
- package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
- package/src/sap/m/VBox.js +1 -1
- package/src/sap/m/VBoxRenderer.js +1 -1
- package/src/sap/m/ValueStateHeader.js +1 -1
- package/src/sap/m/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +112 -54
- package/src/sap/m/ViewSettingsDialogRenderer.js +1 -1
- package/src/sap/m/ViewSettingsFilterItem.js +1 -1
- package/src/sap/m/ViewSettingsItem.js +1 -1
- package/src/sap/m/VisibleItem.js +1 -1
- package/src/sap/m/WheelSlider.js +1 -1
- package/src/sap/m/WheelSliderContainer.js +1 -1
- package/src/sap/m/WheelSliderContainerRenderer.js +1 -1
- package/src/sap/m/WheelSliderRenderer.js +2 -2
- package/src/sap/m/Wizard.js +39 -19
- package/src/sap/m/WizardProgressNavigator.js +1 -1
- package/src/sap/m/WizardStep.js +1 -1
- package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
- package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
- package/src/sap/m/changeHandler/CombineButtons.js +1 -1
- package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
- package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
- package/src/sap/m/changeHandler/SplitMenuButton.js +5 -5
- package/src/sap/m/delegate/DateNavigation.js +2 -2
- package/src/sap/m/delegate/ValueStateMessage.js +1 -1
- package/src/sap/m/designtime/Button.designtime.js +1 -1
- package/src/sap/m/designtime/ListBase.designtime.js +26 -0
- package/src/sap/m/designtime/StandardListItem.designtime.js +5 -1
- package/src/sap/m/inputUtils/highlightDOMElements.js +1 -1
- package/src/sap/m/inputUtils/typeAhead.js +7 -7
- package/src/sap/m/library.js +352 -70
- package/src/sap/m/messagebundle.properties +331 -66
- package/src/sap/m/messagebundle_ar.properties +187 -33
- package/src/sap/m/messagebundle_bg.properties +224 -70
- package/src/sap/m/messagebundle_ca.properties +204 -50
- package/src/sap/m/messagebundle_cs.properties +208 -54
- package/src/sap/m/messagebundle_cy.properties +195 -41
- package/src/sap/m/messagebundle_da.properties +198 -44
- package/src/sap/m/messagebundle_de.properties +187 -33
- package/src/sap/m/messagebundle_el.properties +231 -77
- package/src/sap/m/messagebundle_en.properties +230 -76
- package/src/sap/m/messagebundle_en_GB.properties +230 -76
- package/src/sap/m/messagebundle_en_US_sappsd.properties +230 -76
- package/src/sap/m/messagebundle_en_US_saprigi.properties +287 -60
- package/src/sap/m/messagebundle_en_US_saptrc.properties +230 -76
- package/src/sap/m/messagebundle_es.properties +214 -60
- package/src/sap/m/messagebundle_es_MX.properties +210 -56
- package/src/sap/m/messagebundle_et.properties +186 -32
- package/src/sap/m/messagebundle_fi.properties +183 -29
- package/src/sap/m/messagebundle_fr.properties +208 -54
- package/src/sap/m/messagebundle_fr_CA.properties +191 -37
- package/src/sap/m/messagebundle_hi.properties +189 -35
- package/src/sap/m/messagebundle_hr.properties +199 -45
- package/src/sap/m/messagebundle_hu.properties +194 -40
- package/src/sap/m/messagebundle_id.properties +243 -89
- package/src/sap/m/messagebundle_it.properties +199 -45
- package/src/sap/m/messagebundle_iw.properties +197 -43
- package/src/sap/m/messagebundle_ja.properties +183 -29
- package/src/sap/m/messagebundle_kk.properties +169 -15
- package/src/sap/m/messagebundle_ko.properties +196 -42
- package/src/sap/m/messagebundle_lt.properties +175 -21
- package/src/sap/m/messagebundle_lv.properties +194 -40
- package/src/sap/m/messagebundle_ms.properties +228 -74
- package/src/sap/m/messagebundle_nl.properties +193 -39
- package/src/sap/m/messagebundle_no.properties +191 -37
- package/src/sap/m/messagebundle_pl.properties +197 -43
- package/src/sap/m/messagebundle_pt.properties +226 -72
- package/src/sap/m/messagebundle_pt_PT.properties +192 -38
- package/src/sap/m/messagebundle_ro.properties +199 -45
- package/src/sap/m/messagebundle_ru.properties +196 -42
- package/src/sap/m/messagebundle_sh.properties +187 -33
- package/src/sap/m/messagebundle_sk.properties +194 -40
- package/src/sap/m/messagebundle_sl.properties +191 -37
- package/src/sap/m/messagebundle_sv.properties +186 -32
- package/src/sap/m/messagebundle_th.properties +195 -41
- package/src/sap/m/messagebundle_tr.properties +192 -38
- package/src/sap/m/messagebundle_uk.properties +185 -31
- package/src/sap/m/messagebundle_vi.properties +188 -34
- package/src/sap/m/messagebundle_zh_CN.properties +187 -33
- package/src/sap/m/messagebundle_zh_TW.properties +194 -40
- package/src/sap/m/p13n/AbstractContainer.js +29 -22
- package/src/sap/m/p13n/AbstractContainerItem.js +7 -8
- package/src/sap/m/p13n/BasePanel.js +63 -32
- package/src/sap/m/p13n/Container.js +17 -24
- package/src/sap/m/p13n/GroupPanel.js +31 -6
- package/src/sap/m/p13n/Popup.js +22 -19
- package/src/sap/m/p13n/QueryPanel.js +63 -31
- package/src/sap/m/p13n/SelectionPanel.js +27 -16
- package/src/sap/m/p13n/SortPanel.js +30 -6
- package/src/sap/m/plugins/ColumnResizer.js +8 -8
- package/src/sap/m/plugins/DataStateIndicator.js +1 -1
- package/src/sap/m/plugins/PasteProvider.js +1 -1
- package/src/sap/m/plugins/PluginBase.js +1 -1
- package/src/sap/m/routing/RouteMatchedHandler.js +1 -1
- package/src/sap/m/routing/Router.js +9 -7
- package/src/sap/m/routing/TargetHandler.js +4 -4
- package/src/sap/m/routing/Targets.js +52 -42
- package/src/sap/m/routing/async/Targets.js +3 -3
- package/src/sap/m/routing/sync/Targets.js +3 -3
- package/src/sap/m/rules/Breadcrumbs.support.js +1 -1
- package/src/sap/m/rules/MessagePage.support.js +1 -1
- package/src/sap/m/rules/Tokenizer.support.js +4 -2
- package/src/sap/m/semantic/AddAction.js +1 -1
- package/src/sap/m/semantic/CancelAction.js +1 -1
- package/src/sap/m/semantic/DeleteAction.js +1 -1
- package/src/sap/m/semantic/DetailPage.js +1 -1
- package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
- package/src/sap/m/semantic/EditAction.js +1 -1
- package/src/sap/m/semantic/FavoriteAction.js +1 -1
- package/src/sap/m/semantic/FilterAction.js +1 -1
- package/src/sap/m/semantic/FilterSelect.js +1 -1
- package/src/sap/m/semantic/FlagAction.js +1 -1
- package/src/sap/m/semantic/ForwardAction.js +1 -1
- package/src/sap/m/semantic/FullscreenPage.js +1 -1
- package/src/sap/m/semantic/GroupAction.js +1 -1
- package/src/sap/m/semantic/GroupSelect.js +1 -1
- package/src/sap/m/semantic/MainAction.js +1 -1
- package/src/sap/m/semantic/MasterPage.js +1 -1
- package/src/sap/m/semantic/MessagesIndicator.js +1 -1
- package/src/sap/m/semantic/MultiSelectAction.js +1 -1
- package/src/sap/m/semantic/NegativeAction.js +1 -1
- package/src/sap/m/semantic/OpenInAction.js +1 -1
- package/src/sap/m/semantic/PositiveAction.js +1 -1
- package/src/sap/m/semantic/PrintAction.js +1 -1
- package/src/sap/m/semantic/SaveAction.js +1 -1
- package/src/sap/m/semantic/Segment.js +1 -1
- package/src/sap/m/semantic/SegmentedContainer.js +1 -1
- package/src/sap/m/semantic/SemanticButton.js +1 -1
- package/src/sap/m/semantic/SemanticConfiguration.js +1 -1
- package/src/sap/m/semantic/SemanticControl.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
- package/src/sap/m/semantic/SemanticPage.js +1 -1
- package/src/sap/m/semantic/SemanticSelect.js +1 -1
- package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
- package/src/sap/m/semantic/SendEmailAction.js +1 -1
- package/src/sap/m/semantic/SendMessageAction.js +1 -1
- package/src/sap/m/semantic/ShareInJamAction.js +1 -1
- package/src/sap/m/semantic/ShareMenu.js +2 -2
- package/src/sap/m/semantic/ShareMenuPage.js +1 -1
- package/src/sap/m/semantic/SortAction.js +1 -1
- package/src/sap/m/semantic/SortSelect.js +1 -1
- package/src/sap/m/table/Util.js +22 -19
- package/src/sap/m/table/{ActionItem.js → columnmenu/ActionItem.js} +9 -10
- package/src/sap/m/table/{ColumnMenuEntry.js → columnmenu/Entry.js} +16 -16
- package/src/sap/m/table/{Item.js → columnmenu/Item.js} +8 -8
- package/src/sap/m/table/{ItemBase.js → columnmenu/ItemBase.js} +11 -12
- package/src/sap/m/table/{ColumnMenu.js → columnmenu/Menu.js} +113 -108
- package/src/sap/m/table/columnmenu/MenuRenderer.js +81 -0
- package/src/sap/m/table/{QuickAction.js → columnmenu/QuickAction.js} +9 -8
- package/src/sap/m/table/columnmenu/QuickActionBase.js +54 -0
- package/src/sap/m/table/columnmenu/QuickActionItem.js +51 -0
- package/src/sap/m/table/columnmenu/QuickGroup.js +133 -0
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +47 -0
- package/src/sap/m/table/columnmenu/QuickSort.js +80 -0
- package/src/sap/m/table/columnmenu/QuickSortItem.js +117 -0
- package/src/sap/m/table/columnmenu/QuickTotal.js +142 -0
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +47 -0
- package/src/sap/m/themes/base/AbstractContainer.less +2 -3
- package/src/sap/m/themes/base/Button.less +2 -2
- package/src/sap/m/themes/base/Carousel.less +5 -0
- package/src/sap/m/themes/base/CheckBox.less +0 -4
- package/src/sap/m/themes/base/ColumnListItem.less +13 -5
- package/src/sap/m/themes/base/ColumnMenu.less +5 -9
- package/src/sap/m/themes/base/ComboBoxBase.less +18 -7
- package/src/sap/m/themes/base/DatePicker.less +7 -2
- package/src/sap/m/themes/base/DateTimePicker.less +155 -4
- package/src/sap/m/themes/base/DynamicDateRange.less +11 -1
- package/src/sap/m/themes/base/FeedListItem.less +1 -1
- package/src/sap/m/themes/base/GenericTile.less +80 -43
- package/src/sap/m/themes/base/HeaderContainer.less +25 -0
- package/src/sap/m/themes/base/IconTabBar.less +4 -3
- package/src/sap/m/themes/base/IllustratedMessage.less +110 -0
- package/src/sap/m/themes/base/Illustration.less +58 -0
- package/src/sap/m/themes/base/Label.less +11 -4
- package/src/sap/m/themes/base/MenuButton.less +4 -4
- package/src/sap/m/themes/base/MessageToast.less +2 -2
- package/src/sap/m/themes/base/NavContainer.less +0 -9
- package/src/sap/m/themes/base/NewsContent.less +7 -0
- package/src/sap/m/themes/base/NumericContent.less +1 -5
- package/src/sap/m/themes/base/ObjectAttribute.less +4 -12
- package/src/sap/m/themes/base/ObjectStatus.less +4 -4
- package/src/sap/m/themes/base/Page.less +1 -2
- package/src/sap/m/themes/base/RadioButton.less +8 -2
- package/src/sap/m/themes/base/SearchField.less +23 -59
- package/src/sap/m/themes/base/SegmentedButton.less +0 -16
- package/src/sap/m/themes/base/SplitButton.less +5 -0
- package/src/sap/m/themes/base/StandardListItem.less +4 -0
- package/src/sap/m/themes/base/SuggestionsPopover.less +2 -1
- package/src/sap/m/themes/base/Table.less +1 -1
- package/src/sap/m/themes/base/TileContent.less +45 -1
- package/src/sap/m/themes/base/TimePickerClock.less +4 -0
- package/src/sap/m/themes/base/TimePickerClocks.less +3 -3
- package/src/sap/m/themes/base/TimePickerInputs.less +4 -0
- package/src/sap/m/themes/base/WizardProgressNavigator.less +17 -16
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-AddColumn.svg +37 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-AddPeople.svg +31 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-BalloonSky.svg +33 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-BeforeSearch.svg +13 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-Connection.svg +18 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-EmptyCalendar.svg +73 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-EmptyList.svg +21 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-EmptyPlanningCalendar.svg +78 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-ErrorScreen.svg +34 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-FilterTable.svg +41 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-GroupTable.svg +67 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoActivities.svg +18 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoData.svg +10 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoEntries.svg +18 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoFilterResults.svg +24 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoMail.svg +11 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoMail_v1.svg +22 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoNotifications.svg +14 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoSavedItems.svg +13 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoSavedItems_v1.svg +36 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoSearchResults.svg +15 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoTasks.svg +18 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoTasks_v1.svg +53 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-PageNotFound.svg +29 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-ReloadScreen.svg +34 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-ResizeColumn.svg +41 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SearchEarth.svg +18 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SearchFolder.svg +27 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleBalloon.svg +17 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleBell.svg +10 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleCalendar.svg +47 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleCheckMark.svg +6 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleConnection.svg +18 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleEmptyDoc.svg +17 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleEmptyList.svg +10 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleError.svg +10 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleMagnifier.svg +10 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleMail.svg +13 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleNoSavedItems.svg +17 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleNotFoundMagnifier.svg +21 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleReload.svg +11 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleTask.svg +23 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SleepingBell.svg +23 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SortColumn.svg +39 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SuccessBalloon.svg +16 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SuccessCheckMark.svg +8 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SuccessHighFive.svg +45 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SuccessScreen.svg +32 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-Tent.svg +26 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-UnableToLoad.svg +11 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-UnableToLoadImage.svg +38 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-UnableToUpload.svg +13 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-UploadCollection.svg +32 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Patterns.svg +20 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-AddColumn.svg +48 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-AddPeople.svg +30 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-BalloonSky.svg +42 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-BeforeSearch.svg +31 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-Connection.svg +31 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-EmptyCalendar.svg +86 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-EmptyList.svg +27 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-EmptyPlanningCalendar.svg +91 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-ErrorScreen.svg +78 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-FilterTable.svg +56 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-GroupTable.svg +76 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoActivities.svg +28 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoData.svg +23 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoEntries.svg +32 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoFilterResults.svg +39 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoMail.svg +23 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoMail_v1.svg +55 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoNotifications.svg +36 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoSavedItems.svg +36 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoSavedItems_v1.svg +39 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoSearchResults.svg +15 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoTasks.svg +22 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoTasks_v1.svg +90 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-PageNotFound.svg +33 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-ReloadScreen.svg +80 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-ResizeColumn.svg +52 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SearchEarth.svg +30 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SearchFolder.svg +36 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleBalloon.svg +20 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleBell.svg +13 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleCalendar.svg +43 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleCheckMark.svg +9 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleConnection.svg +22 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleEmptyDoc.svg +20 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleEmptyList.svg +13 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleError.svg +13 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleMagnifier.svg +13 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleMail.svg +16 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleNoSavedItems.svg +27 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleNotFoundMagnifier.svg +24 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleReload.svg +14 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleTask.svg +19 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SleepingBell.svg +43 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SortColumn.svg +50 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SuccessBalloon.svg +33 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SuccessCheckMark.svg +43 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SuccessHighFive.svg +27 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SuccessScreen.svg +78 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-Tent.svg +54 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-UnableToLoad.svg +23 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-UnableToLoadImage.svg +35 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-UnableToUpload.svg +13 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-UploadCollection.svg +30 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-AddColumn.svg +37 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-AddPeople.svg +31 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-BalloonSky.svg +29 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-BeforeSearch.svg +10 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-Connection.svg +22 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-EmptyCalendar.svg +42 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-EmptyList.svg +21 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-EmptyPlanningCalendar.svg +78 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-ErrorScreen.svg +32 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-FilterTable.svg +46 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-GroupTable.svg +67 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoActivities.svg +23 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoData.svg +9 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoEntries.svg +22 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoFilterResults.svg +25 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoMail.svg +10 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoMail_v1.svg +16 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoNotifications.svg +15 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoSavedItems.svg +9 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoSavedItems_v1.svg +33 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoSearchResults.svg +13 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoTasks.svg +20 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoTasks_v1.svg +15 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-PageNotFound.svg +31 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-ReloadScreen.svg +32 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-ResizeColumn.svg +41 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SearchEarth.svg +55 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SearchFolder.svg +25 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleBalloon.svg +7 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleBell.svg +9 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleCalendar.svg +46 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleCheckMark.svg +5 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleConnection.svg +10 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleEmptyDoc.svg +6 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleEmptyList.svg +6 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleError.svg +9 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleMagnifier.svg +9 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleMail.svg +12 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleNoSavedItems.svg +23 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleNotFoundMagnifier.svg +10 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleReload.svg +7 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleTask.svg +22 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SleepingBell.svg +22 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SortColumn.svg +39 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SuccessBalloon.svg +19 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SuccessCheckMark.svg +7 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SuccessHighFive.svg +31 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SuccessScreen.svg +32 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-Tent.svg +24 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-UnableToLoad.svg +10 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-UnableToLoadImage.svg +36 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-UnableToUpload.svg +10 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-UploadCollection.svg +31 -0
- package/src/sap/m/themes/base/library.source.less +2 -0
- package/src/sap/m/themes/sap_hcb/ComboBoxBase.less +12 -0
- package/src/sap/m/themes/sap_hcb/ObjectHeader.less +0 -21
- package/src/sap/m/themes/sap_hcb/SegmentedButton.less +0 -19
- package/src/sap/m/upload/UploadSet.js +395 -45
- package/src/sap/m/upload/UploadSetItem.js +80 -9
- package/src/sap/m/upload/UploadSetRenderer.js +1 -1
- package/src/sap/m/upload/Uploader.js +25 -3
- package/src/sap/m/table/ColumnMenuRenderer.js +0 -82
- package/src/sap/m/table/QuickActionBase.js +0 -53
|
@@ -9,6 +9,7 @@ sap.ui.define([
|
|
|
9
9
|
"sap/m/ColumnListItem",
|
|
10
10
|
"sap/m/HBox",
|
|
11
11
|
"sap/m/VBox",
|
|
12
|
+
"sap/ui/core/library",
|
|
12
13
|
"sap/ui/core/Icon",
|
|
13
14
|
"sap/m/Text",
|
|
14
15
|
"sap/m/Column",
|
|
@@ -17,10 +18,14 @@ sap.ui.define([
|
|
|
17
18
|
"sap/m/ToolbarSpacer",
|
|
18
19
|
"sap/m/Button",
|
|
19
20
|
"sap/m/OverflowToolbar",
|
|
20
|
-
"sap/ui/model/Filter"
|
|
21
|
-
|
|
21
|
+
"sap/ui/model/Filter",
|
|
22
|
+
"sap/base/util/merge"
|
|
23
|
+
], function(BasePanel, Label, ColumnListItem, HBox, VBox, coreLibrary, Icon, Text, Column, Table, mLibrary, ToolbarSpacer, Button, OverflowToolbar, Filter, merge) {
|
|
22
24
|
"use strict";
|
|
23
25
|
|
|
26
|
+
// shortcut for sap.ui.core.IconColor
|
|
27
|
+
var IconColor = coreLibrary.IconColor;
|
|
28
|
+
|
|
24
29
|
// shortcut for sap.m.ListKeyboardMode
|
|
25
30
|
var ListKeyboardMode = mLibrary.ListKeyboardMode;
|
|
26
31
|
|
|
@@ -37,18 +42,15 @@ sap.ui.define([
|
|
|
37
42
|
* @param {object} [mSettings] Initial settings for the new control
|
|
38
43
|
*
|
|
39
44
|
* @class
|
|
40
|
-
* This control can be used
|
|
41
|
-
* content that may be added/removed for an associated control instance during runtime by the user.
|
|
45
|
+
* This control can be used to customize personalization content for adding/removing items for an associated control instance.
|
|
42
46
|
*
|
|
43
47
|
* @extends sap.m.p13n.BasePanel
|
|
44
48
|
*
|
|
45
49
|
* @author SAP SE
|
|
46
|
-
* @version 1.
|
|
47
|
-
*
|
|
48
|
-
* @private
|
|
49
|
-
* @ui5-restricted
|
|
50
|
-
* @experimental
|
|
50
|
+
* @version 1.100.0
|
|
51
51
|
*
|
|
52
|
+
* @public
|
|
53
|
+
* @experimental Since 1.96.
|
|
52
54
|
* @since 1.96
|
|
53
55
|
* @alias sap.m.p13n.SelectionPanel
|
|
54
56
|
*/
|
|
@@ -57,15 +59,15 @@ sap.ui.define([
|
|
|
57
59
|
library: "sap.m",
|
|
58
60
|
properties: {
|
|
59
61
|
/**
|
|
60
|
-
* Shows an additional header with a
|
|
62
|
+
* Shows an additional header with a search field and the Show Selected button.
|
|
61
63
|
*/
|
|
62
64
|
showHeader: {
|
|
63
65
|
type: "boolean",
|
|
64
66
|
defaultValue: false
|
|
65
67
|
},
|
|
66
68
|
/**
|
|
67
|
-
* Enables a count for selected items compared to available items
|
|
68
|
-
*
|
|
69
|
+
* Enables a count for selected items compared to available items, for example, Currency (3/12), in addition
|
|
70
|
+
* to the first column text.
|
|
69
71
|
*/
|
|
70
72
|
enableCount: {
|
|
71
73
|
type: "boolean",
|
|
@@ -79,7 +81,7 @@ sap.ui.define([
|
|
|
79
81
|
defaultValue: sap.ui.getCore().getLibraryResourceBundle("sap.m").getText("p13n.DEFAULT_DESCRIPTION")
|
|
80
82
|
},
|
|
81
83
|
/**
|
|
82
|
-
* The
|
|
84
|
+
* The second column in the panel showing the move buttons for reordering.
|
|
83
85
|
*/
|
|
84
86
|
activeColumn: {
|
|
85
87
|
type: "string",
|
|
@@ -138,7 +140,7 @@ sap.ui.define([
|
|
|
138
140
|
new Icon({
|
|
139
141
|
src: "sap-icon://circle-task-2",
|
|
140
142
|
size: "0.5rem",
|
|
141
|
-
color:
|
|
143
|
+
color: IconColor.Neutral,
|
|
142
144
|
visible: {
|
|
143
145
|
path: this.P13N_MODEL + ">active",
|
|
144
146
|
formatter: function(bactive) {
|
|
@@ -266,8 +268,17 @@ sap.ui.define([
|
|
|
266
268
|
}.bind(this));
|
|
267
269
|
};
|
|
268
270
|
|
|
269
|
-
|
|
270
|
-
|
|
271
|
+
/**
|
|
272
|
+
* Sets the personalization state of the panel instance.
|
|
273
|
+
* @public
|
|
274
|
+
* @param {sap.m.p13n.Item[]} aP13nData An array containing the personalization state that is represented by the <code>SelectionPanel</code>.
|
|
275
|
+
*/
|
|
276
|
+
SelectionPanel.prototype.setP13nData = function(aP13nData) {
|
|
277
|
+
if (this.getEnableCount()) {
|
|
278
|
+
aP13nData = merge([], aP13nData);
|
|
279
|
+
this._oListControl.removeSelections();
|
|
280
|
+
}
|
|
281
|
+
BasePanel.prototype.setP13nData.call(this, aP13nData);
|
|
271
282
|
this._updateCount();
|
|
272
283
|
};
|
|
273
284
|
|
|
@@ -15,18 +15,16 @@ sap.ui.define([
|
|
|
15
15
|
* @param {object} [mSettings] Initial settings for the new control
|
|
16
16
|
*
|
|
17
17
|
* @class
|
|
18
|
-
* This control can be used to customize
|
|
18
|
+
* This control can be used to customize personalization content for sorting
|
|
19
19
|
* for an associated control instance.
|
|
20
20
|
*
|
|
21
21
|
* @extends sap.m.p13n.QueryPanel
|
|
22
22
|
*
|
|
23
23
|
* @author SAP SE
|
|
24
|
-
* @version 1.
|
|
25
|
-
*
|
|
26
|
-
* @private
|
|
27
|
-
* @ui5-restricted
|
|
28
|
-
* @experimental
|
|
24
|
+
* @version 1.100.0
|
|
29
25
|
*
|
|
26
|
+
* @public
|
|
27
|
+
* @experimental Since 1.96.
|
|
30
28
|
* @since 1.96
|
|
31
29
|
* @alias sap.m.p13n.SortPanel
|
|
32
30
|
*/
|
|
@@ -40,6 +38,32 @@ sap.ui.define([
|
|
|
40
38
|
SortPanel.prototype.PRESENCE_ATTRIBUTE = "sorted";
|
|
41
39
|
SortPanel.prototype.CHANGE_REASON_SORTORDER = "sortorder";
|
|
42
40
|
|
|
41
|
+
/**
|
|
42
|
+
* P13n <code>SortItem</code> object type.
|
|
43
|
+
*
|
|
44
|
+
* @type {sap.m.p13n.SortItem}
|
|
45
|
+
* @static
|
|
46
|
+
* @constant
|
|
47
|
+
* @typedef {object} sap.m.p13n.SortItem
|
|
48
|
+
* @property {string} name The unique key of the item
|
|
49
|
+
* @property {string} label The label describing the personalization item
|
|
50
|
+
* @property {boolean} sorted Defines the sorting state of the personalization item
|
|
51
|
+
* @property {boolean} descending Defines the descending state of the personalization item
|
|
52
|
+
*
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Sets the personalization state of the panel instance.
|
|
58
|
+
* @name sap.m.p13n.SortPanel.setP13nData
|
|
59
|
+
* @public
|
|
60
|
+
* @function
|
|
61
|
+
*
|
|
62
|
+
* @param {sap.m.p13n.SortItem} aP13nData An array containing the personalization state
|
|
63
|
+
* @returns {sap.m.p13n.SortPanel} The SortPanel instance
|
|
64
|
+
*
|
|
65
|
+
*/
|
|
66
|
+
|
|
43
67
|
SortPanel.prototype._createRemoveButton = function () {
|
|
44
68
|
var oRemvoeBtn = QueryPanel.prototype._createRemoveButton.apply(this, arguments);
|
|
45
69
|
oRemvoeBtn.setLayoutData(new GridData({
|
|
@@ -35,7 +35,7 @@ sap.ui.define([
|
|
|
35
35
|
*
|
|
36
36
|
* @extends sap.ui.core.Element
|
|
37
37
|
* @author SAP SE
|
|
38
|
-
* @version 1.
|
|
38
|
+
* @version 1.100.0
|
|
39
39
|
*
|
|
40
40
|
* @public
|
|
41
41
|
* @since 1.91
|
|
@@ -213,8 +213,8 @@ sap.ui.define([
|
|
|
213
213
|
|
|
214
214
|
/**
|
|
215
215
|
* Returns the hovered column index. If column index is found the returns the index else returns -1.
|
|
216
|
-
* @param {
|
|
217
|
-
* @returns {
|
|
216
|
+
* @param {int} iClientX clientX from the mouse/touch event
|
|
217
|
+
* @returns {int} hovered column index
|
|
218
218
|
* @private
|
|
219
219
|
*/
|
|
220
220
|
ColumnResizer.prototype._getHoveredColumnIndex = function(iClientX) {
|
|
@@ -226,7 +226,7 @@ sap.ui.define([
|
|
|
226
226
|
/**
|
|
227
227
|
* Returns the horizontal distance by which a column's width should be increased or decreased.
|
|
228
228
|
* This gets called when columns must be automatically resized on the double click mouse.
|
|
229
|
-
* @returns {
|
|
229
|
+
* @returns {int} horizontal distance
|
|
230
230
|
* @private
|
|
231
231
|
*/
|
|
232
232
|
ColumnResizer.prototype._calculateAutoColumnDistanceX = function() {
|
|
@@ -254,7 +254,7 @@ sap.ui.define([
|
|
|
254
254
|
|
|
255
255
|
/**
|
|
256
256
|
* Displays the resize handle on the column which is hovered
|
|
257
|
-
* @param {
|
|
257
|
+
* @param {int} iColumnIndex column index
|
|
258
258
|
* @param {boolean} bMobileHandle indicates whether the alternate handle is visible
|
|
259
259
|
* @private
|
|
260
260
|
*/
|
|
@@ -335,7 +335,7 @@ sap.ui.define([
|
|
|
335
335
|
* - Next column and its width (if available).
|
|
336
336
|
* - Maximum increase and decrease resize value.
|
|
337
337
|
* - Existance of dummy column.
|
|
338
|
-
* @param {
|
|
338
|
+
* @param {int} iIndex column index
|
|
339
339
|
* @private
|
|
340
340
|
*/
|
|
341
341
|
ColumnResizer.prototype._startResizeSession = function(iIndex) {
|
|
@@ -357,7 +357,7 @@ sap.ui.define([
|
|
|
357
357
|
|
|
358
358
|
/**
|
|
359
359
|
* Sets the horizontal resize distance to the session by which the column was increased or decreased.
|
|
360
|
-
* @param {
|
|
360
|
+
* @param {int} iDistanceX horizontal resize distance
|
|
361
361
|
* @private
|
|
362
362
|
*/
|
|
363
363
|
ColumnResizer.prototype._setSessionDistanceX = function(iDistanceX) {
|
|
@@ -421,7 +421,7 @@ sap.ui.define([
|
|
|
421
421
|
/**
|
|
422
422
|
* This function is called when column resizing is trigger via keyboard events <code>onsapleftmodifiers</code> & <code>onsaprightmodifiers</code>.
|
|
423
423
|
* @param {object} oEvent keyboard event
|
|
424
|
-
* @param {
|
|
424
|
+
* @param {int} iDistanceX resize distance
|
|
425
425
|
* @private
|
|
426
426
|
*/
|
|
427
427
|
ColumnResizer.prototype._onLeftRightModifiersKeyDown = function(oEvent, iDistanceX) {
|
|
@@ -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.100.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.
|
|
@@ -137,7 +137,7 @@ sap.ui.define(['sap/ui/base/Object', './TargetHandler', './Router', "sap/base/Lo
|
|
|
137
137
|
var iTargetViewLevel = +oEvent.getParameter("config").viewLevel;
|
|
138
138
|
|
|
139
139
|
this._oTargetHandler.navigate({
|
|
140
|
-
|
|
140
|
+
level: iTargetViewLevel,
|
|
141
141
|
navigationIdentifier : oEvent.getParameter("name"),
|
|
142
142
|
askHistory: true
|
|
143
143
|
});
|
|
@@ -13,7 +13,7 @@ sap.ui.define(['sap/ui/core/routing/Router', './TargetHandler', './Targets'],
|
|
|
13
13
|
*
|
|
14
14
|
* @class
|
|
15
15
|
* SAPUI5 mobile <code>Router</code>.
|
|
16
|
-
* The difference to the {@link sap.ui.core.routing.Router} are the <code>
|
|
16
|
+
* The difference to the {@link sap.ui.core.routing.Router} are the <code>level</code>,
|
|
17
17
|
* <code>transition</code>, and <code>transitionParameters</code> properties that you can
|
|
18
18
|
* specify in every Route or Target created by this router.
|
|
19
19
|
*
|
|
@@ -156,7 +156,8 @@ sap.ui.define(['sap/ui/core/routing/Router', './TargetHandler', './Targets'],
|
|
|
156
156
|
* {
|
|
157
157
|
* //same name as in the config.bypassed.target
|
|
158
158
|
* notFound: {
|
|
159
|
-
*
|
|
159
|
+
* type: "View"
|
|
160
|
+
* name: "notFound",
|
|
160
161
|
* ...
|
|
161
162
|
* // more properties to place the view in the correct container
|
|
162
163
|
* }
|
|
@@ -187,7 +188,7 @@ sap.ui.define(['sap/ui/core/routing/Router', './TargetHandler', './Targets'],
|
|
|
187
188
|
* ],
|
|
188
189
|
* // Default values shared by routes and Targets
|
|
189
190
|
* {
|
|
190
|
-
*
|
|
191
|
+
* path: "my.application.namespace",
|
|
191
192
|
* viewType: "XML"
|
|
192
193
|
* },
|
|
193
194
|
* // You should only use this constructor when you are not using a router with a component.
|
|
@@ -199,7 +200,8 @@ sap.ui.define(['sap/ui/core/routing/Router', './TargetHandler', './Targets'],
|
|
|
199
200
|
* //same name as in the route called 'startRoute'
|
|
200
201
|
* welcome: {
|
|
201
202
|
* // All properties for creating and placing a view go here or in the config
|
|
202
|
-
*
|
|
203
|
+
* type: "View",
|
|
204
|
+
* name: "Welcome",
|
|
203
205
|
* controlId: "app",
|
|
204
206
|
* controlAggregation: "pages"
|
|
205
207
|
* }
|
|
@@ -271,17 +273,17 @@ sap.ui.define(['sap/ui/core/routing/Router', './TargetHandler', './Targets'],
|
|
|
271
273
|
fireRoutePatternMatched : function (mArguments) {
|
|
272
274
|
var sRouteName = mArguments.name,
|
|
273
275
|
oRoute = this.getRoute(sRouteName),
|
|
274
|
-
|
|
276
|
+
iLevel;
|
|
275
277
|
|
|
276
278
|
// only if a route has a private target and does not use the targets instance of the router we need to inform the targethandler
|
|
277
279
|
if (oRoute._oTarget) {
|
|
278
280
|
if (this._oTargets && this._oTargets._oLastDisplayedTarget) {
|
|
279
|
-
|
|
281
|
+
iLevel = this._oTargets._getLevel(this._oTargets._oLastDisplayedTarget);
|
|
280
282
|
}
|
|
281
283
|
|
|
282
284
|
this._oTargetHandler.navigate({
|
|
283
285
|
navigationIdentifier: sRouteName,
|
|
284
|
-
|
|
286
|
+
level: iLevel,
|
|
285
287
|
askHistory: true
|
|
286
288
|
});
|
|
287
289
|
}
|
|
@@ -131,21 +131,21 @@ sap.ui.define(['sap/m/InstanceManager', 'sap/m/NavContainer', 'sap/m/SplitContai
|
|
|
131
131
|
* @private
|
|
132
132
|
*/
|
|
133
133
|
TargetHandler.prototype._getDirection = function(oDirectionInfo) {
|
|
134
|
-
var
|
|
134
|
+
var iTargetLevel = oDirectionInfo.level,
|
|
135
135
|
oHistory = History.getInstance(),
|
|
136
136
|
bBack = false;
|
|
137
137
|
|
|
138
138
|
if (oDirectionInfo.direction === "Backwards") {
|
|
139
139
|
bBack = true;
|
|
140
|
-
} else if (isNaN(
|
|
140
|
+
} else if (isNaN(iTargetLevel) || isNaN(this._iCurrentLevel) || iTargetLevel === this._iCurrentLevel) {
|
|
141
141
|
if (oDirectionInfo.askHistory) {
|
|
142
142
|
bBack = oHistory.getDirection() === "Backwards";
|
|
143
143
|
}
|
|
144
144
|
} else {
|
|
145
|
-
bBack =
|
|
145
|
+
bBack = iTargetLevel < this._iCurrentLevel;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
this.
|
|
148
|
+
this._iCurrentLevel = iTargetLevel;
|
|
149
149
|
|
|
150
150
|
return bBack;
|
|
151
151
|
};
|
|
@@ -16,7 +16,7 @@ sap.ui.define(['sap/ui/core/routing/Targets', './TargetHandler', './Target', './
|
|
|
16
16
|
* The mobile extension of <code>Targets</code> also handles the triggering
|
|
17
17
|
* of page navigation when the target control is an <code>{@link sap.m.SplitContainer}</code>,
|
|
18
18
|
* an <code>{@link sap.m.NavContainer}</code> or a control which extends one of these.
|
|
19
|
-
* Other controls are also allowed, but the extra parameters <code>
|
|
19
|
+
* Other controls are also allowed, but the extra parameters <code>level</code>,
|
|
20
20
|
* <code>transition</code> and <code>transitionParameters</code> are ignored and it behaves
|
|
21
21
|
* as <code>{@link sap.ui.core.routing.Targets}</code>.
|
|
22
22
|
*
|
|
@@ -25,7 +25,7 @@ sap.ui.define(['sap/ui/core/routing/Targets', './TargetHandler', './Target', './
|
|
|
25
25
|
*
|
|
26
26
|
* @extends sap.ui.core.routing.Targets
|
|
27
27
|
* @param {object} oOptions
|
|
28
|
-
* @param {sap.ui.core.routing.Views} oOptions.views the views instance will create the views of all the targets defined, so if 2 targets have the same
|
|
28
|
+
* @param {sap.ui.core.routing.Views} oOptions.views the views instance will create the views of all the targets defined, so if 2 targets have the same name, the same instance of the view will be displayed.
|
|
29
29
|
* @param {object} [oOptions.config] this config allows all the values oOptions.targets.anyName allows, these will be the default values for properties used in the target.<br/>
|
|
30
30
|
* For example if you are only using xmlViews in your app you can specify viewType="XML" so you don't have to repeat this in every target.<br/>
|
|
31
31
|
* If a target specifies viewType="JS", the JS will be stronger than the XML here is an example.
|
|
@@ -81,13 +81,15 @@ sap.ui.define(['sap/ui/core/routing/Targets', './TargetHandler', './Target', './
|
|
|
81
81
|
* {
|
|
82
82
|
* targets: {
|
|
83
83
|
* welcome: {
|
|
84
|
-
*
|
|
84
|
+
* type: "View",
|
|
85
|
+
* name: "Welcome",
|
|
85
86
|
* viewType: "XML",
|
|
86
87
|
* ....
|
|
87
88
|
* // Other target parameters
|
|
88
89
|
* },
|
|
89
90
|
* goodbye: {
|
|
90
|
-
*
|
|
91
|
+
* type: "View",
|
|
92
|
+
* name: "Bye",
|
|
91
93
|
* viewType: "JS",
|
|
92
94
|
* ....
|
|
93
95
|
* // Other target parameters
|
|
@@ -99,22 +101,28 @@ sap.ui.define(['sap/ui/core/routing/Targets', './TargetHandler', './Target', './
|
|
|
99
101
|
*
|
|
100
102
|
* This will create two targets named 'welcome' and 'goodbye' you can display both of them or one of them using the {@link #display} function.
|
|
101
103
|
*
|
|
102
|
-
* @param {string} oOptions.targets.anyName.
|
|
103
|
-
*
|
|
104
|
+
* @param {string} oOptions.targets.anyName.type Defines whether the target creates an instance of 'View' or 'Component'.
|
|
105
|
+
* @param {string} [oOptions.targets.anyName.name] Defines the name of the View or Component that will be
|
|
106
|
+
* created. For type 'Component', use option <code>usage</code> instead if an owner component exists.
|
|
107
|
+
* To place the view or component into a Control, use the options <code>controlAggregation</code> and
|
|
108
|
+
* <code>controlId</code>. Instance of View or Component will only be created once per <code>name</code> or
|
|
109
|
+
* <code>usage</code> combined with <code>id</code>.
|
|
104
110
|
* <pre>
|
|
105
111
|
* <code>
|
|
106
112
|
* {
|
|
107
113
|
* targets: {
|
|
108
114
|
* // If display("masterWelcome") is called, the master view will be placed in the 'MasterPages' of a control with the id splitContainter
|
|
109
115
|
* masterWelcome: {
|
|
110
|
-
*
|
|
116
|
+
* type: "View",
|
|
117
|
+
* name: "Welcome",
|
|
111
118
|
* controlId: "splitContainer",
|
|
112
119
|
* controlAggregation: "masterPages"
|
|
113
120
|
* },
|
|
114
121
|
* // If display("detailWelcome") is called after the masterWelcome, the view will be removed from the master pages and added to the detail pages, since the same instance is used. Also the controls inside of the view will have the same state.
|
|
115
122
|
* detailWelcome: {
|
|
116
123
|
* // same view here, that's why the same instance is used
|
|
117
|
-
*
|
|
124
|
+
* type: "View",
|
|
125
|
+
* name: "Welcome",
|
|
118
126
|
* controlId: "splitContainer",
|
|
119
127
|
* controlAggregation: "detailPages"
|
|
120
128
|
* }
|
|
@@ -123,28 +131,26 @@ sap.ui.define(['sap/ui/core/routing/Targets', './TargetHandler', './Target', './
|
|
|
123
131
|
* </code>
|
|
124
132
|
* </pre>
|
|
125
133
|
*
|
|
126
|
-
* If you want to have a second instance of the welcome view you can
|
|
127
|
-
*
|
|
128
|
-
*
|
|
134
|
+
* If you want to have a second instance of the welcome view you can assign the targets with different ids:
|
|
129
135
|
*
|
|
130
136
|
* <pre>
|
|
131
137
|
* <code>
|
|
132
|
-
* // Some code you execute before you display the taget named 'detailWelcome':
|
|
133
|
-
* var oView = sap.ui.view(({ viewName : "Welcome", type : sap.ui.core.mvc.ViewType.XML});
|
|
134
|
-
* oTargets.getViews().setView("WelcomeWithAlias", oView)
|
|
135
|
-
*
|
|
136
138
|
* {
|
|
137
139
|
* targets: {
|
|
138
|
-
* // If display("masterWelcome") is called, the
|
|
140
|
+
* // If display("masterWelcome") is called, the "masterWelcome" view will be placed in the 'MasterPages' of a control with the id splitContainter
|
|
139
141
|
* masterWelcome: {
|
|
140
|
-
*
|
|
142
|
+
* type: "View",
|
|
143
|
+
* name: "Welcome",
|
|
144
|
+
* id: "masterWelcome",
|
|
141
145
|
* controlId: "splitContainer",
|
|
142
146
|
* controlAggregation: "masterPages"
|
|
143
147
|
* },
|
|
144
|
-
* // If display("detailWelcome") is called after the masterWelcome, a second instance with an own controller instance will be added in the detail pages.
|
|
148
|
+
* // If display("detailWelcome") is called after the "masterWelcome", a second instance with an own controller instance will be added in the detail pages.
|
|
145
149
|
* detailWelcome: {
|
|
146
|
-
*
|
|
147
|
-
*
|
|
150
|
+
* type: "View",
|
|
151
|
+
* name: "Welcome",
|
|
152
|
+
* // another instance will be created because a different id is used
|
|
153
|
+
* id: "detailWelcome",
|
|
148
154
|
* controlId: "splitContainer",
|
|
149
155
|
* controlAggregation: "detailPages"
|
|
150
156
|
* }
|
|
@@ -154,12 +160,13 @@ sap.ui.define(['sap/ui/core/routing/Targets', './TargetHandler', './Target', './
|
|
|
154
160
|
* </pre>
|
|
155
161
|
*
|
|
156
162
|
*
|
|
163
|
+
* @param {string} [oOptions.targets.anyName.usage] Defines the 'usage' name for 'Component' target which refers to the '/sap.ui5/componentUsages' entry in the owner component's manifest.
|
|
157
164
|
* @param {string} [oOptions.targets.anyName.viewType=oOptions.config.viewType] The type of the view that is going to be created. These are the supported types: {@link sap.ui.core.mvc.ViewType}.
|
|
158
165
|
* You always have to provide a viewType except if <code>oOptions.config.viewType</code> is set or using {@link sap.ui.core.routing.Views#setView}.
|
|
159
|
-
* @param {string} [oOptions.targets.anyName.
|
|
160
|
-
* A prefix that will be prepended in front of the
|
|
161
|
-
* <b>Example:</b>
|
|
162
|
-
* @param {string} [oOptions.targets.anyName.
|
|
166
|
+
* @param {string} [oOptions.targets.anyName.path]
|
|
167
|
+
* A prefix that will be prepended in front of the <code>name</code>.<br/>
|
|
168
|
+
* <b>Example:</b> <code>name</code> is set to "myView" and <code>path</code> is set to "myApp" - the created view's name will be "myApp.myView".
|
|
169
|
+
* @param {string} [oOptions.targets.anyName.id] The id of the created view or component.
|
|
163
170
|
* This is will be prefixed with the id of the component set to the views instance provided in oOptions.views. For details see {@link sap.ui.core.routing.Views#getView}.
|
|
164
171
|
* @param {string} [oOptions.targets.anyName.targetParent]
|
|
165
172
|
* The id of the parent of the controlId - This should be the id of the view that contains your controlId,
|
|
@@ -228,11 +235,13 @@ sap.ui.define(['sap/ui/core/routing/Targets', './TargetHandler', './Target', './
|
|
|
228
235
|
* // a reference to the app control in the rootView created by our UIComponent
|
|
229
236
|
* controlId: 'myApp',
|
|
230
237
|
* // An app has a pages aggregation where the views need to be put into
|
|
231
|
-
* controlAggregation: 'pages'
|
|
238
|
+
* controlAggregation: 'pages',
|
|
239
|
+
* // all targets have type "View"
|
|
240
|
+
* type: "View"
|
|
232
241
|
* },
|
|
233
242
|
* targets: {
|
|
234
243
|
* detail: {
|
|
235
|
-
*
|
|
244
|
+
* name: 'Detail'
|
|
236
245
|
* },
|
|
237
246
|
* secondTabContent: {
|
|
238
247
|
* // A reference to the detail target defined above
|
|
@@ -242,7 +251,7 @@ sap.ui.define(['sap/ui/core/routing/Targets', './TargetHandler', './Target', './
|
|
|
242
251
|
* // An IconTabFilter has an aggregation called content so we need to overwrite the pages set in the config as default.
|
|
243
252
|
* controlAggregation: 'content',
|
|
244
253
|
* // A view containing the content
|
|
245
|
-
*
|
|
254
|
+
* name: 'SecondTabContent'
|
|
246
255
|
* }
|
|
247
256
|
* }
|
|
248
257
|
* });
|
|
@@ -254,27 +263,28 @@ sap.ui.define(['sap/ui/core/routing/Targets', './TargetHandler', './Target', './
|
|
|
254
263
|
* So a parent will always be created before the target referencing it.
|
|
255
264
|
*
|
|
256
265
|
*
|
|
257
|
-
* @param {int} [oOptions.targets.anyName.
|
|
266
|
+
* @param {int} [oOptions.targets.anyName.level]
|
|
258
267
|
* If you are having an application that has a logical order of views (eg: a create account process, first provide user data, then review and confirm them).
|
|
259
268
|
* You always want to show a backwards transition if a navigation from the confirm to the userData page takes place.
|
|
260
|
-
* Therefore you may use the
|
|
269
|
+
* Therefore you may use the <code>level</code>. The <code>level</code> has to be an integer. The user data page should have a lower number than the confirm page.
|
|
261
270
|
* These levels should represent the user process of your application and they do not have to match the container structure of your Targets.
|
|
262
|
-
* If the user navigates between
|
|
271
|
+
* If the user navigates between targets with the same <code>level</code>, a forward transition is taken.
|
|
272
|
+
* If you pass a direction into the display function, the <code>level</code> will be ignored.<br/>
|
|
263
273
|
* <b>Example:</b></br>
|
|
264
274
|
* <pre>
|
|
265
275
|
* <code>
|
|
266
276
|
* {
|
|
267
277
|
* targets: {
|
|
268
278
|
* startPage: {
|
|
269
|
-
*
|
|
279
|
+
* level: 0
|
|
270
280
|
* // more properties
|
|
271
281
|
* },
|
|
272
282
|
* userData: {
|
|
273
|
-
*
|
|
283
|
+
* level: 1
|
|
274
284
|
* // more properties
|
|
275
285
|
* },
|
|
276
286
|
* confirmRegistration: {
|
|
277
|
-
*
|
|
287
|
+
* level: 2
|
|
278
288
|
* // more properties
|
|
279
289
|
* },
|
|
280
290
|
* settings: {
|
|
@@ -288,13 +298,13 @@ sap.ui.define(['sap/ui/core/routing/Targets', './TargetHandler', './Target', './
|
|
|
288
298
|
* Currently the 'userData' target is displayed.
|
|
289
299
|
* <ul>
|
|
290
300
|
* <li>
|
|
291
|
-
* If we navigate to 'startPage' the navContainer will show a backwards navigation, since the
|
|
301
|
+
* If we navigate to 'startPage' the navContainer will show a backwards navigation, since the <code>level</code> is lower.
|
|
292
302
|
* </li>
|
|
293
303
|
* <li>
|
|
294
|
-
* If we navigate to 'userData' the navContainer will show a forwards navigation, since the
|
|
304
|
+
* If we navigate to 'userData' the navContainer will show a forwards navigation, since the <code>level</code> is higher.
|
|
295
305
|
* </li>
|
|
296
306
|
* <li>
|
|
297
|
-
* If we navigate to 'settings' the navContainer will show a forwards navigation, since the
|
|
307
|
+
* If we navigate to 'settings' the navContainer will show a forwards navigation, since the <code>level</code> is not defined and cannot be compared.
|
|
298
308
|
* </li>
|
|
299
309
|
* </ul>
|
|
300
310
|
*
|
|
@@ -379,17 +389,17 @@ sap.ui.define(['sap/ui/core/routing/Targets', './TargetHandler', './Target', './
|
|
|
379
389
|
* @return {number} The view level
|
|
380
390
|
* @private
|
|
381
391
|
*/
|
|
382
|
-
|
|
383
|
-
var
|
|
392
|
+
_getLevel : function (oTarget) {
|
|
393
|
+
var iLevel;
|
|
384
394
|
do {
|
|
385
|
-
|
|
386
|
-
if (
|
|
387
|
-
return
|
|
395
|
+
iLevel = oTarget._oOptions.hasOwnProperty("level") ? oTarget._oOptions.level : oTarget._oOptions.viewLevel;
|
|
396
|
+
if (iLevel !== undefined) {
|
|
397
|
+
return iLevel;
|
|
388
398
|
}
|
|
389
399
|
oTarget = oTarget._oParent;
|
|
390
400
|
} while (oTarget);
|
|
391
401
|
|
|
392
|
-
return
|
|
402
|
+
return iLevel;
|
|
393
403
|
}
|
|
394
404
|
});
|
|
395
405
|
|
|
@@ -18,7 +18,7 @@ sap.ui.define([], function() {
|
|
|
18
18
|
* @private
|
|
19
19
|
*/
|
|
20
20
|
_display: function () {
|
|
21
|
-
var
|
|
21
|
+
var iLevel,
|
|
22
22
|
sName;
|
|
23
23
|
|
|
24
24
|
// don't remember previous displays
|
|
@@ -29,12 +29,12 @@ sap.ui.define([], function() {
|
|
|
29
29
|
return oPromise.then(function(oViewInfo) {
|
|
30
30
|
// maybe a wrong name was provided then there is no last displayed target
|
|
31
31
|
if (this._oLastDisplayedTarget) {
|
|
32
|
-
|
|
32
|
+
iLevel = this._getLevel(this._oLastDisplayedTarget);
|
|
33
33
|
sName = this._oLastDisplayedTarget._oOptions._name;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
this._oTargetHandler.navigate({
|
|
37
|
-
|
|
37
|
+
level: iLevel,
|
|
38
38
|
navigationIdentifier: sName,
|
|
39
39
|
askHistory: true
|
|
40
40
|
});
|
|
@@ -18,7 +18,7 @@ sap.ui.define([], function() {
|
|
|
18
18
|
* @private
|
|
19
19
|
*/
|
|
20
20
|
_display: function () {
|
|
21
|
-
var
|
|
21
|
+
var iLevel,
|
|
22
22
|
sName;
|
|
23
23
|
|
|
24
24
|
// don't remember previous displays
|
|
@@ -28,12 +28,12 @@ sap.ui.define([], function() {
|
|
|
28
28
|
|
|
29
29
|
// maybe a wrong name was provided then there is no last displayed target
|
|
30
30
|
if (this._oLastDisplayedTarget) {
|
|
31
|
-
|
|
31
|
+
iLevel = this._getLevel(this._oLastDisplayedTarget);
|
|
32
32
|
sName = this._oLastDisplayedTarget._oOptions._name;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
this._oTargetHandler.navigate({
|
|
36
|
-
|
|
36
|
+
level: iLevel,
|
|
37
37
|
navigationIdentifier: sName,
|
|
38
38
|
askHistory: true
|
|
39
39
|
});
|
|
@@ -42,7 +42,7 @@ sap.ui.define(["sap/ui/support/library"],
|
|
|
42
42
|
var sElementId = oElement.getId(),
|
|
43
43
|
sElementName = oElement.getMetadata().getElementName();
|
|
44
44
|
|
|
45
|
-
if (oElement.getParent()
|
|
45
|
+
if (oElement.getParent() && oElement.getParent().isA("sap.m.OverflowToolbar")) {
|
|
46
46
|
oIssueManager.addIssue({
|
|
47
47
|
severity: Severity.Medium,
|
|
48
48
|
details: "Breadcrumbs '" + sElementName + "' (" + sElementId + ") is placed inside an OverflowToolbar.",
|
|
@@ -22,7 +22,7 @@ function(SupportLib) {
|
|
|
22
22
|
/**
|
|
23
23
|
* Determines <code>Control</code> computed height.
|
|
24
24
|
* @param {sap.ui.core.Control} oControl
|
|
25
|
-
* @returns {
|
|
25
|
+
* @returns {number}
|
|
26
26
|
*/
|
|
27
27
|
var getControlHeight = function(oControl) {
|
|
28
28
|
return oControl.getDomRef().getBoundingClientRect().height;
|