@openui5/sap.m 1.105.1 → 1.107.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 +20 -17
- package/THIRDPARTY.txt +31 -21
- package/package.json +4 -4
- package/src/sap/m/.library +20 -1
- package/src/sap/m/AccButton.js +4 -3
- package/src/sap/m/ActionListItem.js +14 -11
- package/src/sap/m/ActionSelect.js +14 -11
- package/src/sap/m/ActionSheet.js +103 -101
- package/src/sap/m/ActionSheetRenderer.js +3 -3
- package/src/sap/m/ActionTile.js +90 -0
- package/src/sap/m/ActionTileContent.js +71 -0
- package/src/sap/m/ActionTileContentRenderer.js +108 -0
- package/src/sap/m/App.js +107 -104
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +4 -3
- package/src/sap/m/AvatarColor.js +0 -1
- package/src/sap/m/AvatarImageFitType.js +0 -1
- package/src/sap/m/AvatarShape.js +0 -1
- package/src/sap/m/AvatarSize.js +0 -1
- package/src/sap/m/AvatarType.js +0 -1
- package/src/sap/m/Bar.js +103 -89
- package/src/sap/m/BarRenderer.js +3 -3
- package/src/sap/m/Breadcrumbs.js +4 -3
- package/src/sap/m/BusyDialog.js +1 -2
- package/src/sap/m/BusyIndicator.js +76 -73
- package/src/sap/m/Button.js +123 -120
- package/src/sap/m/Carousel.js +148 -147
- package/src/sap/m/CarouselLayout.js +1 -2
- package/src/sap/m/CarouselRenderer.js +3 -3
- package/src/sap/m/CheckBox.js +178 -175
- package/src/sap/m/CheckBoxRenderer.js +3 -3
- package/src/sap/m/ColorPalette.js +4 -3
- package/src/sap/m/ColorPalettePopover.js +24 -21
- package/src/sap/m/Column.js +5 -6
- package/src/sap/m/ColumnHeaderPopover.js +1 -2
- package/src/sap/m/ColumnListItem.js +39 -50
- package/src/sap/m/ColumnListItemRenderer.js +0 -3
- package/src/sap/m/ColumnPopoverActionItem.js +1 -2
- package/src/sap/m/ColumnPopoverCustomItem.js +1 -2
- package/src/sap/m/ColumnPopoverItem.js +1 -2
- package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
- package/src/sap/m/ColumnPopoverSortItem.js +1 -2
- package/src/sap/m/ComboBox.js +4 -3
- package/src/sap/m/ComboBoxBase.js +3 -4
- package/src/sap/m/ComboBoxTextField.js +4 -3
- package/src/sap/m/CustomAttribute.js +53 -0
- package/src/sap/m/CustomDynamicDateOption.js +1 -2
- package/src/sap/m/CustomListItem.js +24 -21
- package/src/sap/m/CustomTile.js +19 -16
- package/src/sap/m/CustomTreeItem.js +4 -3
- package/src/sap/m/DatePicker.js +148 -143
- package/src/sap/m/DateRangeSelection.js +45 -40
- package/src/sap/m/DateTimeField.js +11 -8
- package/src/sap/m/DateTimeInput.js +147 -142
- package/src/sap/m/DateTimePicker.js +83 -75
- package/src/sap/m/DateTimePickerRenderer.js +1 -1
- package/src/sap/m/Dialog.js +10 -7
- package/src/sap/m/DisplayListItem.js +23 -20
- package/src/sap/m/DraftIndicator.js +4 -3
- package/src/sap/m/DynamicDate.js +1 -1
- package/src/sap/m/DynamicDateFormat.js +4 -3
- package/src/sap/m/DynamicDateOption.js +1 -2
- package/src/sap/m/DynamicDateRange.js +11 -10
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -2
- package/src/sap/m/ExpandableText.js +4 -3
- package/src/sap/m/FacetFilter.js +112 -110
- package/src/sap/m/FacetFilterItem.js +27 -24
- package/src/sap/m/FacetFilterList.js +131 -132
- package/src/sap/m/FeedContent.js +4 -3
- package/src/sap/m/FeedInput.js +136 -133
- package/src/sap/m/FeedListItem.js +9 -6
- package/src/sap/m/FeedListItemAction.js +1 -2
- package/src/sap/m/FeedListItemRenderer.js +3 -3
- package/src/sap/m/Fiori20Adapter.js +2 -2
- package/src/sap/m/FlexBox.js +96 -93
- package/src/sap/m/FlexItemData.js +1 -2
- package/src/sap/m/FormattedText.js +4 -3
- package/src/sap/m/GenericTag.js +5 -4
- package/src/sap/m/GenericTile.js +65 -22
- package/src/sap/m/GenericTileLineModeRenderer.js +3 -3
- package/src/sap/m/GenericTileRenderer.js +36 -10
- package/src/sap/m/GroupHeaderListItem.js +35 -32
- package/src/sap/m/GrowingEnablement.js +23 -25
- package/src/sap/m/GrowingList.js +35 -32
- package/src/sap/m/HBox.js +9 -6
- package/src/sap/m/HeaderContainer.js +44 -43
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +232 -229
- package/src/sap/m/IconTabBarDragAndDropUtil.js +5 -4
- package/src/sap/m/IconTabBarSelectList.js +28 -25
- package/src/sap/m/IconTabFilter.js +1 -2
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -2
- package/src/sap/m/IconTabHeader.js +152 -166
- package/src/sap/m/IconTabSeparator.js +1 -2
- package/src/sap/m/IllustratedMessage.js +38 -3
- package/src/sap/m/IllustratedMessageSize.js +0 -1
- package/src/sap/m/IllustratedMessageType.js +0 -1
- package/src/sap/m/Illustration.js +11 -3
- package/src/sap/m/IllustrationPool.js +1 -1
- package/src/sap/m/IllustrationRenderer.js +1 -0
- package/src/sap/m/Image.js +270 -197
- package/src/sap/m/ImageContent.js +4 -3
- package/src/sap/m/ImageRenderer.js +66 -2
- package/src/sap/m/Input.js +375 -367
- package/src/sap/m/InputBase.js +143 -140
- package/src/sap/m/InputBaseRenderer.js +3 -3
- package/src/sap/m/InputListItem.js +26 -23
- package/src/sap/m/InputRenderer.js +4 -4
- package/src/sap/m/InstanceManager.js +6 -6
- package/src/sap/m/Label.js +110 -106
- package/src/sap/m/LightBox.js +5 -6
- package/src/sap/m/LightBoxItem.js +1 -2
- package/src/sap/m/Link.js +182 -179
- package/src/sap/m/LinkRenderer.js +5 -1
- package/src/sap/m/List.js +15 -12
- package/src/sap/m/ListBase.js +452 -458
- package/src/sap/m/ListItemBase.js +116 -107
- package/src/sap/m/ListItemBaseRenderer.js +1 -1
- package/src/sap/m/MaskEnabler.js +5 -5
- package/src/sap/m/MaskInput.js +4 -3
- package/src/sap/m/MaskInputRule.js +1 -2
- package/src/sap/m/Menu.js +1 -2
- package/src/sap/m/MenuButton.js +142 -135
- package/src/sap/m/MenuItem.js +1 -2
- package/src/sap/m/MenuListItem.js +49 -46
- package/src/sap/m/MessageItem.js +1 -2
- package/src/sap/m/MessageListItem.js +4 -3
- package/src/sap/m/MessagePage.js +124 -121
- package/src/sap/m/MessagePopover.js +6 -6
- package/src/sap/m/MessagePopoverItem.js +1 -2
- package/src/sap/m/MessageStrip.js +4 -3
- package/src/sap/m/MessageToast.js +6 -5
- package/src/sap/m/MessageView.js +6 -5
- package/src/sap/m/MultiComboBox.js +84 -87
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +4 -3
- package/src/sap/m/NavContainer.js +6 -15
- package/src/sap/m/NewsContent.js +4 -3
- package/src/sap/m/NotificationList.js +4 -3
- package/src/sap/m/NotificationListBase.js +5 -7
- package/src/sap/m/NotificationListGroup.js +4 -3
- package/src/sap/m/NotificationListItem.js +4 -12
- package/src/sap/m/NumericContent.js +8 -6
- package/src/sap/m/NumericInput.js +1 -1
- package/src/sap/m/NumericInputRenderer.js +3 -3
- package/src/sap/m/ObjectAttribute.js +77 -74
- package/src/sap/m/ObjectAttributeRenderer.js +3 -3
- package/src/sap/m/ObjectHeader.js +385 -380
- package/src/sap/m/ObjectHeaderRenderer.js +4 -3
- package/src/sap/m/ObjectIdentifier.js +111 -103
- package/src/sap/m/ObjectListItem.js +150 -145
- package/src/sap/m/ObjectMarker.js +4 -3
- package/src/sap/m/ObjectNumber.js +90 -87
- package/src/sap/m/ObjectStatus.js +84 -81
- package/src/sap/m/OverflowToolbar.js +4 -3
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- package/src/sap/m/OverflowToolbarAssociativePopoverControls.js +0 -5
- package/src/sap/m/OverflowToolbarButton.js +2 -3
- package/src/sap/m/OverflowToolbarLayoutData.js +1 -2
- package/src/sap/m/OverflowToolbarToggleButton.js +1 -2
- package/src/sap/m/P13nAnyFilterItem.js +1 -2
- package/src/sap/m/P13nColumnsItem.js +1 -2
- package/src/sap/m/P13nColumnsPanel.js +4 -5
- package/src/sap/m/P13nConditionPanel.js +1 -2
- package/src/sap/m/P13nDialog.js +1 -2
- package/src/sap/m/P13nDimMeasureItem.js +1 -2
- package/src/sap/m/P13nDimMeasurePanel.js +6 -5
- package/src/sap/m/P13nFilterItem.js +1 -2
- package/src/sap/m/P13nFilterPanel.js +1 -2
- package/src/sap/m/P13nGroupItem.js +1 -2
- package/src/sap/m/P13nGroupPanel.js +1 -2
- package/src/sap/m/P13nItem.js +1 -2
- package/src/sap/m/P13nPanel.js +1 -2
- package/src/sap/m/P13nSelectionItem.js +1 -2
- package/src/sap/m/P13nSelectionPanel.js +1 -2
- package/src/sap/m/P13nSortItem.js +1 -2
- package/src/sap/m/P13nSortPanel.js +1 -2
- package/src/sap/m/PDFViewer.js +8 -5
- package/src/sap/m/Page.js +9 -7
- package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -2
- package/src/sap/m/PagingButton.js +4 -4
- package/src/sap/m/Panel.js +117 -113
- package/src/sap/m/PlanningCalendar.js +6 -7
- package/src/sap/m/PlanningCalendarHeader.js +135 -129
- package/src/sap/m/PlanningCalendarLegend.js +26 -23
- package/src/sap/m/PlanningCalendarRow.js +1 -2
- package/src/sap/m/PlanningCalendarView.js +1 -2
- package/src/sap/m/Popover.js +15 -16
- package/src/sap/m/PopoverRenderer.js +5 -4
- package/src/sap/m/ProgressIndicator.js +85 -82
- package/src/sap/m/ProgressIndicatorRenderer.js +1 -1
- package/src/sap/m/PullToRefresh.js +37 -35
- package/src/sap/m/QuickView.js +1 -2
- package/src/sap/m/QuickViewBase.js +1 -2
- package/src/sap/m/QuickViewCard.js +4 -3
- package/src/sap/m/QuickViewGroup.js +1 -2
- package/src/sap/m/QuickViewGroupElement.js +1 -2
- package/src/sap/m/QuickViewPage.js +1 -2
- package/src/sap/m/RadioButton.js +117 -114
- package/src/sap/m/RadioButtonGroup.js +90 -95
- package/src/sap/m/RangeSlider.js +9 -6
- package/src/sap/m/RangeSliderRenderer.js +2 -2
- package/src/sap/m/RatingIndicator.js +104 -100
- package/src/sap/m/RatingIndicatorRenderer.js +3 -5
- package/src/sap/m/ResponsivePopover.js +209 -209
- package/src/sap/m/ResponsiveScale.js +1 -2
- package/src/sap/m/ScrollBar.js +31 -28
- package/src/sap/m/ScrollContainer.js +9 -7
- package/src/sap/m/SearchField.js +185 -182
- package/src/sap/m/SearchFieldRenderer.js +1 -0
- package/src/sap/m/SegmentedButton.js +120 -118
- package/src/sap/m/SegmentedButtonItem.js +1 -2
- package/src/sap/m/Select.js +23 -10
- package/src/sap/m/SelectDialog.js +22 -17
- package/src/sap/m/SelectDialogBase.js +1 -2
- package/src/sap/m/SelectList.js +4 -3
- package/src/sap/m/SelectionDetails.js +97 -92
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +1 -2
- package/src/sap/m/SelectionDetailsItemLine.js +1 -2
- package/src/sap/m/Shell.js +111 -107
- package/src/sap/m/SimpleFixFlex.js +5 -5
- package/src/sap/m/SinglePlanningCalendar.js +344 -340
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +25 -10
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +8 -7
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +16 -7
- package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWeekView.js +15 -15
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +5 -4
- package/src/sap/m/SlideTile.js +10 -7
- package/src/sap/m/Slider.js +180 -175
- package/src/sap/m/SliderRenderer.js +4 -4
- package/src/sap/m/SliderTooltip.js +5 -5
- package/src/sap/m/SliderTooltipBase.js +4 -3
- package/src/sap/m/SliderTooltipContainer.js +10 -6
- package/src/sap/m/SplitApp.js +52 -49
- package/src/sap/m/SplitButton.js +103 -96
- package/src/sap/m/SplitContainer.js +407 -422
- package/src/sap/m/StandardDynamicDateOption.js +1 -2
- package/src/sap/m/StandardListItem.js +116 -113
- package/src/sap/m/StandardTile.js +64 -61
- package/src/sap/m/StandardTreeItem.js +20 -17
- package/src/sap/m/StepInput.js +4 -3
- package/src/sap/m/SuggestionItem.js +1 -2
- package/src/sap/m/SuggestionsPopover.js +1 -1
- package/src/sap/m/Switch.js +79 -74
- package/src/sap/m/SwitchRenderer.js +3 -3
- package/src/sap/m/TabContainer.js +4 -3
- package/src/sap/m/TabContainerItem.js +1 -2
- package/src/sap/m/TabStrip.js +13 -11
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +177 -174
- package/src/sap/m/TablePersoController.js +6 -5
- package/src/sap/m/TablePersoDialog.js +6 -4
- package/src/sap/m/TablePersoProvider.js +1 -1
- package/src/sap/m/TableRenderer.js +1 -1
- package/src/sap/m/TableSelectDialog.js +1 -3
- package/src/sap/m/Text.js +4 -3
- package/src/sap/m/TextArea.js +87 -84
- package/src/sap/m/Tile.js +20 -17
- package/src/sap/m/TileContainer.js +73 -73
- package/src/sap/m/TileContent.js +57 -6
- package/src/sap/m/TimePicker.js +17 -12
- package/src/sap/m/TimePickerClock.js +2 -2
- package/src/sap/m/TimePickerClocks.js +4 -2
- package/src/sap/m/TimePickerClocksRenderer.js +3 -1
- package/src/sap/m/TimePickerInputs.js +4 -2
- package/src/sap/m/TimePickerInternals.js +11 -7
- package/src/sap/m/TimePickerSlider.js +5 -4
- package/src/sap/m/TimePickerSliders.js +11 -7
- package/src/sap/m/TimePickerSlidersRenderer.js +2 -2
- package/src/sap/m/Title.js +109 -106
- package/src/sap/m/TitlePropagationSupport.js +4 -4
- package/src/sap/m/ToDoCardRenderer.js +161 -0
- package/src/sap/m/ToggleButton.js +29 -26
- package/src/sap/m/Token.js +97 -94
- package/src/sap/m/Tokenizer.js +153 -150
- package/src/sap/m/Toolbar.js +104 -101
- package/src/sap/m/ToolbarLayoutData.js +1 -2
- package/src/sap/m/ToolbarSeparator.js +11 -8
- package/src/sap/m/ToolbarSpacer.js +16 -13
- package/src/sap/m/Tree.js +32 -29
- package/src/sap/m/TreeItemBase.js +8 -5
- package/src/sap/m/TreeItemBaseRenderer.js +3 -3
- package/src/sap/m/UploadCollection.js +8 -5
- package/src/sap/m/UploadCollectionItem.js +1 -2
- package/src/sap/m/UploadCollectionParameter.js +1 -2
- package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -2
- package/src/sap/m/VBox.js +9 -6
- package/src/sap/m/ValueStateHeader.js +1 -2
- package/src/sap/m/VariantItem.js +6 -1
- package/src/sap/m/VariantManagement.js +79 -8
- package/src/sap/m/ViewSettingsCustomItem.js +1 -2
- package/src/sap/m/ViewSettingsCustomTab.js +1 -2
- package/src/sap/m/ViewSettingsDialog.js +189 -188
- package/src/sap/m/ViewSettingsFilterItem.js +1 -2
- package/src/sap/m/ViewSettingsItem.js +1 -2
- package/src/sap/m/VisibleItem.js +1 -1
- package/src/sap/m/WheelSlider.js +5 -4
- package/src/sap/m/WheelSliderContainer.js +4 -2
- package/src/sap/m/WheelSliderContainerRenderer.js +2 -2
- package/src/sap/m/Wizard.js +13 -3
- package/src/sap/m/WizardProgressNavigator.js +52 -49
- package/src/sap/m/WizardStep.js +6 -3
- package/src/sap/m/_thirdparty/purify.js +1622 -0
- 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 +4 -3
- 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 +1 -1
- package/src/sap/m/library.js +40 -116
- package/src/sap/m/messagebundle.properties +22 -10
- package/src/sap/m/messagebundle_ar.properties +20 -6
- package/src/sap/m/messagebundle_bg.properties +19 -5
- package/src/sap/m/messagebundle_ca.properties +19 -5
- package/src/sap/m/messagebundle_cs.properties +30 -16
- package/src/sap/m/messagebundle_cy.properties +19 -5
- package/src/sap/m/messagebundle_da.properties +19 -5
- package/src/sap/m/messagebundle_de.properties +20 -6
- package/src/sap/m/messagebundle_el.properties +19 -5
- package/src/sap/m/messagebundle_en.properties +18 -4
- package/src/sap/m/messagebundle_en_GB.properties +18 -4
- package/src/sap/m/messagebundle_en_US_sappsd.properties +19 -3
- package/src/sap/m/messagebundle_en_US_saprigi.properties +23 -9
- package/src/sap/m/messagebundle_en_US_saptrc.properties +16 -2
- package/src/sap/m/messagebundle_es.properties +19 -5
- package/src/sap/m/messagebundle_es_MX.properties +19 -5
- package/src/sap/m/messagebundle_et.properties +19 -5
- package/src/sap/m/messagebundle_fi.properties +19 -5
- package/src/sap/m/messagebundle_fr.properties +20 -6
- package/src/sap/m/messagebundle_fr_CA.properties +20 -6
- package/src/sap/m/messagebundle_hi.properties +19 -5
- package/src/sap/m/messagebundle_hr.properties +20 -6
- package/src/sap/m/messagebundle_hu.properties +19 -5
- package/src/sap/m/messagebundle_id.properties +19 -5
- package/src/sap/m/messagebundle_it.properties +20 -6
- package/src/sap/m/messagebundle_iw.properties +19 -5
- package/src/sap/m/messagebundle_ja.properties +19 -5
- package/src/sap/m/messagebundle_kk.properties +19 -5
- package/src/sap/m/messagebundle_ko.properties +20 -6
- package/src/sap/m/messagebundle_lt.properties +20 -6
- package/src/sap/m/messagebundle_lv.properties +19 -5
- package/src/sap/m/messagebundle_ms.properties +19 -5
- package/src/sap/m/messagebundle_nl.properties +19 -5
- package/src/sap/m/messagebundle_no.properties +19 -5
- package/src/sap/m/messagebundle_pl.properties +19 -5
- package/src/sap/m/messagebundle_pt.properties +19 -5
- package/src/sap/m/messagebundle_pt_PT.properties +19 -5
- package/src/sap/m/messagebundle_ro.properties +19 -5
- package/src/sap/m/messagebundle_ru.properties +19 -5
- package/src/sap/m/messagebundle_sh.properties +20 -6
- package/src/sap/m/messagebundle_sk.properties +19 -5
- package/src/sap/m/messagebundle_sl.properties +20 -6
- package/src/sap/m/messagebundle_sv.properties +19 -5
- package/src/sap/m/messagebundle_th.properties +19 -5
- package/src/sap/m/messagebundle_tr.properties +19 -5
- package/src/sap/m/messagebundle_uk.properties +19 -5
- package/src/sap/m/messagebundle_vi.properties +19 -5
- package/src/sap/m/messagebundle_zh_CN.properties +19 -5
- package/src/sap/m/messagebundle_zh_TW.properties +19 -5
- package/src/sap/m/p13n/AbstractContainer.js +2 -2
- package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
- package/src/sap/m/p13n/BasePanel.js +21 -7
- package/src/sap/m/p13n/Container.js +1 -1
- package/src/sap/m/p13n/Engine.js +84 -79
- package/src/sap/m/p13n/GroupController.js +3 -4
- package/src/sap/m/p13n/GroupPanel.js +1 -1
- package/src/sap/m/p13n/MetadataHelper.js +8 -0
- package/src/sap/m/p13n/Popup.js +1 -1
- package/src/sap/m/p13n/QueryPanel.js +1 -1
- package/src/sap/m/p13n/SelectionController.js +8 -7
- package/src/sap/m/p13n/SelectionPanel.js +37 -15
- package/src/sap/m/p13n/SortController.js +3 -4
- package/src/sap/m/p13n/SortPanel.js +3 -3
- package/src/sap/m/p13n/modification/FlexModificationHandler.js +1 -1
- package/src/sap/m/p13n/modification/LocalStorageModificationHandler.js +1 -1
- package/src/sap/m/p13n/modification/ModificationHandler.js +11 -0
- package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -1
- package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
- package/src/sap/m/p13n/modules/UIManager.js +1 -1
- package/src/sap/m/plugins/CellSelector.js +459 -76
- package/src/sap/m/plugins/ColumnResizer.js +1 -2
- package/src/sap/m/plugins/DataStateIndicator.js +1 -2
- package/src/sap/m/plugins/PasteProvider.js +1 -2
- package/src/sap/m/plugins/PluginBase.js +1 -2
- package/src/sap/m/rules/CheckBox.support.js +1 -1
- package/src/sap/m/rules/Image.support.js +1 -1
- package/src/sap/m/rules/Link.support.js +1 -1
- package/src/sap/m/rules/MessagePage.support.js +1 -1
- package/src/sap/m/rules/ObjectHeader.support.js +6 -6
- 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/Table.support.js +3 -3
- package/src/sap/m/semantic/AddAction.js +1 -2
- package/src/sap/m/semantic/CancelAction.js +1 -2
- package/src/sap/m/semantic/DeleteAction.js +1 -2
- package/src/sap/m/semantic/DetailPage.js +1 -2
- package/src/sap/m/semantic/DiscussInJamAction.js +1 -2
- package/src/sap/m/semantic/EditAction.js +1 -2
- package/src/sap/m/semantic/FavoriteAction.js +1 -2
- package/src/sap/m/semantic/FilterAction.js +1 -2
- package/src/sap/m/semantic/FilterSelect.js +1 -2
- package/src/sap/m/semantic/FlagAction.js +1 -2
- package/src/sap/m/semantic/ForwardAction.js +1 -2
- package/src/sap/m/semantic/FullscreenPage.js +1 -2
- package/src/sap/m/semantic/GroupAction.js +1 -2
- package/src/sap/m/semantic/GroupSelect.js +1 -2
- package/src/sap/m/semantic/MainAction.js +1 -2
- package/src/sap/m/semantic/MasterPage.js +1 -2
- package/src/sap/m/semantic/MessagesIndicator.js +1 -2
- package/src/sap/m/semantic/MultiSelectAction.js +1 -2
- package/src/sap/m/semantic/NegativeAction.js +1 -2
- package/src/sap/m/semantic/OpenInAction.js +1 -2
- package/src/sap/m/semantic/PositiveAction.js +1 -2
- package/src/sap/m/semantic/PrintAction.js +1 -2
- package/src/sap/m/semantic/SaveAction.js +1 -2
- package/src/sap/m/semantic/Segment.js +1 -2
- package/src/sap/m/semantic/SegmentedContainer.js +1 -1
- package/src/sap/m/semantic/SemanticButton.js +1 -2
- package/src/sap/m/semantic/SemanticConfiguration.js +1 -2
- package/src/sap/m/semantic/SemanticControl.js +1 -2
- package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -2
- package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -2
- package/src/sap/m/semantic/SemanticPage.js +4 -3
- package/src/sap/m/semantic/SemanticSelect.js +1 -2
- package/src/sap/m/semantic/SemanticToggleButton.js +1 -2
- package/src/sap/m/semantic/SendEmailAction.js +1 -2
- package/src/sap/m/semantic/SendMessageAction.js +1 -2
- package/src/sap/m/semantic/ShareInJamAction.js +1 -2
- package/src/sap/m/semantic/ShareMenu.js +1 -2
- package/src/sap/m/semantic/ShareMenuPage.js +1 -2
- package/src/sap/m/semantic/SortAction.js +1 -2
- package/src/sap/m/semantic/SortSelect.js +1 -2
- package/src/sap/m/table/Util.js +17 -5
- package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
- package/src/sap/m/table/columnmenu/Entry.js +1 -1
- package/src/sap/m/table/columnmenu/Item.js +1 -1
- package/src/sap/m/table/columnmenu/ItemBase.js +2 -2
- package/src/sap/m/table/columnmenu/ItemContainer.js +1 -1
- package/src/sap/m/table/columnmenu/Menu.js +64 -22
- package/src/sap/m/table/columnmenu/QuickAction.js +16 -8
- package/src/sap/m/table/columnmenu/QuickActionBase.js +19 -4
- package/src/sap/m/table/columnmenu/QuickActionContainer.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionItem.js +5 -6
- package/src/sap/m/table/columnmenu/QuickGroup.js +9 -3
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSort.js +6 -4
- package/src/sap/m/table/columnmenu/QuickSortItem.js +11 -12
- package/src/sap/m/table/columnmenu/QuickTotal.js +9 -3
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
- package/src/sap/m/themes/base/ActionTile.less +239 -0
- package/src/sap/m/themes/base/Bar.less +6 -0
- package/src/sap/m/themes/base/Carousel.less +8 -8
- package/src/sap/m/themes/base/CellSelector.less +109 -2
- package/src/sap/m/themes/base/DisplayListItem.less +3 -3
- package/src/sap/m/themes/base/GenericTile.less +7 -0
- package/src/sap/m/themes/base/IconTabBar.less +2 -0
- package/src/sap/m/themes/base/Link.less +4 -0
- package/src/sap/m/themes/base/Page.less +2 -1
- package/src/sap/m/themes/base/library.source.less +1 -0
- package/src/sap/m/upload/UploadSet.js +295 -13
- package/src/sap/m/upload/UploadSetItem.js +1 -2
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
- package/src/sap/m/upload/Uploader.js +0 -1
- package/src/sap/m/upload/UploaderHttpRequestMethod.js +0 -1
package/src/sap/m/App.js
CHANGED
|
@@ -49,117 +49,120 @@ sap.ui.define([
|
|
|
49
49
|
* @extends sap.m.NavContainer
|
|
50
50
|
*
|
|
51
51
|
* @author SAP SE
|
|
52
|
-
* @version 1.
|
|
52
|
+
* @version 1.107.0
|
|
53
53
|
*
|
|
54
54
|
* @constructor
|
|
55
55
|
* @public
|
|
56
56
|
* @alias sap.m.App
|
|
57
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
58
57
|
*/
|
|
59
|
-
var App = NavContainer.extend("sap.m.App", /** @lends sap.m.App.prototype */ {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
58
|
+
var App = NavContainer.extend("sap.m.App", /** @lends sap.m.App.prototype */ {
|
|
59
|
+
metadata : {
|
|
60
|
+
|
|
61
|
+
library : "sap.m",
|
|
62
|
+
properties : {
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* The icon to be displayed on the home screen of iOS devices after the user does "add to home screen".
|
|
66
|
+
*
|
|
67
|
+
* Note that only the first attempt to set the homeIcon will be executed, subsequent settings are ignored.
|
|
68
|
+
*
|
|
69
|
+
* This icon must be in PNG format. The property can either hold the URL of one single icon which is used for all devices (and possibly scaled, which looks not perfect), or an object holding icon URLs for the different required sizes.
|
|
70
|
+
*
|
|
71
|
+
* A desktop icon (used for bookmarks and overriding the favicon) can also be configured. This requires an object to be given and the "icon" property of this object then defines the desktop bookmark icon. The ICO format is supported by all browsers. ICO is also preferred for this desktop icon setting because the file can contain different images for different resolutions.
|
|
72
|
+
*
|
|
73
|
+
* One example is:
|
|
74
|
+
*
|
|
75
|
+
* app.setHomeIcon({
|
|
76
|
+
* 'phone':'phone-icon.png',
|
|
77
|
+
* 'phone@2':'phone-retina.png',
|
|
78
|
+
* 'tablet':'tablet-icon.png',
|
|
79
|
+
* 'tablet@2':'tablet-retina.png',
|
|
80
|
+
* 'icon':'desktop.ico'
|
|
81
|
+
* });
|
|
82
|
+
*
|
|
83
|
+
* The respective image sizes are 57/114 px for the phone and 72/144 px for the tablet.
|
|
84
|
+
* If an object is given but one of the sizes is not given, the largest given icon will be used for this size.
|
|
85
|
+
*
|
|
86
|
+
* On Android these icons may or may not be used by the device. Apparently chances can be improved by adding glare effect and rounded corners, setting the file name so it ends with "-precomposed.png" and setting the "homeIconPrecomposed" property to "true".
|
|
87
|
+
*/
|
|
88
|
+
homeIcon : {type : "any", group : "Misc", defaultValue : null},
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Background color of the App. If set, this color will override the default background defined by the theme. So this should only be set when really required.
|
|
92
|
+
* Any configured background image will be placed above this colored background. But any theme adaptation in the Theme Designer will override this setting.
|
|
93
|
+
* Use the "backgroundRepeat" property to define whether this image should be stretched to cover the complete App or whether it should be tiled.
|
|
94
|
+
* @since 1.11.2
|
|
95
|
+
*/
|
|
96
|
+
backgroundColor : {type : "string", group : "Appearance", defaultValue : null},
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Background image of the App. If set, this image will override the default background defined by the theme. So this should only be set when really required.
|
|
100
|
+
* This background image will be placed above any color set for the background. But any theme adaptation in the Theme Designer will override this image setting.
|
|
101
|
+
* Use the "backgroundRepeat" property to define whether this image should be stretched to cover the complete App or whether it should be tiled.
|
|
102
|
+
* @since 1.11.2
|
|
103
|
+
*/
|
|
104
|
+
backgroundImage : {type : "sap.ui.core.URI", group : "Appearance", defaultValue : null},
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Whether the background image (if configured) should be proportionally stretched to cover the whole App (false) or whether it should be tiled (true).
|
|
108
|
+
* @since 1.11.2
|
|
109
|
+
*/
|
|
110
|
+
backgroundRepeat : {type : "boolean", group : "Appearance", defaultValue : false},
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Opacity of the background image. The opacity can be set between 0 (fully transparent) and 1 fully opaque).
|
|
114
|
+
* This can be used to make the application content better readable by making the background image partly transparent.
|
|
115
|
+
* @since 1.11.2
|
|
116
|
+
*/
|
|
117
|
+
backgroundOpacity : {type : "float", group : "Appearance", defaultValue : 1},
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* Determines whether the <code>App</code> is displayed without address bar when
|
|
121
|
+
* opened from an exported home screen icon on a mobile device.
|
|
122
|
+
*
|
|
123
|
+
* Keep in mind that if enabled, there is no back button provided by the browser and the app
|
|
124
|
+
* must provide own navigation on all displayed pages to avoid dead ends.
|
|
125
|
+
*
|
|
126
|
+
* <b>Note</b>
|
|
127
|
+
* The property can be toggled, but it doesn't take effect in real time.
|
|
128
|
+
* It takes the set value at the moment when the home screen icon is exported by the user.
|
|
129
|
+
* For example, if the icon is exported while the property is set to <code>true</code>,
|
|
130
|
+
* the <code>App</code> will have no address bar when opened from that same icon regardless
|
|
131
|
+
* of a changed property value to <code>false</code> at a later time.
|
|
132
|
+
*
|
|
133
|
+
* @since 1.58.0
|
|
134
|
+
*/
|
|
135
|
+
mobileWebAppCapable : {type : "boolean", group : "Appearance", defaultValue : true},
|
|
136
|
+
/**
|
|
137
|
+
* Determines whether <code>sap.m.App</code> is used as a top level control.
|
|
138
|
+
*
|
|
139
|
+
* <b>Note</b>: When the <code>isTopLevel</code> property set to <code>true</code>, <code>sap.m.App</code>
|
|
140
|
+
* traverses its parent DOM elements and sets their height to 100%.
|
|
141
|
+
*
|
|
142
|
+
* @since 1.91
|
|
143
|
+
*/
|
|
144
|
+
isTopLevel : {type : "boolean", group : "Behavior", defaultValue : true}
|
|
145
|
+
},
|
|
146
|
+
events : {
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Fired when the orientation (portrait/landscape) of the device is changed.
|
|
150
|
+
* @deprecated Since version 1.20.0, use {@link sap.ui.Device.orientation.attachHandler} instead.
|
|
151
|
+
*/
|
|
152
|
+
orientationChange : {deprecated: true,
|
|
153
|
+
parameters : {
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* Whether the device is in landscape orientation.
|
|
157
|
+
*/
|
|
158
|
+
landscape : {type : "boolean"}
|
|
159
|
+
}
|
|
159
160
|
}
|
|
160
161
|
}
|
|
161
|
-
}
|
|
162
|
-
|
|
162
|
+
},
|
|
163
|
+
|
|
164
|
+
renderer: AppRenderer
|
|
165
|
+
});
|
|
163
166
|
|
|
164
167
|
App.prototype.init = function() {
|
|
165
168
|
NavContainer.prototype.init.apply(this, arguments);
|
package/src/sap/m/Avatar.js
CHANGED
|
@@ -80,14 +80,13 @@ sap.ui.define([
|
|
|
80
80
|
* @extends sap.ui.core.Control
|
|
81
81
|
*
|
|
82
82
|
* @author SAP SE
|
|
83
|
-
* @version 1.
|
|
83
|
+
* @version 1.107.0
|
|
84
84
|
*
|
|
85
85
|
* @constructor
|
|
86
86
|
* @public
|
|
87
87
|
* @since 1.73
|
|
88
88
|
* @see {@link fiori:https://experience.sap.com/fiori-design-web/avatar/ Avatar}
|
|
89
89
|
* @alias sap.m.Avatar
|
|
90
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
91
90
|
*/
|
|
92
91
|
var Avatar = Control.extend("sap.m.Avatar", {
|
|
93
92
|
metadata: {
|
|
@@ -230,7 +229,9 @@ sap.ui.define([
|
|
|
230
229
|
},
|
|
231
230
|
dnd: { draggable: true, droppable: false },
|
|
232
231
|
designtime: "sap/m/designtime/Avatar.designtime"
|
|
233
|
-
}
|
|
232
|
+
},
|
|
233
|
+
|
|
234
|
+
renderer: AvatarRenderer
|
|
234
235
|
});
|
|
235
236
|
|
|
236
237
|
/**
|
package/src/sap/m/AvatarColor.js
CHANGED
package/src/sap/m/AvatarShape.js
CHANGED
package/src/sap/m/AvatarSize.js
CHANGED
package/src/sap/m/AvatarType.js
CHANGED
package/src/sap/m/Bar.js
CHANGED
|
@@ -12,9 +12,10 @@ sap.ui.define([
|
|
|
12
12
|
'sap/ui/core/ResizeHandler',
|
|
13
13
|
'sap/ui/Device',
|
|
14
14
|
'./BarRenderer',
|
|
15
|
-
"sap/ui/thirdparty/jquery"
|
|
15
|
+
"sap/ui/thirdparty/jquery",
|
|
16
|
+
"sap/ui/core/Configuration"
|
|
16
17
|
],
|
|
17
|
-
function(BarInPageEnabler, library, Control, ResizeHandler, Device, BarRenderer, jQuery) {
|
|
18
|
+
function(BarInPageEnabler, library, Control, ResizeHandler, Device, BarRenderer, jQuery, Configuration) {
|
|
18
19
|
"use strict";
|
|
19
20
|
|
|
20
21
|
|
|
@@ -56,81 +57,84 @@ sap.ui.define([
|
|
|
56
57
|
* @implements sap.m.IBar
|
|
57
58
|
*
|
|
58
59
|
* @author SAP SE
|
|
59
|
-
* @version 1.
|
|
60
|
+
* @version 1.107.0
|
|
60
61
|
*
|
|
61
62
|
* @constructor
|
|
62
63
|
* @public
|
|
63
64
|
* @alias sap.m.Bar
|
|
64
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
65
65
|
*/
|
|
66
|
-
var Bar = Control.extend("sap.m.Bar", /** @lends sap.m.Bar.prototype */ {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
66
|
+
var Bar = Control.extend("sap.m.Bar", /** @lends sap.m.Bar.prototype */ {
|
|
67
|
+
metadata : {
|
|
68
|
+
|
|
69
|
+
interfaces : [
|
|
70
|
+
"sap.m.IBar"
|
|
71
|
+
],
|
|
72
|
+
library : "sap.m",
|
|
73
|
+
properties : {
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* If this flag is set to true, contentMiddle will be rendered as a HBox and layoutData can be used to allocate available space.
|
|
77
|
+
* @deprecated since version 1.16, replaced by <code>contentMiddle</code> aggregation.
|
|
78
|
+
* <code>contentMiddle</code> will always occupy of the 100% width when no <code>contentLeft</code> and <code>contentRight</code> are being set.
|
|
79
|
+
*/
|
|
80
|
+
enableFlexBox : {type : "boolean", group : "Misc", defaultValue : false, deprecated: true},
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Indicates whether the Bar is partially translucent.
|
|
84
|
+
* It is only applied for touch devices.
|
|
85
|
+
* @since 1.12
|
|
86
|
+
* @deprecated since version 1.18.6.
|
|
87
|
+
* This property has no effect since release 1.18.6 and should not be used. Translucent bar may overlay an input and make it difficult to edit.
|
|
88
|
+
*/
|
|
89
|
+
translucent : {type : "boolean", group : "Appearance", defaultValue : false, deprecated: true},
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Determines the design of the bar. If set to auto, it becomes dependent on the place where the bar is placed.
|
|
93
|
+
* @since 1.22
|
|
94
|
+
*/
|
|
95
|
+
design : {type : "sap.m.BarDesign", group : "Appearance", defaultValue : BarDesign.Auto},
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Specifies the Title alignment (theme specific).
|
|
99
|
+
* If set to <code>TitleAlignment.None</code>, the automatic title alignment depending on the theme settings will be disabled.
|
|
100
|
+
* If set to <code>TitleAlignment.Auto</code>, the Title will be aligned as it is set in the theme (if not set, the default value is <code>center</code>);
|
|
101
|
+
* Other possible values are <code>TitleAlignment.Start</code> (left or right depending on LTR/RTL), and <code>TitleAlignment.Center</code> (centered)
|
|
102
|
+
* @since 1.85
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
titleAlignment : {type : "sap.m.TitleAlignment", group : "Misc", defaultValue : TitleAlignment.None}
|
|
106
|
+
|
|
107
|
+
},
|
|
108
|
+
aggregations : {
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Represents the left content area, usually containing a button or an app icon. If it is overlapped by the right content, its content will disappear and the text will show an ellipsis.
|
|
112
|
+
*/
|
|
113
|
+
contentLeft : {type : "sap.ui.core.Control", multiple : true, singularName : "contentLeft"},
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Represents the middle content area. Controls such as label, segmented buttons or select can be placed here. The content is centrally positioned if there is enough space. If the right or left content overlaps the middle content, the middle content will be centered in the space between the left and the right content.
|
|
117
|
+
*/
|
|
118
|
+
contentMiddle : {type : "sap.ui.core.Control", multiple : true, singularName : "contentMiddle"},
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Represents the right content area. Controls such as action buttons or search field can be placed here.
|
|
122
|
+
*/
|
|
123
|
+
contentRight : {type : "sap.ui.core.Control", multiple : true, singularName : "contentRight"}
|
|
124
|
+
},
|
|
125
|
+
associations : {
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Association to controls / ids which label this control (see WAI-ARIA attribute aria-labelledby).
|
|
129
|
+
*/
|
|
130
|
+
ariaLabelledBy : {type : "sap.ui.core.Control", multiple : true, singularName : "ariaLabelledBy"}
|
|
131
|
+
},
|
|
132
|
+
designtime: "sap/m/designtime/Bar.designtime",
|
|
133
|
+
dnd: { draggable: false, droppable: true }
|
|
123
134
|
},
|
|
124
|
-
associations : {
|
|
125
135
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
*/
|
|
129
|
-
ariaLabelledBy : {type : "sap.ui.core.Control", multiple : true, singularName : "ariaLabelledBy"}
|
|
130
|
-
},
|
|
131
|
-
designtime: "sap/m/designtime/Bar.designtime",
|
|
132
|
-
dnd: { draggable: false, droppable: true }
|
|
133
|
-
}});
|
|
136
|
+
renderer: BarRenderer
|
|
137
|
+
});
|
|
134
138
|
|
|
135
139
|
Bar.prototype.onBeforeRendering = function() {
|
|
136
140
|
var sCurrentAlignment = this.getTitleAlignment(),
|
|
@@ -247,13 +251,19 @@ sap.ui.define([
|
|
|
247
251
|
|
|
248
252
|
if (bContentLeft) {
|
|
249
253
|
this._sResizeListenerIdLeft = ResizeHandler.register(this._$LeftBar[0], jQuery.proxy(this._handleResize, this));
|
|
254
|
+
} else {
|
|
255
|
+
this._$LeftBar.addClass("sapMBarEmpty");
|
|
250
256
|
}
|
|
251
257
|
|
|
252
258
|
if (bContentMiddle) {
|
|
253
259
|
this._sResizeListenerIdMid = ResizeHandler.register(this._$MidBarPlaceHolder[0], jQuery.proxy(this._handleResize, this));
|
|
260
|
+
} else {
|
|
261
|
+
this._$MidBarPlaceHolder.addClass("sapMBarEmpty");
|
|
254
262
|
}
|
|
255
263
|
if (bContentRight) {
|
|
256
264
|
this._sResizeListenerIdRight = ResizeHandler.register(this._$RightBar[0], jQuery.proxy(this._handleResize, this));
|
|
265
|
+
} else {
|
|
266
|
+
this._$RightBar.addClass("sapMBarEmpty");
|
|
257
267
|
}
|
|
258
268
|
};
|
|
259
269
|
|
|
@@ -266,6 +276,10 @@ sap.ui.define([
|
|
|
266
276
|
* @private
|
|
267
277
|
*/
|
|
268
278
|
Bar.prototype._updatePosition = function(bContentLeft, bContentMiddle, bContentRight) {
|
|
279
|
+
if (!bContentLeft && bContentMiddle && !bContentRight) {
|
|
280
|
+
return;
|
|
281
|
+
}
|
|
282
|
+
|
|
269
283
|
if (bContentLeft && !bContentMiddle && !bContentRight) {
|
|
270
284
|
return;
|
|
271
285
|
}
|
|
@@ -333,17 +347,21 @@ sap.ui.define([
|
|
|
333
347
|
var iMidBarPlaceholderWidth = this._$MidBarPlaceHolder.outerWidth(true),
|
|
334
348
|
bRtl = sap.ui.getCore().getConfiguration().getRTL(),
|
|
335
349
|
sLeftOrRight = bRtl ? "right" : "left",
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
350
|
+
oMidBarCss = { visibility : "" };
|
|
351
|
+
|
|
352
|
+
if (this.getEnableFlexBox()) {
|
|
353
|
+
|
|
354
|
+
iMidBarPlaceholderWidth = iBarWidth - iLeftBarWidth - iRightBarWidth - parseInt(this._$MidBarPlaceHolder.css('margin-left')) - parseInt(this._$MidBarPlaceHolder.css('margin-right'));
|
|
355
|
+
|
|
356
|
+
oMidBarCss.position = "absolute";
|
|
357
|
+
oMidBarCss.width = iMidBarPlaceholderWidth + "px";
|
|
358
|
+
oMidBarCss[sLeftOrRight] = iLeftBarWidth;
|
|
359
|
+
|
|
360
|
+
//calculation for flex is done
|
|
361
|
+
return oMidBarCss;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
var iSpaceBetweenLeftAndRight = iBarWidth - iLeftBarWidth - iRightBarWidth,
|
|
347
365
|
iMidBarStartingPoint = (iBarWidth / 2) - (iMidBarPlaceholderWidth / 2),
|
|
348
366
|
bLeftContentIsOverlapping = iLeftBarWidth > iMidBarStartingPoint,
|
|
349
367
|
iMidBarEndPoint = (iBarWidth / 2) + (iMidBarPlaceholderWidth / 2),
|
|
@@ -352,19 +370,15 @@ sap.ui.define([
|
|
|
352
370
|
|
|
353
371
|
if ((sTitleAlignment !== TitleAlignment.None && sTitleAlignment !== TitleAlignment.Center) ||
|
|
354
372
|
(iSpaceBetweenLeftAndRight > 0 && (bLeftContentIsOverlapping || bRightContentIsOverlapping))) {
|
|
355
|
-
//
|
|
373
|
+
//Left or Right content is overlapping the Middle content or there is Title alignment "Center" or "None" set
|
|
374
|
+
|
|
356
375
|
// place the middle positioned element directly next to the end of left content area
|
|
357
376
|
oMidBarCss.position = "absolute";
|
|
358
377
|
|
|
359
|
-
//
|
|
378
|
+
//Use the remaining space
|
|
360
379
|
oMidBarCss.width = iSpaceBetweenLeftAndRight + "px";
|
|
361
380
|
|
|
362
|
-
|
|
363
|
-
oMidBarCss[sLeftOrRight] = bEmptyLeftContent ? iLeftContentDelta : iLeftBarWidth;
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
if (bEmptyLeftContent && bEmptyRightContent ) {
|
|
367
|
-
oMidBarCss.width = "100%";
|
|
381
|
+
oMidBarCss.left = bRtl ? iRightBarWidth : iLeftBarWidth;
|
|
368
382
|
}
|
|
369
383
|
|
|
370
384
|
return oMidBarCss;
|
package/src/sap/m/BarRenderer.js
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
sap.ui.define(['./BarInPageEnabler', 'sap/ui/Device', "sap/base/Log", 'sap/m/HBox'],
|
|
9
|
-
function(BarInPageEnabler, Device, Log, HBox) {
|
|
8
|
+
sap.ui.define(['./BarInPageEnabler', 'sap/ui/Device', "sap/base/Log", 'sap/m/HBox', "sap/ui/core/Configuration"],
|
|
9
|
+
function(BarInPageEnabler, Device, Log, HBox, Configuration) {
|
|
10
10
|
"use strict";
|
|
11
11
|
|
|
12
12
|
|
|
@@ -120,7 +120,7 @@ sap.ui.define(['./BarInPageEnabler', 'sap/ui/Device', "sap/base/Log", 'sap/m/HBo
|
|
|
120
120
|
oRM.openStart("div", oControl.getId() + "-BarRight");
|
|
121
121
|
oRM.class("sapMBarRight");
|
|
122
122
|
oRM.class("sapMBarContainer");
|
|
123
|
-
if (
|
|
123
|
+
if (Configuration.getRTL()) {
|
|
124
124
|
oRM.class("sapMRTL");
|
|
125
125
|
}
|
|
126
126
|
writeWidthIfContentOccupiesWholeArea("right", oRM, oControl);
|
package/src/sap/m/Breadcrumbs.js
CHANGED
|
@@ -64,13 +64,12 @@ sap.ui.define([
|
|
|
64
64
|
* @implements sap.m.IBreadcrumbs, sap.m.IOverflowToolbarContent, sap.ui.core.IShrinkable
|
|
65
65
|
*
|
|
66
66
|
* @author SAP SE
|
|
67
|
-
* @version 1.
|
|
67
|
+
* @version 1.107.0
|
|
68
68
|
*
|
|
69
69
|
* @constructor
|
|
70
70
|
* @public
|
|
71
71
|
* @since 1.34
|
|
72
72
|
* @alias sap.m.Breadcrumbs
|
|
73
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
74
73
|
*
|
|
75
74
|
*/
|
|
76
75
|
var Breadcrumbs = Control.extend("sap.m.Breadcrumbs", {
|
|
@@ -127,7 +126,9 @@ sap.ui.define([
|
|
|
127
126
|
type: "sap.ui.core.Control", multiple: true, singularName: "ariaLabelledBy"
|
|
128
127
|
}
|
|
129
128
|
}
|
|
130
|
-
}
|
|
129
|
+
},
|
|
130
|
+
|
|
131
|
+
renderer: BreadcrumbsRenderer
|
|
131
132
|
});
|
|
132
133
|
|
|
133
134
|
/*
|
package/src/sap/m/BusyDialog.js
CHANGED
|
@@ -62,12 +62,11 @@ sap.ui.define(['./library',
|
|
|
62
62
|
* @extends sap.ui.core.Control
|
|
63
63
|
*
|
|
64
64
|
* @author SAP SE
|
|
65
|
-
* @version 1.
|
|
65
|
+
* @version 1.107.0
|
|
66
66
|
*
|
|
67
67
|
* @public
|
|
68
68
|
* @alias sap.m.BusyDialog
|
|
69
69
|
* @see {@link fiori:https://experience.sap.com/fiori-design-web/busydialog Busy Dialog}
|
|
70
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
71
70
|
*/
|
|
72
71
|
var BusyDialog = Control.extend("sap.m.BusyDialog", /** @lends sap.m.BusyDialog.prototype */ {
|
|
73
72
|
|