@openui5/sap.m 1.100.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 +5 -5
- 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 +1 -1
- package/src/sap/m/ActionSelect.js +1 -1
- package/src/sap/m/ActionSheet.js +10 -3
- package/src/sap/m/App.js +1 -1
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +1 -1
- package/src/sap/m/Bar.js +6 -5
- package/src/sap/m/Breadcrumbs.js +1 -1
- package/src/sap/m/BreadcrumbsRenderer.js +0 -5
- package/src/sap/m/BusyDialog.js +1 -1
- package/src/sap/m/BusyIndicator.js +1 -1
- package/src/sap/m/Button.js +1 -1
- package/src/sap/m/Carousel.js +4 -1
- package/src/sap/m/CarouselLayout.js +1 -1
- package/src/sap/m/CarouselRenderer.js +2 -1
- package/src/sap/m/CheckBox.js +1 -1
- package/src/sap/m/ColorPalette.js +1 -1
- package/src/sap/m/ColorPalettePopover.js +1 -1
- package/src/sap/m/Column.js +1 -1
- package/src/sap/m/ColumnHeaderPopover.js +1 -1
- package/src/sap/m/ColumnListItem.js +1 -1
- package/src/sap/m/ColumnListItemRenderer.js +1 -0
- package/src/sap/m/ColumnPopoverActionItem.js +1 -1
- package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
- package/src/sap/m/ColumnPopoverItem.js +1 -1
- package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
- package/src/sap/m/ColumnPopoverSortItem.js +1 -1
- package/src/sap/m/ComboBox.js +1 -1
- package/src/sap/m/ComboBoxBase.js +4 -2
- package/src/sap/m/ComboBoxTextField.js +1 -1
- package/src/sap/m/CustomDynamicDateOption.js +1 -1
- package/src/sap/m/CustomListItem.js +1 -1
- package/src/sap/m/CustomTile.js +1 -1
- package/src/sap/m/CustomTreeItem.js +1 -1
- package/src/sap/m/DatePicker.js +33 -5
- package/src/sap/m/DatePickerRenderer.js +0 -1
- package/src/sap/m/DateRangeSelection.js +42 -4
- package/src/sap/m/DateTimeField.js +1 -1
- package/src/sap/m/DateTimeInput.js +1 -1
- package/src/sap/m/DateTimePicker.js +35 -49
- package/src/sap/m/DateTimePickerRenderer.js +2 -2
- package/src/sap/m/Dialog.js +20 -7
- package/src/sap/m/DisplayListItem.js +1 -1
- package/src/sap/m/DraftIndicator.js +1 -1
- package/src/sap/m/DynamicDate.js +1 -1
- package/src/sap/m/DynamicDateOption.js +12 -2
- package/src/sap/m/DynamicDateRange.js +56 -15
- 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/FacetFilterList.js +1 -1
- package/src/sap/m/FeedContent.js +1 -1
- package/src/sap/m/FeedInput.js +2 -2
- package/src/sap/m/FeedListItem.js +1 -1
- package/src/sap/m/FeedListItemAction.js +1 -1
- package/src/sap/m/Fiori20Adapter.js +2 -2
- package/src/sap/m/FlexBox.js +1 -1
- package/src/sap/m/FlexItemData.js +1 -1
- package/src/sap/m/FormattedText.js +1 -1
- package/src/sap/m/GenericTag.js +1 -1
- package/src/sap/m/GenericTagRenderer.js +10 -2
- package/src/sap/m/GenericTile.js +44 -4
- package/src/sap/m/GenericTileLineModeRenderer.js +77 -3
- package/src/sap/m/GenericTileRenderer.js +79 -28
- package/src/sap/m/GroupHeaderListItem.js +1 -1
- package/src/sap/m/GrowingList.js +1 -1
- package/src/sap/m/HBox.js +1 -1
- package/src/sap/m/HeaderContainer.js +29 -13
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +2 -2
- package/src/sap/m/IconTabBarSelectList.js +1 -1
- package/src/sap/m/IconTabFilter.js +1 -1
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
- package/src/sap/m/IconTabHeader.js +1 -1
- package/src/sap/m/IconTabSeparator.js +1 -1
- package/src/sap/m/IllustratedMessage.js +19 -1
- package/src/sap/m/Illustration.js +1 -1
- package/src/sap/m/Image.js +1 -1
- package/src/sap/m/ImageContent.js +1 -1
- package/src/sap/m/Input.js +4 -10
- package/src/sap/m/InputBase.js +1 -1
- package/src/sap/m/InputListItem.js +1 -1
- package/src/sap/m/Label.js +1 -1
- package/src/sap/m/LightBox.js +1 -1
- package/src/sap/m/LightBoxItem.js +1 -1
- package/src/sap/m/Link.js +1 -1
- package/src/sap/m/List.js +1 -1
- package/src/sap/m/ListBase.js +36 -5
- package/src/sap/m/ListBaseRenderer.js +19 -3
- package/src/sap/m/ListItemBase.js +3 -2
- package/src/sap/m/MaskEnabler.js +1 -1
- package/src/sap/m/MaskInput.js +1 -1
- package/src/sap/m/MaskInputRule.js +1 -1
- package/src/sap/m/Menu.js +1 -1
- package/src/sap/m/MenuButton.js +5 -1
- package/src/sap/m/MenuItem.js +1 -1
- package/src/sap/m/MenuListItem.js +1 -1
- 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/MessagePopover.js +18 -36
- package/src/sap/m/MessagePopoverItem.js +1 -1
- package/src/sap/m/MessageStrip.js +1 -1
- package/src/sap/m/MessageToast.js +1 -1
- package/src/sap/m/MessageView.js +1 -1
- package/src/sap/m/MultiComboBox.js +3 -2
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +1 -1
- package/src/sap/m/NavContainer.js +40 -40
- package/src/sap/m/NewsContent.js +1 -1
- package/src/sap/m/NotificationList.js +1 -1
- package/src/sap/m/NotificationListBase.js +1 -1
- package/src/sap/m/NotificationListGroup.js +1 -1
- package/src/sap/m/NotificationListItem.js +1 -1
- package/src/sap/m/NumericContent.js +1 -1
- package/src/sap/m/NumericInput.js +3 -2
- package/src/sap/m/NumericInputRenderer.js +13 -1
- package/src/sap/m/ObjectAttribute.js +1 -1
- package/src/sap/m/ObjectHeader.js +1 -1
- package/src/sap/m/ObjectIdentifier.js +1 -1
- package/src/sap/m/ObjectListItem.js +1 -1
- package/src/sap/m/ObjectMarker.js +34 -10
- package/src/sap/m/ObjectMarkerRenderer.js +14 -2
- package/src/sap/m/ObjectNumber.js +1 -1
- package/src/sap/m/ObjectStatus.js +1 -1
- package/src/sap/m/OverflowToolbar.js +1 -1
- package/src/sap/m/OverflowToolbarAssociativePopover.js +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 +1 -1
- package/src/sap/m/P13nDialog.js +1 -1
- package/src/sap/m/P13nDimMeasureItem.js +1 -1
- package/src/sap/m/P13nDimMeasurePanel.js +1 -1
- package/src/sap/m/P13nFilterItem.js +1 -1
- package/src/sap/m/P13nFilterPanel.js +1 -1
- package/src/sap/m/P13nGroupItem.js +1 -1
- package/src/sap/m/P13nGroupPanel.js +1 -1
- package/src/sap/m/P13nItem.js +1 -1
- package/src/sap/m/P13nPanel.js +1 -1
- package/src/sap/m/P13nSelectionItem.js +1 -1
- package/src/sap/m/P13nSelectionPanel.js +1 -1
- package/src/sap/m/P13nSortItem.js +1 -1
- package/src/sap/m/P13nSortPanel.js +1 -1
- package/src/sap/m/PDFViewer.js +3 -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/PlanningCalendar.js +14 -14
- 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 +14 -9
- package/src/sap/m/ProgressIndicator.js +1 -1
- package/src/sap/m/PullToRefresh.js +1 -1
- package/src/sap/m/QuickView.js +1 -1
- package/src/sap/m/QuickViewBase.js +1 -1
- package/src/sap/m/QuickViewCard.js +1 -1
- package/src/sap/m/QuickViewGroup.js +1 -1
- package/src/sap/m/QuickViewGroupElement.js +1 -1
- package/src/sap/m/QuickViewPage.js +1 -1
- package/src/sap/m/RadioButton.js +1 -1
- package/src/sap/m/RadioButtonGroup.js +3 -2
- package/src/sap/m/RangeSlider.js +14 -2
- package/src/sap/m/RatingIndicator.js +1 -1
- package/src/sap/m/ResponsivePopover.js +1 -1
- package/src/sap/m/ResponsiveScale.js +1 -1
- package/src/sap/m/ScrollBar.js +1 -1
- package/src/sap/m/ScrollContainer.js +1 -1
- package/src/sap/m/SearchField.js +1 -1
- package/src/sap/m/SegmentedButton.js +1 -1
- package/src/sap/m/SegmentedButtonItem.js +1 -1
- package/src/sap/m/Select.js +5 -2
- package/src/sap/m/SelectDialog.js +2 -2
- package/src/sap/m/SelectDialogBase.js +1 -1
- package/src/sap/m/SelectList.js +1 -1
- package/src/sap/m/SelectionDetails.js +1 -1
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +1 -1
- package/src/sap/m/SelectionDetailsItemLine.js +1 -1
- package/src/sap/m/Shell.js +1 -1
- package/src/sap/m/SimpleFixFlex.js +1 -1
- package/src/sap/m/SinglePlanningCalendar.js +1 -1
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +90 -48
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +10 -9
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +22 -10
- package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
- package/src/sap/m/SlideTile.js +1 -1
- package/src/sap/m/Slider.js +1 -1
- package/src/sap/m/SliderTooltip.js +1 -1
- package/src/sap/m/SliderTooltipBase.js +1 -1
- package/src/sap/m/SliderTooltipContainer.js +5 -1
- package/src/sap/m/SplitApp.js +1 -1
- package/src/sap/m/SplitButton.js +1 -1
- package/src/sap/m/SplitContainer.js +1 -1
- package/src/sap/m/StandardDynamicDateOption.js +25 -4
- package/src/sap/m/StandardListItem.js +1 -1
- package/src/sap/m/StandardTile.js +1 -1
- package/src/sap/m/StandardTreeItem.js +1 -1
- package/src/sap/m/StepInput.js +3 -3
- package/src/sap/m/SuggestionItem.js +1 -1
- package/src/sap/m/SuggestionsPopover.js +5 -13
- package/src/sap/m/Switch.js +1 -1
- package/src/sap/m/TabContainer.js +1 -1
- package/src/sap/m/TabContainerItem.js +1 -1
- package/src/sap/m/TabStrip.js +1 -1
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +34 -3
- 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 +9 -4
- package/src/sap/m/TableSelectDialog.js +2 -2
- package/src/sap/m/Text.js +1 -1
- package/src/sap/m/TextArea.js +1 -1
- package/src/sap/m/Tile.js +1 -1
- package/src/sap/m/TileContainer.js +1 -1
- package/src/sap/m/TileContent.js +1 -1
- package/src/sap/m/TimePicker.js +2 -54
- package/src/sap/m/TimePickerClock.js +1 -1
- package/src/sap/m/TimePickerClocks.js +1 -1
- package/src/sap/m/TimePickerInputs.js +1 -1
- package/src/sap/m/TimePickerInternals.js +1 -1
- package/src/sap/m/TimePickerRenderer.js +0 -1
- package/src/sap/m/TimePickerSlider.js +1 -1
- package/src/sap/m/TimePickerSliders.js +1 -1
- package/src/sap/m/Title.js +1 -1
- package/src/sap/m/TitlePropagationSupport.js +1 -1
- package/src/sap/m/ToggleButton.js +1 -1
- package/src/sap/m/Token.js +1 -1
- package/src/sap/m/Tokenizer.js +2 -1
- package/src/sap/m/Toolbar.js +1 -1
- package/src/sap/m/ToolbarLayoutData.js +1 -1
- package/src/sap/m/ToolbarSeparator.js +1 -1
- package/src/sap/m/ToolbarSpacer.js +1 -1
- package/src/sap/m/Tree.js +1 -1
- package/src/sap/m/TreeItemBase.js +1 -1
- package/src/sap/m/UploadCollection.js +1 -1
- package/src/sap/m/UploadCollectionItem.js +1 -1
- package/src/sap/m/UploadCollectionParameter.js +1 -1
- package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
- package/src/sap/m/VBox.js +1 -1
- package/src/sap/m/ValueStateHeader.js +1 -1
- package/src/sap/m/ViewSettingsCustomItem.js +1 -1
- package/src/sap/m/ViewSettingsCustomTab.js +1 -1
- package/src/sap/m/ViewSettingsDialog.js +7 -8
- 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/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 +1 -1
- package/src/sap/m/designtime/ListBase.designtime.js +3 -0
- package/src/sap/m/inputUtils/SuggestionsPopoverDialogMixin.js +22 -16
- package/src/sap/m/inputUtils/SuggestionsPopoverPopoverMixin.js +10 -2
- package/src/sap/m/library.js +12 -19
- package/src/sap/m/messagebundle.properties +25 -16
- package/src/sap/m/messagebundle_ar.properties +11 -13
- package/src/sap/m/messagebundle_bg.properties +11 -13
- package/src/sap/m/messagebundle_ca.properties +11 -13
- package/src/sap/m/messagebundle_cs.properties +11 -13
- package/src/sap/m/messagebundle_cy.properties +11 -13
- package/src/sap/m/messagebundle_da.properties +11 -13
- package/src/sap/m/messagebundle_de.properties +11 -13
- package/src/sap/m/messagebundle_el.properties +11 -13
- package/src/sap/m/messagebundle_en.properties +10 -12
- package/src/sap/m/messagebundle_en_GB.properties +10 -12
- package/src/sap/m/messagebundle_en_US_sappsd.properties +9 -11
- package/src/sap/m/messagebundle_en_US_saprigi.properties +9 -11
- package/src/sap/m/messagebundle_en_US_saptrc.properties +9 -11
- package/src/sap/m/messagebundle_es.properties +11 -13
- package/src/sap/m/messagebundle_es_MX.properties +11 -13
- package/src/sap/m/messagebundle_et.properties +11 -13
- package/src/sap/m/messagebundle_fi.properties +10 -12
- package/src/sap/m/messagebundle_fr.properties +11 -13
- package/src/sap/m/messagebundle_fr_CA.properties +11 -13
- package/src/sap/m/messagebundle_hi.properties +11 -13
- package/src/sap/m/messagebundle_hr.properties +11 -13
- package/src/sap/m/messagebundle_hu.properties +11 -13
- package/src/sap/m/messagebundle_id.properties +11 -13
- package/src/sap/m/messagebundle_it.properties +18 -20
- package/src/sap/m/messagebundle_iw.properties +11 -13
- package/src/sap/m/messagebundle_ja.properties +11 -13
- package/src/sap/m/messagebundle_kk.properties +11 -13
- package/src/sap/m/messagebundle_ko.properties +12 -14
- package/src/sap/m/messagebundle_lt.properties +11 -13
- package/src/sap/m/messagebundle_lv.properties +10 -12
- package/src/sap/m/messagebundle_ms.properties +11 -13
- package/src/sap/m/messagebundle_nl.properties +10 -12
- package/src/sap/m/messagebundle_no.properties +11 -13
- package/src/sap/m/messagebundle_pl.properties +11 -13
- package/src/sap/m/messagebundle_pt.properties +11 -13
- package/src/sap/m/messagebundle_pt_PT.properties +11 -13
- package/src/sap/m/messagebundle_ro.properties +11 -13
- package/src/sap/m/messagebundle_ru.properties +11 -13
- package/src/sap/m/messagebundle_sh.properties +11 -13
- package/src/sap/m/messagebundle_sk.properties +11 -13
- package/src/sap/m/messagebundle_sl.properties +11 -13
- package/src/sap/m/messagebundle_sv.properties +12 -14
- package/src/sap/m/messagebundle_th.properties +11 -13
- package/src/sap/m/messagebundle_tr.properties +11 -13
- package/src/sap/m/messagebundle_uk.properties +11 -13
- package/src/sap/m/messagebundle_vi.properties +11 -13
- package/src/sap/m/messagebundle_zh_CN.properties +11 -13
- package/src/sap/m/messagebundle_zh_TW.properties +11 -13
- package/src/sap/m/p13n/AbstractContainer.js +2 -2
- package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
- package/src/sap/m/p13n/BasePanel.js +9 -3
- package/src/sap/m/p13n/Container.js +11 -4
- package/src/sap/m/p13n/GroupPanel.js +2 -1
- package/src/sap/m/p13n/Popup.js +9 -2
- package/src/sap/m/p13n/QueryPanel.js +38 -8
- package/src/sap/m/p13n/SelectionPanel.js +1 -1
- package/src/sap/m/p13n/SortPanel.js +4 -1
- package/src/sap/m/plugins/ColumnResizer.js +31 -2
- package/src/sap/m/plugins/DataStateIndicator.js +1 -1
- package/src/sap/m/plugins/PasteProvider.js +1 -1
- package/src/sap/m/plugins/PluginBase.js +1 -1
- package/src/sap/m/semantic/AddAction.js +1 -1
- package/src/sap/m/semantic/CancelAction.js +1 -1
- package/src/sap/m/semantic/DeleteAction.js +1 -1
- package/src/sap/m/semantic/DetailPage.js +1 -1
- package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
- package/src/sap/m/semantic/EditAction.js +1 -1
- package/src/sap/m/semantic/FavoriteAction.js +1 -1
- package/src/sap/m/semantic/FilterAction.js +1 -1
- package/src/sap/m/semantic/FilterSelect.js +1 -1
- package/src/sap/m/semantic/FlagAction.js +1 -1
- package/src/sap/m/semantic/ForwardAction.js +1 -1
- package/src/sap/m/semantic/FullscreenPage.js +1 -1
- package/src/sap/m/semantic/GroupAction.js +1 -1
- package/src/sap/m/semantic/GroupSelect.js +1 -1
- package/src/sap/m/semantic/MainAction.js +1 -1
- package/src/sap/m/semantic/MasterPage.js +1 -1
- package/src/sap/m/semantic/MessagesIndicator.js +1 -1
- package/src/sap/m/semantic/MultiSelectAction.js +1 -1
- package/src/sap/m/semantic/NegativeAction.js +1 -1
- package/src/sap/m/semantic/OpenInAction.js +1 -1
- package/src/sap/m/semantic/PositiveAction.js +1 -1
- package/src/sap/m/semantic/PrintAction.js +1 -1
- package/src/sap/m/semantic/SaveAction.js +1 -1
- package/src/sap/m/semantic/Segment.js +1 -1
- package/src/sap/m/semantic/SegmentedContainer.js +1 -1
- package/src/sap/m/semantic/SemanticButton.js +1 -1
- package/src/sap/m/semantic/SemanticConfiguration.js +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 +1 -1
- package/src/sap/m/semantic/ShareMenuPage.js +1 -1
- package/src/sap/m/semantic/SortAction.js +1 -1
- package/src/sap/m/semantic/SortSelect.js +1 -1
- package/src/sap/m/table/Util.js +84 -6
- package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
- package/src/sap/m/table/columnmenu/Entry.js +1 -1
- package/src/sap/m/table/columnmenu/Item.js +1 -1
- package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
- package/src/sap/m/table/columnmenu/ItemContainer.js +29 -0
- package/src/sap/m/table/columnmenu/Menu.js +197 -23
- package/src/sap/m/table/columnmenu/MenuRenderer.js +1 -25
- package/src/sap/m/table/columnmenu/QuickAction.js +14 -3
- package/src/sap/m/table/columnmenu/QuickActionBase.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionContainer.js +29 -0
- package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickGroup.js +29 -16
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +13 -1
- package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSortItem.js +29 -28
- package/src/sap/m/table/columnmenu/QuickTotal.js +32 -17
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +13 -1
- package/src/sap/m/themes/base/Avatar.less +11 -5
- package/src/sap/m/themes/base/CheckBox.less +0 -1
- package/src/sap/m/themes/base/ColumnMenu.less +12 -4
- package/src/sap/m/themes/base/Dialog.less +4 -6
- package/src/sap/m/themes/base/GenericTile.less +370 -55
- package/src/sap/m/themes/base/IconTabBar.less +45 -14
- 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 +3 -0
- 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/MultiInput.less +1 -1
- 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/Popover.less +10 -7
- package/src/sap/m/themes/base/RadioButton.less +21 -3
- 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/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-SleepingBell.svg +29 -22
- package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-Tent.svg +28 -23
- 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-SleepingBell.svg +49 -42
- package/src/sap/m/themes/base/illustrations/sapIllus-Scene-Tent.svg +58 -53
- 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-SleepingBell.svg +38 -22
- package/src/sap/m/themes/base/illustrations/sapIllus-Spot-Tent.svg +28 -23
- 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 +91 -21
- package/src/sap/m/upload/UploadSetItem.js +11 -1
|
@@ -43,7 +43,7 @@ sap.ui.define([
|
|
|
43
43
|
* @extends sap.ui.core.Control
|
|
44
44
|
*
|
|
45
45
|
* @author SAP SE
|
|
46
|
-
* @version 1.
|
|
46
|
+
* @version 1.101.0
|
|
47
47
|
*
|
|
48
48
|
* @constructor
|
|
49
49
|
* @public
|
|
@@ -671,24 +671,24 @@ sap.ui.define([
|
|
|
671
671
|
*
|
|
672
672
|
* Calling this navigation method triggers first the (cancelable) "navigate" event on the NavContainer, then the "BeforeHide" pseudo event on the source page and "BeforeFirstShow" (if applicable) and"BeforeShow" on the target page. Later - after the transition has completed - the "AfterShow" pseudo event is triggered on the target page and "AfterHide" on the page which has been left. The given data object is available in the "BeforeFirstShow", "BeforeShow" and "AfterShow" event object as "data" property.
|
|
673
673
|
*
|
|
674
|
-
* @param {string}
|
|
674
|
+
* @param {string} vPageIdOrControl
|
|
675
675
|
* The screen to which drilldown should happen. The ID or the control itself can be given.
|
|
676
|
-
* @param {string} [
|
|
676
|
+
* @param {string} [sTransitionName=slide]
|
|
677
677
|
* The type of the transition/animation to apply. Options are "slide" (horizontal movement from the right), "baseSlide", "fade", "flip", and "show"
|
|
678
678
|
* and the names of any registered custom transitions.
|
|
679
679
|
*
|
|
680
680
|
* None of the standard transitions is currently making use of any given transition parameters.
|
|
681
|
-
* @param {object} [
|
|
681
|
+
* @param {object} [oData={}]
|
|
682
682
|
* Since version 1.7.1. This optional object can carry any payload data which should be made available to the target page.
|
|
683
683
|
* The "BeforeShow" event on the target page will contain this data object as "data" property.
|
|
684
684
|
|
|
685
685
|
* Use case: in scenarios where the entity triggering the navigation can or should not directly initialize the target page, it can fill this object and the target page itself (or a listener on it) can take over the initialization, using the given data.
|
|
686
686
|
*
|
|
687
|
-
* When the <code>oTransitionParameters</code> parameter is used, this <code>
|
|
687
|
+
* When the <code>oTransitionParameters</code> parameter is used, this <code>oData</code> parameter must also be given (either as object or as <code>null</code> or <code>undefined</code>) in order to have a proper parameter order.
|
|
688
688
|
* @param {object} [oTransitionParameters={}]
|
|
689
689
|
* Since version 1.7.1. This optional object can contain additional information for the transition function, like the DOM element which triggered the transition or the desired transition duration.
|
|
690
690
|
*
|
|
691
|
-
* For a proper parameter order, the <code>
|
|
691
|
+
* For a proper parameter order, the <code>oData</code> parameter must be given when the <code>oTransitionParameters</code> parameter is used (it can be given as <code>null</code> or <code>undefined</code>).
|
|
692
692
|
*
|
|
693
693
|
* NOTE: it depends on the transition function how the object should be structured and which parameters are actually used to influence the transition.
|
|
694
694
|
* The "show", "slide", "baseSlide" and "fade" transitions do not use any parameter.
|
|
@@ -696,44 +696,44 @@ sap.ui.define([
|
|
|
696
696
|
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
697
697
|
* @returns {this} The <code>sap.m.NavContainer</code> instance
|
|
698
698
|
*/
|
|
699
|
-
NavContainer.prototype.to = function (
|
|
700
|
-
if (
|
|
701
|
-
|
|
699
|
+
NavContainer.prototype.to = function (vPageIdOrControl, sTransitionName, oData, oTransitionParameters, bFromQueue) {
|
|
700
|
+
if (vPageIdOrControl instanceof Control) {
|
|
701
|
+
vPageIdOrControl = vPageIdOrControl.getId();
|
|
702
702
|
}
|
|
703
703
|
|
|
704
704
|
// fix parameters
|
|
705
|
-
if (typeof (
|
|
706
|
-
//
|
|
707
|
-
oTransitionParameters =
|
|
708
|
-
|
|
705
|
+
if (typeof (sTransitionName) !== "string") {
|
|
706
|
+
// sTransitionName is omitted, shift parameters
|
|
707
|
+
oTransitionParameters = oData;
|
|
708
|
+
oData = sTransitionName;
|
|
709
709
|
}
|
|
710
|
-
|
|
710
|
+
sTransitionName = sTransitionName || this.getDefaultTransitionName();
|
|
711
711
|
oTransitionParameters = oTransitionParameters || {};
|
|
712
|
-
|
|
713
|
-
var oFromPageInfo = {id:
|
|
712
|
+
oData = oData || {};
|
|
713
|
+
var oFromPageInfo = {id: vPageIdOrControl, transition: sTransitionName, data: oData};
|
|
714
714
|
|
|
715
715
|
// make sure the initial page is on the stack
|
|
716
|
-
this._ensurePageStackInitialized(
|
|
716
|
+
this._ensurePageStackInitialized(oData);
|
|
717
717
|
|
|
718
718
|
//add to the queue before checking the current page, because this might change
|
|
719
719
|
if (this._bNavigating) {
|
|
720
|
-
Log.info(this.toString() + ": Cannot navigate to page " +
|
|
720
|
+
Log.info(this.toString() + ": Cannot navigate to page " + vPageIdOrControl + " because another navigation is already in progress. - navigation will be executed after the previous one");
|
|
721
721
|
|
|
722
722
|
this._aQueue.push(jQuery.proxy(function () {
|
|
723
|
-
this.to(
|
|
723
|
+
this.to(vPageIdOrControl, sTransitionName, oData, oTransitionParameters, true);
|
|
724
724
|
}, this));
|
|
725
725
|
|
|
726
726
|
return this;
|
|
727
727
|
}
|
|
728
728
|
|
|
729
|
-
// If to is called before rendering, remember the
|
|
729
|
+
// If to is called before rendering, remember the oData so we can pass it to the events as soon as the navContainer gets rendered
|
|
730
730
|
if (this._bNeverRendered) {
|
|
731
|
-
this._oToDataBeforeRendering =
|
|
731
|
+
this._oToDataBeforeRendering = oData;
|
|
732
732
|
}
|
|
733
733
|
|
|
734
734
|
var oFromPage = this.getCurrentPage();
|
|
735
|
-
if (oFromPage && (oFromPage.getId() ===
|
|
736
|
-
Log.warning(this.toString() + ": Cannot navigate to page " +
|
|
735
|
+
if (oFromPage && (oFromPage.getId() === vPageIdOrControl)) { // cannot navigate to the page that is already current
|
|
736
|
+
Log.warning(this.toString() + ": Cannot navigate to page " + vPageIdOrControl + " because this is the current page.");
|
|
737
737
|
if (bFromQueue) {
|
|
738
738
|
this._dequeueNavigation();
|
|
739
739
|
}
|
|
@@ -746,11 +746,11 @@ sap.ui.define([
|
|
|
746
746
|
return this;
|
|
747
747
|
}
|
|
748
748
|
|
|
749
|
-
var oToPage = this.getPage(
|
|
749
|
+
var oToPage = this.getPage(vPageIdOrControl);
|
|
750
750
|
|
|
751
751
|
if (oToPage) {
|
|
752
752
|
if (!oFromPage) {
|
|
753
|
-
Log.warning("Navigation triggered to page with ID '" +
|
|
753
|
+
Log.warning("Navigation triggered to page with ID '" + vPageIdOrControl + "', but the current page is not known/aggregated by " + this);
|
|
754
754
|
return this;
|
|
755
755
|
}
|
|
756
756
|
|
|
@@ -758,8 +758,8 @@ sap.ui.define([
|
|
|
758
758
|
from: oFromPage,
|
|
759
759
|
fromId: oFromPage.getId(),
|
|
760
760
|
to: oToPage,
|
|
761
|
-
toId:
|
|
762
|
-
firstTime: !this._mVisitedPages[
|
|
761
|
+
toId: vPageIdOrControl,
|
|
762
|
+
firstTime: !this._mVisitedPages[vPageIdOrControl],
|
|
763
763
|
isTo: true,
|
|
764
764
|
isBack: false,
|
|
765
765
|
isBackToTop: false,
|
|
@@ -781,27 +781,27 @@ sap.ui.define([
|
|
|
781
781
|
// TODO: let one of the pages also cancel navigation?
|
|
782
782
|
var oEvent = jQuery.Event("BeforeHide", oNavInfo);
|
|
783
783
|
oEvent.srcControl = this; // store the element on the event (aligned with jQuery syntax)
|
|
784
|
-
// no
|
|
784
|
+
// no oData needed for hiding
|
|
785
785
|
oFromPage._handleEvent(oEvent);
|
|
786
786
|
|
|
787
|
-
if (!this._mVisitedPages[
|
|
787
|
+
if (!this._mVisitedPages[vPageIdOrControl]) { // if this page has not been shown before
|
|
788
788
|
oEvent = jQuery.Event("BeforeFirstShow", oNavInfo);
|
|
789
789
|
oEvent.srcControl = this;
|
|
790
|
-
oEvent.data =
|
|
790
|
+
oEvent.data = oData || {};
|
|
791
791
|
oEvent.backData = {};
|
|
792
792
|
oToPage._handleEvent(oEvent);
|
|
793
793
|
}
|
|
794
794
|
|
|
795
795
|
oEvent = jQuery.Event("BeforeShow", oNavInfo);
|
|
796
796
|
oEvent.srcControl = this;
|
|
797
|
-
oEvent.data =
|
|
797
|
+
oEvent.data = oData || {};
|
|
798
798
|
oEvent.backData = {};
|
|
799
799
|
oToPage._handleEvent(oEvent);
|
|
800
800
|
|
|
801
801
|
|
|
802
802
|
this._pageStack.push(oFromPageInfo); // this actually causes/is the navigation
|
|
803
|
-
Log.info(this.toString() + ": navigating to page '" +
|
|
804
|
-
this._mVisitedPages[
|
|
803
|
+
Log.info(this.toString() + ": navigating to page '" + vPageIdOrControl + "': " + oToPage.toString());
|
|
804
|
+
this._mVisitedPages[vPageIdOrControl] = true;
|
|
805
805
|
|
|
806
806
|
if (!this.getDomRef()) { // the wanted animation has been recorded, but when the NavContainer is not rendered, we cannot animate, so just return
|
|
807
807
|
Log.info("'Hidden' 'to' navigation in not-rendered NavContainer " + this.toString());
|
|
@@ -826,33 +826,33 @@ sap.ui.define([
|
|
|
826
826
|
oToPage.addStyleClass("sapMNavItemHidden").removeStyleClass("sapMNavItemRendering");
|
|
827
827
|
}
|
|
828
828
|
|
|
829
|
-
var oTransition = NavContainer.transitions[
|
|
829
|
+
var oTransition = NavContainer.transitions[sTransitionName] || NavContainer.transitions["slide"];
|
|
830
830
|
// Track proper invocation of the callback TODO: only do this during development?
|
|
831
831
|
var iCompleted = this._iTransitionsCompleted;
|
|
832
832
|
var that = this;
|
|
833
833
|
window.setTimeout(function () {
|
|
834
834
|
if (that && (that._iTransitionsCompleted < iCompleted + 1)) {
|
|
835
|
-
Log.warning("Transition '" +
|
|
835
|
+
Log.warning("Transition '" + sTransitionName + "' 'to' was triggered five seconds ago, but has not yet invoked the end-of-transition callback.");
|
|
836
836
|
}
|
|
837
837
|
}, fnGetDelay(5000));
|
|
838
838
|
|
|
839
839
|
this._bNavigating = true;
|
|
840
840
|
|
|
841
841
|
// check both params since they might have shifted
|
|
842
|
-
var sTransitionDirection = (
|
|
842
|
+
var sTransitionDirection = (oData.safeBackToPage || oTransitionParameters.safeBackToPage) ? "back" : "to";
|
|
843
843
|
|
|
844
|
-
this._cacheTransitionInfo(
|
|
844
|
+
this._cacheTransitionInfo(sTransitionName, sTransitionDirection);
|
|
845
845
|
|
|
846
846
|
oTransition[sTransitionDirection].call(this, oFromPage, oToPage, jQuery.proxy(function () {
|
|
847
|
-
this._afterTransitionCallback(oNavInfo,
|
|
847
|
+
this._afterTransitionCallback(oNavInfo, oData);
|
|
848
848
|
}, this), oTransitionParameters); // trigger the transition
|
|
849
849
|
|
|
850
850
|
} else {
|
|
851
|
-
Log.info("Navigation to page with ID '" +
|
|
851
|
+
Log.info("Navigation to page with ID '" + vPageIdOrControl + "' has been aborted by the application");
|
|
852
852
|
}
|
|
853
853
|
|
|
854
854
|
} else {
|
|
855
|
-
Log.warning("Navigation triggered to page with ID '" +
|
|
855
|
+
Log.warning("Navigation triggered to page with ID '" + vPageIdOrControl + "', but this page is not known/aggregated by " + this);
|
|
856
856
|
}
|
|
857
857
|
return this;
|
|
858
858
|
};
|
package/src/sap/m/NewsContent.js
CHANGED
|
@@ -38,7 +38,7 @@ function(
|
|
|
38
38
|
* @extends sap.m.Input
|
|
39
39
|
*
|
|
40
40
|
* @author SAP SE
|
|
41
|
-
* @version 1.
|
|
41
|
+
* @version 1.101.0
|
|
42
42
|
*
|
|
43
43
|
* @constructor
|
|
44
44
|
* @private
|
|
@@ -48,7 +48,8 @@ function(
|
|
|
48
48
|
var NumericInput = Input.extend("sap.m.NumericInput", {
|
|
49
49
|
metadata: {
|
|
50
50
|
library: "sap.m"
|
|
51
|
-
}
|
|
51
|
+
},
|
|
52
|
+
renderer: NumericInputRenderer
|
|
52
53
|
});
|
|
53
54
|
|
|
54
55
|
NumericInput.prototype.onBeforeRendering = function() {
|
|
@@ -41,6 +41,18 @@ sap.ui.define(["sap/ui/core/Renderer", "./InputRenderer", "sap/ui/Device", "sap/
|
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
|
|
44
|
+
/**
|
|
45
|
+
* Returns aria accessibility role for the control.
|
|
46
|
+
*
|
|
47
|
+
* @protected
|
|
48
|
+
* @override
|
|
49
|
+
* @param {sap.m.Input} oControl An object representation of the control
|
|
50
|
+
* @returns {string}
|
|
51
|
+
*/
|
|
52
|
+
NumericInputRenderer.getAriaRole = function (oControl) {
|
|
53
|
+
return "spinbutton";
|
|
54
|
+
};
|
|
55
|
+
|
|
44
56
|
//Accessibility behavior of the Input needs to be extended
|
|
45
57
|
/**
|
|
46
58
|
* Overwrites the accessibility state using the <code>getAccessibilityState</code> method of the <code>InputBaseRenderer</code>.
|
|
@@ -49,7 +61,7 @@ sap.ui.define(["sap/ui/core/Renderer", "./InputRenderer", "sap/ui/Device", "sap/
|
|
|
49
61
|
* @returns {Array} mAccessibilityState
|
|
50
62
|
*/
|
|
51
63
|
NumericInputRenderer.getAccessibilityState = function(oNumericInput) {
|
|
52
|
-
var mAccessibilityState = InputRenderer.getAccessibilityState(
|
|
64
|
+
var mAccessibilityState = InputRenderer.getAccessibilityState.apply(this, arguments),
|
|
53
65
|
fMin,
|
|
54
66
|
fMax,
|
|
55
67
|
fNow,
|
|
@@ -42,7 +42,7 @@ function(library, Control, coreLibrary, Text, KeyCodes, ObjectAttributeRenderer,
|
|
|
42
42
|
* <code>text</code> property is styled and acts as a link. In this case the <code>text</code>
|
|
43
43
|
* property must also be set, as otherwise there will be no link displayed for the user.
|
|
44
44
|
* @extends sap.ui.core.Control
|
|
45
|
-
* @version 1.
|
|
45
|
+
* @version 1.101.0
|
|
46
46
|
*
|
|
47
47
|
* @constructor
|
|
48
48
|
* @public
|
|
@@ -62,7 +62,7 @@ sap.ui.define([
|
|
|
62
62
|
* @extends sap.ui.core.Control
|
|
63
63
|
*
|
|
64
64
|
* @author SAP SE
|
|
65
|
-
* @version 1.
|
|
65
|
+
* @version 1.101.0
|
|
66
66
|
*
|
|
67
67
|
* @constructor
|
|
68
68
|
* @public
|
|
@@ -549,18 +549,20 @@ sap.ui.define([
|
|
|
549
549
|
*/
|
|
550
550
|
ObjectMarker.prototype._createCustomLink = function () {
|
|
551
551
|
var oCustomLink = new CustomLink(this.getId() + "-link", {
|
|
552
|
-
|
|
553
|
-
});
|
|
554
|
-
|
|
555
|
-
oCustomLink.attachPress(function(oEvent) {
|
|
556
|
-
this.firePress({
|
|
557
|
-
type: this.getType()
|
|
552
|
+
wrapping: true
|
|
558
553
|
});
|
|
559
|
-
|
|
554
|
+
|
|
555
|
+
oCustomLink.attachPress(this._firePress, this);
|
|
560
556
|
|
|
561
557
|
return oCustomLink;
|
|
562
558
|
};
|
|
563
559
|
|
|
560
|
+
ObjectMarker.prototype._firePress = function() {
|
|
561
|
+
this.firePress({
|
|
562
|
+
type: this.getType()
|
|
563
|
+
});
|
|
564
|
+
};
|
|
565
|
+
|
|
564
566
|
/**
|
|
565
567
|
* Returns a new custom text control.
|
|
566
568
|
*
|
|
@@ -591,6 +593,16 @@ sap.ui.define([
|
|
|
591
593
|
|
|
592
594
|
CustomTextRenderer.apiVersion = 2;
|
|
593
595
|
|
|
596
|
+
CustomTextRenderer.render = function(oRm, oControl) {
|
|
597
|
+
if (oControl.getIconOnly()) {
|
|
598
|
+
var oIconControl = oControl._getIconAggregation();
|
|
599
|
+
oIconControl.setAlt(oControl.getTooltip_AsString());
|
|
600
|
+
oRm.renderControl(oIconControl);
|
|
601
|
+
} else {
|
|
602
|
+
TextRenderer.render.call(this, oRm, oControl);
|
|
603
|
+
}
|
|
604
|
+
};
|
|
605
|
+
|
|
594
606
|
CustomTextRenderer.renderText = function(oRm, oControl) {
|
|
595
607
|
oRm.renderControl(oControl._getIconAggregation());
|
|
596
608
|
TextRenderer.renderText(oRm, oControl);
|
|
@@ -600,7 +612,8 @@ sap.ui.define([
|
|
|
600
612
|
metadata: {
|
|
601
613
|
library: "sap.m",
|
|
602
614
|
properties: {
|
|
603
|
-
icon: {type
|
|
615
|
+
icon: {type: "sap.ui.core.URI", group: "Data", defaultValue: null},
|
|
616
|
+
iconOnly: {type: "boolean", group: "Appearance", defaultValue: false}
|
|
604
617
|
},
|
|
605
618
|
aggregations: {
|
|
606
619
|
_iconControl: {type: "sap.ui.core.Icon", multiple: false, visibility: "hidden"}
|
|
@@ -643,6 +656,16 @@ sap.ui.define([
|
|
|
643
656
|
|
|
644
657
|
CustomLinkRenderer.apiVersion = 2;
|
|
645
658
|
|
|
659
|
+
CustomLinkRenderer.render = function(oRm, oControl) {
|
|
660
|
+
if (oControl.getIconOnly()) {
|
|
661
|
+
var oIconControl = oControl._getIconAggregation();
|
|
662
|
+
oIconControl.setAlt(oControl.getTooltip_AsString());
|
|
663
|
+
oRm.renderControl(oIconControl);
|
|
664
|
+
} else {
|
|
665
|
+
LinkRenderer.render.call(this, oRm, oControl);
|
|
666
|
+
}
|
|
667
|
+
};
|
|
668
|
+
|
|
646
669
|
CustomLinkRenderer.renderText = function(oRm, oControl) {
|
|
647
670
|
oRm.renderControl(oControl._getIconAggregation());
|
|
648
671
|
LinkRenderer.renderText(oRm, oControl);
|
|
@@ -652,7 +675,8 @@ sap.ui.define([
|
|
|
652
675
|
metadata: {
|
|
653
676
|
library: "sap.m",
|
|
654
677
|
properties: {
|
|
655
|
-
icon: {type
|
|
678
|
+
icon: {type: "sap.ui.core.URI", group: "Data", defaultValue: null},
|
|
679
|
+
iconOnly: {type: "boolean", group: "Appearance", defaultValue: false}
|
|
656
680
|
},
|
|
657
681
|
aggregations: {
|
|
658
682
|
_iconControl: {type: "sap.ui.core.Icon", multiple: false, visibility: "hidden"}
|
|
@@ -24,13 +24,25 @@ sap.ui.define([],
|
|
|
24
24
|
* @param {sap.m.ObjectMarker} oControl an object representation of the control that should be rendered
|
|
25
25
|
*/
|
|
26
26
|
ObjectMarkerRenderer.render = function(oRm, oControl) {
|
|
27
|
+
var oInnerControl = oControl._getInnerControl(),
|
|
28
|
+
bIsIconOnly = oControl._isIconVisible() && !oControl._isTextVisible(),
|
|
29
|
+
oInnerIcon;
|
|
27
30
|
|
|
28
31
|
// start control wrapper
|
|
29
32
|
oRm.openStart("span", oControl);
|
|
30
33
|
oRm.class("sapMObjectMarker");
|
|
31
34
|
oRm.openEnd();
|
|
32
|
-
|
|
33
|
-
|
|
35
|
+
if (oInnerControl) {
|
|
36
|
+
oInnerControl.setIconOnly(bIsIconOnly);
|
|
37
|
+
if (oControl.hasListeners("press")) {
|
|
38
|
+
// if the control have "press" attached, and is icon-only, attach control's "press" handler to the inner icon
|
|
39
|
+
oInnerIcon = oInnerControl._getIconAggregation();
|
|
40
|
+
if (bIsIconOnly && oInnerIcon && !oInnerIcon.hasListeners("press")) {
|
|
41
|
+
oInnerIcon.attachPress(oControl._firePress, oControl);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
oRm.renderControl(oInnerControl);
|
|
34
46
|
// end control wrapper
|
|
35
47
|
oRm.close("span");
|
|
36
48
|
};
|
|
@@ -30,7 +30,7 @@ sap.ui.define(['./Popover', './OverflowToolbarAssociativePopoverControls', './Ov
|
|
|
30
30
|
* @extends sap.m.Popover
|
|
31
31
|
*
|
|
32
32
|
* @author SAP SE
|
|
33
|
-
* @version 1.
|
|
33
|
+
* @version 1.101.0
|
|
34
34
|
*
|
|
35
35
|
* @constructor
|
|
36
36
|
* @private
|
|
@@ -187,7 +187,7 @@ sap.ui.define(['./Popover', './OverflowToolbarAssociativePopoverControls', './Ov
|
|
|
187
187
|
return Popover.prototype._recalculateMargins.apply(this, arguments);
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
oPosParams.
|
|
190
|
+
oPosParams._fPopoverMarginBottom = oPosParams._fWindowHeight - oPosParams._$parent.offset().top + this._arrowOffset + oPosParams._fPopoverOffsetY;
|
|
191
191
|
return oPosParams;
|
|
192
192
|
};
|
|
193
193
|
|
|
@@ -22,7 +22,7 @@ sap.ui.define(['sap/m/ToolbarLayoutData', 'sap/m/library', "sap/base/Log"],
|
|
|
22
22
|
* Holds layout data for the {@link sap.m.OverflowToolbar} items.
|
|
23
23
|
* @extends sap.m.ToolbarLayoutData
|
|
24
24
|
* @author SAP SE
|
|
25
|
-
* @version 1.
|
|
25
|
+
* @version 1.101.0
|
|
26
26
|
*
|
|
27
27
|
* @constructor
|
|
28
28
|
* @public
|
|
@@ -17,7 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
* @param {object} [mSettings] initial settings for the new control
|
|
18
18
|
* @class Type for <code>filterItems</code> aggregation in P13nFilterPanel control.
|
|
19
19
|
* @extends sap.m.P13nFilterItem
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.101.0
|
|
21
21
|
* @constructor
|
|
22
22
|
* @private
|
|
23
23
|
* @since 1.56.0
|
|
@@ -17,7 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
* @param {object} [mSettings] initial settings for the new control
|
|
18
18
|
* @class Type for <code>columnsItems</code> aggregation in <code>P13nColumnsPanel</code> control.
|
|
19
19
|
* @extends sap.ui.core.Item
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.101.0
|
|
21
21
|
* @constructor
|
|
22
22
|
* @author SAP SE
|
|
23
23
|
* @public
|
|
@@ -38,7 +38,7 @@ sap.ui.define([
|
|
|
38
38
|
* @class The <code>P13nColumnsPanel</code> control is used to define column-specific settings for table personalization.
|
|
39
39
|
* @extends sap.m.P13nPanel
|
|
40
40
|
* @author SAP SE
|
|
41
|
-
* @version 1.
|
|
41
|
+
* @version 1.101.0
|
|
42
42
|
* @constructor
|
|
43
43
|
* @deprecated as of version 1.98. Use the {@link sap.m.p13n.SelectionPanel} instead.
|
|
44
44
|
* @public
|
|
@@ -112,7 +112,7 @@ sap.ui.define([
|
|
|
112
112
|
* @param {object} [mSettings] initial settings for the new control
|
|
113
113
|
* @class The ConditionPanel Control will be used to implement the Sorting, Filtering and Grouping panel of the new Personalization dialog.
|
|
114
114
|
* @extends sap.ui.core.Control
|
|
115
|
-
* @version 1.
|
|
115
|
+
* @version 1.101.0
|
|
116
116
|
* @constructor
|
|
117
117
|
* @public
|
|
118
118
|
* @since 1.26.0
|
package/src/sap/m/P13nDialog.js
CHANGED
|
@@ -16,7 +16,7 @@ sap.ui.define([
|
|
|
16
16
|
* @param {object} [mSettings] initial settings for the new control
|
|
17
17
|
* @class Type for <code>columnsItems</code> aggregation in <code>P13nDimMeasurePanel</code> control.
|
|
18
18
|
* @extends sap.ui.core.Item
|
|
19
|
-
* @version 1.
|
|
19
|
+
* @version 1.101.0
|
|
20
20
|
* @constructor
|
|
21
21
|
* @author SAP SE
|
|
22
22
|
* @public
|
|
@@ -17,7 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
* @param {object} [mSettings] initial settings for the new control
|
|
18
18
|
* @class Type for <code>filterItems</code> aggregation in P13nFilterPanel control.
|
|
19
19
|
* @extends sap.ui.core.Item
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.101.0
|
|
21
21
|
* @constructor
|
|
22
22
|
* @public
|
|
23
23
|
* @since 1.26.0
|
|
@@ -23,7 +23,7 @@ sap.ui.define([
|
|
|
23
23
|
* @param {object} [mSettings] initial settings for the new control
|
|
24
24
|
* @class The P13nFilterPanel control is used to define filter-specific settings for table personalization.
|
|
25
25
|
* @extends sap.m.P13nPanel
|
|
26
|
-
* @version 1.
|
|
26
|
+
* @version 1.101.0
|
|
27
27
|
* @constructor
|
|
28
28
|
* @public
|
|
29
29
|
* @since 1.26.0
|
|
@@ -17,7 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
* @param {object} [mSettings] initial settings for the new control
|
|
18
18
|
* @class Type for <code>groupItems</code> aggregation in P13nGroupPanel control.
|
|
19
19
|
* @extends sap.ui.core.Item
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.101.0
|
|
21
21
|
* @constructor
|
|
22
22
|
* @public
|
|
23
23
|
* @since 1.28.0
|