@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/StepInput.js
CHANGED
|
@@ -119,7 +119,7 @@ function(
|
|
|
119
119
|
* @implements sap.ui.core.IFormContent
|
|
120
120
|
*
|
|
121
121
|
* @author SAP SE
|
|
122
|
-
* @version 1.
|
|
122
|
+
* @version 1.101.0
|
|
123
123
|
*
|
|
124
124
|
* @constructor
|
|
125
125
|
* @public
|
|
@@ -1165,7 +1165,7 @@ function(
|
|
|
1165
1165
|
*
|
|
1166
1166
|
* @param {float} fStepMultiplier Holds the step multiplier
|
|
1167
1167
|
* @param {boolean} bIsIncreasing Holds the operation(or direction) whether addition(increasing) or subtraction(decreasing)
|
|
1168
|
-
* @returns {{value, displayValue}} The result of the calculation where:
|
|
1168
|
+
* @returns {{value: number, displayValue: number}} The result of the calculation where:
|
|
1169
1169
|
* <ul>
|
|
1170
1170
|
* <li>value is the result of the computation where the real stepInput <value> is used</li>
|
|
1171
1171
|
* <li>displayValue is the result of the computation where the DOM value (also sap.m.Input.getValue()) is used</li>
|
|
@@ -1546,7 +1546,7 @@ function(
|
|
|
1546
1546
|
oBindingType = oBinding && oBinding.getType && oBinding.getType(),
|
|
1547
1547
|
sBindingConstraintMin = oBindingType && oBindingType.oConstraints && oBindingType.oConstraints.minimum;
|
|
1548
1548
|
|
|
1549
|
-
return sBindingConstraintMin ? parseFloat(sBindingConstraintMin) : this.getMin();
|
|
1549
|
+
return sBindingConstraintMin !== undefined ? parseFloat(sBindingConstraintMin) : this.getMin();
|
|
1550
1550
|
};
|
|
1551
1551
|
|
|
1552
1552
|
StepInput.prototype._getMax = function() {
|
|
@@ -1554,7 +1554,7 @@ function(
|
|
|
1554
1554
|
oBindingType = oBinding && oBinding.getType && oBinding.getType(),
|
|
1555
1555
|
sBindingConstraintMax = oBindingType && oBindingType.oConstraints && oBindingType.oConstraints.maximum;
|
|
1556
1556
|
|
|
1557
|
-
return sBindingConstraintMax ? parseFloat(sBindingConstraintMax) : this.getMax();
|
|
1557
|
+
return sBindingConstraintMax !== undefined ? parseFloat(sBindingConstraintMax) : this.getMax();
|
|
1558
1558
|
};
|
|
1559
1559
|
|
|
1560
1560
|
/**
|
|
@@ -11,14 +11,10 @@ sap.ui.define([
|
|
|
11
11
|
'sap/ui/core/ValueStateSupport',
|
|
12
12
|
'sap/m/library',
|
|
13
13
|
'sap/ui/core/library',
|
|
14
|
-
'sap/m/Button',
|
|
15
|
-
'sap/m/GroupHeaderListItem',
|
|
16
14
|
'sap/m/List',
|
|
17
|
-
"sap/m/ValueStateHeader",
|
|
18
15
|
"sap/m/inputUtils/scrollToItem",
|
|
19
16
|
"sap/m/inputUtils/SuggestionsPopoverDialogMixin",
|
|
20
|
-
"sap/m/inputUtils/SuggestionsPopoverPopoverMixin"
|
|
21
|
-
"sap/m/inputUtils/ListHelpers"
|
|
17
|
+
"sap/m/inputUtils/SuggestionsPopoverPopoverMixin"
|
|
22
18
|
], function (
|
|
23
19
|
Device,
|
|
24
20
|
EventProvider,
|
|
@@ -26,14 +22,10 @@ sap.ui.define([
|
|
|
26
22
|
ValueStateSupport,
|
|
27
23
|
library,
|
|
28
24
|
coreLibrary,
|
|
29
|
-
Button,
|
|
30
|
-
GroupHeaderListItem,
|
|
31
25
|
List,
|
|
32
|
-
ValueStateHeader,
|
|
33
26
|
scrollToItem,
|
|
34
27
|
SuggestionsPopoverDialogMixin,
|
|
35
|
-
SuggestionsPopoverPopoverMixin
|
|
36
|
-
ListHelpers
|
|
28
|
+
SuggestionsPopoverPopoverMixin
|
|
37
29
|
) {
|
|
38
30
|
"use strict";
|
|
39
31
|
|
|
@@ -60,7 +52,7 @@ sap.ui.define([
|
|
|
60
52
|
* @alias sap.m.SuggestionsPopover
|
|
61
53
|
*
|
|
62
54
|
* @author SAP SE
|
|
63
|
-
* @version 1.
|
|
55
|
+
* @version 1.101.0
|
|
64
56
|
*/
|
|
65
57
|
var SuggestionsPopover = EventProvider.extend("sap.m.SuggestionsPopover", /** @lends sap.m.SuggestionsPopover.prototype */ {
|
|
66
58
|
|
|
@@ -138,12 +130,12 @@ sap.ui.define([
|
|
|
138
130
|
* @param mOptions {object} Settings for the Popover
|
|
139
131
|
* @public
|
|
140
132
|
*/
|
|
141
|
-
SuggestionsPopover.prototype.createSuggestionPopup = function (oParent, mOptions) {
|
|
133
|
+
SuggestionsPopover.prototype.createSuggestionPopup = function (oParent, mOptions, InputClass) {
|
|
142
134
|
var oPopover,
|
|
143
135
|
oList = this.getItemsContainer();
|
|
144
136
|
|
|
145
137
|
mOptions = mOptions || [];
|
|
146
|
-
oPopover = this.createPopover(oParent, mOptions);
|
|
138
|
+
oPopover = this.createPopover(oParent, mOptions, InputClass);
|
|
147
139
|
|
|
148
140
|
this.setPopover(oPopover);
|
|
149
141
|
oPopover.addStyleClass(CSS_CLASS_SUGGESTIONS_POPOVER);
|
|
@@ -158,7 +150,7 @@ sap.ui.define([
|
|
|
158
150
|
/**
|
|
159
151
|
* Helper function that creates (List/Table) for the suggestion popup.
|
|
160
152
|
*
|
|
161
|
-
* @param {string}
|
|
153
|
+
* @param {string} sParentId The input control that instantiates this suggestions popover
|
|
162
154
|
* @param {sap.ui.core.Control} oContent Typically a List or a Table which would be Popover's content
|
|
163
155
|
* @public
|
|
164
156
|
*/
|
|
@@ -226,8 +218,8 @@ sap.ui.define([
|
|
|
226
218
|
* Handles the navigation inside the list.
|
|
227
219
|
*
|
|
228
220
|
* @private
|
|
229
|
-
* @param {jQuery.Event} oEvent Arrow key event.
|
|
230
221
|
* @param {sap.ui.core.Control} oParent The input control that instantiates this suggestions popover
|
|
222
|
+
* @param {jQuery.Event} oEvent Arrow key event.
|
|
231
223
|
*/
|
|
232
224
|
SuggestionsPopover.prototype.handleListNavigation = function(oParent, oEvent) {
|
|
233
225
|
var oPopover = this.getPopover();
|
|
@@ -298,7 +290,6 @@ sap.ui.define([
|
|
|
298
290
|
* Handles the list navigation on <code>onsapdown</code>.
|
|
299
291
|
*
|
|
300
292
|
* @private
|
|
301
|
-
* @param {jQuery.Event} oEvent Arrow key event.
|
|
302
293
|
*/
|
|
303
294
|
SuggestionsPopover.prototype.handleArrowDown = function(aSelectableItems, iSelectedItemIndex, bFocusInInput, bHasValueStateHeader) {
|
|
304
295
|
// if the focus is on the input and there is no VSH available, return the first selectable item
|
|
@@ -329,7 +320,6 @@ sap.ui.define([
|
|
|
329
320
|
* Handles the list navigation on <code>onsapup</code>.
|
|
330
321
|
*
|
|
331
322
|
* @private
|
|
332
|
-
* @param {jQuery.Event} oEvent Arrow key event.
|
|
333
323
|
*/
|
|
334
324
|
SuggestionsPopover.prototype.handleArrowUp = function(aSelectableItems, iSelectedItemIndex, bFocusInInput, bHasValueStateHeader) {
|
|
335
325
|
// if the focus is on the input field, do nothing
|
|
@@ -354,7 +344,6 @@ sap.ui.define([
|
|
|
354
344
|
* Handles the list navigation on <code>onsapend</code>.
|
|
355
345
|
*
|
|
356
346
|
* @private
|
|
357
|
-
* @param {jQuery.Event} oEvent Arrow key event.
|
|
358
347
|
*/
|
|
359
348
|
SuggestionsPopover.prototype.handleEnd = function(aSelectableItems, bHasValueStateHeader) {
|
|
360
349
|
// if the focus is on the VSH, we should remove the active state
|
|
@@ -369,7 +358,6 @@ sap.ui.define([
|
|
|
369
358
|
* Handles the list navigation on <code>onsaphome</code>.
|
|
370
359
|
*
|
|
371
360
|
* @private
|
|
372
|
-
* @param {jQuery.Event} oEvent Arrow key event.
|
|
373
361
|
*/
|
|
374
362
|
SuggestionsPopover.prototype.handleHome = function(aSelectableItems, bHasValueStateHeader) {
|
|
375
363
|
// if a VSH is present, Home key should move the focus to it
|
|
@@ -386,7 +374,6 @@ sap.ui.define([
|
|
|
386
374
|
* Handles the list navigation on <code>onsappagedown</code>.
|
|
387
375
|
*
|
|
388
376
|
* @private
|
|
389
|
-
* @param {jQuery.Event} oEvent Arrow key event.
|
|
390
377
|
*/
|
|
391
378
|
SuggestionsPopover.prototype.handlePageDown = function(aSelectableItems, iSelectedItemIndex, bHasValueStateHeader) {
|
|
392
379
|
// if the focus is on the VSH, we should remove the active state
|
|
@@ -401,7 +388,6 @@ sap.ui.define([
|
|
|
401
388
|
* Handles the list navigation on <code>onsappageup</code>.
|
|
402
389
|
*
|
|
403
390
|
* @private
|
|
404
|
-
* @param {jQuery.Event} oEvent Arrow key event.
|
|
405
391
|
*/
|
|
406
392
|
SuggestionsPopover.prototype.handlePageUp = function(aSelectableItems, iSelectedItemIndex, bHasValueStateHeader) {
|
|
407
393
|
// if there is an item one page up, return the item
|
|
@@ -497,7 +483,6 @@ sap.ui.define([
|
|
|
497
483
|
* Handles the navigation inside the list.
|
|
498
484
|
*
|
|
499
485
|
* @private
|
|
500
|
-
* @param {sap.ui.core.Control} oParent The input control that instantiates this suggestions popover
|
|
501
486
|
* @param {sap.m.GroupHeaderListItem | sap.m.StandardListItem | sap.m.ColumnListItem} oItem The item to be selected.
|
|
502
487
|
*/
|
|
503
488
|
SuggestionsPopover.prototype.handleSelectionFromList = function(oItem) {
|
package/src/sap/m/Switch.js
CHANGED
|
@@ -29,7 +29,7 @@ sap.ui.define(["sap/ui/Device", "sap/m/library"], function(Device, library) {
|
|
|
29
29
|
* Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
|
|
30
30
|
*
|
|
31
31
|
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the Render-Output-Buffer.
|
|
32
|
-
* @param {sap.
|
|
32
|
+
* @param {sap.m.Switch} oSwitch An object representation of the control that should be rendered.
|
|
33
33
|
*/
|
|
34
34
|
SwitchRenderer.render = function(oRm, oSwitch) {
|
|
35
35
|
var bState = oSwitch.getState(),
|
|
@@ -183,7 +183,7 @@ sap.ui.define(["sap/ui/Device", "sap/m/library"], function(Device, library) {
|
|
|
183
183
|
* To be overwritten by subclasses.
|
|
184
184
|
*
|
|
185
185
|
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer.
|
|
186
|
-
* @param {sap.
|
|
186
|
+
* @param {sap.m.Switch} oSwitch An object representation of the control that should be rendered.
|
|
187
187
|
*/
|
|
188
188
|
SwitchRenderer.writeAccessibilityState = function(oRm, oSwitch) {
|
|
189
189
|
var mAriaLabelledby = oSwitch.getAriaLabelledBy(),
|
|
@@ -212,7 +212,7 @@ sap.ui.define(["sap/ui/Device", "sap/m/library"], function(Device, library) {
|
|
|
212
212
|
* To be overwritten by subclasses.
|
|
213
213
|
*
|
|
214
214
|
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer.
|
|
215
|
-
* @param {sap.
|
|
215
|
+
* @param {sap.m.Switch} oSwitch An object representation of the control that should be rendered.
|
|
216
216
|
* @param {object} mOptions
|
|
217
217
|
*/
|
|
218
218
|
SwitchRenderer.renderInvisibleElement = function(oRm, oSwitch, mOptions) {
|
|
@@ -26,7 +26,7 @@ sap.ui.define(['sap/ui/core/Element',
|
|
|
26
26
|
* @extends sap.ui.core.Element
|
|
27
27
|
*
|
|
28
28
|
* @author SAP SE
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.101.0
|
|
30
30
|
*
|
|
31
31
|
* @constructor
|
|
32
32
|
* @public
|
|
@@ -178,8 +178,6 @@ sap.ui.define(['sap/ui/core/Element',
|
|
|
178
178
|
/**
|
|
179
179
|
* Function is called when image control needs to be loaded.
|
|
180
180
|
*
|
|
181
|
-
* @param {string} sImgId - id to be used for the image
|
|
182
|
-
* @param {sap.ui.core.URI} sSrc - URI indicating the image to use as image source
|
|
183
181
|
* @return {sap.ui.core.Control} The image
|
|
184
182
|
* @private
|
|
185
183
|
*/
|
|
@@ -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.TabContainer} oControl An object representation of the control that should be rendered
|
|
24
24
|
*/
|
|
25
25
|
TabContainerRenderer.render = function(oRm, oControl) {
|
|
26
26
|
var oTabStrip = oControl._getTabStrip(),
|
|
@@ -90,7 +90,7 @@ sap.ui.define([],
|
|
|
90
90
|
/**
|
|
91
91
|
* Returns the DOM ID of the content element.
|
|
92
92
|
*
|
|
93
|
-
* @param {sap.
|
|
93
|
+
* @param {sap.m.TabContainer} oControl The <code>TabContainer</code> for which the DOM ID is looking for
|
|
94
94
|
* @returns {string} The ID of the DOM element, corresponding to the tab content
|
|
95
95
|
*/
|
|
96
96
|
TabContainerRenderer.getContentDomId = function(oControl) {
|
package/src/sap/m/TabStrip.js
CHANGED
|
@@ -73,7 +73,7 @@ function(
|
|
|
73
73
|
* space is exceeded, a horizontal scrollbar appears.
|
|
74
74
|
*
|
|
75
75
|
* @extends sap.ui.core.Control
|
|
76
|
-
* @version 1.
|
|
76
|
+
* @version 1.101.0
|
|
77
77
|
*
|
|
78
78
|
* @constructor
|
|
79
79
|
* @private
|
|
@@ -645,7 +645,7 @@ function(
|
|
|
645
645
|
/**
|
|
646
646
|
* Create the instance of the <code>TabStripSelect</code>.
|
|
647
647
|
*
|
|
648
|
-
* @param {
|
|
648
|
+
* @param { Array<sap.m.TabStripItem> } aTabStripItems Array with the <code>TabStripItems</code>
|
|
649
649
|
* @returns {CustomSelect} The created <code>CustomSelect</code>
|
|
650
650
|
* @private
|
|
651
651
|
*/
|
|
@@ -157,7 +157,7 @@ sap.ui.define([
|
|
|
157
157
|
* Renders the text of a passed <code>TabStripItem</code>.
|
|
158
158
|
*
|
|
159
159
|
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer
|
|
160
|
-
* @param {
|
|
160
|
+
* @param {string} sItemText item text to be rendered
|
|
161
161
|
*/
|
|
162
162
|
TabStripRenderer.renderItemText = function (oRm, sItemText) {
|
|
163
163
|
|
|
@@ -299,7 +299,7 @@ sap.ui.define([
|
|
|
299
299
|
* Returns the accessibility attributes for a given <code>TabStripItem</code>.
|
|
300
300
|
*
|
|
301
301
|
* @param {sap.m.TabStripItem} oItem The <code>TabStripItem</code> to prepare accessibility attributes for
|
|
302
|
-
* @param {sap.
|
|
302
|
+
* @param {sap.m.TabStrip} oTabStrip The <code>TabStrip</code> parent control
|
|
303
303
|
* @param {sap.m.TabStripItem} oSelectedItem The <code>TabStripItem</code> that is currently selected
|
|
304
304
|
* @returns {Object} The accessibility attributes for given <code>TabStripItem</code>
|
|
305
305
|
* @private
|
package/src/sap/m/Table.js
CHANGED
|
@@ -21,10 +21,11 @@ sap.ui.define([
|
|
|
21
21
|
"sap/ui/thirdparty/jquery",
|
|
22
22
|
"sap/m/ListBaseRenderer",
|
|
23
23
|
"sap/ui/core/Icon",
|
|
24
|
+
"sap/m/table/Util",
|
|
24
25
|
// jQuery custom selectors ":sapTabbable"
|
|
25
26
|
"sap/ui/dom/jquery/Selectors"
|
|
26
27
|
],
|
|
27
|
-
function(Core, Device, library, ListBase, ListItemBase, CheckBox, TableRenderer, Log, BaseObject, ResizeHandler, PasteHelper, KeyCodes, jQuery, ListBaseRenderer, Icon) {
|
|
28
|
+
function(Core, Device, library, ListBase, ListItemBase, CheckBox, TableRenderer, Log, BaseObject, ResizeHandler, PasteHelper, KeyCodes, jQuery, ListBaseRenderer, Icon, Util) {
|
|
28
29
|
"use strict";
|
|
29
30
|
|
|
30
31
|
|
|
@@ -66,7 +67,7 @@ sap.ui.define([
|
|
|
66
67
|
* @extends sap.m.ListBase
|
|
67
68
|
*
|
|
68
69
|
* @author SAP SE
|
|
69
|
-
* @version 1.
|
|
70
|
+
* @version 1.101.0
|
|
70
71
|
*
|
|
71
72
|
* @constructor
|
|
72
73
|
* @public
|
|
@@ -185,7 +186,12 @@ sap.ui.define([
|
|
|
185
186
|
/**
|
|
186
187
|
* Defines the columns of the table.
|
|
187
188
|
*/
|
|
188
|
-
columns : {type : "sap.m.Column", multiple : true, singularName : "column", dnd : {draggable : true, droppable : true, layout : "Horizontal"} }
|
|
189
|
+
columns : {type : "sap.m.Column", multiple : true, singularName : "column", dnd : {draggable : true, droppable : true, layout : "Horizontal"} },
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Provides a message if no visible columns are available.
|
|
193
|
+
*/
|
|
194
|
+
_noColumnsMessage : {type: "sap.ui.core.Control", multiple: false, visibility: "hidden"}
|
|
189
195
|
},
|
|
190
196
|
events : {
|
|
191
197
|
/**
|
|
@@ -342,6 +348,19 @@ sap.ui.define([
|
|
|
342
348
|
}
|
|
343
349
|
};
|
|
344
350
|
|
|
351
|
+
Table.prototype.setNoData = function (vNoData) {
|
|
352
|
+
ListBase.prototype.setNoData.apply(this, arguments);
|
|
353
|
+
|
|
354
|
+
if (vNoData && typeof vNoData !== "string" && vNoData.isA("sap.m.IllustratedMessage")) {
|
|
355
|
+
var oNoColumns = this.getAggregation("_noColumnsMessage");
|
|
356
|
+
if (!oNoColumns) {
|
|
357
|
+
oNoColumns = Util.getNoColumnsIllustratedMessage();
|
|
358
|
+
this.setAggregation("_noColumnsMessage", oNoColumns);
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
return this;
|
|
362
|
+
};
|
|
363
|
+
|
|
345
364
|
Table.prototype._onResize = function(mParams) {
|
|
346
365
|
this._applyContextualWidth(mParams.size.width);
|
|
347
366
|
};
|
|
@@ -562,7 +581,7 @@ sap.ui.define([
|
|
|
562
581
|
|
|
563
582
|
/*
|
|
564
583
|
* This hook method is called if growing feature is enabled and after new page loaded
|
|
565
|
-
* @
|
|
584
|
+
* @override
|
|
566
585
|
*/
|
|
567
586
|
Table.prototype.onBeforePageLoaded = function() {
|
|
568
587
|
if (this.getAlternateRowColors()) {
|
|
@@ -574,7 +593,7 @@ sap.ui.define([
|
|
|
574
593
|
|
|
575
594
|
/*
|
|
576
595
|
* This hook method is called if growing feature is enabled and after new page loaded
|
|
577
|
-
* @
|
|
596
|
+
* @override
|
|
578
597
|
*/
|
|
579
598
|
Table.prototype.onAfterPageLoaded = function() {
|
|
580
599
|
this.updateSelectAllCheckbox();
|
|
@@ -588,7 +607,7 @@ sap.ui.define([
|
|
|
588
607
|
|
|
589
608
|
/*
|
|
590
609
|
* This hook method is called from renderer to determine whether items should render or not
|
|
591
|
-
* @
|
|
610
|
+
* @override
|
|
592
611
|
*/
|
|
593
612
|
Table.prototype.shouldRenderItems = function() {
|
|
594
613
|
return this.getColumns().some(function(oColumn) {
|
|
@@ -599,7 +618,7 @@ sap.ui.define([
|
|
|
599
618
|
/*
|
|
600
619
|
* This hook method is called from GrowingEnablement to determine whether
|
|
601
620
|
* growing should suppress Table invalidation
|
|
602
|
-
* @
|
|
621
|
+
* @override
|
|
603
622
|
*/
|
|
604
623
|
Table.prototype.shouldGrowingSuppressInvalidation = function() {
|
|
605
624
|
if (this.getAutoPopinMode()) {
|
|
@@ -639,7 +658,7 @@ sap.ui.define([
|
|
|
639
658
|
|
|
640
659
|
/*
|
|
641
660
|
* Returns items container DOM reference
|
|
642
|
-
* @
|
|
661
|
+
* @override
|
|
643
662
|
*/
|
|
644
663
|
Table.prototype.getItemsContainerDomRef = function() {
|
|
645
664
|
return this.getDomRef("tblBody");
|
|
@@ -647,7 +666,7 @@ sap.ui.define([
|
|
|
647
666
|
|
|
648
667
|
/*
|
|
649
668
|
* Sets DOM References for keyboard navigation
|
|
650
|
-
* @
|
|
669
|
+
* @override
|
|
651
670
|
*/
|
|
652
671
|
Table.prototype.setNavigationItems = function(oItemNavigation) {
|
|
653
672
|
var $Header = this.$("tblHeader");
|
|
@@ -765,6 +784,7 @@ sap.ui.define([
|
|
|
765
784
|
$firstVisibleCol.width(""); // cover the space
|
|
766
785
|
}
|
|
767
786
|
} else {
|
|
787
|
+
$firstVisibleCol.removeClass("sapMTableLastColumn");
|
|
768
788
|
// set original width of columns
|
|
769
789
|
aVisibleColumns.each(function() {
|
|
770
790
|
this.style.width = this.getAttribute("data-sap-width") || "";
|
|
@@ -815,6 +835,7 @@ sap.ui.define([
|
|
|
815
835
|
this._clearAllButton = new Icon({
|
|
816
836
|
id: this.getId() + "-clearSelection",
|
|
817
837
|
src: "sap-icon://clear-all",
|
|
838
|
+
tooltip: Core.getLibraryResourceBundle("sap.m").getText("TABLE_CLEARBUTTON_TOOLTIP"),
|
|
818
839
|
decorative: false,
|
|
819
840
|
press: this.removeSelections.bind(this, false, true, false)
|
|
820
841
|
}).setParent(this, null, true).addEventDelegate({
|
|
@@ -1007,6 +1028,16 @@ sap.ui.define([
|
|
|
1007
1028
|
this.updateInvisibleText(sAnnouncement);
|
|
1008
1029
|
};
|
|
1009
1030
|
|
|
1031
|
+
Table.prototype._setNoColumnsMessageAnnouncement = function (oTarget) {
|
|
1032
|
+
if (!this.shouldRenderItems()) {
|
|
1033
|
+
var oNoData = this.getNoData();
|
|
1034
|
+
if (oNoData && typeof oNoData !== "string" && oNoData.isA("sap.m.IllustratedMessage")) {
|
|
1035
|
+
var sDescription = ListItemBase.getAccessibilityText(this.getAggregation("_noColumnsMessage"));
|
|
1036
|
+
this.updateInvisibleText(sDescription, oTarget);
|
|
1037
|
+
}
|
|
1038
|
+
}
|
|
1039
|
+
};
|
|
1040
|
+
|
|
1010
1041
|
// keyboard handling
|
|
1011
1042
|
Table.prototype.onsapspace = function(oEvent) {
|
|
1012
1043
|
if (oEvent.isMarked()) {
|
|
@@ -1122,6 +1153,7 @@ sap.ui.define([
|
|
|
1122
1153
|
}
|
|
1123
1154
|
|
|
1124
1155
|
ListBase.prototype.onfocusin.call(this, oEvent);
|
|
1156
|
+
this._setNoColumnsMessageAnnouncement(oTarget);
|
|
1125
1157
|
};
|
|
1126
1158
|
|
|
1127
1159
|
// event listener for theme changed
|
|
@@ -38,7 +38,7 @@ sap.ui.define([
|
|
|
38
38
|
* @class Table Personalization Controller
|
|
39
39
|
* @extends sap.ui.base.ManagedObject
|
|
40
40
|
* @author SAP
|
|
41
|
-
* @version 1.
|
|
41
|
+
* @version 1.101.0
|
|
42
42
|
* @alias sap.m.TablePersoController
|
|
43
43
|
*/
|
|
44
44
|
var TablePersoController = ManagedObject.extend("sap.m.TablePersoController", /** @lends sap.m.TablePersoController */
|
|
@@ -87,7 +87,7 @@ sap.ui.define([
|
|
|
87
87
|
* @class Table Personalization Dialog
|
|
88
88
|
* @extends sap.ui.base.ManagedObject
|
|
89
89
|
* @author SAP
|
|
90
|
-
* @version 1.
|
|
90
|
+
* @version 1.101.0
|
|
91
91
|
* @alias sap.m.TablePersoDialog
|
|
92
92
|
*/
|
|
93
93
|
var TablePersoDialog = ManagedObject.extend("sap.m.TablePersoDialog", /** @lends sap.m.TablePersoDialog */
|
|
@@ -21,7 +21,7 @@ sap.ui.define(['sap/ui/base/ManagedObject', "sap/base/Log"],
|
|
|
21
21
|
* @extends sap.ui.base.ManagedObject
|
|
22
22
|
* @abstract
|
|
23
23
|
* @author SAP
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.101.0
|
|
25
25
|
* @alias sap.m.TablePersoProvider
|
|
26
26
|
*/
|
|
27
27
|
var TablePersoProvider = ManagedObject.extend("sap.m.TablePersoProvider", /** @lends sap.m.TablePersoProvider */
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
sap.ui.define(["sap/ui/core/Renderer", "sap/ui/core/Core", "sap/ui/core/InvisibleText", "./library", "./ListBaseRenderer", "./ColumnListItemRenderer"],
|
|
8
|
-
function(Renderer, Core, InvisibleText, library, ListBaseRenderer, ColumnListItemRenderer) {
|
|
7
|
+
sap.ui.define(["sap/ui/core/Renderer", "sap/ui/core/Core", "sap/ui/core/InvisibleText", "./library", "./ListBaseRenderer", "./ColumnListItemRenderer", "sap/m/table/Util"],
|
|
8
|
+
function(Renderer, Core, InvisibleText, library, ListBaseRenderer, ColumnListItemRenderer, Util) {
|
|
9
9
|
"use strict";
|
|
10
10
|
|
|
11
11
|
|
|
@@ -38,7 +38,7 @@ sap.ui.define(["sap/ui/core/Renderer", "sap/ui/core/Core", "sap/ui/core/Invisibl
|
|
|
38
38
|
*
|
|
39
39
|
* @param {sap.ui.core.RenderManager} rm RenderManager
|
|
40
40
|
* @param {sap.m.ListBase} oTable Table control
|
|
41
|
-
* @param {
|
|
41
|
+
* @param {string} type Whether "Head" or "Foot"
|
|
42
42
|
*/
|
|
43
43
|
TableRenderer.renderColumns = function(rm, oTable, type) {
|
|
44
44
|
var index = 0,
|
|
@@ -355,9 +355,14 @@ sap.ui.define(["sap/ui/core/Renderer", "sap/ui/core/Core", "sap/ui/core/Invisibl
|
|
|
355
355
|
rm.openEnd();
|
|
356
356
|
|
|
357
357
|
if (!oControl.shouldRenderItems()) {
|
|
358
|
-
|
|
358
|
+
var vNoData = oControl.getNoData();
|
|
359
|
+
if (vNoData && typeof vNoData !== "string" && vNoData.isA("sap.m.IllustratedMessage")) {
|
|
360
|
+
rm.renderControl(oControl.getAggregation("_noColumnsMessage"));
|
|
361
|
+
} else {
|
|
362
|
+
rm.text(Core.getLibraryResourceBundle("sap.m").getText("TABLE_NO_COLUMNS"));
|
|
363
|
+
}
|
|
359
364
|
} else {
|
|
360
|
-
|
|
365
|
+
this.renderNoDataArea(rm, oControl);
|
|
361
366
|
}
|
|
362
367
|
|
|
363
368
|
rm.close("td");
|
|
@@ -95,10 +95,10 @@ sap.ui.define([
|
|
|
95
95
|
* <ul>
|
|
96
96
|
* <li>On smaller screens, the columns of the table wrap and build a list that shows all the information.</li>
|
|
97
97
|
* </ul>
|
|
98
|
-
* When using the <code>sap.m.TableSelectDialog</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>.
|
|
98
|
+
* When using the <code>sap.m.TableSelectDialog</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>.
|
|
99
99
|
* @extends sap.m.SelectDialogBase
|
|
100
100
|
* @author SAP SE
|
|
101
|
-
* @version 1.
|
|
101
|
+
* @version 1.101.0
|
|
102
102
|
*
|
|
103
103
|
* @constructor
|
|
104
104
|
* @public
|
|
@@ -507,7 +507,7 @@ sap.ui.define([
|
|
|
507
507
|
|
|
508
508
|
/**
|
|
509
509
|
* Shows the busy state and is called after the renderer is finished.
|
|
510
|
-
* @
|
|
510
|
+
* @override
|
|
511
511
|
* @protected
|
|
512
512
|
* @returns {this} this pointer for chaining
|
|
513
513
|
*/
|
|
@@ -523,7 +523,7 @@ sap.ui.define([
|
|
|
523
523
|
|
|
524
524
|
/**
|
|
525
525
|
* Invalidates the dialog instead of this control, as there is no renderer.
|
|
526
|
-
* @
|
|
526
|
+
* @override
|
|
527
527
|
* @protected
|
|
528
528
|
* @returns {this} this pointer for chaining
|
|
529
529
|
*/
|
|
@@ -649,9 +649,9 @@ sap.ui.define([
|
|
|
649
649
|
|
|
650
650
|
/**
|
|
651
651
|
* Enables/Disables busy state.
|
|
652
|
-
* @
|
|
652
|
+
* @override
|
|
653
653
|
* @public
|
|
654
|
-
* @param {boolean} flag for enabling busy indicator
|
|
654
|
+
* @param {boolean} bBusy flag for enabling busy indicator
|
|
655
655
|
* @returns {this} this pointer for chaining
|
|
656
656
|
*/
|
|
657
657
|
TableSelectDialog.prototype.setBusy = function (bBusy) {
|
|
@@ -666,7 +666,7 @@ sap.ui.define([
|
|
|
666
666
|
|
|
667
667
|
/**
|
|
668
668
|
* Gets current busy state.
|
|
669
|
-
* @
|
|
669
|
+
* @override
|
|
670
670
|
* @public
|
|
671
671
|
* @returns {boolean} value of currtent busy state.
|
|
672
672
|
*/
|
|
@@ -691,7 +691,7 @@ sap.ui.define([
|
|
|
691
691
|
|
|
692
692
|
/**
|
|
693
693
|
* Enables/Disables multi selection mode.
|
|
694
|
-
* @
|
|
694
|
+
* @override
|
|
695
695
|
* @public
|
|
696
696
|
* @param {boolean} bMulti flag for multi selection mode
|
|
697
697
|
* @returns {this} this pointer for chaining
|
|
@@ -715,7 +715,7 @@ sap.ui.define([
|
|
|
715
715
|
|
|
716
716
|
/**
|
|
717
717
|
* Sets the title of the internal dialog
|
|
718
|
-
* @
|
|
718
|
+
* @override
|
|
719
719
|
* @public
|
|
720
720
|
* @param {string} sTitle the title text for the dialog
|
|
721
721
|
* @returns {this} this pointer for chaining
|
|
@@ -750,7 +750,7 @@ sap.ui.define([
|
|
|
750
750
|
|
|
751
751
|
/**
|
|
752
752
|
* Sets the no data text of the internal table
|
|
753
|
-
* @
|
|
753
|
+
* @override
|
|
754
754
|
* @public
|
|
755
755
|
* @param {string} sNoDataText the no data text for the table
|
|
756
756
|
*/
|
|
@@ -762,7 +762,7 @@ sap.ui.define([
|
|
|
762
762
|
|
|
763
763
|
/**
|
|
764
764
|
* Retrieves the internal List's no data text property
|
|
765
|
-
* @
|
|
765
|
+
* @override
|
|
766
766
|
* @public
|
|
767
767
|
* @returns {string} the current no data text
|
|
768
768
|
*/
|
|
@@ -772,7 +772,7 @@ sap.ui.define([
|
|
|
772
772
|
|
|
773
773
|
/**
|
|
774
774
|
* Retrieves content width of the select dialog {@link sap.m.Dialog}
|
|
775
|
-
* @
|
|
775
|
+
* @override
|
|
776
776
|
* @public
|
|
777
777
|
* @returns {sap.ui.core.CSSSize} sWidth the content width of the internal dialog
|
|
778
778
|
*/
|
|
@@ -784,7 +784,7 @@ sap.ui.define([
|
|
|
784
784
|
* Sets content width of the select dialog {@link sap.m.Dialog}
|
|
785
785
|
* @param {sap.ui.core.CSSSize} sWidth the new content width value for the dialog
|
|
786
786
|
* @public
|
|
787
|
-
* @
|
|
787
|
+
* @override
|
|
788
788
|
* @returns {this} this pointer for chaining
|
|
789
789
|
*/
|
|
790
790
|
TableSelectDialog.prototype.setContentWidth = function (sWidth) {
|
|
@@ -795,7 +795,7 @@ sap.ui.define([
|
|
|
795
795
|
|
|
796
796
|
/**
|
|
797
797
|
* Retrieves content height of the select dialog {@link sap.m.Dialog}
|
|
798
|
-
* @
|
|
798
|
+
* @override
|
|
799
799
|
* @public
|
|
800
800
|
* @returns {sap.ui.core.CSSSize} sHeight the content height of the internal dialog
|
|
801
801
|
*/
|
|
@@ -807,7 +807,7 @@ sap.ui.define([
|
|
|
807
807
|
* Sets content height of the select dialog {@link sap.m.Dialog}
|
|
808
808
|
* @param {sap.ui.core.CSSSize} sHeight the new content height value for the dialog
|
|
809
809
|
* @public
|
|
810
|
-
* @
|
|
810
|
+
* @override
|
|
811
811
|
* @returns {this} this pointer for chaining
|
|
812
812
|
*/
|
|
813
813
|
TableSelectDialog.prototype.setContentHeight = function (sHeight) {
|
|
@@ -903,10 +903,10 @@ sap.ui.define([
|
|
|
903
903
|
|
|
904
904
|
/**
|
|
905
905
|
* Sets the model for the internal table and the current control, so that both controls can be used with data binding.
|
|
906
|
-
* @
|
|
906
|
+
* @override
|
|
907
907
|
* @public
|
|
908
908
|
* @param {sap.ui.model.Model} oModel The model that holds the data for the table
|
|
909
|
-
* @param {string} [
|
|
909
|
+
* @param {string} [sModelName] The optional model name
|
|
910
910
|
* @returns {this} This pointer for chaining
|
|
911
911
|
*/
|
|
912
912
|
TableSelectDialog.prototype.setModel = function (oModel, sModelName) {
|
|
@@ -1034,7 +1034,7 @@ sap.ui.define([
|
|
|
1034
1034
|
TableSelectDialog.prototype._updateStarted = function (oEvent) {
|
|
1035
1035
|
this.fireUpdateStarted(oEvent.getParameters());
|
|
1036
1036
|
|
|
1037
|
-
if (this.getModel() && this.getModel()
|
|
1037
|
+
if (this.getModel() && this.getModel().isA("sap.ui.model.odata.ODataModel")) {
|
|
1038
1038
|
if (this._oDialog.isOpen() && this._iTableUpdateRequested) {
|
|
1039
1039
|
// only set busy mode when we have an OData model
|
|
1040
1040
|
this._setBusy(true);
|
|
@@ -1055,7 +1055,7 @@ sap.ui.define([
|
|
|
1055
1055
|
|
|
1056
1056
|
this._updateSelectionIndicator();
|
|
1057
1057
|
// only reset busy mode when we have an OData model
|
|
1058
|
-
if (this.getModel() && this.getModel()
|
|
1058
|
+
if (this.getModel() && this.getModel().isA("sap.ui.model.odata.ODataModel")) {
|
|
1059
1059
|
this._setBusy(false);
|
|
1060
1060
|
this._bInitBusy = false;
|
|
1061
1061
|
}
|