@openui5/sap.m 1.98.0 → 1.101.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/.eslintrc.json +18 -0
- package/THIRDPARTY.txt +6 -6
- package/package.json +4 -4
- package/src/sap/m/.library +1 -1
- package/src/sap/m/AccButton.js +1 -1
- package/src/sap/m/ActionListItem.js +2 -2
- package/src/sap/m/ActionListItemRenderer.js +5 -7
- package/src/sap/m/ActionSelect.js +1 -1
- package/src/sap/m/ActionSelectRenderer.js +1 -1
- package/src/sap/m/ActionSheet.js +12 -5
- package/src/sap/m/ActionSheetRenderer.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 +21 -4
- package/src/sap/m/AvatarRenderer.js +6 -1
- package/src/sap/m/BadgeCustomData.js +6 -4
- package/src/sap/m/BadgeEnabler.js +3 -2
- package/src/sap/m/Bar.js +6 -5
- package/src/sap/m/BarRenderer.js +6 -6
- package/src/sap/m/Breadcrumbs.js +81 -7
- package/src/sap/m/BreadcrumbsRenderer.js +3 -7
- package/src/sap/m/BusyDialog.js +1 -1
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/BusyIndicatorRenderer.js +1 -1
- package/src/sap/m/Button.js +2 -2
- package/src/sap/m/ButtonRenderer.js +3 -3
- package/src/sap/m/Carousel.js +22 -17
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CarouselRenderer.js +10 -4
- package/src/sap/m/CheckBox.js +2 -4
- package/src/sap/m/CheckBoxRenderer.js +1 -1
- package/src/sap/m/ColorPalette.js +1 -1
- package/src/sap/m/ColorPalettePopover.js +1 -1
- package/src/sap/m/Column.js +1 -1
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +1 -1
- package/src/sap/m/ColumnListItemRenderer.js +10 -11
- 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 +3 -2
- package/src/sap/m/ComboBoxBase.js +5 -3
- package/src/sap/m/ComboBoxBaseRenderer.js +2 -2
- package/src/sap/m/ComboBoxRenderer.js +4 -4
- package/src/sap/m/ComboBoxTextField.js +1 -1
- package/src/sap/m/ComboBoxTextFieldRenderer.js +2 -2
- package/src/sap/m/CustomDynamicDateOption.js +1 -1
- package/src/sap/m/CustomListItem.js +1 -1
- package/src/sap/m/CustomListItemRenderer.js +4 -6
- package/src/sap/m/CustomTile.js +1 -1
- package/src/sap/m/CustomTileRenderer.js +2 -2
- package/src/sap/m/CustomTreeItem.js +1 -1
- package/src/sap/m/CustomTreeItemRenderer.js +2 -2
- package/src/sap/m/DatePicker.js +36 -7
- package/src/sap/m/DatePickerRenderer.js +1 -6
- package/src/sap/m/DateRangeSelection.js +42 -4
- package/src/sap/m/DateRangeSelectionRenderer.js +1 -1
- package/src/sap/m/DateTimeField.js +15 -6
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +375 -89
- package/src/sap/m/DateTimePickerRenderer.js +57 -0
- package/src/sap/m/Dialog.js +20 -7
- package/src/sap/m/DialogRenderer.js +1 -1
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DisplayListItemRenderer.js +4 -6
- package/src/sap/m/DraftIndicator.js +1 -1
- package/src/sap/m/DraftIndicatorRenderer.js +1 -1
- package/src/sap/m/DynamicDate.js +3 -3
- package/src/sap/m/DynamicDateFormat.js +33 -1
- package/src/sap/m/DynamicDateOption.js +144 -9
- package/src/sap/m/DynamicDateRange.js +145 -49
- package/src/sap/m/DynamicDateRangeRenderer.js +1 -1
- package/src/sap/m/DynamicDateUtil.js +10 -3
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
- package/src/sap/m/ExpandableText.js +1 -1
- package/src/sap/m/FacetFilter.js +1 -1
- package/src/sap/m/FacetFilterItem.js +1 -1
- package/src/sap/m/FacetFilterItemRenderer.js +1 -1
- package/src/sap/m/FacetFilterList.js +7 -5
- package/src/sap/m/FacetFilterRenderer.js +10 -10
- package/src/sap/m/FeedContent.js +2 -2
- package/src/sap/m/FeedInput.js +2 -2
- package/src/sap/m/FeedInputRenderer.js +1 -1
- package/src/sap/m/FeedListItem.js +7 -7
- package/src/sap/m/FeedListItemAction.js +1 -1
- package/src/sap/m/FeedListItemRenderer.js +12 -7
- 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 +4 -1
- package/src/sap/m/GenericTag.js +5 -3
- package/src/sap/m/GenericTagRenderer.js +13 -5
- package/src/sap/m/GenericTile.js +62 -16
- package/src/sap/m/GenericTileLineModeRenderer.js +77 -3
- package/src/sap/m/GenericTileRenderer.js +89 -42
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GroupHeaderListItemRenderer.js +2 -2
- package/src/sap/m/GrowingEnablement.js +53 -3
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HBoxRenderer.js +1 -1
- package/src/sap/m/HeaderContainer.js +87 -16
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/HeaderContainerRenderer.js +1 -1
- package/src/sap/m/HyphenationSupport.js +1 -5
- package/src/sap/m/IconTabBar.js +2 -2
- package/src/sap/m/IconTabBarDragAndDropUtil.js +5 -4
- package/src/sap/m/IconTabBarSelectList.js +3 -5
- package/src/sap/m/IconTabFilter.js +1 -1
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +9 -13
- package/src/sap/m/IconTabHeaderRenderer.js +1 -1
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/IllustratedMessage.js +29 -8
- package/src/sap/m/IllustratedMessageRenderer.js +5 -5
- package/src/sap/m/IllustratedMessageType.js +26 -2
- package/src/sap/m/Illustration.js +1 -1
- package/src/sap/m/IllustrationRenderer.js +4 -2
- package/src/sap/m/Image.js +1 -1
- package/src/sap/m/ImageContent.js +2 -2
- package/src/sap/m/ImageRenderer.js +1 -1
- package/src/sap/m/Input.js +13 -23
- package/src/sap/m/InputBase.js +6 -8
- package/src/sap/m/InputBaseRenderer.js +53 -39
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/InputListItemRenderer.js +4 -6
- package/src/sap/m/InputRenderer.js +12 -9
- package/src/sap/m/Label.js +3 -3
- package/src/sap/m/LabelRenderer.js +2 -2
- package/src/sap/m/LightBox.js +5 -5
- package/src/sap/m/LightBoxItem.js +2 -3
- package/src/sap/m/LightBoxRenderer.js +1 -1
- package/src/sap/m/Link.js +2 -2
- package/src/sap/m/LinkRenderer.js +1 -1
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +50 -10
- package/src/sap/m/ListBaseRenderer.js +38 -24
- package/src/sap/m/ListItemBase.js +4 -3
- package/src/sap/m/ListItemBaseRenderer.js +23 -23
- package/src/sap/m/MaskEnabler.js +11 -11
- package/src/sap/m/MaskInput.js +9 -1
- package/src/sap/m/MaskInputRenderer.js +9 -43
- package/src/sap/m/MaskInputRule.js +5 -5
- package/src/sap/m/Menu.js +1 -1
- package/src/sap/m/MenuButton.js +5 -1
- package/src/sap/m/MenuButtonRenderer.js +1 -1
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuListItem.js +1 -1
- package/src/sap/m/MenuListItemRenderer.js +2 -2
- package/src/sap/m/MessageBox.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/MessagePageRenderer.js +1 -1
- package/src/sap/m/MessagePopover.js +19 -34
- package/src/sap/m/MessagePopoverItem.js +1 -1
- package/src/sap/m/MessagePopoverRenderer.js +1 -1
- package/src/sap/m/MessageStrip.js +2 -2
- package/src/sap/m/MessageStripRenderer.js +1 -1
- package/src/sap/m/MessageToast.js +1 -1
- package/src/sap/m/MessageView.js +3 -3
- package/src/sap/m/MultiComboBox.js +6 -4
- package/src/sap/m/MultiComboBoxRenderer.js +4 -4
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +44 -27
- package/src/sap/m/NavContainer.js +53 -53
- package/src/sap/m/NavContainerRenderer.js +1 -1
- package/src/sap/m/NewsContent.js +2 -2
- 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/NotificationListGroupRenderer.js +1 -1
- package/src/sap/m/NotificationListItem.js +1 -1
- package/src/sap/m/NotificationListItemRenderer.js +1 -1
- package/src/sap/m/NotificationListRenderer.js +2 -2
- package/src/sap/m/NumericContent.js +30 -22
- package/src/sap/m/NumericContentRenderer.js +10 -10
- package/src/sap/m/NumericInput.js +3 -2
- package/src/sap/m/NumericInputRenderer.js +13 -1
- package/src/sap/m/ObjectAttribute.js +4 -5
- package/src/sap/m/ObjectAttributeRenderer.js +3 -3
- package/src/sap/m/ObjectHeader.js +20 -7
- package/src/sap/m/ObjectHeaderRenderer.js +3 -3
- package/src/sap/m/ObjectIdentifier.js +3 -3
- package/src/sap/m/ObjectIdentifierRenderer.js +1 -1
- package/src/sap/m/ObjectListItem.js +1 -1
- package/src/sap/m/ObjectListItemRenderer.js +2 -2
- package/src/sap/m/ObjectMarker.js +35 -11
- package/src/sap/m/ObjectMarkerRenderer.js +15 -3
- package/src/sap/m/ObjectNumber.js +1 -1
- package/src/sap/m/ObjectNumberRenderer.js +1 -2
- package/src/sap/m/ObjectStatus.js +1 -1
- package/src/sap/m/ObjectStatusRenderer.js +4 -5
- package/src/sap/m/OverflowToolbar.js +23 -3
- package/src/sap/m/OverflowToolbarAssociativePopover.js +2 -2
- 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 +2 -2
- 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 +3 -3
- 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 +4 -3
- package/src/sap/m/PDFViewerRenderer.js +15 -7
- 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/PanelRenderer.js +1 -1
- package/src/sap/m/PlanningCalendar.js +16 -15
- package/src/sap/m/PlanningCalendarHeader.js +1 -4
- 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 +25 -9
- package/src/sap/m/PopoverRenderer.js +1 -1
- package/src/sap/m/ProgressIndicator.js +3 -3
- package/src/sap/m/ProgressIndicatorRenderer.js +1 -1
- package/src/sap/m/PullToRefresh.js +1 -1
- package/src/sap/m/PullToRefreshRenderer.js +2 -2
- 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/QuickViewCardRenderer.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 +5 -2
- package/src/sap/m/QuickViewPageRenderer.js +1 -1
- package/src/sap/m/RadioButton.js +1 -1
- package/src/sap/m/RadioButtonGroup.js +14 -2
- package/src/sap/m/RadioButtonRenderer.js +1 -2
- package/src/sap/m/RangeSlider.js +17 -6
- package/src/sap/m/RangeSliderRenderer.js +5 -5
- package/src/sap/m/RatingIndicator.js +2 -2
- package/src/sap/m/RatingIndicatorRenderer.js +1 -1
- package/src/sap/m/ResponsivePopover.js +3 -5
- package/src/sap/m/ResponsivePopoverRenderer.js +1 -1
- package/src/sap/m/ResponsiveScale.js +1 -1
- package/src/sap/m/ScrollBar.js +3 -3
- package/src/sap/m/ScrollBarRenderer.js +1 -1
- package/src/sap/m/ScrollContainer.js +1 -1
- package/src/sap/m/ScrollContainerRenderer.js +1 -1
- package/src/sap/m/SearchField.js +2 -2
- package/src/sap/m/SegmentedButton.js +17 -7
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/SegmentedButtonRenderer.js +2 -2
- package/src/sap/m/Select.js +36 -6
- package/src/sap/m/SelectDialog.js +4 -4
- package/src/sap/m/SelectDialogBase.js +1 -1
- package/src/sap/m/SelectList.js +4 -3
- package/src/sap/m/SelectListRenderer.js +5 -5
- package/src/sap/m/SelectRenderer.js +5 -5
- package/src/sap/m/SelectionDetails.js +3 -5
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +1 -1
- package/src/sap/m/SelectionDetailsItemLine.js +3 -3
- package/src/sap/m/SelectionDetailsRenderer.js +1 -1
- package/src/sap/m/Shell.js +1 -1
- package/src/sap/m/ShellRenderer.js +1 -1
- package/src/sap/m/SimpleFixFlex.js +1 -1
- package/src/sap/m/SimpleFixFlexRenderer.js +1 -1
- package/src/sap/m/SinglePlanningCalendar.js +21 -2
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +118 -67
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +16 -14
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +24 -10
- package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.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 +2 -2
- package/src/sap/m/SlideTileRenderer.js +9 -2
- package/src/sap/m/Slider.js +1 -1
- package/src/sap/m/SliderRenderer.js +9 -9
- package/src/sap/m/SliderTooltip.js +3 -3
- package/src/sap/m/SliderTooltipBase.js +1 -1
- package/src/sap/m/SliderTooltipBaseRenderer.js +2 -2
- package/src/sap/m/SliderTooltipContainer.js +6 -2
- package/src/sap/m/SliderTooltipContainerRenderer.js +1 -1
- package/src/sap/m/SliderTooltipRenderer.js +1 -1
- package/src/sap/m/SplitApp.js +1 -1
- package/src/sap/m/SplitButton.js +3 -1
- package/src/sap/m/SplitButtonRenderer.js +1 -1
- package/src/sap/m/SplitContainer.js +24 -31
- package/src/sap/m/StandardDynamicDateOption.js +154 -12
- package/src/sap/m/StandardListItem.js +1 -1
- package/src/sap/m/StandardListItemRenderer.js +8 -8
- package/src/sap/m/StandardTile.js +1 -1
- package/src/sap/m/StandardTileRenderer.js +1 -1
- package/src/sap/m/StandardTreeItem.js +1 -1
- package/src/sap/m/StepInput.js +4 -4
- package/src/sap/m/SuggestionItem.js +1 -1
- package/src/sap/m/SuggestionsPopover.js +7 -22
- package/src/sap/m/Switch.js +1 -1
- package/src/sap/m/SwitchRenderer.js +3 -3
- package/src/sap/m/TabContainer.js +1 -1
- package/src/sap/m/TabContainerItem.js +1 -3
- package/src/sap/m/TabContainerRenderer.js +2 -2
- package/src/sap/m/TabStrip.js +2 -2
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/TabStripRenderer.js +2 -2
- package/src/sap/m/Table.js +41 -9
- 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 +10 -5
- package/src/sap/m/TableSelectDialog.js +19 -19
- package/src/sap/m/Text.js +1 -1
- package/src/sap/m/TextArea.js +1 -1
- package/src/sap/m/TextAreaRenderer.js +1 -1
- package/src/sap/m/Tile.js +3 -3
- package/src/sap/m/TileContainer.js +6 -4
- package/src/sap/m/TileContainerRenderer.js +1 -1
- package/src/sap/m/TileContent.js +37 -5
- package/src/sap/m/TileContentRenderer.js +43 -6
- package/src/sap/m/TileRenderer.js +2 -2
- package/src/sap/m/TimePicker.js +4 -56
- package/src/sap/m/TimePickerClock.js +5 -6
- package/src/sap/m/TimePickerClockRenderer.js +1 -1
- package/src/sap/m/TimePickerClocks.js +6 -5
- package/src/sap/m/TimePickerClocksRenderer.js +3 -3
- package/src/sap/m/TimePickerInputs.js +1 -1
- package/src/sap/m/TimePickerInputsRenderer.js +1 -1
- package/src/sap/m/TimePickerInternals.js +8 -6
- package/src/sap/m/TimePickerRenderer.js +5 -17
- package/src/sap/m/TimePickerSlider.js +2 -2
- package/src/sap/m/TimePickerSliderRenderer.js +2 -2
- package/src/sap/m/TimePickerSliders.js +7 -5
- package/src/sap/m/TimePickerSlidersRenderer.js +1 -1
- package/src/sap/m/Title.js +1 -5
- package/src/sap/m/TitlePropagationSupport.js +1 -1
- package/src/sap/m/TitleRenderer.js +2 -2
- package/src/sap/m/ToggleButton.js +1 -1
- package/src/sap/m/Token.js +1 -2
- package/src/sap/m/TokenRenderer.js +21 -3
- package/src/sap/m/Tokenizer.js +8 -8
- package/src/sap/m/TokenizerRenderer.js +41 -7
- package/src/sap/m/Toolbar.js +5 -5
- package/src/sap/m/ToolbarLayoutData.js +1 -1
- package/src/sap/m/ToolbarRenderer.js +3 -3
- package/src/sap/m/ToolbarSeparator.js +5 -3
- package/src/sap/m/ToolbarSpacer.js +1 -1
- package/src/sap/m/Tree.js +1 -1
- package/src/sap/m/TreeItemBase.js +6 -6
- package/src/sap/m/TreeItemBaseRenderer.js +2 -2
- package/src/sap/m/TreeRenderer.js +2 -2
- package/src/sap/m/UploadCollection.js +5 -3
- package/src/sap/m/UploadCollectionItem.js +1 -1
- package/src/sap/m/UploadCollectionParameter.js +1 -1
- package/src/sap/m/UploadCollectionRenderer.js +2 -1
- package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
- package/src/sap/m/VBox.js +1 -1
- package/src/sap/m/VBoxRenderer.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 +118 -61
- package/src/sap/m/ViewSettingsDialogRenderer.js +1 -1
- package/src/sap/m/ViewSettingsFilterItem.js +1 -1
- package/src/sap/m/ViewSettingsItem.js +1 -1
- package/src/sap/m/VisibleItem.js +2 -2
- package/src/sap/m/WheelSlider.js +1 -1
- package/src/sap/m/WheelSliderContainer.js +1 -1
- package/src/sap/m/WheelSliderContainerRenderer.js +1 -1
- package/src/sap/m/WheelSliderRenderer.js +2 -2
- package/src/sap/m/Wizard.js +22 -4
- package/src/sap/m/WizardProgressNavigator.js +10 -3
- 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 +5 -5
- package/src/sap/m/delegate/DateNavigation.js +2 -2
- package/src/sap/m/designtime/ListBase.designtime.js +29 -0
- package/src/sap/m/inputUtils/SuggestionsPopoverDialogMixin.js +22 -16
- package/src/sap/m/inputUtils/SuggestionsPopoverPopoverMixin.js +10 -2
- package/src/sap/m/inputUtils/highlightDOMElements.js +1 -1
- package/src/sap/m/inputUtils/typeAhead.js +7 -7
- package/src/sap/m/library.js +74 -38
- package/src/sap/m/messagebundle.properties +80 -20
- package/src/sap/m/messagebundle_ar.properties +48 -14
- package/src/sap/m/messagebundle_bg.properties +77 -43
- package/src/sap/m/messagebundle_ca.properties +48 -14
- package/src/sap/m/messagebundle_cs.properties +50 -16
- package/src/sap/m/messagebundle_cy.properties +48 -14
- package/src/sap/m/messagebundle_da.properties +49 -15
- package/src/sap/m/messagebundle_de.properties +49 -15
- package/src/sap/m/messagebundle_el.properties +53 -19
- package/src/sap/m/messagebundle_en.properties +46 -12
- package/src/sap/m/messagebundle_en_GB.properties +46 -12
- package/src/sap/m/messagebundle_en_US_sappsd.properties +48 -12
- package/src/sap/m/messagebundle_en_US_saprigi.properties +291 -66
- package/src/sap/m/messagebundle_en_US_saptrc.properties +46 -12
- package/src/sap/m/messagebundle_es.properties +48 -14
- package/src/sap/m/messagebundle_es_MX.properties +48 -14
- package/src/sap/m/messagebundle_et.properties +48 -14
- package/src/sap/m/messagebundle_fi.properties +49 -15
- package/src/sap/m/messagebundle_fr.properties +61 -27
- package/src/sap/m/messagebundle_fr_CA.properties +47 -13
- package/src/sap/m/messagebundle_hi.properties +46 -12
- package/src/sap/m/messagebundle_hr.properties +48 -14
- package/src/sap/m/messagebundle_hu.properties +49 -15
- package/src/sap/m/messagebundle_id.properties +48 -14
- package/src/sap/m/messagebundle_it.properties +55 -21
- package/src/sap/m/messagebundle_iw.properties +48 -14
- package/src/sap/m/messagebundle_ja.properties +51 -17
- 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 +48 -14
- package/src/sap/m/messagebundle_lv.properties +48 -14
- 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 +48 -14
- package/src/sap/m/messagebundle_pt.properties +71 -37
- package/src/sap/m/messagebundle_pt_PT.properties +49 -15
- 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 +48 -14
- package/src/sap/m/messagebundle_sl.properties +48 -14
- package/src/sap/m/messagebundle_sv.properties +49 -15
- package/src/sap/m/messagebundle_th.properties +55 -21
- 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 +47 -13
- package/src/sap/m/messagebundle_zh_CN.properties +48 -14
- package/src/sap/m/messagebundle_zh_TW.properties +47 -13
- package/src/sap/m/p13n/AbstractContainer.js +15 -8
- package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
- package/src/sap/m/p13n/BasePanel.js +39 -20
- package/src/sap/m/p13n/Container.js +20 -14
- package/src/sap/m/p13n/GroupPanel.js +6 -5
- package/src/sap/m/p13n/Popup.js +9 -2
- package/src/sap/m/p13n/QueryPanel.js +93 -30
- package/src/sap/m/p13n/SelectionPanel.js +16 -8
- package/src/sap/m/p13n/SortPanel.js +9 -6
- package/src/sap/m/plugins/ColumnResizer.js +38 -9
- 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/rules/Breadcrumbs.support.js +1 -1
- package/src/sap/m/rules/MessagePage.support.js +1 -1
- package/src/sap/m/rules/Tokenizer.support.js +4 -2
- 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 +7 -14
- package/src/sap/m/semantic/SemanticControl.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
- package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
- package/src/sap/m/semantic/SemanticPage.js +1 -1
- package/src/sap/m/semantic/SemanticSelect.js +1 -1
- package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
- package/src/sap/m/semantic/SendEmailAction.js +1 -1
- package/src/sap/m/semantic/SendMessageAction.js +1 -1
- package/src/sap/m/semantic/ShareInJamAction.js +1 -1
- package/src/sap/m/semantic/ShareMenu.js +2 -2
- 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 +104 -23
- package/src/sap/m/table/{ActionItem.js → columnmenu/ActionItem.js} +9 -10
- package/src/sap/m/table/{ColumnMenuEntry.js → columnmenu/Entry.js} +16 -16
- package/src/sap/m/table/{Item.js → columnmenu/Item.js} +8 -8
- package/src/sap/m/table/{ItemBase.js → columnmenu/ItemBase.js} +11 -12
- package/src/sap/m/table/columnmenu/ItemContainer.js +29 -0
- package/src/sap/m/table/columnmenu/Menu.js +556 -0
- package/src/sap/m/table/columnmenu/MenuRenderer.js +57 -0
- package/src/sap/m/table/columnmenu/QuickAction.js +65 -0
- package/src/sap/m/table/columnmenu/QuickActionBase.js +54 -0
- package/src/sap/m/table/columnmenu/QuickActionContainer.js +29 -0
- package/src/sap/m/table/columnmenu/QuickActionItem.js +51 -0
- package/src/sap/m/table/columnmenu/QuickGroup.js +146 -0
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +59 -0
- package/src/sap/m/table/columnmenu/QuickSort.js +80 -0
- package/src/sap/m/table/columnmenu/QuickSortItem.js +118 -0
- package/src/sap/m/table/columnmenu/QuickTotal.js +157 -0
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +59 -0
- package/src/sap/m/themes/base/AbstractContainer.less +2 -3
- package/src/sap/m/themes/base/Avatar.less +11 -5
- package/src/sap/m/themes/base/Button.less +2 -2
- package/src/sap/m/themes/base/Carousel.less +5 -0
- package/src/sap/m/themes/base/CheckBox.less +0 -5
- package/src/sap/m/themes/base/ColumnMenu.less +17 -13
- package/src/sap/m/themes/base/DatePicker.less +7 -2
- package/src/sap/m/themes/base/DateTimePicker.less +147 -1
- package/src/sap/m/themes/base/Dialog.less +4 -6
- package/src/sap/m/themes/base/DynamicDateRange.less +3 -1
- package/src/sap/m/themes/base/FeedListItem.less +1 -1
- package/src/sap/m/themes/base/GenericTile.less +418 -55
- package/src/sap/m/themes/base/HeaderContainer.less +25 -0
- package/src/sap/m/themes/base/IconTabBar.less +45 -14
- package/src/sap/m/themes/base/IllustratedMessage.less +16 -16
- package/src/sap/m/themes/base/Input.less +1 -1
- package/src/sap/m/themes/base/InputBase.less +112 -10
- package/src/sap/m/themes/base/Label.less +4 -1
- package/src/sap/m/themes/base/Link.less +12 -4
- package/src/sap/m/themes/base/ListBase.less +4 -0
- package/src/sap/m/themes/base/MenuButton.less +4 -4
- package/src/sap/m/themes/base/MessageToast.less +2 -2
- package/src/sap/m/themes/base/MultiInput.less +1 -1
- package/src/sap/m/themes/base/NewsContent.less +7 -0
- package/src/sap/m/themes/base/NumericContent.less +1 -5
- package/src/sap/m/themes/base/ObjectAttribute.less +1 -1
- package/src/sap/m/themes/base/ObjectMarker.less +3 -1
- package/src/sap/m/themes/base/ObjectStatus.less +5 -0
- package/src/sap/m/themes/base/Page.less +1 -1
- package/src/sap/m/themes/base/Popover.less +10 -7
- package/src/sap/m/themes/base/RadioButton.less +22 -3
- package/src/sap/m/themes/base/SearchField.less +23 -59
- package/src/sap/m/themes/base/SplitButton.less +5 -0
- package/src/sap/m/themes/base/SuggestionsPopover.less +1 -1
- package/src/sap/m/themes/base/TextArea.less +27 -0
- package/src/sap/m/themes/base/TileContent.less +45 -1
- package/src/sap/m/themes/base/Token.less +14 -13
- package/src/sap/m/themes/base/Tokenizer.less +2 -2
- package/src/sap/m/themes/base/ValueStateMessage.less +3 -3
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-EmptyCalendar.svg +73 -72
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-EmptyList.svg +33 -18
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoEntries.svg +1 -3
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoNotifications.svg +3 -5
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleBell.svg +12 -9
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SimpleCalendar.svg +41 -40
- package/src/sap/m/themes/base/illustrations/{sapIllus-Dialog-SimpleCheckmark.svg → sapIllus-Dialog-SimpleCheckMark.svg} +1 -1
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SleepingBell.svg +29 -22
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SuccessBalloon.svg +16 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SuccessCheckMark.svg +8 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-SuccessHighFive.svg +45 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-Tent.svg +28 -23
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-UnableToLoadImage.svg +38 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-Connection.svg +27 -27
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-EmptyCalendar.svg +86 -85
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-EmptyList.svg +42 -26
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoData.svg +0 -2
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoEntries.svg +0 -2
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleBell.svg +15 -12
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SimpleCalendar.svg +43 -42
- package/src/sap/m/themes/base/illustrations/{sapIllus-Scene-SimpleCheckmark.svg → sapIllus-Scene-SimpleCheckMark.svg} +1 -1
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SleepingBell.svg +49 -42
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SuccessBalloon.svg +33 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SuccessCheckMark.svg +43 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-SuccessHighFive.svg +27 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-Tent.svg +58 -53
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-UnableToLoadImage.svg +35 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-EmptyCalendar.svg +42 -41
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-EmptyList.svg +24 -16
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoEntries.svg +10 -20
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoNotifications.svg +8 -13
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleBell.svg +11 -8
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SimpleCalendar.svg +37 -39
- package/src/sap/m/themes/base/illustrations/{sapIllus-Spot-SimpleCheckmark.svg → sapIllus-Spot-SimpleCheckMark.svg} +1 -1
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SleepingBell.svg +38 -22
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SuccessBalloon.svg +19 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SuccessCheckMark.svg +7 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-SuccessHighFive.svg +31 -0
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-Tent.svg +28 -23
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-UnableToLoadImage.svg +36 -0
- package/src/sap/m/themes/sap_hcb/ComboBoxBase.less +0 -12
- package/src/sap/m/themes/sap_hcb/InputBase.less +7 -42
- package/src/sap/m/themes/sap_hcb/Popover.less +3 -0
- package/src/sap/m/themes/sap_hcb/Token.less +4 -0
- package/src/sap/m/themes/sap_hcb/ValueStateHeader.less +4 -0
- package/src/sap/m/themes/sap_hcb/ValueStateMessage.less +12 -1
- package/src/sap/m/upload/UploadSet.js +421 -59
- package/src/sap/m/upload/UploadSetItem.js +77 -8
- package/src/sap/m/upload/UploadSetRenderer.js +1 -1
- package/src/sap/m/table/ColumnMenu.js +0 -378
- package/src/sap/m/table/ColumnMenuRenderer.js +0 -82
- package/src/sap/m/table/QuickAction.js +0 -53
- package/src/sap/m/table/QuickActionBase.js +0 -53
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NewMail.svg +0 -21
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NewMail.svg +0 -54
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NewMail.svg +0 -18
package/src/sap/m/RadioButton.js
CHANGED
|
@@ -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.101.0
|
|
61
61
|
*
|
|
62
62
|
* @constructor
|
|
63
63
|
* @public
|
|
@@ -270,6 +270,7 @@ sap.ui.define([
|
|
|
270
270
|
// deselect old RadioButton
|
|
271
271
|
if (!isNaN(iIndexOld) && this.aRBs && this.aRBs[iIndexOld]) {
|
|
272
272
|
this.aRBs[iIndexOld].setSelected(false);
|
|
273
|
+
this.aRBs[iIndexOld].setTabIndex(-1);
|
|
273
274
|
}
|
|
274
275
|
|
|
275
276
|
// select new one
|
|
@@ -278,8 +279,8 @@ sap.ui.define([
|
|
|
278
279
|
}
|
|
279
280
|
|
|
280
281
|
if (this._oItemNavigation) {
|
|
281
|
-
this._oItemNavigation.setSelectedIndex(iSelectedIndex);
|
|
282
282
|
this._oItemNavigation.setFocusedIndex(iSelectedIndex);
|
|
283
|
+
this._oItemNavigation.setSelectedIndex(iSelectedIndex);
|
|
283
284
|
}
|
|
284
285
|
|
|
285
286
|
// if focus is in the group - focus the selected element
|
|
@@ -609,6 +610,17 @@ sap.ui.define([
|
|
|
609
610
|
this.fireSelect({
|
|
610
611
|
selectedIndex : iIndex
|
|
611
612
|
});
|
|
613
|
+
|
|
614
|
+
// update tabindex values for all buttons that are part of the item navigation
|
|
615
|
+
this.aRBs
|
|
616
|
+
.filter(function (oRB) { return oRB.getEditable() && oRB.getEnabled(); })
|
|
617
|
+
.forEach(function (oRB) {
|
|
618
|
+
if (oRB === this.aRBs[iIndex]) {
|
|
619
|
+
oRB.setTabIndex(0);
|
|
620
|
+
return;
|
|
621
|
+
}
|
|
622
|
+
oRB.setTabIndex(-1);
|
|
623
|
+
}.bind(this));
|
|
612
624
|
}
|
|
613
625
|
};
|
|
614
626
|
|
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
* Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
|
|
28
28
|
*
|
|
29
29
|
* @param {sap.ui.core.RenderManager} oRM the RenderManager that can be used for writing to the Render-Output-Buffer
|
|
30
|
-
* @param {sap.
|
|
30
|
+
* @param {sap.m.RadioButton} oRadioButton an object representation of the control that should be rendered
|
|
31
31
|
*/
|
|
32
32
|
RadioButtonRenderer.render = function (oRM, oRadioButton) {
|
|
33
33
|
this.addWOuterDivStyles(oRM, oRadioButton);
|
|
@@ -126,7 +126,6 @@ sap.ui.define([
|
|
|
126
126
|
|
|
127
127
|
|
|
128
128
|
oRM.openStart("circle")
|
|
129
|
-
.attr("r", "22%")
|
|
130
129
|
.attr("stroke-width", "10")
|
|
131
130
|
.class("sapMRbBInn")
|
|
132
131
|
.openEnd().close("circle");
|
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.101.0
|
|
55
55
|
*
|
|
56
56
|
* @constructor
|
|
57
57
|
* @public
|
|
@@ -412,7 +412,9 @@ sap.ui.define([
|
|
|
412
412
|
RangeSlider.prototype._updateTooltipContent = function (oTooltip, fNewValue) {
|
|
413
413
|
var sNewValue = this.toFixed(fNewValue, this._iDecimalPrecision);
|
|
414
414
|
|
|
415
|
-
oTooltip
|
|
415
|
+
if (oTooltip) {
|
|
416
|
+
oTooltip.setValue(parseFloat(sNewValue));
|
|
417
|
+
}
|
|
416
418
|
};
|
|
417
419
|
|
|
418
420
|
RangeSlider.prototype._swapTooltips = function (aRange) {
|
|
@@ -561,6 +563,11 @@ sap.ui.define([
|
|
|
561
563
|
this._recalculateRange();
|
|
562
564
|
}
|
|
563
565
|
|
|
566
|
+
if (this.getShowAdvancedTooltip() && this._mHandleTooltip.start.tooltip) {
|
|
567
|
+
this._updateTooltipContent(this._mHandleTooltip.start.tooltip, fValue);
|
|
568
|
+
this.updateTooltipsPositionAndState(this._mHandleTooltip.start.tooltip, fValue);
|
|
569
|
+
}
|
|
570
|
+
|
|
564
571
|
return this;
|
|
565
572
|
};
|
|
566
573
|
|
|
@@ -575,6 +582,11 @@ sap.ui.define([
|
|
|
575
582
|
this._recalculateRange();
|
|
576
583
|
}
|
|
577
584
|
|
|
585
|
+
if (this.getShowAdvancedTooltip() && this._mHandleTooltip.end.tooltip) {
|
|
586
|
+
this._updateTooltipContent(this._mHandleTooltip.end.tooltip, fValue);
|
|
587
|
+
this.updateTooltipsPositionAndState(this._mHandleTooltip.end.tooltip, fValue);
|
|
588
|
+
}
|
|
589
|
+
|
|
578
590
|
return this;
|
|
579
591
|
};
|
|
580
592
|
|
|
@@ -744,9 +756,9 @@ sap.ui.define([
|
|
|
744
756
|
|
|
745
757
|
/**
|
|
746
758
|
* Handle the touchmove event happening on the slider.
|
|
747
|
-
* @param {
|
|
748
|
-
* @param {
|
|
749
|
-
* @param {HTMLElement} [aHandles] The handle that should be updated
|
|
759
|
+
* @param {int} [fInitialPointerPosition] Mouse pointer's initial position
|
|
760
|
+
* @param {int[]} [aInitialRange] Initial range array
|
|
761
|
+
* @param {HTMLElement[]} [aHandles] The handle that should be updated
|
|
750
762
|
* @param {jQuery.Event} oEvent The event object.
|
|
751
763
|
* @private
|
|
752
764
|
* @override
|
|
@@ -808,7 +820,6 @@ sap.ui.define([
|
|
|
808
820
|
/**
|
|
809
821
|
* Updates values of the advanced tooltips.
|
|
810
822
|
*
|
|
811
|
-
* @param {string} sNewValue The new value
|
|
812
823
|
* @protected
|
|
813
824
|
*/
|
|
814
825
|
RangeSlider.prototype.updateAdvancedTooltipDom = function () {
|
|
@@ -36,7 +36,7 @@ sap.ui.define(["sap/ui/core/Renderer", "./SliderRenderer", "sap/ui/core/Invisibl
|
|
|
36
36
|
* Used to render each of the handles of the RangeSlider.
|
|
37
37
|
*
|
|
38
38
|
* @param {sap.ui.core.RenderManager} oRM The RenderManager that can be used for writing to the render output buffer.
|
|
39
|
-
* @param {sap.
|
|
39
|
+
* @param {sap.m.RangeSlider} oControl An object representation of the slider that should be rendered.
|
|
40
40
|
* @param {object} mOptions Options used for specificity of the handles
|
|
41
41
|
*/
|
|
42
42
|
RangeSliderRenderer.renderHandle = function (oRM, oControl, mOptions) {
|
|
@@ -83,7 +83,7 @@ sap.ui.define(["sap/ui/core/Renderer", "./SliderRenderer", "sap/ui/core/Invisibl
|
|
|
83
83
|
* To be overwritten by subclasses.
|
|
84
84
|
*
|
|
85
85
|
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer.
|
|
86
|
-
* @param {sap.
|
|
86
|
+
* @param {sap.m.RangeSlider} oSlider An object representation of the control that should be rendered.
|
|
87
87
|
* @param {string} fValue The current value for the accessibility state
|
|
88
88
|
*/
|
|
89
89
|
RangeSliderRenderer.writeAccessibilityState = function(oRm, oSlider, fValue) {
|
|
@@ -116,7 +116,7 @@ sap.ui.define(["sap/ui/core/Renderer", "./SliderRenderer", "sap/ui/core/Invisibl
|
|
|
116
116
|
* Renders the lower range label under the left part of the RangeSlider control.
|
|
117
117
|
*
|
|
118
118
|
* @param {sap.ui.core.RenderManager} oRM The RenderManager that can be used for writing to the render output buffer.
|
|
119
|
-
* @param {sap.
|
|
119
|
+
* @param {sap.m.RangeSlider} oControl An object representation of the slider that should be rendered.
|
|
120
120
|
*/
|
|
121
121
|
RangeSliderRenderer.renderStartLabel = function (oRM, oControl) {
|
|
122
122
|
oRM.openStart("div")
|
|
@@ -130,7 +130,7 @@ sap.ui.define(["sap/ui/core/Renderer", "./SliderRenderer", "sap/ui/core/Invisibl
|
|
|
130
130
|
* Renders the higher range label under the right part of the RangeSlider control.
|
|
131
131
|
*
|
|
132
132
|
* @param {sap.ui.core.RenderManager} oRM The RenderManager that can be used for writing to the render output buffer.
|
|
133
|
-
* @param {sap.
|
|
133
|
+
* @param {sap.m.RangeSlider} oControl An object representation of the slider that should be rendered.
|
|
134
134
|
*/
|
|
135
135
|
RangeSliderRenderer.renderEndLabel = function (oRM, oControl) {
|
|
136
136
|
oRM.openStart("div")
|
|
@@ -145,7 +145,7 @@ sap.ui.define(["sap/ui/core/Renderer", "./SliderRenderer", "sap/ui/core/Invisibl
|
|
|
145
145
|
* Renders the label under the RangeSlider control.
|
|
146
146
|
*
|
|
147
147
|
* @param {sap.ui.core.RenderManager} oRM The RenderManager that can be used for writing to the render output buffer.
|
|
148
|
-
* @param {sap.
|
|
148
|
+
* @param {sap.m.RangeSlider} oControl An object representation of the slider that should be rendered.
|
|
149
149
|
*/
|
|
150
150
|
RangeSliderRenderer.renderLabels = function (oRM, oControl) {
|
|
151
151
|
if (!oControl.getEnableTickmarks()) {
|
|
@@ -51,7 +51,7 @@ sap.ui.define([
|
|
|
51
51
|
* @extends sap.ui.core.Control
|
|
52
52
|
*
|
|
53
53
|
* @author SAP SE
|
|
54
|
-
* @version 1.
|
|
54
|
+
* @version 1.101.0
|
|
55
55
|
*
|
|
56
56
|
* @constructor
|
|
57
57
|
* @public
|
|
@@ -190,7 +190,7 @@ sap.ui.define([
|
|
|
190
190
|
/**
|
|
191
191
|
* Sets the rating value. The method is automatically checking whether the value is in the valid range of 0-{@link #getMaxValue maxValue} and if it is a valid number. Calling the setter with null or undefined will reset the value to it's default.
|
|
192
192
|
*
|
|
193
|
-
* @param {float}
|
|
193
|
+
* @param {float|string} vValue The rating value to be set.
|
|
194
194
|
* @returns {this} Returns <code>this</code> to facilitate method chaining.
|
|
195
195
|
* @override
|
|
196
196
|
* @public
|
|
@@ -26,7 +26,7 @@ sap.ui.define(
|
|
|
26
26
|
* Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
|
|
27
27
|
*
|
|
28
28
|
* @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the render output buffer
|
|
29
|
-
* @param {sap.
|
|
29
|
+
* @param {sap.n.RatingIndicator} oControl an object representation of the control that should be rendered
|
|
30
30
|
*/
|
|
31
31
|
RatingIndicatorRenderer.render = function(oRm, oControl) {
|
|
32
32
|
var that = this;
|
|
@@ -15,8 +15,7 @@ sap.ui.define([
|
|
|
15
15
|
'./ResponsivePopoverRenderer',
|
|
16
16
|
'./Toolbar',
|
|
17
17
|
'./ToolbarSpacer',
|
|
18
|
-
'./Button'
|
|
19
|
-
"sap/ui/thirdparty/jquery"
|
|
18
|
+
'./Button'
|
|
20
19
|
],
|
|
21
20
|
function(
|
|
22
21
|
Dialog,
|
|
@@ -28,8 +27,7 @@ sap.ui.define([
|
|
|
28
27
|
ResponsivePopoverRenderer,
|
|
29
28
|
Toolbar,
|
|
30
29
|
ToolbarSpacer,
|
|
31
|
-
Button
|
|
32
|
-
jQuery
|
|
30
|
+
Button
|
|
33
31
|
) {
|
|
34
32
|
"use strict";
|
|
35
33
|
|
|
@@ -63,7 +61,7 @@ sap.ui.define([
|
|
|
63
61
|
* @extends sap.ui.core.Control
|
|
64
62
|
*
|
|
65
63
|
* @author SAP SE
|
|
66
|
-
* @version 1.
|
|
64
|
+
* @version 1.101.0
|
|
67
65
|
*
|
|
68
66
|
* @constructor
|
|
69
67
|
* @public
|
|
@@ -20,7 +20,7 @@ sap.ui.define([],
|
|
|
20
20
|
* Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
|
|
21
21
|
*
|
|
22
22
|
* @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the render output buffer
|
|
23
|
-
* @param {sap.
|
|
23
|
+
* @param {sap.m.ResponsivePopover} oControl an object representation of the control that should be rendered
|
|
24
24
|
*/
|
|
25
25
|
ResponsivePopoverRenderer.render = function (oRm, oControl) {
|
|
26
26
|
};
|
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.101.0
|
|
29
29
|
*
|
|
30
30
|
* @private
|
|
31
31
|
* @alias sap.m.ScrollBar
|
|
@@ -91,8 +91,8 @@ function(Control, ScrollBarRenderer) {
|
|
|
91
91
|
};
|
|
92
92
|
|
|
93
93
|
/**
|
|
94
|
-
* @override
|
|
95
94
|
* Custom setter, helping DOM changes to appear to the element, before DOM event handlers hit on it.
|
|
95
|
+
* @override
|
|
96
96
|
*/
|
|
97
97
|
ScrollBar.prototype.setContentSize = function (sContentSize) {
|
|
98
98
|
var $SbCnt = this.$("sbcnt");
|
|
@@ -129,7 +129,7 @@ function(Control, ScrollBarRenderer) {
|
|
|
129
129
|
/**
|
|
130
130
|
* Sets <code>scrollTop</code> on <code>_$ScrollRef</code>
|
|
131
131
|
*
|
|
132
|
-
* @param {
|
|
132
|
+
* @param {number} iScrollPosition the scroll position
|
|
133
133
|
* @private
|
|
134
134
|
*/
|
|
135
135
|
ScrollBar.prototype._setScrollPosition = function (iScrollPosition) {
|
|
@@ -24,7 +24,7 @@ function(Device, getScrollbarSize) {
|
|
|
24
24
|
* Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
|
|
25
25
|
*
|
|
26
26
|
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the Render-Output-Buffer
|
|
27
|
-
* @param {sap.
|
|
27
|
+
* @param {sap.m.ScrollBar} oControl Object representation of the control that should be rendered
|
|
28
28
|
*/
|
|
29
29
|
ScrollBarRenderer.render = function(oRm, oControl){
|
|
30
30
|
|
|
@@ -22,7 +22,7 @@ sap.ui.define([],
|
|
|
22
22
|
* Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
|
|
23
23
|
*
|
|
24
24
|
* @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the render output buffer
|
|
25
|
-
* @param {sap.
|
|
25
|
+
* @param {sap.m.ScrollContainer} oControl an object representation of the control that should be rendered
|
|
26
26
|
*/
|
|
27
27
|
ScrollContainerRenderer.render = function(oRm, oControl) {
|
|
28
28
|
oRm.openStart("div", oControl)
|
package/src/sap/m/SearchField.js
CHANGED
|
@@ -67,7 +67,7 @@ sap.ui.define([
|
|
|
67
67
|
* @extends sap.ui.core.Control
|
|
68
68
|
* @implements sap.ui.core.IFormContent
|
|
69
69
|
* @author SAP SE
|
|
70
|
-
* @version 1.
|
|
70
|
+
* @version 1.101.0
|
|
71
71
|
*
|
|
72
72
|
* @constructor
|
|
73
73
|
* @public
|
|
@@ -598,7 +598,7 @@ sap.ui.define([
|
|
|
598
598
|
|
|
599
599
|
/**
|
|
600
600
|
* Process the input event (key press or paste). Update value and fire the liveChange event.
|
|
601
|
-
* @param {
|
|
601
|
+
* @param {jQuery.Event} oEvent jQuery Event
|
|
602
602
|
* @private
|
|
603
603
|
*/
|
|
604
604
|
SearchField.prototype.onInput = function() {
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
'./library',
|
|
10
10
|
'./Button',
|
|
11
|
+
'./SegmentedButtonItem',
|
|
11
12
|
'./Select',
|
|
12
13
|
'sap/ui/core/Control',
|
|
13
14
|
'sap/ui/core/EnabledPropagator',
|
|
@@ -20,6 +21,7 @@ sap.ui.define([
|
|
|
20
21
|
function(
|
|
21
22
|
library,
|
|
22
23
|
Button,
|
|
24
|
+
SegmentedButtonItem,
|
|
23
25
|
Select,
|
|
24
26
|
Control,
|
|
25
27
|
EnabledPropagator,
|
|
@@ -31,6 +33,9 @@ function(
|
|
|
31
33
|
) {
|
|
32
34
|
"use strict";
|
|
33
35
|
|
|
36
|
+
// lazy dependency to sap/m/Image
|
|
37
|
+
var Image;
|
|
38
|
+
|
|
34
39
|
/**
|
|
35
40
|
* Constructor for a new <code>SegmentedButton</code>.
|
|
36
41
|
*
|
|
@@ -50,7 +55,7 @@ function(
|
|
|
50
55
|
* @implements sap.ui.core.IFormContent
|
|
51
56
|
*
|
|
52
57
|
* @author SAP SE
|
|
53
|
-
* @version 1.
|
|
58
|
+
* @version 1.101.0
|
|
54
59
|
*
|
|
55
60
|
* @constructor
|
|
56
61
|
* @public
|
|
@@ -244,6 +249,10 @@ function(
|
|
|
244
249
|
this._updateWidth();
|
|
245
250
|
};
|
|
246
251
|
|
|
252
|
+
SegmentedButton.prototype.onThemeChanged = function () {
|
|
253
|
+
this._handleContainerResize();
|
|
254
|
+
};
|
|
255
|
+
|
|
247
256
|
/**
|
|
248
257
|
* Method to handle container resize events and trigger needed reset/recalculation if needed.
|
|
249
258
|
* @private
|
|
@@ -681,7 +690,7 @@ function(
|
|
|
681
690
|
this.removeButton(oItem.oButton);//since this fires a "_change" event, it must be placed after public items are removed
|
|
682
691
|
}
|
|
683
692
|
// Reset selected button if the removed button is the currently selected one
|
|
684
|
-
if (oItem
|
|
693
|
+
if (oItem instanceof SegmentedButtonItem && this.getSelectedButton() === oItem.oButton.getId()) {
|
|
685
694
|
this.setSelectedKey("");
|
|
686
695
|
this.setSelectedButton("");
|
|
687
696
|
this.setSelectedItem("");
|
|
@@ -822,7 +831,7 @@ function(
|
|
|
822
831
|
*/
|
|
823
832
|
SegmentedButton.prototype.setSelectedItem = function (vItem) {
|
|
824
833
|
var oItem = typeof vItem === "string" && vItem !== "" ? sap.ui.getCore().byId(vItem) : vItem,
|
|
825
|
-
oItemInstanceOfSegBtnItem = oItem instanceof
|
|
834
|
+
oItemInstanceOfSegBtnItem = oItem instanceof SegmentedButtonItem,
|
|
826
835
|
vButton = oItemInstanceOfSegBtnItem ? oItem.oButton : vItem;
|
|
827
836
|
|
|
828
837
|
// set the new value
|
|
@@ -990,12 +999,13 @@ function(
|
|
|
990
999
|
SegmentedButton.prototype._overwriteImageOnload = function (oImage) {
|
|
991
1000
|
var that = this;
|
|
992
1001
|
|
|
993
|
-
|
|
1002
|
+
Image = Image || sap.ui.require("sap/m/Image");
|
|
1003
|
+
if (Image && oImage.onload === Image.prototype.onload) {
|
|
994
1004
|
oImage.onload = function () {
|
|
995
|
-
if (
|
|
996
|
-
|
|
1005
|
+
if (Image.prototype.onload) {
|
|
1006
|
+
Image.prototype.onload.apply(this, arguments);
|
|
997
1007
|
}
|
|
998
|
-
|
|
1008
|
+
setTimeout(function() {
|
|
999
1009
|
that._updateWidth();
|
|
1000
1010
|
}, 20);
|
|
1001
1011
|
};
|
|
@@ -25,7 +25,7 @@ sap.ui.define(["sap/ui/core/library", "sap/ui/core/InvisibleRenderer", "sap/ui/c
|
|
|
25
25
|
* Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
|
|
26
26
|
*
|
|
27
27
|
* @param {sap.ui.core.RenderManager} oRM the RenderManager that can be used for writing to the Render-Output-Buffer
|
|
28
|
-
* @param {sap.
|
|
28
|
+
* @param {sap.m.SegmentedButton} oControl an object representation of the control that should be rendered
|
|
29
29
|
*/
|
|
30
30
|
SegmentedButtonRenderer.render = function(oRM, oControl){
|
|
31
31
|
var aButtons = oControl.getButtons(),
|
|
@@ -84,7 +84,7 @@ sap.ui.define(["sap/ui/core/library", "sap/ui/core/InvisibleRenderer", "sap/ui/c
|
|
|
84
84
|
if (oButtonIcon) {
|
|
85
85
|
oImage = oButton._getImage((oButton.getId() + "-img"), oButtonIcon);
|
|
86
86
|
|
|
87
|
-
if (oImage
|
|
87
|
+
if (oImage && oImage.isA("sap.m.Image")) {
|
|
88
88
|
oControl._overwriteImageOnload(oImage);
|
|
89
89
|
}
|
|
90
90
|
}
|
package/src/sap/m/Select.js
CHANGED
|
@@ -100,7 +100,7 @@ function(
|
|
|
100
100
|
* @implements sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent
|
|
101
101
|
*
|
|
102
102
|
* @author SAP SE
|
|
103
|
-
* @version 1.
|
|
103
|
+
* @version 1.101.0
|
|
104
104
|
*
|
|
105
105
|
* @constructor
|
|
106
106
|
* @public
|
|
@@ -197,6 +197,8 @@ function(
|
|
|
197
197
|
* <li> Invalid or missing <code>selectedKey</code> leads to severe functional
|
|
198
198
|
* issues in <code>sap.ui.table.Table</code>, when the <code>sap.m.Select</code> is used inside a
|
|
199
199
|
* <code>sap.ui.table.Table</code> column.</li>
|
|
200
|
+
* <li> If an item with the default key exists and we try to select it, it happens only if the
|
|
201
|
+
* <code>forceSelection</code> property is set to <code>true</code>.</li>
|
|
200
202
|
* </ul>
|
|
201
203
|
*
|
|
202
204
|
* @since 1.11
|
|
@@ -467,6 +469,30 @@ function(
|
|
|
467
469
|
type: "sap.ui.core.Item"
|
|
468
470
|
}
|
|
469
471
|
}
|
|
472
|
+
},
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* Fires when the user navigates through the <code>Select</code> items.
|
|
476
|
+
* It's also fired on revert of the currently selected item.
|
|
477
|
+
*
|
|
478
|
+
* <b>Note:</b> Revert occurs in some of the following actions:
|
|
479
|
+
* <ul>
|
|
480
|
+
* <li>The user clicks outside of the <code>Select</code></li>
|
|
481
|
+
* <li>The <i>Escape</i> key is pressed</li>
|
|
482
|
+
* </ul>
|
|
483
|
+
*
|
|
484
|
+
* @since 1.100
|
|
485
|
+
*/
|
|
486
|
+
liveChange: {
|
|
487
|
+
parameters: {
|
|
488
|
+
|
|
489
|
+
/**
|
|
490
|
+
* The selected item.
|
|
491
|
+
*/
|
|
492
|
+
selectedItem: {
|
|
493
|
+
type: "sap.ui.core.Item"
|
|
494
|
+
}
|
|
495
|
+
}
|
|
470
496
|
}
|
|
471
497
|
},
|
|
472
498
|
designtime: "sap/m/designtime/Select.designtime"
|
|
@@ -492,6 +518,9 @@ function(
|
|
|
492
518
|
}
|
|
493
519
|
|
|
494
520
|
if (oItem) {
|
|
521
|
+
if (this.getSelectedItemId() !== oItem.getId()) {
|
|
522
|
+
this.fireEvent("liveChange", {selectedItem: oItem});
|
|
523
|
+
}
|
|
495
524
|
this.setSelection(oItem);
|
|
496
525
|
this.setValue(oItem.getText());
|
|
497
526
|
this.scrollToItem(oItem);
|
|
@@ -601,6 +630,7 @@ function(
|
|
|
601
630
|
var oItem = this.getSelectedItem();
|
|
602
631
|
|
|
603
632
|
if (this._oSelectionOnFocus !== oItem) {
|
|
633
|
+
this.fireEvent("liveChange", {selectedItem: this._oSelectionOnFocus});
|
|
604
634
|
this.setSelection(this._oSelectionOnFocus);
|
|
605
635
|
this.setValue(this._getSelectedItemText());
|
|
606
636
|
}
|
|
@@ -1519,7 +1549,7 @@ function(
|
|
|
1519
1549
|
};
|
|
1520
1550
|
|
|
1521
1551
|
/**
|
|
1522
|
-
* Handles the <code>
|
|
1552
|
+
* Handles the <code>liveChange</code> event on the <code>SelectList</code>.
|
|
1523
1553
|
*
|
|
1524
1554
|
* @param {sap.ui.base.Event} oControlEvent
|
|
1525
1555
|
* @private
|
|
@@ -2050,9 +2080,8 @@ function(
|
|
|
2050
2080
|
/**
|
|
2051
2081
|
* Synchronizes the <code>selectedItem</code> association and the <code>selectedItemId</code> property.
|
|
2052
2082
|
*
|
|
2053
|
-
* @param {
|
|
2054
|
-
* @param {
|
|
2055
|
-
* @param {array} [aItems]
|
|
2083
|
+
* @param {object} [mOptions] Options
|
|
2084
|
+
* @param {boolean} [mOptions.forceSelection] Whether to force a selection
|
|
2056
2085
|
*/
|
|
2057
2086
|
Select.prototype.synchronizeSelection = function() {
|
|
2058
2087
|
SelectList.prototype.synchronizeSelection.apply(this, arguments);
|
|
@@ -2801,7 +2830,8 @@ function(
|
|
|
2801
2830
|
* an empty string <code>""</code> or <code>undefined</code>, the value of <code>sKey</code> is changed to match
|
|
2802
2831
|
* the <code>key</code> of the first enabled item and the first enabled item is selected (if any items exist).
|
|
2803
2832
|
*
|
|
2804
|
-
*
|
|
2833
|
+
* If an item with the default key exists and we try to select it, it happens only if the
|
|
2834
|
+
* <code>forceSelection</code> property is set to <code>true</code>.
|
|
2805
2835
|
* If duplicate keys exist, the first item matching the key is selected.
|
|
2806
2836
|
*
|
|
2807
2837
|
* @returns {this} <code>this</code> to allow method chaining.
|
|
@@ -108,11 +108,11 @@ function(
|
|
|
108
108
|
* <li> On phones, the select dialog takes up the whole screen. </li>
|
|
109
109
|
* <li> On desktop and tablet devices, the select dialog appears as a popover. </li>
|
|
110
110
|
* </ul>
|
|
111
|
-
* When using the <code>sap.m.SelectDialog</code> in SAP Quartz themes, the breakpoints and layout paddings could be determined by the dialog's width. To enable this concept and add responsive paddings to an element of the control, you have to add the following classes depending on your use case: <code>sapUiResponsivePadding--header</code>, <code>sapUiResponsivePadding--subHeader</code>, <code>sapUiResponsivePadding--content</code>, <code>sapUiResponsivePadding--footer</code>.
|
|
111
|
+
* When using the <code>sap.m.SelectDialog</code> in SAP Quartz and Horizon themes, the breakpoints and layout paddings could be determined by the dialog's width. To enable this concept and add responsive paddings to an element of the control, you have to add the following classes depending on your use case: <code>sapUiResponsivePadding--header</code>, <code>sapUiResponsivePadding--subHeader</code>, <code>sapUiResponsivePadding--content</code>, <code>sapUiResponsivePadding--footer</code>.
|
|
112
112
|
* @extends sap.m.SelectDialogBase
|
|
113
113
|
*
|
|
114
114
|
* @author SAP SE
|
|
115
|
-
* @version 1.
|
|
115
|
+
* @version 1.101.0
|
|
116
116
|
*
|
|
117
117
|
* @constructor
|
|
118
118
|
* @public
|
|
@@ -1006,7 +1006,7 @@ function(
|
|
|
1006
1006
|
SelectDialog.prototype._updateStarted = function (oEvent) {
|
|
1007
1007
|
this.fireUpdateStarted(oEvent.getParameters());
|
|
1008
1008
|
|
|
1009
|
-
if (this.getModel() && this.getModel()
|
|
1009
|
+
if (this.getModel() && this.getModel().isA("sap.ui.model.odata.ODataModel")) {
|
|
1010
1010
|
if (this._oDialog.isOpen() && this._iListUpdateRequested) {
|
|
1011
1011
|
// only set busy mode when we have an OData model
|
|
1012
1012
|
this._setBusy(true);
|
|
@@ -1027,7 +1027,7 @@ function(
|
|
|
1027
1027
|
|
|
1028
1028
|
// only reset busy mode when we have an OData model
|
|
1029
1029
|
this._updateSelectionIndicator();
|
|
1030
|
-
if (this.getModel() && this.getModel()
|
|
1030
|
+
if (this.getModel() && this.getModel().isA("sap.ui.model.odata.ODataModel")) {
|
|
1031
1031
|
this._setBusy(false);
|
|
1032
1032
|
this._bInitBusy = false;
|
|
1033
1033
|
}
|
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.101.0
|
|
41
41
|
*
|
|
42
42
|
* @constructor
|
|
43
43
|
* @public
|
|
@@ -325,8 +325,7 @@ sap.ui.define([
|
|
|
325
325
|
/**
|
|
326
326
|
* Retrieves the enabled items DOM references.
|
|
327
327
|
*
|
|
328
|
-
* @
|
|
329
|
-
* @returns {array} The enabled items DOM references.
|
|
328
|
+
* @returns {Element[]} The enabled items DOM references.
|
|
330
329
|
* @private
|
|
331
330
|
*/
|
|
332
331
|
SelectList.prototype._queryEnabledItemsDomRefs = function() {
|
|
@@ -591,6 +590,8 @@ sap.ui.define([
|
|
|
591
590
|
/*
|
|
592
591
|
* Synchronize selected item and key.
|
|
593
592
|
*
|
|
593
|
+
* @param {object} [mOptions] Options
|
|
594
|
+
* @param {boolean} [mOptions.forceSelection] Whether to force a selection
|
|
594
595
|
* @protected
|
|
595
596
|
*/
|
|
596
597
|
SelectList.prototype.synchronizeSelection = function(mOptions) {
|
|
@@ -31,7 +31,7 @@ sap.ui.define(["sap/ui/core/Element", "sap/ui/core/library", "sap/ui/core/Icon",
|
|
|
31
31
|
* Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
|
|
32
32
|
*
|
|
33
33
|
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer.
|
|
34
|
-
* @param {sap.
|
|
34
|
+
* @param {sap.m.SelectionList} oList An object representation of the control that should be rendered.
|
|
35
35
|
*/
|
|
36
36
|
SelectListRenderer.render = function(oRm, oList) {
|
|
37
37
|
this.writeOpenListTag(oRm, oList, { elementData: true });
|
|
@@ -76,7 +76,7 @@ sap.ui.define(["sap/ui/core/Element", "sap/ui/core/library", "sap/ui/core/Icon",
|
|
|
76
76
|
* Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
|
|
77
77
|
*
|
|
78
78
|
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer.
|
|
79
|
-
* @param {sap.
|
|
79
|
+
* @param {sap.m.SelectionList} oList An object representation of the control that should be rendered.
|
|
80
80
|
*/
|
|
81
81
|
SelectListRenderer.renderItems = function(oRm, oList) {
|
|
82
82
|
var iSize = oList._getNonSeparatorItemsCount(),
|
|
@@ -116,7 +116,7 @@ sap.ui.define(["sap/ui/core/Element", "sap/ui/core/library", "sap/ui/core/Icon",
|
|
|
116
116
|
* Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
|
|
117
117
|
*
|
|
118
118
|
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer.
|
|
119
|
-
* @param {sap.
|
|
119
|
+
* @param {sap.m.SelectionList} oList An object representation of the control that should be rendered.
|
|
120
120
|
* @param {sap.ui.core.Element} oItem An object representation of the element that should be rendered.
|
|
121
121
|
* @param {object} mStates
|
|
122
122
|
* @param {boolean} bForceSelectedVisualState Forces the visual focus (selected state) to be se on the item.
|
|
@@ -238,7 +238,7 @@ sap.ui.define(["sap/ui/core/Element", "sap/ui/core/library", "sap/ui/core/Icon",
|
|
|
238
238
|
* To be overwritten by subclasses.
|
|
239
239
|
*
|
|
240
240
|
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer.
|
|
241
|
-
* @param {sap.
|
|
241
|
+
* @param {sap.m.SelectionList} oList An object representation of the control that should be rendered.
|
|
242
242
|
*/
|
|
243
243
|
SelectListRenderer.writeAccessibilityState = function(oRm, oList) {
|
|
244
244
|
oRm.accessibilityState(oList, {
|
|
@@ -251,7 +251,7 @@ sap.ui.define(["sap/ui/core/Element", "sap/ui/core/library", "sap/ui/core/Icon",
|
|
|
251
251
|
* To be overwritten by subclasses.
|
|
252
252
|
*
|
|
253
253
|
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer.
|
|
254
|
-
* @param {sap.
|
|
254
|
+
* @param {sap.m.SelectionList} oList An object representation of the control that should be rendered.
|
|
255
255
|
* @param {sap.ui.core.Element} oItem An object representation of the element that should be rendered.
|
|
256
256
|
* @param {object} mStates
|
|
257
257
|
*/
|