@openui5/sap.m 1.101.0 → 1.103.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/THIRDPARTY.txt +1 -1
- package/package.json +4 -4
- package/src/sap/m/.library +2 -1
- package/src/sap/m/AccButton.js +1 -1
- package/src/sap/m/ActionListItem.js +1 -1
- package/src/sap/m/ActionSelect.js +4 -4
- package/src/sap/m/ActionSheet.js +1 -1
- package/src/sap/m/App.js +1 -1
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +1 -1
- package/src/sap/m/Bar.js +12 -22
- package/src/sap/m/BarInPageEnabler.js +1 -1
- package/src/sap/m/Breadcrumbs.js +29 -4
- package/src/sap/m/BusyDialog.js +1 -1
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +4 -4
- 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 +13 -1
- package/src/sap/m/ColorPalettePopover.js +1 -1
- package/src/sap/m/Column.js +10 -1
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +1 -1
- package/src/sap/m/ColumnListItemRenderer.js +6 -2
- 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 +22 -2
- package/src/sap/m/ComboBoxBase.js +7 -7
- 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 +25 -7
- package/src/sap/m/DateRangeSelection.js +5 -5
- package/src/sap/m/DateTimeField.js +22 -10
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +22 -10
- package/src/sap/m/DateTimePickerRenderer.js +1 -1
- package/src/sap/m/Dialog.js +4 -11
- package/src/sap/m/DialogRenderer.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/DynamicDateFormat.js +72 -18
- package/src/sap/m/DynamicDateOption.js +1 -1
- package/src/sap/m/DynamicDateRange.js +105 -26
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +1 -1
- package/src/sap/m/FacetFilter.js +36 -28
- 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 +2 -2
- package/src/sap/m/FormattedText.js +10 -10
- package/src/sap/m/GenericTag.js +5 -5
- package/src/sap/m/GenericTile.js +98 -16
- package/src/sap/m/GenericTileLineModeRenderer.js +3 -1
- package/src/sap/m/GenericTileRenderer.js +98 -62
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingEnablement.js +171 -95
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +50 -65
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +3 -2
- package/src/sap/m/IconTabBarSelectList.js +1 -1
- package/src/sap/m/IconTabFilter.js +4 -4
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +8 -2
- 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 +2 -14
- package/src/sap/m/InputBase.js +16 -9
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/InstanceManager.js +14 -19
- package/src/sap/m/Label.js +1 -1
- package/src/sap/m/LightBox.js +1 -1
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/Link.js +1 -1
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +17 -16
- package/src/sap/m/ListItemBase.js +5 -4
- package/src/sap/m/MaskEnabler.js +1 -1
- package/src/sap/m/MaskInput.js +1 -1
- package/src/sap/m/MaskInputRenderer.js +10 -0
- package/src/sap/m/MaskInputRule.js +1 -1
- package/src/sap/m/Menu.js +1 -1
- package/src/sap/m/MenuButton.js +2 -1
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuListItem.js +3 -3
- package/src/sap/m/MessageBox.js +1020 -908
- 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 +4 -4
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +15 -10
- package/src/sap/m/NavContainer.js +4 -4
- package/src/sap/m/NewsContent.js +1 -1
- package/src/sap/m/NotificationList.js +1 -1
- package/src/sap/m/NotificationListBase.js +175 -79
- package/src/sap/m/NotificationListGroup.js +1 -2
- package/src/sap/m/NotificationListGroupRenderer.js +4 -16
- package/src/sap/m/NotificationListItem.js +5 -16
- package/src/sap/m/NotificationListItemRenderer.js +0 -1
- package/src/sap/m/NumericContent.js +1 -1
- package/src/sap/m/NumericInput.js +1 -1
- package/src/sap/m/ObjectAttribute.js +14 -1
- package/src/sap/m/ObjectAttributeRenderer.js +5 -4
- package/src/sap/m/ObjectHeader.js +4 -4
- package/src/sap/m/ObjectHeaderRenderer.js +11 -11
- package/src/sap/m/ObjectIdentifier.js +3 -3
- package/src/sap/m/ObjectListItem.js +1 -1
- package/src/sap/m/ObjectMarker.js +7 -4
- package/src/sap/m/ObjectNumber.js +1 -1
- package/src/sap/m/ObjectStatus.js +1 -1
- package/src/sap/m/OverflowToolbar.js +51 -12
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- package/src/sap/m/OverflowToolbarAssociativePopoverControls.js +5 -0
- 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 +32 -35
- package/src/sap/m/P13nDialog.js +3 -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 +4 -4
- 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 +2 -2
- 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 +3 -3
- package/src/sap/m/PopoverRenderer.js +2 -2
- package/src/sap/m/ProgressIndicator.js +15 -29
- package/src/sap/m/ProgressIndicatorRenderer.js +7 -1
- package/src/sap/m/PullToRefresh.js +1 -1
- package/src/sap/m/QuickView.js +2 -2
- 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 +2 -1
- package/src/sap/m/QuickViewPage.js +1 -1
- package/src/sap/m/RadioButton.js +2 -2
- package/src/sap/m/RadioButtonGroup.js +2 -2
- package/src/sap/m/RangeSlider.js +82 -59
- package/src/sap/m/RangeSliderRenderer.js +34 -2
- package/src/sap/m/RatingIndicator.js +1 -1
- package/src/sap/m/ResponsivePopover.js +7 -6
- 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 +5 -3
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +31 -8
- package/src/sap/m/SelectDialog.js +14 -18
- package/src/sap/m/SelectDialogBase.js +1 -1
- package/src/sap/m/SelectList.js +8 -8
- package/src/sap/m/SelectListRenderer.js +2 -2
- package/src/sap/m/SelectRenderer.js +37 -13
- 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 +5 -6
- package/src/sap/m/SimpleFixFlexRenderer.js +1 -0
- package/src/sap/m/SinglePlanningCalendar.js +1 -1
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +5 -5
- 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 +14 -5
- package/src/sap/m/SliderRenderer.js +27 -2
- package/src/sap/m/SliderTooltip.js +1 -1
- package/src/sap/m/SliderTooltipBase.js +1 -1
- package/src/sap/m/SliderTooltipContainer.js +3 -3
- package/src/sap/m/SplitApp.js +1 -1
- package/src/sap/m/SplitButton.js +1 -1
- package/src/sap/m/SplitContainer.js +3 -11
- package/src/sap/m/StandardDynamicDateOption.js +12 -10
- package/src/sap/m/StandardListItem.js +3 -3
- package/src/sap/m/StandardListItemRenderer.js +1 -1
- package/src/sap/m/StandardTile.js +1 -1
- package/src/sap/m/StandardTreeItem.js +1 -1
- package/src/sap/m/StepInput.js +1 -1
- package/src/sap/m/SuggestionItem.js +1 -1
- package/src/sap/m/SuggestionsPopover.js +1 -1
- package/src/sap/m/Switch.js +1 -1
- package/src/sap/m/TabContainer.js +3 -2
- package/src/sap/m/TabContainerItem.js +1 -1
- package/src/sap/m/TabStrip.js +6 -4
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +7 -1
- package/src/sap/m/TablePersoController.js +2 -2
- package/src/sap/m/TablePersoDialog.js +2 -2
- package/src/sap/m/TablePersoProvider.js +2 -2
- package/src/sap/m/TableRenderer.js +27 -0
- package/src/sap/m/TableSelectDialog.js +13 -9
- package/src/sap/m/Text.js +2 -2
- package/src/sap/m/TextArea.js +4 -3
- package/src/sap/m/TextRenderer.js +2 -0
- package/src/sap/m/Tile.js +1 -1
- package/src/sap/m/TileContainer.js +6 -6
- package/src/sap/m/TileContent.js +26 -14
- package/src/sap/m/TileContentRenderer.js +16 -7
- package/src/sap/m/TimePicker.js +82 -20
- package/src/sap/m/TimePickerClock.js +1 -1
- package/src/sap/m/TimePickerClocks.js +1 -1
- package/src/sap/m/TimePickerClocksRenderer.js +1 -0
- 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 +2 -2
- 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 +14 -3
- package/src/sap/m/Toolbar.js +7 -1
- package/src/sap/m/ToolbarLayoutData.js +6 -2
- 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 +5 -5
- package/src/sap/m/UploadCollectionItem.js +2 -1
- package/src/sap/m/UploadCollectionParameter.js +2 -1
- package/src/sap/m/UploadCollectionToolbarPlaceholder.js +2 -1
- package/src/sap/m/VBox.js +1 -1
- package/src/sap/m/ValueStateHeader.js +1 -1
- package/src/sap/m/VariantManagement.js +2492 -0
- package/src/sap/m/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +4 -4
- 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 -2
- package/src/sap/m/WizardStep.js +1 -1
- package/src/sap/m/changeHandler/AddTableColumn.js +3 -5
- package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
- package/src/sap/m/changeHandler/CombineButtons.js +1 -1
- package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
- package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
- package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
- package/src/sap/m/designtime/VariantManagement.designtime.js +56 -0
- package/src/sap/m/designtime/messagebundle_de.properties +2 -2
- package/src/sap/m/inputUtils/forwardItemProperties.js +4 -0
- package/src/sap/m/inputUtils/highlightDOMElements.js +3 -2
- package/src/sap/m/library.js +48 -5
- package/src/sap/m/messagebundle.properties +156 -12
- package/src/sap/m/messagebundle_ar.properties +103 -7
- package/src/sap/m/messagebundle_bg.properties +103 -7
- package/src/sap/m/messagebundle_ca.properties +103 -7
- package/src/sap/m/messagebundle_cs.properties +105 -9
- package/src/sap/m/messagebundle_cy.properties +103 -7
- package/src/sap/m/messagebundle_da.properties +103 -7
- package/src/sap/m/messagebundle_de.properties +104 -8
- package/src/sap/m/messagebundle_el.properties +103 -7
- package/src/sap/m/messagebundle_en.properties +103 -7
- package/src/sap/m/messagebundle_en_GB.properties +103 -7
- package/src/sap/m/messagebundle_en_US_sappsd.properties +103 -7
- package/src/sap/m/messagebundle_en_US_saprigi.properties +105 -7
- package/src/sap/m/messagebundle_en_US_saptrc.properties +103 -7
- package/src/sap/m/messagebundle_es.properties +103 -7
- package/src/sap/m/messagebundle_es_MX.properties +103 -7
- package/src/sap/m/messagebundle_et.properties +103 -7
- package/src/sap/m/messagebundle_fi.properties +103 -7
- package/src/sap/m/messagebundle_fr.properties +117 -21
- package/src/sap/m/messagebundle_fr_CA.properties +103 -7
- package/src/sap/m/messagebundle_hi.properties +103 -7
- package/src/sap/m/messagebundle_hr.properties +103 -7
- package/src/sap/m/messagebundle_hu.properties +103 -7
- package/src/sap/m/messagebundle_id.properties +103 -7
- package/src/sap/m/messagebundle_it.properties +110 -14
- package/src/sap/m/messagebundle_iw.properties +103 -7
- package/src/sap/m/messagebundle_ja.properties +103 -7
- package/src/sap/m/messagebundle_kk.properties +103 -7
- package/src/sap/m/messagebundle_ko.properties +114 -18
- package/src/sap/m/messagebundle_lt.properties +103 -7
- package/src/sap/m/messagebundle_lv.properties +103 -7
- package/src/sap/m/messagebundle_ms.properties +103 -7
- package/src/sap/m/messagebundle_nl.properties +103 -7
- package/src/sap/m/messagebundle_no.properties +107 -11
- package/src/sap/m/messagebundle_pl.properties +103 -7
- package/src/sap/m/messagebundle_pt.properties +112 -16
- package/src/sap/m/messagebundle_pt_PT.properties +103 -7
- package/src/sap/m/messagebundle_ro.properties +104 -8
- package/src/sap/m/messagebundle_ru.properties +103 -7
- package/src/sap/m/messagebundle_sh.properties +104 -8
- package/src/sap/m/messagebundle_sk.properties +103 -7
- package/src/sap/m/messagebundle_sl.properties +105 -9
- package/src/sap/m/messagebundle_sv.properties +103 -7
- package/src/sap/m/messagebundle_th.properties +103 -7
- package/src/sap/m/messagebundle_tr.properties +104 -8
- package/src/sap/m/messagebundle_uk.properties +104 -8
- package/src/sap/m/messagebundle_vi.properties +103 -7
- package/src/sap/m/messagebundle_zh_CN.properties +104 -8
- package/src/sap/m/messagebundle_zh_TW.properties +107 -11
- 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/GroupPanel.js +16 -5
- package/src/sap/m/p13n/Popup.js +1 -1
- package/src/sap/m/p13n/QueryPanel.js +55 -33
- package/src/sap/m/p13n/SelectionPanel.js +31 -6
- package/src/sap/m/p13n/SortPanel.js +24 -13
- package/src/sap/m/plugins/ColumnResizer.js +12 -6
- package/src/sap/m/plugins/DataStateIndicator.js +13 -4
- package/src/sap/m/plugins/PasteProvider.js +1 -1
- package/src/sap/m/plugins/PluginBase.js +2 -2
- package/src/sap/m/rules/CheckBox.support.js +1 -1
- package/src/sap/m/rules/DatePicker.support.js +4 -3
- package/src/sap/m/rules/Image.support.js +1 -1
- package/src/sap/m/rules/Link.support.js +1 -1
- package/src/sap/m/rules/MessagePage.support.js +1 -1
- package/src/sap/m/rules/ObjectHeader.support.js +6 -6
- package/src/sap/m/rules/ObjectListItem.support.js +1 -1
- package/src/sap/m/rules/ObjectMarker.support.js +1 -1
- package/src/sap/m/rules/ObjectStatus.support.js +1 -1
- package/src/sap/m/rules/Select.support.js +1 -1
- package/src/sap/m/rules/Table.support.js +3 -3
- 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 +3 -3
- package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +3 -3
- package/src/sap/m/semantic/SemanticPage.js +1 -1
- package/src/sap/m/semantic/SemanticSelect.js +1 -1
- package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
- package/src/sap/m/semantic/SendEmailAction.js +1 -1
- package/src/sap/m/semantic/SendMessageAction.js +1 -1
- package/src/sap/m/semantic/ShareInJamAction.js +1 -1
- package/src/sap/m/semantic/ShareMenu.js +1 -1
- package/src/sap/m/semantic/ShareMenuPage.js +1 -1
- package/src/sap/m/semantic/SortAction.js +1 -1
- package/src/sap/m/semantic/SortSelect.js +1 -1
- package/src/sap/m/table/Util.js +17 -13
- package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
- package/src/sap/m/table/columnmenu/Entry.js +1 -11
- package/src/sap/m/table/columnmenu/Item.js +1 -1
- package/src/sap/m/table/columnmenu/ItemBase.js +11 -1
- package/src/sap/m/table/columnmenu/Menu.js +41 -27
- package/src/sap/m/table/columnmenu/MenuRenderer.js +4 -3
- package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionBase.js +11 -1
- package/src/sap/m/table/columnmenu/QuickActionItem.js +5 -5
- package/src/sap/m/table/columnmenu/QuickGroup.js +2 -11
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -13
- package/src/sap/m/table/columnmenu/QuickSort.js +2 -1
- package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickTotal.js +2 -22
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -13
- package/src/sap/m/themes/base/ActionListItem.less +2 -2
- package/src/sap/m/themes/base/Breadcrumbs.less +11 -0
- package/src/sap/m/themes/base/Button.less +1 -6
- package/src/sap/m/themes/base/Carousel.less +72 -87
- package/src/sap/m/themes/base/CheckBox.less +1 -0
- package/src/sap/m/themes/base/ColumnListItem.less +0 -3
- package/src/sap/m/themes/base/Dialog.less +6 -2
- package/src/sap/m/themes/base/GenericTag.less +5 -3
- package/src/sap/m/themes/base/GenericTile.less +412 -148
- package/src/sap/m/themes/base/IconTabBarSelectList.less +5 -4
- package/src/sap/m/themes/base/InputBase.less +2 -1
- package/src/sap/m/themes/base/LightBox.less +6 -16
- package/src/sap/m/themes/base/ListItemBase.less +1 -12
- package/src/sap/m/themes/base/MenuButton.less +16 -0
- package/src/sap/m/themes/base/MessageBox.less +9 -8
- package/src/sap/m/themes/base/NewsContent.less +0 -9
- package/src/sap/m/themes/base/NotificationListBase.less +9 -14
- package/src/sap/m/themes/base/NotificationListGroup.less +30 -44
- package/src/sap/m/themes/base/NotificationListItem.less +14 -18
- package/src/sap/m/themes/base/ObjectListItem.less +3 -0
- package/src/sap/m/themes/base/ObjectNumber.less +5 -0
- package/src/sap/m/themes/base/ObjectStatus.less +3 -0
- package/src/sap/m/themes/base/Panel.less +1 -1
- package/src/sap/m/themes/base/Popover.less +1 -1
- package/src/sap/m/themes/base/ProgressIndicator.less +0 -4
- package/src/sap/m/themes/base/QuickView.less +14 -2
- package/src/sap/m/themes/base/RatingIndicator.less +4 -0
- package/src/sap/m/themes/base/Select.less +1 -3
- package/src/sap/m/themes/base/SinglePlanningCalendarGrid.less +3 -29
- package/src/sap/m/themes/base/SlideTile.less +19 -0
- package/src/sap/m/themes/base/Slider.less +18 -18
- package/src/sap/m/themes/base/StandardListItem.less +6 -9
- package/src/sap/m/themes/base/Table.less +22 -21
- package/src/sap/m/themes/base/TextArea.less +5 -0
- package/src/sap/m/themes/base/TimePickerClock.less +7 -0
- package/src/sap/m/themes/base/Title.less +1 -1
- package/src/sap/m/themes/base/Token.less +3 -2
- package/src/sap/m/themes/base/Toolbar.less +1 -1
- package/src/sap/m/themes/base/UploadCollection.less +2 -0
- package/src/sap/m/themes/base/VariantManagement.less +97 -0
- package/src/sap/m/themes/base/Wizard.less +5 -4
- package/src/sap/m/themes/base/WizardProgressNavigator.less +8 -0
- package/src/sap/m/themes/base/library.source.less +1 -0
- package/src/sap/m/themes/sap_hcb/Carousel.less +3 -7
- package/src/sap/m/themes/sap_hcb/Panel.less +4 -0
- package/src/sap/m/themes/sap_hcb/Slider.less +11 -0
- package/src/sap/m/themes/sap_hcb/Tokenizer.less +1 -0
- package/src/sap/m/upload/UploadSet.js +90 -14
- package/src/sap/m/upload/UploadSetItem.js +18 -5
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +46 -0
package/src/sap/m/Select.js
CHANGED
|
@@ -79,6 +79,9 @@ function(
|
|
|
79
79
|
// shortcut for sap.ui.core.TextAlign
|
|
80
80
|
var TextAlign = coreLibrary.TextAlign;
|
|
81
81
|
|
|
82
|
+
// shortcut for sap.ui.core.OpenState
|
|
83
|
+
var OpenState = coreLibrary.OpenState;
|
|
84
|
+
|
|
82
85
|
// shortcut for sap.m.SelectType
|
|
83
86
|
var SelectType = library.SelectType;
|
|
84
87
|
|
|
@@ -100,7 +103,7 @@ function(
|
|
|
100
103
|
* @implements sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent
|
|
101
104
|
*
|
|
102
105
|
* @author SAP SE
|
|
103
|
-
* @version 1.
|
|
106
|
+
* @version 1.103.0
|
|
104
107
|
*
|
|
105
108
|
* @constructor
|
|
106
109
|
* @public
|
|
@@ -826,8 +829,13 @@ function(
|
|
|
826
829
|
oSelectedKey = this.getSelectedKey(),
|
|
827
830
|
sSelectedItemText = this._getSelectedItemText();
|
|
828
831
|
|
|
832
|
+
// the hidden INPUT is only used when the select is submitted
|
|
833
|
+
// with a form so update its value in all cases
|
|
829
834
|
oInput.attr("value", oSelectedKey || "");
|
|
830
|
-
|
|
835
|
+
|
|
836
|
+
if (!this._isIconOnly()) {
|
|
837
|
+
oSelect.text(sSelectedItemText);
|
|
838
|
+
}
|
|
831
839
|
};
|
|
832
840
|
|
|
833
841
|
Select.prototype._getValueIcon = function() {
|
|
@@ -2154,7 +2162,7 @@ function(
|
|
|
2154
2162
|
for (var i = 0, oItem; i < aItems.length; i++) {
|
|
2155
2163
|
oItem = aItems[i];
|
|
2156
2164
|
var bTextIsRelevantString = typeof sText === "string" && sText !== "";
|
|
2157
|
-
if (oItem.getEnabled() && !(oItem
|
|
2165
|
+
if (oItem.getEnabled() && !(oItem.isA("sap.ui.core.SeparatorItem")) && oItem.getText().toLowerCase().startsWith(sText.toLowerCase()) && bTextIsRelevantString) {
|
|
2158
2166
|
return oItem;
|
|
2159
2167
|
}
|
|
2160
2168
|
}
|
|
@@ -2872,12 +2880,27 @@ function(
|
|
|
2872
2880
|
};
|
|
2873
2881
|
|
|
2874
2882
|
Select.prototype.setValueState = function(sValueState) {
|
|
2875
|
-
var sOldValueState = this.getValueState()
|
|
2883
|
+
var sOldValueState = this.getValueState(),
|
|
2884
|
+
oPicker;
|
|
2876
2885
|
|
|
2877
2886
|
if (sValueState === sOldValueState) {
|
|
2878
2887
|
return this;
|
|
2879
2888
|
}
|
|
2880
2889
|
|
|
2890
|
+
oPicker = this.getPicker();
|
|
2891
|
+
|
|
2892
|
+
if (oPicker && oPicker.isA("sap.m.Popover") && oPicker.isOpen() && oPicker.oPopup.getOpenState() === OpenState.CLOSING) {
|
|
2893
|
+
oPicker.attachEventOnce("afterClose", function(oEvent) {
|
|
2894
|
+
return this._finishSettingValueState(sValueState);
|
|
2895
|
+
}, this);
|
|
2896
|
+
} else {
|
|
2897
|
+
return this._finishSettingValueState(sValueState);
|
|
2898
|
+
}
|
|
2899
|
+
|
|
2900
|
+
};
|
|
2901
|
+
|
|
2902
|
+
Select.prototype._finishSettingValueState = function(sValueState) {
|
|
2903
|
+
|
|
2881
2904
|
this.setProperty("valueState", sValueState);
|
|
2882
2905
|
|
|
2883
2906
|
this._updatePickerAriaLabelledBy(sValueState);
|
|
@@ -2928,7 +2951,7 @@ function(
|
|
|
2928
2951
|
* Gets the item from the aggregation named <code>items</code> at the given 0-based index.
|
|
2929
2952
|
*
|
|
2930
2953
|
* @param {int} iIndex Index of the item to return.
|
|
2931
|
-
* @returns {sap.ui.core.Item | null} Item at the given index, or null if none.
|
|
2954
|
+
* @returns {sap.ui.core.Item | null} Item at the given index, or <code>null</code> if none.
|
|
2932
2955
|
* @public
|
|
2933
2956
|
* @since 1.16
|
|
2934
2957
|
*/
|
|
@@ -2950,7 +2973,7 @@ function(
|
|
|
2950
2973
|
/**
|
|
2951
2974
|
* Gets the first item from the aggregation named <code>items</code>.
|
|
2952
2975
|
*
|
|
2953
|
-
* @returns {sap.ui.core.Item | null} The first item, or null if there are no items.
|
|
2976
|
+
* @returns {sap.ui.core.Item | null} The first item, or <code>null</code> if there are no items.
|
|
2954
2977
|
* @public
|
|
2955
2978
|
* @since 1.16
|
|
2956
2979
|
*/
|
|
@@ -2961,7 +2984,7 @@ function(
|
|
|
2961
2984
|
/**
|
|
2962
2985
|
* Gets the last item from the aggregation named <code>items</code>.
|
|
2963
2986
|
*
|
|
2964
|
-
* @returns {sap.ui.core.Item | null} The last item, or null if there are no items.
|
|
2987
|
+
* @returns {sap.ui.core.Item | null} The last item, or <code>null</code> if there are no items.
|
|
2965
2988
|
* @public
|
|
2966
2989
|
* @since 1.16
|
|
2967
2990
|
*/
|
|
@@ -3002,7 +3025,7 @@ function(
|
|
|
3002
3025
|
* Removes an item from the aggregation named <code>items</code>.
|
|
3003
3026
|
*
|
|
3004
3027
|
* @param {int | string | sap.ui.core.Item} vItem The item to be removed or its index or ID.
|
|
3005
|
-
* @returns {sap.ui.core.Item} The removed item or null
|
|
3028
|
+
* @returns {sap.ui.core.Item|null} The removed item or <code>null</code>.
|
|
3006
3029
|
* @public
|
|
3007
3030
|
*/
|
|
3008
3031
|
Select.prototype.removeItem = function(vItem) {
|
|
@@ -12,8 +12,10 @@ sap.ui.define([
|
|
|
12
12
|
'./List',
|
|
13
13
|
'./SearchField',
|
|
14
14
|
'./library',
|
|
15
|
+
"sap/ui/core/library",
|
|
15
16
|
'./SelectDialogBase',
|
|
16
17
|
'sap/ui/core/InvisibleText',
|
|
18
|
+
"sap/ui/core/InvisibleMessage",
|
|
17
19
|
'sap/ui/Device',
|
|
18
20
|
'sap/m/Toolbar',
|
|
19
21
|
'sap/m/Text',
|
|
@@ -29,8 +31,10 @@ function(
|
|
|
29
31
|
List,
|
|
30
32
|
SearchField,
|
|
31
33
|
library,
|
|
34
|
+
CoreLibrary,
|
|
32
35
|
SelectDialogBase,
|
|
33
36
|
InvisibleText,
|
|
37
|
+
InvisibleMessage,
|
|
34
38
|
Device,
|
|
35
39
|
Toolbar,
|
|
36
40
|
Text,
|
|
@@ -50,6 +54,9 @@ function(
|
|
|
50
54
|
// shortcut for sap.m.TitleAlignment
|
|
51
55
|
var TitleAlignment = library.TitleAlignment;
|
|
52
56
|
|
|
57
|
+
// shortcut for sap.ui.core.InvisibleMessageMode
|
|
58
|
+
var InvisibleMessageMode = CoreLibrary.InvisibleMessageMode;
|
|
59
|
+
|
|
53
60
|
/**
|
|
54
61
|
* Constructor for a new SelectDialog.
|
|
55
62
|
*
|
|
@@ -112,7 +119,7 @@ function(
|
|
|
112
119
|
* @extends sap.m.SelectDialogBase
|
|
113
120
|
*
|
|
114
121
|
* @author SAP SE
|
|
115
|
-
* @version 1.
|
|
122
|
+
* @version 1.103.0
|
|
116
123
|
*
|
|
117
124
|
* @constructor
|
|
118
125
|
* @public
|
|
@@ -347,12 +354,6 @@ function(
|
|
|
347
354
|
updateFinished: this._updateFinished.bind(this)
|
|
348
355
|
});
|
|
349
356
|
|
|
350
|
-
this._oList.getInfoToolbar().addEventDelegate({
|
|
351
|
-
onAfterRendering: function () {
|
|
352
|
-
that._oList.getInfoToolbar().$().attr('aria-live', 'polite');
|
|
353
|
-
}
|
|
354
|
-
});
|
|
355
|
-
|
|
356
357
|
this._list = this._oList; // for downward compatibility
|
|
357
358
|
|
|
358
359
|
// store a reference to the busyIndicator to display when data is currently loaded by a service
|
|
@@ -847,7 +848,7 @@ function(
|
|
|
847
848
|
* Forward method to the inner dialog: getDomRef
|
|
848
849
|
* @public
|
|
849
850
|
* @override
|
|
850
|
-
* @
|
|
851
|
+
* @returns {Element|null} The Element's DOM Element, sub DOM Element or <code>null</code>
|
|
851
852
|
*/
|
|
852
853
|
SelectDialog.prototype.getDomRef = function () {
|
|
853
854
|
if (this._oDialog) {
|
|
@@ -1164,22 +1165,17 @@ function(
|
|
|
1164
1165
|
if (this.getShowClearButton() && this._oClearButton) {
|
|
1165
1166
|
this._oClearButton.setEnabled(iSelectedContexts > 0);
|
|
1166
1167
|
}
|
|
1168
|
+
|
|
1167
1169
|
// update the selection label
|
|
1168
1170
|
if (oInfoBar.getVisible() !== bVisible) {
|
|
1169
1171
|
oInfoBar.setVisible(bVisible);
|
|
1170
|
-
|
|
1171
|
-
if (bVisible) {
|
|
1172
|
-
this._oDialog.addAriaLabelledBy(oInfoBar);
|
|
1173
|
-
|
|
1174
|
-
// force immediate rerendering, so JAWS can read the text inside,
|
|
1175
|
-
// when it become visible
|
|
1176
|
-
oInfoBar.rerender();
|
|
1177
|
-
} else {
|
|
1178
|
-
this._oDialog.removeAriaLabelledBy(oInfoBar);
|
|
1179
|
-
}
|
|
1180
1172
|
}
|
|
1181
1173
|
|
|
1182
1174
|
oInfoBar.getContent()[0].setText(this._oRb.getText("TABLESELECTDIALOG_SELECTEDITEMS", [iSelectedContexts]));
|
|
1175
|
+
|
|
1176
|
+
if (this._oDialog.isOpen()) {
|
|
1177
|
+
InvisibleMessage.getInstance().announce(iSelectedContexts > 0 ? this._oRb.getText("TABLESELECTDIALOG_SELECTEDITEMS_SR", [iSelectedContexts]) : "", InvisibleMessageMode.Polite);
|
|
1178
|
+
}
|
|
1183
1179
|
};
|
|
1184
1180
|
|
|
1185
1181
|
/**
|
package/src/sap/m/SelectList.js
CHANGED
|
@@ -37,7 +37,7 @@ sap.ui.define([
|
|
|
37
37
|
* @extends sap.ui.core.Control
|
|
38
38
|
*
|
|
39
39
|
* @author SAP SE
|
|
40
|
-
* @version 1.
|
|
40
|
+
* @version 1.103.0
|
|
41
41
|
*
|
|
42
42
|
* @constructor
|
|
43
43
|
* @public
|
|
@@ -785,7 +785,7 @@ sap.ui.define([
|
|
|
785
785
|
*
|
|
786
786
|
* @param {string} sProperty An item property.
|
|
787
787
|
* @param {string} sValue An item value that specifies the item to retrieve.
|
|
788
|
-
* @returns {sap.ui.core.Item | null} The matched item or null
|
|
788
|
+
* @returns {sap.ui.core.Item | null} The matched item or <code>null</code>.
|
|
789
789
|
* @protected
|
|
790
790
|
*/
|
|
791
791
|
SelectList.prototype.findItem = function(sProperty, sValue) {
|
|
@@ -806,7 +806,7 @@ sap.ui.define([
|
|
|
806
806
|
* <code>Note: </code> If duplicate values exist, the first item matching the value is returned.
|
|
807
807
|
*
|
|
808
808
|
* @param {string} sText An item value that specifies the item to retrieve.
|
|
809
|
-
* @returns {sap.ui.core.Item | null} The matched item or null
|
|
809
|
+
* @returns {sap.ui.core.Item | null} The matched item or <code>null</code>.
|
|
810
810
|
* @protected
|
|
811
811
|
*/
|
|
812
812
|
SelectList.prototype.getItemByText = function(sText) {
|
|
@@ -1001,7 +1001,7 @@ sap.ui.define([
|
|
|
1001
1001
|
* Gets the item from the aggregation named <code>items</code> at the given 0-based index.
|
|
1002
1002
|
*
|
|
1003
1003
|
* @param {int} iIndex Index of the item to return.
|
|
1004
|
-
* @returns {sap.ui.core.Item | null} Item at the given index, or null if none.
|
|
1004
|
+
* @returns {sap.ui.core.Item | null} Item at the given index, or <code>null</code> if none.
|
|
1005
1005
|
* @public
|
|
1006
1006
|
*/
|
|
1007
1007
|
SelectList.prototype.getItemAt = function(iIndex) {
|
|
@@ -1011,7 +1011,7 @@ sap.ui.define([
|
|
|
1011
1011
|
/**
|
|
1012
1012
|
* Gets the first item from the aggregation named <code>items</code>.
|
|
1013
1013
|
*
|
|
1014
|
-
* @returns {sap.ui.core.Item | null} The first item, or null if there are no items.
|
|
1014
|
+
* @returns {sap.ui.core.Item | null} The first item, or <code>null</code> if there are no items.
|
|
1015
1015
|
* @public
|
|
1016
1016
|
*/
|
|
1017
1017
|
SelectList.prototype.getFirstItem = function() {
|
|
@@ -1021,7 +1021,7 @@ sap.ui.define([
|
|
|
1021
1021
|
/**
|
|
1022
1022
|
* Gets the enabled items from the aggregation named <code>items</code>.
|
|
1023
1023
|
*
|
|
1024
|
-
* @returns {sap.ui.core.Item | null} The last item, or null if there are no items.
|
|
1024
|
+
* @returns {sap.ui.core.Item | null} The last item, or <code>null</code> if there are no items.
|
|
1025
1025
|
* @public
|
|
1026
1026
|
*/
|
|
1027
1027
|
SelectList.prototype.getLastItem = function() {
|
|
@@ -1049,7 +1049,7 @@ sap.ui.define([
|
|
|
1049
1049
|
* <b>Note: </b> If duplicate keys exists, the first item matching the key is returned.
|
|
1050
1050
|
*
|
|
1051
1051
|
* @param {string} sKey An item key that specifies the item to retrieve.
|
|
1052
|
-
* @returns {sap.ui.core.Item | null} The matched item or null
|
|
1052
|
+
* @returns {sap.ui.core.Item | null} The matched item or <code>null</code>
|
|
1053
1053
|
* @public
|
|
1054
1054
|
*/
|
|
1055
1055
|
SelectList.prototype.getItemByKey = function(sKey) {
|
|
@@ -1060,7 +1060,7 @@ sap.ui.define([
|
|
|
1060
1060
|
* Removes an item from the aggregation named <code>items</code>.
|
|
1061
1061
|
*
|
|
1062
1062
|
* @param {int | string | sap.ui.core.Item} vItem The item to remove or its index or id.
|
|
1063
|
-
* @returns {sap.ui.core.Item} The removed item or null
|
|
1063
|
+
* @returns {sap.ui.core.Item|null} The removed item or <code>null</code>.
|
|
1064
1064
|
* @public
|
|
1065
1065
|
*/
|
|
1066
1066
|
SelectList.prototype.removeItem = function(vItem) {
|
|
@@ -97,7 +97,7 @@ sap.ui.define(["sap/ui/core/Element", "sap/ui/core/library", "sap/ui/core/Icon",
|
|
|
97
97
|
elementData: true
|
|
98
98
|
};
|
|
99
99
|
|
|
100
|
-
if (!(aItems[i]
|
|
100
|
+
if (!(aItems[i] && aItems[i].isA("sap.ui.core.SeparatorItem")) && aItems[i].getEnabled()) {
|
|
101
101
|
oItemStates.posinset = iCurrentPosInSet++;
|
|
102
102
|
}
|
|
103
103
|
|
|
@@ -145,7 +145,7 @@ sap.ui.define(["sap/ui/core/Element", "sap/ui/core/library", "sap/ui/core/Icon",
|
|
|
145
145
|
oRm.class("sapMSelectListItemWithIcon");
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
if (oItem
|
|
148
|
+
if (oItem.isA("sap.ui.core.SeparatorItem")) {
|
|
149
149
|
oRm.class(CSS_CLASS + "SeparatorItem");
|
|
150
150
|
|
|
151
151
|
if (bShowSecondaryValues) {
|
|
@@ -129,8 +129,7 @@ sap.ui.define(['sap/ui/core/Renderer', 'sap/ui/core/IconPool', 'sap/m/library',
|
|
|
129
129
|
*/
|
|
130
130
|
SelectRenderer.renderFocusElement = function (oRm, oSelect) {
|
|
131
131
|
var oSelectedItem = oSelect.getSelectedItem(),
|
|
132
|
-
|
|
133
|
-
sType = oSelect.getType();
|
|
132
|
+
bIconOnly = oSelect.getType() === SelectType.IconOnly;
|
|
134
133
|
|
|
135
134
|
oRm.openStart("div", oSelect.getId() + "-hiddenSelect");
|
|
136
135
|
|
|
@@ -145,25 +144,50 @@ sap.ui.define(['sap/ui/core/Renderer', 'sap/ui/core/IconPool', 'sap/m/library',
|
|
|
145
144
|
oRm.attr("tabindex", "0");
|
|
146
145
|
}
|
|
147
146
|
|
|
148
|
-
|
|
149
|
-
oRm.attr("title", sTooltip);
|
|
150
|
-
} else if (sType === SelectType.IconOnly) {
|
|
151
|
-
var oIconInfo = IconPool.getIconInfo(oSelect.getIcon());
|
|
152
|
-
|
|
153
|
-
if (oIconInfo) {
|
|
154
|
-
oRm.attr("title", oIconInfo.text);
|
|
155
|
-
}
|
|
156
|
-
}
|
|
147
|
+
this.renderTooltip(oRm, oSelect);
|
|
157
148
|
|
|
158
149
|
oRm.openEnd();
|
|
159
150
|
|
|
160
|
-
if (oSelectedItem) {
|
|
151
|
+
if (oSelectedItem && !bIconOnly) {
|
|
152
|
+
// if icon only mode, the control is announced as standard
|
|
153
|
+
// button and the selected value is not rendered
|
|
161
154
|
oRm.text(oSelectedItem.getText());
|
|
162
155
|
}
|
|
163
156
|
|
|
164
157
|
oRm.close('div');
|
|
165
158
|
};
|
|
166
159
|
|
|
160
|
+
/**
|
|
161
|
+
* Generates and renders the tooltip text. Icon only aware.
|
|
162
|
+
*
|
|
163
|
+
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer.
|
|
164
|
+
* @param {sap.m.Select} oSelect An object representation of the Select control.
|
|
165
|
+
* @private
|
|
166
|
+
*/
|
|
167
|
+
SelectRenderer.renderTooltip = function (oRm, oSelect) {
|
|
168
|
+
var oIconInfo,
|
|
169
|
+
sTooltip = oSelect.getTooltip_AsString(),
|
|
170
|
+
bIconOnly = oSelect.getType() === SelectType.IconOnly;
|
|
171
|
+
|
|
172
|
+
if (!sTooltip && bIconOnly) {
|
|
173
|
+
oIconInfo = IconPool.getIconInfo(oSelect.getIcon());
|
|
174
|
+
if (oIconInfo) {
|
|
175
|
+
sTooltip = oIconInfo.text;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
if (!sTooltip) {
|
|
180
|
+
return;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
oRm.attr("title", sTooltip);
|
|
184
|
+
|
|
185
|
+
if (bIconOnly) {
|
|
186
|
+
// if in IconOnly mode, similarly to sap.m.Button the tooltip should also be part of the accessibleName
|
|
187
|
+
oRm.attr("aria-label", sTooltip);
|
|
188
|
+
}
|
|
189
|
+
};
|
|
190
|
+
|
|
167
191
|
/**
|
|
168
192
|
* Renders the input element, which receives the name and value attributes. This is needed because when select is inside a form
|
|
169
193
|
* submitted by input[type="submit"] the attributes will be taken from this input.
|
|
@@ -426,7 +450,7 @@ sap.ui.define(['sap/ui/core/Renderer', 'sap/ui/core/IconPool', 'sap/m/library',
|
|
|
426
450
|
|
|
427
451
|
oRm.accessibilityState(null, {
|
|
428
452
|
role: this.getAriaRole(oSelect),
|
|
429
|
-
roledescription: oSelect._sAriaRoleDescription,
|
|
453
|
+
roledescription: bIconOnly ? undefined : oSelect._sAriaRoleDescription,
|
|
430
454
|
readonly: bIconOnly ? undefined : oSelect.getEnabled() && !oSelect.getEditable(),
|
|
431
455
|
required: oSelect._isRequired() || undefined,
|
|
432
456
|
disabled: !oSelect.getEnabled() || undefined,
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* @since 1.48.0
|
|
11
11
|
* @public
|
|
12
12
|
* @author SAP SE
|
|
13
|
-
* @version 1.
|
|
13
|
+
* @version 1.103.0
|
|
14
14
|
* @borrows sap.ui.core.Element#addCustomData as #addCustomData
|
|
15
15
|
* @borrows sap.ui.core.Element#getCustomData as #getCustomData
|
|
16
16
|
* @borrows sap.ui.core.Element#indexOfCustomData as #indexOfCustomData
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
* @since 1.48.0
|
|
46
46
|
* @public
|
|
47
47
|
* @author SAP SE
|
|
48
|
-
* @version 1.
|
|
48
|
+
* @version 1.103.0
|
|
49
49
|
* @borrows sap.ui.core.Element#addCustomData as #addCustomData
|
|
50
50
|
* @borrows sap.ui.core.Element#getCustomData as #getCustomData
|
|
51
51
|
* @borrows sap.ui.core.Element#indexOfCustomData as #indexOfCustomData
|
package/src/sap/m/Shell.js
CHANGED
|
@@ -35,7 +35,7 @@ sap.ui.define([
|
|
|
35
35
|
* The Shell control can be used as root element of applications. It can contain an App or a <code>SplitApp</code> control.
|
|
36
36
|
* The Shell provides some overarching functionality for the overall application and takes care of visual adaptation, such as a frame around the App, on desktop browser platforms.
|
|
37
37
|
* @extends sap.ui.core.Control
|
|
38
|
-
* @version 1.
|
|
38
|
+
* @version 1.103.0
|
|
39
39
|
*
|
|
40
40
|
* @constructor
|
|
41
41
|
* @public
|
|
@@ -31,7 +31,7 @@ function (Control, ResizeHandler, Log /**, SimpleFixFlexRenderer */) {
|
|
|
31
31
|
* @extends sap.ui.core.Control
|
|
32
32
|
*
|
|
33
33
|
* @author SAP SE
|
|
34
|
-
* @version 1.
|
|
34
|
+
* @version 1.103.0
|
|
35
35
|
*
|
|
36
36
|
* @constructor
|
|
37
37
|
* @private
|
|
@@ -39,7 +39,7 @@ function (Control, ResizeHandler, Log /**, SimpleFixFlexRenderer */) {
|
|
|
39
39
|
* @alias sap.m.SimpleFixFlex
|
|
40
40
|
* @ui5-metamodel This control will also be described in the UI5 (legacy) design time meta model.
|
|
41
41
|
*/
|
|
42
|
-
var SimpleFixFlex = Control.extend("sap.m.SimpleFixFlex", /** @lends sap.m.SimpleFixFlex */ {
|
|
42
|
+
var SimpleFixFlex = Control.extend("sap.m.SimpleFixFlex", /** @lends sap.m.SimpleFixFlex.prototype */ {
|
|
43
43
|
|
|
44
44
|
metadata: {
|
|
45
45
|
library: "sap.m",
|
|
@@ -120,10 +120,9 @@ function (Control, ResizeHandler, Log /**, SimpleFixFlexRenderer */) {
|
|
|
120
120
|
return null;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
$fixContent.addClass("sapUiSimpleFixFlexFixedWrap");
|
|
123
|
+
//using clientHeight as jQuery's innerHeight() method returns the height
|
|
124
|
+
//even if the fix content has style of "display: none;"
|
|
125
|
+
$simpleFixFlex.css("padding-top", oFixedDom.clientHeight);
|
|
127
126
|
};
|
|
128
127
|
|
|
129
128
|
SimpleFixFlex.prototype.exit = function() {
|
|
@@ -106,7 +106,7 @@ sap.ui.define([
|
|
|
106
106
|
* @extends sap.ui.core.Control
|
|
107
107
|
*
|
|
108
108
|
* @author SAP SE
|
|
109
|
-
* @version 1.
|
|
109
|
+
* @version 1.103.0
|
|
110
110
|
*
|
|
111
111
|
* @constructor
|
|
112
112
|
* @private
|
|
@@ -1583,7 +1583,7 @@ sap.ui.define([
|
|
|
1583
1583
|
/**
|
|
1584
1584
|
* Determines if an appointment fits in the visible hours of the grid.
|
|
1585
1585
|
*
|
|
1586
|
-
* @param {CalendarDate} oColumnCalDate the start date of the grid
|
|
1586
|
+
* @param {sap.ui.unified.calendar.CalendarDate} oColumnCalDate the start date of the grid
|
|
1587
1587
|
* @returns {boolean} true if the appointment is in the visible hours
|
|
1588
1588
|
* @private
|
|
1589
1589
|
*/
|
|
@@ -1727,7 +1727,7 @@ sap.ui.define([
|
|
|
1727
1727
|
* Selects the clusters of all-day appointments which are in the visual port of the grid.
|
|
1728
1728
|
*
|
|
1729
1729
|
* @param {object} aBlockers the all-day appointments in the corresponding aggregation
|
|
1730
|
-
* @param {CalendarDate} oCalStartDate the start date of the grid
|
|
1730
|
+
* @param {sap.ui.unified.calendar.CalendarDate} oCalStartDate the start date of the grid
|
|
1731
1731
|
* @param {int} iColumns the number of columns to be displayed in the grid
|
|
1732
1732
|
* @returns {object} the clusters of all-day appointments in the visual port of the grid
|
|
1733
1733
|
* @private
|
|
@@ -1743,8 +1743,8 @@ sap.ui.define([
|
|
|
1743
1743
|
/**
|
|
1744
1744
|
* Determines whether the blocker is in the visible grid area.
|
|
1745
1745
|
*
|
|
1746
|
-
* @param {CalendarDate} oViewStart The start date of the view
|
|
1747
|
-
* @param {CalendarDate} oViewEnd The end date of the view
|
|
1746
|
+
* @param {sap.ui.unified.calendar.CalendarDate} oViewStart The start date of the view
|
|
1747
|
+
* @param {sap.ui.unified.calendar.CalendarDate} oViewEnd The end date of the view
|
|
1748
1748
|
* @returns {boolean} true if the blocker is visible
|
|
1749
1749
|
* @private
|
|
1750
1750
|
*/
|
package/src/sap/m/SlideTile.js
CHANGED
package/src/sap/m/Slider.js
CHANGED
|
@@ -95,7 +95,7 @@ function(
|
|
|
95
95
|
* @implements sap.ui.core.IFormContent
|
|
96
96
|
*
|
|
97
97
|
* @author SAP SE
|
|
98
|
-
* @version 1.
|
|
98
|
+
* @version 1.103.0
|
|
99
99
|
*
|
|
100
100
|
* @constructor
|
|
101
101
|
* @public
|
|
@@ -183,7 +183,14 @@ function(
|
|
|
183
183
|
*
|
|
184
184
|
* @since 1.44
|
|
185
185
|
*/
|
|
186
|
-
enableTickmarks: {type: "boolean", group: "Appearance", defaultValue: false}
|
|
186
|
+
enableTickmarks: {type: "boolean", group: "Appearance", defaultValue: false},
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* Indicates whether a handle is pressed
|
|
190
|
+
*
|
|
191
|
+
* @private
|
|
192
|
+
*/
|
|
193
|
+
handlePressed: {type: "boolean", defaultValue: false, group: "Appearance", visibility: "hidden" }
|
|
187
194
|
},
|
|
188
195
|
defaultAggregation: "scale",
|
|
189
196
|
aggregations: {
|
|
@@ -1053,6 +1060,8 @@ function(
|
|
|
1053
1060
|
// add active state
|
|
1054
1061
|
this.$("inner").addClass(CSS_CLASS + "Pressed");
|
|
1055
1062
|
|
|
1063
|
+
this.setProperty("handlePressed", true);
|
|
1064
|
+
|
|
1056
1065
|
if (oTouch.target === this.getDomRef("handle")) {
|
|
1057
1066
|
|
|
1058
1067
|
this._fDiffX = (oTouch.pageX - jQuery(oNearestHandleDomRef).offset().left) + this._fSliderPaddingLeft - (this._fHandleWidth / 2);
|
|
@@ -1154,7 +1163,7 @@ function(
|
|
|
1154
1163
|
var fValue = this.getValue();
|
|
1155
1164
|
|
|
1156
1165
|
// remove the active state
|
|
1157
|
-
this
|
|
1166
|
+
this.setProperty("handlePressed", false);
|
|
1158
1167
|
|
|
1159
1168
|
if (this._fInitialValue !== fValue) {
|
|
1160
1169
|
this.fireChange({ value: fValue });
|
|
@@ -1590,8 +1599,8 @@ function(
|
|
|
1590
1599
|
sNewValueFixedPoint = this.toFixed(fNewValue, this.getDecimalPrecisionOfNumber(fStep));
|
|
1591
1600
|
fNewValue = Number(sNewValueFixedPoint);
|
|
1592
1601
|
|
|
1593
|
-
// update the value
|
|
1594
|
-
this.setProperty("value", fNewValue
|
|
1602
|
+
// update the value
|
|
1603
|
+
this.setProperty("value", fNewValue);
|
|
1595
1604
|
|
|
1596
1605
|
// update the value in DOM only when it has changed
|
|
1597
1606
|
if (fValue !== this.getValue()) {
|