@openui5/sap.m 1.141.1 → 1.142.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/REUSE.toml +38 -0
- package/THIRDPARTY.txt +34 -1
- package/package.json +4 -4
- package/src/sap/m/.library +1 -1
- package/src/sap/m/AccButton.js +1 -1
- package/src/sap/m/ActionListItem.js +1 -1
- package/src/sap/m/ActionSelect.js +1 -1
- package/src/sap/m/ActionSheet.js +1 -1
- package/src/sap/m/ActionTile.js +1 -1
- package/src/sap/m/ActionTileContent.js +1 -1
- package/src/sap/m/AdditionalTextButton.js +1 -1
- package/src/sap/m/App.js +1 -1
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +136 -43
- package/src/sap/m/AvatarRenderer.js +1 -1
- package/src/sap/m/Bar.js +6 -45
- package/src/sap/m/Breadcrumbs.js +1 -2
- package/src/sap/m/BusyDialog.js +1 -1
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +1 -1
- package/src/sap/m/ButtonRenderer.js +0 -1
- package/src/sap/m/Carousel.js +8 -9
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CarouselRenderer.js +40 -22
- package/src/sap/m/CheckBox.js +1 -1
- package/src/sap/m/ColorPalette.js +1 -1
- package/src/sap/m/ColorPalettePopover.js +1 -1
- package/src/sap/m/Column.js +1 -1
- package/src/sap/m/ColumnListItem.js +10 -4
- package/src/sap/m/ColumnListItemRenderer.js +4 -4
- package/src/sap/m/ComboBox.js +1 -1
- package/src/sap/m/ComboBoxBase.js +1 -1
- package/src/sap/m/ComboBoxTextField.js +1 -1
- package/src/sap/m/ContentConfig.js +1 -1
- package/src/sap/m/CustomListItem.js +1 -1
- package/src/sap/m/CustomTile.js +1 -1
- package/src/sap/m/CustomTreeItem.js +1 -1
- package/src/sap/m/DatePicker.js +1 -1
- package/src/sap/m/DateRangeSelection.js +2 -2
- package/src/sap/m/DateTimeField.js +1 -1
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +1 -1
- package/src/sap/m/Dialog.js +42 -27
- package/src/sap/m/DialogRenderer.js +2 -0
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DraftIndicator.js +1 -1
- package/src/sap/m/DynamicDate.js +1 -1
- package/src/sap/m/DynamicDateOption.js +1 -1
- package/src/sap/m/DynamicDateRange.js +1 -1
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +1 -1
- package/src/sap/m/FacetFilter.js +1 -1
- package/src/sap/m/FacetFilterItem.js +1 -1
- package/src/sap/m/FacetFilterList.js +1 -1
- package/src/sap/m/FeedContent.js +1 -1
- package/src/sap/m/FeedInput.js +1 -1
- package/src/sap/m/FeedListItem.js +1 -1
- package/src/sap/m/FeedListItemAction.js +1 -1
- package/src/sap/m/FeedListItemRenderer.js +14 -13
- package/src/sap/m/Fiori20Adapter.js +2 -2
- package/src/sap/m/FlexBox.js +1 -1
- package/src/sap/m/FlexItemData.js +1 -1
- package/src/sap/m/FormattedText.js +1 -1
- package/src/sap/m/GenericTag.js +1 -1
- package/src/sap/m/GenericTile.js +1 -1
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +1 -1
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +1 -1
- package/src/sap/m/IconTabBarSelectList.js +1 -1
- package/src/sap/m/IconTabFilter.js +1 -1
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +3 -1
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/IllustratedMessage.js +1 -1
- package/src/sap/m/Illustration.js +1 -1
- package/src/sap/m/Image.js +1 -1
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/Input.js +1 -1
- package/src/sap/m/InputBase.js +2 -2
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/Label.js +1 -1
- package/src/sap/m/LightBox.js +1 -1
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/Link.js +1 -1
- package/src/sap/m/LinkTileContent.js +1 -1
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +19 -14
- package/src/sap/m/ListItemAction.js +1 -1
- package/src/sap/m/ListItemActionBase.js +1 -1
- package/src/sap/m/ListItemBase.js +18 -1
- package/src/sap/m/MaskEnabler.js +1 -1
- package/src/sap/m/MaskInput.js +1 -1
- package/src/sap/m/MaskInputRule.js +1 -1
- package/src/sap/m/Menu.js +1 -1
- package/src/sap/m/MenuButton.js +1 -1
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuItemGroup.js +1 -1
- package/src/sap/m/MenuListItem.js +1 -1
- package/src/sap/m/MenuWrapper.js +1 -1
- package/src/sap/m/MessageBox.js +8 -10
- package/src/sap/m/MessageItem.js +1 -1
- package/src/sap/m/MessageListItem.js +1 -1
- package/src/sap/m/MessagePage.js +1 -1
- package/src/sap/m/MessagePopover.js +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/OverflowToolbarMenuButton.js +1 -1
- package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
- package/src/sap/m/OverflowToolbarTokenizer.js +1 -1
- package/src/sap/m/P13nAnyFilterItem.js +1 -1
- package/src/sap/m/P13nColumnsItem.js +1 -1
- package/src/sap/m/P13nColumnsPanel.js +1 -1
- package/src/sap/m/P13nConditionPanel.js +1 -1
- package/src/sap/m/P13nDialog.js +1 -1
- package/src/sap/m/P13nDimMeasureItem.js +1 -1
- package/src/sap/m/P13nDimMeasurePanel.js +1 -1
- package/src/sap/m/P13nFilterItem.js +1 -1
- package/src/sap/m/P13nFilterPanel.js +1 -1
- package/src/sap/m/P13nGroupItem.js +1 -1
- package/src/sap/m/P13nGroupPanel.js +1 -1
- package/src/sap/m/P13nItem.js +1 -1
- package/src/sap/m/P13nPanel.js +1 -1
- package/src/sap/m/P13nSelectionItem.js +1 -1
- package/src/sap/m/P13nSelectionPanel.js +1 -1
- package/src/sap/m/P13nSortItem.js +1 -1
- package/src/sap/m/P13nSortPanel.js +1 -1
- package/src/sap/m/PDFViewer.js +2 -3
- package/src/sap/m/Page.js +1 -1
- package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/m/PagingButton.js +1 -1
- package/src/sap/m/Panel.js +1 -1
- package/src/sap/m/PlanningCalendar.js +2 -2
- package/src/sap/m/PlanningCalendarHeader.js +1 -1
- package/src/sap/m/PlanningCalendarLegend.js +1 -1
- package/src/sap/m/PlanningCalendarRow.js +1 -1
- package/src/sap/m/PlanningCalendarView.js +1 -1
- package/src/sap/m/Popover.js +1 -2
- package/src/sap/m/ProgressIndicator.js +1 -1
- package/src/sap/m/PullToRefresh.js +1 -1
- package/src/sap/m/QuickView.js +1 -1
- package/src/sap/m/QuickViewBase.js +1 -1
- package/src/sap/m/QuickViewCard.js +1 -1
- package/src/sap/m/QuickViewGroup.js +1 -1
- package/src/sap/m/QuickViewGroupElement.js +1 -1
- package/src/sap/m/QuickViewPage.js +1 -1
- package/src/sap/m/RadioButton.js +1 -1
- package/src/sap/m/RadioButtonGroup.js +1 -1
- package/src/sap/m/RangeSlider.js +1 -1
- package/src/sap/m/RatingIndicator.js +1 -1
- package/src/sap/m/ResponsivePopover.js +1 -1
- package/src/sap/m/ResponsiveScale.js +1 -1
- package/src/sap/m/ScrollBar.js +1 -1
- package/src/sap/m/ScrollContainer.js +1 -1
- package/src/sap/m/SearchField.js +1 -1
- package/src/sap/m/SegmentedButton.js +23 -8
- package/src/sap/m/SegmentedButtonItem.js +3 -2
- package/src/sap/m/SegmentedButtonRenderer.js +22 -9
- package/src/sap/m/Select.js +40 -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 -8
- 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 +24 -48
- package/src/sap/m/StandardListItem.js +1 -1
- package/src/sap/m/StandardTile.js +1 -1
- package/src/sap/m/StandardTreeItem.js +1 -1
- package/src/sap/m/StepInput.js +1 -1
- package/src/sap/m/SuggestionItem.js +1 -1
- package/src/sap/m/SuggestionsPopover.js +8 -2
- 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/TableRenderer.js +18 -6
- package/src/sap/m/TableSelectDialog.js +1 -1
- package/src/sap/m/Text.js +1 -1
- package/src/sap/m/TextArea.js +1 -1
- package/src/sap/m/Tile.js +1 -1
- package/src/sap/m/TileContainer.js +1 -1
- package/src/sap/m/TileContent.js +1 -1
- package/src/sap/m/TileInfo.js +1 -1
- package/src/sap/m/TimePicker.js +30 -1
- package/src/sap/m/TimePickerClock.js +1 -1
- package/src/sap/m/TimePickerClocks.js +2 -16
- package/src/sap/m/TimePickerInputs.js +1 -1
- package/src/sap/m/TimePickerInternals.js +1 -1
- package/src/sap/m/TimePickerSlider.js +1 -1
- package/src/sap/m/TimePickerSliders.js +1 -1
- package/src/sap/m/Title.js +1 -1
- package/src/sap/m/TitlePropagationSupport.js +1 -1
- package/src/sap/m/ToggleButton.js +1 -1
- package/src/sap/m/Token.js +1 -1
- package/src/sap/m/Tokenizer.js +154 -5
- package/src/sap/m/TokenizerRenderer.js +30 -3
- package/src/sap/m/Toolbar.js +1 -1
- package/src/sap/m/ToolbarLayoutData.js +1 -1
- package/src/sap/m/ToolbarSeparator.js +1 -1
- package/src/sap/m/ToolbarSpacer.js +1 -1
- package/src/sap/m/Tree.js +1 -1
- package/src/sap/m/TreeItemBase.js +1 -1
- package/src/sap/m/UploadCollection.js +1 -1
- package/src/sap/m/UploadCollectionItem.js +1 -1
- package/src/sap/m/UploadCollectionParameter.js +1 -1
- package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
- package/src/sap/m/VBox.js +1 -1
- package/src/sap/m/ValueStateHeader.js +1 -1
- package/src/sap/m/VariantManagement.js +83 -6
- package/src/sap/m/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +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/library.js +26 -4
- package/src/sap/m/messagebundle.properties +17 -6
- package/src/sap/m/messagebundle_ar.properties +4 -4
- package/src/sap/m/messagebundle_bg.properties +6 -6
- package/src/sap/m/messagebundle_ca.properties +4 -4
- package/src/sap/m/messagebundle_cnr.properties +4 -4
- package/src/sap/m/messagebundle_cs.properties +4 -4
- package/src/sap/m/messagebundle_cy.properties +4 -4
- package/src/sap/m/messagebundle_da.properties +4 -4
- package/src/sap/m/messagebundle_de.properties +4 -4
- package/src/sap/m/messagebundle_el.properties +4 -4
- package/src/sap/m/messagebundle_en.properties +4 -4
- package/src/sap/m/messagebundle_en_GB.properties +4 -4
- package/src/sap/m/messagebundle_en_US_saprigi.properties +3 -0
- package/src/sap/m/messagebundle_es.properties +4 -4
- package/src/sap/m/messagebundle_es_MX.properties +4 -4
- package/src/sap/m/messagebundle_et.properties +4 -4
- package/src/sap/m/messagebundle_fi.properties +4 -4
- package/src/sap/m/messagebundle_fr.properties +4 -4
- package/src/sap/m/messagebundle_fr_CA.properties +4 -4
- package/src/sap/m/messagebundle_hi.properties +4 -4
- package/src/sap/m/messagebundle_hr.properties +4 -4
- package/src/sap/m/messagebundle_hu.properties +4 -4
- package/src/sap/m/messagebundle_id.properties +5 -5
- package/src/sap/m/messagebundle_it.properties +4 -4
- package/src/sap/m/messagebundle_iw.properties +4 -4
- package/src/sap/m/messagebundle_ja.properties +4 -4
- package/src/sap/m/messagebundle_kk.properties +4 -4
- package/src/sap/m/messagebundle_ko.properties +5 -5
- package/src/sap/m/messagebundle_lt.properties +4 -4
- package/src/sap/m/messagebundle_lv.properties +4 -4
- package/src/sap/m/messagebundle_mk.properties +4 -4
- package/src/sap/m/messagebundle_ms.properties +4 -4
- package/src/sap/m/messagebundle_nl.properties +4 -4
- package/src/sap/m/messagebundle_no.properties +4 -4
- package/src/sap/m/messagebundle_pl.properties +4 -4
- package/src/sap/m/messagebundle_pt.properties +4 -4
- package/src/sap/m/messagebundle_pt_PT.properties +4 -4
- package/src/sap/m/messagebundle_ro.properties +4 -4
- package/src/sap/m/messagebundle_ru.properties +4 -4
- package/src/sap/m/messagebundle_sh.properties +4 -4
- package/src/sap/m/messagebundle_sk.properties +4 -4
- package/src/sap/m/messagebundle_sl.properties +4 -4
- package/src/sap/m/messagebundle_sr.properties +4 -4
- package/src/sap/m/messagebundle_sv.properties +4 -4
- package/src/sap/m/messagebundle_th.properties +4 -4
- package/src/sap/m/messagebundle_tr.properties +4 -4
- package/src/sap/m/messagebundle_uk.properties +4 -4
- package/src/sap/m/messagebundle_vi.properties +4 -4
- package/src/sap/m/messagebundle_zh_CN.properties +4 -4
- package/src/sap/m/messagebundle_zh_TW.properties +4 -4
- package/src/sap/m/p13n/AbstractContainer.js +2 -2
- package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
- package/src/sap/m/p13n/BasePanel.js +31 -12
- package/src/sap/m/p13n/Container.js +1 -1
- package/src/sap/m/p13n/Engine.js +1 -1
- package/src/sap/m/p13n/FilterController.js +1 -1
- package/src/sap/m/p13n/FilterPanel.js +1 -1
- package/src/sap/m/p13n/GroupController.js +1 -1
- package/src/sap/m/p13n/GroupPanel.js +1 -1
- package/src/sap/m/p13n/MessageStrip.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 +3 -2
- package/src/sap/m/p13n/SelectionPanel.js +1 -1
- package/src/sap/m/p13n/SortController.js +1 -1
- package/src/sap/m/p13n/SortPanel.js +1 -1
- package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -1
- package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
- package/src/sap/m/p13n/modules/UIManager.js +1 -1
- package/src/sap/m/p13n/modules/xConfigAPI.js +5 -2
- package/src/sap/m/plugins/CellSelector.js +1 -1
- package/src/sap/m/plugins/ColumnAIAction.js +1 -1
- package/src/sap/m/plugins/ColumnResizer.js +1 -1
- package/src/sap/m/plugins/ContextMenuSetting.js +1 -1
- package/src/sap/m/plugins/CopyProvider.js +1 -1
- package/src/sap/m/plugins/DataStateIndicator.js +1 -1
- package/src/sap/m/plugins/PasteProvider.js +1 -1
- package/src/sap/m/plugins/PluginBase.js +1 -1
- package/src/sap/m/plugins/UploadSetwithTable.js +16 -1
- package/src/sap/m/semantic/AddAction.js +1 -1
- package/src/sap/m/semantic/CancelAction.js +1 -1
- package/src/sap/m/semantic/DeleteAction.js +1 -1
- package/src/sap/m/semantic/DetailPage.js +1 -1
- package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
- package/src/sap/m/semantic/EditAction.js +1 -1
- package/src/sap/m/semantic/FavoriteAction.js +1 -1
- package/src/sap/m/semantic/FilterAction.js +1 -1
- package/src/sap/m/semantic/FilterSelect.js +1 -1
- package/src/sap/m/semantic/FlagAction.js +1 -1
- package/src/sap/m/semantic/ForwardAction.js +1 -1
- package/src/sap/m/semantic/FullscreenPage.js +1 -1
- package/src/sap/m/semantic/GroupAction.js +1 -1
- package/src/sap/m/semantic/GroupSelect.js +1 -1
- package/src/sap/m/semantic/MainAction.js +1 -1
- package/src/sap/m/semantic/MasterPage.js +1 -1
- package/src/sap/m/semantic/MessagesIndicator.js +1 -1
- package/src/sap/m/semantic/MultiSelectAction.js +1 -1
- package/src/sap/m/semantic/NegativeAction.js +1 -1
- package/src/sap/m/semantic/OpenInAction.js +1 -1
- package/src/sap/m/semantic/PositiveAction.js +1 -1
- package/src/sap/m/semantic/PrintAction.js +1 -1
- package/src/sap/m/semantic/SaveAction.js +1 -1
- package/src/sap/m/semantic/Segment.js +1 -1
- package/src/sap/m/semantic/SegmentedContainer.js +1 -1
- package/src/sap/m/semantic/SemanticButton.js +1 -1
- package/src/sap/m/semantic/SemanticConfiguration.js +1 -1
- package/src/sap/m/semantic/SemanticControl.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
- package/src/sap/m/semantic/SemanticPage.js +1 -1
- package/src/sap/m/semantic/SemanticSelect.js +1 -1
- package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
- package/src/sap/m/semantic/SendEmailAction.js +1 -1
- package/src/sap/m/semantic/SendMessageAction.js +1 -1
- package/src/sap/m/semantic/ShareInJamAction.js +1 -1
- package/src/sap/m/semantic/ShareMenu.js +1 -1
- package/src/sap/m/semantic/ShareMenuPage.js +1 -1
- package/src/sap/m/semantic/SortAction.js +1 -1
- package/src/sap/m/semantic/SortSelect.js +1 -1
- package/src/sap/m/table/ColumnWidthController.js +1 -1
- package/src/sap/m/table/Util.js +1 -1
- package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
- package/src/sap/m/table/columnmenu/Entry.js +1 -1
- package/src/sap/m/table/columnmenu/Item.js +1 -1
- package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
- package/src/sap/m/table/columnmenu/Menu.js +1 -1
- package/src/sap/m/table/columnmenu/MenuBase.js +1 -1
- package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionBase.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickGroup.js +1 -1
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickResize.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
- package/src/sap/m/themes/base/Carousel.less +11 -6
- package/src/sap/m/themes/base/ColumnListItem.less +5 -1
- package/src/sap/m/themes/base/ContextMenuSetting.less +2 -1
- package/src/sap/m/themes/base/FeedListItem.less +5 -2
- package/src/sap/m/themes/base/Label.less +2 -1
- package/src/sap/m/themes/base/Menu.less +5 -1
- package/src/sap/m/themes/base/MultiComboBox.less +4 -0
- package/src/sap/m/themes/base/MultiInput.less +5 -0
- package/src/sap/m/themes/base/OverflowToolbarTokenizer.less +4 -0
- package/src/sap/m/themes/base/Popover.less +0 -5
- package/src/sap/m/themes/base/SegmentedButton.less +21 -1
- package/src/sap/m/themes/base/Table.less +1 -0
- package/src/sap/m/themes/base/Text.less +2 -1
- package/src/sap/m/themes/base/Tokenizer.less +34 -0
- package/src/sap/m/upload/ActionsPlaceholder.js +1 -1
- package/src/sap/m/upload/Column.js +1 -1
- package/src/sap/m/upload/FilePreviewDialog.js +1 -1
- package/src/sap/m/upload/UploadItem.js +1 -1
- package/src/sap/m/upload/UploadItemConfiguration.js +1 -1
- package/src/sap/m/upload/UploadSet.js +1 -1
- package/src/sap/m/upload/UploadSetItem.js +1 -1
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
- package/src/sap/m/upload/UploaderTableItem.js +1 -1
|
@@ -60,7 +60,6 @@ sap.ui.define([
|
|
|
60
60
|
var sTooltip = oButton._getTooltip();
|
|
61
61
|
var sText = oButton._getText();
|
|
62
62
|
var sTextDir = oButton.getTextDirection();
|
|
63
|
-
// render bdi tag only if the browser is different from IE and Edge since it is not supported there
|
|
64
63
|
var bRenderBDI = (sTextDir === TextDirection.Inherit);
|
|
65
64
|
|
|
66
65
|
// get icon from icon pool
|
package/src/sap/m/Carousel.js
CHANGED
|
@@ -132,7 +132,7 @@ sap.ui.define([
|
|
|
132
132
|
* @extends sap.ui.core.Control
|
|
133
133
|
*
|
|
134
134
|
* @author SAP SE
|
|
135
|
-
* @version 1.
|
|
135
|
+
* @version 1.142.0
|
|
136
136
|
*
|
|
137
137
|
* @constructor
|
|
138
138
|
* @public
|
|
@@ -413,7 +413,7 @@ sap.ui.define([
|
|
|
413
413
|
};
|
|
414
414
|
|
|
415
415
|
Carousel.prototype._resize = function() {
|
|
416
|
-
var $inner = this.$().find('> .sapMCrslInner');
|
|
416
|
+
var $inner = this.$().find('> .sapMCrslList > .sapMCrslInner');
|
|
417
417
|
|
|
418
418
|
if (this._iResizeTimeoutId) {
|
|
419
419
|
clearTimeout(this._iResizeTimeoutId);
|
|
@@ -581,7 +581,7 @@ sap.ui.define([
|
|
|
581
581
|
}
|
|
582
582
|
|
|
583
583
|
var $element = this.$(),
|
|
584
|
-
$inner = $element.find('> .sapMCrslInner'),
|
|
584
|
+
$inner = $element.find('> .sapMCrslList > .sapMCrslInner'),
|
|
585
585
|
$items = $inner.children(),
|
|
586
586
|
iIndex = this._iCurrSlideIndex,
|
|
587
587
|
iLength = $items.length,
|
|
@@ -698,7 +698,6 @@ sap.ui.define([
|
|
|
698
698
|
this.$().find(Carousel._ITEM_SELECTOR).each(function (iIndex, oPage) {
|
|
699
699
|
var bSelected = iIndex === iSelectedPageIndex;
|
|
700
700
|
|
|
701
|
-
oPage.setAttribute("aria-selected", bSelected);
|
|
702
701
|
oPage.setAttribute("aria-hidden", !this._isPageDisplayed(iIndex));
|
|
703
702
|
oPage.setAttribute("tabindex", bSelected ? 0 : -1);
|
|
704
703
|
}.bind(this));
|
|
@@ -1213,7 +1212,7 @@ sap.ui.define([
|
|
|
1213
1212
|
* @private
|
|
1214
1213
|
*/
|
|
1215
1214
|
Carousel.prototype.onsapup = function(oEvent) {
|
|
1216
|
-
this._fnSkipToIndex(oEvent, 1, false);
|
|
1215
|
+
this._fnSkipToIndex(oEvent, -1, false);
|
|
1217
1216
|
};
|
|
1218
1217
|
|
|
1219
1218
|
/**
|
|
@@ -1234,7 +1233,7 @@ sap.ui.define([
|
|
|
1234
1233
|
* @private
|
|
1235
1234
|
*/
|
|
1236
1235
|
Carousel.prototype.onsapdown = function(oEvent) {
|
|
1237
|
-
this._fnSkipToIndex(oEvent,
|
|
1236
|
+
this._fnSkipToIndex(oEvent, 1, false);
|
|
1238
1237
|
};
|
|
1239
1238
|
|
|
1240
1239
|
/**
|
|
@@ -1556,7 +1555,7 @@ sap.ui.define([
|
|
|
1556
1555
|
};
|
|
1557
1556
|
|
|
1558
1557
|
Carousel.prototype._initialize = function () {
|
|
1559
|
-
var $inner = this.$().find('> .sapMCrslInner'),
|
|
1558
|
+
var $inner = this.$().find('> .sapMCrslList > .sapMCrslInner'),
|
|
1560
1559
|
iNumberOfItemsToShow = this._getNumberOfItemsToShow();
|
|
1561
1560
|
|
|
1562
1561
|
this._bIsInitialized = false;
|
|
@@ -1595,7 +1594,7 @@ sap.ui.define([
|
|
|
1595
1594
|
}
|
|
1596
1595
|
|
|
1597
1596
|
var $element = this.$(),
|
|
1598
|
-
$inner = $element.find('> .sapMCrslInner'),
|
|
1597
|
+
$inner = $element.find('> .sapMCrslList > .sapMCrslInner'),
|
|
1599
1598
|
$items = $inner.children(),
|
|
1600
1599
|
$start = $items.eq(0),
|
|
1601
1600
|
$current = $items.eq(this._iCurrSlideIndex),
|
|
@@ -1620,7 +1619,7 @@ sap.ui.define([
|
|
|
1620
1619
|
Carousel.prototype._initActivePages = function () {
|
|
1621
1620
|
var sActiveClass = "sapMCrslActive",
|
|
1622
1621
|
$element = this.$(),
|
|
1623
|
-
$inner = $element.find('> .sapMCrslInner'),
|
|
1622
|
+
$inner = $element.find('> .sapMCrslList > .sapMCrslInner'),
|
|
1624
1623
|
$items = $inner.children(),
|
|
1625
1624
|
sId = this.getDomRef().id,
|
|
1626
1625
|
sPageIndicatorId = sId.replace(/(:|\.)/g,'\\$1') + '-pageIndicator',
|
|
@@ -17,7 +17,7 @@ sap.ui.define(["sap/ui/base/ManagedObject", "./library"], function (ManagedObjec
|
|
|
17
17
|
* Applies a <code>sap.m.CarouselLayout</code> to a provided DOM element or Control.
|
|
18
18
|
*
|
|
19
19
|
* @author SAP SE
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.142.0
|
|
21
21
|
*
|
|
22
22
|
* @extends sap.ui.base.ManagedObject
|
|
23
23
|
*
|
|
@@ -6,10 +6,8 @@
|
|
|
6
6
|
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"sap/m/library",
|
|
9
|
-
"sap/base/strings/capitalize"
|
|
10
|
-
|
|
11
|
-
"sap/ui/core/Lib"
|
|
12
|
-
], function (library, capitalize, Device, Library) {
|
|
9
|
+
"sap/base/strings/capitalize"
|
|
10
|
+
], function (library, capitalize) {
|
|
13
11
|
"use strict";
|
|
14
12
|
|
|
15
13
|
// shortcut for sap.m.CarouselArrowsPlacement
|
|
@@ -18,8 +16,6 @@ sap.ui.define([
|
|
|
18
16
|
// shortcut for sap.m.CarouselPageIndicatorPlacementType
|
|
19
17
|
var CarouselPageIndicatorPlacementType = library.CarouselPageIndicatorPlacementType;
|
|
20
18
|
|
|
21
|
-
var oResourceBundle = Library.getResourceBundleFor("sap.m");
|
|
22
|
-
|
|
23
19
|
/**
|
|
24
20
|
* Carousel renderer.
|
|
25
21
|
* @namespace
|
|
@@ -50,21 +46,23 @@ sap.ui.define([
|
|
|
50
46
|
//visual indicator
|
|
51
47
|
if (sPageIndicatorPlacement === CarouselPageIndicatorPlacementType.Top ||
|
|
52
48
|
sPageIndicatorPlacement === CarouselPageIndicatorPlacementType.OverContentTop) {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
49
|
+
this._renderPageIndicatorAndArrows(oRM, oCarousel, {
|
|
50
|
+
iPageCount: iPageCount,
|
|
51
|
+
iIndex: iIndex,
|
|
52
|
+
sArrowsPlacement : sArrowsPlacement,
|
|
53
|
+
sPlacement: sPageIndicatorPlacement,
|
|
54
|
+
bShowPageIndicator: oCarousel.getShowPageIndicator()
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
this._renderListDiv(oRM, oCarousel);
|
|
62
58
|
this._renderInnerDiv(oRM, oCarousel, aPages, sPageIndicatorPlacement);
|
|
63
59
|
|
|
64
60
|
if (iPageCount > oCarousel._getNumberOfItemsToShow() && sArrowsPlacement === CarouselArrowsPlacement.Content) {
|
|
65
61
|
this._renderHudArrows(oRM, oCarousel);
|
|
66
62
|
}
|
|
67
63
|
|
|
64
|
+
//close list div
|
|
65
|
+
oRM.close("div");
|
|
68
66
|
//visual indicator
|
|
69
67
|
if (sPageIndicatorPlacement === CarouselPageIndicatorPlacementType.OverContentBottom
|
|
70
68
|
|| sPageIndicatorPlacement === CarouselPageIndicatorPlacementType.Bottom) {
|
|
@@ -78,6 +76,7 @@ sap.ui.define([
|
|
|
78
76
|
}
|
|
79
77
|
|
|
80
78
|
this._renderDummyArea(oRM, oCarousel, "after");
|
|
79
|
+
//close opening div
|
|
81
80
|
oRM.close("div");
|
|
82
81
|
//page-wrap ends
|
|
83
82
|
};
|
|
@@ -95,8 +94,8 @@ sap.ui.define([
|
|
|
95
94
|
.style("height", oCarousel.getHeight())
|
|
96
95
|
.attr("data-sap-ui-customfastnavgroup", true) // custom F6 handling
|
|
97
96
|
.accessibilityState(oCarousel, {
|
|
98
|
-
role: "
|
|
99
|
-
roledescription:
|
|
97
|
+
role: "region",
|
|
98
|
+
roledescription: oCarousel._oRb.getText("CAROUSEL_ARIA_ROLE_DESCRIPTION")
|
|
100
99
|
});
|
|
101
100
|
|
|
102
101
|
if (sTooltip) {
|
|
@@ -106,6 +105,17 @@ sap.ui.define([
|
|
|
106
105
|
oRM.openEnd();
|
|
107
106
|
};
|
|
108
107
|
|
|
108
|
+
CarouselRenderer._renderListDiv = function (oRM, oCarousel) {
|
|
109
|
+
oRM.openStart("div")
|
|
110
|
+
.class("sapMCrslList")
|
|
111
|
+
.accessibilityState({
|
|
112
|
+
role: "list",
|
|
113
|
+
label: oCarousel._oRb.getText("CAROUSEL_ARIA_LIST_LABEL")
|
|
114
|
+
});
|
|
115
|
+
|
|
116
|
+
oRM.openEnd();
|
|
117
|
+
};
|
|
118
|
+
|
|
109
119
|
CarouselRenderer._renderInnerDiv = function (oRM, oCarousel, aPages, sPageIndicatorPlacement) {
|
|
110
120
|
oRM.openStart("div").class("sapMCrslInner");
|
|
111
121
|
|
|
@@ -153,7 +163,6 @@ sap.ui.define([
|
|
|
153
163
|
role: "listitem",
|
|
154
164
|
posinset: iIndex + 1,
|
|
155
165
|
setsize: aArray.length,
|
|
156
|
-
selected: bSelected,
|
|
157
166
|
hidden: !oCarousel._isPageDisplayed(iIndex)
|
|
158
167
|
})
|
|
159
168
|
.attr("tabindex", bSelected ? 0 : -1)
|
|
@@ -172,6 +181,7 @@ sap.ui.define([
|
|
|
172
181
|
.attr("tabindex", 0)
|
|
173
182
|
.class("sapMCrslNoDataItem")
|
|
174
183
|
.accessibilityState({
|
|
184
|
+
role: "listitem",
|
|
175
185
|
label: oAccInfo.type + " " + oAccInfo.description
|
|
176
186
|
})
|
|
177
187
|
.openEnd();
|
|
@@ -251,8 +261,8 @@ sap.ui.define([
|
|
|
251
261
|
oRM.openStart("span")
|
|
252
262
|
.attr("data-slide", i)
|
|
253
263
|
.accessibilityState({
|
|
254
|
-
role: "
|
|
255
|
-
|
|
264
|
+
role: "presentation",
|
|
265
|
+
hidden: true
|
|
256
266
|
}).openEnd()
|
|
257
267
|
.close("span");
|
|
258
268
|
}
|
|
@@ -261,9 +271,13 @@ sap.ui.define([
|
|
|
261
271
|
oRM.class("sapMCrslNumeric")
|
|
262
272
|
.openEnd();
|
|
263
273
|
|
|
264
|
-
var sTextBetweenNumbers =
|
|
274
|
+
var sTextBetweenNumbers = oCarousel._oRb.getText("CAROUSEL_PAGE_INDICATOR_TEXT", [mSettings.iIndex + 1, iPageCount - iNumberOfItemsToShow + 1]);
|
|
265
275
|
oRM.openStart("span", sId + "-" + "slide-number")
|
|
266
276
|
.attr("dir", "auto")
|
|
277
|
+
.accessibilityState({
|
|
278
|
+
role: "presentation",
|
|
279
|
+
hidden: true
|
|
280
|
+
})
|
|
267
281
|
.openEnd()
|
|
268
282
|
.text(sTextBetweenNumbers)
|
|
269
283
|
.close("span");
|
|
@@ -318,7 +332,11 @@ sap.ui.define([
|
|
|
318
332
|
.class("sapMCrslArrow")
|
|
319
333
|
.class("sapMCrsl" + capitalize(sShort))
|
|
320
334
|
.attr("data-slide", sShort)
|
|
321
|
-
.
|
|
335
|
+
.accessibilityState({
|
|
336
|
+
role: "presentation",
|
|
337
|
+
hidden: true
|
|
338
|
+
})
|
|
339
|
+
.attr("title", oCarousel._oRb.getText("PAGINGBUTTON_" + sDirection.toUpperCase()));
|
|
322
340
|
|
|
323
341
|
// Hide unneeded arrow when we are on the first or last page and "loop" property is set to false
|
|
324
342
|
if (bFirstPageIsActive && sDirection === "previous" && !bLoop) {
|
package/src/sap/m/CheckBox.js
CHANGED
|
@@ -108,7 +108,7 @@ sap.ui.define([
|
|
|
108
108
|
* To prevent this, apps using the <code>ColorPalette</code> should also load the <code>sap.ui.unified</code> library in advance.
|
|
109
109
|
*
|
|
110
110
|
* @extends sap.ui.core.Control
|
|
111
|
-
* @version 1.
|
|
111
|
+
* @version 1.142.0
|
|
112
112
|
*
|
|
113
113
|
* @constructor
|
|
114
114
|
* @public
|
package/src/sap/m/Column.js
CHANGED
|
@@ -43,7 +43,7 @@ sap.ui.define([
|
|
|
43
43
|
* @implements sap.m.ITableItem
|
|
44
44
|
*
|
|
45
45
|
* @author SAP SE
|
|
46
|
-
* @version 1.
|
|
46
|
+
* @version 1.142.0
|
|
47
47
|
*
|
|
48
48
|
* @constructor
|
|
49
49
|
* @public
|
|
@@ -84,13 +84,18 @@ sap.ui.define([
|
|
|
84
84
|
*/
|
|
85
85
|
var TablePopin = Element.extend("sap.m.TablePopin", {
|
|
86
86
|
ontap: function(oEvent) {
|
|
87
|
-
// prevent the tap event if selection is done within the popin control
|
|
87
|
+
// prevent the tap event if selection is done within the popin control
|
|
88
88
|
if (oEvent.isMarked() || ListItemBase.detectTextSelection(this.getDomRef())) {
|
|
89
89
|
return oEvent.stopImmediatePropagation(true);
|
|
90
90
|
}
|
|
91
|
-
|
|
91
|
+
},
|
|
92
|
+
ontouchend: function() {
|
|
93
|
+
if (document.activeElement === this.getFocusDomRef()) {
|
|
92
94
|
this.getParent().focus({ preventScroll: true });
|
|
93
95
|
}
|
|
96
|
+
},
|
|
97
|
+
getFocusDomRef: function() {
|
|
98
|
+
return this.getParent().getDomRef("subcont");
|
|
94
99
|
}
|
|
95
100
|
});
|
|
96
101
|
|
|
@@ -323,12 +328,13 @@ sap.ui.define([
|
|
|
323
328
|
|
|
324
329
|
if (oTarget.classList.contains("sapMListTblCell")) {
|
|
325
330
|
const oColumn = Element.getElementById(oTarget.getAttribute("data-sap-ui-column"));
|
|
326
|
-
|
|
327
331
|
sInvisibleText = this.getContentAnnouncementOfCell(oColumn);
|
|
328
332
|
} else if (oTarget.classList.contains("sapMListTblSubCnt")) {
|
|
329
333
|
sInvisibleText = this.getContentAnnouncementOfPopin();
|
|
330
334
|
} else if (oTarget.classList.contains("sapMListTblNavCol")) {
|
|
331
335
|
sInvisibleText = this.getContentAnnouncementOfRowAction();
|
|
336
|
+
} else if (oTarget.classList.contains("sapMListTblActionsCol")) {
|
|
337
|
+
sInvisibleText = this._getCustomActionsAnnouncement(true);
|
|
332
338
|
}
|
|
333
339
|
|
|
334
340
|
if (sInvisibleText) {
|
|
@@ -75,7 +75,7 @@ sap.ui.define([
|
|
|
75
75
|
ColumnListItemRenderer.renderHighlight = function(rm, oLI) {
|
|
76
76
|
rm.openStart("td");
|
|
77
77
|
rm.class("sapMListTblHighlightCell");
|
|
78
|
-
rm.attr("role", "
|
|
78
|
+
rm.attr("role", "none");
|
|
79
79
|
rm.openEnd();
|
|
80
80
|
|
|
81
81
|
// let the list item base render the highlight
|
|
@@ -87,7 +87,7 @@ sap.ui.define([
|
|
|
87
87
|
ColumnListItemRenderer.renderNavigated = function(rm, oLI) {
|
|
88
88
|
rm.openStart("td");
|
|
89
89
|
rm.class("sapMListTblNavigatedCell");
|
|
90
|
-
rm.attr("role", "
|
|
90
|
+
rm.attr("role", "none");
|
|
91
91
|
rm.openEnd();
|
|
92
92
|
|
|
93
93
|
// let the list item base render the navigated state
|
|
@@ -251,7 +251,7 @@ sap.ui.define([
|
|
|
251
251
|
ColumnListItemRenderer.renderDummyCell = function(rm, oTable) {
|
|
252
252
|
rm.openStart("td");
|
|
253
253
|
rm.class("sapMListTblDummyCell");
|
|
254
|
-
rm.attr("role", "
|
|
254
|
+
rm.attr("role", "none");
|
|
255
255
|
rm.openEnd();
|
|
256
256
|
rm.close("td");
|
|
257
257
|
};
|
|
@@ -279,7 +279,7 @@ sap.ui.define([
|
|
|
279
279
|
// popin row
|
|
280
280
|
rm.openStart("tr", oLI.getPopin());
|
|
281
281
|
rm.class("sapMListTblSubRow");
|
|
282
|
-
rm.attr("
|
|
282
|
+
rm.attr("role", "none");
|
|
283
283
|
rm.attr("data-sap-ui-related", oLI.getId());
|
|
284
284
|
rm.openEnd();
|
|
285
285
|
|
package/src/sap/m/ComboBox.js
CHANGED
|
@@ -23,7 +23,7 @@ sap.ui.define([
|
|
|
23
23
|
* @class This element is used within the TileAttribute control that generates either a link or text
|
|
24
24
|
* @extends sap.ui.core.Element
|
|
25
25
|
* @author SAP SE
|
|
26
|
-
* @version 1.
|
|
26
|
+
* @version 1.142.0
|
|
27
27
|
* @constructor
|
|
28
28
|
* @public
|
|
29
29
|
* @experimental since 1.122
|
package/src/sap/m/CustomTile.js
CHANGED
|
@@ -21,7 +21,7 @@ sap.ui.define(['./Tile', './library', './CustomTileRenderer'],
|
|
|
21
21
|
* Use the CustomTile control to display application specific content in the Tile control.
|
|
22
22
|
* The tile width is 8.5em and height is 10em.
|
|
23
23
|
* @extends sap.m.Tile
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.142.0
|
|
25
25
|
*
|
|
26
26
|
* @constructor
|
|
27
27
|
* @public
|
package/src/sap/m/DatePicker.js
CHANGED
|
@@ -168,8 +168,8 @@ sap.ui.define([
|
|
|
168
168
|
* compact mode and provides a touch-friendly size in cozy mode.
|
|
169
169
|
*
|
|
170
170
|
* @extends sap.m.DatePicker
|
|
171
|
-
* @version 1.
|
|
172
|
-
* @version 1.
|
|
171
|
+
* @version 1.142.0
|
|
172
|
+
* @version 1.142.0
|
|
173
173
|
*
|
|
174
174
|
* @constructor
|
|
175
175
|
* @public
|
package/src/sap/m/Dialog.js
CHANGED
|
@@ -171,7 +171,7 @@ function(
|
|
|
171
171
|
*
|
|
172
172
|
* @implements sap.ui.core.PopupInterface
|
|
173
173
|
* @author SAP SE
|
|
174
|
-
* @version 1.
|
|
174
|
+
* @version 1.142.0
|
|
175
175
|
*
|
|
176
176
|
* @constructor
|
|
177
177
|
* @public
|
|
@@ -397,7 +397,10 @@ function(
|
|
|
397
397
|
rightButton: {type: "sap.m.Button", multiple: false, deprecated: true},
|
|
398
398
|
|
|
399
399
|
/**
|
|
400
|
-
* In the Dialog focus is set
|
|
400
|
+
* In the Dialog, focus is initially set on the first focusable element, or on the dialog itself if no such element is available.
|
|
401
|
+
* If another control needs to receive focus, set the <code>initialFocus</code> to the control that should be focused.
|
|
402
|
+
* Setting <code>initialFocus</code> on input controls does not open the on-screen keyboard on mobile devices.
|
|
403
|
+
* Due to browser restrictions, the on-screen keyboard can't be opened with JavaScript code; it must be triggered explicitly by the user.
|
|
401
404
|
* @since 1.15.0
|
|
402
405
|
*/
|
|
403
406
|
initialFocus: {type: "sap.ui.core.Control", multiple: false},
|
|
@@ -661,7 +664,6 @@ function(
|
|
|
661
664
|
this._$dialog = this.$();
|
|
662
665
|
|
|
663
666
|
if (this.isOpen()) {
|
|
664
|
-
//restore the focus after rendering when dialog is already open
|
|
665
667
|
this._setInitialFocus();
|
|
666
668
|
}
|
|
667
669
|
};
|
|
@@ -952,7 +954,7 @@ function(
|
|
|
952
954
|
oPromiseArgument = {},
|
|
953
955
|
that = this;
|
|
954
956
|
|
|
955
|
-
if (this.
|
|
957
|
+
if (this._isSpacePressed) {
|
|
956
958
|
return;
|
|
957
959
|
}
|
|
958
960
|
|
|
@@ -990,27 +992,27 @@ function(
|
|
|
990
992
|
|
|
991
993
|
/**
|
|
992
994
|
* Event handler for the onkeyup event.
|
|
993
|
-
* Register if SPACE
|
|
995
|
+
* Register if SPACE is released.
|
|
994
996
|
*
|
|
995
997
|
* @param {jQuery.Event} oEvent The event object
|
|
996
998
|
* @private
|
|
997
999
|
*/
|
|
998
1000
|
Dialog.prototype.onkeyup = function (oEvent) {
|
|
999
|
-
if (this.
|
|
1000
|
-
this.
|
|
1001
|
+
if (this._isSpace(oEvent)) {
|
|
1002
|
+
this._isSpacePressed = false;
|
|
1001
1003
|
}
|
|
1002
1004
|
};
|
|
1003
1005
|
|
|
1004
1006
|
/**
|
|
1005
1007
|
* Event handler for the onkeydown event.
|
|
1006
|
-
* Register if SPACE
|
|
1008
|
+
* Register if SPACE is pressed.
|
|
1007
1009
|
*
|
|
1008
1010
|
* @param {jQuery.Event} oEvent The event object
|
|
1009
1011
|
* @private
|
|
1010
1012
|
*/
|
|
1011
1013
|
Dialog.prototype.onkeydown = function (oEvent) {
|
|
1012
|
-
if (this.
|
|
1013
|
-
this.
|
|
1014
|
+
if (this._isSpace(oEvent)) {
|
|
1015
|
+
this._isSpacePressed = true;
|
|
1014
1016
|
}
|
|
1015
1017
|
|
|
1016
1018
|
var iKeyCode = oEvent.which || oEvent.keyCode;
|
|
@@ -1152,16 +1154,16 @@ function(
|
|
|
1152
1154
|
};
|
|
1153
1155
|
|
|
1154
1156
|
/**
|
|
1155
|
-
* Determines if the key from oEvent is SPACE
|
|
1157
|
+
* Determines if the key from oEvent is SPACE.
|
|
1156
1158
|
*
|
|
1157
1159
|
* @param {jQuery.Event} oEvent The event object
|
|
1158
1160
|
* @private
|
|
1159
|
-
* @return {boolean} True if the key from the event is space
|
|
1161
|
+
* @return {boolean} True if the key from the event is space
|
|
1160
1162
|
*/
|
|
1161
|
-
Dialog.prototype.
|
|
1162
|
-
var iKeyCode = oEvent.which || oEvent.
|
|
1163
|
+
Dialog.prototype._isSpace = function (oEvent) {
|
|
1164
|
+
var iKeyCode = oEvent.which || oEvent.key;
|
|
1163
1165
|
|
|
1164
|
-
return iKeyCode == KeyCodes.SPACE
|
|
1166
|
+
return iKeyCode == KeyCodes.SPACE;
|
|
1165
1167
|
};
|
|
1166
1168
|
|
|
1167
1169
|
/* =========================================================== */
|
|
@@ -1508,13 +1510,32 @@ function(
|
|
|
1508
1510
|
return false;
|
|
1509
1511
|
};
|
|
1510
1512
|
|
|
1513
|
+
Dialog.prototype.getFocusInfo = function () {
|
|
1514
|
+
return {
|
|
1515
|
+
id: this.getId(),
|
|
1516
|
+
dialogActiveElement: this.getDomRef()?.contains(document.activeElement) ? document.activeElement : null
|
|
1517
|
+
};
|
|
1518
|
+
};
|
|
1519
|
+
|
|
1520
|
+
Dialog.prototype.applyFocusInfo = function (oFocusInfo) {
|
|
1521
|
+
const oDialogActiveElement = oFocusInfo?.dialogActiveElement;
|
|
1522
|
+
|
|
1523
|
+
if (oDialogActiveElement && this.getDomRef()?.contains(oDialogActiveElement)) {
|
|
1524
|
+
oDialogActiveElement.focus();
|
|
1525
|
+
|
|
1526
|
+
return this;
|
|
1527
|
+
}
|
|
1528
|
+
|
|
1529
|
+
return Control.prototype.applyFocusInfo.apply(this, arguments);
|
|
1530
|
+
};
|
|
1531
|
+
|
|
1511
1532
|
/**
|
|
1512
1533
|
*
|
|
1513
1534
|
* @private
|
|
1514
1535
|
*/
|
|
1515
1536
|
Dialog.prototype._getFocusDomRef = function () {
|
|
1516
|
-
//
|
|
1517
|
-
// In such
|
|
1537
|
+
// Either the left or right button might not be visible and hence not rendered.
|
|
1538
|
+
// In such cases, the focus should be set elsewhere.
|
|
1518
1539
|
var sInitialFocusId = this.getInitialFocus();
|
|
1519
1540
|
|
|
1520
1541
|
if (sInitialFocusId) {
|
|
@@ -1591,13 +1612,8 @@ function(
|
|
|
1591
1612
|
return $dialogContent.firstFocusableDomRef();
|
|
1592
1613
|
};
|
|
1593
1614
|
|
|
1594
|
-
// The control that needs to be focused after the Dialog is open is calculated in the following sequence:
|
|
1595
|
-
// initialFocus, first focusable element in content area, beginButton, endButton
|
|
1596
|
-
// the Dialog is always modal so the focus doesn't need to be on the Dialog when there's
|
|
1597
|
-
// no initialFocus, beginButton and endButton available, but to keep the consistency,
|
|
1598
|
-
// the focus will in the end fall back on the Dialog itself.
|
|
1599
1615
|
/**
|
|
1600
|
-
*
|
|
1616
|
+
* Applies focus and sets initial focus association
|
|
1601
1617
|
* @private
|
|
1602
1618
|
*/
|
|
1603
1619
|
Dialog.prototype._setInitialFocus = function () {
|
|
@@ -1609,7 +1625,7 @@ function(
|
|
|
1609
1625
|
}
|
|
1610
1626
|
|
|
1611
1627
|
if (oControl) {
|
|
1612
|
-
//
|
|
1628
|
+
// If attempting to focus on an existing but invisible control, focus the dialog itself.
|
|
1613
1629
|
if (oControl.getVisible && !oControl.getVisible()) {
|
|
1614
1630
|
this.focus();
|
|
1615
1631
|
return;
|
|
@@ -1618,10 +1634,9 @@ function(
|
|
|
1618
1634
|
oFocusDomRef = oControl.getFocusDomRef();
|
|
1619
1635
|
}
|
|
1620
1636
|
|
|
1621
|
-
// if focus dom ref is not found
|
|
1622
1637
|
if (!oFocusDomRef) {
|
|
1623
1638
|
this.setInitialFocus(""); // clear the saved initial focus
|
|
1624
|
-
oFocusDomRef = this._getFocusDomRef(); //
|
|
1639
|
+
oFocusDomRef = this._getFocusDomRef(); // Recalculate the element to focus on.
|
|
1625
1640
|
}
|
|
1626
1641
|
|
|
1627
1642
|
//if there is no set initial focus, set the default one to the initialFocus association
|
|
@@ -1637,7 +1652,7 @@ function(
|
|
|
1637
1652
|
oFocusDomRef.focus();
|
|
1638
1653
|
}
|
|
1639
1654
|
} else {
|
|
1640
|
-
// Set the focus on the
|
|
1655
|
+
// Set the focus on the dialog itself in order to keep the tab chain intact.
|
|
1641
1656
|
this.focus();
|
|
1642
1657
|
}
|
|
1643
1658
|
};
|
|
@@ -168,6 +168,7 @@ sap.ui.define([
|
|
|
168
168
|
// In that case, the controller will focus the last focusable element.
|
|
169
169
|
oRM.openStart("span", sId + "-firstfe")
|
|
170
170
|
.class("sapMDialogFirstFE")
|
|
171
|
+
.class("sapUiSkipFocusFail")
|
|
171
172
|
.attr("role", "none")
|
|
172
173
|
.attr("tabindex", "0")
|
|
173
174
|
.openEnd()
|
|
@@ -264,6 +265,7 @@ sap.ui.define([
|
|
|
264
265
|
// In that case, the controller will focus the first focusable element.
|
|
265
266
|
oRM.openStart("span", sId + "-lastfe")
|
|
266
267
|
.class("sapMDialogLastFE")
|
|
268
|
+
.class("sapUiSkipFocusFail")
|
|
267
269
|
.attr("role", "none")
|
|
268
270
|
.attr("tabindex", "0")
|
|
269
271
|
.openEnd()
|