@openui5/sap.m 1.122.0 → 1.123.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/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 +5 -3
- package/src/sap/m/ActionTileContent.js +7 -2
- package/src/sap/m/ActionTileContentRenderer.js +24 -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 +1 -1
- package/src/sap/m/Bar.js +1 -1
- package/src/sap/m/Breadcrumbs.js +43 -13
- package/src/sap/m/BreadcrumbsRenderer.js +1 -1
- package/src/sap/m/BusyDialog.js +1 -1
- package/src/sap/m/BusyIndicator.js +2 -2
- package/src/sap/m/Button.js +1 -1
- package/src/sap/m/Carousel.js +7 -8
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CarouselRenderer.js +5 -4
- 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/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 +8 -2
- package/src/sap/m/ComboBoxBase.js +2 -2
- package/src/sap/m/ComboBoxTextField.js +1 -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 +1 -1
- 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 +1 -1
- package/src/sap/m/Dialog.js +1 -1
- package/src/sap/m/DialogRenderer.js +1 -1
- 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/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 +5 -7
- package/src/sap/m/GenericTileRenderer.js +11 -1
- package/src/sap/m/GroupHeaderListItem.js +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +3 -3
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/Input.js +49 -26
- package/src/sap/m/InputBase.js +15 -1
- package/src/sap/m/InputBaseRenderer.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 +8 -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 +1 -1
- package/src/sap/m/ListItemBase.js +4 -4
- 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 +2 -1
- package/src/sap/m/MenuButton.js +1 -1
- package/src/sap/m/MenuItem.js +9 -1
- package/src/sap/m/MenuListItem.js +1 -1
- package/src/sap/m/MenuListItemRenderer.js +5 -0
- package/src/sap/m/MessageBox.js +2 -3
- 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 +17 -3
- package/src/sap/m/MessageView.js +1 -1
- package/src/sap/m/MultiComboBox.js +1 -1
- package/src/sap/m/MultiEditField.js +2 -2
- 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 +4 -1
- package/src/sap/m/NotificationListGroup.js +4 -4
- package/src/sap/m/NotificationListItem.js +17 -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/ObjectMarker.js +21 -8
- 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/OverflowToolbarAssociativePopoverControls.js +1 -1
- package/src/sap/m/OverflowToolbarButton.js +1 -1
- package/src/sap/m/OverflowToolbarLayoutData.js +3 -3
- package/src/sap/m/OverflowToolbarMenuButton.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 +51 -51
- 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 +32 -32
- package/src/sap/m/P13nDimMeasurePanel.js +90 -90
- package/src/sap/m/P13nFilterItem.js +1 -1
- package/src/sap/m/P13nFilterPanel.js +1 -1
- package/src/sap/m/P13nGroupItem.js +2 -2
- 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 +23 -23
- package/src/sap/m/P13nSortPanel.js +1 -1
- package/src/sap/m/PDFViewer.js +24 -19
- package/src/sap/m/PDFViewerRenderManager.js +18 -2
- package/src/sap/m/PDFViewerRenderer.js +22 -8
- 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 +31 -2
- package/src/sap/m/PlanningCalendarView.js +1 -1
- package/src/sap/m/Popover.js +2 -2
- package/src/sap/m/ProgressIndicator.js +7 -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 +4 -4
- package/src/sap/m/RadioButton.js +1 -1
- package/src/sap/m/RadioButtonGroup.js +1 -1
- package/src/sap/m/RadioButtonGroupRenderer.js +0 -5
- 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 +2 -4
- 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 +13 -11
- package/src/sap/m/SimpleFixFlex.js +1 -1
- package/src/sap/m/SinglePlanningCalendar.js +70 -3
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +14 -40
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +60 -14
- package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +17 -4
- 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 +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 +1 -1
- 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 +5 -2
- package/src/sap/m/TablePersoController.js +1 -1
- package/src/sap/m/TablePersoDialog.js +1 -1
- package/src/sap/m/TablePersoProvider.js +2 -2
- package/src/sap/m/TableSelectDialog.js +1 -1
- package/src/sap/m/Text.js +2 -2
- package/src/sap/m/TextArea.js +1 -1
- package/src/sap/m/Tile.js +1 -1
- package/src/sap/m/TileAttribute.js +2 -0
- package/src/sap/m/TileContainer.js +1 -1
- package/src/sap/m/TileContent.js +1 -1
- package/src/sap/m/TileContentRenderer.js +2 -12
- package/src/sap/m/TileRenderer.js +1 -0
- package/src/sap/m/TimePicker.js +22 -11
- package/src/sap/m/TimePickerClock.js +1 -1
- package/src/sap/m/TimePickerClocks.js +8 -6
- 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 -89
- 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 +11 -11
- 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/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +1 -1
- package/src/sap/m/ViewSettingsFilterItem.js +1 -1
- package/src/sap/m/ViewSettingsItem.js +1 -1
- package/src/sap/m/VisibleItem.js +1 -1
- package/src/sap/m/WheelSlider.js +1 -1
- package/src/sap/m/WheelSliderContainer.js +1 -1
- package/src/sap/m/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 +3 -2
- package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
- package/src/sap/m/designtime/IconTabBar.designtime.js +4 -4
- package/src/sap/m/inputUtils/ListHelpers.js +5 -1
- package/src/sap/m/inputUtils/typeAhead.js +19 -9
- package/src/sap/m/library.js +13 -6
- package/src/sap/m/messagebundle.properties +6 -3
- package/src/sap/m/messagebundle_ar.properties +5 -3
- package/src/sap/m/messagebundle_bg.properties +5 -3
- package/src/sap/m/messagebundle_ca.properties +5 -3
- package/src/sap/m/messagebundle_cnr.properties +5 -3
- package/src/sap/m/messagebundle_cs.properties +5 -3
- package/src/sap/m/messagebundle_cy.properties +5 -3
- package/src/sap/m/messagebundle_da.properties +5 -3
- package/src/sap/m/messagebundle_de.properties +5 -3
- package/src/sap/m/messagebundle_el.properties +5 -3
- package/src/sap/m/messagebundle_en.properties +5 -3
- package/src/sap/m/messagebundle_en_GB.properties +5 -3
- package/src/sap/m/messagebundle_en_US_saprigi.properties +12 -4
- package/src/sap/m/messagebundle_es.properties +5 -3
- package/src/sap/m/messagebundle_es_MX.properties +5 -3
- package/src/sap/m/messagebundle_et.properties +5 -3
- package/src/sap/m/messagebundle_fi.properties +5 -3
- package/src/sap/m/messagebundle_fr.properties +4 -2
- package/src/sap/m/messagebundle_fr_CA.properties +29 -27
- package/src/sap/m/messagebundle_hi.properties +5 -3
- package/src/sap/m/messagebundle_hr.properties +5 -3
- package/src/sap/m/messagebundle_hu.properties +5 -3
- package/src/sap/m/messagebundle_id.properties +5 -3
- package/src/sap/m/messagebundle_it.properties +5 -3
- package/src/sap/m/messagebundle_iw.properties +5 -3
- package/src/sap/m/messagebundle_ja.properties +5 -3
- package/src/sap/m/messagebundle_kk.properties +5 -3
- package/src/sap/m/messagebundle_ko.properties +4 -2
- package/src/sap/m/messagebundle_lt.properties +5 -3
- package/src/sap/m/messagebundle_lv.properties +5 -3
- package/src/sap/m/messagebundle_mk.properties +5 -3
- package/src/sap/m/messagebundle_ms.properties +5 -3
- package/src/sap/m/messagebundle_nl.properties +6 -4
- package/src/sap/m/messagebundle_no.properties +5 -3
- package/src/sap/m/messagebundle_pl.properties +5 -3
- package/src/sap/m/messagebundle_pt.properties +5 -3
- package/src/sap/m/messagebundle_pt_PT.properties +5 -3
- package/src/sap/m/messagebundle_ro.properties +5 -3
- package/src/sap/m/messagebundle_ru.properties +5 -3
- package/src/sap/m/messagebundle_sh.properties +5 -3
- package/src/sap/m/messagebundle_sk.properties +5 -3
- package/src/sap/m/messagebundle_sl.properties +5 -3
- package/src/sap/m/messagebundle_sr.properties +5 -3
- package/src/sap/m/messagebundle_sv.properties +5 -3
- package/src/sap/m/messagebundle_th.properties +5 -3
- package/src/sap/m/messagebundle_tr.properties +5 -3
- package/src/sap/m/messagebundle_uk.properties +5 -3
- package/src/sap/m/messagebundle_vi.properties +5 -3
- package/src/sap/m/messagebundle_zh_CN.properties +5 -3
- package/src/sap/m/messagebundle_zh_TW.properties +5 -3
- 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/FilterController.js +11 -11
- package/src/sap/m/p13n/FilterPanel.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/MetadataHelper.js +2 -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 +2 -2
- 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/enums/PersistenceMode.js +7 -6
- 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 +57 -40
- package/src/sap/m/plugins/CellSelector.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/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 +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/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 +20 -7
- package/src/sap/m/themes/base/Breadcrumbs.less +1 -2
- package/src/sap/m/themes/base/GenericTile.less +13 -11
- package/src/sap/m/themes/base/IllustratedMessage.less +2 -0
- package/src/sap/m/themes/base/Menu.less +0 -4
- package/src/sap/m/themes/base/MenuListItem.less +11 -50
- package/src/sap/m/themes/base/ObjectMarker.less +0 -3
- package/src/sap/m/themes/base/PDFViewer.less +5 -0
- package/src/sap/m/themes/base/RadioButton.less +12 -0
- package/src/sap/m/themes/base/RadioButtonGroup.less +3 -13
- package/src/sap/m/themes/base/Slider.less +15 -7
- package/src/sap/m/themes/base/StandardListItem.less +1 -1
- package/src/sap/m/themes/base/Table.less +2 -2
- 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/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/UploadSetwithTable.js +1 -1
- package/src/sap/m/upload/UploadSetwithTableItem.js +1 -1
- package/src/sap/m/upload/UploaderTableItem.js +1 -1
- package/src/sap/m/upload/p13n/PersManager.js +1 -1
- package/src/sap/m/upload/p13n/mediator/BaseMediator.js +1 -1
- package/src/sap/m/upload/p13n/mediator/ColumnsMediator.js +1 -1
- package/src/sap/m/upload/p13n/mediator/FilterMediator.js +1 -1
- package/src/sap/m/upload/p13n/mediator/GroupMediator.js +1 -1
- package/src/sap/m/upload/p13n/mediator/SortMediator.js +1 -1
- package/src/sap/m/upload/p13n/modules/PersPopupManager.js +1 -1
- package/src/sap/m/themes/base/P13nContainer.less +0 -17
- package/src/sap/m/themes/base/P13nGroupPanel.less +0 -13
package/src/sap/m/Input.js
CHANGED
|
@@ -160,7 +160,7 @@ function(
|
|
|
160
160
|
* @extends sap.m.InputBase
|
|
161
161
|
* @implements sap.ui.core.IAccessKeySupport
|
|
162
162
|
* @author SAP SE
|
|
163
|
-
* @version 1.
|
|
163
|
+
* @version 1.123.0
|
|
164
164
|
*
|
|
165
165
|
* @constructor
|
|
166
166
|
* @public
|
|
@@ -1443,20 +1443,22 @@ function(
|
|
|
1443
1443
|
* @param {jQuery.Event} oEvent Keyboard event.
|
|
1444
1444
|
*/
|
|
1445
1445
|
Input.prototype.onsapenter = function(oEvent) {
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1446
|
+
const bPopupOpened = this._isSuggestionsPopoverOpen();
|
|
1447
|
+
const bFocusInPopup = !this.hasStyleClass("sapMFocus") && bPopupOpened;
|
|
1448
|
+
const aItems = this._hasTabularSuggestions() ? this.getSuggestionRows() : this.getSuggestionItems();
|
|
1449
|
+
const oSuggestionsPopover = this._getSuggestionsPopover();
|
|
1450
|
+
const oSelectedItem = oSuggestionsPopover?.getItemsContainer()?.getSelectedItem();
|
|
1451
|
+
const sText = oSelectedItem?.getTitle?.() || oSelectedItem?.getCells?.()[0]?.getText?.() || "";
|
|
1452
|
+
const bPendingSuggest = !!this._iSuggestDelay && !sText.toLowerCase().includes(this._getTypedInValue().toLowerCase());
|
|
1453
|
+
let bFireSubmit = this.getEnabled() && this.getEditable();
|
|
1454
|
+
let iValueLength, oFocusedItem;
|
|
1451
1455
|
|
|
1452
1456
|
// when enter is pressed before the timeout of suggestion delay, suggest event is cancelled
|
|
1453
1457
|
this.cancelPendingSuggest();
|
|
1454
1458
|
|
|
1455
1459
|
bFocusInPopup && this.setSelectionUpdatedFromList(true);
|
|
1456
1460
|
|
|
1457
|
-
if (this.getShowSuggestion() && this._bDoTypeAhead && bPopupOpened && !this.isComposingCharacter()) {
|
|
1458
|
-
oSuggestionsPopover = this._getSuggestionsPopover();
|
|
1459
|
-
oSelectedItem = oSuggestionsPopover.getItemsContainer().getSelectedItem();
|
|
1461
|
+
if (this.getShowSuggestion() && this._bDoTypeAhead && bPopupOpened && !this.isComposingCharacter() && !bPendingSuggest) {
|
|
1460
1462
|
oFocusedItem = oSuggestionsPopover.getFocusedListItem();
|
|
1461
1463
|
|
|
1462
1464
|
if (this._hasTabularSuggestions()) {
|
|
@@ -1656,6 +1658,14 @@ function(
|
|
|
1656
1658
|
Input.prototype.updateSuggestionItems = function() {
|
|
1657
1659
|
this._bSuspendInvalidate = true;
|
|
1658
1660
|
this.updateAggregation("suggestionItems");
|
|
1661
|
+
|
|
1662
|
+
const fnCheckMatchingSuggestions = (sCurrentValue) => {
|
|
1663
|
+
return this.getSuggestionItems().some((item) => (item.getText().toLowerCase() === sCurrentValue.toLowerCase()) && !item.isA("sap.ui.core.SeparatorItem"));
|
|
1664
|
+
};
|
|
1665
|
+
if (fnCheckMatchingSuggestions(this.getValue()) && this._isSuggestionsPopoverOpen()) {
|
|
1666
|
+
this._handleTypeAhead(this);
|
|
1667
|
+
}
|
|
1668
|
+
|
|
1659
1669
|
this._synchronizeSuggestions();
|
|
1660
1670
|
this._bSuspendInvalidate = false;
|
|
1661
1671
|
return this;
|
|
@@ -2038,6 +2048,15 @@ function(
|
|
|
2038
2048
|
this._bSuspendInvalidate = true;
|
|
2039
2049
|
this.updateAggregation("suggestionRows");
|
|
2040
2050
|
this._synchronizeSuggestions();
|
|
2051
|
+
|
|
2052
|
+
const fnCheckMatchingTabularSuggestions = (sCurrentValue) => {
|
|
2053
|
+
return this.getSuggestionRows().some((row) => (row.getCells?.()[0]?.getText().toLowerCase() === sCurrentValue.toLowerCase()) && !row.isA("sap.m.GroupHeaderListItem"));
|
|
2054
|
+
};
|
|
2055
|
+
|
|
2056
|
+
if (fnCheckMatchingTabularSuggestions(this.getValue()) && this._isSuggestionsPopoverOpen()) {
|
|
2057
|
+
this._handleTypeAhead(this);
|
|
2058
|
+
}
|
|
2059
|
+
|
|
2041
2060
|
this._bSuspendInvalidate = false;
|
|
2042
2061
|
return this;
|
|
2043
2062
|
};
|
|
@@ -2259,7 +2278,15 @@ function(
|
|
|
2259
2278
|
|
|
2260
2279
|
oInput._setProposedItemText(null);
|
|
2261
2280
|
|
|
2262
|
-
|
|
2281
|
+
const fnCheckMatchingSuggestions = (sCurrentValue) => {
|
|
2282
|
+
return this.getSuggestionItems().some((item) => (item.getText().toLowerCase() === sCurrentValue.toLowerCase()) && !item.isA("sap.ui.core.SeparatorItem"));
|
|
2283
|
+
};
|
|
2284
|
+
const fnCheckMatchingTabularSuggestions = (sCurrentValue) => {
|
|
2285
|
+
return this.getSuggestionRows().some((row) => row.getCells?.()[0]?.getText().toLowerCase() === sCurrentValue.toLowerCase());
|
|
2286
|
+
};
|
|
2287
|
+
const bExactMatch = this._hasTabularSuggestions() ? fnCheckMatchingTabularSuggestions(sValue) : fnCheckMatchingSuggestions(sValue);
|
|
2288
|
+
|
|
2289
|
+
if (!bDoTypeAhead && !bExactMatch) {
|
|
2263
2290
|
return;
|
|
2264
2291
|
}
|
|
2265
2292
|
|
|
@@ -3107,9 +3134,16 @@ function(
|
|
|
3107
3134
|
} else {
|
|
3108
3135
|
oPopover
|
|
3109
3136
|
.attachAfterClose(function() {
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3137
|
+
const oList = oSuggPopover.getItemsContainer();
|
|
3138
|
+
const oDomRef = this.getDomRef();
|
|
3139
|
+
const oSuggestionsPopover = this._getSuggestionsPopover();
|
|
3140
|
+
const oSelectedItem = oSuggestionsPopover?.getItemsContainer()?.getSelectedItem();
|
|
3141
|
+
const sText = oSelectedItem?.getTitle?.() || oSelectedItem?.getCells?.()[0]?.getText?.() || "";
|
|
3142
|
+
const bPendingSuggest = !!this._iSuggestDelay && !sText.toLowerCase().includes(this.getValue().toLowerCase());
|
|
3143
|
+
|
|
3144
|
+
if (bPendingSuggest) {
|
|
3145
|
+
return;
|
|
3146
|
+
}
|
|
3113
3147
|
|
|
3114
3148
|
if (this.getSelectionUpdatedFromList()) {
|
|
3115
3149
|
this.updateSelectionFromList(oSelectedItem);
|
|
@@ -3123,7 +3157,7 @@ function(
|
|
|
3123
3157
|
|
|
3124
3158
|
// only destroy items in simple suggestion mode
|
|
3125
3159
|
if (oList instanceof Table) {
|
|
3126
|
-
oSelectedItem
|
|
3160
|
+
oSelectedItem?.removeStyleClass("sapMLIBFocused");
|
|
3127
3161
|
oList.removeSelections(true);
|
|
3128
3162
|
} else {
|
|
3129
3163
|
oList.destroyItems();
|
|
@@ -3258,18 +3292,7 @@ function(
|
|
|
3258
3292
|
* @private
|
|
3259
3293
|
*/
|
|
3260
3294
|
Input.prototype._isSuggestionsPopoverOpen = function () {
|
|
3261
|
-
return this._getSuggestionsPopover()
|
|
3262
|
-
this._getSuggestionsPopover().isOpen();
|
|
3263
|
-
};
|
|
3264
|
-
|
|
3265
|
-
/**
|
|
3266
|
-
* Indicates whether the control should use <code>sap.m.Dialog</code> or not.
|
|
3267
|
-
*
|
|
3268
|
-
* @returns {boolean} Boolean.
|
|
3269
|
-
* @protected
|
|
3270
|
-
*/
|
|
3271
|
-
Input.prototype.isMobileDevice = function () {
|
|
3272
|
-
return Device.system.phone;
|
|
3295
|
+
return this._getSuggestionsPopover()?.isOpen();
|
|
3273
3296
|
};
|
|
3274
3297
|
|
|
3275
3298
|
/**
|
package/src/sap/m/InputBase.js
CHANGED
|
@@ -73,7 +73,7 @@ function(
|
|
|
73
73
|
* @borrows sap.ui.core.ISemanticFormContent.getFormRenderAsControl as #getFormRenderAsControl
|
|
74
74
|
*
|
|
75
75
|
* @author SAP SE
|
|
76
|
-
* @version 1.
|
|
76
|
+
* @version 1.123.0
|
|
77
77
|
*
|
|
78
78
|
* @constructor
|
|
79
79
|
* @public
|
|
@@ -544,6 +544,10 @@ function(
|
|
|
544
544
|
* @private
|
|
545
545
|
*/
|
|
546
546
|
InputBase.prototype.ontap = function(oEvent) {
|
|
547
|
+
if (!this.isMobileDevice()) {
|
|
548
|
+
this.openValueStateMessage();
|
|
549
|
+
}
|
|
550
|
+
|
|
547
551
|
// in order to stay backward compatible - we need to implement the tap
|
|
548
552
|
return;
|
|
549
553
|
};
|
|
@@ -638,6 +642,16 @@ function(
|
|
|
638
642
|
});
|
|
639
643
|
};
|
|
640
644
|
|
|
645
|
+
/**
|
|
646
|
+
* Indicates whether the control should use <code>sap.m.Dialog</code> or not.
|
|
647
|
+
*
|
|
648
|
+
* @returns {boolean} Boolean.
|
|
649
|
+
* @protected
|
|
650
|
+
*/
|
|
651
|
+
InputBase.prototype.isMobileDevice = function () {
|
|
652
|
+
return Device.system.phone;
|
|
653
|
+
};
|
|
654
|
+
|
|
641
655
|
/* ----------------------------------------------------------- */
|
|
642
656
|
/* Keyboard handling */
|
|
643
657
|
/* ----------------------------------------------------------- */
|
|
@@ -603,7 +603,7 @@ sap.ui.define(["sap/ui/core/ControlBehavior", 'sap/ui/core/Renderer', 'sap/ui/co
|
|
|
603
603
|
/**
|
|
604
604
|
* This method is reserved for derived classes to add extra styles for the placeholder, if rendered as label.
|
|
605
605
|
*
|
|
606
|
-
* @deprecated
|
|
606
|
+
* @deprecated As of version 1.58.0. This method should not be used anymore as native placeholder is used on all browsers.
|
|
607
607
|
* @protected
|
|
608
608
|
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer.
|
|
609
609
|
* @param {sap.m.InputBase} oControl An object representation of the control that should be rendered.
|
|
@@ -615,7 +615,7 @@ sap.ui.define(["sap/ui/core/ControlBehavior", 'sap/ui/core/Renderer', 'sap/ui/co
|
|
|
615
615
|
* To be overwritten by subclasses.
|
|
616
616
|
* Note that this method should not be used anymore as native placeholder is used on all browsers
|
|
617
617
|
*
|
|
618
|
-
* @deprecated
|
|
618
|
+
* @deprecated As of version 1.58.0. This method should not be used anymore as native placeholder is used on all browsers.
|
|
619
619
|
* @protected
|
|
620
620
|
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer.
|
|
621
621
|
* @param {sap.m.InputBase} oControl An object representation of the control that should be rendered.
|
package/src/sap/m/Label.js
CHANGED
package/src/sap/m/LightBox.js
CHANGED
|
@@ -96,7 +96,7 @@ sap.ui.define([
|
|
|
96
96
|
* @extends sap.ui.core.Control
|
|
97
97
|
*
|
|
98
98
|
* @author SAP SE
|
|
99
|
-
* @version 1.
|
|
99
|
+
* @version 1.123.0
|
|
100
100
|
*
|
|
101
101
|
* @constructor
|
|
102
102
|
* @public
|
|
@@ -236,11 +236,18 @@ sap.ui.define([
|
|
|
236
236
|
this._isRendering = false;
|
|
237
237
|
this._$lightBox = this.$();
|
|
238
238
|
|
|
239
|
+
// when we have error message on desktop, but the viewport is small or we have big zoom (for example 200%)
|
|
240
|
+
const isLightBoxIsHigherThanTheViewPort = this.getDomRef().scrollHeight > window.innerHeight;
|
|
241
|
+
|
|
239
242
|
if (!this._iResizeListenerId) {
|
|
240
243
|
this._fnResizeListener = this._onResize.bind(this);
|
|
241
244
|
Device.resize.attachHandler(this._fnResizeListener);
|
|
242
245
|
this._iResizeListenerId = ResizeHandler.register(this, this._fnResizeListener);
|
|
243
246
|
}
|
|
247
|
+
|
|
248
|
+
if (isLightBoxIsHigherThanTheViewPort) {
|
|
249
|
+
this.getAggregation("_errorMessage").setIllustrationSize(IllustratedMessageSize.Auto);
|
|
250
|
+
}
|
|
244
251
|
};
|
|
245
252
|
|
|
246
253
|
LightBox.prototype.forceInvalidate = Control.prototype.invalidate;
|
package/src/sap/m/Link.js
CHANGED
|
@@ -18,7 +18,7 @@ sap.ui.define([
|
|
|
18
18
|
* @class This element is used within the GenericTile control that generates a combination of an icon and a linkl
|
|
19
19
|
* @extends sap.ui.core.Element
|
|
20
20
|
* @author SAP SE
|
|
21
|
-
* @version 1.
|
|
21
|
+
* @version 1.123.0
|
|
22
22
|
* @constructor
|
|
23
23
|
* @public
|
|
24
24
|
* @since 1.120
|
package/src/sap/m/List.js
CHANGED
package/src/sap/m/ListBase.js
CHANGED
|
@@ -75,7 +75,7 @@ function(
|
|
|
75
75
|
* @extends sap.ui.core.Control
|
|
76
76
|
*
|
|
77
77
|
* @author SAP SE
|
|
78
|
-
* @version 1.
|
|
78
|
+
* @version 1.123.0
|
|
79
79
|
*
|
|
80
80
|
* @constructor
|
|
81
81
|
* @public
|
|
@@ -1178,8 +1178,8 @@ function(
|
|
|
1178
1178
|
return;
|
|
1179
1179
|
}
|
|
1180
1180
|
|
|
1181
|
-
//
|
|
1182
|
-
if (oEvent.code == "KeyE" && (oEvent.metaKey || oEvent.ctrlKey)) {
|
|
1181
|
+
// Ctrl+E fires detail event or handle editing
|
|
1182
|
+
if (this.getType().startsWith("Detail") && oEvent.code == "KeyE" && (oEvent.metaKey || oEvent.ctrlKey)) {
|
|
1183
1183
|
if (oEvent.target === this.getDomRef() && (this.hasListeners("detailPress") || this.hasListeners("detailTap"))) {
|
|
1184
1184
|
this.fireDetailTap();
|
|
1185
1185
|
this.fireDetailPress();
|
|
@@ -1272,7 +1272,7 @@ function(
|
|
|
1272
1272
|
|
|
1273
1273
|
// allow the context menu to open on the SingleSelect or MultiSelect control
|
|
1274
1274
|
if (oEvent.srcControl == this.getModeControl() ||
|
|
1275
|
-
document.activeElement.matches(".sapMLIB,.sapMListTblCell,.sapMListTblSubRow")) {
|
|
1275
|
+
document.activeElement.matches(".sapMLIB,.sapMListTblCell,.sapMListTblSubRow,.sapMListTblSubCnt")) {
|
|
1276
1276
|
this.informList("ContextMenu", oEvent);
|
|
1277
1277
|
}
|
|
1278
1278
|
};
|
package/src/sap/m/MaskEnabler.js
CHANGED
package/src/sap/m/MaskInput.js
CHANGED
package/src/sap/m/Menu.js
CHANGED
|
@@ -72,7 +72,7 @@ sap.ui.define([
|
|
|
72
72
|
* @implements sap.ui.core.IContextMenu
|
|
73
73
|
*
|
|
74
74
|
* @author SAP SE
|
|
75
|
-
* @version 1.
|
|
75
|
+
* @version 1.123.0
|
|
76
76
|
*
|
|
77
77
|
* @constructor
|
|
78
78
|
* @public
|
|
@@ -513,6 +513,7 @@ sap.ui.define([
|
|
|
513
513
|
id: sUfMenuItemId,
|
|
514
514
|
icon: oItem.getIcon(),
|
|
515
515
|
text: oItem.getText(),
|
|
516
|
+
shortcutText: oItem.getShortcutText(),
|
|
516
517
|
startsSection: oItem.getStartsSection(),
|
|
517
518
|
tooltip: oItem.getTooltip(),
|
|
518
519
|
visible: oItem.getVisible(),
|
package/src/sap/m/MenuButton.js
CHANGED
package/src/sap/m/MenuItem.js
CHANGED
|
@@ -23,7 +23,7 @@ sap.ui.define(['./library', "sap/ui/core/Element", 'sap/ui/core/Item', 'sap/ui/b
|
|
|
23
23
|
* @extends sap.ui.core.Item
|
|
24
24
|
*
|
|
25
25
|
* @author SAP SE
|
|
26
|
-
* @version 1.
|
|
26
|
+
* @version 1.123.0
|
|
27
27
|
*
|
|
28
28
|
* @constructor
|
|
29
29
|
* @public
|
|
@@ -47,6 +47,14 @@ sap.ui.define(['./library', "sap/ui/core/Element", 'sap/ui/core/Item', 'sap/ui/b
|
|
|
47
47
|
*/
|
|
48
48
|
visible : {type: "boolean", group : "Appearance", defaultValue: true},
|
|
49
49
|
|
|
50
|
+
/**
|
|
51
|
+
* Defines the shortcut text that should be displayed on the menu item on non-mobile devices.
|
|
52
|
+
* <b>Note:</b> The text is only displayed and set as а value of the <code>aria-keyshortcuts</code> attribute.
|
|
53
|
+
* There is no built-in functionality that selects the item when the corresponding shortcut is pressed.
|
|
54
|
+
* This should be implemented by the application developer.
|
|
55
|
+
*/
|
|
56
|
+
shortcutText : {type : "string", group : "Appearance", defaultValue : ''},
|
|
57
|
+
|
|
50
58
|
/**
|
|
51
59
|
* Defines whether a visual separator should be rendered before the item.
|
|
52
60
|
* <b>Note:</b> If an item is invisible its separator is also not displayed.
|
|
@@ -84,9 +84,14 @@ sap.ui.define(['./ListItemBaseRenderer', 'sap/ui/core/Renderer', 'sap/m/library'
|
|
|
84
84
|
var sTextDir = oLI.getTitleTextDirection();
|
|
85
85
|
|
|
86
86
|
// image
|
|
87
|
+
rm.openStart("div");
|
|
88
|
+
rm.class("sapMMenuLIImgThumbWrapper");
|
|
89
|
+
rm.openEnd();
|
|
90
|
+
|
|
87
91
|
if (oLI.getIcon()) {
|
|
88
92
|
rm.renderControl(oLI._getImage((oLI.getId() + "-img"), "sapMMenuLIImgThumb", oLI.getIcon(), oLI.getIconDensityAware()));
|
|
89
93
|
}
|
|
94
|
+
rm.close("div");
|
|
90
95
|
|
|
91
96
|
rm.openStart("div");
|
|
92
97
|
rm.class("sapMSLIDiv");
|
package/src/sap/m/MessageBox.js
CHANGED
|
@@ -17,6 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
'sap/ui/core/ElementMetadata',
|
|
18
18
|
"sap/ui/core/Lib",
|
|
19
19
|
'sap/ui/core/library',
|
|
20
|
+
'sap/ui/core/message/MessageType',
|
|
20
21
|
'sap/ui/core/Control',
|
|
21
22
|
'sap/m/library',
|
|
22
23
|
"sap/ui/thirdparty/jquery"
|
|
@@ -32,6 +33,7 @@ sap.ui.define([
|
|
|
32
33
|
ElementMetadata,
|
|
33
34
|
Library,
|
|
34
35
|
coreLibrary,
|
|
36
|
+
MessageType,
|
|
35
37
|
Control,
|
|
36
38
|
library,
|
|
37
39
|
jQuery
|
|
@@ -59,9 +61,6 @@ sap.ui.define([
|
|
|
59
61
|
// shortcut for sap.m.LinkAccessibleRole
|
|
60
62
|
var LinkAccessibleRole = library.LinkAccessibleRole;
|
|
61
63
|
|
|
62
|
-
// shortcut for sap.ui.core.MessageType
|
|
63
|
-
var MessageType = coreLibrary.MessageType;
|
|
64
|
-
|
|
65
64
|
// shortcut for sap.ui.core.TextDirection
|
|
66
65
|
var TextDirection = coreLibrary.TextDirection;
|
|
67
66
|
|
package/src/sap/m/MessageItem.js
CHANGED
package/src/sap/m/MessagePage.js
CHANGED
|
@@ -12,11 +12,12 @@ sap.ui.define([
|
|
|
12
12
|
'sap/ui/core/library',
|
|
13
13
|
'sap/ui/core/Control',
|
|
14
14
|
'sap/ui/core/Element',
|
|
15
|
+
'sap/ui/core/UIArea',
|
|
15
16
|
'sap/ui/Device',
|
|
16
17
|
"sap/base/Log",
|
|
17
18
|
"sap/ui/thirdparty/jquery"
|
|
18
19
|
],
|
|
19
|
-
function(InstanceManager, AnimationMode, ControlBehavior, Popup, coreLibrary, Control, Element, Device, Log, jQuery) {
|
|
20
|
+
function(InstanceManager, AnimationMode, ControlBehavior, Popup, coreLibrary, Control, Element, UIArea, Device, Log, jQuery) {
|
|
20
21
|
"use strict";
|
|
21
22
|
|
|
22
23
|
// shortcut for sap.ui.core.Dock
|
|
@@ -73,7 +74,7 @@ sap.ui.define([
|
|
|
73
74
|
* The message toast has the same behavior on all devices. However, you can adjust the width of the control, for example, for use on a desktop device.
|
|
74
75
|
*
|
|
75
76
|
* @author SAP SE
|
|
76
|
-
* @version 1.
|
|
77
|
+
* @version 1.123.0
|
|
77
78
|
*
|
|
78
79
|
* @namespace
|
|
79
80
|
* @public
|
|
@@ -407,6 +408,7 @@ sap.ui.define([
|
|
|
407
408
|
*/
|
|
408
409
|
MessageToast.show = function(sMessage, mOptions) {
|
|
409
410
|
var oOpener = Element.closestTo(document.activeElement);
|
|
411
|
+
var oUI5Area = oOpener && oOpener.getUIArea && oOpener.getUIArea();
|
|
410
412
|
var oAccSpan;
|
|
411
413
|
var that = MessageToast,
|
|
412
414
|
mSettings = jQuery.extend({}, MessageToast._mSettings, { message: sMessage }),
|
|
@@ -418,6 +420,12 @@ sap.ui.define([
|
|
|
418
420
|
|
|
419
421
|
MessageToast._mSettings.opener = oOpener;
|
|
420
422
|
|
|
423
|
+
// Find the upper-most parent to attach the keyboard shortcut as we need to be
|
|
424
|
+
// able to open the message no matter where the focus is currently
|
|
425
|
+
if (!this._oRootNode || (this._oRootNode && oUI5Area && oUI5Area.getRootNode() !== this._oRootNode)) {
|
|
426
|
+
this._oRootNode = oUI5Area ? oUI5Area.getRootNode() : document.documentElement;
|
|
427
|
+
}
|
|
428
|
+
|
|
421
429
|
mOptions = normalizeOptions(mOptions);
|
|
422
430
|
|
|
423
431
|
// merge mOptions into mSettings
|
|
@@ -470,7 +478,13 @@ sap.ui.define([
|
|
|
470
478
|
oAccSpan.setAttribute("class", "sapMMessageToastHiddenFocusable");
|
|
471
479
|
|
|
472
480
|
oPopup.getContent().prepend(oAccSpan);
|
|
473
|
-
|
|
481
|
+
|
|
482
|
+
if (this._oRootNode) {
|
|
483
|
+
this._oRootNode.removeEventListener("keydown", that._fnKeyDown.bind(that));
|
|
484
|
+
this._oRootNode.addEventListener("keydown", that._fnKeyDown.bind(that));
|
|
485
|
+
|
|
486
|
+
oAccSpan.addEventListener("keydown", handleKbdClose.bind(this));
|
|
487
|
+
}
|
|
474
488
|
|
|
475
489
|
// opens the popup's content at the position specified via #setPosition
|
|
476
490
|
oPopup.open();
|
package/src/sap/m/MessageView.js
CHANGED
|
@@ -118,7 +118,7 @@ sap.ui.define([
|
|
|
118
118
|
* The responsiveness of the <code>MessageView</code> is determined by the container in which it is embedded. For that reason the control could not be visualized if the
|
|
119
119
|
* container’s sizes are not defined.
|
|
120
120
|
* @author SAP SE
|
|
121
|
-
* @version 1.
|
|
121
|
+
* @version 1.123.0
|
|
122
122
|
*
|
|
123
123
|
* @extends sap.ui.core.Control
|
|
124
124
|
* @constructor
|
|
@@ -17,12 +17,12 @@ sap.ui.define(["sap/ui/core/Lib", "sap/ui/core/XMLComposite", "./library", "sap/
|
|
|
17
17
|
* @implements sap.ui.core.IFormContent
|
|
18
18
|
*
|
|
19
19
|
* @author SAP SE
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.123.0
|
|
21
21
|
* @experimental since 1.52
|
|
22
22
|
* @since 1.52.0
|
|
23
23
|
* @alias sap.m.MultiEditField
|
|
24
24
|
* @private
|
|
25
|
-
* @deprecated Since version 1.
|
|
25
|
+
* @deprecated Since version 1.120.
|
|
26
26
|
* @ui5-restricted sap.m.MultiEditField
|
|
27
27
|
*/
|
|
28
28
|
var MultiEditField = XMLComposite.extend("sap.m.MultiEditField", /** @lends sap.m.MultiEditField.prototype */ {
|
package/src/sap/m/MultiInput.js
CHANGED
package/src/sap/m/NewsContent.js
CHANGED