@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
package/src/sap/m/MultiInput.js
CHANGED
|
@@ -107,13 +107,12 @@ function(
|
|
|
107
107
|
* @implements sap.ui.core.ISemanticFormContent
|
|
108
108
|
*
|
|
109
109
|
* @author SAP SE
|
|
110
|
-
* @version 1.
|
|
110
|
+
* @version 1.107.0
|
|
111
111
|
*
|
|
112
112
|
* @constructor
|
|
113
113
|
* @public
|
|
114
114
|
* @alias sap.m.MultiInput
|
|
115
115
|
* @see {@link fiori:https://experience.sap.com/fiori-design-web/multiinput/ Multi-Input Field}
|
|
116
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
117
116
|
*/
|
|
118
117
|
var MultiInput = Input.extend("sap.m.MultiInput", /** @lends sap.m.MultiInput.prototype */ {
|
|
119
118
|
metadata: {
|
|
@@ -232,7 +231,9 @@ function(
|
|
|
232
231
|
}
|
|
233
232
|
},
|
|
234
233
|
dnd: { draggable: false, droppable: true }
|
|
235
|
-
}
|
|
234
|
+
},
|
|
235
|
+
|
|
236
|
+
renderer: MultiInputRenderer
|
|
236
237
|
});
|
|
237
238
|
|
|
238
239
|
EnabledPropagator.apply(MultiInput.prototype, [true]);
|
|
@@ -43,12 +43,11 @@ sap.ui.define([
|
|
|
43
43
|
* @extends sap.ui.core.Control
|
|
44
44
|
*
|
|
45
45
|
* @author SAP SE
|
|
46
|
-
* @version 1.
|
|
46
|
+
* @version 1.107.0
|
|
47
47
|
*
|
|
48
48
|
* @constructor
|
|
49
49
|
* @public
|
|
50
50
|
* @alias sap.m.NavContainer
|
|
51
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
52
51
|
*/
|
|
53
52
|
var NavContainer = Control.extend("sap.m.NavContainer", /** @lends sap.m.NavContainer.prototype */ {
|
|
54
53
|
metadata: {
|
|
@@ -245,7 +244,9 @@ sap.ui.define([
|
|
|
245
244
|
}
|
|
246
245
|
}
|
|
247
246
|
}
|
|
248
|
-
}
|
|
247
|
+
},
|
|
248
|
+
|
|
249
|
+
renderer: NavContainerRenderer
|
|
249
250
|
});
|
|
250
251
|
|
|
251
252
|
// Delegate registered by the NavContainer#showPlaceholder function
|
|
@@ -258,7 +259,7 @@ sap.ui.define([
|
|
|
258
259
|
};
|
|
259
260
|
|
|
260
261
|
var fnGetDelay = function (iDelay) {
|
|
261
|
-
var sAnimationMode =
|
|
262
|
+
var sAnimationMode = Configuration.getAnimationMode(),
|
|
262
263
|
bUseAnimations = sAnimationMode !== Configuration.AnimationMode.none && sAnimationMode !== Configuration.AnimationMode.minimal;
|
|
263
264
|
|
|
264
265
|
return bUseAnimations ? iDelay : 0;
|
|
@@ -408,7 +409,6 @@ sap.ui.define([
|
|
|
408
409
|
*
|
|
409
410
|
* @param {string} pageId The ID of the aggregated control to find
|
|
410
411
|
* @public
|
|
411
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
412
412
|
* @returns {sap.ui.core.Control|null} The control with the given ID or <code>null</code> if it doesn't exist
|
|
413
413
|
*/
|
|
414
414
|
NavContainer.prototype.getPage = function (pageId) {
|
|
@@ -440,7 +440,6 @@ sap.ui.define([
|
|
|
440
440
|
* <code>sap.ui.core.mvc.View</code>, <code>sap.m.Carousel</code> or whatever is aggregated.
|
|
441
441
|
*
|
|
442
442
|
* @public
|
|
443
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
444
443
|
* @returns {sap.ui.core.Control} The current page
|
|
445
444
|
*/
|
|
446
445
|
NavContainer.prototype.getCurrentPage = function () {
|
|
@@ -463,7 +462,6 @@ sap.ui.define([
|
|
|
463
462
|
*
|
|
464
463
|
* @public
|
|
465
464
|
* @since 1.7.1
|
|
466
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
467
465
|
* @returns {sap.ui.core.Control} The previous page
|
|
468
466
|
*/
|
|
469
467
|
NavContainer.prototype.getPreviousPage = function () {
|
|
@@ -488,7 +486,6 @@ sap.ui.define([
|
|
|
488
486
|
* but logically one is not at the top level, so this method returns "false" in this case.
|
|
489
487
|
*
|
|
490
488
|
* @public
|
|
491
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
492
489
|
* @returns {boolean} Whether the current page is a top page
|
|
493
490
|
*/
|
|
494
491
|
NavContainer.prototype.currentPageIsTopPage = function () {
|
|
@@ -510,7 +507,6 @@ sap.ui.define([
|
|
|
510
507
|
* @param {object} data This optional object can carry any payload data which would have been given to the inserted previous page if the user would have done a normal forward navigation to it.
|
|
511
508
|
* @public
|
|
512
509
|
* @since 1.16.1
|
|
513
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
514
510
|
* @returns {this} The <code>sap.m.NavContainer</code> instance
|
|
515
511
|
*/
|
|
516
512
|
NavContainer.prototype.insertPreviousPage = function (pageId, transitionName, data) {
|
|
@@ -695,7 +691,6 @@ sap.ui.define([
|
|
|
695
691
|
* NOTE: it depends on the transition function how the object should be structured and which parameters are actually used to influence the transition.
|
|
696
692
|
* The "show", "slide", "baseSlide" and "fade" transitions do not use any parameter.
|
|
697
693
|
* @public
|
|
698
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
699
694
|
* @returns {this} The <code>sap.m.NavContainer</code> instance
|
|
700
695
|
*/
|
|
701
696
|
NavContainer.prototype.to = function (vPageIdOrControl, sTransitionName, oData, oTransitionParameters, bFromQueue) {
|
|
@@ -880,7 +875,6 @@ sap.ui.define([
|
|
|
880
875
|
*
|
|
881
876
|
* NOTE: it depends on the transition function how the object should be structured and which parameters are actually used to influence the transition.
|
|
882
877
|
* @public
|
|
883
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
884
878
|
* @returns {this} The <code>sap.m.NavContainer</code> instance
|
|
885
879
|
*/
|
|
886
880
|
NavContainer.prototype.back = function (backData, oTransitionParameters) {
|
|
@@ -910,7 +904,6 @@ sap.ui.define([
|
|
|
910
904
|
* NOTE: it depends on the transition function how the object should be structured and which parameters are actually used to influence the transition.
|
|
911
905
|
* @public
|
|
912
906
|
* @since 1.7.2
|
|
913
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
914
907
|
* @returns {this} The <code>sap.m.NavContainer</code> instance
|
|
915
908
|
*/
|
|
916
909
|
NavContainer.prototype.backToPage = function (pageId, backData, oTransitionParameters) {
|
|
@@ -939,7 +932,6 @@ sap.ui.define([
|
|
|
939
932
|
* @type this
|
|
940
933
|
* @public
|
|
941
934
|
* @since 1.7.1
|
|
942
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
943
935
|
*/
|
|
944
936
|
NavContainer.prototype.backToTop = function (backData, oTransitionParameters) {
|
|
945
937
|
this._backTo("backToTop", backData, oTransitionParameters);
|
|
@@ -1641,7 +1633,6 @@ sap.ui.define([
|
|
|
1641
1633
|
*
|
|
1642
1634
|
* See the documentation of NavContainer.addCustomTransitions for more details about this function.
|
|
1643
1635
|
* @public
|
|
1644
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
1645
1636
|
* @returns {this} The <code>sap.m.NavContainer</code> instance
|
|
1646
1637
|
*/
|
|
1647
1638
|
NavContainer.prototype.addCustomTransition = function (sName, fTo, fBack) {
|
|
@@ -1830,7 +1821,7 @@ sap.ui.define([
|
|
|
1830
1821
|
NavContainer.prototype.showPlaceholder = function(mSettings) {
|
|
1831
1822
|
var pLoaded;
|
|
1832
1823
|
|
|
1833
|
-
if (!
|
|
1824
|
+
if (!Configuration.getPlaceholder()) {
|
|
1834
1825
|
return;
|
|
1835
1826
|
}
|
|
1836
1827
|
|
package/src/sap/m/NewsContent.js
CHANGED
|
@@ -25,12 +25,11 @@ sap.ui.define([
|
|
|
25
25
|
* @extends sap.ui.core.Control
|
|
26
26
|
*
|
|
27
27
|
* @author SAP SE
|
|
28
|
-
* @version 1.
|
|
28
|
+
* @version 1.107.0
|
|
29
29
|
* @since 1.34
|
|
30
30
|
*
|
|
31
31
|
* @public
|
|
32
32
|
* @alias sap.m.NewsContent
|
|
33
|
-
* @ui5-metamodel This control will also be described in the UI5 (legacy) designtime metamodel
|
|
34
33
|
*/
|
|
35
34
|
var NewsContent = Control.extend("sap.m.NewsContent", /** @lends sap.m.NewsContent.prototype */ {
|
|
36
35
|
metadata : {
|
|
@@ -68,7 +67,9 @@ sap.ui.define([
|
|
|
68
67
|
*/
|
|
69
68
|
"press" : {}
|
|
70
69
|
}
|
|
71
|
-
}
|
|
70
|
+
},
|
|
71
|
+
|
|
72
|
+
renderer: NewsContentRenderer
|
|
72
73
|
});
|
|
73
74
|
|
|
74
75
|
/* --- Lifecycle methods --- */
|
|
@@ -27,18 +27,19 @@ function(
|
|
|
27
27
|
* @extends sap.m.ListBase
|
|
28
28
|
*
|
|
29
29
|
* @author SAP SE
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.107.0
|
|
31
31
|
*
|
|
32
32
|
* @constructor
|
|
33
33
|
* @public
|
|
34
34
|
* @since 1.90
|
|
35
35
|
* @alias sap.m.NotificationList
|
|
36
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
37
36
|
*/
|
|
38
37
|
var NotificationList = ListBase.extend('sap.m.NotificationList', /** @lends sap.m.NotificationList.prototype */ {
|
|
39
38
|
metadata: {
|
|
40
39
|
library: 'sap.m'
|
|
41
|
-
}
|
|
40
|
+
},
|
|
41
|
+
|
|
42
|
+
renderer: NotificationListRenderer
|
|
42
43
|
});
|
|
43
44
|
|
|
44
45
|
NotificationList.prototype.onItemFocusIn = function() { };
|
|
@@ -86,14 +86,13 @@ sap.ui.define([
|
|
|
86
86
|
* @extends sap.m.ListItemBase
|
|
87
87
|
*
|
|
88
88
|
* @author SAP SE
|
|
89
|
-
* @version 1.
|
|
89
|
+
* @version 1.107.0
|
|
90
90
|
*
|
|
91
91
|
* @constructor
|
|
92
92
|
* @public
|
|
93
93
|
* @abstract
|
|
94
94
|
* @since 1.38
|
|
95
95
|
* @alias sap.m.NotificationListBase
|
|
96
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
97
96
|
*/
|
|
98
97
|
var NotificationListBase = ListItemBase.extend('sap.m.NotificationListBase', /** @lends sap.m.NotificationListBase.prototype */ {
|
|
99
98
|
metadata: {
|
|
@@ -349,10 +348,10 @@ sap.ui.define([
|
|
|
349
348
|
this.close();
|
|
350
349
|
}.bind(this)
|
|
351
350
|
});
|
|
352
|
-
|
|
353
|
-
this.setAggregation("_closeButton", closeButton);
|
|
354
351
|
}
|
|
355
352
|
|
|
353
|
+
this.setAggregation("_closeButton", closeButton);
|
|
354
|
+
|
|
356
355
|
return closeButton;
|
|
357
356
|
};
|
|
358
357
|
|
|
@@ -462,6 +461,7 @@ sap.ui.define([
|
|
|
462
461
|
|
|
463
462
|
NotificationListBase.prototype._arrangeButtons = function () {
|
|
464
463
|
this._destroyCloseBtnAndSeparator();
|
|
464
|
+
this._createCloseButton();
|
|
465
465
|
|
|
466
466
|
if (this._isSmallSize()) {
|
|
467
467
|
this._arrangeSSizeButtons();
|
|
@@ -475,8 +475,6 @@ sap.ui.define([
|
|
|
475
475
|
buttons = this.getButtons(),
|
|
476
476
|
buttonOverflowPriorityType = buttons.length > 1 ? OverflowToolbarPriority.AlwaysOverflow : OverflowToolbarPriority.NeverOverflow;
|
|
477
477
|
|
|
478
|
-
this._createCloseButton();
|
|
479
|
-
|
|
480
478
|
for (var i = 0; i < buttons.length; i++) {
|
|
481
479
|
button = buttons[i];
|
|
482
480
|
|
|
@@ -488,7 +486,7 @@ sap.ui.define([
|
|
|
488
486
|
|
|
489
487
|
NotificationListBase.prototype._arrangeSSizeButtons = function () {
|
|
490
488
|
var overflowToolbar = this._getOverflowToolbar(),
|
|
491
|
-
closeButton = this.
|
|
489
|
+
closeButton = this._getCloseButton(),
|
|
492
490
|
isNotificationListGroup = this.isA("sap.m.NotificationListGroup"),
|
|
493
491
|
buttonText = isNotificationListGroup ? closeAllText : closeText,
|
|
494
492
|
isCollapsed = isNotificationListGroup && this.getCollapsed(),
|
|
@@ -62,13 +62,12 @@ function(
|
|
|
62
62
|
* @extends sap.m.NotificationListBase
|
|
63
63
|
*
|
|
64
64
|
* @author SAP SE
|
|
65
|
-
* @version 1.
|
|
65
|
+
* @version 1.107.0
|
|
66
66
|
*
|
|
67
67
|
* @constructor
|
|
68
68
|
* @public
|
|
69
69
|
* @since 1.34
|
|
70
70
|
* @alias sap.m.NotificationListGroup
|
|
71
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
72
71
|
*/
|
|
73
72
|
var NotificationListGroup = NotificationListBase.extend('sap.m.NotificationListGroup', /** @lends sap.m.NotificationListGroup.prototype */ {
|
|
74
73
|
metadata: {
|
|
@@ -152,7 +151,9 @@ function(
|
|
|
152
151
|
}
|
|
153
152
|
}
|
|
154
153
|
}
|
|
155
|
-
}
|
|
154
|
+
},
|
|
155
|
+
|
|
156
|
+
renderer: NotificationListGroupRenderer
|
|
156
157
|
});
|
|
157
158
|
|
|
158
159
|
NotificationListGroup.prototype._getCollapseButton = function() {
|
|
@@ -64,13 +64,12 @@ function(
|
|
|
64
64
|
* @extends sap.m.NotificationListBase
|
|
65
65
|
*
|
|
66
66
|
* @author SAP SE
|
|
67
|
-
* @version 1.
|
|
67
|
+
* @version 1.107.0
|
|
68
68
|
*
|
|
69
69
|
* @constructor
|
|
70
70
|
* @public
|
|
71
71
|
* @since 1.34
|
|
72
72
|
* @alias sap.m.NotificationListItem
|
|
73
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
74
73
|
*/
|
|
75
74
|
var NotificationListItem = NotificationListBase.extend('sap.m.NotificationListItem', /** @lends sap.m.NotificationListItem.prototype */ {
|
|
76
75
|
metadata: {
|
|
@@ -116,7 +115,9 @@ function(
|
|
|
116
115
|
*/
|
|
117
116
|
_showMoreButton: {type: 'sap.m.Link', multiple: false, visibility: "hidden"}
|
|
118
117
|
}
|
|
119
|
-
}
|
|
118
|
+
},
|
|
119
|
+
|
|
120
|
+
renderer: NotificationListItemRenderer
|
|
120
121
|
});
|
|
121
122
|
|
|
122
123
|
/**
|
|
@@ -146,15 +147,6 @@ function(
|
|
|
146
147
|
}
|
|
147
148
|
};
|
|
148
149
|
|
|
149
|
-
/**
|
|
150
|
-
* Handles the internal event onBeforeRendering.
|
|
151
|
-
*
|
|
152
|
-
* @private
|
|
153
|
-
*/
|
|
154
|
-
NotificationListItem.prototype.onBeforeRendering = function() {
|
|
155
|
-
NotificationListBase.prototype.onBeforeRendering.call(this);
|
|
156
|
-
};
|
|
157
|
-
|
|
158
150
|
NotificationListItem.prototype.onAfterRendering = function() {
|
|
159
151
|
NotificationListBase.prototype.onAfterRendering.call(this);
|
|
160
152
|
|
|
@@ -12,8 +12,9 @@ sap.ui.define([
|
|
|
12
12
|
"sap/m/Image",
|
|
13
13
|
"./NumericContentRenderer",
|
|
14
14
|
"sap/ui/events/KeyCodes",
|
|
15
|
-
"sap/base/util/deepEqual"
|
|
16
|
-
|
|
15
|
+
"sap/base/util/deepEqual",
|
|
16
|
+
"sap/ui/core/Configuration"
|
|
17
|
+
], function (library, Control, IconPool, ResizeHandler, Image, NumericContentRenderer, KeyCodes, deepEqual, Configuration) {
|
|
17
18
|
"use strict";
|
|
18
19
|
|
|
19
20
|
var LANG_MAP = { // keys are compared in lowercase
|
|
@@ -107,12 +108,11 @@ sap.ui.define([
|
|
|
107
108
|
* @extends sap.ui.core.Control
|
|
108
109
|
*
|
|
109
110
|
* @author SAP SE
|
|
110
|
-
* @version 1.
|
|
111
|
+
* @version 1.107.0
|
|
111
112
|
* @since 1.34
|
|
112
113
|
*
|
|
113
114
|
* @public
|
|
114
115
|
* @alias sap.m.NumericContent
|
|
115
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
116
116
|
*/
|
|
117
117
|
var NumericContent = Control.extend("sap.m.NumericContent", /** @lends sap.m.NumericContent.prototype */ {
|
|
118
118
|
metadata: {
|
|
@@ -210,7 +210,9 @@ sap.ui.define([
|
|
|
210
210
|
*/
|
|
211
211
|
"press": {}
|
|
212
212
|
}
|
|
213
|
-
}
|
|
213
|
+
},
|
|
214
|
+
|
|
215
|
+
renderer: NumericContentRenderer
|
|
214
216
|
});
|
|
215
217
|
|
|
216
218
|
/* --- Lifecycle methods --- */
|
|
@@ -236,7 +238,7 @@ sap.ui.define([
|
|
|
236
238
|
|
|
237
239
|
NumericContent.prototype._getMaxDigitsData = function () {
|
|
238
240
|
var sFontClass = null,
|
|
239
|
-
sLang =
|
|
241
|
+
sLang = Configuration.getLanguage().toLowerCase(),
|
|
240
242
|
iMaxLength = LANG_MAP[sLang] || 4;
|
|
241
243
|
|
|
242
244
|
if (this.getAdaptiveFontSize()) {
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
sap.ui.define(["sap/ui/core/Renderer", "./InputRenderer", "sap/ui/Device", "sap/ui/core/LabelEnablement"],
|
|
8
|
-
function(Renderer, InputRenderer, Device, LabelEnablement) {
|
|
7
|
+
sap.ui.define(["sap/ui/core/Renderer", "./InputRenderer", "sap/ui/Device", "sap/ui/core/LabelEnablement", "sap/ui/core/Configuration"],
|
|
8
|
+
function(Renderer, InputRenderer, Device, LabelEnablement, Configuration) {
|
|
9
9
|
"use strict";
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -29,7 +29,7 @@ sap.ui.define(["sap/ui/core/Renderer", "./InputRenderer", "sap/ui/Device", "sap/
|
|
|
29
29
|
// so we have to overwrite it by leaving only the text direction
|
|
30
30
|
// and the textAlign will be controlled by textAlign property of the StepInput
|
|
31
31
|
|
|
32
|
-
if (
|
|
32
|
+
if (Configuration.getRTL()) {
|
|
33
33
|
oRm.attr("dir", "ltr");
|
|
34
34
|
}
|
|
35
35
|
// prevent rendering of aria-disabled attribute to avoid having
|
|
@@ -42,88 +42,91 @@ function(library, Control, coreLibrary, Text, KeyCodes, ObjectAttributeRenderer,
|
|
|
42
42
|
* <code>text</code> property is styled and acts as a link. In this case the <code>text</code>
|
|
43
43
|
* property must also be set, as otherwise there will be no link displayed for the user.
|
|
44
44
|
* @extends sap.ui.core.Control
|
|
45
|
-
* @version 1.
|
|
45
|
+
* @version 1.107.0
|
|
46
46
|
*
|
|
47
47
|
* @constructor
|
|
48
48
|
* @public
|
|
49
49
|
* @since 1.12
|
|
50
50
|
* @alias sap.m.ObjectAttribute
|
|
51
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
52
51
|
*/
|
|
53
|
-
var ObjectAttribute = Control.extend("sap.m.ObjectAttribute", /** @lends sap.m.ObjectAttribute.prototype */ {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
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
|
-
|
|
52
|
+
var ObjectAttribute = Control.extend("sap.m.ObjectAttribute", /** @lends sap.m.ObjectAttribute.prototype */ {
|
|
53
|
+
metadata : {
|
|
54
|
+
|
|
55
|
+
library : "sap.m",
|
|
56
|
+
designtime: "sap/m/designtime/ObjectAttribute.designtime",
|
|
57
|
+
properties : {
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Defines the ObjectAttribute title.
|
|
61
|
+
*/
|
|
62
|
+
title : {type : "string", group : "Misc", defaultValue : null},
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Defines the ObjectAttribute text.
|
|
66
|
+
*/
|
|
67
|
+
text : {type : "string", group : "Misc", defaultValue : null},
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Indicates if the <code>ObjectAttribute</code> text is selectable for the user.
|
|
71
|
+
*
|
|
72
|
+
* <b>Note:</b> As of version 1.48, only the value of the <code>text</code> property becomes active (styled and acts like a link) as opposed to both the <code>title</code> and <code>text</code> in the previous versions. If you set this property to <code>true</code>, you have to also set the <code>text</code> property.
|
|
73
|
+
* <b>Note:</b> When <code>active</code> property is set to <code>true</code>, and the text direction of the <code>title</code> or the <code>text</code> does not match the text direction of the application, the <code>textDirection</code> property should be set to ensure correct display.
|
|
74
|
+
*/
|
|
75
|
+
active : {type : "boolean", group : "Misc", defaultValue : null},
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Determines the direction of the text.
|
|
79
|
+
* Available options for the text direction are LTR (left-to-right), RTL (right-to-left), or Inherit. By default the control inherits the text direction from its parent control.
|
|
80
|
+
*/
|
|
81
|
+
textDirection : {type : "sap.ui.core.TextDirection", group : "Appearance", defaultValue : TextDirection.Inherit},
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Specifies the value of the <code>aria-haspopup</code> attribute
|
|
85
|
+
*
|
|
86
|
+
* If the value is <code>None</code>, the attribute will not be rendered. Otherwise it will be rendered with the selected value.
|
|
87
|
+
*
|
|
88
|
+
* NOTE: Use this property only when an <code>sap.m.ObjectAttribute</code> instance is active and related to a popover/popup.
|
|
89
|
+
* The value needs to be equal to the main/root role of the popup - e.g. dialog,
|
|
90
|
+
* menu or list (examples: if you have dialog -> dialog, if you have menu -> menu; if you have list -> list; if you have dialog containing a list -> dialog).
|
|
91
|
+
* Do not use it, if you open a standard sap.m.Dialog, MessageBox or other type of modal dialogs.
|
|
92
|
+
*
|
|
93
|
+
* @since 1.97.0
|
|
94
|
+
*/
|
|
95
|
+
ariaHasPopup : {type : "sap.ui.core.aria.HasPopup", group : "Accessibility", defaultValue : AriaHasPopup.None}
|
|
96
|
+
},
|
|
97
|
+
aggregations : {
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* When the aggregation is set, it replaces the <code>text</code>, <code>active</code> and <code>textDirection</code> properties. This also ignores the press event. The provided control is displayed as an active link in case it is a sap.m.Link.
|
|
101
|
+
* <b>Note:</b> It will only allow sap.m.Text and sap.m.Link controls.
|
|
102
|
+
*/
|
|
103
|
+
customContent : {type : "sap.ui.core.Control", multiple : false},
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Text control to display title and text property.
|
|
107
|
+
*/
|
|
108
|
+
_textControl : {type : "sap.ui.core.Control", multiple : false, visibility : "hidden"}
|
|
109
|
+
},
|
|
110
|
+
events : {
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Fires when the user clicks on active text.
|
|
114
|
+
*/
|
|
115
|
+
press : {
|
|
116
|
+
parameters : {
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* DOM reference of the ObjectAttribute's text to be used for positioning.
|
|
120
|
+
*/
|
|
121
|
+
domRef : {type : "string"}
|
|
122
|
+
}
|
|
122
123
|
}
|
|
123
|
-
}
|
|
124
|
+
},
|
|
125
|
+
dnd: { draggable: true, droppable: false }
|
|
124
126
|
},
|
|
125
|
-
|
|
126
|
-
|
|
127
|
+
|
|
128
|
+
renderer: ObjectAttributeRenderer
|
|
129
|
+
});
|
|
127
130
|
|
|
128
131
|
/**
|
|
129
132
|
* Initializes member variables.
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
|
-
sap.ui.define(["sap/ui/core/library"],
|
|
7
|
-
function(coreLibrary) {
|
|
6
|
+
sap.ui.define(["sap/ui/core/library", "sap/ui/core/Configuration"],
|
|
7
|
+
function(coreLibrary, Configuration) {
|
|
8
8
|
"use strict";
|
|
9
9
|
|
|
10
10
|
|
|
@@ -112,7 +112,7 @@ sap.ui.define(["sap/ui/core/library"],
|
|
|
112
112
|
oRm.openStart("span", oOA.getId() + "-colon");
|
|
113
113
|
oRm.class("sapMObjectAttributeColon");
|
|
114
114
|
oRm.openEnd();
|
|
115
|
-
if (
|
|
115
|
+
if (Configuration.getLocale().getLanguage().toLowerCase() === "fr") {
|
|
116
116
|
sColon = " " + sColon;
|
|
117
117
|
}
|
|
118
118
|
oRm.text(sColon);
|