@openui5/sap.m 1.107.0 → 1.108.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/.dtsgenrc +22 -0
- package/THIRDPARTY.txt +1 -1
- package/package.json +4 -4
- package/src/sap/m/.library +2 -2
- 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 +17 -1
- package/src/sap/m/ActionTileContent.js +7 -5
- package/src/sap/m/AdditionalTextButton.js +42 -0
- package/src/sap/m/AdditionalTextButtonRenderer.js +60 -0
- package/src/sap/m/App.js +1 -1
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +49 -7
- package/src/sap/m/AvatarRenderer.js +10 -2
- package/src/sap/m/Bar.js +2 -2
- 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/ButtonRenderer.js +26 -23
- package/src/sap/m/Carousel.js +348 -286
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CarouselRenderer.js +52 -20
- 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 +36 -8
- 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 +15 -6
- 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 +2 -2
- package/src/sap/m/Dialog.js +29 -2
- package/src/sap/m/DialogRenderer.js +20 -6
- 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 +3 -2
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +42 -2
- package/src/sap/m/ExpandableTextRenderer.js +4 -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 +64 -18
- package/src/sap/m/GenericTileLineModeRenderer.js +4 -4
- package/src/sap/m/GenericTileRenderer.js +23 -14
- 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 +68 -10
- package/src/sap/m/IllustratedMessageRenderer.js +6 -0
- package/src/sap/m/IllustratedMessageSize.js +8 -1
- package/src/sap/m/Illustration.js +1 -1
- package/src/sap/m/IllustrationPool.js +2 -0
- package/src/sap/m/Image.js +1 -1
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/Input.js +3 -2
- package/src/sap/m/InputBase.js +4 -3
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/Label.js +11 -5
- package/src/sap/m/LabelRenderer.js +5 -3
- 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 +1 -1
- package/src/sap/m/ListBaseRenderer.js +1 -1
- package/src/sap/m/ListItemBase.js +3 -3
- 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 +3 -2
- 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/ObjectListItemRenderer.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 +88 -28
- package/src/sap/m/PlanningCalendarHeader.js +27 -5
- 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 +3 -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 +84 -15
- package/src/sap/m/SlideTileRenderer.js +5 -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 +3 -9
- 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 +60 -11
- 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 +7 -4
- 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 +2 -2
- package/src/sap/m/TimePicker.js +15 -42
- 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/ToDoCardRenderer.js +9 -0
- 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 +23 -77
- package/src/sap/m/TreeItemBase.js +22 -11
- 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 +11 -7
- 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/delegate/DateNavigation.js +32 -33
- package/src/sap/m/designtime/messagebundle_sv.properties +2 -2
- package/src/sap/m/library.js +3 -2
- package/src/sap/m/messagebundle.properties +61 -13
- package/src/sap/m/messagebundle_ar.properties +49 -15
- package/src/sap/m/messagebundle_bg.properties +48 -14
- package/src/sap/m/messagebundle_ca.properties +48 -14
- package/src/sap/m/messagebundle_cs.properties +47 -13
- package/src/sap/m/messagebundle_cy.properties +49 -15
- package/src/sap/m/messagebundle_da.properties +47 -13
- package/src/sap/m/messagebundle_de.properties +50 -16
- package/src/sap/m/messagebundle_el.properties +48 -14
- package/src/sap/m/messagebundle_en.properties +48 -14
- package/src/sap/m/messagebundle_en_GB.properties +48 -14
- package/src/sap/m/messagebundle_en_US_sappsd.properties +47 -15
- package/src/sap/m/messagebundle_en_US_saprigi.properties +42 -9
- package/src/sap/m/messagebundle_en_US_saptrc.properties +50 -16
- package/src/sap/m/messagebundle_es.properties +49 -15
- package/src/sap/m/messagebundle_es_MX.properties +55 -21
- package/src/sap/m/messagebundle_et.properties +46 -12
- package/src/sap/m/messagebundle_fi.properties +47 -13
- package/src/sap/m/messagebundle_fr.properties +50 -16
- package/src/sap/m/messagebundle_fr_CA.properties +50 -16
- package/src/sap/m/messagebundle_hi.properties +47 -13
- package/src/sap/m/messagebundle_hr.properties +47 -13
- package/src/sap/m/messagebundle_hu.properties +47 -13
- package/src/sap/m/messagebundle_id.properties +47 -13
- package/src/sap/m/messagebundle_it.properties +49 -15
- package/src/sap/m/messagebundle_iw.properties +47 -13
- package/src/sap/m/messagebundle_ja.properties +48 -14
- package/src/sap/m/messagebundle_kk.properties +48 -14
- package/src/sap/m/messagebundle_ko.properties +48 -14
- package/src/sap/m/messagebundle_lt.properties +54 -20
- package/src/sap/m/messagebundle_lv.properties +47 -13
- package/src/sap/m/messagebundle_ms.properties +47 -13
- package/src/sap/m/messagebundle_nl.properties +48 -14
- package/src/sap/m/messagebundle_no.properties +48 -14
- package/src/sap/m/messagebundle_pl.properties +47 -13
- package/src/sap/m/messagebundle_pt.properties +48 -14
- package/src/sap/m/messagebundle_pt_PT.properties +51 -17
- package/src/sap/m/messagebundle_ro.properties +48 -14
- package/src/sap/m/messagebundle_ru.properties +48 -14
- package/src/sap/m/messagebundle_sh.properties +48 -14
- package/src/sap/m/messagebundle_sk.properties +46 -12
- package/src/sap/m/messagebundle_sl.properties +49 -15
- package/src/sap/m/messagebundle_sv.properties +48 -14
- package/src/sap/m/messagebundle_th.properties +48 -14
- package/src/sap/m/messagebundle_tr.properties +48 -14
- package/src/sap/m/messagebundle_uk.properties +48 -14
- package/src/sap/m/messagebundle_vi.properties +48 -14
- package/src/sap/m/messagebundle_zh_CN.properties +48 -14
- package/src/sap/m/messagebundle_zh_TW.properties +48 -14
- 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/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 +2 -2
- 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 +2 -2
- 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 +27 -8
- 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/ActionTile.less +67 -10
- package/src/sap/m/themes/base/AdditionalTextButton.less +38 -0
- package/src/sap/m/themes/base/Avatar.less +4 -0
- package/src/sap/m/themes/base/Carousel.less +64 -33
- package/src/sap/m/themes/base/ColumnMenu.less +4 -4
- package/src/sap/m/themes/base/Dialog.less +1 -1
- package/src/sap/m/themes/base/GenericTile.less +121 -30
- package/src/sap/m/themes/base/IllustratedMessage.less +43 -1
- package/src/sap/m/themes/base/Label.less +5 -0
- package/src/sap/m/themes/base/MessageBox.less +5 -5
- package/src/sap/m/themes/base/Table.less +7 -3
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-AddColumn.svg +26 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-AddPeople.svg +8 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-BalloonSky.svg +6 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-Connection.svg +9 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-EmptyCalendar.svg +36 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-EmptyList.svg +6 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-EmptyPlanningCalendar.svg +36 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-ErrorScreen.svg +8 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-FilterTable.svg +7 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-GroupTable.svg +35 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoFilterResults.svg +7 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoMail_v1.svg +9 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoSavedItems_v1.svg +12 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoSearchResults.svg +10 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoTasks_v1.svg +12 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-PageNotFound.svg +6 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-ReloadScreen.svg +8 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SearchEarth.svg +6 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SearchFolder.svg +10 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleBalloon.svg +6 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleBell.svg +7 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleCalendar.svg +36 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleCheckmark.svg +4 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleConnection.svg +9 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleEmptyDoc.svg +7 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleEmptyList.svg +6 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleError.svg +8 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleMagnifier.svg +6 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleMail.svg +9 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleNoSavedItems.svg +12 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleNotFoundMagnifier.svg +10 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleReload.svg +8 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SimpleTask.svg +12 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SleepingBell.svg +7 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SortColumn.svg +28 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SuccessHighFive.svg +6 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-SuccessScreen.svg +4 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-Tent.svg +7 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dot-UnableToLoadImage.svg +8 -0
- package/src/sap/m/themes/base/library.source.less +2 -1
- package/src/sap/m/upload/UploadSet.js +14 -3
- package/src/sap/m/upload/UploadSetItem.js +5 -3
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
|
@@ -15,7 +15,7 @@ sap.ui.define(["sap/ui/base/ManagedObject"], function (ManagedObject) {
|
|
|
15
15
|
* Applies a <code>sap.m.CarouselLayout</code> to a provided DOM element or Control.
|
|
16
16
|
*
|
|
17
17
|
* @author SAP SE
|
|
18
|
-
* @version 1.
|
|
18
|
+
* @version 1.108.0
|
|
19
19
|
*
|
|
20
20
|
* @extends sap.ui.base.ManagedObject
|
|
21
21
|
*
|
|
@@ -42,9 +42,10 @@ sap.ui.define([
|
|
|
42
42
|
iPageCount = aPages.length,
|
|
43
43
|
sPageIndicatorPlacement = oCarousel.getPageIndicatorPlacement(),
|
|
44
44
|
sArrowsPlacement = oCarousel.getArrowsPlacement(),
|
|
45
|
-
iIndex = oCarousel.
|
|
45
|
+
iIndex = oCarousel._getPageIndex(oCarousel.getActivePage());
|
|
46
46
|
|
|
47
47
|
this._renderOpeningDiv(oRM, oCarousel);
|
|
48
|
+
this._renderDummyArea(oRM, oCarousel, "before");
|
|
48
49
|
|
|
49
50
|
//visual indicator
|
|
50
51
|
if (sPageIndicatorPlacement === PlacementType.Top) {
|
|
@@ -74,6 +75,7 @@ sap.ui.define([
|
|
|
74
75
|
});
|
|
75
76
|
}
|
|
76
77
|
|
|
78
|
+
this._renderDummyArea(oRM, oCarousel, "after");
|
|
77
79
|
oRM.close("div");
|
|
78
80
|
//page-wrap ends
|
|
79
81
|
};
|
|
@@ -88,7 +90,6 @@ sap.ui.define([
|
|
|
88
90
|
.style("width", oCarousel.getWidth())
|
|
89
91
|
.style("height", oCarousel.getHeight())
|
|
90
92
|
.attr("data-sap-ui-customfastnavgroup", true) // custom F6 handling
|
|
91
|
-
.attr("tabindex", 0)
|
|
92
93
|
.accessibilityState(oCarousel, {
|
|
93
94
|
role: "listbox"
|
|
94
95
|
});
|
|
@@ -126,32 +127,55 @@ sap.ui.define([
|
|
|
126
127
|
|
|
127
128
|
oRM.openEnd();
|
|
128
129
|
|
|
129
|
-
var fnRenderPage = function (oPage, iIndex, aArray) {
|
|
130
|
-
//item div
|
|
131
|
-
oRM.openStart("div", oCarousel.getId() + "-" + oPage.getId() + "-slide")
|
|
132
|
-
.class("sapMCrslItem")
|
|
133
|
-
.accessibilityState(oPage, {
|
|
134
|
-
role: "option",
|
|
135
|
-
posinset: iIndex + 1,
|
|
136
|
-
setsize: aArray.length,
|
|
137
|
-
selected: oCarousel.getActivePage() === oPage.getId() ? true : false
|
|
138
|
-
}).openEnd();
|
|
139
|
-
|
|
140
|
-
CarouselRenderer._renderPageInScrollContainer(oRM, oCarousel, oPage);
|
|
141
|
-
|
|
142
|
-
oRM.close("div");
|
|
143
|
-
};
|
|
144
|
-
|
|
145
130
|
// Render Pages
|
|
146
131
|
if (aPages.length) {
|
|
147
|
-
aPages.forEach(
|
|
132
|
+
aPages.forEach(function (oPage, iIndex, aArray) {
|
|
133
|
+
CarouselRenderer._renderPage(oRM, oPage, oCarousel, iIndex, aArray);
|
|
134
|
+
});
|
|
148
135
|
} else {
|
|
149
|
-
|
|
136
|
+
CarouselRenderer._renderNoData(oRM, oCarousel);
|
|
150
137
|
}
|
|
151
138
|
|
|
152
139
|
oRM.close("div");
|
|
153
140
|
};
|
|
154
141
|
|
|
142
|
+
CarouselRenderer._renderPage = function (oRM, oPage, oCarousel, iIndex, aArray) {
|
|
143
|
+
var bSelected = oCarousel.getActivePage() === oPage.getId();
|
|
144
|
+
|
|
145
|
+
oRM.openStart("div", oCarousel.getId() + "-" + oPage.getId() + "-slide")
|
|
146
|
+
.class("sapMCrslItem")
|
|
147
|
+
.accessibilityState(oPage, {
|
|
148
|
+
role: "option",
|
|
149
|
+
posinset: iIndex + 1,
|
|
150
|
+
setsize: aArray.length,
|
|
151
|
+
selected: bSelected,
|
|
152
|
+
hidden: !oCarousel._isPageDisplayed(iIndex)
|
|
153
|
+
})
|
|
154
|
+
.attr("tabindex", bSelected ? 0 : -1)
|
|
155
|
+
.openEnd();
|
|
156
|
+
|
|
157
|
+
CarouselRenderer._renderPageInScrollContainer(oRM, oCarousel, oPage);
|
|
158
|
+
|
|
159
|
+
oRM.close("div");
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
CarouselRenderer._renderNoData = function (oRM, oCarousel) {
|
|
163
|
+
var oEmptyPage = oCarousel._getEmptyPage();
|
|
164
|
+
var oAccInfo = oEmptyPage.getAccessibilityInfo();
|
|
165
|
+
|
|
166
|
+
oRM.openStart("div", oCarousel.getId() + "-noData")
|
|
167
|
+
.attr("tabindex", 0)
|
|
168
|
+
.class("sapMCrslNoDataItem")
|
|
169
|
+
.accessibilityState({
|
|
170
|
+
label: oAccInfo.type + " " + oAccInfo.description
|
|
171
|
+
})
|
|
172
|
+
.openEnd();
|
|
173
|
+
|
|
174
|
+
oRM.renderControl(oCarousel._getEmptyPage());
|
|
175
|
+
|
|
176
|
+
oRM.close("div");
|
|
177
|
+
};
|
|
178
|
+
|
|
155
179
|
/**
|
|
156
180
|
* Renders the page indicator, using the provided {@link sap.ui.core.RenderManager}.
|
|
157
181
|
* Page indicator is only rendered if there is more than one carousel page
|
|
@@ -349,5 +373,13 @@ sap.ui.define([
|
|
|
349
373
|
// end wrapping in scroll container
|
|
350
374
|
};
|
|
351
375
|
|
|
376
|
+
CarouselRenderer._renderDummyArea = function(oRM, oControl, sAreaId) {
|
|
377
|
+
oRM.openStart("div", oControl.getId() + "-" + sAreaId)
|
|
378
|
+
.class("sapMCrslDummyArea")
|
|
379
|
+
.attr("tabindex", 0)
|
|
380
|
+
.openEnd()
|
|
381
|
+
.close("div");
|
|
382
|
+
};
|
|
383
|
+
|
|
352
384
|
return CarouselRenderer;
|
|
353
385
|
}, /* bExport= */ true);
|
package/src/sap/m/CheckBox.js
CHANGED
|
@@ -104,7 +104,7 @@ sap.ui.define([
|
|
|
104
104
|
* To prevent this, apps using the <code>ColorPalette</code> should also load the <code>sap.ui.unified</code> library in advance.
|
|
105
105
|
*
|
|
106
106
|
* @extends sap.ui.core.Control
|
|
107
|
-
* @version 1.
|
|
107
|
+
* @version 1.108.0
|
|
108
108
|
*
|
|
109
109
|
* @constructor
|
|
110
110
|
* @public
|
package/src/sap/m/Column.js
CHANGED
|
@@ -11,9 +11,10 @@ sap.ui.define([
|
|
|
11
11
|
'sap/ui/core/Renderer',
|
|
12
12
|
'sap/ui/core/library',
|
|
13
13
|
'sap/ui/Device',
|
|
14
|
-
"sap/ui/thirdparty/jquery"
|
|
14
|
+
"sap/ui/thirdparty/jquery",
|
|
15
|
+
"sap/ui/core/InvisibleText"
|
|
15
16
|
],
|
|
16
|
-
function(library, Element, Renderer, coreLibrary, Device, jQuery) {
|
|
17
|
+
function(library, Element, Renderer, coreLibrary, Device, jQuery, InvisibleText) {
|
|
17
18
|
"use strict";
|
|
18
19
|
|
|
19
20
|
|
|
@@ -46,7 +47,7 @@ sap.ui.define([
|
|
|
46
47
|
* @extends sap.ui.core.Element
|
|
47
48
|
*
|
|
48
49
|
* @author SAP SE
|
|
49
|
-
* @version 1.
|
|
50
|
+
* @version 1.108.0
|
|
50
51
|
*
|
|
51
52
|
* @constructor
|
|
52
53
|
* @public
|
|
@@ -723,16 +724,43 @@ sap.ui.define([
|
|
|
723
724
|
};
|
|
724
725
|
|
|
725
726
|
/**
|
|
726
|
-
* Returns the
|
|
727
|
+
* Returns the column header menu instance that this column is associated with via the <code>headerMenu</code> association.
|
|
727
728
|
*
|
|
728
|
-
* @returns {sap.ui.core.IColumnHeaderMenu}
|
|
729
|
-
* @
|
|
730
|
-
* @public
|
|
729
|
+
* @returns {sap.ui.core.IColumnHeaderMenu | undefined} The column header menu instance
|
|
730
|
+
* @private
|
|
731
731
|
*/
|
|
732
|
-
Column.prototype.
|
|
732
|
+
Column.prototype._getHeaderMenuInstance = function () {
|
|
733
733
|
return sap.ui.getCore().byId(this.getAssociation("headerMenu"));
|
|
734
734
|
};
|
|
735
735
|
|
|
736
|
+
Column.prototype.setHeader = function (oControl) {
|
|
737
|
+
var oOldHeader = this.getHeader();
|
|
738
|
+
if (oOldHeader && oOldHeader.isA("sap.m.Label")) {
|
|
739
|
+
oOldHeader.detachEvent("_change", this._onLabelPropertyChange, this);
|
|
740
|
+
oOldHeader.setIsInColumnHeaderContext(false);
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
this.setAggregation("header", oControl);
|
|
744
|
+
|
|
745
|
+
var oNewHeader = this.getHeader();
|
|
746
|
+
if (oNewHeader && oNewHeader.isA("sap.m.Label")) {
|
|
747
|
+
oNewHeader.attachEvent("_change", this._onLabelPropertyChange, this);
|
|
748
|
+
oNewHeader.setIsInColumnHeaderContext(true);
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
return this;
|
|
752
|
+
};
|
|
753
|
+
|
|
754
|
+
Column.prototype._onLabelPropertyChange = function (oEvent) {
|
|
755
|
+
if (oEvent.getParameter("name") != "required") {
|
|
756
|
+
return;
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
if (this.getTable().bActiveHeaders || this._getHeaderMenuInstance()) {
|
|
760
|
+
this.$("ah")[oEvent.getSource().getRequired() ? "addAriaDescribedBy" : "removeAriaDescribedBy"](InvisibleText.getStaticId("sap.m", "CONTROL_IN_COLUMN_REQUIRED"));
|
|
761
|
+
}
|
|
762
|
+
};
|
|
763
|
+
|
|
736
764
|
return Column;
|
|
737
765
|
|
|
738
766
|
});
|
package/src/sap/m/ComboBox.js
CHANGED
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.108.0
|
|
25
25
|
*
|
|
26
26
|
* @constructor
|
|
27
27
|
* @public
|
package/src/sap/m/DatePicker.js
CHANGED
|
@@ -34,6 +34,7 @@ sap.ui.define([
|
|
|
34
34
|
"sap/ui/core/LabelEnablement",
|
|
35
35
|
"sap/ui/unified/library",
|
|
36
36
|
"sap/ui/core/Configuration",
|
|
37
|
+
"sap/ui/core/date/CalendarWeekNumbering",
|
|
37
38
|
"sap/ui/dom/jquery/cursorPos"
|
|
38
39
|
],
|
|
39
40
|
function(
|
|
@@ -63,7 +64,8 @@ sap.ui.define([
|
|
|
63
64
|
CustomYearPicker,
|
|
64
65
|
LabelEnablement,
|
|
65
66
|
unifiedLibrary,
|
|
66
|
-
Configuration
|
|
67
|
+
Configuration,
|
|
68
|
+
CalendarWeekNumbering
|
|
67
69
|
) {
|
|
68
70
|
"use strict";
|
|
69
71
|
|
|
@@ -152,7 +154,7 @@ sap.ui.define([
|
|
|
152
154
|
* the close event), or select Cancel.
|
|
153
155
|
*
|
|
154
156
|
* @extends sap.m.DateTimeField
|
|
155
|
-
* @version 1.
|
|
157
|
+
* @version 1.108.0
|
|
156
158
|
*
|
|
157
159
|
* @constructor
|
|
158
160
|
* @public
|
|
@@ -230,7 +232,14 @@ sap.ui.define([
|
|
|
230
232
|
*
|
|
231
233
|
* @since 1.97
|
|
232
234
|
*/
|
|
233
|
-
hideInput: { type: "boolean", group: "Misc", defaultValue: false }
|
|
235
|
+
hideInput: { type: "boolean", group: "Misc", defaultValue: false },
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* If set, the calendar week numbering is used for display.
|
|
239
|
+
* If not set, the calendar week numbering of the global configuration is used.
|
|
240
|
+
* @since 1.108.0
|
|
241
|
+
*/
|
|
242
|
+
calendarWeekNumbering : { type : "sap.ui.core.date.CalendarWeekNumbering", group : "Appearance", defaultValue: null}
|
|
234
243
|
|
|
235
244
|
},
|
|
236
245
|
|
|
@@ -367,7 +376,8 @@ sap.ui.define([
|
|
|
367
376
|
id: this.getId() + "-icon",
|
|
368
377
|
src: this.getIconSrc(),
|
|
369
378
|
noTabStop: true,
|
|
370
|
-
|
|
379
|
+
decorative: false,
|
|
380
|
+
useIconTooltip: false
|
|
371
381
|
});
|
|
372
382
|
|
|
373
383
|
// idicates whether the picker is still open
|
|
@@ -1243,12 +1253,12 @@ sap.ui.define([
|
|
|
1243
1253
|
var CalendarConstructor = this._getCalendarConstructor();
|
|
1244
1254
|
|
|
1245
1255
|
if (!this._getCalendar()) {
|
|
1246
|
-
|
|
1247
1256
|
this._oCalendar = new CalendarConstructor(this.getId() + "-cal", {
|
|
1248
1257
|
intervalSelection: this._bIntervalSelection,
|
|
1249
1258
|
minDate: this.getMinDate(),
|
|
1250
1259
|
maxDate: this.getMaxDate(),
|
|
1251
1260
|
legend: this.getLegend(),
|
|
1261
|
+
calendarWeekNumbering: this.getCalendarWeekNumbering(),
|
|
1252
1262
|
startDateChange: function () {
|
|
1253
1263
|
this.fireNavigate({
|
|
1254
1264
|
dateRange: this._getVisibleDatesRange(this._getCalendar())
|
|
@@ -1261,7 +1271,6 @@ sap.ui.define([
|
|
|
1261
1271
|
this._getCalendar().addSelectedDate(this._oDateRange);
|
|
1262
1272
|
this._getCalendar()._setSpecialDatesControlOrigin(this);
|
|
1263
1273
|
this._getCalendar().attachCancel(_cancel, this);
|
|
1264
|
-
|
|
1265
1274
|
if (this.$().closest(".sapUiSizeCompact").length > 0) {
|
|
1266
1275
|
this._getCalendar().addStyleClass("sapUiSizeCompact");
|
|
1267
1276
|
}
|
|
@@ -130,8 +130,8 @@ sap.ui.define([
|
|
|
130
130
|
* compact mode and provides a touch-friendly size in cozy mode.
|
|
131
131
|
*
|
|
132
132
|
* @extends sap.m.DatePicker
|
|
133
|
-
* @version 1.
|
|
134
|
-
* @version 1.
|
|
133
|
+
* @version 1.108.0
|
|
134
|
+
* @version 1.108.0
|
|
135
135
|
*
|
|
136
136
|
* @constructor
|
|
137
137
|
* @public
|
|
@@ -143,7 +143,7 @@ sap.ui.define([
|
|
|
143
143
|
* mobile devices, it opens in full screen.
|
|
144
144
|
*
|
|
145
145
|
* @extends sap.m.DatePicker
|
|
146
|
-
* @version 1.
|
|
146
|
+
* @version 1.108.0
|
|
147
147
|
*
|
|
148
148
|
* @constructor
|
|
149
149
|
* @public
|
|
@@ -885,7 +885,7 @@ sap.ui.define([
|
|
|
885
885
|
|
|
886
886
|
if (Device.system.phone) {
|
|
887
887
|
sLabelId = this.$("inner").attr("aria-labelledby");
|
|
888
|
-
sLabel = sLabelId ? document.getElementById(sLabelId).
|
|
888
|
+
sLabel = sLabelId ? document.getElementById(sLabelId).textContent : "";
|
|
889
889
|
this._oPopup.setTitle(sLabel);
|
|
890
890
|
this._oPopup.setShowHeader(true);
|
|
891
891
|
this._oPopup.setShowCloseButton(true);
|
package/src/sap/m/Dialog.js
CHANGED
|
@@ -178,7 +178,7 @@ function(
|
|
|
178
178
|
*
|
|
179
179
|
* @implements sap.ui.core.PopupInterface
|
|
180
180
|
* @author SAP SE
|
|
181
|
-
* @version 1.
|
|
181
|
+
* @version 1.108.0
|
|
182
182
|
*
|
|
183
183
|
* @constructor
|
|
184
184
|
* @public
|
|
@@ -533,6 +533,8 @@ function(
|
|
|
533
533
|
this._initTitlePropagationSupport();
|
|
534
534
|
|
|
535
535
|
this._initResponsivePaddingsEnablement();
|
|
536
|
+
|
|
537
|
+
this._oAriaDescribedbyText = new InvisibleText({id: this.getId() + "-ariaDescribedbyText"});
|
|
536
538
|
};
|
|
537
539
|
|
|
538
540
|
Dialog.prototype.onBeforeRendering = function () {
|
|
@@ -582,6 +584,8 @@ function(
|
|
|
582
584
|
oHeader._setRootAccessibilityRole("heading");
|
|
583
585
|
oHeader._setRootAriaLevel("2");
|
|
584
586
|
}
|
|
587
|
+
|
|
588
|
+
this._oAriaDescribedbyText.setText(this._getAriaDescribedByText());
|
|
585
589
|
};
|
|
586
590
|
|
|
587
591
|
Dialog.prototype.onAfterRendering = function () {
|
|
@@ -631,6 +635,11 @@ function(
|
|
|
631
635
|
this._toolbarSpacer.destroy();
|
|
632
636
|
this._toolbarSpacer = null;
|
|
633
637
|
}
|
|
638
|
+
|
|
639
|
+
if (this._oAriaDescribedbyText) {
|
|
640
|
+
this._oAriaDescribedbyText.destroy();
|
|
641
|
+
this._oAriaDescribedbyText = null;
|
|
642
|
+
}
|
|
634
643
|
};
|
|
635
644
|
/* =========================================================== */
|
|
636
645
|
/* end: Lifecycle functions */
|
|
@@ -1452,7 +1461,7 @@ function(
|
|
|
1452
1461
|
return null;
|
|
1453
1462
|
}
|
|
1454
1463
|
|
|
1455
|
-
return this.$().find('header.sapMDialogTitle')[0];
|
|
1464
|
+
return this.$().find('header.sapMDialogTitle .sapMDialogTitleGroup')[0];
|
|
1456
1465
|
};
|
|
1457
1466
|
|
|
1458
1467
|
/**
|
|
@@ -1749,6 +1758,24 @@ function(
|
|
|
1749
1758
|
return !this.getStretch() && (this.getDraggable() || this.getResizable());
|
|
1750
1759
|
};
|
|
1751
1760
|
|
|
1761
|
+
/**
|
|
1762
|
+
* Returns the correct message to be read by the aria-describedby attribute
|
|
1763
|
+
* @private
|
|
1764
|
+
*/
|
|
1765
|
+
Dialog.prototype._getAriaDescribedByText = function () {
|
|
1766
|
+
var oRb = Core.getLibraryResourceBundle("sap.m");
|
|
1767
|
+
if (this.getResizable() && this.getDraggable()) {
|
|
1768
|
+
return oRb.getText("DIALOG_HEADER_ARIA_DESCRIBEDBY_DRAGGABLE_RESIZABLE");
|
|
1769
|
+
}
|
|
1770
|
+
if (this.getDraggable()) {
|
|
1771
|
+
return oRb.getText("DIALOG_HEADER_ARIA_DESCRIBEDBY_DRAGGABLE");
|
|
1772
|
+
}
|
|
1773
|
+
if (this.getResizable()) {
|
|
1774
|
+
return oRb.getText("DIALOG_HEADER_ARIA_DESCRIBEDBY_RESIZABLE");
|
|
1775
|
+
}
|
|
1776
|
+
return "";
|
|
1777
|
+
};
|
|
1778
|
+
|
|
1752
1779
|
/* =========================================================== */
|
|
1753
1780
|
/* end: private functions */
|
|
1754
1781
|
/* =========================================================== */
|
|
@@ -6,8 +6,9 @@
|
|
|
6
6
|
sap.ui.define([
|
|
7
7
|
"sap/m/library",
|
|
8
8
|
"sap/ui/Device",
|
|
9
|
-
"sap/ui/core/library"
|
|
10
|
-
|
|
9
|
+
"sap/ui/core/library",
|
|
10
|
+
"sap/ui/core/Core"
|
|
11
|
+
], function (library, Device, coreLibrary, Core) {
|
|
11
12
|
"use strict";
|
|
12
13
|
|
|
13
14
|
// shortcut for sap.m.DialogType
|
|
@@ -159,6 +160,7 @@ sap.ui.define([
|
|
|
159
160
|
// In that case, the controller will focus the last focusable element.
|
|
160
161
|
oRM.openStart("span", sId + "-firstfe")
|
|
161
162
|
.class("sapMDialogFirstFE")
|
|
163
|
+
.attr("role", "none")
|
|
162
164
|
.attr("tabindex", "0")
|
|
163
165
|
.openEnd()
|
|
164
166
|
.close("span");
|
|
@@ -167,15 +169,26 @@ sap.ui.define([
|
|
|
167
169
|
if (oHeader) {
|
|
168
170
|
oHeader._applyContextClassFor("header");
|
|
169
171
|
oRM.openStart("header")
|
|
170
|
-
.class("sapMDialogTitle")
|
|
172
|
+
.class("sapMDialogTitle")
|
|
173
|
+
.openEnd()
|
|
174
|
+
.openStart("div")
|
|
175
|
+
.class("sapMDialogTitleGroup");
|
|
171
176
|
|
|
172
177
|
if (oDialog._isDraggableOrResizable()) {
|
|
173
|
-
oRM.attr("tabindex", 0)
|
|
178
|
+
oRM.attr("tabindex", 0)
|
|
179
|
+
.accessibilityState(oHeader, {
|
|
180
|
+
role: "group",
|
|
181
|
+
roledescription: Core.getLibraryResourceBundle("sap.m").getText("DIALOG_HEADER_ARIA_ROLE_DESCRIPTION"),
|
|
182
|
+
describedby: { value: oDialog.getId() + "-ariaDescribedbyText", append: true }
|
|
183
|
+
});
|
|
174
184
|
}
|
|
175
185
|
|
|
176
186
|
oRM.openEnd()
|
|
177
|
-
|
|
178
|
-
|
|
187
|
+
.renderControl(oHeader)
|
|
188
|
+
.renderControl(oDialog._oAriaDescribedbyText)
|
|
189
|
+
.close("div")
|
|
190
|
+
.close("header");
|
|
191
|
+
|
|
179
192
|
}
|
|
180
193
|
|
|
181
194
|
if (oSubHeader && oSubHeader.getVisible()) {
|
|
@@ -229,6 +242,7 @@ sap.ui.define([
|
|
|
229
242
|
// In that case, the controller will focus the first focusable element.
|
|
230
243
|
oRM.openStart("span", sId + "-lastfe")
|
|
231
244
|
.class("sapMDialogLastFE")
|
|
245
|
+
.attr("role", "none")
|
|
232
246
|
.attr("tabindex", "0")
|
|
233
247
|
.openEnd()
|
|
234
248
|
.close("span");
|
package/src/sap/m/DynamicDate.js
CHANGED