@openui5/sap.m 1.107.0 → 1.108.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/.dtsgenrc +22 -0
- package/THIRDPARTY.txt +1 -1
- package/package.json +4 -4
- package/src/sap/m/.library +2 -2
- package/src/sap/m/AccButton.js +1 -1
- package/src/sap/m/ActionListItem.js +1 -1
- package/src/sap/m/ActionSelect.js +1 -1
- package/src/sap/m/ActionSheet.js +1 -1
- package/src/sap/m/ActionTile.js +17 -1
- package/src/sap/m/ActionTileContent.js +7 -5
- package/src/sap/m/AdditionalTextButton.js +42 -0
- package/src/sap/m/AdditionalTextButtonRenderer.js +60 -0
- package/src/sap/m/App.js +1 -1
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +49 -7
- package/src/sap/m/AvatarRenderer.js +10 -2
- package/src/sap/m/Bar.js +2 -2
- package/src/sap/m/Breadcrumbs.js +1 -1
- package/src/sap/m/BusyDialog.js +1 -1
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +1 -1
- package/src/sap/m/ButtonRenderer.js +26 -23
- package/src/sap/m/Carousel.js +348 -286
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CarouselRenderer.js +52 -20
- package/src/sap/m/CheckBox.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 +36 -8
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +1 -1
- 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 +1 -1
- package/src/sap/m/ComboBoxBase.js +1 -1
- package/src/sap/m/ComboBoxTextField.js +1 -1
- package/src/sap/m/CustomDynamicDateOption.js +1 -1
- package/src/sap/m/CustomListItem.js +1 -1
- package/src/sap/m/CustomTile.js +1 -1
- package/src/sap/m/CustomTreeItem.js +1 -1
- package/src/sap/m/DatePicker.js +15 -6
- package/src/sap/m/DateRangeSelection.js +2 -2
- package/src/sap/m/DateTimeField.js +1 -1
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +2 -2
- package/src/sap/m/Dialog.js +29 -2
- package/src/sap/m/DialogRenderer.js +20 -6
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DraftIndicator.js +1 -1
- package/src/sap/m/DynamicDate.js +1 -1
- package/src/sap/m/DynamicDateOption.js +1 -1
- package/src/sap/m/DynamicDateRange.js +3 -2
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +42 -2
- package/src/sap/m/ExpandableTextRenderer.js +4 -1
- package/src/sap/m/FacetFilter.js +1 -1
- package/src/sap/m/FacetFilterItem.js +1 -1
- package/src/sap/m/FacetFilterList.js +1 -1
- package/src/sap/m/FeedContent.js +1 -1
- package/src/sap/m/FeedInput.js +1 -1
- package/src/sap/m/FeedListItem.js +1 -1
- package/src/sap/m/FeedListItemAction.js +1 -1
- 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 +1 -1
- package/src/sap/m/GenericTag.js +1 -1
- package/src/sap/m/GenericTile.js +64 -18
- package/src/sap/m/GenericTileLineModeRenderer.js +4 -4
- package/src/sap/m/GenericTileRenderer.js +23 -14
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +1 -1
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +1 -1
- package/src/sap/m/IconTabBarSelectList.js +1 -1
- package/src/sap/m/IconTabFilter.js +1 -1
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +1 -1
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/IllustratedMessage.js +68 -10
- package/src/sap/m/IllustratedMessageRenderer.js +6 -0
- package/src/sap/m/IllustratedMessageSize.js +8 -1
- package/src/sap/m/Illustration.js +1 -1
- package/src/sap/m/IllustrationPool.js +2 -0
- package/src/sap/m/Image.js +1 -1
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/Input.js +3 -2
- package/src/sap/m/InputBase.js +4 -3
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/Label.js +11 -5
- package/src/sap/m/LabelRenderer.js +5 -3
- package/src/sap/m/LightBox.js +1 -1
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/Link.js +1 -1
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +1 -1
- package/src/sap/m/ListBaseRenderer.js +1 -1
- package/src/sap/m/ListItemBase.js +3 -3
- package/src/sap/m/MaskEnabler.js +1 -1
- package/src/sap/m/MaskInput.js +1 -1
- package/src/sap/m/MaskInputRule.js +1 -1
- package/src/sap/m/Menu.js +1 -1
- package/src/sap/m/MenuButton.js +1 -1
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuListItem.js +1 -1
- 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/MessagePopover.js +1 -1
- package/src/sap/m/MessagePopoverItem.js +1 -1
- package/src/sap/m/MessageStrip.js +1 -1
- package/src/sap/m/MessageToast.js +1 -1
- package/src/sap/m/MessageView.js +1 -1
- package/src/sap/m/MultiComboBox.js +1 -1
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +1 -1
- package/src/sap/m/NavContainer.js +1 -1
- package/src/sap/m/NewsContent.js +1 -1
- 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/NotificationListItem.js +3 -2
- package/src/sap/m/NumericContent.js +1 -1
- package/src/sap/m/NumericInput.js +1 -1
- package/src/sap/m/ObjectAttribute.js +1 -1
- package/src/sap/m/ObjectHeader.js +1 -1
- package/src/sap/m/ObjectIdentifier.js +1 -1
- package/src/sap/m/ObjectListItem.js +1 -1
- package/src/sap/m/ObjectListItemRenderer.js +1 -1
- package/src/sap/m/ObjectMarker.js +1 -1
- package/src/sap/m/ObjectNumber.js +1 -1
- package/src/sap/m/ObjectStatus.js +1 -1
- package/src/sap/m/OverflowToolbar.js +1 -1
- 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 +1 -1
- package/src/sap/m/P13nConditionPanel.js +1 -1
- package/src/sap/m/P13nDialog.js +1 -1
- 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 +1 -1
- package/src/sap/m/P13nGroupItem.js +1 -1
- package/src/sap/m/P13nGroupPanel.js +1 -1
- 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 +1 -1
- package/src/sap/m/PDFViewer.js +1 -1
- 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/PlanningCalendar.js +88 -28
- package/src/sap/m/PlanningCalendarHeader.js +27 -5
- 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 +1 -1
- package/src/sap/m/ProgressIndicator.js +1 -1
- package/src/sap/m/PullToRefresh.js +1 -1
- 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/QuickViewGroup.js +1 -1
- package/src/sap/m/QuickViewGroupElement.js +1 -1
- package/src/sap/m/QuickViewPage.js +1 -1
- package/src/sap/m/RadioButton.js +1 -1
- package/src/sap/m/RadioButtonGroup.js +1 -1
- package/src/sap/m/RangeSlider.js +1 -1
- package/src/sap/m/RatingIndicator.js +1 -1
- package/src/sap/m/ResponsivePopover.js +1 -1
- package/src/sap/m/ResponsiveScale.js +1 -1
- package/src/sap/m/ScrollBar.js +1 -1
- package/src/sap/m/ScrollContainer.js +1 -1
- package/src/sap/m/SearchField.js +1 -1
- package/src/sap/m/SegmentedButton.js +1 -1
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +1 -1
- package/src/sap/m/SelectDialog.js +1 -1
- package/src/sap/m/SelectDialogBase.js +1 -1
- package/src/sap/m/SelectList.js +1 -1
- package/src/sap/m/SelectionDetails.js +1 -1
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +1 -1
- package/src/sap/m/SelectionDetailsItemLine.js +1 -1
- package/src/sap/m/Shell.js +1 -1
- package/src/sap/m/SimpleFixFlex.js +1 -1
- package/src/sap/m/SinglePlanningCalendar.js +1 -1
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +3 -1
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -1
- package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
- package/src/sap/m/SlideTile.js +84 -15
- package/src/sap/m/SlideTileRenderer.js +5 -1
- package/src/sap/m/Slider.js +1 -1
- package/src/sap/m/SliderTooltip.js +1 -1
- package/src/sap/m/SliderTooltipBase.js +1 -1
- package/src/sap/m/SliderTooltipContainer.js +1 -1
- package/src/sap/m/SplitApp.js +1 -1
- package/src/sap/m/SplitButton.js +1 -1
- package/src/sap/m/SplitContainer.js +1 -1
- package/src/sap/m/StandardDynamicDateOption.js +1 -1
- package/src/sap/m/StandardListItem.js +1 -1
- package/src/sap/m/StandardTile.js +1 -1
- package/src/sap/m/StandardTreeItem.js +1 -1
- package/src/sap/m/StepInput.js +3 -9
- package/src/sap/m/SuggestionItem.js +1 -1
- package/src/sap/m/SuggestionsPopover.js +1 -1
- package/src/sap/m/Switch.js +1 -1
- package/src/sap/m/TabContainer.js +1 -1
- package/src/sap/m/TabContainerItem.js +1 -1
- package/src/sap/m/TabStrip.js +1 -1
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +60 -11
- 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 +7 -4
- package/src/sap/m/TableSelectDialog.js +1 -1
- package/src/sap/m/Text.js +1 -1
- package/src/sap/m/TextArea.js +1 -1
- package/src/sap/m/Tile.js +1 -1
- package/src/sap/m/TileContainer.js +1 -1
- package/src/sap/m/TileContent.js +2 -2
- package/src/sap/m/TimePicker.js +15 -42
- package/src/sap/m/TimePickerClock.js +1 -1
- package/src/sap/m/TimePickerClocks.js +1 -1
- package/src/sap/m/TimePickerInputs.js +1 -1
- package/src/sap/m/TimePickerInternals.js +1 -1
- package/src/sap/m/TimePickerSlider.js +1 -1
- package/src/sap/m/TimePickerSliders.js +1 -1
- package/src/sap/m/Title.js +1 -1
- package/src/sap/m/TitlePropagationSupport.js +1 -1
- package/src/sap/m/ToDoCardRenderer.js +9 -0
- package/src/sap/m/ToggleButton.js +1 -1
- package/src/sap/m/Token.js +1 -1
- package/src/sap/m/Tokenizer.js +1 -1
- package/src/sap/m/Toolbar.js +1 -1
- package/src/sap/m/ToolbarLayoutData.js +1 -1
- package/src/sap/m/ToolbarSeparator.js +1 -1
- package/src/sap/m/ToolbarSpacer.js +1 -1
- package/src/sap/m/Tree.js +23 -77
- package/src/sap/m/TreeItemBase.js +22 -11
- package/src/sap/m/UploadCollection.js +1 -1
- package/src/sap/m/UploadCollectionItem.js +1 -1
- package/src/sap/m/UploadCollectionParameter.js +1 -1
- package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
- package/src/sap/m/VBox.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 +11 -7
- 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/Wizard.js +1 -1
- 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 +1 -1
- package/src/sap/m/delegate/DateNavigation.js +32 -33
- package/src/sap/m/designtime/messagebundle_sv.properties +2 -2
- package/src/sap/m/library.js +3 -2
- package/src/sap/m/messagebundle.properties +61 -13
- package/src/sap/m/messagebundle_ar.properties +49 -15
- package/src/sap/m/messagebundle_bg.properties +48 -14
- package/src/sap/m/messagebundle_ca.properties +48 -14
- package/src/sap/m/messagebundle_cs.properties +47 -13
- package/src/sap/m/messagebundle_cy.properties +49 -15
- package/src/sap/m/messagebundle_da.properties +47 -13
- package/src/sap/m/messagebundle_de.properties +50 -16
- package/src/sap/m/messagebundle_el.properties +48 -14
- package/src/sap/m/messagebundle_en.properties +48 -14
- package/src/sap/m/messagebundle_en_GB.properties +48 -14
- package/src/sap/m/messagebundle_en_US_sappsd.properties +47 -15
- package/src/sap/m/messagebundle_en_US_saprigi.properties +42 -9
- package/src/sap/m/messagebundle_en_US_saptrc.properties +50 -16
- package/src/sap/m/messagebundle_es.properties +49 -15
- package/src/sap/m/messagebundle_es_MX.properties +55 -21
- package/src/sap/m/messagebundle_et.properties +46 -12
- package/src/sap/m/messagebundle_fi.properties +47 -13
- package/src/sap/m/messagebundle_fr.properties +50 -16
- package/src/sap/m/messagebundle_fr_CA.properties +50 -16
- package/src/sap/m/messagebundle_hi.properties +47 -13
- package/src/sap/m/messagebundle_hr.properties +47 -13
- package/src/sap/m/messagebundle_hu.properties +47 -13
- package/src/sap/m/messagebundle_id.properties +47 -13
- package/src/sap/m/messagebundle_it.properties +49 -15
- package/src/sap/m/messagebundle_iw.properties +47 -13
- package/src/sap/m/messagebundle_ja.properties +48 -14
- package/src/sap/m/messagebundle_kk.properties +48 -14
- package/src/sap/m/messagebundle_ko.properties +48 -14
- package/src/sap/m/messagebundle_lt.properties +54 -20
- package/src/sap/m/messagebundle_lv.properties +47 -13
- package/src/sap/m/messagebundle_ms.properties +47 -13
- package/src/sap/m/messagebundle_nl.properties +48 -14
- package/src/sap/m/messagebundle_no.properties +48 -14
- package/src/sap/m/messagebundle_pl.properties +47 -13
- package/src/sap/m/messagebundle_pt.properties +48 -14
- package/src/sap/m/messagebundle_pt_PT.properties +51 -17
- package/src/sap/m/messagebundle_ro.properties +48 -14
- package/src/sap/m/messagebundle_ru.properties +48 -14
- package/src/sap/m/messagebundle_sh.properties +48 -14
- package/src/sap/m/messagebundle_sk.properties +46 -12
- package/src/sap/m/messagebundle_sl.properties +49 -15
- package/src/sap/m/messagebundle_sv.properties +48 -14
- package/src/sap/m/messagebundle_th.properties +48 -14
- package/src/sap/m/messagebundle_tr.properties +48 -14
- package/src/sap/m/messagebundle_uk.properties +48 -14
- package/src/sap/m/messagebundle_vi.properties +48 -14
- package/src/sap/m/messagebundle_zh_CN.properties +48 -14
- package/src/sap/m/messagebundle_zh_TW.properties +48 -14
- 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 +1 -1
- package/src/sap/m/p13n/Container.js +1 -1
- package/src/sap/m/p13n/Engine.js +1 -1
- package/src/sap/m/p13n/GroupController.js +1 -1
- package/src/sap/m/p13n/GroupPanel.js +1 -1
- package/src/sap/m/p13n/Popup.js +1 -1
- package/src/sap/m/p13n/QueryPanel.js +2 -2
- package/src/sap/m/p13n/SelectionController.js +1 -1
- package/src/sap/m/p13n/SelectionPanel.js +1 -1
- package/src/sap/m/p13n/SortController.js +1 -1
- package/src/sap/m/p13n/SortPanel.js +1 -1
- 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 +1 -1
- package/src/sap/m/plugins/ColumnResizer.js +1 -1
- 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/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 +2 -2
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/src/sap/m/table/columnmenu/Menu.js +27 -8
- package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionBase.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickGroup.js +1 -1
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
- package/src/sap/m/themes/base/ActionTile.less +67 -10
- package/src/sap/m/themes/base/AdditionalTextButton.less +38 -0
- package/src/sap/m/themes/base/Avatar.less +4 -0
- package/src/sap/m/themes/base/Carousel.less +64 -33
- package/src/sap/m/themes/base/ColumnMenu.less +4 -4
- package/src/sap/m/themes/base/Dialog.less +1 -1
- package/src/sap/m/themes/base/GenericTile.less +121 -30
- package/src/sap/m/themes/base/IllustratedMessage.less +43 -1
- package/src/sap/m/themes/base/Label.less +5 -0
- package/src/sap/m/themes/base/MessageBox.less +5 -5
- package/src/sap/m/themes/base/Table.less +7 -3
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-AddColumn.svg +26 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-AddPeople.svg +8 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-BalloonSky.svg +6 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-Connection.svg +9 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-EmptyCalendar.svg +36 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-EmptyList.svg +6 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-EmptyPlanningCalendar.svg +36 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-ErrorScreen.svg +8 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-FilterTable.svg +7 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-GroupTable.svg +35 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoFilterResults.svg +7 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoMail_v1.svg +9 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoSavedItems_v1.svg +12 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoSearchResults.svg +10 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoTasks_v1.svg +12 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-PageNotFound.svg +6 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-ReloadScreen.svg +8 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SearchEarth.svg +6 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SearchFolder.svg +10 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleBalloon.svg +6 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleBell.svg +7 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleCalendar.svg +36 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleCheckmark.svg +4 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleConnection.svg +9 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleEmptyDoc.svg +7 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleEmptyList.svg +6 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleError.svg +8 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleMagnifier.svg +6 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleMail.svg +9 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleNoSavedItems.svg +12 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleNotFoundMagnifier.svg +10 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleReload.svg +8 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleTask.svg +12 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SleepingBell.svg +7 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SortColumn.svg +28 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SuccessHighFive.svg +6 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SuccessScreen.svg +4 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-Tent.svg +7 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-UnableToLoadImage.svg +8 -0
- package/src/sap/m/themes/base/library.source.less +2 -1
- package/src/sap/m/upload/UploadSet.js +14 -3
- package/src/sap/m/upload/UploadSetItem.js +5 -3
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
package/.dtsgenrc
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"forwardDeclarations": {
|
|
3
|
+
"sap.m": [
|
|
4
|
+
{
|
|
5
|
+
"kind": "interface",
|
|
6
|
+
"name": "sap.f.IDynamicPageStickyContent",
|
|
7
|
+
"module": "sap/f/library",
|
|
8
|
+
"export": "IDynamicPageStickyContent"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"kind": "interface",
|
|
12
|
+
"name": "sap.f.IShellBar",
|
|
13
|
+
"module": "sap/f/library",
|
|
14
|
+
"export": "IShellBar"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
"namespacesToInterfaces": {
|
|
19
|
+
"InstanceManager": true,
|
|
20
|
+
"URLHelper": true
|
|
21
|
+
}
|
|
22
|
+
}
|
package/THIRDPARTY.txt
CHANGED
|
@@ -382,7 +382,7 @@ Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/D
|
|
|
382
382
|
|
|
383
383
|
Library: sap.ui.integration:
|
|
384
384
|
|
|
385
|
-
Component: UI5 Web Components, version: 1.0
|
|
385
|
+
Component: UI5 Web Components, version: 1.7.0
|
|
386
386
|
Copyright: SAP
|
|
387
387
|
License: Apache-2.0
|
|
388
388
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.m",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.108.0",
|
|
4
4
|
"description": "OpenUI5 UI Library sap.m",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"url": "https://github.com/SAP/openui5.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@openui5/sap.ui.core": "1.
|
|
18
|
-
"@openui5/sap.ui.layout": "1.
|
|
19
|
-
"@openui5/sap.ui.unified": "1.
|
|
17
|
+
"@openui5/sap.ui.core": "1.108.0",
|
|
18
|
+
"@openui5/sap.ui.layout": "1.108.0",
|
|
19
|
+
"@openui5/sap.ui.unified": "1.108.0"
|
|
20
20
|
}
|
|
21
21
|
}
|
package/src/sap/m/.library
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.
|
|
9
|
+
<version>1.108.0</version>
|
|
10
10
|
|
|
11
11
|
<documentation>The main UI5 control library, with responsive controls that can be used in touch devices as well as desktop browsers.</documentation>
|
|
12
12
|
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
</packaging>
|
|
46
46
|
<!-- Thirdparty references -->
|
|
47
47
|
<thirdparty xmlns="http://www.sap.com/ui5/buildext/thirdparty" >
|
|
48
|
-
<lib name="DOMPurify" displayName="purify.js" version="2.3.8" homepage="https://github.com/cure53/DOMPurify/" id="73554900106100137292">
|
|
48
|
+
<lib name="DOMPurify" displayName="purify.js" npmName="dompurify" version="2.3.8" hash="a12fd82a376dc194563c5af82a30ebc8" homepage="https://github.com/cure53/DOMPurify/" id="73554900106100137292">
|
|
49
49
|
<license url="https://github.com/cure53/DOMPurify/blob/main/LICENSE" type="Apache-2.0" />
|
|
50
50
|
<copyright>Mario Heiderich</copyright>
|
|
51
51
|
<pattern>sap/m/_thirdparty/purify.js</pattern>
|
package/src/sap/m/AccButton.js
CHANGED
package/src/sap/m/ActionSheet.js
CHANGED
package/src/sap/m/ActionTile.js
CHANGED
|
@@ -31,7 +31,7 @@ sap.ui.define([
|
|
|
31
31
|
* @extends sap.m.GenericTile
|
|
32
32
|
*
|
|
33
33
|
* @author SAP SE
|
|
34
|
-
* @version 1.
|
|
34
|
+
* @version 1.108.0
|
|
35
35
|
* @since 1.107.0
|
|
36
36
|
*
|
|
37
37
|
* @private
|
|
@@ -67,6 +67,11 @@ sap.ui.define([
|
|
|
67
67
|
if (this.getHeaderImage()) {
|
|
68
68
|
this.addStyleClass("sapMATSituationCard");
|
|
69
69
|
}
|
|
70
|
+
if (this.getEnableNavigationButton()) {
|
|
71
|
+
this.removeStyleClass("sapMATHideActionButton");
|
|
72
|
+
} else {
|
|
73
|
+
this.addStyleClass("sapMATHideActionButton");
|
|
74
|
+
}
|
|
70
75
|
GenericTile.prototype.onBeforeRendering.apply(this, arguments);
|
|
71
76
|
};
|
|
72
77
|
|
|
@@ -86,5 +91,16 @@ sap.ui.define([
|
|
|
86
91
|
this.getDomRef().classList.remove("TwoByOne");
|
|
87
92
|
this.getDomRef().classList.remove("sapMGTActionMode");
|
|
88
93
|
};
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Returns the size description of the tile that is announced by the screen reader
|
|
97
|
+
*
|
|
98
|
+
* @returns {string} Text for the size description
|
|
99
|
+
* @private
|
|
100
|
+
*/
|
|
101
|
+
ActionTile.prototype._getSizeDescription = function () {
|
|
102
|
+
return this._oRb.getText("ACTION_TILE_SIZE");
|
|
103
|
+
};
|
|
104
|
+
|
|
89
105
|
return ActionTile;
|
|
90
106
|
});
|
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
* @extends sap.m.TileContent
|
|
28
28
|
*
|
|
29
29
|
* @author SAP SE
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.108.0
|
|
31
31
|
* @since 1.107.0
|
|
32
32
|
*
|
|
33
33
|
* @private
|
|
@@ -58,13 +58,15 @@ sap.ui.define([
|
|
|
58
58
|
var sAltText = "";
|
|
59
59
|
var sPriority = sap.ui.getCore().getLibraryResourceBundle("sap.m").getText("TEXT_CONTENT_PRIORITY");
|
|
60
60
|
var sPriorityText = this.getPriorityText();
|
|
61
|
+
var aCustomAttributes = this.getAggregation("attributes");
|
|
61
62
|
if (this.getPriority() !== Priority.None && sPriorityText) {
|
|
62
63
|
sAltText += (sPriorityText + " " + sPriority) + "\n";
|
|
63
64
|
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
65
|
+
// Returns the first four attributes to display in the tooltip,aria-label on the ActionTile
|
|
66
|
+
for (var iIndex = 0; iIndex < aCustomAttributes.length && iIndex < 4; iIndex++) {
|
|
67
|
+
sAltText += aCustomAttributes[iIndex].getLabel() + "\n" + aCustomAttributes[iIndex].getValue() + "\n";
|
|
68
|
+
}
|
|
69
|
+
return sAltText.trim();
|
|
68
70
|
};
|
|
69
71
|
|
|
70
72
|
return ActionTileContent;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
// Provides control sap.m.AdditionalTextButton.
|
|
8
|
+
sap.ui.define(['./Button','./AdditionalTextButtonRenderer'],
|
|
9
|
+
function(Button, AdditionalTextButtonRenderer) {
|
|
10
|
+
"use strict";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Constructor for a new AdditionalTextButton.
|
|
14
|
+
*
|
|
15
|
+
* @param {string} [sId] ID for the new control, generated automatically if no ID is given
|
|
16
|
+
* @param {object} [mSettings] Initial settings for the new control
|
|
17
|
+
*
|
|
18
|
+
* @class
|
|
19
|
+
* The AdditionalTextButton control is a button with a second line of text. Intended for use in Calendar controls with a second calendar type. It is meant for private usage.
|
|
20
|
+
*
|
|
21
|
+
* @extends sap.m.Button
|
|
22
|
+
*
|
|
23
|
+
* @author SAP SE
|
|
24
|
+
* @version 1.108.0
|
|
25
|
+
*
|
|
26
|
+
* @constructor
|
|
27
|
+
* @private
|
|
28
|
+
* @alias sap.m.AdditionalTextButton
|
|
29
|
+
*/
|
|
30
|
+
var AdditionalTextButton = Button.extend("sap.m.AdditionalTextButton", {
|
|
31
|
+
metadata: {
|
|
32
|
+
library : "sap.m",
|
|
33
|
+
properties : {
|
|
34
|
+
additionalText: {type : "string", group : "Misc", defaultValue: "" }
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
|
|
38
|
+
renderer: AdditionalTextButtonRenderer
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
return AdditionalTextButton;
|
|
42
|
+
});
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
+
*/
|
|
6
|
+
sap.ui.define([
|
|
7
|
+
"./ButtonRenderer",
|
|
8
|
+
"sap/ui/core/Renderer",
|
|
9
|
+
"sap/ui/core/library",
|
|
10
|
+
'sap/ui/core/AccessKeysEnablement'
|
|
11
|
+
], function (ButtonRenderer, Renderer, coreLibrary, AccessKeysEnablement) {
|
|
12
|
+
"use strict";
|
|
13
|
+
|
|
14
|
+
// shortcut for sap.ui.core.TextDirection
|
|
15
|
+
var TextDirection = coreLibrary.TextDirection;
|
|
16
|
+
|
|
17
|
+
var AdditionalTextButtonRenderer = Renderer.extend(ButtonRenderer);
|
|
18
|
+
AdditionalTextButtonRenderer.apiVersion = 2;
|
|
19
|
+
|
|
20
|
+
AdditionalTextButtonRenderer.writeButtonText = function (oRm, oButton, sTextDir, bRenderBDI) {
|
|
21
|
+
oRm.openStart("span", oButton.getId() + "-content");
|
|
22
|
+
oRm.class("sapMBtnContent");
|
|
23
|
+
// check if textDirection property is not set to default "Inherit" and add "dir" attribute
|
|
24
|
+
if (sTextDir !== TextDirection.Inherit) {
|
|
25
|
+
oRm.attr("dir", sTextDir.toLowerCase());
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
if (oButton.getProperty("highlightAccKeysRef")) {
|
|
29
|
+
oRm.class(AccessKeysEnablement.CSS_CLASS);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
oRm.openEnd();
|
|
33
|
+
|
|
34
|
+
if (bRenderBDI) {
|
|
35
|
+
oRm.openStart("bdi", oButton.getId() + "-BDI-content");
|
|
36
|
+
oRm.openEnd();
|
|
37
|
+
}
|
|
38
|
+
oRm.text(oButton.getText());
|
|
39
|
+
if (bRenderBDI) {
|
|
40
|
+
oRm.close("bdi");
|
|
41
|
+
}
|
|
42
|
+
if (oButton.getAdditionalText()) {
|
|
43
|
+
var sRendererTag = bRenderBDI ? "bdi" : "span";
|
|
44
|
+
|
|
45
|
+
oRm.openStart(sRendererTag, oButton.getId() + "-additionalText-BDI-content");
|
|
46
|
+
oRm.class("sapMBtnContentAddText");
|
|
47
|
+
oRm.openEnd();
|
|
48
|
+
oRm.text(oButton.getAdditionalText());
|
|
49
|
+
oRm.close(sRendererTag);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
oRm.close("span");
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
AdditionalTextButtonRenderer.renderButtonAttributes = function (oRm){
|
|
56
|
+
oRm.class("sapMBtnAdditionalTextContent");
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
return AdditionalTextButtonRenderer;
|
|
60
|
+
}, /* bExport= */ true);
|
package/src/sap/m/App.js
CHANGED
package/src/sap/m/Avatar.js
CHANGED
|
@@ -62,8 +62,8 @@ sap.ui.define([
|
|
|
62
62
|
*
|
|
63
63
|
* <h3>Usage</h3>
|
|
64
64
|
*
|
|
65
|
-
* Up to
|
|
66
|
-
* are more than
|
|
65
|
+
* Up to three Latin letters can be displayed as initials in an <code>Avatar</code>. If there
|
|
66
|
+
* are more than three letters, or if there's a non-Latin character present, a default image
|
|
67
67
|
* placeholder will be created.
|
|
68
68
|
*
|
|
69
69
|
* There are two options for how the displayed image can fit inside the
|
|
@@ -80,7 +80,7 @@ sap.ui.define([
|
|
|
80
80
|
* @extends sap.ui.core.Control
|
|
81
81
|
*
|
|
82
82
|
* @author SAP SE
|
|
83
|
-
* @version 1.
|
|
83
|
+
* @version 1.108.0
|
|
84
84
|
*
|
|
85
85
|
* @constructor
|
|
86
86
|
* @public
|
|
@@ -97,7 +97,7 @@ sap.ui.define([
|
|
|
97
97
|
*/
|
|
98
98
|
src: {type: "sap.ui.core.URI", group: "Data", defaultValue: null},
|
|
99
99
|
/**
|
|
100
|
-
* Defines the displayed initials.
|
|
100
|
+
* Defines the displayed initials. They should consist of only 1,2 or 3 latin letters.
|
|
101
101
|
*/
|
|
102
102
|
initials: {type: "string", group: "Data", defaultValue: null},
|
|
103
103
|
/**
|
|
@@ -274,6 +274,14 @@ sap.ui.define([
|
|
|
274
274
|
this._badgeRef = null;
|
|
275
275
|
};
|
|
276
276
|
|
|
277
|
+
Avatar.prototype.onAfterRendering = function() {
|
|
278
|
+
this._checkInitialsHolderWidth();
|
|
279
|
+
};
|
|
280
|
+
|
|
281
|
+
Avatar.prototype.onThemeChanged = function() {
|
|
282
|
+
this._checkInitialsHolderWidth();
|
|
283
|
+
};
|
|
284
|
+
|
|
277
285
|
Avatar.prototype.exit = function () {
|
|
278
286
|
if (this._fnLightBoxOpen) {
|
|
279
287
|
this._fnLightBoxOpen = null;
|
|
@@ -423,10 +431,10 @@ sap.ui.define([
|
|
|
423
431
|
* @returns {boolean} The initials are valid or not
|
|
424
432
|
* @private
|
|
425
433
|
*/
|
|
426
|
-
|
|
427
|
-
var validInitials = /^[a-zA-Z]{1,
|
|
434
|
+
Avatar.prototype._areInitialsValid = function (sInitials) {
|
|
435
|
+
var validInitials = /^[a-zA-Z]{1,3}$/;
|
|
428
436
|
if (!validInitials.test(sInitials)) {
|
|
429
|
-
Log.warning("Initials should consist of only 1 or
|
|
437
|
+
Log.warning("Initials should consist of only 1,2 or 3 latin letters", this);
|
|
430
438
|
this._sActualType = AvatarType.Icon;
|
|
431
439
|
this._bIsDefaultIcon = true;
|
|
432
440
|
return false;
|
|
@@ -672,6 +680,40 @@ sap.ui.define([
|
|
|
672
680
|
return sBackground;
|
|
673
681
|
};
|
|
674
682
|
|
|
683
|
+
// Checks the scrollWidth of the initials holder inside the control.
|
|
684
|
+
// This is related with the initials property and the case where there are 3 letter initials,
|
|
685
|
+
// which width is bigger than the initials holder`s width.
|
|
686
|
+
|
|
687
|
+
Avatar.prototype._checkInitialsHolderWidth = function() {
|
|
688
|
+
var $this = this.$(),
|
|
689
|
+
iInitials = this.getInitials().length;
|
|
690
|
+
|
|
691
|
+
this.$oInitialsHolder = $this.children(".sapFAvatarInitialsHolder");
|
|
692
|
+
|
|
693
|
+
if (this.$oInitialsHolder.length !== 0 && iInitials === 3) {
|
|
694
|
+
var iAvatarWidth = $this[0].offsetWidth,
|
|
695
|
+
iInitialsHolderWidth = this.$oInitialsHolder[0].offsetWidth;
|
|
696
|
+
|
|
697
|
+
if (iInitialsHolderWidth > iAvatarWidth) {
|
|
698
|
+
this._wideInitialsIcon();
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
};
|
|
702
|
+
|
|
703
|
+
// In case when there are 3 initials set to the avatar and they are overflowing,
|
|
704
|
+
// we want to show icon inatead of the initials.
|
|
705
|
+
|
|
706
|
+
Avatar.prototype._wideInitialsIcon = function() {
|
|
707
|
+
var $this = this.$(),
|
|
708
|
+
$oHiddenIcon = $this.children(".sapFAvatarHiddenIcon");
|
|
709
|
+
|
|
710
|
+
$oHiddenIcon.removeClass("sapFAvatarHiddenIcon");
|
|
711
|
+
this.$oInitialsHolder.css("display", "none");
|
|
712
|
+
|
|
713
|
+
$this.removeClass("sapFAvatarInitials");
|
|
714
|
+
$this.addClass("sapFAvatarIcon");
|
|
715
|
+
};
|
|
716
|
+
|
|
675
717
|
return Avatar;
|
|
676
718
|
|
|
677
719
|
});
|
|
@@ -46,7 +46,8 @@ sap.ui.define(["sap/m/library", "sap/base/security/encodeCSS"],
|
|
|
46
46
|
aDescribedBy = oAvatar.getAriaDescribedBy(),
|
|
47
47
|
aHasPopup = oAvatar.getAriaHasPopup(),
|
|
48
48
|
oBadge = oAvatar.hasListeners("press") ? oAvatar._getBadge() : null,
|
|
49
|
-
sDefaultTooltip = oAvatar._getDefaultTooltip()
|
|
49
|
+
sDefaultTooltip = oAvatar._getDefaultTooltip(),
|
|
50
|
+
sInitialsLength = sInitials.length;
|
|
50
51
|
|
|
51
52
|
oRm.openStart("span", oAvatar);
|
|
52
53
|
oRm.class(sAvatarClass);
|
|
@@ -99,12 +100,19 @@ sap.ui.define(["sap/m/library", "sap/base/security/encodeCSS"],
|
|
|
99
100
|
oRm.openEnd();
|
|
100
101
|
if (sActualDisplayType === AvatarType.Icon || sImageFallbackType === AvatarType.Icon) {
|
|
101
102
|
oRm.renderControl(oAvatar._getIcon().addStyleClass(sAvatarClass + "TypeIcon"));
|
|
102
|
-
} else if (sActualDisplayType === AvatarType.Initials || sImageFallbackType === AvatarType.Initials){
|
|
103
|
+
} else if ((sActualDisplayType === AvatarType.Initials || sImageFallbackType === AvatarType.Initials) ){
|
|
104
|
+
if (sInitialsLength === 3) {
|
|
105
|
+
//we render both icon and avatar, for the case where we have 3 initials set to the avatar and they are overflowing,
|
|
106
|
+
//in this case we want to show icon instead of the initials after the rendering of the control
|
|
107
|
+
oRm.renderControl(oAvatar._getIcon().addStyleClass(sAvatarClass + "TypeIcon").addStyleClass(sAvatarClass + "HiddenIcon"));
|
|
108
|
+
}
|
|
109
|
+
|
|
103
110
|
oRm.openStart("span");
|
|
104
111
|
oRm.class(sAvatarClass + "InitialsHolder");
|
|
105
112
|
oRm.openEnd();
|
|
106
113
|
oRm.text(sInitials);
|
|
107
114
|
oRm.close("span");
|
|
115
|
+
|
|
108
116
|
}
|
|
109
117
|
if (sActualDisplayType === AvatarType.Image) {
|
|
110
118
|
oRm.openStart("span");
|
package/src/sap/m/Bar.js
CHANGED
|
@@ -57,7 +57,7 @@ sap.ui.define([
|
|
|
57
57
|
* @implements sap.m.IBar
|
|
58
58
|
*
|
|
59
59
|
* @author SAP SE
|
|
60
|
-
* @version 1.
|
|
60
|
+
* @version 1.108.0
|
|
61
61
|
*
|
|
62
62
|
* @constructor
|
|
63
63
|
* @public
|
|
@@ -345,7 +345,7 @@ sap.ui.define([
|
|
|
345
345
|
*/
|
|
346
346
|
Bar.prototype._getMidBarCss = function(iRightBarWidth, iBarWidth, iLeftBarWidth) {
|
|
347
347
|
var iMidBarPlaceholderWidth = this._$MidBarPlaceHolder.outerWidth(true),
|
|
348
|
-
bRtl =
|
|
348
|
+
bRtl = Configuration.getRTL(),
|
|
349
349
|
sLeftOrRight = bRtl ? "right" : "left",
|
|
350
350
|
oMidBarCss = { visibility : "" };
|
|
351
351
|
|
package/src/sap/m/Breadcrumbs.js
CHANGED
package/src/sap/m/BusyDialog.js
CHANGED
package/src/sap/m/Button.js
CHANGED
|
@@ -73,7 +73,6 @@ sap.ui.define([
|
|
|
73
73
|
// button container style class
|
|
74
74
|
if (!oButton._isUnstyled()) {
|
|
75
75
|
oRm.class("sapMBtn");
|
|
76
|
-
|
|
77
76
|
// extend minimum button size if icon is set without text for button types back and up
|
|
78
77
|
if ((sType === ButtonType.Back || sType === ButtonType.Up) && oButton._getAppliedIcon() && !sText) {
|
|
79
78
|
oRm.class("sapMBtnBack");
|
|
@@ -195,28 +194,7 @@ sap.ui.define([
|
|
|
195
194
|
|
|
196
195
|
// write button text
|
|
197
196
|
if (sText) {
|
|
198
|
-
|
|
199
|
-
oRm.class("sapMBtnContent");
|
|
200
|
-
// check if textDirection property is not set to default "Inherit" and add "dir" attribute
|
|
201
|
-
if (sTextDir !== TextDirection.Inherit) {
|
|
202
|
-
oRm.attr("dir", sTextDir.toLowerCase());
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
if (oButton.getProperty("highlightAccKeysRef")) {
|
|
206
|
-
oRm.class(AccessKeysEnablement.CSS_CLASS);
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
oRm.openEnd();
|
|
210
|
-
|
|
211
|
-
if (bRenderBDI) {
|
|
212
|
-
oRm.openStart("bdi", sButtonId + "-BDI-content");
|
|
213
|
-
oRm.openEnd();
|
|
214
|
-
}
|
|
215
|
-
oRm.text(sText);
|
|
216
|
-
if (bRenderBDI) {
|
|
217
|
-
oRm.close("bdi");
|
|
218
|
-
}
|
|
219
|
-
oRm.close("span");
|
|
197
|
+
this.writeButtonText(oRm, oButton, sTextDir, bRenderBDI);
|
|
220
198
|
}
|
|
221
199
|
|
|
222
200
|
// write icon
|
|
@@ -287,6 +265,31 @@ sap.ui.define([
|
|
|
287
265
|
oRm.renderControl(oButton._getInternalIconBtn((oButton.getId() + "-iconBtn"), sURI));
|
|
288
266
|
};
|
|
289
267
|
|
|
268
|
+
ButtonRenderer.writeButtonText = function(oRm, oButton, sTextDir, bRenderBDI){
|
|
269
|
+
oRm.openStart("span", oButton.getId() + "-content");
|
|
270
|
+
oRm.class("sapMBtnContent");
|
|
271
|
+
// check if textDirection property is not set to default "Inherit" and add "dir" attribute
|
|
272
|
+
if (sTextDir !== TextDirection.Inherit) {
|
|
273
|
+
oRm.attr("dir", sTextDir.toLowerCase());
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
if (oButton.getProperty("highlightAccKeysRef")) {
|
|
277
|
+
oRm.class(AccessKeysEnablement.CSS_CLASS);
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
oRm.openEnd();
|
|
281
|
+
|
|
282
|
+
if (bRenderBDI) {
|
|
283
|
+
oRm.openStart("bdi", oButton.getId() + "-BDI-content");
|
|
284
|
+
oRm.openEnd();
|
|
285
|
+
}
|
|
286
|
+
oRm.text(oButton.getText());
|
|
287
|
+
if (bRenderBDI) {
|
|
288
|
+
oRm.close("bdi");
|
|
289
|
+
}
|
|
290
|
+
oRm.close("span");
|
|
291
|
+
};
|
|
292
|
+
|
|
290
293
|
/**
|
|
291
294
|
* Renders tabindex with value of "-1" if required by <code>_bExcludeFromTabChain</code> property.
|
|
292
295
|
* @param {sap.m.Button} oButton The sap.m.Button to be rendered
|