@openui5/sap.m 1.141.2 → 1.143.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/README.md +2 -2
- package/REUSE.toml +39 -1
- package/THIRDPARTY.txt +36 -3
- 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 +1 -1
- package/src/sap/m/ActionSelect.js +1 -1
- package/src/sap/m/ActionSheet.js +1 -1
- package/src/sap/m/ActionTile.js +1 -1
- package/src/sap/m/ActionTileContent.js +1 -1
- package/src/sap/m/AdditionalTextButton.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 +136 -43
- package/src/sap/m/AvatarRenderer.js +1 -1
- package/src/sap/m/Bar.js +6 -45
- package/src/sap/m/Breadcrumbs.js +1 -2
- 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 +0 -1
- package/src/sap/m/Carousel.js +8 -9
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CarouselRenderer.js +40 -22
- 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 +1 -1
- package/src/sap/m/ColumnListItem.js +10 -4
- package/src/sap/m/ColumnListItemRenderer.js +4 -4
- package/src/sap/m/ComboBox.js +10 -6
- package/src/sap/m/ComboBoxBase.js +1 -1
- package/src/sap/m/ComboBoxTextField.js +1 -1
- package/src/sap/m/ComboBoxTextFieldRenderer.js +0 -1
- package/src/sap/m/ContentConfig.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 +20 -1
- package/src/sap/m/DateRangeSelection.js +2 -2
- package/src/sap/m/DateTimeField.js +4 -6
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +1 -1
- package/src/sap/m/Dialog.js +42 -27
- package/src/sap/m/DialogRenderer.js +2 -0
- 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 +1 -1
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +1 -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/FeedListItemRenderer.js +14 -13
- 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 +1 -1
- 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 +3 -1
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/IllustratedMessage.js +1 -1
- package/src/sap/m/Illustration.js +1 -1
- package/src/sap/m/Image.js +1 -1
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/Input.js +1 -1
- package/src/sap/m/InputBase.js +2 -2
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/Label.js +1 -1
- 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/LinkTileContent.js +1 -1
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +19 -14
- package/src/sap/m/ListItemAction.js +1 -1
- package/src/sap/m/ListItemActionBase.js +1 -1
- package/src/sap/m/ListItemBase.js +18 -1
- 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 +31 -11
- package/src/sap/m/MenuButton.js +183 -2
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuItemGroup.js +1 -1
- package/src/sap/m/MenuListItem.js +1 -1
- package/src/sap/m/MenuWrapper.js +1 -1
- package/src/sap/m/MessageBox.js +8 -10
- 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 +2 -2
- package/src/sap/m/MessagePopoverItem.js +1 -1
- package/src/sap/m/MessageStrip.js +67 -3
- package/src/sap/m/MessageStripRenderer.js +1 -2
- package/src/sap/m/MessageToast.js +1 -1
- package/src/sap/m/MessageView.js +33 -17
- package/src/sap/m/MultiComboBox.js +1 -1
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +24 -2
- 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 +1 -1
- 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/ObjectMarker.js +1 -1
- package/src/sap/m/ObjectNumber.js +1 -1
- package/src/sap/m/ObjectStatus.js +28 -16
- package/src/sap/m/ObjectStatusRenderer.js +0 -8
- 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/OverflowToolbarMenuButton.js +1 -1
- package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
- package/src/sap/m/OverflowToolbarTokenizer.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 +2 -3
- 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 +2 -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 +1 -2
- 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 +23 -8
- package/src/sap/m/SegmentedButtonItem.js +3 -2
- package/src/sap/m/SegmentedButtonRenderer.js +22 -9
- package/src/sap/m/Select.js +51 -2
- 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 +8 -10
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +10 -3
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +7 -3
- 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 +1 -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 +10 -5
- package/src/sap/m/SplitContainer.js +1 -1
- package/src/sap/m/StandardDynamicDateOption.js +24 -48
- 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 +7 -4
- package/src/sap/m/SuggestionItem.js +1 -1
- package/src/sap/m/SuggestionsPopover.js +8 -2
- package/src/sap/m/Switch.js +23 -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 +2 -2
- 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 +18 -6
- 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 +1 -1
- package/src/sap/m/TileInfo.js +1 -1
- package/src/sap/m/TimePicker.js +1 -1
- package/src/sap/m/TimePickerClock.js +1 -1
- package/src/sap/m/TimePickerClocks.js +2 -16
- 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/ToggleButton.js +1 -1
- package/src/sap/m/Token.js +1 -1
- package/src/sap/m/Tokenizer.js +154 -5
- package/src/sap/m/TokenizerRenderer.js +30 -3
- 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 +1 -1
- package/src/sap/m/TreeItemBase.js +1 -1
- 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/VariantManagement.js +83 -6
- package/src/sap/m/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +10 -5
- 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 +2 -19
- package/src/sap/m/WizardStepRenderer.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/designtime/messagebundle_ko.properties +1 -1
- package/src/sap/m/inputUtils/SuggestionsPopoverDialogMixin.js +2 -1
- package/src/sap/m/library.js +78 -19
- package/src/sap/m/messagebundle.properties +18 -7
- package/src/sap/m/messagebundle_ar.properties +11 -4
- package/src/sap/m/messagebundle_bg.properties +13 -6
- package/src/sap/m/messagebundle_ca.properties +11 -4
- package/src/sap/m/messagebundle_cnr.properties +11 -4
- package/src/sap/m/messagebundle_cs.properties +11 -4
- package/src/sap/m/messagebundle_cy.properties +11 -4
- package/src/sap/m/messagebundle_da.properties +11 -4
- package/src/sap/m/messagebundle_de.properties +11 -4
- package/src/sap/m/messagebundle_el.properties +11 -4
- package/src/sap/m/messagebundle_en.properties +13 -4
- package/src/sap/m/messagebundle_en_GB.properties +11 -4
- package/src/sap/m/messagebundle_en_US_saprigi.properties +8 -1
- package/src/sap/m/messagebundle_es.properties +15 -8
- package/src/sap/m/messagebundle_es_MX.properties +11 -4
- package/src/sap/m/messagebundle_et.properties +11 -4
- package/src/sap/m/messagebundle_fi.properties +17 -10
- package/src/sap/m/messagebundle_fr.properties +13 -6
- package/src/sap/m/messagebundle_fr_CA.properties +11 -4
- package/src/sap/m/messagebundle_hi.properties +11 -4
- package/src/sap/m/messagebundle_hr.properties +12 -5
- package/src/sap/m/messagebundle_hu.properties +11 -4
- package/src/sap/m/messagebundle_id.properties +15 -8
- package/src/sap/m/messagebundle_it.properties +11 -4
- package/src/sap/m/messagebundle_iw.properties +11 -4
- package/src/sap/m/messagebundle_ja.properties +12 -5
- package/src/sap/m/messagebundle_kk.properties +11 -4
- package/src/sap/m/messagebundle_ko.properties +13 -6
- package/src/sap/m/messagebundle_lt.properties +11 -4
- package/src/sap/m/messagebundle_lv.properties +11 -4
- package/src/sap/m/messagebundle_mk.properties +11 -4
- package/src/sap/m/messagebundle_ms.properties +11 -4
- package/src/sap/m/messagebundle_nl.properties +11 -4
- package/src/sap/m/messagebundle_no.properties +12 -5
- package/src/sap/m/messagebundle_pl.properties +13 -6
- package/src/sap/m/messagebundle_pt.properties +12 -5
- package/src/sap/m/messagebundle_pt_PT.properties +11 -4
- package/src/sap/m/messagebundle_ro.properties +14 -7
- package/src/sap/m/messagebundle_ru.properties +11 -4
- package/src/sap/m/messagebundle_sh.properties +11 -4
- package/src/sap/m/messagebundle_sk.properties +11 -4
- package/src/sap/m/messagebundle_sl.properties +11 -4
- package/src/sap/m/messagebundle_sr.properties +11 -4
- package/src/sap/m/messagebundle_sv.properties +11 -4
- package/src/sap/m/messagebundle_th.properties +16 -9
- package/src/sap/m/messagebundle_tr.properties +11 -4
- package/src/sap/m/messagebundle_uk.properties +11 -4
- package/src/sap/m/messagebundle_vi.properties +11 -4
- package/src/sap/m/messagebundle_zh_CN.properties +11 -4
- package/src/sap/m/messagebundle_zh_TW.properties +11 -4
- 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 +54 -14
- package/src/sap/m/p13n/Container.js +1 -1
- package/src/sap/m/p13n/Engine.js +1 -1
- package/src/sap/m/p13n/FilterController.js +1 -1
- package/src/sap/m/p13n/FilterPanel.js +8 -6
- package/src/sap/m/p13n/GroupController.js +1 -1
- package/src/sap/m/p13n/GroupPanel.js +1 -1
- package/src/sap/m/p13n/MessageStrip.js +2 -2
- package/src/sap/m/p13n/PersistenceProvider.js +6 -2
- 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 +3 -2
- package/src/sap/m/p13n/SelectionPanel.js +6 -2
- 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/p13n/modules/xConfigAPI.js +5 -2
- package/src/sap/m/plugins/CellSelector.js +7 -1
- package/src/sap/m/plugins/ColumnAIAction.js +1 -1
- package/src/sap/m/plugins/ColumnResizer.js +1 -1
- package/src/sap/m/plugins/ContextMenuSetting.js +1 -1
- package/src/sap/m/plugins/CopyProvider.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/plugins/UploadSetwithTable.js +16 -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 +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 +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/ColumnWidthController.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 +3 -2
- package/src/sap/m/table/columnmenu/MenuBase.js +1 -1
- 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/QuickResize.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/Carousel.less +11 -6
- package/src/sap/m/themes/base/CheckBox.less +4 -4
- package/src/sap/m/themes/base/ColumnListItem.less +5 -1
- package/src/sap/m/themes/base/ContextMenuSetting.less +2 -1
- package/src/sap/m/themes/base/FeedListItem.less +5 -2
- package/src/sap/m/themes/base/GenericTile.less +11 -0
- package/src/sap/m/themes/base/Label.less +2 -1
- package/src/sap/m/themes/base/LightBox.less +1 -1
- package/src/sap/m/themes/base/Menu.less +11 -1
- package/src/sap/m/themes/base/MessageStrip.less +211 -1
- package/src/sap/m/themes/base/MultiComboBox.less +4 -0
- package/src/sap/m/themes/base/MultiInput.less +5 -0
- package/src/sap/m/themes/base/ObjectAttribute.less +1 -0
- package/src/sap/m/themes/base/OverflowToolbarTokenizer.less +4 -0
- package/src/sap/m/themes/base/Popover.less +0 -5
- package/src/sap/m/themes/base/SegmentedButton.less +21 -1
- package/src/sap/m/themes/base/Select.less +14 -0
- package/src/sap/m/themes/base/SlideTile.less +8 -0
- package/src/sap/m/themes/base/Table.less +1 -0
- package/src/sap/m/themes/base/Text.less +2 -1
- package/src/sap/m/themes/base/TimePicker.less +0 -11
- package/src/sap/m/themes/base/Tokenizer.less +34 -0
- package/src/sap/m/themes/sap_hcb/base_Select.less +14 -0
- package/src/sap/m/themes/sap_hcb/base_TimePicker.less +0 -12
- package/src/sap/m/upload/ActionsPlaceholder.js +1 -1
- package/src/sap/m/upload/Column.js +1 -1
- package/src/sap/m/upload/FilePreviewDialog.js +1 -1
- package/src/sap/m/upload/UploadItem.js +1 -1
- package/src/sap/m/upload/UploadItemConfiguration.js +1 -1
- package/src/sap/m/upload/UploadSet.js +1 -1
- package/src/sap/m/upload/UploadSetItem.js +1 -1
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
- package/src/sap/m/upload/UploaderTableItem.js +1 -1
package/README.md
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
Runtime resources of the [OpenUI5](https://github.com/UI5/openui5) UI Library **sap.m**.
|
|
5
5
|
|
|
6
6
|
## Usage
|
|
7
|
-
Add this library as a dependency to your UI5 project by using [UI5
|
|
7
|
+
Add this library as a dependency to your UI5 project by using [UI5 CLI](https://ui5.github.io/cli/):
|
|
8
8
|
|
|
9
9
|
```
|
|
10
10
|
ui5 add sap.m
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
For more information, please refer to our documentation on [Consuming OpenUI5 Libraries](https://
|
|
13
|
+
For more information, please refer to our documentation on [Consuming OpenUI5 Libraries](https://ui5.github.io/cli/pages/OpenUI5/).
|
|
14
14
|
|
|
15
15
|
## License
|
|
16
16
|
OpenUI5 is licensed under [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0), see [LICENSE.txt](LICENSE.txt).
|
package/REUSE.toml
CHANGED
|
@@ -21,6 +21,44 @@ SPDX-License-Identifier = "Apache-2.0"
|
|
|
21
21
|
#
|
|
22
22
|
|
|
23
23
|
|
|
24
|
+
# Library: sap.f:
|
|
25
|
+
|
|
26
|
+
[[annotations]]
|
|
27
|
+
path = "src/sap.f/src/sap/f/thirdparty/**"
|
|
28
|
+
precedence = "aggregate"
|
|
29
|
+
SPDX-FileCopyrightText = "SAP"
|
|
30
|
+
SPDX-License-Identifier = "Apache-2.0"
|
|
31
|
+
SPDX-FileComment = "these files belong to: UI5 Web Components"
|
|
32
|
+
|
|
33
|
+
[[annotations]]
|
|
34
|
+
path = "src/sap.f/src/sap/f/thirdparty/**"
|
|
35
|
+
precedence = "aggregate"
|
|
36
|
+
SPDX-FileCopyrightText = "SAP"
|
|
37
|
+
SPDX-License-Identifier = "Apache-2.0"
|
|
38
|
+
SPDX-FileComment = "these files belong to: UI5 Web Components Fiori"
|
|
39
|
+
|
|
40
|
+
[[annotations]]
|
|
41
|
+
path = "src/sap.f/src/sap/f/thirdparty/**"
|
|
42
|
+
precedence = "aggregate"
|
|
43
|
+
SPDX-FileCopyrightText = "SAP"
|
|
44
|
+
SPDX-License-Identifier = "Apache-2.0"
|
|
45
|
+
SPDX-FileComment = "these files belong to: UI5 Web Components Icons"
|
|
46
|
+
|
|
47
|
+
[[annotations]]
|
|
48
|
+
path = "src/sap.f/src/sap/f/thirdparty/**"
|
|
49
|
+
precedence = "aggregate"
|
|
50
|
+
SPDX-FileCopyrightText = "SAP"
|
|
51
|
+
SPDX-License-Identifier = "Apache-2.0"
|
|
52
|
+
SPDX-FileComment = "these files belong to: UI5 Web Components Icons Business Suite"
|
|
53
|
+
|
|
54
|
+
[[annotations]]
|
|
55
|
+
path = "src/sap.f/src/sap/f/thirdparty/**"
|
|
56
|
+
precedence = "aggregate"
|
|
57
|
+
SPDX-FileCopyrightText = "SAP"
|
|
58
|
+
SPDX-License-Identifier = "Apache-2.0"
|
|
59
|
+
SPDX-FileComment = "these files belong to: UI5 Web Components Icons TNT"
|
|
60
|
+
|
|
61
|
+
|
|
24
62
|
# Library: sap.m:
|
|
25
63
|
|
|
26
64
|
[[annotations]]
|
|
@@ -347,7 +385,7 @@ SPDX-FileComment = "these files belong to: handlebars"
|
|
|
347
385
|
[[annotations]]
|
|
348
386
|
path = "src/sap.ui.core/src/sap/ui/thirdparty/require.js"
|
|
349
387
|
precedence = "aggregate"
|
|
350
|
-
SPDX-FileCopyrightText = "2010-
|
|
388
|
+
SPDX-FileCopyrightText = "2010-2024, jQuery Foundation and other contributors"
|
|
351
389
|
SPDX-License-Identifier = "MIT"
|
|
352
390
|
SPDX-FileComment = "these files belong to: requireJS"
|
|
353
391
|
|
package/THIRDPARTY.txt
CHANGED
|
@@ -4,6 +4,39 @@ each subcomponent.
|
|
|
4
4
|
The full text of all referenced licenses is appended at the end of this file.
|
|
5
5
|
|
|
6
6
|
|
|
7
|
+
Library: sap.f:
|
|
8
|
+
|
|
9
|
+
Component: UI5 Web Components, version: 2.15.0
|
|
10
|
+
Copyright: SAP
|
|
11
|
+
License: Apache-2.0
|
|
12
|
+
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
13
|
+
Contained in: src/sap.f/src/sap/f/thirdparty/**
|
|
14
|
+
|
|
15
|
+
Component: UI5 Web Components Fiori, version: 2.15.0
|
|
16
|
+
Copyright: SAP
|
|
17
|
+
License: Apache-2.0
|
|
18
|
+
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
19
|
+
Contained in: src/sap.f/src/sap/f/thirdparty/**
|
|
20
|
+
|
|
21
|
+
Component: UI5 Web Components Icons, version: 2.15.0
|
|
22
|
+
Copyright: SAP
|
|
23
|
+
License: Apache-2.0
|
|
24
|
+
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
25
|
+
Contained in: src/sap.f/src/sap/f/thirdparty/**
|
|
26
|
+
|
|
27
|
+
Component: UI5 Web Components Icons Business Suite, version: 2.15.0
|
|
28
|
+
Copyright: SAP
|
|
29
|
+
License: Apache-2.0
|
|
30
|
+
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
31
|
+
Contained in: src/sap.f/src/sap/f/thirdparty/**
|
|
32
|
+
|
|
33
|
+
Component: UI5 Web Components Icons TNT, version: 2.15.0
|
|
34
|
+
Copyright: SAP
|
|
35
|
+
License: Apache-2.0
|
|
36
|
+
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
37
|
+
Contained in: src/sap.f/src/sap/f/thirdparty/**
|
|
38
|
+
|
|
39
|
+
|
|
7
40
|
Library: sap.m:
|
|
8
41
|
|
|
9
42
|
Component: purify.js, version: 3.2.4
|
|
@@ -221,8 +254,8 @@ License: MIT
|
|
|
221
254
|
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/MIT.txt
|
|
222
255
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/handlebars.js
|
|
223
256
|
|
|
224
|
-
Component: requireJS, version: 2.
|
|
225
|
-
Copyright: 2010-
|
|
257
|
+
Component: requireJS, version: 2.3.7
|
|
258
|
+
Copyright: 2010-2024, jQuery Foundation and other contributors
|
|
226
259
|
License: MIT
|
|
227
260
|
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/MIT.txt
|
|
228
261
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/require.js
|
|
@@ -354,7 +387,7 @@ Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/D
|
|
|
354
387
|
|
|
355
388
|
Library: sap.ui.integration:
|
|
356
389
|
|
|
357
|
-
Component: UI5 Web Components, version:
|
|
390
|
+
Component: UI5 Web Components, version: 2.15.0
|
|
358
391
|
Copyright: SAP
|
|
359
392
|
License: Apache-2.0
|
|
360
393
|
License Text: https://github.com/UI5/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.143.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/UI5/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.143.0",
|
|
18
|
+
"@openui5/sap.ui.layout": "1.143.0",
|
|
19
|
+
"@openui5/sap.ui.unified": "1.143.0"
|
|
20
20
|
}
|
|
21
21
|
}
|
package/src/sap/m/.library
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2025 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.143.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
|
|
package/src/sap/m/AccButton.js
CHANGED
package/src/sap/m/ActionSheet.js
CHANGED
package/src/sap/m/ActionTile.js
CHANGED
package/src/sap/m/App.js
CHANGED
package/src/sap/m/Avatar.js
CHANGED
|
@@ -91,7 +91,7 @@ sap.ui.define([
|
|
|
91
91
|
* @extends sap.ui.core.Control
|
|
92
92
|
*
|
|
93
93
|
* @author SAP SE
|
|
94
|
-
* @version 1.
|
|
94
|
+
* @version 1.143.0
|
|
95
95
|
*
|
|
96
96
|
* @constructor
|
|
97
97
|
* @public
|
|
@@ -317,7 +317,7 @@ sap.ui.define([
|
|
|
317
317
|
// Property holding the actual display type of the avatar
|
|
318
318
|
this._sActualType = null;
|
|
319
319
|
// Property that determines if the created icon is going to be the default one
|
|
320
|
-
this.
|
|
320
|
+
this._bUseDefaultIcon = true;
|
|
321
321
|
this._sImageFallbackType = null;
|
|
322
322
|
|
|
323
323
|
// Property holding the currently picked random background color of the avatar, if any
|
|
@@ -327,13 +327,19 @@ sap.ui.define([
|
|
|
327
327
|
this._badgeRef = null;
|
|
328
328
|
|
|
329
329
|
this._bImageLoadError = false;
|
|
330
|
+
|
|
331
|
+
// does not have initials by default (null value)
|
|
332
|
+
this._bInitialsValid = false;
|
|
330
333
|
};
|
|
331
334
|
|
|
332
335
|
Avatar.prototype.onBeforeRendering = function () {
|
|
333
336
|
if (this._getImageCustomData() && !this._iCacheBustingValue) {
|
|
334
337
|
this._setNewCacheBustingValue();
|
|
335
|
-
this.
|
|
338
|
+
this._loadImage(this._getAvatarSrc());
|
|
336
339
|
}
|
|
340
|
+
// determine the actual display type of the avatar before rendering
|
|
341
|
+
this._setActualDisplayType();
|
|
342
|
+
this._setUseDefaultIcon();
|
|
337
343
|
};
|
|
338
344
|
|
|
339
345
|
Avatar.prototype.onAfterRendering = function() {
|
|
@@ -351,8 +357,15 @@ sap.ui.define([
|
|
|
351
357
|
this._bImageLoadError = false;
|
|
352
358
|
|
|
353
359
|
this.setProperty("src", sSrc);
|
|
354
|
-
this._validateSrc(this._getAvatarSrc());
|
|
355
360
|
this._handleDetailBoxPress(bIsIconURI, oLightBox);
|
|
361
|
+
this._loadImage(this._getAvatarSrc());
|
|
362
|
+
|
|
363
|
+
return this;
|
|
364
|
+
};
|
|
365
|
+
|
|
366
|
+
Avatar.prototype.setInitials = function (sInitials) {
|
|
367
|
+
this.setProperty("initials", sInitials);
|
|
368
|
+
this._setInitialsValid(this._areInitialsValid(sInitials));
|
|
356
369
|
|
|
357
370
|
return this;
|
|
358
371
|
};
|
|
@@ -361,6 +374,15 @@ sap.ui.define([
|
|
|
361
374
|
this._checkInitialsHolderWidth();
|
|
362
375
|
};
|
|
363
376
|
|
|
377
|
+
/**
|
|
378
|
+
* @returns {object} Current accessibility state of the Avatar
|
|
379
|
+
* @see sap.ui.core.Control#getAccessibilityInfo
|
|
380
|
+
* @protected
|
|
381
|
+
*/
|
|
382
|
+
Avatar.prototype.getAccessibilityInfo = function () {
|
|
383
|
+
return this.getDecorative() ? { description: "" } : null; // SNOW DINC0365871
|
|
384
|
+
};
|
|
385
|
+
|
|
364
386
|
Avatar.prototype.exit = function () {
|
|
365
387
|
if (this._fnLightBoxOpen) {
|
|
366
388
|
this._fnLightBoxOpen = null;
|
|
@@ -566,12 +588,31 @@ sap.ui.define([
|
|
|
566
588
|
};
|
|
567
589
|
|
|
568
590
|
Avatar.prototype._handlePress = function () {
|
|
569
|
-
if (!this.getEnabled() || (this.
|
|
591
|
+
if (!this.getEnabled() || (this._getUseDefaultIcon() && this.getDetailBox())) {
|
|
570
592
|
return;
|
|
571
593
|
}
|
|
572
594
|
this.firePress({/* no parameters */});
|
|
573
595
|
};
|
|
574
596
|
|
|
597
|
+
/**
|
|
598
|
+
* Loads the image from the given source.
|
|
599
|
+
*
|
|
600
|
+
* @param {string} sSrc - The source of the image to load
|
|
601
|
+
* @private
|
|
602
|
+
*/
|
|
603
|
+
Avatar.prototype._loadImage = function (sSrc) {
|
|
604
|
+
if (!sSrc || IconPool.isIconURI(sSrc)) {
|
|
605
|
+
return;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
// we perform this action in order to validate the image source and
|
|
609
|
+
// take further actions depending on that
|
|
610
|
+
this.preloadedImage = new window.Image();
|
|
611
|
+
this.preloadedImage.src = sSrc;
|
|
612
|
+
this.preloadedImage.onload = this._onImageLoad.bind(this);
|
|
613
|
+
this.preloadedImage.onerror = this._onImageError.bind(this, sSrc);
|
|
614
|
+
};
|
|
615
|
+
|
|
575
616
|
/**
|
|
576
617
|
* Checks the validity of the <code>initials</code> parameter and returns <code>true</code> if the
|
|
577
618
|
* initials are correct.
|
|
@@ -585,10 +626,6 @@ sap.ui.define([
|
|
|
585
626
|
if (!validInitials.test(sInitials)) {
|
|
586
627
|
Log.warning("Initials should consist of only 1,2 or 3 latin letters", this);
|
|
587
628
|
// if there is no actual type or the actual type is initials but they are not valid, set the actual type to icon
|
|
588
|
-
if (!this._sActualType || this._sActualType === AvatarType.Initials) {
|
|
589
|
-
this._sActualType = AvatarType.Icon;
|
|
590
|
-
}
|
|
591
|
-
this._bIsDefaultIcon = true;
|
|
592
629
|
return false;
|
|
593
630
|
}
|
|
594
631
|
|
|
@@ -596,32 +633,38 @@ sap.ui.define([
|
|
|
596
633
|
};
|
|
597
634
|
|
|
598
635
|
/**
|
|
599
|
-
*
|
|
636
|
+
* Returns the validity state of the initials.
|
|
600
637
|
*
|
|
601
|
-
* @
|
|
602
|
-
* @returns {this}
|
|
638
|
+
* @returns {boolean}
|
|
603
639
|
* @private
|
|
604
640
|
*/
|
|
605
|
-
Avatar.prototype.
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
641
|
+
Avatar.prototype._getInitialsValid = function() {
|
|
642
|
+
return this._bInitialsValid;
|
|
643
|
+
};
|
|
644
|
+
|
|
645
|
+
/**
|
|
646
|
+
* Sets the validity state of the initials.
|
|
647
|
+
*
|
|
648
|
+
* @param {boolean} bValue - The validity state to set
|
|
649
|
+
* @private
|
|
650
|
+
*/
|
|
651
|
+
Avatar.prototype._setInitialsValid = function (bValue) {
|
|
652
|
+
this._bInitialsValid = bValue;
|
|
653
|
+
};
|
|
609
654
|
|
|
655
|
+
/**
|
|
656
|
+
* Returns the actual display type of avatar depending on the <code>src</code> parameter - either Icon or Image.
|
|
657
|
+
*
|
|
658
|
+
* @param {string} sSrc
|
|
659
|
+
* @returns {sap.m.AvatarType} either Icon or Image
|
|
660
|
+
* @private
|
|
661
|
+
*/
|
|
662
|
+
Avatar.prototype._getActualTypeBySrc = function (sSrc) {
|
|
610
663
|
if (IconPool.isIconURI(sSrc)) {
|
|
611
|
-
|
|
612
|
-
this._bIsDefaultIcon = IconPool.getIconInfo(sSrc) ? false : true;
|
|
664
|
+
return AvatarType.Icon;
|
|
613
665
|
} else {
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
// we perform this action in order to validate the image source and
|
|
617
|
-
// take further actions depending on that
|
|
618
|
-
this.preloadedImage = new window.Image();
|
|
619
|
-
this.preloadedImage.src = sSrc;
|
|
620
|
-
this.preloadedImage.onload = this._onImageLoad.bind(this);
|
|
621
|
-
this.preloadedImage.onerror = this._onImageError.bind(this, sSrc);
|
|
666
|
+
return AvatarType.Image;
|
|
622
667
|
}
|
|
623
|
-
|
|
624
|
-
return this;
|
|
625
668
|
};
|
|
626
669
|
|
|
627
670
|
/**
|
|
@@ -640,28 +683,76 @@ sap.ui.define([
|
|
|
640
683
|
};
|
|
641
684
|
|
|
642
685
|
/**
|
|
643
|
-
* Validates the entered parameters, and
|
|
686
|
+
* Validates the entered parameters, and sets what the actual display type parameter would be.
|
|
644
687
|
*
|
|
645
688
|
* @returns {sap.m.AvatarType}
|
|
646
689
|
* @private
|
|
647
690
|
*/
|
|
648
|
-
Avatar.prototype.
|
|
691
|
+
Avatar.prototype._setActualDisplayType = function () {
|
|
649
692
|
var sSrc = this._getAvatarSrc(),
|
|
650
693
|
sInitials = this.getInitials();
|
|
651
694
|
|
|
652
695
|
if (sSrc) {
|
|
653
|
-
|
|
654
|
-
} else if (sInitials && this.
|
|
696
|
+
this._sActualType = this._getActualTypeBySrc(sSrc);
|
|
697
|
+
} else if (sInitials && this._getInitialsValid()) {
|
|
655
698
|
this._sActualType = AvatarType.Initials;
|
|
656
699
|
} else {
|
|
657
|
-
Log.warning("No src and initials were provided", this);
|
|
700
|
+
Log.warning("No src and initials were provided or initials are provided, but are not valid", this);
|
|
658
701
|
this._sActualType = AvatarType.Icon;
|
|
659
|
-
this._bIsDefaultIcon = true;
|
|
660
702
|
}
|
|
661
703
|
|
|
662
704
|
return this._sActualType;
|
|
663
705
|
};
|
|
664
706
|
|
|
707
|
+
/**
|
|
708
|
+
* Returns the actual display type of avatar
|
|
709
|
+
*
|
|
710
|
+
* @returns {sap.m.AvatarType}
|
|
711
|
+
* @private
|
|
712
|
+
*/
|
|
713
|
+
Avatar.prototype._getActualDisplayType = function () {
|
|
714
|
+
if (!this._sActualType) {
|
|
715
|
+
this._setActualDisplayType();
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
return this._sActualType;
|
|
719
|
+
};
|
|
720
|
+
|
|
721
|
+
/**
|
|
722
|
+
* Sets whether default icon should be used
|
|
723
|
+
*
|
|
724
|
+
* @param {boolean} bValue
|
|
725
|
+
* @private
|
|
726
|
+
*/
|
|
727
|
+
Avatar.prototype._setUseDefaultIcon = function () {
|
|
728
|
+
var sSrc = this.getSrc();
|
|
729
|
+
|
|
730
|
+
if (!sSrc) {
|
|
731
|
+
// No source: use default only if initials are invalid
|
|
732
|
+
this._bUseDefaultIcon = !this._getInitialsValid();
|
|
733
|
+
return;
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
if (IconPool.isIconURI(sSrc)) {
|
|
737
|
+
// Icon URI: use default if NOT found in IconPool
|
|
738
|
+
this._bUseDefaultIcon = !IconPool.getIconInfo(sSrc);
|
|
739
|
+
return;
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
// Regular image source: use default if image failed to load
|
|
743
|
+
this._bUseDefaultIcon = this._bImageLoadError;
|
|
744
|
+
};
|
|
745
|
+
|
|
746
|
+
/**
|
|
747
|
+
* Returns whether the default icon should be used.
|
|
748
|
+
*
|
|
749
|
+
* @returns {boolean} whether the default icon should be used
|
|
750
|
+
* @private
|
|
751
|
+
*/
|
|
752
|
+
Avatar.prototype._getUseDefaultIcon = function () {
|
|
753
|
+
return this._bUseDefaultIcon;
|
|
754
|
+
};
|
|
755
|
+
|
|
665
756
|
/**
|
|
666
757
|
* Indicates what type of fallback we should show if there is invalid image source.
|
|
667
758
|
*
|
|
@@ -671,7 +762,7 @@ sap.ui.define([
|
|
|
671
762
|
Avatar.prototype._getImageFallbackType = function () {
|
|
672
763
|
var sInitials = this.getInitials();
|
|
673
764
|
|
|
674
|
-
this._sImageFallbackType = sInitials && this.
|
|
765
|
+
this._sImageFallbackType = sInitials && this._getInitialsValid() ?
|
|
675
766
|
AvatarType.Initials : AvatarType.Icon;
|
|
676
767
|
|
|
677
768
|
return this._sImageFallbackType;
|
|
@@ -713,7 +804,7 @@ sap.ui.define([
|
|
|
713
804
|
bIsIconURI = IconPool.isIconURI(sSrc),
|
|
714
805
|
sDefaultIconPath = this._getDefaultIconPath(sDisplayShape);
|
|
715
806
|
|
|
716
|
-
if (this.
|
|
807
|
+
if (this._getUseDefaultIcon()) {
|
|
717
808
|
sSrc = sDefaultIconPath;
|
|
718
809
|
}
|
|
719
810
|
|
|
@@ -813,12 +904,13 @@ sap.ui.define([
|
|
|
813
904
|
* @private
|
|
814
905
|
*/
|
|
815
906
|
Avatar.prototype._onImageLoad = function() {
|
|
907
|
+
this._bImageLoadError = false;
|
|
908
|
+
|
|
816
909
|
//we need to remove fallback content
|
|
817
|
-
if (this.
|
|
818
|
-
this.
|
|
910
|
+
if (this._getUseDefaultIcon()) {
|
|
911
|
+
this._setUseDefaultIcon();
|
|
819
912
|
this.getDetailBox() && this.invalidate();
|
|
820
913
|
}
|
|
821
|
-
this._bImageLoadError = false;
|
|
822
914
|
delete this.preloadedImage;
|
|
823
915
|
};
|
|
824
916
|
|
|
@@ -832,14 +924,15 @@ sap.ui.define([
|
|
|
832
924
|
return;
|
|
833
925
|
}
|
|
834
926
|
|
|
927
|
+
this._bImageLoadError = true;
|
|
928
|
+
|
|
835
929
|
this._cleanCSS();
|
|
836
930
|
|
|
837
|
-
if (!this.
|
|
838
|
-
this.
|
|
931
|
+
if (!this._getUseDefaultIcon()) {
|
|
932
|
+
this._setUseDefaultIcon();
|
|
839
933
|
this.getDetailBox() && this.invalidate();
|
|
840
934
|
}
|
|
841
935
|
delete this.preloadedImage;
|
|
842
|
-
this._bImageLoadError = true;
|
|
843
936
|
};
|
|
844
937
|
|
|
845
938
|
Avatar.prototype._cleanCSS = function () {
|
|
@@ -999,7 +1092,7 @@ sap.ui.define([
|
|
|
999
1092
|
*/
|
|
1000
1093
|
Avatar.prototype.refreshAvatarCacheBusting = function () {
|
|
1001
1094
|
this._setNewCacheBustingValue();
|
|
1002
|
-
this.
|
|
1095
|
+
this._loadImage(this._getAvatarSrc());
|
|
1003
1096
|
this.invalidate();
|
|
1004
1097
|
};
|
|
1005
1098
|
|
|
@@ -52,7 +52,7 @@ sap.ui.define(["sap/m/library", "sap/base/security/encodeCSS", "sap/ui/core/Ico
|
|
|
52
52
|
aDescribedBy = oAvatar.getAriaDescribedBy(),
|
|
53
53
|
aHasPopup = oAvatar.getAriaHasPopup(),
|
|
54
54
|
bHasListener = oAvatar.hasListeners("press"),
|
|
55
|
-
bHasSrc = (!oAvatar.
|
|
55
|
+
bHasSrc = (!oAvatar._getUseDefaultIcon() && bHasDetailBox) || (!bHasDetailBox),
|
|
56
56
|
bHideBadge = bHasDetailBox && bIsIconURI && !bHasBadgeIcon,
|
|
57
57
|
bShouldBeClickable = bHasListener && bHasSrc,
|
|
58
58
|
oBadge = bHasSrc && !bHideBadge ? oAvatar._getBadge() : null,
|
package/src/sap/m/Bar.js
CHANGED
|
@@ -59,7 +59,7 @@ sap.ui.define([
|
|
|
59
59
|
* @implements sap.m.IBar
|
|
60
60
|
*
|
|
61
61
|
* @author SAP SE
|
|
62
|
-
* @version 1.
|
|
62
|
+
* @version 1.143.0
|
|
63
63
|
*
|
|
64
64
|
* @constructor
|
|
65
65
|
* @public
|
|
@@ -416,58 +416,19 @@ sap.ui.define([
|
|
|
416
416
|
* @private
|
|
417
417
|
*/
|
|
418
418
|
Bar.prototype._getBarContainerWidth = function($Container) {
|
|
419
|
-
var
|
|
420
|
-
iContainerWidth = 0,
|
|
419
|
+
var iContainerWidth = 0,
|
|
421
420
|
aContainerChildren = $Container.children(),
|
|
422
421
|
iContainerChildrenTotalWidth = 0;
|
|
423
422
|
|
|
424
423
|
// Chrome browser has a problem in providing the correct div size when image inside does not have width explicitly set
|
|
425
|
-
|
|
426
|
-
// Edge also works correctly with this calculation unlike IE
|
|
427
|
-
if (Device.browser.webkit || Device.browser.firefox) {
|
|
424
|
+
for (let i = 0; i < aContainerChildren.length; i++) {
|
|
428
425
|
|
|
429
|
-
|
|
426
|
+
iContainerChildrenTotalWidth += jQuery(aContainerChildren[i]).outerWidth(true);
|
|
430
427
|
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
iContainerWidth = $Container.outerWidth(true);
|
|
436
|
-
|
|
437
|
-
} else {
|
|
438
|
-
|
|
439
|
-
// IE has a rounding issue with jQuery.outerWidth
|
|
440
|
-
var oContainerChildrenStyle;
|
|
441
|
-
|
|
442
|
-
for (i = 0; i < aContainerChildren.length; i++) {
|
|
443
|
-
|
|
444
|
-
oContainerChildrenStyle = window.getComputedStyle(aContainerChildren[i]);
|
|
445
|
-
|
|
446
|
-
if (oContainerChildrenStyle.width == "auto") {
|
|
447
|
-
|
|
448
|
-
iContainerChildrenTotalWidth += jQuery(aContainerChildren[i]).width() + 1; //add an additional 1 pixel because of rounding issue.
|
|
449
|
-
|
|
450
|
-
} else {
|
|
451
|
-
|
|
452
|
-
iContainerChildrenTotalWidth += parseFloat(oContainerChildrenStyle.width);
|
|
453
|
-
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
iContainerChildrenTotalWidth += parseFloat(oContainerChildrenStyle.marginLeft);
|
|
457
|
-
iContainerChildrenTotalWidth += parseFloat(oContainerChildrenStyle.marginRight);
|
|
458
|
-
iContainerChildrenTotalWidth += parseFloat(oContainerChildrenStyle.paddingLeft);
|
|
459
|
-
iContainerChildrenTotalWidth += parseFloat(oContainerChildrenStyle.paddingRight);
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
var oContainerComputedStyle = window.getComputedStyle($Container[0]);
|
|
428
|
+
}
|
|
463
429
|
|
|
464
|
-
|
|
465
|
-
iContainerWidth += parseFloat(oContainerComputedStyle.marginLeft);
|
|
466
|
-
iContainerWidth += parseFloat(oContainerComputedStyle.marginRight);
|
|
467
|
-
iContainerWidth += parseFloat(oContainerComputedStyle.paddingLeft);
|
|
468
|
-
iContainerWidth += parseFloat(oContainerComputedStyle.paddingRight);
|
|
430
|
+
iContainerWidth = $Container.outerWidth(true);
|
|
469
431
|
|
|
470
|
-
}
|
|
471
432
|
|
|
472
433
|
if (iContainerWidth < iContainerChildrenTotalWidth) {
|
|
473
434
|
|
package/src/sap/m/Breadcrumbs.js
CHANGED
|
@@ -74,7 +74,7 @@ sap.ui.define([
|
|
|
74
74
|
* @implements sap.m.IBreadcrumbs, sap.m.IOverflowToolbarContent, sap.ui.core.IShrinkable
|
|
75
75
|
*
|
|
76
76
|
* @author SAP SE
|
|
77
|
-
* @version 1.
|
|
77
|
+
* @version 1.143.0
|
|
78
78
|
*
|
|
79
79
|
* @constructor
|
|
80
80
|
* @public
|
|
@@ -346,7 +346,6 @@ sap.ui.define([
|
|
|
346
346
|
|
|
347
347
|
oCurrentLocation.$().attr("aria-current", "page");
|
|
348
348
|
oCurrentLocation.$().attr("tabindex", 0);
|
|
349
|
-
oCurrentLocation.$().attr("role", "link");
|
|
350
349
|
oCurrentLocation.$().attr("aria-label", this.getCurrentLocation().getText() + " " + positionText);
|
|
351
350
|
};
|
|
352
351
|
|
package/src/sap/m/BusyDialog.js
CHANGED