@openui5/sap.m 1.106.0 → 1.107.1
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/designtime/messagebundle_sv.properties +2 -2
- package/src/sap/m/library.js +10 -115
- package/src/sap/m/messagebundle.properties +18 -12
- package/src/sap/m/messagebundle_ar.properties +14 -10
- package/src/sap/m/messagebundle_bg.properties +12 -8
- package/src/sap/m/messagebundle_ca.properties +15 -11
- package/src/sap/m/messagebundle_cs.properties +23 -19
- package/src/sap/m/messagebundle_cy.properties +13 -9
- package/src/sap/m/messagebundle_da.properties +12 -8
- package/src/sap/m/messagebundle_de.properties +21 -17
- package/src/sap/m/messagebundle_el.properties +12 -8
- package/src/sap/m/messagebundle_en.properties +13 -9
- package/src/sap/m/messagebundle_en_GB.properties +13 -9
- package/src/sap/m/messagebundle_en_US_sappsd.properties +11 -7
- package/src/sap/m/messagebundle_en_US_saprigi.properties +11 -7
- package/src/sap/m/messagebundle_en_US_saptrc.properties +11 -7
- package/src/sap/m/messagebundle_es.properties +13 -9
- package/src/sap/m/messagebundle_es_MX.properties +12 -8
- package/src/sap/m/messagebundle_et.properties +11 -7
- package/src/sap/m/messagebundle_fi.properties +12 -8
- package/src/sap/m/messagebundle_fr.properties +15 -11
- package/src/sap/m/messagebundle_fr_CA.properties +14 -10
- package/src/sap/m/messagebundle_hi.properties +11 -7
- package/src/sap/m/messagebundle_hr.properties +12 -8
- package/src/sap/m/messagebundle_hu.properties +12 -8
- package/src/sap/m/messagebundle_id.properties +12 -8
- package/src/sap/m/messagebundle_it.properties +12 -8
- package/src/sap/m/messagebundle_iw.properties +12 -8
- package/src/sap/m/messagebundle_ja.properties +13 -9
- package/src/sap/m/messagebundle_kk.properties +12 -8
- package/src/sap/m/messagebundle_ko.properties +12 -8
- package/src/sap/m/messagebundle_lt.properties +20 -16
- package/src/sap/m/messagebundle_lv.properties +12 -8
- package/src/sap/m/messagebundle_ms.properties +12 -8
- package/src/sap/m/messagebundle_nl.properties +12 -8
- package/src/sap/m/messagebundle_no.properties +12 -8
- package/src/sap/m/messagebundle_pl.properties +12 -8
- package/src/sap/m/messagebundle_pt.properties +12 -8
- package/src/sap/m/messagebundle_pt_PT.properties +15 -11
- package/src/sap/m/messagebundle_ro.properties +12 -8
- package/src/sap/m/messagebundle_ru.properties +12 -8
- package/src/sap/m/messagebundle_sh.properties +12 -8
- package/src/sap/m/messagebundle_sk.properties +11 -7
- package/src/sap/m/messagebundle_sl.properties +13 -9
- package/src/sap/m/messagebundle_sv.properties +13 -9
- package/src/sap/m/messagebundle_th.properties +13 -9
- package/src/sap/m/messagebundle_tr.properties +12 -8
- package/src/sap/m/messagebundle_uk.properties +12 -8
- package/src/sap/m/messagebundle_vi.properties +13 -9
- package/src/sap/m/messagebundle_zh_CN.properties +13 -9
- package/src/sap/m/messagebundle_zh_TW.properties +13 -9
- 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
|
@@ -12,9 +12,10 @@ sap.ui.define([
|
|
|
12
12
|
'sap/m/Link',
|
|
13
13
|
'sap/m/Text',
|
|
14
14
|
"sap/ui/thirdparty/jquery",
|
|
15
|
-
"sap/ui/util/defaultLinkTypes"
|
|
15
|
+
"sap/ui/util/defaultLinkTypes",
|
|
16
|
+
"sap/ui/core/Configuration"
|
|
16
17
|
],
|
|
17
|
-
function(Control, coreLibrary, library, Device, Log, Link, Text, jQuery, defaultLinkTypes) {
|
|
18
|
+
function(Control, coreLibrary, library, Device, Log, Link, Text, jQuery, defaultLinkTypes, Configuration) {
|
|
18
19
|
"use strict";
|
|
19
20
|
|
|
20
21
|
|
|
@@ -1061,7 +1062,7 @@ sap.ui.define([
|
|
|
1061
1062
|
ObjectHeaderRenderer._renderResponsiveMarkers = function(oRM, oControl) {
|
|
1062
1063
|
var aMarkers = [],
|
|
1063
1064
|
sTextDir = oControl.getTitleTextDirection(),
|
|
1064
|
-
bPageRTL =
|
|
1065
|
+
bPageRTL = Configuration.getRTL();
|
|
1065
1066
|
|
|
1066
1067
|
// load markers based on control state
|
|
1067
1068
|
aMarkers = oControl._getVisibleMarkers();
|
|
@@ -16,7 +16,8 @@ sap.ui.define([
|
|
|
16
16
|
'sap/ui/Device',
|
|
17
17
|
'sap/ui/base/ManagedObject',
|
|
18
18
|
'./ObjectIdentifierRenderer',
|
|
19
|
-
"sap/ui/events/KeyCodes"
|
|
19
|
+
"sap/ui/events/KeyCodes",
|
|
20
|
+
"sap/ui/core/Configuration"
|
|
20
21
|
],
|
|
21
22
|
function(
|
|
22
23
|
library,
|
|
@@ -29,7 +30,8 @@ function(
|
|
|
29
30
|
Device,
|
|
30
31
|
ManagedObject,
|
|
31
32
|
ObjectIdentifierRenderer,
|
|
32
|
-
KeyCodes
|
|
33
|
+
KeyCodes,
|
|
34
|
+
Configuration
|
|
33
35
|
) {
|
|
34
36
|
"use strict";
|
|
35
37
|
|
|
@@ -52,113 +54,116 @@ function(
|
|
|
52
54
|
*
|
|
53
55
|
* <b>Note:</b> This control should not be used with {@link sap.m.Label} or in Forms along with {@link sap.m.Label}.
|
|
54
56
|
* @extends sap.ui.core.Control
|
|
55
|
-
* @version 1.
|
|
57
|
+
* @version 1.107.1
|
|
56
58
|
*
|
|
57
59
|
* @constructor
|
|
58
60
|
* @public
|
|
59
61
|
* @since 1.12
|
|
60
62
|
* @alias sap.m.ObjectIdentifier
|
|
61
63
|
* @see {@link fiori:https://experience.sap.com/fiori-design-web/object-display-elements/#-object-status Object Identifier}
|
|
62
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
63
64
|
*/
|
|
64
|
-
var ObjectIdentifier = Control.extend("sap.m.ObjectIdentifier", /** @lends sap.m.ObjectIdentifier.prototype */ {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
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
|
-
|
|
65
|
+
var ObjectIdentifier = Control.extend("sap.m.ObjectIdentifier", /** @lends sap.m.ObjectIdentifier.prototype */ {
|
|
66
|
+
metadata : {
|
|
67
|
+
|
|
68
|
+
library : "sap.m",
|
|
69
|
+
designtime: "sap/m/designtime/ObjectIdentifier.designtime",
|
|
70
|
+
properties : {
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Defines the object title.
|
|
74
|
+
*/
|
|
75
|
+
title : {type : "string", group : "Misc", defaultValue : null},
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Defines the object text.
|
|
79
|
+
*/
|
|
80
|
+
text : {type : "string", group : "Misc", defaultValue : null},
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Indicates whether or not the notes icon is displayed.
|
|
84
|
+
* @deprecated as of version 1.24.0. There is no replacement for the moment.
|
|
85
|
+
*/
|
|
86
|
+
badgeNotes : {type : "boolean", group : "Misc", defaultValue : null, deprecated: true},
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Indicates whether or not the address book icon is displayed.
|
|
90
|
+
* @deprecated as of version 1.24.0. There is no replacement for the moment.
|
|
91
|
+
*/
|
|
92
|
+
badgePeople : {type : "boolean", group : "Misc", defaultValue : null, deprecated: true},
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Indicates whether or not the attachments icon is displayed.
|
|
96
|
+
* @deprecated as of version 1.24.0. There is no replacement for the moment.
|
|
97
|
+
*/
|
|
98
|
+
badgeAttachments : {type : "boolean", group : "Misc", defaultValue : null, deprecated: true},
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Indicates if the ObjectIdentifier is visible. An invisible ObjectIdentifier is not being rendered.
|
|
102
|
+
*/
|
|
103
|
+
visible : {type : "boolean", group : "Appearance", defaultValue : true},
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Indicates if the ObjectIdentifier's title is clickable.
|
|
107
|
+
* @since 1.26
|
|
108
|
+
*/
|
|
109
|
+
titleActive : {type : "boolean", group : "Misc", defaultValue : false},
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Specifies the element's text directionality with enumerated options. By default, the control inherits text direction from the DOM.
|
|
113
|
+
* @since 1.28.0
|
|
114
|
+
*/
|
|
115
|
+
textDirection : {type : "sap.ui.core.TextDirection", group : "Appearance", defaultValue : TextDirection.Inherit},
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Specifies if an empty indicator should be displayed when there is no text.
|
|
119
|
+
*
|
|
120
|
+
* @since 1.89
|
|
121
|
+
*/
|
|
122
|
+
emptyIndicatorMode: { type: "sap.m.EmptyIndicatorMode", group: "Appearance", defaultValue: EmptyIndicatorMode.Off }
|
|
123
|
+
},
|
|
124
|
+
aggregations : {
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Control to display the object title (can be either Text or Link).
|
|
128
|
+
*
|
|
129
|
+
* @private
|
|
130
|
+
*/
|
|
131
|
+
_titleControl : {type : "sap.ui.core.Control", multiple : false, visibility : "hidden"},
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Text control to display the object text.
|
|
135
|
+
*
|
|
136
|
+
* @private
|
|
137
|
+
*/
|
|
138
|
+
_textControl : {type : "sap.ui.core.Control", multiple : false, visibility : "hidden"}
|
|
139
|
+
},
|
|
140
|
+
events : {
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Fires when the title is active and the user taps/clicks on it.
|
|
144
|
+
* @since 1.26
|
|
145
|
+
*/
|
|
146
|
+
titlePress : {
|
|
147
|
+
parameters : {
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* DOM reference of the object identifier's title.
|
|
151
|
+
*/
|
|
152
|
+
domRef : {type : "object"}
|
|
153
|
+
}
|
|
151
154
|
}
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
155
|
+
},
|
|
156
|
+
associations: {
|
|
157
|
+
/**
|
|
158
|
+
* Association to controls / IDs, which label this control (see WAI-ARIA attribute aria-labelledby).
|
|
159
|
+
*/
|
|
160
|
+
ariaLabelledBy: {type: "sap.ui.core.Control", multiple: true, singularName: "ariaLabelledBy"}
|
|
161
|
+
},
|
|
162
|
+
dnd: { draggable: true, droppable: false }
|
|
159
163
|
},
|
|
160
|
-
|
|
161
|
-
|
|
164
|
+
|
|
165
|
+
renderer: ObjectIdentifierRenderer
|
|
166
|
+
});
|
|
162
167
|
|
|
163
168
|
|
|
164
169
|
/**
|
|
@@ -169,7 +174,7 @@ function(
|
|
|
169
174
|
ObjectIdentifier.prototype.init = function() {
|
|
170
175
|
var oLibraryResourceBundle = sap.ui.getCore().getLibraryResourceBundle("sap.m");
|
|
171
176
|
|
|
172
|
-
if (
|
|
177
|
+
if (Configuration.getAccessibility()) {
|
|
173
178
|
ObjectIdentifier.OI_ARIA_ROLE = oLibraryResourceBundle.getText("OI_ARIA_ROLE");
|
|
174
179
|
}
|
|
175
180
|
};
|
|
@@ -14,7 +14,8 @@ sap.ui.define([
|
|
|
14
14
|
'sap/ui/core/library',
|
|
15
15
|
'./ObjectMarker',
|
|
16
16
|
'./Text',
|
|
17
|
-
'./ObjectListItemRenderer'
|
|
17
|
+
'./ObjectListItemRenderer',
|
|
18
|
+
'sap/ui/core/Configuration'
|
|
18
19
|
],
|
|
19
20
|
function(
|
|
20
21
|
ManagedObjectObserver,
|
|
@@ -25,7 +26,8 @@ function(
|
|
|
25
26
|
coreLibrary,
|
|
26
27
|
ObjectMarker,
|
|
27
28
|
Text,
|
|
28
|
-
ObjectListItemRenderer
|
|
29
|
+
ObjectListItemRenderer,
|
|
30
|
+
Configuration
|
|
29
31
|
) {
|
|
30
32
|
"use strict";
|
|
31
33
|
|
|
@@ -59,156 +61,159 @@ function(
|
|
|
59
61
|
*
|
|
60
62
|
* <b>Note:</b> The control must only be used in the context of a list.
|
|
61
63
|
* @extends sap.m.ListItemBase
|
|
62
|
-
* @version 1.
|
|
64
|
+
* @version 1.107.1
|
|
63
65
|
*
|
|
64
66
|
* @constructor
|
|
65
67
|
* @public
|
|
66
68
|
* @since 1.12
|
|
67
69
|
* @alias sap.m.ObjectListItem
|
|
68
70
|
* @see {@link fiori:https://experience.sap.com/fiori-design-web/object-list-item/ Object List Item}
|
|
69
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
70
71
|
*/
|
|
71
|
-
var ObjectListItem = ListItemBase.extend("sap.m.ObjectListItem", /** @lends sap.m.ObjectListItem.prototype */ {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
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
|
-
|
|
72
|
+
var ObjectListItem = ListItemBase.extend("sap.m.ObjectListItem", /** @lends sap.m.ObjectListItem.prototype */ {
|
|
73
|
+
metadata : {
|
|
74
|
+
|
|
75
|
+
library : "sap.m",
|
|
76
|
+
properties : {
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Defines the ObjectListItem title.
|
|
80
|
+
*/
|
|
81
|
+
title : {type : "string", group : "Misc", defaultValue : null},
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Defines the ObjectListItem number.
|
|
85
|
+
*/
|
|
86
|
+
number : {type : "string", group : "Misc", defaultValue : null},
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Defines the number units qualifier of the ObjectListItem.
|
|
90
|
+
*/
|
|
91
|
+
numberUnit : {type : "string", group : "Misc", defaultValue : null},
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Defines the introductory text for the ObjectListItem.
|
|
95
|
+
*/
|
|
96
|
+
intro : {type : "string", group : "Misc", defaultValue : null},
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* ObjectListItem icon displayed to the left of the title.
|
|
100
|
+
*/
|
|
101
|
+
icon : {type : "sap.ui.core.URI", group : "Misc", defaultValue : null},
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Icon displayed when the ObjectListItem is active.
|
|
105
|
+
*/
|
|
106
|
+
activeIcon : {type : "sap.ui.core.URI", group : "Misc", defaultValue : null},
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* By default, this is set to true but then one or more requests are sent trying to get the density perfect version of image (in case this version of image doesn't exist on the server).
|
|
110
|
+
*
|
|
111
|
+
* If bandwidth is key for the application, set this value to false.
|
|
112
|
+
*/
|
|
113
|
+
iconDensityAware : {type : "boolean", group : "Misc", defaultValue : true},
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Sets the favorite state for the ObjectListItem.<br><br>
|
|
117
|
+
*
|
|
118
|
+
* @since 1.16.0
|
|
119
|
+
* @deprecated as of version 1.42.0, replaced by <code>markers</code> aggregation.
|
|
120
|
+
* Add {@link sap.m.ObjectMarker} with type <code>sap.m.ObjectMarkerType.Favorite</code>.
|
|
121
|
+
* You should use either this property or the <code>markers</code> aggregation, using both may lead to unpredicted behavior.
|
|
122
|
+
*/
|
|
123
|
+
markFavorite : {type : "boolean", group : "Misc", defaultValue : null, deprecated: true},
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Sets the flagged state for the ObjectListItem.<br><br>
|
|
127
|
+
*
|
|
128
|
+
* @since 1.16.0
|
|
129
|
+
* @deprecated as of version 1.42.0, replaced by <code>markers</code> aggregation.
|
|
130
|
+
* Add {@link sap.m.ObjectMarker} with type <code>sap.m.ObjectMarkerType.Flagged</code>.
|
|
131
|
+
* You should use either this property or the <code>markers</code> aggregation, using both may lead to unpredicted behavior.
|
|
132
|
+
*/
|
|
133
|
+
markFlagged : {type : "boolean", group : "Misc", defaultValue : null, deprecated: true},
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* If set to true, the ObjectListItem can be marked with icons such as favorite and flag.<br><br>
|
|
137
|
+
*
|
|
138
|
+
* @since 1.16.0
|
|
139
|
+
* @deprecated as of version 1.42.0, replaced by <code>markers</code> aggregation.
|
|
140
|
+
* This property is valid only if you are using the already deprecated properties - <code>markFlagged</code>, <code>markFavorite</code>, and <code>markLocked</code>.
|
|
141
|
+
* If you are using the <code>markers</code> aggregation, the visibility of the markers depends on what is set in the aggregation itself.
|
|
142
|
+
*/
|
|
143
|
+
showMarkers : {type : "boolean", group : "Misc", defaultValue : null, deprecated: true},
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Defines the ObjectListItem number and numberUnit value state.
|
|
147
|
+
* @since 1.16.0
|
|
148
|
+
*/
|
|
149
|
+
numberState : {type : "sap.ui.core.ValueState", group : "Misc", defaultValue : ValueState.None},
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Determines the text direction of the item title.
|
|
153
|
+
* Available options for the title direction are LTR (left-to-right) and RTL (right-to-left).
|
|
154
|
+
* By default the item title inherits the text direction from its parent.
|
|
155
|
+
*/
|
|
156
|
+
titleTextDirection: {type : "sap.ui.core.TextDirection", group : "Appearance", defaultValue : TextDirection.Inherit},
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Determines the text direction of the item intro.
|
|
160
|
+
* Available options for the intro direction are LTR (left-to-right) and RTL (right-to-left).
|
|
161
|
+
* By default the item intro inherits the text direction from its parent.
|
|
162
|
+
*/
|
|
163
|
+
introTextDirection: {type : "sap.ui.core.TextDirection", group : "Appearance", defaultValue : TextDirection.Inherit},
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* Determines the text direction of the item number.
|
|
167
|
+
* Available options for the number direction are LTR (left-to-right) and RTL (right-to-left).
|
|
168
|
+
* By default the item number inherits the text direction from its parent.
|
|
169
|
+
*/
|
|
170
|
+
numberTextDirection: {type : "sap.ui.core.TextDirection", group : "Appearance", defaultValue : TextDirection.Inherit},
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Sets the locked state of the ObjectListItem.<br><br>
|
|
174
|
+
*
|
|
175
|
+
* @since 1.28
|
|
176
|
+
* @deprecated as of version 1.42.0, replaced by <code>markers</code> aggregation.
|
|
177
|
+
* Add {@link sap.m.ObjectMarker} with type <code>sap.m.ObjectMarkerType.Locked</code>.
|
|
178
|
+
* You should use either this property or the <code>markers</code> aggregation, using both may lead to unpredicted behavior.<br><br>
|
|
179
|
+
*/
|
|
180
|
+
markLocked : {type : "boolean", group : "Misc", defaultValue : false, deprecated: true}
|
|
181
|
+
},
|
|
182
|
+
defaultAggregation : "attributes",
|
|
183
|
+
aggregations : {
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* List of attributes displayed below the title to the left of the status fields.
|
|
187
|
+
*/
|
|
188
|
+
attributes : {type : "sap.m.ObjectAttribute", multiple : true, singularName : "attribute"},
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* First status text field displayed on the right side of the attributes.
|
|
192
|
+
*/
|
|
193
|
+
firstStatus : {type : "sap.m.ObjectStatus", multiple : false},
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* Second status text field displayed on the right side of the attributes.
|
|
197
|
+
*/
|
|
198
|
+
secondStatus : {type : "sap.m.ObjectStatus", multiple : false},
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* List of markers (icon and/or text) that can be displayed for the <code>ObjectListItems</code>, such as favorite and flagged.<br><br>
|
|
202
|
+
* <b>Note:</b> You should use either this aggregation or the already deprecated properties - <code>markFlagged</code>, <code>markFavorite</code>, and <code>markLocked</code>. Using both can lead to unexpected results.
|
|
203
|
+
*/
|
|
204
|
+
markers : {type : "sap.m.ObjectMarker", multiple : true, singularName : "marker"},
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* Internal <code>sap.m.ObjectNumber</code> control which is created based on the <code>number</code>, <code>numberUnit</code>, <code>numberState</code>, <code>numberTextDirection</code>
|
|
208
|
+
*/
|
|
209
|
+
_objectNumber: {type: "sap.m.ObjectNumber", multiple: false, visibility: "hidden"}
|
|
210
|
+
},
|
|
211
|
+
designtime: "sap/m/designtime/ObjectListItem.designtime",
|
|
212
|
+
dnd: { draggable: true, droppable: true }
|
|
179
213
|
},
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
/**
|
|
184
|
-
* List of attributes displayed below the title to the left of the status fields.
|
|
185
|
-
*/
|
|
186
|
-
attributes : {type : "sap.m.ObjectAttribute", multiple : true, singularName : "attribute"},
|
|
187
|
-
|
|
188
|
-
/**
|
|
189
|
-
* First status text field displayed on the right side of the attributes.
|
|
190
|
-
*/
|
|
191
|
-
firstStatus : {type : "sap.m.ObjectStatus", multiple : false},
|
|
192
|
-
|
|
193
|
-
/**
|
|
194
|
-
* Second status text field displayed on the right side of the attributes.
|
|
195
|
-
*/
|
|
196
|
-
secondStatus : {type : "sap.m.ObjectStatus", multiple : false},
|
|
197
|
-
|
|
198
|
-
/**
|
|
199
|
-
* List of markers (icon and/or text) that can be displayed for the <code>ObjectListItems</code>, such as favorite and flagged.<br><br>
|
|
200
|
-
* <b>Note:</b> You should use either this aggregation or the already deprecated properties - <code>markFlagged</code>, <code>markFavorite</code>, and <code>markLocked</code>. Using both can lead to unexpected results.
|
|
201
|
-
*/
|
|
202
|
-
markers : {type : "sap.m.ObjectMarker", multiple : true, singularName : "marker"},
|
|
203
|
-
|
|
204
|
-
/**
|
|
205
|
-
* Internal <code>sap.m.ObjectNumber</code> control which is created based on the <code>number</code>, <code>numberUnit</code>, <code>numberState</code>, <code>numberTextDirection</code>
|
|
206
|
-
*/
|
|
207
|
-
_objectNumber: {type: "sap.m.ObjectNumber", multiple: false, visibility: "hidden"}
|
|
208
|
-
},
|
|
209
|
-
designtime: "sap/m/designtime/ObjectListItem.designtime",
|
|
210
|
-
dnd: { draggable: true, droppable: true }
|
|
211
|
-
}});
|
|
214
|
+
|
|
215
|
+
renderer: ObjectListItemRenderer
|
|
216
|
+
});
|
|
212
217
|
|
|
213
218
|
/**
|
|
214
219
|
* Initializes the control.
|
|
@@ -240,7 +245,7 @@ function(
|
|
|
240
245
|
|
|
241
246
|
ObjectListItem.prototype.onAfterRendering = function() {
|
|
242
247
|
var oObjectNumber = this.getAggregation("_objectNumber"),
|
|
243
|
-
bPageRTL =
|
|
248
|
+
bPageRTL = Configuration.getRTL(),
|
|
244
249
|
sTextAlign = bPageRTL ? TextAlign.Left : TextAlign.Right;
|
|
245
250
|
|
|
246
251
|
if (oObjectNumber && oObjectNumber.getNumber()) { // adjust alignment according the design specification
|
|
@@ -62,14 +62,13 @@ sap.ui.define([
|
|
|
62
62
|
* @extends sap.ui.core.Control
|
|
63
63
|
*
|
|
64
64
|
* @author SAP SE
|
|
65
|
-
* @version 1.
|
|
65
|
+
* @version 1.107.1
|
|
66
66
|
*
|
|
67
67
|
* @constructor
|
|
68
68
|
* @public
|
|
69
69
|
* @since 1.38
|
|
70
70
|
* @alias sap.m.ObjectMarker
|
|
71
71
|
* @see {@link fiori:https://experience.sap.com/fiori-design-web/object-display-elements/#-object-status Object Marker}
|
|
72
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
73
72
|
*/
|
|
74
73
|
var ObjectMarker = Control.extend("sap.m.ObjectMarker", /** @lends sap.m.ObjectMarker.prototype */ {
|
|
75
74
|
metadata: {
|
|
@@ -142,7 +141,9 @@ sap.ui.define([
|
|
|
142
141
|
}
|
|
143
142
|
},
|
|
144
143
|
dnd: { draggable: true, droppable: false }
|
|
145
|
-
}
|
|
144
|
+
},
|
|
145
|
+
|
|
146
|
+
renderer: ObjectMarkerRenderer
|
|
146
147
|
});
|
|
147
148
|
|
|
148
149
|
/**
|