@openui5/sap.m 1.140.0 → 1.141.1
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/THIRDPARTY.txt +2 -2
- 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 +5 -2
- 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 +2 -2
- 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 +36 -5
- package/src/sap/m/ColorPalettePopover.js +5 -1
- package/src/sap/m/Column.js +1 -1
- package/src/sap/m/ColumnListItem.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/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 +54 -14
- package/src/sap/m/DateRangeSelection.js +3 -3
- package/src/sap/m/DateTimeField.js +1 -1
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +5 -7
- 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/ExpandableTextRenderer.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/FlexBoxStylingHelper.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 +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 +1 -1
- 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/LabelRenderer.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 +1 -1
- package/src/sap/m/ListItemAction.js +2 -2
- package/src/sap/m/ListItemActionBase.js +1 -1
- package/src/sap/m/ListItemBase.js +1 -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 +7 -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 +9 -3
- 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 +3 -3
- 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 +31 -135
- 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 +23 -3
- package/src/sap/m/PopoverRenderer.js +4 -0
- 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 +5 -5
- 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 +34 -9
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/SegmentedButtonRenderer.js +3 -2
- 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 +49 -7
- 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 +10 -2
- 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 +8 -6
- 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 +19 -2
- package/src/sap/m/TabStrip.js +1 -1
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +1 -1
- 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/TextRenderer.js +1 -0
- 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 +61 -33
- package/src/sap/m/TimePickerClock.js +1 -1
- package/src/sap/m/TimePickerClocks.js +10 -3
- 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/TitleRenderer.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 +55 -3
- 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/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 +2 -2
- package/src/sap/m/messagebundle.properties +10 -10
- package/src/sap/m/messagebundle_ar.properties +21 -21
- package/src/sap/m/messagebundle_bg.properties +10 -10
- package/src/sap/m/messagebundle_ca.properties +10 -10
- package/src/sap/m/messagebundle_cnr.properties +10 -10
- package/src/sap/m/messagebundle_cs.properties +10 -10
- package/src/sap/m/messagebundle_cy.properties +10 -10
- package/src/sap/m/messagebundle_da.properties +12 -12
- package/src/sap/m/messagebundle_de.properties +18 -18
- package/src/sap/m/messagebundle_el.properties +10 -10
- package/src/sap/m/messagebundle_en.properties +10 -10
- package/src/sap/m/messagebundle_en_GB.properties +10 -10
- package/src/sap/m/messagebundle_en_US_saprigi.properties +6 -6
- package/src/sap/m/messagebundle_es.properties +11 -11
- package/src/sap/m/messagebundle_es_MX.properties +10 -10
- package/src/sap/m/messagebundle_et.properties +10 -10
- package/src/sap/m/messagebundle_fi.properties +10 -10
- package/src/sap/m/messagebundle_fr.properties +10 -10
- package/src/sap/m/messagebundle_fr_CA.properties +10 -10
- package/src/sap/m/messagebundle_hi.properties +10 -10
- package/src/sap/m/messagebundle_hr.properties +10 -10
- package/src/sap/m/messagebundle_hu.properties +10 -10
- package/src/sap/m/messagebundle_id.properties +23 -23
- package/src/sap/m/messagebundle_it.properties +10 -10
- package/src/sap/m/messagebundle_iw.properties +10 -10
- package/src/sap/m/messagebundle_ja.properties +10 -10
- package/src/sap/m/messagebundle_kk.properties +10 -10
- package/src/sap/m/messagebundle_ko.properties +10 -10
- package/src/sap/m/messagebundle_lt.properties +10 -10
- package/src/sap/m/messagebundle_lv.properties +10 -10
- package/src/sap/m/messagebundle_mk.properties +10 -10
- package/src/sap/m/messagebundle_ms.properties +10 -10
- package/src/sap/m/messagebundle_nl.properties +10 -10
- package/src/sap/m/messagebundle_no.properties +10 -10
- package/src/sap/m/messagebundle_pl.properties +10 -10
- package/src/sap/m/messagebundle_pt.properties +12 -12
- package/src/sap/m/messagebundle_pt_PT.properties +11 -11
- package/src/sap/m/messagebundle_ro.properties +10 -10
- package/src/sap/m/messagebundle_ru.properties +10 -10
- package/src/sap/m/messagebundle_sh.properties +10 -10
- package/src/sap/m/messagebundle_sk.properties +10 -10
- package/src/sap/m/messagebundle_sl.properties +10 -10
- package/src/sap/m/messagebundle_sr.properties +10 -10
- package/src/sap/m/messagebundle_sv.properties +10 -10
- package/src/sap/m/messagebundle_th.properties +10 -10
- package/src/sap/m/messagebundle_tr.properties +10 -10
- package/src/sap/m/messagebundle_uk.properties +10 -10
- package/src/sap/m/messagebundle_vi.properties +12 -12
- package/src/sap/m/messagebundle_zh_CN.properties +10 -10
- package/src/sap/m/messagebundle_zh_TW.properties +10 -10
- package/src/sap/m/p13n/AbstractContainer.js +2 -2
- package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
- package/src/sap/m/p13n/BasePanel.js +1 -1
- package/src/sap/m/p13n/Container.js +1 -1
- package/src/sap/m/p13n/Engine.js +1 -1
- package/src/sap/m/p13n/FilterController.js +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 +1 -1
- package/src/sap/m/p13n/SelectionPanel.js +6 -4
- 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/util/diff.js +4 -2
- package/src/sap/m/plugins/CellSelector.js +12 -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 +6 -3
- 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 +1 -1
- package/src/sap/m/semantic/AddAction.js +1 -1
- package/src/sap/m/semantic/CancelAction.js +1 -1
- package/src/sap/m/semantic/DeleteAction.js +1 -1
- package/src/sap/m/semantic/DetailPage.js +1 -1
- package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
- package/src/sap/m/semantic/EditAction.js +1 -1
- package/src/sap/m/semantic/FavoriteAction.js +1 -1
- package/src/sap/m/semantic/FilterAction.js +1 -1
- package/src/sap/m/semantic/FilterSelect.js +1 -1
- package/src/sap/m/semantic/FlagAction.js +1 -1
- package/src/sap/m/semantic/ForwardAction.js +1 -1
- package/src/sap/m/semantic/FullscreenPage.js +1 -1
- package/src/sap/m/semantic/GroupAction.js +1 -1
- package/src/sap/m/semantic/GroupSelect.js +1 -1
- package/src/sap/m/semantic/MainAction.js +1 -1
- package/src/sap/m/semantic/MasterPage.js +1 -1
- package/src/sap/m/semantic/MessagesIndicator.js +1 -1
- package/src/sap/m/semantic/MultiSelectAction.js +1 -1
- package/src/sap/m/semantic/NegativeAction.js +1 -1
- package/src/sap/m/semantic/OpenInAction.js +1 -1
- package/src/sap/m/semantic/PositiveAction.js +1 -1
- package/src/sap/m/semantic/PrintAction.js +1 -1
- package/src/sap/m/semantic/SaveAction.js +1 -1
- package/src/sap/m/semantic/Segment.js +1 -1
- package/src/sap/m/semantic/SegmentedContainer.js +1 -1
- package/src/sap/m/semantic/SemanticButton.js +1 -1
- package/src/sap/m/semantic/SemanticConfiguration.js +1 -1
- package/src/sap/m/semantic/SemanticControl.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
- package/src/sap/m/semantic/SemanticPage.js +1 -1
- package/src/sap/m/semantic/SemanticSelect.js +1 -1
- package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
- package/src/sap/m/semantic/SendEmailAction.js +1 -1
- package/src/sap/m/semantic/SendMessageAction.js +1 -1
- package/src/sap/m/semantic/ShareInJamAction.js +1 -1
- package/src/sap/m/semantic/ShareMenu.js +1 -1
- package/src/sap/m/semantic/ShareMenuPage.js +1 -1
- package/src/sap/m/semantic/SortAction.js +1 -1
- package/src/sap/m/semantic/SortSelect.js +1 -1
- package/src/sap/m/table/ColumnWidthController.js +1 -1
- package/src/sap/m/table/Util.js +1 -1
- package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
- package/src/sap/m/table/columnmenu/Entry.js +1 -1
- package/src/sap/m/table/columnmenu/Item.js +1 -1
- package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
- package/src/sap/m/table/columnmenu/Menu.js +1 -1
- package/src/sap/m/table/columnmenu/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/ActionSelect.less +4 -0
- package/src/sap/m/themes/base/CustomTile.less +4 -0
- package/src/sap/m/themes/base/Dialog.less +5 -1
- package/src/sap/m/themes/base/IllustratedMessage.less +2 -3
- package/src/sap/m/themes/base/MessagePage.less +4 -0
- package/src/sap/m/themes/base/OverflowToolbarAssociativePopover.less +4 -1
- package/src/sap/m/themes/base/Popover.less +9 -1
- package/src/sap/m/themes/base/StandardTile.less +4 -0
- package/src/sap/m/themes/base/SuggestionsPopover.less +2 -1
- package/src/sap/m/themes/base/Tile.less +4 -0
- package/src/sap/m/themes/base/TileContainer.less +4 -0
- package/src/sap/m/themes/base/TimePickerClock.less +5 -0
- package/src/sap/m/themes/base/ToggleButton.less +7 -0
- package/src/sap/m/themes/base/UploadCollection.less +4 -0
- package/src/sap/m/themes/base/UploadSet.less +4 -0
- package/src/sap/m/themes/base/Wizard.less +4 -4
- package/src/sap/m/themes/sap_hcb/ActionSelect.less +4 -0
- package/src/sap/m/themes/sap_hcb/CustomTile.less +4 -0
- package/src/sap/m/themes/sap_hcb/Tile.less +4 -0
- package/src/sap/m/themes/sap_hcb/TileContainer.less +4 -0
- package/src/sap/m/themes/sap_hcb/UploadCollection.less +4 -0
- package/src/sap/m/themes/sap_hcb/base_ActionSelect.less +4 -0
- package/src/sap/m/themes/sap_hcb/base_CustomTile.less +4 -0
- package/src/sap/m/themes/sap_hcb/base_MessagePage.less +4 -0
- package/src/sap/m/themes/sap_hcb/base_OverflowToolbarAssociativePopover.less +4 -1
- package/src/sap/m/themes/sap_hcb/base_StandardTile.less +4 -0
- package/src/sap/m/themes/sap_hcb/base_Tile.less +4 -0
- package/src/sap/m/themes/sap_hcb/base_TileContainer.less +4 -0
- package/src/sap/m/themes/sap_hcb/base_UploadCollection.less +4 -0
- package/src/sap/m/themes/sap_hcb/base_UploadSet.less +4 -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
package/src/sap/m/TextArea.js
CHANGED
|
@@ -123,6 +123,7 @@ sap.ui.define([
|
|
|
123
123
|
oRm.openStart("span", oText.getId() + "-inner");
|
|
124
124
|
oRm.class("sapMTextMaxLine");
|
|
125
125
|
oRm.class("sapMTextLineClamp");
|
|
126
|
+
oRm.class("sapUiSelectable");
|
|
126
127
|
oRm.style("-webkit-line-clamp", oText.getMaxLines());
|
|
127
128
|
oRm.openEnd();
|
|
128
129
|
this.renderText(oRm, oText);
|
package/src/sap/m/Tile.js
CHANGED
package/src/sap/m/TileContent.js
CHANGED
package/src/sap/m/TileInfo.js
CHANGED
|
@@ -17,7 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
* @class This element is used within the GenericTile control that generates a combination of an icon and a text to create a TileInfo
|
|
18
18
|
* @extends sap.ui.core.Element
|
|
19
19
|
* @author SAP SE
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.141.1
|
|
21
21
|
* @constructor
|
|
22
22
|
* @public
|
|
23
23
|
* @since 1.124
|
package/src/sap/m/TimePicker.js
CHANGED
|
@@ -21,9 +21,11 @@ sap.ui.define([
|
|
|
21
21
|
'./TimePickerInputs',
|
|
22
22
|
'./MaskEnabler',
|
|
23
23
|
'sap/ui/Device',
|
|
24
|
+
"sap/ui/core/Element",
|
|
24
25
|
"sap/ui/core/Lib",
|
|
25
26
|
'sap/ui/core/format/DateFormat',
|
|
26
27
|
'sap/ui/core/Locale',
|
|
28
|
+
"sap/ui/core/LabelEnablement",
|
|
27
29
|
'sap/m/library',
|
|
28
30
|
'sap/ui/core/LocaleData',
|
|
29
31
|
'./TimePickerRenderer',
|
|
@@ -50,9 +52,11 @@ function(
|
|
|
50
52
|
TimePickerInputs,
|
|
51
53
|
MaskEnabler,
|
|
52
54
|
Device,
|
|
55
|
+
Element,
|
|
53
56
|
Library,
|
|
54
57
|
DateFormat,
|
|
55
58
|
Locale,
|
|
59
|
+
LabelEnablement,
|
|
56
60
|
library,
|
|
57
61
|
LocaleData,
|
|
58
62
|
TimePickerRenderer,
|
|
@@ -181,7 +185,7 @@ function(
|
|
|
181
185
|
* @extends sap.m.DateTimeField
|
|
182
186
|
*
|
|
183
187
|
* @author SAP SE
|
|
184
|
-
* @version 1.
|
|
188
|
+
* @version 1.141.1
|
|
185
189
|
*
|
|
186
190
|
* @constructor
|
|
187
191
|
* @public
|
|
@@ -504,6 +508,11 @@ function(
|
|
|
504
508
|
this._oTimeSemanticMaskHelper.destroy();
|
|
505
509
|
}
|
|
506
510
|
|
|
511
|
+
if (this._invisibleLabelText) {
|
|
512
|
+
this._invisibleLabelText.destroy();
|
|
513
|
+
this._invisibleLabelText = null;
|
|
514
|
+
}
|
|
515
|
+
|
|
507
516
|
MaskEnabler.exit.apply(this, arguments);
|
|
508
517
|
|
|
509
518
|
this._removePickerEvents();
|
|
@@ -693,12 +702,6 @@ function(
|
|
|
693
702
|
* @public
|
|
694
703
|
*/
|
|
695
704
|
TimePicker.prototype.onAfterOpen = function() {
|
|
696
|
-
var oClocks = this._getClocks();
|
|
697
|
-
|
|
698
|
-
if (oClocks) {
|
|
699
|
-
oClocks._focusActiveButton();
|
|
700
|
-
}
|
|
701
|
-
|
|
702
705
|
this.fireAfterValueHelpOpen();
|
|
703
706
|
};
|
|
704
707
|
|
|
@@ -1566,20 +1569,13 @@ function(
|
|
|
1566
1569
|
oPopover,
|
|
1567
1570
|
oPicker,
|
|
1568
1571
|
oClocks,
|
|
1569
|
-
oResourceBundle,
|
|
1570
1572
|
sOKButtonText,
|
|
1571
1573
|
sCancelButtonText,
|
|
1572
|
-
sTitle,
|
|
1573
1574
|
oIcon = this.getAggregation("_endIcon")[0],
|
|
1574
|
-
sLocaleId = this._getLocale().getLanguage()
|
|
1575
|
-
sArialabelledby,
|
|
1576
|
-
sLabelId,
|
|
1577
|
-
sLabel;
|
|
1575
|
+
sLocaleId = this._getLocale().getLanguage();
|
|
1578
1576
|
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
sCancelButtonText = oResourceBundle.getText("TIMEPICKER_CANCEL");
|
|
1582
|
-
sTitle = this._oResourceBundle.getText("TIMEPICKER_SET_TIME");
|
|
1577
|
+
sOKButtonText = this._oResourceBundle.getText("TIMEPICKER_SET");
|
|
1578
|
+
sCancelButtonText = this._oResourceBundle.getText("TIMEPICKER_CANCEL");
|
|
1583
1579
|
|
|
1584
1580
|
oClocks = new TimePickerClocks(this.getId() + "-clocks", {
|
|
1585
1581
|
support2400: this._getSupport2400(),
|
|
@@ -1598,7 +1594,6 @@ function(
|
|
|
1598
1594
|
showHeader: false,
|
|
1599
1595
|
horizontalScrolling: false,
|
|
1600
1596
|
verticalScrolling: true,
|
|
1601
|
-
title: sTitle,
|
|
1602
1597
|
placement: PlacementType.VerticalPreferredBottom,
|
|
1603
1598
|
contentWidth: "20rem",
|
|
1604
1599
|
beginButton: new Button(this.getId() + "-OK", {
|
|
@@ -1614,7 +1609,7 @@ function(
|
|
|
1614
1609
|
oHeader,
|
|
1615
1610
|
oClocks
|
|
1616
1611
|
],
|
|
1617
|
-
ariaLabelledBy:
|
|
1612
|
+
ariaLabelledBy: this._getInvisibleLabelText().getId(),
|
|
1618
1613
|
beforeOpen: this.onBeforeOpen.bind(this),
|
|
1619
1614
|
afterOpen: this.onAfterOpen.bind(this),
|
|
1620
1615
|
afterClose: this.onAfterClose.bind(this)
|
|
@@ -1630,13 +1625,7 @@ function(
|
|
|
1630
1625
|
oPopover.oPopup.setExtraContent([oIcon]);
|
|
1631
1626
|
|
|
1632
1627
|
if (Device.system.phone) {
|
|
1633
|
-
|
|
1634
|
-
sLabelId = sArialabelledby && sArialabelledby.split(" ")[0];
|
|
1635
|
-
sLabel = sLabelId ? document.getElementById(sLabelId).textContent : "";
|
|
1636
|
-
|
|
1637
|
-
if (sLabel) {
|
|
1638
|
-
oPicker.setTitle(sLabel);
|
|
1639
|
-
}
|
|
1628
|
+
oPicker.setTitle(this._getLabelledText());
|
|
1640
1629
|
oPicker.setShowHeader(true);
|
|
1641
1630
|
} else {
|
|
1642
1631
|
this._oPopoverKeydownEventDelegate = {
|
|
@@ -1679,15 +1668,13 @@ function(
|
|
|
1679
1668
|
TimePicker.prototype._createNumericPicker = function(sFormat) {
|
|
1680
1669
|
var that = this,
|
|
1681
1670
|
oPicker,
|
|
1682
|
-
oResourceBundle,
|
|
1683
1671
|
sOKButtonText,
|
|
1684
1672
|
sCancelButtonText,
|
|
1685
1673
|
sLocaleId = this._getLocale().getLanguage(),
|
|
1686
1674
|
oHeader = this._getValueStateHeader();
|
|
1687
1675
|
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
sCancelButtonText = oResourceBundle.getText("TIMEPICKER_CANCEL");
|
|
1676
|
+
sOKButtonText = this._oResourceBundle.getText("TIMEPICKER_SET");
|
|
1677
|
+
sCancelButtonText = this._oResourceBundle.getText("TIMEPICKER_CANCEL");
|
|
1691
1678
|
|
|
1692
1679
|
oPicker = new Popover(that.getId() + "-NP", {
|
|
1693
1680
|
showArrow: false,
|
|
@@ -1726,7 +1713,7 @@ function(
|
|
|
1726
1713
|
})
|
|
1727
1714
|
],
|
|
1728
1715
|
|
|
1729
|
-
ariaLabelledBy:
|
|
1716
|
+
ariaLabelledBy: this._getInvisibleLabelText().getId(),
|
|
1730
1717
|
beforeOpen: this.onBeforeNumericOpen.bind(this),
|
|
1731
1718
|
afterOpen: function() {
|
|
1732
1719
|
this.fireAfterValueHelpOpen();
|
|
@@ -1746,6 +1733,47 @@ function(
|
|
|
1746
1733
|
return oPicker;
|
|
1747
1734
|
};
|
|
1748
1735
|
|
|
1736
|
+
/**
|
|
1737
|
+
* Returns the invisible label text for the TimePicker.
|
|
1738
|
+
* @private
|
|
1739
|
+
* @returns {sap.ui.core.InvisibleText} The invisible label text
|
|
1740
|
+
*/
|
|
1741
|
+
TimePicker.prototype._getInvisibleLabelText = function() {
|
|
1742
|
+
if (!this._invisibleLabelText) {
|
|
1743
|
+
this._invisibleLabelText = new InvisibleText({
|
|
1744
|
+
text: this._getPickerAccessibleName()
|
|
1745
|
+
}).toStatic();
|
|
1746
|
+
}
|
|
1747
|
+
|
|
1748
|
+
return this._invisibleLabelText;
|
|
1749
|
+
};
|
|
1750
|
+
|
|
1751
|
+
/**
|
|
1752
|
+
* Returns the accessible name for the TimePicker.
|
|
1753
|
+
* @returns {string} The accessible name
|
|
1754
|
+
*/
|
|
1755
|
+
TimePicker.prototype._getPickerAccessibleName = function() {
|
|
1756
|
+
return this._oResourceBundle.getText("TIMEPICKER_SET_TIME", [this._getLabelledText()]);
|
|
1757
|
+
};
|
|
1758
|
+
|
|
1759
|
+
/**
|
|
1760
|
+
* Returns the labelled text for the TimePicker.
|
|
1761
|
+
* @private
|
|
1762
|
+
* @returns {string} The labelled text
|
|
1763
|
+
*/
|
|
1764
|
+
TimePicker.prototype._getLabelledText = function() {
|
|
1765
|
+
const aExternalLabelRefs = LabelEnablement.getReferencingLabels(this);
|
|
1766
|
+
const aLabels = aExternalLabelRefs.length ? aExternalLabelRefs : this.getAriaLabelledBy();
|
|
1767
|
+
|
|
1768
|
+
return aLabels
|
|
1769
|
+
.reduce(function(sAccumulator, sCurrent) {
|
|
1770
|
+
const oLabelTextControl = Element.getElementById(sCurrent);
|
|
1771
|
+
const sLabelText = oLabelTextControl && oLabelTextControl.getText ? oLabelTextControl.getText() : "";
|
|
1772
|
+
return `${sAccumulator} ${sLabelText}`;
|
|
1773
|
+
}, "")
|
|
1774
|
+
.trim();
|
|
1775
|
+
};
|
|
1776
|
+
|
|
1749
1777
|
/**
|
|
1750
1778
|
* Gets <code>TimePickerClocks</code> control attached to this <code>TimePicker</code> instance.
|
|
1751
1779
|
*
|
|
@@ -2385,7 +2413,7 @@ function(
|
|
|
2385
2413
|
var oRenderer = this.getRenderer();
|
|
2386
2414
|
var oInfo = DateTimeField.prototype.getAccessibilityInfo.apply(this, arguments);
|
|
2387
2415
|
var sValue = this.getValue() || "";
|
|
2388
|
-
var sRequired = this.getRequired() ?
|
|
2416
|
+
var sRequired = this.getRequired() ? this._oResourceBundle.getText("ELEMENT_REQUIRED") : '';
|
|
2389
2417
|
|
|
2390
2418
|
if (this._bValid) {
|
|
2391
2419
|
var oDate = this.getDateValue();
|
|
@@ -2395,7 +2423,7 @@ function(
|
|
|
2395
2423
|
}
|
|
2396
2424
|
|
|
2397
2425
|
oInfo.role = oRenderer.getAriaRole(this);
|
|
2398
|
-
oInfo.type =
|
|
2426
|
+
oInfo.type = this._oResourceBundle.getText("ACC_CTR_TYPE_TIMEINPUT");
|
|
2399
2427
|
oInfo.description = [sValue || this._getPlaceholder(), oRenderer.getDescribedByAnnouncement(this), sRequired].join(" ").trim();
|
|
2400
2428
|
oInfo.autocomplete = "none";
|
|
2401
2429
|
oInfo.haspopup = true;
|
|
@@ -49,10 +49,11 @@ sap.ui.define([
|
|
|
49
49
|
*
|
|
50
50
|
* @class
|
|
51
51
|
* A picker clocks container control used inside the {@link sap.m.TimePicker}.
|
|
52
|
+
* If you use the control standalone, please call the {@link #prepareForOpen} method before opening or displaying it.
|
|
52
53
|
* @extends sap.ui.core.Control
|
|
53
54
|
*
|
|
54
55
|
* @author SAP SE
|
|
55
|
-
* @version 1.
|
|
56
|
+
* @version 1.141.1
|
|
56
57
|
*
|
|
57
58
|
* @constructor
|
|
58
59
|
* @public
|
|
@@ -261,8 +262,9 @@ sap.ui.define([
|
|
|
261
262
|
*
|
|
262
263
|
* @public
|
|
263
264
|
*/
|
|
264
|
-
|
|
265
|
+
TimePickerClocks.prototype.init = function() {
|
|
265
266
|
TimePickerInternals.prototype.init.apply(this, arguments);
|
|
267
|
+
this._performInitialFocus = false;
|
|
266
268
|
};
|
|
267
269
|
|
|
268
270
|
/**
|
|
@@ -270,11 +272,14 @@ sap.ui.define([
|
|
|
270
272
|
*
|
|
271
273
|
* @private
|
|
272
274
|
*/
|
|
273
|
-
|
|
275
|
+
TimePickerClocks.prototype.onAfterRendering = function() {
|
|
274
276
|
if (!this._clickAttached) {
|
|
275
277
|
this._attachClickEvent();
|
|
276
278
|
}
|
|
277
279
|
this._clockConstraints = this._getClocksConstraints();
|
|
280
|
+
if (this._performInitialFocus) {
|
|
281
|
+
this._focusActiveButton();
|
|
282
|
+
}
|
|
278
283
|
};
|
|
279
284
|
|
|
280
285
|
/**
|
|
@@ -544,6 +549,7 @@ sap.ui.define([
|
|
|
544
549
|
aButtons[iIndex].setPressed(iIndex === 0);
|
|
545
550
|
});
|
|
546
551
|
}
|
|
552
|
+
this._performInitialFocus = true;
|
|
547
553
|
|
|
548
554
|
return this;
|
|
549
555
|
};
|
|
@@ -574,6 +580,7 @@ sap.ui.define([
|
|
|
574
580
|
iActiveClock = this._getActiveClockIndex();
|
|
575
581
|
|
|
576
582
|
aButtons && aButtons[iActiveClock] && aButtons[iActiveClock].focus();
|
|
583
|
+
this._performInitialFocus = false;
|
|
577
584
|
};
|
|
578
585
|
|
|
579
586
|
/**
|
package/src/sap/m/Title.js
CHANGED
|
@@ -51,7 +51,7 @@ sap.ui.define(["sap/ui/core/ControlBehavior"],
|
|
|
51
51
|
* style class support on existing elements by calling this function.
|
|
52
52
|
*
|
|
53
53
|
* @author SAP SE
|
|
54
|
-
* @version 1.
|
|
54
|
+
* @version 1.141.1
|
|
55
55
|
*
|
|
56
56
|
* @param {string} sAggregationName the name of the aggregation which should be affected
|
|
57
57
|
* @param {object} fnGetTitleID function that would return the ID of the title
|
|
@@ -43,7 +43,6 @@ sap.ui.define(["sap/ui/core/Renderer", "sap/ui/core/library", "sap/m/Hyphenation
|
|
|
43
43
|
oRm.class("sapMTitle");
|
|
44
44
|
oRm.class("sapMTitleStyle" + oTitle.getTitleStyle());
|
|
45
45
|
oRm.class(oTitle.getWrapping() ? "sapMTitleWrap" : "sapMTitleNoWrap");
|
|
46
|
-
oRm.class("sapUiSelectable");
|
|
47
46
|
|
|
48
47
|
var sWidth = oTitle.getWidth();
|
|
49
48
|
if (!sWidth) {
|
|
@@ -73,6 +72,7 @@ sap.ui.define(["sap/ui/core/Renderer", "sap/ui/core/library", "sap/m/Hyphenation
|
|
|
73
72
|
oRm.openEnd();
|
|
74
73
|
|
|
75
74
|
oRm.openStart("span", oTitle.getId() + "-inner");
|
|
75
|
+
oRm.class("sapUiSelectable");
|
|
76
76
|
oRm.attr("dir", sTextDir !== TextDirection.Inherit ? sTextDir.toLowerCase() : "auto");
|
|
77
77
|
oRm.openEnd();
|
|
78
78
|
if (oTitleContent) { // render a control added in the titleControl aggregation ...
|
package/src/sap/m/Token.js
CHANGED
package/src/sap/m/Tokenizer.js
CHANGED
package/src/sap/m/Toolbar.js
CHANGED
|
@@ -80,7 +80,7 @@ function(
|
|
|
80
80
|
* @implements sap.ui.core.Toolbar,sap.m.IBar
|
|
81
81
|
*
|
|
82
82
|
* @author SAP SE
|
|
83
|
-
* @version 1.
|
|
83
|
+
* @version 1.141.1
|
|
84
84
|
*
|
|
85
85
|
* @constructor
|
|
86
86
|
* @public
|
|
@@ -352,15 +352,22 @@ function(
|
|
|
352
352
|
this.getDomRef().removeEventListener("keydown", this._handleKeyNavigationBound);
|
|
353
353
|
this.getDomRef().addEventListener("keydown", this._handleKeyNavigationBound);
|
|
354
354
|
}
|
|
355
|
+
this._updateActiveButtonText();
|
|
355
356
|
};
|
|
356
357
|
|
|
357
358
|
Toolbar.prototype._handleKeyNavigation = function(oEvent) {
|
|
358
359
|
const focusedElement = document.activeElement;
|
|
359
360
|
const toolbarDom = this.getDomRef();
|
|
361
|
+
|
|
362
|
+
// Prevent navigation if Ctrl, Alt, or Command is pressed
|
|
363
|
+
if (oEvent.ctrlKey || oEvent.altKey || oEvent.metaKey) {
|
|
364
|
+
return; // Let browser handle default behavior
|
|
365
|
+
}
|
|
366
|
+
|
|
360
367
|
if (toolbarDom.contains(focusedElement)) {
|
|
361
368
|
if (oEvent.keyCode === KeyCodes.ARROW_RIGHT || oEvent.keyCode === KeyCodes.ARROW_DOWN) {
|
|
362
369
|
this._moveFocus("forward", oEvent);
|
|
363
|
-
} else if (oEvent.keyCode === KeyCodes.ARROW_LEFT
|
|
370
|
+
} else if (oEvent.keyCode === KeyCodes.ARROW_LEFT || oEvent.keyCode === KeyCodes.ARROW_UP) {
|
|
364
371
|
this._moveFocus("backward", oEvent);
|
|
365
372
|
}
|
|
366
373
|
}
|
|
@@ -609,6 +616,21 @@ function(
|
|
|
609
616
|
if (oLayout instanceof ToolbarLayoutData) {
|
|
610
617
|
oLayout.applyProperties();
|
|
611
618
|
}
|
|
619
|
+
|
|
620
|
+
var oToolbar = this.getParent();
|
|
621
|
+
if (oToolbar && oToolbar.isA("sap.m.Toolbar")) {
|
|
622
|
+
oToolbar._updateActiveButtonText();
|
|
623
|
+
}
|
|
624
|
+
};
|
|
625
|
+
|
|
626
|
+
/**
|
|
627
|
+
* Updates the text of the active button when toolbar content changes
|
|
628
|
+
* @private
|
|
629
|
+
*/
|
|
630
|
+
Toolbar.prototype._updateActiveButtonText = function() {
|
|
631
|
+
if (this.getActive()) {
|
|
632
|
+
this._getActiveButton().setText(this._getToolbarTextContent());
|
|
633
|
+
}
|
|
612
634
|
};
|
|
613
635
|
|
|
614
636
|
// gets called when any content property is changed
|
|
@@ -667,9 +689,39 @@ function(
|
|
|
667
689
|
});
|
|
668
690
|
};
|
|
669
691
|
|
|
692
|
+
/**
|
|
693
|
+
* Gets the text content of the toolbar for accessibility purposes
|
|
694
|
+
* @returns {string} The concatenated text content from all toolbar items
|
|
695
|
+
* @private
|
|
696
|
+
*/
|
|
697
|
+
Toolbar.prototype._getToolbarTextContent = function() {
|
|
698
|
+
const aContent = this.getContent();
|
|
699
|
+
const aTexts = [];
|
|
700
|
+
|
|
701
|
+
aContent.forEach(function(oControl) {
|
|
702
|
+
if (oControl.getVisible?.()) {
|
|
703
|
+
let sText = "";
|
|
704
|
+
const oDomRef = oControl.getDomRef();
|
|
705
|
+
|
|
706
|
+
if (oDomRef) {
|
|
707
|
+
sText = oDomRef.textContent?.trim();
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
if (sText) {
|
|
711
|
+
aTexts.push(sText);
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
});
|
|
715
|
+
|
|
716
|
+
return aTexts.join(" ");
|
|
717
|
+
};
|
|
718
|
+
|
|
670
719
|
Toolbar.prototype._getActiveButton = function() {
|
|
671
720
|
if (!this._activeButton) {
|
|
672
|
-
this._activeButton = new Button({
|
|
721
|
+
this._activeButton = new Button({
|
|
722
|
+
text: this._getToolbarTextContent(),
|
|
723
|
+
id:"sapMTBActiveButton" + this.getId()
|
|
724
|
+
}).addStyleClass("sapMTBActiveButton");
|
|
673
725
|
this._activeButton.onfocusin = function() {
|
|
674
726
|
this.addStyleClass("sapMTBFocused");
|
|
675
727
|
if (typeof Button.prototype.onfocusin === "function") {
|
|
@@ -25,7 +25,7 @@ sap.ui.define(['./library', 'sap/ui/core/LayoutData'],
|
|
|
25
25
|
* <code>layoutData</code> aggregation of {@link sap.m.ToolbarSpacer} and if set it's ignored.
|
|
26
26
|
*
|
|
27
27
|
* @extends sap.ui.core.LayoutData
|
|
28
|
-
* @version 1.
|
|
28
|
+
* @version 1.141.1
|
|
29
29
|
*
|
|
30
30
|
* @constructor
|
|
31
31
|
* @public
|
package/src/sap/m/Tree.js
CHANGED
package/src/sap/m/VBox.js
CHANGED