@openui5/sap.m 1.110.0 → 1.111.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 +2 -1
- package/src/sap/m/ActionSheet.js +2 -2
- 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 +1 -1
- package/src/sap/m/Bar.js +20 -19
- 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/Carousel.js +7 -11
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CheckBox.js +4 -2
- package/src/sap/m/CheckBoxRenderer.js +2 -1
- package/src/sap/m/ColorPalette.js +1 -1
- package/src/sap/m/ColorPalettePopover.js +1 -1
- package/src/sap/m/Column.js +12 -3
- 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 +2 -2
- package/src/sap/m/ColumnPopoverSortItem.js +1 -1
- package/src/sap/m/ComboBox.js +3 -3
- package/src/sap/m/ComboBoxBase.js +4 -8
- 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 +23 -51
- package/src/sap/m/DateRangeSelection.js +46 -45
- package/src/sap/m/DateTimeField.js +14 -21
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +108 -98
- package/src/sap/m/DateTimePickerRenderer.js +15 -5
- package/src/sap/m/Dialog.js +6 -2
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DraftIndicator.js +1 -1
- package/src/sap/m/DynamicDate.js +5 -5
- package/src/sap/m/DynamicDateFormat.js +21 -4
- package/src/sap/m/DynamicDateOption.js +22 -16
- package/src/sap/m/DynamicDateRange.js +198 -43
- package/src/sap/m/DynamicDateUtil.js +14 -5
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +1 -1
- package/src/sap/m/FacetFilter.js +2 -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 +16 -21
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingEnablement.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 +8 -8
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +14 -1
- package/src/sap/m/IconTabHeaderRenderer.js +25 -3
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/IllustratedMessage.js +61 -25
- package/src/sap/m/IllustratedMessageRenderer.js +13 -5
- 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 +7 -7
- package/src/sap/m/InputBase.js +5 -5
- package/src/sap/m/InputBaseRenderer.js +1 -1
- 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/List.js +1 -1
- package/src/sap/m/ListBase.js +6 -5
- package/src/sap/m/ListItemBase.js +2 -7
- 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 +4 -4
- package/src/sap/m/MenuButton.js +20 -2
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuListItem.js +1 -1
- package/src/sap/m/MessageBox.js +53 -35
- package/src/sap/m/MessageItem.js +1 -1
- package/src/sap/m/MessageListItem.js +22 -1
- package/src/sap/m/MessagePage.js +1 -1
- package/src/sap/m/MessagePopover.js +3 -4
- 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 +6 -18
- package/src/sap/m/MultiComboBox.js +46 -33
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +28 -3
- package/src/sap/m/NavContainer.js +66 -2
- 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 +1 -1
- package/src/sap/m/OverflowToolbar.js +36 -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/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/PDFViewerRenderer.js +13 -5
- 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 -3
- package/src/sap/m/PlanningCalendarHeader.js +1 -1
- package/src/sap/m/PlanningCalendarLegend.js +1 -1
- package/src/sap/m/PlanningCalendarRow.js +2 -3
- package/src/sap/m/PlanningCalendarView.js +1 -1
- package/src/sap/m/Popover.js +3 -4
- 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 +19 -9
- 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 +2 -2
- 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 +2 -2
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +44 -2
- package/src/sap/m/SelectDialog.js +3 -1
- package/src/sap/m/SelectDialogBase.js +18 -8
- package/src/sap/m/SelectList.js +1 -1
- package/src/sap/m/SelectionDetails.js +3 -3
- 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 +2 -2
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +1 -1
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +28 -29
- 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 +22 -8
- package/src/sap/m/Slider.js +2 -2
- 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 +51 -18
- 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 +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/TableSelectDialog.js +2 -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/TimePicker.js +10 -33
- package/src/sap/m/TimePickerClock.js +1 -1
- package/src/sap/m/TimePickerClocks.js +7 -5
- package/src/sap/m/TimePickerInputs.js +1 -1
- package/src/sap/m/TimePickerInternals.js +5 -3
- 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 +4 -2
- 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 +4 -0
- 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 +1 -1
- package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
- package/src/sap/m/designtime/TimePicker.designtime.js +5 -0
- package/src/sap/m/inputUtils/ListHelpers.js +3 -1
- package/src/sap/m/inputUtils/typeAhead.js +10 -0
- package/src/sap/m/library.js +66 -3
- package/src/sap/m/messagebundle.properties +33 -7
- package/src/sap/m/messagebundle_ar.properties +20 -2
- package/src/sap/m/messagebundle_bg.properties +23 -5
- package/src/sap/m/messagebundle_ca.properties +20 -2
- package/src/sap/m/messagebundle_cs.properties +18 -0
- package/src/sap/m/messagebundle_cy.properties +18 -0
- package/src/sap/m/messagebundle_da.properties +18 -0
- package/src/sap/m/messagebundle_de.properties +23 -5
- package/src/sap/m/messagebundle_el.properties +22 -4
- package/src/sap/m/messagebundle_en.properties +20 -2
- package/src/sap/m/messagebundle_en_GB.properties +18 -0
- package/src/sap/m/messagebundle_en_US_sappsd.properties +19 -1
- package/src/sap/m/messagebundle_en_US_saprigi.properties +19 -1
- package/src/sap/m/messagebundle_en_US_saptrc.properties +19 -1
- package/src/sap/m/messagebundle_es.properties +20 -2
- package/src/sap/m/messagebundle_es_MX.properties +20 -2
- package/src/sap/m/messagebundle_et.properties +18 -0
- package/src/sap/m/messagebundle_fi.properties +18 -0
- package/src/sap/m/messagebundle_fr.properties +46 -28
- package/src/sap/m/messagebundle_fr_CA.properties +18 -0
- package/src/sap/m/messagebundle_hi.properties +27 -9
- package/src/sap/m/messagebundle_hr.properties +18 -0
- package/src/sap/m/messagebundle_hu.properties +18 -0
- package/src/sap/m/messagebundle_id.properties +20 -2
- package/src/sap/m/messagebundle_it.properties +24 -6
- package/src/sap/m/messagebundle_iw.properties +18 -0
- package/src/sap/m/messagebundle_ja.properties +18 -0
- package/src/sap/m/messagebundle_kk.properties +18 -0
- package/src/sap/m/messagebundle_ko.properties +19 -1
- package/src/sap/m/messagebundle_lt.properties +18 -0
- package/src/sap/m/messagebundle_lv.properties +20 -2
- package/src/sap/m/messagebundle_ms.properties +18 -0
- package/src/sap/m/messagebundle_nl.properties +18 -0
- package/src/sap/m/messagebundle_no.properties +21 -3
- package/src/sap/m/messagebundle_pl.properties +18 -0
- package/src/sap/m/messagebundle_pt.properties +20 -2
- package/src/sap/m/messagebundle_pt_PT.properties +18 -0
- package/src/sap/m/messagebundle_ro.properties +18 -0
- package/src/sap/m/messagebundle_ru.properties +18 -0
- package/src/sap/m/messagebundle_sh.properties +18 -0
- package/src/sap/m/messagebundle_sk.properties +18 -0
- package/src/sap/m/messagebundle_sl.properties +18 -0
- package/src/sap/m/messagebundle_sv.properties +18 -0
- package/src/sap/m/messagebundle_th.properties +22 -4
- package/src/sap/m/messagebundle_tr.properties +18 -0
- package/src/sap/m/messagebundle_uk.properties +18 -0
- package/src/sap/m/messagebundle_vi.properties +18 -0
- package/src/sap/m/messagebundle_zh_CN.properties +18 -0
- package/src/sap/m/messagebundle_zh_TW.properties +18 -0
- package/src/sap/m/p13n/AbstractContainer.js +2 -2
- package/src/sap/m/p13n/AbstractContainerItem.js +3 -2
- package/src/sap/m/p13n/BasePanel.js +28 -26
- package/src/sap/m/p13n/Container.js +1 -1
- package/src/sap/m/p13n/Engine.js +19 -13
- package/src/sap/m/p13n/GroupController.js +1 -1
- package/src/sap/m/p13n/GroupPanel.js +1 -1
- package/src/sap/m/p13n/PersistenceProvider.js +11 -8
- package/src/sap/m/p13n/Popup.js +8 -6
- package/src/sap/m/p13n/QueryPanel.js +1 -1
- package/src/sap/m/p13n/SelectionController.js +22 -7
- 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/enum/PersistenceMode.js +3 -0
- package/src/sap/m/p13n/enum/ProcessingStrategy.js +2 -1
- package/src/sap/m/p13n/handler/xConfigHandler.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 +4 -1
- package/src/sap/m/plugins/CellSelector.js +1 -1
- package/src/sap/m/plugins/ColumnResizer.js +1 -1
- package/src/sap/m/plugins/CopyProvider.js +6 -6
- 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/Util.js +1 -1
- package/src/sap/m/table/columnmenu/ActionItem.js +8 -3
- package/src/sap/m/table/columnmenu/Entry.js +1 -1
- package/src/sap/m/table/columnmenu/Item.js +2 -1
- package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
- package/src/sap/m/table/columnmenu/Menu.js +72 -77
- package/src/sap/m/table/columnmenu/MenuRenderer.js +1 -3
- package/src/sap/m/table/columnmenu/QuickAction.js +2 -2
- package/src/sap/m/table/columnmenu/QuickActionBase.js +2 -2
- 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 +3 -3
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +2 -2
- package/src/sap/m/themes/base/FeedListItem.less +1 -1
- package/src/sap/m/themes/base/GenericTile.less +94 -5
- package/src/sap/m/themes/base/InputBase.less +7 -1
- package/src/sap/m/themes/base/Label.less +1 -0
- package/src/sap/m/themes/base/MultiComboBox.less +6 -4
- package/src/sap/m/themes/base/ObjectStatus.less +26 -0
- package/src/sap/m/themes/base/SlideTile.less +4 -4
- package/src/sap/m/themes/base/SuggestionsPopover.less +14 -6
- package/src/sap/m/themes/base/Table.less +0 -10
- package/src/sap/m/themes/base/Text.less +1 -0
- package/src/sap/m/themes/base/Tokenizer.less +23 -0
- package/src/sap/m/themes/sap_hcb/ObjectStatus.less +26 -0
- package/src/sap/m/themes/sap_horizon/Label.less +10 -0
- package/src/sap/m/themes/sap_horizon/Text.less +10 -0
- 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/InputBase.js
CHANGED
|
@@ -64,7 +64,7 @@ function(
|
|
|
64
64
|
* @implements sap.ui.core.IFormContent
|
|
65
65
|
*
|
|
66
66
|
* @author SAP SE
|
|
67
|
-
* @version 1.
|
|
67
|
+
* @version 1.111.0
|
|
68
68
|
*
|
|
69
69
|
* @constructor
|
|
70
70
|
* @public
|
|
@@ -540,7 +540,7 @@ function(
|
|
|
540
540
|
* Handles the change event.
|
|
541
541
|
*
|
|
542
542
|
* @protected
|
|
543
|
-
* @param {
|
|
543
|
+
* @param {jQuery.Event} oEvent The event
|
|
544
544
|
* @param {object} [mParameters] Additional event parameters to be passed in to the change event handler if the
|
|
545
545
|
* value has changed
|
|
546
546
|
* @param {string} sNewValue Passed value on change
|
|
@@ -769,7 +769,7 @@ function(
|
|
|
769
769
|
* Returns an object representing the serialized focus information.
|
|
770
770
|
* To be overwritten by subclasses.
|
|
771
771
|
*
|
|
772
|
-
* @returns {
|
|
772
|
+
* @returns {sap.ui.core.FocusInfo} An object representing the serialized focus information.
|
|
773
773
|
* @protected
|
|
774
774
|
*/
|
|
775
775
|
InputBase.prototype.getFocusInfo = function() {
|
|
@@ -801,7 +801,7 @@ function(
|
|
|
801
801
|
* Applies the focus info.
|
|
802
802
|
* To be overwritten by subclasses.
|
|
803
803
|
*
|
|
804
|
-
* @param {
|
|
804
|
+
* @param {sap.ui.core.FocusInfo} oFocusInfo An object representing the serialized focus information.
|
|
805
805
|
* @returns {this} Returns <code>this</code> to allow method chaining
|
|
806
806
|
* @protected
|
|
807
807
|
*/
|
|
@@ -1150,7 +1150,7 @@ function(
|
|
|
1150
1150
|
|
|
1151
1151
|
/**
|
|
1152
1152
|
* @see sap.ui.core.Control#getAccessibilityInfo
|
|
1153
|
-
* @returns {
|
|
1153
|
+
* @returns {sap.ui.core.AccessibilityInfo} The accessibility information for this <code>InputBase</code>
|
|
1154
1154
|
* @protected
|
|
1155
1155
|
*/
|
|
1156
1156
|
InputBase.prototype.getAccessibilityInfo = function() {
|
|
@@ -353,7 +353,7 @@ sap.ui.define(['sap/ui/core/Renderer', 'sap/ui/core/Core', 'sap/ui/core/library'
|
|
|
353
353
|
*
|
|
354
354
|
* @protected
|
|
355
355
|
* @param {sap.m.InputBase} oControl an object representation of the control.
|
|
356
|
-
* @returns {
|
|
356
|
+
* @returns {sap.m.InputBaseAccessibilityState} Accessibility state object
|
|
357
357
|
*/
|
|
358
358
|
InputBaseRenderer.getAccessibilityState = function(oControl) {
|
|
359
359
|
var sAriaLabelledBy = this.getAriaLabelledBy(oControl),
|
package/src/sap/m/Label.js
CHANGED
package/src/sap/m/LightBox.js
CHANGED
package/src/sap/m/Link.js
CHANGED
package/src/sap/m/List.js
CHANGED
package/src/sap/m/ListBase.js
CHANGED
|
@@ -97,7 +97,7 @@ function(
|
|
|
97
97
|
* @extends sap.ui.core.Control
|
|
98
98
|
*
|
|
99
99
|
* @author SAP SE
|
|
100
|
-
* @version 1.
|
|
100
|
+
* @version 1.111.0
|
|
101
101
|
*
|
|
102
102
|
* @constructor
|
|
103
103
|
* @public
|
|
@@ -2700,7 +2700,7 @@ function(
|
|
|
2700
2700
|
var iItemTop = Math.round(oItemDomRef.getBoundingClientRect().top);
|
|
2701
2701
|
if (iTHRectBottom > iItemTop || iInfoTBarContainerRectBottom > iItemTop || iHeaderToolbarRectBottom > iItemTop) {
|
|
2702
2702
|
window.requestAnimationFrame(function () {
|
|
2703
|
-
oScrollDelegate.scrollToElement(oItemDomRef, 0, [0, -iTHRectHeight - iInfoTBarContainerRectHeight - iHeaderToolbarRectHeight - iStickyFocusOffset]);
|
|
2703
|
+
oScrollDelegate.scrollToElement(oItemDomRef, 0, [0, -iTHRectHeight - iInfoTBarContainerRectHeight - iHeaderToolbarRectHeight - iStickyFocusOffset], true);
|
|
2704
2704
|
});
|
|
2705
2705
|
}
|
|
2706
2706
|
};
|
|
@@ -2722,9 +2722,10 @@ function(
|
|
|
2722
2722
|
* new items when scrolling to the bottom of the list.
|
|
2723
2723
|
*
|
|
2724
2724
|
* @param {number} iIndex The list item index that must be scrolled into the viewport
|
|
2725
|
-
* @returns {Promise} A <code>Promise</code> that resolves after the table scrolls to the row
|
|
2726
|
-
*
|
|
2725
|
+
* @returns {Promise} A <code>Promise</code> that resolves after the table scrolls to the row with the given index.<br>
|
|
2726
|
+
* <b>Note:</b> This method can only be used if the control is inside a scrollable scroll container (e.g <code>sap.m.Page</code>).
|
|
2727
2727
|
*
|
|
2728
|
+
* @since 1.76
|
|
2728
2729
|
* @public
|
|
2729
2730
|
*/
|
|
2730
2731
|
ListBase.prototype.scrollToIndex = function(iIndex) {
|
|
@@ -2745,7 +2746,7 @@ function(
|
|
|
2745
2746
|
// adding timeout of 0 ensures the DOM is ready in case of rerendering
|
|
2746
2747
|
setTimeout(function() {
|
|
2747
2748
|
try {
|
|
2748
|
-
oScrollDelegate.scrollToElement(oItem.getDomRef(), null, [0, this._getStickyAreaHeight() * -1]);
|
|
2749
|
+
oScrollDelegate.scrollToElement(oItem.getDomRef(), null, [0, this._getStickyAreaHeight() * -1], true);
|
|
2749
2750
|
resolve();
|
|
2750
2751
|
} catch (e) {
|
|
2751
2752
|
reject(e);
|
|
@@ -78,7 +78,7 @@ function(
|
|
|
78
78
|
* @extends sap.ui.core.Control
|
|
79
79
|
*
|
|
80
80
|
* @author SAP SE
|
|
81
|
-
* @version 1.
|
|
81
|
+
* @version 1.111.0
|
|
82
82
|
*
|
|
83
83
|
* @constructor
|
|
84
84
|
* @public
|
|
@@ -401,8 +401,7 @@ function(
|
|
|
401
401
|
ListItemBase.prototype.getAccessibilityDescription = function(oBundle) {
|
|
402
402
|
var aOutput = [],
|
|
403
403
|
sType = this.getType(),
|
|
404
|
-
sHighlight = this.getHighlight()
|
|
405
|
-
sTooltip = this.getTooltip_AsString();
|
|
404
|
+
sHighlight = this.getHighlight();
|
|
406
405
|
|
|
407
406
|
if (this.getSelected()) {
|
|
408
407
|
aOutput.push(oBundle.getText("LIST_ITEM_SELECTED"));
|
|
@@ -447,10 +446,6 @@ function(
|
|
|
447
446
|
sContentAnnouncement && aOutput.push(sContentAnnouncement);
|
|
448
447
|
}
|
|
449
448
|
|
|
450
|
-
if (sTooltip) {
|
|
451
|
-
aOutput.push(sTooltip);
|
|
452
|
-
}
|
|
453
|
-
|
|
454
449
|
if (this.getListProperty("ariaRole") != "listbox" && this.isSelectable() && !this.getSelected()) {
|
|
455
450
|
aOutput.push(oBundle.getText("LIST_ITEM_NOT_SELECTED"));
|
|
456
451
|
}
|
package/src/sap/m/MaskEnabler.js
CHANGED
package/src/sap/m/MaskInput.js
CHANGED
package/src/sap/m/Menu.js
CHANGED
|
@@ -68,7 +68,7 @@ sap.ui.define([
|
|
|
68
68
|
* @implements sap.ui.core.IContextMenu
|
|
69
69
|
*
|
|
70
70
|
* @author SAP SE
|
|
71
|
-
* @version 1.
|
|
71
|
+
* @version 1.111.0
|
|
72
72
|
*
|
|
73
73
|
* @constructor
|
|
74
74
|
* @public
|
|
@@ -211,7 +211,7 @@ sap.ui.define([
|
|
|
211
211
|
|
|
212
212
|
/**
|
|
213
213
|
* Opens the <code>Menu</code> next to the given control.
|
|
214
|
-
* @param {
|
|
214
|
+
* @param {sap.ui.core.Control} oControl The control that defines the position for the menu
|
|
215
215
|
* @param {boolean} bWithKeyboard Whether the menu is opened with a shortcut or not
|
|
216
216
|
* @param {sap.ui.core.Dock} [sDockMy=sap.ui.core.Popup.Dock.BeginTop] The reference docking location
|
|
217
217
|
* of the <code>Menu</code> for positioning the menu on the screen
|
|
@@ -304,7 +304,7 @@ sap.ui.define([
|
|
|
304
304
|
this._initMenuForItems(this.getItems());
|
|
305
305
|
};
|
|
306
306
|
|
|
307
|
-
|
|
307
|
+
/**
|
|
308
308
|
* Allows for any custom function to be called back when accessibility attributes
|
|
309
309
|
* of underlying menu are about to be rendered.
|
|
310
310
|
* The function is called once per MenuItem
|
|
@@ -312,7 +312,7 @@ sap.ui.define([
|
|
|
312
312
|
* @param {function} fn The callback function
|
|
313
313
|
* @private
|
|
314
314
|
* @ui5-restricted ObjectPageLayoutABHelper
|
|
315
|
-
* @returns void
|
|
315
|
+
* @returns {void}
|
|
316
316
|
*/
|
|
317
317
|
Menu.prototype._setCustomEnhanceAccStateFunction = function(fn) {
|
|
318
318
|
this._fnEnhanceUnifiedMenuAccState = fn;
|
package/src/sap/m/MenuButton.js
CHANGED
|
@@ -58,7 +58,7 @@ sap.ui.define([
|
|
|
58
58
|
* @extends sap.ui.core.Control
|
|
59
59
|
*
|
|
60
60
|
* @author SAP SE
|
|
61
|
-
* @version 1.
|
|
61
|
+
* @version 1.111.0
|
|
62
62
|
*
|
|
63
63
|
* @constructor
|
|
64
64
|
* @public
|
|
@@ -474,13 +474,19 @@ sap.ui.define([
|
|
|
474
474
|
|
|
475
475
|
MenuButton.prototype._menuClosed = function() {
|
|
476
476
|
var oButtonControl = this._getButtonControl(),
|
|
477
|
-
bOpeningMenuButton = oButtonControl
|
|
477
|
+
bOpeningMenuButton = oButtonControl,
|
|
478
|
+
oMenu = this.getMenu(),
|
|
479
|
+
oUnifiedMenu = oMenu && oMenu._getMenu && oMenu._getMenu();
|
|
478
480
|
|
|
479
481
|
if (this._isSplitButton()) {
|
|
480
482
|
oButtonControl.setArrowState(false);
|
|
481
483
|
bOpeningMenuButton = oButtonControl._getArrowButton();
|
|
482
484
|
}
|
|
483
485
|
|
|
486
|
+
if (oUnifiedMenu && oUnifiedMenu._bLeavingMenu){
|
|
487
|
+
this._bPopupOpen = false;
|
|
488
|
+
}
|
|
489
|
+
|
|
484
490
|
bOpeningMenuButton.$().removeAttr("aria-controls");
|
|
485
491
|
bOpeningMenuButton.$().attr("aria-expanded", "false");
|
|
486
492
|
};
|
|
@@ -685,6 +691,18 @@ sap.ui.define([
|
|
|
685
691
|
return this._getButtonControl().getDomRef();
|
|
686
692
|
};
|
|
687
693
|
|
|
694
|
+
MenuButton.prototype.onsapescape = function(oEvent) {
|
|
695
|
+
var oMenu = this.getMenu(),
|
|
696
|
+
oUnifiedMenu = oMenu && oMenu._getMenu && oMenu._getMenu();
|
|
697
|
+
|
|
698
|
+
if (oUnifiedMenu && this._bPopupOpen) {
|
|
699
|
+
oUnifiedMenu._bLeavingMenu = true;
|
|
700
|
+
oUnifiedMenu.close();
|
|
701
|
+
this._menuClosed();
|
|
702
|
+
oEvent.preventDefault();
|
|
703
|
+
}
|
|
704
|
+
};
|
|
705
|
+
|
|
688
706
|
MenuButton.prototype.onsapup = function(oEvent) {
|
|
689
707
|
this.openMenuByKeyboard();
|
|
690
708
|
// If there is a different behavior defined in the parent container for the same event,
|
package/src/sap/m/MenuItem.js
CHANGED
package/src/sap/m/MessageBox.js
CHANGED
|
@@ -64,17 +64,15 @@ sap.ui.define([
|
|
|
64
64
|
* Provides easier methods to create sap.m.Dialog with type sap.m.DialogType.Message, such as standard alerts,
|
|
65
65
|
* confirmation dialogs, or arbitrary message dialogs.
|
|
66
66
|
*
|
|
67
|
-
* Because the <code>MessageBox</code> is a static class, a <code>sap.ui.require("sap/m/MessageBox");</code> statement
|
|
68
|
-
* must be explicitly executed prior using the class.
|
|
69
67
|
* MessageBox provides several functions:
|
|
70
68
|
* <ul>
|
|
71
69
|
* <li><code>show()</code> - This is the generic way to open a message dialog. You can customize its contents through the <code>mOptions</code> parameter described below.</li>
|
|
72
70
|
* <li><code>alert()</code>, <code>confirm()</code>, <code>error()</code>, <code>information()</code>, <code>success()</code> and <code>warning()</code> - predefined templates of message dialogs. Each value type is coming with action buttons and an icon that are corresponding to its semantic. Although the full set of <code>mOptions</code> (applicable to <code>show()</code>) are available to them, it is recommended to only use the documented options.</li>
|
|
73
71
|
* </ul>
|
|
74
72
|
*
|
|
75
|
-
* <b>
|
|
76
|
-
* <b>
|
|
77
|
-
* <b>
|
|
73
|
+
* <b>Note:</b> All options of show() are available for the other template functions as well, but it is recommended to use show() only in more specific scenarios.<br />
|
|
74
|
+
* <b>Note:</b> Due to the static nature of the <code>MessageBox</code> class, you cannot expect data binding support from its helper functions. If this is required you can use the <code>sap.m.Dialog</code> instead.<br />
|
|
75
|
+
* <b>Note:</b> When using the <code>MessageBox.Error</code> method, there is no emphasized action by design.
|
|
78
76
|
*
|
|
79
77
|
* Example:
|
|
80
78
|
* <pre>
|
|
@@ -348,8 +346,7 @@ sap.ui.define([
|
|
|
348
346
|
* Creates and displays an sap.m.Dialog with type sap.m.DialogType.Message with the given text and buttons, and optionally other parts.
|
|
349
347
|
* After the user has tapped a button, the <code>onClose</code> function is invoked when given.
|
|
350
348
|
*
|
|
351
|
-
* The only mandatory parameter is <code>vMessage</code>.
|
|
352
|
-
* a layout control could be provided.
|
|
349
|
+
* The only mandatory parameter is <code>vMessage</code>.
|
|
353
350
|
*
|
|
354
351
|
* <pre>
|
|
355
352
|
* sap.m.MessageBox.show("This message should appear in the message box", {
|
|
@@ -395,11 +392,14 @@ sap.ui.define([
|
|
|
395
392
|
* @param {boolean} [mOptions.verticalScrolling] verticalScrolling is deprecated since version 1.30.4. VerticalScrolling, this option indicates if the user can scroll vertically inside the MessageBox when the content is larger than the content area.
|
|
396
393
|
* @param {boolean} [mOptions.horizontalScrolling] horizontalScrolling is deprecated since version 1.30.4. HorizontalScrolling, this option indicates if the user can scroll horizontally inside the MessageBox when the content is larger than the content area.
|
|
397
394
|
* @param {string|object|function():Promise<string|object>} [mOptions.details]
|
|
398
|
-
* Added since version 1.28.0. If
|
|
395
|
+
* Added since version 1.28.0. If set, a link to view details is added. When the user clicks the link, the text area containing 'details' information is displayed.
|
|
399
396
|
* The initial visibility is not configurable and the details are hidden by default.<br>
|
|
400
|
-
*
|
|
401
|
-
*
|
|
402
|
-
*
|
|
397
|
+
* The following details can be used:
|
|
398
|
+
* <ul>
|
|
399
|
+
* <li><code>string</code> - text in HTML format. For full list of supported HTML tags see {@link sap.m.FormattedText}</li>
|
|
400
|
+
* <li><code>object</code> - JSON object that will be serialized using <code>JSON.stringify</code></li>
|
|
401
|
+
* <li><code>function</code> - since version 1.103, a callback function that fetches the details asynchronously. It should return a promise that resolves with a <code>string</code> value or an <code>object</code>, or rejects - in this case a default error message will be displayed</li>
|
|
402
|
+
* <ul>
|
|
403
403
|
* @param {sap.ui.core.CSSSize} [mOptions.contentWidth] The width of the MessageBox
|
|
404
404
|
* @param {boolean} [mOptions.closeOnNavigation=true] Added since version 1.72.0. Whether the MessageBox will be closed automatically when a routing navigation occurs.
|
|
405
405
|
* @public
|
|
@@ -634,11 +634,14 @@ sap.ui.define([
|
|
|
634
634
|
* @param {boolean} [mOptions.verticalScrolling] verticalScrolling is deprecated since version 1.30.4. VerticalScrolling, this option indicates if the user can scroll vertically inside the MessageBox when the content is larger than the content area.
|
|
635
635
|
* @param {boolean} [mOptions.horizontalScrolling] horizontalScrolling is deprecated since version 1.30.4. HorizontalScrolling, this option indicates if the user can scroll horizontally inside the MessageBox when the content is larger than the content area.
|
|
636
636
|
* @param {string|object|function():Promise<string|object>} [mOptions.details]
|
|
637
|
-
* Added since version 1.28.0. If
|
|
637
|
+
* Added since version 1.28.0. If set, a link to view details is added. When the user clicks the link, the text area containing 'details' information is displayed.
|
|
638
638
|
* The initial visibility is not configurable and the details are hidden by default.<br>
|
|
639
|
-
*
|
|
640
|
-
*
|
|
641
|
-
*
|
|
639
|
+
* The following details can be used:
|
|
640
|
+
* <ul>
|
|
641
|
+
* <li><code>string</code> - text in HTML format. For full list of supported HTML tags see {@link sap.m.FormattedText}</li>
|
|
642
|
+
* <li><code>object</code> - JSON object that will be serialized using <code>JSON.stringify</code></li>
|
|
643
|
+
* <li><code>function</code> - since version 1.103, a callback function that fetches the details asynchronously. It should return a promise that resolves with a <code>string</code> value or an <code>object</code>, or rejects - in this case a default error message will be displayed</li>
|
|
644
|
+
* <ul>
|
|
642
645
|
* @param {boolean} [mOptions.closeOnNavigation=true] Added since version 1.72.0. Whether the MessageBox will be closed automatically when a routing navigation occurs.
|
|
643
646
|
* @public
|
|
644
647
|
* @static
|
|
@@ -725,11 +728,14 @@ sap.ui.define([
|
|
|
725
728
|
* @param {boolean} [mOptions.verticalScrolling] verticalScrolling is deprecated since version 1.30.4. VerticalScrolling, this option indicates if the user can scroll vertically inside the MessageBox when the content is larger than the content area.
|
|
726
729
|
* @param {boolean} [mOptions.horizontalScrolling] horizontalScrolling is deprecated since version 1.30.4. HorizontalScrolling, this option indicates if the user can scroll horizontally inside the MessageBox when the content is larger than the content area.
|
|
727
730
|
* @param {string|object|function():Promise<string|object>} [mOptions.details]
|
|
728
|
-
* Added since version 1.28.0. If
|
|
731
|
+
* Added since version 1.28.0. If set, a link to view details is added. When the user clicks the link, the text area containing 'details' information is displayed.
|
|
729
732
|
* The initial visibility is not configurable and the details are hidden by default.<br>
|
|
730
|
-
*
|
|
731
|
-
*
|
|
732
|
-
*
|
|
733
|
+
* The following details can be used:
|
|
734
|
+
* <ul>
|
|
735
|
+
* <li><code>string</code> - text in HTML format. For full list of supported HTML tags see {@link sap.m.FormattedText}</li>
|
|
736
|
+
* <li><code>object</code> - JSON object that will be serialized using <code>JSON.stringify</code></li>
|
|
737
|
+
* <li><code>function</code> - since version 1.103, a callback function that fetches the details asynchronously. It should return a promise that resolves with a <code>string</code> value or an <code>object</code>, or rejects - in this case a default error message will be displayed</li>
|
|
738
|
+
* <ul>
|
|
733
739
|
* @param {boolean} [mOptions.closeOnNavigation=true] Added since version 1.72.0. Whether the MessageBox will be closed automatically when a routing navigation occurs.
|
|
734
740
|
* @public
|
|
735
741
|
* @static
|
|
@@ -810,11 +816,14 @@ sap.ui.define([
|
|
|
810
816
|
* @param {boolean} [mOptions.verticalScrolling] verticalScrolling is deprecated since version 1.30.4. VerticalScrolling, this option indicates if the user can scroll vertically inside the MessageBox when the content is larger than the content area.
|
|
811
817
|
* @param {boolean} [mOptions.horizontalScrolling] horizontalScrolling is deprecated since version 1.30.4. HorizontalScrolling, this option indicates if the user can scroll horizontally inside the MessageBox when the content is larger than the content area.
|
|
812
818
|
* @param {string|object|function():Promise<string|object>} [mOptions.details]
|
|
813
|
-
* Added since version 1.28.0. If
|
|
819
|
+
* Added since version 1.28.0. If set, a link to view details is added. When the user clicks the link, the text area containing 'details' information is displayed.
|
|
814
820
|
* The initial visibility is not configurable and the details are hidden by default.<br>
|
|
815
|
-
*
|
|
816
|
-
*
|
|
817
|
-
*
|
|
821
|
+
* The following details can be used:
|
|
822
|
+
* <ul>
|
|
823
|
+
* <li><code>string</code> - text in HTML format. For full list of supported HTML tags see {@link sap.m.FormattedText}</li>
|
|
824
|
+
* <li><code>object</code> - JSON object that will be serialized using <code>JSON.stringify</code></li>
|
|
825
|
+
* <li><code>function</code> - since version 1.103, a callback function that fetches the details asynchronously. It should return a promise that resolves with a <code>string</code> value or an <code>object</code>, or rejects - in this case a default error message will be displayed</li>
|
|
826
|
+
* <ul>
|
|
818
827
|
* @param {boolean} [mOptions.closeOnNavigation=true] Added since version 1.72.0. Whether the MessageBox will be closed automatically when a routing navigation occurs.
|
|
819
828
|
* @public
|
|
820
829
|
* @since 1.30
|
|
@@ -880,11 +889,14 @@ sap.ui.define([
|
|
|
880
889
|
* @param {boolean} [mOptions.verticalScrolling] verticalScrolling is deprecated since version 1.30.4. VerticalScrolling, this option indicates if the user can scroll vertically inside the MessageBox when the content is larger than the content area.
|
|
881
890
|
* @param {boolean} [mOptions.horizontalScrolling] horizontalScrolling is deprecated since version 1.30.4. HorizontalScrolling, this option indicates if the user can scroll horizontally inside the MessageBox when the content is larger than the content area.
|
|
882
891
|
* @param {string|object|function():Promise<string|object>} [mOptions.details]
|
|
883
|
-
* Added since version 1.28.0. If
|
|
892
|
+
* Added since version 1.28.0. If set, a link to view details is added. When the user clicks the link, the text area containing 'details' information is displayed.
|
|
884
893
|
* The initial visibility is not configurable and the details are hidden by default.<br>
|
|
885
|
-
*
|
|
886
|
-
*
|
|
887
|
-
*
|
|
894
|
+
* The following details can be used:
|
|
895
|
+
* <ul>
|
|
896
|
+
* <li><code>string</code> - text in HTML format. For full list of supported HTML tags see {@link sap.m.FormattedText}</li>
|
|
897
|
+
* <li><code>object</code> - JSON object that will be serialized using <code>JSON.stringify</code></li>
|
|
898
|
+
* <li><code>function</code> - since version 1.103, a callback function that fetches the details asynchronously. It should return a promise that resolves with a <code>string</code> value or an <code>object</code>, or rejects - in this case a default error message will be displayed</li>
|
|
899
|
+
* <ul>
|
|
888
900
|
* @param {boolean} [mOptions.closeOnNavigation=true] Added since version 1.72.0. Whether the MessageBox will be closed automatically when a routing navigation occurs.
|
|
889
901
|
* @public
|
|
890
902
|
* @since 1.30
|
|
@@ -950,11 +962,14 @@ sap.ui.define([
|
|
|
950
962
|
* @param {boolean} [mOptions.verticalScrolling] verticalScrolling is deprecated since version 1.30.4. VerticalScrolling, this option indicates if the user can scroll vertically inside the MessageBox when the content is larger than the content area.
|
|
951
963
|
* @param {boolean} [mOptions.horizontalScrolling] horizontalScrolling is deprecated since version 1.30.4. HorizontalScrolling, this option indicates if the user can scroll horizontally inside the MessageBox when the content is larger than the content area.
|
|
952
964
|
* @param {string|object|function():Promise<string|object>} [mOptions.details]
|
|
953
|
-
* Added since version 1.28.0. If
|
|
965
|
+
* Added since version 1.28.0. If set, a link to view details is added. When the user clicks the link, the text area containing 'details' information is displayed.
|
|
954
966
|
* The initial visibility is not configurable and the details are hidden by default.<br>
|
|
955
|
-
*
|
|
956
|
-
*
|
|
957
|
-
*
|
|
967
|
+
* The following details can be used:
|
|
968
|
+
* <ul>
|
|
969
|
+
* <li><code>string</code> - text in HTML format. For full list of supported HTML tags see {@link sap.m.FormattedText}</li>
|
|
970
|
+
* <li><code>object</code> - JSON object that will be serialized using <code>JSON.stringify</code></li>
|
|
971
|
+
* <li><code>function</code> - since version 1.103, a callback function that fetches the details asynchronously. It should return a promise that resolves with a <code>string</code> value or an <code>object</code>, or rejects - in this case a default error message will be displayed</li>
|
|
972
|
+
* <ul>
|
|
958
973
|
* @param {boolean} [mOptions.closeOnNavigation=true] Added since version 1.72.0. Whether the MessageBox will be closed automatically when a routing navigation occurs.
|
|
959
974
|
* @public
|
|
960
975
|
* @since 1.30
|
|
@@ -1020,11 +1035,14 @@ sap.ui.define([
|
|
|
1020
1035
|
* @param {boolean} [mOptions.verticalScrolling] verticalScrolling is deprecated since version 1.30.4. VerticalScrolling, this option indicates if the user can scroll vertically inside the MessageBox when the content is larger than the content area.
|
|
1021
1036
|
* @param {boolean} [mOptions.horizontalScrolling] horizontalScrolling is deprecated since version 1.30.4. HorizontalScrolling, this option indicates if the user can scroll horizontally inside the MessageBox when the content is larger than the content area.
|
|
1022
1037
|
* @param {string|object|function():Promise<string|object>} [mOptions.details]
|
|
1023
|
-
* Added since version 1.28.0. If
|
|
1038
|
+
* Added since version 1.28.0. If set, a link to view details is added. When the user clicks the link, the text area containing 'details' information is displayed.
|
|
1024
1039
|
* The initial visibility is not configurable and the details are hidden by default.<br>
|
|
1025
|
-
*
|
|
1026
|
-
*
|
|
1027
|
-
*
|
|
1040
|
+
* The following details can be used:
|
|
1041
|
+
* <ul>
|
|
1042
|
+
* <li><code>string</code> - text in HTML format. For full list of supported HTML tags see {@link sap.m.FormattedText}</li>
|
|
1043
|
+
* <li><code>object</code> - JSON object that will be serialized using <code>JSON.stringify</code></li>
|
|
1044
|
+
* <li><code>function</code> - since version 1.103, a callback function that fetches the details asynchronously. It should return a promise that resolves with a <code>string</code> value or an <code>object</code>, or rejects - in this case a default error message will be displayed</li>
|
|
1045
|
+
* <ul>
|
|
1028
1046
|
* @param {boolean} [mOptions.closeOnNavigation=true] Added since version 1.72.0. Whether the MessageBox will be closed automatically when a routing navigation occurs.
|
|
1029
1047
|
* @public
|
|
1030
1048
|
* @since 1.30
|
package/src/sap/m/MessageItem.js
CHANGED
|
@@ -33,7 +33,7 @@ sap.ui.define([
|
|
|
33
33
|
* @extends sap.m.StandardListItem
|
|
34
34
|
*
|
|
35
35
|
* @author SAP SE
|
|
36
|
-
* @version 1.
|
|
36
|
+
* @version 1.111.0
|
|
37
37
|
*
|
|
38
38
|
* @constructor
|
|
39
39
|
* @private
|
|
@@ -114,6 +114,27 @@ sap.ui.define([
|
|
|
114
114
|
return sAnnouncement;
|
|
115
115
|
};
|
|
116
116
|
|
|
117
|
+
/**
|
|
118
|
+
* Returns item's title dom ref
|
|
119
|
+
*
|
|
120
|
+
* @returns {HTMLElement} Dom Ref of the list item's title
|
|
121
|
+
* @public
|
|
122
|
+
*/
|
|
123
|
+
MessageListItem.prototype.getTitleRef = function () {
|
|
124
|
+
var bActiveTitle = this.getActiveTitle();
|
|
125
|
+
var sDescription = this.getDescription();
|
|
126
|
+
|
|
127
|
+
if (bActiveTitle) {
|
|
128
|
+
return this.getDomRef().querySelector("a");
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
if (sDescription) {
|
|
132
|
+
return this.getDomRef().querySelector(".sapMSLITitle");
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
return this.getDomRef().querySelector(".sapMSLITitleOnly");
|
|
136
|
+
};
|
|
137
|
+
|
|
117
138
|
return MessageListItem;
|
|
118
139
|
|
|
119
140
|
});
|
package/src/sap/m/MessagePage.js
CHANGED
|
@@ -91,7 +91,7 @@ function(
|
|
|
91
91
|
* @extends sap.ui.core.Control
|
|
92
92
|
*
|
|
93
93
|
* @author SAP SE
|
|
94
|
-
* @version 1.
|
|
94
|
+
* @version 1.111.0
|
|
95
95
|
*
|
|
96
96
|
* @constructor
|
|
97
97
|
* @public
|
|
@@ -108,7 +108,7 @@ function(
|
|
|
108
108
|
* You can use this function in order to validate the description before displaying it.
|
|
109
109
|
* @callback sap.m.MessagePopover~asyncDescriptionHandler
|
|
110
110
|
* @param {object} config A single parameter object
|
|
111
|
-
* @param {
|
|
111
|
+
* @param {MessageItem} config.item Reference to respective MessageItem instance
|
|
112
112
|
* @param {object} config.promise Object grouping a promise's reject and resolve methods
|
|
113
113
|
* @param {function} config.promise.resolve Method to resolve promise
|
|
114
114
|
* @param {function} config.promise.reject Method to reject promise
|
|
@@ -153,7 +153,6 @@ function(
|
|
|
153
153
|
*/
|
|
154
154
|
items: {
|
|
155
155
|
type: "sap.m.MessageItem",
|
|
156
|
-
altTypes: ["sap.m.MessagePopoverItem"],
|
|
157
156
|
multiple: true,
|
|
158
157
|
singularName: "item",
|
|
159
158
|
forwarding: {
|
|
@@ -225,7 +224,7 @@ function(
|
|
|
225
224
|
/**
|
|
226
225
|
* Refers to the <code>MessagePopover</code> item that is being presented.
|
|
227
226
|
*/
|
|
228
|
-
item: {type: "sap.m.
|
|
227
|
+
item: {type: "sap.m.MessageItem"},
|
|
229
228
|
/**
|
|
230
229
|
* Refers to the type of messages being shown.
|
|
231
230
|
*/
|
|
@@ -71,7 +71,7 @@ sap.ui.define([
|
|
|
71
71
|
* 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.
|
|
72
72
|
*
|
|
73
73
|
* @author SAP SE
|
|
74
|
-
* @version 1.
|
|
74
|
+
* @version 1.111.0
|
|
75
75
|
*
|
|
76
76
|
* @namespace
|
|
77
77
|
* @public
|