@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/GenericTile.js
CHANGED
|
@@ -81,7 +81,7 @@ sap.ui.define([
|
|
|
81
81
|
* @extends sap.ui.core.Control
|
|
82
82
|
*
|
|
83
83
|
* @author SAP SE
|
|
84
|
-
* @version 1.
|
|
84
|
+
* @version 1.111.0
|
|
85
85
|
* @since 1.34.0
|
|
86
86
|
*
|
|
87
87
|
* @public
|
|
@@ -621,14 +621,10 @@ sap.ui.define([
|
|
|
621
621
|
this._sGenericTileResizeListenerId = null;
|
|
622
622
|
}
|
|
623
623
|
|
|
624
|
-
//
|
|
624
|
+
//Applies new dimensions for the GenericTile if it is inscribed inside a GridContainer
|
|
625
625
|
var oGetParent = this.getParent();
|
|
626
626
|
if (oGetParent && oGetParent.isA("sap.f.GridContainer")){
|
|
627
|
-
this.
|
|
628
|
-
}
|
|
629
|
-
|
|
630
|
-
if (oGetParent && oGetParent.getParent() && oGetParent.getParent().isA("sap.f.GridContainer") && oGetParent.isA("sap.m.SlideTile")){
|
|
631
|
-
this._applyExtraWidth(oGetParent.getParent(), true);
|
|
627
|
+
this._applyNewDim();
|
|
632
628
|
}
|
|
633
629
|
|
|
634
630
|
Device.media.detachHandler(this._handleMediaChange, this, DEVICE_SET);
|
|
@@ -855,6 +851,10 @@ sap.ui.define([
|
|
|
855
851
|
*/
|
|
856
852
|
GenericTile.prototype._setupResizeClassHandler = function () {
|
|
857
853
|
var fnCheckMedia = function () {
|
|
854
|
+
var oParent = this.getParent();
|
|
855
|
+
if (oParent && oParent.isA("sap.f.GridContainer")) {
|
|
856
|
+
this._applyNewDim();
|
|
857
|
+
}
|
|
858
858
|
if (this.getSizeBehavior() === TileSizeBehavior.Small || window.matchMedia("(max-width: 374px)").matches || this._isSmallStretchTile()) {
|
|
859
859
|
this.$().addClass("sapMTileSmallPhone");
|
|
860
860
|
if (this._isSmallStretchTile()) {
|
|
@@ -1927,22 +1927,17 @@ GenericTile.prototype._isNavigateActionEnabled = function() {
|
|
|
1927
1927
|
};
|
|
1928
1928
|
|
|
1929
1929
|
/**
|
|
1930
|
-
*
|
|
1930
|
+
* Applies new dimensions for the GenericTile if it is inscribed inside a GridContainer
|
|
1931
|
+
* @param {sap.f.GridContainer} oSlideTileParentContainer The GridContainer where SlideTile is inscribed
|
|
1931
1932
|
* @private
|
|
1932
1933
|
*/
|
|
1933
|
-
GenericTile.prototype.
|
|
1934
|
-
var sGap;
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
var bisLargeTile = this.getFrameType() === FrameType.TwoByHalf || this.getFrameType() === FrameType.TwoByOne,
|
|
1941
|
-
bisGap16px = sGap === "16px" || sGap === "1rem";
|
|
1942
|
-
if (bisGap16px && bisLargeTile){
|
|
1943
|
-
this.addStyleClass("sapMGTWidthForGridContainer");
|
|
1944
|
-
} else if (!bisGap16px && this.hasStyleClass("sapMGTWidthForGridContainer")){
|
|
1945
|
-
this.removeStyleClass("sapMGTWidthForGridContainer");
|
|
1934
|
+
GenericTile.prototype._applyNewDim = function(oSlideTileParentContainer) {
|
|
1935
|
+
var sGap = (oSlideTileParentContainer) ? oSlideTileParentContainer.getActiveLayoutSettings().getGap() : this.getParent().getActiveLayoutSettings().getGap();
|
|
1936
|
+
var bisGap16px = sGap === "16px" || sGap === "1rem";
|
|
1937
|
+
if (bisGap16px){
|
|
1938
|
+
this.addStyleClass("sapMGTGridContainerOneRemGap");
|
|
1939
|
+
} else if (!bisGap16px && this.hasStyleClass("sapMGTGridContainerOneRemGap")){
|
|
1940
|
+
this.removeStyleClass("sapMGTGridContainerOneRemGap");
|
|
1946
1941
|
}
|
|
1947
1942
|
};
|
|
1948
1943
|
/**
|
|
@@ -380,7 +380,7 @@ sap.ui.define([
|
|
|
380
380
|
}
|
|
381
381
|
|
|
382
382
|
// after growing-button gets hidden scroll container should still be scrollable
|
|
383
|
-
return this._oScrollDelegate.getMaxScrollTop() > this._oControl.getDomRef("triggerList").
|
|
383
|
+
return this._oScrollDelegate.getMaxScrollTop() > this._oControl.getDomRef("triggerList").offsetHeight;
|
|
384
384
|
},
|
|
385
385
|
|
|
386
386
|
// destroy all items in the list and cleanup
|
package/src/sap/m/GrowingList.js
CHANGED
package/src/sap/m/HBox.js
CHANGED
package/src/sap/m/IconTabBar.js
CHANGED
|
@@ -94,7 +94,7 @@ sap.ui.define([
|
|
|
94
94
|
* @implements sap.m.IconTab
|
|
95
95
|
*
|
|
96
96
|
* @author SAP SE
|
|
97
|
-
* @version 1.
|
|
97
|
+
* @version 1.111.0
|
|
98
98
|
*
|
|
99
99
|
* @constructor
|
|
100
100
|
* @public
|
|
@@ -240,7 +240,6 @@ sap.ui.define([
|
|
|
240
240
|
* @private
|
|
241
241
|
*/
|
|
242
242
|
IconTabFilter.prototype.init = function () {
|
|
243
|
-
|
|
244
243
|
this._oDragEventDelegate = {
|
|
245
244
|
onlongdragover: this._handleOnLongDragOver,
|
|
246
245
|
ondragover: this._handleOnDragOver,
|
|
@@ -437,9 +436,10 @@ sap.ui.define([
|
|
|
437
436
|
bTextOnly = oIconTabHeader._bTextOnly,
|
|
438
437
|
bInLine = oIconTabHeader._bInLine || oIconTabHeader.isInlineMode(),
|
|
439
438
|
bShowAll = this.getShowAll(),
|
|
440
|
-
sTextDir = this.getTextDirection()
|
|
439
|
+
sTextDir = this.getTextDirection(),
|
|
440
|
+
bIsUnselectable = oIconTabHeader._isUnselectable(this);
|
|
441
441
|
|
|
442
|
-
if (this._isOverflow()){
|
|
442
|
+
if (this._isOverflow()) {
|
|
443
443
|
mAriaParams.role = "button";
|
|
444
444
|
}
|
|
445
445
|
|
|
@@ -504,7 +504,7 @@ sap.ui.define([
|
|
|
504
504
|
oRM.class("sapMITBFilter" + sIconColor);
|
|
505
505
|
}
|
|
506
506
|
|
|
507
|
-
if (
|
|
507
|
+
if (bIsUnselectable) {
|
|
508
508
|
oRM.class("sapMITHUnselectable");
|
|
509
509
|
}
|
|
510
510
|
|
|
@@ -526,7 +526,7 @@ sap.ui.define([
|
|
|
526
526
|
oRM.attr("title", sTooltip);
|
|
527
527
|
}
|
|
528
528
|
|
|
529
|
-
if (this._isOverflow() ||
|
|
529
|
+
if (this._isOverflow() || bIsUnselectable) {
|
|
530
530
|
oRM.attr("aria-haspopup", "menu");
|
|
531
531
|
}
|
|
532
532
|
|
|
@@ -616,7 +616,7 @@ sap.ui.define([
|
|
|
616
616
|
.text(oIconTabHeader._getDisplayText(this))
|
|
617
617
|
.close("span");
|
|
618
618
|
|
|
619
|
-
if (this._isOverflow() || this.getItems().length &&
|
|
619
|
+
if (this._isOverflow() || this.getItems().length && bIsUnselectable) {
|
|
620
620
|
oRM.openStart("span", this.getId() + "-expandButton").class("sapMITHShowSubItemsIcon").openEnd();
|
|
621
621
|
oRM.icon(IconPool.getIconURI("slim-arrow-down"), null, {
|
|
622
622
|
"title": null,
|
|
@@ -635,7 +635,7 @@ sap.ui.define([
|
|
|
635
635
|
oRM.openStart("div").class("sapMITBContentArrow").openEnd().close("div");
|
|
636
636
|
oRM.close("div");
|
|
637
637
|
|
|
638
|
-
if (this.getItems().length && !
|
|
638
|
+
if (this.getItems().length && !bIsUnselectable) {
|
|
639
639
|
oRM.openStart("span")
|
|
640
640
|
.accessibilityState({ role: "separator" })
|
|
641
641
|
.openEnd()
|
|
@@ -77,7 +77,7 @@ sap.ui.define([
|
|
|
77
77
|
* @extends sap.ui.core.Control
|
|
78
78
|
*
|
|
79
79
|
* @author SAP SE
|
|
80
|
-
* @version 1.
|
|
80
|
+
* @version 1.111.0
|
|
81
81
|
*
|
|
82
82
|
* @constructor
|
|
83
83
|
* @public
|
|
@@ -1288,6 +1288,19 @@ sap.ui.define([
|
|
|
1288
1288
|
return iWidth + iMargins;
|
|
1289
1289
|
};
|
|
1290
1290
|
|
|
1291
|
+
IconTabHeader.prototype._hasSubItems = function () {
|
|
1292
|
+
var aTabFilters = this.getTabFilters(),
|
|
1293
|
+
i;
|
|
1294
|
+
|
|
1295
|
+
for (i = 0; i < aTabFilters.length; i++) {
|
|
1296
|
+
if (aTabFilters[i].getItems().length > 0) {
|
|
1297
|
+
return true;
|
|
1298
|
+
}
|
|
1299
|
+
}
|
|
1300
|
+
|
|
1301
|
+
return false;
|
|
1302
|
+
};
|
|
1303
|
+
|
|
1291
1304
|
/**
|
|
1292
1305
|
* Handles the activation of the tabs and arrows.
|
|
1293
1306
|
* @private
|
|
@@ -4,8 +4,14 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
sap.ui.define([
|
|
8
|
-
|
|
7
|
+
sap.ui.define([
|
|
8
|
+
'./library',
|
|
9
|
+
'sap/ui/core/Core',
|
|
10
|
+
'sap/ui/core/InvisibleText'],
|
|
11
|
+
function (
|
|
12
|
+
library,
|
|
13
|
+
Core,
|
|
14
|
+
InvisibleText) {
|
|
9
15
|
"use strict";
|
|
10
16
|
|
|
11
17
|
/**
|
|
@@ -19,6 +25,16 @@ sap.ui.define(['./library'],
|
|
|
19
25
|
// shortcut for sap.m.TabsOverflowMode
|
|
20
26
|
var TabsOverflowMode = library.TabsOverflowMode;
|
|
21
27
|
|
|
28
|
+
IconTabHeaderRenderer.getInvisibleSplitTabDescriptionText = function() {
|
|
29
|
+
if (!this.oInvisibleSplitTabDescriptionText) {
|
|
30
|
+
this.oInvisibleSplitTabDescriptionText = new InvisibleText({
|
|
31
|
+
text: Core.getLibraryResourceBundle("sap.m").getText("ICONTABHEADER_SPLIT_TAB_DESCRIPTION")
|
|
32
|
+
}).toStatic();
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
return this.oInvisibleSplitTabDescriptionText;
|
|
36
|
+
};
|
|
37
|
+
|
|
22
38
|
/**
|
|
23
39
|
* Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
|
|
24
40
|
*
|
|
@@ -102,7 +118,13 @@ sap.ui.define(['./library'],
|
|
|
102
118
|
|
|
103
119
|
if (mAriaTexts.headerDescription) {
|
|
104
120
|
oRM.accessibilityState({
|
|
105
|
-
describedby: oControl._getInvisibleHeadText().getId()
|
|
121
|
+
describedby: {value: oControl._getInvisibleHeadText().getId(), append: true}
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
if (oControl._hasSubItems()) {
|
|
126
|
+
oRM.accessibilityState({
|
|
127
|
+
describedby: {value: IconTabHeaderRenderer.getInvisibleSplitTabDescriptionText().getId(), append: true}
|
|
106
128
|
});
|
|
107
129
|
}
|
|
108
130
|
|
|
@@ -58,8 +58,8 @@ sap.ui.define([
|
|
|
58
58
|
* An <code>IllustratedMessage</code> is a recommended combination of a solution-oriented message,
|
|
59
59
|
* an engaging illustration, and conversational tone to better communicate an empty or a success state
|
|
60
60
|
* than just show a message alone.
|
|
61
|
-
* Empty states are moments in the user experience where there
|
|
62
|
-
* Success states are occasions to celebrate and reward a user
|
|
61
|
+
* Empty states are moments in the user experience where there's no data to display.
|
|
62
|
+
* Success states are occasions to celebrate and reward a user's special accomplishment or the completion of an important task.
|
|
63
63
|
*
|
|
64
64
|
* The <code>IllustratedMessage</code> control is meant to be used inside container controls,
|
|
65
65
|
* for example a <code>Card</code>, a <code>Dialog</code>, or a <code>Page</code>.
|
|
@@ -84,7 +84,7 @@ sap.ui.define([
|
|
|
84
84
|
* @extends sap.ui.core.Control
|
|
85
85
|
*
|
|
86
86
|
* @author SAP SE
|
|
87
|
-
* @version 1.
|
|
87
|
+
* @version 1.111.0
|
|
88
88
|
*
|
|
89
89
|
* @constructor
|
|
90
90
|
* @public
|
|
@@ -99,7 +99,7 @@ sap.ui.define([
|
|
|
99
99
|
/**
|
|
100
100
|
* Defines the description displayed below the title.
|
|
101
101
|
*
|
|
102
|
-
* If there is no initial input from the app developer and the default illustration set is being used,
|
|
102
|
+
* If there is no initial input from the app developer, <code>enableDefaultTitleAndDescription</code> is <code>true</code> and the default illustration set is being used,
|
|
103
103
|
* a default description for the current illustration type is going to be displayed. The default
|
|
104
104
|
* description is stored in the <code>sap.m</code> resource bundle.
|
|
105
105
|
*
|
|
@@ -107,6 +107,14 @@ sap.ui.define([
|
|
|
107
107
|
*/
|
|
108
108
|
description : {type : "string", group : "Misc", defaultValue : ""},
|
|
109
109
|
|
|
110
|
+
/**
|
|
111
|
+
* Defines whether the default title and description should be used when the input for their respective part is empty
|
|
112
|
+
* and the default illustration set is being used. Title and description are stored in the <code>sap.m</code> resource bundle.
|
|
113
|
+
*
|
|
114
|
+
* @since 1.111
|
|
115
|
+
*/
|
|
116
|
+
enableDefaultTitleAndDescription: { type: "boolean", group: "Appearance", defaultValue: true },
|
|
117
|
+
|
|
110
118
|
/**
|
|
111
119
|
* Defines whether the value set in the <code>description</code> property is displayed
|
|
112
120
|
* as formatted text in HTML format.
|
|
@@ -154,8 +162,9 @@ sap.ui.define([
|
|
|
154
162
|
/**
|
|
155
163
|
* Defines the title that is displayed below the illustration.
|
|
156
164
|
*
|
|
157
|
-
* If there is no initial input from the app developer and the default illustration set is being used,
|
|
158
|
-
* a default title is displayed corresponding to the current <code>illustrationType</code>.
|
|
165
|
+
* If there is no initial input from the app developer, <code>enableDefaultTitleAndDescription</code> is <code>true</code> and the default illustration set is being used,
|
|
166
|
+
* a default title is displayed corresponding to the current <code>illustrationType</code>. The default
|
|
167
|
+
* title is stored in the <code>sap.m</code> resource bundle.
|
|
159
168
|
*
|
|
160
169
|
* @since 1.98
|
|
161
170
|
*/
|
|
@@ -374,6 +383,32 @@ sap.ui.define([
|
|
|
374
383
|
oBundle.getText(sPrepend + IllustratedMessage.FALLBACK_TEXTS[this._sIllustrationType], null, true);
|
|
375
384
|
};
|
|
376
385
|
|
|
386
|
+
/**
|
|
387
|
+
* Helper method which decides if the title should be rendered.
|
|
388
|
+
* When it's empty it shouldn't take space in the DOM.
|
|
389
|
+
* @private
|
|
390
|
+
* @returns {boolean} whether or not the title should be rendered
|
|
391
|
+
*/
|
|
392
|
+
IllustratedMessage.prototype._shouldRenderTitle = function () {
|
|
393
|
+
return this._getTitle().getText().length !== 0;
|
|
394
|
+
};
|
|
395
|
+
|
|
396
|
+
/**
|
|
397
|
+
* Helper method which decides if the description should be rendered.
|
|
398
|
+
* When it's empty it shouldn't take space in the DOM.
|
|
399
|
+
* @private
|
|
400
|
+
* @returns {boolean} whether or not the description should be rendered
|
|
401
|
+
*/
|
|
402
|
+
IllustratedMessage.prototype._shouldRenderDescription = function () {
|
|
403
|
+
var oDescription = this._getDescription();
|
|
404
|
+
|
|
405
|
+
if (this.getEnableFormattedText()) {
|
|
406
|
+
return oDescription.getHtmlText().length !== 0;
|
|
407
|
+
} else {
|
|
408
|
+
return oDescription.getText().length !== 0;
|
|
409
|
+
}
|
|
410
|
+
};
|
|
411
|
+
|
|
377
412
|
/**
|
|
378
413
|
* Gets the correct aggregation for the description.
|
|
379
414
|
* If the enableFormattedText property is true, the function returns
|
|
@@ -386,9 +421,9 @@ sap.ui.define([
|
|
|
386
421
|
};
|
|
387
422
|
|
|
388
423
|
/**
|
|
389
|
-
* Gets content of the
|
|
424
|
+
* Gets content of the formattedText aggregation.
|
|
390
425
|
* @private
|
|
391
|
-
* @returns {sap.m.FormattedText}
|
|
426
|
+
* @returns {sap.m.FormattedText} The sap.m.FormattedText control instance
|
|
392
427
|
*/
|
|
393
428
|
IllustratedMessage.prototype._getFormattedText = function () {
|
|
394
429
|
var sDescription = this.getDescription(),
|
|
@@ -399,20 +434,20 @@ sap.ui.define([
|
|
|
399
434
|
this.setAggregation("_formattedText", oFormattedText);
|
|
400
435
|
}
|
|
401
436
|
|
|
402
|
-
if (sDescription) {
|
|
403
|
-
oFormattedText.setHtmlText(sDescription);
|
|
404
|
-
} else {
|
|
437
|
+
if (!sDescription && this.getEnableDefaultTitleAndDescription()) {
|
|
405
438
|
// Use default text for the description if applicable
|
|
406
439
|
oFormattedText.setHtmlText(this._getDefaultDescription());
|
|
440
|
+
} else {
|
|
441
|
+
oFormattedText.setHtmlText(sDescription);
|
|
407
442
|
}
|
|
408
443
|
|
|
409
444
|
return oFormattedText;
|
|
410
445
|
};
|
|
411
446
|
|
|
412
447
|
/**
|
|
413
|
-
* Gets content of the
|
|
448
|
+
* Gets content of the illustration aggregation.
|
|
414
449
|
* @private
|
|
415
|
-
* @returns {sap.m.Illustration}
|
|
450
|
+
* @returns {sap.m.Illustration} The sap.m.Illustration control instance
|
|
416
451
|
*/
|
|
417
452
|
IllustratedMessage.prototype._getIllustration = function () {
|
|
418
453
|
var oIllustration = this.getAggregation("_illustration");
|
|
@@ -433,7 +468,7 @@ sap.ui.define([
|
|
|
433
468
|
/**
|
|
434
469
|
* Gets content of the _text aggregation.
|
|
435
470
|
* @private
|
|
436
|
-
* @returns {sap.m.Text}
|
|
471
|
+
* @returns {sap.m.Text} The sap.m.Text control instance
|
|
437
472
|
*/
|
|
438
473
|
IllustratedMessage.prototype._getText = function () {
|
|
439
474
|
var sDescription = this.getDescription(),
|
|
@@ -444,11 +479,11 @@ sap.ui.define([
|
|
|
444
479
|
this.setAggregation("_text", oText);
|
|
445
480
|
}
|
|
446
481
|
|
|
447
|
-
if (sDescription) {
|
|
448
|
-
oText.setText(sDescription);
|
|
449
|
-
} else {
|
|
482
|
+
if (!sDescription && this.getEnableDefaultTitleAndDescription()) {
|
|
450
483
|
// Use default text for the description if applicable
|
|
451
484
|
oText.setText(this._getDefaultDescription());
|
|
485
|
+
} else {
|
|
486
|
+
oText.setText(sDescription);
|
|
452
487
|
}
|
|
453
488
|
|
|
454
489
|
return oText;
|
|
@@ -457,7 +492,7 @@ sap.ui.define([
|
|
|
457
492
|
/**
|
|
458
493
|
* Gets content of the _title aggregation.
|
|
459
494
|
* @private
|
|
460
|
-
* @returns {sap.m.Title}
|
|
495
|
+
* @returns {sap.m.Title} The sap.m.Title control instance
|
|
461
496
|
*/
|
|
462
497
|
IllustratedMessage.prototype._getTitle = function () {
|
|
463
498
|
var sTitle = this.getTitle(),
|
|
@@ -468,11 +503,11 @@ sap.ui.define([
|
|
|
468
503
|
this.setAggregation("_title", oTitle);
|
|
469
504
|
}
|
|
470
505
|
|
|
471
|
-
if (sTitle) {
|
|
472
|
-
oTitle.setText(sTitle);
|
|
473
|
-
} else {
|
|
506
|
+
if (!sTitle && this.getEnableDefaultTitleAndDescription()) {
|
|
474
507
|
// Use default text for the title if applicable
|
|
475
508
|
oTitle.setText(this._getDefaultTitle());
|
|
509
|
+
} else {
|
|
510
|
+
oTitle.setText(sTitle);
|
|
476
511
|
}
|
|
477
512
|
|
|
478
513
|
return oTitle;
|
|
@@ -527,6 +562,7 @@ sap.ui.define([
|
|
|
527
562
|
|
|
528
563
|
/**
|
|
529
564
|
* Caches the <code>IllustratedMessage</code> illustration set and illustration type in private instance variables.
|
|
565
|
+
* @param {string} sValue The Set-Type pair which should be stored
|
|
530
566
|
* @private
|
|
531
567
|
*/
|
|
532
568
|
IllustratedMessage.prototype._updateInternalIllustrationSetAndType = function (sValue) {
|
|
@@ -538,7 +574,7 @@ sap.ui.define([
|
|
|
538
574
|
|
|
539
575
|
/**
|
|
540
576
|
* Handles the resize event of the <code>IllustratedMessage</code>.
|
|
541
|
-
* @param {jQuery.Event} oEvent
|
|
577
|
+
* @param {jQuery.Event} oEvent The event object
|
|
542
578
|
* @private
|
|
543
579
|
*/
|
|
544
580
|
IllustratedMessage.prototype._onResize = function (oEvent) {
|
|
@@ -580,7 +616,7 @@ sap.ui.define([
|
|
|
580
616
|
|
|
581
617
|
/**
|
|
582
618
|
* It puts the appropriate classes on the control based on the current media size.
|
|
583
|
-
* @param {string} sCurrentMedia
|
|
619
|
+
* @param {string} sCurrentMedia The media currently being used
|
|
584
620
|
* @private
|
|
585
621
|
*/
|
|
586
622
|
IllustratedMessage.prototype._updateMediaStyle = function (sCurrentMedia) {
|
|
@@ -686,8 +722,8 @@ sap.ui.define([
|
|
|
686
722
|
/**
|
|
687
723
|
* Registers resize handler.
|
|
688
724
|
* @param {string} sHandler the handler ID
|
|
689
|
-
* @param {Object} oObject
|
|
690
|
-
* @param {Function} fnHandler
|
|
725
|
+
* @param {Object} oObject object on which the resize handler is being registered
|
|
726
|
+
* @param {Function} fnHandler the callback function for each resize
|
|
691
727
|
* @private
|
|
692
728
|
*/
|
|
693
729
|
IllustratedMessage.prototype._registerResizeHandler = function (sHandler, oObject, fnHandler) {
|
|
@@ -26,7 +26,9 @@ sap.ui.define([], function () {
|
|
|
26
26
|
sIllustratedMessageTitle = oIllustratedMessage._getTitle(),
|
|
27
27
|
sIllustratedMessageDescription = oIllustratedMessage._getDescription(),
|
|
28
28
|
aIllustratedMessageAdditionalContent = oIllustratedMessage.getAdditionalContent(),
|
|
29
|
-
bIllustratedMessageEnableVerticalResponsiveness = oIllustratedMessage.getEnableVerticalResponsiveness()
|
|
29
|
+
bIllustratedMessageEnableVerticalResponsiveness = oIllustratedMessage.getEnableVerticalResponsiveness(),
|
|
30
|
+
bRenderTitle = oIllustratedMessage._shouldRenderTitle(),
|
|
31
|
+
bRenderDescription = oIllustratedMessage._shouldRenderDescription();
|
|
30
32
|
|
|
31
33
|
// IllustratedMessage's Root DOM Element.
|
|
32
34
|
oRm.openStart("figure", oIllustratedMessage);
|
|
@@ -42,10 +44,16 @@ sap.ui.define([], function () {
|
|
|
42
44
|
|
|
43
45
|
oRm.renderControl(oIllustratedMessageIllustration);
|
|
44
46
|
|
|
45
|
-
|
|
46
|
-
oRm.
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
if (bRenderTitle || bRenderDescription) {
|
|
48
|
+
oRm.openStart("figcaption").openEnd();
|
|
49
|
+
if (bRenderTitle) {
|
|
50
|
+
oRm.renderControl(sIllustratedMessageTitle);
|
|
51
|
+
}
|
|
52
|
+
if (bRenderDescription) {
|
|
53
|
+
oRm.renderControl(sIllustratedMessageDescription.addStyleClass("sapMIllustratedMessageDescription"));
|
|
54
|
+
}
|
|
55
|
+
oRm.close("figcaption");
|
|
56
|
+
}
|
|
49
57
|
|
|
50
58
|
oRm.close("div"); // main content container end
|
|
51
59
|
|
package/src/sap/m/Image.js
CHANGED
package/src/sap/m/Input.js
CHANGED
|
@@ -157,7 +157,7 @@ function(
|
|
|
157
157
|
* @extends sap.m.InputBase
|
|
158
158
|
* @implements sap.ui.core.IAccessKeySupport
|
|
159
159
|
* @author SAP SE
|
|
160
|
-
* @version 1.
|
|
160
|
+
* @version 1.111.0
|
|
161
161
|
*
|
|
162
162
|
* @constructor
|
|
163
163
|
* @public
|
|
@@ -1274,7 +1274,7 @@ function(
|
|
|
1274
1274
|
* Sets a custom filter function for suggestions. The default is to check whether the first item text begins with the typed value. For one and two-value suggestions this callback function will operate on sap.ui.core.Item types, for tabular suggestions the function will operate on sap.m.ColumnListItem types.
|
|
1275
1275
|
*
|
|
1276
1276
|
* @public
|
|
1277
|
-
* @param {function} fnFilter The filter function is called when displaying suggestion items and has two input parameters: the first one is the string that is currently typed in the input field and the second one is the item that is being filtered. Returning true will add this item to the popup, returning false will not display it.
|
|
1277
|
+
* @param {function(string=, sap.ui.core.Item=, boolean=):boolean|undefined|function} fnFilter The filter function is called when displaying suggestion items and has two input parameters: the first one is the string that is currently typed in the input field and the second one is the item that is being filtered. Returning true will add this item to the popup, returning false will not display it.
|
|
1278
1278
|
* @returns {this} this pointer for chaining
|
|
1279
1279
|
* @since 1.16.1
|
|
1280
1280
|
*/
|
|
@@ -1312,7 +1312,7 @@ function(
|
|
|
1312
1312
|
* Sets a custom result filter function for tabular suggestions to select the text that is passed to the input field. Default is to check whether the first cell with a "text" property begins with the typed value. For one value and two-value suggestions this callback function is not called.
|
|
1313
1313
|
*
|
|
1314
1314
|
* @public
|
|
1315
|
-
* @param {function} fnFilter The result function is called with one parameter: the sap.m.ColumnListItem that is selected. The function must return a result string that will be displayed as the input field's value.
|
|
1315
|
+
* @param {function(string=, sap.ui.core.Item=, boolean=):boolean|undefined|function} fnFilter The result function is called with one parameter: the sap.m.ColumnListItem that is selected. The function must return a result string that will be displayed as the input field's value.
|
|
1316
1316
|
* @returns {this} this pointer for chaining
|
|
1317
1317
|
* @since 1.21.1
|
|
1318
1318
|
*/
|
|
@@ -1506,7 +1506,7 @@ function(
|
|
|
1506
1506
|
}
|
|
1507
1507
|
|
|
1508
1508
|
// Inform InputBase to fire the change event on Input only when focus doesn't go into the suggestion popup
|
|
1509
|
-
if (!bFocusInPopup
|
|
1509
|
+
if (!bFocusInPopup) {
|
|
1510
1510
|
InputBase.prototype.onsapfocusleave.apply(this, arguments);
|
|
1511
1511
|
}
|
|
1512
1512
|
|
|
@@ -2568,7 +2568,7 @@ function(
|
|
|
2568
2568
|
*
|
|
2569
2569
|
* @see sap.ui.core.Control#getAccessibilityInfo
|
|
2570
2570
|
* @protected
|
|
2571
|
-
* @returns {
|
|
2571
|
+
* @returns {sap.ui.core.AccessibilityInfo} Accessibility information.
|
|
2572
2572
|
*/
|
|
2573
2573
|
Input.prototype.getAccessibilityInfo = function() {
|
|
2574
2574
|
var oInfo = InputBase.prototype.getAccessibilityInfo.apply(this, arguments);
|
|
@@ -2773,7 +2773,7 @@ function(
|
|
|
2773
2773
|
return;
|
|
2774
2774
|
}
|
|
2775
2775
|
|
|
2776
|
-
aListItemsDomRef = oList.$().find('.sapMSLIInfo, .sapMSLITitleOnly');
|
|
2776
|
+
aListItemsDomRef = oList.$().find('.sapMSLIInfo [id$=-infoText], .sapMSLITitleOnly [id$=-titleText]');
|
|
2777
2777
|
sInputValue = this._bDoTypeAhead ? this._getTypedInValue() : this.getValue();
|
|
2778
2778
|
sInputValue = (sInputValue || "").toLowerCase();
|
|
2779
2779
|
|
|
@@ -3118,7 +3118,7 @@ function(
|
|
|
3118
3118
|
* Opens the <code>SuggestionsPopover</code> with the available items.
|
|
3119
3119
|
* <b>Note:</b> When <code>valueHelpOnly</code> property is set to true, the <code>SuggestionsPopover</code> will not open.
|
|
3120
3120
|
*
|
|
3121
|
-
* @param {function} fnFilter Function to filter the items shown in the SuggestionsPopover
|
|
3121
|
+
* @param {function|undefined} fnFilter Function to filter the items shown in the SuggestionsPopover
|
|
3122
3122
|
* @returns {void}
|
|
3123
3123
|
*
|
|
3124
3124
|
* @since 1.64
|