@openui5/sap.m 1.106.0 → 1.107.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/package.json +4 -4
- package/src/sap/m/.library +4 -1
- package/src/sap/m/AccButton.js +4 -3
- package/src/sap/m/ActionListItem.js +14 -11
- package/src/sap/m/ActionSelect.js +14 -11
- package/src/sap/m/ActionSheet.js +103 -101
- package/src/sap/m/ActionSheetRenderer.js +3 -3
- package/src/sap/m/ActionTile.js +90 -0
- package/src/sap/m/ActionTileContent.js +71 -0
- package/src/sap/m/ActionTileContentRenderer.js +108 -0
- package/src/sap/m/App.js +107 -104
- package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
- package/src/sap/m/Avatar.js +4 -3
- package/src/sap/m/AvatarColor.js +0 -1
- package/src/sap/m/AvatarImageFitType.js +0 -1
- package/src/sap/m/AvatarShape.js +0 -1
- package/src/sap/m/AvatarSize.js +0 -1
- package/src/sap/m/AvatarType.js +0 -1
- package/src/sap/m/Bar.js +103 -89
- package/src/sap/m/BarRenderer.js +3 -3
- package/src/sap/m/Breadcrumbs.js +4 -3
- package/src/sap/m/BusyDialog.js +1 -2
- package/src/sap/m/BusyIndicator.js +76 -73
- package/src/sap/m/Button.js +123 -120
- package/src/sap/m/Carousel.js +148 -147
- package/src/sap/m/CarouselLayout.js +1 -2
- package/src/sap/m/CheckBox.js +178 -175
- package/src/sap/m/CheckBoxRenderer.js +3 -3
- package/src/sap/m/ColorPalette.js +4 -3
- package/src/sap/m/ColorPalettePopover.js +24 -21
- package/src/sap/m/Column.js +1 -2
- package/src/sap/m/ColumnHeaderPopover.js +1 -2
- package/src/sap/m/ColumnListItem.js +39 -50
- package/src/sap/m/ColumnListItemRenderer.js +0 -3
- package/src/sap/m/ColumnPopoverActionItem.js +1 -2
- package/src/sap/m/ColumnPopoverCustomItem.js +1 -2
- package/src/sap/m/ColumnPopoverItem.js +1 -2
- package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
- package/src/sap/m/ColumnPopoverSortItem.js +1 -2
- package/src/sap/m/ComboBox.js +4 -3
- package/src/sap/m/ComboBoxBase.js +1 -2
- package/src/sap/m/ComboBoxTextField.js +4 -3
- package/src/sap/m/CustomAttribute.js +53 -0
- package/src/sap/m/CustomDynamicDateOption.js +1 -2
- package/src/sap/m/CustomListItem.js +24 -21
- package/src/sap/m/CustomTile.js +19 -16
- package/src/sap/m/CustomTreeItem.js +4 -3
- package/src/sap/m/DatePicker.js +146 -141
- package/src/sap/m/DateRangeSelection.js +45 -40
- package/src/sap/m/DateTimeField.js +11 -8
- package/src/sap/m/DateTimeInput.js +147 -142
- package/src/sap/m/DateTimePicker.js +78 -72
- package/src/sap/m/Dialog.js +4 -6
- package/src/sap/m/DisplayListItem.js +23 -20
- package/src/sap/m/DraftIndicator.js +4 -3
- package/src/sap/m/DynamicDate.js +1 -1
- package/src/sap/m/DynamicDateFormat.js +4 -3
- package/src/sap/m/DynamicDateOption.js +1 -2
- package/src/sap/m/DynamicDateRange.js +11 -10
- package/src/sap/m/DynamicDateValueHelpUIType.js +1 -2
- package/src/sap/m/ExpandableText.js +4 -3
- package/src/sap/m/FacetFilter.js +112 -110
- package/src/sap/m/FacetFilterItem.js +27 -24
- package/src/sap/m/FacetFilterList.js +129 -130
- package/src/sap/m/FeedContent.js +4 -3
- package/src/sap/m/FeedInput.js +136 -133
- package/src/sap/m/FeedListItem.js +9 -6
- package/src/sap/m/FeedListItemAction.js +1 -2
- package/src/sap/m/FeedListItemRenderer.js +3 -3
- package/src/sap/m/Fiori20Adapter.js +2 -2
- package/src/sap/m/FlexBox.js +96 -93
- package/src/sap/m/FlexItemData.js +1 -2
- package/src/sap/m/FormattedText.js +12 -5
- package/src/sap/m/GenericTag.js +5 -4
- package/src/sap/m/GenericTile.js +7 -6
- package/src/sap/m/GenericTileLineModeRenderer.js +3 -3
- package/src/sap/m/GenericTileRenderer.js +29 -4
- package/src/sap/m/GroupHeaderListItem.js +35 -32
- package/src/sap/m/GrowingList.js +35 -32
- package/src/sap/m/HBox.js +9 -6
- package/src/sap/m/HeaderContainer.js +13 -14
- package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
- package/src/sap/m/IconTabBar.js +232 -229
- package/src/sap/m/IconTabBarDragAndDropUtil.js +5 -4
- package/src/sap/m/IconTabBarSelectList.js +28 -25
- package/src/sap/m/IconTabFilter.js +1 -2
- package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -2
- package/src/sap/m/IconTabHeader.js +151 -148
- package/src/sap/m/IconTabSeparator.js +1 -2
- package/src/sap/m/IllustratedMessage.js +4 -3
- package/src/sap/m/IllustratedMessageSize.js +0 -1
- package/src/sap/m/IllustratedMessageType.js +0 -1
- package/src/sap/m/Illustration.js +4 -3
- package/src/sap/m/Image.js +199 -196
- package/src/sap/m/ImageContent.js +4 -3
- package/src/sap/m/Input.js +375 -369
- package/src/sap/m/InputBase.js +143 -140
- package/src/sap/m/InputBaseRenderer.js +3 -3
- package/src/sap/m/InputListItem.js +26 -23
- package/src/sap/m/InputRenderer.js +4 -4
- package/src/sap/m/Label.js +110 -106
- package/src/sap/m/LightBox.js +4 -5
- package/src/sap/m/LightBoxItem.js +1 -2
- package/src/sap/m/Link.js +182 -179
- package/src/sap/m/LinkRenderer.js +5 -1
- package/src/sap/m/List.js +15 -12
- package/src/sap/m/ListBase.js +447 -454
- package/src/sap/m/ListItemBase.js +115 -106
- package/src/sap/m/ListItemBaseRenderer.js +1 -1
- package/src/sap/m/MaskEnabler.js +5 -5
- package/src/sap/m/MaskInput.js +4 -3
- package/src/sap/m/MaskInputRule.js +1 -2
- package/src/sap/m/Menu.js +1 -2
- package/src/sap/m/MenuButton.js +142 -135
- package/src/sap/m/MenuItem.js +1 -2
- package/src/sap/m/MenuListItem.js +49 -46
- package/src/sap/m/MessageItem.js +1 -2
- package/src/sap/m/MessageListItem.js +4 -3
- package/src/sap/m/MessagePage.js +124 -121
- package/src/sap/m/MessagePopover.js +6 -6
- package/src/sap/m/MessagePopoverItem.js +1 -2
- package/src/sap/m/MessageStrip.js +4 -3
- package/src/sap/m/MessageToast.js +6 -5
- package/src/sap/m/MessageView.js +6 -5
- package/src/sap/m/MultiComboBox.js +84 -87
- package/src/sap/m/MultiEditField.js +1 -1
- package/src/sap/m/MultiInput.js +4 -3
- package/src/sap/m/NavContainer.js +6 -15
- package/src/sap/m/NewsContent.js +4 -3
- package/src/sap/m/NotificationList.js +4 -3
- package/src/sap/m/NotificationListBase.js +5 -7
- package/src/sap/m/NotificationListGroup.js +4 -3
- package/src/sap/m/NotificationListItem.js +4 -12
- package/src/sap/m/NumericContent.js +8 -6
- package/src/sap/m/NumericInput.js +1 -1
- package/src/sap/m/NumericInputRenderer.js +3 -3
- package/src/sap/m/ObjectAttribute.js +77 -74
- package/src/sap/m/ObjectAttributeRenderer.js +3 -3
- package/src/sap/m/ObjectHeader.js +385 -380
- package/src/sap/m/ObjectHeaderRenderer.js +4 -3
- package/src/sap/m/ObjectIdentifier.js +106 -101
- package/src/sap/m/ObjectListItem.js +150 -145
- package/src/sap/m/ObjectMarker.js +4 -3
- package/src/sap/m/ObjectNumber.js +90 -87
- package/src/sap/m/ObjectStatus.js +84 -81
- package/src/sap/m/OverflowToolbar.js +4 -3
- package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
- package/src/sap/m/OverflowToolbarButton.js +1 -2
- package/src/sap/m/OverflowToolbarLayoutData.js +1 -2
- package/src/sap/m/OverflowToolbarToggleButton.js +1 -2
- package/src/sap/m/P13nAnyFilterItem.js +1 -2
- package/src/sap/m/P13nColumnsItem.js +1 -2
- package/src/sap/m/P13nColumnsPanel.js +4 -5
- package/src/sap/m/P13nConditionPanel.js +1 -2
- package/src/sap/m/P13nDialog.js +1 -2
- package/src/sap/m/P13nDimMeasureItem.js +1 -2
- package/src/sap/m/P13nDimMeasurePanel.js +6 -5
- package/src/sap/m/P13nFilterItem.js +1 -2
- package/src/sap/m/P13nFilterPanel.js +1 -2
- package/src/sap/m/P13nGroupItem.js +1 -2
- package/src/sap/m/P13nGroupPanel.js +1 -2
- package/src/sap/m/P13nItem.js +1 -2
- package/src/sap/m/P13nPanel.js +1 -2
- package/src/sap/m/P13nSelectionItem.js +1 -2
- package/src/sap/m/P13nSelectionPanel.js +1 -2
- package/src/sap/m/P13nSortItem.js +1 -2
- package/src/sap/m/P13nSortPanel.js +1 -2
- package/src/sap/m/PDFViewer.js +8 -5
- package/src/sap/m/Page.js +9 -7
- package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -2
- package/src/sap/m/PagingButton.js +4 -4
- package/src/sap/m/Panel.js +117 -113
- package/src/sap/m/PlanningCalendar.js +6 -7
- package/src/sap/m/PlanningCalendarHeader.js +135 -129
- package/src/sap/m/PlanningCalendarLegend.js +26 -23
- package/src/sap/m/PlanningCalendarRow.js +1 -2
- package/src/sap/m/PlanningCalendarView.js +1 -2
- package/src/sap/m/Popover.js +15 -16
- package/src/sap/m/PopoverRenderer.js +5 -4
- package/src/sap/m/ProgressIndicator.js +85 -82
- package/src/sap/m/ProgressIndicatorRenderer.js +1 -1
- package/src/sap/m/PullToRefresh.js +37 -35
- package/src/sap/m/QuickView.js +1 -2
- package/src/sap/m/QuickViewBase.js +1 -2
- package/src/sap/m/QuickViewCard.js +4 -3
- package/src/sap/m/QuickViewGroup.js +1 -2
- package/src/sap/m/QuickViewGroupElement.js +1 -2
- package/src/sap/m/QuickViewPage.js +1 -2
- package/src/sap/m/RadioButton.js +117 -114
- package/src/sap/m/RadioButtonGroup.js +90 -88
- package/src/sap/m/RangeSlider.js +9 -6
- package/src/sap/m/RangeSliderRenderer.js +2 -2
- package/src/sap/m/RatingIndicator.js +104 -100
- package/src/sap/m/RatingIndicatorRenderer.js +3 -5
- package/src/sap/m/ResponsivePopover.js +209 -209
- package/src/sap/m/ResponsiveScale.js +1 -2
- package/src/sap/m/ScrollBar.js +31 -28
- package/src/sap/m/ScrollContainer.js +9 -7
- package/src/sap/m/SearchField.js +185 -182
- package/src/sap/m/SegmentedButton.js +120 -118
- package/src/sap/m/SegmentedButtonItem.js +1 -2
- package/src/sap/m/Select.js +22 -9
- package/src/sap/m/SelectDialog.js +22 -17
- package/src/sap/m/SelectDialogBase.js +1 -2
- package/src/sap/m/SelectList.js +4 -3
- package/src/sap/m/SelectionDetails.js +97 -92
- package/src/sap/m/SelectionDetailsFacade.js +2 -2
- package/src/sap/m/SelectionDetailsItem.js +1 -2
- package/src/sap/m/SelectionDetailsItemLine.js +1 -2
- package/src/sap/m/Shell.js +111 -107
- package/src/sap/m/SimpleFixFlex.js +5 -5
- package/src/sap/m/SinglePlanningCalendar.js +342 -338
- package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarGrid.js +25 -10
- package/src/sap/m/SinglePlanningCalendarGridRenderer.js +8 -7
- package/src/sap/m/SinglePlanningCalendarMonthGrid.js +16 -7
- package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarView.js +1 -1
- package/src/sap/m/SinglePlanningCalendarWeekView.js +5 -4
- package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +5 -4
- package/src/sap/m/SlideTile.js +10 -7
- package/src/sap/m/Slider.js +180 -175
- package/src/sap/m/SliderRenderer.js +4 -4
- package/src/sap/m/SliderTooltip.js +5 -5
- package/src/sap/m/SliderTooltipBase.js +4 -3
- package/src/sap/m/SliderTooltipContainer.js +10 -6
- package/src/sap/m/SplitApp.js +52 -49
- package/src/sap/m/SplitButton.js +103 -96
- package/src/sap/m/SplitContainer.js +405 -420
- package/src/sap/m/StandardDynamicDateOption.js +1 -2
- package/src/sap/m/StandardListItem.js +116 -113
- package/src/sap/m/StandardTile.js +64 -61
- package/src/sap/m/StandardTreeItem.js +20 -17
- package/src/sap/m/StepInput.js +4 -3
- package/src/sap/m/SuggestionItem.js +1 -2
- package/src/sap/m/SuggestionsPopover.js +1 -1
- package/src/sap/m/Switch.js +79 -74
- package/src/sap/m/SwitchRenderer.js +3 -3
- package/src/sap/m/TabContainer.js +4 -3
- package/src/sap/m/TabContainerItem.js +1 -2
- package/src/sap/m/TabStrip.js +13 -11
- package/src/sap/m/TabStripItem.js +1 -1
- package/src/sap/m/Table.js +177 -174
- package/src/sap/m/TablePersoController.js +6 -5
- package/src/sap/m/TablePersoDialog.js +6 -4
- package/src/sap/m/TablePersoProvider.js +1 -1
- package/src/sap/m/TableRenderer.js +1 -1
- package/src/sap/m/TableSelectDialog.js +1 -3
- package/src/sap/m/Text.js +4 -3
- package/src/sap/m/TextArea.js +87 -84
- package/src/sap/m/Tile.js +20 -17
- package/src/sap/m/TileContainer.js +73 -73
- package/src/sap/m/TileContent.js +57 -6
- package/src/sap/m/TimePicker.js +15 -10
- package/src/sap/m/TimePickerClock.js +2 -2
- package/src/sap/m/TimePickerClocks.js +4 -2
- package/src/sap/m/TimePickerInputs.js +4 -2
- package/src/sap/m/TimePickerInternals.js +11 -7
- package/src/sap/m/TimePickerSlider.js +5 -4
- package/src/sap/m/TimePickerSliders.js +11 -7
- package/src/sap/m/TimePickerSlidersRenderer.js +2 -2
- package/src/sap/m/Title.js +109 -106
- package/src/sap/m/TitlePropagationSupport.js +4 -4
- package/src/sap/m/ToDoCardRenderer.js +161 -0
- package/src/sap/m/ToggleButton.js +29 -26
- package/src/sap/m/Token.js +97 -94
- package/src/sap/m/Tokenizer.js +153 -150
- package/src/sap/m/Toolbar.js +104 -101
- package/src/sap/m/ToolbarLayoutData.js +1 -2
- package/src/sap/m/ToolbarSeparator.js +11 -8
- package/src/sap/m/ToolbarSpacer.js +16 -13
- package/src/sap/m/Tree.js +32 -29
- package/src/sap/m/TreeItemBase.js +8 -5
- package/src/sap/m/TreeItemBaseRenderer.js +3 -3
- package/src/sap/m/UploadCollection.js +8 -5
- package/src/sap/m/UploadCollectionItem.js +1 -2
- package/src/sap/m/UploadCollectionParameter.js +1 -2
- package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -2
- package/src/sap/m/VBox.js +9 -6
- package/src/sap/m/ValueStateHeader.js +1 -2
- package/src/sap/m/VariantItem.js +6 -1
- package/src/sap/m/VariantManagement.js +28 -8
- package/src/sap/m/ViewSettingsCustomItem.js +1 -2
- package/src/sap/m/ViewSettingsCustomTab.js +1 -2
- package/src/sap/m/ViewSettingsDialog.js +189 -188
- package/src/sap/m/ViewSettingsFilterItem.js +1 -2
- package/src/sap/m/ViewSettingsItem.js +1 -2
- package/src/sap/m/VisibleItem.js +1 -1
- package/src/sap/m/WheelSlider.js +5 -4
- package/src/sap/m/WheelSliderContainer.js +4 -2
- package/src/sap/m/WheelSliderContainerRenderer.js +2 -2
- package/src/sap/m/Wizard.js +4 -3
- package/src/sap/m/WizardProgressNavigator.js +52 -49
- package/src/sap/m/WizardStep.js +4 -3
- 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 +4 -3
- 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/library.js +10 -115
- package/src/sap/m/messagebundle.properties +18 -12
- package/src/sap/m/messagebundle_ar.properties +6 -4
- package/src/sap/m/messagebundle_bg.properties +5 -3
- package/src/sap/m/messagebundle_ca.properties +8 -6
- package/src/sap/m/messagebundle_cs.properties +16 -14
- package/src/sap/m/messagebundle_cy.properties +5 -3
- package/src/sap/m/messagebundle_da.properties +5 -3
- package/src/sap/m/messagebundle_de.properties +14 -12
- package/src/sap/m/messagebundle_el.properties +5 -3
- package/src/sap/m/messagebundle_en.properties +5 -3
- package/src/sap/m/messagebundle_en_GB.properties +5 -3
- package/src/sap/m/messagebundle_en_US_sappsd.properties +5 -1
- package/src/sap/m/messagebundle_en_US_saprigi.properties +9 -7
- package/src/sap/m/messagebundle_en_US_saptrc.properties +2 -0
- package/src/sap/m/messagebundle_es.properties +5 -3
- package/src/sap/m/messagebundle_es_MX.properties +5 -3
- package/src/sap/m/messagebundle_et.properties +5 -3
- package/src/sap/m/messagebundle_fi.properties +5 -3
- package/src/sap/m/messagebundle_fr.properties +6 -4
- package/src/sap/m/messagebundle_fr_CA.properties +6 -4
- package/src/sap/m/messagebundle_hi.properties +5 -3
- package/src/sap/m/messagebundle_hr.properties +5 -3
- package/src/sap/m/messagebundle_hu.properties +5 -3
- package/src/sap/m/messagebundle_id.properties +5 -3
- package/src/sap/m/messagebundle_it.properties +5 -3
- package/src/sap/m/messagebundle_iw.properties +5 -3
- package/src/sap/m/messagebundle_ja.properties +5 -3
- package/src/sap/m/messagebundle_kk.properties +5 -3
- package/src/sap/m/messagebundle_ko.properties +5 -3
- package/src/sap/m/messagebundle_lt.properties +6 -4
- package/src/sap/m/messagebundle_lv.properties +5 -3
- package/src/sap/m/messagebundle_ms.properties +5 -3
- package/src/sap/m/messagebundle_nl.properties +5 -3
- package/src/sap/m/messagebundle_no.properties +5 -3
- package/src/sap/m/messagebundle_pl.properties +5 -3
- package/src/sap/m/messagebundle_pt.properties +5 -3
- package/src/sap/m/messagebundle_pt_PT.properties +5 -3
- package/src/sap/m/messagebundle_ro.properties +5 -3
- package/src/sap/m/messagebundle_ru.properties +5 -3
- package/src/sap/m/messagebundle_sh.properties +5 -3
- package/src/sap/m/messagebundle_sk.properties +5 -3
- package/src/sap/m/messagebundle_sl.properties +5 -3
- package/src/sap/m/messagebundle_sv.properties +5 -3
- package/src/sap/m/messagebundle_th.properties +5 -3
- package/src/sap/m/messagebundle_tr.properties +5 -3
- package/src/sap/m/messagebundle_uk.properties +5 -3
- package/src/sap/m/messagebundle_vi.properties +5 -3
- package/src/sap/m/messagebundle_zh_CN.properties +5 -3
- package/src/sap/m/messagebundle_zh_TW.properties +5 -3
- 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 +5 -1
- package/src/sap/m/p13n/Container.js +1 -1
- package/src/sap/m/p13n/Engine.js +84 -79
- package/src/sap/m/p13n/GroupController.js +3 -4
- package/src/sap/m/p13n/GroupPanel.js +1 -1
- package/src/sap/m/p13n/MetadataHelper.js +8 -0
- package/src/sap/m/p13n/Popup.js +1 -1
- package/src/sap/m/p13n/QueryPanel.js +1 -1
- package/src/sap/m/p13n/SelectionController.js +8 -7
- package/src/sap/m/p13n/SelectionPanel.js +29 -13
- package/src/sap/m/p13n/SortController.js +3 -4
- package/src/sap/m/p13n/SortPanel.js +1 -1
- package/src/sap/m/p13n/modification/FlexModificationHandler.js +1 -1
- package/src/sap/m/p13n/modification/LocalStorageModificationHandler.js +1 -1
- package/src/sap/m/p13n/modification/ModificationHandler.js +11 -0
- package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -1
- package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
- package/src/sap/m/p13n/modules/UIManager.js +1 -1
- package/src/sap/m/plugins/CellSelector.js +459 -76
- package/src/sap/m/plugins/ColumnResizer.js +1 -2
- package/src/sap/m/plugins/DataStateIndicator.js +1 -2
- package/src/sap/m/plugins/PasteProvider.js +1 -2
- package/src/sap/m/plugins/PluginBase.js +1 -2
- package/src/sap/m/semantic/AddAction.js +1 -2
- package/src/sap/m/semantic/CancelAction.js +1 -2
- package/src/sap/m/semantic/DeleteAction.js +1 -2
- package/src/sap/m/semantic/DetailPage.js +1 -2
- package/src/sap/m/semantic/DiscussInJamAction.js +1 -2
- package/src/sap/m/semantic/EditAction.js +1 -2
- package/src/sap/m/semantic/FavoriteAction.js +1 -2
- package/src/sap/m/semantic/FilterAction.js +1 -2
- package/src/sap/m/semantic/FilterSelect.js +1 -2
- package/src/sap/m/semantic/FlagAction.js +1 -2
- package/src/sap/m/semantic/ForwardAction.js +1 -2
- package/src/sap/m/semantic/FullscreenPage.js +1 -2
- package/src/sap/m/semantic/GroupAction.js +1 -2
- package/src/sap/m/semantic/GroupSelect.js +1 -2
- package/src/sap/m/semantic/MainAction.js +1 -2
- package/src/sap/m/semantic/MasterPage.js +1 -2
- package/src/sap/m/semantic/MessagesIndicator.js +1 -2
- package/src/sap/m/semantic/MultiSelectAction.js +1 -2
- package/src/sap/m/semantic/NegativeAction.js +1 -2
- package/src/sap/m/semantic/OpenInAction.js +1 -2
- package/src/sap/m/semantic/PositiveAction.js +1 -2
- package/src/sap/m/semantic/PrintAction.js +1 -2
- package/src/sap/m/semantic/SaveAction.js +1 -2
- package/src/sap/m/semantic/Segment.js +1 -2
- package/src/sap/m/semantic/SegmentedContainer.js +1 -1
- package/src/sap/m/semantic/SemanticButton.js +1 -2
- package/src/sap/m/semantic/SemanticConfiguration.js +1 -2
- package/src/sap/m/semantic/SemanticControl.js +1 -2
- package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -2
- package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -2
- package/src/sap/m/semantic/SemanticPage.js +4 -3
- package/src/sap/m/semantic/SemanticSelect.js +1 -2
- package/src/sap/m/semantic/SemanticToggleButton.js +1 -2
- package/src/sap/m/semantic/SendEmailAction.js +1 -2
- package/src/sap/m/semantic/SendMessageAction.js +1 -2
- package/src/sap/m/semantic/ShareInJamAction.js +1 -2
- package/src/sap/m/semantic/ShareMenu.js +1 -2
- package/src/sap/m/semantic/ShareMenuPage.js +1 -2
- package/src/sap/m/semantic/SortAction.js +1 -2
- package/src/sap/m/semantic/SortSelect.js +1 -2
- package/src/sap/m/table/Util.js +1 -1
- 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 +2 -2
- package/src/sap/m/table/columnmenu/ItemContainer.js +1 -1
- package/src/sap/m/table/columnmenu/Menu.js +20 -9
- package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionBase.js +2 -2
- package/src/sap/m/table/columnmenu/QuickActionContainer.js +1 -1
- package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickGroup.js +1 -1
- package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
- package/src/sap/m/table/columnmenu/QuickSort.js +6 -4
- package/src/sap/m/table/columnmenu/QuickSortItem.js +4 -8
- package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
- package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
- package/src/sap/m/themes/base/ActionTile.less +239 -0
- package/src/sap/m/themes/base/Bar.less +6 -0
- package/src/sap/m/themes/base/CellSelector.less +109 -2
- package/src/sap/m/themes/base/IconTabBar.less +2 -0
- package/src/sap/m/themes/base/Link.less +4 -0
- package/src/sap/m/themes/base/Page.less +2 -1
- package/src/sap/m/themes/base/library.source.less +1 -0
- package/src/sap/m/upload/UploadSet.js +104 -10
- package/src/sap/m/upload/UploadSetItem.js +1 -2
- package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
- package/src/sap/m/upload/Uploader.js +0 -1
- package/src/sap/m/upload/UploaderHttpRequestMethod.js +0 -1
|
@@ -17,7 +17,8 @@ sap.ui.define([
|
|
|
17
17
|
'./ObjectHeaderRenderer',
|
|
18
18
|
'./ObjectMarker',
|
|
19
19
|
'./ObjectNumber',
|
|
20
|
-
"sap/ui/thirdparty/jquery"
|
|
20
|
+
"sap/ui/thirdparty/jquery",
|
|
21
|
+
"sap/ui/core/Configuration"
|
|
21
22
|
],
|
|
22
23
|
function(
|
|
23
24
|
library,
|
|
@@ -31,7 +32,8 @@ sap.ui.define([
|
|
|
31
32
|
ObjectHeaderRenderer,
|
|
32
33
|
ObjectMarker,
|
|
33
34
|
ObjectNumber,
|
|
34
|
-
jQuery
|
|
35
|
+
jQuery,
|
|
36
|
+
Configuration
|
|
35
37
|
) {
|
|
36
38
|
"use strict";
|
|
37
39
|
|
|
@@ -80,396 +82,399 @@ sap.ui.define([
|
|
|
80
82
|
* <code>sapUiResponsivePadding--header</code>.
|
|
81
83
|
*
|
|
82
84
|
* @extends sap.ui.core.Control
|
|
83
|
-
* @version 1.
|
|
85
|
+
* @version 1.107.0
|
|
84
86
|
*
|
|
85
87
|
* @constructor
|
|
86
88
|
* @public
|
|
87
89
|
* @since 1.12
|
|
88
90
|
* @alias sap.m.ObjectHeader
|
|
89
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
90
91
|
*/
|
|
91
|
-
var ObjectHeader = Control.extend("sap.m.ObjectHeader", /** @lends sap.m.ObjectHeader.prototype */ {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
92
|
+
var ObjectHeader = Control.extend("sap.m.ObjectHeader", /** @lends sap.m.ObjectHeader.prototype */ {
|
|
93
|
+
metadata : {
|
|
94
|
+
|
|
95
|
+
library : "sap.m",
|
|
96
|
+
designtime: "sap/m/designtime/ObjectHeader.designtime",
|
|
97
|
+
properties : {
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Determines the title of the <code>ObjectHeader</code>.
|
|
101
|
+
*/
|
|
102
|
+
title : {type : "string", group : "Misc", defaultValue : null},
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Determines the displayed number of the <code>ObjectHeader</code> number field.
|
|
106
|
+
*/
|
|
107
|
+
number : {type : "string", group : "Misc", defaultValue : null},
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Determines the units qualifier of the <code>ObjectHeader</code> number.
|
|
111
|
+
*
|
|
112
|
+
* <b>Note:</b> The value of the <code>numberUnit</code> is not displayed if the
|
|
113
|
+
* number property is set to <code>null</code>.
|
|
114
|
+
*/
|
|
115
|
+
numberUnit : {type : "string", group : "Misc", defaultValue : null},
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Determines the introductory text for the <code>ObjectHeader</code>.
|
|
119
|
+
*/
|
|
120
|
+
intro : {type : "string", group : "Misc", defaultValue : null},
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Determines whether the introductory text of the <code>ObjectHeader</code> is clickable.
|
|
124
|
+
*/
|
|
125
|
+
introActive : {type : "boolean", group : "Misc", defaultValue : null},
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Determines whether the title of the <code>ObjectHeader</code> is clickable
|
|
129
|
+
* and is set only if a title is provided.
|
|
130
|
+
*/
|
|
131
|
+
titleActive : {type : "boolean", group : "Misc", defaultValue : null},
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Defines the icon of the <code>ObjectHeader</code>.
|
|
135
|
+
*
|
|
136
|
+
* <b>Note:</b> Recursive resolution of binding expressions is not supported by the framework.
|
|
137
|
+
* It works only in ObjectHeader, since it is a composite control and creates an Image control internally.
|
|
138
|
+
*/
|
|
139
|
+
icon : {type : "sap.ui.core.URI", group : "Misc", defaultValue : null},
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Determines whether the <code>ObjectHeader</code> icon is clickable.
|
|
143
|
+
*/
|
|
144
|
+
iconActive : {type : "boolean", group : "Misc", defaultValue : null},
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Determines the alternative text of the <code>ObjectHeader</code> icon. The text is
|
|
148
|
+
* displayed if the image for the icon is not available, or cannot be displayed.
|
|
149
|
+
*
|
|
150
|
+
* <b>Note:</b> Provide an empty string value for the <code>iconAlt</code> property
|
|
151
|
+
* in case you want to use the icon for decoration only.
|
|
152
|
+
*/
|
|
153
|
+
iconAlt : {type : "string", group : "Accessibility", defaultValue : null},
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* Determines the tooltip text of the <code>ObjectHeader</code> icon.
|
|
157
|
+
*/
|
|
158
|
+
iconTooltip : {type : "string", group : "Accessibility", defaultValue : null},
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* By default, this is set to <code>true</code> but then one or more requests are sent trying to get
|
|
162
|
+
* the density perfect version of image if this version of image doesn't exist on the server.
|
|
163
|
+
*
|
|
164
|
+
* If bandwidth is the key for the application, set this value to <code>false</code>.
|
|
165
|
+
*/
|
|
166
|
+
iconDensityAware : {type : "boolean", group : "Misc", defaultValue : true},
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* Determines whether the picture should be displayed in a square or with a circle-shaped mask just like in {@link sap.uxap.ObjectPageHeader}.
|
|
170
|
+
*
|
|
171
|
+
* <b>Note:</b> This property takes effect only on Images and it is ignored for Icons.
|
|
172
|
+
* @since 1.61
|
|
173
|
+
*/
|
|
174
|
+
imageShape: {type: "sap.m.ObjectHeaderPictureShape", group : "Appearance", defaultValue: ObjectHeaderPictureShape.Square},
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* Sets the favorite state for the <code>ObjectHeader</code>. The <code>showMarkers</code>
|
|
178
|
+
* property must be set to <code>true</code> for this property to take effect.
|
|
179
|
+
*
|
|
180
|
+
* @since 1.16.0
|
|
181
|
+
* @deprecated as of version 1.42.0, replaced by <code>markers</code> aggregation.
|
|
182
|
+
* Add {@link sap.m.ObjectMarker} with type <code>sap.m.ObjectMarkerType.Favorite</code>.
|
|
183
|
+
* You should use either this property or the <code>markers</code> aggregation, using both may lead to unpredicted behavior.
|
|
184
|
+
*/
|
|
185
|
+
markFavorite : {type : "boolean", group : "Misc", defaultValue : false, deprecated: true},
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* Sets the flagged state for the <code>ObjectHeader</code>. The <code>showMarkers</code> property
|
|
189
|
+
* must be set to <code>true</code> for this property to take effect.
|
|
190
|
+
*
|
|
191
|
+
* @since 1.16.0
|
|
192
|
+
* @deprecated as of version 1.42.0, replaced by <code>markers</code> aggregation.
|
|
193
|
+
* Add {@link sap.m.ObjectMarker} with type <code>sap.m.ObjectMarkerType.Flagged</code>.
|
|
194
|
+
* You should use either this property or the <code>markers</code> aggregation, using both may lead to unpredicted behavior.
|
|
195
|
+
*/
|
|
196
|
+
markFlagged : {type : "boolean", group : "Misc", defaultValue : false, deprecated: true},
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* If set to <code>true</code>, the <code>ObjectHeader</code> can be marked with icons such as favorite and flag.
|
|
200
|
+
*
|
|
201
|
+
* @since 1.16.0
|
|
202
|
+
* @deprecated as of version 1.42.0, replaced by <code>markers</code> aggregationv.
|
|
203
|
+
* This property is valid only if you are using the already deprecated properties - <code>markFlagged</code> and <code>markFavorite</code>.
|
|
204
|
+
* If you are using <code>markers</code>, the visibility of the markers depends on what is set in the aggregation itself.
|
|
205
|
+
*/
|
|
206
|
+
showMarkers : {type : "boolean", group : "Misc", defaultValue : false, deprecated: true},
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* Determines whether the selector arrow icon/image is displayed and can be pressed.
|
|
210
|
+
* @since 1.16.0
|
|
211
|
+
*/
|
|
212
|
+
showTitleSelector : {type : "boolean", group : "Misc", defaultValue : false},
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* Determines the value state of the <code>number</code> and <code>numberUnit</code> properties.
|
|
216
|
+
* @since 1.16.0
|
|
217
|
+
*/
|
|
218
|
+
numberState : {type : "sap.ui.core.ValueState", group : "Misc", defaultValue : ValueState.None},
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* <code>ObjectHeader</code> with title, one attribute, number, and number unit.
|
|
222
|
+
*
|
|
223
|
+
* <b>Note:</b> Only applied if the <code>responsive</code> property is set to <code>false</code>.
|
|
224
|
+
*/
|
|
225
|
+
condensed : {type : "boolean", group : "Appearance", defaultValue : false},
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Determines the background color of the <code>ObjectHeader</code>.
|
|
229
|
+
*
|
|
230
|
+
* <b>Note:</b> The different types of <code>ObjectHeader</code> come with different default background:
|
|
231
|
+
* <ul>
|
|
232
|
+
* <li>non responsive - Transparent</li>
|
|
233
|
+
* <li>responsive - Translucent</li>
|
|
234
|
+
* <li>condensed - Solid</li>
|
|
235
|
+
* </ul>
|
|
236
|
+
*/
|
|
237
|
+
backgroundDesign : {type : "sap.m.BackgroundDesign", group : "Appearance"},
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Determines whether the <code>ObjectHeader</code> is rendered with a different design that
|
|
241
|
+
* reacts responsively to the screen sizes.
|
|
242
|
+
*
|
|
243
|
+
* When the <code>responsive</code> property is set to <code>true</code>, the
|
|
244
|
+
* following behavior specifics for the control exist:
|
|
245
|
+
* <ul>
|
|
246
|
+
* <li>If an image (or an icon font) is set to the <code>icon</code> property, it is
|
|
247
|
+
* hidden in portrait mode on phone.</li>
|
|
248
|
+
* <li>The title is truncated to 80 characters if longer. For portrait mode on phone,
|
|
249
|
+
* the title is truncated to 50 characters.</li>
|
|
250
|
+
* </ul>
|
|
251
|
+
*
|
|
252
|
+
* @since 1.21.1
|
|
253
|
+
*/
|
|
254
|
+
responsive : {type : "boolean", group : "Behavior", defaultValue : false},
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* Optimizes the display of the elements of the <code>ObjectHeader</code>.
|
|
258
|
+
*
|
|
259
|
+
* Set this property to <code>true</code> if your app uses a fullscreen layout (as opposed
|
|
260
|
+
* to a master-detail or other split-screen layout).
|
|
261
|
+
*
|
|
262
|
+
* <b>Note</b>: Only applied if the <code>responsive</code> property is also set to <code>true</code>.
|
|
263
|
+
*
|
|
264
|
+
* If set to <code>true</code>, the following situations apply:
|
|
265
|
+
* <ul>
|
|
266
|
+
* <li>On desktop, 1-3 attributes/statuses - positioned as a third block on the right side of the Title/Number group</li>
|
|
267
|
+
* <li>On desktop, 4+ attributes/statuses - 4 columns below the Title/Number</li>
|
|
268
|
+
* <li>On tablet (portrait mode), always in 2 columns below the Title/Number</li>
|
|
269
|
+
* <li>On tablet (landscape mode), 1-2 attributes/statuses - 2 columns below the Title/Number</li>
|
|
270
|
+
* <li>On tablet (landscape mode), 3+ attributes/statuses - 3 columns below the Title/Number</li>
|
|
271
|
+
*</ul>
|
|
272
|
+
* On phone, the attributes and statuses are always positioned in 1 column below the Title/Number of the <code>ObjectHeader</code>.
|
|
273
|
+
*
|
|
274
|
+
* If set to <code>false</code>, the attributes and statuses are being positioned below the
|
|
275
|
+
* Title/Number of the <code>ObjectHeader</code> in 2 or 3 columns depending on their number:
|
|
276
|
+
* <ul>
|
|
277
|
+
* <li>On desktop, 1-4 attributes/statuses - 2 columns</li>
|
|
278
|
+
* <li>On desktop, 5+ attributes/statuses - 3 columns</li>
|
|
279
|
+
* <li>On tablet, always in 2 columns</li>
|
|
280
|
+
* </ul>
|
|
281
|
+
*
|
|
282
|
+
* @since 1.28
|
|
283
|
+
*/
|
|
284
|
+
fullScreenOptimized : {type : "boolean", group : "Appearance", defaultValue : false},
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* Defines the title link target URI. Supports standard hyperlink behavior.
|
|
288
|
+
*
|
|
289
|
+
* <b>Note:</b> If an action should be triggered, this property should not be set, but instead
|
|
290
|
+
* an event handler for the <code>titlePress</code> event should be registered.
|
|
291
|
+
* @since 1.28
|
|
292
|
+
*/
|
|
293
|
+
titleHref : {type : "sap.ui.core.URI", group : "Data", defaultValue : null},
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* Determines the <code>target</code> attribute for the title link. Options are <code>_self</code>,
|
|
297
|
+
* <code>_top</code>, <code>_blank</code>, <code>_parent</code>, <code>_search</code>. Alternatively,
|
|
298
|
+
* a frame name can be entered.
|
|
299
|
+
* @since 1.28
|
|
300
|
+
*/
|
|
301
|
+
titleTarget : {type : "string", group : "Behavior", defaultValue : null},
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* Determines the intro link target URI. Supports standard hyperlink behavior. If an action should be triggered,
|
|
305
|
+
* this should not be set, but instead an event handler for the <code>introPress</code> event should be registered.
|
|
306
|
+
* @since 1.28
|
|
307
|
+
*/
|
|
308
|
+
introHref : {type : "sap.ui.core.URI", group : "Data", defaultValue : null},
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* Determines the <code>target</code> attribute for the intro link. Options are <code>_self</code>,
|
|
312
|
+
* <code>_top</code>, <code>_blank</code>, <code>_parent</code>, <code>_search</code>. Alternatively,
|
|
313
|
+
* a frame name can be entered.
|
|
314
|
+
* @since 1.28
|
|
315
|
+
*/
|
|
316
|
+
introTarget : {type : "string", group : "Behavior", defaultValue : null},
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* Specifies the title text directionality with enumerated options. By default, the control inherits text direction from the DOM.
|
|
320
|
+
* @since 1.28.0
|
|
321
|
+
*/
|
|
322
|
+
titleTextDirection : {type : "sap.ui.core.TextDirection", group : "Appearance", defaultValue : TextDirection.Inherit},
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* Specifies the intro text directionality with enumerated options. By default, the control inherits text direction from the DOM.
|
|
326
|
+
* @since 1.28.0
|
|
327
|
+
*/
|
|
328
|
+
introTextDirection : {type : "sap.ui.core.TextDirection", group : "Appearance", defaultValue : TextDirection.Inherit},
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* Specifies the number and unit text directionality with enumerated options. By default, the control inherits text direction from the DOM.
|
|
332
|
+
* @since 1.28.0
|
|
333
|
+
*/
|
|
334
|
+
numberTextDirection : {type : "sap.ui.core.TextDirection", group : "Appearance", defaultValue : TextDirection.Inherit},
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* Determines a custom text for the tooltip of the select title arrow. If not set, a default text of the tooltip will be displayed.
|
|
338
|
+
* @since 1.30.0
|
|
339
|
+
*/
|
|
340
|
+
titleSelectorTooltip : {type : "string", group : "Misc", defaultValue : "Options"},
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* Defines the semantic level of the title.
|
|
344
|
+
*
|
|
345
|
+
* This information is used by assistive technologies, such as screen readers to create a hierarchical site map for faster navigation.
|
|
346
|
+
* Depending on this setting an HTML h1-h6 element is used.
|
|
347
|
+
*/
|
|
348
|
+
titleLevel : {type : "sap.ui.core.TitleLevel", group : "Appearance", defaultValue : TitleLevel.H1}
|
|
347
349
|
|
|
348
|
-
},
|
|
349
|
-
defaultAggregation : "attributes",
|
|
350
|
-
aggregations : {
|
|
351
|
-
|
|
352
|
-
/**
|
|
353
|
-
* The list of Object Attributes
|
|
354
|
-
*/
|
|
355
|
-
attributes : {type : "sap.m.ObjectAttribute", multiple : true, singularName : "attribute"},
|
|
356
|
-
|
|
357
|
-
/**
|
|
358
|
-
* First status shown on the right side of the attributes above the second status.
|
|
359
|
-
* If it is not set the first attribute will expand to take the entire row.
|
|
360
|
-
* @deprecated as of version 1.16.0, replaced by <code>statuses</code> aggregation
|
|
361
|
-
*/
|
|
362
|
-
firstStatus : {type : "sap.m.ObjectStatus", multiple : false, deprecated: true},
|
|
363
|
-
|
|
364
|
-
/**
|
|
365
|
-
* Second status shown on the right side of the attributes below the first status.
|
|
366
|
-
* If it is not set the second attribute will expand to take the entire row.
|
|
367
|
-
* @deprecated as of version 1.16.0, replaced by <code>statuses</code> aggregation
|
|
368
|
-
*/
|
|
369
|
-
secondStatus : {type : "sap.m.ObjectStatus", multiple : false, deprecated: true},
|
|
370
|
-
|
|
371
|
-
/**
|
|
372
|
-
* The list of Object sap.ui.core.Control. It will only allow sap.m.ObjectStatus and sap.m.ProgressIndicator controls.
|
|
373
|
-
* @since 1.16.0
|
|
374
|
-
*/
|
|
375
|
-
statuses : {type : "sap.ui.core.Control", multiple : true, singularName : "status"},
|
|
376
|
-
|
|
377
|
-
/**
|
|
378
|
-
* The object number and unit are managed in this aggregation
|
|
379
|
-
*/
|
|
380
|
-
_objectNumber : {type : "sap.m.ObjectNumber", multiple : false, visibility : "hidden"},
|
|
381
|
-
|
|
382
|
-
/**
|
|
383
|
-
* NOTE: Only applied if you set "responsive=false".
|
|
384
|
-
* Additional object numbers and units are managed in this aggregation.
|
|
385
|
-
* The numbers are hidden on tablet and phone size screens.
|
|
386
|
-
* When only one number is provided, it is rendered with additional separator from the main ObjectHeader number.
|
|
387
|
-
* @since 1.38.0
|
|
388
|
-
*/
|
|
389
|
-
additionalNumbers : {type : "sap.m.ObjectNumber", multiple : true, singularName : "additionalNumber"},
|
|
390
|
-
|
|
391
|
-
/**
|
|
392
|
-
* This aggregation takes only effect when you set "responsive" to true.
|
|
393
|
-
* It can either be filled with an sap.m.IconTabBar or an sap.suite.ui.commons.HeaderContainer control. Overflow handling must be taken care of by the inner control. If used with an IconTabBar control, only the header will be displayed inside the object header, the content will be displayed below the ObjectHeader.
|
|
394
|
-
* @since 1.21.1
|
|
395
|
-
*/
|
|
396
|
-
headerContainer : {type : "sap.m.ObjectHeaderContainer", multiple : false},
|
|
397
|
-
|
|
398
|
-
/**
|
|
399
|
-
* List of markers (icon and/or text) that can be displayed for the <code>ObjectHeader</code>, such as favorite and flagged.<br><br>
|
|
400
|
-
* <b>Note:</b> You should use either this aggregation or the already deprecated properties - <code>markFlagged</code> and <code>markFavorite</code>. Using both can lead to unexpected results.
|
|
401
|
-
*/
|
|
402
|
-
markers : {type : "sap.m.ObjectMarker", multiple : true, singularName : "marker"}
|
|
403
|
-
},
|
|
404
|
-
associations : {
|
|
405
|
-
|
|
406
|
-
/**
|
|
407
|
-
* Association to controls / ids which describe this control (see WAI-ARIA attribute aria-describedby).
|
|
408
|
-
*/
|
|
409
|
-
ariaDescribedBy: {type: "sap.ui.core.Control", multiple: true, singularName: "ariaDescribedBy"},
|
|
410
|
-
|
|
411
|
-
/**
|
|
412
|
-
* Association to controls / ids which label this control (see WAI-ARIA attribute aria-labelledby).
|
|
413
|
-
*/
|
|
414
|
-
ariaLabelledBy: {type: "sap.ui.core.Control", multiple: true, singularName: "ariaLabelledBy"}
|
|
415
|
-
},
|
|
416
|
-
events : {
|
|
417
|
-
|
|
418
|
-
/**
|
|
419
|
-
* Event is fired when the title is active and the user taps/clicks on it
|
|
420
|
-
*/
|
|
421
|
-
titlePress : {
|
|
422
|
-
parameters : {
|
|
423
|
-
|
|
424
|
-
/**
|
|
425
|
-
* Dom reference of the object header' title to be used for positioning.
|
|
426
|
-
*/
|
|
427
|
-
domRef : {type : "object"}
|
|
428
|
-
}
|
|
429
350
|
},
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
351
|
+
defaultAggregation : "attributes",
|
|
352
|
+
aggregations : {
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* The list of Object Attributes
|
|
356
|
+
*/
|
|
357
|
+
attributes : {type : "sap.m.ObjectAttribute", multiple : true, singularName : "attribute"},
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* First status shown on the right side of the attributes above the second status.
|
|
361
|
+
* If it is not set the first attribute will expand to take the entire row.
|
|
362
|
+
* @deprecated as of version 1.16.0, replaced by <code>statuses</code> aggregation
|
|
363
|
+
*/
|
|
364
|
+
firstStatus : {type : "sap.m.ObjectStatus", multiple : false, deprecated: true},
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* Second status shown on the right side of the attributes below the first status.
|
|
368
|
+
* If it is not set the second attribute will expand to take the entire row.
|
|
369
|
+
* @deprecated as of version 1.16.0, replaced by <code>statuses</code> aggregation
|
|
370
|
+
*/
|
|
371
|
+
secondStatus : {type : "sap.m.ObjectStatus", multiple : false, deprecated: true},
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* The list of Object sap.ui.core.Control. It will only allow sap.m.ObjectStatus and sap.m.ProgressIndicator controls.
|
|
375
|
+
* @since 1.16.0
|
|
376
|
+
*/
|
|
377
|
+
statuses : {type : "sap.ui.core.Control", multiple : true, singularName : "status"},
|
|
378
|
+
|
|
379
|
+
/**
|
|
380
|
+
* The object number and unit are managed in this aggregation
|
|
381
|
+
*/
|
|
382
|
+
_objectNumber : {type : "sap.m.ObjectNumber", multiple : false, visibility : "hidden"},
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* NOTE: Only applied if you set "responsive=false".
|
|
386
|
+
* Additional object numbers and units are managed in this aggregation.
|
|
387
|
+
* The numbers are hidden on tablet and phone size screens.
|
|
388
|
+
* When only one number is provided, it is rendered with additional separator from the main ObjectHeader number.
|
|
389
|
+
* @since 1.38.0
|
|
390
|
+
*/
|
|
391
|
+
additionalNumbers : {type : "sap.m.ObjectNumber", multiple : true, singularName : "additionalNumber"},
|
|
392
|
+
|
|
393
|
+
/**
|
|
394
|
+
* This aggregation takes only effect when you set "responsive" to true.
|
|
395
|
+
* It can either be filled with an sap.m.IconTabBar or an sap.suite.ui.commons.HeaderContainer control. Overflow handling must be taken care of by the inner control. If used with an IconTabBar control, only the header will be displayed inside the object header, the content will be displayed below the ObjectHeader.
|
|
396
|
+
* @since 1.21.1
|
|
397
|
+
*/
|
|
398
|
+
headerContainer : {type : "sap.m.ObjectHeaderContainer", multiple : false},
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* List of markers (icon and/or text) that can be displayed for the <code>ObjectHeader</code>, such as favorite and flagged.<br><br>
|
|
402
|
+
* <b>Note:</b> You should use either this aggregation or the already deprecated properties - <code>markFlagged</code> and <code>markFavorite</code>. Using both can lead to unexpected results.
|
|
403
|
+
*/
|
|
404
|
+
markers : {type : "sap.m.ObjectMarker", multiple : true, singularName : "marker"}
|
|
442
405
|
},
|
|
406
|
+
associations : {
|
|
443
407
|
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
parameters : {
|
|
408
|
+
/**
|
|
409
|
+
* Association to controls / ids which describe this control (see WAI-ARIA attribute aria-describedby).
|
|
410
|
+
*/
|
|
411
|
+
ariaDescribedBy: {type: "sap.ui.core.Control", multiple: true, singularName: "ariaDescribedBy"},
|
|
449
412
|
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
}
|
|
413
|
+
/**
|
|
414
|
+
* Association to controls / ids which label this control (see WAI-ARIA attribute aria-labelledby).
|
|
415
|
+
*/
|
|
416
|
+
ariaLabelledBy: {type: "sap.ui.core.Control", multiple: true, singularName: "ariaLabelledBy"}
|
|
455
417
|
},
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
418
|
+
events : {
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* Event is fired when the title is active and the user taps/clicks on it
|
|
422
|
+
*/
|
|
423
|
+
titlePress : {
|
|
424
|
+
parameters : {
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* Dom reference of the object header' title to be used for positioning.
|
|
428
|
+
*/
|
|
429
|
+
domRef : {type : "object"}
|
|
430
|
+
}
|
|
431
|
+
},
|
|
432
|
+
|
|
433
|
+
/**
|
|
434
|
+
* Event is fired when the intro is active and the user taps/clicks on it
|
|
435
|
+
*/
|
|
436
|
+
introPress : {
|
|
437
|
+
parameters : {
|
|
438
|
+
|
|
439
|
+
/**
|
|
440
|
+
* Dom reference of the object header' intro to be used for positioning.
|
|
441
|
+
*/
|
|
442
|
+
domRef : {type : "object"}
|
|
443
|
+
}
|
|
444
|
+
},
|
|
445
|
+
|
|
446
|
+
/**
|
|
447
|
+
* Event is fired when the title icon is active and the user taps/clicks on it
|
|
448
|
+
*/
|
|
449
|
+
iconPress : {
|
|
450
|
+
parameters : {
|
|
451
|
+
|
|
452
|
+
/**
|
|
453
|
+
* Dom reference of the object header' icon to be used for positioning.
|
|
454
|
+
*/
|
|
455
|
+
domRef : {type : "object"}
|
|
456
|
+
}
|
|
457
|
+
},
|
|
458
|
+
|
|
459
|
+
/**
|
|
460
|
+
* Event is fired when the object header title selector (down-arrow) is pressed
|
|
461
|
+
* @since 1.16.0
|
|
462
|
+
*/
|
|
463
|
+
titleSelectorPress : {
|
|
464
|
+
parameters : {
|
|
465
|
+
|
|
466
|
+
/**
|
|
467
|
+
* Dom reference of the object header' titleArrow to be used for positioning.
|
|
468
|
+
*/
|
|
469
|
+
domRef : {type : "object"}
|
|
470
|
+
}
|
|
468
471
|
}
|
|
469
|
-
}
|
|
472
|
+
},
|
|
473
|
+
dnd: { draggable: false, droppable: true }
|
|
470
474
|
},
|
|
471
|
-
|
|
472
|
-
|
|
475
|
+
|
|
476
|
+
renderer: ObjectHeaderRenderer
|
|
477
|
+
});
|
|
473
478
|
|
|
474
479
|
|
|
475
480
|
/**
|
|
@@ -1096,7 +1101,7 @@ sap.ui.define([
|
|
|
1096
1101
|
|
|
1097
1102
|
ObjectHeader.prototype.onAfterRendering = function() {
|
|
1098
1103
|
var oObjectNumber = this.getAggregation("_objectNumber");
|
|
1099
|
-
var bPageRTL =
|
|
1104
|
+
var bPageRTL = Configuration.getRTL();
|
|
1100
1105
|
var $titleArrow = this.$("titleArrow");
|
|
1101
1106
|
|
|
1102
1107
|
$titleArrow.attr("role", "button");
|
|
@@ -1151,7 +1156,7 @@ sap.ui.define([
|
|
|
1151
1156
|
ObjectHeader.prototype._adjustNumberDiv = function() {
|
|
1152
1157
|
var sId = this.getId();
|
|
1153
1158
|
var oObjectNumber = this.getAggregation("_objectNumber");
|
|
1154
|
-
var bPageRTL =
|
|
1159
|
+
var bPageRTL = Configuration.getRTL();
|
|
1155
1160
|
|
|
1156
1161
|
if (oObjectNumber && oObjectNumber.getNumber()) {
|
|
1157
1162
|
var $numberDiv = jQuery(document.getElementById(sId + "-number"));
|