@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/QuickView.js
CHANGED
|
@@ -59,7 +59,7 @@ sap.ui.define([
|
|
|
59
59
|
* @extends sap.m.QuickViewBase
|
|
60
60
|
*
|
|
61
61
|
* @author SAP SE
|
|
62
|
-
* @version 1.
|
|
62
|
+
* @version 1.103.0
|
|
63
63
|
*
|
|
64
64
|
* @constructor
|
|
65
65
|
* @public
|
|
@@ -369,7 +369,7 @@ sap.ui.define([
|
|
|
369
369
|
/**
|
|
370
370
|
* Returns the button, which closes the QuickView.
|
|
371
371
|
* On desktop or tablet, this method returns undefined.
|
|
372
|
-
* @returns {sap.ui.core.Control} The close button of the QuickView on phone or undefined on desktop and tablet.
|
|
372
|
+
* @returns {sap.ui.core.Control|undefined} The close button of the QuickView on phone or undefined on desktop and tablet.
|
|
373
373
|
* @private
|
|
374
374
|
*/
|
|
375
375
|
QuickView.prototype.getCloseButton = function() {
|
|
@@ -28,7 +28,7 @@ sap.ui.define([
|
|
|
28
28
|
* @extends sap.ui.core.Element
|
|
29
29
|
*
|
|
30
30
|
* @author SAP SE
|
|
31
|
-
* @version 1.
|
|
31
|
+
* @version 1.103.0
|
|
32
32
|
*
|
|
33
33
|
* @constructor
|
|
34
34
|
* @public
|
|
@@ -123,6 +123,7 @@ sap.ui.define([
|
|
|
123
123
|
* Returns a control that is associated with the label of the group element.
|
|
124
124
|
* @param {string} sQuickViewPageId The page to which the element navigates when clicked.
|
|
125
125
|
* @private
|
|
126
|
+
* @returns {sap.m.Link|sap.m.Text|null}
|
|
126
127
|
*/
|
|
127
128
|
GroupElement.prototype._getGroupElementValue = function (sQuickViewPageId) {
|
|
128
129
|
if (!this.getValue()) {
|
package/src/sap/m/RadioButton.js
CHANGED
|
@@ -86,7 +86,7 @@ function(
|
|
|
86
86
|
* @implements sap.ui.core.IFormContent
|
|
87
87
|
*
|
|
88
88
|
* @author SAP SE
|
|
89
|
-
* @version 1.
|
|
89
|
+
* @version 1.103.0
|
|
90
90
|
*
|
|
91
91
|
* @constructor
|
|
92
92
|
* @public
|
|
@@ -463,7 +463,7 @@ function(
|
|
|
463
463
|
* Determines next focusable item
|
|
464
464
|
*
|
|
465
465
|
* @param {enum} sNavigation any item from KH_NAVIGATION
|
|
466
|
-
* @returns {RadioButton}
|
|
466
|
+
* @returns {sap.m.RadioButton} Next focusable radio button
|
|
467
467
|
* @private
|
|
468
468
|
*/
|
|
469
469
|
RadioButton.prototype._getNextFocusItem = function(sNavigation) {
|
|
@@ -57,7 +57,7 @@ sap.ui.define([
|
|
|
57
57
|
* @implements sap.ui.core.IFormContent
|
|
58
58
|
*
|
|
59
59
|
* @author SAP SE
|
|
60
|
-
* @version 1.
|
|
60
|
+
* @version 1.103.0
|
|
61
61
|
*
|
|
62
62
|
* @constructor
|
|
63
63
|
* @public
|
|
@@ -472,7 +472,7 @@ sap.ui.define([
|
|
|
472
472
|
* Removes all radio buttons.
|
|
473
473
|
*
|
|
474
474
|
* @public
|
|
475
|
-
* @returns {
|
|
475
|
+
* @returns {sap.m.RadioButton[]} Array of removed buttons.
|
|
476
476
|
*/
|
|
477
477
|
RadioButtonGroup.prototype.removeAllButtons = function () {
|
|
478
478
|
if (!this._bUpdateButtons) {
|
package/src/sap/m/RangeSlider.js
CHANGED
|
@@ -51,7 +51,7 @@ sap.ui.define([
|
|
|
51
51
|
* @extends sap.m.Slider
|
|
52
52
|
*
|
|
53
53
|
* @author SAP SE
|
|
54
|
-
* @version 1.
|
|
54
|
+
* @version 1.103.0
|
|
55
55
|
*
|
|
56
56
|
* @constructor
|
|
57
57
|
* @public
|
|
@@ -76,7 +76,28 @@ sap.ui.define([
|
|
|
76
76
|
*
|
|
77
77
|
* If the value is lower/higher than the allowed minimum/maximum, a warning message will be output to the console.
|
|
78
78
|
*/
|
|
79
|
-
range: {type: "float[]", group: "Data", defaultValue: [0,100]}
|
|
79
|
+
range: {type: "float[]", group: "Data", defaultValue: [0,100]},
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Stores positioning info regarding progress element DOM
|
|
83
|
+
*
|
|
84
|
+
* @private
|
|
85
|
+
*/
|
|
86
|
+
progressBarSize: { type: "object", visibility: "hidden" },
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Identifies if start handle is pressed
|
|
90
|
+
*
|
|
91
|
+
* @private
|
|
92
|
+
*/
|
|
93
|
+
startHandlePressed: { type: "boolean", visibility: "hidden" },
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Identifies if end handle is pressed
|
|
97
|
+
*
|
|
98
|
+
* @private
|
|
99
|
+
*/
|
|
100
|
+
endHandlePressed: { type: "boolean", visibility: "hidden" }
|
|
80
101
|
},
|
|
81
102
|
designtime: "sap/m/designtime/RangeSlider.designtime"
|
|
82
103
|
}
|
|
@@ -155,6 +176,8 @@ sap.ui.define([
|
|
|
155
176
|
this._storeTooltipsMetadata();
|
|
156
177
|
}
|
|
157
178
|
|
|
179
|
+
this._recalculateRange();
|
|
180
|
+
|
|
158
181
|
// At this point it's certain that all setters are executed and values of
|
|
159
182
|
// min, max, value, value2 and range are set properly and are not using the Default values.
|
|
160
183
|
// It's important however to keep the slider values within the boundaries defined by min and max.
|
|
@@ -207,8 +230,6 @@ sap.ui.define([
|
|
|
207
230
|
if (!this._mHandleTooltip.end.tooltip) {
|
|
208
231
|
this._mHandleTooltip.end.tooltip = aTooltips[1];
|
|
209
232
|
}
|
|
210
|
-
|
|
211
|
-
this._mHandleTooltip.bTooltipsSwapped = false; // Reset tooltips swapping
|
|
212
233
|
};
|
|
213
234
|
|
|
214
235
|
/**
|
|
@@ -216,26 +237,23 @@ sap.ui.define([
|
|
|
216
237
|
* @private
|
|
217
238
|
*/
|
|
218
239
|
RangeSlider.prototype._recalculateRange = function () {
|
|
219
|
-
var aHandlesLeftOffset,
|
|
220
|
-
|
|
240
|
+
var aHandlesLeftOffset,
|
|
241
|
+
fValue = this.getValue(),
|
|
242
|
+
fValue2 = this.getValue2(),
|
|
243
|
+
sStart, sEnd;
|
|
221
244
|
|
|
222
245
|
aHandlesLeftOffset = [
|
|
223
|
-
|
|
224
|
-
|
|
246
|
+
this._getPercentOfValue(this._bRTL ? fValue2 : fValue),
|
|
247
|
+
this._getPercentOfValue(this._bRTL ? fValue : fValue2)
|
|
225
248
|
];
|
|
226
249
|
|
|
227
250
|
sStart = Math.min.apply(Math, aHandlesLeftOffset) + "%";
|
|
228
251
|
sEnd = (100 - Math.max.apply(Math, aHandlesLeftOffset)) + "%";
|
|
229
252
|
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
oProgressIndicator.style.right = sStart;
|
|
235
|
-
} else {
|
|
236
|
-
oProgressIndicator.style.left = sStart;
|
|
237
|
-
oProgressIndicator.style.right = sEnd;
|
|
238
|
-
}
|
|
253
|
+
this.setProperty("progressBarSize", {
|
|
254
|
+
left: this._bRTL ? sEnd : sStart,
|
|
255
|
+
right: this._bRTL ? sStart : sEnd
|
|
256
|
+
});
|
|
239
257
|
};
|
|
240
258
|
|
|
241
259
|
/**
|
|
@@ -300,8 +318,6 @@ sap.ui.define([
|
|
|
300
318
|
this._updateTooltipContent(oTooltip, fValue);
|
|
301
319
|
this._adjustTooltipsContainer();
|
|
302
320
|
}
|
|
303
|
-
|
|
304
|
-
this._recalculateRange();
|
|
305
321
|
};
|
|
306
322
|
|
|
307
323
|
RangeSlider.prototype._updateHandleDom = function (oHandle, aRange, iIndex, sValue, fPercentVal) {
|
|
@@ -419,9 +435,10 @@ sap.ui.define([
|
|
|
419
435
|
|
|
420
436
|
RangeSlider.prototype._swapTooltips = function (aRange) {
|
|
421
437
|
var oTempTooltip = this._mHandleTooltip.start.tooltip;
|
|
438
|
+
var bShouldSwapTooltipsToTheRight = aRange[0] >= aRange[1] && !this._mHandleTooltip.bTooltipsSwapped;
|
|
439
|
+
var bShouldRevertTooltipsSwapping = (aRange[0] < aRange[1]) && this._mHandleTooltip.bTooltipsSwapped;
|
|
422
440
|
|
|
423
|
-
if (
|
|
424
|
-
(aRange[0] <= aRange[1] && this._mHandleTooltip.bTooltipsSwapped)) {
|
|
441
|
+
if (bShouldSwapTooltipsToTheRight || bShouldRevertTooltipsSwapping) {
|
|
425
442
|
this._mHandleTooltip.start.tooltip = this._mHandleTooltip.end.tooltip;
|
|
426
443
|
this._mHandleTooltip.end.tooltip = oTempTooltip;
|
|
427
444
|
|
|
@@ -434,7 +451,14 @@ sap.ui.define([
|
|
|
434
451
|
this._mHandleTooltip.end.handle.setAttribute("aria-controls", this._mHandleTooltip.end.tooltip.getId());
|
|
435
452
|
}
|
|
436
453
|
|
|
437
|
-
|
|
454
|
+
if (bShouldRevertTooltipsSwapping) {
|
|
455
|
+
this._mHandleTooltip.bTooltipsSwapped = false;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
if (bShouldSwapTooltipsToTheRight) {
|
|
459
|
+
this._mHandleTooltip.bTooltipsSwapped = true;
|
|
460
|
+
}
|
|
461
|
+
|
|
438
462
|
}
|
|
439
463
|
};
|
|
440
464
|
|
|
@@ -483,7 +507,7 @@ sap.ui.define([
|
|
|
483
507
|
* @private
|
|
484
508
|
* @ui5-restricted sap.m.SliderTooltipBase
|
|
485
509
|
*/
|
|
486
|
-
RangeSlider.prototype.updateTooltipsPositionAndState = function (oTooltip, fValue) {
|
|
510
|
+
RangeSlider.prototype.updateTooltipsPositionAndState = function (oTooltip, fValue, bPreventStateUpdate) {
|
|
487
511
|
var oHandle, oActiveTooltip,
|
|
488
512
|
bTooltipsInitialPositionTouched = this._mHandleTooltip.bTooltipsSwapped;
|
|
489
513
|
|
|
@@ -501,7 +525,10 @@ sap.ui.define([
|
|
|
501
525
|
oActiveTooltip.focus();
|
|
502
526
|
}
|
|
503
527
|
|
|
504
|
-
|
|
528
|
+
if (!bPreventStateUpdate) {
|
|
529
|
+
this._fireChangeAndLiveChange({ range: this.getRange() });
|
|
530
|
+
}
|
|
531
|
+
|
|
505
532
|
this.updateAdvancedTooltipDom();
|
|
506
533
|
};
|
|
507
534
|
|
|
@@ -529,10 +556,6 @@ sap.ui.define([
|
|
|
529
556
|
|
|
530
557
|
this._updateRangePropertyDependencies(aRange);
|
|
531
558
|
|
|
532
|
-
if (this._updateDOMAfterSetters(aRange[0], aRange, 0) && this._updateDOMAfterSetters(aRange[1], aRange, 1)) {
|
|
533
|
-
this._recalculateRange();
|
|
534
|
-
}
|
|
535
|
-
|
|
536
559
|
return this;
|
|
537
560
|
};
|
|
538
561
|
|
|
@@ -559,13 +582,9 @@ sap.ui.define([
|
|
|
559
582
|
aRange[0] = fValue;
|
|
560
583
|
|
|
561
584
|
this._updateRangePropertyDependencies(aRange);
|
|
562
|
-
if (this._updateDOMAfterSetters(aRange[0], aRange, 0)) {
|
|
563
|
-
this._recalculateRange();
|
|
564
|
-
}
|
|
565
585
|
|
|
566
586
|
if (this.getShowAdvancedTooltip() && this._mHandleTooltip.start.tooltip) {
|
|
567
|
-
this.
|
|
568
|
-
this.updateTooltipsPositionAndState(this._mHandleTooltip.start.tooltip, fValue);
|
|
587
|
+
this.updateTooltipsPositionAndState(this._mHandleTooltip.start.tooltip, fValue, true);
|
|
569
588
|
}
|
|
570
589
|
|
|
571
590
|
return this;
|
|
@@ -578,13 +597,9 @@ sap.ui.define([
|
|
|
578
597
|
aRange[1] = fValue;
|
|
579
598
|
|
|
580
599
|
this._updateRangePropertyDependencies(aRange);
|
|
581
|
-
if (this._updateDOMAfterSetters(aRange[1], aRange, 1)) {
|
|
582
|
-
this._recalculateRange();
|
|
583
|
-
}
|
|
584
600
|
|
|
585
601
|
if (this.getShowAdvancedTooltip() && this._mHandleTooltip.end.tooltip) {
|
|
586
|
-
this.
|
|
587
|
-
this.updateTooltipsPositionAndState(this._mHandleTooltip.end.tooltip, fValue);
|
|
602
|
+
this.updateTooltipsPositionAndState(this._mHandleTooltip.end.tooltip, fValue, true);
|
|
588
603
|
}
|
|
589
604
|
|
|
590
605
|
return this;
|
|
@@ -597,16 +612,16 @@ sap.ui.define([
|
|
|
597
612
|
fNewValue2 = Number(aRangeCopy[1].toFixed(iDecimal));
|
|
598
613
|
|
|
599
614
|
if (this.getProperty("value") !== fNewValue) {
|
|
600
|
-
this.setProperty("value", fNewValue
|
|
615
|
+
this.setProperty("value", fNewValue);
|
|
601
616
|
aRangeCopy[0] = fNewValue;
|
|
602
617
|
}
|
|
603
618
|
|
|
604
619
|
if (this.getProperty("value2") !== fNewValue2) {
|
|
605
|
-
this.setProperty("value2", fNewValue2
|
|
620
|
+
this.setProperty("value2", fNewValue2);
|
|
606
621
|
aRangeCopy[1] = fNewValue2;
|
|
607
622
|
}
|
|
608
623
|
|
|
609
|
-
this.setProperty("range", aRangeCopy
|
|
624
|
+
this.setProperty("range", aRangeCopy);
|
|
610
625
|
};
|
|
611
626
|
|
|
612
627
|
/**
|
|
@@ -665,6 +680,10 @@ sap.ui.define([
|
|
|
665
680
|
fValue = fMax;
|
|
666
681
|
}
|
|
667
682
|
|
|
683
|
+
if (!Number.isInteger(fStep)) {
|
|
684
|
+
fValue = parseFloat(fValue.toFixed(this._iDecimalPrecision));
|
|
685
|
+
}
|
|
686
|
+
|
|
668
687
|
return fValue;
|
|
669
688
|
};
|
|
670
689
|
|
|
@@ -678,7 +697,7 @@ sap.ui.define([
|
|
|
678
697
|
var oTouch = oEvent.targetTouches[0],
|
|
679
698
|
CSS_CLASS = this.getRenderer().CSS_CLASS,
|
|
680
699
|
sEventNamespace = "." + CSS_CLASS, fMinValue, fMaxValue,
|
|
681
|
-
fValue, aHandles, aRange, iHandleIndex, fHandlesDistance,
|
|
700
|
+
fValue, aHandles, aRange, iHandleIndex, fHandlesDistance,
|
|
682
701
|
fTotalNumberOfValues, fPercentOfHandle, fHandleValue, fHandleHalfWidth;
|
|
683
702
|
|
|
684
703
|
if (!this.getEnabled()) {
|
|
@@ -688,12 +707,6 @@ sap.ui.define([
|
|
|
688
707
|
// mark the event for components that needs to know if the event was handled
|
|
689
708
|
oEvent.setMarked();
|
|
690
709
|
|
|
691
|
-
// Should be prevent as in Safari while dragging the handle everything else gets selection.
|
|
692
|
-
// As part of the RangeSlider, Inputs in the tooltips should be excluded
|
|
693
|
-
if (oEvent.target.className.indexOf("sapMInput") === -1) {
|
|
694
|
-
oEvent.preventDefault();
|
|
695
|
-
}
|
|
696
|
-
|
|
697
710
|
// we need to recalculate the styles since something may have changed
|
|
698
711
|
// the screen size between touches.
|
|
699
712
|
this._recalculateStyles();
|
|
@@ -744,14 +757,19 @@ sap.ui.define([
|
|
|
744
757
|
this._ontouchmove.bind(this, fValue, this.getRange(), aHandles));
|
|
745
758
|
|
|
746
759
|
// adds pressed state
|
|
747
|
-
aHandles.
|
|
748
|
-
|
|
749
|
-
|
|
760
|
+
aHandles.forEach(function (oHandle) {
|
|
761
|
+
var sProperty = oHandle.getAttribute("data-ui5-handle-position") + "HandlePressed";
|
|
762
|
+
|
|
763
|
+
if (!this.getProperty(sProperty)) {
|
|
764
|
+
this.setProperty(sProperty, true);
|
|
750
765
|
}
|
|
751
|
-
});
|
|
766
|
+
}, this);
|
|
752
767
|
|
|
753
|
-
|
|
754
|
-
|
|
768
|
+
if (aHandles.length === 2) {
|
|
769
|
+
setTimeout(function () {
|
|
770
|
+
this.getDomRef("progress").focus();
|
|
771
|
+
}.bind(this), 0);
|
|
772
|
+
}
|
|
755
773
|
};
|
|
756
774
|
|
|
757
775
|
/**
|
|
@@ -891,12 +909,10 @@ sap.ui.define([
|
|
|
891
909
|
// mark the event for components that needs to know if the event was handled
|
|
892
910
|
oEvent.setMarked();
|
|
893
911
|
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
});
|
|
897
|
-
jQuery(document).off("." + sCSSClass);
|
|
912
|
+
this.setProperty("startHandlePressed", false);
|
|
913
|
+
this.setProperty("endHandlePressed", false);
|
|
898
914
|
|
|
899
|
-
|
|
915
|
+
jQuery(document).off("." + sCSSClass);
|
|
900
916
|
|
|
901
917
|
if (this._aInitialFocusRange[0] !== aNewRange[0] || this._aInitialFocusRange[1] !== aNewRange[1]) {
|
|
902
918
|
this._aInitialFocusRange = Array.prototype.slice.call(aNewRange);
|
|
@@ -929,6 +945,13 @@ sap.ui.define([
|
|
|
929
945
|
};
|
|
930
946
|
|
|
931
947
|
RangeSlider.prototype.getFocusDomRef = function() {
|
|
948
|
+
/* when invalidation is done and focus is in the slider
|
|
949
|
+
the render manager tries to return the focus to the focusDomRef
|
|
950
|
+
in this case we want it to be the currently focused element */
|
|
951
|
+
if (this.getDomRef().contains(document.activeElement)) {
|
|
952
|
+
return document.activeElement;
|
|
953
|
+
}
|
|
954
|
+
|
|
932
955
|
return this.getDomRef("progress");
|
|
933
956
|
};
|
|
934
957
|
|
|
@@ -18,12 +18,14 @@ sap.ui.define(["sap/ui/core/Renderer", "./SliderRenderer", "sap/ui/core/Invisibl
|
|
|
18
18
|
this.renderHandle(oRM, oControl, {
|
|
19
19
|
id: oControl.getId() + "-handle1",
|
|
20
20
|
position: "start",
|
|
21
|
-
forwardedLabels: sRangeSliderLabels
|
|
21
|
+
forwardedLabels: sRangeSliderLabels,
|
|
22
|
+
pressed: oControl.getProperty("startHandlePressed")
|
|
22
23
|
});
|
|
23
24
|
this.renderHandle(oRM, oControl, {
|
|
24
25
|
id: oControl.getId() + "-handle2",
|
|
25
26
|
position: "end",
|
|
26
|
-
forwardedLabels: sRangeSliderLabels
|
|
27
|
+
forwardedLabels: sRangeSliderLabels,
|
|
28
|
+
pressed: oControl.getProperty("endHandlePressed")
|
|
27
29
|
});
|
|
28
30
|
|
|
29
31
|
// Render ARIA labels
|
|
@@ -62,6 +64,11 @@ sap.ui.define(["sap/ui/core/Renderer", "./SliderRenderer", "sap/ui/core/Invisibl
|
|
|
62
64
|
}
|
|
63
65
|
|
|
64
66
|
oRM.class(SliderRenderer.CSS_CLASS + "Handle");
|
|
67
|
+
oRM.attr("data-ui5-handle-position", mOptions.position);
|
|
68
|
+
|
|
69
|
+
if (mOptions.pressed) {
|
|
70
|
+
oRM.class(SliderRenderer.CSS_CLASS + "HandlePressed");
|
|
71
|
+
}
|
|
65
72
|
|
|
66
73
|
if (mOptions && (mOptions.id !== undefined) && mOptions.id === (oControl.getId() + "-handle1")) {
|
|
67
74
|
oRM.style(bRTL ? "right" : "left", aRange[0]);
|
|
@@ -162,6 +169,7 @@ sap.ui.define(["sap/ui/core/Renderer", "./SliderRenderer", "sap/ui/core/Invisibl
|
|
|
162
169
|
|
|
163
170
|
RangeSliderRenderer.renderProgressIndicator = function(oRm, oSlider, sForwardedLabels) {
|
|
164
171
|
var aRange = oSlider.getRange();
|
|
172
|
+
var oProggressBarSize = oSlider.getProperty("progressBarSize");
|
|
165
173
|
|
|
166
174
|
aRange[0] = oSlider.toFixed(aRange[0], oSlider._iDecimalPrecision);
|
|
167
175
|
aRange[1] = oSlider.toFixed(aRange[1], oSlider._iDecimalPrecision);
|
|
@@ -175,6 +183,11 @@ sap.ui.define(["sap/ui/core/Renderer", "./SliderRenderer", "sap/ui/core/Invisibl
|
|
|
175
183
|
this.addProgressIndicatorClass(oRm, oSlider);
|
|
176
184
|
oRm.style("width", oSlider._sProgressValue);
|
|
177
185
|
|
|
186
|
+
if (oProggressBarSize) {
|
|
187
|
+
oRm.style("left", oProggressBarSize.left);
|
|
188
|
+
oRm.style("right", oProggressBarSize.right);
|
|
189
|
+
}
|
|
190
|
+
|
|
178
191
|
oRm.accessibilityState(oSlider, {
|
|
179
192
|
role: "slider",
|
|
180
193
|
orientation: "horizontal",
|
|
@@ -191,5 +204,24 @@ sap.ui.define(["sap/ui/core/Renderer", "./SliderRenderer", "sap/ui/core/Invisibl
|
|
|
191
204
|
oRm.class("sapMRangeSlider");
|
|
192
205
|
};
|
|
193
206
|
|
|
207
|
+
RangeSliderRenderer.applyTickmarkStyles = function(oRM, oSlider, iTickmarkIndex, iTickmarksToRender) {
|
|
208
|
+
var aRange = oSlider.getRange();
|
|
209
|
+
|
|
210
|
+
aRange[0] = parseInt(oSlider.toFixed(aRange[0], oSlider._iDecimalPrecision));
|
|
211
|
+
aRange[1] = parseInt(oSlider.toFixed(aRange[1], oSlider._iDecimalPrecision));
|
|
212
|
+
|
|
213
|
+
var bRender = (iTickmarkIndex >= aRange[0] && iTickmarkIndex <= aRange[1]) || (iTickmarkIndex <= aRange[0] && iTickmarkIndex >= aRange[1]);
|
|
214
|
+
|
|
215
|
+
oRM.attr("data-ui5-active-tickmark", bRender);
|
|
216
|
+
};
|
|
217
|
+
|
|
218
|
+
RangeSliderRenderer.shouldRenderFirstActiveTickmark = function (oSlider) {
|
|
219
|
+
return oSlider.getValue() === oSlider.getMin();
|
|
220
|
+
};
|
|
221
|
+
|
|
222
|
+
RangeSliderRenderer.shouldRenderLastActiveTickmark = function (oSlider) {
|
|
223
|
+
return oSlider.getValue2() === oSlider.getMax();
|
|
224
|
+
};
|
|
225
|
+
|
|
194
226
|
return RangeSliderRenderer;
|
|
195
227
|
}, /* bExport= */ true);
|
|
@@ -61,7 +61,7 @@ sap.ui.define([
|
|
|
61
61
|
* @extends sap.ui.core.Control
|
|
62
62
|
*
|
|
63
63
|
* @author SAP SE
|
|
64
|
-
* @version 1.
|
|
64
|
+
* @version 1.103.0
|
|
65
65
|
*
|
|
66
66
|
* @constructor
|
|
67
67
|
* @public
|
|
@@ -403,7 +403,7 @@ sap.ui.define([
|
|
|
403
403
|
//overwrite the _removeChild to detach event listener and remove delegate when the navcontainer is removed from this responsive popover
|
|
404
404
|
this._oControl._removeChild = function(oChild, sAggregationName, bSuppressInvalidate){
|
|
405
405
|
var aPages, i;
|
|
406
|
-
if ((sAggregationName === "content") && (oChild
|
|
406
|
+
if ((sAggregationName === "content") && (oChild && oChild.isA("sap.m.NavContainer"))) {
|
|
407
407
|
aPages = oChild.getPages();
|
|
408
408
|
for (i = 0 ; i < aPages.length ; i++) {
|
|
409
409
|
aPages[i].removeEventDelegate(that._oPageDelegate);
|
|
@@ -495,11 +495,11 @@ sap.ui.define([
|
|
|
495
495
|
ResponsivePopover.prototype._getSingleNavContent = function(){
|
|
496
496
|
var aContent = this.getContent();
|
|
497
497
|
|
|
498
|
-
while (aContent.length === 1 && aContent[0]
|
|
498
|
+
while (aContent.length === 1 && aContent[0] && aContent[0].isA("sap.ui.core.mvc.View")) {
|
|
499
499
|
aContent = aContent[0].getContent();
|
|
500
500
|
}
|
|
501
501
|
|
|
502
|
-
if (aContent.length === 1 && aContent[0]
|
|
502
|
+
if (aContent.length === 1 && aContent[0] && aContent[0].isA("sap.m.NavContainer")) {
|
|
503
503
|
return aContent[0];
|
|
504
504
|
} else {
|
|
505
505
|
return null;
|
|
@@ -510,10 +510,10 @@ sap.ui.define([
|
|
|
510
510
|
var oReturn = oPage, aContent;
|
|
511
511
|
|
|
512
512
|
while (oReturn) {
|
|
513
|
-
if (oReturn
|
|
513
|
+
if (oReturn.isA("sap.m.Page")) {
|
|
514
514
|
return oReturn;
|
|
515
515
|
}
|
|
516
|
-
if (oReturn
|
|
516
|
+
if (oReturn.isA("sap.ui.core.mvc.View")) {
|
|
517
517
|
aContent = oReturn.getContent();
|
|
518
518
|
if (aContent.length === 1) {
|
|
519
519
|
oReturn = aContent[0];
|
|
@@ -612,6 +612,7 @@ sap.ui.define([
|
|
|
612
612
|
};
|
|
613
613
|
|
|
614
614
|
/**
|
|
615
|
+
* @returns {sap.ui.core.Control}
|
|
615
616
|
* @private
|
|
616
617
|
*/
|
|
617
618
|
ResponsivePopover.prototype._getButtonFooter = function() {
|
package/src/sap/m/ScrollBar.js
CHANGED
|
@@ -25,7 +25,7 @@ function(Control, ScrollBarRenderer) {
|
|
|
25
25
|
* care of only rendering the currently visible rows and use this <code>ScrollBar</code> control to make
|
|
26
26
|
* the users think they are actually scrolling through a long list.
|
|
27
27
|
* @extends sap.ui.core.Control
|
|
28
|
-
* @version 1.
|
|
28
|
+
* @version 1.103.0
|
|
29
29
|
*
|
|
30
30
|
* @private
|
|
31
31
|
* @alias sap.m.ScrollBar
|
package/src/sap/m/SearchField.js
CHANGED
|
@@ -55,7 +55,7 @@ function(
|
|
|
55
55
|
* @implements sap.ui.core.IFormContent
|
|
56
56
|
*
|
|
57
57
|
* @author SAP SE
|
|
58
|
-
* @version 1.
|
|
58
|
+
* @version 1.103.0
|
|
59
59
|
*
|
|
60
60
|
* @constructor
|
|
61
61
|
* @public
|
|
@@ -194,8 +194,10 @@ function(
|
|
|
194
194
|
this._oItemNavigation.setCycling(false);
|
|
195
195
|
//this way we do not hijack the browser back/forward navigation
|
|
196
196
|
this._oItemNavigation.setDisabledModifiers({
|
|
197
|
-
sapnext: ["alt"],
|
|
198
|
-
sapprevious: ["alt"]
|
|
197
|
+
sapnext: ["alt", "meta"],
|
|
198
|
+
sapprevious: ["alt", "meta"],
|
|
199
|
+
saphome : ["alt", "meta"],
|
|
200
|
+
sapend : ["meta"]
|
|
199
201
|
});
|
|
200
202
|
this.addDelegate(this._oItemNavigation);
|
|
201
203
|
|