@openui5/sap.m 1.108.22 → 1.108.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +4 -4
- package/src/sap/m/.library +1 -1
- package/src/sap/m/AccButton.js +1 -1
- package/src/sap/m/ActionListItem.js +1 -1
- package/src/sap/m/ActionSelect.js +1 -1
- package/src/sap/m/ActionSheet.js +1 -1
- package/src/sap/m/ActionTile.js +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 +1 -1
- 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 +1 -1
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CheckBox.js +1 -1
- package/src/sap/m/ColorPalette.js +1 -1
- package/src/sap/m/ColorPalettePopover.js +1 -1
- package/src/sap/m/Column.js +1 -1
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +1 -1
- package/src/sap/m/ColumnPopoverActionItem.js +1 -1
- package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
- package/src/sap/m/ColumnPopoverItem.js +1 -1
- package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
- package/src/sap/m/ColumnPopoverSortItem.js +1 -1
- package/src/sap/m/ComboBox.js +1 -1
- package/src/sap/m/ComboBoxBase.js +1 -1
- package/src/sap/m/ComboBoxTextField.js +1 -1
- package/src/sap/m/CustomDynamicDateOption.js +1 -1
- package/src/sap/m/CustomListItem.js +1 -1
- package/src/sap/m/CustomTile.js +1 -1
- package/src/sap/m/CustomTreeItem.js +1 -1
- package/src/sap/m/DatePicker.js +1 -1
- package/src/sap/m/DateRangeSelection.js +2 -2
- package/src/sap/m/DateTimeField.js +1 -1
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +1 -1
- package/src/sap/m/Dialog.js +1 -1
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DraftIndicator.js +1 -1
- package/src/sap/m/DynamicDate.js +1 -1
- package/src/sap/m/DynamicDateOption.js +1 -1
- package/src/sap/m/DynamicDateRange.js +1 -1
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +1 -1
- package/src/sap/m/FacetFilter.js +1 -1
- package/src/sap/m/FacetFilterItem.js +1 -1
- package/src/sap/m/FacetFilterList.js +1 -1
- package/src/sap/m/FeedContent.js +1 -1
- package/src/sap/m/FeedInput.js +1 -1
- package/src/sap/m/FeedListItem.js +1 -1
- package/src/sap/m/FeedListItemAction.js +1 -1
- package/src/sap/m/Fiori20Adapter.js +2 -2
- package/src/sap/m/FlexBox.js +1 -1
- package/src/sap/m/FlexItemData.js +1 -1
- package/src/sap/m/FormattedText.js +1 -1
- package/src/sap/m/GenericTag.js +1 -1
- package/src/sap/m/GenericTile.js +1 -1
- package/src/sap/m/GroupHeaderListItem.js +2 -2
- package/src/sap/m/GrowingEnablement.js +13 -3
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +1 -1
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +1 -1
- package/src/sap/m/IconTabBarSelectList.js +1 -1
- package/src/sap/m/IconTabFilter.js +1 -1
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +1 -1
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/IllustratedMessage.js +1 -1
- package/src/sap/m/Illustration.js +1 -1
- package/src/sap/m/Image.js +1 -1
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/Input.js +58 -6
- package/src/sap/m/InputBase.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 +2 -8
- package/src/sap/m/ListItemBase.js +2 -2
- package/src/sap/m/ListItemBaseRenderer.js +2 -2
- package/src/sap/m/MaskEnabler.js +1 -1
- package/src/sap/m/MaskInput.js +1 -1
- package/src/sap/m/MaskInputRule.js +1 -1
- package/src/sap/m/Menu.js +1 -1
- package/src/sap/m/MenuButton.js +1 -1
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuListItem.js +1 -1
- package/src/sap/m/MessageItem.js +1 -1
- package/src/sap/m/MessageListItem.js +1 -1
- package/src/sap/m/MessagePage.js +1 -1
- package/src/sap/m/MessagePopover.js +1 -1
- package/src/sap/m/MessagePopoverItem.js +1 -1
- package/src/sap/m/MessageStrip.js +1 -1
- package/src/sap/m/MessageToast.js +1 -1
- package/src/sap/m/MessageView.js +1 -1
- package/src/sap/m/MultiComboBox.js +1 -1
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +1 -1
- package/src/sap/m/NavContainer.js +1 -1
- package/src/sap/m/NewsContent.js +1 -1
- package/src/sap/m/NotificationList.js +1 -1
- package/src/sap/m/NotificationListBase.js +1 -1
- package/src/sap/m/NotificationListGroup.js +1 -1
- package/src/sap/m/NotificationListItem.js +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 +1 -1
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- package/src/sap/m/OverflowToolbarButton.js +1 -1
- package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
- package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
- package/src/sap/m/P13nAnyFilterItem.js +1 -1
- package/src/sap/m/P13nColumnsItem.js +1 -1
- package/src/sap/m/P13nColumnsPanel.js +1 -1
- package/src/sap/m/P13nConditionPanel.js +1 -1
- package/src/sap/m/P13nDialog.js +1 -1
- package/src/sap/m/P13nDimMeasureItem.js +1 -1
- package/src/sap/m/P13nDimMeasurePanel.js +1 -1
- package/src/sap/m/P13nFilterItem.js +1 -1
- package/src/sap/m/P13nFilterPanel.js +1 -1
- package/src/sap/m/P13nGroupItem.js +1 -1
- package/src/sap/m/P13nGroupPanel.js +1 -1
- package/src/sap/m/P13nItem.js +1 -1
- package/src/sap/m/P13nPanel.js +1 -1
- package/src/sap/m/P13nSelectionItem.js +1 -1
- package/src/sap/m/P13nSelectionPanel.js +1 -1
- package/src/sap/m/P13nSortItem.js +1 -1
- package/src/sap/m/P13nSortPanel.js +1 -1
- package/src/sap/m/PDFViewer.js +1 -1
- package/src/sap/m/Page.js +1 -1
- package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/m/PagingButton.js +1 -1
- package/src/sap/m/Panel.js +1 -1
- package/src/sap/m/PlanningCalendar.js +1 -1
- package/src/sap/m/PlanningCalendarHeader.js +1 -1
- package/src/sap/m/PlanningCalendarLegend.js +1 -1
- package/src/sap/m/PlanningCalendarRow.js +1 -1
- package/src/sap/m/PlanningCalendarView.js +1 -1
- package/src/sap/m/Popover.js +1 -1
- package/src/sap/m/ProgressIndicator.js +1 -1
- package/src/sap/m/PullToRefresh.js +1 -1
- package/src/sap/m/QuickView.js +1 -1
- package/src/sap/m/QuickViewBase.js +1 -1
- package/src/sap/m/QuickViewCard.js +1 -1
- package/src/sap/m/QuickViewGroup.js +1 -1
- package/src/sap/m/QuickViewGroupElement.js +1 -1
- package/src/sap/m/QuickViewPage.js +1 -1
- package/src/sap/m/RadioButton.js +1 -1
- package/src/sap/m/RadioButtonGroup.js +1 -1
- package/src/sap/m/RangeSlider.js +1 -1
- package/src/sap/m/RatingIndicator.js +1 -1
- package/src/sap/m/ResponsivePopover.js +1 -1
- package/src/sap/m/ResponsiveScale.js +1 -1
- package/src/sap/m/ScrollBar.js +1 -1
- package/src/sap/m/ScrollContainer.js +1 -1
- package/src/sap/m/SearchField.js +1 -1
- package/src/sap/m/SegmentedButton.js +1 -1
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +1 -1
- package/src/sap/m/SelectDialog.js +1 -1
- package/src/sap/m/SelectDialogBase.js +1 -1
- package/src/sap/m/SelectList.js +1 -1
- package/src/sap/m/SelectionDetails.js +1 -1
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +1 -1
- package/src/sap/m/SelectionDetailsItemLine.js +1 -1
- package/src/sap/m/Shell.js +1 -1
- package/src/sap/m/SimpleFixFlex.js +1 -1
- package/src/sap/m/SinglePlanningCalendar.js +1 -1
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +1 -1
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -1
- package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
- package/src/sap/m/SlideTile.js +1 -1
- package/src/sap/m/Slider.js +1 -1
- package/src/sap/m/SliderTooltip.js +1 -1
- package/src/sap/m/SliderTooltipBase.js +1 -1
- package/src/sap/m/SliderTooltipContainer.js +1 -1
- package/src/sap/m/SplitApp.js +1 -1
- package/src/sap/m/SplitButton.js +1 -1
- package/src/sap/m/SplitContainer.js +1 -1
- package/src/sap/m/StandardDynamicDateOption.js +1 -1
- package/src/sap/m/StandardListItem.js +1 -1
- package/src/sap/m/StandardTile.js +1 -1
- package/src/sap/m/StandardTreeItem.js +1 -1
- package/src/sap/m/StepInput.js +1 -1
- package/src/sap/m/SuggestionItem.js +1 -1
- package/src/sap/m/SuggestionsPopover.js +1 -1
- package/src/sap/m/Switch.js +1 -1
- package/src/sap/m/TabContainer.js +1 -1
- package/src/sap/m/TabContainerItem.js +1 -1
- package/src/sap/m/TabStrip.js +1 -1
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +8 -7
- 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 +1 -1
- package/src/sap/m/Text.js +1 -1
- package/src/sap/m/TextArea.js +1 -1
- package/src/sap/m/Tile.js +1 -1
- package/src/sap/m/TileContainer.js +1 -1
- package/src/sap/m/TileContent.js +1 -1
- package/src/sap/m/TimePicker.js +1 -1
- package/src/sap/m/TimePickerClock.js +1 -1
- package/src/sap/m/TimePickerClocks.js +1 -1
- package/src/sap/m/TimePickerInputs.js +1 -1
- package/src/sap/m/TimePickerInternals.js +1 -1
- package/src/sap/m/TimePickerSlider.js +1 -1
- package/src/sap/m/TimePickerSliders.js +1 -1
- package/src/sap/m/Title.js +1 -1
- package/src/sap/m/TitlePropagationSupport.js +1 -1
- package/src/sap/m/ToggleButton.js +1 -1
- package/src/sap/m/Token.js +1 -1
- package/src/sap/m/Tokenizer.js +1 -1
- package/src/sap/m/Toolbar.js +1 -1
- package/src/sap/m/ToolbarLayoutData.js +1 -1
- package/src/sap/m/ToolbarSeparator.js +1 -1
- package/src/sap/m/ToolbarSpacer.js +1 -1
- package/src/sap/m/Tree.js +1 -1
- package/src/sap/m/TreeItemBase.js +1 -1
- package/src/sap/m/TreeRenderer.js +4 -0
- package/src/sap/m/UploadCollection.js +1 -1
- package/src/sap/m/UploadCollectionItem.js +1 -1
- package/src/sap/m/UploadCollectionParameter.js +1 -1
- package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
- package/src/sap/m/VBox.js +1 -1
- package/src/sap/m/ValueStateHeader.js +1 -1
- package/src/sap/m/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +1 -1
- package/src/sap/m/ViewSettingsFilterItem.js +1 -1
- package/src/sap/m/ViewSettingsItem.js +1 -1
- package/src/sap/m/VisibleItem.js +1 -1
- package/src/sap/m/WheelSlider.js +1 -1
- package/src/sap/m/WheelSliderContainer.js +1 -1
- package/src/sap/m/Wizard.js +1 -1
- package/src/sap/m/WizardProgressNavigator.js +1 -1
- package/src/sap/m/WizardStep.js +1 -1
- package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
- package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
- package/src/sap/m/changeHandler/CombineButtons.js +1 -1
- package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
- package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
- package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
- package/src/sap/m/designtime/Dialog.designtime.js +3 -1
- package/src/sap/m/designtime/SearchField.designtime.js +8 -0
- package/src/sap/m/library.js +6 -2
- package/src/sap/m/messagebundle.properties +5 -2
- package/src/sap/m/messagebundle_en.properties +1047 -1
- package/src/sap/m/p13n/AbstractContainer.js +2 -2
- package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
- package/src/sap/m/p13n/BasePanel.js +1 -1
- package/src/sap/m/p13n/Container.js +1 -1
- package/src/sap/m/p13n/Engine.js +2 -2
- package/src/sap/m/p13n/GroupController.js +1 -1
- package/src/sap/m/p13n/GroupPanel.js +1 -1
- package/src/sap/m/p13n/Popup.js +1 -1
- package/src/sap/m/p13n/QueryPanel.js +1 -1
- package/src/sap/m/p13n/SelectionController.js +1 -1
- package/src/sap/m/p13n/SelectionPanel.js +1 -1
- package/src/sap/m/p13n/SortController.js +1 -1
- package/src/sap/m/p13n/SortPanel.js +1 -1
- package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -1
- package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
- package/src/sap/m/p13n/modules/UIManager.js +1 -1
- package/src/sap/m/plugins/CellSelector.js +1 -1
- package/src/sap/m/plugins/ColumnResizer.js +1 -1
- package/src/sap/m/plugins/DataStateIndicator.js +1 -1
- package/src/sap/m/plugins/PasteProvider.js +1 -1
- package/src/sap/m/plugins/PluginBase.js +1 -1
- package/src/sap/m/semantic/AddAction.js +1 -1
- package/src/sap/m/semantic/CancelAction.js +1 -1
- package/src/sap/m/semantic/DeleteAction.js +1 -1
- package/src/sap/m/semantic/DetailPage.js +1 -1
- package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
- package/src/sap/m/semantic/EditAction.js +1 -1
- package/src/sap/m/semantic/FavoriteAction.js +1 -1
- package/src/sap/m/semantic/FilterAction.js +1 -1
- package/src/sap/m/semantic/FilterSelect.js +1 -1
- package/src/sap/m/semantic/FlagAction.js +1 -1
- package/src/sap/m/semantic/ForwardAction.js +1 -1
- package/src/sap/m/semantic/FullscreenPage.js +1 -1
- package/src/sap/m/semantic/GroupAction.js +1 -1
- package/src/sap/m/semantic/GroupSelect.js +1 -1
- package/src/sap/m/semantic/MainAction.js +1 -1
- package/src/sap/m/semantic/MasterPage.js +1 -1
- package/src/sap/m/semantic/MessagesIndicator.js +1 -1
- package/src/sap/m/semantic/MultiSelectAction.js +1 -1
- package/src/sap/m/semantic/NegativeAction.js +1 -1
- package/src/sap/m/semantic/OpenInAction.js +1 -1
- package/src/sap/m/semantic/PositiveAction.js +1 -1
- package/src/sap/m/semantic/PrintAction.js +1 -1
- package/src/sap/m/semantic/SaveAction.js +1 -1
- package/src/sap/m/semantic/Segment.js +1 -1
- package/src/sap/m/semantic/SegmentedContainer.js +1 -1
- package/src/sap/m/semantic/SemanticButton.js +1 -1
- package/src/sap/m/semantic/SemanticConfiguration.js +1 -1
- package/src/sap/m/semantic/SemanticControl.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
- package/src/sap/m/semantic/SemanticPage.js +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 +1 -1
- package/src/sap/m/table/columnmenu/Entry.js +1 -1
- package/src/sap/m/table/columnmenu/Item.js +1 -1
- package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
- package/src/sap/m/table/columnmenu/Menu.js +1 -1
- package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionBase.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickGroup.js +1 -1
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
- package/src/sap/m/themes/base/FormattedText.less +5 -0
- package/src/sap/m/themes/base/Table.less +1 -1
- package/src/sap/m/upload/UploadSet.js +1 -1
- package/src/sap/m/upload/UploadSetItem.js +1 -1
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
package/src/sap/m/GenericTile.js
CHANGED
|
@@ -30,7 +30,7 @@ sap.ui.define(["sap/ui/core/library", "./library", "./ListItemBase", "./GroupHea
|
|
|
30
30
|
* @extends sap.m.ListItemBase
|
|
31
31
|
*
|
|
32
32
|
* @author SAP SE
|
|
33
|
-
* @version 1.108.
|
|
33
|
+
* @version 1.108.23
|
|
34
34
|
*
|
|
35
35
|
* @constructor
|
|
36
36
|
* @public
|
|
@@ -103,7 +103,7 @@ sap.ui.define(["sap/ui/core/library", "./library", "./ListItemBase", "./GroupHea
|
|
|
103
103
|
};
|
|
104
104
|
|
|
105
105
|
GroupHeaderListItem.prototype.getAccessibilityType = function(oBundle) {
|
|
106
|
-
var sType = this.getTable() ? "ROW" : "
|
|
106
|
+
var sType = this.getTable() ? "ROW" : "LISTITEM";
|
|
107
107
|
return oBundle.getText("LIST_ITEM_GROUP_HEADER") + " " + oBundle.getText("ACC_CTR_TYPE_" + sType);
|
|
108
108
|
};
|
|
109
109
|
|
|
@@ -289,9 +289,18 @@ sap.ui.define([
|
|
|
289
289
|
oEvent.preventDefault();
|
|
290
290
|
},
|
|
291
291
|
onsapspace : function(oEvent) {
|
|
292
|
-
this.
|
|
292
|
+
this._bSpaceKeyPressed = true;
|
|
293
|
+
this._oTrigger.setActive(true);
|
|
293
294
|
oEvent.preventDefault();
|
|
294
295
|
},
|
|
296
|
+
onkeydown : function(oEvent) {
|
|
297
|
+
this._bSpaceKeyCancelled = this._bSpaceKeyCancelled || (oEvent.shiftKey || oEvent.which == 27 /** KeyCodes.ESCAPE */);
|
|
298
|
+
},
|
|
299
|
+
onkeyup: function(oEvent) {
|
|
300
|
+
this._bSpaceKeyPressed && !this._bSpaceKeyCancelled && this.requestNewPage();
|
|
301
|
+
this._bSpaceKeyPressed = this._bSpaceKeyCancelled = false;
|
|
302
|
+
this._oTrigger.setActive(false);
|
|
303
|
+
},
|
|
295
304
|
onAfterRendering : function(oEvent) {
|
|
296
305
|
var $oTrigger = this._oTrigger.$();
|
|
297
306
|
// aria-selected is added as the CustomListItem type="Active"
|
|
@@ -800,12 +809,13 @@ sap.ui.define([
|
|
|
800
809
|
oControl.$("triggerList").css("display", "none");
|
|
801
810
|
oControl.$("listUl").removeClass("sapMListHasGrowing");
|
|
802
811
|
} else {
|
|
812
|
+
var oBundle = Core.getLibraryResourceBundle("sap.m");
|
|
803
813
|
if (bLengthFinal) {
|
|
804
814
|
oControl.$("triggerInfo").css("display", "block").text(this._getListItemInfo());
|
|
805
815
|
var aCounts = this._getItemCounts();
|
|
806
|
-
oControl.$("triggerMessage").text(
|
|
816
|
+
oControl.$("triggerMessage").text(oBundle.getText(oControl.isA("sap.m.Table") ? "LOAD_MORE_ROWS_ACC_WITH_COUNT" : "LOAD_MORE_DATA_ACC_WITH_COUNT", aCounts));
|
|
807
817
|
} else {
|
|
808
|
-
oControl.$("triggerMessage").text(
|
|
818
|
+
oControl.$("triggerMessage").text(oBundle.getText("LOAD_MORE_DATA_ACC"));
|
|
809
819
|
}
|
|
810
820
|
|
|
811
821
|
oControl.$("triggerList").css("display", "");
|
package/src/sap/m/GrowingList.js
CHANGED
package/src/sap/m/HBox.js
CHANGED
package/src/sap/m/IconTabBar.js
CHANGED
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.108.
|
|
160
|
+
* @version 1.108.23
|
|
161
161
|
*
|
|
162
162
|
* @constructor
|
|
163
163
|
* @public
|
|
@@ -610,6 +610,7 @@ function(
|
|
|
610
610
|
// phase of the life cycle. Without this line, initially the condition fails and fires liveChange event
|
|
611
611
|
// even though there is no user input (check Input.prototype.onsapright).
|
|
612
612
|
this._setTypedInValue("");
|
|
613
|
+
this._bDoTypeAhead = false;
|
|
613
614
|
|
|
614
615
|
|
|
615
616
|
// indicates whether input is clicked (on mobile) or the clear button
|
|
@@ -2034,6 +2035,14 @@ function(
|
|
|
2034
2035
|
return this;
|
|
2035
2036
|
};
|
|
2036
2037
|
|
|
2038
|
+
Input.prototype.updateSuggestionRows = function () {
|
|
2039
|
+
this._bSuspendInvalidate = true;
|
|
2040
|
+
this.updateAggregation("suggestionRows");
|
|
2041
|
+
this._synchronizeSuggestions();
|
|
2042
|
+
this._bSuspendInvalidate = false;
|
|
2043
|
+
return this;
|
|
2044
|
+
};
|
|
2045
|
+
|
|
2037
2046
|
/**
|
|
2038
2047
|
* Inserts suggestion item.
|
|
2039
2048
|
*
|
|
@@ -2197,6 +2206,29 @@ function(
|
|
|
2197
2206
|
}
|
|
2198
2207
|
};
|
|
2199
2208
|
|
|
2209
|
+
/**
|
|
2210
|
+
* We check both the main and the inner (mobile) input for stored typeahead information
|
|
2211
|
+
* as the _handleTypeAhead could be called in both contexts depending on the different cases.
|
|
2212
|
+
*
|
|
2213
|
+
* For example when we have delayed (dynamically) loaded items on mobile devices the typeahead
|
|
2214
|
+
* information is stored on the inner dialog's input on user interaction, but when the items
|
|
2215
|
+
* are updated it is async and the typeahead is handled by the main sap.m.Input instance
|
|
2216
|
+
*
|
|
2217
|
+
* @param {sap.m.Input} oInput Input's instance to which the type ahead would be applied. For example: this OR Dialog's Input instance.
|
|
2218
|
+
* @returns {null|boolean} Should type-ahead be performed or null if no type-ahead info is available.
|
|
2219
|
+
* @private
|
|
2220
|
+
*/
|
|
2221
|
+
Input.prototype._getEffectiveTypeAhead = function () {
|
|
2222
|
+
var oSuggestionsPopover = this._getSuggestionsPopover();
|
|
2223
|
+
var oPopupInput = oSuggestionsPopover && oSuggestionsPopover.getInput();
|
|
2224
|
+
|
|
2225
|
+
if (!this.isMobileDevice() || this._bDoTypeAhead !== null) {
|
|
2226
|
+
return this._bDoTypeAhead && document.activeElement === this.getFocusDomRef();
|
|
2227
|
+
}
|
|
2228
|
+
|
|
2229
|
+
return oPopupInput._bDoTypeAhead && (!!oPopupInput && document.activeElement === oPopupInput.getFocusDomRef());
|
|
2230
|
+
};
|
|
2231
|
+
|
|
2200
2232
|
/**
|
|
2201
2233
|
* Handles Input's specific type ahead logic.
|
|
2202
2234
|
*
|
|
@@ -2210,6 +2242,7 @@ function(
|
|
|
2210
2242
|
value: "",
|
|
2211
2243
|
selectedItem: null
|
|
2212
2244
|
};
|
|
2245
|
+
var bDoTypeAhead = this._getEffectiveTypeAhead();
|
|
2213
2246
|
|
|
2214
2247
|
// check if typeahead is already performed
|
|
2215
2248
|
if ((oInput && oInput.getValue().toLowerCase()) === (this._getProposedItemText() && this._getProposedItemText().toLowerCase())) {
|
|
@@ -2219,9 +2252,7 @@ function(
|
|
|
2219
2252
|
this._setTypedInValue(sValue);
|
|
2220
2253
|
oInput._setProposedItemText(null);
|
|
2221
2254
|
|
|
2222
|
-
if (!
|
|
2223
|
-
sValue.length < this.getStartSuggestion() || document.activeElement !== this.getFocusDomRef()) {
|
|
2224
|
-
|
|
2255
|
+
if (!bDoTypeAhead) {
|
|
2225
2256
|
return;
|
|
2226
2257
|
}
|
|
2227
2258
|
|
|
@@ -2243,6 +2274,10 @@ function(
|
|
|
2243
2274
|
|
|
2244
2275
|
oInput._setProposedItemText(mTypeAheadInfo.value);
|
|
2245
2276
|
|
|
2277
|
+
// This method could be called multiple times in cases when the items are loaded with delay (dynamically)
|
|
2278
|
+
// and also in the context of the dialog's inner input when on mobile so we have to keep the typeahead info
|
|
2279
|
+
this._mTypeAheadInfo = mTypeAheadInfo;
|
|
2280
|
+
|
|
2246
2281
|
return mTypeAheadInfo;
|
|
2247
2282
|
};
|
|
2248
2283
|
|
|
@@ -2414,7 +2449,7 @@ function(
|
|
|
2414
2449
|
return;
|
|
2415
2450
|
}
|
|
2416
2451
|
|
|
2417
|
-
aTableCellsDomRef = oSuggestionsTable.$().find('tbody .sapMLabel');
|
|
2452
|
+
aTableCellsDomRef = oSuggestionsTable.$().find('tbody .sapMText, tbody .sapMLabel');
|
|
2418
2453
|
|
|
2419
2454
|
highlightDOMElements(aTableCellsDomRef, this._getTypedInValue());
|
|
2420
2455
|
}
|
|
@@ -3249,7 +3284,24 @@ function(
|
|
|
3249
3284
|
*/
|
|
3250
3285
|
Input.prototype._getFilteredSuggestionItems = function (sValue) {
|
|
3251
3286
|
var oFilterResults,
|
|
3252
|
-
|
|
3287
|
+
oSuggestionsPopover = this._getSuggestionsPopover(),
|
|
3288
|
+
oList = oSuggestionsPopover.getItemsContainer(),
|
|
3289
|
+
oPopupInput = oSuggestionsPopover && oSuggestionsPopover.getInput(),
|
|
3290
|
+
bDoTypeAhead = false;
|
|
3291
|
+
|
|
3292
|
+
// Check if the typeahead should be performed in case of newly fetched items
|
|
3293
|
+
// We check both the main input and the input of the inner dialog when on mobile devices
|
|
3294
|
+
// because type ahead handling is being called in both context depending on whether it
|
|
3295
|
+
// is called after input event or newly loaded items
|
|
3296
|
+
if (this.isMobileDevice()) {
|
|
3297
|
+
bDoTypeAhead = (!oPopupInput._getProposedItemText() && !oPopupInput._mTypeAheadInfo) || (oPopupInput._mTypeAheadInfo && !oPopupInput._mTypeAheadInfo.value);
|
|
3298
|
+
} else {
|
|
3299
|
+
bDoTypeAhead = (this._getProposedItemText() && !this._mTypeAheadInfo) || (this._mTypeAheadInfo && !this._mTypeAheadInfo.value);
|
|
3300
|
+
}
|
|
3301
|
+
|
|
3302
|
+
if (bDoTypeAhead) {
|
|
3303
|
+
this._handleTypeAhead(this);
|
|
3304
|
+
}
|
|
3253
3305
|
|
|
3254
3306
|
if (this._hasTabularSuggestions()) {
|
|
3255
3307
|
// show list on phone (is hidden when search string is empty)
|
package/src/sap/m/InputBase.js
CHANGED
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
|
@@ -92,7 +92,7 @@ function(
|
|
|
92
92
|
* @extends sap.ui.core.Control
|
|
93
93
|
*
|
|
94
94
|
* @author SAP SE
|
|
95
|
-
* @version 1.108.
|
|
95
|
+
* @version 1.108.23
|
|
96
96
|
*
|
|
97
97
|
* @constructor
|
|
98
98
|
* @public
|
|
@@ -2054,13 +2054,7 @@ function(
|
|
|
2054
2054
|
// prepare the announcement for the screen reader
|
|
2055
2055
|
var oAccInfo = oItem.getAccessibilityInfo(),
|
|
2056
2056
|
oBundle = Core.getLibraryResourceBundle("sap.m"),
|
|
2057
|
-
sDescription = "";
|
|
2058
|
-
|
|
2059
|
-
// when items have the role="listitem", aria-roledescription attribute containing the "type" info is already added to DOM,
|
|
2060
|
-
// hence there is no need to add this information again to the custom announcement
|
|
2061
|
-
if (this.getAriaRole() !== "list") {
|
|
2062
|
-
sDescription += oAccInfo.type + " . ";
|
|
2063
|
-
}
|
|
2057
|
+
sDescription = oAccInfo.type + " . ";
|
|
2064
2058
|
|
|
2065
2059
|
if (this.isA("sap.m.Table")) {
|
|
2066
2060
|
var mPosition = this.getAccessbilityPosition(oItem);
|
|
@@ -78,7 +78,7 @@ function(
|
|
|
78
78
|
* @extends sap.ui.core.Control
|
|
79
79
|
*
|
|
80
80
|
* @author SAP SE
|
|
81
|
-
* @version 1.108.
|
|
81
|
+
* @version 1.108.23
|
|
82
82
|
*
|
|
83
83
|
* @constructor
|
|
84
84
|
* @public
|
|
@@ -394,7 +394,7 @@ function(
|
|
|
394
394
|
};
|
|
395
395
|
|
|
396
396
|
ListItemBase.prototype.getAccessibilityType = function(oBundle) {
|
|
397
|
-
return oBundle.getText("
|
|
397
|
+
return this.getListProperty("ariaRole") == "list" ? oBundle.getText("ACC_CTR_TYPE_LISTITEM") : "";
|
|
398
398
|
};
|
|
399
399
|
|
|
400
400
|
ListItemBase.prototype.getGroupAnnouncement = function() {
|
|
@@ -285,8 +285,7 @@ sap.ui.define(["./library", "sap/ui/core/Core", "sap/ui/Device", "sap/ui/core/In
|
|
|
285
285
|
sAriaDescribedBy = this.getAriaDescribedBy(oLI),
|
|
286
286
|
sRole = this.getAriaRole(oLI),
|
|
287
287
|
mAccessibilityState = {
|
|
288
|
-
role: sRole
|
|
289
|
-
roledescription: sRole === "listitem" ? oLI.getAccessibilityType(Core.getLibraryResourceBundle("sap.m")) : null
|
|
288
|
+
role: sRole
|
|
290
289
|
};
|
|
291
290
|
|
|
292
291
|
if (sAriaLabelledBy) {
|
|
@@ -311,6 +310,7 @@ sap.ui.define(["./library", "sap/ui/core/Core", "sap/ui/Device", "sap/ui/core/In
|
|
|
311
310
|
mAccessibilityState.selected = null;
|
|
312
311
|
if (oLI.isGroupHeader()) {
|
|
313
312
|
mAccessibilityState.role = "group";
|
|
313
|
+
mAccessibilityState.roledescription = oLI.getAccessibilityType(Core.getLibraryResourceBundle("sap.m"));
|
|
314
314
|
var aGroupedItems = oLI.getGroupedItems();
|
|
315
315
|
if (aGroupedItems && aGroupedItems.length) {
|
|
316
316
|
mAccessibilityState.owns = aGroupedItems.join(" ");
|
package/src/sap/m/MaskEnabler.js
CHANGED
package/src/sap/m/MaskInput.js
CHANGED
package/src/sap/m/Menu.js
CHANGED
package/src/sap/m/MenuButton.js
CHANGED
package/src/sap/m/MenuItem.js
CHANGED
package/src/sap/m/MessageItem.js
CHANGED
package/src/sap/m/MessagePage.js
CHANGED
|
@@ -72,7 +72,7 @@ sap.ui.define([
|
|
|
72
72
|
* 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.
|
|
73
73
|
*
|
|
74
74
|
* @author SAP SE
|
|
75
|
-
* @version 1.108.
|
|
75
|
+
* @version 1.108.23
|
|
76
76
|
*
|
|
77
77
|
* @namespace
|
|
78
78
|
* @public
|
package/src/sap/m/MessageView.js
CHANGED
|
@@ -112,7 +112,7 @@ sap.ui.define([
|
|
|
112
112
|
* The responsiveness of the <code>MessageView</code> is determined by the container in which it is embedded. For that reason the control could not be visualized if the
|
|
113
113
|
* container’s sizes are not defined.
|
|
114
114
|
* @author SAP SE
|
|
115
|
-
* @version 1.108.
|
|
115
|
+
* @version 1.108.23
|
|
116
116
|
*
|
|
117
117
|
* @extends sap.ui.core.Control
|
|
118
118
|
* @constructor
|
|
@@ -17,7 +17,7 @@ sap.ui.define(["sap/ui/core/XMLComposite", "./library", "sap/ui/core/Item"], fun
|
|
|
17
17
|
* @implements sap.ui.core.IFormContent
|
|
18
18
|
*
|
|
19
19
|
* @author SAP SE
|
|
20
|
-
* @version 1.108.
|
|
20
|
+
* @version 1.108.23
|
|
21
21
|
* @experimental since 1.52
|
|
22
22
|
* @since 1.52.0
|
|
23
23
|
* @alias sap.m.MultiEditField
|
package/src/sap/m/MultiInput.js
CHANGED